(t)
| 1 | import{a as M,b as P,f as xr,j as vt}from"./chunk-RMXJBC7V.js";var De=null,ts=!1,lc=1,JD=null,se=Symbol("SIGNAL");function I(e){let t=De;return De=e,t}function ns(){return De}var an={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 cn(e){if(ts)throw new Error("");if(De===null)return;De.consumerOnSignalRead(e);let t=De.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=De.recomputing;if(r&&(n=t!==void 0?t.nextProducer:De.producers,n!==void 0&&n.producer===e)){De.producersTail=n,n.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===De&&(!r||eE(o,De)))return;let i=Sr(De),s={producer:e,consumer:De,nextProducer:n,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};De.producersTail=s,t!==void 0?t.nextProducer=s:De.producers=s,i&&c0(e,s)}function s0(){lc++}function Ln(e){if(!(Sr(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===lc)){if(!e.producerMustRecompute(e)&&!Tr(e)){Ir(e);return}e.producerRecomputeValue(e),Ir(e)}}function dc(e){if(e.consumers===void 0)return;let t=ts;ts=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||XD(r)}}finally{ts=t}}function fc(){return De?.consumerAllowSignalWrites!==!1}function XD(e){e.dirty=!0,dc(e),e.consumerMarkedDirty?.(e)}function Ir(e){e.dirty=!1,e.lastCleanEpoch=lc}function Lt(e){return e&&u0(e),I(e)}function u0(e){e.producersTail=void 0,e.recomputing=!0}function ln(e,t){I(t),e&&a0(e)}function a0(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(Sr(e))do n=pc(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function Tr(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(Ln(n),r!==n.version))return!0}return!1}function dn(e){if(Sr(e)){let t=e.producers;for(;t!==void 0;)t=pc(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function c0(e,t){let n=e.consumersTail,r=Sr(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)c0(o.producer,o)}function pc(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,!Sr(t)){let i=t.producers;for(;i!==void 0;)i=pc(i)}return n}function Sr(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function ko(e){JD?.(e)}function eE(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 Ro(e,t){return Object.is(e,t)}function Fo(e,t){let n=Object.create(tE);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(Ln(n),cn(n),n.value===Dt)throw n.error;return n.value};return r[se]=n,ko(n),r}var un=Symbol("UNSET"),Pn=Symbol("COMPUTING"),Dt=Symbol("ERRORED"),tE=P(M({},an),{value:un,dirty:!0,error:null,equal:Ro,kind:"computed",producerMustRecompute(e){return e.value===un||e.value===Pn},producerRecomputeValue(e){if(e.value===Pn)throw new Error("");let t=e.value;e.value=Pn;let n=Lt(e),r,o=!1;try{r=e.computation(),I(null),o=t!==un&&t!==Dt&&r!==Dt&&e.equal(t,r)}catch(i){r=Dt,e.error=i}finally{ln(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function nE(){throw new Error}var l0=nE;function d0(e){l0(e)}function hc(e){l0=e}var rE=null;function gc(e,t){let n=Object.create(Oo);n.value=e,t!==void 0&&(n.equal=t);let r=()=>f0(n);return r[se]=n,ko(n),[r,s=>jn(n,s),s=>rs(n,s)]}function f0(e){return cn(e),e.value}function jn(e,t){fc()||d0(e),e.equal(e.value,t)||(e.value=t,oE(e))}function rs(e,t){fc()||d0(e),jn(e,t(e.value))}var Oo=P(M({},an),{equal:Ro,value:void 0,kind:"signal"});function oE(e){e.version++,s0(),dc(e),rE?.(e)}var mc=P(M({},an),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function yc(e){if(e.dirty=!1,e.version>0&&!Tr(e))return;e.version++;let t=Lt(e);try{e.cleanup(),e.fn()}finally{ln(e,t)}}function R(e){return typeof e=="function"}function Mr(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 os=Mr(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 Bn(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var ne=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(R(r))try{r()}catch(i){t=i instanceof os?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{p0(i)}catch(s){t=t??[],s instanceof os?t=[...t,...s.errors]:t.push(s)}}if(t)throw new os(t)}}add(t){var n;if(t&&t!==this)if(this.closed)p0(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)&&Bn(n,t)}remove(t){let{_finalizers:n}=this;n&&Bn(n,t),t instanceof e&&t._removeParent(this)}};ne.EMPTY=(()=>{let e=new ne;return e.closed=!0,e})();var bc=ne.EMPTY;function is(e){return e instanceof ne||e&&"closed"in e&&R(e.remove)&&R(e.add)&&R(e.unsubscribe)}function p0(e){R(e)?e():e.unsubscribe()}var et={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Ar={setTimeout(e,t,...n){let{delegate:r}=Ar;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Ar;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function ss(e){Ar.setTimeout(()=>{let{onUnhandledError:t}=et;if(t)t(e);else throw e})}function jt(){}var h0=vc("C",void 0,void 0);function g0(e){return vc("E",void 0,e)}function m0(e){return vc("N",e,void 0)}function vc(e,t,n){return{kind:e,value:t,error:n}}var Vn=null;function Nr(e){if(et.useDeprecatedSynchronousErrorHandling){let t=!Vn;if(t&&(Vn={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=Vn;if(Vn=null,n)throw r}}else e()}function y0(e){et.useDeprecatedSynchronousErrorHandling&&Vn&&(Vn.errorThrown=!0,Vn.error=e)}var Hn=class extends ne{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,is(t)&&t.add(this)):this.destination=uE}static create(t,n,r){return new tt(t,n,r)}next(t){this.isStopped?Ec(m0(t),this):this._next(t)}error(t){this.isStopped?Ec(g0(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Ec(h0,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()}}},iE=Function.prototype.bind;function Dc(e,t){return iE.call(e,t)}var Cc=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){us(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){us(r)}else us(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){us(n)}}},tt=class extends Hn{constructor(t,n,r){super();let o;if(R(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&et.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Dc(t.next,i),error:t.error&&Dc(t.error,i),complete:t.complete&&Dc(t.complete,i)}):o=t}this.destination=new Cc(o)}};function us(e){et.useDeprecatedSynchronousErrorHandling?y0(e):ss(e)}function sE(e){throw e}function Ec(e,t){let{onStoppedNotification:n}=et;n&&Ar.setTimeout(()=>n(e,t))}var uE={closed:!0,next:jt,error:sE,complete:jt};var kr=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Te(e){return e}function aE(...e){return _c(e)}function _c(e){return e.length===0?Te:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var B=(()=>{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=lE(n)?n:new tt(n,r,o);return Nr(()=>{let{operator:s,source:u}=this;i.add(s?s.call(i,u):u?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=b0(r),new r((o,i)=>{let s=new tt({next:u=>{try{n(u)}catch(a){i(a),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)}[kr](){return this}pipe(...n){return _c(n)(this)}toPromise(n){return n=b0(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 b0(e){var t;return(t=e??et.Promise)!==null&&t!==void 0?t:Promise}function cE(e){return e&&R(e.next)&&R(e.error)&&R(e.complete)}function lE(e){return e&&e instanceof Hn||cE(e)&&is(e)}function wc(e){return R(e?.lift)}function j(e){return t=>{if(wc(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 F(e,t,n,r,o){return new xc(e,t,n,r,o)}var xc=class extends Hn{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(u){try{n(u)}catch(a){t.error(a)}}:super._next,this._error=o?function(u){try{o(u)}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(u){t.error(u)}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 v0(){return j((e,t)=>{let n=null;e._refCount++;let r=F(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var Ic=class extends B{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,wc(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new ne;let n=this.getSubject();t.add(this.source.subscribe(F(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=ne.EMPTY)}return t}refCount(){return v0()(this)}};var Rr={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame,{delegate:r}=Rr;r&&(t=r.requestAnimationFrame,n=r.cancelAnimationFrame);let o=t(i=>{n=void 0,e(i)});return new ne(()=>n?.(o))},requestAnimationFrame(...e){let{delegate:t}=Rr;return(t?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){let{delegate:t}=Rr;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};var D0=Mr(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var he=(()=>{class e extends B{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new as(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new D0}next(n){Nr(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){Nr(()=>{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(){Nr(()=>{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?bc:(this.currentObservers=null,i.push(n),new ne(()=>{this.currentObservers=null,Bn(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new B;return n.source=this,n}}return e.create=(t,n)=>new as(t,n),e})(),as=class extends he{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:bc}};var Po=class extends he{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 Lo={now(){return(Lo.delegate||Date).now()},delegate:void 0};var jo=class extends he{constructor(t=1/0,n=1/0,r=Lo){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),u=0;for(let a=1;a<r.length&&r[a]<=s;a+=2)u=a;u&&r.splice(0,u+1)}}};var cs=class extends ne{constructor(t,n){super()}schedule(t,n=0){return this}};var Bo={setInterval(e,t,...n){let{delegate:r}=Bo;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=Bo;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var fn=class extends cs{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(t,n,r=0){return Bo.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return n;n!=null&&Bo.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(t,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let r=!1,o;try{this.work(t)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,Bn(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var dE=1,Tc,Sc={};function E0(e){return e in Sc?(delete Sc[e],!0):!1}var C0={setImmediate(e){let t=dE++;return Sc[t]=!0,Tc||(Tc=Promise.resolve()),Tc.then(()=>E0(t)&&e()),t},clearImmediate(e){E0(e)}};var{setImmediate:fE,clearImmediate:pE}=C0,Vo={setImmediate(...e){let{delegate:t}=Vo;return(t?.setImmediate||fE)(...e)},clearImmediate(e){let{delegate:t}=Vo;return(t?.clearImmediate||pE)(e)},delegate:void 0};var ls=class extends fn{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,r=0){return r!==null&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=Vo.setImmediate(t.flush.bind(t,void 0))))}recycleAsyncId(t,n,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);let{actions:i}=t;n!=null&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&(Vo.clearImmediate(n),t._scheduled===n&&(t._scheduled=void 0))}};var Fr=class e{constructor(t,n=e.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}};Fr.now=Lo.now;var pn=class extends Fr{constructor(t,n=Fr.now){super(t,n),this.actions=[],this._active=!1}flush(t){let{actions:n}=this;if(this._active){n.push(t);return}let r;this._active=!0;do if(r=t.execute(t.state,t.delay))break;while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}};var ds=class extends pn{flush(t){this._active=!0;let n=this._scheduled;this._scheduled=void 0;let{actions:r}=this,o;t=t||r.shift();do if(o=t.execute(t.state,t.delay))break;while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}};var hE=new ds(ls);var Or=new pn(fn),Mc=Or;var fs=class extends fn{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,r=0){return r!==null&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=Rr.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,n,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);let{actions:i}=t;n!=null&&n===t._scheduled&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&(Rr.cancelAnimationFrame(n),t._scheduled=void 0)}};var ps=class extends pn{flush(t){this._active=!0;let n;t?n=t.id:(n=this._scheduled,this._scheduled=void 0);let{actions:r}=this,o;t=t||r.shift();do if(o=t.execute(t.state,t.delay))break;while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}};var gE=new ps(fs);var Bt=new B(e=>e.complete());function hs(e){return e&&R(e.schedule)}function Ac(e){return e[e.length-1]}function hn(e){return R(Ac(e))?e.pop():void 0}function Et(e){return hs(Ac(e))?e.pop():void 0}function _0(e,t){return typeof Ac(e)=="number"?e.pop():t}function E3(e,t,n,r){var o=arguments.length,i=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,n,r);else for(var u=e.length-1;u>=0;u--)(s=e[u])&&(i=(o<3?s(i):o>3?s(t,n,i):s(t,n))||i);return o>3&&i&&Object.defineProperty(t,n,i),i}function x0(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 u(l){try{c(r.next(l))}catch(d){s(d)}}function a(l){try{c(r.throw(l))}catch(d){s(d)}}function c(l){l.done?i(l.value):o(l.value).then(u,a)}c((r=r.apply(e,t||[])).next())})}function w0(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 $n(e){return this instanceof $n?(this.v=e,this):new $n(e)}function I0(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),u("next"),u("throw"),u("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(p){return Promise.resolve(p).then(f,d)}}function u(f,p){r[f]&&(o[f]=function(m){return new Promise(function(g,y){i.push([f,m,g,y])>1||a(f,m)})},p&&(o[f]=p(o[f])))}function a(f,p){try{c(r[f](p))}catch(m){h(i[0][3],m)}}function c(f){f.value instanceof $n?Promise.resolve(f.value.v).then(l,d):h(i[0][2],f)}function l(f){a("next",f)}function d(f){a("throw",f)}function h(f,p){f(p),i.shift(),i.length&&a(i[0][0],i[0][1])}}function T0(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 w0=="function"?w0(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(u,a){s=e[i](s),o(u,a,s.done,s.value)})}}function o(i,s,u,a){Promise.resolve(a).then(function(c){i({value:c,done:u})},s)}}var Pr=e=>e&&typeof e.length=="number"&&typeof e!="function";function gs(e){return R(e?.then)}function ms(e){return R(e[kr])}function ys(e){return Symbol.asyncIterator&&R(e?.[Symbol.asyncIterator])}function bs(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 mE(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var vs=mE();function Ds(e){return R(e?.[vs])}function Es(e){return I0(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield $n(n.read());if(o)return yield $n(void 0);yield yield $n(r)}}finally{n.releaseLock()}})}function Cs(e){return R(e?.getReader)}function z(e){if(e instanceof B)return e;if(e!=null){if(ms(e))return yE(e);if(Pr(e))return bE(e);if(gs(e))return vE(e);if(ys(e))return S0(e);if(Ds(e))return DE(e);if(Cs(e))return EE(e)}throw bs(e)}function yE(e){return new B(t=>{let n=e[kr]();if(R(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function bE(e){return new B(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function vE(e){return new B(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,ss)})}function DE(e){return new B(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function S0(e){return new B(t=>{CE(e,t).catch(n=>t.error(n))})}function EE(e){return S0(Es(e))}function CE(e,t){var n,r,o,i;return x0(this,void 0,void 0,function*(){try{for(n=T0(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 Fe(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 Ho(e,t=0){return j((n,r)=>{n.subscribe(F(r,o=>Fe(r,e,()=>r.next(o),t),()=>Fe(r,e,()=>r.complete(),t),o=>Fe(r,e,()=>r.error(o),t)))})}function _s(e,t=0){return j((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function M0(e,t){return z(e).pipe(_s(t),Ho(t))}function A0(e,t){return z(e).pipe(_s(t),Ho(t))}function N0(e,t){return new B(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function k0(e,t){return new B(n=>{let r;return Fe(n,t,()=>{r=e[vs](),Fe(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)}),()=>R(r?.return)&&r.return()})}function ws(e,t){if(!e)throw new Error("Iterable cannot be null");return new B(n=>{Fe(n,t,()=>{let r=e[Symbol.asyncIterator]();Fe(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function R0(e,t){return ws(Es(e),t)}function F0(e,t){if(e!=null){if(ms(e))return M0(e,t);if(Pr(e))return N0(e,t);if(gs(e))return A0(e,t);if(ys(e))return ws(e,t);if(Ds(e))return k0(e,t);if(Cs(e))return R0(e,t)}throw bs(e)}function Ct(e,t){return t?F0(e,t):z(e)}function xs(...e){let t=Et(e);return Ct(e,t)}function _E(e,t){let n=R(e)?e:()=>e,r=o=>o.error(n());return new B(t?o=>t.schedule(r,0,o):r)}function wE(e){return!!e&&(e instanceof B||R(e.lift)&&R(e.subscribe))}var Un=Mr(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Nc(e,t){let n=typeof t=="object";return new Promise((r,o)=>{let i=new tt({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{n?r(t.defaultValue):o(new Un)}});e.subscribe(i)})}function O0(e){return e instanceof Date&&!isNaN(e)}function Se(e,t){return j((n,r)=>{let o=0;n.subscribe(F(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:xE}=Array;function IE(e,t){return xE(t)?e(...t):e(t)}function Lr(e){return Se(t=>IE(e,t))}var{isArray:TE}=Array,{getPrototypeOf:SE,prototype:ME,keys:AE}=Object;function Is(e){if(e.length===1){let t=e[0];if(TE(t))return{args:t,keys:null};if(NE(t)){let n=AE(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function NE(e){return e&&typeof e=="object"&&SE(e)===ME}function Ts(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function kE(...e){let t=Et(e),n=hn(e),{args:r,keys:o}=Is(e);if(r.length===0)return Ct([],t);let i=new B(RE(r,t,o?s=>Ts(o,s):Te));return n?i.pipe(Lr(n)):i}function RE(e,t,n=Te){return r=>{P0(t,()=>{let{length:o}=e,i=new Array(o),s=o,u=o;for(let a=0;a<o;a++)P0(t,()=>{let c=Ct(e[a],t),l=!1;c.subscribe(F(r,d=>{i[a]=d,l||(l=!0,u--),u||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function P0(e,t,n){e?Fe(n,e,t):t()}function L0(e,t,n,r,o,i,s,u){let a=[],c=0,l=0,d=!1,h=()=>{d&&!a.length&&!c&&t.complete()},f=m=>c<r?p(m):a.push(m),p=m=>{i&&t.next(m),c++;let g=!1;z(n(m,l++)).subscribe(F(t,y=>{o?.(y),i?f(y):t.next(y)},()=>{g=!0},void 0,()=>{if(g)try{for(c--;a.length&&c<r;){let y=a.shift();s?Fe(t,s,()=>p(y)):p(y)}h()}catch(y){t.error(y)}}))};return e.subscribe(F(t,f,()=>{d=!0,h()})),()=>{u?.()}}function Vt(e,t,n=1/0){return R(t)?Vt((r,o)=>Se((i,s)=>t(r,i,o,s))(z(e(r,o))),n):(typeof t=="number"&&(n=t),j((r,o)=>L0(r,o,e,n)))}function $o(e=1/0){return Vt(Te,e)}function j0(){return $o(1)}function Ss(...e){return j0()(Ct(e,Et(e)))}function FE(e){return new B(t=>{z(e()).subscribe(t)})}function OE(...e){let t=hn(e),{args:n,keys:r}=Is(e),o=new B(i=>{let{length:s}=n;if(!s){i.complete();return}let u=new Array(s),a=s,c=s;for(let l=0;l<s;l++){let d=!1;z(n[l]).subscribe(F(i,h=>{d||(d=!0,c--),u[l]=h},()=>a--,void 0,()=>{(!a||!d)&&(c||i.next(r?Ts(r,u):u),i.complete())}))}});return t?o.pipe(Lr(t)):o}var PE=["addListener","removeListener"],LE=["addEventListener","removeEventListener"],jE=["on","off"];function kc(e,t,n,r){if(R(n)&&(r=n,n=void 0),r)return kc(e,t,n).pipe(Lr(r));let[o,i]=HE(e)?LE.map(s=>u=>e[s](t,u,n)):BE(e)?PE.map(B0(e,t)):VE(e)?jE.map(B0(e,t)):[];if(!o&&Pr(e))return Vt(s=>kc(s,t,n))(z(e));if(!o)throw new TypeError("Invalid event target");return new B(s=>{let u=(...a)=>s.next(1<a.length?a:a[0]);return o(u),()=>i(u)})}function B0(e,t){return n=>r=>e[n](t,r)}function BE(e){return R(e.addListener)&&R(e.removeListener)}function VE(e){return R(e.on)&&R(e.off)}function HE(e){return R(e.addEventListener)&&R(e.removeEventListener)}function Rc(e=0,t,n=Mc){let r=-1;return t!=null&&(hs(t)?n=t:r=t),new B(o=>{let i=O0(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function $E(...e){let t=Et(e),n=_0(e,1/0),r=e;return r.length?r.length===1?z(r[0]):$o(n)(Ct(r,t)):Bt}var UE=new B(jt);var{isArray:zE}=Array;function V0(e){return e.length===1&&zE(e[0])?e[0]:e}function gn(e,t){return j((n,r)=>{let o=0;n.subscribe(F(r,i=>e.call(t,i,o++)&&r.next(i)))})}function qE(...e){let t=hn(e),n=V0(e);return n.length?new B(r=>{let o=n.map(()=>[]),i=n.map(()=>!1);r.add(()=>{o=i=null});for(let s=0;!r.closed&&s<n.length;s++)z(n[s]).subscribe(F(r,u=>{if(o[s].push(u),o.every(a=>a.length)){let a=o.map(c=>c.shift());r.next(t?t(...a):a),o.some((c,l)=>!c.length&&i[l])&&r.complete()}},()=>{i[s]=!0,!o[s].length&&r.complete()}));return()=>{o=i=null}}):Bt}function H0(e){return j((t,n)=>{let r=!1,o=null,i=null,s=!1,u=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let c=o;o=null,n.next(c)}s&&n.complete()},a=()=>{i=null,s&&n.complete()};t.subscribe(F(n,c=>{r=!0,o=c,i||z(e(c)).subscribe(i=F(n,u,a))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function GE(e,t=Or){return H0(()=>Rc(e,t))}function Fc(e){return j((t,n)=>{let r=null,o=!1,i;r=t.subscribe(F(n,void 0,void 0,s=>{i=z(e(s,Fc(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Oc(e,t){return R(t)?Vt(e,t,1):Vt(e,1)}function $0(e,t=Or){return j((n,r)=>{let o=null,i=null,s=null,u=()=>{if(o){o.unsubscribe(),o=null;let c=i;i=null,r.next(c)}};function a(){let c=s+e,l=t.now();if(l<c){o=this.schedule(void 0,c-l),r.add(o);return}u()}n.subscribe(F(r,c=>{i=c,s=t.now(),o||(o=t.schedule(a,e),r.add(o))},()=>{u(),r.complete()},void 0,()=>{i=o=null}))})}function U0(e){return j((t,n)=>{let r=!1;t.subscribe(F(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function Pc(e){return e<=0?()=>Bt:j((t,n)=>{let r=0;t.subscribe(F(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function WE(e){return Se(()=>e)}function z0(e,t=Te){return e=e??ZE,j((n,r)=>{let o,i=!0;n.subscribe(F(r,s=>{let u=t(s);(i||!e(o,u))&&(i=!1,o=u,r.next(s))}))})}function ZE(e,t){return e===t}function q0(e=YE){return j((t,n)=>{let r=!1;t.subscribe(F(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function YE(){return new Un}function Ms(e){return j((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function QE(e,t){let n=arguments.length>=2;return r=>r.pipe(e?gn((o,i)=>e(o,i,r)):Te,Pc(1),n?U0(t):q0(()=>new Un))}function KE(e){return e<=0?()=>Bt:j((t,n)=>{let r=[];t.subscribe(F(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 G0(){return j((e,t)=>{let n,r=!1;e.subscribe(F(t,o=>{let i=n;n=o,r&&t.next([i,o]),r=!0}))})}function As(e={}){let{connector:t=()=>new he,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,u,a,c=0,l=!1,d=!1,h=()=>{u?.unsubscribe(),u=void 0},f=()=>{h(),s=a=void 0,l=d=!1},p=()=>{let m=s;f(),m?.unsubscribe()};return j((m,g)=>{c++,!d&&!l&&h();let y=a=a??t();g.add(()=>{c--,c===0&&!d&&!l&&(u=Lc(p,o))}),y.subscribe(g),!s&&c>0&&(s=new tt({next:v=>y.next(v),error:v=>{d=!0,h(),u=Lc(f,n,v),y.error(v)},complete:()=>{l=!0,h(),u=Lc(f,r),y.complete()}}),z(m).subscribe(s))})(i)}}function Lc(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new tt({next:()=>{r.unsubscribe(),e()}});return z(t(...n)).subscribe(r)}function W0(e,t,n){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:t=1/0,refCount:o=!1,scheduler:n}=e:r=e??1/0,As({connector:()=>new jo(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function Z0(e){return gn((t,n)=>e<=n)}function Y0(...e){let t=Et(e);return j((n,r)=>{(t?Ss(e,n,t):Ss(e,n)).subscribe(r)})}function Ns(e,t){return j((n,r)=>{let o=null,i=0,s=!1,u=()=>s&&!o&&r.complete();n.subscribe(F(r,a=>{o?.unsubscribe();let c=0,l=i++;z(e(a,l)).subscribe(o=F(r,d=>r.next(t?t(a,d,l,c++):d),()=>{o=null,u()}))},()=>{s=!0,u()}))})}function JE(e){return j((t,n)=>{z(e).subscribe(F(n,()=>n.complete(),jt)),!n.closed&&t.subscribe(n)})}function XE(e,t=!1){return j((n,r)=>{let o=0;n.subscribe(F(r,i=>{let s=e(i,o++);(s||t)&&r.next(i),!s&&r.complete()}))})}function Q0(e,t,n){let r=R(e)||t||n?{next:e,error:t,complete:n}:e;return r?j((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let u=!0;o.subscribe(F(i,a=>{var c;(c=r.next)===null||c===void 0||c.call(r,a),i.next(a)},()=>{var a;u=!1,(a=r.complete)===null||a===void 0||a.call(r),i.complete()},a=>{var c;u=!1,(c=r.error)===null||c===void 0||c.call(r,a),i.error(a)},()=>{var a,c;u&&((a=r.unsubscribe)===null||a===void 0||a.call(r)),(c=r.finalize)===null||c===void 0||c.call(r)}))}):Te}function eC(...e){let t=hn(e);return j((n,r)=>{let o=e.length,i=new Array(o),s=e.map(()=>!1),u=!1;for(let a=0;a<o;a++)z(e[a]).subscribe(F(r,c=>{i[a]=c,!u&&!s[a]&&(s[a]=!0,(u=s.every(Te))&&(s=null))},jt));n.subscribe(F(r,a=>{if(u){let c=[a,...i];r.next(t?t(...c):c)}}))})}var jc;function ks(){return jc}function _t(e){let t=jc;return jc=e,t}var K0=Symbol("NotFound");function jr(e){return e===K0||e?.name==="\u0275NotFound"}function Bc(e,t,n){let r=Object.create(tC);r.source=e,r.computation=t,n!=null&&(r.equal=n);let i=()=>{if(Ln(r),cn(r),r.value===Dt)throw r.error;return r.value};return i[se]=r,ko(r),i}function J0(e,t){Ln(e),jn(e,t),Ir(e)}function X0(e,t){if(Ln(e),e.value===Dt)throw e.error;rs(e,t),Ir(e)}var tC=P(M({},an),{value:un,dirty:!0,error:null,equal:Ro,kind:"linkedSignal",producerMustRecompute(e){return e.value===un||e.value===Pn},producerRecomputeValue(e){if(e.value===Pn)throw new Error("");let t=e.value;e.value=Pn;let n=Lt(e),r;try{let o=e.source(),i=t===un||t===Dt?void 0:{source:e.sourceValue,value:t};r=e.computation(o,i),e.sourceValue=o}catch(o){r=Dt,e.error=o}finally{ln(e,n)}if(t!==un&&r!==Dt&&e.equal(t,r)){e.value=t;return}e.value=r,e.version++}});function eg(e){let t=I(null);try{return e()}finally{I(t)}}var Bs="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",D=class extends Error{code;constructor(t,n){super(xt(t,n)),this.code=t}};function nC(e){return`NG0${Math.abs(e)}`}function xt(e,t){return`${nC(e)}${t?": "+t:""}`}var fe=globalThis;function W(e){for(let t in e)if(e[t]===W)return t;throw Error("")}function ig(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Yo(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(Yo).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 Vs(e,t){return e?t?`${e} ${t}`:e:t||""}var rC=W({__forward_ref__:W});function Hs(e){return e.__forward_ref__=Hs,e}function le(e){return Jc(e)?e():e}function Jc(e){return typeof e=="function"&&e.hasOwnProperty(rC)&&e.__forward_ref__===Hs}function T(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function It(e){return{providers:e.providers||[],imports:e.imports||[]}}function Qo(e){return iC(e,$s)}function oC(e){return Qo(e)!==null}function iC(e,t){return e.hasOwnProperty(t)&&e[t]||null}function sC(e){let t=e?.[$s]??null;return t||null}function Hc(e){return e&&e.hasOwnProperty(Fs)?e[Fs]:null}var $s=W({\u0275prov:W}),Fs=W({\u0275inj:W}),x=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=T({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Xc(e){return e&&!!e.\u0275providers}var el=W({\u0275cmp:W}),tl=W({\u0275dir:W}),nl=W({\u0275pipe:W}),rl=W({\u0275mod:W}),zo=W({\u0275fac:W}),Zn=W({__NG_ELEMENT_ID__:W}),tg=W({__NG_ENV_ID__:W});function ol(e){return zs(e,"@NgModule"),e[rl]||null}function Tt(e){return zs(e,"@Component"),e[el]||null}function Us(e){return zs(e,"@Directive"),e[tl]||null}function sg(e){return zs(e,"@Pipe"),e[nl]||null}function zs(e,t){if(e==null)throw new D(-919,!1)}function vn(e){return typeof e=="string"?e:e==null?"":String(e)}var ug=W({ngErrorCode:W}),uC=W({ngErrorMessage:W}),aC=W({ngTokenPath:W});function il(e,t){return ag("",-200,t)}function qs(e,t){throw new D(-201,!1)}function ag(e,t,n){let r=new D(t,e);return r[ug]=t,r[uC]=e,n&&(r[aC]=n),r}function cC(e){return e[ug]}var $c;function cg(){return $c}function Me(e){let t=$c;return $c=e,t}function sl(e,t,n){let r=Qo(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;qs(e,"")}var lC={},zn=lC,dC="__NG_DI_FLAG__",Uc=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=qn(n)||0;try{return this.injector.get(t,r&8?null:zn,r)}catch(o){if(jr(o))return o;throw o}}};function fC(e,t=0){let n=ks();if(n===void 0)throw new D(-203,!1);if(n===null)return sl(e,void 0,t);{let r=pC(t),o=n.retrieve(e,r);if(jr(o)){if(r.optional)return null;throw o}return o}}function A(e,t=0){return(cg()||fC)(le(e),t)}function b(e,t){return A(e,qn(t))}function qn(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function pC(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function zc(e){let t=[];for(let n=0;n<e.length;n++){let r=le(e[n]);if(Array.isArray(r)){if(r.length===0)throw new D(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let u=r[s],a=hC(u);typeof a=="number"?a===-1?o=u.token:i|=a:o=u}t.push(A(o,i))}else t.push(A(r))}return t}function hC(e){return e[dC]}function mn(e,t){let n=e.hasOwnProperty(zo);return n?e[zo]:null}function lg(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 dg(e){return e.flat(Number.POSITIVE_INFINITY)}function Gs(e,t){e.forEach(n=>Array.isArray(n)?Gs(n,t):t(n))}function ul(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Ko(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function fg(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function pg(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 Jo(e,t,n){let r=Vr(e,t);return r>=0?e[r|1]=n:(r=~r,pg(e,r,t,n)),r}function Ws(e,t){let n=Vr(e,t);if(n>=0)return e[n|1]}function Vr(e,t){return gC(e,t,1)}function gC(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 nt={},Ee=[],Hr=new x(""),al=new x("",-1),cl=new x(""),qo=class{get(t,n=zn){if(n===zn){let o=ag("",-201);throw o.name="\u0275NotFound",o}return n}};function Yn(e){return{\u0275providers:e}}function hg(...e){return{\u0275providers:ll(!0,e),\u0275fromNgModule:!0}}function ll(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Gs(t,s=>{let u=s;Os(u,i,[],r)&&(o||=[],o.push(u))}),o!==void 0&&gg(o,i),n}function gg(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];dl(o,i=>{t(i,r)})}}function Os(e,t,n,r){if(e=le(e),!e)return!1;let o=null,i=Hc(e),s=!i&&Tt(e);if(!i&&!s){let a=e.ngModule;if(i=Hc(a),i)o=a;else return!1}else{if(s&&!s.standalone)return!1;o=e}let u=r.has(o);if(s){if(u)return!1;if(r.add(o),s.dependencies){let a=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of a)Os(c,t,n,r)}}else if(i){if(i.imports!=null&&!u){r.add(o);let c;Gs(i.imports,l=>{Os(l,t,n,r)&&(c||=[],c.push(l))}),c!==void 0&&gg(c,t)}if(!u){let c=mn(o)||(()=>new o);t({provide:o,useFactory:c,deps:Ee},o),t({provide:cl,useValue:o,multi:!0},o),t({provide:Hr,useValue:()=>A(o),multi:!0},o)}let a=i.providers;if(a!=null&&!u){let c=e;dl(a,l=>{t(l,c)})}}else return!1;return o!==e&&e.providers!==void 0}function dl(e,t){for(let n of e)Xc(n)&&(n=n.\u0275providers),Array.isArray(n)?dl(n,t):t(n)}var mC=W({provide:String,useValue:W});function mg(e){return e!==null&&typeof e=="object"&&mC in e}function yC(e){return!!(e&&e.useExisting)}function bC(e){return!!(e&&e.useFactory)}function Gn(e){return typeof e=="function"}function yg(e){return!!e.useClass}var Xo=new x(""),Rs={},ng={},Vc;function $r(){return Vc===void 0&&(Vc=new qo),Vc}var Ae=class{},Wn=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,Gc(t,s=>this.processProvider(s)),this.records.set(al,Br(void 0,this)),o.has("environment")&&this.records.set(Ae,Br(void 0,this));let i=this.records.get(Xo);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(cl,Ee,{self:!0}))}retrieve(t,n){let r=qn(n)||0;try{return this.get(t,zn,r)}catch(o){if(jr(o))return o;throw o}}destroy(){Uo(this),this._destroyed=!0;let t=I(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(),I(t)}}onDestroy(t){return Uo(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Uo(this);let n=_t(this),r=Me(void 0),o;try{return t()}finally{_t(n),Me(r)}}get(t,n=zn,r){if(Uo(this),t.hasOwnProperty(tg))return t[tg](this);let o=qn(r),i,s=_t(this),u=Me(void 0);try{if(!(o&4)){let c=this.records.get(t);if(c===void 0){let l=_C(t)&&Qo(t);l&&this.injectableDefInScope(l)?c=Br(qc(t),Rs):c=null,this.records.set(t,c)}if(c!=null)return this.hydrate(t,c,o)}let a=o&2?$r():this.parent;return n=o&8&&n===zn?null:n,a.get(t,n)}catch(a){let c=cC(a);throw c===-200||c===-201?new D(c,null):a}finally{Me(u),_t(s)}}resolveInjectorInitializers(){let t=I(null),n=_t(this),r=Me(void 0),o;try{let i=this.get(Hr,Ee,{self:!0});for(let s of i)s()}finally{_t(n),Me(r),I(t)}}toString(){return"R3Injector[...]"}processProvider(t){t=le(t);let n=Gn(t)?t:le(t&&t.provide),r=DC(t);if(!Gn(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Br(void 0,Rs,!0),o.factory=()=>zc(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=I(null);try{if(n.value===ng)throw il("");return n.value===Rs&&(n.value=ng,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&CC(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{I(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=le(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 qc(e){let t=Qo(e),n=t!==null?t.factory:mn(e);if(n!==null)return n;if(e instanceof x)throw new D(-204,!1);if(e instanceof Function)return vC(e);throw new D(-204,!1)}function vC(e){if(e.length>0)throw new D(-204,!1);let n=sC(e);return n!==null?()=>n.factory(e):()=>new e}function DC(e){if(mg(e))return Br(void 0,e.useValue);{let t=fl(e);return Br(t,Rs)}}function fl(e,t,n){let r;if(Gn(e)){let o=le(e);return mn(o)||qc(o)}else if(mg(e))r=()=>le(e.useValue);else if(bC(e))r=()=>e.useFactory(...zc(e.deps||[]));else if(yC(e))r=(o,i)=>A(le(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=le(e&&(e.useClass||e.provide));if(EC(e))r=()=>new o(...zc(e.deps));else return mn(o)||qc(o)}return r}function Uo(e){if(e.destroyed)throw new D(-205,!1)}function Br(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function EC(e){return!!e.deps}function CC(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function _C(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function Gc(e,t){for(let n of e)Array.isArray(n)?Gc(n,t):n&&Xc(n)?Gc(n.\u0275providers,t):t(n)}function Ur(e,t){let n;e instanceof Wn?(Uo(e),n=e):n=new Uc(e);let r,o=_t(n),i=Me(void 0);try{return t()}finally{_t(o),Me(i)}}function Zs(){return cg()!==void 0||ks()!=null}function wC(e){if(!Zs())throw new D(-203,!1)}var rt=0,S=1,L=2,de=3,Ze=4,Ne=5,Qn=6,zr=7,re=8,Ut=9,ot=10,Z=11,qr=12,pl=13,Kn=14,_e=15,Dn=16,Jn=17,St=18,zt=19,hl=20,$t=21,Ys=22,yn=23,Be=24,Xn=25,En=26,K=27,bg=1,gl=6,Cn=7,ei=8,er=9,oe=10;function qt(e){return Array.isArray(e)&&typeof e[bg]=="object"}function it(e){return Array.isArray(e)&&e[bg]===!0}function ml(e){return(e.flags&4)!==0}function Mt(e){return e.componentOffset>-1}function Gr(e){return(e.flags&1)===1}function st(e){return!!e.template}function Wr(e){return(e[L]&512)!==0}function tr(e){return(e[L]&256)===256}var yl="svg",vg="math";function Ye(e){for(;Array.isArray(e);)e=e[rt];return e}function bl(e,t){return Ye(t[e])}function Qe(e,t){return Ye(t[e.index])}function Qs(e,t){return e.data[t]}function ti(e,t){return e[t]}function ni(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function Ve(e,t){let n=t[e];return qt(n)?n:n[rt]}function Dg(e){return(e[L]&4)===4}function Ks(e){return(e[L]&128)===128}function Eg(e){return it(e[de])}function He(e,t){return t==null?null:e[t]}function vl(e){e[Jn]=0}function Dl(e){e[L]&1024||(e[L]|=1024,Ks(e)&&nr(e))}function Cg(e,t){for(;e>0;)t=t[Kn],e--;return t}function ri(e){return!!(e[L]&9216||e[Be]?.dirty)}function Js(e){e[ot].changeDetectionScheduler?.notify(8),e[L]&64&&(e[L]|=1024),ri(e)&&nr(e)}function nr(e){e[ot].changeDetectionScheduler?.notify(0);let t=bn(e);for(;t!==null&&!(t[L]&8192||(t[L]|=8192,!Ks(t)));)t=bn(t)}function El(e,t){if(tr(e))throw new D(911,!1);e[$t]===null&&(e[$t]=[]),e[$t].push(t)}function _g(e,t){if(e[$t]===null)return;let n=e[$t].indexOf(t);n!==-1&&e[$t].splice(n,1)}function bn(e){let t=e[de];return it(t)?t[de]:t}function Cl(e){return e[zr]??=[]}function _l(e){return e.cleanup??=[]}function wg(e,t,n,r){let o=Cl(t);o.push(n),e.firstCreatePass&&_l(e).push(r,o.length-1)}var V={lFrame:Lg(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Wc=!1;function xg(){return V.lFrame.elementDepthCount}function Ig(){V.lFrame.elementDepthCount++}function wl(){V.lFrame.elementDepthCount--}function Xs(){return V.bindingsEnabled}function xl(){return V.skipHydrationRootTNode!==null}function Il(e){return V.skipHydrationRootTNode===e}function Tl(){V.skipHydrationRootTNode=null}function w(){return V.lFrame.lView}function G(){return V.lFrame.tView}function Tg(e){return V.lFrame.contextLView=e,e[re]}function Sg(e){return V.lFrame.contextLView=null,e}function ue(){let e=Sl();for(;e!==null&&e.type===64;)e=e.parent;return e}function Sl(){return V.lFrame.currentTNode}function Mg(){let e=V.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function rr(e,t){let n=V.lFrame;n.currentTNode=e,n.isParent=t}function Ml(){return V.lFrame.isParent}function Al(){V.lFrame.isParent=!1}function Nl(){return V.lFrame.contextLView}function kl(){return Wc}function Go(e){let t=Wc;return Wc=e,t}function Zr(){let e=V.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Ag(){return V.lFrame.bindingIndex}function Ng(e){return V.lFrame.bindingIndex=e}function ut(){return V.lFrame.bindingIndex++}function eu(e){let t=V.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function kg(){return V.lFrame.inI18n}function Rg(e,t){let n=V.lFrame;n.bindingIndex=n.bindingRootIndex=e,tu(t)}function Fg(){return V.lFrame.currentDirectiveIndex}function tu(e){V.lFrame.currentDirectiveIndex=e}function Og(e){let t=V.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function nu(){return V.lFrame.currentQueryIndex}function oi(e){V.lFrame.currentQueryIndex=e}function xC(e){let t=e[S];return t.type===2?t.declTNode:t.type===1?e[Ne]:null}function Rl(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=xC(i),o===null||(i=i[Kn],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=V.lFrame=Pg();return r.currentTNode=t,r.lView=e,!0}function ru(e){let t=Pg(),n=e[S];V.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Pg(){let e=V.lFrame,t=e===null?null:e.child;return t===null?Lg(e):t}function Lg(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 jg(){let e=V.lFrame;return V.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Fl=jg;function ou(){let e=jg();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 Bg(e){return(V.lFrame.contextLView=Cg(e,V.lFrame.contextLView))[re]}function at(){return V.lFrame.selectedIndex}function _n(e){V.lFrame.selectedIndex=e}function wn(){let e=V.lFrame;return Qs(e.tView,e.selectedIndex)}function Vg(){V.lFrame.currentNamespace=yl}function Hg(){IC()}function IC(){V.lFrame.currentNamespace=null}function $g(){return V.lFrame.currentNamespace}var Ug=!0;function iu(){return Ug}function ii(e){Ug=e}function Zc(e,t=null,n=null,r){let o=Ol(e,t,n,r);return o.resolveInjectorInitializers(),o}function Ol(e,t=null,n=null,r,o=new Set){let i=[n||Ee,hg(e)],s;return new Wn(i,t||$r(),s||null,o)}var me=class e{static THROW_IF_NOT_FOUND=zn;static NULL=new qo;static create(t,n){if(Array.isArray(t))return Zc({name:""},n,t,"");{let r=t.name??"";return Zc({name:r},t.parent,t.providers,r)}}static \u0275prov=T({token:e,providedIn:"any",factory:()=>A(al)});static __NG_ELEMENT_ID__=-1},X=new x(""),$e=(()=>{class e{static __NG_ELEMENT_ID__=TC;static __NG_ENV_ID__=n=>n}return e})(),Ps=class extends $e{_lView;constructor(t){super(),this._lView=t}get destroyed(){return tr(this._lView)}onDestroy(t){let n=this._lView;return El(n,t),()=>_g(n,t)}};function TC(){return new Ps(w())}var zg=!1,qg=new x(""),or=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new Po(!1);debugTaskTracker=b(qg,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new B(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=T({token:e,providedIn:"root",factory:()=>new e})}return e})(),Yc=class extends he{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Zs()&&(this.destroyRef=b($e,{optional:!0})??void 0,this.pendingTasks=b(or,{optional:!0})??void 0)}emit(t){let n=I(null);try{super.next(t)}finally{I(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let a=t;o=a.next?.bind(a),i=a.error?.bind(a),s=a.complete?.bind(a)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let u=super.subscribe({next:o,error:i,complete:s});return t instanceof ne&&t.add(u),u}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},Ht=Yc;function Ls(...e){}function Pl(e){let t,n;function r(){e=Ls;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 Gg(e){return queueMicrotask(()=>e()),()=>{e=Ls}}var Ll="isAngularZone",Wo=Ll+"_ID",SC=0,Ce=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Ht(!1);onMicrotaskEmpty=new Ht(!1);onStable=new Ht(!1);onError=new Ht(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=zg}=t;if(typeof Zone>"u")throw new D(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,NC(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Ll)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new D(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new D(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,MC,Ls,Ls);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)}},MC={};function jl(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 AC(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Pl(()=>{e.callbackScheduled=!1,Qc(e),e.isCheckStableRunning=!0,jl(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Qc(e)}function NC(e){let t=()=>{AC(e)},n=SC++;e._inner=e._inner.fork({name:"angular",properties:{[Ll]:!0,[Wo]:n,[Wo+n]:!0},onInvokeTask:(r,o,i,s,u,a)=>{if(kC(a))return r.invokeTask(i,s,u,a);try{return rg(e),r.invokeTask(i,s,u,a)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),og(e)}},onInvoke:(r,o,i,s,u,a,c)=>{try{return rg(e),r.invoke(i,s,u,a,c)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!RC(a)&&t(),og(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Qc(e),jl(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 Qc(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function rg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function og(e){e._nesting--,jl(e)}var Zo=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Ht;onMicrotaskEmpty=new Ht;onStable=new Ht;onError=new Ht;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 kC(e){return Wg(e,"__ignore_ng_zone__")}function RC(e){return Wg(e,"__scheduler_tick__")}function Wg(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var We=class{_console=console;handleError(t){this._console.error("ERROR",t)}},Gt=new x("",{factory:()=>{let e=b(Ce),t=b(Ae),n;return r=>{e.runOutsideAngular(()=>{t.destroyed&&!n?setTimeout(()=>{throw r}):(n??=t.get(We),n.handleError(r))})}}}),Zg={provide:Hr,useValue:()=>{let e=b(We,{optional:!0})},multi:!0};function xn(e,t){let[n,r,o]=gc(e,t?.equal),i=n,s=i[se];return i.set=r,i.update=o,i.asReadonly=si.bind(i),i}function si(){let e=this[se];if(e.readonlyFn===void 0){let t=()=>this();t[se]=e,e.readonlyFn=t}return e.readonlyFn}var Yr=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=FC}return e})();function FC(){return new Yr(w(),ue())}var wt=class{},ui=new x("",{factory:()=>!0});var Bl=new x(""),ir=(()=>{class e{internalPendingTasks=b(or);scheduler=b(wt);errorHandler=b(Gt);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=T({token:e,providedIn:"root",factory:()=>new e})}return e})(),su=(()=>{class e{static \u0275prov=T({token:e,providedIn:"root",factory:()=>new Kc})}return e})(),Kc=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}},js=class{[se];constructor(t){this[se]=t}destroy(){this[se].destroy()}};function ai(e,t){let n=t?.injector??b(me),r=t?.manualCleanup!==!0?n.get($e):null,o,i=n.get(Yr,null,{optional:!0}),s=n.get(wt);return i!==null?(o=LC(i.view,s,e),r instanceof Ps&&r._lView===i.view&&(r=null)):o=jC(e,n.get(su),s),o.injector=n,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new js(o)}var Yg=P(M({},mc),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let e=Go(!1);try{yc(this)}finally{Go(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=I(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],I(e)}}}),OC=P(M({},Yg),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(dn(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this)}}),PC=P(M({},Yg),{consumerMarkedDirty(){this.view[L]|=8192,nr(this.view),this.notifier.notify(13)},destroy(){if(dn(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.view[yn]?.delete(this)}});function LC(e,t,n){let r=Object.create(PC);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=Qg(r,n),e[yn]??=new Set,e[yn].add(r),r.consumerMarkedDirty(r),r}function jC(e,t,n){let r=Object.create(OC);return r.fn=Qg(r,e),r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}function Qg(e,t){return()=>{t(n=>(e.cleanupFns??=[]).push(n))}}function Di(e){return{toString:e}.toString()}function qC(e){return typeof e=="function"}function Om(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var gu=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}},Fu=(()=>{let e=()=>Pm;return e.ngInherit=!0,e})();function Pm(e){return e.type.prototype.ngOnChanges&&(e.setInput=WC),GC}function GC(){let e=jm(this),t=e?.current;if(t){let n=e.previous;if(n===nt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function WC(e,t,n,r,o){let i=this.declaredInputs[r],s=jm(e)||ZC(e,{previous:nt,current:null}),u=s.current||(s.current={}),a=s.previous,c=a[i];u[i]=new gu(c&&c.currentValue,n,a===nt),Om(e,t,o,n)}var Lm="__ngSimpleChanges__";function jm(e){return e[Lm]||null}function ZC(e,t){return e[Lm]=t}var Kg=[];var Y=function(e,t=null,n){for(let r=0;r<Kg.length;r++){let o=Kg[r];o(e,t,n)}},q=(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})(q||{});function YC(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=Pm(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 Bm(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:u,ngAfterViewInit:a,ngAfterViewChecked:c,ngOnDestroy:l}=i;s&&(e.contentHooks??=[]).push(-n,s),u&&((e.contentHooks??=[]).push(n,u),(e.contentCheckHooks??=[]).push(n,u)),a&&(e.viewHooks??=[]).push(-n,a),c&&((e.viewHooks??=[]).push(n,c),(e.viewCheckHooks??=[]).push(n,c)),l!=null&&(e.destroyHooks??=[]).push(n,l)}}function du(e,t,n){Vm(e,t,3,n)}function fu(e,t,n,r){(e[L]&3)===n&&Vm(e,t,n,r)}function Vl(e,t){let n=e[L];(n&3)===t&&(n&=16383,n+=1,e[L]=n)}function Vm(e,t,n,r){let o=r!==void 0?e[Jn]&65535:0,i=r??-1,s=t.length-1,u=0;for(let a=o;a<s;a++)if(typeof t[a+1]=="number"){if(u=t[a],r!=null&&u>=r)break}else t[a]<0&&(e[Jn]+=65536),(u<i||i==-1)&&(QC(e,n,t,a),e[Jn]=(e[Jn]&4294901760)+a+2),a++}function Jg(e,t){Y(q.LifecycleHookStart,e,t);let n=I(null);try{t.call(e)}finally{I(n),Y(q.LifecycleHookEnd,e,t)}}function QC(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],u=e[s];o?e[L]>>14<e[Jn]>>16&&(e[L]&3)===t&&(e[L]+=16384,Jg(u,i)):Jg(u,i)}var Kr=-1,ar=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 KC(e){return(e.flags&8)!==0}function JC(e){return(e.flags&16)!==0}function XC(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++],u=n[r++];e.setAttribute(t,s,u,i)}else{let i=o,s=n[++r];e_(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function Hm(e){return e===3||e===4||e===6}function e_(e){return e.charCodeAt(0)===64}function Jr(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?Xg(e,n,o,null,t[++r]):Xg(e,n,o,null,null))}}return e}function Xg(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let u=e[i++];if(typeof u=="number"){if(u===t){s=-1;break}else if(u>t){s=i-1;break}}}for(;i<e.length;){let u=e[i];if(typeof u=="number")break;if(u===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 $m(e){return e!==Kr}function mu(e){return e&32767}function t_(e){return e>>16}function yu(e,t){let n=t_(e),r=t;for(;n>0;)r=r[Kn],n--;return r}var Kl=!0;function bu(e){let t=Kl;return Kl=e,t}var n_=256,Um=n_-1,zm=5,r_=0,At={};function o_(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Zn)&&(r=n[Zn]),r==null&&(r=n[Zn]=r_++);let o=r&Um,i=1<<o;t.data[e+(o>>zm)]|=i}function vu(e,t){let n=qm(e,t);if(n!==-1)return n;let r=t[S];r.firstCreatePass&&(e.injectorIndex=t.length,Hl(r.data,e),Hl(t,null),Hl(r.blueprint,null));let o=Fd(e,t),i=e.injectorIndex;if($m(o)){let s=mu(o),u=yu(o,t),a=u[S].data;for(let c=0;c<8;c++)t[i+c]=u[s+c]|a[s+c]}return t[i+8]=o,i}function Hl(e,t){e.push(0,0,0,0,0,0,0,0,t)}function qm(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Fd(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=Qm(o),r===null)return Kr;if(n++,o=o[Kn],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Kr}function Jl(e,t,n){o_(e,t,n)}function i_(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(Hm(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 Gm(e,t,n){if(n&8||e!==void 0)return e;qs(t,"NodeInjector")}function Wm(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[Ut],i=Me(void 0);try{return o?o.get(t,r,n&8):sl(t,r,n&8)}finally{Me(i)}}return Gm(r,t,n)}function Zm(e,t,n,r=0,o){if(e!==null){if(t[L]&2048&&!(r&2)){let s=c_(e,t,n,r,At);if(s!==At)return s}let i=Ym(e,t,n,r,At);if(i!==At)return i}return Wm(t,n,r,o)}function Ym(e,t,n,r,o){let i=u_(n);if(typeof i=="function"){if(!Rl(t,e,r))return r&1?Gm(o,n,r):Wm(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))qs(n);else return s}finally{Fl()}}else if(typeof i=="number"){let s=null,u=qm(e,t),a=Kr,c=r&1?t[_e][Ne]:null;for((u===-1||r&4)&&(a=u===-1?Fd(e,t):t[u+8],a===Kr||!tm(r,!1)?u=-1:(s=t[S],u=mu(a),t=yu(a,t)));u!==-1;){let l=t[S];if(em(i,u,l.data)){let d=s_(u,t,n,s,r,c);if(d!==At)return d}a=t[u+8],a!==Kr&&tm(r,t[S].data[u+8]===c)&&em(i,u,t)?(s=l,u=mu(a),t=yu(a,t)):u=-1}}return o}function s_(e,t,n,r,o,i){let s=t[S],u=s.data[e+8],a=r==null?Mt(u)&&Kl:r!=s&&(u.type&3)!==0,c=o&1&&i===u,l=pu(u,s,n,a,c);return l!==null?fi(t,s,l,u,o):At}function pu(e,t,n,r,o){let i=e.providerIndexes,s=t.data,u=i&1048575,a=e.directiveStart,c=e.directiveEnd,l=i>>20,d=r?u:u+l,h=o?u+l:c;for(let f=d;f<h;f++){let p=s[f];if(f<a&&n===p||f>=a&&p.type===n)return f}if(o){let f=s[a];if(f&&st(f)&&f.type===n)return a}return null}function fi(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof ar){let u=i;if(u.resolving)throw il("");let a=bu(u.canSeeViewProviders);u.resolving=!0;let c=s[n].type||s[n],l,d=u.injectImpl?Me(u.injectImpl):null,h=Rl(e,r,0);try{i=e[n]=u.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&YC(n,s[n],t)}finally{d!==null&&Me(d),bu(a),u.resolving=!1,Fl()}}return i}function u_(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Zn)?e[Zn]:void 0;return typeof t=="number"?t>=0?t&Um:a_:t}function em(e,t,n){let r=1<<e;return!!(n[t+(e>>zm)]&r)}function tm(e,t){return!(e&2)&&!(e&1&&t)}var sr=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Zm(this._tNode,this._lView,t,qn(r),n)}};function a_(){return new sr(ue(),w())}function pr(e){return Di(()=>{let t=e.prototype.constructor,n=t[zo]||Xl(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[zo]||Xl(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Xl(e){return Jc(e)?()=>{let t=Xl(le(e));return t&&t()}:mn(e)}function c_(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[L]&2048&&!Wr(s);){let u=Ym(i,s,n,r|2,At);if(u!==At)return u;let a=i.parent;if(!a){let c=s[hl];if(c){let l=c.get(n,At,r&-5);if(l!==At)return l}a=Qm(s),s=s[Kn]}i=a}return o}function Qm(e){let t=e[S],n=t.type;return n===2?t.declTNode:n===1?e[Ne]:null}function Od(e){return i_(ue(),e)}function l_(){return oo(ue(),w())}function oo(e,t){return new Zt(Qe(e,t))}var Zt=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=l_}return e})();function Km(e){return e instanceof Zt?e.nativeElement:e}function d_(){return this._results[Symbol.iterator]()}var Du=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 he}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=dg(t);(this._changesDetected=!lg(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]=d_};function Jm(e){return(e.flags&128)===128}var Pd=(function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e})(Pd||{}),Xm=new Map,f_=0;function p_(){return f_++}function h_(e){Xm.set(e[zt],e)}function ed(e){Xm.delete(e[zt])}var nm="__ngContext__";function Xr(e,t){qt(t)?(e[nm]=t[zt],h_(t)):e[nm]=t}function ey(e){return ny(e[qr])}function ty(e){return ny(e[Ze])}function ny(e){for(;e!==null&&!it(e);)e=e[Ze];return e}var td;function Ld(e){td=e}function ry(){if(td!==void 0)return td;if(typeof document<"u")return document;throw new D(210,!1)}var Ou=new x("",{factory:()=>g_}),g_="ng";var Pu=new x(""),hr=new x("",{providedIn:"platform",factory:()=>"unknown"}),m_=new x(""),Lu=new x("",{factory:()=>b(X).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var oy="r";var iy="di";var sy=!1,uy=new x("",{factory:()=>sy});var ay=new x("");var y_=(e,t,n,r)=>{};function b_(e,t,n,r){y_(e,t,n,r)}function ju(e){return(e.flags&32)===32}var v_=()=>null;function cy(e,t,n=!1){return v_(e,t,n)}function ly(e,t){let n=e.contentQueries;if(n!==null){let r=I(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let u=e.data[s];oi(i),u.contentQueries(2,t[s],s)}}}finally{I(r)}}}function nd(e,t,n){oi(0);let r=I(null);try{t(e,n)}finally{I(r)}}function jd(e,t,n){if(ml(t)){let r=I(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let u=e.data[s];if(u.contentQueries){let a=n[s];u.contentQueries(1,a,s)}}}finally{I(r)}}}var lt=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e})(lt||{});var uu;function D_(){if(uu===void 0&&(uu=null,fe.trustedTypes))try{uu=fe.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return uu}function Bu(e){return D_()?.createHTML(e)||e}var au;function E_(){if(au===void 0&&(au=null,fe.trustedTypes))try{au=fe.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return au}function rm(e){return E_()?.createHTML(e)||e}var Wt=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Bs})`}},rd=class extends Wt{getTypeName(){return"HTML"}},od=class extends Wt{getTypeName(){return"Style"}},id=class extends Wt{getTypeName(){return"Script"}},sd=class extends Wt{getTypeName(){return"URL"}},ud=class extends Wt{getTypeName(){return"ResourceURL"}};function Ue(e){return e instanceof Wt?e.changingThisBreaksApplicationSecurity:e}function Yt(e,t){let n=dy(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Bs})`)}return n===t}function dy(e){return e instanceof Wt&&e.getTypeName()||null}function Bd(e){return new rd(e)}function Vd(e){return new od(e)}function Hd(e){return new id(e)}function $d(e){return new sd(e)}function Ud(e){return new ud(e)}function C_(e){let t=new cd(e);return __()?new ad(t):t}var ad=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(Bu(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch(n){return null}}},cd=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=Bu(t),n}};function __(){try{return!!new window.DOMParser().parseFromString(Bu(""),"text/html")}catch(e){return!1}}var w_=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Ei(e){return e=String(e),e.match(w_)?e:"unsafe:"+e}function Qt(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Ci(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var fy=Qt("area,br,col,hr,img,wbr"),py=Qt("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),hy=Qt("rp,rt"),x_=Ci(hy,py),I_=Ci(py,Qt("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")),T_=Ci(hy,Qt("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")),om=Ci(fy,I_,T_,x_),gy=Qt("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),S_=Qt("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"),M_=Qt("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"),A_=Ci(gy,S_,M_),N_=Qt("script,style,template");var ld=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=F_(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=R_(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=im(t).toLowerCase();if(!om.hasOwnProperty(n))return this.sanitizedSomething=!0,!N_.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,u=s.toLowerCase();if(!A_.hasOwnProperty(u)){this.sanitizedSomething=!0;continue}let a=i.value;gy[u]&&(a=Ei(a)),this.buf.push(" ",s,'="',sm(a),'"')}return this.buf.push(">"),!0}endElement(t){let n=im(t).toLowerCase();om.hasOwnProperty(n)&&!fy.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(sm(t))}};function k_(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function R_(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw my(t);return t}function F_(e){let t=e.firstChild;if(t&&k_(e,t))throw my(t);return t}function im(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function my(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var O_=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,P_=/([^\#-~ |!])/g;function sm(e){return e.replace(/&/g,"&").replace(O_,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(P_,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var cu;function Vu(e,t){let n=null;try{cu=cu||C_(e);let r=t?String(t):"";n=cu.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=cu.getInertBodyElement(r)}while(r!==i);let u=new ld().sanitizeChildren(um(n)||n);return Bu(u)}finally{if(n){let r=um(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function um(e){return"content"in e&&L_(e)?e.content:null}function L_(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var j_=/^>|^->|<!--|-->|--!>|<!-$/g,B_=/(<|>)/g,V_="\u200B$1\u200B";function H_(e){return e.replace(j_,t=>t.replace(B_,V_))}function $_(e,t){return e.createText(t)}function U_(e,t,n){e.setValue(t,n)}function z_(e,t){return e.createComment(H_(t))}function yy(e,t,n){return e.createElement(t,n)}function Eu(e,t,n,r,o){e.insertBefore(t,n,r,o)}function by(e,t,n){e.appendChild(t,n)}function am(e,t,n,r,o){r!==null?Eu(e,t,n,r,o):by(e,t,n)}function vy(e,t,n,r){e.removeChild(null,t,n,r)}function q_(e,t,n){e.setAttribute(t,"style",n)}function G_(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Dy(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&XC(e,t,r),o!==null&&G_(e,t,o),i!==null&&q_(e,t,i)}var ze=(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})(ze||{});function zd(e){let t=Ey();return t?rm(t.sanitize(ze.HTML,e)||""):Yt(e,"HTML")?rm(Ue(e)):Vu(ry(),vn(e))}function W_(e){let t=Ey();return t?t.sanitize(ze.URL,e)||"":Yt(e,"URL")?Ue(e):Ei(vn(e))}function Ey(){let e=w();return e&&e[ot].sanitizer}function Z_(e){return e.ownerDocument.defaultView}function Y_(e){return e.ownerDocument}function Cy(e){return e instanceof Function?e():e}function Q_(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 _y="ng-template";function K_(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&Q_(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(qd(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 qd(e){return e.type===4&&e.value!==_y}function J_(e,t,n){let r=e.type===4&&!n?_y:e.value;return t===r}function X_(e,t,n){let r=4,o=e.attrs,i=o!==null?nw(o):0,s=!1;for(let u=0;u<t.length;u++){let a=t[u];if(typeof a=="number"){if(!s&&!ct(r)&&!ct(a))return!1;if(s&&ct(a))continue;s=!1,r=a|r&1;continue}if(!s)if(r&4){if(r=2|r&1,a!==""&&!J_(e,a,n)||a===""&&t.length===1){if(ct(r))return!1;s=!0}}else if(r&8){if(o===null||!K_(e,o,a,n)){if(ct(r))return!1;s=!0}}else{let c=t[++u],l=ew(a,o,qd(e),n);if(l===-1){if(ct(r))return!1;s=!0;continue}if(c!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),r&2&&c!==d){if(ct(r))return!1;s=!0}}}}return ct(r)||s}function ct(e){return(e&1)===0}function ew(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 u=t[++o];for(;typeof u=="string";)u=t[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return rw(t,e)}function wy(e,t,n=!1){for(let r=0;r<t.length;r++)if(X_(e,t[r],n))return!0;return!1}function tw(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function nw(e){for(let t=0;t<e.length;t++){let n=e[t];if(Hm(n))return t}return e.length}function rw(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 ow(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 cm(e,t){return e?":not("+t.trim()+")":t}function iw(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 u=e[++n];o+="["+s+(u.length>0?'="'+u+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!ct(s)&&(t+=cm(i,o),o=""),r=s,i=i||!ct(r);n++}return o!==""&&(t+=cm(i,o)),t}function sw(e){return e.map(iw).join(",")}function uw(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(!ct(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var we={};function Gd(e,t,n,r,o,i,s,u,a,c,l){let d=K+r,h=d+o,f=aw(d,h),p=typeof c=="function"?c():c;return f[S]={type:e,blueprint:f,template:n,queries:null,viewQuery:u,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:h,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:a,consts:p,incompleteFirstPass:!1,ssrId:l}}function aw(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:we);return n}function cw(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Gd(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Wd(e,t,n,r,o,i,s,u,a,c,l){let d=t.blueprint.slice();return d[rt]=o,d[L]=r|4|128|8|64|1024,(c!==null||e&&e[L]&2048)&&(d[L]|=2048),vl(d),d[de]=d[Kn]=e,d[re]=n,d[ot]=s||e&&e[ot],d[Z]=u||e&&e[Z],d[Ut]=a||e&&e[Ut]||null,d[Ne]=i,d[zt]=p_(),d[Qn]=l,d[hl]=c,d[_e]=t.type==2?e[_e]:d,d}function lw(e,t,n){let r=Qe(t,e),o=cw(n),i=e[ot].rendererFactory,s=Zd(e,Wd(e,o,null,xy(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function xy(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Iy(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 Zd(e,t){return e[qr]?e[pl][Ze]=t:e[qr]=t,e[pl]=t,t}function io(e=1){Ty(G(),w(),at()+e,!1)}function Ty(e,t,n,r){if(!r)if((t[L]&3)===3){let i=e.preOrderCheckHooks;i!==null&&du(t,i,n)}else{let i=e.preOrderHooks;i!==null&&fu(t,i,0,n)}_n(n)}var Hu=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(Hu||{});function In(e,t,n,r){let o=I(null);try{let[i,s,u]=e.inputs[n],a=null;(s&Hu.SignalBased)!==0&&(a=t[i][se]),a!==null&&a.transformFn!==void 0?r=a.transformFn(r):u!==null&&(r=u.call(t,r)),e.setInput!==null?e.setInput(t,a,r,n,i):Om(t,a,i,r)}finally{I(o)}}var dt=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(dt||{}),dw;function Yd(e,t){return dw(e,t)}var u4=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var dd=new WeakMap,fd=new WeakSet;function fw(e,t){let n=dd.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],u=s.parentNode;s===t?(n.splice(i,1),fd.add(s),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))):(o&&s===o||u&&r&&u!==r)&&(n.splice(i,1),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),s.parentNode?.removeChild(s))}}function pw(e,t){let n=dd.get(e);n?n.includes(t)||n.push(t):dd.set(e,[t])}var cr=new Set,$u=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})($u||{}),ft=new x(""),lm=new Set;function Nt(e){lm.has(e)||(lm.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Uu=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=T({token:e,providedIn:"root",factory:()=>new e})}return e})(),Qd=[0,1,2,3],Kd=(()=>{class e{ngZone=b(Ce);scheduler=b(wt);errorHandler=b(We,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){b(ft,{optional:!0})}execute(){let n=this.sequences.size>0;n&&Y(q.AfterRenderHooksStart),this.executing=!0;for(let r of Qd)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&&Y(q.AfterRenderHooksEnd)}register(n){let{view:r}=n;r!==void 0?((r[Xn]??=[]).push(n),nr(r),r[L]|=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($u.AFTER_NEXT_RENDER,n):n()}static \u0275prov=T({token:e,providedIn:"root",factory:()=>new e})}return e})(),pi=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?.[Xn];t&&(this.view[Xn]=t.filter(n=>n!==this))}};function hw(e,t){let n=t?.injector??b(me);return Nt("NgAfterNextRender"),mw(e,n,t,!0)}function gw(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function mw(e,t,n,r){let o=t.get(Uu);o.impl??=t.get(Kd);let i=t.get(ft,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get($e):null,u=t.get(Yr,null,{optional:!0}),a=new pi(o.impl,gw(e),u?.view,r,s,i?.snapshot(null));return o.impl.register(a),a}var Sy=new x("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:b(Ae)})});function My(e,t,n){let r=e.get(Sy);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 yw(e,t){let n=e.get(Sy);if(t.detachedLeaveAnimationFns){for(let r of t.detachedLeaveAnimationFns)n.queue.delete(r);t.detachedLeaveAnimationFns=void 0}}function bw(e,t){for(let[n,r]of t)My(e,r.animateFns)}function dm(e,t,n,r){let o=e?.[En]?.enter;t!==null&&o&&o.has(n.index)&&bw(r,o)}function Qr(e,t,n,r,o,i,s,u){if(o!=null){let a,c=!1;it(o)?a=o:qt(o)&&(c=!0,o=o[rt]);let l=Ye(o);e===0&&r!==null?(dm(u,r,i,n),s==null?by(t,r,l):Eu(t,r,l,s||null,!0)):e===1&&r!==null?(dm(u,r,i,n),Eu(t,r,l,s||null,!0),fw(i,l)):e===2?(u?.[En]?.leave?.has(i.index)&&pw(i,l),fm(u,i,n,d=>{if(fd.has(l)){fd.delete(l);return}vy(t,l,c,d)})):e===3&&fm(u,i,n,()=>{t.destroyNode(l)}),a!=null&&Mw(t,e,n,a,i,r,s)}}function vw(e,t){Ay(e,t),t[rt]=null,t[Ne]=null}function Dw(e,t,n,r,o,i){r[rt]=o,r[Ne]=t,qu(e,r,n,1,o,i)}function Ay(e,t){t[ot].changeDetectionScheduler?.notify(9),qu(e,t,t[Z],2,null,null)}function Ew(e){let t=e[qr];if(!t)return $l(e[S],e);for(;t;){let n=null;if(qt(t))n=t[qr];else{let r=t[oe];r&&(n=r)}if(!n){for(;t&&!t[Ze]&&t!==e;)qt(t)&&$l(t[S],t),t=t[de];t===null&&(t=e),qt(t)&&$l(t[S],t),n=t&&t[Ze]}t=n}}function Jd(e,t){let n=e[er],r=n.indexOf(t);n.splice(r,1)}function zu(e,t){if(tr(t))return;let n=t[Z];n.destroyNode&&qu(e,t,n,3,null,null),Ew(t)}function $l(e,t){if(tr(t))return;let n=I(null);try{t[L]&=-129,t[L]|=256,t[Be]&&dn(t[Be]),ww(e,t),_w(e,t),t[S].type===1&&t[Z].destroy();let r=t[Dn];if(r!==null&&it(t[de])){r!==t[de]&&Jd(r,t);let o=t[St];o!==null&&o.detachView(e)}ed(t)}finally{I(n)}}function fm(e,t,n,r){let o=e?.[En];if(o==null||o.leave==null||!o.leave.has(t.index))return r(!1);e&&cr.add(e[zt]),My(n,()=>{if(o.leave&&o.leave.has(t.index)){let s=o.leave.get(t.index),u=[];if(s){for(let a=0;a<s.animateFns.length;a++){let c=s.animateFns[a],{promise:l}=c();u.push(l)}o.detachedLeaveAnimationFns=void 0}o.running=Promise.allSettled(u),Cw(e,r)}else e&&cr.delete(e[zt]),r(!1)},o)}function Cw(e,t){let n=e[En]?.running;if(n){n.then(()=>{e[En].running=void 0,cr.delete(e[zt]),t(!0)});return}t(!1)}function _w(e,t){let n=e.cleanup,r=t[zr];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]=="string"){let u=n[s+3];u>=0?r[u]():r[-u].unsubscribe(),s+=2}else{let u=r[n[s+1]];n[s].call(u)}r!==null&&(t[zr]=null);let o=t[$t];if(o!==null){t[$t]=null;for(let s=0;s<o.length;s++){let u=o[s];u()}}let i=t[yn];if(i!==null){t[yn]=null;for(let s of i)s.destroy()}}function ww(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 ar)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let u=o[i[s]],a=i[s+1];Y(q.LifecycleHookStart,u,a);try{a.call(u)}finally{Y(q.LifecycleHookEnd,u,a)}}else{Y(q.LifecycleHookStart,o,i);try{i.call(o)}finally{Y(q.LifecycleHookEnd,o,i)}}}}}function Ny(e,t,n){return xw(e,t.parent,n)}function xw(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[rt];if(Mt(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===lt.None||o===lt.Emulated)return null}return Qe(r,n)}function ky(e,t,n){return Tw(e,t,n)}function Iw(e,t,n){return e.type&40?Qe(e,n):null}var Tw=Iw,pm;function Xd(e,t,n,r){let o=Ny(e,r,t),i=t[Z],s=r.parent||t[Ne],u=ky(s,r,t);if(o!=null)if(Array.isArray(n))for(let a=0;a<n.length;a++)am(i,o,n[a],u,!1);else am(i,o,n,u,!1);pm!==void 0&&pm(i,r,t,n,o)}function li(e,t){if(t!==null){let n=t.type;if(n&3)return Qe(t,e);if(n&4)return pd(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return li(e,r);{let o=e[t.index];return it(o)?pd(-1,o):Ye(o)}}else{if(n&128)return li(e,t.next);if(n&32)return Yd(t,e)()||Ye(e[t.index]);{let r=Ry(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=bn(e[_e]);return li(o,r)}else return li(e,t.next)}}}return null}function Ry(e,t){if(t!==null){let r=e[_e][Ne],o=t.projection;return r.projection[o]}return null}function pd(e,t){let n=oe+e+1;if(n<t.length){let r=t[n],o=r[S].firstChild;if(o!==null)return li(r,o)}return t[Cn]}function ef(e,t,n,r,o,i,s){for(;n!=null;){let u=r[Ut];if(n.type===128){n=n.next;continue}let a=r[n.index],c=n.type;if(s&&t===0&&(a&&Xr(Ye(a),r),n.flags|=2),!ju(n))if(c&8)ef(e,t,n.child,r,o,i,!1),Qr(t,e,u,o,a,n,i,r);else if(c&32){let l=Yd(n,r),d;for(;d=l();)Qr(t,e,u,o,d,n,i,r);Qr(t,e,u,o,a,n,i,r)}else c&16?Fy(e,t,r,n,o,i):Qr(t,e,u,o,a,n,i,r);n=s?n.projectionNext:n.next}}function qu(e,t,n,r,o,i){ef(n,r,e.firstChild,t,o,i,!1)}function Sw(e,t,n){let r=t[Z],o=Ny(e,n,t),i=n.parent||t[Ne],s=ky(i,n,t);Fy(r,0,t,n,o,s)}function Fy(e,t,n,r,o,i){let s=n[_e],a=s[Ne].projection[r.projection];if(Array.isArray(a))for(let c=0;c<a.length;c++){let l=a[c];Qr(t,e,n[Ut],o,l,r,i,n)}else{let c=a,l=s[de];Jm(r)&&(c.flags|=128),ef(e,t,c,l,o,i,!0)}}function Mw(e,t,n,r,o,i,s){let u=r[Cn],a=Ye(r);u!==a&&Qr(t,e,n,i,u,o,s);for(let c=oe;c<r.length;c++){let l=r[c];qu(l[S],l,e,t,i,u)}}function Aw(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:dt.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=dt.Important),e.setStyle(n,r,o,i))}}function Oy(e,t,n,r,o){let i=at(),s=r&2;try{_n(-1),s&&t.length>K&&Ty(e,t,K,!1);let u=s?q.TemplateUpdateStart:q.TemplateCreateStart;Y(u,o,n),n(r,o)}finally{_n(i);let u=s?q.TemplateUpdateEnd:q.TemplateCreateEnd;Y(u,o,n)}}function Gu(e,t,n){Ow(e,t,n),(n.flags&64)===64&&Pw(e,t,n)}function _i(e,t,n=Qe){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],u=s===-1?n(t,e):e[s];e[o++]=u}}}function Nw(e,t,n,r){let i=r.get(uy,sy)||n===lt.ShadowDom||n===lt.ExperimentalIsolatedShadowDom,s=e.selectRootElement(t,i);return kw(s),s}function kw(e){Rw(e)}var Rw=()=>null;function Fw(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Py(e,t,n,r,o,i){let s=t[S];if(Wu(e,s,t,n,r)){Mt(e)&&jy(t,e.index);return}e.type&3&&(n=Fw(n)),Ly(e,t,n,r,o,i)}function Ly(e,t,n,r,o,i){if(e.type&3){let s=Qe(e,t);r=i!=null?i(r,e.value||"",n):r,o.setProperty(s,n,r)}else e.type&12}function jy(e,t){let n=Ve(t,e);n[L]&16||(n[L]|=64)}function Ow(e,t,n){let r=n.directiveStart,o=n.directiveEnd;Mt(n)&&lw(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||vu(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let u=e.data[s],a=fi(t,e,s,n);if(Xr(a,t),i!==null&&Bw(t,s-r,a,u,n,i),st(u)){let c=Ve(n.index,t);c[re]=fi(t,e,s,n)}}}function Pw(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=Fg();try{_n(i);for(let u=r;u<o;u++){let a=e.data[u],c=t[u];tu(u),(a.hostBindings!==null||a.hostVars!==0||a.hostAttrs!==null)&&Lw(a,c)}}finally{_n(-1),tu(s)}}function Lw(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function tf(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];wy(t,i.selectors,!1)&&(r??=[],st(i)?r.unshift(i):r.push(i))}return r}function jw(e,t,n,r,o,i){let s=Qe(e,t);By(t[Z],s,i,e.value,n,r,o)}function By(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let u=s==null?vn(i):s(i,r||"",o);e.setAttribute(t,o,u,n)}}function Bw(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let u=0;u<s.length;u+=2){let a=s[u],c=s[u+1];In(r,n,a,c)}}function nf(e,t,n,r,o){let i=K+n,s=t[S],u=o(s,t,e,r,n);t[i]=u,rr(e,!0);let a=e.type===2;return a?(Dy(t[Z],u,e),(xg()===0||Gr(e))&&Xr(u,t),Ig()):Xr(u,t),iu()&&(!a||!ju(e))&&Xd(s,t,u,e),e}function rf(e){let t=e;return Ml()?Al():(t=t.parent,rr(t,!1)),t}function Vw(e,t){let n=e[Ut];if(!n)return;let r;try{r=n.get(Gt,null)}catch(o){r=null}r?.(t)}function Wu(e,t,n,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],u=!1;if(s)for(let a=0;a<s.length;a+=2){let c=s[a],l=s[a+1],d=t.data[c];In(d,n[c],l,o),u=!0}if(i)for(let a of i){let c=n[a],l=t.data[a];In(l,c,r,o),u=!0}return u}function Hw(e,t,n,r,o,i){let s=null,u=null,a=null,c=!1,l=e.directiveToIndex.get(r.type);if(typeof l=="number"?s=l:[s,u,a]=l,u!==null&&a!==null&&e.hostDirectiveInputs?.hasOwnProperty(o)){let d=e.hostDirectiveInputs[o];for(let h=0;h<d.length;h+=2){let f=d[h];if(f>=u&&f<=a){let p=t.data[f],m=d[h+1];In(p,n[f],m,i),c=!0}else if(f>a)break}}return s!==null&&r.inputs.hasOwnProperty(o)&&(In(r,n[s],o,i),c=!0),c}function $w(e,t){let n=Ve(t,e),r=n[S];Uw(r,n);let o=n[rt];o!==null&&n[Qn]===null&&(n[Qn]=cy(o,n[Ut])),Y(q.ComponentStart);try{of(r,n,n[re])}finally{Y(q.ComponentEnd,n[re])}}function Uw(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function of(e,t,n){ru(t);try{let r=e.viewQuery;r!==null&&nd(1,r,n);let o=e.template;o!==null&&Oy(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[St]?.finishViewCreation(e),e.staticContentQueries&&ly(e,t),e.staticViewQueries&&nd(2,e.viewQuery,n);let i=e.components;i!==null&&zw(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[L]&=-5,ou()}}function zw(e,t){for(let n=0;n<t.length;n++)$w(e,t[n])}function wi(e,t,n,r){let o=I(null);try{let i=t.tView,u=e[L]&4096?4096:16,a=Wd(e,i,n,u,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),c=e[t.index];a[Dn]=c;let l=e[St];return l!==null&&(a[St]=l.createEmbeddedView(i)),of(i,a,n),a}finally{I(o)}}function eo(e,t){return!t||t.firstChild===null||Jm(e)}function hi(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(Ye(i)),it(i)&&Vy(i,r);let s=n.type;if(s&8)hi(e,t,n.child,r);else if(s&32){let u=Yd(n,t),a;for(;a=u();)r.push(a)}else if(s&16){let u=Ry(t,n);if(Array.isArray(u))r.push(...u);else{let a=bn(t[_e]);hi(a[S],a,u,r,!0)}}n=o?n.projectionNext:n.next}return r}function Vy(e,t){for(let n=oe;n<e.length;n++){let r=e[n],o=r[S].firstChild;o!==null&&hi(r[S],r,o,t)}e[Cn]!==e[rt]&&t.push(e[Cn])}function Hy(e){if(e[Xn]!==null){for(let t of e[Xn])t.impl.addSequence(t);e[Xn].length=0}}var $y=[];function qw(e){return e[Be]??Gw(e)}function Gw(e){let t=$y.pop()??Object.create(Zw);return t.lView=e,t}function Ww(e){e.lView[Be]!==e&&(e.lView=null,$y.push(e))}var Zw=P(M({},an),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{nr(e.lView)},consumerOnSignalRead(){this.lView[Be]=this}});function Yw(e){let t=e[Be]??Object.create(Qw);return t.lView=e,t}var Qw=P(M({},an),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=bn(e.lView);for(;t&&!Uy(t[S]);)t=bn(t);t&&Dl(t)},consumerOnSignalRead(){this.lView[Be]=this}});function Uy(e){return e.type!==2}function zy(e){if(e[yn]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[yn])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[L]&8192)}}var Kw=100;function qy(e,t=0){let r=e[ot].rendererFactory,o=!1;o||r.begin?.();try{Jw(e,t)}finally{o||r.end?.()}}function Jw(e,t){let n=kl();try{Go(!0),hd(e,t);let r=0;for(;ri(e);){if(r===Kw)throw new D(103,!1);r++,hd(e,1)}}finally{Go(n)}}function Xw(e,t,n,r){if(tr(t))return;let o=t[L],i=!1,s=!1;ru(t);let u=!0,a=null,c=null;i||(Uy(e)?(c=qw(t),a=Lt(c)):ns()===null?(u=!1,c=Yw(t),a=Lt(c)):t[Be]&&(dn(t[Be]),t[Be]=null));try{vl(t),Ng(e.bindingStartIndex),n!==null&&Oy(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&du(t,f,null)}else{let f=e.preOrderHooks;f!==null&&fu(t,f,0,null),Vl(t,0)}if(s||ex(t),zy(t),Gy(t,0),e.contentQueries!==null&&ly(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&du(t,f)}else{let f=e.contentHooks;f!==null&&fu(t,f,1),Vl(t,1)}nx(e,t);let d=e.components;d!==null&&Zy(t,d,0);let h=e.viewQuery;if(h!==null&&nd(2,h,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&du(t,f)}else{let f=e.viewHooks;f!==null&&fu(t,f,2),Vl(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Ys]){for(let f of t[Ys])f();t[Ys]=null}i||(Hy(t),t[L]&=-73)}catch(l){throw i||nr(t),l}finally{c!==null&&(ln(c,a),u&&Ww(c)),ou()}}function Gy(e,t){for(let n=ey(e);n!==null;n=ty(n))for(let r=oe;r<n.length;r++){let o=n[r];Wy(o,t)}}function ex(e){for(let t=ey(e);t!==null;t=ty(t)){if(!(t[L]&2))continue;let n=t[er];for(let r=0;r<n.length;r++){let o=n[r];Dl(o)}}}function tx(e,t,n){Y(q.ComponentStart);let r=Ve(t,e);try{Wy(r,n)}finally{Y(q.ComponentEnd,r[re])}}function Wy(e,t){Ks(e)&&hd(e,t)}function hd(e,t){let r=e[S],o=e[L],i=e[Be],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&Tr(i)),s||=!1,i&&(i.dirty=!1),e[L]&=-9217,s)Xw(r,e,r.template,e[re]);else if(o&8192){let u=I(null);try{zy(e),Gy(e,1);let a=r.components;a!==null&&Zy(e,a,1),Hy(e)}finally{I(u)}}}function Zy(e,t,n){for(let r=0;r<t.length;r++)tx(e,t[r],n)}function nx(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)_n(~o);else{let i=o,s=n[++r],u=n[++r];Rg(s,i);let a=t[i];Y(q.HostBindingsUpdateStart,a);try{u(2,a)}finally{Y(q.HostBindingsUpdateEnd,a)}}}}finally{_n(-1)}}function Zu(e,t){let n=kl()?64:1088;for(e[ot].changeDetectionScheduler?.notify(t);e;){e[L]|=n;let r=bn(e);if(Wr(e)&&!r)return e;e=r}return null}function Yy(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Qy(e,t){let n=oe+t;if(n<e.length)return e[n]}function xi(e,t,n,r=!0){let o=t[S];if(rx(o,t,e,n),r){let s=pd(n,e),u=t[Z],a=u.parentNode(e[Cn]);a!==null&&Dw(o,e[Ne],u,t,a,s)}let i=t[Qn];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Ky(e,t){let n=gi(e,t);return n!==void 0&&zu(n[S],n),n}function gi(e,t){if(e.length<=oe)return;let n=oe+t,r=e[n];if(r){let o=r[Dn];o!==null&&o!==e&&Jd(o,r),t>0&&(e[n-1][Ze]=r[Ze]);let i=Ko(e,oe+t);vw(r[S],r);let s=i[St];s!==null&&s.detachView(i[S]),r[de]=null,r[Ze]=null,r[L]&=-129}return r}function rx(e,t,n,r){let o=oe+r,i=n.length;r>0&&(n[o-1][Ze]=t),r<i-oe?(t[Ze]=n[o],ul(n,oe+r,t)):(n.push(t),t[Ze]=null),t[de]=n;let s=t[Dn];s!==null&&n!==s&&Jy(s,t);let u=t[St];u!==null&&u.insertView(e),Js(t),t[L]|=128}function Jy(e,t){let n=e[er],r=t[de];if(qt(r))e[L]|=2;else{let o=r[de][_e];t[_e]!==o&&(e[L]|=2)}n===null?e[er]=[t]:n.push(t)}var Tn=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[S];return hi(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[re]}set context(t){this._lView[re]=t}get destroyed(){return tr(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[de];if(it(t)){let n=t[ei],r=n?n.indexOf(this):-1;r>-1&&(gi(t,r),Ko(n,r))}this._attachedToViewContainer=!1}zu(this._lView[S],this._lView)}onDestroy(t){El(this._lView,t)}markForCheck(){Zu(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[L]&=-129}reattach(){Js(this._lView),this._lView[L]|=128}detectChanges(){this._lView[L]|=1024,qy(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new D(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Wr(this._lView),n=this._lView[Dn];n!==null&&!t&&Jd(n,this._lView),Ay(this._lView[S],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new D(902,!1);this._appRef=t;let n=Wr(this._lView),r=this._lView[Dn];r!==null&&!n&&Jy(r,this._lView),Js(this._lView)}};var Sn=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=ox;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=wi(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new Tn(i)}}return e})();function ox(){return Yu(ue(),w())}function Yu(e,t){return e.type&4?new Sn(t,e,oo(e,t)):null}function gr(e,t,n,r,o){let i=e.data[t];if(i===null)i=ix(e,t,n,r,o),kg()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Mg();i.injectorIndex=s===null?-1:s.injectorIndex}return rr(i,!0),i}function ix(e,t,n,r,o){let i=Sl(),s=Ml(),u=s?i:i&&i.parent,a=e.data[t]=ux(e,u,n,t,r,o);return sx(e,a,i,s),a}function sx(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 ux(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,u=0;return xl()&&(u|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,controlDirectiveIndex:-1,customControlIndex:-1,propertyBindings:null,flags:u,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function ax(e){let t=e[gl]??[],r=e[de][Z],o=[];for(let i of t)i.data[iy]!==void 0?o.push(i):cx(i,r);e[gl]=o}function cx(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[oy];for(;n<o;){let i=r.nextSibling;vy(t,r,!1),r=i,n++}}}var lx=()=>null,dx=()=>null;function Cu(e,t){return lx(e,t)}function Xy(e,t,n){return dx(e,t,n)}var eb=class{},Qu=class{},gd=class{resolveComponentFactory(t){throw new D(917,!1)}},Ii=class{static NULL=new gd},lr=class{},Ti=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>fx()}return e})();function fx(){let e=w(),t=ue(),n=Ve(t.index,e);return(qt(n)?n:e)[Z]}var tb=(()=>{class e{static \u0275prov=T({token:e,providedIn:"root",factory:()=>null})}return e})();var hu={},md=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,hu,r);return o!==hu||n===hu?o:this.parentInjector.get(t,n,r)}};function _u(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 u=t[s];if(typeof u=="number")i=u;else if(i==1)o=Vs(o,u);else if(i==2){let a=u,c=t[++s];r=Vs(r,a+": "+c+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function ee(e,t=0){let n=w();if(n===null)return A(e,t);let r=ue();return Zm(r,n,le(e),t)}function px(){let e="invalid";throw new Error(e)}function nb(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let u=s,a=null,c=null;for(let l of s)if(l.resolveHostDirectives!==null){[u,a,c]=l.resolveHostDirectives(s);break}mx(e,t,n,u,i,a,c)}i!==null&&r!==null&&hx(n,r,i)}function hx(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 D(-301,!1);r.push(t[o],i)}}function gx(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function mx(e,t,n,r,o,i,s){let u=r.length,a=null;for(let h=0;h<u;h++){let f=r[h];a===null&&st(f)&&(a=f,gx(e,n,h)),Jl(vu(n,t),e,f.type)}Cx(n,e.data.length,u),a?.viewProvidersResolver&&a.viewProvidersResolver(a);for(let h=0;h<u;h++){let f=r[h];f.providersResolver&&f.providersResolver(f)}let c=!1,l=!1,d=Iy(e,t,u,null);u>0&&(n.directiveToIndex=new Map);for(let h=0;h<u;h++){let f=r[h];if(n.mergedAttrs=Jr(n.mergedAttrs,f.hostAttrs),bx(e,n,t,d,f),Ex(d,f,o),s!==null&&s.has(f)){let[m,g]=s.get(f);n.directiveToIndex.set(f.type,[d,m+n.directiveStart,g+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 p=f.type.prototype;!c&&(p.ngOnChanges||p.ngOnInit||p.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),c=!0),!l&&(p.ngOnChanges||p.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),l=!0),d++}yx(e,n,i)}function yx(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))hm(0,t,o,r),hm(1,t,o,r),mm(t,r,!1);else{let i=n.get(o);gm(0,t,i,r),gm(1,t,i,r),mm(t,r,!0)}}}function hm(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),rb(t,i)}}function gm(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],u;e===0?u=t.hostDirectiveInputs??={}:u=t.hostDirectiveOutputs??={},u[s]??=[],u[s].push(r,i),rb(t,s)}}function rb(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function mm(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||qd(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,u=0;for(;u<r.length;){let a=r[u];if(a===0){u+=4;continue}else if(a===5){u+=2;continue}else if(typeof a=="number")break;if(!n&&o.hasOwnProperty(a)){let c=o[a];for(let l of c)if(l===t){s??=[],s.push(a,r[u+1]);break}}else if(n&&i.hasOwnProperty(a)){let c=i[a];for(let l=0;l<c.length;l+=2)if(c[l]===t){s??=[],s.push(c[l+1],r[u+1]);break}}u+=2}e.initialInputs??=[],e.initialInputs.push(s)}function bx(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=mn(o.type,!0)),s=new ar(i,st(o),ee,null);e.blueprint[r]=s,n[r]=s,vx(e,t,r,Iy(e,n,o.hostVars,we),o)}function vx(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let u=~t.index;Dx(s)!=u&&s.push(u),s.push(n,r,i)}}function Dx(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function Ex(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;st(t)&&(n[""]=e)}}function Cx(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function sf(e,t,n,r,o,i,s,u){let a=t[S],c=a.consts,l=He(c,s),d=gr(a,e,n,r,l);return i&&nb(a,t,d,He(c,u),o),d.mergedAttrs=Jr(d.mergedAttrs,d.attrs),d.attrs!==null&&_u(d,d.attrs,!1),d.mergedAttrs!==null&&_u(d,d.mergedAttrs,!0),a.queries!==null&&a.queries.elementStart(a,d),d}function uf(e,t){Bm(e,t),ml(t)&&e.queries.elementEnd(t)}function _x(e,t,n,r,o,i){let s=t.consts,u=He(s,o),a=gr(t,e,n,r,u);if(a.mergedAttrs=Jr(a.mergedAttrs,a.attrs),i!=null){let c=He(s,i);a.localNames=[];for(let l=0;l<c.length;l+=2)a.localNames.push(c[l],-1)}return a.attrs!==null&&_u(a,a.attrs,!1),a.mergedAttrs!==null&&_u(a,a.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,a),a}function af(e){return Ku(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function ob(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 Ku(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function cf(e,t,n){return e[t]=n}function wx(e,t){return e[t]}function ke(e,t,n){if(n===we)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function ib(e,t,n,r){let o=ke(e,t,n);return ke(e,t+1,r)||o}function ur(e,t,n){return function r(o){let i=Mt(e)?Ve(e.index,t):t;Zu(i,5);let s=t[re],u=ym(t,s,n,o),a=r.__ngNextListenerFn__;for(;a;)u=ym(t,s,a,o)&&u,a=a.__ngNextListenerFn__;return u}}function ym(e,t,n,r){let o=I(null);try{return Y(q.OutputStart,t,n),n(r)!==!1}catch(i){return Vw(e,i),!1}finally{Y(q.OutputEnd,t,n),I(o)}}function lf(e,t,n,r,o,i,s,u){let a=Gr(e),c=!1,l=null;if(!r&&a&&(l=Ix(t,n,i,e.index)),l!==null){let d=l.__ngLastListenerFn__||l;d.__ngNextListenerFn__=s,l.__ngLastListenerFn__=s,c=!0}else{let d=Qe(e,n),h=r?r(d):d;b_(n,h,i,u);let f=o.listen(h,i,u);if(!xx(i)){let p=r?m=>r(Ye(m[e.index])):e.index;sb(p,t,n,i,u,f,!1)}}return c}function xx(e){return e.startsWith("animation")||e.startsWith("transition")}function Ix(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 u=t[zr],a=o[i+2];return u&&u.length>a?u[a]:null}typeof s=="string"&&(i+=2)}return null}function sb(e,t,n,r,o,i,s){let u=t.firstCreatePass?_l(t):null,a=Cl(n),c=a.length;a.push(o,i),u&&u.push(r,e,c,(c+1)*(s?-1:1))}function wu(e,t,n,r,o,i){let s=t[n],u=t[S],c=u.data[n].outputs[r],d=s[c].subscribe(i);sb(e.index,u,t,o,i,d,!0)}function Tx(){let e=w(),t=G(),n=ue();if(t.firstCreatePass&&Mx(t,n),n.controlDirectiveIndex===-1)return;Nt("NgSignalForms");let r=e[n.controlDirectiveIndex];t.data[n.controlDirectiveIndex].controlDef.create(r,new xu(e,t,n))}function Sx(){let e=w(),t=G(),n=wn();if(n.controlDirectiveIndex===-1)return;let r=t.data[n.controlDirectiveIndex].controlDef,o=e[n.controlDirectiveIndex];r.update(o,new xu(e,t,n))}var xu=class{lView;tView;tNode;hasPassThrough;constructor(t,n,r){this.lView=t,this.tView=n,this.tNode=r,this.hasPassThrough=!!(r.flags&4096)}get customControl(){return this.tNode.customControlIndex!==-1?this.lView[this.tNode.customControlIndex]:void 0}get descriptor(){return`<${this.tNode.value}>`}listenToCustomControlOutput(t,n){ub(this.tView.data[this.tNode.customControlIndex],t)&&wu(this.tNode,this.lView,this.tNode.customControlIndex,t,t,ur(this.tNode,this.lView,n))}listenToCustomControlModel(t){let n=this.tNode.flags&1024?"valueChange":"checkedChange";wu(this.tNode,this.lView,this.tNode.customControlIndex,n,n,ur(this.tNode,this.lView,t))}listenToDom(t,n){lf(this.tNode,this.tView,this.lView,void 0,this.lView[Z],t,n,ur(this.tNode,this.lView,n))}setInputOnDirectives(t,n){let r=this.tNode.inputs?.[t],o=this.tNode.hostDirectiveInputs?.[t];if(!r&&!o)return!1;if(r)for(let i of r){let s=this.tView.data[i],u=this.lView[i];In(s,u,t,n)}if(o)for(let i=0;i<o.length;i+=2){let s=o[i],u=o[i+1],a=this.tView.data[s],c=this.lView[s];In(a,c,u,n)}return!0}setCustomControlModelInput(t){let n=this.lView[this.tNode.customControlIndex],r=this.tView.data[this.tNode.customControlIndex],o=this.tNode.flags&1024?"value":"checked";In(r,n,o,t)}customControlHasInput(t){return this.tNode.customControlIndex===-1?!1:this.tView.data[this.tNode.customControlIndex].inputs[t]!=null}};function Mx(e,t,n){for(let o=t.directiveStart;o<t.directiveEnd;o++)if(e.data[o].controlDef){t.controlDirectiveIndex=o;break}if(t.controlDirectiveIndex===-1)return;let r=e.data[t.controlDirectiveIndex].controlDef;if(r.passThroughInput&&(t.inputs?.[r.passThroughInput]?.length??0)>1){t.flags|=4096;return}Ax(e,t)}function Ax(e,t){for(let n=t.directiveStart;n<t.directiveEnd;n++){let r=e.data[n];if(bm(r,"value")){t.flags|=1024,t.customControlIndex=n;return}if(bm(r,"checked")){t.flags|=2048,t.customControlIndex=n;return}}}function bm(e,t){return Nx(e,t)&&ub(e,t+"Change")}function Nx(e,t){return t in e.inputs}function ub(e,t){return t in e.outputs}var mi=Symbol("BINDING"),vm={kind:"input",requiredVars:1};function Dm(e,t,n){let r=w(),o=ut();if(ke(r,o,n)){let i=r[S],s=wn(),u=Ve(s.index,r);Zu(u,1);let a=i.directiveRegistry[e],c=Hw(s,i,r,a,t,n)}}function U(e,t){if(e==="formField"){let r={[mi]:vm,create:()=>{Tx()},update:()=>{Dm(r.targetIdx,e,t()),Sx()}};return r}let n={[mi]:vm,update:()=>Dm(n.targetIdx,e,t())};return n}function ab(e){return e.debugInfo?.className||e.type.name||null}var Iu=class extends Ii{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=Tt(t);return new Mn(n,this.ngModule)}};function kx(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&Hu.SignalBased)!==0};return o&&(i.transform=o),i})}function Rx(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function Fx(e,t,n){let r=t instanceof Ae?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new md(n,r):n}function Ox(e){let t=e.get(lr,null);if(t===null)throw new D(407,!1);let n=e.get(tb,null),r=e.get(wt,null),o=e.get(ft,null,{optional:!0});return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1,tracingService:o}}function Px(e,t){let n=cb(e);return yy(t,n,n==="svg"?yl:n==="math"?vg:null)}function cb(e){return(e.selectors[0][0]||"div").toLowerCase()}var Mn=class extends Qu{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=kx(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=Rx(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=sw(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){Y(q.DynamicComponentStart);let u=I(null);try{let a=this.componentDef,c=Fx(a,o||this.ngModule,t),l=Ox(c),d=l.tracingService;return d&&d.componentCreate?d.componentCreate(ab(a),()=>this.createComponentRef(l,c,n,r,i,s)):this.createComponentRef(l,c,n,r,i,s)}finally{I(u)}}createComponentRef(t,n,r,o,i,s){let u=this.componentDef,a=Lx(o,u,s,i),c=t.rendererFactory.createRenderer(null,u),l=o?Nw(c,o,u.encapsulation,n):Px(u,c),d=s?.some(Em)||i?.some(p=>typeof p!="function"&&p.bindings.some(Em)),h=Wd(null,a,null,512|xy(u),null,null,t,c,n,null,cy(l,n,!0));h[K]=l,ru(h);let f=null;try{let p=sf(K,h,2,"#host",()=>a.directiveRegistry,!0,0);Dy(c,l,p),Xr(l,h),Gu(a,h,p),jd(a,p,h),uf(a,p),r!==void 0&&Bx(p,this.ngContentSelectors,r),f=Ve(p.index,h),h[re]=f[re],of(a,h,null)}catch(p){throw f!==null&&ed(f),ed(h),p}finally{Y(q.DynamicComponentEnd),ou()}return new Tu(this.componentType,h,!!d)}};function Lx(e,t,n,r){let o=e?["ng-version","21.2.4"]:uw(t.selectors[0]),i=null,s=null,u=0;if(n)for(let l of n)u+=l[mi].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 h of d.bindings){u+=h[mi].requiredVars;let f=l+1;h.create&&(h.targetIdx=f,(i??=[]).push(h)),h.update&&(h.targetIdx=f,(s??=[]).push(h))}}let a=[t];if(r)for(let l of r){let d=typeof l=="function"?l:l.type,h=Us(d);a.push(h)}return Gd(0,null,jx(i,s),1,u,a,null,null,null,[o],null)}function jx(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 Em(e){let t=e[mi].kind;return t==="input"||t==="twoWay"}var Tu=class extends eb{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=Qs(n[S],K),this.location=oo(this._tNode,n),this.instance=Ve(this._tNode.index,n)[re],this.hostView=this.changeDetectorRef=new Tn(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=Wu(r,o[S],o,t,n);this.previousInputValues.set(t,n);let s=Ve(r.index,o);Zu(s,1)}get injector(){return new sr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function Bx(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 pt=(()=>{class e{static __NG_ELEMENT_ID__=Vx}return e})();function Vx(){let e=ue();return lb(e,w())}var yd=class e extends pt{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return oo(this._hostTNode,this._hostLView)}get injector(){return new sr(this._hostTNode,this._hostLView)}get parentInjector(){let t=Fd(this._hostTNode,this._hostLView);if($m(t)){let n=yu(t,this._hostLView),r=mu(t),o=n[S].data[r+8];return new sr(o,n)}else return new sr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Cm(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-oe}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Cu(this._lContainer,t.ssrId),u=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(u,o,eo(this._hostTNode,s)),u}createComponent(t,n,r,o,i,s,u){let a=t&&!qC(t),c;if(a)c=n;else{let g=n||{};c=g.index,r=g.injector,o=g.projectableNodes,i=g.environmentInjector||g.ngModuleRef,s=g.directives,u=g.bindings}let l=a?t:new Mn(Tt(t)),d=r||this.parentInjector;if(!i&&l.ngModule==null){let y=(a?d:this.parentInjector).get(Ae,null);y&&(i=y)}let h=Tt(l.componentType??{}),f=Cu(this._lContainer,h?.id??null),p=f?.firstChild??null,m=l.create(d,o,p,i,s,u);return this.insertImpl(m.hostView,c,eo(this._hostTNode,f)),m}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Eg(o)){let u=this.indexOf(t);if(u!==-1)this.detach(u);else{let a=o[de],c=new e(a,a[Ne],a[de]);c.detach(c.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return xi(s,o,i,r),t.attachToViewContainerRef(),ul(Ul(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Cm(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=gi(this._lContainer,n);r&&(Ko(Ul(this._lContainer),n),zu(r[S],r))}detach(t){let n=this._adjustIndex(t,-1),r=gi(this._lContainer,n);return r&&Ko(Ul(this._lContainer),n)!=null?new Tn(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Cm(e){return e[ei]}function Ul(e){return e[ei]||(e[ei]=[])}function lb(e,t){let n,r=t[e.index];return it(r)?n=r:(n=Yy(r,t,null,e),t[e.index]=n,Zd(t,n)),$x(n,t,e,r),new yd(n,e,t)}function Hx(e,t){let n=e[Z],r=n.createComment(""),o=Qe(t,e),i=n.parentNode(o);return Eu(n,i,r,n.nextSibling(o),!1),r}var $x=qx,Ux=()=>!1;function zx(e,t,n){return Ux(e,t,n)}function qx(e,t,n,r){if(e[Cn])return;let o;n.type&8?o=Ye(r):o=Hx(t,n),e[Cn]=o}var bd=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},vd=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),u=this.queries[s.indexInDeclarationView];o.push(u.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++)ff(t,n).matches!==null&&this.queries[n].setDirty()}},Su=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=Qx(t):this.predicate=t}},Dd=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)}},Ed=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,Gx(n,i)),this.matchTNodeWithReadOption(t,n,pu(n,t,i,!1,!1))}else r===Sn?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,pu(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===Zt||o===pt||o===Sn&&n.type&4)this.addMatch(n.index,-2);else{let i=pu(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 Gx(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 Wx(e,t){return e.type&11?oo(e,t):e.type&4?Yu(e,t):null}function Zx(e,t,n,r){return n===-1?Wx(t,e):n===-2?Yx(e,t,r):fi(e,e[S],n,t)}function Yx(e,t,n){if(n===Zt)return oo(t,e);if(n===Sn)return Yu(t,e);if(n===pt)return lb(t,e)}function db(e,t,n,r){let o=t[St].queries[r];if(o.matches===null){let i=e.data,s=n.matches,u=[];for(let a=0;s!==null&&a<s.length;a+=2){let c=s[a];if(c<0)u.push(null);else{let l=i[c];u.push(Zx(t,l,s[a+1],n.metadata.read))}}o.matches=u}return o.matches}function Cd(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=db(e,t,o,n);for(let u=0;u<i.length;u+=2){let a=i[u];if(a>0)r.push(s[u/2]);else{let c=i[u+1],l=t[-a];for(let d=oe;d<l.length;d++){let h=l[d];h[Dn]===h[de]&&Cd(h[S],h,c,r)}if(l[er]!==null){let d=l[er];for(let h=0;h<d.length;h++){let f=d[h];Cd(f[S],f,c,r)}}}}}return r}function df(e,t){return e[St].queries[t].queryList}function fb(e,t,n){let r=new Du((n&4)===4);return wg(e,t,r,r.destroy),(t[St]??=new vd).queries.push(new bd(r))-1}function pb(e,t,n){let r=G();return r.firstCreatePass&&(gb(r,new Su(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),fb(r,w(),t)}function hb(e,t,n,r){let o=G();if(o.firstCreatePass){let i=ue();gb(o,new Su(t,n,r),i.index),Kx(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return fb(o,w(),n)}function Qx(e){return e.split(",").map(t=>t.trim())}function gb(e,t,n){e.queries===null&&(e.queries=new Dd),e.queries.track(new Ed(t,n))}function Kx(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 ff(e,t){return e.queries.getByIndex(t)}function mb(e,t){let n=e[S],r=ff(n,t);return r.crossesNgTemplate?Cd(n,e,t,[]):db(n,e,r,t)}function pf(e,t,n){let r,o=Fo(()=>{r._dirtyCounter();let i=Jx(r,e);if(t&&i===void 0)throw new D(-951,!1);return i});return r=o[se],r._dirtyCounter=xn(0),r._flatValue=void 0,o}function hf(e){return pf(!0,!1,e)}function gf(e){return pf(!0,!0,e)}function yb(e){return pf(!1,!1,e)}function bb(e,t){let n=e[se];n._lView=w(),n._queryIndex=t,n._queryList=df(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function Jx(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[L]&4)return t?void 0:Ee;let o=df(n,r),i=mb(n,r);return o.reset(i,Km),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}var An=class{},vb=class{};function mf(e,t){return new yi(e,t??null,[])}var yi=class extends An{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new Iu(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=ol(t);this._bootstrapComponents=Cy(i.bootstrap),this._r3Injector=Ol(t,n,[{provide:An,useValue:this},{provide:Ii,useValue:this.componentFactoryResolver},...r],Yo(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)}},Mu=class extends vb{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new yi(this.moduleType,t,[])}};var bi=class extends An{injector;componentFactoryResolver=new Iu(this);instance=null;constructor(t){super();let n=new Wn([...t.providers,{provide:An,useValue:this},{provide:Ii,useValue:this.componentFactoryResolver}],t.parent||$r(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Db(e,t,n=null){return new bi({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var Xx=(()=>{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=ll(!1,n.type),o=r.length>0?Db([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=T({token:e,providedIn:"environment",factory:()=>new e(A(Ae))})}return e})();function so(e){return Di(()=>{let t=Eb(e),n=P(M({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Pd.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(Xx).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||lt.Emulated,styles:e.styles||Ee,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Nt("NgStandalone"),Cb(n);let r=e.dependencies;return n.directiveDefs=_m(r,eI),n.pipeDefs=_m(r,sg),n.id=rI(n),n})}function eI(e){return Tt(e)||Us(e)}function Kt(e){return Di(()=>({type:e.type,bootstrap:e.bootstrap||Ee,declarations:e.declarations||Ee,imports:e.imports||Ee,exports:e.exports||Ee,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function tI(e,t){if(e==null)return nt;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,u,a;Array.isArray(o)?(u=o[0],i=o[1],s=o[2]??i,a=o[3]||null):(i=o,s=o,u=Hu.None,a=null),n[i]=[r,u,a],t[i]=s}return n}function nI(e){if(e==null)return nt;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function ht(e){return Di(()=>{let t=Eb(e);return Cb(t),t})}function uo(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 Eb(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||nt,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||Ee,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,inputs:tI(e.inputs,t),outputs:nI(e.outputs),debugInfo:null}}function Cb(e){e.features?.forEach(t=>t(e))}function _m(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 rI(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 oI(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.resolveHostDirectives=iI,n.hostDirectives=r?e.map(_d):[e]):r?n.hostDirectives.unshift(...e.map(_d)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function iI(e){let t=[],n=!1,r=null,o=null;for(let i=0;i<e.length;i++){let s=e[i];if(s.hostDirectives!==null){let u=t.length;r??=new Map,o??=new Map,_b(s,t,r),o.set(s,[u,t.length-1])}i===0&&st(s)&&(n=!0,t.push(s))}for(let i=n?1:0;i<e.length;i++)t.push(e[i]);return[t,r,o]}function _b(e,t,n){if(e.hostDirectives!==null)for(let r of e.hostDirectives)if(typeof r=="function"){let o=r();for(let i of o)wm(_d(i),t,n)}else wm(r,t,n)}function wm(e,t,n){let r=Us(e.directive);sI(r.declaredInputs,e.inputs),_b(r,t,n),n.set(r,e),t.push(r)}function _d(e){return typeof e=="function"?{directive:le(e),inputs:nt,outputs:nt}:{directive:le(e.directive),inputs:xm(e.inputs),outputs:xm(e.outputs)}}function xm(e){if(e===void 0||e.length===0)return nt;let t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function sI(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o=e[n];e[r]=o}}function uI(e){return Object.getPrototypeOf(e.prototype).constructor}function ao(e){let t=uI(e.type),n=!0,r=[e];for(;t;){let o;if(st(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new D(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=zl(e.inputs),s.declaredInputs=zl(e.declaredInputs),s.outputs=zl(e.outputs);let u=o.hostBindings;u&&fI(e,u);let a=o.viewQuery,c=o.contentQueries;if(a&&lI(e,a),c&&dI(e,c),aI(e,o),ig(e.outputs,o.outputs),st(o)&&o.data.animation){let l=e.data;l.animation=(l.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s<i.length;s++){let u=i[s];u&&u.ngInherit&&u(e),u===ao&&(n=!1)}}t=Object.getPrototypeOf(t)}cI(r)}function aI(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 cI(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=Jr(o.hostAttrs,n=Jr(n,o.hostAttrs))}}function zl(e){return e===nt?{}:e===Ee?[]:e}function lI(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function dI(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function fI(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function wb(e,t,n,r,o,i,s,u){if(n.firstCreatePass){e.mergedAttrs=Jr(e.mergedAttrs,e.attrs);let l=e.tView=Gd(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))}u&&(e.flags|=u),rr(e,!1);let a=hI(n,t,e,r);iu()&&Xd(n,t,a,e),Xr(a,t);let c=Yy(a,t,a,e);t[r+K]=c,Zd(t,c),zx(c,e,t)}function pI(e,t,n,r,o,i,s,u,a,c,l){let d=n+K,h;return t.firstCreatePass?(h=gr(t,d,4,s||null,u||null),Xs()&&nb(t,e,h,He(t.consts,c),tf),Bm(t,h)):h=t.data[d],wb(h,e,t,n,r,o,i,a),Gr(h)&&Gu(t,e,h),c!=null&&_i(e,h,l),h}function to(e,t,n,r,o,i,s,u,a,c,l){let d=n+K,h;if(t.firstCreatePass){if(h=gr(t,d,4,s||null,u||null),c!=null){let f=He(t.consts,c);h.localNames=[];for(let p=0;p<f.length;p+=2)h.localNames.push(f[p],-1)}}else h=t.data[d];return wb(h,e,t,n,r,o,i,a),c!=null&&_i(e,h,l),h}function xb(e,t,n,r,o,i,s,u){let a=w(),c=G(),l=He(c.consts,i);return pI(a,c,e,t,n,r,o,l,void 0,s,u),xb}function Ib(e,t,n,r,o,i,s,u){let a=w(),c=G(),l=He(c.consts,i);return to(a,c,e,t,n,r,o,l,void 0,s,u),Ib}var hI=gI;function gI(e,t,n,r){return ii(!0),t[Z].createComment("")}var Tb=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function yf(e){return typeof e=="function"&&e[se]!==void 0}function bf(e){return yf(e)&&typeof e.set=="function"}var Ju=new x(""),Xu=new x(""),Si=(()=>{class e{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(n,r,o){this._ngZone=n,this.registry=r,Zs()&&(this._destroyRef=b($e,{optional:!0})??void 0),vf||(Mb(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this._taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){let n=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),r=this._ngZone.runOutsideAngular(()=>this._ngZone.onStable.subscribe({next:()=>{Ce.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}}));this._destroyRef?.onDestroy(()=>{n.unsubscribe(),r.unsubscribe()})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>r.updateCb&&r.updateCb(n)?(clearTimeout(r.timeoutId),!1):!0)}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n()},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!this._taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}static \u0275fac=function(r){return new(r||e)(A(Ce),A(Sb),A(Xu))};static \u0275prov=T({token:e,factory:e.\u0275fac})}return e})(),Sb=(()=>{class e{_applications=new Map;registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return vf?.findTestabilityInTree(this,n,r)??null}static \u0275fac=function(r){return new(r||e)};static \u0275prov=T({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Mb(e){vf=e}var vf;function Mi(e){return!!e&&typeof e.then=="function"}function ea(e){return!!e&&typeof e.subscribe=="function"}var Df=new x("");function mI(e){return Yn([{provide:Df,multi:!0,useValue:e}])}var Ef=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=b(Df,{optional:!0})??[];injector=b(me);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=Ur(this.injector,o);if(Mi(i))n.push(i);else if(ea(i)){let s=new Promise((u,a)=>{i.subscribe({complete:u,error:a})});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=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Ab=new x("");function Nb(){hc(()=>{let e="";throw new D(600,e)})}function kb(e){return e.isBoundToModule}var yI=10;var co=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=b(Gt);afterRenderManager=b(Uu);zonelessEnabled=b(ui);rootEffectScheduler=b(su);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new he;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=b(or);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(Se(n=>!n))}constructor(){b(ft,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=b(Ae);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=me.NULL){return this._injector.get(Ce).run(()=>{Y(q.BootstrapComponentStart);let s=n instanceof Qu;if(!this._injector.get(Ef).done){let p="";throw new D(405,p)}let a;s?a=n:a=this._injector.get(Ii).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let c=kb(a)?void 0:this._injector.get(An),l=r||a.selector,d=a.create(o,[],l,c),h=d.location.nativeElement,f=d.injector.get(Ju,null);return f?.registerApplication(h),d.onDestroy(()=>{this.detachView(d.hostView),di(this.components,d),f?.unregisterApplication(h)}),this._loadComponent(d),Y(q.BootstrapComponentEnd,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){Y(q.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run($u.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw Y(q.ChangeDetectionEnd),new D(101,!1);let n=I(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,I(n),this.afterTick.next(),Y(q.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(lr,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<yI;){Y(q.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{Y(q.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&&!ri(o))continue;let i=r&&!this.zonelessEnabled?0:1;qy(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})=>ri(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;di(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(Ab,[]).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),()=>di(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new D(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=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function di(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Rb(e,t){let n=w(),r=ut();if(ke(n,r,t)){let o=G(),i=wn();if(Wu(i,o,n,e,t))Mt(i)&&jy(n,i.index);else{let u=Qe(i,n);By(n[Z],u,null,i.value,e,t,null)}}return Rb}function ta(e,t,n,r){let o=w(),i=ut();if(ke(o,i,t)){let s=G(),u=wn();jw(u,o,e,t,n,r)}return ta}function bI(){return w()[_e][re]}var wd=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 ql(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function vI(e,t,n,r){let o,i,s=0,u=e.length-1,a=void 0;if(Array.isArray(t)){I(r);let c=t.length-1;for(I(null);s<=u&&s<=c;){let l=e.at(s),d=t[s],h=ql(s,l,s,d,n);if(h!==0){h<0&&e.updateValue(s,d),s++;continue}let f=e.at(u),p=t[c],m=ql(u,f,c,p,n);if(m!==0){m<0&&e.updateValue(u,p),u--,c--;continue}let g=n(s,l),y=n(u,f),v=n(s,d);if(Object.is(v,y)){let _=n(c,p);Object.is(_,g)?(e.swap(s,u),e.updateValue(u,p),c--,u--):e.move(u,s),e.updateValue(s,d),s++;continue}if(o??=new Au,i??=Tm(e,s,u,n),xd(e,o,s,v))e.updateValue(s,d),s++,u++;else if(i.has(v))o.set(g,e.detach(s)),u--;else{let _=e.create(s,t[s]);e.attach(s,_),s++,u++}}for(;s<=c;)Im(e,o,n,s,t[s]),s++}else if(t!=null){I(r);let c=t[Symbol.iterator]();I(null);let l=c.next();for(;!l.done&&s<=u;){let d=e.at(s),h=l.value,f=ql(s,d,s,h,n);if(f!==0)f<0&&e.updateValue(s,h),s++,l=c.next();else{o??=new Au,i??=Tm(e,s,u,n);let p=n(s,h);if(xd(e,o,s,p))e.updateValue(s,h),s++,u++,l=c.next();else if(!i.has(p))e.attach(s,e.create(s,h)),s++,u++,l=c.next();else{let m=n(s,d);o.set(m,e.detach(s)),u--}}}for(;!l.done;)Im(e,o,n,e.length,l.value),l=c.next()}for(;s<=u;)e.destroy(e.detach(u--));o?.forEach(c=>{e.destroy(c)})}function xd(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Im(e,t,n,r,o){if(xd(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Tm(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 Au=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 Cf(e,t,n,r,o,i,s,u){Nt("NgControlFlow");let a=w(),c=G(),l=He(c.consts,i);return to(a,c,e,t,n,r,o,l,256,s,u),_f}function _f(e,t,n,r,o,i,s,u){Nt("NgControlFlow");let a=w(),c=G(),l=He(c.consts,i);return to(a,c,e,t,n,r,o,l,512,s,u),_f}function wf(e,t){Nt("NgControlFlow");let n=w(),r=ut(),o=n[r]!==we?n[r]:-1,i=o!==-1?Nu(n,K+o):void 0,s=0;if(ke(n,r,e)){let u=I(null);try{if(i!==void 0&&Ky(i,s),e!==-1){let a=K+e,c=Nu(n,a),l=Md(n[S],a),d=Xy(c,l,n),h=wi(n,l,t,{dehydratedView:d});xi(c,h,s,eo(l,d))}}finally{I(u)}}else if(i!==void 0){let u=Qy(i,s);u!==void 0&&(u[re]=t)}}var Id=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-oe}};function DI(e){return e}function na(e,t){return t}var Td=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function ra(e,t,n,r,o,i,s,u,a,c,l,d,h){Nt("NgControlFlow");let f=w(),p=G(),m=a!==void 0,g=w(),y=u?s.bind(g[_e][re]):s,v=new Td(m,y);g[K+e]=v,to(f,p,e+1,t,n,r,o,He(p.consts,i),256),m&&to(f,p,e+2,a,c,l,d,He(p.consts,h),512)}var Sd=class extends wd{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-oe}at(t){return this.getLView(t)[re].$implicit}attach(t,n){let r=n[Qn];this.needsIndexUpdate||=t!==this.length,xi(this.lContainer,n,t,eo(this.templateTNode,r)),EI(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,CI(this.lContainer,t),_I(this.lContainer,t)}create(t,n){let r=Cu(this.lContainer,this.templateTNode.tView.ssrId);return wi(this.hostLView,this.templateTNode,new Id(this.lContainer,n,t),{dehydratedView:r})}destroy(t){zu(t[S],t)}updateValue(t,n){this.getLView(t)[re].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[re].$index=t}getLView(t){return wI(this.lContainer,t)}};function oa(e){let t=I(null),n=at();try{let r=w(),o=r[S],i=r[n],s=n+1,u=Nu(r,s);if(i.liveCollection===void 0){let c=Md(o,s);i.liveCollection=new Sd(u,r,c)}else i.liveCollection.reset();let a=i.liveCollection;if(vI(a,e,i.trackByFn,t),a.updateIndexes(),i.hasEmptyBlock){let c=ut(),l=a.length===0;if(ke(r,c,l)){let d=n+2,h=Nu(r,d);if(l){let f=Md(o,d),p=Xy(h,f,r),m=wi(r,f,void 0,{dehydratedView:p});xi(h,m,0,eo(f,p))}else o.firstUpdatePass&&ax(h),Ky(h,0)}}}finally{I(t)}}function Nu(e,t){return e[t]}function EI(e,t){if(e.length<=oe)return;let n=oe+t,r=e[n],o=r?r[En]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[Ut];yw(i,o),cr.delete(r[zt]),o.detachedLeaveAnimationFns=void 0}}function CI(e,t){if(e.length<=oe)return;let n=oe+t,r=e[n],o=r?r[En]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function _I(e,t){return gi(e,t)}function wI(e,t){return Qy(e,t)}function Md(e,t){return Qs(e,t)}function lo(e,t,n){let r=w(),o=ut();if(ke(r,o,t)){let i=G(),s=wn();Py(s,r,e,t,r[Z],n)}return lo}function Ad(e,t,n,r,o){Wu(t,e,n,o?"class":"style",r)}function dr(e,t,n,r){let o=w(),i=o[S],s=e+K,u=i.firstCreatePass?sf(s,o,2,t,tf,Xs(),n,r):i.data[s];if(Mt(u)){let a=o[ot].tracingService;if(a&&a.componentCreate){let c=i.data[u.directiveStart+u.componentOffset];return a.componentCreate(ab(c),()=>(Sm(e,t,o,u,r),dr))}}return Sm(e,t,o,u,r),dr}function Sm(e,t,n,r,o){if(nf(r,n,e,t,Ob),Gr(r)){let i=n[S];Gu(i,n,r),jd(i,r,n)}o!=null&&_i(n,r)}function fo(){let e=G(),t=ue(),n=rf(t);return e.firstCreatePass&&uf(e,n),Il(n)&&Tl(),wl(),n.classesWithoutHost!=null&&KC(n)&&Ad(e,n,w(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&JC(n)&&Ad(e,n,w(),n.stylesWithoutHost,!1),fo}function Fb(e,t,n,r){return dr(e,t,n,r),fo(),Fb}function xf(e,t,n,r){let o=w(),i=o[S],s=e+K,u=i.firstCreatePass?_x(s,i,2,t,n,r):i.data[s];return nf(u,o,e,t,Ob),r!=null&&_i(o,u),xf}function If(){let e=ue(),t=rf(e);return Il(t)&&Tl(),wl(),If}function ia(e,t,n,r){return xf(e,t,n,r),If(),ia}var Ob=(e,t,n,r,o)=>(ii(!0),yy(t[Z],r,$g()));function Tf(e,t,n){let r=w(),o=r[S],i=e+K,s=o.firstCreatePass?sf(i,r,8,"ng-container",tf,Xs(),t,n):o.data[i];if(nf(s,r,e,"ng-container",xI),Gr(s)){let u=r[S];Gu(u,r,s),jd(u,s,r)}return n!=null&&_i(r,s),Tf}function Sf(){let e=G(),t=ue(),n=rf(t);return e.firstCreatePass&&uf(e,n),Sf}function po(e,t,n){return Tf(e,t,n),Sf(),po}var xI=(e,t,n,r,o)=>(ii(!0),z_(t[Z],""));function II(){return w()}function sa(e,t,n){let r=w(),o=ut();if(ke(r,o,t)){let i=G(),s=wn();Ly(s,r,e,t,r[Z],n)}return sa}var ci=void 0;function TI(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var SI=["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"]],ci,[["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"]],ci,[["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}",ci,ci,ci],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",TI],Gl={};function Oe(e){let t=MI(e),n=Mm(t);if(n)return n;let r=t.split("-")[0];if(n=Mm(r),n)return n;if(r==="en")return SI;throw new D(701,!1)}function Mm(e){return e in Gl||(Gl[e]=fe.ng&&fe.ng.common&&fe.ng.common.locales&&fe.ng.common.locales[e]),Gl[e]}var ie=(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})(ie||{});function MI(e){return e.toLowerCase().replace(/_/g,"-")}var Ai="en-US";var AI=Ai;function Pb(e){typeof e=="string"&&(AI=e.toLowerCase().replace(/_/g,"-"))}function Lb(e,t,n){let r=w(),o=G(),i=ue();return Bb(o,r,r[Z],i,e,t,n),Lb}function jb(e,t,n){let r=w(),o=G(),i=ue();return(i.type&3||n)&&lf(i,o,r,n,r[Z],e,t,ur(i,r,t)),jb}function Bb(e,t,n,r,o,i,s){let u=!0,a=null;if((r.type&3||s)&&(a??=ur(r,t,i),lf(r,e,t,s,n,o,i,a)&&(u=!1)),u){let c=r.outputs?.[o],l=r.hostDirectiveOutputs?.[o];if(l&&l.length)for(let d=0;d<l.length;d+=2){let h=l[d],f=l[d+1];a??=ur(r,t,i),wu(r,t,h,f,o,a)}if(c&&c.length)for(let d of c)a??=ur(r,t,i),wu(r,t,d,o,o,a)}}function Ni(e=1){return Bg(e)}function NI(e,t){let n=null,r=tw(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?wy(e,i,!0):ow(r,i))return o}return n}function kI(e){let t=w()[_e][Ne];if(!t.projection){let n=e?e.length:1,r=t.projection=fg(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?NI(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function RI(e,t=0,n,r,o,i){let s=w(),u=G(),a=r?e+1:null;a!==null&&to(s,u,a,r,o,i,null,n);let c=gr(u,K+e,16,null,n||null);c.projection===null&&(c.projection=t),Al();let d=!s[Qn]||xl();s[_e][Ne].projection[c.projection]===null&&a!==null?FI(s,u,a):d&&!ju(c)&&Sw(u,s,c)}function FI(e,t,n){let r=K+n,o=t.data[r],i=e[r],s=Cu(i,o.tView.ssrId),u=wi(e,o,void 0,{dehydratedView:s});xi(i,u,0,eo(o,s))}function Vb(e,t,n,r){return hb(e,t,n,r),Vb}function Hb(e,t,n){return pb(e,t,n),Hb}function OI(e){let t=w(),n=G(),r=nu();oi(r+1);let o=ff(n,r);if(e.dirty&&Dg(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=mb(t,r);e.reset(i,Km),e.notifyOnChanges()}return!0}return!1}function PI(){return df(w(),nu())}function $b(e,t,n,r,o){return bb(t,hb(e,n,r,o)),$b}function Ub(e,t,n,r){return bb(e,pb(t,n,r)),Ub}function LI(e=1){oi(nu()+e)}function jI(e){let t=Nl();return ti(t,K+e)}function lu(e,t){return e<<17|t<<2}function fr(e){return e>>17&32767}function BI(e){return(e&2)==2}function VI(e,t){return e&131071|t<<17}function Nd(e){return e|2}function no(e){return(e&131068)>>2}function Wl(e,t){return e&-131069|t<<2}function HI(e){return(e&1)===1}function kd(e){return e|1}function $I(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,u=fr(s),a=no(s);e[r]=n;let c=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||Vr(d,l)>0)&&(c=!0)}else l=n;if(o)if(a!==0){let h=fr(e[u+1]);e[r+1]=lu(h,u),h!==0&&(e[h+1]=Wl(e[h+1],r)),e[u+1]=VI(e[u+1],r)}else e[r+1]=lu(u,0),u!==0&&(e[u+1]=Wl(e[u+1],r)),u=r;else e[r+1]=lu(a,0),u===0?u=r:e[a+1]=Wl(e[a+1],r),a=r;c&&(e[r+1]=Nd(e[r+1])),Am(e,l,r,!0),Am(e,l,r,!1),UI(t,l,e,r,i),s=lu(u,a),i?t.classBindings=s:t.styleBindings=s}function UI(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Vr(i,t)>=0&&(n[r+1]=kd(n[r+1]))}function Am(e,t,n,r){let o=e[n+1],i=t===null,s=r?fr(o):no(o),u=!1;for(;s!==0&&(u===!1||i);){let a=e[s],c=e[s+1];zI(a,t)&&(u=!0,e[s+1]=r?kd(c):Nd(c)),s=r?fr(c):no(c)}u&&(e[n+1]=r?Nd(o):kd(o))}function zI(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Vr(e,t)>=0:!1}var pe={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function zb(e){return e.substring(pe.key,pe.keyEnd)}function qI(e){return e.substring(pe.value,pe.valueEnd)}function GI(e){return Wb(e),qb(e,ro(e,0,pe.textEnd))}function qb(e,t){let n=pe.textEnd;return n===t?-1:(t=pe.keyEnd=ZI(e,pe.key=t,n),ro(e,t,n))}function WI(e){return Wb(e),Gb(e,ro(e,0,pe.textEnd))}function Gb(e,t){let n=pe.textEnd,r=pe.key=ro(e,t,n);return n===r?-1:(r=pe.keyEnd=YI(e,r,n),r=Nm(e,r,n,58),r=pe.value=ro(e,r,n),r=pe.valueEnd=QI(e,r,n),Nm(e,r,n,59))}function Wb(e){pe.key=0,pe.keyEnd=0,pe.value=0,pe.valueEnd=0,pe.textEnd=e.length}function ro(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function ZI(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function YI(e,t,n){let r;for(;t<n&&((r=e.charCodeAt(t))===45||r===95||(r&-33)>=65&&(r&-33)<=90||r>=48&&r<=57);)t++;return t}function Nm(e,t,n,r){return t=ro(e,t,n),t<n&&t++,t}function QI(e,t,n){let r=-1,o=-1,i=-1,s=t,u=s;for(;s<n;){let a=e.charCodeAt(s++);if(a===59)return u;a===34||a===39?u=s=km(e,a,s,n):t===s-4&&i===85&&o===82&&r===76&&a===40?u=s=km(e,41,s,n):a>32&&(u=s),i=o,o=r,r=a&-33}return u}function km(e,t,n,r){let o=-1,i=n;for(;i<r;){let s=e.charCodeAt(i++);if(s==t&&o!==92)return i;s==92&&o===92?o=0:o=s}throw new Error}function ua(e,t,n){return Yb(e,t,n,!1),ua}function Zb(e,t){return Yb(e,t,null,!0),Zb}function ho(e){Qb(Xb,KI,e,!1)}function KI(e,t){for(let n=WI(t);n>=0;n=Gb(t,n))Xb(e,zb(t),qI(t))}function ki(e){Qb(o2,JI,e,!0)}function JI(e,t){for(let n=GI(t);n>=0;n=qb(t,n))Jo(e,zb(t),!0)}function Yb(e,t,n,r){let o=w(),i=G(),s=eu(2);if(i.firstUpdatePass&&Jb(i,e,s,r),t!==we&&ke(o,s,t)){let u=i.data[at()];e1(i,u,o,o[Z],e,o[s+1]=s2(t,n),r,s)}}function Qb(e,t,n,r){let o=G(),i=eu(2);o.firstUpdatePass&&Jb(o,null,i,r);let s=w();if(n!==we&&ke(s,i,n)){let u=o.data[at()];if(t1(u,r)&&!Kb(o,i)){let a=r?u.classesWithoutHost:u.stylesWithoutHost;a!==null&&(n=Vs(a,n||"")),Ad(o,u,s,n,r)}else i2(o,u,s,s[Z],s[i+1],s[i+1]=r2(e,t,n),r,i)}}function Kb(e,t){return t>=e.expandoStartIndex}function Jb(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[at()],s=Kb(e,n);t1(i,r)&&t===null&&!s&&(t=!1),t=XI(o,i,t,r),$I(o,i,t,n,s,r)}}function XI(e,t,n,r){let o=Og(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Zl(null,e,t,n,r),n=vi(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Zl(o,e,t,n,r),i===null){let a=e2(e,t,r);a!==void 0&&Array.isArray(a)&&(a=Zl(null,e,t,a[1],r),a=vi(a,t.attrs,r),t2(e,t,r,a))}else i=n2(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function e2(e,t,n){let r=n?t.classBindings:t.styleBindings;if(no(r)!==0)return e[fr(r)]}function t2(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[fr(o)]=r}function n2(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=vi(r,s,n)}return vi(r,t.attrs,n)}function Zl(e,t,n,r,o){let i=null,s=n.directiveEnd,u=n.directiveStylingLast;for(u===-1?u=n.directiveStart:u++;u<s&&(i=t[u],r=vi(r,i.hostAttrs,o),i!==e);)u++;return e!==null&&(n.directiveStylingLast=u),r}function vi(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]),Jo(e,s,n?!0:t[++i]))}return e===void 0?null:e}function r2(e,t,n){if(n==null||n==="")return Ee;let r=[],o=Ue(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 Xb(e,t,n){Jo(e,t,Ue(n))}function o2(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&Jo(e,r,n)}function i2(e,t,n,r,o,i,s,u){o===we&&(o=Ee);let a=0,c=0,l=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;l!==null||d!==null;){let h=a<o.length?o[a+1]:void 0,f=c<i.length?i[c+1]:void 0,p=null,m;l===d?(a+=2,c+=2,h!==f&&(p=d,m=f)):d===null||l!==null&&l<d?(a+=2,p=l):(c+=2,p=d,m=f),p!==null&&e1(e,t,n,r,p,m,s,u),l=a<o.length?o[a]:null,d=c<i.length?i[c]:null}}function e1(e,t,n,r,o,i,s,u){if(!(t.type&3))return;let a=e.data,c=a[u+1],l=HI(c)?Rm(a,t,n,o,no(c),s):void 0;if(!ku(l)){ku(i)||BI(c)&&(i=Rm(a,null,n,o,u,s));let d=bl(at(),n);Aw(r,s,d,o,i)}}function Rm(e,t,n,r,o,i){let s=t===null,u;for(;o>0;){let a=e[o],c=Array.isArray(a),l=c?a[1]:a,d=l===null,h=n[o+1];h===we&&(h=d?Ee:void 0);let f=d?Ws(h,r):l===r?h:void 0;if(c&&!ku(f)&&(f=Ws(a,r)),ku(f)&&(u=f,s))return u;let p=e[o+1];o=s?fr(p):no(p)}if(t!==null){let a=i?t.residualClasses:t.residualStyles;a!=null&&(u=Ws(a,r))}return u}function ku(e){return e!==void 0}function s2(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=Yo(Ue(e)))),e}function t1(e,t){return(e.flags&(t?8:16))!==0}function u2(e,t=""){let n=w(),r=G(),o=e+K,i=r.firstCreatePass?gr(r,o,1,t,null):r.data[o],s=a2(r,n,i,t);n[o]=s,iu()&&Xd(r,n,s,i),rr(i,!1)}var a2=(e,t,n,r)=>(ii(!0),$_(t[Z],r));function n1(e,t,n,r=""){return ke(e,ut(),n)?t+vn(n)+r:we}function r1(e,t,n,r,o,i=""){let s=Ag(),u=ib(e,s,n,o);return eu(2),u?t+vn(n)+r+vn(o)+i:we}function o1(e){return Mf("",e),o1}function Mf(e,t,n){let r=w(),o=n1(r,e,t,n);return o!==we&&s1(r,at(),o),Mf}function i1(e,t,n,r,o){let i=w(),s=r1(i,e,t,n,r,o);return s!==we&&s1(i,at(),s),i1}function s1(e,t,n){let r=bl(t,e);U_(e[Z],r,n)}function u1(e,t,n){bf(t)&&(t=t());let r=w(),o=ut();if(ke(r,o,t)){let i=G(),s=wn();Py(s,r,e,t,r[Z],n)}return u1}function c2(e,t){let n=bf(e);return n&&e.set(t),n}function a1(e,t){let n=w(),r=G(),o=ue();return Bb(r,n,n[Z],o,e,t),a1}var c1={};function aa(e){Nt("NgLet");let t=G(),n=w(),r=e+K,o=gr(t,r,128,null,null);return rr(o,!1),ni(t,n,r,c1),aa}function ca(e){let t=G(),n=w(),r=at();return ni(t,n,r,e),e}function la(e){let t=Nl(),n=ti(t,K+e);if(n===c1)throw new D(314,!1);return n}function l2(e){return ke(w(),ut(),e)?vn(e):we}function d2(e,t,n=""){return n1(w(),e,t,n)}function f2(e,t,n,r,o=""){return r1(w(),e,t,n,r,o)}function Fm(e,t,n){let r=G();r.firstCreatePass&&l1(t,r.data,r.blueprint,st(e),n)}function l1(e,t,n,r,o){if(e=le(e),Array.isArray(e))for(let i=0;i<e.length;i++)l1(e[i],t,n,r,o);else{let i=G(),s=w(),u=ue(),a=Gn(e)?e:le(e.provide),c=fl(e),l=u.providerIndexes&1048575,d=u.directiveStart,h=u.providerIndexes>>20;if(Gn(e)||!e.multi){let f=new ar(c,o,ee,null),p=Ql(a,t,o?l:l+h,d);p===-1?(Jl(vu(u,s),i,a),Yl(i,e,t.length),t.push(a),u.directiveStart++,u.directiveEnd++,o&&(u.providerIndexes+=1048576),n.push(f),s.push(f)):(n[p]=f,s[p]=f)}else{let f=Ql(a,t,l+h,d),p=Ql(a,t,l,l+h),m=f>=0&&n[f],g=p>=0&&n[p];if(o&&!g||!o&&!m){Jl(vu(u,s),i,a);let y=g2(o?h2:p2,n.length,o,r,c,e);!o&&g&&(n[p].providerFactory=y),Yl(i,e,t.length,0),t.push(a),u.directiveStart++,u.directiveEnd++,o&&(u.providerIndexes+=1048576),n.push(y),s.push(y)}else{let y=d1(n[o?p:f],c,!o&&r);Yl(i,e,f>-1?f:p,y)}!o&&r&&g&&n[p].componentProviders++}}}function Yl(e,t,n,r){let o=Gn(t),i=yg(t);if(o||i){let a=(i?le(t.useClass):t).prototype.ngOnDestroy;if(a){let c=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let l=c.indexOf(n);l===-1?c.push(n,[r,a]):c[l+1].push(r,a)}else c.push(n,a)}}}function d1(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Ql(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function p2(e,t,n,r,o){return Rd(this.multi,[])}function h2(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let u=this.providerFactory.componentProviders,a=fi(r,r[S],this.providerFactory.index,o);s=a.slice(0,u),Rd(i,s);for(let c=u;c<a.length;c++)s.push(a[c])}else s=[],Rd(i,s);return s}function Rd(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function g2(e,t,n,r,o,i){let s=new ar(e,n,ee,null);return s.multi=[],s.index=t,s.componentProviders=0,d1(s,o,r&&!n),s}function m2(e,t){return n=>{n.providersResolver=(r,o)=>Fm(r,o?o(e):e,!1),t&&(n.viewProvidersResolver=(r,o)=>Fm(r,o?o(t):t,!0))}}function y2(e,t){let n=Zr()+e,r=w();return r[n]===we?cf(r,n,t()):wx(r,n)}function b2(e,t,n){return p1(w(),Zr(),e,t,n)}function v2(e,t,n,r){return h1(w(),Zr(),e,t,n,r)}function f1(e,t){let n=e[t];return n===we?void 0:n}function p1(e,t,n,r,o,i){let s=t+n;return ke(e,s,o)?cf(e,s+1,i?r.call(i,o):r(o)):f1(e,s+1)}function h1(e,t,n,r,o,i,s){let u=t+n;return ib(e,u,o,i)?cf(e,u+2,s?r.call(s,o,i):r(o,i)):f1(e,u+2)}function D2(e,t){let n=G(),r,o=e+K;n.firstCreatePass?(r=E2(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=mn(r.type,!0)),s,u=Me(ee);try{let a=bu(!1),c=i();return bu(a),ni(n,w(),o,c),c}finally{Me(u)}}function E2(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function C2(e,t,n){let r=e+K,o=w(),i=ti(o,r);return g1(o,r)?p1(o,Zr(),t,i.transform,n,i):i.transform(n)}function _2(e,t,n,r){let o=e+K,i=w(),s=ti(i,o);return g1(i,o)?h1(i,Zr(),t,s.transform,n,r,s):s.transform(n,r)}function g1(e,t){return e[S].data[t].pure}function w2(e,t){return Yu(e,t)}var Ru=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},x2=(()=>{class e{compileModuleSync(n){return new Mu(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=ol(n),i=Cy(o.declarations).reduce((s,u)=>{let a=Tt(u);return a&&s.push(new Mn(a)),s},[]);return new Ru(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=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var m1=(()=>{class e{applicationErrorHandler=b(Gt);appRef=b(co);taskService=b(or);ngZone=b(Ce);zonelessEnabled=b(ui);tracing=b(ft,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new ne;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Wo):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(b(Bl,{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?Gg:Pl;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(Wo+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=T({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function y1(){return[{provide:wt,useExisting:m1},{provide:Ce,useClass:Zo},{provide:ui,useValue:!0}]}function I2(){return typeof $localize<"u"&&$localize.locale||Ai}var go=new x("",{factory:()=>b(go,{optional:!0,skipSelf:!0})||I2()});var da=class{destroyed=!1;listeners=null;errorHandler=b(We,{optional:!0});destroyRef=b($e);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new D(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?.indexOf(t);n!==void 0&&n!==-1&&this.listeners?.splice(n,1)}}}emit(t){if(this.destroyed){console.warn(xt(953,!1));return}if(this.listeners===null)return;let n=I(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{I(n)}}};function xe(e){return eg(e)}function Re(e,t){return Fo(e,t?.equal)}var T2=e=>e;function Af(e,t){if(typeof e=="function"){let n=Bc(e,T2,t?.equal);return b1(n,t?.debugName)}else{let n=Bc(e.source,e.computation,e.equal);return b1(n,e.debugName)}}function b1(e,t){let n=e[se],r=e;return r.set=o=>J0(n,o),r.update=o=>X0(n,o),r.asReadonly=si.bind(e),r}function S2(e){let t=e.request,n=e.params??t??(()=>null);return new fa(n,A2(e),e.defaultValue,e.equal?M2(e.equal):void 0,e.debugName,e.injector??b(me))}var Nf=class{value;isLoading;constructor(t,n){this.value=t,this.value.set=this.set.bind(this),this.value.update=this.update.bind(this),this.value.asReadonly=si,this.isLoading=Re(()=>this.status()==="loading"||this.status()==="reloading",void 0)}isError=Re(()=>this.status()==="error");update(t){this.set(t(xe(this.value)))}isValueDefined=Re(()=>this.isError()?!1:this.value()!==void 0);_snapshot;get snapshot(){return this._snapshot??=Re(()=>{let t=this.status();return t==="error"?{status:"error",error:this.error()}:{status:t,value:this.value()}})}hasValue(){return this.isValueDefined()}asReadonly(){return this}},fa=class extends Nf{loaderFn;equal;debugName;pendingTasks;state;extRequest;effectRef;pendingController;resolvePendingTask=void 0;destroyed=!1;unregisterOnDestroy;status;error;constructor(t,n,r,o,i,s,u){super(Re(()=>{let a=this.state().stream?.();if(!a||this.state().status==="loading"&&this.error())return r;if(!kf(a))throw new pa(this.error());return a.value},{equal:o}),i),this.loaderFn=n,this.equal=o,this.debugName=i,this.extRequest=Af({source:t,computation:a=>({request:a,reload:0})}),this.state=Af({source:this.extRequest,computation:(a,c)=>{if(c){let l=a.request===void 0?"idle":"loading";return{extRequest:a,status:l,previousStatus:v1(c.value),stream:c.value.extRequest.request===a.request?c.value.stream:void 0}}else{let l=u?.(a.request);u=void 0;let d=a.request===void 0?"idle":l?"resolved":"loading";return{extRequest:a,status:d,previousStatus:"idle",stream:l}}}}),this.effectRef=ai(this.loadEffect.bind(this),{injector:s,manualCleanup:!0}),this.pendingTasks=s.get(ir),this.unregisterOnDestroy=s.get($e).onDestroy(()=>this.destroy()),this.status=Re(()=>v1(this.state()),void 0),this.error=Re(()=>{let a=this.state().stream?.();return a&&!kf(a)?a.error:void 0},void 0)}set(t){if(this.destroyed)return;let n=xe(this.error),r=xe(this.state);if(!n){let o=xe(this.value);if(r.status==="local"&&(this.equal?this.equal(o,t):o===t))return}this.state.set({extRequest:r.extRequest,status:"local",previousStatus:"local",stream:xn({value:t},void 0)}),this.abortInProgressLoad()}reload(){let{status:t}=xe(this.state);return t==="idle"||t==="loading"?!1:(this.extRequest.update(({request:n,reload:r})=>({request:n,reload:r+1})),!0)}destroy(){this.destroyed=!0,this.unregisterOnDestroy(),this.effectRef.destroy(),this.abortInProgressLoad(),this.state.set({extRequest:{request:void 0,reload:0},status:"idle",previousStatus:"idle",stream:void 0})}loadEffect(){return vt(this,null,function*(){let t=this.extRequest(),{status:n,previousStatus:r}=xe(this.state);if(t.request===void 0)return;if(n!=="loading")return;this.abortInProgressLoad();let o=this.resolvePendingTask=this.pendingTasks.add(),{signal:i}=this.pendingController=new AbortController;try{let s=yield xe(()=>this.loaderFn({params:t.request,abortSignal:i,previous:{status:r}}));if(i.aborted||xe(this.extRequest)!==t)return;this.state.set({extRequest:t,status:"resolved",previousStatus:"resolved",stream:s})}catch(s){if(i.aborted||xe(this.extRequest)!==t)return;this.state.set({extRequest:t,status:"resolved",previousStatus:"error",stream:xn({error:Ff(s)},void 0)})}finally{o?.(),o=void 0}})}abortInProgressLoad(){xe(()=>this.pendingController?.abort()),this.pendingController=void 0,this.resolvePendingTask?.(),this.resolvePendingTask=void 0}};function M2(e){return(t,n)=>t===void 0||n===void 0?t===n:e(t,n)}function A2(e){return N2(e)?e.stream:t=>vt(null,null,function*(){try{return xn({value:yield e.loader(t)},void 0)}catch(n){return xn({error:Ff(n)},void 0)}})}function N2(e){return!!e.stream}function v1(e){switch(e.status){case"loading":return e.extRequest.reload===0?"loading":"reloading";case"resolved":return kf(e.stream())?"resolved":"error";default:return e.status}}function kf(e){return e.error===void 0}function Ff(e){return k2(e)?e:new Rf(e)}function k2(e){return e instanceof Error||typeof e=="object"&&typeof e.name=="string"&&typeof e.message=="string"}var pa=class extends Error{constructor(t){super(t.message,{cause:t})}},Rf=class extends Error{constructor(t){super(String(t),{cause:t})}};var M1=Symbol("InputSignalNode#UNSET"),V2=P(M({},Oo),{transformFn:void 0,applyValueToInputSignal(e,t){jn(e,t)}});function A1(e,t){let n=Object.create(V2);n.value=e,n.transformFn=t?.transform;function r(){if(cn(n),n.value===M1){let o=null;throw new D(-950,o)}return n.value}return r[se]=n,r}var D1=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>Od(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},F7=(()=>{let e=new x("");return e.__NG_ELEMENT_ID__=t=>{let n=ue();if(n===null)throw new D(-204,!1);if(n.type&2)return n.value;if(t&8)return null;throw new D(-204,!1)},e})();function O7(e){return new da}function E1(e,t){return A1(e,t)}function H2(e){return A1(M1,e)}var Pe=(E1.required=H2,E1);function C1(e,t){return hf(t)}function $2(e,t){return gf(t)}var P7=(C1.required=$2,C1);function L7(e,t){return yb(t)}function _1(e,t){return hf(t)}function U2(e,t){return gf(t)}var j7=(_1.required=U2,_1);var Pf=new x(""),z2=new x("");function Ri(e){return!e.moduleRef}function q2(e){let t=Ri(e)?e.r3Injector:e.moduleRef.injector,n=t.get(Ce);return n.run(()=>{Ri(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Gt),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),Ri(e)){let i=()=>t.destroy(),s=e.platformInjector.get(Pf);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Pf);s.add(i),e.moduleRef.onDestroy(()=>{di(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return W2(r,n,()=>{let i=t.get(or),s=i.add(),u=t.get(Ef);return u.runInitializers(),u.donePromise.then(()=>{let a=t.get(go,Ai);if(Pb(a||Ai),!t.get(z2,!0))return Ri(e)?t.get(co):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Ri(e)){let l=t.get(co);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return G2?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var G2;function W2(e,t,n){try{let r=n();return Mi(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var ha=null;function Z2(e=[],t){return me.create({name:t,providers:[{provide:Xo,useValue:"platform"},{provide:Pf,useValue:new Set([()=>ha=null])},...e]})}function Y2(e=[]){if(ha)return ha;let t=Z2(e);return ha=t,Nb(),Q2(t),t}function Q2(e){let t=e.get(Pu,null);Ur(e,()=>{t?.forEach(n=>n())})}var K2=1e4;var B7=K2-1e3;var qf=(()=>{class e{static __NG_ELEMENT_ID__=J2}return e})();function J2(e){return X2(ue(),w(),(e&16)===16)}function X2(e,t,n){if(Mt(e)&&!n){let r=Ve(e.index,t);return new Tn(r,r)}else if(e.type&175){let r=t[_e];return new Tn(r,t)}return null}var Lf=class{supports(t){return af(t)}create(t){return new jf(t)}},eT=(e,t)=>t,jf=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||eT}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<w1(r,o,i)?n:r,u=w1(s,o,i),a=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(n=n._next,s.previousIndex==null)o++;else{i||(i=[]);let c=u-o,l=a-o;if(c!=l){for(let h=0;h<c;h++){let f=h<i.length?i[h]:i[h]=0,p=f+h;l<=p&&p<c&&(i[h]=f+1)}let d=s.previousIndex;i[d]=l-c}}u!==a&&t(s,u,a)}}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=[]),!af(t))throw new D(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 u=0;u<this.length;u++)i=t[u],s=this._trackByFn(u,i),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,i,s,u),r=!0):(r&&(n=this._verifyReinsertion(n,i,s,u)),Object.is(n.item,i)||this._addIdentityChange(n,i)),n=n._next}else o=0,ob(t,u=>{s=this._trackByFn(o,u),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,u,s,o),r=!0):(r&&(n=this._verifyReinsertion(n,u,s,o)),Object.is(n.item,u)||this._addIdentityChange(n,u)),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 Bf(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 ga),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 ga),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}},Bf=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}},Vf=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}},ga=class{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new Vf,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 w1(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}var Hf=class{supports(t){return t instanceof Map||Ku(t)}create(){return new $f}},$f=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(t){let n;for(n=this._mapHead;n!==null;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;n!==null;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;n!==null;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}diff(t){if(!t)t=new Map;else if(!(t instanceof Map||Ku(t)))throw new D(900,!1);return this.check(t)?this:null}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){let r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){let o=this._records.get(t);this._maybeAddToChanges(o,n);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new Uf(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;t!==null;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;t!=null;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){this._additionsHead===null?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){this._changesHead===null?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}},Uf=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function x1(){return new Gf([new Lf])}var Gf=(()=>{class e{factories;static \u0275prov=T({token:e,providedIn:"root",factory:x1});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=b(e,{optional:!0,skipSelf:!0});return e.create(n,r||x1())}}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new D(901,!1)}}return e})();function I1(){return new ma([new Hf])}var ma=(()=>{class e{static \u0275prov=T({token:e,providedIn:"root",factory:I1});factories;constructor(n){this.factories=n}static create(n,r){if(r){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:()=>{let r=b(e,{optional:!0,skipSelf:!0});return e.create(n,r||I1())}}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new D(901,!1)}}return e})();var N1=(()=>{class e{constructor(n){}static \u0275fac=function(r){return new(r||e)(A(co))};static \u0275mod=Kt({type:e});static \u0275inj=It({})}return e})();function k1(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;Y(q.BootstrapApplicationStart);try{let i=o?.injector??Y2(r),s=[y1(),Zg,...n||[]],u=new bi({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return q2({r3Injector:u.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{Y(q.BootstrapApplicationEnd)}}function tT(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function nT(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}var Of=Symbol("NOT_SET"),R1=new Set,rT=P(M({},Oo),{kind:"afterRenderEffectPhase",consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:Of,cleanup:null,consumerMarkedDirty(){if(this.sequence.impl.executing){if(this.sequence.lastPhase===null||this.sequence.lastPhase<this.phase)return;this.sequence.erroredOrDestroyed=!0}this.sequence.scheduler.notify(7)},phaseFn(e){if(this.sequence.lastPhase=this.phase,!this.dirty)return this.signal;if(this.dirty=!1,this.value!==Of&&!Tr(this))return this.signal;try{for(let o of this.cleanup??R1)o()}finally{this.cleanup?.clear()}let t=[];e!==void 0&&t.push(e),t.push(this.registerCleanupFn);let n=Lt(this),r;try{r=this.userFn.apply(null,t)}finally{ln(this,n)}return(this.value===Of||!this.equal(this.value,r))&&(this.value=r,this.version++),this.signal}}),zf=class extends pi{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];onDestroyFns=null;constructor(t,n,r,o,i,s=null){super(t,[void 0,void 0,void 0,void 0],r,!1,i.get($e),s),this.scheduler=o;for(let u of Qd){let a=n[u];if(a===void 0)continue;let c=Object.create(rT);c.sequence=this,c.phase=u,c.userFn=a,c.dirty=!0,c.signal=()=>(cn(c),c.value),c.signal[se]=c,c.registerCleanupFn=l=>(c.cleanup??=new Set).add(l),this.nodes[u]=c,this.hooks[u]=l=>c.phaseFn(l)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){if(this.onDestroyFns!==null)for(let t of this.onDestroyFns)t();super.destroy();for(let t of this.nodes)if(t)try{for(let n of t.cleanup??R1)n()}finally{dn(t)}}};function V7(e,t){let n=t?.injector??b(me),r=n.get(wt),o=n.get(Uu),i=n.get(ft,null,{optional:!0});o.impl??=n.get(Kd);let s=e;typeof s=="function"&&(s={mixedReadWrite:e});let u=n.get(Yr,null,{optional:!0}),a=new zf(o.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],u?.view,r,n,i?.snapshot(null));return o.impl.register(a),a}function H7(e,t){let n=Tt(e),r=t.elementInjector||$r();return new Mn(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings)}function $7(e){let t=Tt(e);if(!t)return null;let n=new Mn(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}var bo={};xr(bo,{appendToAll:()=>sT,createThemeStyles:()=>uT,merge:()=>iT,structuralStyles:()=>aT,toProp:()=>qe});var oT=` |
| 5 | &:not([disabled]) { |
| 6 | cursor: pointer; |
nothing calls this directly
no test coverage detected