homebridge-config-ui-x
Version:
A web based management, configuration and control platform for Homebridge.
6 lines • 278 kB
JavaScript
import{a as N,b as H,h as Zt}from"./chunk-B4AJQJMI.js";function T(e){return typeof e=="function"}function cr(e){let t=e(r=>{Error.call(r),r.stack=new Error().stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var xi=cr(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:
${t.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
`)}`:"",this.name="UnsubscriptionError",this.errors=t});function Dn(e,n){if(e){let t=e.indexOf(n);0<=t&&e.splice(t,1)}}var ne=class e{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;let{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(let i of t)i.remove(this);else t.remove(this);let{initialTeardown:r}=this;if(T(r))try{r()}catch(i){n=i instanceof xi?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{sf(i)}catch(s){n=n??[],s instanceof xi?n=[...n,...s.errors]:n.push(s)}}if(n)throw new xi(n)}}add(n){var t;if(n&&n!==this)if(this.closed)sf(n);else{if(n instanceof e){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=(t=this._finalizers)!==null&&t!==void 0?t:[]).push(n)}}_hasParent(n){let{_parentage:t}=this;return t===n||Array.isArray(t)&&t.includes(n)}_addParent(n){let{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n}_removeParent(n){let{_parentage:t}=this;t===n?this._parentage=null:Array.isArray(t)&&Dn(t,n)}remove(n){let{_finalizers:t}=this;t&&Dn(t,n),n instanceof e&&n._removeParent(this)}};ne.EMPTY=(()=>{let e=new ne;return e.closed=!0,e})();var fc=ne.EMPTY;function Ai(e){return e instanceof ne||e&&"closed"in e&&T(e.remove)&&T(e.add)&&T(e.unsubscribe)}function sf(e){T(e)?e():e.unsubscribe()}var We={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var ur={setTimeout(e,n,...t){let{delegate:r}=ur;return r?.setTimeout?r.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){let{delegate:n}=ur;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Ri(e){ur.setTimeout(()=>{let{onUnhandledError:n}=We;if(n)n(e);else throw e})}function _t(){}var af=pc("C",void 0,void 0);function cf(e){return pc("E",void 0,e)}function uf(e){return pc("N",e,void 0)}function pc(e,n,t){return{kind:e,value:n,error:t}}var En=null;function lr(e){if(We.useDeprecatedSynchronousErrorHandling){let n=!En;if(n&&(En={errorThrown:!1,error:null}),e(),n){let{errorThrown:t,error:r}=En;if(En=null,t)throw r}}else e()}function lf(e){We.useDeprecatedSynchronousErrorHandling&&En&&(En.errorThrown=!0,En.error=e)}var Cn=class extends ne{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Ai(n)&&n.add(this)):this.destination=Ov}static create(n,t,r){return new qe(n,t,r)}next(n){this.isStopped?gc(uf(n),this):this._next(n)}error(n){this.isStopped?gc(cf(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?gc(af,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},Av=Function.prototype.bind;function hc(e,n){return Av.call(e,n)}var mc=class{constructor(n){this.partialObserver=n}next(n){let{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(r){Oi(r)}}error(n){let{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(r){Oi(r)}else Oi(n)}complete(){let{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){Oi(t)}}},qe=class extends Cn{constructor(n,t,r){super();let o;if(T(n)||!n)o={next:n??void 0,error:t??void 0,complete:r??void 0};else{let i;this&&We.useDeprecatedNextContext?(i=Object.create(n),i.unsubscribe=()=>this.unsubscribe(),o={next:n.next&&hc(n.next,i),error:n.error&&hc(n.error,i),complete:n.complete&&hc(n.complete,i)}):o=n}this.destination=new mc(o)}};function Oi(e){We.useDeprecatedSynchronousErrorHandling?lf(e):Ri(e)}function Rv(e){throw e}function gc(e,n){let{onStoppedNotification:t}=We;t&&ur.setTimeout(()=>t(e,n))}var Ov={closed:!0,next:_t,error:Rv,complete:_t};var dr=typeof Symbol=="function"&&Symbol.observable||"@@observable";function pe(e){return e}function kv(...e){return yc(e)}function yc(e){return e.length===0?pe:e.length===1?e[0]:function(t){return e.reduce((r,o)=>o(r),t)}}var x=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){let r=new e;return r.source=this,r.operator=t,r}subscribe(t,r,o){let i=Pv(t)?t:new qe(t,r,o);return lr(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(t){try{return this._subscribe(t)}catch(r){t.error(r)}}forEach(t,r){return r=df(r),new r((o,i)=>{let s=new qe({next:a=>{try{t(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)}[dr](){return this}pipe(...t){return yc(t)(this)}toPromise(t){return t=df(t),new t((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=n=>new e(n),e})();function df(e){var n;return(n=e??We.Promise)!==null&&n!==void 0?n:Promise}function Fv(e){return e&&T(e.next)&&T(e.error)&&T(e.complete)}function Pv(e){return e&&e instanceof Cn||Fv(e)&&Ai(e)}var ff=cr(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var $=(()=>{class e extends x{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){let r=new ki(this,this);return r.operator=t,r}_throwIfClosed(){if(this.closed)throw new ff}next(t){lr(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(t)}})}error(t){lr(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;let{observers:r}=this;for(;r.length;)r.shift().error(t)}})}complete(){lr(()=>{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:r,isStopped:o,observers:i}=this;return r||o?fc:(this.currentObservers=null,i.push(t),new ne(()=>{this.currentObservers=null,Dn(i,t)}))}_checkFinalizedStatuses(t){let{hasError:r,thrownError:o,isStopped:i}=this;r?t.error(o):i&&t.complete()}asObservable(){let t=new x;return t.source=this,t}}return e.create=(n,t)=>new ki(n,t),e})(),ki=class extends ${constructor(n,t){super(),this.destination=n,this.source=t}next(n){var t,r;(r=(t=this.destination)===null||t===void 0?void 0:t.next)===null||r===void 0||r.call(t,n)}error(n){var t,r;(r=(t=this.destination)===null||t===void 0?void 0:t.error)===null||r===void 0||r.call(t,n)}complete(){var n,t;(t=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||t===void 0||t.call(n)}_subscribe(n){var t,r;return(r=(t=this.source)===null||t===void 0?void 0:t.subscribe(n))!==null&&r!==void 0?r:fc}};var Mt=cr(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function In(e,n){let t=typeof n=="object";return new Promise((r,o)=>{let i=new qe({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{t?r(n.defaultValue):o(new Mt)}});e.subscribe(i)})}function Lv(e){return T(e?.lift)}function A(e){return n=>{if(Lv(n))return n.lift(function(t){try{return e(t,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function S(e,n,t,r,o){return new vc(e,n,t,r,o)}var vc=class extends Cn{constructor(n,t,r,o,i,s){super(n),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=t?function(a){try{t(a)}catch(c){n.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){n.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:t}=this;super.unsubscribe(),!t&&((n=this.onFinalize)===null||n===void 0||n.call(this))}}};function ae(e,n){return A((t,r)=>{let o=0;t.subscribe(S(r,i=>{r.next(e.call(n,i,o++))}))})}var Fi=class extends ne{constructor(n,t){super()}schedule(n,t=0){return this}};var Xr={setInterval(e,n,...t){let{delegate:r}=Xr;return r?.setInterval?r.setInterval(e,n,...t):setInterval(e,n,...t)},clearInterval(e){let{delegate:n}=Xr;return(n?.clearInterval||clearInterval)(e)},delegate:void 0};var fr=class extends Fi{constructor(n,t){super(n,t),this.scheduler=n,this.work=t,this.pending=!1}schedule(n,t=0){var r;if(this.closed)return this;this.state=n;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,t)),this.pending=!0,this.delay=t,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,t),this}requestAsyncId(n,t,r=0){return Xr.setInterval(n.flush.bind(n,this),r)}recycleAsyncId(n,t,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return t;t!=null&&Xr.clearInterval(t)}execute(n,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(n,t);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,t){let r=!1,o;try{this.work(n)}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:n,scheduler:t}=this,{actions:r}=t;this.work=this.state=this.scheduler=null,this.pending=!1,Dn(r,this),n!=null&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null,super.unsubscribe()}}};var eo={now(){return(eo.delegate||Date).now()},delegate:void 0};var pr=class e{constructor(n,t=e.now){this.schedulerActionCtor=n,this.now=t}schedule(n,t=0,r){return new this.schedulerActionCtor(this,n).schedule(r,t)}};pr.now=eo.now;var hr=class extends pr{constructor(n,t=pr.now){super(n,t),this.actions=[],this._active=!1}flush(n){let{actions:t}=this;if(this._active){t.push(n);return}let r;this._active=!0;do if(r=n.execute(n.state,n.delay))break;while(n=t.shift());if(this._active=!1,r){for(;n=t.shift();)n.unsubscribe();throw r}}};var St=new hr(fr),pf=St;function Pi(e){return e&&T(e.schedule)}function hf(e){return e instanceof Date&&!isNaN(e)}function wn(e=0,n,t=pf){let r=-1;return n!=null&&(Pi(n)?t=n:r=n),new x(o=>{let i=hf(e)?+e-t.now():e;i<0&&(i=0);let s=0;return t.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function jv(e=0,n=St){return e<0&&(e=0),wn(e,e,n)}function gf(e,n=St){return A((t,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=n.now();if(l<u){o=this.schedule(void 0,u-l),r.add(o);return}a()}t.subscribe(S(r,u=>{i=u,s=n.now(),o||(o=n.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function mf(e,n=pe){return e=e??Bv,A((t,r)=>{let o,i=!0;t.subscribe(S(r,s=>{let a=n(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function Bv(e,n){return e===n}function vf(e,n,t,r){function o(i){return i instanceof t?i:new t(function(s){s(i)})}return new(t||(t=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,n||[])).next())})}function yf(e){var n=typeof Symbol=="function"&&Symbol.iterator,t=n&&e[n],r=0;if(t)return t.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(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function bn(e){return this instanceof bn?(this.v=e,this):new bn(e)}function Df(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=t.apply(e,n||[]),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(v){return new Promise(function(y,E){i.push([f,v,y,E])>1||c(f,v)})},h&&(o[f]=h(o[f])))}function c(f,h){try{u(r[f](h))}catch(v){p(i[0][3],v)}}function u(f){f.value instanceof bn?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 Ef(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=e[Symbol.asyncIterator],t;return n?n.call(e):(e=typeof yf=="function"?yf(e):e[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(i){t[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 gr=e=>e&&typeof e.length=="number"&&typeof e!="function";function Li(e){return T(e?.then)}function ji(e){return T(e[dr])}function Bi(e){return Symbol.asyncIterator&&T(e?.[Symbol.asyncIterator])}function Vi(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 Vv(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Hi=Vv();function $i(e){return T(e?.[Hi])}function Ui(e){return Df(this,arguments,function*(){let t=e.getReader();try{for(;;){let{value:r,done:o}=yield bn(t.read());if(o)return yield bn(void 0);yield yield bn(r)}}finally{t.releaseLock()}})}function zi(e){return T(e?.getReader)}function O(e){if(e instanceof x)return e;if(e!=null){if(ji(e))return Hv(e);if(gr(e))return $v(e);if(Li(e))return Uv(e);if(Bi(e))return Cf(e);if($i(e))return zv(e);if(zi(e))return Gv(e)}throw Vi(e)}function Hv(e){return new x(n=>{let t=e[dr]();if(T(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function $v(e){return new x(n=>{for(let t=0;t<e.length&&!n.closed;t++)n.next(e[t]);n.complete()})}function Uv(e){return new x(n=>{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,Ri)})}function zv(e){return new x(n=>{for(let t of e)if(n.next(t),n.closed)return;n.complete()})}function Cf(e){return new x(n=>{Wv(e,n).catch(t=>n.error(t))})}function Gv(e){return Cf(Ui(e))}function Wv(e,n){var t,r,o,i;return vf(this,void 0,void 0,function*(){try{for(t=Ef(e);r=yield t.next(),!r.done;){let s=r.value;if(n.next(s),n.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=t.return)&&(yield i.call(t))}finally{if(o)throw o.error}}n.complete()})}function Ee(e,n,t,r=0,o=!1){let i=n.schedule(function(){t(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function If(e,n,t,r,o,i,s,a){let c=[],u=0,l=0,d=!1,p=()=>{d&&!c.length&&!u&&n.complete()},f=v=>u<r?h(v):c.push(v),h=v=>{i&&n.next(v),u++;let y=!1;O(t(v,l++)).subscribe(S(n,E=>{o?.(E),i?f(E):n.next(E)},()=>{y=!0},void 0,()=>{if(y)try{for(u--;c.length&&u<r;){let E=c.shift();s?Ee(n,s,()=>h(E)):h(E)}p()}catch(E){n.error(E)}}))};return e.subscribe(S(n,f,()=>{d=!0,p()})),()=>{a?.()}}function Ze(e,n,t=1/0){return T(n)?Ze((r,o)=>ae((i,s)=>n(r,i,o,s))(O(e(r,o))),t):(typeof n=="number"&&(t=n),A((r,o)=>If(r,o,e,t)))}function to(e=1/0){return Ze(pe,e)}function wf(){return to(1)}function Dc(e){return e[e.length-1]}function Yt(e){return T(Dc(e))?e.pop():void 0}function ut(e){return Pi(Dc(e))?e.pop():void 0}function bf(e,n){return typeof Dc(e)=="number"?e.pop():n}function Gi(e,n=0){return A((t,r)=>{t.subscribe(S(r,o=>Ee(r,e,()=>r.next(o),n),()=>Ee(r,e,()=>r.complete(),n),o=>Ee(r,e,()=>r.error(o),n)))})}function Wi(e,n=0){return A((t,r)=>{r.add(e.schedule(()=>t.subscribe(r),n))})}function Tf(e,n){return O(e).pipe(Wi(n),Gi(n))}function _f(e,n){return O(e).pipe(Wi(n),Gi(n))}function Mf(e,n){return new x(t=>{let r=0;return n.schedule(function(){r===e.length?t.complete():(t.next(e[r++]),t.closed||this.schedule())})})}function Sf(e,n){return new x(t=>{let r;return Ee(t,n,()=>{r=e[Hi](),Ee(t,n,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){t.error(s);return}i?t.complete():t.next(o)},0,!0)}),()=>T(r?.return)&&r.return()})}function qi(e,n){if(!e)throw new Error("Iterable cannot be null");return new x(t=>{Ee(t,n,()=>{let r=e[Symbol.asyncIterator]();Ee(t,n,()=>{r.next().then(o=>{o.done?t.complete():t.next(o.value)})},0,!0)})})}function Nf(e,n){return qi(Ui(e),n)}function xf(e,n){if(e!=null){if(ji(e))return Tf(e,n);if(gr(e))return Mf(e,n);if(Li(e))return _f(e,n);if(Bi(e))return qi(e,n);if($i(e))return Sf(e,n);if(zi(e))return Nf(e,n)}throw Vi(e)}function lt(e,n){return n?xf(e,n):O(e)}function Ye(...e){return wf()(lt(e,ut(e)))}function Af(...e){let n=ut(e);return A((t,r)=>{(n?Ye(e,t,n):Ye(e,t)).subscribe(r)})}var mr={schedule(e){let n=requestAnimationFrame,t=cancelAnimationFrame,{delegate:r}=mr;r&&(n=r.requestAnimationFrame,t=r.cancelAnimationFrame);let o=n(i=>{t=void 0,e(i)});return new ne(()=>t?.(o))},requestAnimationFrame(...e){let{delegate:n}=mr;return(n?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){let{delegate:n}=mr;return(n?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};var no=class extends ${constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){let t=super._subscribe(n);return!t.closed&&n.next(this._value),t}getValue(){let{hasError:n,thrownError:t,_value:r}=this;if(n)throw t;return this._throwIfClosed(),r}next(n){super.next(this._value=n)}};var ro=class extends ${constructor(n=1/0,t=1/0,r=eo){super(),this._bufferSize=n,this._windowTime=t,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=t===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,t)}next(n){let{isStopped:t,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;t||(r.push(n),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();let t=this._innerSubscribe(n),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!n.closed;s+=r?1:2)n.next(i[s]);return this._checkFinalizedStatuses(n),t}_trimBuffer(){let{_bufferSize:n,_timestampProvider:t,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*n;if(n<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=t.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};var Zi=class extends fr{constructor(n,t){super(n,t),this.scheduler=n,this.work=t}requestAsyncId(n,t,r=0){return r!==null&&r>0?super.requestAsyncId(n,t,r):(n.actions.push(this),n._scheduled||(n._scheduled=mr.requestAnimationFrame(()=>n.flush(void 0))))}recycleAsyncId(n,t,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(n,t,r);let{actions:i}=n;t!=null&&t===n._scheduled&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==t&&(mr.cancelAnimationFrame(t),n._scheduled=void 0)}};var Yi=class extends hr{flush(n){this._active=!0;let t;n?t=n.id:(t=this._scheduled,this._scheduled=void 0);let{actions:r}=this,o;n=n||r.shift();do if(o=n.execute(n.state,n.delay))break;while((n=r[0])&&n.id===t&&r.shift());if(this._active=!1,o){for(;(n=r[0])&&n.id===t&&r.shift();)n.unsubscribe();throw o}}};var qv=new Yi(Zi);var Nt=new x(e=>e.complete());function Qe(...e){let n=ut(e);return lt(e,n)}function Zv(e,n){let t=T(e)?e:()=>e,r=o=>o.error(t());return new x(n?o=>n.schedule(r,0,o):r)}function Qt(e){return!!e&&(e instanceof x||T(e.lift)&&T(e.subscribe))}function Yv(e,n){let t=typeof n=="object";return new Promise((r,o)=>{let i=!1,s;e.subscribe({next:a=>{s=a,i=!0},error:o,complete:()=>{i?r(s):t?r(n.defaultValue):o(new Mt)}})})}var{isArray:Qv}=Array;function Kv(e,n){return Qv(n)?e(...n):e(n)}function yr(e){return ae(n=>Kv(e,n))}var{isArray:Jv}=Array,{getPrototypeOf:Xv,prototype:eD,keys:tD}=Object;function Qi(e){if(e.length===1){let n=e[0];if(Jv(n))return{args:n,keys:null};if(nD(n)){let t=tD(n);return{args:t.map(r=>n[r]),keys:t}}}return{args:e,keys:null}}function nD(e){return e&&typeof e=="object"&&Xv(e)===eD}function Ki(e,n){return e.reduce((t,r,o)=>(t[r]=n[o],t),{})}function rD(...e){let n=ut(e),t=Yt(e),{args:r,keys:o}=Qi(e);if(r.length===0)return lt([],n);let i=new x(oD(r,n,o?s=>Ki(o,s):pe));return t?i.pipe(yr(t)):i}function oD(e,n,t=pe){return r=>{Rf(n,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Rf(n,()=>{let u=lt(e[c],n),l=!1;u.subscribe(S(r,d=>{i[c]=d,l||(l=!0,a--),a||r.next(t(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Rf(e,n,t){e?Ee(t,e,n):n()}function Ji(e){return new x(n=>{O(e()).subscribe(n)})}function Ec(...e){let n=Yt(e),{args:t,keys:r}=Qi(e),o=new x(i=>{let{length:s}=t;if(!s){i.complete();return}let a=new Array(s),c=s,u=s;for(let l=0;l<s;l++){let d=!1;O(t[l]).subscribe(S(i,p=>{d||(d=!0,u--),a[l]=p},()=>c--,void 0,()=>{(!c||!d)&&(u||i.next(r?Ki(r,a):a),i.complete())}))}});return n?o.pipe(yr(n)):o}var iD=["addListener","removeListener"],sD=["addEventListener","removeEventListener"],aD=["on","off"];function Cc(e,n,t,r){if(T(t)&&(r=t,t=void 0),r)return Cc(e,n,t).pipe(yr(r));let[o,i]=lD(e)?sD.map(s=>a=>e[s](n,a,t)):cD(e)?iD.map(Of(e,n)):uD(e)?aD.map(Of(e,n)):[];if(!o&&gr(e))return Ze(s=>Cc(s,n,t))(O(e));if(!o)throw new TypeError("Invalid event target");return new x(s=>{let a=(...c)=>s.next(1<c.length?c:c[0]);return o(a),()=>i(a)})}function Of(e,n){return t=>r=>e[t](n,r)}function cD(e){return T(e.addListener)&&T(e.removeListener)}function uD(e){return T(e.on)&&T(e.off)}function lD(e){return T(e.addEventListener)&&T(e.removeEventListener)}function dD(...e){let n=ut(e),t=bf(e,1/0),r=e;return r.length?r.length===1?O(r[0]):to(t)(lt(r,n)):Nt}var{isArray:fD}=Array;function Xi(e){return e.length===1&&fD(e[0])?e[0]:e}function Tn(e,n){return A((t,r)=>{let o=0;t.subscribe(S(r,i=>e.call(n,i,o++)&&r.next(i)))})}function pD(...e){return e=Xi(e),e.length===1?O(e[0]):new x(hD(e))}function hD(e){return n=>{let t=[];for(let r=0;t&&!n.closed&&r<e.length;r++)t.push(O(e[r]).subscribe(S(n,o=>{if(t){for(let i=0;i<t.length;i++)i!==r&&t[i].unsubscribe();t=null}n.next(o)})))}}function gD(...e){let n=Yt(e),t=Xi(e);return t.length?new x(r=>{let o=t.map(()=>[]),i=t.map(()=>!1);r.add(()=>{o=i=null});for(let s=0;!r.closed&&s<t.length;s++)O(t[s]).subscribe(S(r,a=>{if(o[s].push(a),o.every(c=>c.length)){let c=o.map(u=>u.shift());r.next(n?n(...c):c),o.some((u,l)=>!u.length&&i[l])&&r.complete()}},()=>{i[s]=!0,!o[s].length&&r.complete()}));return()=>{o=i=null}}):Nt}function kf(e){return A((n,t)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let u=o;o=null,t.next(u)}s&&t.complete()},c=()=>{i=null,s&&t.complete()};n.subscribe(S(t,u=>{r=!0,o=u,i||O(e(u)).subscribe(i=S(t,a,c))},()=>{s=!0,(!r||!i||i.closed)&&t.complete()}))})}function mD(e,n=St){return kf(()=>wn(e,n))}function Ic(e){return A((n,t)=>{let r=null,o=!1,i;r=n.subscribe(S(t,void 0,void 0,s=>{i=O(e(s,Ic(e)(n))),r?(r.unsubscribe(),r=null,i.subscribe(t)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(t))})}function oo(e,n){return T(n)?Ze(e,n,1):Ze(e,1)}function Ff(e){return A((n,t)=>{let r=!1;n.subscribe(S(t,o=>{r=!0,t.next(o)},()=>{r||t.next(e),t.complete()}))})}function Ke(e){return e<=0?()=>Nt:A((n,t)=>{let r=0;n.subscribe(S(t,o=>{++r<=e&&(t.next(o),e<=r&&t.complete())}))})}function Pf(){return A((e,n)=>{e.subscribe(S(n,_t))})}function Lf(e){return ae(()=>e)}function wc(e,n){return n?t=>Ye(n.pipe(Ke(1),Pf()),t.pipe(wc(e))):Ze((t,r)=>O(e(t,r)).pipe(Ke(1),Lf(t)))}function yD(e,n=St){let t=wn(e,n);return wc(()=>t)}function jf(e=vD){return A((n,t)=>{let r=!1;n.subscribe(S(t,o=>{r=!0,t.next(o)},()=>r?t.complete():t.error(e())))})}function vD(){return new Mt}function DD(...e){return n=>Ye(n,Qe(...e))}function es(e){return A((n,t)=>{try{n.subscribe(t)}finally{t.add(e)}})}function ED(e,n){let t=arguments.length>=2;return r=>r.pipe(e?Tn((o,i)=>e(o,i,r)):pe,Ke(1),t?Ff(n):jf(()=>new Mt))}function CD(e){return e<=0?()=>Nt:A((n,t)=>{let r=[];n.subscribe(S(t,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)t.next(o);t.complete()},void 0,()=>{r=null}))})}function Bf(e={}){let{connector:n=()=>new $,resetOnError:t=!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 v=s;f(),v?.unsubscribe()};return A((v,y)=>{u++,!d&&!l&&p();let E=c=c??n();y.add(()=>{u--,u===0&&!d&&!l&&(a=bc(h,o))}),E.subscribe(y),!s&&u>0&&(s=new qe({next:F=>E.next(F),error:F=>{d=!0,p(),a=bc(f,t,F),E.error(F)},complete:()=>{l=!0,p(),a=bc(f,r),E.complete()}}),O(v).subscribe(s))})(i)}}function bc(e,n,...t){if(n===!0){e();return}if(n===!1)return;let r=new qe({next:()=>{r.unsubscribe(),e()}});return O(n(...t)).subscribe(r)}function ts(e,n,t){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:n=1/0,refCount:o=!1,scheduler:t}=e:r=e??1/0,Bf({connector:()=>new ro(r,n,t),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function ID(e){return Tn((n,t)=>e<=t)}function _n(e,n){return A((t,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();t.subscribe(S(r,c=>{o?.unsubscribe();let u=0,l=i++;O(e(c,l)).subscribe(o=S(r,d=>r.next(n?n(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Vf(e){return A((n,t)=>{O(e).subscribe(S(t,()=>t.complete(),_t)),!t.closed&&n.subscribe(t)})}function wD(e,n,t){let r=T(e)||n||t?{next:e,error:n,complete:t}:e;return r?A((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(S(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)}))}):pe}function bD(...e){let n=Yt(e);return A((t,r)=>{let o=e.length,i=new Array(o),s=e.map(()=>!1),a=!1;for(let c=0;c<o;c++)O(e[c]).subscribe(S(r,u=>{i[c]=u,!a&&!s[c]&&(s[c]=!0,(a=s.every(pe))&&(s=null))},_t));t.subscribe(S(r,c=>{if(a){let u=[c,...i];r.next(n?n(...u):u)}}))})}var ce=null,ns=!1,Tc=1,TD=null,Y=Symbol("SIGNAL");function w(e){let n=ce;return ce=e,n}function rs(){return ce}var Kt={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 Jt(e){if(ns)throw new Error("");if(ce===null)return;ce.consumerOnSignalRead(e);let n=ce.producersTail;if(n!==void 0&&n.producer===e)return;let t,r=ce.recomputing;if(r&&(t=n!==void 0?n.nextProducer:ce.producers,t!==void 0&&t.producer===e)){ce.producersTail=t,t.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===ce&&(!r||MD(o,ce)))return;let i=Dr(ce),s={producer:e,consumer:ce,nextProducer:t,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};ce.producersTail=s,n!==void 0?n.nextProducer=s:ce.producers=s,i&&zf(e,s)}function Hf(){Tc++}function Nn(e){if(!(Dr(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Tc)){if(!e.producerMustRecompute(e)&&!io(e)){vr(e);return}e.producerRecomputeValue(e),vr(e)}}function _c(e){if(e.consumers===void 0)return;let n=ns;ns=!0;try{for(let t=e.consumers;t!==void 0;t=t.nextConsumer){let r=t.consumer;r.dirty||_D(r)}}finally{ns=n}}function Mc(){return ce?.consumerAllowSignalWrites!==!1}function _D(e){e.dirty=!0,_c(e),e.consumerMarkedDirty?.(e)}function vr(e){e.dirty=!1,e.lastCleanEpoch=Tc}function Xt(e){return e&&$f(e),w(e)}function $f(e){e.producersTail=void 0,e.recomputing=!0}function xn(e,n){w(n),e&&Uf(e)}function Uf(e){e.recomputing=!1;let n=e.producersTail,t=n!==void 0?n.nextProducer:e.producers;if(t!==void 0){if(Dr(e))do t=Sc(t);while(t!==void 0);n!==void 0?n.nextProducer=void 0:e.producers=void 0}}function io(e){for(let n=e.producers;n!==void 0;n=n.nextProducer){let t=n.producer,r=n.lastReadVersion;if(r!==t.version||(Nn(t),r!==t.version))return!0}return!1}function An(e){if(Dr(e)){let n=e.producers;for(;n!==void 0;)n=Sc(n)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function zf(e,n){let t=e.consumersTail,r=Dr(e);if(t!==void 0?(n.nextConsumer=t.nextConsumer,t.nextConsumer=n):(n.nextConsumer=void 0,e.consumers=n),n.prevConsumer=t,e.consumersTail=n,!r)for(let o=e.producers;o!==void 0;o=o.nextProducer)zf(o.producer,o)}function Sc(e){let n=e.producer,t=e.nextProducer,r=e.nextConsumer,o=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,r!==void 0?r.prevConsumer=o:n.consumersTail=o,o!==void 0)o.nextConsumer=r;else if(n.consumers=r,!Dr(n)){let i=n.producers;for(;i!==void 0;)i=Sc(i)}return t}function Dr(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function so(e){TD?.(e)}function MD(e,n){let t=n.producersTail;if(t!==void 0){let r=n.producers;do{if(r===e)return!0;if(r===t)break;r=r.nextProducer}while(r!==void 0)}return!1}function ao(e,n){return Object.is(e,n)}function co(e,n){let t=Object.create(SD);t.computation=e,n!==void 0&&(t.equal=n);let r=()=>{if(Nn(t),Jt(t),t.value===dt)throw t.error;return t.value};return r[Y]=t,so(t),r}var Mn=Symbol("UNSET"),Sn=Symbol("COMPUTING"),dt=Symbol("ERRORED"),SD=H(N({},Kt),{value:Mn,dirty:!0,error:null,equal:ao,kind:"computed",producerMustRecompute(e){return e.value===Mn||e.value===Sn},producerRecomputeValue(e){if(e.value===Sn)throw new Error("");let n=e.value;e.value=Sn;let t=Xt(e),r,o=!1;try{r=e.computation(),w(null),o=n!==Mn&&n!==dt&&r!==dt&&e.equal(n,r)}catch(i){r=dt,e.error=i}finally{xn(e,t)}if(o){e.value=n;return}e.value=r,e.version++}});function ND(){throw new Error}var Gf=ND;function Wf(e){Gf(e)}function Nc(e){Gf=e}var xD=null;function xc(e,n){let t=Object.create(is);t.value=e,n!==void 0&&(t.equal=n);let r=()=>qf(t);return r[Y]=t,so(t),[r,s=>en(t,s),s=>os(t,s)]}function qf(e){return Jt(e),e.value}function en(e,n){Mc()||Wf(e),e.equal(e.value,n)||(e.value=n,AD(e))}function os(e,n){Mc()||Wf(e),en(e,n(e.value))}var is=H(N({},Kt),{equal:ao,value:void 0,kind:"signal"});function AD(e){e.version++,Hf(),_c(e),xD?.(e)}var Ac=H(N({},Kt),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function Rc(e){if(e.dirty=!1,e.version>0&&!io(e))return;e.version++;let n=Xt(e);try{e.cleanup(),e.fn()}finally{xn(e,n)}}var Oc;function ss(){return Oc}function ft(e){let n=Oc;return Oc=e,n}var Zf=Symbol("NotFound");function Er(e){return e===Zf||e?.name==="\u0275NotFound"}function kc(e,n,t){let r=Object.create(RD);r.source=e,r.computation=n,t!=null&&(r.equal=t);let i=()=>{if(Nn(r),Jt(r),r.value===dt)throw r.error;return r.value};return i[Y]=r,so(r),i}function Yf(e,n){Nn(e),en(e,n),vr(e)}function Qf(e,n){if(Nn(e),e.value===dt)throw e.error;os(e,n),vr(e)}var RD=H(N({},Kt),{value:Mn,dirty:!0,error:null,equal:ao,kind:"linkedSignal",producerMustRecompute(e){return e.value===Mn||e.value===Sn},producerRecomputeValue(e){if(e.value===Sn)throw new Error("");let n=e.value;e.value=Sn;let t=Xt(e),r,o=!1;try{let i=e.source(),s=n!==Mn&&n!==dt,a=s?{source:e.sourceValue,value:n}:void 0;r=e.computation(i,a),e.sourceValue=i,w(null),o=s&&r!==dt&&e.equal(n,r)}catch(i){r=dt,e.error=i}finally{xn(e,t)}if(o){e.value=n;return}e.value=r,e.version++}});function Kf(e){let n=w(null);try{return e()}finally{w(n)}}var ps="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",m=class extends Error{code;constructor(n,t){super(pt(n,t)),this.code=n}};function OD(e){return`NG0${Math.abs(e)}`}function pt(e,n){return`${OD(e)}${n?": "+n:""}`}var Fe=globalThis;function P(e){for(let n in e)if(e[n]===P)return n;throw Error("")}function np(e,n){for(let t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function mo(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(mo).join(", ")}]`;if(e==null)return""+e;let n=e.overriddenName||e.name;if(n)return`${n}`;let t=e.toString();if(t==null)return""+t;let r=t.indexOf(`
`);return r>=0?t.slice(0,r):t}function hs(e,n){return e?n?`${e} ${n}`:e:n||""}var kD=P({__forward_ref__:P});function gs(e){return e.__forward_ref__=gs,e}function re(e){return qc(e)?e():e}function qc(e){return typeof e=="function"&&e.hasOwnProperty(kD)&&e.__forward_ref__===gs}function D(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Ot(e){return{providers:e.providers||[],imports:e.imports||[]}}function yo(e){return PD(e,ms)}function FD(e){return yo(e)!==null}function PD(e,n){return e.hasOwnProperty(n)&&e[n]||null}function LD(e){let n=e?.[ms]??null;return n||null}function Pc(e){return e&&e.hasOwnProperty(cs)?e[cs]:null}var ms=P({\u0275prov:P}),cs=P({\u0275inj:P}),I=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(n,t){this._desc=n,this.\u0275prov=void 0,typeof t=="number"?this.__NG_ELEMENT_ID__=t:t!==void 0&&(this.\u0275prov=D({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Zc(e){return e&&!!e.\u0275providers}var Yc=P({\u0275cmp:P}),Qc=P({\u0275dir:P}),Kc=P({\u0275pipe:P}),Jc=P({\u0275mod:P}),lo=P({\u0275fac:P}),Pn=P({__NG_ELEMENT_ID__:P}),Jf=P({__NG_ENV_ID__:P});function Xc(e){return vs(e,"@NgModule"),e[Jc]||null}function kt(e){return vs(e,"@Component"),e[Yc]||null}function ys(e){return vs(e,"@Directive"),e[Qc]||null}function rp(e){return vs(e,"@Pipe"),e[Kc]||null}function vs(e,n){if(e==null)throw new m(-919,!1)}function se(e){return typeof e=="string"?e:e==null?"":String(e)}var op=P({ngErrorCode:P}),jD=P({ngErrorMessage:P}),BD=P({ngTokenPath:P});function eu(e,n){return ip("",-200,n)}function Ds(e,n){throw new m(-201,!1)}function ip(e,n,t){let r=new m(n,e);return r[op]=n,r[jD]=e,t&&(r[BD]=t),r}function VD(e){return e[op]}var Lc;function sp(){return Lc}function he(e){let n=Lc;return Lc=e,n}function tu(e,n,t){let r=yo(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(t&8)return null;if(n!==void 0)return n;Ds(e,"")}var HD={},Rn=HD,$D="__NG_DI_FLAG__",jc=class{injector;constructor(n){this.injector=n}retrieve(n,t){let r=On(t)||0;try{return this.injector.get(n,r&8?null:Rn,r)}catch(o){if(Er(o))return o;throw o}}};function UD(e,n=0){let t=ss();if(t===void 0)throw new m(-203,!1);if(t===null)return tu(e,void 0,n);{let r=zD(n),o=t.retrieve(e,r);if(Er(o)){if(r.optional)return null;throw o}return o}}function _(e,n=0){return(sp()||UD)(re(e),n)}function g(e,n){return _(e,On(n))}function On(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function zD(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function Bc(e){let n=[];for(let t=0;t<e.length;t++){let r=re(e[t]);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=GD(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}n.push(_(o,i))}else n.push(_(r))}return n}function GD(e){return e[$D]}function tn(e,n){let t=e.hasOwnProperty(lo);return t?e[lo]:null}function ap(e,n,t){if(e.length!==n.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=n[r];if(t&&(o=t(o),i=t(i)),i!==o)return!1}return!0}function cp(e){return e.flat(Number.POSITIVE_INFINITY)}function Es(e,n){e.forEach(t=>Array.isArray(t)?Es(t,n):n(t))}function nu(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function vo(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function up(e,n){let t=[];for(let r=0;r<e;r++)t.push(n);return t}function lp(e,n,t,r){let o=e.length;if(o==n)e.push(t,r);else if(o===1)e.push(r,e[0]),e[0]=t;else{for(o--,e.push(e[o-1],e[o]);o>n;){let i=o-2;e[o]=e[i],o--}e[n]=t,e[n+1]=r}}function Cs(e,n,t){let r=Ir(e,n);return r>=0?e[r|1]=t:(r=~r,lp(e,r,n,t)),r}function Is(e,n){let t=Ir(e,n);if(t>=0)return e[t|1]}function Ir(e,n){return WD(e,n,1)}function WD(e,n,t){let r=0,o=e.length>>t;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<t];if(n===s)return i<<t;s>n?o=i:r=i+1}return~(o<<t)}var Je={},ue=[],wr=new I(""),ru=new I("",-1),ou=new I(""),fo=class{get(n,t=Rn){if(t===Rn){let o=ip("",-201);throw o.name="\u0275NotFound",o}return t}};function on(e){return{\u0275providers:e}}function dp(...e){return{\u0275providers:iu(!0,e),\u0275fromNgModule:!0}}function iu(e,...n){let t=[],r=new Set,o,i=s=>{t.push(s)};return Es(n,s=>{let a=s;us(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&fp(o,i),t}function fp(e,n){for(let t=0;t<e.length;t++){let{ngModule:r,providers:o}=e[t];su(o,i=>{n(i,r)})}}function us(e,n,t,r){if(e=re(e),!e)return!1;let o=null,i=Pc(e),s=!i&&kt(e);if(!i&&!s){let c=e.ngModule;if(i=Pc(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)us(u,n,t,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;Es(i.imports,l=>{us(l,n,t,r)&&(u||=[],u.push(l))}),u!==void 0&&fp(u,n)}if(!a){let u=tn(o)||(()=>new o);n({provide:o,useFactory:u,deps:ue},o),n({provide:ou,useValue:o,multi:!0},o),n({provide:wr,useValue:()=>_(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;su(c,l=>{n(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function su(e,n){for(let t of e)Zc(t)&&(t=t.\u0275providers),Array.isArray(t)?su(t,n):n(t)}var qD=P({provide:String,useValue:P});function pp(e){return e!==null&&typeof e=="object"&&qD in e}function ZD(e){return!!(e&&e.useExisting)}function YD(e){return!!(e&&e.useFactory)}function kn(e){return typeof e=="function"}function hp(e){return!!e.useClass}var Do=new I(""),as={},Xf={},Fc;function br(){return Fc===void 0&&(Fc=new fo),Fc}var ge=class{},Fn=class extends ge{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(n,t,r,o){super(),this.parent=t,this.source=r,this.scopes=o,Hc(n,s=>this.processProvider(s)),this.records.set(ru,Cr(void 0,this)),o.has("environment")&&this.records.set(ge,Cr(void 0,this));let i=this.records.get(Do);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(ou,ue,{self:!0}))}retrieve(n,t){let r=On(t)||0;try{return this.get(n,Rn,r)}catch(o){if(Er(o))return o;throw o}}destroy(){uo(this),this._destroyed=!0;let n=w(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let t=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of t)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),w(n)}}onDestroy(n){return uo(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){uo(this);let t=ft(this),r=he(void 0),o;try{return n()}finally{ft(t),he(r)}}get(n,t=Rn,r){if(uo(this),n.hasOwnProperty(Jf))return n[Jf](this);let o=On(r),i,s=ft(this),a=he(void 0);try{if(!(o&4)){let u=this.records.get(n);if(u===void 0){let l=eE(n)&&yo(n);l&&this.injectableDefInScope(l)?u=Cr(Vc(n),as):u=null,this.records.set(n,u)}if(u!=null)return this.hydrate(n,u,o)}let c=o&2?br():this.parent;return t=o&8&&t===Rn?null:t,c.get(n,t)}catch(c){let u=VD(c);throw u===-200||u===-201?new m(u,null):c}finally{he(a),ft(s)}}resolveInjectorInitializers(){let n=w(null),t=ft(this),r=he(void 0),o;try{let i=this.get(wr,ue,{self:!0});for(let s of i)s()}finally{ft(t),he(r),w(n)}}toString(){return"R3Injector[...]"}processProvider(n){n=re(n);let t=kn(n)?n:re(n&&n.provide),r=KD(n);if(!kn(n)&&n.multi===!0){let o=this.records.get(t);o||(o=Cr(void 0,as,!0),o.factory=()=>Bc(o.multi),this.records.set(t,o)),t=n,o.multi.push(n)}this.records.set(t,r)}hydrate(n,t,r){let o=w(null);try{if(t.value===Xf)throw eu("");return t.value===as&&(t.value=Xf,t.value=t.factory(void 0,r)),typeof t.value=="object"&&t.value&&XD(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{w(o)}}injectableDefInScope(n){if(!n.providedIn)return!1;let t=re(n.providedIn);return typeof t=="string"?t==="any"||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(n){let t=this._onDestroyHooks.indexOf(n);t!==-1&&this._onDestroyHooks.splice(t,1)}};function Vc(e){let n=yo(e),t=n!==null?n.factory:tn(e);if(t!==null)return t;if(e instanceof I)throw new m(-204,!1);if(e instanceof Function)return QD(e);throw new m(-204,!1)}function QD(e){if(e.length>0)throw new m(-204,!1);let t=LD(e);return t!==null?()=>t.factory(e):()=>new e}function KD(e){if(pp(e))return Cr(void 0,e.useValue);{let n=au(e);return Cr(n,as)}}function au(e,n,t){let r;if(kn(e)){let o=re(e);return tn(o)||Vc(o)}else if(pp(e))r=()=>re(e.useValue);else if(YD(e))r=()=>e.useFactory(...Bc(e.deps||[]));else if(ZD(e))r=(o,i)=>_(re(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=re(e&&(e.useClass||e.provide));if(JD(e))r=()=>new o(...Bc(e.deps));else return tn(o)||Vc(o)}return r}function uo(e){if(e.destroyed)throw new m(-205,!1)}function Cr(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function JD(e){return!!e.deps}function XD(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function eE(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function Hc(e,n){for(let t of e)Array.isArray(t)?Hc(t,n):t&&Zc(t)?Hc(t.\u0275providers,n):n(t)}function Tr(e,n){let t;e instanceof Fn?(uo(e),t=e):t=new jc(e);let r,o=ft(t),i=he(void 0);try{return n()}finally{ft(o),he(i)}}function gp(){return sp()!==void 0||ss()!=null}var Xe=0,b=1,M=2,oe=3,Pe=4,me=5,Ln=6,_r=7,Q=8,xe=9,et=10,j=11,Mr=12,cu=13,jn=14,ye=15,sn=16,Bn=17,ht=18,Ft=19,uu=20,At=21,ws=22,nn=23,Ae=24,Vn=25,Pt=26,B=27,mp=1,lu=6,an=7,Eo=8,Hn=9,Z=10;function Lt(e){return Array.isArray(e)&&typeof e[mp]=="object"}function tt(e){return Array.isArray(e)&&e[mp]===!0}function du(e){return(e.flags&4)!==0}function jt(e){return e.componentOffset>-1}function Sr(e){return(e.flags&1)===1}function nt(e){return!!e.template}function Nr(e){return(e[M]&512)!==0}function $n(e){return(e[M]&256)===256}var fu="svg",yp="math";function Le(e){for(;Array.isArray(e);)e=e[Xe];return e}function pu(e,n){return Le(n[e])}function je(e,n){return Le(n[e.index])}function bs(e,n){return e.data[n]}function Co(e,n){return e[n]}function Io(e,n,t,r){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=r}function Be(e,n){let t=n[e];return Lt(t)?t:t[Xe]}function vp(e){return(e[M]&4)===4}function Ts(e){return(e[M]&128)===128}function Dp(e){return tt(e[oe])}function Ve(e,n){return n==null?null:e[n]}function hu(e){e[Bn]=0}function gu(e){e[M]&1024||(e[M]|=1024,Ts(e)&&Un(e))}function Ep(e,n){for(;e>0;)n=n[jn],e--;return n}function wo(e){return!!(e[M]&9216||e[Ae]?.dirty)}function _s(e){e[et].changeDetectionScheduler?.notify(8),e[M]&64&&(e[M]|=1024),wo(e)&&Un(e)}function Un(e){e[et].changeDetectionScheduler?.notify(0);let n=rn(e);for(;n!==null&&!(n[M]&8192||(n[M]|=8192,!Ts(n)));)n=rn(n)}function mu(e,n){if($n(e))throw new m(911,!1);e[At]===null&&(e[At]=[]),e[At].push(n)}function Cp(e,n){if(e[At]===null)return;let t=e[At].indexOf(n);t!==-1&&e[At].splice(t,1)}function rn(e){let n=e[oe];return tt(n)?n[oe]:n}function yu(e){return e[_r]??=[]}function vu(e){return e.cleanup??=[]}function Ip(e,n,t,r){let o=yu(n);o.push(t),e.firstCreatePass&&vu(e).push(r,o.length-1)}var R={lFrame:Rp(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var $c=!1;function wp(){return R.lFrame.elementDepthCount}function bp(){R.lFrame.elementDepthCount++}function Du(){R.lFrame.elementDepthCount--}function Ms(){return R.bindingsEnabled}function Eu(){return R.skipHydrationRootTNode!==null}function Cu(e){return R.skipHydrationRootTNode===e}function Iu(){R.skipHydrationRootTNode=null}function C(){return R.lFrame.lView}function U(){return R.lFrame.tView}function bo(e){return R.lFrame.contextLView=e,e[Q]}function To(e){return R.lFrame.contextLView=null,e}function K(){let e=wu();for(;e!==null&&e.type===64;)e=e.parent;return e}function wu(){return R.lFrame.currentTNode}function Tp(){let e=R.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}function zn(e,n){let t=R.lFrame;t.currentTNode=e,t.isParent=n}function bu(){return R.lFrame.isParent}function Tu(){R.lFrame.isParent=!1}function _u(){return R.lFrame.contextLView}function Mu(){return $c}function po(e){let n=$c;return $c=e,n}function cn(){let e=R.lFrame,n=e.bindingRootIndex;return n===-1&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function _o(){return R.lFrame.bindingIndex}function _p(e){return R.lFrame.bindingIndex=e}function un(){return R.lFrame.bindingIndex++}function Gn(e){let n=R.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function Mp(){return R.lFrame.inI18n}function Sp(e,n){let t=R.lFrame;t.bindingIndex=t.bindingRootIndex=e,Ss(n)}function Np(){return R.lFrame.currentDirectiveIndex}function Ss(e){R.lFrame.currentDirectiveIndex=e}function xp(e){let n=R.lFrame.currentDirectiveIndex;return n===-1?null:e[n]}function Ns(){return R.lFrame.currentQueryIndex}function Mo(e){R.lFrame.currentQueryIndex=e}function tE(e){let n=e[b];return n.type===2?n.declTNode:n.type===1?e[me]:null}function Su(e,n,t){if(t&4){let o=n,i=e;for(;o=o.parent,o===null&&!(t&1);)if(o=tE(i),o===null||(i=i[jn],o.type&10))break;if(o===null)return!1;n=o,e=i}let r=R.lFrame=Ap();return r.currentTNode=n,r.lView=e,!0}function xs(e){let n=Ap(),t=e[b];R.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function Ap(){let e=R.lFrame,n=e===null?null:e.child;return n===null?Rp(e):n}function Rp(e){let n={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=n),n}function Op(){let e=R.lFrame;return R.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Nu=Op;function As(){let e=Op();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function kp(e){return(R.lFrame.contextLView=Ep(e,R.lFrame.contextLView))[Q]}function Ce(){return R.lFrame.selectedIndex}function ln(e){R.lFrame.selectedIndex=e}function So(){let e=R.lFrame;return bs(e.tView,e.selectedIndex)}function Fp(){R.lFrame.currentNamespace=fu}function Pp(){nE()}function nE(){R.lFrame.currentNamespace=null}function xu(){return R.lFrame.currentNamespace}var Lp=!0;function Rs(){return Lp}function No(e){Lp=e}function Uc(e,n=null,t=null,r){let o=Au(e,n,t,r);return o.resolveInjectorInitializers(),o}function Au(e,n=null,t=null,r,o=new Set){let i=[t||ue,dp(e)],s;return new Fn(i,n||br(),s||null,o)}var X=class e{static THROW_IF_NOT_FOUND=Rn;static NULL=new fo;static create(n,t){if(Array.isArray(n))return Uc({name:""},t,n,"");{let r=n.name??"";return Uc({name:r},n.parent,n.providers,r)}}static \u0275prov=D({token:e,providedIn:"any",factory:()=>_(ru)});static __NG_ELEMENT_ID__=-1},W=new I(""),He=(()=>{class e{static __NG_ELEMENT_ID__=rE;static __NG_ENV_ID__=t=>t}return e})(),ls=class extends He{_lView;constructor(n){super(),this._lView=n}get destroyed(){return $n(this._lView)}onDestroy(n){let t=this._lView;return mu(t,n),()=>Cp(t,n)}};function rE(){return new ls(C())}var jp=!1,Bp=new I(""),Wn=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new no(!1);debugTaskTracker=g(Bp,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new x(t=>{t.next(!1),t.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let t=this.taskId++;return this.pendingTasks.add(t),this.debugTaskTracker?.add(t),t}has(t){return this.pendingTasks.has(t)}remove(t){this.pendingTasks.delete(t),this.debugTaskTracker?.remove(t),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=D({token:e,providedIn:"root",factory:()=>new e})}return e})(),zc=class extends ${__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,gp()&&(this.destroyRef=g(He,{optional:!0})??void 0,this.pendingTasks=g(Wn,{optional:!0})??void 0)}emit(n){let t=w(null);try{super.next(n)}finally{w(t)}}subscribe(n,t,r){let o=n,i=t||(()=>null),s=r;if(n&&typeof n=="object"){let c=n;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 n instanceof ne&&n.add(a),a}wrapInTimeout(n){return t=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{n(t)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},xt=zc;function ds(...e){}function Ru(e){let n,t;function r(){e=ds;try{t!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(t),n!==void 0&&clearTimeout(n)}catch(o){}}return n=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(t=requestAnimationFrame(()=>{e(),r()})),()=>r()}function Vp(e){return queueMicrotask(()=>e()),()=>{e=ds}}var Ou="isAngularZone",ho=Ou+"_ID",oE=0,ie=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new xt(!1);onMicrotaskEmpty=new xt(!1);onStable=new xt(!1);onError=new xt(!1);constructor(n){let{enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=jp}=n;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)),t&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,aE(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Ou)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new m(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new m(909,!1)}run(n,t,r){return this._inner.run(n,t,r)}runTask(n,t,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,n,iE,ds,ds);try{return i.runTask(s,t,r)}finally{i.cancelTask(s)}}runGuarded(n,t,r){return this._inner.runGuarded(n,t,r)}runOutsideAngular(n){return this._outer.run(n)}},iE={};function ku(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 sE(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function n(){Ru(()=>{e.callbackScheduled=!1,Gc(e),e.isCheckStableRunning=!0,ku(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{n()}):e._outer.run(()=>{n()}),Gc(e)}function aE(e){let n=()=>{sE(e)},t=oE++;e._inner=e._inner.fork({name:"angular",properties:{[Ou]:!0,[ho]:t,[ho+t]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(cE(c))return r.invokeTask(i,s,a,c);try{return ep(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&n(),tp(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return ep(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!uE(c)&&n(),tp(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Gc(e),ku(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 Gc(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function ep(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function tp(e){e._nesting--,ku(e)}var go=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new xt;onMicrotaskEmpty=new xt;onStable=new xt;onError=new xt;run(n,t,r){return n.apply(t,r)}runGuarded(n,t,r){return n.apply(t,r)}runOutsideAngular(n){return n()}runTask(n,t,r,o){return n.apply(t,r)}};function cE(e){return Hp(e,"__ignore_ng_zone__")}function uE(e){return Hp(e,"__scheduler_tick__")}function Hp(e,n){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[n]===!0}var ke=class{_console=console;handleError(n){this._console.error("ERROR",n)}},dn=new I("",{factory:()=>{let e=g(ie),n=g(ge),t;return r=>{e.runOutsideAngular(()=>{n.destroyed&&!t?setTimeout(()=>{throw r}):(t??=n.get(ke),t.handleError(r))})}}}),$p={provide:wr,useValue:()=>{let e=g(ke,{optional:!0})},multi:!0};function qn(e,n){let[t,r,o]=xc(e,n?.equal),i=t,s=i[Y];return i.set=r,i.update=o,i.asReadonly=xo.bind(i),i}function xo(){let e=this[Y];if(e.readonlyFn===void 0){let n=()=>this();n[Y]=e,e.readonlyFn=n}return e.readonlyFn}var Ao=(()=>{class e{view;node;constructor(t,r){this.view=t,this.node=r}static __NG_ELEMENT_ID__=lE}return e})();function lE(){return new Ao(C(),K())}var Rt=class{},Ro=new I("",{factory:()=>!0});var Fu=new I(""),xr=(()=>{class e{internalPendingTasks=g(Wn);scheduler=g(Rt);errorHandler=g(dn);add(){let t=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(t)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(t))}}run(t){let r=this.add();t().catch(this.errorHandler).finally(r)}static \u0275prov=D({token:e,providedIn:"root",factory:()=>new e})}return e})(),Os=(()=>{class e{static \u0275prov=D({token:e,providedIn:"root",factory:()=>new Wc})}return e})(),Wc=class{dirtyEffectCount=0;queues=new Map;add(n){this.enqueue(n),this.schedule(n)}schedule(n){n.dirty&&this.dirtyEffectCount++}remove(n){let t=n.zone,r=this.queues.get(t);r.has(n)&&(r.delete(n),n.dirty&&this.dirtyEffectCount--)}enqueue(n){let t=n.zone;this.queues.has(t)||this.queues.set(t,new Set);let r=this.queues.get(t);r.has(n)||r.add(n)}flush(){for(;this.dirtyEffectCount>0;){let n=!1;for(let[t,r]of this.queues)t===null?n||=this.flushQueue(r):n||=t.run(()=>this.flushQueue(r));n||(this.dirtyEffectCount=0)}}flushQueue(n){let t=!1;for(let r of n)r.dirty&&(this.dirtyEffectCount--,t=!0,r.run());return t}},fs=class{[Y];constructor(n){this[Y]=n}destroy(){this[Y].destroy()}};function Up(e,n){let t=n?.injector??g(X),r=n?.manualCleanup!==!0?t.get(He):null,o,i=t.get(Ao,null,{optional:!0}),s=t.get(Rt);return i!==null?(o=pE(i.view,s,e),r instanceof ls&&r._lView===i.view&&(r=null)):o=hE(e,t.get(Os),s),o.injector=t,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new fs(o)}var zp=H(N({},Ac),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let e=po(!1);try{Rc(this)}finally{po(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=w(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],w(e)}}}),dE=H(N({},zp),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(An(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this)}}),fE=H(N({},zp),{consumerMarkedDirty(){this.view[M]|=8192,Un(this.view),this.notifier.notify(13)},destroy(){if(An(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.view[nn]?.delete(this)}});function pE(e,n,t){let r=Object.create(fE);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=n,r.fn=Gp(r,t),e[nn]??=new Set,e[nn].add(r),r.consumerMarkedDirty(r),r}function hE(e,n,t){let r=Object.create(dE);return r.fn=Gp(r,e),r.scheduler=n,r.notifier=t,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}function Gp(e,n){return()=>{n(t=>(e.cleanupFns??=[]).push(t))}}function Wo(e){return{toString:e}.toString()}function IE(e){return typeof e=="function"}function Nh(e,n,t,r){n!==null?n.applyValueToInputSignal(n,r):e[t]=r}var Us=class{previousValue;currentValue;firstChange;constructor(n,t,r){this.previousValue=n,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}},qo=(()=>{let e=()=>xh;return e.ngInherit=!0,e})();function xh(e){return e.type.prototype.ngOnChanges&&(e.setInput=bE),wE}function wE(){let e=Rh(this),n=e?.current;if(n){let t=e.previous;if(t===Je)e.previous=n;else for(let r in n)t[r]=n[r];e.current=null,this.ngOnChanges(n)}}function bE(e,n,t,r,o){let i=this.declaredInputs[r],s=Rh(e)||TE(e,{previous:Je,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new Us(u&&u.currentValue,t,c===Je),Nh(e,n,o,t)}var Ah="__ngSimpleChanges__";function Rh(e){return e[Ah]||null}function TE(e,n){return e[Ah]=n}var Wp=[];var L=function(e,n=null,t){for(let r=0;r<Wp.length;r++){let o=Wp[r];o(e,n,t)}},k=(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})(k||{});function _E(e,n,t){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=n.type.prototype;if(r){let s=xh(n);(t.preOrderHooks??=[]).push(e,s),(t.preOrderCheckHooks??=[]).push(e,s)}o&&(t.preOrderHooks??=[]).push(0-e,o),i&&((t.preOrderHooks??=[]).push(e,i),(t.preOrderCheckHooks??=[]).push(e,i))}function Oh(e,n){for(let t=n.directiveStart,r=n.directiveEnd;t<r;t++){let i=e.data[t].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:u,ngOnDestroy:l}=i;s&&(e.contentHooks??=[]).push(-t,s),a&&((e.contentHooks??=[]).push(t,a),(e.contentCheckHooks??=[]).push(t,a)),c&&(e.viewHooks??=[]).push(-t,c),u&&((e.viewHooks??=[]).push(t,u),(e.viewCheckHooks??=[]).push(t,u)),l!=null&&(e.destroyHooks??=[]).push(t,l)}}function js(e,n,t){kh(e,n,3,t)}function Bs(e,n,t,r){(e[M]&3)===t&&kh(e,n,t,r)}function Pu(e,n){let t=e[M];(t&3)===n&&(t&=16383,t+=1,e[M]=t)}function kh(e,n,t,r){let o=r!==void 0?e[Bn]&65535:0,i=r??-1,s=n.length-1,a=0;for(let c=o;c<s;c++)if(typeof n[c+1]=="number"){if(a=n[c],r!=null&&a>=r)break}else n[c]<0&&(e[Bn]+=65536),(a<i||i==-1)&&(ME(e,t,n,c),e[Bn]=(e[Bn]&4294901760)+c+2),c++}function qp(e,n){L(k.LifecycleHookStart,e,n);let t=w(null);try{n.call(e)}finally{w(t),L(k.LifecycleHookEnd,e,n)}}function ME(e,n,t,r){let o=t[r]<0,i=t[r+1],s=o?-t[r]:t[r],a=e[s];o?e[M]>>14<e[Bn]>>16&&(e[M]&3)===n&&(e[M]+=16384,qp(a,i)):qp(a,i)}var Rr=-1,Qn=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(n,t,r,o){this.factory=n,this.name=o,this.canSeeViewProviders=t,this.injectImpl=r}};function SE(e){return(e.flags&8)!==0}function NE(e){return(e.flags&16)!==0}function xE(e,n,t){let r=0;for(;r<t.length;){let o=t[r];if(typeof o=="number"){if(o!==0)break;r++;let i=t[r++],s=t[r++],a=t[r++];e.setAttribute(n,s,a,i)}else{let i=o,s=t[++r];AE(i)?e.setProperty(n,i,s):e.setAttribute(n,i,s),r++}}return r}function Fh(e){return e===3||e===4||e===6}function AE(e){return e.charCodeAt(0)===64}function kr(e,n){if(!(n===null||n.length===0))if(e===null||e.length===0)e=n.slice();else{let t=-1;for(let r=0;r<n.length;r++){let o=n[r];typeof o=="number"?t=o:t===0||(t===-1||t===2?Zp(e,t,o,null,n[++r]):Zp(e,t,o,null,null))}}return e}function Zp(e,n,t,r,o){let i=0,s=e.length;if(n===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===n){s=-1;break}else if(a>n){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===t){o!==null&&(e[i+1]=o);return}i++,o!==null&&i++}s!==-1&&(e.splice(s,0,n),i=s+1),e.splice(i++,0,t),o!==null&&e.splice(i++,0,o)}function Ph(e){return e!==Rr}function zs(e){return e&32767}function RE(e){return e>>16}function Gs(e,n){let t=RE(e),r=n;for(;t>0;)r=r[jn],t--;return r}var Wu=!0;function Ws(e){let n=Wu;return Wu=e,n}var OE=256,Lh=OE-1,jh=5,kE=0,gt={};function FE(e,n,t){let r;typeof t=="string"?r=t.charCodeAt(0)||0:t.hasOwnProperty(Pn)&&(r=t[Pn]),r==null&&(r=t[Pn]=kE++);let o=r&Lh,i=1<<o;n.data[e+(o>>jh)]|=i}function qs(e,n){let t=Bh(e,n);if(t!==-1)return t;let r=n[b];r.firstCreatePass&&(e.injectorIndex=n.length,Lu(r.data,e),Lu(n,null),Lu(r.blueprint,null));let o=xl(e,n),i=e.injectorIndex;if(Ph(o)){let s=zs(o),a=Gs(o,n),c=a[b].data;for(let u=0;u<8;u++)n[i+u]=a[s+u]|c[s+u]}return n[i+8]=o,i}function Lu(e,n){e.push(0,0,0,0,0,0,0,0,n)}function Bh(e,n){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||n[e.injectorIndex+8]===null?-1:e.injectorIndex}function xl(e,n){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let t=0,r=null,o=n;for(;o!==null;){if(r=zh(o),r===null)return Rr;if(t++,o=o[jn],r.injectorIndex!==-1)return r.injectorIndex|t<<16}return Rr}function qu(e,n,t){FE(e,n,t)}function PE(e,n){if(n==="class")return e.classes;if(n==="style")return e.styles;let t=e.attrs;if(t){let r=t.length,o=0;for(;o<r;){let i=t[o];if(Fh(i))break;if(i===0)o=o+2;else if(typeof i=="number")for(o++;o<r&&typeof t[o]=="string";)o++;else{if(i===n)return t[o+1];o=o+2}}}return null}function Vh(e,n,t){if(t&8||e!==void 0)return e;Ds(n,"NodeInjector")}function Hh(e,n,t,r){if(t&8&&r===void 0&&(r=null),(t&3)===0){let o=e[xe],i=he(void 0);try{return o?o.get(n,r,t&8):tu(n,r,t&8)}finally{he(i)}}return Vh(r,n,t)}function $h(e,n,t,r=0,o){if(e!==null){if(n[M]&2048&&!(r&2)){let s=VE(e,n,t,r,gt);if(s!==gt)return s}let i=Uh(e,n,t,r,gt);if(i!==gt)return i}return Hh(n,t,r,o)}function Uh(e,n,t,r,o){let i=jE(t);if(typeof i=="function"){if(!Su(n,e,r))return r&1?Vh(o,t,r):Hh(n,t,r,o);try{let s;if(s=i(r),s==null&&!(r&8))Ds(t);else return s}finally{Nu()}}else if(typeof i=="number"){let s=null,a=Bh(e,n),c=Rr,u=r&1?n[ye][me]:null;for((a===-1||r&4)&&(c=a===-1?xl(e,n):n[a+8],c===Rr||!Qp(r,!1)?a=-1:(s=n[b],a=zs(c),n=Gs(c,n)));a!==-1;){let l=n[b];if(Yp(i,a,l.data)){let d=LE(a,n,t,s,r,u);if(d!==gt)return d}c=n[a+8],c!==Rr&&Qp(r,n[b].data[a+8]===u)&&Yp(i,a,n)?(s=l,a=zs(c),n=Gs(c,n)):a=-1}}return o}function LE(e,n,t,r,o,i){let s=n[b],a=s.data[e+8],c=r==null?jt(a)&&Wu:r!=s&&(a.type&3)!==0,u=o&1&&i===a,l=Vs(a,s,t,c,u);return l!==null?jo(n,s,l,a,o):gt}function Vs(e,n,t,r,o){let i=e.providerIndexes,s=n.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&&t===h||f>=c&&h.type===t)return f}if(o){let f=s[c];if(f&&nt(f)&&f.type===t)return c}return null}function jo(e,n,t,r,o){let i=e[t],s=n.data;if(i instanceof Qn){let a=i;if(a.resolving)throw eu("");let c=Ws(a.canSeeViewProviders);a.resolving=!0;let u=s[t].type||s[t],l,d=a.injectImpl?he(a.injectImpl):null,p=Su(e,r,0);try{i=e[t]=a.factory(void 0,o,s,e,r),n.firstCreatePass&&t>=r.directiveStart&&_E(t,s[t],n)}finally{d!==null&&he(d),Ws(c),a.resolving=!1,Nu()}}return i}function jE(e){if(typeof e=="string")return e.charCodeAt(0)||0;let n=e.hasOwnProperty(Pn)?e[Pn]:void 0;return typeof n=="number"?n>=0?n&Lh:BE:n}function Yp(e,n,t){let r=1<<e;return!!(t[n+(e>>jh)]&r)}function Qp(e,n){return!(e&2)&&!(e&1&&n)}var Yn=class{_tNode;_lView;constructor(n,t){this._tNode=n,this._lView=t}get(n,t,r){return $h(this._tNode,this._lView,n,On(r),t)}};function BE(){return new Yn(K(),C())}function pn(e){return Wo(()=>{let n=e.prototype.constructor,t=n[lo]||Zu(n),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[lo]||Zu(o);if(i&&i!==t)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Zu(e){return qc(e)?()=>{let n=Zu(re(e));return n&&n()}:tn(e)}function VE(e,n,t,r,o){let i=e,s=n;for(;i!==null&&s!==null&&s[M]&2048&&!Nr(s);){let a=Uh(i,s,t,r|2,gt);if(a!==gt)return a;let c=i.parent;if(!c){let u=s[uu];if(u){let l=u.get(t,gt,r&-5);if(l!==gt)return l}c=zh(s),s=s[jn]}i=c}return o}function zh(e){let n=e[b],t=n.type;return t===2?n.declTNode:t===1?e[me]:null}function Al(e){return PE(K(),e)}function HE(){return Br(K(),C())}function Br(e,n){return new $e(je(e,n))}var $e=(()=>{class e{nativeElement;constructor(t){this.nativeElement=t}static __NG_ELEMENT_ID__=HE}return e})();function Gh(e){return e instanceof $e?e.nativeElement:e}function $E(){return this._results[Symbol.iterator]()}var Zs=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 $}constructor(n=!1){this._emitDistinctChangesOnly=n}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,t){return this._results.reduce(n,t)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,t){this.dirty=!1;let r=cp(n);(this._changesDetected=!ap(this._results,r,t))&&(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(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=$E};function Wh(e){return(e.flags&128)===128}var Rl=(function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e})(Rl||{}),qh=new Map,UE=0;function zE(){return UE++}function GE(e){qh.set(e[Ft],e)}function Yu(e){qh.delete(e[Ft])}var Kp="__ngContext__";function Fr(e,n){Lt(n)?(e[Kp]=n[Ft],GE(n)):e[Kp]=n}function Zh(e){return Qh(e[Mr])}function Yh(e){return Qh(e[Pe])}function Qh(e){for(;e!==null&&!tt(e);)e=e[Pe];return e}var Qu;function Ol(e){Qu=e}function Kh(){if(Qu!==void 0)return Qu;if(typeof document<"u")return document;throw new m(210,!1)}var fa=new I("",{factory:()=>WE}),WE="ng";var pa=new I(""),Zo=new I("",{providedIn:"platform",factory:()=>"unknown"});var Yo=new I("",{factory:()=>g(W).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),ha={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},ga=new I("",{factory:()=>ha});var Jh="r";var Xh="di";var qE=new I(""),eg=!1,tg=new I("",{factory:()=>eg});var Jp=new WeakMap;function ZE(e,n){if(e==null||typeof e!="object")return;let t=Jp.get(e);t||(t=new WeakSet,Jp.set(e,t)),t.add(n)}var YE=(e,n,t,r)=>{};function QE(e,n,t,r){YE(e,n,t,r)}function ma(e){return(e.flags&32)===32}var KE=()=>null;function ng(e,n,t=!1){return KE(e,n,t)}function rg(e,n){let t=e.contentQueries;if(t!==null){let r=w(null);try{for(let o=0;o<t.length;o+=2){let i=t[o],s=t[o+1];if(s!==-1){let a=e.data[s];Mo(i),a.contentQueries(2,n[s],s)}}}finally{w(r)}}}function Ku(e,n,t){Mo(0);let r=w(null);try{n(e,t)}finally{w(r)}}function kl(e,n,t){if(du(n)){let r=w(null);try{let o=n.directiveStart,i=n.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=t[s];a.contentQueries(1,c,s)}}}finally{w(r)}}}var it=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e})(it||{});var ks;function og(){if(ks===void 0&&(ks=null,Fe.trustedTypes))try{ks=Fe.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return ks}function ya(e){return og()?.createHTML(e)||e}function JE(e){return og()?.createScriptURL(e)||e}var Fs;function ig(){if(Fs===void 0&&(Fs=null,Fe.trustedTypes))try{Fs=Fe.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Fs}function Xp(e){return ig()?.createHTML(e)||e}function eh(e){return ig()?.createScriptURL(e)||e}var Bt=class{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ps})`}},Ju=class extends Bt{getTypeName(){return"HTML"}},Xu=class extends Bt{getTypeName(){return"Style"}},el=class extends Bt{getTypeName(){return"Script"}},tl=class extends Bt{getTypeName(){return"URL"}},nl=class extends Bt{getTypeName(){return"ResourceURL"}};function Ie(e){return e instanceof Bt?e.changingThisBreaksApplicationSecurity:e}function mt(e,n){let t=sg(e);if(t!=null&&t!==n){if(t==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${ps})`)}return t===n}function sg(e){return e instanceof Bt&&e.getTypeName()||null}function Fl(e){return new Ju(e)}function Pl(e){return new Xu(e)}function Ll(e){return new el(e)}function jl(e){return new tl(e)}function Bl(e){return new nl(e)}function XE(e){let n=new ol(e);return eC()?new rl(n):n}var rl=class{inertDocumentHelper;constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{let t=new window.DOMParser().parseFromString(ya(n),"text/html").body;return t===null?this.inertDocumentHelper.getInertBodyElement(n):(t.firstChild?.remove(),t)}catch(t){return null}}},ol=class{defaultDoc;inertDocument;constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){let t=this.inertDocument.createElement("template");return t.innerHTML=ya(n),t}};function eC(){try{return!!new window.DOMParser().parseFromString(ya(""),"text/html")}catch(e){return!1}}var tC=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Qo(e){return e=String(e),e.match(tC)?e:"unsafe:"+e}function Vt(e){let n={};for(let t of e.split(","))n[t]=!0;return n}function Ko(...e){let n={};for(let t of e)for(let r in t)t.hasOwnProperty(r)&&(n[r]=!0);return n}var ag=Vt("area,br,col,hr,img,wbr"),cg=Vt("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),ug=Vt("rp,rt"),nC=Ko(ug,cg),rC=Ko(cg,Vt("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")),oC=Ko(ug,Vt("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")),th=Ko(ag,rC,oC,nC),lg=Vt("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),iC=Vt("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"),sC=Vt("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"),aC=Ko(lg,iC,sC),cC=Vt("script,style,template"),il=class{sanitizedSomething=!1;buf=[];sanitizeChildren(n){let t=n.firstChild,r=!0,o=[];for(;t;){if(t.nodeType===Node.ELEMENT_NODE?r=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,r&&t.firstChild){o.push(t),t=dC(t);continue}for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let i=lC(t);if(i){t=i;break}t=o.pop()}}return this.buf.join("")}startElement(n){let t=nh(n).toLowerCase();if(!th.hasOwnProperty(t))return this.sanitizedSomething=!0,!cC.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);let r=n.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!aC.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;lg[a]&&(c=Qo(c)),this.buf.push(" ",s,'="',rh(c),'"')}return this.buf.push(">"),!0}endElement(n){let t=nh(n).toLowerCase();th.hasOwnProperty(t)&&!ag.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(n){this.buf.push(rh(n))}};function uC(e,n){return(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function lC(e){let n=e.nextSibling;if(n&&e!==n.previousSibling)throw dg(n);return n}function dC(e){let n=e.firstChild;if(n&&uC(e,n))throw dg(n);return n}function nh(e){let n=e.nodeName;return typeof n=="string"?n:"FORM"}function dg(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var fC=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,pC=/([^\#-~ |!])/g;function rh(e){return e.replace(/&/g,"&").replace(fC,function(n){let t=n.charCodeAt(0),r=n.charCodeAt(1);return"&#"+((t-55296)*1024+(r-56320)+65536)+";"}).replace(pC,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var Ps;function va(e,n){let t=null;try{Ps=Ps||XE(e);let r=n?String(n):"";t=Ps.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=t.innerHTML,t=Ps.getInertBodyElement(r)}while(r!==i);let a=new il().sanitizeChildren(oh(t)||t);return ya(a)}finally{if(t){let r=oh(t)||t;for(;r.firstChild;)r.firstChild.remove()}}}function oh(e){return"content"in e&&hC(e)?e.content:null}function hC(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var gC=/^>|^->|<!--|-->|--!>|<!-$/g,mC=/(<|>)/g,yC="\u200B$1\u200B";function vC(e){return e.replace(gC,n=>n.replace(mC,yC))}function DC(e,n){return e.createText(n)}function EC(e,n,t){e.setValue(n,t)}function CC(e,n){return e.createComment(vC(n))}function fg(e,n,t){return e.createElement(n,t)}function Ys(e,n,t,r,o){e.insertBefore(n,t,r,o)}function pg(e,n,t){e.appendChild(n,t)}function ih(e,n,t,r,o){r!==null?Ys(e,n,t,r,o):pg(e,n,t)}function hg(e,n,t,r){e.removeChild(null,n,t,r)}function IC(e,n,t){e.setAttribute(n,"style",t)}function wC(e,n,t){t===""?e.removeAttribute(n,"class"):e.setAttribute(n,"class",t)}function gg(e,n,t){let{mergedAttrs:r,classes:o,styles:i}=t;r!==null&&xE(e,n,r),o!==null&&wC(e,n,o),i!==null&&IC(e,n,i)}var we=(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})(we||{});function Da(e){let n=Vl();return n?Xp(n.sanitize(we.HTML,e)||""):mt(e,"HTML")?Xp(Ie(e)):va(Kh(),se(e))}function mg(e){let n=Vl();return n?n.sanitize(we.URL,e)||"":mt(e,"URL")?Ie(e):Qo(se(e))}function yg(e){let n=Vl();if(n)return eh(n.sanitize(we.RESOURCE_URL,e)||"");if(mt(e,"ResourceURL"))return eh(Ie(e));throw new m(904,!1)}function bC(e){return JE(e[0])}var TC={embed:{src:!0},frame:{src:!0},iframe:{src:!0},media:{src:!0},base:{href:!0},link:{href:!0},object:{data:!0,codebase:!0}};function _C(e,n){return TC[e.toLowerCase()]?.[n.toLowerCase()]===!0?yg:mg}function MC(e,n,t){return _C(n,t)(e)}function Vl(){let e=C();return e&&e[et].sanitizer}function SC(e){return e.ownerDocument.defaultView}function vg(e){return e instanceof Function?e():e}function NC(e,n,t){let r=e.length;for(;;){let o=e.indexOf(n,t);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=n.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}t=o+1}}var Dg="ng-template";function xC(e,n,t,r){let o=0;if(r){for(;o<n.length&&typeof n[o]=="string";o+=2)if(n[o]==="class"&&NC(n[o+1].toLowerCase(),t,0)!==-1)return!0}else if(Hl(e))return!1;if(o=n.indexOf(1,o),o>-1){let i;for(;++o<n.length&&typeof(i=n[o])=="string";)if(i.toLowerCase()===t)return!0}return!1}function Hl(e){return e.type===4&&e.value!==Dg}function AC(e,n,t){let r=e.type===4&&!t?Dg:e.value;return n===r}function RC(e,n,t){let r=4,o=e.attrs,i=o!==null?FC(o):0,s=!1;for(let a=0;a<n.length;a++){let c=n[a];if(typeof c=="number"){if(!s&&!rt(r)&&!rt(c))return!1;if(s&&rt(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!AC(e,c,t)||c===""&&n.length===1){if(rt(r))return!1;s=!0}}else if(r&8){if(o===null||!xC(e,o,c,t)){if(rt(r))return!1;s=!0}}else{let u=n[++a],l=OC(c,o,Hl(e),t);if(l===-1){if(rt(r))return!1;s=!0;continue}if(u!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),r&2&&u!==d){if(rt(r))return!1;s=!0}}}}return rt(r)||s}function rt(e){return(e&1)===0}function OC(e,n,t,r){if(n===null)return-1;let o=0;if(r||!t){let i=!1;for(;o<n.length;){let s=n[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=n[++o];for(;typeof a=="string";)a=n[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return PC(n,e)}function Eg(e,n,t=!1){for(let r=0;r<n.length;r++)if(RC(e,n[r],t))return!0;return!1}function kC(e){let n=e.attrs;if(n!=null){let t=n.indexOf(5);if((t&1)===0)return n[t+1]}return null}function FC(e){for(let n=0;n<e.length;n++){let t=e[n];if(Fh(t))return n}return e.length}function PC(e,n){let t=e.indexOf(4);if(t>-1)for(t++;t<e.length;){let r=e[t];if(typeof r=="number")return-1;if(r===n)return t;t++}return-1}function LC(e,n){e:for(let t=0;t<n.length;t++){let r=n[t];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 sh(e,n){return e?":not("+n.trim()+")":n}function jC(e){let n=e[0],t=1,r=2,o="",i=!1;for(;t<e.length;){let s=e[t];if(typeof s=="string")if(r&2){let a=e[++t];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!rt(s)&&(n+=sh(i,o),o=""),r=s,i=i||!rt(r);t++}return o!==""&&(n+=sh(i,o)),n}function BC(e){return e.map(jC).join(",")}function VC(e){let n=[],t=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&n.push(i,e[++r]):o===8&&t.push(i);else{if(!rt(o))break;o=i}r++}return t.length&&n.push(1,...t),n}var J={};function $l(e,n,t,r,o,i,s,a,c,u,l){let d=B+r,p=d+o,f=HC(d,p),h=typeof u=="function"?u():u;return f[b]={type:e,blueprint:f,template:t,queries:null,viewQuery:a,declTNode:n,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 HC(e,n){let t=[];for(let r=0;r<n;r++)t.push(r<e?null:J);return t}function $C(e){let n=e.tView;return n===null||n.incompleteFirstPass?e.tView=$l(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):n}function Ul(e,n,t,r,o,i,s,a,c,u,l){let d=n.blueprint.slice();return d[Xe]=o,d[M]=r|4|128|8|64|1024,(u!==null||e&&e[M]&2048)&&(d[M]|=2048),hu(d),d[oe]=d[jn]=e,d[Q]=t,d[et]=s||e&&e[et],d[j]=a||e&&e[j],d[xe]=c||e&&e[xe]||null,d[me]=i,d[Ft]=zE(),d[Ln]=l,d[uu]=u,d[ye]=n.type==2?e[ye]:d,d}function UC(e,n,t){let r=je(n,e),o=$C(t),i=e[et].rendererFactory,s=zl(e,Ul(e,o,null,Cg(t),r,n,null,i.createRenderer(r,t),null,null,null));return e[n.index]=s}function Cg(e){let n=16;return e.signals?n=4096:e.onPush&&(n=64),n}function Ig(e,n,t,r){if(t===0)return-1;let o=n.length;for(let i=0;i<t;i++)n.push(r),e.blueprint.push(r),e.data.push(null);return o}function zl(e,n){return e[Mr]?e[cu][Pe]=n:e[Mr]=n,e[cu]=n,n}function ee(e=1){wg(U(),C(),Ce()+e,!1)}function wg(e,n,t,r){if(!r)if((n[M]&3)===3){let i=e.preOrderCheckHooks;i!==null&&js(n,i,t)}else{let i=e.preOrderHooks;i!==null&&Bs(n,i,0,t)}ln(t)}var Ea=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(Ea||{});function sl(e,n,t,r){let o=w(null);try{let[i,s,a]=e.inputs[t],c=null;(s&Ea.SignalBased)!==0&&(c=n[i][Y]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(n,r)),e.setInput!==null?e.setInput(n,c,r,t,i):Nh(n,c,i,r)}finally{w(o)}}var st=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(st||{}),zC;function Gl(e,n){return zC(e,n)}var bg=new I("",{factory:()=>!1});var GC=!1,Tg=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";function WC(e){return e[xe].get(bg,GC)}function qC(e,n,t){let r=Bo.get(e);if(r){for(let o of n)r.classList.push(o);for(let o of t)r.cleanupFns.push(o)}else Bo.set(e,{classList:n,cleanupFns:t})}function _g(e){let n=Bo.get(e);if(n){for(let t of n.cleanupFns)t();Bo.delete(e)}Qs.delete(e)}var Bo=new WeakMap,Qs=new WeakMap,al=new WeakMap,ko=new WeakSet;function ZC(e,n){let t=al.get(e);if(!t||t.length===0)return;let r=n.parentNode,o=n.previousSibling;for(let i=t.length-1;i>=0;i--){let s=t[i],a=s.parentNode;s===n?(t.splice(i,1),ko.add(s),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))):(o&&s===o||a&&r&&a!==r)&&(t.splice(i,1),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),s.parentNode?.removeChild(s))}}function YC(e,n){let t=al.get(e);t?t.includes(n)||t.push(n):al.set(e,[n])}function ah(e){let n=e[Pt]??={};return n.enter??=new Map}function QC(e){let n=typeof e=="function"?e():e,t=Array.isArray(n)?n:null;return typeof n=="string"&&(t=n.trim().split(/\s+/).filter(r=>r)),t}function Ks(e){return e.composedPath?e.composedPath()[0]:e.target}function Mg(e,n){let t=Qs.get(n);return t===void 0?!0:n===Ks(e)&&(t.animationName!==void 0&&e.animationName===t.animationName||t.propertyName!==void 0&&(t.propertyName==="all"||e.propertyName===t.propertyName))}function KC(e,n,t){let r=e.get(n.index)??{animateFns:[]};r.animateFns.push(t),e.set(n.index,r)}function Js(e){if(!e)return 0;let n=e.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(e)*n}function Zn(e,n){return e.getPropertyValue(n).split(",").map(r=>r.trim())}function JC(e){let n=Zn(e,"transition-property"),t=Zn(e,"transition-duration"),r=Zn(e,"transition-delay"),o={propertyName:"",duration:0,animationName:void 0};for(let i=0;i<n.length;i++){let s=Js(r[i])+Js(t[i]);s>o.duration&&(o.propertyName=n[i],o.duration=s)}return o}function XC(e){let n=Zn(e,"animation-name"),t=Zn(e,"animation-delay"),r=Zn(e,"animation-duration"),o=Zn(e,"animation-iteration-count"),i={animationName:"",propertyName:void 0,duration:0};for(let s=0;s<n.length;s++){let a=Js(t[s])+Js(r[s]),c=o[s];a>i.duration&&c!=="infinite"&&(i.animationName=n[s],i.duration=a)}return i}function Sg(e,n){return e!==void 0&&e.duration>n.duration}function Ng(e){return(e.animationName!=null||e.propertyName!=null)&&e.duration>0}function eI(e,n){let t=getComputedStyle(e),r=XC(t),o=JC(t),i=r.duration>o.duration?r:o;Sg(n.get(e),i)||Ng(i)&&n.set(e,i)}function tI(e,n,t){if(!t)return;let r=e.getAnimations();return r.length===0?eI(e,n):nI(e,n,r)}function nI(e,n,t){let r={animationName:void 0,propertyName:void 0,duration:0};for(let o of t){let i=o.effect?.getTiming();if(i?.iterations===1/0)continue;let s=typeof i?.duration=="number"?i.duration:0,a=(i?.delay??0)+s,c=o.playbackRate;c!==void 0&&c!==0&&c!==1&&(a/=Math.abs(c));let u,l;o.animationName?l=o.animationName:u=o.transitionProperty,a>=r.duration&&(r={animationName:l,propertyName:u,duration:a})}Sg(n.get(e),r)||Ng(r)&&n.set(e,r)}var Kn=new Set,Ca=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(Ca||{}),yt=new I(""),ch=new Set;function Re(e){ch.has(e)||(ch.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Wl=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=D({token:e,providedIn:"root",factory:()=>new e})}return e})(),xg=[0,1,2,3],Ag=(()=>{class e{ngZone=g(ie);scheduler=g(Rt);errorHandler=g(ke,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){g(yt,{optional:!0})}execute(){let t=this.sequences.size>0;t&&L(k.AfterRenderHooksStart),this.executing=!0;for(let r of xg)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(),t&&L(k.AfterRenderHooksEnd)}register(t){let{view:r}=t;r!==void 0?((r[Vn]??=[]).push(t),Un(r),r[M]|=8192):this.executing?this.deferredRegistrations.add(t):this.addSequence(t)}addSequence(t){this.sequences.add(t),this.scheduler.notify(7)}unregister(t){this.executing&&this.sequences.has(t)?(t.erroredOrDestroyed=!0,t.pipelinedValue=void 0,t.once=!0):(this.sequences.delete(t),this.deferredRegistrations.delete(t))}maybeTrace(t,r){return r?r.run(Ca.AFTER_NEXT_RENDER,t):t()}static \u0275prov=D({token:e,providedIn:"root",factory:()=>new e})}return e})(),Xs=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(n,t,r,o,i,s=null){this.impl=n,this.hooks=t,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 n=this.view?.[Vn];n&&(this.view[Vn]=n.filter(t=>t!==this))}};function rI(e,n){let t=n?.injector??g(X);return Re("NgAfterRender"),Og(e,t,n,!1)}function Rg(e,n){let t=n?.injector??g(X);return Re("NgAfterNextRender"),Og(e,t,n,!0)}function oI(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function Og(e,n,t,r){let o=n.get(Wl);o.impl??=n.get(Ag);let i=n.get(yt,null,{optional:!0}),s=t?.manualCleanup!==!0?n.get(He):null,a=n.get(Ao,null,{optional:!0}),c=new Xs(o.impl,oI(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var Ia=new I("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:g(ge)})});function kg(e,n,t){let r=e.get(Ia);if(Array.isArray(n))for(let o of n)r.queue.add(o),t?.detachedLeaveAnimationFns?.push(o);else r.queue.add(n),t?.detachedLeaveAnimationFns?.push(n);r.scheduler&&r.scheduler(e)}function iI(e,n){let t=e.get(Ia);if(n.detachedLeaveAnimationFns){for(let r of n.detachedLeaveAnimationFns)t.queue.delete(r);n.detachedLeaveAnimationFns=void 0}}function sI(e){let n=e.get(Ia);n.isScheduled||(Rg(()=>{n.isScheduled=!1;for(let t of n.queue)t();n.queue.clear()},{injector:n.injector}),n.isScheduled=!0)}function aI(e){let n=e.get(Ia);n.scheduler=sI,n.scheduler(e)}function Fg(e,n){for(let[t,r]of n)kg(e,r.animateFns)}function uh(e,n,t,r){let o=e?.[Pt]?.enter;n!==null&&o&&o.has(t.index)&&Fg(r,o)}function Ar(e,n,t,r,o,i,s,a){if(o!=null){let c,u=!1;tt(o)?c=o:Lt(o)&&(u=!0,o=o[Xe]);let l=Le(o);e===0&&r!==null?(uh(a,r,i,t),s==null?pg(n,r,l):Ys(n,r,l,s||null,!0)):e===1&&r!==null?(uh(a,r,i,t),Ys(n,r,l,s||null,!0),ZC(i,l)):e===2?(a?.[Pt]?.leave?.has(i.index)&&YC(i,l),ko.delete(l),lh(a,i,t,d=>{if(ko.has(l)){ko.delete(l);return}hg(n,l,u,d)})):e===3&&(ko.delete(l),lh(a,i,t,()=>{n.destroyNode(l)})),c!=null&&vI(n,e,t,c,i,r,s)}}function cI(e,n){Pg(e,n),n[Xe]=null,n[me]=null}function uI(e,n,t,r,o,i){r[Xe]=o,r[me]=n,ba(e,r,t,1,o,i)}function Pg(e,n){n[et].changeDetectionScheduler?.notify(9),ba(e,n,n[j],2,null,null)}function lI(e){let n=e[Mr];if(!n)return ju(e[b],e);for(;n;){let t=null;if(Lt(n))t=n[Mr];else{let r=n[Z];r&&(t=r)}if(!t){for(;n&&!n[Pe]&&n!==e;)Lt(n)&&ju(n[b],n),n=n[oe];n===null&&(n=e),Lt(n)&&ju(n[b],n),t=n&&n[Pe]}n=t}}function ql(e,n){let t=e[Hn],r=t.indexOf(n);t.splice(r,1)}function wa(e,n){if($n(n))return;let t=n[j];t.destroyNode&&ba(e,n,t,3,null,null),lI(n)}function ju(e,n){if($n(n))return;let t=w(null);try{n[M]&=-129,n[M]|=256,n[Ae]&&An(n[Ae]),pI(e,n),fI(e,n),n[b].type===1&&n[j].destroy();let r=n[sn];if(r!==null&&tt(n[oe])){r!==n[oe]&&ql(r,n);let o=n[ht];o!==null&&o.detachView(e)}Yu(n)}finally{w(t)}}function lh(e,n,t,r){let o=e?.[Pt];if(o==null||o.leave==null||!o.leave.has(n.index))return r(!1);e&&Kn.add(e[Ft]),kg(t,()=>{if(o.leave&&o.leave.has(n.index)){let s=o.leave.get(n.index),a=[];if(s){for(let c=0;c<s.animateFns.length;c++){let u=s.animateFns[c],{promise:l}=u();a.push(l)}o.detachedLeaveAnimationFns=void 0}o.running=Promise.allSettled(a),dI(e,r)}else e&&Kn.delete(e[Ft]),r(!1)},o)}function dI(e,n){let t=e[Pt]?.running;if(t){t.then(()=>{e[Pt].running=void 0,Kn.delete(e[Ft]),n(!0)});return}n(!1)}function fI(e,n){let t=e.cleanup,r=n[_r];if(t!==null)for(let s=0;s<t.length-1;s+=2)if(typeof t[s]=="string"){let a=t[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[t[s+1]];t[s].call(a)}r!==null&&(n[_r]=null);let o=n[At];if(o!==null){n[At]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=n[nn];if(i!==null){n[nn]=null;for(let s of i)s.destroy()}}function pI(e,n){let t;if(e!=null&&(t=e.destroyHooks)!=null)for(let r=0;r<t.length;r+=2){let o=n[t[r]];if(!(o instanceof Qn)){let i=t[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];L(k.LifecycleHookStart,a,c);try{c.call(a)}finally{L(k.LifecycleHookEnd,a,c)}}else{L(k.LifecycleHookStart,o,i);try{i.call(o)}finally{L(k.LifecycleHookEnd,o,i)}}}}}function Lg(e,n,t){return hI(e,n.parent,t)}function hI(e,n,t){let r=n;for(;r!==null&&r.type&168;)n=r,r=n.parent;if(r===null)return t[Xe];if(jt(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===it.None||o===it.Emulated)return null}return je(r,t)}function jg(e,n,t){return mI(e,n,t)}function gI(e,n,t){return e.type&40?je(e,t):null}var mI=gI,dh;function Zl(e,n,t,r){let o=Lg(e,r,n),i=n[j],s=r.parent||n[me],a=jg(s,r,n);if(o!=null)if(Array.isArray(t))for(let c=0;c<t.length;c++)ih(i,o,t[c],a,!1);else ih(i,o,t,a,!1);dh!==void 0&&dh(i,r,n,t,o)}function Fo(e,n){if(n!==null){let t=n.type;if(t&3)return je(n,e);if(t&4)return cl(-1,e[n.index]);if(t&8){let r=n.child;if(r!==null)return Fo(e,r);{let o=e[n.index];return tt(o)?cl(-1,o):Le(o)}}else{if(t&128)return Fo(e,n.next);if(t&32)return Gl(n,e)()||Le(e[n.index]);{let r=Bg(e,n);if(r!==null){if(Array.isArray(r))return r[0];let o=rn(e[ye]);return Fo(o,r)}else return Fo(e,n.next)}}}return null}function Bg(e,n){if(n!==null){let r=e[ye][me],o=n.projection;return r.projection[o]}return null}function cl(e,n){let t=Z+e+1;if(t<n.length){let r=n[t],o=r[b].firstChild;if(o!==null)return Fo(r,o)}return n[an]}function Yl(e,n,t,r,o,i,s){for(;t!=null;){let a=r[xe];if(t.type===128){t=t.next;continue}let c=r[t.index],u=t.type;if(s&&n===0&&(c&&Fr(Le(c),r),t.flags|=2),!ma(t))if(u&8)Yl(e,n,t.child,r,o,i,!1),Ar(n,e,a,o,c,t,i,r);else if(u&32){let l=Gl(t,r),d;for(;d=l();)Ar(n,e,a,o,d,t,i,r);Ar(n,e,a,o,c,t,i,r)}else u&16?Vg(e,n,r,t,o,i):Ar(n,e,a,o,c,t,i,r);t=s?t.projectionNext:t.next}}function ba(e,n,t,r,o,i){Yl(t,r,e.firstChild,n,o,i,!1)}function yI(e,n,t){let r=n[j],o=Lg(e,t,n),i=t.parent||n[me],s=jg(i,t,n);Vg(r,0,n,t,o,s)}function Vg(e,n,t,r,o,i){let s=t[ye],c=s[me].projection[r.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];Ar(n,e,t[xe],o,l,r,i,t)}else{let u=c,l=s[oe];Wh(r)&&(u.flags|=128),Yl(e,n,u,l,o,i,!0)}}function vI(e,n,t,r,o,i,s){let a=r[an],c=Le(r);a!==c&&Ar(n,e,t,i,a,o,s);for(let u=Z;u<r.length;u++){let l=r[u];ba(l[b],l,e,n,i,a)}}function DI(e,n,t,r,o){if(n)o?e.addClass(t,r):e.removeClass(t,r);else{let i=r.indexOf("-")===-1?void 0:st.DashCase;o==null?e.removeStyle(t,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=st.Important),e.setStyle(t,r,o,i))}}function Hg(e,n,t,r,o){let i=Ce(),s=r&2;try{ln(-1),s&&n.length>B&&wg(e,n,B,!1);let a=s?k.TemplateUpdateStart:k.TemplateCreateStart;L(a,o,t),t(r,o)}finally{ln(i);let a=s?k.TemplateUpdateEnd:k.TemplateCreateEnd;L(a,o,t)}}function Ta(e,n,t){TI(e,n,t),(t.flags&64)===64&&_I(e,n,t)}function Vr(e,n,t=je){let r=n.localNames;if(r!==null){let o=n.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?t(n,e):e[s];e[o++]=a}}}function EI(e,n,t,r){let i=r.get(tg,eg)||t===it.ShadowDom||t===it.ExperimentalIsolatedShadowDom,s=e.selectRootElement(n,i);if(s.tagName.toLowerCase()==="script")throw new m(905,!1);return CI(s),s}function CI(e){II(e)}var II=()=>null;function wI(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function $g(e,n,t,r,o,i){let s=n[b];if(Kl(e,s,n,t,r)){jt(e)&&bI(n,e.index);return}e.type&3&&(t=wI(t)),Ug(e,n,t,r,o,i)}function Ug(e,n,t,r,o,i){if(e.type&3){let s=je(e,n);r=i!=null?i(r,e.value||"",t):r,o.setProperty(s,t,r)}else e.type&12}function bI(e,n){let t=Be(n,e);t[M]&16||(t[M]|=64)}function TI(e,n,t){let r=t.directiveStart,o=t.directiveEnd;jt(t)&&UC(n,t,e.data[r+t.componentOffset]),e.firstCreatePass||qs(t,n);let i=t.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=jo(n,e,s,t);if(Fr(c,n),i!==null&&xI(n,s-r,c,a,t,i),nt(a)){let u=Be(t.index,n);u[Q]=jo(n,e,s,t)}}}function _I(e,n,t){let r=t.directiveStart,o=t.directiveEnd,i=t.index,s=Np();try{ln(i);for(let a=r;a<o;a++){let c=e.data[a],u=n[a];Ss(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&MI(c,u)}}finally{ln(-1),Ss(s)}}function MI(e,n){e.hostBindings!==null&&e.hostBindings(1,n)}function Ql(e,n){let t=e.directiveRegistry,r=null;if(t)for(let o=0;o<t.length;o++){let i=t[o];Eg(n,i.selectors,!1)&&(r??=[],nt(i)?r.unshift(i):r.push(i))}return r}function SI(e,n,t,r,o,i){let s=je(e,n);NI(n[j],s,i,e.value,t,r,o)}function NI(e,n,t,r,o,i,s){if(i==null)e.removeAttribute(n,o,t);else{let a=s==null?se(i):s(i,r||"",o);e.setAttribute(n,o,a,t)}}function xI(e,n,t,r,o,i){let s=i[n];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],u=s[a+1];sl(r,t,c,u)}}function _a(e,n,t,r,o){let i=B+t,s=n[b],a=o(s,n,e,r,t);n[i]=a,zn(e,!0);let c=e.type===2;return c?(gg(n[j],a,e),(wp()===0||Sr(e))&&Fr(a,n),bp()):Fr(a,n),Rs()&&(!c||!ma(e))&&Zl(s,n,a,e),e}function Ma(e){let n=e;return bu()?Tu():(n=n.parent,zn(n,!1)),n}function AI(e,n){let t=e[xe];if(!t)return;let r;try{r=t.get(dn,null)}catch(o){r=null}r?.(n)}function Kl(e,n,t,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=n.data[u];sl(d,t[u],l,o),a=!0}if(i)for(let c of i){let u=t[c],l=n.data[c];sl(l,u,r,o),a=!0}return a}function RI(e,n){let t=Be(n,e),r=t[b];OI(r,t);let o=t[Xe];o!==null&&t[Ln]===null&&(t[Ln]=ng(o,t[xe])),L(k.ComponentStart);try{Jl(r,t,t[Q])}finally{L(k.ComponentEnd,t[Q])}}function OI(e,n){for(let t=n.length;t<e.blueprint.length;t++)n.push(e.blueprint[t])}function Jl(e,n,t){xs(n);try{let r=e.viewQuery;r!==null&&Ku(1,r,t);let o=e.template;o!==null&&Hg(e,n,o,1,t),e.firstCreatePass&&(e.firstCreatePass=!1),n[ht]?.finishViewCreation(e),e.staticContentQueries&&rg(e,n),e.staticViewQueries&&Ku(2,e.viewQuery,t);let i=e.components;i!==null&&kI(n,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{n[M]&=-5,As()}}function kI(e,n){for(let t=0;t<n.length;t++)RI(e,n[t])}function Jo(e,n,t,r){let o=w(null);try{let i=n.tView,a=e[M]&4096?4096:16,c=Ul(e,i,t,a,null,n,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),u=e[n.index];c[sn]=u;let l=e[ht];return l!==null&&(c[ht]=l.createEmbeddedView(i)),Jl(i,c,t),c}finally{w(o)}}function Pr(e,n){return!n||n.firstChild===null||Wh(e)}function Vo(e,n,t,r,o=!1){for(;t!==null;){if(t.type===128){t=o?t.projectionNext:t.next;continue}let i=n[t.index];i!==null&&r.push(Le(i)),tt(i)&&zg(i,r);let s=t.type;if(s&8)Vo(e,n,t.child,r);else if(s&32){let a=Gl(t,n),c;for(;c=a();)r.push(c)}else if(s&16){let a=Bg(n,t);if(Array.isArray(a))r.push(...a);else{let c=rn(n[ye]);Vo(c[b],c,a,r,!0)}}t=o?t.projectionNext:t.next}return r}function zg(e,n){for(let t=Z;t<e.length;t++){let r=e[t],o=r[b].firstChild;o!==null&&Vo(r[b],r,o,n)}e[an]!==e[Xe]&&n.push(e[an])}function Gg(e){if(e[Vn]!==null){for(let n of e[Vn])n.impl.addSequence(n);e[Vn].length=0}}var Wg=[];function FI(e){return e[Ae]??PI(e)}function PI(e){let n=Wg.pop()??Object.create(jI);return n.lView=e,n}function LI(e){e.lView[Ae]!==e&&(e.lView=null,Wg.push(e))}var jI=H(N({},Kt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Un(e.lView)},consumerOnSignalRead(){this.lView[Ae]=this}});function BI(e){let n=e[Ae]??Object.create(VI);return n.lView=e,n}var VI=H(N({},Kt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let n=rn(e.lView);for(;n&&!qg(n[b]);)n=rn(n);n&&gu(n)},consumerOnSignalRead(){this.lView[Ae]=this}});function qg(e){return e.type!==2}function Zg(e){if(e[nn]===null)return;let n=!0;for(;n;){let t=!1;for(let r of e[nn])r.dirty&&(t=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));n=t&&!!(e[M]&8192)}}var HI=100;function Yg(e,n=0){let r=e[et].rendererFactory,o=!1;o||r.begin?.();try{$I(e,n)}finally{o||r.end?.()}}function $I(e,n){let t=Mu();try{po(!0),ul(e,n);let r=0;for(;wo(e);){if(r===HI)throw new m(103,!1);r++,ul(e,1)}}finally{po(t)}}function UI(e,n,t,r){if($n(n))return;let o=n[M],i=!1,s=!1;xs(n);let a=!0,c=null,u=null;i||(qg(e)?(u=FI(n),c=Xt(u)):rs()===null?(a=!1,u=BI(n),c=Xt(u)):n[Ae]&&(An(n[Ae]),n[Ae]=null));try{hu(n),_p(e.bindingStartIndex),t!==null&&Hg(e,n,t,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&js(n,f,null)}else{let f=e.preOrderHooks;f!==null&&Bs(n,f,0,null),Pu(n,0)}if(s||zI(n),Zg(n),Qg(n,0),e.contentQueries!==null&&rg(e,n),!i)if(l){let f=e.contentCheckHooks;f!==null&&js(n,f)}else{let f=e.contentHooks;f!==null&&Bs(n,f,1),Pu(n,1)}WI(e,n);let d=e.components;d!==null&&Jg(n,d,0);let p=e.viewQuery;if(p!==null&&Ku(2,p,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&js(n,f)}else{let f=e.viewHooks;f!==null&&Bs(n,f,2),Pu(n,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),n[ws]){for(let f of n[ws])f();n[ws]=null}i||(Gg(n),n[M]&=-73)}catch(l){throw i||Un(n),l}finally{u!==null&&(xn(u,c),a&&LI(u)),As()}}function Qg(e,n){for(let t=Zh(e);t!==null;t=Yh(t))for(let r=Z;r<t.length;r++){let o=t[r];Kg(o,n)}}function zI(e){for(let n=Zh(e);n!==null;n=Yh(n)){if(!(n[M]&2))continue;let t=n[Hn];for(let r=0;r<t.length;r++){let o=t[r];gu(o)}}}function GI(e,n,t){L(k.ComponentStart);let r=Be(n,e);try{Kg(r,t)}finally{L(k.ComponentEnd,r[Q])}}function Kg(e,n){Ts(e)&&ul(e,n)}function ul(e,n){let r=e[b],o=e[M],i=e[Ae],s=!!(n===0&&o&16);if(s||=!!(o&64&&n===0),s||=!!(o&1024),s||=!!(i?.dirty&&io(i)),s||=!1,i&&(i.dirty=!1),e[M]&=-9217,s)UI(r,e,r.template,e[Q]);else if(o&8192){let a=w(null);try{Zg(e),Qg(e,1);let c=r.components;c!==null&&Jg(e,c,1),Gg(e)}finally{w(a)}}}function Jg(e,n,t){for(let r=0;r<n.length;r++)GI(e,n[r],t)}function WI(e,n){let t=e.hostBindingOpCodes;if(t!==null)try{for(let r=0;r<t.length;r++){let o=t[r];if(o<0)ln(~o);else{let i=o,s=t[++r],a=t[++r];Sp(s,i);let c=n[i];L(k.HostBindingsUpdateStart,c);try{a(2,c)}finally{L(k.HostBindingsUpdateEnd,c)}}}}finally{ln(-1)}}function Xl(e,n){let t=Mu()?64:1088;for(e[et].changeDetectionScheduler?.notify(n);e;){e[M]|=t;let r=rn(e);if(Nr(e)&&!r)return e;e=r}return null}function Xg(e,n,t,r){return[e,!0,0,n,null,r,null,t,null,null]}function em(e,n){let t=Z+n;if(t<e.length)return e[t]}function Xo(e,n,t,r=!0){let o=n[b];if(qI(o,n,e,t),r){let s=cl(t,e),a=n[j],c=a.parentNode(e[an]);c!==null&&uI(o,e[me],a,n,c,s)}let i=n[Ln];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function tm(e,n){let t=Ho(e,n);return t!==void 0&&wa(t[b],t),t}function Ho(e,n){if(e.length<=Z)return;let t=Z+n,r=e[t];if(r){let o=r[sn];o!==null&&o!==e&&ql(o,r),n>0&&(e[t-1][Pe]=r[Pe]);let i=vo(e,Z+n);cI(r[b],r);let s=i[ht];s!==null&&s.detachView(i[b]),r[oe]=null,r[Pe]=null,r[M]&=-129}return r}function qI(e,n,t,r){let o=Z+r,i=t.length;r>0&&(t[o-1][Pe]=n),r<i-Z?(n[Pe]=t[o],nu(t,Z+r,n)):(t.push(n),n[Pe]=null),n[oe]=t;let s=n[sn];s!==null&&t!==s&&nm(s,n);let a=n[ht];a!==null&&a.insertView(e),_s(n),n[M]|=128}function nm(e,n){let t=e[Hn],r=n[oe];if(Lt(r))e[M]|=2;else{let o=r[oe][ye];n[ye]!==o&&(e[M]|=2)}t===null?e[Hn]=[n]:t.push(n)}var fn=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let n=this._lView,t=n[b];return Vo(t,n,t.firstChild,[])}constructor(n,t){this._lView=n,this._cdRefInjectingView=t}get context(){return this._lView[Q]}set context(n){this._lView[Q]=n}get destroyed(){return $n(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let n=this._lView[oe];if(tt(n)){let t=n[Eo],r=t?t.indexOf(this):-1;r>-1&&(Ho(n,r),vo(t,r))}this._attachedToViewContainer=!1}wa(this._lView[b],this._lView)}onDestroy(n){mu(this._lView,n)}markForCheck(){Xl(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[M]&=-129}reattach(){_s(this._lView),this._lView[M]|=128}detectChanges(){this._lView[M]|=1024,Yg(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new m(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=Nr(this._lView),t=this._lView[sn];t!==null&&!n&&ql(t,this._lView),Pg(this._lView[b],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new m(902,!1);this._appRef=n;let t=Nr(this._lView),r=this._lView[sn];r!==null&&!t&&nm(r,this._lView),_s(this._lView)}};var Lr=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=ZI;constructor(t,r,o){this._declarationLView=t,this._declarationTContainer=r,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,r){return this.createEmbeddedViewImpl(t,r)}createEmbeddedViewImpl(t,r,o){let i=Jo(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:r,dehydratedView:o});return new fn(i)}}return e})();function ZI(){return Sa(K(),C())}function Sa(e,n){return e.type&4?new Lr(n,e,Br(e,n)):null}function nr(e,n,t,r,o){let i=e.data[n];if(i===null)i=YI(e,n,t,r,o),Mp()&&(i.flags|=32);else if(i.type&64){i.type=t,i.value=r,i.attrs=o;let s=Tp();i.injectorIndex=s===null?-1:s.injectorIndex}return zn(i,!0),i}function YI(e,n,t,r,o){let i=wu(),s=bu(),a=s?i:i&&i.parent,c=e.data[n]=KI(e,a,t,n,r,o);return QI(e,c,i,s),c}function QI(e,n,t,r){e.firstChild===null&&(e.firstChild=n),t!==null&&(r?t.child==null&&n.parent!==null&&(t.child=n):t.next===null&&(t.next=n,n.prev=t))}function KI(e,n,t,r,o,i){let s=n?n.injectorIndex:-1,a=0;return Eu()&&(a|=128),{type:t,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:xu(),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:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function JI(e){let n=e[lu]??[],r=e[oe][j],o=[];for(let i of n)i.data[Xh]!==void 0?o.push(i):XI(i,r);e[lu]=o}function XI(e,n){let t=0,r=e.firstChild;if(r){let o=e.data[Jh];for(;t<o;){let i=r.nextSibling;hg(n,r,!1),r=i,t++}}}var ew=()=>null,tw=()=>null;function ea(e,n){return ew(e,n)}function rm(e,n,t){return tw(e,n,t)}var om=class{},Na=class{},ll=class{resolveComponentFactory(n){throw new m(917,!1)}},ei=class{static NULL=new ll},Jn=class{},ti=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>nw()}return e})();function nw(){let e=C(),n=K(),t=Be(n.index,e);return(Lt(t)?t:e)[j]}var im=(()=>{class e{static \u0275prov=D({token:e,providedIn:"root",factory:()=>null})}return e})();var Hs={},dl=class{injector;parentInjector;constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,r){let o=this.injector.get(n,Hs,r);return o!==Hs||t===Hs?o:this.parentInjector.get(n,t,r)}};function ta(e,n,t){let r=t?e.styles:null,o=t?e.classes:null,i=0;if(n!==null)for(let s=0;s<n.length;s++){let a=n[s];if(typeof a=="number")i=a;else if(i==1)o=hs(o,a);else if(i==2){let c=a,u=n[++s];r=hs(r,c+": "+u+";")}}t?e.styles=r:e.stylesWithoutHost=r,t?e.classes=o:e.classesWithoutHost=o}function De(e,n=0){let t=C();if(t===null)return _(e,n);let r=K();return $h(r,t,re(e),n)}function rw(){let e="invalid";throw new Error(e)}function sm(e,n,t,r,o){let i=r===null?null:{"":-1},s=o(e,t);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}sw(e,n,t,a,i,c,u)}i!==null&&r!==null&&ow(t,r,i)}function ow(e,n,t){let r=e.localNames=[];for(let o=0;o<n.length;o+=2){let i=t[n[o+1]];if(i==null)throw new m(-301,!1);r.push(n[o],i)}}function iw(e,n,t){n.componentOffset=t,(e.components??=[]).push(n.index)}function sw(e,n,t,r,o,i,s){let a=r.length,c=null;for(let p=0;p<a;p++){let f=r[p];c===null&&nt(f)&&(c=f,iw(e,t,p)),qu(qs(t,n),e,f.type)}fw(t,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=Ig(e,n,a,null);a>0&&(t.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(t.mergedAttrs=kr(t.mergedAttrs,f.hostAttrs),cw(e,t,n,d,f),dw(d,f,o),s!==null&&s.has(f)){let[v,y]=s.get(f);t.directiveToIndex.set(f.type,[d,v+t.directiveStart,y+t.directiveStart])}else(i===null||!i.has(f))&&t.directiveToIndex.set(f.type,d);f.contentQueries!==null&&(t.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(t.flags|=64);let h=f.type.prototype;!u&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((e.preOrderHooks??=[]).push(t.index),u=!0),!l&&(h.ngOnChanges||h.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(t.index),l=!0),d++}aw(e,t,i)}function aw(e,n,t){for(let r=n.directiveStart;r<n.directiveEnd;r++){let o=e.data[r];if(t===null||!t.has(o))fh(0,n,o,r),fh(1,n,o,r),hh(n,r,!1);else{let i=t.get(o);ph(0,n,i,r),ph(1,n,i,r),hh(n,r,!0)}}}function fh(e,n,t,r){let o=e===0?t.inputs:t.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s;e===0?s=n.inputs??={}:s=n.outputs??={},s[i]??=[],s[i].push(r),am(n,i)}}function ph(e,n,t,r){let o=e===0?t.inputs:t.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],a;e===0?a=n.hostDirectiveInputs??={}:a=n.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),am(n,s)}}function am(e,n){n==="class"?e.flags|=8:n==="style"&&(e.flags|=16)}function hh(e,n,t){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!t&&o===null||t&&i===null||Hl(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(!t&&o.hasOwnProperty(c)){let u=o[c];for(let l of u)if(l===n){s??=[],s.push(c,r[a+1]);break}}else if(t&&i.hasOwnProperty(c)){let u=i[c];for(let l=0;l<u.length;l+=2)if(u[l]===n){s??=[],s.push(u[l+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function cw(e,n,t,r,o){e.data[r]=o;let i=o.factory||(o.factory=tn(o.type,!0)),s=new Qn(i,nt(o),De,null);e.blueprint[r]=s,t[r]=s,uw(e,n,r,Ig(e,t,o.hostVars,J),o)}function uw(e,n,t,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~n.index;lw(s)!=a&&s.push(a),s.push(t,r,i)}}function lw(e){let n=e.length;for(;n>0;){let t=e[--n];if(typeof t=="number"&&t<0)return t}return 0}function dw(e,n,t){if(t){if(n.exportAs)for(let r=0;r<n.exportAs.length;r++)t[n.exportAs[r]]=e;nt(n)&&(t[""]=e)}}function fw(e,n,t){e.flags|=1,e.directiveStart=n,e.directiveEnd=n+t,e.providerIndexes=n}function ed(e,n,t,r,o,i,s,a){let c=n[b],u=c.consts,l=Ve(u,s),d=nr(c,e,t,r,l);return i&&sm(c,n,d,Ve(u,a),o),d.mergedAttrs=kr(d.mergedAttrs,d.attrs),d.attrs!==null&&ta(d,d.attrs,!1),d.mergedAttrs!==null&&ta(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function td(e,n){Oh(e,n),du(n)&&e.queries.elementEnd(n)}function cm(e,n,t,r,o,i){let s=n.consts,a=Ve(s,o),c=nr(n,e,t,r,a);if(c.mergedAttrs=kr(c.mergedAttrs,c.attrs),i!=null){let u=Ve(s,i);c.localNames=[];for(let l=0;l<u.length;l+=2)c.localNames.push(u[l],-1)}return c.attrs!==null&&ta(c,c.attrs,!1),c.mergedAttrs!==null&&ta(c,c.mergedAttrs,!0),n.queries!==null&&n.queries.elementStart(n,c),c}function nd(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function ni(e,n,t){return e[n]=t}function um(e,n){return e[n]}function ve(e,n,t){if(t===J)return!1;let r=e[n];return Object.is(r,t)?!1:(e[n]=t,!0)}function $o(e,n,t,r){let o=ve(e,n,t);return ve(e,n+1,r)||o}function lm(e,n,t,r,o){let i=$o(e,n,t,r);return ve(e,n+2,o)||i}function rd(e,n,t,r,o,i){let s=$o(e,n,t,r);return $o(e,n+2,o,i)||s}function $s(e,n,t){return function r(o){let i=r.__ngNativeEl__;i!==void 0&&ZE(o,i);let s=jt(e)?Be(e.index,n):n;Xl(s,5);let a=n[Q],c=gh(n,a,t,o),u=r.__ngNextListenerFn__;for(;u;)c=gh(n,a,u,o)&&c,u=u.__ngNextListenerFn__;return c}}function gh(e,n,t,r){let o=w(null);try{return L(k.OutputStart,n,t),t(r)!==!1}catch(i){return AI(e,i),!1}finally{L(k.OutputEnd,n,t),w(o)}}function dm(e,n,t,r,o,i,s,a){let c=Sr(e),u=!1,l=null;if(!r&&c&&(l=hw(n,t,i,e.index)),l!==null){let d=l.__ngLastListenerFn__||l;d.__ngNextListenerFn__=s,l.__ngLastListenerFn__=s,u=!0}else{let d=je(e,t),p=r?r(d):d;QE(t,p,i,a),r||(a.__ngNativeEl__=d);let f=o.listen(p,i,a);if(!pw(i)){let h=r?v=>r(Le(v[e.index])):e.index;fm(h,n,t,i,a,f,!1)}}return u}function pw(e){return e.startsWith("animation")||e.startsWith("transition")}function hw(e,n,t,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===t&&o[i+1]===r){let a=n[_r],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function fm(e,n,t,r,o,i,s){let a=n.firstCreatePass?vu(n):null,c=yu(t),u=c.length;c.push(o,i),a&&a.push(r,e,u,(u+1)*(s?-1:1))}function mh(e,n,t,r,o,i){let s=n[t],a=n[b],u=a.data[t].outputs[r],d=s[u].subscribe(i);fm(e.index,a,n,o,i,d,!0)}var fl=Symbol("BINDING");function pm(e){return e.debugInfo?.className||e.type.name||null}var na=class extends ei{ngModule;constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){let t=kt(n);return new Xn(t,this.ngModule)}};function gw(e){return Object.keys(e).map(n=>{let[t,r,o]=e[n],i={propName:t,templateName:n,isSignal:(r&Ea.SignalBased)!==0};return o&&(i.transform=o),i})}function mw(e){return Object.keys(e).map(n=>({propName:e[n],templateName:n}))}function yw(e,n,t){let r=n instanceof ge?n:n?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new dl(t,r):t}function vw(e){let n=e.get(Jn,null);if(n===null)throw new m(407,!1);let t=e.get(im,null),r=e.get(Rt,null),o=e.get(yt,null,{optional:!0});return{rendererFactory:n,sanitizer:t,changeDetectionScheduler:r,ngReflect:!1,tracingService:o}}function Dw(e,n){let t=hm(e);return fg(n,t,t==="svg"?fu:t==="math"?yp:null)}function hm(e){return(e.selectors[0][0]||"div").toLowerCase()}var Xn=class extends Na{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=gw(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=mw(this.componentDef.outputs),this.cachedOutputs}constructor(n,t){super(),this.componentDef=n,this.ngModule=t,this.componentType=n.type,this.selector=BC(n.selectors),this.ngContentSelectors=n.ngContentSelectors??[],this.isBoundToModule=!!t}create(n,t,r,o,i,s){L(k.DynamicComponentStart);let a=w(null);try{let c=this.componentDef,u=yw(c,o||this.ngModule,n),l=vw(u),d=l.tracingService;return d&&d.componentCreate?d.componentCreate(pm(c),()=>this.createComponentRef(l,u,t,r,i,s)):this.createComponentRef(l,u,t,r,i,s)}finally{w(a)}}createComponentRef(n,t,r,o,i,s){let a=this.componentDef,c=Ew(o,a,s,i),u=n.rendererFactory.createRenderer(null,a),l=o?EI(u,o,a.encapsulation,t):Dw(a,u),d=s?.some(yh)||i?.some(h=>typeof h!="function"&&h.bindings.some(yh)),p=Ul(null,c,null,512|Cg(a),null,null,n,u,t,null,ng(l,t,!0));p[B]=l,xs(p);let f=null;try{let h=ed(B,p,2,"#host",()=>c.directiveRegistry,!0,0);gg(u,l,h),Fr(l,p),Ta(c,p,h),kl(c,h,p),td(c,h),r!==void 0&&Iw(h,this.ngContentSelectors,r),f=Be(h.index,p),p[Q]=f[Q],Jl(c,p,null)}catch(h){throw f!==null&&Yu(f),Yu(p),h}finally{L(k.DynamicComponentEnd),As()}return new ra(this.componentType,p,!!d)}};function Ew(e,n,t,r){let o=e?["ng-version","21.2.15"]:VC(n.selectors[0]),i=null,s=null,a=0;if(t)for(let l of t)a+=l[fl].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[fl].requiredVars;let f=l+1;p.create&&(p.targetIdx=f,(i??=[]).push(p)),p.update&&(p.targetIdx=f,(s??=[]).push(p))}}let c=[n];if(r)for(let l of r){let d=typeof l=="function"?l:l.type,p=ys(d);c.push(p)}return $l(0,null,Cw(i,s),1,a,c,null,null,null,[o],null)}function Cw(e,n){return!e&&!n?null:t=>{if(t&1&&e)for(let r of e)r.create();if(t&2&&n)for(let r of n)r.update()}}function yh(e){let n=e[fl].kind;return n==="input"||n==="twoWay"}var ra=class extends om{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(n,t,r){super(),this._rootLView=t,this._hasInputBindings=r,this._tNode=bs(t[b],B),this.location=Br(this._tNode,t),this.instance=Be(this._tNode.index,t)[Q],this.hostView=this.changeDetectorRef=new fn(t,void 0),this.componentType=n}setInput(n,t){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),t))return;let o=this._rootLView,i=Kl(r,o[b],o,n,t);this.previousInputValues.set(n,t);let s=Be(r.index,o);Xl(s,1)}get injector(){return new Yn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}};function Iw(e,n,t){let r=e.projection=[];for(let o=0;o<n.length;o++){let i=t[o];r.push(i!=null&&i.length?Array.from(i):null)}}var Hr=(()=>{class e{static __NG_ELEMENT_ID__=ww}return e})();function ww(){let e=K();return gm(e,C())}var pl=class e extends Hr{_lContainer;_hostTNode;_hostLView;constructor(n,t,r){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=r}get element(){return Br(this._hostTNode,this._hostLView)}get injector(){return new Yn(this._hostTNode,this._hostLView)}get parentInjector(){let n=xl(this._hostTNode,this._hostLView);if(Ph(n)){let t=Gs(n,this._hostLView),r=zs(n),o=t[b].data[r+8];return new Yn(o,t)}else return new Yn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let t=vh(this._lContainer);return t!==null&&t[n]||null}get length(){return this._lContainer.length-Z}createEmbeddedView(n,t,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=ea(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(t||{},i,s);return this.insertImpl(a,o,Pr(this._hostTNode,s)),a}createComponent(n,t,r,o,i,s,a){let c=n&&!IE(n),u;if(c)u=t;else{let y=t||{};u=y.index,r=y.injector,o=y.projectableNodes,i=y.environmentInjector||y.ngModuleRef,s=y.directives,a=y.bindings}let l=c?n:new Xn(kt(n)),d=r||this.parentInjector;if(!i&&l.ngModule==null){let E=(c?d:this.parentInjector).get(ge,null);E&&(i=E)}let p=kt(l.componentType??{}),f=ea(this._lContainer,p?.id??null),h=f?.firstChild??null,v=l.create(d,o,h,i,s,a);return this.insertImpl(v.hostView,u,Pr(this._hostTNode,f)),v}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,r){let o=n._lView;if(Dp(o)){let a=this.indexOf(n);if(a!==-1)this.detach(a);else{let c=o[oe],u=new e(c,c[me],c[oe]);u.detach(u.indexOf(n))}}let i=this._adjustIndex(t),s=this._lContainer;return Xo(s,o,i,r),n.attachToViewContainerRef(),nu(Bu(s),i,n),n}move(n,t){return this.insert(n,t)}indexOf(n){let t=vh(this._lContainer);return t!==null?t.indexOf(n):-1}remove(n){let t=this._adjustIndex(n,-1),r=Ho(this._lContainer,t);r&&(vo(Bu(this._lContainer),t),wa(r[b],r))}detach(n){let t=this._adjustIndex(n,-1),r=Ho(this._lContainer,t);return r&&vo(Bu(this._lContainer),t)!=null?new fn(r):null}_adjustIndex(n,t=0){return n??this.length+t}};function vh(e){return e[Eo]}function Bu(e){return e[Eo]||(e[Eo]=[])}function gm(e,n){let t,r=n[e.index];return tt(r)?t=r:(t=Xg(r,n,null,e),n[e.index]=t,zl(n,t)),Tw(t,n,e,r),new pl(t,e,n)}function bw(e,n){let t=e[j],r=t.createComment(""),o=je(n,e),i=t.parentNode(o);return Ys(t,i,r,t.nextSibling(o),!1),r}var Tw=Sw,_w=()=>!1;function Mw(e,n,t){return _w(e,n,t)}function Sw(e,n,t,r){if(e[an])return;let o;t.type&8?o=Le(r):o=bw(n,t),e[an]=o}var hl=class e{queryList;matches=null;constructor(n){this.queryList=n}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},gl=class e{queries;constructor(n=[]){this.queries=n}createEmbeddedView(n){let t=n.queries;if(t!==null){let r=n.contentQueries!==null?n.contentQueries[0]:t.length,o=[];for(let i=0;i<r;i++){let s=t.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new e(o)}return null}insertView(n){this.dirtyQueriesWithMatches(n)}detachView(n){this.dirtyQueriesWithMatches(n)}finishViewCreation(n){this.dirtyQueriesWithMatches(n)}dirtyQueriesWithMatches(n){for(let t=0;t<this.queries.length;t++)id(n,t).matches!==null&&this.queries[t].setDirty()}},oa=class{flags;read;predicate;constructor(n,t,r=null){this.flags=t,this.read=r,typeof n=="string"?this.predicate=kw(n):this.predicate=n}},ml=class e{queries;constructor(n=[]){this.queries=n}elementStart(n,t){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(n,t)}elementEnd(n){for(let t=0;t<this.queries.length;t++)this.queries[t].elementEnd(n)}embeddedTView(n){let t=null;for(let r=0;r<this.length;r++){let o=t!==null?t.length:0,i=this.getByIndex(r).embeddedTView(n,o);i&&(i.indexInDeclarationView=r,t!==null?t.push(i):t=[i])}return t!==null?new e(t):null}template(n,t){for(let r=0;r<this.queries.length;r++)this.queries[r].template(n,t)}getByIndex(n){return this.queries[n]}get length(){return this.queries.length}track(n){this.queries.push(n)}},yl=class e{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(n,t=-1){this.metadata=n,this._declarationNodeIndex=t}elementStart(n,t){this.isApplyingToNode(t)&&this.matchTNode(n,t)}elementEnd(n){this._declarationNodeIndex===n.index&&(this._appliesToNextNode=!1)}template(n,t){this.elementStart(n,t)}embeddedTView(n,t){return this.isApplyingToNode(n)?(this.crossesNgTemplate=!0,this.addMatch(-n.index,t),new e(this.metadata)):null}isApplyingToNode(n){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let t=this._declarationNodeIndex,r=n.parent;for(;r!==null&&r.type&8&&r.index!==t;)r=r.parent;return t===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(n,t){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(n,t,Nw(t,i)),this.matchTNodeWithReadOption(n,t,Vs(t,n,i,!1,!1))}else r===Lr?t.type&4&&this.matchTNodeWithReadOption(n,t,-1):this.matchTNodeWithReadOption(n,t,Vs(t,n,r,!1,!1))}matchTNodeWithReadOption(n,t,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===$e||o===Hr||o===Lr&&t.type&4)this.addMatch(t.index,-2);else{let i=Vs(t,n,o,!1,!1);i!==null&&this.addMatch(t.index,i)}else this.addMatch(t.index,r)}}addMatch(n,t){this.matches===null?this.matches=[n,t]:this.matches.push(n,t)}};function Nw(e,n){let t=e.localNames;if(t!==null){for(let r=0;r<t.length;r+=2)if(t[r]===n)return t[r+1]}return null}function xw(e,n){return e.type&11?Br(e,n):e.type&4?Sa(e,n):null}function Aw(e,n,t,r){return t===-1?xw(n,e):t===-2?Rw(e,n,r):jo(e,e[b],t,n)}function Rw(e,n,t){if(t===$e)return Br(n,e);if(t===Lr)return Sa(n,e);if(t===Hr)return gm(n,e)}function mm(e,n,t,r){let o=n[ht].queries[r];if(o.matches===null){let i=e.data,s=t.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(Aw(n,l,s[c+1],t.metadata.read))}}o.matches=a}return o.matches}function vl(e,n,t,r){let o=e.queries.getByIndex(t),i=o.matches;if(i!==null){let s=mm(e,n,o,t);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=n[-c];for(let d=Z;d<l.length;d++){let p=l[d];p[sn]===p[oe]&&vl(p[b],p,u,r)}if(l[Hn]!==null){let d=l[Hn];for(let p=0;p<d.length;p++){let f=d[p];vl(f[b],f,u,r)}}}}}return r}function od(e,n){return e[ht].queries[n].queryList}function ym(e,n,t){let r=new Zs((t&4)===4);return Ip(e,n,r,r.destroy),(n[ht]??=new gl).queries.push(new hl(r))-1}function vm(e,n,t){let r=U();return r.firstCreatePass&&(Dm(r,new oa(e,n,t),-1),(n&2)===2&&(r.staticViewQueries=!0)),ym(r,C(),n)}function Ow(e,n,t,r){let o=U();if(o.firstCreatePass){let i=K();Dm(o,new oa(n,t,r),i.index),Fw(o,e),(t&2)===2&&(o.staticContentQueries=!0)}return ym(o,C(),t)}function kw(e){return e.split(",").map(n=>n.trim())}function Dm(e,n,t){e.queries===null&&(e.queries=new ml),e.queries.track(new yl(n,t))}function Fw(e,n){let t=e.contentQueries||(e.contentQueries=[]),r=t.length?t[t.length-1]:-1;n!==r&&t.push(e.queries.length-1,n)}function id(e,n){return e.queries.getByIndex(n)}function Em(e,n){let t=e[b],r=id(t,n);return r.crossesNgTemplate?vl(t,e,n,[]):mm(t,e,r,n)}function Cm(e,n,t){let r,o=co(()=>{r._dirtyCounter();let i=Lw(r,e);if(n&&i===void 0)throw new m(-951,!1);return i});return r=o[Y],r._dirtyCounter=qn(0),r._flatValue=void 0,o}function Im(e){return Cm(!0,!1,e)}function wm(e){return Cm(!0,!0,e)}function Pw(e,n){let t=e[Y];t._lView=C(),t._queryIndex=n,t._queryList=od(t._lView,n),t._queryList.onDirty(()=>t._dirtyCounter.update(r=>r+1))}function Lw(e,n){let t=e._lView,r=e._queryIndex;if(t===void 0||r===void 0||t[M]&4)return n?void 0:ue;let o=od(t,r),i=Em(t,r);return o.reset(i,Gh),n?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}var er=class{},bm=class{};var ia=class extends er{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new na(this);constructor(n,t,r,o=!0){super(),this.ngModuleType=n,this._parent=t;let i=Xc(n);this._bootstrapComponents=vg(i.bootstrap),this._r3Injector=Au(n,t,[{provide:er,useValue:this},{provide:ei,useValue:this.componentFactoryResolver},...r],mo(n),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}},sa=class extends bm{moduleType;constructor(n){super(),this.moduleType=n}create(n){return new ia(this.moduleType,n,[])}};var Uo=class extends er{injector;componentFactoryResolver=new na(this);instance=null;constructor(n){super();let t=new Fn([...n.providers,{provide:er,useValue:this},{provide:ei,useValue:this.componentFactoryResolver}],n.parent||br(),n.debugName,new Set(["environment"]));this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}};function Tm(e,n,t=null){return new Uo({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}var jw=(()=>{class e{_injector;cachedInjectors=new Map;constructor(t){this._injector=t}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){let r=iu(!1,t.type),o=r.length>0?Tm([r],this._injector,""):null;this.cachedInjectors.set(t,o)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(let t of this.cachedInjectors.values())t!==null&&t.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=D({token:e,providedIn:"environment",factory:()=>new e(_(ge))})}return e})();function xa(e){return Wo(()=>{let n=_m(e),t=H(N({},n),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Rl.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:n.standalone?o=>o.get(jw).getOrCreateStandaloneInjector(t):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||it.Emulated,styles:e.styles||ue,_:null,schemas:e.schemas||null,tView:null,id:""});n.standalone&&Re("NgStandalone"),Mm(t);let r=e.dependencies;return t.directiveDefs=Dh(r,Bw),t.pipeDefs=Dh(r,rp),t.id=$w(t),t})}function Bw(e){return kt(e)||ys(e)}function hn(e){return Wo(()=>({type:e.type,bootstrap:e.bootstrap||ue,declarations:e.declarations||ue,imports:e.imports||ue,exports:e.exports||ue,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Vw(e,n){if(e==null)return Je;let t={};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=Ea.None,c=null),t[i]=[r,a,c],n[i]=s}return t}function Hw(e){if(e==null)return Je;let n={};for(let t in e)e.hasOwnProperty(t)&&(n[e[t]]=t);return n}function gn(e){return Wo(()=>{let n=_m(e);return Mm(n),n})}function vt(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 _m(e){let n={};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:n,inputConfig:e.inputs||Je,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||ue,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,inputs:Vw(e.inputs,n),outputs:Hw(e.outputs),debugInfo:null}}function Mm(e){e.features?.forEach(n=>n(e))}function Dh(e,n){return e?()=>{let t=typeof e=="function"?e():e,r=[];for(let o of t){let i=n(o);i!==null&&r.push(i)}return r}:null}function $w(e){let n=0,t=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,t,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("|"))n=Math.imul(31,n)+i.charCodeAt(0)<<0;return n+=2147483648,"c"+n}function Uw(e){let n=t=>{let r=Array.isArray(e);t.hostDirectives===null?(t.resolveHostDirectives=zw,t.hostDirectives=r?e.map(Dl):[e]):r?t.hostDirectives.unshift(...e.map(Dl)):t.hostDirectives.unshift(e)};return n.ngInherit=!0,n}function zw(e){let n=[],t=!1,r=null,o=null;for(let i=0;i<e.length;i++){let s=e[i];if(s.hostDirectives!==null){let a=n.length;r??=new Map,o??=new Map,Sm(s,n,r),o.set(s,[a,n.length-1])}i===0&&nt(s)&&(t=!0,n.push(s))}for(let i=t?1:0;i<e.length;i++)n.push(e[i]);return[n,r,o]}function Sm(e,n,t){if(e.hostDirectives!==null)for(let r of e.hostDirectives)if(typeof r=="function"){let o=r();for(let i of o)Eh(Dl(i),n,t)}else Eh(r,n,t)}function Eh(e,n,t){let r=ys(e.directive);Gw(r.declaredInputs,e.inputs),Sm(r,n,t),t.set(r,e),n.push(r)}function Dl(e){return typeof e=="function"?{directive:re(e),inputs:Je,outputs:Je}:{directive:re(e.directive),inputs:Ch(e.inputs),outputs:Ch(e.outputs)}}function Ch(e){if(e===void 0||e.length===0)return Je;let n={};for(let t=0;t<e.length;t+=2)n[e[t]]=e[t+1];return n}function Gw(e,n){for(let t in n)if(n.hasOwnProperty(t)){let r=n[t],o=e[t];e[r]=o}}function Ww(e){return Object.getPrototypeOf(e.prototype).constructor}function Aa(e){let n=Ww(e.type),t=!0,r=[e];for(;n;){let o;if(nt(e))o=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new m(903,!1);o=n.\u0275dir}if(o){if(t){r.push(o);let s=e;s.inputs=Vu(e.inputs),s.declaredInputs=Vu(e.declaredInputs),s.outputs=Vu(e.outputs);let a=o.hostBindings;a&&Kw(e,a);let c=o.viewQuery,u=o.contentQueries;if(c&&Yw(e,c),u&&Qw(e,u),qw(e,o),np(e.outputs,o.outputs),nt(o)&&o.data.animation){let l=e.data;l.animation=(l.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s<i.length;s++){let a=i[s];a&&a.ngInherit&&a(e),a===Aa&&(t=!1)}}n=Object.getPrototypeOf(n)}Zw(r)}function qw(e,n){for(let t in n.inputs){if(!n.inputs.hasOwnProperty(t)||e.inputs.hasOwnProperty(t))continue;let r=n.inputs[t];r!==void 0&&(e.inputs[t]=r,e.declaredInputs[t]=n.declaredInputs[t])}}function Zw(e){let n=0,t=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=n+=o.hostVars,o.hostAttrs=kr(o.hostAttrs,t=kr(t,o.hostAttrs))}}function Vu(e){return e===Je?{}:e===ue?[]:e}function Yw(e,n){let t=e.viewQuery;t?e.viewQuery=(r,o)=>{n(r,o),t(r,o)}:e.viewQuery=n}function Qw(e,n){let t=e.contentQueries;t?e.contentQueries=(r,o,i)=>{n(r,o,i),t(r,o,i)}:e.contentQueries=n}function Kw(e,n){let t=e.hostBindings;t?e.hostBindings=(r,o)=>{n(r,o),t(r,o)}:e.hostBindings=n}function Nm(e,n,t,r,o,i,s,a){if(t.firstCreatePass){e.mergedAttrs=kr(e.mergedAttrs,e.attrs);let l=e.tView=$l(2,e,o,i,s,t.directiveRegistry,t.pipeRegistry,null,t.schemas,t.consts,null);t.queries!==null&&(t.queries.template(t,e),l.queries=t.queries.embeddedTView(e))}a&&(e.flags|=a),zn(e,!1);let c=Xw(t,n,e,r);Rs()&&Zl(t,n,c,e),Fr(c,n);let u=Xg(c,n,c,e);n[r+B]=u,zl(n,u),Mw(u,e,n)}function Jw(e,n,t,r,o,i,s,a,c,u,l){let d=t+B,p;return n.firstCreatePass?(p=nr(n,d,4,s||null,a||null),Ms()&&sm(n,e,p,Ve(n.consts,u),Ql),Oh(n,p)):p=n.data[d],Nm(p,e,n,t,r,o,i,c),Sr(p)&&Ta(n,e,p),u!=null&&Vr(e,p,l),p}function zo(e,n,t,r,o,i,s,a,c,u,l){let d=t+B,p;if(n.firstCreatePass){if(p=nr(n,d,4,s||null,a||null),u!=null){let f=Ve(n.consts,u);p.localNames=[];for(let h=0;h<f.length;h+=2)p.localNames.push(f[h],-1)}}else p=n.data[d];return Nm(p,e,n,t,r,o,i,c),u!=null&&Vr(e,p,l),p}function xm(e,n,t,r,o,i,s,a){let c=C(),u=U(),l=Ve(u.consts,i);return Jw(c,u,e,n,t,r,o,l,void 0,s,a),xm}var Xw=eb;function eb(e,n,t,r){return No(!0),n[j].createComment("")}var Am=(()=>{class e{log(t){console.log(t)}warn(t){console.warn(t)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function sd(e){return typeof e=="function"&&e[Y]!==void 0}function ad(e){return sd(e)&&typeof e.set=="function"}var cd=new I("");function Ra(e){return!!e&&typeof e.then=="function"}function ud(e){return!!e&&typeof e.subscribe=="function"}var Rm=new I("");var ld=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((t,r)=>{this.resolve=t,this.reject=r});appInits=g(Rm,{optional:!0})??[];injector=g(X);constructor(){}runInitializers(){if(this.initialized)return;let t=[];for(let o of this.appInits){let i=Tr(this.injector,o);if(Ra(i))t.push(i);else if(ud(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});t.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{r()}).catch(o=>{this.reject(o)}),t.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Om=new I("");function km(){Nc(()=>{let e="";throw new m(600,e)})}function Fm(e){return e.isBoundToModule}var tb=10;var mn=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=g(dn);afterRenderManager=g(Wl);zonelessEnabled=g(Ro);rootEffectScheduler=g(Os);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new $;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=g(Wn);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(ae(t=>!t))}constructor(){g(yt,{optional:!0})}whenStable(){let t;return new Promise(r=>{t=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{t.unsubscribe()})}_injector=g(ge);_rendererFactory=null;get injector(){return this._injector}bootstrap(t,r){return this.bootstrapImpl(t,r)}bootstrapImpl(t,r,o=X.NULL){return this._injector.get(ie).run(()=>{L(k.BootstrapComponentStart);let s=t instanceof Na;if(!this._injector.get(ld).done){let h="";throw new m(405,h)}let c;s?c=t:c=this._injector.get(ei).resolveComponentFactory(t),this.componentTypes.push(c.componentType);let u=Fm(c)?void 0:this._injector.get(er),l=r||c.selector,d=c.create(o,[],l,u),p=d.location.nativeElement,f=d.injector.get(cd,null);return f?.registerApplication(p),d.onDestroy(()=>{this.detachView(d.hostView),Po(this.components,d),f?.unregisterApplication(p)}),this._loadComponent(d),L(k.BootstrapComponentEnd,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){L(k.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(Ca.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw L(k.ChangeDetectionEnd),new m(101,!1);let t=w(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,w(t),this.afterTick.next(),L(k.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Jn,null,{optional:!0}));let t=0;for(;this.dirtyFlags!==0&&t++<tb;){L(k.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{L(k.ChangeDetectionSyncEnd)}}}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let t=!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&&!wo(o))continue;let i=r&&!this.zonelessEnabled?0:1;Yg(o,i),t=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}t||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:t})=>wo(t))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(t){let r=t;this._views.push(r),r.attachToAppRef(this)}detachView(t){let r=t;Po(this._views,r),r.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(t),this._injector.get(Om,[]).forEach(o=>o(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>Po(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new m(406,!1);let t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Po(e,n){let t=e.indexOf(n);t>-1&&e.splice(t,1)}function rr(e,n,t,r){let o=C(),i=un();if(ve(o,i,n)){let s=U(),a=So();SI(a,o,e,n,t,r)}return rr}function Or(e){if(Re("NgAnimateEnter"),!Tg)return Or;let n=C();if(WC(n))return Or;let t=K(),r=n[xe].get(ie);return KC(ah(n),t,()=>nb(n,t,e,r)),aI(n[xe]),Fg(n[xe],ah(n)),Or}function nb(e,n,t,r){let o=je(n,e),i=e[j],s=QC(t),a=[],c=!1,u=d=>{if(Ks(d)!==o)return;let p=d instanceof AnimationEvent?"animationend":"transitionend";r.runOutsideAngular(()=>{i.listen(o,p,l)})},l=d=>{Ks(d)===o&&(Mg(d,o)&&(c=!0),rb(d,o,i))};if(s&&s.length>0){r.runOutsideAngular(()=>{a.push(i.listen(o,"animationstart",u)),a.push(i.listen(o,"transitionstart",u))}),qC(o,s,a);for(let d of s)i.addClass(o,d);r.runOutsideAngular(()=>{requestAnimationFrame(()=>{if(!c&&(tI(o,Qs,Tg),!Qs.has(o))){for(let d of s)i.removeClass(o,d);_g(o)}})})}}function rb(e,n,t){let r=Bo.get(n);if(!(Ks(e)!==n||!r)&&Mg(e,n)){e.stopPropagation();for(let o of r.classList)t.removeClass(n,o);_g(n)}}var El=class{destroy(n){}updateValue(n,t){}swap(n,t){let r=Math.min(n,t),o=Math.max(n,t),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(n,t){this.attach(t,this.detach(n))}};function Hu(e,n,t,r,o){return e===t&&Object.is(n,r)?1:Object.is(o(e,n),o(t,r))?-1:0}function ob(e,n,t,r){let o,i,s=0,a=e.length-1,c=void 0;if(Array.isArray(n)){w(r);let u=n.length-1;for(w(null);s<=a&&s<=u;){let l=e.at(s),d=n[s],p=Hu(s,l,s,d,t);if(p!==0){p<0&&e.updateValue(s,d),s++;continue}let f=e.at(a),h=n[u],v=Hu(a,f,u,h,t);if(v!==0){v<0&&e.updateValue(a,h),a--,u--;continue}let y=t(s,l),E=t(a,f),F=t(s,d);if(Object.is(F,E)){let fe=t(u,h);Object.is(fe,y)?(e.swap(s,a),e.updateValue(a,h),u--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(o??=new aa,i??=wh(e,s,a,t),Cl(e,o,s,F))e.updateValue(s,d),s++,a++;else if(i.has(F))o.set(y,e.detach(s)),a--;else{let fe=e.create(s,n[s]);e.attach(s,fe),s++,a++}}for(;s<=u;)Ih(e,o,t,s,n[s]),s++}else if(n!=null){w(r);let u=n[Symbol.iterator]();w(null);let l=u.next();for(;!l.done&&s<=a;){let d=e.at(s),p=l.value,f=Hu(s,d,s,p,t);if(f!==0)f<0&&e.updateValue(s,p),s++,l=u.next();else{o??=new aa,i??=wh(e,s,a,t);let h=t(s,p);if(Cl(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 v=t(s,d);o.set(v,e.detach(s)),a--}}}for(;!l.done;)Ih(e,o,t,e.length,l.value),l=u.next()}for(;s<=a;)e.destroy(e.detach(a--));o?.forEach(u=>{e.destroy(u)})}function Cl(e,n,t,r){return n!==void 0&&n.has(r)?(e.attach(t,n.get(r)),n.delete(r),!0):!1}function Ih(e,n,t,r,o){if(Cl(e,n,r,t(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function wh(e,n,t,r){let o=new Set;for(let i=n;i<=t;i++)o.add(r(i,e.at(i)));return o}var aa=class{kvMap=new Map;_vMap=void 0;has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;let t=this.kvMap.get(n);return this._vMap!==void 0&&this._vMap.has(t)?(this.kvMap.set(n,this._vMap.get(t)),this._vMap.delete(t)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,t){if(this.kvMap.has(n)){let r=this.kvMap.get(n);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,t)}else this.kvMap.set(n,t)}forEach(n){for(let[t,r]of this.kvMap)if(n(r,t),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),n(r,t)}}};function be(e,n,t,r,o,i,s,a){Re("NgControlFlow");let c=C(),u=U(),l=Ve(u.consts,i);return zo(c,u,e,n,t,r,o,l,256,s,a),dd}function dd(e,n,t,r,o,i,s,a){Re("NgControlFlow");let c=C(),u=U(),l=Ve(u.consts,i);return zo(c,u,e,n,t,r,o,l,512,s,a),dd}function Te(e,n){Re("NgControlFlow");let t=C(),r=un(),o=t[r]!==J?t[r]:-1,i=o!==-1?ca(t,B+o):void 0,s=0;if(ve(t,r,e)){let a=w(null);try{if(i!==void 0&&tm(i,s),e!==-1){let c=B+e,u=ca(t,c),l=Tl(t[b],c),d=rm(u,l,t),p=Jo(t,l,n,{dehydratedView:d});Xo(u,p,s,Pr(l,d))}}finally{w(a)}}else if(i!==void 0){let a=em(i,s);a!==void 0&&(a[Q]=n)}}var Il=class{lContainer;$implicit;$index;constructor(n,t,r){this.lContainer=n,this.$implicit=t,this.$index=r}get $count(){return this.lContainer.length-Z}};function ib(e){return e}function sb(e,n){return n}var wl=class{hasEmptyBlock;trackByFn;liveCollection;constructor(n,t,r){this.hasEmptyBlock=n,this.trackByFn=t,this.liveCollection=r}};function ab(e,n,t,r,o,i,s,a,c,u,l,d,p){Re("NgControlFlow");let f=C(),h=U(),v=c!==void 0,y=C(),E=a?s.bind(y[ye][Q]):s,F=new wl(v,E);y[B+e]=F,zo(f,h,e+1,n,t,r,o,Ve(h.consts,i),256),v&&zo(f,h,e+2,c,u,l,d,Ve(h.consts,p),512)}var bl=class extends El{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(n,t,r){super(),this.lContainer=n,this.hostLView=t,this.templateTNode=r}get length(){return this.lContainer.length-Z}at(n){return this.getLView(n)[Q].$implicit}attach(n,t){let r=t[Ln];this.needsIndexUpdate||=n!==this.length,Xo(this.lContainer,t,n,Pr(this.templateTNode,r)),ub(this.lContainer,n)}detach(n){return this.needsIndexUpdate||=n!==this.length-1,lb(this.lContainer,n),db(this.lContainer,n)}create(n,t){let r=ea(this.lContainer,this.templateTNode.tView.ssrId);return Jo(this.hostLView,this.templateTNode,new Il(this.lContainer,t,n),{dehydratedView:r})}destroy(n){wa(n[b],n)}updateValue(n,t){this.getLView(n)[Q].$implicit=t}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n<this.length;n++)this.getLView(n)[Q].$index=n}getLView(n){return fb(this.lContainer,n)}};function cb(e){let n=w(null),t=Ce();try{let r=C(),o=r[b],i=r[t],s=t+1,a=ca(r,s);if(i.liveCollection===void 0){let u=Tl(o,s);i.liveCollection=new bl(a,r,u)}else i.liveCollection.reset();let c=i.liveCollection;if(ob(c,e,i.trackByFn,n),c.updateIndexes(),i.hasEmptyBlock){let u=un(),l=c.length===0;if(ve(r,u,l)){let d=t+2,p=ca(r,d);if(l){let f=Tl(o,d),h=rm(p,f,r),v=Jo(r,f,void 0,{dehydratedView:h});Xo(p,v,0,Pr(f,h))}else o.firstUpdatePass&&JI(p),tm(p,0)}}}finally{w(n)}}function ca(e,n){return e[n]}function ub(e,n){if(e.length<=Z)return;let t=Z+n,r=e[t],o=r?r[Pt]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[xe];iI(i,o),Kn.delete(r[Ft]),o.detachedLeaveAnimationFns=void 0}}function lb(e,n){if(e.length<=Z)return;let t=Z+n,r=e[t],o=r?r[Pt]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function db(e,n){return Ho(e,n)}function fb(e,n){return em(e,n)}function Tl(e,n){return bs(e,n)}function Pm(e,n,t){let r=C(),o=un();if(ve(r,o,n)){let i=U(),s=So();$g(s,r,e,n,r[j],t)}return Pm}function _l(e,n,t,r,o){Kl(n,e,t,o?"class":"style",r)}function ua(e,n,t,r){let o=C(),i=o[b],s=e+B,a=i.firstCreatePass?ed(s,o,2,n,Ql,Ms(),t,r):i.data[s];if(jt(a)){let c=o[et].tracingService;if(c&&c.componentCreate){let u=i.data[a.directiveStart+a.componentOffset];return c.componentCreate(pm(u),()=>(bh(e,n,o,a,r),ua))}}return bh(e,n,o,a,r),ua}function bh(e,n,t,r,o){if(_a(r,t,e,n,jm),Sr(r)){let i=t[b];Ta(i,t,r),kl(i,r,t)}o!=null&&Vr(t,r)}function fd(){let e=U(),n=K(),t=Ma(n);return e.firstCreatePass&&td(e,t),Cu(t)&&Iu(),Du(),t.classesWithoutHost!=null&&SE(t)&&_l(e,t,C(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&NE(t)&&_l(e,t,C(),t.stylesWithoutHost,!1),fd}function Lm(e,n,t,r){return ua(e,n,t,r),fd(),Lm}function _e(e,n,t,r){let o=C(),i=o[b],s=e+B,a=i.firstCreatePass?cm(s,i,2,n,t,r):i.data[s];return _a(a,o,e,n,jm),r!=null&&Vr(o,a),_e}function Ue(){let e=K(),n=Ma(e);return Cu(n)&&Iu(),Du(),Ue}function or(e,n,t,r){return _e(e,n,t,r),Ue(),or}var jm=(e,n,t,r,o)=>(No(!0),fg(n[j],r,xu()));function pd(e,n,t){let r=C(),o=r[b],i=e+B,s=o.firstCreatePass?ed(i,r,8,"ng-container",Ql,Ms(),n,t):o.data[i];if(_a(s,r,e,"ng-container",Hm),Sr(s)){let a=r[b];Ta(a,r,s),kl(a,s,r)}return t!=null&&Vr(r,s),pd}function Oa(){let e=U(),n=K(),t=Ma(n);return e.firstCreatePass&&td(e,t),Oa}function Bm(e,n,t){return pd(e,n,t),Oa(),Bm}function $r(e,n,t){let r=C(),o=r[b],i=e+B,s=o.firstCreatePass?cm(i,o,8,"ng-container",n,t):o.data[i];return _a(s,r,e,"ng-container",Hm),t!=null&&Vr(r,s),$r}function ri(){let e=K(),n=Ma(e);return Oa}function Vm(e,n,t){return $r(e,n,t),ri(),Vm}var Hm=(e,n,t,r,o)=>(No(!0),CC(n[j],""));function ka(){return C()}function oi(e,n,t){let r=C(),o=un();if(ve(r,o,n)){let i=U(),s=So();Ug(s,r,e,n,r[j],t)}return oi}var Oo=void 0;function pb(e){let n=Math.floor(Math.abs(e)),t=e.toString().replace(/^[^.]*\.?/,"").length;return n===1&&t===0?1:5}var hb=["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"]],Oo,[["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"]],Oo,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm\u202Fa","h:mm:ss\u202Fa","h:mm:ss\u202Fa z","h:mm:ss\u202Fa zzzz"],["{1}, {0}",Oo,Oo,Oo],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",pb],Lo={};function hd(e,n,t){typeof n!="string"&&(t=n,n=e[q.LocaleId]),n=n.toLowerCase().replace(/_/g,"-"),Lo[n]=e,t&&(Lo[n][q.ExtraData]=t)}function Me(e){let n=gb(e),t=Th(n);if(t)return t;let r=n.split("-")[0];if(t=Th(r),t)return t;if(r==="en")return hb;throw new m(701,!1)}function Th(e){return e in Lo||(Lo[e]=Fe.ng&&Fe.ng.common&&Fe.ng.common.locales&&Fe.ng.common.locales[e]),Lo[e]}var q=(function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e})(q||{});function gb(e){return e.toLowerCase().replace(/_/g,"-")}var ii="en-US";var mb=ii;function $m(e){typeof e=="string"&&(mb=e.toLowerCase().replace(/_/g,"-"))}function Fa(e,n,t){let r=C(),o=U(),i=K();return Um(o,r,r[j],i,e,n,t),Fa}function si(e,n,t){let r=C(),o=U(),i=K();return(i.type&3||t)&&dm(i,o,r,t,r[j],e,n,$s(i,r,n)),si}function Um(e,n,t,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=$s(r,n,i),dm(r,e,n,s,t,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??=$s(r,n,i),mh(r,n,p,f,o,c)}if(u&&u.length)for(let d of u)c??=$s(r,n,i),mh(r,n,d,o,o,c)}}function le(e=1){return kp(e)}function yb(e,n){let t=null,r=kC(e);for(let o=0;o<n.length;o++){let i=n[o];if(i==="*"){t=o;continue}if(r===null?Eg(e,i,!0):LC(r,i))return o}return t}function vb(e){let n=C()[ye][me];if(!n.projection){let t=e?e.length:1,r=n.projection=up(t,null),o=r.slice(),i=n.child;for(;i!==null;){if(i.type!==128){let s=e?yb(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function Db(e,n=0,t,r,o,i){let s=C(),a=U(),c=r?e+1:null;c!==null&&zo(s,a,c,r,o,i,null,t);let u=nr(a,B+e,16,null,t||null);u.projection===null&&(u.projection=n),Tu();let d=!s[Ln]||Eu();s[ye][me].projection[u.projection]===null&&c!==null?Eb(s,a,c):d&&!ma(u)&&yI(a,s,u)}function Eb(e,n,t){let r=B+t,o=n.data[r],i=e[r],s=ea(i,o.tView.ssrId),a=Jo(e,o,void 0,{dehydratedView:s});Xo(i,a,0,Pr(o,s))}function zm(e,n,t,r){return Ow(e,n,t,r),zm}function Gm(e,n,t){return vm(e,n,t),Gm}function Cb(e){let n=C(),t=U(),r=Ns();Mo(r+1);let o=id(t,r);if(e.dirty&&vp(n)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=Em(n,r);e.reset(i,Gh),e.notifyOnChanges()}return!0}return!1}function Ib(){return od(C(),Ns())}function Wm(e,n,t,r){return Pw(e,vm(n,t,r)),Wm}function wb(e=1){Mo(Ns()+e)}function bb(e){let n=_u();return Co(n,B+e)}function Ls(e,n){return e<<17|n<<2}function tr(e){return e>>17&32767}function Tb(e){return(e&2)==2}function _b(e,n){return e&131071|n<<17}function Ml(e){return e|2}function jr(e){return(e&131068)>>2}function $u(e,n){return e&-131069|n<<2}function Mb(e){return(e&1)===1}function Sl(e){return e|1}function Sb(e,n,t,r,o,i){let s=i?n.classBindings:n.styleBindings,a=tr(s),c=jr(s);e[r]=t;let u=!1,l;if(Array.isArray(t)){let d=t;l=d[1],(l===null||Ir(d,l)>0)&&(u=!0)}else l=t;if(o)if(c!==0){let p=tr(e[a+1]);e[r+1]=Ls(p,a),p!==0&&(e[p+1]=$u(e[p+1],r)),e[a+1]=_b(e[a+1],r)}else e[r+1]=Ls(a,0),a!==0&&(e[a+1]=$u(e[a+1],r)),a=r;else e[r+1]=Ls(c,0),a===0?a=r:e[c+1]=$u(e[c+1],r),c=r;u&&(e[r+1]=Ml(e[r+1])),_h(e,l,r,!0),_h(e,l,r,!1),Nb(n,l,e,r,i),s=Ls(a,c),i?n.classBindings=s:n.styleBindings=s}function Nb(e,n,t,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof n=="string"&&Ir(i,n)>=0&&(t[r+1]=Sl(t[r+1]))}function _h(e,n,t,r){let o=e[t+1],i=n===null,s=r?tr(o):jr(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];xb(c,n)&&(a=!0,e[s+1]=r?Sl(u):Ml(u)),s=r?tr(u):jr(u)}a&&(e[t+1]=r?Ml(o):Sl(o))}function xb(e,n){return e===null||n==null||(Array.isArray(e)?e[1]:e)===n?!0:Array.isArray(e)&&typeof n=="string"?Ir(e,n)>=0:!1}var ot={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Ab(e){return e.substring(ot.key,ot.keyEnd)}function Rb(e){return Ob(e),qm(e,Zm(e,0,ot.textEnd))}function qm(e,n){let t=ot.textEnd;return t===n?-1:(n=ot.keyEnd=kb(e,ot.key=n,t),Zm(e,n,t))}function Ob(e){ot.key=0,ot.keyEnd=0,ot.value=0,ot.valueEnd=0,ot.textEnd=e.length}function Zm(e,n,t){for(;n<t&&e.charCodeAt(n)<=32;)n++;return n}function kb(e,n,t){for(;n<t&&e.charCodeAt(n)>32;)n++;return n}function Ht(e,n,t){return Qm(e,n,t,!1),Ht}function Ym(e,n){return Qm(e,n,null,!0),Ym}function $t(e){Pb($b,Fb,e,!0)}function Fb(e,n){for(let t=Rb(n);t>=0;t=qm(n,t))Cs(e,Ab(n),!0)}function Qm(e,n,t,r){let o=C(),i=U(),s=Gn(2);if(i.firstUpdatePass&&Jm(i,e,s,r),n!==J&&ve(o,s,n)){let a=i.data[Ce()];Xm(i,a,o,o[j],e,o[s+1]=zb(n,t),r,s)}}function Pb(e,n,t,r){let o=U(),i=Gn(2);o.firstUpdatePass&&Jm(o,null,i,r);let s=C();if(t!==J&&ve(s,i,t)){let a=o.data[Ce()];if(ey(a,r)&&!Km(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(t=hs(c,t||"")),_l(o,a,s,t,r)}else Ub(o,a,s,s[j],s[i+1],s[i+1]=Hb(e,n,t),r,i)}}function Km(e,n){return n>=e.expandoStartIndex}function Jm(e,n,t,r){let o=e.data;if(o[t+1]===null){let i=o[Ce()],s=Km(e,t);ey(i,r)&&n===null&&!s&&(n=!1),n=Lb(o,i,n,r),Sb(o,i,n,t,s,r)}}function Lb(e,n,t,r){let o=xp(e),i=r?n.residualClasses:n.residualStyles;if(o===null)(r?n.classBindings:n.styleBindings)===0&&(t=Uu(null,e,n,t,r),t=Go(t,n.attrs,r),i=null);else{let s=n.directiveStylingLast;if(s===-1||e[s]!==o)if(t=Uu(o,e,n,t,r),i===null){let c=jb(e,n,r);c!==void 0&&Array.isArray(c)&&(c=Uu(null,e,n,c[1],r),c=Go(c,n.attrs,r),Bb(e,n,r,c))}else i=Vb(e,n,r)}return i!==void 0&&(r?n.residualClasses=i:n.residualStyles=i),t}function jb(e,n,t){let r=t?n.classBindings:n.styleBindings;if(jr(r)!==0)return e[tr(r)]}function Bb(e,n,t,r){let o=t?n.classBindings:n.styleBindings;e[tr(o)]=r}function Vb(e,n,t){let r,o=n.directiveEnd;for(let i=1+n.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Go(r,s,t)}return Go(r,n.attrs,t)}function Uu(e,n,t,r,o){let i=null,s=t.directiveEnd,a=t.directiveStylingLast;for(a===-1?a=t.directiveStart:a++;a<s&&(i=n[a],r=Go(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(t.directiveStylingLast=a),r}function Go(e,n,t){let r=t?1:2,o=-1;if(n!==null)for(let i=0;i<n.length;i++){let s=n[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),Cs(e,s,t?!0:n[++i]))}return e===void 0?null:e}function Hb(e,n,t){if(t==null||t==="")return ue;let r=[],o=Ie(t);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(o instanceof Set)for(let i of o)e(r,i,!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else typeof o=="string"&&n(r,o);return r}function $b(e,n,t){let r=String(n);r!==""&&!r.includes(" ")&&Cs(e,r,t)}function Ub(e,n,t,r,o,i,s,a){o===J&&(o=ue);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,v;l===d?(c+=2,u+=2,p!==f&&(h=d,v=f)):d===null||l!==null&&l<d?(c+=2,h=l):(u+=2,h=d,v=f),h!==null&&Xm(e,n,t,r,h,v,s,a),l=c<o.length?o[c]:null,d=u<i.length?i[u]:null}}function Xm(e,n,t,r,o,i,s,a){if(!(n.type&3))return;let c=e.data,u=c[a+1],l=Mb(u)?Mh(c,n,t,o,jr(u),s):void 0;if(!la(l)){la(i)||Tb(u)&&(i=Mh(c,null,t,o,a,s));let d=pu(Ce(),t);DI(r,s,d,o,i)}}function Mh(e,n,t,r,o,i){let s=n===null,a;for(;o>0;){let c=e[o],u=Array.isArray(c),l=u?c[1]:c,d=l===null,p=t[o+1];p===J&&(p=d?ue:void 0);let f=d?Is(p,r):l===r?p:void 0;if(u&&!la(f)&&(f=Is(c,r)),la(f)&&(a=f,s))return a;let h=e[o+1];o=s?tr(h):jr(h)}if(n!==null){let c=i?n.residualClasses:n.residualStyles;c!=null&&(a=Is(c,r))}return a}function la(e){return e!==void 0}function zb(e,n){return e==null||e===""||(typeof n=="string"?e=e+n:typeof e=="object"&&(e=mo(Ie(e)))),e}function ey(e,n){return(e.flags&(n?8:16))!==0}function Dt(e,n=""){let t=C(),r=U(),o=e+B,i=r.firstCreatePass?nr(r,o,1,n,null):r.data[o],s=Gb(r,t,i,n);t[o]=s,Rs()&&Zl(r,t,s,i),zn(i,!1)}var Gb=(e,n,t,r)=>(No(!0),DC(n[j],r));function Wb(e,n,t,r=""){return ve(e,un(),t)?n+se(t)+r:J}function qb(e,n,t,r,o,i=""){let s=_o(),a=$o(e,s,t,o);return Gn(2),a?n+se(t)+r+se(o)+i:J}function Zb(e,n,t,r,o,i,s,a=""){let c=_o(),u=lm(e,c,t,o,s);return Gn(3),u?n+se(t)+r+se(o)+i+se(s)+a:J}function Yb(e,n,t,r,o,i,s,a,c,u=""){let l=_o(),d=rd(e,l,t,o,s,c);return Gn(4),d?n+se(t)+r+se(o)+i+se(s)+a+se(c)+u:J}function Qb(e,n,t,r,o,i,s,a,c,u,l,d=""){let p=_o(),f=rd(e,p,t,o,s,c);return f=ve(e,p+4,l)||f,Gn(5),f?n+se(t)+r+se(o)+i+se(s)+a+se(c)+u+se(l)+d:J}function ty(e){return Et("",e),ty}function Et(e,n,t){let r=C(),o=Wb(r,e,n,t);return o!==J&&ai(r,Ce(),o),Et}function ny(e,n,t,r,o){let i=C(),s=qb(i,e,n,t,r,o);return s!==J&&ai(i,Ce(),s),ny}function ry(e,n,t,r,o,i,s){let a=C(),c=Zb(a,e,n,t,r,o,i,s);return c!==J&&ai(a,Ce(),c),ry}function oy(e,n,t,r,o,i,s,a,c){let u=C(),l=Yb(u,e,n,t,r,o,i,s,a,c);return l!==J&&ai(u,Ce(),l),oy}function iy(e,n,t,r,o,i,s,a,c,u,l){let d=C(),p=Qb(d,e,n,t,r,o,i,s,a,c,u,l);return p!==J&&ai(d,Ce(),p),iy}function ai(e,n,t){let r=pu(n,e);EC(e[j],r,t)}function sy(e,n,t){ad(n)&&(n=n());let r=C(),o=un();if(ve(r,o,n)){let i=U(),s=So();$g(s,r,e,n,r[j],t)}return sy}function Kb(e,n){let t=ad(e);return t&&e.set(n),t}function ay(e,n){let t=C(),r=U(),o=K();return Um(r,t,t[j],o,e,n),ay}var cy={};function ci(e){Re("NgLet");let n=U(),t=C(),r=e+B,o=nr(n,r,128,null,null);return zn(o,!1),Io(n,t,r,cy),ci}function Pa(e){let n=U(),t=C(),r=Ce();return Io(n,t,r,e),e}function Ct(e){let n=_u(),t=Co(n,B+e);if(t===cy)throw new m(314,!1);return t}function Sh(e,n,t){let r=U();r.firstCreatePass&&uy(n,r.data,r.blueprint,nt(e),t)}function uy(e,n,t,r,o){if(e=re(e),Array.isArray(e))for(let i=0;i<e.length;i++)uy(e[i],n,t,r,o);else{let i=U(),s=C(),a=K(),c=kn(e)?e:re(e.provide),u=au(e),l=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(kn(e)||!e.multi){let f=new Qn(u,o,De,null),h=Gu(c,n,o?l:l+p,d);h===-1?(qu(qs(a,s),i,c),zu(i,e,n.length),n.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),t.push(f),s.push(f)):(t[h]=f,s[h]=f)}else{let f=Gu(c,n,l+p,d),h=Gu(c,n,l,l+p),v=f>=0&&t[f],y=h>=0&&t[h];if(o&&!y||!o&&!v){qu(qs(a,s),i,c);let E=eT(o?Xb:Jb,t.length,o,r,u,e);!o&&y&&(t[h].providerFactory=E),zu(i,e,n.length,0),n.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),t.push(E),s.push(E)}else{let E=ly(t[o?h:f],u,!o&&r);zu(i,e,f>-1?f:h,E)}!o&&r&&y&&t[h].componentProviders++}}}function zu(e,n,t,r){let o=kn(n),i=hp(n);if(o||i){let c=(i?re(n.useClass):n).prototype.ngOnDestroy;if(c){let u=e.destroyHooks||(e.destroyHooks=[]);if(!o&&n.multi){let l=u.indexOf(t);l===-1?u.push(t,[r,c]):u[l+1].push(r,c)}else u.push(t,c)}}}function ly(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function Gu(e,n,t,r){for(let o=t;o<r;o++)if(n[o]===e)return o;return-1}function Jb(e,n,t,r,o){return Nl(this.multi,[])}function Xb(e,n,t,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=jo(r,r[b],this.providerFactory.index,o);s=c.slice(0,a),Nl(i,s);for(let u=a;u<c.length;u++)s.push(c[u])}else s=[],Nl(i,s);return s}function Nl(e,n){for(let t=0;t<e.length;t++){let r=e[t];n.push(r())}return n}function eT(e,n,t,r,o,i){let s=new Qn(e,t,De,null);return s.multi=[],s.index=n,s.componentProviders=0,ly(s,o,r&&!t),s}function tT(e,n){return t=>{t.providersResolver=(r,o)=>Sh(r,o?o(e):e,!1),n&&(t.viewProvidersResolver=(r,o)=>Sh(r,o?o(n):n,!0))}}function nT(e,n){let t=cn()+e,r=C();return r[t]===J?ni(r,t,n()):um(r,t)}function rT(e,n,t){return dy(C(),cn(),e,n,t)}function oT(e,n,t,r){return fy(C(),cn(),e,n,t,r)}function iT(e,n,t,r,o){return aT(C(),cn(),e,n,t,r,o)}function sT(e,n,t,r,o,i,s){let a=cn()+e,c=C(),u=rd(c,a,t,r,o,i);return ve(c,a+4,s)||u?ni(c,a+5,n(t,r,o,i,s)):um(c,a+5)}function gd(e,n){let t=e[n];return t===J?void 0:t}function dy(e,n,t,r,o,i){let s=n+t;return ve(e,s,o)?ni(e,s+1,i?r.call(i,o):r(o)):gd(e,s+1)}function fy(e,n,t,r,o,i,s){let a=n+t;return $o(e,a,o,i)?ni(e,a+2,s?r.call(s,o,i):r(o,i)):gd(e,a+2)}function aT(e,n,t,r,o,i,s,a){let c=n+t;return lm(e,c,o,i,s)?ni(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):gd(e,c+3)}function cT(e,n){let t=U(),r,o=e+B;t.firstCreatePass?(r=uT(n,t.pipeRegistry),t.data[o]=r,r.onDestroy&&(t.destroyHooks??=[]).push(o,r.onDestroy)):r=t.data[o];let i=r.factory||(r.factory=tn(r.type,!0)),s,a=he(De);try{let c=Ws(!1),u=i();return Ws(c),Io(t,C(),o,u),u}finally{he(a)}}function uT(e,n){if(n)for(let t=n.length-1;t>=0;t--){let r=n[t];if(e===r.name)return r}}function lT(e,n,t){let r=e+B,o=C(),i=Co(o,r);return py(o,r)?dy(o,cn(),n,i.transform,t,i):i.transform(t)}function dT(e,n,t,r){let o=e+B,i=C(),s=Co(i,o);return py(i,o)?fy(i,cn(),n,s.transform,t,r,s):s.transform(t,r)}function py(e,n){return e[b].data[n].pure}function fT(e,n){return Sa(e,n)}var da=class{ngModuleFactory;componentFactories;constructor(n,t){this.ngModuleFactory=n,this.componentFactories=t}},pT=(()=>{class e{compileModuleSync(t){return new sa(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){let r=this.compileModuleSync(t),o=Xc(t),i=vg(o.declarations).reduce((s,a)=>{let c=kt(a);return c&&s.push(new Xn(c)),s},[]);return new da(r,i)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var hy=(()=>{class e{applicationErrorHandler=g(dn);appRef=g(mn);taskService=g(Wn);ngZone=g(ie);zonelessEnabled=g(Ro);tracing=g(yt,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new ne;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(ho):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(g(Fu,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{let t=this.taskService.add();if(!this.runningTick&&(this.cleanup(),!this.zonelessEnabled||this.appRef.includeAllTestViews)){this.taskService.remove(t);return}this.switchToMicrotaskScheduler(),this.taskService.remove(t)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{let t=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(t)})})}notify(t){if(!this.zonelessEnabled&&t===5)return;switch(t){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2;break}case 12:{this.appRef.dirtyFlags|=16;break}case 13:{this.appRef.dirtyFlags|=2;break}case 11:break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;let r=this.useMicrotaskScheduler?Vp:Ru;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(ho+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 t=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(t),this.cleanup()}}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let t=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(t)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function hT(){return Re("NgZoneless"),on([...md(),[]])}function md(){return[{provide:Rt,useExisting:hy},{provide:ie,useClass:go},{provide:Ro,useValue:!0}]}function gT(){return typeof $localize<"u"&&$localize.locale||ii}var Ur=new I("",{factory:()=>g(Ur,{optional:!0,skipSelf:!0})||gT()});var ui=class{destroyed=!1;listeners=null;errorHandler=g(ke,{optional:!0});destroyRef=g(He);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(n){if(this.destroyed)throw new m(953,!1);return(this.listeners??=[]).push(n),{unsubscribe:()=>{let t=this.listeners?.indexOf(n);t!==void 0&&t!==-1&&this.listeners?.splice(t,1)}}}emit(n){if(this.destroyed){console.warn(pt(953,!1));return}if(this.listeners===null)return;let t=w(null);try{for(let r of this.listeners)try{r(n)}catch(o){this.errorHandler?.handleError(o)}}finally{w(t)}}};function my(e){return Kf(e)}function ir(e,n){return co(e,n?.equal)}var mT=e=>e;function yd(e,n){if(typeof e=="function"){let t=kc(e,mT,n?.equal);return gy(t,n?.debugName)}else{let t=kc(e.source,e.computation,e.equal);return gy(t,e.debugName)}}function gy(e,n){let t=e[Y],r=e;return r.set=o=>Yf(t,o),r.update=o=>Qf(t,o),r.asReadonly=xo.bind(e),r}var ja=Symbol("InputSignalNode#UNSET"),by=H(N({},is),{transformFn:void 0,applyValueToInputSignal(e,n){en(e,n)}});function Ty(e,n){let t=Object.create(by);t.value=e,t.transformFn=n?.transform;function r(){if(Jt(t),t.value===ja){let o=null;throw new m(-950,o)}return t.value}return r[Y]=t,r}var yy=class{attributeName;constructor(n){this.attributeName=n}__NG_ELEMENT_ID__=()=>Al(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}};function c2(e){return new ui}function vy(e,n){return Ty(e,n)}function _T(e){return Ty(ja,e)}var u2=(vy.required=_T,vy);function Dy(e,n){return Im(n)}function MT(e,n){return wm(n)}var l2=(Dy.required=MT,Dy);function _y(e,n){let t=Object.create(by),r=new ui;t.value=e;function o(){return Jt(t),Ey(t.value),t.value}return o[Y]=t,o.asReadonly=xo.bind(o),o.set=i=>{t.equal(t.value,i)||(en(t,i),r.emit(i))},o.update=i=>{Ey(t.value),o.set(i(t.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function Ey(e){if(e===ja)throw new m(952,!1)}function Cy(e,n){return _y(e,n)}function ST(e){return _y(ja,e)}var d2=(Cy.required=ST,Cy);var vd=new I(""),NT=new I("");function li(e){return!e.moduleRef}function xT(e){let n=li(e)?e.r3Injector:e.moduleRef.injector,t=n.get(ie);return t.run(()=>{li(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=n.get(dn),o;if(t.runOutsideAngular(()=>{o=t.onError.subscribe({next:r})}),li(e)){let i=()=>n.destroy(),s=e.platformInjector.get(vd);s.add(i),n.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(vd);s.add(i),e.moduleRef.onDestroy(()=>{Po(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return RT(r,t,()=>{let i=n.get(Wn),s=i.add(),a=n.get(ld);return a.runInitializers(),a.donePromise.then(()=>{let c=n.get(Ur,ii);if($m(c||ii),!n.get(NT,!0))return li(e)?n.get(mn):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(li(e)){let l=n.get(mn);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return AT?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var AT;function RT(e,n,t){try{let r=t();return Ra(r)?r.catch(o=>{throw n.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw n.runOutsideAngular(()=>e(r)),r}}var La=null;function OT(e=[],n){return X.create({name:n,providers:[{provide:Do,useValue:"platform"},{provide:vd,useValue:new Set([()=>La=null])},...e]})}function kT(e=[]){if(La)return La;let n=OT(e);return La=n,km(),FT(n),n}function FT(e){let n=e.get(pa,null);Tr(e,()=>{n?.forEach(t=>t())})}var PT=1e4;var f2=PT-1e3;var di=(()=>{class e{static __NG_ELEMENT_ID__=LT}return e})();function LT(e){return jT(K(),C(),(e&16)===16)}function jT(e,n,t){if(jt(e)&&!t){let r=Be(e.index,n);return new fn(r,r)}else if(e.type&175){let r=n[ye];return new fn(r,n)}return null}var Dd=class{supports(n){return n instanceof Map||nd(n)}create(){return new Ed}},Ed=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(n){let t;for(t=this._mapHead;t!==null;t=t._next)n(t)}forEachPreviousItem(n){let t;for(t=this._previousMapHead;t!==null;t=t._nextPrevious)n(t)}forEachChangedItem(n){let t;for(t=this._changesHead;t!==null;t=t._nextChanged)n(t)}forEachAddedItem(n){let t;for(t=this._additionsHead;t!==null;t=t._nextAdded)n(t)}forEachRemovedItem(n){let t;for(t=this._removalsHead;t!==null;t=t._nextRemoved)n(t)}diff(n){if(!n)n=new Map;else if(!(n instanceof Map||nd(n)))throw new m(900,!1);return this.check(n)?this:null}check(n){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(n,(r,o)=>{if(t&&t.key===o)this._maybeAddToChanges(t,r),this._appendAfter=t,t=t._next;else{let i=this._getOrCreateRecordForKey(o,r);t=this._insertBeforeOrAppend(t,i)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let r=t;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(n,t){if(n){let r=n._prev;return t._next=n,t._prev=r,n._prev=t,r&&(r._next=t),n===this._mapHead&&(this._mapHead=t),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(n,t){if(this._records.has(n)){let o=this._records.get(n);this._maybeAddToChanges(o,t);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 Cd(n);return this._records.set(n,r),r.currentValue=t,this._addToAdditions(r),r}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;n!==null;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;n!=null;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,t){Object.is(t,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=t,this._addToChanges(n))}_addToAdditions(n){this._additionsHead===null?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){this._changesHead===null?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,t){n instanceof Map?n.forEach(t):Object.keys(n).forEach(r=>t(n[r],r))}},Cd=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(n){this.key=n}};function Iy(){return new Ba([new Dd])}var Ba=(()=>{class e{static \u0275prov=D({token:e,providedIn:"root",factory:Iy});factories;constructor(t){this.factories=t}static create(t,r){if(r){let o=r.factories.slice();t=t.concat(o)}return new e(t)}static extend(t){return{provide:e,useFactory:()=>{let r=g(e,{optional:!0,skipSelf:!0});return e.create(t,r||Iy())}}}find(t){let r=this.factories.find(o=>o.supports(t));if(r)return r;throw new m(901,!1)}}return e})();function My(e){let{rootComponent:n,appProviders:t,platformProviders:r,platformRef:o}=e;L(k.BootstrapApplicationStart);try{let i=o?.injector??kT(r),s=[md(),$p,...t||[]],a=new Uo({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return xT({r3Injector:a.injector,platformInjector:i,rootComponent:n})}catch(i){return Promise.reject(i)}finally{L(k.BootstrapApplicationEnd)}}function fi(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function Id(e,n=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):n}function Sy(e,n){let t=kt(e),r=n.elementInjector||br();return new Xn(t).create(r,n.projectableNodes,n.hostElement,n.environmentInjector,n.directives,n.bindings)}var Ny=null;function Ut(){return Ny}function wd(e){Ny??=e}var pi=class{},zr=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=D({token:e,factory:()=>g(xy),providedIn:"platform"})}return e})();var xy=(()=>{class e extends zr{_location;_history;_doc=g(W);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Ut().getBaseHref(this._doc)}onPopState(t){let r=Ut().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",t,!1),()=>r.removeEventListener("popstate",t)}onHashChange(t){let r=Ut().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",t,!1),()=>r.removeEventListener("hashchange",t)}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(t){this._location.pathname=t}pushState(t,r,o){this._history.pushState(t,r,o)}replaceState(t,r,o){this._history.replaceState(t,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||e)};static \u0275prov=D({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function Oy(e,n){return e?n?e.endsWith("/")?n.startsWith("/")?e+n.slice(1):e+n:n.startsWith("/")?e+n:`${e}/${n}`:e:n}function Ay(e){let n=e.search(/#|\?|$/);return e[n-1]==="/"?e.slice(0,n-1)+e.slice(n):e}function yn(e){return e&&e[0]!=="?"?`?${e}`:e}var Va=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=D({token:e,factory:()=>g(VT),providedIn:"root"})}return e})(),BT=new I(""),VT=(()=>{class e extends Va{_platformLocation;_baseHref;_removeListenerFns=[];constructor(t,r){super(),this._platformLocation=t,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??g(W).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return Oy(this._baseHref,t)}path(t=!1){let r=this._platformLocation.pathname+yn(this._platformLocation.search),o=this._platformLocation.hash;return o&&t?`${r}${o}`:r}pushState(t,r,o,i){let s=this.prepareExternalUrl(o+yn(i));this._platformLocation.pushState(t,r,s)}replaceState(t,r,o,i){let s=this.prepareExternalUrl(o+yn(i));this._platformLocation.replaceState(t,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static \u0275fac=function(r){return new(r||e)(_(zr),_(BT,8))};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var ky=(()=>{class e{_subject=new $;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(t){this._locationStrategy=t;let r=this._locationStrategy.getBaseHref();this._basePath=UT(Ay(Ry(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(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,r=""){return this.path()==this.normalize(t+yn(r))}normalize(t){return e.stripTrailingSlash($T(this._basePath,Ry(t)))}prepareExternalUrl(t){return t&&t[0]!=="/"&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,r="",o=null){this._locationStrategy.pushState(o,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+yn(r)),o)}replaceState(t,r="",o=null){this._locationStrategy.replaceState(o,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+yn(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",r){this._urlChangeListeners.forEach(o=>o(t,r))}subscribe(t,r,o){return this._subject.subscribe({next:t,error:r??void 0,complete:o??void 0})}static normalizeQueryParams=yn;static joinWithSlash=Oy;static stripTrailingSlash=Ay;static \u0275fac=function(r){return new(r||e)(_(Va))};static \u0275prov=D({token:e,factory:()=>HT(),providedIn:"root"})}return e})();function HT(){return new ky(_(Va))}function $T(e,n){if(!e||!n.startsWith(e))return n;let t=n.substring(e.length);return t===""||["/",";","?","#"].includes(t[0])?t:n}function Ry(e){return e.replace(/\/index.html$/,"")}function UT(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}var Nd=(function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e})(Nd||{});var de=(function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e})(de||{}),V=(function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e})(V||{}),Se=(function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e})(Se||{}),Ne={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 jy(e){return Me(e)[q.LocaleId]}function By(e,n,t){let r=Me(e),o=[r[q.DayPeriodsFormat],r[q.DayPeriodsStandalone]],i=ze(o,n);return ze(i,t)}function Vy(e,n,t){let r=Me(e),o=[r[q.DaysFormat],r[q.DaysStandalone]],i=ze(o,n);return ze(i,t)}function Hy(e,n,t){let r=Me(e),o=[r[q.MonthsFormat],r[q.MonthsStandalone]],i=ze(o,n);return ze(i,t)}function $y(e,n){let r=Me(e)[q.Eras];return ze(r,n)}function hi(e,n){let t=Me(e);return ze(t[q.DateFormat],n)}function gi(e,n){let t=Me(e);return ze(t[q.TimeFormat],n)}function mi(e,n){let r=Me(e)[q.DateTimeFormat];return ze(r,n)}function It(e,n){let t=Me(e),r=t[q.NumberSymbols][n];if(typeof r>"u"){if(n===Ne.CurrencyDecimal)return t[q.NumberSymbols][Ne.Decimal];if(n===Ne.CurrencyGroup)return t[q.NumberSymbols][Ne.Group]}return r}function Uy(e,n){return Me(e)[q.NumberFormats][n]}function zy(e){if(!e[q.ExtraData])throw new m(2303,!1)}function Gy(e){let n=Me(e);return zy(n),(n[q.ExtraData][2]||[]).map(r=>typeof r=="string"?bd(r):[bd(r[0]),bd(r[1])])}function Wy(e,n,t){let r=Me(e);zy(r);let o=[r[q.ExtraData][0],r[q.ExtraData][1]],i=ze(o,n)||[];return ze(i,t)||[]}function ze(e,n){for(let t=n;t>-1;t--)if(typeof e[t]<"u")return e[t];throw new m(2304,!1)}function bd(e){let[n,t]=e.split(":");return{hours:+n,minutes:+t}}var zT=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Ha={},GT=/((?:[^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]*)/;function qy(e,n,t,r){let o=e_(e);n=zt(t,n)||n;let s=[],a;for(;n;)if(a=GT.exec(n),a){s=s.concat(a.slice(1));let l=s.pop();if(!l)break;n=l}else{s.push(n);break}let c=o.getTimezoneOffset();r&&(c=Yy(r,c),o=XT(o,r));let u="";return s.forEach(l=>{let d=KT(l);u+=d?d(o,t,c):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function Wa(e,n,t){let r=new Date(0);return r.setFullYear(e,n,t),r.setHours(0,0,0),r}function zt(e,n){let t=jy(e);if(Ha[t]??={},Ha[t][n])return Ha[t][n];let r="";switch(n){case"shortDate":r=hi(e,Se.Short);break;case"mediumDate":r=hi(e,Se.Medium);break;case"longDate":r=hi(e,Se.Long);break;case"fullDate":r=hi(e,Se.Full);break;case"shortTime":r=gi(e,Se.Short);break;case"mediumTime":r=gi(e,Se.Medium);break;case"longTime":r=gi(e,Se.Long);break;case"fullTime":r=gi(e,Se.Full);break;case"short":let o=zt(e,"shortTime"),i=zt(e,"shortDate");r=$a(mi(e,Se.Short),[o,i]);break;case"medium":let s=zt(e,"mediumTime"),a=zt(e,"mediumDate");r=$a(mi(e,Se.Medium),[s,a]);break;case"long":let c=zt(e,"longTime"),u=zt(e,"longDate");r=$a(mi(e,Se.Long),[c,u]);break;case"full":let l=zt(e,"fullTime"),d=zt(e,"fullDate");r=$a(mi(e,Se.Full),[l,d]);break}return r&&(Ha[t][n]=r),r}function $a(e,n){return n&&(e=e.replace(/\{([^}]+)}/g,function(t,r){return n!=null&&r in n?n[r]:t})),e}function ct(e,n,t="-",r,o){let i="";(e<0||o&&e<=0)&&(o?e=-e+1:(e=-e,i=t));let s=String(e);for(;s.length<n;)s="0"+s;return r&&(s=s.slice(s.length-n)),i+s}function WT(e,n){return ct(e,3).substring(0,n)}function te(e,n,t=0,r=!1,o=!1){return function(i,s){let a=qT(e,i);if((t>0||a>-t)&&(a+=t),e===3)a===0&&t===-12&&(a=12);else if(e===6)return WT(a,n);let c=It(s,Ne.MinusSign);return ct(a,n,c,r,o)}}function qT(e,n){switch(e){case 0:return n.getFullYear();case 1:return n.getMonth();case 2:return n.getDate();case 3:return n.getHours();case 4:return n.getMinutes();case 5:return n.getSeconds();case 6:return n.getMilliseconds();case 7:return n.getDay();default:throw new m(2301,!1)}}function G(e,n,t=de.Format,r=!1){return function(o,i){return ZT(o,i,e,n,t,r)}}function ZT(e,n,t,r,o,i){switch(t){case 2:return Hy(n,o,r)[e.getMonth()];case 1:return Vy(n,o,r)[e.getDay()];case 0:let s=e.getHours(),a=e.getMinutes();if(i){let u=Gy(n),l=Wy(n,o,r),d=u.findIndex(p=>{if(Array.isArray(p)){let[f,h]=p,v=s>=f.hours&&a>=f.minutes,y=s<h.hours||s===h.hours&&a<h.minutes;if(f.hours<h.hours){if(v&&y)return!0}else if(v||y)return!0}else if(p.hours===s&&p.minutes===a)return!0;return!1});if(d!==-1)return l[d]}return By(n,o,r)[s<12?0:1];case 3:return $y(n,r)[e.getFullYear()<=0?0:1];default:let c=t;throw new m(2302,!1)}}function Ua(e){return function(n,t,r){let o=-1*r,i=It(t,Ne.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(e){case 0:return(o>=0?"+":"")+ct(s,2,i)+ct(Math.abs(o%60),2,i);case 1:return"GMT"+(o>=0?"+":"")+ct(s,1,i);case 2:return"GMT"+(o>=0?"+":"")+ct(s,2,i)+":"+ct(Math.abs(o%60),2,i);case 3:return r===0?"Z":(o>=0?"+":"")+ct(s,2,i)+":"+ct(Math.abs(o%60),2,i);default:throw new m(2310,!1)}}}var YT=0,Ga=4;function QT(e){let n=Wa(e,YT,1).getDay();return Wa(e,0,1+(n<=Ga?Ga:Ga+7)-n)}function Zy(e){let n=e.getDay(),t=n===0?-3:Ga-n;return Wa(e.getFullYear(),e.getMonth(),e.getDate()+t)}function Td(e,n=!1){return function(t,r){let o;if(n){let i=new Date(t.getFullYear(),t.getMonth(),1).getDay()-1,s=t.getDate();o=1+Math.floor((s+i)/7)}else{let i=Zy(t),s=QT(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return ct(o,e,It(r,Ne.MinusSign))}}function za(e,n=!1){return function(t,r){let i=Zy(t).getFullYear();return ct(i,e,It(r,Ne.MinusSign),n)}}var _d={};function KT(e){if(_d[e])return _d[e];let n;switch(e){case"G":case"GG":case"GGG":n=G(3,V.Abbreviated);break;case"GGGG":n=G(3,V.Wide);break;case"GGGGG":n=G(3,V.Narrow);break;case"y":n=te(0,1,0,!1,!0);break;case"yy":n=te(0,2,0,!0,!0);break;case"yyy":n=te(0,3,0,!1,!0);break;case"yyyy":n=te(0,4,0,!1,!0);break;case"Y":n=za(1);break;case"YY":n=za(2,!0);break;case"YYY":n=za(3);break;case"YYYY":n=za(4);break;case"M":case"L":n=te(1,1,1);break;case"MM":case"LL":n=te(1,2,1);break;case"MMM":n=G(2,V.Abbreviated);break;case"MMMM":n=G(2,V.Wide);break;case"MMMMM":n=G(2,V.Narrow);break;case"LLL":n=G(2,V.Abbreviated,de.Standalone);break;case"LLLL":n=G(2,V.Wide,de.Standalone);break;case"LLLLL":n=G(2,V.Narrow,de.Standalone);break;case"w":n=Td(1);break;case"ww":n=Td(2);break;case"W":n=Td(1,!0);break;case"d":n=te(2,1);break;case"dd":n=te(2,2);break;case"c":case"cc":n=te(7,1);break;case"ccc":n=G(1,V.Abbreviated,de.Standalone);break;case"cccc":n=G(1,V.Wide,de.Standalone);break;case"ccccc":n=G(1,V.Narrow,de.Standalone);break;case"cccccc":n=G(1,V.Short,de.Standalone);break;case"E":case"EE":case"EEE":n=G(1,V.Abbreviated);break;case"EEEE":n=G(1,V.Wide);break;case"EEEEE":n=G(1,V.Narrow);break;case"EEEEEE":n=G(1,V.Short);break;case"a":case"aa":case"aaa":n=G(0,V.Abbreviated);break;case"aaaa":n=G(0,V.Wide);break;case"aaaaa":n=G(0,V.Narrow);break;case"b":case"bb":case"bbb":n=G(0,V.Abbreviated,de.Standalone,!0);break;case"bbbb":n=G(0,V.Wide,de.Standalone,!0);break;case"bbbbb":n=G(0,V.Narrow,de.Standalone,!0);break;case"B":case"BB":case"BBB":n=G(0,V.Abbreviated,de.Format,!0);break;case"BBBB":n=G(0,V.Wide,de.Format,!0);break;case"BBBBB":n=G(0,V.Narrow,de.Format,!0);break;case"h":n=te(3,1,-12);break;case"hh":n=te(3,2,-12);break;case"H":n=te(3,1);break;case"HH":n=te(3,2);break;case"m":n=te(4,1);break;case"mm":n=te(4,2);break;case"s":n=te(5,1);break;case"ss":n=te(5,2);break;case"S":n=te(6,1);break;case"SS":n=te(6,2);break;case"SSS":n=te(6,3);break;case"Z":case"ZZ":case"ZZZ":n=Ua(0);break;case"ZZZZZ":n=Ua(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":n=Ua(1);break;case"OOOO":case"ZZZZ":case"zzzz":n=Ua(2);break;default:return null}return _d[e]=n,n}function Yy(e,n){e=e.replace(/:/g,"");let t=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(t)?n:t}function JT(e,n){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+n),e}function XT(e,n,t){let o=e.getTimezoneOffset(),i=Yy(n,o);return JT(e,-1*(i-o))}function e_(e){if(Fy(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 Wa(o,i-1,s)}let t=parseFloat(e);if(!isNaN(e-t))return new Date(t);let r;if(r=e.match(zT))return t_(r)}let n=new Date(e);if(!Fy(n))throw new m(2311,!1);return n}function t_(e){let n=new Date(0),t=0,r=0,o=e[8]?n.setUTCFullYear:n.setFullYear,i=e[8]?n.setUTCHours:n.setHours;e[9]&&(t=Number(e[9]+e[10]),r=Number(e[9]+e[11])),o.call(n,Number(e[1]),Number(e[2])-1,Number(e[3]));let s=Number(e[4]||0)-t,a=Number(e[5]||0)-r,c=Number(e[6]||0),u=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return i.call(n,s,a,c,u),n}function Fy(e){return e instanceof Date&&!isNaN(e.valueOf())}var n_=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Py=22,qa=".",yi="0",r_=";",o_=",",Md="#";function i_(e,n,t,r,o,i,s=!1){let a="",c=!1;if(!isFinite(e))a=It(t,Ne.Infinity);else{let u=c_(e);s&&(u=a_(u));let l=n.minInt,d=n.minFrac,p=n.maxFrac;if(i){let F=i.match(n_);if(F===null)throw new m(2306,!1);let fe=F[1],z=F[3],Ge=F[5];fe!=null&&(l=Sd(fe)),z!=null&&(d=Sd(z)),Ge!=null?p=Sd(Ge):z!=null&&d>p&&(p=d);let Oe=100;if(l>Oe||d>Oe||p>Oe)throw new m(2306,!1)}u_(u,d,p);let f=u.digits,h=u.integerLen,v=u.exponent,y=[];for(c=f.every(F=>!F);h<l;h++)f.unshift(0);for(;h<0;h++)f.unshift(0);h>0?y=f.splice(h,f.length):(y=f,f=[0]);let E=[];for(f.length>=n.lgSize&&E.unshift(f.splice(-n.lgSize,f.length).join(""));f.length>n.gSize;)E.unshift(f.splice(-n.gSize,f.length).join(""));f.length&&E.unshift(f.join("")),a=E.join(It(t,r)),y.length&&(a+=It(t,o)+y.join("")),v&&(a+=It(t,Ne.Exponential)+"+"+v)}return e<0&&!c?a=n.negPre+a+n.negSuf:a=n.posPre+a+n.posSuf,a}function Qy(e,n,t){let r=Uy(n,Nd.Decimal),o=s_(r,It(n,Ne.MinusSign));return i_(e,o,n,Ne.Group,Ne.Decimal,t)}function s_(e,n="-"){let t={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(r_),o=r[0],i=r[1],s=o.indexOf(qa)!==-1?o.split(qa):[o.substring(0,o.lastIndexOf(yi)+1),o.substring(o.lastIndexOf(yi)+1)],a=s[0],c=s[1]||"";t.posPre=a.substring(0,a.indexOf(Md));for(let l=0;l<c.length;l++){let d=c.charAt(l);d===yi?t.minFrac=t.maxFrac=l+1:d===Md?t.maxFrac=l+1:t.posSuf+=d}let u=a.split(o_);if(t.gSize=u[1]?u[1].length:0,t.lgSize=u[2]||u[1]?(u[2]||u[1]).length:0,i){let l=o.length-t.posPre.length-t.posSuf.length,d=i.indexOf(Md);t.negPre=i.substring(0,d).replace(/'/g,""),t.negSuf=i.slice(d+l).replace(/'/g,"")}else t.negPre=n+t.posPre,t.negSuf=t.posSuf;return t}function a_(e){if(e.digits[0]===0)return e;let n=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(n===0?e.digits.push(0,0):n===1&&e.digits.push(0),e.integerLen+=2),e}function c_(e){let n=Math.abs(e)+"",t=0,r,o,i,s,a;for((o=n.indexOf(qa))>-1&&(n=n.replace(qa,"")),(i=n.search(/e/i))>0?(o<0&&(o=i),o+=+n.slice(i+1),n=n.substring(0,i)):o<0&&(o=n.length),i=0;n.charAt(i)===yi;i++);if(i===(a=n.length))r=[0],o=1;else{for(a--;n.charAt(a)===yi;)a--;for(o-=i,r=[],s=0;i<=a;i++,s++)r[s]=Number(n.charAt(i))}return o>Py&&(r=r.splice(0,Py-1),t=o-1,o=1),{digits:r,exponent:t,integerLen:o}}function u_(e,n,t){if(n>t)throw new m(2307,!1);let r=e.digits,o=r.length-e.integerLen,i=Math.min(Math.max(n,o),t),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=n+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 Sd(e){let n=parseInt(e);if(isNaN(n))throw new m(2305,!1);return n}var l_=(()=>{class e{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(t,r,o){this._ngEl=t,this._differs=r,this._renderer=o}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}ngDoCheck(){if(this._differ){let t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_setStyle(t,r){let[o,i]=t.split("."),s=o.indexOf("-")===-1?void 0:st.DashCase;r!=null?this._renderer.setStyle(this._ngEl.nativeElement,o,i?`${r}${i}`:r,s):this._renderer.removeStyle(this._ngEl.nativeElement,o,s)}_applyChanges(t){t.forEachRemovedItem(r=>this._setStyle(r.key,null)),t.forEachAddedItem(r=>this._setStyle(r.key,r.currentValue)),t.forEachChangedItem(r=>this._setStyle(r.key,r.currentValue))}static \u0275fac=function(r){return new(r||e)(De($e),De(Ba),De(ti))};static \u0275dir=gn({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return e})(),d_=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=g(X);constructor(t){this._viewContainerRef=t}ngOnChanges(t){if(this._shouldRecreateView(t)){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(t){return!!t.ngTemplateOutlet||!!t.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(t,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(t,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static \u0275fac=function(r){return new(r||e)(De(Hr))};static \u0275dir=gn({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[qo]})}return e})();function xd(e,n){return new m(2100,!1)}var f_=(()=>{class e{transform(t){return t==null?null:(Ad(e,t),t.toLowerCase())}static \u0275fac=function(r){return new(r||e)};static \u0275pipe=vt({name:"lowercase",type:e,pure:!0})}return e})(),p_=/(?:[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,h_=(()=>{class e{transform(t){return t==null?null:(Ad(e,t),t.replace(p_,r=>r[0].toUpperCase()+r.slice(1).toLowerCase()))}static \u0275fac=function(r){return new(r||e)};static \u0275pipe=vt({name:"titlecase",type:e,pure:!0})}return e})(),g_=(()=>{class e{transform(t){return t==null?null:(Ad(e,t),t.toUpperCase())}static \u0275fac=function(r){return new(r||e)};static \u0275pipe=vt({name:"uppercase",type:e,pure:!0})}return e})();function Ad(e,n){if(typeof n!="string")throw xd(e,n)}var m_="mediumDate",Ky=new I(""),Jy=new I(""),y_=(()=>{class e{locale;defaultTimezone;defaultOptions;constructor(t,r,o){this.locale=t,this.defaultTimezone=r,this.defaultOptions=o}transform(t,r,o,i){if(t==null||t===""||t!==t)return null;try{let s=r??this.defaultOptions?.dateFormat??m_,a=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return qy(t,s,i||this.locale,a)}catch(s){throw xd(e,s.message)}}static \u0275fac=function(r){return new(r||e)(De(Ur,16),De(Ky,24),De(Jy,24))};static \u0275pipe=vt({name:"date",type:e,pure:!0})}return e})();function v_(e,n){return{key:e,value:n}}var D_=(()=>{class e{differs;constructor(t){this.differs=t}differ;keyValues=[];compareFn=Ly;transform(t,r=Ly){if(!t||!(t instanceof Map)&&typeof t!="object")return null;this.differ??=this.differs.find(t).create();let o=this.differ.diff(t),i=r!==this.compareFn;return o&&(this.keyValues=[],o.forEachItem(s=>{this.keyValues.push(v_(s.key,s.currentValue))})),(o||i)&&(r&&this.keyValues.sort(r),this.compareFn=r),this.keyValues}static \u0275fac=function(r){return new(r||e)(De(Ba,16))};static \u0275pipe=vt({name:"keyvalue",type:e,pure:!1})}return e})();function Ly(e,n){let t=e.key,r=n.key;if(t===r)return 0;if(t==null)return 1;if(r==null)return-1;if(typeof t=="string"&&typeof r=="string")return t<r?-1:1;if(typeof t=="number"&&typeof r=="number")return t-r;if(typeof t=="boolean"&&typeof r=="boolean")return t<r?-1:1;let o=String(t),i=String(r);return o==i?0:o<i?-1:1}var E_=(()=>{class e{_locale;constructor(t){this._locale=t}transform(t,r,o){if(!C_(t))return null;o||=this._locale;try{let i=I_(t);return Qy(i,o,r)}catch(i){throw xd(e,i.message)}}static \u0275fac=function(r){return new(r||e)(De(Ur,16))};static \u0275pipe=vt({name:"number",type:e,pure:!0})}return e})();function C_(e){return!(e==null||e===""||e!==e)}function I_(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 Xy=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=hn({type:e});static \u0275inj=Ot({})}return e})();function vi(e,n){n=encodeURIComponent(n);for(let t of e.split(";")){let r=t.indexOf("="),[o,i]=r==-1?[t,""]:[t.slice(0,r),t.slice(r+1)];if(o.trim()===n)return decodeURIComponent(i)}return null}var sr=class{};function SH(e,n,t){return hd(e,n,t)}var Od="browser";function NH(e){return e===Od}var xH=(()=>{class e{static \u0275prov=D({token:e,providedIn:"root",factory:()=>new Rd(g(W),window)})}return e})(),Rd=class{document;window;offset=()=>[0,0];constructor(n,t){this.document=n,this.window=t}setOffset(n){Array.isArray(n)?this.offset=()=>n:this.offset=n}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(n,t){this.window.scrollTo(H(N({},t),{left:n[0],top:n[1]}))}scrollToAnchor(n,t){let r=b_(this.document,n);r&&(this.scrollToElement(r,t),r.focus({preventScroll:!0}))}setHistoryScrollRestoration(n){try{this.window.history.scrollRestoration=n}catch(t){console.warn(pt(2400,!1))}}scrollToElement(n,t){let r=n.getBoundingClientRect(),o=r.left+this.window.pageXOffset,i=r.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(H(N({},t),{left:o-s[0],top:i-s[1]}))}};function b_(e,n){let t=e.getElementById(n)||e.getElementsByName(n)[0];if(t)return t;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(n)||i.querySelector(`[name="${n}"]`);if(s)return s}o=r.nextNode()}}return null}var nv=e=>e.src,T_=new I("",{factory:()=>nv});var ev=/^((\s*\d+w\s*(,|$)){1,})$/;var __=[1,2],M_=640;var S_=1920,N_=1080;var AH=(()=>{class e{imageLoader=g(T_);config=x_(g(ga));renderer=g(ti);imgElement=g($e).nativeElement;injector=g(X);destroyRef=g(He);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(){Re("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");let t=this.updateSrcAndSrcset();this.sizes?this.getLoadingBehavior()==="lazy"?this.setHostAttribute("sizes","auto, "+this.sizes):this.setHostAttribute("sizes",this.sizes):this.ngSrcset&&ev.test(this.ngSrcset)&&this.getLoadingBehavior()==="lazy"&&this.setHostAttribute("sizes","auto, 100vw")}ngOnChanges(t){if(t.ngSrc&&!t.ngSrc.isFirstChange()){let r=this._renderedSrc;this.updateSrcAndSrcset(!0)}}getAspectRatio(){return this.width&&this.height&&this.height!==0?this.width/this.height:null}callImageLoader(t){let r=t;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 t={src:this.ngSrc};this._renderedSrc=this.callImageLoader(t)}return this._renderedSrc}getRewrittenSrcset(){let t=ev.test(this.ngSrcset);return this.ngSrcset.split(",").filter(o=>o!=="").map(o=>{o=o.trim();let i=t?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:t}=this.config,r=t;return this.sizes?.trim()==="100vw"&&(r=t.filter(i=>i>=M_)),r.map(i=>`${this.callImageLoader({src:this.ngSrc,width:i})} ${i}w`).join(", ")}updateSrcAndSrcset(t=!1){t&&(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 __.map(r=>`${this.callImageLoader({src:this.ngSrc,width:this.width*r})} ${r}x`).join(", ")}shouldGenerateAutomaticSrcset(){let t=!1;return this.sizes||(t=this.width>S_||this.height>N_),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==nv&&!t}generatePlaceholder(t){let{placeholderResolution:r}=this.config;return t===!0?`url("${tv(this.callImageLoader({src:this.ngSrc,width:r,isPlaceholder:!0}))}")`:typeof t=="string"?`url("${tv(t)}")`:null}shouldBlurPlaceholder(t){return!t||!t.hasOwnProperty("blur")?!0:!!t.blur}removePlaceholderOnLoad(t){let r=()=>{let s=this.injector.get(di);o(),i(),this.placeholder=!1,s.markForCheck()},o=this.renderer.listen(t,"load",r),i=this.renderer.listen(t,"error",r);this.destroyRef.onDestroy(()=>{o(),i()}),A_(t,r)}setHostAttribute(t,r){this.renderer.setAttribute(this.imgElement,t,r)}static \u0275fac=function(r){return new(r||e)};static \u0275dir=gn({type:e,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(r,o){r&2&&Ht("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",R_],ngSrcset:"ngSrcset",sizes:"sizes",width:[2,"width","width",Id],height:[2,"height","height",Id],decoding:"decoding",loading:"loading",priority:[2,"priority","priority",fi],loaderParams:"loaderParams",disableOptimizedSrcset:[2,"disableOptimizedSrcset","disableOptimizedSrcset",fi],fill:[2,"fill","fill",fi],placeholder:[2,"placeholder","placeholder",O_],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},features:[qo]})}return e})();function x_(e){let n={};return e.breakpoints&&(n.breakpoints=e.breakpoints.sort((t,r)=>t-r)),Object.assign({},ha,e,n)}function A_(e,n){e.complete&&e.naturalWidth&&n()}function R_(e){return typeof e=="string"?e:Ie(e)}function tv(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}function O_(e){return typeof e=="string"&&e!=="true"&&e!=="false"&&e!==""?e:fi(e)}var Di=class{_doc;constructor(n){this._doc=n}manager},Za=(()=>{class e extends Di{constructor(t){super(t)}supports(t){return!0}addEventListener(t,r,o,i){return t.addEventListener(r,o,i),()=>this.removeEventListener(t,r,o,i)}removeEventListener(t,r,o,i){return t.removeEventListener(r,o,i)}static \u0275fac=function(r){return new(r||e)(_(W))};static \u0275prov=D({token:e,factory:e.\u0275fac})}return e})(),Ka=new I(""),Ld=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(t,r){this._zone=r,t.forEach(s=>{s.manager=this});let o=t.filter(s=>!(s instanceof Za));this._plugins=o.slice().reverse();let i=t.find(s=>s instanceof Za);i&&this._plugins.push(i)}addEventListener(t,r,o,i){return this._findPluginFor(r).addEventListener(t,r,o,i)}getZone(){return this._zone}_findPluginFor(t){let r=this._eventNameToPlugin.get(t);if(r)return r;if(r=this._plugins.find(i=>i.supports(t)),!r)throw new m(5101,!1);return this._eventNameToPlugin.set(t,r),r}static \u0275fac=function(r){return new(r||e)(_(Ka),_(ie))};static \u0275prov=D({token:e,factory:e.\u0275fac})}return e})(),kd="ng-app-id";function rv(e){for(let n of e)n.remove()}function ov(e,n){let t=n.createElement("style");return t.textContent=e,t}function k_(e,n,t,r){let o=e.head?.querySelectorAll(`style[${kd}="${n}"],link[${kd}="${n}"]`);if(o)for(let i of o)i.removeAttribute(kd),i instanceof HTMLLinkElement?r.set(i.href.slice(i.href.lastIndexOf("/")+1),{usage:0,elements:[i]}):i.textContent&&t.set(i.textContent,{usage:0,elements:[i]})}function Pd(e,n){let t=n.createElement("link");return t.setAttribute("rel","stylesheet"),t.setAttribute("href",e),t}var jd=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(t,r,o,i={}){this.doc=t,this.appId=r,this.nonce=o,k_(t,r,this.inline,this.external),this.hosts.add(t.head)}addStyles(t,r){for(let o of t)this.addUsage(o,this.inline,ov);r?.forEach(o=>this.addUsage(o,this.external,Pd))}removeStyles(t,r){for(let o of t)this.removeUsage(o,this.inline);r?.forEach(o=>this.removeUsage(o,this.external))}addUsage(t,r,o){let i=r.get(t);i?i.usage++:r.set(t,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,o(t,this.doc)))})}removeUsage(t,r){let o=r.get(t);o&&(o.usage--,o.usage<=0&&(rv(o.elements),r.delete(t)))}ngOnDestroy(){for(let[,{elements:t}]of[...this.inline,...this.external])rv(t);this.hosts.clear()}addHost(t){this.hosts.add(t);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(t,ov(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(t,Pd(r,this.doc)))}removeHost(t){this.hosts.delete(t)}addElement(t,r){return this.nonce&&r.setAttribute("nonce",this.nonce),t.appendChild(r)}static \u0275fac=function(r){return new(r||e)(_(W),_(fa),_(Yo,8),_(Zo))};static \u0275prov=D({token:e,factory:e.\u0275fac})}return e})(),Fd={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"},Bd=/%COMP%/g;var sv="%COMP%",F_=`_nghost-${sv}`,P_=`_ngcontent-${sv}`,L_=!0,j_=new I("",{factory:()=>L_});function B_(e){return P_.replace(Bd,e)}function V_(e){return F_.replace(Bd,e)}function av(e,n){return n.map(t=>t.replace(Bd,e))}var Vd=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(t,r,o,i,s,a,c=null,u=null){this.eventManager=t,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.ngZone=a,this.nonce=c,this.tracingService=u,this.defaultRenderer=new Ei(t,s,a,this.tracingService)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;let o=this.getOrCreateRenderer(t,r);return o instanceof Qa?o.applyToHost(t):o instanceof Ci&&o.applyStyles(),o}getOrCreateRenderer(t,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 it.Emulated:i=new Qa(c,u,r,this.appId,l,s,a,d);break;case it.ShadowDom:return new Ya(c,t,r,s,a,this.nonce,d,u);case it.ExperimentalIsolatedShadowDom:return new Ya(c,t,r,s,a,this.nonce,d);default:i=new Ci(c,u,r,l,s,a,d);break}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(t){this.rendererByCompId.delete(t)}static \u0275fac=function(r){return new(r||e)(_(Ld),_(jd),_(fa),_(j_),_(W),_(ie),_(Yo),_(yt,8))};static \u0275prov=D({token:e,factory:e.\u0275fac})}return e})(),Ei=class{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,t,r,o){this.eventManager=n,this.doc=t,this.ngZone=r,this.tracingService=o}destroy(){}destroyNode=null;createElement(n,t){return t?this.doc.createElementNS(Fd[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(iv(n)?n.content:n).appendChild(t)}insertBefore(n,t,r){n&&(iv(n)?n.content:n).insertBefore(t,r)}removeChild(n,t){t.remove()}selectRootElement(n,t){let r=typeof n=="string"?this.doc.querySelector(n):n;if(!r)throw new m(-5104,!1);return t||(r.textContent=""),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,r,o){if(o){t=o+":"+t;let i=Fd[o];i?n.setAttributeNS(i,t,r):n.setAttribute(t,r)}else n.setAttribute(t,r)}removeAttribute(n,t,r){if(r){let o=Fd[r];o?n.removeAttributeNS(o,t):n.removeAttribute(`${r}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,r,o){o&(st.DashCase|st.Important)?n.style.setProperty(t,r,o&st.Important?"important":""):n.style[t]=r}removeStyle(n,t,r){r&st.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,r){n!=null&&(n[t]=r)}setValue(n,t){n.nodeValue=t}listen(n,t,r,o){if(typeof n=="string"&&(n=Ut().getGlobalEventTarget(this.doc,n),!n))throw new m(5102,!1);let i=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(i=this.tracingService.wrapEventListener(n,t,i)),this.eventManager.addEventListener(n,t,i,o)}decoratePreventDefault(n){return t=>{if(t==="__ngUnwrap__")return n;n(t)===!1&&t.preventDefault()}}};function iv(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var Ya=class extends Ei{hostEl;sharedStylesHost;shadowRoot;constructor(n,t,r,o,i,s,a,c){super(n,o,i,a),this.hostEl=t,this.sharedStylesHost=c,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let u=r.styles;u=av(r.id,u);for(let d of u){let p=document.createElement("style");s&&p.setAttribute("nonce",s),p.textContent=d,this.shadowRoot.appendChild(p)}let l=r.getExternalStyles?.();if(l)for(let d of l){let p=Pd(d,o);s&&p.setAttribute("nonce",s),this.shadowRoot.appendChild(p)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,t){return super.appendChild(this.nodeOrShadowRoot(n),t)}insertBefore(n,t,r){return super.insertBefore(this.nodeOrShadowRoot(n),t,r)}removeChild(n,t){return super.removeChild(null,t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}},Ci=class extends Ei{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,t,r,o,i,s,a,c){super(n,i,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=o;let u=r.styles;this.styles=c?av(c,u):u,this.styleUrls=r.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&Kn.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Qa=class extends Ci{contentAttr;hostAttr;constructor(n,t,r,o,i,s,a,c){let u=o+"-"+r.id;super(n,t,r,i,s,a,c,u),this.contentAttr=B_(u),this.hostAttr=V_(u)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){let r=super.createElement(n,t);return super.setAttribute(r,this.contentAttr,""),r}};var Ja=class e extends pi{supportsDOMEvents=!0;static makeCurrent(){wd(new e)}onAndCancel(n,t,r,o){return n.addEventListener(t,r,o),()=>{n.removeEventListener(t,r,o)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.remove()}createElement(n,t){return t=t||this.getDefaultDocument(),t.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,t){return t==="window"?window:t==="document"?n:t==="body"?n.body:null}getBaseHref(n){let t=H_();return t==null?null:$_(t)}resetBaseElement(){Ii=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return vi(document.cookie,n)}},Ii=null;function H_(){return Ii=Ii||document.head.querySelector("base"),Ii?Ii.getAttribute("href"):null}function $_(e){return new URL(e,document.baseURI).pathname}var U_=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=D({token:e,factory:e.\u0275fac})}return e})(),cv=["alt","control","meta","shift"],z_={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},G_={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},uv=(()=>{class e extends Di{constructor(t){super(t)}supports(t){return e.parseEventName(t)!=null}addEventListener(t,r,o,i){let s=e.parseEventName(r),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Ut().onAndCancel(t,s.domEventName,a,i))}static parseEventName(t){let r=t.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."),cv.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(t,r){let o=z_[t.key]||t.key,i="";return r.indexOf("code.")>-1&&(o=t.code,i="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),cv.forEach(s=>{if(s!==o){let a=G_[s];a(t)&&(i+=s+".")}}),i+=o,i===r)}static eventCallback(t,r,o){return i=>{e.matchEventFullKeyCode(i,t)&&o.runGuarded(()=>r(i))}}static _normalizeKey(t){return t==="esc"?"escape":t}static \u0275fac=function(r){return new(r||e)(_(W))};static \u0275prov=D({token:e,factory:e.\u0275fac})}return e})();function W_(e,n,t){return Zt(this,null,function*(){let r=N({rootComponent:e},q_(n,t));return My(r)})}function q_(e,n){return{platformRef:n?.platformRef,appProviders:[...J_,...e?.providers??[]],platformProviders:K_}}function Z_(){Ja.makeCurrent()}function Y_(){return new ke}function Q_(){return Ol(document),document}var K_=[{provide:Zo,useValue:Od},{provide:pa,useValue:Z_,multi:!0},{provide:W,useFactory:Q_}];var J_=[{provide:Do,useValue:"root"},{provide:ke,useFactory:Y_},{provide:Ka,useClass:Za,multi:!0},{provide:Ka,useClass:uv,multi:!0},Vd,jd,Ld,{provide:Jn,useExisting:Vd},{provide:sr,useClass:U_},[]];var bt=class e{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(n){n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(`
`).forEach(t=>{let r=t.indexOf(":");if(r>0){let o=t.slice(0,r),i=t.slice(r+1).trim();this.addHeaderEntry(o,i)}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((t,r)=>{this.addHeaderEntry(r,t)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([t,r])=>{this.setHeaderEntries(t,r)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();let t=this.headers.get(n.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,t){return this.clone({name:n,value:t,op:"a"})}set(n,t){return this.clone({name:n,value:t,op:"s"})}delete(n,t){return this.clone({name:n,value:t,op:"d"})}maybeSetNormalizedName(n,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,n)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(t=>{this.headers.set(t,n.headers.get(t)),this.normalizedNames.set(t,n.normalizedNames.get(t))})}clone(n){let t=new e;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([n]),t}applyUpdate(n){let t=n.name.toLowerCase();switch(n.op){case"a":case"s":let r=n.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(n.name,t);let o=(n.op==="a"?this.headers.get(t):void 0)||[];o.push(...r),this.headers.set(t,o);break;case"d":let i=n.value;if(!i)this.headers.delete(t),this.normalizedNames.delete(t);else{let s=this.headers.get(t);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,s)}break}}addHeaderEntry(n,t){let r=n.toLowerCase();this.maybeSetNormalizedName(n,r),this.headers.has(r)?this.headers.get(r).push(t):this.headers.set(r,[t])}setHeaderEntries(n,t){let r=(Array.isArray(t)?t:[t]).map(i=>i.toString()),o=n.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(n,o)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>n(this.normalizedNames.get(t),this.headers.get(t)))}};var tc=class{map=new Map;set(n,t){return this.map.set(n,t),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}},nc=class{encodeKey(n){return lv(n)}encodeValue(n){return lv(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function X_(e,n){let t=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{let i=o.indexOf("="),[s,a]=i==-1?[n.decodeKey(o),""]:[n.decodeKey(o.slice(0,i)),n.decodeValue(o.slice(i+1))],c=t.get(s)||[];c.push(a),t.set(s,c)}),t}var eM=/%(\d[a-f0-9])/gi,tM={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function lv(e){return encodeURIComponent(e).replace(eM,(n,t)=>tM[t]??n)}function Xa(e){return`${e}`}var Gt=class e{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new nc,n.fromString){if(n.fromObject)throw new m(2805,!1);this.map=X_(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(t=>{let r=n.fromObject[t],o=Array.isArray(r)?r.map(Xa):[Xa(r)];this.map.set(t,o)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();let t=this.map.get(n);return t?t[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,t){return this.clone({param:n,value:t,op:"a"})}appendAll(n){let t=[];return Object.keys(n).forEach(r=>{let o=n[r];Array.isArray(o)?o.forEach(i=>{t.push({param:r,value:i,op:"a"})}):t.push({param:r,value:o,op:"a"})}),this.clone(t)}set(n,t){return this.clone({param:n,value:t,op:"s"})}delete(n,t){return this.clone({param:n,value:t,op:"d"})}toString(){return this.init(),this.keys().map(n=>{let t=this.encoder.encodeKey(n);return this.map.get(n).map(r=>t+"="+this.encoder.encodeValue(r)).join("&")}).filter(n=>n!=="").join("&")}clone(n){let t=new e({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(n),t}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":let t=(n.op==="a"?this.map.get(n.param):void 0)||[];t.push(Xa(n.value)),this.map.set(n.param,t);break;case"d":if(n.value!==void 0){let r=this.map.get(n.param)||[],o=r.indexOf(Xa(n.value));o!==-1&&r.splice(o,1),r.length>0?this.map.set(n.param,r):this.map.delete(n.param)}else{this.map.delete(n.param);break}}}),this.cloneFrom=this.updates=null)}};function nM(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function dv(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function fv(e){return typeof Blob<"u"&&e instanceof Blob}function pv(e){return typeof FormData<"u"&&e instanceof FormData}function rM(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var wi="Content-Type",rc="Accept",gv="text/plain",mv="application/json",yv=`${mv}, ${gv}, */*`,Gr=class e{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(n,t,r,o){this.url=t,this.method=n.toUpperCase();let i;if(nM(this.method)||o?(this.body=r!==void 0?r:null,i=o):i=r,i){if(this.reportProgress=!!i.reportProgress,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&&(this.referrer=i.referrer),i.referrerPolicy&&(this.referrerPolicy=i.referrerPolicy),this.transferCache=i.transferCache}if(this.headers??=new bt,this.context??=new tc,!this.params)this.params=new Gt,this.urlWithParams=t;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=t;else{let a=t.indexOf("?"),c=a===-1?"?":a<t.length-1?"&":"";this.urlWithParams=t+c+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||dv(this.body)||fv(this.body)||pv(this.body)||rM(this.body)?this.body:this.body instanceof Gt?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||pv(this.body)?null:fv(this.body)?this.body.type||null:dv(this.body)?null:typeof this.body=="string"?gv:this.body instanceof Gt?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?mv:null}clone(n={}){let t=n.method||this.method,r=n.url||this.url,o=n.responseType||this.responseType,i=n.keepalive??this.keepalive,s=n.priority||this.priority,a=n.cache||this.cache,c=n.mode||this.mode,u=n.redirect||this.redirect,l=n.credentials||this.credentials,d=n.referrer||this.referrer,p=n.integrity||this.integrity,f=n.referrerPolicy||this.referrerPolicy,h=n.transferCache??this.transferCache,v=n.timeout??this.timeout,y=n.body!==void 0?n.body:this.body,E=n.withCredentials??this.withCredentials,F=n.reportProgress??this.reportProgress,fe=n.headers||this.headers,z=n.params||this.params,Ge=n.context??this.context;return n.setHeaders!==void 0&&(fe=Object.keys(n.setHeaders).reduce((Oe,Tt)=>Oe.set(Tt,n.setHeaders[Tt]),fe)),n.setParams&&(z=Object.keys(n.setParams).reduce((Oe,Tt)=>Oe.set(Tt,n.setParams[Tt]),z)),new e(t,r,y,{params:z,headers:fe,context:Ge,reportProgress:F,responseType:o,withCredentials:E,transferCache:h,keepalive:i,cache:a,priority:s,timeout:v,mode:c,redirect:u,credentials:l,referrer:d,integrity:p,referrerPolicy:f})}},Wt=(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})(Wt||{}),Wr=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(n,t=200,r="OK"){this.headers=n.headers||new bt,this.status=n.status!==void 0?n.status:t,this.statusText=n.statusText||r,this.url=n.url||null,this.redirected=n.redirected,this.responseType=n.responseType,this.ok=this.status>=200&&this.status<300}},bi=class e extends Wr{constructor(n={}){super(n)}type=Wt.ResponseHeader;clone(n={}){return new e({headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},qr=class e extends Wr{body;constructor(n={}){super(n),this.body=n.body!==void 0?n.body:null}type=Wt.Response;clone(n={}){return new e({body:n.body!==void 0?n.body:this.body,headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0,redirected:n.redirected??this.redirected,responseType:n.responseType??this.responseType})}},wt=class extends Wr{name="HttpErrorResponse";message;error;ok=!1;constructor(n){super(n,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${n.url||"(unknown url)"}`:this.message=`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}},vv=200,oM=204;var iM=/^\)\]\}',?\n/,Dv=new I(""),ec=(()=>{class e{fetchImpl=g($d,{optional:!0})?.fetch??((...t)=>globalThis.fetch(...t));ngZone=g(ie);destroyRef=g(He);handle(t){return new x(r=>{let o=new AbortController;this.doRequest(t,o.signal,r).then(Ud,s=>r.error(new wt({error:s})));let i;return t.timeout&&(i=this.ngZone.runOutsideAngular(()=>setTimeout(()=>{o.signal.aborted||o.abort(new DOMException("signal timed out","TimeoutError"))},t.timeout))),()=>{i!==void 0&&clearTimeout(i),o.abort()}})}doRequest(t,r,o){return Zt(this,null,function*(){let i=this.createRequestInit(t),s;try{let v=this.ngZone.runOutsideAngular(()=>this.fetchImpl(t.urlWithParams,N({signal:r},i)));sM(v),o.next({type:Wt.Sent}),s=yield v}catch(v){o.error(new wt({error:v,status:v.status??0,statusText:v.statusText,url:t.urlWithParams,headers:v.headers}));return}let a=new bt(s.headers),c=s.statusText,u=s.url||t.urlWithParams,l=s.status,d=null;if(t.reportProgress&&o.next(new bi({headers:a,status:l,statusText:c,url:u})),s.body){let v=s.headers.get("content-length"),y=[],E=s.body.getReader(),F=0,fe,z,Ge=typeof Zone<"u"&&Zone.current,Oe=!1;if(yield this.ngZone.runOutsideAngular(()=>Zt(this,null,function*(){for(;;){if(this.destroyRef.destroyed){yield E.cancel(),Oe=!0;break}let{done:Jr,value:dc}=yield E.read();if(Jr)break;if(y.push(dc),F+=dc.length,t.reportProgress){z=t.responseType==="text"?(z??"")+(fe??=new TextDecoder).decode(dc,{stream:!0}):void 0;let of=()=>o.next({type:Wt.DownloadProgress,total:v?+v:void 0,loaded:F,partialText:z});Ge?Ge.run(of):of()}}})),Oe){o.complete();return}let Tt=this.concatChunks(y,F);try{let Jr=s.headers.get(wi)??"";d=this.parseBody(t,Tt,Jr,l)}catch(Jr){o.error(new wt({error:Jr,headers:new bt(s.headers),status:s.status,statusText:s.statusText,url:s.url||t.urlWithParams}));return}}l===0&&(l=d?vv:0);let p=l>=200&&l<300,f=s.redirected,h=s.type;p?(o.next(new qr({body:d,headers:a,status:l,statusText:c,url:u,redirected:f,responseType:h})),o.complete()):o.error(new wt({error:d,headers:a,status:l,statusText:c,url:u,redirected:f,responseType:h}))})}parseBody(t,r,o,i){switch(t.responseType){case"json":let s=new TextDecoder().decode(r).replace(iM,"");if(s==="")return null;try{return JSON.parse(s)}catch(a){if(i<200||i>=300)return s;throw a}case"text":return new TextDecoder().decode(r);case"blob":return new Blob([r],{type:o});case"arraybuffer":return r.buffer}}createRequestInit(t){let r={},o;if(o=t.credentials,t.withCredentials&&(o="include"),t.headers.forEach((i,s)=>r[i]=s.join(",")),t.headers.has(rc)||(r[rc]=yv),!t.headers.has(wi)){let i=t.detectContentTypeHeader();i!==null&&(r[wi]=i)}return{body:t.serializeBody(),method:t.method,headers:r,credentials:o,keepalive:t.keepalive,cache:t.cache,priority:t.priority,mode:t.mode,redirect:t.redirect,referrer:t.referrer,integrity:t.integrity,referrerPolicy:t.referrerPolicy}}concatChunks(t,r){let o=new Uint8Array(r),i=0;for(let s of t)o.set(s,i),i+=s.length;return o}static \u0275fac=function(r){return new(r||e)};static \u0275prov=D({token:e,factory:e.\u0275fac})}return e})(),$d=class{};function Ud(){}function sM(e){e.then(Ud,Ud)}var aM=/^\)\]\}',?\n/;var zd=(()=>{class e{xhrFactory;tracingService=g(yt,{optional:!0});constructor(t){this.xhrFactory=t}maybePropagateTrace(t){return this.tracingService?.propagate?this.tracingService.propagate(t):t}handle(t){if(t.method==="JSONP")throw new m(-2800,!1);let r=this.xhrFactory;return Qe(null).pipe(_n(()=>new x(i=>{let s=r.build();if(s.open(t.method,t.urlWithParams),t.withCredentials&&(s.withCredentials=!0),t.headers.forEach((y,E)=>s.setRequestHeader(y,E.join(","))),t.headers.has(rc)||s.setRequestHeader(rc,yv),!t.headers.has(wi)){let y=t.detectContentTypeHeader();y!==null&&s.setRequestHeader(wi,y)}if(t.timeout&&(s.timeout=t.timeout),t.responseType){let y=t.responseType.toLowerCase();s.responseType=y!=="json"?y:"text"}let a=t.serializeBody(),c=null,u=()=>{if(c!==null)return c;let y=s.statusText||"OK",E=new bt(s.getAllResponseHeaders()),F=s.responseURL||t.url;return c=new bi({headers:E,status:s.status,statusText:y,url:F}),c},l=this.maybePropagateTrace(()=>{let{headers:y,status:E,statusText:F,url:fe}=u(),z=null;E!==oM&&(z=typeof s.response>"u"?s.responseText:s.response),E===0&&(E=z?vv:0);let Ge=E>=200&&E<300;if(t.responseType==="json"&&typeof z=="string"){let Oe=z;z=z.replace(aM,"");try{z=z!==""?JSON.parse(z):null}catch(Tt){z=Oe,Ge&&(Ge=!1,z={error:Tt,text:z})}}Ge?(i.next(new qr({body:z,headers:y,status:E,statusText:F,url:fe||void 0})),i.complete()):i.error(new wt({error:z,headers:y,status:E,statusText:F,url:fe||void 0}))}),d=this.maybePropagateTrace(y=>{let{url:E}=u(),F=new wt({error:y,status:s.status||0,statusText:s.statusText||"Unknown Error",url:E||void 0});i.error(F)}),p=d;t.timeout&&(p=this.maybePropagateTrace(y=>{let{url:E}=u(),F=new wt({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:E||void 0});i.error(F)}));let f=!1,h=this.maybePropagateTrace(y=>{f||(i.next(u()),f=!0);let E={type:Wt.DownloadProgress,loaded:y.loaded};y.lengthComputable&&(E.total=y.total),t.responseType==="text"&&s.responseText&&(E.partialText=s.responseText),i.next(E)}),v=this.maybePropagateTrace(y=>{let E={type:Wt.UploadProgress,loaded:y.loaded};y.lengthComputable&&(E.total=y.total),i.next(E)});return s.addEventListener("load",l),s.addEventListener("error",d),s.addEventListener("timeout",p),s.addEventListener("abort",d),t.reportProgress&&(s.addEventListener("progress",h),a!==null&&s.upload&&s.upload.addEventListener("progress",v)),s.send(a),i.next({type:Wt.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",l),s.removeEventListener("timeout",p),t.reportProgress&&(s.removeEventListener("progress",h),a!==null&&s.upload&&s.upload.removeEventListener("progress",v)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||e)(_(sr))};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Ev(e,n){return n(e)}function cM(e,n){return(t,r)=>n.intercept(t,{handle:o=>e(o,r)})}function uM(e,n,t){return(r,o)=>Tr(t,()=>n(r,i=>e(i,o)))}var Cv=new I(""),ic=new I("",{factory:()=>[]}),Iv=new I(""),Gd=new I("",{factory:()=>!0});function lM(){let e=null;return(n,t)=>{e===null&&(e=(g(Cv,{optional:!0})??[]).reduceRight(cM,Ev));let r=g(xr);if(g(Gd)){let i=r.add();return e(n,t).pipe(es(i))}else return e(n,t)}}var sc=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=D({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=_(zd),o},providedIn:"root"})}return e})();var oc=(()=>{class e{backend;injector;chain=null;pendingTasks=g(xr);contributeToStability=g(Gd);constructor(t,r){this.backend=t,this.injector=r}handle(t){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(ic),...this.injector.get(Iv,[])]));this.chain=r.reduceRight((o,i)=>uM(o,i,this.injector),Ev)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(t,o=>this.backend.handle(o)).pipe(es(r))}else return this.chain(t,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||e)(_(sc),_(ge))};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Wd=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=D({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=_(oc),o},providedIn:"root"})}return e})();function Hd(e,n){return{body:n,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,credentials:e.credentials,transferCache:e.transferCache,timeout:e.timeout,keepalive:e.keepalive,priority:e.priority,cache:e.cache,mode:e.mode,redirect:e.redirect,integrity:e.integrity,referrer:e.referrer,referrerPolicy:e.referrerPolicy}}var ac=(()=>{class e{handler;constructor(t){this.handler=t}request(t,r,o={}){let i;if(t instanceof Gr)i=t;else{let c;o.headers instanceof bt?c=o.headers:c=new bt(o.headers);let u;o.params&&(o.params instanceof Gt?u=o.params:u=new Gt({fromObject:o.params})),i=new Gr(t,r,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:u,reportProgress:o.reportProgress,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=Qe(i).pipe(oo(c=>this.handler.handle(c)));if(t instanceof Gr||o.observe==="events")return s;let a=s.pipe(Tn(c=>c instanceof qr));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(ae(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new m(2806,!1);return c.body}));case"blob":return a.pipe(ae(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new m(2807,!1);return c.body}));case"text":return a.pipe(ae(c=>{if(c.body!==null&&typeof c.body!="string")throw new m(2808,!1);return c.body}));default:return a.pipe(ae(c=>c.body))}case"response":return a;default:throw new m(2809,!1)}}delete(t,r={}){return this.request("DELETE",t,r)}get(t,r={}){return this.request("GET",t,r)}head(t,r={}){return this.request("HEAD",t,r)}jsonp(t,r){return this.request("JSONP",t,{params:new Gt().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,r={}){return this.request("OPTIONS",t,r)}patch(t,r,o={}){return this.request("PATCH",t,Hd(o,r))}post(t,r,o={}){return this.request("POST",t,Hd(o,r))}put(t,r,o={}){return this.request("PUT",t,Hd(o,r))}static \u0275fac=function(r){return new(r||e)(_(Wd))};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var dM=new I("",{factory:()=>!0}),fM="XSRF-TOKEN",pM=new I("",{factory:()=>fM}),hM="X-XSRF-TOKEN",gM=new I("",{factory:()=>hM}),mM=(()=>{class e{cookieName=g(pM);doc=g(W);lastCookieString="";lastToken=null;parseCount=0;getToken(){let t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=vi(t,this.cookieName),this.lastCookieString=t),this.lastToken}static \u0275fac=function(r){return new(r||e)};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),wv=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=D({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=_(mM),o},providedIn:"root"})}return e})();function yM(e,n){if(!g(dM)||e.method==="GET"||e.method==="HEAD")return n(e);try{let o=g(zr).href,{origin:i}=new URL(o),{origin:s}=new URL(e.url,i);if(i!==s)return n(e)}catch(o){return n(e)}let t=g(wv).getToken(),r=g(gM);return t!=null&&!e.headers.has(r)&&(e=e.clone({headers:e.headers.set(r,t)})),n(e)}var Ti=(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})(Ti||{});function qd(e,n){return{\u0275kind:e,\u0275providers:n}}function vM(...e){let n=[ac,oc,{provide:Wd,useExisting:oc},{provide:sc,useFactory:()=>g(Dv,{optional:!0})??g(zd)},{provide:ic,useValue:yM,multi:!0}];for(let t of e)n.push(...t.\u0275providers);return on(n)}function DM(e){return qd(Ti.Interceptors,e.map(n=>({provide:ic,useValue:n,multi:!0})))}var hv=new I("");function EM(){return qd(Ti.LegacyInterceptors,[{provide:hv,useFactory:lM},{provide:ic,useExisting:hv,multi:!0}])}function CM(){return qd(Ti.Fetch,[ec,{provide:Dv,useExisting:ec},{provide:sc,useExisting:ec}])}var Z$=(()=>{class e{_doc;constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}static \u0275fac=function(r){return new(r||e)(_(W))};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Zd=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=D({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=_(IM),o},providedIn:"root"})}return e})(),IM=(()=>{class e extends Zd{_doc;constructor(t){super(),this._doc=t}sanitize(t,r){if(r==null)return null;switch(t){case we.NONE:return r;case we.HTML:return mt(r,"HTML")?Ie(r):va(this._doc,String(r)).toString();case we.STYLE:return mt(r,"Style")?Ie(r):r;case we.SCRIPT:if(mt(r,"Script"))return Ie(r);throw new m(5200,!1);case we.URL:return mt(r,"URL")?Ie(r):Qo(String(r));case we.RESOURCE_URL:if(mt(r,"ResourceURL"))return Ie(r);throw new m(5201,!1);default:throw new m(5202,!1)}}bypassSecurityTrustHtml(t){return Fl(t)}bypassSecurityTrustStyle(t){return Pl(t)}bypassSecurityTrustScript(t){return Ll(t)}bypassSecurityTrustUrl(t){return jl(t)}bypassSecurityTrustResourceUrl(t){return Bl(t)}static \u0275fac=function(r){return new(r||e)(_(W))};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Si=class{},wM=(()=>{class e{handle(t){return t.key}static \u0275fac=function(r){return new(r||e)};static \u0275prov=D({token:e,factory:e.\u0275fac})}return e})(),Zr=class{},bM=(()=>{class e extends Zr{compile(t,r){return t}compileTranslations(t,r){return t}static \u0275fac=(()=>{let t;return function(o){return(t||(t=pn(e)))(o||e)}})();static \u0275prov=D({token:e,factory:e.\u0275fac})}return e})(),Yr=class{},TM=(()=>{class e extends Yr{getTranslation(t){return Qe({})}static \u0275fac=(()=>{let t;return function(o){return(t||(t=pn(e)))(o||e)}})();static \u0275prov=D({token:e,factory:e.\u0275fac})}return e})();function cc(e,n){if(e===n)return!0;if(e===null||n===null)return!1;if(e!==e&&n!==n)return!0;let t=typeof e,r=typeof n,o;if(t==r&&t=="object")if(Array.isArray(e)){if(!Array.isArray(n))return!1;if((o=e.length)==n.length){for(let i=0;i<o;i++)if(!cc(e[i],n[i]))return!1;return!0}}else{if(Array.isArray(n))return!1;if(qt(e)&&qt(n)){let i=Object.create(null);for(let s in e){if(!cc(e[s],n[s]))return!1;i[s]=!0}for(let s in n)if(!(s in i)&&typeof n[s]<"u")return!1;return!0}}return!1}function vn(e){return typeof e<"u"&&e!==null}function bv(e){return e!==void 0}function qt(e){return Mi(e)&&!ar(e)&&e!==null}function Mi(e){return typeof e=="object"&&e!==null}function ar(e){return Array.isArray(e)}function uc(e){return typeof e=="string"}function _M(e){return typeof e=="function"}function lc(e){if(ar(e))return e.map(n=>lc(n));if(qt(e)){let n={};return Object.keys(e).forEach(t=>{n[t]=lc(e[t])}),n}else return e}function Jd(e,n){if(!Mi(e))return lc(n);let t=lc(e);return Mi(t)&&Mi(n)&&Object.keys(n).forEach(r=>{qt(n[r])?r in e?t[r]=Jd(e[r],n[r]):Object.assign(t,{[r]:n[r]}):Object.assign(t,{[r]:n[r]})}),t}function Tv(e,n){let t=n.split(".");n="";do{n+=t.shift();let r=!t.length;if(vn(e)){if(qt(e)&&bv(e[n])&&(qt(e[n])||ar(e[n])||r)){e=e[n],n="";continue}if(ar(e)){let o=parseInt(n,10);if(bv(e[o])&&(qt(e[o])||ar(e[o])||r)){e=e[o],n="";continue}}}if(r){e=void 0;continue}n+="."}while(t.length);return e}function MM(e,n,t){return Jd(e,SM(n,t))}function SM(e,n){return e.split(".").reduceRight((t,r)=>({[r]:t}),n)}var Qr=class{},NM=(()=>{class e extends Qr{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(t,r){if(uc(t))return this.interpolateString(t,r);if(_M(t))return this.interpolateFunction(t,r)}interpolateFunction(t,r){return t(r)}interpolateString(t,r){return r?t.replace(this.templateMatcher,(o,i)=>{let s=this.getInterpolationReplacement(r,i);return s!==void 0?s:o}):t}getInterpolationReplacement(t,r){return this.formatValue(Tv(t,r))}formatValue(t){if(uc(t))return t;if(typeof t=="number"||typeof t=="boolean")return t.toString();if(t===null)return"null";if(ar(t))return t.join(", ");if(Mi(t))return typeof t.toString=="function"&&t.toString!==Object.prototype.toString?t.toString():JSON.stringify(t)}static \u0275fac=(()=>{let t;return function(o){return(t||(t=pn(e)))(o||e)}})();static \u0275prov=D({token:e,factory:e.\u0275fac})}return e})(),Yd=(()=>{class e{_onTranslationChange=new $;_onLangChange=new $;_onFallbackLangChange=new $;fallbackLang=null;currentLang;translations={};languages=[];getTranslations(t){return this.translations[t]}setTranslations(t,r,o){this.translations[t]=o&&this.hasTranslationFor(t)?Jd(this.translations[t],r):r,this.addLanguages([t]),this._onTranslationChange.next({lang:t,translations:this.getTranslations(t)})}getLanguages(){return this.languages}getCurrentLang(){return this.currentLang}getFallbackLang(){return this.fallbackLang}setFallbackLang(t,r=!0){this.fallbackLang=t,r&&this._onFallbackLangChange.next({lang:t,translations:this.translations[t]})}setCurrentLang(t,r=!0){this.currentLang=t,r&&this._onLangChange.next({lang:t,translations:this.translations[t]})}get onTranslationChange(){return this._onTranslationChange.asObservable()}get onLangChange(){return this._onLangChange.asObservable()}get onFallbackLangChange(){return this._onFallbackLangChange.asObservable()}addLanguages(t){this.languages=Array.from(new Set([...this.languages,...t]))}hasTranslationFor(t){return typeof this.translations[t]<"u"}deleteTranslations(t){delete this.translations[t]}getTranslation(t){let r=this.getValue(this.currentLang,t);return r===void 0&&this.fallbackLang!=null&&this.fallbackLang!==this.currentLang&&(r=this.getValue(this.fallbackLang,t)),r}getValue(t,r){return Tv(this.getTranslations(t),r)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=D({token:e,factory:e.\u0275fac})}return e})(),Qd=new I("TRANSLATE_CONFIG"),_i=e=>Qt(e)?e:Qe(e);var Kd=(()=>{class e{loadingTranslations;pending=!1;_translationRequests={};lastUseLanguage=null;currentLoader=g(Yr);compiler=g(Zr);parser=g(Qr);missingTranslationHandler=g(Si);store=g(Yd);extend=!1;get onTranslationChange(){return this.store.onTranslationChange}get onLangChange(){return this.store.onLangChange}get onFallbackLangChange(){return this.store.onFallbackLangChange}get onDefaultLangChange(){return this.store.onFallbackLangChange}constructor(){let t=N({extend:!1,fallbackLang:null},g(Qd,{optional:!0}));t.lang&&this.use(t.lang),t.fallbackLang&&this.setFallbackLang(t.fallbackLang),t.extend&&(this.extend=!0)}setFallbackLang(t){this.getFallbackLang()||this.store.setFallbackLang(t,!1);let r=this.loadOrExtendLanguage(t);return Qt(r)?(r.pipe(Ke(1)).subscribe({next:()=>{this.store.setFallbackLang(t)},error:()=>{}}),r):(this.store.setFallbackLang(t),Qe(this.store.getTranslations(t)))}use(t){this.lastUseLanguage=t,this.getCurrentLang()||this.store.setCurrentLang(t,!1);let r=this.loadOrExtendLanguage(t);return Qt(r)?(r.pipe(Ke(1)).subscribe({next:()=>{this.changeLang(t)},error:()=>{}}),r):(this.changeLang(t),Qe(this.store.getTranslations(t)))}loadOrExtendLanguage(t){if(!this.store.hasTranslationFor(t)||this.extend)return this._translationRequests[t]=this._translationRequests[t]||this.loadAndCompileTranslations(t),this._translationRequests[t]}changeLang(t){t===this.lastUseLanguage&&this.store.setCurrentLang(t)}getCurrentLang(){return this.store.getCurrentLang()}loadAndCompileTranslations(t){this.pending=!0;let r=this.currentLoader.getTranslation(t).pipe(ts(1),Ke(1));return this.loadingTranslations=r.pipe(ae(o=>this.compiler.compileTranslations(o,t)),ts(1),Ke(1)),this.loadingTranslations.subscribe({next:o=>{this.store.setTranslations(t,o,this.extend),this.pending=!1},error:o=>{this.pending=!1}}),r}setTranslation(t,r,o=!1){let i=this.compiler.compileTranslations(r,t);this.store.setTranslations(t,i,o||this.extend)}getLangs(){return this.store.getLanguages()}addLangs(t){this.store.addLanguages(t)}getParsedResultForKey(t,r){let o=this.getTextToInterpolate(t);if(vn(o))return this.runInterpolation(o,r);let i=this.missingTranslationHandler.handle(N({key:t,translateService:this},r!==void 0&&{interpolateParams:r}));return i!==void 0?i:t}getFallbackLang(){return this.store.getFallbackLang()}getTextToInterpolate(t){return this.store.getTranslation(t)}runInterpolation(t,r){if(vn(t))return ar(t)?this.runInterpolationOnArray(t,r):qt(t)?this.runInterpolationOnDict(t,r):this.parser.interpolate(t,r)}runInterpolationOnArray(t,r){return t.map(o=>this.runInterpolation(o,r))}runInterpolationOnDict(t,r){let o={};for(let i in t){let s=this.runInterpolation(t[i],r);s!==void 0&&(o[i]=s)}return o}getParsedResult(t,r){return t instanceof Array?this.getParsedResultForArray(t,r):this.getParsedResultForKey(t,r)}getParsedResultForArray(t,r){let o={},i=!1;for(let a of t)o[a]=this.getParsedResultForKey(a,r),i=i||Qt(o[a]);if(!i)return o;let s=t.map(a=>_i(o[a]));return Ec(s).pipe(ae(a=>{let c={};return a.forEach((u,l)=>{c[t[l]]=u}),c}))}get(t,r){if(!vn(t)||!t.length)throw new Error('Parameter "key" is required and cannot be empty');return this.pending?this.loadingTranslations.pipe(oo(()=>_i(this.getParsedResult(t,r)))):_i(this.getParsedResult(t,r))}getStreamOnTranslationChange(t,r){if(!vn(t)||!t.length)throw new Error('Parameter "key" is required and cannot be empty');return Ye(Ji(()=>this.get(t,r)),this.onTranslationChange.pipe(_n(()=>{let o=this.getParsedResult(t,r);return _i(o)})))}stream(t,r){if(!vn(t)||!t.length)throw new Error('Parameter "key" required');return Ye(Ji(()=>this.get(t,r)),this.onLangChange.pipe(_n(()=>{let o=this.getParsedResult(t,r);return _i(o)})))}instant(t,r){if(!vn(t)||t.length===0)throw new Error('Parameter "key" is required and cannot be empty');let o=this.getParsedResult(t,r);return Qt(o)?Array.isArray(t)?t.reduce((i,s)=>(i[s]=s,i),{}):t:o}set(t,r,o=this.getCurrentLang()){this.store.setTranslations(o,MM(this.store.getTranslations(o),t,uc(r)?this.compiler.compile(r,o):this.compiler.compileTranslations(r,o)),!1)}reloadLang(t){return this.resetLang(t),this.loadAndCompileTranslations(t)}resetLang(t){delete this._translationRequests[t],this.store.deleteTranslations(t)}static getBrowserLang(){if(typeof window>"u"||!window.navigator)return;let t=this.getBrowserCultureLang();return t?t.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 defaultLang(){return this.getFallbackLang()}get currentLang(){return this.store.getCurrentLang()}get langs(){return this.store.getLanguages()}setDefaultLang(t){return this.setFallbackLang(t)}getDefaultLang(){return this.getFallbackLang()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=D({token:e,factory:e.\u0275fac})}return e})();var iU=(()=>{class e{translate=g(Kd);_ref=g(di);value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onFallbackLangChange;updateValue(t,r,o){let i=s=>{this.value=s!==void 0?s:t,this.lastKey=t,this._ref.markForCheck()};if(o){let s=this.translate.getParsedResult(t,r);Qt(s)?s.subscribe(i):i(s)}this.translate.get(t,r).subscribe(i)}transform(t,...r){if(!t||!t.length)return t;if(cc(t,this.lastKey)&&cc(r,this.lastParams))return this.value;let o;if(vn(r[0])&&r.length)if(uc(r[0])&&r[0].length){let i=r[0].replace(/(')?([a-zA-Z0-9_]+)(')?(\s)?:/g,'"$2":').replace(/:(\s)?(')(.*?)(')/g,':"$3"');try{o=JSON.parse(i)}catch(s){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${r[0]}`)}}else qt(r[0])&&(o=r[0]);return this.lastKey=t,this.lastParams=r,this.updateValue(t,o),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(i=>{(this.lastKey&&i.lang===this.translate.getCurrentLang()||i.lang===this.translate.getFallbackLang())&&(this.lastKey=null,this.updateValue(t,o,i.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(i=>{this.lastKey&&(this.lastKey=null,this.updateValue(t,o,i.translations))})),this.onFallbackLangChange||(this.onFallbackLangChange=this.translate.onFallbackLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(t,o))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onFallbackLangChange<"u"&&(this.onFallbackLangChange.unsubscribe(),this.onFallbackLangChange=void 0)}ngOnDestroy(){this._dispose()}static \u0275fac=function(r){return new(r||e)};static \u0275pipe=vt({name:"translate",type:e,pure:!1});static \u0275prov=D({token:e,factory:e.\u0275fac})}return e})();function xM(e){return{provide:Yr,useClass:e}}function AM(e){return{provide:Zr,useClass:e}}function RM(e){return{provide:Qr,useClass:e}}function OM(e){return{provide:Si,useClass:e}}function sU(e={}){return kM(N({compiler:AM(bM),parser:RM(NM),loader:xM(TM),missingTranslationHandler:OM(wM)},e),!0)}function kM(e={},n){let t=[];e.loader&&t.push(e.loader),e.compiler&&t.push(e.compiler),e.parser&&t.push(e.parser),e.missingTranslationHandler&&t.push(e.missingTranslationHandler),n&&t.push(Yd),(e.useDefaultLang||e.defaultLanguage)&&(console.warn("The `useDefaultLang` and `defaultLanguage` options are deprecated. Please use `fallbackLang` instead."),e.useDefaultLang===!0&&e.defaultLanguage&&(e.fallbackLang=e.defaultLanguage));let r={fallbackLang:e.fallbackLang??null,lang:e.lang,extend:e.extend??!1};return t.push({provide:Qd,useValue:r}),t.push({provide:Kd,useClass:Kd,deps:[Yd,Yr,Zr,Qr,Si,Qd]}),t}var _v=["toast-component",""];function FM(e,n){if(e&1){let t=ka();_e(0,"button",2),si("click",function(){bo(t);let o=le();return To(o.remove())}),_e(1,"span",3),Dt(2,"\xD7"),Ue()()}}function PM(e,n){if(e&1&&($r(0),Dt(1),ri()),e&2){let t=le(2);ee(),Et("[",t.duplicatesCount+1,"]")}}function LM(e,n){if(e&1&&(_e(0,"div"),Dt(1),be(2,PM,2,1,"ng-container"),Ue()),e&2){let t=le(),r=Ct(0);$t(r.titleClass),rr("aria-label",t.title()),ee(),Et(" ",t.title()," "),ee(),Te(t.duplicatesCount?2:-1)}}function jM(e,n){if(e&1&&or(0,"div",6),e&2){let t=le(2),r=Ct(0);$t(r.messageClass),oi("innerHTML",t.message(),Da)}}function BM(e,n){if(e&1&&(_e(0,"div",7),Dt(1),Ue()),e&2){let t=le(2),r=Ct(0);$t(r.messageClass),rr("aria-label",t.message()),ee(),Et(" ",t.message()," ")}}function VM(e,n){if(e&1&&be(0,jM,1,3,"div",4)(1,BM,2,4,"div",5),e&2){le();let t=Ct(0);Te(t.enableHtml?0:1)}}function HM(e,n){if(e&1&&(_e(0,"div"),or(1,"div",8),Ue()),e&2){let t=le();ee(),Ht("width",t.width()+"%")}}function $M(e,n){if(e&1){let t=ka();_e(0,"button",2),si("click",function(){bo(t);let o=le();return To(o.remove())}),_e(1,"span",3),Dt(2,"\xD7"),Ue()()}}function UM(e,n){if(e&1&&($r(0),Dt(1),ri()),e&2){let t=le(2);ee(),Et("[",t.duplicatesCount+1,"]")}}function zM(e,n){if(e&1&&(_e(0,"div"),Dt(1),be(2,UM,2,1,"ng-container"),Ue()),e&2){let t=le(),r=Ct(0);$t(r.titleClass),rr("aria-label",t.title()),ee(),Et(" ",t.title()," "),ee(),Te(t.duplicatesCount?2:-1)}}function GM(e,n){if(e&1&&or(0,"div",6),e&2){let t=le(2),r=Ct(0);$t(r.messageClass),oi("innerHTML",t.message(),Da)}}function WM(e,n){if(e&1&&(_e(0,"div",7),Dt(1),Ue()),e&2){let t=le(2),r=Ct(0);$t(r.messageClass),rr("aria-label",t.message()),ee(),Et(" ",t.message()," ")}}function qM(e,n){if(e&1&&be(0,GM,1,3,"div",4)(1,WM,2,4,"div",5),e&2){le();let t=Ct(0);Te(t.enableHtml?0:1)}}function ZM(e,n){if(e&1&&(_e(0,"div"),or(1,"div",8),Ue()),e&2){let t=le();ee(),Ht("width",t.width()+"%")}}var Ni=class{toastId;config;message;title;toastType;toastRef;_onTap=new $;_onAction=new $;constructor(n,t,r,o,i,s){this.toastId=n,this.config=t,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(n){this._onAction.next(n)}onAction(){return this._onAction.asObservable()}},Mv={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"},Sv=new I("ToastConfig"),Xd=class{_attachedHost;component;viewContainerRef;injector;constructor(n,t){this.component=n,this.injector=t}attach(n,t){return this._attachedHost=n,n.attach(this,t)}detach(){let n=this._attachedHost;if(n)return this._attachedHost=void 0,n.detach()}get isAttached(){return this._attachedHost!=null}setAttachedHost(n){this._attachedHost=n}},ef=class{_attachedPortal;_disposeFn;attach(n,t){return this._attachedPortal=n,this.attachComponentPortal(n,t)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(n){this._disposeFn=n}},tf=class extends ef{_hostDomElement;_appRef;constructor(n,t){super(),this._hostDomElement=n,this._appRef=t}attachComponentPortal(n,t){let r=Sy(n.component,{environmentInjector:this._appRef.injector,elementInjector:n.injector});return this._appRef.attachView(r.hostView),this.setDisposeFn(()=>{this._appRef.detachView(r.hostView),r.destroy()}),t?this._hostDomElement.insertBefore(this._getComponentRootNode(r),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(r)),r}_getComponentRootNode(n){return n.hostView.rootNodes[0]}},YM=(()=>{class e{_document=g(W);_containerElement;ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let t=this._document.createElement("div");t.classList.add("overlay-container"),t.setAttribute("aria-live","polite"),this._document.body.appendChild(t),this._containerElement=t}static \u0275fac=function(r){return new(r||e)};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),nf=class{_portalHost;constructor(n){this._portalHost=n}attach(n,t=!0){return this._portalHost.attach(n,t)}detach(){return this._portalHost.detach()}},QM=(()=>{class e{_overlayContainer=g(YM);_appRef=g(mn);_document=g(W);_paneElements=new Map;create(t,r){return this._createOverlayRef(this.getPaneElement(t,r))}getPaneElement(t="",r){return this._paneElements.get(r)||this._paneElements.set(r,{}),this._paneElements.get(r)[t]||(this._paneElements.get(r)[t]=this._createPaneElement(t,r)),this._paneElements.get(r)[t]}_createPaneElement(t,r){let o=this._document.createElement("div");return o.id="toast-container",o.classList.add(t),o.classList.add("toast-container"),r?r.getContainerElement().appendChild(o):this._overlayContainer.getContainerElement().appendChild(o),o}_createPortalHost(t){return new tf(t,this._appRef)}_createOverlayRef(t){return new nf(this._createPortalHost(t))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),rf=class{_overlayRef;componentInstance;duplicatesCount=0;_afterClosed=new $;_activate=new $;_manualClose=new $;_resetTimeout=new $;_countDuplicate=new $;constructor(n){this._overlayRef=n}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(n,t){n&&this._resetTimeout.next(),t&&this._countDuplicate.next(++this.duplicatesCount)}},KM=(()=>{class e{overlay=g(QM);_injector=g(X);sanitizer=g(Zd);ngZone=g(ie);toastrConfig;currentlyActive=0;toasts=[];overlayContainer;previousToastMessage;index=0;constructor(){let t=g(Sv);this.toastrConfig=N(N({},t.default),t.config),t.config.iconClasses&&(this.toastrConfig.iconClasses=N(N({},t.default.iconClasses),t.config.iconClasses))}show(t,r,o={},i=""){return this._preBuildNotification(i,t,r,this.applyConfig(o))}success(t,r,o={}){let i=this.toastrConfig.iconClasses.success||"";return this._preBuildNotification(i,t,r,this.applyConfig(o))}error(t,r,o={}){let i=this.toastrConfig.iconClasses.error||"";return this._preBuildNotification(i,t,r,this.applyConfig(o))}info(t,r,o={}){let i=this.toastrConfig.iconClasses.info||"";return this._preBuildNotification(i,t,r,this.applyConfig(o))}warning(t,r,o={}){let i=this.toastrConfig.iconClasses.warning||"";return this._preBuildNotification(i,t,r,this.applyConfig(o))}clear(t){for(let r of this.toasts)if(t!==void 0){if(r.toastId===t){r.toastRef.manualClose();return}}else r.toastRef.manualClose()}remove(t){let r=this._findToast(t);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(t="",r="",o,i){let{includeTitleDuplicates:s}=this.toastrConfig;for(let a of this.toasts){let c=s&&a.title===t;if((!s||c)&&a.message===r)return a.toastRef.onDuplicate(o,i),a}return null}applyConfig(t={}){return N(N({},this.toastrConfig),t)}_findToast(t){for(let r=0;r<this.toasts.length;r++)if(this.toasts[r].toastId===t)return{index:r,activeToast:this.toasts[r]};return null}_preBuildNotification(t,r,o,i){return i.onActivateTick?this.ngZone.run(()=>this._buildNotification(t,r,o,i)):this._buildNotification(t,r,o,i)}_buildNotification(t,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(we.HTML,r));let l=new rf(c),d=new Ni(this.index,i,u,o,t,l),p=[{provide:Ni,useValue:d}],f=X.create({providers:p,parent:this._injector}),h=new Xd(i.toastComponent,f),v=c.attach(h,i.newestOnTop);l.componentInstance=v.instance;let y={toastId:this.index,title:o||"",message:r||"",toastRef:l,onShown:l.afterActivate(),onHidden:l.afterClosed(),onTap:d.onTap(),onAction:d.onAction(),portal:v};return a||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{y.toastRef.activate()})),this.toasts.push(y),y}static \u0275fac=function(r){return new(r||e)};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),JM=(()=>{class e{ngZone=g(ie);setInterval(t,r){return this.ngZone?this.ngZone.runOutsideAngular(()=>window.setInterval(()=>this.runInsideAngular(t),r)):window.setInterval(()=>t(),r)}setTimeout(t,r){return this.ngZone?this.ngZone.runOutsideAngular(()=>window.setTimeout(()=>this.runInsideAngular(t),r)):window.setTimeout(()=>t(),r)}runInsideAngular(t){this.ngZone?this.ngZone.run(()=>t()):t()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Nv=(()=>{class e{toastPackage=g(Ni);toastrService=g(KM);appRef=g(mn);timeoutsService=g(JM);duplicatesCount;hideTime;width=qn(-1);state=qn("inactive");displayStyle=ir(()=>this.state()==="inactive"?"none":void 0);message=ir(()=>this.toastPackage.message);title=ir(()=>this.toastPackage.title);options=yd(()=>this.toastPackage.config);originalTimeout=ir(()=>this.toastPackage.config.timeOut);toastClasses=ir(()=>`${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(t=>{this.duplicatesCount=t})}ngOnDestroy(){this.afterActivateSubscription.unsubscribe(),this.manualClosedSubscription.unsubscribe(),this.timeoutResetSubscription.unsubscribe(),this.countDuplicateSubscription.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){let t=this.options();this.state.set("active"),!(t.disableTimeOut===!0||t.disableTimeOut==="timeOut")&&t.timeOut&&(this.timeout=this.timeoutsService.setTimeout(()=>this.remove(),t.timeOut),this.hideTime=new Date().getTime()+t.timeOut,t.progressBar&&(this.intervalId=this.timeoutsService.setInterval(()=>this.updateProgress(),10)))}updateProgress(){let t=this.options();if(this.width()===0||this.width()===100||!t.timeOut)return;let r=new Date().getTime(),o=this.hideTime-r;this.width.set(o/t.timeOut*100),t.progressAnimation==="increasing"&&this.width.update(i=>100-i),this.width()<=0&&this.width.set(0),this.width()>=100&&this.width.set(100)}resetTimeout(){let t=this.options();clearTimeout(this.timeout),clearInterval(this.intervalId),this.state.set("active"),this.options.update(r=>H(N({},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),t.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(t=>H(N({},t),{timeOut:0})),this.hideTime=0,clearInterval(this.intervalId),this.width.set(0))}delayedHideToast(){let t=this.options();if(t.disableTimeOut===!0||t.disableTimeOut==="extendedTimeOut"||t.extendedTimeOut===0||this.state()==="removed")return;let r=t.extendedTimeOut;this.timeout=this.timeoutsService.setTimeout(()=>this.remove(),r),this.options.update(o=>H(N({},o),{timeOut:r})),this.hideTime=new Date().getTime()+(r||0),this.width.set(-1),t.progressBar&&(this.intervalId=this.timeoutsService.setInterval(()=>this.updateProgress(),10))}static \u0275fac=function(r){return new(r||e)};static \u0275cmp=xa({type:e,selectors:[["","toast-component",""]],hostVars:4,hostBindings:function(r,o){r&1&&Fa("mouseenter",function(){return o.stickAround()})("mouseleave",function(){return o.delayedHideToast()})("click",function(){return o.tapToast()}),r&2&&($t(o.toastClasses()),Ht("display",o.displayStyle()))},attrs:_v,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&&(ci(0),be(1,FM,3,0,"button",0),be(2,LM,3,5,"div",1),be(3,VM,2,1),be(4,HM,2,2,"div")),r&2){let i=Pa(o.options());ee(),Te(i.closeButton?1:-1),ee(),Te(o.title()?2:-1),ee(),Te(o.message()?3:-1),ee(),Te(i.progressBar?4:-1)}},encapsulation:2,changeDetection:0})}return e})(),XM=(()=>{class e extends Nv{params={easeTime:this.toastPackage.config.easeTime,easing:"ease-in"};elementRef=g($e);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 \u0275fac=(()=>{let t;return function(o){return(t||(t=pn(e)))(o||e)}})();static \u0275cmp=xa({type:e,selectors:[["","toast-component",""]],hostVars:4,hostBindings:function(r,o){r&1&&Or("toast-in"),r&2&&Ht("--animation-easing",o.params.easing)("--animation-duration",o.params.easeTime+"ms")},features:[Aa],attrs:_v,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&&(ci(0),be(1,$M,3,0,"button",0),be(2,zM,3,5,"div",1),be(3,qM,2,1),be(4,ZM,2,2,"div")),r&2){let i=Pa(o.options());ee(),Te(i.closeButton?1:-1),ee(),Te(o.title()?2:-1),ee(),Te(o.message()?3:-1),ee(),Te(i.progressBar?4:-1)}},styles:[".toast-in[_nghost-%COMP%]{animation:_ngcontent-%COMP%_toast-animation var(--animation-duration) var(--animation-easing)}.toast-out[_nghost-%COMP%]{animation:_ngcontent-%COMP%_toast-animation var(--animation-duration) var(--animation-easing) reverse forwards}@keyframes _ngcontent-%COMP%_toast-animation{0%{opacity:0}to{opacity:1}}"],changeDetection:0})}return e})(),eS=H(N({},Mv),{toastComponent:XM}),vU=(e={})=>on([{provide:Sv,useValue:{default:eS,config:e}}]);var DU=H(N({},Mv),{toastComponent:Nv});var xv={name:"homebridge-config-ui-x",displayName:"Homebridge UI",type:"module",version:"5.24.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",homebridge:"^1.8.0 || ^2.0.0"},scripts:{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",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.0.2","@fastify/multipart":"10.0.0","@fastify/static":"9.1.3","@homebridge/hap-client":"5.0.0","@homebridge/node-pty-prebuilt-multiarch":"0.13.1","@nestjs/axios":"4.0.1","@nestjs/common":"11.1.24","@nestjs/core":"11.1.24","@nestjs/jwt":"11.0.2","@nestjs/passport":"11.0.5","@nestjs/platform-fastify":"11.1.24","@nestjs/platform-socket.io":"11.1.24","@nestjs/swagger":"11.4.4","@nestjs/websockets":"11.1.24",axios:"1.16.1","bash-color":"0.0.4","bonjour-service":"1.4.0","class-transformer":"0.5.1","class-validator":"0.15.1",commander:"15.0.0",dayjs:"1.11.21",fastify:"5.8.5","fs-extra":"11.3.5",jsonwebtoken:"9.0.3","node-cache":"5.1.2","node-forge":"1.4.0","node-schedule":"2.1.1",ora:"9.4.0",otplib:"13.4.1","p-limit":"7.3.0",passport:"0.7.0","passport-jwt":"4.0.1","reflect-metadata":"0.2.2",rxjs:"7.8.2",semver:"7.8.1",systeminformation:"5.31.7",tail:"2.2.6",tar:"7.5.15","tcp-port-used":"1.0.2",unzipper:"0.12.3"},optionalDependencies:{"macos-temperature-sensor":"1.0.4","osx-temperature-sensor":"1.0.8"},devDependencies:{"@angular-eslint/eslint-plugin":"^21.4.0","@angular-eslint/eslint-plugin-template":"^21.4.0","@angular-eslint/template-parser":"^21.4.0","@antfu/eslint-config":"^9.0.0","@nestjs/testing":"^11.1.24","@prettier/plugin-xml":"^3.4.2","@types/fs-extra":"^11.0.4","@types/node":"^25.9.1","@types/node-forge":"^1.3.14","@types/node-schedule":"^2.1.8","@types/passport-jwt":"^4.0.1","@types/semver":"^7.7.1","@types/tail":"^2.2.3","@types/tcp-port-used":"^1.0.4","@types/unzipper":"^0.10.11","@vitest/coverage-v8":"^4.1.7",concurrently:"^10.0.0","eslint-plugin-format":"^2.0.1","form-data":"^4.0.5",nodemon:"^3.1.14",rimraf:"^6.1.3",tsx:"^4.22.3",typescript:"^6.0.3","unplugin-swc":"^1.5.9",vitest:"^4.1.7"},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}};var Kr={serverTarget:xv.version,production:!0,socket:"",api:{base:(()=>{let n=document.querySelector("base")?.getAttribute("href")||"/";return n.endsWith("/")?`${n}api`:`${n}/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 n=document.querySelector("base")?.getAttribute("href")||"/",t=n.endsWith("/")?`${n}api`:`${n}/api`;return`${window.location.protocol}//${document.location.host}${t}/auth/login`})()]},apiHttpOptions:{},owm:{appid:"fec67b55f7f74deaa28df89ba6a60821"}};var xU=(()=>{class e{$http=g(ac);get(t,r){return In(this.$http.get(`${Kr.api.base}${t}`,r))}post(t,r,o){return In(this.$http.post(`${Kr.api.base}${t}`,r,o))}put(t,r,o){return In(this.$http.put(`${Kr.api.base}${t}`,r,o))}patch(t,r,o){return In(this.$http.patch(`${Kr.api.base}${t}`,r,o))}delete(t,r){return In(this.$http.delete(`${Kr.api.base}${t}`,r))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();export{ne as a,kv as b,x as c,$ as d,no as e,ro as f,qv as g,Nt as h,lt as i,Qe as j,Zv as k,Qt as l,Mt as m,Yv as n,In as o,ae as p,rD as q,Ze as r,to as s,Ye as t,Ji as u,Ec as v,Cc as w,wn as x,jv as y,dD as z,Tn as A,pD as B,gD as C,mD as D,Ic as E,oo as F,gf as G,Ke as H,yD as I,mf as J,DD as K,es as L,ED as M,CD as N,ID as O,Af as P,_n as Q,Vf as R,wD as S,bD as T,m as U,pt as V,gs as W,D as X,Ot as Y,FD as Z,I as _,_ as $,g as aa,on as ba,dp as ca,ge as da,Tr as ea,bo as fa,To as ga,Fp as ha,Pp as ia,X as ja,W as ka,He as la,Wn as ma,xt as na,ie as oa,dn as pa,qn as qa,Up as ra,qo as sa,pn as ta,Al as ua,$e as va,fa as wa,Zo as xa,qE as ya,Da as za,mg as Aa,bC as Ba,MC as Ca,SC as Da,ee as Ea,Re as Fa,rI as Ga,Rg as Ha,Lr as Ia,ei as Ja,Jn as Ka,ti as La,De as Ma,rw as Na,Hr as Oa,bm as Pa,Tm as Qa,xa as Ra,hn as Sa,gn as Ta,vt as Ua,Uw as Va,Aa as Wa,xm as Xa,Am as Ya,Ra as Za,Om as _a,mn as $a,rr as ab,Or as bb,be as cb,Te as db,ib as eb,sb as fb,ab as gb,cb as hb,Pm as ib,ua as jb,fd as kb,Lm as lb,_e as mb,Ue as nb,or as ob,pd as pb,Oa as qb,Bm as rb,$r as sb,ri as tb,Vm as ub,ka as vb,oi as wb,Fa as xb,si as yb,le as zb,vb as Ab,Db as Bb,zm as Cb,Gm as Db,Cb as Eb,Ib as Fb,Wm as Gb,wb as Hb,bb as Ib,Ht as Jb,Ym as Kb,$t as Lb,Dt as Mb,ty as Nb,Et as Ob,ny as Pb,ry as Qb,oy as Rb,iy as Sb,sy as Tb,Kb as Ub,ay as Vb,ci as Wb,Pa as Xb,Ct as Yb,tT as Zb,nT as _b,rT as $b,oT as ac,iT as bc,sT as cc,cT as dc,lT as ec,dT as fc,fT as gc,pT as hc,hT as ic,Ur as jc,my as kc,ir as lc,yd as mc,yy as nc,c2 as oc,u2 as pc,l2 as qc,d2 as rc,di as sc,fi as tc,Id as uc,Sy as vc,Ut as wc,Va as xc,ky as yc,l_ as zc,d_ as Ac,f_ as Bc,h_ as Cc,g_ as Dc,y_ as Ec,D_ as Fc,E_ as Gc,Xy as Hc,SH as Ic,NH as Jc,xH as Kc,AH as Lc,W_ as Mc,Gt as Nc,Wt as Oc,qr as Pc,wt as Qc,Cv as Rc,ac as Sc,vM as Tc,DM as Uc,EM as Vc,CM as Wc,Z$ as Xc,Kd as Yc,iU as Zc,sU as _c,KM as $c,XM as ad,vU as bd,Kr as cd,xU as dd};