var pf=Object.defineProperty,hf=Object.defineProperties;var gf=Object.getOwnPropertyDescriptors;var En=Object.getOwnPropertySymbols;var xa=Object.prototype.hasOwnProperty,Sa=Object.prototype.propertyIsEnumerable;var Ma=(e,t,n)=>t in e?pf(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ht=(e,t)=>{for(var n in t||={})xa.call(t,n)&&Ma(e,n,t[n]);if(En)for(var n of En(t))Sa.call(t,n)&&Ma(e,n,t[n]);return e},gt=(e,t)=>hf(e,gf(t));var Mw=(e,t)=>{var n={};for(var r in e)xa.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&En)for(var r of En(e))t.indexOf(r)<0&&Sa.call(e,r)&&(n[r]=e[r]);return n};var Ta=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)};var xw=(e,t,n)=>(Ta(e,t,"read from private field"),n?n.call(e):t.get(e)),Sw=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},Tw=(e,t,n,r)=>(Ta(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n);var mf=(e,t,n)=>new Promise((r,o)=>{var i=u=>{try{a(n.next(u))}catch(c){o(c)}},s=u=>{try{a(n.throw(u))}catch(c){o(c)}},a=u=>u.done?r(u.value):Promise.resolve(u.value).then(i,s);a((n=n.apply(e,t)).next())});var Na=null,Cn=!1,Do=1,_n=Symbol("SIGNAL");function b(e){let t=Na;return Na=e,t}function yf(){return Cn}var wo={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 Df(e){if(!(_o(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Do)){if(!e.producerMustRecompute(e)&&!Mn(e)){e.dirty=!1,e.lastCleanEpoch=Do;return}e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=Do}}function vf(e){if(e.liveConsumerNode===void 0)return;let t=Cn;Cn=!0;try{for(let n of e.liveConsumerNode)n.dirty||Aa(n)}finally{Cn=t}}function Aa(e){e.dirty=!0,vf(e),e.consumerMarkedDirty?.(e)}function Io(e){return e&&(e.nextProducerIndex=0),b(e)}function Eo(e,t){if(b(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(_o(e))for(let n=e.nextProducerIndex;ne.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Mn(e){bn(e);for(let t=0;t0}function bn(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function wf(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function If(){throw new Error}var Ef=If;function Oa(e){Ef=e}function Fa(e,t,n){let r=Object.create(Cf);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;let o=u=>{r.cleanupFn=u};function i(u){return u.fn===null&&u.schedule===null}function s(u){i(u)||(Co(u),u.cleanupFn(),u.fn=null,u.schedule=null,u.cleanupFn=vo)}let a=()=>{if(r.fn===null)return;if(yf())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!Mn(r))return;r.hasRun=!0;let u=Io(r);try{r.cleanupFn(),r.cleanupFn=vo,r.fn(o)}finally{Eo(r,u)}};return r.ref={notify:()=>Aa(r),run:a,cleanup:()=>r.cleanupFn(),destroy:()=>s(r),[_n]:r},r.ref}var vo=()=>{},Cf=gt(ht({},wo),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule!==null&&e.schedule(e.ref)},hasRun:!1,cleanupFn:vo});function g(e){return typeof e=="function"}function mt(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 xn=mt(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 Ge(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var L=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 xn?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Ra(i)}catch(s){t=t??[],s instanceof xn?t=[...t,...s.errors]:t.push(s)}}if(t)throw new xn(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Ra(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)&&Ge(n,t)}remove(t){let{_finalizers:n}=this;n&&Ge(n,t),t instanceof e&&t._removeParent(this)}};L.EMPTY=(()=>{let e=new L;return e.closed=!0,e})();var Mo=L.EMPTY;function Sn(e){return e instanceof L||e&&"closed"in e&&g(e.remove)&&g(e.add)&&g(e.unsubscribe)}function Ra(e){g(e)?e():e.unsubscribe()}var se={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var yt={setTimeout(e,t,...n){let{delegate:r}=yt;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=yt;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Tn(e){yt.setTimeout(()=>{let{onUnhandledError:t}=se;if(t)t(e);else throw e})}function We(){}var Pa=xo("C",void 0,void 0);function ka(e){return xo("E",void 0,e)}function La(e){return xo("N",e,void 0)}function xo(e,t,n){return{kind:e,value:t,error:n}}var ze=null;function Dt(e){if(se.useDeprecatedSynchronousErrorHandling){let t=!ze;if(t&&(ze={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=ze;if(ze=null,n)throw r}}else e()}function ja(e){se.useDeprecatedSynchronousErrorHandling&&ze&&(ze.errorThrown=!0,ze.error=e)}var qe=class extends L{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Sn(t)&&t.add(this)):this.destination=Mf}static create(t,n,r){return new ae(t,n,r)}next(t){this.isStopped?To(La(t),this):this._next(t)}error(t){this.isStopped?To(ka(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?To(Pa,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()}}},bf=Function.prototype.bind;function So(e,t){return bf.call(e,t)}var No=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Nn(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Nn(r)}else Nn(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Nn(n)}}},ae=class extends qe{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&&se.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&So(t.next,i),error:t.error&&So(t.error,i),complete:t.complete&&So(t.complete,i)}):o=t}this.destination=new No(o)}};function Nn(e){se.useDeprecatedSynchronousErrorHandling?ja(e):Tn(e)}function _f(e){throw e}function To(e,t){let{onStoppedNotification:n}=se;n&&yt.setTimeout(()=>n(e,t))}var Mf={closed:!0,next:We,error:_f,complete:We};var vt=typeof Symbol=="function"&&Symbol.observable||"@@observable";function U(e){return e}function xf(...e){return Ao(e)}function Ao(e){return e.length===0?U:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var _=(()=>{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=Tf(n)?n:new ae(n,r,o);return Dt(()=>{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=Va(r),new r((o,i)=>{let s=new ae({next:a=>{try{n(a)}catch(u){i(u),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)}[vt](){return this}pipe(...n){return Ao(n)(this)}toPromise(n){return n=Va(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 Va(e){var t;return(t=e??se.Promise)!==null&&t!==void 0?t:Promise}function Sf(e){return e&&g(e.next)&&g(e.error)&&g(e.complete)}function Tf(e){return e&&e instanceof qe||Sf(e)&&Sn(e)}function Oo(e){return g(e?.lift)}function v(e){return t=>{if(Oo(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 D(e,t,n,r,o){return new Fo(e,t,n,r,o)}var Fo=class extends qe{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(u){t.error(u)}}:super._next,this._error=o?function(a){try{o(a)}catch(u){t.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function Ro(){return v((e,t)=>{let n=null;e._refCount++;let r=D(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 Po=class extends _{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Oo(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 L;let n=this.getSubject();t.add(this.source.subscribe(D(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=L.EMPTY)}return t}refCount(){return Ro()(this)}};var Ba=mt(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var re=(()=>{class e extends _{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new An(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Ba}next(n){Dt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){Dt(()=>{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(){Dt(()=>{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?Mo:(this.currentObservers=null,i.push(n),new L(()=>{this.currentObservers=null,Ge(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new _;return n.source=this,n}}return e.create=(t,n)=>new An(t,n),e})(),An=class extends re{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:Mo}};var Gt=class extends re{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 Wt={now(){return(Wt.delegate||Date).now()},delegate:void 0};var On=class extends re{constructor(t=1/0,n=1/0,r=Wt){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;se.complete());function kn(e){return e&&g(e.schedule)}function ko(e){return e[e.length-1]}function Ln(e){return g(ko(e))?e.pop():void 0}function me(e){return kn(ko(e))?e.pop():void 0}function Ha(e,t){return typeof ko(e)=="number"?e.pop():t}function Ga(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(l){try{c(r.next(l))}catch(d){s(d)}}function u(l){try{c(r.throw(l))}catch(d){s(d)}}function c(l){l.done?i(l.value):o(l.value).then(a,u)}c((r=r.apply(e,t||[])).next())})}function Ua(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 Ze(e){return this instanceof Ze?(this.v=e,this):new Ze(e)}function Wa(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o={},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(m){return new Promise(function(N,x){i.push([f,m,N,x])>1||u(f,m)})},h&&(o[f]=h(o[f])))}function u(f,h){try{c(r[f](h))}catch(m){p(i[0][3],m)}}function c(f){f.value instanceof Ze?Promise.resolve(f.value.v).then(l,d):p(i[0][2],f)}function l(f){u("next",f)}function d(f){u("throw",f)}function p(f,h){f(h),i.shift(),i.length&&u(i[0][0],i[0][1])}}function za(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 Ua=="function"?Ua(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,u){s=e[i](s),o(a,u,s.done,s.value)})}}function o(i,s,a,u){Promise.resolve(u).then(function(c){i({value:c,done:a})},s)}}var It=e=>e&&typeof e.length=="number"&&typeof e!="function";function jn(e){return g(e?.then)}function Vn(e){return g(e[vt])}function Bn(e){return Symbol.asyncIterator&&g(e?.[Symbol.asyncIterator])}function $n(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 Nf(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Hn=Nf();function Un(e){return g(e?.[Hn])}function Gn(e){return Wa(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield Ze(n.read());if(o)return yield Ze(void 0);yield yield Ze(r)}}finally{n.releaseLock()}})}function Wn(e){return g(e?.getReader)}function T(e){if(e instanceof _)return e;if(e!=null){if(Vn(e))return Af(e);if(It(e))return Of(e);if(jn(e))return Ff(e);if(Bn(e))return qa(e);if(Un(e))return Rf(e);if(Wn(e))return Pf(e)}throw $n(e)}function Af(e){return new _(t=>{let n=e[vt]();if(g(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Of(e){return new _(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Tn)})}function Rf(e){return new _(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function qa(e){return new _(t=>{kf(e,t).catch(n=>t.error(n))})}function Pf(e){return qa(Gn(e))}function kf(e,t){var n,r,o,i;return Ga(this,void 0,void 0,function*(){try{for(n=za(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 Y(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 zn(e,t=0){return v((n,r)=>{n.subscribe(D(r,o=>Y(r,e,()=>r.next(o),t),()=>Y(r,e,()=>r.complete(),t),o=>Y(r,e,()=>r.error(o),t)))})}function qn(e,t=0){return v((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Ya(e,t){return T(e).pipe(qn(t),zn(t))}function Qa(e,t){return T(e).pipe(qn(t),zn(t))}function Za(e,t){return new _(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Ka(e,t){return new _(n=>{let r;return Y(n,t,()=>{r=e[Hn](),Y(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 Yn(e,t){if(!e)throw new Error("Iterable cannot be null");return new _(n=>{Y(n,t,()=>{let r=e[Symbol.asyncIterator]();Y(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Ja(e,t){return Yn(Gn(e),t)}function Xa(e,t){if(e!=null){if(Vn(e))return Ya(e,t);if(It(e))return Za(e,t);if(jn(e))return Qa(e,t);if(Bn(e))return Yn(e,t);if(Un(e))return Ka(e,t);if(Wn(e))return Ja(e,t)}throw $n(e)}function ye(e,t){return t?Xa(e,t):T(e)}function Lf(...e){let t=me(e);return ye(e,t)}function jf(e,t){let n=g(e)?e:()=>e,r=o=>o.error(n());return new _(t?o=>t.schedule(r,0,o):r)}function Vf(e){return!!e&&(e instanceof _||g(e.lift)&&g(e.subscribe))}var _e=mt(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Bf(e,t){let n=typeof t=="object";return new Promise((r,o)=>{let i=new ae({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{n?r(t.defaultValue):o(new _e)}});e.subscribe(i)})}function eu(e){return e instanceof Date&&!isNaN(e)}function De(e,t){return v((n,r)=>{let o=0;n.subscribe(D(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:$f}=Array;function Hf(e,t){return $f(t)?e(...t):e(t)}function Et(e){return De(t=>Hf(e,t))}var{isArray:Uf}=Array,{getPrototypeOf:Gf,prototype:Wf,keys:zf}=Object;function Qn(e){if(e.length===1){let t=e[0];if(Uf(t))return{args:t,keys:null};if(qf(t)){let n=zf(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function qf(e){return e&&typeof e=="object"&&Gf(e)===Wf}function Zn(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Yf(...e){let t=me(e),n=Ln(e),{args:r,keys:o}=Qn(e);if(r.length===0)return ye([],t);let i=new _(Qf(r,t,o?s=>Zn(o,s):U));return n?i.pipe(Et(n)):i}function Qf(e,t,n=U){return r=>{tu(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let u=0;u{let c=ye(e[u],t),l=!1;c.subscribe(D(r,d=>{i[u]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function tu(e,t,n){e?Y(n,e,t):t()}function nu(e,t,n,r,o,i,s,a){let u=[],c=0,l=0,d=!1,p=()=>{d&&!u.length&&!c&&t.complete()},f=m=>c{i&&t.next(m),c++;let N=!1;T(n(m,l++)).subscribe(D(t,x=>{o?.(x),i?f(x):t.next(x)},()=>{N=!0},void 0,()=>{if(N)try{for(c--;u.length&&ch(x)):h(x)}p()}catch(x){t.error(x)}}))};return e.subscribe(D(t,f,()=>{d=!0,p()})),()=>{a?.()}}function ue(e,t,n=1/0){return g(t)?ue((r,o)=>De((i,s)=>t(r,i,o,s))(T(e(r,o))),n):(typeof t=="number"&&(n=t),v((r,o)=>nu(r,o,e,n)))}function qt(e=1/0){return ue(U,e)}function ru(){return qt(1)}function Ct(...e){return ru()(ye(e,me(e)))}function Zf(e){return new _(t=>{T(e()).subscribe(t)})}function Kf(...e){let t=Ln(e),{args:n,keys:r}=Qn(e),o=new _(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),u=s,c=s;for(let l=0;l{d||(d=!0,c--),a[l]=p},()=>u--,void 0,()=>{(!u||!d)&&(c||i.next(r?Zn(r,a):a),i.complete())}))}});return t?o.pipe(Et(t)):o}var Jf=["addListener","removeListener"],Xf=["addEventListener","removeEventListener"],ep=["on","off"];function Lo(e,t,n,r){if(g(n)&&(r=n,n=void 0),r)return Lo(e,t,n).pipe(Et(r));let[o,i]=rp(e)?Xf.map(s=>a=>e[s](t,a,n)):tp(e)?Jf.map(ou(e,t)):np(e)?ep.map(ou(e,t)):[];if(!o&&It(e))return ue(s=>Lo(s,t,n))(T(e));if(!o)throw new TypeError("Invalid event target");return new _(s=>{let a=(...u)=>s.next(1i(a)})}function ou(e,t){return n=>r=>e[n](t,r)}function tp(e){return g(e.addListener)&&g(e.removeListener)}function np(e){return g(e.on)&&g(e.off)}function rp(e){return g(e.addEventListener)&&g(e.removeEventListener)}function Yt(e=0,t,n=$a){let r=-1;return t!=null&&(kn(t)?n=t:r=t),new _(o=>{let i=eu(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 op(...e){let t=me(e),n=Ha(e,1/0),r=e;return r.length?r.length===1?T(r[0]):qt(n)(ye(r,t)):Qe}function Ke(e,t){return v((n,r)=>{let o=0;n.subscribe(D(r,i=>e.call(t,i,o++)&&r.next(i)))})}function iu(e){return v((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let c=o;o=null,n.next(c)}s&&n.complete()},u=()=>{i=null,s&&n.complete()};t.subscribe(D(n,c=>{r=!0,o=c,i||T(e(c)).subscribe(i=D(n,a,u))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function ip(e,t=Ye){return iu(()=>Yt(e,t))}function su(e){return v((t,n)=>{let r=null,o=!1,i;r=t.subscribe(D(n,void 0,void 0,s=>{i=T(e(s,su(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function au(e,t,n,r,o){return(i,s)=>{let a=n,u=t,c=0;i.subscribe(D(s,l=>{let d=c++;u=a?e(u,l,d):(a=!0,l),r&&s.next(u)},o&&(()=>{a&&s.next(u),s.complete()})))}}function sp(e,t){return g(t)?ue(e,t,1):ue(e,1)}function ap(e,t=Ye){return v((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let c=i;i=null,r.next(c)}};function u(){let c=s+e,l=t.now();if(l{i=c,s=t.now(),o||(o=t.schedule(u,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function Qt(e){return v((t,n)=>{let r=!1;t.subscribe(D(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function bt(e){return e<=0?()=>Qe:v((t,n)=>{let r=0;t.subscribe(D(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function uu(){return v((e,t)=>{e.subscribe(D(t,We))})}function jo(e){return De(()=>e)}function Vo(e,t){return t?n=>Ct(t.pipe(bt(1),uu()),n.pipe(Vo(e))):ue((n,r)=>T(e(n,r)).pipe(bt(1),jo(n)))}function up(e,t=Ye){let n=Yt(e,t);return Vo(()=>n)}function cp(e,t=U){return e=e??lp,v((n,r)=>{let o,i=!0;n.subscribe(D(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function lp(e,t){return e===t}function Kn(e=dp){return v((t,n)=>{let r=!1;t.subscribe(D(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function dp(){return new _e}function fp(e){return v((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Bo(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Ke((o,i)=>e(o,i,r)):U,bt(1),n?Qt(t):Kn(()=>new _e))}function $o(e){return e<=0?()=>Qe:v((t,n)=>{let r=[];t.subscribe(D(n,o=>{r.push(o),e{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function pp(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Ke((o,i)=>e(o,i,r)):U,$o(1),n?Qt(t):Kn(()=>new _e))}function hp(e,t){return v(au(e,t,arguments.length>=2,!0))}function Uo(e={}){let{connector:t=()=>new re,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,u,c=0,l=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=u=void 0,l=d=!1},h=()=>{let m=s;f(),m?.unsubscribe()};return v((m,N)=>{c++,!d&&!l&&p();let x=u=u??t();N.add(()=>{c--,c===0&&!d&&!l&&(a=Ho(h,o))}),x.subscribe(N),!s&&c>0&&(s=new ae({next:ne=>x.next(ne),error:ne=>{d=!0,p(),a=Ho(f,n,ne),x.error(ne)},complete:()=>{l=!0,p(),a=Ho(f,r),x.complete()}}),T(m).subscribe(s))})(i)}}function Ho(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new ae({next:()=>{r.unsubscribe(),e()}});return T(t(...n)).subscribe(r)}function gp(e,t,n){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:t=1/0,refCount:o=!1,scheduler:n}=e:r=e??1/0,Uo({connector:()=>new On(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function mp(e){return Ke((t,n)=>e<=n)}function cu(...e){let t=me(e);return v((n,r)=>{(t?Ct(e,n,t):Ct(e,n)).subscribe(r)})}function yp(e,t){return v((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(D(r,u=>{o?.unsubscribe();let c=0,l=i++;T(e(u,l)).subscribe(o=D(r,d=>r.next(t?t(u,d,l,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Dp(e){return v((t,n)=>{T(e).subscribe(D(n,()=>n.complete(),We)),!n.closed&&t.subscribe(n)})}function vp(e,t=!1){return v((n,r)=>{let o=0;n.subscribe(D(r,i=>{let s=e(i,o++);(s||t)&&r.next(i),!s&&r.complete()}))})}function lu(e,t,n){let r=g(e)||t||n?{next:e,error:t,complete:n}:e;return r?v((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(D(i,u=>{var c;(c=r.next)===null||c===void 0||c.call(r,u),i.next(u)},()=>{var u;a=!1,(u=r.complete)===null||u===void 0||u.call(r),i.complete()},u=>{var c;a=!1,(c=r.error)===null||c===void 0||c.call(r,u),i.error(u)},()=>{var u,c;a&&((u=r.unsubscribe)===null||u===void 0||u.call(r)),(c=r.finalize)===null||c===void 0||c.call(r)}))}):U}var Ku="https://g.co/ng/security#xss",S=class extends Error{constructor(t,n){super(Ju(t,n)),this.code=t}};function Ju(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}function pn(e){return{toString:e}.toString()}var Jn="__parameters__";function wp(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function Xu(e,t,n){return pn(()=>{let r=wp(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(u,c,l){let d=u.hasOwnProperty(Jn)?u[Jn]:Object.defineProperty(u,Jn,{value:[]})[Jn];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),u}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var Fe=globalThis;function O(e){for(let t in e)if(e[t]===O)return t;throw Error("Could not find renamed property on target object.")}function Ip(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function z(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(z).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 ai(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var Ep=O({__forward_ref__:O});function ec(e){return e.__forward_ref__=ec,e.toString=function(){return z(this())},e}function G(e){return tc(e)?e():e}function tc(e){return typeof e=="function"&&e.hasOwnProperty(Ep)&&e.__forward_ref__===ec}function R(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function nc(e){return{providers:e.providers||[],imports:e.imports||[]}}function jr(e){return du(e,rc)||du(e,oc)}function mx(e){return jr(e)!==null}function du(e,t){return e.hasOwnProperty(t)?e[t]:null}function Cp(e){let t=e&&(e[rc]||e[oc]);return t||null}function fu(e){return e&&(e.hasOwnProperty(pu)||e.hasOwnProperty(bp))?e[pu]:null}var rc=O({\u0275prov:O}),pu=O({\u0275inj:O}),oc=O({ngInjectableDef:O}),bp=O({ngInjectorDef:O}),F=class{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=R({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function ic(e){return e&&!!e.\u0275providers}var _p=O({\u0275cmp:O}),Mp=O({\u0275dir:O}),xp=O({\u0275pipe:O}),Sp=O({\u0275mod:O}),pr=O({\u0275fac:O}),Kt=O({__NG_ELEMENT_ID__:O}),hu=O({__NG_ENV_ID__:O});function Vr(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():Vr(e)}function Np(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new S(-200,e)}function Es(e,t){throw new S(-201,!1)}var M=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}(M||{}),ui;function sc(){return ui}function Q(e){let t=ui;return ui=e,t}function ac(e,t,n){let r=jr(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&M.Optional)return null;if(t!==void 0)return t;Es(e,"Injector")}var Ap={},Jt=Ap,ci="__NG_DI_FLAG__",hr="ngTempTokenPath",Op="ngTokenPath",Fp=/\n/gm,Rp="\u0275",gu="__source",Tt;function Pp(){return Tt}function Oe(e){let t=Tt;return Tt=e,t}function kp(e,t=M.Default){if(Tt===void 0)throw new S(-203,!1);return Tt===null?ac(e,void 0,t):Tt.get(e,t&M.Optional?null:void 0,t)}function $(e,t=M.Default){return(sc()||kp)(G(e),t)}function C(e,t=M.Default){return $(e,Br(t))}function Br(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function li(e){let t=[];for(let n=0;n ");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):z(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Fp,` `)}`}var Bp=uc(Xu("Optional"),8);var $p=uc(Xu("SkipSelf"),4);function et(e,t){let n=e.hasOwnProperty(pr);return n?e[pr]:null}function Hp(e,t,n){if(e.length!==t.length)return!1;for(let r=0;rArray.isArray(n)?Cs(n,t):t(n))}function cc(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function gr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Gp(e,t){let n=[];for(let r=0;rt;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function $r(e,t,n){let r=hn(e,t);return r>=0?e[r|1]=n:(r=~r,Wp(e,r,t,n)),r}function Go(e,t){let n=hn(e,t);if(n>=0)return e[n|1]}function hn(e,t){return zp(e,t,1)}function zp(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<t?o=i:r=i+1}return~(o<t){s=i-1;break}}}for(;i-1){let i;for(;++oi?d="":d=o[l+1].toLowerCase(),r&2&&c!==d){if(ce(r))return!1;s=!0}}}}return ce(r)||s}function ce(e){return(e&1)===0}function Jp(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!ce(s)&&(t+=yu(i,o),o=""),r=s,i=i||!ce(r);n++}return o!==""&&(t+=yu(i,o)),t}function oh(e){return e.map(rh).join(",")}function ih(e){let t=[],n=[],r=1,o=2;for(;r{let t=Ic(e),n=gt(ht({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===fc.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||en.Emulated,styles:e.styles||W,_:null,schemas:e.schemas||null,tView:null,id:""});Ec(n);let r=e.dependencies;return n.directiveDefs=vu(r,!1),n.pipeDefs=vu(r,!0),n.id=ch(n),n})}function sh(e){return ke(e)||Dc(e)}function ah(e){return e!==null}function mc(e){return pn(()=>({type:e.type,bootstrap:e.bootstrap||W,declarations:e.declarations||W,imports:e.imports||W,exports:e.exports||W,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Du(e,t){if(e==null)return At;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=Pe.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==Pe.None?[r,a]:r,t[i]=s):n[i]=r}return n}function Hr(e){return pn(()=>{let t=Ic(e);return Ec(t),t})}function yc(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 ke(e){return e[_p]||null}function Dc(e){return e[Mp]||null}function vc(e){return e[xp]||null}function uh(e){let t=ke(e)||Dc(e)||vc(e);return t!==null?t.standalone:!1}function wc(e,t){let n=e[Sp]||null;if(!n&&t===!0)throw new Error(`Type ${z(e)} does not have '\u0275mod' property.`);return n}function Ic(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||At,exportAs:e.exportAs||null,standalone:e.standalone===!0,signals:e.signals===!0,selectors:e.selectors||W,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Du(e.inputs,t),outputs:Du(e.outputs),debugInfo:null}}function Ec(e){e.features?.forEach(t=>t(e))}function vu(e,t){if(!e)return null;let n=t?vc:sh;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(ah)}function ch(e){let t=0,n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(let o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function Cc(e){return{\u0275providers:e}}function lh(...e){return{\u0275providers:bc(!0,e),\u0275fromNgModule:!0}}function bc(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Cs(t,s=>{let a=s;fi(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&_c(o,i),n}function _c(e,t){for(let n=0;n{t(i,r)})}}function fi(e,t,n,r){if(e=G(e),!e)return!1;let o=null,i=fu(e),s=!i&&ke(e);if(!i&&!s){let u=e.ngModule;if(i=fu(u),i)o=u;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 u=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of u)fi(c,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let c;try{Cs(i.imports,l=>{fi(l,t,n,r)&&(c||=[],c.push(l))})}finally{}c!==void 0&&_c(c,t)}if(!a){let c=et(o)||(()=>new o);t({provide:o,useFactory:c,deps:W},o),t({provide:dc,useValue:o,multi:!0},o),t({provide:Xt,useValue:()=>$(o),multi:!0},o)}let u=i.providers;if(u!=null&&!a){let c=e;_s(u,l=>{t(l,c)})}}else return!1;return o!==e&&e.providers!==void 0}function _s(e,t){for(let n of e)ic(n)&&(n=n.\u0275providers),Array.isArray(n)?_s(n,t):t(n)}var dh=O({provide:String,useValue:O});function Mc(e){return e!==null&&typeof e=="object"&&dh in e}function fh(e){return!!(e&&e.useExisting)}function ph(e){return!!(e&&e.useFactory)}function Ot(e){return typeof e=="function"}function hh(e){return!!e.useClass}var xc=new F(""),sr={},gh={},Wo;function Ms(){return Wo===void 0&&(Wo=new mr),Wo}var Le=class{},nn=class extends Le{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,hi(t,s=>this.processProvider(s)),this.records.set(lc,_t(void 0,this)),o.has("environment")&&this.records.set(Le,_t(void 0,this));let i=this.records.get(xc);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(dc,W,M.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let t=b(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(),b(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();let n=Oe(this),r=Q(void 0),o;try{return t()}finally{Oe(n),Q(r)}}get(t,n=Jt,r=M.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(hu))return t[hu](this);r=Br(r);let o,i=Oe(this),s=Q(void 0);try{if(!(r&M.SkipSelf)){let u=this.records.get(t);if(u===void 0){let c=wh(t)&&jr(t);c&&this.injectableDefInScope(c)?u=_t(pi(t),sr):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u)}let a=r&M.Self?Ms():this.parent;return n=r&M.Optional&&n===Jt?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[hr]=a[hr]||[]).unshift(z(t)),i)throw a;return jp(a,t,"R3InjectorError",this.source)}else throw a}finally{Q(s),Oe(i)}}resolveInjectorInitializers(){let t=b(null),n=Oe(this),r=Q(void 0),o;try{let i=this.get(Xt,W,M.Self);for(let s of i)s()}finally{Oe(n),Q(r),b(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(z(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new S(205,!1)}processProvider(t){t=G(t);let n=Ot(t)?t:G(t&&t.provide),r=yh(t);if(!Ot(t)&&t.multi===!0){let o=this.records.get(n);o||(o=_t(void 0,sr,!0),o.factory=()=>li(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=b(null);try{return n.value===sr&&(n.value=gh,n.value=n.factory()),typeof n.value=="object"&&n.value&&vh(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{b(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=G(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 pi(e){let t=jr(e),n=t!==null?t.factory:et(e);if(n!==null)return n;if(e instanceof F)throw new S(204,!1);if(e instanceof Function)return mh(e);throw new S(204,!1)}function mh(e){if(e.length>0)throw new S(204,!1);let n=Cp(e);return n!==null?()=>n.factory(e):()=>new e}function yh(e){if(Mc(e))return _t(void 0,e.useValue);{let t=Sc(e);return _t(t,sr)}}function Sc(e,t,n){let r;if(Ot(e)){let o=G(e);return et(o)||pi(o)}else if(Mc(e))r=()=>G(e.useValue);else if(ph(e))r=()=>e.useFactory(...li(e.deps||[]));else if(fh(e))r=()=>$(G(e.useExisting));else{let o=G(e&&(e.useClass||e.provide));if(Dh(e))r=()=>new o(...li(e.deps));else return et(o)||pi(o)}return r}function _t(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Dh(e){return!!e.deps}function vh(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function wh(e){return typeof e=="function"||typeof e=="object"&&e instanceof F}function hi(e,t){for(let n of e)Array.isArray(n)?hi(n,t):n&&ic(n)?hi(n.\u0275providers,t):t(n)}function Ih(e,t){e instanceof nn&&e.assertNotDestroyed();let n,r=Oe(e),o=Q(void 0);try{return t()}finally{Oe(r),Q(o)}}function Tc(){return sc()!==void 0||Pp()!=null}function Nc(e){if(!Tc())throw new S(-203,!1)}function Eh(e){return typeof e=="function"}var K=0,w=1,y=2,j=3,de=4,ee=5,J=6,rn=7,B=8,Ft=9,fe=10,A=11,on=12,wu=13,Vt=14,Z=15,gn=16,Mt=17,xe=18,Ur=19,Ac=20,Re=21,ar=22,tt=23,k=25,Oc=1,sn=6,Se=7,yr=8,Rt=9,V=10,xs=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(xs||{});function Me(e){return Array.isArray(e)&&typeof e[Oc]=="object"}function Ie(e){return Array.isArray(e)&&e[Oc]===!0}function Ss(e){return(e.flags&4)!==0}function mn(e){return e.componentOffset>-1}function Gr(e){return(e.flags&1)===1}function je(e){return!!e.template}function Fc(e){return(e[y]&512)!==0}var gi=class{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Rc(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}function Ts(){return Pc}function Pc(e){return e.type.prototype.ngOnChanges&&(e.setInput=bh),Ch}Ts.ngInherit=!0;function Ch(){let e=Lc(this),t=e?.current;if(t){let n=e.previous;if(n===At)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function bh(e,t,n,r,o){let i=this.declaredInputs[r],s=Lc(e)||_h(e,{previous:At,current:null}),a=s.current||(s.current={}),u=s.previous,c=u[i];a[i]=new gi(c&&c.currentValue,n,u===At),Rc(e,t,o,n)}var kc="__ngSimpleChanges__";function Lc(e){return e[kc]||null}function _h(e,t){return e[kc]=t}var Iu=null;var ve=function(e,t,n){Iu?.(e,t,n)},jc="svg",Mh="math",xh=!1;function Sh(){return xh}function pe(e){for(;Array.isArray(e);)e=e[K];return e}function Vc(e,t){return pe(t[e])}function te(e,t){return pe(t[e.index])}function Ns(e,t){return e.data[t]}function Bc(e,t){return e[t]}function He(e,t){let n=t[e];return Me(n)?n:n[K]}function Th(e){return(e[y]&4)===4}function As(e){return(e[y]&128)===128}function Nh(e){return Ie(e[j])}function Pt(e,t){return t==null?null:e[t]}function $c(e){e[Mt]=0}function Ah(e){e[y]&1024||(e[y]|=1024,As(e)&&an(e))}function Oh(e,t){for(;e>0;)t=t[Vt],e--;return t}function Os(e){return!!(e[y]&9216||e[tt]?.dirty)}function mi(e){e[fe].changeDetectionScheduler?.notify(1),Os(e)?an(e):e[y]&64&&(Sh()?(e[y]|=1024,an(e)):e[fe].changeDetectionScheduler?.notify())}function an(e){e[fe].changeDetectionScheduler?.notify();let t=un(e);for(;t!==null&&!(t[y]&8192||(t[y]|=8192,!As(t)));)t=un(t)}function Hc(e,t){if((e[y]&256)===256)throw new S(911,!1);e[Re]===null&&(e[Re]=[]),e[Re].push(t)}function Fh(e,t){if(e[Re]===null)return;let n=e[Re].indexOf(t);n!==-1&&e[Re].splice(n,1)}function un(e){let t=e[j];return Ie(t)?t[j]:t}var E={lFrame:Qc(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Rh(){return E.lFrame.elementDepthCount}function Ph(){E.lFrame.elementDepthCount++}function kh(){E.lFrame.elementDepthCount--}function Uc(){return E.bindingsEnabled}function Bt(){return E.skipHydrationRootTNode!==null}function Lh(e){return E.skipHydrationRootTNode===e}function jh(e){E.skipHydrationRootTNode=e}function Vh(){E.skipHydrationRootTNode=null}function I(){return E.lFrame.lView}function P(){return E.lFrame.tView}function Dx(e){return E.lFrame.contextLView=e,e[B]}function vx(e){return E.lFrame.contextLView=null,e}function H(){let e=Gc();for(;e!==null&&e.type===64;)e=e.parent;return e}function Gc(){return E.lFrame.currentTNode}function Bh(){let e=E.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function at(e,t){let n=E.lFrame;n.currentTNode=e,n.isParent=t}function Fs(){return E.lFrame.isParent}function Rs(){E.lFrame.isParent=!1}function $h(){return E.lFrame.contextLView}function yn(){let e=E.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Hh(e){return E.lFrame.bindingIndex=e}function ut(){return E.lFrame.bindingIndex++}function Wc(e){let t=E.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Uh(){return E.lFrame.inI18n}function Gh(e,t){let n=E.lFrame;n.bindingIndex=n.bindingRootIndex=e,yi(t)}function Wh(){return E.lFrame.currentDirectiveIndex}function yi(e){E.lFrame.currentDirectiveIndex=e}function zh(e){let t=E.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function zc(){return E.lFrame.currentQueryIndex}function Ps(e){E.lFrame.currentQueryIndex=e}function qh(e){let t=e[w];return t.type===2?t.declTNode:t.type===1?e[ee]:null}function qc(e,t,n){if(n&M.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&M.Host);)if(o=qh(i),o===null||(i=i[Vt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=E.lFrame=Yc();return r.currentTNode=t,r.lView=e,!0}function ks(e){let t=Yc(),n=e[w];E.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Yc(){let e=E.lFrame,t=e===null?null:e.child;return t===null?Qc(e):t}function Qc(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 Zc(){let e=E.lFrame;return E.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Kc=Zc;function Ls(){let e=Zc();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 Yh(e){return(E.lFrame.contextLView=Oh(e,E.lFrame.contextLView))[B]}function Ue(){return E.lFrame.selectedIndex}function nt(e){E.lFrame.selectedIndex=e}function Dn(){let e=E.lFrame;return Ns(e.tView,e.selectedIndex)}function wx(){E.lFrame.currentNamespace=jc}function Ix(){Qh()}function Qh(){E.lFrame.currentNamespace=null}function Jc(){return E.lFrame.currentNamespace}var Xc=!0;function Wr(){return Xc}function Ee(e){Xc=e}function Zh(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=Pc(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 zr(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[u]<0&&(e[Mt]+=65536),(a>14>16&&(e[y]&3)===t&&(e[y]+=16384,Eu(a,i)):Eu(a,i)}var Nt=-1,rt=class{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function Jh(e){return e instanceof rt}function Xh(e){return(e.flags&8)!==0}function eg(e){return(e.flags&16)!==0}function tl(e){return e!==Nt}function Dr(e){return e&32767}function tg(e){return e>>16}function vr(e,t){let n=tg(e),r=t;for(;n>0;)r=r[Vt],n--;return r}var Di=!0;function wr(e){let t=Di;return Di=e,t}var ng=256,nl=ng-1,rl=5,rg=0,we={};function og(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Kt)&&(r=n[Kt]),r==null&&(r=n[Kt]=rg++);let o=r&nl,i=1<>rl)]|=i}function Ir(e,t){let n=ol(e,t);if(n!==-1)return n;let r=t[w];r.firstCreatePass&&(e.injectorIndex=t.length,qo(r.data,e),qo(t,null),qo(r.blueprint,null));let o=js(e,t),i=e.injectorIndex;if(tl(o)){let s=Dr(o),a=vr(o,t),u=a[w].data;for(let c=0;c<8;c++)t[i+c]=a[s+c]|u[s+c]}return t[i+8]=o,i}function qo(e,t){e.push(0,0,0,0,0,0,0,0,t)}function ol(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function js(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=cl(o),r===null)return Nt;if(n++,o=o[Vt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Nt}function vi(e,t,n){og(e,t,n)}function ig(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>20,d=r?a:a+l,p=o?a+l:c;for(let f=d;f=u&&h.type===n)return f}if(o){let f=s[u];if(f&&je(f)&&f.type===n)return u}return null}function ot(e,t,n,r){let o=e[n],i=t.data;if(Jh(o)){let s=o;s.resolving&&Np(Tp(i[n]));let a=wr(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?Q(s.injectImpl):null,l=qc(e,r,M.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&Zh(n,i[n],t)}finally{c!==null&&Q(c),wr(a),s.resolving=!1,Kc()}}return o}function ag(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Kt)?e[Kt]:void 0;return typeof t=="number"?t>=0?t&nl:ug:t}function Cu(e,t,n){let r=1<>rl)]&r)}function bu(e,t){return!(e&M.Self)&&!(e&M.Host&&t)}var Xe=class{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return al(this._tNode,this._lView,t,Br(r),n)}};function ug(){return new Xe(H(),I())}function Ex(e){return pn(()=>{let t=e.prototype.constructor,n=t[pr]||wi(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[pr]||wi(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function wi(e){return tc(e)?()=>{let t=wi(G(e));return t&&t()}:et(e)}function cg(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[y]&2048&&!(s[y]&512);){let a=ul(i,s,n,r|M.Self,we);if(a!==we)return a;let u=i.parent;if(!u){let c=s[Ac];if(c){let l=c.get(n,we,r);if(l!==we)return l}u=cl(s),s=s[Vt]}i=u}return o}function cl(e){let t=e[w],n=t.type;return n===2?t.declTNode:n===1?e[ee]:null}function lg(e){return ig(H(),e)}function _u(e,t=null,n=null,r){let o=ll(e,t,n,r);return o.resolveInjectorInitializers(),o}function ll(e,t=null,n=null,r,o=new Set){let i=[n||W,lh(e)];return r=r||(typeof e=="object"?void 0:z(e)),new nn(i,t||Ms(),r||null,o)}var ct=(()=>{let t=class t{static create(r,o){if(Array.isArray(r))return _u({name:""},o,r,"");{let i=r.name??"";return _u({name:i},r.parent,r.providers,i)}}};t.THROW_IF_NOT_FOUND=Jt,t.NULL=new mr,t.\u0275prov=R({token:t,providedIn:"any",factory:()=>$(lc)}),t.__NG_ELEMENT_ID__=-1;let e=t;return e})();var dg="ngOriginalError";function Yo(e){return e[dg]}var Ve=class{constructor(){this._console=console}handleError(t){let n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Yo(t);for(;n&&Yo(n);)n=Yo(n);return n||null}},dl=new F("",{providedIn:"root",factory:()=>C(Ve).handleError.bind(void 0)}),qr=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=fg,t.__NG_ENV_ID__=r=>r;let e=t;return e})(),Ii=class extends qr{constructor(t){super(),this._lView=t}onDestroy(t){return Hc(this._lView,t),()=>Fh(this._lView,t)}};function fg(){return new Ii(I())}function pg(){return $t(H(),I())}function $t(e,t){return new lt(te(e,t))}var lt=(()=>{let t=class t{constructor(r){this.nativeElement=r}};t.__NG_ELEMENT_ID__=pg;let e=t;return e})();function hg(e){return e instanceof lt?e.nativeElement:e}var Ei=class extends re{constructor(t=!1){super(),this.destroyRef=void 0,this.__isAsync=t,Tc()&&(this.destroyRef=C(qr,{optional:!0})??void 0)}emit(t){let n=b(null);try{super.next(t)}finally{b(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let u=t;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(i=Qo(i),o&&(o=Qo(o)),s&&(s=Qo(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof L&&t.add(a),a}};function Qo(e){return t=>{setTimeout(e,void 0,t)}}var Je=Ei;function gg(){return this._results[Symbol.iterator]()}var Ci=class e{get changes(){return this._changes??=new Je}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let n=e.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=gg)}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=Up(t);(this._changesDetected=!Hp(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.emit(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}},mg="ngSkipHydration",yg="ngskiphydration";function fl(e){let t=e.mergedAttrs;if(t===null)return!1;for(let n=0;nbg}),bg="ng",_g=new F(""),Qr=new F("",{providedIn:"platform",factory:()=>"unknown"});var bx=new F(""),_x=new F("",{providedIn:"root",factory:()=>Yr().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function Mg(){let e=new Vs;return C(Qr)==="browser"&&(e.store=xg(Yr(),C(Cg))),e}var Vs=(()=>{let t=class t{constructor(){this.store={},this.onSerializeCallbacks={}}get(r,o){return this.store[r]!==void 0?this.store[r]:o}set(r,o){this.store[r]=o}remove(r){delete this.store[r]}hasKey(r){return this.store.hasOwnProperty(r)}get isEmpty(){return Object.keys(this.store).length===0}onSerialize(r,o){this.onSerializeCallbacks[r]=o}toJson(){for(let r in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(r))try{this.store[r]=this.onSerializeCallbacks[r]()}catch(o){console.warn("Exception in onSerialize callback: ",o)}return JSON.stringify(this.store).replace(/null;function Pg(e,t,n=!1){let r=e.getAttribute(Zo);if(r==null)return null;let[o,i]=r.split("|");if(r=n?i:o,!r)return null;let s=i?`|${i}`:"",a=n?o:s,u={};if(r!==""){let l=t.get(Vs,null,{optional:!0});l!==null&&(u=l.get(Il,[])[Number(r)])}let c={data:u,firstChild:e.firstChild??null};return n&&(c.firstChild=e,Zr(c,0,e.nextSibling)),a?e.setAttribute(Zo,a):e.removeAttribute(Zo),c}function kg(){El=Pg}function $s(e,t,n=!1){return El(e,t,n)}function Lg(e){let t=e._lView;return t[w].type===2?null:(Fc(t)&&(t=t[k]),t)}function jg(e){return e.textContent?.replace(/\s/gm,"")}function Vg(e){let t=Yr(),n=t.createNodeIterator(e,NodeFilter.SHOW_COMMENT,{acceptNode(i){let s=jg(i);return s==="ngetn"||s==="ngtns"?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}}),r,o=[];for(;r=n.nextNode();)o.push(r);for(let i of o)i.textContent==="ngetn"?i.replaceWith(t.createTextNode("")):i.remove()}function Zr(e,t,n){e.segmentHeads??={},e.segmentHeads[t]=n}function Mi(e,t){return e.segmentHeads?.[t]??null}function Bg(e,t){let n=e.data,r=n[Sg]?.[t]??null;return r===null&&n[Bs]?.[t]&&(r=Hs(e,t)),r}function Cl(e,t){return e.data[Bs]?.[t]??null}function Hs(e,t){let n=Cl(e,t)??[],r=0;for(let o of n)r+=o[Cr]*(o[wl]??1);return r}function Kr(e,t){if(typeof e.disconnectedNodes>"u"){let n=e.data[Og];e.disconnectedNodes=n?new Set(n):null}return!!e.disconnectedNodes?.has(t)}var Xn=new F(""),bl=!1,_l=new F("",{providedIn:"root",factory:()=>bl}),$g=new F(""),er;function Hg(){if(er===void 0&&(er=null,Fe.trustedTypes))try{er=Fe.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return er}function Jr(e){return Hg()?.createHTML(e)||e}var tr;function Ug(){if(tr===void 0&&(tr=null,Fe.trustedTypes))try{tr=Fe.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return tr}function xu(e){return Ug()?.createScriptURL(e)||e}var Te=class{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ku})`}},xi=class extends Te{getTypeName(){return"HTML"}},Si=class extends Te{getTypeName(){return"Style"}},Ti=class extends Te{getTypeName(){return"Script"}},Ni=class extends Te{getTypeName(){return"URL"}},Ai=class extends Te{getTypeName(){return"ResourceURL"}};function vn(e){return e instanceof Te?e.changingThisBreaksApplicationSecurity:e}function Ml(e,t){let n=Gg(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Ku})`)}return n===t}function Gg(e){return e instanceof Te&&e.getTypeName()||null}function Mx(e){return new xi(e)}function xx(e){return new Si(e)}function Sx(e){return new Ti(e)}function Tx(e){return new Ni(e)}function Nx(e){return new Ai(e)}function Wg(e){let t=new Fi(e);return zg()?new Oi(t):t}var Oi=class{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{let n=new window.DOMParser().parseFromString(Jr(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}},Fi=class{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=Jr(t),n}};function zg(){try{return!!new window.DOMParser().parseFromString(Jr(""),"text/html")}catch{return!1}}var qg=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function xl(e){return e=String(e),e.match(qg)?e:"unsafe:"+e}function Ne(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function wn(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var Sl=Ne("area,br,col,hr,img,wbr"),Tl=Ne("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Nl=Ne("rp,rt"),Yg=wn(Nl,Tl),Qg=wn(Tl,Ne("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")),Zg=wn(Nl,Ne("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")),Su=wn(Sl,Qg,Zg,Yg),Al=Ne("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Kg=Ne("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"),Jg=Ne("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"),Xg=wn(Al,Kg,Jg),em=Ne("script,style,template"),Ri=class{constructor(){this.sanitizedSomething=!1,this.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=rm(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=nm(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=Tu(t).toLowerCase();if(!Su.hasOwnProperty(n))return this.sanitizedSomething=!0,!em.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o"),!0}endElement(t){let n=Tu(t).toLowerCase();Su.hasOwnProperty(n)&&!Sl.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(Nu(t))}};function tm(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function nm(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Ol(t);return t}function rm(e){let t=e.firstChild;if(t&&tm(e,t))throw Ol(t);return t}function Tu(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Ol(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var om=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,im=/([^\#-~ |!])/g;function Nu(e){return e.replace(/&/g,"&").replace(om,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(im,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}var nr;function Ax(e,t){let n=null;try{nr=nr||Wg(e);let r=t?String(t):"";n=nr.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=nr.getInertBodyElement(r)}while(r!==i);let a=new Ri().sanitizeChildren(Au(n)||n);return Jr(a)}finally{if(n){let r=Au(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function Au(e){return"content"in e&&sm(e)?e.content:null}function sm(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Us=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}(Us||{});function am(e){let t=Fl();return t?t.sanitize(Us.URL,e)||"":Ml(e,"URL")?vn(e):xl(Vr(e))}function um(e){let t=Fl();if(t)return xu(t.sanitize(Us.RESOURCE_URL,e)||"");if(Ml(e,"ResourceURL"))return xu(vn(e));throw new S(904,!1)}function cm(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?um:am}function Ox(e,t,n){return cm(t,n)(e)}function Fl(){let e=I();return e&&e[fe].sanitizer}var lm=/^>|^->||--!>|)/g,fm="\u200B$1\u200B";function pm(e){return e.replace(lm,t=>t.replace(dm,fm))}function hm(e){return e.ownerDocument.body}function Rl(e){return e instanceof Function?e():e}function Zt(e){return(e??C(ct)).get(Qr)==="browser"}var br=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(br||{}),gm;function Gs(e,t){return gm(e,t)}function xt(e,t,n,r,o){if(r!=null){let i,s=!1;Ie(r)?i=r:Me(r)&&(s=!0,r=r[K]);let a=pe(r);e===0&&n!==null?o==null?jl(t,n,a):_r(t,n,a,o||null,!0):e===1&&n!==null?_r(t,n,a,o||null,!0):e===2?Ys(t,a,s):e===3&&t.destroyNode(a),i!=null&&Nm(t,e,i,n,o)}}function Ws(e,t){return e.createText(t)}function mm(e,t,n){e.setValue(t,n)}function zs(e,t){return e.createComment(pm(t))}function Xr(e,t,n){return e.createElement(t,n)}function ym(e,t){Pl(e,t),t[K]=null,t[ee]=null}function Dm(e,t,n,r,o,i){r[K]=o,r[ee]=t,no(e,r,n,1,o,i)}function Pl(e,t){t[fe].changeDetectionScheduler?.notify(1),no(e,t,t[A],2,null,null)}function vm(e){let t=e[on];if(!t)return Ko(e[w],e);for(;t;){let n=null;if(Me(t))n=t[on];else{let r=t[V];r&&(n=r)}if(!n){for(;t&&!t[de]&&t!==e;)Me(t)&&Ko(t[w],t),t=t[j];t===null&&(t=e),Me(t)&&Ko(t[w],t),n=t&&t[de]}t=n}}function wm(e,t,n,r){let o=V+r,i=n.length;r>0&&(n[o-1][de]=t),r0&&(e[n-1][de]=r[de]);let i=gr(e,V+t);ym(r[w],r);let s=i[xe];s!==null&&s.detachView(i[w]),r[j]=null,r[de]=null,r[y]&=-129}return r}function eo(e,t){if(!(t[y]&256)){let n=t[A];n.destroyNode&&no(e,t,n,3,null,null),vm(t)}}function Ko(e,t){if(t[y]&256)return;let n=b(null);try{t[y]&=-129,t[y]|=256,t[tt]&&Co(t[tt]),Cm(e,t),Em(e,t),t[w].type===1&&t[A].destroy();let r=t[gn];if(r!==null&&Ie(t[j])){r!==t[j]&&kl(r,t);let o=t[xe];o!==null&&o.detachView(e)}Eg(t)}finally{b(n)}}function Em(e,t){let n=e.cleanup,r=t[rn];if(n!==null)for(let i=0;i=0?r[s]():r[-s].unsubscribe(),i+=2}else{let s=r[n[i+1]];n[i].call(s)}r!==null&&(t[rn]=null);let o=t[Re];if(o!==null){t[Re]=null;for(let i=0;i-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===en.None||i===en.Emulated)return null}return te(r,n)}}function _r(e,t,n,r,o){e.insertBefore(t,n,r,o)}function jl(e,t,n){e.appendChild(t,n)}function Ou(e,t,n,r,o){r!==null?_r(e,t,n,r,o):jl(e,t,n)}function _m(e,t,n,r){e.removeChild(t,n,r)}function qs(e,t){return e.parentNode(t)}function Mm(e,t){return e.nextSibling(t)}function Vl(e,t,n){return Sm(e,t,n)}function xm(e,t,n){return e.type&40?te(e,n):null}var Sm=xm,Fu;function to(e,t,n,r){let o=Ll(e,r,t),i=t[A],s=r.parent||t[ee],a=Vl(s,r,t);if(o!=null)if(Array.isArray(n))for(let u=0;uk&&Wl(e,t,k,!1),ve(s?2:0,o),n(r,o)}finally{nt(i),ve(s?3:1,o)}}function Zs(e,t,n){if(Ss(t)){let r=b(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;snull;function jm(e){pl(e)?$l(e):Vg(e)}function Vm(){Zl=jm}function Bm(e,t,n,r){let o=td(t);o.push(n),e.firstCreatePass&&nd(e).push(r,o.length-1)}function $m(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Bt()&&(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 Ru(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,u=Pe.None;Array.isArray(s)?(a=s[0],u=s[1]):a=s;let c=i;if(o!==null){if(!o.hasOwnProperty(i))continue;c=o[i]}e===0?Pu(r,n,c,a,u):Pu(r,n,c,a)}return r}function Pu(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 Hm(e,t,n){let r=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],u=null,c=null;for(let l=r;l0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function qm(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;mn(n)&&ey(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||Ir(n,t),Be(r,t);let s=n.initialInputs;for(let a=o;a{an(e.lView)},consumerOnSignalRead(){this.lView[tt]=this}}),ad=100;function ud(e,t=!0,n=0){let r=e[fe],o=r.rendererFactory,i=!1;i||o.begin?.();try{hy(e,n)}catch(s){throw t&&rd(e,s),s}finally{i||(o.end?.(),r.inlineEffectRunner?.flush())}}function hy(e,t){ji(e,t);let n=0;for(;Os(e);){if(n===ad)throw new S(103,!1);n++,ji(e,1)}}function gy(e,t,n,r){let o=t[y];if((o&256)===256)return;let i=!1;!i&&t[fe].inlineEffectRunner?.flush(),ks(t);let s=null,a=null;!i&&my(e)&&(a=ly(t),s=Io(a));try{$c(t),Hh(e.bindingStartIndex),n!==null&&Yl(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let d=e.preOrderCheckHooks;d!==null&&ur(t,d,null)}else{let d=e.preOrderHooks;d!==null&&cr(t,d,0,null),zo(t,0)}if(yy(t),cd(t,0),e.contentQueries!==null&&ed(e,t),!i)if(u){let d=e.contentCheckHooks;d!==null&&ur(t,d)}else{let d=e.contentHooks;d!==null&&cr(t,d,1),zo(t,1)}Fm(e,t);let c=e.components;c!==null&&dd(t,c,0);let l=e.viewQuery;if(l!==null&&Li(2,l,r),!i)if(u){let d=e.viewCheckHooks;d!==null&&ur(t,d)}else{let d=e.viewHooks;d!==null&&cr(t,d,2),zo(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[ar]){for(let d of t[ar])d();t[ar]=null}i||(t[y]&=-73)}catch(u){throw an(t),u}finally{a!==null&&(Eo(a,s),fy(a)),Ls()}}function my(e){return e.type!==2}function cd(e,t){for(let n=gl(e);n!==null;n=ml(n))for(let r=V;r-1&&(cn(t,r),gr(n,r))}this._attachedToViewContainer=!1}eo(this._lView[w],this._lView)}onDestroy(t){Hc(this._lView,t)}markForCheck(){ra(this._cdRefInjectingView||this._lView)}detach(){this._lView[y]&=-129}reattach(){mi(this._lView),this._lView[y]|=128}detectChanges(){this._lView[y]|=1024,ud(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new S(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Pl(this._lView[w],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new S(902,!1);this._appRef=t,mi(this._lView)}},kt=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=Iy;let e=t;return e})(),vy=kt,wy=class extends vy{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=so(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new it(o)}};function Iy(){return uo(H(),I())}function uo(e,t){return e.type&4?new wy(t,e,$t(e,t)):null}function fd(e){let t=e[sn]??[],r=e[j][A];for(let o of t)Ey(o,r);e[sn]=W}function Ey(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[Cr];for(;n0&&(i.firstChild=e,e=lo(r[Cr],e)),n.push(i)}return[e,n]}var hd=()=>null;function Oy(e,t){let n=e[sn];return!t||n===null||n.length===0?null:n[0].data[Ng]===t?n.shift():(fd(e),null)}function Fy(){hd=Oy}function dn(e,t){return hd(e,t)}var Sr=class{},Vi=class{},Tr=class{};function Ry(e){let t=Error(`No component factory found for ${z(e)}.`);return t[Py]=e,t}var Py="ngComponent";var Bi=class{resolveComponentFactory(t){throw Ry(t)}},fo=(()=>{let t=class t{};t.NULL=new Bi;let e=t;return e})(),$i=class{},oa=(()=>{let t=class t{constructor(){this.destroyNode=null}};t.__NG_ELEMENT_ID__=()=>ky();let e=t;return e})();function ky(){let e=I(),t=H(),n=He(t.index,e);return(Me(n)?n:e)[A]}var Ly=(()=>{let t=class t{};t.\u0275prov=R({token:t,providedIn:"root",factory:()=>null});let e=t;return e})(),Xo={};var ku=new Set;function dt(e){ku.has(e)||(ku.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function Lu(...e){}function jy(){let e=typeof Fe.requestAnimationFrame=="function",t=Fe[e?"requestAnimationFrame":"setTimeout"],n=Fe[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){let r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);let o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}var oe=class e{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Je(!1),this.onMicrotaskEmpty=new Je(!1),this.onStable=new Je(!1),this.onError=new Je(!1),typeof Zone>"u")throw new S(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=jy().nativeRequestAnimationFrame,$y(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new S(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new S(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,Vy,Lu,Lu);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)}},Vy={};function ia(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 By(e){e.isCheckStableRunning||e.lastRequestAnimationFrameId!==-1||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Fe,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Hi(e),e.isCheckStableRunning=!0,ia(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Hi(e))}function $y(e){let t=()=>{By(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(Hy(a))return n.invokeTask(o,i,s,a);try{return ju(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Vu(e)}},onInvoke:(n,r,o,i,s,a,u)=>{try{return ju(e),n.invoke(o,i,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&t(),Vu(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&(i.change=="microTask"?(e._hasPendingMicrotasks=i.microTask,Hi(e),ia(e)):i.change=="macroTask"&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}function Hi(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.lastRequestAnimationFrameId!==-1?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function ju(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Vu(e){e._nesting--,ia(e)}function Hy(e){return!Array.isArray(e)||e.length!==1?!1:e[0].data?.__ignore_ng_zone__===!0}var St=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(St||{}),Uy={destroy(){}};function Gy(e,t){!t&&Nc(Gy);let n=t?.injector??C(ct);if(!Zt(n))return Uy;dt("NgAfterNextRender");let r=n.get(sa),o=r.handler??=new Gi,i=t?.phase??St.MixedReadWrite,s=()=>{o.unregister(u),a()},a=n.get(qr).onDestroy(s),u=Ih(n,()=>new Ui(i,()=>{s(),e()}));return o.register(u),{destroy:s}}var Ui=class{constructor(t,n){this.phase=t,this.callbackFn=n,this.zone=C(oe),this.errorHandler=C(Ve,{optional:!0}),C(Sr,{optional:!0})?.notify(1)}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(t){this.errorHandler?.handleError(t)}}},Gi=class{constructor(){this.executingCallbacks=!1,this.buckets={[St.EarlyRead]:new Set,[St.Write]:new Set,[St.MixedReadWrite]:new Set,[St.Read]:new Set},this.deferredCallbacks=new Set}register(t){(this.executingCallbacks?this.deferredCallbacks:this.buckets[t.phase]).add(t)}unregister(t){this.buckets[t.phase].delete(t),this.deferredCallbacks.delete(t)}execute(){this.executingCallbacks=!0;for(let t of Object.values(this.buckets))for(let n of t)n.invoke();this.executingCallbacks=!1;for(let t of this.deferredCallbacks)this.buckets[t.phase].add(t);this.deferredCallbacks.clear()}destroy(){for(let t of Object.values(this.buckets))t.clear();this.deferredCallbacks.clear()}},sa=(()=>{let t=class t{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let r=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let o of r)o()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};t.\u0275prov=R({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();function Nr(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s0&&Ul(e,n,i.join(" "))}}function Ky(e,t,n){let r=e.projection=[];for(let o=0;o{let t=class t{};t.__NG_ELEMENT_ID__=Xy;let e=t;return e})();function Xy(){let e=H();return md(e,I())}var eD=Ut,gd=class extends eD{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return $t(this._hostTNode,this._hostLView)}get injector(){return new Xe(this._hostTNode,this._hostLView)}get parentInjector(){let t=js(this._hostTNode,this._hostLView);if(tl(t)){let n=vr(t,this._hostLView),r=Dr(t),o=n[w].data[r+8];return new Xe(o,n)}else return new Xe(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=$u(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-V}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=dn(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,ln(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!Eh(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 u=s?t:new Lt(ke(t)),c=r||this.parentInjector;if(!i&&u.ngModule==null){let m=(s?c:this.parentInjector).get(Le,null);m&&(i=m)}let l=ke(u.componentType??{}),d=dn(this._lContainer,l?.id??null),p=d?.firstChild??null,f=u.create(c,o,p,i);return this.insertImpl(f.hostView,a,ln(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Nh(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let u=o[j],c=new gd(u,u[ee],u[j]);c.detach(c.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return ao(s,o,i,r),t.attachToViewContainerRef(),cc(ei(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=$u(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=cn(this._lContainer,n);r&&(gr(ei(this._lContainer),n),eo(r[w],r))}detach(t){let n=this._adjustIndex(t,-1),r=cn(this._lContainer,n);return r&&gr(ei(this._lContainer),n)!=null?new it(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function $u(e){return e[yr]}function ei(e){return e[yr]||(e[yr]=[])}function md(e,t){let n,r=t[e.index];return Ie(r)?n=r:(n=Xl(r,t,null,e),t[e.index]=n,io(t,n)),yd(n,t,e,r),new gd(n,e,t)}function tD(e,t){let n=e[A],r=n.createComment(""),o=te(t,e),i=qs(n,o);return _r(n,i,r,Mm(n,o),!1),r}var yd=Dd,aa=()=>!1;function nD(e,t,n){return aa(e,t,n)}function Dd(e,t,n,r){if(e[Se])return;let o;n.type&8?o=pe(r):o=tD(t,n),e[Se]=o}function rD(e,t,n){if(e[Se]&&e[sn])return!0;let r=n[J],o=t.index-k;if(!r||Dg(t)||Kr(r,o))return!1;let s=Mi(r,o),a=r.data[Bs]?.[o],[u,c]=Ay(s,a);return e[Se]=u,e[sn]=c,!0}function oD(e,t,n,r){aa(e,n,t)||Dd(e,t,n,r)}function iD(){yd=oD,aa=rD}var qi=class e{constructor(t){this.queryList=t,this.matches=null}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Yi=class e{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;i0)r.push(s[a/2]);else{let c=i[a+1],l=t[-u];for(let d=V;dt.trim())}function Id(e,t,n){e.queries===null&&(e.queries=new Qi),e.queries.track(new Zi(t,n))}function hD(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 ua(e,t){return e.queries.getByIndex(t)}function gD(e,t){let n=e[w],r=ua(n,t);return r.crossesNgTemplate?Ki(n,e,t,[]):vd(n,e,r,t)}function mD(e){return typeof e=="function"&&e[_n]!==void 0}function Ed(e){return mD(e)&&typeof e.set=="function"}function yD(e){return Object.getPrototypeOf(e.prototype).constructor}function DD(e){let t=yD(e.type),n=!0,r=[e];for(;t;){let o;if(je(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new S(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=rr(e.inputs),s.inputTransforms=rr(e.inputTransforms),s.declaredInputs=rr(e.declaredInputs),s.outputs=rr(e.outputs);let a=o.hostBindings;a&&CD(e,a);let u=o.viewQuery,c=o.contentQueries;if(u&&ID(e,u),c&&ED(e,c),vD(e,o),Ip(e.outputs,o.outputs),je(o)&&o.data.animation){let l=e.data;l.animation=(l.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=tn(o.hostAttrs,n=tn(n,o.hostAttrs))}}function rr(e){return e===At?{}:e===W?[]:e}function ID(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function ED(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function CD(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function bD(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}var $e=class{},Ji=class{};var Xi=class extends $e{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Ar(this);let o=wc(t);this._bootstrapComponents=Rl(o.bootstrap),this._r3Injector=ll(t,n,[{provide:$e,useValue:this},{provide:fo,useValue:this.componentFactoryResolver},...r],z(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}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)}},es=class extends Ji{constructor(t){super(),this.moduleType=t}create(t){return new Xi(this.moduleType,t,[])}};var Fr=class extends $e{constructor(t){super(),this.componentFactoryResolver=new Ar(this),this.instance=null;let n=new nn([...t.providers,{provide:$e,useValue:this},{provide:fo,useValue:this.componentFactoryResolver}],t.parent||Ms(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function _D(e,t,n=null){return new Fr({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var ca=(()=>{let t=class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Gt(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Cd(e){return xD(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function MD(e,t){if(Array.isArray(e))for(let n=0;n>17&32767}function RD(e){return(e&2)==2}function PD(e,t){return e&131071|t<<17}function ns(e){return e|2}function jt(e){return(e&131068)>>2}function ti(e,t){return e&-131069|t<<2}function kD(e){return(e&1)===1}function rs(e){return e|1}function LD(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=st(s),u=jt(s);e[r]=n;let c=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||hn(d,l)>0)&&(c=!0)}else l=n;if(o)if(u!==0){let p=st(e[a+1]);e[r+1]=or(p,a),p!==0&&(e[p+1]=ti(e[p+1],r)),e[a+1]=PD(e[a+1],r)}else e[r+1]=or(a,0),a!==0&&(e[a+1]=ti(e[a+1],r)),a=r;else e[r+1]=or(u,0),a===0?a=r:e[u+1]=ti(e[u+1],r),u=r;c&&(e[r+1]=ns(e[r+1])),Hu(e,l,r,!0),Hu(e,l,r,!1),jD(t,l,e,r,i),s=or(a,u),i?t.classBindings=s:t.styleBindings=s}function jD(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&hn(i,t)>=0&&(n[r+1]=rs(n[r+1]))}function Hu(e,t,n,r){let o=e[n+1],i=t===null,s=r?st(o):jt(o),a=!1;for(;s!==0&&(a===!1||i);){let u=e[s],c=e[s+1];VD(u,t)&&(a=!0,e[s+1]=r?rs(c):ns(c)),s=r?st(c):jt(c)}a&&(e[n+1]=r?ns(o):rs(o))}function VD(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?hn(e,t)>=0:!1}var le={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function BD(e){return e.substring(le.key,le.keyEnd)}function $D(e){return HD(e),xd(e,Sd(e,0,le.textEnd))}function xd(e,t){let n=le.textEnd;return n===t?-1:(t=le.keyEnd=UD(e,le.key=t,n),Sd(e,t,n))}function HD(e){le.key=0,le.keyEnd=0,le.value=0,le.valueEnd=0,le.textEnd=e.length}function Sd(e,t,n){for(;t32;)t++;return t}function GD(e,t,n){let r=I(),o=ut();if(X(r,o,t)){let i=P(),s=Dn();oo(i,s,r,e,t,r[A],n,!1)}return GD}function os(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";ta(e,n,i[s],s,r)}function Td(e,t,n){return Ad(e,t,n,!1),Td}function WD(e,t){return Ad(e,t,null,!0),WD}function Lx(e){Od(KD,Nd,e,!0)}function Nd(e,t){for(let n=$D(t);n>=0;n=xd(t,n))$r(e,BD(t),!0)}function Ad(e,t,n,r){let o=I(),i=P(),s=Wc(2);if(i.firstUpdatePass&&Rd(i,e,s,r),t!==he&&X(o,s,t)){let a=i.data[Ue()];Pd(i,a,o,o[A],e,o[s+1]=XD(t,n),r,s)}}function Od(e,t,n,r){let o=P(),i=Wc(2);o.firstUpdatePass&&Rd(o,null,i,r);let s=I();if(n!==he&&X(s,i,n)){let a=o.data[Ue()];if(kd(a,r)&&!Fd(o,i)){let u=r?a.classesWithoutHost:a.stylesWithoutHost;u!==null&&(n=ai(u,n||"")),os(o,a,s,n,r)}else JD(o,a,s,s[A],s[i+1],s[i+1]=ZD(e,t,n),r,i)}}function Fd(e,t){return t>=e.expandoStartIndex}function Rd(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[Ue()],s=Fd(e,n);kd(i,r)&&t===null&&!s&&(t=!1),t=zD(o,i,t,r),LD(o,i,t,n,s,r)}}function zD(e,t,n,r){let o=zh(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=ni(null,e,t,n,r),n=fn(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=ni(o,e,t,n,r),i===null){let u=qD(e,t,r);u!==void 0&&Array.isArray(u)&&(u=ni(null,e,t,u[1],r),u=fn(u,t.attrs,r),YD(e,t,r,u))}else i=QD(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function qD(e,t,n){let r=n?t.classBindings:t.styleBindings;if(jt(r)!==0)return e[st(r)]}function YD(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[st(o)]=r}function QD(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0;){let u=e[o],c=Array.isArray(u),l=c?u[1]:u,d=l===null,p=n[o+1];p===he&&(p=d?W:void 0);let f=d?Go(p,r):l===r?p:void 0;if(c&&!Rr(f)&&(f=Go(u,r)),Rr(f)&&(a=f,s))return a;let h=e[o+1];o=s?st(h):jt(h)}if(t!==null){let u=i?t.residualClasses:t.residualStyles;u!=null&&(a=Go(u,r))}return a}function Rr(e){return e!==void 0}function XD(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=z(vn(e)))),e}function kd(e,t){return(e.flags&(t?8:16))!==0}function jx(e,t,n){let r=I(),o=la(r,e,t,n);Od($r,Nd,o,!0)}var is=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 ri(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function ev(e,t,n){let r,o,i=0,s=e.length-1;if(Array.isArray(t)){let a=t.length-1;for(;i<=s&&i<=a;){let u=e.at(i),c=t[i],l=ri(i,u,i,c,n);if(l!==0){l<0&&e.updateValue(i,c),i++;continue}let d=e.at(s),p=t[a],f=ri(s,d,a,p,n);if(f!==0){f<0&&e.updateValue(s,p),s--,a--;continue}let h=n(i,u),m=n(s,d),N=n(i,c);if(Object.is(N,m)){let x=n(a,p);Object.is(x,h)?(e.swap(i,s),e.updateValue(s,p),a--,s--):e.move(s,i),e.updateValue(i,c),i++;continue}if(r??=new Pr,o??=Wu(e,i,s,n),ss(e,r,i,N))e.updateValue(i,c),i++,s++;else if(o.has(N))r.set(h,e.detach(i)),s--;else{let x=e.create(i,t[i]);e.attach(i,x),i++,s++}}for(;i<=a;)Gu(e,r,n,i,t[i]),i++}else if(t!=null){let a=t[Symbol.iterator](),u=a.next();for(;!u.done&&i<=s;){let c=e.at(i),l=u.value,d=ri(i,c,i,l,n);if(d!==0)d<0&&e.updateValue(i,l),i++,u=a.next();else{r??=new Pr,o??=Wu(e,i,s,n);let p=n(i,l);if(ss(e,r,i,p))e.updateValue(i,l),i++,s++,u=a.next();else if(!o.has(p))e.attach(i,e.create(i,l)),i++,s++,u=a.next();else{let f=n(i,c);r.set(f,e.detach(i)),s--}}}for(;!u.done;)Gu(e,r,n,e.length,u.value),u=a.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(a=>{e.destroy(a)})}function ss(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Gu(e,t,n,r,o){if(ss(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Wu(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 Pr=class{constructor(){this.kvMap=new Map,this._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 Vx(e,t,n){dt("NgControlFlow");let r=I(),o=ut(),i=ls(r,k+e),s=0;if(X(r,o,t)){let a=b(null);try{if(id(i,s),t!==-1){let u=ds(r[w],k+t),c=dn(i,u.tView.ssrId),l=so(r,u,n,{dehydratedView:c});ao(i,l,s,ln(u,c))}}finally{b(a)}}else{let a=od(i,s);a!==void 0&&(a[B]=n)}}var as=class{constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-V}};function Bx(e,t){return t}var us=class{constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function $x(e,t,n,r,o,i,s,a,u,c,l,d,p){dt("NgControlFlow");let f=u!==void 0,h=I(),m=a?s.bind(h[Z][B]):s,N=new us(f,m);h[k+e]=N,ts(e+1,t,n,r,o,i),f&&ts(e+2,u,c,l,d,p)}var cs=class extends is{constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-V}at(t){return this.getLView(t)[B].$implicit}attach(t,n){let r=n[J];this.needsIndexUpdate||=t!==this.length,ao(this.lContainer,n,t,ln(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,tv(this.lContainer,t)}create(t,n){let r=dn(this.lContainer,this.templateTNode.tView.ssrId);return so(this.hostLView,this.templateTNode,new as(this.lContainer,n,t),{dehydratedView:r})}destroy(t){eo(t[w],t)}updateValue(t,n){this.getLView(t)[B].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t(Ee(!0),Xr(r,o,Jc()));function iv(e,t,n,r,o,i){let s=t[J],a=!s||Bt()||In(n)||Kr(s,i);if(Ee(a),a)return Xr(r,o,Jc());let u=co(s,e,t,n);return Cl(s,i)&&Zr(s,i,u.nextSibling),s&&(fl(n)||pl(u))&&mn(n)&&(jh(n),$l(u)),u}function sv(){Vd=iv}function av(e,t,n,r,o){let i=t.consts,s=Pt(i,r),a=Ht(t,e,8,"ng-container",s);s!==null&&Nr(a,s,!0);let u=Pt(i,o);return ea(t,n,a,u),t.queries!==null&&t.queries.elementStart(t,a),a}function Bd(e,t,n){let r=I(),o=P(),i=e+k,s=o.firstCreatePass?av(i,o,r,t,n):o.data[i];at(s,!0);let a=Hd(o,r,s,e);return r[i]=a,Wr()&&to(o,r,a,s),Be(a,r),Gr(s)&&(Ks(o,r,s),Zs(o,s,r)),n!=null&&Js(r,s),Bd}function $d(){let e=H(),t=P();return Fs()?Rs():(e=e.parent,at(e,!1)),t.firstCreatePass&&(zr(t,e),Ss(e)&&t.queries.elementEnd(e)),$d}function uv(e,t,n){return Bd(e,t,n),$d(),uv}var Hd=(e,t,n,r)=>(Ee(!0),zs(t[A],""));function cv(e,t,n,r){let o,i=t[J],s=!i||Bt()||In(n);if(Ee(s),s)return zs(t[A],"");let a=co(i,e,t,n),u=Bg(i,r);return Zr(i,r,a),o=lo(u,a),o}function lv(){Hd=cv}function Ux(){return I()}function dv(e,t,n){let r=I(),o=ut();if(X(r,o,t)){let i=P(),s=Dn();oo(i,s,r,e,t,r[A],n,!0)}return dv}var kr="en-US";var fv=kr;function pv(e){typeof e=="string"&&(fv=e.toLowerCase().replace(/_/g,"-"))}function Ud(e,t,n){let r=e[A];switch(n){case Node.COMMENT_NODE:return zs(r,t);case Node.TEXT_NODE:return Ws(r,t);case Node.ELEMENT_NODE:return Xr(r,t,null)}}var hv=(e,t,n,r)=>(Ee(!0),Ud(e,n,r));function gv(e,t,n,r){return Ee(!0),Ud(e,n,r)}function mv(){hv=gv}function yv(e,t,n,r){let o=I(),i=P(),s=H();return Gd(i,o,o[A],s,e,t,r),yv}function Dv(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;iu?a[u]:null}typeof s=="string"&&(i+=2)}return null}function Gd(e,t,n,r,o,i,s){let a=Gr(r),c=e.firstCreatePass&&nd(e),l=t[B],d=td(t),p=!0;if(r.type&3||s){let m=te(r,t),N=s?s(m):m,x=d.length,ne=s?be=>s(pe(be[r.index])):r.index,q=null;if(!s&&a&&(q=Dv(e,t,o,r.index)),q!==null){let be=q.__ngLastListenerFn__||q;be.__ngNextListenerFn__=i,q.__ngLastListenerFn__=i,p=!1}else{i=qu(r,t,l,i,!1);let be=n.listen(N,o,i);d.push(i,be),c&&c.push(o,ne,x,x+1)}}else i=qu(r,t,l,i,!1);let f=r.outputs,h;if(p&&f!==null&&(h=f[o])){let m=h.length;if(m)for(let N=0;N-1?He(e.index,t):t;ra(a);let u=zu(t,n,r,s),c=i.__ngNextListenerFn__;for(;c;)u=zu(t,n,c,s)&&u,c=c.__ngNextListenerFn__;return o&&u===!1&&s.preventDefault(),u}}function Gx(e=1){return Yh(e)}function vv(e,t){let n=null,r=Xp(e);for(let o=0;o=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function Kx(e){let t=$h();return Bc(t,k+e)}function Jx(e,t=""){let n=I(),r=P(),o=e+k,i=r.firstCreatePass?Ht(r,o,1,t,null):r.data[o],s=zd(r,n,i,t,e);n[o]=s,Wr()&&to(r,n,s,i),at(i,!1)}var zd=(e,t,n,r,o)=>(Ee(!0),Ws(t[A],r));function Ev(e,t,n,r,o){let i=t[J],s=!i||Bt()||In(n)||Kr(i,o);return Ee(s),s?Ws(t[A],r):co(i,e,t,n)}function Cv(){zd=Ev}function bv(e){return qd("",e,""),bv}function qd(e,t,n){let r=I(),o=la(r,e,t,n);return o!==he&&iy(r,Ue(),o),qd}function _v(e,t,n){Ed(t)&&(t=t());let r=I(),o=ut();if(X(r,o,t)){let i=P(),s=Dn();oo(i,s,r,e,t,r[A],n,!1)}return _v}function Xx(e,t){let n=Ed(e);return n&&e.set(t),n}function Mv(e,t){let n=I(),r=P(),o=H();return Gd(r,n,n[A],o,e,t),Mv}function xv(e,t,n){let r=P();if(r.firstCreatePass){let o=je(e);fs(n,r.data,r.blueprint,o,!0),fs(t,r.data,r.blueprint,o,!1)}}function fs(e,t,n,r,o){if(e=G(e),Array.isArray(e))for(let i=0;i>20;if(Ot(e)||!e.multi){let f=new rt(c,o,ge),h=ii(u,t,o?l:l+p,d);h===-1?(vi(Ir(a,s),i,u),oi(i,e,t.length),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[h]=f,s[h]=f)}else{let f=ii(u,t,l+p,d),h=ii(u,t,l,l+p),m=f>=0&&n[f],N=h>=0&&n[h];if(o&&!N||!o&&!m){vi(Ir(a,s),i,u);let x=Nv(o?Tv:Sv,n.length,o,r,c);!o&&N&&(n[h].providerFactory=x),oi(i,e,t.length,0),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(x),s.push(x)}else{let x=Yd(n[o?h:f],c,!o&&r);oi(i,e,f>-1?f:h,x)}!o&&r&&N&&n[h].componentProviders++}}}function oi(e,t,n,r){let o=Ot(t),i=hh(t);if(o||i){let u=(i?G(t.useClass):t).prototype.ngOnDestroy;if(u){let c=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let l=c.indexOf(n);l===-1?c.push(n,[r,u]):c[l+1].push(r,u)}else c.push(n,u)}}}function Yd(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function ii(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>xv(r,o?o(e):e,t)}}var Av=(()=>{let t=class t{constructor(r){this._injector=r,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){let o=bc(!1,r.type),i=o.length>0?_D([o],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r,i)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(let r of this.cachedInjectors.values())r!==null&&r.destroy()}finally{this.cachedInjectors.clear()}}};t.\u0275prov=R({token:t,providedIn:"environment",factory:()=>new t($(Le))});let e=t;return e})();function tS(e){dt("NgStandalone"),e.getStandaloneInjector=t=>t.get(Av).getOrCreateStandaloneInjector(e)}function nS(e,t,n){let r=yn()+e,o=I();return o[r]===he?po(o,r,n?t.call(n):t()):SD(o,r)}function rS(e,t,n,r){return Qd(I(),yn(),e,t,n,r)}function oS(e,t,n,r,o){return Ov(I(),yn(),e,t,n,r,o)}function iS(e,t,n,r,o,i){return Fv(I(),yn(),e,t,n,r,o,i)}function da(e,t){let n=e[t];return n===he?void 0:n}function Qd(e,t,n,r,o,i){let s=t+n;return X(e,s,o)?po(e,s+1,i?r.call(i,o):r(o)):da(e,s+1)}function Ov(e,t,n,r,o,i,s){let a=t+n;return bd(e,a,o,i)?po(e,a+2,s?r.call(s,o,i):r(o,i)):da(e,a+2)}function Fv(e,t,n,r,o,i,s,a){let u=t+n;return TD(e,u,o,i,s)?po(e,u+3,a?r.call(a,o,i,s):r(o,i,s)):da(e,u+3)}function sS(e,t){let n=P(),r,o=e+k;n.firstCreatePass?(r=Rv(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=et(r.type,!0)),s,a=Q(ge);try{let u=wr(!1),c=i();return wr(u),Iv(n,I(),o,c),c}finally{Q(a)}}function Rv(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function aS(e,t,n){let r=e+k,o=I(),i=Bc(o,r);return Pv(o,r)?Qd(o,yn(),t,i.transform,n,i):i.transform(n)}function Pv(e,t){return e[w].data[t].pure}function uS(e,t){return uo(e,t)}var cS=(()=>{let t=class t{log(r){console.log(r)}warn(r){console.warn(r)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})();var kv=new F("");function ho(e){return!!e&&typeof e.then=="function"}function fa(e){return!!e&&typeof e.subscribe=="function"}var Lv=new F(""),Zd=(()=>{let t=class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o}),this.appInits=C(Lv,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let r=[];for(let i of this.appInits){let s=i();if(ho(s))r.push(s);else if(fa(s)){let a=new Promise((u,c)=>{s.subscribe({complete:u,error:c})});r.push(a)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{o()}).catch(i=>{this.reject(i)}),r.length===0&&o(),this.initialized=!0}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Kd=new F("");function jv(){Oa(()=>{throw new S(600,!1)})}function Vv(e){return e.isBoundToModule}function Bv(e,t,n){try{let r=n();return ho(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var pa=(()=>{let t=class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=C(dl),this.afterRenderEffectManager=C(sa),this.externalTestViews=new Set,this.beforeRender=new re,this.afterTick=new re,this.componentTypes=[],this.components=[],this.isStable=C(ca).hasPendingTasks.pipe(De(r=>!r)),this._injector=C(Le)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,o){let i=r instanceof Tr;if(!this._injector.get(Zd).done){let f=!i&&uh(r),h=!1;throw new S(405,h)}let a;i?a=r:a=this._injector.get(fo).resolveComponentFactory(r),this.componentTypes.push(a.componentType);let u=Vv(a)?void 0:this._injector.get($e),c=o||a.selector,l=a.create(ct.NULL,[],c,u),d=l.location.nativeElement,p=l.injector.get(kv,null);return p?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),si(this.components,l),p?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){this._tick(!0)}_tick(r){if(this._runningTick)throw new S(101,!1);let o=b(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(r)}catch(i){this.internalErrorHandler(i)}finally{this.afterTick.next(),this._runningTick=!1,b(o)}}detectChangesInAttachedViews(r){let o=0,i=this.afterRenderEffectManager;for(;;){if(o===ad)throw new S(103,!1);if(r){let s=o===0;this.beforeRender.next(s);for(let{_lView:a,notifyErrorHandler:u}of this._views)Hv(a,s,u)}if(o++,i.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>hs(s))&&(i.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>hs(s))))break}}attachView(r){let o=r;this._views.push(o),o.attachToAppRef(this)}detachView(r){let o=r;si(this._views,o),o.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);let o=this._injector.get(Kd,[]);[...this._bootstrapListeners,...o].forEach(i=>i(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>si(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new S(406,!1);let r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function si(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var ir;function $v(e){ir??=new WeakMap;let t=ir.get(e);if(t)return t;let n=e.isStable.pipe(Bo(r=>r)).toPromise().then(()=>{});return ir.set(e,n),e.onDestroy(()=>ir?.delete(e)),n}function Hv(e,t,n){!t&&!hs(e)||Uv(e,n,t)}function hs(e){return Os(e)}function Uv(e,t,n){let r;n?(r=0,e[y]|=1024):e[y]&64?r=0:r=1,ud(e,t,r)}var gs=class{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},lS=(()=>{let t=class t{compileModuleSync(r){return new es(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){let o=this.compileModuleSync(r),i=wc(r),s=Rl(i.declarations).reduce((a,u)=>{let c=ke(u);return c&&a.push(new Lt(c)),a},[]);return new gs(o,s)}compileModuleAndAllComponentsAsync(r){return Promise.resolve(this.compileModuleAndAllComponentsSync(r))}clearCache(){}clearCacheFor(r){}getModuleId(r){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var Gv=(()=>{let t=class t{constructor(){this.zone=C(oe),this.applicationRef=C(pa)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Wv(e){return[{provide:oe,useFactory:e},{provide:Xt,multi:!0,useFactory:()=>{let t=C(Gv,{optional:!0});return()=>t.initialize()}},{provide:Xt,multi:!0,useFactory:()=>{let t=C(Qv);return()=>{t.initialize()}}},{provide:dl,useFactory:zv}]}function zv(){let e=C(oe),t=C(Ve);return n=>e.runOutsideAngular(()=>t.handleError(n))}function qv(e){let t=Wv(()=>new oe(Yv(e)));return Cc([[],t])}function Yv(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var Qv=(()=>{let t=class t{constructor(){this.subscription=new L,this.initialized=!1,this.zone=C(oe),this.pendingTasks=C(ca)}initialize(){if(this.initialized)return;this.initialized=!0;let r=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(r=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{oe.assertNotInAngularZone(),queueMicrotask(()=>{r!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(r),r=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{oe.assertInAngularZone(),r??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Zv(){return typeof $localize<"u"&&$localize.locale||kr}var ha=new F("",{providedIn:"root",factory:()=>C(ha,M.Optional|M.SkipSelf)||Zv()});var Jd=new F("");var fr=null;function Kv(e=[],t){return ct.create({name:t,providers:[{provide:xc,useValue:"platform"},{provide:Jd,useValue:new Set([()=>fr=null])},...e]})}function Jv(e=[]){if(fr)return fr;let t=Kv(e);return fr=t,jv(),Xv(t),t}function Xv(e){e.get(_g,null)?.forEach(n=>n())}var go=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=ew;let e=t;return e})();function ew(e){return tw(H(),I(),(e&16)===16)}function tw(e,t,n){if(mn(e)&&!n){let r=He(e.index,t);return new it(r,r)}else if(e.type&47){let r=t[Z];return new it(r,t)}return null}var ms=class{constructor(){}supports(t){return Cd(t)}create(t){return new ys(t)}},nw=(e,t)=>t,ys=class{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||nw}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{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 Ds(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 Lr),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 Lr),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}},Ds=class{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}},vs=class{constructor(){this._head=null,this._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}},Lr=class{constructor(){this.map=new Map}put(t){let n=t.trackById,r=this.map.get(n);r||(r=new vs,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 Yu(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r{let t=class t{constructor(r){this.factories=r}static create(r,o){if(o!=null){let i=o.factories.slice();r=r.concat(i)}return new t(r)}static extend(r){return{provide:t,useFactory:o=>t.create(r,o||Qu()),deps:[[t,new $p,new Bp]]}}find(r){let o=this.factories.find(i=>i.supports(r));if(o!=null)return o;throw new S(901,!1)}};t.\u0275prov=R({token:t,providedIn:"root",factory:Qu});let e=t;return e})();function dS(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=Jv(r),i=[qv(),...n||[]],a=new Fr({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,u=a.get(oe);return u.run(()=>{a.resolveInjectorInitializers();let c=a.get(Ve,null),l;u.runOutsideAngular(()=>{l=u.onError.subscribe({next:f=>{c.handleError(f)}})});let d=()=>a.destroy(),p=o.get(Jd);return p.add(d),a.onDestroy(()=>{l.unsubscribe(),p.delete(d)}),Bv(c,u,()=>{let f=a.get(Zd);return f.runInitializers(),f.donePromise.then(()=>{let h=a.get(ha,kr);pv(h||kr);let m=a.get(pa);return t!==void 0&&m.bootstrap(t),m})})})}catch(t){return Promise.reject(t)}}var Zu=!1,rw=!1;function ow(){Zu||(Zu=!0,kg(),sv(),Cv(),lv(),OD(),iD(),Fy(),Vm(),mv())}function iw(e,t){return $v(e)}function fS(){return Cc([{provide:Xn,useFactory:()=>{let e=!0;return Zt()&&(e=!!C(Vs,{optional:!0})?.get(Il,null)),e&&dt("NgHydration"),e}},{provide:Xt,useValue:()=>{rw=!!C($g,{optional:!0}),Zt()&&C(Xn)&&(sw(),ow())},multi:!0},{provide:_l,useFactory:()=>Zt()&&C(Xn)},{provide:Kd,useFactory:()=>{if(Zt()&&C(Xn)){let e=C(pa),t=C(ct);return()=>{iw(e,t).then(()=>{by(e)})}}return()=>{}},multi:!0}])}function sw(){let e=Yr(),t;for(let n of e.body.childNodes)if(n.nodeType===Node.COMMENT_NODE&&n.textContent?.trim()===Rg){t=n;break}if(!t)throw new S(-507,!1)}function aw(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function uw(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function ga(e){let t=b(null);try{return e()}finally{b(t)}}var cw=new F("",{providedIn:"root",factory:()=>C(lw)}),lw=(()=>{let t=class t{};t.\u0275prov=R({token:t,providedIn:"root",factory:()=>new ws});let e=t;return e})(),ws=class{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=C(ca),this.taskId=null}scheduleEffect(t){if(this.enqueue(t),this.taskId===null){let n=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(n),this.taskId=null})}}enqueue(t){let n=t.creationZone;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()}},Is=class{constructor(t,n,r,o,i,s){this.scheduler=t,this.effectFn=n,this.creationZone=r,this.injector=i,this.watcher=Fa(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(n){this.injector.get(Ve,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function dw(e,t){dt("NgSignals"),!t?.injector&&Nc(dw);let n=t?.injector??C(ct),r=t?.manualCleanup!==!0?n.get(qr):null,o=new Is(n.get(cw),e,typeof Zone>"u"?null:Zone.current,r,n,t?.allowSignalWrites??!1),i=n.get(go,null,{optional:!0});return!i||!(i._lView[y]&8)?o.watcher.notify():(i._lView[ar]??=[]).push(o.watcher.notify),o}function pS(e){let t=ke(e);if(!t)return null;let n=new Lt(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}var af=null;function ma(){return af}function kS(e){af??=e}var ef=class{};var Ca=new F(""),ba=(()=>{let t=class t{historyGo(r){throw new Error("")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=R({token:t,factory:()=>C(pw),providedIn:"platform"});let e=t;return e})(),LS=new F(""),pw=(()=>{let t=class t extends ba{constructor(){super(),this._doc=C(Ca),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return ma().getBaseHref(this._doc)}onPopState(r){let o=ma().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",r,!1),()=>o.removeEventListener("popstate",r)}onHashChange(r){let o=ma().getGlobalEventTarget(this._doc,"window");return o.addEventListener("hashchange",r,!1),()=>o.removeEventListener("hashchange",r)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(r){this._location.pathname=r}pushState(r,o,i){this._history.pushState(r,o,i)}replaceState(r,o,i){this._history.replaceState(r,o,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(r=0){this._history.go(r)}getState(){return this._history.state}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=R({token:t,factory:()=>new t,providedIn:"platform"});let e=t;return e})();function _a(e,t){if(e.length==0)return t;if(t.length==0)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,n==2?e+t.substring(1):n==1?e+t:e+"/"+t}function tf(e){let t=e.match(/#|\?|$/),n=t&&t.index||e.length,r=n-(e[n-1]==="/"?1:0);return e.slice(0,r)+e.slice(n)}function Ae(e){return e&&e[0]!=="?"?"?"+e:e}var mo=(()=>{let t=class t{historyGo(r){throw new Error("")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=R({token:t,factory:()=>C(hw),providedIn:"root"});let e=t;return e})(),uf=new F(""),hw=(()=>{let t=class t extends mo{constructor(r,o){super(),this._platformLocation=r,this._removeListenerFns=[],this._baseHref=o??this._platformLocation.getBaseHrefFromDOM()??C(Ca).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(r){this._removeListenerFns.push(this._platformLocation.onPopState(r),this._platformLocation.onHashChange(r))}getBaseHref(){return this._baseHref}prepareExternalUrl(r){return _a(this._baseHref,r)}path(r=!1){let o=this._platformLocation.pathname+Ae(this._platformLocation.search),i=this._platformLocation.hash;return i&&r?`${o}${i}`:o}pushState(r,o,i,s){let a=this.prepareExternalUrl(i+Ae(s));this._platformLocation.pushState(r,o,a)}replaceState(r,o,i,s){let a=this.prepareExternalUrl(i+Ae(s));this._platformLocation.replaceState(r,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(r=0){this._platformLocation.historyGo?.(r)}};t.\u0275fac=function(o){return new(o||t)($(ba),$(uf,8))},t.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),jS=(()=>{let t=class t extends mo{constructor(r,o){super(),this._platformLocation=r,this._baseHref="",this._removeListenerFns=[],o!=null&&(this._baseHref=o)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(r){this._removeListenerFns.push(this._platformLocation.onPopState(r),this._platformLocation.onHashChange(r))}getBaseHref(){return this._baseHref}path(r=!1){let o=this._platformLocation.hash??"#";return o.length>0?o.substring(1):o}prepareExternalUrl(r){let o=_a(this._baseHref,r);return o.length>0?"#"+o:o}pushState(r,o,i,s){let a=this.prepareExternalUrl(i+Ae(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(r,o,a)}replaceState(r,o,i,s){let a=this.prepareExternalUrl(i+Ae(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(r,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(r=0){this._platformLocation.historyGo?.(r)}};t.\u0275fac=function(o){return new(o||t)($(ba),$(uf,8))},t.\u0275prov=R({token:t,factory:t.\u0275fac});let e=t;return e})(),gw=(()=>{let t=class t{constructor(r){this._subject=new Je,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=r;let o=this._locationStrategy.getBaseHref();this._basePath=Dw(tf(nf(o))),this._locationStrategy.onPopState(i=>{this._subject.emit({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(r=!1){return this.normalize(this._locationStrategy.path(r))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(r,o=""){return this.path()==this.normalize(r+Ae(o))}normalize(r){return t.stripTrailingSlash(yw(this._basePath,nf(r)))}prepareExternalUrl(r){return r&&r[0]!=="/"&&(r="/"+r),this._locationStrategy.prepareExternalUrl(r)}go(r,o="",i=null){this._locationStrategy.pushState(i,"",r,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+Ae(o)),i)}replaceState(r,o="",i=null){this._locationStrategy.replaceState(i,"",r,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+Ae(o)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(r=0){this._locationStrategy.historyGo?.(r)}onUrlChange(r){return this._urlChangeListeners.push(r),this._urlChangeSubscription??=this.subscribe(o=>{this._notifyUrlChangeListeners(o.url,o.state)}),()=>{let o=this._urlChangeListeners.indexOf(r);this._urlChangeListeners.splice(o,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(r="",o){this._urlChangeListeners.forEach(i=>i(r,o))}subscribe(r,o,i){return this._subject.subscribe({next:r,error:o,complete:i})}};t.normalizeQueryParams=Ae,t.joinWithSlash=_a,t.stripTrailingSlash=tf,t.\u0275fac=function(o){return new(o||t)($(mo))},t.\u0275prov=R({token:t,factory:()=>mw(),providedIn:"root"});let e=t;return e})();function mw(){return new gw($(mo))}function yw(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function nf(e){return e.replace(/\/index.html$/,"")}function Dw(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}function VS(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var ya=/\s+/,rf=[],BS=(()=>{let t=class t{constructor(r,o){this._ngEl=r,this._renderer=o,this.initialClasses=rf,this.stateMap=new Map}set klass(r){this.initialClasses=r!=null?r.trim().split(ya):rf}set ngClass(r){this.rawClass=typeof r=="string"?r.trim().split(ya):r}ngDoCheck(){for(let o of this.initialClasses)this._updateState(o,!0);let r=this.rawClass;if(Array.isArray(r)||r instanceof Set)for(let o of r)this._updateState(o,!0);else if(r!=null)for(let o of Object.keys(r))this._updateState(o,!!r[o]);this._applyStateDiff()}_updateState(r,o){let i=this.stateMap.get(r);i!==void 0?(i.enabled!==o&&(i.changed=!0,i.enabled=o),i.touched=!0):this.stateMap.set(r,{enabled:o,changed:!0,touched:!0})}_applyStateDiff(){for(let r of this.stateMap){let o=r[0],i=r[1];i.changed?(this._toggleClass(o,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(o,!1),this.stateMap.delete(o)),i.touched=!1}}_toggleClass(r,o){r=r.trim(),r.length>0&&r.split(ya).forEach(i=>{o?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}};t.\u0275fac=function(o){return new(o||t)(ge(lt),ge(oa))},t.\u0275dir=Hr({type:t,selectors:[["","ngClass",""]],inputs:{klass:[Pe.None,"class","klass"],ngClass:"ngClass"},standalone:!0});let e=t;return e})();var $S=(()=>{let t=class t{constructor(r,o){this._viewContainer=r,this._context=new Da,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=o}set ngIf(r){this._context.$implicit=this._context.ngIf=r,this._updateView()}set ngIfThen(r){of("ngIfThen",r),this._thenTemplateRef=r,this._thenViewRef=null,this._updateView()}set ngIfElse(r){of("ngIfElse",r),this._elseTemplateRef=r,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(r,o){return!0}};t.\u0275fac=function(o){return new(o||t)(ge(Ut),ge(kt))},t.\u0275dir=Hr({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let e=t;return e})(),Da=class{constructor(){this.$implicit=null,this.ngIf=null}};function of(e,t){if(!!!(!t||t.createEmbeddedView))throw new Error(`${e} must be a TemplateRef, but received '${z(t)}'.`)}var HS=(()=>{let t=class t{constructor(r){this._viewContainerRef=r,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(r){if(this._shouldRecreateView(r)){let o=this._viewContainerRef;if(this._viewRef&&o.remove(o.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let i=this._createContextForwardProxy();this._viewRef=o.createEmbeddedView(this.ngTemplateOutlet,i,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(r){return!!r.ngTemplateOutlet||!!r.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(r,o,i)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,o,i):!1,get:(r,o,i)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,o,i)}})}};t.\u0275fac=function(o){return new(o||t)(ge(Ut))},t.\u0275dir=Hr({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Ts]});let e=t;return e})();function vw(e,t){return new S(2100,!1)}var va=class{createSubscription(t,n){return ga(()=>t.subscribe({next:n,error:r=>{throw r}}))}dispose(t){ga(()=>t.unsubscribe())}},wa=class{createSubscription(t,n){return t.then(n,r=>{throw r})}dispose(t){}},ww=new wa,Iw=new va,US=(()=>{let t=class t{constructor(r){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=r}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(r){if(!this._obj){if(r)try{this.markForCheckOnValueUpdate=!1,this._subscribe(r)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return r!==this._obj?(this._dispose(),this.transform(r)):this._latestValue}_subscribe(r){this._obj=r,this._strategy=this._selectStrategy(r),this._subscription=this._strategy.createSubscription(r,o=>this._updateLatestValue(r,o))}_selectStrategy(r){if(ho(r))return ww;if(fa(r))return Iw;throw vw(t,r)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(r,o){r===this._obj&&(this._latestValue=o,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}};t.\u0275fac=function(o){return new(o||t)(ge(go,16))},t.\u0275pipe=yc({name:"async",type:t,pure:!1,standalone:!0});let e=t;return e})();var GS=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=mc({type:t}),t.\u0275inj=nc({});let e=t;return e})(),Ew="browser",Cw="server";function bw(e){return e===Ew}function WS(e){return e===Cw}var zS=(()=>{let t=class t{};t.\u0275prov=R({token:t,providedIn:"root",factory:()=>bw(C(Qr))?new Ia(C(Ca),window):new Ea});let e=t;return e})(),Ia=class{constructor(t,n){this.document=t,this.window=n,this.offset=()=>[0,0]}setOffset(t){Array.isArray(t)?this.offset=()=>t:this.offset=t}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(t){this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){let n=_w(this.document,t);n&&(this.scrollToElement(n),n.focus())}setHistoryScrollRestoration(t){this.window.history.scrollRestoration=t}scrollToElement(t){let n=t.getBoundingClientRect(),r=n.left+this.window.pageXOffset,o=n.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(r-i[0],o-i[1])}};function _w(e,t){let n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if(typeof e.createTreeWalker=="function"&&e.body&&typeof e.body.attachShadow=="function"){let r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),o=r.currentNode;for(;o;){let i=o.shadowRoot;if(i){let s=i.getElementById(t)||i.querySelector(`[name="${t}"]`);if(s)return s}o=r.nextNode()}}return null}var Ea=class{setOffset(t){}getScrollPosition(){return[0,0]}scrollToPosition(t){}scrollToAnchor(t){}setHistoryScrollRestoration(t){}},sf=class{};var Ce=function(e){return e[e.State=0]="State",e[e.Transition=1]="Transition",e[e.Sequence=2]="Sequence",e[e.Group=3]="Group",e[e.Animate=4]="Animate",e[e.Keyframes=5]="Keyframes",e[e.Style=6]="Style",e[e.Trigger=7]="Trigger",e[e.Reference=8]="Reference",e[e.AnimateChild=9]="AnimateChild",e[e.AnimateRef=10]="AnimateRef",e[e.Query=11]="Query",e[e.Stagger=12]="Stagger",e}(Ce||{}),QS="*";function ZS(e,t){return{type:Ce.Trigger,name:e,definitions:t,options:{}}}function KS(e,t=null){return{type:Ce.Animate,styles:t,timings:e}}function JS(e,t=null){return{type:Ce.Group,steps:e,options:t}}function XS(e,t=null){return{type:Ce.Sequence,steps:e,options:t}}function eT(e){return{type:Ce.Style,styles:e,offset:null}}function tT(e,t,n){return{type:Ce.State,name:e,styles:t,options:n}}function nT(e,t,n=null){return{type:Ce.Transition,expr:e,animation:t,options:n}}function rT(e=null){return{type:Ce.AnimateChild,options:e}}function oT(e,t,n=null){return{type:Ce.Query,selector:e,animation:t,options:n}}var cf=class{constructor(t=0,n=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+n}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){let n=t=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},lf=class{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let n=0,r=0,o=0,i=this.players.length;i==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++n==i&&this._onFinish()}),s.onDestroy(()=>{++r==i&&this._onDestroy()}),s.onStart(()=>{++o==i&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){let n=t*this.totalTime;this.players.forEach(r=>{let o=r.totalTime?Math.min(1,n/r.totalTime):1;r.setPosition(o)})}getPosition(){let t=this.players.reduce((n,r)=>n===null||r.totalTime>n.totalTime?r:n,null);return t!=null?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){let n=t=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},iT="!";export{ht as a,gt as b,Mw as c,xw as d,Sw as e,Tw as f,mf as g,L as h,xf as i,_ as j,Ro as k,Po as l,re as m,Gt as n,Qe as o,ye as p,Lf as q,jf as r,Vf as s,_e as t,Bf as u,De as v,Yf as w,ue as x,qt as y,Ct as z,Zf as A,Kf as B,Lo as C,Yt as D,op as E,Ke as F,ip as G,su as H,sp as I,ap as J,Qt as K,bt as L,jo as M,up as N,cp as O,fp as P,Bo as Q,$o as R,pp as S,hp as T,Uo as U,gp as V,mp as W,cu as X,yp as Y,Dp as Z,vp as _,lu as $,S as aa,ec as ba,R as ca,nc as da,mx as ea,F as fa,M as ga,$ as ha,C as ia,Bp as ja,$p as ka,en as la,Pe as ma,yx as na,mc as oa,Hr as pa,Cc as qa,xc as ra,Le as sa,Ih as ta,Ts as ua,Dx as va,vx as wa,wx as xa,Ix as ya,Ex as za,lg as Aa,ct as Ba,Ve as Ca,lt as Da,Je as Ea,Ci as Fa,Cx as Ga,Cg as Ha,_g as Ia,Qr as Ja,bx as Ka,_x as La,Vs as Ma,vn as Na,Ml as Oa,Mx as Pa,xx as Qa,Sx as Ra,Tx as Sa,Nx as Ta,xl as Ua,Ax as Va,Us as Wa,am as Xa,Ox as Ya,br as Za,Fx as _a,ge as $a,Rx as ab,kt as bb,Sr as cb,fo as db,$i as eb,oa as fb,dt as gb,oe as hb,Gy as ib,Ut as jb,mD as kb,DD as lb,bD as mb,Ji as nb,_D as ob,ca as pb,ts as qb,FD as rb,GD as sb,Td as tb,WD as ub,Lx as vb,jx as wb,Vx as xb,Bx as yb,$x as zb,Hx as Ab,Ld as Bb,jd as Cb,ov as Db,Bd as Eb,$d as Fb,uv as Gb,Ux as Hb,dv as Ib,yv as Jb,Gx as Kb,Wx as Lb,zx as Mb,wv as Nb,qx as Ob,Yx as Pb,Qx as Qb,Zx as Rb,Kx as Sb,Jx as Tb,bv as Ub,qd as Vb,_v as Wb,Xx as Xb,Mv as Yb,eS as Zb,tS as _b,nS as $b,rS as ac,oS as bc,iS as cc,sS as dc,aS as ec,uS as fc,cS as gc,ho as hc,Lv as ic,Kd as jc,pa as kc,$v as lc,lS as mc,go as nc,Xd as oc,dS as pc,fS as qc,aw as rc,uw as sc,dw as tc,pS as uc,ma as vc,kS as wc,ef as xc,Ca as yc,LS as zc,mo as Ac,uf as Bc,hw as Cc,jS as Dc,gw as Ec,VS as Fc,BS as Gc,$S as Hc,HS as Ic,US as Jc,GS as Kc,Ew as Lc,bw as Mc,WS as Nc,zS as Oc,sf as Pc,Ce as Qc,QS as Rc,ZS as Sc,KS as Tc,JS as Uc,XS as Vc,eT as Wc,tT as Xc,nT as Yc,rT as Zc,oT as _c,cf as $c,lf as ad,iT as bd};