@duplicati/ngclient 0.0.96 → 0.0.98
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-25TWFWOC.js +1 -0
- package/{chunk-G3YJXHRY.js → chunk-2X7AJBJY.js} +1 -1
- package/chunk-3CRLUTKZ.js +6 -0
- package/{chunk-WGIELPP6.js → chunk-3UY6NFJH.js} +1 -1
- package/chunk-3WHFK5U5.js +1 -0
- package/chunk-46YKZZQG.js +1 -0
- package/{chunk-76MUKWQP.js → chunk-5CB3EQEQ.js} +1 -1
- package/{chunk-CNWIFYHZ.js → chunk-5WXAGJAM.js} +1 -1
- package/chunk-64CRTZO6.js +1 -0
- package/{chunk-6EQS5NZL.js → chunk-6LVF5Q7U.js} +1 -1
- package/chunk-7I2OB6KM.js +1 -0
- package/{chunk-QX5XWUM2.js → chunk-AKURWKKM.js} +1 -1
- package/{chunk-CMXSHXAU.js → chunk-BCSA6WFY.js} +1 -1
- package/{chunk-27RULQ7Y.js → chunk-BGEONYDG.js} +1 -1
- package/{chunk-LHSJLKCF.js → chunk-BSJ6OMWB.js} +1 -1
- package/chunk-BUHABQCR.js +1 -0
- package/{chunk-WVKWOGDQ.js → chunk-C36EIFZ5.js} +1 -1
- package/chunk-C4WJIBJ4.js +1 -0
- package/{chunk-YIWL3QAP.js → chunk-E5PZ2WTR.js} +1 -1
- package/{chunk-3GK4TNUH.js → chunk-ERQAUCCL.js} +1 -1
- package/{chunk-NV2YMSSM.js → chunk-F2L6ATMF.js} +1 -1
- package/{chunk-VFJL5JPI.js → chunk-FXQBVRVU.js} +1 -1
- package/{chunk-W5YK2JJZ.js → chunk-FXYF7V3T.js} +1 -1
- package/chunk-FYKL2LOY.js +2 -0
- package/chunk-GY445E4I.js +1 -0
- package/{chunk-A6XFGG4U.js → chunk-H5SFF5D7.js} +1 -1
- package/chunk-HJXCC47N.js +6 -0
- package/{chunk-T2KQRNAJ.js → chunk-I5VNBLZK.js} +1 -1
- package/{chunk-YPQUTPBQ.js → chunk-I6XPZQ7N.js} +1 -1
- package/{chunk-UBZDIRFY.js → chunk-IN4ROBMK.js} +1 -1
- package/{chunk-XC6KYSRC.js → chunk-J242X4NN.js} +1 -1
- package/chunk-KA2H467C.js +1 -0
- package/chunk-KCEYQGRU.js +1 -0
- package/chunk-KW2XPLTZ.js +1 -0
- package/{chunk-QPO2N2OR.js → chunk-L7XUXGTC.js} +1 -1
- package/chunk-LDGR7NUE.js +1 -0
- package/chunk-LLNGOQQI.js +1 -0
- package/{chunk-WBNOGAKJ.js → chunk-NQYRWS7A.js} +1 -1
- package/{chunk-NB32XJ7B.js → chunk-OL234C52.js} +1 -1
- package/chunk-OLIPUVMA.js +1 -0
- package/chunk-ORIEYVVO.js +1 -0
- package/{chunk-MJUYFS7O.js → chunk-PQ6MLKHT.js} +1 -1
- package/{chunk-6LVGSIUU.js → chunk-PZY4BMZL.js} +1 -1
- package/chunk-QQKVF4B4.js +1 -0
- package/{chunk-CHZ7TMI7.js → chunk-QZEFXB74.js} +1 -1
- package/chunk-R2D3CVSD.js +1 -0
- package/chunk-RIM5NXPM.js +1 -0
- package/chunk-RKFABCKT.js +2 -0
- package/chunk-RNQH6BGW.js +1 -0
- package/chunk-RY7J7BHG.js +7 -0
- package/chunk-SBHSCERN.js +1 -0
- package/{chunk-IZOZII2D.js → chunk-SHATBKDA.js} +1 -1
- package/{chunk-HGERKLOF.js → chunk-TDXJNPMY.js} +1 -1
- package/{chunk-F5S33WHR.js → chunk-TGK3F3XP.js} +1 -1
- package/chunk-U7C24GJ2.js +1 -0
- package/{chunk-OS4AAJLB.js → chunk-UNV7VK4Z.js} +1 -1
- package/{chunk-4XPN5ZGE.js → chunk-VDB64BFB.js} +1 -1
- package/{chunk-LO4MUZS2.js → chunk-VGNOUHVL.js} +1 -1
- package/chunk-W4U2FPZX.js +1 -0
- package/chunk-W6TPRQIT.js +1 -0
- package/{chunk-IHYIT4I3.js → chunk-XA4UOPDI.js} +1 -1
- package/chunk-XQCRX6RA.js +2 -0
- package/chunk-YQ7U7A2N.js +1 -0
- package/{chunk-3YOT5OAB.js → chunk-Z2LU6ASK.js} +1 -1
- package/{chunk-MURCWMUG.js → chunk-Z5KSF3LW.js} +1 -1
- package/{chunk-UT45C7WK.js → chunk-ZDCJ72UD.js} +1 -1
- package/chunk-ZDMCLDW7.js +1 -0
- package/{chunk-IAVOZTCR.js → chunk-ZUX7IMN4.js} +1 -1
- package/chunk-ZV72G3X3.js +1 -0
- package/index.html +18 -2
- package/main-F254FFHF.js +1 -0
- package/package.json +1 -1
- package/styles-GQ3J35VN.css +1 -0
- package/chunk-3WEATDBM.js +0 -1
- package/chunk-3WKC2CFC.js +0 -1
- package/chunk-3XY4ZNIY.js +0 -1
- package/chunk-4ERW7ITN.js +0 -1
- package/chunk-57MYGQMW.js +0 -1
- package/chunk-5COOM7FC.js +0 -6
- package/chunk-5UL3RRQI.js +0 -2
- package/chunk-7EPQLKGD.js +0 -1
- package/chunk-7JZ5LA6R.js +0 -1
- package/chunk-ASQFBDFK.js +0 -1
- package/chunk-C2PMOZWR.js +0 -1
- package/chunk-CR2UB7UZ.js +0 -1
- package/chunk-FHW4WHNO.js +0 -1
- package/chunk-FJKXCOAH.js +0 -1
- package/chunk-GI6WORKU.js +0 -1
- package/chunk-L3T52MCL.js +0 -1
- package/chunk-LXEGFP53.js +0 -1
- package/chunk-MJI6X5KH.js +0 -1
- package/chunk-PTC4N7TU.js +0 -7
- package/chunk-PUSUA4U7.js +0 -1
- package/chunk-Q3FF4WG3.js +0 -1
- package/chunk-RUWWC6BD.js +0 -1
- package/chunk-TNK2MVSP.js +0 -1
- package/chunk-V6OHLKTK.js +0 -1
- package/chunk-WNWGY2FM.js +0 -1
- package/chunk-YDN2L342.js +0 -6
- package/chunk-ZCB4RYTS.js +0 -1
- package/chunk-ZTJALQGT.js +0 -1
- package/main-JSU2T7AW.js +0 -1
- package/styles-IOWRSZHV.css +0 -1
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import{a as ee,b as te}from"./chunk-7CGTOI24.js";function w(e){return typeof e=="function"}function Nt(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 rr=Nt(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 et(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var j=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(w(r))try{r()}catch(i){t=i instanceof rr?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{fc(i)}catch(s){t=t??[],s instanceof rr?t=[...t,...s.errors]:t.push(s)}}if(t)throw new rr(t)}}add(t){var n;if(t&&t!==this)if(this.closed)fc(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)&&et(n,t)}remove(t){let{_finalizers:n}=this;n&&et(n,t),t instanceof e&&t._removeParent(this)}};j.EMPTY=(()=>{let e=new j;return e.closed=!0,e})();var si=j.EMPTY;function or(e){return e instanceof j||e&&"closed"in e&&w(e.remove)&&w(e.add)&&w(e.unsubscribe)}function fc(e){w(e)?e():e.unsubscribe()}var fe={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var St={setTimeout(e,t,...n){let{delegate:r}=St;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=St;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function ir(e){St.setTimeout(()=>{let{onUnhandledError:t}=fe;if(t)t(e);else throw e})}function fn(){}var pc=ai("C",void 0,void 0);function hc(e){return ai("E",void 0,e)}function gc(e){return ai("N",e,void 0)}function ai(e,t,n){return{kind:e,value:t,error:n}}var tt=null;function kt(e){if(fe.useDeprecatedSynchronousErrorHandling){let t=!tt;if(t&&(tt={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=tt;if(tt=null,n)throw r}}else e()}function mc(e){fe.useDeprecatedSynchronousErrorHandling&&tt&&(tt.errorThrown=!0,tt.error=e)}var nt=class extends j{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,or(t)&&t.add(this)):this.destination=Wp}static create(t,n,r){return new xe(t,n,r)}next(t){this.isStopped?li(gc(t),this):this._next(t)}error(t){this.isStopped?li(hc(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?li(pc,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()}}},Up=Function.prototype.bind;function ci(e,t){return Up.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){sr(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){sr(r)}else sr(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){sr(n)}}},xe=class extends nt{constructor(t,n,r){super();let o;if(w(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&fe.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&ci(t.next,i),error:t.error&&ci(t.error,i),complete:t.complete&&ci(t.complete,i)}):o=t}this.destination=new ui(o)}};function sr(e){fe.useDeprecatedSynchronousErrorHandling?mc(e):ir(e)}function qp(e){throw e}function li(e,t){let{onStoppedNotification:n}=fe;n&&St.setTimeout(()=>n(e,t))}var Wp={closed:!0,next:fn,error:qp,complete:fn};var Rt=typeof Symbol=="function"&&Symbol.observable||"@@observable";function J(e){return e}function zp(...e){return di(e)}function di(e){return e.length===0?J:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var N=(()=>{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=Qp(n)?n:new xe(n,r,o);return kt(()=>{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=yc(r),new r((o,i)=>{let s=new xe({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)}[Rt](){return this}pipe(...n){return di(n)(this)}toPromise(n){return n=yc(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 yc(e){var t;return(t=e??fe.Promise)!==null&&t!==void 0?t:Promise}function Gp(e){return e&&w(e.next)&&w(e.error)&&w(e.complete)}function Qp(e){return e&&e instanceof nt||Gp(e)&&or(e)}var vc=Nt(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ce=(()=>{class e extends N{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new ar(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new vc}next(n){kt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){kt(()=>{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(){kt(()=>{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?si:(this.currentObservers=null,i.push(n),new j(()=>{this.currentObservers=null,et(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new N;return n.source=this,n}}return e.create=(t,n)=>new ar(t,n),e})(),ar=class extends ce{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:si}};function cr(e){return e&&w(e.schedule)}function Ic(e){return e[e.length-1]}function Ot(e){return w(Ic(e))?e.pop():void 0}function Fe(e){return cr(Ic(e))?e.pop():void 0}function wc(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?i(u.value):o(u.value).then(a,c)}l((r=r.apply(e,t||[])).next())})}function Ec(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 rt(e){return this instanceof rt?(this.v=e,this):new rt(e)}function Dc(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(h){return Promise.resolve(h).then(f,d)}}function a(f,h){r[f]&&(o[f]=function(g){return new Promise(function(I,m){i.push([f,g,I,m])>1||c(f,g)})},h&&(o[f]=h(o[f])))}function c(f,h){try{l(r[f](h))}catch(g){p(i[0][3],g)}}function l(f){f.value instanceof rt?Promise.resolve(f.value.v).then(u,d):p(i[0][2],f)}function u(f){c("next",f)}function d(f){c("throw",f)}function p(f,h){f(h),i.shift(),i.length&&c(i[0][0],i[0][1])}}function bc(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 Ec=="function"?Ec(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},s)}}var lr=e=>e&&typeof e.length=="number"&&typeof e!="function";function ur(e){return w(e?.then)}function dr(e){return w(e[Rt])}function fr(e){return Symbol.asyncIterator&&w(e?.[Symbol.asyncIterator])}function pr(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 Zp(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var hr=Zp();function gr(e){return w(e?.[hr])}function mr(e){return Dc(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield rt(n.read());if(o)return yield rt(void 0);yield yield rt(r)}}finally{n.releaseLock()}})}function yr(e){return w(e?.getReader)}function P(e){if(e instanceof N)return e;if(e!=null){if(dr(e))return Yp(e);if(lr(e))return Jp(e);if(ur(e))return Kp(e);if(fr(e))return Mc(e);if(gr(e))return Xp(e);if(yr(e))return eh(e)}throw pr(e)}function Yp(e){return new N(t=>{let n=e[Rt]();if(w(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Jp(e){return new N(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function Kp(e){return new N(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,ir)})}function Xp(e){return new N(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Mc(e){return new N(t=>{th(e,t).catch(n=>t.error(n))})}function eh(e){return Mc(mr(e))}function th(e,t){var n,r,o,i;return wc(this,void 0,void 0,function*(){try{for(n=bc(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 ne(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 fi(e){return w(e?.lift)}function x(e){return t=>{if(fi(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function D(e,t,n,r,o){return new pi(e,t,n,r,o)}var pi=class extends nt{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 vr(e,t=0){return x((n,r)=>{n.subscribe(D(r,o=>ne(r,e,()=>r.next(o),t),()=>ne(r,e,()=>r.complete(),t),o=>ne(r,e,()=>r.error(o),t)))})}function Ir(e,t=0){return x((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Cc(e,t){return P(e).pipe(Ir(t),vr(t))}function xc(e,t){return P(e).pipe(Ir(t),vr(t))}function _c(e,t){return new N(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Tc(e,t){return new N(n=>{let r;return ne(n,t,()=>{r=e[hr](),ne(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)}),()=>w(r?.return)&&r.return()})}function Er(e,t){if(!e)throw new Error("Iterable cannot be null");return new N(n=>{ne(n,t,()=>{let r=e[Symbol.asyncIterator]();ne(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Nc(e,t){return Er(mr(e),t)}function Sc(e,t){if(e!=null){if(dr(e))return Cc(e,t);if(lr(e))return _c(e,t);if(ur(e))return xc(e,t);if(fr(e))return Er(e,t);if(gr(e))return Tc(e,t);if(yr(e))return Nc(e,t)}throw pr(e)}function Ve(e,t){return t?Sc(e,t):P(e)}function nh(...e){let t=Fe(e);return Ve(e,t)}function je(e,t){return x((n,r)=>{let o=0;n.subscribe(D(r,i=>{r.next(e.call(t,i,o++))}))})}function hi(e){return x((t,n)=>{let r=null,o=!1,i;r=t.subscribe(D(n,void 0,void 0,s=>{i=P(e(s,hi(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}var wr=class extends j{constructor(t,n){super()}schedule(t,n=0){return this}};var pn={setInterval(e,t,...n){let{delegate:r}=pn;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=pn;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var Dr=class extends wr{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(t,n,r=0){return pn.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return n;n!=null&&pn.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(t,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let r=!1,o;try{this.work(t)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,et(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var hn={now(){return(hn.delegate||Date).now()},delegate:void 0};var At=class e{constructor(t,n=e.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}};At.now=hn.now;var br=class extends At{constructor(t,n=At.now){super(t,n),this.actions=[],this._active=!1}flush(t){let{actions:n}=this;if(this._active){n.push(t);return}let r;this._active=!0;do if(r=t.execute(t.state,t.delay))break;while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}};var gi=new br(Dr),kc=gi;function rh(e,t=gi){return x((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let l=i;i=null,r.next(l)}};function c(){let l=s+e,u=t.now();if(u<l){o=this.schedule(void 0,l-u),r.add(o);return}a()}n.subscribe(D(r,l=>{i=l,s=t.now(),o||(o=t.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}var ot=new N(e=>e.complete());function Mr(e){return e<=0?()=>ot:x((t,n)=>{let r=0;t.subscribe(D(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Rc(e){return x((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Oc(e,t){return x((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(D(r,c=>{o?.unsubscribe();let l=0,u=i++;P(e(c,u)).subscribe(o=D(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Ac(e){return x((t,n)=>{P(e).subscribe(D(n,()=>n.complete(),fn)),!n.closed&&t.subscribe(n)})}function mi(){return x((e,t)=>{let n=null;e._refCount++;let r=D(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var yi=class extends N{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,fi(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 j;let n=this.getSubject();t.add(this.source.subscribe(D(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=j.EMPTY)}return t}refCount(){return mi()(this)}};var gn=class extends ce{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 mn=class extends ce{constructor(t=1/0,n=1/0,r=hn){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 oh(e,t){let n=w(e)?e:()=>e,r=o=>o.error(n());return new N(t?o=>t.schedule(r,0,o):r)}function ih(e){return!!e&&(e instanceof N||w(e.lift)&&w(e.subscribe))}var it=Nt(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Pc(e){return e instanceof Date&&!isNaN(e)}var{isArray:sh}=Array;function ah(e,t){return sh(t)?e(...t):e(t)}function Cr(e){return je(t=>ah(e,t))}var{isArray:ch}=Array,{getPrototypeOf:lh,prototype:uh,keys:dh}=Object;function xr(e){if(e.length===1){let t=e[0];if(ch(t))return{args:t,keys:null};if(fh(t)){let n=dh(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function fh(e){return e&&typeof e=="object"&&lh(e)===uh}function _r(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function ph(...e){let t=Fe(e),n=Ot(e),{args:r,keys:o}=xr(e);if(r.length===0)return Ve([],t);let i=new N(hh(r,t,o?s=>_r(o,s):J));return n?i.pipe(Cr(n)):i}function hh(e,t,n=J){return r=>{Lc(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Lc(t,()=>{let l=Ve(e[c],t),u=!1;l.subscribe(D(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Lc(e,t,n){e?ne(n,e,t):t()}function Fc(e,t,n,r,o,i,s,a){let c=[],l=0,u=0,d=!1,p=()=>{d&&!c.length&&!l&&t.complete()},f=g=>l<r?h(g):c.push(g),h=g=>{i&&t.next(g),l++;let I=!1;P(n(g,u++)).subscribe(D(t,m=>{o?.(m),i?f(m):t.next(m)},()=>{I=!0},void 0,()=>{if(I)try{for(l--;c.length&&l<r;){let m=c.shift();s?ne(t,s,()=>h(m)):h(m)}p()}catch(m){t.error(m)}}))};return e.subscribe(D(t,f,()=>{d=!0,p()})),()=>{a?.()}}function st(e,t,n=1/0){return w(t)?st((r,o)=>je((i,s)=>t(r,i,o,s))(P(e(r,o))),n):(typeof t=="number"&&(n=t),x((r,o)=>Fc(r,o,e,n)))}function vi(e=1/0){return st(J,e)}function Vc(){return vi(1)}function Tr(...e){return Vc()(Ve(e,Fe(e)))}function gh(e){return new N(t=>{P(e()).subscribe(t)})}function mh(...e){let t=Ot(e),{args:n,keys:r}=xr(e),o=new N(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u<s;u++){let d=!1;P(n[u]).subscribe(D(i,p=>{d||(d=!0,l--),a[u]=p},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?_r(r,a):a),i.complete())}))}});return t?o.pipe(Cr(t)):o}function jc(e=0,t,n=kc){let r=-1;return t!=null&&(cr(t)?n=t:r=t),new N(o=>{let i=Pc(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}var{isArray:yh}=Array;function Hc(e){return e.length===1&&yh(e[0])?e[0]:e}function yn(e,t){return x((n,r)=>{let o=0;n.subscribe(D(r,i=>e.call(t,i,o++)&&r.next(i)))})}function vh(...e){let t=Ot(e),n=Hc(e);return n.length?new N(r=>{let o=n.map(()=>[]),i=n.map(()=>!1);r.add(()=>{o=i=null});for(let s=0;!r.closed&&s<n.length;s++)P(n[s]).subscribe(D(r,a=>{if(o[s].push(a),o.every(c=>c.length)){let c=o.map(l=>l.shift());r.next(t?t(...c):c),o.some((l,u)=>!l.length&&i[u])&&r.complete()}},()=>{i[s]=!0,!o[s].length&&r.complete()}));return()=>{o=i=null}}):ot}function $c(e,t,n,r,o){return(i,s)=>{let a=n,c=t,l=0;i.subscribe(D(s,u=>{let d=l++;c=a?e(c,u,d):(a=!0,u),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function Ih(e,t){return w(t)?st(e,t,1):st(e,1)}function vn(e){return x((t,n)=>{let r=!1;t.subscribe(D(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function Nr(e=Eh){return x((t,n)=>{let r=!1;t.subscribe(D(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Eh(){return new it}function wh(e,t){let n=arguments.length>=2;return r=>r.pipe(e?yn((o,i)=>e(o,i,r)):J,Mr(1),n?vn(t):Nr(()=>new it))}function Ii(e){return e<=0?()=>ot:x((t,n)=>{let r=[];t.subscribe(D(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 Dh(e,t){let n=arguments.length>=2;return r=>r.pipe(e?yn((o,i)=>e(o,i,r)):J,Ii(1),n?vn(t):Nr(()=>new it))}function bh(e=1/0){let t;e&&typeof e=="object"?t=e:t={count:e};let{count:n=1/0,delay:r,resetOnSuccess:o=!1}=t;return n<=0?J:x((i,s)=>{let a=0,c,l=()=>{let u=!1;c=i.subscribe(D(s,d=>{o&&(a=0),s.next(d)},void 0,d=>{if(a++<n){let p=()=>{c?(c.unsubscribe(),c=null,l()):u=!0};if(r!=null){let f=typeof r=="number"?jc(r):P(r(d,a)),h=D(s,()=>{h.unsubscribe(),p()},()=>{s.complete()});f.subscribe(h)}else p()}else s.error(d)})),u&&(c.unsubscribe(),c=null,l())};l()})}function Mh(e,t){return x($c(e,t,arguments.length>=2,!0))}function Bc(e={}){let{connector:t=()=>new ce,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,l=0,u=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=c=void 0,u=d=!1},h=()=>{let g=s;f(),g?.unsubscribe()};return x((g,I)=>{l++,!d&&!u&&p();let m=c=c??t();I.add(()=>{l--,l===0&&!d&&!u&&(a=Ei(h,o))}),m.subscribe(I),!s&&l>0&&(s=new xe({next:S=>m.next(S),error:S=>{d=!0,p(),a=Ei(f,n,S),m.error(S)},complete:()=>{u=!0,p(),a=Ei(f,r),m.complete()}}),P(g).subscribe(s))})(i)}}function Ei(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new xe({next:()=>{r.unsubscribe(),e()}});return P(t(...n)).subscribe(r)}function Ch(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,Bc({connector:()=>new mn(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function xh(...e){let t=Fe(e);return x((n,r)=>{(t?Tr(e,n,t):Tr(e,n)).subscribe(r)})}function Uc(e,t,n){let r=w(e)||t||n?{next:e,error:t,complete:n}:e;return r?x((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(D(i,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),i.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):J}function Di(e,t){return Object.is(e,t)}var $=null,In=!1,bi=1,B=Symbol("SIGNAL");function b(e){let t=$;return $=e,t}function qc(){return $}function _h(){return In}var $e={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,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Lt(e){if(In)throw new Error("");if($===null)return;$.consumerOnSignalRead(e);let t=$.nextProducerIndex++;if(Rr($),t<$.producerNode.length&&$.producerNode[t]!==e&&En($)){let n=$.producerNode[t];kr(n,$.producerIndexOfThis[t])}$.producerNode[t]!==e&&($.producerNode[t]=e,$.producerIndexOfThis[t]=En($)?Qc(e,$,t):0),$.producerLastReadVersion[t]=e.version}function Th(){bi++}function wn(e){if(!(En(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===bi)){if(!e.producerMustRecompute(e)&&!Dn(e)){Sr(e);return}e.producerRecomputeValue(e),Sr(e)}}function Wc(e){if(e.liveConsumerNode===void 0)return;let t=In;In=!0;try{for(let n of e.liveConsumerNode)n.dirty||Gc(n)}finally{In=t}}function zc(){return $?.consumerAllowSignalWrites!==!1}function Gc(e){e.dirty=!0,Wc(e),e.consumerMarkedDirty?.(e)}function Sr(e){e.dirty=!1,e.lastCleanEpoch=bi}function ct(e){return e&&(e.nextProducerIndex=0),b(e)}function Ft(e,t){if(b(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(En(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)kr(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Dn(e){Rr(e);for(let t=0;t<e.producerNode.length;t++){let n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(wn(n),r!==n.version))return!0}return!1}function Vt(e){if(Rr(e),En(e))for(let t=0;t<e.producerNode.length;t++)kr(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 Qc(e,t,n){if(Zc(e),e.liveConsumerNode.length===0&&Yc(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=Qc(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function kr(e,t){if(Zc(e),e.liveConsumerNode.length===1&&Yc(e))for(let r=0;r<e.producerNode.length;r++)kr(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];Rr(o),o.producerIndexOfThis[r]=t}}function En(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function Rr(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Zc(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function Yc(e){return e.producerNode!==void 0}function Mi(e){let t=Object.create(Nh);t.computation=e;let n=()=>{if(wn(t),Lt(t),t.value===He)throw t.error;return t.value};return n[B]=t,n}var at=Symbol("UNSET"),Pt=Symbol("COMPUTING"),He=Symbol("ERRORED"),Nh=te(ee({},$e),{value:at,dirty:!0,error:null,equal:Di,kind:"computed",producerMustRecompute(e){return e.value===at||e.value===Pt},producerRecomputeValue(e){if(e.value===Pt)throw new Error("Detected cycle in computations.");let t=e.value;e.value=Pt;let n=ct(e),r,o=!1;try{r=e.computation(),b(null),o=t!==at&&t!==He&&r!==He&&e.equal(t,r)}catch(i){r=He,e.error=i}finally{Ft(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function Sh(){throw new Error}var Jc=Sh;function Kc(e){Jc(e)}function Xc(e){Jc=e}var kh=null;function el(e){let t=Object.create(xi);t.value=e;let n=()=>(Lt(t),t.value);return n[B]=t,n}function jt(e,t){zc()||Kc(e),e.equal(e.value,t)||(e.value=t,Rh(e))}function Ci(e,t){zc()||Kc(e),jt(e,t(e.value))}var xi=te(ee({},$e),{equal:Di,value:void 0,kind:"signal"});function Rh(e){e.version++,Th(),Wc(e),kh?.()}function _i(e,t,n){let r=Object.create(Oh);r.source=e,r.computation=t,n!=null&&(r.equal=n);let i=()=>{if(wn(r),Lt(r),r.value===He)throw r.error;return r.value};return i[B]=r,i}function tl(e,t){wn(e),jt(e,t),Sr(e)}function nl(e,t){wn(e),Ci(e,t),Sr(e)}var Oh=te(ee({},$e),{value:at,dirty:!0,error:null,equal:Di,producerMustRecompute(e){return e.value===at||e.value===Pt},producerRecomputeValue(e){if(e.value===Pt)throw new Error("Detected cycle in computations.");let t=e.value;e.value=Pt;let n=ct(e),r;try{let o=e.source(),i=t===at||t===He?void 0:{source:e.sourceValue,value:t};r=e.computation(o,i),e.sourceValue=o}catch(o){r=He,e.error=o}finally{Ft(e,n)}if(t!==at&&r!==He&&e.equal(t,r)){e.value=t;return}e.value=r,e.version++}});function rl(e,t,n){let r=Object.create(Ah);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)||(Vt(c),c.cleanupFn(),c.fn=null,c.schedule=null,c.cleanupFn=wi)}let a=()=>{if(r.fn===null)return;if(_h())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!Dn(r))return;r.hasRun=!0;let c=ct(r);try{r.cleanupFn(),r.cleanupFn=wi,r.fn(o)}finally{Ft(r,c)}};return r.ref={notify:()=>Gc(r),run:a,cleanup:()=>r.cleanupFn(),destroy:()=>s(r),[B]:r},r.ref}var wi=()=>{},Ah=te(ee({},$e),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule!==null&&e.schedule(e.ref)},hasRun:!1,cleanupFn:wi});var Ti;function ol(){return Ti}function il(e){let t=Ti;return Ti=e,t}var pu="https://g.co/ng/security#xss",M=class extends Error{code;constructor(t,n){super(Lh(t,n)),this.code=t}};function Lh(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}var So=Symbol("InputSignalNode#UNSET"),hu=te(ee({},xi),{transformFn:void 0,applyValueToInputSignal(e,t){jt(e,t)}});function gu(e,t){let n=Object.create(hu);n.value=e,n.transformFn=t?.transform;function r(){if(Lt(n),n.value===So)throw new M(-950,!1);return n.value}return r[B]=n,r}function Gn(e){return{toString:e}.toString()}var Or="__parameters__";function Fh(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function mu(e,t,n){return Gn(()=>{let r=Fh(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(c,l,u){let d=c.hasOwnProperty(Or)?c[Or]:Object.defineProperty(c,Or,{value:[]})[Or];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),c}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var Ue=globalThis;function L(e){for(let t in e)if(e[t]===L)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 ie(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(ie).join(", ")}]`;if(e==null)return""+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let n=e.toString();if(n==null)return""+n;let r=n.indexOf(`
|
|
4
|
+
`);return r>=0?n.slice(0,r):n}function zi(e,t){return e?t?`${e} ${t}`:e:t||""}var jh=L({__forward_ref__:L});function yu(e){return e.__forward_ref__=yu,e.toString=function(){return ie(this())},e}function K(e){return vu(e)?e():e}function vu(e){return typeof e=="function"&&e.hasOwnProperty(jh)&&e.__forward_ref__===yu}function Hh(e,t,n){e!=t&&$h(n,e,t,"==")}function $h(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(r==null?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}function W(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function yN(e){return{providers:e.providers||[],imports:e.imports||[]}}function ko(e){return sl(e,Iu)||sl(e,Eu)}function vN(e){return ko(e)!==null}function sl(e,t){return e.hasOwnProperty(t)?e[t]:null}function Bh(e){let t=e&&(e[Iu]||e[Eu]);return t||null}function al(e){return e&&(e.hasOwnProperty(cl)||e.hasOwnProperty(Uh))?e[cl]:null}var Iu=L({\u0275prov:L}),cl=L({\u0275inj:L}),Eu=L({ngInjectableDef:L}),Uh=L({ngInjectorDef:L}),R=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=W({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function wu(e){return e&&!!e.\u0275providers}var qh=L({\u0275cmp:L}),Wh=L({\u0275dir:L}),zh=L({\u0275pipe:L}),Gh=L({\u0275mod:L}),Yr=L({\u0275fac:L}),xn=L({__NG_ELEMENT_ID__:L}),ll=L({__NG_ENV_ID__:L});function he(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():he(e)}function Du(e,t){throw new M(-200,e)}function fa(e,t){throw new M(-201,!1)}var T=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}(T||{}),Gi;function bu(){return Gi}function re(e){let t=Gi;return Gi=e,t}function Mu(e,t,n){let r=ko(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&T.Optional)return null;if(t!==void 0)return t;fa(e,"Injector")}var Zh={},kn=Zh;function Vr(){return ol()}function Be(e){return il(e)}var Qi="__NG_DI_FLAG__",Jr="ngTempTokenPath",Yh="ngTokenPath",Jh=/\n/gm,Kh="\u0275",ul="__source";function Xh(e,t=T.Default){if(Vr()===void 0)throw new M(-203,!1);return Vr()===null?Mu(e,void 0,t):Vr().get(e,t&T.Optional?null:void 0,t)}function Ge(e,t=T.Default){return(bu()||Xh)(K(e),t)}function _(e,t=T.Default){return Ge(e,Ro(t))}function Ro(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Zi(e){let t=[];for(let n=0;n<e.length;n++){let r=K(e[n]);if(Array.isArray(r)){if(r.length===0)throw new M(900,!1);let o,i=T.Default;for(let s=0;s<r.length;s++){let a=r[s],c=eg(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(Ge(o,i))}else t.push(Ge(r))}return t}function Cu(e,t){return e[Qi]=t,e.prototype[Qi]=t,e}function eg(e){return e[Qi]}function tg(e,t,n,r){let o=e[Jr];throw t[ul]&&o.unshift(t[ul]),e.message=ng(`
|
|
5
|
+
`+e.message,o,n,r),e[Yh]=o,e[Jr]=null,e}function ng(e,t,n,r=null){e=e&&e.charAt(0)===`
|
|
6
|
+
`&&e.charAt(1)==Kh?e.slice(2):e;let o=ie(t);if(Array.isArray(t))o=t.map(ie).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):ie(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Jh,`
|
|
7
|
+
`)}`}var xu=Cu(mu("Optional"),8);var _u=Cu(mu("SkipSelf"),4);function ft(e,t){let n=e.hasOwnProperty(Yr);return n?e[Yr]:null}function rg(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 og(e){return e.flat(Number.POSITIVE_INFINITY)}function pa(e,t){e.forEach(n=>Array.isArray(n)?pa(n,t):t(n))}function Tu(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Kr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function ig(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function sg(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 Oo(e,t,n){let r=Qn(e,t);return r>=0?e[r|1]=n:(r=~r,sg(e,r,t,n)),r}function Ni(e,t){let n=Qn(e,t);if(n>=0)return e[n|1]}function Qn(e,t){return ag(e,t,1)}function ag(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 pt={},Q=[],Xr=new R(""),Nu=new R("",-1),Su=new R(""),eo=class{get(t,n=kn){if(n===kn){let r=new Error(`NullInjectorError: No provider for ${ie(t)}!`);throw r.name="NullInjectorError",r}return n}};function ku(e,t){let n=e[Gh]||null;if(!n&&t===!0)throw new Error(`Type ${ie(e)} does not have '\u0275mod' property.`);return n}function we(e){return e[qh]||null}function ha(e){return e[Wh]||null}function ga(e){return e[zh]||null}function cg(e){let t=we(e)||ha(e)||ga(e);return t!==null&&t.standalone}function lg(e){return{\u0275providers:e}}function ug(...e){return{\u0275providers:ma(!0,e),\u0275fromNgModule:!0}}function ma(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return pa(t,s=>{let a=s;Yi(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Ru(o,i),n}function Ru(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];ya(o,i=>{t(i,r)})}}function Yi(e,t,n,r){if(e=K(e),!e)return!1;let o=null,i=al(e),s=!i&&we(e);if(!i&&!s){let c=e.ngModule;if(i=al(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)Yi(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;try{pa(i.imports,u=>{Yi(u,t,n,r)&&(l||=[],l.push(u))})}finally{}l!==void 0&&Ru(l,t)}if(!a){let l=ft(o)||(()=>new o);t({provide:o,useFactory:l,deps:Q},o),t({provide:Su,useValue:o,multi:!0},o),t({provide:Xr,useValue:()=>Ge(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;ya(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function ya(e,t){for(let n of e)wu(n)&&(n=n.\u0275providers),Array.isArray(n)?ya(n,t):t(n)}var dg=L({provide:String,useValue:L});function Ou(e){return e!==null&&typeof e=="object"&&dg in e}function fg(e){return!!(e&&e.useExisting)}function pg(e){return!!(e&&e.useFactory)}function Wt(e){return typeof e=="function"}function hg(e){return!!e.useClass}var Au=new R(""),jr={},dl={},Si;function Ao(){return Si===void 0&&(Si=new eo),Si}var Te=class{},Rn=class extends Te{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,Ki(t,s=>this.processProvider(s)),this.records.set(Nu,Ht(void 0,this)),o.has("environment")&&this.records.set(Te,Ht(void 0,this));let i=this.records.get(Au);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Su,Q,T.Self))}destroy(){Mn(this),this._destroyed=!0;let t=b(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),b(t)}}onDestroy(t){return Mn(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Mn(this);let n=Be(this),r=re(void 0),o;try{return t()}finally{Be(n),re(r)}}get(t,n=kn,r=T.Default){if(Mn(this),t.hasOwnProperty(ll))return t[ll](this);r=Ro(r);let o,i=Be(this),s=re(void 0);try{if(!(r&T.SkipSelf)){let c=this.records.get(t);if(c===void 0){let l=Ig(t)&&ko(t);l&&this.injectableDefInScope(l)?c=Ht(Ji(t),jr):c=null,this.records.set(t,c)}if(c!=null)return this.hydrate(t,c)}let a=r&T.Self?Ao():this.parent;return n=r&T.Optional&&n===kn?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[Jr]=a[Jr]||[]).unshift(ie(t)),i)throw a;return tg(a,t,"R3InjectorError",this.source)}else throw a}finally{re(s),Be(i)}}resolveInjectorInitializers(){let t=b(null),n=Be(this),r=re(void 0),o;try{let i=this.get(Xr,Q,T.Self);for(let s of i)s()}finally{Be(n),re(r),b(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(ie(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=K(t);let n=Wt(t)?t:K(t&&t.provide),r=mg(t);if(!Wt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Ht(void 0,jr,!0),o.factory=()=>Zi(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=b(null);try{return n.value===dl?Du(ie(t)):n.value===jr&&(n.value=dl,n.value=n.factory()),typeof n.value=="object"&&n.value&&vg(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{b(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=K(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 Ji(e){let t=ko(e),n=t!==null?t.factory:ft(e);if(n!==null)return n;if(e instanceof R)throw new M(204,!1);if(e instanceof Function)return gg(e);throw new M(204,!1)}function gg(e){if(e.length>0)throw new M(204,!1);let n=Bh(e);return n!==null?()=>n.factory(e):()=>new e}function mg(e){if(Ou(e))return Ht(void 0,e.useValue);{let t=Pu(e);return Ht(t,jr)}}function Pu(e,t,n){let r;if(Wt(e)){let o=K(e);return ft(o)||Ji(o)}else if(Ou(e))r=()=>K(e.useValue);else if(pg(e))r=()=>e.useFactory(...Zi(e.deps||[]));else if(fg(e))r=()=>Ge(K(e.useExisting));else{let o=K(e&&(e.useClass||e.provide));if(yg(e))r=()=>new o(...Zi(e.deps));else return ft(o)||Ji(o)}return r}function Mn(e){if(e.destroyed)throw new M(205,!1)}function Ht(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function yg(e){return!!e.deps}function vg(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Ig(e){return typeof e=="function"||typeof e=="object"&&e instanceof R}function Ki(e,t){for(let n of e)Array.isArray(n)?Ki(n,t):n&&wu(n)?Ki(n.\u0275providers,t):t(n)}function Lu(e,t){e instanceof Rn&&Mn(e);let n,r=Be(e),o=re(void 0);try{return t()}finally{Be(r),re(o)}}function Fu(){return bu()!==void 0||Vr()!=null}function va(e){if(!Fu())throw new M(-203,!1)}function Eg(e){return typeof e=="function"}var Oe=0,v=1,E=2,G=3,ge=4,X=5,zt=6,to=7,q=8,De=9,Ne=10,k=11,On=12,fl=13,Xt=14,se=15,ht=16,$t=17,Se=18,Po=19,Vu=20,We=21,Hr=22,gt=23,le=24,ki=25,F=26,ju=1,An=6,mt=7,no=8,Gt=9,Z=10;function ze(e){return Array.isArray(e)&&typeof e[ju]=="object"}function Ae(e){return Array.isArray(e)&&e[ju]===!0}function Ia(e){return(e.flags&4)!==0}function en(e){return e.componentOffset>-1}function Lo(e){return(e.flags&1)===1}function be(e){return!!e.template}function ro(e){return(e[E]&512)!==0}function tn(e){return(e[E]&256)===256}var Xi=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Hu(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var IN=(()=>{let e=()=>$u;return e.ngInherit=!0,e})();function $u(e){return e.type.prototype.ngOnChanges&&(e.setInput=Dg),wg}function wg(){let e=Uu(this),t=e?.current;if(t){let n=e.previous;if(n===pt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Dg(e,t,n,r,o){let i=this.declaredInputs[r],s=Uu(e)||bg(e,{previous:pt,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new Xi(l&&l.currentValue,n,c===pt),Hu(e,t,o,n)}var Bu="__ngSimpleChanges__";function Uu(e){return e[Bu]||null}function bg(e,t){return e[Bu]=t}var pl=null;var A=function(e,t=null,n){pl?.(e,t,n)},qu="svg",Mg="math";function de(e){for(;Array.isArray(e);)e=e[Oe];return e}function Fo(e,t){return de(t[e])}function Ce(e,t){return de(t[e.index])}function Zn(e,t){return e.data[t]}function Vo(e,t){return e[t]}function Me(e,t){let n=t[e];return ze(n)?n:n[Oe]}function Cg(e){return(e[E]&4)===4}function Ea(e){return(e[E]&128)===128}function xg(e){return Ae(e[G])}function ke(e,t){return t==null?null:e[t]}function Wu(e){e[$t]=0}function zu(e){e[E]&1024||(e[E]|=1024,Ea(e)&&Yn(e))}function _g(e,t){for(;e>0;)t=t[Xt],e--;return t}function jo(e){return!!(e[E]&9216||e[le]?.dirty)}function es(e){e[Ne].changeDetectionScheduler?.notify(8),e[E]&64&&(e[E]|=1024),jo(e)&&Yn(e)}function Yn(e){e[Ne].changeDetectionScheduler?.notify(0);let t=yt(e);for(;t!==null&&!(t[E]&8192||(t[E]|=8192,!Ea(t)));)t=yt(t)}function wa(e,t){if(tn(e))throw new M(911,!1);e[We]===null&&(e[We]=[]),e[We].push(t)}function Gu(e,t){if(e[We]===null)return;let n=e[We].indexOf(t);n!==-1&&e[We].splice(n,1)}function yt(e){let t=e[G];return Ae(t)?t[G]:t}function Qu(e){return e[to]??=[]}function Zu(e){return e.cleanup??=[]}function Tg(e,t,n,r){let o=Qu(t);o.push(n),e.firstCreatePass&&Zu(e).push(r,o.length-1)}var C={lFrame:rd(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var ts=!1;function Ng(){return C.lFrame.elementDepthCount}function Sg(){C.lFrame.elementDepthCount++}function kg(){C.lFrame.elementDepthCount--}function Da(){return C.bindingsEnabled}function Yu(){return C.skipHydrationRootTNode!==null}function Rg(e){return C.skipHydrationRootTNode===e}function Og(){C.skipHydrationRootTNode=null}function y(){return C.lFrame.lView}function O(){return C.lFrame.tView}function EN(e){return C.lFrame.contextLView=e,e[q]}function wN(e){return C.lFrame.contextLView=null,e}function Y(){let e=Ju();for(;e!==null&&e.type===64;)e=e.parent;return e}function Ju(){return C.lFrame.currentTNode}function Pn(){let e=C.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function me(e,t){let n=C.lFrame;n.currentTNode=e,n.isParent=t}function ba(){return C.lFrame.isParent}function Ma(){C.lFrame.isParent=!1}function Ku(){return C.lFrame.contextLView}function Xu(){return ts}function oo(e){let t=ts;return ts=e,t}function nn(){let e=C.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Ca(){return C.lFrame.bindingIndex}function Ag(e){return C.lFrame.bindingIndex=e}function Je(){return C.lFrame.bindingIndex++}function Ho(e){let t=C.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Pg(){return C.lFrame.inI18n}function ed(e){C.lFrame.inI18n=e}function Lg(e,t){let n=C.lFrame;n.bindingIndex=n.bindingRootIndex=e,ns(t)}function Fg(){return C.lFrame.currentDirectiveIndex}function ns(e){C.lFrame.currentDirectiveIndex=e}function Vg(e){let t=C.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function xa(){return C.lFrame.currentQueryIndex}function $o(e){C.lFrame.currentQueryIndex=e}function jg(e){let t=e[v];return t.type===2?t.declTNode:t.type===1?e[X]:null}function td(e,t,n){if(n&T.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&T.Host);)if(o=jg(i),o===null||(i=i[Xt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=C.lFrame=nd();return r.currentTNode=t,r.lView=e,!0}function _a(e){let t=nd(),n=e[v];C.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function nd(){let e=C.lFrame,t=e===null?null:e.child;return t===null?rd(e):t}function rd(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 od(){let e=C.lFrame;return C.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var id=od;function Ta(){let e=od();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 Hg(e){return(C.lFrame.contextLView=_g(e,C.lFrame.contextLView))[q]}function ye(){return C.lFrame.selectedIndex}function vt(e){C.lFrame.selectedIndex=e}function _t(){let e=C.lFrame;return Zn(e.tView,e.selectedIndex)}function DN(){C.lFrame.currentNamespace=qu}function $g(){return C.lFrame.currentNamespace}var sd=!0;function Jn(){return sd}function Kn(e){sd=e}function Bg(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=$u(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 Na(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:l,ngOnDestroy:u}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),l&&((e.viewHooks??=[]).push(n,l),(e.viewCheckHooks??=[]).push(n,l)),u!=null&&(e.destroyHooks??=[]).push(n,u)}}function $r(e,t,n){ad(e,t,3,n)}function Br(e,t,n,r){(e[E]&3)===n&&ad(e,t,n,r)}function Ri(e,t){let n=e[E];(n&3)===t&&(n&=16383,n+=1,e[E]=n)}function ad(e,t,n,r){let o=r!==void 0?e[$t]&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[$t]+=65536),(a<i||i==-1)&&(Ug(e,n,t,c),e[$t]=(e[$t]&4294901760)+c+2),c++}function hl(e,t){A(4,e,t);let n=b(null);try{t.call(e)}finally{b(n),A(5,e,t)}}function Ug(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[E]>>14<e[$t]>>16&&(e[E]&3)===t&&(e[E]+=16384,hl(a,i)):hl(a,i)}var Ut=-1,It=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r){this.factory=t,this.canSeeViewProviders=n,this.injectImpl=r}};function qg(e){return(e.flags&8)!==0}function Wg(e){return(e.flags&16)!==0}function zg(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];Gg(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function cd(e){return e===3||e===4||e===6}function Gg(e){return e.charCodeAt(0)===64}function Qt(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?gl(e,n,o,null,t[++r]):gl(e,n,o,null,null))}}return e}function gl(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 Oi={},qt=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=Ro(r);let o=this.injector.get(t,Oi,r);return o!==Oi||n===Oi?o:this.parentInjector.get(t,n,r)}};function ld(e){return e!==Ut}function io(e){return e&32767}function Qg(e){return e>>16}function so(e,t){let n=Qg(e),r=t;for(;n>0;)r=r[Xt],n--;return r}var rs=!0;function ao(e){let t=rs;return rs=e,t}var Zg=256,ud=Zg-1,dd=5,Yg=0,Ee={};function Jg(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(xn)&&(r=n[xn]),r==null&&(r=n[xn]=Yg++);let o=r&ud,i=1<<o;t.data[e+(o>>dd)]|=i}function co(e,t){let n=fd(e,t);if(n!==-1)return n;let r=t[v];r.firstCreatePass&&(e.injectorIndex=t.length,Ai(r.data,e),Ai(t,null),Ai(r.blueprint,null));let o=Sa(e,t),i=e.injectorIndex;if(ld(o)){let s=io(o),a=so(o,t),c=a[v].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function Ai(e,t){e.push(0,0,0,0,0,0,0,0,t)}function fd(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Sa(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=yd(o),r===null)return Ut;if(n++,o=o[Xt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Ut}function os(e,t,n){Jg(e,t,n)}function Kg(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(cd(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 pd(e,t,n){if(n&T.Optional||e!==void 0)return e;fa(t,"NodeInjector")}function hd(e,t,n,r){if(n&T.Optional&&r===void 0&&(r=null),(n&(T.Self|T.Host))===0){let o=e[De],i=re(void 0);try{return o?o.get(t,r,n&T.Optional):Mu(t,r,n&T.Optional)}finally{re(i)}}return pd(r,t,n)}function gd(e,t,n,r=T.Default,o){if(e!==null){if(t[E]&2048&&!(r&T.Self)){let s=nm(e,t,n,r,Ee);if(s!==Ee)return s}let i=md(e,t,n,r,Ee);if(i!==Ee)return i}return hd(t,n,r,o)}function md(e,t,n,r,o){let i=em(n);if(typeof i=="function"){if(!td(t,e,r))return r&T.Host?pd(o,n,r):hd(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&T.Optional))fa(n);else return s}finally{id()}}else if(typeof i=="number"){let s=null,a=fd(e,t),c=Ut,l=r&T.Host?t[se][X]:null;for((a===-1||r&T.SkipSelf)&&(c=a===-1?Sa(e,t):t[a+8],c===Ut||!yl(r,!1)?a=-1:(s=t[v],a=io(c),t=so(c,t)));a!==-1;){let u=t[v];if(ml(i,a,u.data)){let d=Xg(a,t,n,s,r,l);if(d!==Ee)return d}c=t[a+8],c!==Ut&&yl(r,t[v].data[a+8]===l)&&ml(i,a,t)?(s=u,a=io(c),t=so(c,t)):a=-1}}return o}function Xg(e,t,n,r,o,i){let s=t[v],a=s.data[e+8],c=r==null?en(a)&&rs:r!=s&&(a.type&3)!==0,l=o&T.Host&&i===a,u=Ur(a,s,n,c,l);return u!==null?Ln(t,s,u,a):Ee}function Ur(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,l=e.directiveEnd,u=i>>20,d=r?a:a+u,p=o?a+u:l;for(let f=d;f<p;f++){let h=s[f];if(f<c&&n===h||f>=c&&h.type===n)return f}if(o){let f=s[c];if(f&&be(f)&&f.type===n)return c}return null}function Ln(e,t,n,r){let o=e[n],i=t.data;if(o instanceof It){let s=o;s.resolving&&Du(Qh(i[n]));let a=ao(s.canSeeViewProviders);s.resolving=!0;let c,l=s.injectImpl?re(s.injectImpl):null,u=td(e,r,T.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&Bg(n,i[n],t)}finally{l!==null&&re(l),ao(a),s.resolving=!1,id()}}return o}function em(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(xn)?e[xn]:void 0;return typeof t=="number"?t>=0?t&ud:tm:t}function ml(e,t,n){let r=1<<e;return!!(n[t+(e>>dd)]&r)}function yl(e,t){return!(e&T.Self)&&!(e&T.Host&&t)}var dt=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return gd(this._tNode,this._lView,t,Ro(r),n)}};function tm(){return new dt(Y(),y())}function bN(e){return Gn(()=>{let t=e.prototype.constructor,n=t[Yr]||is(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Yr]||is(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function is(e){return vu(e)?()=>{let t=is(K(e));return t&&t()}:ft(e)}function nm(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[E]&2048&&!ro(s);){let a=md(i,s,n,r|T.Self,Ee);if(a!==Ee)return a;let c=i.parent;if(!c){let l=s[Vu];if(l){let u=l.get(n,Ee,r);if(u!==Ee)return u}c=yd(s),s=s[Xt]}i=c}return o}function yd(e){let t=e[v],n=t.type;return n===2?t.declTNode:n===1?e[X]:null}function MN(e){return Kg(Y(),e)}function vl(e,t=null,n=null,r){let o=vd(e,t,n,r);return o.resolveInjectorInitializers(),o}function vd(e,t=null,n=null,r,o=new Set){let i=[n||Q,ug(e)];return r=r||(typeof e=="object"?void 0:ie(e)),new Rn(i,t||Ao(),r||null,o)}var Qe=class e{static THROW_IF_NOT_FOUND=kn;static NULL=new eo;static create(t,n){if(Array.isArray(t))return vl({name:""},n,t,"");{let r=t.name??"";return vl({name:r},t.parent,t.providers,r)}}static \u0275prov=W({token:e,providedIn:"any",factory:()=>Ge(Nu)});static __NG_ELEMENT_ID__=-1};var rm=new R("");rm.__NG_ELEMENT_ID__=e=>{let t=Y();if(t===null)throw new M(204,!1);if(t.type&2)return t.value;if(e&T.Optional)return null;throw new M(204,!1)};var Id=!1,rn=(()=>{class e{static __NG_ELEMENT_ID__=om;static __NG_ENV_ID__=n=>n}return e})(),lo=class extends rn{_lView;constructor(t){super(),this._lView=t}onDestroy(t){return wa(this._lView,t),()=>Gu(this._lView,t)}};function om(){return new lo(y())}var Ze=class{},ka=new R("",{providedIn:"root",factory:()=>!1});var Ed=new R(""),Ra=new R(""),Tt=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new gn(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(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 \u0275prov=W({token:e,providedIn:"root",factory:()=>new e})}return e})(),im=(()=>{class e{internalPendingTasks=_(Tt);scheduler=_(Ze);add(){let n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(n))}}async run(n){let r=this.add();try{return await n()}finally{r()}}static \u0275prov=W({token:e,providedIn:"root",factory:()=>new e})}return e})(),ss=class extends ce{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Fu()&&(this.destroyRef=_(rn,{optional:!0})??void 0,this.pendingTasks=_(Tt,{optional:!0})??void 0)}emit(t){let n=b(null);try{super.next(t)}finally{b(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof j&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{t(n),r!==void 0&&this.pendingTasks?.remove(r)})}}},qe=ss;function Fn(...e){}function wd(e){let t,n;function r(){e=Fn;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 Il(e){return queueMicrotask(()=>e()),()=>{e=Fn}}var Oa="isAngularZone",uo=Oa+"_ID",sm=0,ue=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new qe(!1);onMicrotaskEmpty=new qe(!1);onStable=new qe(!1);onError=new qe(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Id}=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,lm(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Oa)===!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,am,Fn,Fn);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)}},am={};function Aa(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 cm(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){wd(()=>{e.callbackScheduled=!1,as(e),e.isCheckStableRunning=!0,Aa(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),as(e)}function lm(e){let t=()=>{cm(e)},n=sm++;e._inner=e._inner.fork({name:"angular",properties:{[Oa]:!0,[uo]:n,[uo+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(um(c))return r.invokeTask(i,s,a,c);try{return El(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),wl(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return El(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!dm(c)&&t(),wl(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,as(e),Aa(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 as(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function El(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function wl(e){e._nesting--,Aa(e)}var fo=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new qe;onMicrotaskEmpty=new qe;onStable=new qe;onError=new qe;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 um(e){return Dd(e,"__ignore_ng_zone__")}function dm(e){return Dd(e,"__scheduler_tick__")}function Dd(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var Et=class{_console=console;handleError(t){this._console.error("ERROR",t)}},fm=new R("",{providedIn:"root",factory:()=>{let e=_(ue),t=_(Et);return n=>e.runOutsideAngular(()=>t.handleError(n))}}),po=class{destroyed=!1;listeners=null;errorHandler=_(Et,{optional:!0});destroyRef=_(rn);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new M(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?.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=b(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{b(n)}}};function CN(e){return new po}function Dl(e,t){return gu(e,t)}function pm(e){return gu(So,e)}var xN=(Dl.required=pm,Dl);function hm(){return on(Y(),y())}function on(e,t){return new Bo(Ce(e,t))}var Bo=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=hm}return e})();function bd(e){return e instanceof Bo?e.nativeElement:e}function gm(e){return typeof e=="function"&&e[B]!==void 0}function Vn(e,t){let n=el(e),r=n[B];return t?.equal&&(r.equal=t.equal),n.set=o=>jt(r,o),n.update=o=>Ci(r,o),n.asReadonly=Uo.bind(n),n}function Uo(){let e=this[B];if(e.readonlyFn===void 0){let t=()=>this();t[B]=e,e.readonlyFn=t}return e.readonlyFn}function Md(e){return gm(e)&&typeof e.set=="function"}function mm(){return this._results[Symbol.iterator]()}var cs=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new ce}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=og(t);(this._changesDetected=!rg(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=mm};function Cd(e){return(e.flags&128)===128}var xd=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(xd||{}),_d=new Map,ym=0;function vm(){return ym++}function Im(e){_d.set(e[Po],e)}function ls(e){_d.delete(e[Po])}var bl="__ngContext__";function Ye(e,t){ze(t)?(e[bl]=t[Po],Im(t)):e[bl]=t}function Td(e){return Sd(e[On])}function Nd(e){return Sd(e[ge])}function Sd(e){for(;e!==null&&!Ae(e);)e=e[ge];return e}var us;function _N(e){us=e}function Pa(){if(us!==void 0)return us;if(typeof document<"u")return document;throw new M(210,!1)}var TN=new R("",{providedIn:"root",factory:()=>Em}),Em="ng",wm=new R(""),NN=new R("",{providedIn:"platform",factory:()=>"unknown"});var SN=new R("",{providedIn:"root",factory:()=>Pa().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),Dm={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},kN=new R("",{providedIn:"root",factory:()=>Dm});var bm="h",Mm="b";var Cm="di",kd="s";var Rd=!1,xm=new R("",{providedIn:"root",factory:()=>Rd});var _m=new R("");var Od=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(Od||{}),Ad=new R(""),Ml=new Set;function sn(e){Ml.has(e)||(Ml.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Pd=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=Tm}return e})();function Tm(){return new Pd(y(),Y())}var Nm=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=W({token:e,providedIn:"root",factory:()=>new e})}return e})();var oe=function(e){return e[e.NOT_STARTED=0]="NOT_STARTED",e[e.IN_PROGRESS=1]="IN_PROGRESS",e[e.COMPLETE=2]="COMPLETE",e[e.FAILED=3]="FAILED",e}(oe||{}),Cl=0,Sm=1,H=function(e){return e[e.Placeholder=0]="Placeholder",e[e.Loading=1]="Loading",e[e.Complete=2]="Complete",e[e.Error=3]="Error",e}(H||{}),ho=function(e){return e[e.Initial=-1]="Initial",e}(ho||{}),km=0,qo=1;var Rm=4,Om=5,Am=6,Pm=7,Pi=8,Lm=9,Ld=function(e){return e[e.Manual=0]="Manual",e[e.Playthrough=1]="Playthrough",e}(Ld||{});function Fm(e,t,n){let r=Vd(e);t[r]===null&&(t[r]=[]),t[r].push(n)}function qr(e,t){let n=Vd(e),r=t[n];if(r!==null){for(let o of r)o();t[n]=null}}function Fd(e){qr(1,e),qr(0,e),qr(2,e)}function Vd(e){let t=Rm;return e===1?t=Om:e===2&&(t=Lm),t}function Wo(e){return e+1}function Xn(e,t){let n=e[v],r=Wo(t.index);return e[r]}function Vm(e,t,n){let r=e[v],o=Wo(t);e[o]=n}function er(e,t){let n=Wo(t.index);return e.data[n]}function jm(e,t,n){let r=Wo(t);e.data[r]=n}function Hm(e,t,n){let r=t[v],o=er(r,n);switch(e){case H.Complete:return o.primaryTmplIndex;case H.Loading:return o.loadingTmplIndex;case H.Error:return o.errorTmplIndex;case H.Placeholder:return o.placeholderTmplIndex;default:return null}}function xl(e,t){return t===H.Placeholder?e.placeholderBlockConfig?.[Cl]??null:t===H.Loading?e.loadingBlockConfig?.[Cl]??null:null}function $m(e){return e.loadingBlockConfig?.[Sm]??null}function _l(e,t){if(!e||e.length===0)return t;let n=new Set(e);for(let r of t)n.add(r);return e.length===n.size?e:Array.from(n)}function Bm(e,t){let n=t.primaryTmplIndex+F;return Zn(e,n)}var Um=new R("");var qm=()=>null;function jd(e,t,n=!1){return qm(e,t,n)}function Wm(e){return e.get(_m,!1,{optional:!0})}function Hd(e,t){let n=e.contentQueries;if(n!==null){let r=b(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];$o(i),a.contentQueries(2,t[s],s)}}}finally{b(r)}}}function ds(e,t,n){$o(0);let r=b(null);try{t(e,n)}finally{b(r)}}function La(e,t,n){if(Ia(t)){let r=b(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=n[s];a.contentQueries(1,c,s)}}}finally{b(r)}}}var jn=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(jn||{}),Ar;function zm(){if(Ar===void 0&&(Ar=null,Ue.trustedTypes))try{Ar=Ue.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ar}function zo(e){return zm()?.createHTML(e)||e}var Pr;function $d(){if(Pr===void 0&&(Pr=null,Ue.trustedTypes))try{Pr=Ue.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Pr}function Tl(e){return $d()?.createHTML(e)||e}function Nl(e){return $d()?.createScriptURL(e)||e}var Re=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${pu})`}},fs=class extends Re{getTypeName(){return"HTML"}},ps=class extends Re{getTypeName(){return"Style"}},hs=class extends Re{getTypeName(){return"Script"}},gs=class extends Re{getTypeName(){return"URL"}},ms=class extends Re{getTypeName(){return"ResourceURL"}};function an(e){return e instanceof Re?e.changingThisBreaksApplicationSecurity:e}function Fa(e,t){let n=Gm(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${pu})`)}return n===t}function Gm(e){return e instanceof Re&&e.getTypeName()||null}function RN(e){return new fs(e)}function ON(e){return new ps(e)}function AN(e){return new hs(e)}function PN(e){return new gs(e)}function LN(e){return new ms(e)}function Bd(e){let t=new vs(e);return Qm()?new ys(t):t}var ys=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(zo(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},vs=class{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=zo(t),n}};function Qm(){try{return!!new window.DOMParser().parseFromString(zo(""),"text/html")}catch{return!1}}var Zm=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Va(e){return e=String(e),e.match(Zm)?e:"unsafe:"+e}function Pe(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function tr(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var Ud=Pe("area,br,col,hr,img,wbr"),qd=Pe("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Wd=Pe("rp,rt"),Ym=tr(Wd,qd),Jm=tr(qd,Pe("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")),Km=tr(Wd,Pe("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")),Is=tr(Ud,Jm,Km,Ym),ja=Pe("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Xm=Pe("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"),ey=Pe("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"),zd=tr(ja,Xm,ey),ty=Pe("script,style,template"),Es=class{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=oy(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=ry(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=Sl(t).toLowerCase();if(!Is.hasOwnProperty(n))return this.sanitizedSomething=!0,!ty.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(!zd.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;ja[a]&&(c=Va(c)),this.buf.push(" ",s,'="',kl(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=Sl(t).toLowerCase();Is.hasOwnProperty(n)&&!Ud.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(kl(t))}};function ny(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function ry(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Gd(t);return t}function oy(e){let t=e.firstChild;if(t&&ny(e,t))throw Gd(t);return t}function Sl(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Gd(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var iy=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,sy=/([^\#-~ |!])/g;function kl(e){return e.replace(/&/g,"&").replace(iy,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(sy,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var Lr;function ay(e,t){let n=null;try{Lr=Lr||Bd(e);let r=t?String(t):"";n=Lr.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=Lr.getInertBodyElement(r)}while(r!==i);let a=new Es().sanitizeChildren(ws(n)||n);return zo(a)}finally{if(n){let r=ws(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function ws(e){return"content"in e&&cy(e)?e.content:null}function cy(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Go=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}(Go||{});function FN(e){let t=Ha();return t?Tl(t.sanitize(Go.HTML,e)||""):Fa(e,"HTML")?Tl(an(e)):ay(Pa(),he(e))}function ly(e){let t=Ha();return t?t.sanitize(Go.URL,e)||"":Fa(e,"URL")?an(e):Va(he(e))}function uy(e){let t=Ha();if(t)return Nl(t.sanitize(Go.RESOURCE_URL,e)||"");if(Fa(e,"ResourceURL"))return Nl(an(e));throw new M(904,!1)}function dy(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?uy:ly}function VN(e,t,n){return dy(t,n)(e)}function Ha(){let e=y();return e&&e[Ne].sanitizer}var fy=/^>|^->|<!--|-->|--!>|<!-$/g,py=/(<|>)/g,hy="\u200B$1\u200B";function gy(e){return e.replace(fy,t=>t.replace(py,hy))}function jN(e){return e.ownerDocument.defaultView}function Qd(e){return e instanceof Function?e():e}function my(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}var Zd="ng-template";function yy(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&my(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if($a(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 $a(e){return e.type===4&&e.value!==Zd}function vy(e,t,n){let r=e.type===4&&!n?Zd:e.value;return t===r}function Iy(e,t,n){let r=4,o=e.attrs,i=o!==null?Dy(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!pe(r)&&!pe(c))return!1;if(s&&pe(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!vy(e,c,n)||c===""&&t.length===1){if(pe(r))return!1;s=!0}}else if(r&8){if(o===null||!yy(e,o,c,n)){if(pe(r))return!1;s=!0}}else{let l=t[++a],u=Ey(c,o,$a(e),n);if(u===-1){if(pe(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(pe(r))return!1;s=!0}}}}return pe(r)||s}function pe(e){return(e&1)===0}function Ey(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 by(t,e)}function Yd(e,t,n=!1){for(let r=0;r<t.length;r++)if(Iy(e,t[r],n))return!0;return!1}function wy(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function Dy(e){for(let t=0;t<e.length;t++){let n=e[t];if(cd(n))return t}return e.length}function by(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 My(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 Rl(e,t){return e?":not("+t.trim()+")":t}function Cy(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!==""&&!pe(s)&&(t+=Rl(i,o),o=""),r=s,i=i||!pe(r);n++}return o!==""&&(t+=Rl(i,o)),t}function xy(e){return e.map(Cy).join(",")}function _y(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(!pe(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var z={};function Jd(e,t){return e.createText(t)}function Kd(e,t,n){e.setValue(t,n)}function Xd(e,t){return e.createComment(gy(t))}function Ba(e,t,n){return e.createElement(t,n)}function wt(e,t,n,r,o){e.insertBefore(t,n,r,o)}function ef(e,t,n){e.appendChild(t,n)}function Ol(e,t,n,r,o){r!==null?wt(e,t,n,r,o):ef(e,t,n)}function tf(e,t,n){e.removeChild(null,t,n)}function Ty(e,t,n){e.setAttribute(t,"style",n)}function Ny(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function nf(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&zg(e,t,r),o!==null&&Ny(e,t,o),i!==null&&Ty(e,t,i)}function Ua(e,t,n,r,o,i,s,a,c,l,u){let d=F+r,p=d+o,f=Sy(d,p),h=typeof l=="function"?l():l;return f[v]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:h,incompleteFirstPass:!1,ssrId:u}}function Sy(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:z);return n}function ky(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Ua(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function qa(e,t,n,r,o,i,s,a,c,l,u){let d=t.blueprint.slice();return d[Oe]=o,d[E]=r|4|128|8|64|1024,(l!==null||e&&e[E]&2048)&&(d[E]|=2048),Wu(d),d[G]=d[Xt]=e,d[q]=n,d[Ne]=s||e&&e[Ne],d[k]=a||e&&e[k],d[De]=c||e&&e[De]||null,d[X]=i,d[Po]=vm(),d[zt]=u,d[Vu]=l,d[se]=t.type==2?e[se]:d,d}function Ry(e,t,n){let r=Ce(t,e),o=ky(n),i=e[Ne].rendererFactory,s=Wa(e,qa(e,o,null,rf(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function rf(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function nr(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 Wa(e,t){return e[On]?e[fl][ge]=t:e[On]=t,e[fl]=t,t}function HN(e=1){of(O(),y(),ye()+e,!1)}function of(e,t,n,r){if(!r)if((t[E]&3)===3){let i=e.preOrderCheckHooks;i!==null&&$r(t,i,n)}else{let i=e.preOrderHooks;i!==null&&Br(t,i,0,n)}vt(n)}var Qo=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Qo||{});function Ds(e,t,n,r){let o=b(null);try{let[i,s,a]=e.inputs[n],c=null;(s&Qo.SignalBased)!==0&&(c=t[i][B]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(t,r)),e.setInput!==null?e.setInput(t,c,r,n,i):Hu(t,c,i,r)}finally{b(o)}}function sf(e,t,n,r,o){let i=ye(),s=r&2;try{vt(-1),s&&t.length>F&&of(e,t,F,!1),A(s?2:0,o),n(r,o)}finally{vt(i),A(s?3:1,o)}}function Zo(e,t,n){Vy(e,t,n),(n.flags&64)===64&&jy(e,t,n)}function za(e,t,n=Ce){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 Oy(e,t,n,r){let i=r.get(xm,Rd)||n===jn.ShadowDom,s=e.selectRootElement(t,i);return Ay(s),s}function Ay(e){Py(e)}var Py=()=>null;function Ly(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function cn(e,t,n,r,o,i,s,a){if(!a&&Za(t,e,n,r,o)){en(t)&&Fy(n,t.index);return}if(t.type&3){let c=Ce(t,n);r=Ly(r),o=s!=null?s(o,t.value||"",r):o,i.setProperty(c,r,o)}else t.type&12}function Fy(e,t){let n=Me(t,e);n[E]&16||(n[E]|=64)}function Vy(e,t,n){let r=n.directiveStart,o=n.directiveEnd;en(n)&&Ry(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||co(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=Ln(t,e,s,n);if(Ye(c,t),i!==null&&By(t,s-r,c,a,n,i),be(a)){let l=Me(n.index,t);l[q]=Ln(t,e,s,n)}}}function jy(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=Fg();try{vt(i);for(let a=r;a<o;a++){let c=e.data[a],l=t[a];ns(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&Hy(c,l)}}finally{vt(-1),ns(s)}}function Hy(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Ga(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];Yd(t,i.selectors,!1)&&(r??=[],be(i)?r.unshift(i):r.push(i))}return r}function $y(e,t,n,r,o,i){let s=Ce(e,t);Qa(t[k],s,i,e.value,n,r,o)}function Qa(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?he(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function By(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],l=s[a+1];Ds(r,n,c,l)}}function Yo(e,t){let n=e[De],r=n?n.get(Et,null):null;r&&r.handleError(t)}function Za(e,t,n,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let c=0;c<s.length;c+=2){let l=s[c],u=s[c+1],d=t.data[l];Ds(d,n[l],u,o),a=!0}if(i)for(let c of i){let l=n[c],u=t.data[c];Ds(u,l,r,o),a=!0}return a}function Uy(e,t){let n=Me(t,e),r=n[v];qy(r,n);let o=n[Oe];o!==null&&n[zt]===null&&(n[zt]=jd(o,n[De])),A(18),Ya(r,n,n[q]),A(19,n[q])}function qy(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Ya(e,t,n){_a(t);try{let r=e.viewQuery;r!==null&&ds(1,r,n);let o=e.template;o!==null&&sf(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Se]?.finishViewCreation(e),e.staticContentQueries&&Hd(e,t),e.staticViewQueries&&ds(2,e.viewQuery,n);let i=e.components;i!==null&&Wy(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[E]&=-5,Ta()}}function Wy(e,t){for(let n=0;n<t.length;n++)Uy(e,t[n])}function ln(e,t,n,r){let o=b(null);try{let i=t.tView,a=e[E]&4096?4096:16,c=qa(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[t.index];c[ht]=l;let u=e[Se];return u!==null&&(c[Se]=u.createEmbeddedView(i)),Ya(i,c,n),c}finally{b(o)}}function Dt(e,t){return!t||t.firstChild===null||Cd(e)}var bs;function Ja(e,t){return bs(e,t)}function zy(e){bs===void 0&&(bs=e())}var Ms=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Ms||{});function Ka(e){return(e.flags&32)===32}function Bt(e,t,n,r,o){if(r!=null){let i,s=!1;Ae(r)?i=r:ze(r)&&(s=!0,r=r[Oe]);let a=de(r);e===0&&n!==null?o==null?ef(t,n,a):wt(t,n,a,o||null,!0):e===1&&n!==null?wt(t,n,a,o||null,!0):e===2?tf(t,a,s):e===3&&t.destroyNode(a),i!=null&&Xy(t,e,i,n,o)}}function Gy(e,t){af(e,t),t[Oe]=null,t[X]=null}function Qy(e,t,n,r,o,i){r[Oe]=o,r[X]=t,Xo(e,r,n,1,o,i)}function af(e,t){t[Ne].changeDetectionScheduler?.notify(9),Xo(e,t,t[k],2,null,null)}function Zy(e){let t=e[On];if(!t)return Li(e[v],e);for(;t;){let n=null;if(ze(t))n=t[On];else{let r=t[Z];r&&(n=r)}if(!n){for(;t&&!t[ge]&&t!==e;)ze(t)&&Li(t[v],t),t=t[G];t===null&&(t=e),ze(t)&&Li(t[v],t),n=t&&t[ge]}t=n}}function Xa(e,t){let n=e[Gt],r=n.indexOf(t);n.splice(r,1)}function Jo(e,t){if(tn(t))return;let n=t[k];n.destroyNode&&Xo(e,t,n,3,null,null),Zy(t)}function Li(e,t){if(tn(t))return;let n=b(null);try{t[E]&=-129,t[E]|=256,t[le]&&Vt(t[le]),Jy(e,t),Yy(e,t),t[v].type===1&&t[k].destroy();let r=t[ht];if(r!==null&&Ae(t[G])){r!==t[G]&&Xa(r,t);let o=t[Se];o!==null&&o.detachView(e)}ls(t)}finally{b(n)}}function Yy(e,t){let n=e.cleanup,r=t[to];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]=="string"){let a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(t[to]=null);let o=t[We];if(o!==null){t[We]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[gt];if(i!==null){t[gt]=null;for(let s of i)s.destroy()}}function Jy(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 It)){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];A(4,a,c);try{c.call(a)}finally{A(5,a,c)}}else{A(4,o,i);try{i.call(o)}finally{A(5,o,i)}}}}}function cf(e,t,n){return lf(e,t.parent,n)}function lf(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[Oe];if(en(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===jn.None||o===jn.Emulated)return null}return Ce(r,n)}function uf(e,t,n){return ff(e,t,n)}function df(e,t,n){return e.type&40?Ce(e,n):null}var ff=df,Cs;function pf(e,t){ff=e,Cs=t}function Ko(e,t,n,r){let o=cf(e,r,t),i=t[k],s=r.parent||t[X],a=uf(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)Ol(i,o,n[c],a,!1);else Ol(i,o,n,a,!1);Cs!==void 0&&Cs(i,r,t,n,o)}function Cn(e,t){if(t!==null){let n=t.type;if(n&3)return Ce(t,e);if(n&4)return xs(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return Cn(e,r);{let o=e[t.index];return Ae(o)?xs(-1,o):de(o)}}else{if(n&128)return Cn(e,t.next);if(n&32)return Ja(t,e)()||de(e[t.index]);{let r=hf(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=yt(e[se]);return Cn(o,r)}else return Cn(e,t.next)}}}return null}function hf(e,t){if(t!==null){let r=e[se][X],o=t.projection;return r.projection[o]}return null}function xs(e,t){let n=Z+e+1;if(n<t.length){let r=t[n],o=r[v].firstChild;if(o!==null)return Cn(r,o)}return t[mt]}function ec(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&&Ye(de(a),r),n.flags|=2),!Ka(n))if(c&8)ec(e,t,n.child,r,o,i,!1),Bt(t,e,o,a,i);else if(c&32){let l=Ja(n,r),u;for(;u=l();)Bt(t,e,o,u,i);Bt(t,e,o,a,i)}else c&16?gf(e,t,r,n,o,i):Bt(t,e,o,a,i);n=s?n.projectionNext:n.next}}function Xo(e,t,n,r,o,i){ec(n,r,e.firstChild,t,o,i,!1)}function Ky(e,t,n){let r=t[k],o=cf(e,n,t),i=n.parent||t[X],s=uf(i,n,t);gf(r,0,t,n,o,s)}function gf(e,t,n,r,o,i){let s=n[se],c=s[X].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];Bt(t,e,o,u,i)}else{let l=c,u=s[G];Cd(r)&&(l.flags|=128),ec(e,t,l,u,o,i,!0)}}function Xy(e,t,n,r,o){let i=n[mt],s=de(n);i!==s&&Bt(t,e,r,i,o);for(let a=Z;a<n.length;a++){let c=n[a];Xo(c[v],c,e,t,r,i)}}function ev(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:Ms.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Ms.Important),e.setStyle(n,r,o,i))}}function go(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(de(i)),Ae(i)&&tv(i,r);let s=n.type;if(s&8)go(e,t,n.child,r);else if(s&32){let a=Ja(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=hf(t,n);if(Array.isArray(a))r.push(...a);else{let c=yt(t[se]);go(c[v],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function tv(e,t){for(let n=Z;n<e.length;n++){let r=e[n],o=r[v].firstChild;o!==null&&go(r[v],r,o,t)}e[mt]!==e[Oe]&&t.push(e[mt])}function mf(e){if(e[ki]!==null){for(let t of e[ki])t.impl.addSequence(t);e[ki].length=0}}var yf=[];function nv(e){return e[le]??rv(e)}function rv(e){let t=yf.pop()??Object.create(iv);return t.lView=e,t}function ov(e){e.lView[le]!==e&&(e.lView=null,yf.push(e))}var iv=te(ee({},$e),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Yn(e.lView)},consumerOnSignalRead(){this.lView[le]=this}});function sv(e){let t=e[le]??Object.create(av);return t.lView=e,t}var av=te(ee({},$e),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=yt(e.lView);for(;t&&!vf(t[v]);)t=yt(t);t&&zu(t)},consumerOnSignalRead(){this.lView[le]=this}});function vf(e){return e.type!==2}function If(e){if(e[gt]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[gt])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[E]&8192)}}var cv=100;function Ef(e,t=!0,n=0){let o=e[Ne].rendererFactory,i=!1;i||o.begin?.();try{lv(e,n)}catch(s){throw t&&Yo(e,s),s}finally{i||o.end?.()}}function lv(e,t){let n=Xu();try{oo(!0),_s(e,t);let r=0;for(;jo(e);){if(r===cv)throw new M(103,!1);r++,_s(e,1)}}finally{oo(n)}}function uv(e,t,n,r){if(tn(t))return;let o=t[E],i=!1,s=!1;_a(t);let a=!0,c=null,l=null;i||(vf(e)?(l=nv(t),c=ct(l)):qc()===null?(a=!1,l=sv(t),c=ct(l)):t[le]&&(Vt(t[le]),t[le]=null));try{Wu(t),Ag(e.bindingStartIndex),n!==null&&sf(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let f=e.preOrderCheckHooks;f!==null&&$r(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Br(t,f,0,null),Ri(t,0)}if(s||dv(t),If(t),wf(t,0),e.contentQueries!==null&&Hd(e,t),!i)if(u){let f=e.contentCheckHooks;f!==null&&$r(t,f)}else{let f=e.contentHooks;f!==null&&Br(t,f,1),Ri(t,1)}pv(e,t);let d=e.components;d!==null&&bf(t,d,0);let p=e.viewQuery;if(p!==null&&ds(2,p,r),!i)if(u){let f=e.viewCheckHooks;f!==null&&$r(t,f)}else{let f=e.viewHooks;f!==null&&Br(t,f,2),Ri(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Hr]){for(let f of t[Hr])f();t[Hr]=null}i||(mf(t),t[E]&=-73)}catch(u){throw i||Yn(t),u}finally{l!==null&&(Ft(l,c),a&&ov(l)),Ta()}}function wf(e,t){for(let n=Td(e);n!==null;n=Nd(n))for(let r=Z;r<n.length;r++){let o=n[r];Df(o,t)}}function dv(e){for(let t=Td(e);t!==null;t=Nd(t)){if(!(t[E]&2))continue;let n=t[Gt];for(let r=0;r<n.length;r++){let o=n[r];zu(o)}}}function fv(e,t,n){A(18);let r=Me(t,e);Df(r,n),A(19,r[q])}function Df(e,t){Ea(e)&&_s(e,t)}function _s(e,t){let r=e[v],o=e[E],i=e[le],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&Dn(i)),s||=!1,i&&(i.dirty=!1),e[E]&=-9217,s)uv(r,e,r.template,e[q]);else if(o&8192){If(e),wf(e,1);let a=r.components;a!==null&&bf(e,a,1),mf(e)}}function bf(e,t,n){for(let r=0;r<t.length;r++)fv(e,t[r],n)}function pv(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)vt(~o);else{let i=o,s=n[++r],a=n[++r];Lg(s,i);let c=t[i];A(24,c),a(2,c),A(25,c)}}}finally{vt(-1)}}function ei(e,t){let n=Xu()?64:1088;for(e[Ne].changeDetectionScheduler?.notify(t);e;){e[E]|=n;let r=yt(e);if(ro(e)&&!r)return e;e=r}return null}function Mf(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Cf(e,t){let n=Z+t;if(n<e.length)return e[n]}function un(e,t,n,r=!0){let o=t[v];if(hv(o,t,e,n),r){let s=xs(n,e),a=t[k],c=a.parentNode(e[mt]);c!==null&&Qy(o,e[X],a,t,c,s)}let i=t[zt];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function tc(e,t){let n=Hn(e,t);return n!==void 0&&Jo(n[v],n),n}function Hn(e,t){if(e.length<=Z)return;let n=Z+t,r=e[n];if(r){let o=r[ht];o!==null&&o!==e&&Xa(o,r),t>0&&(e[n-1][ge]=r[ge]);let i=Kr(e,Z+t);Gy(r[v],r);let s=i[Se];s!==null&&s.detachView(i[v]),r[G]=null,r[ge]=null,r[E]&=-129}return r}function hv(e,t,n,r){let o=Z+r,i=n.length;r>0&&(n[o-1][ge]=t),r<i-Z?(t[ge]=n[o],Tu(n,Z+r,t)):(n.push(t),t[ge]=null),t[G]=n;let s=t[ht];s!==null&&n!==s&&xf(s,t);let a=t[Se];a!==null&&a.insertView(e),es(t),t[E]|=128}function xf(e,t){let n=e[Gt],r=t[G];if(ze(r))e[E]|=2;else{let o=r[G][se];t[se]!==o&&(e[E]|=2)}n===null?e[Gt]=[t]:n.push(t)}var bt=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){let t=this._lView,n=t[v];return go(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r}get context(){return this._lView[q]}set context(t){this._lView[q]=t}get destroyed(){return tn(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[G];if(Ae(t)){let n=t[no],r=n?n.indexOf(this):-1;r>-1&&(Hn(t,r),Kr(n,r))}this._attachedToViewContainer=!1}Jo(this._lView[v],this._lView)}onDestroy(t){wa(this._lView,t)}markForCheck(){ei(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[E]&=-129}reattach(){es(this._lView),this._lView[E]|=128}detectChanges(){this._lView[E]|=1024,Ef(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new M(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=ro(this._lView),n=this._lView[ht];n!==null&&!t&&Xa(n,this._lView),af(this._lView[v],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new M(902,!1);this._appRef=t;let n=ro(this._lView),r=this._lView[ht];r!==null&&!n&&xf(r,this._lView),es(this._lView)}};var mo=(()=>{class e{static __NG_ELEMENT_ID__=yv}return e})(),gv=mo,mv=class extends gv{_declarationLView;_declarationTContainer;elementRef;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 bt(o)}};function yv(){return ti(Y(),y())}function ti(e,t){return e.type&4?new mv(t,e,on(e,t)):null}function _f(e,t,n){let r=t.insertBeforeIndex,o=Array.isArray(r)?r[0]:r;return o===null?df(e,t,n):de(n[o])}function Tf(e,t,n,r,o){let i=t.insertBeforeIndex;if(Array.isArray(i)){let s=r,a=null;if(t.type&3||(a=s,s=o),s!==null&&t.componentOffset===-1)for(let c=1;c<i.length;c++){let l=n[i[c]];wt(e,s,l,a,!1)}}}function dn(e,t,n,r,o){let i=e.data[t];if(i===null)i=nc(e,t,n,r,o),Pg()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Pn();i.injectorIndex=s===null?-1:s.injectorIndex}return me(i,!0),i}function nc(e,t,n,r,o){let i=Ju(),s=ba(),a=s?i:i&&i.parent,c=e.data[t]=Iv(e,a,n,t,r,o);return vv(e,c,i,s),c}function vv(e,t,n,r){e.firstChild===null&&(e.firstChild=t),n!==null&&(r?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function Iv(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Yu()&&(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:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Nf(e,t){if(e.push(t),e.length>1)for(let n=e.length-2;n>=0;n--){let r=e[n];Sf(r)||Ev(r,t)&&wv(r)===null&&Dv(r,t.index)}}function Sf(e){return!(e.type&64)}function Ev(e,t){return Sf(t)||e.index>t.index}function wv(e){let t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function Dv(e,t){let n=e.insertBeforeIndex;Array.isArray(n)?n[0]=t:(pf(_f,Tf),e.insertBeforeIndex=t)}function _n(e,t){let n=e.data[t];return n===null||typeof n=="string"?null:n.hasOwnProperty("currentCaseLViewIndex")?n:n.value}function bv(e,t,n){let r=e.data[t];r===null?e.data[t]=n:r.value=n}function Mv(e,t){let n=e.insertBeforeIndex;n===null?(pf(_f,Tf),n=e.insertBeforeIndex=[null,t]):(Hh(Array.isArray(n),!0,"Expecting array here"),n.push(t))}function Cv(e,t,n){let r=nc(e,n,64,null,null);return Nf(t,r),r}function ni(e,t){let n=t[e.currentCaseLViewIndex];return n===null?n:n<0?~n:n}function xv(e){return e>>>17}function _v(e){return(e&131070)>>>1}function Tv(e,t,n){return e|t<<17|n<<1}function Nv(e){return e===-1}function kf(e,t,n){e.index=0;let r=ni(t,n);r!==null?e.removes=t.remove[r]:e.removes=Q}function Ts(e){if(e.index<e.removes.length){let t=e.removes[e.index++];if(t>0)return e.lView[t];{e.stack.push(e.index,e.removes);let n=~t,r=e.lView[v].data[n];return kf(e,r,e.lView),Ts(e)}}else return e.stack.length===0?null:(e.removes=e.stack.pop(),e.index=e.stack.pop(),Ts(e))}function Sv(){let e={stack:[],index:-1};function t(n,r){for(e.lView=r;e.stack.length;)e.stack.pop();return kf(e,n.value,r),Ts.bind(null,e)}return t}var BN=new RegExp(`^(\\d+)*(${Mm}|${bm})*(.*)`);var kv=()=>{};function Rv(e,t,n,r){kv(e,t,n,r)}var Ov=()=>{};function Av(e,t,n){Ov(e,t,n)}var Pv=()=>null;function Zt(e,t){return Pv(e,t)}var Ns=class{},yo=class{},Ss=class{resolveComponentFactory(t){throw Error(`No component factory found for ${ie(t)}.`)}},Yt=class{static NULL=new Ss},vo=class{},UN=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>Lv()}return e})();function Lv(){let e=y(),t=Y(),n=Me(t.index,e);return(ze(n)?n:e)[k]}var Fv=(()=>{class e{static \u0275prov=W({token:e,providedIn:"root",factory:()=>null})}return e})();function ks(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=zi(o,a);else if(i==2){let c=a,l=t[++s];r=zi(r,c+": "+l+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function ri(e,t=T.Default){let n=y();if(n===null)return Ge(e,t);let r=Y();return gd(r,n,K(e),t)}function rc(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let a,c=null,l=null,u=jv(s);u===null?a=s:[a,c,l]=u,Bv(e,t,n,a,i,c,l)}i!==null&&r!==null&&Vv(n,r,i)}function Vv(e,t,n){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new M(-301,!1);r.push(t[o],i)}}function jv(e){let t=null,n=!1;for(let s=0;s<e.length;s++){let a=e[s];if(s===0&&be(a)&&(t=a),a.findHostDirectiveDefs!==null){n=!0;break}}if(!n)return null;let r=null,o=null,i=null;for(let s of e)s.findHostDirectiveDefs!==null&&(r??=[],o??=new Map,i??=new Map,Hv(s,r,i,o)),s===t&&(r??=[],r.push(s));return r!==null?(r.push(...t===null?e:e.slice(1)),[r,o,i]):null}function Hv(e,t,n,r){let o=t.length;e.findHostDirectiveDefs(e,t,r),n.set(e,[o,t.length-1])}function $v(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function Bv(e,t,n,r,o,i,s){let a=r.length,c=!1;for(let p=0;p<a;p++){let f=r[p];!c&&be(f)&&(c=!0,$v(e,n,p)),os(co(n,t),e,f.type)}Qv(n,e.data.length,a);for(let p=0;p<a;p++){let f=r[p];f.providersResolver&&f.providersResolver(f)}let l=!1,u=!1,d=nr(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(n.mergedAttrs=Qt(n.mergedAttrs,f.hostAttrs),qv(e,n,t,d,f),Gv(d,f,o),s!==null&&s.has(f)){let[g,I]=s.get(f);n.directiveToIndex.set(f.type,[d,g+n.directiveStart,I+n.directiveStart])}else(i===null||!i.has(f))&&n.directiveToIndex.set(f.type,d);f.contentQueries!==null&&(n.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(n.flags|=64);let h=f.type.prototype;!l&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),l=!0),!u&&(h.ngOnChanges||h.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),u=!0),d++}Uv(e,n,i)}function Uv(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))Al(0,t,o,r),Al(1,t,o,r),Ll(t,r,!1);else{let i=n.get(o);Pl(0,t,i,r),Pl(1,t,i,r),Ll(t,r,!0)}}}function Al(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s;e===0?s=t.inputs??={}:s=t.outputs??={},s[i]??=[],s[i].push(r),Rf(t,i)}}function Pl(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],a;e===0?a=t.hostDirectiveInputs??={}:a=t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),Rf(t,s)}}function Rf(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function Ll(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||$a(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c=="number")break;if(!n&&o.hasOwnProperty(c)){let l=o[c];for(let u of l)if(u===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&i.hasOwnProperty(c)){let l=i[c];for(let u=0;u<l.length;u+=2)if(l[u]===t){s??=[],s.push(l[u+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function qv(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=ft(o.type,!0)),s=new It(i,be(o),ri);e.blueprint[r]=s,n[r]=s,Wv(e,t,r,nr(e,n,o.hostVars,z),o)}function Wv(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;zv(s)!=a&&s.push(a),s.push(n,r,i)}}function zv(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function Gv(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;be(t)&&(n[""]=e)}}function Qv(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Of(e,t,n,r,o,i,s,a){let c=t.consts,l=ke(c,s),u=dn(t,e,2,r,l);return i&&rc(t,n,u,ke(c,a),o),u.mergedAttrs=Qt(u.mergedAttrs,u.attrs),u.attrs!==null&&ks(u,u.attrs,!1),u.mergedAttrs!==null&&ks(u,u.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,u),u}function Af(e,t){Na(e,t),Ia(t)&&e.queries.elementEnd(t)}var Io=class extends Yt{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=we(t);return new Mt(n,this.ngModule)}};function Zv(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&Qo.SignalBased)!==0};return o&&(i.transform=o),i})}function Yv(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function Jv(e,t,n){let r=t instanceof Te?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new qt(n,r):n}function Kv(e){let t=e.get(vo,null);if(t===null)throw new M(407,!1);let n=e.get(Fv,null),r=e.get(Ze,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r}}function Xv(e,t){let n=(e.selectors[0][0]||"div").toLowerCase();return Ba(t,n,n==="svg"?qu:n==="math"?Mg:null)}var Mt=class extends yo{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=Zv(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=Yv(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=xy(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o){A(22);let i=b(null);try{let s=this.componentDef,a=r?["ng-version","19.2.1"]:_y(this.componentDef.selectors[0]),c=Ua(0,null,null,1,0,null,null,null,null,[a],null),l=Jv(s,o||this.ngModule,t),u=Kv(l),d=u.rendererFactory.createRenderer(null,s),p=r?Oy(d,r,s.encapsulation,l):Xv(s,d),f=qa(null,c,null,512|rf(s),null,null,u,d,l,null,jd(p,l,!0));f[F]=p,_a(f);let h=null;try{let g=Of(F,c,f,"#host",()=>[this.componentDef],!0,0);p&&(nf(d,p,g),Ye(p,f)),Zo(c,f,g),La(c,g,f),Af(c,g),n!==void 0&&eI(g,this.ngContentSelectors,n),h=Me(g.index,f),f[q]=h[q],Ya(c,f,null)}catch(g){throw h!==null&&ls(h),ls(f),g}finally{A(23),Ta()}return new Rs(this.componentType,f)}finally{b(i)}}},Rs=class extends Ns{_rootLView;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n){super(),this._rootLView=n,this._tNode=Zn(n[v],F),this.location=on(this._tNode,n),this.instance=Me(this._tNode.index,n)[q],this.hostView=this.changeDetectorRef=new bt(n,void 0,!1),this.componentType=t}setInput(t,n){let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let o=this._rootLView,i=Za(r,o[v],o,t,n);this.previousInputValues.set(t,n);let s=Me(r.index,o);ei(s,1)}get injector(){return new dt(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function eI(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null&&i.length?Array.from(i):null)}}var oc=(()=>{class e{static __NG_ELEMENT_ID__=tI}return e})();function tI(){let e=Y();return Lf(e,y())}var nI=oc,Pf=class extends nI{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return on(this._hostTNode,this._hostLView)}get injector(){return new dt(this._hostTNode,this._hostLView)}get parentInjector(){let t=Sa(this._hostTNode,this._hostLView);if(ld(t)){let n=so(t,this._hostLView),r=io(t),o=n[v].data[r+8];return new dt(o,n)}else return new dt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Fl(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-Z}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Zt(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Dt(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!Eg(t),a;if(s)a=n;else{let h=n||{};a=h.index,r=h.injector,o=h.projectableNodes,i=h.environmentInjector||h.ngModuleRef}let c=s?t:new Mt(we(t)),l=r||this.parentInjector;if(!i&&c.ngModule==null){let g=(s?l:this.parentInjector).get(Te,null);g&&(i=g)}let u=we(c.componentType??{}),d=Zt(this._lContainer,u?.id??null),p=d?.firstChild??null,f=c.create(l,o,p,i);return this.insertImpl(f.hostView,a,Dt(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(xg(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[G],l=new Pf(c,c[X],c[G]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return un(s,o,i,r),t.attachToViewContainerRef(),Tu(Fi(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Fl(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Hn(this._lContainer,n);r&&(Kr(Fi(this._lContainer),n),Jo(r[v],r))}detach(t){let n=this._adjustIndex(t,-1),r=Hn(this._lContainer,n);return r&&Kr(Fi(this._lContainer),n)!=null?new bt(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Fl(e){return e[no]}function Fi(e){return e[no]||(e[no]=[])}function Lf(e,t){let n,r=t[e.index];return Ae(r)?n=r:(n=Mf(r,t,null,e),t[e.index]=n,Wa(t,n)),oI(n,t,e,r),new Pf(n,e,t)}function rI(e,t){let n=e[k],r=n.createComment(""),o=Ce(t,e),i=n.parentNode(o);return wt(n,i,r,n.nextSibling(o),!1),r}var oI=sI,iI=()=>!1;function Ff(e,t,n){return iI(e,t,n)}function sI(e,t,n,r){if(e[mt])return;let o;n.type&8?o=de(r):o=rI(t,n),e[mt]=o}var Os=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},As=class e{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i<r;i++){let s=n.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new e(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)sc(t,n).matches!==null&&this.queries[n].setDirty()}},Eo=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=fI(t):this.predicate=t}},Ps=class e{queries;constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){let o=n!==null?n.length:0,i=this.getByIndex(r).embeddedTView(t,o);i&&(i.indexInDeclarationView=r,n!==null?n.push(i):n=[i])}return n!==null?new e(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},Ls=class e{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(t,n=-1){this.metadata=t,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,r=t.parent;for(;r!==null&&r.type&8&&r.index!==n;)r=r.parent;return n===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(t,n,aI(n,i)),this.matchTNodeWithReadOption(t,n,Ur(n,t,i,!1,!1))}else r===mo?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Ur(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===Bo||o===oc||o===mo&&n.type&4)this.addMatch(n.index,-2);else{let i=Ur(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 aI(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 cI(e,t){return e.type&11?on(e,t):e.type&4?ti(e,t):null}function lI(e,t,n,r){return n===-1?cI(t,e):n===-2?uI(e,t,r):Ln(e,e[v],n,t)}function uI(e,t,n){if(n===Bo)return on(t,e);if(n===mo)return ti(t,e);if(n===oc)return Lf(t,e)}function Vf(e,t,n,r){let o=t[Se].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 l=s[c];if(l<0)a.push(null);else{let u=i[l];a.push(lI(t,u,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function Fs(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=Vf(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 l=i[a+1],u=t[-c];for(let d=Z;d<u.length;d++){let p=u[d];p[ht]===p[G]&&Fs(p[v],p,l,r)}if(u[Gt]!==null){let d=u[Gt];for(let p=0;p<d.length;p++){let f=d[p];Fs(f[v],f,l,r)}}}}}return r}function ic(e,t){return e[Se].queries[t].queryList}function jf(e,t,n){let r=new cs((n&4)===4);return Tg(e,t,r,r.destroy),(t[Se]??=new As).queries.push(new Os(r))-1}function dI(e,t,n){let r=O();return r.firstCreatePass&&($f(r,new Eo(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),jf(r,y(),t)}function Hf(e,t,n,r){let o=O();if(o.firstCreatePass){let i=Y();$f(o,new Eo(t,n,r),i.index),pI(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return jf(o,y(),n)}function fI(e){return e.split(",").map(t=>t.trim())}function $f(e,t,n){e.queries===null&&(e.queries=new Ps),e.queries.track(new Ls(t,n))}function pI(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 sc(e,t){return e.queries.getByIndex(t)}function Bf(e,t){let n=e[v],r=sc(n,t);return r.crossesNgTemplate?Fs(n,e,t,[]):Vf(n,e,r,t)}function Uf(e,t,n){let r,o=Mi(()=>{r._dirtyCounter();let i=hI(r,e);if(t&&i===void 0)throw new M(-951,!1);return i});return r=o[B],r._dirtyCounter=Vn(0),r._flatValue=void 0,o}function qf(e){return Uf(!0,!1,e)}function Wf(e){return Uf(!0,!0,e)}function zf(e,t){let n=e[B];n._lView=y(),n._queryIndex=t,n._queryList=ic(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function hI(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[E]&4)return t?void 0:Q;let o=ic(n,r),i=Bf(n,r);return o.reset(i,bd),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}function Vl(e,t){return qf(t)}function gI(e,t){return Wf(t)}var WN=(Vl.required=gI,Vl);function jl(e,t){return qf(t)}function mI(e,t){return Wf(t)}var zN=(jl.required=mI,jl);function Gf(e,t){let n=Object.create(hu),r=new po;n.value=e;function o(){return Lt(n),Hl(n.value),n.value}return o[B]=n,o.asReadonly=Uo.bind(o),o.set=i=>{n.equal(n.value,i)||(jt(n,i),r.emit(i))},o.update=i=>{Hl(n.value),o.set(i(n.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function Hl(e){if(e===So)throw new M(952,!1)}function $l(e,t){return Gf(e,t)}function yI(e){return Gf(So,e)}var GN=($l.required=yI,$l);var Ct=class{},Vs=class{};function QN(e,t){return new wo(e,t??null,[])}var wo=class extends Ct{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new Io(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=ku(t);this._bootstrapComponents=Qd(i.bootstrap),this._r3Injector=vd(t,n,[{provide:Ct,useValue:this},{provide:Yt,useValue:this.componentFactoryResolver},...r],ie(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)}},js=class extends Vs{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new wo(this.moduleType,t,[])}};var Do=class extends Ct{injector;componentFactoryResolver=new Io(this);instance=null;constructor(t){super();let n=new Rn([...t.providers,{provide:Ct,useValue:this},{provide:Yt,useValue:this.componentFactoryResolver}],t.parent||Ao(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Qf(e,t,n=null){return new Do({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var vI=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=ma(!1,n.type),o=r.length>0?Qf([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 \u0275prov=W({token:e,providedIn:"environment",factory:()=>new e(Ge(Te))})}return e})();function ZN(e){return Gn(()=>{let t=Zf(e),n=te(ee({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===xd.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(vI).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||jn.Emulated,styles:e.styles||Q,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&sn("NgStandalone"),Yf(n);let r=e.dependencies;return n.directiveDefs=Bl(r,!1),n.pipeDefs=Bl(r,!0),n.id=bI(n),n})}function II(e){return we(e)||ha(e)}function EI(e){return e!==null}function YN(e){return Gn(()=>({type:e.type,bootstrap:e.bootstrap||Q,declarations:e.declarations||Q,imports:e.imports||Q,exports:e.exports||Q,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function wI(e,t){if(e==null)return pt;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=Qo.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function DI(e){if(e==null)return pt;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function JN(e){return Gn(()=>{let t=Zf(e);return Yf(t),t})}function KN(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 Zf(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,inputConfig:e.inputs||pt,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||Q,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:wI(e.inputs,t),outputs:DI(e.outputs),debugInfo:null}}function Yf(e){e.features?.forEach(t=>t(e))}function Bl(e,t){if(!e)return null;let n=t?ga:II;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(EI)}function bI(e){let t=0,n=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let i of r.join("|"))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function MI(e){return Object.getPrototypeOf(e.prototype).constructor}function CI(e){let t=MI(e.type),n=!0,r=[e];for(;t;){let o;if(be(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=Vi(e.inputs),s.declaredInputs=Vi(e.declaredInputs),s.outputs=Vi(e.outputs);let a=o.hostBindings;a&&SI(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&TI(e,c),l&&NI(e,l),xI(e,o),Vh(e.outputs,o.outputs),be(o)&&o.data.animation){let u=e.data;u.animation=(u.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s<i.length;s++){let a=i[s];a&&a.ngInherit&&a(e),a===CI&&(n=!1)}}t=Object.getPrototypeOf(t)}_I(r)}function xI(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let r=t.inputs[n];r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n])}}function _I(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=Qt(o.hostAttrs,n=Qt(n,o.hostAttrs))}}function Vi(e){return e===pt?{}:e===Q?[]:e}function TI(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function NI(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function SI(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function Jf(e){return ac(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function kI(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{let n=e[Symbol.iterator](),r;for(;!(r=n.next()).done;)t(r.value)}}function ac(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function oi(e,t,n){return e[t]=n}function RI(e,t){return e[t]}function ae(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function $n(e,t,n,r){let o=ae(e,t,n);return ae(e,t+1,r)||o}function OI(e,t,n,r,o){let i=$n(e,t,n,r);return ae(e,t+2,o)||i}function AI(e,t,n,r,o,i){let s=$n(e,t,n,r);return $n(e,t+2,o,i)||s}function PI(e,t,n,r,o,i,s,a,c){let l=t.consts,u=dn(t,e,4,s||null,a||null);Da()&&rc(t,n,u,ke(l,c),Ga),u.mergedAttrs=Qt(u.mergedAttrs,u.attrs),Na(t,u);let d=u.tView=Ua(2,u,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l,null);return t.queries!==null&&(t.queries.template(t,u),d.queries=t.queries.embeddedTView(u)),u}function Bn(e,t,n,r,o,i,s,a,c,l){let u=n+F,d=t.firstCreatePass?PI(u,t,e,r,o,i,s,a,c):t.data[u];me(d,!1);let p=FI(t,e,d,n);Jn()&&Ko(t,e,p,d),Ye(p,e);let f=Mf(p,e,p,d);return e[u]=f,Wa(e,f),Ff(f,d,e),Lo(d)&&Zo(t,e,d),c!=null&&za(e,d,l),d}function LI(e,t,n,r,o,i,s,a){let c=y(),l=O(),u=ke(l.consts,i);return Bn(c,l,e,t,n,r,o,u,s,a),LI}var FI=VI;function VI(e,t,n,r){return Kn(!0),t[k].createComment("")}var jI=(()=>{class e{cachedInjectors=new Map;getOrCreateInjector(n,r,o,i){if(!this.cachedInjectors.has(n)){let s=o.length>0?Qf(o,r,i):null;this.cachedInjectors.set(n,s)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=W({token:e,providedIn:"environment",factory:()=>new e})}return e})();var HI=new R("");function ji(e,t,n){return e.get(jI).getOrCreateInjector(t,e,n,"")}function $I(e,t,n){if(e instanceof qt){let o=e.injector,i=e.parentInjector,s=ji(i,t,n);return new qt(o,s)}let r=e.get(Te);if(r!==e){let o=ji(r,t,n);return new qt(e,o)}return ji(e,t,n)}function ut(e,t,n,r=!1){let o=n[G],i=o[v];if(tn(o))return;let s=Xn(o,t),a=s[qo],c=s[Pm];if(!(c!==null&&e<c)&&Ul(a,e)&&Ul(s[km]??-1,e)){let l=er(i,t),d=!r&&!0&&($m(l)!==null||xl(l,H.Loading)!==null||xl(l,H.Placeholder))?WI:UI;try{d(e,s,n,t,o)}catch(p){Yo(o,p)}}}function BI(e,t){let n=e[An]?.findIndex(o=>o.data[kd]===t[qo])??-1;return{dehydratedView:n>-1?e[An][n]:null,dehydratedViewIx:n}}function UI(e,t,n,r,o){A(20);let i=Hm(e,o,r);if(i!==null){t[qo]=e;let s=o[v],a=i+F,c=Zn(s,a),l=0;tc(n,l);let u;if(e===H.Complete){let h=er(s,r),g=h.providers;g&&g.length>0&&(u=$I(o[De],h,g))}let{dehydratedView:d,dehydratedViewIx:p}=BI(n,t),f=ln(o,c,null,{injector:u,dehydratedView:d});if(un(n,f,l,Dt(c,d)),ei(f,2),p>-1&&n[An]?.splice(p,1),(e===H.Complete||e===H.Error)&&Array.isArray(t[Pi])){for(let h of t[Pi])h();t[Pi]=null}}A(21)}function Ul(e,t){return e<t}function qI(e,t){let n=e[t.index];ut(H.Placeholder,t,n)}function ql(e,t,n){e.loadingPromise.then(()=>{e.loadingState===oe.COMPLETE?ut(H.Complete,t,n):e.loadingState===oe.FAILED&&ut(H.Error,t,n)})}var WI=null;var XN=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var zI=new R("");var Kf=(()=>{class e{static \u0275prov=W({token:e,providedIn:"root",factory:()=>new bo})}return e})(),bo=class{queuedEffectCount=0;queues=new Map;schedule(t){this.enqueue(t)}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),this.queuedEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||(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()}};function Xf(e){return!!e&&typeof e.then=="function"}function GI(e){return!!e&&typeof e.subscribe=="function"}var QI=new R("");var ep=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=_(QI,{optional:!0})??[];injector=_(Qe);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=Lu(this.injector,o);if(Xf(i))n.push(i);else if(GI(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 \u0275fac=function(r){return new(r||e)};static \u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ZI=new R("");function YI(){Xc(()=>{throw new M(600,!1)})}function JI(e){return e.isBoundToModule}var KI=10;var Un=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=_(fm);afterRenderManager=_(Nm);zonelessEnabled=_(ka);rootEffectScheduler=_(Kf);dirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new ce;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=_(Tt).hasPendingTasks.pipe(je(n=>!n));constructor(){_(Ad,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=_(Te);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){A(10);let o=n instanceof yo;if(!this._injector.get(ep).done){let p=!o&&cg(n),f=!1;throw new M(405,f)}let s;o?s=n:s=this._injector.get(Yt).resolveComponentFactory(n),this.componentTypes.push(s.componentType);let a=JI(s)?void 0:this._injector.get(Ct),c=r||s.selector,l=s.create(Qe.NULL,[],c,a),u=l.location.nativeElement,d=l.injector.get(zI,null);return d?.registerApplication(u),l.onDestroy(()=>{this.detachView(l.hostView),Wr(this.components,l),d?.unregisterApplication(u)}),this._loadComponent(l),A(11,l),l}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){A(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(Od.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new M(101,!1);let n=b(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,b(n),this.afterTick.next(),A(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(vo,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<KI;)A(14),this.synchronizeOnce(),A(15)}synchronizeOnce(){if(this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),this.dirtyFlags&7){let n=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:r,notifyErrorHandler:o}of this.allViews)XI(r,o,n,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}else this._rendererFactory?.begin?.(),this._rendererFactory?.end?.();this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>jo(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;Wr(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(ZI,[]).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Wr(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new M(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Wr(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function XI(e,t,n,r){if(!n&&!jo(e))return;Ef(e,t,n&&!r?0:1)}function eE(e,t,n){let r=t[De],o=t[v];if(e.loadingState!==oe.NOT_STARTED)return e.loadingPromise??Promise.resolve();let i=Xn(t,n),s=Bm(o,e);e.loadingState=oe.IN_PROGRESS,qr(1,i);let a=e.dependencyResolverFn,c=r.get(Tt),l=c.add();return a?(e.loadingPromise=Promise.allSettled(a()).then(u=>{let d=!1,p=[],f=[];for(let h of u)if(h.status==="fulfilled"){let g=h.value,I=we(g)||ha(g);if(I)p.push(I);else{let m=ga(g);m&&f.push(m)}}else{d=!0;break}if(e.loadingPromise=null,c.remove(l),d){if(e.loadingState=oe.FAILED,e.errorTmplIndex===null){let h="",g=new M(-750,!1);Yo(t,g)}}else{e.loadingState=oe.COMPLETE;let h=s.tView;if(p.length>0){h.directiveRegistry=_l(h.directiveRegistry,p);let g=p.map(m=>m.type),I=ma(!1,...g);e.providers=I}f.length>0&&(h.pipeRegistry=_l(h.pipeRegistry,f))}}),e.loadingPromise):(e.loadingPromise=Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=oe.COMPLETE,c.remove(l)}),e.loadingPromise)}function tE(e,t){return t[De].get(HI,null,{optional:!0})?.behavior!==Ld.Manual}function nE(e,t,n){let r=t[v],o=t[n.index];if(!tE(e,t))return;let i=Xn(t,n),s=er(r,n);switch(Fd(i),s.loadingState){case oe.NOT_STARTED:ut(H.Loading,n,o),eE(s,t,n),s.loadingState===oe.IN_PROGRESS&&ql(s,n,o);break;case oe.IN_PROGRESS:ut(H.Loading,n,o),ql(s,n,o);break;case oe.COMPLETE:ut(H.Complete,n,o);break;case oe.FAILED:ut(H.Error,n,o);break;default:}}function rE(e,t,n){return e===0?Wl(t,n):e===2?!Wl(t,n):!0}function Wl(e,t){let n=e[De],r=er(e[v],t),o=Wm(n),i=r.flags!==null&&(r.flags&1)===1,a=Xn(e,t)[Am]!==null;return!(i&&a&&o)}function eS(e,t,n,r,o,i,s,a,c,l){let u=y(),d=O(),p=e+F,f=Bn(u,d,e,null,0,0),h=u[De];if(d.firstCreatePass){sn("NgDefer");let ve={primaryTmplIndex:t,loadingTmplIndex:r??null,placeholderTmplIndex:o??null,errorTmplIndex:i??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:n??null,loadingState:oe.NOT_STARTED,loadingPromise:null,providers:null,hydrateTriggers:null,debug:null,flags:l??0};c?.(d,ve,a,s),jm(d,p,ve)}let g=u[p];Ff(g,f,u);let I=null,m=null;if(g[An]?.length>0){let ve=g[An][0].data;m=ve[Cm]??null,I=ve[kd]}let S=[null,ho.Initial,null,null,null,null,m,I,null,null];Vm(u,p,S);let Le=null;m!==null&&(Le=h.get(Um),Le.add(m,{lView:u,tNode:f,lContainer:g}));let Ke=()=>{Fd(S),m!==null&&Le?.cleanup([m])};Fm(0,S,()=>Gu(u,Ke)),wa(u,Ke)}function tS(e){let t=y(),n=_t();if(!rE(0,t,n))return;let r=Je();if(ae(t,r,e)){let o=b(null);try{let i=!!e,a=Xn(t,n)[qo];i===!1&&a===ho.Initial?qI(t,n):i===!0&&(a===ho.Initial||a===H.Placeholder)&&nE(0,t,n)}finally{b(o)}}}function oE(e,t,n,r){let o=y(),i=Je();if(ae(o,i,t)){let s=O(),a=_t();$y(a,o,e,t,n,r)}return oE}function tp(e,t,n,r){return ae(e,Je(),n)?t+he(n)+r:z}function np(e,t,n,r,o,i){let s=Ca(),a=$n(e,s,n,o);return Ho(2),a?t+he(n)+r+he(o)+i:z}function rp(e,t,n,r,o,i,s,a){let c=Ca(),l=OI(e,c,n,o,s);return Ho(3),l?t+he(n)+r+he(o)+i+he(s)+a:z}function Fr(e,t){return e<<17|t<<2}function xt(e){return e>>17&32767}function iE(e){return(e&2)==2}function sE(e,t){return e&131071|t<<17}function Hs(e){return e|2}function Jt(e){return(e&131068)>>2}function Hi(e,t){return e&-131069|t<<2}function aE(e){return(e&1)===1}function $s(e){return e|1}function cE(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=xt(s),c=Jt(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||Qn(d,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let p=xt(e[a+1]);e[r+1]=Fr(p,a),p!==0&&(e[p+1]=Hi(e[p+1],r)),e[a+1]=sE(e[a+1],r)}else e[r+1]=Fr(a,0),a!==0&&(e[a+1]=Hi(e[a+1],r)),a=r;else e[r+1]=Fr(c,0),a===0?a=r:e[c+1]=Hi(e[c+1],r),c=r;l&&(e[r+1]=Hs(e[r+1])),zl(e,u,r,!0),zl(e,u,r,!1),lE(t,u,e,r,i),s=Fr(a,c),i?t.classBindings=s:t.styleBindings=s}function lE(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Qn(i,t)>=0&&(n[r+1]=$s(n[r+1]))}function zl(e,t,n,r){let o=e[n+1],i=t===null,s=r?xt(o):Jt(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];uE(c,t)&&(a=!0,e[s+1]=r?$s(l):Hs(l)),s=r?xt(l):Jt(l)}a&&(e[n+1]=r?Hs(o):$s(o))}function uE(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Qn(e,t)>=0:!1}var U={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function op(e){return e.substring(U.key,U.keyEnd)}function dE(e){return e.substring(U.value,U.valueEnd)}function fE(e){return ap(e),ip(e,Kt(e,0,U.textEnd))}function ip(e,t){let n=U.textEnd;return n===t?-1:(t=U.keyEnd=hE(e,U.key=t,n),Kt(e,t,n))}function pE(e){return ap(e),sp(e,Kt(e,0,U.textEnd))}function sp(e,t){let n=U.textEnd,r=U.key=Kt(e,t,n);return n===r?-1:(r=U.keyEnd=gE(e,r,n),r=Gl(e,r,n,58),r=U.value=Kt(e,r,n),r=U.valueEnd=mE(e,r,n),Gl(e,r,n,59))}function ap(e){U.key=0,U.keyEnd=0,U.value=0,U.valueEnd=0,U.textEnd=e.length}function Kt(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function hE(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function gE(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 Gl(e,t,n,r){return t=Kt(e,t,n),t<n&&t++,t}function mE(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=Ql(e,c,s,n):t===s-4&&i===85&&o===82&&r===76&&c===40?a=s=Ql(e,41,s,n):c>32&&(a=s),i=o,o=r,r=c&-33}return a}function Ql(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 yE(e,t,n){let r=y(),o=Je();if(ae(r,o,t)){let i=O(),s=_t();cn(i,s,r,e,t,r[k],n,!1)}return yE}function Bs(e,t,n,r,o){Za(t,e,n,o?"class":"style",r)}function vE(e,t,n){return cp(e,t,n,!1),vE}function IE(e,t){return cp(e,t,null,!0),IE}function nS(e){lp(fp,EE,e,!1)}function EE(e,t){for(let n=pE(t);n>=0;n=sp(t,n))fp(e,op(t),dE(t))}function rS(e){lp(_E,wE,e,!0)}function wE(e,t){for(let n=fE(t);n>=0;n=ip(t,n))Oo(e,op(t),!0)}function cp(e,t,n,r){let o=y(),i=O(),s=Ho(2);if(i.firstUpdatePass&&dp(i,e,s,r),t!==z&&ae(o,s,t)){let a=i.data[ye()];pp(i,a,o,o[k],e,o[s+1]=NE(t,n),r,s)}}function lp(e,t,n,r){let o=O(),i=Ho(2);o.firstUpdatePass&&dp(o,null,i,r);let s=y();if(n!==z&&ae(s,i,n)){let a=o.data[ye()];if(hp(a,r)&&!up(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=zi(c,n||"")),Bs(o,a,s,n,r)}else TE(o,a,s,s[k],s[i+1],s[i+1]=xE(e,t,n),r,i)}}function up(e,t){return t>=e.expandoStartIndex}function dp(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[ye()],s=up(e,n);hp(i,r)&&t===null&&!s&&(t=!1),t=DE(o,i,t,r),cE(o,i,t,n,s,r)}}function DE(e,t,n,r){let o=Vg(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=$i(null,e,t,n,r),n=qn(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=$i(o,e,t,n,r),i===null){let c=bE(e,t,r);c!==void 0&&Array.isArray(c)&&(c=$i(null,e,t,c[1],r),c=qn(c,t.attrs,r),ME(e,t,r,c))}else i=CE(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function bE(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Jt(r)!==0)return e[xt(r)]}function ME(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[xt(o)]=r}function CE(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=qn(r,s,n)}return qn(r,t.attrs,n)}function $i(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=qn(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function qn(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]),Oo(e,s,n?!0:t[++i]))}return e===void 0?null:e}function xE(e,t,n){if(n==null||n==="")return Q;let r=[],o=an(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 fp(e,t,n){Oo(e,t,an(n))}function _E(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&Oo(e,r,n)}function TE(e,t,n,r,o,i,s,a){o===z&&(o=Q);let c=0,l=0,u=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;u!==null||d!==null;){let p=c<o.length?o[c+1]:void 0,f=l<i.length?i[l+1]:void 0,h=null,g;u===d?(c+=2,l+=2,p!==f&&(h=d,g=f)):d===null||u!==null&&u<d?(c+=2,h=u):(l+=2,h=d,g=f),h!==null&&pp(e,t,n,r,h,g,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function pp(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,l=c[a+1],u=aE(l)?Zl(c,t,n,o,Jt(l),s):void 0;if(!Mo(u)){Mo(i)||iE(l)&&(i=Zl(c,null,n,o,a,s));let d=Fo(ye(),n);ev(r,s,d,o,i)}}function Zl(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=u===null,p=n[o+1];p===z&&(p=d?Q:void 0);let f=d?Ni(p,r):u===r?p:void 0;if(l&&!Mo(f)&&(f=Ni(c,r)),Mo(f)&&(a=f,s))return a;let h=e[o+1];o=s?xt(h):Jt(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Ni(c,r))}return a}function Mo(e){return e!==void 0}function NE(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=ie(an(e)))),e}function hp(e,t){return(e.flags&(t?8:16))!==0}var Us=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 Bi(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function SE(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 l=e.at(i),u=t[i],d=Bi(i,l,i,u,n);if(d!==0){d<0&&e.updateValue(i,u),i++;continue}let p=e.at(s),f=t[c],h=Bi(s,p,c,f,n);if(h!==0){h<0&&e.updateValue(s,f),s--,c--;continue}let g=n(i,l),I=n(s,p),m=n(i,u);if(Object.is(m,I)){let S=n(c,f);Object.is(S,g)?(e.swap(i,s),e.updateValue(s,f),c--,s--):e.move(s,i),e.updateValue(i,u),i++;continue}if(r??=new Co,o??=Jl(e,i,s,n),qs(e,r,i,m))e.updateValue(i,u),i++,s++;else if(o.has(m))r.set(g,e.detach(i)),s--;else{let S=e.create(i,t[i]);e.attach(i,S),i++,s++}}for(;i<=c;)Yl(e,r,n,i,t[i]),i++}else if(t!=null){let c=t[Symbol.iterator](),l=c.next();for(;!l.done&&i<=s;){let u=e.at(i),d=l.value,p=Bi(i,u,i,d,n);if(p!==0)p<0&&e.updateValue(i,d),i++,l=c.next();else{r??=new Co,o??=Jl(e,i,s,n);let f=n(i,d);if(qs(e,r,i,f))e.updateValue(i,d),i++,s++,l=c.next();else if(!o.has(f))e.attach(i,e.create(i,d)),i++,s++,l=c.next();else{let h=n(i,u);r.set(h,e.detach(i)),s--}}}for(;!l.done;)Yl(e,r,n,e.length,l.value),l=c.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(c=>{e.destroy(c)})}function qs(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Yl(e,t,n,r,o){if(qs(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Jl(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 Co=class{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function oS(e,t){sn("NgControlFlow");let n=y(),r=Je(),o=n[r]!==z?n[r]:-1,i=o!==-1?xo(n,F+o):void 0,s=0;if(ae(n,r,e)){let a=b(null);try{if(i!==void 0&&tc(i,s),e!==-1){let c=F+e,l=xo(n,c),u=Qs(n[v],c),d=Zt(l,u.tView.ssrId),p=ln(n,u,t,{dehydratedView:d});un(l,p,s,Dt(u,d))}}finally{b(a)}}else if(i!==void 0){let a=Cf(i,s);a!==void 0&&(a[q]=t)}}var Ws=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-Z}};function iS(e){return e}var zs=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function sS(e,t,n,r,o,i,s,a,c,l,u,d,p){sn("NgControlFlow");let f=y(),h=O(),g=c!==void 0,I=y(),m=a?s.bind(I[se][q]):s,S=new zs(g,m);I[F+e]=S,Bn(f,h,e+1,t,n,r,o,ke(h.consts,i)),g&&Bn(f,h,e+2,c,l,u,d,ke(h.consts,p))}var Gs=class extends Us{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-Z}at(t){return this.getLView(t)[q].$implicit}attach(t,n){let r=n[zt];this.needsIndexUpdate||=t!==this.length,un(this.lContainer,n,t,Dt(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,kE(this.lContainer,t)}create(t,n){let r=Zt(this.lContainer,this.templateTNode.tView.ssrId),o=ln(this.hostLView,this.templateTNode,new Ws(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){Jo(t[v],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[q].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[q].$index=t}getLView(t){return RE(this.lContainer,t)}};function aS(e){let t=b(null),n=ye();try{let r=y(),o=r[v],i=r[n],s=n+1,a=xo(r,s);if(i.liveCollection===void 0){let l=Qs(o,s);i.liveCollection=new Gs(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(SE(c,e,i.trackByFn),c.updateIndexes(),i.hasEmptyBlock){let l=Je(),u=c.length===0;if(ae(r,l,u)){let d=n+2,p=xo(r,d);if(u){let f=Qs(o,d),h=Zt(p,f.tView.ssrId),g=ln(r,f,void 0,{dehydratedView:h});un(p,g,0,Dt(f,h))}else tc(p,0)}}}finally{b(t)}}function xo(e,t){return e[t]}function kE(e,t){return Hn(e,t)}function RE(e,t){return Cf(e,t)}function Qs(e,t){return Zn(e,t)}function gp(e,t,n,r){let o=y(),i=O(),s=F+e,a=o[k],c=i.firstCreatePass?Of(s,i,o,t,Ga,Da(),n,r):i.data[s],l=AE(i,o,c,a,t,e);o[s]=l;let u=Lo(c);return me(c,!0),nf(a,l,c),!Ka(c)&&Jn()&&Ko(i,o,l,c),(Ng()===0||u)&&Ye(l,o),Sg(),u&&(Zo(i,o,c),La(i,c,o)),r!==null&&za(o,c),gp}function mp(){let e=Y();ba()?Ma():(e=e.parent,me(e,!1));let t=e;Rg(t)&&Og(),kg();let n=O();return n.firstCreatePass&&Af(n,t),t.classesWithoutHost!=null&&qg(t)&&Bs(n,t,y(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&Wg(t)&&Bs(n,t,y(),t.stylesWithoutHost,!1),mp}function OE(e,t,n,r){return gp(e,t,n,r),mp(),OE}var AE=(e,t,n,r,o,i)=>(Kn(!0),Ba(r,o,$g()));function PE(e,t,n,r,o){let i=t.consts,s=ke(i,r),a=dn(t,e,8,"ng-container",s);s!==null&&ks(a,s,!0);let c=ke(i,o);return Da()&&rc(t,n,a,c,Ga),a.mergedAttrs=Qt(a.mergedAttrs,a.attrs),t.queries!==null&&t.queries.elementStart(t,a),a}function yp(e,t,n){let r=y(),o=O(),i=e+F,s=o.firstCreatePass?PE(i,o,r,t,n):o.data[i];me(s,!0);let a=FE(o,r,s,e);return r[i]=a,Jn()&&Ko(o,r,a,s),Ye(a,r),Lo(s)&&(Zo(o,r,s),La(o,s,r)),n!=null&&za(r,s),yp}function vp(){let e=Y(),t=O();return ba()?Ma():(e=e.parent,me(e,!1)),t.firstCreatePass&&(Na(t,e),Ia(e)&&t.queries.elementEnd(e)),vp}function LE(e,t,n){return yp(e,t,n),vp(),LE}var FE=(e,t,n,r)=>(Kn(!0),Xd(t[k],""));function cS(){return y()}var lt=void 0;function VE(e){let t=e,n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return n===1&&r===0?1:5}var jE=["en",[["a","p"],["AM","PM"],lt],[["AM","PM"],lt,lt],[["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"]],lt,[["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"]],lt,[["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}",lt,"{1} 'at' {0}",lt],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",VE],Tn={};function lS(e,t,n){typeof t!="string"&&(n=t,t=e[Wn.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),Tn[t]=e,n&&(Tn[t][Wn.ExtraData]=n)}function Ip(e){let t=$E(e),n=Kl(t);if(n)return n;let r=t.split("-")[0];if(n=Kl(r),n)return n;if(r==="en")return jE;throw new M(701,!1)}function uS(e){return Ip(e)[Wn.CurrencyCode]||null}function HE(e){return Ip(e)[Wn.PluralCase]}function Kl(e){return e in Tn||(Tn[e]=Ue.ng&&Ue.ng.common&&Ue.ng.common.locales&&Ue.ng.common.locales[e]),Tn[e]}var Wn=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}(Wn||{});function $E(e){return e.toLowerCase().replace(/_/g,"-")}var BE=["zero","one","two","few","many"];function UE(e,t){let n=HE(t)(parseInt(e,10)),r=BE[n];return r!==void 0?r:"other"}var _o="en-US",qE="USD",Ep={marker:"element"},wp={marker:"ICU"},_e=function(e){return e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT",e}(_e||{}),Dp=_o;function WE(e){typeof e=="string"&&(Dp=e.toLowerCase().replace(/_/g,"-"))}function zE(){return Dp}var zn=0,Nn=0;function GE(e){e&&(zn=zn|1<<Math.min(Nn,31)),Nn++}function QE(e,t,n){if(Nn>0){let r=e.data[n],o=Array.isArray(r)?r:r.update,i=Ca()-Nn-1;Mp(e,t,o,i,zn)}zn=0,Nn=0}function ZE(e,t,n){let r=e[k];switch(n){case Node.COMMENT_NODE:return Xd(r,t);case Node.TEXT_NODE:return Jd(r,t);case Node.ELEMENT_NODE:return Ba(r,t,null)}}var zr=(e,t,n,r)=>(Kn(!0),ZE(e,n,r));function YE(e,t,n,r){let o=e[k];for(let i=0;i<t.length;i++){let s=t[i++],a=t[i],c=(s&_e.COMMENT)===_e.COMMENT,l=(s&_e.APPEND_EAGERLY)===_e.APPEND_EAGERLY,u=s>>>_e.SHIFT,d=e[u],p=!1;d===null&&(d=e[u]=zr(e,u,a,c?Node.COMMENT_NODE:Node.TEXT_NODE),p=Jn()),l&&n!==null&&p&&wt(o,n,d,r,!1)}}function bp(e,t,n,r){let o=n[k],i=null,s;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="string"){let l=t[++a];n[l]===null&&(n[l]=zr(n,l,c,Node.TEXT_NODE))}else if(typeof c=="number")switch(c&1){case 0:let l=xv(c);i===null&&(i=l,s=o.parentNode(r));let u,d;if(l===i?(u=r,d=s):(u=null,d=de(n[l])),d!==null){let g=_v(c),I=n[g];wt(o,d,I,u,!1);let m=_n(e,g);if(m!==null&&typeof m=="object"){let S=ni(m,n);S!==null&&bp(e,m.create[S],n,n[m.anchorIdx])}}break;case 1:let p=c>>>1,f=t[++a],h=t[++a];Qa(o,Fo(p,n),null,null,f,h,null);break;default:}else switch(c){case wp:let l=t[++a],u=t[++a];if(n[u]===null){let f=n[u]=zr(n,u,l,Node.COMMENT_NODE);Ye(f,n)}break;case Ep:let d=t[++a],p=t[++a];if(n[p]===null){let f=n[p]=zr(n,p,d,Node.ELEMENT_NODE);Ye(f,n)}break;default:}}}function Mp(e,t,n,r,o){for(let i=0;i<n.length;i++){let s=n[i],a=n[++i];if(s&o){let c="";for(let l=i+1;l<=i+a;l++){let u=n[l];if(typeof u=="string")c+=u;else if(typeof u=="number")if(u<0)c+=he(t[r-u]);else{let d=u>>>2;switch(u&3){case 1:let p=n[++l],f=n[++l],h=e.data[d];typeof h=="string"?Qa(t[k],t[d],null,h,p,c,f):cn(e,h,t,p,c,t[k],f,!1);break;case 0:let g=t[d];g!==null&&Kd(t[k],g,c);break;case 2:JE(e,_n(e,d),t,c);break;case 3:Xl(e,_n(e,d),r,t);break}}}}else{let c=n[i+1];if(c>0&&(c&3)===3){let l=c>>>2,u=_n(e,l);t[u.currentCaseLViewIndex]<0&&Xl(e,u,r,t)}}i+=a}}function Xl(e,t,n,r){let o=r[t.currentCaseLViewIndex];if(o!==null){let i=zn;o<0&&(o=r[t.currentCaseLViewIndex]=~o,i=-1),Mp(e,r,t.update[o],n,i)}}function JE(e,t,n,r){let o=KE(t,r);if(ni(t,n)!==o&&(Cp(e,t,n),n[t.currentCaseLViewIndex]=o===null?null:~o,o!==null)){let s=n[t.anchorIdx];s&&bp(e,t.create[o],n,s),Av(n,t.anchorIdx,o)}}function Cp(e,t,n){let r=ni(t,n);if(r!==null){let o=t.remove[r];for(let i=0;i<o.length;i++){let s=o[i];if(s>0){let a=Fo(s,n);a!==null&&tf(n[k],a)}else Cp(e,_n(e,~s),n)}}}function KE(e,t){let n=e.cases.indexOf(t);if(n===-1)switch(e.type){case 1:{let r=UE(t,zE());n=e.cases.indexOf(r),n===-1&&r!=="other"&&(n=e.cases.indexOf("other"));break}case 0:{n=e.cases.indexOf("other");break}}return n===-1?null:n}var To=/�(\d+):?\d*�/gi;var XE=/�(\d+)�/,xp=/^\s*(�\d+:?\d*�)\s*,\s*(select|plural)\s*,/,Sn="\uFFFD",ew=/�\/?\*(\d+:\d+)�/gi,tw=/�(\/?[#*]\d+):?\d*�/gi,nw=/\uE500/g;function rw(e){return e.replace(nw," ")}function ow(e,t,n,r,o,i){let s=Pn(),a=[],c=[],l=[[]],u=[[]];o=sw(o,i);let d=rw(o).split(tw);for(let p=0;p<d.length;p++){let f=d[p];if((p&1)===0){let h=Zs(f);for(let g=0;g<h.length;g++){let I=h[g];if((g&1)===0){let m=I;m!==""&&iw(u[0],e,s,l[0],a,c,n,m)}else{let m=I;if(typeof m!="object")throw new Error(`Unable to parse ICU expression in "${o}" message.`);let Le=_p(e,s,l[0],n,a,"",!0).index;Np(u[0],e,n,c,t,m,Le)}}}else{let h=f.charCodeAt(0)===47,g=f.charCodeAt(h?1:0),I=F+Number.parseInt(f.substring(h?2:1));if(h)l.shift(),u.shift(),me(Pn(),!1);else{let m=Cv(e,l[0],I);l.unshift([]),me(m,!0);let S={kind:2,index:I,children:[],type:g===35?0:1};u[0].push(S),u.unshift(S.children)}}}e.data[r]={create:a,update:c,ast:u[0],parentTNodeIndex:t}}function _p(e,t,n,r,o,i,s){let a=nr(e,r,1,null),c=a<<_e.SHIFT,l=Pn();t===l&&(l=null),l===null&&(c|=_e.APPEND_EAGERLY),s&&(c|=_e.COMMENT,zy(Sv)),o.push(c,i===null?"":i);let u=nc(e,a,s?32:1,i===null?"":i,null);Nf(n,u);let d=u.index;return me(u,!1),l!==null&&t!==l&&Mv(l,d),u}function iw(e,t,n,r,o,i,s,a){let c=a.match(To),u=_p(t,n,r,s,o,c?null:a,!1).index;c&&Gr(i,a,u,null,0,null),e.push({kind:0,index:u})}function Gr(e,t,n,r,o,i){let s=e.length,a=s+1;e.push(null,null);let c=s+2,l=t.split(To),u=0;for(let d=0;d<l.length;d++){let p=l[d];if(d&1){let f=o+parseInt(p,10);e.push(-1-f),u=u|Tp(f)}else p!==""&&e.push(p)}return e.push(n<<2|(r?1:0)),r&&e.push(r,i),e[s]=u,e[a]=e.length-c,u}function Tp(e){return 1<<Math.min(e,31)}function eu(e){let t,n="",r=0,o=!1,i;for(;(t=ew.exec(e))!==null;)o?t[0]===`${Sn}/*${i}${Sn}`&&(r=t.index,o=!1):(n+=e.substring(r,t.index+t[0].length),i=t[1],o=!0);return n+=e.slice(r),n}function sw(e,t){if(Nv(t))return eu(e);{let n=e.indexOf(`:${t}${Sn}`)+2+t.toString().length,r=e.search(new RegExp(`${Sn}\\/\\*\\d+:${t}${Sn}`));return eu(e.substring(n,r))}}function Np(e,t,n,r,o,i,s){let a=0,c={type:i.type,currentCaseLViewIndex:nr(t,n,1,null),anchorIdx:s,cases:[],create:[],remove:[],update:[]};uw(r,i,s),bv(t,s,c);let l=i.values,u=[];for(let d=0;d<l.length;d++){let p=l[d],f=[];for(let g=0;g<p.length;g++){let I=p[g];if(typeof I!="string"){let m=f.push(I)-1;p[g]=`<!--\uFFFD${m}\uFFFD-->`}}let h=[];u.push(h),a=cw(h,t,c,n,r,o,i.cases[d],p.join(""),f)|a}a&&dw(r,a,s),e.push({kind:3,index:s,cases:u,currentCaseLViewIndex:c.currentCaseLViewIndex})}function aw(e){let t=[],n=[],r=1,o=0;e=e.replace(xp,function(s,a,c){return c==="select"?r=0:r=1,o=parseInt(a.slice(1),10),""});let i=Zs(e);for(let s=0;s<i.length;){let a=i[s++].trim();r===1&&(a=a.replace(/\s*(?:=)?(\w+)\s*/,"$1")),a.length&&t.push(a);let c=Zs(i[s++]);t.length>n.length&&n.push(c)}return{type:r,mainBinding:o,cases:t,values:n}}function Zs(e){if(!e)return[];let t=0,n=[],r=[],o=/[{}]/g;o.lastIndex=0;let i;for(;i=o.exec(e);){let a=i.index;if(i[0]=="}"){if(n.pop(),n.length==0){let c=e.substring(t,a);xp.test(c)?r.push(aw(c)):r.push(c),t=a+1}}else{if(n.length==0){let c=e.substring(t,a);r.push(c),t=a+1}n.push("{")}}let s=e.substring(t);return r.push(s),r}function cw(e,t,n,r,o,i,s,a,c){let l=[],u=[],d=[];n.cases.push(s),n.create.push(l),n.remove.push(u),n.update.push(d);let f=Bd(Pa()).getInertBodyElement(a),h=ws(f)||f;return h?Sp(e,t,n,r,o,l,u,d,h,i,c,0):0}function Sp(e,t,n,r,o,i,s,a,c,l,u,d){let p=0,f=c.firstChild;for(;f;){let h=nr(t,r,1,null);switch(f.nodeType){case Node.ELEMENT_NODE:let g=f,I=g.tagName.toLowerCase();if(Is.hasOwnProperty(I)){Ui(i,Ep,I,l,h),t.data[h]=I;let Ke=g.attributes;for(let ii=0;ii<Ke.length;ii++){let Xe=Ke.item(ii),dc=Xe.name.toLowerCase();!!Xe.value.match(To)?zd.hasOwnProperty(dc)&&(ja[dc]?Gr(a,Xe.value,h,Xe.name,0,Va):Gr(a,Xe.value,h,Xe.name,0,null)):fw(i,h,Xe)}let ve={kind:1,index:h,children:[]};e.push(ve),p=Sp(ve.children,t,n,r,o,i,s,a,f,h,u,d+1)|p,tu(s,h,d)}break;case Node.TEXT_NODE:let m=f.textContent||"",S=m.match(To);Ui(i,null,S?"":m,l,h),tu(s,h,d),S&&(p=Gr(a,m,h,null,0,null)|p),e.push({kind:0,index:h});break;case Node.COMMENT_NODE:let Le=XE.exec(f.textContent||"");if(Le){let Ke=parseInt(Le[1],10),ve=u[Ke];Ui(i,wp,"",l,h),Np(e,t,r,o,l,ve,h),lw(s,h,d)}break}f=f.nextSibling}return p}function tu(e,t,n){n===0&&e.push(t)}function lw(e,t,n){n===0&&(e.push(~t),e.push(t))}function uw(e,t,n){e.push(Tp(t.mainBinding),2,-1-t.mainBinding,n<<2|2)}function dw(e,t,n){e.push(t,1,n<<2|3)}function Ui(e,t,n,r,o){t!==null&&e.push(t),e.push(n,o,Tv(0,r,o))}function fw(e,t,n){e.push(t<<1|1,n.name,n.value)}var nu=0,pw=/\[(�.+?�?)\]/,hw=/\[(�.+?�?)\]|(�\/?\*\d+:\d+�)/g,gw=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,mw=/{([A-Z0-9_]+)}/g,yw=/�I18N_EXP_(ICU(_\d+)?)�/g,vw=/\/\*/,Iw=/\d+\:(\d+)/;function Ew(e,t={}){let n=e;if(pw.test(e)){let r={},o=[nu];n=n.replace(hw,(i,s,a)=>{let c=s||a,l=r[c]||[];if(l.length||(c.split("|").forEach(g=>{let I=g.match(Iw),m=I?parseInt(I[1],10):nu,S=vw.test(g);l.push([m,S,g])}),r[c]=l),!l.length)throw new Error(`i18n postprocess: unmatched placeholder - ${c}`);let u=o[o.length-1],d=0;for(let g=0;g<l.length;g++)if(l[g][0]===u){d=g;break}let[p,f,h]=l[d];return f?o.pop():u!==p&&o.push(p),l.splice(d,1),h})}return Object.keys(t).length&&(n=n.replace(gw,(r,o,i,s,a,c)=>t.hasOwnProperty(i)?`${o}${t[i]}${c}`:r),n=n.replace(mw,(r,o)=>t.hasOwnProperty(o)?t[o]:r),n=n.replace(yw,(r,o)=>{if(t.hasOwnProperty(o)){let i=t[o];if(!i.length)throw new Error(`i18n postprocess: unmatched ICU - ${r} with key: ${o}`);return i.shift()}return r})),n}function ww(e,t,n=-1){let r=O(),o=y(),i=F+e,s=ke(r.consts,t),a=Pn();if(r.firstCreatePass&&ow(r,a===null?0:a.index,o,i,s,n),r.type===2){let p=o[se];p[E]|=32}else o[E]|=32;let c=r.data[i],l=a===o[X]?null:a,u=lf(r,l,o),d=a&&a.type&8?o[a.index]:null;Rv(o,i,a,n),YE(o,c.create,u,d),ed(!0)}function Dw(){ed(!1)}function dS(e,t,n){ww(e,t,n),Dw()}function bw(e){let t=y();return GE(ae(t,Je(),e)),bw}function fS(e){QE(O(),y(),e+F)}function pS(e,t={}){return Ew(e,t)}var Mw=(e,t,n)=>{};function Cw(e,t,n,r){let o=y(),i=O(),s=Y();return kp(i,o,o[k],s,e,t,r),Cw}function xw(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[to],c=o[i+2];return a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function kp(e,t,n,r,o,i,s){let a=Lo(r),l=e.firstCreatePass?Zu(e):null,u=t[q],d=Qu(t),p=!0;if(r.type&3||s){let f=Ce(r,t),h=s?s(f):f,g=d.length,I=s?S=>s(de(S[r.index])):r.index,m=null;if(!s&&a&&(m=xw(e,t,o,r.index)),m!==null){let S=m.__ngLastListenerFn__||m;S.__ngNextListenerFn__=i,m.__ngLastListenerFn__=i,p=!1}else{i=iu(r,t,u,i),Mw(h,o,i);let S=n.listen(h,o,i);d.push(i,S),l&&l.push(o,I,g,g+1)}}else i=iu(r,t,u,i);if(p){let f=r.outputs?.[o],h=r.hostDirectiveOutputs?.[o];if(h&&h.length)for(let g=0;g<h.length;g+=2){let I=h[g],m=h[g+1];ru(r,e,t,I,m,o,i,d,l)}if(f&&f.length)for(let g of f)ru(r,e,t,g,o,o,i,d,l)}}function ru(e,t,n,r,o,i,s,a,c){let l=n[r],d=t.data[r].outputs[o],f=l[d].subscribe(s),h=a.length;a.push(s,f),c&&c.push(i,e.index,h,-(h+1))}function ou(e,t,n,r){let o=b(null);try{return A(6,t,n),n(r)!==!1}catch(i){return Yo(e,i),!1}finally{A(7,t,n),b(o)}}function iu(e,t,n,r){return function o(i){if(i===Function)return r;let s=en(e)?Me(e.index,t):t;ei(s,5);let a=ou(t,n,r,i),c=o.__ngNextListenerFn__;for(;c;)a=ou(t,n,c,i)&&a,c=c.__ngNextListenerFn__;return a}}function hS(e=1){return Hg(e)}function _w(e,t){let n=null,r=wy(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?Yd(e,i,!0):My(r,i))return o}return n}function gS(e){let t=y()[se][X];if(!t.projection){let n=e?e.length:1,r=t.projection=ig(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?_w(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function mS(e,t=0,n,r,o,i){let s=y(),a=O(),c=r?e+1:null;c!==null&&Bn(s,a,c,r,o,i,null,n);let l=dn(a,F+e,16,null,n||null);l.projection===null&&(l.projection=t),Ma();let d=!s[zt]||Yu();s[se][X].projection[l.projection]===null&&c!==null?Tw(s,a,c):d&&!Ka(l)&&Ky(a,s,l)}function Tw(e,t,n){let r=F+n,o=t.data[r],i=e[r],s=Zt(i,o.tView.ssrId),a=ln(e,o,void 0,{dehydratedView:s});un(i,a,0,Dt(o,s))}function Nw(e,t,n){return Rp(e,"",t,"",n),Nw}function Rp(e,t,n,r,o){let i=y(),s=tp(i,t,n,r);if(s!==z){let a=O(),c=_t();cn(a,c,i,e,s,i[k],o,!1)}return Rp}function Sw(e,t,n,r,o,i,s){let a=y(),c=np(a,t,n,r,o,i);if(c!==z){let l=O(),u=_t();cn(l,u,a,e,c,a[k],s,!1)}return Sw}function kw(e,t,n,r,o,i,s,a,c){let l=y(),u=rp(l,t,n,r,o,i,s,a);if(u!==z){let d=O(),p=_t();cn(d,p,l,e,u,l[k],c,!1)}return kw}function yS(e,t,n,r){Hf(e,t,n,r)}function vS(e){let t=y(),n=O(),r=xa();$o(r+1);let o=sc(n,r);if(e.dirty&&Cg(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=Bf(t,r);e.reset(i,bd),e.notifyOnChanges()}return!0}return!1}function IS(){return ic(y(),xa())}function ES(e,t,n,r,o){zf(t,Hf(e,n,r,o))}function wS(e,t,n,r){zf(e,dI(t,n,r))}function DS(e=1){$o(xa()+e)}function cc(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function bS(e){let t=Ku();return Vo(t,F+e)}function MS(e,t=""){let n=y(),r=O(),o=e+F,i=r.firstCreatePass?dn(r,o,1,t,null):r.data[o],s=Rw(r,n,i,t,e);n[o]=s,Jn()&&Ko(r,n,s,i),me(i,!1)}var Rw=(e,t,n,r,o)=>(Kn(!0),Jd(t[k],r));function Ow(e){return Op("",e,""),Ow}function Op(e,t,n){let r=y(),o=tp(r,e,t,n);return o!==z&&lc(r,ye(),o),Op}function Aw(e,t,n,r,o){let i=y(),s=np(i,e,t,n,r,o);return s!==z&&lc(i,ye(),s),Aw}function Pw(e,t,n,r,o,i,s){let a=y(),c=rp(a,e,t,n,r,o,i,s);return c!==z&&lc(a,ye(),c),Pw}function lc(e,t,n){let r=Fo(t,e);Kd(e[k],r,n)}function Lw(e,t,n){Md(t)&&(t=t());let r=y(),o=Je();if(ae(r,o,t)){let i=O(),s=_t();cn(i,s,r,e,t,r[k],n,!1)}return Lw}function CS(e,t){let n=Md(e);return n&&e.set(t),n}function Fw(e,t){let n=y(),r=O(),o=Y();return kp(r,n,n[k],o,e,t),Fw}var Ap={};function Vw(e){let t=O(),n=y(),r=e+F,o=dn(t,r,128,null,null);return me(o,!1),cc(t,n,r,Ap),Vw}function xS(e){sn("NgLet");let t=O(),n=y(),r=ye();return cc(t,n,r,e),e}function _S(e){let t=Ku(),n=Vo(t,F+e);if(n===Ap)throw new M(314,!1);return n}function jw(e,t,n){let r=O();if(r.firstCreatePass){let o=be(e);Ys(n,r.data,r.blueprint,o,!0),Ys(t,r.data,r.blueprint,o,!1)}}function Ys(e,t,n,r,o){if(e=K(e),Array.isArray(e))for(let i=0;i<e.length;i++)Ys(e[i],t,n,r,o);else{let i=O(),s=y(),a=Y(),c=Wt(e)?e:K(e.provide),l=Pu(e),u=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(Wt(e)||!e.multi){let f=new It(l,o,ri),h=Wi(c,t,o?u:u+p,d);h===-1?(os(co(a,s),i,c),qi(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[h]=f,s[h]=f)}else{let f=Wi(c,t,u+p,d),h=Wi(c,t,u,u+p),g=f>=0&&n[f],I=h>=0&&n[h];if(o&&!I||!o&&!g){os(co(a,s),i,c);let m=Bw(o?$w:Hw,n.length,o,r,l);!o&&I&&(n[h].providerFactory=m),qi(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(m),s.push(m)}else{let m=Pp(n[o?h:f],l,!o&&r);qi(i,e,f>-1?f:h,m)}!o&&r&&I&&n[h].componentProviders++}}}function qi(e,t,n,r){let o=Wt(t),i=hg(t);if(o||i){let c=(i?K(t.useClass):t).prototype.ngOnDestroy;if(c){let l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let u=l.indexOf(n);u===-1?l.push(n,[r,c]):l[u+1].push(r,c)}else l.push(n,c)}}}function Pp(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Wi(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function Hw(e,t,n,r){return Js(this.multi,[])}function $w(e,t,n,r){let o=this.multi,i;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=Ln(n,n[v],this.providerFactory.index,r);i=a.slice(0,s),Js(o,i);for(let c=s;c<a.length;c++)i.push(a[c])}else i=[],Js(o,i);return i}function Js(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function Bw(e,t,n,r,o){let i=new It(e,n,ri);return i.multi=[],i.index=t,i.componentProviders=0,Pp(i,o,r&&!n),i}function TS(e,t=[]){return n=>{n.providersResolver=(r,o)=>jw(r,o?o(e):e,t)}}function NS(e,t,n){let r=nn()+e,o=y();return o[r]===z?oi(o,r,n?t.call(n):t()):RI(o,r)}function SS(e,t,n,r){return Lp(y(),nn(),e,t,n,r)}function kS(e,t,n,r,o){return Fp(y(),nn(),e,t,n,r,o)}function RS(e,t,n,r,o,i,s){return Uw(y(),nn(),e,t,n,r,o,i,s)}function uc(e,t){let n=e[t];return n===z?void 0:n}function Lp(e,t,n,r,o,i){let s=t+n;return ae(e,s,o)?oi(e,s+1,i?r.call(i,o):r(o)):uc(e,s+1)}function Fp(e,t,n,r,o,i,s){let a=t+n;return $n(e,a,o,i)?oi(e,a+2,s?r.call(s,o,i):r(o,i)):uc(e,a+2)}function Uw(e,t,n,r,o,i,s,a,c){let l=t+n;return AI(e,l,o,i,s,a)?oi(e,l+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):uc(e,l+4)}function OS(e,t){let n=O(),r,o=e+F;n.firstCreatePass?(r=qw(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=ft(r.type,!0)),s,a=re(ri);try{let c=ao(!1),l=i();return ao(c),cc(n,y(),o,l),l}finally{re(a)}}function qw(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function AS(e,t,n){let r=e+F,o=y(),i=Vo(o,r);return Vp(o,r)?Lp(o,nn(),t,i.transform,n,i):i.transform(n)}function PS(e,t,n,r){let o=e+F,i=y(),s=Vo(i,o);return Vp(i,o)?Fp(i,nn(),t,s.transform,n,r,s):s.transform(n,r)}function Vp(e,t){return e[v].data[t].pure}function LS(e,t){return ti(e,t)}var su=class{full;major;minor;patch;constructor(t){this.full=t;let n=t.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}};var Ks=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},FS=(()=>{class e{compileModuleSync(n){return new js(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=ku(n),i=Qd(o.declarations).reduce((s,a)=>{let c=we(a);return c&&s.push(new Mt(c)),s},[]);return new Ks(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Ww=(()=>{class e{zone=_(ue);changeDetectionScheduler=_(Ze);applicationRef=_(Un);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function zw({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new ue(te(ee({},Gw()),{scheduleInRootZone:n})),[{provide:ue,useFactory:e},{provide:Xr,multi:!0,useFactory:()=>{let r=_(Ww,{optional:!0});return()=>r.initialize()}},{provide:Xr,multi:!0,useFactory:()=>{let r=_(Qw);return()=>{r.initialize()}}},t===!0?{provide:Ed,useValue:!0}:[],{provide:Ra,useValue:n??Id}]}function Gw(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var Qw=(()=>{class e{subscription=new j;initialized=!1;zone=_(ue);pendingTasks=_(Tt);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(()=>{ue.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{ue.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var jp=(()=>{class e{appRef=_(Un);taskService=_(Tt);ngZone=_(ue);zonelessEnabled=_(ka);tracing=_(Ad,{optional:!0});disableScheduling=_(Ed,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new j;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(uo):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(_(Ra,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){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 fo||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;let r=!1;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 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{this.appRef.dirtyFlags|=16,r=!0;break}case 13:{this.appRef.dirtyFlags|=2,r=!0;break}case 11:{r=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?Il:wd;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(uo+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(n),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Il(()=>{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 \u0275fac=function(r){return new(r||e)};static \u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function VS(){return sn("NgZoneless"),lg([{provide:Ze,useExisting:jp},{provide:ue,useClass:fo},{provide:ka,useValue:!0},{provide:Ra,useValue:!1},[]])}function Zw(){return typeof $localize<"u"&&$localize.locale||_o}var Hp=new R("",{providedIn:"root",factory:()=>_(Hp,T.Optional|T.SkipSelf)||Zw()}),jS=new R("",{providedIn:"root",factory:()=>qE});var Xs=new R(""),Yw=new R("");function bn(e){return!e.moduleRef}function Jw(e){let t=bn(e)?e.r3Injector:e.moduleRef.injector,n=t.get(ue);return n.run(()=>{bn(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Et,null),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:i=>{r.handleError(i)}})}),bn(e)){let i=()=>t.destroy(),s=e.platformInjector.get(Xs);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Xs);s.add(i),e.moduleRef.onDestroy(()=>{Wr(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return Xw(r,n,()=>{let i=t.get(ep);return i.runInitializers(),i.donePromise.then(()=>{let s=t.get(Hp,_o);if(WE(s||_o),!t.get(Yw,!0))return bn(e)?t.get(Un):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(bn(e)){let c=t.get(Un);return e.rootComponent!==void 0&&c.bootstrap(e.rootComponent),c}else return Kw(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function Kw(e,t){let n=e.injector.get(Un);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)}function Xw(e,t,n){try{let r=n();return Xf(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var Qr=null;function eD(e=[],t){return Qe.create({name:t,providers:[{provide:Au,useValue:"platform"},{provide:Xs,useValue:new Set([()=>Qr=null])},...e]})}function tD(e=[]){if(Qr)return Qr;let t=eD(e);return Qr=t,YI(),nD(t),t}function nD(e){let t=e.get(wm,null);Lu(e,()=>{t?.forEach(n=>n())})}var rD=(()=>{class e{static __NG_ELEMENT_ID__=oD}return e})();function oD(e){return iD(Y(),y(),(e&16)===16)}function iD(e,t,n){if(en(e)&&!n){let r=Me(e.index,t);return new bt(r,r)}else if(e.type&175){let r=t[se];return new bt(r,t)}return null}var ea=class{constructor(){}supports(t){return Jf(t)}create(t){return new ta(t)}},sD=(e,t)=>t,ta=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(t){this._trackByFn=t||sD}forEachItem(t){let n;for(n=this._itHead;n!==null;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){let s=!r||n&&n.currentIndex<au(r,o,i)?n:r,a=au(s,o,i),c=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(n=n._next,s.previousIndex==null)o++;else{i||(i=[]);let l=a-o,u=c-o;if(l!=u){for(let p=0;p<l;p++){let f=p<i.length?i[p]:i[p]=0,h=f+p;u<=h&&h<l&&(i[p]=f+1)}let d=s.previousIndex;i[d]=u-l}}a!==c&&t(s,a,c)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;n!==null;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;n!==null;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;n!==null;n=n._nextIdentityChange)t(n)}diff(t){if(t==null&&(t=[]),!Jf(t))throw new M(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._itHead,r=!1,o,i,s;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[a],s=this._trackByFn(a,i),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,i,s,a),r=!0):(r&&(n=this._verifyReinsertion(n,i,s,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)),n=n._next}else o=0,kI(t,a=>{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return t===null?i=this._itTail:(i=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):(t=this._linkedRecords===null?null:this._linkedRecords.get(r,o),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new na(n,r),i,o)),t}_verifyReinsertion(t,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let o=t._prevRemoved,i=t._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){let o=n===null?this._itHead:n._next;return t._next=o,t._prev=n,o===null?this._itTail=t:o._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new No),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,r=t._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new No),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},na=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(t,n){this.item=t,this.trackById=n}},ra=class{_head=null;_tail=null;add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let n=t._prevDup,r=t._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},No=class{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new ra,this.map.set(n,r)),r.add(t)}get(t,n){let r=t,o=this.map.get(r);return o?o.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function au(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}var oa=class{constructor(){}supports(t){return t instanceof Map||ac(t)}create(){return new ia}},ia=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;_removalsTail=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(t){let n;for(n=this._mapHead;n!==null;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;n!==null;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;n!==null;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}diff(t){if(!t)t=new Map;else if(!(t instanceof Map||ac(t)))throw new M(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){let r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){let o=this._records.get(t);this._maybeAddToChanges(o,n);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new sa(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;t!==null;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;t!=null;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){this._additionsHead===null?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){this._changesHead===null?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}},sa=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function cu(){return new aD([new ea])}var aD=(()=>{class e{factories;static \u0275prov=W({token:e,providedIn:"root",factory:cu});constructor(n){this.factories=n}static create(n,r){if(r!=null){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||cu()),deps:[[e,new _u,new xu]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new M(901,!1)}}return e})();function lu(){return new cD([new oa])}var cD=(()=>{class e{static \u0275prov=W({token:e,providedIn:"root",factory:lu});factories;constructor(n){this.factories=n}static create(n,r){if(r){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||lu()),deps:[[e,new _u,new xu]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new M(901,!1)}}return e})();function HS(e){A(8);try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=tD(r),i=[zw({}),{provide:Ze,useExisting:jp},...n||[]],s=new Do({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1});return Jw({r3Injector:s.injector,platformInjector:o,rootComponent:t})}catch(t){return Promise.reject(t)}finally{A(9)}}function $S(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function BS(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function Ie(e){let t=b(null);try{return e()}finally{b(t)}}function Zr(e,t){let n=Mi(e);return t?.equal&&(n[B].equal=t.equal),n}var lD=!1,uD=(()=>{class e extends bo{pendingTasks=_(Tt);taskId=null;schedule(n){super.schedule(n),this.taskId===null&&(this.taskId=this.pendingTasks.add(),queueMicrotask(()=>this.flush()))}flush(){try{super.flush()}finally{this.taskId!==null&&(this.pendingTasks.remove(this.taskId),this.taskId=null)}}static \u0275prov=W({token:e,providedIn:"root",factory:()=>new e})}return e})(),aa=class{scheduler;effectFn;zone;injector;unregisterOnDestroy;watcher;constructor(t,n,r,o,i,s){this.scheduler=t,this.effectFn=n,this.zone=r,this.injector=i,this.watcher=rl(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(n){this.injector.get(Et,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.schedule(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function dD(){}function fD(e,t){!t?.injector&&va(dD);let n=t?.injector??_(Qe),r=t?.manualCleanup!==!0?n.get(rn):null,o=new aa(n.get(uD),e,typeof Zone>"u"?null:Zone.current,r,n,t?.allowSignalWrites??!1),i=n.get(rD,null,{optional:!0});return!i||!(i._lView[E]&8)?o.watcher.notify():(i._lView[Hr]??=[]).push(o.watcher.notify),o}var pD=lD;var ca=class{[B];constructor(t){this[B]=t}destroy(){this[B].destroy()}};function $p(e,t){if(pD)return fD(e,t);!t?.injector&&va($p);let n=t?.injector??_(Qe),r=t?.manualCleanup!==!0?n.get(rn):null,o,i=n.get(Pd,null,{optional:!0}),s=n.get(Ze);return i!==null&&!t?.forceRoot?(o=mD(i.view,s,e),r instanceof lo&&r._lView===i.view&&(r=null)):o=yD(e,n.get(Kf),s),o.injector=n,r!==null&&(o.onDestroyFn=r.onDestroy(()=>o.destroy())),new ca(o)}var Bp=te(ee({},$e),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:Fn,run(){if(this.dirty=!1,this.hasRun&&!Dn(this))return;this.hasRun=!0;let e=r=>(this.cleanupFns??=[]).push(r),t=ct(this),n=oo(!1);try{this.maybeCleanup(),this.fn(e)}finally{oo(n),Ft(this,t)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),hD=te(ee({},Bp),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){Vt(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),gD=te(ee({},Bp),{consumerMarkedDirty(){this.view[E]|=8192,Yn(this.view),this.notifier.notify(13)},destroy(){Vt(this),this.onDestroyFn(),this.maybeCleanup(),this.view[gt]?.delete(this)}});function mD(e,t,n){let r=Object.create(gD);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=n,e[gt]??=new Set,e[gt].add(r),r.consumerMarkedDirty(r),r}function yD(e,t,n){let r=Object.create(hD);return r.fn=e,r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.schedule(r),r.notifier.notify(12),r}var V=function(e){return e[e.Idle=0]="Idle",e[e.Error=1]="Error",e[e.Loading=2]="Loading",e[e.Reloading=3]="Reloading",e[e.Resolved=4]="Resolved",e[e.Local=5]="Local",e}(V||{}),vD=e=>e;function uu(e,t){if(typeof e=="function"){let n=_i(e,vD,t?.equal);return du(n)}else{let n=_i(e.source,e.computation,e.equal);return du(n)}}function du(e){let t=e[B],n=e;return n.set=r=>tl(t,r),n.update=r=>nl(t,r),n.asReadonly=Uo.bind(e),n}function ID(e){e?.injector||va(ID);let t=e.request??(()=>null);return new ua(t,wD(e),e.defaultValue,e.equal?ED(e.equal):void 0,e.injector??_(Qe))}var la=class{value;constructor(t){this.value=t,this.value.set=this.set.bind(this),this.value.update=this.update.bind(this),this.value.asReadonly=Uo}update(t){this.set(t(Ie(this.value)))}isLoading=Zr(()=>this.status()===V.Loading||this.status()===V.Reloading);hasValue(){return this.value()!==void 0}asReadonly(){return this}},ua=class extends la{loaderFn;defaultValue;equal;pendingTasks;state;extRequest;effectRef;pendingController;resolvePendingTask=void 0;destroyed=!1;constructor(t,n,r,o,i){super(Zr(()=>{let s=this.state().stream?.();return s&&da(s)?s.value:this.defaultValue},{equal:o})),this.loaderFn=n,this.defaultValue=r,this.equal=o,this.extRequest=uu({source:t,computation:s=>({request:s,reload:0})}),this.state=uu({source:this.extRequest,computation:(s,a)=>{let c=s.request===void 0?V.Idle:V.Loading;return a?{extRequest:s,status:c,previousStatus:fu(a.value),stream:a.value.extRequest.request===s.request?a.value.stream:void 0}:{extRequest:s,status:c,previousStatus:V.Idle,stream:void 0}}}),this.effectRef=$p(this.loadEffect.bind(this),{injector:i,manualCleanup:!0}),this.pendingTasks=i.get(im),i.get(rn).onDestroy(()=>this.destroy())}status=Zr(()=>fu(this.state()));error=Zr(()=>{let t=this.state().stream?.();return t&&!da(t)?t.error:void 0});set(t){if(this.destroyed)return;let n=Ie(this.value),r=Ie(this.state);r.status===V.Local&&(this.equal?this.equal(n,t):n===t)||(this.state.set({extRequest:r.extRequest,status:V.Local,previousStatus:V.Local,stream:Vn({value:t})}),this.abortInProgressLoad())}reload(){let{status:t}=Ie(this.state);return t===V.Idle||t===V.Loading?!1:(this.extRequest.update(({request:n,reload:r})=>({request:n,reload:r+1})),!0)}destroy(){this.destroyed=!0,this.effectRef.destroy(),this.abortInProgressLoad(),this.state.set({extRequest:{request:void 0,reload:0},status:V.Idle,previousStatus:V.Idle,stream:void 0})}async loadEffect(){let t=this.extRequest(),{status:n,previousStatus:r}=Ie(this.state);if(t.request===void 0)return;if(n!==V.Loading)return;this.abortInProgressLoad();let o=this.resolvePendingTask=this.pendingTasks.add(),{signal:i}=this.pendingController=new AbortController;try{let s=await Ie(()=>this.loaderFn({request:t.request,abortSignal:i,previous:{status:r}}));if(i.aborted||Ie(this.extRequest)!==t)return;this.state.set({extRequest:t,status:V.Resolved,previousStatus:V.Resolved,stream:s})}catch(s){if(i.aborted||Ie(this.extRequest)!==t)return;this.state.set({extRequest:t,status:V.Resolved,previousStatus:V.Error,stream:Vn({error:s})})}finally{o?.(),o=void 0}}abortInProgressLoad(){Ie(()=>this.pendingController?.abort()),this.pendingController=void 0,this.resolvePendingTask?.(),this.resolvePendingTask=void 0}};function ED(e){return(t,n)=>t===void 0||n===void 0?t===n:e(t,n)}function wD(e){return DD(e)?e.stream:async t=>{try{return Vn({value:await e.loader(t)})}catch(n){return Vn({error:n})}}}function DD(e){return!!e.stream}function fu(e){switch(e.status){case V.Loading:return e.extRequest.reload===0?V.Loading:V.Reloading;case V.Resolved:return da(Ie(e.stream))?V.Resolved:V.Error;default:return e.status}}function da(e){return e.error===void 0}function US(e,t){let n=we(e),r=t.elementInjector||Ao();return new Mt(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector)}function qS(e){let t=we(e);if(!t)return null;let n=new Mt(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}export{B as a,j as b,zp as c,N as d,mi as e,yi as f,ce as g,gn as h,mn as i,ot as j,Ve as k,nh as l,oh as m,ih as n,it as o,je as p,ph as q,st as r,vi as s,Tr as t,gh as u,mh as v,yn as w,vh as x,hi as y,Ih as z,rh as A,vn as B,Mr as C,Rc as D,wh as E,Ii as F,Dh as G,bh as H,Mh as I,Ch as J,xh as K,Oc as L,Ac as M,Uc as N,M as O,ie as P,yu as Q,W as R,yN as S,vN as T,R as U,T as V,Ge as W,_ as X,lg as Y,Au as Z,Te as _,Lu as $,va as aa,IN as ba,EN as ca,wN as da,DN as ea,bN as fa,MN as ga,Qe as ha,rn as ia,Tt as ja,qe as ka,ue as la,Et as ma,po as na,CN as oa,xN as pa,Bo as qa,gm as ra,Vn as sa,_N as ta,TN as ua,wm as va,NN as wa,SN as xa,Dm as ya,kN as za,Ad as Aa,sn as Ba,jn as Ca,an as Da,Fa as Ea,RN as Fa,ON as Ga,AN as Ha,PN as Ia,LN as Ja,Va as Ka,ay as La,Go as Ma,FN as Na,ly as Oa,VN as Pa,jN as Qa,HN as Ra,Ms as Sa,mo as Ta,vo as Ua,UN as Va,ri as Wa,oc as Xa,WN as Ya,zN as Za,GN as _a,Ct as $a,Vs as ab,QN as bb,Qf as cb,ZN as db,YN as eb,JN as fb,KN as gb,CI as hb,LI as ib,XN as jb,Xf as kb,GI as lb,ZI as mb,Un as nb,eS as ob,tS as pb,oE as qb,yE as rb,vE as sb,IE as tb,nS as ub,rS as vb,oS as wb,iS as xb,sS as yb,aS as zb,gp as Ab,mp as Bb,OE as Cb,yp as Db,vp as Eb,LE as Fb,cS as Gb,lS as Hb,Ip as Ib,uS as Jb,HE as Kb,Wn as Lb,ww as Mb,Dw as Nb,dS as Ob,bw as Pb,fS as Qb,pS as Rb,Cw as Sb,hS as Tb,gS as Ub,mS as Vb,Nw as Wb,Rp as Xb,Sw as Yb,kw as Zb,yS as _b,vS as $b,IS as ac,ES as bc,wS as cc,DS as dc,bS as ec,MS as fc,Ow as gc,Op as hc,Aw as ic,Pw as jc,Lw as kc,CS as lc,Fw as mc,Vw as nc,xS as oc,_S as pc,TS as qc,NS as rc,SS as sc,kS as tc,RS as uc,OS as vc,AS as wc,PS as xc,LS as yc,su as zc,FS as Ac,VS as Bc,Hp as Cc,jS as Dc,rD as Ec,aD as Fc,cD as Gc,HS as Hc,$S as Ic,BS as Jc,Ie as Kc,Zr as Lc,$p as Mc,ID as Nc,US as Oc,qS as Pc};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as v}from"./chunk-64CRTZO6.js";import{D as s,Lc as n,Mc as g,R as o,X as r,sa as t}from"./chunk-RY7J7BHG.js";var c=[{value:"Disabled",label:$localize`Disabled`},{value:"Verbose",label:$localize`Verbose`},{value:"ExplicitOnly",label:$localize`Explicit only`},{value:"Profiling",label:$localize`Profiling`},{value:"Retry",label:$localize`Retry`},{value:"Information",label:$localize`Information`},{value:"DryRun",label:$localize`Dry run`},{value:"Warning",label:$localize`Warning`},{value:"Error",label:$localize`Error`}],L=class a{#e=r(v);LOG_LEVELS=c;logLevel=t("Disabled");logLevelByLabel=n(()=>c.find(e=>e.value===this.logLevel())?.label);id=t(0);logs=t([]);timerInterval;logsLoading=t(!1);pagination=t({offset:0,pagesize:100});logLevelEffect=g(()=>{this.logLevel()==="Disabled"?this.timerInterval=void 0:(this.logs.set([]),this.id.set(0),queueMicrotask(()=>this.loadLogs()),this.timerInterval&&clearInterval(this.timerInterval),this.timerInterval=setInterval(()=>{this.loadLogs()},3e3))});loadLogs(){this.logsLoading.set(!0),this.#e.getApiV1LogdataPoll({id:this.id(),level:this.logLevel(),pagesize:this.pagination().pagesize}).pipe(s(()=>this.logsLoading.set(!1))).subscribe({next:e=>{let l=e.reverse(),i=this.#l(l);i>0&&this.id.set(i),this.logs.set([...l,...this.logs()])}})}updateLogLevel(e){this.logLevel.set(e)}#l(e){return e.reduce((l,i)=>Math.max(l,i.ID),0)}destroy(){this.logLevel.set("Disabled"),this.timerInterval&&clearInterval(this.timerInterval)}static \u0275fac=function(l){return new(l||a)};static \u0275prov=o({token:a,factory:a.\u0275fac,providedIn:"root"})};export{L as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as z}from"./chunk-
|
|
1
|
+
import{a as z}from"./chunk-5CB3EQEQ.js";import"./chunk-TGK3F3XP.js";import"./chunk-TDXJNPMY.js";import"./chunk-ZDCJ72UD.js";import{a as X}from"./chunk-AKURWKKM.js";import"./chunk-BSJ6OMWB.js";import"./chunk-W4U2FPZX.js";import{e as E}from"./chunk-NQYRWS7A.js";import"./chunk-2X7AJBJY.js";import{a as R,g as f,h as k,k as G,p as w}from"./chunk-3WHFK5U5.js";import{b as L}from"./chunk-64CRTZO6.js";import"./chunk-VDB64BFB.js";import"./chunk-ERQAUCCL.js";import"./chunk-QZEFXB74.js";import{Ab as e,Bb as i,Cb as s,Db as D,Eb as b,Mb as h,Nb as y,Ob as c,Pb as A,Qb as I,Ra as p,Tb as S,X as d,db as O,fc as l,ib as m,ic as B,ob as M,pb as P,rb as u,rc as g,sc as v,wb as F,xb as N,yb as x,zb as $}from"./chunk-RY7J7BHG.js";import"./chunk-7CGTOI24.js";var W=()=>[k,f,R,E],j=()=>["/restore-from-files"],K=()=>["/restore/from-config"],q=t=>["/restore",t];function V(t,r){if(t&1&&(e(0,"spk-card",5),s(1,"img",10),e(2,"div",7)(3,"h3"),c(4,1),i(),e(5,"p"),l(6),i()(),e(7,"button",8),h(8,2),s(9,"spk-icon"),y(),i()()),t&2){let n,a,o=r.$implicit;p(4),A((n=o.Backup==null?null:o.Backup.Name)!==null&&n!==void 0?n:"Backup name missing"),I(4),p(2),B(" ",(a=o.Backup==null||o.Backup.Metadata==null?null:o.Backup.Metadata.SourceSizeString)!==null&&a!==void 0?a:"-"," / ",(a=o.Backup==null||o.Backup.Metadata==null?null:o.Backup.Metadata.BackupListCount)!==null&&a!==void 0?a:"-"," "),p(),u("routerLink",v(4,q,o.Backup==null?null:o.Backup.ID))}}function H(t,r){if(t&1&&x(0,V,10,6,"spk-card",5,N),t&2){let n=S(2);$(n.backups())}}function J(t,r){t&1&&(D(0),c(1,3),b())}function Q(t,r){if(t&1&&m(0,H,2,0)(1,J,2,0,"ng-container"),t&2){let n=S();F(n.backups().length?0:1)}}function U(t,r){t&1&&(e(0,"div",11),s(1,"spk-progress-bar",12),e(2,"div",7)(3,"h3"),c(4,4),i()()())}var C=class t{#e=d(X);#t=d(L);backups=this.#e.backups;backupsLoading=this.#e.backupsLoading;ngOnInit(){this.#e.getBackups()}restoreNow(r){this.#t.postApiV1BackupByIdRestore({id:r.Backup?.ID,requestBody:{}})}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=O({type:t,selectors:[["app-restore"]],decls:32,vars:5,consts:()=>{let r;r=$localize`Where do you want to restore from?`;let n;n=$localize`Restore ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let a;a=$localize` Restore ${"\uFFFD#9\uFFFD"}:START_TAG_SPK_ICON:arrow-right${"\uFFFD/#9\uFFFD"}:CLOSE_TAG_SPK_ICON:`;let o;o=$localize`No backups founds`;let T;return T=$localize`Loading backups...`,[r,n,a,o,T,[1,"type-a"],["src","assets/images/backup.png","alt","","width","48px"],[1,"text"],["spk-button","",3,"routerLink"],["src","assets/images/restore.png","alt","","width","48px"],["src","assets/images/folder.png","alt","","width","48px"],[1,"loading-list"],[1,"indeterminate","primary"]]},template:function(n,a){n&1&&(s(0,"app-status-bar"),e(1,"section")(2,"h2"),c(3,0),i(),e(4,"spk-card",5),s(5,"img",6),e(6,"div",7)(7,"h3"),l(8,"Direct restore from backup files"),i(),e(9,"p"),l(10,"Point to your backup files and restore from there."),i()(),e(11,"button",8),l(12," Start "),e(13,"spk-icon"),l(14,"play-circle"),i()()(),e(15,"spk-card",5),s(16,"img",9),e(17,"div",7)(18,"h3"),l(19,"Restore from configuration"),i(),e(20,"p"),l(21,"Load destination from an exported job or a storage provider"),i()(),e(22,"button",8),l(23," Start "),e(24,"spk-icon"),l(25,"play-circle"),i()()(),e(26,"spk-divider"),l(27,"Or existing"),i(),m(28,Q,2,1)(29,U,5,0),M(30,28,W,null,29),i()),n&2&&(p(11),u("routerLink",g(3,j)),p(11),u("routerLink",g(4,K)),p(8),P(!a.backupsLoading()))},dependencies:[z,k,f,G,R,w,E],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{C as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{ua as m}from"./chunk-
|
|
1
|
+
import{ua as m}from"./chunk-ERQAUCCL.js";import{X as s,gb as p}from"./chunk-RY7J7BHG.js";var f=class a{decimalPipe=s(m);transform(t,e=!1){if(!t||t===0||(typeof t=="string"&&(t=parseInt(t)),isNaN(t)))return"";let r=this.#t(),n=r?["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"]:["Bytes","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"],i=Math.floor(Math.log(t)/Math.log(r?1e3:1024));i=Math.min(i,n.length-1);let l=t/Math.pow(r?1e3:1024,i),o=this.decimalPipe.transform(l,"1.0-2");return o?`${o} ${e?n[i]:n[i].replace("Bytes","B")}`:""}#t(){if(navigator.userAgentData?.platform.toLowerCase().includes("mac"))return!0;let t=["mac","macintosh","os x","apple"],e=((navigator.userAgent||navigator.platform||navigator.vendor)??"").toLowerCase();return e?t.some(r=>e.includes(r)):!1}static \u0275fac=function(e){return new(e||a)};static \u0275pipe=p({name:"bytes",type:a,pure:!0})};export{f as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as S}from"./chunk-
|
|
1
|
+
import{a as S}from"./chunk-TDXJNPMY.js";import{a as B}from"./chunk-ZDCJ72UD.js";import{a as z}from"./chunk-AKURWKKM.js";import{b as m,c as h}from"./chunk-64CRTZO6.js";import{D as u,L as f,Lc as d,Mc as P,R as k,X as o,l as p,p as g,sa as n}from"./chunk-RY7J7BHG.js";import{a as l,b as a}from"./chunk-7CGTOI24.js";var $={Backup_Begin:$localize`Starting backup …`,Backup_PreBackupVerify:$localize`Verifying backend data …`,Backup_PostBackupTest:$localize`Verifying remote data …`,Backup_PreviousBackupFinalize:$localize`Completing previous backup …`,Backup_ProcessingFiles:$localize`Processing files to backup …`,Backup_Finalize:$localize`Completing backup …`,Backup_WaitForUpload:$localize`Waiting for upload to finish …`,Backup_Delete:$localize`Deleting unwanted files …`,Backup_Compact:$localize`Compacting remote data …`,Backup_VerificationUpload:$localize`Uploading verification file …`,Backup_PostBackupVerify:$localize`Verifying backend data …`,Backup_Complete:$localize`Backup complete!`,Restore_Begin:$localize`Starting restore …`,Restore_RecreateDatabase:$localize`Rebuilding local database …`,Restore_PreRestoreVerify:$localize`Verifying remote data …`,Restore_CreateFileList:$localize`Building list of files to restore …`,Restore_CreateTargetFolders:$localize`Creating target folders …`,Restore_ScanForExistingFiles:$localize`Scanning existing files …`,Restore_ScanForLocalBlocks:$localize`Scanning for local blocks …`,Restore_PatchWithLocalBlocks:$localize`Patching files with local blocks …`,Restore_DownloadingRemoteFiles:$localize`Downloading files …`,Restore_PostRestoreVerify:$localize`Verifying restored files …`,Restore_Complete:$localize`Restore complete!`,Recreate_Running:$localize`Recreating database …`,Vacuum_Running:$localize`Vacuuming database …`,Repair_Running:$localize`Repairing database …`,Verify_Running:$localize`Verifying files …`,BugReport_Running:$localize`Creating bug report …`,Delete_Listing:$localize`Listing remote files …`,Delete_Deleting:$localize`Deleting remote files …`,"PurgeFiles_Begin,":$localize`Listing remote files for purge …`,"PurgeFiles_Process,":$localize`Purging files …`,"PurgeFiles_Compact,":$localize`Compacting remote data …`,"PurgeFiles_Complete,":$localize`Purging files complete!`,Error:$localize`Error!`},_=class r{#i=o(S);#a=o(h);#r=o(m);#o=o(z);#e=o(B);#t=n(!1);#l=n(null);statusData=this.#l.asReadonly();serverState=d(()=>{let e=this.#e.serverState();return e?(e.ProposedSchedule=e.ProposedSchedule?.map(i=>a(l({},i),{backup:i.Item1?this.#o.getBackupById(i.Item1):null})),e):null});isFetching=this.#t.asReadonly();connectionStatus=this.#e.connectionStatus;setConnectionMethod(e){this.#e.setConnectionMethod(e)}pollingInterval;#p=P(()=>{let e=this.#e.serverState();e?.ActiveTask&&this.pollingInterval===void 0?this.pollingInterval=setInterval(()=>{this.#n()},1e3):e?.ActiveTask||this.stopPollingProgress()});stopPollingProgress(){clearInterval(this.pollingInterval)}#n(){this.#t.set(!0),this.#a.getApiV1Progressstate().pipe(f(e=>{let i=e.TaskID??null;return i===null?p(e):this.#r.getApiV1TaskByTaskid({taskid:i}).pipe(g(t=>a(l({},e),{task:t??null})))}),u(()=>this.#t.set(!1))).subscribe({next:e=>{let i=e.TaskID??null,t=e.BackupID??null;i!==null&&t!==null&&(e.backup=this.#o.getBackupById(t)),this.#l.set(a(l({},e),{progress:this.#s(e),statusText:this.#c(e),actionText:e.backup?.Backup?.Name??$localize`Running task`}))},error:e=>{e.status===404&&this.stopPollingProgress()}})}#s(e){let i=-1;if(e.task&&e)if(e.Phase==="Backup_ProcessingFiles"||e.Phase==="Restore_DownloadingRemoteFiles")if(e.StillCounting)i=0;else{let t=e.CurrentFilecomplete?0:e.CurrentFileoffset,s=e.TotalFileCount-e.ProcessedFileCount,c=e.TotalFileSize-e.ProcessedFileSize-t;i=(e.ProcessedFileSize+t)/e.TotalFileSize,e.ProcessedFileCount===0?i=0:i>=.9&&(i=.9)}else e.Phase==="Backup_Finalize"||e.Phase==="Backup_WaitForUpload"?i=.9:e.Phase==="Backup_Delete"||e.Phase==="Backup_Compact"?i=.95:e.Phase==="Backup_VerificationUpload"||e.Phase==="Backup_PostBackupVerify"?i=.98:e.Phase==="Backup_Complete"||e.Phase==="Backup_WaitForUpload"?i=1:e.OverallProgress>0&&(i=e.OverallProgress);return i}#c(e){let i="Running \u2026";if(e.task&&e&&(i=e.Phase?$[e.Phase]:"Running \u2026",e.Phase==="Backup_ProcessingFiles"||e.Phase==="Restore_DownloadingRemoteFiles"))if(e.StillCounting)i=`Counting (${e.TotalFileCount} files found, ${this.#i.transform(e.TotalFileSize)})`;else{let t=e.CurrentFilecomplete?0:e.CurrentFileoffset,s=e.TotalFileCount-e.ProcessedFileCount,c=e.TotalFileSize-e.ProcessedFileSize-t,R=e.BackendSpeed<0?"":` at ${this.#i.transform(e.BackendSpeed)}/s`;i=`${e.Phase==="Restore_DownloadingRemoteFiles"?"Restoring: ":""}${s} files (${this.#i.transform(c)}) to go ${R}`}return i}static \u0275fac=function(i){return new(i||r)};static \u0275prov=k({token:r,factory:r.\u0275fac,providedIn:"root"})};export{_ as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{j as a,k as b}from"./chunk-3CRLUTKZ.js";import"./chunk-J242X4NN.js";import"./chunk-DNHLTHLR.js";import"./chunk-F2L6ATMF.js";import"./chunk-KA2H467C.js";import"./chunk-Z2LU6ASK.js";import"./chunk-BCSA6WFY.js";import"./chunk-UNV7VK4Z.js";import"./chunk-BSJ6OMWB.js";import"./chunk-NQYRWS7A.js";import"./chunk-2X7AJBJY.js";import"./chunk-3WHFK5U5.js";import"./chunk-64CRTZO6.js";import"./chunk-VDB64BFB.js";import"./chunk-ERQAUCCL.js";import"./chunk-RY7J7BHG.js";import"./chunk-7CGTOI24.js";export{a as createOptionsForm,b as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Ab as i,Bb as o,Gb as u,Lc as b,
|
|
1
|
+
import{Ab as i,Bb as o,Gb as u,Lc as b,Ra as n,Sb as x,Tb as l,ca as f,da as _,db as T,fc as r,gc as m,ib as C,oa as g,pa as D,wb as s}from"./chunk-RY7J7BHG.js";import{a as p}from"./chunk-7CGTOI24.js";function v(e,a){if(e&1&&(i(0,"p"),r(1),o()),e&2){let t=l();n(),m(t._data().message)}}function y(e,a){if(e&1){let t=u();i(0,"button",5),x("click",function(){f(t);let d=l();return _(d.close("cancel"))}),r(1),o()}if(e&2){let t=l();n(),m(t._data().cancelText)}}function h(e,a){if(e&1){let t=u();i(0,"button",6),x("click",function(){f(t);let d=l();return _(d.close("confirm"))}),r(1),o()}if(e&2){let t=l();n(),m(t._data().confirmText)}}var w={title:$localize`Are you sure?`,confirmText:$localize`Confirm`,cancelText:$localize`Cancel`},k=class e{data=D();_data=b(()=>p(p({},w),this.data()));closed=g();close(a="confirm"){this.closed.emit(a==="confirm")}static \u0275fac=function(t){return new(t||e)};static \u0275cmp=T({type:e,selectors:[["app-confirm-dialog"]],inputs:{data:[1,"data"]},outputs:{closed:"closed"},decls:8,vars:4,consts:[["header",""],["content",""],["footer",""],["spk-button","",1,""],["spk-button","",1,"raised","primary"],["spk-button","",1,"",3,"click"],["spk-button","",1,"raised","primary",3,"click"]],template:function(t,c){t&1&&(i(0,"header",0)(1,"h3"),r(2),o()(),i(3,"div",1),C(4,v,2,1,"p"),o(),i(5,"footer",2),C(6,y,2,1,"button",3)(7,h,2,1,"button",4),o()),t&2&&(n(2),m(c._data().title),n(2),s(c._data().message?4:-1),n(2),s(c._data().cancelText?6:-1),n(),s(c._data().confirmText?-1:7))},styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0})};export{k as a};
|