@revivejs/angular-infinity-charts 2.0.0 → 21.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. package/dist/LICENSE +21 -0
  2. package/dist/README.md +254 -0
  3. package/dist/fesm2022/revivejs-angular-infinity-charts.mjs +520 -0
  4. package/dist/fesm2022/revivejs-angular-infinity-charts.mjs.map +1 -0
  5. package/dist/types/revivejs-angular-infinity-charts.d.ts +300 -0
  6. package/docs/.nojekyll +0 -0
  7. package/docs/angular-2/app/app.component.css +325 -0
  8. package/docs/angular-2/app/app.component.html +185 -0
  9. package/docs/angular-2/app/app.component.ts +243 -0
  10. package/docs/angular-2/app/app.module.ts +18 -0
  11. package/docs/angular-2/app/data/api.ts +14 -0
  12. package/docs/angular-2/app/data/release-line.ts +7 -0
  13. package/docs/angular-2/app/playground.component.css +250 -0
  14. package/docs/angular-2/app/playground.component.html +112 -0
  15. package/docs/angular-2/app/playground.component.ts +428 -0
  16. package/docs/angular-2/index.html +31 -0
  17. package/docs/angular-2/main.ts +8 -0
  18. package/docs/angular-2/styles.css +47 -0
  19. package/docs/angular-2/systemjs.config.js +55 -0
  20. package/docs/angular-21/180.8cbb300931475cea.js +1 -0
  21. package/docs/angular-21/323.8cbb300931475cea.js +1 -0
  22. package/docs/angular-21/37.8cbb300931475cea.js +1 -0
  23. package/docs/angular-21/3rdpartylicenses.txt +402 -0
  24. package/docs/angular-21/418.8cbb300931475cea.js +1 -0
  25. package/docs/angular-21/541.120110ba2fead634.js +1 -0
  26. package/docs/angular-21/561.8cbb300931475cea.js +1 -0
  27. package/docs/angular-21/639.5c36f0da162f2724.js +1 -0
  28. package/docs/angular-21/704.8cbb300931475cea.js +1 -0
  29. package/docs/angular-21/799.8cbb300931475cea.js +1 -0
  30. package/docs/angular-21/84.5baca81d04c90457.js +1 -0
  31. package/docs/angular-21/942.8cbb300931475cea.js +1 -0
  32. package/docs/angular-21/common.4fd5fdcf7b48f062.js +1 -0
  33. package/docs/angular-21/index.html +19 -0
  34. package/docs/angular-21/main.4daffff4ca1c294e.js +1 -0
  35. package/docs/angular-21/polyfills.37944fe611f86dfa.js +1 -0
  36. package/docs/angular-21/runtime.4d8a748cbea51380.js +1 -0
  37. package/docs/angular-21/styles.d345eaa39dd99983.css +1 -0
  38. package/docs/index.html +289 -0
  39. package/package.json +90 -17
  40. /package/{index.d.ts → docs/angular-2/vendor/angular-infinity-charts/index.d.ts} +0 -0
  41. /package/{index.js → docs/angular-2/vendor/angular-infinity-charts/index.js} +0 -0
  42. /package/{index.js.map → docs/angular-2/vendor/angular-infinity-charts/index.js.map} +0 -0
  43. /package/{src → docs/angular-2/vendor/angular-infinity-charts/src}/InfinityChartComponent.d.ts +0 -0
  44. /package/{src → docs/angular-2/vendor/angular-infinity-charts/src}/InfinityChartComponent.js +0 -0
  45. /package/{src → docs/angular-2/vendor/angular-infinity-charts/src}/InfinityChartComponent.js.map +0 -0
  46. /package/{src → docs/angular-2/vendor/angular-infinity-charts/src}/InfinityChartController.d.ts +0 -0
  47. /package/{src → docs/angular-2/vendor/angular-infinity-charts/src}/InfinityChartController.js +0 -0
  48. /package/{src → docs/angular-2/vendor/angular-infinity-charts/src}/InfinityChartController.js.map +0 -0
  49. /package/{src → docs/angular-2/vendor/angular-infinity-charts/src}/InfinityChartDirective.d.ts +0 -0
  50. /package/{src → docs/angular-2/vendor/angular-infinity-charts/src}/InfinityChartDirective.js +0 -0
  51. /package/{src → docs/angular-2/vendor/angular-infinity-charts/src}/InfinityChartDirective.js.map +0 -0
  52. /package/{src → docs/angular-2/vendor/angular-infinity-charts/src}/InfinityChartService.d.ts +0 -0
  53. /package/{src → docs/angular-2/vendor/angular-infinity-charts/src}/InfinityChartService.js +0 -0
  54. /package/{src → docs/angular-2/vendor/angular-infinity-charts/src}/InfinityChartService.js.map +0 -0
  55. /package/{src → docs/angular-2/vendor/angular-infinity-charts/src}/public_api.d.ts +0 -0
  56. /package/{src → docs/angular-2/vendor/angular-infinity-charts/src}/public_api.js +0 -0
  57. /package/{src → docs/angular-2/vendor/angular-infinity-charts/src}/public_api.js.map +0 -0
  58. /package/{src → docs/angular-2/vendor/angular-infinity-charts/src}/types.d.ts +0 -0
  59. /package/{src → docs/angular-2/vendor/angular-infinity-charts/src}/types.js +0 -0
  60. /package/{src → docs/angular-2/vendor/angular-infinity-charts/src}/types.js.map +0 -0
  61. /package/{vendor → docs/angular-2/vendor}/infinity-charts/index.js +0 -0
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkangular_infinity_charts_docs_angular21=self.webpackChunkangular_infinity_charts_docs_angular21||[]).push([[792],{1901(di,Zr,T){let _e=null,Jt=!1,Yn=1;const Ce=Symbol("SIGNAL");function A(e){const t=_e;return _e=e,t}const ft={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Xn(e){if(Jt)throw new Error("");if(null===_e)return;_e.consumerOnSignalRead(e);const t=_e.producersTail;if(void 0!==t&&t.producer===e)return;let n;const r=_e.recomputing;if(r&&(n=void 0!==t?t.nextProducer:_e.producers,void 0!==n&&n.producer===e))return _e.producersTail=n,void(n.lastReadVersion=e.version);const o=e.consumersTail;if(void 0!==o&&o.consumer===_e&&(!r||function cT(e,t){const n=t.producersTail;if(void 0!==n){let r=t.producers;do{if(r===e)return!0;if(r===n)break;r=r.nextProducer}while(void 0!==r)}return!1}(o,_e)))return;const i=Yr(_e),s={producer:e,consumer:_e,nextProducer:n,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};_e.producersTail=s,void 0!==t?t.nextProducer=s:_e.producers=s,i&&Ng(e,s)}function fi(e){if((!Yr(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==Yn)){if(!e.producerMustRecompute(e)&&!qs(e))return void Ws(e);e.producerRecomputeValue(e),Ws(e)}}function Tg(e){if(void 0===e.consumers)return;const t=Jt;Jt=!0;try{for(let n=e.consumers;void 0!==n;n=n.nextConsumer){const r=n.consumer;r.dirty||iT(r)}}finally{Jt=t}}function Ag(){return!1!==_e?.consumerAllowSignalWrites}function iT(e){e.dirty=!0,Tg(e),e.consumerMarkedDirty?.(e)}function Ws(e){e.dirty=!1,e.lastCleanEpoch=Yn}function Qr(e){return e&&function sT(e){e.producersTail=void 0,e.recomputing=!0}(e),A(e)}function hi(e,t){A(t),e&&function aT(e){e.recomputing=!1;const t=e.producersTail;let n=void 0!==t?t.nextProducer:e.producers;if(void 0!==n){if(Yr(e))do{n=ql(n)}while(void 0!==n);void 0!==t?t.nextProducer=void 0:e.producers=void 0}}(e)}function qs(e){for(let t=e.producers;void 0!==t;t=t.nextProducer){const n=t.producer,r=t.lastReadVersion;if(r!==n.version||(fi(n),r!==n.version))return!0}return!1}function pi(e){if(Yr(e)){let t=e.producers;for(;void 0!==t;)t=ql(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function Ng(e,t){const n=e.consumersTail,r=Yr(e);if(void 0!==n?(t.nextConsumer=n.nextConsumer,n.nextConsumer=t):(t.nextConsumer=void 0,e.consumers=t),t.prevConsumer=n,e.consumersTail=t,!r)for(let o=e.producers;void 0!==o;o=o.nextProducer)Ng(o.producer,o)}function ql(e){const t=e.producer,n=e.nextProducer,r=e.nextConsumer,o=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,void 0!==r?r.prevConsumer=o:t.consumersTail=o,void 0!==o)o.nextConsumer=r;else if(t.consumers=r,!Yr(t)){let i=t.producers;for(;void 0!==i;)i=ql(i)}return n}function Yr(e){return e.consumerIsAlwaysLive||void 0!==e.consumers}function Ql(e,t){return Object.is(e,t)}const Kr=Symbol("UNSET"),Xr=Symbol("COMPUTING"),en=Symbol("ERRORED"),uT={...ft,value:Kr,dirty:!0,error:null,equal:Ql,kind:"computed",producerMustRecompute:e=>e.value===Kr||e.value===Xr,producerRecomputeValue(e){if(e.value===Xr)throw new Error("");const t=e.value;e.value=Xr;const n=Qr(e);let r,o=!1;try{r=e.computation(),A(null),o=t!==Kr&&t!==en&&r!==en&&e.equal(t,r)}catch(i){r=en,e.error=i}finally{hi(e,n)}o?e.value=t:(e.value=r,e.version++)}};let kg=function dT(){throw new Error};function xg(e){kg(e)}function hT(e,t){const n=Object.create(Rg);n.value=e,void 0!==t&&(n.equal=t);const r=()=>function pT(e){return Xn(e),e.value}(n);return r[Ce]=n,[r,s=>Yl(n,s),s=>function Og(e,t){Ag()||xg(e),Yl(e,t(e.value))}(n,s)]}function Yl(e,t){Ag()||xg(e),e.equal(e.value,t)||(e.value=t,function gT(e){e.version++,function oT(){Yn++}(),Tg(e)}(e))}const Rg={...ft,equal:Ql,value:void 0,kind:"signal"},mT={...ft,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"};function Pe(e){return"function"==typeof e}function Fg(e){const n=e(r=>{Error.call(r),r.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}const Kl=Fg(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((r,o)=>`${o+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n});function Xl(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class Ct{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const i of n)i.remove(this);else n.remove(this);const{initialTeardown:r}=this;if(Pe(r))try{r()}catch(i){t=i instanceof Kl?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{Vg(i)}catch(s){t=t??[],s instanceof Kl?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Kl(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Vg(t);else{if(t instanceof Ct){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}}_hasParent(t){const{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){const{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){const{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&Xl(n,t)}remove(t){const{_finalizers:n}=this;n&&Xl(n,t),t instanceof Ct&&t._removeParent(this)}}Ct.EMPTY=(()=>{const e=new Ct;return e.closed=!0,e})();const Pg=Ct.EMPTY;function Lg(e){return e instanceof Ct||e&&"closed"in e&&Pe(e.remove)&&Pe(e.add)&&Pe(e.unsubscribe)}function Vg(e){Pe(e)?e():e.unsubscribe()}const Jn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Qs={setTimeout(e,t,...n){const{delegate:r}=Qs;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=Qs;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Bg(e){Qs.setTimeout(()=>{const{onUnhandledError:t}=Jn;if(!t)throw e;t(e)})}function jg(){}const vT=Jl("C",void 0,void 0);function Jl(e,t,n){return{kind:e,value:t,error:n}}let er=null;function Ys(e){if(Jn.useDeprecatedSynchronousErrorHandling){const t=!er;if(t&&(er={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=er;if(er=null,n)throw r}}else e()}class eu extends Ct{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Lg(t)&&t.add(this)):this.destination=MT}static create(t,n,r){return new nu(t,n,r)}next(t){this.isStopped?ru(function _T(e){return Jl("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?ru(function DT(e){return Jl("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?ru(vT,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const bT=Function.prototype.bind;function tu(e,t){return bT.call(e,t)}class ET{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Ks(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Ks(r)}else Ks(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Ks(n)}}}class nu extends eu{constructor(t,n,r){let o;if(super(),Pe(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Jn.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&tu(t.next,i),error:t.error&&tu(t.error,i),complete:t.complete&&tu(t.complete,i)}):o=t}this.destination=new ET(o)}}function Ks(e){Jn.useDeprecatedSynchronousErrorHandling?function CT(e){Jn.useDeprecatedSynchronousErrorHandling&&er&&(er.errorThrown=!0,er.error=e)}(e):Bg(e)}function ru(e,t){const{onStoppedNotification:n}=Jn;n&&Qs.setTimeout(()=>n(e,t))}const MT={closed:!0,next:jg,error:function wT(e){throw e},complete:jg},ou="function"==typeof Symbol&&Symbol.observable||"@@observable";function IT(e){return e}let ht=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){const r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){const i=function TT(e){return e&&e instanceof eu||function ST(e){return e&&Pe(e.next)&&Pe(e.error)&&Pe(e.complete)}(e)&&Lg(e)}(n)?n:new nu(n,r,o);return Ys(()=>{const{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return new(r=$g(r))((o,i)=>{const s=new nu({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[ou](){return this}pipe(...n){return function Hg(e){return 0===e.length?IT:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}(n)(this)}toPromise(n){return new(n=$g(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function $g(e){var t;return null!==(t=e??Jn.Promise)&&void 0!==t?t:Promise}const AT=Fg(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let iu,Jr=(()=>{class e extends ht{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new Ug(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new AT}next(n){Ys(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){Ys(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;const{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){Ys(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){const{hasError:r,isStopped:o,observers:i}=this;return r||o?Pg:(this.currentObservers=null,i.push(n),new Ct(()=>{this.currentObservers=null,Xl(i,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){const n=new ht;return n.source=this,n}}return e.create=(t,n)=>new Ug(t,n),e})();class Ug extends Jr{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===r||r.call(n,t)}error(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===r||r.call(n,t)}complete(){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===n||n.call(t)}_subscribe(t){var n,r;return null!==(r=null===(n=this.source)||void 0===n?void 0:n.subscribe(t))&&void 0!==r?r:Pg}}class NT extends Jr{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){const{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}}function su(){return iu}function En(e){const t=iu;return iu=e,t}const kT=Symbol("NotFound");function au(e){return e===kT||"\u0275NotFound"===e?.name}Error;class D extends Error{code;constructor(t,n){super(function jt(e,t){return`${function OT(e){return`NG0${Math.abs(e)}`}(e)}${t?": "+t:""}`}(t,n)),this.code=t}}const be=globalThis;function Q(e){for(let t in e)if(e[t]===Q)return t;throw Error("")}function RT(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function wn(e){if("string"==typeof e)return e;if(Array.isArray(e))return`[${e.map(wn).join(", ")}]`;if(null==e)return""+e;const t=e.overriddenName||e.name;if(t)return`${t}`;const n=e.toString();if(null==n)return""+n;const r=n.indexOf("\n");return r>=0?n.slice(0,r):n}function lu(e,t){return e?t?`${e} ${t}`:e:t||""}const FT=Q({__forward_ref__:Q});function ie(e){return e.__forward_ref__=ie,e}function $(e){return Xs(e)?e():e}function Xs(e){return"function"==typeof e&&e.hasOwnProperty(FT)&&e.__forward_ref__===ie}function G(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function tn(e){return{providers:e.providers||[],imports:e.imports||[]}}function Js(e){return function HT(e,t){return e.hasOwnProperty(t)&&e[t]||null}(e,ta)}function ea(e){return e&&e.hasOwnProperty(uu)?e[uu]:null}const ta=Q({\u0275prov:Q}),uu=Q({\u0275inj:Q});class I{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=G({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function fu(e){return e&&!!e.\u0275providers}const qg=Q({\u0275cmp:Q}),qT=Q({\u0275dir:Q}),ZT=Q({\u0275pipe:Q}),Zg=Q({\u0275mod:Q}),rr=Q({\u0275fac:Q}),gi=Q({__NG_ELEMENT_ID__:Q}),Qg=Q({__NG_ENV_ID__:Q});function K(e){return ra(e),e[qg]||null}function Xe(e){return ra(e),e[qT]||null}function kt(e){return ra(e),e[ZT]||null}function ra(e,t){if(null==e)throw new D(-919,!1)}function B(e){return"string"==typeof e?e:null==e?"":String(e)}const pu=Q({ngErrorCode:Q}),Yg=Q({ngErrorMessage:Q}),yi=Q({ngTokenPath:Q});function gu(e,t){return Kg("",-200,t)}function mu(e,t){throw new D(-201,!1)}function Kg(e,t,n){const r=new D(t,e);return r[pu]=t,r[Yg]=e,n&&(r[yi]=n),r}let yu;function Xg(){return yu}function rt(e){const t=yu;return yu=e,t}function Jg(e,t,n){const r=Js(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:8&n?null:void 0!==t?t:void mu()}const or={};class e0{injector;constructor(t){this.injector=t}retrieve(t,n){const r=vi(n)||0;try{return this.injector.get(t,8&r?null:or,r)}catch(o){if(au(o))return o;throw o}}}function t0(e,t=0){const n=su();if(void 0===n)throw new D(-203,!1);if(null===n)return Jg(e,void 0,t);{const r=function n0(e){return{optional:!!(8&e),host:!!(1&e),self:!!(2&e),skipSelf:!!(4&e)}}(t),o=n.retrieve(e,r);if(au(o)){if(r.optional)return null;throw o}return o}}function q(e,t=0){return(Xg()||t0)($(e),t)}function N(e,t){return q(e,vi(t))}function vi(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Du(e){const t=[];for(let n=0;n<e.length;n++){const r=$(e[n]);if(Array.isArray(r)){if(0===r.length)throw new D(900,!1);let o,i=0;for(let s=0;s<r.length;s++){const a=r[s],c=r0(a);"number"==typeof c?-1===c?o=a.token:i|=c:o=a}t.push(q(o,i))}else t.push(q(r))}return t}function r0(e){return e.__NG_DI_FLAG__}function ir(e,t){return e.hasOwnProperty(rr)?e[rr]:null}function no(e,t){e.forEach(n=>Array.isArray(n)?no(n,t):t(n))}function tm(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function oa(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function sa(e,t,n){let r=_i(e,t);return r>=0?e[1|r]=n:(r=~r,function rm(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(1===o)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function _u(e,t){const n=_i(e,t);if(n>=0)return e[1|n]}function _i(e,t){return function i0(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){const i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}(e,t,1)}const $t={},le=[],ro=new I(""),om=new I("",-1),Cu=new I("");class aa{get(t,n=or){if(n===or){const o=Kg("",-201);throw o.name="\u0275NotFound",o}return n}}function a0(...e){return{\u0275providers:bu(0,e),\u0275fromNgModule:!0}}function bu(e,...t){const n=[],r=new Set;let o;const i=s=>{n.push(s)};return no(t,s=>{const a=s;ca(a,i,[],r)&&(o||=[],o.push(a))}),void 0!==o&&sm(o,i),n}function sm(e,t){for(let n=0;n<e.length;n++){const{ngModule:r,providers:o}=e[n];Eu(o,i=>{t(i,r)})}}function ca(e,t,n,r){if(!(e=$(e)))return!1;let o=null,i=ea(e);const s=!i&&K(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const c=e.ngModule;if(i=ea(c),!i)return!1;o=c}const a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){const c="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const l of c)ca(l,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let l;r.add(o),no(i.imports,u=>{ca(u,t,n,r)&&(l||=[],l.push(u))}),void 0!==l&&sm(l,t)}if(!a){const l=ir(o)||(()=>new o);t({provide:o,useFactory:l,deps:le},o),t({provide:Cu,useValue:o,multi:!0},o),t({provide:ro,useValue:()=>q(o),multi:!0},o)}const c=i.providers;if(null!=c&&!a){const l=e;Eu(c,u=>{t(u,l)})}}}return o!==e&&void 0!==e.providers}function Eu(e,t){for(let n of e)fu(n)&&(n=n.\u0275providers),Array.isArray(n)?Eu(n,t):t(n)}const c0=Q({provide:String,useValue:Q});function wu(e){return null!==e&&"object"==typeof e&&c0 in e}function nn(e){return"function"==typeof e}const Mu=new I(""),la={},um={};let Iu;function Su(){return void 0===Iu&&(Iu=new aa),Iu}class Et{}class sr extends Et{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,Au(t,s=>this.processProvider(s)),this.records.set(om,oo(void 0,this)),o.has("environment")&&this.records.set(Et,oo(void 0,this));const i=this.records.get(Mu);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Cu,le,{self:!0}))}retrieve(t,n){const r=vi(n)||0;try{return this.get(t,or,r)}catch(o){if(au(o))return o;throw o}}destroy(){Ci(this),this._destroyed=!0;const t=A(null);try{for(const r of this._ngOnDestroyHooks)r.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),A(t)}}onDestroy(t){return Ci(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Ci(this);const n=En(this),r=rt(void 0);try{return t()}finally{En(n),rt(r)}}get(t,n=or,r){if(Ci(this),t.hasOwnProperty(Qg))return t[Qg](this);const o=vi(r),s=En(this),a=rt(void 0);try{if(!(4&o)){let l=this.records.get(t);if(void 0===l){const u=function h0(e){return"function"==typeof e||"object"==typeof e&&"InjectionToken"===e.ngMetadataName}(t)&&Js(t);l=u&&this.injectableDefInScope(u)?oo(Tu(t),la):null,this.records.set(t,l)}if(null!=l)return this.hydrate(t,l,o)}return(2&o?Su():this.parent).get(t,n=8&o&&n===or?null:n)}catch(c){const l=function XT(e){return e[pu]}(c);throw-200===l||-201===l?new D(l,null):c}finally{rt(a),En(s)}}resolveInjectorInitializers(){const t=A(null),n=En(this),r=rt(void 0);try{const i=this.get(ro,le,{self:!0});for(const s of i)s()}finally{En(n),rt(r),A(t)}}toString(){return"R3Injector[...]"}processProvider(t){let n=nn(t=$(t))?t:$(t&&t.provide);const r=function u0(e){return wu(e)?oo(void 0,e.useValue):oo(dm(e),la)}(t);if(!nn(t)&&!0===t.multi){let o=this.records.get(n);o||(o=oo(void 0,la,!0),o.factory=()=>Du(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){const o=A(null);try{if(n.value===um)throw gu();return n.value===la&&(n.value=um,n.value=n.factory(void 0,r)),"object"==typeof n.value&&n.value&&function f0(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{A(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;const n=$(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function Tu(e){const t=Js(e),n=null!==t?t.factory:ir(e);if(null!==n)return n;if(e instanceof I)throw new D(-204,!1);if(e instanceof Function)return function l0(e){if(e.length>0)throw new D(-204,!1);const n=function $T(e){return(e?.[ta]??null)||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new D(-204,!1)}function dm(e,t,n){let r;if(nn(e)){const o=$(e);return ir(o)||Tu(o)}if(wu(e))r=()=>$(e.useValue);else if(function cm(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Du(e.deps||[]));else if(function am(e){return!(!e||!e.useExisting)}(e))r=(o,i)=>q($(e.useExisting),void 0!==i&&8&i?8:void 0);else{const o=$(e&&(e.useClass||e.provide));if(!function d0(e){return!!e.deps}(e))return ir(o)||Tu(o);r=()=>new o(...Du(e.deps))}return r}function Ci(e){if(e.destroyed)throw new D(-205,!1)}function oo(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Au(e,t){for(const n of e)Array.isArray(n)?Au(n,t):n&&fu(n)?Au(n.\u0275providers,t):t(n)}function fm(e,t){let n;e instanceof sr?(Ci(e),n=e):n=new e0(e);const o=En(n),i=rt(void 0);try{return t()}finally{En(o),rt(i)}}function Nu(){return void 0!==Xg()||null!=su()}const j=11,x=27;function De(e){return Array.isArray(e)&&"object"==typeof e[1]}function Je(e){return Array.isArray(e)&&!0===e[1]}function pm(e){return!!(4&e.flags)}function Ut(e){return e.componentOffset>-1}function lo(e){return!(1&~e.flags)}function Ot(e){return!!e.template}function Sn(e){return!!(512&e[2])}function an(e){return!(256&~e[2])}function Ve(e){for(;Array.isArray(e);)e=e[0];return e}function uo(e,t){return Ve(t[e])}function Ne(e,t){return Ve(t[e.index])}function fo(e,t){return e.data[t]}function et(e,t){const n=t[e];return De(n)?n:n[0]}function Ru(e){return!(128&~e[2])}function We(e,t){return null==t?null:e[t]}function _m(e){e[17]=0}function Cm(e){1024&e[2]||(e[2]|=1024,Ru(e)&&ho(e))}function ha(e){return!!(9216&e[2]||e[24]?.dirty)}function Fu(e){e[10].changeDetectionScheduler?.notify(8),64&e[2]&&(e[2]|=1024),ha(e)&&ho(e)}function ho(e){e[10].changeDetectionScheduler?.notify(0);let t=cn(e);for(;null!==t&&!(8192&t[2])&&(t[2]|=8192,Ru(t));)t=cn(t)}function pa(e,t){if(an(e))throw new D(911,!1);null===e[21]&&(e[21]=[]),e[21].push(t)}function cn(e){const t=e[3];return Je(t)?t[3]:t}function Em(e){return e[7]??=[]}function wm(e){return e.cleanup??=[]}const F={lFrame:Hm(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let Vu=!1;function Bu(){return F.bindingsEnabled}function m(){return F.lFrame.lView}function H(){return F.lFrame.tView}function V(){let e=km();for(;null!==e&&64===e.type;)e=e.parent;return e}function km(){return F.lFrame.currentTNode}function ln(e,t){const n=F.lFrame;n.currentTNode=e,n.isParent=t}function xm(){return F.lFrame.isParent}function Pm(){return Vu}function ga(e){const t=Vu;return Vu=e,t}function ot(){return F.lFrame.bindingIndex++}function dn(e){const t=F.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function I0(e,t){const n=F.lFrame;n.bindingIndex=n.bindingRootIndex=e,ju(t)}function ju(e){F.lFrame.currentDirectiveIndex=e}function $u(){return F.lFrame.currentQueryIndex}function ma(e){F.lFrame.currentQueryIndex=e}function T0(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[5]:null}function Bm(e,t,n){if(4&n){let o=t,i=e;for(;!(o=o.parent,null!==o||1&n||(o=T0(i),null===o||(i=i[14],10&o.type))););if(null===o)return!1;t=o,e=i}const r=F.lFrame=jm();return r.currentTNode=t,r.lView=e,!0}function Uu(e){const t=jm(),n=e[1];F.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function jm(){const e=F.lFrame,t=null===e?null:e.child;return null===t?Hm(e):t}function Hm(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function $m(){const e=F.lFrame;return F.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Um=$m;function Gu(){const e=$m();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function je(){return F.lFrame.selectedIndex}function fr(e){F.lFrame.selectedIndex=e}function Rt(){const e=F.lFrame;return fo(e.tView,e.selectedIndex)}let Gm=!0;function ya(){return Gm}function wi(e){Gm=e}function zm(e,t=null,n=null,r){const o=Wm(e,t,n);return o.resolveInjectorInitializers(),o}function Wm(e,t=null,n=null,r,o=new Set){const i=[n||le,a0(e)];return new sr(i,t||Su(),null,o)}class yt{static THROW_IF_NOT_FOUND=or;static NULL=new aa;static create(t,n){if(Array.isArray(t))return zm({name:""},n,t);{const r=t.name??"";return zm({name:r},t.parent,t.providers)}}static \u0275prov=G({token:yt,providedIn:"any",factory:()=>q(om)});static __NG_ELEMENT_ID__=-1}const fn=new I("");let hn=(()=>class e{static __NG_ELEMENT_ID__=F0;static __NG_ENV_ID__=n=>n})();class qm extends hn{_lView;constructor(t){super(),this._lView=t}get destroyed(){return an(this._lView)}onDestroy(t){const n=this._lView;return pa(n,t),()=>function Pu(e,t){if(null===e[21])return;const n=e[21].indexOf(t);-1!==n&&e[21].splice(n,1)}(n,t)}}function F0(){return new qm(m())}const P0=!1,L0=new I("");let hr=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new NT(!1);debugTaskTracker=N(L0,{optional:!0});get hasPendingTasks(){return!this.destroyed&&this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new ht(n=>{n.next(!1),n.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),this.debugTaskTracker?.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.debugTaskTracker?.remove(n),0===this.pendingTasks.size&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=G({token:e,providedIn:"root",factory:()=>new e})}return e})();const ue=class V0 extends Jr{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Nu()&&(this.destroyRef=N(hn,{optional:!0})??void 0,this.pendingTasks=N(hr,{optional:!0})??void 0)}emit(t){const n=A(null);try{super.next(t)}finally{A(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&"object"==typeof t){const c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));const a=super.subscribe({next:o,error:i,complete:s});return t instanceof Ct&&t.add(a),a}wrapInTimeout(t){return n=>{const r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{void 0!==r&&this.pendingTasks?.remove(r)}})}}};function va(...e){}function Zm(e){let t,n;function r(){e=va;try{void 0!==n&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(n),void 0!==t&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),"function"==typeof requestAnimationFrame&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function B0(e){return queueMicrotask(()=>e()),()=>{e=va}}const zu="isAngularZone",Da=zu+"_ID";let j0=0;class he{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new ue(!1);onMicrotaskEmpty=new ue(!1);onStable=new ue(!1);onError=new ue(!1);constructor(t){const{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=P0}=t;if(typeof Zone>"u")throw new D(908,!1);Zone.assertZonePatched();const s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,function U0(e){const t=()=>{!function $0(e){function t(){Zm(()=>{e.callbackScheduled=!1,qu(e),e.isCheckStableRunning=!0,Wu(e),e.isCheckStableRunning=!1})}e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),qu(e))}(e)},n=j0++;e._inner=e._inner.fork({name:"angular",properties:{[zu]:!0,[Da]:n,[Da+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(function z0(e){return Km(e,"__ignore_ng_zone__")}(c))return r.invokeTask(i,s,a,c);try{return Qm(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&t(),Ym(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return Qm(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!function W0(e){return Km(e,"__scheduler_tick__")}(c)&&t(),Ym(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,qu(e),Wu(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(s)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(zu)}static assertInAngularZone(){if(!he.isInAngularZone())throw new D(909,!1)}static assertNotInAngularZone(){if(he.isInAngularZone())throw new D(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,H0,va,va);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const H0={};function Wu(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 qu(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled)}function Qm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Ym(e){e._nesting--,Wu(e)}class G0{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new ue;onMicrotaskEmpty=new ue;onStable=new ue;onError=new ue;run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}}function Km(e,t){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0]?.data?.[t]}class Mi{_console=console;handleError(t){this._console.error("ERROR",t)}}const Tn=new I("",{factory:()=>{const e=N(he),t=N(Et);let n;return r=>{e.runOutsideAngular(()=>{t.destroyed&&!n?setTimeout(()=>{throw r}):(n??=t.get(Mi),n.handleError(r))})}}}),q0={provide:ro,useValue:()=>{N(Mi,{optional:!0})},multi:!0};function pr(e,t){const[n,r,o]=hT(e,t?.equal),i=n;return i.set=r,i.update=o,i.asReadonly=Zu.bind(i),i}function Zu(){const e=this[Ce];if(void 0===e.readonlyFn){const t=()=>this();t[Ce]=e,e.readonlyFn=t}return e.readonlyFn}let Qu=(()=>class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=Q0})();function Q0(){return new Qu(m(),V())}class go{}const Yu=new I("",{factory:()=>!0}),Y0=new I("");let Jm=(()=>{class e{static \u0275prov=G({token:e,providedIn:"root",factory:()=>new K0})}return e})();class K0{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t)}schedule(t){t.dirty&&this.dirtyEffectCount++}remove(t){const r=this.queues.get(t.zone);r.has(t)&&(r.delete(t),t.dirty&&this.dirtyEffectCount--)}enqueue(t){const n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);const r=this.queues.get(n);r.has(t)||r.add(t)}flush(){for(;this.dirtyEffectCount>0;){let t=!1;for(const[n,r]of this.queues)t||=null===n?this.flushQueue(r):n.run(()=>this.flushQueue(r));t||(this.dirtyEffectCount=0)}}flushQueue(t){let n=!1;for(const r of t)r.dirty&&(this.dirtyEffectCount--,n=!0,r.run());return n}}let ny=null;function Ii(){return ny}class oA{}function py(e,t,n,r,o,i,s){try{var a=e[i](s),c=a.value}catch(l){return void n(l)}a.done?t(c):Promise.resolve(c).then(r,o)}function ee(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function s(c){py(i,r,o,s,a,"next",c)}function a(c){py(i,r,o,s,a,"throw",c)}s(void 0)})}}function td(e){return t=>{if(function HA(e){return Pe(e?.lift)}(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function nd(e,t,n,r,o){return new $A(e,t,n,r,o)}class $A extends eu{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:n}=this;super.unsubscribe(),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function rd(e,t){return td((n,r)=>{let o=0;n.subscribe(nd(r,i=>{r.next(e.call(t,i,o++))}))})}function pn(e){return{toString:e}.toString()}function Sy(e,t,n,r){null!==t?t.applyValueToInputSignal(t,r):e[n]=r}class bN{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}const zt=(()=>{const e=()=>Ty;return e.ngInherit=!0,e})();function Ty(e){return e.type.prototype.ngOnChanges&&(e.setInput=wN),EN}function EN(){const e=Ny(this),t=e?.current;if(t){const n=e.previous;if(n===$t)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function wN(e,t,n,r,o){const i=this.declaredInputs[r],s=Ny(e)||function MN(e,t){return e[Ay]=t}(e,{previous:$t,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new bN(l&&l.currentValue,n,c===$t),Sy(e,t,o,n)}const Ay="__ngSimpleChanges__";function Ny(e){return e[Ay]||null}const mr=[],te=function(e,t=null,n){for(let r=0;r<mr.length;r++)(0,mr[r])(e,t,n)};var S=function(e){return e[e.TemplateCreateStart=0]="TemplateCreateStart",e[e.TemplateCreateEnd=1]="TemplateCreateEnd",e[e.TemplateUpdateStart=2]="TemplateUpdateStart",e[e.TemplateUpdateEnd=3]="TemplateUpdateEnd",e[e.LifecycleHookStart=4]="LifecycleHookStart",e[e.LifecycleHookEnd=5]="LifecycleHookEnd",e[e.OutputStart=6]="OutputStart",e[e.OutputEnd=7]="OutputEnd",e[e.BootstrapApplicationStart=8]="BootstrapApplicationStart",e[e.BootstrapApplicationEnd=9]="BootstrapApplicationEnd",e[e.BootstrapComponentStart=10]="BootstrapComponentStart",e[e.BootstrapComponentEnd=11]="BootstrapComponentEnd",e[e.ChangeDetectionStart=12]="ChangeDetectionStart",e[e.ChangeDetectionEnd=13]="ChangeDetectionEnd",e[e.ChangeDetectionSyncStart=14]="ChangeDetectionSyncStart",e[e.ChangeDetectionSyncEnd=15]="ChangeDetectionSyncEnd",e[e.AfterRenderHooksStart=16]="AfterRenderHooksStart",e[e.AfterRenderHooksEnd=17]="AfterRenderHooksEnd",e[e.ComponentStart=18]="ComponentStart",e[e.ComponentEnd=19]="ComponentEnd",e[e.DeferBlockStateStart=20]="DeferBlockStateStart",e[e.DeferBlockStateEnd=21]="DeferBlockStateEnd",e[e.DynamicComponentStart=22]="DynamicComponentStart",e[e.DynamicComponentEnd=23]="DynamicComponentEnd",e[e.HostBindingsUpdateStart=24]="HostBindingsUpdateStart",e[e.HostBindingsUpdateEnd=25]="HostBindingsUpdateEnd",e}(S||{});function ky(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:u}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),l&&((e.viewHooks??=[]).push(n,l),(e.viewCheckHooks??=[]).push(n,l)),null!=u&&(e.destroyHooks??=[]).push(n,u)}}function Aa(e,t,n){xy(e,t,3,n)}function Na(e,t,n,r){(3&e[2])===n&&xy(e,t,n,r)}function fd(e,t){let n=e[2];(3&n)===t&&(n&=16383,n+=1,e[2]=n)}function xy(e,t,n,r){const i=r??-1,s=t.length-1;let a=0;for(let c=void 0!==r?65535&e[17]:0;c<s;c++)if("number"==typeof t[c+1]){if(a=t[c],null!=r&&a>=r)break}else t[c]<0&&(e[17]+=65536),(a<i||-1==i)&&(NN(e,n,t,c),e[17]=(4294901760&e[17])+c+2),c++}function Oy(e,t){te(S.LifecycleHookStart,e,t);const n=A(null);try{t.call(e)}finally{A(n),te(S.LifecycleHookEnd,e,t)}}function NN(e,t,n,r){const o=n[r]<0,i=n[r+1],a=e[o?-n[r]:n[r]];o?e[2]>>14<e[17]>>16&&(3&e[2])===t&&(e[2]+=16384,Oy(a,i)):Oy(a,i)}class Oi{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r,o){this.factory=t,this.name=o,this.canSeeViewProviders=n,this.injectImpl=r}}function Fy(e){return 3===e||4===e||6===e}function Py(e){return 64===e.charCodeAt(0)}function Eo(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const o=t[r];"number"==typeof o?n=o:0===n||Ly(e,n,o,0,-1===n||2===n?t[++r]:null)}}return e}function Ly(e,t,n,r,o){let i=0,s=e.length;if(-1===t)s=-1;else for(;i<e.length;){const a=e[i++];if("number"==typeof a){if(a===t){s=-1;break}if(a>t){s=i-1;break}}}for(;i<e.length;){const a=e[i];if("number"==typeof a)break;if(a===n)return void(null!==o&&(e[i+1]=o));i++,null!==o&&i++}-1!==s&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),null!==o&&e.splice(i++,0,o)}function pd(e){return-1!==e}function Ri(e){return 32767&e}function Fi(e,t){let n=function RN(e){return e>>16}(e),r=t;for(;n>0;)r=r[14],n--;return r}let gd=!0;function ka(e){const t=gd;return gd=e,t}let FN=0;const Wt={};function xa(e,t){const n=jy(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,md(r.data,e),md(t,null),md(r.blueprint,null));const o=Oa(e,t),i=e.injectorIndex;if(pd(o)){const s=Ri(o),a=Fi(o,t),c=a[1].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function md(e,t){e.push(0,0,0,0,0,0,0,0,t)}function jy(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Oa(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){if(r=qy(o),null===r)return-1;if(n++,o=o[14],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function yd(e,t,n){!function PN(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(gi)&&(r=n[gi]),null==r&&(r=n[gi]=FN++);const o=255&r;t.data[e+(o>>5)]|=1<<o}(e,t,n)}function Hy(e,t,n){if(8&n||void 0!==e)return e;mu()}function $y(e,t,n,r){if(8&n&&void 0===r&&(r=null),!(3&n)){const o=e[9],i=rt(void 0);try{return o?o.get(t,r,8&n):Jg(t,r,8&n)}finally{rt(i)}}return Hy(r,0,n)}function Uy(e,t,n,r=0,o){if(null!==e){if(2048&t[2]&&!(2&r)){const s=function HN(e,t,n,r,o){let i=e,s=t;for(;null!==i&&null!==s&&2048&s[2]&&!Sn(s);){const a=Gy(i,s,n,2|r,Wt);if(a!==Wt)return a;let c=i.parent;if(!c){const l=s[20];if(l){const u=l.get(n,Wt,-5&r);if(u!==Wt)return u}c=qy(s),s=s[14]}i=c}return o}(e,t,n,r,Wt);if(s!==Wt)return s}const i=Gy(e,t,n,r,Wt);if(i!==Wt)return i}return $y(t,n,r,o)}function Gy(e,t,n,r,o){const i=function BN(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(gi)?e[gi]:void 0;return"number"==typeof t?t>=0?255&t:jN:t}(n);if("function"==typeof i){if(!Bm(t,e,r))return 1&r?Hy(o,0,r):$y(t,n,r,o);try{let s;if(s=i(r),null!=s||8&r)return s;mu()}finally{Um()}}else if("number"==typeof i){let s=null,a=jy(e,t),c=-1,l=1&r?t[15][5]:null;for((-1===a||4&r)&&(c=-1===a?Oa(e,t):t[a+8],-1!==c&&Wy(r,!1)?(s=t[1],a=Ri(c),t=Fi(c,t)):a=-1);-1!==a;){const u=t[1];if(zy(i,a,u.data)){const d=VN(a,t,n,s,r,l);if(d!==Wt)return d}c=t[a+8],-1!==c&&Wy(r,t[1].data[a+8]===l)&&zy(i,a,t)?(s=u,a=Ri(c),t=Fi(c,t)):a=-1}}return o}function VN(e,t,n,r,o,i){const s=t[1],a=s.data[e+8],u=Ra(a,s,n,null==r?Ut(a)&&gd:r!=s&&!!(3&a.type),1&o&&i===a);return null!==u?Pi(t,s,u,a,o):Wt}function Ra(e,t,n,r,o){const i=e.providerIndexes,s=t.data,a=1048575&i,c=e.directiveStart,u=i>>20,f=o?a+u:e.directiveEnd;for(let h=r?a:a+u;h<f;h++){const p=s[h];if(h<c&&n===p||h>=c&&p.type===n)return h}if(o){const h=s[c];if(h&&Ot(h)&&h.type===n)return c}return null}function Pi(e,t,n,r,o){let i=e[n];const s=t.data;if(i instanceof Oi){const a=i;if(a.resolving)throw gu();const c=ka(a.canSeeViewProviders);a.resolving=!0;const d=a.injectImpl?rt(a.injectImpl):null;Bm(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&function AN(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=Ty(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}(n,s[n],t)}finally{null!==d&&rt(d),ka(c),a.resolving=!1,Um()}}return i}function zy(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function Wy(e,t){return!(2&e||1&e&&t)}class Me{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Uy(this._tNode,this._lView,t,vi(r),n)}}function jN(){return new Me(V(),m())}function Be(e){return pn(()=>{const t=e.prototype.constructor,n=t[rr]||vd(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[rr]||vd(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function vd(e){return Xs(e)?()=>{const t=vd($(e));return t&&t()}:ir(e)}function qy(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[5]:null}function QN(){return wo(V(),m())}function wo(e,t){return new Ft(Ne(e,t))}let Ft=(()=>class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=QN})();function Xy(e){return e instanceof Ft?e.nativeElement:e}function YN(){return this._results[Symbol.iterator]()}class KN{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new Jr}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;const r=function bt(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function o0(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=t[r];if(n&&(o=n(o),i=n(i)),i!==o)return!1}return!0}(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){void 0!==this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=YN}function Li(e){return!(128&~e.flags)}var Pa=function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e}(Pa||{});const La=new Map;let ek=0;function bd(e){La.delete(e[19])}const wd="__ngContext__";function st(e,t){De(t)?(e[wd]=t[19],function nk(e){La.set(e[19],e)}(t)):e[wd]=t}function cv(e){return uv(e[12])}function lv(e){return uv(e[4])}function uv(e){for(;null!==e&&!Je(e);)e=e[4];return e}let Id;const Mo=new I("",{factory:()=>Ek}),Ek="ng",yv=new I(""),vv=new I("",{providedIn:"platform",factory:()=>"unknown"}),Dv=new I("",{factory:()=>N(fn).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),Nk=new I("",{factory:()=>!1});function Ua(e){return!(32&~e.flags)}function qv(e,t){const n=e.contentQueries;if(null!==n){const r=A(null);try{for(let o=0;o<n.length;o+=2){const s=n[o+1];if(-1!==s){const a=e.data[s];ma(n[o]),a.contentQueries(2,t[s],s)}}}finally{A(r)}}}function Hd(e,t,n){ma(0);const r=A(null);try{t(e,n)}finally{A(r)}}function $d(e,t,n){if(pm(t)){const r=A(null);try{const i=t.directiveEnd;for(let s=t.directiveStart;s<i;s++){const a=e.data[s];a.contentQueries&&a.contentQueries(1,n[s],s)}}finally{A(r)}}}var Mt=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e}(Mt||{});class tD{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss)`}}function ec(e,t,n){return e.createElement(t,n)}function vr(e,t,n,r,o){e.insertBefore(t,n,r,o)}function dD(e,t,n){e.appendChild(t,n)}function fD(e,t,n,r,o){null!==r?vr(e,t,n,r,o):dD(e,t,n)}function pD(e,t,n){const{mergedAttrs:r,classes:o,styles:i}=n;null!==r&&function ON(e,t,n){let r=0;for(;r<n.length;){const o=n[r];if("number"==typeof o){if(0!==o)break;r++;const i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{const i=o,s=n[++r];Py(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}}(e,t,r),null!==o&&function x1(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}(e,t,o),null!==i&&function k1(e,t,n){e.setAttribute(t,"style",n)}(e,t,i)}function X1(e,t,n){let r=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}const CD="ng-template";function J1(e,t,n,r){let o=0;if(r){for(;o<t.length&&"string"==typeof t[o];o+=2)if("class"===t[o]&&-1!==X1(t[o+1].toLowerCase(),n,0))return!0}else if(Jd(e))return!1;if(o=t.indexOf(1,o),o>-1){let i;for(;++o<t.length&&"string"==typeof(i=t[o]);)if(i.toLowerCase()===n)return!0}return!1}function Jd(e){return 4===e.type&&e.value!==CD}function ex(e,t,n){return t===(4!==e.type||n?e.value:CD)}function tx(e,t,n){let r=4;const o=e.attrs,i=null!==o?function ox(e){for(let t=0;t<e.length;t++)if(Fy(e[t]))return t;return e.length}(o):0;let s=!1;for(let a=0;a<t.length;a++){const c=t[a];if("number"!=typeof c){if(!s)if(4&r){if(r=2|1&r,""!==c&&!ex(e,c,n)||""===c&&1===t.length){if(Pt(r))return!1;s=!0}}else if(8&r){if(null===o||!J1(e,o,c,n)){if(Pt(r))return!1;s=!0}}else{const l=t[++a],u=nx(c,o,Jd(e),n);if(-1===u){if(Pt(r))return!1;s=!0;continue}if(""!==l){let d;if(d=u>i?"":o[u+1].toLowerCase(),2&r&&l!==d){if(Pt(r))return!1;s=!0}}}}else{if(!s&&!Pt(r)&&!Pt(c))return!1;if(s&&Pt(c))continue;s=!1,r=c|1&r}}return Pt(r)||s}function Pt(e){return!(1&e)}function nx(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){const s=t[o];if(s===e)return o;if(3===s||6===s)i=!0;else{if(1===s||2===s){let a=t[++o];for(;"string"==typeof a;)a=t[++o];continue}if(4===s)break;if(0===s){o+=4;continue}}o+=i?1:2}return-1}return function ix(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function bD(e,t,n=!1){for(let r=0;r<t.length;r++)if(tx(e,t[r],n))return!0;return!1}function ED(e,t){return e?":not("+t.trim()+")":t}function ax(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if("string"==typeof s)if(2&r){const a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!Pt(s)&&(t+=ED(i,o),o=""),r=s,i=i||!Pt(r);n++}return""!==o&&(t+=ED(i,o)),t}const X={};function ef(e,t,n,r,o,i,s,a,c,l,u){const d=x+r,f=d+o,h=function ux(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:X);return n}(d,f),p="function"==typeof l?l():l;return h[1]={type:e,blueprint:h,template:n,queries:null,viewQuery:a,declTNode:t,data:h.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:f,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof i?i():i,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:c,consts:p,incompleteFirstPass:!1,ssrId:u}}function nc(e,t,n,r,o,i,s,a,c,l,u){const d=t.blueprint.slice();return d[0]=o,d[2]=1228|r,(null!==l||e&&2048&e[2])&&(d[2]|=2048),_m(d),d[3]=d[14]=e,d[8]=n,d[10]=s||e&&e[10],d[j]=a||e&&e[j],d[9]=c||e&&e[9]||null,d[5]=i,d[19]=function tk(){return ek++}(),d[6]=u,d[20]=l,d[15]=2==t.type?e[15]:d,d}function tf(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Wi(e,t,n,r){if(0===n)return-1;const o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function nf(e,t){return e[12]?e[13][4]=t:e[12]=t,e[13]=t,t}function P(e=1){MD(H(),m(),je()+e,!1)}function MD(e,t,n,r){if(!r)if(3&~t[2]){const i=e.preOrderHooks;null!==i&&Na(t,i,0,n)}else{const i=e.preOrderCheckHooks;null!==i&&Aa(t,i,n)}fr(n)}var rc=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(rc||{});function Fn(e,t,n,r){const o=A(null);try{const[i,s,a]=e.inputs[n];let c=null;0!==(s&rc.SignalBased)&&(c=t[i][Ce]),null!==c&&void 0!==c.transformFn?r=c.transformFn(r):null!==a&&(r=a.call(t,r)),null!==e.setInput?e.setInput(t,c,r,n,i):Sy(t,c,i,r)}finally{A(o)}}var Pn=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Pn||{});function of(e,t){return(void 0)(e,t)}typeof document<"u"&&document;const qi=new WeakMap,Zi=new WeakSet;const Er=new Set;var ff=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(ff||{});const xo=new I(""),ND=new Set;function Ze(e){ND.has(e)||(ND.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}let kD=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=G({token:e,providedIn:"root",factory:()=>new e})}return e})();const xD=[0,1,2,3];let Ix=(()=>{class e{ngZone=N(he);scheduler=N(go);errorHandler=N(Mi,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){N(xo,{optional:!0})}execute(){const n=this.sequences.size>0;n&&te(S.AfterRenderHooksStart),this.executing=!0;for(const r of xD)for(const o of this.sequences)if(!o.erroredOrDestroyed&&o.hooks[r])try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>(0,o.hooks[r])(o.pipelinedValue),o.snapshot))}catch(i){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(const r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(const r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),n&&te(S.AfterRenderHooksEnd)}register(n){const{view:r}=n;void 0!==r?((r[25]??=[]).push(n),ho(r),r[2]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(ff.AFTER_NEXT_RENDER,n):n()}static \u0275prov=G({token:e,providedIn:"root",factory:()=>new e})}return e})();class OD{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o,i,s=null){this.impl=t,this.hooks=n,this.view=r,this.once=o,this.snapshot=s,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();const t=this.view?.[25];t&&(this.view[25]=t.filter(n=>n!==this))}}function hf(e,t){const n=t?.injector??N(yt);return Ze("NgAfterNextRender"),function RD(e,t,n,r){const o=t.get(kD);o.impl??=t.get(Ix);const i=t.get(xo,null,{optional:!0}),s=!0!==n?.manualCleanup?t.get(hn):null,a=t.get(Qu,null,{optional:!0}),c=new OD(o.impl,function Tx(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}(e,n,t,!0)}const lc=new I("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:N(Et)})});function FD(e,t,n){const r=e.get(lc);if(Array.isArray(t))for(const o of t)r.queue.add(o),n?.detachedLeaveAnimationFns?.push(o);else r.queue.add(t),n?.detachedLeaveAnimationFns?.push(t);r.scheduler&&r.scheduler(e)}function PD(e,t,n,r){const o=e?.[26]?.enter;null!==t&&o&&o.has(n.index)&&function pf(e,t){for(const[n,r]of t)FD(e,r.animateFns)}(r,o)}function Oo(e,t,n,r,o,i,s,a){if(null!=o){let c,l=!1;Je(o)?c=o:De(o)&&(l=!0,o=o[0]);const u=Ve(o);0===e&&null!==r?(PD(a,r,i,n),null==s?dD(t,r,u):vr(t,r,u,s||null,!0)):1===e&&null!==r?(PD(a,r,i,n),vr(t,r,u,s||null,!0),function Dx(e,t){const n=qi.get(e);if(!n||0===n.length)return;const r=t.parentNode,o=t.previousSibling;for(let i=n.length-1;i>=0;i--){const s=n[i],a=s.parentNode;s===t?(n.splice(i,1),Zi.add(s),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))):(o&&s===o||a&&r&&a!==r)&&(n.splice(i,1),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),s.parentNode?.removeChild(s))}}(i,u)):2===e?(a?.[26]?.leave?.has(i.index)&&function cf(e,t){const n=qi.get(e);n?n.includes(t)||n.push(t):qi.set(e,[t])}(i,u),Zi.delete(u),BD(a,i,n,d=>{Zi.has(u)?Zi.delete(u):function Gi(e,t,n,r){e.removeChild(null,t,n,r)}(t,u,l,d)})):3===e&&(Zi.delete(u),BD(a,i,n,()=>{t.destroyNode(u)})),null!=c&&function Lx(e,t,n,r,o,i,s){const a=r[7];a!==Ve(r)&&Oo(t,e,n,i,a,o,s);for(let l=10;l<r.length;l++){const u=r[l];dc(u[1],u,e,t,i,a)}}(t,e,n,c,i,r,s)}}function VD(e,t){t[10].changeDetectionScheduler?.notify(9),dc(e,t,t[j],2,null,null)}function gf(e,t){const n=e[9],r=n.indexOf(t);n.splice(r,1)}function Yi(e,t){if(an(t))return;const n=t[j];n.destroyNode&&dc(e,t,n,3,null,null),function xx(e){let t=e[12];if(!t)return mf(e[1],e);for(;t;){let n=null;if(De(t))n=t[12];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)De(t)&&mf(t[1],t),t=t[3];null===t&&(t=e),De(t)&&mf(t[1],t),n=t&&t[4]}t=n}}(t)}function mf(e,t){if(an(t))return;const n=A(null);try{t[2]&=-129,t[2]|=256,t[24]&&pi(t[24]),function Fx(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const o=t[n[r]];if(!(o instanceof Oi)){const i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){const a=o[i[s]],c=i[s+1];te(S.LifecycleHookStart,a,c);try{c.call(a)}finally{te(S.LifecycleHookEnd,a,c)}}else{te(S.LifecycleHookStart,o,i);try{i.call(o)}finally{te(S.LifecycleHookEnd,o,i)}}}}}(e,t),function Rx(e,t){const n=e.cleanup,r=t[7];if(null!==n)for(let s=0;s<n.length-1;s+=2)if("string"==typeof n[s]){const a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else n[s].call(r[n[s+1]]);null!==r&&(t[7]=null);const o=t[21];if(null!==o){t[21]=null;for(let s=0;s<o.length;s++)(0,o[s])()}const i=t[23];if(null!==i){t[23]=null;for(const s of i)s.destroy()}}(e,t),1===t[1].type&&t[j].destroy();const r=t[16];if(null!==r&&Je(t[3])){r!==t[3]&&gf(r,t);const o=t[18];null!==o&&o.detachView(e)}bd(t)}finally{A(n)}}function BD(e,t,n,r){const o=e?.[26];if(null==o||null==o.leave||!o.leave.has(t.index))return r(!1);e&&Er.add(e[19]),FD(n,()=>{if(o.leave&&o.leave.has(t.index)){const s=o.leave.get(t.index),a=[];if(s){for(let c=0;c<s.animateFns.length;c++){const l=s.animateFns[c],{promise:u}=l();a.push(u)}o.detachedLeaveAnimationFns=void 0}o.running=Promise.allSettled(a),function Ox(e,t){const n=e[26]?.running;n?n.then(()=>{e[26].running=void 0,Er.delete(e[19]),t(!0)}):t(!1)}(e,r)}else e&&Er.delete(e[19]),r(!1)},o)}function yf(e,t,n){return function jD(e,t,n){let r=t;for(;null!==r&&168&r.type;)r=(t=r).parent;if(null===r)return n[0];if(Ut(r)){const{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===Mt.None||o===Mt.Emulated)return null}return Ne(r,n)}(e,t.parent,n)}let UD=function $D(e,t,n){return 40&e.type?Ne(e,n):null};function Df(e,t,n,r){const o=yf(e,r,t),i=t[j],a=function HD(e,t,n){return UD(e,t,n)}(r.parent||t[5],r,t);if(null!=o)if(Array.isArray(n))for(let c=0;c<n.length;c++)fD(i,o,n[c],a,!1);else fD(i,o,n,a,!1)}function wr(e,t){if(null!==t){const n=t.type;if(3&n)return Ne(t,e);if(4&n)return _f(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return wr(e,r);{const o=e[t.index];return Je(o)?_f(-1,o):Ve(o)}}if(128&n)return wr(e,t.next);if(32&n)return of(t,e)()||Ve(e[t.index]);{const r=zD(e,t);return null!==r?Array.isArray(r)?r[0]:wr(cn(e[15]),r):wr(e,t.next)}}return null}function zD(e,t){return null!==t?e[15][5].projection[t.projection]:null}function _f(e,t){const n=10+e+1;if(n<t.length){const r=t[n],o=r[1].firstChild;if(null!==o)return wr(r,o)}return t[7]}function Cf(e,t,n,r,o,i,s){for(;null!=n;){const a=r[9];if(128===n.type){n=n.next;continue}const c=r[n.index],l=n.type;if(s&&0===t&&(c&&st(Ve(c),r),n.flags|=2),!Ua(n))if(8&l)Cf(e,t,n.child,r,o,i,!1),Oo(t,e,a,o,c,n,i,r);else if(32&l){const u=of(n,r);let d;for(;d=u();)Oo(t,e,a,o,d,n,i,r);Oo(t,e,a,o,c,n,i,r)}else 16&l?WD(e,t,r,n,o,i):Oo(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next}}function dc(e,t,n,r,o,i){Cf(n,r,e.firstChild,t,o,i,!1)}function WD(e,t,n,r,o,i){const s=n[15],c=s[5].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++)Oo(t,e,n[9],o,c[l],r,i,n);else{let l=c;const u=s[3];Li(r)&&(l.flags|=128),Cf(e,t,l,u,o,i,!0)}}function qD(e,t,n,r,o){const i=je(),s=2&r;try{fr(-1),s&&t.length>x&&MD(e,t,x,!1),te(s?S.TemplateUpdateStart:S.TemplateCreateStart,o,n),n(r,o)}finally{fr(i),te(s?S.TemplateUpdateEnd:S.TemplateCreateEnd,o,n)}}function fc(e,t,n){(function Ux(e,t,n){const r=n.directiveStart,o=n.directiveEnd;Ut(n)&&function dx(e,t,n){const r=Ne(t,e),o=function wD(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=ef(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}(n),i=e[10].rendererFactory,s=nf(e,nc(e,o,null,tf(n),r,t,null,i.createRenderer(r,n),null,null,null));e[t.index]=s}(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||xa(n,t);const i=n.initialInputs;for(let s=r;s<o;s++){const a=e.data[s],c=Pi(t,e,s,n);st(c,t),null!==i&&qx(0,s-r,c,a,0,i),Ot(a)&&(et(n.index,t)[8]=Pi(t,e,s,n))}})(e,t,n),!(64&~n.flags)&&function Gx(e,t,n){const r=n.directiveStart,o=n.directiveEnd,i=n.index,s=function S0(){return F.lFrame.currentDirectiveIndex}();try{fr(i);for(let a=r;a<o;a++){const c=e.data[a],l=t[a];ju(a),(null!==c.hostBindings||0!==c.hostVars||null!==c.hostAttrs)&&zx(c,l)}}finally{fr(-1),ju(s)}}(e,t,n)}function Ro(e,t,n=Ne){const r=t.localNames;if(null!==r){let o=t.index+1;for(let i=0;i<r.length;i+=2){const s=r[i+1],a=-1===s?n(t,e):e[s];e[o++]=a}}}let ZD=()=>null;function bf(e,t,n,r,o,i){mc(e,t[1],t,n,r)?Ut(e)&&function QD(e,t){const n=et(t,e);16&n[2]||(n[2]|=64)}(t,e.index):(3&e.type&&(n=function $x(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(n)),function Ef(e,t,n,r,o,i){if(3&e.type){const s=Ne(e,t);r=null!=i?i(r,e.value||"",n):r,o.setProperty(s,n,r)}}(e,t,n,r,o,i))}function zx(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function wf(e,t){const n=e.directiveRegistry;let r=null;if(n)for(let o=0;o<n.length;o++){const i=n[o];bD(t,i.selectors,!1)&&(r??=[],Ot(i)?r.unshift(i):r.push(i))}return r}function qx(e,t,n,r,o,i){const s=i[t];if(null!==s)for(let a=0;a<s.length;a+=2)Fn(r,n,s[a],s[a+1])}function gc(e){let t=e;return xm()?function Om(){F.lFrame.isParent=!1}():(t=t.parent,ln(t,!1)),t}function mc(e,t,n,r,o){const i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r];let a=!1;if(s)for(let c=0;c<s.length;c+=2){const l=s[c];Fn(t.data[l],n[l],s[c+1],o),a=!0}if(i)for(const c of i)Fn(t.data[c],n[c],r,o),a=!0;return a}function Qx(e,t){const n=et(t,e),r=n[1];!function Yx(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n);const o=n[0];null!==o&&null===n[6]&&(n[6]=null),te(S.ComponentStart);try{yc(r,n,n[8])}finally{te(S.ComponentEnd,n[8])}}function yc(e,t,n){Uu(t);try{const r=e.viewQuery;null!==r&&Hd(1,r,n);const o=e.template;null!==o&&qD(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[18]?.finishViewCreation(e),e.staticContentQueries&&qv(e,t),e.staticViewQueries&&Hd(2,e.viewQuery,n);const i=e.components;null!==i&&function Kx(e,t){for(let n=0;n<t.length;n++)Qx(e,t[n])}(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,Gu()}}function Mr(e,t){return!t||null===t.firstChild||Li(e)}function Ki(e,t,n,r,o=!1){for(;null!==n;){if(128===n.type){n=o?n.projectionNext:n.next;continue}const i=t[n.index];null!==i&&r.push(Ve(i)),Je(i)&&Xx(i,r);const s=n.type;if(8&s)Ki(e,t,n.child,r);else if(32&s){const a=of(n,t);let c;for(;c=a();)r.push(c)}else if(16&s){const a=zD(t,n);if(Array.isArray(a))r.push(...a);else{const c=cn(t[15]);Ki(c[1],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Xx(e,t){for(let n=10;n<e.length;n++){const r=e[n],o=r[1].firstChild;null!==o&&Ki(r[1],r,o,t)}e[7]!==e[0]&&t.push(e[7])}function XD(e){if(null!==e[25]){for(const t of e[25])t.impl.addSequence(t);e[25].length=0}}let JD=[];const nO={...ft,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{ho(e.lView)},consumerOnSignalRead(){this.lView[24]=this}},oO={...ft,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=cn(e.lView);for(;t&&!e_(t[1]);)t=cn(t);t&&Cm(t)},consumerOnSignalRead(){this.lView[24]=this}};function e_(e){return 2!==e.type}function t_(e){if(null===e[23])return;let t=!0;for(;t;){let n=!1;for(const r of e[23])r.dirty&&(n=!0,null===r.zone||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(8192&e[2])}}function vc(e,t=0){const r=e[10].rendererFactory;r.begin?.();try{!function sO(e,t){const n=Pm();try{ga(!0),If(e,t);let r=0;for(;ha(e);){if(100===r)throw new D(103,!1);r++,If(e,1)}}finally{ga(n)}}(e,t)}finally{r.end?.()}}function n_(e,t,n,r){if(an(t))return;const o=t[2];Uu(t);let a=!0,c=null,l=null;e_(e)?(l=function Jx(e){return e[24]??function eO(e){const t=JD.pop()??Object.create(nO);return t.lView=e,t}(e)}(t),c=Qr(l)):null===function ce(){return _e}()?(a=!1,l=function rO(e){const t=e[24]??Object.create(oO);return t.lView=e,t}(t),c=Qr(l)):t[24]&&(pi(t[24]),t[24]=null);try{_m(t),function Lm(e){return F.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&qD(e,t,n,2,r);const u=!(3&~o);if(u){const h=e.preOrderCheckHooks;null!==h&&Aa(t,h,null)}else{const h=e.preOrderHooks;null!==h&&Na(t,h,0,null),fd(t,0)}if(function aO(e){for(let t=cv(e);null!==t;t=lv(t)){if(!(2&t[2]))continue;const n=t[9];for(let r=0;r<n.length;r++)Cm(n[r])}}(t),t_(t),r_(t,0),null!==e.contentQueries&&qv(e,t),u){const h=e.contentCheckHooks;null!==h&&Aa(t,h)}else{const h=e.contentHooks;null!==h&&Na(t,h,1),fd(t,1)}!function lO(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const o=n[r];if(o<0)fr(~o);else{const i=o,s=n[++r],a=n[++r];I0(s,i);const c=t[i];te(S.HostBindingsUpdateStart,c);try{a(2,c)}finally{te(S.HostBindingsUpdateEnd,c)}}}}finally{fr(-1)}}(e,t);const d=e.components;null!==d&&i_(t,d,0);const f=e.viewQuery;if(null!==f&&Hd(2,f,r),u){const h=e.viewCheckHooks;null!==h&&Aa(t,h)}else{const h=e.viewHooks;null!==h&&Na(t,h,2),fd(t,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[22]){for(const h of t[22])h();t[22]=null}XD(t),t[2]&=-73}catch(u){throw ho(t),u}finally{null!==l&&(hi(l,c),a&&function tO(e){e.lView[24]!==e&&(e.lView=null,JD.push(e))}(l)),Gu()}}function r_(e,t){for(let n=cv(e);null!==n;n=lv(n))for(let r=10;r<n.length;r++)o_(n[r],t)}function cO(e,t,n){te(S.ComponentStart);const r=et(t,e);try{o_(r,n)}finally{te(S.ComponentEnd,r[8])}}function o_(e,t){Ru(e)&&If(e,t)}function If(e,t){const r=e[1],o=e[2],i=e[24];let s=!!(0===t&&16&o);if(s||=!!(64&o&&0===t),s||=!!(1024&o),s||=!(!i?.dirty||!qs(i)),s||=!1,i&&(i.dirty=!1),e[2]&=-9217,s)n_(r,e,r.template,e[8]);else if(8192&o){const a=A(null);try{t_(e),r_(e,1);const c=r.components;null!==c&&i_(e,c,1),XD(e)}finally{A(a)}}}function i_(e,t,n){for(let r=0;r<t.length;r++)cO(e,t[r],n)}function Po(e,t){const n=Pm()?64:1088;for(e[10].changeDetectionScheduler?.notify(t);e;){e[2]|=n;const r=cn(e);if(Sn(e)&&!r)return e;e=r}return null}function s_(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Xi(e,t){if(e.length<=10)return;const n=10+t,r=e[n];if(r){const o=r[16];null!==o&&o!==e&&gf(o,r),t>0&&(e[n-1][4]=r[4]);const i=oa(e,10+t);!function LD(e,t){VD(e,t),t[0]=null,t[5]=null}(r[1],r);const s=i[18];null!==s&&s.detachView(i[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function c_(e,t){const n=e[9],r=t[3];(De(r)||t[15]!==r[3][15])&&(e[2]|=2),null===n?e[9]=[t]:n.push(t)}class Ji{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){const t=this._lView,n=t[1];return Ki(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return an(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(Je(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(Xi(t,r),oa(n,r))}this._attachedToViewContainer=!1}Yi(this._lView[1],this._lView)}onDestroy(t){pa(this._lView,t)}markForCheck(){Po(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[2]&=-129}reattach(){Fu(this._lView),this._lView[2]|=128}detectChanges(){this._lView[2]|=1024,vc(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new D(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const t=Sn(this._lView),n=this._lView[16];null!==n&&!t&&gf(n,this._lView),VD(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new D(902,!1);this._appRef=t;const n=Sn(this._lView),r=this._lView[16];null!==r&&!n&&c_(r,this._lView),Fu(this._lView)}}let gn=(()=>class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=dO;constructor(n,r,o){this._declarationLView=n,this._declarationTContainer=r,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,r){return this.createEmbeddedViewImpl(n,r)}createEmbeddedViewImpl(n,r,o){const i=function Fo(e,t,n,r){const o=A(null);try{const i=t.tView,c=nc(e,i,n,4096&e[2]?4096:16,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null);c[16]=e[t.index];const u=e[18];return null!==u&&(c[18]=u.createEmbeddedView(i)),yc(i,c,n),c}finally{A(o)}}(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new Ji(i)}})();function dO(){return Dc(V(),m())}function Dc(e,t){return 4&e.type?new gn(t,e,wo(e,t)):null}function Ir(e,t,n,r,o){let i=e.data[t];if(null===i)i=function kf(e,t,n,r,o){const i=km(),s=xm(),c=e.data[t]=function _O(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return function Im(){return null!==F.skipHydrationRootTNode}()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,controlDirectiveIndex:-1,customControlIndex:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?i:i&&i.parent,n,t,r,o);return function DO(e,t,n,r){null===e.firstChild&&(e.firstChild=t),null!==n&&(r?null==n.child&&null!==t.parent&&(n.child=t):null===n.next&&(n.next=t,t.prev=n))}(e,c,i,s),c}(e,t,n,r,o),function M0(){return F.lFrame.inI18n}()&&(i.flags|=32);else if(64&i.type){i.type=n,i.value=r,i.attrs=o;const s=function Ei(){const e=F.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return ln(i,!0),i}let nR=class{},O_=class{};class rR{resolveComponentFactory(t){throw new D(917,!1)}}let Ic=class{static NULL=new rR};class Vf{}let Tr=(()=>class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>function oR(){const e=m(),n=et(V().index,e);return(De(n)?n:e)[j]}()})(),iR=(()=>{class e{static \u0275prov=G({token:e,providedIn:"root",factory:()=>null})}return e})();const jf={};class jo{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){const o=this.injector.get(t,jf,r);return o!==jf||n===jf?o:this.parentInjector.get(t,n,r)}}function Tc(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(null!==t)for(let s=0;s<t.length;s++){const a=t[s];"number"==typeof a?i=a:1==i?o=lu(o,a):2==i&&(r=lu(r,a+": "+t[++s]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function b(e,t=0){const n=m();return null===n?q(e,t):Uy(V(),n,$(e),t)}function F_(e,t,n,r,o){const i=null===r?null:{"":-1},s=o(e,n);if(null!==s){let a=s,c=null,l=null;for(const u of s)if(null!==u.resolveHostDirectives){[a,c,l]=u.resolveHostDirectives(s);break}!function fR(e,t,n,r,o,i,s){const a=r.length;let c=null;for(let f=0;f<a;f++){const h=r[f];null===c&&Ot(h)&&(c=h,dR(e,n,f)),yd(xa(n,t),e,h.type)}(function vR(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t})(n,e.data.length,a),c?.viewProvidersResolver&&c.viewProvidersResolver(c);for(let f=0;f<a;f++){const h=r[f];h.providersResolver&&h.providersResolver(h)}let l=!1,u=!1,d=Wi(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let f=0;f<a;f++){const h=r[f];if(n.mergedAttrs=Eo(n.mergedAttrs,h.hostAttrs),pR(e,n,t,d,h),yR(d,h,o),null!==s&&s.has(h)){const[g,v]=s.get(h);n.directiveToIndex.set(h.type,[d,g+n.directiveStart,v+n.directiveStart])}else(null===i||!i.has(h))&&n.directiveToIndex.set(h.type,d);null!==h.contentQueries&&(n.flags|=4),(null!==h.hostBindings||null!==h.hostAttrs||0!==h.hostVars)&&(n.flags|=64);const p=h.type.prototype;!l&&(p.ngOnChanges||p.ngOnInit||p.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),l=!0),!u&&(p.ngOnChanges||p.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),u=!0),d++}!function hR(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){const o=e.data[r];if(null!==n&&n.has(o)){const i=n.get(o);L_(0,t,i,r),L_(1,t,i,r),B_(t,r,!0)}else P_(0,t,o,r),P_(1,t,o,r),B_(t,r,!1)}}(e,n,i)}(e,t,n,a,i,c,l)}null!==i&&null!==r&&function uR(e,t,n){const r=e.localNames=[];for(let o=0;o<t.length;o+=2){const i=n[t[o+1]];if(null==i)throw new D(-301,!1);r.push(t[o],i)}}(n,r,i)}function dR(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function P_(e,t,n,r){const o=0===e?n.inputs:n.outputs;for(const i in o)if(o.hasOwnProperty(i)){let s;s=0===e?t.inputs??={}:t.outputs??={},s[i]??=[],s[i].push(r),V_(t,i)}}function L_(e,t,n,r){const o=0===e?n.inputs:n.outputs;for(const i in o)if(o.hasOwnProperty(i)){const s=o[i];let a;a=0===e?t.hostDirectiveInputs??={}:t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),V_(t,s)}}function V_(e,t){"class"===t?e.flags|=8:"style"===t&&(e.flags|=16)}function B_(e,t,n){const{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(null===r||!n&&null===o||n&&null===i||Jd(e))return e.initialInputs??=[],void e.initialInputs.push(null);let s=null,a=0;for(;a<r.length;){const c=r[a];if(0!==c)if(5!==c){if("number"==typeof c)break;if(!n&&o.hasOwnProperty(c)){const l=o[c];for(const u of l)if(u===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&i.hasOwnProperty(c)){const l=i[c];for(let u=0;u<l.length;u+=2)if(l[u]===t){s??=[],s.push(l[u+1],r[a+1]);break}}a+=2}else a+=2;else a+=4}e.initialInputs??=[],e.initialInputs.push(s)}function pR(e,t,n,r,o){e.data[r]=o;const i=o.factory||(o.factory=ir(o.type)),s=new Oi(i,Ot(o),b,null);e.blueprint[r]=s,n[r]=s,function gR(e,t,n,r,o){const i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;null===s&&(s=e.hostBindingOpCodes=[]);const a=~t.index;(function mR(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=a&&s.push(a),s.push(n,r,i)}}(e,t,r,Wi(e,n,o.hostVars,X),o)}function yR(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Ot(t)&&(n[""]=e)}}function Hf(e,t,n,r,o,i,s,a){const c=t[1],l=c.consts,d=Ir(c,e,n,r,We(l,s));return i&&F_(c,t,d,We(l,a),o),d.mergedAttrs=Eo(d.mergedAttrs,d.attrs),null!==d.attrs&&Tc(d,d.attrs,!1),null!==d.mergedAttrs&&Tc(d,d.mergedAttrs,!0),null!==c.queries&&c.queries.elementStart(c,d),d}function $f(e,t){ky(e,t),pm(t)&&e.queries.elementEnd(t)}function Ac(e){return!!function Uf(e){return null!==e&&("function"==typeof e||"object"==typeof e)}(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function pe(e,t,n){return n!==X&&(!Object.is(e[t],n)&&(e[t]=n,!0))}function Vn(e,t,n){return function r(o){Po(Ut(e)?et(e.index,t):t,5);const s=t[8];let a=H_(t,s,n,o),c=r.__ngNextListenerFn__;for(;c;)a=H_(t,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function H_(e,t,n,r){const o=A(null);try{return te(S.OutputStart,t,n),!1!==n(r)}catch(i){return function Mf(e,t){const n=e[9];if(!n)return;let r;try{r=n.get(Tn,null)}catch{r=null}r?.(t)}(e,i),!1}finally{te(S.OutputEnd,t,n),A(o)}}function $_(e,t,n,r,o,i,s){const a=t.firstCreatePass?wm(t):null,c=Em(n),l=c.length;c.push(o,i),a&&a.push(r,e,l,(l+1)*(s?-1:1))}function $o(e,t,n,r,o,i){const a=t[1],d=t[n][a.data[n].outputs[r]].subscribe(i);$_(e.index,a,t,o,i,d,!0)}const mn=Symbol("BINDING");function zf(e){return e.debugInfo?.className||e.type.name||null}class Y_ extends Ic{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=K(t);return new Wf(n,this.ngModule)}}class Wf extends O_{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=function RR(e){return Object.keys(e).map(t=>{const[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:0!==(r&rc.SignalBased)};return o&&(i.transform=o),i})}(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=function FR(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function cx(e){return e.map(ax).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){te(S.DynamicComponentStart);const a=A(null);try{const c=this.componentDef,l=function PR(e,t,n){let r=t instanceof Et?t:t?.injector;return r&&null!==e.getStandaloneInjector&&(r=e.getStandaloneInjector(r)||r),r?new jo(n,r):n}(c,o||this.ngModule,t),u=function LR(e){const t=e.get(Vf,null);if(null===t)throw new D(407,!1);return{rendererFactory:t,sanitizer:e.get(iR,null),changeDetectionScheduler:e.get(go,null),ngReflect:!1,tracingService:e.get(xo,null,{optional:!0})}}(l),d=u.tracingService;return d&&d.componentCreate?d.componentCreate(zf(c),()=>this.createComponentRef(u,l,n,r,i,s)):this.createComponentRef(u,l,n,r,i,s)}finally{A(a)}}createComponentRef(t,n,r,o,i,s){const a=this.componentDef,c=function jR(e,t,n,r){const o=e?["ng-version","21.2.7"]:function lx(e){const t=[],n=[];let r=1,o=2;for(;r<e.length;){let i=e[r];if("string"==typeof i)2===o?""!==i&&t.push(i,e[++r]):8===o&&n.push(i);else{if(!Pt(o))break;o=i}r++}return n.length&&t.push(1,...n),t}(t.selectors[0]);let i=null,s=null,a=0;if(n)for(const u of n)a+=u[mn].requiredVars,u.create&&(u.targetIdx=0,(i??=[]).push(u)),u.update&&(u.targetIdx=0,(s??=[]).push(u));if(r)for(let u=0;u<r.length;u++){const d=r[u];if("function"!=typeof d)for(const f of d.bindings){a+=f[mn].requiredVars;const h=u+1;f.create&&(f.targetIdx=h,(i??=[]).push(f)),f.update&&(f.targetIdx=h,(s??=[]).push(f))}}const c=[t];if(r)for(const u of r){const f=Xe("function"==typeof u?u:u.type);c.push(f)}return ef(0,null,function HR(e,t){return e||t?n=>{if(1&n&&e)for(const r of e)r.create();if(2&n&&t)for(const r of t)r.update()}:null}(i,s),1,a,c,null,null,null,[o],null)}(o,a,s,i),l=t.rendererFactory.createRenderer(null,a),u=o?function Bx(e,t,n,r){const i=r.get(Nk,!1)||n===Mt.ShadowDom||n===Mt.ExperimentalIsolatedShadowDom,s=e.selectRootElement(t,i);return function jx(e){ZD(e)}(s),s}(l,o,a.encapsulation,n):function VR(e,t){const n=function BR(e){return(e.selectors[0][0]||"div").toLowerCase()}(e);return ec(t,n,"svg"===n?"svg":"math"===n?"math":null)}(a,l),d=s?.some(K_)||i?.some(p=>"function"!=typeof p&&p.bindings.some(K_)),f=nc(null,c,null,512|tf(a),null,null,t,l,n,null,null);f[x]=u,Uu(f);let h=null;try{const p=Hf(x,f,2,"#host",()=>c.directiveRegistry,!0,0);pD(l,u,p),st(u,f),fc(c,f,p),$d(c,p,f),$f(c,p),void 0!==r&&function UR(e,t,n){const r=e.projection=[];for(let o=0;o<t.length;o++){const i=n[o];r.push(null!=i&&i.length?Array.from(i):null)}}(p,this.ngContentSelectors,r),h=et(p.index,f),f[8]=h[8],yc(c,f,null)}catch(p){throw null!==h&&bd(h),bd(f),p}finally{te(S.DynamicComponentEnd),Gu()}return new $R(this.componentType,f,!!d)}}function K_(e){const t=e[mn].kind;return"input"===t||"twoWay"===t}class $R extends nR{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=fo(n[1],x),this.location=wo(this._tNode,n),this.instance=et(this._tNode.index,n)[8],this.hostView=this.changeDetectorRef=new Ji(n,void 0),this.componentType=t}setInput(t,n){const r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;const o=this._rootLView;mc(r,o[1],o,t,n),this.previousInputValues.set(t,n),Po(et(r.index,o),1)}get injector(){return new Me(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}let Qt=(()=>class e{static __NG_ELEMENT_ID__=GR})();function GR(){return J_(V(),m())}class qf extends Qt{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return wo(this._hostTNode,this._hostLView)}get injector(){return new Me(this._hostTNode,this._hostLView)}get parentInjector(){const t=Oa(this._hostTNode,this._hostLView);if(pd(t)){const n=Fi(t,this._hostLView),r=Ri(t);return new Me(n[1].data[r+8],n)}return new Me(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=X_(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const a=t.createEmbeddedViewImpl(n||{},i,null);return this.insertImpl(a,o,Mr(this._hostTNode,null)),a}createComponent(t,n,r,o,i,s,a){const c=t&&!function xi(e){return"function"==typeof e}(t);let l;if(c)l=n;else{const v=n||{};l=v.index,r=v.injector,o=v.projectableNodes,i=v.environmentInjector||v.ngModuleRef,s=v.directives,a=v.bindings}const u=c?t:new Wf(K(t)),d=r||this.parentInjector;if(!i&&null==u.ngModule){const w=(c?d:this.parentInjector).get(Et,null);w&&(i=w)}K(u.componentType??{});const g=u.create(d,o,null,i,s,a);return this.insertImpl(g.hostView,l,Mr(this._hostTNode,null)),g}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){const o=t._lView;if(function D0(e){return Je(e[3])}(o)){const a=this.indexOf(t);if(-1!==a)this.detach(a);else{const c=o[3],l=new qf(c,c[5],c[3]);l.detach(l.indexOf(t))}}const i=this._adjustIndex(n),s=this._lContainer;return function Lo(e,t,n,r=!0){const o=t[1];if(function uO(e,t,n,r){const o=10+r,i=n.length;r>0&&(n[o-1][4]=t),r<i-10?(t[4]=n[o],tm(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;const s=t[16];null!==s&&n!==s&&c_(s,t);const a=t[18];null!==a&&a.insertView(e),Fu(t),t[2]|=128}(o,t,e,n),r){const s=_f(n,e),a=t[j],c=a.parentNode(e[7]);null!==c&&function kx(e,t,n,r,o,i){r[0]=o,r[5]=t,dc(e,r,n,1,o,i)}(o,e[5],a,t,c,s)}const i=t[6];null!==i&&null!==i.firstChild&&(i.firstChild=null)}(s,o,i,r),t.attachToViewContainerRef(),tm(Zf(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=X_(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=Xi(this._lContainer,n);r&&(oa(Zf(this._lContainer),n),Yi(r[1],r))}detach(t){const n=this._adjustIndex(t,-1),r=Xi(this._lContainer,n);return r&&null!=oa(Zf(this._lContainer),n)?new Ji(r):null}_adjustIndex(t,n=0){return t??this.length+n}}function X_(e){return e[8]}function Zf(e){return e[8]||(e[8]=[])}function J_(e,t){let n;const r=t[e.index];return Je(r)?n=r:(n=s_(r,t,null,e),t[e.index]=n,nf(t,n)),eC(n,t,e,r),new qf(n,e,t)}let eC=function nC(e,t,n,r){if(e[7])return;let o;o=8&n.type?Ve(r):function zR(e,t){const n=e[j],r=n.createComment(""),o=Ne(t,e),i=n.parentNode(o);return vr(n,i,r,n.nextSibling(o),!1),r}(t,n),e[7]=o};class Yf{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new Yf(this.queryList)}setDirty(){this.queryList.setDirty()}}class Kf{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,o=[];for(let i=0;i<r;i++){const s=n.getByIndex(i);o.push(this.queries[s.indexInDeclarationView].clone())}return new Kf(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==nh(t,n).matches&&this.queries[n].setDirty()}}class rC{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,this.predicate="string"==typeof t?function XR(e){return e.split(",").map(t=>t.trim())}(t):t}}class Xf{queries;constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){const o=null!==n?n.length:0,i=this.getByIndex(r).embeddedTView(t,o);i&&(i.indexInDeclarationView=r,null!==n?n.push(i):n=[i])}return null!==n?new Xf(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class Jf{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(t,n=-1){this.metadata=t,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new Jf(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1&~this.metadata.flags){const n=this._declarationNodeIndex;let r=t.parent;for(;null!==r&&8&r.type&&r.index!==n;)r=r.parent;return n===(null!==r?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){const i=r[o];this.matchTNodeWithReadOption(t,n,ZR(n,i)),this.matchTNodeWithReadOption(t,n,Ra(n,t,i,!1,!1))}else r===gn?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Ra(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const o=this.metadata.read;if(null!==o)if(o===Ft||o===Qt||o===gn&&4&n.type)this.addMatch(n.index,-2);else{const i=Ra(n,t,o,!1,!1);null!==i&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function ZR(e,t){const n=e.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function YR(e,t,n,r){return-1===n?function QR(e,t){return 11&e.type?wo(e,t):4&e.type?Dc(e,t):null}(t,e):-2===n?function KR(e,t,n){return n===Ft?wo(t,e):n===gn?Dc(t,e):n===Qt?J_(t,e):void 0}(e,t,r):Pi(e,e[1],n,t)}function oC(e,t,n,r){const o=t[18].queries[r];if(null===o.matches){const i=e.data,s=n.matches,a=[];for(let c=0;null!==s&&c<s.length;c+=2){const l=s[c];a.push(l<0?null:YR(t,i[l],s[c+1],n.metadata.read))}o.matches=a}return o.matches}function eh(e,t,n,r){const o=e.queries.getByIndex(n),i=o.matches;if(null!==i){const s=oC(e,t,o,n);for(let a=0;a<i.length;a+=2){const c=i[a];if(c>0)r.push(s[a/2]);else{const l=i[a+1],u=t[-c];for(let d=10;d<u.length;d++){const f=u[d];f[16]===f[3]&&eh(f[1],f,l,r)}if(null!==u[9]){const d=u[9];for(let f=0;f<d.length;f++){const h=d[f];eh(h[1],h,l,r)}}}}}return r}function sC(e,t,n){const r=H();return r.firstCreatePass&&(function cC(e,t,n){null===e.queries&&(e.queries=new Xf),e.queries.track(new Jf(t,n))}(r,new rC(e,t,n),-1),!(2&~t)&&(r.staticViewQueries=!0)),function iC(e,t,n){const r=new KN(!(4&~n));return function _0(e,t,n,r){const o=Em(t);o.push(n),e.firstCreatePass&&wm(e).push(r,o.length-1)}(e,t,r,r.destroy),(t[18]??=new Kf).queries.push(new Yf(r))-1}(r,m(),t)}function nh(e,t){return e.queries.getByIndex(t)}function lC(e,t){const n=e[1],r=nh(n,t);return r.crossesNgTemplate?eh(n,e,t,[]):oC(n,e,r,t)}let kr=class{},sF=class{};class ah extends kr{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new Y_(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;const i=function Ht(e){return ra(e),e[Zg]||null}(t);this._bootstrapComponents=function Zt(e){return e instanceof Function?e():e}(i.bootstrap),this._r3Injector=Wm(t,n,[{provide:kr,useValue:this},{provide:Ic,useValue:this.componentFactoryResolver},...r],wn(t),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class pC extends sF{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new ah(this.moduleType,t,[])}}class lF extends kr{injector;componentFactoryResolver=new Y_(this);instance=null;constructor(t){super();const n=new sr([...t.providers,{provide:kr,useValue:this},{provide:Ic,useValue:this.componentFactoryResolver}],t.parent||Su(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}let uF=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const r=bu(0,n.type),o=r.length>0?function gC(e,t,n=null){return new lF({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}([r],this._injector,""):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=G({token:e,providedIn:"environment",factory:()=>new e(q(Et))})}return e})();function kc(e){return pn(()=>{const t=yC(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Pa.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(uF).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Mt.Emulated,styles:e.styles||le,_:null,schemas:e.schemas||null,tView:null,id:""};t.standalone&&Ze("NgStandalone"),vC(n);const r=e.dependencies;return n.directiveDefs=xc(r,mC),n.pipeDefs=xc(r,kt),n.id=function pF(e){let t=0;const r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,"function"==typeof e.consts?"":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];for(const i of r.join("|"))t=Math.imul(31,t)+i.charCodeAt(0)|0;return t+=2147483648,"c"+t}(n),n})}function mC(e){return K(e)||Xe(e)}function Bn(e){return pn(()=>({type:e.type,bootstrap:e.bootstrap||le,declarations:e.declarations||le,imports:e.imports||le,exports:e.exports||le,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function dF(e,t){if(null==e)return $t;const n={};for(const r in e)if(e.hasOwnProperty(r)){const o=e[r];let i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=rc.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function fF(e){if(null==e)return $t;const t={};for(const n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function L(e){return pn(()=>{const t=yC(e);return vC(t),t})}function yC(e){const t={};return{type:e.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||$t,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:!0===e.signals,selectors:e.selectors||le,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,inputs:dF(e.inputs,t),outputs:fF(e.outputs),debugInfo:null}}function vC(e){e.features?.forEach(t=>t(e))}function xc(e,t){return e?()=>{const n="function"==typeof e?e():e,r=[];for(const o of n){const i=t(o);null!==i&&r.push(i)}return r}:null}function Y(e){let t=function DF(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let o;if(Ot(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new D(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);const s=e;s.inputs=lh(e.inputs),s.declaredInputs=lh(e.declaredInputs),s.outputs=lh(e.outputs);const a=o.hostBindings;a&&wF(e,a);const c=o.viewQuery,l=o.contentQueries;if(c&&bF(e,c),l&&EF(e,l),_F(e,o),RT(e.outputs,o.outputs),Ot(o)&&o.data.animation){const u=e.data;u.animation=(u.animation||[]).concat(o.data.animation)}}const i=o.features;if(i)for(let s=0;s<i.length;s++){const a=i[s];a&&a.ngInherit&&a(e),a===Y&&(n=!1)}}t=Object.getPrototypeOf(t)}!function CF(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Eo(o.hostAttrs,n=Eo(n,o.hostAttrs))}}(r)}function _F(e,t){for(const n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;const r=t.inputs[n];void 0!==r&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n])}}function lh(e){return e===$t?{}:e===le?[]:e}function bF(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function EF(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,i)=>{t(r,o,i),n(r,o,i)}:t}function wF(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}function Or(e,t,n,r,o,i,s,a){const c=m(),l=H();return function MF(e,t,n,r,o,i,s,a,c,l,u){const d=n+x;let f;t.firstCreatePass?(f=Ir(t,d,4,s||null,a||null),Bu()&&F_(t,e,f,We(t.consts,l),wf),ky(t,f)):f=t.data[d],function EC(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=Eo(e.mergedAttrs,e.attrs);const u=e.tView=ef(2,e,o,i,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);null!==n.queries&&(n.queries.template(n,e),u.queries=n.queries.embeddedTView(e))}a&&(e.flags|=a),ln(e,!1);const c=MC(n,t,e,r);ya()&&Df(n,t,c,e),st(c,t);const l=s_(c,t,c,e);t[r+x]=l,nf(t,l)}(f,e,t,n,r,o,i,c),lo(f)&&fc(t,e,f),null!=l&&Ro(e,f,u)}(c,l,e,t,n,r,o,We(l.consts,i),void 0,s,a),Or}let MC=function IC(e,t,n,r){return wi(!0),t[j].createComment("")};function jC(e){return function gh(e){return"function"==typeof e&&void 0!==e[Ce]}(e)&&"function"==typeof e.set}const tb=new I(""),nb=new I("");let vh,yh=(()=>{class e{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(n,r,o){this._ngZone=n,this.registry=r,Nu()&&(this._destroyRef=N(hn,{optional:!0})??void 0),vh||(function RP(e){vh=e}(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this._taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){const n=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),r=this._ngZone.runOutsideAngular(()=>this._ngZone.onStable.subscribe({next:()=>{he.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}}));this._destroyRef?.onDestroy(()=>{n.unsubscribe(),r.unsubscribe()})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1))}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n()},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!this._taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}static \u0275fac=function(r){return new(r||e)(q(he),q(OP),q(nb))};static \u0275prov=G({token:e,factory:e.\u0275fac})}return e})(),OP=(()=>{class e{_applications=new Map;registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return vh?.findTestabilityInTree(this,n,r)??null}static \u0275fac=function(r){return new(r||e)};static \u0275prov=G({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function jc(e){return!!e&&"function"==typeof e.then}function rb(e){return!!e&&"function"==typeof e.subscribe}const ob=new I("");let ib=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=N(ob,{optional:!0})??[];injector=N(yt);constructor(){}runInitializers(){if(this.initialized)return;const n=[];for(const o of this.appInits){const i=fm(this.injector,o);if(jc(i))n.push(i);else if(rb(i)){const s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=G({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const FP=new I("");function sb(e,t){return Array.isArray(t)?t.reduce(sb,e):{...e,...t}}let Hn=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=N(Tn);afterRenderManager=N(kD);zonelessEnabled=N(Yu);rootEffectScheduler=N(Jm);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new Jr;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=N(hr);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(rd(n=>!n))}constructor(){N(xo,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=N(Et);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=yt.NULL){return this._injector.get(he).run(()=>{te(S.BootstrapComponentStart);const s=n instanceof O_;if(!this._injector.get(ib).done)throw new D(405,"");let c;c=s?n:this._injector.get(Ic).resolveComponentFactory(n),this.componentTypes.push(c.componentType);const l=function LP(e){return e.isBoundToModule}(c)?void 0:this._injector.get(kr),d=c.create(o,[],r||c.selector,l),f=d.location.nativeElement,h=d.injector.get(tb,null);return h?.registerApplication(f),d.onDestroy(()=>{this.detachView(d.hostView),Hc(this.components,d),h?.unregisterApplication(f)}),this._loadComponent(d),te(S.BootstrapComponentEnd,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){te(S.ChangeDetectionStart),null!==this.tracingSnapshot?this.tracingSnapshot.run(ff.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw te(S.ChangeDetectionEnd),new D(101,!1);const n=A(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,A(n),this.afterTick.next(),te(S.ChangeDetectionEnd)}};synchronize(){null===this._rendererFactory&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Vf,null,{optional:!0}));let n=0;for(;0!==this.dirtyFlags&&n++<10;){te(S.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{te(S.ChangeDetectionSyncEnd)}}}synchronizeOnce(){16&this.dirtyFlags&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!1;if(7&this.dirtyFlags){const r=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews)(r||ha(o))&&(vc(o,r&&!this.zonelessEnabled?0:1),n=!0);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),23&this.dirtyFlags)return}n||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:n})=>ha(n))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Hc(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(n),this._injector.get(FP,[]).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._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Hc(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new D(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=G({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Hc(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function St(e,t,n,r){const o=m();return pe(o,ot(),t)&&(H(),function Wx(e,t,n,r,o,i){const s=Ne(e,t);!function hc(e,t,n,r,o,i,s){if(null==i)e.removeAttribute(t,o,n);else{const a=null==s?B(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}(t[j],s,i,e.value,n,r,o)}(Rt(),o,e,t,n,r)),St}function ye(e,t,n){const r=m();return pe(r,ot(),t)&&(H(),bf(Rt(),r,e,t,r[j],n)),ye}function Ah(e,t,n,r,o){mc(t,e,n,o?"class":"style",r)}function E(e,t,n,r){const o=m(),i=o[1],s=e+x,a=i.firstCreatePass?Hf(s,o,2,t,wf,Bu(),n,r):i.data[s];if(Ut(a)){const c=o[10].tracingService;if(c&&c.componentCreate)return c.componentCreate(zf(i.data[a.directiveStart+a.componentOffset]),()=>(Db(e,t,o,a,r),E))}return Db(e,t,o,a,r),E}function Db(e,t,n,r,o){if(function pc(e,t,n,r,o){const i=x+n,s=t[1],a=o(s,t,e,r,n);t[i]=a,ln(e,!0);const c=2===e.type;return c?(pD(t[j],a,e),(0===function C0(){return F.lFrame.elementDepthCount}()||lo(e))&&st(a,t),function b0(){F.lFrame.elementDepthCount++}()):st(a,t),ya()&&(!c||!Ua(e))&&Df(s,t,a,e),e}(r,n,e,t,xh),lo(r)){const i=n[1];fc(i,n,r),$d(i,r,n)}null!=o&&Ro(n,r)}function C(){const e=H(),n=gc(V());return e.firstCreatePass&&$f(e,n),function Sm(e){return F.skipHydrationRootTNode===e}(n)&&function Tm(){F.skipHydrationRootTNode=null}(),function Mm(){F.lFrame.elementDepthCount--}(),null!=n.classesWithoutHost&&function kN(e){return!!(8&e.flags)}(n)&&Ah(e,n,m(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function xN(e){return!!(16&e.flags)}(n)&&Ah(e,n,m(),n.stylesWithoutHost,!1),C}function ut(e,t,n,r){return E(e,t,n,r),C(),ut}let xh=(e,t,n,r,o)=>(wi(!0),ec(t[j],r,function R0(){return F.lFrame.currentNamespace}()));const qc="en-US";let Ab=qc;function J(e,t,n){const r=m(),o=H(),i=V();return Vh(o,r,r[j],i,e,t,n),J}function Vh(e,t,n,r,o,i,s){let a=!0,c=null;if((3&r.type||s)&&(c??=Vn(r,t,i),function Gf(e,t,n,r,o,i,s,a){const c=lo(e);let l=!1,u=null;if(!r&&c&&(u=function ER(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;i<o.length-1;i+=2){const s=o[i];if(s===n&&o[i+1]===r){const a=t[7],c=o[i+2];return a&&a.length>c?a[c]:null}"string"==typeof s&&(i+=2)}return null}(t,n,i,e.index)),null!==u)(u.__ngLastListenerFn__||u).__ngNextListenerFn__=s,u.__ngLastListenerFn__=s,l=!0;else{const d=Ne(e,n),f=r?r(d):d,h=o.listen(f,i,a);(function bR(e){return e.startsWith("animation")||e.startsWith("transition")})(i)||$_(r?g=>r(Ve(g[e.index])):e.index,t,n,i,a,h,!1)}return l}(r,e,t,s,n,o,i,c)&&(a=!1)),a){const l=r.outputs?.[o],u=r.hostDirectiveOutputs?.[o];if(u&&u.length)for(let d=0;d<u.length;d+=2){const f=u[d],h=u[d+1];c??=Vn(r,t,i),$o(r,t,f,h,o,c)}if(l&&l.length)for(const d of l)c??=Vn(r,t,i),$o(r,t,d,o,o,c)}}function Vr(e=1){return function A0(e){return(F.lFrame.contextLView=function bm(e,t){for(;e>0;)t=t[14],e--;return t}(e,F.lFrame.contextLView))[8]}(e)}function Bh(e,t,n){return sC(e,t,n),Bh}function Xc(e,t){return e<<17|t<<2}function Br(e){return e>>17&32767}function jh(e){return 2|e}function Yo(e){return(131068&e)>>2}function Hh(e,t){return-131069&e|t<<2}function $h(e){return 1|e}function tE(e,t,n,r){const o=e[n+1],i=null===t;let s=r?Br(o):Yo(o),a=!1;for(;0!==s&&(!1===a||i);){const l=e[s+1];$V(e[s],t)&&(a=!0,e[s+1]=r?$h(l):jh(l)),s=r?Br(l):Yo(l)}a&&(e[n+1]=r?jh(o):$h(o))}function $V(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&_i(e,t)>=0}function yn(e,t,n){return cE(e,t,n,!1),yn}function Xo(e,t){return cE(e,t,null,!0),Xo}function cE(e,t,n,r){const o=m(),i=H(),s=dn(2);i.firstUpdatePass&&function dE(e,t,n,r){const o=e.data;if(null===o[n+1]){const i=o[je()],s=function uE(e,t){return t>=e.expandoStartIndex}(e,n);(function gE(e,t){return!!(e.flags&(t?8:16))})(i,r)&&null===t&&!s&&(t=!1),t=function JV(e,t,n,r){const o=function Hu(e){const t=F.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let i=r?t.residualClasses:t.residualStyles;if(null===o)0===(r?t.classBindings:t.styleBindings)&&(n=Cs(n=Uh(null,e,t,n,r),t.attrs,r),i=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==o)if(n=Uh(o,e,t,n,r),null===i){let c=function e2(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Yo(r))return e[Br(r)]}(e,t,r);void 0!==c&&Array.isArray(c)&&(c=Uh(null,e,t,c[1],r),c=Cs(c,t.attrs,r),function t2(e,t,n,r){e[Br(n?t.classBindings:t.styleBindings)]=r}(e,t,r,c))}else i=function n2(e,t,n){let r;const o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++)r=Cs(r,e[i].hostAttrs,n);return Cs(r,t.attrs,n)}(e,t,r)}return void 0!==i&&(r?t.residualClasses=i:t.residualStyles=i),n}(o,i,t,r),function jV(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Br(s),c=Yo(s);e[r]=n;let u,l=!1;if(Array.isArray(n)?(u=n[1],(null===u||_i(n,u)>0)&&(l=!0)):u=n,o)if(0!==c){const f=Br(e[a+1]);e[r+1]=Xc(f,a),0!==f&&(e[f+1]=Hh(e[f+1],r)),e[a+1]=function VV(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=Xc(a,0),0!==a&&(e[a+1]=Hh(e[a+1],r)),a=r;else e[r+1]=Xc(c,0),0===a?a=r:e[c+1]=Hh(e[c+1],r),c=r;l&&(e[r+1]=jh(e[r+1])),tE(e,u,r,!0),tE(e,u,r,!1),function HV(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&_i(i,t)>=0&&(n[r+1]=$h(n[r+1]))}(t,u,e,r,i),s=Xc(a,c),i?t.classBindings=s:t.styleBindings=s}(o,i,t,n,s,r)}}(i,e,s,r),t!==X&&pe(o,s,t)&&function hE(e,t,n,r,o,i,s,a){if(!(3&t.type))return;const c=e.data,l=c[a+1],u=function BV(e){return!(1&~e)}(l)?pE(c,t,n,o,Yo(l),s):void 0;Jc(u)||(Jc(i)||function LV(e){return!(2&~e)}(l)&&(i=pE(c,null,n,o,a,s)),function Vx(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=-1===r.indexOf("-")?void 0:Pn.DashCase;null==o?e.removeStyle(n,r,i):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Pn.Important),e.setStyle(n,r,o,i))}}(r,s,uo(je(),n),o,i))}(i,i.data[je()],o,o[j],e,o[s+1]=function s2(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=wn(function Rn(e){return e instanceof tD?e.changingThisBreaksApplicationSecurity:e}(e)))),e}(t,n),r,s)}function Uh(e,t,n,r,o){let i=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<s&&(i=t[a],r=Cs(r,i.hostAttrs,o),i!==e);)a++;return null!==e&&(n.directiveStylingLast=a),r}function Cs(e,t,n){const r=n?1:2;let o=-1;if(null!==t)for(let i=0;i<t.length;i++){const s=t[i];"number"==typeof s?o=s:o===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),sa(e,s,!!n||t[++i]))}return void 0===e?null:e}function pE(e,t,n,r,o,i){const s=null===t;let a;for(;o>0;){const c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=null===u;let f=n[o+1];f===X&&(f=d?le:void 0);let h=d?_u(f,r):u===r?f:void 0;if(l&&!Jc(h)&&(h=_u(c,r)),Jc(h)&&(a=h,s))return a;const p=e[o+1];o=s?Br(p):Yo(p)}if(null!==t){let c=i?t.residualClasses:t.residualStyles;null!=c&&(a=_u(c,r))}return a}function Jc(e){return void 0!==e}function M(e,t=""){const n=m(),r=H(),o=e+x,i=r.firstCreatePass?Ir(r,o,1,t,null):r.data[o],s=mE(r,n,i,t);n[o]=s,ya()&&Df(r,n,s,i),ln(i,!1)}let mE=(e,t,n,r)=>(wi(!0),function Kd(e,t){return e.createText(t)}(t[j],r));function DE(e,t,n,r,o,i=""){const a=function Ar(e,t,n,r){const o=pe(e,t,n);return pe(e,t+1,r)||o}(e,function un(){return F.lFrame.bindingIndex}(),n,o);return dn(2),a?t+B(n)+r+B(o)+i:X}function Yt(e){return Vt("",e),Yt}function Vt(e,t,n){const r=m(),o=function vE(e,t,n,r=""){return pe(e,ot(),n)?t+B(n)+r:X}(r,e,t,n);return o!==X&&vn(r,je(),o),Vt}function Gh(e,t,n,r,o){const i=m(),s=DE(i,e,t,n,r,o);return s!==X&&vn(i,je(),s),Gh}function vn(e,t,n){const r=uo(t,e);!function uD(e,t,n){e.setValue(t,n)}(e[j],r,n)}function Dn(e,t,n){jC(t)&&(t=t());const r=m();return pe(r,ot(),t)&&(H(),bf(Rt(),r,e,t,r[j],n)),Dn}function Un(e,t){const n=jC(e);return n&&e.set(t),n}function _n(e,t){const n=m(),r=H(),o=V();return Vh(r,n,n[j],o,e,t),_n}function FE(e,t,n){const r=H();r.firstCreatePass&&PE(t,r.data,r.blueprint,Ot(e),n)}function PE(e,t,n,r,o){if(e=$(e),Array.isArray(e))for(let i=0;i<e.length;i++)PE(e[i],t,n,r,o);else{const i=H(),s=m(),a=V();let c=nn(e)?e:$(e.provide);const l=dm(e),u=1048575&a.providerIndexes,d=a.directiveStart,f=a.providerIndexes>>20;if(nn(e)||!e.multi){const h=new Oi(l,o,b,null),p=Wh(c,t,o?u:u+f,d);-1===p?(yd(xa(a,s),i,c),zh(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(h),s.push(h)):(n[p]=h,s[p]=h)}else{const h=Wh(c,t,u+f,d),p=Wh(c,t,u,u+f),v=p>=0&&n[p];if(o&&!v||!o&&!(h>=0&&n[h])){yd(xa(a,s),i,c);const w=function w2(e,t,n,r,o){const s=new Oi(e,n,b,null);return s.multi=[],s.index=t,s.componentProviders=0,LE(s,o,r&&!n),s}(o?E2:b2,n.length,o,r,l);!o&&v&&(n[p].providerFactory=w),zh(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(w),s.push(w)}else zh(i,e,h>-1?h:p,LE(n[o?p:h],l,!o&&r));!o&&r&&v&&n[p].componentProviders++}}}function zh(e,t,n,r){const o=nn(t),i=function lm(e){return!!e.useClass}(t);if(o||i){const c=(i?$(t.useClass):t).prototype.ngOnDestroy;if(c){const l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const u=l.indexOf(n);-1===u?l.push(n,[r,c]):l[u+1].push(r,c)}else l.push(n,c)}}}function LE(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Wh(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function b2(e,t,n,r,o){return qh(this.multi,[])}function E2(e,t,n,r,o){const i=this.multi;let s;if(this.providerFactory){const a=this.providerFactory.componentProviders,c=Pi(r,r[1],this.providerFactory.index,o);s=c.slice(0,a),qh(i,s);for(let l=a;l<c.length;l++)s.push(c[l])}else s=[],qh(i,s);return s}function qh(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function me(e,t){return n=>{n.providersResolver=(r,o)=>FE(r,o?o(e):e,!1),t&&(n.viewProvidersResolver=(r,o)=>FE(r,o?o(t):t,!0))}}let CB=(()=>{class e{applicationErrorHandler=N(Tn);appRef=N(Hn);taskService=N(hr);ngZone=N(he);zonelessEnabled=N(Yu);tracing=N(xo,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new Ct;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Da):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(N(Y0,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{const n=this.taskService.add();this.runningTick||(this.cleanup(),this.zonelessEnabled&&!this.appRef.includeAllTestViews)?(this.switchToMicrotaskScheduler(),this.taskService.remove(n)):this.taskService.remove(n)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{const n=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})})}notify(n){if(!this.zonelessEnabled&&5===n)return;switch(n){case 0:case 6:case 13:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 12:this.appRef.dirtyFlags|=16;break;case 11:break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;const r=this.useMicrotaskScheduler?B0:Zm;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>r(()=>this.tick())):this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Da+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(0===this.appRef.dirtyFlags)return void this.cleanup();!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.applicationErrorHandler(r)}finally{this.taskService.remove(n),this.cleanup()}}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=G({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const zn=new I("",{factory:()=>N(zn,{optional:!0,skipSelf:!0})||function bB(){return typeof $localize<"u"&&$localize.locale||qc}()}),ul=new I(""),SH=new I("");function Ns(e){return!e.moduleRef}let iM;function sM(){iM=TH}function TH(e,t){const n=e.injector.get(Hn);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else{if(!e.instance.ngDoBootstrap)throw new D(-403,!1);e.instance.ngDoBootstrap(n)}t.push(e)}let aM=(()=>{class e{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(n){this._injector=n}bootstrapModuleFactory(n,r){const o=[[{provide:go,useExisting:CB},{provide:he,useClass:G0},{provide:Yu,useValue:!0}],...r?.applicationProviders??[],q0],i=function cF(e,t,n){return new ah(e,t,n,!1)}(n.moduleType,this.injector,o);return sM(),function oM(e){const t=Ns(e)?e.r3Injector:e.moduleRef.injector,n=t.get(he);return n.run(()=>{Ns(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();const r=t.get(Tn);let o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),Ns(e)){const i=()=>t.destroy(),s=e.platformInjector.get(ul);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{const i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(ul);s.add(i),e.moduleRef.onDestroy(()=>{Hc(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return function AH(e,t,n){try{const r=n();return jc(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}(r,n,()=>{const i=t.get(hr),s=i.add(),a=t.get(ib);return a.runInitializers(),a.donePromise.then(()=>{if(function QL(e){"string"==typeof e&&(Ab=e.toLowerCase().replace(/_/g,"-"))}(t.get(zn,qc)||qc),!t.get(SH,!0))return Ns(e)?t.get(Hn):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Ns(e)){const u=t.get(Hn);return void 0!==e.rootComponent&&u.bootstrap(e.rootComponent),u}return iM?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}({moduleRef:i,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(n,r=[]){const o=sb({},r);return sM(),function DH(e,t,n){const r=new pC(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new D(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(ul,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static \u0275fac=function(r){return new(r||e)(q(yt))};static \u0275prov=G({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),si=null;function cM(e,t,n=[]){const r=`Platform: ${t}`,o=new I(r);return(i=[])=>{let s=dl();if(!s){const a=[...n,...i,{provide:o,useValue:!0}];s=e?.(a)??function NH(e){if(dl())throw new D(400,!1);(function PP(){!function fT(e){kg=e}(()=>{throw new D(600,"")})})(),si=e;const t=e.get(aM);return function uM(e){const t=e.get(yv,null);fm(e,()=>{t?.forEach(n=>n())})}(e),t}(function lM(e=[],t){return yt.create({name:t,providers:[{provide:Mu,useValue:"platform"},{provide:ul,useValue:new Set([()=>si=null])},...e]})}(a,r))}return function kH(){const t=dl();if(!t)throw new D(-401,!1);return t}()}}function dl(){return si?.get(aM)??null}let up=(()=>class e{static __NG_ELEMENT_ID__=WH})();function WH(e){return function qH(e,t,n){if(Ut(e)&&!n){const r=et(e.index,t);return new Ji(r,r)}return 175&e.type?new Ji(t[15],t):null}(V(),m(),!(16&~e))}class vM{supports(t){return Ac(t)}create(t){return new QH(t)}}const ZH=(e,t)=>t;class QH{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(t){this._trackByFn=t||ZH}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){const s=!r||n&&n.currentIndex<_M(r,o,i)?n:r,a=_M(s,o,i),c=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(n=n._next,null==s.previousIndex)o++;else{i||(i=[]);const l=a-o,u=c-o;if(l!=u){for(let f=0;f<l;f++){const h=f<i.length?i[f]:i[f]=0,p=h+f;u<=p&&p<l&&(i[f]=h+1)}i[s.previousIndex]=u-l}}a!==c&&t(s,a,c)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!Ac(t))throw new D(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let o,i,s,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[a],s=this._trackByFn(a,i),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,i,s,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)):(n=this._mismatch(n,i,s,a),r=!0),n=n._next}else o=0,function _R(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Symbol.iterator]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,a=>{s=this._trackByFn(o,a),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,s,o),r=!0),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new YH(n,r),i,o),t}_verifyReinsertion(t,n,r,o){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const o=t._prevRemoved,i=t._nextRemoved;return null===o?this._removalsHead=i:o._nextRemoved=i,null===i?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new DM),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new DM),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class YH{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(t,n){this.item=t,this.trackById=n}}class KH{_head=null;_tail=null;add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class DM{map=new Map;put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new KH,this.map.set(n,r)),r.add(t)}get(t,n){const o=this.map.get(t);return o?o.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function _M(e,t,n){const r=e.previousIndex;if(null===r)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}function bM(){return new dp([new vM])}let dp=(()=>{class e{factories;static \u0275prov=G({token:e,providedIn:"root",factory:bM});constructor(n){this.factories=n}static create(n,r){if(null!=r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:()=>{const r=N(e,{optional:!0,skipSelf:!0});return e.create(n,r||bM())}}}find(n){const r=this.factories.find(o=>o.supports(n));if(null!=r)return r;throw new D(901,!1)}}return e})();const n$=cM(null,"core",[]);let r$=(()=>{class e{constructor(n){}static \u0275fac=function(r){return new(r||e)(q(Hn))};static \u0275mod=Bn({type:e});static \u0275inj=tn({})}return e})();function xe(e){return function E$(e){const t=A(null);try{return e()}finally{A(t)}}(e)}function Tt(e,t){return function lT(e,t){const n=Object.create(uT);n.computation=e,void 0!==t&&(n.equal=t);const r=()=>{if(fi(n),Xn(n),n.value===en)throw n.error;return n.value};return r[Ce]=n,r}(e,t?.equal)}Error,Error;class I3{$implicit;ngForOf;index;count;constructor(t,n,r,o){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=o}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 Sp=(()=>{class e{_viewContainer;_template;_differs;set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(n,r,o){this._viewContainer=n,this._template=r,this._differs=o}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){const n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){const r=this._viewContainer;n.forEachOperation((o,i,s)=>{if(null==o.previousIndex)r.createEmbeddedView(this._template,new I3(o.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)r.remove(null===i?void 0:i);else if(null!==i){const a=r.get(i);r.move(a,s),QM(a,o)}});for(let o=0,i=r.length;o<i;o++){const a=r.get(o).context;a.index=o,a.count=i,a.ngForOf=this._ngForOf}n.forEachIdentityChange(o=>{QM(r.get(o.currentIndex),o)})}static ngTemplateContextGuard(n,r){return!0}static \u0275fac=function(r){return new(r||e)(b(Qt),b(gn),b(dp))};static \u0275dir=L({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function QM(e,t){e.context.$implicit=t.item}class Tp{_viewContainerRef;_templateRef;_created=!1;constructor(t,n){this._viewContainerRef=t,this._templateRef=n}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}let Sl=(()=>{class e{_defaultViews=[];_defaultUsed=!1;_caseCount=0;_lastCaseCheckIndex=0;_lastCasesMatched=!1;_ngSwitch;set ngSwitch(n){this._ngSwitch=n,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(n){this._defaultViews.push(n)}_matchCase(n){const r=n===this._ngSwitch;return this._lastCasesMatched||=r,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),r}_updateDefaultCases(n){if(this._defaultViews.length>0&&n!==this._defaultUsed){this._defaultUsed=n;for(const r of this._defaultViews)r.enforceState(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275dir=L({type:e,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}})}return e})(),KM=(()=>{class e{ngSwitch;_view;ngSwitchCase;constructor(n,r,o){this.ngSwitch=o,o._addCase(),this._view=new Tp(n,r)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static \u0275fac=function(r){return new(r||e)(b(Qt),b(gn),b(Sl,9))};static \u0275dir=L({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}})}return e})(),XM=(()=>{class e{constructor(n,r,o){o._addDefault(new Tp(n,r))}static \u0275fac=function(r){return new(r||e)(b(Qt),b(gn),b(Sl,9))};static \u0275dir=L({type:e,selectors:[["","ngSwitchDefault",""]]})}return e})(),K3=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Bn({type:e});static \u0275inj=tn({})}return e})();class tI{_doc;constructor(t){this._doc=t}manager}let xp=(()=>{class e extends tI{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o,i){return n.addEventListener(r,o,i),()=>this.removeEventListener(n,r,o,i)}removeEventListener(n,r,o,i){return n.removeEventListener(r,o,i)}static \u0275fac=function(r){return new(r||e)(q(fn))};static \u0275prov=G({token:e,factory:e.\u0275fac})}return e})();const Op=new I("");let nI=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(n,r){this._zone=r,n.forEach(s=>{s.manager=this});const o=n.filter(s=>!(s instanceof xp));this._plugins=o.slice().reverse();const i=n.find(s=>s instanceof xp);i&&this._plugins.push(i)}addEventListener(n,r,o,i){return this._findPluginFor(r).addEventListener(n,r,o,i)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new D(5101,!1);return this._eventNameToPlugin.set(n,r),r}static \u0275fac=function(r){return new(r||e)(q(Op),q(he))};static \u0275prov=G({token:e,factory:e.\u0275fac})}return e})();const Rp="ng-app-id";function rI(e){for(const t of e)t.remove()}function oI(e,t){const n=t.createElement("style");return n.textContent=e,n}function Fp(e,t){const n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}let iI=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,function X3(e,t,n,r){const o=e.head?.querySelectorAll(`style[${Rp}="${t}"],link[${Rp}="${t}"]`);if(o)for(const i of o)i.removeAttribute(Rp),i instanceof HTMLLinkElement?r.set(i.href.slice(i.href.lastIndexOf("/")+1),{usage:0,elements:[i]}):i.textContent&&n.set(i.textContent,{usage:0,elements:[i]})}(n,r,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,r){for(const o of n)this.addUsage(o,this.inline,oI);r?.forEach(o=>this.addUsage(o,this.external,Fp))}removeStyles(n,r){for(const o of n)this.removeUsage(o,this.inline);r?.forEach(o=>this.removeUsage(o,this.external))}addUsage(n,r,o){const i=r.get(n);i?i.usage++:r.set(n,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,o(n,this.doc)))})}removeUsage(n,r){const o=r.get(n);o&&(o.usage--,o.usage<=0&&(rI(o.elements),r.delete(n)))}ngOnDestroy(){for(const[,{elements:n}]of[...this.inline,...this.external])rI(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(const[r,{elements:o}]of this.inline)o.push(this.addElement(n,oI(r,this.doc)));for(const[r,{elements:o}]of this.external)o.push(this.addElement(n,Fp(r,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),n.appendChild(r)}static \u0275fac=function(r){return new(r||e)(q(fn),q(Mo),q(Dv,8),q(vv))};static \u0275prov=G({token:e,factory:e.\u0275fac})}return e})();const Pp={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"},Lp=/%COMP%/g,oU=new I("",{factory:()=>!0});function aI(e,t){return t.map(n=>n.replace(Lp,e))}let cI=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(n,r,o,i,s,a,c=null,l=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.ngZone=a,this.nonce=c,this.tracingService=l,this.defaultRenderer=new Vp(n,s,a,this.tracingService)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;const o=this.getOrCreateRenderer(n,r);return o instanceof dI?o.applyToHost(n):o instanceof Bp&&o.applyStyles(),o}getOrCreateRenderer(n,r){const o=this.rendererByCompId;let i=o.get(r.id);if(!i){const s=this.doc,a=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.tracingService;switch(r.encapsulation){case Mt.Emulated:i=new dI(c,l,r,this.appId,u,s,a,d);break;case Mt.ShadowDom:return new uI(c,n,r,s,a,this.nonce,d,l);case Mt.ExperimentalIsolatedShadowDom:return new uI(c,n,r,s,a,this.nonce,d);default:i=new Bp(c,l,r,u,s,a,d)}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(n){this.rendererByCompId.delete(n)}static \u0275fac=function(r){return new(r||e)(q(nI),q(iI),q(Mo),q(oU),q(fn),q(he),q(Dv),q(xo,8))};static \u0275prov=G({token:e,factory:e.\u0275fac})}return e})();class Vp{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.tracingService=o}destroy(){}destroyNode=null;createElement(t,n){return n?this.doc.createElementNS(Pp[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(lI(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(lI(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){n.remove()}selectRootElement(t,n){let r="string"==typeof t?this.doc.querySelector(t):t;if(!r)throw new D(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;const i=Pp[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=Pp[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(Pn.DashCase|Pn.Important)?t.style.setProperty(n,r,o&Pn.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&Pn.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){null!=t&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r,o){if("string"==typeof t&&!(t=Ii().getGlobalEventTarget(this.doc,t)))throw new D(5102,!1);let i=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(i=this.tracingService.wrapEventListener(t,n,i)),this.eventManager.addEventListener(t,n,i,o)}decoratePreventDefault(t){return n=>{if("__ngUnwrap__"===n)return t;!1===t(n)&&n.preventDefault()}}}function lI(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class uI extends Vp{hostEl;sharedStylesHost;shadowRoot;constructor(t,n,r,o,i,s,a,c){super(t,o,i,a),this.hostEl=n,this.sharedStylesHost=c,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let l=r.styles;l=aI(r.id,l);for(const d of l){const f=document.createElement("style");s&&f.setAttribute("nonce",s),f.textContent=d,this.shadowRoot.appendChild(f)}const u=r.getExternalStyles?.();if(u)for(const d of u){const f=Fp(d,o);s&&f.setAttribute("nonce",s),this.shadowRoot.appendChild(f)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(null,n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}}class Bp extends Vp{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,n,r,o,i,s,a,c){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o;let l=r.styles;this.styles=c?aI(c,l):l,this.styleUrls=r.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&0===Er.size&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}}class dI extends Bp{contentAttr;hostAttr;constructor(t,n,r,o,i,s,a,c){const l=o+"-"+r.id;super(t,n,r,i,s,a,c,l),this.contentAttr=function iU(e){return"_ngcontent-%COMP%".replace(Lp,e)}(l),this.hostAttr=function sU(e){return"_nghost-%COMP%".replace(Lp,e)}(l)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){const r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}}class Hp extends oA{supportsDOMEvents=!0;static makeCurrent(){!function rA(e){ny??=e}(new Hp)}onAndCancel(t,n,r,o){return t.addEventListener(n,r,o),()=>{t.removeEventListener(n,r,o)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.remove()}createElement(t,n){return(n=n||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return"window"===n?window:"document"===n?t:"body"===n?t.body:null}getBaseHref(t){const n=function lU(){return Fs=Fs||document.head.querySelector("base"),Fs?Fs.getAttribute("href"):null}();return null==n?null:function uU(e){return new URL(e,document.baseURI).pathname}(n)}resetBaseElement(){Fs=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return function iA(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const r=n.indexOf("="),[o,i]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}(document.cookie,t)}}let Fs=null,fU=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=G({token:e,factory:e.\u0275fac})}return e})();const hI=["alt","control","meta","shift"],hU={"\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"},pU={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let gU=(()=>{class e extends tI{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,r,o,i){const s=e.parseEventName(r),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Ii().onAndCancel(n,s.domEventName,a,i))}static parseEventName(n){const r=n.toLowerCase().split("."),o=r.shift();if(0===r.length||"keydown"!==o&&"keyup"!==o)return null;const i=e._normalizeKey(r.pop());let s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),hI.forEach(l=>{const u=r.indexOf(l);u>-1&&(r.splice(u,1),s+=l+".")}),s+=i,0!=r.length||0===i.length)return null;const c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(n,r){let o=hU[n.key]||n.key,i="";return r.indexOf("code.")>-1&&(o=n.code,i="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),hI.forEach(s=>{s!==o&&(0,pU[s])(n)&&(i+=s+".")}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return"esc"===n?"escape":n}static \u0275fac=function(r){return new(r||e)(q(fn))};static \u0275prov=G({token:e,factory:e.\u0275fac})}return e})();const gI=[{provide:vv,useValue:"browser"},{provide:yv,useValue:function mU(){Hp.makeCurrent()},multi:!0},{provide:fn,useFactory:function vU(){return function bk(e){Id=e}(document),document}}],DU=cM(n$,"browser",gI),mI=[{provide:nb,useClass:class dU{addToWindow(t){be.getAngularTestability=(r,o=!0)=>{const i=t.findTestabilityInTree(r,o);if(null==i)throw new D(5103,!1);return i},be.getAllAngularTestabilities=()=>t.getAllTestabilities(),be.getAllAngularRootElements=()=>t.getAllRootElements(),be.frameworkStabilizers||(be.frameworkStabilizers=[]),be.frameworkStabilizers.push(r=>{const o=be.getAllAngularTestabilities();let i=o.length;const s=function(){i--,0==i&&r()};o.forEach(a=>{a.whenStable(s)})})}findTestabilityInTree(t,n,r){return null==n?null:t.getTestability(n)??(r?Ii().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}}},{provide:tb,useClass:yh},{provide:yh,useClass:yh}],yI=[{provide:Mu,useValue:"root"},{provide:Mi,useFactory:function yU(){return new Mi}},{provide:Op,useClass:xp,multi:!0},{provide:Op,useClass:gU,multi:!0},cI,iI,nI,{provide:Vf,useExisting:cI},{provide:class sA{},useClass:fU},[]];let _U=(()=>{class e{constructor(){}static \u0275fac=function(r){return new(r||e)};static \u0275mod=Bn({type:e});static \u0275inj=tn({providers:[...yI,...mI],imports:[K3,r$]})}return e})();function qn(e){return this instanceof qn?(this.v=e,this):new qn(e)}function CI(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,t=e[Symbol.asyncIterator];return t?t.call(e):(e=function Zp(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){!function o(i,s,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},s)}(a,c,(s=e[i](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const bI=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function EI(e){return Pe(e?.then)}function wI(e){return Pe(e[ou])}function MI(e){return Symbol.asyncIterator&&Pe(e?.[Symbol.asyncIterator])}function II(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 SI=function ZU(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function TI(e){return Pe(e?.[SI])}function AI(e){return function _I(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,r=n.apply(e,t||[]),i=[];return o=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",function s(h){return function(p){return Promise.resolve(p).then(h,d)}}),o[Symbol.asyncIterator]=function(){return this},o;function a(h,p){r[h]&&(o[h]=function(g){return new Promise(function(v,w){i.push([h,g,v,w])>1||c(h,g)})},p&&(o[h]=p(o[h])))}function c(h,p){try{!function l(h){h.value instanceof qn?Promise.resolve(h.value.v).then(u,d):f(i[0][2],h)}(r[h](p))}catch(g){f(i[0][3],g)}}function u(h){c("next",h)}function d(h){c("throw",h)}function f(h,p){h(p),i.shift(),i.length&&c(i[0][0],i[0][1])}}(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:o}=yield qn(n.read());if(o)return yield qn(void 0);yield yield qn(r)}}finally{n.releaseLock()}})}function NI(e){return Pe(e?.getReader)}function Tl(e){if(e instanceof ht)return e;if(null!=e){if(wI(e))return function QU(e){return new ht(t=>{const n=e[ou]();if(Pe(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(bI(e))return function YU(e){return new ht(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}(e);if(EI(e))return function KU(e){return new ht(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Bg)})}(e);if(MI(e))return kI(e);if(TI(e))return function XU(e){return new ht(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(NI(e))return function JU(e){return kI(AI(e))}(e)}throw II(e)}function kI(e){return new ht(t=>{(function e8(e,t){var n,r,o,i;return function vI(e,t,n,r){return new(n||(n=Promise))(function(i,s){function a(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?i(u.value):function o(i){return i instanceof n?i:new n(function(s){s(i)})}(u.value).then(a,c)}l((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=CI(e);!(r=yield n.next()).done;)if(t.next(r.value),t.closed)return}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})})(e,t).catch(n=>t.error(n))})}function Ur(e,t,n,r=0,o=!1){const i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function xI(e,t=0){return td((n,r)=>{n.subscribe(nd(r,o=>Ur(r,e,()=>r.next(o),t),()=>Ur(r,e,()=>r.complete(),t),o=>Ur(r,e,()=>r.error(o),t)))})}function OI(e,t=0){return td((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function RI(e,t){if(!e)throw new Error("Iterable cannot be null");return new ht(n=>{Ur(n,t,()=>{const r=e[Symbol.asyncIterator]();Ur(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}const{isArray:c8}=Array,{getPrototypeOf:l8,prototype:u8,keys:d8}=Object;const{isArray:m8}=Array;function D8(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function _8(...e){const t=function g8(e){return Pe(function Yp(e){return e[e.length-1]}(e))?e.pop():void 0}(e),{args:n,keys:r}=function f8(e){if(1===e.length){const t=e[0];if(c8(t))return{args:t,keys:null};if(function h8(e){return e&&"object"==typeof e&&l8(e)===u8}(t)){const n=d8(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}(e),o=new ht(i=>{const{length:s}=n;if(!s)return void i.complete();const a=new Array(s);let c=s,l=s;for(let u=0;u<s;u++){let d=!1;Tl(n[u]).subscribe(nd(i,f=>{d||(d=!0,l--),a[u]=f},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?D8(r,a):a),i.complete())}))}});return t?o.pipe(function v8(e){return rd(t=>function y8(e,t){return m8(t)?e(...t):e(t)}(e,t))}(t)):o}let FI=(()=>{class e{_renderer;_elementRef;onChange=n=>{};onTouched=()=>{};constructor(n,r){this._renderer=n,this._elementRef=r}setProperty(n,r){this._renderer.setProperty(this._elementRef.nativeElement,n,r)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}static \u0275fac=function(r){return new(r||e)(b(Tr),b(Ft))};static \u0275dir=L({type:e})}return e})(),Gr=(()=>{class e extends FI{static \u0275fac=(()=>{let n;return function(o){return(n||(n=Be(e)))(o||e)}})();static \u0275dir=L({type:e,features:[Y]})}return e})();const Kt=new I(""),C8={provide:Kt,useExisting:ie(()=>Kp),multi:!0};let Kp=(()=>{class e extends Gr{writeValue(n){this.setProperty("checked",n)}static \u0275fac=(()=>{let n;return function(o){return(n||(n=Be(e)))(o||e)}})();static \u0275dir=L({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(r,o){1&r&&J("change",function(s){return o.onChange(s.target.checked)})("blur",function(){return o.onTouched()})},standalone:!1,features:[me([C8]),Y]})}return e})();const b8={provide:Kt,useExisting:ie(()=>Al),multi:!0},w8=new I("");let Al=(()=>{class e extends FI{_compositionMode;_composing=!1;constructor(n,r,o){super(n,r),this._compositionMode=o,null==this._compositionMode&&(this._compositionMode=!function E8(){const e=Ii()?Ii().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(n){this.setProperty("value",n??"")}_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)}static \u0275fac=function(r){return new(r||e)(b(Tr),b(Ft),b(w8,8))};static \u0275dir=L({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(r,o){1&r&&J("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},standalone:!1,features:[me([b8]),Y]})}return e})();const Qe=new I(""),Zn=new I("");function GI(e){return null!=e}function zI(e){return jc(e)?function a8(e,t){return t?function s8(e,t){if(null!=e){if(wI(e))return function t8(e,t){return Tl(e).pipe(OI(t),xI(t))}(e,t);if(bI(e))return function r8(e,t){return new ht(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(EI(e))return function n8(e,t){return Tl(e).pipe(OI(t),xI(t))}(e,t);if(MI(e))return RI(e,t);if(TI(e))return function o8(e,t){return new ht(n=>{let r;return Ur(n,t,()=>{r=e[SI](),Ur(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){return void n.error(s)}i?n.complete():n.next(o)},0,!0)}),()=>Pe(r?.return)&&r.return()})}(e,t);if(NI(e))return function i8(e,t){return RI(AI(e),t)}(e,t)}throw II(e)}(e,t):Tl(e)}(e):e}function WI(e){let t={};return e.forEach(n=>{t=null!=n?{...t,...n}:t}),0===Object.keys(t).length?null:t}function qI(e,t){return t.map(n=>n(e))}function ZI(e){return e.map(t=>function I8(e){return!e.validate}(t)?t:n=>t.validate(n))}function eg(e){return null!=e?function QI(e){if(!e)return null;const t=e.filter(GI);return 0==t.length?null:function(n){return WI(qI(n,t))}}(ZI(e)):null}function tg(e){return null!=e?function YI(e){if(!e)return null;const t=e.filter(GI);return 0==t.length?null:function(n){return _8(qI(n,t).map(zI)).pipe(rd(WI))}}(ZI(e)):null}function KI(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function ng(e){return e?Array.isArray(e)?e:[e]:[]}function kl(e,t){return Array.isArray(e)?e.includes(t):e===t}function eS(e,t){const n=ng(t);return ng(e).forEach(o=>{kl(n,o)||n.push(o)}),n}function tS(e,t){return ng(t).filter(n=>!kl(e,n))}class nS{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}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=eg(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=tg(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t=void 0){this.control?.reset(t)}hasError(t,n){return!!this.control&&this.control.hasError(t,n)}getError(t,n){return this.control?this.control.getError(t,n):null}}class Ye extends nS{name;get formDirective(){return null}get path(){return null}}class Qn extends nS{_parent=null;name=null;valueAccessor=null}class rS{_cd;constructor(t){this._cd=t}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}}let oS=(()=>{class e extends rS{constructor(n){super(n)}static \u0275fac=function(r){return new(r||e)(b(Qn,2))};static \u0275dir=L({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,o){2&r&&Xo("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)},standalone:!1,features:[Y]})}return e})(),iS=(()=>{class e extends rS{constructor(n){super(n)}static \u0275fac=function(r){return new(r||e)(b(Ye,10))};static \u0275dir=L({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["","formArray",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(r,o){2&r&&Xo("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)},standalone:!1,features:[Y]})}return e})();const Ps="VALID",Ol="INVALID",ci="PENDING",Ls="DISABLED";class li{}class cS extends li{value;source;constructor(t,n){super(),this.value=t,this.source=n}}class ig extends li{pristine;source;constructor(t,n){super(),this.pristine=t,this.source=n}}class sg extends li{touched;source;constructor(t,n){super(),this.touched=t,this.source=n}}class Rl extends li{status;source;constructor(t,n){super(),this.status=t,this.source=n}}class lS extends li{source;constructor(t){super(),this.source=t}}class ag extends li{source;constructor(t){super(),this.source=t}}function cg(e){return(Fl(e)?e.validators:e)||null}function lg(e,t){return(Fl(t)?t.asyncValidators:e)||null}function Fl(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class ug{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(t,n){this._assignValidators(t),this._assignAsyncValidators(n)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get status(){return xe(this.statusReactive)}set status(t){xe(()=>this.statusReactive.set(t))}_status=Tt(()=>this.statusReactive());statusReactive=pr(void 0);get valid(){return this.status===Ps}get invalid(){return this.status===Ol}get pending(){return this.status===ci}get disabled(){return this.status===Ls}get enabled(){return this.status!==Ls}errors;get pristine(){return xe(this.pristineReactive)}set pristine(t){xe(()=>this.pristineReactive.set(t))}_pristine=Tt(()=>this.pristineReactive());pristineReactive=pr(!0);get dirty(){return!this.pristine}get touched(){return xe(this.touchedReactive)}set touched(t){xe(()=>this.touchedReactive.set(t))}_touched=Tt(()=>this.touchedReactive());touchedReactive=pr(!1);get untouched(){return!this.touched}_events=new Jr;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(eS(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(eS(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(tS(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(tS(t,this._rawAsyncValidators))}hasValidator(t){return kl(this._rawValidators,t)}hasAsyncValidator(t){return kl(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){const n=!1===this.touched;this.touched=!0;const r=t.sourceControl??this;t.onlySelf||this._parent?.markAsTouched({...t,sourceControl:r}),n&&!1!==t.emitEvent&&this._events.next(new sg(!0,r))}markAllAsDirty(t={}){this.markAsDirty({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:this}),this._forEachChild(n=>n.markAllAsDirty(t))}markAllAsTouched(t={}){this.markAsTouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:this}),this._forEachChild(n=>n.markAllAsTouched(t))}markAsUntouched(t={}){const n=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const r=t.sourceControl??this;this._forEachChild(o=>{o.markAsUntouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:r})}),t.onlySelf||this._parent?._updateTouched(t,r),n&&!1!==t.emitEvent&&this._events.next(new sg(!1,r))}markAsDirty(t={}){const n=!0===this.pristine;this.pristine=!1;const r=t.sourceControl??this;t.onlySelf||this._parent?.markAsDirty({...t,sourceControl:r}),n&&!1!==t.emitEvent&&this._events.next(new ig(!1,r))}markAsPristine(t={}){const n=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const r=t.sourceControl??this;this._forEachChild(o=>{o.markAsPristine({onlySelf:!0,emitEvent:t.emitEvent})}),t.onlySelf||this._parent?._updatePristine(t,r),n&&!1!==t.emitEvent&&this._events.next(new ig(!0,r))}markAsPending(t={}){this.status=ci;const n=t.sourceControl??this;!1!==t.emitEvent&&(this._events.next(new Rl(this.status,n)),this.statusChanges.emit(this.status)),t.onlySelf||this._parent?.markAsPending({...t,sourceControl:n})}disable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=Ls,this.errors=null,this._forEachChild(o=>{o.disable({...t,onlySelf:!0})}),this._updateValue();const r=t.sourceControl??this;!1!==t.emitEvent&&(this._events.next(new cS(this.value,r)),this._events.next(new Rl(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:n},this),this._onDisabledChange.forEach(o=>o(!0))}enable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=Ps,this._forEachChild(r=>{r.enable({...t,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...t,skipPristineCheck:n},this),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(t,n){t.onlySelf||(this._parent?.updateValueAndValidity(t),t.skipPristineCheck||this._parent?._updatePristine({},n),this._parent?._updateTouched({},n))}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const r=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ps||this.status===ci)&&this._runAsyncValidator(r,t.emitEvent)}const n=t.sourceControl??this;!1!==t.emitEvent&&(this._events.next(new cS(this.value,n)),this._events.next(new Rl(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),t.onlySelf||this._parent?.updateValueAndValidity({...t,sourceControl:n})}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Ls:Ps}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t,n){if(this.asyncValidator){this.status=ci,this._hasOwnPendingAsyncValidator={emitEvent:!1!==n,shouldHaveEmitted:!1!==t};const r=zI(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(o=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(o,{emitEvent:n,shouldHaveEmitted:t})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const t=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,t}return!1}setErrors(t,n={}){this.errors=t,this._updateControlsErrors(!1!==n.emitEvent,this,n.shouldHaveEmitted)}get(t){let n=t;return null==n||(Array.isArray(n)||(n=n.split(".")),0===n.length)?null:n.reduce((r,o)=>r&&r._find(o),this)}getError(t,n){const r=n?this.get(n):this;return r?.errors?r.errors[t]:null}hasError(t,n){return!!this.getError(t,n)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t,n,r){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),(t||r)&&this._events.next(new Rl(this.status,n)),this._parent&&this._parent._updateControlsErrors(t,n,r)}_initObservables(){this.valueChanges=new ue,this.statusChanges=new ue}_calculateStatus(){return this._allControlsDisabled()?Ls:this.errors?Ol:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ci)?ci:this._anyControlsHaveStatus(Ol)?Ol:Ps}_anyControlsHaveStatus(t){return this._anyControls(n=>n.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t,n){const r=!this._anyControlsDirty(),o=this.pristine!==r;this.pristine=r,t.onlySelf||this._parent?._updatePristine(t,n),o&&this._events.next(new ig(this.pristine,n))}_updateTouched(t={},n){this.touched=this._anyControlsTouched(),this._events.next(new sg(this.touched,n)),t.onlySelf||this._parent?._updateTouched(t,n)}_onDisabledChange=[];_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){Fl(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!!this._parent?.dirty&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=function O8(e){return Array.isArray(e)?eg(e):e||null}(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=function R8(e){return Array.isArray(e)?tg(e):e||null}(this._rawAsyncValidators)}}class dg extends ug{constructor(t,n,r){super(cg(n),lg(r,n)),this.controls=t,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(t,n){return this.controls[t]?this.controls[t]:(this.controls[t]=n,n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange),n)}addControl(t,n,r={}){this.registerControl(t,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(t,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}setControl(t,n,r={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],n&&this.registerControl(t,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,n={}){(function dS(e,t,n){e._forEachChild((r,o)=>{if(void 0===n[o])throw new D(1002,"")})})(this,0,t),Object.keys(t).forEach(r=>{(function uS(e,t,n){const r=e.controls;if(!(t?Object.keys(r):r).length)throw new D(1e3,"");if(!r[n])throw new D(1001,"")})(this,!0,r),this.controls[r].setValue(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(t,n={}){null!=t&&(Object.keys(t).forEach(r=>{const o=this.controls[r];o&&o.patchValue(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(t={},n={}){this._forEachChild((r,o)=>{r.reset(t?t[o]:null,{...n,onlySelf:!0})}),this._updatePristine(n,this),this._updateTouched(n,this),this.updateValueAndValidity(n),!1!==n?.emitEvent&&this._events.next(new ag(this))}getRawValue(){return this._reduceChildren({},(t,n,r)=>(t[r]=n.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(n,r)=>!!r._syncPendingControls()||n);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(n=>{const r=this.controls[n];r&&t(r,n)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const[n,r]of Object.entries(this.controls))if(this.contains(n)&&t(r))return!0;return!1}_reduceValue(){return this._reduceChildren({},(n,r,o)=>((r.enabled||this.disabled)&&(n[o]=r.value),n))}_reduceChildren(t,n){let r=t;return this._forEachChild((o,i)=>{r=n(r,o,i)}),r}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}}const ui=new I("",{factory:()=>Pl}),Pl="always";function Vs(e,t,n=Pl){fg(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||"always"===n)&&t.valueAccessor.setDisabledState?.(e.disabled),function L8(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&fS(e,t)})}(e,t),function B8(e,t){const n=(r,o)=>{t.valueAccessor.writeValue(r),o&&t.viewToModelUpdate(r)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}(e,t),function V8(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&fS(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function P8(e,t){if(t.valueAccessor.setDisabledState){const n=r=>{t.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}function Bl(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function fg(e,t){const n=function XI(e){return e._rawValidators}(e);null!==t.validator?e.setValidators(KI(n,t.validator)):"function"==typeof n&&e.setValidators([n]);const r=function JI(e){return e._rawAsyncValidators}(e);null!==t.asyncValidator?e.setAsyncValidators(KI(r,t.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const o=()=>e.updateValueAndValidity();Bl(t._rawValidators,o),Bl(t._rawAsyncValidators,o)}function fS(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}const G8={provide:Ye,useExisting:ie(()=>js)},Bs=Promise.resolve();let js=(()=>{class e extends Ye{callSetDisabledState;get submitted(){return xe(this.submittedReactive)}_submitted=Tt(()=>this.submittedReactive());submittedReactive=pr(!1);_directives=new Set;form;ngSubmit=new ue;options;constructor(n,r,o){super(),this.callSetDisabledState=o,this.form=new dg({},eg(n),tg(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(n){Bs.then(()=>{const r=this._findContainer(n.path);n.control=r.registerControl(n.name,n.control),Vs(n.control,n,this.callSetDisabledState),n.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(n)})}getControl(n){return this.form.get(n.path)}removeControl(n){Bs.then(()=>{this._findContainer(n.path)?.removeControl(n.name),this._directives.delete(n)})}addFormGroup(n){Bs.then(()=>{const r=this._findContainer(n.path),o=new dg({});(function hS(e,t){fg(e,t)})(o,n),r.registerControl(n.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(n){Bs.then(()=>{this._findContainer(n.path)?.removeControl?.(n.name)})}getFormGroup(n){return this.form.get(n.path)}updateModel(n,r){Bs.then(()=>{this.form.get(n.path).setValue(r)})}setValue(n){this.control.setValue(n)}onSubmit(n){return this.submittedReactive.set(!0),function pS(e,t){e._syncPendingControls(),t.forEach(n=>{const r=n.control;"submit"===r.updateOn&&r._pendingChange&&(n.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}(this.form,this._directives),this.ngSubmit.emit(n),this.form._events.next(new lS(this.control)),"dialog"===n?.target?.method}onReset(){this.resetForm()}resetForm(n=void 0){this.form.reset(n),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(n){return n.pop(),n.length?this.form.get(n):this.form}static \u0275fac=function(r){return new(r||e)(b(Qe,10),b(Zn,10),b(ui,8))};static \u0275dir=L({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup","",3,"formArray",""],["ng-form"],["","ngForm",""]],hostBindings:function(r,o){1&r&&J("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[me([G8]),Y]})}return e})();function gS(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function mS(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const yS=class extends ug{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(t=null,n,r){super(cg(n),lg(r,n)),this._applyFormState(t),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Fl(n)&&(n.nonNullable||n.initialValueIsDefault)&&(this.defaultValue=mS(t)?t.value:t)}setValue(t,n={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==n.emitViewToModelChange)),this.updateValueAndValidity(n)}patchValue(t,n={}){this.setValue(t,n)}reset(t=this.defaultValue,n={}){this._applyFormState(t),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),n.overwriteDefaultValue&&(this.defaultValue=this.value),this._pendingChange=!1,!1!==n?.emitEvent&&this._events.next(new ag(this))}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){gS(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){gS(this._onDisabledChange,t)}_forEachChild(t){}_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(t){mS(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}},Q8={provide:Qn,useExisting:ie(()=>mg)},vS=Promise.resolve();let mg=(()=>{class e extends Qn{_changeDetectorRef;callSetDisabledState;control=new yS;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new ue;constructor(n,r,o,i,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this._parent=n,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=function gg(e,t){if(!t)return null;let n,r,o;return Array.isArray(t),t.forEach(i=>{i.constructor===Al?n=i:function $8(e){return Object.getPrototypeOf(e.constructor)===Gr}(i)?r=i:o=i}),o||r||n||null}(0,i)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){const r=n.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),function pg(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}(n,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){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&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Vs(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(n){vS.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){const r=n.isDisabled.currentValue,o=0!==r&&function hp(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}(r);vS.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?function Ll(e,t){return[...t.path,e]}(n,this._parent):[n]}static \u0275fac=function(r){return new(r||e)(b(Ye,9),b(Qe,10),b(Zn,10),b(Kt,10),b(up,8),b(ui,8))};static \u0275dir=L({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"],standalone:!1,features:[me([Q8]),Y,zt]})}return e})(),DS=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275dir=L({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return e})();const J8={provide:Kt,useExisting:ie(()=>yg),multi:!0};let yg=(()=>{class e extends Gr{writeValue(n){this.setProperty("value",parseFloat(n))}registerOnChange(n){this.onChange=r=>{n(""==r?null:parseFloat(r))}}static \u0275fac=(()=>{let n;return function(o){return(n||(n=Be(e)))(o||e)}})();static \u0275dir=L({type:e,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(r,o){1&r&&J("change",function(s){return o.onChange(s.target.value)})("input",function(s){return o.onChange(s.target.value)})("blur",function(){return o.onTouched()})},standalone:!1,features:[me([J8]),Y]})}return e})();const a4={provide:Kt,useExisting:ie(()=>zl),multi:!0};function TS(e,t){return null==e?`${t}`:(t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let zl=(()=>{class e extends Gr{value;_optionMap=new Map;_idCounter=0;set compareWith(n){this._compareWith=n}_compareWith=Object.is;appRefInjector=N(Hn).injector;destroyRef=N(hn);cdr=N(up);_queuedWrite=!1;_writeValueAfterRender(){this._queuedWrite||this.appRefInjector.destroyed||(this._queuedWrite=!0,hf({write:()=>{this.destroyRef.destroyed||(this._queuedWrite=!1,this.writeValue(this.value))}},{injector:this.appRefInjector}))}writeValue(n){this.cdr.markForCheck(),this.value=n;const o=TS(this._getOptionId(n),n);this.setProperty("value",o)}registerOnChange(n){this.onChange=r=>{this.value=this._getOptionValue(r),n(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(n){for(const r of this._optionMap.keys())if(this._compareWith(this._optionMap.get(r),n))return r;return null}_getOptionValue(n){const r=function c4(e){return e.split(":")[0]}(n);return this._optionMap.has(r)?this._optionMap.get(r):n}static \u0275fac=(()=>{let n;return function(o){return(n||(n=Be(e)))(o||e)}})();static \u0275dir=L({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(r,o){1&r&&J("change",function(s){return o.onChange(s.target.value)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},standalone:!1,features:[me([a4]),Y]})}return e})(),AS=(()=>{class e{_element;_renderer;_select;id;constructor(n,r,o){this._element=n,this._renderer=r,this._select=o,this._select&&(this.id=this._select._registerOption())}set ngValue(n){null!=this._select&&(this._select._optionMap.set(this.id,n),this._setElementValue(TS(this.id,n)),this._select._writeValueAfterRender())}set value(n){this._setElementValue(n),this._select?._writeValueAfterRender()}_setElementValue(n){this._renderer.setProperty(this._element.nativeElement,"value",n)}ngOnDestroy(){this._select?._optionMap.delete(this.id),this._select?._writeValueAfterRender()}static \u0275fac=function(r){return new(r||e)(b(Ft),b(Tr),b(zl,9))};static \u0275dir=L({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"},standalone:!1})}return e})();const l4={provide:Kt,useExisting:ie(()=>vg),multi:!0};function NS(e,t){return null==e?`${t}`:("string"==typeof t&&(t=`'${t}'`),t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let vg=(()=>{class e extends Gr{value;_optionMap=new Map;_idCounter=0;set compareWith(n){this._compareWith=n}_compareWith=Object.is;writeValue(n){let r;if(this.value=n,Array.isArray(n)){const o=n.map(i=>this._getOptionId(i));r=(i,s)=>{i._setSelected(o.indexOf(s.toString())>-1)}}else r=(o,i)=>{o._setSelected(!1)};this._optionMap.forEach(r)}registerOnChange(n){this.onChange=r=>{const o=[],i=r.selectedOptions;if(void 0!==i){const s=i;for(let a=0;a<s.length;a++){const l=this._getOptionValue(s[a].value);o.push(l)}}else{const s=r.options;for(let a=0;a<s.length;a++){const c=s[a];if(c.selected){const l=this._getOptionValue(c.value);o.push(l)}}}this.value=o,n(o)}}_registerOption(n){const r=(this._idCounter++).toString();return this._optionMap.set(r,n),r}_getOptionId(n){for(const r of this._optionMap.keys())if(this._compareWith(this._optionMap.get(r)._value,n))return r;return null}_getOptionValue(n){const r=function u4(e){return e.split(":")[0]}(n);return this._optionMap.has(r)?this._optionMap.get(r)._value:n}static \u0275fac=(()=>{let n;return function(o){return(n||(n=Be(e)))(o||e)}})();static \u0275dir=L({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(r,o){1&r&&J("change",function(s){return o.onChange(s.target)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},standalone:!1,features:[me([l4]),Y]})}return e})(),kS=(()=>{class e{_element;_renderer;_select;id;_value;constructor(n,r,o){this._element=n,this._renderer=r,this._select=o,this._select&&(this.id=this._select._registerOption(this))}set ngValue(n){null!=this._select&&(this._value=n,this._setElementValue(NS(this.id,n)),this._select.writeValue(this._select.value))}set value(n){this._select?(this._value=n,this._setElementValue(NS(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))}static \u0275fac=function(r){return new(r||e)(b(Ft),b(Tr),b(vg,9))};static \u0275dir=L({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"},standalone:!1})}return e})(),D4=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Bn({type:e});static \u0275inj=tn({})}return e})(),_4=(()=>{class e{static withConfig(n){return{ngModule:e,providers:[{provide:ui,useValue:n.callSetDisabledState??Pl}]}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=Bn({type:e});static \u0275inj=tn({imports:[D4]})}return e})();const HS={line:(e=ee(function*(){return(yield Promise.all([T.e(76),T.e(323)]).then(T.bind(T,1577))).lineChart}),function(){return e.apply(this,arguments)}),area:function(){var e=ee(function*(){return(yield Promise.all([T.e(76),T.e(704)]).then(T.bind(T,1455))).areaChart});return function(){return e.apply(this,arguments)}}(),"stacked-area":function(){var e=ee(function*(){return(yield Promise.all([T.e(76),T.e(561)]).then(T.bind(T,2259))).stackedAreaChart});return function(){return e.apply(this,arguments)}}(),bar:function(){var e=ee(function*(){return(yield Promise.all([T.e(76),T.e(942)]).then(T.bind(T,4303))).barChart});return function(){return e.apply(this,arguments)}}(),"bar-3d":function(){var e=ee(function*(){return(yield Promise.all([T.e(76),T.e(799)]).then(T.bind(T,3647))).bar3DChart});return function(){return e.apply(this,arguments)}}(),combo:function(){var e=ee(function*(){return(yield Promise.all([T.e(76),T.e(180)]).then(T.bind(T,8651))).comboChart});return function(){return e.apply(this,arguments)}}(),sparkline:function(){var e=ee(function*(){return(yield Promise.all([T.e(76),T.e(37)]).then(T.bind(T,7100))).sparklineChart});return function(){return e.apply(this,arguments)}}(),scatter:function(){var e=ee(function*(){return(yield Promise.all([T.e(76),T.e(418)]).then(T.bind(T,7719))).scatterChart});return function(){return e.apply(this,arguments)}}(),gauge:function(){var e=ee(function*(){return(yield T.e(639).then(T.bind(T,9639))).gaugeChart});return function(){return e.apply(this,arguments)}}(),"gauge-semicircle":function(){var e=ee(function*(){return(yield T.e(639).then(T.bind(T,9639))).semicircleGaugeChart});return function(){return e.apply(this,arguments)}}(),"radial-progress":function(){var e=ee(function*(){return(yield T.e(639).then(T.bind(T,9639))).radialProgressChart});return function(){return e.apply(this,arguments)}}(),thermometer:function(){var e=ee(function*(){return(yield T.e(639).then(T.bind(T,9639))).thermometerChart});return function(){return e.apply(this,arguments)}}(),"thermometer-horizontal":function(){var e=ee(function*(){return(yield T.e(639).then(T.bind(T,9639))).thermometerHorizontalChart});return function(){return e.apply(this,arguments)}}(),battery:function(){var e=ee(function*(){return(yield T.e(639).then(T.bind(T,9639))).batteryChart});return function(){return e.apply(this,arguments)}}(),pie:function(){var e=ee(function*(){return(yield Promise.all([T.e(76),T.e(84)]).then(T.bind(T,5363))).pieChart});return function(){return e.apply(this,arguments)}}(),donut:function(){var e=ee(function*(){return(yield Promise.all([T.e(76),T.e(84)]).then(T.bind(T,5363))).donutChart});return function(){return e.apply(this,arguments)}}()},C4=Object.keys(HS);var e,$s=T(1911);const $S=new Set(["gauge","gauge-semicircle","radial-progress","thermometer","thermometer-horizontal","battery"]),Us=e=>"bar"===e||"bar-3d"===e?"bar":"area"===e||"stacked-area"===e?"area":"scatter"===e?"scatter":"line",_g=e=>Array.isArray(e)&&(0===e.length||e.every(t=>"number"==typeof t)),Cg=e=>"object"==typeof e&&null!==e&&!Array.isArray(e)&&Object.values(e).every(t=>"number"==typeof t),US=e=>Array.isArray(e)&&(0===e.length||e.every(t=>"object"==typeof t&&null!==t&&"data"in t&&Array.isArray(t.data))),GS=e=>Array.isArray(e)&&(0===e.length||e.every(t=>"object"==typeof t&&null!==t&&"value"in t&&"label"in t&&!("data"in t))),zS=e=>Array.isArray(e)&&(0===e.length||e.every(t=>"object"==typeof t&&null!==t&&"value"in t&&"label"in t&&!("data"in t))),WS=e=>{if(!US(e.series))return(e=>{const t=[...e.labels??[]];if(_g(e.data)){const n=t.length>0?t:e.data.map((r,o)=>`Point ${o+1}`);return{kind:"cartesian",labels:n,series:[{kind:"cartesian",id:"series-0",name:"Series 1",type:Us(e.type),data:e.data.map((r,o)=>({index:o,x:n[o]??`Point ${o+1}`,label:n[o]??`Point ${o+1}`,y:r}))}]}}if(Cg(e.data)){const n=Object.keys(e.data),r=Object.values(e.data);return{kind:"cartesian",labels:n,series:[{kind:"cartesian",id:"series-0",name:"Series 1",type:Us(e.type),data:r.map((o,i)=>({index:i,x:n[i]??`Point ${i+1}`,label:n[i]??`Point ${i+1}`,y:o}))}]}}if(Array.isArray(e.data)){const n=e.data,r=t.length>0?t:n.map((o,i)=>"number"==typeof o?`Point ${i+1}`:"y"in o?o.label??String(o.x??`Point ${i+1}`):o.label??`Point ${i+1}`);return{kind:"cartesian",labels:r,series:[{kind:"cartesian",id:"series-0",name:"Series 1",type:Us(e.type),data:n.map((o,i)=>"number"==typeof o?{index:i,x:r[i]??`Point ${i+1}`,label:r[i]??`Point ${i+1}`,y:o}:"y"in o?{index:i,x:o.x??r[i]??`Point ${i+1}`,label:o.label??r[i]??`Point ${i+1}`,y:o.y}:{index:i,x:o.label??r[i]??`Point ${i+1}`,label:o.label??r[i]??`Point ${i+1}`,y:o.value})}]}}return{kind:"cartesian",labels:[],series:[{kind:"cartesian",id:"series-0",name:"Series 1",type:Us(e.type),data:[]}]}})(e);const t=e.labels?.length?[...e.labels]:e.series[0]?.data.map((o,i)=>"number"==typeof o?`Point ${i+1}`:o.label??String(o.x??`Point ${i+1}`))??[],n=e.series.map((o,i)=>({kind:"cartesian",id:o.id??`series-${i}`,name:o.name??`Series ${i+1}`,color:o.color,type:o.type??Us(e.type),data:o.data.map((s,a)=>"number"==typeof s?{index:a,x:t[a]??`Point ${a+1}`,label:t[a]??`Point ${a+1}`,y:s}:{index:a,x:s.x??t[a]??`Point ${a+1}`,label:s.label??t[a]??`Point ${a+1}`,y:s.y})}));return{kind:"cartesian",labels:t.length>0?t:n[0]?.data.map(o=>o.label)??[],series:n}},qS=e=>{const n=(GS(e.series)?e.series:GS(e.data)?e.data:Cg(e.data)?Object.entries(e.data).map(([r,o])=>({label:r,value:o})):zS(e.data)?e.data:_g(e.data)?e.data.map((r,o)=>({label:`Slice ${o+1}`,value:r})):[]).map((r,o)=>({id:("string"==typeof r.id?r.id:void 0)??`slice-${o}`,label:r.label,value:r.value,color:"string"==typeof r.color?r.color:void 0}));return{kind:"radial",mode:"pie"===e.type?"pie":"donut",slices:n,total:(0,$s.cz)(n.map(r=>r.value))}},ZS=(e,t)=>{if($S.has(e.type)){const s="number"==typeof t?t:t.value??t.y??0,a="object"==typeof t?t.label??e.gauge?.label??"Value":e.gauge?.label??"Value",c="object"==typeof t?t.color:void 0;return e.data=[{label:a,value:s,...c?{color:c}:{}}],e.series=void 0,void(e.labels=[a])}if("pie"===e.type||"donut"===e.type){const s=(e=>qS(e).slices.map(n=>({id:n.id,label:n.label,value:n.value,color:n.color})))(e);return s.push({id:`slice-${s.length}`,label:"number"==typeof t?`Slice ${s.length+1}`:t.label??`Slice ${s.length+1}`,value:"number"==typeof t?t:t.value??t.y??0,color:"object"==typeof t?t.color:void 0}),e.data=s,void(e.series=void 0)}const n=(e=>WS(e).series.map(n=>({id:n.id,name:n.name,color:n.color,type:n.type,data:n.data.map(r=>({x:r.x,y:r.y,label:r.label}))})))(e);0===n.length&&n.push({id:"series-0",name:"Series 1",type:"bar"===e.type?"bar":"area"===e.type?"area":"scatter"===e.type?"scatter":"line",data:[]});const r=n[0],o="number"==typeof t?`Point ${r.data.length+1}`:t.label??`Point ${r.data.length+1}`;"number"==typeof t?r.data.push({label:o,y:t}):Array.isArray(t.values)?n.forEach((s,a)=>{s.data.push({label:o,y:t.values?.[a]??0})}):t.seriesId&&n.length>1?n.forEach(s=>{s.data.push({label:o,y:s.id===t.seriesId?t.value??t.y??0:0})}):r.data.push({label:o,y:t.value??t.y??0});const i=e.realtime?.maxPoints??0;i>0&&n.forEach(s=>{s.data.length>i&&(s.data=s.data.slice(-i))}),e.series=n,e.data=void 0,e.labels=r.data.map(s=>"number"==typeof s?"":s.label??"")};class T4{handlers=new Map;on(t,n){return this.handlers.has(t)||this.handlers.set(t,new Set),this.handlers.get(t)?.add(n),()=>{this.handlers.get(t)?.delete(n)}}emit(t,n){this.handlers.get(t)?.forEach(r=>{r(n)})}clear(){this.handlers.clear()}}const Gs=e=>e.replaceAll("&","&amp;").replaceAll("<","&lt;").replaceAll(">","&gt;").replaceAll('"',"&quot;").replaceAll("'","&#39;"),QS=(e,t,n)=>Math.min(Math.max(e,t),n);class A4{container;events;tooltip=document.createElement("div");config;activeTarget;setRelativePosition=!1;constructor(t,n){this.container=t,this.events=n,this.tooltip.dataset.infinityChartsTooltip="true",this.tooltip.className="infinity-chart-tooltip",this.tooltip.setAttribute("aria-hidden","true"),this.tooltip.style.position="absolute",this.tooltip.style.pointerEvents="none",this.tooltip.style.zIndex="12",this.tooltip.style.minWidth="160px",this.tooltip.style.maxWidth="280px",this.tooltip.style.padding="12px 14px",this.tooltip.style.borderRadius="14px",this.tooltip.style.border="1px solid transparent",this.tooltip.style.boxSizing="border-box",this.tooltip.style.backdropFilter="blur(16px)",this.tooltip.style.opacity="0",this.tooltip.style.transform="translateY(8px)",this.tooltip.style.transition="opacity 160ms ease, transform 160ms ease",this.tooltip.style.whiteSpace="normal",this.ensureContainerPositioning(),this.installListeners(),this.container.append(this.tooltip)}update(t){this.config=t,this.tooltip.style.background=t.theme.tooltipBackground,this.tooltip.style.color=t.theme.tooltipText,this.tooltip.style.borderColor=t.theme.border,this.tooltip.style.boxShadow=t.theme.shadow,this.tooltip.style.fontFamily=t.theme.fontFamily,this.tooltip.style.fontSize=`${t.theme.fontSize}px`,t.interaction.enabled||this.clearActiveTarget(!1)}destroy(){this.container.removeEventListener("mousemove",this.handlePointerMove),this.container.removeEventListener("mouseleave",this.handlePointerLeave),this.container.removeEventListener("click",this.handleClick),this.clearActiveTarget(!1),this.tooltip.remove(),this.setRelativePosition&&this.container.style.removeProperty("position")}ensureContainerPositioning(){typeof window>"u"||"static"===window.getComputedStyle(this.container).position&&(this.container.style.position="relative",this.setRelativePosition=!0)}installListeners(){this.container.addEventListener("mousemove",this.handlePointerMove),this.container.addEventListener("mouseleave",this.handlePointerLeave),this.container.addEventListener("click",this.handleClick)}handlePointerMove=t=>{if(!this.config?.interaction.enabled)return;const n=this.resolveInteractiveElement(t.target);if(!n)return void this.clearActiveTarget();const r=this.readPayload(n);r?(this.activateTarget(n,r),this.config.interaction.tooltip&&this.showTooltip(r,t.clientX,t.clientY)):this.clearActiveTarget()};handlePointerLeave=()=>{this.clearActiveTarget()};handleClick=t=>{if(!this.config?.interaction.enabled||!this.config.interaction.click)return;const n=this.resolveInteractiveElement(t.target);if(!n)return;const r=this.readPayload(n);r&&(this.events.emit("interaction:click",r),"datum"===r.kind&&this.events.emit("point:click",r),"slice"===r.kind&&this.events.emit("slice:click",r),"gauge"===r.kind&&this.events.emit("gauge:click",r))};activateTarget(t,n){if(this.activeTarget?.element===t)return;this.clearActiveTarget(!1);const r=t instanceof HTMLElement||t instanceof SVGElement?t.style.getPropertyValue("filter"):"",o=t instanceof HTMLElement||t instanceof SVGElement?t.style.getPropertyValue("opacity"):"";!1!==this.config?.interaction.hover&&(t instanceof HTMLElement||t instanceof SVGElement)&&(t.style.setProperty("filter",`brightness(1.08) saturate(1.08) drop-shadow(0 12px 24px ${this.config?.theme.interactiveGlow??"rgba(37, 99, 235, 0.22)"})`),o||t.style.setProperty("opacity","1")),this.activeTarget={element:t,payload:n,filter:r,opacity:o},this.events.emit("interaction:hover",n),"datum"===n.kind&&this.events.emit("point:hover",n)}clearActiveTarget(t=!0){this.activeTarget&&(this.activeTarget.element instanceof HTMLElement||this.activeTarget.element instanceof SVGElement)&&(this.activeTarget.element.style.setProperty("filter",this.activeTarget.filter),this.activeTarget.opacity?this.activeTarget.element.style.setProperty("opacity",this.activeTarget.opacity):this.activeTarget.element.style.removeProperty("opacity")),t&&this.activeTarget&&this.events.emit("interaction:leave",this.activeTarget.payload),this.activeTarget=void 0,this.hideTooltip()}showTooltip(t,n,r){const o=[t.seriesName&&t.label!==t.seriesName?["Series",t.seriesName]:void 0,void 0!==t.value?["Value",String(t.value)]:void 0,void 0!==t.secondaryValue?["Compare",String(t.secondaryValue)]:void 0,t.detail?["Context",t.detail]:void 0].filter(p=>!!p),i=t.label??t.seriesName??t.chartType,s=t.color?`<span style="display:inline-block;width:10px;height:10px;border-radius:999px;background:${Gs(t.color)};"></span>`:"";this.tooltip.innerHTML=`\n <div style="display:flex;align-items:center;gap:8px;font-weight:700;font-size:1em;margin-bottom:${o.length>0?"8px":"0"};">\n ${s}\n <span>${Gs(i)}</span>\n </div>\n ${o.map(([p,g])=>`\n <div style="display:flex;justify-content:space-between;gap:12px;margin-top:6px;">\n <span style="color:${Gs(this.config?.theme.mutedText??"#64748b")};">${Gs(p)}</span>\n <strong style="font-weight:600;">${Gs(g)}</strong>\n </div>\n `).join("")}\n `;const a=this.container.getBoundingClientRect(),c=16,d=this.tooltip.offsetHeight||96,f=QS(n-a.left+16,c,Math.max(c,a.width-(this.tooltip.offsetWidth||220)-c)),h=QS(r-a.top+16,c,Math.max(c,a.height-d-c));this.tooltip.style.left=`${f}px`,this.tooltip.style.top=`${h}px`,this.tooltip.style.opacity="1",this.tooltip.style.transform="translateY(0)"}hideTooltip(){this.tooltip.style.opacity="0",this.tooltip.style.transform="translateY(8px)"}resolveInteractiveElement(t){return t instanceof Element?t.closest("[data-ic-interactive='true']"):null}readPayload(t){const n=t.getAttribute("data-ic-payload");if(n)try{return JSON.parse(n)}catch{return}}}const Wr=(e,t,n,r)=>({x:e,y:t,width:Math.max(0,n),height:Math.max(0,r)});class k4{plugins=new Map;constructor(t=[]){t.forEach(n=>this.register(n))}register(t){this.plugins.set(t.id,t)}invoke(t,n){this.plugins.forEach(r=>{r.hooks?.[t]?.(n)})}list(){return[...this.plugins.values()]}}class x4{frameId=0;queued=new Set;schedule(t,n){this.queued.add(t),0===this.frameId&&(this.frameId=window.requestAnimationFrame(()=>{const r=[...this.queued.values()];this.queued.clear(),this.frameId=0,n(r)}))}flush(t){if(0===this.queued.size)return;const n=[...this.queued.values()];this.queued.clear(),0!==this.frameId&&(window.cancelAnimationFrame(this.frameId),this.frameId=0),t(n)}destroy(){0!==this.frameId&&window.cancelAnimationFrame(this.frameId),this.frameId=0,this.queued.clear()}}var zs=T(8264);const bg="http://www.w3.org/2000/svg",O4={group:"g",rect:"rect",path:"path",text:"text",line:"line",circle:"circle"};class R4{svg;container;attrCache=new WeakMap;styleCache=new WeakMap;previousChartTypeClass;previousThemeClass;constructor(){this.svg=document.createElementNS(bg,"svg"),this.svg.setAttribute("xmlns",bg),this.svg.setAttribute("preserveAspectRatio","xMidYMid meet"),this.svg.style.display="block",this.svg.style.width="100%",this.svg.style.height="100%"}mount(t){this.container=t,t.innerHTML="",t.classList.add("infinity-chart-host"),t.append(this.svg)}resize(t,n){this.svg.setAttribute("viewBox",`0 0 ${t} ${n}`),this.svg.setAttribute("width",String(t)),this.svg.setAttribute("height",String(n))}render(t,n){this.applyRootClasses(n.chartType,n.themeMode),this.svg.style.background=n.background??"transparent",this.svg.setAttribute("role","img"),this.svg.setAttribute("aria-label",n.ariaLabel??"Infinity chart"),this.syncChildren(this.svg,t,n.animation)}destroy(){this.svg.remove()}applyRootClasses(t="chart",n="light"){const r=t.replace(/[^a-z0-9]+/gi,"-").toLowerCase(),o=`infinity-chart-host--${r}`,i=`infinity-chart-theme--${n}`;this.container&&(this.previousChartTypeClass&&this.container.classList.remove(this.previousChartTypeClass),this.previousThemeClass&&this.container.classList.remove(this.previousThemeClass),this.container.classList.add(o,i),this.container.dataset.infinityChartType=t,this.container.dataset.infinityChartTheme=n),this.svg.setAttribute("class",`infinity-chart-svg infinity-chart-svg--${r} infinity-chart-theme--${n}`),this.svg.dataset.infinityChartType=t,this.svg.dataset.infinityChartTheme=n,this.previousChartTypeClass=o,this.previousThemeClass=i}syncChildren(t,n,r){const o=new Map;Array.from(t.children).forEach(a=>{const l=a.dataset.sceneId;l&&o.set(l,a)});let i=t.firstChild;const s=new Set;n.forEach(a=>{const c=O4[a.kind];let l=o.get(a.id);const u=!l||l.tagName.toLowerCase()!==c;if(u&&(l?.remove(),l=document.createElementNS(bg,c),l.dataset.sceneId=a.id),l){if(this.applyNode(l,a,r,u),i!==l&&t.insertBefore(l,i),s.add(a.id),"text"!==a.kind)if(a.children&&a.children.length>0)this.syncChildren(l,a.children,r);else for(;l.firstChild;)l.removeChild(l.firstChild);i=l.nextSibling}}),o.forEach((a,c)=>{s.has(c)||a.remove()})}applyNode(t,n,r,o){this.applyAttributes(t,n.attrs??{}),this.applyStyles(t,{...r.enabled&&"group"!==n.kind?{transition:`opacity ${r.duration}ms ${r.easing}, fill ${r.duration}ms ${r.easing}, stroke ${r.duration}ms ${r.easing}, transform ${r.duration}ms ${r.easing}, filter 160ms ease`}:{},...n.style??{}}),"text"===n.kind&&(t.textContent=n.textContent??""),o&&this.animateNodeEntry(t,n,r)}applyAttributes(t,n){const r=this.attrCache.get(t)??new Set,o=new Set;Object.entries(n).forEach(([i,s])=>{null==s||!1===s||(t.setAttribute(i,String(s)),o.add(i))}),r.forEach(i=>{o.has(i)||t.removeAttribute(i)}),this.attrCache.set(t,o)}applyStyles(t,n){const r=this.styleCache.get(t)??new Set,o=new Set;Object.entries(n).forEach(([i,s])=>{void 0!==s&&(t.style.setProperty(i,String(s)),o.add(i))}),r.forEach(i=>{o.has(i)||t.style.removeProperty(i)}),this.styleCache.set(t,o)}animateNodeEntry(t,n,r){if(!r.enabled||"function"!=typeof t.animate||"group"===n.kind)return;const o=Math.max(0,r.stagger);if("path"===n.kind&&"none"===t.getAttribute("fill")){const i=t;if("function"==typeof i.getTotalLength)try{const s=Math.max(1,i.getTotalLength()),a=t.style.getPropertyValue("stroke-dasharray"),c=t.style.getPropertyValue("stroke-dashoffset");return t.style.setProperty("stroke-dasharray",String(s)),t.style.setProperty("stroke-dashoffset",String(s)),void t.animate([{opacity:.18,strokeDashoffset:String(s)},{opacity:1,strokeDashoffset:"0"}],{duration:r.duration+120,delay:o,easing:r.easing,fill:"forwards"}).finished.finally(()=>{a?t.style.setProperty("stroke-dasharray",a):t.style.removeProperty("stroke-dasharray"),c?t.style.setProperty("stroke-dashoffset",c):t.style.removeProperty("stroke-dashoffset")})}catch{}}t.animate([{opacity:0,transform:"translateY(10px) scale(0.985)",transformOrigin:"center center"},{opacity:1,transform:"translateY(0) scale(1)",transformOrigin:"center center"}],{duration:r.duration,delay:o,easing:r.easing,fill:"both"})}}const F4=e=>{const t=typeof window<"u"&&"function"==typeof window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches,n=e?.enabled??!t,r=!1===n?"none":e?.mode??"subtle";return{enabled:n,duration:n?e?.duration??320:0,easing:e?.easing??"cubic-bezier(0.22, 1, 0.36, 1)",stagger:e?.stagger??18,mode:r,reducedMotion:t}},Wl=e=>"object"==typeof e&&null!==e&&!Array.isArray(e),Eg=(e,t)=>{if(void 0===t)return structuredClone(e);if(!Wl(e)||!Wl(t))return structuredClone(t??e);const n={...e};return Object.entries(t).forEach(([r,o])=>{if(void 0===o)return;const i=n[r];n[r]=Wl(i)&&Wl(o)?Eg(i,o):Array.isArray(o)?[...o]:o}),n},P4={name:"Infinity Light",mode:"light",background:"#faf8f4",surface:"#ffffff",surfaceAlt:"#f5f1eb",plotBackground:"#fffdfa",plotBorder:"#e7ded4",border:"#e4dbd1",grid:"#e8dfd6",axis:"#91867b",text:"#27303b",mutedText:"#736b63",title:"#171d26",legendText:"#27303b",shadow:"0 18px 54px rgba(15, 23, 42, 0.14)",palette:["#2563eb","#0ea5e9","#14b8a6","#f59e0b","#ef4444","#8b5cf6","#ec4899","#84cc16"],semantic:{success:"#16a34a",warning:"#d97706",danger:"#dc2626",info:"#0284c7"},fontFamily:'"IBM Plex Sans", system-ui, sans-serif',fontSize:13,tooltipBackground:"#102038",tooltipText:"#f8fafc",pointStroke:"#ffffff",threshold:"#d97706",gaugeTrack:"#ece2d7",gaugeNeedle:"#102038",interactiveGlow:"rgba(37, 99, 235, 0.22)"},YS={name:"Infinity Dark",mode:"dark",background:"#07101d",surface:"#0f172a",surfaceAlt:"#132038",plotBackground:"#0d1628",plotBorder:"#1b2940",border:"#223048",grid:"#22324b",axis:"#7f93ad",text:"#d7e2f1",mutedText:"#8fa4bc",title:"#f8fbff",legendText:"#d7e2f1",shadow:"0 22px 64px rgba(2, 6, 23, 0.55)",palette:["#60a5fa","#38bdf8","#2dd4bf","#fbbf24","#fb7185","#a78bfa","#f472b6","#a3e635"],semantic:{success:"#4ade80",warning:"#fbbf24",danger:"#f87171",info:"#38bdf8"},fontFamily:'"IBM Plex Sans", system-ui, sans-serif',fontSize:13,tooltipBackground:"#e5eefb",tooltipText:"#081221",pointStroke:"#0f172a",threshold:"#fbbf24",gaugeTrack:"#16243b",gaugeNeedle:"#f8fbff",interactiveGlow:"rgba(96, 165, 250, 0.26)"},fe=(e,t)=>`var(${e}, ${t})`,B4={top:20,right:20,bottom:20,left:20},j4={top:8,right:8,bottom:8,left:8},H4=new Set(["gauge","gauge-semicircle","radial-progress","thermometer","thermometer-horizontal","battery"]),$4=new Set(["pie","donut"]),KS=(e,t)=>({top:e?.top??t.top,right:e?.right??t.right,bottom:e?.bottom??t.bottom,left:e?.left??t.left}),U4=e=>"string"==typeof e?{text:e,subtitle:"",align:"start"}:{text:e?.text??"",subtitle:e?.subtitle??"",align:e?.align??"start"},G4=e=>({padding:KS(e.layout?.padding,B4),plotPadding:KS(e.layout?.plotPadding,j4),cornerRadius:e.layout?.cornerRadius??20,background:e.layout?.background}),z4=e=>{const t=e.interaction?.enabled??!0;return{enabled:t,tooltip:t&&(e.showTooltip??e.interaction?.tooltip??!0),hover:t&&(e.interaction?.hover??!0),click:t&&(e.interaction?.click??!0)}},W4=(e,t)=>({depthX:e.bar3d?.depthX??24,depthY:e.bar3d?.depthY??16,topLightness:e.bar3d?.topLightness??.14,sideLightness:e.bar3d?.sideLightness??-.18,floorColor:e.bar3d?.floorColor??t.surfaceAlt,floorLineColor:e.bar3d?.floorLineColor??t.plotBorder,shadowColor:e.bar3d?.shadowColor??("dark"===t.mode?"rgba(2, 6, 23, 0.42)":"rgba(15, 23, 42, 0.14)")}),Z4=(e,t)=>{const n=e.gauge?.min??e.yAxis?.min??0,r=e.gauge?.max??e.yAxis?.max??100,o=r>n?r:n+1,i=((e,t,n,r)=>{const o=[...n??[]].filter(a=>"y"===(a.axis??"y")).map(a=>a.value).filter(a=>a>e&&a<t).sort((a,c)=>a-c);if(0===o.length)return[];const i=[e,...o,t],s=[r.semantic.success,r.semantic.warning,r.semantic.danger];return i.slice(0,-1).map((a,c)=>({from:a,to:i[c+1]??t,color:s[Math.min(c,s.length-1)],label:0===c?"Optimal":c===i.length-2?"Critical":"Attention"}))})(n,o,e.thresholds,t),s=[{from:n,to:n+.6*(o-n),color:t.semantic.success,label:"Healthy"},{from:n+.6*(o-n),to:n+.85*(o-n),color:t.semantic.warning,label:"Attention"},{from:n+.85*(o-n),to:o,color:t.semantic.danger,label:"Critical"}],a=e.gauge?.bands?.length?e.gauge.bands.map((c,l)=>({from:Math.max(n,Math.min(o,c.from)),to:Math.max(n,Math.min(o,c.to)),color:c.color,label:c.label??`Band ${l+1}`})):i.length?i:s;return{min:n,max:o,unit:e.gauge?.unit??"",label:e.gauge?.label??"",startAngle:e.gauge?.startAngle??5*Math.PI/4,endAngle:e.gauge?.endAngle??11*Math.PI/4,needle:e.gauge?.needle??!0,trackColor:e.gauge?.trackColor??t.gaugeTrack,bands:a,valueFormatter:e.gauge?.valueFormatter}},XS=(e,t)=>{const n=((e,t=[],n)=>{const r="dark"===e||"object"==typeof e&&"dark"===e?.mode?YS:P4,o="object"==typeof e?Eg(r,e):Eg(r);return t.length>0&&(o.palette=[...t]),n&&Object.entries(n).forEach(([i,s])=>{void 0!==s&&(o[i]=s)}),(e=>({...e,background:fe("--ic-background",e.background),surface:fe("--ic-surface",e.surface),surfaceAlt:fe("--ic-surface-alt",e.surfaceAlt),plotBackground:fe("--ic-plot-background",e.plotBackground),plotBorder:fe("--ic-plot-border",e.plotBorder),border:fe("--ic-border",e.border),grid:fe("--ic-grid",e.grid),axis:fe("--ic-axis",e.axis),text:fe("--ic-text",e.text),mutedText:fe("--ic-muted-text",e.mutedText),title:fe("--ic-title",e.title),legendText:fe("--ic-legend-text",e.legendText),shadow:fe("--ic-shadow",e.shadow),palette:e.palette.map((t,n)=>fe(`--ic-series-${n+1}`,t)),semantic:{success:fe("--ic-success",e.semantic.success),warning:fe("--ic-warning",e.semantic.warning),danger:fe("--ic-danger",e.semantic.danger),info:fe("--ic-info",e.semantic.info)},fontFamily:fe("--ic-font-family",e.fontFamily),tooltipBackground:fe("--ic-tooltip-background",e.tooltipBackground),tooltipText:fe("--ic-tooltip-text",e.tooltipText),pointStroke:fe("--ic-point-stroke",e.pointStroke),threshold:fe("--ic-threshold",e.threshold),gaugeTrack:fe("--ic-gauge-track",e.gaugeTrack),gaugeNeedle:fe("--ic-gauge-needle",e.gaugeNeedle),interactiveGlow:fe("--ic-interactive-glow",e.interactiveGlow)}))(o)})(e.theme,e.palette??[],e.colors),r="sparkline"===e.type,o=H4.has(e.type),i=$4.has(e.type),s=r||o;return{...e,container:t,showNumber:e.showNumber??!0,showLegend:e.showLegend??e.legend?.show??!s,showTooltip:e.showTooltip??e.interaction?.tooltip??!0,title:U4(e.title),theme:n,colors:{...e.colors??{}},renderer:e.renderer??"svg",palette:e.palette?.length?[...e.palette]:[...n.palette],animation:F4(e.animation),bar3d:W4(e,n),responsive:{enabled:e.responsive?.enabled??!0,debounceMs:e.responsive?.debounceMs??48,minHeight:e.responsive?.minHeight??(r?120:o?240:i?340:280)},interaction:z4(e),realtime:{enabled:e.realtime?.enabled??!1,maxPoints:e.realtime?.maxPoints??0,batchWindowMs:e.realtime?.batchWindowMs??0,preserveDomain:e.realtime?.preserveDomain??!1},layout:G4(e),xAxis:{show:e.xAxis?.show??!s,title:e.xAxis?.title??"",tickCount:e.xAxis?.tickCount??5,min:e.xAxis?.min,max:e.xAxis?.max,nice:e.xAxis?.nice??!1,format:e.xAxis?.format},yAxis:{show:e.yAxis?.show??!s,title:e.yAxis?.title??"",tickCount:e.yAxis?.tickCount??5,min:e.yAxis?.min,max:e.yAxis?.max,nice:e.yAxis?.nice??!0,format:e.yAxis?.format},grid:{show:e.grid?.show??!s,x:e.grid?.x??!1,y:e.grid?.y??!0,color:e.grid?.color??n.grid,opacity:e.grid?.opacity??1},legend:{show:e.showLegend??e.legend?.show??!s,position:e.legend?.position??"bottom",align:e.legend?.align??"start"},gauge:{...Z4(e,n),startAngle:e.gauge?.startAngle??("gauge-semicircle"===e.type?3*Math.PI/2:"radial-progress"===e.type?.001:5*Math.PI/4),endAngle:e.gauge?.endAngle??("gauge-semicircle"===e.type?5*Math.PI/2:"radial-progress"===e.type?2*Math.PI-.001:11*Math.PI/4),needle:e.gauge?.needle??"radial-progress"!==e.type},thresholds:[...e.thresholds??[]],plugins:[...e.plugins??[]],states:{...e.states??{}}}},JS=(e,t,n)=>[(0,zs.XM)("status-surface",{x:0,y:0,width:e.width,height:e.height,rx:t.layout.cornerRadius,fill:t.layout.background??t.theme.surface,stroke:t.theme.border,"stroke-width":1}),(0,zs.XM)("status-card",{x:Math.max(24,.08*e.width),y:Math.max(32,.22*e.height),width:Math.max(220,.84*e.width),height:Math.max(120,.38*e.height),rx:20,fill:t.theme.plotBackground,stroke:t.theme.border,"stroke-width":1}),(0,zs.XM)("status-accent",{x:Math.max(44,.12*e.width),y:Math.max(54,.3*e.height),width:68,height:8,rx:999,fill:n.accent??t.theme.palette[0],opacity:.88}),(0,zs.qn)("status-title",n.title,{x:Math.max(44,.12*e.width),y:Math.max(102,.38*e.height),fill:t.theme.title,"font-family":t.theme.fontFamily,"font-size":t.theme.fontSize+14,"font-weight":700}),(0,zs.qn)("status-subtitle",n.subtitle,{x:Math.max(44,.12*e.width),y:Math.max(132,.38*e.height),fill:t.theme.mutedText,"font-family":t.theme.fontFamily,"font-size":t.theme.fontSize+1})];class J4{registry;renderer=new R4;scheduler=new x4;events=new T4;pluginManager;container;resizeHandler;interaction;resizeObserver;destroyed=!1;inputConfig;resolvedConfig;renderId=0;renderPromise=Promise.resolve();constructor(t,n){this.registry=n.registry,this.container=(e=>{if("string"!=typeof e)return e;const t=document.querySelector(e);if(!t)throw new Error(`Infinity Charts could not find container: ${e}`);return t})(t.container),this.inputConfig={...t,container:this.container},this.resolvedConfig=XS(this.inputConfig,this.container),this.pluginManager=new k4([...n.globalPlugins??[],...this.resolvedConfig.plugins]),this.renderer.mount(this.container),this.interaction=new A4(this.container,this.events),this.interaction.update(this.resolvedConfig),this.pluginManager.invoke("beforeInit",this.createPluginContext("init")),this.render(["init"]),this.ready().then(()=>{this.destroyed||this.pluginManager.invoke("afterInit",this.createPluginContext("init"))}).catch(()=>{}),this.resizeHandler=((e,t)=>{let n=0;return(...r)=>{window.clearTimeout(n),n=window.setTimeout(()=>{e(...r)},t)}})(()=>{this.resize()},this.resolvedConfig.responsive.debounceMs),this.installResponsiveHandling()}ready(){return this.renderPromise}update(t){this.inputConfig={...this.inputConfig,...t,container:this.container},this.refreshResolvedConfig(),this.scheduleRender("config")}updateSeries(t){this.inputConfig.series=t,this.inputConfig.data=void 0,this.refreshResolvedConfig(),this.scheduleRender("series")}appendData(t){ZS(this.inputConfig,t),this.refreshResolvedConfig(),this.scheduleRender("realtime")}appendBatch(t){t.forEach(n=>ZS(this.inputConfig,n)),this.refreshResolvedConfig(),this.scheduleRender("realtime")}replaceData(t){this.inputConfig.data=t,this.inputConfig.series=void 0,this.refreshResolvedConfig(),this.scheduleRender("data")}resize(t,n){void 0!==t&&(this.inputConfig.width=t),void 0!==n&&(this.inputConfig.height=n),this.refreshResolvedConfig(),this.scheduleRender("resize")}setTheme(t){this.inputConfig.theme=t,this.refreshResolvedConfig(),this.scheduleRender("theme")}registerPlugin(t){this.pluginManager.register(t),this.scheduleRender("plugin")}registerPack(t){t.charts.forEach(n=>this.registry.register(n)),t.plugins?.forEach(n=>this.pluginManager.register(n)),this.scheduleRender("plugin")}on(t,n){return this.events.on(t,n)}destroy(){this.destroyed||(this.destroyed=!0,this.pluginManager.invoke("beforeDestroy",this.createPluginContext("config")),this.resizeObserver?.disconnect(),globalThis.removeEventListener("resize",this.resizeHandler),this.scheduler.destroy(),this.events.emit("destroy"),this.events.clear(),this.interaction.destroy(),this.renderer.destroy(),this.pluginManager.invoke("afterDestroy",this.createPluginContext("config")))}installResponsiveHandling(){if(this.resolvedConfig.responsive.enabled){if(typeof ResizeObserver<"u")return this.resizeObserver=new ResizeObserver(()=>{this.resizeHandler()}),void this.resizeObserver.observe(this.container);globalThis.addEventListener("resize",this.resizeHandler)}}scheduleRender(t){this.pluginManager.invoke("onUpdate",this.createPluginContext(t)),this.scheduler.schedule(t,n=>{this.render(n)})}render(t){const n=++this.renderId,r=this.renderInternal(t,n);this.renderPromise=r,r.catch(()=>{})}renderInternal(t,n){var r=this;return ee(function*(){if(r.destroyed)return;const o=(e=>"donut"===e.type||"pie"===e.type?qS(e):$S.has(e.type)?(e=>{const t=e.gauge,n=t?.min??0,r=t?.max??100,o=r-n||1,i=(e=>{if(US(e.series)){const t=e.series[0],n=t?.data[0];if(t&&void 0!==n)return"number"==typeof n?{value:n,label:t.name??"Value",color:t.color}:{value:n.y,label:n.label??t.name??"Value",color:t.color}}if(zS(e.data)){const t=e.data[0];if(t)return{value:t.value,label:t.label,color:t.color}}if(_g(e.data))return{value:e.data[0]??0,label:e.labels?.[0]??"Value"};if(Cg(e.data)){const[t,n]=Object.entries(e.data)[0]??["Value",0];return{value:n,label:t}}return{value:0,label:e.labels?.[0]??"Value"}})(e),s=(0,$s.qE)(i.value,n,r),a=(0,$s.qE)((s-n)/o,0,1),c=t?.bands?.length?t.bands.map((d,f)=>({id:`band-${f}`,from:(0,$s.qE)(d.from,n,r),to:(0,$s.qE)(d.to,n,r),color:d.color??"#2563eb",label:d.label??`Band ${f+1}`})):[{id:"band-0",from:n,to:r,color:"#2563eb",label:"Value"}],l=i.color??c.find(d=>s>=d.from&&s<=d.to)?.color??c[c.length-1]?.color??"#2563eb",u=t?.valueFormatter?t.valueFormatter(s):`${Number.isInteger(s)?s:s.toFixed(1)}${t?.unit??""}`;return{kind:"gauge",value:s,min:n,max:r,ratio:a,label:t?.label||i.label,unit:t?.unit??"",formattedValue:u,startAngle:t?.startAngle??5*Math.PI/4,endAngle:t?.endAngle??11*Math.PI/4,needle:t?.needle??!0,trackColor:t?.trackColor,color:l,segments:c}})(e):WS(e))(r.resolvedConfig),i=((e,t,n,r=280)=>{const i=n??e.clientHeight??r;return{width:Math.max(240,t??e.clientWidth??720),height:Math.max(r,i)}})(r.container,r.resolvedConfig.width,r.resolvedConfig.height,r.resolvedConfig.responsive.minHeight),s=((e,t,n)=>{const{padding:r,plotPadding:o}=e.layout,i=Wr(0,0,t.width,t.height),s="radial"===n.kind||"gauge"===n.kind,a=e.title.text||e.title.subtitle?e.title.subtitle?58:40:0,c=r.left,l=r.top,u=t.width-r.left-r.right;let v,f=c,h=l+a,p=u,g=t.height-r.top-r.bottom-a;if(e.legend.show&&("cartesian"===n.kind&&n.series.length>0||"radial"===n.kind&&n.slices.length>0||"gauge"===n.kind&&n.segments.length>0))if("right"===e.legend.position)v=Wr(t.width-r.right-164,h+8,156,Math.max(0,g-16)),p-=v.width+12;else if("left"===e.legend.position)v=Wr(r.left+8,h+8,156,Math.max(0,g-16)),f+=v.width+12,p-=v.width+12;else{const Xt=s?30:36,Sg=s?36:44;v=Wr(f+8,t.height-r.bottom-Sg,Math.max(0,p-16),Xt),g-=Sg}const y="sparkline"===e.type,O=s?{top:Math.min(o.top,4),right:Math.min(o.right,4),bottom:Math.min(o.bottom,4),left:Math.min(o.left,4)}:o,ne="cartesian"===n.kind&&e.yAxis.show&&!y?56:s?0:8,_t=Wr(f+ne+O.left,h+O.top,p-ne-(s?8:12)-O.left-O.right,g-("cartesian"===n.kind&&e.xAxis.show&&!y?42:s?0:8)-O.top-O.bottom);return{outer:i,header:Wr(c,l,u,a),body:Wr(f,h,p,g),plot:_t,legend:v}})(r.resolvedConfig,i,o),a=r.resolvedConfig.type,c=t[0]??"config",l=!r.registry.has(a)&&r.registry.hasLoader(a);let u;r.renderer.resize(i.width,i.height),l&&(r.renderer.render(JS(i,r.resolvedConfig,{title:`Loading ${a}`,subtitle:"Infinity Charts is fetching this chart module on demand.",accent:r.resolvedConfig.theme.palette[0]}),{background:r.resolvedConfig.theme.background,animation:r.resolvedConfig.animation,ariaLabel:`${a} chart loading`,chartType:a,themeMode:r.resolvedConfig.theme.mode}),r.events.emit("load:start",{type:a,reasons:t}));try{u=yield r.registry.ensure(a)}catch(d){if(r.destroyed||n!==r.renderId)return;throw r.renderer.render(JS(i,r.resolvedConfig,{title:`Unable to load ${a}`,subtitle:d instanceof Error?d.message:"Unexpected chart loading error.",accent:r.resolvedConfig.theme.semantic.danger}),{background:r.resolvedConfig.theme.background,animation:r.resolvedConfig.animation,ariaLabel:`${a} chart load error`,chartType:a,themeMode:r.resolvedConfig.theme.mode}),r.events.emit("load:error",{type:a,error:d}),d}r.destroyed||n!==r.renderId||(r.pluginManager.invoke("beforeRender",r.createPluginContext(c)),r.renderer.render(u.render({config:r.resolvedConfig,payload:o,size:i,frame:s,reasons:t}),{background:r.resolvedConfig.theme.background,animation:r.resolvedConfig.animation,ariaLabel:r.resolvedConfig.title.text||`${a} chart`,chartType:a,themeMode:r.resolvedConfig.theme.mode}),r.pluginManager.invoke("afterRender",r.createPluginContext(c)),l&&r.events.emit("load:end",{type:a,reasons:t}),r.events.emit("render",{reasons:t,size:i,type:a}))})()}refreshResolvedConfig(){this.resolvedConfig=XS({...this.inputConfig,container:this.container},this.container),this.interaction.update(this.resolvedConfig)}createPluginContext(t){return{chart:this,config:this.resolvedConfig,reason:t}}}const qr=new class e6{charts=new Map;loaders=new Map;pending=new Map;register(t){this.charts.set(t.id,t)}registerLoader(t,n){this.loaders.set(t,n)}has(t){return this.charts.has(t)}hasLoader(t){return this.loaders.has(t)}get(t){const n=this.charts.get(t);if(!n)throw new Error(`Infinity Charts has no chart registered for "${t}".`);return n}ensure(t){var n=this;return ee(function*(){if(n.charts.has(t))return n.get(t);const r=n.pending.get(t);if(r)return r;const o=n.loaders.get(t);if(!o)throw new Error(`Infinity Charts has no chart registered or loader configured for "${t}".`);const i=o().then(s=>(n.register(s),n.pending.delete(t),n.get(t))).catch(s=>{throw n.pending.delete(t),s});return n.pending.set(t,i),i})()}},wg=[];C4.forEach(e=>{qr.registerLoader(e,HS[e])});const eT=e=>{e.charts.forEach(t=>qr.register(t)),e.plugins?.forEach(t=>wg.push(t))},n6=function(){var e=ee(function*(t){yield qr.ensure(t)});return function(n){return e.apply(this,arguments)}}(),r6=function(){var e=ee(function*(t){yield Promise.all(t.map(n=>qr.ensure(n)))});return function(n){return e.apply(this,arguments)}}(),o6=function(){var e=ee(function*(){const{coreChartsPack:t}=yield Promise.all([T.e(639),T.e(76),T.e(541)]).then(T.bind(T,541));eT(t)});return function(){return e.apply(this,arguments)}}(),tT=e=>new J4(e,{registry:qr,globalPlugins:wg});class nT{host;hooks;chart;lastConfig;constructor(t,n){this.host=t,this.hooks=n,this.chart=null,this.lastConfig={}}initialize(t){var n=this.cloneConfig(t);return n.type?this.chart?this.update(n):(this.lastConfig=n,this.chart=tT(this.toCreateConfig(n)),this.hooks.onCreate(this.toEvent(n)),this.chart.ready().then(()=>{this.chart&&this.hooks.onReady(this.toEvent(this.lastConfig))})):(this.lastConfig=n,Promise.resolve())}update(t){var n=this.cloneConfig(t);return n.type?this.chart?(this.lastConfig=n,this.chart.update(this.toUpdateConfig(n)),this.hooks.onUpdated(this.toEvent(n)),this.chart.ready().then(()=>{this.chart&&this.hooks.onReady(this.toEvent(this.lastConfig))})):this.initialize(n):(this.lastConfig=n,Promise.resolve())}resize(t,n){this.chart&&(this.chart.resize(t,n),this.hooks.onResized(this.toEvent(this.lastConfig)))}updateSeries(t){this.chart&&(this.chart.updateSeries(t),this.hooks.onUpdated(this.toEvent(this.lastConfig)))}appendData(t){this.chart&&(this.chart.appendData(t),this.hooks.onUpdated(this.toEvent(this.lastConfig)))}appendBatch(t){this.chart&&(this.chart.appendBatch(t),this.hooks.onUpdated(this.toEvent(this.lastConfig)))}replaceData(t){this.chart&&(this.chart.replaceData(t),this.hooks.onUpdated(this.toEvent(this.lastConfig)))}setTheme(t){this.chart&&(this.chart.setTheme(t),this.hooks.onUpdated(this.toEvent(this.lastConfig)))}registerPlugin(t){this.chart&&(this.chart.registerPlugin(t),this.hooks.onUpdated(this.toEvent(this.lastConfig)))}getChart(){return this.chart}destroy(){this.chart&&(this.chart.destroy(),this.hooks.onDestroyed(this.toEvent(this.lastConfig)),this.chart=null)}toCreateConfig(t){var n=this.cloneConfig(t);return n.container=this.host,n}toUpdateConfig(t){var n=this.cloneConfig(t);return delete n.container,n}toEvent(t){return{host:this.host,chart:this.chart,config:this.cloneConfig(t)}}cloneConfig(t){return t?Object.assign({},t,{title:this.cloneValue(t.title),labels:this.cloneArray(t.labels),data:this.cloneValue(t.data),series:this.cloneValue(t.series),xAxis:this.cloneValue(t.xAxis),yAxis:this.cloneValue(t.yAxis),grid:this.cloneValue(t.grid),legend:this.cloneValue(t.legend),layout:this.cloneValue(t.layout),colors:this.cloneValue(t.colors),thresholds:this.cloneValue(t.thresholds),gauge:this.cloneValue(t.gauge),animation:this.cloneValue(t.animation),responsive:this.cloneValue(t.responsive),interaction:this.cloneValue(t.interaction),realtime:this.cloneValue(t.realtime),plugins:this.cloneValue(t.plugins)}):{}}cloneArray(t){return t&&(t.slice?t.slice():t)}cloneValue(t){return t&&(Array.isArray(t)?t.map(n=>this.cloneValue(n)):"object"==typeof t?Object.assign({},t):t)}}let Mg=(()=>{class e{static nextHostId=0;config={};create=new ue;ready=new ue;updated=new ue;resized=new ue;destroyed=new ue;hostId="rvl-chart-component-"+ ++e.nextHostId;controller;initialized;hooks;constructor(){this.initialized=!1,this.controller=null,this.hooks={onCreate:n=>this.create.emit(n),onReady:n=>this.ready.emit(n),onUpdated:n=>this.updated.emit(n),onResized:n=>this.resized.emit(n),onDestroyed:n=>this.destroyed.emit(n)}}ngAfterViewInit(){setTimeout(()=>{var n=this.ensureController(!1);n&&(this.initialized=!0,n.initialize(this.config))},0)}ngOnChanges(n){!this.initialized||!this.controller||n.config&&this.controller.update(this.config)}ngOnDestroy(){this.controller&&this.controller.destroy()}update(n){return this.config=n,this.ensureController(!0).update(this.config)}resize(n,r){this.controller&&this.controller.resize(n,r)}updateSeries(n){this.controller&&this.controller.updateSeries(n)}appendData(n){this.controller&&this.controller.appendData(n)}appendBatch(n){this.controller&&this.controller.appendBatch(n)}replaceData(n){this.controller&&this.controller.replaceData(n)}setTheme(n){this.controller&&this.controller.setTheme(n)}registerPlugin(n){this.controller&&this.controller.registerPlugin(n)}getChart(){return this.controller?this.controller.getChart():null}ensureController(n){if(this.controller)return this.controller;var r=this.resolveHostElement();if(!r){if(n)throw new Error("Unable to resolve revive-infinity-chart host element.");return null}return this.controller=new nT(r,this.hooks),this.controller}resolveHostElement(){return typeof document<"u"?document.querySelector('[data-rvl-chart-component-host="'+this.hostId+'"]'):null}static \u0275fac=function(r){return new(r||e)};static \u0275cmp=kc({type:e,selectors:[["revive-infinity-chart"]],hostVars:1,hostBindings:function(r,o){2&r&&St("data-rvl-chart-component-host",o.hostId)},inputs:{config:"config"},outputs:{create:"create",ready:"ready",updated:"updated",resized:"resized",destroyed:"destroyed"},standalone:!1,features:[zt],decls:0,vars:0,template:function(r,o){},encapsulation:2})}return e})(),Ig=(()=>{class e{static nextHostId=0;config={};create=new ue;ready=new ue;updated=new ue;resized=new ue;destroyed=new ue;hostId="rvl-chart-directive-"+ ++e.nextHostId;controller;initialized;hooks;constructor(){this.initialized=!1,this.controller=null,this.hooks={onCreate:n=>this.create.emit(n),onReady:n=>this.ready.emit(n),onUpdated:n=>this.updated.emit(n),onResized:n=>this.resized.emit(n),onDestroyed:n=>this.destroyed.emit(n)}}ngAfterViewInit(){setTimeout(()=>{var n=this.ensureController(!1);n&&(this.initialized=!0,n.initialize(this.config))},0)}ngOnChanges(n){!this.initialized||!this.controller||n.config&&this.controller.update(this.config)}ngOnDestroy(){this.controller&&this.controller.destroy()}update(n){return this.config=n,this.ensureController(!0).update(this.config)}resize(n,r){this.controller&&this.controller.resize(n,r)}updateSeries(n){this.controller&&this.controller.updateSeries(n)}appendData(n){this.controller&&this.controller.appendData(n)}appendBatch(n){this.controller&&this.controller.appendBatch(n)}replaceData(n){this.controller&&this.controller.replaceData(n)}setTheme(n){this.controller&&this.controller.setTheme(n)}registerPlugin(n){this.controller&&this.controller.registerPlugin(n)}getChart(){return this.controller?this.controller.getChart():null}ensureController(n){if(this.controller)return this.controller;var r=this.resolveHostElement();if(!r){if(n)throw new Error("Unable to resolve reviveInfinityChart host element.");return null}return this.controller=new nT(r,this.hooks),this.controller}resolveHostElement(){return typeof document<"u"?document.querySelector('[data-rvl-chart-directive-host="'+this.hostId+'"]'):null}static \u0275fac=function(r){return new(r||e)};static \u0275dir=L({type:e,selectors:[["","reviveInfinityChart",""]],hostVars:1,hostBindings:function(r,o){2&r&&St("data-rvl-chart-directive-host",o.hostId)},inputs:{config:[0,"reviveInfinityChart","config"]},outputs:{create:"create",ready:"ready",updated:"updated",resized:"resized",destroyed:"destroyed"},standalone:!1,features:[zt]})}return e})(),rT=(()=>{class e{create(n,r){return tT(Object.assign({},r||{},{container:n}))}load(n){return n6(n)}preload(n){return r6(n)}loadAll(){return o6()}registerPlugin(n){(e=>{wg.push(e)})(n)}registerPack(n){eT(n)}destroy(n){n&&n.destroy()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=G({token:e,factory:e.\u0275fac})}return e})(),i6=(()=>{class e{static forRoot(){return{ngModule:e,providers:[rT]}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=Bn({type:e});static \u0275inj=tn({})}return e})();const s6=[{title:"InfinityChartComponent",summary:"Use <revive-infinity-chart> when the chart itself should be rendered declaratively inside the Angular template."},{title:"InfinityChartDirective",summary:"Use [reviveInfinityChart] when an existing slot, dashboard card, widget shell, or analytics panel should become a chart host."},{title:"InfinityChartService",summary:"Create charts programmatically for modal slots, detached surfaces, fullscreen views, or service-driven workflows."}],a6={angular:"21.2.x",packageVersion:"21.0.0",coreVersion:"1.0.1",runtimeTarget:"Angular 21 + Angular CLI",docsPath:"/angular-21/"};function c6(e,t){if(1&e&&(E(0,"option",32),M(1),C()),2&e){const n=t.$implicit;ye("value",n.value),P(),Yt(n.label)}}function l6(e,t){if(1&e){const n=function wb(){return m()}();E(0,"button",33),J("click",function(){const o=function Am(e){return F.lFrame.contextLView=e,e[8]}(n).$implicit;return function Nm(e){return F.lFrame.contextLView=null,e}(Vr().setSurface(o.id))}),M(1),C()}if(2&e){const n=t.$implicit,r=Vr();Xo("is-active",r.isSurfaceActive(n.id)),St("aria-selected",r.isSurfaceActive(n.id)),P(),Vt(" ",n.label," ")}}function u6(e,t){if(1&e&&(E(0,"div",34),ut(1,"revive-infinity-chart",35),C()),2&e){const n=Vr();P(),yn("display","block")("height",n.state.height,"px"),ye("config",n.previewConfig)}}function d6(e,t){if(1&e&&(E(0,"div",36)(1,"div",37)(2,"span"),M(3,"Quarterly overview"),C(),E(4,"strong"),M(5,"Directive slot"),C()(),ut(6,"div",38),C()),2&e){const n=Vr();P(6),yn("height",n.state.height,"px"),ye("reviveInfinityChart",n.previewConfig)}}function f6(e,t){if(1&e&&(E(0,"div",39)(1,"div",40)(2,"div",41),M(3,"Compact widget"),C(),ut(4,"div",42),C()()),2&e){const n=Vr();P(4),yn("height",n.state.height-40,"px"),ye("reviveInfinityChart",n.previewConfig)}}function h6(e,t){if(1&e&&(E(0,"div",43)(1,"div",44)(2,"span"),M(3,"Analytics shell"),C(),E(4,"strong"),M(5,"Dark chrome"),C()(),ut(6,"div",45),C()),2&e){const n=Vr();P(6),yn("height",n.state.height,"px"),ye("reviveInfinityChart",n.previewConfig)}}const p6=[{value:"line",label:"Line"},{value:"area",label:"Area"},{value:"stacked-area",label:"Stacked area"},{value:"bar",label:"Bar"},{value:"bar-3d",label:"Bar 3D"},{value:"combo",label:"Combo"},{value:"sparkline",label:"Sparkline"},{value:"scatter",label:"Scatter"},{value:"gauge",label:"Gauge"},{value:"gauge-semicircle",label:"Gauge semicircle"},{value:"radial-progress",label:"Radial progress"},{value:"thermometer",label:"Thermometer"},{value:"thermometer-horizontal",label:"Thermometer horizontal"},{value:"battery",label:"Battery"},{value:"pie",label:"Pie"},{value:"donut",label:"Donut"}];let g6=(()=>{class e{constructor(){this.chartTypes=p6,this.surfaces=[{id:"component",label:"Component",description:"Render the chart directly with <revive-infinity-chart> when the chart block itself is part of the template."},{id:"dashboard",label:"Dashboard",description:"Attach the directive to a dedicated chart slot inside a dashboard card while the shell stays fully custom."},{id:"widget",label:"Widget",description:"Preview how compact gauges, donuts, and small analytics cards feel in tighter layout slots."},{id:"dark-panel",label:"Dark panel",description:"Check dark product chrome quickly without leaving the docs surface."}],this.activeSurface="component",this.copyButtonLabel="Copy code",this.state={type:"line",theme:"light",height:320,showLegend:!0,showTooltip:!0,showNumber:!0,reducedMotion:!1},this.previewConfig={},this.generatedCode="",this.applyPlaygroundState(!1)}setSurface(n){this.activeSurface!==n&&(this.activeSurface=n,this.applyPlaygroundState(!1))}applyPlaygroundState(n){this.state.height=Number(this.state.height),this.previewConfig=this.buildPreviewConfig(n),this.generatedCode=this.buildGeneratedCode()}shuffleData(){this.applyPlaygroundState(!0)}copyCode(){var n=document.createElement("textarea");n.value=this.generatedCode,n.setAttribute("readonly","true"),n.style.position="absolute",n.style.left="-9999px",document.body.appendChild(n),n.select();try{document.execCommand("copy"),this.copyButtonLabel="Copied"}catch{this.copyButtonLabel="Copy failed"}document.body.removeChild(n),setTimeout(()=>{this.copyButtonLabel="Copy code"},1200)}isSurfaceActive(n){return this.activeSurface===n}getActiveSurfaceDescription(){var n;for(n=0;n<this.surfaces.length;n+=1)if(this.surfaces[n].id===this.activeSurface)return this.surfaces[n].description;return""}buildPreviewConfig(n){var r=this.createChartPreset(this.state.type,n);return r.theme=("dark-panel"===this.activeSurface?"dark":null)||this.state.theme,r.showLegend=this.state.showLegend,r.showTooltip=this.state.showTooltip,r.showNumber=this.state.showNumber,r.animation={enabled:!this.state.reducedMotion,duration:this.state.reducedMotion?0:600,mode:this.state.reducedMotion?"none":"subtle"},"widget"===this.activeSurface&&(r.layout=Object.assign({},r.layout||{},{cornerRadius:18})),"dark-panel"===this.activeSurface&&(r.colors=Object.assign({},r.colors||{},{surface:"#091323",surfaceAlt:"#111b2f",plotBackground:"#0d182a",plotBorder:"#203451",border:"#1f334f",text:"#d4def0",mutedText:"#8ea1bb",title:"#f8fbff"})),r}createChartPreset(n,r){var o=r?this.randomBetween(-4,6):0;return"gauge"===n||"gauge-semicircle"===n||"radial-progress"===n||"thermometer"===n||"thermometer-horizontal"===n||"battery"===n?{type:n,title:{text:this.chartLabel(n),subtitle:"Interactive wrapper preview"},data:[{label:"Status",value:72+o}],gauge:{min:0,max:100,unit:"%",bands:[{from:0,to:55,color:"#22c55e",label:"Healthy"},{from:55,to:80,color:"#f59e0b",label:"Attention"},{from:80,to:100,color:"#ef4444",label:"Critical"}]}}:"pie"===n||"donut"===n?{type:n,title:{text:this.chartLabel(n),subtitle:"Interactive wrapper preview"},data:[{label:"New",value:42+o,color:"#2563eb"},{label:"Expansion",value:28+this.randomBetween(-3,4),color:"#10b981"},{label:"Renewal",value:18+this.randomBetween(-2,3),color:"#f59e0b"},{label:"Recovery",value:12+this.randomBetween(-2,2),color:"#ef4444"}]}:"scatter"===n?{type:n,title:{text:this.chartLabel(n),subtitle:"Interactive wrapper preview"},series:[{name:"Correlation",data:[{x:6,y:16+o},{x:12,y:23+o},{x:18,y:29+o},{x:22,y:31+o},{x:30,y:40+o}]}]}:"sparkline"===n?{type:n,title:{text:this.chartLabel(n),subtitle:"Interactive wrapper preview"},data:[18,22,20,27,29,31,34].map(function(i){return i+o}),showLegend:!1}:"bar"===n||"bar-3d"===n?{type:n,title:{text:this.chartLabel(n),subtitle:"Interactive wrapper preview"},labels:["North","South","West","Global"],series:[{name:"Revenue",data:[22+o,31+o,27+o,38+o]},{name:"Plan",data:[18+o,26+o,24+o,32+o],color:"#22c55e"}]}:"combo"===n?{type:n,title:{text:this.chartLabel(n),subtitle:"Interactive wrapper preview"},labels:["Q1","Q2","Q3","Q4"],series:[{name:"Revenue",type:"bar",data:[24+o,32+o,28+o,40+o]},{name:"Growth",type:"line",data:[18+o,27+o,31+o,38+o],color:"#38bdf8"}]}:{type:n,title:{text:this.chartLabel(n),subtitle:"Interactive wrapper preview"},labels:["Jan","Feb","Mar","Apr","May","Jun"],series:[{name:"Current",data:[14+o,18+o,17+o,26+o,29+o,34+o]},{name:"Plan",data:[12+o,16+o,19+o,23+o,28+o,31+o],color:"#38bdf8"}]}}buildGeneratedCode(){return["// app.module.ts","import { BrowserModule } from '@angular/platform-browser';","import { NgModule } from '@angular/core';","import { InfinityChartsModule } from '@revivejs/angular-infinity-charts';","import { AppComponent } from './app.component';","","@NgModule({"," declarations: [AppComponent],"," imports: [BrowserModule, InfinityChartsModule.forRoot()],"," bootstrap: [AppComponent]","})","export class AppModule {}",""].concat(this.buildTemplateDrivenSnippet()).join("\n")}buildTemplateDrivenSnippet(){return["// app.component.ts","import { Component } from '@angular/core';","","@Component({"," selector: 'app-root',"," templateUrl: './app.component.html'","})","export class AppComponent {"," chartConfig = "+this.stringifyCode(this.previewConfig,2)+";","}","","// app.component.html","component"===this.activeSurface?'<revive-infinity-chart [config]="chartConfig" style="display:block;height:'+this.state.height+'px;"></revive-infinity-chart>':'<div class="chart-slot" [reviveInfinityChart]="chartConfig" style="height:'+this.state.height+'px;"></div>']}chartLabel(n){var r;for(r=0;r<this.chartTypes.length;r+=1)if(this.chartTypes[r].value===n)return this.chartTypes[r].label;return n}stringifyCode(n,r){var s,a,c,o=this.pad(r),i=this.pad(r+2);if(null===n)return"null";if("string"==typeof n)return"'"+String(n).split("'").join("\\'")+"'";if("number"==typeof n||"boolean"==typeof n)return String(n);if(Array.isArray(n)){if(!n.length)return"[]";for(c=["["],a=0;a<n.length;a+=1)c.push(i+this.stringifyCode(n[a],r+2)+(a<n.length-1?",":""));return c.push(o+"]"),c.join("\n")}if(!(s=Object.keys(n)).length)return"{}";for(c=["{"],a=0;a<s.length;a+=1)c.push(i+s[a]+": "+this.stringifyCode(n[s[a]],r+2)+(a<s.length-1?",":""));return c.push(o+"}"),c.join("\n")}pad(n){return new Array(n+1).join(" ")}randomBetween(n,r){return Math.round(n+Math.random()*(r-n))}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=kc({type:e,selectors:[["playground-panel"]],standalone:!1,decls:58,vars:17,consts:[["id","playground",1,"panel"],[1,"panel-header"],[1,"playground-shell"],[1,"playground-controls"],[1,"field"],["for","playground-type"],["id","playground-type","name","type",3,"ngModelChange","ngModel"],[3,"value",4,"ngFor","ngForOf"],["for","playground-theme"],["id","playground-theme","name","theme",3,"ngModelChange","ngModel"],["value","light"],["value","dark"],["for","playground-height"],["id","playground-height","name","height","type","range","min","220","max","420","step","10",3,"ngModelChange","ngModel"],[1,"toggle-row"],["type","checkbox","name","showLegend",3,"ngModelChange","ngModel"],["type","checkbox","name","showTooltip",3,"ngModelChange","ngModel"],["type","checkbox","name","showNumber",3,"ngModelChange","ngModel"],["type","checkbox","name","reducedMotion",3,"ngModelChange","ngModel"],[1,"playground-actions"],["type","button",3,"click"],["type","button",1,"ghost-button",3,"click"],[1,"playground-preview"],["role","tablist","aria-label","Preview surfaces",1,"playground-preview-tabs"],["type","button","role","tab","class","playground-preview-tab",3,"is-active","click",4,"ngFor","ngForOf"],[1,"playground-description"],[1,"playground-stage",3,"ngSwitch"],["class","playground-surface",4,"ngSwitchCase"],["class","playground-surface surface-dashboard",4,"ngSwitchCase"],["class","playground-surface surface-widget",4,"ngSwitchCase"],["class","playground-surface surface-dark",4,"ngSwitchDefault"],[1,"code-block","code-preview"],[3,"value"],["type","button","role","tab",1,"playground-preview-tab",3,"click"],[1,"playground-surface"],[1,"playground-chart-host",3,"config"],[1,"playground-surface","surface-dashboard"],[1,"surface-head"],[1,"playground-chart-slot",3,"reviveInfinityChart"],[1,"playground-surface","surface-widget"],[1,"widget-card"],[1,"widget-label"],[1,"playground-chart-slot","is-compact",3,"reviveInfinityChart"],[1,"playground-surface","surface-dark"],[1,"surface-head","is-dark"],[1,"playground-chart-slot","is-dark",3,"reviveInfinityChart"]],template:function(r,o){1&r&&(E(0,"article",0)(1,"div",1)(2,"h2"),M(3,"Playground"),C(),E(4,"p"),M(5,"Try the Angular wrapper in a real chart surface and copy the generated snippet for your app."),C()(),E(6,"div",2)(7,"form",3)(8,"div",4)(9,"label",5),M(10,"Chart type"),C(),E(11,"select",6),_n("ngModelChange",function(s){return Un(o.state.type,s)||(o.state.type=s),s}),J("ngModelChange",function(){return o.applyPlaygroundState(!1)}),Or(12,c6,2,2,"option",7),C()(),E(13,"div",4)(14,"label",8),M(15,"Theme"),C(),E(16,"select",9),_n("ngModelChange",function(s){return Un(o.state.theme,s)||(o.state.theme=s),s}),J("ngModelChange",function(){return o.applyPlaygroundState(!1)}),E(17,"option",10),M(18,"Light"),C(),E(19,"option",11),M(20,"Dark"),C()()(),E(21,"div",4)(22,"label",12),M(23,"Height "),E(24,"span"),M(25),C()(),E(26,"input",13),_n("ngModelChange",function(s){return Un(o.state.height,s)||(o.state.height=s),s}),J("ngModelChange",function(){return o.applyPlaygroundState(!1)}),C()(),E(27,"div",14)(28,"label")(29,"input",15),_n("ngModelChange",function(s){return Un(o.state.showLegend,s)||(o.state.showLegend=s),s}),J("ngModelChange",function(){return o.applyPlaygroundState(!1)}),C(),M(30," Show legend"),C(),E(31,"label")(32,"input",16),_n("ngModelChange",function(s){return Un(o.state.showTooltip,s)||(o.state.showTooltip=s),s}),J("ngModelChange",function(){return o.applyPlaygroundState(!1)}),C(),M(33," Show tooltip"),C(),E(34,"label")(35,"input",17),_n("ngModelChange",function(s){return Un(o.state.showNumber,s)||(o.state.showNumber=s),s}),J("ngModelChange",function(){return o.applyPlaygroundState(!1)}),C(),M(36," Show number"),C(),E(37,"label")(38,"input",18),_n("ngModelChange",function(s){return Un(o.state.reducedMotion,s)||(o.state.reducedMotion=s),s}),J("ngModelChange",function(){return o.applyPlaygroundState(!1)}),C(),M(39," Reduced motion"),C()(),E(40,"div",19)(41,"button",20),J("click",function(){return o.shuffleData()}),M(42,"Randomize data"),C(),E(43,"button",21),J("click",function(){return o.copyCode()}),M(44),C()()(),E(45,"div",22)(46,"div",23),Or(47,l6,2,4,"button",24),C(),E(48,"p",25),M(49),C(),E(50,"div",26),Or(51,u6,2,5,"div",27)(52,d6,7,3,"div",28)(53,f6,5,3,"div",29)(54,h6,7,3,"div",30),C(),E(55,"pre",31)(56,"code"),M(57),C()()()()()),2&r&&(P(11),Dn("ngModel",o.state.type),P(),ye("ngForOf",o.chartTypes),P(4),Dn("ngModel",o.state.theme),P(9),Vt("",o.state.height,"px"),P(),Dn("ngModel",o.state.height),P(3),Dn("ngModel",o.state.showLegend),P(3),Dn("ngModel",o.state.showTooltip),P(3),Dn("ngModel",o.state.showNumber),P(3),Dn("ngModel",o.state.reducedMotion),P(6),Yt(o.copyButtonLabel),P(3),ye("ngForOf",o.surfaces),P(2),Yt(o.getActiveSurfaceDescription()),P(),ye("ngSwitch",o.activeSurface),P(),ye("ngSwitchCase","component"),P(),ye("ngSwitchCase","dashboard"),P(),ye("ngSwitchCase","widget"),P(4),Yt(o.generatedCode))},dependencies:[Sp,Sl,KM,XM,DS,AS,kS,Al,yg,Kp,zl,oS,iS,mg,js,Mg,Ig],styles:["[_nghost-%COMP%]{display:block}.panel[_ngcontent-%COMP%]{padding:24px;border:1px solid rgba(15,23,42,.08);border-radius:28px;background:#ffffffeb;box-shadow:0 20px 60px #0f172a14}.panel-header[_ngcontent-%COMP%]{display:flex;align-items:start;justify-content:space-between;gap:14px;margin-bottom:18px}.panel-header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin:0 0 8px}.panel-header[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;color:#475569;line-height:1.7}button[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 16px;border-radius:999px;border:1px solid transparent;cursor:pointer;font:inherit;background:linear-gradient(135deg,#38bdf8,#2563eb);color:#fff;font-weight:700}.ghost-button[_ngcontent-%COMP%]{background:#ffffffeb;color:#0f172a;border-color:#0f172a14}.code-block[_ngcontent-%COMP%], .code-preview[_ngcontent-%COMP%]{overflow:auto;padding:14px 16px;border-radius:18px;background:#0f172a;color:#dbeafe;line-height:1.6;font-family:SFMono-Regular,Consolas,monospace;font-size:13px}.playground-shell[_ngcontent-%COMP%]{display:grid;grid-template-columns:minmax(300px,340px) minmax(0,1fr);gap:20px}.playground-controls[_ngcontent-%COMP%], .playground-preview[_ngcontent-%COMP%]{padding:20px;border-radius:22px;border:1px solid rgba(15,23,42,.08);background:#f8fbff}.playground-controls[_ngcontent-%COMP%]{display:grid;align-content:start;gap:16px}.field[_ngcontent-%COMP%]{display:grid;gap:8px}.field[_ngcontent-%COMP%] label[_ngcontent-%COMP%], .field[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#475569;font-size:13px;font-weight:600}.field[_ngcontent-%COMP%] input[_ngcontent-%COMP%], .field[_ngcontent-%COMP%] select[_ngcontent-%COMP%]{width:100%;min-height:42px;padding:0 12px;border-radius:14px;border:1px solid rgba(15,23,42,.1);background:#fffffffa;color:#0f172a;font:inherit}.toggle-row[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:10px 14px}.toggle-row[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:8px;color:#334155;font-size:13px}.playground-actions[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:12px}.playground-preview-tabs[_ngcontent-%COMP%]{display:inline-flex;flex-wrap:wrap;gap:8px;margin-bottom:12px;padding:6px;border:1px solid rgba(15,23,42,.08);border-radius:999px;background:#ffffffe6}.playground-preview-tab[_ngcontent-%COMP%]{border:0;border-radius:999px;background:transparent;color:#475569;padding:9px 14px;cursor:pointer;transition:.18s ease}.playground-preview-tab.is-active[_ngcontent-%COMP%]{background:#2563eb24;color:#0f172a}.playground-description[_ngcontent-%COMP%]{margin:0 0 14px;color:#475569;line-height:1.7}.playground-stage[_ngcontent-%COMP%]{min-height:440px;margin-bottom:18px}.playground-surface[_ngcontent-%COMP%], .playground-chart-host[_ngcontent-%COMP%], .playground-chart-slot[_ngcontent-%COMP%]{display:block;width:100%}.playground-surface[_ngcontent-%COMP%]{padding:18px;border-radius:20px;border:1px solid rgba(15,23,42,.08);background:#fffffff5}.playground-chart-host[_ngcontent-%COMP%], .playground-chart-slot[_ngcontent-%COMP%]{min-height:220px;border-radius:20px;overflow:hidden;border:1px solid rgba(15,23,42,.08);background:#fffffffa}.surface-head[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.surface-head[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#64748b;font-size:13px;text-transform:uppercase;letter-spacing:.08em}.surface-head[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:14px;color:#0f172a}.surface-widget[_ngcontent-%COMP%]{background:linear-gradient(180deg,#fffdf9,#f8fbff)}.widget-card[_ngcontent-%COMP%]{padding:16px;border-radius:18px;background:#fffffffa;border:1px solid rgba(15,23,42,.08)}.widget-label[_ngcontent-%COMP%]{margin-bottom:12px;color:#64748b;font-size:13px;text-transform:uppercase;letter-spacing:.08em}.playground-chart-slot.is-compact[_ngcontent-%COMP%]{min-height:180px}.surface-dark[_ngcontent-%COMP%]{background:linear-gradient(180deg,#111b2f,#091323);border-color:#94a3b829}.surface-head.is-dark[_ngcontent-%COMP%] strong[_ngcontent-%COMP%], .surface-head.is-dark[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#e2e8f0}.playground-chart-slot.is-dark[_ngcontent-%COMP%]{border-color:#94a3b829;background:#091323f5}@media(max-width:1080px){.playground-shell[_ngcontent-%COMP%]{grid-template-columns:1fr}}"]})}}return e})();const m6=["realtimeChart"];function y6(e,t){if(1&e&&(E(0,"section",37)(1,"h3"),M(2),C(),E(3,"p"),M(4),C()()),2&e){const n=t.$implicit;P(2),Yt(n.title),P(2),Yt(n.summary)}}function v6(e,t){if(1&e&&(E(0,"div",38),M(1),C()),2&e){const n=t.$implicit;P(),Yt(n)}}let D6=(()=>{class e{constructor(n){this.chartService=n,this.apiCards=s6,this.releaseLine=a6,this.logs=[],this.installSnippet="npm install @revivejs/angular-infinity-charts",this.moduleSnippet="import { InfinityChartsModule } from '@revivejs/angular-infinity-charts';\n\n@NgModule({\n imports: [InfinityChartsModule.forRoot()]\n})",this.componentSnippet='<revive-infinity-chart\n [config]="lineChartConfig"\n style="display:block;height:320px;">\n</revive-infinity-chart>',this.directiveSnippet='<div class="chart-slot"\n [reviveInfinityChart]="barCardConfig"\n style="height:320px;">\n</div>',this.serviceSnippet="const chart = this.chartService.create(target, {\n type: 'donut',\n title: 'Revenue mix',\n data: [\n { label: 'New', value: 42 },\n { label: 'Expansion', value: 28 },\n { label: 'Renewal', value: 19 }\n ],\n theme: 'light'\n});\n\nchart.ready().then(() => console.log('Chart ready'));",this.lineChartConfig=this.createLineChartConfig(),this.cardChartConfig=this.createBarCardConfig("light"),this.realtimeChartConfig=this.createRealtimeConfig("light"),this.cardTheme="light",this.serviceChartMounted=!1,this.serviceChart=null,this.realtimePointIndex=7,this.realtimeTheme="light",this.log("Angular 21 docs loaded successfully.")}ngOnDestroy(){this.serviceChart&&(this.serviceChart.destroy(),this.serviceChart=null)}onCreate(n){this.log(n+" created.")}onReady(n){this.log(n+" ready.")}onUpdated(n){this.log(n+" updated.")}onDestroyed(n){this.log(n+" destroyed.")}toggleCardTheme(){this.cardTheme="light"===this.cardTheme?"dark":"light",this.cardChartConfig=this.createBarCardConfig(this.cardTheme),this.log("Directive card switched to "+this.cardTheme+" theme.")}mountServiceChart(){var n=document.getElementById("service-chart-slot");if(n){if(this.serviceChart)return this.serviceChart.destroy(),this.serviceChart=null,this.serviceChartMounted=!1,this.log("Service chart destroyed."),void(n.innerHTML="");this.serviceChart=this.chartService.create(n,{type:"donut",title:{text:"Revenue mix",subtitle:"Mounted from the service"},data:[{label:"New",value:42,color:"#2563eb"},{label:"Expansion",value:28,color:"#10b981"},{label:"Renewal",value:19,color:"#f59e0b"},{label:"Recovery",value:11,color:"#ef4444"}],theme:"light",showLegend:!0}),this.serviceChartMounted=!0,this.log("Service chart created."),this.serviceChart.ready().then(()=>{this.log("Service chart ready.")})}}appendRealtimePoint(){var n;this.realtimeChart&&(n=96+Math.round(28*Math.random()),this.realtimePointIndex+=1,this.realtimeChart.appendData({label:"T"+this.realtimePointIndex,value:n}),this.log("Realtime point appended: "+n+"."))}toggleRealtimeTheme(){this.realtimeTheme="light"===this.realtimeTheme?"dark":"light",this.realtimeChartConfig=this.createRealtimeConfig(this.realtimeTheme),this.log("Realtime example switched to "+this.realtimeTheme+" theme.")}clearLog(){this.logs=[],this.log("Log cleared.")}createLineChartConfig(){return{type:"line",title:{text:"Monthly recurring revenue",subtitle:"Standalone component example"},labels:["Jan","Feb","Mar","Apr","May","Jun"],series:[{name:"Revenue",data:[14,18,17,26,29,34]},{name:"Plan",data:[12,16,19,23,28,31],color:"#38bdf8"}],thresholds:[{value:28,axis:"y",label:"Target",color:"#f59e0b"}],theme:"dark",legend:{show:!0,position:"bottom"}}}createBarCardConfig(n){var r={type:"bar",title:{text:"Pipeline by segment",subtitle:"Directive-driven dashboard slot"},labels:["SMB","Mid-market","Enterprise","Partners"],series:[{name:"Qualified",data:[18,26,22,14]},{name:"Closed",data:[9,14,16,7],color:"#22c55e"}],legend:{show:!0,position:"bottom"},theme:n};return"dark"===n&&(r.colors={surface:"#0b1220",surfaceAlt:"#111a2d",plotBackground:"#0f1a2c",plotBorder:"#1e3352",border:"#203451",text:"#d8e3f3",mutedText:"#93a5be",title:"#f8fbff"}),r}createRealtimeConfig(n){var r={type:"line",title:{text:"Realtime throughput",subtitle:"Wrapper methods stay available through the component instance"},labels:["T1","T2","T3","T4","T5","T6"],data:[98,104,102,118,111,120],theme:n,realtime:{enabled:!0,maxPoints:10},showLegend:!1};return"dark"===n&&(r.colors={surface:"#08111d",surfaceAlt:"#102038",plotBackground:"#0b1728",plotBorder:"#1d3250",border:"#1d3250",text:"#cbd7e8",mutedText:"#8ba0bb",title:"#f8fbff"}),r}log(n){var r=(new Date).toLocaleTimeString();this.logs.unshift("["+r+"] "+n),this.logs=this.logs.slice(0,14)}static{this.\u0275fac=function(r){return new(r||e)(b(rT))}}static{this.\u0275cmp=kc({type:e,selectors:[["app-root"]],viewQuery:function(r,o){if(1&r&&Bh(m6,5),2&r){let i;(function Kb(e){const t=m(),n=H(),r=$u();ma(r+1);const o=nh(n,r);if(e.dirty&&function v0(e){return!(4&~e[2])}(t)===!(2&~o.metadata.flags)){if(null===o.matches)e.reset([]);else{const i=lC(t,r);e.reset(i,Xy),e.notifyOnChanges()}return!0}return!1})(i=function Xb(){return function th(e,t){return e[18].queries[t].queryList}(m(),$u())}())&&(o.realtimeChart=i.first)}},standalone:!1,decls:153,vars:32,consts:[["realtimeChart",""],[1,"shell"],[1,"hero"],[1,"hero-card","hero-main"],[1,"badge"],[1,"feature-grid"],[1,"feature"],[1,"cta-row"],["href","#demos",1,"btn"],["href","https://github.com/alexandroit/angular-infinity-charts#readme","target","_blank",1,"btn","secondary"],[1,"hero-card","hero-setup"],[1,"step"],[1,"step-num"],[3,"textContent"],["id","demos",1,"layout"],[1,"panels"],[1,"panel"],[1,"panel-header"],[1,"demo-grid"],[1,"demo-card"],[1,"code",3,"textContent"],[1,"chart-frame",3,"create","ready","updated","destroyed","config"],[1,"controls"],[3,"click"],[1,"analytics-card"],[1,"analytics-head"],[1,"chart-slot",3,"create","ready","updated","destroyed","reviveInfinityChart"],[1,"service-shell"],["id","service-chart-slot",1,"service-slot"],[1,"ghost-button",3,"click"],[1,"api-grid"],["class","api-card",4,"ngFor","ngForOf"],[1,"sidebar"],[1,"sidebar-card"],[1,"log-list"],["class","log-item",4,"ngFor","ngForOf"],[1,"release-meta"],[1,"api-card"],[1,"log-item"]],template:function(r,o){1&r&&(E(0,"div",1)(1,"section",2)(2,"div",3)(3,"span",4),M(4),C(),E(5,"h1"),M(6,"@revivejs/angular-infinity-charts"),C(),E(7,"p"),M(8," A maintained Angular wrapper around the ReviveJS chart engine. Use a component for direct templates, a directive for dashboard slots and widget shells, and a service for imperative chart creation. "),C(),E(9,"div",5)(10,"div",6)(11,"strong"),M(12,"Component API"),C(),M(13," Render a chart declaratively with a clean Angular input/output shape. "),C(),E(14,"div",6)(15,"strong"),M(16,"Directive API"),C(),M(17," Turn existing dashboard panels and widget slots into real chart hosts. "),C(),E(18,"div",6)(19,"strong"),M(20,"Service API"),C(),M(21," Mount charts programmatically in modals, detached slots, or service-driven flows. "),C(),E(22,"div",6)(23,"strong"),M(24,"Core fidelity"),C(),M(25," Keep the Infinity Charts engine, chart catalog, theme system, and live update methods intact. "),C()(),E(26,"div",7)(27,"a",8),M(28,"See demos"),C(),E(29,"a",9),M(30,"README"),C()()(),E(31,"div",10)(32,"h2"),M(33,"Setup in 3 steps"),C(),E(34,"div",11)(35,"span",12),M(36,"1"),C(),E(37,"div")(38,"strong"),M(39,"Install"),C(),ut(40,"pre",13),C()(),E(41,"div",11)(42,"span",12),M(43,"2"),C(),E(44,"div")(45,"strong"),M(46,"Register the module"),C(),ut(47,"pre",13),C()(),E(48,"div",11)(49,"span",12),M(50,"3"),C(),E(51,"div")(52,"strong"),M(53,"Use the wrapper"),C(),ut(54,"pre",13),C()()()(),E(55,"section",14)(56,"div",15)(57,"article",16)(58,"div",17)(59,"h2"),M(60,"Core wrapper demos"),C(),E(61,"p"),M(62,"The first Angular line already covers the main chart integration patterns teams need in dashboards and product analytics."),C()(),E(63,"div",18)(64,"section",19)(65,"h3"),M(66,"Standalone component"),C(),E(67,"p"),M(68,"Use the component when the chart itself is the primary content block in your Angular template."),C(),ut(69,"pre",20),E(70,"revive-infinity-chart",21),J("create",function(){return o.onCreate("Standalone component")})("ready",function(){return o.onReady("Standalone component")})("updated",function(){return o.onUpdated("Standalone component")})("destroyed",function(){return o.onDestroyed("Standalone component")}),C()(),E(71,"section",19)(72,"h3"),M(73,"Directive on an analytics card"),C(),E(74,"p"),M(75,"The directive is a strong fit when an existing dashboard shell already owns spacing, chrome, and surrounding context."),C(),ut(76,"pre",20),E(77,"div",22)(78,"button",23),J("click",function(){return o.toggleCardTheme()}),M(79,"Toggle card theme"),C()(),E(80,"div",24)(81,"div",25)(82,"span"),M(83,"Q2 sales motion"),C(),E(84,"strong"),M(85),C()(),E(86,"div",26),J("create",function(){return o.onCreate("Directive card")})("ready",function(){return o.onReady("Directive card")})("updated",function(){return o.onUpdated("Directive card")})("destroyed",function(){return o.onDestroyed("Directive card")}),C()()(),E(87,"section",19)(88,"h3"),M(89,"Service-driven mount"),C(),E(90,"p"),M(91,"Programmatic chart creation is useful for modal bodies, detached panels, and controller-style workflows."),C(),E(92,"div",22)(93,"button",23),J("click",function(){return o.mountServiceChart()}),M(94),C()(),ut(95,"pre",20),E(96,"div",27),ut(97,"div",28),C()(),E(98,"section",19)(99,"h3"),M(100,"Live update methods"),C(),E(101,"p"),M(102,"The wrapper keeps the underlying chart instance methods available, so appending data and resizing remain straightforward."),C(),E(103,"div",22)(104,"button",23),J("click",function(){return o.appendRealtimePoint()}),M(105,"Append point"),C(),E(106,"button",29),J("click",function(){return o.toggleRealtimeTheme()}),M(107,"Toggle theme"),C()(),E(108,"revive-infinity-chart",21,0),J("create",function(){return o.onCreate("Realtime chart")})("ready",function(){return o.onReady("Realtime chart")})("updated",function(){return o.onUpdated("Realtime chart")})("destroyed",function(){return o.onDestroyed("Realtime chart")}),C()()()(),E(110,"article",16)(111,"div",17)(112,"h2"),M(113,"API reference"),C(),E(114,"p"),M(115,"The wrapper stays intentionally thin so Angular owns structure while the Infinity Charts core owns rendering, theming, and live updates."),C()(),E(116,"div",30),Or(117,y6,5,2,"section",31),C()(),ut(118,"playground-panel"),C(),E(119,"aside",32)(120,"section",33)(121,"div",17)(122,"h2"),M(123,"Event log"),C(),E(124,"button",29),J("click",function(){return o.clearLog()}),M(125,"Clear"),C()(),E(126,"div",34),Or(127,v6,2,1,"div",35),C()(),E(128,"section",33)(129,"div",17)(130,"h2"),M(131,"Release line"),C()(),E(132,"ul",36)(133,"li")(134,"strong"),M(135,"Angular:"),C(),M(136),C(),E(137,"li")(138,"strong"),M(139,"Package:"),C(),M(140),C(),E(141,"li")(142,"strong"),M(143,"Core:"),C(),M(144),C(),E(145,"li")(146,"strong"),M(147,"Runtime:"),C(),M(148),C(),E(149,"li")(150,"strong"),M(151,"Docs path:"),C(),M(152),C()()()()()()),2&r&&(P(4),Gh("Angular ",o.releaseLine.angular," \xb7 @revivejs/infinity-charts ",o.releaseLine.coreVersion),P(36),ye("textContent",o.installSnippet),P(7),ye("textContent",o.moduleSnippet),P(7),ye("textContent",o.directiveSnippet),P(15),ye("textContent",o.componentSnippet),P(),yn("display","block")("height",320,"px"),ye("config",o.lineChartConfig),P(6),ye("textContent",o.directiveSnippet),P(4),Xo("is-dark","dark"===o.cardTheme),P(5),Yt("dark"===o.cardTheme?"Dark panel":"Light panel"),P(),yn("height",300,"px"),ye("reviveInfinityChart",o.cardChartConfig),P(8),Vt(" ",o.serviceChartMounted?"Destroy service chart":"Mount service chart"," "),P(),ye("textContent",o.serviceSnippet),P(13),yn("display","block")("height",300,"px"),ye("config",o.realtimeChartConfig),P(9),ye("ngForOf",o.apiCards),P(10),ye("ngForOf",o.logs),P(9),Vt(" ",o.releaseLine.angular),P(4),Vt(" ",o.releaseLine.packageVersion),P(4),Vt(" ",o.releaseLine.coreVersion),P(4),Vt(" ",o.releaseLine.runtimeTarget),P(4),Vt(" ",o.releaseLine.docsPath))},dependencies:[Sp,Mg,Ig,g6],styles:[".shell[_ngcontent-%COMP%]{padding:28px;color:#0f172a}.hero[_ngcontent-%COMP%]{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);gap:24px}.hero-card[_ngcontent-%COMP%], .panel[_ngcontent-%COMP%], .sidebar-card[_ngcontent-%COMP%]{border:1px solid rgba(15,23,42,.08);border-radius:28px;background:#ffffffeb;box-shadow:0 20px 60px #0f172a14}.hero-card[_ngcontent-%COMP%]{padding:28px}.badge[_ngcontent-%COMP%]{display:inline-flex;align-items:center;padding:8px 12px;border-radius:999px;border:1px solid rgba(15,23,42,.08);background:#2563eb14;color:#1d4ed8;font-size:12px;font-weight:700}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], p[_ngcontent-%COMP%], pre[_ngcontent-%COMP%]{margin-top:0}.hero-main[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:16px 0 12px;font-size:52px;line-height:.95;letter-spacing:-.04em}.hero-main[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .panel-header[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .api-card[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .demo-card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#475569;line-height:1.7}.feature-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:22px}.feature[_ngcontent-%COMP%]{padding:16px;border-radius:18px;border:1px solid rgba(15,23,42,.08);background:#f8fafceb;color:#475569;line-height:1.6}.feature[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{display:block;margin-bottom:6px;color:#0f172a}.cta-row[_ngcontent-%COMP%], .controls[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}.btn[_ngcontent-%COMP%], button[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 16px;border-radius:999px;border:1px solid transparent;cursor:pointer;font:inherit;text-decoration:none}.btn[_ngcontent-%COMP%], button[_ngcontent-%COMP%]{background:linear-gradient(135deg,#38bdf8,#2563eb);color:#fff;font-weight:700}.btn.secondary[_ngcontent-%COMP%], .ghost-button[_ngcontent-%COMP%]{background:#ffffffeb;color:#0f172a;border-color:#0f172a14}.ghost-button[_ngcontent-%COMP%]{padding:8px 12px}.step[_ngcontent-%COMP%]{display:grid;grid-template-columns:36px minmax(0,1fr);gap:14px;margin-top:16px}.step-num[_ngcontent-%COMP%]{display:inline-grid;place-items:center;width:36px;height:36px;border-radius:999px;background:#dbeafe;color:#1d4ed8;font-weight:700}pre[_ngcontent-%COMP%], .code[_ngcontent-%COMP%]{overflow:auto;padding:14px 16px;border-radius:18px;background:#0f172a;color:#dbeafe;line-height:1.6;font-family:SFMono-Regular,Consolas,monospace;font-size:13px}.layout[_ngcontent-%COMP%]{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:24px;margin-top:28px}.panels[_ngcontent-%COMP%]{display:grid;gap:24px}.panel[_ngcontent-%COMP%]{padding:24px}.panel-header[_ngcontent-%COMP%]{display:flex;align-items:start;justify-content:space-between;gap:14px;margin-bottom:18px}.panel-header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin-bottom:8px}.demo-grid[_ngcontent-%COMP%]{display:grid;gap:16px;grid-template-columns:repeat(2,minmax(0,1fr))}.demo-card[_ngcontent-%COMP%]{padding:20px;border-radius:22px;border:1px solid rgba(15,23,42,.08);background:#f8fbff}.chart-frame[_ngcontent-%COMP%], .chart-slot[_ngcontent-%COMP%], .service-slot[_ngcontent-%COMP%]{display:block;width:100%;min-height:220px;border-radius:20px;border:1px solid rgba(15,23,42,.08);background:#fffffffa;overflow:hidden}.analytics-card[_ngcontent-%COMP%], .service-shell[_ngcontent-%COMP%]{padding:18px;border-radius:22px;border:1px solid rgba(15,23,42,.08);background:#fffffffa}.analytics-card.is-dark[_ngcontent-%COMP%]{background:linear-gradient(180deg,#111b2f,#091323);border-color:#94a3b829;color:#f8fbff}.analytics-card.is-dark[_ngcontent-%COMP%] .analytics-head[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#93a5be}.analytics-head[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px}.analytics-head[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#64748b;font-size:13px;letter-spacing:.04em;text-transform:uppercase}.analytics-head[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:14px}.service-shell[_ngcontent-%COMP%]{min-height:320px}.service-slot[_ngcontent-%COMP%]{min-height:280px}.api-grid[_ngcontent-%COMP%]{display:grid;gap:16px;grid-template-columns:repeat(3,minmax(0,1fr))}.api-card[_ngcontent-%COMP%]{padding:20px;border-radius:22px;border:1px solid rgba(15,23,42,.08);background:#f8fbff}.sidebar[_ngcontent-%COMP%]{display:grid;gap:24px;align-content:start}.sidebar-card[_ngcontent-%COMP%]{padding:22px}.log-list[_ngcontent-%COMP%]{display:grid;gap:10px}.log-item[_ngcontent-%COMP%]{padding:12px 14px;border-radius:16px;background:#f8fafcfa;border:1px solid rgba(15,23,42,.06);color:#334155;font-size:13px;line-height:1.6}.release-meta[_ngcontent-%COMP%]{display:grid;gap:12px;margin:0;padding:0;list-style:none;color:#334155}.release-meta[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{color:#0f172a}@media(max-width:1080px){.hero[_ngcontent-%COMP%], .layout[_ngcontent-%COMP%], .api-grid[_ngcontent-%COMP%], .demo-grid[_ngcontent-%COMP%]{grid-template-columns:1fr}}@media(max-width:720px){.shell[_ngcontent-%COMP%]{padding:16px}.hero-main[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:38px}.feature-grid[_ngcontent-%COMP%]{grid-template-columns:1fr}}"]})}}return e})(),_6=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=Bn({type:e,bootstrap:[D6]})}static{this.\u0275inj=tn({imports:[_U,_4,i6.forRoot()]})}}return e})();DU().bootstrapModule(_6).catch(e=>{console.error(e),document.body.innerHTML='<pre style="padding:16px;white-space:pre-wrap;">'+String(e).replace(/</g,"&lt;")+"</pre>"})},8264(di,Zr,T){T.d(Zr,{FU:()=>A,Vj:()=>Ce,XM:()=>Jt,ar:()=>Yn,qn:()=>Kn,qu:()=>_e});const _e=(ce,Se=[],Ue={},ft={})=>({id:ce,kind:"group",attrs:Ue,style:ft,children:Se}),Jt=(ce,Se,Ue={})=>({id:ce,kind:"rect",attrs:Se,style:Ue}),Yn=(ce,Se,Ue={})=>({id:ce,kind:"path",attrs:Se,style:Ue}),Kn=(ce,Se,Ue,ft={})=>({id:ce,kind:"text",attrs:Ue,style:ft,textContent:Se}),Ce=(ce,Se,Ue={})=>({id:ce,kind:"line",attrs:Se,style:Ue}),A=(ce,Se,Ue={})=>({id:ce,kind:"circle",attrs:Se,style:Ue})},1911(di,Zr,T){T.d(Zr,{IZ:()=>Ce,K9:()=>Yn,cz:()=>Jt,qE:()=>_e,wk:()=>Kn});const _e=(A,ce,Se)=>Math.min(Se,Math.max(ce,A)),Jt=A=>A.reduce((ce,Se)=>ce+Se,0),Yn=(A,ce,Se=.08)=>{if(A===ce){const Xn=0===A?1:.2*Math.abs(A);return[A-Xn,ce+Xn]}const ft=(ce-A)*Se;return[A-ft,ce+ft]},Kn=A=>new Intl.NumberFormat("en-US",{notation:"compact",maximumFractionDigits:A>=100?0:1}).format(A),Ce=(A,ce,Se,Ue)=>({x:A+Se*Math.cos(Ue-Math.PI/2),y:ce+Se*Math.sin(Ue-Math.PI/2)})}},di=>{di(di.s=1901)}]);