-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathchunk-GR3MIE2K.js
7 lines (7 loc) · 161 KB
/
chunk-GR3MIE2K.js
1
2
3
4
5
6
7
import{a as J,b as K}from"./chunk-4CLCTAJ7.js";function g(e){return typeof e=="function"}function wo(e){return g(e?.lift)}function E(e){return t=>{if(wo(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 ht(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 Tn=ht(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
`)}`:"",this.name="UnsubscriptionError",this.errors=n});function He(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var P=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(g(r))try{r()}catch(i){t=i instanceof Tn?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{sa(i)}catch(s){t=t??[],s instanceof Tn?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Tn(t)}}add(t){var n;if(t&&t!==this)if(this.closed)sa(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)&&He(n,t)}remove(t){let{_finalizers:n}=this;n&&He(n,t),t instanceof e&&t._removeParent(this)}};P.EMPTY=(()=>{let e=new P;return e.closed=!0,e})();var Do=P.EMPTY;function Nn(e){return e instanceof P||e&&"closed"in e&&g(e.remove)&&g(e.add)&&g(e.unsubscribe)}function sa(e){g(e)?e():e.unsubscribe()}var le={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var gt={setTimeout(e,t,...n){let{delegate:r}=gt;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=gt;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Sn(e){gt.setTimeout(()=>{let{onUnhandledError:t}=le;if(t)t(e);else throw e})}function Be(){}var aa=bo("C",void 0,void 0);function ca(e){return bo("E",void 0,e)}function la(e){return bo("N",e,void 0)}function bo(e,t,n){return{kind:e,value:t,error:n}}var $e=null;function mt(e){if(le.useDeprecatedSynchronousErrorHandling){let t=!$e;if(t&&($e={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=$e;if($e=null,n)throw r}}else e()}function ua(e){le.useDeprecatedSynchronousErrorHandling&&$e&&($e.errorThrown=!0,$e.error=e)}var Ue=class extends P{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Nn(t)&&t.add(this)):this.destination=zd}static create(t,n,r){return new yt(t,n,r)}next(t){this.isStopped?Co(la(t),this):this._next(t)}error(t){this.isStopped?Co(ca(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Co(aa,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()}}},qd=Function.prototype.bind;function Mo(e,t){return qd.call(e,t)}var xo=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){An(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){An(r)}else An(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){An(n)}}},yt=class extends Ue{constructor(t,n,r){super();let o;if(g(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&le.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Mo(t.next,i),error:t.error&&Mo(t.error,i),complete:t.complete&&Mo(t.complete,i)}):o=t}this.destination=new xo(o)}};function An(e){le.useDeprecatedSynchronousErrorHandling?ua(e):Sn(e)}function Wd(e){throw e}function Co(e,t){let{onStoppedNotification:n}=le;n&>.setTimeout(()=>n(e,t))}var zd={closed:!0,next:Be,error:Wd,complete:Be};function y(e,t,n,r,o){return new _o(e,t,n,r,o)}var _o=class extends Ue{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function he(e,t){return E((n,r)=>{let o=0;n.subscribe(y(r,i=>{r.next(e.call(t,i,o++))}))})}function fa(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?i(u.value):o(u.value).then(a,c)}l((r=r.apply(e,t||[])).next())})}function da(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 qe(e){return this instanceof qe?(this.v=e,this):new qe(e)}function pa(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(h){return Promise.resolve(h).then(f,d)}}function a(f,h){r[f]&&(o[f]=function(w){return new Promise(function(O,T){i.push([f,w,O,T])>1||c(f,w)})},h&&(o[f]=h(o[f])))}function c(f,h){try{l(r[f](h))}catch(w){p(i[0][3],w)}}function l(f){f.value instanceof qe?Promise.resolve(f.value.v).then(u,d):p(i[0][2],f)}function u(f){c("next",f)}function d(f){c("throw",f)}function p(f,h){f(h),i.shift(),i.length&&c(i[0][0],i[0][1])}}function ha(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 da=="function"?da(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},s)}}var vt=e=>e&&typeof e.length=="number"&&typeof e!="function";function On(e){return g(e?.then)}var It=typeof Symbol=="function"&&Symbol.observable||"@@observable";function X(e){return e}function Gd(...e){return To(e)}function To(e){return e.length===0?X:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var x=(()=>{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=Zd(n)?n:new yt(n,r,o);return mt(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=ga(r),new r((o,i)=>{let s=new yt({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[It](){return this}pipe(...n){return To(n)(this)}toPromise(n){return n=ga(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 ga(e){var t;return(t=e??le.Promise)!==null&&t!==void 0?t:Promise}function Qd(e){return e&&g(e.next)&&g(e.error)&&g(e.complete)}function Zd(e){return e&&e instanceof Ue||Qd(e)&&Nn(e)}function Rn(e){return g(e[It])}function kn(e){return Symbol.asyncIterator&&g(e?.[Symbol.asyncIterator])}function Pn(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 Yd(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Ln=Yd();function Fn(e){return g(e?.[Ln])}function jn(e){return pa(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield qe(n.read());if(o)return yield qe(void 0);yield yield qe(r)}}finally{n.releaseLock()}})}function Vn(e){return g(e?.getReader)}function N(e){if(e instanceof x)return e;if(e!=null){if(Rn(e))return Jd(e);if(vt(e))return Kd(e);if(On(e))return Xd(e);if(kn(e))return ma(e);if(Fn(e))return ef(e);if(Vn(e))return tf(e)}throw Pn(e)}function Jd(e){return new x(t=>{let n=e[It]();if(g(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Kd(e){return new x(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function Xd(e){return new x(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Sn)})}function ef(e){return new x(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function ma(e){return new x(t=>{nf(e,t).catch(n=>t.error(n))})}function tf(e){return ma(jn(e))}function nf(e,t){var n,r,o,i;return fa(this,void 0,void 0,function*(){try{for(n=ha(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 G(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 ya(e,t,n,r,o,i,s,a){let c=[],l=0,u=0,d=!1,p=()=>{d&&!c.length&&!l&&t.complete()},f=w=>l<r?h(w):c.push(w),h=w=>{i&&t.next(w),l++;let O=!1;N(n(w,u++)).subscribe(y(t,T=>{o?.(T),i?f(T):t.next(T)},()=>{O=!0},void 0,()=>{if(O)try{for(l--;c.length&&l<r;){let T=c.shift();s?G(t,s,()=>h(T)):h(T)}p()}catch(T){t.error(T)}}))};return e.subscribe(y(t,f,()=>{d=!0,p()})),()=>{a?.()}}function oe(e,t,n=1/0){return g(t)?oe((r,o)=>he((i,s)=>t(r,i,o,s))(N(e(r,o))),n):(typeof t=="number"&&(n=t),E((r,o)=>ya(r,o,e,n)))}function Qt(e=1/0){return oe(X,e)}var we=new x(e=>e.complete());function Hn(e){return e&&g(e.schedule)}function No(e){return e[e.length-1]}function Bn(e){return g(No(e))?e.pop():void 0}function ge(e){return Hn(No(e))?e.pop():void 0}function va(e,t){return typeof No(e)=="number"?e.pop():t}function $n(e,t=0){return E((n,r)=>{n.subscribe(y(r,o=>G(r,e,()=>r.next(o),t),()=>G(r,e,()=>r.complete(),t),o=>G(r,e,()=>r.error(o),t)))})}function Un(e,t=0){return E((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Ia(e,t){return N(e).pipe(Un(t),$n(t))}function Ea(e,t){return N(e).pipe(Un(t),$n(t))}function wa(e,t){return new x(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Da(e,t){return new x(n=>{let r;return G(n,t,()=>{r=e[Ln](),G(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)}),()=>g(r?.return)&&r.return()})}function qn(e,t){if(!e)throw new Error("Iterable cannot be null");return new x(n=>{G(n,t,()=>{let r=e[Symbol.asyncIterator]();G(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function ba(e,t){return qn(jn(e),t)}function Ma(e,t){if(e!=null){if(Rn(e))return Ia(e,t);if(vt(e))return wa(e,t);if(On(e))return Ea(e,t);if(kn(e))return qn(e,t);if(Fn(e))return Da(e,t);if(Vn(e))return ba(e,t)}throw Pn(e)}function me(e,t){return t?Ma(e,t):N(e)}function rf(...e){let t=ge(e),n=va(e,1/0),r=e;return r.length?r.length===1?N(r[0]):Qt(n)(me(r,t)):we}function So(){return E((e,t)=>{let n=null;e._refCount++;let r=y(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 Ao=class extends x{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,wo(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 P;let n=this.getSubject();t.add(this.source.subscribe(y(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=P.EMPTY)}return t}refCount(){return So()(this)}};var Et={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame,{delegate:r}=Et;r&&(t=r.requestAnimationFrame,n=r.cancelAnimationFrame);let o=t(i=>{n=void 0,e(i)});return new P(()=>n?.(o))},requestAnimationFrame(...e){let{delegate:t}=Et;return(t?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){let{delegate:t}=Et;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};var Ca=ht(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var Te=(()=>{class e extends x{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new Wn(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Ca}next(n){mt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){mt(()=>{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(){mt(()=>{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?Do:(this.currentObservers=null,i.push(n),new P(()=>{this.currentObservers=null,He(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new x;return n.source=this,n}}return e.create=(t,n)=>new Wn(t,n),e})(),Wn=class extends Te{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:Do}};var Zt=class extends Te{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 Oo={now(){return(Oo.delegate||Date).now()},delegate:void 0};var zn=class extends P{constructor(t,n){super()}schedule(t,n=0){return this}};var Yt={setInterval(e,t,...n){let{delegate:r}=Yt;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=Yt;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var wt=class extends zn{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 Yt.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&&Yt.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,He(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var Dt=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)}};Dt.now=Oo.now;var bt=class extends Dt{constructor(t,n=Dt.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 Jt=new bt(wt),xa=Jt;var Gn=class extends wt{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=Et.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&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&(Et.cancelAnimationFrame(n),t._scheduled=void 0)}};var Qn=class extends bt{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 of=new Qn(Gn);function sf(...e){let t=ge(e);return me(e,t)}function af(e,t){let n=g(e)?e:()=>e,r=o=>o.error(n());return new x(t?o=>t.schedule(r,0,o):r)}function cf(e){return!!e&&(e instanceof x||g(e.lift)&&g(e.subscribe))}var We=ht(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function _a(e){return e instanceof Date&&!isNaN(e)}var{isArray:lf}=Array;function uf(e,t){return lf(t)?e(...t):e(t)}function Mt(e){return he(t=>uf(e,t))}var{isArray:df}=Array,{getPrototypeOf:ff,prototype:pf,keys:hf}=Object;function Zn(e){if(e.length===1){let t=e[0];if(df(t))return{args:t,keys:null};if(gf(t)){let n=hf(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function gf(e){return e&&typeof e=="object"&&ff(e)===pf}function Yn(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function mf(...e){let t=ge(e),n=Bn(e),{args:r,keys:o}=Zn(e);if(r.length===0)return me([],t);let i=new x(yf(r,t,o?s=>Yn(o,s):X));return n?i.pipe(Mt(n)):i}function yf(e,t,n=X){return r=>{Ta(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Ta(t,()=>{let l=me(e[c],t),u=!1;l.subscribe(y(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Ta(e,t,n){e?G(n,e,t):t()}function Na(){return Qt(1)}function Ct(...e){return Na()(me(e,ge(e)))}function vf(e){return new x(t=>{N(e()).subscribe(t)})}function If(...e){let t=Bn(e),{args:n,keys:r}=Zn(e),o=new x(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u<s;u++){let d=!1;N(n[u]).subscribe(y(i,p=>{d||(d=!0,l--),a[u]=p},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?Yn(r,a):a),i.complete())}))}});return t?o.pipe(Mt(t)):o}var Ef=["addListener","removeListener"],wf=["addEventListener","removeEventListener"],Df=["on","off"];function Ro(e,t,n,r){if(g(n)&&(r=n,n=void 0),r)return Ro(e,t,n).pipe(Mt(r));let[o,i]=Cf(e)?wf.map(s=>a=>e[s](t,a,n)):bf(e)?Ef.map(Sa(e,t)):Mf(e)?Df.map(Sa(e,t)):[];if(!o&&vt(e))return oe(s=>Ro(s,t,n))(N(e));if(!o)throw new TypeError("Invalid event target");return new x(s=>{let a=(...c)=>s.next(1<c.length?c:c[0]);return o(a),()=>i(a)})}function Sa(e,t){return n=>r=>e[n](t,r)}function bf(e){return g(e.addListener)&&g(e.removeListener)}function Mf(e){return g(e.on)&&g(e.off)}function Cf(e){return g(e.addEventListener)&&g(e.removeEventListener)}function Jn(e=0,t,n=xa){let r=-1;return t!=null&&(Hn(t)?n=t:r=t),new x(o=>{let i=_a(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 xt(e,t){return E((n,r)=>{let o=0;n.subscribe(y(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Aa(e){return E((t,n)=>{let r=null,o=!1,i;r=t.subscribe(y(n,void 0,void 0,s=>{i=N(e(s,Aa(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Oa(e,t,n,r,o){return(i,s)=>{let a=n,c=t,l=0;i.subscribe(y(s,u=>{let d=l++;c=a?e(c,u,d):(a=!0,u),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function xf(e,t){return g(t)?oe(e,t,1):oe(e,1)}function Kt(e){return E((t,n)=>{let r=!1;t.subscribe(y(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function ze(e){return e<=0?()=>we:E((t,n)=>{let r=0;t.subscribe(y(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Ra(){return E((e,t)=>{e.subscribe(y(t,Be))})}function ko(e){return he(()=>e)}function Po(e,t){return t?n=>Ct(t.pipe(ze(1),Ra()),n.pipe(Po(e))):oe((n,r)=>N(e(n,r)).pipe(ze(1),ko(n)))}function _f(e,t=Jt){let n=Jn(e,t);return Po(()=>n)}function Kn(e=Tf){return E((t,n)=>{let r=!1;t.subscribe(y(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Tf(){return new We}function Nf(e){return E((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Sf(e,t){let n=arguments.length>=2;return r=>r.pipe(e?xt((o,i)=>e(o,i,r)):X,ze(1),n?Kt(t):Kn(()=>new We))}function Lo(e){return e<=0?()=>we:E((t,n)=>{let r=[];t.subscribe(y(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 Af(e,t){let n=arguments.length>=2;return r=>r.pipe(e?xt((o,i)=>e(o,i,r)):X,Lo(1),n?Kt(t):Kn(()=>new We))}function Of(){return E((e,t)=>{let n,r=!1;e.subscribe(y(t,o=>{let i=n;n=o,r&&t.next([i,o]),r=!0}))})}function Rf(e){let t=1/0,n;return e!=null&&(typeof e=="object"?{count:t=1/0,delay:n}=e:t=e),t<=0?()=>we:E((r,o)=>{let i=0,s,a=()=>{if(s?.unsubscribe(),s=null,n!=null){let l=typeof n=="number"?Jn(n):N(n(i)),u=y(o,()=>{u.unsubscribe(),c()});l.subscribe(u)}else c()},c=()=>{let l=!1;s=r.subscribe(y(o,void 0,()=>{++i<t?s?a():l=!0:o.complete()})),l&&a()};c()})}function ka(e,t){return E(Oa(e,t,arguments.length>=2,!0))}function kf(e){return E((t,n)=>{let r=!1,o=0;t.subscribe(y(n,i=>(r||(r=!e(i,o++)))&&n.next(i)))})}function Pa(...e){let t=ge(e);return E((n,r)=>{(t?Ct(e,n,t):Ct(e,n)).subscribe(r)})}function La(e,t){return E((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(y(r,c=>{o?.unsubscribe();let l=0,u=i++;N(e(c,u)).subscribe(o=y(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Fa(e){return E((t,n)=>{N(e).subscribe(y(n,()=>n.complete(),Be)),!n.closed&&t.subscribe(n)})}function ja(e,t,n){let r=g(e)||t||n?{next:e,error:t,complete:n}:e;return r?E((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(y(i,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),i.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):X}function Pf(e=Jt){return E((t,n)=>{let r=e.now();t.subscribe(y(n,o=>{let i=e.now(),s=i-r;r=i,n.next(new Fo(o,s))}))})}var Fo=class{constructor(t,n){this.value=t,this.interval=n}};function $o(e,t){return Object.is(e,t)}var L=null,Xt=!1,Uo=1,B=Symbol("SIGNAL");function D(e){let t=L;return L=e,t}function Va(){return L}function Lf(){return Xt}var Ge={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function er(e){if(Xt)throw new Error("");if(L===null)return;L.consumerOnSignalRead(e);let t=L.nextProducerIndex++;if(nr(L),t<L.producerNode.length&&L.producerNode[t]!==e&&en(L)){let n=L.producerNode[t];tr(n,L.producerIndexOfThis[t])}L.producerNode[t]!==e&&(L.producerNode[t]=e,L.producerIndexOfThis[t]=en(L)?Ua(e,L,t):0),L.producerLastReadVersion[t]=e.version}function Ff(){Uo++}function qo(e){if(!(en(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Uo)){if(!e.producerMustRecompute(e)&&!nn(e)){Ho(e);return}e.producerRecomputeValue(e),Ho(e)}}function Ha(e){if(e.liveConsumerNode===void 0)return;let t=Xt;Xt=!0;try{for(let n of e.liveConsumerNode)n.dirty||$a(n)}finally{Xt=t}}function Ba(){return L?.consumerAllowSignalWrites!==!1}function $a(e){e.dirty=!0,Ha(e),e.consumerMarkedDirty?.(e)}function Ho(e){e.dirty=!1,e.lastCleanEpoch=Uo}function _t(e){return e&&(e.nextProducerIndex=0),D(e)}function tn(e,t){if(D(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(en(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)tr(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function nn(e){nr(e);for(let t=0;t<e.producerNode.length;t++){let n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(qo(n),r!==n.version))return!0}return!1}function Tt(e){if(nr(e),en(e))for(let t=0;t<e.producerNode.length;t++)tr(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function Ua(e,t,n){if(qa(e),e.liveConsumerNode.length===0&&Wa(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=Ua(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function tr(e,t){if(qa(e),e.liveConsumerNode.length===1&&Wa(e))for(let r=0;r<e.producerNode.length;r++)tr(e.producerNode[r],e.producerIndexOfThis[r]);let n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){let r=e.liveConsumerIndexOfThis[t],o=e.liveConsumerNode[t];nr(o),o.producerIndexOfThis[r]=t}}function en(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function nr(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function qa(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function Wa(e){return e.producerNode!==void 0}function Wo(e){let t=Object.create(jf);t.computation=e;let n=()=>{if(qo(t),er(t),t.value===Xn)throw t.error;return t.value};return n[B]=t,n}var jo=Symbol("UNSET"),Vo=Symbol("COMPUTING"),Xn=Symbol("ERRORED"),jf=K(J({},Ge),{value:jo,dirty:!0,error:null,equal:$o,producerMustRecompute(e){return e.value===jo||e.value===Vo},producerRecomputeValue(e){if(e.value===Vo)throw new Error("Detected cycle in computations.");let t=e.value;e.value=Vo;let n=_t(e),r;try{r=e.computation()}catch(o){r=Xn,e.error=o}finally{tn(e,n)}if(t!==jo&&t!==Xn&&r!==Xn&&e.equal(t,r)){e.value=t;return}e.value=r,e.version++}});function Vf(){throw new Error}var za=Vf;function Ga(){za()}function Qa(e){za=e}var Hf=null;function Za(e){let t=Object.create(zo);t.value=e;let n=()=>(er(t),t.value);return n[B]=t,n}function rr(e,t){Ba()||Ga(),e.equal(e.value,t)||(e.value=t,Bf(e))}function Ya(e,t){Ba()||Ga(),rr(e,t(e.value))}var zo=K(J({},Ge),{equal:$o,value:void 0});function Bf(e){e.version++,Ff(),Ha(e),Hf?.()}function Ja(e,t,n){let r=Object.create($f);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;let o=c=>{r.cleanupFn=c};function i(c){return c.fn===null&&c.schedule===null}function s(c){i(c)||(Tt(c),c.cleanupFn(),c.fn=null,c.schedule=null,c.cleanupFn=Bo)}let a=()=>{if(r.fn===null)return;if(Lf())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!nn(r))return;r.hasRun=!0;let c=_t(r);try{r.cleanupFn(),r.cleanupFn=Bo,r.fn(o)}finally{tn(r,c)}};return r.ref={notify:()=>$a(r),run:a,cleanup:()=>r.cleanupFn(),destroy:()=>s(r),[B]:r},r.ref}var Bo=()=>{},$f=K(J({},Ge),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule!==null&&e.schedule(e.ref)},hasRun:!1,cleanupFn:Bo});var $c="https://g.co/ng/security#xss",M=class extends Error{code;constructor(t,n){super(Uf(t,n)),this.code=t}};function Uf(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}var Uc=Symbol("InputSignalNode#UNSET"),qf=K(J({},zo),{transformFn:void 0,applyValueToInputSignal(e,t){rr(e,t)}});function qc(e,t){let n=Object.create(qf);n.value=e,n.transformFn=t?.transform;function r(){if(er(n),n.value===Uc)throw new M(-950,!1);return n.value}return r[B]=n,r}function yn(e){return{toString:e}.toString()}var or="__parameters__";function Wf(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function Wc(e,t,n){return yn(()=>{let r=Wf(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(c,l,u){let d=c.hasOwnProperty(or)?c[or]:Object.defineProperty(c,or,{value:[]})[or];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),c}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var yr=globalThis;function S(e){for(let t in e)if(e[t]===S)return t;throw Error("Could not find renamed property on target object.")}function zf(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function ee(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(ee).join(", ")+"]";if(e==null)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;let t=e.toString();if(t==null)return""+t;let n=t.indexOf(`
`);return n===-1?t:t.substring(0,n)}function ii(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var Gf=S({__forward_ref__:S});function zc(e){return e.__forward_ref__=zc,e.toString=function(){return ee(this())},e}function W(e){return Gc(e)?e():e}function Gc(e){return typeof e=="function"&&e.hasOwnProperty(Gf)&&e.__forward_ref__===zc}function F(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Qf(e){return{providers:e.providers||[],imports:e.imports||[]}}function Yr(e){return Ka(e,Qc)||Ka(e,Zc)}function Vx(e){return Yr(e)!==null}function Ka(e,t){return e.hasOwnProperty(t)?e[t]:null}function Zf(e){let t=e&&(e[Qc]||e[Zc]);return t||null}function Xa(e){return e&&(e.hasOwnProperty(ec)||e.hasOwnProperty(Yf))?e[ec]:null}var Qc=S({\u0275prov:S}),ec=S({\u0275inj:S}),Zc=S({ngInjectableDef:S}),Yf=S({ngInjectorDef:S}),A=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=F({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Yc(e){return e&&!!e.\u0275providers}var Jf=S({\u0275cmp:S}),Kf=S({\u0275dir:S}),Xf=S({\u0275pipe:S}),ep=S({\u0275mod:S}),vr=S({\u0275fac:S}),an=S({__NG_ELEMENT_ID__:S}),tc=S({__NG_ENV_ID__:S});function vn(e){return typeof e=="string"?e:e==null?"":String(e)}function tp(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():vn(e)}function np(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new M(-200,e)}function Ds(e,t){throw new M(-201,!1)}var C=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(C||{}),si;function Jc(){return si}function Q(e){let t=si;return si=e,t}function Kc(e,t,n){let r=Yr(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&C.Optional)return null;if(t!==void 0)return t;Ds(e,"Injector")}var rp={},cn=rp,ai="__NG_DI_FLAG__",Ir="ngTempTokenPath",op="ngTokenPath",ip=/\n/gm,sp="\u0275",nc="__source",Ot;function ap(){return Ot}function Ne(e){let t=Ot;return Ot=e,t}function cp(e,t=C.Default){if(Ot===void 0)throw new M(-203,!1);return Ot===null?Kc(e,void 0,t):Ot.get(e,t&C.Optional?null:void 0,t)}function ie(e,t=C.Default){return(Jc()||cp)(W(e),t)}function _(e,t=C.Default){return ie(e,Jr(t))}function Jr(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function ci(e){let t=[];for(let n=0;n<e.length;n++){let r=W(e[n]);if(Array.isArray(r)){if(r.length===0)throw new M(900,!1);let o,i=C.Default;for(let s=0;s<r.length;s++){let a=r[s],c=lp(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(ie(o,i))}else t.push(ie(r))}return t}function Xc(e,t){return e[ai]=t,e.prototype[ai]=t,e}function lp(e){return e[ai]}function up(e,t,n,r){let o=e[Ir];throw t[nc]&&o.unshift(t[nc]),e.message=dp(`
`+e.message,o,n,r),e[op]=o,e[Ir]=null,e}function dp(e,t,n,r=null){e=e&&e.charAt(0)===`
`&&e.charAt(1)==sp?e.slice(2):e;let o=ee(t);if(Array.isArray(t))o=t.map(ee).join(" -> ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):ee(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(ip,`
`)}`}var el=Xc(Wc("Optional"),8);var tl=Xc(Wc("SkipSelf"),4);function Ze(e,t){let n=e.hasOwnProperty(vr);return n?e[vr]:null}function fp(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 pp(e){return e.flat(Number.POSITIVE_INFINITY)}function bs(e,t){e.forEach(n=>Array.isArray(n)?bs(n,t):t(n))}function nl(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Er(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function hp(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function gp(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 Kr(e,t,n){let r=In(e,t);return r>=0?e[r|1]=n:(r=~r,gp(e,r,t,n)),r}function Go(e,t){let n=In(e,t);if(n>=0)return e[n|1]}function In(e,t){return mp(e,t,1)}function mp(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 kt={},z=[],wr=new A(""),rl=new A("",-1),ol=new A(""),Dr=class{get(t,n=cn){if(n===cn){let r=new Error(`NullInjectorError: No provider for ${ee(t)}!`);throw r.name="NullInjectorError",r}return n}};function il(e,t){let n=e[ep]||null;if(!n&&t===!0)throw new Error(`Type ${ee(e)} does not have '\u0275mod' property.`);return n}function Ye(e){return e[Jf]||null}function sl(e){return e[Kf]||null}function al(e){return e[Xf]||null}function yp(e){let t=Ye(e)||sl(e)||al(e);return t!==null?t.standalone:!1}function Hx(e){return{\u0275providers:e}}function vp(...e){return{\u0275providers:cl(!0,e),\u0275fromNgModule:!0}}function cl(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return bs(t,s=>{let a=s;li(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&ll(o,i),n}function ll(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];Ms(o,i=>{t(i,r)})}}function li(e,t,n,r){if(e=W(e),!e)return!1;let o=null,i=Xa(e),s=!i&&Ye(e);if(!i&&!s){let c=e.ngModule;if(i=Xa(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)li(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;try{bs(i.imports,u=>{li(u,t,n,r)&&(l||=[],l.push(u))})}finally{}l!==void 0&&ll(l,t)}if(!a){let l=Ze(o)||(()=>new o);t({provide:o,useFactory:l,deps:z},o),t({provide:ol,useValue:o,multi:!0},o),t({provide:wr,useValue:()=>ie(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;Ms(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function Ms(e,t){for(let n of e)Yc(n)&&(n=n.\u0275providers),Array.isArray(n)?Ms(n,t):t(n)}var Ip=S({provide:String,useValue:S});function ul(e){return e!==null&&typeof e=="object"&&Ip in e}function Ep(e){return!!(e&&e.useExisting)}function wp(e){return!!(e&&e.useFactory)}function Pt(e){return typeof e=="function"}function Dp(e){return!!e.useClass}var dl=new A(""),ur={},bp={},Qo;function Cs(){return Qo===void 0&&(Qo=new Dr),Qo}var Re=class{},ln=class extends Re{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,di(t,s=>this.processProvider(s)),this.records.set(rl,Nt(void 0,this)),o.has("environment")&&this.records.set(Re,Nt(void 0,this));let i=this.records.get(dl);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(ol,z,C.Self))}destroy(){on(this),this._destroyed=!0;let t=D(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(),D(t)}}onDestroy(t){return on(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){on(this);let n=Ne(this),r=Q(void 0),o;try{return t()}finally{Ne(n),Q(r)}}get(t,n=cn,r=C.Default){if(on(this),t.hasOwnProperty(tc))return t[tc](this);r=Jr(r);let o,i=Ne(this),s=Q(void 0);try{if(!(r&C.SkipSelf)){let c=this.records.get(t);if(c===void 0){let l=Tp(t)&&Yr(t);l&&this.injectableDefInScope(l)?c=Nt(ui(t),ur):c=null,this.records.set(t,c)}if(c!=null)return this.hydrate(t,c)}let a=r&C.Self?Cs():this.parent;return n=r&C.Optional&&n===cn?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[Ir]=a[Ir]||[]).unshift(ee(t)),i)throw a;return up(a,t,"R3InjectorError",this.source)}else throw a}finally{Q(s),Ne(i)}}resolveInjectorInitializers(){let t=D(null),n=Ne(this),r=Q(void 0),o;try{let i=this.get(wr,z,C.Self);for(let s of i)s()}finally{Ne(n),Q(r),D(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(ee(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=W(t);let n=Pt(t)?t:W(t&&t.provide),r=Cp(t);if(!Pt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Nt(void 0,ur,!0),o.factory=()=>ci(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=D(null);try{return n.value===ur&&(n.value=bp,n.value=n.factory()),typeof n.value=="object"&&n.value&&_p(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{D(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=W(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 ui(e){let t=Yr(e),n=t!==null?t.factory:Ze(e);if(n!==null)return n;if(e instanceof A)throw new M(204,!1);if(e instanceof Function)return Mp(e);throw new M(204,!1)}function Mp(e){if(e.length>0)throw new M(204,!1);let n=Zf(e);return n!==null?()=>n.factory(e):()=>new e}function Cp(e){if(ul(e))return Nt(void 0,e.useValue);{let t=fl(e);return Nt(t,ur)}}function fl(e,t,n){let r;if(Pt(e)){let o=W(e);return Ze(o)||ui(o)}else if(ul(e))r=()=>W(e.useValue);else if(wp(e))r=()=>e.useFactory(...ci(e.deps||[]));else if(Ep(e))r=()=>ie(W(e.useExisting));else{let o=W(e&&(e.useClass||e.provide));if(xp(e))r=()=>new o(...ci(e.deps));else return Ze(o)||ui(o)}return r}function on(e){if(e.destroyed)throw new M(205,!1)}function Nt(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function xp(e){return!!e.deps}function _p(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Tp(e){return typeof e=="function"||typeof e=="object"&&e instanceof A}function di(e,t){for(let n of e)Array.isArray(n)?di(n,t):n&&Yc(n)?di(n.\u0275providers,t):t(n)}function pl(e,t){e instanceof ln&&on(e);let n,r=Ne(e),o=Q(void 0);try{return t()}finally{Ne(r),Q(o)}}function hl(){return Jc()!==void 0||ap()!=null}function gl(e){if(!hl())throw new M(-203,!1)}function Np(e){return typeof e=="function"}var Ce=0,I=1,m=2,q=3,fe=4,Z=5,Lt=6,br=7,$=8,Ft=9,De=10,R=11,un=12,rc=13,Wt=14,re=15,Je=16,St=17,be=18,Xr=19,ml=20,Ae=21,dr=22,Ke=23,te=24,H=25,yl=1;var Xe=7,Mr=8,jt=9,U=10,Cr=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Cr||{});function Oe(e){return Array.isArray(e)&&typeof e[yl]=="object"}function xe(e){return Array.isArray(e)&&e[yl]===!0}function xs(e){return(e.flags&4)!==0}function eo(e){return e.componentOffset>-1}function to(e){return(e.flags&1)===1}function ke(e){return!!e.template}function fi(e){return(e[m]&512)!==0}var pi=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function vl(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var Bx=(()=>{let e=()=>Il;return e.ngInherit=!0,e})();function Il(e){return e.type.prototype.ngOnChanges&&(e.setInput=Ap),Sp}function Sp(){let e=wl(this),t=e?.current;if(t){let n=e.previous;if(n===kt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Ap(e,t,n,r,o){let i=this.declaredInputs[r],s=wl(e)||Op(e,{previous:kt,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new pi(l&&l.currentValue,n,c===kt),vl(e,t,o,n)}var El="__ngSimpleChanges__";function wl(e){return e[El]||null}function Op(e,t){return e[El]=t}var oc=null;var ye=function(e,t,n){oc?.(e,t,n)},Rp="svg",kp="math";function Ie(e){for(;Array.isArray(e);)e=e[Ce];return e}function Dl(e,t){return Ie(t[e])}function ae(e,t){return Ie(t[e.index])}function _s(e,t){return e.data[t]}function bl(e,t){return e[t]}function je(e,t){let n=t[e];return Oe(n)?n:n[Ce]}function Pp(e){return(e[m]&4)===4}function Ts(e){return(e[m]&128)===128}function Lp(e){return xe(e[q])}function Pe(e,t){return t==null?null:e[t]}function Ml(e){e[St]=0}function Ns(e){e[m]&1024||(e[m]|=1024,Ts(e)&&En(e))}function Fp(e,t){for(;e>0;)t=t[Wt],e--;return t}function no(e){return!!(e[m]&9216||e[te]?.dirty)}function hi(e){e[De].changeDetectionScheduler?.notify(9),e[m]&64&&(e[m]|=1024),no(e)&&En(e)}function En(e){e[De].changeDetectionScheduler?.notify(0);let t=et(e);for(;t!==null&&!(t[m]&8192||(t[m]|=8192,!Ts(t)));)t=et(t)}function Cl(e,t){if((e[m]&256)===256)throw new M(911,!1);e[Ae]===null&&(e[Ae]=[]),e[Ae].push(t)}function jp(e,t){if(e[Ae]===null)return;let n=e[Ae].indexOf(t);n!==-1&&e[Ae].splice(n,1)}function et(e){let t=e[q];return xe(t)?t[q]:t}var b={lFrame:Rl(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var gi=!1;function Vp(){return b.lFrame.elementDepthCount}function Hp(){b.lFrame.elementDepthCount++}function Bp(){b.lFrame.elementDepthCount--}function xl(){return b.bindingsEnabled}function _l(){return b.skipHydrationRootTNode!==null}function $p(e){return b.skipHydrationRootTNode===e}function Up(){b.skipHydrationRootTNode=null}function v(){return b.lFrame.lView}function k(){return b.lFrame.tView}function $x(e){return b.lFrame.contextLView=e,e[$]}function Ux(e){return b.lFrame.contextLView=null,e}function V(){let e=Tl();for(;e!==null&&e.type===64;)e=e.parent;return e}function Tl(){return b.lFrame.currentTNode}function qp(){let e=b.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function lt(e,t){let n=b.lFrame;n.currentTNode=e,n.isParent=t}function Ss(){return b.lFrame.isParent}function As(){b.lFrame.isParent=!1}function Wp(){return b.lFrame.contextLView}function Nl(){return gi}function xr(e){let t=gi;return gi=e,t}function wn(){let e=b.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function zp(e){return b.lFrame.bindingIndex=e}function ut(){return b.lFrame.bindingIndex++}function Sl(e){let t=b.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Gp(){return b.lFrame.inI18n}function Qp(e,t){let n=b.lFrame;n.bindingIndex=n.bindingRootIndex=e,mi(t)}function Zp(){return b.lFrame.currentDirectiveIndex}function mi(e){b.lFrame.currentDirectiveIndex=e}function Yp(e){let t=b.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Os(){return b.lFrame.currentQueryIndex}function ro(e){b.lFrame.currentQueryIndex=e}function Jp(e){let t=e[I];return t.type===2?t.declTNode:t.type===1?e[Z]:null}function Al(e,t,n){if(n&C.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&C.Host);)if(o=Jp(i),o===null||(i=i[Wt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=b.lFrame=Ol();return r.currentTNode=t,r.lView=e,!0}function Rs(e){let t=Ol(),n=e[I];b.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Ol(){let e=b.lFrame,t=e===null?null:e.child;return t===null?Rl(e):t}function Rl(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 kl(){let e=b.lFrame;return b.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Pl=kl;function ks(){let e=kl();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 Kp(e){return(b.lFrame.contextLView=Fp(e,b.lFrame.contextLView))[$]}function Ve(){return b.lFrame.selectedIndex}function tt(e){b.lFrame.selectedIndex=e}function oo(){let e=b.lFrame;return _s(e.tView,e.selectedIndex)}function Xp(){return b.lFrame.currentNamespace}var Ll=!0;function io(){return Ll}function so(e){Ll=e}function eh(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=Il(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 ao(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:u}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),l&&((e.viewHooks??=[]).push(n,l),(e.viewCheckHooks??=[]).push(n,l)),u!=null&&(e.destroyHooks??=[]).push(n,u)}}function fr(e,t,n){Fl(e,t,3,n)}function pr(e,t,n,r){(e[m]&3)===n&&Fl(e,t,n,r)}function Zo(e,t){let n=e[m];(n&3)===t&&(n&=16383,n+=1,e[m]=n)}function Fl(e,t,n,r){let o=r!==void 0?e[St]&65535:0,i=r??-1,s=t.length-1,a=0;for(let c=o;c<s;c++)if(typeof t[c+1]=="number"){if(a=t[c],r!=null&&a>=r)break}else t[c]<0&&(e[St]+=65536),(a<i||i==-1)&&(th(e,n,t,c),e[St]=(e[St]&4294901760)+c+2),c++}function ic(e,t){ye(4,e,t);let n=D(null);try{t.call(e)}finally{D(n),ye(5,e,t)}}function th(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[m]>>14<e[St]>>16&&(e[m]&3)===t&&(e[m]+=16384,ic(a,i)):ic(a,i)}var Rt=-1,nt=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r){this.factory=t,this.canSeeViewProviders=n,this.injectImpl=r}};function nh(e){return e instanceof nt}function rh(e){return(e.flags&8)!==0}function oh(e){return(e.flags&16)!==0}function yi(e,t,n){let r=0;for(;r<n.length;){let o=n[r];if(typeof o=="number"){if(o!==0)break;r++;let i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{let i=o,s=n[++r];ih(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function jl(e){return e===3||e===4||e===6}function ih(e){return e.charCodeAt(0)===64}function dn(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?sc(e,n,o,null,t[++r]):sc(e,n,o,null,null))}}return e}function sc(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===n){if(r===null){o!==null&&(e[i+1]=o);return}else if(r===e[i+1]){e[i+2]=o;return}}i++,r!==null&&i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),r!==null&&e.splice(i++,0,r),o!==null&&e.splice(i++,0,o)}var Yo={},vi=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=Jr(r);let o=this.injector.get(t,Yo,r);return o!==Yo||n===Yo?o:this.parentInjector.get(t,n,r)}};function Vl(e){return e!==Rt}function _r(e){return e&32767}function sh(e){return e>>16}function Tr(e,t){let n=sh(e),r=t;for(;n>0;)r=r[Wt],n--;return r}var Ii=!0;function Nr(e){let t=Ii;return Ii=e,t}var ah=256,Hl=ah-1,Bl=5,ch=0,ve={};function lh(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(an)&&(r=n[an]),r==null&&(r=n[an]=ch++);let o=r&Hl,i=1<<o;t.data[e+(o>>Bl)]|=i}function Sr(e,t){let n=$l(e,t);if(n!==-1)return n;let r=t[I];r.firstCreatePass&&(e.injectorIndex=t.length,Jo(r.data,e),Jo(t,null),Jo(r.blueprint,null));let o=Ps(e,t),i=e.injectorIndex;if(Vl(o)){let s=_r(o),a=Tr(o,t),c=a[I].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function Jo(e,t){e.push(0,0,0,0,0,0,0,0,t)}function $l(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Ps(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=Gl(o),r===null)return Rt;if(n++,o=o[Wt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Rt}function Ei(e,t,n){lh(e,t,n)}function uh(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(jl(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 Ul(e,t,n){if(n&C.Optional||e!==void 0)return e;Ds(t,"NodeInjector")}function ql(e,t,n,r){if(n&C.Optional&&r===void 0&&(r=null),!(n&(C.Self|C.Host))){let o=e[Ft],i=Q(void 0);try{return o?o.get(t,r,n&C.Optional):Kc(t,r,n&C.Optional)}finally{Q(i)}}return Ul(r,t,n)}function Wl(e,t,n,r=C.Default,o){if(e!==null){if(t[m]&2048&&!(r&C.Self)){let s=hh(e,t,n,r,ve);if(s!==ve)return s}let i=zl(e,t,n,r,ve);if(i!==ve)return i}return ql(t,n,r,o)}function zl(e,t,n,r,o){let i=fh(n);if(typeof i=="function"){if(!Al(t,e,r))return r&C.Host?Ul(o,n,r):ql(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&C.Optional))Ds(n);else return s}finally{Pl()}}else if(typeof i=="number"){let s=null,a=$l(e,t),c=Rt,l=r&C.Host?t[re][Z]:null;for((a===-1||r&C.SkipSelf)&&(c=a===-1?Ps(e,t):t[a+8],c===Rt||!cc(r,!1)?a=-1:(s=t[I],a=_r(c),t=Tr(c,t)));a!==-1;){let u=t[I];if(ac(i,a,u.data)){let d=dh(a,t,n,s,r,l);if(d!==ve)return d}c=t[a+8],c!==Rt&&cc(r,t[I].data[a+8]===l)&&ac(i,a,t)?(s=u,a=_r(c),t=Tr(c,t)):a=-1}}return o}function dh(e,t,n,r,o,i){let s=t[I],a=s.data[e+8],c=r==null?eo(a)&&Ii:r!=s&&(a.type&3)!==0,l=o&C.Host&&i===a,u=hr(a,s,n,c,l);return u!==null?rt(t,s,u,a):ve}function hr(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,l=e.directiveEnd,u=i>>20,d=r?a:a+u,p=o?a+u:l;for(let f=d;f<p;f++){let h=s[f];if(f<c&&n===h||f>=c&&h.type===n)return f}if(o){let f=s[c];if(f&&ke(f)&&f.type===n)return c}return null}function rt(e,t,n,r){let o=e[n],i=t.data;if(nh(o)){let s=o;s.resolving&&np(tp(i[n]));let a=Nr(s.canSeeViewProviders);s.resolving=!0;let c,l=s.injectImpl?Q(s.injectImpl):null,u=Al(e,r,C.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&eh(n,i[n],t)}finally{l!==null&&Q(l),Nr(a),s.resolving=!1,Pl()}}return o}function fh(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(an)?e[an]:void 0;return typeof t=="number"?t>=0?t&Hl:ph:t}function ac(e,t,n){let r=1<<e;return!!(n[t+(e>>Bl)]&r)}function cc(e,t){return!(e&C.Self)&&!(e&C.Host&&t)}var Qe=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Wl(this._tNode,this._lView,t,Jr(r),n)}};function ph(){return new Qe(V(),v())}function qx(e){return yn(()=>{let t=e.prototype.constructor,n=t[vr]||wi(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[vr]||wi(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function wi(e){return Gc(e)?()=>{let t=wi(W(e));return t&&t()}:Ze(e)}function hh(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[m]&2048&&!(s[m]&512);){let a=zl(i,s,n,r|C.Self,ve);if(a!==ve)return a;let c=i.parent;if(!c){let l=s[ml];if(l){let u=l.get(n,ve,r);if(u!==ve)return u}c=Gl(s),s=s[Wt]}i=c}return o}function Gl(e){let t=e[I],n=t.type;return n===2?t.declTNode:n===1?e[Z]:null}function Wx(e){return uh(V(),e)}function lc(e,t=null,n=null,r){let o=Ql(e,t,n,r);return o.resolveInjectorInitializers(),o}function Ql(e,t=null,n=null,r,o=new Set){let i=[n||z,vp(e)];return r=r||(typeof e=="object"?void 0:ee(e)),new ln(i,t||Cs(),r||null,o)}var ot=class e{static THROW_IF_NOT_FOUND=cn;static NULL=new Dr;static create(t,n){if(Array.isArray(t))return lc({name:""},n,t,"");{let r=t.name??"";return lc({name:r},t.parent,t.providers,r)}}static \u0275prov=F({token:e,providedIn:"any",factory:()=>ie(rl)});static __NG_ELEMENT_ID__=-1};var gh=new A("");gh.__NG_ELEMENT_ID__=e=>{let t=V();if(t===null)throw new M(204,!1);if(t.type&2)return t.value;if(e&C.Optional)return null;throw new M(204,!1)};var Zl=!1,Dn=(()=>{class e{static __NG_ELEMENT_ID__=mh;static __NG_ENV_ID__=n=>n}return e})(),Ar=class extends Dn{_lView;constructor(t){super(),this._lView=t}onDestroy(t){return Cl(this._lView,t),()=>jp(this._lView,t)}};function mh(){return new Ar(v())}var Vt=class{},Yl=new A("",{providedIn:"root",factory:()=>!1});var Jl=new A(""),Kl=new A(""),bn=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new Zt(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=F({token:e,providedIn:"root",factory:()=>new e})}return e})();var Di=class extends Te{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,hl()&&(this.destroyRef=_(Dn,{optional:!0})??void 0,this.pendingTasks=_(bn,{optional:!0})??void 0)}emit(t){let n=D(null);try{super.next(t)}finally{D(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof P&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{t(n),r!==void 0&&this.pendingTasks?.remove(r)})}}},Se=Di;function fn(...e){}function Xl(e){let t,n;function r(){e=fn;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function uc(e){return queueMicrotask(()=>e()),()=>{e=fn}}var Ls="isAngularZone",Or=Ls+"_ID",yh=0,ne=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Se(!1);onMicrotaskEmpty=new Se(!1);onStable=new Se(!1);onError=new Se(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Zl}=t;if(typeof Zone>"u")throw new M(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,Eh(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Ls)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new M(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new M(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,vh,fn,fn);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)}},vh={};function Fs(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 Ih(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Xl(()=>{e.callbackScheduled=!1,bi(e),e.isCheckStableRunning=!0,Fs(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),bi(e)}function Eh(e){let t=()=>{Ih(e)},n=yh++;e._inner=e._inner.fork({name:"angular",properties:{[Ls]:!0,[Or]:n,[Or+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(wh(c))return r.invokeTask(i,s,a,c);try{return dc(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),fc(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return dc(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Dh(c)&&t(),fc(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,bi(e),Fs(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 bi(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function dc(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function fc(e){e._nesting--,Fs(e)}var Mi=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Se;onMicrotaskEmpty=new Se;onStable=new Se;onError=new Se;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 wh(e){return eu(e,"__ignore_ng_zone__")}function Dh(e){return eu(e,"__scheduler_tick__")}function eu(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var it=class{_console=console;handleError(t){this._console.error("ERROR",t)}},bh=new A("",{providedIn:"root",factory:()=>{let e=_(ne),t=_(it);return n=>e.runOutsideAngular(()=>t.handleError(n))}}),Ci=class{destroyed=!1;listeners=null;errorHandler=_(it,{optional:!0});destroyRef=_(Dn);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new M(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)throw new M(953,!1);if(this.listeners===null)return;let n=D(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{D(n)}}};function zx(e){return new Ci}function pc(e,t){return qc(e,t)}function Mh(e){return qc(Uc,e)}var Gx=(pc.required=Mh,pc);function Ch(){return zt(V(),v())}function zt(e,t){return new co(ae(e,t))}var co=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=Ch}return e})();function tu(e){return e instanceof co?e.nativeElement:e}function xh(){return this._results[Symbol.iterator]()}var xi=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 Te}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=pp(t);(this._changesDetected=!fp(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]=xh};function nu(e){return(e.flags&128)===128}var ru=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(ru||{}),ou=new Map,_h=0;function Th(){return _h++}function Nh(e){ou.set(e[Xr],e)}function _i(e){ou.delete(e[Xr])}var hc="__ngContext__";function Le(e,t){Oe(t)?(e[hc]=t[Xr],Nh(t)):e[hc]=t}function iu(e){return au(e[un])}function su(e){return au(e[fe])}function au(e){for(;e!==null&&!xe(e);)e=e[fe];return e}var Ti;function Qx(e){Ti=e}function cu(){if(Ti!==void 0)return Ti;if(typeof document<"u")return document;throw new M(210,!1)}var Zx=new A("",{providedIn:"root",factory:()=>Sh}),Sh="ng",Ah=new A(""),Yx=new A("",{providedIn:"platform",factory:()=>"unknown"});var Jx=new A(""),Kx=new A("",{providedIn:"root",factory:()=>cu().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Oh="h",Rh="b";var lu=!1,kh=new A("",{providedIn:"root",factory:()=>lu});var uu=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(uu||{}),du=new A(""),gc=new Set;function dt(e){gc.has(e)||(gc.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Ph=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=F({token:e,providedIn:"root",factory:()=>new e})}return e})();var Lh=()=>null;function js(e,t,n=!1){return Lh(e,t,n)}var pn=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(pn||{}),ir;function fu(){if(ir===void 0&&(ir=null,yr.trustedTypes))try{ir=yr.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ir}function lo(e){return fu()?.createHTML(e)||e}function Fh(e){return fu()?.createScriptURL(e)||e}var sr;function pu(){if(sr===void 0&&(sr=null,yr.trustedTypes))try{sr=yr.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return sr}function mc(e){return pu()?.createHTML(e)||e}function yc(e){return pu()?.createScriptURL(e)||e}var Me=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${$c})`}},Ni=class extends Me{getTypeName(){return"HTML"}},Si=class extends Me{getTypeName(){return"Style"}},Ai=class extends Me{getTypeName(){return"Script"}},Oi=class extends Me{getTypeName(){return"URL"}},Ri=class extends Me{getTypeName(){return"ResourceURL"}};function Mn(e){return e instanceof Me?e.changingThisBreaksApplicationSecurity:e}function Vs(e,t){let n=jh(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${$c})`)}return n===t}function jh(e){return e instanceof Me&&e.getTypeName()||null}function Xx(e){return new Ni(e)}function e_(e){return new Si(e)}function t_(e){return new Ai(e)}function n_(e){return new Oi(e)}function r_(e){return new Ri(e)}function Vh(e){let t=new Pi(e);return Hh()?new ki(t):t}var ki=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(lo(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},Pi=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=lo(t),n}};function Hh(){try{return!!new window.DOMParser().parseFromString(lo(""),"text/html")}catch{return!1}}var Bh=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function hu(e){return e=String(e),e.match(Bh)?e:"unsafe:"+e}function _e(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Cn(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var gu=_e("area,br,col,hr,img,wbr"),mu=_e("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),yu=_e("rp,rt"),$h=Cn(yu,mu),Uh=Cn(mu,_e("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")),qh=Cn(yu,_e("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")),vc=Cn(gu,Uh,qh,$h),vu=_e("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Wh=_e("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"),zh=_e("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"),Gh=Cn(vu,Wh,zh),Qh=_e("script,style,template"),Li=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=Jh(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=Yh(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=Ic(t).toLowerCase();if(!vc.hasOwnProperty(n))return this.sanitizedSomething=!0,!Qh.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!Gh.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;vu[a]&&(c=hu(c)),this.buf.push(" ",s,'="',Ec(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=Ic(t).toLowerCase();vc.hasOwnProperty(n)&&!gu.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Ec(t))}};function Zh(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Yh(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Iu(t);return t}function Jh(e){let t=e.firstChild;if(t&&Zh(e,t))throw Iu(t);return t}function Ic(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Iu(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var Kh=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Xh=/([^\#-~ |!])/g;function Ec(e){return e.replace(/&/g,"&").replace(Kh,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(Xh,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var ar;function eg(e,t){let n=null;try{ar=ar||Vh(e);let r=t?String(t):"";n=ar.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=ar.getInertBodyElement(r)}while(r!==i);let a=new Li().sanitizeChildren(wc(n)||n);return lo(a)}finally{if(n){let r=wc(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function wc(e){return"content"in e&&tg(e)?e.content:null}function tg(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var uo=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}(uo||{});function o_(e){let t=Hs();return t?mc(t.sanitize(uo.HTML,e)||""):Vs(e,"HTML")?mc(Mn(e)):eg(cu(),vn(e))}function ng(e){let t=Hs();return t?t.sanitize(uo.URL,e)||"":Vs(e,"URL")?Mn(e):hu(vn(e))}function rg(e){let t=Hs();if(t)return yc(t.sanitize(uo.RESOURCE_URL,e)||"");if(Vs(e,"ResourceURL"))return yc(Mn(e));throw new M(904,!1)}function i_(e){return Fh(e[0])}function og(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?rg:ng}function s_(e,t,n){return og(t,n)(e)}function Hs(){let e=v();return e&&e[De].sanitizer}var ig=/^>|^->|<!--|-->|--!>|<!-$/g,sg=/(<|>)/g,ag="\u200B$1\u200B";function cg(e){return e.replace(ig,t=>t.replace(sg,ag))}function Eu(e){return e instanceof Function?e():e}var Fe=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Fe||{}),Fi=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Fi||{}),lg;function Bs(e,t){return lg(e,t)}function At(e,t,n,r,o){if(r!=null){let i,s=!1;xe(r)?i=r:Oe(r)&&(s=!0,r=r[Ce]);let a=Ie(r);e===0&&n!==null?o==null?Cu(t,n,a):Rr(t,n,a,o||null,!0):e===1&&n!==null?Rr(t,n,a,o||null,!0):e===2?bg(t,a,s):e===3&&t.destroyNode(a),i!=null&&Cg(t,e,i,n,o)}}function ug(e,t){return e.createText(t)}function dg(e,t,n){e.setValue(t,n)}function fg(e,t){return e.createComment(cg(t))}function wu(e,t,n){return e.createElement(t,n)}function pg(e,t){Du(e,t),t[Ce]=null,t[Z]=null}function hg(e,t,n,r,o,i){r[Ce]=o,r[Z]=t,ho(e,r,n,1,o,i)}function Du(e,t){t[De].changeDetectionScheduler?.notify(10),ho(e,t,t[R],2,null,null)}function gg(e){let t=e[un];if(!t)return Ko(e[I],e);for(;t;){let n=null;if(Oe(t))n=t[un];else{let r=t[U];r&&(n=r)}if(!n){for(;t&&!t[fe]&&t!==e;)Oe(t)&&Ko(t[I],t),t=t[q];t===null&&(t=e),Oe(t)&&Ko(t[I],t),n=t&&t[fe]}t=n}}function mg(e,t,n,r){let o=U+r,i=n.length;r>0&&(n[o-1][fe]=t),r<i-U?(t[fe]=n[o],nl(n,U+r,t)):(n.push(t),t[fe]=null),t[q]=n;let s=t[Je];s!==null&&n!==s&&bu(s,t);let a=t[be];a!==null&&a.insertView(e),hi(t),t[m]|=128}function bu(e,t){let n=e[jt],r=t[q];if(Oe(r))e[m]|=Cr.HasTransplantedViews;else{let o=r[q][re];t[re]!==o&&(e[m]|=Cr.HasTransplantedViews)}n===null?e[jt]=[t]:n.push(t)}function $s(e,t){let n=e[jt],r=n.indexOf(t);n.splice(r,1)}function hn(e,t){if(e.length<=U)return;let n=U+t,r=e[n];if(r){let o=r[Je];o!==null&&o!==e&&$s(o,r),t>0&&(e[n-1][fe]=r[fe]);let i=Er(e,U+t);pg(r[I],r);let s=i[be];s!==null&&s.detachView(i[I]),r[q]=null,r[fe]=null,r[m]&=-129}return r}function fo(e,t){if(!(t[m]&256)){let n=t[R];n.destroyNode&&ho(e,t,n,3,null,null),gg(t)}}function Ko(e,t){if(t[m]&256)return;let n=D(null);try{t[m]&=-129,t[m]|=256,t[te]&&Tt(t[te]),vg(e,t),yg(e,t),t[I].type===1&&t[R].destroy();let r=t[Je];if(r!==null&&xe(t[q])){r!==t[q]&&$s(r,t);let o=t[be];o!==null&&o.detachView(e)}_i(t)}finally{D(n)}}function yg(e,t){let n=e.cleanup,r=t[br];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]=="string"){let a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(t[br]=null);let o=t[Ae];if(o!==null){t[Ae]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[Ke];if(i!==null){t[Ke]=null;for(let s of i)s.destroy()}}function vg(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 nt)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];ye(4,a,c);try{c.call(a)}finally{ye(5,a,c)}}else{ye(4,o,i);try{i.call(o)}finally{ye(5,o,i)}}}}}function Mu(e,t,n){return Ig(e,t.parent,n)}function Ig(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[Ce];{let{componentOffset:o}=r;if(o>-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===pn.None||i===pn.Emulated)return null}return ae(r,n)}}function Rr(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Cu(e,t,n){e.appendChild(t,n)}function Dc(e,t,n,r,o){r!==null?Rr(e,t,n,r,o):Cu(e,t,n)}function xu(e,t){return e.parentNode(t)}function Eg(e,t){return e.nextSibling(t)}function _u(e,t,n){return Dg(e,t,n)}function wg(e,t,n){return e.type&40?ae(e,n):null}var Dg=wg,bc;function po(e,t,n,r){let o=Mu(e,r,t),i=t[R],s=r.parent||t[Z],a=_u(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)Dc(i,o,n[c],a,!1);else Dc(i,o,n,a,!1);bc!==void 0&&bc(i,r,t,n,o)}function sn(e,t){if(t!==null){let n=t.type;if(n&3)return ae(t,e);if(n&4)return ji(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return sn(e,r);{let o=e[t.index];return xe(o)?ji(-1,o):Ie(o)}}else{if(n&128)return sn(e,t.next);if(n&32)return Bs(t,e)()||Ie(e[t.index]);{let r=Tu(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=et(e[re]);return sn(o,r)}else return sn(e,t.next)}}}return null}function Tu(e,t){if(t!==null){let r=e[re][Z],o=t.projection;return r.projection[o]}return null}function ji(e,t){let n=U+e+1;if(n<t.length){let r=t[n],o=r[I].firstChild;if(o!==null)return sn(r,o)}return t[Xe]}function bg(e,t,n){e.removeChild(null,t,n)}function Us(e,t,n,r,o,i,s){for(;n!=null;){if(n.type===128){n=n.next;continue}let a=r[n.index],c=n.type;if(s&&t===0&&(a&&Le(Ie(a),r),n.flags|=2),(n.flags&32)!==32)if(c&8)Us(e,t,n.child,r,o,i,!1),At(t,e,o,a,i);else if(c&32){let l=Bs(n,r),u;for(;u=l();)At(t,e,o,u,i);At(t,e,o,a,i)}else c&16?Nu(e,t,r,n,o,i):At(t,e,o,a,i);n=s?n.projectionNext:n.next}}function ho(e,t,n,r,o,i){Us(n,r,e.firstChild,t,o,i,!1)}function Mg(e,t,n){let r=t[R],o=Mu(e,n,t),i=n.parent||t[Z],s=_u(i,n,t);Nu(r,0,t,n,o,s)}function Nu(e,t,n,r,o,i){let s=n[re],c=s[Z].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];At(t,e,o,u,i)}else{let l=c,u=s[q];nu(r)&&(l.flags|=128),Us(e,t,l,u,o,i,!0)}}function Cg(e,t,n,r,o){let i=n[Xe],s=Ie(n);i!==s&&At(t,e,r,i,o);for(let a=U;a<n.length;a++){let c=n[a];ho(c[I],c,e,t,r,i)}}function xg(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:Fi.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Fi.Important),e.setStyle(n,r,o,i))}}function _g(e,t,n){e.setAttribute(t,"style",n)}function Su(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Au(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&yi(e,t,r),o!==null&&Su(e,t,o),i!==null&&_g(e,t,i)}function Tg(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 Ou="ng-template";function Ng(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&Tg(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(qs(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 qs(e){return e.type===4&&e.value!==Ou}function Sg(e,t,n){let r=e.type===4&&!n?Ou:e.value;return t===r}function Ag(e,t,n){let r=4,o=e.attrs,i=o!==null?kg(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!ue(r)&&!ue(c))return!1;if(s&&ue(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!Sg(e,c,n)||c===""&&t.length===1){if(ue(r))return!1;s=!0}}else if(r&8){if(o===null||!Ng(e,o,c,n)){if(ue(r))return!1;s=!0}}else{let l=t[++a],u=Og(c,o,qs(e),n);if(u===-1){if(ue(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(ue(r))return!1;s=!0}}}}return ue(r)||s}function ue(e){return(e&1)===0}function Og(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){let s=t[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=t[++o];for(;typeof a=="string";)a=t[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return Pg(t,e)}function Ru(e,t,n=!1){for(let r=0;r<t.length;r++)if(Ag(e,t[r],n))return!0;return!1}function Rg(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if(!(n&1))return t[n+1]}return null}function kg(e){for(let t=0;t<e.length;t++){let n=e[t];if(jl(n))return t}return e.length}function Pg(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 Lg(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 Mc(e,t){return e?":not("+t.trim()+")":t}function Fg(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(r&2){let a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!ue(s)&&(t+=Mc(i,o),o=""),r=s,i=i||!ue(r);n++}return o!==""&&(t+=Mc(i,o)),t}function jg(e){return e.map(Fg).join(",")}function Vg(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(!ue(o))break;o=i}r++}return{attrs:t,classes:n}}var pe={};function a_(e=1){ku(k(),v(),Ve()+e,!1)}function ku(e,t,n,r){if(!r)if((t[m]&3)===3){let i=e.preOrderCheckHooks;i!==null&&fr(t,i,n)}else{let i=e.preOrderHooks;i!==null&&pr(t,i,0,n)}tt(n)}function go(e,t=C.Default){let n=v();if(n===null)return ie(e,t);let r=V();return Wl(r,n,W(e),t)}function Pu(e,t,n,r,o,i){let s=D(null);try{let a=null;o&Fe.SignalBased&&(a=t[r][B]),a!==null&&a.transformFn!==void 0&&(i=a.transformFn(i)),o&Fe.HasDecoratorInputTransform&&(i=e.inputTransforms[r].call(t,i)),e.setInput!==null?e.setInput(t,a,i,n,r):vl(t,a,r,i)}finally{D(s)}}function Hg(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)tt(~o);else{let i=o,s=n[++r],a=n[++r];Qp(s,i);let c=t[i];a(2,c)}}}finally{tt(-1)}}function mo(e,t,n,r,o,i,s,a,c,l,u){let d=t.blueprint.slice();return d[Ce]=o,d[m]=r|4|128|8|64|1024,(l!==null||e&&e[m]&2048)&&(d[m]|=2048),Ml(d),d[q]=d[Wt]=e,d[$]=n,d[De]=s||e&&e[De],d[R]=a||e&&e[R],d[Ft]=c||e&&e[Ft]||null,d[Z]=i,d[Xr]=Th(),d[Lt]=u,d[ml]=l,d[re]=t.type==2?e[re]:d,d}function Gt(e,t,n,r,o){let i=e.data[t];if(i===null)i=Bg(e,t,n,r,o),Gp()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=qp();i.injectorIndex=s===null?-1:s.injectorIndex}return lt(i,!0),i}function Bg(e,t,n,r,o){let i=Tl(),s=Ss(),a=s?i:i&&i.parent,c=e.data[t]=Gg(e,a,n,t,r,o);return e.firstChild===null&&(e.firstChild=c),i!==null&&(s?i.child==null&&c.parent!==null&&(i.child=c):i.next===null&&(i.next=c,c.prev=i)),c}function Lu(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 Fu(e,t,n,r,o){let i=Ve(),s=r&2;try{tt(-1),s&&t.length>H&&ku(e,t,H,!1),ye(s?2:0,o),n(r,o)}finally{tt(i),ye(s?3:1,o)}}function Ws(e,t,n){if(xs(t)){let r=D(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=n[s];a.contentQueries(1,c,s)}}}finally{D(r)}}}function zs(e,t,n){xl()&&(Xg(e,t,n,ae(n,t)),(n.flags&64)===64&&Hu(e,t,n))}function Gs(e,t,n=ae){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?n(t,e):e[s];e[o++]=a}}}function ju(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Qs(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Qs(e,t,n,r,o,i,s,a,c,l,u){let d=H+r,p=d+o,f=$g(d,p),h=typeof l=="function"?l():l;return f[I]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:h,incompleteFirstPass:!1,ssrId:u}}function $g(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:pe);return n}function Ug(e,t,n,r){let i=r.get(kh,lu)||n===pn.ShadowDom,s=e.selectRootElement(t,i);return qg(s),s}function qg(e){Wg(e)}var Wg=()=>null;function zg(e,t,n,r){let o=qu(t);o.push(n),e.firstCreatePass&&Wu(e).push(r,o.length-1)}function Gg(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return _l()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs: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 Cc(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;let s=t[i];if(s===void 0)continue;r??={};let a,c=Fe.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let l=i;if(o!==null){if(!o.hasOwnProperty(i))continue;l=o[i]}e===0?xc(r,n,l,a,c):xc(r,n,l,a)}return r}function xc(e,t,n,r,o){let i;e.hasOwnProperty(n)?(i=e[n]).push(t,r):i=e[n]=[t,r],o!==void 0&&i.push(o)}function Qg(e,t,n){let r=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],c=null,l=null;for(let u=r;u<o;u++){let d=i[u],p=n?n.get(d):null,f=p?p.inputs:null,h=p?p.outputs:null;c=Cc(0,d.inputs,u,c,f),l=Cc(1,d.outputs,u,l,h);let w=c!==null&&s!==null&&!qs(t)?um(c,u,s):null;a.push(w)}c!==null&&(c.hasOwnProperty("class")&&(t.flags|=8),c.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=a,t.inputs=c,t.outputs=l}function Zg(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Zs(e,t,n,r,o,i,s,a){let c=ae(t,n),l=t.inputs,u;!a&&l!=null&&(u=l[r])?(Js(e,n,u,r,o),eo(t)&&Yg(n,t.index)):t.type&3?(r=Zg(r),o=s!=null?s(o,t.value||"",r):o,i.setProperty(c,r,o)):t.type&12}function Yg(e,t){let n=je(t,e);n[m]&16||(n[m]|=64)}function Ys(e,t,n,r){if(xl()){let o=r===null?null:{"":-1},i=tm(e,n),s,a;i===null?s=a=null:[s,a]=i,s!==null&&Vu(e,t,n,s,o,a),o&&nm(n,r,o)}n.mergedAttrs=dn(n.mergedAttrs,n.attrs)}function Vu(e,t,n,r,o,i){for(let l=0;l<r.length;l++)Ei(Sr(n,t),e,r[l].type);om(n,e.data.length,r.length);for(let l=0;l<r.length;l++){let u=r[l];u.providersResolver&&u.providersResolver(u)}let s=!1,a=!1,c=Lu(e,t,r.length,null);for(let l=0;l<r.length;l++){let u=r[l];n.mergedAttrs=dn(n.mergedAttrs,u.hostAttrs),im(e,n,t,c,u),rm(c,u,o),u.contentQueries!==null&&(n.flags|=4),(u.hostBindings!==null||u.hostAttrs!==null||u.hostVars!==0)&&(n.flags|=64);let d=u.type.prototype;!s&&(d.ngOnChanges||d.ngOnInit||d.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),s=!0),!a&&(d.ngOnChanges||d.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),a=!0),c++}Qg(e,n,i)}function Jg(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;Kg(s)!=a&&s.push(a),s.push(n,r,i)}}function Kg(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function Xg(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;eo(n)&&sm(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||Sr(n,t),Le(r,t);let s=n.initialInputs;for(let a=o;a<i;a++){let c=e.data[a],l=rt(t,e,a,n);if(Le(l,t),s!==null&&lm(t,a-o,l,c,n,s),ke(c)){let u=je(n.index,t);u[$]=rt(t,e,a,n)}}}function Hu(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=Zp();try{tt(i);for(let a=r;a<o;a++){let c=e.data[a],l=t[a];mi(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&em(c,l)}}finally{tt(-1),mi(s)}}function em(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function tm(e,t){let n=e.directiveRegistry,r=null,o=null;if(n)for(let i=0;i<n.length;i++){let s=n[i];if(Ru(t,s.selectors,!1))if(r||(r=[]),ke(s))if(s.findHostDirectiveDefs!==null){let a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),r.unshift(...a,s);let c=a.length;Vi(e,t,c)}else r.unshift(s),Vi(e,t,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,r,o),r.push(s)}return r===null?null:[r,o]}function Vi(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function nm(e,t,n){if(t){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new M(-301,!1);r.push(t[o],i)}}}function rm(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;ke(t)&&(n[""]=e)}}function om(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function im(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=Ze(o.type,!0)),s=new nt(i,ke(o),go);e.blueprint[r]=s,n[r]=s,Jg(e,t,r,Lu(e,n,o.hostVars,pe),o)}function Bu(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function sm(e,t,n){let r=ae(t,e),o=ju(n),i=e[De].rendererFactory,s=yo(e,mo(e,o,null,Bu(n),r,t,null,i.createRenderer(r,n),null,null,null));e[t.index]=s}function am(e,t,n,r,o,i){let s=ae(e,t);cm(t[R],s,i,e.value,n,r,o)}function cm(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?vn(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function lm(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;){let c=s[a++],l=s[a++],u=s[a++],d=s[a++];Pu(r,n,c,l,u,d)}}function um(e,t,n){let r=null,o=0;for(;o<n.length;){let i=n[o];if(i===0){o+=4;continue}else if(i===5){o+=2;continue}if(typeof i=="number")break;if(e.hasOwnProperty(i)){r===null&&(r=[]);let s=e[i];for(let a=0;a<s.length;a+=3)if(s[a]===t){r.push(i,s[a+1],s[a+2],n[o+1]);break}}o+=2}return r}function $u(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Uu(e,t){let n=e.contentQueries;if(n!==null){let r=D(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];ro(i),a.contentQueries(2,t[s],s)}}}finally{D(r)}}}function yo(e,t){return e[un]?e[rc][fe]=t:e[un]=t,e[rc]=t,t}function Hi(e,t,n){ro(0);let r=D(null);try{t(e,n)}finally{D(r)}}function qu(e){return e[br]??=[]}function Wu(e){return e.cleanup??=[]}function zu(e,t){let n=e[Ft],r=n?n.get(it,null):null;r&&r.handleError(t)}function Js(e,t,n,r,o){for(let i=0;i<n.length;){let s=n[i++],a=n[i++],c=n[i++],l=t[s],u=e.data[s];Pu(u,l,r,a,c,o)}}function dm(e,t,n){let r=Dl(t,e);dg(e[R],r,n)}function fm(e,t){let n=je(t,e),r=n[I];pm(r,n);let o=n[Ce];o!==null&&n[Lt]===null&&(n[Lt]=js(o,n[Ft])),Ks(r,n,n[$])}function pm(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Ks(e,t,n){Rs(t);try{let r=e.viewQuery;r!==null&&Hi(1,r,n);let o=e.template;o!==null&&Fu(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[be]?.finishViewCreation(e),e.staticContentQueries&&Uu(e,t),e.staticViewQueries&&Hi(2,e.viewQuery,n);let i=e.components;i!==null&&hm(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[m]&=-5,ks()}}function hm(e,t){for(let n=0;n<t.length;n++)fm(e,t[n])}function xn(e,t,n,r){let o=D(null);try{let i=t.tView,a=e[m]&4096?4096:16,c=mo(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[t.index];c[Je]=l;let u=e[be];return u!==null&&(c[be]=u.createEmbeddedView(i)),Ks(i,c,n),c}finally{D(o)}}function Gu(e,t){let n=U+t;if(n<e.length)return e[n]}function Ht(e,t){return!t||t.firstChild===null||nu(e)}function _n(e,t,n,r=!0){let o=t[I];if(mg(o,t,e,n),r){let s=ji(n,e),a=t[R],c=xu(a,e[Xe]);c!==null&&hg(o,e[Z],a,t,c,s)}let i=t[Lt];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Qu(e,t){let n=hn(e,t);return n!==void 0&&fo(n[I],n),n}function kr(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(Ie(i)),xe(i)&&gm(i,r);let s=n.type;if(s&8)kr(e,t,n.child,r);else if(s&32){let a=Bs(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=Tu(t,n);if(Array.isArray(a))r.push(...a);else{let c=et(t[re]);kr(c[I],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function gm(e,t){for(let n=U;n<e.length;n++){let r=e[n],o=r[I].firstChild;o!==null&&kr(r[I],r,o,t)}e[Xe]!==e[Ce]&&t.push(e[Xe])}var Zu=[];function mm(e){return e[te]??ym(e)}function ym(e){let t=Zu.pop()??Object.create(Im);return t.lView=e,t}function vm(e){e.lView[te]!==e&&(e.lView=null,Zu.push(e))}var Im=K(J({},Ge),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{En(e.lView)},consumerOnSignalRead(){this.lView[te]=this}});function Em(e){let t=e[te]??Object.create(wm);return t.lView=e,t}var wm=K(J({},Ge),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=et(e.lView);for(;t&&!Yu(t[I]);)t=et(t);t&&Ns(t)},consumerOnSignalRead(){this.lView[te]=this}});function Yu(e){return e.type!==2}function Ju(e){if(e[Ke]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[Ke])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[m]&8192)}}var Dm=100;function Ku(e,t=!0,n=0){let o=e[De].rendererFactory,i=!1;i||o.begin?.();try{bm(e,n)}catch(s){throw t&&zu(e,s),s}finally{i||o.end?.()}}function bm(e,t){let n=Nl();try{xr(!0),Bi(e,t);let r=0;for(;no(e);){if(r===Dm)throw new M(103,!1);r++,Bi(e,1)}}finally{xr(n)}}function Mm(e,t,n,r){let o=t[m];if((o&256)===256)return;let i=!1,s=!1;Rs(t);let a=!0,c=null,l=null;i||(Yu(e)?(l=mm(t),c=_t(l)):Va()===null?(a=!1,l=Em(t),c=_t(l)):t[te]&&(Tt(t[te]),t[te]=null));try{Ml(t),zp(e.bindingStartIndex),n!==null&&Fu(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let f=e.preOrderCheckHooks;f!==null&&fr(t,f,null)}else{let f=e.preOrderHooks;f!==null&&pr(t,f,0,null),Zo(t,0)}if(s||Cm(t),Ju(t),Xu(t,0),e.contentQueries!==null&&Uu(e,t),!i)if(u){let f=e.contentCheckHooks;f!==null&&fr(t,f)}else{let f=e.contentHooks;f!==null&&pr(t,f,1),Zo(t,1)}Hg(e,t);let d=e.components;d!==null&&td(t,d,0);let p=e.viewQuery;if(p!==null&&Hi(2,p,r),!i)if(u){let f=e.viewCheckHooks;f!==null&&fr(t,f)}else{let f=e.viewHooks;f!==null&&pr(t,f,2),Zo(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[dr]){for(let f of t[dr])f();t[dr]=null}i||(t[m]&=-73)}catch(u){throw i||En(t),u}finally{l!==null&&(tn(l,c),a&&vm(l)),ks()}}function Xu(e,t){for(let n=iu(e);n!==null;n=su(n))for(let r=U;r<n.length;r++){let o=n[r];ed(o,t)}}function Cm(e){for(let t=iu(e);t!==null;t=su(t)){if(!(t[m]&Cr.HasTransplantedViews))continue;let n=t[jt];for(let r=0;r<n.length;r++){let o=n[r];Ns(o)}}}function xm(e,t,n){let r=je(t,e);ed(r,n)}function ed(e,t){Ts(e)&&Bi(e,t)}function Bi(e,t){let r=e[I],o=e[m],i=e[te],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&nn(i)),s||=!1,i&&(i.dirty=!1),e[m]&=-9217,s)Mm(r,e,r.template,e[$]);else if(o&8192){Ju(e),Xu(e,1);let a=r.components;a!==null&&td(e,a,1)}}function td(e,t,n){for(let r=0;r<t.length;r++)xm(e,t[r],n)}function Xs(e,t){let n=Nl()?64:1088;for(e[De].changeDetectionScheduler?.notify(t);e;){e[m]|=n;let r=et(e);if(fi(e)&&!r)return e;e=r}return null}var st=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){let t=this._lView,n=t[I];return kr(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r}get context(){return this._lView[$]}get dirty(){return!!(this._lView[m]&9280)||!!this._lView[te]?.dirty}set context(t){this._lView[$]=t}get destroyed(){return(this._lView[m]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[q];if(xe(t)){let n=t[Mr],r=n?n.indexOf(this):-1;r>-1&&(hn(t,r),Er(n,r))}this._attachedToViewContainer=!1}fo(this._lView[I],this._lView)}onDestroy(t){Cl(this._lView,t)}markForCheck(){Xs(this._cdRefInjectingView||this._lView,4)}markForRefresh(){Ns(this._cdRefInjectingView||this._lView)}detach(){this._lView[m]&=-129}reattach(){hi(this._lView),this._lView[m]|=128}detectChanges(){this._lView[m]|=1024,Ku(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new M(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=fi(this._lView),n=this._lView[Je];n!==null&&!t&&$s(n,this._lView),Du(this._lView[I],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new M(902,!1);this._appRef=t;let n=fi(this._lView),r=this._lView[Je];r!==null&&!n&&bu(r,this._lView),hi(this._lView)}},Pr=(()=>{class e{static __NG_ELEMENT_ID__=Nm}return e})(),_m=Pr,Tm=class extends _m{_declarationLView;_declarationTContainer;elementRef;constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){let o=xn(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new st(o)}};function Nm(){return vo(V(),v())}function vo(e,t){return e.type&4?new Tm(t,e,zt(e,t)):null}var l_=new RegExp(`^(\\d+)*(${Rh}|${Oh})*(.*)`);var Sm=()=>null;function Bt(e,t){return Sm(e,t)}var $i=class{},Lr=class{},Ui=class{resolveComponentFactory(t){throw Error(`No component factory found for ${ee(t)}.`)}},$t=class{static NULL=new Ui},Fr=class{},u_=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>Am()}return e})();function Am(){let e=v(),t=V(),n=je(t.index,e);return(Oe(n)?n:e)[R]}var Om=(()=>{class e{static \u0275prov=F({token:e,providedIn:"root",factory:()=>null})}return e})();function jr(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s<t.length;s++){let a=t[s];if(typeof a=="number")i=a;else if(i==1)o=ii(o,a);else if(i==2){let c=a,l=t[++s];r=ii(r,c+": "+l+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}var Vr=class extends $t{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=Ye(t);return new gn(n,this.ngModule)}};function _c(e,t){let n=[];for(let r in e){if(!e.hasOwnProperty(r))continue;let o=e[r];if(o===void 0)continue;let i=Array.isArray(o),s=i?o[0]:o,a=i?o[1]:Fe.None;t?n.push({propName:s,templateName:r,isSignal:(a&Fe.SignalBased)!==0}):n.push({propName:s,templateName:r})}return n}function Rm(e){let t=e.toLowerCase();return t==="svg"?Rp:t==="math"?kp:null}var gn=class extends Lr{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;get inputs(){let t=this.componentDef,n=t.inputTransforms,r=_c(t.inputs,!0);if(n!==null)for(let o of r)n.hasOwnProperty(o.propName)&&(o.transform=n[o.propName]);return r}get outputs(){return _c(this.componentDef.outputs,!1)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=jg(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){let i=D(null);try{o=o||this.ngModule;let s=o instanceof Re?o:o?.injector;s&&this.componentDef.getStandaloneInjector!==null&&(s=this.componentDef.getStandaloneInjector(s)||s);let a=s?new vi(t,s):t,c=a.get(Fr,null);if(c===null)throw new M(407,!1);let l=a.get(Om,null),u=a.get(Vt,null),d={rendererFactory:c,sanitizer:l,changeDetectionScheduler:u},p=c.createRenderer(null,this.componentDef),f=this.componentDef.selectors[0][0]||"div",h=r?Ug(p,r,this.componentDef.encapsulation,a):wu(p,f,Rm(f)),w=512;this.componentDef.signals?w|=4096:this.componentDef.onPush||(w|=16);let O=null;h!==null&&(O=js(h,a,!0));let T=Qs(0,null,null,1,0,null,null,null,null,null,null),j=mo(null,T,null,w,null,null,d,p,a,null,O);Rs(j);let Ee,ce,ft=null;try{let Y=this.componentDef,pt,Eo=null;Y.findHostDirectiveDefs?(pt=[],Eo=new Map,Y.findHostDirectiveDefs(Y,pt,Eo),pt.push(Y)):pt=[Y];let Ud=km(j,h);ft=Pm(Ud,h,Y,pt,j,d,p),ce=_s(T,H),h&&jm(p,Y,h,r),n!==void 0&&Vm(ce,this.ngContentSelectors,n),Ee=Fm(ft,Y,pt,Eo,j,[Hm]),Ks(T,j,null)}catch(Y){throw ft!==null&&_i(ft),_i(j),Y}finally{ks()}return new qi(this.componentType,Ee,zt(ce,j),j,ce)}finally{D(i)}}},qi=class extends $i{location;_rootLView;_tNode;instance;hostView;changeDetectorRef;componentType;previousInputValues=null;constructor(t,n,r,o,i){super(),this.location=r,this._rootLView=o,this._tNode=i,this.instance=n,this.hostView=this.changeDetectorRef=new st(o,void 0,!1),this.componentType=t}setInput(t,n){let r=this._tNode.inputs,o;if(r!==null&&(o=r[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let i=this._rootLView;Js(i[I],i,o,t,n),this.previousInputValues.set(t,n);let s=je(this._tNode.index,i);Xs(s,1)}}get injector(){return new Qe(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function km(e,t){let n=e[I],r=H;return e[r]=t,Gt(n,r,2,"#host",null)}function Pm(e,t,n,r,o,i,s){let a=o[I];Lm(r,e,t,s);let c=null;t!==null&&(c=js(t,o[Ft]));let l=i.rendererFactory.createRenderer(t,n),u=mo(o,ju(n),null,Bu(n),o[e.index],e,i,l,null,null,c);return a.firstCreatePass&&Vi(a,e,r.length-1),yo(o,u),o[e.index]=u}function Lm(e,t,n,r){for(let o of e)t.mergedAttrs=dn(t.mergedAttrs,o.hostAttrs);t.mergedAttrs!==null&&(jr(t,t.mergedAttrs,!0),n!==null&&Au(r,n,t))}function Fm(e,t,n,r,o,i){let s=V(),a=o[I],c=ae(s,o);Vu(a,o,s,n,null,r);for(let u=0;u<n.length;u++){let d=s.directiveStart+u,p=rt(o,a,d,s);Le(p,o)}Hu(a,o,s),c&&Le(c,o);let l=rt(o,a,s.directiveStart+s.componentOffset,s);if(e[$]=o[$]=l,i!==null)for(let u of i)u(l,t);return Ws(a,s,o),l}function jm(e,t,n,r){if(r)yi(e,n,["ng-version","19.0.5"]);else{let{attrs:o,classes:i}=Vg(t.selectors[0]);o&&yi(e,n,o),i&&i.length>0&&Su(e,n,i.join(" "))}}function Vm(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)}}function Hm(){let e=V();ao(v()[I],e)}var ea=(()=>{class e{static __NG_ELEMENT_ID__=Bm}return e})();function Bm(){let e=V();return rd(e,v())}var $m=ea,nd=class extends $m{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return zt(this._hostTNode,this._hostLView)}get injector(){return new Qe(this._hostTNode,this._hostLView)}get parentInjector(){let t=Ps(this._hostTNode,this._hostLView);if(Vl(t)){let n=Tr(t,this._hostLView),r=_r(t),o=n[I].data[r+8];return new Qe(o,n)}else return new Qe(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Tc(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-U}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Bt(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Ht(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!Np(t),a;if(s)a=n;else{let h=n||{};a=h.index,r=h.injector,o=h.projectableNodes,i=h.environmentInjector||h.ngModuleRef}let c=s?t:new gn(Ye(t)),l=r||this.parentInjector;if(!i&&c.ngModule==null){let w=(s?l:this.parentInjector).get(Re,null);w&&(i=w)}let u=Ye(c.componentType??{}),d=Bt(this._lContainer,u?.id??null),p=d?.firstChild??null,f=c.create(l,o,p,i);return this.insertImpl(f.hostView,a,Ht(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Lp(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[q],l=new nd(c,c[Z],c[q]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return _n(s,o,i,r),t.attachToViewContainerRef(),nl(Xo(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Tc(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=hn(this._lContainer,n);r&&(Er(Xo(this._lContainer),n),fo(r[I],r))}detach(t){let n=this._adjustIndex(t,-1),r=hn(this._lContainer,n);return r&&Er(Xo(this._lContainer),n)!=null?new st(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Tc(e){return e[Mr]}function Xo(e){return e[Mr]||(e[Mr]=[])}function rd(e,t){let n,r=t[e.index];return xe(r)?n=r:(n=$u(r,t,null,e),t[e.index]=n,yo(t,n)),qm(n,t,e,r),new nd(n,e,t)}function Um(e,t){let n=e[R],r=n.createComment(""),o=ae(t,e),i=xu(n,o);return Rr(n,i,r,Eg(n,o),!1),r}var qm=Gm,Wm=()=>!1;function zm(e,t,n){return Wm(e,t,n)}function Gm(e,t,n,r){if(e[Xe])return;let o;n.type&8?o=Ie(r):o=Um(t,n),e[Xe]=o}var Wi=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},zi=class e{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i<r;i++){let s=n.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new e(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)na(t,n).matches!==null&&this.queries[n].setDirty()}},Hr=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=Xm(t):this.predicate=t}},Gi=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)}},Qi=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,Qm(n,i)),this.matchTNodeWithReadOption(t,n,hr(n,t,i,!1,!1))}else r===Pr?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,hr(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===co||o===ea||o===Pr&&n.type&4)this.addMatch(n.index,-2);else{let i=hr(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 Qm(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 Zm(e,t){return e.type&11?zt(e,t):e.type&4?vo(e,t):null}function Ym(e,t,n,r){return n===-1?Zm(t,e):n===-2?Jm(e,t,r):rt(e,e[I],n,t)}function Jm(e,t,n){if(n===co)return zt(t,e);if(n===Pr)return vo(t,e);if(n===ea)return rd(t,e)}function od(e,t,n,r){let o=t[be].queries[r];if(o.matches===null){let i=e.data,s=n.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let l=s[c];if(l<0)a.push(null);else{let u=i[l];a.push(Ym(t,u,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function Zi(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=od(e,t,o,n);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else{let l=i[a+1],u=t[-c];for(let d=U;d<u.length;d++){let p=u[d];p[Je]===p[q]&&Zi(p[I],p,l,r)}if(u[jt]!==null){let d=u[jt];for(let p=0;p<d.length;p++){let f=d[p];Zi(f[I],f,l,r)}}}}}return r}function ta(e,t){return e[be].queries[t].queryList}function id(e,t,n){let r=new xi((n&4)===4);return zg(e,t,r,r.destroy),(t[be]??=new zi).queries.push(new Wi(r))-1}function Km(e,t,n){let r=k();return r.firstCreatePass&&(ad(r,new Hr(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),id(r,v(),t)}function sd(e,t,n,r){let o=k();if(o.firstCreatePass){let i=V();ad(o,new Hr(t,n,r),i.index),ey(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return id(o,v(),n)}function Xm(e){return e.split(",").map(t=>t.trim())}function ad(e,t,n){e.queries===null&&(e.queries=new Gi),e.queries.track(new Qi(t,n))}function ey(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 na(e,t){return e.queries.getByIndex(t)}function cd(e,t){let n=e[I],r=na(n,t);return r.crossesNgTemplate?Zi(n,e,t,[]):od(n,e,r,t)}function ty(e){return typeof e=="function"&&e[B]!==void 0}function ny(e,t){dt("NgSignals");let n=Za(e),r=n[B];return t?.equal&&(r.equal=t.equal),n.set=o=>rr(r,o),n.update=o=>Ya(r,o),n.asReadonly=ry.bind(n),n}function ry(){let e=this[B];if(e.readonlyFn===void 0){let t=()=>this();t[B]=e,e.readonlyFn=t}return e.readonlyFn}function ld(e){return ty(e)&&typeof e.set=="function"}function ra(e,t,n){let r,o=Wo(()=>{r._dirtyCounter();let i=oy(r,e);if(t&&i===void 0)throw new M(-951,!1);return i});return r=o[B],r._dirtyCounter=ny(0),r._flatValue=void 0,o}function ud(e){return ra(!0,!1,e)}function dd(e){return ra(!0,!0,e)}function fd(e){return ra(!1,!1,e)}function pd(e,t){let n=e[B];n._lView=v(),n._queryIndex=t,n._queryList=ta(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function oy(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[m]&4)return t?void 0:z;let o=ta(n,r),i=cd(n,r);return o.reset(i,tu),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}function Nc(e,t){return ud(t)}function iy(e,t){return dd(t)}var f_=(Nc.required=iy,Nc);function p_(e,t){return fd(t)}function Sc(e,t){return ud(t)}function sy(e,t){return dd(t)}var h_=(Sc.required=sy,Sc);function g_(e,t){return fd(t)}var at=class{},Yi=class{};var Ji=class extends at{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new Vr(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=il(t);this._bootstrapComponents=Eu(i.bootstrap),this._r3Injector=Ql(t,n,[{provide:at,useValue:this},{provide:$t,useValue:this.componentFactoryResolver},...r],ee(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)}},Ki=class extends Yi{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new Ji(this.moduleType,t,[])}};var Br=class extends at{injector;componentFactoryResolver=new Vr(this);instance=null;constructor(t){super();let n=new ln([...t.providers,{provide:at,useValue:this},{provide:$t,useValue:this.componentFactoryResolver}],t.parent||Cs(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function ay(e,t,n=null){return new Br({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var cy=(()=>{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=cl(!1,n.type),o=r.length>0?ay([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=F({token:e,providedIn:"environment",factory:()=>new e(ie(Re))})}return e})();function m_(e){return yn(()=>{let t=hd(e),n=K(J({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===ru.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(cy).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||pn.Emulated,styles:e.styles||z,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&dt("NgStandalone"),gd(n);let r=e.dependencies;return n.directiveDefs=Oc(r,!1),n.pipeDefs=Oc(r,!0),n.id=fy(n),n})}function ly(e){return Ye(e)||sl(e)}function uy(e){return e!==null}function dy(e){return yn(()=>({type:e.type,bootstrap:e.bootstrap||z,declarations:e.declarations||z,imports:e.imports||z,exports:e.exports||z,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Ac(e,t){if(e==null)return kt;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=Fe.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==Fe.None?[r,a]:r,t[i]=s):n[i]=r}return n}function y_(e){return yn(()=>{let t=hd(e);return gd(t),t})}function v_(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 hd(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||kt,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||z,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Ac(e.inputs,t),outputs:Ac(e.outputs),debugInfo:null}}function gd(e){e.features?.forEach(t=>t(e))}function Oc(e,t){if(!e)return null;let n=t?al:ly;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(uy)}function fy(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 py(e){return Object.getPrototypeOf(e.prototype).constructor}function hy(e){let t=py(e.type),n=!0,r=[e];for(;t;){let o;if(ke(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new M(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=cr(e.inputs),s.inputTransforms=cr(e.inputTransforms),s.declaredInputs=cr(e.declaredInputs),s.outputs=cr(e.outputs);let a=o.hostBindings;a&&Iy(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&yy(e,c),l&&vy(e,l),gy(e,o),zf(e.outputs,o.outputs),ke(o)&&o.data.animation){let u=e.data;u.animation=(u.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s<i.length;s++){let a=i[s];a&&a.ngInherit&&a(e),a===hy&&(n=!1)}}t=Object.getPrototypeOf(t)}my(r)}function gy(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let r=t.inputs[n];if(r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n],t.inputTransforms!==null)){let o=Array.isArray(r)?r[0]:r;if(!t.inputTransforms.hasOwnProperty(o))continue;e.inputTransforms??={},e.inputTransforms[o]=t.inputTransforms[o]}}}function my(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=dn(o.hostAttrs,n=dn(n,o.hostAttrs))}}function cr(e){return e===kt?{}:e===z?[]:e}function yy(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function vy(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function Iy(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function I_(e){let t=e.inputConfig,n={};for(let r in t)if(t.hasOwnProperty(r)){let o=t[r];Array.isArray(o)&&o[3]&&(n[r]=o[3])}e.inputTransforms=n}function md(e){return oa(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function Ey(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 oa(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function Io(e,t,n){return e[t]=n}function yd(e,t){return e[t]}function se(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function $r(e,t,n,r){let o=se(e,t,n);return se(e,t+1,r)||o}function wy(e,t,n,r,o,i){let s=$r(e,t,n,r);return $r(e,t+2,o,i)||s}function Dy(e){return(e.flags&32)===32}function by(e,t,n,r,o,i,s,a,c){let l=t.consts,u=Gt(t,e,4,s||null,a||null);Ys(t,n,u,Pe(l,c)),ao(t,u);let d=u.tView=Qs(2,u,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l,null);return t.queries!==null&&(t.queries.template(t,u),d.queries=t.queries.embeddedTView(u)),u}function Ur(e,t,n,r,o,i,s,a,c,l){let u=n+H,d=t.firstCreatePass?by(u,t,e,r,o,i,s,a,c):t.data[u];lt(d,!1);let p=Cy(t,e,d,n);io()&&po(t,e,p,d),Le(p,e);let f=$u(p,e,p,d);return e[u]=f,yo(e,f),zm(f,d,e),to(d)&&zs(t,e,d),c!=null&&Gs(e,d,l),d}function My(e,t,n,r,o,i,s,a){let c=v(),l=k(),u=Pe(l.consts,i);return Ur(c,l,e,t,n,r,o,u,s,a),My}var Cy=xy;function xy(e,t,n,r){return so(!0),t[R].createComment("")}var E_=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var _y=new A(""),Ty=new A(""),w_=(()=>{class e{_ngZone;registry;_isZoneStable=!0;_callbacks=[];taskTrackingZone=null;constructor(n,r,o){this._ngZone=n,this.registry=r,ia||(Sy(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{ne.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(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)(ie(ne),ie(Ny),ie(Ty))};static \u0275prov=F({token:e,factory:e.\u0275fac})}return e})(),Ny=(()=>{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 ia?.findTestabilityInTree(this,n,r)??null}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Sy(e){ia=e}var ia;function vd(e){return!!e&&typeof e.then=="function"}function Ay(e){return!!e&&typeof e.subscribe=="function"}var Oy=new A("");var Id=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=_(Oy,{optional:!0})??[];injector=_(ot);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=pl(this.injector,o);if(vd(i))n.push(i);else if(Ay(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Ed=(()=>{class e{static \u0275prov=F({token:e,providedIn:"root",factory:()=>new qr})}return e})(),qr=class{queuedEffectCount=0;queues=new Map;schedule(t){this.enqueue(t)}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)||(this.queuedEffectCount++,r.add(t))}flush(){for(;this.queuedEffectCount>0;)for(let[t,n]of this.queues)t===null?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(let n of t)t.delete(n),this.queuedEffectCount--,n.run()}},Ry=new A("");function ky(){Qa(()=>{throw new M(600,!1)})}function Py(e){return e.isBoundToModule}var Ly=10;function Fy(e,t,n){try{let r=n();return vd(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var Ut=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=_(bh);afterRenderManager=_(Ph);zonelessEnabled=_(Yl);rootEffectScheduler=_(Ed);dirtyFlags=0;deferredDirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new Te;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=_(bn).hasPendingTasks.pipe(he(n=>!n));constructor(){_(du,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=_(Re);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){let o=n instanceof Lr;if(!this._injector.get(Id).done){let p=!o&&yp(n),f=!1;throw new M(405,f)}let s;o?s=n:s=this._injector.get($t).resolveComponentFactory(n),this.componentTypes.push(s.componentType);let a=Py(s)?void 0:this._injector.get(at),c=r||s.selector,l=s.create(ot.NULL,[],c,a),u=l.location.nativeElement,d=l.injector.get(_y,null);return d?.registerApplication(u),l.onDestroy(()=>{this.detachView(l.hostView),gr(this.components,l),d?.unregisterApplication(u)}),this._loadComponent(l),l}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick=()=>{if(this.tracingSnapshot!==null){let r=this.tracingSnapshot;this.tracingSnapshot=null,r.run(uu.CHANGE_DETECTION,this._tick),r.dispose();return}if(this._runningTick)throw new M(101,!1);let n=D(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,D(n),this.afterTick.next()}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Fr,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let n=0;for(;this.dirtyFlags!==0&&n++<Ly;)this.synchronizeOnce()}synchronizeOnce(){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),this.dirtyFlags&7){let n=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:r,notifyErrorHandler:o}of this.allViews)jy(r,o,n,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}else this._rendererFactory?.begin?.(),this._rendererFactory?.end?.();this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>no(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;gr(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(Ry,[]).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),()=>gr(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new M(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function gr(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function jy(e,t,n,r){if(!n&&!no(e))return;Ku(e,t,n&&!r?0:1)}function Vy(e,t,n,r){let o=v(),i=ut();if(se(o,i,t)){let s=k(),a=oo();am(a,o,e,t,n,r)}return Vy}function wd(e,t,n,r){return se(e,ut(),n)?t+vn(n)+r:pe}function lr(e,t){return e<<17|t<<2}function ct(e){return e>>17&32767}function Hy(e){return(e&2)==2}function By(e,t){return e&131071|t<<17}function Xi(e){return e|2}function qt(e){return(e&131068)>>2}function ei(e,t){return e&-131069|t<<2}function $y(e){return(e&1)===1}function es(e){return e|1}function Uy(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=ct(s),c=qt(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||In(d,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let p=ct(e[a+1]);e[r+1]=lr(p,a),p!==0&&(e[p+1]=ei(e[p+1],r)),e[a+1]=By(e[a+1],r)}else e[r+1]=lr(a,0),a!==0&&(e[a+1]=ei(e[a+1],r)),a=r;else e[r+1]=lr(c,0),a===0?a=r:e[c+1]=ei(e[c+1],r),c=r;l&&(e[r+1]=Xi(e[r+1])),Rc(e,u,r,!0),Rc(e,u,r,!1),qy(t,u,e,r,i),s=lr(a,c),i?t.classBindings=s:t.styleBindings=s}function qy(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&In(i,t)>=0&&(n[r+1]=es(n[r+1]))}function Rc(e,t,n,r){let o=e[n+1],i=t===null,s=r?ct(o):qt(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];Wy(c,t)&&(a=!0,e[s+1]=r?es(l):Xi(l)),s=r?ct(l):qt(l)}a&&(e[n+1]=r?Xi(o):es(o))}function Wy(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?In(e,t)>=0:!1}var de={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function zy(e){return e.substring(de.key,de.keyEnd)}function Gy(e){return Qy(e),Dd(e,bd(e,0,de.textEnd))}function Dd(e,t){let n=de.textEnd;return n===t?-1:(t=de.keyEnd=Zy(e,de.key=t,n),bd(e,t,n))}function Qy(e){de.key=0,de.keyEnd=0,de.value=0,de.valueEnd=0,de.textEnd=e.length}function bd(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Zy(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function Yy(e,t,n){let r=v(),o=ut();if(se(r,o,t)){let i=k(),s=oo();Zs(i,s,r,e,t,r[R],n,!1)}return Yy}function ts(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";Js(e,n,i[s],s,r)}function Jy(e,t,n){return Cd(e,t,n,!1),Jy}function Ky(e,t){return Cd(e,t,null,!0),Ky}function D_(e){xd(ov,Md,e,!0)}function Md(e,t){for(let n=Gy(t);n>=0;n=Dd(t,n))Kr(e,zy(t),!0)}function Cd(e,t,n,r){let o=v(),i=k(),s=Sl(2);if(i.firstUpdatePass&&Td(i,e,s,r),t!==pe&&se(o,s,t)){let a=i.data[Ve()];Nd(i,a,o,o[R],e,o[s+1]=sv(t,n),r,s)}}function xd(e,t,n,r){let o=k(),i=Sl(2);o.firstUpdatePass&&Td(o,null,i,r);let s=v();if(n!==pe&&se(s,i,n)){let a=o.data[Ve()];if(Sd(a,r)&&!_d(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=ii(c,n||"")),ts(o,a,s,n,r)}else iv(o,a,s,s[R],s[i+1],s[i+1]=rv(e,t,n),r,i)}}function _d(e,t){return t>=e.expandoStartIndex}function Td(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[Ve()],s=_d(e,n);Sd(i,r)&&t===null&&!s&&(t=!1),t=Xy(o,i,t,r),Uy(o,i,t,n,s,r)}}function Xy(e,t,n,r){let o=Yp(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=ti(null,e,t,n,r),n=mn(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=ti(o,e,t,n,r),i===null){let c=ev(e,t,r);c!==void 0&&Array.isArray(c)&&(c=ti(null,e,t,c[1],r),c=mn(c,t.attrs,r),tv(e,t,r,c))}else i=nv(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function ev(e,t,n){let r=n?t.classBindings:t.styleBindings;if(qt(r)!==0)return e[ct(r)]}function tv(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[ct(o)]=r}function nv(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=mn(r,s,n)}return mn(r,t.attrs,n)}function ti(e,t,n,r,o){let i=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(i=t[a],r=mn(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function mn(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]),Kr(e,s,n?!0:t[++i]))}return e===void 0?null:e}function rv(e,t,n){if(n==null||n==="")return z;let r=[],o=Mn(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[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 ov(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&Kr(e,r,n)}function iv(e,t,n,r,o,i,s,a){o===pe&&(o=z);let c=0,l=0,u=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;u!==null||d!==null;){let p=c<o.length?o[c+1]:void 0,f=l<i.length?i[l+1]:void 0,h=null,w;u===d?(c+=2,l+=2,p!==f&&(h=d,w=f)):d===null||u!==null&&u<d?(c+=2,h=u):(l+=2,h=d,w=f),h!==null&&Nd(e,t,n,r,h,w,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function Nd(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,l=c[a+1],u=$y(l)?kc(c,t,n,o,qt(l),s):void 0;if(!Wr(u)){Wr(i)||Hy(l)&&(i=kc(c,null,n,o,a,s));let d=Dl(Ve(),n);xg(r,s,d,o,i)}}function kc(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=u===null,p=n[o+1];p===pe&&(p=d?z:void 0);let f=d?Go(p,r):u===r?p:void 0;if(l&&!Wr(f)&&(f=Go(c,r)),Wr(f)&&(a=f,s))return a;let h=e[o+1];o=s?ct(h):qt(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Go(c,r))}return a}function Wr(e){return e!==void 0}function sv(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=ee(Mn(e)))),e}function Sd(e,t){return(e.flags&(t?8:16))!==0}function b_(e,t,n){let r=v(),o=wd(r,e,t,n);xd(Kr,Md,o,!0)}var ns=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 ni(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function av(e,t,n){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(t)){let c=t.length-1;for(;i<=s&&i<=c;){let l=e.at(i),u=t[i],d=ni(i,l,i,u,n);if(d!==0){d<0&&e.updateValue(i,u),i++;continue}let p=e.at(s),f=t[c],h=ni(s,p,c,f,n);if(h!==0){h<0&&e.updateValue(s,f),s--,c--;continue}let w=n(i,l),O=n(s,p),T=n(i,u);if(Object.is(T,O)){let j=n(c,f);Object.is(j,w)?(e.swap(i,s),e.updateValue(s,f),c--,s--):e.move(s,i),e.updateValue(i,u),i++;continue}if(r??=new zr,o??=Lc(e,i,s,n),rs(e,r,i,T))e.updateValue(i,u),i++,s++;else if(o.has(T))r.set(w,e.detach(i)),s--;else{let j=e.create(i,t[i]);e.attach(i,j),i++,s++}}for(;i<=c;)Pc(e,r,n,i,t[i]),i++}else if(t!=null){let c=t[Symbol.iterator](),l=c.next();for(;!l.done&&i<=s;){let u=e.at(i),d=l.value,p=ni(i,u,i,d,n);if(p!==0)p<0&&e.updateValue(i,d),i++,l=c.next();else{r??=new zr,o??=Lc(e,i,s,n);let f=n(i,d);if(rs(e,r,i,f))e.updateValue(i,d),i++,s++,l=c.next();else if(!o.has(f))e.attach(i,e.create(i,d)),i++,s++,l=c.next();else{let h=n(i,u);r.set(h,e.detach(i)),s--}}}for(;!l.done;)Pc(e,r,n,e.length,l.value),l=c.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(c=>{e.destroy(c)})}function rs(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Pc(e,t,n,r,o){if(rs(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Lc(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 zr=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 M_(e,t){dt("NgControlFlow");let n=v(),r=ut(),o=n[r]!==pe?n[r]:-1,i=o!==-1?Gr(n,H+o):void 0,s=0;if(se(n,r,e)){let a=D(null);try{if(i!==void 0&&Qu(i,s),e!==-1){let c=H+e,l=Gr(n,c),u=as(n[I],c),d=Bt(l,u.tView.ssrId),p=xn(n,u,t,{dehydratedView:d});_n(l,p,s,Ht(u,d))}}finally{D(a)}}else if(i!==void 0){let a=Gu(i,s);a!==void 0&&(a[$]=t)}}var os=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-U}};function C_(e,t){return t}var is=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function x_(e,t,n,r,o,i,s,a,c,l,u,d,p){dt("NgControlFlow");let f=v(),h=k(),w=c!==void 0,O=v(),T=a?s.bind(O[re][$]):s,j=new is(w,T);O[H+e]=j,Ur(f,h,e+1,t,n,r,o,Pe(h.consts,i)),w&&Ur(f,h,e+2,c,l,u,d,Pe(h.consts,p))}var ss=class extends ns{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-U}at(t){return this.getLView(t)[$].$implicit}attach(t,n){let r=n[Lt];this.needsIndexUpdate||=t!==this.length,_n(this.lContainer,n,t,Ht(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,cv(this.lContainer,t)}create(t,n){let r=Bt(this.lContainer,this.templateTNode.tView.ssrId),o=xn(this.hostLView,this.templateTNode,new os(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){fo(t[I],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[$].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[$].$index=t}getLView(t){return lv(this.lContainer,t)}};function __(e){let t=D(null),n=Ve();try{let r=v(),o=r[I],i=r[n],s=n+1,a=Gr(r,s);if(i.liveCollection===void 0){let l=as(o,s);i.liveCollection=new ss(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(av(c,e,i.trackByFn),c.updateIndexes(),i.hasEmptyBlock){let l=ut(),u=c.length===0;if(se(r,l,u)){let d=n+2,p=Gr(r,d);if(u){let f=as(o,d),h=Bt(p,f.tView.ssrId),w=xn(r,f,void 0,{dehydratedView:h});_n(p,w,0,Ht(f,h))}else Qu(p,0)}}}finally{D(t)}}function Gr(e,t){return e[t]}function cv(e,t){return hn(e,t)}function lv(e,t){return Gu(e,t)}function as(e,t){return _s(e,t)}function uv(e,t,n,r,o,i){let s=t.consts,a=Pe(s,o),c=Gt(t,e,2,r,a);return Ys(t,n,c,Pe(s,i)),c.attrs!==null&&jr(c,c.attrs,!1),c.mergedAttrs!==null&&jr(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function Ad(e,t,n,r){let o=v(),i=k(),s=H+e,a=o[R],c=i.firstCreatePass?uv(s,i,o,t,n,r):i.data[s],l=fv(i,o,c,a,t,e);o[s]=l;let u=to(c);return lt(c,!0),Au(a,l,c),!Dy(c)&&io()&&po(i,o,l,c),Vp()===0&&Le(l,o),Hp(),u&&(zs(i,o,c),Ws(i,c,o)),r!==null&&Gs(o,c),Ad}function Od(){let e=V();Ss()?As():(e=e.parent,lt(e,!1));let t=e;$p(t)&&Up(),Bp();let n=k();return n.firstCreatePass&&(ao(n,e),xs(e)&&n.queries.elementEnd(e)),t.classesWithoutHost!=null&&rh(t)&&ts(n,t,v(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&oh(t)&&ts(n,t,v(),t.stylesWithoutHost,!1),Od}function dv(e,t,n,r){return Ad(e,t,n,r),Od(),dv}var fv=(e,t,n,r,o,i)=>(so(!0),wu(r,o,Xp()));function pv(e,t,n,r,o){let i=t.consts,s=Pe(i,r),a=Gt(t,e,8,"ng-container",s);s!==null&&jr(a,s,!0);let c=Pe(i,o);return Ys(t,n,a,c),t.queries!==null&&t.queries.elementStart(t,a),a}function Rd(e,t,n){let r=v(),o=k(),i=e+H,s=o.firstCreatePass?pv(i,o,r,t,n):o.data[i];lt(s,!0);let a=gv(o,r,s,e);return r[i]=a,io()&&po(o,r,a,s),Le(a,r),to(s)&&(zs(o,r,s),Ws(o,s,r)),n!=null&&Gs(r,s),Rd}function kd(){let e=V(),t=k();return Ss()?As():(e=e.parent,lt(e,!1)),t.firstCreatePass&&(ao(t,e),xs(e)&&t.queries.elementEnd(e)),kd}function hv(e,t,n){return Rd(e,t,n),kd(),hv}var gv=(e,t,n,r)=>(so(!0),fg(t[R],""));function T_(){return v()}function mv(e,t,n){let r=v(),o=ut();if(se(r,o,t)){let i=k(),s=oo();Zs(i,s,r,e,t,r[R],n,!0)}return mv}var Qr="en-US";var yv=Qr;function vv(e){typeof e=="string"&&(yv=e.toLowerCase().replace(/_/g,"-"))}var Iv=(e,t,n)=>{};function Ev(e,t,n,r){let o=v(),i=k(),s=V();return Pd(i,o,o[R],s,e,t,r),Ev}function wv(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===n&&o[i+1]===r){let a=t[br],c=o[i+2];return a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Pd(e,t,n,r,o,i,s){let a=to(r),l=e.firstCreatePass&&Wu(e),u=t[$],d=qu(t),p=!0;if(r.type&3||s){let w=ae(r,t),O=s?s(w):w,T=d.length,j=s?ce=>s(Ie(ce[r.index])):r.index,Ee=null;if(!s&&a&&(Ee=wv(e,t,o,r.index)),Ee!==null){let ce=Ee.__ngLastListenerFn__||Ee;ce.__ngNextListenerFn__=i,Ee.__ngLastListenerFn__=i,p=!1}else{i=jc(r,t,u,i),Iv(w,o,i);let ce=n.listen(O,o,i);d.push(i,ce),l&&l.push(o,j,T,T+1)}}else i=jc(r,t,u,i);let f=r.outputs,h;if(p&&f!==null&&(h=f[o])){let w=h.length;if(w)for(let O=0;O<w;O+=2){let T=h[O],j=h[O+1],ft=t[T][j].subscribe(i),Y=d.length;d.push(i,ft),l&&l.push(o,r.index,Y,-(Y+1))}}}function Fc(e,t,n,r){let o=D(null);try{return ye(6,t,n),n(r)!==!1}catch(i){return zu(e,i),!1}finally{ye(7,t,n),D(o)}}function jc(e,t,n,r){return function o(i){if(i===Function)return r;let s=e.componentOffset>-1?je(e.index,t):t;Xs(s,5);let a=Fc(t,n,r,i),c=o.__ngNextListenerFn__;for(;c;)a=Fc(t,n,c,i)&&a,c=c.__ngNextListenerFn__;return a}}function N_(e=1){return Kp(e)}function Dv(e,t){let n=null,r=Rg(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?Ru(e,i,!0):Lg(r,i))return o}return n}function S_(e){let t=v()[re][Z];if(!t.projection){let n=e?e.length:1,r=t.projection=hp(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?Dv(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function A_(e,t=0,n,r,o,i){let s=v(),a=k(),c=r?e+1:null;c!==null&&Ur(s,a,c,r,o,i,null,n);let l=Gt(a,H+e,16,null,n||null);l.projection===null&&(l.projection=t),As();let d=!s[Lt]||_l();s[re][Z].projection[l.projection]===null&&c!==null?bv(s,a,c):d&&(l.flags&32)!==32&&Mg(a,s,l)}function bv(e,t,n){let r=H+n,o=t.data[r],i=e[r],s=Bt(i,o.tView.ssrId),a=xn(e,o,void 0,{dehydratedView:s});_n(i,a,0,Ht(o,s))}function O_(e,t,n,r){sd(e,t,n,r)}function R_(e){let t=v(),n=k(),r=Os();ro(r+1);let o=na(n,r);if(e.dirty&&Pp(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=cd(t,r);e.reset(i,tu),e.notifyOnChanges()}return!0}return!1}function k_(){return ta(v(),Os())}function P_(e,t,n,r,o){pd(t,sd(e,n,r,o))}function L_(e,t,n,r){pd(e,Km(t,n,r))}function F_(e=1){ro(Os()+e)}function Mv(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function j_(e){let t=Wp();return bl(t,H+e)}function V_(e,t=""){let n=v(),r=k(),o=e+H,i=r.firstCreatePass?Gt(r,o,1,t,null):r.data[o],s=Cv(r,n,i,t,e);n[o]=s,io()&&po(r,n,s,i),lt(i,!1)}var Cv=(e,t,n,r,o)=>(so(!0),ug(t[R],r));function xv(e){return Ld("",e,""),xv}function Ld(e,t,n){let r=v(),o=wd(r,e,t,n);return o!==pe&&dm(r,Ve(),o),Ld}function _v(e,t,n){ld(t)&&(t=t());let r=v(),o=ut();if(se(r,o,t)){let i=k(),s=oo();Zs(i,s,r,e,t,r[R],n,!1)}return _v}function H_(e,t){let n=ld(e);return n&&e.set(t),n}function Tv(e,t){let n=v(),r=k(),o=V();return Pd(r,n,n[R],o,e,t),Tv}function Nv(e,t,n){let r=k();if(r.firstCreatePass){let o=ke(e);cs(n,r.data,r.blueprint,o,!0),cs(t,r.data,r.blueprint,o,!1)}}function cs(e,t,n,r,o){if(e=W(e),Array.isArray(e))for(let i=0;i<e.length;i++)cs(e[i],t,n,r,o);else{let i=k(),s=v(),a=V(),c=Pt(e)?e:W(e.provide),l=fl(e),u=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(Pt(e)||!e.multi){let f=new nt(l,o,go),h=oi(c,t,o?u:u+p,d);h===-1?(Ei(Sr(a,s),i,c),ri(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[h]=f,s[h]=f)}else{let f=oi(c,t,u+p,d),h=oi(c,t,u,u+p),w=f>=0&&n[f],O=h>=0&&n[h];if(o&&!O||!o&&!w){Ei(Sr(a,s),i,c);let T=Ov(o?Av:Sv,n.length,o,r,l);!o&&O&&(n[h].providerFactory=T),ri(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(T),s.push(T)}else{let T=Fd(n[o?h:f],l,!o&&r);ri(i,e,f>-1?f:h,T)}!o&&r&&O&&n[h].componentProviders++}}}function ri(e,t,n,r){let o=Pt(t),i=Dp(t);if(o||i){let c=(i?W(t.useClass):t).prototype.ngOnDestroy;if(c){let l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let u=l.indexOf(n);u===-1?l.push(n,[r,c]):l[u+1].push(r,c)}else l.push(n,c)}}}function Fd(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function oi(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function Sv(e,t,n,r){return ls(this.multi,[])}function Av(e,t,n,r){let o=this.multi,i;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=rt(n,n[I],this.providerFactory.index,r);i=a.slice(0,s),ls(o,i);for(let c=s;c<a.length;c++)i.push(a[c])}else i=[],ls(o,i);return i}function ls(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function Ov(e,t,n,r,o){let i=new nt(e,n,go);return i.multi=[],i.index=t,i.componentProviders=0,Fd(i,o,r&&!n),i}function B_(e,t=[]){return n=>{n.providersResolver=(r,o)=>Nv(r,o?o(e):e,t)}}function $_(e,t,n){let r=wn()+e,o=v();return o[r]===pe?Io(o,r,n?t.call(n):t()):yd(o,r)}function U_(e,t,n,r){return Vd(v(),wn(),e,t,n,r)}function q_(e,t,n,r,o){return Rv(v(),wn(),e,t,n,r,o)}function W_(e,t,n,r,o,i,s,a,c){let l=wn()+e,u=v(),d=wy(u,l,n,r,o,i);return $r(u,l+4,s,a)||d?Io(u,l+6,c?t.call(c,n,r,o,i,s,a):t(n,r,o,i,s,a)):yd(u,l+6)}function jd(e,t){let n=e[t];return n===pe?void 0:n}function Vd(e,t,n,r,o,i){let s=t+n;return se(e,s,o)?Io(e,s+1,i?r.call(i,o):r(o)):jd(e,s+1)}function Rv(e,t,n,r,o,i,s){let a=t+n;return $r(e,a,o,i)?Io(e,a+2,s?r.call(s,o,i):r(o,i)):jd(e,a+2)}function z_(e,t){let n=k(),r,o=e+H;n.firstCreatePass?(r=kv(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=Ze(r.type,!0)),s,a=Q(go);try{let c=Nr(!1),l=i();return Nr(c),Mv(n,v(),o,l),l}finally{Q(a)}}function kv(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function G_(e,t,n){let r=e+H,o=v(),i=bl(o,r);return Pv(o,r)?Vd(o,wn(),t,i.transform,n,i):i.transform(n)}function Pv(e,t){return e[I].data[t].pure}function Q_(e,t){return vo(e,t)}var us=class{full;major;minor;patch;constructor(t){this.full=t;let n=t.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}},Z_=new us("19.0.5"),ds=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},Y_=(()=>{class e{compileModuleSync(n){return new Ki(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=il(n),i=Eu(o.declarations).reduce((s,a)=>{let c=Ye(a);return c&&s.push(new gn(c)),s},[]);return new ds(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=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Lv=(()=>{class e{zone=_(ne);changeDetectionScheduler=_(Vt);applicationRef=_(Ut);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Fv({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new ne(K(J({},jv()),{scheduleInRootZone:n})),[{provide:ne,useFactory:e},{provide:wr,multi:!0,useFactory:()=>{let r=_(Lv,{optional:!0});return()=>r.initialize()}},{provide:wr,multi:!0,useFactory:()=>{let r=_(Vv);return()=>{r.initialize()}}},t===!0?{provide:Jl,useValue:!0}:[],{provide:Kl,useValue:n??Zl}]}function jv(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var Vv=(()=>{class e{subscription=new P;initialized=!1;zone=_(ne);pendingTasks=_(bn);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{ne.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{ne.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Hv=(()=>{class e{appRef=_(Ut);taskService=_(bn);ngZone=_(ne);zonelessEnabled=_(Yl);tracing=_(du,{optional:!0});disableScheduling=_(Jl,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new P;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Or):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(_(Kl,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Mi||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;let r=!1;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 8:{this.appRef.deferredDirtyFlags|=8;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 13:{this.appRef.dirtyFlags|=16,r=!0;break}case 14:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{r=!0;break}case 10:case 9:case 7:case 11:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?uc:Xl;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Or+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){throw this.taskService.remove(n),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,uc(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Bv(){return typeof $localize<"u"&&$localize.locale||Qr}var Hd=new A("",{providedIn:"root",factory:()=>_(Hd,C.Optional|C.SkipSelf)||Bv()});var fs=new A(""),$v=new A("");function rn(e){return!e.moduleRef}function Uv(e){let t=rn(e)?e.r3Injector:e.moduleRef.injector,n=t.get(ne);return n.run(()=>{rn(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(it,null),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:i=>{r.handleError(i)}})}),rn(e)){let i=()=>t.destroy(),s=e.platformInjector.get(fs);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(fs);s.add(i),e.moduleRef.onDestroy(()=>{gr(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return Fy(r,n,()=>{let i=t.get(Id);return i.runInitializers(),i.donePromise.then(()=>{let s=t.get(Hd,Qr);if(vv(s||Qr),!t.get($v,!0))return rn(e)?t.get(Ut):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(rn(e)){let c=t.get(Ut);return e.rootComponent!==void 0&&c.bootstrap(e.rootComponent),c}else return qv(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function qv(e,t){let n=e.injector.get(Ut);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new M(-403,!1);t.push(e)}var mr=null;function Wv(e=[],t){return ot.create({name:t,providers:[{provide:dl,useValue:"platform"},{provide:fs,useValue:new Set([()=>mr=null])},...e]})}function zv(e=[]){if(mr)return mr;let t=Wv(e);return mr=t,ky(),Gv(t),t}function Gv(e){let t=e.get(Ah,null);pl(e,()=>{t?.forEach(n=>n())})}function J_(){return!1}var Qv=(()=>{class e{static __NG_ELEMENT_ID__=Zv}return e})();function Zv(e){return Yv(V(),v(),(e&16)===16)}function Yv(e,t,n){if(eo(e)&&!n){let r=je(e.index,t);return new st(r,r)}else if(e.type&175){let r=t[re];return new st(r,t)}return null}var ps=class{constructor(){}supports(t){return md(t)}create(t){return new hs(t)}},Jv=(e,t)=>t,hs=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||Jv}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<Vc(r,o,i)?n:r,a=Vc(s,o,i),c=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(n=n._next,s.previousIndex==null)o++;else{i||(i=[]);let l=a-o,u=c-o;if(l!=u){for(let p=0;p<l;p++){let f=p<i.length?i[p]:i[p]=0,h=f+p;u<=h&&h<l&&(i[p]=f+1)}let d=s.previousIndex;i[d]=u-l}}a!==c&&t(s,a,c)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;n!==null;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;n!==null;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;n!==null;n=n._nextIdentityChange)t(n)}diff(t){if(t==null&&(t=[]),!md(t))throw new M(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._itHead,r=!1,o,i,s;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[a],s=this._trackByFn(a,i),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,i,s,a),r=!0):(r&&(n=this._verifyReinsertion(n,i,s,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)),n=n._next}else o=0,Ey(t,a=>{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return t===null?i=this._itTail:(i=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):(t=this._linkedRecords===null?null:this._linkedRecords.get(r,o),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new gs(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 Zr),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 Zr),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}},gs=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}},ms=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}},Zr=class{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new ms,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 Vc(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 ys=class{constructor(){}supports(t){return t instanceof Map||oa(t)}create(){return new vs}},vs=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;_removalsTail=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||oa(t)))throw new M(900,!1);return this.check(t)?this:null}onDestroy(){}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 Is(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))}},Is=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function Hc(){return new Kv([new ps])}var Kv=(()=>{class e{factories;static \u0275prov=F({token:e,providedIn:"root",factory:Hc});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:r=>e.create(n,r||Hc()),deps:[[e,new tl,new el]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new M(901,!1)}}return e})();function Bc(){return new Xv([new ys])}var Xv=(()=>{class e{static \u0275prov=F({token:e,providedIn:"root",factory:Bc});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:r=>e.create(n,r||Bc()),deps:[[e,new tl,new el]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new M(901,!1)}}return e})();var K_=(()=>{class e{constructor(n){}static \u0275fac=function(r){return new(r||e)(ie(Ut))};static \u0275mod=dy({type:e});static \u0275inj=Qf({})}return e})();function X_(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=zv(r),i=[Fv({}),{provide:Vt,useExisting:Hv},...n||[]],s=new Br({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1});return Uv({r3Injector:s.injector,platformInjector:o,rootComponent:t})}catch(t){return Promise.reject(t)}}function eT(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function tT(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function nT(e,t){dt("NgSignals");let n=Wo(e);return t?.equal&&(n[B].equal=t.equal),n}function rT(e){let t=D(null);try{return e()}finally{D(t)}}var Bd=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=eI}return e})();function eI(){return new Bd(v(),V())}var tI=!1,nI=(()=>{class e extends qr{pendingTasks=_(bn);taskId=null;schedule(n){super.schedule(n),this.taskId===null&&(this.taskId=this.pendingTasks.add(),queueMicrotask(()=>this.flush()))}flush(){try{super.flush()}finally{this.taskId!==null&&(this.pendingTasks.remove(this.taskId),this.taskId=null)}}static \u0275prov=F({token:e,providedIn:"root",factory:()=>new e})}return e})(),Es=class{scheduler;effectFn;zone;injector;unregisterOnDestroy;watcher;constructor(t,n,r,o,i,s){this.scheduler=t,this.effectFn=n,this.zone=r,this.injector=i,this.watcher=Ja(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(n){this.injector.get(it,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.schedule(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function rI(){}function oI(e,t){dt("NgSignals"),!t?.injector&&gl(rI);let n=t?.injector??_(ot),r=t?.manualCleanup!==!0?n.get(Dn):null,o=new Es(n.get(nI),e,typeof Zone>"u"?null:Zone.current,r,n,t?.allowSignalWrites??!1),i=n.get(Qv,null,{optional:!0});return!i||!(i._lView[m]&8)?o.watcher.notify():(i._lView[dr]??=[]).push(o.watcher.notify),o}var iI=tI;var ws=class{[B];constructor(t){this[B]=t}destroy(){this[B].destroy()}};function sI(e,t){if(iI)return oI(e,t);dt("NgSignals"),!t?.injector&&gl(sI);let n=t?.injector??_(ot),r=t?.manualCleanup!==!0?n.get(Dn):null,o,i=n.get(Bd,null,{optional:!0}),s=n.get(Vt);return i!==null&&!t?.forceRoot?(o=lI(i.view,s,e),r instanceof Ar&&r._lView===i.view&&(r=null)):o=uI(e,n.get(Ed),s),o.injector=n,r!==null&&(o.onDestroyFn=r.onDestroy(()=>o.destroy())),new ws(o)}var $d=K(J({},Ge),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,onDestroyFn:fn,run(){if(this.dirty=!1,this.hasRun&&!nn(this))return;this.hasRun=!0;let e=r=>(this.cleanupFns??=[]).push(r),t=_t(this),n=xr(!1);try{this.maybeCleanup(),this.fn(e)}finally{xr(n),tn(this,t)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),aI=K(J({},$d),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(13)},destroy(){Tt(this),this.onDestroyFn(),this.maybeCleanup()}}),cI=K(J({},$d),{consumerMarkedDirty(){this.view[m]|=8192,En(this.view),this.notifier.notify(14)},destroy(){Tt(this),this.onDestroyFn(),this.maybeCleanup(),this.view[Ke]?.delete(this)}});function lI(e,t,n){let r=Object.create(cI);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=n,e[Ke]??=new Set,e[Ke].add(r),r.consumerMarkedDirty(r),r}function uI(e,t,n){let r=Object.create(aI);return r.fn=e,r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.schedule(r),r.notifier.notify(13),r}export{P as a,Gd as b,x as c,So as d,Ao as e,Te as f,Zt as g,of as h,we as i,me as j,sf as k,af as l,cf as m,We as n,he as o,mf as p,oe as q,Qt as r,Ct as s,vf as t,If as u,Ro as v,rf as w,xt as x,Aa as y,xf as z,Kt as A,ze as B,ko as C,_f as D,Nf as E,Sf as F,Lo as G,Af as H,Of as I,Rf as J,ka as K,kf as L,Pa as M,La as N,Fa as O,ja as P,Pf as Q,M as R,yr as S,ee as T,zc as U,F as V,Qf as W,Vx as X,A as Y,C as Z,ie as _,_ as $,Hx as aa,vp as ba,dl as ca,Re as da,pl as ea,gl as fa,Bx as ga,$x as ha,Ux as ia,qx as ja,Wx as ka,ot as la,Dn as ma,bn as na,Se as oa,ne as pa,it as qa,zx as ra,Gx as sa,co as ta,Qx as ua,Zx as va,Ah as wa,Yx as xa,Jx as ya,Kx as za,dt as Aa,pn as Ba,Mn as Ca,Vs as Da,Xx as Ea,e_ as Fa,t_ as Ga,n_ as Ha,r_ as Ia,hu as Ja,eg as Ka,uo as La,o_ as Ma,ng as Na,i_ as Oa,s_ as Pa,Fi as Qa,a_ as Ra,go as Sa,Pr as Ta,$t as Ua,Fr as Va,u_ as Wa,ea as Xa,ny as Ya,f_ as Za,p_ as _a,h_ as $a,g_ as ab,Yi as bb,ay as cb,m_ as db,dy as eb,y_ as fb,v_ as gb,hy as hb,I_ as ib,My as jb,E_ as kb,_y as lb,Ty as mb,w_ as nb,Ny as ob,vd as pb,Ay as qb,Ry as rb,Ut as sb,Vy as tb,Yy as ub,Jy as vb,Ky as wb,D_ as xb,b_ as yb,M_ as zb,C_ as Ab,x_ as Bb,__ as Cb,Ad as Db,Od as Eb,dv as Fb,Rd as Gb,kd as Hb,hv as Ib,T_ as Jb,mv as Kb,Ev as Lb,N_ as Mb,S_ as Nb,A_ as Ob,O_ as Pb,R_ as Qb,k_ as Rb,P_ as Sb,L_ as Tb,F_ as Ub,j_ as Vb,V_ as Wb,xv as Xb,Ld as Yb,_v as Zb,H_ as _b,Tv as $b,B_ as ac,$_ as bc,U_ as cc,q_ as dc,W_ as ec,z_ as fc,G_ as gc,Q_ as hc,Z_ as ic,Y_ as jc,J_ as kc,Qv as lc,Kv as mc,Xv as nc,K_ as oc,X_ as pc,eT as qc,tT as rc,nT as sc,rT as tc,sI as uc};