import{a as nt,b as rt}from"./chunk-YHOLSLLF.js";function Ps(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?i(u.value):o(u.value).then(a,c)}l((r=r.apply(e,t||[])).next())})}function As(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 Le(e){return this instanceof Le?(this.v=e,this):new Le(e)}function Rs(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){r[f]&&(o[f]=function(p){return new Promise(function(h,y){i.push([f,p,h,y])>1||a(f,p)})})}function a(f,p){try{c(r[f](p))}catch(h){d(i[0][3],h)}}function c(f){f.value instanceof Le?Promise.resolve(f.value.v).then(l,u):d(i[0][2],f)}function l(f){a("next",f)}function u(f){a("throw",f)}function d(f,p){f(p),i.shift(),i.length&&a(i[0][0],i[0][1])}}function ks(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 As=="function"?As(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},s)}}var ot=e=>e&&typeof e.length=="number"&&typeof e!="function";function m(e){return typeof e=="function"}function mn(e){return m(e?.then)}function it(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 gn=it(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 Fe(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var k=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(m(r))try{r()}catch(i){t=i instanceof gn?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Ls(i)}catch(s){t=t??[],s instanceof gn?t=[...t,...s.errors]:t.push(s)}}if(t)throw new gn(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Ls(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)&&Fe(n,t)}remove(t){let{_finalizers:n}=this;n&&Fe(n,t),t instanceof e&&t._removeParent(this)}};k.EMPTY=(()=>{let e=new k;return e.closed=!0,e})();var zr=k.EMPTY;function vn(e){return e instanceof k||e&&"closed"in e&&m(e.remove)&&m(e.add)&&m(e.unsubscribe)}function Ls(e){m(e)?e():e.unsubscribe()}var ie={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var st={setTimeout(e,t,...n){let{delegate:r}=st;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=st;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function yn(e){st.setTimeout(()=>{let{onUnhandledError:t}=ie;if(t)t(e);else throw e})}function Tt(){}var Fs=Qr("C",void 0,void 0);function js(e){return Qr("E",void 0,e)}function Vs(e){return Qr("N",e,void 0)}function Qr(e,t,n){return{kind:e,value:t,error:n}}var je=null;function at(e){if(ie.useDeprecatedSynchronousErrorHandling){let t=!je;if(t&&(je={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=je;if(je=null,n)throw r}}else e()}function Hs(e){ie.useDeprecatedSynchronousErrorHandling&&je&&(je.errorThrown=!0,je.error=e)}var Ve=class extends k{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,vn(t)&&t.add(this)):this.destination=ld}static create(t,n,r){return new Ie(t,n,r)}next(t){this.isStopped?Yr(Vs(t),this):this._next(t)}error(t){this.isStopped?Yr(js(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Yr(Fs,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()}}},ad=Function.prototype.bind;function Zr(e,t){return ad.call(e,t)}var Jr=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){In(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){In(r)}else In(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){In(n)}}},Ie=class extends Ve{constructor(t,n,r){super();let o;if(m(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&ie.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Zr(t.next,i),error:t.error&&Zr(t.error,i),complete:t.complete&&Zr(t.complete,i)}):o=t}this.destination=new Jr(o)}};function In(e){ie.useDeprecatedSynchronousErrorHandling?Hs(e):yn(e)}function cd(e){throw e}function Yr(e,t){let{onStoppedNotification:n}=ie;n&&st.setTimeout(()=>n(e,t))}var ld={closed:!0,next:Tt,error:cd,complete:Tt};var ct=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Q(e){return e}function ud(...e){return Xr(e)}function Xr(e){return e.length===0?Q:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var C=(()=>{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=fd(n)?n:new Ie(n,r,o);return at(()=>{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=$s(r),new r((o,i)=>{let s=new Ie({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[ct](){return this}pipe(...n){return Xr(n)(this)}toPromise(n){return n=$s(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 $s(e){var t;return(t=e??ie.Promise)!==null&&t!==void 0?t:Promise}function dd(e){return e&&m(e.next)&&m(e.error)&&m(e.complete)}function fd(e){return e&&e instanceof Ve||dd(e)&&vn(e)}function wn(e){return m(e[ct])}function En(e){return Symbol.asyncIterator&&m(e?.[Symbol.asyncIterator])}function Dn(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 pd(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var bn=pd();function xn(e){return m(e?.[bn])}function Cn(e){return Rs(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield Le(n.read());if(o)return yield Le(void 0);yield yield Le(r)}}finally{n.releaseLock()}})}function Mn(e){return m(e?.getReader)}function O(e){if(e instanceof C)return e;if(e!=null){if(wn(e))return hd(e);if(ot(e))return md(e);if(mn(e))return gd(e);if(En(e))return Bs(e);if(xn(e))return vd(e);if(Mn(e))return yd(e)}throw Dn(e)}function hd(e){return new C(t=>{let n=e[ct]();if(m(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function md(e){return new C(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,yn)})}function vd(e){return new C(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Bs(e){return new C(t=>{Id(e,t).catch(n=>t.error(n))})}function yd(e){return Bs(Cn(e))}function Id(e,t){var n,r,o,i;return Ps(this,void 0,void 0,function*(){try{for(n=ks(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 Kr(e){return m(e?.lift)}function w(e){return t=>{if(Kr(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 E(e,t,n,r,o){return new eo(e,t,n,r,o)}var eo=class extends Ve{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function we(e,t){return w((n,r)=>{let o=0;n.subscribe(E(r,i=>{r.next(e.call(t,i,o++))}))})}function q(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 Us(e,t,n,r,o,i,s,a){let c=[],l=0,u=0,d=!1,f=()=>{d&&!c.length&&!l&&t.complete()},p=y=>l{i&&t.next(y),l++;let N=!1;O(n(y,u++)).subscribe(E(t,_=>{o?.(_),i?p(_):t.next(_)},()=>{N=!0},void 0,()=>{if(N)try{for(l--;c.length&&lh(_)):h(_)}f()}catch(_){t.error(_)}}))};return e.subscribe(E(t,p,()=>{d=!0,f()})),()=>{a?.()}}function Ee(e,t,n=1/0){return m(t)?Ee((r,o)=>we((i,s)=>t(r,i,o,s))(O(e(r,o))),n):(typeof t=="number"&&(n=t),w((r,o)=>Us(r,o,e,n)))}var{isArray:wd}=Array;function Ed(e,t){return wd(t)?e(...t):e(t)}function lt(e){return we(t=>Ed(e,t))}var Dd=["addListener","removeListener"],bd=["addEventListener","removeEventListener"],xd=["on","off"];function to(e,t,n,r){if(m(n)&&(r=n,n=void 0),r)return to(e,t,n).pipe(lt(r));let[o,i]=_d(e)?bd.map(s=>a=>e[s](t,a,n)):Cd(e)?Dd.map(qs(e,t)):Md(e)?xd.map(qs(e,t)):[];if(!o&&ot(e))return Ee(s=>to(s,t,n))(O(e));if(!o)throw new TypeError("Invalid event target");return new C(s=>{let a=(...c)=>s.next(1i(a)})}function qs(e,t){return n=>r=>e[n](t,r)}function Cd(e){return m(e.addListener)&&m(e.removeListener)}function Md(e){return m(e.on)&&m(e.off)}function _d(e){return m(e.addEventListener)&&m(e.removeEventListener)}function no(){return w((e,t)=>{let n=null;e._refCount++;let r=E(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 ro=class extends C{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Kr(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 k;let n=this.getSubject();t.add(this.source.subscribe(E(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=k.EMPTY)}return t}refCount(){return no()(this)}};var Ws=it(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ne=(()=>{class e extends C{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new _n(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Ws}next(n){at(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){at(()=>{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(){at(()=>{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?zr:(this.currentObservers=null,i.push(n),new k(()=>{this.currentObservers=null,Fe(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new C;return n.source=this,n}}return e.create=(t,n)=>new _n(t,n),e})(),_n=class extends ne{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:zr}};var Nt=class extends ne{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 St={now(){return(St.delegate||Date).now()},delegate:void 0};var Tn=class extends ne{constructor(t=1/0,n=1/0,r=St){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 zs(e){return e&&m(e.schedule)}function Qs(e){return e[e.length-1]}function An(e){return m(Qs(e))?e.pop():void 0}function Me(e){return zs(Qs(e))?e.pop():void 0}function Pn(e,t=0){return w((n,r)=>{n.subscribe(E(r,o=>q(r,e,()=>r.next(o),t),()=>q(r,e,()=>r.complete(),t),o=>q(r,e,()=>r.error(o),t)))})}function Rn(e,t=0){return w((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Zs(e,t){return O(e).pipe(Rn(t),Pn(t))}function Ys(e,t){return O(e).pipe(Rn(t),Pn(t))}function Js(e,t){return new C(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Xs(e,t){return new C(n=>{let r;return q(n,t,()=>{r=e[bn](),q(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)}),()=>m(r?.return)&&r.return()})}function kn(e,t){if(!e)throw new Error("Iterable cannot be null");return new C(n=>{q(n,t,()=>{let r=e[Symbol.asyncIterator]();q(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Ks(e,t){return kn(Cn(e),t)}function ea(e,t){if(e!=null){if(wn(e))return Zs(e,t);if(ot(e))return Js(e,t);if(mn(e))return Ys(e,t);if(En(e))return kn(e,t);if(xn(e))return Xs(e,t);if(Mn(e))return Ks(e,t)}throw Dn(e)}function _e(e,t){return t?ea(e,t):O(e)}function Td(...e){let t=Me(e);return _e(e,t)}function Nd(e,t){let n=m(e)?e:()=>e,r=o=>o.error(n());return new C(t?o=>t.schedule(r,0,o):r)}function Sd(e){return!!e&&(e instanceof C||m(e.lift)&&m(e.subscribe))}var He=it(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});var{isArray:Od}=Array,{getPrototypeOf:Ad,prototype:Pd,keys:Rd}=Object;function Ln(e){if(e.length===1){let t=e[0];if(Od(t))return{args:t,keys:null};if(kd(t)){let n=Rd(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function kd(e){return e&&typeof e=="object"&&Ad(e)===Pd}function Fn(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Ld(...e){let t=Me(e),n=An(e),{args:r,keys:o}=Ln(e);if(r.length===0)return _e([],t);let i=new C(Fd(r,t,o?s=>Fn(o,s):Q));return n?i.pipe(lt(n)):i}function Fd(e,t,n=Q){return r=>{ta(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c{let l=_e(e[c],t),u=!1;l.subscribe(E(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function ta(e,t,n){e?q(n,e,t):t()}function oo(e=1/0){return Ee(Q,e)}function na(){return oo(1)}function jn(...e){return na()(_e(e,Me(e)))}function jd(e){return new C(t=>{O(e()).subscribe(t)})}function Vd(...e){let t=An(e),{args:n,keys:r}=Ln(e),o=new C(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u{d||(d=!0,l--),a[u]=f},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?Fn(r,a):a),i.complete())}))}});return t?o.pipe(lt(t)):o}function $e(e,t){return w((n,r)=>{let o=0;n.subscribe(E(r,i=>e.call(t,i,o++)&&r.next(i)))})}function ra(e){return w((t,n)=>{let r=null,o=!1,i;r=t.subscribe(E(n,void 0,void 0,s=>{i=O(e(s,ra(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function oa(e,t,n,r,o){return(i,s)=>{let a=n,c=t,l=0;i.subscribe(E(s,u=>{let d=l++;c=a?e(c,u,d):(a=!0,u),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function Hd(e,t){return m(t)?Ee(e,t,1):Ee(e,1)}function $d(e,t=Gs){return w((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let l=i;i=null,r.next(l)}};function c(){let l=s+e,u=t.now();if(u{i=l,s=t.now(),o||(o=t.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function Pt(e){return w((t,n)=>{let r=!1;t.subscribe(E(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function io(e){return e<=0?()=>At:w((t,n)=>{let r=0;t.subscribe(E(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Bd(e){return we(()=>e)}function Vn(e=Ud){return w((t,n)=>{let r=!1;t.subscribe(E(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Ud(){return new He}function qd(e){return w((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function so(e,t){let n=arguments.length>=2;return r=>r.pipe(e?$e((o,i)=>e(o,i,r)):Q,io(1),n?Pt(t):Vn(()=>new He))}function ao(e){return e<=0?()=>At:w((t,n)=>{let r=[];t.subscribe(E(n,o=>{r.push(o),e{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function Wd(e,t){let n=arguments.length>=2;return r=>r.pipe(e?$e((o,i)=>e(o,i,r)):Q,ao(1),n?Pt(t):Vn(()=>new He))}function Gd(e,t){return w(oa(e,t,arguments.length>=2,!0))}function ia(e={}){let{connector:t=()=>new ne,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,l=0,u=!1,d=!1,f=()=>{a?.unsubscribe(),a=void 0},p=()=>{f(),s=c=void 0,u=d=!1},h=()=>{let y=s;p(),y?.unsubscribe()};return w((y,N)=>{l++,!d&&!u&&f();let _=c=c??t();N.add(()=>{l--,l===0&&!d&&!u&&(a=co(h,o))}),_.subscribe(N),!s&&l>0&&(s=new Ie({next:te=>_.next(te),error:te=>{d=!0,f(),a=co(p,n,te),_.error(te)},complete:()=>{u=!0,f(),a=co(p,r),_.complete()}}),O(y).subscribe(s))})(i)}}function co(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new Ie({next:()=>{r.unsubscribe(),e()}});return O(t(...n)).subscribe(r)}function zd(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,ia({connector:()=>new Tn(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function Qd(e){return $e((t,n)=>e<=n)}function Zd(...e){let t=Me(e);return w((n,r)=>{(t?jn(e,n,t):jn(e,n)).subscribe(r)})}function Yd(e,t){return w((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(E(r,c=>{o?.unsubscribe();let l=0,u=i++;O(e(c,u)).subscribe(o=E(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Jd(e){return w((t,n)=>{O(e).subscribe(E(n,()=>n.complete(),Tt)),!n.closed&&t.subscribe(n)})}function Xd(e,t,n){let r=m(e)||t||n?{next:e,error:t,complete:n}:e;return r?w((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(E(i,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),i.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):Q}function Kd(e,t){return Object.is(e,t)}var L=null,Hn=!1,$n=1,lo=Symbol("SIGNAL");function b(e){let t=L;return L=e,t}var uo={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 sa(e){if(Hn)throw new Error("");if(L===null)return;L.consumerOnSignalRead(e);let t=L.nextProducerIndex++;if(dt(L),te.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function fo(e){dt(e);for(let t=0;t0}function dt(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function fa(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function of(){throw new Error}var pa=of;function sf(){pa()}function ha(e){pa=e}var af=null;function ma(e,t){nf()||sf(),e.equal(e.value,t)||(e.value=t,cf(e))}var ga=rt(nt({},uo),{equal:Kd,value:void 0});function cf(e){e.version++,ef(),aa(e),af?.()}var ic="https://g.co/ng/security#xss",M=class extends Error{constructor(t,n){super(lf(t,n)),this.code=t}};function lf(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}var sc=Symbol("InputSignalNode#UNSET"),uf=rt(nt({},ga),{transformFn:void 0,applyValueToInputSignal(e,t){ma(e,t)}});function ac(e,t){let n=Object.create(uf);n.value=e,n.transformFn=t?.transform;function r(){if(sa(n),n.value===sc)throw new M(-950,!1);return n.value}return r[lo]=n,r}function Kt(e){return{toString:e}.toString()}var Un="__parameters__";function df(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function cc(e,t,n){return Kt(()=>{let r=df(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(c,l,u){let d=c.hasOwnProperty(Un)?c[Un]:Object.defineProperty(c,Un,{value:[]})[Un];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),c}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var re=globalThis;function S(e){for(let t in e)if(e[t]===S)return t;throw Error("Could not find renamed property on target object.")}function ff(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 Oo(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var pf=S({__forward_ref__:S});function lc(e){return e.__forward_ref__=lc,e.toString=function(){return Z(this())},e}function $(e){return uc(e)?e():e}function uc(e){return typeof e=="function"&&e.hasOwnProperty(pf)&&e.__forward_ref__===lc}function z(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function RC(e){return{providers:e.providers||[],imports:e.imports||[]}}function _r(e){return va(e,dc)||va(e,fc)}function kC(e){return _r(e)!==null}function va(e,t){return e.hasOwnProperty(t)?e[t]:null}function hf(e){let t=e&&(e[dc]||e[fc]);return t||null}function ya(e){return e&&(e.hasOwnProperty(Ia)||e.hasOwnProperty(mf))?e[Ia]:null}var dc=S({\u0275prov:S}),Ia=S({\u0275inj:S}),fc=S({ngInjectableDef:S}),mf=S({ngInjectorDef:S}),P=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=z({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function pc(e){return e&&!!e.\u0275providers}var gf=S({\u0275cmp:S}),vf=S({\u0275dir:S}),yf=S({\u0275pipe:S}),If=S({\u0275mod:S}),rr=S({\u0275fac:S}),Ft=S({__NG_ELEMENT_ID__:S}),wa=S({__NG_ENV_ID__:S});function en(e){return typeof e=="string"?e:e==null?"":String(e)}function wf(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():en(e)}function Ef(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new M(-200,e)}function Bi(e,t){throw new M(-201,!1)}var x=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}(x||{}),Ao;function hc(){return Ao}function W(e){let t=Ao;return Ao=e,t}function mc(e,t,n){let r=_r(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&x.Optional)return null;if(t!==void 0)return t;Bi(e,"Injector")}var Df={},Vt=Df,Po="__NG_DI_FLAG__",or="ngTempTokenPath",bf="ngTokenPath",xf=/\n/gm,Cf="\u0275",Ea="__source",gt;function Mf(){return gt}function Te(e){let t=gt;return gt=e,t}function _f(e,t=x.Default){if(gt===void 0)throw new M(-203,!1);return gt===null?mc(e,void 0,t):gt.get(e,t&x.Optional?null:void 0,t)}function Se(e,t=x.Default){return(hc()||_f)($(e),t)}function T(e,t=x.Default){return Se(e,Tr(t))}function Tr(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ro(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(xf,` `)}`}var Of=gc(cc("Optional"),8);var Af=gc(cc("SkipSelf"),4);function qe(e,t){let n=e.hasOwnProperty(rr);return n?e[rr]:null}function Pf(e,t,n){if(e.length!==t.length)return!1;for(let r=0;rArray.isArray(n)?Ui(n,t):t(n))}function vc(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function ir(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function kf(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 qi(e,t,n){let r=tn(e,t);return r>=0?e[r|1]=n:(r=~r,Lf(e,r,t,n)),r}function po(e,t){let n=tn(e,t);if(n>=0)return e[n|1]}function tn(e,t){return Ff(e,t,1)}function Ff(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[u+1].toLowerCase(),r&2&&l!==d){if(se(r))return!1;s=!0}}}}return se(r)||s}function se(e){return(e&1)===0}function Uf(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!==""&&!se(s)&&(t+=ba(i,o),o=""),r=s,i=i||!se(r);n++}return o!==""&&(t+=ba(i,o)),t}function Zf(e){return e.map(Qf).join(",")}function Yf(e){let t=[],n=[],r=1,o=2;for(;r{let t=_c(e),n=rt(nt({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===wc.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||$t.Emulated,styles:e.styles||B,_:null,schemas:e.schemas||null,tView:null,id:""});Tc(n);let r=e.dependencies;return n.directiveDefs=Ca(r,!1),n.pipeDefs=Ca(r,!0),n.id=ep(n),n})}function Jf(e){return Oe(e)||xc(e)}function Xf(e){return e!==null}function FC(e){return Kt(()=>({type:e.type,bootstrap:e.bootstrap||B,declarations:e.declarations||B,imports:e.imports||B,exports:e.exports||B,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function xa(e,t){if(e==null)return yt;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=It.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==It.None?[r,a]:r,t[i]=s):n[i]=r}return n}function jC(e){return Kt(()=>{let t=_c(e);return Tc(t),t})}function VC(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 Oe(e){return e[gf]||null}function xc(e){return e[vf]||null}function Cc(e){return e[yf]||null}function Kf(e){let t=Oe(e)||xc(e)||Cc(e);return t!==null?t.standalone:!1}function Mc(e,t){let n=e[If]||null;if(!n&&t===!0)throw new Error(`Type ${Z(e)} does not have '\u0275mod' property.`);return n}function _c(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||yt,exportAs:e.exportAs||null,standalone:e.standalone===!0,signals:e.signals===!0,selectors:e.selectors||B,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:xa(e.inputs,t),outputs:xa(e.outputs),debugInfo:null}}function Tc(e){e.features?.forEach(t=>t(e))}function Ca(e,t){if(!e)return null;let n=t?Cc:Jf;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(Xf)}function ep(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 Nc(e){return{\u0275providers:e}}function tp(...e){return{\u0275providers:Sc(!0,e),\u0275fromNgModule:!0}}function Sc(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Ui(t,s=>{let a=s;Lo(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Oc(o,i),n}function Oc(e,t){for(let n=0;n{t(i,r)})}}function Lo(e,t,n,r){if(e=$(e),!e)return!1;let o=null,i=ya(e),s=!i&&Oe(e);if(!i&&!s){let c=e.ngModule;if(i=ya(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)Lo(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;try{Ui(i.imports,u=>{Lo(u,t,n,r)&&(l||=[],l.push(u))})}finally{}l!==void 0&&Oc(l,t)}if(!a){let l=qe(o)||(()=>new o);t({provide:o,useFactory:l,deps:B},o),t({provide:Ic,useValue:o,multi:!0},o),t({provide:Ht,useValue:()=>Se(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;Gi(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function Gi(e,t){for(let n of e)pc(n)&&(n=n.\u0275providers),Array.isArray(n)?Gi(n,t):t(n)}var np=S({provide:String,useValue:S});function Ac(e){return e!==null&&typeof e=="object"&&np in e}function rp(e){return!!(e&&e.useExisting)}function op(e){return!!(e&&e.useFactory)}function wt(e){return typeof e=="function"}function ip(e){return!!e.useClass}var Pc=new P(""),Jn={},sp={},ho;function zi(){return ho===void 0&&(ho=new sr),ho}var Ae=class{},Ut=class extends Ae{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,jo(t,s=>this.processProvider(s)),this.records.set(yc,ft(void 0,this)),o.has("environment")&&this.records.set(Ae,ft(void 0,this));let i=this.records.get(Pc);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Ic,B,x.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=Te(this),r=W(void 0),o;try{return t()}finally{Te(n),W(r)}}get(t,n=Vt,r=x.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(wa))return t[wa](this);r=Tr(r);let o,i=Te(this),s=W(void 0);try{if(!(r&x.SkipSelf)){let c=this.records.get(t);if(c===void 0){let l=dp(t)&&_r(t);l&&this.injectableDefInScope(l)?c=ft(Fo(t),Jn):c=null,this.records.set(t,c)}if(c!=null)return this.hydrate(t,c)}let a=r&x.Self?zi():this.parent;return n=r&x.Optional&&n===Vt?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[or]=a[or]||[]).unshift(Z(t)),i)throw a;return Nf(a,t,"R3InjectorError",this.source)}else throw a}finally{W(s),Te(i)}}resolveInjectorInitializers(){let t=b(null),n=Te(this),r=W(void 0),o;try{let i=this.get(Ht,B,x.Self);for(let s of i)s()}finally{Te(n),W(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 M(205,!1)}processProvider(t){t=$(t);let n=wt(t)?t:$(t&&t.provide),r=cp(t);if(!wt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=ft(void 0,Jn,!0),o.factory=()=>Ro(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===Jn&&(n.value=sp,n.value=n.factory()),typeof n.value=="object"&&n.value&&up(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{b(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=$(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 Fo(e){let t=_r(e),n=t!==null?t.factory:qe(e);if(n!==null)return n;if(e instanceof P)throw new M(204,!1);if(e instanceof Function)return ap(e);throw new M(204,!1)}function ap(e){if(e.length>0)throw new M(204,!1);let n=hf(e);return n!==null?()=>n.factory(e):()=>new e}function cp(e){if(Ac(e))return ft(void 0,e.useValue);{let t=Rc(e);return ft(t,Jn)}}function Rc(e,t,n){let r;if(wt(e)){let o=$(e);return qe(o)||Fo(o)}else if(Ac(e))r=()=>$(e.useValue);else if(op(e))r=()=>e.useFactory(...Ro(e.deps||[]));else if(rp(e))r=()=>Se($(e.useExisting));else{let o=$(e&&(e.useClass||e.provide));if(lp(e))r=()=>new o(...Ro(e.deps));else return qe(o)||Fo(o)}return r}function ft(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function lp(e){return!!e.deps}function up(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function dp(e){return typeof e=="function"||typeof e=="object"&&e instanceof P}function jo(e,t){for(let n of e)Array.isArray(n)?jo(n,t):n&&pc(n)?jo(n.\u0275providers,t):t(n)}function fp(e,t){e instanceof Ut&&e.assertNotDestroyed();let n,r=Te(e),o=W(void 0);try{return t()}finally{Te(r),W(o)}}function kc(){return hc()!==void 0||Mf()!=null}function pp(e){if(!kc())throw new M(-203,!1)}function hp(e){return typeof e=="function"}var Y=0,v=1,g=2,F=3,ce=4,X=5,J=6,qt=7,V=8,Et=9,ue=10,A=11,Wt=12,Ma=13,Ct=14,G=15,nn=16,pt=17,be=18,Nr=19,Lc=20,Ne=21,mo=22,We=23,R=25,Fc=1,Gt=6,xe=7,ar=8,Dt=9,j=10,Qi=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Qi||{});function De(e){return Array.isArray(e)&&typeof e[Fc]=="object"}function me(e){return Array.isArray(e)&&e[Fc]===!0}function jc(e){return(e.flags&4)!==0}function rn(e){return e.componentOffset>-1}function Zi(e){return(e.flags&1)===1}function Pe(e){return!!e.template}function Vc(e){return(e[g]&512)!==0}var Vo=class{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Hc(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}function mp(){return $c}function $c(e){return e.type.prototype.ngOnChanges&&(e.setInput=vp),gp}mp.ngInherit=!0;function gp(){let e=Uc(this),t=e?.current;if(t){let n=e.previous;if(n===yt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function vp(e,t,n,r,o){let i=this.declaredInputs[r],s=Uc(e)||yp(e,{previous:yt,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new Vo(l&&l.currentValue,n,c===yt),Hc(e,t,o,n)}var Bc="__ngSimpleChanges__";function Uc(e){return e[Bc]||null}function yp(e,t){return e[Bc]=t}var _a=null;var fe=function(e,t,n){_a?.(e,t,n)},qc="svg",Ip="math",wp=!1;function Ep(){return wp}function de(e){for(;Array.isArray(e);)e=e[Y];return e}function Wc(e,t){return de(t[e])}function K(e,t){return de(t[e.index])}function Yi(e,t){return e.data[t]}function Ji(e,t){return e[t]}function Re(e,t){let n=t[e];return De(n)?n:n[Y]}function Dp(e){return(e[g]&4)===4}function Xi(e){return(e[g]&128)===128}function bp(e){return me(e[F])}function cr(e,t){return t==null?null:e[t]}function Gc(e){e[pt]=0}function xp(e){e[g]&1024||(e[g]|=1024,Xi(e)&&zt(e))}function Cp(e,t){for(;e>0;)t=t[Ct],e--;return t}function Ki(e){return!!(e[g]&9216||e[We]?.dirty)}function Ho(e){e[ue].changeDetectionScheduler?.notify(1),Ki(e)?zt(e):e[g]&64&&(Ep()?(e[g]|=1024,zt(e)):e[ue].changeDetectionScheduler?.notify())}function zt(e){e[ue].changeDetectionScheduler?.notify();let t=Qt(e);for(;t!==null&&!(t[g]&8192||(t[g]|=8192,!Xi(t)));)t=Qt(t)}function zc(e,t){if((e[g]&256)===256)throw new M(911,!1);e[Ne]===null&&(e[Ne]=[]),e[Ne].push(t)}function Mp(e,t){if(e[Ne]===null)return;let n=e[Ne].indexOf(t);n!==-1&&e[Ne].splice(n,1)}function Qt(e){let t=e[F];return me(t)?t[F]:t}var I={lFrame:nl(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function _p(){return I.lFrame.elementDepthCount}function Tp(){I.lFrame.elementDepthCount++}function Np(){I.lFrame.elementDepthCount--}function Qc(){return I.bindingsEnabled}function Mt(){return I.skipHydrationRootTNode!==null}function Sp(e){return I.skipHydrationRootTNode===e}function Op(e){I.skipHydrationRootTNode=e}function Ap(){I.skipHydrationRootTNode=null}function D(){return I.lFrame.lView}function H(){return I.lFrame.tView}function HC(e){return I.lFrame.contextLView=e,e[V]}function $C(e){return I.lFrame.contextLView=null,e}function ee(){let e=Zc();for(;e!==null&&e.type===64;)e=e.parent;return e}function Zc(){return I.lFrame.currentTNode}function Pp(){let e=I.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function on(e,t){let n=I.lFrame;n.currentTNode=e,n.isParent=t}function Yc(){return I.lFrame.isParent}function Jc(){I.lFrame.isParent=!1}function Rp(){return I.lFrame.contextLView}function sn(){let e=I.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function kp(e){return I.lFrame.bindingIndex=e}function an(){return I.lFrame.bindingIndex++}function Xc(e){let t=I.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Lp(){return I.lFrame.inI18n}function Fp(e,t){let n=I.lFrame;n.bindingIndex=n.bindingRootIndex=e,$o(t)}function jp(){return I.lFrame.currentDirectiveIndex}function $o(e){I.lFrame.currentDirectiveIndex=e}function Vp(e){let t=I.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Kc(){return I.lFrame.currentQueryIndex}function es(e){I.lFrame.currentQueryIndex=e}function Hp(e){let t=e[v];return t.type===2?t.declTNode:t.type===1?e[X]:null}function el(e,t,n){if(n&x.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&x.Host);)if(o=Hp(i),o===null||(i=i[Ct],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=I.lFrame=tl();return r.currentTNode=t,r.lView=e,!0}function ts(e){let t=tl(),n=e[v];I.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function tl(){let e=I.lFrame,t=e===null?null:e.child;return t===null?nl(e):t}function nl(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 rl(){let e=I.lFrame;return I.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var ol=rl;function ns(){let e=rl();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 $p(e){return(I.lFrame.contextLView=Cp(e,I.lFrame.contextLView))[V]}function ke(){return I.lFrame.selectedIndex}function Ge(e){I.lFrame.selectedIndex=e}function il(){let e=I.lFrame;return Yi(e.tView,e.selectedIndex)}function BC(){I.lFrame.currentNamespace=qc}function UC(){Bp()}function Bp(){I.lFrame.currentNamespace=null}function sl(){return I.lFrame.currentNamespace}var al=!0;function rs(){return al}function ge(e){al=e}function Up(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=$c(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 os(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[c]<0&&(e[pt]+=65536),(a>14>16&&(e[g]&3)===t&&(e[g]+=16384,Ta(a,i)):Ta(a,i)}var vt=-1,ze=class{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function Wp(e){return e instanceof ze}function Gp(e){return(e.flags&8)!==0}function zp(e){return(e.flags&16)!==0}function ll(e){return e!==vt}function lr(e){return e&32767}function Qp(e){return e>>16}function ur(e,t){let n=Qp(e),r=t;for(;n>0;)r=r[Ct],n--;return r}var Bo=!0;function dr(e){let t=Bo;return Bo=e,t}var Zp=256,ul=Zp-1,dl=5,Yp=0,pe={};function Jp(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Ft)&&(r=n[Ft]),r==null&&(r=n[Ft]=Yp++);let o=r&ul,i=1<>dl)]|=i}function fr(e,t){let n=fl(e,t);if(n!==-1)return n;let r=t[v];r.firstCreatePass&&(e.injectorIndex=t.length,vo(r.data,e),vo(t,null),vo(r.blueprint,null));let o=is(e,t),i=e.injectorIndex;if(ll(o)){let s=lr(o),a=ur(o,t),c=a[v].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function vo(e,t){e.push(0,0,0,0,0,0,0,0,t)}function fl(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function is(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=vl(o),r===null)return vt;if(n++,o=o[Ct],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return vt}function Uo(e,t,n){Jp(e,t,n)}function Xp(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+u,f=o?a+u:l;for(let p=d;p=c&&h.type===n)return p}if(o){let p=s[c];if(p&&Pe(p)&&p.type===n)return c}return null}function Qe(e,t,n,r){let o=e[n],i=t.data;if(Wp(o)){let s=o;s.resolving&&Ef(wf(i[n]));let a=dr(s.canSeeViewProviders);s.resolving=!0;let c,l=s.injectImpl?W(s.injectImpl):null,u=el(e,r,x.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&Up(n,i[n],t)}finally{l!==null&&W(l),dr(a),s.resolving=!1,ol()}}return o}function eh(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Ft)?e[Ft]:void 0;return typeof t=="number"?t>=0?t&ul:th:t}function Na(e,t,n){let r=1<>dl)]&r)}function Sa(e,t){return!(e&x.Self)&&!(e&x.Host&&t)}var Ue=class{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return ml(this._tNode,this._lView,t,Tr(r),n)}};function th(){return new Ue(ee(),D())}function qC(e){return Kt(()=>{let t=e.prototype.constructor,n=t[rr]||qo(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[rr]||qo(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function qo(e){return uc(e)?()=>{let t=qo($(e));return t&&t()}:qe(e)}function nh(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[g]&2048&&!(s[g]&512);){let a=gl(i,s,n,r|x.Self,pe);if(a!==pe)return a;let c=i.parent;if(!c){let l=s[Lc];if(l){let u=l.get(n,pe,r);if(u!==pe)return u}c=vl(s),s=s[Ct]}i=c}return o}function vl(e){let t=e[v],n=t.type;return n===2?t.declTNode:n===1?e[X]:null}function WC(e){return Xp(ee(),e)}function Oa(e,t=null,n=null,r){let o=yl(e,t,n,r);return o.resolveInjectorInitializers(),o}function yl(e,t=null,n=null,r,o=new Set){let i=[n||B,tp(e)];return r=r||(typeof e=="object"?void 0:Z(e)),new Ut(i,t||zi(),r||null,o)}var cn=(()=>{let t=class t{static create(r,o){if(Array.isArray(r))return Oa({name:""},o,r,"");{let i=r.name??"";return Oa({name:i},r.parent,r.providers,i)}}};t.THROW_IF_NOT_FOUND=Vt,t.NULL=new sr,t.\u0275prov=z({token:t,providedIn:"any",factory:()=>Se(yc)}),t.__NG_ELEMENT_ID__=-1;let e=t;return e})();var rh="ngOriginalError";function yo(e){return e[rh]}var Ze=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}},Il=new P("",{providedIn:"root",factory:()=>T(Ze).handleError.bind(void 0)}),ss=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=oh,t.__NG_ENV_ID__=r=>r;let e=t;return e})(),Wo=class extends ss{constructor(t){super(),this._lView=t}onDestroy(t){return zc(this._lView,t),()=>Mp(this._lView,t)}};function oh(){return new Wo(D())}function Aa(e,t){return ac(e,t)}function ih(e){return ac(sc,e)}var GC=(Aa.required=ih,Aa);function sh(){return _t(ee(),D())}function _t(e,t){return new Sr(K(e,t))}var Sr=(()=>{let t=class t{constructor(r){this.nativeElement=r}};t.__NG_ELEMENT_ID__=sh;let e=t;return e})();function ah(e){return e instanceof Sr?e.nativeElement:e}var Go=class extends ne{constructor(t=!1){super(),this.destroyRef=void 0,this.__isAsync=t,kc()&&(this.destroyRef=T(ss,{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 c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=Io(i),o&&(o=Io(o)),s&&(s=Io(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof k&&t.add(a),a}};function Io(e){return t=>{setTimeout(e,void 0,t)}}var kt=Go;function ch(){return this._results[Symbol.iterator]()}var zo=class e{get changes(){return this._changes??=new kt}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]=ch)}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=Rf(t);(this._changesDetected=!Pf(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())}},lh="ngSkipHydration",uh="ngskiphydration";function wl(e){let t=e.mergedAttrs;if(t===null)return!1;for(let n=0;nvh}),vh="ng",yh=new P(""),Ml=new P("",{providedIn:"platform",factory:()=>"unknown"});var QC=new P(""),ZC=new P("",{providedIn:"root",factory:()=>ln().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function Ih(){let e=new as;return T(Ml)==="browser"&&(e.store=wh(ln(),T(gh))),e}var as=(()=>{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 Th(e,t,n=!1){let r=e.getAttribute(wo);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,c={};if(r!==""){let u=t.get(as,null,{optional:!0});u!==null&&(c=u.get(Sl,[])[Number(r)])}let l={data:c,firstChild:e.firstChild??null};return n&&(l.firstChild=e,Or(l,0,e.nextSibling)),a?e.setAttribute(wo,a):e.removeAttribute(wo),l}function Nh(){Ol=Th}function ls(e,t,n=!1){return Ol(e,t,n)}function Sh(e){let t=e._lView;return t[v].type===2?null:(Vc(t)&&(t=t[R]),t)}function Oh(e){return e.textContent?.replace(/\s/gm,"")}function Ah(e){let t=ln(),n=t.createNodeIterator(e,NodeFilter.SHOW_COMMENT,{acceptNode(i){let s=Oh(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 Or(e,t,n){e.segmentHeads??={},e.segmentHeads[t]=n}function Yo(e,t){return e.segmentHeads?.[t]??null}function Ph(e,t){let n=e.data,r=n[Eh]?.[t]??null;return r===null&&n[cs]?.[t]&&(r=us(e,t)),r}function Al(e,t){return e.data[cs]?.[t]??null}function us(e,t){let n=Al(e,t)??[],r=0;for(let o of n)r+=o[hr]*(o[Nl]??1);return r}function Ar(e,t){if(typeof e.disconnectedNodes>"u"){let n=e.data[Ch];e.disconnectedNodes=n?new Set(n):null}return!!e.disconnectedNodes?.has(t)}var qn=new P(""),Pl=!1,Rl=new P("",{providedIn:"root",factory:()=>Pl}),Rh=new P(""),Wn;function kh(){if(Wn===void 0&&(Wn=null,re.trustedTypes))try{Wn=re.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Wn}function Pr(e){return kh()?.createHTML(e)||e}var Gn;function kl(){if(Gn===void 0&&(Gn=null,re.trustedTypes))try{Gn=re.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Gn}function Ra(e){return kl()?.createHTML(e)||e}function ka(e){return kl()?.createScriptURL(e)||e}var mr=class{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ic})`}};function un(e){return e instanceof mr?e.changingThisBreaksApplicationSecurity:e}function ds(e,t){let n=Lh(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${ic})`)}return n===t}function Lh(e){return e instanceof mr&&e.getTypeName()||null}function Fh(e){let t=new Xo(e);return jh()?new Jo(t):t}var Jo=class{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{let n=new window.DOMParser().parseFromString(Pr(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}},Xo=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=Pr(t),n}};function jh(){try{return!!new window.DOMParser().parseFromString(Pr(""),"text/html")}catch{return!1}}var Vh=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Ll(e){return e=String(e),e.match(Vh)?e:"unsafe:"+e}function Ce(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function dn(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var Fl=Ce("area,br,col,hr,img,wbr"),jl=Ce("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Vl=Ce("rp,rt"),Hh=dn(Vl,jl),$h=dn(jl,Ce("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")),Bh=dn(Vl,Ce("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")),La=dn(Fl,$h,Bh,Hh),Hl=Ce("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Uh=Ce("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"),qh=Ce("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"),Wh=dn(Hl,Uh,qh),Gh=Ce("script,style,template"),Ko=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=Zh(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=Qh(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=Fa(t).toLowerCase();if(!La.hasOwnProperty(n))return this.sanitizedSomething=!0,!Gh.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o"),!0}endElement(t){let n=Fa(t).toLowerCase();La.hasOwnProperty(n)&&!Fl.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(ja(t))}};function zh(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Qh(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw $l(t);return t}function Zh(e){let t=e.firstChild;if(t&&zh(e,t))throw $l(t);return t}function Fa(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function $l(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var Yh=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Jh=/([^\#-~ |!])/g;function ja(e){return e.replace(/&/g,"&").replace(Yh,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(Jh,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}var zn;function Xh(e,t){let n=null;try{zn=zn||Fh(e);let r=t?String(t):"";n=zn.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=zn.getInertBodyElement(r)}while(r!==i);let a=new Ko().sanitizeChildren(Va(n)||n);return Pr(a)}finally{if(n){let r=Va(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function Va(e){return"content"in e&&Kh(e)?e.content:null}function Kh(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Rr=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}(Rr||{});function YC(e){let t=fs();return t?Ra(t.sanitize(Rr.HTML,e)||""):ds(e,"HTML")?Ra(un(e)):Xh(ln(),en(e))}function em(e){let t=fs();return t?t.sanitize(Rr.URL,e)||"":ds(e,"URL")?un(e):Ll(en(e))}function tm(e){let t=fs();if(t)return ka(t.sanitize(Rr.RESOURCE_URL,e)||"");if(ds(e,"ResourceURL"))return ka(un(e));throw new M(904,!1)}function nm(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?tm:em}function JC(e,t,n){return nm(t,n)(e)}function fs(){let e=D();return e&&e[ue].sanitizer}var rm=/^>|^->||--!>|)/g,im="\u200B$1\u200B";function sm(e){return e.replace(rm,t=>t.replace(om,im))}function XC(e){return e.ownerDocument.defaultView}function KC(e){return e.ownerDocument}function am(e){return e.ownerDocument.body}function Bl(e){return e instanceof Function?e():e}function Lt(e){return(e??T(cn)).get(Ml)==="browser"}var ei=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(ei||{}),cm;function ps(e,t){return cm(e,t)}function ht(e,t,n,r,o){if(r!=null){let i,s=!1;me(r)?i=r:De(r)&&(s=!0,r=r[Y]);let a=de(r);e===0&&n!==null?o==null?Gl(t,n,a):gr(t,n,a,o||null,!0):e===1&&n!==null?gr(t,n,a,o||null,!0):e===2?ys(t,a,s):e===3&&t.destroyNode(a),i!=null&&bm(t,e,i,n,o)}}function hs(e,t){return e.createText(t)}function lm(e,t,n){e.setValue(t,n)}function ms(e,t){return e.createComment(sm(t))}function kr(e,t,n){return e.createElement(t,n)}function um(e,t){Ul(e,t),t[Y]=null,t[X]=null}function dm(e,t,n,r,o,i){r[Y]=o,r[X]=t,Fr(e,r,n,1,o,i)}function Ul(e,t){t[ue].changeDetectionScheduler?.notify(1),Fr(e,t,t[A],2,null,null)}function fm(e){let t=e[Wt];if(!t)return Eo(e[v],e);for(;t;){let n=null;if(De(t))n=t[Wt];else{let r=t[j];r&&(n=r)}if(!n){for(;t&&!t[ce]&&t!==e;)De(t)&&Eo(t[v],t),t=t[F];t===null&&(t=e),De(t)&&Eo(t[v],t),n=t&&t[ce]}t=n}}function pm(e,t,n,r){let o=j+r,i=n.length;r>0&&(n[o-1][ce]=t),r0&&(e[n-1][ce]=r[ce]);let i=ir(e,j+t);um(r[v],r);let s=i[be];s!==null&&s.detachView(i[v]),r[F]=null,r[ce]=null,r[g]&=-129}return r}function Lr(e,t){if(!(t[g]&256)){let n=t[A];n.destroyNode&&Fr(e,t,n,3,null,null),fm(t)}}function Eo(e,t){if(t[g]&256)return;let n=b(null);try{t[g]&=-129,t[g]|=256,t[We]&&ua(t[We]),gm(e,t),mm(e,t),t[v].type===1&&t[A].destroy();let r=t[nn];if(r!==null&&me(t[F])){r!==t[F]&&ql(r,t);let o=t[be];o!==null&&o.detachView(e)}mh(t)}finally{b(n)}}function mm(e,t){let n=e.cleanup,r=t[qt];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[qt]=null);let o=t[Ne];if(o!==null){t[Ne]=null;for(let i=0;i-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===$t.None||i===$t.Emulated)return null}return K(r,n)}}function gr(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Gl(e,t,n){e.appendChild(t,n)}function Ha(e,t,n,r,o){r!==null?gr(e,t,n,r,o):Gl(e,t,n)}function ym(e,t,n,r){e.removeChild(t,n,r)}function gs(e,t){return e.parentNode(t)}function Im(e,t){return e.nextSibling(t)}function zl(e,t,n){return Em(e,t,n)}function wm(e,t,n){return e.type&40?K(e,n):null}var Em=wm,$a;function vs(e,t,n,r){let o=Wl(e,r,t),i=t[A],s=r.parent||t[X],a=zl(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;cR&&Kl(e,t,R,!1),fe(s?2:0,o),n(r,o)}finally{Ge(i),fe(s?3:1,o)}}function ru(e,t,n){if(jc(t)){let r=b(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;snull;function Om(e){El(e)?Zl(e):Ah(e)}function Am(){au=Om}function Pm(e,t,n,r){let o=pu(t);o.push(n),e.firstCreatePass&&hu(e).push(r,o.length-1)}function Rm(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Mt()&&(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 Ba(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;let s=t[i];if(s===void 0)continue;r??={};let a,c=It.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let l=i;if(o!==null){if(!o.hasOwnProperty(i))continue;l=o[i]}e===0?Ua(r,n,l,a,c):Ua(r,n,l,a)}return r}function Ua(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 km(e,t,n){let r=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],c=null,l=null;for(let u=r;u0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function $m(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;rn(n)&&Qm(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||fr(n,t),Ye(r,t);let s=n.initialInputs;for(let a=o;a{zt(e.lView)},consumerOnSignalRead(){this.lView[We]=this}}),Iu=100;function wu(e,t=!0,n=0){let r=e[ue],o=r.rendererFactory,i=!1;i||o.begin?.();try{cg(e,n)}catch(s){throw t&&mu(e,s),s}finally{i||(o.end?.(),r.inlineEffectRunner?.flush())}}function cg(e,t){oi(e,t);let n=0;for(;Ki(e);){if(n===Iu)throw new M(103,!1);n++,oi(e,1)}}function lg(e,t,n,r){let o=t[g];if((o&256)===256)return;let i=!1;!i&&t[ue].inlineEffectRunner?.flush(),ts(t);let s=null,a=null;!i&&ug(e)&&(a=og(t),s=ca(a));try{Gc(t),kp(e.bindingStartIndex),n!==null&&nu(e,t,n,2,r);let c=(o&3)===3;if(!i)if(c){let d=e.preOrderCheckHooks;d!==null&&Xn(t,d,null)}else{let d=e.preOrderHooks;d!==null&&Kn(t,d,0,null),go(t,0)}if(dg(t),Eu(t,0),e.contentQueries!==null&&fu(e,t),!i)if(c){let d=e.contentCheckHooks;d!==null&&Xn(t,d)}else{let d=e.contentHooks;d!==null&&Kn(t,d,1),go(t,1)}Mm(e,t);let l=e.components;l!==null&&bu(t,l,0);let u=e.viewQuery;if(u!==null&&ri(2,u,r),!i)if(c){let d=e.viewCheckHooks;d!==null&&Xn(t,d)}else{let d=e.viewHooks;d!==null&&Kn(t,d,2),go(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[mo]){for(let d of t[mo])d();t[mo]=null}i||(t[g]&=-73)}catch(c){throw zt(t),c}finally{a!==null&&(la(a,s),sg(a)),ns()}}function ug(e){return e.type!==2}function Eu(e,t){for(let n=bl(e);n!==null;n=xl(n))for(let r=j;r-1&&(Zt(t,r),ir(n,r))}this._attachedToViewContainer=!1}Lr(this._lView[v],this._lView)}onDestroy(t){zc(this._lView,t)}markForCheck(){bs(this._cdRefInjectingView||this._lView)}detach(){this._lView[g]&=-129}reattach(){Ho(this._lView),this._lView[g]|=128}detectChanges(){this._lView[g]|=1024,wu(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new M(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Ul(this._lView[v],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new M(902,!1);this._appRef=t,Ho(this._lView)}},yr=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=mg;let e=t;return e})(),pg=yr,hg=class extends pg{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=$r(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new Je(o)}};function mg(){return xs(ee(),D())}function xs(e,t){return e.type&4?new hg(t,e,_t(e,t)):null}function xu(e){let t=e[Gt]??[],r=e[F][A];for(let o of t)gg(o,r);e[Gt]=B}function gg(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[hr];for(;n0&&(i.firstChild=e,e=qr(r[hr],e)),n.push(i)}return[e,n]}var Mu=()=>null;function Mg(e,t){let n=e[Gt];return!t||n===null||n.length===0?null:n[0].data[bh]===t?n.shift():(xu(e),null)}function _g(){Mu=Mg}function Jt(e,t){return Mu(e,t)}var wr=class{},ii=class{},Er=class{};function Tg(e){let t=Error(`No component factory found for ${Z(e)}.`);return t[Ng]=e,t}var Ng="ngComponent";var si=class{resolveComponentFactory(t){throw Tg(t)}},Wr=(()=>{let t=class t{};t.NULL=new si;let e=t;return e})(),ai=class{},rM=(()=>{let t=class t{constructor(){this.destroyNode=null}};t.__NG_ELEMENT_ID__=()=>Sg();let e=t;return e})();function Sg(){let e=D(),t=ee(),n=Re(t.index,e);return(De(n)?n:e)[A]}var Og=(()=>{let t=class t{};t.\u0275prov=z({token:t,providedIn:"root",factory:()=>null});let e=t;return e})(),bo={};var qa=new Set;function pn(e){qa.has(e)||(qa.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function Wa(...e){}function Ag(){let e=typeof re.requestAnimationFrame=="function",t=re[e?"requestAnimationFrame":"setTimeout"],n=re[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 le=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 kt(!1),this.onMicrotaskEmpty=new kt(!1),this.onStable=new kt(!1),this.onError=new kt(!1),typeof Zone>"u")throw new M(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=Ag().nativeRequestAnimationFrame,kg(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new M(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new M(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,Pg,Wa,Wa);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)}},Pg={};function Cs(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 Rg(e){e.isCheckStableRunning||e.lastRequestAnimationFrameId!==-1||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(re,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,ci(e),e.isCheckStableRunning=!0,Cs(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),ci(e))}function kg(e){let t=()=>{Rg(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(Lg(a))return n.invokeTask(o,i,s,a);try{return Ga(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),za(e)}},onInvoke:(n,r,o,i,s,a,c)=>{try{return Ga(e),n.invoke(o,i,s,a,c)}finally{e.shouldCoalesceRunChangeDetection&&t(),za(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&(i.change=="microTask"?(e._hasPendingMicrotasks=i.microTask,ci(e),Cs(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 ci(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.lastRequestAnimationFrameId!==-1?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Ga(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function za(e){e._nesting--,Cs(e)}function Lg(e){return!Array.isArray(e)||e.length!==1?!1:e[0].data?.__ignore_ng_zone__===!0}var mt=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(mt||{}),Fg={destroy(){}};function jg(e,t){!t&&pp(jg);let n=t?.injector??T(cn);if(!Lt(n))return Fg;pn("NgAfterNextRender");let r=n.get(Ms),o=r.handler??=new ui,i=t?.phase??mt.MixedReadWrite,s=()=>{o.unregister(c),a()},a=n.get(ss).onDestroy(s),c=fp(n,()=>new li(i,()=>{s(),e()}));return o.register(c),{destroy:s}}var li=class{constructor(t,n){this.phase=t,this.callbackFn=n,this.zone=T(le),this.errorHandler=T(Ze,{optional:!0}),T(wr,{optional:!0})?.notify(1)}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(t){this.errorHandler?.handleError(t)}}},ui=class{constructor(){this.executingCallbacks=!1,this.buckets={[mt.EarlyRead]:new Set,[mt.Write]:new Set,[mt.MixedReadWrite]:new Set,[mt.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()}},Ms=(()=>{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=z({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();function di(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s0&&Jl(e,n,i.join(" "))}}function Wg(e,t,n){let r=e.projection=[];for(let o=0;o{let t=class t{};t.__NG_ELEMENT_ID__=zg;let e=t;return e})();function zg(){let e=ee();return Tu(e,D())}var Qg=_s,_u=class extends Qg{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 Ue(this._hostTNode,this._hostLView)}get parentInjector(){let t=is(this._hostTNode,this._hostLView);if(ll(t)){let n=ur(t,this._hostLView),r=lr(t),o=n[v].data[r+8];return new Ue(o,n)}else return new Ue(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Za(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-j}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Jt(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Yt(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!hp(t),a;if(s)a=n;else{let h=n||{};a=h.index,r=h.injector,o=h.projectableNodes,i=h.environmentInjector||h.ngModuleRef}let c=s?t:new bt(Oe(t)),l=r||this.parentInjector;if(!i&&c.ngModule==null){let y=(s?l:this.parentInjector).get(Ae,null);y&&(i=y)}let u=Oe(c.componentType??{}),d=Jt(this._lContainer,u?.id??null),f=d?.firstChild??null,p=c.create(l,o,f,i);return this.insertImpl(p.hostView,a,Yt(this._hostTNode,d)),p}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(bp(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[F],l=new _u(c,c[X],c[F]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Br(s,o,i,r),t.attachToViewContainerRef(),vc(xo(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Za(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Zt(this._lContainer,n);r&&(ir(xo(this._lContainer),n),Lr(r[v],r))}detach(t){let n=this._adjustIndex(t,-1),r=Zt(this._lContainer,n);return r&&ir(xo(this._lContainer),n)!=null?new Je(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Za(e){return e[ar]}function xo(e){return e[ar]||(e[ar]=[])}function Tu(e,t){let n,r=t[e.index];return me(r)?n=r:(n=du(r,t,null,e),t[e.index]=n,Hr(t,n)),Nu(n,t,e,r),new _u(n,e,t)}function Zg(e,t){let n=e[A],r=n.createComment(""),o=K(t,e),i=gs(n,o);return gr(n,i,r,Im(n,o),!1),r}var Nu=Su,Ts=()=>!1;function Yg(e,t,n){return Ts(e,t,n)}function Su(e,t,n,r){if(e[xe])return;let o;n.type&8?o=de(r):o=Zg(t,n),e[xe]=o}function Jg(e,t,n){if(e[xe]&&e[Gt])return!0;let r=n[J],o=t.index-R;if(!r||dh(t)||Ar(r,o))return!1;let s=Yo(r,o),a=r.data[cs]?.[o],[c,l]=Cg(s,a);return e[xe]=c,e[Gt]=l,!0}function Xg(e,t,n,r){Ts(e,n,t)||Su(e,t,n,r)}function Kg(){Nu=Xg,Ts=Jg}var hi=class e{constructor(t){this.queryList=t,this.matches=null}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},mi=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 l=i[a+1],u=t[-c];for(let d=j;dt.trim())}function cv(e,t,n){e.queries===null&&(e.queries=new vi),e.queries.track(new yi(t,n))}function Ns(e,t){return e.queries.getByIndex(t)}function lv(e,t){let n=e[v],r=Ns(n,t);return r.crossesNgTemplate?Ii(n,e,t,[]):Ou(n,e,r,t)}function uv(e){return Object.getPrototypeOf(e.prototype).constructor}function dv(e){let t=uv(e.type),n=!0,r=[e];for(;t;){let o;if(Pe(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new M(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=Qn(e.inputs),s.inputTransforms=Qn(e.inputTransforms),s.declaredInputs=Qn(e.declaredInputs),s.outputs=Qn(e.outputs);let a=o.hostBindings;a&&gv(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&hv(e,c),l&&mv(e,l),fv(e,o),ff(e.outputs,o.outputs),Pe(o)&&o.data.animation){let u=e.data;u.animation=(u.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Bt(o.hostAttrs,n=Bt(n,o.hostAttrs))}}function Qn(e){return e===yt?{}:e===B?[]:e}function hv(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function mv(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function gv(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function iM(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 Xe=class{},wi=class{};var Ei=class extends Xe{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Dr(this);let o=Mc(t);this._bootstrapComponents=Bl(o.bootstrap),this._r3Injector=yl(t,n,[{provide:Xe,useValue:this},{provide:Wr,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)}},Di=class extends wi{constructor(t){super(),this.moduleType=t}create(t){return new Ei(this.moduleType,t,[])}};var br=class extends Xe{constructor(t){super(),this.componentFactoryResolver=new Dr(this),this.instance=null;let n=new Ut([...t.providers,{provide:Xe,useValue:this},{provide:Wr,useValue:this.componentFactoryResolver}],t.parent||zi(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function vv(e,t,n=null){return new br({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var Au=(()=>{let t=class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Nt(!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=z({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Pu(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function Ss(e,t,n){return e[t]=n}function yv(e,t){return e[t]}function he(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Iv(e,t,n,r){let o=he(e,t,n);return he(e,t+1,r)||o}function hn(e){return(e.flags&32)===32}function wv(e,t,n,r,o,i,s,a,c){let l=t.consts,u=fn(t,e,4,s||null,cr(l,a));cu(t,n,u,cr(l,c)),os(t,u);let d=u.tView=ws(2,u,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l,null);return t.queries!==null&&(t.queries.template(t,u),d.queries=t.queries.embeddedTView(u)),u}function bi(e,t,n,r,o,i,s,a){let c=D(),l=H(),u=e+R,d=l.firstCreatePass?wv(u,l,c,t,n,r,o,i,s):l.data[u];on(d,!1);let f=Ru(l,c,d,e);rs()&&vs(l,c,f,d),Ye(f,c);let p=du(f,c,f,d);return c[u]=p,Hr(c,p),Yg(p,d,c),Zi(d)&&ou(l,c,d),s!=null&&iu(c,d,a),bi}var Ru=ku;function ku(e,t,n,r){return ge(!0),t[A].createComment("")}function Ev(e,t,n,r){let o=t[J],i=!o||Mt()||hn(n)||Ar(o,r);if(ge(i),i)return ku(e,t,n,r);let s=o.data[Dh]?.[r]??null;s!==null&&n.tView!==null&&n.tView.ssrId===null&&(n.tView.ssrId=s);let a=Ur(o,e,t,n);Or(o,r,a);let c=us(o,r);return qr(c,a)}function Dv(){Ru=Ev}function bv(e,t,n,r){let o=D(),i=an();if(he(o,i,t)){let s=H(),a=il();Zm(a,o,e,t,n,r)}return bv}function xv(e,t,n,r){return he(e,an(),n)?t+en(n)+r:ve}function Zn(e,t){return e<<17|t<<2}function Ke(e){return e>>17&32767}function Cv(e){return(e&2)==2}function Mv(e,t){return e&131071|t<<17}function xi(e){return e|2}function xt(e){return(e&131068)>>2}function Co(e,t){return e&-131069|t<<2}function _v(e){return(e&1)===1}function Ci(e){return e|1}function Tv(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Ke(s),c=xt(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||tn(d,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let f=Ke(e[a+1]);e[r+1]=Zn(f,a),f!==0&&(e[f+1]=Co(e[f+1],r)),e[a+1]=Mv(e[a+1],r)}else e[r+1]=Zn(a,0),a!==0&&(e[a+1]=Co(e[a+1],r)),a=r;else e[r+1]=Zn(c,0),a===0?a=r:e[c+1]=Co(e[c+1],r),c=r;l&&(e[r+1]=xi(e[r+1])),Ya(e,u,r,!0),Ya(e,u,r,!1),Nv(t,u,e,r,i),s=Zn(a,c),i?t.classBindings=s:t.styleBindings=s}function Nv(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&tn(i,t)>=0&&(n[r+1]=Ci(n[r+1]))}function Ya(e,t,n,r){let o=e[n+1],i=t===null,s=r?Ke(o):xt(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];Sv(c,t)&&(a=!0,e[s+1]=r?Ci(l):xi(l)),s=r?Ke(l):xt(l)}a&&(e[n+1]=r?xi(o):Ci(o))}function Sv(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?tn(e,t)>=0:!1}var ae={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Ov(e){return e.substring(ae.key,ae.keyEnd)}function Av(e){return Pv(e),Lu(e,Fu(e,0,ae.textEnd))}function Lu(e,t){let n=ae.textEnd;return n===t?-1:(t=ae.keyEnd=Rv(e,ae.key=t,n),Fu(e,t,n))}function Pv(e){ae.key=0,ae.keyEnd=0,ae.value=0,ae.valueEnd=0,ae.textEnd=e.length}function Fu(e,t,n){for(;t32;)t++;return t}function kv(e,t,n){let r=D(),o=an();if(he(r,o,t)){let i=H(),s=il();Fm(i,s,r,e,t,r[A],n,!1)}return kv}function Mi(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";Es(e,n,i[s],s,r)}function Lv(e,t,n){return ju(e,t,n,!1),Lv}function Fv(e,t){return ju(e,t,null,!0),Fv}function sM(e){Vv(Wv,jv,e,!0)}function jv(e,t){for(let n=Av(t);n>=0;n=Lu(t,n))qi(e,Ov(t),!0)}function ju(e,t,n,r){let o=D(),i=H(),s=Xc(2);if(i.firstUpdatePass&&Hu(i,e,s,r),t!==ve&&he(o,s,t)){let a=i.data[ke()];$u(i,a,o,o[A],e,o[s+1]=zv(t,n),r,s)}}function Vv(e,t,n,r){let o=H(),i=Xc(2);o.firstUpdatePass&&Hu(o,null,i,r);let s=D();if(n!==ve&&he(s,i,n)){let a=o.data[ke()];if(Bu(a,r)&&!Vu(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=Oo(c,n||"")),Mi(o,a,s,n,r)}else Gv(o,a,s,s[A],s[i+1],s[i+1]=qv(e,t,n),r,i)}}function Vu(e,t){return t>=e.expandoStartIndex}function Hu(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[ke()],s=Vu(e,n);Bu(i,r)&&t===null&&!s&&(t=!1),t=Hv(o,i,t,r),Tv(o,i,t,n,s,r)}}function Hv(e,t,n,r){let o=Vp(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Mo(null,e,t,n,r),n=Xt(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Mo(o,e,t,n,r),i===null){let c=$v(e,t,r);c!==void 0&&Array.isArray(c)&&(c=Mo(null,e,t,c[1],r),c=Xt(c,t.attrs,r),Bv(e,t,r,c))}else i=Uv(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function $v(e,t,n){let r=n?t.classBindings:t.styleBindings;if(xt(r)!==0)return e[Ke(r)]}function Bv(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[Ke(o)]=r}function Uv(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0;){let c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=u===null,f=n[o+1];f===ve&&(f=d?B:void 0);let p=d?po(f,r):u===r?f:void 0;if(l&&!xr(p)&&(p=po(c,r)),xr(p)&&(a=p,s))return a;let h=e[o+1];o=s?Ke(h):xt(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=po(c,r))}return a}function xr(e){return e!==void 0}function zv(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=Z(un(e)))),e}function Bu(e,t){return(e.flags&(t?8:16))!==0}var _i=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 _o(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function Qv(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 c=e.at(i),l=t[i],u=_o(i,c,i,l,n);if(u!==0){u<0&&e.updateValue(i,l),i++;continue}let d=e.at(s),f=t[a],p=_o(s,d,a,f,n);if(p!==0){p<0&&e.updateValue(s,f),s--,a--;continue}let h=n(i,c),y=n(s,d),N=n(i,l);if(Object.is(N,y)){let _=n(a,f);Object.is(_,h)?(e.swap(i,s),e.updateValue(s,f),a--,s--):e.move(s,i),e.updateValue(i,l),i++;continue}if(r??=new Cr,o??=Ka(e,i,s,n),Ti(e,r,i,N))e.updateValue(i,l),i++,s++;else if(o.has(N))r.set(h,e.detach(i)),s--;else{let _=e.create(i,t[i]);e.attach(i,_),i++,s++}}for(;i<=a;)Xa(e,r,n,i,t[i]),i++}else if(t!=null){let a=t[Symbol.iterator](),c=a.next();for(;!c.done&&i<=s;){let l=e.at(i),u=c.value,d=_o(i,l,i,u,n);if(d!==0)d<0&&e.updateValue(i,u),i++,c=a.next();else{r??=new Cr,o??=Ka(e,i,s,n);let f=n(i,u);if(Ti(e,r,i,f))e.updateValue(i,u),i++,s++,c=a.next();else if(!o.has(f))e.attach(i,e.create(i,u)),i++,s++,c=a.next();else{let p=n(i,l);r.set(p,e.detach(i)),s--}}}for(;!c.done;)Xa(e,r,n,e.length,c.value),c=a.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(a=>{e.destroy(a)})}function Ti(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Xa(e,t,n,r,o){if(Ti(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Ka(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 Cr=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 aM(e,t,n){pn("NgControlFlow");let r=D(),o=an(),i=Ai(r,R+e),s=0;if(he(r,o,t)){let a=b(null);try{if(vu(i,s),t!==-1){let c=Pi(r[v],R+t),l=Jt(i,c.tView.ssrId),u=$r(r,c,n,{dehydratedView:l});Br(i,u,s,Yt(c,l))}}finally{b(a)}}else{let a=gu(i,s);a!==void 0&&(a[V]=n)}}var Ni=class{constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-j}};function cM(e){return e}var Si=class{constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function lM(e,t,n,r,o,i,s,a,c,l,u,d,f){pn("NgControlFlow");let p=c!==void 0,h=D(),y=a?s.bind(h[G][V]):s,N=new Si(p,y);h[R+e]=N,bi(e+1,t,n,r,o,i),p&&bi(e+2,c,l,u,d,f)}var Oi=class extends _i{constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-j}at(t){return this.getLView(t)[V].$implicit}attach(t,n){let r=n[J];this.needsIndexUpdate||=t!==this.length,Br(this.lContainer,n,t,Yt(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,Zv(this.lContainer,t)}create(t,n){let r=Jt(this.lContainer,this.templateTNode.tView.ssrId);return $r(this.hostLView,this.templateTNode,new Ni(this.lContainer,n,t),{dehydratedView:r})}destroy(t){Lr(t[v],t)}updateValue(t,n){this.getLView(t)[V].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t(ge(!0),kr(r,o,sl()));function Kv(e,t,n,r,o,i){let s=t[J],a=!s||Mt()||hn(n)||Ar(s,i);if(ge(a),a)return kr(r,o,sl());let c=Ur(s,e,t,n);return Al(s,i)&&Or(s,i,c.nextSibling),s&&(wl(n)||El(c))&&rn(n)&&(Op(n),Zl(c)),c}function ey(){Wu=Kv}var ty=(e,t,n,r)=>(ge(!0),ms(t[A],""));function ny(e,t,n,r){let o,i=t[J],s=!i||Mt()||hn(n);if(ge(s),s)return ms(t[A],"");let a=Ur(i,e,t,n),c=Ph(i,r);return Or(i,r,a),o=qr(c,a),o}function ry(){ty=ny}function dM(){return D()}var Be=void 0;function oy(e){let t=e,n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return n===1&&r===0?1:5}var iy=["en",[["a","p"],["AM","PM"],Be],[["AM","PM"],Be,Be],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Be,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Be,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Be,"{1} 'at' {0}",Be],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",oy],jt={};function fM(e,t,n){typeof t!="string"&&(n=t,t=e[Ri.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),jt[t]=e,n&&(jt[t][Ri.ExtraData]=n)}function pM(e){let t=sy(e),n=ec(t);if(n)return n;let r=t.split("-")[0];if(n=ec(r),n)return n;if(r==="en")return iy;throw new M(701,!1)}function ec(e){return e in jt||(jt[e]=re.ng&&re.ng.common&&re.ng.common.locales&&re.ng.common.locales[e]),jt[e]}var Ri=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(Ri||{});function sy(e){return e.toLowerCase().replace(/_/g,"-")}var Mr="en-US";var ay=Mr;function cy(e){typeof e=="string"&&(ay=e.toLowerCase().replace(/_/g,"-"))}function Gu(e,t,n){let r=e[A];switch(n){case Node.COMMENT_NODE:return ms(r,t);case Node.TEXT_NODE:return hs(r,t);case Node.ELEMENT_NODE:return kr(r,t,null)}}var ly=(e,t,n,r)=>(ge(!0),Gu(e,n,r));function uy(e,t,n,r){return ge(!0),Gu(e,n,r)}function dy(){ly=uy}function fy(e,t,n,r){let o=D(),i=H(),s=ee();return hy(i,o,o[A],s,e,t,r),fy}function py(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;ic?a[c]:null}typeof s=="string"&&(i+=2)}return null}function hy(e,t,n,r,o,i,s){let a=Zi(r),l=e.firstCreatePass&&hu(e),u=t[V],d=pu(t),f=!0;if(r.type&3||s){let y=K(r,t),N=s?s(y):y,_=d.length,te=s?ye=>s(de(ye[r.index])):r.index,U=null;if(!s&&a&&(U=py(e,t,o,r.index)),U!==null){let ye=U.__ngLastListenerFn__||U;ye.__ngNextListenerFn__=i,U.__ngLastListenerFn__=i,f=!1}else{i=nc(r,t,u,i,!1);let ye=n.listen(N,o,i);d.push(i,ye),l&&l.push(o,te,_,_+1)}}else i=nc(r,t,u,i,!1);let p=r.outputs,h;if(f&&p!==null&&(h=p[o])){let y=h.length;if(y)for(let N=0;N-1?Re(e.index,t):t;bs(a);let c=tc(t,n,r,s),l=i.__ngNextListenerFn__;for(;l;)c=tc(t,n,l,s)&&c,l=l.__ngNextListenerFn__;return o&&c===!1&&s.preventDefault(),c}}function hM(e=1){return $p(e)}function my(e,t){let n=null,r=qf(e);for(let o=0;o=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function wM(e){let t=Rp();return Ji(t,R+e)}function EM(e,t=""){let n=D(),r=H(),o=e+R,i=r.firstCreatePass?fn(r,o,1,t,null):r.data[o],s=zu(r,n,i,t,e);n[o]=s,rs()&&vs(r,n,s,i),on(i,!1)}var zu=(e,t,n,r,o)=>(ge(!0),hs(t[A],r));function vy(e,t,n,r,o){let i=t[J],s=!i||Mt()||hn(n)||Ar(i,o);return ge(s),s?hs(t[A],r):Ur(i,e,t,n)}function yy(){zu=vy}function Iy(e){return Qu("",e,""),Iy}function Qu(e,t,n){let r=D(),o=xv(r,e,t,n);return o!==ve&&Km(r,ke(),o),Qu}function wy(e,t,n){let r=H();if(r.firstCreatePass){let o=Pe(e);ki(n,r.data,r.blueprint,o,!0),ki(t,r.data,r.blueprint,o,!1)}}function ki(e,t,n,r,o){if(e=$(e),Array.isArray(e))for(let i=0;i>20;if(wt(e)||!e.multi){let p=new ze(l,o,jr),h=No(c,t,o?u:u+f,d);h===-1?(Uo(fr(a,s),i,c),To(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(p),s.push(p)):(n[h]=p,s[h]=p)}else{let p=No(c,t,u+f,d),h=No(c,t,u,u+f),y=p>=0&&n[p],N=h>=0&&n[h];if(o&&!N||!o&&!y){Uo(fr(a,s),i,c);let _=by(o?Dy:Ey,n.length,o,r,l);!o&&N&&(n[h].providerFactory=_),To(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(_),s.push(_)}else{let _=Zu(n[o?h:p],l,!o&&r);To(i,e,p>-1?p:h,_)}!o&&r&&N&&n[h].componentProviders++}}}function To(e,t,n,r){let o=wt(t),i=ip(t);if(o||i){let c=(i?$(t.useClass):t).prototype.ngOnDestroy;if(c){let l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let u=l.indexOf(n);u===-1?l.push(n,[r,c]):l[u+1].push(r,c)}else l.push(n,c)}}}function Zu(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function No(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>wy(r,o?o(e):e,t)}}var xy=(()=>{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=Sc(!1,r.type),i=o.length>0?vv([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=z({token:t,providedIn:"environment",factory:()=>new t(Se(Ae))});let e=t;return e})();function bM(e){pn("NgStandalone"),e.getStandaloneInjector=t=>t.get(xy).getOrCreateStandaloneInjector(e)}function xM(e,t,n){let r=sn()+e,o=D();return o[r]===ve?Ss(o,r,n?t.call(n):t()):yv(o,r)}function CM(e,t,n,r){return Ju(D(),sn(),e,t,n,r)}function MM(e,t,n,r,o){return Xu(D(),sn(),e,t,n,r,o)}function Yu(e,t){let n=e[t];return n===ve?void 0:n}function Ju(e,t,n,r,o,i){let s=t+n;return he(e,s,o)?Ss(e,s+1,i?r.call(i,o):r(o)):Yu(e,s+1)}function Xu(e,t,n,r,o,i,s){let a=t+n;return Iv(e,a,o,i)?Ss(e,a+2,s?r.call(s,o,i):r(o,i)):Yu(e,a+2)}function _M(e,t){let n=H(),r,o=e+R;n.firstCreatePass?(r=Cy(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=qe(r.type,!0)),s,a=W(jr);try{let c=dr(!1),l=i();return dr(c),gy(n,D(),o,l),l}finally{W(a)}}function Cy(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function TM(e,t,n){let r=e+R,o=D(),i=Ji(o,r);return Ku(o,r)?Ju(o,sn(),t,i.transform,n,i):i.transform(n)}function NM(e,t,n,r){let o=e+R,i=D(),s=Ji(i,o);return Ku(i,o)?Xu(i,sn(),t,s.transform,n,r,s):s.transform(n,r)}function Ku(e,t){return e[v].data[t].pure}var SM=(()=>{let t=class t{log(r){console.log(r)}warn(r){console.warn(r)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=z({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})();var My=new P("");function ed(e){return!!e&&typeof e.then=="function"}function _y(e){return!!e&&typeof e.subscribe=="function"}var Ty=new P(""),td=(()=>{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=T(Ty,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let r=[];for(let i of this.appInits){let s=i();if(ed(s))r.push(s);else if(_y(s)){let a=new Promise((c,l)=>{s.subscribe({complete:c,error:l})});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=z({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),nd=new P("");function Ny(){ha(()=>{throw new M(600,!1)})}function Sy(e){return e.isBoundToModule}function Oy(e,t,n){try{let r=n();return ed(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var Os=(()=>{let t=class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=T(Il),this.afterRenderEffectManager=T(Ms),this.externalTestViews=new Set,this.beforeRender=new ne,this.afterTick=new ne,this.componentTypes=[],this.components=[],this.isStable=T(Au).hasPendingTasks.pipe(we(r=>!r)),this._injector=T(Ae)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,o){let i=r instanceof Er;if(!this._injector.get(td).done){let p=!i&&Kf(r),h=!1;throw new M(405,h)}let a;i?a=r:a=this._injector.get(Wr).resolveComponentFactory(r),this.componentTypes.push(a.componentType);let c=Sy(a)?void 0:this._injector.get(Xe),l=o||a.selector,u=a.create(cn.NULL,[],l,c),d=u.location.nativeElement,f=u.injector.get(My,null);return f?.registerApplication(d),u.onDestroy(()=>{this.detachView(u.hostView),So(this.components,u),f?.unregisterApplication(d)}),this._loadComponent(u),u}tick(){this._tick(!0)}_tick(r){if(this._runningTick)throw new M(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===Iu)throw new M(103,!1);if(r){let s=o===0;this.beforeRender.next(s);for(let{_lView:a,notifyErrorHandler:c}of this._views)Py(a,s,c)}if(o++,i.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>Fi(s))&&(i.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>Fi(s))))break}}attachView(r){let o=r;this._views.push(o),o.attachToAppRef(this)}detachView(r){let o=r;So(this._views,o),o.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);let o=this._injector.get(nd,[]);[...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),()=>So(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new M(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=z({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function So(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var Yn;function Ay(e){Yn??=new WeakMap;let t=Yn.get(e);if(t)return t;let n=e.isStable.pipe(so(r=>r)).toPromise().then(()=>{});return Yn.set(e,n),e.onDestroy(()=>Yn?.delete(e)),n}function Py(e,t,n){!t&&!Fi(e)||Ry(e,n,t)}function Fi(e){return Ki(e)}function Ry(e,t,n){let r;n?(r=0,e[g]|=1024):e[g]&64?r=0:r=1,wu(e,t,r)}var ji=class{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},OM=(()=>{let t=class t{compileModuleSync(r){return new Di(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){let o=this.compileModuleSync(r),i=Mc(r),s=Bl(i.declarations).reduce((a,c)=>{let l=Oe(c);return l&&a.push(new bt(l)),a},[]);return new ji(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=z({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var ky=(()=>{let t=class t{constructor(){this.zone=T(le),this.applicationRef=T(Os)}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=z({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Ly(e){return[{provide:le,useFactory:e},{provide:Ht,multi:!0,useFactory:()=>{let t=T(ky,{optional:!0});return()=>t.initialize()}},{provide:Ht,multi:!0,useFactory:()=>{let t=T(Hy);return()=>{t.initialize()}}},{provide:Il,useFactory:Fy}]}function Fy(){let e=T(le),t=T(Ze);return n=>e.runOutsideAngular(()=>t.handleError(n))}function jy(e){let t=Ly(()=>new le(Vy(e)));return Nc([[],t])}function Vy(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var Hy=(()=>{let t=class t{constructor(){this.subscription=new k,this.initialized=!1,this.zone=T(le),this.pendingTasks=T(Au)}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(()=>{le.assertNotInAngularZone(),queueMicrotask(()=>{r!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(r),r=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{le.assertInAngularZone(),r??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=z({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function $y(){return typeof $localize<"u"&&$localize.locale||Mr}var rd=new P("",{providedIn:"root",factory:()=>T(rd,x.Optional|x.SkipSelf)||$y()});var od=new P("");var nr=null;function By(e=[],t){return cn.create({name:t,providers:[{provide:Pc,useValue:"platform"},{provide:od,useValue:new Set([()=>nr=null])},...e]})}function Uy(e=[]){if(nr)return nr;let t=By(e);return nr=t,Ny(),qy(t),t}function qy(e){e.get(yh,null)?.forEach(n=>n())}var AM=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=Wy;let e=t;return e})();function Wy(e){return Gy(ee(),D(),(e&16)===16)}function Gy(e,t,n){if(rn(e)&&!n){let r=Re(e.index,t);return new Je(r,r)}else if(e.type&47){let r=t[G];return new Je(r,t)}return null}var Vi=class{constructor(){}supports(t){return t instanceof Map||Pu(t)}create(){return new Hi}},Hi=class{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(t){let n;for(n=this._mapHead;n!==null;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;n!==null;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;n!==null;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}diff(t){if(!t)t=new Map;else if(!(t instanceof Map||Pu(t)))throw new M(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){let r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){let o=this._records.get(t);this._maybeAddToChanges(o,n);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new $i(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;t!==null;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;t!=null;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){this._additionsHead===null?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){this._changesHead===null?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}},$i=class{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}};function rc(){return new zy([new Vi])}var zy=(()=>{let t=class t{constructor(r){this.factories=r}static create(r,o){if(o){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||rc()),deps:[[t,new Af,new Of]]}}find(r){let o=this.factories.find(i=>i.supports(r));if(o)return o;throw new M(901,!1)}};t.\u0275prov=z({token:t,providedIn:"root",factory:rc});let e=t;return e})();function PM(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=Uy(r),i=[jy(),...n||[]],a=new br({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,c=a.get(le);return c.run(()=>{a.resolveInjectorInitializers();let l=a.get(Ze,null),u;c.runOutsideAngular(()=>{u=c.onError.subscribe({next:p=>{l.handleError(p)}})});let d=()=>a.destroy(),f=o.get(od);return f.add(d),a.onDestroy(()=>{u.unsubscribe(),f.delete(d)}),Oy(l,c,()=>{let p=a.get(td);return p.runInitializers(),p.donePromise.then(()=>{let h=a.get(rd,Mr);cy(h||Mr);let y=a.get(Os);return t!==void 0&&y.bootstrap(t),y})})})}catch(t){return Promise.reject(t)}}var oc=!1,Qy=!1;function Zy(){oc||(oc=!0,Nh(),ey(),yy(),ry(),Dv(),Kg(),_g(),Am(),dy())}function Yy(e,t){return Ay(e)}function RM(){return Nc([{provide:qn,useFactory:()=>{let e=!0;return Lt()&&(e=!!T(as,{optional:!0})?.get(Sl,null)),e&&pn("NgHydration"),e}},{provide:Ht,useValue:()=>{Qy=!!T(Rh,{optional:!0}),Lt()&&T(qn)&&(Jy(),Zy())},multi:!0},{provide:Rl,useFactory:()=>Lt()&&T(qn)},{provide:nd,useFactory:()=>{if(Lt()&&T(qn)){let e=T(Os),t=T(cn);return()=>{Yy(e,t).then(()=>{yg(e)})}}return()=>{}},multi:!0}])}function Jy(){let e=ln(),t;for(let n of e.body.childNodes)if(n.nodeType===Node.COMMENT_NODE&&n.textContent?.trim()===_h){t=n;break}if(!t)throw new M(-507,!1)}function kM(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function LM(e){let t=Oe(e);if(!t)return null;let n=new bt(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}}}export{k as a,ud as b,C as c,no as d,ro as e,ne as f,Nt as g,At as h,_e as i,Td as j,Nd as k,Sd as l,He as m,we as n,Ld as o,Ee as p,oo as q,jn as r,jd as s,Vd as t,to as u,$e as v,ra as w,Hd as x,$d as y,Pt as z,io as A,Bd as B,qd as C,so as D,ao as E,Wd as F,Gd as G,zd as H,Qd as I,Zd as J,Yd as K,Jd as L,Xd as M,M as N,Z as O,lc as P,z as Q,RC as R,kC as S,P as T,x as U,Se as V,T as W,Of as X,Af as Y,$t as Z,It as _,LC as $,FC as aa,jC as ba,VC as ca,Nc as da,tp as ea,Pc as fa,Ae as ga,fp as ha,pp as ia,mp as ja,HC as ka,$C as la,BC as ma,UC as na,qC as oa,WC as pa,cn as qa,Ze as ra,ss as sa,GC as ta,Sr as ua,kt as va,zC as wa,gh as xa,yh as ya,Ml as za,QC as Aa,ZC as Ba,as as Ca,YC as Da,em as Ea,JC as Fa,XC as Ga,KC as Ha,ei as Ia,eM as Ja,jr as Ka,tM as La,yr as Ma,wr as Na,ai as Oa,rM as Pa,pn as Qa,le as Ra,jg as Sa,_s as Ta,dv as Ua,iM as Va,wi as Wa,vv as Xa,Au as Ya,bi as Za,bv as _a,kv as $a,Lv as ab,Fv as bb,sM as cb,aM as db,cM as eb,lM as fb,uM as gb,Uu as hb,qu as ib,Xv as jb,dM as kb,fM as lb,pM as mb,Ri as nb,fy as ob,hM as pb,mM as qb,gM as rb,vM as sb,yM as tb,IM as ub,wM as vb,EM as wb,Iy as xb,Qu as yb,DM as zb,bM as Ab,xM as Bb,CM as Cb,MM as Db,_M as Eb,TM as Fb,NM as Gb,SM as Hb,ed as Ib,Ty as Jb,nd as Kb,Os as Lb,Ay as Mb,OM as Nb,rd as Ob,AM as Pb,zy as Qb,PM as Rb,RM as Sb,kM as Tb,LM as Ub};