@ngocsangairvds/vsaf 6.0.1 → 6.1.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.
- package/package.json +1 -1
- package/packages/cli/dist/commands/run.d.ts +3 -0
- package/packages/cli/dist/commands/run.d.ts.map +1 -1
- package/packages/cli/dist/commands/run.js +10 -0
- package/packages/cli/dist/commands/run.js.map +1 -1
- package/packages/cli/dist/server/routes/runs.d.ts +2 -0
- package/packages/cli/dist/server/routes/runs.d.ts.map +1 -1
- package/packages/cli/dist/server/routes/runs.js +2 -0
- package/packages/cli/dist/server/routes/runs.js.map +1 -1
- package/packages/cli/dist/server/services/execution-manager.d.ts.map +1 -1
- package/packages/cli/dist/server/services/execution-manager.js +5 -0
- package/packages/cli/dist/server/services/execution-manager.js.map +1 -1
- package/packages/core/dist/config/ai-config.d.ts +3 -0
- package/packages/core/dist/config/ai-config.d.ts.map +1 -1
- package/packages/core/dist/config/ai-config.js +9 -0
- package/packages/core/dist/config/ai-config.js.map +1 -1
- package/packages/core/dist/index.d.ts +1 -1
- package/packages/core/dist/index.d.ts.map +1 -1
- package/packages/core/dist/index.js +3 -2
- package/packages/core/dist/index.js.map +1 -1
- package/packages/core/dist/runtime/executor.d.ts.map +1 -1
- package/packages/core/dist/runtime/executor.js +1 -0
- package/packages/core/dist/runtime/executor.js.map +1 -1
- package/packages/web/dist/web/browser/{chunk-FE2VGLSN.js → chunk-7L4OEPXU.js} +1 -1
- package/packages/web/dist/web/browser/{chunk-FBCNCNPM.js → chunk-BDLVJ3JS.js} +1 -1
- package/packages/web/dist/web/browser/{chunk-MCW5ACIZ.js → chunk-CQQRQYJU.js} +1 -1
- package/packages/web/dist/web/browser/{chunk-6H3AYIT3.js → chunk-E3BSTPAZ.js} +1 -1
- package/packages/web/dist/web/browser/{chunk-L7B3BT5E.js → chunk-IBUECISR.js} +1 -1
- package/packages/web/dist/web/browser/{chunk-7ELOO4IC.js → chunk-OYL4KDHJ.js} +1 -1
- package/packages/web/dist/web/browser/{chunk-GR7SKUVU.js → chunk-Q6S2YOXT.js} +1 -1
- package/packages/web/dist/web/browser/chunk-RM7DW5FD.js +5 -0
- package/packages/web/dist/web/browser/chunk-SM2S63GA.js +1 -0
- package/packages/web/dist/web/browser/{chunk-N3FOQ3O5.js → chunk-ZZWA24BS.js} +1 -1
- package/packages/web/dist/web/browser/index.html +2 -2
- package/packages/web/dist/web/browser/{main-3UCJ3N4F.js → main-MOJ6YEDN.js} +1 -1
- package/packages/web/dist/web/browser/styles-KOJ4NEWT.css +1 -0
- package/packages/web/dist/web/browser/chunk-4R37VVI4.js +0 -5
- package/packages/web/dist/web/browser/chunk-UDCOYDXU.js +0 -1
- package/packages/web/dist/web/browser/styles-5MTP4CCO.css +0 -1
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
var rg=Object.defineProperty,og=Object.defineProperties;var ig=Object.getOwnPropertyDescriptors;var Du=Object.getOwnPropertySymbols;var sg=Object.prototype.hasOwnProperty,ag=Object.prototype.propertyIsEnumerable;var Eu=(e,t,n)=>t in e?rg(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,K=(e,t)=>{for(var n in t||={})sg.call(t,n)&&Eu(e,n,t[n]);if(Du)for(var n of Du(t))ag.call(t,n)&&Eu(e,n,t[n]);return e},oe=(e,t)=>og(e,ig(t));var $r=(e,t,n)=>new Promise((r,o)=>{var i=c=>{try{a(n.next(c))}catch(u){o(u)}},s=c=>{try{a(n.throw(c))}catch(u){o(u)}},a=c=>c.done?r(c.value):Promise.resolve(c.value).then(i,s);a((n=n.apply(e,t)).next())});function b(e){return typeof e=="function"}function Iu(e){return e&&b(e.schedule)}function Cu(e){return e[e.length-1]}function Ur(e){return b(Cu(e))?e.pop():void 0}function rt(e){return Iu(Cu(e))?e.pop():void 0}function bu(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(l){try{u(r.next(l))}catch(d){s(d)}}function c(l){try{u(r.throw(l))}catch(d){s(d)}}function u(l){l.done?i(l.value):o(l.value).then(a,c)}u((r=r.apply(e,t||[])).next())})}function wu(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")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.")}function wt(e){return this instanceof wt?(this.v=e,this):new wt(e)}function Tu(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(h){return Promise.resolve(h).then(f,d)}}function a(f,h){r[f]&&(o[f]=function(C){return new Promise(function(y,v){i.push([f,C,y,v])>1||c(f,C)})},h&&(o[f]=h(o[f])))}function c(f,h){try{u(r[f](h))}catch(C){p(i[0][3],C)}}function u(f){f.value instanceof wt?Promise.resolve(f.value.v).then(l,d):p(i[0][2],f)}function l(f){c("next",f)}function d(f){c("throw",f)}function p(f,h){f(h),i.shift(),i.length&&c(i[0][0],i[0][1])}}function _u(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof wu=="function"?wu(e):e[Symbol.iterator](),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){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(u){i({value:u,done:a})},s)}}var Gr=e=>e&&typeof e.length=="number"&&typeof e!="function";function zr(e){return b(e?.then)}function nn(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var Wr=nn(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
|
|
2
|
+
${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
|
|
3
|
+
`)}`:"",this.name="UnsubscriptionError",this.errors=n});function Ln(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var J=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(b(r))try{r()}catch(i){t=i instanceof Wr?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Mu(i)}catch(s){t=t??[],s instanceof Wr?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Wr(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Mu(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&Ln(n,t)}remove(t){let{_finalizers:n}=this;n&&Ln(n,t),t instanceof e&&t._removeParent(this)}};J.EMPTY=(()=>{let e=new J;return e.closed=!0,e})();var ns=J.EMPTY;function qr(e){return e instanceof J||e&&"closed"in e&&b(e.remove)&&b(e.add)&&b(e.unsubscribe)}function Mu(e){b(e)?e():e.unsubscribe()}var Ce={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var rn={setTimeout(e,t,...n){let{delegate:r}=rn;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=rn;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Zr(e){rn.setTimeout(()=>{let{onUnhandledError:t}=Ce;if(t)t(e);else throw e})}function jn(){}var Su=rs("C",void 0,void 0);function Nu(e){return rs("E",void 0,e)}function xu(e){return rs("N",e,void 0)}function rs(e,t,n){return{kind:e,value:t,error:n}}var bt=null;function on(e){if(Ce.useDeprecatedSynchronousErrorHandling){let t=!bt;if(t&&(bt={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=bt;if(bt=null,n)throw r}}else e()}function Au(e){Ce.useDeprecatedSynchronousErrorHandling&&bt&&(bt.errorThrown=!0,bt.error=e)}var Tt=class extends J{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,qr(t)&&t.add(this)):this.destination=lg}static create(t,n,r){return new sn(t,n,r)}next(t){this.isStopped?is(xu(t),this):this._next(t)}error(t){this.isStopped?is(Nu(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?is(Su,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()}}},cg=Function.prototype.bind;function os(e,t){return cg.call(e,t)}var ss=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Yr(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Yr(r)}else Yr(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Yr(n)}}},sn=class extends Tt{constructor(t,n,r){super();let o;if(b(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Ce.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&os(t.next,i),error:t.error&&os(t.error,i),complete:t.complete&&os(t.complete,i)}):o=t}this.destination=new ss(o)}};function Yr(e){Ce.useDeprecatedSynchronousErrorHandling?Au(e):Zr(e)}function ug(e){throw e}function is(e,t){let{onStoppedNotification:n}=Ce;n&&rn.setTimeout(()=>n(e,t))}var lg={closed:!0,next:jn,error:ug,complete:jn};var an=typeof Symbol=="function"&&Symbol.observable||"@@observable";function we(e){return e}function dg(...e){return as(e)}function as(e){return e.length===0?we:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var S=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=pg(n)?n:new sn(n,r,o);return on(()=>{let{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 r=Ru(r),new r((o,i)=>{let s=new sn({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[an](){return this}pipe(...n){return as(n)(this)}toPromise(n){return n=Ru(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function Ru(e){var t;return(t=e??Ce.Promise)!==null&&t!==void 0?t:Promise}function fg(e){return e&&b(e.next)&&b(e.error)&&b(e.complete)}function pg(e){return e&&e instanceof Tt||fg(e)&&qr(e)}function Qr(e){return b(e[an])}function Kr(e){return Symbol.asyncIterator&&b(e?.[Symbol.asyncIterator])}function Jr(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function hg(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Xr=hg();function eo(e){return b(e?.[Xr])}function to(e){return Tu(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield wt(n.read());if(o)return yield wt(void 0);yield yield wt(r)}}finally{n.releaseLock()}})}function no(e){return b(e?.getReader)}function z(e){if(e instanceof S)return e;if(e!=null){if(Qr(e))return gg(e);if(Gr(e))return mg(e);if(zr(e))return yg(e);if(Kr(e))return Ou(e);if(eo(e))return vg(e);if(no(e))return Dg(e)}throw Jr(e)}function gg(e){return new S(t=>{let n=e[an]();if(b(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function mg(e){return new S(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function yg(e){return new S(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Zr)})}function vg(e){return new S(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Ou(e){return new S(t=>{Eg(e,t).catch(n=>t.error(n))})}function Dg(e){return Ou(to(e))}function Eg(e,t){var n,r,o,i;return bu(this,void 0,void 0,function*(){try{for(n=_u(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),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()})}function le(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function Ig(e){return b(e?.lift)}function x(e){return t=>{if(Ig(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 A(e,t,n,r,o){return new cs(e,t,n,r,o)}var cs=class extends Tt{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()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function ro(e,t=0){return x((n,r)=>{n.subscribe(A(r,o=>le(r,e,()=>r.next(o),t),()=>le(r,e,()=>r.complete(),t),o=>le(r,e,()=>r.error(o),t)))})}function oo(e,t=0){return x((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function ku(e,t){return z(e).pipe(oo(t),ro(t))}function Fu(e,t){return z(e).pipe(oo(t),ro(t))}function Pu(e,t){return new S(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Lu(e,t){return new S(n=>{let r;return le(n,t,()=>{r=e[Xr](),le(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>b(r?.return)&&r.return()})}function io(e,t){if(!e)throw new Error("Iterable cannot be null");return new S(n=>{le(n,t,()=>{let r=e[Symbol.asyncIterator]();le(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function ju(e,t){return io(to(e),t)}function Bu(e,t){if(e!=null){if(Qr(e))return ku(e,t);if(Gr(e))return Pu(e,t);if(zr(e))return Fu(e,t);if(Kr(e))return io(e,t);if(eo(e))return Lu(e,t);if(no(e))return ju(e,t)}throw Jr(e)}function ot(e,t){return t?Bu(e,t):z(e)}function so(...e){let t=rt(e);return ot(e,t)}var{isArray:Cg}=Array,{getPrototypeOf:wg,prototype:bg,keys:Tg}=Object;function ao(e){if(e.length===1){let t=e[0];if(Cg(t))return{args:t,keys:null};if(_g(t)){let n=Tg(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function _g(e){return e&&typeof e=="object"&&wg(e)===bg}function me(e,t){return x((n,r)=>{let o=0;n.subscribe(A(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:Mg}=Array;function Sg(e,t){return Mg(t)?e(...t):e(t)}function co(e){return me(t=>Sg(e,t))}function uo(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Ng(...e){let t=Ur(e),{args:n,keys:r}=ao(e),o=new S(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,u=s;for(let l=0;l<s;l++){let d=!1;z(n[l]).subscribe(A(i,p=>{d||(d=!0,u--),a[l]=p},()=>c--,void 0,()=>{(!c||!d)&&(u||i.next(r?uo(r,a):a),i.complete())}))}});return t?o.pipe(co(t)):o}function Vu(e){return x((t,n)=>{let r=null,o=!1,i;r=t.subscribe(A(n,void 0,void 0,s=>{i=z(e(s,Vu(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function lo(e){return x((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}var Hu=nn(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var be=(()=>{class e extends S{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new fo(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Hu}next(n){on(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){on(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){on(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{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((n=this.observers)===null||n===void 0?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){let{hasError:r,isStopped:o,observers:i}=this;return r||o?ns:(this.currentObservers=null,i.push(n),new J(()=>{this.currentObservers=null,Ln(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new S;return n.source=this,n}}return e.create=(t,n)=>new fo(t,n),e})(),fo=class extends be{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:ns}};var Bn=class extends be{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var Vn=new S(e=>e.complete());function xg(e,t){let n=b(e)?e:()=>e,r=o=>o.error(n());return new S(t?o=>t.schedule(r,0,o):r)}function Ag(e){return!!e&&(e instanceof S||b(e.lift)&&b(e.subscribe))}var Hn=nn(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Rg(...e){let t=rt(e),n=Ur(e),{args:r,keys:o}=ao(e);if(r.length===0)return ot([],t);let i=new S(Og(r,t,o?s=>uo(o,s):we));return n?i.pipe(co(n)):i}function Og(e,t,n=we){return r=>{$u(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)$u(t,()=>{let u=ot(e[c],t),l=!1;u.subscribe(A(r,d=>{i[c]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function $u(e,t,n){e?le(n,e,t):t()}function Uu(e,t,n,r,o,i,s,a){let c=[],u=0,l=0,d=!1,p=()=>{d&&!c.length&&!u&&t.complete()},f=C=>u<r?h(C):c.push(C),h=C=>{i&&t.next(C),u++;let y=!1;z(n(C,l++)).subscribe(A(t,v=>{o?.(v),i?f(v):t.next(v)},()=>{y=!0},void 0,()=>{if(y)try{for(u--;c.length&&u<r;){let v=c.shift();s?le(t,s,()=>h(v)):h(v)}p()}catch(v){t.error(v)}}))};return e.subscribe(A(t,f,()=>{d=!0,p()})),()=>{a?.()}}function _t(e,t,n=1/0){return b(t)?_t((r,o)=>me((i,s)=>t(r,i,o,s))(z(e(r,o))),n):(typeof t=="number"&&(n=t),x((r,o)=>Uu(r,o,e,n)))}function us(e=1/0){return _t(we,e)}function Gu(){return us(1)}function po(...e){return Gu()(ot(e,rt(e)))}function kg(e){return new S(t=>{z(e()).subscribe(t)})}function $n(e,t){return x((n,r)=>{let o=0;n.subscribe(A(r,i=>e.call(t,i,o++)&&r.next(i)))})}function ls(e,t){return b(t)?_t(e,t,1):_t(e,1)}function zu(e){return x((t,n)=>{let r=!1;t.subscribe(A(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function ds(e){return e<=0?()=>Vn:x((t,n)=>{let r=0;t.subscribe(A(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Wu(e=Fg){return x((t,n)=>{let r=!1;t.subscribe(A(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Fg(){return new Hn}function Pg(e,t){let n=arguments.length>=2;return r=>r.pipe(e?$n((o,i)=>e(o,i,r)):we,ds(1),n?zu(t):Wu(()=>new Hn))}function Lg(e){return e<=0?()=>Vn:x((t,n)=>{let r=[];t.subscribe(A(n,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function jg(...e){let t=rt(e);return x((n,r)=>{(t?po(e,n,t):po(e,n)).subscribe(r)})}function fs(e,t){return x((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(A(r,c=>{o?.unsubscribe();let u=0,l=i++;z(e(c,l)).subscribe(o=A(r,d=>r.next(t?t(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Bg(e){return x((t,n)=>{z(e).subscribe(A(n,()=>n.complete(),jn)),!n.closed&&t.subscribe(n)})}function Vg(e,t,n){let r=b(e)||t||n?{next:e,error:t,complete:n}:e;return r?x((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(A(i,c=>{var u;(u=r.next)===null||u===void 0||u.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var u;a=!1,(u=r.error)===null||u===void 0||u.call(r,c),i.error(c)},()=>{var c,u;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(u=r.finalize)===null||u===void 0||u.call(r)}))}):we}var ne=null,ho=!1,ps=1,Hg=null,Z=Symbol("SIGNAL");function E(e){let t=ne;return ne=e,t}function go(){return ne}var Nt={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 xt(e){if(ho)throw new Error("");if(ne===null)return;ne.consumerOnSignalRead(e);let t=ne.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=ne.recomputing;if(r&&(n=t!==void 0?t.nextProducer:ne.producers,n!==void 0&&n.producer===e)){ne.producersTail=n,n.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===ne&&(!r||Ug(o,ne)))return;let i=ln(ne),s={producer:e,consumer:ne,nextProducer:n,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};ne.producersTail=s,t!==void 0?t.nextProducer=s:ne.producers=s,i&&Qu(e,s)}function qu(){ps++}function At(e){if(!(ln(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===ps)){if(!e.producerMustRecompute(e)&&!mo(e)){cn(e);return}e.producerRecomputeValue(e),cn(e)}}function hs(e){if(e.consumers===void 0)return;let t=ho;ho=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||$g(r)}}finally{ho=t}}function gs(){return ne?.consumerAllowSignalWrites!==!1}function $g(e){e.dirty=!0,hs(e),e.consumerMarkedDirty?.(e)}function cn(e){e.dirty=!1,e.lastCleanEpoch=ps}function Rt(e){return e&&Zu(e),E(e)}function Zu(e){e.producersTail=void 0,e.recomputing=!0}function un(e,t){E(t),e&&Yu(e)}function Yu(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(ln(e))do n=ms(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function mo(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(At(n),r!==n.version))return!0}return!1}function Un(e){if(ln(e)){let t=e.producers;for(;t!==void 0;)t=ms(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function Qu(e,t){let n=e.consumersTail,r=ln(e);if(n!==void 0?(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;o!==void 0;o=o.nextProducer)Qu(o.producer,o)}function ms(e){let t=e.producer,n=e.nextProducer,r=e.nextConsumer,o=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,r!==void 0?r.prevConsumer=o:t.consumersTail=o,o!==void 0)o.nextConsumer=r;else if(t.consumers=r,!ln(t)){let i=t.producers;for(;i!==void 0;)i=ms(i)}return n}function ln(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function Gn(e){Hg?.(e)}function Ug(e,t){let n=t.producersTail;if(n!==void 0){let r=t.producers;do{if(r===e)return!0;if(r===n)break;r=r.nextProducer}while(r!==void 0)}return!1}function zn(e,t){return Object.is(e,t)}function yo(e,t){let n=Object.create(Gg);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(At(n),xt(n),n.value===ke)throw n.error;return n.value};return r[Z]=n,Gn(n),r}var Mt=Symbol("UNSET"),St=Symbol("COMPUTING"),ke=Symbol("ERRORED"),Gg=oe(K({},Nt),{value:Mt,dirty:!0,error:null,equal:zn,kind:"computed",producerMustRecompute(e){return e.value===Mt||e.value===St},producerRecomputeValue(e){if(e.value===St)throw new Error("");let t=e.value;e.value=St;let n=Rt(e),r,o=!1;try{r=e.computation(),E(null),o=t!==Mt&&t!==ke&&r!==ke&&e.equal(t,r)}catch(i){r=ke,e.error=i}finally{un(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function zg(){throw new Error}var Ku=zg;function Ju(e){Ku(e)}function ys(e){Ku=e}var Wg=null;function vs(e,t){let n=Object.create(Do);n.value=e,t!==void 0&&(n.equal=t);let r=()=>Xu(n);return r[Z]=n,Gn(n),[r,s=>Ot(n,s),s=>vo(n,s)]}function Xu(e){return xt(e),e.value}function Ot(e,t){gs()||Ju(e),e.equal(e.value,t)||(e.value=t,qg(e))}function vo(e,t){gs()||Ju(e),Ot(e,t(e.value))}var Do=oe(K({},Nt),{equal:zn,value:void 0,kind:"signal"});function qg(e){e.version++,qu(),hs(e),Wg?.(e)}var Ds;function Eo(){return Ds}function Fe(e){let t=Ds;return Ds=e,t}var el=Symbol("NotFound");function dn(e){return e===el||e?.name==="\u0275NotFound"}function Es(e,t,n){let r=Object.create(Zg);r.source=e,r.computation=t,n!=null&&(r.equal=n);let i=()=>{if(At(r),xt(r),r.value===ke)throw r.error;return r.value};return i[Z]=r,Gn(r),i}function tl(e,t){At(e),Ot(e,t),cn(e)}function nl(e,t){if(At(e),e.value===ke)throw e.error;vo(e,t),cn(e)}var Zg=oe(K({},Nt),{value:Mt,dirty:!0,error:null,equal:zn,kind:"linkedSignal",producerMustRecompute(e){return e.value===Mt||e.value===St},producerRecomputeValue(e){if(e.value===St)throw new Error("");let t=e.value;e.value=St;let n=Rt(e),r,o=!1;try{let i=e.source(),s=t!==Mt&&t!==ke,a=s?{source:e.sourceValue,value:t}:void 0;r=e.computation(i,a),e.sourceValue=i,E(null),o=s&&r!==ke&&e.equal(t,r)}catch(i){r=ke,e.error=i}finally{un(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function rl(e){let t=E(null);try{return e()}finally{E(t)}}var To="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",m=class extends Error{code;constructor(t,n){super(pn(t,n)),this.code=t}};function Kg(e){return`NG0${Math.abs(e)}`}function pn(e,t){return`${Kg(e)}${t?": "+t:""}`}var Pe=globalThis;function R(e){for(let t in e)if(e[t]===R)return t;throw Error("")}function cl(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Kn(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(Kn).join(", ")}]`;if(e==null)return""+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let n=e.toString();if(n==null)return""+n;let r=n.indexOf(`
|
|
4
|
+
`);return r>=0?n.slice(0,r):n}function _o(e,t){return e?t?`${e} ${t}`:e:t||""}var Jg=R({__forward_ref__:R});function Mo(e){return e.__forward_ref__=Mo,e}function X(e){return Fs(e)?e():e}function Fs(e){return typeof e=="function"&&e.hasOwnProperty(Jg)&&e.__forward_ref__===Mo}function M(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Jn(e){return{providers:e.providers||[],imports:e.imports||[]}}function Xn(e){return em(e,So)}function Xg(e){return Xn(e)!==null}function em(e,t){return e.hasOwnProperty(t)&&e[t]||null}function tm(e){let t=e?.[So]??null;return t||null}function Cs(e){return e&&e.hasOwnProperty(Co)?e[Co]:null}var So=R({\u0275prov:R}),Co=R({\u0275inj:R}),T=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=M({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Ps(e){return e&&!!e.\u0275providers}var er=R({\u0275cmp:R}),tr=R({\u0275dir:R}),Ls=R({\u0275pipe:R}),js=R({\u0275mod:R}),qn=R({\u0275fac:R}),jt=R({__NG_ELEMENT_ID__:R}),ol=R({__NG_ENV_ID__:R});function Bs(e){return No(e,"@NgModule"),e[js]||null}function ct(e){return No(e,"@Component"),e[er]||null}function Vs(e){return No(e,"@Directive"),e[tr]||null}function ul(e){return No(e,"@Pipe"),e[Ls]||null}function No(e,t){if(e==null)throw new m(-919,!1)}function Le(e){return typeof e=="string"?e:e==null?"":String(e)}var ll=R({ngErrorCode:R}),nm=R({ngErrorMessage:R}),rm=R({ngTokenPath:R});function Hs(e,t){return dl("",-200,t)}function xo(e,t){throw new m(-201,!1)}function dl(e,t,n){let r=new m(t,e);return r[ll]=t,r[nm]=e,n&&(r[rm]=n),r}function om(e){return e[ll]}var ws;function fl(){return ws}function ie(e){let t=ws;return ws=e,t}function $s(e,t,n){let r=Xn(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&8)return null;if(t!==void 0)return t;xo(e,"")}var im={},kt=im,sm="__NG_DI_FLAG__",bs=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=Ft(n)||0;try{return this.injector.get(t,r&8?null:kt,r)}catch(o){if(dn(o))return o;throw o}}};function am(e,t=0){let n=Eo();if(n===void 0)throw new m(-203,!1);if(n===null)return $s(e,void 0,t);{let r=cm(t),o=n.retrieve(e,r);if(dn(o)){if(r.optional)return null;throw o}return o}}function L(e,t=0){return(fl()||am)(X(e),t)}function g(e,t){return L(e,Ft(t))}function Ft(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function cm(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function Ts(e){let t=[];for(let n=0;n<e.length;n++){let r=X(e[n]);if(Array.isArray(r)){if(r.length===0)throw new m(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=um(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(L(o,i))}else t.push(L(r))}return t}function um(e){return e[sm]}function it(e,t){let n=e.hasOwnProperty(qn);return n?e[qn]:null}function pl(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}function hl(e){return e.flat(Number.POSITIVE_INFINITY)}function Ao(e,t){e.forEach(n=>Array.isArray(n)?Ao(n,t):t(n))}function Us(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function nr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function gl(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function ml(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(o===1)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function Ro(e,t,n){let r=hn(e,t);return r>=0?e[r|1]=n:(r=~r,ml(e,r,t,n)),r}function Oo(e,t){let n=hn(e,t);if(n>=0)return e[n|1]}function hn(e,t){return lm(e,t,1)}function lm(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let 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)}var ut={},se=[],Bt=new T(""),Gs=new T("",-1),zs=new T(""),Zn=class{get(t,n=kt){if(n===kt){let o=dl("",-201);throw o.name="\u0275NotFound",o}return n}};function rr(e){return{\u0275providers:e}}function yl(...e){return{\u0275providers:Ws(!0,e),\u0275fromNgModule:!0}}function Ws(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Ao(t,s=>{let a=s;wo(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&vl(o,i),n}function vl(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];qs(o,i=>{t(i,r)})}}function wo(e,t,n,r){if(e=X(e),!e)return!1;let o=null,i=Cs(e),s=!i&&ct(e);if(!i&&!s){let c=e.ngModule;if(i=Cs(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let u of c)wo(u,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;Ao(i.imports,l=>{wo(l,t,n,r)&&(u||=[],u.push(l))}),u!==void 0&&vl(u,t)}if(!a){let u=it(o)||(()=>new o);t({provide:o,useFactory:u,deps:se},o),t({provide:zs,useValue:o,multi:!0},o),t({provide:Bt,useValue:()=>L(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;qs(c,l=>{t(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function qs(e,t){for(let n of e)Ps(n)&&(n=n.\u0275providers),Array.isArray(n)?qs(n,t):t(n)}var dm=R({provide:String,useValue:R});function Dl(e){return e!==null&&typeof e=="object"&&dm in e}function fm(e){return!!(e&&e.useExisting)}function pm(e){return!!(e&&e.useFactory)}function Pt(e){return typeof e=="function"}function El(e){return!!e.useClass}var Zs=new T(""),Io={},il={},Is;function or(){return Is===void 0&&(Is=new Zn),Is}var ae=class{},Lt=class extends ae{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,Ms(t,s=>this.processProvider(s)),this.records.set(Gs,fn(void 0,this)),o.has("environment")&&this.records.set(ae,fn(void 0,this));let i=this.records.get(Zs);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(zs,se,{self:!0}))}retrieve(t,n){let r=Ft(n)||0;try{return this.get(t,kt,r)}catch(o){if(dn(o))return o;throw o}}destroy(){Wn(this),this._destroyed=!0;let t=E(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),E(t)}}onDestroy(t){return Wn(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Wn(this);let n=Fe(this),r=ie(void 0),o;try{return t()}finally{Fe(n),ie(r)}}get(t,n=kt,r){if(Wn(this),t.hasOwnProperty(ol))return t[ol](this);let o=Ft(r),i,s=Fe(this),a=ie(void 0);try{if(!(o&4)){let u=this.records.get(t);if(u===void 0){let l=vm(t)&&Xn(t);l&&this.injectableDefInScope(l)?u=fn(_s(t),Io):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u,o)}let c=o&2?or():this.parent;return n=o&8&&n===kt?null:n,c.get(t,n)}catch(c){let u=om(c);throw u===-200||u===-201?new m(u,null):c}finally{ie(a),Fe(s)}}resolveInjectorInitializers(){let t=E(null),n=Fe(this),r=ie(void 0),o;try{let i=this.get(Bt,se,{self:!0});for(let s of i)s()}finally{Fe(n),ie(r),E(t)}}toString(){return"R3Injector[...]"}processProvider(t){t=X(t);let n=Pt(t)?t:X(t&&t.provide),r=gm(t);if(!Pt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=fn(void 0,Io,!0),o.factory=()=>Ts(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=E(null);try{if(n.value===il)throw Hs("");return n.value===Io&&(n.value=il,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&ym(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{E(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=X(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function _s(e){let t=Xn(e),n=t!==null?t.factory:it(e);if(n!==null)return n;if(e instanceof T)throw new m(-204,!1);if(e instanceof Function)return hm(e);throw new m(-204,!1)}function hm(e){if(e.length>0)throw new m(-204,!1);let n=tm(e);return n!==null?()=>n.factory(e):()=>new e}function gm(e){if(Dl(e))return fn(void 0,e.useValue);{let t=Ys(e);return fn(t,Io)}}function Ys(e,t,n){let r;if(Pt(e)){let o=X(e);return it(o)||_s(o)}else if(Dl(e))r=()=>X(e.useValue);else if(pm(e))r=()=>e.useFactory(...Ts(e.deps||[]));else if(fm(e))r=(o,i)=>L(X(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=X(e&&(e.useClass||e.provide));if(mm(e))r=()=>new o(...Ts(e.deps));else return it(o)||_s(o)}return r}function Wn(e){if(e.destroyed)throw new m(-205,!1)}function fn(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function mm(e){return!!e.deps}function ym(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function vm(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function Ms(e,t){for(let n of e)Array.isArray(n)?Ms(n,t):n&&Ps(n)?Ms(n.\u0275providers,t):t(n)}function gn(e,t){let n;e instanceof Lt?(Wn(e),n=e):n=new bs(e);let r,o=Fe(n),i=ie(void 0);try{return t()}finally{Fe(o),ie(i)}}function Il(){return fl()!==void 0||Eo()!=null}var _e=0,D=1,w=2,q=3,ye=4,ce=5,Vt=6,mn=7,G=8,Ze=9,Me=10,F=11,yn=12,Qs=13,Ht=14,ue=15,lt=16,$t=17,je=18,Ye=19,Ks=20,We=21,ko=22,ir=23,ge=24,Ut=25,dt=26,B=27,Cl=1,Js=6,ft=7,sr=8,Gt=9,$=10;function Qe(e){return Array.isArray(e)&&typeof e[Cl]=="object"}function Se(e){return Array.isArray(e)&&e[Cl]===!0}function Xs(e){return(e.flags&4)!==0}function Ke(e){return e.componentOffset>-1}function vn(e){return(e.flags&1)===1}function Be(e){return!!e.template}function Dn(e){return(e[w]&512)!==0}function zt(e){return(e[w]&256)===256}var ea="svg",wl="math";function ve(e){for(;Array.isArray(e);)e=e[_e];return e}function ta(e,t){return ve(t[e])}function Ne(e,t){return ve(t[e.index])}function Fo(e,t){return e.data[t]}function na(e,t){return e[t]}function ra(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function De(e,t){let n=t[e];return Qe(n)?n:n[_e]}function bl(e){return(e[w]&4)===4}function Po(e){return(e[w]&128)===128}function Tl(e){return Se(e[q])}function Ve(e,t){return t==null?null:e[t]}function oa(e){e[$t]=0}function ia(e){e[w]&1024||(e[w]|=1024,Po(e)&&En(e))}function _l(e,t){for(;e>0;)t=t[Ht],e--;return t}function ar(e){return!!(e[w]&9216||e[ge]?.dirty)}function Lo(e){e[Me].changeDetectionScheduler?.notify(8),e[w]&64&&(e[w]|=1024),ar(e)&&En(e)}function En(e){e[Me].changeDetectionScheduler?.notify(0);let t=st(e);for(;t!==null&&!(t[w]&8192||(t[w]|=8192,!Po(t)));)t=st(t)}function sa(e,t){if(zt(e))throw new m(911,!1);e[We]===null&&(e[We]=[]),e[We].push(t)}function Ml(e,t){if(e[We]===null)return;let n=e[We].indexOf(t);n!==-1&&e[We].splice(n,1)}function st(e){let t=e[q];return Se(t)?t[q]:t}function aa(e){return e[mn]??=[]}function ca(e){return e.cleanup??=[]}function Sl(e,t,n,r){let o=aa(t);o.push(n),e.firstCreatePass&&ca(e).push(r,o.length-1)}var _={lFrame:Gl(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Ss=!1;function Nl(){return _.lFrame.elementDepthCount}function xl(){_.lFrame.elementDepthCount++}function Al(){_.lFrame.elementDepthCount--}function jo(){return _.bindingsEnabled}function ua(){return _.skipHydrationRootTNode!==null}function Rl(e){return _.skipHydrationRootTNode===e}function Ol(){_.skipHydrationRootTNode=null}function I(){return _.lFrame.lView}function V(){return _.lFrame.tView}function kl(e){return _.lFrame.contextLView=e,e[G]}function Fl(e){return _.lFrame.contextLView=null,e}function ee(){let e=la();for(;e!==null&&e.type===64;)e=e.parent;return e}function la(){return _.lFrame.currentTNode}function Pl(){let e=_.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function In(e,t){let n=_.lFrame;n.currentTNode=e,n.isParent=t}function da(){return _.lFrame.isParent}function fa(){_.lFrame.isParent=!1}function Ll(){return _.lFrame.contextLView}function pa(){return Ss}function ha(e){let t=Ss;return Ss=e,t}function Bo(){let e=_.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function ga(){return _.lFrame.bindingIndex}function jl(e){return _.lFrame.bindingIndex=e}function Wt(){return _.lFrame.bindingIndex++}function cr(e){let t=_.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Bl(){return _.lFrame.inI18n}function Vl(e,t){let n=_.lFrame;n.bindingIndex=n.bindingRootIndex=e,Vo(t)}function Hl(){return _.lFrame.currentDirectiveIndex}function Vo(e){_.lFrame.currentDirectiveIndex=e}function $l(e){let t=_.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function ma(){return _.lFrame.currentQueryIndex}function Ho(e){_.lFrame.currentQueryIndex=e}function Dm(e){let t=e[D];return t.type===2?t.declTNode:t.type===1?e[ce]:null}function ya(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=Dm(i),o===null||(i=i[Ht],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=_.lFrame=Ul();return r.currentTNode=t,r.lView=e,!0}function $o(e){let t=Ul(),n=e[D];_.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Ul(){let e=_.lFrame,t=e===null?null:e.child;return t===null?Gl(e):t}function Gl(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function zl(){let e=_.lFrame;return _.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var va=zl;function Uo(){let e=zl();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 Wl(e){return(_.lFrame.contextLView=_l(e,_.lFrame.contextLView))[G]}function xe(){return _.lFrame.selectedIndex}function pt(e){_.lFrame.selectedIndex=e}function Go(){let e=_.lFrame;return Fo(e.tView,e.selectedIndex)}function ql(){_.lFrame.currentNamespace=ea}function Zl(){Em()}function Em(){_.lFrame.currentNamespace=null}function Da(){return _.lFrame.currentNamespace}var Yl=!0;function zo(){return Yl}function ur(e){Yl=e}function Ns(e,t=null,n=null,r){let o=Ea(e,t,n,r);return o.resolveInjectorInitializers(),o}function Ea(e,t=null,n=null,r,o=new Set){let i=[n||se,yl(e)],s;return new Lt(i,t||or(),s||null,o)}var Te=class e{static THROW_IF_NOT_FOUND=kt;static NULL=new Zn;static create(t,n){if(Array.isArray(t))return Ns({name:""},n,t,"");{let r=t.name??"";return Ns({name:r},t.parent,t.providers,r)}}static \u0275prov=M({token:e,providedIn:"any",factory:()=>L(Gs)});static __NG_ELEMENT_ID__=-1},He=new T(""),qt=(()=>{class e{static __NG_ELEMENT_ID__=Im;static __NG_ENV_ID__=n=>n}return e})(),xs=class extends qt{_lView;constructor(t){super(),this._lView=t}get destroyed(){return zt(this._lView)}onDestroy(t){let n=this._lView;return sa(n,t),()=>Ml(n,t)}};function Im(){return new xs(I())}var Ia=!1,Ql=new T(""),ht=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new Bn(!1);debugTaskTracker=g(Ql,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new S(n=>{n.next(!1),n.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let 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),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=M({token:e,providedIn:"root",factory:()=>new e})}return e})(),As=class extends be{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Il()&&(this.destroyRef=g(qt,{optional:!0})??void 0,this.pendingTasks=g(ht,{optional:!0})??void 0)}emit(t){let n=E(null);try{super.next(t)}finally{E(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let 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)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof J&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},ze=As;function bo(...e){}function Ca(e){let t,n;function r(){e=bo;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch(o){}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function Kl(e){return queueMicrotask(()=>e()),()=>{e=bo}}var wa="isAngularZone",Yn=wa+"_ID",Cm=0,Y=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new ze(!1);onMicrotaskEmpty=new ze(!1);onStable=new ze(!1);onError=new ze(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Ia}=t;if(typeof Zone>"u")throw new m(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,Tm(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(wa)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new m(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new m(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,wm,bo,bo);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)}},wm={};function ba(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function bm(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Ca(()=>{e.callbackScheduled=!1,Rs(e),e.isCheckStableRunning=!0,ba(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Rs(e)}function Tm(e){let t=()=>{bm(e)},n=Cm++;e._inner=e._inner.fork({name:"angular",properties:{[wa]:!0,[Yn]:n,[Yn+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(_m(c))return r.invokeTask(i,s,a,c);try{return sl(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),al(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return sl(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Mm(c)&&t(),al(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Rs(e),ba(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function Rs(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function sl(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function al(e){e._nesting--,ba(e)}var Qn=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new ze;onMicrotaskEmpty=new ze;onStable=new ze;onError=new ze;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 _m(e){return Jl(e,"__ignore_ng_zone__")}function Mm(e){return Jl(e,"__scheduler_tick__")}function Jl(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var at=class{_console=console;handleError(t){this._console.error("ERROR",t)}},Je=new T("",{factory:()=>{let e=g(Y),t=g(ae),n;return r=>{e.runOutsideAngular(()=>{t.destroyed&&!n?setTimeout(()=>{throw r}):(n??=t.get(at),n.handleError(r))})}}}),Xl={provide:Bt,useValue:()=>{let e=g(at,{optional:!0})},multi:!0};function Zt(e,t){let[n,r,o]=vs(e,t?.equal),i=n,s=i[Z];return i.set=r,i.update=o,i.asReadonly=Wo.bind(i),i}function Wo(){let e=this[Z];if(e.readonlyFn===void 0){let t=()=>this();t[Z]=e,e.readonlyFn=t}return e.readonlyFn}var qo=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=Sm}return e})();function Sm(){return new qo(I(),ee())}var qe=class{},Cn=new T("",{factory:()=>!0});var Zo=new T(""),lr=(()=>{class e{internalPendingTasks=g(ht);scheduler=g(qe);errorHandler=g(Je);add(){let n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(n))}}run(n){let r=this.add();n().catch(this.errorHandler).finally(r)}static \u0275prov=M({token:e,providedIn:"root",factory:()=>new e})}return e})(),Ta=(()=>{class e{static \u0275prov=M({token:e,providedIn:"root",factory:()=>new Os})}return e})(),Os=class{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t)}schedule(t){t.dirty&&this.dirtyEffectCount++}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),t.dirty&&this.dirtyEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||r.add(t)}flush(){for(;this.dirtyEffectCount>0;){let t=!1;for(let[n,r]of this.queues)n===null?t||=this.flushQueue(r):t||=n.run(()=>this.flushQueue(r));t||(this.dirtyEffectCount=0)}}flushQueue(t){let n=!1;for(let r of t)r.dirty&&(this.dirtyEffectCount--,n=!0,r.run());return n}},ks=class{[Z];constructor(t){this[Z]=t}destroy(){this[Z].destroy()}};function Tr(e){return{toString:e}.toString()}function Pm(e){return typeof e=="function"}function Fd(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var ri=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}},mc=(()=>{let e=()=>Pd;return e.ngInherit=!0,e})();function Pd(e){return e.type.prototype.ngOnChanges&&(e.setInput=jm),Lm}function Lm(){let e=jd(this),t=e?.current;if(t){let n=e.previous;if(n===ut)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function jm(e,t,n,r,o){let i=this.declaredInputs[r],s=jd(e)||Bm(e,{previous:ut,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new ri(u&&u.currentValue,n,c===ut),Fd(e,t,o,n)}var Ld="__ngSimpleChanges__";function jd(e){return e[Ld]||null}function Bm(e,t){return e[Ld]=t}var ed=[];var O=function(e,t=null,n){for(let r=0;r<ed.length;r++){let o=ed[r];o(e,t,n)}},N=(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})(N||{});function Vm(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=Pd(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function Bd(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:u,ngOnDestroy:l}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),u&&((e.viewHooks??=[]).push(n,u),(e.viewCheckHooks??=[]).push(n,u)),l!=null&&(e.destroyHooks??=[]).push(n,l)}}function Xo(e,t,n){Vd(e,t,3,n)}function ei(e,t,n,r){(e[w]&3)===n&&Vd(e,t,n,r)}function _a(e,t){let n=e[w];(n&3)===t&&(n&=16383,n+=1,e[w]=n)}function Vd(e,t,n,r){let o=r!==void 0?e[$t]&65535:0,i=r??-1,s=t.length-1,a=0;for(let c=o;c<s;c++)if(typeof t[c+1]=="number"){if(a=t[c],r!=null&&a>=r)break}else t[c]<0&&(e[$t]+=65536),(a<i||i==-1)&&(Hm(e,n,t,c),e[$t]=(e[$t]&4294901760)+c+2),c++}function td(e,t){O(N.LifecycleHookStart,e,t);let n=E(null);try{t.call(e)}finally{E(n),O(N.LifecycleHookEnd,e,t)}}function Hm(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[w]>>14<e[$t]>>16&&(e[w]&3)===t&&(e[w]+=16384,td(a,i)):td(a,i)}var bn=-1,Qt=class{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 $m(e){return(e.flags&8)!==0}function Um(e){return(e.flags&16)!==0}function Gm(e,t,n){let r=0;for(;r<n.length;){let o=n[r];if(typeof o=="number"){if(o!==0)break;r++;let i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{let i=o,s=n[++r];zm(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function Hd(e){return e===3||e===4||e===6}function zm(e){return e.charCodeAt(0)===64}function gr(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){let o=t[r];typeof o=="number"?n=o:n===0||(n===-1||n===2?nd(e,n,o,null,t[++r]):nd(e,n,o,null,null))}}return e}function nd(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===n){o!==null&&(e[i+1]=o);return}i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),o!==null&&e.splice(i++,0,o)}function $d(e){return e!==bn}function oi(e){return e&32767}function Wm(e){return e>>16}function ii(e,t){let n=Wm(e),r=t;for(;n>0;)r=r[Ht],n--;return r}var ja=!0;function si(e){let t=ja;return ja=e,t}var qm=256,Ud=qm-1,Gd=5,Zm=0,$e={};function Ym(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(jt)&&(r=n[jt]),r==null&&(r=n[jt]=Zm++);let o=r&Ud,i=1<<o;t.data[e+(o>>Gd)]|=i}function ai(e,t){let n=zd(e,t);if(n!==-1)return n;let r=t[D];r.firstCreatePass&&(e.injectorIndex=t.length,Ma(r.data,e),Ma(t,null),Ma(r.blueprint,null));let o=yc(e,t),i=e.injectorIndex;if($d(o)){let s=oi(o),a=ii(o,t),c=a[D].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=o,i}function Ma(e,t){e.push(0,0,0,0,0,0,0,0,t)}function zd(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function yc(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=Kd(o),r===null)return bn;if(n++,o=o[Ht],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return bn}function Ba(e,t,n){Ym(e,t,n)}function Qm(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o<r;){let i=n[o];if(Hd(i))break;if(i===0)o=o+2;else if(typeof i=="number")for(o++;o<r&&typeof n[o]=="string";)o++;else{if(i===t)return n[o+1];o=o+2}}}return null}function Wd(e,t,n){if(n&8||e!==void 0)return e;xo(t,"NodeInjector")}function qd(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[Ze],i=ie(void 0);try{return o?o.get(t,r,n&8):$s(t,r,n&8)}finally{ie(i)}}return Wd(r,t,n)}function Zd(e,t,n,r=0,o){if(e!==null){if(t[w]&2048&&!(r&2)){let s=ey(e,t,n,r,$e);if(s!==$e)return s}let i=Yd(e,t,n,r,$e);if(i!==$e)return i}return qd(t,n,r,o)}function Yd(e,t,n,r,o){let i=Jm(n);if(typeof i=="function"){if(!ya(t,e,r))return r&1?Wd(o,n,r):qd(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))xo(n);else return s}finally{va()}}else if(typeof i=="number"){let s=null,a=zd(e,t),c=bn,u=r&1?t[ue][ce]:null;for((a===-1||r&4)&&(c=a===-1?yc(e,t):t[a+8],c===bn||!od(r,!1)?a=-1:(s=t[D],a=oi(c),t=ii(c,t)));a!==-1;){let l=t[D];if(rd(i,a,l.data)){let d=Km(a,t,n,s,r,u);if(d!==$e)return d}c=t[a+8],c!==bn&&od(r,t[D].data[a+8]===u)&&rd(i,a,t)?(s=l,a=oi(c),t=ii(c,t)):a=-1}}return o}function Km(e,t,n,r,o,i){let s=t[D],a=s.data[e+8],c=r==null?Ke(a)&&ja:r!=s&&(a.type&3)!==0,u=o&1&&i===a,l=ti(a,s,n,c,u);return l!==null?mr(t,s,l,a,o):$e}function ti(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,u=e.directiveEnd,l=i>>20,d=r?a:a+l,p=o?a+l:u;for(let f=d;f<p;f++){let h=s[f];if(f<c&&n===h||f>=c&&h.type===n)return f}if(o){let f=s[c];if(f&&Be(f)&&f.type===n)return c}return null}function mr(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof Qt){let a=i;if(a.resolving)throw Hs("");let c=si(a.canSeeViewProviders);a.resolving=!0;let u=s[n].type||s[n],l,d=a.injectImpl?ie(a.injectImpl):null,p=ya(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&Vm(n,s[n],t)}finally{d!==null&&ie(d),si(c),a.resolving=!1,va()}}return i}function Jm(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(jt)?e[jt]:void 0;return typeof t=="number"?t>=0?t&Ud:Xm:t}function rd(e,t,n){let r=1<<e;return!!(n[t+(e>>Gd)]&r)}function od(e,t){return!(e&2)&&!(e&1&&t)}var Yt=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Zd(this._tNode,this._lView,t,Ft(r),n)}};function Xm(){return new Yt(ee(),I())}function Qd(e){return Tr(()=>{let t=e.prototype.constructor,n=t[qn]||Va(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[qn]||Va(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Va(e){return Fs(e)?()=>{let t=Va(X(e));return t&&t()}:it(e)}function ey(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[w]&2048&&!Dn(s);){let a=Yd(i,s,n,r|2,$e);if(a!==$e)return a;let c=i.parent;if(!c){let u=s[Ks];if(u){let l=u.get(n,$e,r&-5);if(l!==$e)return l}c=Kd(s),s=s[Ht]}i=c}return o}function Kd(e){let t=e[D],n=t.type;return n===2?t.declTNode:n===1?e[ce]:null}function vc(e){return Qm(ee(),e)}function ty(){return Nn(ee(),I())}function Nn(e,t){return new en(Ne(e,t))}var en=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=ty}return e})();function ny(e){return e instanceof en?e.nativeElement:e}function ry(){return this._results[Symbol.iterator]()}var ci=class{_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 be}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;let r=hl(t);(this._changesDetected=!pl(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=ry};function Jd(e){return(e.flags&128)===128}var Dc=(function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e})(Dc||{}),Xd=new Map,oy=0;function iy(){return oy++}function sy(e){Xd.set(e[Ye],e)}function Ha(e){Xd.delete(e[Ye])}var id="__ngContext__";function Tn(e,t){Qe(t)?(e[id]=t[Ye],sy(t)):e[id]=t}function ef(e){return nf(e[yn])}function tf(e){return nf(e[ye])}function nf(e){for(;e!==null&&!Se(e);)e=e[ye];return e}var $a;function ay(e){$a=e}function rf(){if($a!==void 0)return $a;if(typeof document<"u")return document;throw new m(210,!1)}var cy=new T("",{factory:()=>uy}),uy="ng";var of=new T(""),ly=new T("",{providedIn:"platform",factory:()=>"unknown"});var sf=new T("",{factory:()=>g(He).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var af="r";var cf="di";var uf=!1,lf=new T("",{factory:()=>uf});var sd=new WeakMap;function dy(e,t){if(e==null||typeof e!="object")return;let n=sd.get(e);n||(n=new WeakSet,sd.set(e,n)),n.add(t)}var fy=(e,t,n,r)=>{};function py(e,t,n,r){fy(e,t,n,r)}function wi(e){return(e.flags&32)===32}var hy=()=>null;function df(e,t,n=!1){return hy(e,t,n)}function ff(e,t){let n=e.contentQueries;if(n!==null){let r=E(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];Ho(i),a.contentQueries(2,t[s],s)}}}finally{E(r)}}}function Ua(e,t,n){Ho(0);let r=E(null);try{t(e,n)}finally{E(r)}}function Ec(e,t,n){if(Xs(t)){let r=E(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=n[s];a.contentQueries(1,c,s)}}}finally{E(r)}}}var Kt=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e})(Kt||{});var Yo;function gy(){if(Yo===void 0&&(Yo=null,Pe.trustedTypes))try{Yo=Pe.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Yo}function bi(e){return gy()?.createHTML(e)||e}var Qo;function pf(){if(Qo===void 0&&(Qo=null,Pe.trustedTypes))try{Qo=Pe.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Qo}function ad(e){return pf()?.createHTML(e)||e}function cd(e){return pf()?.createScriptURL(e)||e}var ui=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${To})`}};function xn(e){return e instanceof ui?e.changingThisBreaksApplicationSecurity:e}function Ti(e,t){let n=hf(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${To})`)}return n===t}function hf(e){return e instanceof ui&&e.getTypeName()||null}function my(e){let t=new za(e);return yy()?new Ga(t):t}var Ga=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(bi(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch(n){return null}}},za=class{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=bi(t),n}};function yy(){try{return!!new window.DOMParser().parseFromString(bi(""),"text/html")}catch(e){return!1}}var vy=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Ic(e){return e=String(e),e.match(vy)?e:"unsafe:"+e}function Xe(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function _r(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var gf=Xe("area,br,col,hr,img,wbr"),mf=Xe("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),yf=Xe("rp,rt"),Dy=_r(yf,mf),Ey=_r(mf,Xe("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Iy=_r(yf,Xe("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),ud=_r(gf,Ey,Iy,Dy),vf=Xe("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Cy=Xe("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),wy=Xe("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),by=_r(vf,Cy,wy),Ty=Xe("script,style,template"),Wa=class{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=Sy(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=My(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=ld(t).toLowerCase();if(!ud.hasOwnProperty(n))return this.sanitizedSomething=!0,!Ty.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!by.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;vf[a]&&(c=Ic(c)),this.buf.push(" ",s,'="',dd(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=ld(t).toLowerCase();ud.hasOwnProperty(n)&&!gf.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(dd(t))}};function _y(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function My(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Df(t);return t}function Sy(e){let t=e.firstChild;if(t&&_y(e,t))throw Df(t);return t}function ld(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Df(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var Ny=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,xy=/([^\#-~ |!])/g;function dd(e){return e.replace(/&/g,"&").replace(Ny,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(xy,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var Ko;function Ef(e,t){let n=null;try{Ko=Ko||my(e);let r=t?String(t):"";n=Ko.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=Ko.getInertBodyElement(r)}while(r!==i);let a=new Wa().sanitizeChildren(fd(n)||n);return bi(a)}finally{if(n){let r=fd(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function fd(e){return"content"in e&&Ay(e)?e.content:null}function Ay(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Ry=/^>|^->|<!--|-->|--!>|<!-$/g,Oy=/(<|>)/g,ky="\u200B$1\u200B";function Fy(e){return e.replace(Ry,t=>t.replace(Oy,ky))}function Py(e,t){return e.createText(t)}function Ly(e,t,n){e.setValue(t,n)}function jy(e,t){return e.createComment(Fy(t))}function If(e,t,n){return e.createElement(t,n)}function li(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Cf(e,t,n){e.appendChild(t,n)}function pd(e,t,n,r,o){r!==null?li(e,t,n,r,o):Cf(e,t,n)}function wf(e,t,n,r){e.removeChild(null,t,n,r)}function By(e,t,n){e.setAttribute(t,"style",n)}function Vy(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function bf(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&Gm(e,t,r),o!==null&&Vy(e,t,o),i!==null&&By(e,t,i)}var Mr=(function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e[e.ATTRIBUTE_NO_BINDING=6]="ATTRIBUTE_NO_BINDING",e})(Mr||{});function Hy(e){let t=Cc();return t?ad(t.sanitize(Mr.HTML,e)||""):Ti(e,"HTML")?ad(xn(e)):Ef(rf(),Le(e))}function Tf(e){let t=Cc();return t?t.sanitize(Mr.URL,e)||"":Ti(e,"URL")?xn(e):Ic(Le(e))}function _f(e){let t=Cc();if(t)return cd(t.sanitize(Mr.RESOURCE_URL,e)||"");if(Ti(e,"ResourceURL"))return cd(xn(e));throw new m(904,!1)}var $y={embed:{src:!0},frame:{src:!0},iframe:{src:!0},media:{src:!0},base:{href:!0},link:{href:!0},object:{data:!0,codebase:!0}};function Uy(e,t){return $y[e.toLowerCase()]?.[t.toLowerCase()]===!0?_f:Tf}function Gy(e,t,n){return Uy(t,n)(e)}function Cc(){let e=I();return e&&e[Me].sanitizer}function Mf(e){return e instanceof Function?e():e}function zy(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}var Sf="ng-template";function Wy(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&zy(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(wc(e))return!1;if(o=t.indexOf(1,o),o>-1){let i;for(;++o<t.length&&typeof(i=t[o])=="string";)if(i.toLowerCase()===n)return!0}return!1}function wc(e){return e.type===4&&e.value!==Sf}function qy(e,t,n){let r=e.type===4&&!n?Sf:e.value;return t===r}function Zy(e,t,n){let r=4,o=e.attrs,i=o!==null?Ky(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!Ae(r)&&!Ae(c))return!1;if(s&&Ae(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!qy(e,c,n)||c===""&&t.length===1){if(Ae(r))return!1;s=!0}}else if(r&8){if(o===null||!Wy(e,o,c,n)){if(Ae(r))return!1;s=!0}}else{let u=t[++a],l=Yy(c,o,wc(e),n);if(l===-1){if(Ae(r))return!1;s=!0;continue}if(u!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),r&2&&u!==d){if(Ae(r))return!1;s=!0}}}}return Ae(r)||s}function Ae(e){return(e&1)===0}function Yy(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){let s=t[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=t[++o];for(;typeof a=="string";)a=t[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return Jy(t,e)}function Nf(e,t,n=!1){for(let r=0;r<t.length;r++)if(Zy(e,t[r],n))return!0;return!1}function Qy(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function Ky(e){for(let t=0;t<e.length;t++){let n=e[t];if(Hd(n))return t}return e.length}function Jy(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let r=e[n];if(typeof r=="number")return-1;if(r===t)return n;n++}return-1}function Xy(e,t){e:for(let n=0;n<t.length;n++){let r=t[n];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function hd(e,t){return e?":not("+t.trim()+")":t}function ev(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(r&2){let a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!Ae(s)&&(t+=hd(i,o),o=""),r=s,i=i||!Ae(r);n++}return o!==""&&(t+=hd(i,o)),t}function tv(e){return e.map(ev).join(",")}function nv(e){let t=[],n=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&t.push(i,e[++r]):o===8&&n.push(i);else{if(!Ae(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var te={};function bc(e,t,n,r,o,i,s,a,c,u,l){let d=B+r,p=d+o,f=rv(d,p),h=typeof u=="function"?u():u;return f[D]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,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:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:h,incompleteFirstPass:!1,ssrId:l}}function rv(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:te);return n}function ov(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=bc(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Tc(e,t,n,r,o,i,s,a,c,u,l){let d=t.blueprint.slice();return d[_e]=o,d[w]=r|4|128|8|64|1024,(u!==null||e&&e[w]&2048)&&(d[w]|=2048),oa(d),d[q]=d[Ht]=e,d[G]=n,d[Me]=s||e&&e[Me],d[F]=a||e&&e[F],d[Ze]=c||e&&e[Ze]||null,d[ce]=i,d[Ye]=iy(),d[Vt]=l,d[Ks]=u,d[ue]=t.type==2?e[ue]:d,d}function iv(e,t,n){let r=Ne(t,e),o=ov(n),i=e[Me].rendererFactory,s=_c(e,Tc(e,o,null,xf(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function xf(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Af(e,t,n,r){if(n===0)return-1;let o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function _c(e,t){return e[yn]?e[Qs][ye]=t:e[yn]=t,e[Qs]=t,t}function sv(e=1){Rf(V(),I(),xe()+e,!1)}function Rf(e,t,n,r){if(!r)if((t[w]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Xo(t,i,n)}else{let i=e.preOrderHooks;i!==null&&ei(t,i,0,n)}pt(n)}var _i=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(_i||{});function qa(e,t,n,r){let o=E(null);try{let[i,s,a]=e.inputs[n],c=null;(s&_i.SignalBased)!==0&&(c=t[i][Z]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(t,r)),e.setInput!==null?e.setInput(t,c,r,n,i):Fd(t,c,i,r)}finally{E(o)}}var yr=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(yr||{}),av;function Mc(e,t){return av(e,t)}var YN=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var Za=new WeakMap,fr=new WeakSet;function cv(e,t){let n=Za.get(e);if(!n||n.length===0)return;let r=t.parentNode,o=t.previousSibling;for(let i=n.length-1;i>=0;i--){let s=n[i],a=s.parentNode;s===t?(n.splice(i,1),fr.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))}}function uv(e,t){let n=Za.get(e);n?n.includes(t)||n.push(t):Za.set(e,[t])}var vr=new Set,Mi=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(Mi||{}),yt=new T(""),gd=new Set;function vt(e){gd.has(e)||(gd.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Sc=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=M({token:e,providedIn:"root",factory:()=>new e})}return e})(),Of=[0,1,2,3],kf=(()=>{class e{ngZone=g(Y);scheduler=g(qe);errorHandler=g(at,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){g(yt,{optional:!0})}execute(){let n=this.sequences.size>0;n&&O(N.AfterRenderHooksStart),this.executing=!0;for(let r of Of)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[r]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let i=o.hooks[r];return i(o.pipelinedValue)},o.snapshot))}catch(i){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),n&&O(N.AfterRenderHooksEnd)}register(n){let{view:r}=n;r!==void 0?((r[Ut]??=[]).push(n),En(r),r[w]|=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(Mi.AFTER_NEXT_RENDER,n):n()}static \u0275prov=M({token:e,providedIn:"root",factory:()=>new e})}return e})(),di=class{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?.();let t=this.view?.[Ut];t&&(this.view[Ut]=t.filter(n=>n!==this))}};function lv(e,t){let n=t?.injector??g(Te);return vt("NgAfterNextRender"),fv(e,n,t,!0)}function dv(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function fv(e,t,n,r){let o=t.get(Sc);o.impl??=t.get(kf);let i=t.get(yt,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(qt):null,a=t.get(qo,null,{optional:!0}),c=new di(o.impl,dv(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var Ff=new T("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:g(ae)})});function Pf(e,t,n){let r=e.get(Ff);if(Array.isArray(t))for(let 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 pv(e,t){let n=e.get(Ff);if(t.detachedLeaveAnimationFns){for(let r of t.detachedLeaveAnimationFns)n.queue.delete(r);t.detachedLeaveAnimationFns=void 0}}function hv(e,t){for(let[n,r]of t)Pf(e,r.animateFns)}function md(e,t,n,r){let o=e?.[dt]?.enter;t!==null&&o&&o.has(n.index)&&hv(r,o)}function wn(e,t,n,r,o,i,s,a){if(o!=null){let c,u=!1;Se(o)?c=o:Qe(o)&&(u=!0,o=o[_e]);let l=ve(o);e===0&&r!==null?(md(a,r,i,n),s==null?Cf(t,r,l):li(t,r,l,s||null,!0)):e===1&&r!==null?(md(a,r,i,n),li(t,r,l,s||null,!0),cv(i,l)):e===2?(a?.[dt]?.leave?.has(i.index)&&uv(i,l),fr.delete(l),yd(a,i,n,d=>{if(fr.has(l)){fr.delete(l);return}wf(t,l,u,d)})):e===3&&(fr.delete(l),yd(a,i,n,()=>{t.destroyNode(l)})),c!=null&&Tv(t,e,n,c,i,r,s)}}function gv(e,t){Lf(e,t),t[_e]=null,t[ce]=null}function mv(e,t,n,r,o,i){r[_e]=o,r[ce]=t,Ni(e,r,n,1,o,i)}function Lf(e,t){t[Me].changeDetectionScheduler?.notify(9),Ni(e,t,t[F],2,null,null)}function yv(e){let t=e[yn];if(!t)return Sa(e[D],e);for(;t;){let n=null;if(Qe(t))n=t[yn];else{let r=t[$];r&&(n=r)}if(!n){for(;t&&!t[ye]&&t!==e;)Qe(t)&&Sa(t[D],t),t=t[q];t===null&&(t=e),Qe(t)&&Sa(t[D],t),n=t&&t[ye]}t=n}}function Nc(e,t){let n=e[Gt],r=n.indexOf(t);n.splice(r,1)}function Si(e,t){if(zt(t))return;let n=t[F];n.destroyNode&&Ni(e,t,n,3,null,null),yv(t)}function Sa(e,t){if(zt(t))return;let n=E(null);try{t[w]&=-129,t[w]|=256,t[ge]&&Un(t[ge]),Ev(e,t),Dv(e,t),t[D].type===1&&t[F].destroy();let r=t[lt];if(r!==null&&Se(t[q])){r!==t[q]&&Nc(r,t);let o=t[je];o!==null&&o.detachView(e)}Ha(t)}finally{E(n)}}function yd(e,t,n,r){let o=e?.[dt];if(o==null||o.leave==null||!o.leave.has(t.index))return r(!1);e&&vr.add(e[Ye]),Pf(n,()=>{if(o.leave&&o.leave.has(t.index)){let s=o.leave.get(t.index),a=[];if(s){for(let c=0;c<s.animateFns.length;c++){let u=s.animateFns[c],{promise:l}=u();a.push(l)}o.detachedLeaveAnimationFns=void 0}o.running=Promise.allSettled(a),vv(e,r)}else e&&vr.delete(e[Ye]),r(!1)},o)}function vv(e,t){let n=e[dt]?.running;if(n){n.then(()=>{e[dt].running=void 0,vr.delete(e[Ye]),t(!0)});return}t(!1)}function Dv(e,t){let n=e.cleanup,r=t[mn];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]=="string"){let a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(t[mn]=null);let o=t[We];if(o!==null){t[We]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[ir];if(i!==null){t[ir]=null;for(let s of i)s.destroy()}}function Ev(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let o=t[n[r]];if(!(o instanceof Qt)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];O(N.LifecycleHookStart,a,c);try{c.call(a)}finally{O(N.LifecycleHookEnd,a,c)}}else{O(N.LifecycleHookStart,o,i);try{i.call(o)}finally{O(N.LifecycleHookEnd,o,i)}}}}}function jf(e,t,n){return Iv(e,t.parent,n)}function Iv(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[_e];if(Ke(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===Kt.None||o===Kt.Emulated)return null}return Ne(r,n)}function Bf(e,t,n){return wv(e,t,n)}function Cv(e,t,n){return e.type&40?Ne(e,n):null}var wv=Cv,vd;function xc(e,t,n,r){let o=jf(e,r,t),i=t[F],s=r.parent||t[ce],a=Bf(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)pd(i,o,n[c],a,!1);else pd(i,o,n,a,!1);vd!==void 0&&vd(i,r,t,n,o)}function pr(e,t){if(t!==null){let n=t.type;if(n&3)return Ne(t,e);if(n&4)return Ya(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return pr(e,r);{let o=e[t.index];return Se(o)?Ya(-1,o):ve(o)}}else{if(n&128)return pr(e,t.next);if(n&32)return Mc(t,e)()||ve(e[t.index]);{let r=Vf(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=st(e[ue]);return pr(o,r)}else return pr(e,t.next)}}}return null}function Vf(e,t){if(t!==null){let r=e[ue][ce],o=t.projection;return r.projection[o]}return null}function Ya(e,t){let n=$+e+1;if(n<t.length){let r=t[n],o=r[D].firstChild;if(o!==null)return pr(r,o)}return t[ft]}function Ac(e,t,n,r,o,i,s){for(;n!=null;){let a=r[Ze];if(n.type===128){n=n.next;continue}let c=r[n.index],u=n.type;if(s&&t===0&&(c&&Tn(ve(c),r),n.flags|=2),!wi(n))if(u&8)Ac(e,t,n.child,r,o,i,!1),wn(t,e,a,o,c,n,i,r);else if(u&32){let l=Mc(n,r),d;for(;d=l();)wn(t,e,a,o,d,n,i,r);wn(t,e,a,o,c,n,i,r)}else u&16?Hf(e,t,r,n,o,i):wn(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next}}function Ni(e,t,n,r,o,i){Ac(n,r,e.firstChild,t,o,i,!1)}function bv(e,t,n){let r=t[F],o=jf(e,n,t),i=n.parent||t[ce],s=Bf(i,n,t);Hf(r,0,t,n,o,s)}function Hf(e,t,n,r,o,i){let s=n[ue],c=s[ce].projection[r.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];wn(t,e,n[Ze],o,l,r,i,n)}else{let u=c,l=s[q];Jd(r)&&(u.flags|=128),Ac(e,t,u,l,o,i,!0)}}function Tv(e,t,n,r,o,i,s){let a=r[ft],c=ve(r);a!==c&&wn(t,e,n,i,a,o,s);for(let u=$;u<r.length;u++){let l=r[u];Ni(l[D],l,e,t,i,a)}}function _v(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:yr.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=yr.Important),e.setStyle(n,r,o,i))}}function $f(e,t,n,r,o){let i=xe(),s=r&2;try{pt(-1),s&&t.length>B&&Rf(e,t,B,!1);let a=s?N.TemplateUpdateStart:N.TemplateCreateStart;O(a,o,n),n(r,o)}finally{pt(i);let a=s?N.TemplateUpdateEnd:N.TemplateCreateEnd;O(a,o,n)}}function xi(e,t,n){Ov(e,t,n),(n.flags&64)===64&&kv(e,t,n)}function Ai(e,t,n=Ne){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?n(t,e):e[s];e[o++]=a}}}function Mv(e,t,n,r){let i=r.get(lf,uf)||n===Kt.ShadowDom||n===Kt.ExperimentalIsolatedShadowDom,s=e.selectRootElement(t,i);if(s.tagName.toLowerCase()==="script")throw new m(905,!1);return Sv(s),s}function Sv(e){Nv(e)}var Nv=()=>null;function xv(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Uf(e,t,n,r,o,i){let s=t[D];if(Oc(e,s,t,n,r)){Ke(e)&&Rv(t,e.index);return}e.type&3&&(n=xv(n)),Av(e,t,n,r,o,i)}function Av(e,t,n,r,o,i){if(e.type&3){let s=Ne(e,t);r=i!=null?i(r,e.value||"",n):r,o.setProperty(s,n,r)}else e.type&12}function Rv(e,t){let n=De(t,e);n[w]&16||(n[w]|=64)}function Ov(e,t,n){let r=n.directiveStart,o=n.directiveEnd;Ke(n)&&iv(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||ai(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=mr(t,e,s,n);if(Tn(c,t),i!==null&&jv(t,s-r,c,a,n,i),Be(a)){let u=De(n.index,t);u[G]=mr(t,e,s,n)}}}function kv(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=Hl();try{pt(i);for(let a=r;a<o;a++){let c=e.data[a],u=t[a];Vo(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&Fv(c,u)}}finally{pt(-1),Vo(s)}}function Fv(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Rc(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];Nf(t,i.selectors,!1)&&(r??=[],Be(i)?r.unshift(i):r.push(i))}return r}function Pv(e,t,n,r,o,i){let s=Ne(e,t);Lv(t[F],s,i,e.value,n,r,o)}function Lv(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?Le(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function jv(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],u=s[a+1];qa(r,n,c,u)}}function Gf(e,t,n,r,o){let i=B+n,s=t[D],a=o(s,t,e,r,n);t[i]=a,In(e,!0);let c=e.type===2;return c?(bf(t[F],a,e),(Nl()===0||vn(e))&&Tn(a,t),xl()):Tn(a,t),zo()&&(!c||!wi(e))&&xc(s,t,a,e),e}function zf(e){let t=e;return da()?fa():(t=t.parent,In(t,!1)),t}function Bv(e,t){let n=e[Ze];if(!n)return;let r;try{r=n.get(Je,null)}catch(o){r=null}r?.(t)}function Oc(e,t,n,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let c=0;c<s.length;c+=2){let u=s[c],l=s[c+1],d=t.data[u];qa(d,n[u],l,o),a=!0}if(i)for(let c of i){let u=n[c],l=t.data[c];qa(l,u,r,o),a=!0}return a}function Vv(e,t){let n=De(t,e),r=n[D];Hv(r,n);let o=n[_e];o!==null&&n[Vt]===null&&(n[Vt]=df(o,n[Ze])),O(N.ComponentStart);try{kc(r,n,n[G])}finally{O(N.ComponentEnd,n[G])}}function Hv(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function kc(e,t,n){$o(t);try{let r=e.viewQuery;r!==null&&Ua(1,r,n);let o=e.template;o!==null&&$f(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[je]?.finishViewCreation(e),e.staticContentQueries&&ff(e,t),e.staticViewQueries&&Ua(2,e.viewQuery,n);let i=e.components;i!==null&&$v(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[w]&=-5,Uo()}}function $v(e,t){for(let n=0;n<t.length;n++)Vv(e,t[n])}function Sr(e,t,n,r){let o=E(null);try{let i=t.tView,a=e[w]&4096?4096:16,c=Tc(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),u=e[t.index];c[lt]=u;let l=e[je];return l!==null&&(c[je]=l.createEmbeddedView(i)),kc(i,c,n),c}finally{E(o)}}function _n(e,t){return!t||t.firstChild===null||Jd(e)}function Dr(e,t,n,r,o=!1){for(;n!==null;){if(n.type===128){n=o?n.projectionNext:n.next;continue}let i=t[n.index];i!==null&&r.push(ve(i)),Se(i)&&Wf(i,r);let s=n.type;if(s&8)Dr(e,t,n.child,r);else if(s&32){let a=Mc(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=Vf(t,n);if(Array.isArray(a))r.push(...a);else{let c=st(t[ue]);Dr(c[D],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Wf(e,t){for(let n=$;n<e.length;n++){let r=e[n],o=r[D].firstChild;o!==null&&Dr(r[D],r,o,t)}e[ft]!==e[_e]&&t.push(e[ft])}function qf(e){if(e[Ut]!==null){for(let t of e[Ut])t.impl.addSequence(t);e[Ut].length=0}}var Zf=[];function Uv(e){return e[ge]??Gv(e)}function Gv(e){let t=Zf.pop()??Object.create(Wv);return t.lView=e,t}function zv(e){e.lView[ge]!==e&&(e.lView=null,Zf.push(e))}var Wv=oe(K({},Nt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{En(e.lView)},consumerOnSignalRead(){this.lView[ge]=this}});function qv(e){let t=e[ge]??Object.create(Zv);return t.lView=e,t}var Zv=oe(K({},Nt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=st(e.lView);for(;t&&!Yf(t[D]);)t=st(t);t&&ia(t)},consumerOnSignalRead(){this.lView[ge]=this}});function Yf(e){return e.type!==2}function Qf(e){if(e[ir]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[ir])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[w]&8192)}}var Yv=100;function Kf(e,t=0){let r=e[Me].rendererFactory,o=!1;o||r.begin?.();try{Qv(e,t)}finally{o||r.end?.()}}function Qv(e,t){let n=pa();try{ha(!0),Qa(e,t);let r=0;for(;ar(e);){if(r===Yv)throw new m(103,!1);r++,Qa(e,1)}}finally{ha(n)}}function Kv(e,t,n,r){if(zt(t))return;let o=t[w],i=!1,s=!1;$o(t);let a=!0,c=null,u=null;i||(Yf(e)?(u=Uv(t),c=Rt(u)):go()===null?(a=!1,u=qv(t),c=Rt(u)):t[ge]&&(Un(t[ge]),t[ge]=null));try{oa(t),jl(e.bindingStartIndex),n!==null&&$f(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&Xo(t,f,null)}else{let f=e.preOrderHooks;f!==null&&ei(t,f,0,null),_a(t,0)}if(s||Jv(t),Qf(t),Jf(t,0),e.contentQueries!==null&&ff(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&Xo(t,f)}else{let f=e.contentHooks;f!==null&&ei(t,f,1),_a(t,1)}eD(e,t);let d=e.components;d!==null&&ep(t,d,0);let p=e.viewQuery;if(p!==null&&Ua(2,p,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&Xo(t,f)}else{let f=e.viewHooks;f!==null&&ei(t,f,2),_a(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[ko]){for(let f of t[ko])f();t[ko]=null}i||(qf(t),t[w]&=-73)}catch(l){throw i||En(t),l}finally{u!==null&&(un(u,c),a&&zv(u)),Uo()}}function Jf(e,t){for(let n=ef(e);n!==null;n=tf(n))for(let r=$;r<n.length;r++){let o=n[r];Xf(o,t)}}function Jv(e){for(let t=ef(e);t!==null;t=tf(t)){if(!(t[w]&2))continue;let n=t[Gt];for(let r=0;r<n.length;r++){let o=n[r];ia(o)}}}function Xv(e,t,n){O(N.ComponentStart);let r=De(t,e);try{Xf(r,n)}finally{O(N.ComponentEnd,r[G])}}function Xf(e,t){Po(e)&&Qa(e,t)}function Qa(e,t){let r=e[D],o=e[w],i=e[ge],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&mo(i)),s||=!1,i&&(i.dirty=!1),e[w]&=-9217,s)Kv(r,e,r.template,e[G]);else if(o&8192){let a=E(null);try{Qf(e),Jf(e,1);let c=r.components;c!==null&&ep(e,c,1),qf(e)}finally{E(a)}}}function ep(e,t,n){for(let r=0;r<t.length;r++)Xv(e,t[r],n)}function eD(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let o=n[r];if(o<0)pt(~o);else{let i=o,s=n[++r],a=n[++r];Vl(s,i);let c=t[i];O(N.HostBindingsUpdateStart,c);try{a(2,c)}finally{O(N.HostBindingsUpdateEnd,c)}}}}finally{pt(-1)}}function Fc(e,t){let n=pa()?64:1088;for(e[Me].changeDetectionScheduler?.notify(t);e;){e[w]|=n;let r=st(e);if(Dn(e)&&!r)return e;e=r}return null}function tp(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function np(e,t){let n=$+t;if(n<e.length)return e[n]}function Nr(e,t,n,r=!0){let o=t[D];if(tD(o,t,e,n),r){let s=Ya(n,e),a=t[F],c=a.parentNode(e[ft]);c!==null&&mv(o,e[ce],a,t,c,s)}let i=t[Vt];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function rp(e,t){let n=Er(e,t);return n!==void 0&&Si(n[D],n),n}function Er(e,t){if(e.length<=$)return;let n=$+t,r=e[n];if(r){let o=r[lt];o!==null&&o!==e&&Nc(o,r),t>0&&(e[n-1][ye]=r[ye]);let i=nr(e,$+t);gv(r[D],r);let s=i[je];s!==null&&s.detachView(i[D]),r[q]=null,r[ye]=null,r[w]&=-129}return r}function tD(e,t,n,r){let o=$+r,i=n.length;r>0&&(n[o-1][ye]=t),r<i-$?(t[ye]=n[o],Us(n,$+r,t)):(n.push(t),t[ye]=null),t[q]=n;let s=t[lt];s!==null&&n!==s&&op(s,t);let a=t[je];a!==null&&a.insertView(e),Lo(t),t[w]|=128}function op(e,t){let n=e[Gt],r=t[q];if(Qe(r))e[w]|=2;else{let o=r[q][ue];t[ue]!==o&&(e[w]|=2)}n===null?e[Gt]=[t]:n.push(t)}var gt=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[D];return Dr(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[G]}set context(t){this._lView[G]=t}get destroyed(){return zt(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[q];if(Se(t)){let n=t[sr],r=n?n.indexOf(this):-1;r>-1&&(Er(t,r),nr(n,r))}this._attachedToViewContainer=!1}Si(this._lView[D],this._lView)}onDestroy(t){sa(this._lView,t)}markForCheck(){Fc(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[w]&=-129}reattach(){Lo(this._lView),this._lView[w]|=128}detectChanges(){this._lView[w]|=1024,Kf(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new m(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Dn(this._lView),n=this._lView[lt];n!==null&&!t&&Nc(n,this._lView),Lf(this._lView[D],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new m(902,!1);this._appRef=t;let n=Dn(this._lView),r=this._lView[lt];r!==null&&!n&&op(r,this._lView),Lo(this._lView)}};var mt=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=nD;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){let i=Sr(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new gt(i)}}return e})();function nD(){return Ri(ee(),I())}function Ri(e,t){return e.type&4?new mt(t,e,Nn(e,t)):null}function xr(e,t,n,r,o){let i=e.data[t];if(i===null)i=rD(e,t,n,r,o),Bl()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Pl();i.injectorIndex=s===null?-1:s.injectorIndex}return In(i,!0),i}function rD(e,t,n,r,o){let i=la(),s=da(),a=s?i:i&&i.parent,c=e.data[t]=iD(e,a,n,t,r,o);return oD(e,c,i,s),c}function oD(e,t,n,r){e.firstChild===null&&(e.firstChild=t),n!==null&&(r?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function iD(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return ua()&&(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,namespace:Da(),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}}function sD(e){let t=e[Js]??[],r=e[q][F],o=[];for(let i of t)i.data[cf]!==void 0?o.push(i):aD(i,r);e[Js]=o}function aD(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[af];for(;n<o;){let i=r.nextSibling;wf(t,r,!1),r=i,n++}}}var cD=()=>null,uD=()=>null;function fi(e,t){return cD(e,t)}function ip(e,t,n){return uD(e,t,n)}var sp=class{},Oi=class{},Ka=class{resolveComponentFactory(t){throw new m(917,!1)}},Ar=class{static NULL=new Ka},Ir=class{},Pc=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>lD()}return e})();function lD(){let e=I(),t=ee(),n=De(t.index,e);return(Qe(n)?n:e)[F]}var ap=(()=>{class e{static \u0275prov=M({token:e,providedIn:"root",factory:()=>null})}return e})();var ni={},Ja=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,ni,r);return o!==ni||n===ni?o:this.parentInjector.get(t,n,r)}};function Dd(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s<t.length;s++){let a=t[s];if(typeof a=="number")i=a;else if(i==1)o=_o(o,a);else if(i==2){let c=a,u=t[++s];r=_o(r,c+": "+u+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function Q(e,t=0){let n=I();if(n===null)return L(e,t);let r=ee();return Zd(r,n,X(e),t)}function cp(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let a=s,c=null,u=null;for(let l of s)if(l.resolveHostDirectives!==null){[a,c,u]=l.resolveHostDirectives(s);break}pD(e,t,n,a,i,c,u)}i!==null&&r!==null&&dD(n,r,i)}function dD(e,t,n){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new m(-301,!1);r.push(t[o],i)}}function fD(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function pD(e,t,n,r,o,i,s){let a=r.length,c=null;for(let p=0;p<a;p++){let f=r[p];c===null&&Be(f)&&(c=f,fD(e,n,p)),Ba(ai(n,t),e,f.type)}DD(n,e.data.length,a),c?.viewProvidersResolver&&c.viewProvidersResolver(c);for(let p=0;p<a;p++){let f=r[p];f.providersResolver&&f.providersResolver(f)}let u=!1,l=!1,d=Af(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(n.mergedAttrs=gr(n.mergedAttrs,f.hostAttrs),gD(e,n,t,d,f),vD(d,f,o),s!==null&&s.has(f)){let[C,y]=s.get(f);n.directiveToIndex.set(f.type,[d,C+n.directiveStart,y+n.directiveStart])}else(i===null||!i.has(f))&&n.directiveToIndex.set(f.type,d);f.contentQueries!==null&&(n.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(n.flags|=64);let h=f.type.prototype;!u&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),u=!0),!l&&(h.ngOnChanges||h.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),l=!0),d++}hD(e,n,i)}function hD(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))Ed(0,t,o,r),Ed(1,t,o,r),Cd(t,r,!1);else{let i=n.get(o);Id(0,t,i,r),Id(1,t,i,r),Cd(t,r,!0)}}}function Ed(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s;e===0?s=t.inputs??={}:s=t.outputs??={},s[i]??=[],s[i].push(r),up(t,i)}}function Id(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],a;e===0?a=t.hostDirectiveInputs??={}:a=t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),up(t,s)}}function up(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function Cd(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||wc(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c=="number")break;if(!n&&o.hasOwnProperty(c)){let u=o[c];for(let l of u)if(l===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&i.hasOwnProperty(c)){let u=i[c];for(let l=0;l<u.length;l+=2)if(u[l]===t){s??=[],s.push(u[l+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function gD(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=it(o.type,!0)),s=new Qt(i,Be(o),Q,null);e.blueprint[r]=s,n[r]=s,mD(e,t,r,Af(e,n,o.hostVars,te),o)}function mD(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;yD(s)!=a&&s.push(a),s.push(n,r,i)}}function yD(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function vD(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Be(t)&&(n[""]=e)}}function DD(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Lc(e,t,n,r,o,i,s,a){let c=t[D],u=c.consts,l=Ve(u,s),d=xr(c,e,n,r,l);return i&&cp(c,t,d,Ve(u,a),o),d.mergedAttrs=gr(d.mergedAttrs,d.attrs),d.attrs!==null&&Dd(d,d.attrs,!1),d.mergedAttrs!==null&&Dd(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function jc(e,t){Bd(e,t),Xs(t)&&e.queries.elementEnd(t)}function Bc(e){return dp(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function lp(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{let n=e[Symbol.iterator](),r;for(;!(r=n.next()).done;)t(r.value)}}function dp(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function Vc(e,t,n){return e[t]=n}function ED(e,t){return e[t]}function Ee(e,t,n){if(n===te)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Hc(e,t,n,r){let o=Ee(e,t,n);return Ee(e,t+1,r)||o}function ID(e,t,n,r,o){let i=Hc(e,t,n,r);return Ee(e,t+2,o)||i}function Na(e,t,n){return function r(o){let i=r.__ngNativeEl__;i!==void 0&&dy(o,i);let s=Ke(e)?De(e.index,t):t;Fc(s,5);let a=t[G],c=wd(t,a,n,o),u=r.__ngNextListenerFn__;for(;u;)c=wd(t,a,u,o)&&c,u=u.__ngNextListenerFn__;return c}}function wd(e,t,n,r){let o=E(null);try{return O(N.OutputStart,t,n),n(r)!==!1}catch(i){return Bv(e,i),!1}finally{O(N.OutputEnd,t,n),E(o)}}function CD(e,t,n,r,o,i,s,a){let c=vn(e),u=!1,l=null;if(!r&&c&&(l=bD(t,n,i,e.index)),l!==null){let d=l.__ngLastListenerFn__||l;d.__ngNextListenerFn__=s,l.__ngLastListenerFn__=s,u=!0}else{let d=Ne(e,n),p=r?r(d):d;py(n,p,i,a),r||(a.__ngNativeEl__=d);let f=o.listen(p,i,a);if(!wD(i)){let h=r?C=>r(ve(C[e.index])):e.index;fp(h,t,n,i,a,f,!1)}}return u}function wD(e){return e.startsWith("animation")||e.startsWith("transition")}function bD(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===n&&o[i+1]===r){let a=t[mn],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function fp(e,t,n,r,o,i,s){let a=t.firstCreatePass?ca(t):null,c=aa(n),u=c.length;c.push(o,i),a&&a.push(r,e,u,(u+1)*(s?-1:1))}function bd(e,t,n,r,o,i){let s=t[n],a=t[D],u=a.data[n].outputs[r],d=s[u].subscribe(i);fp(e.index,a,t,o,i,d,!0)}var Xa=Symbol("BINDING");function pp(e){return e.debugInfo?.className||e.type.name||null}var pi=class extends Ar{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=ct(t);return new Mn(n,this.ngModule)}};function TD(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&_i.SignalBased)!==0};return o&&(i.transform=o),i})}function _D(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function MD(e,t,n){let r=t instanceof ae?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Ja(n,r):n}function SD(e){let t=e.get(Ir,null);if(t===null)throw new m(407,!1);let n=e.get(ap,null),r=e.get(qe,null),o=e.get(yt,null,{optional:!0});return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1,tracingService:o}}function ND(e,t){let n=hp(e);return If(t,n,n==="svg"?ea:n==="math"?wl:null)}function hp(e){return(e.selectors[0][0]||"div").toLowerCase()}var Mn=class extends Oi{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=TD(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=_D(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=tv(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){O(N.DynamicComponentStart);let a=E(null);try{let c=this.componentDef,u=MD(c,o||this.ngModule,t),l=SD(u),d=l.tracingService;return d&&d.componentCreate?d.componentCreate(pp(c),()=>this.createComponentRef(l,u,n,r,i,s)):this.createComponentRef(l,u,n,r,i,s)}finally{E(a)}}createComponentRef(t,n,r,o,i,s){let a=this.componentDef,c=xD(o,a,s,i),u=t.rendererFactory.createRenderer(null,a),l=o?Mv(u,o,a.encapsulation,n):ND(a,u),d=s?.some(Td)||i?.some(h=>typeof h!="function"&&h.bindings.some(Td)),p=Tc(null,c,null,512|xf(a),null,null,t,u,n,null,df(l,n,!0));p[B]=l,$o(p);let f=null;try{let h=Lc(B,p,2,"#host",()=>c.directiveRegistry,!0,0);bf(u,l,h),Tn(l,p),xi(c,p,h),Ec(c,h,p),jc(c,h),r!==void 0&&RD(h,this.ngContentSelectors,r),f=De(h.index,p),p[G]=f[G],kc(c,p,null)}catch(h){throw f!==null&&Ha(f),Ha(p),h}finally{O(N.DynamicComponentEnd),Uo()}return new hi(this.componentType,p,!!d)}};function xD(e,t,n,r){let o=e?["ng-version","21.2.17"]:nv(t.selectors[0]),i=null,s=null,a=0;if(n)for(let l of n)a+=l[Xa].requiredVars,l.create&&(l.targetIdx=0,(i??=[]).push(l)),l.update&&(l.targetIdx=0,(s??=[]).push(l));if(r)for(let l=0;l<r.length;l++){let d=r[l];if(typeof d!="function")for(let p of d.bindings){a+=p[Xa].requiredVars;let f=l+1;p.create&&(p.targetIdx=f,(i??=[]).push(p)),p.update&&(p.targetIdx=f,(s??=[]).push(p))}}let c=[t];if(r)for(let l of r){let d=typeof l=="function"?l:l.type,p=Vs(d);c.push(p)}return bc(0,null,AD(i,s),1,a,c,null,null,null,[o],null)}function AD(e,t){return!e&&!t?null:n=>{if(n&1&&e)for(let r of e)r.create();if(n&2&&t)for(let r of t)r.update()}}function Td(e){let t=e[Xa].kind;return t==="input"||t==="twoWay"}var hi=class extends sp{_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[D],B),this.location=Nn(this._tNode,n),this.instance=De(this._tNode.index,n)[G],this.hostView=this.changeDetectorRef=new gt(n,void 0),this.componentType=t}setInput(t,n){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let o=this._rootLView,i=Oc(r,o[D],o,t,n);this.previousInputValues.set(t,n);let s=De(r.index,o);Fc(s,1)}get injector(){return new Yt(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function RD(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null&&i.length?Array.from(i):null)}}var Dt=(()=>{class e{static __NG_ELEMENT_ID__=OD}return e})();function OD(){let e=ee();return gp(e,I())}var ec=class e extends Dt{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Nn(this._hostTNode,this._hostLView)}get injector(){return new Yt(this._hostTNode,this._hostLView)}get parentInjector(){let t=yc(this._hostTNode,this._hostLView);if($d(t)){let n=ii(t,this._hostLView),r=oi(t),o=n[D].data[r+8];return new Yt(o,n)}else return new Yt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=_d(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-$}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=fi(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,_n(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c=t&&!Pm(t),u;if(c)u=n;else{let y=n||{};u=y.index,r=y.injector,o=y.projectableNodes,i=y.environmentInjector||y.ngModuleRef,s=y.directives,a=y.bindings}let l=c?t:new Mn(ct(t)),d=r||this.parentInjector;if(!i&&l.ngModule==null){let v=(c?d:this.parentInjector).get(ae,null);v&&(i=v)}let p=ct(l.componentType??{}),f=fi(this._lContainer,p?.id??null),h=f?.firstChild??null,C=l.create(d,o,h,i,s,a);return this.insertImpl(C.hostView,u,_n(this._hostTNode,f)),C}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Tl(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[q],u=new e(c,c[ce],c[q]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Nr(s,o,i,r),t.attachToViewContainerRef(),Us(xa(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=_d(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Er(this._lContainer,n);r&&(nr(xa(this._lContainer),n),Si(r[D],r))}detach(t){let n=this._adjustIndex(t,-1),r=Er(this._lContainer,n);return r&&nr(xa(this._lContainer),n)!=null?new gt(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function _d(e){return e[sr]}function xa(e){return e[sr]||(e[sr]=[])}function gp(e,t){let n,r=t[e.index];return Se(r)?n=r:(n=tp(r,t,null,e),t[e.index]=n,_c(t,n)),FD(n,t,e,r),new ec(n,e,t)}function kD(e,t){let n=e[F],r=n.createComment(""),o=Ne(t,e),i=n.parentNode(o);return li(n,i,r,n.nextSibling(o),!1),r}var FD=jD,PD=()=>!1;function LD(e,t,n){return PD(e,t,n)}function jD(e,t,n,r){if(e[ft])return;let o;n.type&8?o=ve(r):o=kD(t,n),e[ft]=o}var tc=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},nc=class e{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i<r;i++){let s=n.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new e(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++)$c(t,n).matches!==null&&this.queries[n].setDirty()}},gi=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=WD(t):this.predicate=t}},rc=class e{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++){let o=n!==null?n.length:0,i=this.getByIndex(r).embeddedTView(t,o);i&&(i.indexInDeclarationView=r,n!==null?n.push(i):n=[i])}return n!==null?new e(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)}},oc=class e{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 e(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,r=t.parent;for(;r!==null&&r.type&8&&r.index!==n;)r=r.parent;return n===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(t,n,BD(n,i)),this.matchTNodeWithReadOption(t,n,ti(n,t,i,!1,!1))}else r===mt?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,ti(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===en||o===Dt||o===mt&&n.type&4)this.addMatch(n.index,-2);else{let i=ti(n,t,o,!1,!1);i!==null&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n)}};function BD(e,t){let n=e.localNames;if(n!==null){for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1]}return null}function VD(e,t){return e.type&11?Nn(e,t):e.type&4?Ri(e,t):null}function HD(e,t,n,r){return n===-1?VD(t,e):n===-2?$D(e,t,r):mr(e,e[D],n,t)}function $D(e,t,n){if(n===en)return Nn(t,e);if(n===mt)return Ri(t,e);if(n===Dt)return gp(t,e)}function mp(e,t,n,r){let o=t[je].queries[r];if(o.matches===null){let i=e.data,s=n.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let u=s[c];if(u<0)a.push(null);else{let l=i[u];a.push(HD(t,l,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function ic(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=mp(e,t,o,n);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else{let u=i[a+1],l=t[-c];for(let d=$;d<l.length;d++){let p=l[d];p[lt]===p[q]&&ic(p[D],p,u,r)}if(l[Gt]!==null){let d=l[Gt];for(let p=0;p<d.length;p++){let f=d[p];ic(f[D],f,u,r)}}}}}return r}function UD(e,t){return e[je].queries[t].queryList}function yp(e,t,n){let r=new ci((n&4)===4);return Sl(e,t,r,r.destroy),(t[je]??=new nc).queries.push(new tc(r))-1}function GD(e,t,n){let r=V();return r.firstCreatePass&&(vp(r,new gi(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),yp(r,I(),t)}function zD(e,t,n,r){let o=V();if(o.firstCreatePass){let i=ee();vp(o,new gi(t,n,r),i.index),qD(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return yp(o,I(),n)}function WD(e){return e.split(",").map(t=>t.trim())}function vp(e,t,n){e.queries===null&&(e.queries=new rc),e.queries.track(new oc(t,n))}function qD(e,t){let n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}function $c(e,t){return e.queries.getByIndex(t)}function ZD(e,t){let n=e[D],r=$c(n,t);return r.crossesNgTemplate?ic(n,e,t,[]):mp(n,e,r,t)}var Jt=class{},Dp=class{};var mi=class extends Jt{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new pi(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=Bs(t);this._bootstrapComponents=Mf(i.bootstrap),this._r3Injector=Ea(t,n,[{provide:Jt,useValue:this},{provide:Ar,useValue:this.componentFactoryResolver},...r],Kn(t),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},yi=class extends Dp{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new mi(this.moduleType,t,[])}};var Cr=class extends Jt{injector;componentFactoryResolver=new pi(this);instance=null;constructor(t){super();let n=new Lt([...t.providers,{provide:Jt,useValue:this},{provide:Ar,useValue:this.componentFactoryResolver}],t.parent||or(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Ep(e,t,n=null){return new Cr({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var YD=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=Ws(!1,n.type),o=r.length>0?Ep([r],this._injector,""):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=M({token:e,providedIn:"environment",factory:()=>new e(L(ae))})}return e})();function QD(e){return Tr(()=>{let t=Ip(e),n=oe(K({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Dc.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(YD).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Kt.Emulated,styles:e.styles||se,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&vt("NgStandalone"),Cp(n);let r=e.dependencies;return n.directiveDefs=Md(r,KD),n.pipeDefs=Md(r,ul),n.id=eE(n),n})}function KD(e){return ct(e)||Vs(e)}function ki(e){return Tr(()=>({type:e.type,bootstrap:e.bootstrap||se,declarations:e.declarations||se,imports:e.imports||se,exports:e.exports||se,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function JD(e,t){if(e==null)return ut;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],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=_i.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function XD(e){if(e==null)return ut;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function An(e){return Tr(()=>{let t=Ip(e);return Cp(t),t})}function Fi(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function Ip(e){let 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||ut,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||se,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,inputs:JD(e.inputs,t),outputs:XD(e.outputs),debugInfo:null}}function Cp(e){e.features?.forEach(t=>t(e))}function Md(e,t){return e?()=>{let n=typeof e=="function"?e():e,r=[];for(let o of n){let i=t(o);i!==null&&r.push(i)}return r}:null}function eE(e){let t=0,n=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,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(let i of r.join("|"))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function tE(e){return Object.getPrototypeOf(e.prototype).constructor}function wp(e){let t=tE(e.type),n=!0,r=[e];for(;t&&t!==Function.prototype&&t!==Object.prototype;){let o,i=Object.hasOwn(t,er)?t[er]:void 0,s=Object.hasOwn(t,tr)?t[tr]:void 0;if(Be(e))o=i??s;else{if(i)throw new m(903,!1);o=s}if(o){if(n){r.push(o);let c=e;c.inputs=Aa(e.inputs),c.declaredInputs=Aa(e.declaredInputs),c.outputs=Aa(e.outputs);let u=o.hostBindings;u&&sE(e,u);let l=o.viewQuery,d=o.contentQueries;if(l&&oE(e,l),d&&iE(e,d),nE(e,o),cl(e.outputs,o.outputs),Be(o)&&o.data.animation){let p=e.data;p.animation=(p.animation||[]).concat(o.data.animation)}}let a=o.features;if(a)for(let c=0;c<a.length;c++){let u=a[c];u&&u.ngInherit&&u(e),u===wp&&(n=!1)}}t=Object.getPrototypeOf(t)}rE(r)}function nE(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let r=t.inputs[n];r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n])}}function rE(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=gr(o.hostAttrs,n=gr(n,o.hostAttrs))}}function Aa(e){return e===ut?{}:e===se?[]:e}function oE(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function iE(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function sE(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function bp(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=gr(e.mergedAttrs,e.attrs);let l=e.tView=bc(2,e,o,i,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);n.queries!==null&&(n.queries.template(n,e),l.queries=n.queries.embeddedTView(e))}a&&(e.flags|=a),In(e,!1);let c=cE(n,t,e,r);zo()&&xc(n,t,c,e),Tn(c,t);let u=tp(c,t,c,e);t[r+B]=u,_c(t,u),LD(u,e,t)}function aE(e,t,n,r,o,i,s,a,c,u,l){let d=n+B,p;return t.firstCreatePass?(p=xr(t,d,4,s||null,a||null),jo()&&cp(t,e,p,Ve(t.consts,u),Rc),Bd(t,p)):p=t.data[d],bp(p,e,t,n,r,o,i,c),vn(p)&&xi(t,e,p),u!=null&&Ai(e,p,l),p}function wr(e,t,n,r,o,i,s,a,c,u,l){let d=n+B,p;if(t.firstCreatePass){if(p=xr(t,d,4,s||null,a||null),u!=null){let f=Ve(t.consts,u);p.localNames=[];for(let h=0;h<f.length;h+=2)p.localNames.push(f[h],-1)}}else p=t.data[d];return bp(p,e,t,n,r,o,i,c),u!=null&&Ai(e,p,l),p}function Tp(e,t,n,r,o,i,s,a){let c=I(),u=V(),l=Ve(u.consts,i);return aE(c,u,e,t,n,r,o,l,void 0,s,a),Tp}var cE=uE;function uE(e,t,n,r){return ur(!0),t[F].createComment("")}var lE=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Uc(e){return typeof e=="function"&&e[Z]!==void 0}function Gc(e){return Uc(e)&&typeof e.set=="function"}var _p=new T("");function Pi(e){return!!e&&typeof e.then=="function"}function zc(e){return!!e&&typeof e.subscribe=="function"}var Mp=new T("");var Wc=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=g(Mp,{optional:!0})??[];injector=g(Te);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=gn(this.injector,o);if(Pi(i))n.push(i);else if(zc(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Sp=new T("");function Np(){ys(()=>{let e="";throw new m(600,e)})}function xp(e){return e.isBoundToModule}var dE=10;var Rr=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=g(Je);afterRenderManager=g(Sc);zonelessEnabled=g(Cn);rootEffectScheduler=g(Ta);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new be;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=g(ht);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(me(n=>!n))}constructor(){g(yt,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=g(ae);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=Te.NULL){return this._injector.get(Y).run(()=>{O(N.BootstrapComponentStart);let s=n instanceof Oi;if(!this._injector.get(Wc).done){let h="";throw new m(405,h)}let c;s?c=n:c=this._injector.get(Ar).resolveComponentFactory(n),this.componentTypes.push(c.componentType);let u=xp(c)?void 0:this._injector.get(Jt),l=r||c.selector,d=c.create(o,[],l,u),p=d.location.nativeElement,f=d.injector.get(_p,null);return f?.registerApplication(p),d.onDestroy(()=>{this.detachView(d.hostView),hr(this.components,d),f?.unregisterApplication(p)}),this._loadComponent(d),O(N.BootstrapComponentEnd,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){O(N.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(Mi.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw O(N.ChangeDetectionEnd),new m(101,!1);let n=E(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,E(n),this.afterTick.next(),O(N.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Ir,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<dE;){O(N.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{O(N.ChangeDetectionSyncEnd)}}}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!1;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews){if(!r&&!ar(o))continue;let i=r&&!this.zonelessEnabled?0:1;Kf(o,i),n=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}n||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>ar(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;hr(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(Sp,[]).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),()=>hr(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new m(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function hr(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Ap(e,t,n,r){let o=I(),i=Wt();if(Ee(o,i,t)){let s=V(),a=Go();Pv(a,o,e,t,n,r)}return Ap}var sc=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}};function Ra(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function fE(e,t,n,r){let o,i,s=0,a=e.length-1,c=void 0;if(Array.isArray(t)){E(r);let u=t.length-1;for(E(null);s<=a&&s<=u;){let l=e.at(s),d=t[s],p=Ra(s,l,s,d,n);if(p!==0){p<0&&e.updateValue(s,d),s++;continue}let f=e.at(a),h=t[u],C=Ra(a,f,u,h,n);if(C!==0){C<0&&e.updateValue(a,h),a--,u--;continue}let y=n(s,l),v=n(a,f),j=n(s,d);if(Object.is(j,v)){let he=n(u,h);Object.is(he,y)?(e.swap(s,a),e.updateValue(a,h),u--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(o??=new vi,i??=Nd(e,s,a,n),ac(e,o,s,j))e.updateValue(s,d),s++,a++;else if(i.has(j))o.set(y,e.detach(s)),a--;else{let he=e.create(s,t[s]);e.attach(s,he),s++,a++}}for(;s<=u;)Sd(e,o,n,s,t[s]),s++}else if(t!=null){E(r);let u=t[Symbol.iterator]();E(null);let l=u.next();for(;!l.done&&s<=a;){let d=e.at(s),p=l.value,f=Ra(s,d,s,p,n);if(f!==0)f<0&&e.updateValue(s,p),s++,l=u.next();else{o??=new vi,i??=Nd(e,s,a,n);let h=n(s,p);if(ac(e,o,s,h))e.updateValue(s,p),s++,a++,l=u.next();else if(!i.has(h))e.attach(s,e.create(s,p)),s++,a++,l=u.next();else{let C=n(s,d);o.set(C,e.detach(s)),a--}}}for(;!l.done;)Sd(e,o,n,e.length,l.value),l=u.next()}for(;s<=a;)e.destroy(e.detach(a--));o?.forEach(u=>{e.destroy(u)})}function ac(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Sd(e,t,n,r,o){if(ac(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Nd(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var vi=class{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function pE(e,t,n,r,o,i,s,a){vt("NgControlFlow");let c=I(),u=V(),l=Ve(u.consts,i);return wr(c,u,e,t,n,r,o,l,256,s,a),qc}function qc(e,t,n,r,o,i,s,a){vt("NgControlFlow");let c=I(),u=V(),l=Ve(u.consts,i);return wr(c,u,e,t,n,r,o,l,512,s,a),qc}function hE(e,t){vt("NgControlFlow");let n=I(),r=Wt(),o=n[r]!==te?n[r]:-1,i=o!==-1?Di(n,B+o):void 0,s=0;if(Ee(n,r,e)){let a=E(null);try{if(i!==void 0&&rp(i,s),e!==-1){let c=B+e,u=Di(n,c),l=dc(n[D],c),d=ip(u,l,n),p=Sr(n,l,t,{dehydratedView:d});Nr(u,p,s,_n(l,d))}}finally{E(a)}}else if(i!==void 0){let a=np(i,s);a!==void 0&&(a[G]=t)}}var cc=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-$}};function gE(e,t){return t}var uc=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function mE(e,t,n,r,o,i,s,a,c,u,l,d,p){vt("NgControlFlow");let f=I(),h=V(),C=c!==void 0,y=I(),v=a?s.bind(y[ue][G]):s,j=new uc(C,v);y[B+e]=j,wr(f,h,e+1,t,n,r,o,Ve(h.consts,i),256),C&&wr(f,h,e+2,c,u,l,d,Ve(h.consts,p),512)}var lc=class extends sc{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-$}at(t){return this.getLView(t)[G].$implicit}attach(t,n){let r=n[Vt];this.needsIndexUpdate||=t!==this.length,Nr(this.lContainer,n,t,_n(this.templateTNode,r)),vE(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,DE(this.lContainer,t),EE(this.lContainer,t)}create(t,n){let r=fi(this.lContainer,this.templateTNode.tView.ssrId);return Sr(this.hostLView,this.templateTNode,new cc(this.lContainer,n,t),{dehydratedView:r})}destroy(t){Si(t[D],t)}updateValue(t,n){this.getLView(t)[G].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[G].$index=t}getLView(t){return IE(this.lContainer,t)}};function yE(e){let t=E(null),n=xe();try{let r=I(),o=r[D],i=r[n],s=n+1,a=Di(r,s);if(i.liveCollection===void 0){let u=dc(o,s);i.liveCollection=new lc(a,r,u)}else i.liveCollection.reset();let c=i.liveCollection;if(fE(c,e,i.trackByFn,t),c.updateIndexes(),i.hasEmptyBlock){let u=Wt(),l=c.length===0;if(Ee(r,u,l)){let d=n+2,p=Di(r,d);if(l){let f=dc(o,d),h=ip(p,f,r),C=Sr(r,f,void 0,{dehydratedView:h});Nr(p,C,0,_n(f,h))}else o.firstUpdatePass&&sD(p),rp(p,0)}}}finally{E(t)}}function Di(e,t){return e[t]}function vE(e,t){if(e.length<=$)return;let n=$+t,r=e[n],o=r?r[dt]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[Ze];pv(i,o),vr.delete(r[Ye]),o.detachedLeaveAnimationFns=void 0}}function DE(e,t){if(e.length<=$)return;let n=$+t,r=e[n],o=r?r[dt]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function EE(e,t){return Er(e,t)}function IE(e,t){return np(e,t)}function dc(e,t){return Fo(e,t)}function Rp(e,t,n){let r=I(),o=Wt();if(Ee(r,o,t)){let i=V(),s=Go();Uf(s,r,e,t,r[F],n)}return Rp}function fc(e,t,n,r,o){Oc(t,e,n,o?"class":"style",r)}function Ei(e,t,n,r){let o=I(),i=o[D],s=e+B,a=i.firstCreatePass?Lc(s,o,2,t,Rc,jo(),n,r):i.data[s];if(Ke(a)){let c=o[Me].tracingService;if(c&&c.componentCreate){let u=i.data[a.directiveStart+a.componentOffset];return c.componentCreate(pp(u),()=>(xd(e,t,o,a,r),Ei))}}return xd(e,t,o,a,r),Ei}function xd(e,t,n,r,o){if(Gf(r,n,e,t,CE),vn(r)){let i=n[D];xi(i,n,r),Ec(i,r,n)}o!=null&&Ai(n,r)}function Zc(){let e=V(),t=ee(),n=zf(t);return e.firstCreatePass&&jc(e,n),Rl(n)&&Ol(),Al(),n.classesWithoutHost!=null&&$m(n)&&fc(e,n,I(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&Um(n)&&fc(e,n,I(),n.stylesWithoutHost,!1),Zc}function Op(e,t,n,r){return Ei(e,t,n,r),Zc(),Op}var CE=(e,t,n,r,o)=>(ur(!0),If(t[F],r,Da()));function Yc(e,t,n){let r=I(),o=r[D],i=e+B,s=o.firstCreatePass?Lc(i,r,8,"ng-container",Rc,jo(),t,n):o.data[i];if(Gf(s,r,e,"ng-container",wE),vn(s)){let a=r[D];xi(a,r,s),Ec(a,s,r)}return n!=null&&Ai(r,s),Yc}function Qc(){let e=V(),t=ee(),n=zf(t);return e.firstCreatePass&&jc(e,n),Qc}function kp(e,t,n){return Yc(e,t,n),Qc(),kp}var wE=(e,t,n,r,o)=>(ur(!0),jy(t[F],""));function bE(){return I()}var dr=void 0;function TE(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var _E=["en",[["a","p"],["AM","PM"]],[["AM","PM"]],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],dr,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],dr,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm\u202Fa","h:mm:ss\u202Fa","h:mm:ss\u202Fa z","h:mm:ss\u202Fa zzzz"],["{1}, {0}",dr,dr,dr],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",TE],Oa=Object.create(null);function de(e){let t=ME(e),n=Ad(t);if(n)return n;let r=t.split("-")[0];if(n=Ad(r),n)return n;if(r==="en")return _E;throw new m(701,!1)}function Ad(e){return e in Oa||(Oa[e]=Pe.ng&&Pe.ng.common&&Pe.ng.common.locales&&Pe.ng.common.locales[e]),Oa[e]}var U=(function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e})(U||{});function ME(e){return e.toLowerCase().replace(/_/g,"-")}var Or="en-US";var SE=Or;function Fp(e){typeof e=="string"&&(SE=e.toLowerCase().replace(/_/g,"-"))}function Pp(e,t,n){let r=I(),o=V(),i=ee();return Lp(o,r,r[F],i,e,t,n),Pp}function Lp(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=Na(r,t,i),CD(r,e,t,s,n,o,i,c)&&(a=!1)),a){let u=r.outputs?.[o],l=r.hostDirectiveOutputs?.[o];if(l&&l.length)for(let d=0;d<l.length;d+=2){let p=l[d],f=l[d+1];c??=Na(r,t,i),bd(r,t,p,f,o,c)}if(u&&u.length)for(let d of u)c??=Na(r,t,i),bd(r,t,d,o,o,c)}}function NE(e=1){return Wl(e)}function xE(e,t){let n=null,r=Qy(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?Nf(e,i,!0):Xy(r,i))return o}return n}function AE(e){let t=I()[ue][ce];if(!t.projection){let n=e?e.length:1,r=t.projection=gl(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?xE(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function RE(e,t=0,n,r,o,i){let s=I(),a=V(),c=r?e+1:null;c!==null&&wr(s,a,c,r,o,i,null,n);let u=xr(a,B+e,16,null,n||null);u.projection===null&&(u.projection=t),fa();let d=!s[Vt]||ua();s[ue][ce].projection[u.projection]===null&&c!==null?OE(s,a,c):d&&!wi(u)&&bv(a,s,u)}function OE(e,t,n){let r=B+n,o=t.data[r],i=e[r],s=fi(i,o.tView.ssrId),a=Sr(e,o,void 0,{dehydratedView:s});Nr(i,a,0,_n(o,s))}function jp(e,t,n,r){return zD(e,t,n,r),jp}function Bp(e,t,n){return GD(e,t,n),Bp}function kE(e){let t=I(),n=V(),r=ma();Ho(r+1);let o=$c(n,r);if(e.dirty&&bl(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=ZD(t,r);e.reset(i,ny),e.notifyOnChanges()}return!0}return!1}function FE(){return UD(I(),ma())}function PE(e){let t=Ll();return na(t,B+e)}function Jo(e,t){return e<<17|t<<2}function Xt(e){return e>>17&32767}function LE(e){return(e&2)==2}function jE(e,t){return e&131071|t<<17}function pc(e){return e|2}function Sn(e){return(e&131068)>>2}function ka(e,t){return e&-131069|t<<2}function BE(e){return(e&1)===1}function hc(e){return e|1}function VE(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Xt(s),c=Sn(s);e[r]=n;let u=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||hn(d,l)>0)&&(u=!0)}else l=n;if(o)if(c!==0){let p=Xt(e[a+1]);e[r+1]=Jo(p,a),p!==0&&(e[p+1]=ka(e[p+1],r)),e[a+1]=jE(e[a+1],r)}else e[r+1]=Jo(a,0),a!==0&&(e[a+1]=ka(e[a+1],r)),a=r;else e[r+1]=Jo(c,0),a===0?a=r:e[c+1]=ka(e[c+1],r),c=r;u&&(e[r+1]=pc(e[r+1])),Rd(e,l,r,!0),Rd(e,l,r,!1),HE(t,l,e,r,i),s=Jo(a,c),i?t.classBindings=s:t.styleBindings=s}function HE(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&hn(i,t)>=0&&(n[r+1]=hc(n[r+1]))}function Rd(e,t,n,r){let o=e[n+1],i=t===null,s=r?Xt(o):Sn(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];$E(c,t)&&(a=!0,e[s+1]=r?hc(u):pc(u)),s=r?Xt(u):Sn(u)}a&&(e[n+1]=r?pc(o):hc(o))}function $E(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?hn(e,t)>=0:!1}var Re={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function UE(e){return e.substring(Re.key,Re.keyEnd)}function GE(e){return zE(e),Vp(e,Hp(e,0,Re.textEnd))}function Vp(e,t){let n=Re.textEnd;return n===t?-1:(t=Re.keyEnd=WE(e,Re.key=t,n),Hp(e,t,n))}function zE(e){Re.key=0,Re.keyEnd=0,Re.value=0,Re.valueEnd=0,Re.textEnd=e.length}function Hp(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function WE(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function $p(e,t,n){return Gp(e,t,n,!1),$p}function Up(e,t){return Gp(e,t,null,!0),Up}function qE(e){YE(tI,ZE,e,!0)}function ZE(e,t){for(let n=GE(t);n>=0;n=Vp(t,n))Ro(e,UE(t),!0)}function Gp(e,t,n,r){let o=I(),i=V(),s=cr(2);if(i.firstUpdatePass&&Wp(i,e,s,r),t!==te&&Ee(o,s,t)){let a=i.data[xe()];qp(i,a,o,o[F],e,o[s+1]=rI(t,n),r,s)}}function YE(e,t,n,r){let o=V(),i=cr(2);o.firstUpdatePass&&Wp(o,null,i,r);let s=I();if(n!==te&&Ee(s,i,n)){let a=o.data[xe()];if(Zp(a,r)&&!zp(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=_o(c,n||"")),fc(o,a,s,n,r)}else nI(o,a,s,s[F],s[i+1],s[i+1]=eI(e,t,n),r,i)}}function zp(e,t){return t>=e.expandoStartIndex}function Wp(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[xe()],s=zp(e,n);Zp(i,r)&&t===null&&!s&&(t=!1),t=QE(o,i,t,r),VE(o,i,t,n,s,r)}}function QE(e,t,n,r){let o=$l(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Fa(null,e,t,n,r),n=br(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Fa(o,e,t,n,r),i===null){let c=KE(e,t,r);c!==void 0&&Array.isArray(c)&&(c=Fa(null,e,t,c[1],r),c=br(c,t.attrs,r),JE(e,t,r,c))}else i=XE(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function KE(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Sn(r)!==0)return e[Xt(r)]}function JE(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[Xt(o)]=r}function XE(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=br(r,s,n)}return br(r,t.attrs,n)}function Fa(e,t,n,r,o){let i=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(i=t[a],r=br(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function br(e,t,n){let r=n?1:2,o=-1;if(t!==null)for(let i=0;i<t.length;i++){let s=t[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),Ro(e,s,n?!0:t[++i]))}return e===void 0?null:e}function eI(e,t,n){if(n==null||n==="")return se;let r=[],o=xn(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(o instanceof Set)for(let i of o)e(r,i,!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else typeof o=="string"&&t(r,o);return r}function tI(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&Ro(e,r,n)}function nI(e,t,n,r,o,i,s,a){o===te&&(o=se);let c=0,u=0,l=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;l!==null||d!==null;){let p=c<o.length?o[c+1]:void 0,f=u<i.length?i[u+1]:void 0,h=null,C;l===d?(c+=2,u+=2,p!==f&&(h=d,C=f)):d===null||l!==null&&l<d?(c+=2,h=l):(u+=2,h=d,C=f),h!==null&&qp(e,t,n,r,h,C,s,a),l=c<o.length?o[c]:null,d=u<i.length?i[u]:null}}function qp(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,u=c[a+1],l=BE(u)?Od(c,t,n,o,Sn(u),s):void 0;if(!Ii(l)){Ii(i)||LE(u)&&(i=Od(c,null,n,o,a,s));let d=ta(xe(),n);_v(r,s,d,o,i)}}function Od(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],u=Array.isArray(c),l=u?c[1]:c,d=l===null,p=n[o+1];p===te&&(p=d?se:void 0);let f=d?Oo(p,r):l===r?p:void 0;if(u&&!Ii(f)&&(f=Oo(c,r)),Ii(f)&&(a=f,s))return a;let h=e[o+1];o=s?Xt(h):Sn(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Oo(c,r))}return a}function Ii(e){return e!==void 0}function rI(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=Kn(xn(e)))),e}function Zp(e,t){return(e.flags&(t?8:16))!==0}function oI(e,t=""){let n=I(),r=V(),o=e+B,i=r.firstCreatePass?xr(r,o,1,t,null):r.data[o],s=iI(r,n,i,t);n[o]=s,zo()&&xc(r,n,s,i),In(i,!1)}var iI=(e,t,n,r)=>(ur(!0),Py(t[F],r));function sI(e,t,n,r=""){return Ee(e,Wt(),n)?t+Le(n)+r:te}function aI(e,t,n,r,o,i=""){let s=ga(),a=Hc(e,s,n,o);return cr(2),a?t+Le(n)+r+Le(o)+i:te}function cI(e,t,n,r,o,i,s,a=""){let c=ga(),u=ID(e,c,n,o,s);return cr(3),u?t+Le(n)+r+Le(o)+i+Le(s)+a:te}function Yp(e){return Kc("",e),Yp}function Kc(e,t,n){let r=I(),o=sI(r,e,t,n);return o!==te&&Jc(r,xe(),o),Kc}function Qp(e,t,n,r,o){let i=I(),s=aI(i,e,t,n,r,o);return s!==te&&Jc(i,xe(),s),Qp}function Kp(e,t,n,r,o,i,s){let a=I(),c=cI(a,e,t,n,r,o,i,s);return c!==te&&Jc(a,xe(),c),Kp}function Jc(e,t,n){let r=ta(t,e);Ly(e[F],r,n)}function Jp(e,t,n){Gc(t)&&(t=t());let r=I(),o=Wt();if(Ee(r,o,t)){let i=V(),s=Go();Uf(s,r,e,t,r[F],n)}return Jp}function uI(e,t){let n=Gc(e);return n&&e.set(t),n}function Xp(e,t){let n=I(),r=V(),o=ee();return Lp(r,n,n[F],o,e,t),Xp}function kd(e,t,n){let r=V();r.firstCreatePass&&eh(t,r.data,r.blueprint,Be(e),n)}function eh(e,t,n,r,o){if(e=X(e),Array.isArray(e))for(let i=0;i<e.length;i++)eh(e[i],t,n,r,o);else{let i=V(),s=I(),a=ee(),c=Pt(e)?e:X(e.provide),u=Ys(e),l=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(Pt(e)||!e.multi){let f=new Qt(u,o,Q,null),h=La(c,t,o?l:l+p,d);h===-1?(Ba(ai(a,s),i,c),Pa(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[h]=f,s[h]=f)}else{let f=La(c,t,l+p,d),h=La(c,t,l,l+p),C=f>=0&&n[f],y=h>=0&&n[h];if(o&&!y||!o&&!C){Ba(ai(a,s),i,c);let v=fI(o?dI:lI,n.length,o,r,u,e);!o&&y&&(n[h].providerFactory=v),Pa(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(v),s.push(v)}else{let v=th(n[o?h:f],u,!o&&r);Pa(i,e,f>-1?f:h,v)}!o&&r&&y&&n[h].componentProviders++}}}function Pa(e,t,n,r){let o=Pt(t),i=El(t);if(o||i){let c=(i?X(t.useClass):t).prototype.ngOnDestroy;if(c){let u=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let l=u.indexOf(n);l===-1?u.push(n,[r,c]):u[l+1].push(r,c)}else u.push(n,c)}}}function th(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function La(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function lI(e,t,n,r,o){return gc(this.multi,[])}function dI(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=mr(r,r[D],this.providerFactory.index,o);s=c.slice(0,a),gc(i,s);for(let u=a;u<c.length;u++)s.push(c[u])}else s=[],gc(i,s);return s}function gc(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function fI(e,t,n,r,o,i){let s=new Qt(e,n,Q,null);return s.multi=[],s.index=t,s.componentProviders=0,th(s,o,r&&!n),s}function pI(e,t){return n=>{n.providersResolver=(r,o)=>kd(r,o?o(e):e,!1),t&&(n.viewProvidersResolver=(r,o)=>kd(r,o?o(t):t,!0))}}function hI(e,t){let n=Bo()+e,r=I();return r[n]===te?Vc(r,n,t()):ED(r,n)}function gI(e,t,n){return mI(I(),Bo(),e,t,n)}function nh(e,t){let n=e[t];return n===te?void 0:n}function mI(e,t,n,r,o,i){let s=t+n;return Ee(e,s,o)?Vc(e,s+1,i?r.call(i,o):r(o)):nh(e,s+1)}function yI(e,t,n,r,o,i,s){let a=t+n;return Hc(e,a,o,i)?Vc(e,a+2,s?r.call(s,o,i):r(o,i)):nh(e,a+2)}function vI(e,t){let n=V(),r,o=e+B;n.firstCreatePass?(r=DI(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=it(r.type,!0)),s,a=ie(Q);try{let c=si(!1),u=i();return si(c),ra(n,I(),o,u),u}finally{ie(a)}}function DI(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function EI(e,t,n,r){let o=e+B,i=I(),s=na(i,o);return II(i,o)?yI(i,Bo(),t,s.transform,n,r,s):s.transform(n,r)}function II(e,t){return e[D].data[t].pure}function CI(e,t){return Ri(e,t)}var Ci=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},wI=(()=>{class e{compileModuleSync(n){return new yi(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=Bs(n),i=Mf(o.declarations).reduce((s,a)=>{let c=ct(a);return c&&s.push(new Mn(c)),s},[]);return new Ci(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var rh=(()=>{class e{applicationErrorHandler=g(Je);appRef=g(Rr);taskService=g(ht);ngZone=g(Y);zonelessEnabled=g(Cn);tracing=g(yt,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new J;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Yn):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(g(Zo,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{let n=this.taskService.add();if(!this.runningTick&&(this.cleanup(),!this.zonelessEnabled||this.appRef.includeAllTestViews)){this.taskService.remove(n);return}this.switchToMicrotaskScheduler(),this.taskService.remove(n)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{let n=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})})}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2;break}case 12:{this.appRef.dirtyFlags|=16;break}case 13:{this.appRef.dirtyFlags|=2;break}case 11:break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;let r=this.useMicrotaskScheduler?Kl:Ca;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Yn+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(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,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function oh(){return[{provide:qe,useExisting:rh},{provide:Y,useClass:Qn},{provide:Cn,useValue:!0}]}function bI(){return typeof $localize<"u"&&$localize.locale||Or}var Rn=new T("",{factory:()=>g(Rn,{optional:!0,skipSelf:!0})||bI()});function sh(e){return rl(e)}function _I(e,t){return yo(e,t?.equal)}var MI=e=>e;function SI(e,t){if(typeof e=="function"){let n=Es(e,MI,t?.equal);return ih(n,t?.debugName)}else{let n=Es(e.source,e.computation,e.equal);return ih(n,e.debugName)}}function ih(e,t){let n=e[Z],r=e;return r.set=o=>tl(n,o),r.update=o=>nl(n,o),r.asReadonly=Wo.bind(e),r}var dh=Symbol("InputSignalNode#UNSET"),kI=oe(K({},Do),{transformFn:void 0,applyValueToInputSignal(e,t){Ot(e,t)}});function fh(e,t){let n=Object.create(kI);n.value=e,n.transformFn=t?.transform;function r(){if(xt(n),n.value===dh){let o=null;throw new m(-950,o)}return n.value}return r[Z]=n,r}var ah=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>vc(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}};function ch(e,t){return fh(e,t)}function FI(e){return fh(dh,e)}var yF=(ch.required=FI,ch);var PI=(()=>{class e{zone=g(Y);changeDetectionScheduler=g(qe);applicationRef=g(Rr);applicationErrorHandler=g(Je);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(n){this.applicationErrorHandler(n)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),LI=new T("",{factory:()=>!1});function jI({ngZoneFactory:e,scheduleInRootZone:t}){return e??=()=>new Y(oe(K({},ph()),{scheduleInRootZone:t})),[{provide:Cn,useValue:!1},{provide:Y,useFactory:e},{provide:Bt,multi:!0,useFactory:()=>{let n=g(PI,{optional:!0});return()=>n.initialize()}},{provide:Bt,multi:!0,useFactory:()=>{let n=g(BI);return()=>{n.initialize()}}},{provide:Zo,useValue:t??Ia}]}function vF(e){let t=e?.scheduleInRootZone,n=jI({ngZoneFactory:()=>{let r=ph(e);return r.scheduleInRootZone=t,r.shouldCoalesceEventChangeDetection&&vt("NgZone_CoalesceEvent"),new Y(r)},scheduleInRootZone:t});return rr([{provide:LI,useValue:!0},n])}function ph(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var BI=(()=>{class e{subscription=new J;initialized=!1;zone=g(Y);pendingTasks=g(ht);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Y.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Y.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Xc=new T(""),VI=new T("");function kr(e){return!e.moduleRef}function HI(e){let t=kr(e)?e.r3Injector:e.moduleRef.injector,n=t.get(Y);return n.run(()=>{kr(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Je),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),kr(e)){let i=()=>t.destroy(),s=e.platformInjector.get(Xc);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Xc);s.add(i),e.moduleRef.onDestroy(()=>{hr(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return UI(r,n,()=>{let i=t.get(ht),s=i.add(),a=t.get(Wc);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(Rn,Or);if(Fp(c||Or),!t.get(VI,!0))return kr(e)?t.get(Rr):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(kr(e)){let l=t.get(Rr);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return $I?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var $I;function UI(e,t,n){try{let r=n();return Pi(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var Li=null;function GI(e=[],t){return Te.create({name:t,providers:[{provide:Zs,useValue:"platform"},{provide:Xc,useValue:new Set([()=>Li=null])},...e]})}function zI(e=[]){if(Li)return Li;let t=GI(e);return Li=t,Np(),WI(t),t}function WI(e){let t=e.get(of,null);gn(e,()=>{t?.forEach(n=>n())})}var qI=1e4;var DF=qI-1e3;var ZI=(()=>{class e{static __NG_ELEMENT_ID__=YI}return e})();function YI(e){return QI(ee(),I(),(e&16)===16)}function QI(e,t,n){if(Ke(e)&&!n){let r=De(e.index,t);return new gt(r,r)}else if(e.type&175){let r=t[ue];return new gt(r,t)}return null}var eu=class{supports(t){return Bc(t)}create(t){return new tu(t)}},KI=(e,t)=>t,tu=class{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||KI}forEachItem(t){let n;for(n=this._itHead;n!==null;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){let s=!r||n&&n.currentIndex<uh(r,o,i)?n:r,a=uh(s,o,i),c=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(n=n._next,s.previousIndex==null)o++;else{i||(i=[]);let u=a-o,l=c-o;if(u!=l){for(let p=0;p<u;p++){let f=p<i.length?i[p]:i[p]=0,h=f+p;l<=h&&h<u&&(i[p]=f+1)}let d=s.previousIndex;i[d]=l-u}}a!==c&&t(s,a,c)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;n!==null;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;n!==null;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;n!==null;n=n._nextIdentityChange)t(n)}diff(t){if(t==null&&(t=[]),!Bc(t))throw new m(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._itHead,r=!1,o,i,s;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[a],s=this._trackByFn(a,i),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,i,s,a),r=!0):(r&&(n=this._verifyReinsertion(n,i,s,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)),n=n._next}else o=0,lp(t,a=>{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;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 t===null?i=this._itTail:(i=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):(t=this._linkedRecords===null?null:this._linkedRecords.get(r,o),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new nu(n,r),i,o)),t}_verifyReinsertion(t,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let o=t._prevRemoved,i=t._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?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=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){let o=n===null?this._itHead:n._next;return t._next=o,t._prev=n,o===null?this._itTail=t:o._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new ji),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,r=t._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new ji),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(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=this._identityChangesTail._nextIdentityChange=t,t}},nu=class{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}},ru=class{_head=null;_tail=null;add(t){this._head===null?(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;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let n=t._prevDup,r=t._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},ji=class{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new ru,this.map.set(n,r)),r.add(t)}get(t,n){let r=t,o=this.map.get(r);return o?o.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function uh(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}function lh(){return new ou([new eu])}var ou=(()=>{class e{factories;static \u0275prov=M({token:e,providedIn:"root",factory:lh});constructor(n){this.factories=n}static create(n,r){if(r!=null){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:()=>{let r=g(e,{optional:!0,skipSelf:!0});return e.create(n,r||lh())}}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new m(901,!1)}}return e})();function EF(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;O(N.BootstrapApplicationStart);try{let i=o?.injector??zI(r),s=[oh(),Xl,...n||[]],a=new Cr({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return HI({r3Injector:a.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{O(N.BootstrapApplicationEnd)}}function IF(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}var hh=null;function Bi(){return hh}function JI(e){hh??=e}var iu=class{},On=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=M({token:e,factory:()=>g(gh),providedIn:"platform"})}return e})();var gh=(()=>{class e extends On{_location;_history;_doc=g(He);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Bi().getBaseHref(this._doc)}onPopState(n){let r=Bi().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=Bi().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||e)};static \u0275prov=M({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function vh(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function mh(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function Et(e){return e&&e[0]!=="?"?`?${e}`:e}var Vi=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=M({token:e,factory:()=>g(eC),providedIn:"root"})}return e})(),XI=new T(""),eC=(()=>{class e extends Vi{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??g(He).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return vh(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+Et(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+Et(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+Et(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static \u0275fac=function(r){return new(r||e)(L(On),L(XI,8))};static \u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Dh=(()=>{class e{_subject=new be;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=rC(mh(yh(r))),this._locationStrategy.onPopState(o=>{this._subject.next({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+Et(r))}normalize(n){return e.stripTrailingSlash(nC(this._basePath,yh(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Et(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Et(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r??void 0,complete:o??void 0})}static normalizeQueryParams=Et;static joinWithSlash=vh;static stripTrailingSlash=mh;static \u0275fac=function(r){return new(r||e)(L(Vi))};static \u0275prov=M({token:e,factory:()=>tC(),providedIn:"root"})}return e})();function tC(){return new Dh(L(Vi))}function nC(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function yh(e){return e.replace(/\/index\.html$/,"")}function rC(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var fu=(function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e})(fu||{});var re=(function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e})(re||{}),k=(function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e})(k||{}),fe=(function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e})(fe||{}),pe={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function Th(e){return de(e)[U.LocaleId]}function _h(e,t,n){let r=de(e),o=[r[U.DayPeriodsFormat],r[U.DayPeriodsStandalone]],i=Ie(o,t);return Ie(i,n)}function Mh(e,t,n){let r=de(e),o=[r[U.DaysFormat],r[U.DaysStandalone]],i=Ie(o,t);return Ie(i,n)}function Sh(e,t,n){let r=de(e),o=[r[U.MonthsFormat],r[U.MonthsStandalone]],i=Ie(o,t);return Ie(i,n)}function Nh(e,t){let r=de(e)[U.Eras];return Ie(r,t)}function Pr(e,t){let n=de(e);return Ie(n[U.DateFormat],t)}function Lr(e,t){let n=de(e);return Ie(n[U.TimeFormat],t)}function jr(e,t){let r=de(e)[U.DateTimeFormat];return Ie(r,t)}function Ue(e,t){let n=de(e),r=n[U.NumberSymbols][t];if(typeof r>"u"){if(t===pe.CurrencyDecimal)return n[U.NumberSymbols][pe.Decimal];if(t===pe.CurrencyGroup)return n[U.NumberSymbols][pe.Group]}return r}function xh(e,t){return de(e)[U.NumberFormats][t]}function Ah(e){if(!e[U.ExtraData])throw new m(2303,!1)}function Rh(e){let t=de(e);return Ah(t),(t[U.ExtraData][2]||[]).map(r=>typeof r=="string"?su(r):[su(r[0]),su(r[1])])}function Oh(e,t,n){let r=de(e);Ah(r);let o=[r[U.ExtraData][0],r[U.ExtraData][1]],i=Ie(o,t)||[];return Ie(i,n)||[]}function Ie(e,t){for(let n=t;n>-1;n--)if(typeof e[n]<"u")return e[n];throw new m(2304,!1)}function su(e){let[t,n]=e.split(":");return{hours:+t,minutes:+n}}var oC=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Hi={},iC=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,sC=256;function kh(e,t,n,r){let o=mC(e);aC(t),t=et(n,t)||t;let s=[],a;for(;t;)if(a=iC.exec(t),a){s=s.concat(a.slice(1));let l=s.pop();if(!l)break;t=l}else{s.push(t);break}let c=o.getTimezoneOffset();r&&(c=Ph(r,c),o=gC(o,r));let u="";return s.forEach(l=>{let d=pC(l);u+=d?d(o,n,c):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function aC(e){if(e.length>sC)throw new m(2300,!1)}function Wi(e,t,n){let r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function et(e,t){let n=Th(e);if(Hi[n]??={},Hi[n][t])return Hi[n][t];let r="";switch(t){case"shortDate":r=Pr(e,fe.Short);break;case"mediumDate":r=Pr(e,fe.Medium);break;case"longDate":r=Pr(e,fe.Long);break;case"fullDate":r=Pr(e,fe.Full);break;case"shortTime":r=Lr(e,fe.Short);break;case"mediumTime":r=Lr(e,fe.Medium);break;case"longTime":r=Lr(e,fe.Long);break;case"fullTime":r=Lr(e,fe.Full);break;case"short":let o=et(e,"shortTime"),i=et(e,"shortDate");r=$i(jr(e,fe.Short),[o,i]);break;case"medium":let s=et(e,"mediumTime"),a=et(e,"mediumDate");r=$i(jr(e,fe.Medium),[s,a]);break;case"long":let c=et(e,"longTime"),u=et(e,"longDate");r=$i(jr(e,fe.Long),[c,u]);break;case"full":let l=et(e,"fullTime"),d=et(e,"fullDate");r=$i(jr(e,fe.Full),[l,d]);break}return r&&(Hi[n][t]=r),r}function $i(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,r){return t!=null&&r in t?t[r]:n})),e}function Oe(e,t,n="-",r,o){let i="";(e<0||o&&e<=0)&&(o?e=-e+1:(e=-e,i=n));let s=String(e);for(;s.length<t;)s="0"+s;return r&&(s=s.slice(s.length-t)),i+s}function cC(e,t){return Oe(e,3).substring(0,t)}function W(e,t,n=0,r=!1,o=!1){return function(i,s){let a=uC(e,i);if((n>0||a>-n)&&(a+=n),e===3)a===0&&n===-12&&(a=12);else if(e===6)return cC(a,t);let c=Ue(s,pe.MinusSign);return Oe(a,t,c,r,o)}}function uC(e,t){switch(e){case 0:return t.getFullYear();case 1:return t.getMonth();case 2:return t.getDate();case 3:return t.getHours();case 4:return t.getMinutes();case 5:return t.getSeconds();case 6:return t.getMilliseconds();case 7:return t.getDay();default:throw new m(2301,!1)}}function P(e,t,n=re.Format,r=!1){return function(o,i){return lC(o,i,e,t,n,r)}}function lC(e,t,n,r,o,i){switch(n){case 2:return Sh(t,o,r)[e.getMonth()];case 1:return Mh(t,o,r)[e.getDay()];case 0:let s=e.getHours(),a=e.getMinutes();if(i){let u=Rh(t),l=Oh(t,o,r),d=u.findIndex(p=>{if(Array.isArray(p)){let[f,h]=p,C=s>=f.hours&&a>=f.minutes,y=s<h.hours||s===h.hours&&a<h.minutes;if(f.hours<h.hours){if(C&&y)return!0}else if(C||y)return!0}else if(p.hours===s&&p.minutes===a)return!0;return!1});if(d!==-1)return l[d]}return _h(t,o,r)[s<12?0:1];case 3:return Nh(t,r)[e.getFullYear()<=0?0:1];default:let c=n;throw new m(2302,!1)}}function Ui(e){return function(t,n,r){let o=-1*r,i=Ue(n,pe.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(e){case 0:return(o>=0?"+":"")+Oe(s,2,i)+Oe(Math.abs(o%60),2,i);case 1:return"GMT"+(o>=0?"+":"")+Oe(s,1,i);case 2:return"GMT"+(o>=0?"+":"")+Oe(s,2,i)+":"+Oe(Math.abs(o%60),2,i);case 3:return r===0?"Z":(o>=0?"+":"")+Oe(s,2,i)+":"+Oe(Math.abs(o%60),2,i);default:throw new m(2310,!1)}}}var dC=0,zi=4;function fC(e){let t=Wi(e,dC,1).getDay();return Wi(e,0,1+(t<=zi?zi:zi+7)-t)}function Fh(e){let t=e.getDay(),n=t===0?-3:zi-t;return Wi(e.getFullYear(),e.getMonth(),e.getDate()+n)}function au(e,t=!1){return function(n,r){let o;if(t){let i=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,s=n.getDate();o=1+Math.floor((s+i)/7)}else{let i=Fh(n),s=fC(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return Oe(o,e,Ue(r,pe.MinusSign))}}function Gi(e,t=!1){return function(n,r){let i=Fh(n).getFullYear();return Oe(i,e,Ue(r,pe.MinusSign),t)}}var cu={};function pC(e){if(cu[e])return cu[e];let t;switch(e){case"G":case"GG":case"GGG":t=P(3,k.Abbreviated);break;case"GGGG":t=P(3,k.Wide);break;case"GGGGG":t=P(3,k.Narrow);break;case"y":t=W(0,1,0,!1,!0);break;case"yy":t=W(0,2,0,!0,!0);break;case"yyy":t=W(0,3,0,!1,!0);break;case"yyyy":t=W(0,4,0,!1,!0);break;case"Y":t=Gi(1);break;case"YY":t=Gi(2,!0);break;case"YYY":t=Gi(3);break;case"YYYY":t=Gi(4);break;case"M":case"L":t=W(1,1,1);break;case"MM":case"LL":t=W(1,2,1);break;case"MMM":t=P(2,k.Abbreviated);break;case"MMMM":t=P(2,k.Wide);break;case"MMMMM":t=P(2,k.Narrow);break;case"LLL":t=P(2,k.Abbreviated,re.Standalone);break;case"LLLL":t=P(2,k.Wide,re.Standalone);break;case"LLLLL":t=P(2,k.Narrow,re.Standalone);break;case"w":t=au(1);break;case"ww":t=au(2);break;case"W":t=au(1,!0);break;case"d":t=W(2,1);break;case"dd":t=W(2,2);break;case"c":case"cc":t=W(7,1);break;case"ccc":t=P(1,k.Abbreviated,re.Standalone);break;case"cccc":t=P(1,k.Wide,re.Standalone);break;case"ccccc":t=P(1,k.Narrow,re.Standalone);break;case"cccccc":t=P(1,k.Short,re.Standalone);break;case"E":case"EE":case"EEE":t=P(1,k.Abbreviated);break;case"EEEE":t=P(1,k.Wide);break;case"EEEEE":t=P(1,k.Narrow);break;case"EEEEEE":t=P(1,k.Short);break;case"a":case"aa":case"aaa":t=P(0,k.Abbreviated);break;case"aaaa":t=P(0,k.Wide);break;case"aaaaa":t=P(0,k.Narrow);break;case"b":case"bb":case"bbb":t=P(0,k.Abbreviated,re.Standalone,!0);break;case"bbbb":t=P(0,k.Wide,re.Standalone,!0);break;case"bbbbb":t=P(0,k.Narrow,re.Standalone,!0);break;case"B":case"BB":case"BBB":t=P(0,k.Abbreviated,re.Format,!0);break;case"BBBB":t=P(0,k.Wide,re.Format,!0);break;case"BBBBB":t=P(0,k.Narrow,re.Format,!0);break;case"h":t=W(3,1,-12);break;case"hh":t=W(3,2,-12);break;case"H":t=W(3,1);break;case"HH":t=W(3,2);break;case"m":t=W(4,1);break;case"mm":t=W(4,2);break;case"s":t=W(5,1);break;case"ss":t=W(5,2);break;case"S":t=W(6,1);break;case"SS":t=W(6,2);break;case"SSS":t=W(6,3);break;case"Z":case"ZZ":case"ZZZ":t=Ui(0);break;case"ZZZZZ":t=Ui(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=Ui(1);break;case"OOOO":case"ZZZZ":case"zzzz":t=Ui(2);break;default:return null}return cu[e]=t,t}function Ph(e,t){e=e.replace(/:/g,"");let n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function hC(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function gC(e,t,n){let o=e.getTimezoneOffset(),i=Ph(t,o);return hC(e,-1*(i-o))}function mC(e){if(Eh(e))return e;if(typeof e=="number"&&!isNaN(e))return new Date(e);if(typeof e=="string"){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){let[o,i=1,s=1]=e.split("-").map(a=>+a);return Wi(o,i-1,s)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let r;if(r=e.match(oC))return yC(r)}let t=new Date(e);if(!Eh(t))throw new m(2311,!1);return t}function yC(e){let t=new Date(0),n=0,r=0,o=e[8]?t.setUTCFullYear:t.setFullYear,i=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),r=Number(e[9]+e[11])),o.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));let s=Number(e[4]||0)-n,a=Number(e[5]||0)-r,c=Number(e[6]||0),u=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return i.call(t,s,a,c,u),t}function Eh(e){return e instanceof Date&&!isNaN(e.valueOf())}var vC=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Ih=22,qi=".",Br="0",DC=";",EC=",",uu="#";function IC(e,t,n,r,o,i,s=!1){let a="",c=!1;if(!isFinite(e))a=Ue(n,pe.Infinity);else{let u=bC(e);s&&(u=wC(u));let l=t.minInt,d=t.minFrac,p=t.maxFrac;if(i){let j=i.match(vC);if(j===null)throw new m(2306,!1);let he=j[1],H=j[3],nt=j[5];he!=null&&(l=lu(he)),H!=null&&(d=lu(H)),nt!=null?p=lu(nt):H!=null&&d>p&&(p=d);let Ge=100;if(l>Ge||d>Ge||p>Ge)throw new m(2306,!1)}TC(u,d,p);let f=u.digits,h=u.integerLen,C=u.exponent,y=[];for(c=f.every(j=>!j);h<l;h++)f.unshift(0);for(;h<0;h++)f.unshift(0);h>0?y=f.splice(h,f.length):(y=f,f=[0]);let v=[];for(f.length>=t.lgSize&&v.unshift(f.splice(-t.lgSize,f.length).join(""));f.length>t.gSize;)v.unshift(f.splice(-t.gSize,f.length).join(""));f.length&&v.unshift(f.join("")),a=v.join(Ue(n,r)),y.length&&(a+=Ue(n,o)+y.join("")),C&&(a+=Ue(n,pe.Exponential)+"+"+C)}return e<0&&!c?a=t.negPre+a+t.negSuf:a=t.posPre+a+t.posSuf,a}function Lh(e,t,n){let r=xh(t,fu.Decimal),o=CC(r,Ue(t,pe.MinusSign));return IC(e,o,t,pe.Group,pe.Decimal,n)}function CC(e,t="-"){let n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(DC),o=r[0],i=r[1],s=o.indexOf(qi)!==-1?o.split(qi):[o.substring(0,o.lastIndexOf(Br)+1),o.substring(o.lastIndexOf(Br)+1)],a=s[0],c=s[1]||"";n.posPre=a.substring(0,a.indexOf(uu));for(let l=0;l<c.length;l++){let d=c.charAt(l);d===Br?n.minFrac=n.maxFrac=l+1:d===uu?n.maxFrac=l+1:n.posSuf+=d}let u=a.split(EC);if(n.gSize=u[1]?u[1].length:0,n.lgSize=u[2]||u[1]?(u[2]||u[1]).length:0,i){let l=o.length-n.posPre.length-n.posSuf.length,d=i.indexOf(uu);n.negPre=i.substring(0,d).replace(/'/g,""),n.negSuf=i.slice(d+l).replace(/'/g,"")}else n.negPre=t+n.posPre,n.negSuf=n.posSuf;return n}function wC(e){if(e.digits[0]===0)return e;let t=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(t===0?e.digits.push(0,0):t===1&&e.digits.push(0),e.integerLen+=2),e}function bC(e){let t=Math.abs(e)+"",n=0,r,o,i,s,a;for((o=t.indexOf(qi))>-1&&(t=t.replace(qi,"")),(i=t.search(/e/i))>0?(o<0&&(o=i),o+=+t.slice(i+1),t=t.substring(0,i)):o<0&&(o=t.length),i=0;t.charAt(i)===Br;i++);if(i===(a=t.length))r=[0],o=1;else{for(a--;t.charAt(a)===Br;)a--;for(o-=i,r=[],s=0;i<=a;i++,s++)r[s]=Number(t.charAt(i))}return o>Ih&&(r=r.splice(0,Ih-1),n=o-1,o=1),{digits:r,exponent:n,integerLen:o}}function TC(e,t,n){if(t>n)throw new m(2307,!1);let r=e.digits,o=r.length-e.integerLen,i=Math.min(Math.max(t,o),n),s=i+e.integerLen,a=r[s];if(s>0){r.splice(Math.max(e.integerLen,s));for(let d=s;d<r.length;d++)r[d]=0}else{o=Math.max(0,o),e.integerLen=1,r.length=Math.max(1,s=i+1),r[0]=0;for(let d=1;d<s;d++)r[d]=0}if(a>=5)if(s-1<0){for(let d=0;d>s;d--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[s-1]++;for(;o<Math.max(0,i);o++)r.push(0);let c=i!==0,u=t+e.integerLen,l=r.reduceRight(function(d,p,f,h){return p=p+d,h[f]=p<10?p:p-10,c&&(h[f]===0&&f>=u?h.pop():c=!1),p>=10?1:0},0);l&&(r.unshift(l),e.integerLen++)}function lu(e){let t=parseInt(e);if(isNaN(t))throw new m(2305,!1);return t}var du=/\s+/,Ch=[],_C=(()=>{class e{_ngEl;_renderer;initialClasses=Ch;rawClass;stateMap=new Map;constructor(n,r){this._ngEl=n,this._renderer=r}set klass(n){this.initialClasses=n!=null?n.trim().split(du):Ch}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(du):n}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let r of n)this._updateState(r,!0);else if(n!=null)for(let r of Object.keys(n))this._updateState(r,!!n[r]);this._applyStateDiff()}_updateState(n,r){let o=this.stateMap.get(n);o!==void 0?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let r=n[0],o=n[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(n,r){n=n.trim(),n.length>0&&n.split(du).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static \u0275fac=function(r){return new(r||e)(Q(en),Q(Pc))};static \u0275dir=An({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();var Zi=class{$implicit;ngForOf;index;count;constructor(t,n,r,o){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=o}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},jh=(()=>{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;let n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let r=this._viewContainer;n.forEachOperation((o,i,s)=>{if(o.previousIndex==null)r.createEmbeddedView(this._template,new Zi(o.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)r.remove(i===null?void 0:i);else if(i!==null){let a=r.get(i);r.move(a,s),wh(a,o)}});for(let o=0,i=r.length;o<i;o++){let a=r.get(o).context;a.index=o,a.count=i,a.ngForOf=this._ngForOf}n.forEachIdentityChange(o=>{let i=r.get(o.currentIndex);wh(i,o)})}static ngTemplateContextGuard(n,r){return!0}static \u0275fac=function(r){return new(r||e)(Q(Dt),Q(mt),Q(ou))};static \u0275dir=An({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function wh(e,t){e.context.$implicit=t.item}var MC=(()=>{class e{_viewContainer;_context=new Yi;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(n,r){this._viewContainer=n,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){bh(n,!1),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){bh(n,!1),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(n,r){return!0}static \u0275fac=function(r){return new(r||e)(Q(Dt),Q(mt))};static \u0275dir=An({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})(),Yi=class{$implicit=null;ngIf=null};function bh(e,t){if(e&&!e.createEmbeddedView)throw new m(2020,!1)}var SC=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=g(Te);constructor(n){this._viewContainerRef=n}ngOnChanges(n){if(this._shouldRecreateView(n)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this._getInjector()})}}_getInjector(){return this.ngTemplateOutletInjector==="outlet"?this.injector:this.ngTemplateOutletInjector??void 0}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(n,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static \u0275fac=function(r){return new(r||e)(Q(Dt))};static \u0275dir=An({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[mc]})}return e})();function Bh(e,t){return new m(2100,!1)}var NC="mediumDate",Vh=new T(""),Hh=new T(""),xC=(()=>{class e{locale;defaultTimezone;defaultOptions;constructor(n,r,o){this.locale=n,this.defaultTimezone=r,this.defaultOptions=o}transform(n,r,o,i){if(n==null||n===""||n!==n)return null;try{let s=r??this.defaultOptions?.dateFormat??NC,a=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return kh(n,s,i||this.locale,a)}catch(s){throw Bh(e,s.message)}}static \u0275fac=function(r){return new(r||e)(Q(Rn,16),Q(Vh,24),Q(Hh,24))};static \u0275pipe=Fi({name:"date",type:e,pure:!0})}return e})();var AC=(()=>{class e{_locale;constructor(n){this._locale=n}transform(n,r,o){if(!RC(n))return null;o||=this._locale;try{let i=OC(n);return Lh(i,o,r)}catch(i){throw Bh(e,i.message)}}static \u0275fac=function(r){return new(r||e)(Q(Rn,16))};static \u0275pipe=Fi({name:"number",type:e,pure:!0})}return e})();function RC(e){return!(e==null||e===""||e!==e)}function OC(e){if(typeof e=="string"&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if(typeof e!="number")throw new m(2309,!1);return e}var kC=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=ki({type:e});static \u0275inj=Jn({})}return e})();function pu(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var Vr=class{};var RP="browser";var It=class e{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(t){t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(`
|
|
5
|
+
`).forEach(n=>{let r=n.indexOf(":");if(r>0){let o=n.slice(0,r),i=n.slice(r+1).trim();this.addHeaderEntry(o,i)}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.addHeaderEntry(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){let n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){let n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(t.name,n);let o=(t.op==="a"?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":let i=t.value;if(!i)this.headers.delete(n),this.normalizedNames.delete(n);else{let s=this.headers.get(n);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}break}}addHeaderEntry(t,n){let r=t.toLowerCase();this.maybeSetNormalizedName(t,r),this.headers.has(r)?this.headers.get(r).push(n):this.headers.set(r,[n])}setHeaderEntries(t,n){let r=(Array.isArray(n)?n:[n]).map(i=>i.toString()),o=t.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}};var Ki=class{map=new Map;set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}},Ji=class{encodeKey(t){return $h(t)}encodeValue(t){return $h(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function FC(e,t){let n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{let i=o.indexOf("="),[s,a]=i==-1?[t.decodeKey(o),""]:[t.decodeKey(o.slice(0,i)),t.decodeValue(o.slice(i+1))],c=n.get(s)||[];c.push(a),n.set(s,c)}),n}var PC=/%(\d[a-f0-9])/gi,LC={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function $h(e){return encodeURIComponent(e).replace(PC,(t,n)=>LC[n]??t)}function Qi(e){return`${e}`}var tt=class e{map;encoder;updates=null;cloneFrom=null;constructor(t={}){if(this.encoder=t.encoder||new Ji,t.fromString){if(t.fromObject)throw new m(2805,!1);this.map=FC(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{let r=t.fromObject[n],o=Array.isArray(r)?r.map(Qi):[Qi(r)];this.map.set(n,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){let n=[];return Object.keys(t).forEach(r=>{let o=t[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:"a"})}):n.push({param:r,value:o,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let n=(t.op==="a"?this.map.get(t.param):void 0)||[];n.push(Qi(t.value)),this.map.set(t.param,n);break;case"d":if(t.value!==void 0){let r=this.map.get(t.param)||[],o=r.indexOf(Qi(t.value));o!==-1&&r.splice(o,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}};function jC(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Uh(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function Gh(e){return typeof Blob<"u"&&e instanceof Blob}function zh(e){return typeof FormData<"u"&&e instanceof FormData}function BC(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var Wh="Content-Type",qh="Accept",Zh="text/plain",Yh="application/json",VC=`${Yh}, ${Zh}, */*`,kn=class e{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(t,n,r,o){this.url=n,this.method=t.toUpperCase();let i;if(jC(this.method)||o?(this.body=r!==void 0?r:null,i=o):i=r,i){if(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,this.keepalive=!!i.keepalive,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),i.priority&&(this.priority=i.priority),i.cache&&(this.cache=i.cache),i.credentials&&(this.credentials=i.credentials),typeof i.timeout=="number"){if(i.timeout<1||!Number.isInteger(i.timeout))throw new m(2822,"");this.timeout=i.timeout}i.mode&&(this.mode=i.mode),i.redirect&&(this.redirect=i.redirect),i.integrity&&(this.integrity=i.integrity),i.referrer!==void 0&&(this.referrer=i.referrer),i.referrerPolicy&&(this.referrerPolicy=i.referrerPolicy),this.transferCache=i.transferCache}if(this.headers??=new It,this.context??=new Ki,!this.params)this.params=new tt,this.urlWithParams=n;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=n;else{let a=n.indexOf("?"),c=a===-1?"?":a<n.length-1?"&":"";this.urlWithParams=n+c+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||Uh(this.body)||Gh(this.body)||zh(this.body)||BC(this.body)?this.body:this.body instanceof tt?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||zh(this.body)?null:Gh(this.body)?this.body.type||null:Uh(this.body)?null:typeof this.body=="string"?Zh:this.body instanceof tt?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?Yh:null}clone(t={}){let n=t.method||this.method,r=t.url||this.url,o=t.responseType||this.responseType,i=t.keepalive??this.keepalive,s=t.priority||this.priority,a=t.cache||this.cache,c=t.mode||this.mode,u=t.redirect||this.redirect,l=t.credentials||this.credentials,d=t.referrer??this.referrer,p=t.integrity||this.integrity,f=t.referrerPolicy||this.referrerPolicy,h=t.transferCache??this.transferCache,C=t.timeout??this.timeout,y=t.body!==void 0?t.body:this.body,v=t.withCredentials??this.withCredentials,j=t.reportProgress??this.reportProgress,he=t.headers||this.headers,H=t.params||this.params,nt=t.context??this.context;return t.setHeaders!==void 0&&(he=Object.keys(t.setHeaders).reduce((Ge,Ct)=>Ge.set(Ct,t.setHeaders[Ct]),he)),t.setParams&&(H=Object.keys(t.setParams).reduce((Ge,Ct)=>Ge.set(Ct,t.setParams[Ct]),H)),new e(n,r,y,{params:H,headers:he,context:nt,reportProgress:j,responseType:o,withCredentials:v,transferCache:h,keepalive:i,cache:a,priority:s,timeout:C,mode:c,redirect:u,credentials:l,referrer:d,integrity:p,referrerPolicy:f})}},tn=(function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e})(tn||{}),Pn=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(t,n=200,r="OK"){this.headers=t.headers||new It,this.status=t.status!==void 0?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.redirected=t.redirected,this.responseType=t.responseType,this.ok=this.status>=200&&this.status<300}},Xi=class e extends Pn{constructor(t={}){super(t)}type=tn.ResponseHeader;clone(t={}){return new e({headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},Hr=class e extends Pn{body;constructor(t={}){super(t),this.body=t.body!==void 0?t.body:null}type=tn.Response;clone(t={}){return new e({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0,redirected:t.redirected??this.redirected,responseType:t.responseType??this.responseType})}},Fn=class extends Pn{name="HttpErrorResponse";message;error;ok=!1;constructor(t){super(t,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}},HC=200,$C=204;var UC=new T("");var GC=/^\)\]\}',?\n/;var gu=(()=>{class e{xhrFactory;tracingService=g(yt,{optional:!0});constructor(n){this.xhrFactory=n}maybePropagateTrace(n){return this.tracingService?.propagate?this.tracingService.propagate(n):n}handle(n){if(n.method==="JSONP")throw new m(-2800,!1);let r=this.xhrFactory;return so(null).pipe(fs(()=>new S(i=>{let s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((y,v)=>s.setRequestHeader(y,v.join(","))),n.headers.has(qh)||s.setRequestHeader(qh,VC),!n.headers.has(Wh)){let y=n.detectContentTypeHeader();y!==null&&s.setRequestHeader(Wh,y)}if(n.timeout&&(s.timeout=n.timeout),n.responseType){let y=n.responseType.toLowerCase();s.responseType=y!=="json"?y:"text"}let a=n.serializeBody(),c=null,u=()=>{if(c!==null)return c;let y=s.statusText||"OK",v=new It(s.getAllResponseHeaders()),j=s.responseURL||n.url;return c=new Xi({headers:v,status:s.status,statusText:y,url:j}),c},l=this.maybePropagateTrace(()=>{let{headers:y,status:v,statusText:j,url:he}=u(),H=null;v!==$C&&(H=typeof s.response>"u"?s.responseText:s.response),v===0&&(v=H?HC:0);let nt=v>=200&&v<300;if(n.responseType==="json"&&typeof H=="string"){let Ge=H;H=H.replace(GC,"");try{H=H!==""?JSON.parse(H):null}catch(Ct){H=Ge,nt&&(nt=!1,H={error:Ct,text:H})}}nt?(i.next(new Hr({body:H,headers:y,status:v,statusText:j,url:he||void 0})),i.complete()):i.error(new Fn({error:H,headers:y,status:v,statusText:j,url:he||void 0}))}),d=this.maybePropagateTrace(y=>{let{url:v}=u(),j=new Fn({error:y,status:s.status||0,statusText:s.statusText||"Unknown Error",url:v||void 0});i.error(j)}),p=d;n.timeout&&(p=this.maybePropagateTrace(y=>{let{url:v}=u(),j=new Fn({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:v||void 0});i.error(j)}));let f=!1,h=this.maybePropagateTrace(y=>{f||(i.next(u()),f=!0);let v={type:tn.DownloadProgress,loaded:y.loaded};y.lengthComputable&&(v.total=y.total),n.responseType==="text"&&s.responseText&&(v.partialText=s.responseText),i.next(v)}),C=this.maybePropagateTrace(y=>{let v={type:tn.UploadProgress,loaded:y.loaded};y.lengthComputable&&(v.total=y.total),i.next(v)});return s.addEventListener("load",l),s.addEventListener("error",d),s.addEventListener("timeout",p),s.addEventListener("abort",d),n.reportProgress&&(s.addEventListener("progress",h),a!==null&&s.upload&&s.upload.addEventListener("progress",C)),s.send(a),i.next({type:tn.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",l),s.removeEventListener("timeout",p),n.reportProgress&&(s.removeEventListener("progress",h),a!==null&&s.upload&&s.upload.removeEventListener("progress",C)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||e)(L(Vr))};static \u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function zC(e,t){return t(e)}function WC(e,t,n){return(r,o)=>gn(n,()=>t(r,i=>e(i,o)))}var Qh=new T("",{factory:()=>[]}),Kh=new T(""),Jh=new T("",{factory:()=>!0});var mu=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=M({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=L(gu),o},providedIn:"root"})}return e})();var es=(()=>{class e{backend;injector;chain=null;pendingTasks=g(lr);contributeToStability=g(Jh);constructor(n,r){this.backend=n,this.injector=r}handle(n){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(Qh),...this.injector.get(Kh,[])]));this.chain=r.reduceRight((o,i)=>WC(o,i,this.injector),zC)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(lo(r))}else return this.chain(n,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||e)(L(mu),L(ae))};static \u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),yu=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=M({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=L(es),o},providedIn:"root"})}return e})();function hu(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,credentials:e.credentials,transferCache:e.transferCache,timeout:e.timeout,keepalive:e.keepalive,priority:e.priority,cache:e.cache,mode:e.mode,redirect:e.redirect,integrity:e.integrity,referrer:e.referrer,referrerPolicy:e.referrerPolicy}}var ts=(()=>{class e{handler;constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof kn)i=n;else{let c;o.headers instanceof It?c=o.headers:c=new It(o.headers);let u;o.params&&(o.params instanceof tt?u=o.params:u=new tt({fromObject:o.params})),i=new kn(n,r,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:u,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache,keepalive:o.keepalive,priority:o.priority,cache:o.cache,mode:o.mode,redirect:o.redirect,credentials:o.credentials,referrer:o.referrer,referrerPolicy:o.referrerPolicy,integrity:o.integrity,timeout:o.timeout})}let s=so(i).pipe(ls(c=>this.handler.handle(c)));if(n instanceof kn||o.observe==="events")return s;let a=s.pipe($n(c=>c instanceof Hr));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(me(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new m(2806,!1);return c.body}));case"blob":return a.pipe(me(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new m(2807,!1);return c.body}));case"text":return a.pipe(me(c=>{if(c.body!==null&&typeof c.body!="string")throw new m(2808,!1);return c.body}));default:return a.pipe(me(c=>c.body))}case"response":return a;default:throw new m(2809,!1)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:new tt().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,hu(o,r))}post(n,r,o={}){return this.request("POST",n,hu(o,r))}put(n,r,o={}){return this.request("PUT",n,hu(o,r))}static \u0275fac=function(r){return new(r||e)(L(yu))};static \u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var qC=new T("",{factory:()=>!0}),ZC="XSRF-TOKEN",YC=new T("",{factory:()=>ZC}),QC="X-XSRF-TOKEN",KC=new T("",{factory:()=>QC}),JC=(()=>{class e{cookieName=g(YC);doc=g(He);lastCookieString="";lastToken=null;parseCount=0;getToken(){let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=pu(n,this.cookieName),this.lastCookieString=n),this.lastToken}static \u0275fac=function(r){return new(r||e)};static \u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Xh=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=M({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=L(JC),o},providedIn:"root"})}return e})();function XC(e,t){if(!g(qC)||e.method==="GET"||e.method==="HEAD")return t(e);try{let o=g(On).href,{origin:i}=new URL(o),{origin:s}=new URL(e.url,i);if(i!==s)return t(e)}catch(o){return t(e)}let n=g(Xh).getToken(),r=g(KC);return n!=null&&!e.headers.has(r)&&(e=e.clone({headers:e.headers.set(r,n)})),t(e)}function ew(...e){let t=[ts,es,{provide:yu,useExisting:es},{provide:mu,useFactory:()=>g(UC,{optional:!0})??g(gu)},{provide:Qh,useValue:XC,multi:!0}];for(let n of e)t.push(...n.\u0275providers);return rr(t)}function eg(e,t){if(t){let n=e.find(r=>r.id===t);if(n)return n}return e.find(n=>n.isRoot)??e[0]??null}var vu="vsaf.project";function tw(){try{return localStorage.getItem(vu)}catch(e){return null}}function tg(e){try{e===null?localStorage.removeItem(vu):localStorage.setItem(vu,e)}catch(t){}}var ng=class e{http=g(ts);projects=Zt([]);selectedId=Zt(tw());loaded=Zt(!1);get currentId(){return this.selectedId()}get selectedProject(){let t=this.selectedId();return this.projects().find(n=>n.id===t)??null}load(){this.http.get("/api/projects").subscribe({next:t=>{let n=t?.projects??[];this.projects.set(n);let r=eg(n,this.selectedId());this.selectedId.set(r?.id??null),tg(r?.id??null),this.loaded.set(!0)},error:()=>{this.projects.set([]),this.selectedId.set(null),this.loaded.set(!0)}})}select(t){this.selectedId.set(t),tg(t)}static \u0275fac=function(n){return new(n||e)};static \u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})};export{K as a,oe as b,$r as c,J as d,dg as e,S as f,be as g,Bn as h,Vn as i,ot as j,so as k,xg as l,Ag as m,Hn as n,me as o,Rg as p,_t as q,us as r,po as s,kg as t,Ng as u,$n as v,Vu as w,ls as x,ds as y,lo as z,Pg as A,Lg as B,jg as C,fs as D,Bg as E,Vg as F,m as G,pn as H,Mo as I,M as J,Jn as K,Xg as L,T as M,L as N,g as O,rr as P,Zs as Q,ae as R,gn as S,kl as T,Fl as U,ql as V,Zl as W,Te as X,He as Y,qt as Z,ht as _,ze as $,Y as aa,at as ba,Je as ca,Zt as da,mc as ea,Qd as fa,vc as ga,en as ha,ay as ia,cy as ja,of as ka,ly as la,sf as ma,Kt as na,Hy as oa,Gy as pa,sv as qa,yr as ra,vr as sa,yt as ta,lv as ua,Ir as va,Pc as wa,Q as xa,Dt as ya,Dp as za,Ep as Aa,QD as Ba,ki as Ca,An as Da,wp as Ea,Tp as Fa,lE as Ga,Pi as Ha,Sp as Ia,Rr as Ja,Ap as Ka,pE as La,hE as Ma,gE as Na,mE as Oa,yE as Pa,Rp as Qa,Ei as Ra,Zc as Sa,Op as Ta,Yc as Ua,Qc as Va,kp as Wa,bE as Xa,Pp as Ya,NE as Za,AE as _a,RE as $a,jp as ab,Bp as bb,kE as cb,FE as db,PE as eb,$p as fb,Up as gb,qE as hb,oI as ib,Yp as jb,Kc as kb,Qp as lb,Kp as mb,Jp as nb,uI as ob,Xp as pb,pI as qb,hI as rb,gI as sb,vI as tb,EI as ub,CI as vb,wI as wb,sh as xb,_I as yb,SI as zb,ah as Ab,yF as Bb,vF as Cb,ZI as Db,EF as Eb,IF as Fb,Bi as Gb,JI as Hb,iu as Ib,Vi as Jb,Dh as Kb,_C as Lb,jh as Mb,MC as Nb,SC as Ob,xC as Pb,AC as Qb,kC as Rb,pu as Sb,Vr as Tb,RP as Ub,ts as Vb,ew as Wb,ng as Xb};
|