UNPKG

homebridge-config-ui-x

Version:

A web based management, configuration and control platform for Homebridge.

5 lines 301 kB
import{a as E$1,l as z$1,o as w$1,s as x$1,t as A$1}from"./chunk-D39XL-zh.js";function T(e){return typeof e==`function`}function Mr(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var ts=Mr(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 On(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var ue=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(T(r))try{r()}catch(i){t=i instanceof ts?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Pf(i)}catch(s){t=t??[],s instanceof ts?t=[...t,...s.errors]:t.push(s)}}if(t)throw new ts(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Pf(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)&&On(n,t)}remove(t){let{_finalizers:n}=this;n&&On(n,t),t instanceof e&&t._removeParent(this)}};ue.EMPTY=(()=>{let e=new ue;return e.closed=!0,e})();var Uc=ue.EMPTY;function ns(e){return e instanceof ue||e&&`closed`in e&&T(e.remove)&&T(e.add)&&T(e.unsubscribe)}function Pf(e){T(e)?e():e.unsubscribe()}var it={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Nr={setTimeout(e,t,...n){let{delegate:r}=Nr;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Nr;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function rs(e){Nr.setTimeout(()=>{let{onUnhandledError:t}=it;if(t)t(e);else throw e})}function Pt(){}var jf=zc(`C`,void 0,void 0);function Bf(e){return zc(`E`,void 0,e)}function Vf(e){return zc(`N`,e,void 0)}function zc(e,t,n){return{kind:e,value:t,error:n}}var kn=null;function xr(e){if(it.useDeprecatedSynchronousErrorHandling){let t=!kn;if(t&&(kn={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=kn;if(kn=null,n)throw r}}else e()}function Hf(e){it.useDeprecatedSynchronousErrorHandling&&kn&&(kn.errorThrown=!0,kn.error=e)}var Fn=class extends ue{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,ns(t)&&t.add(this)):this.destination=xD}static create(t,n,r){return new st(t,n,r)}next(t){this.isStopped?Wc(Vf(t),this):this._next(t)}error(t){this.isStopped?Wc(Bf(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Wc(jf,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()}}};var MD=Function.prototype.bind;function Gc(e,t){return MD.call(e,t)}var qc=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){os(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){os(r)}else os(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){os(n)}}};var st=class extends Fn{constructor(t,n,r){super();let o;if(T(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&it.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Gc(t.next,i),error:t.error&&Gc(t.error,i),complete:t.complete&&Gc(t.complete,i)}):o=t}this.destination=new qc(o)}};function os(e){it.useDeprecatedSynchronousErrorHandling?Hf(e):rs(e)}function ND(e){throw e}function Wc(e,t){let{onStoppedNotification:n}=it;n&&Nr.setTimeout(()=>n(e,t))}var xD={closed:!0,next:Pt,error:ND,complete:Pt};var Ar=typeof Symbol==`function`&&Symbol.observable||`@@observable`;function we(e){return e}function AD(...e){return Zc(e)}function Zc(e){return e.length===0?we:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var S=class e{constructor(t){t&&(this._subscribe=t)}lift(t){let n=new e;return n.source=this,n.operator=t,n}subscribe(t,n,r){let o=OD(t)?t:new st(t,n,r);return xr(()=>{let{operator:i,source:s}=this;o.add(i?i.call(o,s):s?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(t){try{return this._subscribe(t)}catch(n){t.error(n)}}forEach(t,n){return n=$f(n),new n((r,o)=>{let i=new st({next:s=>{try{t(s)}catch(a){o(a),i.unsubscribe()}},error:o,complete:r});this.subscribe(i)})}_subscribe(t){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(t)}[Ar](){return this}pipe(...t){return Zc(t)(this)}toPromise(t){return t=$f(t),new t((n,r)=>{let o;this.subscribe(i=>o=i,i=>r(i),()=>n(o))})}};S.create=e=>new S(e);function $f(e){var t;return(t=e??it.Promise)!==null&&t!==void 0?t:Promise}function RD(e){return e&&T(e.next)&&T(e.error)&&T(e.complete)}function OD(e){return e&&e instanceof Fn||RD(e)&&ns(e)}var Uf=Mr(e=>function(){e(this),this.name=`ObjectUnsubscribedError`,this.message=`object unsubscribed`});var P=class extends S{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){let n=new is(this,this);return n.operator=t,n}_throwIfClosed(){if(this.closed)throw new Uf}next(t){xr(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(t)}})}error(t){xr(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;let{observers:n}=this;for(;n.length;)n.shift().error(t)}})}complete(){xr(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return((t=this.observers)===null||t===void 0?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){let{hasError:n,isStopped:r,observers:o}=this;return n||r?Uc:(this.currentObservers=null,o.push(t),new ue(()=>{this.currentObservers=null,On(o,t)}))}_checkFinalizedStatuses(t){let{hasError:n,thrownError:r,isStopped:o}=this;n?t.error(r):o&&t.complete()}asObservable(){let t=new S;return t.source=this,t}};P.create=(e,t)=>new is(e,t);var is=class extends P{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:Uc}};var jt=Mr(e=>function(){e(this),this.name=`EmptyError`,this.message=`no elements in sequence`});function Ln(e,t){let n=typeof t==`object`;return new Promise((r,o)=>{let i=new st({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{n?r(t.defaultValue):o(new jt)}});e.subscribe(i)})}function kD(e){return T(e?.lift)}function A(e){return t=>{if(kD(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 N(e,t,n,r,o){return new Yc(e,t,n,r,o)}var Yc=class extends Fn{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 pe(e,t){return A((n,r)=>{let o=0;n.subscribe(N(r,i=>{r.next(e.call(t,i,o++))}))})}var ss=class extends ue{constructor(t,n){super()}schedule(t,n=0){return this}};var bo={setInterval(e,t,...n){let{delegate:r}=bo;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=bo;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var Rr=class extends ss{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(t,n,r=0){return bo.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return n;n!=null&&bo.clearInterval(n)}execute(t,n){if(this.closed)return new Error(`executing a cancelled action`);this.pending=!1;let r=this._execute(t,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let r=!1,o;try{this.work(t)}catch(i){r=!0,o=i||new Error(`Scheduled action threw falsy error`)}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,On(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var To={now(){return(To.delegate||Date).now()},delegate:void 0};var Kc=(()=>{class e{constructor(n,r=e.now){this.schedulerActionCtor=n,this.now=r}schedule(n,r=0,o){return new this.schedulerActionCtor(this,n).schedule(o,r)}}return e.now=To.now,e})();var Or=class extends Kc{constructor(t,n=Kc.now){super(t,n),this.actions=[],this._active=!1}flush(t){let{actions:n}=this;if(this._active){n.push(t);return}let r;this._active=!0;do if(r=t.execute(t.state,t.delay))break;while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}};var Bt=new Or(Rr);var zf=Bt;function as(e){return e&&T(e.schedule)}function Gf(e){return e instanceof Date&&!isNaN(e)}function Pn(e=0,t,n=zf){let r=-1;return t!=null&&(as(t)?n=t:r=t),new S(o=>{let i=Gf(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function FD(e=0,t=Bt){return e<0&&(e=0),Pn(e,e,t)}function Wf(e,t=Bt){return A((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let u=i;i=null,r.next(u)}};function c(){let u=s+e,l=t.now();if(l<u){o=this.schedule(void 0,u-l),r.add(o);return}a()}n.subscribe(N(r,u=>{i=u,s=t.now(),o||(o=t.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function qf(e,t=we){return e=e??LD,A((n,r)=>{let o,i=!0;n.subscribe(N(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function LD(e,t){return e===t}function Yf(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(l){try{u(r.next(l))}catch(d){s(d)}}function c(l){try{u(r.throw(l))}catch(d){s(d)}}function u(l){l.done?i(l.value):o(l.value).then(a,c)}u((r=r.apply(e,t||[])).next())})}function Zf(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 jn(e){return this instanceof jn?(this.v=e,this):new jn(e)}function Kf(e,t,n){if(!Symbol.asyncIterator)throw new TypeError(`Symbol.asyncIterator is not defined.`);var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator==`function`?AsyncIterator:Object).prototype),a(`next`),a(`throw`),a(`return`,s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(h){return Promise.resolve(h).then(f,d)}}function a(f,h){r[f]&&(o[f]=function(y){return new Promise(function(v,D){i.push([f,y,v,D])>1||c(f,y)})},h&&(o[f]=h(o[f])))}function c(f,h){try{u(r[f](h))}catch(y){p(i[0][3],y)}}function u(f){f.value instanceof jn?Promise.resolve(f.value.v).then(l,d):p(i[0][2],f)}function l(f){c(`next`,f)}function d(f){c(`throw`,f)}function p(f,h){f(h),i.shift(),i.length&&c(i[0][0],i[0][1])}}function Qf(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 Zf==`function`?Zf(e):e[Symbol.iterator](),n={},r(`next`),r(`throw`),r(`return`),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(u){i({value:u,done:a})},s)}}var kr=(e=>e&&typeof e.length==`number`&&typeof e!=`function`);function cs(e){return T(e?.then)}function us(e){return T(e[Ar])}function ls(e){return Symbol.asyncIterator&&T(e?.[Symbol.asyncIterator])}function ds(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 fs=PD();function ps(e){return T(e?.[fs])}function hs(e){return Kf(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield jn(n.read());if(o)return yield jn(void 0);yield yield jn(r)}}finally{n.releaseLock()}})}function gs(e){return T(e?.getReader)}function k(e){if(e instanceof S)return e;if(e!=null){if(us(e))return jD(e);if(kr(e))return BD(e);if(cs(e))return VD(e);if(ls(e))return Xf(e);if(ps(e))return HD(e);if(gs(e))return $D(e)}throw ds(e)}function jD(e){return new S(t=>{let n=e[Ar]();if(T(n.subscribe))return n.subscribe(t);throw new TypeError(`Provided object does not correctly implement Symbol.observable`)})}function BD(e){return new S(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function VD(e){return new S(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,rs)})}function HD(e){return new S(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Xf(e){return new S(t=>{UD(e,t).catch(n=>t.error(n))})}function $D(e){return Xf(hs(e))}function UD(e,t){var n,r,o,i;return Yf(this,void 0,void 0,function*(){try{for(n=Qf(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 Re(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 Jf(e,t,n,r,o,i,s,a){let c=[],u=0,l=0,d=!1,p=()=>{d&&!c.length&&!u&&t.complete()},f=y=>u<r?h(y):c.push(y),h=y=>{i&&t.next(y),u++;let v=!1;k(n(y,l++)).subscribe(N(t,D=>{o?.(D),i?f(D):t.next(D)},()=>{v=!0},void 0,()=>{if(v)try{for(u--;c.length&&u<r;){let D=c.shift();s?Re(t,s,()=>h(D)):h(D)}p()}catch(D){t.error(D)}}))};return e.subscribe(N(t,f,()=>{d=!0,p()})),()=>{a?.()}}function at(e,t,n=Infinity){return T(t)?at((r,o)=>pe((i,s)=>t(r,i,o,s))(k(e(r,o))),n):(typeof t==`number`&&(n=t),A((r,o)=>Jf(r,o,e,n)))}function _o(e=Infinity){return at(we,e)}function ep(){return _o(1)}function Qc(e){return e[e.length-1]}function an(e){return T(Qc(e))?e.pop():void 0}function Ct(e){return as(Qc(e))?e.pop():void 0}function tp(e,t){return typeof Qc(e)==`number`?e.pop():t}function ms(e,t=0){return A((n,r)=>{n.subscribe(N(r,o=>Re(r,e,()=>r.next(o),t),()=>Re(r,e,()=>r.complete(),t),o=>Re(r,e,()=>r.error(o),t)))})}function ys(e,t=0){return A((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function np(e,t){return k(e).pipe(ys(t),ms(t))}function rp(e,t){return k(e).pipe(ys(t),ms(t))}function op(e,t){return new S(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function ip(e,t){return new S(n=>{let r;return Re(n,t,()=>{r=e[fs](),Re(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)}),()=>T(r?.return)&&r.return()})}function vs(e,t){if(!e)throw new Error(`Iterable cannot be null`);return new S(n=>{Re(n,t,()=>{let r=e[Symbol.asyncIterator]();Re(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function sp(e,t){return vs(hs(e),t)}function ap(e,t){if(e!=null){if(us(e))return np(e,t);if(kr(e))return op(e,t);if(cs(e))return rp(e,t);if(ls(e))return vs(e,t);if(ps(e))return ip(e,t);if(gs(e))return sp(e,t)}throw ds(e)}function bt(e,t){return t?ap(e,t):k(e)}function ct(...e){return ep()(bt(e,Ct(e)))}function cp(...e){let t=Ct(e);return A((n,r)=>{(t?ct(e,n,t):ct(e,n)).subscribe(r)})}var Fr={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame,{delegate:r}=Fr;r&&(t=r.requestAnimationFrame,n=r.cancelAnimationFrame);let o=t(i=>{n=void 0,e(i)});return new ue(()=>n?.(o))},requestAnimationFrame(...e){let{delegate:t}=Fr;return(t?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){let{delegate:t}=Fr;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};var So=class extends P{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 Lr=class extends P{constructor(t=Infinity,n=Infinity,r=To){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===Infinity,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<Infinity&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};var Ds=class extends Rr{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,r=0){return r!==null&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=Fr.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,n,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);let{actions:i}=t;n!=null&&n===t._scheduled&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&(Fr.cancelAnimationFrame(n),t._scheduled=void 0)}};var Es=class extends Or{flush(t){this._active=!0;let n;t?n=t.id:(n=this._scheduled,this._scheduled=void 0);let{actions:r}=this,o;t=t||r.shift();do if(o=t.execute(t.state,t.delay))break;while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}};var zD=new Es(Ds);var Ue=new S(e=>e.complete());function ze(...e){return bt(e,Ct(e))}function GD(e,t){let n=T(e)?e:()=>e,r=o=>o.error(n());return new S(t?o=>t.schedule(r,0,o):r)}function Bn(e){return!!e&&(e instanceof S||T(e.lift)&&T(e.subscribe))}function WD(e,t){let n=typeof t==`object`;return new Promise((r,o)=>{let i=!1,s;e.subscribe({next:a=>{s=a,i=!0},error:o,complete:()=>{i?r(s):n?r(t.defaultValue):o(new jt)}})})}var{isArray:qD}=Array;function ZD(e,t){return qD(t)?e(...t):e(t)}function Pr(e){return pe(t=>ZD(e,t))}var{isArray:YD}=Array,{getPrototypeOf:KD,prototype:QD,keys:XD}=Object;function Is(e){if(e.length===1){let t=e[0];if(YD(t))return{args:t,keys:null};if(JD(t)){let n=XD(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function JD(e){return e&&typeof e==`object`&&KD(e)===QD}function ws(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function eE(...e){let t=Ct(e),n=an(e),{args:r,keys:o}=Is(e);if(r.length===0)return bt([],t);let i=new S(tE(r,t,o?s=>ws(o,s):we));return n?i.pipe(Pr(n)):i}function tE(e,t,n=we){return r=>{up(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)up(t,()=>{let u=bt(e[c],t),l=!1;u.subscribe(N(r,d=>{i[c]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function up(e,t,n){e?Re(n,e,t):t()}function Cs(e){return new S(t=>{k(e()).subscribe(t)})}function Xc(...e){let t=an(e),{args:n,keys:r}=Is(e),o=new S(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,u=s;for(let l=0;l<s;l++){let d=!1;k(n[l]).subscribe(N(i,p=>{d||(d=!0,u--),a[l]=p},()=>c--,void 0,()=>{(!c||!d)&&(u||i.next(r?ws(r,a):a),i.complete())}))}});return t?o.pipe(Pr(t)):o}var nE=[`addListener`,`removeListener`];var rE=[`addEventListener`,`removeEventListener`];var oE=[`on`,`off`];function Jc(e,t,n,r){if(T(n)&&(r=n,n=void 0),r)return Jc(e,t,n).pipe(Pr(r));let[o,i]=aE(e)?rE.map(s=>a=>e[s](t,a,n)):iE(e)?nE.map(lp(e,t)):sE(e)?oE.map(lp(e,t)):[];if(!o&&kr(e))return at(s=>Jc(s,t,n))(k(e));if(!o)throw new TypeError(`Invalid event target`);return new S(s=>{let a=(...c)=>s.next(1<c.length?c:c[0]);return o(a),()=>i(a)})}function lp(e,t){return n=>r=>e[n](t,r)}function iE(e){return T(e.addListener)&&T(e.removeListener)}function sE(e){return T(e.on)&&T(e.off)}function aE(e){return T(e.addEventListener)&&T(e.removeEventListener)}function jr(...e){let t=Ct(e),n=tp(e,Infinity),r=e;return r.length?r.length===1?k(r[0]):_o(n)(bt(r,t)):Ue}var{isArray:cE}=Array;function bs(e){return e.length===1&&cE(e[0])?e[0]:e}function Tt(e,t){return A((n,r)=>{let o=0;n.subscribe(N(r,i=>e.call(t,i,o++)&&r.next(i)))})}function uE(...e){return e=bs(e),e.length===1?k(e[0]):new S(lE(e))}function lE(e){return t=>{let n=[];for(let r=0;n&&!t.closed&&r<e.length;r++)n.push(k(e[r]).subscribe(N(t,o=>{if(n){for(let i=0;i<n.length;i++)i!==r&&n[i].unsubscribe();n=null}t.next(o)})))}}function dE(...e){let t=an(e),n=bs(e);return n.length?new S(r=>{let o=n.map(()=>[]),i=n.map(()=>!1);r.add(()=>{o=i=null});for(let s=0;!r.closed&&s<n.length;s++)k(n[s]).subscribe(N(r,a=>{if(o[s].push(a),o.every(c=>c.length)){let c=o.map(u=>u.shift());r.next(t?t(...c):c),o.some((u,l)=>!u.length&&i[l])&&r.complete()}},()=>{i[s]=!0,!o[s].length&&r.complete()}));return()=>{o=i=null}}):Ue}function dp(e){return A((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let u=o;o=null,n.next(u)}s&&n.complete()},c=()=>{i=null,s&&n.complete()};t.subscribe(N(n,u=>{r=!0,o=u,i||k(e(u)).subscribe(i=N(n,a,c))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function fE(e,t=Bt){return dp(()=>Pn(e,t))}function eu(e){return A((t,n)=>{let r=null,o=!1,i;r=t.subscribe(N(n,void 0,void 0,s=>{i=k(e(s,eu(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Mo(e,t){return T(t)?at(e,t,1):at(e,1)}function fp(e){return A((t,n)=>{let r=!1;t.subscribe(N(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function Vt(e){return e<=0?()=>Ue:A((t,n)=>{let r=0;t.subscribe(N(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function pp(){return A((e,t)=>{e.subscribe(N(t,Pt))})}function hp(e){return pe(()=>e)}function tu(e,t){return t?n=>ct(t.pipe(Vt(1),pp()),n.pipe(tu(e))):at((n,r)=>k(e(n,r)).pipe(Vt(1),hp(n)))}function pE(e,t=Bt){let n=Pn(e,t);return tu(()=>n)}function gp(e=hE){return A((t,n)=>{let r=!1;t.subscribe(N(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function hE(){return new jt}function gE(...e){return t=>ct(t,ze(...e))}function Vn(e){return A((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function mE(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Tt((o,i)=>e(o,i,r)):we,Vt(1),n?fp(t):gp(()=>new jt))}function yE(e){return e<=0?()=>Ue:A((t,n)=>{let r=[];t.subscribe(N(n,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function mp(e={}){let{connector:t=()=>new P,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,u=0,l=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=c=void 0,l=d=!1},h=()=>{let y=s;f(),y?.unsubscribe()};return A((y,v)=>{u++,!d&&!l&&p();let D=c=c??t();v.add(()=>{u--,u===0&&!d&&!l&&(a=nu(h,o))}),D.subscribe(v),!s&&u>0&&(s=new st({next:O=>D.next(O),error:O=>{d=!0,p(),a=nu(f,n,O),D.error(O)},complete:()=>{l=!0,p(),a=nu(f,r),D.complete()}}),k(y).subscribe(s))})(i)}}function nu(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new st({next:()=>{r.unsubscribe(),e()}});return k(t(...n)).subscribe(r)}function ru(e,t,n){let r,o=!1;return e&&typeof e==`object`?{bufferSize:r=Infinity,windowTime:t=Infinity,refCount:o=!1,scheduler:n}=e:r=e??Infinity,mp({connector:()=>new Lr(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function vE(e){return Tt((t,n)=>e<=n)}function Br(e,t){return A((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(N(r,c=>{o?.unsubscribe();let u=0,l=i++;k(e(c,l)).subscribe(o=N(r,d=>r.next(t?t(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Ts(e){return A((t,n)=>{k(e).subscribe(N(n,()=>n.complete(),Pt)),!n.closed&&t.subscribe(n)})}function _s(e,t,n){let r=T(e)||t||n?{next:e,error:t,complete:n}:e;return r?A((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(N(i,c=>{var u;(u=r.next)===null||u===void 0||u.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var u;a=!1,(u=r.error)===null||u===void 0||u.call(r,c),i.error(c)},()=>{var c,u;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(u=r.finalize)===null||u===void 0||u.call(r)}))}):we}function DE(...e){let t=an(e);return A((n,r)=>{let o=e.length,i=new Array(o),s=e.map(()=>!1),a=!1;for(let c=0;c<o;c++)k(e[c]).subscribe(N(r,u=>{i[c]=u,!a&&!s[c]&&(s[c]=!0,(a=s.every(we))&&(s=null))},Pt));n.subscribe(N(r,c=>{if(a){let u=[c,...i];r.next(t?t(...u):u)}}))})}var Ce=null;var Ss=!1;var Hn=1;var EE=null;var te=Symbol(`SIGNAL`);function b(e){let t=Ce;return Ce=e,t}function Ms(){return Ce}var cn={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:`unknown`,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function un(e){if(Ss)throw new Error(``);if(Ce===null)return;Ce.consumerOnSignalRead(e);let t=Ce.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=Ce.recomputing;if(r&&(n=t!==void 0?t.nextProducer:Ce.producers,n!==void 0&&n.producer===e)){Ce.producersTail=n,n.lastReadVersion=e.version,n.knownValidAtEpoch=Hn;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===Ce&&(!r||o.knownValidAtEpoch===Hn))return;let i=Hr(Ce),s={producer:e,consumer:Ce,nextProducer:n,prevConsumer:void 0,knownValidAtEpoch:Hn,lastReadVersion:e.version,nextConsumer:void 0};Ce.producersTail=s,t!==void 0?t.nextProducer=s:Ce.producers=s,i&&Ep(e,s)}function yp(){Hn++}function zn(e){if(!(Hr(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Hn)){if(!e.producerMustRecompute(e)&&!No(e)){Vr(e);return}e.producerRecomputeValue(e),Vr(e)}}function ou(e){if(e.consumers===void 0)return;let t=Ss;Ss=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||IE(r)}}finally{Ss=t}}function iu(){return Ce?.consumerAllowSignalWrites!==!1}function IE(e){e.dirty=!0,ou(e),e.consumerMarkedDirty?.(e)}function Vr(e){e.dirty=!1,e.lastCleanEpoch=Hn}function ln(e){return e&&vp(e),b(e)}function vp(e){if(e.producersTail?.knownValidAtEpoch===Hn){let t=e.producers;for(;t!==void 0;)t.knownValidAtEpoch=null,t=t.nextProducer}e.producersTail=void 0,e.recomputing=!0}function Gn(e,t){b(t),e&&Dp(e)}function Dp(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(Hr(e))do n=su(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function No(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(zn(n),r!==n.version))return!0}return!1}function Wn(e){if(Hr(e)){let t=e.producers;for(;t!==void 0;)t=su(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function Ep(e,t){let n=e.consumersTail,r=Hr(e);if(n!==void 0?(t.nextConsumer=n.nextConsumer,n.nextConsumer=t):(t.nextConsumer=void 0,e.consumers=t),t.prevConsumer=n,e.consumersTail=t,!r)for(let o=e.producers;o!==void 0;o=o.nextProducer)Ep(o.producer,o)}function su(e){let t=e.producer,n=e.nextProducer,r=e.nextConsumer,o=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,r!==void 0?r.prevConsumer=o:t.consumersTail=o,o!==void 0)o.nextConsumer=r;else if(t.consumers=r,!Hr(t)){let i=t.producers;for(;i!==void 0;)i=su(i)}return n}function Hr(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function xo(e){EE?.(e)}function Ao(e,t){return Object.is(e,t)}function Ro(e,t){let n=Object.create(wE);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(zn(n),un(n),n.value===_t)throw n.error;return n.value};return r[te]=n,xo(n),r}var $n=Symbol(`UNSET`);var Un=Symbol(`COMPUTING`);var _t=Symbol(`ERRORED`);var wE=x$1(w$1({},cn),{value:$n,dirty:!0,error:null,equal:Ao,kind:`computed`,producerMustRecompute(e){return e.value===$n||e.value===Un},producerRecomputeValue(e){if(e.value===Un)throw new Error(``);let t=e.value;e.value=Un;let n=ln(e),r,o=!1;try{r=e.computation(),b(null),o=t!==$n&&t!==_t&&r!==_t&&e.equal(t,r)}catch(i){r=_t,e.error=i}finally{Gn(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function CE(){throw new Error}var Ip=CE;function wp(e){Ip(e)}function au(e){Ip=e}var bE=null;function cu(e,t){let n=Object.create(xs);n.value=e,t!==void 0&&(n.equal=t);let r=()=>Cp(n);return r[te]=n,xo(n),[r,s=>dn(n,s),s=>Ns(n,s)]}function Cp(e){return un(e),e.value}function dn(e,t){iu()||wp(e),e.equal(e.value,t)||(e.value=t,TE(e))}function Ns(e,t){iu()||wp(e),dn(e,t(e.value))}var xs=x$1(w$1({},cn),{equal:Ao,value:void 0,kind:`signal`});function TE(e){e.version++,yp(),ou(e),bE?.(e)}var uu=x$1(w$1({},cn),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:`effect`});function lu(e){if(e.dirty=!1,e.version>0&&!No(e))return;e.version++;let t=ln(e);try{e.cleanup(),e.fn()}finally{Gn(e,t)}}var du;function As(){return du}function St(e){let t=du;return du=e,t}var bp=Symbol(`NotFound`);function $r(e){return e===bp||e?.name===`ɵNotFound`}function fu(e,t,n){let r=Object.create(_E);r.source=e,r.computation=t,n!=null&&(r.equal=n);let i=()=>{if(zn(r),un(r),r.value===_t)throw r.error;return r.value};return i[te]=r,xo(r),i}function pu(e,t){zn(e),dn(e,t),Vr(e)}function Tp(e,t){if(zn(e),e.value===_t)throw e.error;Ns(e,t),Vr(e)}var _E=x$1(w$1({},cn),{value:$n,dirty:!0,error:null,equal:Ao,kind:`linkedSignal`,producerMustRecompute(e){return e.value===$n||e.value===Un},producerRecomputeValue(e){if(e.value===Un)throw new Error(``);let t=e.value;e.value=Un;let n=ln(e),r,o=!1;try{let i=e.source(),s=t!==$n&&t!==_t,a=s?{source:e.sourceValue,value:t}:void 0;r=e.computation(i,a),e.sourceValue=i,b(null),o=s&&r!==_t&&e.equal(t,r)}catch(i){r=_t,e.error=i}finally{Gn(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function _p(e){let t=b(null);try{return e()}finally{b(t)}}var js=`https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss`;var m=class extends Error{code;constructor(t,n){super(ut(t,n)),this.code=t}};function SE(e){return`NG0${Math.abs(e)}`}function ut(e,t){return`${SE(e)}${t?`: `+t:``}`}function j(e){for(let t in e)if(e[t]===j)return t;throw Error(``)}function Rp(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Bo(e){if(typeof e==`string`)return e;if(Array.isArray(e))return`[${e.map(Bo).join(`, `)}]`;if(e==null)return``+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let n=e.toString();if(n==null)return``+n;let r=n.indexOf(`
`);return r>=0?n.slice(0,r):n}function Bs(e,t){return e?t?`${e} ${t}`:e:t||``}var ME=j({__forward_ref__:j});function Vs(e){return e.__forward_ref__=Vs,e}function le(e){return Su(e)?e():e}function Su(e){return typeof e==`function`&&e.hasOwnProperty(ME)&&e.__forward_ref__===Vs}function C(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Qn(e){return{providers:e.providers||[],imports:e.imports||[]}}function Vo(e){return xE(e,Hs)}function NE(e){return Vo(e)!==null}function xE(e,t){return e.hasOwnProperty(t)&&e[t]||null}function AE(e){return(e?.[Hs]??null)||null}function gu(e){return e&&e.hasOwnProperty(Os)?e[Os]:null}var Hs=j({ɵprov:j});var Os=j({ɵinj:j});var I=class{_desc;ngMetadataName=`InjectionToken`;ɵprov;constructor(t,n){this._desc=t,this.ɵprov=void 0,typeof n==`number`?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.ɵprov=C({token:this,providedIn:n.providedIn||`root`,factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Mu(e){return e&&!!e.ɵproviders}var Ho=j({ɵcmp:j});var $o=j({ɵdir:j});var Nu=j({ɵpipe:j});var xu=j({ɵmod:j});var Fo=j({ɵfac:j});var Xn=j({__NG_ELEMENT_ID__:j});var Sp=j({__NG_ENV_ID__:j});function Op(e){return Us(e,`@NgModule`),e[xu]||null}function gn(e){return Us(e,`@Component`),e[Ho]||null}function $s(e){return Us(e,`@Directive`),e[$o]||null}function kp(e){return Us(e,`@Pipe`),e[Nu]||null}function Us(e,t){if(e==null)throw new m(-919,!1)}function fe(e){return typeof e==`string`?e:e==null?``:String(e)}var Fp=j({ngErrorCode:j});var RE=j({ngErrorMessage:j});var OE=j({ngTokenPath:j});function Au(e,t){return Lp(``,-200,t)}function zs(e,t){throw new m(-201,!1)}function Lp(e,t,n){let r=new m(t,e);return r[Fp]=t,r[RE]=e,n&&(r[OE]=n),r}function kE(e){return e[Fp]}var mu;function Pp(){return mu}function be(e){let t=mu;return mu=e,t}function Ru(e,t,n){let r=Vo(e);if(r&&r.providedIn==`root`)return r.value===void 0?r.value=r.factory():r.value;if(n&8)return null;if(t!==void 0)return t;zs(e,``)}var We=globalThis;var qn={};var LE=`__NG_DI_FLAG__`;var yu=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=Zn(n)||0;try{return this.injector.get(t,r&8?null:qn,r)}catch(o){if($r(o))return o;throw o}}};function PE(e,t=0){let n=As();if(n===void 0)throw new m(-203,!1);if(n===null)return Ru(e,void 0,t);{let r=jE(t),o=n.retrieve(e,r);if($r(o)){if(r.optional)return null;throw o}return o}}function x(e,t=0){return(Pp()||PE)(le(e),t)}function g(e,t){return x(e,Zn(t))}function Zn(e){return typeof e>`u`||typeof e==`number`?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function jE(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function vu(e){let t=[];for(let n=0;n<e.length;n++){let r=le(e[n]);if(Array.isArray(r)){if(r.length===0)throw new m(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=BE(a);typeof c==`number`?c===-1?o=a.token:i|=c:o=a}t.push(x(o,i))}else t.push(x(r))}return t}function BE(e){return e[LE]}function pn(e,t){return e.hasOwnProperty(Fo)?e[Fo]:null}function jp(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=t[r];if(n&&(o=n(o),i=n(i)),i!==o)return!1}return!0}function Bp(e){return e.flat(Number.POSITIVE_INFINITY)}function Gs(e,t){e.forEach(n=>Array.isArray(n)?Gs(n,t):t(n))}function Ou(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Uo(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Vp(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function Hp(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(o===1)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}function Ws(e,t,n){let r=Wr(e,t);return r>=0?e[r|1]=n:(r=~r,Hp(e,r,t,n)),r}function qs(e,t){let n=Wr(e,t);if(n>=0)return e[n|1]}function Wr(e,t){return VE(e,t,1)}function VE(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}var mn={};var me=[];var qr=new I(``);var zo=new I(``,-1);var ku=new I(``);var zr=class{get(t,n=qn){if(n===qn){let o=Lp(``,-201);throw o.name=`ɵNotFound`,o}return n}};function Gt(e){return{ɵproviders:e}}function $p(...e){return{ɵproviders:Fu(!0,e),ɵfromNgModule:!0}}function Fu(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Gs(t,s=>{let a=s;ks(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Up(o,i),n}function Up(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];Lu(o,i=>{t(i,r)})}}function ks(e,t,n,r){if(e=le(e),!e)return!1;let o=null,i=gu(e),s=!i&&gn(e);if(!i&&!s){let c=e.ngModule;if(i=gu(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies==`function`?s.dependencies():s.dependencies;for(let u of c)ks(u,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;Gs(i.imports,l=>{ks(l,t,n,r)&&(u||=[],u.push(l))}),u!==void 0&&Up(u,t)}if(!a){let u=pn(o)||(()=>new o);t({provide:o,useFactory:u,deps:me},o),t({provide:ku,useValue:o,multi:!0},o),t({provide:qr,useValue:()=>x(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;Lu(c,l=>{t(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function Lu(e,t){for(let n of e)Mu(n)&&(n=n.ɵproviders),Array.isArray(n)?Lu(n,t):t(n)}var HE=j({provide:String,useValue:j});function zp(e){return e!==null&&typeof e==`object`&&HE in e}function $E(e){return!!(e&&e.useExisting)}function UE(e){return!!(e&&e.useFactory)}function Yn(e){return typeof e==`function`}function Gp(e){return!!e.useClass}var Go=new I(``);var Rs={};var Mp={};var hu;function Zr(){return hu===void 0&&(hu=new zr),hu}var Te=class{};var Kn=class extends Te{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,Eu(t,s=>this.processProvider(s)),this.records.set(zo,Ur(void 0,this)),o.has(`environment`)&&this.records.set(Te,Ur(void 0,this));let i=this.records.get(Go);i!=null&&typeof i.value==`string`&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(ku,me,{self:!0}))}retrieve(t,n){let r=Zn(n)||0;try{return this.get(t,qn,r)}catch(o){if($r(o))return o;throw o}}destroy(){Oo(this),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 Oo(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Oo(this);let n=St(this),r=be(void 0);try{return t()}finally{St(n),be(r)}}get(t,n=qn,r){if(Oo(this),t.hasOwnProperty(Sp))return t[Sp](this);let o=Zn(r),s=St(this),a=be(void 0);try{if(!(o&4)){let u=this.records.get(t);if(u===void 0){let l=ZE(t)&&Vo(t);l&&this.injectableDefInScope(l)?u=Ur(Du(t),Rs):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u,o)}let c=o&2?Zr():this.parent;return n=o&8&&n===qn?null:n,c.get(t,n)}catch(c){let u=kE(c);throw u===-200||u===-201?new m(u,null):c}finally{be(a),St(s)}}resolveInjectorInitializers(){let t=b(null),n=St(this),r=be(void 0);try{let i=this.get(qr,me,{self:!0});for(let s of i)s()}finally{St(n),be(r),b(t)}}toString(){return`R3Injector[...]`}processProvider(t){t=le(t);let n=Yn(t)?t:le(t&&t.provide),r=GE(t);if(!Yn(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Ur(void 0,Rs,!0),o.factory=()=>vu(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=b(null);try{if(n.value===Mp)throw Au(``);return n.value===Rs&&(n.value=Mp,n.value=n.factory(void 0,r)),typeof n.value==`object`&&n.value&&qE(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{b(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=le(t.providedIn);return typeof n==`string`?n===`any`||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function Du(e){let t=Vo(e),n=t!==null?t.factory:pn(e);if(n!==null)return n;if(e instanceof I)throw new m(-204,!1);if(e instanceof Function)return zE(e);throw new m(-204,!1)}function zE(e){if(e.length>0)throw new m(-204,!1);let n=AE(e);return n!==null?()=>n.factory(e):()=>new e}function GE(e){if(zp(e))return Ur(void 0,e.useValue);return Ur(Pu(e),Rs)}function Pu(e,t,n){let r;if(Yn(e)){let o=le(e);return pn(o)||Du(o)}else if(zp(e))r=()=>le(e.useValue);else if(UE(e))r=()=>e.useFactory(...vu(e.deps||[]));else if($E(e))r=(o,i)=>x(le(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=le(e&&(e.useClass||e.provide));if(WE(e))r=()=>new o(...vu(e.deps));else return pn(o)||Du(o)}return r}function Oo(e){if(e.destroyed)throw new m(-205,!1)}function Ur(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function WE(e){return!!e.deps}function qE(e){return e!==null&&typeof e==`object`&&typeof e.ngOnDestroy==`function`}function ZE(e){return typeof e==`function`||typeof e==`object`&&e.ngMetadataName===`InjectionToken`}function Eu(e,t){for(let n of e)Array.isArray(n)?Eu(n,t):n&&Mu(n)?Eu(n.ɵproviders,t):t(n)}function Yr(e,t){let n;e instanceof Kn?(Oo(e),n=e):n=new yu(e);let o=St(n),i=be(void 0);try{return t()}finally{St(o),be(i)}}function Wp(){return Pp()!==void 0||As()!=null}var lt=0;var w=1;var _=2;var de=3;var qe=4;var ye=5;var Jn=6;var Kr=7;var ne=8;var Oe=9;var dt=10;var B=11;var Qr=12;var ju=13;var yn=14;var _e=15;var vn=16;var er=17;var Mt=18;var Nt=19;var Bu=20;var $t=21;var Zs=22;var hn=23;var He=24;var tr=25;var ft=26;var U=27;var qp=1;var Vu=6;var nr=7;var Wo=8;var rr=9;var Y=10;function Wt(e){return Array.isArray(e)&&typeof e[qp]==`object`}function Ze(e){return Array.isArray(e)&&e[qp]===!0}function Hu(e){return(e.flags&4)!==0}function qt(e){return e.componentOffset>-1}function Xr(e){return(e.flags&1)===1}function pt(e){return!!e.template}function Jr(e){return(e[_]&512)!==0}function or(e){return(e[_]&256)===256}var $=(function(e){return e[e.NONE=0]=`NONE`,e[e.HTML=1]=`HTML`,e[e.STYLE=2]=`STYLE`,e[e.SCRIPT=3]=`SCRIPT`,e[e.URL=4]=`URL`,e[e.RESOURCE_URL=5]=`RESOURCE_URL`,e[e.ATTRIBUTE_NO_BINDING=6]=`ATTRIBUTE_NO_BINDING`,e})($||{});var ko;var Gr=`svg`;var Ys=`math`;var Zp=``;var Np=`*`;var Iu=()=>Object.create(null);function YE(){return ko||(ko=Iu(),fn($.HTML,void 0,[[`iframe`,[`srcdoc`]],[`*`,[`innerHTML`,`outerHTML`]]]),fn($.STYLE,void 0,[[`*`,[`style`]]]),fn($.URL,void 0,[[`*`,[`formAction`]],[`area`,[`href`]],[`a`,[`href`,`xlink:href`]],[`form`,[`action`]],[`img`,[`src`]],[`video`,[`src`]]]),fn($.URL,Ys,[[`*`,[`href`,`xlink:href`]]]),fn($.RESOURCE_URL,void 0,[[`base`,[`href`]],[`embed`,[`src`]],[`frame`,[`src`]],[`iframe`,[`src`]],[`link`,[`href`]],[`object`,[`codebase`,`data`]]]),fn($.URL,Gr,[[`a`,[`href`,`xlink:href`]]]),fn($.ATTRIBUTE_NO_BINDING,Gr,[[`animate`,[`attributeName`,`values`,`to`,`from`]],[`set`,[`to`,`attributeName`]],[`animateMotion`,[`attributeName`]],[`animateTransform`,[`attributeName`]]]),fn($.ATTRIBUTE_NO_BINDING,void 0,[[`unknown`,[`attributeName`,`values`,`to`,`from`,`sandbox`,`allow`,`allowFullscreen`,`referrerPolicy`,`csp`,`fetchPriority`,`credentialless`]],[`iframe`,[`sandbox`,`allow`,`allowFullscreen`,`referrerPolicy`,`csp`,`fetchPriority`,`credentialless`]]]),ko)}function fn(e,t,n){let r=t??Zp;for(let[o,i]of n){let s=o.toLowerCase();for(let a of i){let c=a.toLowerCase(),u=ko[c]??=Iu(),l=u[r]??=Iu();l[s]=e}}}function Yp(e,t,n){let o=YE()[t.toLowerCase()];if(!o)return $.NONE;let i=e.toLowerCase(),s;if(n){let a=o[n];a&&(s=a[i]??a[Np])}if(s===void 0){let a=o[Zp];a&&(s=a[i]??a[Np])}return s??$.NONE}function ge(e){for(;Array.isArray(e);)e=e[lt];return e}function $u(e,t){return ge(t[e])}function ke(e,t){return ge(t[e.index])}function Ks(e,t){return e.data[t]}function qo(e,t){return e[t]}function Zo(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function Ye(e,t){let n=t[e];return Wt(n)?n:n[lt]}function Kp(e){return(e[_]&4)===4}function Qs(e){return(e[_]&128)===128}function Qp(e){return Ze(e[de])}function Ke(e,t){return t==null?null:e[t]}function Uu(e){e[er]=0}function zu(e){e[_]&1024||(e[_]|=1024,Qs(e)&&ir(e))}function Xp(e,t){for(;e>0;)t=t[yn],e--;return t}function Yo(e){return!!(e[_]&9216||e[He]?.dirty)}function Xs(e){e[dt].changeDetectionScheduler?.notify(8),e[_]&64&&(e[_]|=1024),Yo(e)&&ir(e)}function ir(e){e[dt].changeDetectionScheduler?.notify(0);let t=Ut(e);for(;t!==null&&!(t[_]&8192||(t[_]|=8192,!Qs(t)));)t=Ut(t)}function Js(e,t){if(or(e))throw new m(911,!1);e[$t]===null&&(e[$t]=[]),e[$t].push(t)}function Jp(e,t){if(e[$t]===null)return;let n=e[$t].indexOf(t);n!==-1&&e[$t].splice(n,1)}function Ut(e){let t=e[de];return Ze(t)?t[de]:t}function Gu(e){return e[Kr]??=[]}function Wu(e){return e.cleanup??=[]}function eh(e,t,n,r){let o=Gu(t);o.push(n),e.firstCreatePass&&Wu(e).push(r,o.length-1)}var R={lFrame:lh(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var wu=!1;function th(){return R.lFrame.elementDepthCount}function nh(){R.lFrame.elementDepthCount++}function qu(){R.lFrame.elementDepthCount--}function ea(){return R.bindingsEnabled}function Zu(){return R.skipHydrationRootTNode!==null}function Yu(e){return R.skipHydrationRootTNode===e}function Ku(){R.skipHydrationRootTNode=null}function E(){return R.lFrame.lView}function H(){return R.lFrame.tView}function Ko(e){return R.lFrame.contextLView=e,e[ne]}function Qo(e){return R.lFrame.contextLView=null,e}function X(){let e=Qu();for(;e!==null&&e.type===64;)e=e.parent;return e}function Qu(){return R.lFrame.currentTNode}function rh(){let e=R.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function sr(e,t){let n=R.lFrame;n.currentTNode=e,n.isParent=t}function Xu(){return R.lFrame.isParent}function Ju(){R.lFrame.isParent=!1}function el(){return R.lFrame.contextLView}function tl(){return wu}function Lo(e){let t=wu;return wu=e,t}function Dn(){let e=R.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Xo(){return R.lFrame.bindingIndex}function oh(e){return R.lFrame.bindingIndex=e}function En(){return R.lFrame.bindingIndex++}function ar(e){let t=R.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function ih(){return R.lFrame.inI18n}function sh(e,t){let n=R.lFrame;n.bindingIndex=n.bindingRootIndex=e,ta(t)}function ah(){return R.lFrame.currentDirectiveIndex}function ta(e){R.lFrame.currentDirectiveIndex=e}function ch(e){let t=R.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function na(){return R.lFrame.currentQueryIndex}function Jo(e){R.lFrame.currentQueryIndex=e}function KE(e){let t=e[w];return t.type===2?t.declTNode:t.type===1?e[ye]:null}function nl(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=KE(i),o===null||(i=i[yn],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=R.lFrame=uh();return r.currentTNode=t,r.lView=e,!0}function ra(e){let t=uh(),n=e[w];R.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function uh(){let e=R.lFrame,t=e===null?null:e.child;return t===null?lh(e):t}function lh(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 dh(){let e=R.lFrame;return R.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var rl=dh;function oa(){let e=dh();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 fh(e){return(R.lFrame.contextLView=Xp(e,R.lFrame.contextLView))[ne]}function Se(){return R.lFrame.selectedIndex}function In(e){R.lFrame.selectedIndex=e}function cr(){let e=R.lFrame;return Ks(e.tView,e.selectedIndex)}function ph(){R.lFrame.currentNamespace=Gr}function hh(){QE()}function QE(){R.lFrame.currentNamespace=null}function ol(){return R.lFrame.currentNamespace}var gh=!0;function ia(){return gh}function ei(e){gh=e}function Cu(e,t=null,n=null,r){let o=il(e,t,n,r);return o.resolveInjectorInitializers(),o}function il(e,t=null,n=null,r,o=new Set){return new Kn([n||me,$p(e)],t||Zr(),null,o)}var Q=class e{static THROW_IF_NOT_FOUND=qn;static NULL=new zr;static create(t,n){if(Array.isArray(t))return Cu({name:``},n,t,``);{let r=t.name??``;return Cu({name:r},t.parent,t.providers,r)}}static ɵprov=C({token:e,providedIn:`any`,factory:()=>x(zo)});static __NG_ELEMENT_ID__=-1};var G=new I(``);var Z=class{static __NG_ELEMENT_ID__=XE;static __NG_ENV_ID__=t=>t};var Fs=class extends Z{_lView;constructor(t){super(),this._lView=t}get destroyed(){return or(this._lView)}onDestroy(t){let n=this._lView;return Js(n,t),()=>Jp(n,t)}};function XE(){return new Fs(E())}var mh=!1;var yh=new I(``);var ur=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new So(!1);debugTaskTracker=g(yh,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new S(n=>{n.next(!1),n.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),this.debugTaskTracker?.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.debugTaskTracker?.remove(n),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static ɵprov=C({token:e,providedIn:`root`,factory:()=>new e})}return e})();var bu=class extends P{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Wp()&&(this.destroyRef=g(Z,{optional:!0})??void 0,this.pendingTasks=g(ur,{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=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof ue&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}};var Ht=bu;function Ls(...e){}function sl(e){let t,n;function r(){e=Ls;try{n!==void 0&&typeof cancelAnimationFrame==`function`&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch(o){}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame==`function`&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function vh(e){return queueMicrotask(()=>e()),()=>{e=Ls}}var al=`isAngularZone`;var Po=al+`_ID`;var JE=0;var ie=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Ht(!1);onMicrotaskEmpty=new Ht(!1);onStable=new Ht(!1);onError=new Ht(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=mh}=t;if(typeof Zone>`u`)throw new m(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,nI(s)}static isInAngularZone(){return typeof Zone<`u`&&Zone.current.get(al)===!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,eI,Ls,Ls);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}};var eI={};function cl(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 tI(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){sl(()=>{e.callbackScheduled=!1,Tu(e),e.isCheckStableRunning=!0,cl(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Tu(e)}function nI(e){let t=()=>{tI(e)},n=JE++;e._inner=e._inner.fork({name:`angular`,properties:{[al]:!0,[Po]:n,[Po+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(rI(c))return r.invokeTask(i,s,a,c);try{return xp(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type===`eventTask`||e.shouldCoalesceRunChangeDetection)&&t(),Ap(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return xp(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!oI(c)&&t(),Ap(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change==`microTask`?(e._hasPendingMicrotasks=s.microTask,Tu(e),cl(e)):s.change==`macroTask`&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function Tu(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function xp(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Ap(e){e._nesting--,cl(e)}var jo=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Ht;onMicrotaskEmpty=new Ht;onStable=new Ht;onError=new Ht;run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function rI(e){return Dh(e,`__ignore_ng_zone__`)}function oI(e){return Dh(e,`__scheduler_tick__`)}function Dh(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var Ge=class{_console=console;handleError(t){this._console.error(`ERROR`,t)}};var wn=new I(``,{factory:()=>{let e=g(ie),t=g(Te),n;return r=>{e.runOutsideAngular(()=>{t.destroyed&&!n?setTimeout(()=>{throw r}):(n??=t.get(Ge),n.handleError(r))})}}});var Eh={provide:qr,useValue:()=>{g(Ge,{optional:!0})},multi:!0};function q(e,t){let[n,r,o]=cu(e,t?.equal),i=n;i[te];return i.set=r,i.update=o,i.asReadonly=eo.bind(i),i}function eo(){let e=this[te];if(e.readonlyFn===void 0){let t=()=>this();t[te]=e,e.readonlyFn=t}return e.readonlyFn}var to=new I(``,{factory:()=>iI});var iI=`ng`;var sa=new I(``);var ti=new I(``,{providedIn:`platform`,factory:()=>`unknown`});var ni=new I(``,{factory:()=>g(G).body?.querySelector(`[ngCspNonce]`)?.getAttribute(`ngCspNonce`)||null});var aa={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1};var ca=new I(``,{factory:()=>aa});var no=(()=>{class e{static ɵprov=C({token:e,providedIn:`root`,factory:()=>{let n=new e;return n.store=Ih(g(G),g(to)),n}});store={};onSerializeCallbacks={};get(n,r){return this.store[n]!==void 0?this.store[n]:r}set(n,r){this.store[n]=r}remove(n){delete this.store[n]}hasKey(n){return this.store.hasOwnProperty(n)}get isEmpty(){return Object.keys(this.store).length===0}onSerialize(n,r){this.onSerializeCallbacks[n]=r}toJson(){for(let n in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(n))try{this.store[n]=this.onSerializeCallbacks[n]()}catch(r){console.warn(`Exception in onSerialize callback: `,r)}return JSON.stringify(this.store).replace(/</g,`\\u003C`).replace(/\//g,`\\u002F`)}}return e})();function Ih(e,t){let n=e.getElementById(t+`-state`);if(n?.tagName===`SCRIPT`&&n.textContent)try{return JSON.parse(n.textContent)}catch(r){console.warn(`Exception while restoring TransferState for app `+t,r)}return{}}var ri=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=sI}return e})();function sI(){return new ri(E(),X())}var zt=class{};var oi=new I(``,{factory:()=>!0});var ul=new I(``);var ua=(()=>{class e{static ɵprov=C({token:e,providedIn:`root`,factory:()=>new _u})}return e})();var _u=class{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t)}schedule(t){t.dirty&&this.dirtyEffectCount++}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),t.dirty&&this.dirtyEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||r.add(t)}flush(){for(;this.dirtyEffectCount>0;){let t=!1;for(let[n,r]of this.queues)n===null?t||=this.flushQueue(r):t||=n.run(()=>this.flushQueue(r));t||(this.dirtyEffectCount=0)}}flushQueue(t){let n=!1;for(let r of t)r.dirty&&(this.dirtyEffectCount--,n=!0,r.run());return n}};var Ps=class{[te];constructor(t){this[te]=t}destroy(){this[te].destroy()}};function ii(e,t){let n=t?.injector??g(Q),r=t?.manualCleanup!==!0?n.get(Z):null,o,i=n.get(ri,null,{optional:!0}),s=n.get(zt);return i!==null?(o=uI(i.view,s,e),r instanceof Fs&&r._lView===i.view&&(r=null)):o=lI(e,n.get(ua),s),o.injector=n,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new Ps(o)}var wh=x$1(w$1({},uu),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let e=Lo(!1);try{lu(this)}finally{Lo(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=b(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],b(e)}}});var aI=x$1(w$1({},wh),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(Wn(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this)}});var cI=x$1(w$1({},wh),{consumerMarkedDirty(){this.view[_]|=8192,ir(this.view),this.notifier.notify(13)},destroy(){if(Wn(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.view[hn]?.delete(this)}});function uI(e,t,n){let r=Object.create(cI);return r.view=e,r.zone=typeof Zone<`u`?Zone.current:null,r.notifier=t,r.fn=Ch(r,n),e[hn]??=new Set,e[hn].add(r),r.consumerMarkedDirty(r),r}function lI(e,t,n){let r=Object.create(aI);return r.fn=Ch(r,e),r.scheduler=t,r.notifier=n,r.zone=typeof Zone<`u`?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}function Ch(e,t){return()=>{t(n=>(e.cleanupFns??=[]).push(n))}}function ro(e){return typeof e==`function`&&e[te]!==void 0}function la(e){return ro(e)&&typeof e.set==`function`}var Cn=(()=>{class e{internalPendingTasks=g(ur);scheduler=g(zt);errorHandler=g(wn);add(){let n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(n))}}run(n){let r=this.add();try{n().catch(this.errorHandler).finally(r)}catch(o){this.errorHandler(o),r()}}static ɵprov=C({token:e,providedIn:`root`,factory:()=>new e})}return e})();function Di(e){return{toString:e}.toString()}var F=(function(e){return e[e.TemplateCreateStart=0]=`TemplateCreateStart`,e[e.TemplateCreateEnd=1]=`TemplateCreateEnd`,e[e.TemplateUpdateStart=2]=`TemplateUpdateStart`,e[e.TemplateUpdateEnd=3]=`TemplateUpdateEnd`,e[e.LifecycleHookStart=4]=`LifecycleHookStart`,e[e.LifecycleHookEnd=5]=`LifecycleHookEnd`,e[e.OutputStart=6]=`OutputStart`,e[e.OutputEnd=7]=`OutputEnd`,e[e.BootstrapApplicationStart=8]=`BootstrapApplicationStart`,e[e.BootstrapApplicationEnd=9]=`BootstrapApplicationEnd`,e[e.BootstrapComponentStart=10]=`BootstrapComponentStart`,e[e.BootstrapComponentEnd=11]=`BootstrapComponentEnd`,e[e.ChangeDetectionStart=12]=`ChangeDetectionStart`,e[e.ChangeDetectionEnd=13]=`ChangeDetectionEnd`,e[e.ChangeDetectionSyncStart=14]=`ChangeDetectionSyncStart`,e[e.ChangeDetectionSyncEnd=15]=`ChangeDetectionSyncEnd`,e[e.AfterRenderHooksStart=16]=`AfterRenderHooksStart`,e[e.AfterRenderHooksEnd=17]=`AfterRenderHooksEnd`,e[e.ComponentStart=18]=`ComponentStart`,e[e.ComponentEnd=19]=`ComponentEnd`,e[e.DeferBlockStateStart=20]=`DeferBlockStateStart`,e[e.DeferBlockStateEnd=21]=`DeferBlockStateEnd`,e[e.DynamicComponentStart=22]=`DynamicComponentStart`,e[e.DynamicComponentEnd=23]=`DynamicComponentEnd`,e[e.HostBindingsUpdateStart=24]=`HostBindingsUpdateStart`,e[e.HostBindingsUpdateEnd=25]=`HostBindingsUpdateEnd`,e})(F||{});var Da=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function pg(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var hg=null;var Ei=(()=>{hg=bh;let e=()=>bh;return e.ngInherit=!0,e})();function DI(){return hg}function bh(e){return e.type.prototype.ngOnChanges&&(e.setInput=II),EI}function EI(){let e=gg(this),t=e?.current;if(t){let n=e.previous;if(n===mn)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function II(e,t,n,r,o){let i=this.declaredInputs[r],s=gg(e)||wI(e,{previous:mn,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new Da(u&&u.currentValue,n,c===mn),pg(e,t,o,n)}var El=`__ngSimpleChanges__`;function gg(e){return Object.hasOwn(e,El)&&e[El]||null}function wI(e,t){return e[El]=t}var Th=[];var V=function(e,t=null,n){for(let r=0;r<Th.length;r++){let o=Th[r];o(e,t,n)}};function CI(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=DI()(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 mg(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:u,ngOnDestroy:l}=e.data[n].type.prototype;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),u&&((e.viewHooks??=[]).push(n,u),(e.viewCheckHooks??=[]).push(n,u)),l!=null&&(e.destroyHooks??=[]).push(n,l)}}function ga(e,t,n){yg(e,t,3,n)}function ma(e,t,n,r){(e[_]&3)===n&&yg(e,t,n,r)}function ll(e,t){let n=e[_];(n&3)===t&&(n&=16383,n+=1,e[_]=n)}function yg(e,t,n,r){let o=r!==void 0?e[er]&65535:0,i=r??-1,s=t.length-1,a=0;for(let c=o;c<s;c++)if(typeof t[c+1]==`number`){if(a=t[c],r!=null&&a>=r)break}else t[c]<0&&(e[er]+=65536),(a<i||i==-1)&&(bI(e,n,t,c),e[er]=(e[er]&4294901760)+c+2),c++}function _h(e,t){V(F.LifecycleHookStart,e,t);let n=b(null);try{t.call(e)}finally{b(n),V(F.LifecycleHookEnd,e,t)}}function bI(e,t,n,r){let o=n[r]<0,i=n[r+1],a=e[o?-n[r]:n[r]];o?e[_]>>14<e[er]>>16&&(e[_]&3)===t&&(e[_]+=16384,_h(a,i)):_h(a,i)}var io=-1;var pr=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r,o){this.factory=t,this.name=o,this.canSeeViewProviders=n,this.injectImpl=r}};function TI(e){return(e.flags&8)!==0}function _I(e){return(e.flags&16)!==0}function SI(e,t,n){let r=0;for(;r<n.length;){let o=n[r];if(typeof o==`number`){if(o!==0)break;r++;let i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{let i=o,s=n[++r];MI(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function vg(e){return e===3||e===4||e===6}function MI(e){return e.charCodeAt(0)===64}function ao(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){let o=t[r];typeof o==`number`?n=o:n===0||(n===-1||n===2?Sh(e,n,o,null,t[++r]):Sh(e,n,o,null,null))}}return e}function Sh(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a==`number`){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a==`number`)break;if(a===n){o!==null&&(e[i+1]=o);return}i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),o!==null&&e.splice(i++,0,o)}function Dg(e){return e!==io}function Ea(e){return e&32767}function NI(e){return e>>16}function Ia(e,t){let n=NI(e),r=t;for(;n>0;)r=r[yn],n--;return r}var Il=!0;function wa(e){let t=Il;return Il=e,t}var Eg=255;var Ig=5;var AI=0;var xt={};function RI(e,t,n){let r;typeof n==`string`?r=n.charCodeAt(0)||0:n.hasOwnProperty(Xn)&&(r=n[Xn]),r??=n[Xn]=AI++;let o=r&Eg,i=1<<o;t.data[e+(o>>Ig)]|=i}function Ca(e,t){let n=wg(e,t);if(n!==-1)return n;let r=t[w];r.firstCreatePass&&(e.injectorIndex=t.length,dl(r.data,e),dl(t,null),dl(r.blueprint,null));let o=nd(e,t),i=e.injectorIndex;if(Dg(o)){let s=Ea(o),a=Ia(o,t),c=a[w].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=o,i}function dl(e,t){e.push(0,0,0,0,0,0,0,0,t)}function wg(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function nd(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=Sg(o),r===null)return io;if(n++,o=o[yn],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return io}function wl(e,t,n){RI(e,t,n)}function OI(e,t){if(t===`class`)return e.classes;if(t===`style`)return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o<r;){let i=n[o];if(vg(i))break;if(i===0)o=o+2;else if(typeof i==`number`)for(o++;o<r&&typeof n[o]==`string`;)o++;else{if(i===t)return n[o+1];o=o+2}}}return null}function Cg(e,t,n){if(n&8||e!==void 0)return e;zs(t,`NodeInjector`)}function bg(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[Oe],i=be(void 0);try{return o?o.get(t,r,n&8):Ru(t,r,n&8)}finally{be(i)}}return Cg(r,t,n)}function Tg(e,t,n,r=0,o){if(e!==null){if(t[_]&2048&&!(r&2)){let s=PI(e,t,n,r,xt);if(s!==xt)return s}let i=_g(e,t,n,r,xt);if(i!==xt)return i}return bg(t,n,r,o)}function _g(e,t,n,r,o){let i=FI(n);if(typeof i==`function`){if(!nl(t,e,r))return r&1?Cg(o,n,r):bg(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))zs(n);else return s}finally{rl()}}else if(typeof i==`number`){let s=null,a=wg(e,t),c=io,u=r&1?t[_e][ye]:null;for((a===-1||r&4)&&(c=a===-1?nd(e,t):t[a+8],c===io||!Nh(r,!1)?a=-1:(s=t[w],a=Ea(c),t=Ia(c,t)));a!==-1;){let l=t[w];if(Mh(i,a,l.data)){let d=kI(a,t,n,s,r,u);if(d!==xt)return d}c=t[a+8],c!==io&&Nh(r,t[w].data[a+8]===u)&&Mh(i,a,t)?(s=l,a=Ea(c),t=Ia(c,t)):a=-1}}return o}function kI(e,t,n,r,o,i){let s=t[w],a=s.data[e+8],l=ya(a,s,n,r==null?qt(a)&&Il:r!=s&&(a.type&3)!==0,o&1&&i===a);return l!==null?di(t,s,l,a,o):xt}function ya(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,u=e.directiveEnd,l=i>>20,d=r?a:a+l,p=o?a+l:u;for(let f=d;f<p;f++){let h=s[f];if(f<c&&n===h||f>=c&&h.type===n)return f}if(o){let f=s[c];if(f&&pt(f)&&f.type===n)return c}return null}function di(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof pr){let a=i;if(a.resolving)throw Au(``);let c=wa(a.canSeeViewProviders);a.resolving=!0;s[n].type||s[n];let d=a.injectImpl?be(a.injectImpl):null;nl(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&CI(n,s[n],t)}finally{d!==null&&be(d),wa(c),a.resolving=!1,rl()}}return i}function FI(e){if(typeof e==`string`)return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Xn)?e[Xn]:void 0;return typeof t==`number`?t>=0?t&Eg:LI:t}function Mh(e,t,n){let r=1<<e;return!!(n[t+(e>>Ig)]&r)}function Nh(e,t){return!(e&2)&&!(e&1&&t)}var bn=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Tg(this._tNode,this._lView,t,Zn(r),n)}};function LI(){return new bn(X(),E())}function Sn(e){return Di(()=>{let t=e.prototype.constructor,n=t[Fo]||Cl(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Fo]||Cl(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Cl(e){return Su(e)?()=>{let t=Cl(le(e));return t&&t()}:pn(e)}function PI(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[_]&2048&&!Jr(s);){let a=_g(i,s,n,r|2,xt);if(a!==xt)return a;let c=i.parent;if(!c){let u=s[Bu];if(u){let l=u.get(n,xt,r&-5);if(l!==xt)return l}c=Sg(s),s=s[yn]}i=c}return o}function Sg(e){let t=e[w],n=t.type;return n===2?t.declTNode:n===1?e[ye]:null}function rd(e){return OI(X(),e)}function Qe(e){return{token:e.token,providedIn:e.autoProvided===!1?null:`root`,factory:e.factory,value:void 0}}function jI(){return po(X(),E())}function po(e,t){return new Xe(ke(e,t))}var Xe=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=jI}return e})();function Mg(e){return e instanceof Xe?e.nativeElement:e}function BI(){return this._results[Symbol.iterator]()}var ba=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new P}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=Bp(t);(this._changesDetected=!jp(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=BI};function Ng(e){return(e.flags&128)===128}var od=(function(e){return e[e.OnPush=0]=`OnPush`,e[e.Eager=1]=`Eager`,e[e.Default=1]=`Default`,e})(od||{});var xg=new Map;var VI=0;function HI(){return VI++}function $I(e){xg.set(e[Nt],e)}function bl(e){xg.delete(e[Nt])}var xh=`__ngContext__`;function co(e,t){Wt(t)?(e[xh]=t[Nt],$I(t)):e[xh]=t}function Ag(e){return Og(e[Qr])}function Rg(e){return Og(e[qe])}function Og(e){for(;e!==null&&!Ze(e);)e=e[qe];return e}var Tl;function id(e){Tl=e}function sd(){if(Tl!==void 0)return Tl;if(typeof document<`u`)return document;throw new m(210,!1)}var kg=`r`;var Fg=`di`;var UI=new I(``);var Lg=!1;var Pg=new I(``,{factory:()=>Lg});var Ah=new WeakMap;function zI(e,t){if(e==null||typeof e!=`object`)return;let n=Ah.get(e);n||(n=new WeakSet,Ah.set(e,n)),n.add(t)}function $a(e){return(e.flags&32)===32}var qI=()=>null;function jg(e,t,n=!1){return qI(e,t,n)}function Bg(e,t){let n=e.contentQueries;if(n!==null){let r=b(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];Jo(i),a.contentQueries(2,t[s],s)}}}finally{b(r)}}}function _l(e,t,n){Jo(0);let r=b(null);try{t(e,n)}finally{b(r)}}function ad(e,t,n){if(Hu(t)){let r=b(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=n[s];a.contentQueries(1,c,s)}}}finally{b(r)}}}var mt=(function(e){return e[e.Emulated=0]=`Emulated`,e[e.None=2]=`None`,e[e.ShadowDom=3]=`ShadowDom`,e[e.ExperimentalIsolatedShadowDom=4]=`ExperimentalIsolatedShadowDom`,e})(mt||{});var ZI={"http://www.w3.org/2000/svg":Gr,"http://www.w3.org/1998/Math/MathML":Ys};var da;function Vg(){if(da===void 0&&(da=null,We.trustedTypes))try{da=We.trustedTypes.createPolicy(`angular`,{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return da}function Ua(e){return Vg()?.createHTML(e)||e}function YI(e){return Vg()?.createScriptURL(e)||e}var fa;function Hg(){if(fa===void 0&&(fa=null,We.trustedTypes))try{fa=We.trustedTypes.createPolicy(`angular#unsafe-bypass`,{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return fa}function Rh(e){return Hg()?.createHTML(e)||e}function Oh(e){return Hg()?.createScriptURL(e)||e}var Zt=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${js})`}};var Sl=class extends Zt{getTypeName(){return`HTML`}};var Ml=class extends Zt{getTypeName(){return`Style`}};var Nl=class extends Zt{getTypeName(){return`Script`}};var xl=class extends Zt{getTypeName(){return`URL`}};var Al=class extends Zt{getTypeName(){return`ResourceURL`}};function Me(e){return e instanceof Zt?e.changingThisBreaksApplicationSecurity:e}function At(e,t){let n=$g(e);if(n!=null&&n!==t){if(n===`ResourceURL`&&t===`URL`)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${js})`)}return n===t}function $g(e){return e instanceof Zt&&e.getTypeName()||null}function cd(e){return new Sl(e)}function ud(e){return new Ml(e)}function ld(e){return new Nl(e)}function dd(e){return new xl(e)}function fd(e){return new Al(e)}function KI(e){let t=new Ol(e);return QI()?new Rl(t):t}var Rl=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=`<body><remove></remove>`+t;try{let n=new window.DOMParser().parseFromString(Ua(t),`text/html`).body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch(n){return null}}};var Ol=class{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument(`sanitization-inert`)}getInertBodyElement(t){let n=this.inertDocument.createElement(`template`);return n.innerHTML=Ua(t),n}};function QI(){try{return!!new window.DOMParser().parseFromString(Ua(``),`text/html`)}catch(e){return!1}}var XI=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Ii(e){return e=String(e),e.match(XI)?e:`unsafe:`+e}function Yt(e){let t={};for(let n of e.split(`,`))t[n]=!0;return t}function wi(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var Ug=Yt(`area,br,col,hr,img,wbr`);var zg=Yt(`colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr`);var Gg=Yt(`rp,rt`);var JI=wi(Gg,zg);var kh=wi(Ug,wi(zg,Yt(`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`)),wi(Gg,Yt(`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`)),JI);var Wg=Yt(`background,cite,href,itemtype,longdesc,poster,src,xlink:href`);var ow=wi(Wg,Yt(`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`),Yt(`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`));var iw=Yt(`script,style,template`);var kl=class{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=cw(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=aw(n);if(i){n=i;break}n=o.pop()}}return this.buf.join(``)}startElement(t){let n=Fh(t).toLowerCase();if(!kh.hasOwnProperty(n))return this.sanitizedSomething=!0,!iw.hasOwnProperty(n);this.buf.push(`<`),this.buf.push(n);let r=t.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!ow.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;Wg[a]&&(c=Ii(c)),this.buf.push(` `,s,`="`,Lh(c),`"`)}return this.buf.push(`>`),!0}endElement(t){let n=Fh(t).toLowerCase();kh.hasOwnProperty(n)&&!Ug.hasOwnProperty(n)&&(this.buf.push(`</`),this.buf.push(n),this.buf.push(`>`))}chars(t){this.buf.push(Lh(t))}};function sw(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function aw(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw qg(t);return t}function cw(e){let t=e.firstChild;if(t&&sw(e,t))throw qg(t);return t}function Fh(e){let t=e.nodeName;return typeof t==`string`?t:`FORM`}function qg(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var uw=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;var lw=/([^\#-~ |!])/g;function Lh(e){return e.replace(/&/g,`&amp;`).replace(uw,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return`&#`+((n-55296)*1024+(r-56320)+65536)+`;`}).replace(lw,function(t){return`&#`+t.charCodeAt(0)+`;`}).replace(/</g,`&lt;`).replace(/>/g,`&gt;`)}var pa;function za(e,t){let n=null;try{pa=pa||KI(e);let r=t?String(t):``;n=pa.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=pa.getInertBodyElement(r)}while(r!==i);return Ua(new kl().sanitizeChildren(Ph(n)||n))}finally{if(n){let r=Ph(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function Ph(e){return`content`in e&&dw(e)?e.content:null}function dw(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName===`TEMPLATE`}var fw=/^>|^->|<!--|-->|--!>|<!-$/g;var pw=/(<|>)/g;var hw=`​$1​`;function gw(e){return e.replace(fw,t=>t.replace(pw,hw))}function mw(e,t){return e.createText(t)}function yw(e,t,n){e.setValue(t,n)}function vw(e,t){return e.createComment(gw(t))}function Zg(e,t,n){return e.createElement(t,n)}function dr(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Yg(e,t,n){e.appendChild(t,n)}function jh(e,t,n,r,o){r!==null?dr(e,t,n,r,o):Yg(e,t,n)}function Kg(e,t,n,r){e.removeChild(null,t,n,r)}function Dw(e,t,n){e.setAttribute(t,`style`,n)}function Ew(e,t,n){n===``?e.removeAttribute(t,`class`):e.setAttribute(t,`class`,n)}function Qg(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&SI(e,t,r),o!==null&&Ew(e,t,o),i!==null&&Dw(e,t,i)}function Iw(e,t=!0){if(e[0]!=`:`)return[null,e];let n=e.indexOf(`:`,1);if(n===-1){if(t)throw new Error(`Unsupported format "${e}" expecting ":namespace:name"`);return[null,e]}return[e.slice(1,n),e.slice(n+1)]}function Ga(e,t,n){if(t!==void 0&&n!==void 0&&em(t,n)!==$.HTML)return e;let r=pd();return r?Rh(r.sanitize($.HTML,e)||``):At(e,`HTML`)?Rh(Me(e)):za(sd(),fe(e))}function Xg(e){let t=pd();return t?t.sanitize($.URL,e)||``:At(e,`URL`)?Me(e):Ii(fe(e))}function Jg(e){let t=pd();if(t)return Oh(t.sanitize($.RESOURCE_URL,e)||``);if(At(e,`ResourceURL`))return Oh(Me(e));throw new m(904,!1)}function ww(e){return YI(e[0])}function Cw(e,t){switch(em(e,t)){case $.RESOURCE_URL:return Jg;case $.URL:return Xg;default:return null}}function bw(e,t,n){return Cw(t,n)?.(e)??e}function pd(){let e=E();return e&&e[dt].sanitizer}function em(e,t){let[n,r]=Tw(e);return Yp(r,t,n)}function Tw(e){e=e.toLowerCase();let t=Iw(e,!1);if(t[0])return t;let r=Se()===-1?null:cr(),o=r?.namespace;if(e===`#host`&&r?.type===2){let i=ke(r,E());if(i.tagName&&(e=i.tagName.toLowerCase()),o==null){let s=i.namespaceURI;o=s&&ZI[s]}}return[o,e]}function _w(e){return e.ownerDocument.defaultView}function Sw(e){return e instanceof Function?e():e}function Mw(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}var tm=`ng-template`;function Nw(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]==`string`;o+=2)if(t[o]===`class`&&Mw(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(hd(e))return!1;if(o=t.indexOf(1,o),o>-1){let i;for(;++o<t.length&&typeof(i=t[o])==`string`;)if(i.toLowerCase()===n)return!0}return!1}function hd(e){return e.type===4&&e.value!==tm}function xw(e,t,n){return t===(e.type===4&&!n?tm:e.value)}function Aw(e,t,n){let r=4,o=e.attrs,i=o!==null?kw(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c==`number`){if(!s&&!ht(r)&&!ht(c))return!1;if(s&&ht(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==``&&!xw(e,c,n)||c===``&&t.length===1){if(ht(r))return!1;s=!0}}else if(r&8){if(o===null||!Nw(e,o,c,n)){if(ht(r))return!1;s=!0}}else{let u=t[++a],l=Rw(c,o,hd(e),n);if(l===-1){if(ht(r))return!1;s=!0;continue}if(u!==``){let d;if(l>i?d=``:d=o[l+1].toLowerCase(),r&2&&u!==d){if(ht(r))return!1;s=!0}}}}return ht(r)||s}function ht(e){return(e&1)===0}function Rw(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){let s=t[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=t[++o];for(;typeof a==`string`;)a=t[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return Fw(t,e)}function nm(e,t,n=!1){for(let r=0;r<t.length;r++)if(Aw(e,t[r],n))return!0;return!1}function Ow(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function kw(e){for(let t=0;t<e.length;t++){let n=e[t];if(vg(n))return t}return e.length}function Fw(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let r=e[n];if(typeof r==`number`)return-1;if(r===t)return n;n++}return-1}function Lw(e,t){e:for(let n=0;n<t.length;n++){let r=t[n];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function Bh(e,t){return e?`:not(`+t.trim()+`)`:t}function Pw(e){let t=e[0],n=1,r=2,o=``,i=!1;for(;n<e.length;){let s=e[n];if(typeof s==`string`)if(r&2){let a=e[++n];o+=`[`+s+(a.length>0?`="`+a+`"`:``)+`]`}else r&8?o+=`.`+s:r&4&&(o+=` `+s);else o!==``&&!ht(s)&&(t+=Bh(i,o),o=``),r=s,i=i||!ht(r);n++}return o!==``&&(t+=Bh(i,o)),t}function jw(e){return e.map(Pw).join(`,`)}function Bw(e){let t=[],n=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i==`string`)o===2?i!==``&&t.push(i,e[++r]):o===8&&n.push(i);else{if(!ht(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var re={};var yt=(function(e){return e[e.Important=1]=`Important`,e[e.DashCase=2]=`DashCase`,e})(yt||{});var Vw;function gd(e,t){return Vw(e,t)}var rm=new I(``,{factory:()=>!1});function Ta(e){if(!e)return 0;let t=e.toLowerCase().indexOf(`ms`)>-1?1:1e3;return parseFloat(e)*t}function lr(e,t){return e.getPropertyValue(t).split(`,`).map(r=>r.trim())}function Hw(e){let t=lr(e,`transition-property`),n=lr(e,`transition-duration`),r=lr(e,`transition-delay`),o={propertyName:``,duration:0,animationName:void 0};for(let i=0;i<t.length;i++){let s=Ta(r[i])+Ta(n[i]);s>o.duration&&(o.propertyName=t[i],o.duration=s)}return o}function $w(e){let t=lr(e,`animation-name`),n=lr(e,`animation-delay`),r=lr(e,`animation-duration`),o=lr(e,`animation-iteration-count`),i={animationName:``,propertyName:void 0,duration:0};for(let s=0;s<t.length;s++){let a=Ta(n[s])+Ta(r[s]),c=o[s];a>i.duration&&c!==`infinite`&&(i.animationName=t[s],i.duration=a)}return i}function om(e,t){return e!==void 0&&e.duration>t.duration}function im(e){return(e.animationName!=null||e.propertyName!=null)&&e.duration>0}function sm(e){let t=e.effect?.getTiming();if(t===void 0)return;let n=typeof t.duration==`number`?t.duration:0,r=(t.delay??0)+n,o=e.playbackRate;return o!==void 0&&o!==0&&o!==1&&(r/=Math.abs(o)),r}function Uw(e,t){let n=getComputedStyle(e),r=$w(n),o=Hw(n),i=r.duration>o.duration?r:o;om(t.get(e),i)||im(i)&&t.set(e,i)}function zw(e,t,n){if(!n)return;let r=e.getAnimations();return r.length===0?Uw(e,t):Gw(e,t,r)}function Gw(e,t,n){let r={animationName:void 0,propertyName:void 0,duration:0};for(let o of n){if(o.effect?.getTiming()?.iterations===Infinity)continue;let s=sm(o)??0,a,c;o.animationName?c=o.animationName:a=o.transitionProperty,s>=r.duration&&(r={animationName:c,propertyName:a,duration:s})}om(t.get(e),r)||im(r)&&t.set(e,r)}var Tn=new Set;var Ww=!1;var qw=1;var am=typeof document<`u`&&typeof document?.documentElement?.getAnimations==`function`;function Zw(e){return e[Oe].get(rm,Ww)}function Yw(e,t,n){let r=fi.get(e);if(r){for(let o of t)r.classList.push(o);for(let o of n)r.cleanupFns.push(o)}else fi.set(e,{classList:t,cleanupFns:n})}function cm(e){let t=fi.get(e);if(t){for(let n of t.cleanupFns)n();fi.delete(e)}_a.delete(e)}var fi=new WeakMap;var _a=new WeakMap;var Fl=new WeakMap;function um(e){return e?e[yn]??e:null}var ai=new WeakSet;function Kw(e,t,n){let r=Fl.get(e);if(!r||r.length===0)return;let o=t.parentNode,i=t.previousSibling,s=um(n);for(let a=r.length-1;a>=0;a--){let{el:c,declarationView:u}=r[a],l=c.parentNode;c===t?(r.splice(a,1),ai.add(c),c.dispatchEvent(new CustomEvent(`animationend`,{detail:{cancel:!0}}))):i&&c===i?(r.splice(a,1),c.dispatchEvent(new CustomEvent(`animationend`,{detail:{cancel:!0}})),c.parentNode?.removeChild(c)):l&&o&&l!==o&&(s===null||u===null||s===u)&&(r.splice(a,1),c.dispatchEvent(new CustomEvent(`animationend`,{detail:{cancel:!0}})),c.parentNode?.removeChild(c))}}function Qw(e,t,n){let r=um(n),o=Fl.get(e);o?o.some(i=>i.el===t)||o.push({el:t,declarationView:r}):Fl.set(e,[{el:t,declarationView:r}])}function Vh(e){let t=e[ft]??={};return t.enter??=new Map}function Xw(e){let t=typeof e==`function`?e():e,n=Array.isArray(t)?t:null;return typeof t==`string`&&(n=t.trim().split(/\s+/).filter(r=>r)),n}function Sa(e){return e.composedPath?e.composedPath()[0]:e.target}function lm(e,t){let n=_a.get(t);if(n===void 0)return!0;if(t!==Sa(e))return!1;let r=e.animation;if(r){let o=sm(r);if(o!==void 0&&o+qw<n.duration)return!1}return n.animationName!==void 0?e.animationName===n.animationName:n.propertyName!==void 0?n.propertyName===`all`||e.propertyName===n.propertyName:!1}function Jw(e,t,n){let r=e.get(t.index)??{animateFns:[]};r.animateFns.push(n),e.set(t.index,r)}var Wa=(function(e){return e[e.CHANGE_DETECTION=0]=`CHANGE_DETECTION`,e[e.AFTER_NEXT_RENDER=1]=`AFTER_NEXT_RENDER`,e})(Wa||{});var Kt=new I(``);var Hh=new Set;function xe(e){Hh.has(e)||(Hh.add(e),performance?.mark?.(`mark_feature_usage`,{detail:{feature:e}}))}var md=(()=>{class e{impl=null;execute(){this.impl?.execute()}static ɵprov=C({token:e,providedIn:`root`,factory:()=>new e})}return e})();var dm=[0,1,2,3];var fm=(()=>{class e{ngZone=g(ie);scheduler=g(zt);errorHandler=g(Ge,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){g(Kt,{optional:!0})}execute(){let n=this.sequences.size>0;n&&V(F.AfterRenderHooksStart),this.executing=!0;for(let r of dm)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[r]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let i=o.hooks[r];return i(o.pipelinedValue)},o.snapshot))}catch(i){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),n&&V(F.AfterRenderHooksEnd)}register(n){let{view:r}=n;r!==void 0?((r[tr]??=[]).push(n),ir(r),r[_]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(Wa.AFTER_NEXT_RENDER,n):n()}static ɵprov=C({token:e,providedIn:`root`,factory:()=>new e})}return e})();var Ma=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o,i,s=null){this.impl=t,this.hooks=n,this.view=r,this.once=o,this.snapshot=s,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let t=this.view?.[tr];t&&(this.view[tr]=t.filter(n=>n!==this))}};function eC(e,t){let n=t?.injector??g(Q);return xe(`NgAfterRender`),hm(e,n,t,!1)}function pm(e,t){let n=t?.injector??g(Q);return xe(`NgAfterNextRender`),hm(e,n,t,!0)}function tC(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function hm(e,t,n,r){let o=t.get(md);o.impl??=t.get(fm);let i=t.get(Kt,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(Z):null,a=t.get(ri,null,{optional:!0}),c=new Ma(o.impl,tC(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var Ci=new I(``,{factory:()=>{let e=g(Te),t=new Set;return e.onDestroy(()=>t.clear()),{queue:t,isScheduled:!1,scheduler:null,injector:e}}});function gm(e,t,n){let r=e.get(Ci);if(Array.isArray(t))for(let o of t)r.queue.add(o),n?.detachedLeaveAnimationFns?.push(o);else r.queue.add(t),n?.detachedLeaveAnimationFns?.push(t);r.scheduler&&r.scheduler(e)}function nC(e,t){let n=e.get(Ci);if(Array.isArray(t))for(let r of t)n.queue.delete(r);else n.queue.delete(t)}function rC(e,t){let n=e.get(Ci);if(t.detachedLeaveAnimationFns){for(let r of t.detachedLeaveAnimationFns)n.queue.delete(r);t.detachedLeaveAnimationFns=void 0}}function oC(e){let t=e.get(Ci);t.isScheduled||(pm(()=>{t.isScheduled=!1;for(let n of t.queue)n();t.queue.clear()},{injector:t.injector}),t.isScheduled=!0)}function iC(e){let t=e.get(Ci);t.scheduler=oC,t.scheduler(e)}function mm(e,t){for(let[n,r]of t)gm(e,r.animateFns)}function $h(e,t,n,r){let o=e?.[ft]?.enter;t!==null&&o&&o.has(n.index)&&mm(r,o)}function Uh(e,t,n,r){try{n.get(zo)}catch(s){return r(!1)}let o=e?.[ft];o?.enter?.has(t.index)&&nC(n,o.enter.get(t.index).animateFns);let i=sC(e,t,o);if(i.size===0){let s=!1;if(e){let a=[];qa(e,t,a),s=a.length>0}if(!s)return r(!1)}e&&Tn.add(e[Nt]),gm(n,()=>aC(e,t,o||void 0,i,r),o||void 0)}function sC(e,t,n){let r=new Map,o=n?.leave;if(o&&o.has(t.index)&&r.set(t.index,o.get(t.index)),e&&o)for(let[i,s]of o){if(r.has(i))continue;let c=e[w].data[i].parent;for(;c;){if(c===t){r.set(i,s);break}c=c.parent}}return r}function aC(e,t,n,r,o){let i=[];if(n&&n.leave)for(let[s]of r){if(!n.leave.has(s))continue;let a=n.leave.get(s);for(let c of a.animateFns){let{promise:u}=c();i.push(u)}n.detachedLeaveAnimationFns=void 0}if(e&&qa(e,t,i),i.length>0){let s=n||e?.[ft];if(s){let a=s.running;a&&i.push(a),s.running=Promise.allSettled(i),uC(e,s.running,o)}else Promise.allSettled(i).then(()=>{e&&Tn.delete(e[Nt]),o(!0)})}else e&&Tn.delete(e[Nt]),o(!1)}function qa(e,t,n){if(t.type&12){let o=e[t.index];if(Ze(o))for(let i=Y;i<o.length;i++){let s=o[i];s[w].type===2&&cC(s,n)}}let r=t.child;for(;r;)qa(e,r,n),r=r.next}function cC(e,t){let n=e[ft];if(n&&n.leave)for(let o of n.leave.values())for(let i of o.animateFns){let{promise:s}=i();t.push(s)}let r=e[w].firstChild;for(;r;)qa(e,r,t),r=r.next}function uC(e,t,n){t.then(()=>{e[ft]?.running===t&&(e[ft].running=void 0,Tn.delete(e[Nt])),n(!0)})}function oo(e,t,n,r,o,i,s,a){if(o!=null){let c,u=!1;Ze(o)?c=o:Wt(o)&&(u=!0,o=o[lt]);let l=ge(o);e===0&&r!==null?($h(a,r,i,n),s==null?Yg(t,r,l):dr(t,r,l,s||null,!0)):e===1&&r!==null?($h(a,r,i,n),dr(t,r,l,s||null,!0),Kw(i,l,a)):e===2?(a?.[ft]?.leave?.has(i.index)&&Qw(i,l,a),ai.delete(l),Uh(a,i,n,d=>{if(ai.has(l)){ai.delete(l);return}Kg(t,l,u,d)})):e===3&&(ai.delete(l),Uh(a,i,n,()=>{t.destroyNode(l)})),c!=null&&EC(t,e,n,c,i,r,s)}}function lC(e,t){ym(e,t),t[lt]=null,t[ye]=null}function dC(e,t,n,r,o,i){r[lt]=o,r[ye]=t,Ya(e,r,n,1,o,i)}function ym(e,t){t[dt].changeDetectionScheduler?.notify(9),Ya(e,t,t[B],2,null,null)}function fC(e){let t=e[Qr];if(!t)return fl(e[w],e);for(;t;){let n=null;if(Wt(t))n=t[Qr];else{let r=t[Y];r&&(n=r)}if(!n){for(;t&&!t[qe]&&t!==e;)Wt(t)&&fl(t[w],t),t=t[de];t===null&&(t=e),Wt(t)&&fl(t[w],t),n=t&&t[qe]}t=n}}function yd(e,t){let n=e[rr],r=n.indexOf(t);n.splice(r,1)}function Za(e,t){if(or(t))return;let n=t[B];n.destroyNode&&Ya(e,t,n,3,null,null),fC(t)}function fl(e,t){if(or(t))return;let n=b(null);try{t[_]&=-129,t[_]|=256,t[He]&&Wn(t[He]),hC(e,t),pC(e,t),t[w].type===1&&t[B].destroy();let r=t[vn];if(r!==null&&Ze(t[de])){r!==t[de]&&yd(r,t);let o=t[Mt];o!==null&&o.detachView(e)}bl(t)}finally{b(n)}}function pC(e,t){let n=e.cleanup,r=t[Kr];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]==`string`){let a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(t[Kr]=null);let o=t[$t];if(o!==null){t[$t]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[hn];if(i!==null){t[hn]=null;for(let s of i)s.destroy()}}function hC(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let o=t[n[r]];if(!(o instanceof pr)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];V(F.LifecycleHookStart,a,c);try{c.call(a)}finally{V(F.LifecycleHookEnd,a,c)}}else{V(F.LifecycleHookStart,o,i);try{i.call(o)}finally{V(F.LifecycleHookEnd,o,i)}}}}}function vm(e,t,n){return gC(e,t.parent,n)}function gC(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[lt];if(qt(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===mt.None||o===mt.Emulated)return null}return ke(r,n)}function Dm(e,t,n){return yC(e,t,n)}function mC(e,t,n){return e.type&40?ke(e,n):null}var yC=mC;var zh;function vd(e,t,n,r){let o=vm(e,r,t),i=t[B],a=Dm(r.parent||t[ye],r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)jh(i,o,n[c],a,!1);else jh(i,o,n,a,!1);zh!==void 0&&zh(i,r,t,n,o)}function ci(e,t){if(t!==null){let n=t.type;if(n&3)return ke(t,e);if(n&4)return Ll(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return ci(e,r);{let o=e[t.index];return Ze(o)?Ll(-1,o):ge(o)}}else{if(n&128)return ci(e,t.next);if(n&32)return gd(t,e)()||ge(e[t.index]);{let r=Em(e,t);if(r!==null){if(Array.isArray(r))return r[0];return ci(Ut(e[_e]),r)}else return ci(e,t.next)}}}return null}function Em(e,t){if(t!==null){let r=e[_e][ye],o=t.projection;return r.projection[o]}return null}function Ll(e,t){let n=Y+e+1;if(n<t.length){let r=t[n],o=r[w].firstChild;if(o!==null)return ci(r,o)}return t[nr]}function Dd(e,t,n,r,o,i,s){for(;n!=null;){let a=r[Oe];if(n.type===128){n=n.next;continue}let c=r[n.index],u=n.type;if(s&&t===0&&(c&&co(ge(c),r),n.flags|=2),!$a(n))if(u&8)Dd(e,t,n.child,r,o,i,!1),oo(t,e,a,o,c,n,i,r);else if(u&32){let l=gd(n,r),d;for(;d=l();)oo(t,e,a,o,d,n,i,r);oo(t,e,a,o,c,n,i,r)}else u&16?Im(e,t,r,n,o,i):oo(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next}}function Ya(e,t,n,r,o,i){e.type===3?vC(n,r,t,o,i):Dd(n,r,e.firstChild,t,o,i,!1)}function vC(e,t,n,r,o){let s=n[w].firstChild,a=s.next,c=ge(n[s.index]),u=ge(n[a.index]),l=a.index+1,d=n[l];if(t===1||t===0)r!==null&&(d&&d.hasChildNodes()?dr(e,r,d,o,!0):(dr(e,r,c,o,!0),dr(e,r,u,o,!0)));else if(t===2){if(d||(d=document.createDocumentFragment(),n[l]=d),c&&c.parentNode===d)return;let p=c;for(;p!==null;){let f=p.nextSibling;if(d.appendChild(p),p===u)break;p=f}}}function DC(e,t,n){let r=t[B];Im(r,0,t,n,vm(e,n,t),Dm(n.parent||t[ye],n,t))}function Im(e,t,n,r,o,i){let s=n[_e],c=s[ye].projection[r.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];oo(t,e,n[Oe],o,l,r,i,n)}else{let u=c,l=s[de];Ng(r)&&(u.flags|=128),Dd(e,t,u,l,o,i,!0)}}function EC(e,t,n,r,o,i,s){let a=r[nr];if(a!==ge(r)&&oo(t,e,n,i,a,o,s),(r[_]&4)===0)for(let u=Y;u<r.length;u++){let l=r[u];Ya(l[w],l,e,t,i,a)}}function IC(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf(`-`)===-1?void 0:yt.DashCase;o==null?e.removeStyle(n,r,i):(typeof o==`string`&&o.endsWith(`!important`)&&(o=o.slice(0,-10),i|=yt.Important),e.setStyle(n,r,o,i))}}function Ed(e,t,n,r,o,i,s,a,c,u,l){let d=U+r,p=d+o,f=wC(d,p),h=typeof u==`function`?u():u;return f[w]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i==`function`?i():i,pipeRegistry:typeof s==`function`?s():s,firstChild:null,schemas:c,consts:h,incompleteFirstPass:!1,ssrId:l}}function wC(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:re);return n}function CC(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Ed(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Id(e,t,n,r,o,i,s,a,c,u,l){let d=t.blueprint.slice();return d[lt]=o,d[_]=r|1228,(u!==null||e&&e[_]&2048)&&(d[_]|=2048),Uu(d),d[de]=d[yn]=e,d[ne]=n,d[dt]=s||e&&e[dt],d[B]=a||e&&e[B],d[Oe]=c||e&&e[Oe]||null,d[ye]=i,d[Nt]=HI(),d[Jn]=l,d[Bu]=u,d[_e]=t.type==2?e[_e]:d,d}function bC(e,t,n){let r=ke(t,e),o=CC(n),i=e[dt].rendererFactory,s=wd(e,Id(e,o,null,wm(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function wm(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Cm(e,t,n,r){if(n===0)return-1;let o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function wd(e,t){return e[Qr]?e[ju][qe]=t:e[Qr]=t,e[ju]=t,t}function se(e=1){bm(H(),E(),Se()+e,!1)}function bm(e,t,n,r){if(!r)if((t[_]&3)===3){let i=e.preOrderCheckHooks;i!==null&&ga(t,i,n)}else{let i=e.preOrderHooks;i!==null&&ma(t,i,0,n)}In(n)}var Ka=(function(e){return e[e.None=0]=`None`,e[e.SignalBased=1]=`SignalBased`,e[e.HasDecoratorInputTransform=2]=`HasDecoratorInputTransform`,e})(Ka||{});function hr(e,t,n,r){let o=b(null);try{let[i,s,a]=e.inputs[n],c=null;(s&Ka.SignalBased)!==0&&(c=t[i][te]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(t,r)),e.setInput!==null?e.setInput(t,c,r,n,i):pg(t,c,i,r)}finally{b(o)}}function Tm(e,t,n,r,o){let i=Se(),s=r&2;try{In(-1),s&&t.length>U&&bm(e,t,U,!1);V(s?F.TemplateUpdateStart:F.TemplateCreateStart,o,n),n(r,o)}finally{In(i);V(s?F.TemplateUpdateEnd:F.TemplateCreateEnd,o,n)}}function Qa(e,t,n){xC(e,t,n),(n.flags&64)===64&&AC(e,t,n)}function ho(e,t,n=ke){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?n(t,e):e[s];e[o++]=a}}}function TC(e,t,n,r){let i=r.get(Pg,Lg)||n===mt.ShadowDom||n===mt.ExperimentalIsolatedShadowDom;return e.selectRootElement(t,i)}function MC(e){return e===`class`?`className`:e===`for`?`htmlFor`:e===`formaction`?`formAction`:e===`innerHtml`?`innerHTML`:e===`readonly`?`readOnly`:e===`tabindex`?`tabIndex`:e}function _m(e,t,n,r,o,i){let s=t[w];if(bd(e,s,t,n,r)){qt(e)&&NC(t,e.index);return}e.type&3&&(n=MC(n)),Sm(e,t,n,r,o,i)}function Sm(e,t,n,r,o,i){if(e.type&3){let s=ke(e,t);r=i!=null?i(r,e.value||``,n):r,o.setProperty(s,n,r)}else e.type&12}function NC(e,t){let n=Ye(t,e);n[_]&16||(n[_]|=64)}function xC(e,t,n){let r=n.directiveStart,o=n.directiveEnd;qt(n)&&bC(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||Ca(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=di(t,e,s,n);if(co(c,t),i!==null&&FC(t,s-r,c,a,n,i),pt(a)){let u=Ye(n.index,t);u[ne]=di(t,e,s,n)}}}function AC(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=ah();try{In(i);for(let a=r;a<o;a++){let c=e.data[a],u=t[a];ta(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&RC(c,u)}}finally{In(-1),ta(s)}}function RC(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Cd(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];nm(t,i.selectors,!1)&&(r??=[],pt(i)?r.unshift(i):r.push(i))}return r}function OC(e,t,n,r,o,i){let s=ke(e,t);kC(t[B],s,i,e.value,n,r,o)}function kC(e,t,n,r,o,i,s){if(i==null)s?.(i,r||``,o),e.removeAttribute(t,o,n);else{let a=s==null?fe(i):s(i,r||``,o);e.setAttribute(t,o,a,n)}}function FC(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],u=s[a+1];hr(r,n,c,u)}}function Xa(e,t,n,r,o){let i=U+n,s=t[w],a=o(s,t,e,r,n);t[i]=a,sr(e,!0);let c=e.type===2;return c?(Qg(t[B],a,e),(th()===0||Xr(e))&&co(a,t),nh()):co(a,t),ia()&&(!c||!$a(e))&&vd(s,t,a,e),e}function Ja(e){let t=e;return Xu()?Ju():(t=t.parent,sr(t,!1)),t}function LC(e,t){let n=e[Oe];if(!n)return;let r;try{r=n.get(wn,null)}catch(o){r=null}r?.(t)}function bd(e,t,n,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let c=0;c<s.length;c+=2){let u=s[c],l=s[c+1],d=t.data[u];hr(d,n[u],l,o),a=!0}if(i)for(let c of i){let u=n[c],l=t.data[c];hr(l,u,r,o),a=!0}return a}function PC(e,t,n,r,o,i){let s=null,a=null,c=null,u=!1,l=e.directiveToIndex.get(r.type);if(typeof l==`number`?s=l:[s,a,c]=l,a!==null&&c!==null&&e.hostDirectiveInputs?.hasOwnProperty(o)){let d=e.hostDirectiveInputs[o];for(let p=0;p<d.length;p+=2){let f=d[p];if(f>=a&&f<=c){let h=t.data[f],y=d[p+1];hr(h,n[f],y,i),u=!0}else if(f>c)break}}return s!==null&&r.inputs.hasOwnProperty(o)&&(hr(r,n[s],o,i),u=!0),u}function jC(e,t){let n=Ye(t,e),r=n[w];BC(r,n);let o=n[lt];o!==null&&n[Jn]===null&&(n[Jn]=jg(o,n[Oe])),V(F.ComponentStart);try{Td(r,n,n[ne])}finally{V(F.ComponentEnd,n[ne])}}function BC(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Td(e,t,n){ra(t);try{let r=e.viewQuery;r!==null&&_l(1,r,n);let o=e.template;o!==null&&Tm(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Mt]?.finishViewCreation(e),e.staticContentQueries&&Bg(e,t),e.staticViewQueries&&_l(2,e.viewQuery,n);let i=e.components;i!==null&&VC(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[_]&=-5,oa()}}function VC(e,t){for(let n=0;n<t.length;n++)jC(e,t[n])}function bi(e,t,n,r){let o=b(null);try{let i=t.tView,c=Id(e,i,n,e[_]&4096?4096:16,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null);c[vn]=e[t.index];let l=e[Mt];return l!==null&&(c[Mt]=l.createEmbeddedView(i)),Td(i,c,n),c}finally{b(o)}}function uo(e,t){return!t||t.firstChild===null||Ng(e)}function pi(e,t,n,r,o=!1){if(e.type===3){let i=e.firstChild,s=i.next,a=ge(t[i.index]),c=ge(t[s.index]),u=a;for(;u!==null&&(r.push(u),u!==c);)u=u.nextSibling;return r}for(;n!==null;){if(n.type===128){n=o?n.projectionNext:n.next;continue}let i=t[n.index];if(i!==null)if(Ze(i)){let a=i[nr];a!==i[lt]&&r.push(ge(i)),i[_]&4||Mm(i,r),r.push(a)}else r.push(ge(i));let s=n.type;if(s&8)pi(e,t,n.child,r);else if(s&32){let a=gd(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=Em(t,n);if(Array.isArray(a))r.push(...a);else{let c=Ut(t[_e]);pi(c[w],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Mm(e,t){for(let n=Y;n<e.length;n++){let r=e[n],o=r[w].firstChild;o!==null&&pi(r[w],r,o,t)}}function Nm(e){if(e[tr]!==null){for(let t of e[tr])t.impl.addSequence(t);e[tr].length=0}}var xm=[];function HC(e){return e[He]??$C(e)}function $C(e){let t=xm.pop()??Object.create(zC);return t.lView=e,t}function UC(e){e.lView[He]!==e&&(e.lView=null,xm.push(e))}var zC=x$1(w$1({},cn),{consumerIsAlwaysLive:!0,kind:`template`,consumerMarkedDirty:e=>{ir(e.lView)},consumerOnSignalRead(){this.lView[He]=this}});function GC(e){let t=e[He]??Object.create(WC);return t.lView=e,t}var WC=x$1(w$1({},cn),{consumerIsAlwaysLive:!0,kind:`template`,consumerMarkedDirty:e=>{let t=Ut(e.lView);for(;t&&!Am(t[w]);)t=Ut(t);t&&zu(t)},consumerOnSignalRead(){this.lView[He]=this}});function Am(e){return e.type!==2}function Rm(e){if(e[hn]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[hn])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[_]&8192)}}var qC=100;function Om(e,t=0){let r=e[dt].rendererFactory;r.begin?.();try{ZC(e,t)}finally{r.end?.()}}function ZC(e,t){let n=tl();try{Lo(!0),Pl(e,t);let r=0;for(;Yo(e);){if(r===qC)throw new m(103,!1);r++,Pl(e,1)}}finally{Lo(n)}}function YC(e,t,n,r){if(or(t))return;let o=t[_];ra(t);let a=!0,c=null,u=null;Am(e)?(u=HC(t),c=ln(u)):Ms()===null?(a=!1,u=GC(t),c=ln(u)):t[He]&&(Wn(t[He]),t[He]=null);try{Uu(t),oh(e.bindingStartIndex),n!==null&&Tm(e,t,n,2,r);let l=(o&3)===3;if(l){let f=e.preOrderCheckHooks;f!==null&&ga(t,f,null)}else{let f=e.preOrderHooks;f!==null&&ma(t,f,0,null),ll(t,0)}if(KC(t),Rm(t),km(t,0),e.contentQueries!==null&&Bg(e,t),true)if(l){let f=e.contentCheckHooks;f!==null&&ga(t,f)}else{let f=e.contentHooks;f!==null&&ma(t,f,1),ll(t,1)}XC(e,t);let d=e.components;d!==null&&Lm(t,d,0);let p=e.viewQuery;if(p!==null&&_l(2,p,r),true)if(l){let f=e.viewCheckHooks;f!==null&&ga(t,f)}else{let f=e.viewHooks;f!==null&&ma(t,f,2),ll(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Zs]){for(let f of t[Zs])f();t[Zs]=null}Nm(t),t[_]&=-73}catch(l){throw ir(t),l}finally{u!==null&&(Gn(u,c),a&&UC(u)),oa()}}function km(e,t){for(let n=Ag(e);n!==null;n=Rg(n))for(let r=Y;r<n.length;r++){let o=n[r];Fm(o,t)}}function KC(e){for(let t=Ag(e);t!==null;t=Rg(t)){if(!(t[_]&2))continue;let n=t[rr];for(let r=0;r<n.length;r++){let o=n[r];zu(o)}}}function QC(e,t,n){V(F.ComponentStart);let r=Ye(t,e);try{Fm(r,n)}finally{V(F.ComponentEnd,r[ne])}}function Fm(e,t){Qs(e)&&Pl(e,t)}function Pl(e,t){let r=e[w],o=e[_],i=e[He],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&No(i)),s||=!1,i&&(i.dirty=!1),e[_]&=-9217,s)YC(r,e,r.template,e[ne]);else if(o&8192){let a=b(null);try{Rm(e),km(e,1);let c=r.components;c!==null&&Lm(e,c,1),Nm(e)}finally{b(a)}}}function Lm(e,t,n){for(let r=0;r<t.length;r++)QC(e,t[r],n)}function XC(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let o=n[r];if(o<0)In(~o);else{let i=o,s=n[++r],a=n[++r];sh(s,i);let c=t[i];V(F.HostBindingsUpdateStart,c);try{a(2,c)}finally{V(F.HostBindingsUpdateEnd,c)}}}}finally{In(-1)}}function _d(e,t){let n=tl()?64:1088;for(e[dt].changeDetectionScheduler?.notify(t);e;){e[_]|=n;let r=Ut(e);if(Jr(e)&&!r)return e;e=r}return null}function Pm(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function jm(e,t){let n=Y+t;if(n<e.length)return e[n]}function Ti(e,t,n,r=!0){let o=t[w];if(JC(o,t,e,n),r){let s=Ll(n,e),a=t[B],c=a.parentNode(e[nr]);c!==null&&dC(o,e[ye],a,t,c,s)}let i=t[Jn];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Bm(e,t){let n=hi(e,t);return n!==void 0&&Za(n[w],n),n}function hi(e,t){if(e.length<=Y)return;let n=Y+t,r=e[n];if(r){let o=r[vn];o!==null&&o!==e&&yd(o,r),t>0&&(e[n-1][qe]=r[qe]);let i=Uo(e,Y+t);lC(r[w],r);let s=i[Mt];s!==null&&s.detachView(i[w]),r[de]=null,r[qe]=null,r[_]&=-129}return r}function JC(e,t,n,r){let o=Y+r,i=n.length;r>0&&(n[o-1][qe]=t),r<i-Y?(t[qe]=n[o],Ou(n,Y+r,t)):(n.push(t),t[qe]=null),t[de]=n;let s=t[vn];s!==null&&n!==s&&Vm(s,t);let a=t[Mt];a!==null&&a.insertView(e),Xs(t),t[_]|=128}function Vm(e,t){let n=e[rr],r=t[de];if(Wt(r))e[_]|=2;else{let o=r[de][_e];t[_e]!==o&&(e[_]|=2)}n===null?e[rr]=[t]:n.push(t)}var _n=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[w];return pi(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[ne]}set context(t){this._lView[ne]=t}get destroyed(){return or(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[de];if(Ze(t)){let n=t[Wo],r=n?n.indexOf(this):-1;r>-1&&(hi(t,r),Uo(n,r))}this._attachedToViewContainer=!1}Za(this._lView[w],this._lView)}onDestroy(t){Js(this._lView,t)}markForCheck(){_d(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[_]&=-129}reattach(){Xs(this._lView),this._lView[_]|=128}detectChanges(){this._lView[_]|=1024,Om(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new m(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Jr(this._lView),n=this._lView[vn];n!==null&&!t&&yd(n,this._lView),ym(this._lView[w],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new m(902,!1);this._appRef=t;let n=Jr(this._lView),r=this._lView[vn];r!==null&&!n&&Vm(r,this._lView),Xs(this._lView)}};var gr=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=eb;constructor(n,r,o){this._declarationLView=n,this._declarationTContainer=r,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,r){return this.createEmbeddedViewImpl(n,r)}createEmbeddedViewImpl(n,r,o){return new _n(bi(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o}))}}return e})();function eb(){return ec(X(),E())}function ec(e,t){return e.type&4?new gr(t,e,po(e,t)):null}function Er(e,t,n,r,o){let i=e.data[t];if(i===null)i=tb(e,t,n,r,o),ih()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=rh();i.injectorIndex=s===null?-1:s.injectorIndex}return sr(i,!0),i}function tb(e,t,n,r,o){let i=Qu(),s=Xu(),a=s?i:i&&i.parent,c=e.data[t]=rb(e,a,n,t,r,o);return nb(e,c,i,s),c}function nb(e,t,n,r){e.firstChild===null&&(e.firstChild=t),n!==null&&(r?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function rb(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Zu()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,controlDirectiveIndex:-1,customControlIndex:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,namespace:ol(),attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function ob(e){let t=e[Vu]??[],r=e[de][B],o=[];for(let i of t)i.data[Fg]!==void 0?o.push(i):ib(i,r);e[Vu]=o}function ib(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[kg];for(;n<o;){let i=r.nextSibling;Kg(t,r,!1),r=i,n++}}}var sb=()=>null;var ab=()=>null;function Na(e,t){return sb(e,t)}function Hm(e,t,n){return ab(e,t,n)}var $m=class{};var mr=class{};var yr=class{destroyNode=null;static __NG_ELEMENT_ID__=()=>cb()};function cb(){let e=E(),n=Ye(X().index,e);return(Wt(n)?n:e)[B]}var Um=(()=>{class e{static ɵprov=C({token:e,providedIn:`root`,factory:()=>null})}return e})();function zm(e){return e.debugInfo?.className||e.type.name||null}var va={};var xa=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,va,r);return o!==va||n===va?o:this.parentInjector.get(t,n,r)}};function Sd(e){return e!==null&&(typeof e==`function`||typeof e==`object`)}function _i(e,t,n){return e[t]=n}function Gm(e,t){return e[t]}function Ne(e,t,n){if(n===re)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function gi(e,t,n,r){let o=Ne(e,t,n);return Ne(e,t+1,r)||o}function Wm(e,t,n,r,o){let i=gi(e,t,n,r);return Ne(e,t+2,o)||i}function Md(e,t,n,r,o,i){let s=gi(e,t,n,r);return gi(e,t+2,o,i)||s}function fr(e,t,n){return function r(o){let i=r.__ngNativeEl__;i!==void 0&&zI(o,i);_d(qt(e)?Ye(e.index,t):t,5);let a=t[ne],c=Gh(t,a,n,o),u=r.__ngNextListenerFn__;for(;u;)c=Gh(t,a,u,o)&&c,u=u.__ngNextListenerFn__;return c}}function Gh(e,t,n,r){let o=b(null);try{return V(F.OutputStart,t,n),n(r)!==!1}catch(i){return LC(e,i),!1}finally{V(F.OutputEnd,t,n),b(o)}}function Nd(e,t,n,r,o,i,s,a){let c=Xr(e),u=!1,l=null;if(!r&&c&&(l=lb(t,n,i,e.index)),l!==null){let d=l.__ngLastListenerFn__||l;d.__ngNextListenerFn__=s,l.__ngLastListenerFn__=s,u=!0}else{let d=ke(e,n),p=r?r(d):d;r||(a.__ngNativeEl__=d);let f=o.listen(p,i,a);if(!ub(i))qm(r?y=>r(ge(y[e.index])):e.index,t,n,i,a,f,!1)}return u}function ub(e){return e.startsWith(`animation`)||e.startsWith(`transition`)}function lb(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===n&&o[i+1]===r){let a=t[Kr],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s==`string`&&(i+=2)}return null}function qm(e,t,n,r,o,i,s){let a=t.firstCreatePass?Wu(t):null,c=Gu(n),u=c.length;c.push(o,i),a&&a.push(r,e,u,(u+1)*(s?-1:1))}function Wh(e,t,n,r,o){let i=null,s=null,a=null,c=!1,u=e.directiveToIndex.get(n.type);if(typeof u==`number`?i=u:[i,s,a]=u,s!==null&&a!==null&&e.hostDirectiveOutputs?.hasOwnProperty(r)){let l=e.hostDirectiveOutputs[r];for(let d=0;d<l.length;d+=2){let p=l[d];if(p>=s&&p<=a)c=!0,Aa(e,t,p,l[d+1],r,o);else if(p>a)break}}return n.outputs.hasOwnProperty(r)&&(c=!0,Aa(e,t,i,r,r,o)),c}function Aa(e,t,n,r,o,i){let s=t[n],a=t[w],d=s[a.data[n].outputs[r]].subscribe(i);qm(e.index,a,t,o,i,d,!0)}function db(){fb()}function fb(){let e=E(),t=H(),n=X();if(t.firstCreatePass&&gb(t,n),n.controlDirectiveIndex===-1)return;xe(`NgSignalForms`);let r=e[n.controlDirectiveIndex];t.data[n.controlDirectiveIndex].controlDef.create(r,new Ra(e,t,n))}function pb(){hb()}function hb(){let e=E(),t=H(),n=cr();if(n.controlDirectiveIndex===-1)return;let r=t.data[n.controlDirectiveIndex].controlDef,o=e[n.controlDirectiveIndex];r.update(o,new Ra(e,t,n))}var Ra=class{lView;tView;tNode;hasPassThrough;constructor(t,n,r){this.lView=t,this.tView=n,this.tNode=r,this.hasPassThrough=!!(r.flags&4096)}get customControl(){return this.tNode.customControlIndex!==-1?this.lView[this.tNode.customControlIndex]:void 0}get nativeElement(){return ke(this.tNode,this.lView)}get descriptor(){return`<${this.tNode.value}>`}listenToCustomControlOutput(t,n){let r=this.tView.data[this.tNode.customControlIndex];Wh(this.tNode,this.lView,r,t,fr(this.tNode,this.lView,n))}listenToCustomControlModel(t){let n=this.tNode.flags&1024?`valueChange`:`checkedChange`,r=this.tView.data[this.tNode.customControlIndex];Wh(this.tNode,this.lView,r,n,fr(this.tNode,this.lView,t))}listenToDom(t,n){Nd(this.tNode,this.tView,this.lView,void 0,this.lView[B],t,n,fr(this.tNode,this.lView,n))}setInputOnDirectives(t,n){let r=this.tNode.inputs?.[t],o=this.tNode.hostDirectiveInputs?.[t];if(!r&&!o)return!1;let i=!1;if(r)for(let s of r){if(s===this.tNode.controlDirectiveIndex)continue;let a=this.tView.data[s],c=this.lView[s];hr(a,c,t,n),i=!0}if(o)for(let s=0;s<o.length;s+=2){let a=o[s];if(a===this.tNode.controlDirectiveIndex)continue;let c=o[s+1],u=this.tView.data[a],l=this.lView[a];hr(u,l,c,n),i=!0}return i}setCustomControlModelInput(t){let n=this.tView.data[this.tNode.customControlIndex],r=this.tNode.flags&1024?`value`:`checked`;PC(this.tNode,this.tView,this.lView,n,r,t)}customControlHasInput(t){if(this.tNode.customControlIndex===-1)return!1;let n=this.tView.data[this.tNode.customControlIndex];return(n.signalFormsInputPresence??=this._buildCustomControlInputCache(n))[t]===!0}_buildCustomControlInputCache(t){let n={};for(let r in t.inputs)n[r]=!0;if(t.hostDirectives!==null){let r=[...t.hostDirectives];for(;r.length>0;){let o=r.shift();if(typeof o!=`function`){for(let s in o.inputs)n[o.inputs[s]]=!0;let i=qh(o.directive);i!==null&&r.push(...i);continue}for(let i of o()){if(typeof i==`function`)continue;if(i.inputs)for(let a=0;a<i.inputs.length;a+=2){let c=i.inputs[a+1]||i.inputs[a];n[c]=!0}let s=qh(i.directive);s!==null&&r.push(...s)}}}return n}};function qh(e){return typeof e==`function`&&`ɵdir`in e?e.ɵdir.hostDirectives??null:null}function gb(e,t,n){for(let o=t.directiveStart;o<t.directiveEnd;o++)if(e.data[o].controlDef){t.controlDirectiveIndex=o;break}if(t.controlDirectiveIndex===-1)return;let r=e.data[t.controlDirectiveIndex].controlDef;if(r.passThroughInput&&(t.inputs?.[r.passThroughInput]?.length??0)>1){t.flags|=4096;return}mb(e,t)}function mb(e,t){for(let n=t.directiveStart;n<t.directiveEnd;n++){let r=e.data[n];if(!(t.directiveToIndex&&!t.directiveToIndex.has(r.type))){if(Zh(r,`value`)){t.flags|=1024,t.customControlIndex=n;return}if(Zh(r,`checked`)){t.flags|=2048,t.customControlIndex=n;return}}}if(t.hostDirectiveInputs!==null&&t.hostDirectiveOutputs!==null&&t.directiveToIndex!==null){let n=(r,o)=>{let i=t.hostDirectiveInputs[r],s=t.hostDirectiveOutputs[r+`Change`];if(!i||!s)return!1;for(let a=0;a<i.length;a+=2){let c=i[a];for(let u=0;u<s.length;u+=2)if(c===s[u])for(let d of t.directiveToIndex.values()){if(!Array.isArray(d))continue;let[p,f,h]=d;if(c>=f&&c<=h)return t.flags|=o,t.customControlIndex=p,!0}}return!1};if(n(`value`,1024)||n(`checked`,2048))return}}function Zh(e,t){return yb(e,t)&&vb(e,t+`Change`)}function yb(e,t){return t in e.inputs}function vb(e,t){return t in e.outputs}var jl=Symbol(`BINDING`);var Ir=new I(``);function Oa(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s<t.length;s++){let a=t[s];if(typeof a==`number`)i=a;else if(i==1)o=Bs(o,a);else if(i==2){let c=a,u=t[++s];r=Bs(r,c+`: `+u+`;`)}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function Ae(e,t=0){let n=E();if(n===null)return x(e,t);return Tg(X(),n,le(e),t)}function Db(){throw new Error(`invalid`)}function Zm(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let a=s,c=null,u=null;for(let l of s)if(l.resolveHostDirectives!==null){[a,c,u]=l.resolveHostDirectives(s);break}wb(e,t,n,a,i,c,u)}i!==null&&r!==null&&Eb(n,r,i)}function Eb(e,t,n){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new m(-301,!1);r.push(t[o],i)}}function Ib(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function wb(e,t,n,r,o,i,s){let a=r.length,c=null;for(let p=0;p<a;p++){let f=r[p];c===null&&pt(f)&&(c=f,Ib(e,n,p)),wl(Ca(n,t),e,f.type)}Mb(n,e.data.length,a),c?.viewProvidersResolver&&c.viewProvidersResolver(c);for(let p=0;p<a;p++){let f=r[p];f.providersResolver&&f.providersResolver(f)}let u=!1,l=!1,d=Cm(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(n.mergedAttrs=ao(n.mergedAttrs,f.hostAttrs),bb(e,n,t,d,f),Sb(d,f,o),s!==null&&s.has(f)){let[y,v]=s.get(f);n.directiveToIndex.set(f.type,[d,y+n.directiveStart,v+n.directiveStart])}else(i===null||!i.has(f))&&n.directiveToIndex.set(f.type,d);f.contentQueries!==null&&(n.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(n.flags|=64);let h=f.type.prototype;!u&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),u=!0),!l&&(h.ngOnChanges||h.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),l=!0),d++}Cb(e,n,i)}function Cb(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))Yh(0,t,o,r),Yh(1,t,o,r),Qh(t,r,!1);else{let i=n.get(o);Kh(0,t,i,r),Kh(1,t,i,r),Qh(t,r,!0)}}}function Yh(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s;e===0?s=t.inputs??={}:s=t.outputs??={},s[i]??=[],s[i].push(r),Ym(t,i)}}function Kh(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],a;e===0?a=t.hostDirectiveInputs??={}:a=t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),Ym(t,s)}}function Ym(e,t){t===`class`?e.flags|=8:t===`style`&&(e.flags|=16)}function Qh(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||hd(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c==`number`)break;if(!n&&o.hasOwnProperty(c)){let u=o[c];for(let l of u)if(l===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&i.hasOwnProperty(c)){let u=i[c];for(let l=0;l<u.length;l+=2)if(u[l]===t){s??=[],s.push(u[l+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function bb(e,t,n,r,o){e.data[r]=o;let s=new pr(o.factory||(o.factory=pn(o.type,!0)),pt(o),Ae,null);e.blueprint[r]=s,n[r]=s,Tb(e,t,r,Cm(e,n,o.hostVars,re),o)}function Tb(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;_b(s)!=a&&s.push(a),s.push(n,r,i)}}function _b(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n==`number`&&n<0)return n}return 0}function Sb(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;pt(t)&&(n[``]=e)}}function Mb(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function xd(e,t,n,r,o,i,s,a){let c=t[w],u=c.consts,d=Er(c,e,n,r,Ke(u,s));return i&&Zm(c,t,d,Ke(u,a),o),d.mergedAttrs=ao(d.mergedAttrs,d.attrs),d.attrs!==null&&Oa(d,d.attrs,!1),d.mergedAttrs!==null&&Oa(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function Ad(e,t){mg(e,t),Hu(t)&&e.queries.elementEnd(t)}function Km(e,t,n,r,o,i){let s=t.consts,c=Er(t,e,n,r,Ke(s,o));if(c.mergedAttrs=ao(c.mergedAttrs,c.attrs),i!=null){let u=Ke(s,i);c.localNames=[];for(let l=0;l<u.length;l+=2)c.localNames.push(u[l],-1)}return c.attrs!==null&&Oa(c,c.attrs,!1),c.mergedAttrs!==null&&Oa(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}var Qm=typeof ShadowRoot<`u`;var Nb=typeof Document<`u`;function xb(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&Ka.SignalBased)!==0};return o&&(i.transform=o),i})}function Ab(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function Rb(e,t,n){let r=t instanceof Te?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new xa(n,r):n}function Ob(e){let t=e.get(mr,null);if(t===null)throw new m(407,!1);return{rendererFactory:t,sanitizer:e.get(Um,null),changeDetectionScheduler:e.get(zt,null),ngReflect:!1,tracingService:e.get(Kt,null,{optional:!0})}}function kb(e,t){let n=Xm(e);return Zg(t,n,n===`svg`?Gr:n===`math`?Ys:null)}function Fb(e){if((e&&`localName`in e&&typeof e.localName==`string`?e.localName:e?.tagName)?.toLowerCase()===`script`)throw new m(905,!1)}function Xm(e){return(e.selectors[0][0]||`div`).toLowerCase()}var lo=class{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=xb(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=Ab(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=jw(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){V(F.DynamicComponentStart);let a=b(null);try{let c=this.componentDef,u=Rb(c,o||this.ngModule,t),l=Ob(u),d=l.tracingService;return d&&d.componentCreate?d.componentCreate(zm(c),()=>this.createComponentRef(l,u,n,r,i,s)):this.createComponentRef(l,u,n,r,i,s)}finally{b(a)}}createComponentRef(t,n,r,o,i,s){let a=this.componentDef,c=Lb(o,a,s,i),u=t.rendererFactory.createRenderer(null,a),l=o?TC(u,o,a.encapsulation,n):kb(a,u);Fb(l);let d=n.get(Ir,null),p=Pb(l,()=>n.get(G,null)??sd());d&&d.addHost(p);let f=s?.some(Xh)||i?.some(v=>typeof v!=`function`&&v.bindings.some(Xh)),h=Id(null,c,null,512|wm(a),null,null,t,u,n,null,jg(l,n,!0));d&&Qm&&p instanceof ShadowRoot&&Js(h,()=>{d.removeHost(p)}),h[U]=l,ra(h);let y=null;try{let v=xd(U,h,2,`#host`,()=>c.directiveRegistry,!0,0);Qg(u,l,v),co(l,h),Qa(c,h,v),ad(c,v,h),Ad(c,v),r!==void 0&&Bb(v,this.ngContentSelectors,r),y=Ye(v.index,h),h[ne]=y[ne],Td(c,h,null)}catch(v){throw y!==null&&bl(y),bl(h),v}finally{V(F.DynamicComponentEnd),oa()}return new ka(this.componentType,h,!!f)}};function Lb(e,t,n,r){let o=e?[`ng-version`,`22.1.2`]:Bw(t.selectors[0]),i=null,s=null,a=0;if(n)for(let l of n)a+=l[jl].requiredVars,l.create&&(l.targetIdx=0,(i??=[]).push(l)),l.update&&(l.targetIdx=0,(s??=[]).push(l));if(r)for(let l=0;l<r.length;l++){let d=r[l];if(typeof d!=`function`)for(let p of d.bindings){a+=p[jl].requiredVars;let f=l+1;p.create&&(p.targetIdx=f,(i??=[]).push(p)),p.update&&(p.targetIdx=f,(s??=[]).push(p))}}let c=[t];if(r)for(let l of r){let p=$s(typeof l==`function`?l:l.type);c.push(p)}return Ed(0,null,jb(i,s),1,a,c,null,null,null,[o],null)}function Pb(e,t){let n=e.getRootNode?.();return Nb&&n instanceof Document?n.head:n&&Qm&&n instanceof ShadowRoot?n:t().head}function jb(e,t){return!e&&!t?null:n=>{if(n&1&&e)for(let r of e)r.create();if(n&2&&t)for(let r of t)r.update()}}function Xh(e){let t=e[jl].kind;return t===`input`||t===`twoWay`}var ka=class extends $m{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=Ks(n[w],U),this.location=po(this._tNode,n),this.instance=Ye(this._tNode.index,n)[ne],this.hostView=this.changeDetectorRef=new _n(n,void 0),this.componentType=t}setInput(t,n){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let o=this._rootLView;bd(r,o[w],o,t,n);this.previousInputValues.set(t,n);_d(Ye(r.index,o),1)}get injector(){return new bn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function Bb(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null&&i.length?Array.from(i):null)}}var wr=(()=>{class e{static __NG_ELEMENT_ID__=Vb}return e})();function Vb(){return Jm(X(),E())}var Bl=class e extends wr{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return po(this._hostTNode,this._hostLView)}get injector(){return new bn(this._hostTNode,this._hostLView)}get parentInjector(){let t=nd(this._hostTNode,this._hostLView);if(Dg(t)){let n=Ia(t,this._hostLView),r=Ea(t),o=n[w].data[r+8];return new bn(o,n)}else return new bn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Jh(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-Y}createEmbeddedView(t,n,r){let o,i;typeof r==`number`?o=r:r!=null&&(o=r.index,i=r.injector);let s=Na(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,uo(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c,u=n||{};c=u.index,r=u.injector,o=u.projectableNodes,i=u.environmentInjector||u.ngModuleRef,s=u.directives,a=u.bindings;let l=new lo(gn(t)),d=r||this.parentInjector;if(!i&&l.ngModule==null){let D=this.parentInjector.get(Te,null);D&&(i=D)}let p=gn(l.componentType??{}),f=Na(this._lContainer,p?.id??null),h=f?.firstChild??null,y=l.create(d,o,h,i,s,a);return this.insertImpl(y.hostView,c,uo(this._hostTNode,f)),y}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Qp(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[de],u=new e(c,c[ye],c[de]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Ti(s,o,i,r),t.attachToViewContainerRef(),Ou(pl(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Jh(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=hi(this._lContainer,n);r&&(Uo(pl(this._lContainer),n),Za(r[w],r))}detach(t){let n=this._adjustIndex(t,-1),r=hi(this._lContainer,n);return r&&Uo(pl(this._lContainer),n)!=null?new _n(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Jh(e){return e[Wo]}function pl(e){return e[Wo]||(e[Wo]=[])}function Jm(e,t){let n,r=t[e.index];return Ze(r)?n=r:(n=Pm(r,t,null,e),t[e.index]=n,wd(t,n)),$b(n,t,e,r),new Bl(n,e,t)}function Hb(e,t){let n=e[B],r=n.createComment(``),o=ke(t,e);return dr(n,n.parentNode(o),r,n.nextSibling(o),!1),r}var $b=Gb;var Ub=()=>!1;function zb(e,t,n){return Ub(e,t,n)}function Gb(e,t,n,r){if(e[nr])return;let o;n.type&8?o=ge(r):o=Hb(t,n),e[nr]=o}var Vl=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}};var Hl=class e{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i<r;i++){let s=n.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new e(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)Od(t,n).matches!==null&&this.queries[n].setDirty()}};var Fa=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t==`string`?this.predicate=Qb(t):this.predicate=t}};var $l=class e{queries;constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){let o=n!==null?n.length:0,i=this.getByIndex(r).embeddedTView(t,o);i&&(i.indexInDeclarationView=r,n!==null?n.push(i):n=[i])}return n!==null?new e(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}};var Ul=class e{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(t,n=-1){this.metadata=t,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,r=t.parent;for(;r!==null&&r.type&8&&r.index!==n;)r=r.parent;return n===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(t,n,Wb(n,i)),this.matchTNodeWithReadOption(t,n,ya(n,t,i,!1,!1))}else r===gr?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,ya(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===Xe||o===wr||o===gr&&n.type&4)this.addMatch(n.index,-2);else{let i=ya(n,t,o,!1,!1);i!==null&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n)}};function Wb(e,t){let n=e.localNames;if(n!==null){for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1]}return null}function qb(e,t){return e.type&11?po(e,t):e.type&4?ec(e,t):null}function Zb(e,t,n,r){return n===-1?qb(t,e):n===-2?Yb(e,t,r):di(e,e[w],n,t)}function Yb(e,t,n){if(n===Xe)return po(t,e);if(n===gr)return ec(t,e);if(n===wr)return Jm(t,e)}function ey(e,t,n,r){let o=t[Mt].queries[r];if(o.matches===null){let i=e.data,s=n.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let u=s[c];if(u<0)a.push(null);else{let l=i[u];a.push(Zb(t,l,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function zl(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=ey(e,t,o,n);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else{let u=i[a+1],l=t[-c];for(let d=Y;d<l.length;d++){let p=l[d];p[vn]===p[de]&&zl(p[w],p,u,r)}if(l[rr]!==null){let d=l[rr];for(let p=0;p<d.length;p++){let f=d[p];zl(f[w],f,u,r)}}}}}return r}function Rd(e,t){return e[Mt].queries[t].queryList}function ty(e,t,n){let r=new ba((n&4)===4);return eh(e,t,r,r.destroy),(t[Mt]??=new Hl).queries.push(new Vl(r))-1}function ny(e,t,n){let r=H();return r.firstCreatePass&&(ry(r,new Fa(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),ty(r,E(),t)}function Kb(e,t,n,r){let o=H();if(o.firstCreatePass){let i=X();ry(o,new Fa(t,n,r),i.index),Xb(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return ty(o,E(),n)}function Qb(e){return e.split(`,`).map(t=>t.trim())}function ry(e,t,n){e.queries===null&&(e.queries=new $l),e.queries.track(new Ul(t,n))}function Xb(e,t){let n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}function Od(e,t){return e.queries.getByIndex(t)}function oy(e,t){let n=e[w],r=Od(n,t);return r.crossesNgTemplate?zl(n,e,t,[]):ey(n,e,r,t)}function iy(e,t,n){let r,o=Ro(()=>{r._dirtyCounter();let i=eT(r,e);if(t&&i===void 0)throw new m(-951,!1);return i});return r=o[te],r._dirtyCounter=q(0),r._flatValue=void 0,o}function sy(e){return iy(!0,!1,e)}function ay(e){return iy(!0,!0,e)}function Jb(e,t){let n=e[te];n._lView=E(),n._queryIndex=t,n._queryList=Rd(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function eT(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[_]&4)return t?void 0:me;let o=Rd(n,r),i=oy(n,r);return o.reset(i,Mg),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}function tc(e){return!!e&&typeof e.then==`function`}function kd(e){return!!e&&typeof e.subscribe==`function`}var vr=class{};var cy=class{};var La=class extends vr{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=Op(t);this._bootstrapComponents=Sw(i.bootstrap),this._r3Injector=il(t,n,[{provide:vr,useValue:this},...r],Bo(t),new Set([`environment`])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}};var Pa=class extends cy{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new La(this.moduleType,t,[])}};var mi=class extends vr{injector;instance=null;constructor(t){super();let n=new Kn([...t.providers,{provide:vr,useValue:this}],t.parent||Zr(),t.debugName,new Set([`environment`]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function uy(e,t,n=null){return new mi({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var tT=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=Fu(!1,n.type),o=r.length>0?uy([r],this._injector,``):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static ɵprov=C({token:e,providedIn:`environment`,factory:()=>new e(x(Te))})}return e})();function nc(e){return Di(()=>{let t=ly(e),n=x$1(w$1({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection!==od.Eager,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(tT).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||mt.Emulated,styles:e.styles||me,_:null,schemas:e.schemas||null,tView:null,id:``});t.standalone&&xe(`NgStandalone`),dy(n);let r=e.dependencies;return n.directiveDefs=eg(r,nT),n.pipeDefs=eg(r,kp),n.id=iT(n),n})}function nT(e){return gn(e)||$s(e)}function go(e){return Di(()=>({type:e.type,bootstrap:e.bootstrap||me,declarations:e.declarations||me,imports:e.imports||me,exports:e.exports||me,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function rT(e,t){if(e==null)return mn;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=Ka.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function oT(e){if(e==null)return mn;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function Mn(e){return Di(()=>{let t=ly(e);return dy(t),t})}function Rt(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 ly(e){let t={};return{type:e.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||mn,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||me,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,signalFormsInputPresence:null,inputs:rT(e.inputs,t),outputs:oT(e.outputs),debugInfo:null}}function dy(e){e.features?.forEach(t=>t(e))}function eg(e,t){return e?()=>{let n=typeof e==`function`?e():e,r=[];for(let o of n){let i=t(o);i!==null&&r.push(i)}return r}:null}function iT(e){let t=0,n=typeof e.consts==`function`?``:e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let i of r.join(`|`))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,`c`+t}var fy=new I(``);var Fd=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=g(fy,{optional:!0})??[];injector=g(Q);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=Yr(this.injector,o);if(tc(i))n.push(i);else if(kd(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static ɵfac=function(r){return new(r||e)};static ɵprov=Qe({token:e,factory:e.ɵfac})}return e})();function sT(e){return t=>{t.controlDef={create:(n,r)=>{n?.ɵngControlCreate(r)},update:(n,r)=>{n?.ɵngControlUpdate?.(r)},passThroughInput:e}}}function aT(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.resolveHostDirectives=cT,n.hostDirectives=r?e.map(Gl):[e]):r?n.hostDirectives.unshift(...e.map(Gl)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function cT(e){let t=[],n=!1,r=null,o=null;for(let i=0;i<e.length;i++){let s=e[i];if(s.hostDirectives!==null){let a=t.length;r??=new Map,o??=new Map,py(s,t,r,e),o.set(s,[a,t.length-1])}i===0&&pt(s)&&(n=!0,t.push(s))}for(let i=n?1:0;i<e.length;i++)t.push(e[i]);return r!==null&&r.forEach((i,s)=>{uT(s.declaredInputs,i.inputs)}),[t,r,o]}function py(e,t,n,r){if(e.hostDirectives!==null)for(let o of e.hostDirectives)if(typeof o==`function`){let i=o();for(let s of i)tg(Gl(s),t,n,r)}else tg(o,t,n,r)}function tg(e,t,n,r){let o=$s(e.directive);if(py(o,t,n,r),n.has(o)){let i=n.get(o);ng(i,e.inputs,`input`),ng(i,e.outputs,`output`)}else r.includes(o)||(n.set(o,e),t.push(o))}function ng(e,t,n){let r=n===`input`?e.inputs:e.outputs;Object.keys(t).forEach(o=>{let i=t[o];(!r.hasOwnProperty(o)||r[o]===i)&&(r[o]=i)})}function Gl(e){return typeof e==`function`?{directive:le(e),inputs:{},outputs:{}}:{directive:le(e.directive),inputs:rg(e.inputs),outputs:rg(e.outputs)}}function rg(e){let t={};if(e!==void 0&&e.length>0)for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function uT(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n];e[r]=e[n]}}function lT(e){return Object.getPrototypeOf(e.prototype).constructor}function rc(e){let t=lT(e.type),n=!0,r=[e];for(;t&&t!==Function.prototype&&t!==Object.prototype;){let o,i=Object.hasOwn(t,Ho)?t[Ho]:void 0,s=Object.hasOwn(t,$o)?t[$o]:void 0;if(pt(e))o=i??s;else{if(i)throw new m(903,!1);o=s}if(o){if(n){r.push(o);let c=e;c.inputs=hl(e.inputs),c.declaredInputs=hl(e.declaredInputs),c.outputs=hl(e.outputs);let u=o.hostBindings;u&&gT(e,u);let l=o.viewQuery,d=o.contentQueries;if(l&&pT(e,l),d&&hT(e,d),dT(e,o),Rp(e.outputs,o.outputs),pt(o)&&o.data.animation){let p=e.data;p.animation=(p.animation||[]).concat(o.data.animation)}}let a=o.features;if(a)for(let c=0;c<a.length;c++){let u=a[c];u&&u.ngInherit&&u(e),u===rc&&(n=!1)}}t=Object.getPrototypeOf(t)}fT(r)}function dT(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let r=t.inputs[n];r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n])}}function fT(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=ao(o.hostAttrs,n=ao(n,o.hostAttrs))}}function hl(e){return e===mn?{}:e===me?[]:e}function pT(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function hT(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function gT(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function hy(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=ao(e.mergedAttrs,e.attrs);let l=e.tView=Ed(2,e,o,i,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);n.queries!==null&&(n.queries.template(n,e),l.queries=n.queries.embeddedTView(e))}a&&(e.flags|=a),sr(e,!1);let c=yT(n,t,e,r);ia()&&vd(n,t,c,e),co(c,t);let u=Pm(c,t,c,e);t[r+U]=u,wd(t,u),zb(u,e,t)}function mT(e,t,n,r,o,i,s,a,c,u,l){let d=n+U,p;return t.firstCreatePass?(p=Er(t,d,4,s||null,a||null),ea()&&Zm(t,e,p,Ke(t.consts,u),Cd),mg(t,p)):p=t.data[d],hy(p,e,t,n,r,o,i,c),Xr(p)&&Qa(t,e,p),u!=null&&ho(e,p,l),p}function yi(e,t,n,r,o,i,s,a,c,u,l){let d=n+U,p;if(t.firstCreatePass){if(p=Er(t,d,4,s||null,a||null),u!=null){let f=Ke(t.consts,u);p.localNames=[];for(let h=0;h<f.length;h+=2)p.localNames.push(f[h],-1)}}else p=t.data[d];return hy(p,e,t,n,r,o,i,c),u!=null&&ho(e,p,l),p}function gy(e,t,n,r,o,i,s,a){let c=E(),u=H();return mT(c,u,e,t,n,r,o,Ke(u.consts,i),void 0,s,a),gy}var yT=vT;function vT(e,t,n,r){return ei(!0),t[B].createComment(``)}var my=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static ɵfac=function(r){return new(r||e)};static ɵprov=C({token:e,factory:e.ɵfac,providedIn:`platform`})}return e})();var Ld=new I(``);var oc=new I(``);function yy(){au(()=>{throw new m(600,``)})}var DT=10;var Qt=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=g(wn);afterRenderManager=g(md);zonelessEnabled=g(oi);rootEffectScheduler=g(ua);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new P;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=g(ur);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(pe(n=>!n))}constructor(){g(Kt,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=g(Te);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=Q.NULL){return this._injector.get(ie).run(()=>{if(V(F.BootstrapComponentStart),!this._injector.get(Fd).done)throw new m(405,``);let a=gn(n),c=this._injector.get(vr),u=new lo(a,c);this.componentTypes.push(n);let{hostElement:l,directives:d,bindings:p}=ET(r),f=l||u.selector,h=u.create(o,[],f,c.injector,d,p),y=h.location.nativeElement,v=h.injector.get(Ld,null);return v?.registerApplication(y),h.onDestroy(()=>{this.detachView(h.hostView),ui(this.components,h),v?.unregisterApplication(y)}),this._loadComponent(h),V(F.BootstrapComponentEnd,h),h})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){V(F.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(Wa.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw V(F.ChangeDetectionEnd),new m(101,!1);let n=b(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,b(n),this.afterTick.next(),V(F.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(mr,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<DT;){V(F.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{V(F.ChangeDetectionSyncEnd)}}}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!1;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews){if(!r&&!Yo(o))continue;Om(o,r&&!this.zonelessEnabled?0:1),n=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}n||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>Yo(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;ui(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(n),this._injector.get(oc,[]).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>ui(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new m(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static ɵfac=function(r){return new(r||e)};static ɵprov=Qe({token:e,factory:e.ɵfac})}return e})();function ET(e){return e===void 0||typeof e==`string`||e instanceof Element?{hostElement:e}:e}function ui(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Cr(e,t,n,r){let o=E();if(Ne(o,En(),t)){H();OC(cr(),o,e,t,n,r)}return Cr}function so(e){if(xe(`NgAnimateEnter`),!am)return so;let t=E();if(Zw(t))return so;let n=X(),r=t[Oe].get(ie);return Jw(Vh(t),n,()=>IT(t,n,e,r)),iC(t[Oe]),mm(t[Oe],Vh(t)),so}function IT(e,t,n,r){let o=ke(t,e),i=e[B],s=Xw(n),a=[],c=!1,u=d=>{if(Sa(d)!==o)return;let p=d instanceof AnimationEvent?`animationend`:`transitionend`;r.runOutsideAngular(()=>{i.listen(o,p,l)})},l=d=>{Sa(d)===o&&(lm(d,o)&&(c=!0),wT(d,o,i))};if(s&&s.length>0){r.runOutsideAngular(()=>{a.push(i.listen(o,`animationstart`,u)),a.push(i.listen(o,`transitionstart`,u))}),Yw(o,s,a);for(let d of s)i.addClass(o,d);r.runOutsideAngular(()=>{requestAnimationFrame(()=>{if(!c&&(zw(o,_a,am),!_a.has(o))){for(let d of s)i.removeClass(o,d);cm(o)}})})}}function wT(e,t,n){let r=fi.get(t);if(!(Sa(e)!==t||!r)&&lm(e,t)){e.stopPropagation();for(let o of r.classList)n.removeClass(t,o);cm(t)}}var Wl=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 gl(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function CT(e,t,n,r){let o,i,s=0,a=e.length-1;if(Array.isArray(t)){b(r);let u=t.length-1;for(b(null);s<=a&&s<=u;){let l=e.at(s),d=t[s],p=gl(s,l,s,d,n);if(p!==0){p<0&&e.updateValue(s,d),s++;continue}let f=e.at(a),h=t[u],y=gl(a,f,u,h,n);if(y!==0){y<0&&e.updateValue(a,h),a--,u--;continue}let v=n(s,l),D=n(a,f),O=n(s,d);if(Object.is(O,D)){let he=n(u,h);Object.is(he,v)?(e.swap(s,a),e.updateValue(a,h),u--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(o??=new ja,i??=ig(e,s,a,n),ql(e,o,s,O))e.updateValue(s,d),s++,a++;else if(i.has(O))o.set(v,e.detach(s)),a--;else{let he=e.create(s,t[s]);e.attach(s,he),s++,a++}}for(;s<=u;)og(e,o,n,s,t[s]),s++}else if(t!=null){b(r);let u=t[Symbol.iterator]();b(null);let l=u.next();for(;!l.done&&s<=a;){let d=e.at(s),p=l.value,f=gl(s,d,s,p,n);if(f!==0)f<0&&e.updateValue(s,p),s++,l=u.next();else{o??=new ja,i??=ig(e,s,a,n);let h=n(s,p);if(ql(e,o,s,h))e.updateValue(s,p),s++,a++,l=u.next();else if(!i.has(h))e.attach(s,e.create(s,p)),s++,a++,l=u.next();else{let y=n(s,d);o.set(y,e.detach(s)),a--}}}for(;!l.done;)og(e,o,n,e.length,l.value),l=u.next()}for(;s<=a;)e.destroy(e.detach(a--));o?.forEach(u=>{e.destroy(u)})}function ql(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function og(e,t,n,r,o){if(ql(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function ig(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 ja=class{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function Fe(e,t,n,r,o,i,s,a){xe(`NgControlFlow`);let c=E(),u=H();return yi(c,u,e,t,n,r,o,Ke(u.consts,i),256,s,a),Pd}function Pd(e,t,n,r,o,i,s,a){xe(`NgControlFlow`);let c=E(),u=H();return yi(c,u,e,t,n,r,o,Ke(u.consts,i),512,s,a),Pd}function Le(e,t){xe(`NgControlFlow`);let n=E(),r=En(),o=n[r]!==re?n[r]:-1,i=o!==-1?Ba(n,U+o):void 0,s=0;if(Ne(n,r,e)){let a=b(null);try{if(i!==void 0&&Bm(i,s),e!==-1){let c=U+e,u=Ba(n,c),l=Ql(n[w],c),d=Hm(u,l,n);Ti(u,bi(n,l,t,{dehydratedView:d}),s,uo(l,d))}}finally{b(a)}}else if(i!==void 0){let a=jm(i,s);a!==void 0&&(a[ne]=t)}}var Zl=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-Y}};function bT(e){return e}function TT(e,t){return t}var Yl=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function _T(e,t,n,r,o,i,s,a,c,u,l,d,p){xe(`NgControlFlow`);let f=E(),h=H(),y=c!==void 0,v=E(),O=new Yl(y,a?s.bind(v[_e][ne]):s);v[U+e]=O,yi(f,h,e+1,t,n,r,o,Ke(h.consts,i),256),y&&yi(f,h,e+2,c,u,l,d,Ke(h.consts,p),512)}var Kl=class extends Wl{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-Y}at(t){return this.getLView(t)[ne].$implicit}attach(t,n){let r=n[Jn];this.needsIndexUpdate||=t!==this.length,Ti(this.lContainer,n,t,uo(this.templateTNode,r)),MT(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,NT(this.lContainer,t),xT(this.lContainer,t)}create(t,n){let r=Na(this.lContainer,this.templateTNode.tView.ssrId);return bi(this.hostLView,this.templateTNode,new Zl(this.lContainer,n,t),{dehydratedView:r})}destroy(t){Za(t[w],t)}updateValue(t,n){this.getLView(t)[ne].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[ne].$index=t}getLView(t){return AT(this.lContainer,t)}};function ST(e){let t=b(null),n=Se();try{let r=E(),o=r[w],i=r[n],s=n+1,a=Ba(r,s);if(i.liveCollection===void 0)i.liveCollection=new Kl(a,r,Ql(o,s));else i.liveCollection.reset();let c=i.liveCollection;if(CT(c,e,i.trackByFn,t),c.updateIndexes(),i.hasEmptyBlock){let u=En(),l=c.length===0;if(Ne(r,u,l)){let d=n+2,p=Ba(r,d);if(l){let f=Ql(o,d),h=Hm(p,f,r);Ti(p,bi(r,f,void 0,{dehydratedView:h}),0,uo(f,h))}else o.firstUpdatePass&&ob(p),Bm(p,0)}}}finally{b(t)}}function Ba(e,t){return e[t]}function MT(e,t){if(e.length<=Y)return;let r=e[Y+t],o=r?r[ft]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[Oe];rC(i,o),Tn.delete(r[Nt]),o.detachedLeaveAnimationFns=void 0}}function NT(e,t){if(e.length<=Y)return;let r=e[Y+t],o=r?r[ft]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function xT(e,t){return hi(e,t)}function AT(e,t){return jm(e,t)}function Ql(e,t){return Ks(e,t)}function vy(e,t,n){let r=E();if(Ne(r,En(),t)){H();_m(cr(),r,e,t,r[B],n)}return vy}function Xl(e,t,n,r,o){bd(t,e,n,o?`class`:`style`,r)}function Va(e,t,n,r){let o=E(),i=o[w],s=e+U,a=i.firstCreatePass?xd(s,o,2,t,Cd,ea(),n,r):i.data[s];if(qt(a)){let c=o[dt].tracingService;if(c&&c.componentCreate){let u=i.data[a.directiveStart+a.componentOffset];return c.componentCreate(zm(u),()=>(sg(e,t,o,a,r),Va))}}return sg(e,t,o,a,r),Va}function sg(e,t,n,r,o){if(Xa(r,n,e,t,Ey),Xr(r)){let i=n[w];Qa(i,n,r),ad(i,r,n)}o!=null&&ho(n,r)}function jd(){let e=H(),n=Ja(X());return e.firstCreatePass&&Ad(e,n),Yu(n)&&Ku(),qu(),n.classesWithoutHost!=null&&TI(n)&&Xl(e,n,E(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&_I(n)&&Xl(e,n,E(),n.stylesWithoutHost,!1),jd}function Dy(e,t,n,r){return Va(e,t,n,r),jd(),Dy}function Pe(e,t,n,r){let o=E(),i=o[w],s=e+U,a=i.firstCreatePass?Km(s,i,2,t,n,r):i.data[s];return Xa(a,o,e,t,Ey),r!=null&&ho(o,a),Pe}function Je(){return Yu(Ja(X()))&&Ku(),qu(),Je}function br(e,t,n,r){return Pe(e,t,n,r),Je(),br}var Ey=(e,t,n,r,o)=>(ei(!0),Zg(t[B],r,ol()));function Bd(e,t,n){let r=E(),o=r[w],i=e+U,s=o.firstCreatePass?xd(i,r,8,`ng-container`,Cd,ea(),t,n):o.data[i];if(Xa(s,r,e,`ng-container`,Cy),Xr(s)){let a=r[w];Qa(a,r,s),ad(a,s,r)}return n!=null&&ho(r,s),Bd}function ic(){let e=H(),n=Ja(X());return e.firstCreatePass&&Ad(e,n),ic}function Iy(e,t,n){return Bd(e,t,n),ic(),Iy}function mo(e,t,n){let r=E(),o=r[w],i=e+U,s=o.firstCreatePass?Km(i,o,8,`ng-container`,t,n):o.data[i];return Xa(s,r,e,`ng-container`,Cy),n!=null&&ho(r,s),mo}function Si(){Ja(X());return ic}function wy(e,t,n){return mo(e,t,n),Si(),wy}var Cy=(e,t,n,r,o)=>(ei(!0),vw(t[B],``));function sc(){return E()}function Mi(e,t,n){let r=E();if(Ne(r,En(),t)){H();Sm(cr(),r,e,t,r[B],n)}return Mi}var si=void 0;function RT(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,``).length;return t===1&&n===0?1:5}var OT=[`en`,[[`a`,`p`],[`AM`,`PM`]],[[`AM`,`PM`]],[[`S`,`M`,`T`,`W`,`T`,`F`,`S`],[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`],[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`],[`Su`,`Mo`,`Tu`,`We`,`Th`,`Fr`,`Sa`]],si,[[`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`]],si,[[`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}`,si,si,si],[`.`,`,`,`;`,`%`,`+`,`-`,`E`,`×`,`‰`,`∞`,`NaN`,`:`],[`#,##0.###`,`#,##0%`,`¤#,##0.00`,`#E0`],`USD`,`$`,`US Dollar`,{},`ltr`,RT];var li=Object.create(null);function Vd(e,t,n){typeof t!=`string`&&(n=t,t=e[K.LocaleId]),t=t.toLowerCase().replace(/_/g,`-`),li[t]=e,n&&(li[t][K.ExtraData]=n)}function je(e){let t=kT(e),n=ag(t);if(n)return n;let r=t.split(`-`)[0];if(n=ag(r),n)return n;if(r===`en`)return OT;throw new m(701,!1)}function ag(e){if(!(e in li)){let t=We.ng&&We.ng.common&&We.ng.common.locales&&We.ng.common.locales[e];return t!==void 0&&(li[e]=t),t}return li[e]}var K={LocaleId:0,DayPeriodsFormat:1,DayPeriodsStandalone:2,DaysFormat:3,DaysStandalone:4,MonthsFormat:5,MonthsStandalone:6,Eras:7,FirstDayOfWeek:8,WeekendRange:9,DateFormat:10,TimeFormat:11,DateTimeFormat:12,NumberSymbols:13,NumberFormats:14,CurrencyCode:15,CurrencySymbol:16,CurrencyName:17,Currencies:18,Directionality:19,PluralCase:20,ExtraData:21};function kT(e){return e.toLowerCase().replace(/_/g,`-`)}var Ni=`en-US`;function by(e){typeof e==`string`&&e.toLowerCase().replace(/_/g,`-`)}function ac(e,t,n){let r=E(),o=H(),i=X();return Ty(o,r,r[B],i,e,t,n),ac}function xi(e,t,n){let r=E(),o=H(),i=X();return(i.type&3||n)&&Nd(i,o,r,n,r[B],e,t,fr(i,r,t)),xi}function Ty(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=fr(r,t,i),Nd(r,e,t,s,n,o,i,c)&&(a=!1)),a){let u=r.outputs?.[o],l=r.hostDirectiveOutputs?.[o];if(l&&l.length)for(let d=0;d<l.length;d+=2){let p=l[d],f=l[d+1];c??=fr(r,t,i),Aa(r,t,p,f,o,c)}if(u&&u.length)for(let d of u)c??=fr(r,t,i),Aa(r,t,d,o,o,c)}}function ve(e=1){return fh(e)}function LT(e,t){let n=null,r=Ow(e);for(let o=0;o<t.length;o++){let i=t[o];if(i===`*`){n=o;continue}if(r===null?nm(e,i,!0):Lw(r,i))return o}return n}function PT(e){let t=E()[_e][ye];if(!t.projection){let r=t.projection=Vp(e?e.length:1,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?LT(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function jT(e,t=0,n,r,o,i){let s=E(),a=H(),c=r?e+1:null;c!==null&&yi(s,a,c,r,o,i,null,n);let u=Er(a,U+e,16,null,n||null);u.projection===null&&(u.projection=t),Ju();let d=!s[Jn]||Zu();s[_e][ye].projection[u.projection]===null&&c!==null?BT(s,a,c):d&&!$a(u)&&DC(a,s,u)}function BT(e,t,n){let r=U+n,o=t.data[r],i=e[r],s=Na(i,o.tView.ssrId);Ti(i,bi(e,o,void 0,{dehydratedView:s}),0,uo(o,s))}function _y(e,t,n,r){return Kb(e,t,n,r),_y}function Sy(e,t,n){return ny(e,t,n),Sy}function VT(e){let t=E(),n=H(),r=na();Jo(r+1);let o=Od(n,r);if(e.dirty&&Kp(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=oy(t,r);e.reset(i,Mg),e.notifyOnChanges()}return!0}return!1}function HT(){return Rd(E(),na())}function My(e,t,n,r){return Jb(e,ny(t,n,r)),My}function $T(e=1){Jo(na()+e)}function UT(e){return qo(el(),U+e)}function ha(e,t){return e<<17|t<<2}function Dr(e){return e>>17&32767}function zT(e){return(e&2)==2}function GT(e,t){return e&131071|t<<17}function Jl(e){return e|2}function fo(e){return(e&131068)>>2}function ml(e,t){return e&-131069|t<<2}function WT(e){return(e&1)===1}function ed(e){return e|1}function qT(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Dr(s),c=fo(s);e[r]=n;let u=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||Wr(d,l)>0)&&(u=!0)}else l=n;if(o)if(c!==0){let p=Dr(e[a+1]);e[r+1]=ha(p,a),p!==0&&(e[p+1]=ml(e[p+1],r)),e[a+1]=GT(e[a+1],r)}else e[r+1]=ha(a,0),a!==0&&(e[a+1]=ml(e[a+1],r)),a=r;else e[r+1]=ha(c,0),a===0?a=r:e[c+1]=ml(e[c+1],r),c=r;u&&(e[r+1]=Jl(e[r+1])),cg(e,l,r,!0),cg(e,l,r,!1),ZT(t,l,e,r,i),s=ha(a,c),i?t.classBindings=s:t.styleBindings=s}function ZT(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t==`string`&&Wr(i,t)>=0&&(n[r+1]=ed(n[r+1]))}function cg(e,t,n,r){let o=e[n+1],i=t===null,s=r?Dr(o):fo(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];YT(c,t)&&(a=!0,e[s+1]=r?ed(u):Jl(u)),s=r?Dr(u):fo(u)}a&&(e[n+1]=r?Jl(o):ed(o))}function YT(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t==`string`?Wr(e,t)>=0:!1}var gt={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function KT(e){return e.substring(gt.key,gt.keyEnd)}function QT(e){return XT(e),Ny(e,xy(e,0,gt.textEnd))}function Ny(e,t){let n=gt.textEnd;return n===t?-1:(t=gt.keyEnd=JT(e,gt.key=t,n),xy(e,t,n))}function XT(e){gt.key=0,gt.keyEnd=0,gt.value=0,gt.valueEnd=0,gt.textEnd=e.length}function xy(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function JT(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function Xt(e,t,n){return Ry(e,t,n,!1),Xt}function Ay(e,t){return Ry(e,t,null,!0),Ay}function Jt(e){t_(a_,e_,e,!0)}function e_(e,t){for(let n=QT(t);n>=0;n=Ny(t,n))Ws(e,KT(t),!0)}function Ry(e,t,n,r){let o=E(),i=H(),s=ar(2);if(i.firstUpdatePass&&ky(i,e,s,r),t!==re&&Ne(o,s,t)){let a=i.data[Se()];Fy(i,a,o,o[B],e,o[s+1]=u_(t,n),r,s)}}function t_(e,t,n,r){let o=H(),i=ar(2);o.firstUpdatePass&&ky(o,null,i,r);let s=E();if(n!==re&&Ne(s,i,n)){let a=o.data[Se()];if(Ly(a,r)&&!Oy(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=Bs(c,n||``)),Xl(o,a,s,n,r)}else c_(o,a,s,s[B],s[i+1],s[i+1]=s_(e,t,n),r,i)}}function Oy(e,t){return t>=e.expandoStartIndex}function ky(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[Se()],s=Oy(e,n);Ly(i,r)&&t===null&&!s&&(t=!1),t=n_(o,i,t,r),qT(o,i,t,n,s,r)}}function n_(e,t,n,r){let o=ch(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=yl(null,e,t,n,r),n=vi(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=yl(o,e,t,n,r),i===null){let c=r_(e,t,r);c!==void 0&&Array.isArray(c)&&(c=yl(null,e,t,c[1],r),c=vi(c,t.attrs,r),o_(e,t,r,c))}else i=i_(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function r_(e,t,n){let r=n?t.classBindings:t.styleBindings;if(fo(r)!==0)return e[Dr(r)]}function o_(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[Dr(o)]=r}function i_(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=vi(r,s,n)}return vi(r,t.attrs,n)}function yl(e,t,n,r,o){let i=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(i=t[a],r=vi(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function vi(e,t,n){let r=n?1:2,o=-1;if(t!==null)for(let i=0;i<t.length;i++){let s=t[i];typeof s==`number`?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:[``,e]),Ws(e,s,n?!0:t[++i]))}return e===void 0?null:e}function s_(e,t,n){if(n==null||n===``)return me;let r=[],o=Me(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(o instanceof Set)for(let i of o)e(r,i,!0);else if(typeof o==`object`)for(let i in o)Object.hasOwn(o,i)&&e(r,i,o[i]);else typeof o==`string`&&t(r,o);return r}function a_(e,t,n){let r=String(t);r!==``&&!r.includes(` `)&&Ws(e,r,n)}function c_(e,t,n,r,o,i,s,a){o===re&&(o=me);let c=0,u=0,l=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;l!==null||d!==null;){let p=c<o.length?o[c+1]:void 0,f=u<i.length?i[u+1]:void 0,h=null,y;l===d?(c+=2,u+=2,p!==f&&(h=d,y=f)):d===null||l!==null&&l<d?(c+=2,h=l):(u+=2,h=d,y=f),h!==null&&Fy(e,t,n,r,h,y,s,a),l=c<o.length?o[c]:null,d=u<i.length?i[u]:null}}function Fy(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,u=c[a+1];if(!Ha(WT(u)?ug(c,t,n,o,fo(u),s):void 0)){Ha(i)||zT(u)&&(i=ug(c,null,n,o,a,s));IC(r,s,$u(Se(),n),o,i)}}function ug(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],u=Array.isArray(c),l=u?c[1]:c,d=l===null,p=n[o+1];p===re&&(p=d?me:void 0);let f=d?qs(p,r):l===r?p:void 0;if(u&&!Ha(f)&&(f=qs(c,r)),Ha(f)&&(a=f,s))return a;let h=e[o+1];o=s?Dr(h):fo(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=qs(c,r))}return a}function Ha(e){return e!==void 0}function u_(e,t){return e==null||e===``||(typeof t==`string`?e=Me(e)+t:typeof e==`object`&&(e=Bo(Me(e)))),e}function Ly(e,t){return(e.flags&(t?8:16))!==0}function Ot(e,t=``){let n=E(),r=H(),o=e+U,i=r.firstCreatePass?Er(r,o,1,t,null):r.data[o],s=l_(r,n,i,t);n[o]=s,ia()&&vd(r,n,s,i),sr(i,!1)}var l_=(e,t,n,r)=>(ei(!0),mw(t[B],r));function d_(e,t,n,r=``){return Ne(e,En(),n)?t+fe(n)+r:re}function f_(e,t,n,r,o,i=``){let a=gi(e,Xo(),n,o);return ar(2),a?t+fe(n)+r+fe(o)+i:re}function p_(e,t,n,r,o,i,s,a=``){let u=Wm(e,Xo(),n,o,s);return ar(3),u?t+fe(n)+r+fe(o)+i+fe(s)+a:re}function h_(e,t,n,r,o,i,s,a,c,u=``){let d=Md(e,Xo(),n,o,s,c);return ar(4),d?t+fe(n)+r+fe(o)+i+fe(s)+a+fe(c)+u:re}function g_(e,t,n,r,o,i,s,a,c,u,l,d=``){let p=Xo(),f=Md(e,p,n,o,s,c);return f=Ne(e,p+4,l)||f,ar(5),f?t+fe(n)+r+fe(o)+i+fe(s)+a+fe(c)+u+fe(l)+d:re}function Py(e){return kt(``,e),Py}function kt(e,t,n){let r=E(),o=d_(r,e,t,n);return o!==re&&Ai(r,Se(),o),kt}function jy(e,t,n,r,o){let i=E(),s=f_(i,e,t,n,r,o);return s!==re&&Ai(i,Se(),s),jy}function By(e,t,n,r,o,i,s){let a=E(),c=p_(a,e,t,n,r,o,i,s);return c!==re&&Ai(a,Se(),c),By}function Vy(e,t,n,r,o,i,s,a,c){let u=E(),l=h_(u,e,t,n,r,o,i,s,a,c);return l!==re&&Ai(u,Se(),l),Vy}function Hy(e,t,n,r,o,i,s,a,c,u,l){let d=E(),p=g_(d,e,t,n,r,o,i,s,a,c,u,l);return p!==re&&Ai(d,Se(),p),Hy}function Ai(e,t,n){let r=$u(t,e);yw(e[B],r,n)}function $y(e,t,n){la(t)&&(t=t());let r=E();if(Ne(r,En(),t)){H();_m(cr(),r,e,t,r[B],n)}return $y}function m_(e,t){let n=la(e);return n&&e.set(t),n}function Uy(e,t){let n=E(),r=H(),o=X();return Ty(r,n,n[B],o,e,t),Uy}var zy={};function Ri(e){xe(`NgLet`);let t=H(),n=E(),r=e+U;return sr(Er(t,r,128,null,null),!1),Zo(t,n,r,zy),Ri}function cc(e){return Zo(H(),E(),Se(),e),e}function Ft(e){let n=qo(el(),U+e);if(n===zy)throw new m(314,!1);return n}function lg(e,t,n){let r=H();r.firstCreatePass&&Gy(t,r.data,r.blueprint,pt(e),n)}function Gy(e,t,n,r,o){if(e=le(e),Array.isArray(e))for(let i=0;i<e.length;i++)Gy(e[i],t,n,r,o);else{let i=H(),s=E(),a=X(),c=Yn(e)?e:le(e.provide),u=Pu(e),l=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(Yn(e)||!e.multi){let f=new pr(u,o,Ae,null),h=Dl(c,t,o?l:l+p,d);h===-1?(wl(Ca(a,s),i,c),vl(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[h]=f,s[h]=f)}else{let f=Dl(c,t,l+p,d),h=Dl(c,t,l,l+p),y=f>=0&&n[f],v=h>=0&&n[h];if(o&&!v||!o&&!y){wl(Ca(a,s),i,c);let D=D_(o?v_:y_,n.length,o,r,u,e);!o&&v&&(n[h].providerFactory=D),vl(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(D),s.push(D)}else{let D=Wy(n[o?h:f],u,!o&&r);vl(i,e,f>-1?f:h,D)}!o&&r&&v&&n[h].componentProviders++}}}function vl(e,t,n,r){let o=Yn(t),i=Gp(t);if(o||i){let c=(i?le(t.useClass):t).prototype.ngOnDestroy;if(c){let u=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let l=u.indexOf(n);l===-1?u.push(n,[r,c]):u[l+1].push(r,c)}else u.push(n,c)}}}function Wy(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Dl(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function y_(e,t,n,r,o){return td(this.multi,[])}function v_(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=di(r,r[w],this.providerFactory.index,o);s=c.slice(0,a),td(i,s);for(let u=a;u<c.length;u++)s.push(c[u])}else s=[],td(i,s);return s}function td(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function D_(e,t,n,r,o,i){let s=new pr(e,n,Ae,null);return s.multi=[],s.index=t,s.componentProviders=0,Wy(s,o,r&&!n),s}function E_(e,t){return n=>{n.providersResolver=(r,o)=>lg(r,o?o(e):e,!1),t&&(n.viewProvidersResolver=(r,o)=>lg(r,o?o(t):t,!0))}}function I_(e,t){let n=Dn()+e,r=E();return r[n]===re?_i(r,n,t()):Gm(r,n)}function w_(e,t,n){return qy(E(),Dn(),e,t,n)}function C_(e,t,n,r){return Zy(E(),Dn(),e,t,n,r)}function b_(e,t,n,r,o){return __(E(),Dn(),e,t,n,r,o)}function T_(e,t,n,r,o,i,s){let a=Dn()+e,c=E(),u=Md(c,a,n,r,o,i);return Ne(c,a+4,s)||u?_i(c,a+5,t(n,r,o,i,s)):Gm(c,a+5)}function Hd(e,t){let n=e[t];return n===re?void 0:n}function qy(e,t,n,r,o,i){let s=t+n;return Ne(e,s,o)?_i(e,s+1,i?r.call(i,o):r(o)):Hd(e,s+1)}function Zy(e,t,n,r,o,i,s){let a=t+n;return gi(e,a,o,i)?_i(e,a+2,s?r.call(s,o,i):r(o,i)):Hd(e,a+2)}function __(e,t,n,r,o,i,s,a){let c=t+n;return Wm(e,c,o,i,s)?_i(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):Hd(e,c+3)}function S_(e,t){let n=H(),r,o=e+U;n.firstCreatePass?(r=M_(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=pn(r.type,!0)),a=be(Ae);try{let c=wa(!1),u=i();return wa(c),Zo(n,E(),o,u),u}finally{be(a)}}function M_(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function N_(e,t,n){let r=e+U,o=E(),i=qo(o,r);return Yy(o,r)?qy(o,Dn(),t,i.transform,n,i):i.transform(n)}function x_(e,t,n,r){let o=e+U,i=E(),s=qo(i,o);return Yy(i,o)?Zy(i,Dn(),t,s.transform,n,r,s):s.transform(n,r)}function Yy(e,t){return e[w].data[t].pure}function A_(e,t){return ec(e,t)}var Ky=(()=>{class e{applicationErrorHandler=g(wn);appRef=g(Qt);taskService=g(ur);ngZone=g(ie);zonelessEnabled=g(oi);tracing=g(Kt,{optional:!0});zoneIsDefined=typeof Zone<`u`&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new ue;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Po):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(g(ul,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{let n=this.taskService.add();if(!this.runningTick&&(this.cleanup(),!this.zonelessEnabled||this.appRef.includeAllTestViews)){this.taskService.remove(n);return}this.switchToMicrotaskScheduler(),this.taskService.remove(n)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{let n=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})})}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){case 0:case 2:this.appRef.dirtyFlags|=2;break;case 3:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 6:this.appRef.dirtyFlags|=2;break;case 12:this.appRef.dirtyFlags|=16;break;case 13:this.appRef.dirtyFlags|=2;break;case 11:break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;let r=this.useMicrotaskScheduler?vh:sl;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Po+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.applicationErrorHandler(r)}finally{this.taskService.remove(n),this.cleanup()}}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static ɵfac=function(r){return new(r||e)};static ɵprov=Qe({token:e,factory:e.ɵfac})}return e})();function R_(){return xe(`NgZoneless`),Gt([...$d(),[]])}function $d(){return[{provide:zt,useExisting:Ky},{provide:ie,useClass:jo},{provide:oi,useValue:!0}]}var O_=(()=>{class e{compileModuleSync(n){return new Pa(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static ɵfac=function(r){return new(r||e)};static ɵprov=Qe({token:e,factory:e.ɵfac})}return e})();function k_(){return typeof $localize<`u`&&$localize.locale||Ni}var yo=new I(``,{factory:()=>g(yo,{optional:!0,skipSelf:!0})||k_()});var Oi=class{destroyed=!1;listeners=null;errorHandler=g(Ge,{optional:!0});isEmitting=!1;hasNullListeners=!1;destroyRef=g(Z);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new m(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?this.listeners.indexOf(t):-1;n>-1&&(this.isEmitting?(this.hasNullListeners=!0,this.listeners[n]=null):this.listeners.splice(n,1))}}}emit(t){if(this.destroyed){console.warn(ut(953,!1));return}if(this.listeners===null)return;this.isEmitting=!0;let n=b(null);try{for(let r of this.listeners)try{r!==null&&r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{this.hasNullListeners&&(this.hasNullListeners=!1,this.listeners&&F_(this.listeners)),b(n),this.isEmitting=!1}}};function F_(e){let t=e.length-1;for(;t>-1;)e[t]===null&&e.splice(t,1),t--}var Zd=new I(``);function J(e,t){return Ro(e,t?.equal)}function oe(e){return _p(e)}var uc=class extends Error{dependency;constructor(t){super(`Dependency error`,{cause:t.error()}),this.name=`ResourceDependencyError`,this.dependency=t}};var Tr=class e extends Error{_brand;constructor(t){super(t)}static IDLE=new e(`IDLE`);static LOADING=new e(`LOADING`)};var L_=e=>e;function en(e,t){if(typeof e==`function`)return Qy(fu(e,L_,t?.equal),t?.debugName,t?.set);else return Qy(fu(e.source,e.computation,e.equal),e.debugName,e.set)}function Qy(e,t,n){let r=e[te],o=e;if(n!==void 0){let i=s=>pu(r,s);o.set=s=>n(s,i),o.update=s=>n(s(oe(e)),i)}else o.set=i=>pu(r,i),o.update=i=>Tp(r,i);return o.asReadonly=eo.bind(e),o}var Ud=class{value;isLoading;constructor(t,n){this.value=t,this.value.set=this.set.bind(this),this.value.update=this.update.bind(this),this.value.asReadonly=eo,this.isLoading=J(()=>this.status()===`loading`||this.status()===`reloading`,void 0)}isError=J(()=>this.status()===`error`);update(t){this.set(t(oe(this.value)))}isValueDefined=J(()=>this.isError()?!1:this.value()!==void 0);_snapshot;get snapshot(){return this._snapshot??=J(()=>{let t=this.status();return t===`error`?{status:`error`,error:this.error()}:{status:t,value:this.value()}})}hasValue(){return this.isValueDefined()}asReadonly(){return this}};var ki=class extends Ud{loaderFn;equal;debugName;transferCacheKey;pendingTasks;state;extRequest;effectRef;pendingController;resolvePendingTask=void 0;destroyed=!1;unregisterOnDestroy;status;error;transferState;constructor(t,n,r,o,i,s,a,c){if(tv())throw nv();super(J(()=>{let l=this.state().stream?.();if(!l||this.state().status===`loading`&&this.error())return r;if(!zd(l))throw new lc(this.error());return l.value},{equal:o}),i),this.loaderFn=n,this.equal=o,this.debugName=i,this.transferCacheKey=a;let u=s.get(Zd,void 0,{optional:!0})??{isActive:!1};this.transferState=s.get(no,void 0,{optional:!0})??void 0,this.extRequest=en(()=>{try{return Wd(!0),{request:t(j_),reload:0}}catch(l){return qd(l),l===Tr.IDLE?{status:`idle`,reload:0}:l===Tr.LOADING?{status:`loading`,reload:0}:{error:l,reload:0}}finally{Wd(!1)}},void 0),this.state=en({source:this.extRequest,computation:(l,d)=>{let{request:p,status:f,error:h}=l,y;if(h)f=`resolved`,y=q({error:vo(h)},void 0);else if(!f)if(d)f=p===void 0?`idle`:`loading`,d.value.extRequest.request===p&&(y=d.value.stream);else{let v=this.transferState,D=this.transferCacheKey;u.isActive&&D&&v&&p!==void 0&&v.hasKey(D)&&(y=q({value:v.get(D,r)},void 0)),y||(y=c?.(l.request)),c=void 0,f=p===void 0?`idle`:y?`resolved`:`loading`}return{extRequest:l,status:f,previousStatus:d?Xy(d.value):`idle`,stream:y}}}),this.effectRef=ii(this.loadEffect.bind(this),{injector:s,manualCleanup:!0}),this.pendingTasks=s.get(Cn),this.unregisterOnDestroy=s.get(Z).onDestroy(()=>this.destroy()),this.status=J(()=>Xy(this.state()),void 0),this.error=J(()=>{let l=this.state().stream?.();return l&&!zd(l)?l.error:void 0},void 0)}set(t){if(this.destroyed)return;let n=oe(this.error),r=oe(this.state);if(!n){let o=oe(this.value);if(r.status===`local`&&(this.equal?this.equal(o,t):o===t))return}this.state.set({extRequest:r.extRequest,status:`local`,previousStatus:`local`,stream:q({value:t},void 0)}),this.abortInProgressLoad()}reload(){let{status:t}=oe(this.state);return t===`idle`||t===`loading`?!1:(this.extRequest.update(({request:n,reload:r})=>({request:n,reload:r+1})),!0)}destroy(){this.destroyed=!0,this.unregisterOnDestroy(),this.effectRef.destroy(),this.abortInProgressLoad(),this.state.set({extRequest:{request:void 0,reload:0},status:`idle`,previousStatus:`idle`,stream:void 0})}loadEffect(){return E$1(this,null,function*(){let t=this.extRequest(),{status:n,previousStatus:r}=oe(this.state);if(t.request===void 0)return;if(n!==`loading`)return;this.abortInProgressLoad();let o=this.resolvePendingTask=this.pendingTasks.add(),{signal:i}=this.pendingController=new AbortController;try{let s=oe(()=>this.loaderFn({params:t.request,abortSignal:i,previous:{status:r}})),a=()=>i.aborted||oe(this.extRequest)!==t;if(ro(s)){if(a())return;this.state.set({extRequest:t,status:`resolved`,previousStatus:`resolved`,stream:s});oe(s)}else{let c=yield s;if(a())return;this.state.set({extRequest:t,status:`resolved`,previousStatus:`resolved`,stream:c});c&&oe(c)}}catch(s){if(qd(s),i.aborted||oe(this.extRequest)!==t)return;this.state.set({extRequest:t,status:`resolved`,previousStatus:`error`,stream:q({error:vo(s)},void 0)})}finally{o?.(),o=void 0}})}abortInProgressLoad(){oe(()=>this.pendingController?.abort()),this.pendingController=void 0,this.resolvePendingTask?.(),this.resolvePendingTask=void 0}};function Xy(e){switch(e.status){case`loading`:return e.extRequest.reload===0?`loading`:`reloading`;case`resolved`:return zd(e.stream())?`resolved`:`error`;default:return e.status}}function zd(e){return e.error===void 0}function vo(e){return P_(e)?e:new Gd(e)}function P_(e){return e instanceof Error||typeof e==`object`&&typeof e.name==`string`&&typeof e.message==`string`}var lc=class extends Error{constructor(t){super(t.message,{cause:t})}};var Gd=class extends Error{constructor(t){super(String(t),{cause:t})}};function Jy(e){switch(e.status()){case`idle`:throw Tr.IDLE;case`error`:throw new uc(e);case`loading`:case`reloading`:throw Tr.LOADING}return e.value()}var j_={chain:Jy};var ev=!1;function tv(){return ev}function Wd(e){ev=e}function nv(){return new m(992,!1)}function qd(e){if(e instanceof m&&e.code===992)throw e}var fc=Symbol(`InputSignalNode#UNSET`);var lv=x$1(w$1({},xs),{transformFn:void 0,applyValueToInputSignal(e,t){dn(e,t)}});function dv(e,t){let n=Object.create(lv);n.value=e,n.transformFn=t?.transform;function r(){if(un(n),n.value===fc)throw new m(-950,null);return n.value}return r[te]=n,r}var rv=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>rd(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}};function r$(e){return X_(e)?e.default:e}function X_(e){return e&&typeof e==`object`&&`default`in e}function o$(e){return new Oi}function ov(e,t){return dv(e,t)}function J_(e){return dv(fc,e)}var i$=(ov.required=J_,ov);function fv(e,t){let n=Object.create(lv),r=new Oi;n.value=e;function o(){return un(n),iv(n.value),n.value}return o[te]=n,o.asReadonly=eo.bind(o),o.set=i=>{n.equal(n.value,i)||(dn(n,i),r.emit(i))},o.update=i=>{iv(n.value),o.set(i(n.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function iv(e){if(e===fc)throw new m(952,!1)}function sv(e,t){return fv(e,t)}function eS(e){return fv(fc,e)}var s$=(sv.required=eS,sv);function av(e,t){return sy(t)}function tS(e,t){return ay(t)}var a$=(av.required=tS,av);var Yd=class{supports(t){return t instanceof Map||Sd(t)}create(){return new Kd}};var Kd=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(t){let n;for(n=this._mapHead;n!==null;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;n!==null;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;n!==null;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}diff(t){if(!t)t=new Map;else if(!(t instanceof Map||Sd(t)))throw new m(900,!1);return this.check(t)?this:null}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){let r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){let o=this._records.get(t);this._maybeAddToChanges(o,n);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new Qd(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))}};var Qd=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function cv(){return new pc([new Yd])}var pc=(()=>{class e{static ɵprov=C({token:e,providedIn:`root`,factory:cv});factories;constructor(n){this.factories=n}static create(n,r){if(r){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:()=>{let r=g(e,{optional:!0,skipSelf:!0});return e.create(n,r||cv())}}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new m(901,!1)}}return e})();var hc=(()=>{class e{static __NG_ELEMENT_ID__=rS}return e})();function rS(e){return oS(X(),E(),(e&16)===16)}function oS(e,t,n){if(qt(e)&&!n){let r=Ye(e.index,t);return new _n(r,r)}else if(e.type&175){let r=t[_e];return new _n(r,t)}return null}var Xd=new I(``);var iS=new I(``);function Fi(e){return!e.moduleRef}function sS(e){let t=Fi(e)?e.r3Injector:e.moduleRef.injector,n=t.get(ie);return n.run(()=>{Fi(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(wn),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),Fi(e)){let i=()=>t.destroy(),s=e.platformInjector.get(Xd);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Xd);s.add(i),e.moduleRef.onDestroy(()=>{ui(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return cS(r,n,()=>{let i=t.get(ur),s=i.add(),a=t.get(Fd);return a.runInitializers(),a.donePromise.then(()=>{if(by(t.get(yo,Ni)||Ni),!t.get(iS,!0))return Fi(e)?t.get(Qt):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Fi(e)){let l=t.get(Qt);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return aS?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var aS;function cS(e,t,n){try{let r=n();return tc(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var dc=null;function uS(e=[],t){return Q.create({name:t,providers:[{provide:Go,useValue:`platform`},{provide:Xd,useValue:new Set([()=>dc=null])},...e]})}function lS(e=[]){if(dc)return dc;let t=uS(e);return dc=t,yy(),dS(t),t}function dS(e){let t=e.get(sa,null);Yr(e,()=>{t?.forEach(n=>n())})}function pv(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;V(F.BootstrapApplicationStart);try{let i=o?.injector??lS(r);return sS({r3Injector:new mi({providers:[$d(),Eh,...n||[]],parent:i,debugName:``,runEnvironmentInitializers:!1}).injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{V(F.BootstrapApplicationEnd)}}function Li(e){return typeof e==`boolean`?e:e!=null&&e!==`false`}function Jd(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function hv(e,t){let n=gn(e),r=t.elementInjector||Zr();return new lo(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings)}var gv=null;function tn(){return gv}function ef(e){gv??=e}var Pi=class{};var Do=(()=>{class e{historyGo(n){throw new Error(``)}static ɵfac=function(r){return new(r||e)};static ɵprov=C({token:e,factory:()=>g(mv),providedIn:`platform`})}return e})();var mv=(()=>{class e extends Do{_location;_history;_doc=g(G);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return tn().getBaseHref(this._doc)}onPopState(n){let r=tn().getGlobalEventTarget(this._doc,`window`);return r.addEventListener(`popstate`,n,!1),()=>r.removeEventListener(`popstate`,n)}onHashChange(n){let r=tn().getGlobalEventTarget(this._doc,`window`);return r.addEventListener(`hashchange`,n,!1),()=>r.removeEventListener(`hashchange`,n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static ɵfac=function(r){return new(r||e)};static ɵprov=C({token:e,factory:()=>new e,providedIn:`platform`})}return e})();function Dv(e,t){return e?t?e.endsWith(`/`)?t.startsWith(`/`)?e+t.slice(1):e+t:t.startsWith(`/`)?e+t:`${e}/${t}`:e:t}function yv(e){let t=e.search(/#|\?|$/);return e[t-1]===`/`?e.slice(0,t-1)+e.slice(t):e}function Nn(e){return e&&e[0]!==`?`?`?${e}`:e}var gc=(()=>{class e{historyGo(n){throw new Error(``)}static ɵfac=function(r){return new(r||e)};static ɵprov=C({token:e,factory:()=>g(pS),providedIn:`root`})}return e})();var fS=new I(``);var pS=(()=>{class e extends gc{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??g(G).location?.origin??``}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return Dv(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+Nn(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+Nn(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+Nn(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static ɵfac=function(r){return new(r||e)(x(Do),x(fS,8))};static ɵprov=C({token:e,factory:e.ɵfac,providedIn:`root`})}return e})();var Ev=(()=>{class e{_subject=new P;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=mS(yv(vv(r))),this._locationStrategy.onPopState(o=>{this._subject.next({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=``){return this.path()==this.normalize(n+Nn(r))}normalize(n){return e.stripTrailingSlash(gS(this._basePath,vv(n)))}prepareExternalUrl(n){return n&&n[0]!==`/`&&(n=`/`+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r=``,o=null){this._locationStrategy.pushState(o,``,n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Nn(r)),o)}replaceState(n,r=``,o=null){this._locationStrategy.replaceState(o,``,n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Nn(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n=``,r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r??void 0,complete:o??void 0})}static normalizeQueryParams=Nn;static joinWithSlash=Dv;static stripTrailingSlash=yv;static ɵfac=function(r){return new(r||e)(x(gc))};static ɵprov=C({token:e,factory:()=>hS(),providedIn:`root`})}return e})();function hS(){return new Ev(x(gc))}function gS(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===``||[`/`,`;`,`?`,`#`].includes(n[0])?n:t}function vv(e){return e.replace(/\/index\.html$/,``)}function mS(e){if(new RegExp(`^(https?:)?//`).test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var af=(function(e){return e[e.Decimal=0]=`Decimal`,e[e.Percent=1]=`Percent`,e[e.Currency=2]=`Currency`,e[e.Scientific=3]=`Scientific`,e})(af||{});var De=(function(e){return e[e.Format=0]=`Format`,e[e.Standalone=1]=`Standalone`,e})(De||{});var z=(function(e){return e[e.Narrow=0]=`Narrow`,e[e.Abbreviated=1]=`Abbreviated`,e[e.Wide=2]=`Wide`,e[e.Short=3]=`Short`,e})(z||{});var Be=(function(e){return e[e.Short=0]=`Short`,e[e.Medium=1]=`Medium`,e[e.Long=2]=`Long`,e[e.Full=3]=`Full`,e})(Be||{});var Ve={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function bv(e){return je(e)[K.LocaleId]}function Tv(e,t,n){let r=je(e);return et(et([r[K.DayPeriodsFormat],r[K.DayPeriodsStandalone]],t),n)}function _v(e,t,n){let r=je(e);return et(et([r[K.DaysFormat],r[K.DaysStandalone]],t),n)}function Sv(e,t,n){let r=je(e);return et(et([r[K.MonthsFormat],r[K.MonthsStandalone]],t),n)}function Mv(e,t){let r=je(e)[K.Eras];return et(r,t)}function ji(e,t){return et(je(e)[K.DateFormat],t)}function Bi(e,t){return et(je(e)[K.TimeFormat],t)}function Vi(e,t){let r=je(e)[K.DateTimeFormat];return et(r,t)}function Lt(e,t){let n=je(e),r=n[K.NumberSymbols][t];if(typeof r>`u`){if(t===Ve.CurrencyDecimal)return n[K.NumberSymbols][Ve.Decimal];if(t===Ve.CurrencyGroup)return n[K.NumberSymbols][Ve.Group]}return r}function Nv(e,t){return je(e)[K.NumberFormats][t]}function xv(e){if(!e[K.ExtraData])throw new m(2303,!1)}function Av(e){let t=je(e);return xv(t),(t[K.ExtraData][2]||[]).map(r=>typeof r==`string`?tf(r):[tf(r[0]),tf(r[1])])}function Rv(e,t,n){let r=je(e);xv(r);return et(et([r[K.ExtraData][0],r[K.ExtraData][1]],t)||[],n)||[]}function et(e,t){for(let n=t;n>-1;n--)if(typeof e[n]<`u`)return e[n];throw new m(2304,!1)}function tf(e){let[t,n]=e.split(`:`);return{hours:+t,minutes:+n}}var yS=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;var mc=Object.create(null);var vS=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var DS=256;function Ov(e,t,n,r){let o=NS(e);ES(t),t=nn(n,t)||t;let s=[],a;for(;t;)if(a=vS.exec(t),a){s=s.concat(a.slice(1));let l=s.pop();if(!l)break;t=l}else{s.push(t);break}let c=o.getTimezoneOffset();r&&(c=Fv(r,c),o=MS(o,r));let u=``;return s.forEach(l=>{let d=_S(l);u+=d?d(o,n,c):l===`''`?`'`:l.replace(/(^'|'$)/g,``).replace(/''/g,`'`)}),u}function ES(e){if(e.length>DS)throw new m(2300,!1)}function Ic(e,t,n){let r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function nn(e,t){let n=bv(e);if(mc[n]??=Object.create(null),mc[n][t])return mc[n][t];let r=``;switch(t){case`shortDate`:r=ji(e,Be.Short);break;case`mediumDate`:r=ji(e,Be.Medium);break;case`longDate`:r=ji(e,Be.Long);break;case`fullDate`:r=ji(e,Be.Full);break;case`shortTime`:r=Bi(e,Be.Short);break;case`mediumTime`:r=Bi(e,Be.Medium);break;case`longTime`:r=Bi(e,Be.Long);break;case`fullTime`:r=Bi(e,Be.Full);break;case`short`:let o=nn(e,`shortTime`),i=nn(e,`shortDate`);r=yc(Vi(e,Be.Short),[o,i]);break;case`medium`:let s=nn(e,`mediumTime`),a=nn(e,`mediumDate`);r=yc(Vi(e,Be.Medium),[s,a]);break;case`long`:let c=nn(e,`longTime`),u=nn(e,`longDate`);r=yc(Vi(e,Be.Long),[c,u]);break;case`full`:let l=nn(e,`fullTime`),d=nn(e,`fullDate`);r=yc(Vi(e,Be.Full),[l,d]);break}return r&&(mc[n][t]=r),r}function yc(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,r){return Object.hasOwn(t,r)?t[r]:n})),e}function Dt(e,t,n=`-`,r,o){let i=``;(e<0||o&&e<=0)&&(o?e=-e+1:(e=-e,i=n));let s=String(e);for(;s.length<t;)s=`0`+s;return r&&(s=s.slice(s.length-t)),i+s}function IS(e,t){return Dt(e,3).substring(0,t)}function ae(e,t,n=0,r=!1,o=!1){return function(i,s){let a=wS(e,i);if((n>0||a>-n)&&(a+=n),e===3)a===0&&n===-12&&(a=12);else if(e===6)return IS(a,t);let c=Lt(s,Ve.MinusSign);return Dt(a,t,c,r,o)}}function wS(e,t){switch(e){case 0:return t.getFullYear();case 1:return t.getMonth();case 2:return t.getDate();case 3:return t.getHours();case 4:return t.getMinutes();case 5:return t.getSeconds();case 6:return t.getMilliseconds();case 7:return t.getDay();default:throw new m(2301,!1)}}function W(e,t,n=De.Format,r=!1){return function(o,i){return CS(o,i,e,t,n,r)}}function CS(e,t,n,r,o,i){switch(n){case 2:return Sv(t,o,r)[e.getMonth()];case 1:return _v(t,o,r)[e.getDay()];case 0:let s=e.getHours(),a=e.getMinutes();if(i){let u=Av(t),l=Rv(t,o,r),d=u.findIndex(p=>{if(Array.isArray(p)){let[f,h]=p,y=s>=f.hours&&a>=f.minutes,v=s<h.hours||s===h.hours&&a<h.minutes;if(f.hours<h.hours){if(y&&v)return!0}else if(y||v)return!0}else if(p.hours===s&&p.minutes===a)return!0;return!1});if(d!==-1)return l[d]}return Tv(t,o,r)[s<12?0:1];case 3:return Mv(t,r)[e.getFullYear()<=0?0:1];default:throw new m(2302,!1)}}function vc(e){return function(t,n,r){let o=-1*r,i=Lt(n,Ve.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(e){case 0:return(o>=0?`+`:``)+Dt(s,2,i)+Dt(Math.abs(o%60),2,i);case 1:return`GMT`+(o>=0?`+`:``)+Dt(s,1,i);case 2:return`GMT`+(o>=0?`+`:``)+Dt(s,2,i)+`:`+Dt(Math.abs(o%60),2,i);case 3:return r===0?`Z`:(o>=0?`+`:``)+Dt(s,2,i)+`:`+Dt(Math.abs(o%60),2,i);default:throw new m(2310,!1)}}}var bS=0;var Ec=4;function TS(e){let t=Ic(e,bS,1).getDay();return Ic(e,0,1+(t<=Ec?Ec:Ec+7)-t)}function kv(e){let t=e.getDay(),n=t===0?-3:Ec-t;return Ic(e.getFullYear(),e.getMonth(),e.getDate()+n)}function nf(e,t=!1){return function(n,r){let o;if(t){let i=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,s=n.getDate();o=1+Math.floor((s+i)/7)}else{let i=kv(n),s=TS(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return Dt(o,e,Lt(r,Ve.MinusSign))}}function Dc(e,t=!1){return function(n,r){return Dt(kv(n).getFullYear(),e,Lt(r,Ve.MinusSign),t)}}var rf=Object.create(null);function _S(e){if(rf[e])return rf[e];let t;switch(e){case`G`:case`GG`:case`GGG`:t=W(3,z.Abbreviated);break;case`GGGG`:t=W(3,z.Wide);break;case`GGGGG`:t=W(3,z.Narrow);break;case`y`:t=ae(0,1,0,!1,!0);break;case`yy`:t=ae(0,2,0,!0,!0);break;case`yyy`:t=ae(0,3,0,!1,!0);break;case`yyyy`:t=ae(0,4,0,!1,!0);break;case`Y`:t=Dc(1);break;case`YY`:t=Dc(2,!0);break;case`YYY`:t=Dc(3);break;case`YYYY`:t=Dc(4);break;case`M`:case`L`:t=ae(1,1,1);break;case`MM`:case`LL`:t=ae(1,2,1);break;case`MMM`:t=W(2,z.Abbreviated);break;case`MMMM`:t=W(2,z.Wide);break;case`MMMMM`:t=W(2,z.Narrow);break;case`LLL`:t=W(2,z.Abbreviated,De.Standalone);break;case`LLLL`:t=W(2,z.Wide,De.Standalone);break;case`LLLLL`:t=W(2,z.Narrow,De.Standalone);break;case`w`:t=nf(1);break;case`ww`:t=nf(2);break;case`W`:t=nf(1,!0);break;case`d`:t=ae(2,1);break;case`dd`:t=ae(2,2);break;case`c`:case`cc`:t=ae(7,1);break;case`ccc`:t=W(1,z.Abbreviated,De.Standalone);break;case`cccc`:t=W(1,z.Wide,De.Standalone);break;case`ccccc`:t=W(1,z.Narrow,De.Standalone);break;case`cccccc`:t=W(1,z.Short,De.Standalone);break;case`E`:case`EE`:case`EEE`:t=W(1,z.Abbreviated);break;case`EEEE`:t=W(1,z.Wide);break;case`EEEEE`:t=W(1,z.Narrow);break;case`EEEEEE`:t=W(1,z.Short);break;case`a`:case`aa`:case`aaa`:t=W(0,z.Abbreviated);break;case`aaaa`:t=W(0,z.Wide);break;case`aaaaa`:t=W(0,z.Narrow);break;case`b`:case`bb`:case`bbb`:t=W(0,z.Abbreviated,De.Standalone,!0);break;case`bbbb`:t=W(0,z.Wide,De.Standalone,!0);break;case`bbbbb`:t=W(0,z.Narrow,De.Standalone,!0);break;case`B`:case`BB`:case`BBB`:t=W(0,z.Abbreviated,De.Format,!0);break;case`BBBB`:t=W(0,z.Wide,De.Format,!0);break;case`BBBBB`:t=W(0,z.Narrow,De.Format,!0);break;case`h`:t=ae(3,1,-12);break;case`hh`:t=ae(3,2,-12);break;case`H`:t=ae(3,1);break;case`HH`:t=ae(3,2);break;case`m`:t=ae(4,1);break;case`mm`:t=ae(4,2);break;case`s`:t=ae(5,1);break;case`ss`:t=ae(5,2);break;case`S`:t=ae(6,1);break;case`SS`:t=ae(6,2);break;case`SSS`:t=ae(6,3);break;case`Z`:case`ZZ`:case`ZZZ`:t=vc(0);break;case`ZZZZZ`:t=vc(3);break;case`O`:case`OO`:case`OOO`:case`z`:case`zz`:case`zzz`:t=vc(1);break;case`OOOO`:case`ZZZZ`:case`zzzz`:t=vc(2);break;default:return null}return rf[e]=t,t}function Fv(e,t){e=e.replace(/:/g,``);let n=Date.parse(`Jan 01, 1970 00:00:00 `+e)/6e4;return isNaN(n)?t:n}function SS(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function MS(e,t,n){let o=e.getTimezoneOffset();return SS(e,-1*(Fv(t,o)-o))}function NS(e){if(Iv(e))return e;if(typeof e==`number`&&!isNaN(e))return new Date(e);if(typeof e==`string`){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){let[o,i=1,s=1]=e.split(`-`).map(a=>+a);return Ic(o,i-1,s)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let r;if(r=e.match(yS))return xS(r)}let t=new Date(e);if(!Iv(t))throw new m(2311,!1);return t}function xS(e){let t=new Date(0),n=0,r=0,o=e[8]?t.setUTCFullYear:t.setFullYear,i=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),r=Number(e[9]+e[11])),o.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));let s=Number(e[4]||0)-n,a=Number(e[5]||0)-r,c=Number(e[6]||0),u=Math.floor(parseFloat(`0.`+(e[7]||0))*1e3);return i.call(t,s,a,c,u),t}function Iv(e){return e instanceof Date&&!isNaN(e.valueOf())}var AS=/^(\d+)?\.((\d+)(-(\d+))?)?$/;var wv=22;var wc=`.`;var Hi=`0`;var RS=`;`;var OS=`,`;var of=`#`;function kS(e,t,n,r,o,i,s=!1){let a=``,c=!1;if(!isFinite(e))a=Lt(n,Ve.Infinity);else{let u=PS(e);s&&(u=LS(u));let l=t.minInt,d=t.minFrac,p=t.maxFrac;if(i){let O=i.match(AS);if(O===null)throw new m(2306,!1);let he=O[1],Ee=O[3],Ie=O[5];he!=null&&(l=sf(he)),Ee!=null&&(d=sf(Ee)),Ie!=null?p=sf(Ie):Ee!=null&&d>p&&(p=d);let ee=100;if(l>ee||d>ee||p>ee)throw new m(2306,!1)}jS(u,d,p);let f=u.digits,h=u.integerLen,y=u.exponent,v=[];for(c=f.every(O=>!O);h<l;h++)f.unshift(0);for(;h<0;h++)f.unshift(0);h>0?v=f.splice(h,f.length):(v=f,f=[0]);let D=[];for(f.length>=t.lgSize&&D.unshift(f.splice(-t.lgSize,f.length).join(``));f.length>t.gSize;)D.unshift(f.splice(-t.gSize,f.length).join(``));f.length&&D.unshift(f.join(``)),a=D.join(Lt(n,r)),v.length&&(a+=Lt(n,o)+v.join(``)),y&&(a+=Lt(n,Ve.Exponential)+`+`+y)}return e<0&&!c?a=t.negPre+a+t.negSuf:a=t.posPre+a+t.posSuf,a}function Lv(e,t,n){return kS(e,FS(Nv(t,af.Decimal),Lt(t,Ve.MinusSign)),t,Ve.Group,Ve.Decimal,n)}function FS(e,t=`-`){let n={minInt:1,minFrac:0,maxFrac:0,posPre:``,posSuf:``,negPre:``,negSuf:``,gSize:0,lgSize:0},r=e.split(RS),o=r[0],i=r[1],s=o.indexOf(wc)!==-1?o.split(wc):[o.substring(0,o.lastIndexOf(Hi)+1),o.substring(o.lastIndexOf(Hi)+1)],a=s[0],c=s[1]||``;n.posPre=a.substring(0,a.indexOf(of));for(let l=0;l<c.length;l++){let d=c.charAt(l);d===Hi?n.minFrac=n.maxFrac=l+1:d===of?n.maxFrac=l+1:n.posSuf+=d}let u=a.split(OS);if(n.gSize=u[1]?u[1].length:0,n.lgSize=u[2]||u[1]?(u[2]||u[1]).length:0,i){let l=o.length-n.posPre.length-n.posSuf.length,d=i.indexOf(of);n.negPre=i.substring(0,d).replace(/'/g,``),n.negSuf=i.slice(d+l).replace(/'/g,``)}else n.negPre=t+n.posPre,n.negSuf=n.posSuf;return n}function LS(e){if(e.digits[0]===0)return e;let t=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(t===0?e.digits.push(0,0):t===1&&e.digits.push(0),e.integerLen+=2),e}function PS(e){let t=Math.abs(e)+``,n=0,r,o,i,s,a;for((o=t.indexOf(wc))>-1&&(t=t.replace(wc,``)),(i=t.search(/e/i))>0?(o<0&&(o=i),o+=+t.slice(i+1),t=t.substring(0,i)):o<0&&(o=t.length),i=0;t.charAt(i)===Hi;i++);if(i===(a=t.length))r=[0],o=1;else{for(a--;t.charAt(a)===Hi;)a--;for(o-=i,r=[],s=0;i<=a;i++,s++)r[s]=Number(t.charAt(i))}return o>wv&&(r=r.splice(0,wv-1),n=o-1,o=1),{digits:r,exponent:n,integerLen:o}}function jS(e,t,n){if(t>n)throw new m(2307,!1);let r=e.digits,o=r.length-e.integerLen,i=Math.min(Math.max(t,o),n),s=i+e.integerLen,a=r[s];if(s>0){r.splice(Math.max(e.integerLen,s));for(let d=s;d<r.length;d++)r[d]=0}else{o=Math.max(0,o),e.integerLen=1,r.length=Math.max(1,s=i+1),r[0]=0;for(let d=1;d<s;d++)r[d]=0}if(a>=5)if(s-1<0){for(let d=0;d>s;d--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[s-1]++;for(;o<Math.max(0,i);o++)r.push(0);let c=i!==0,u=t+e.integerLen,l=r.reduceRight(function(d,p,f,h){return p=p+d,h[f]=p<10?p:p-10,c&&(h[f]===0&&f>=u?h.pop():c=!1),p>=10?1:0},0);l&&(r.unshift(l),e.integerLen++)}function sf(e){let t=parseInt(e);if(isNaN(t))throw new m(2305,!1);return t}var BS=(()=>{class e{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(n,r,o){this._ngEl=n,this._differs=r,this._renderer=o}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){let n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,r){let[o,i]=n.split(`.`),s=o.indexOf(`-`)===-1?void 0:yt.DashCase;r!=null?this._renderer.setStyle(this._ngEl.nativeElement,o,i?`${r}${i}`:r,s):this._renderer.removeStyle(this._ngEl.nativeElement,o,s)}_applyChanges(n){n.forEachRemovedItem(r=>this._setStyle(r.key,null)),n.forEachAddedItem(r=>this._setStyle(r.key,r.currentValue)),n.forEachChangedItem(r=>this._setStyle(r.key,r.currentValue))}static ɵfac=function(r){return new(r||e)(Ae(Xe),Ae(pc),Ae(yr))};static ɵdir=Mn({type:e,selectors:[[``,`ngStyle`,``]],inputs:{ngStyle:`ngStyle`}})}return e})();var VS=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=g(Q);constructor(n){this._viewContainerRef=n}ngOnChanges(n){if(this._shouldRecreateView(n)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this._getInjector()})}}_getInjector(){return this.ngTemplateOutletInjector===`outlet`?this.injector:this.ngTemplateOutletInjector??void 0}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(n,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static ɵfac=function(r){return new(r||e)(Ae(wr))};static ɵdir=Mn({type:e,selectors:[[``,`ngTemplateOutlet`,``]],inputs:{ngTemplateOutletContext:`ngTemplateOutletContext`,ngTemplateOutlet:`ngTemplateOutlet`,ngTemplateOutletInjector:`ngTemplateOutletInjector`},features:[Ei]})}return e})();function cf(e,t){return new m(2100,!1)}var HS=(()=>{class e{transform(n){return n==null?null:(uf(e,n),n.toLowerCase())}static ɵfac=function(r){return new(r||e)};static ɵpipe=Rt({name:`lowercase`,type:e,pure:!0})}return e})();var $S=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g;var US=(()=>{class e{transform(n){return n==null?null:(uf(e,n),n.replace($S,r=>r[0].toUpperCase()+r.slice(1).toLowerCase()))}static ɵfac=function(r){return new(r||e)};static ɵpipe=Rt({name:`titlecase`,type:e,pure:!0})}return e})();var zS=(()=>{class e{transform(n){return n==null?null:(uf(e,n),n.toUpperCase())}static ɵfac=function(r){return new(r||e)};static ɵpipe=Rt({name:`uppercase`,type:e,pure:!0})}return e})();function uf(e,t){if(typeof t!=`string`)throw cf(e,t)}var GS=`mediumDate`;var Pv=new I(``);var jv=new I(``);var WS=(()=>{class e{locale;defaultTimezone;defaultOptions;constructor(n,r,o){this.locale=n,this.defaultTimezone=r,this.defaultOptions=o}transform(n,r,o,i){if(n==null||n===``||n!==n)return null;try{let s=r??this.defaultOptions?.dateFormat??GS,a=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return Ov(n,s,i||this.locale,a)}catch(s){throw cf(e,s.message)}}static ɵfac=function(r){return new(r||e)(Ae(yo,16),Ae(Pv,24),Ae(jv,24))};static ɵpipe=Rt({name:`date`,type:e,pure:!0})}return e})();function qS(e,t){return{key:e,value:t}}var ZS=(()=>{class e{differs;constructor(n){this.differs=n}differ;keyValues=[];compareFn=Cv;transform(n,r=Cv){if(!n||!(n instanceof Map)&&typeof n!=`object`)return null;this.differ??=this.differs.find(n).create();let o=this.differ.diff(n),i=r!==this.compareFn;return o&&(this.keyValues=[],o.forEachItem(s=>{this.keyValues.push(qS(s.key,s.currentValue))})),(o||i)&&(r&&this.keyValues.sort(r),this.compareFn=r),this.keyValues}static ɵfac=function(r){return new(r||e)(Ae(pc,16))};static ɵpipe=Rt({name:`keyvalue`,type:e,pure:!1})}return e})();function Cv(e,t){let n=e.key,r=t.key;if(n===r)return 0;if(n==null)return 1;if(r==null)return-1;if(typeof n==`string`&&typeof r==`string`)return n<r?-1:1;if(typeof n==`number`&&typeof r==`number`)return n-r;if(typeof n==`boolean`&&typeof r==`boolean`)return n<r?-1:1;let o=String(n),i=String(r);return o==i?0:o<i?-1:1}var YS=(()=>{class e{_locale;constructor(n){this._locale=n}transform(n,r,o){if(!KS(n))return null;o||=this._locale;try{return Lv(QS(n),o,r)}catch(i){throw cf(e,i.message)}}static ɵfac=function(r){return new(r||e)(Ae(yo,16))};static ɵpipe=Rt({name:`number`,type:e,pure:!0})}return e})();function KS(e){return!(e==null||e===``||e!==e)}function QS(e){if(typeof e==`string`&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if(typeof e!=`number`)throw new m(2309,!1);return e}var Bv=(()=>{class e{static ɵfac=function(r){return new(r||e)};static ɵmod=go({type:e});static ɵinj=Qn({})}return e})();function $i(e,t){t=encodeURIComponent(t);for(let n of e.split(`;`)){let r=n.indexOf(`=`),[o,i]=r==-1?[n,``]:[n.slice(0,r),n.slice(r+1)];if(o.trim()!==t)continue;let s=i;try{s=decodeURIComponent(i)}catch(a){}return s.length>1&&s[0]===`"`&&s[s.length-1]===`"`&&(s=s.slice(1,-1)),s}return null}function _U(e,t,n){return Vd(e,t,n)}var df=`browser`;function SU(e){return e===df}var MU=(()=>{class e{static ɵprov=C({token:e,providedIn:`root`,factory:()=>new lf(g(G),window)})}return e})();var lf=class{document;window;offset=()=>[0,0];constructor(t,n){this.document=t,this.window=n}setOffset(t){Array.isArray(t)?this.offset=()=>t:this.offset=t}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(t,n){this.window.scrollTo(x$1(w$1({},n),{left:t[0],top:t[1]}))}scrollToAnchor(t,n){let r=eM(this.document,t);r&&(this.scrollToElement(r,n),r.focus({preventScroll:!0}))}setHistoryScrollRestoration(t){try{this.window.history.scrollRestoration=t}catch(n){console.warn(ut(2400,!1))}}scrollToElement(t,n){let r=t.getBoundingClientRect(),o=r.left+this.window.pageXOffset,i=r.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(x$1(w$1({},n),{left:o-s[0],top:i-s[1]}))}};function eM(e,t){let n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if(typeof e.createTreeWalker==`function`&&e.body&&typeof e.body.attachShadow==`function`){let r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),o=r.currentNode;for(;o;){let i=o.shadowRoot;if(i){let s=i.getElementById(t)||i.querySelector(`[name="${CSS.escape(t)}"]`);if(s)return s}o=r.nextNode()}}return null}function Vv(e){return e.replace(/\\/g,`\\\\`).replace(/[\n\r\f\0]/g,``).replace(/"/g,`\\"`)}var $v=e=>e.src;var tM=new I(``,{factory:()=>$v});var Hv=/^((\s*\d+w\s*(,|$)){1,})$/;var nM=[1,2];var rM=640;var oM=1920;var iM=1080;var NU=(()=>{class e{imageLoader=g(tM);config=sM(g(ca));renderer=g(yr);imgElement=g(Xe).nativeElement;injector=g(Q);destroyRef=g(Z);lcpObserver;_renderedSrc=null;ngSrc;ngSrcset;sizes;width;height;decoding;loading;priority=!1;loaderParams;disableOptimizedSrcset=!1;fill=!1;placeholder;placeholderConfig;src;srcset;constructor(){this.destroyRef.onDestroy(()=>{this.renderer.removeAttribute(this.imgElement,`loading`)})}ngOnInit(){xe(`NgOptimizedImage`),this.placeholder&&this.removePlaceholderOnLoad(this.imgElement),this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||=`100vw`:(this.setHostAttribute(`width`,this.width.toString()),this.setHostAttribute(`height`,this.height.toString())),this.setHostAttribute(`loading`,this.getLoadingBehavior()),this.setHostAttribute(`fetchpriority`,this.getFetchPriority()),this.setHostAttribute(`decoding`,this.getDecoding()),this.setHostAttribute(`ng-img`,`true`);this.updateSrcAndSrcset();this.sizes?this.getLoadingBehavior()===`lazy`?this.setHostAttribute(`sizes`,`auto, `+this.sizes):this.setHostAttribute(`sizes`,this.sizes):this.ngSrcset&&Hv.test(this.ngSrcset)&&this.getLoadingBehavior()===`lazy`&&this.setHostAttribute(`sizes`,`auto, 100vw`)}ngOnChanges(n){if(n.ngSrc&&!n.ngSrc.isFirstChange()){this._renderedSrc;this.updateSrcAndSrcset(!0)}}getAspectRatio(){return this.width&&this.height&&this.height!==0?this.width/this.height:null}callImageLoader(n){let r=n;this.loaderParams&&(r.loaderParams=this.loaderParams);let o=this.getAspectRatio();return o!==null&&r.width&&(r.height=Math.round(r.width/o)),this.imageLoader(r)}getLoadingBehavior(){return!this.priority&&this.loading!==void 0?this.loading:this.priority?`eager`:`lazy`}getFetchPriority(){return this.priority?`high`:`auto`}getDecoding(){return this.priority?`sync`:this.decoding??`auto`}getRewrittenSrc(){if(!this._renderedSrc){let n={src:this.ngSrc};this._renderedSrc=this.callImageLoader(n)}return this._renderedSrc}getRewrittenSrcset(){let n=Hv.test(this.ngSrcset);return this.ngSrcset.split(`,`).filter(o=>o!==``).map(o=>{o=o.trim();let i=n?parseFloat(o):parseFloat(o)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:i})} ${o}`}).join(`, `)}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){let{breakpoints:n}=this.config,r=n;return this.sizes?.trim()===`100vw`&&(r=n.filter(i=>i>=rM)),r.map(i=>`${this.callImageLoader({src:this.ngSrc,width:i})} ${i}w`).join(`, `)}updateSrcAndSrcset(n=!1){n&&(this._renderedSrc=null);let r=this.getRewrittenSrc();this.setHostAttribute(`src`,r);let o;return this.ngSrcset?o=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(o=this.getAutomaticSrcset()),o&&this.setHostAttribute(`srcset`,o),o}getFixedSrcset(){return nM.map(r=>`${this.callImageLoader({src:this.ngSrc,width:this.width*r})} ${r}x`).join(`, `)}shouldGenerateAutomaticSrcset(){let n=!1;return this.sizes||(n=this.width>oM||this.height>iM),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==$v&&!n}generatePlaceholder(n){let{placeholderResolution:r}=this.config;return n===!0?`url("${Vv(this.callImageLoader({src:this.ngSrc,width:r,isPlaceholder:!0}))}")`:typeof n==`string`?`url("${Vv(n)}")`:null}shouldBlurPlaceholder(n){return!n||!n.hasOwnProperty(`blur`)?!0:!!n.blur}removePlaceholderOnLoad(n){let r=()=>{let s=this.injector.get(hc);o(),i(),this.placeholder=!1,s.markForCheck()},o=this.renderer.listen(n,`load`,r),i=this.renderer.listen(n,`error`,r);this.destroyRef.onDestroy(()=>{o(),i()}),aM(n,r)}setHostAttribute(n,r){this.renderer.setAttribute(this.imgElement,n,r)}static ɵfac=function(r){return new(r||e)};static ɵdir=Mn({type:e,selectors:[[`img`,`ngSrc`,``]],hostVars:18,hostBindings:function(r,o){r&2&&Xt(`position`,o.fill?`absolute`:null)(`width`,o.fill?`100%`:null)(`height`,o.fill?`100%`:null)(`inset`,o.fill?`0`:null)(`background-size`,o.placeholder?`cover`:null)(`background-position`,o.placeholder?`50% 50%`:null)(`background-repeat`,o.placeholder?`no-repeat`:null)(`background-image`,o.placeholder?o.generatePlaceholder(o.placeholder):null)(`filter`,o.placeholder&&o.shouldBlurPlaceholder(o.placeholderConfig)?`blur(15px)`:null)},inputs:{ngSrc:[2,`ngSrc`,`ngSrc`,cM],ngSrcset:`ngSrcset`,sizes:`sizes`,width:[2,`width`,`width`,Jd],height:[2,`height`,`height`,Jd],decoding:`decoding`,loading:`loading`,priority:[2,`priority`,`priority`,Li],loaderParams:`loaderParams`,disableOptimizedSrcset:[2,`disableOptimizedSrcset`,`disableOptimizedSrcset`,Li],fill:[2,`fill`,`fill`,Li],placeholder:[2,`placeholder`,`placeholder`,uM],placeholderConfig:`placeholderConfig`,src:`src`,srcset:`srcset`},features:[Ei]})}return e})();function sM(e){let t={};return e.breakpoints&&(t.breakpoints=e.breakpoints.sort((n,r)=>n-r)),Object.assign({},aa,e,t)}function aM(e,t){e.complete&&e.naturalWidth&&t()}function cM(e){return typeof e==`string`?e:Me(e)}function uM(e){return typeof e==`string`&&e!==`true`&&e!==`false`&&e!==``?e:Li(e)}var Ui=class{_doc;constructor(t){this._doc=t}manager};var Cc=(()=>{class e extends Ui{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o,i){return n.addEventListener(r,o,i),()=>this.removeEventListener(n,r,o,i)}removeEventListener(n,r,o,i){return n.removeEventListener(r,o,i)}static ɵfac=function(r){return new(r||e)(x(G))};static ɵprov=C({token:e,factory:e.ɵfac})}return e})();var _c=new I(``);var gf=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(n,r){this._zone=r,n.forEach(s=>{s.manager=this});let o=n.filter(s=>!(s instanceof Cc));this._plugins=o.slice().reverse();let i=n.find(s=>s instanceof Cc);i&&this._plugins.push(i)}addEventListener(n,r,o,i){return this._findPluginFor(r).addEventListener(n,r,o,i)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new m(-5101,!1);return this._eventNameToPlugin.set(n,r),r}static ɵfac=function(r){return new(r||e)(x(_c),x(ie))};static ɵprov=C({token:e,factory:e.ɵfac})}return e})();var ff=`ng-app-id`;function Uv(e){for(let t of e)t.remove()}function zv(e,t){let n=t.createElement(`style`);return n.textContent=e,n}function lM(e,t,n,r){let o=e.head?.querySelectorAll(`style[${ff}="${t}"],link[${ff}="${t}"]`);if(!o||o.length===0)return!1;for(let i of o)i.removeAttribute(ff),i instanceof HTMLLinkElement?r.set(i.href.slice(i.href.lastIndexOf(`/`)+1),{usage:0,elements:[i]}):i.textContent&&n.set(i.textContent,{usage:0,elements:[i]});return!0}function hf(e,t){let n=t.createElement(`link`);return n.setAttribute(`rel`,`stylesheet`),n.setAttribute(`href`,e),n}var mf=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,lM(n,r,this.inline,this.external)&&this.hosts.add(n.head)}addStyles(n,r){for(let o of n)this.addUsage(o,this.inline,zv);r?.forEach(o=>this.addUsage(o,this.external,hf))}removeStyles(n,r){for(let o of n)this.removeUsage(o,this.inline);r?.forEach(o=>this.removeUsage(o,this.external))}addUsage(n,r,o){let i=r.get(n);i?i.usage++:r.set(n,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,o(n,this.doc)))})}removeUsage(n,r){let o=r.get(n);o&&(o.usage--,o.usage<=0&&(Uv(o.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])Uv(n);this.hosts.clear()}addHost(n){if(!this.hosts.has(n)){this.hosts.add(n);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(n,zv(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(n,hf(r,this.doc)))}}removeHost(n){this.hosts.delete(n);for(let r of[...this.inline.values(),...this.external.values()]){let o=[];for(let i of r.elements)i.parentNode===n?i.remove():o.push(i);r.elements=o}}addElement(n,r){return this.nonce&&r.setAttribute(`nonce`,this.nonce),n.appendChild(r)}static ɵfac=function(r){return new(r||e)(x(G),x(to),x(ni,8),x(ti))};static ɵprov=C({token:e,factory:e.ɵfac})}return e})();var pf={svg:`http://www.w3.org/2000/svg`,xhtml:`http://www.w3.org/1999/xhtml`,xlink:`http://www.w3.org/1999/xlink`,xml:`http://www.w3.org/XML/1998/namespace`,xmlns:`http://www.w3.org/2000/xmlns/`,math:`http://www.w3.org/1998/Math/MathML`};var yf=/%COMP%/g;var Wv=`%COMP%`;var dM=`_nghost-${Wv}`;var fM=`_ngcontent-${Wv}`;var pM=!0;var hM=new I(``,{factory:()=>pM});var gM=new I(``);function mM(e){return fM.replace(yf,e)}function yM(e){return dM.replace(yf,e)}function qv(e,t){return t.map(n=>n.replace(yf,e))}var vf=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;cssVarNamespace;constructor(n,r,o,i,s,a,c=null,u=null,l=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.ngZone=a,this.nonce=c,this.tracingService=u,this.cssVarNamespace=l??``,this.defaultRenderer=new zi(n,s,a,this.tracingService,this.cssVarNamespace)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;let o=this.getOrCreateRenderer(n,r);return o instanceof Tc?o.applyToHost(n):o instanceof Gi&&o.applyStyles(),o}getOrCreateRenderer(n,r){let o=this.rendererByCompId,i=o.get(r.id);if(!i){let s=this.doc,a=this.ngZone,c=this.eventManager,u=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,d=this.tracingService;switch(r.encapsulation){case mt.Emulated:i=new Tc(c,u,r,this.appId,l,s,a,d,this.cssVarNamespace);break;case mt.ShadowDom:return new bc(c,n,r,s,a,this.nonce,d,this.cssVarNamespace,u);case mt.ExperimentalIsolatedShadowDom:return new bc(c,n,r,s,a,this.nonce,d,this.cssVarNamespace);default:i=new Gi(c,u,r,l,s,a,d,this.cssVarNamespace);break}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(n){this.rendererByCompId.delete(n)}static ɵfac=function(r){return new(r||e)(x(gf),x(Ir),x(to),x(hM),x(G),x(ie),x(ni),x(Kt,8),x(gM,8))};static ɵprov=C({token:e,factory:e.ɵfac})}return e})();var zi=class{eventManager;doc;ngZone;tracingService;cssVarNamespace;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,n,r,o,i=``){this.eventManager=t,this.doc=n,this.ngZone=r,this.tracingService=o,this.cssVarNamespace=i}destroy(){}destroyNode=null;createElement(t,n){return n?this.doc.createElementNS(pf[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(Gv(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(Gv(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){n.remove()}selectRootElement(t,n){let r=typeof t==`string`?this.doc.querySelector(t):t;if(!r)throw new m(-5104,!1);return n||(r.textContent=``),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+`:`+n;let i=pf[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let o=pf[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){let i=n.startsWith(`--`);i&&(n=n.replace(`%NS%`,this.cssVarNamespace)),i||o&(yt.DashCase|yt.Important)?t.style.setProperty(n,r,o&yt.Important?`important`:``):t.style[n]=r}removeStyle(t,n,r){let o=n.startsWith(`--`);o&&(n=n.replace(`%NS%`,this.cssVarNamespace)),o||r&yt.DashCase?t.style.removeProperty(n):t.style[n]=``}setProperty(t,n,r){t!=null&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r,o){if(typeof t==`string`&&(t=tn().getGlobalEventTarget(this.doc,t),!t))throw new m(-5102,!1);let i=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(i=this.tracingService.wrapEventListener(t,n,i)),this.eventManager.addEventListener(t,n,i,o)}decoratePreventDefault(t){return n=>{if(n===`__ngUnwrap__`)return t;t(n)===!1&&n.preventDefault()}}};function Gv(e){return e.tagName===`TEMPLATE`&&e.content!==void 0}var bc=class extends zi{hostEl;sharedStylesHost;shadowRoot;constructor(t,n,r,o,i,s,a,c,u){super(t,o,i,a,c),this.hostEl=n,this.sharedStylesHost=u,this.shadowRoot=n.attachShadow({mode:`open`}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let l=r.styles;l=qv(r.id,l).map(p=>p.replace(/%NS%/g,c));for(let p of l){let f=document.createElement(`style`);s&&f.setAttribute(`nonce`,s),f.textContent=p,this.shadowRoot.appendChild(f)}let d=r.getExternalStyles?.();if(d)for(let p of d){let f=hf(p,o);s&&f.setAttribute(`nonce`,s),this.shadowRoot.appendChild(f)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(null,n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}};var Gi=class extends zi{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,n,r,o,i,s,a,c,u){super(t,i,s,a,c),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o;let l=r.styles,d=u?qv(u,l):l;this.styles=d.map(p=>p.replace(/%NS%/g,c)),this.styleUrls=r.getExternalStyles?.(u)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&Tn.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}};var Tc=class extends Gi{contentAttr;hostAttr;constructor(t,n,r,o,i,s,a,c,u){let l=o+`-`+r.id;super(t,n,r,i,s,a,c,u,l),this.contentAttr=mM(l),this.hostAttr=yM(l)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,``)}createElement(t,n){let r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,``),r}};var Sc=class e extends Pi{supportsDOMEvents=!0;static makeCurrent(){ef(new e)}onAndCancel(t,n,r,o){return t.addEventListener(n,r,o),()=>{t.removeEventListener(n,r,o)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.remove()}createElement(t,n){return n=n||this.getDefaultDocument(),n.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument(`fakeTitle`)}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return n===`window`?window:n===`document`?t:n===`body`?t.body:null}getBaseHref(t){let n=vM();return n==null?null:DM(n)}resetBaseElement(){Wi=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return $i(document.cookie,t)}};var Wi=null;function vM(){return Wi=Wi||document.head.querySelector(`base`),Wi?Wi.getAttribute(`href`):null}function DM(e){return new URL(e,document.baseURI).pathname}var Zv=[`alt`,`control`,`meta`,`shift`];var EM={"\b":`Backspace`,"	":`Tab`,"":`Delete`,"\x1B":`Escape`,Del:`Delete`,Esc:`Escape`,Left:`ArrowLeft`,Right:`ArrowRight`,Up:`ArrowUp`,Down:`ArrowDown`,Menu:`ContextMenu`,Scroll:`ScrollLock`,Win:`OS`};var IM={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};var Yv=(()=>{class e extends Ui{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,r,o,i){let s=e.parseEventName(r),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>tn().onAndCancel(n,s.domEventName,a,i))}static parseEventName(n){let r=n.toLowerCase().split(`.`),o=r.shift();if(r.length===0||!(o===`keydown`||o===`keyup`))return null;let i=e._normalizeKey(r.pop()),s=``,a=r.indexOf(`code`);if(a>-1&&(r.splice(a,1),s=`code.`),Zv.forEach(u=>{let l=r.indexOf(u);l>-1&&(r.splice(l,1),s+=u+`.`)}),s+=i,r.length!=0||i.length===0)return null;let c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(n,r){let o=EM[n.key]||n.key,i=``;return r.indexOf(`code.`)>-1&&(o=n.code,i=`code.`),o==null||!o?!1:(o=o.toLowerCase(),o===` `?o=`space`:o===`.`&&(o=`dot`),Zv.forEach(s=>{if(s!==o){let a=IM[s];a(n)&&(i+=s+`.`)}}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return n===`esc`?`escape`:n}static ɵfac=function(r){return new(r||e)(x(G))};static ɵprov=C({token:e,factory:e.ɵfac})}return e})();function wM(e,t,n){return E$1(this,null,function*(){return pv(w$1({rootComponent:e},CM(t,n)))})}function CM(e,t){return{platformRef:t?.platformRef,appProviders:[...MM,...e?.providers??[]],platformProviders:SM}}function bM(){Sc.makeCurrent()}function TM(){return new Ge}function _M(){return id(document),document}var SM=[{provide:ti,useValue:df},{provide:sa,useValue:bM,multi:!0},{provide:G,useFactory:_M}];var MM=[{provide:Go,useValue:`root`},{provide:Ge,useFactory:TM},{provide:_c,useClass:Cc,multi:!0},{provide:_c,useClass:Yv,multi:!0},vf,{provide:Ir,useClass:mf},{provide:mf,useExisting:Ir},gf,{provide:mr,useExisting:vf},[]];var tt=class e{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(t){t?typeof t==`string`?this.lazyInit=()=>{this.headers=new Map,t.split(`
`).forEach(n=>{let r=n.indexOf(`:`);if(r>0){let o=n.slice(0,r),i=n.slice(r+1).trim();this.addHeaderEntry(o,i)}})}:typeof Headers<`u`&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.addHeaderEntry(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:`a`})}set(t,n){return this.clone({name:t,value:n,op:`s`})}delete(t,n){return this.clone({name:t,value:n,op:`d`})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init();for(let[n,r]of t.headers.entries())this.headers.set(n,r),this.normalizedNames.set(n,t.normalizedNames.get(n))}clone(t){let n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){let n=t.name.toLowerCase();switch(t.op){case`a`:case`s`:let r=t.value;if(typeof r==`string`&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(t.name,n);let o=t.op===`a`?(this.headers.get(n)||[]).slice():[];o.push(...r),this.headers.set(n,o);break;case`d`:let i=t.value;if(i===void 0)this.headers.delete(n),this.normalizedNames.delete(n);else{let s=Array.isArray(i)?i:[i],a=this.headers.get(n);if(!a)return;a=a.filter(c=>s.indexOf(c)===-1),a.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,a)}break}}addHeaderEntry(t,n){let r=t.toLowerCase();this.maybeSetNormalizedName(t,r),this.headers.has(r)?this.headers.get(r).push(n):this.headers.set(r,[n])}setHeaderEntries(t,n){let r=(Array.isArray(n)?n:[n]).map(i=>i.toString()),o=t.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}};var Nc=class{map=new Map;set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}};var xc=class{encodeKey(t){return Kv(t)}encodeValue(t){return Kv(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function NM(e,t){let n=new Map;return e.length>0&&e.replace(/^\?/,``).split(`&`).forEach(o=>{let i=o.indexOf(`=`),[s,a]=i==-1?[t.decodeKey(o),``]:[t.decodeKey(o.slice(0,i)),t.decodeValue(o.slice(i+1))],c=n.get(s)||[];c.push(a),n.set(s,c)}),n}var xM=/%(\d[a-f0-9])/gi;var AM={40:`@`,"3A":`:`,24:`$`,"2C":`,`,"3B":`;`,"3D":`=`,"3F":`?`,"2F":`/`};function Kv(e){return encodeURIComponent(e).replace(xM,(t,n)=>AM[n]??t)}function Mc(e){return`${e}`}var Et=class e{map;encoder;updates=null;cloneFrom=null;constructor(t={}){if(this.encoder=t.encoder||new xc,t.fromString){if(t.fromObject)throw new m(2805,!1);this.map=NM(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{let r=t.fromObject[n],o=Array.isArray(r)?r.map(Mc):[Mc(r)];this.map.set(n,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:`a`})}appendAll(t){let n=[];return Object.keys(t).forEach(r=>{let o=t[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:`a`})}):n.push({param:r,value:o,op:`a`})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:`s`})}delete(t,n){return this.clone({param:t,value:n,op:`d`})}toString(){return this.init(),this.keys().map(t=>{let n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+`=`+this.encoder.encodeValue(r)).join(`&`)}).filter(t=>t!==``).join(`&`)}clone(t){let n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){if(this.map===null&&(this.map=new Map),this.cloneFrom!==null){this.cloneFrom.init();for(let[t,n]of this.cloneFrom.map.entries())this.map.set(t,n);this.updates.forEach(t=>{switch(t.op){case`a`:case`s`:let n=t.op===`a`?(this.map.get(t.param)||[]).slice():[];n.push(Mc(t.value)),this.map.set(t.param,n);break;case`d`:if(t.value!==void 0){let r=(this.map.get(t.param)||[]).slice(),o=r.indexOf(Mc(t.value));o!==-1&&r.splice(o,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null}}};function RM(e){switch(e){case`DELETE`:case`GET`:case`HEAD`:case`OPTIONS`:case`JSONP`:return!1;default:return!0}}function Qv(e){return typeof ArrayBuffer<`u`&&e instanceof ArrayBuffer}function Xv(e){return typeof Blob<`u`&&e instanceof Blob}function Jv(e){return typeof FormData<`u`&&e instanceof FormData}function OM(e){return typeof URLSearchParams<`u`&&e instanceof URLSearchParams}var Df=`Content-Type`;var eD=`Accept`;var oD=`text/plain`;var iD=`application/json`;var kM=`${iD}, ${oD}, */*`;var _r=class e{url;body=null;headers;context;reportProgress=!1;reportUploadProgress=!1;reportDownloadProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType=`json`;method;params;urlWithParams;transferCache;timeout;constructor(t,n,r,o){this.url=n,this.method=t.toUpperCase();let i;if(RM(this.method)||o?(this.body=r!==void 0?r:null,i=o):i=r,i){if(this.reportProgress=!!i.reportProgress,this.reportUploadProgress=!!i.reportUploadProgress,this.reportDownloadProgress=!!i.reportDownloadProgress,this.withCredentials=!!i.withCredentials,this.keepalive=!!i.keepalive,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),i.priority&&(this.priority=i.priority),i.cache&&(this.cache=i.cache),i.credentials&&(this.credentials=i.credentials),typeof i.timeout==`number`){if(i.timeout<1||!Number.isInteger(i.timeout))throw new m(2822,``);this.timeout=i.timeout}i.mode&&(this.mode=i.mode),i.redirect&&(this.redirect=i.redirect),i.integrity&&(this.integrity=i.integrity),i.referrer!==void 0&&(this.referrer=i.referrer),i.referrerPolicy&&(this.referrerPolicy=i.referrerPolicy),this.transferCache=i.transferCache}if(this.headers??=new tt,this.context??=new Nc,!this.params)this.params=new Et,this.urlWithParams=n;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=n;else{let a=n,c=``,u=n.indexOf(`#`);u!==-1&&(c=n.substring(u),a=n.substring(0,u));let l=a.indexOf(`?`),d=l===-1?`?`:l<a.length-1?`&`:``;this.urlWithParams=a+d+s+c}}}serializeBody(){return this.body===null?null:typeof this.body==`string`||Qv(this.body)||Xv(this.body)||Jv(this.body)||OM(this.body)?this.body:this.body instanceof Et?this.body.toString():typeof this.body==`object`||typeof this.body==`boolean`||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||Jv(this.body)?null:Xv(this.body)?this.body.type||null:Qv(this.body)?null:typeof this.body==`string`?oD:this.body instanceof Et?`application/x-www-form-urlencoded;charset=UTF-8`:typeof this.body==`object`||typeof this.body==`number`||typeof this.body==`boolean`?iD:null}clone(t={}){let n=t.method||this.method,r=t.url||this.url,o=t.responseType||this.responseType,i=t.keepalive??this.keepalive,s=t.priority||this.priority,a=t.cache||this.cache,c=t.mode||this.mode,u=t.redirect||this.redirect,l=t.credentials||this.credentials,d=t.referrer??this.referrer,p=t.integrity||this.integrity,f=t.referrerPolicy||this.referrerPolicy,h=t.transferCache??this.transferCache,y=t.timeout??this.timeout,v=t.body!==void 0?t.body:this.body,D=t.withCredentials??this.withCredentials,O=t.reportProgress??this.reportProgress,he=t.reportUploadProgress??this.reportUploadProgress,Ee=t.reportDownloadProgress??this.reportDownloadProgress,Ie=t.headers||this.headers,ee=t.params||this.params,It=t.context??this.context;return t.setHeaders!==void 0&&(Ie=Object.keys(t.setHeaders).reduce((nt,$e)=>nt.set($e,t.setHeaders[$e]),Ie)),t.setParams&&(ee=Object.keys(t.setParams).reduce((nt,$e)=>nt.set($e,t.setParams[$e]),ee)),new e(n,r,v,{params:ee,headers:Ie,context:It,reportProgress:O,reportUploadProgress:he,reportDownloadProgress:Ee,responseType:o,withCredentials:D,transferCache:h,keepalive:i,cache:a,priority:s,timeout:y,mode:c,redirect:u,credentials:l,referrer:d,integrity:p,referrerPolicy:f})}};var rn=(function(e){return e[e.Sent=0]=`Sent`,e[e.UploadProgress=1]=`UploadProgress`,e[e.ResponseHeader=2]=`ResponseHeader`,e[e.DownloadProgress=3]=`DownloadProgress`,e[e.Response=4]=`Response`,e[e.User=5]=`User`,e})(rn||{});var Eo=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(t,n=200,r=`OK`){this.headers=t.headers||new tt,this.status=t.status!==void 0?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.redirected=t.redirected,this.responseType=t.responseType,this.ok=this.status>=200&&this.status<300}};var Ac=class e extends Eo{constructor(t={}){super(t)}type=rn.ResponseHeader;clone(t={}){return new e({headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}};var Io=class e extends Eo{body;constructor(t={}){super(t),this.body=t.body!==void 0?t.body:null}type=rn.Response;clone(t={}){return new e({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0,redirected:t.redirected??this.redirected,responseType:t.responseType??this.responseType})}};var xn=class extends Eo{name=`HttpErrorResponse`;message;error;ok=!1;constructor(t){super(t,0,`Unknown Error`),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||`(unknown url)`}`:this.message=`Http failure response for ${t.url||`(unknown url)`}: ${t.status} ${t.statusText}`,this.error=t.error||null}};var FM=200;var LM=/^\)\]\}',?\n/;var sD=new I(``,{factory:()=>null});var wo=(()=>{class e{fetchImpl=g(If,{optional:!0})?.fetch??((...n)=>globalThis.fetch(...n));ngZone=g(ie);destroyRef=g(Z);maxResponseSize=g(sD);handle(n){return new S(r=>{let o=new AbortController,i=!1,s={next:c=>{c.type===rn.Response&&(i=!0),r.next(c)},error:c=>{i=!0,r.error(c)},complete:()=>{i=!0,r.complete()}};this.doRequest(n,o.signal,s).then(wf,c=>s.error(new xn({error:c})));let a;return n.timeout&&(a=this.ngZone.runOutsideAngular(()=>setTimeout(()=>{o.signal.aborted||o.abort(new DOMException(`signal timed out`,`TimeoutError`))},n.timeout))),()=>{a!==void 0&&clearTimeout(a),!i&&!o.signal.aborted&&o.abort()}})}doRequest(n,r,o){return E$1(this,null,function*(){let i=this.createRequestInit(n),s;try{let v=this.ngZone.runOutsideAngular(()=>this.fetchImpl(n.urlWithParams,w$1({signal:r},i)));PM(v),o.next({type:rn.Sent}),s=yield v}catch(v){o.error(new xn({error:v,status:v.status??0,statusText:v.statusText,url:n.urlWithParams,headers:v.headers}));return}let a=new tt(s.headers),c=s.statusText,u=s.url||n.urlWithParams,l=s.status,d=null,p=n.reportProgress||n.reportDownloadProgress;if(p&&o.next(new Ac({headers:a,status:l,statusText:c,url:u})),s.body){let v=s.headers.get(Df)??``,D=s.headers.get(`content-length`),O=D!==null?Number(D):NaN;this.maxResponseSize!==null&&Number.isFinite(O)&&O>this.maxResponseSize&&tD(this.maxResponseSize);let he=[],Ee=s.body.getReader(),Ie=0,ee,It,nt=typeof Zone<`u`&&Zone.current,$e=!1;if(yield this.ngZone.runOutsideAngular(()=>E$1(this,null,function*(){for(;;){if(this.destroyRef.destroyed){yield Ee.cancel(),$e=!0;break}let{done:rt,value:Rn}=yield Ee.read();if(rt)break;if(he.push(Rn),Ie+=Rn.length,this.maxResponseSize!==null&&Ie>this.maxResponseSize&&(yield Ee.cancel(),tD(this.maxResponseSize)),p){It=n.responseType===`text`?(It??``)+(ee??=nD(v)).decode(Rn,{stream:!0}):void 0;let ot=()=>o.next({type:rn.DownloadProgress,total:Number.isFinite(O)?O:void 0,loaded:Ie,partialText:It});nt?nt.run(ot):ot()}}})),$e){o.complete();return}let ce=this.concatChunks(he,Ie);try{d=this.parseBody(n,ce,v,l)}catch(rt){o.error(new xn({error:rt,headers:new tt(s.headers),status:s.status,statusText:s.statusText,url:s.url||n.urlWithParams}));return}}l===0&&(l=d?FM:0);let f=l>=200&&l<300,h=s.redirected,y=s.type;f?(o.next(new Io({body:d,headers:a,status:l,statusText:c,url:u,redirected:h,responseType:y})),o.complete()):o.error(new xn({error:d,headers:a,status:l,statusText:c,url:u,redirected:h,responseType:y}))})}parseBody(n,r,o,i){switch(n.responseType){case`json`:let s=new TextDecoder().decode(r).replace(LM,``);if(s===``)return null;try{return JSON.parse(s)}catch(a){if(i<200||i>=300)return s;throw a}case`text`:return nD(o).decode(r);case`blob`:return new Blob([r],{type:o});case`arraybuffer`:return r.buffer}}createRequestInit(n){if(n.reportUploadProgress)throw new m(2824,!1);let r={},o;if(o=n.credentials,n.withCredentials&&(o=`include`),n.headers.forEach((i,s)=>r[i]=s.join(`,`)),n.headers.has(eD)||(r[eD]=kM),!n.headers.has(Df)){let i=n.detectContentTypeHeader();i!==null&&(r[Df]=i)}return{body:n.serializeBody(),method:n.method,headers:r,credentials:o,keepalive:n.keepalive,cache:n.cache,priority:n.priority,mode:n.mode,redirect:n.redirect,referrer:n.referrer,integrity:n.integrity,referrerPolicy:n.referrerPolicy}}concatChunks(n,r){let o=new Uint8Array(r),i=0;for(let s of n)o.set(s,i),i+=s.length;return o}static ɵfac=function(r){return new(r||e)};static ɵprov=Qe({token:e,factory:e.ɵfac})}return e})();var If=class{};function wf(){}function PM(e){e.then(wf,wf)}function tD(e){throw new m(-2825,!1)}var jM=/charset=\s*["']?([^;"'\s]+)["']?/i;function nD(e){let t=e.match(jM);if(t!==null)try{return new TextDecoder(t[1])}catch(n){}return new TextDecoder}var BM=new I(``,{factory:()=>!0});var VM=`XSRF-TOKEN`;var HM=new I(``,{factory:()=>VM});var $M=`X-XSRF-TOKEN`;var UM=new I(``,{factory:()=>$M});var zM=(()=>{class e{cookieName=g(HM);doc=g(G);lastCookieString=``;lastToken=null;parseCount=0;getToken(){let n=this.doc.cookie||``;return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=$i(n,this.cookieName),this.lastCookieString=n),this.lastToken}static ɵfac=function(r){return new(r||e)};static ɵprov=Qe({token:e,factory:e.ɵfac})}return e})();var aD=(()=>{class e{static ɵfac=function(r){return new(r||e)};static ɵprov=C({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=x(zM),o},providedIn:`root`})}return e})();function cD(e,t){if(!g(BM)||e.method===`GET`||e.method===`HEAD`)return t(e);try{let o=g(Do).href,{origin:i}=new URL(o),{origin:s}=new URL(e.url,i);if(i!==s)return t(e)}catch(o){return t(e)}let n=g(aD).getToken(),r=g(UM);return n!=null&&!e.headers.has(r)&&(e=e.clone({headers:e.headers.set(r,n)})),t(e)}function uD(e,t){return t(e)}function GM(e,t){return(n,r)=>t.intercept(n,{handle:o=>e(o,r)})}function WM(e,t,n){return(r,o)=>Yr(n,()=>t(r,i=>e(i,o)))}var lD=new I(``);var Oc=new I(``,{factory:()=>[cD]});var dD=new I(``);var Cf=new I(``,{factory:()=>!0});function qM(){let e=null;return(t,n)=>{e===null&&(e=(g(lD,{optional:!0})??[]).reduceRight(GM,uD));let r=g(Cn);if(g(Cf)){let i=r.add();return e(t,n).pipe(Vn(i))}else return e(t,n)}}var kc=(()=>{class e{static ɵfac=function(r){return new(r||e)};static ɵprov=C({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=x(wo),o},providedIn:`root`})}return e})();var Rc=(()=>{class e{backend;injector;chain=null;pendingTasks=g(Cn);contributeToStability=g(Cf);constructor(n,r){this.backend=n,this.injector=r}handle(n){if(this.chain===null){let o=this.injector.get(Fc,null,{skipSelf:!0}),i=o!==null&&this.backend===o,s=this.injector.get(dD,[],i?{self:!0}:void 0),a=Array.from(new Set([...this.injector.get(Oc),...s]));this.chain=a.reduceRight((c,u)=>WM(c,u,this.injector),uD)}let r=this.chain;if(this.contributeToStability){let o=this.pendingTasks.add();return oe(()=>r(n,i=>this.backend.handle(i))).pipe(Vn(o))}else return oe(()=>r(n,o=>this.backend.handle(o)))}static ɵfac=function(r){return new(r||e)(x(kc),x(Te))};static ɵprov=C({token:e,factory:e.ɵfac,providedIn:`root`})}return e})();var Fc=(()=>{class e{static ɵfac=function(r){return new(r||e)};static ɵprov=C({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=x(Rc),o},providedIn:`root`})}return e})();function Ef(e,t){return w$1({body:t},e)}var qi=(()=>{class e{handler;constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof _r)i=n;else{let c;o.headers instanceof tt?c=o.headers:c=new tt(o.headers);let u;o.params&&(o.params instanceof Et?u=o.params:u=new Et({fromObject:o.params})),i=new _r(n,r,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:u,reportProgress:o.reportProgress,reportUploadProgress:o.reportUploadProgress,reportDownloadProgress:o.reportDownloadProgress,responseType:o.responseType||`json`,withCredentials:o.withCredentials,transferCache:o.transferCache,keepalive:o.keepalive,priority:o.priority,cache:o.cache,mode:o.mode,redirect:o.redirect,credentials:o.credentials,referrer:o.referrer,referrerPolicy:o.referrerPolicy,integrity:o.integrity,timeout:o.timeout})}let s=ze(i).pipe(Mo(c=>this.handler.handle(c)));if(n instanceof _r||o.observe===`events`)return s;let a=s.pipe(Tt(c=>c instanceof Io));switch(o.observe||`body`){case`body`:switch(i.responseType){case`arraybuffer`:return a.pipe(pe(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new m(2806,!1);return c.body}));case`blob`:return a.pipe(pe(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new m(2807,!1);return c.body}));case`text`:return a.pipe(pe(c=>{if(c.body!==null&&typeof c.body!=`string`)throw new m(2808,!1);return c.body}));default:return a.pipe(pe(c=>c.body))}case`response`:return a;default:throw new m(2809,!1)}}delete(n,r={}){return this.request(`DELETE`,n,r)}get(n,r={}){return this.request(`GET`,n,r)}head(n,r={}){return this.request(`HEAD`,n,r)}jsonp(n,r){return this.request(`JSONP`,n,{params:new Et().append(r,`JSONP_CALLBACK`),observe:`body`,responseType:`json`})}options(n,r={}){return this.request(`OPTIONS`,n,r)}patch(n,r,o={}){return this.request(`PATCH`,n,Ef(o,r))}post(n,r,o={}){return this.request(`POST`,n,Ef(o,r))}put(n,r,o={}){return this.request(`PUT`,n,Ef(o,r))}static ɵfac=function(r){return new(r||e)(x(Fc))};static ɵprov=C({token:e,factory:e.ɵfac,providedIn:`root`})}return e})();var Zi=(function(e){return e[e.Interceptors=0]=`Interceptors`,e[e.LegacyInterceptors=1]=`LegacyInterceptors`,e[e.CustomXsrfConfiguration=2]=`CustomXsrfConfiguration`,e[e.NoXsrfProtection=3]=`NoXsrfProtection`,e[e.JsonpSupport=4]=`JsonpSupport`,e[e.RequestsMadeViaParent=5]=`RequestsMadeViaParent`,e[e.Fetch=6]=`Fetch`,e[e.Xhr=7]=`Xhr`,e})(Zi||{});function bf(e,t){return{ɵkind:e,ɵproviders:t}}function ZM(...e){let t=[qi,wo,Rc,{provide:Fc,useExisting:Rc},{provide:kc,useFactory:()=>g(wo)},{provide:Oc,useValue:cD,multi:!0}];for(let n of e)t.push(...n.ɵproviders);return Gt(t)}function YM(e){return bf(Zi.Interceptors,e.map(t=>({provide:Oc,useValue:t,multi:!0})))}var rD=new I(``);function KM(){return bf(Zi.LegacyInterceptors,[{provide:rD,useFactory:qM},{provide:Oc,useExisting:rD,multi:!0}])}function QM(){return bf(Zi.Fetch,[wo,{provide:kc,useExisting:wo}])}var XM=new I(``);var JM=`b`;var e0=`h`;var t0=`s`;var n0=`st`;var r0=`u`;var o0=`rt`;var i0=new I(``);var s0=[`GET`,`HEAD`];function a0(e,t){let{isCacheActive:n,filter:r,includePostRequests:o,includeRequestsWithAuthHeaders:i,includeRequestsWithCredentials:s,includeNonCacheableRequests:a}=t,{transferCache:c,method:u}=e;return!(!n||c===!1||u===`POST`&&!o&&!c||u!==`POST`&&!s0.includes(u)||!i&&u0(e)||!s&&p0(e)||!a&&(d0(e.headers)||f0(e.cache))||r?.(e)===!1)}function c0(e,t,n,r,o,i=!1){if(!i&&!a0(e,t))return null;if(r)throw new m(2803,!1);if(!o){let y=e.url;o=h0(e,y)}let s=n.get(o,null);if(!s)return null;let{[JM]:a,[o0]:c,[e0]:u,[t0]:l,[n0]:d,[r0]:p}=s,f=a;switch(c){case`arraybuffer`:f=pD(a);break;case`blob`:f=new Blob([pD(a)]);break}let h=new tt(u);return new Io({body:f,headers:h,status:l,statusText:d,url:p})}function u0(e){let t=e.headers;return t.has(`authorization`)||t.has(`proxy-authorization`)||t.has(`cookie`)}var l0=new Set([`no-store`,`private`,`no-cache`]);function d0(e){let t=e.get(`cache-control`);return t?t.split(`,`).some(n=>{let r=n.split(`=`,1)[0].trim().toLowerCase();return l0.has(r)}):!1}function f0(e){return e===`no-cache`||e===`no-store`}function p0(e){let{withCredentials:t,credentials:n}=e;return t||n===`include`||n===`same-origin`}function fD(e){let t=new URLSearchParams(e instanceof URLSearchParams?e:e.toString());return t.sort(),t.toString()}function h0(e,t){let{params:n,method:r,responseType:o}=e,i=fD(n),s=e.serializeBody();s instanceof URLSearchParams?s=fD(s):typeof s!=`string`&&(s=``);return m0([r,o,t,s,i].join(`\0`))}function pD(e){let t=atob(e);return Uint8Array.from(t,r=>r.charCodeAt(0)).buffer}var g0=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]);var hD;function m0(e){hD??=new TextEncoder;let t=hD.encode(e),n=1779033703,r=3144134277,o=1013904242,i=2773480762,s=1359893119,a=2600822924,c=528734635,u=1541459225,l=t.length*8,d=(t.length+8>>6)+1<<6,p=new Uint8Array(d);p.set(t),p[t.length]=128;let f=new DataView(p.buffer),h=l>>>0,y=l/4294967296>>>0;f.setUint32(d-8,y,!1),f.setUint32(d-4,h,!1);let v=new Uint32Array(64);for(let D=0;D<d;D+=64){for(let ce=0;ce<16;ce++)v[ce]=f.getUint32(D+ce*4,!1);for(let ce=16;ce<64;ce++){let rt=v[ce-15],Rn=((rt>>>7|rt<<25)^(rt>>>18|rt<<14)^rt>>>3)>>>0,ot=v[ce-2],Hc=((ot>>>17|ot<<15)^(ot>>>19|ot<<13)^ot>>>10)>>>0;v[ce]=v[ce-16]+Rn+v[ce-7]+Hc>>>0}let O=n,he=r,Ee=o,Ie=i,ee=s,It=a,nt=c,$e=u;for(let ce=0;ce<64;ce++){let rt=((ee>>>6|ee<<26)^(ee>>>11|ee<<21)^(ee>>>25|ee<<7))>>>0,Rn=(ee&It^~ee&nt)>>>0,ot=$e+rt+Rn+g0[ce]+v[ce]>>>0,SD=(((O>>>2|O<<30)^(O>>>13|O<<19)^(O>>>22|O<<10))>>>0)+((O&he^O&Ee^he&Ee)>>>0)>>>0;$e=nt,nt=It,It=ee,ee=Ie+ot>>>0,Ie=Ee,Ee=he,he=O,O=ot+SD>>>0}n=n+O>>>0,r=r+he>>>0,o=o+Ee>>>0,i=i+Ie>>>0,s=s+ee>>>0,a=a+It>>>0,c=c+nt>>>0,u=u+$e>>>0}return[n,r,o,i,s,a,c,u].map(D=>D.toString(16).padStart(8,`0`)).join(``)}var A8=(()=>{let e=Lc(`json`);return e.arrayBuffer=Lc(`arraybuffer`),e.blob=Lc(`blob`),e.text=Lc(`text`),e})();function Lc(e){return function(n,r){let o=r?.injector??g(Q),i=o.get(i0,null,{optional:!0}),s=o.get(no,null,{optional:!0}),a=o.get(XM,null,{optional:!0}),c=u=>{if(i&&s&&u){let l=c0(u,i,s,a);if(l)try{let d=l.body;return q({value:r?.parse?r.parse(d):d})}catch(d){}}};return new Tf(o,u=>y0(u,n,e),r?.defaultValue,r?.debugName,r?.parse,r?.equal,c)}}function y0(e,t,n){let r=typeof t==`function`?t(e):t;if(r===void 0)return;typeof r==`string`&&(r={url:r});let o=r.headers instanceof tt?r.headers:new tt(r.headers),i=r.params instanceof Et?r.params:new Et({fromObject:r.params});return new _r(r.method??`GET`,r.url,r.body??null,{headers:o,params:i,reportProgress:r.reportProgress,withCredentials:r.withCredentials,keepalive:r.keepalive,cache:r.cache,priority:r.priority,mode:r.mode,redirect:r.redirect,responseType:n,context:r.context,transferCache:r.transferCache,credentials:r.credentials,referrer:r.referrer,referrerPolicy:r.referrerPolicy,integrity:r.integrity,timeout:r.timeout})}var Tf=class extends ki{client;_headers=en({source:this.extRequest,computation:()=>{}});_progress=en({source:this.extRequest,computation:()=>{}});_statusCode=en({source:this.extRequest,computation:()=>{}});headers=J(()=>this.status()===`resolved`||this.status()===`error`?this._headers():void 0);progress=this._progress.asReadonly();statusCode=this._statusCode.asReadonly();constructor(t,n,r,o,i,s,a){super(n,({params:c,abortSignal:u})=>{let l,d=!1,p=()=>{d=!0,l?.unsubscribe()};u.addEventListener(`abort`,p);let f=q({value:void 0}),h,y=new Promise(D=>h=D),v=D=>{f.set(D),h?.(f),h=void 0};return l=this.client.request(c).subscribe({next:D=>{switch(D.type){case rn.Response:this._headers.set(D.headers),this._statusCode.set(D.status);try{v({value:i?i(D.body):D.body})}catch(O){v({error:vo(O)})}break;case rn.DownloadProgress:this._progress.set(D);break}},error:D=>{D instanceof xn&&(this._headers.set(D.headers),this._statusCode.set(D.status)),v({error:D}),u.removeEventListener(`abort`,p)},complete:()=>{h&&v({error:new m(991,!1)}),u.removeEventListener(`abort`,p)}}),d&&l.unsubscribe(),y},r,s,o,t,void 0,a),this.client=t.get(qi)}set(t){super.set(t),this._headers.set(void 0),this._progress.set(void 0),this._statusCode.set(void 0)}};var X8=(()=>{class e{_doc;constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||``}static ɵfac=function(r){return new(r||e)(x(G))};static ɵprov=C({token:e,factory:e.ɵfac,providedIn:`root`})}return e})();var _f=(()=>{class e{static ɵfac=function(r){return new(r||e)};static ɵprov=C({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=x(v0),o},providedIn:`root`})}return e})();var v0=(()=>{class e extends _f{_doc=g(G);sanitize(n,r){if(r==null)return null;switch(n){case $.NONE:return r;case $.HTML:return At(r,`HTML`)?Me(r):za(this._doc,String(r)).toString();case $.STYLE:return At(r,`Style`)?Me(r):r;case $.SCRIPT:if(At(r,`Script`))return Me(r);throw new m(5200,!1);case $.URL:return At(r,`URL`)?Me(r):Ii(String(r));case $.RESOURCE_URL:if(At(r,`ResourceURL`))return Me(r);throw new m(-5201,!1);default:throw new m(5202,!1)}}bypassSecurityTrustHtml(n){return cd(n)}bypassSecurityTrustStyle(n){return ud(n)}bypassSecurityTrustScript(n){return ld(n)}bypassSecurityTrustUrl(n){return dd(n)}bypassSecurityTrustResourceUrl(n){return fd(n)}static ɵfac=function(r){return new(r||e)};static ɵprov=Qe({token:e,factory:e.ɵfac})}return e})();function An(e){e||(e=g(Z));let t=new S(n=>{if(e.destroyed){n.next();return}return e.onDestroy(n.next.bind(n))});return n=>n.pipe(Ts(t))}function a3(e,t){let r=!t?.manualCleanup?t?.injector?.get(Z)??g(Z):null,o=D0(t?.equal),i;t?.requireSync?i=q({kind:0},{equal:o}):i=q({kind:1,value:t?.initialValue},{equal:o});let s,a=e.subscribe({next:c=>i.set({kind:1,value:c}),error:c=>{i.set({kind:2,error:c}),s?.()},complete:()=>{s?.()}});if(t?.requireSync&&i().kind===0)throw new m(601,!1);return s=r?.onDestroy(a.unsubscribe.bind(a)),J(()=>{let c=i();switch(c.kind){case 1:return c.value;case 2:throw c.error;case 0:throw new m(601,!1)}},{equal:t?.equal})}function D0(e=Object.is){return(t,n)=>t.kind===1&&n.kind===1&&e(t.value,n.value)}function gD(e,t){let n={};for(let r of Object.keys(e))r!==t&&(n[r]=e[r]);return n}var Sf=class{state=q({});hasAny=J(()=>Object.keys(this.state()).length>0);isLoading(t){return this.state()[t]!==void 0}get(t){return this.state()[t]}set(t,n){this.state.update(r=>x$1(w$1({},r),{[t]:n}))}clear(t){this.state.update(n=>gD(n,t))}clearIfOwner(t,n){this.state.update(r=>r[t]===n?gD(r,t):r)}};var jc=class{};var E0=(()=>{class e{handle(n){return n.key}static ɵfac=function(r){return new(r||e)};static ɵprov=C({token:e,factory:e.ɵfac})}return e})();var Qi=class{};var I0=(()=>{class e extends Qi{compile(n,r){return n}compileTranslations(n,r){return n}static ɵfac=(()=>{let n;return function(o){return(n||(n=Sn(e)))(o||e)}})();static ɵprov=C({token:e,factory:e.ɵfac})}return e})();var Xi=class{};var w0=(()=>{class e extends Xi{getTranslation(n){return ze({})}static ɵfac=(()=>{let n;return function(o){return(n||(n=Sn(e)))(o||e)}})();static ɵprov=C({token:e,factory:e.ɵfac})}return e})();function Mf(e,t){if(e===t)return!0;if(e===null||t===null)return!1;if(e!==e&&t!==t)return!0;let n=typeof e,r=typeof t,o;if(n==r&&n==`object`)if(Array.isArray(e)){if(!Array.isArray(t))return!1;if((o=e.length)==t.length){for(let i=0;i<o;i++)if(!Mf(e[i],t[i]))return!1;return!0}}else{if(Array.isArray(t))return!1;if(sn(e)&&sn(t)){let i=Object.create(null);for(let s in e){if(!Mf(e[s],t[s]))return!1;i[s]=!0}for(let s in t)if(!(s in i)&&typeof t[s]<`u`)return!1;return!0}}return!1}function on(e){return typeof e<`u`&&e!==null}function mD(e){return e!==void 0}function sn(e){return Ki(e)&&!Sr(e)&&e!==null}function Ki(e){return typeof e==`object`&&e!==null}function Sr(e){return Array.isArray(e)}function Bc(e){return typeof e==`string`}function C0(e){return typeof e==`function`}function Vc(e){if(Sr(e))return e.map(t=>Vc(t));if(sn(e)){let t={};return Object.keys(e).forEach(n=>{t[n]=Vc(e[n])}),t}else return e}function xf(e,t){if(!Ki(e))return Vc(t);let n=Vc(e);return Ki(n)&&Ki(t)&&Object.keys(t).forEach(r=>{sn(t[r])?r in e?n[r]=xf(e[r],t[r]):Object.assign(n,{[r]:t[r]}):Object.assign(n,{[r]:t[r]})}),n}function vD(e,t){let n=t.split(`.`);t=``;do{t+=n.shift();let r=!n.length;if(on(e)){if(sn(e)&&mD(e[t])&&(sn(e[t])||Sr(e[t])||r)){e=e[t],t=``;continue}if(Sr(e)){if(t===`length`&&r){e=e.length,t=``;continue}if(/^\d+$/.test(t)){let o=parseInt(t,10);if(mD(e[o])&&(sn(e[o])||Sr(e[o])||r)){e=e[o],t=``;continue}}}}if(r){e=void 0;continue}t+=`.`}while(n.length);return e}function b0(e,t,n){return xf(e,T0(t,n))}function T0(e,t){return e.split(`.`).reduceRight((n,r)=>({[r]:n}),t)}var Ji=class{};var _0=(()=>{class e extends Ji{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(n,r){if(Bc(n))return this.interpolateString(n,r);if(C0(n))return this.interpolateFunction(n,r)}interpolateFunction(n,r){return n(r)}interpolateString(n,r){return r?n.replace(this.templateMatcher,(o,i)=>{let s=this.getInterpolationReplacement(r,i);return s!==void 0?s:o}):n}getInterpolationReplacement(n,r){return this.formatValue(vD(n,r))}formatValue(n){if(Bc(n))return n;if(typeof n==`number`||typeof n==`boolean`)return n.toString();if(n===null)return`null`;if(Sr(n))return n.join(`, `);if(Ki(n))return typeof n.toString==`function`&&n.toString!==Object.prototype.toString?n.toString():JSON.stringify(n)}static ɵfac=(()=>{let n;return function(o){return(n||(n=Sn(e)))(o||e)}})();static ɵprov=C({token:e,factory:e.ɵfac})}return e})();var DD=(()=>{class e{_translations=q({});translations=this._translations.asReadonly();_languages=q([]);languages=this._languages.asReadonly();_lastTranslationChange=q(null);lastTranslationChange=this._lastTranslationChange.asReadonly();_translationChange$=new P;translationChange$=this._translationChange$.asObservable();constructor(){g(Z).onDestroy(()=>{this._translationChange$.complete()})}getTranslations(n){return this.translations()[n]}setTranslations(n,r,o){this._translations.update(s=>x$1(w$1({},s),{[n]:o&&this.hasTranslationFor(n)?xf(s[n],r):r})),this.addLanguages([n]);let i={lang:n,translations:this.getTranslations(n)};this._lastTranslationChange.set(i),this._translationChange$.next(i)}getLanguages(){return this.languages()}addLanguages(n){this._languages.update(r=>Array.from(new Set([...r,...n])))}hasTranslationFor(n){return typeof this.translations()[n]<`u`}deleteTranslations(n){this._translations.update(r=>{let s=r,{[n]:o}=s;return A$1(s,[z$1(n)])})}getTranslationValue(n,r){return vD(this.getTranslations(n),r)}static ɵfac=function(r){return new(r||e)};static ɵprov=C({token:e,factory:e.ɵfac})}return e})();var ED=new I(`TRANSLATE_CONFIG`);var Yi=e=>Bn(e)?e:ze(e);var Nf=(()=>{class e{loadingTranslations=new Sf;lastUseLanguage=null;currentLoader=g(Xi);compiler=g(Qi);parser=g(Ji);missingTranslationHandler=g(jc);store=g(DD);destroyRef=g(Z);parent;get isRoot(){return this.parent===null}_onLangChange=new P;_onFallbackLangChange=new P;_currentLang=q(null);_fallbackLang=q(null);_onTranslationRefresh=null;_isLoading=J(()=>this.loadingTranslations.hasAny()||(this.parent?.isLoading()??!1));getRoot(){let n=this;for(;n.parent;)n=n.parent;return n}getParent(){return this.parent}getActiveRequestedLang(){return this.getRoot().lastUseLanguage}hasTranslationInChain(n){for(let r=this;r;r=r.parent)if(r.store.hasTranslationFor(n))return!0;return!1}chainTranslationChange$(){let n=[];for(let r=this;r;r=r.parent)n.push(r.store.translationChange$);return n.length===1?n[0]:jr(...n)}get onTranslationChange(){return this.store.translationChange$}get onLangChange(){return this.isRoot?this._onLangChange.asObservable():this.parent?this.parent.onLangChange:Ue}get onFallbackLangChange(){return this.isRoot?this._onFallbackLangChange.asObservable():this.parent?this.parent.onFallbackLangChange:Ue}get onTranslationRefresh(){if(!this._onTranslationRefresh){let n=jr(this.onTranslationChange.pipe(Tt(r=>r.lang===this.getCurrentLang()||r.lang===this.getFallbackLang())),this.onLangChange,this.onFallbackLangChange).pipe(pe(()=>{}));this.isRoot?this._onTranslationRefresh=n:this._onTranslationRefresh=this.parent?jr(n,this.parent.onTranslationRefresh):n}return this._onTranslationRefresh}constructor(){let n=w$1({isRoot:!0,fallbackLang:null},g(ED,{optional:!0}));this.parent=n.isRoot?null:g(e,{optional:!0,skipSelf:!0});let r=g(Z);if(this.isRoot)n.lang&&this.use(n.lang),n.fallbackLang&&this.setFallbackLang(n.fallbackLang);else{let o=this.getCurrentLang();o&&this.loadOrExtendLanguage(o)?.pipe(An(r)).subscribe({error:s=>{console.warn(`@ngx-translate/core: child failed to load "${o}". Cause:`,s)}});let i=this.getFallbackLang();i&&i!==o&&this.loadOrExtendLanguage(i)?.pipe(An(r)).subscribe({error:s=>{console.warn(`@ngx-translate/core: child failed to load "${i}". Cause:`,s)}})}this.onLangChange.pipe(An(r)).subscribe(o=>{this.isRoot||this.loadOrExtendLanguage(o.lang)?.pipe(An(r)).subscribe({error:i=>{console.warn(`@ngx-translate/core: child failed to load "${o.lang}". Cause:`,i)}})}),this.onFallbackLangChange.pipe(An(r)).subscribe(o=>{this.isRoot||this.loadOrExtendLanguage(o.lang)?.pipe(An(r)).subscribe({error:i=>{console.warn(`@ngx-translate/core: child failed to load "${o.lang}". Cause:`,i)}})}),r.onDestroy(()=>{this._onLangChange.complete(),this._onFallbackLangChange.complete()})}setFallbackLang(n){if(!this.isRoot)return this.parent.setFallbackLang(n);this._fallbackLang()||this._fallbackLang.set(n);let r=this.loadOrExtendLanguage(n);return Bn(r)?(r.pipe(Vt(1)).subscribe({next:()=>{this._fallbackLang.set(n),this._onFallbackLangChange.next({lang:n,translations:this.store.getTranslations(n)})},error:o=>{console.warn(`@ngx-translate/core: failed to load fallback "${n}". Cause:`,o)}}),r):(this._fallbackLang.set(n),this._onFallbackLangChange.next({lang:n,translations:this.store.getTranslations(n)}),ze(this.store.getTranslations(n)))}get isLoading(){return this._isLoading}use(n){if(!this.isRoot)return this.parent.use(n);let r=this._currentLang(),o=this.lastUseLanguage;this.lastUseLanguage=n,this._currentLang()||this._currentLang.set(n);let i=this.loadOrExtendLanguage(n);return Bn(i)?(i.pipe(Vt(1)).subscribe({next:()=>{this.changeLang(n)},error:s=>{this.lastUseLanguage===n&&(this._currentLang.set(r),this.lastUseLanguage=o),console.warn(`@ngx-translate/core: failed to load "${n}". currentLang was NOT changed; remains "${r??`null`}". Cause:`,s)}}),i):(this.changeLang(n),ze(this.store.getTranslations(n)))}loadOrExtendLanguage(n){return this.store.hasTranslationFor(n)?ze(this.store.getTranslations(n)):this.loadAndCompileTranslations(n)}getTranslations(n){return this.store.getTranslations(n)}changeLang(n){n===this.lastUseLanguage&&(this._currentLang.set(n),this._onLangChange.next({lang:n,translations:this.store.getTranslations(n)}))}getCurrentLang(){return this.isRoot?this._currentLang():this.parent?.getCurrentLang()??null}loadAndCompileTranslations(n){let r=this.loadingTranslations.get(n);if(r)return r;let o=this.currentLoader.getTranslation(n).pipe(pe(i=>this.compiler.compileTranslations(i,n)),_s(i=>{this.store.setTranslations(n,i,!1),this.loadingTranslations.clearIfOwner(n,o)}),Vn(()=>this.loadingTranslations.clearIfOwner(n,o)),ru({bufferSize:1,refCount:!0}));return this.loadingTranslations.set(n,o),o.pipe(An(this.destroyRef)).subscribe({error:()=>{}}),o}setTranslation(n,r,o=!1){let i=this.compiler.compileTranslations(r,n);this.store.setTranslations(n,i,o)}setCompiledTranslation(n,r,o=!1){this.store.setTranslations(n,r,o)}getLangs(){return this.store.getLanguages()}addLangs(n){this.store.addLanguages(n)}getParsedResultForKey(n,r,o){let i=this.getTextToInterpolate(n,o);if(on(i))return this.runInterpolation(i,r);let a=this.getMissingTranslationHandler().handle(w$1({key:n,translateService:this},r!==void 0&&{interpolateParams:r}));return a!==void 0?a:n}getMissingTranslationHandler(){return this.missingTranslationHandler}getFallbackLang(){return this.isRoot?this._fallbackLang():this.parent?.getFallbackLang()??null}getTextToInterpolate(n,r){if(r){let a=this.store.getTranslationValue(r,n);return a!==void 0?a:this.parent?.getTextToInterpolate(n,r)}let o=this.getCurrentLang(),i=this.getFallbackLang(),s;return o&&(s=this.store.getTranslationValue(o,n)),!on(s)&&i&&i!==o&&(s=this.store.getTranslationValue(i,n)),s!==void 0?s:this.parent?.getTextToInterpolate(n)}runInterpolation(n,r){if(on(n))return Sr(n)?this.runInterpolationOnArray(n,r):sn(n)?this.runInterpolationOnDict(n,r):this.parser.interpolate(n,r)}runInterpolationOnArray(n,r){return n.map(o=>this.runInterpolation(o,r))}runInterpolationOnDict(n,r){let o={};for(let i in n){let s=this.runInterpolation(n[i],r);s!==void 0&&(o[i]=s)}return o}getParsedResult(n,r,o){return n instanceof Array?this.getParsedResultForArray(n,r,o):this.getParsedResultForKey(n,r,o)}getParsedResultForArray(n,r,o){let i={},s=!1;for(let c of n)i[c]=this.getParsedResultForKey(c,r,o),s=s||Bn(i[c]);if(!s)return i;return Xc(n.map(c=>Yi(i[c]))).pipe(pe(c=>{let u={};return c.forEach((l,d)=>{u[n[d]]=l}),u}))}get(n,r,o){if(!on(n)||!n.length)return ze(``);let i=o??this.getActiveRequestedLang()??this.getCurrentLang(),s=i?this.loadingTranslations.get(i):void 0;return s?s.pipe(Mo(()=>Yi(this.getParsedResult(n,r,o)))):Yi(this.getParsedResult(n,r,o))}getStreamOnTranslationChange(n,r,o){if(!on(n)||!n.length)throw new Error(`Parameter "key" is required and cannot be empty`);return ct(Cs(()=>this.get(n,r,o)),this.onTranslationChange.pipe(Br(()=>{return Yi(this.getParsedResult(n,r,o))})))}stream(n,r,o){if(!on(n)||!n.length)throw new Error(`Parameter "key" required`);let i=o?jr(this.onLangChange,this.chainTranslationChange$().pipe(Tt(s=>s.lang===o))):this.onLangChange;return ct(Cs(()=>this.get(n,r,o)),i.pipe(Br(()=>{return Yi(this.getParsedResult(n,r,o))})))}instant(n,r,o){if(!on(n)||n.length===0)return``;o&&!this.hasTranslationInChain(o)&&this.warnUnloadedInstantLang(o);let i=this.getParsedResult(n,r,o);return Bn(i)?this.keyToObject(n):i}warnedUnloadedInstantLangs=new Set;warnUnloadedInstantLang(n){let r=this.getRoot();if(r!==this){r.warnUnloadedInstantLang(n);return}this.warnedUnloadedInstantLangs.has(n)||oe(()=>{this.warnedUnloadedInstantLangs.add(n),console.warn(`@ngx-translate/core: instant() called with lang="${n}" but no translations are loaded for that language. Returning the key as fallback. Load with use("${n}") or setTranslation("${n}", ...) first.`)})}translate(n,r,o){return J(()=>{let i=typeof n==`function`?n():n,s=typeof r==`function`?r():r,a=typeof o==`function`?o():o;return this.instant(i,s,a)})}keyToObject(n){return Array.isArray(n)?n.reduce((r,o)=>(r[o]=o,r),{}):n}set(n,r,o=this.getCurrentLang()){this.store.setTranslations(o,b0(this.store.getTranslations(o),n,Bc(r)?this.compiler.compile(r,o):this.compiler.compileTranslations(r,o)),!1)}reloadLang(n){return this.resetLang(n),this.loadAndCompileTranslations(n)}resetLang(n){this.loadingTranslations.clear(n),this.store.deleteTranslations(n)}static getBrowserLang(){if(typeof window>`u`||!window.navigator)return;let n=this.getBrowserCultureLang();return n?n.split(/[-_]/)[0]:void 0}static getBrowserCultureLang(){if(!(typeof window>`u`||typeof window.navigator>`u`))return window.navigator.languages?window.navigator.languages[0]:window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage}getBrowserLang(){return e.getBrowserLang()}getBrowserCultureLang(){return e.getBrowserCultureLang()}get currentLang(){return this.isRoot?this._currentLang.asReadonly():this.parent.currentLang}get fallbackLang(){return this.isRoot?this._fallbackLang.asReadonly():this.parent.fallbackLang}static ɵfac=function(r){return new(r||e)};static ɵprov=C({token:e,factory:e.ɵfac})}return e})();var v3=(()=>{class e{translateService=g(Nf);cachedSignal=null;lastKey=null;lastParams;transform(n,...r){if(!n||!n.length)return n;let o=this.parseArgs(r);return(n!==this.lastKey||!Mf(o,this.lastParams))&&(this.cachedSignal=this.translateService.translate(n,o),this.lastKey=n,this.lastParams=o),this.cachedSignal()}parseArgs(n){if(!(!on(n[0])||!n.length)){if(Bc(n[0])&&n[0].length){let r=n[0].replace(/(')?([a-zA-Z0-9_]+)(')?(\s)?:/g,`"$2":`).replace(/:(\s)?(')(.*?)(')/g,`:"$3"`);try{return JSON.parse(r)}catch(o){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${n[0]}`)}}if(sn(n[0]))return n[0]}}static ɵfac=function(r){return new(r||e)};static ɵpipe=Rt({name:`translate`,type:e,pure:!1});static ɵprov=C({token:e,factory:e.ɵfac})}return e})();function ID(e){return/^class\s/.test(Function.prototype.toString.call(e))}function yD(e,t){return ID(t)?{provide:e,useClass:t}:{provide:e,useFactory:t}}function D3(e={}){return S0(x$1(w$1({},e),{isRoot:!0}))}function Pc(e,t,n,r,o){if(t===void 0)return yD(e,n);if(typeof t==`function`){if(ID(t)){let i=t.name||`YourClass`;console.warn(`@ngx-translate/core: "${r}" received a bare class (${i}); auto-wrapping with ${o}(). For clarity, prefer ${r}: ${o}(${i}).`)}return yD(e,t)}return t}function S0(e){let t=[],n=Pc(Xi,e.loader,w0,`loader`,`provideTranslateLoader`),r=Pc(Qi,e.compiler,I0,`compiler`,`provideTranslateCompiler`),o=Pc(Ji,e.parser,_0,`parser`,`provideTranslateParser`),i=Pc(jc,e.missingTranslationHandler,E0,`missingTranslationHandler`,`provideMissingTranslationHandler`);t.push(n,r,o,i),t.push(DD);let s={fallbackLang:e.fallbackLang??null,lang:e.lang,isRoot:e.isRoot};return t.push({provide:ED,useValue:s}),t.push({provide:Nf,useClass:Nf}),t}function M0(e,t){if(e&1){let n=sc();Pe(0,`button`,2),xi(`click`,function(){Ko(n);return Qo(ve().remove())}),Pe(1,`span`,3),Ot(2,`×`),Je()()}}function N0(e,t){if(e&1&&(mo(0),Ot(1),Si()),e&2){let n=ve(2);se(),kt(`[`,n.duplicatesCount+1,`]`)}}function x0(e,t){if(e&1&&(Pe(0,`div`),Ot(1),Fe(2,N0,2,1,`ng-container`),Je()),e&2){let n=ve();Jt(Ft(0).titleClass),Cr(`aria-label`,n.title()),se(),kt(` `,n.title(),` `),se(),Le(n.duplicatesCount?2:-1)}}function A0(e,t){if(e&1&&br(0,`div`,6),e&2){let n=ve(2);Jt(Ft(0).messageClass),Mi(`innerHTML`,n.message(),Ga)}}function R0(e,t){if(e&1&&(Pe(0,`div`,7),Ot(1),Je()),e&2){let n=ve(2);Jt(Ft(0).messageClass),Cr(`aria-label`,n.message()),se(),kt(` `,n.message(),` `)}}function O0(e,t){if(e&1&&Fe(0,A0,1,3,`div`,4)(1,R0,2,4,`div`,5),e&2){ve();Le(Ft(0).enableHtml?0:1)}}function k0(e,t){if(e&1&&(Pe(0,`div`),br(1,`div`,8),Je()),e&2){let n=ve();se(),Xt(`width`,n.width()+`%`)}}function F0(e,t){if(e&1){let n=sc();Pe(0,`button`,2),xi(`click`,function(){Ko(n);return Qo(ve().remove())}),Pe(1,`span`,3),Ot(2,`×`),Je()()}}function L0(e,t){if(e&1&&(mo(0),Ot(1),Si()),e&2){let n=ve(2);se(),kt(`[`,n.duplicatesCount+1,`]`)}}function P0(e,t){if(e&1&&(Pe(0,`div`),Ot(1),Fe(2,L0,2,1,`ng-container`),Je()),e&2){let n=ve();Jt(Ft(0).titleClass),Cr(`aria-label`,n.title()),se(),kt(` `,n.title(),` `),se(),Le(n.duplicatesCount?2:-1)}}function j0(e,t){if(e&1&&br(0,`div`,6),e&2){let n=ve(2);Jt(Ft(0).messageClass),Mi(`innerHTML`,n.message(),Ga)}}function B0(e,t){if(e&1&&(Pe(0,`div`,7),Ot(1),Je()),e&2){let n=ve(2);Jt(Ft(0).messageClass),Cr(`aria-label`,n.message()),se(),kt(` `,n.message(),` `)}}function V0(e,t){if(e&1&&Fe(0,j0,1,3,`div`,4)(1,B0,2,4,`div`,5),e&2){ve();Le(Ft(0).enableHtml?0:1)}}function H0(e,t){if(e&1&&(Pe(0,`div`),br(1,`div`,8),Je()),e&2){let n=ve();se(),Xt(`width`,n.width()+`%`)}}var es=class{toastId;config;message;title;toastType;toastRef;_onTap=new P;_onAction=new P;constructor(t,n,r,o,i,s){this.toastId=t,this.config=n,this.message=r,this.title=o,this.toastType=i,this.toastRef=s,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(t){this._onAction.next(t)}onAction(){return this._onAction.asObservable()}};var wD={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,includeTitleDuplicates:!1,iconClasses:{error:`toast-error`,info:`toast-info`,success:`toast-success`,warning:`toast-warning`},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:`ngx-toastr`,positionClass:`toast-top-right`,titleClass:`toast-title`,messageClass:`toast-message`,easing:`ease-in`,easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:`decreasing`};var CD=new I(`ToastConfig`);var Af=class{_attachedHost;component;viewContainerRef;injector;constructor(t,n){this.component=t,this.injector=n}attach(t,n){return this._attachedHost=t,t.attach(this,n)}detach(){let t=this._attachedHost;if(t)return this._attachedHost=void 0,t.detach()}get isAttached(){return this._attachedHost!=null}setAttachedHost(t){this._attachedHost=t}};var Rf=class{_attachedPortal;_disposeFn;attach(t,n){return this._attachedPortal=t,this.attachComponentPortal(t,n)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(t){this._disposeFn=t}};var Of=class extends Rf{_hostDomElement;_appRef;constructor(t,n){super(),this._hostDomElement=t,this._appRef=n}attachComponentPortal(t,n){let r=hv(t.component,{environmentInjector:this._appRef.injector,elementInjector:t.injector});return this._appRef.attachView(r.hostView),this.setDisposeFn(()=>{this._appRef.detachView(r.hostView),r.destroy()}),n?this._hostDomElement.insertBefore(this._getComponentRootNode(r),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(r)),r}_getComponentRootNode(t){return t.hostView.rootNodes[0]}};var $0=(()=>{class e{_document=g(G);_containerElement;ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let n=this._document.createElement(`div`);n.classList.add(`overlay-container`),n.setAttribute(`aria-live`,`polite`),this._document.body.appendChild(n),this._containerElement=n}static ɵfac=function(r){return new(r||e)};static ɵprov=C({token:e,factory:e.ɵfac,providedIn:`root`})}return e})();var kf=class{_portalHost;constructor(t){this._portalHost=t}attach(t,n=!0){return this._portalHost.attach(t,n)}detach(){return this._portalHost.detach()}};var U0=(()=>{class e{_overlayContainer=g($0);_appRef=g(Qt);_document=g(G);_paneElements=new Map;create(n,r){return this._createOverlayRef(this.getPaneElement(n,r))}getPaneElement(n=``,r){return this._paneElements.get(r)||this._paneElements.set(r,{}),this._paneElements.get(r)[n]||(this._paneElements.get(r)[n]=this._createPaneElement(n,r)),this._paneElements.get(r)[n]}_createPaneElement(n,r){let o=this._document.createElement(`div`);return o.id=`toast-container`,o.classList.add(n),o.classList.add(`toast-container`),r?r.getContainerElement().appendChild(o):this._overlayContainer.getContainerElement().appendChild(o),o}_createPortalHost(n){return new Of(n,this._appRef)}_createOverlayRef(n){return new kf(this._createPortalHost(n))}static ɵfac=function(r){return new(r||e)};static ɵprov=C({token:e,factory:e.ɵfac,providedIn:`root`})}return e})();var Ff=class{_overlayRef;componentInstance;duplicatesCount=0;_afterClosed=new P;_activate=new P;_manualClose=new P;_resetTimeout=new P;_countDuplicate=new P;constructor(t){this._overlayRef=t}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.closed}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}onDuplicate(t,n){t&&this._resetTimeout.next(),n&&this._countDuplicate.next(++this.duplicatesCount)}};var z0=(()=>{class e{overlay=g(U0);_injector=g(Q);sanitizer=g(_f);ngZone=g(ie);toastrConfig;currentlyActive=0;toasts=[];overlayContainer;previousToastMessage;index=0;constructor(){let n=g(CD);this.toastrConfig=w$1(w$1({},n.default),n.config),n.config.iconClasses&&(this.toastrConfig.iconClasses=w$1(w$1({},n.default.iconClasses),n.config.iconClasses))}show(n,r,o={},i=``){return this._preBuildNotification(i,n,r,this.applyConfig(o))}success(n,r,o={}){let i=this.toastrConfig.iconClasses.success||``;return this._preBuildNotification(i,n,r,this.applyConfig(o))}error(n,r,o={}){let i=this.toastrConfig.iconClasses.error||``;return this._preBuildNotification(i,n,r,this.applyConfig(o))}info(n,r,o={}){let i=this.toastrConfig.iconClasses.info||``;return this._preBuildNotification(i,n,r,this.applyConfig(o))}warning(n,r,o={}){let i=this.toastrConfig.iconClasses.warning||``;return this._preBuildNotification(i,n,r,this.applyConfig(o))}clear(n){for(let r of this.toasts)if(n!==void 0){if(r.toastId===n){r.toastRef.manualClose();return}}else r.toastRef.manualClose()}remove(n){let r=this._findToast(n);if(!r||(r.activeToast.toastRef.close(),this.toasts.splice(r.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length))return!1;if(this.currentlyActive<this.toastrConfig.maxOpened&&this.toasts[this.currentlyActive]){let o=this.toasts[this.currentlyActive].toastRef;o.isInactive()||(this.currentlyActive=this.currentlyActive+1,o.activate())}return!0}findDuplicate(n=``,r=``,o,i){let{includeTitleDuplicates:s}=this.toastrConfig;for(let a of this.toasts){let c=s&&a.title===n;if((!s||c)&&a.message===r)return a.toastRef.onDuplicate(o,i),a}return null}applyConfig(n={}){return w$1(w$1({},this.toastrConfig),n)}_findToast(n){for(let r=0;r<this.toasts.length;r++)if(this.toasts[r].toastId===n)return{index:r,activeToast:this.toasts[r]};return null}_preBuildNotification(n,r,o,i){return i.onActivateTick?this.ngZone.run(()=>this._buildNotification(n,r,o,i)):this._buildNotification(n,r,o,i)}_buildNotification(n,r,o,i){if(!i.toastComponent)throw new Error(`toastComponent required`);let s=this.findDuplicate(o,r,this.toastrConfig.resetTimeoutOnDuplicate&&i.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&o||r)&&this.toastrConfig.preventDuplicates&&s!==null)return s;this.previousToastMessage=r;let a=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(a=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));let c=this.overlay.create(i.positionClass,this.overlayContainer);this.index=this.index+1;let u=r;r&&i.enableHtml&&(u=this.sanitizer.sanitize($.HTML,r));let l=new Ff(c),d=new es(this.index,i,u,o,n,l),p=[{provide:es,useValue:d}],f=Q.create({providers:p,parent:this._injector}),h=new Af(i.toastComponent,f),y=c.attach(h,i.newestOnTop);l.componentInstance=y.instance;let v={toastId:this.index,title:o||``,message:r||``,toastRef:l,onShown:l.afterActivate(),onHidden:l.afterClosed(),onTap:d.onTap(),onAction:d.onAction(),portal:y};return a||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{v.toastRef.activate()})),this.toasts.push(v),v}static ɵfac=function(r){return new(r||e)};static ɵprov=C({token:e,factory:e.ɵfac,providedIn:`root`})}return e})();var G0=(()=>{class e{ngZone=g(ie);setInterval(n,r){return this.ngZone?this.ngZone.runOutsideAngular(()=>window.setInterval(()=>this.runInsideAngular(n),r)):window.setInterval(()=>n(),r)}setTimeout(n,r){return this.ngZone?this.ngZone.runOutsideAngular(()=>window.setTimeout(()=>this.runInsideAngular(n),r)):window.setTimeout(()=>n(),r)}runInsideAngular(n){this.ngZone?this.ngZone.run(()=>n()):n()}static ɵfac=function(r){return new(r||e)};static ɵprov=C({token:e,factory:e.ɵfac,providedIn:`root`})}return e})();var bD=(()=>{class e{toastPackage=g(es);toastrService=g(z0);appRef=g(Qt);timeoutsService=g(G0);duplicatesCount;hideTime;width=q(-1);state=q(`inactive`);displayStyle=J(()=>this.state()===`inactive`?`none`:void 0);message=J(()=>this.toastPackage.message);title=J(()=>this.toastPackage.title);options=en(()=>this.toastPackage.config);originalTimeout=J(()=>this.toastPackage.config.timeOut);toastClasses=J(()=>`${this.toastPackage.toastType} ${this.toastPackage.config.toastClass}`);timeout;intervalId;afterActivateSubscription;manualClosedSubscription;timeoutResetSubscription;countDuplicateSubscription;constructor(){this.afterActivateSubscription=this.toastPackage.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.manualClosedSubscription=this.toastPackage.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.timeoutResetSubscription=this.toastPackage.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.countDuplicateSubscription=this.toastPackage.toastRef.countDuplicate().subscribe(n=>{this.duplicatesCount=n})}ngOnDestroy(){this.afterActivateSubscription.unsubscribe(),this.manualClosedSubscription.unsubscribe(),this.timeoutResetSubscription.unsubscribe(),this.countDuplicateSubscription.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){let n=this.options();this.state.set(`active`),!(n.disableTimeOut===!0||n.disableTimeOut===`timeOut`)&&n.timeOut&&(this.timeout=this.timeoutsService.setTimeout(()=>this.remove(),n.timeOut),this.hideTime=new Date().getTime()+n.timeOut,n.progressBar&&(this.intervalId=this.timeoutsService.setInterval(()=>this.updateProgress(),10)))}updateProgress(){let n=this.options();if(this.width()===0||this.width()===100||!n.timeOut)return;let r=new Date().getTime(),o=this.hideTime-r;this.width.set(o/n.timeOut*100),n.progressAnimation===`increasing`&&this.width.update(i=>100-i),this.width()<=0&&this.width.set(0),this.width()>=100&&this.width.set(100)}resetTimeout(){let n=this.options();clearTimeout(this.timeout),clearInterval(this.intervalId),this.state.set(`active`),this.options.update(r=>x$1(w$1({},r),{timeOut:this.originalTimeout()})),this.timeout=this.timeoutsService.setTimeout(()=>this.remove(),this.originalTimeout()),this.hideTime=new Date().getTime()+(this.originalTimeout()||0),this.width.set(-1),n.progressBar&&(this.intervalId=this.timeoutsService.setInterval(()=>this.updateProgress(),10))}remove(){this.state()!==`removed`&&(clearTimeout(this.timeout),this.state.set(`removed`),this.timeout=this.timeoutsService.setTimeout(()=>this.toastrService.remove(this.toastPackage.toastId)))}tapToast(){this.state()!==`removed`&&(this.toastPackage.triggerTap(),this.options().tapToDismiss&&this.remove())}stickAround(){this.state()!==`removed`&&this.options().disableTimeOut!==`extendedTimeOut`&&(clearTimeout(this.timeout),this.options.update(n=>x$1(w$1({},n),{timeOut:0})),this.hideTime=0,clearInterval(this.intervalId),this.width.set(0))}delayedHideToast(){let n=this.options();if(n.disableTimeOut===!0||n.disableTimeOut===`extendedTimeOut`||n.extendedTimeOut===0||this.state()===`removed`)return;let r=n.extendedTimeOut;this.timeout=this.timeoutsService.setTimeout(()=>this.remove(),r),this.options.update(o=>x$1(w$1({},o),{timeOut:r})),this.hideTime=new Date().getTime()+(r||0),this.width.set(-1),n.progressBar&&(this.intervalId=this.timeoutsService.setInterval(()=>this.updateProgress(),10))}static ɵfac=function(r){return new(r||e)};static ɵcmp=nc({type:e,selectors:[[``,`toast-component`,``]],hostVars:4,hostBindings:function(r,o){r&1&&ac(`mouseenter`,function(){return o.stickAround()})(`mouseleave`,function(){return o.delayedHideToast()})(`click`,function(){return o.tapToast()}),r&2&&(Jt(o.toastClasses()),Xt(`display`,o.displayStyle()))},decls:5,vars:5,consts:[[`type`,`button`,`aria-label`,`Close`,1,`toast-close-button`],[3,`class`],[`type`,`button`,`aria-label`,`Close`,1,`toast-close-button`,3,`click`],[`aria-hidden`,`true`],[`role`,`alert`,3,`class`,`innerHTML`],[`role`,`alert`,3,`class`],[`role`,`alert`,3,`innerHTML`],[`role`,`alert`],[1,`toast-progress`]],template:function(r,o){if(r&1&&(Ri(0),Fe(1,M0,3,0,`button`,0),Fe(2,x0,3,5,`div`,1),Fe(3,O0,2,1),Fe(4,k0,2,2,`div`)),r&2){let i=cc(o.options());se(),Le(i.closeButton?1:-1),se(),Le(o.title()?2:-1),se(),Le(o.message()?3:-1),se(),Le(i.progressBar?4:-1)}},encapsulation:2})}return e})();var W0=(()=>{class e extends bD{params={easeTime:this.toastPackage.config.easeTime,easing:`ease-in`};elementRef=g(Xe);remove(){this.state()!==`removed`&&(clearTimeout(this.timeout),this.state.set(`removed`),this.elementRef.nativeElement.classList.add(`toast-out`),this.timeout=this.timeoutsService.setTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.params.easeTime))}static ɵfac=(()=>{let n;return function(o){return(n||(n=Sn(e)))(o||e)}})();static ɵcmp=nc({type:e,selectors:[[``,`toast-component`,``]],hostVars:4,hostBindings:function(r,o){r&1&&so(`toast-in`),r&2&&Xt(`--%NS%animation-easing`,o.params.easing)(`--%NS%animation-duration`,o.params.easeTime+`ms`)},features:[rc],decls:5,vars:5,consts:[[`type`,`button`,`aria-label`,`Close`,1,`toast-close-button`],[3,`class`],[`type`,`button`,`aria-label`,`Close`,1,`toast-close-button`,3,`click`],[`aria-hidden`,`true`],[`role`,`alert`,3,`class`,`innerHTML`],[`role`,`alert`,3,`class`],[`role`,`alert`,3,`innerHTML`],[`role`,`alert`],[1,`toast-progress`]],template:function(r,o){if(r&1&&(Ri(0),Fe(1,F0,3,0,`button`,0),Fe(2,P0,3,5,`div`,1),Fe(3,V0,2,1),Fe(4,H0,2,2,`div`)),r&2){let i=cc(o.options());se(),Le(i.closeButton?1:-1),se(),Le(o.title()?2:-1),se(),Le(o.message()?3:-1),se(),Le(i.progressBar?4:-1)}},styles:[`.toast-in[_nghost-%COMP%]{animation:_ngcontent-%COMP%_toast-animation var(--%NS%animation-duration) var(--%NS%animation-easing)}.toast-out[_nghost-%COMP%]{animation:_ngcontent-%COMP%_toast-animation var(--%NS%animation-duration) var(--%NS%animation-easing) reverse forwards}@keyframes _ngcontent-%COMP%_toast-animation{0%{opacity:0}to{opacity:1}}`]})}return e})();var q0=x$1(w$1({},wD),{toastComponent:W0});var A3=(e={})=>Gt([{provide:CD,useValue:{default:q0,config:e}}]);x$1(w$1({},wD),{toastComponent:bD});var Co={serverTarget:{name:`homebridge-config-ui-x`,displayName:`Homebridge UI`,type:`module`,version:`5.28.0`,description:`A web based management, configuration and control platform for Homebridge.`,author:`oznu <dev@oz.nu>`,license:`MIT`,funding:[{type:`github`,url:`https://github.com/sponsors/oznu`},{type:`paypal`,url:`https://paypal.me/oznu`}],repository:{type:`git`,url:`git+https://github.com/homebridge/homebridge-config-ui-x.git`},bugs:{url:`https://github.com/homebridge/homebridge-config-ui-x/issues`},keywords:[`homebridge-plugin`,`ui`,`gui`,`web`,`homebridge`,`homebridge-config-ui-x`,`ui-x`,`config-ui-x`,`homebridge-x`,`homebridge server`,`homebridge ui`,`homebridge-ui`,`homebridge gui`,`homebridge-gui`,`web interface`,`config ui`,`management`,`config editor`,`linux`,`macOS`,`osx`,`windows`,`raspberry pi`,`accessory control`,`smart home`,`hb-service`],main:`./dist/index.js`,bin:{"hb-service":`dist/bin/hb-service.js`},engines:{node:`^22.12.0 || ^24.0.0 || ^26.0.0`,homebridge:`^1.8.0 || ^2.0.0`},scripts:{prepare:`node scripts/apply-patches.mjs`,build:`npm run build:server && npm run build:ui`,"build:server":`rimraf dist && tsc -p tsconfig.build.json`,"build:ui":`npm run build --prefix ui`,"postbuild:ui":`node scripts/verify-monaco-assets.mjs`,check:`npm run check:server && npm run check:ui`,"check:server":`npm install && npm outdated`,"check:ui":`npm install --prefix ui && npm outdated --prefix ui`,"lang-sync":`tsx scripts/lang-sync.ts`,lint:`eslint . --max-warnings=0`,"lint:fix":`npm run lint -- --fix`,prepublishOnly:`npm i --package-lock-only && npm run lint && npm run build`,start:`tsx src/main.ts`,test:`vitest run`,"test-coverage":`npm run test -- --coverage`,"upgrade-install":`./scripts/upgrade-install.sh`,watch:`concurrently "npm run watch:ui" "npm run watch:server"`,"watch:server":`nodemon`,"watch:ui":`npm run start --prefix ui`},dependencies:{"@fastify/helmet":`13.1.0`,"@fastify/multipart":`10.1.1`,"@fastify/static":`10.1.3`,"@homebridge/hap-client":`5.2.0`,"@homebridge/node-pty-prebuilt-multiarch":`0.14.1`,"@nestjs/axios":`4.0.1`,"@nestjs/common":`11.2.1`,"@nestjs/core":`11.2.1`,"@nestjs/jwt":`11.0.2`,"@nestjs/passport":`11.0.5`,"@nestjs/platform-fastify":`11.2.1`,"@nestjs/platform-socket.io":`11.2.1`,"@nestjs/swagger":`11.4.6`,"@nestjs/websockets":`11.2.1`,axios:`1.19.0`,"bash-color":`0.0.4`,"bonjour-service":`1.4.4`,"class-transformer":`0.5.1`,"class-validator":`0.15.1`,commander:`15.0.0`,dayjs:`1.11.22`,fastify:`5.12.0`,"fs-extra":`11.4.0`,jsonwebtoken:`9.0.3`,"node-cache":`5.1.2`,"node-forge":`1.4.0`,"node-schedule":`2.1.1`,ora:`9.4.1`,otplib:`13.4.1`,"p-limit":`7.3.1`,passport:`0.7.0`,"passport-jwt":`4.0.1`,"reflect-metadata":`0.2.2`,rxjs:`7.8.2`,semver:`7.8.5`,systeminformation:`5.33.1`,tail:`2.2.6`,tar:`7.5.22`,"tcp-port-used":`1.0.3`,unzipper:`0.12.5`},optionalDependencies:{"macos-temperature-sensor":`2.0.0`,"osx-temperature-sensor":`1.0.8`},devDependencies:{"@angular-eslint/eslint-plugin":`^22.1.0`,"@angular-eslint/eslint-plugin-template":`^22.1.0`,"@angular-eslint/template-parser":`^22.1.0`,"@antfu/eslint-config":`^9.3.0`,"@nestjs/testing":`^11.2.1`,"@prettier/plugin-xml":`^3.4.2`,"@types/fs-extra":`^11.0.4`,"@types/node":`^26.2.0`,"@types/node-forge":`^1.3.14`,"@types/node-schedule":`^2.1.8`,"@types/passport-jwt":`^4.0.1`,"@types/semver":`^7.8.0`,"@types/tail":`^2.2.3`,"@types/tcp-port-used":`^1.0.4`,"@types/unzipper":`^0.10.11`,"@vitest/coverage-v8":`^4.1.10`,concurrently:`^10.0.5`,"eslint-plugin-format":`^2.0.1`,"form-data":`^4.0.6`,nodemon:`^3.1.14`,"patch-package":`^8.0.1`,rimraf:`^6.1.3`,tsx:`^4.23.12`,typescript:`^6.0.3`,"unplugin-swc":`^1.5.11`,vitest:`^4.1.10`},overrides:{"@antfu/eslint-config":{"@angular-eslint/eslint-plugin":`^22.1.0`,"@angular-eslint/eslint-plugin-template":`^22.1.0`,"@angular-eslint/template-parser":`^22.1.0`},"@nestjs/platform-fastify":{fastify:`5.12.0`},"@nestjs/swagger":{"js-yaml":`^5.2.3`}},maintainers:[{email:`bwp91@icloud.com`,name:`bwp91`},{email:`dev@oz.nu`,name:`oznu`},{email:`northern.man1@gmail.com`,name:`northernman`},{email:`mail@anderl-bauer.de`,name:`supereg`},{email:`khaos.tian@gmail.com`,name:`khaost`},{email:`erik.baauw@xs4all.nl`,name:`ebaauw`},{email:`donavan.becker@icloud.com`,name:`donavanbecker`},{email:`dustin.greif@gmail.com`,name:`dustin.greif`},{email:`nfarina@gmail.com`,name:`nfarina`}],scarfSettings:{enabled:!1},allowScripts:{"@homebridge/node-pty-prebuilt-multiarch":!0,"@nestjs/core":!1,"@scarf/scarf":!1,"@swc/core":!0,esbuild:!0,fsevents:!0,"macos-temperature-sensor":!0,"osx-temperature-sensor":!0}}.version,production:!0,socket:``,api:{base:(()=>{let t=document.querySelector(`base`)?.getAttribute(`href`)||`/`;return t.endsWith(`/`)?`${t}api`:`${t}/api`})(),socket:`${window.location.protocol===`http:`?`ws://`:`wss://`}${window.location.host}`,origin:window.location.origin},jwt:{tokenKey:`access_token`,allowedDomains:[document.location.host],disallowedRoutes:[(()=>{let t=document.querySelector(`base`)?.getAttribute(`href`)||`/`,n=t.endsWith(`/`)?`${t}api`:`${t}/api`;return`${window.location.protocol}//${document.location.host}${n}/auth/login`})()]},apiHttpOptions:{},owm:{appid:`fec67b55f7f74deaa28df89ba6a60821`}};var U3=(()=>{class e{$http=g(qi);get(n,r){return Ln(this.$http.get(`${Co.api.base}${n}`,r))}post(n,r,o){return Ln(this.$http.post(`${Co.api.base}${n}`,r,o))}put(n,r,o){return Ln(this.$http.put(`${Co.api.base}${n}`,r,o))}patch(n,r,o){return Ln(this.$http.patch(`${Co.api.base}${n}`,r,o))}delete(n,r){return Ln(this.$http.delete(`${Co.api.base}${n}`,r))}static ɵfac=function(r){return new(r||e)};static ɵprov=C({token:e,factory:e.ɵfac,providedIn:`root`})}return e})();export{Le as $,ic as $n,wr as $r,Vy as $t,Ev as A,bt as An,rn as Ar,SU as At,Ht as B,en as Bn,to as Br,Tt as Bt,D3 as C,a3 as Cn,pm as Cr,Qo as Ct,E_ as D,bT as Dn,r$ as Dr,Rt as Dt,Dy as E,at as En,qi as Er,Ri as Et,GD as F,cy as Fn,se as Fr,Sy as Ft,Iy as G,gc as Gn,uy as Gr,Ue as Gt,I as H,fE as Hn,ue as Hr,UI as Ht,Ga as I,dE as In,so as Ir,TT as It,Jd as J,gy as Jn,ve as Jr,VT as Jt,J as K,go as Kn,v3 as Kr,Uy as Kt,Gt as L,db as Ln,tc as Lr,T_ as Lt,Fe as M,cc as Mn,s$ as Mr,Si as Mt,Ft as N,cp as Nn,sT as Nr,Sn as Nt,Ei as O,b_ as On,rc as Or,S as Ot,G as P,ct as Pn,sc as Pr,So as Pt,Ko as Q,i$ as Qn,wn as Qr,Vt as Qt,HS as R,eC as Rn,ti as Rr,Te as Rt,Cs as S,a$ as Sn,ph as Sr,Qn as St,Db as T,ac as Tn,qf as Tr,R_ as Tt,I_ as U,g as Un,ur as Ur,US as Ut,Hy as V,eu as Vn,uE as Vr,U3 as Vt,Io as W,gE as Wn,ut as Wr,UT as Wt,Jt as X,hh as Xn,wM as Xr,Vn as Xt,Je as Y,hc as Yn,vy as Yr,Va as Yt,KM as Z,hv as Zn,w_ as Zr,Vs as Zt,By as _,_f as _n,oc as _r,Pn as _t,A3 as a,xi as ai,Xc as an,jt as ar,Mn as at,Co as b,_w as bn,pb as br,QM as bt,A_ as c,yo as ci,Xt as cn,lD as cr,NE as ct,Ay as d,zD as di,Yr as dn,m_ as dr,Nf as dt,ww as ei,W0 as en,ie as er,Li as et,BS as f,zS as fi,Z as fn,mo as fr,O_ as ft,Bv as g,_U as gn,o$ as gr,Pe as gt,Br as h,_T as hn,nc as hr,PT as ht,$y as i,xe as ii,X8 as in,jr as ir,Mi as it,FD as j,bw as jn,rv as jr,S_ as jt,Et as k,br as kn,rd as kr,ST as kt,Ae as l,yr as li,YM as ln,m as lr,NU as lt,Bn as m,ZS as mn,my as mr,P as mt,$T as n,x as ni,WS as nn,jT as nr,Lr as nt,A8 as o,xn as oi,Xe as on,jy as or,Mo as ot,Bd as p,ze as pi,ZM as pn,mr as pr,Ot as pt,Jc as q,gr as qn,vE as qr,VS as qt,$p as r,x_ as ri,Wf as rn,jd as rr,MU as rt,AD as s,yE as si,Xg as sn,kt as sr,My as st,$ as t,wy as ti,WD as tn,ii as tr,Ln as tt,An as u,z0 as ui,YS as un,mE as ur,N_ as ut,C as v,_o as vn,oe as vr,Py as vt,DE as w,aT as wn,q as wr,Qt as wt,Cr as x,_y as xn,pe as xr,Qe as xt,C_ as y,_s as yn,pE as yr,Q as yt,HT as z,eE as zn,tn as zr,Ts as zt};