@duplicati/ngclient 0.0.21 → 0.0.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/spk.woff2 +0 -0
- package/chunk-22ZYSOTR.js +1 -0
- package/chunk-37USSSCL.js +1 -0
- package/{chunk-ICX4A35N.js → chunk-3ZEBM2Q6.js} +1 -1
- package/{chunk-6FMOBX4W.js → chunk-4EODC7AQ.js} +1 -1
- package/{chunk-DUEP5NWI.js → chunk-5AC7O5ME.js} +1 -1
- package/{chunk-QILG6324.js → chunk-6GOAPINI.js} +1 -1
- package/chunk-6RIA76HG.js +1 -0
- package/chunk-73UOOUBD.js +1 -0
- package/{chunk-OLR3NLBF.js → chunk-AIWAOXTQ.js} +1 -1
- package/{chunk-HQEL6ET4.js → chunk-BHQV6I5A.js} +1 -1
- package/chunk-C6XNKGG2.js +1 -0
- package/{chunk-THXSJ5EB.js → chunk-CLHK3WG3.js} +1 -1
- package/{chunk-VCWCJ6GK.js → chunk-CLPPNSLN.js} +1 -1
- package/{chunk-4UMXA6ZN.js → chunk-EEZT434V.js} +2 -2
- package/chunk-EZH4RUS3.js +1 -0
- package/chunk-FRD2BVV6.js +6 -0
- package/chunk-GQQ7YXKJ.js +1 -0
- package/{chunk-24SCDXOT.js → chunk-ICNC6KVB.js} +1 -1
- package/chunk-IEVRQDB6.js +1 -0
- package/{chunk-EE44D7EI.js → chunk-IXLTPP72.js} +1 -1
- package/{chunk-XG5WW7WW.js → chunk-JNQHJPEL.js} +1 -1
- package/chunk-LFGIPWCL.js +1 -0
- package/chunk-LZSE733H.js +1 -0
- package/{chunk-ZHM55NRD.js → chunk-N6REZCKW.js} +1 -1
- package/chunk-ORCLDJSO.js +1 -0
- package/{chunk-HAGEM2KU.js → chunk-OVWWCW76.js} +1 -1
- package/{chunk-ETZPVGXX.js → chunk-PFVXGEM7.js} +1 -1
- package/{chunk-I62MTURC.js → chunk-Q76L4VLC.js} +1 -1
- package/chunk-QHJTF3V4.js +8 -0
- package/chunk-RWFWLGB7.js +1 -0
- package/chunk-SFRGISK2.js +1 -0
- package/{chunk-EC4YV54D.js → chunk-TKY4PPEK.js} +1 -1
- package/chunk-UVFVZQCU.js +1 -0
- package/{chunk-ZCCVAPLP.js → chunk-VC4GI7EV.js} +1 -1
- package/{chunk-AE4UH7UP.js → chunk-VOS5UL4W.js} +1 -1
- package/chunk-VUEDXCG5.js +1 -0
- package/{chunk-XWP5J7FY.js → chunk-WSTPDNCJ.js} +1 -1
- package/chunk-X53IGCHF.js +1 -0
- package/{chunk-XX4XT5RQ.js → chunk-XDYHN4IQ.js} +1 -1
- package/{chunk-SCOHUUYQ.js → chunk-XGBLG5PU.js} +1 -1
- package/{chunk-D3SNAEYH.js → chunk-Z7GRCDAT.js} +1 -1
- package/chunk-ZPJ6YV7Y.js +1 -0
- package/chunk-ZSOWH34L.js +1 -0
- package/index.html +2 -2
- package/main-KQJXLVHZ.js +1 -0
- package/package.json +1 -1
- package/{styles-EYLEETOZ.css → styles-LL6J7JBI.css} +1 -1
- package/chunk-3ZII4VBA.js +0 -1
- package/chunk-4I2FZHFA.js +0 -1
- package/chunk-5P5MCIGV.js +0 -1
- package/chunk-5XTTHY4J.js +0 -1
- package/chunk-72GO2ZEM.js +0 -1
- package/chunk-APGFOGYB.js +0 -1
- package/chunk-AT2YMZPR.js +0 -1
- package/chunk-BGMX7SZ6.js +0 -1
- package/chunk-CBPKRHET.js +0 -1
- package/chunk-HK24NYRP.js +0 -1
- package/chunk-KOIUHATU.js +0 -1
- package/chunk-M6XAG6QD.js +0 -1
- package/chunk-NN4VOZJP.js +0 -1
- package/chunk-NUWA7AOR.js +0 -8
- package/chunk-PB775LH4.js +0 -1
- package/chunk-PJY2UW7Y.js +0 -1
- package/chunk-S4TH7BUT.js +0 -1
- package/chunk-VLYQWE2X.js +0 -1
- package/chunk-WIE3F2D2.js +0 -1
- package/chunk-ZMHOWC7A.js +0 -1
- package/main-WNZU6MTP.js +0 -1
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import{a as pe,b as Ce}from"./chunk-7CGTOI24.js";function X(e){return e}function Qf(...e){return oi(e)}function oi(e){return e.length===0?X:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}function E(e){return typeof e=="function"}function Wa(e){return e&&E(e.schedule)}function qa(e){return e[e.length-1]}function kt(e){return E(qa(e))?e.pop():void 0}function Qe(e){return Wa(qa(e))?e.pop():void 0}function Ya(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(l){try{u(r.next(l))}catch(d){s(d)}}function c(l){try{u(r.throw(l))}catch(d){s(d)}}function u(l){l.done?i(l.value):o(l.value).then(a,c)}u((r=r.apply(e,t||[])).next())})}function Za(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function ft(e){return this instanceof ft?(this.v=e,this):new ft(e)}function Qa(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(p){return Promise.resolve(p).then(f,d)}}function a(f,p){r[f]&&(o[f]=function(g){return new Promise(function(m,w){i.push([f,g,m,w])>1||c(f,g)})},p&&(o[f]=p(o[f])))}function c(f,p){try{u(r[f](p))}catch(g){h(i[0][3],g)}}function u(f){f.value instanceof ft?Promise.resolve(f.value.v).then(l,d):h(i[0][2],f)}function l(f){c("next",f)}function d(f){c("throw",f)}function h(f,p){f(p),i.shift(),i.length&&c(i[0][0],i[0][1])}}function Ja(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof Za=="function"?Za(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(u){i({value:u,done:a})},s)}}var Wn=e=>e&&typeof e.length=="number"&&typeof e!="function";function qn(e){return E(e?.then)}function Lt(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var Zn=Lt(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
|
|
2
|
+
${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
|
|
3
|
+
`)}`:"",this.name="UnsubscriptionError",this.errors=n});function fn(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var Z=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(E(r))try{r()}catch(i){t=i instanceof Zn?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Ka(i)}catch(s){t=t??[],s instanceof Zn?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Zn(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Ka(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&fn(n,t)}remove(t){let{_finalizers:n}=this;n&&fn(n,t),t instanceof e&&t._removeParent(this)}};Z.EMPTY=(()=>{let e=new Z;return e.closed=!0,e})();var ii=Z.EMPTY;function Yn(e){return e instanceof Z||e&&"closed"in e&&E(e.remove)&&E(e.add)&&E(e.unsubscribe)}function Ka(e){E(e)?e():e.unsubscribe()}var be={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var jt={setTimeout(e,t,...n){let{delegate:r}=jt;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=jt;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Qn(e){jt.setTimeout(()=>{let{onUnhandledError:t}=be;if(t)t(e);else throw e})}function hn(){}var Xa=si("C",void 0,void 0);function ec(e){return si("E",void 0,e)}function tc(e){return si("N",e,void 0)}function si(e,t,n){return{kind:e,value:t,error:n}}var ht=null;function Vt(e){if(be.useDeprecatedSynchronousErrorHandling){let t=!ht;if(t&&(ht={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=ht;if(ht=null,n)throw r}}else e()}function nc(e){be.useDeprecatedSynchronousErrorHandling&&ht&&(ht.errorThrown=!0,ht.error=e)}var pt=class extends Z{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Yn(t)&&t.add(this)):this.destination=Xf}static create(t,n,r){return new Le(t,n,r)}next(t){this.isStopped?ci(tc(t),this):this._next(t)}error(t){this.isStopped?ci(ec(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?ci(Xa,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},Jf=Function.prototype.bind;function ai(e,t){return Jf.call(e,t)}var ui=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Jn(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Jn(r)}else Jn(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Jn(n)}}},Le=class extends pt{constructor(t,n,r){super();let o;if(E(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&be.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&ai(t.next,i),error:t.error&&ai(t.error,i),complete:t.complete&&ai(t.complete,i)}):o=t}this.destination=new ui(o)}};function Jn(e){be.useDeprecatedSynchronousErrorHandling?nc(e):Qn(e)}function Kf(e){throw e}function ci(e,t){let{onStoppedNotification:n}=be;n&&jt.setTimeout(()=>n(e,t))}var Xf={closed:!0,next:hn,error:Kf,complete:hn};var Bt=typeof Symbol=="function"&&Symbol.observable||"@@observable";var x=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=th(n)?n:new Le(n,r,o);return Vt(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=rc(r),new r((o,i)=>{let s=new Le({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[Bt](){return this}pipe(...n){return oi(n)(this)}toPromise(n){return n=rc(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function rc(e){var t;return(t=e??be.Promise)!==null&&t!==void 0?t:Promise}function eh(e){return e&&E(e.next)&&E(e.error)&&E(e.complete)}function th(e){return e&&e instanceof pt||eh(e)&&Yn(e)}function Kn(e){return E(e[Bt])}function Xn(e){return Symbol.asyncIterator&&E(e?.[Symbol.asyncIterator])}function er(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 nh(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var tr=nh();function nr(e){return E(e?.[tr])}function rr(e){return Qa(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield ft(n.read());if(o)return yield ft(void 0);yield yield ft(r)}}finally{n.releaseLock()}})}function or(e){return E(e?.getReader)}function V(e){if(e instanceof x)return e;if(e!=null){if(Kn(e))return rh(e);if(Wn(e))return oh(e);if(qn(e))return ih(e);if(Xn(e))return oc(e);if(nr(e))return sh(e);if(or(e))return ah(e)}throw er(e)}function rh(e){return new x(t=>{let n=e[Bt]();if(E(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function oh(e){return new x(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function ih(e){return new x(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Qn)})}function sh(e){return new x(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function oc(e){return new x(t=>{ch(e,t).catch(n=>t.error(n))})}function ah(e){return oc(rr(e))}function ch(e,t){var n,r,o,i;return Ya(this,void 0,void 0,function*(){try{for(n=Ja(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function ue(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function li(e){return E(e?.lift)}function T(e){return t=>{if(li(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function b(e,t,n,r,o){return new di(e,t,n,r,o)}var di=class extends pt{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function ir(e,t=0){return T((n,r)=>{n.subscribe(b(r,o=>ue(r,e,()=>r.next(o),t),()=>ue(r,e,()=>r.complete(),t),o=>ue(r,e,()=>r.error(o),t)))})}function sr(e,t=0){return T((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function ic(e,t){return V(e).pipe(sr(t),ir(t))}function sc(e,t){return V(e).pipe(sr(t),ir(t))}function ac(e,t){return new x(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function cc(e,t){return new x(n=>{let r;return ue(n,t,()=>{r=e[tr](),ue(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>E(r?.return)&&r.return()})}function ar(e,t){if(!e)throw new Error("Iterable cannot be null");return new x(n=>{ue(n,t,()=>{let r=e[Symbol.asyncIterator]();ue(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function uc(e,t){return ar(rr(e),t)}function lc(e,t){if(e!=null){if(Kn(e))return ic(e,t);if(Wn(e))return ac(e,t);if(qn(e))return sc(e,t);if(Xn(e))return ar(e,t);if(nr(e))return cc(e,t);if(or(e))return uc(e,t)}throw er(e)}function Ne(e,t){return t?lc(e,t):V(e)}function cr(...e){let t=Qe(e);return Ne(e,t)}function oe(e,t){return T((n,r)=>{let o=0;n.subscribe(b(r,i=>{r.next(e.call(t,i,o++))}))})}var gt=new x(e=>e.complete());function ur(e){return e<=0?()=>gt:T((t,n)=>{let r=0;t.subscribe(b(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function lr(e){return T((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function dc(e,t,n,r,o,i,s,a){let c=[],u=0,l=0,d=!1,h=()=>{d&&!c.length&&!u&&t.complete()},f=g=>u<r?p(g):c.push(g),p=g=>{i&&t.next(g),u++;let m=!1;V(n(g,l++)).subscribe(b(t,w=>{o?.(w),i?f(w):t.next(w)},()=>{m=!0},void 0,()=>{if(m)try{for(u--;c.length&&u<r;){let w=c.shift();s?ue(t,s,()=>p(w)):p(w)}h()}catch(w){t.error(w)}}))};return e.subscribe(b(t,f,()=>{d=!0,h()})),()=>{a?.()}}function mt(e,t,n=1/0){return E(t)?mt((r,o)=>oe((i,s)=>t(r,i,o,s))(V(e(r,o))),n):(typeof t=="number"&&(n=t),T((r,o)=>dc(r,o,e,n)))}function fi(e=1/0){return mt(X,e)}function fc(){return fi(1)}function dr(...e){return fc()(Ne(e,Qe(e)))}function hc(...e){let t=Qe(e);return T((n,r)=>{(t?dr(e,n,t):dr(e,n)).subscribe(r)})}function fr(e,t){return T((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(b(r,c=>{o?.unsubscribe();let u=0,l=i++;V(e(c,l)).subscribe(o=b(r,d=>r.next(t?t(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function hi(){return T((e,t)=>{let n=null;e._refCount++;let r=b(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var pi=class extends x{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,li(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new Z;let n=this.getSubject();t.add(this.source.subscribe(b(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=Z.EMPTY)}return t}refCount(){return hi()(this)}};var pc=Lt(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ye=(()=>{class e extends x{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new hr(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new pc}next(n){Vt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){Vt(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){Vt(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?ii:(this.currentObservers=null,i.push(n),new Z(()=>{this.currentObservers=null,fn(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new x;return n.source=this,n}}return e.create=(t,n)=>new hr(t,n),e})(),hr=class extends ye{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:ii}};var pn=class extends ye{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var gi={now(){return(gi.delegate||Date).now()},delegate:void 0};var gn=class extends ye{constructor(t=1/0,n=1/0,r=gi){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};function uh(e,t){let n=E(e)?e:()=>e,r=o=>o.error(n());return new x(t?o=>t.schedule(r,0,o):r)}function lh(e){return!!e&&(e instanceof x||E(e.lift)&&E(e.subscribe))}var yt=Lt(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});var{isArray:dh}=Array;function fh(e,t){return dh(t)?e(...t):e(t)}function pr(e){return oe(t=>fh(e,t))}var{isArray:hh}=Array,{getPrototypeOf:ph,prototype:gh,keys:mh}=Object;function gr(e){if(e.length===1){let t=e[0];if(hh(t))return{args:t,keys:null};if(yh(t)){let n=mh(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function yh(e){return e&&typeof e=="object"&&ph(e)===gh}function mr(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function vh(...e){let t=Qe(e),n=kt(e),{args:r,keys:o}=gr(e);if(r.length===0)return Ne([],t);let i=new x(Dh(r,t,o?s=>mr(o,s):X));return n?i.pipe(pr(n)):i}function Dh(e,t,n=X){return r=>{gc(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)gc(t,()=>{let u=Ne(e[c],t),l=!1;u.subscribe(b(r,d=>{i[c]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function gc(e,t,n){e?ue(n,e,t):t()}function wh(e){return new x(t=>{V(e()).subscribe(t)})}function Ih(...e){let t=kt(e),{args:n,keys:r}=gr(e),o=new x(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,u=s;for(let l=0;l<s;l++){let d=!1;V(n[l]).subscribe(b(i,h=>{d||(d=!0,u--),a[l]=h},()=>c--,void 0,()=>{(!c||!d)&&(u||i.next(r?mr(r,a):a),i.complete())}))}});return t?o.pipe(pr(t)):o}var{isArray:Eh}=Array;function mc(e){return e.length===1&&Eh(e[0])?e[0]:e}function vt(e,t){return T((n,r)=>{let o=0;n.subscribe(b(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Ch(...e){let t=kt(e),n=mc(e);return n.length?new x(r=>{let o=n.map(()=>[]),i=n.map(()=>!1);r.add(()=>{o=i=null});for(let s=0;!r.closed&&s<n.length;s++)V(n[s]).subscribe(b(r,a=>{if(o[s].push(a),o.every(c=>c.length)){let c=o.map(u=>u.shift());r.next(t?t(...c):c),o.some((u,l)=>!u.length&&i[l])&&r.complete()}},()=>{i[s]=!0,!o[s].length&&r.complete()}));return()=>{o=i=null}}):gt}function mi(e){return T((t,n)=>{let r=null,o=!1,i;r=t.subscribe(b(n,void 0,void 0,s=>{i=V(e(s,mi(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function yc(e,t,n,r,o){return(i,s)=>{let a=n,c=t,u=0;i.subscribe(b(s,l=>{let d=u++;c=a?e(c,l,d):(a=!0,l),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function yi(e,t){return E(t)?mt(e,t,1):mt(e,1)}function mn(e){return T((t,n)=>{let r=!1;t.subscribe(b(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function bh(e){return oe(()=>e)}function Mh(e,t=X){return e=e??_h,T((n,r)=>{let o,i=!0;n.subscribe(b(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function _h(e,t){return e===t}function yr(e=Th){return T((t,n)=>{let r=!1;t.subscribe(b(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Th(){return new yt}function vc(e,t){let n=arguments.length>=2;return r=>r.pipe(e?vt((o,i)=>e(o,i,r)):X,ur(1),n?mn(t):yr(()=>new yt))}function vi(e){return e<=0?()=>gt:T((t,n)=>{let r=[];t.subscribe(b(n,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function xh(e,t){let n=arguments.length>=2;return r=>r.pipe(e?vt((o,i)=>e(o,i,r)):X,vi(1),n?mn(t):yr(()=>new yt))}function Nh(e,t){return T(yc(e,t,arguments.length>=2,!0))}function Dc(e={}){let{connector:t=()=>new ye,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,u=0,l=!1,d=!1,h=()=>{a?.unsubscribe(),a=void 0},f=()=>{h(),s=c=void 0,l=d=!1},p=()=>{let g=s;f(),g?.unsubscribe()};return T((g,m)=>{u++,!d&&!l&&h();let w=c=c??t();m.add(()=>{u--,u===0&&!d&&!l&&(a=Di(p,o))}),w.subscribe(m),!s&&u>0&&(s=new Le({next:R=>w.next(R),error:R=>{d=!0,h(),a=Di(f,n,R),w.error(R)},complete:()=>{l=!0,h(),a=Di(f,r),w.complete()}}),V(g).subscribe(s))})(i)}}function Di(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new Le({next:()=>{r.unsubscribe(),e()}});return V(t(...n)).subscribe(r)}function Sh(e,t,n){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:t=1/0,refCount:o=!1,scheduler:n}=e:r=e??1/0,Dc({connector:()=>new gn(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function Ah(e){return T((t,n)=>{V(e).subscribe(b(n,()=>n.complete(),hn)),!n.closed&&t.subscribe(n)})}function wi(e,t,n){let r=E(e)||t||n?{next:e,error:t,complete:n}:e;return r?T((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(b(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)}))}):X}function wc(e,t){return Object.is(e,t)}var W=null,yn=!1,vr=1,le=Symbol("SIGNAL");function _(e){let t=W;return W=e,t}function Ic(){return W}function Oh(){return yn}var $t={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Dn(e){if(yn)throw new Error("");if(W===null)return;W.consumerOnSignalRead(e);let t=W.nextProducerIndex++;if(br(W),t<W.producerNode.length&&W.producerNode[t]!==e&&vn(W)){let n=W.producerNode[t];Cr(n,W.producerIndexOfThis[t])}W.producerNode[t]!==e&&(W.producerNode[t]=e,W.producerIndexOfThis[t]=vn(W)?_c(e,W,t):0),W.producerLastReadVersion[t]=e.version}function Rh(){vr++}function Ec(e){if(!(vn(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===vr)){if(!e.producerMustRecompute(e)&&!Ir(e)){e.dirty=!1,e.lastCleanEpoch=vr;return}e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=vr}}function Cc(e){if(e.liveConsumerNode===void 0)return;let t=yn;yn=!0;try{for(let n of e.liveConsumerNode)n.dirty||Mc(n)}finally{yn=t}}function bc(){return W?.consumerAllowSignalWrites!==!1}function Mc(e){e.dirty=!0,Cc(e),e.consumerMarkedDirty?.(e)}function wn(e){return e&&(e.nextProducerIndex=0),_(e)}function wr(e,t){if(_(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(vn(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)Cr(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Ir(e){br(e);for(let t=0;t<e.producerNode.length;t++){let n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(Ec(n),r!==n.version))return!0}return!1}function Er(e){if(br(e),vn(e))for(let t=0;t<e.producerNode.length;t++)Cr(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function _c(e,t,n){if(Tc(e),e.liveConsumerNode.length===0&&xc(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=_c(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function Cr(e,t){if(Tc(e),e.liveConsumerNode.length===1&&xc(e))for(let r=0;r<e.producerNode.length;r++)Cr(e.producerNode[r],e.producerIndexOfThis[r]);let n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){let r=e.liveConsumerIndexOfThis[t],o=e.liveConsumerNode[t];br(o),o.producerIndexOfThis[r]=t}}function vn(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function br(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Tc(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function xc(e){return e.producerNode!==void 0}function bi(e){let t=Object.create(Ph);t.computation=e;let n=()=>{if(Ec(t),Dn(t),t.value===Dr)throw t.error;return t.value};return n[le]=t,n}var Ii=Symbol("UNSET"),Ei=Symbol("COMPUTING"),Dr=Symbol("ERRORED"),Ph=Ce(pe({},$t),{value:Ii,dirty:!0,error:null,equal:wc,producerMustRecompute(e){return e.value===Ii||e.value===Ei},producerRecomputeValue(e){if(e.value===Ei)throw new Error("Detected cycle in computations.");let t=e.value;e.value=Ei;let n=wn(e),r;try{r=e.computation()}catch(o){r=Dr,e.error=o}finally{wr(e,n)}if(t!==Ii&&t!==Dr&&r!==Dr&&e.equal(t,r)){e.value=t;return}e.value=r,e.version++}});function Fh(){throw new Error}var Nc=Fh;function Sc(){Nc()}function Ac(e){Nc=e}var kh=null;function Oc(e){let t=Object.create(Mi);t.value=e;let n=()=>(Dn(t),t.value);return n[le]=t,n}function In(e,t){bc()||Sc(),e.equal(e.value,t)||(e.value=t,Lh(e))}function Rc(e,t){bc()||Sc(),In(e,t(e.value))}var Mi=Ce(pe({},$t),{equal:wc,value:void 0});function Lh(e){e.version++,Rh(),Cc(e),kh?.()}function Pc(e,t,n){let r=Object.create(jh);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;let o=c=>{r.cleanupFn=c};function i(c){return c.fn===null&&c.schedule===null}function s(c){i(c)||(Er(c),c.cleanupFn(),c.fn=null,c.schedule=null,c.cleanupFn=Ci)}let a=()=>{if(r.fn===null)return;if(Oh())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!Ir(r))return;r.hasRun=!0;let c=wn(r);try{r.cleanupFn(),r.cleanupFn=Ci,r.fn(o)}finally{wr(r,c)}};return r.ref={notify:()=>Mc(r),run:a,cleanup:()=>r.cleanupFn(),destroy:()=>s(r),[le]:r},r.ref}var Ci=()=>{},jh=Ce(pe({},$t),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule!==null&&e.schedule(e.ref)},hasRun:!1,cleanupFn:Ci});var xu="https://g.co/ng/security#xss",M=class extends Error{constructor(t,n){super(zs(t,n)),this.code=t}};function zs(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}var go=Symbol("InputSignalNode#UNSET"),Nu=Ce(pe({},Mi),{transformFn:void 0,applyValueToInputSignal(e,t){In(e,t)}});function Su(e,t){let n=Object.create(Nu);n.value=e,n.transformFn=t?.transform;function r(){if(Dn(n),n.value===go)throw new M(-950,!1);return n.value}return r[le]=n,r}function mo(e){return{toString:e}.toString()}var Ke=globalThis;function k(e){for(let t in e)if(e[t]===k)return t;throw Error("Could not find renamed property on target object.")}function Vh(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function fe(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(fe).join(", ")+"]";if(e==null)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;let t=e.toString();if(t==null)return""+t;let n=t.indexOf(`
|
|
4
|
+
`);return n===-1?t:t.substring(0,n)}function Bi(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var Bh=k({__forward_ref__:k});function Au(e){return e.__forward_ref__=Au,e.toString=function(){return fe(this())},e}function ie(e){return Ou(e)?e():e}function Ou(e){return typeof e=="function"&&e.hasOwnProperty(Bh)&&e.__forward_ref__===Au}function P(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Ru(e){return{providers:e.providers||[],imports:e.imports||[]}}function yo(e){return Fc(e,Pu)||Fc(e,Fu)}function N0(e){return yo(e)!==null}function Fc(e,t){return e.hasOwnProperty(t)?e[t]:null}function $h(e){let t=e&&(e[Pu]||e[Fu]);return t||null}function kc(e){return e&&(e.hasOwnProperty(Lc)||e.hasOwnProperty(Uh))?e[Lc]:null}var Pu=k({\u0275prov:k}),Lc=k({\u0275inj:k}),Fu=k({ngInjectableDef:k}),Uh=k({ngInjectorDef:k}),S=class{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=P({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function ku(e){return e&&!!e.\u0275providers}var Hh=k({\u0275cmp:k}),zh=k({\u0275dir:k}),Gh=k({\u0275pipe:k}),Wh=k({\u0275mod:k}),jr=k({\u0275fac:k}),bn=k({__NG_ELEMENT_ID__:k}),jc=k({__NG_ENV_ID__:k});function Oe(e){return typeof e=="string"?e:e==null?"":String(e)}function qh(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():Oe(e)}function Zh(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new M(-200,e)}function Gs(e,t){throw new M(-201,!1)}var N=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(N||{}),$i;function Lu(){return $i}function de(e){let t=$i;return $i=e,t}function ju(e,t,n){let r=yo(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&N.Optional)return null;if(t!==void 0)return t;Gs(e,"Injector")}var Yh={},Mn=Yh,Qh="__NG_DI_FLAG__",Vr="ngTempTokenPath",Jh="ngTokenPath",Kh=/\n/gm,Xh="\u0275",Vc="__source",Gt;function ep(){return Gt}function Je(e){let t=Gt;return Gt=e,t}function tp(e,t=N.Default){if(Gt===void 0)throw new M(-203,!1);return Gt===null?ju(e,void 0,t):Gt.get(e,t&N.Optional?null:void 0,t)}function U(e,t=N.Default){return(Lu()||tp)(ie(e),t)}function D(e,t=N.Default){return U(e,vo(t))}function vo(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ui(e){let t=[];for(let n=0;n<e.length;n++){let r=ie(e[n]);if(Array.isArray(r)){if(r.length===0)throw new M(900,!1);let o,i=N.Default;for(let s=0;s<r.length;s++){let a=r[s],c=np(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(U(o,i))}else t.push(U(r))}return t}function np(e){return e[Qh]}function rp(e,t,n,r){let o=e[Vr];throw t[Vc]&&o.unshift(t[Vc]),e.message=op(`
|
|
5
|
+
`+e.message,o,n,r),e[Jh]=o,e[Vr]=null,e}function op(e,t,n,r=null){e=e&&e.charAt(0)===`
|
|
6
|
+
`&&e.charAt(1)==Xh?e.slice(2):e;let o=fe(t);if(Array.isArray(t))o=t.map(fe).join(" -> ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):fe(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Kh,`
|
|
7
|
+
`)}`}function It(e,t){let n=e.hasOwnProperty(jr);return n?e[jr]:null}function ip(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=t[r];if(n&&(o=n(o),i=n(i)),i!==o)return!1}return!0}function sp(e){return e.flat(Number.POSITIVE_INFINITY)}function Ws(e,t){e.forEach(n=>Array.isArray(n)?Ws(n,t):t(n))}function Vu(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Br(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function ap(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function cp(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(o===1)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function Do(e,t,n){let r=Pn(e,t);return r>=0?e[r|1]=n:(r=~r,cp(e,r,t,n)),r}function _i(e,t){let n=Pn(e,t);if(n>=0)return e[n|1]}function Pn(e,t){return up(e,t,1)}function up(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}var qt={},se=[],$r=new S(""),Bu=new S("",-1),$u=new S(""),Ur=class{get(t,n=Mn){if(n===Mn){let r=new Error(`NullInjectorError: No provider for ${fe(t)}!`);throw r.name="NullInjectorError",r}return n}},Uu=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Uu||{}),_n=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(_n||{}),tt=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(tt||{});function lp(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}function Hi(e,t,n){let r=0;for(;r<n.length;){let o=n[r];if(typeof o=="number"){if(o!==0)break;r++;let i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{let i=o,s=n[++r];dp(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function Hu(e){return e===3||e===4||e===6}function dp(e){return e.charCodeAt(0)===64}function Tn(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){let o=t[r];typeof o=="number"?n=o:n===0||(n===-1||n===2?Bc(e,n,o,null,t[++r]):Bc(e,n,o,null,null))}}return e}function Bc(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===n){if(r===null){o!==null&&(e[i+1]=o);return}else if(r===e[i+1]){e[i+2]=o;return}}i++,r!==null&&i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),r!==null&&e.splice(i++,0,r),o!==null&&e.splice(i++,0,o)}var zu="ng-template";function fp(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&lp(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(qs(e))return!1;if(o=t.indexOf(1,o),o>-1){let i;for(;++o<t.length&&typeof(i=t[o])=="string";)if(i.toLowerCase()===n)return!0}return!1}function qs(e){return e.type===4&&e.value!==zu}function hp(e,t,n){let r=e.type===4&&!n?zu:e.value;return t===r}function pp(e,t,n){let r=4,o=e.attrs,i=o!==null?yp(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!Me(r)&&!Me(c))return!1;if(s&&Me(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!hp(e,c,n)||c===""&&t.length===1){if(Me(r))return!1;s=!0}}else if(r&8){if(o===null||!fp(e,o,c,n)){if(Me(r))return!1;s=!0}}else{let u=t[++a],l=gp(c,o,qs(e),n);if(l===-1){if(Me(r))return!1;s=!0;continue}if(u!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),r&2&&u!==d){if(Me(r))return!1;s=!0}}}}return Me(r)||s}function Me(e){return(e&1)===0}function gp(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){let s=t[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=t[++o];for(;typeof a=="string";)a=t[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return vp(t,e)}function Gu(e,t,n=!1){for(let r=0;r<t.length;r++)if(pp(e,t[r],n))return!0;return!1}function mp(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if(!(n&1))return t[n+1]}return null}function yp(e){for(let t=0;t<e.length;t++){let n=e[t];if(Hu(n))return t}return e.length}function vp(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let r=e[n];if(typeof r=="number")return-1;if(r===t)return n;n++}return-1}function Dp(e,t){e:for(let n=0;n<t.length;n++){let r=t[n];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function $c(e,t){return e?":not("+t.trim()+")":t}function wp(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(r&2){let a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!Me(s)&&(t+=$c(i,o),o=""),r=s,i=i||!Me(r);n++}return o!==""&&(t+=$c(i,o)),t}function Ip(e){return e.map(wp).join(",")}function Ep(e){let t=[],n=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&t.push(i,e[++r]):o===8&&n.push(i);else{if(!Me(o))break;o=i}r++}return{attrs:t,classes:n}}function S0(e){return mo(()=>{let t=Ju(e),n=Ce(pe({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Uu.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||_n.Emulated,styles:e.styles||se,_:null,schemas:e.schemas||null,tView:null,id:""});Ku(n);let r=e.dependencies;return n.directiveDefs=Hc(r,!1),n.pipeDefs=Hc(r,!0),n.id=_p(n),n})}function Cp(e){return je(e)||Zu(e)}function bp(e){return e!==null}function Wu(e){return mo(()=>({type:e.type,bootstrap:e.bootstrap||se,declarations:e.declarations||se,imports:e.imports||se,exports:e.exports||se,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Uc(e,t){if(e==null)return qt;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=tt.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==tt.None?[r,a]:r,t[i]=s):n[i]=r}return n}function qu(e){return mo(()=>{let t=Ju(e);return Ku(t),t})}function Zs(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 je(e){return e[Hh]||null}function Zu(e){return e[zh]||null}function Yu(e){return e[Gh]||null}function Mp(e){let t=je(e)||Zu(e)||Yu(e);return t!==null?t.standalone:!1}function Qu(e,t){let n=e[Wh]||null;if(!n&&t===!0)throw new Error(`Type ${fe(e)} does not have '\u0275mod' property.`);return n}function Ju(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||qt,exportAs:e.exportAs||null,standalone:e.standalone===!0,signals:e.signals===!0,selectors:e.selectors||se,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Uc(e.inputs,t),outputs:Uc(e.outputs),debugInfo:null}}function Ku(e){e.features?.forEach(t=>t(e))}function Hc(e,t){if(!e)return null;let n=t?Yu:Cp;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(bp)}function _p(e){let t=0,n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(let o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function Ys(e){return{\u0275providers:e}}function Tp(...e){return{\u0275providers:Xu(!0,e),\u0275fromNgModule:!0}}function Xu(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Ws(t,s=>{let a=s;zi(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&el(o,i),n}function el(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];Qs(o,i=>{t(i,r)})}}function zi(e,t,n,r){if(e=ie(e),!e)return!1;let o=null,i=kc(e),s=!i&&je(e);if(!i&&!s){let c=e.ngModule;if(i=kc(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)zi(u,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;try{Ws(i.imports,l=>{zi(l,t,n,r)&&(u||=[],u.push(l))})}finally{}u!==void 0&&el(u,t)}if(!a){let u=It(o)||(()=>new o);t({provide:o,useFactory:u,deps:se},o),t({provide:$u,useValue:o,multi:!0},o),t({provide:$r,useValue:()=>U(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;Qs(c,l=>{t(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function Qs(e,t){for(let n of e)ku(n)&&(n=n.\u0275providers),Array.isArray(n)?Qs(n,t):t(n)}var xp=k({provide:String,useValue:k});function tl(e){return e!==null&&typeof e=="object"&&xp in e}function Np(e){return!!(e&&e.useExisting)}function Sp(e){return!!(e&&e.useFactory)}function Zt(e){return typeof e=="function"}function Ap(e){return!!e.useClass}var nl=new S(""),Ar={},Op={},Ti;function wo(){return Ti===void 0&&(Ti=new Ur),Ti}var Re=class{},xn=class extends Re{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Wi(t,s=>this.processProvider(s)),this.records.set(Bu,Ut(void 0,this)),o.has("environment")&&this.records.set(Re,Ut(void 0,this));let i=this.records.get(nl);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get($u,se,N.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let t=_(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),_(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();let n=Je(this),r=de(void 0),o;try{return t()}finally{Je(n),de(r)}}get(t,n=Mn,r=N.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(jc))return t[jc](this);r=vo(r);let o,i=Je(this),s=de(void 0);try{if(!(r&N.SkipSelf)){let c=this.records.get(t);if(c===void 0){let u=Lp(t)&&yo(t);u&&this.injectableDefInScope(u)?c=Ut(Gi(t),Ar):c=null,this.records.set(t,c)}if(c!=null)return this.hydrate(t,c)}let a=r&N.Self?wo():this.parent;return n=r&N.Optional&&n===Mn?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[Vr]=a[Vr]||[]).unshift(fe(t)),i)throw a;return rp(a,t,"R3InjectorError",this.source)}else throw a}finally{de(s),Je(i)}}resolveInjectorInitializers(){let t=_(null),n=Je(this),r=de(void 0),o;try{let i=this.get($r,se,N.Self);for(let s of i)s()}finally{Je(n),de(r),_(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(fe(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new M(205,!1)}processProvider(t){t=ie(t);let n=Zt(t)?t:ie(t&&t.provide),r=Pp(t);if(!Zt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Ut(void 0,Ar,!0),o.factory=()=>Ui(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=_(null);try{return n.value===Ar&&(n.value=Op,n.value=n.factory()),typeof n.value=="object"&&n.value&&kp(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{_(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=ie(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function Gi(e){let t=yo(e),n=t!==null?t.factory:It(e);if(n!==null)return n;if(e instanceof S)throw new M(204,!1);if(e instanceof Function)return Rp(e);throw new M(204,!1)}function Rp(e){if(e.length>0)throw new M(204,!1);let n=$h(e);return n!==null?()=>n.factory(e):()=>new e}function Pp(e){if(tl(e))return Ut(void 0,e.useValue);{let t=rl(e);return Ut(t,Ar)}}function rl(e,t,n){let r;if(Zt(e)){let o=ie(e);return It(o)||Gi(o)}else if(tl(e))r=()=>ie(e.useValue);else if(Sp(e))r=()=>e.useFactory(...Ui(e.deps||[]));else if(Np(e))r=()=>U(ie(e.useExisting));else{let o=ie(e&&(e.useClass||e.provide));if(Fp(e))r=()=>new o(...Ui(e.deps));else return It(o)||Gi(o)}return r}function Ut(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Fp(e){return!!e.deps}function kp(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Lp(e){return typeof e=="function"||typeof e=="object"&&e instanceof S}function Wi(e,t){for(let n of e)Array.isArray(n)?Wi(n,t):n&&ku(n)?Wi(n.\u0275providers,t):t(n)}function ol(e,t){e instanceof xn&&e.assertNotDestroyed();let n,r=Je(e),o=de(void 0);try{return t()}finally{Je(r),de(o)}}function il(){return Lu()!==void 0||ep()!=null}function jp(e){if(!il())throw new M(-203,!1)}function Vp(e){return typeof e=="function"}var $e=0,I=1,v=2,re=3,Te=4,he=5,Yt=6,Hr=7,ee=8,Qt=9,Pe=10,B=11,Nn=12,zc=13,on=14,ge=15,Et=16,Ht=17,Ve=18,Io=19,sl=20,Xe=21,Or=22,ve=23,Y=25,al=1;var Ct=7,zr=8,Jt=9,te=10,Gr=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Gr||{});function et(e){return Array.isArray(e)&&typeof e[al]=="object"}function Ue(e){return Array.isArray(e)&&e[al]===!0}function Js(e){return(e.flags&4)!==0}function Eo(e){return e.componentOffset>-1}function Co(e){return(e.flags&1)===1}function nt(e){return!!e.template}function qi(e){return(e[v]&512)!==0}var Zi=class{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function cl(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}function Ks(){return ul}function ul(e){return e.type.prototype.ngOnChanges&&(e.setInput=$p),Bp}Ks.ngInherit=!0;function Bp(){let e=dl(this),t=e?.current;if(t){let n=e.previous;if(n===qt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function $p(e,t,n,r,o){let i=this.declaredInputs[r],s=dl(e)||Up(e,{previous:qt,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new Zi(u&&u.currentValue,n,c===qt),cl(e,t,o,n)}var ll="__ngSimpleChanges__";function dl(e){return e[ll]||null}function Up(e,t){return e[ll]=t}var Gc=null;var Se=function(e,t,n){Gc?.(e,t,n)},fl="svg",Hp="math";function Fe(e){for(;Array.isArray(e);)e=e[$e];return e}function hl(e,t){return Fe(t[e])}function we(e,t){return Fe(t[e.index])}function Xs(e,t){return e.data[t]}function ea(e,t){return e[t]}function at(e,t){let n=t[e];return et(n)?n:n[$e]}function zp(e){return(e[v]&4)===4}function ta(e){return(e[v]&128)===128}function Gp(e){return Ue(e[re])}function rt(e,t){return t==null?null:e[t]}function pl(e){e[Ht]=0}function gl(e){e[v]&1024||(e[v]|=1024,ta(e)&&Mo(e))}function Wp(e,t){for(;e>0;)t=t[on],e--;return t}function bo(e){return!!(e[v]&9216||e[ve]?.dirty)}function Yi(e){e[Pe].changeDetectionScheduler?.notify(8),e[v]&64&&(e[v]|=1024),bo(e)&&Mo(e)}function Mo(e){e[Pe].changeDetectionScheduler?.notify(0);let t=bt(e);for(;t!==null&&!(t[v]&8192||(t[v]|=8192,!ta(t)));)t=bt(t)}function ml(e,t){if((e[v]&256)===256)throw new M(911,!1);e[Xe]===null&&(e[Xe]=[]),e[Xe].push(t)}function qp(e,t){if(e[Xe]===null)return;let n=e[Xe].indexOf(t);n!==-1&&e[Xe].splice(n,1)}function bt(e){let t=e[re];return Ue(t)?t[re]:t}var C={lFrame:Ml(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var yl=!1;function Zp(){return C.lFrame.elementDepthCount}function Yp(){C.lFrame.elementDepthCount++}function Qp(){C.lFrame.elementDepthCount--}function vl(){return C.bindingsEnabled}function Dl(){return C.skipHydrationRootTNode!==null}function Jp(e){return C.skipHydrationRootTNode===e}function Kp(){C.skipHydrationRootTNode=null}function y(){return C.lFrame.lView}function $(){return C.lFrame.tView}function A0(e){return C.lFrame.contextLView=e,e[ee]}function O0(e){return C.lFrame.contextLView=null,e}function J(){let e=wl();for(;e!==null&&e.type===64;)e=e.parent;return e}function wl(){return C.lFrame.currentTNode}function Xp(){let e=C.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Ot(e,t){let n=C.lFrame;n.currentTNode=e,n.isParent=t}function na(){return C.lFrame.isParent}function ra(){C.lFrame.isParent=!1}function eg(){return C.lFrame.contextLView}function Il(){return yl}function Wc(e){yl=e}function sn(){let e=C.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function El(){return C.lFrame.bindingIndex}function tg(e){return C.lFrame.bindingIndex=e}function an(){return C.lFrame.bindingIndex++}function _o(e){let t=C.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function ng(){return C.lFrame.inI18n}function rg(e,t){let n=C.lFrame;n.bindingIndex=n.bindingRootIndex=e,Qi(t)}function og(){return C.lFrame.currentDirectiveIndex}function Qi(e){C.lFrame.currentDirectiveIndex=e}function ig(e){let t=C.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function oa(){return C.lFrame.currentQueryIndex}function To(e){C.lFrame.currentQueryIndex=e}function sg(e){let t=e[I];return t.type===2?t.declTNode:t.type===1?e[he]:null}function Cl(e,t,n){if(n&N.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&N.Host);)if(o=sg(i),o===null||(i=i[on],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=C.lFrame=bl();return r.currentTNode=t,r.lView=e,!0}function ia(e){let t=bl(),n=e[I];C.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function bl(){let e=C.lFrame,t=e===null?null:e.child;return t===null?Ml(e):t}function Ml(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function _l(){let e=C.lFrame;return C.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Tl=_l;function sa(){let e=_l();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 ag(e){return(C.lFrame.contextLView=Wp(e,C.lFrame.contextLView))[ee]}function He(){return C.lFrame.selectedIndex}function Mt(e){C.lFrame.selectedIndex=e}function cn(){let e=C.lFrame;return Xs(e.tView,e.selectedIndex)}function R0(){C.lFrame.currentNamespace=fl}function cg(){return C.lFrame.currentNamespace}var xl=!0;function xo(){return xl}function No(e){xl=e}function ug(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=ul(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function So(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:u,ngOnDestroy:l}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),u&&((e.viewHooks??=[]).push(n,u),(e.viewCheckHooks??=[]).push(n,u)),l!=null&&(e.destroyHooks??=[]).push(n,l)}}function Rr(e,t,n){Nl(e,t,3,n)}function Pr(e,t,n,r){(e[v]&3)===n&&Nl(e,t,n,r)}function xi(e,t){let n=e[v];(n&3)===t&&(n&=16383,n+=1,e[v]=n)}function Nl(e,t,n,r){let o=r!==void 0?e[Ht]&65535:0,i=r??-1,s=t.length-1,a=0;for(let c=o;c<s;c++)if(typeof t[c+1]=="number"){if(a=t[c],r!=null&&a>=r)break}else t[c]<0&&(e[Ht]+=65536),(a<i||i==-1)&&(lg(e,n,t,c),e[Ht]=(e[Ht]&4294901760)+c+2),c++}function qc(e,t){Se(4,e,t);let n=_(null);try{t.call(e)}finally{_(n),Se(5,e,t)}}function lg(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[v]>>14<e[Ht]>>16&&(e[v]&3)===t&&(e[v]+=16384,qc(a,i)):qc(a,i)}var Wt=-1,_t=class{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function dg(e){return e instanceof _t}function fg(e){return(e.flags&8)!==0}function hg(e){return(e.flags&16)!==0}var Ni={},Ji=class{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=vo(r);let o=this.injector.get(t,Ni,r);return o!==Ni||n===Ni?o:this.parentInjector.get(t,n,r)}};function Sl(e){return e!==Wt}function Wr(e){return e&32767}function pg(e){return e>>16}function qr(e,t){let n=pg(e),r=t;for(;n>0;)r=r[on],n--;return r}var Ki=!0;function Zr(e){let t=Ki;return Ki=e,t}var gg=256,Al=gg-1,Ol=5,mg=0,Ae={};function yg(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(bn)&&(r=n[bn]),r==null&&(r=n[bn]=mg++);let o=r&Al,i=1<<o;t.data[e+(o>>Ol)]|=i}function Yr(e,t){let n=Rl(e,t);if(n!==-1)return n;let r=t[I];r.firstCreatePass&&(e.injectorIndex=t.length,Si(r.data,e),Si(t,null),Si(r.blueprint,null));let o=aa(e,t),i=e.injectorIndex;if(Sl(o)){let s=Wr(o),a=qr(o,t),c=a[I].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=o,i}function Si(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Rl(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function aa(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=jl(o),r===null)return Wt;if(n++,o=o[on],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Wt}function Xi(e,t,n){yg(e,t,n)}function vg(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o<r;){let i=n[o];if(Hu(i))break;if(i===0)o=o+2;else if(typeof i=="number")for(o++;o<r&&typeof n[o]=="string";)o++;else{if(i===t)return n[o+1];o=o+2}}}return null}function Pl(e,t,n){if(n&N.Optional||e!==void 0)return e;Gs(t,"NodeInjector")}function Fl(e,t,n,r){if(n&N.Optional&&r===void 0&&(r=null),!(n&(N.Self|N.Host))){let o=e[Qt],i=de(void 0);try{return o?o.get(t,r,n&N.Optional):ju(t,r,n&N.Optional)}finally{de(i)}}return Pl(r,t,n)}function kl(e,t,n,r=N.Default,o){if(e!==null){if(t[v]&2048&&!(r&N.Self)){let s=Eg(e,t,n,r,Ae);if(s!==Ae)return s}let i=Ll(e,t,n,r,Ae);if(i!==Ae)return i}return Fl(t,n,r,o)}function Ll(e,t,n,r,o){let i=wg(n);if(typeof i=="function"){if(!Cl(t,e,r))return r&N.Host?Pl(o,n,r):Fl(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&N.Optional))Gs(n);else return s}finally{Tl()}}else if(typeof i=="number"){let s=null,a=Rl(e,t),c=Wt,u=r&N.Host?t[ge][he]:null;for((a===-1||r&N.SkipSelf)&&(c=a===-1?aa(e,t):t[a+8],c===Wt||!Yc(r,!1)?a=-1:(s=t[I],a=Wr(c),t=qr(c,t)));a!==-1;){let l=t[I];if(Zc(i,a,l.data)){let d=Dg(a,t,n,s,r,u);if(d!==Ae)return d}c=t[a+8],c!==Wt&&Yc(r,t[I].data[a+8]===u)&&Zc(i,a,t)?(s=l,a=Wr(c),t=qr(c,t)):a=-1}}return o}function Dg(e,t,n,r,o,i){let s=t[I],a=s.data[e+8],c=r==null?Eo(a)&&Ki:r!=s&&(a.type&3)!==0,u=o&N.Host&&i===a,l=Fr(a,s,n,c,u);return l!==null?Tt(t,s,l,a):Ae}function Fr(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,u=e.directiveEnd,l=i>>20,d=r?a:a+l,h=o?a+l:u;for(let f=d;f<h;f++){let p=s[f];if(f<c&&n===p||f>=c&&p.type===n)return f}if(o){let f=s[c];if(f&&nt(f)&&f.type===n)return c}return null}function Tt(e,t,n,r){let o=e[n],i=t.data;if(dg(o)){let s=o;s.resolving&&Zh(qh(i[n]));let a=Zr(s.canSeeViewProviders);s.resolving=!0;let c,u=s.injectImpl?de(s.injectImpl):null,l=Cl(e,r,N.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&ug(n,i[n],t)}finally{u!==null&&de(u),Zr(a),s.resolving=!1,Tl()}}return o}function wg(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(bn)?e[bn]:void 0;return typeof t=="number"?t>=0?t&Al:Ig:t}function Zc(e,t,n){let r=1<<e;return!!(n[t+(e>>Ol)]&r)}function Yc(e,t){return!(e&N.Self)&&!(e&N.Host&&t)}var wt=class{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return kl(this._tNode,this._lView,t,vo(r),n)}};function Ig(){return new wt(J(),y())}function P0(e){return mo(()=>{let t=e.prototype.constructor,n=t[jr]||es(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[jr]||es(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function es(e){return Ou(e)?()=>{let t=es(ie(e));return t&&t()}:It(e)}function Eg(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[v]&2048&&!(s[v]&512);){let a=Ll(i,s,n,r|N.Self,Ae);if(a!==Ae)return a;let c=i.parent;if(!c){let u=s[sl];if(u){let l=u.get(n,Ae,r);if(l!==Ae)return l}c=jl(s),s=s[on]}i=c}return o}function jl(e){let t=e[I],n=t.type;return n===2?t.declTNode:n===1?e[he]:null}function Cg(e){return vg(J(),e)}function Qc(e,t=null,n=null,r){let o=Vl(e,t,n,r);return o.resolveInjectorInitializers(),o}function Vl(e,t=null,n=null,r,o=new Set){let i=[n||se,Tp(e)];return r=r||(typeof e=="object"?void 0:fe(e)),new xn(i,t||wo(),r||null,o)}var Kt=class e{static{this.THROW_IF_NOT_FOUND=Mn}static{this.NULL=new Ur}static create(t,n){if(Array.isArray(t))return Qc({name:""},n,t,"");{let r=t.name??"";return Qc({name:r},t.parent,t.providers,r)}}static{this.\u0275prov=P({token:e,providedIn:"any",factory:()=>U(Bu)})}static{this.__NG_ELEMENT_ID__=-1}};var bg=new S("");bg.__NG_ELEMENT_ID__=e=>{let t=J();if(t===null)throw new M(204,!1);if(t.type&2)return t.value;if(e&N.Optional)return null;throw new M(204,!1)};var Mg="ngOriginalError";function Ai(e){return e[Mg]}var Bl=!0,Ao=(()=>{class e{static{this.__NG_ELEMENT_ID__=_g}static{this.__NG_ENV_ID__=n=>n}}return e})(),ts=class extends Ao{constructor(t){super(),this._lView=t}onDestroy(t){return ml(this._lView,t),()=>qp(this._lView,t)}};function _g(){return new ts(y())}var Rt=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new pn(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static{this.\u0275prov=P({token:e,providedIn:"root",factory:()=>new e})}}return e})();var ns=class extends ye{constructor(t=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=t,il()&&(this.destroyRef=D(Ao,{optional:!0})??void 0,this.pendingTasks=D(Rt,{optional:!0})??void 0)}emit(t){let n=_(null);try{super.next(t)}finally{_(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof Z&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{t(n),r!==void 0&&this.pendingTasks?.remove(r)})}}},_e=ns;function Qr(...e){}function $l(e){let t,n;function r(){e=Qr;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function Jc(e){return queueMicrotask(()=>e()),()=>{e=Qr}}var ca="isAngularZone",Jr=ca+"_ID",Tg=0,ne=class e{constructor(t){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new _e(!1),this.onMicrotaskEmpty=new _e(!1),this.onStable=new _e(!1),this.onError=new _e(!1);let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Bl}=t;if(typeof Zone>"u")throw new M(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,Sg(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(ca)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new M(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new M(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,xg,Qr,Qr);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},xg={};function ua(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 Ng(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){$l(()=>{e.callbackScheduled=!1,rs(e),e.isCheckStableRunning=!0,ua(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),rs(e)}function Sg(e){let t=()=>{Ng(e)},n=Tg++;e._inner=e._inner.fork({name:"angular",properties:{[ca]:!0,[Jr]:n,[Jr+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(Ag(c))return r.invokeTask(i,s,a,c);try{return Kc(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Xc(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return Kc(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Og(c)&&t(),Xc(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,rs(e),ua(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 rs(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Kc(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Xc(e){e._nesting--,ua(e)}var Kr=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new _e,this.onMicrotaskEmpty=new _e,this.onStable=new _e,this.onError=new _e}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function Ag(e){return Ul(e,"__ignore_ng_zone__")}function Og(e){return Ul(e,"__scheduler_tick__")}function Ul(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var ot=class{constructor(){this._console=console}handleError(t){let n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Ai(t);for(;n&&Ai(n);)n=Ai(n);return n||null}},Rg=new S("",{providedIn:"root",factory:()=>{let e=D(ne),t=D(ot);return n=>e.runOutsideAngular(()=>t.handleError(n))}}),Xr=class{constructor(){this.destroyed=!1,this.listeners=null,this.errorHandler=D(ot,{optional:!0}),this.destroyRef=D(Ao),this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new M(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?.indexOf(t);n!==void 0&&n!==-1&&this.listeners?.splice(n,1)}}}emit(t){if(this.destroyed)throw new M(953,!1);if(this.listeners===null)return;let n=_(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{_(n)}}};function F0(e){return new Xr}function eu(e,t){return Su(e,t)}function Pg(e){return Su(go,e)}var k0=(eu.required=Pg,eu);function Fg(){return un(J(),y())}function un(e,t){return new ln(we(e,t))}var ln=(()=>{class e{constructor(n){this.nativeElement=n}static{this.__NG_ELEMENT_ID__=Fg}}return e})();function Hl(e){return e instanceof ln?e.nativeElement:e}function kg(){return this._results[Symbol.iterator]()}var os=class e{get changes(){return this._changes??=new _e}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let n=e.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=kg)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=sp(t);(this._changesDetected=!ip(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};function zl(e){return(e.flags&128)===128}var Gl=new Map,Lg=0;function jg(){return Lg++}function Vg(e){Gl.set(e[Io],e)}function is(e){Gl.delete(e[Io])}var tu="__ngContext__";function it(e,t){et(t)?(e[tu]=t[Io],Vg(t)):e[tu]=t}function Wl(e){return Zl(e[Nn])}function ql(e){return Zl(e[Te])}function Zl(e){for(;e!==null&&!Ue(e);)e=e[Te];return e}var ss;function L0(e){ss=e}function Yl(){if(ss!==void 0)return ss;if(typeof document<"u")return document;throw new M(210,!1)}var j0=new S("",{providedIn:"root",factory:()=>Bg}),Bg="ng",$g=new S(""),la=new S("",{providedIn:"platform",factory:()=>"unknown"});var V0=new S("",{providedIn:"root",factory:()=>Yl().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Ug="h",Hg="b";var zg=()=>null;function da(e,t,n=!1){return zg(e,t,n)}var Ql=!1,Gg=new S("",{providedIn:"root",factory:()=>Ql});var Mr;function Wg(){if(Mr===void 0&&(Mr=null,Ke.trustedTypes))try{Mr=Ke.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Mr}function Oo(e){return Wg()?.createHTML(e)||e}var _r;function Jl(){if(_r===void 0&&(_r=null,Ke.trustedTypes))try{_r=Ke.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return _r}function nu(e){return Jl()?.createHTML(e)||e}function ru(e){return Jl()?.createScriptURL(e)||e}var Be=class{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${xu})`}},as=class extends Be{getTypeName(){return"HTML"}},cs=class extends Be{getTypeName(){return"Style"}},us=class extends Be{getTypeName(){return"Script"}},ls=class extends Be{getTypeName(){return"URL"}},ds=class extends Be{getTypeName(){return"ResourceURL"}};function Pt(e){return e instanceof Be?e.changingThisBreaksApplicationSecurity:e}function fa(e,t){let n=qg(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${xu})`)}return n===t}function qg(e){return e instanceof Be&&e.getTypeName()||null}function B0(e){return new as(e)}function $0(e){return new cs(e)}function U0(e){return new us(e)}function H0(e){return new ls(e)}function z0(e){return new ds(e)}function Zg(e){let t=new hs(e);return Yg()?new fs(t):t}var fs=class{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(Oo(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},hs=class{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=Oo(t),n}};function Yg(){try{return!!new window.DOMParser().parseFromString(Oo(""),"text/html")}catch{return!1}}var Qg=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Kl(e){return e=String(e),e.match(Qg)?e:"unsafe:"+e}function ze(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Fn(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var Xl=ze("area,br,col,hr,img,wbr"),ed=ze("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),td=ze("rp,rt"),Jg=Fn(td,ed),Kg=Fn(ed,ze("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")),Xg=Fn(td,ze("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")),ou=Fn(Xl,Kg,Xg,Jg),nd=ze("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),em=ze("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"),tm=ze("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"),nm=Fn(nd,em,tm),rm=ze("script,style,template"),ps=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=sm(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=im(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=iu(t).toLowerCase();if(!ou.hasOwnProperty(n))return this.sanitizedSomething=!0,!rm.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!nm.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;nd[a]&&(c=Kl(c)),this.buf.push(" ",s,'="',su(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=iu(t).toLowerCase();ou.hasOwnProperty(n)&&!Xl.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(su(t))}};function om(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function im(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw rd(t);return t}function sm(e){let t=e.firstChild;if(t&&om(e,t))throw rd(t);return t}function iu(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function rd(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var am=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,cm=/([^\#-~ |!])/g;function su(e){return e.replace(/&/g,"&").replace(am,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(cm,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var Tr;function um(e,t){let n=null;try{Tr=Tr||Zg(e);let r=t?String(t):"";n=Tr.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=Tr.getInertBodyElement(r)}while(r!==i);let a=new ps().sanitizeChildren(au(n)||n);return Oo(a)}finally{if(n){let r=au(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function au(e){return"content"in e&&lm(e)?e.content:null}function lm(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Ro=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}(Ro||{});function G0(e){let t=ha();return t?nu(t.sanitize(Ro.HTML,e)||""):fa(e,"HTML")?nu(Pt(e)):um(Yl(),Oe(e))}function dm(e){let t=ha();return t?t.sanitize(Ro.URL,e)||"":fa(e,"URL")?Pt(e):Kl(Oe(e))}function fm(e){let t=ha();if(t)return ru(t.sanitize(Ro.RESOURCE_URL,e)||"");if(fa(e,"ResourceURL"))return ru(Pt(e));throw new M(904,!1)}function hm(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?fm:dm}function W0(e,t,n){return hm(t,n)(e)}function ha(){let e=y();return e&&e[Pe].sanitizer}var pm=/^>|^->|<!--|-->|--!>|<!-$/g,gm=/(<|>)/g,mm="\u200B$1\u200B";function ym(e){return e.replace(pm,t=>t.replace(gm,mm))}function od(e){return e instanceof Function?e():e}var eo=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(eo||{}),vm;function pa(e,t){return vm(e,t)}function zt(e,t,n,r,o){if(r!=null){let i,s=!1;Ue(r)?i=r:et(r)&&(s=!0,r=r[$e]);let a=Fe(r);e===0&&n!==null?o==null?ud(t,n,a):to(t,n,a,o||null,!0):e===1&&n!==null?to(t,n,a,o||null,!0):e===2?Om(t,a,s):e===3&&t.destroyNode(a),i!=null&&Pm(t,e,i,n,o)}}function Dm(e,t){return e.createText(t)}function wm(e,t,n){e.setValue(t,n)}function Im(e,t){return e.createComment(ym(t))}function id(e,t,n){return e.createElement(t,n)}function Em(e,t){sd(e,t),t[$e]=null,t[he]=null}function Cm(e,t,n,r,o,i){r[$e]=o,r[he]=t,ko(e,r,n,1,o,i)}function sd(e,t){t[Pe].changeDetectionScheduler?.notify(9),ko(e,t,t[B],2,null,null)}function bm(e){let t=e[Nn];if(!t)return Oi(e[I],e);for(;t;){let n=null;if(et(t))n=t[Nn];else{let r=t[te];r&&(n=r)}if(!n){for(;t&&!t[Te]&&t!==e;)et(t)&&Oi(t[I],t),t=t[re];t===null&&(t=e),et(t)&&Oi(t[I],t),n=t&&t[Te]}t=n}}function Mm(e,t,n,r){let o=te+r,i=n.length;r>0&&(n[o-1][Te]=t),r<i-te?(t[Te]=n[o],Vu(n,te+r,t)):(n.push(t),t[Te]=null),t[re]=n;let s=t[Et];s!==null&&n!==s&&ad(s,t);let a=t[Ve];a!==null&&a.insertView(e),Yi(t),t[v]|=128}function ad(e,t){let n=e[Jt],r=t[re];if(et(r))e[v]|=Gr.HasTransplantedViews;else{let o=r[re][ge];t[ge]!==o&&(e[v]|=Gr.HasTransplantedViews)}n===null?e[Jt]=[t]:n.push(t)}function ga(e,t){let n=e[Jt],r=n.indexOf(t);n.splice(r,1)}function Sn(e,t){if(e.length<=te)return;let n=te+t,r=e[n];if(r){let o=r[Et];o!==null&&o!==e&&ga(o,r),t>0&&(e[n-1][Te]=r[Te]);let i=Br(e,te+t);Em(r[I],r);let s=i[Ve];s!==null&&s.detachView(i[I]),r[re]=null,r[Te]=null,r[v]&=-129}return r}function Po(e,t){if(!(t[v]&256)){let n=t[B];n.destroyNode&&ko(e,t,n,3,null,null),bm(t)}}function Oi(e,t){if(t[v]&256)return;let n=_(null);try{t[v]&=-129,t[v]|=256,t[ve]&&Er(t[ve]),Tm(e,t),_m(e,t),t[I].type===1&&t[B].destroy();let r=t[Et];if(r!==null&&Ue(t[re])){r!==t[re]&&ga(r,t);let o=t[Ve];o!==null&&o.detachView(e)}is(t)}finally{_(n)}}function _m(e,t){let n=e.cleanup,r=t[Hr];if(n!==null)for(let i=0;i<n.length-1;i+=2)if(typeof n[i]=="string"){let s=n[i+3];s>=0?r[s]():r[-s].unsubscribe(),i+=2}else{let s=r[n[i+1]];n[i].call(s)}r!==null&&(t[Hr]=null);let o=t[Xe];if(o!==null){t[Xe]=null;for(let i=0;i<o.length;i++){let s=o[i];s()}}}function Tm(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let o=t[n[r]];if(!(o instanceof _t)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];Se(4,a,c);try{c.call(a)}finally{Se(5,a,c)}}else{Se(4,o,i);try{i.call(o)}finally{Se(5,o,i)}}}}}function cd(e,t,n){return xm(e,t.parent,n)}function xm(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[$e];{let{componentOffset:o}=r;if(o>-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===_n.None||i===_n.Emulated)return null}return we(r,n)}}function to(e,t,n,r,o){e.insertBefore(t,n,r,o)}function ud(e,t,n){e.appendChild(t,n)}function cu(e,t,n,r,o){r!==null?to(e,t,n,r,o):ud(e,t,n)}function ld(e,t){return e.parentNode(t)}function Nm(e,t){return e.nextSibling(t)}function dd(e,t,n){return Am(e,t,n)}function Sm(e,t,n){return e.type&40?we(e,n):null}var Am=Sm,uu;function Fo(e,t,n,r){let o=cd(e,r,t),i=t[B],s=r.parent||t[he],a=dd(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)cu(i,o,n[c],a,!1);else cu(i,o,n,a,!1);uu!==void 0&&uu(i,r,t,n,o)}function En(e,t){if(t!==null){let n=t.type;if(n&3)return we(t,e);if(n&4)return gs(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return En(e,r);{let o=e[t.index];return Ue(o)?gs(-1,o):Fe(o)}}else{if(n&128)return En(e,t.next);if(n&32)return pa(t,e)()||Fe(e[t.index]);{let r=fd(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=bt(e[ge]);return En(o,r)}else return En(e,t.next)}}}return null}function fd(e,t){if(t!==null){let r=e[ge][he],o=t.projection;return r.projection[o]}return null}function gs(e,t){let n=te+e+1;if(n<t.length){let r=t[n],o=r[I].firstChild;if(o!==null)return En(r,o)}return t[Ct]}function Om(e,t,n){e.removeChild(null,t,n)}function ma(e,t,n,r,o,i,s){for(;n!=null;){if(n.type===128){n=n.next;continue}let a=r[n.index],c=n.type;if(s&&t===0&&(a&&it(Fe(a),r),n.flags|=2),(n.flags&32)!==32)if(c&8)ma(e,t,n.child,r,o,i,!1),zt(t,e,o,a,i);else if(c&32){let u=pa(n,r),l;for(;l=u();)zt(t,e,o,l,i);zt(t,e,o,a,i)}else c&16?hd(e,t,r,n,o,i):zt(t,e,o,a,i);n=s?n.projectionNext:n.next}}function ko(e,t,n,r,o,i){ma(n,r,e.firstChild,t,o,i,!1)}function Rm(e,t,n){let r=t[B],o=cd(e,n,t),i=n.parent||t[he],s=dd(i,n,t);hd(r,0,t,n,o,s)}function hd(e,t,n,r,o,i){let s=n[ge],c=s[he].projection[r.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];zt(t,e,o,l,i)}else{let u=c,l=s[re];zl(r)&&(u.flags|=128),ma(e,t,u,l,o,i,!0)}}function Pm(e,t,n,r,o){let i=n[Ct],s=Fe(n);i!==s&&zt(t,e,r,i,o);for(let a=te;a<n.length;a++){let c=n[a];ko(c[I],c,e,t,r,i)}}function Fm(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:eo.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=eo.Important),e.setStyle(n,r,o,i))}}function km(e,t,n){e.setAttribute(t,"style",n)}function pd(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function gd(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&Hi(e,t,r),o!==null&&pd(e,t,o),i!==null&&km(e,t,i)}var K={};function q0(e=1){md($(),y(),He()+e,!1)}function md(e,t,n,r){if(!r)if((t[v]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Rr(t,i,n)}else{let i=e.preOrderHooks;i!==null&&Pr(t,i,0,n)}Mt(n)}function Ge(e,t=N.Default){let n=y();if(n===null)return U(e,t);let r=J();return kl(r,n,ie(e),t)}function yd(e,t,n,r,o,i){let s=_(null);try{let a=null;o&tt.SignalBased&&(a=t[r][le]),a!==null&&a.transformFn!==void 0&&(i=a.transformFn(i)),o&tt.HasDecoratorInputTransform&&(i=e.inputTransforms[r].call(t,i)),e.setInput!==null?e.setInput(t,a,i,n,r):cl(t,a,r,i)}finally{_(s)}}function Lm(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let o=n[r];if(o<0)Mt(~o);else{let i=o,s=n[++r],a=n[++r];rg(s,i);let c=t[i];a(2,c)}}}finally{Mt(-1)}}function Lo(e,t,n,r,o,i,s,a,c,u,l){let d=t.blueprint.slice();return d[$e]=o,d[v]=r|4|128|8|64,(u!==null||e&&e[v]&2048)&&(d[v]|=2048),pl(d),d[re]=d[on]=e,d[ee]=n,d[Pe]=s||e&&e[Pe],d[B]=a||e&&e[B],d[Qt]=c||e&&e[Qt]||null,d[he]=i,d[Io]=jg(),d[Yt]=l,d[sl]=u,d[ge]=t.type==2?e[ge]:d,d}function dn(e,t,n,r,o){let i=e.data[t];if(i===null)i=jm(e,t,n,r,o),ng()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Xp();i.injectorIndex=s===null?-1:s.injectorIndex}return Ot(i,!0),i}function jm(e,t,n,r,o){let i=wl(),s=na(),a=s?i:i&&i.parent,c=e.data[t]=zm(e,a,n,t,r,o);return e.firstChild===null&&(e.firstChild=c),i!==null&&(s?i.child==null&&c.parent!==null&&(i.child=c):i.next===null&&(i.next=c,c.prev=i)),c}function vd(e,t,n,r){if(n===0)return-1;let o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function Dd(e,t,n,r,o){let i=He(),s=r&2;try{Mt(-1),s&&t.length>Y&&md(e,t,Y,!1),Se(s?2:0,o),n(r,o)}finally{Mt(i),Se(s?3:1,o)}}function ya(e,t,n){if(Js(t)){let r=_(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=n[s];a.contentQueries(1,c,s)}}}finally{_(r)}}}function va(e,t,n){vl()&&(Qm(e,t,n,we(n,t)),(n.flags&64)===64&&Ed(e,t,n))}function Da(e,t,n=we){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?n(t,e):e[s];e[o++]=a}}}function wd(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=wa(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function wa(e,t,n,r,o,i,s,a,c,u,l){let d=Y+r,h=d+o,f=Vm(d,h),p=typeof u=="function"?u():u;return f[I]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:h,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:p,incompleteFirstPass:!1,ssrId:l}}function Vm(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:K);return n}function Bm(e,t,n,r){let i=r.get(Gg,Ql)||n===_n.ShadowDom,s=e.selectRootElement(t,i);return $m(s),s}function $m(e){Um(e)}var Um=()=>null;function Hm(e,t,n,r){let o=Md(t);o.push(n),e.firstCreatePass&&_d(e).push(r,o.length-1)}function zm(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Dl()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function lu(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;let s=t[i];if(s===void 0)continue;r??={};let a,c=tt.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let u=i;if(o!==null){if(!o.hasOwnProperty(i))continue;u=o[i]}e===0?du(r,n,u,a,c):du(r,n,u,a)}return r}function du(e,t,n,r,o){let i;e.hasOwnProperty(n)?(i=e[n]).push(t,r):i=e[n]=[t,r],o!==void 0&&i.push(o)}function Gm(e,t,n){let r=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],c=null,u=null;for(let l=r;l<o;l++){let d=i[l],h=n?n.get(d):null,f=h?h.inputs:null,p=h?h.outputs:null;c=lu(0,d.inputs,l,c,f),u=lu(1,d.outputs,l,u,p);let g=c!==null&&s!==null&&!qs(t)?ay(c,l,s):null;a.push(g)}c!==null&&(c.hasOwnProperty("class")&&(t.flags|=8),c.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=a,t.inputs=c,t.outputs=u}function Wm(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function kn(e,t,n,r,o,i,s,a){let c=we(t,n),u=t.inputs,l;!a&&u!=null&&(l=u[r])?(Ea(e,n,l,r,o),Eo(t)&&qm(n,t.index)):t.type&3?(r=Wm(r),o=s!=null?s(o,t.value||"",r):o,i.setProperty(c,r,o)):t.type&12}function qm(e,t){let n=at(t,e);n[v]&16||(n[v]|=64)}function Ia(e,t,n,r){if(vl()){let o=r===null?null:{"":-1},i=Km(e,n),s,a;i===null?s=a=null:[s,a]=i,s!==null&&Id(e,t,n,s,o,a),o&&Xm(n,r,o)}n.mergedAttrs=Tn(n.mergedAttrs,n.attrs)}function Id(e,t,n,r,o,i){for(let u=0;u<r.length;u++)Xi(Yr(n,t),e,r[u].type);ty(n,e.data.length,r.length);for(let u=0;u<r.length;u++){let l=r[u];l.providersResolver&&l.providersResolver(l)}let s=!1,a=!1,c=vd(e,t,r.length,null);for(let u=0;u<r.length;u++){let l=r[u];n.mergedAttrs=Tn(n.mergedAttrs,l.hostAttrs),ny(e,n,t,c,l),ey(c,l,o),l.contentQueries!==null&&(n.flags|=4),(l.hostBindings!==null||l.hostAttrs!==null||l.hostVars!==0)&&(n.flags|=64);let d=l.type.prototype;!s&&(d.ngOnChanges||d.ngOnInit||d.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),s=!0),!a&&(d.ngOnChanges||d.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),a=!0),c++}Gm(e,n,i)}function Zm(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;Ym(s)!=a&&s.push(a),s.push(n,r,i)}}function Ym(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function Qm(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;Eo(n)&&ry(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||Yr(n,t),it(r,t);let s=n.initialInputs;for(let a=o;a<i;a++){let c=e.data[a],u=Tt(t,e,a,n);if(it(u,t),s!==null&&sy(t,a-o,u,c,n,s),nt(c)){let l=at(n.index,t);l[ee]=Tt(t,e,a,n)}}}function Ed(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=og();try{Mt(i);for(let a=r;a<o;a++){let c=e.data[a],u=t[a];Qi(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&Jm(c,u)}}finally{Mt(-1),Qi(s)}}function Jm(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Km(e,t){let n=e.directiveRegistry,r=null,o=null;if(n)for(let i=0;i<n.length;i++){let s=n[i];if(Gu(t,s.selectors,!1))if(r||(r=[]),nt(s))if(s.findHostDirectiveDefs!==null){let a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),r.unshift(...a,s);let c=a.length;ms(e,t,c)}else r.unshift(s),ms(e,t,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,r,o),r.push(s)}return r===null?null:[r,o]}function ms(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function Xm(e,t,n){if(t){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new M(-301,!1);r.push(t[o],i)}}}function ey(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;nt(t)&&(n[""]=e)}}function ty(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function ny(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=It(o.type,!0)),s=new _t(i,nt(o),Ge);e.blueprint[r]=s,n[r]=s,Zm(e,t,r,vd(e,n,o.hostVars,K),o)}function ry(e,t,n){let r=we(t,e),o=wd(n),i=e[Pe].rendererFactory,s=16;n.signals?s=4096:n.onPush&&(s=64);let a=jo(e,Lo(e,o,null,s,r,t,null,i.createRenderer(r,n),null,null,null));e[t.index]=a}function oy(e,t,n,r,o,i){let s=we(e,t);iy(t[B],s,i,e.value,n,r,o)}function iy(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?Oe(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function sy(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;){let c=s[a++],u=s[a++],l=s[a++],d=s[a++];yd(r,n,c,u,l,d)}}function ay(e,t,n){let r=null,o=0;for(;o<n.length;){let i=n[o];if(i===0){o+=4;continue}else if(i===5){o+=2;continue}if(typeof i=="number")break;if(e.hasOwnProperty(i)){r===null&&(r=[]);let s=e[i];for(let a=0;a<s.length;a+=3)if(s[a]===t){r.push(i,s[a+1],s[a+2],n[o+1]);break}}o+=2}return r}function Cd(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function bd(e,t){let n=e.contentQueries;if(n!==null){let r=_(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];To(i),a.contentQueries(2,t[s],s)}}}finally{_(r)}}}function jo(e,t){return e[Nn]?e[zc][Te]=t:e[Nn]=t,e[zc]=t,t}function ys(e,t,n){To(0);let r=_(null);try{t(e,n)}finally{_(r)}}function Md(e){return e[Hr]??=[]}function _d(e){return e.cleanup??=[]}function Td(e,t){let n=e[Qt],r=n?n.get(ot,null):null;r&&r.handleError(t)}function Ea(e,t,n,r,o){for(let i=0;i<n.length;){let s=n[i++],a=n[i++],c=n[i++],u=t[s],l=e.data[s];yd(l,u,r,a,c,o)}}function xd(e,t,n){let r=hl(t,e);wm(e[B],r,n)}function cy(e,t){let n=at(t,e),r=n[I];uy(r,n);let o=n[$e];o!==null&&n[Yt]===null&&(n[Yt]=da(o,n[Qt])),Ca(r,n,n[ee])}function uy(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Ca(e,t,n){ia(t);try{let r=e.viewQuery;r!==null&&ys(1,r,n);let o=e.template;o!==null&&Dd(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Ve]?.finishViewCreation(e),e.staticContentQueries&&bd(e,t),e.staticViewQueries&&ys(2,e.viewQuery,n);let i=e.components;i!==null&&ly(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[v]&=-5,sa()}}function ly(e,t){for(let n=0;n<t.length;n++)cy(e,t[n])}function Ln(e,t,n,r){let o=_(null);try{let i=t.tView,a=e[v]&4096?4096:16,c=Lo(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),u=e[t.index];c[Et]=u;let l=e[Ve];return l!==null&&(c[Ve]=l.createEmbeddedView(i)),Ca(i,c,n),c}finally{_(o)}}function Nd(e,t){let n=te+t;if(n<e.length)return e[n]}function Xt(e,t){return!t||t.firstChild===null||zl(e)}function jn(e,t,n,r=!0){let o=t[I];if(Mm(o,t,e,n),r){let s=gs(n,e),a=t[B],c=ld(a,e[Ct]);c!==null&&Cm(o,e[he],a,t,c,s)}let i=t[Yt];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Sd(e,t){let n=Sn(e,t);return n!==void 0&&Po(n[I],n),n}function no(e,t,n,r,o=!1){for(;n!==null;){if(n.type===128){n=o?n.projectionNext:n.next;continue}let i=t[n.index];i!==null&&r.push(Fe(i)),Ue(i)&&dy(i,r);let s=n.type;if(s&8)no(e,t,n.child,r);else if(s&32){let a=pa(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=fd(t,n);if(Array.isArray(a))r.push(...a);else{let c=bt(t[ge]);no(c[I],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function dy(e,t){for(let n=te;n<e.length;n++){let r=e[n],o=r[I].firstChild;o!==null&&no(r[I],r,o,t)}e[Ct]!==e[$e]&&t.push(e[Ct])}var Ad=[];function fy(e){return e[ve]??hy(e)}function hy(e){let t=Ad.pop()??Object.create(gy);return t.lView=e,t}function py(e){e.lView[ve]!==e&&(e.lView=null,Ad.push(e))}var gy=Ce(pe({},$t),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Mo(e.lView)},consumerOnSignalRead(){this.lView[ve]=this}});function my(e){let t=e[ve]??Object.create(yy);return t.lView=e,t}var yy=Ce(pe({},$t),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=bt(e.lView);for(;t&&!Od(t[I]);)t=bt(t);t&&gl(t)},consumerOnSignalRead(){this.lView[ve]=this}});function Od(e){return e.type!==2}var vy=100;function Rd(e,t=!0,n=0){let r=e[Pe],o=r.rendererFactory,i=!1;i||o.begin?.();try{Dy(e,n)}catch(s){throw t&&Td(e,s),s}finally{i||(o.end?.(),r.inlineEffectRunner?.flush())}}function Dy(e,t){let n=Il();try{Wc(!0),vs(e,t);let r=0;for(;bo(e);){if(r===vy)throw new M(103,!1);r++,vs(e,1)}}finally{Wc(n)}}function wy(e,t,n,r){let o=t[v];if((o&256)===256)return;let i=!1,s=!1;!i&&t[Pe].inlineEffectRunner?.flush(),ia(t);let a=!0,c=null,u=null;i||(Od(e)?(u=fy(t),c=wn(u)):Ic()===null?(a=!1,u=my(t),c=wn(u)):t[ve]&&(Er(t[ve]),t[ve]=null));try{pl(t),tg(e.bindingStartIndex),n!==null&&Dd(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&Rr(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Pr(t,f,0,null),xi(t,0)}if(s||Iy(t),Pd(t,0),e.contentQueries!==null&&bd(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&Rr(t,f)}else{let f=e.contentHooks;f!==null&&Pr(t,f,1),xi(t,1)}Lm(e,t);let d=e.components;d!==null&&kd(t,d,0);let h=e.viewQuery;if(h!==null&&ys(2,h,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&Rr(t,f)}else{let f=e.viewHooks;f!==null&&Pr(t,f,2),xi(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Or]){for(let f of t[Or])f();t[Or]=null}i||(t[v]&=-73)}catch(l){throw i||Mo(t),l}finally{u!==null&&(wr(u,c),a&&py(u)),sa()}}function Pd(e,t){for(let n=Wl(e);n!==null;n=ql(n))for(let r=te;r<n.length;r++){let o=n[r];Fd(o,t)}}function Iy(e){for(let t=Wl(e);t!==null;t=ql(t)){if(!(t[v]&Gr.HasTransplantedViews))continue;let n=t[Jt];for(let r=0;r<n.length;r++){let o=n[r];gl(o)}}}function Ey(e,t,n){let r=at(t,e);Fd(r,n)}function Fd(e,t){ta(e)&&vs(e,t)}function vs(e,t){let r=e[I],o=e[v],i=e[ve],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&Ir(i)),s||=!1,i&&(i.dirty=!1),e[v]&=-9217,s)wy(r,e,r.template,e[ee]);else if(o&8192){Pd(e,1);let a=r.components;a!==null&&kd(e,a,1)}}function kd(e,t,n){for(let r=0;r<t.length;r++)Ey(e,t[r],n)}function ba(e,t){let n=Il()?64:1088;for(e[Pe].changeDetectionScheduler?.notify(t);e;){e[v]|=n;let r=bt(e);if(qi(e)&&!r)return e;e=r}return null}var xt=class{get rootNodes(){let t=this._lView,n=t[I];return no(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[ee]}set context(t){this._lView[ee]=t}get destroyed(){return(this._lView[v]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[re];if(Ue(t)){let n=t[zr],r=n?n.indexOf(this):-1;r>-1&&(Sn(t,r),Br(n,r))}this._attachedToViewContainer=!1}Po(this._lView[I],this._lView)}onDestroy(t){ml(this._lView,t)}markForCheck(){ba(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[v]&=-129}reattach(){Yi(this._lView),this._lView[v]|=128}detectChanges(){this._lView[v]|=1024,Rd(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new M(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=qi(this._lView),n=this._lView[Et];n!==null&&!t&&ga(n,this._lView),sd(this._lView[I],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new M(902,!1);this._appRef=t;let n=qi(this._lView),r=this._lView[Et];r!==null&&!n&&ad(r,this._lView),Yi(this._lView)}},An=(()=>{class e{static{this.__NG_ELEMENT_ID__=My}}return e})(),Cy=An,by=class extends Cy{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){let o=Ln(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new xt(o)}};function My(){return Vo(J(),y())}function Vo(e,t){return e.type&4?new by(t,e,un(e,t)):null}var Y0=new RegExp(`^(\\d+)*(${Hg}|${Ug})*(.*)`);var _y=()=>null;function en(e,t){return _y(e,t)}var Nt=class{},Ma=new S("",{providedIn:"root",factory:()=>!1});var Ld=new S(""),_a=new S(""),Ds=class{},ro=class{};function Ty(e){let t=Error(`No component factory found for ${fe(e)}.`);return t[xy]=e,t}var xy="ngComponent";var ws=class{resolveComponentFactory(t){throw Ty(t)}},tn=class{static{this.NULL=new ws}},oo=class{},jd=(()=>{class e{constructor(){this.destroyNode=null}static{this.__NG_ELEMENT_ID__=()=>Ny()}}return e})();function Ny(){let e=y(),t=J(),n=at(t.index,e);return(et(n)?n:e)[B]}var Sy=(()=>{class e{static{this.\u0275prov=P({token:e,providedIn:"root",factory:()=>null})}}return e})();function io(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s<t.length;s++){let a=t[s];if(typeof a=="number")i=a;else if(i==1)o=Bi(o,a);else if(i==2){let c=a,u=t[++s];r=Bi(r,c+": "+u+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}var so=class extends tn{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=je(t);return new St(n,this.ngModule)}};function fu(e,t){let n=[];for(let r in e){if(!e.hasOwnProperty(r))continue;let o=e[r];if(o===void 0)continue;let i=Array.isArray(o),s=i?o[0]:o,a=i?o[1]:tt.None;t?n.push({propName:s,templateName:r,isSignal:(a&tt.SignalBased)!==0}):n.push({propName:s,templateName:r})}return n}function Ay(e){let t=e.toLowerCase();return t==="svg"?fl:t==="math"?Hp:null}var St=class extends ro{get inputs(){let t=this.componentDef,n=t.inputTransforms,r=fu(t.inputs,!0);if(n!==null)for(let o of r)n.hasOwnProperty(o.propName)&&(o.transform=n[o.propName]);return r}get outputs(){return fu(this.componentDef.outputs,!1)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=Ip(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){let i=_(null);try{o=o||this.ngModule;let s=o instanceof Re?o:o?.injector;s&&this.componentDef.getStandaloneInjector!==null&&(s=this.componentDef.getStandaloneInjector(s)||s);let a=s?new Ji(t,s):t,c=a.get(oo,null);if(c===null)throw new M(407,!1);let u=a.get(Sy,null),l=a.get(Nt,null),d={rendererFactory:c,sanitizer:u,inlineEffectRunner:null,changeDetectionScheduler:l},h=c.createRenderer(null,this.componentDef),f=this.componentDef.selectors[0][0]||"div",p=r?Bm(h,r,this.componentDef.encapsulation,a):id(h,f,Ay(f)),g=512;this.componentDef.signals?g|=4096:this.componentDef.onPush||(g|=16);let m=null;p!==null&&(m=da(p,a,!0));let w=wa(0,null,null,1,0,null,null,null,null,null,null),R=Lo(null,w,null,g,null,null,d,h,a,null,m);ia(R);let F,Q,ce=null;try{let G=this.componentDef,ke,ri=null;G.findHostDirectiveDefs?(ke=[],ri=new Map,G.findHostDirectiveDefs(G,ke,ri),ke.push(G)):ke=[G];let Yf=Oy(R,p);ce=Ry(Yf,p,G,ke,R,d,h),Q=Xs(w,Y),p&&ky(h,G,p,r),n!==void 0&&Ly(Q,this.ngContentSelectors,n),F=Fy(ce,G,ke,ri,R,[jy]),Ca(w,R,null)}catch(G){throw ce!==null&&is(ce),is(R),G}finally{sa()}return new Is(this.componentType,F,un(Q,R),R,Q)}finally{_(i)}}},Is=class extends Ds{constructor(t,n,r,o,i){super(),this.location=r,this._rootLView=o,this._tNode=i,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new xt(o,void 0,!1),this.componentType=t}setInput(t,n){let r=this._tNode.inputs,o;if(r!==null&&(o=r[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let i=this._rootLView;Ea(i[I],i,o,t,n),this.previousInputValues.set(t,n);let s=at(this._tNode.index,i);ba(s,1)}}get injector(){return new wt(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function Oy(e,t){let n=e[I],r=Y;return e[r]=t,dn(n,r,2,"#host",null)}function Ry(e,t,n,r,o,i,s){let a=o[I];Py(r,e,t,s);let c=null;t!==null&&(c=da(t,o[Qt]));let u=i.rendererFactory.createRenderer(t,n),l=16;n.signals?l=4096:n.onPush&&(l=64);let d=Lo(o,wd(n),null,l,o[e.index],e,i,u,null,null,c);return a.firstCreatePass&&ms(a,e,r.length-1),jo(o,d),o[e.index]=d}function Py(e,t,n,r){for(let o of e)t.mergedAttrs=Tn(t.mergedAttrs,o.hostAttrs);t.mergedAttrs!==null&&(io(t,t.mergedAttrs,!0),n!==null&&gd(r,n,t))}function Fy(e,t,n,r,o,i){let s=J(),a=o[I],c=we(s,o);Id(a,o,s,n,null,r);for(let l=0;l<n.length;l++){let d=s.directiveStart+l,h=Tt(o,a,d,s);it(h,o)}Ed(a,o,s),c&&it(c,o);let u=Tt(o,a,s.directiveStart+s.componentOffset,s);if(e[ee]=o[ee]=u,i!==null)for(let l of i)l(u,t);return ya(a,s,o),u}function ky(e,t,n,r){if(r)Hi(e,n,["ng-version","18.2.7"]);else{let{attrs:o,classes:i}=Ep(t.selectors[0]);o&&Hi(e,n,o),i&&i.length>0&&pd(e,n,i.join(" "))}}function Ly(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null?Array.from(i):null)}}function jy(){let e=J();So(y()[I],e)}var Vn=(()=>{class e{static{this.__NG_ELEMENT_ID__=Vy}}return e})();function Vy(){let e=J();return Bd(e,y())}var By=Vn,Vd=class extends By{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return un(this._hostTNode,this._hostLView)}get injector(){return new wt(this._hostTNode,this._hostLView)}get parentInjector(){let t=aa(this._hostTNode,this._hostLView);if(Sl(t)){let n=qr(t,this._hostLView),r=Wr(t),o=n[I].data[r+8];return new wt(o,n)}else return new wt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=hu(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-te}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=en(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Xt(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!Vp(t),a;if(s)a=n;else{let p=n||{};a=p.index,r=p.injector,o=p.projectableNodes,i=p.environmentInjector||p.ngModuleRef}let c=s?t:new St(je(t)),u=r||this.parentInjector;if(!i&&c.ngModule==null){let g=(s?u:this.parentInjector).get(Re,null);g&&(i=g)}let l=je(c.componentType??{}),d=en(this._lContainer,l?.id??null),h=d?.firstChild??null,f=c.create(u,o,h,i);return this.insertImpl(f.hostView,a,Xt(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Gp(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[re],u=new Vd(c,c[he],c[re]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return jn(s,o,i,r),t.attachToViewContainerRef(),Vu(Ri(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=hu(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Sn(this._lContainer,n);r&&(Br(Ri(this._lContainer),n),Po(r[I],r))}detach(t){let n=this._adjustIndex(t,-1),r=Sn(this._lContainer,n);return r&&Br(Ri(this._lContainer),n)!=null?new xt(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function hu(e){return e[zr]}function Ri(e){return e[zr]||(e[zr]=[])}function Bd(e,t){let n,r=t[e.index];return Ue(r)?n=r:(n=Cd(r,t,null,e),t[e.index]=n,jo(t,n)),Uy(n,t,e,r),new Vd(n,e,t)}function $y(e,t){let n=e[B],r=n.createComment(""),o=we(t,e),i=ld(n,o);return to(n,i,r,Nm(n,o),!1),r}var Uy=Gy,Hy=()=>!1;function zy(e,t,n){return Hy(e,t,n)}function Gy(e,t,n,r){if(e[Ct])return;let o;n.type&8?o=Fe(r):o=$y(t,n),e[Ct]=o}var Es=class e{constructor(t){this.queryList=t,this.matches=null}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Cs=class e{constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i<r;i++){let s=n.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new e(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)xa(t,n).matches!==null&&this.queries[n].setDirty()}},ao=class{constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=Jy(t):this.predicate=t}},bs=class e{constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){let o=n!==null?n.length:0,i=this.getByIndex(r).embeddedTView(t,o);i&&(i.indexInDeclarationView=r,n!==null?n.push(i):n=[i])}return n!==null?new e(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},Ms=class e{constructor(t,n=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,r=t.parent;for(;r!==null&&r.type&8&&r.index!==n;)r=r.parent;return n===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(t,n,Wy(n,i)),this.matchTNodeWithReadOption(t,n,Fr(n,t,i,!1,!1))}else r===An?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Fr(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===ln||o===Vn||o===An&&n.type&4)this.addMatch(n.index,-2);else{let i=Fr(n,t,o,!1,!1);i!==null&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n)}};function Wy(e,t){let n=e.localNames;if(n!==null){for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1]}return null}function qy(e,t){return e.type&11?un(e,t):e.type&4?Vo(e,t):null}function Zy(e,t,n,r){return n===-1?qy(t,e):n===-2?Yy(e,t,r):Tt(e,e[I],n,t)}function Yy(e,t,n){if(n===ln)return un(t,e);if(n===An)return Vo(t,e);if(n===Vn)return Bd(t,e)}function $d(e,t,n,r){let o=t[Ve].queries[r];if(o.matches===null){let i=e.data,s=n.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let u=s[c];if(u<0)a.push(null);else{let l=i[u];a.push(Zy(t,l,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function _s(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=$d(e,t,o,n);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else{let u=i[a+1],l=t[-c];for(let d=te;d<l.length;d++){let h=l[d];h[Et]===h[re]&&_s(h[I],h,u,r)}if(l[Jt]!==null){let d=l[Jt];for(let h=0;h<d.length;h++){let f=d[h];_s(f[I],f,u,r)}}}}}return r}function Ta(e,t){return e[Ve].queries[t].queryList}function Ud(e,t,n){let r=new os((n&4)===4);return Hm(e,t,r,r.destroy),(t[Ve]??=new Cs).queries.push(new Es(r))-1}function Qy(e,t,n){let r=$();return r.firstCreatePass&&(zd(r,new ao(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),Ud(r,y(),t)}function Hd(e,t,n,r){let o=$();if(o.firstCreatePass){let i=J();zd(o,new ao(t,n,r),i.index),Ky(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return Ud(o,y(),n)}function Jy(e){return e.split(",").map(t=>t.trim())}function zd(e,t,n){e.queries===null&&(e.queries=new bs),e.queries.track(new Ms(t,n))}function Ky(e,t){let n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}function xa(e,t){return e.queries.getByIndex(t)}function Gd(e,t){let n=e[I],r=xa(n,t);return r.crossesNgTemplate?_s(n,e,t,[]):$d(n,e,r,t)}var pu=new Set;function We(e){pu.has(e)||(pu.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function Xy(e){return typeof e=="function"&&e[le]!==void 0}function ev(e,t){We("NgSignals");let n=Oc(e),r=n[le];return t?.equal&&(r.equal=t.equal),n.set=o=>In(r,o),n.update=o=>Rc(r,o),n.asReadonly=Wd.bind(n),n}function Wd(){let e=this[le];if(e.readonlyFn===void 0){let t=()=>this();t[le]=e,e.readonlyFn=t}return e.readonlyFn}function qd(e){return Xy(e)&&typeof e.set=="function"}function Na(e,t){let n,r=bi(()=>{n._dirtyCounter();let o=ov(n,e);if(t&&o===void 0)throw new M(-951,!1);return o});return n=r[le],n._dirtyCounter=ev(0),n._flatValue=void 0,r}function tv(){return Na(!0,!1)}function nv(){return Na(!0,!0)}function rv(){return Na(!1,!1)}function Zd(e,t){let n=e[le];n._lView=y(),n._queryIndex=t,n._queryList=Ta(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function ov(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[v]&4)return t?void 0:se;let o=Ta(n,r),i=Gd(n,r);return o.reset(i,Hl),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}function gu(e,t){return tv()}function iv(e,t){return nv()}var J0=(gu.required=iv,gu);function K0(e,t){return rv()}function Yd(e){let t=Object.create(Nu),n=new Xr;t.value=e;function r(){return Dn(t),mu(t.value),t.value}return r[le]=t,r.asReadonly=Wd.bind(r),r.set=o=>{t.equal(t.value,o)||(In(t,o),n.emit(o))},r.update=o=>{mu(t.value),r.set(o(t.value))},r.subscribe=n.subscribe.bind(n),r.destroyRef=n.destroyRef,r}function mu(e){if(e===go)throw new M(952,!1)}function yu(e){return Yd(e)}function sv(){return Yd(go)}var X0=(yu.required=sv,yu);function av(e){return Object.getPrototypeOf(e.prototype).constructor}function cv(e){let t=av(e.type),n=!0,r=[e];for(;t;){let o;if(nt(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new M(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=xr(e.inputs),s.inputTransforms=xr(e.inputTransforms),s.declaredInputs=xr(e.declaredInputs),s.outputs=xr(e.outputs);let a=o.hostBindings;a&&hv(e,a);let c=o.viewQuery,u=o.contentQueries;if(c&&dv(e,c),u&&fv(e,u),uv(e,o),Vh(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===cv&&(n=!1)}}t=Object.getPrototypeOf(t)}lv(r)}function uv(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let r=t.inputs[n];if(r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n],t.inputTransforms!==null)){let o=Array.isArray(r)?r[0]:r;if(!t.inputTransforms.hasOwnProperty(o))continue;e.inputTransforms??={},e.inputTransforms[o]=t.inputTransforms[o]}}}function lv(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Tn(o.hostAttrs,n=Tn(n,o.hostAttrs))}}function xr(e){return e===qt?{}:e===se?[]:e}function dv(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function fv(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function hv(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function pv(e){let t=e.inputConfig,n={};for(let r in t)if(t.hasOwnProperty(r)){let o=t[r];Array.isArray(o)&&o[3]&&(n[r]=o[3])}e.inputTransforms=n}var st=class{},Ts=class{};var xs=class extends st{constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new so(this);let i=Qu(t);this._bootstrapComponents=od(i.bootstrap),this._r3Injector=Vl(t,n,[{provide:st,useValue:this},{provide:tn,useValue:this.componentFactoryResolver},...r],fe(t),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},Ns=class extends Ts{constructor(t){super(),this.moduleType=t}create(t){return new xs(this.moduleType,t,[])}};var co=class extends st{constructor(t){super(),this.componentFactoryResolver=new so(this),this.instance=null;let n=new xn([...t.providers,{provide:st,useValue:this},{provide:tn,useValue:this.componentFactoryResolver}],t.parent||wo(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function gv(e,t,n=null){return new co({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}function Bo(e,t,n){return e[t]=n}function mv(e,t){return e[t]}function De(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function On(e,t,n,r){let o=De(e,t,n);return De(e,t+1,r)||o}function yv(e,t,n,r,o){let i=On(e,t,n,r);return De(e,t+2,o)||i}function vv(e,t,n,r,o,i){let s=On(e,t,n,r);return On(e,t+2,o,i)||s}function Dv(e){return(e.flags&32)===32}function wv(e,t,n,r,o,i,s,a,c){let u=t.consts,l=dn(t,e,4,s||null,a||null);Ia(t,n,l,rt(u,c)),So(t,l);let d=l.tView=wa(2,l,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,u,null);return t.queries!==null&&(t.queries.template(t,l),d.queries=t.queries.embeddedTView(l)),l}function uo(e,t,n,r,o,i,s,a,c,u){let l=n+Y,d=t.firstCreatePass?wv(l,t,e,r,o,i,s,a,c):t.data[l];Ot(d,!1);let h=Ev(t,e,d,n);xo()&&Fo(t,e,h,d),it(h,e);let f=Cd(h,e,h,d);return e[l]=f,jo(e,f),zy(f,d,e),Co(d)&&va(t,e,d),c!=null&&Da(e,d,u),d}function Iv(e,t,n,r,o,i,s,a){let c=y(),u=$(),l=rt(u.consts,i);return uo(c,u,e,t,n,r,o,l,s,a),Iv}var Ev=Cv;function Cv(e,t,n,r){return No(!0),t[B].createComment("")}var Cn=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Cn||{}),bv=(()=>{class e{constructor(){this.impl=null}execute(){this.impl?.execute()}static{this.\u0275prov=P({token:e,providedIn:"root",factory:()=>new e})}}return e})(),vu=class e{constructor(){this.ngZone=D(ne),this.scheduler=D(Nt),this.errorHandler=D(ot,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}static{this.PHASES=[Cn.EarlyRead,Cn.Write,Cn.MixedReadWrite,Cn.Read]}execute(){this.executing=!0;for(let t of e.PHASES)for(let n of this.sequences)if(!(n.erroredOrDestroyed||!n.hooks[t]))try{n.pipelinedValue=this.ngZone.runOutsideAngular(()=>n.hooks[t](n.pipelinedValue))}catch(r){n.erroredOrDestroyed=!0,this.errorHandler?.handleError(r)}this.executing=!1;for(let t of this.sequences)t.afterRun(),t.once&&this.sequences.delete(t);for(let t of this.deferredRegistrations)this.sequences.add(t);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(t){this.executing?this.deferredRegistrations.add(t):(this.sequences.add(t),this.scheduler.notify(6))}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))}static{this.\u0275prov=P({token:e,providedIn:"root",factory:()=>new e})}};function Mv(e,t,n,r){let o=y(),i=an();if(De(o,i,t)){let s=$(),a=cn();oy(a,o,e,t,n,r)}return Mv}function Qd(e,t,n,r){return De(e,an(),n)?t+Oe(n)+r:K}function Jd(e,t,n,r,o,i){let s=El(),a=On(e,s,n,o);return _o(2),a?t+Oe(n)+r+Oe(o)+i:K}function _v(e,t,n,r,o,i,s,a){let c=El(),u=yv(e,c,n,o,s);return _o(3),u?t+Oe(n)+r+Oe(o)+i+Oe(s)+a:K}function Nr(e,t){return e<<17|t<<2}function At(e){return e>>17&32767}function Tv(e){return(e&2)==2}function xv(e,t){return e&131071|t<<17}function Ss(e){return e|2}function nn(e){return(e&131068)>>2}function Pi(e,t){return e&-131069|t<<2}function Nv(e){return(e&1)===1}function As(e){return e|1}function Sv(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=At(s),c=nn(s);e[r]=n;let u=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||Pn(d,l)>0)&&(u=!0)}else l=n;if(o)if(c!==0){let h=At(e[a+1]);e[r+1]=Nr(h,a),h!==0&&(e[h+1]=Pi(e[h+1],r)),e[a+1]=xv(e[a+1],r)}else e[r+1]=Nr(a,0),a!==0&&(e[a+1]=Pi(e[a+1],r)),a=r;else e[r+1]=Nr(c,0),a===0?a=r:e[c+1]=Pi(e[c+1],r),c=r;u&&(e[r+1]=Ss(e[r+1])),Du(e,l,r,!0),Du(e,l,r,!1),Av(t,l,e,r,i),s=Nr(a,c),i?t.classBindings=s:t.styleBindings=s}function Av(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Pn(i,t)>=0&&(n[r+1]=As(n[r+1]))}function Du(e,t,n,r){let o=e[n+1],i=t===null,s=r?At(o):nn(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];Ov(c,t)&&(a=!0,e[s+1]=r?As(u):Ss(u)),s=r?At(u):nn(u)}a&&(e[n+1]=r?Ss(o):As(o))}function Ov(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Pn(e,t)>=0:!1}var q={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Kd(e){return e.substring(q.key,q.keyEnd)}function Rv(e){return e.substring(q.value,q.valueEnd)}function Pv(e){return tf(e),Xd(e,rn(e,0,q.textEnd))}function Xd(e,t){let n=q.textEnd;return n===t?-1:(t=q.keyEnd=kv(e,q.key=t,n),rn(e,t,n))}function Fv(e){return tf(e),ef(e,rn(e,0,q.textEnd))}function ef(e,t){let n=q.textEnd,r=q.key=rn(e,t,n);return n===r?-1:(r=q.keyEnd=Lv(e,r,n),r=wu(e,r,n,58),r=q.value=rn(e,r,n),r=q.valueEnd=jv(e,r,n),wu(e,r,n,59))}function tf(e){q.key=0,q.keyEnd=0,q.value=0,q.valueEnd=0,q.textEnd=e.length}function rn(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function kv(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function Lv(e,t,n){let r;for(;t<n&&((r=e.charCodeAt(t))===45||r===95||(r&-33)>=65&&(r&-33)<=90||r>=48&&r<=57);)t++;return t}function wu(e,t,n,r){return t=rn(e,t,n),t<n&&t++,t}function jv(e,t,n){let r=-1,o=-1,i=-1,s=t,a=s;for(;s<n;){let c=e.charCodeAt(s++);if(c===59)return a;c===34||c===39?a=s=Iu(e,c,s,n):t===s-4&&i===85&&o===82&&r===76&&c===40?a=s=Iu(e,41,s,n):c>32&&(a=s),i=o,o=r,r=c&-33}return a}function Iu(e,t,n,r){let o=-1,i=n;for(;i<r;){let s=e.charCodeAt(i++);if(s==t&&o!==92)return i;s==92&&o===92?o=0:o=s}throw new Error}function Vv(e,t,n){let r=y(),o=an();if(De(r,o,t)){let i=$(),s=cn();kn(i,s,r,e,t,r[B],n,!1)}return Vv}function Os(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";Ea(e,n,i[s],s,r)}function nf(e,t,n){return rf(e,t,n,!1),nf}function Bv(e,t){return rf(e,t,null,!0),Bv}function eT(e){of(cf,$v,e,!1)}function $v(e,t){for(let n=Fv(t);n>=0;n=ef(t,n))cf(e,Kd(t),Rv(t))}function tT(e){of(Zv,Uv,e,!0)}function Uv(e,t){for(let n=Pv(t);n>=0;n=Xd(t,n))Do(e,Kd(t),!0)}function rf(e,t,n,r){let o=y(),i=$(),s=_o(2);if(i.firstUpdatePass&&af(i,e,s,r),t!==K&&De(o,s,t)){let a=i.data[He()];uf(i,a,o,o[B],e,o[s+1]=Qv(t,n),r,s)}}function of(e,t,n,r){let o=$(),i=_o(2);o.firstUpdatePass&&af(o,null,i,r);let s=y();if(n!==K&&De(s,i,n)){let a=o.data[He()];if(lf(a,r)&&!sf(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=Bi(c,n||"")),Os(o,a,s,n,r)}else Yv(o,a,s,s[B],s[i+1],s[i+1]=qv(e,t,n),r,i)}}function sf(e,t){return t>=e.expandoStartIndex}function af(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[He()],s=sf(e,n);lf(i,r)&&t===null&&!s&&(t=!1),t=Hv(o,i,t,r),Sv(o,i,t,n,s,r)}}function Hv(e,t,n,r){let o=ig(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Fi(null,e,t,n,r),n=Rn(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Fi(o,e,t,n,r),i===null){let c=zv(e,t,r);c!==void 0&&Array.isArray(c)&&(c=Fi(null,e,t,c[1],r),c=Rn(c,t.attrs,r),Gv(e,t,r,c))}else i=Wv(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function zv(e,t,n){let r=n?t.classBindings:t.styleBindings;if(nn(r)!==0)return e[At(r)]}function Gv(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[At(o)]=r}function Wv(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Rn(r,s,n)}return Rn(r,t.attrs,n)}function Fi(e,t,n,r,o){let i=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(i=t[a],r=Rn(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Rn(e,t,n){let r=n?1:2,o=-1;if(t!==null)for(let i=0;i<t.length;i++){let s=t[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),Do(e,s,n?!0:t[++i]))}return e===void 0?null:e}function qv(e,t,n){if(n==null||n==="")return se;let r=[],o=Pt(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else typeof o=="string"&&t(r,o);return r}function cf(e,t,n){Do(e,t,Pt(n))}function Zv(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&Do(e,r,n)}function Yv(e,t,n,r,o,i,s,a){o===K&&(o=se);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 h=c<o.length?o[c+1]:void 0,f=u<i.length?i[u+1]:void 0,p=null,g;l===d?(c+=2,u+=2,h!==f&&(p=d,g=f)):d===null||l!==null&&l<d?(c+=2,p=l):(u+=2,p=d,g=f),p!==null&&uf(e,t,n,r,p,g,s,a),l=c<o.length?o[c]:null,d=u<i.length?i[u]:null}}function uf(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,u=c[a+1],l=Nv(u)?Eu(c,t,n,o,nn(u),s):void 0;if(!lo(l)){lo(i)||Tv(u)&&(i=Eu(c,null,n,o,a,s));let d=hl(He(),n);Fm(r,s,d,o,i)}}function Eu(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],u=Array.isArray(c),l=u?c[1]:c,d=l===null,h=n[o+1];h===K&&(h=d?se:void 0);let f=d?_i(h,r):l===r?h:void 0;if(u&&!lo(f)&&(f=_i(c,r)),lo(f)&&(a=f,s))return a;let p=e[o+1];o=s?At(p):nn(p)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=_i(c,r))}return a}function lo(e){return e!==void 0}function Qv(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=fe(Pt(e)))),e}function lf(e,t){return(e.flags&(t?8:16))!==0}var Rs=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}};function ki(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function Jv(e,t,n){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(t)){let c=t.length-1;for(;i<=s&&i<=c;){let u=e.at(i),l=t[i],d=ki(i,u,i,l,n);if(d!==0){d<0&&e.updateValue(i,l),i++;continue}let h=e.at(s),f=t[c],p=ki(s,h,c,f,n);if(p!==0){p<0&&e.updateValue(s,f),s--,c--;continue}let g=n(i,u),m=n(s,h),w=n(i,l);if(Object.is(w,m)){let R=n(c,f);Object.is(R,g)?(e.swap(i,s),e.updateValue(s,f),c--,s--):e.move(s,i),e.updateValue(i,l),i++;continue}if(r??=new fo,o??=bu(e,i,s,n),Ps(e,r,i,w))e.updateValue(i,l),i++,s++;else if(o.has(w))r.set(g,e.detach(i)),s--;else{let R=e.create(i,t[i]);e.attach(i,R),i++,s++}}for(;i<=c;)Cu(e,r,n,i,t[i]),i++}else if(t!=null){let c=t[Symbol.iterator](),u=c.next();for(;!u.done&&i<=s;){let l=e.at(i),d=u.value,h=ki(i,l,i,d,n);if(h!==0)h<0&&e.updateValue(i,d),i++,u=c.next();else{r??=new fo,o??=bu(e,i,s,n);let f=n(i,d);if(Ps(e,r,i,f))e.updateValue(i,d),i++,s++,u=c.next();else if(!o.has(f))e.attach(i,e.create(i,d)),i++,s++,u=c.next();else{let p=n(i,l);r.set(p,e.detach(i)),s--}}}for(;!u.done;)Cu(e,r,n,e.length,u.value),u=c.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(c=>{e.destroy(c)})}function Ps(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Cu(e,t,n,r,o){if(Ps(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function bu(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var fo=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function nT(e,t){We("NgControlFlow");let n=y(),r=an(),o=n[r]!==K?n[r]:-1,i=o!==-1?ho(n,Y+o):void 0,s=0;if(De(n,r,e)){let a=_(null);try{if(i!==void 0&&Sd(i,s),e!==-1){let c=Y+e,u=ho(n,c),l=js(n[I],c),d=en(u,l.tView.ssrId),h=Ln(n,l,t,{dehydratedView:d});jn(u,h,s,Xt(l,d))}}finally{_(a)}}else if(i!==void 0){let a=Nd(i,s);a!==void 0&&(a[ee]=t)}}var Fs=class{constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-te}};function rT(e){return e}var ks=class{constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function oT(e,t,n,r,o,i,s,a,c,u,l,d,h){We("NgControlFlow");let f=y(),p=$(),g=c!==void 0,m=y(),w=a?s.bind(m[ge][ee]):s,R=new ks(g,w);m[Y+e]=R,uo(f,p,e+1,t,n,r,o,rt(p.consts,i)),g&&uo(f,p,e+2,c,u,l,d,rt(p.consts,h))}var Ls=class extends Rs{constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-te}at(t){return this.getLView(t)[ee].$implicit}attach(t,n){let r=n[Yt];this.needsIndexUpdate||=t!==this.length,jn(this.lContainer,n,t,Xt(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,Kv(this.lContainer,t)}create(t,n){let r=en(this.lContainer,this.templateTNode.tView.ssrId),o=Ln(this.hostLView,this.templateTNode,new Fs(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){Po(t[I],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[ee].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[ee].$index=t}getLView(t){return Xv(this.lContainer,t)}};function iT(e){let t=_(null),n=He();try{let r=y(),o=r[I],i=r[n],s=n+1,a=ho(r,s);if(i.liveCollection===void 0){let u=js(o,s);i.liveCollection=new Ls(a,r,u)}else i.liveCollection.reset();let c=i.liveCollection;if(Jv(c,e,i.trackByFn),c.updateIndexes(),i.hasEmptyBlock){let u=an(),l=c.length===0;if(De(r,u,l)){let d=n+2,h=ho(r,d);if(l){let f=js(o,d),p=en(h,f.tView.ssrId),g=Ln(r,f,void 0,{dehydratedView:p});jn(h,g,0,Xt(f,p))}else Sd(h,0)}}}finally{_(t)}}function ho(e,t){return e[t]}function Kv(e,t){return Sn(e,t)}function Xv(e,t){return Nd(e,t)}function js(e,t){return Xs(e,t)}function eD(e,t,n,r,o,i){let s=t.consts,a=rt(s,o),c=dn(t,e,2,r,a);return Ia(t,n,c,rt(s,i)),c.attrs!==null&&io(c,c.attrs,!1),c.mergedAttrs!==null&&io(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function df(e,t,n,r){let o=y(),i=$(),s=Y+e,a=o[B],c=i.firstCreatePass?eD(s,i,o,t,n,r):i.data[s],u=nD(i,o,c,a,t,e);o[s]=u;let l=Co(c);return Ot(c,!0),gd(a,u,c),!Dv(c)&&xo()&&Fo(i,o,u,c),Zp()===0&&it(u,o),Yp(),l&&(va(i,o,c),ya(i,c,o)),r!==null&&Da(o,c),df}function ff(){let e=J();na()?ra():(e=e.parent,Ot(e,!1));let t=e;Jp(t)&&Kp(),Qp();let n=$();return n.firstCreatePass&&(So(n,e),Js(e)&&n.queries.elementEnd(e)),t.classesWithoutHost!=null&&fg(t)&&Os(n,t,y(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&hg(t)&&Os(n,t,y(),t.stylesWithoutHost,!1),ff}function tD(e,t,n,r){return df(e,t,n,r),ff(),tD}var nD=(e,t,n,r,o,i)=>(No(!0),id(r,o,cg()));function rD(e,t,n,r,o){let i=t.consts,s=rt(i,r),a=dn(t,e,8,"ng-container",s);s!==null&&io(a,s,!0);let c=rt(i,o);return Ia(t,n,a,c),t.queries!==null&&t.queries.elementStart(t,a),a}function hf(e,t,n){let r=y(),o=$(),i=e+Y,s=o.firstCreatePass?rD(i,o,r,t,n):o.data[i];Ot(s,!0);let a=iD(o,r,s,e);return r[i]=a,xo()&&Fo(o,r,a,s),it(a,r),Co(s)&&(va(o,r,s),ya(o,s,r)),n!=null&&Da(r,s),hf}function pf(){let e=J(),t=$();return na()?ra():(e=e.parent,Ot(e,!1)),t.firstCreatePass&&(So(t,e),Js(e)&&t.queries.elementEnd(e)),pf}function oD(e,t,n){return hf(e,t,n),pf(),oD}var iD=(e,t,n,r)=>(No(!0),Im(t[B],""));function sT(){return y()}var Dt=void 0;function sD(e){let t=e,n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return n===1&&r===0?1:5}var aD=["en",[["a","p"],["AM","PM"],Dt],[["AM","PM"],Dt,Dt],[["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"]],Dt,[["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"]],Dt,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Dt,"{1} 'at' {0}",Dt],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",sD],Li={};function Ie(e){let t=cD(e),n=Mu(t);if(n)return n;let r=t.split("-")[0];if(n=Mu(r),n)return n;if(r==="en")return aD;throw new M(701,!1)}function Mu(e){return e in Li||(Li[e]=Ke.ng&&Ke.ng.common&&Ke.ng.common.locales&&Ke.ng.common.locales[e]),Li[e]}var H=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}(H||{});function cD(e){return e.toLowerCase().replace(/_/g,"-")}var po="en-US";var uD=po;function lD(e){typeof e=="string"&&(uD=e.toLowerCase().replace(/_/g,"-"))}var dD=(e,t,n)=>{};function fD(e,t,n,r){let o=y(),i=$(),s=J();return gf(i,o,o[B],s,e,t,r),fD}function hD(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===n&&o[i+1]===r){let a=t[Hr],c=o[i+2];return a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function gf(e,t,n,r,o,i,s){let a=Co(r),u=e.firstCreatePass&&_d(e),l=t[ee],d=Md(t),h=!0;if(r.type&3||s){let g=we(r,t),m=s?s(g):g,w=d.length,R=s?Q=>s(Fe(Q[r.index])):r.index,F=null;if(!s&&a&&(F=hD(e,t,o,r.index)),F!==null){let Q=F.__ngLastListenerFn__||F;Q.__ngNextListenerFn__=i,F.__ngLastListenerFn__=i,h=!1}else{i=Tu(r,t,l,i),dD(g,o,i);let Q=n.listen(m,o,i);d.push(i,Q),u&&u.push(o,R,w,w+1)}}else i=Tu(r,t,l,i);let f=r.outputs,p;if(h&&f!==null&&(p=f[o])){let g=p.length;if(g)for(let m=0;m<g;m+=2){let w=p[m],R=p[m+1],ce=t[w][R].subscribe(i),G=d.length;d.push(i,ce),u&&u.push(o,r.index,G,-(G+1))}}}function _u(e,t,n,r){let o=_(null);try{return Se(6,t,n),n(r)!==!1}catch(i){return Td(e,i),!1}finally{Se(7,t,n),_(o)}}function Tu(e,t,n,r){return function o(i){if(i===Function)return r;let s=e.componentOffset>-1?at(e.index,t):t;ba(s,5);let a=_u(t,n,r,i),c=o.__ngNextListenerFn__;for(;c;)a=_u(t,n,c,i)&&a,c=c.__ngNextListenerFn__;return a}}function aT(e=1){return ag(e)}function pD(e,t){let n=null,r=mp(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?Gu(e,i,!0):Dp(r,i))return o}return n}function cT(e){let t=y()[ge][he];if(!t.projection){let n=e?e.length:1,r=t.projection=ap(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?pD(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function uT(e,t=0,n,r,o,i){let s=y(),a=$(),c=r?e+1:null;c!==null&&uo(s,a,c,r,o,i,null,n);let u=dn(a,Y+e,16,null,n||null);u.projection===null&&(u.projection=t),ra();let d=!s[Yt]||Dl();s[ge][he].projection[u.projection]===null&&c!==null?gD(s,a,c):d&&(u.flags&32)!==32&&Rm(a,s,u)}function gD(e,t,n){let r=Y+n,o=t.data[r],i=e[r],s=en(i,o.tView.ssrId),a=Ln(e,o,void 0,{dehydratedView:s});jn(i,a,0,Xt(o,s))}function mD(e,t,n){return mf(e,"",t,"",n),mD}function mf(e,t,n,r,o){let i=y(),s=Qd(i,t,n,r);if(s!==K){let a=$(),c=cn();kn(a,c,i,e,s,i[B],o,!1)}return mf}function yD(e,t,n,r,o,i,s){let a=y(),c=Jd(a,t,n,r,o,i);if(c!==K){let u=$(),l=cn();kn(u,l,a,e,c,a[B],s,!1)}return yD}function vD(e,t,n,r,o,i,s,a,c){let u=y(),l=_v(u,t,n,r,o,i,s,a);if(l!==K){let d=$(),h=cn();kn(d,h,u,e,l,u[B],c,!1)}return vD}function lT(e,t,n,r){Hd(e,t,n,r)}function dT(e){let t=y(),n=$(),r=oa();To(r+1);let o=xa(n,r);if(e.dirty&&zp(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=Gd(t,r);e.reset(i,Hl),e.notifyOnChanges()}return!0}return!1}function fT(){return Ta(y(),oa())}function hT(e,t,n,r,o){Zd(t,Hd(e,n,r,o))}function pT(e,t,n,r){Zd(e,Qy(t,n,r))}function gT(e=1){To(oa()+e)}function DD(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function mT(e){let t=eg();return ea(t,Y+e)}function yT(e,t=""){let n=y(),r=$(),o=e+Y,i=r.firstCreatePass?dn(r,o,1,t,null):r.data[o],s=wD(r,n,i,t,e);n[o]=s,xo()&&Fo(r,n,s,i),Ot(i,!1)}var wD=(e,t,n,r,o)=>(No(!0),Dm(t[B],r));function ID(e){return yf("",e,""),ID}function yf(e,t,n){let r=y(),o=Qd(r,e,t,n);return o!==K&&xd(r,He(),o),yf}function ED(e,t,n,r,o){let i=y(),s=Jd(i,e,t,n,r,o);return s!==K&&xd(i,He(),s),ED}function CD(e,t,n){qd(t)&&(t=t());let r=y(),o=an();if(De(r,o,t)){let i=$(),s=cn();kn(i,s,r,e,t,r[B],n,!1)}return CD}function vT(e,t){let n=qd(e);return n&&e.set(t),n}function bD(e,t){let n=y(),r=$(),o=J();return gf(r,n,n[B],o,e,t),bD}function MD(e,t,n){let r=$();if(r.firstCreatePass){let o=nt(e);Vs(n,r.data,r.blueprint,o,!0),Vs(t,r.data,r.blueprint,o,!1)}}function Vs(e,t,n,r,o){if(e=ie(e),Array.isArray(e))for(let i=0;i<e.length;i++)Vs(e[i],t,n,r,o);else{let i=$(),s=y(),a=J(),c=Zt(e)?e:ie(e.provide),u=rl(e),l=a.providerIndexes&1048575,d=a.directiveStart,h=a.providerIndexes>>20;if(Zt(e)||!e.multi){let f=new _t(u,o,Ge),p=Vi(c,t,o?l:l+h,d);p===-1?(Xi(Yr(a,s),i,c),ji(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[p]=f,s[p]=f)}else{let f=Vi(c,t,l+h,d),p=Vi(c,t,l,l+h),g=f>=0&&n[f],m=p>=0&&n[p];if(o&&!m||!o&&!g){Xi(Yr(a,s),i,c);let w=xD(o?TD:_D,n.length,o,r,u);!o&&m&&(n[p].providerFactory=w),ji(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(w),s.push(w)}else{let w=vf(n[o?p:f],u,!o&&r);ji(i,e,f>-1?f:p,w)}!o&&r&&m&&n[p].componentProviders++}}}function ji(e,t,n,r){let o=Zt(t),i=Ap(t);if(o||i){let c=(i?ie(t.useClass):t).prototype.ngOnDestroy;if(c){let u=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let l=u.indexOf(n);l===-1?u.push(n,[r,c]):u[l+1].push(r,c)}else u.push(n,c)}}}function vf(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Vi(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function _D(e,t,n,r){return Bs(this.multi,[])}function TD(e,t,n,r){let o=this.multi,i;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=Tt(n,n[I],this.providerFactory.index,r);i=a.slice(0,s),Bs(o,i);for(let c=s;c<a.length;c++)i.push(a[c])}else i=[],Bs(o,i);return i}function Bs(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function xD(e,t,n,r,o){let i=new _t(e,n,Ge);return i.multi=[],i.index=t,i.componentProviders=0,vf(i,o,r&&!n),i}function DT(e,t=[]){return n=>{n.providersResolver=(r,o)=>MD(r,o?o(e):e,t)}}var ND=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=Xu(!1,n.type),o=r.length>0?gv([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static{this.\u0275prov=P({token:e,providedIn:"environment",factory:()=>new e(U(Re))})}}return e})();function wT(e){We("NgStandalone"),e.getStandaloneInjector=t=>t.get(ND).getOrCreateStandaloneInjector(e)}function IT(e,t,n){let r=sn()+e,o=y();return o[r]===K?Bo(o,r,n?t.call(n):t()):mv(o,r)}function ET(e,t,n,r){return Df(y(),sn(),e,t,n,r)}function CT(e,t,n,r,o){return wf(y(),sn(),e,t,n,r,o)}function bT(e,t,n,r,o,i,s){return SD(y(),sn(),e,t,n,r,o,i,s)}function Sa(e,t){let n=e[t];return n===K?void 0:n}function Df(e,t,n,r,o,i){let s=t+n;return De(e,s,o)?Bo(e,s+1,i?r.call(i,o):r(o)):Sa(e,s+1)}function wf(e,t,n,r,o,i,s){let a=t+n;return On(e,a,o,i)?Bo(e,a+2,s?r.call(s,o,i):r(o,i)):Sa(e,a+2)}function SD(e,t,n,r,o,i,s,a,c){let u=t+n;return vv(e,u,o,i,s,a)?Bo(e,u+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):Sa(e,u+4)}function MT(e,t){let n=$(),r,o=e+Y;n.firstCreatePass?(r=AD(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=It(r.type,!0)),s,a=de(Ge);try{let c=Zr(!1),u=i();return Zr(c),DD(n,y(),o,u),u}finally{de(a)}}function AD(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function _T(e,t,n){let r=e+Y,o=y(),i=ea(o,r);return If(o,r)?Df(o,sn(),t,i.transform,n,i):i.transform(n)}function TT(e,t,n,r){let o=e+Y,i=y(),s=ea(i,o);return If(i,o)?wf(i,sn(),t,s.transform,n,r,s):s.transform(n,r)}function If(e,t){return e[I].data[t].pure}function xT(e,t){return Vo(e,t)}var NT=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})();var OD=new S("");function Aa(e){return!!e&&typeof e.then=="function"}function Ef(e){return!!e&&typeof e.subscribe=="function"}var RD=new S(""),Cf=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=D(RD,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=o();if(Aa(i))n.push(i);else if(Ef(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),bf=new S("");function PD(){Ac(()=>{throw new M(600,!1)})}function FD(e){return e.isBoundToModule}var kD=10;function LD(e,t,n){try{let r=n();return Aa(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var Bn=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=D(Rg),this.afterRenderManager=D(bv),this.zonelessEnabled=D(Ma),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new ye,this.afterTick=new ye,this.componentTypes=[],this.components=[],this.isStable=D(Rt).hasPendingTasks.pipe(oe(n=>!n)),this._injector=D(Re)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}get injector(){return this._injector}bootstrap(n,r){let o=n instanceof ro;if(!this._injector.get(Cf).done){let h=!o&&Mp(n),f=!1;throw new M(405,f)}let s;o?s=n:s=this._injector.get(tn).resolveComponentFactory(n),this.componentTypes.push(s.componentType);let a=FD(s)?void 0:this._injector.get(st),c=r||s.selector,u=s.create(Kt.NULL,[],c,a),l=u.location.nativeElement,d=u.injector.get(OD,null);return d?.registerApplication(l),u.onDestroy(()=>{this.detachView(u.hostView),kr(this.components,u),d?.unregisterApplication(l)}),this._loadComponent(u),u}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new M(101,!1);let n=_(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,_(n),this.afterTick.next()}}synchronize(){let n=null;this._injector.destroyed||(n=this._injector.get(oo,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let r=0;for(;this.dirtyFlags!==0&&r++<kD;)this.synchronizeOnce(n)}synchronizeOnce(n){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8,this.beforeRender.next(r);for(let{_lView:o,notifyErrorHandler:i}of this._views)jD(o,i,r,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&7)return}else n?.begin?.(),n?.end?.();this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>bo(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;kr(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let r=this._injector.get(bf,[]);[...this._bootstrapListeners,...r].forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>kr(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new M(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function kr(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function jD(e,t,n,r){if(!n&&!bo(e))return;Rd(e,t,n&&!r?0:1)}var $s=class{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},ST=(()=>{class e{compileModuleSync(n){return new Ns(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=Qu(n),i=od(o.declarations).reduce((s,a)=>{let c=je(a);return c&&s.push(new St(c)),s},[]);return new $s(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var VD=(()=>{class e{constructor(){this.zone=D(ne),this.changeDetectionScheduler=D(Nt),this.applicationRef=D(Bn)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function BD({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new ne(Ce(pe({},$D()),{scheduleInRootZone:n})),[{provide:ne,useFactory:e},{provide:$r,multi:!0,useFactory:()=>{let r=D(VD,{optional:!0});return()=>r.initialize()}},{provide:$r,multi:!0,useFactory:()=>{let r=D(UD);return()=>{r.initialize()}}},t===!0?{provide:Ld,useValue:!0}:[],{provide:_a,useValue:n??Bl}]}function $D(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var UD=(()=>{class e{constructor(){this.subscription=new Z,this.initialized=!1,this.zone=D(ne),this.pendingTasks=D(Rt)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{ne.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{ne.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var Mf=(()=>{class e{constructor(){this.appRef=D(Bn),this.taskService=D(Rt),this.ngZone=D(ne),this.zonelessEnabled=D(Ma),this.disableScheduling=D(Ld,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new Z,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Jr):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(D(_a,{optional:!0})??!1),this.cancelScheduledCallback=null,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Kr||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 7:{this.appRef.deferredDirtyFlags|=8;break}case 9:case 8:case 6:case 10:default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;let r=this.useMicrotaskScheduler?Jc:$l;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.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Jr+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(n),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Jc(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function AT(){return We("NgZoneless"),Ys([{provide:Nt,useExisting:Mf},{provide:ne,useClass:Kr},{provide:Ma,useValue:!0},{provide:_a,useValue:!1},[]])}function HD(){return typeof $localize<"u"&&$localize.locale||po}var $o=new S("",{providedIn:"root",factory:()=>D($o,N.Optional|N.SkipSelf)||HD()});var _f=new S("");function Sr(e){return!!e.platformInjector}function zD(e){let t=Sr(e)?e.r3Injector:e.moduleRef.injector,n=t.get(ne);return n.run(()=>{Sr(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(ot,null),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:i=>{r.handleError(i)}})}),Sr(e)){let i=()=>t.destroy(),s=e.platformInjector.get(_f);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else e.moduleRef.onDestroy(()=>{kr(e.allPlatformModules,e.moduleRef),o.unsubscribe()});return LD(r,n,()=>{let i=t.get(Cf);return i.runInitializers(),i.donePromise.then(()=>{let s=t.get($o,po);if(lD(s||po),Sr(e)){let a=t.get(Bn);return e.rootComponent!==void 0&&a.bootstrap(e.rootComponent),a}else return GD(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function GD(e,t){let n=e.injector.get(Bn);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new M(-403,!1);t.push(e)}var Lr=null;function WD(e=[],t){return Kt.create({name:t,providers:[{provide:nl,useValue:"platform"},{provide:_f,useValue:new Set([()=>Lr=null])},...e]})}function qD(e=[]){if(Lr)return Lr;let t=WD(e);return Lr=t,PD(),ZD(t),t}function ZD(e){e.get($g,null)?.forEach(n=>n())}var Oa=(()=>{class e{static{this.__NG_ELEMENT_ID__=YD}}return e})();function YD(e){return QD(J(),y(),(e&16)===16)}function QD(e,t,n){if(Eo(e)&&!n){let r=at(e.index,t);return new xt(r,r)}else if(e.type&175){let r=t[ge];return new xt(r,t)}return null}function OT(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=qD(r),i=[BD({}),{provide:Nt,useExisting:Mf},...n||[]],s=new co({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1});return zD({r3Injector:s.injector,platformInjector:o,rootComponent:t})}catch(t){return Promise.reject(t)}}function JD(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function RT(e,t){We("NgSignals");let n=bi(e);return t?.equal&&(n[le].equal=t.equal),n}function KD(e){let t=_(null);try{return e()}finally{_(t)}}var XD=new S("",{providedIn:"root",factory:()=>D(ew)}),ew=(()=>{class e{static{this.\u0275prov=P({token:e,providedIn:"root",factory:()=>new Us})}}return e})(),Us=class{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=D(Rt),this.taskId=null}scheduleEffect(t){if(this.enqueue(t),this.taskId===null){let n=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(n),this.taskId=null})}}enqueue(t){let n=t.creationZone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||(this.queuedEffectCount++,r.add(t))}flush(){for(;this.queuedEffectCount>0;)for(let[t,n]of this.queues)t===null?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(let n of t)t.delete(n),this.queuedEffectCount--,n.run()}},Hs=class{constructor(t,n,r,o,i,s){this.scheduler=t,this.effectFn=n,this.creationZone=r,this.injector=i,this.watcher=Pc(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(n){this.injector.get(ot,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function tw(e,t){We("NgSignals"),!t?.injector&&jp(tw);let n=t?.injector??D(Kt),r=t?.manualCleanup!==!0?n.get(Ao):null,o=new Hs(n.get(XD),e,typeof Zone>"u"?null:Zone.current,r,n,t?.allowSignalWrites??!1),i=n.get(Oa,null,{optional:!0});return!i||!(i._lView[v]&8)?o.watcher.notify():(i._lView[Or]??=[]).push(o.watcher.notify),o}function PT(e,t){let n=je(e),r=t.elementInjector||wo();return new St(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector)}function FT(e){let t=je(e);if(!t)return null;let n=new St(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}var Of=null;function Ra(){return Of}function ix(e){Of??=e}var xf=class{};var Ko=new S(""),Rf=(()=>{class e{historyGo(n){throw new Error("")}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=P({token:e,factory:()=>D(rw),providedIn:"platform"})}}return e})();var rw=(()=>{class e extends Rf{constructor(){super(),this._doc=D(Ko),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Ra().getBaseHref(this._doc)}onPopState(n){let r=Ra().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=Ra().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=P({token:e,factory:()=>new e,providedIn:"platform"})}}return e})();function Pf(e,t){if(e.length==0)return t;if(t.length==0)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,n==2?e+t.substring(1):n==1?e+t:e+"/"+t}function Nf(e){let t=e.match(/#|\?|$/),n=t&&t.index||e.length,r=n-(e[n-1]==="/"?1:0);return e.slice(0,r)+e.slice(n)}function Ft(e){return e&&e[0]!=="?"?"?"+e:e}var La=(()=>{class e{historyGo(n){throw new Error("")}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=P({token:e,factory:()=>D(iw),providedIn:"root"})}}return e})(),ow=new S(""),iw=(()=>{class e extends La{constructor(n,r){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??D(Ko).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return Pf(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+Ft(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+Ft(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+Ft(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static{this.\u0275fac=function(r){return new(r||e)(U(Rf),U(ow,8))}}static{this.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var sw=(()=>{class e{constructor(n){this._subject=new _e,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=uw(Nf(Sf(r))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+Ft(r))}normalize(n){return e.stripTrailingSlash(cw(this._basePath,Sf(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Ft(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Ft(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r,complete:o})}static{this.normalizeQueryParams=Ft}static{this.joinWithSlash=Pf}static{this.stripTrailingSlash=Nf}static{this.\u0275fac=function(r){return new(r||e)(U(La))}}static{this.\u0275prov=P({token:e,factory:()=>aw(),providedIn:"root"})}}return e})();function aw(){return new sw(U(La))}function cw(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function Sf(e){return e.replace(/\/index.html$/,"")}function uw(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var ae=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(ae||{}),L=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(L||{}),me=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(me||{}),ct={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 lw(e){return Ie(e)[H.LocaleId]}function dw(e,t,n){let r=Ie(e),o=[r[H.DayPeriodsFormat],r[H.DayPeriodsStandalone]],i=Ee(o,t);return Ee(i,n)}function fw(e,t,n){let r=Ie(e),o=[r[H.DaysFormat],r[H.DaysStandalone]],i=Ee(o,t);return Ee(i,n)}function hw(e,t,n){let r=Ie(e),o=[r[H.MonthsFormat],r[H.MonthsStandalone]],i=Ee(o,t);return Ee(i,n)}function pw(e,t){let r=Ie(e)[H.Eras];return Ee(r,t)}function Uo(e,t){let n=Ie(e);return Ee(n[H.DateFormat],t)}function Ho(e,t){let n=Ie(e);return Ee(n[H.TimeFormat],t)}function zo(e,t){let r=Ie(e)[H.DateTimeFormat];return Ee(r,t)}function Xo(e,t){let n=Ie(e),r=n[H.NumberSymbols][t];if(typeof r>"u"){if(t===ct.CurrencyDecimal)return n[H.NumberSymbols][ct.Decimal];if(t===ct.CurrencyGroup)return n[H.NumberSymbols][ct.Group]}return r}function Ff(e){if(!e[H.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[H.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function gw(e){let t=Ie(e);return Ff(t),(t[H.ExtraData][2]||[]).map(r=>typeof r=="string"?Pa(r):[Pa(r[0]),Pa(r[1])])}function mw(e,t,n){let r=Ie(e);Ff(r);let o=[r[H.ExtraData][0],r[H.ExtraData][1]],i=Ee(o,t)||[];return Ee(i,n)||[]}function Ee(e,t){for(let n=t;n>-1;n--)if(typeof e[n]<"u")return e[n];throw new Error("Locale data API: locale data undefined")}function Pa(e){let[t,n]=e.split(":");return{hours:+t,minutes:+n}}var yw=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Go={},vw=/((?:[^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]*)/,Ze=function(e){return e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended",e}(Ze||{}),O=function(e){return e[e.FullYear=0]="FullYear",e[e.Month=1]="Month",e[e.Date=2]="Date",e[e.Hours=3]="Hours",e[e.Minutes=4]="Minutes",e[e.Seconds=5]="Seconds",e[e.FractionalSeconds=6]="FractionalSeconds",e[e.Day=7]="Day",e}(O||{}),A=function(e){return e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras",e}(A||{});function Dw(e,t,n,r){let o=xw(e);t=qe(n,t)||t;let s=[],a;for(;t;)if(a=vw.exec(t),a){s=s.concat(a.slice(1));let l=s.pop();if(!l)break;t=l}else{s.push(t);break}let c=o.getTimezoneOffset();r&&(c=Lf(r,c),o=Tw(o,r,!0));let u="";return s.forEach(l=>{let d=Mw(l);u+=d?d(o,n,c):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function Qo(e,t,n){let r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function qe(e,t){let n=lw(e);if(Go[n]??={},Go[n][t])return Go[n][t];let r="";switch(t){case"shortDate":r=Uo(e,me.Short);break;case"mediumDate":r=Uo(e,me.Medium);break;case"longDate":r=Uo(e,me.Long);break;case"fullDate":r=Uo(e,me.Full);break;case"shortTime":r=Ho(e,me.Short);break;case"mediumTime":r=Ho(e,me.Medium);break;case"longTime":r=Ho(e,me.Long);break;case"fullTime":r=Ho(e,me.Full);break;case"short":let o=qe(e,"shortTime"),i=qe(e,"shortDate");r=Wo(zo(e,me.Short),[o,i]);break;case"medium":let s=qe(e,"mediumTime"),a=qe(e,"mediumDate");r=Wo(zo(e,me.Medium),[s,a]);break;case"long":let c=qe(e,"longTime"),u=qe(e,"longDate");r=Wo(zo(e,me.Long),[c,u]);break;case"full":let l=qe(e,"fullTime"),d=qe(e,"fullDate");r=Wo(zo(e,me.Full),[l,d]);break}return r&&(Go[n][t]=r),r}function Wo(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,r){return t!=null&&r in t?t[r]:n})),e}function xe(e,t,n="-",r,o){let i="";(e<0||o&&e<=0)&&(o?e=-e+1:(e=-e,i=n));let s=String(e);for(;s.length<t;)s="0"+s;return r&&(s=s.slice(s.length-t)),i+s}function ww(e,t){return xe(e,3).substring(0,t)}function z(e,t,n=0,r=!1,o=!1){return function(i,s){let a=Iw(e,i);if((n>0||a>-n)&&(a+=n),e===O.Hours)a===0&&n===-12&&(a=12);else if(e===O.FractionalSeconds)return ww(a,t);let c=Xo(s,ct.MinusSign);return xe(a,t,c,r,o)}}function Iw(e,t){switch(e){case O.FullYear:return t.getFullYear();case O.Month:return t.getMonth();case O.Date:return t.getDate();case O.Hours:return t.getHours();case O.Minutes:return t.getMinutes();case O.Seconds:return t.getSeconds();case O.FractionalSeconds:return t.getMilliseconds();case O.Day:return t.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}function j(e,t,n=ae.Format,r=!1){return function(o,i){return Ew(o,i,e,t,n,r)}}function Ew(e,t,n,r,o,i){switch(n){case A.Months:return hw(t,o,r)[e.getMonth()];case A.Days:return fw(t,o,r)[e.getDay()];case A.DayPeriods:let s=e.getHours(),a=e.getMinutes();if(i){let u=gw(t),l=mw(t,o,r),d=u.findIndex(h=>{if(Array.isArray(h)){let[f,p]=h,g=s>=f.hours&&a>=f.minutes,m=s<p.hours||s===p.hours&&a<p.minutes;if(f.hours<p.hours){if(g&&m)return!0}else if(g||m)return!0}else if(h.hours===s&&h.minutes===a)return!0;return!1});if(d!==-1)return l[d]}return dw(t,o,r)[s<12?0:1];case A.Eras:return pw(t,r)[e.getFullYear()<=0?0:1];default:let c=n;throw new Error(`unexpected translation type ${c}`)}}function qo(e){return function(t,n,r){let o=-1*r,i=Xo(n,ct.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(e){case Ze.Short:return(o>=0?"+":"")+xe(s,2,i)+xe(Math.abs(o%60),2,i);case Ze.ShortGMT:return"GMT"+(o>=0?"+":"")+xe(s,1,i);case Ze.Long:return"GMT"+(o>=0?"+":"")+xe(s,2,i)+":"+xe(Math.abs(o%60),2,i);case Ze.Extended:return r===0?"Z":(o>=0?"+":"")+xe(s,2,i)+":"+xe(Math.abs(o%60),2,i);default:throw new Error(`Unknown zone width "${e}"`)}}}var Cw=0,Yo=4;function bw(e){let t=Qo(e,Cw,1).getDay();return Qo(e,0,1+(t<=Yo?Yo:Yo+7)-t)}function kf(e){let t=e.getDay(),n=t===0?-3:Yo-t;return Qo(e.getFullYear(),e.getMonth(),e.getDate()+n)}function Fa(e,t=!1){return function(n,r){let o;if(t){let i=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,s=n.getDate();o=1+Math.floor((s+i)/7)}else{let i=kf(n),s=bw(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return xe(o,e,Xo(r,ct.MinusSign))}}function Zo(e,t=!1){return function(n,r){let i=kf(n).getFullYear();return xe(i,e,Xo(r,ct.MinusSign),t)}}var ka={};function Mw(e){if(ka[e])return ka[e];let t;switch(e){case"G":case"GG":case"GGG":t=j(A.Eras,L.Abbreviated);break;case"GGGG":t=j(A.Eras,L.Wide);break;case"GGGGG":t=j(A.Eras,L.Narrow);break;case"y":t=z(O.FullYear,1,0,!1,!0);break;case"yy":t=z(O.FullYear,2,0,!0,!0);break;case"yyy":t=z(O.FullYear,3,0,!1,!0);break;case"yyyy":t=z(O.FullYear,4,0,!1,!0);break;case"Y":t=Zo(1);break;case"YY":t=Zo(2,!0);break;case"YYY":t=Zo(3);break;case"YYYY":t=Zo(4);break;case"M":case"L":t=z(O.Month,1,1);break;case"MM":case"LL":t=z(O.Month,2,1);break;case"MMM":t=j(A.Months,L.Abbreviated);break;case"MMMM":t=j(A.Months,L.Wide);break;case"MMMMM":t=j(A.Months,L.Narrow);break;case"LLL":t=j(A.Months,L.Abbreviated,ae.Standalone);break;case"LLLL":t=j(A.Months,L.Wide,ae.Standalone);break;case"LLLLL":t=j(A.Months,L.Narrow,ae.Standalone);break;case"w":t=Fa(1);break;case"ww":t=Fa(2);break;case"W":t=Fa(1,!0);break;case"d":t=z(O.Date,1);break;case"dd":t=z(O.Date,2);break;case"c":case"cc":t=z(O.Day,1);break;case"ccc":t=j(A.Days,L.Abbreviated,ae.Standalone);break;case"cccc":t=j(A.Days,L.Wide,ae.Standalone);break;case"ccccc":t=j(A.Days,L.Narrow,ae.Standalone);break;case"cccccc":t=j(A.Days,L.Short,ae.Standalone);break;case"E":case"EE":case"EEE":t=j(A.Days,L.Abbreviated);break;case"EEEE":t=j(A.Days,L.Wide);break;case"EEEEE":t=j(A.Days,L.Narrow);break;case"EEEEEE":t=j(A.Days,L.Short);break;case"a":case"aa":case"aaa":t=j(A.DayPeriods,L.Abbreviated);break;case"aaaa":t=j(A.DayPeriods,L.Wide);break;case"aaaaa":t=j(A.DayPeriods,L.Narrow);break;case"b":case"bb":case"bbb":t=j(A.DayPeriods,L.Abbreviated,ae.Standalone,!0);break;case"bbbb":t=j(A.DayPeriods,L.Wide,ae.Standalone,!0);break;case"bbbbb":t=j(A.DayPeriods,L.Narrow,ae.Standalone,!0);break;case"B":case"BB":case"BBB":t=j(A.DayPeriods,L.Abbreviated,ae.Format,!0);break;case"BBBB":t=j(A.DayPeriods,L.Wide,ae.Format,!0);break;case"BBBBB":t=j(A.DayPeriods,L.Narrow,ae.Format,!0);break;case"h":t=z(O.Hours,1,-12);break;case"hh":t=z(O.Hours,2,-12);break;case"H":t=z(O.Hours,1);break;case"HH":t=z(O.Hours,2);break;case"m":t=z(O.Minutes,1);break;case"mm":t=z(O.Minutes,2);break;case"s":t=z(O.Seconds,1);break;case"ss":t=z(O.Seconds,2);break;case"S":t=z(O.FractionalSeconds,1);break;case"SS":t=z(O.FractionalSeconds,2);break;case"SSS":t=z(O.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=qo(Ze.Short);break;case"ZZZZZ":t=qo(Ze.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=qo(Ze.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=qo(Ze.Long);break;default:return null}return ka[e]=t,t}function Lf(e,t){e=e.replace(/:/g,"");let n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function _w(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function Tw(e,t,n){let r=n?-1:1,o=e.getTimezoneOffset(),i=Lf(t,o);return _w(e,r*(i-o))}function xw(e){if(Af(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 Qo(o,i-1,s)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let r;if(r=e.match(yw))return Nw(r)}let t=new Date(e);if(!Af(t))throw new Error(`Unable to convert "${e}" into a date`);return t}function Nw(e){let t=new Date(0),n=0,r=0,o=e[8]?t.setUTCFullYear:t.setFullYear,i=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),r=Number(e[9]+e[11])),o.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));let s=Number(e[4]||0)-n,a=Number(e[5]||0)-r,c=Number(e[6]||0),u=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return i.call(t,s,a,c,u),t}function Af(e){return e instanceof Date&&!isNaN(e.valueOf())}function jf(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var sx=(()=>{class e{constructor(n){this._viewContainerRef=n,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(n){if(this._shouldRecreateView(n)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(n,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static{this.\u0275fac=function(r){return new(r||e)(Ge(Vn))}}static{this.\u0275dir=qu({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Ks]})}}return e})();function Sw(e,t){return new M(2100,!1)}var Aw="mediumDate",Ow=new S(""),Rw=new S(""),ax=(()=>{class e{constructor(n,r,o){this.locale=n,this.defaultTimezone=r,this.defaultOptions=o}transform(n,r,o,i){if(n==null||n===""||n!==n)return null;try{let s=r??this.defaultOptions?.dateFormat??Aw,a=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return Dw(n,s,i||this.locale,a)}catch(s){throw Sw(e,s.message)}}static{this.\u0275fac=function(r){return new(r||e)(Ge($o,16),Ge(Ow,24),Ge(Rw,24))}}static{this.\u0275pipe=Zs({name:"date",type:e,pure:!0,standalone:!0})}}return e})();var cx=(()=>{class e{transform(n){return JSON.stringify(n,null,2)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275pipe=Zs({name:"json",type:e,pure:!1,standalone:!0})}}return e})();var Pw="browser",Fw="server";function ux(e){return e===Pw}function kw(e){return e===Fw}var Jo=class{};var Un=class{},Hn=class{},Ye=class e{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(`
|
|
8
|
+
`).forEach(n=>{let r=n.indexOf(":");if(r>0){let o=n.slice(0,r),i=o.toLowerCase(),s=n.slice(r+1).trim();this.maybeSetNormalizedName(o,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.setHeaderEntries(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){let n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){let n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(t.name,n);let o=(t.op==="a"?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":let i=t.value;if(!i)this.headers.delete(n),this.normalizedNames.delete(n);else{let s=this.headers.get(n);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}break}}setHeaderEntries(t,n){let r=(Array.isArray(n)?n:[n]).map(i=>i.toString()),o=t.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}};var Va=class{encodeKey(t){return Vf(t)}encodeValue(t){return Vf(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function jw(e,t){let n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{let i=o.indexOf("="),[s,a]=i==-1?[t.decodeKey(o),""]:[t.decodeKey(o.slice(0,i)),t.decodeValue(o.slice(i+1))],c=n.get(s)||[];c.push(a),n.set(s,c)}),n}var Vw=/%(\d[a-f0-9])/gi,Bw={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Vf(e){return encodeURIComponent(e).replace(Vw,(t,n)=>Bw[n]??t)}function ei(e){return`${e}`}var lt=class e{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new Va,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=jw(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{let r=t.fromObject[n],o=Array.isArray(r)?r.map(ei):[ei(r)];this.map.set(n,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){let n=[];return Object.keys(t).forEach(r=>{let o=t[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:"a"})}):n.push({param:r,value:o,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let n=(t.op==="a"?this.map.get(t.param):void 0)||[];n.push(ei(t.value)),this.map.set(t.param,n);break;case"d":if(t.value!==void 0){let r=this.map.get(t.param)||[],o=r.indexOf(ei(t.value));o!==-1&&r.splice(o,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}};var Ba=class{constructor(){this.map=new Map}set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}};function $w(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Bf(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function $f(e){return typeof Blob<"u"&&e instanceof Blob}function Uf(e){return typeof FormData<"u"&&e instanceof FormData}function Uw(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var $n=class e{constructor(t,n,r,o){this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase();let i;if($w(this.method)||o?(this.body=r!==void 0?r:null,i=o):i=r,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),this.transferCache=i.transferCache),this.headers??=new Ye,this.context??=new Ba,!this.params)this.params=new lt,this.urlWithParams=n;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=n;else{let a=n.indexOf("?"),c=a===-1?"?":a<n.length-1?"&":"";this.urlWithParams=n+c+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||Bf(this.body)||$f(this.body)||Uf(this.body)||Uw(this.body)?this.body:this.body instanceof lt?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||Uf(this.body)?null:$f(this.body)?this.body.type||null:Bf(this.body)?null:typeof this.body=="string"?"text/plain":this.body instanceof lt?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?"application/json":null}clone(t={}){let n=t.method||this.method,r=t.url||this.url,o=t.responseType||this.responseType,i=t.transferCache??this.transferCache,s=t.body!==void 0?t.body:this.body,a=t.withCredentials??this.withCredentials,c=t.reportProgress??this.reportProgress,u=t.headers||this.headers,l=t.params||this.params,d=t.context??this.context;return t.setHeaders!==void 0&&(u=Object.keys(t.setHeaders).reduce((h,f)=>h.set(f,t.setHeaders[f]),u)),t.setParams&&(l=Object.keys(t.setParams).reduce((h,f)=>h.set(f,t.setParams[f]),l)),new e(n,r,s,{params:l,headers:u,context:d,reportProgress:c,responseType:o,withCredentials:a,transferCache:i})}},dt=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}(dt||{}),zn=class{constructor(t,n=200,r="OK"){this.headers=t.headers||new Ye,this.status=t.status!==void 0?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}},ti=class e extends zn{constructor(t={}){super(t),this.type=dt.ResponseHeader}clone(t={}){return new e({headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},Gn=class e extends zn{constructor(t={}){super(t),this.type=dt.Response,this.body=t.body!==void 0?t.body:null}clone(t={}){return new e({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},ut=class extends zn{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}},Wf=200,Hw=204;function ja(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,transferCache:e.transferCache}}var zw=(()=>{class e{constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof $n)i=n;else{let c;o.headers instanceof Ye?c=o.headers:c=new Ye(o.headers);let u;o.params&&(o.params instanceof lt?u=o.params:u=new lt({fromObject:o.params})),i=new $n(n,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})}let s=cr(i).pipe(yi(c=>this.handler.handle(c)));if(n instanceof $n||o.observe==="events")return s;let a=s.pipe(vt(c=>c instanceof Gn));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(oe(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return a.pipe(oe(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return a.pipe(oe(c=>{if(c.body!==null&&typeof c.body!="string")throw new Error("Response is not a string.");return c.body}));case"json":default:return a.pipe(oe(c=>c.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:new lt().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,ja(o,r))}post(n,r,o={}){return this.request("POST",n,ja(o,r))}put(n,r,o={}){return this.request("PUT",n,ja(o,r))}static{this.\u0275fac=function(r){return new(r||e)(U(Un))}}static{this.\u0275prov=P({token:e,factory:e.\u0275fac})}}return e})(),Gw=/^\)\]\}',?\n/,Ww="X-Request-URL";function Hf(e){if(e.url)return e.url;let t=Ww.toLocaleLowerCase();return e.headers.get(t)}var $a=(()=>{class e{constructor(){this.fetchImpl=D(Ua,{optional:!0})?.fetch??((...n)=>globalThis.fetch(...n)),this.ngZone=D(ne)}handle(n){return new x(r=>{let o=new AbortController;return this.doRequest(n,o.signal,r).then(Ha,i=>r.error(new ut({error:i}))),()=>o.abort()})}async doRequest(n,r,o){let i=this.createRequestInit(n),s;try{let f=this.ngZone.runOutsideAngular(()=>this.fetchImpl(n.urlWithParams,pe({signal:r},i)));qw(f),o.next({type:dt.Sent}),s=await f}catch(f){o.error(new ut({error:f,status:f.status??0,statusText:f.statusText,url:n.urlWithParams,headers:f.headers}));return}let a=new Ye(s.headers),c=s.statusText,u=Hf(s)??n.urlWithParams,l=s.status,d=null;if(n.reportProgress&&o.next(new ti({headers:a,status:l,statusText:c,url:u})),s.body){let f=s.headers.get("content-length"),p=[],g=s.body.getReader(),m=0,w,R,F=typeof Zone<"u"&&Zone.current;await this.ngZone.runOutsideAngular(async()=>{for(;;){let{done:ce,value:G}=await g.read();if(ce)break;if(p.push(G),m+=G.length,n.reportProgress){R=n.responseType==="text"?(R??"")+(w??=new TextDecoder).decode(G,{stream:!0}):void 0;let ke=()=>o.next({type:dt.DownloadProgress,total:f?+f:void 0,loaded:m,partialText:R});F?F.run(ke):ke()}}});let Q=this.concatChunks(p,m);try{let ce=s.headers.get("Content-Type")??"";d=this.parseBody(n,Q,ce)}catch(ce){o.error(new ut({error:ce,headers:new Ye(s.headers),status:s.status,statusText:s.statusText,url:Hf(s)??n.urlWithParams}));return}}l===0&&(l=d?Wf:0),l>=200&&l<300?(o.next(new Gn({body:d,headers:a,status:l,statusText:c,url:u})),o.complete()):o.error(new ut({error:d,headers:a,status:l,statusText:c,url:u}))}parseBody(n,r,o){switch(n.responseType){case"json":let i=new TextDecoder().decode(r).replace(Gw,"");return i===""?null:JSON.parse(i);case"text":return new TextDecoder().decode(r);case"blob":return new Blob([r],{type:o});case"arraybuffer":return r.buffer}}createRequestInit(n){let r={},o=n.withCredentials?"include":void 0;if(n.headers.forEach((i,s)=>r[i]=s.join(",")),n.headers.has("Accept")||(r.Accept="application/json, text/plain, */*"),!n.headers.has("Content-Type")){let i=n.detectContentTypeHeader();i!==null&&(r["Content-Type"]=i)}return{body:n.serializeBody(),method:n.method,headers:r,credentials:o}}concatChunks(n,r){let o=new Uint8Array(r),i=0;for(let s of n)o.set(s,i),i+=s.length;return o}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=P({token:e,factory:e.\u0275fac})}}return e})(),Ua=class{};function Ha(){}function qw(e){e.then(Ha,Ha)}function Zw(e,t){return t(e)}function Yw(e,t,n){return(r,o)=>ol(n,()=>t(r,i=>e(i,o)))}var za=new S(""),Qw=new S(""),Jw=new S("",{providedIn:"root",factory:()=>!0});var zf=(()=>{class e extends Un{constructor(n,r){super(),this.backend=n,this.injector=r,this.chain=null,this.pendingTasks=D(Rt),this.contributeToStability=D(Jw)}handle(n){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(za),...this.injector.get(Qw,[])]));this.chain=r.reduceRight((o,i)=>Yw(o,i,this.injector),Zw)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(lr(()=>this.pendingTasks.remove(r)))}else return this.chain(n,r=>this.backend.handle(r))}static{this.\u0275fac=function(r){return new(r||e)(U(Hn),U(Re))}}static{this.\u0275prov=P({token:e,factory:e.\u0275fac})}}return e})();var Kw=/^\)\]\}',?\n/;function Xw(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}var Gf=(()=>{class e{constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new M(-2800,!1);let r=this.xhrFactory;return(r.\u0275loadImpl?Ne(r.\u0275loadImpl()):cr(null)).pipe(fr(()=>new x(i=>{let s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((g,m)=>s.setRequestHeader(g,m.join(","))),n.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){let g=n.detectContentTypeHeader();g!==null&&s.setRequestHeader("Content-Type",g)}if(n.responseType){let g=n.responseType.toLowerCase();s.responseType=g!=="json"?g:"text"}let a=n.serializeBody(),c=null,u=()=>{if(c!==null)return c;let g=s.statusText||"OK",m=new Ye(s.getAllResponseHeaders()),w=Xw(s)||n.url;return c=new ti({headers:m,status:s.status,statusText:g,url:w}),c},l=()=>{let{headers:g,status:m,statusText:w,url:R}=u(),F=null;m!==Hw&&(F=typeof s.response>"u"?s.responseText:s.response),m===0&&(m=F?Wf:0);let Q=m>=200&&m<300;if(n.responseType==="json"&&typeof F=="string"){let ce=F;F=F.replace(Kw,"");try{F=F!==""?JSON.parse(F):null}catch(G){F=ce,Q&&(Q=!1,F={error:G,text:F})}}Q?(i.next(new Gn({body:F,headers:g,status:m,statusText:w,url:R||void 0})),i.complete()):i.error(new ut({error:F,headers:g,status:m,statusText:w,url:R||void 0}))},d=g=>{let{url:m}=u(),w=new ut({error:g,status:s.status||0,statusText:s.statusText||"Unknown Error",url:m||void 0});i.error(w)},h=!1,f=g=>{h||(i.next(u()),h=!0);let m={type:dt.DownloadProgress,loaded:g.loaded};g.lengthComputable&&(m.total=g.total),n.responseType==="text"&&s.responseText&&(m.partialText=s.responseText),i.next(m)},p=g=>{let m={type:dt.UploadProgress,loaded:g.loaded};g.lengthComputable&&(m.total=g.total),i.next(m)};return s.addEventListener("load",l),s.addEventListener("error",d),s.addEventListener("timeout",d),s.addEventListener("abort",d),n.reportProgress&&(s.addEventListener("progress",f),a!==null&&s.upload&&s.upload.addEventListener("progress",p)),s.send(a),i.next({type:dt.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",l),s.removeEventListener("timeout",d),n.reportProgress&&(s.removeEventListener("progress",f),a!==null&&s.upload&&s.upload.removeEventListener("progress",p)),s.readyState!==s.DONE&&s.abort()}})))}static{this.\u0275fac=function(r){return new(r||e)(U(Jo))}}static{this.\u0275prov=P({token:e,factory:e.\u0275fac})}}return e})(),qf=new S(""),eI="XSRF-TOKEN",tI=new S("",{providedIn:"root",factory:()=>eI}),nI="X-XSRF-TOKEN",rI=new S("",{providedIn:"root",factory:()=>nI}),ni=class{},oI=(()=>{class e{constructor(n,r,o){this.doc=n,this.platform=r,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=jf(n,this.cookieName),this.lastCookieString=n),this.lastToken}static{this.\u0275fac=function(r){return new(r||e)(U(Ko),U(la),U(tI))}}static{this.\u0275prov=P({token:e,factory:e.\u0275fac})}}return e})();function iI(e,t){let n=e.url.toLowerCase();if(!D(qf)||e.method==="GET"||e.method==="HEAD"||n.startsWith("http://")||n.startsWith("https://"))return t(e);let r=D(ni).getToken(),o=D(rI);return r!=null&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,r)})),t(e)}var Ga=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}(Ga||{});function Zf(e,t){return{\u0275kind:e,\u0275providers:t}}function Cx(...e){let t=[zw,Gf,zf,{provide:Un,useExisting:zf},{provide:Hn,useFactory:()=>D($a,{optional:!0})??D(Gf)},{provide:za,useValue:iI,multi:!0},{provide:qf,useValue:!0},{provide:ni,useClass:oI}];for(let n of e)t.push(...n.\u0275providers);return Ys(t)}function bx(e){return Zf(Ga.Interceptors,e.map(t=>({provide:za,useValue:t,multi:!0})))}function Mx(){return Zf(Ga.Fetch,[$a,{provide:Hn,useExisting:$a}])}export{Z as a,X as b,Qf as c,x as d,hi as e,pi as f,ye as g,pn as h,gn as i,gt as j,Ne as k,cr as l,uh as m,lh as n,yt as o,oe as p,vh as q,mt as r,fi as s,dr as t,wh as u,Ih as v,vt as w,Ch as x,mi as y,yi as z,mn as A,ur as B,bh as C,Mh as D,lr as E,vc as F,vi as G,xh as H,Nh as I,Sh as J,hc as K,fr as L,Ah as M,wi as N,M as O,Au as P,P as Q,Ru as R,N0 as S,S as T,N as U,U as V,D as W,_n as X,S0 as Y,Wu as Z,qu as _,Zs as $,Ys as aa,nl as ba,Re as ca,ol as da,jp as ea,Ks as fa,A0 as ga,O0 as ha,R0 as ia,P0 as ja,Cg as ka,Kt as la,Ao as ma,Rt as na,_e as oa,ne as pa,ot as qa,Xr as ra,F0 as sa,k0 as ta,ln as ua,L0 as va,j0 as wa,$g as xa,la as ya,V0 as za,Pt as Aa,fa as Ba,B0 as Ca,$0 as Da,U0 as Ea,H0 as Fa,z0 as Ga,Kl as Ha,um as Ia,Ro as Ja,G0 as Ka,dm as La,W0 as Ma,eo as Na,q0 as Oa,Ge as Pa,oo as Qa,jd as Ra,Vn as Sa,Xy as Ta,ev as Ua,J0 as Va,K0 as Wa,X0 as Xa,cv as Ya,pv as Za,Ts as _a,gv as $a,Iv as ab,Mv as bb,Vv as cb,nf as db,Bv as eb,eT as fb,tT as gb,nT as hb,rT as ib,oT as jb,iT as kb,df as lb,ff as mb,tD as nb,hf as ob,pf as pb,oD as qb,sT as rb,fD as sb,aT as tb,cT as ub,uT as vb,mD as wb,yD as xb,vD as yb,lT as zb,dT as Ab,fT as Bb,hT as Cb,pT as Db,gT as Eb,mT as Fb,yT as Gb,ID as Hb,yf as Ib,ED as Jb,CD as Kb,vT as Lb,bD as Mb,DT as Nb,wT as Ob,IT as Pb,ET as Qb,CT as Rb,bT as Sb,MT as Tb,_T as Ub,TT as Vb,xT as Wb,NT as Xb,Aa as Yb,bf as Zb,Bn as _b,ST as $b,AT as ac,Oa as bc,OT as cc,JD as dc,RT as ec,KD as fc,tw as gc,PT as hc,FT as ic,Ra as jc,ix as kc,xf as lc,Ko as mc,La as nc,sw as oc,jf as pc,sx as qc,ax as rc,cx as sc,Pw as tc,ux as uc,kw as vc,Jo as wc,Ye as xc,Gn as yc,zw as zc,Cx as Ac,bx as Bc,Mx as Cc};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{n as k}from"./chunk-FRD2BVV6.js";import"./chunk-ZSOWH34L.js";import"./chunk-SFRGISK2.js";import{a as R}from"./chunk-5AC7O5ME.js";import"./chunk-6GOAPINI.js";import"./chunk-DNHLTHLR.js";import{b as l}from"./chunk-N6REZCKW.js";import"./chunk-73UOOUBD.js";import{a as P}from"./chunk-3ZEBM2Q6.js";import{n as I,o as T,s as O}from"./chunk-IEVRQDB6.js";import{a as C,b as F,d as y,e as L}from"./chunk-22ZYSOTR.js";import"./chunk-JNQHJPEL.js";import{a as _}from"./chunk-LZSE733H.js";import{B as h,Gb as c,Nb as B,Oa as r,Ob as D,Rb as m,W as d,Y as b,ab as g,cb as u,gc as v,hb as S,lb as p,mb as s,nb as o}from"./chunk-QHJTF3V4.js";import"./chunk-7CGTOI24.js";var w=(t,e)=>[t,e,"general"],A=(t,e)=>[t,e,"destination"],M=(t,e)=>[t,e,"source-data"],G=(t,e)=>[t,e,"schedule"],x=(t,e)=>[t,e,"options"];function N(t,e){t&1&&o(0,"spk-progress-bar",1)}function V(t,e){t&1&&(p(0,"section"),o(1,"router-outlet"),s())}var f=class t{#t=d(C);#e=d(k);#a=d(P);#i=d(_);isDraft=this.#e.isDraft;backupId=this.#e.backupId;finishedLoading=this.#e.finishedLoading;#n=l(this.#t.params);#o=l(this.#t.url);paramsChanged=v(()=>{let e=this.#n()?.id,a=!!this.#o()?.find(i=>i.path==="backup-draft");this.#e.backupId.set(e),e!=="new"?this.getBackup(e,a):this.getDefaults()},{allowSignalWrites:!0});getDefaults(){this.#i.getApiV1Backupdefaults().pipe(h(1)).subscribe({next:e=>{this.#e.mapScheduleToForm(e.Schedule),this.#e.mapOptionsToForms(e.Backup),this.#e.backupDefaults.set(e),this.#e.finishedLoading.set(!0)}})}getBackup(e,a=!1){let i=n=>{this.#e.mapScheduleToForm(n.Schedule??null),n.Backup&&(this.#e.mapGeneralToForm(n.Backup),this.#e.mapDestinationToForm(n.Backup),this.#e.mapSourceDataToForm(n.Backup),this.#e.mapOptionsToForms(n.Backup)),this.#e.finishedLoading.set(!0)};if(a){this.isDraft.set(a);let n=this.#a.draftBackups().find(E=>E.id===e);if(!n){alert("Backup not found");return}i(n.data)}else this.#i.getApiV1BackupById({id:e}).subscribe({next:i})}static \u0275fac=function(a){return new(a||t)};static \u0275cmp=b({type:t,selectors:[["app-backup"]],standalone:!0,features:[B([k]),D],decls:19,vars:21,consts:[["step","","routerLinkActive","active",3,"routerLink"],[1,"indeterminate","primary"]],template:function(a,i){a&1&&(o(0,"app-status-bar"),p(1,"spk-stepper")(2,"div",0),o(3,"spk-radio"),c(4," General "),s(),p(5,"div",0),o(6,"spk-radio"),c(7," Destination "),s(),p(8,"div",0),o(9,"spk-radio"),c(10," Source Data "),s(),p(11,"div",0),o(12,"spk-radio"),c(13," Schedule "),s(),p(14,"div",0),o(15,"spk-radio"),c(16," Options "),s()(),g(17,N,1,0,"spk-progress-bar",1)(18,V,2,0,"section")),a&2&&(r(2),u("routerLink",m(6,w,i.isDraft()?"/backup-draft":"/backup",i.backupId())),r(3),u("routerLink",m(9,A,i.isDraft()?"/backup-draft":"/backup",i.backupId())),r(3),u("routerLink",m(12,M,i.isDraft()?"/backup-draft":"/backup",i.backupId())),r(3),u("routerLink",m(15,G,i.isDraft()?"/backup-draft":"/backup",i.backupId())),r(3),u("routerLink",m(18,x,i.isDraft()?"/backup-draft":"/backup",i.backupId())),r(3),S(i.finishedLoading()?18:17))},dependencies:[F,y,L,R,T,O,I],styles:["[_nghost-%COMP%]{display:block}spk-stepper[_ngcontent-%COMP%]{max-width:32.5rem;margin:2.5rem auto}section[_ngcontent-%COMP%]{max-width:32.5rem;margin:0 auto 2.5rem}"],changeDetection:0})};export{f as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as c}from"./chunk-LZSE733H.js";import{E as i,N as r,Q as n,Ua as o,W as a,ec as f}from"./chunk-QHJTF3V4.js";var l=class t{#e=a(c);isLoaded=o(!1);systemInfo=o(null);backendModules=f(()=>this.systemInfo()?.BackendModules??[]);preload(s=!1){let e=this.#e.getApiV1Systeminfo().pipe(r(m=>this.systemInfo.set(m)),i(()=>this.isLoaded.set(!0)));if(s)return e;e.subscribe()}static \u0275fac=function(e){return new(e||t)};static \u0275prov=n({token:t,factory:t.\u0275fac,providedIn:"root"})};export{l as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as S}from"./chunk-
|
|
1
|
+
import{b as S}from"./chunk-N6REZCKW.js";import{a as h}from"./chunk-LZSE733H.js";import{Gb as p,Hb as d,Oa as n,Ob as f,Tb as u,Ub as C,W as s,Y as l,ib as c,jb as m,kb as g,lb as i,mb as a,sc as v}from"./chunk-QHJTF3V4.js";import"./chunk-7CGTOI24.js";function L(t,o){if(t&1&&(i(0,"pre",0),p(1),u(2,"json"),a()),t&2){let e=o.$implicit;n(),d(C(2,1,e))}}var r=class t{#e=s(h);logs=S(this.#e.getApiV1LogdataLog());static \u0275fac=function(e){return new(e||t)};static \u0275cmp=l({type:t,selectors:[["app-logs"]],standalone:!0,features:[f],decls:4,vars:0,consts:[[2,"white-space","wrap"]],template:function(e,y){e&1&&(i(0,"h3"),p(1,"Logs"),a(),m(2,L,3,3,"pre",0,c)),e&2&&(n(2),g(y.logs()))},dependencies:[v],styles:["[_nghost-%COMP%]{display:block}h3[_ngcontent-%COMP%]{font:var(--title-30)}"],changeDetection:0})};export{r as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{g as a,h as b,i as c}from"./chunk-FRD2BVV6.js";import"./chunk-ZSOWH34L.js";import"./chunk-SFRGISK2.js";import"./chunk-DNHLTHLR.js";import"./chunk-N6REZCKW.js";import"./chunk-73UOOUBD.js";import"./chunk-IEVRQDB6.js";import"./chunk-22ZYSOTR.js";import"./chunk-JNQHJPEL.js";import"./chunk-LZSE733H.js";import"./chunk-QHJTF3V4.js";import"./chunk-7CGTOI24.js";export{b as createAdvancedOption,a as createOptionsForm,c as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Q as l,W as a,uc as s,vc as r,ya as o}from"./chunk-QHJTF3V4.js";var n=class i{platformId=a(o);STORAGE_VERSION="v1";APP_NAME="duplicati";getItemParsed(t,e=!1){return r(this.platformId)?null:JSON.parse(localStorage.getItem(`${this.STORAGE_VERSION}:${e?"presist-duplicati":this.APP_NAME}:${t}`)??"null")}setItemParsed(t,e,m=!1){if(!r(this.platformId))return localStorage.setItem(`${this.STORAGE_VERSION}:${m?"presist-duplicati":this.APP_NAME}:${t}`,JSON.stringify(e))}get length(){return s(this.platformId)?localStorage.length:0}getItem(t){return r(this.platformId)?null:localStorage.getItem(`${this.STORAGE_VERSION}:${this.APP_NAME}:${t}`)??null}setItem(t,e){if(!r(this.platformId))return localStorage.setItem(`${this.STORAGE_VERSION}:${this.APP_NAME}:${t}`,e)}removeItem(t){r(this.platformId)||localStorage.removeItem(`${this.STORAGE_VERSION}:${this.APP_NAME}:${t}`)}clearAllNotCurrentVersion(){if(!r(this.platformId))for(var t in localStorage)t.startsWith(this.STORAGE_VERSION)||localStorage.removeItem(t)}clearAll(){r(this.platformId)||localStorage.clear()}clear(){if(!r(this.platformId))for(var t in localStorage)t.includes(this.APP_NAME)&&!t.includes(`presist-${this.APP_NAME}`)&&localStorage.removeItem(t)}key(t){return r(this.platformId)?null:localStorage.key(t)}static \u0275fac=function(e){return new(e||i)};static \u0275prov=l({token:i,factory:i.\u0275fac})};export{n as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as I,b as E,d as B,e as M,
|
|
1
|
+
import{a as I,b as E,d as B,e as M,g as w,k as A,n as N,q as P,s as T}from"./chunk-73UOOUBD.js";import{a as q}from"./chunk-3ZEBM2Q6.js";import{a as L,c as R,g as V,k as j,t as G,v as O}from"./chunk-IEVRQDB6.js";import{c as v,d as D}from"./chunk-22ZYSOTR.js";import"./chunk-JNQHJPEL.js";import{a as x}from"./chunk-LZSE733H.js";import{E as h,Gb as n,Oa as m,Ob as _,Pb as F,Ua as f,W as s,Y as S,ab as b,cb as g,eb as C,hb as y,lb as i,mb as e,nb as d,sb as u}from"./chunk-QHJTF3V4.js";import"./chunk-7CGTOI24.js";var z=()=>["/"];function H(c,t){c&1&&(i(0,"spk-form-field")(1,"label",13),n(2,"Passphrase"),e(),d(3,"input",14),e())}var p=new P,k=class c{#e=s(R);#t=s(x);#o=s(q);#r=s(v);isImporting=f(!1);isSecureFile=f(!1);importForm=p.group({config:p.control(""),cmdline:p.control(!1),importMetadata:p.control(!1),direct:p.control(!1),passphrase:p.control("")});selectedFile=f(null);onFileDropped(t){let r=t.target?.files?.item(0);if(r){let a=new FileReader;this.isSecureFile.set(r.type!=="application/json"),a.onload=this.#i.bind(this),a.readAsArrayBuffer(r)}}#i(t){let o=t.target?.result;this.importForm.patchValue({config:this.#n(o)})}#n(t){let o=new Uint8Array(t),r=o.byteLength,a="";for(let l=0;l<r;l++)a+=String.fromCharCode(o[l]);return btoa(a)}submit(){this.isImporting.set(!0),this.#t.postApiV1BackupsImport({requestBody:this.importForm.value}).pipe(h(()=>this.isImporting.set(!1))).subscribe({next:t=>{let o=this.#o.addDraftBackup(t.data);this.#r.navigate(["/backup-draft",o])},error:t=>{this.#e.error(t.message)}})}static \u0275fac=function(o){return new(o||c)};static \u0275cmp=S({type:c,selectors:[["app-import"]],standalone:!0,features:[_],decls:28,vars:6,consts:[[1,"actions"],["spk-button","",1,"outlined",3,"routerLink"],["spk-button","",1,"raised","primary",3,"click"],["autocomplete","off",3,"formGroup"],["spkDragDrop","",3,"fileDropped"],["for","file"],["type","file","accept",".json,.aes",3,"change"],["suffix",""],[1,"primary","raised"],["for","importMetadata"],["type","checkbox","formControlName","importMetadata"],["for","direct"],["type","checkbox","formControlName","direct"],["for","passphrase"],["type","password","formControlName","passphrase"]],template:function(o,r){o&1&&(i(0,"header")(1,"h3"),n(2," Import backup configuration "),i(3,"div",0)(4,"button",1)(5,"spk-icon"),n(6,"arrow-left"),e(),n(7," Back "),e(),i(8,"button",2),u("click",function(){return r.submit()}),i(9,"spk-icon"),n(10,"download-simple"),e(),n(11," Import "),e()()()(),i(12,"form",3)(13,"spk-form-field",4),u("fileDropped",function(l){return r.onFileDropped(l)}),i(14,"label",5),n(15,"Select a configuration file"),e(),i(16,"input",6),u("change",function(l){return r.onFileDropped(l)}),e(),i(17,"spk-icon",7),n(18,"upload"),e()(),b(19,H,4,0,"spk-form-field"),i(20,"spk-toggle",8)(21,"label",9),n(22,"Import Metadata"),e(),d(23,"input",10),e(),i(24,"spk-toggle",8)(25,"label",11),n(26,"Save now"),e(),d(27,"input",12),e()()),o&2&&(m(4),g("routerLink",F(5,z)),m(4),C("loading",r.isImporting()),m(4),g("formGroup",r.importForm),m(7),y(r.isSecureFile()?19:-1))},dependencies:[T,w,E,I,B,M,A,N,D,O,j,L,V,G],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;gap:2rem;padding:3rem}h3[_ngcontent-%COMP%]{font:var(--title-30);display:flex;align-items:center;justify-content:space-between}.actions[_ngcontent-%COMP%]{display:flex;gap:.5rem}form[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1.5rem;max-width:31.25rem}"],changeDetection:0})};export{k as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as f}from"./chunk-5AC7O5ME.js";import"./chunk-6GOAPINI.js";import"./chunk-3ZEBM2Q6.js";import{a as u,g,h as k}from"./chunk-IEVRQDB6.js";import{d as l}from"./chunk-22ZYSOTR.js";import"./chunk-JNQHJPEL.js";import"./chunk-LZSE733H.js";import{Gb as t,Oa as o,Ob as s,Pb as r,Y as d,cb as p,lb as e,mb as n,nb as a}from"./chunk-QHJTF3V4.js";import"./chunk-7CGTOI24.js";var C=()=>["/backup/new"],x=()=>["/backup/import"],c=class m{static \u0275fac=function(i){return new(i||m)};static \u0275cmp=d({type:m,selectors:[["app-add-backup"]],standalone:!0,features:[s],decls:25,vars:4,consts:[[1,"backup-types"],[1,"type-a"],["src","assets/images/new-backup.png"],["spk-button","",1,"raised","primary",3,"routerLink"]],template:function(i,y){i&1&&(a(0,"app-status-bar"),e(1,"section")(2,"h2"),t(3,"Add a new backup"),n(),e(4,"div",0)(5,"spk-card",1),a(6,"img",2),e(7,"h3"),t(8,"New backup"),n(),e(9,"p"),t(10,"Configure a new backup. Choose your destination, source data and schedule."),n(),e(11,"button",3),t(12," Add a new backup "),e(13,"spk-icon"),t(14,"plus"),n()()(),e(15,"spk-card",1),a(16,"img",2),e(17,"h3"),t(18,"Import from file"),n(),e(19,"p"),t(20,"Import backup configuration from a file. During import you can adjust the setings."),n(),e(21,"button",3),t(22," Import from file "),e(23,"spk-icon"),t(24,"upload-simple"),n()()()()()),i&2&&(o(11),p("routerLink",r(2,C)),o(10),p("routerLink",r(3,x)))},dependencies:[f,g,k,u,l],styles:["[_nghost-%COMP%]{display:block}section[_ngcontent-%COMP%]{display:flex;align-items:center;flex-direction:column;gap:2rem;padding:2rem 0}div.backup-types[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr;gap:1rem;max-width:700px}spk-card[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:1rem;padding-bottom:3rem}spk-card[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:300px}spk-card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{text-wrap:balance;text-align:center;width:75%}"],changeDetection:0})};export{c as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as P}from"./chunk-
|
|
1
|
+
import{a as P}from"./chunk-5AC7O5ME.js";import"./chunk-6GOAPINI.js";import{a as I}from"./chunk-3ZEBM2Q6.js";import{a as M,g as D,h as R,n as O}from"./chunk-IEVRQDB6.js";import{d as v}from"./chunk-22ZYSOTR.js";import"./chunk-JNQHJPEL.js";import{a as y}from"./chunk-LZSE733H.js";import{Gb as r,Ib as B,Jb as S,Oa as l,Ob as b,Qb as h,W as s,Y as m,ab as d,cb as k,hb as f,ib as g,jb as C,kb as _,lb as i,mb as p,nb as c,tb as x}from"./chunk-QHJTF3V4.js";import"./chunk-7CGTOI24.js";var w=e=>["/restore-flow",e];function L(e,o){e&1&&c(0,"spk-progress-bar",0)}function T(e,o){if(e&1&&(i(0,"spk-card",1),c(1,"img",2),i(2,"div",3)(3,"h3"),r(4),p(),i(5,"p"),r(6),p()(),i(7,"button",4),r(8," Restore "),i(9,"spk-icon"),r(10,"arrow-right"),p()()()),e&2){let t,a,n=o.$implicit;l(4),B("Restore ",(t=n.Backup==null?null:n.Backup.Name)!==null&&t!==void 0?t:"Backup name missing",""),l(2),S(" ",(a=n.Backup==null||n.Backup.Metadata==null?null:n.Backup.Metadata.SourceSizeString)!==null&&a!==void 0?a:"-"," / ",(a=n.Backup==null||n.Backup.Metadata==null?null:n.Backup.Metadata.BackupListCount)!==null&&a!==void 0?a:"-"," "),l(),k("routerLink",h(4,w,n.Backup==null?null:n.Backup.ID))}}function E(e,o){if(e&1&&C(0,T,11,6,"spk-card",1,g),e&2){let t=x();_(t.backups())}}function N(e,o){e&1&&r(0," No backups found ")}var u=class e{#e=s(I);#t=s(y);backups=this.#e.backups;backupsLoading=this.#e.backupsLoading;ngOnInit(){this.#e.getBackups()}restoreNow(o){this.#t.postApiV1BackupByIdRestore({id:o.Backup?.ID,requestBody:{}})}static \u0275fac=function(t){return new(t||e)};static \u0275cmp=m({type:e,selectors:[["app-restore"]],standalone:!0,features:[b],decls:7,vars:1,consts:[[1,"indeterminate","primary"],[1,"type-a"],["src","assets/images/folder.png","alt","","width","48px"],[1,"text"],["spk-button","",3,"routerLink"]],template:function(t,a){t&1&&(c(0,"app-status-bar"),i(1,"section")(2,"h2"),r(3,"Where do you want to restore from?"),p(),d(4,L,1,0,"spk-progress-bar",0)(5,E,2,0)(6,N,1,0),p()),t&2&&(l(4),f(a.backupsLoading()?4:a.backups().length?5:6))},dependencies:[P,R,D,M,O,v],styles:["[_nghost-%COMP%]{display:block}h2[_ngcontent-%COMP%]{font:var(--title-30);text-align:center;padding:2rem}section[_ngcontent-%COMP%]{max-width:43.75rem;margin:0 auto;padding:2rem 0;display:flex;flex-direction:column;gap:1rem}spk-divider[_ngcontent-%COMP%]{color:var(--base-level-60)}spk-card[_ngcontent-%COMP%]{display:flex;align-items:center;gap:1rem;--card-padding: 2rem}spk-card[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{flex:1 0;display:flex;flex-direction:column;gap:.25rem}"],changeDetection:0})};export{u as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{d as a,e as b,f as c}from"./chunk-FRD2BVV6.js";import"./chunk-ZSOWH34L.js";import"./chunk-SFRGISK2.js";import"./chunk-DNHLTHLR.js";import"./chunk-N6REZCKW.js";import"./chunk-73UOOUBD.js";import"./chunk-IEVRQDB6.js";import"./chunk-22ZYSOTR.js";import"./chunk-JNQHJPEL.js";import"./chunk-LZSE733H.js";import"./chunk-QHJTF3V4.js";import"./chunk-7CGTOI24.js";export{b as NONE_OPTION,a as createGeneralForm,c as default};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as r}from"./chunk-
|
|
1
|
+
import{a as r}from"./chunk-Q76L4VLC.js";import"./chunk-VC4GI7EV.js";import"./chunk-22ZYSOTR.js";import"./chunk-JNQHJPEL.js";import"./chunk-LZSE733H.js";import{Gb as e,Ob as l,W as a,Y as i,lb as s,mb as p}from"./chunk-QHJTF3V4.js";import"./chunk-7CGTOI24.js";var o=class n{#t=a(r);ngOnInit(){this.#t.logout()}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=i({type:n,selectors:[["app-logout"]],standalone:!0,features:[l],decls:3,vars:0,template:function(t,c){t&1&&(s(0,"p"),e(1,"logout works!"),p(),e(2,`,
|
|
2
2
|
`))},styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0})};export{o as default};
|