@duplicati/ngclient 0.0.29 → 0.0.30

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.
Files changed (69) hide show
  1. package/{chunk-CRF5AN7X.js → chunk-2E5G54LG.js} +1 -1
  2. package/{chunk-3IEVUFHW.js → chunk-2VFGTKQ3.js} +1 -1
  3. package/{chunk-PWCYVE3X.js → chunk-3TOIJ5WO.js} +1 -1
  4. package/{chunk-VWW2CUXB.js → chunk-4MFVXV2P.js} +1 -1
  5. package/{chunk-FTPIALBZ.js → chunk-53HMBWP5.js} +1 -1
  6. package/chunk-6RDPRL5W.js +7 -0
  7. package/{chunk-5NGUXCQH.js → chunk-7ORKNESW.js} +1 -1
  8. package/{chunk-7JE7D2ZI.js → chunk-AALCXW7G.js} +1 -1
  9. package/{chunk-S57FCDO6.js → chunk-BDZSXP7I.js} +1 -1
  10. package/{chunk-DFGOAXZ2.js → chunk-COO43JXP.js} +1 -1
  11. package/{chunk-2WU6GJ2L.js → chunk-DUQTXUOP.js} +1 -1
  12. package/{chunk-5XF5JD57.js → chunk-FDJMCHX2.js} +1 -1
  13. package/{chunk-57EM3QNL.js → chunk-FL23VQIJ.js} +1 -1
  14. package/{chunk-6IDRMU4P.js → chunk-GE6ONX6N.js} +1 -1
  15. package/{chunk-PRRWBIUL.js → chunk-H4PL4MX5.js} +1 -1
  16. package/{chunk-MLIDBHU2.js → chunk-HEQYI7XZ.js} +1 -1
  17. package/chunk-HIVOGYJW.js +1 -0
  18. package/chunk-IDL47L54.js +1 -0
  19. package/chunk-IVCLLJMP.js +1 -0
  20. package/{chunk-UHDKSMMI.js → chunk-K3Y54FPO.js} +1 -1
  21. package/chunk-LDUHEMHJ.js +1 -0
  22. package/{chunk-4KO6DAFG.js → chunk-M6JAWID7.js} +1 -1
  23. package/chunk-MACZO675.js +1 -0
  24. package/{chunk-KQWAEJSA.js → chunk-MULBVD44.js} +1 -1
  25. package/{chunk-DTFSSXIP.js → chunk-N3IZHBC5.js} +1 -1
  26. package/{chunk-ITR23I5T.js → chunk-NJIDVAUK.js} +1 -1
  27. package/{chunk-P3FQ2AHT.js → chunk-NKKY2IML.js} +1 -1
  28. package/{chunk-SNV5NHOU.js → chunk-OL3XQXPO.js} +1 -1
  29. package/chunk-OOBDPKP5.js +1 -0
  30. package/{chunk-RNQMP76A.js → chunk-PT7ISA6M.js} +1 -1
  31. package/chunk-PV7FMVA7.js +1 -0
  32. package/{chunk-VKC5JNTF.js → chunk-QAOE722P.js} +1 -1
  33. package/{chunk-WWJLZQVS.js → chunk-QLL2CMCZ.js} +1 -1
  34. package/{chunk-GQI6XZIF.js → chunk-QXWUZ7QN.js} +1 -1
  35. package/{chunk-I5C7ICSO.js → chunk-R4XFPOM7.js} +1 -1
  36. package/{chunk-BREOPUVA.js → chunk-RB7TVPQZ.js} +1 -1
  37. package/{chunk-WRY3VN45.js → chunk-RENJEXE5.js} +1 -1
  38. package/{chunk-WARSRDZI.js → chunk-RFOUEAO7.js} +1 -1
  39. package/{chunk-6V6L7ZNP.js → chunk-SLC2RVWO.js} +1 -1
  40. package/{chunk-LESUULT7.js → chunk-TTHH64Z5.js} +1 -1
  41. package/chunk-UROUYC5A.js +1 -0
  42. package/{chunk-L5ZD3XGL.js → chunk-V2FTYSCJ.js} +1 -1
  43. package/{chunk-WW3OAVSF.js → chunk-VN5Y4LY2.js} +1 -1
  44. package/{chunk-B5E33CXC.js → chunk-WFFR6X5F.js} +1 -1
  45. package/{chunk-6ZKECEPL.js → chunk-WMMDCNQV.js} +1 -1
  46. package/{chunk-WKUHBDJS.js → chunk-X7IF472Q.js} +1 -1
  47. package/chunk-XYLW6QJG.js +1 -0
  48. package/{chunk-7SDO46CK.js → chunk-Y33NQYRN.js} +1 -1
  49. package/chunk-YBKFPTAU.js +1 -0
  50. package/chunk-ZJNMXPO2.js +1 -0
  51. package/index.html +3 -3
  52. package/locale/messages.de-DE.json +11 -0
  53. package/locale/messages.fr-FR.json +11 -0
  54. package/locale/messages.json +11 -0
  55. package/main-RUKECFB7.js +2 -0
  56. package/package.json +1 -1
  57. package/polyfills-DUGKNACR.js +1 -0
  58. package/{styles-67FI3DMG.css → styles-CLP6NP2M.css} +1 -1
  59. package/chunk-3LDFRXNZ.js +0 -1
  60. package/chunk-BP3UCGO5.js +0 -1
  61. package/chunk-CEFENMMO.js +0 -1
  62. package/chunk-EPBET4G4.js +0 -1
  63. package/chunk-G76L6TQ6.js +0 -1
  64. package/chunk-ILNG56CV.js +0 -7
  65. package/chunk-M3D5CWEA.js +0 -1
  66. package/chunk-PMQQNQUC.js +0 -1
  67. package/chunk-SJGIDZMQ.js +0 -1
  68. package/chunk-UAIXGIJV.js +0 -1
  69. package/main-U3DYJNKX.js +0 -1
package/chunk-ILNG56CV.js DELETED
@@ -1,7 +0,0 @@
1
- import{a as re,b as oe}from"./chunk-7CGTOI24.js";function E(e){return typeof e=="function"}function Ct(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 Ln=Ct(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 tn(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var B=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(E(r))try{r()}catch(i){t=i instanceof Ln?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Ma(i)}catch(s){t=t??[],s instanceof Ln?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Ln(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Ma(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)&&tn(n,t)}remove(t){let{_finalizers:n}=this;n&&tn(n,t),t instanceof e&&t._removeParent(this)}};B.EMPTY=(()=>{let e=new B;return e.closed=!0,e})();var Fo=B.EMPTY;function Fn(e){return e instanceof B||e&&"closed"in e&&E(e.remove)&&E(e.add)&&E(e.unsubscribe)}function Ma(e){E(e)?e():e.unsubscribe()}function G(e){return e}function Df(...e){return jo(e)}function jo(e){return e.length===0?G:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}function Vo(e){return E(e?.lift)}function _(e){return t=>{if(Vo(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")}}var pe={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Mt={setTimeout(e,t,...n){let{delegate:r}=Mt;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Mt;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function jn(e){Mt.setTimeout(()=>{let{onUnhandledError:t}=pe;if(t)t(e);else throw e})}function nn(){}var _a=Ho("C",void 0,void 0);function xa(e){return Ho("E",void 0,e)}function Ta(e){return Ho("N",e,void 0)}function Ho(e,t,n){return{kind:e,value:t,error:n}}var Ye=null;function _t(e){if(pe.useDeprecatedSynchronousErrorHandling){let t=!Ye;if(t&&(Ye={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=Ye;if(Ye=null,n)throw r}}else e()}function Na(e){pe.useDeprecatedSynchronousErrorHandling&&Ye&&(Ye.errorThrown=!0,Ye.error=e)}var Je=class extends B{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Fn(t)&&t.add(this)):this.destination=Cf}static create(t,n,r){return new Ce(t,n,r)}next(t){this.isStopped?$o(Ta(t),this):this._next(t)}error(t){this.isStopped?$o(xa(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?$o(_a,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()}}},wf=Function.prototype.bind;function Bo(e,t){return wf.call(e,t)}var Uo=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Vn(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Vn(r)}else Vn(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Vn(n)}}},Ce=class extends Je{constructor(t,n,r){super();let o;if(E(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&pe.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Bo(t.next,i),error:t.error&&Bo(t.error,i),complete:t.complete&&Bo(t.complete,i)}):o=t}this.destination=new Uo(o)}};function Vn(e){pe.useDeprecatedSynchronousErrorHandling?Na(e):jn(e)}function bf(e){throw e}function $o(e,t){let{onStoppedNotification:n}=pe;n&&Mt.setTimeout(()=>n(e,t))}var Cf={closed:!0,next:nn,error:bf,complete:nn};function C(e,t,n,r,o){return new qo(e,t,n,r,o)}var qo=class extends Je{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 Wo(){return _((e,t)=>{let n=null;e._refCount++;let r=C(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 xt=typeof Symbol=="function"&&Symbol.observable||"@@observable";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=_f(n)?n:new Ce(n,r,o);return _t(()=>{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=Sa(r),new r((o,i)=>{let s=new Ce({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)}[xt](){return this}pipe(...n){return jo(n)(this)}toPromise(n){return n=Sa(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 Sa(e){var t;return(t=e??pe.Promise)!==null&&t!==void 0?t:Promise}function Mf(e){return e&&E(e.next)&&E(e.error)&&E(e.complete)}function _f(e){return e&&e instanceof Je||Mf(e)&&Fn(e)}var zo=class extends N{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Vo(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 B;let n=this.getSubject();t.add(this.source.subscribe(C(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=B.EMPTY)}return t}refCount(){return Wo()(this)}};var Oa=Ct(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var de=(()=>{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 Hn(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Oa}next(n){_t(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){_t(()=>{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(){_t(()=>{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?Fo:(this.currentObservers=null,i.push(n),new B(()=>{this.currentObservers=null,tn(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 Hn(t,n),e})(),Hn=class extends de{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:Fo}};var rn=class extends de{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 Ke=new N(e=>e.complete());function Ra(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 Aa(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 Xe(e){return this instanceof Xe?(this.v=e,this):new Xe(e)}function ka(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(M,I){i.push([f,g,M,I])>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 Xe?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 Pa(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 Aa=="function"?Aa(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 Bn=e=>e&&typeof e.length=="number"&&typeof e!="function";function $n(e){return E(e?.then)}function Un(e){return E(e[xt])}function qn(e){return Symbol.asyncIterator&&E(e?.[Symbol.asyncIterator])}function Wn(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 xf(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var zn=xf();function Gn(e){return E(e?.[zn])}function Qn(e){return ka(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield Xe(n.read());if(o)return yield Xe(void 0);yield yield Xe(r)}}finally{n.releaseLock()}})}function Zn(e){return E(e?.getReader)}function k(e){if(e instanceof N)return e;if(e!=null){if(Un(e))return Tf(e);if(Bn(e))return Nf(e);if($n(e))return Sf(e);if(qn(e))return La(e);if(Gn(e))return Of(e);if(Zn(e))return Af(e)}throw Wn(e)}function Tf(e){return new N(t=>{let n=e[xt]();if(E(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Nf(e){return new N(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function Sf(e){return new N(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,jn)})}function Of(e){return new N(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function La(e){return new N(t=>{Rf(e,t).catch(n=>t.error(n))})}function Af(e){return La(Qn(e))}function Rf(e,t){var n,r,o,i;return Ra(this,void 0,void 0,function*(){try{for(n=Pa(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 K(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 Yn(e,t=0){return _((n,r)=>{n.subscribe(C(r,o=>K(r,e,()=>r.next(o),t),()=>K(r,e,()=>r.complete(),t),o=>K(r,e,()=>r.error(o),t)))})}function Jn(e,t=0){return _((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Fa(e,t){return k(e).pipe(Jn(t),Yn(t))}function ja(e,t){return k(e).pipe(Jn(t),Yn(t))}function Va(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 Ha(e,t){return new N(n=>{let r;return K(n,t,()=>{r=e[zn](),K(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>E(r?.return)&&r.return()})}function Kn(e,t){if(!e)throw new Error("Iterable cannot be null");return new N(n=>{K(n,t,()=>{let r=e[Symbol.asyncIterator]();K(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Ba(e,t){return Kn(Qn(e),t)}function $a(e,t){if(e!=null){if(Un(e))return Fa(e,t);if(Bn(e))return Va(e,t);if($n(e))return ja(e,t);if(qn(e))return Kn(e,t);if(Gn(e))return Ha(e,t);if(Zn(e))return Ba(e,t)}throw Wn(e)}function Re(e,t){return t?$a(e,t):k(e)}function Ua(e){return e&&E(e.schedule)}function qa(e){return e[e.length-1]}function Tt(e){return E(qa(e))?e.pop():void 0}function ke(e){return Ua(qa(e))?e.pop():void 0}function kf(...e){let t=ke(e);return Re(e,t)}function Pf(e,t){let n=E(e)?e:()=>e,r=o=>o.error(n());return new N(t?o=>t.schedule(r,0,o):r)}function Lf(e){return!!e&&(e instanceof N||E(e.lift)&&E(e.subscribe))}var et=Ct(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function ye(e,t){return _((n,r)=>{let o=0;n.subscribe(C(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:Ff}=Array,{getPrototypeOf:jf,prototype:Vf,keys:Hf}=Object;function Xn(e){if(e.length===1){let t=e[0];if(Ff(t))return{args:t,keys:null};if(Bf(t)){let n=Hf(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function Bf(e){return e&&typeof e=="object"&&jf(e)===Vf}var{isArray:$f}=Array;function Uf(e,t){return $f(t)?e(...t):e(t)}function er(e){return ye(t=>Uf(e,t))}function tr(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function qf(...e){let t=ke(e),n=Tt(e),{args:r,keys:o}=Xn(e);if(r.length===0)return Re([],t);let i=new N(Wf(r,t,o?s=>tr(o,s):G));return n?i.pipe(er(n)):i}function Wf(e,t,n=G){return r=>{Wa(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Wa(t,()=>{let l=Re(e[c],t),u=!1;l.subscribe(C(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Wa(e,t,n){e?K(n,e,t):t()}function za(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 M=!1;k(n(g,u++)).subscribe(C(t,I=>{o?.(I),i?f(I):t.next(I)},()=>{M=!0},void 0,()=>{if(M)try{for(l--;c.length&&l<r;){let I=c.shift();s?K(t,s,()=>h(I)):h(I)}p()}catch(I){t.error(I)}}))};return e.subscribe(C(t,f,()=>{d=!0,p()})),()=>{a?.()}}function tt(e,t,n=1/0){return E(t)?tt((r,o)=>ye((i,s)=>t(r,i,o,s))(k(e(r,o))),n):(typeof t=="number"&&(n=t),_((r,o)=>za(r,o,e,n)))}function Go(e=1/0){return tt(G,e)}function Ga(){return Go(1)}function nr(...e){return Ga()(Re(e,ke(e)))}function zf(e){return new N(t=>{k(e()).subscribe(t)})}function on(e,t){return _((n,r)=>{let o=0;n.subscribe(C(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Qo(e){return _((t,n)=>{let r=null,o=!1,i;r=t.subscribe(C(n,void 0,void 0,s=>{i=k(e(s,Qo(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Gf(e,t){return E(t)?tt(e,t,1):tt(e,1)}function sn(e){return _((t,n)=>{let r=!1;t.subscribe(C(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function rr(e){return e<=0?()=>Ke:_((t,n)=>{let r=0;t.subscribe(C(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Qf(e){return ye(()=>e)}function Qa(e){return _((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function or(e=Zf){return _((t,n)=>{let r=!1;t.subscribe(C(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Zf(){return new et}function Za(e,t){let n=arguments.length>=2;return r=>r.pipe(e?on((o,i)=>e(o,i,r)):G,rr(1),n?sn(t):or(()=>new et))}function Zo(e){return e<=0?()=>Ke:_((t,n)=>{let r=[];t.subscribe(C(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 Yf(e,t){let n=arguments.length>=2;return r=>r.pipe(e?on((o,i)=>e(o,i,r)):G,Zo(1),n?sn(t):or(()=>new et))}function Ya(e,t,n,r,o){return(i,s)=>{let a=n,c=t,l=0;i.subscribe(C(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 Jf(e,t){return _(Ya(e,t,arguments.length>=2,!0))}function Ja(...e){let t=ke(e);return _((n,r)=>{(t?nr(e,n,t):nr(e,n)).subscribe(r)})}function Ka(e,t){return _((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(C(r,c=>{o?.unsubscribe();let l=0,u=i++;k(e(c,u)).subscribe(o=C(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Kf(e){return _((t,n)=>{k(e).subscribe(C(n,()=>n.complete(),nn)),!n.closed&&t.subscribe(n)})}function Xa(e,t,n){let r=E(e)||t||n?{next:e,error:t,complete:n}:e;return r?_((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(C(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)}))}):G}var Yo={now(){return(Yo.delegate||Date).now()},delegate:void 0};var an=class extends de{constructor(t=1/0,n=1/0,r=Yo){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 Xf(...e){let t=Tt(e),{args:n,keys:r}=Xn(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;k(n[u]).subscribe(C(i,p=>{d||(d=!0,l--),a[u]=p},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?tr(r,a):a),i.complete())}))}});return t?o.pipe(er(t)):o}var{isArray:ep}=Array;function ec(e){return e.length===1&&ep(e[0])?e[0]:e}function tp(...e){let t=Tt(e),n=ec(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++)k(n[s]).subscribe(C(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}}):Ke}function np(e,t=G){return e=e??rp,_((n,r)=>{let o,i=!0;n.subscribe(C(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function rp(e,t){return e===t}function tc(e={}){let{connector:t=()=>new de,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 _((g,M)=>{l++,!d&&!u&&p();let I=c=c??t();M.add(()=>{l--,l===0&&!d&&!u&&(a=Jo(h,o))}),I.subscribe(M),!s&&l>0&&(s=new Ce({next:O=>I.next(O),error:O=>{d=!0,p(),a=Jo(f,n,O),I.error(O)},complete:()=>{u=!0,p(),a=Jo(f,r),I.complete()}}),k(g).subscribe(s))})(i)}}function Jo(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new Ce({next:()=>{r.unsubscribe(),e()}});return k(t(...n)).subscribe(r)}function op(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,tc({connector:()=>new an(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function ni(e,t){return Object.is(e,t)}var j=null,cn=!1,ri=1,q=Symbol("SIGNAL");function D(e){let t=j;return j=e,t}function nc(){return j}function ip(){return cn}var nt={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function un(e){if(cn)throw new Error("");if(j===null)return;j.consumerOnSignalRead(e);let t=j.nextProducerIndex++;if(ar(j),t<j.producerNode.length&&j.producerNode[t]!==e&&ln(j)){let n=j.producerNode[t];sr(n,j.producerIndexOfThis[t])}j.producerNode[t]!==e&&(j.producerNode[t]=e,j.producerIndexOfThis[t]=ln(j)?sc(e,j,t):0),j.producerLastReadVersion[t]=e.version}function sp(){ri++}function oi(e){if(!(ln(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===ri)){if(!e.producerMustRecompute(e)&&!fn(e)){ei(e);return}e.producerRecomputeValue(e),ei(e)}}function rc(e){if(e.liveConsumerNode===void 0)return;let t=cn;cn=!0;try{for(let n of e.liveConsumerNode)n.dirty||ic(n)}finally{cn=t}}function oc(){return j?.consumerAllowSignalWrites!==!1}function ic(e){e.dirty=!0,rc(e),e.consumerMarkedDirty?.(e)}function ei(e){e.dirty=!1,e.lastCleanEpoch=ri}function Nt(e){return e&&(e.nextProducerIndex=0),D(e)}function dn(e,t){if(D(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(ln(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)sr(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function fn(e){ar(e);for(let t=0;t<e.producerNode.length;t++){let n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(oi(n),r!==n.version))return!0}return!1}function St(e){if(ar(e),ln(e))for(let t=0;t<e.producerNode.length;t++)sr(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 sc(e,t,n){if(ac(e),e.liveConsumerNode.length===0&&cc(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=sc(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function sr(e,t){if(ac(e),e.liveConsumerNode.length===1&&cc(e))for(let r=0;r<e.producerNode.length;r++)sr(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];ar(o),o.producerIndexOfThis[r]=t}}function ln(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function ar(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function ac(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function cc(e){return e.producerNode!==void 0}function ii(e){let t=Object.create(ap);t.computation=e;let n=()=>{if(oi(t),un(t),t.value===ir)throw t.error;return t.value};return n[q]=t,n}var Ko=Symbol("UNSET"),Xo=Symbol("COMPUTING"),ir=Symbol("ERRORED"),ap=oe(re({},nt),{value:Ko,dirty:!0,error:null,equal:ni,producerMustRecompute(e){return e.value===Ko||e.value===Xo},producerRecomputeValue(e){if(e.value===Xo)throw new Error("Detected cycle in computations.");let t=e.value;e.value=Xo;let n=Nt(e),r;try{r=e.computation()}catch(o){r=ir,e.error=o}finally{dn(e,n)}if(t!==Ko&&t!==ir&&r!==ir&&e.equal(t,r)){e.value=t;return}e.value=r,e.version++}});function cp(){throw new Error}var lc=cp;function uc(){lc()}function dc(e){lc=e}var lp=null;function fc(e){let t=Object.create(si);t.value=e;let n=()=>(un(t),t.value);return n[q]=t,n}function pn(e,t){oc()||uc(),e.equal(e.value,t)||(e.value=t,up(e))}function pc(e,t){oc()||uc(),pn(e,t(e.value))}var si=oe(re({},nt),{equal:ni,value:void 0});function up(e){e.version++,sp(),rc(e),lp?.()}function hc(e,t,n){let r=Object.create(dp);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)||(St(c),c.cleanupFn(),c.fn=null,c.schedule=null,c.cleanupFn=ti)}let a=()=>{if(r.fn===null)return;if(ip())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!fn(r))return;r.hasRun=!0;let c=Nt(r);try{r.cleanupFn(),r.cleanupFn=ti,r.fn(o)}finally{dn(r,c)}};return r.ref={notify:()=>ic(r),run:a,cleanup:()=>r.cleanupFn(),destroy:()=>s(r),[q]:r},r.ref}var ti=()=>{},dp=oe(re({},nt),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule!==null&&e.schedule(e.ref)},hasRun:!1,cleanupFn:ti});var gl="https://g.co/ng/security#xss",w=class extends Error{code;constructor(t,n){super(fp(t,n)),this.code=t}};function fp(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}var ro=Symbol("InputSignalNode#UNSET"),ml=oe(re({},si),{transformFn:void 0,applyValueToInputSignal(e,t){pn(e,t)}});function yl(e,t){let n=Object.create(ml);n.value=e,n.transformFn=t?.transform;function r(){if(un(n),n.value===ro)throw new w(-950,!1);return n.value}return r[q]=n,r}function Nn(e){return{toString:e}.toString()}var cr="__parameters__";function pp(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function vl(e,t,n){return Nn(()=>{let r=pp(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(cr)?c[cr]:Object.defineProperty(c,cr,{value:[]})[cr];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 Le=globalThis;function A(e){for(let t in e)if(e[t]===A)return t;throw Error("Could not find renamed property on target object.")}function hp(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;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;let t=e.toString();if(t==null)return""+t;let n=t.indexOf(`
4
- `);return n===-1?t:t.substring(0,n)}function Di(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var gp=A({__forward_ref__:A});function Il(e){return e.__forward_ref__=Il,e.toString=function(){return ie(this())},e}function Y(e){return El(e)?e():e}function El(e){return typeof e=="function"&&e.hasOwnProperty(gp)&&e.__forward_ref__===Il}function H(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function H_(e){return{providers:e.providers||[],imports:e.imports||[]}}function oo(e){return gc(e,Dl)||gc(e,wl)}function B_(e){return oo(e)!==null}function gc(e,t){return e.hasOwnProperty(t)?e[t]:null}function mp(e){let t=e&&(e[Dl]||e[wl]);return t||null}function mc(e){return e&&(e.hasOwnProperty(yc)||e.hasOwnProperty(yp))?e[yc]:null}var Dl=A({\u0275prov:A}),yc=A({\u0275inj:A}),wl=A({ngInjectableDef:A}),yp=A({ngInjectorDef:A}),S=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=H({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function bl(e){return e&&!!e.\u0275providers}var vp=A({\u0275cmp:A}),Ip=A({\u0275dir:A}),Ep=A({\u0275pipe:A}),Dp=A({\u0275mod:A}),br=A({\u0275fac:A}),mn=A({__NG_ELEMENT_ID__:A}),vc=A({__NG_ENV_ID__:A});function Ee(e){return typeof e=="string"?e:e==null?"":String(e)}function wp(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():Ee(e)}function bp(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new w(-200,e)}function Ps(e,t){throw new w(-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||{}),wi;function Cl(){return wi}function X(e){let t=wi;return wi=e,t}function Ml(e,t,n){let r=oo(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;Ps(e,"Injector")}var Cp={},vn=Cp,bi="__NG_DI_FLAG__",Cr="ngTempTokenPath",Mp="ngTokenPath",_p=/\n/gm,xp="\u0275",Ic="__source",Pt;function Tp(){return Pt}function Pe(e){let t=Pt;return Pt=e,t}function Np(e,t=T.Default){if(Pt===void 0)throw new w(-203,!1);return Pt===null?Ml(e,void 0,t):Pt.get(e,t&T.Optional?null:void 0,t)}function He(e,t=T.Default){return(Cl()||Np)(Y(e),t)}function x(e,t=T.Default){return He(e,io(t))}function io(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ci(e){let t=[];for(let n=0;n<e.length;n++){let r=Y(e[n]);if(Array.isArray(r)){if(r.length===0)throw new w(900,!1);let o,i=T.Default;for(let s=0;s<r.length;s++){let a=r[s],c=Sp(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(He(o,i))}else t.push(He(r))}return t}function _l(e,t){return e[bi]=t,e.prototype[bi]=t,e}function Sp(e){return e[bi]}function Op(e,t,n,r){let o=e[Cr];throw t[Ic]&&o.unshift(t[Ic]),e.message=Ap(`
5
- `+e.message,o,n,r),e[Mp]=o,e[Cr]=null,e}function Ap(e,t,n,r=null){e=e&&e.charAt(0)===`
6
- `&&e.charAt(1)==xp?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(_p,`
7
- `)}`}var xl=_l(vl("Optional"),8);var Tl=_l(vl("SkipSelf"),4);function st(e,t){let n=e.hasOwnProperty(br);return n?e[br]:null}function Rp(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 kp(e){return e.flat(Number.POSITIVE_INFINITY)}function Ls(e,t){e.forEach(n=>Array.isArray(n)?Ls(n,t):t(n))}function Nl(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Mr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Pp(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function Lp(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 so(e,t,n){let r=Sn(e,t);return r>=0?e[r|1]=n:(r=~r,Lp(e,r,t,n)),r}function ai(e,t){let n=Sn(e,t);if(n>=0)return e[n|1]}function Sn(e,t){return Fp(e,t,1)}function Fp(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 Vt={},J=[],_r=new S(""),Sl=new S("",-1),Ol=new S(""),xr=class{get(t,n=vn){if(n===vn){let r=new Error(`NullInjectorError: No provider for ${ie(t)}!`);throw r.name="NullInjectorError",r}return n}};function Al(e,t){let n=e[Dp]||null;if(!n&&t===!0)throw new Error(`Type ${ie(e)} does not have '\u0275mod' property.`);return n}function De(e){return e[vp]||null}function Fs(e){return e[Ip]||null}function js(e){return e[Ep]||null}function jp(e){let t=De(e)||Fs(e)||js(e);return t!==null?t.standalone:!1}function Vp(e){return{\u0275providers:e}}function Hp(...e){return{\u0275providers:Vs(!0,e),\u0275fromNgModule:!0}}function Vs(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Ls(t,s=>{let a=s;Mi(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Rl(o,i),n}function Rl(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];Hs(o,i=>{t(i,r)})}}function Mi(e,t,n,r){if(e=Y(e),!e)return!1;let o=null,i=mc(e),s=!i&&De(e);if(!i&&!s){let c=e.ngModule;if(i=mc(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)Mi(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;try{Ls(i.imports,u=>{Mi(u,t,n,r)&&(l||=[],l.push(u))})}finally{}l!==void 0&&Rl(l,t)}if(!a){let l=st(o)||(()=>new o);t({provide:o,useFactory:l,deps:J},o),t({provide:Ol,useValue:o,multi:!0},o),t({provide:_r,useValue:()=>He(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;Hs(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function Hs(e,t){for(let n of e)bl(n)&&(n=n.\u0275providers),Array.isArray(n)?Hs(n,t):t(n)}var Bp=A({provide:String,useValue:A});function kl(e){return e!==null&&typeof e=="object"&&Bp in e}function $p(e){return!!(e&&e.useExisting)}function Up(e){return!!(e&&e.useFactory)}function Ht(e){return typeof e=="function"}function qp(e){return!!e.useClass}var Pl=new S(""),gr={},Wp={},ci;function ao(){return ci===void 0&&(ci=new xr),ci}var Me=class{},In=class extends Me{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,xi(t,s=>this.processProvider(s)),this.records.set(Sl,Ot(void 0,this)),o.has("environment")&&this.records.set(Me,Ot(void 0,this));let i=this.records.get(Pl);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Ol,J,T.Self))}destroy(){hn(this),this._destroyed=!0;let t=D(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(),D(t)}}onDestroy(t){return hn(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){hn(this);let n=Pe(this),r=X(void 0),o;try{return t()}finally{Pe(n),X(r)}}get(t,n=vn,r=T.Default){if(hn(this),t.hasOwnProperty(vc))return t[vc](this);r=io(r);let o,i=Pe(this),s=X(void 0);try{if(!(r&T.SkipSelf)){let c=this.records.get(t);if(c===void 0){let l=Yp(t)&&oo(t);l&&this.injectableDefInScope(l)?c=Ot(_i(t),gr):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===vn?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[Cr]=a[Cr]||[]).unshift(ie(t)),i)throw a;return Op(a,t,"R3InjectorError",this.source)}else throw a}finally{X(s),Pe(i)}}resolveInjectorInitializers(){let t=D(null),n=Pe(this),r=X(void 0),o;try{let i=this.get(_r,J,T.Self);for(let s of i)s()}finally{Pe(n),X(r),D(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(ie(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=Y(t);let n=Ht(t)?t:Y(t&&t.provide),r=Gp(t);if(!Ht(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Ot(void 0,gr,!0),o.factory=()=>Ci(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=D(null);try{return n.value===gr&&(n.value=Wp,n.value=n.factory()),typeof n.value=="object"&&n.value&&Zp(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{D(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=Y(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 _i(e){let t=oo(e),n=t!==null?t.factory:st(e);if(n!==null)return n;if(e instanceof S)throw new w(204,!1);if(e instanceof Function)return zp(e);throw new w(204,!1)}function zp(e){if(e.length>0)throw new w(204,!1);let n=mp(e);return n!==null?()=>n.factory(e):()=>new e}function Gp(e){if(kl(e))return Ot(void 0,e.useValue);{let t=Ll(e);return Ot(t,gr)}}function Ll(e,t,n){let r;if(Ht(e)){let o=Y(e);return st(o)||_i(o)}else if(kl(e))r=()=>Y(e.useValue);else if(Up(e))r=()=>e.useFactory(...Ci(e.deps||[]));else if($p(e))r=()=>He(Y(e.useExisting));else{let o=Y(e&&(e.useClass||e.provide));if(Qp(e))r=()=>new o(...Ci(e.deps));else return st(o)||_i(o)}return r}function hn(e){if(e.destroyed)throw new w(205,!1)}function Ot(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Qp(e){return!!e.deps}function Zp(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Yp(e){return typeof e=="function"||typeof e=="object"&&e instanceof S}function xi(e,t){for(let n of e)Array.isArray(n)?xi(n,t):n&&bl(n)?xi(n.\u0275providers,t):t(n)}function Fl(e,t){e instanceof In&&hn(e);let n,r=Pe(e),o=X(void 0);try{return t()}finally{Pe(r),X(o)}}function jl(){return Cl()!==void 0||Tp()!=null}function Bs(e){if(!jl())throw new w(-203,!1)}function Jp(e){return typeof e=="function"}var Ne=0,m=1,v=2,W=3,ge=4,te=5,Bt=6,Tr=7,Q=8,me=9,_e=10,P=11,En=12,Ec=13,Gt=14,ce=15,at=16,At=17,xe=18,co=19,Vl=20,je=21,mr=22,ct=23,se=24,L=25,Hl=1,Lt=6,lt=7,Nr=8,$t=9,Z=10,Sr=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Sr||{});function Ve(e){return Array.isArray(e)&&typeof e[Hl]=="object"}function Se(e){return Array.isArray(e)&&e[Hl]===!0}function $s(e){return(e.flags&4)!==0}function lo(e){return e.componentOffset>-1}function uo(e){return(e.flags&1)===1}function Be(e){return!!e.template}function Ti(e){return(e[v]&512)!==0}function Kp(e){return(e[v]&256)===256}var Ni=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Bl(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var $_=(()=>{let e=()=>$l;return e.ngInherit=!0,e})();function $l(e){return e.type.prototype.ngOnChanges&&(e.setInput=eh),Xp}function Xp(){let e=ql(this),t=e?.current;if(t){let n=e.previous;if(n===Vt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function eh(e,t,n,r,o){let i=this.declaredInputs[r],s=ql(e)||th(e,{previous:Vt,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new Ni(l&&l.currentValue,n,c===Vt),Bl(e,t,o,n)}var Ul="__ngSimpleChanges__";function ql(e){return e[Ul]||null}function th(e,t){return e[Ul]=t}var Dc=null;var ve=function(e,t,n){Dc?.(e,t,n)},Wl="svg",nh="math";function we(e){for(;Array.isArray(e);)e=e[Ne];return e}function zl(e,t){return we(t[e])}function fe(e,t){return we(t[e.index])}function On(e,t){return e.data[t]}function Us(e,t){return e[t]}function Qe(e,t){let n=t[e];return Ve(n)?n:n[Ne]}function rh(e){return(e[v]&4)===4}function qs(e){return(e[v]&128)===128}function oh(e){return Se(e[W])}function $e(e,t){return t==null?null:e[t]}function Gl(e){e[At]=0}function Ws(e){e[v]&1024||(e[v]|=1024,qs(e)&&An(e))}function ih(e,t){for(;e>0;)t=t[Gt],e--;return t}function fo(e){return!!(e[v]&9216||e[se]?.dirty)}function Si(e){e[_e].changeDetectionScheduler?.notify(9),e[v]&64&&(e[v]|=1024),fo(e)&&An(e)}function An(e){e[_e].changeDetectionScheduler?.notify(0);let t=ut(e);for(;t!==null&&!(t[v]&8192||(t[v]|=8192,!qs(t)));)t=ut(t)}function zs(e,t){if((e[v]&256)===256)throw new w(911,!1);e[je]===null&&(e[je]=[]),e[je].push(t)}function Ql(e,t){if(e[je]===null)return;let n=e[je].indexOf(t);n!==-1&&e[je].splice(n,1)}function ut(e){let t=e[W];return Se(t)?t[W]:t}var b={lFrame:nu(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Oi=!1;function sh(){return b.lFrame.elementDepthCount}function ah(){b.lFrame.elementDepthCount++}function ch(){b.lFrame.elementDepthCount--}function Zl(){return b.bindingsEnabled}function Yl(){return b.skipHydrationRootTNode!==null}function lh(e){return b.skipHydrationRootTNode===e}function uh(){b.skipHydrationRootTNode=null}function y(){return b.lFrame.lView}function R(){return b.lFrame.tView}function U_(e){return b.lFrame.contextLView=e,e[Q]}function q_(e){return b.lFrame.contextLView=null,e}function $(){let e=Jl();for(;e!==null&&e.type===64;)e=e.parent;return e}function Jl(){return b.lFrame.currentTNode}function dh(){let e=b.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Ze(e,t){let n=b.lFrame;n.currentTNode=e,n.isParent=t}function Gs(){return b.lFrame.isParent}function Qs(){b.lFrame.isParent=!1}function fh(){return b.lFrame.contextLView}function Kl(){return Oi}function Or(e){let t=Oi;return Oi=e,t}function Qt(){let e=b.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Xl(){return b.lFrame.bindingIndex}function ph(e){return b.lFrame.bindingIndex=e}function It(){return b.lFrame.bindingIndex++}function po(e){let t=b.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function hh(){return b.lFrame.inI18n}function gh(e,t){let n=b.lFrame;n.bindingIndex=n.bindingRootIndex=e,Ai(t)}function mh(){return b.lFrame.currentDirectiveIndex}function Ai(e){b.lFrame.currentDirectiveIndex=e}function yh(e){let t=b.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Zs(){return b.lFrame.currentQueryIndex}function ho(e){b.lFrame.currentQueryIndex=e}function vh(e){let t=e[m];return t.type===2?t.declTNode:t.type===1?e[te]:null}function eu(e,t,n){if(n&T.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&T.Host);)if(o=vh(i),o===null||(i=i[Gt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=b.lFrame=tu();return r.currentTNode=t,r.lView=e,!0}function Ys(e){let t=tu(),n=e[m];b.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function tu(){let e=b.lFrame,t=e===null?null:e.child;return t===null?nu(e):t}function nu(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 ru(){let e=b.lFrame;return b.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var ou=ru;function Js(){let e=ru();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 Ih(e){return(b.lFrame.contextLView=ih(e,b.lFrame.contextLView))[Q]}function Oe(){return b.lFrame.selectedIndex}function dt(e){b.lFrame.selectedIndex=e}function Et(){let e=b.lFrame;return On(e.tView,e.selectedIndex)}function W_(){b.lFrame.currentNamespace=Wl}function Eh(){return b.lFrame.currentNamespace}var iu=!0;function go(){return iu}function mo(e){iu=e}function Dh(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=$l(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 yo(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 yr(e,t,n){su(e,t,3,n)}function vr(e,t,n,r){(e[v]&3)===n&&su(e,t,n,r)}function li(e,t){let n=e[v];(n&3)===t&&(n&=16383,n+=1,e[v]=n)}function su(e,t,n,r){let o=r!==void 0?e[At]&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[At]+=65536),(a<i||i==-1)&&(wh(e,n,t,c),e[At]=(e[At]&4294901760)+c+2),c++}function wc(e,t){ve(4,e,t);let n=D(null);try{t.call(e)}finally{D(n),ve(5,e,t)}}function wh(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[v]>>14<e[At]>>16&&(e[v]&3)===t&&(e[v]+=16384,wc(a,i)):wc(a,i)}var Ft=-1,ft=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r){this.factory=t,this.canSeeViewProviders=n,this.injectImpl=r}};function bh(e){return e instanceof ft}function Ch(e){return(e.flags&8)!==0}function Mh(e){return(e.flags&16)!==0}function Ri(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];_h(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function au(e){return e===3||e===4||e===6}function _h(e){return e.charCodeAt(0)===64}function Dn(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){let o=t[r];typeof o=="number"?n=o:n===0||(n===-1||n===2?bc(e,n,o,null,t[++r]):bc(e,n,o,null,null))}}return e}function bc(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===n){if(r===null){o!==null&&(e[i+1]=o);return}else if(r===e[i+1]){e[i+2]=o;return}}i++,r!==null&&i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),r!==null&&e.splice(i++,0,r),o!==null&&e.splice(i++,0,o)}var ui={},jt=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=io(r);let o=this.injector.get(t,ui,r);return o!==ui||n===ui?o:this.parentInjector.get(t,n,r)}};function cu(e){return e!==Ft}function Ar(e){return e&32767}function xh(e){return e>>16}function Rr(e,t){let n=xh(e),r=t;for(;n>0;)r=r[Gt],n--;return r}var ki=!0;function kr(e){let t=ki;return ki=e,t}var Th=256,lu=Th-1,uu=5,Nh=0,Ie={};function Sh(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(mn)&&(r=n[mn]),r==null&&(r=n[mn]=Nh++);let o=r&lu,i=1<<o;t.data[e+(o>>uu)]|=i}function Pr(e,t){let n=du(e,t);if(n!==-1)return n;let r=t[m];r.firstCreatePass&&(e.injectorIndex=t.length,di(r.data,e),di(t,null),di(r.blueprint,null));let o=Ks(e,t),i=e.injectorIndex;if(cu(o)){let s=Ar(o),a=Rr(o,t),c=a[m].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function di(e,t){e.push(0,0,0,0,0,0,0,0,t)}function du(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Ks(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=mu(o),r===null)return Ft;if(n++,o=o[Gt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Ft}function Pi(e,t,n){Sh(e,t,n)}function Oh(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(au(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 fu(e,t,n){if(n&T.Optional||e!==void 0)return e;Ps(t,"NodeInjector")}function pu(e,t,n,r){if(n&T.Optional&&r===void 0&&(r=null),!(n&(T.Self|T.Host))){let o=e[me],i=X(void 0);try{return o?o.get(t,r,n&T.Optional):Ml(t,r,n&T.Optional)}finally{X(i)}}return fu(r,t,n)}function hu(e,t,n,r=T.Default,o){if(e!==null){if(t[v]&2048&&!(r&T.Self)){let s=Ph(e,t,n,r,Ie);if(s!==Ie)return s}let i=gu(e,t,n,r,Ie);if(i!==Ie)return i}return pu(t,n,r,o)}function gu(e,t,n,r,o){let i=Rh(n);if(typeof i=="function"){if(!eu(t,e,r))return r&T.Host?fu(o,n,r):pu(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&T.Optional))Ps(n);else return s}finally{ou()}}else if(typeof i=="number"){let s=null,a=du(e,t),c=Ft,l=r&T.Host?t[ce][te]:null;for((a===-1||r&T.SkipSelf)&&(c=a===-1?Ks(e,t):t[a+8],c===Ft||!Mc(r,!1)?a=-1:(s=t[m],a=Ar(c),t=Rr(c,t)));a!==-1;){let u=t[m];if(Cc(i,a,u.data)){let d=Ah(a,t,n,s,r,l);if(d!==Ie)return d}c=t[a+8],c!==Ft&&Mc(r,t[m].data[a+8]===l)&&Cc(i,a,t)?(s=u,a=Ar(c),t=Rr(c,t)):a=-1}}return o}function Ah(e,t,n,r,o,i){let s=t[m],a=s.data[e+8],c=r==null?lo(a)&&ki:r!=s&&(a.type&3)!==0,l=o&T.Host&&i===a,u=Ir(a,s,n,c,l);return u!==null?pt(t,s,u,a):Ie}function Ir(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 pt(e,t,n,r){let o=e[n],i=t.data;if(bh(o)){let s=o;s.resolving&&bp(wp(i[n]));let a=kr(s.canSeeViewProviders);s.resolving=!0;let c,l=s.injectImpl?X(s.injectImpl):null,u=eu(e,r,T.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&Dh(n,i[n],t)}finally{l!==null&&X(l),kr(a),s.resolving=!1,ou()}}return o}function Rh(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(mn)?e[mn]:void 0;return typeof t=="number"?t>=0?t&lu:kh:t}function Cc(e,t,n){let r=1<<e;return!!(n[t+(e>>uu)]&r)}function Mc(e,t){return!(e&T.Self)&&!(e&T.Host&&t)}var it=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return hu(this._tNode,this._lView,t,io(r),n)}};function kh(){return new it($(),y())}function z_(e){return Nn(()=>{let t=e.prototype.constructor,n=t[br]||Li(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[br]||Li(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Li(e){return El(e)?()=>{let t=Li(Y(e));return t&&t()}:st(e)}function Ph(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[v]&2048&&!(s[v]&512);){let a=gu(i,s,n,r|T.Self,Ie);if(a!==Ie)return a;let c=i.parent;if(!c){let l=s[Vl];if(l){let u=l.get(n,Ie,r);if(u!==Ie)return u}c=mu(s),s=s[Gt]}i=c}return o}function mu(e){let t=e[m],n=t.type;return n===2?t.declTNode:n===1?e[te]:null}function G_(e){return Oh($(),e)}function _c(e,t=null,n=null,r){let o=yu(e,t,n,r);return o.resolveInjectorInitializers(),o}function yu(e,t=null,n=null,r,o=new Set){let i=[n||J,Hp(e)];return r=r||(typeof e=="object"?void 0:ie(e)),new In(i,t||ao(),r||null,o)}var Ue=class e{static THROW_IF_NOT_FOUND=vn;static NULL=new xr;static create(t,n){if(Array.isArray(t))return _c({name:""},n,t,"");{let r=t.name??"";return _c({name:r},t.parent,t.providers,r)}}static \u0275prov=H({token:e,providedIn:"any",factory:()=>He(Sl)});static __NG_ELEMENT_ID__=-1};var Lh=new S("");Lh.__NG_ELEMENT_ID__=e=>{let t=$();if(t===null)throw new w(204,!1);if(t.type&2)return t.value;if(e&T.Optional)return null;throw new w(204,!1)};var vu=!1,Zt=(()=>{class e{static __NG_ELEMENT_ID__=Fh;static __NG_ENV_ID__=n=>n}return e})(),Lr=class extends Zt{_lView;constructor(t){super(),this._lView=t}onDestroy(t){return zs(this._lView,t),()=>Ql(this._lView,t)}};function Fh(){return new Lr(y())}var qe=class{},Xs=new S("",{providedIn:"root",factory:()=>!1});var Iu=new S(""),ea=new S(""),Yt=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new rn(!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=H({token:e,providedIn:"root",factory:()=>new e})}return e})();var Fi=class extends de{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,jl()&&(this.destroyRef=x(Zt,{optional:!0})??void 0,this.pendingTasks=x(Yt,{optional:!0})??void 0)}emit(t){let n=D(null);try{super.next(t)}finally{D(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 B&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{t(n),r!==void 0&&this.pendingTasks?.remove(r)})}}},Fe=Fi;function wn(...e){}function Eu(e){let t,n;function r(){e=wn;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 xc(e){return queueMicrotask(()=>e()),()=>{e=wn}}var ta="isAngularZone",Fr=ta+"_ID",jh=0,ae=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Fe(!1);onMicrotaskEmpty=new Fe(!1);onStable=new Fe(!1);onError=new Fe(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=vu}=t;if(typeof Zone>"u")throw new w(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,Bh(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(ta)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new w(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new w(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,Vh,wn,wn);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)}},Vh={};function na(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 Hh(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Eu(()=>{e.callbackScheduled=!1,ji(e),e.isCheckStableRunning=!0,na(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),ji(e)}function Bh(e){let t=()=>{Hh(e)},n=jh++;e._inner=e._inner.fork({name:"angular",properties:{[ta]:!0,[Fr]:n,[Fr+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if($h(c))return r.invokeTask(i,s,a,c);try{return Tc(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Nc(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return Tc(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Uh(c)&&t(),Nc(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,ji(e),na(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 ji(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Tc(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Nc(e){e._nesting--,na(e)}var jr=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Fe;onMicrotaskEmpty=new Fe;onStable=new Fe;onError=new Fe;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 $h(e){return Du(e,"__ignore_ng_zone__")}function Uh(e){return Du(e,"__scheduler_tick__")}function Du(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var We=class{_console=console;handleError(t){this._console.error("ERROR",t)}},qh=new S("",{providedIn:"root",factory:()=>{let e=x(ae),t=x(We);return n=>e.runOutsideAngular(()=>t.handleError(n))}}),Vr=class{destroyed=!1;listeners=null;errorHandler=x(We,{optional:!0});destroyRef=x(Zt);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new w(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 w(953,!1);if(this.listeners===null)return;let n=D(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{D(n)}}};function Q_(e){return new Vr}function Sc(e,t){return yl(e,t)}function Wh(e){return yl(ro,e)}var Z_=(Sc.required=Wh,Sc);function zh(){return Jt($(),y())}function Jt(e,t){return new vo(fe(e,t))}var vo=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=zh}return e})();function wu(e){return e instanceof vo?e.nativeElement:e}function Gh(){return this._results[Symbol.iterator]()}var Vi=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 de}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=kp(t);(this._changesDetected=!Rp(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]=Gh};function bu(e){return(e.flags&128)===128}var Cu=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Cu||{}),Mu=new Map,Qh=0;function Zh(){return Qh++}function Yh(e){Mu.set(e[co],e)}function Hi(e){Mu.delete(e[co])}var Oc="__ngContext__";function ze(e,t){Ve(t)?(e[Oc]=t[co],Yh(t)):e[Oc]=t}function _u(e){return Tu(e[En])}function xu(e){return Tu(e[ge])}function Tu(e){for(;e!==null&&!Se(e);)e=e[ge];return e}var Bi;function Y_(e){Bi=e}function Nu(){if(Bi!==void 0)return Bi;if(typeof document<"u")return document;throw new w(210,!1)}var J_=new S("",{providedIn:"root",factory:()=>Jh}),Jh="ng",Kh=new S(""),K_=new S("",{providedIn:"platform",factory:()=>"unknown"});var X_=new S("",{providedIn:"root",factory:()=>Nu().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),Xh={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},ex=new S("",{providedIn:"root",factory:()=>Xh});var eg="h",tg="b";var ng="di",Su="s";var Ou=!1,rg=new S("",{providedIn:"root",factory:()=>Ou});var og=new S("");var ra=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(ra||{}),Io=new S(""),Ac=new Set;function be(e){Ac.has(e)||(Ac.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Rt=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Rt||{}),Au=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=H({token:e,providedIn:"root",factory:()=>new e})}return e})(),ig=[Rt.EarlyRead,Rt.Write,Rt.MixedReadWrite,Rt.Read],sg=(()=>{class e{ngZone=x(ae);scheduler=x(qe);errorHandler=x(We,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){x(Io,{optional:!0})}execute(){this.executing=!0;for(let n of ig)for(let r of this.sequences)if(!(r.erroredOrDestroyed||!r.hooks[n]))try{r.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>r.hooks[n](r.pipelinedValue),r.snapshot))}catch(o){r.erroredOrDestroyed=!0,this.errorHandler?.handleError(o)}this.executing=!1;for(let n of this.sequences)n.afterRun(),n.once&&(this.sequences.delete(n),n.destroy());for(let n of this.deferredRegistrations)this.sequences.add(n);this.deferredRegistrations.size>0&&this.scheduler.notify(8),this.deferredRegistrations.clear()}register(n){this.executing?this.deferredRegistrations.add(n):(this.sequences.add(n),this.scheduler.notify(7))}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?.run(ra.AFTER_NEXT_RENDER,n)??n()}static \u0275prov=H({token:e,providedIn:"root",factory:()=>new e})}return e})(),$i=class{impl;hooks;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o,i=null){this.impl=t,this.hooks=n,this.once=r,this.snapshot=i,this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.()}};function ag(e,t){!t?.injector&&Bs(ag);let n=t?.injector??x(Ue);return be("NgAfterNextRender"),lg(e,n,t,!0)}function cg(e,t){if(e instanceof Function){let n=[void 0,void 0,void 0,void 0];return n[t]=e,n}else return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function lg(e,t,n,r){let o=t.get(Au);o.impl??=t.get(sg);let i=t.get(Io,null,{optional:!0}),s=n?.phase??Rt.MixedReadWrite,a=n?.manualCleanup!==!0?t.get(Zt):null,c=new $i(o.impl,cg(e,s),r,a,i?.snapshot(null));return o.impl.register(c),c}var ee=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}(ee||{}),Rc=0,ug=1,F=function(e){return e[e.Placeholder=0]="Placeholder",e[e.Loading=1]="Loading",e[e.Complete=2]="Complete",e[e.Error=3]="Error",e}(F||{}),Hr=function(e){return e[e.Initial=-1]="Initial",e}(Hr||{}),dg=0,Eo=1;var fg=4,pg=5;var Ui=7,fi=8,hg=9,Ru=function(e){return e[e.Manual=0]="Manual",e[e.Playthrough=1]="Playthrough",e}(Ru||{});function gg(e,t,n){let r=Pu(e);t[r]===null&&(t[r]=[]),t[r].push(n)}function Er(e,t){let n=Pu(e),r=t[n];if(r!==null){for(let o of r)o();t[n]=null}}function ku(e){Er(1,e),Er(0,e),Er(2,e)}function Pu(e){let t=fg;return e===1?t=pg:e===2&&(t=hg),t}function Do(e){return e+1}function wo(e,t){let n=e[m],r=Do(t.index);return e[r]}function mg(e,t,n){let r=e[m],o=Do(t);e[o]=n}function Rn(e,t){let n=Do(t.index);return e.data[n]}function yg(e,t,n){let r=Do(t);e.data[r]=n}function vg(e,t,n){let r=t[m],o=Rn(r,n);switch(e){case F.Complete:return o.primaryTmplIndex;case F.Loading:return o.loadingTmplIndex;case F.Error:return o.errorTmplIndex;case F.Placeholder:return o.placeholderTmplIndex;default:return null}}function kc(e,t){return t===F.Placeholder?e.placeholderBlockConfig?.[Rc]??null:t===F.Loading?e.loadingBlockConfig?.[Rc]??null:null}function Ig(e){return e.loadingBlockConfig?.[ug]??null}function Pc(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 Eg(e,t){let n=t.primaryTmplIndex+L;return On(e,n)}var Dg=new S("");var wg=()=>null;function oa(e,t,n=!1){return wg(e,t,n)}function bg(e){return e.get(og,!1,{optional:!0})}var bn=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(bn||{}),lr;function Cg(){if(lr===void 0&&(lr=null,Le.trustedTypes))try{lr=Le.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return lr}function bo(e){return Cg()?.createHTML(e)||e}var ur;function Lu(){if(ur===void 0&&(ur=null,Le.trustedTypes))try{ur=Le.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ur}function Lc(e){return Lu()?.createHTML(e)||e}function Fc(e){return Lu()?.createScriptURL(e)||e}var Te=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${gl})`}},qi=class extends Te{getTypeName(){return"HTML"}},Wi=class extends Te{getTypeName(){return"Style"}},zi=class extends Te{getTypeName(){return"Script"}},Gi=class extends Te{getTypeName(){return"URL"}},Qi=class extends Te{getTypeName(){return"ResourceURL"}};function Kt(e){return e instanceof Te?e.changingThisBreaksApplicationSecurity:e}function ia(e,t){let n=Mg(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${gl})`)}return n===t}function Mg(e){return e instanceof Te&&e.getTypeName()||null}function tx(e){return new qi(e)}function nx(e){return new Wi(e)}function rx(e){return new zi(e)}function ox(e){return new Gi(e)}function ix(e){return new Qi(e)}function _g(e){let t=new Yi(e);return xg()?new Zi(t):t}var Zi=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(bo(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},Yi=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=bo(t),n}};function xg(){try{return!!new window.DOMParser().parseFromString(bo(""),"text/html")}catch{return!1}}var Tg=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Fu(e){return e=String(e),e.match(Tg)?e:"unsafe:"+e}function Ae(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function kn(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var ju=Ae("area,br,col,hr,img,wbr"),Vu=Ae("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Hu=Ae("rp,rt"),Ng=kn(Hu,Vu),Sg=kn(Vu,Ae("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")),Og=kn(Hu,Ae("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")),jc=kn(ju,Sg,Og,Ng),Bu=Ae("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Ag=Ae("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"),Rg=Ae("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"),kg=kn(Bu,Ag,Rg),Pg=Ae("script,style,template"),Ji=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=jg(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=Fg(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=Vc(t).toLowerCase();if(!jc.hasOwnProperty(n))return this.sanitizedSomething=!0,!Pg.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(!kg.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;Bu[a]&&(c=Fu(c)),this.buf.push(" ",s,'="',Hc(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=Vc(t).toLowerCase();jc.hasOwnProperty(n)&&!ju.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Hc(t))}};function Lg(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Fg(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw $u(t);return t}function jg(e){let t=e.firstChild;if(t&&Lg(e,t))throw $u(t);return t}function Vc(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function $u(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var Vg=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Hg=/([^\#-~ |!])/g;function Hc(e){return e.replace(/&/g,"&amp;").replace(Vg,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(Hg,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var dr;function Bg(e,t){let n=null;try{dr=dr||_g(e);let r=t?String(t):"";n=dr.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=dr.getInertBodyElement(r)}while(r!==i);let a=new Ji().sanitizeChildren(Bc(n)||n);return bo(a)}finally{if(n){let r=Bc(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function Bc(e){return"content"in e&&$g(e)?e.content:null}function $g(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Co=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}(Co||{});function sx(e){let t=sa();return t?Lc(t.sanitize(Co.HTML,e)||""):ia(e,"HTML")?Lc(Kt(e)):Bg(Nu(),Ee(e))}function Ug(e){let t=sa();return t?t.sanitize(Co.URL,e)||"":ia(e,"URL")?Kt(e):Fu(Ee(e))}function qg(e){let t=sa();if(t)return Fc(t.sanitize(Co.RESOURCE_URL,e)||"");if(ia(e,"ResourceURL"))return Fc(Kt(e));throw new w(904,!1)}function Wg(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?qg:Ug}function ax(e,t,n){return Wg(t,n)(e)}function sa(){let e=y();return e&&e[_e].sanitizer}var zg=/^>|^->|<!--|-->|--!>|<!-$/g,Gg=/(<|>)/g,Qg="\u200B$1\u200B";function Zg(e){return e.replace(zg,t=>t.replace(Gg,Qg))}function Uu(e){return e instanceof Function?e():e}var Ge=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Ge||{}),Ki=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Ki||{}),Yg;function aa(e,t){return Yg(e,t)}function kt(e,t,n,r,o){if(r!=null){let i,s=!1;Se(r)?i=r:Ve(r)&&(s=!0,r=r[Ne]);let a=we(r);e===0&&n!==null?o==null?Qu(t,n,a):Br(t,n,a,o||null,!0):e===1&&n!==null?Br(t,n,a,o||null,!0):e===2?um(t,a,s):e===3&&t.destroyNode(a),i!=null&&fm(t,e,i,n,o)}}function Jg(e,t){return e.createText(t)}function Kg(e,t,n){e.setValue(t,n)}function Xg(e,t){return e.createComment(Zg(t))}function qu(e,t,n){return e.createElement(t,n)}function em(e,t){Wu(e,t),t[Ne]=null,t[te]=null}function tm(e,t,n,r,o,i){r[Ne]=o,r[te]=t,xo(e,r,n,1,o,i)}function Wu(e,t){t[_e].changeDetectionScheduler?.notify(10),xo(e,t,t[P],2,null,null)}function nm(e){let t=e[En];if(!t)return pi(e[m],e);for(;t;){let n=null;if(Ve(t))n=t[En];else{let r=t[Z];r&&(n=r)}if(!n){for(;t&&!t[ge]&&t!==e;)Ve(t)&&pi(t[m],t),t=t[W];t===null&&(t=e),Ve(t)&&pi(t[m],t),n=t&&t[ge]}t=n}}function rm(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],Nl(n,Z+r,t)):(n.push(t),t[ge]=null),t[W]=n;let s=t[at];s!==null&&n!==s&&zu(s,t);let a=t[xe];a!==null&&a.insertView(e),Si(t),t[v]|=128}function zu(e,t){let n=e[$t],r=t[W];if(Ve(r))e[v]|=Sr.HasTransplantedViews;else{let o=r[W][ce];t[ce]!==o&&(e[v]|=Sr.HasTransplantedViews)}n===null?e[$t]=[t]:n.push(t)}function ca(e,t){let n=e[$t],r=n.indexOf(t);n.splice(r,1)}function Cn(e,t){if(e.length<=Z)return;let n=Z+t,r=e[n];if(r){let o=r[at];o!==null&&o!==e&&ca(o,r),t>0&&(e[n-1][ge]=r[ge]);let i=Mr(e,Z+t);em(r[m],r);let s=i[xe];s!==null&&s.detachView(i[m]),r[W]=null,r[ge]=null,r[v]&=-129}return r}function Mo(e,t){if(!(t[v]&256)){let n=t[P];n.destroyNode&&xo(e,t,n,3,null,null),nm(t)}}function pi(e,t){if(t[v]&256)return;let n=D(null);try{t[v]&=-129,t[v]|=256,t[se]&&St(t[se]),im(e,t),om(e,t),t[m].type===1&&t[P].destroy();let r=t[at];if(r!==null&&Se(t[W])){r!==t[W]&&ca(r,t);let o=t[xe];o!==null&&o.detachView(e)}Hi(t)}finally{D(n)}}function om(e,t){let n=e.cleanup,r=t[Tr];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[Tr]=null);let o=t[je];if(o!==null){t[je]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[ct];if(i!==null){t[ct]=null;for(let s of i)s.destroy()}}function im(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 ft)){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];ve(4,a,c);try{c.call(a)}finally{ve(5,a,c)}}else{ve(4,o,i);try{i.call(o)}finally{ve(5,o,i)}}}}}function Gu(e,t,n){return sm(e,t.parent,n)}function sm(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[Ne];{let{componentOffset:o}=r;if(o>-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===bn.None||i===bn.Emulated)return null}return fe(r,n)}}function Br(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Qu(e,t,n){e.appendChild(t,n)}function $c(e,t,n,r,o){r!==null?Br(e,t,n,r,o):Qu(e,t,n)}function Zu(e,t){return e.parentNode(t)}function am(e,t){return e.nextSibling(t)}function Yu(e,t,n){return lm(e,t,n)}function cm(e,t,n){return e.type&40?fe(e,n):null}var lm=cm,Uc;function _o(e,t,n,r){let o=Gu(e,r,t),i=t[P],s=r.parent||t[te],a=Yu(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)$c(i,o,n[c],a,!1);else $c(i,o,n,a,!1);Uc!==void 0&&Uc(i,r,t,n,o)}function gn(e,t){if(t!==null){let n=t.type;if(n&3)return fe(t,e);if(n&4)return Xi(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return gn(e,r);{let o=e[t.index];return Se(o)?Xi(-1,o):we(o)}}else{if(n&128)return gn(e,t.next);if(n&32)return aa(t,e)()||we(e[t.index]);{let r=Ju(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=ut(e[ce]);return gn(o,r)}else return gn(e,t.next)}}}return null}function Ju(e,t){if(t!==null){let r=e[ce][te],o=t.projection;return r.projection[o]}return null}function Xi(e,t){let n=Z+e+1;if(n<t.length){let r=t[n],o=r[m].firstChild;if(o!==null)return gn(r,o)}return t[lt]}function um(e,t,n){e.removeChild(null,t,n)}function la(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&&ze(we(a),r),n.flags|=2),(n.flags&32)!==32)if(c&8)la(e,t,n.child,r,o,i,!1),kt(t,e,o,a,i);else if(c&32){let l=aa(n,r),u;for(;u=l();)kt(t,e,o,u,i);kt(t,e,o,a,i)}else c&16?Ku(e,t,r,n,o,i):kt(t,e,o,a,i);n=s?n.projectionNext:n.next}}function xo(e,t,n,r,o,i){la(n,r,e.firstChild,t,o,i,!1)}function dm(e,t,n){let r=t[P],o=Gu(e,n,t),i=n.parent||t[te],s=Yu(i,n,t);Ku(r,0,t,n,o,s)}function Ku(e,t,n,r,o,i){let s=n[ce],c=s[te].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];kt(t,e,o,u,i)}else{let l=c,u=s[W];bu(r)&&(l.flags|=128),la(e,t,l,u,o,i,!0)}}function fm(e,t,n,r,o){let i=n[lt],s=we(n);i!==s&&kt(t,e,r,i,o);for(let a=Z;a<n.length;a++){let c=n[a];xo(c[m],c,e,t,r,i)}}function pm(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:Ki.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Ki.Important),e.setStyle(n,r,o,i))}}function hm(e,t,n){e.setAttribute(t,"style",n)}function Xu(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function ed(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&Ri(e,t,r),o!==null&&Xu(e,t,o),i!==null&&hm(e,t,i)}function gm(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 td="ng-template";function mm(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&gm(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(ua(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 ua(e){return e.type===4&&e.value!==td}function ym(e,t,n){let r=e.type===4&&!n?td:e.value;return t===r}function vm(e,t,n){let r=4,o=e.attrs,i=o!==null?Dm(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!he(r)&&!he(c))return!1;if(s&&he(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!ym(e,c,n)||c===""&&t.length===1){if(he(r))return!1;s=!0}}else if(r&8){if(o===null||!mm(e,o,c,n)){if(he(r))return!1;s=!0}}else{let l=t[++a],u=Im(c,o,ua(e),n);if(u===-1){if(he(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(he(r))return!1;s=!0}}}}return he(r)||s}function he(e){return(e&1)===0}function Im(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 wm(t,e)}function nd(e,t,n=!1){for(let r=0;r<t.length;r++)if(vm(e,t[r],n))return!0;return!1}function Em(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if(!(n&1))return t[n+1]}return null}function Dm(e){for(let t=0;t<e.length;t++){let n=e[t];if(au(n))return t}return e.length}function wm(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 bm(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 qc(e,t){return e?":not("+t.trim()+")":t}function Cm(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!==""&&!he(s)&&(t+=qc(i,o),o=""),r=s,i=i||!he(r);n++}return o!==""&&(t+=qc(i,o)),t}function Mm(e){return e.map(Cm).join(",")}function _m(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(!he(o))break;o=i}r++}return{attrs:t,classes:n}}var z={};function cx(e=1){rd(R(),y(),Oe()+e,!1)}function rd(e,t,n,r){if(!r)if((t[v]&3)===3){let i=e.preOrderCheckHooks;i!==null&&yr(t,i,n)}else{let i=e.preOrderHooks;i!==null&&vr(t,i,0,n)}dt(n)}function To(e,t=T.Default){let n=y();if(n===null)return He(e,t);let r=$();return hu(r,n,Y(e),t)}function lx(){let e="invalid";throw new Error(e)}function od(e,t,n,r,o,i){let s=D(null);try{let a=null;o&Ge.SignalBased&&(a=t[r][q]),a!==null&&a.transformFn!==void 0&&(i=a.transformFn(i)),o&Ge.HasDecoratorInputTransform&&(i=e.inputTransforms[r].call(t,i)),e.setInput!==null?e.setInput(t,a,i,n,r):Bl(t,a,r,i)}finally{D(s)}}function xm(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)dt(~o);else{let i=o,s=n[++r],a=n[++r];gh(s,i);let c=t[i];a(2,c)}}}finally{dt(-1)}}function No(e,t,n,r,o,i,s,a,c,l,u){let d=t.blueprint.slice();return d[Ne]=o,d[v]=r|4|128|8|64|1024,(l!==null||e&&e[v]&2048)&&(d[v]|=2048),Gl(d),d[W]=d[Gt]=e,d[Q]=n,d[_e]=s||e&&e[_e],d[P]=a||e&&e[P],d[me]=c||e&&e[me]||null,d[te]=i,d[co]=Zh(),d[Bt]=u,d[Vl]=l,d[ce]=t.type==2?e[ce]:d,d}function Dt(e,t,n,r,o){let i=e.data[t];if(i===null)i=Tm(e,t,n,r,o),hh()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=dh();i.injectorIndex=s===null?-1:s.injectorIndex}return Ze(i,!0),i}function Tm(e,t,n,r,o){let i=Jl(),s=Gs(),a=s?i:i&&i.parent,c=e.data[t]=km(e,a,n,t,r,o);return e.firstChild===null&&(e.firstChild=c),i!==null&&(s?i.child==null&&c.parent!==null&&(i.child=c):i.next===null&&(i.next=c,c.prev=i)),c}function id(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 sd(e,t,n,r,o){let i=Oe(),s=r&2;try{dt(-1),s&&t.length>L&&rd(e,t,L,!1),ve(s?2:0,o),n(r,o)}finally{dt(i),ve(s?3:1,o)}}function da(e,t,n){if($s(t)){let r=D(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{D(r)}}}function fa(e,t,n){Zl()&&(Hm(e,t,n,fe(n,t)),(n.flags&64)===64&&ld(e,t,n))}function pa(e,t,n=fe){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 ad(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=ha(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function ha(e,t,n,r,o,i,s,a,c,l,u){let d=L+r,p=d+o,f=Nm(d,p),h=typeof l=="function"?l():l;return f[m]={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 Nm(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:z);return n}function Sm(e,t,n,r){let i=r.get(rg,Ou)||n===bn.ShadowDom,s=e.selectRootElement(t,i);return Om(s),s}function Om(e){Am(e)}var Am=()=>null;function Rm(e,t,n,r){let o=pd(t);o.push(n),e.firstCreatePass&&hd(e).push(r,o.length-1)}function km(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Yl()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Wc(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;let s=t[i];if(s===void 0)continue;r??={};let a,c=Ge.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let l=i;if(o!==null){if(!o.hasOwnProperty(i))continue;l=o[i]}e===0?zc(r,n,l,a,c):zc(r,n,l,a)}return r}function zc(e,t,n,r,o){let i;e.hasOwnProperty(n)?(i=e[n]).push(t,r):i=e[n]=[t,r],o!==void 0&&i.push(o)}function Pm(e,t,n){let r=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],c=null,l=null;for(let u=r;u<o;u++){let d=i[u],p=n?n.get(d):null,f=p?p.inputs:null,h=p?p.outputs:null;c=Wc(0,d.inputs,u,c,f),l=Wc(1,d.outputs,u,l,h);let g=c!==null&&s!==null&&!ua(t)?Jm(c,u,s):null;a.push(g)}c!==null&&(c.hasOwnProperty("class")&&(t.flags|=8),c.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=a,t.inputs=c,t.outputs=l}function Lm(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Pn(e,t,n,r,o,i,s,a){let c=fe(t,n),l=t.inputs,u;!a&&l!=null&&(u=l[r])?(ma(e,n,u,r,o),lo(t)&&Fm(n,t.index)):t.type&3?(r=Lm(r),o=s!=null?s(o,t.value||"",r):o,i.setProperty(c,r,o)):t.type&12}function Fm(e,t){let n=Qe(t,e);n[v]&16||(n[v]|=64)}function ga(e,t,n,r){if(Zl()){let o=r===null?null:{"":-1},i=$m(e,n),s,a;i===null?s=a=null:[s,a]=i,s!==null&&cd(e,t,n,s,o,a),o&&Um(n,r,o)}n.mergedAttrs=Dn(n.mergedAttrs,n.attrs)}function cd(e,t,n,r,o,i){for(let l=0;l<r.length;l++)Pi(Pr(n,t),e,r[l].type);Wm(n,e.data.length,r.length);for(let l=0;l<r.length;l++){let u=r[l];u.providersResolver&&u.providersResolver(u)}let s=!1,a=!1,c=id(e,t,r.length,null);for(let l=0;l<r.length;l++){let u=r[l];n.mergedAttrs=Dn(n.mergedAttrs,u.hostAttrs),zm(e,n,t,c,u),qm(c,u,o),u.contentQueries!==null&&(n.flags|=4),(u.hostBindings!==null||u.hostAttrs!==null||u.hostVars!==0)&&(n.flags|=64);let d=u.type.prototype;!s&&(d.ngOnChanges||d.ngOnInit||d.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),s=!0),!a&&(d.ngOnChanges||d.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),a=!0),c++}Pm(e,n,i)}function jm(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;Vm(s)!=a&&s.push(a),s.push(n,r,i)}}function Vm(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function Hm(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;lo(n)&&Gm(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||Pr(n,t),ze(r,t);let s=n.initialInputs;for(let a=o;a<i;a++){let c=e.data[a],l=pt(t,e,a,n);if(ze(l,t),s!==null&&Ym(t,a-o,l,c,n,s),Be(c)){let u=Qe(n.index,t);u[Q]=pt(t,e,a,n)}}}function ld(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=mh();try{dt(i);for(let a=r;a<o;a++){let c=e.data[a],l=t[a];Ai(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&Bm(c,l)}}finally{dt(-1),Ai(s)}}function Bm(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function $m(e,t){let n=e.directiveRegistry,r=null,o=null;if(n)for(let i=0;i<n.length;i++){let s=n[i];if(nd(t,s.selectors,!1))if(r||(r=[]),Be(s))if(s.findHostDirectiveDefs!==null){let a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),r.unshift(...a,s);let c=a.length;es(e,t,c)}else r.unshift(s),es(e,t,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,r,o),r.push(s)}return r===null?null:[r,o]}function es(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function Um(e,t,n){if(t){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new w(-301,!1);r.push(t[o],i)}}}function qm(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 Wm(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function zm(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=st(o.type,!0)),s=new ft(i,Be(o),To);e.blueprint[r]=s,n[r]=s,jm(e,t,r,id(e,n,o.hostVars,z),o)}function ud(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Gm(e,t,n){let r=fe(t,e),o=ad(n),i=e[_e].rendererFactory,s=So(e,No(e,o,null,ud(n),r,t,null,i.createRenderer(r,n),null,null,null));e[t.index]=s}function Qm(e,t,n,r,o,i){let s=fe(e,t);Zm(t[P],s,i,e.value,n,r,o)}function Zm(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?Ee(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function Ym(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;){let c=s[a++],l=s[a++],u=s[a++],d=s[a++];od(r,n,c,l,u,d)}}function Jm(e,t,n){let r=null,o=0;for(;o<n.length;){let i=n[o];if(i===0){o+=4;continue}else if(i===5){o+=2;continue}if(typeof i=="number")break;if(e.hasOwnProperty(i)){r===null&&(r=[]);let s=e[i];for(let a=0;a<s.length;a+=3)if(s[a]===t){r.push(i,s[a+1],s[a+2],n[o+1]);break}}o+=2}return r}function dd(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function fd(e,t){let n=e.contentQueries;if(n!==null){let r=D(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];ho(i),a.contentQueries(2,t[s],s)}}}finally{D(r)}}}function So(e,t){return e[En]?e[Ec][ge]=t:e[En]=t,e[Ec]=t,t}function ts(e,t,n){ho(0);let r=D(null);try{t(e,n)}finally{D(r)}}function pd(e){return e[Tr]??=[]}function hd(e){return e.cleanup??=[]}function Oo(e,t){let n=e[me],r=n?n.get(We,null):null;r&&r.handleError(t)}function ma(e,t,n,r,o){for(let i=0;i<n.length;){let s=n[i++],a=n[i++],c=n[i++],l=t[s],u=e.data[s];od(u,l,r,a,c,o)}}function gd(e,t,n){let r=zl(t,e);Kg(e[P],r,n)}function Km(e,t){let n=Qe(t,e),r=n[m];Xm(r,n);let o=n[Ne];o!==null&&n[Bt]===null&&(n[Bt]=oa(o,n[me])),ya(r,n,n[Q])}function Xm(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function ya(e,t,n){Ys(t);try{let r=e.viewQuery;r!==null&&ts(1,r,n);let o=e.template;o!==null&&sd(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[xe]?.finishViewCreation(e),e.staticContentQueries&&fd(e,t),e.staticViewQueries&&ts(2,e.viewQuery,n);let i=e.components;i!==null&&ey(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[v]&=-5,Js()}}function ey(e,t){for(let n=0;n<t.length;n++)Km(e,t[n])}function Xt(e,t,n,r){let o=D(null);try{let i=t.tView,a=e[v]&4096?4096:16,c=No(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[t.index];c[at]=l;let u=e[xe];return u!==null&&(c[xe]=u.createEmbeddedView(i)),ya(i,c,n),c}finally{D(o)}}function md(e,t){let n=Z+t;if(n<e.length)return e[n]}function ht(e,t){return!t||t.firstChild===null||bu(e)}function en(e,t,n,r=!0){let o=t[m];if(rm(o,t,e,n),r){let s=Xi(n,e),a=t[P],c=Zu(a,e[lt]);c!==null&&tm(o,e[te],a,t,c,s)}let i=t[Bt];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function va(e,t){let n=Cn(e,t);return n!==void 0&&Mo(n[m],n),n}function $r(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(we(i)),Se(i)&&ty(i,r);let s=n.type;if(s&8)$r(e,t,n.child,r);else if(s&32){let a=aa(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=Ju(t,n);if(Array.isArray(a))r.push(...a);else{let c=ut(t[ce]);$r(c[m],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function ty(e,t){for(let n=Z;n<e.length;n++){let r=e[n],o=r[m].firstChild;o!==null&&$r(r[m],r,o,t)}e[lt]!==e[Ne]&&t.push(e[lt])}var yd=[];function ny(e){return e[se]??ry(e)}function ry(e){let t=yd.pop()??Object.create(iy);return t.lView=e,t}function oy(e){e.lView[se]!==e&&(e.lView=null,yd.push(e))}var iy=oe(re({},nt),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{An(e.lView)},consumerOnSignalRead(){this.lView[se]=this}});function sy(e){let t=e[se]??Object.create(ay);return t.lView=e,t}var ay=oe(re({},nt),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=ut(e.lView);for(;t&&!vd(t[m]);)t=ut(t);t&&Ws(t)},consumerOnSignalRead(){this.lView[se]=this}});function vd(e){return e.type!==2}function Id(e){if(e[ct]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[ct])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[v]&8192)}}var cy=100;function Ed(e,t=!0,n=0){let o=e[_e].rendererFactory,i=!1;i||o.begin?.();try{ly(e,n)}catch(s){throw t&&Oo(e,s),s}finally{i||o.end?.()}}function ly(e,t){let n=Kl();try{Or(!0),ns(e,t);let r=0;for(;fo(e);){if(r===cy)throw new w(103,!1);r++,ns(e,1)}}finally{Or(n)}}function uy(e,t,n,r){let o=t[v];if((o&256)===256)return;let i=!1,s=!1;Ys(t);let a=!0,c=null,l=null;i||(vd(e)?(l=ny(t),c=Nt(l)):nc()===null?(a=!1,l=sy(t),c=Nt(l)):t[se]&&(St(t[se]),t[se]=null));try{Gl(t),ph(e.bindingStartIndex),n!==null&&sd(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let f=e.preOrderCheckHooks;f!==null&&yr(t,f,null)}else{let f=e.preOrderHooks;f!==null&&vr(t,f,0,null),li(t,0)}if(s||dy(t),Id(t),Dd(t,0),e.contentQueries!==null&&fd(e,t),!i)if(u){let f=e.contentCheckHooks;f!==null&&yr(t,f)}else{let f=e.contentHooks;f!==null&&vr(t,f,1),li(t,1)}xm(e,t);let d=e.components;d!==null&&bd(t,d,0);let p=e.viewQuery;if(p!==null&&ts(2,p,r),!i)if(u){let f=e.viewCheckHooks;f!==null&&yr(t,f)}else{let f=e.viewHooks;f!==null&&vr(t,f,2),li(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[mr]){for(let f of t[mr])f();t[mr]=null}i||(t[v]&=-73)}catch(u){throw i||An(t),u}finally{l!==null&&(dn(l,c),a&&oy(l)),Js()}}function Dd(e,t){for(let n=_u(e);n!==null;n=xu(n))for(let r=Z;r<n.length;r++){let o=n[r];wd(o,t)}}function dy(e){for(let t=_u(e);t!==null;t=xu(t)){if(!(t[v]&Sr.HasTransplantedViews))continue;let n=t[$t];for(let r=0;r<n.length;r++){let o=n[r];Ws(o)}}}function fy(e,t,n){let r=Qe(t,e);wd(r,n)}function wd(e,t){qs(e)&&ns(e,t)}function ns(e,t){let r=e[m],o=e[v],i=e[se],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&fn(i)),s||=!1,i&&(i.dirty=!1),e[v]&=-9217,s)uy(r,e,r.template,e[Q]);else if(o&8192){Id(e),Dd(e,1);let a=r.components;a!==null&&bd(e,a,1)}}function bd(e,t,n){for(let r=0;r<t.length;r++)fy(e,t[r],n)}function Ao(e,t){let n=Kl()?64:1088;for(e[_e].changeDetectionScheduler?.notify(t);e;){e[v]|=n;let r=ut(e);if(Ti(e)&&!r)return e;e=r}return null}var gt=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){let t=this._lView,n=t[m];return $r(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r}get context(){return this._lView[Q]}get dirty(){return!!(this._lView[v]&9280)||!!this._lView[se]?.dirty}set context(t){this._lView[Q]=t}get destroyed(){return(this._lView[v]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[W];if(Se(t)){let n=t[Nr],r=n?n.indexOf(this):-1;r>-1&&(Cn(t,r),Mr(n,r))}this._attachedToViewContainer=!1}Mo(this._lView[m],this._lView)}onDestroy(t){zs(this._lView,t)}markForCheck(){Ao(this._cdRefInjectingView||this._lView,4)}markForRefresh(){Ws(this._cdRefInjectingView||this._lView)}detach(){this._lView[v]&=-129}reattach(){Si(this._lView),this._lView[v]|=128}detectChanges(){this._lView[v]|=1024,Ed(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new w(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Ti(this._lView),n=this._lView[at];n!==null&&!t&&ca(n,this._lView),Wu(this._lView[m],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new w(902,!1);this._appRef=t;let n=Ti(this._lView),r=this._lView[at];r!==null&&!n&&zu(r,this._lView),Si(this._lView)}},Ur=(()=>{class e{static __NG_ELEMENT_ID__=gy}return e})(),py=Ur,hy=class extends py{_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=Xt(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new gt(o)}};function gy(){return Ro($(),y())}function Ro(e,t){return e.type&4?new hy(t,e,Jt(e,t)):null}var dx=new RegExp(`^(\\d+)*(${tg}|${eg})*(.*)`);var my=()=>null;function Ut(e,t){return my(e,t)}var rs=class{},qr=class{},os=class{resolveComponentFactory(t){throw Error(`No component factory found for ${ie(t)}.`)}},qt=class{static NULL=new os},Wr=class{},fx=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>yy()}return e})();function yy(){let e=y(),t=$(),n=Qe(t.index,e);return(Ve(n)?n:e)[P]}var vy=(()=>{class e{static \u0275prov=H({token:e,providedIn:"root",factory:()=>null})}return e})();function zr(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=Di(o,a);else if(i==2){let c=a,l=t[++s];r=Di(r,c+": "+l+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}var Gr=class extends qt{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=De(t);return new mt(n,this.ngModule)}};function Gc(e,t){let n=[];for(let r in e){if(!e.hasOwnProperty(r))continue;let o=e[r];if(o===void 0)continue;let i=Array.isArray(o),s=i?o[0]:o,a=i?o[1]:Ge.None;t?n.push({propName:s,templateName:r,isSignal:(a&Ge.SignalBased)!==0}):n.push({propName:s,templateName:r})}return n}function Iy(e){let t=e.toLowerCase();return t==="svg"?Wl:t==="math"?nh:null}var mt=class extends qr{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;get inputs(){let t=this.componentDef,n=t.inputTransforms,r=Gc(t.inputs,!0);if(n!==null)for(let o of r)n.hasOwnProperty(o.propName)&&(o.transform=n[o.propName]);return r}get outputs(){return Gc(this.componentDef.outputs,!1)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=Mm(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){let i=D(null);try{o=o||this.ngModule;let s=o instanceof Me?o:o?.injector;s&&this.componentDef.getStandaloneInjector!==null&&(s=this.componentDef.getStandaloneInjector(s)||s);let a=s?new jt(t,s):t,c=a.get(Wr,null);if(c===null)throw new w(407,!1);let l=a.get(vy,null),u=a.get(qe,null),d={rendererFactory:c,sanitizer:l,changeDetectionScheduler:u},p=c.createRenderer(null,this.componentDef),f=this.componentDef.selectors[0][0]||"div",h=r?Sm(p,r,this.componentDef.encapsulation,a):qu(p,f,Iy(f)),g=512;this.componentDef.signals?g|=4096:this.componentDef.onPush||(g|=16);let M=null;h!==null&&(M=oa(h,a,!0));let I=ha(0,null,null,1,0,null,null,null,null,null,null),O=No(null,I,null,g,null,null,d,p,a,null,M);Ys(O);let ue,U,wt=null;try{let ne=this.componentDef,bt,Lo=null;ne.findHostDirectiveDefs?(bt=[],Lo=new Map,ne.findHostDirectiveDefs(ne,bt,Lo),bt.push(ne)):bt=[ne];let Ef=Ey(O,h);wt=Dy(Ef,h,ne,bt,O,d,p),U=On(I,L),h&&Cy(p,ne,h,r),n!==void 0&&My(U,this.ngContentSelectors,n),ue=by(wt,ne,bt,Lo,O,[_y]),ya(I,O,null)}catch(ne){throw wt!==null&&Hi(wt),Hi(O),ne}finally{Js()}return new is(this.componentType,ue,Jt(U,O),O,U)}finally{D(i)}}},is=class extends rs{location;_rootLView;_tNode;instance;hostView;changeDetectorRef;componentType;previousInputValues=null;constructor(t,n,r,o,i){super(),this.location=r,this._rootLView=o,this._tNode=i,this.instance=n,this.hostView=this.changeDetectorRef=new gt(o,void 0,!1),this.componentType=t}setInput(t,n){let r=this._tNode.inputs,o;if(r!==null&&(o=r[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let i=this._rootLView;ma(i[m],i,o,t,n),this.previousInputValues.set(t,n);let s=Qe(this._tNode.index,i);Ao(s,1)}}get injector(){return new it(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function Ey(e,t){let n=e[m],r=L;return e[r]=t,Dt(n,r,2,"#host",null)}function Dy(e,t,n,r,o,i,s){let a=o[m];wy(r,e,t,s);let c=null;t!==null&&(c=oa(t,o[me]));let l=i.rendererFactory.createRenderer(t,n),u=No(o,ad(n),null,ud(n),o[e.index],e,i,l,null,null,c);return a.firstCreatePass&&es(a,e,r.length-1),So(o,u),o[e.index]=u}function wy(e,t,n,r){for(let o of e)t.mergedAttrs=Dn(t.mergedAttrs,o.hostAttrs);t.mergedAttrs!==null&&(zr(t,t.mergedAttrs,!0),n!==null&&ed(r,n,t))}function by(e,t,n,r,o,i){let s=$(),a=o[m],c=fe(s,o);cd(a,o,s,n,null,r);for(let u=0;u<n.length;u++){let d=s.directiveStart+u,p=pt(o,a,d,s);ze(p,o)}ld(a,o,s),c&&ze(c,o);let l=pt(o,a,s.directiveStart+s.componentOffset,s);if(e[Q]=o[Q]=l,i!==null)for(let u of i)u(l,t);return da(a,s,o),l}function Cy(e,t,n,r){if(r)Ri(e,n,["ng-version","19.0.1"]);else{let{attrs:o,classes:i}=_m(t.selectors[0]);o&&Ri(e,n,o),i&&i.length>0&&Xu(e,n,i.join(" "))}}function My(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)}}function _y(){let e=$();yo(y()[m],e)}var Ia=(()=>{class e{static __NG_ELEMENT_ID__=xy}return e})();function xy(){let e=$();return Md(e,y())}var Ty=Ia,Cd=class extends Ty{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Jt(this._hostTNode,this._hostLView)}get injector(){return new it(this._hostTNode,this._hostLView)}get parentInjector(){let t=Ks(this._hostTNode,this._hostLView);if(cu(t)){let n=Rr(t,this._hostLView),r=Ar(t),o=n[m].data[r+8];return new it(o,n)}else return new it(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Qc(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=Ut(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,ht(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!Jp(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(De(t)),l=r||this.parentInjector;if(!i&&c.ngModule==null){let g=(s?l:this.parentInjector).get(Me,null);g&&(i=g)}let u=De(c.componentType??{}),d=Ut(this._lContainer,u?.id??null),p=d?.firstChild??null,f=c.create(l,o,p,i);return this.insertImpl(f.hostView,a,ht(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(oh(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[W],l=new Cd(c,c[te],c[W]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return en(s,o,i,r),t.attachToViewContainerRef(),Nl(hi(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Qc(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Cn(this._lContainer,n);r&&(Mr(hi(this._lContainer),n),Mo(r[m],r))}detach(t){let n=this._adjustIndex(t,-1),r=Cn(this._lContainer,n);return r&&Mr(hi(this._lContainer),n)!=null?new gt(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Qc(e){return e[Nr]}function hi(e){return e[Nr]||(e[Nr]=[])}function Md(e,t){let n,r=t[e.index];return Se(r)?n=r:(n=dd(r,t,null,e),t[e.index]=n,So(t,n)),Sy(n,t,e,r),new Cd(n,e,t)}function Ny(e,t){let n=e[P],r=n.createComment(""),o=fe(t,e),i=Zu(n,o);return Br(n,i,r,am(n,o),!1),r}var Sy=Ay,Oy=()=>!1;function _d(e,t,n){return Oy(e,t,n)}function Ay(e,t,n,r){if(e[lt])return;let o;n.type&8?o=we(r):o=Ny(t,n),e[lt]=o}var ss=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++)Da(t,n).matches!==null&&this.queries[n].setDirty()}},Qr=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=jy(t):this.predicate=t}},cs=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,Ry(n,i)),this.matchTNodeWithReadOption(t,n,Ir(n,t,i,!1,!1))}else r===Ur?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Ir(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===vo||o===Ia||o===Ur&&n.type&4)this.addMatch(n.index,-2);else{let i=Ir(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 Ry(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 ky(e,t){return e.type&11?Jt(e,t):e.type&4?Ro(e,t):null}function Py(e,t,n,r){return n===-1?ky(t,e):n===-2?Ly(e,t,r):pt(e,e[m],n,t)}function Ly(e,t,n){if(n===vo)return Jt(t,e);if(n===Ur)return Ro(t,e);if(n===Ia)return Md(t,e)}function xd(e,t,n,r){let o=t[xe].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(Py(t,u,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function us(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=xd(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[at]===p[W]&&us(p[m],p,l,r)}if(u[$t]!==null){let d=u[$t];for(let p=0;p<d.length;p++){let f=d[p];us(f[m],f,l,r)}}}}}return r}function Ea(e,t){return e[xe].queries[t].queryList}function Td(e,t,n){let r=new Vi((n&4)===4);return Rm(e,t,r,r.destroy),(t[xe]??=new as).queries.push(new ss(r))-1}function Fy(e,t,n){let r=R();return r.firstCreatePass&&(Sd(r,new Qr(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),Td(r,y(),t)}function Nd(e,t,n,r){let o=R();if(o.firstCreatePass){let i=$();Sd(o,new Qr(t,n,r),i.index),Vy(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return Td(o,y(),n)}function jy(e){return e.split(",").map(t=>t.trim())}function Sd(e,t,n){e.queries===null&&(e.queries=new cs),e.queries.track(new ls(t,n))}function Vy(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 Da(e,t){return e.queries.getByIndex(t)}function Od(e,t){let n=e[m],r=Da(n,t);return r.crossesNgTemplate?us(n,e,t,[]):xd(n,e,r,t)}function Hy(e){return typeof e=="function"&&e[q]!==void 0}function By(e,t){be("NgSignals");let n=fc(e),r=n[q];return t?.equal&&(r.equal=t.equal),n.set=o=>pn(r,o),n.update=o=>pc(r,o),n.asReadonly=Ad.bind(n),n}function Ad(){let e=this[q];if(e.readonlyFn===void 0){let t=()=>this();t[q]=e,e.readonlyFn=t}return e.readonlyFn}function Rd(e){return Hy(e)&&typeof e.set=="function"}function wa(e,t,n){let r,o=ii(()=>{r._dirtyCounter();let i=Wy(r,e);if(t&&i===void 0)throw new w(-951,!1);return i});return r=o[q],r._dirtyCounter=By(0),r._flatValue=void 0,o}function $y(e){return wa(!0,!1,e)}function Uy(e){return wa(!0,!0,e)}function qy(e){return wa(!1,!1,e)}function kd(e,t){let n=e[q];n._lView=y(),n._queryIndex=t,n._queryList=Ea(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function Wy(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[v]&4)return t?void 0:J;let o=Ea(n,r),i=Od(n,r);return o.reset(i,wu),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}function Zc(e,t){return $y(t)}function zy(e,t){return Uy(t)}var hx=(Zc.required=zy,Zc);function gx(e,t){return qy(t)}function Pd(e,t){let n=Object.create(ml),r=new Vr;n.value=e;function o(){return un(n),Yc(n.value),n.value}return o[q]=n,o.asReadonly=Ad.bind(o),o.set=i=>{n.equal(n.value,i)||(pn(n,i),r.emit(i))},o.update=i=>{Yc(n.value),o.set(i(n.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function Yc(e){if(e===ro)throw new w(952,!1)}function Jc(e,t){return Pd(e,t)}function Gy(e){return Pd(ro,e)}var mx=(Jc.required=Gy,Jc);var yt=class{},ds=class{};function yx(e,t){return new Zr(e,t??null,[])}var Zr=class extends yt{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new Gr(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=Al(t);this._bootstrapComponents=Uu(i.bootstrap),this._r3Injector=yu(t,n,[{provide:yt,useValue:this},{provide:qt,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)}},fs=class extends ds{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new Zr(this.moduleType,t,[])}};var Yr=class extends yt{injector;componentFactoryResolver=new Gr(this);instance=null;constructor(t){super();let n=new In([...t.providers,{provide:yt,useValue:this},{provide:qt,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 Ld(e,t,n=null){return new Yr({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var Qy=(()=>{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=Vs(!1,n.type),o=r.length>0?Ld([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=H({token:e,providedIn:"environment",factory:()=>new e(He(Me))})}return e})();function vx(e){return Nn(()=>{let t=Fd(e),n=oe(re({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Cu.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(Qy).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||bn.Emulated,styles:e.styles||J,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&be("NgStandalone"),jd(n);let r=e.dependencies;return n.directiveDefs=Xc(r,!1),n.pipeDefs=Xc(r,!0),n.id=Jy(n),n})}function Zy(e){return De(e)||Fs(e)}function Yy(e){return e!==null}function Ix(e){return Nn(()=>({type:e.type,bootstrap:e.bootstrap||J,declarations:e.declarations||J,imports:e.imports||J,exports:e.exports||J,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Kc(e,t){if(e==null)return Vt;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=Ge.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==Ge.None?[r,a]:r,t[i]=s):n[i]=r}return n}function Ex(e){return Nn(()=>{let t=Fd(e);return jd(t),t})}function Dx(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 Fd(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||Vt,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||J,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Kc(e.inputs,t),outputs:Kc(e.outputs),debugInfo:null}}function jd(e){e.features?.forEach(t=>t(e))}function Xc(e,t){if(!e)return null;let n=t?js:Zy;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(Yy)}function Jy(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 Ky(e){return Object.getPrototypeOf(e.prototype).constructor}function Xy(e){let t=Ky(e.type),n=!0,r=[e];for(;t;){let o;if(Be(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new w(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=fr(e.inputs),s.inputTransforms=fr(e.inputTransforms),s.declaredInputs=fr(e.declaredInputs),s.outputs=fr(e.outputs);let a=o.hostBindings;a&&ov(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&nv(e,c),l&&rv(e,l),ev(e,o),hp(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===Xy&&(n=!1)}}t=Object.getPrototypeOf(t)}tv(r)}function ev(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let r=t.inputs[n];if(r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n],t.inputTransforms!==null)){let o=Array.isArray(r)?r[0]:r;if(!t.inputTransforms.hasOwnProperty(o))continue;e.inputTransforms??={},e.inputTransforms[o]=t.inputTransforms[o]}}}function tv(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=Dn(o.hostAttrs,n=Dn(n,o.hostAttrs))}}function fr(e){return e===Vt?{}:e===J?[]:e}function nv(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function rv(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function ov(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function wx(e){let t=e.inputConfig,n={};for(let r in t)if(t.hasOwnProperty(r)){let o=t[r];Array.isArray(o)&&o[3]&&(n[r]=o[3])}e.inputTransforms=n}function Vd(e){return ba(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function iv(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 ba(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function ko(e,t,n){return e[t]=n}function sv(e,t){return e[t]}function le(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Mn(e,t,n,r){let o=le(e,t,n);return le(e,t+1,r)||o}function av(e,t,n,r,o){let i=Mn(e,t,n,r);return le(e,t+2,o)||i}function cv(e,t,n,r,o,i){let s=Mn(e,t,n,r);return Mn(e,t+2,o,i)||s}function lv(e){return(e.flags&32)===32}function uv(e,t,n,r,o,i,s,a,c){let l=t.consts,u=Dt(t,e,4,s||null,a||null);ga(t,n,u,$e(l,c)),yo(t,u);let d=u.tView=ha(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 _n(e,t,n,r,o,i,s,a,c,l){let u=n+L,d=t.firstCreatePass?uv(u,t,e,r,o,i,s,a,c):t.data[u];Ze(d,!1);let p=fv(t,e,d,n);go()&&_o(t,e,p,d),ze(p,e);let f=dd(p,e,p,d);return e[u]=f,So(e,f),_d(f,d,e),uo(d)&&fa(t,e,d),c!=null&&pa(e,d,l),d}function dv(e,t,n,r,o,i,s,a){let c=y(),l=R(),u=$e(l.consts,i);return _n(c,l,e,t,n,r,o,u,s,a),dv}var fv=pv;function pv(e,t,n,r){return mo(!0),t[P].createComment("")}var hv=(()=>{class e{cachedInjectors=new Map;getOrCreateInjector(n,r,o,i){if(!this.cachedInjectors.has(n)){let s=o.length>0?Ld(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=H({token:e,providedIn:"environment",factory:()=>new e})}return e})();var gv=new S("");function gi(e,t,n){return e.get(hv).getOrCreateInjector(t,e,n,"")}function mv(e,t,n){if(e instanceof jt){let o=e.injector,i=e.parentInjector,s=gi(i,t,n);return new jt(o,s)}let r=e.get(Me);if(r!==e){let o=gi(r,t,n);return new jt(e,o)}return gi(e,t,n)}function ot(e,t,n,r=!1){let o=n[W],i=o[m];if(Kp(o))return;let s=wo(o,t),a=s[Eo],c=s[Ui];if(!(c!==null&&e<c)&&el(a,e)&&el(s[dg]??-1,e)){let l=Rn(i,t),d=!r&&!0&&(Ig(l)!==null||kc(l,F.Loading)!==null||kc(l,F.Placeholder))?Ev:vv;try{d(e,s,n,t,o)}catch(p){Oo(o,p)}}}function yv(e,t){let n=e[Lt];return n===null||n.length===0?null:n.find(r=>r.data[Su]===t[Eo])??null}function vv(e,t,n,r,o){let i=vg(e,o,r);if(i!==null){t[Eo]=e;let s=o[m],a=i+L,c=On(s,a),l=0;va(n,l);let u;if(e===F.Complete){let f=Rn(s,r),h=f.providers;h&&h.length>0&&(u=mv(o[me],f,h))}let d=yv(n,t);if(n[Lt]===null||n[Lt].length===0||d){n[Lt]=null;let f=Xt(o,c,null,{injector:u,dehydratedView:d});en(n,f,l,ht(c,d)),Ao(f,2)}if(e===F.Complete&&Array.isArray(t[fi])){for(let f of t[fi])f();t[fi]=null}}}function el(e,t){return e<t}function Iv(e,t){let n=e[t.index];ot(F.Placeholder,t,n)}function tl(e,t,n){e.loadingPromise.then(()=>{e.loadingState===ee.COMPLETE?ot(F.Complete,t,n):e.loadingState===ee.FAILED&&ot(F.Error,t,n)})}var Ev=null;var bx=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var Dv=new S("");function Hd(e){return!!e&&typeof e.then=="function"}function wv(e){return!!e&&typeof e.subscribe=="function"}var bv=new S("");var Bd=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=x(bv,{optional:!0})??[];injector=x(Ue);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=Fl(this.injector,o);if(Hd(i))n.push(i);else if(wv(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=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),$d=(()=>{class e{static \u0275prov=H({token:e,providedIn:"root",factory:()=>new Jr})}return e})(),Jr=class{queuedEffectCount=0;queues=new Map;schedule(t){this.enqueue(t)}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()}},Cv=new S("");function Mv(){dc(()=>{throw new w(600,!1)})}function _v(e){return e.isBoundToModule}var xv=10;function Tv(e,t,n){try{let r=n();return Hd(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var Po=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=x(qh);afterRenderManager=x(Au);zonelessEnabled=x(Xs);rootEffectScheduler=x($d);dirtyFlags=0;deferredDirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new de;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=x(Yt).hasPendingTasks.pipe(ye(n=>!n));constructor(){x(Io,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=x(Me);get injector(){return this._injector}bootstrap(n,r){let o=n instanceof qr;if(!this._injector.get(Bd).done){let p=!o&&jp(n),f=!1;throw new w(405,f)}let s;o?s=n:s=this._injector.get(qt).resolveComponentFactory(n),this.componentTypes.push(s.componentType);let a=_v(s)?void 0:this._injector.get(yt),c=r||s.selector,l=s.create(Ue.NULL,[],c,a),u=l.location.nativeElement,d=l.injector.get(Dv,null);return d?.registerApplication(u),l.onDestroy(()=>{this.detachView(l.hostView),Dr(this.components,l),d?.unregisterApplication(u)}),this._loadComponent(l),l}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick=()=>{if(this.tracingSnapshot!==null){let r=this.tracingSnapshot;this.tracingSnapshot=null,r.run(ra.CHANGE_DETECTION,this._tick);return}if(this._runningTick)throw new w(101,!1);let n=D(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,D(n),this.afterTick.next()}};synchronize(){let n=null;this._injector.destroyed||(n=this._injector.get(Wr,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let r=0;for(;this.dirtyFlags!==0&&r++<xv;)this.synchronizeOnce(n)}synchronizeOnce(n){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o,notifyErrorHandler:i}of this.allViews)Nv(o,i,r,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}else n?.begin?.(),n?.end?.();this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>fo(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;Dr(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(Cv,[]).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),()=>Dr(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new w(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Dr(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Nv(e,t,n,r){if(!n&&!fo(e))return;Ed(e,t,n&&!r?0:1)}function Sv(e,t,n){let r=t[me],o=t[m];if(e.loadingState!==ee.NOT_STARTED)return e.loadingPromise??Promise.resolve();let i=wo(t,n),s=Eg(o,e);e.loadingState=ee.IN_PROGRESS,Er(1,i);let a=e.dependencyResolverFn,c=r.get(Yt),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,M=De(g)||Fs(g);if(M)p.push(M);else{let I=js(g);I&&f.push(I)}}else{d=!0;break}if(e.loadingPromise=null,c.remove(l),d){if(e.loadingState=ee.FAILED,e.errorTmplIndex===null){let h="",g=new w(750,!1);Oo(t,g)}}else{e.loadingState=ee.COMPLETE;let h=s.tView;if(p.length>0){h.directiveRegistry=Pc(h.directiveRegistry,p);let g=p.map(I=>I.type),M=Vs(!1,...g);e.providers=M}f.length>0&&(h.pipeRegistry=Pc(h.pipeRegistry,f))}}),e.loadingPromise):(e.loadingPromise=Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=ee.COMPLETE,c.remove(l)}),e.loadingPromise)}function Ov(e,t){let n=e[m],r=e[t.index],o=e[me],i=wo(e,t),s=Rn(n,t);if(Rv(o,s))switch(ku(i),s.loadingState){case ee.NOT_STARTED:ot(F.Loading,t,r),Sv(s,e,t),s.loadingState===ee.IN_PROGRESS&&tl(s,t,r);break;case ee.IN_PROGRESS:ot(F.Loading,t,r),tl(s,t,r);break;case ee.COMPLETE:ot(F.Complete,t,r);break;case ee.FAILED:ot(F.Error,t,r);break;default:}}function Av(e,t,n){let r=t[Ui]&&t[Ui]===F.Complete;return!(n.hydrateTriggers&&n.hydrateTriggers.size>0&&r&&bg(e))}function Rv(e,t){return e.get(gv,null,{optional:!0})?.behavior!==Ru.Manual}function Cx(e,t,n,r,o,i,s,a,c){let l=y(),u=R(),d=e+L,p=_n(l,u,e,null,0,0),f=l[me];if(u.firstCreatePass){be("NgDefer");let U={primaryTmplIndex:t,loadingTmplIndex:r??null,placeholderTmplIndex:o??null,errorTmplIndex:i??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:n??null,loadingState:ee.NOT_STARTED,loadingPromise:null,providers:null,hydrateTriggers:null,prefetchTriggers:null};c?.(u,U,a,s),yg(u,d,U)}let h=l[d];_d(h,p,l);let g=null,M=null;if(h[Lt]?.length>0){let U=h[Lt][0].data;M=U[ng]??null,g=U[Su]}let I=[null,Hr.Initial,null,null,null,null,M,g,null,null];mg(l,d,I);let O=null;M!==null&&(O=f.get(Dg),O.add(M,{lView:l,tNode:p,lContainer:h}));let ue=()=>{ku(I),M!==null&&O?.cleanup([M])};gg(0,I,()=>Ql(l,ue)),zs(l,ue)}function Mx(e){let t=y(),n=It();if(le(t,n,e)){let r=D(null);try{let o=!!e,i=Et(),s=wo(t,i),a=Rn(t[m],i),c=s[Eo];o===!1&&c===Hr.Initial?Iv(t,i):o===!0&&(c===Hr.Initial||c===F.Placeholder)&&Av(t[me],s,a)&&Ov(t,i)}finally{D(r)}}}function kv(e,t,n,r){let o=y(),i=It();if(le(o,i,t)){let s=R(),a=Et();Qm(a,o,e,t,n,r)}return kv}function Ud(e,t,n,r){return le(e,It(),n)?t+Ee(n)+r:z}function qd(e,t,n,r,o,i){let s=Xl(),a=Mn(e,s,n,o);return po(2),a?t+Ee(n)+r+Ee(o)+i:z}function Pv(e,t,n,r,o,i,s,a){let c=Xl(),l=av(e,c,n,o,s);return po(3),l?t+Ee(n)+r+Ee(o)+i+Ee(s)+a:z}function pr(e,t){return e<<17|t<<2}function vt(e){return e>>17&32767}function Lv(e){return(e&2)==2}function Fv(e,t){return e&131071|t<<17}function ps(e){return e|2}function Wt(e){return(e&131068)>>2}function mi(e,t){return e&-131069|t<<2}function jv(e){return(e&1)===1}function hs(e){return e|1}function Vv(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=vt(s),c=Wt(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||Sn(d,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let p=vt(e[a+1]);e[r+1]=pr(p,a),p!==0&&(e[p+1]=mi(e[p+1],r)),e[a+1]=Fv(e[a+1],r)}else e[r+1]=pr(a,0),a!==0&&(e[a+1]=mi(e[a+1],r)),a=r;else e[r+1]=pr(c,0),a===0?a=r:e[c+1]=mi(e[c+1],r),c=r;l&&(e[r+1]=ps(e[r+1])),nl(e,u,r,!0),nl(e,u,r,!1),Hv(t,u,e,r,i),s=pr(a,c),i?t.classBindings=s:t.styleBindings=s}function Hv(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Sn(i,t)>=0&&(n[r+1]=hs(n[r+1]))}function nl(e,t,n,r){let o=e[n+1],i=t===null,s=r?vt(o):Wt(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];Bv(c,t)&&(a=!0,e[s+1]=r?hs(l):ps(l)),s=r?vt(l):Wt(l)}a&&(e[n+1]=r?ps(o):hs(o))}function Bv(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Sn(e,t)>=0:!1}var V={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Wd(e){return e.substring(V.key,V.keyEnd)}function $v(e){return e.substring(V.value,V.valueEnd)}function Uv(e){return Qd(e),zd(e,zt(e,0,V.textEnd))}function zd(e,t){let n=V.textEnd;return n===t?-1:(t=V.keyEnd=Wv(e,V.key=t,n),zt(e,t,n))}function qv(e){return Qd(e),Gd(e,zt(e,0,V.textEnd))}function Gd(e,t){let n=V.textEnd,r=V.key=zt(e,t,n);return n===r?-1:(r=V.keyEnd=zv(e,r,n),r=rl(e,r,n,58),r=V.value=zt(e,r,n),r=V.valueEnd=Gv(e,r,n),rl(e,r,n,59))}function Qd(e){V.key=0,V.keyEnd=0,V.value=0,V.valueEnd=0,V.textEnd=e.length}function zt(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Wv(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function zv(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 rl(e,t,n,r){return t=zt(e,t,n),t<n&&t++,t}function Gv(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=ol(e,c,s,n):t===s-4&&i===85&&o===82&&r===76&&c===40?a=s=ol(e,41,s,n):c>32&&(a=s),i=o,o=r,r=c&-33}return a}function ol(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 Qv(e,t,n){let r=y(),o=It();if(le(r,o,t)){let i=R(),s=Et();Pn(i,s,r,e,t,r[P],n,!1)}return Qv}function gs(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";ma(e,n,i[s],s,r)}function Zv(e,t,n){return Zd(e,t,n,!1),Zv}function Yv(e,t){return Zd(e,t,null,!0),Yv}function _x(e){Yd(Xd,Jv,e,!1)}function Jv(e,t){for(let n=qv(t);n>=0;n=Gd(t,n))Xd(e,Wd(t),$v(t))}function xx(e){Yd(oI,Kv,e,!0)}function Kv(e,t){for(let n=Uv(t);n>=0;n=zd(t,n))so(e,Wd(t),!0)}function Zd(e,t,n,r){let o=y(),i=R(),s=po(2);if(i.firstUpdatePass&&Kd(i,e,s,r),t!==z&&le(o,s,t)){let a=i.data[Oe()];ef(i,a,o,o[P],e,o[s+1]=sI(t,n),r,s)}}function Yd(e,t,n,r){let o=R(),i=po(2);o.firstUpdatePass&&Kd(o,null,i,r);let s=y();if(n!==z&&le(s,i,n)){let a=o.data[Oe()];if(tf(a,r)&&!Jd(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=Di(c,n||"")),gs(o,a,s,n,r)}else iI(o,a,s,s[P],s[i+1],s[i+1]=rI(e,t,n),r,i)}}function Jd(e,t){return t>=e.expandoStartIndex}function Kd(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[Oe()],s=Jd(e,n);tf(i,r)&&t===null&&!s&&(t=!1),t=Xv(o,i,t,r),Vv(o,i,t,n,s,r)}}function Xv(e,t,n,r){let o=yh(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=yi(null,e,t,n,r),n=xn(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=yi(o,e,t,n,r),i===null){let c=eI(e,t,r);c!==void 0&&Array.isArray(c)&&(c=yi(null,e,t,c[1],r),c=xn(c,t.attrs,r),tI(e,t,r,c))}else i=nI(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function eI(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Wt(r)!==0)return e[vt(r)]}function tI(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[vt(o)]=r}function nI(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=xn(r,s,n)}return xn(r,t.attrs,n)}function yi(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=xn(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function xn(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]),so(e,s,n?!0:t[++i]))}return e===void 0?null:e}function rI(e,t,n){if(n==null||n==="")return J;let r=[],o=Kt(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 Xd(e,t,n){so(e,t,Kt(n))}function oI(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&so(e,r,n)}function iI(e,t,n,r,o,i,s,a){o===z&&(o=J);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&&ef(e,t,n,r,h,g,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function ef(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,l=c[a+1],u=jv(l)?il(c,t,n,o,Wt(l),s):void 0;if(!Kr(u)){Kr(i)||Lv(l)&&(i=il(c,null,n,o,a,s));let d=zl(Oe(),n);pm(r,s,d,o,i)}}function il(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?J:void 0);let f=d?ai(p,r):u===r?p:void 0;if(l&&!Kr(f)&&(f=ai(c,r)),Kr(f)&&(a=f,s))return a;let h=e[o+1];o=s?vt(h):Wt(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=ai(c,r))}return a}function Kr(e){return e!==void 0}function sI(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=ie(Kt(e)))),e}function tf(e,t){return(e.flags&(t?8:16))!==0}var ms=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 vi(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function aI(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=vi(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=vi(s,p,c,f,n);if(h!==0){h<0&&e.updateValue(s,f),s--,c--;continue}let g=n(i,l),M=n(s,p),I=n(i,u);if(Object.is(I,M)){let O=n(c,f);Object.is(O,g)?(e.swap(i,s),e.updateValue(s,f),c--,s--):e.move(s,i),e.updateValue(i,u),i++;continue}if(r??=new Xr,o??=al(e,i,s,n),ys(e,r,i,I))e.updateValue(i,u),i++,s++;else if(o.has(I))r.set(g,e.detach(i)),s--;else{let O=e.create(i,t[i]);e.attach(i,O),i++,s++}}for(;i<=c;)sl(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=vi(i,u,i,d,n);if(p!==0)p<0&&e.updateValue(i,d),i++,l=c.next();else{r??=new Xr,o??=al(e,i,s,n);let f=n(i,d);if(ys(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;)sl(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 ys(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function sl(e,t,n,r,o){if(ys(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function al(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 Xr=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 Tx(e,t){be("NgControlFlow");let n=y(),r=It(),o=n[r]!==z?n[r]:-1,i=o!==-1?eo(n,L+o):void 0,s=0;if(le(n,r,e)){let a=D(null);try{if(i!==void 0&&va(i,s),e!==-1){let c=L+e,l=eo(n,c),u=Ds(n[m],c),d=Ut(l,u.tView.ssrId),p=Xt(n,u,t,{dehydratedView:d});en(l,p,s,ht(u,d))}}finally{D(a)}}else if(i!==void 0){let a=md(i,s);a!==void 0&&(a[Q]=t)}}var vs=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 Nx(e){return e}var Is=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function Sx(e,t,n,r,o,i,s,a,c,l,u,d,p){be("NgControlFlow");let f=y(),h=R(),g=c!==void 0,M=y(),I=a?s.bind(M[ce][Q]):s,O=new Is(g,I);M[L+e]=O,_n(f,h,e+1,t,n,r,o,$e(h.consts,i)),g&&_n(f,h,e+2,c,l,u,d,$e(h.consts,p))}var Es=class extends ms{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[Bt];this.needsIndexUpdate||=t!==this.length,en(this.lContainer,n,t,ht(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,cI(this.lContainer,t)}create(t,n){let r=Ut(this.lContainer,this.templateTNode.tView.ssrId),o=Xt(this.hostLView,this.templateTNode,new vs(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){Mo(t[m],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 lI(this.lContainer,t)}};function Ox(e){let t=D(null),n=Oe();try{let r=y(),o=r[m],i=r[n],s=n+1,a=eo(r,s);if(i.liveCollection===void 0){let l=Ds(o,s);i.liveCollection=new Es(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(aI(c,e,i.trackByFn),c.updateIndexes(),i.hasEmptyBlock){let l=It(),u=c.length===0;if(le(r,l,u)){let d=n+2,p=eo(r,d);if(u){let f=Ds(o,d),h=Ut(p,f.tView.ssrId),g=Xt(r,f,void 0,{dehydratedView:h});en(p,g,0,ht(f,h))}else va(p,0)}}}finally{D(t)}}function eo(e,t){return e[t]}function cI(e,t){return Cn(e,t)}function lI(e,t){return md(e,t)}function Ds(e,t){return On(e,t)}function uI(e,t,n,r,o,i){let s=t.consts,a=$e(s,o),c=Dt(t,e,2,r,a);return ga(t,n,c,$e(s,i)),c.attrs!==null&&zr(c,c.attrs,!1),c.mergedAttrs!==null&&zr(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function nf(e,t,n,r){let o=y(),i=R(),s=L+e,a=o[P],c=i.firstCreatePass?uI(s,i,o,t,n,r):i.data[s],l=fI(i,o,c,a,t,e);o[s]=l;let u=uo(c);return Ze(c,!0),ed(a,l,c),!lv(c)&&go()&&_o(i,o,l,c),sh()===0&&ze(l,o),ah(),u&&(fa(i,o,c),da(i,c,o)),r!==null&&pa(o,c),nf}function rf(){let e=$();Gs()?Qs():(e=e.parent,Ze(e,!1));let t=e;lh(t)&&uh(),ch();let n=R();return n.firstCreatePass&&(yo(n,e),$s(e)&&n.queries.elementEnd(e)),t.classesWithoutHost!=null&&Ch(t)&&gs(n,t,y(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&Mh(t)&&gs(n,t,y(),t.stylesWithoutHost,!1),rf}function dI(e,t,n,r){return nf(e,t,n,r),rf(),dI}var fI=(e,t,n,r,o,i)=>(mo(!0),qu(r,o,Eh()));function pI(e,t,n,r,o){let i=t.consts,s=$e(i,r),a=Dt(t,e,8,"ng-container",s);s!==null&&zr(a,s,!0);let c=$e(i,o);return ga(t,n,a,c),t.queries!==null&&t.queries.elementStart(t,a),a}function of(e,t,n){let r=y(),o=R(),i=e+L,s=o.firstCreatePass?pI(i,o,r,t,n):o.data[i];Ze(s,!0);let a=gI(o,r,s,e);return r[i]=a,go()&&_o(o,r,a,s),ze(a,r),uo(s)&&(fa(o,r,s),da(o,s,r)),n!=null&&pa(r,s),of}function sf(){let e=$(),t=R();return Gs()?Qs():(e=e.parent,Ze(e,!1)),t.firstCreatePass&&(yo(t,e),$s(e)&&t.queries.elementEnd(e)),sf}function hI(e,t,n){return of(e,t,n),sf(),hI}var gI=(e,t,n,r)=>(mo(!0),Xg(t[P],""));function Ax(){return y()}var rt=void 0;function mI(e){let t=e,n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return n===1&&r===0?1:5}var yI=["en",[["a","p"],["AM","PM"],rt],[["AM","PM"],rt,rt],[["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"]],rt,[["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"]],rt,[["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}",rt,"{1} 'at' {0}",rt],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",mI],yn={};function Rx(e,t,n){typeof t!="string"&&(n=t,t=e[Tn.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),yn[t]=e,n&&(yn[t][Tn.ExtraData]=n)}function af(e){let t=vI(e),n=cl(t);if(n)return n;let r=t.split("-")[0];if(n=cl(r),n)return n;if(r==="en")return yI;throw new w(701,!1)}function kx(e){return af(e)[Tn.CurrencyCode]||null}function Px(e){return af(e)[Tn.PluralCase]}function cl(e){return e in yn||(yn[e]=Le.ng&&Le.ng.common&&Le.ng.common.locales&&Le.ng.common.locales[e]),yn[e]}var Tn=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}(Tn||{});function vI(e){return e.toLowerCase().replace(/_/g,"-")}var to="en-US",II="USD";var EI=to;function DI(e){typeof e=="string"&&(EI=e.toLowerCase().replace(/_/g,"-"))}var wI=(e,t,n)=>{};function bI(e,t,n,r){let o=y(),i=R(),s=$();return cf(i,o,o[P],s,e,t,r),bI}function CI(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[Tr],c=o[i+2];return a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function cf(e,t,n,r,o,i,s){let a=uo(r),l=e.firstCreatePass&&hd(e),u=t[Q],d=pd(t),p=!0;if(r.type&3||s){let g=fe(r,t),M=s?s(g):g,I=d.length,O=s?U=>s(we(U[r.index])):r.index,ue=null;if(!s&&a&&(ue=CI(e,t,o,r.index)),ue!==null){let U=ue.__ngLastListenerFn__||ue;U.__ngNextListenerFn__=i,ue.__ngLastListenerFn__=i,p=!1}else{i=ul(r,t,u,i),wI(g,o,i);let U=n.listen(M,o,i);d.push(i,U),l&&l.push(o,O,I,I+1)}}else i=ul(r,t,u,i);let f=r.outputs,h;if(p&&f!==null&&(h=f[o])){let g=h.length;if(g)for(let M=0;M<g;M+=2){let I=h[M],O=h[M+1],wt=t[I][O].subscribe(i),ne=d.length;d.push(i,wt),l&&l.push(o,r.index,ne,-(ne+1))}}}function ll(e,t,n,r){let o=D(null);try{return ve(6,t,n),n(r)!==!1}catch(i){return Oo(e,i),!1}finally{ve(7,t,n),D(o)}}function ul(e,t,n,r){return function o(i){if(i===Function)return r;let s=e.componentOffset>-1?Qe(e.index,t):t;Ao(s,5);let a=ll(t,n,r,i),c=o.__ngNextListenerFn__;for(;c;)a=ll(t,n,c,i)&&a,c=c.__ngNextListenerFn__;return a}}function Lx(e=1){return Ih(e)}function MI(e,t){let n=null,r=Em(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?nd(e,i,!0):bm(r,i))return o}return n}function Fx(e){let t=y()[ce][te];if(!t.projection){let n=e?e.length:1,r=t.projection=Pp(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?MI(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function jx(e,t=0,n,r,o,i){let s=y(),a=R(),c=r?e+1:null;c!==null&&_n(s,a,c,r,o,i,null,n);let l=Dt(a,L+e,16,null,n||null);l.projection===null&&(l.projection=t),Qs();let d=!s[Bt]||Yl();s[ce][te].projection[l.projection]===null&&c!==null?_I(s,a,c):d&&(l.flags&32)!==32&&dm(a,s,l)}function _I(e,t,n){let r=L+n,o=t.data[r],i=e[r],s=Ut(i,o.tView.ssrId),a=Xt(e,o,void 0,{dehydratedView:s});en(i,a,0,ht(o,s))}function xI(e,t,n){return lf(e,"",t,"",n),xI}function lf(e,t,n,r,o){let i=y(),s=Ud(i,t,n,r);if(s!==z){let a=R(),c=Et();Pn(a,c,i,e,s,i[P],o,!1)}return lf}function TI(e,t,n,r,o,i,s){let a=y(),c=qd(a,t,n,r,o,i);if(c!==z){let l=R(),u=Et();Pn(l,u,a,e,c,a[P],s,!1)}return TI}function NI(e,t,n,r,o,i,s,a,c){let l=y(),u=Pv(l,t,n,r,o,i,s,a);if(u!==z){let d=R(),p=Et();Pn(d,p,l,e,u,l[P],c,!1)}return NI}function Vx(e,t,n,r){Nd(e,t,n,r)}function Hx(e){let t=y(),n=R(),r=Zs();ho(r+1);let o=Da(n,r);if(e.dirty&&rh(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=Od(t,r);e.reset(i,wu),e.notifyOnChanges()}return!0}return!1}function Bx(){return Ea(y(),Zs())}function $x(e,t,n,r,o){kd(t,Nd(e,n,r,o))}function Ux(e,t,n,r){kd(e,Fy(t,n,r))}function qx(e=1){ho(Zs()+e)}function uf(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function Wx(e){let t=fh();return Us(t,L+e)}function zx(e,t=""){let n=y(),r=R(),o=e+L,i=r.firstCreatePass?Dt(r,o,1,t,null):r.data[o],s=SI(r,n,i,t,e);n[o]=s,go()&&_o(r,n,s,i),Ze(i,!1)}var SI=(e,t,n,r,o)=>(mo(!0),Jg(t[P],r));function OI(e){return df("",e,""),OI}function df(e,t,n){let r=y(),o=Ud(r,e,t,n);return o!==z&&gd(r,Oe(),o),df}function AI(e,t,n,r,o){let i=y(),s=qd(i,e,t,n,r,o);return s!==z&&gd(i,Oe(),s),AI}function RI(e,t,n){Rd(t)&&(t=t());let r=y(),o=It();if(le(r,o,t)){let i=R(),s=Et();Pn(i,s,r,e,t,r[P],n,!1)}return RI}function Gx(e,t){let n=Rd(e);return n&&e.set(t),n}function kI(e,t){let n=y(),r=R(),o=$();return cf(r,n,n[P],o,e,t),kI}var PI={};function LI(e){let t=R(),n=y(),r=e+L,o=Dt(t,r,128,null,null);return Ze(o,!1),uf(t,n,r,PI),LI}function FI(e,t,n){let r=R();if(r.firstCreatePass){let o=Be(e);ws(n,r.data,r.blueprint,o,!0),ws(t,r.data,r.blueprint,o,!1)}}function ws(e,t,n,r,o){if(e=Y(e),Array.isArray(e))for(let i=0;i<e.length;i++)ws(e[i],t,n,r,o);else{let i=R(),s=y(),a=$(),c=Ht(e)?e:Y(e.provide),l=Ll(e),u=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(Ht(e)||!e.multi){let f=new ft(l,o,To),h=Ei(c,t,o?u:u+p,d);h===-1?(Pi(Pr(a,s),i,c),Ii(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=Ei(c,t,u+p,d),h=Ei(c,t,u,u+p),g=f>=0&&n[f],M=h>=0&&n[h];if(o&&!M||!o&&!g){Pi(Pr(a,s),i,c);let I=HI(o?VI:jI,n.length,o,r,l);!o&&M&&(n[h].providerFactory=I),Ii(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(I),s.push(I)}else{let I=ff(n[o?h:f],l,!o&&r);Ii(i,e,f>-1?f:h,I)}!o&&r&&M&&n[h].componentProviders++}}}function Ii(e,t,n,r){let o=Ht(t),i=qp(t);if(o||i){let c=(i?Y(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 ff(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Ei(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function jI(e,t,n,r){return bs(this.multi,[])}function VI(e,t,n,r){let o=this.multi,i;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=pt(n,n[m],this.providerFactory.index,r);i=a.slice(0,s),bs(o,i);for(let c=s;c<a.length;c++)i.push(a[c])}else i=[],bs(o,i);return i}function bs(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function HI(e,t,n,r,o){let i=new ft(e,n,To);return i.multi=[],i.index=t,i.componentProviders=0,ff(i,o,r&&!n),i}function Qx(e,t=[]){return n=>{n.providersResolver=(r,o)=>FI(r,o?o(e):e,t)}}function Zx(e,t,n){let r=Qt()+e,o=y();return o[r]===z?ko(o,r,n?t.call(n):t()):sv(o,r)}function Yx(e,t,n,r){return pf(y(),Qt(),e,t,n,r)}function Jx(e,t,n,r,o){return hf(y(),Qt(),e,t,n,r,o)}function Kx(e,t,n,r,o,i,s){return BI(y(),Qt(),e,t,n,r,o,i,s)}function Ca(e,t){let n=e[t];return n===z?void 0:n}function pf(e,t,n,r,o,i){let s=t+n;return le(e,s,o)?ko(e,s+1,i?r.call(i,o):r(o)):Ca(e,s+1)}function hf(e,t,n,r,o,i,s){let a=t+n;return Mn(e,a,o,i)?ko(e,a+2,s?r.call(s,o,i):r(o,i)):Ca(e,a+2)}function BI(e,t,n,r,o,i,s,a,c){let l=t+n;return cv(e,l,o,i,s,a)?ko(e,l+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):Ca(e,l+4)}function Xx(e,t){let n=R(),r,o=e+L;n.firstCreatePass?(r=$I(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=st(r.type,!0)),s,a=X(To);try{let c=kr(!1),l=i();return kr(c),uf(n,y(),o,l),l}finally{X(a)}}function $I(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function eT(e,t,n){let r=e+L,o=y(),i=Us(o,r);return gf(o,r)?pf(o,Qt(),t,i.transform,n,i):i.transform(n)}function tT(e,t,n,r){let o=e+L,i=y(),s=Us(i,o);return gf(i,o)?hf(i,Qt(),t,s.transform,n,r,s):s.transform(n,r)}function gf(e,t){return e[m].data[t].pure}function nT(e,t){return Ro(e,t)}var dl=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 Cs=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},rT=(()=>{class e{compileModuleSync(n){return new fs(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=Al(n),i=Uu(o.declarations).reduce((s,a)=>{let c=De(a);return c&&s.push(new mt(c)),s},[]);return new Cs(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=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var UI=(()=>{class e{zone=x(ae);changeDetectionScheduler=x(qe);applicationRef=x(Po);_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=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function qI({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new ae(oe(re({},WI()),{scheduleInRootZone:n})),[{provide:ae,useFactory:e},{provide:_r,multi:!0,useFactory:()=>{let r=x(UI,{optional:!0});return()=>r.initialize()}},{provide:_r,multi:!0,useFactory:()=>{let r=x(zI);return()=>{r.initialize()}}},t===!0?{provide:Iu,useValue:!0}:[],{provide:ea,useValue:n??vu}]}function WI(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var zI=(()=>{class e{subscription=new B;initialized=!1;zone=x(ae);pendingTasks=x(Yt);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(()=>{ae.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{ae.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var mf=(()=>{class e{appRef=x(Po);taskService=x(Yt);ngZone=x(ae);zonelessEnabled=x(Xs);tracing=x(Io,{optional:!0});disableScheduling=x(Iu,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new B;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Fr):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(x(ea,{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 jr||!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 8:{this.appRef.deferredDirtyFlags|=8;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 13:{this.appRef.dirtyFlags|=16,r=!0;break}case 14:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{r=!0;break}case 10:case 9:case 7:case 11:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?xc:Eu;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(Fr+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,xc(()=>{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=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function oT(){return be("NgZoneless"),Vp([{provide:qe,useExisting:mf},{provide:ae,useClass:jr},{provide:Xs,useValue:!0},{provide:ea,useValue:!1},[]])}function GI(){return typeof $localize<"u"&&$localize.locale||to}var yf=new S("",{providedIn:"root",factory:()=>x(yf,T.Optional|T.SkipSelf)||GI()}),iT=new S("",{providedIn:"root",factory:()=>II});var Ms=new S("");function hr(e){return!e.moduleRef}function QI(e){let t=hr(e)?e.r3Injector:e.moduleRef.injector,n=t.get(ae);return n.run(()=>{hr(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(We,null),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:i=>{r.handleError(i)}})}),hr(e)){let i=()=>t.destroy(),s=e.platformInjector.get(Ms);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Ms);s.add(i),e.moduleRef.onDestroy(()=>{Dr(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return Tv(r,n,()=>{let i=t.get(Bd);return i.runInitializers(),i.donePromise.then(()=>{let s=t.get(yf,to);if(DI(s||to),hr(e)){let a=t.get(Po);return e.rootComponent!==void 0&&a.bootstrap(e.rootComponent),a}else return ZI(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function ZI(e,t){let n=e.injector.get(Po);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new w(-403,!1);t.push(e)}var wr=null;function YI(e=[],t){return Ue.create({name:t,providers:[{provide:Pl,useValue:"platform"},{provide:Ms,useValue:new Set([()=>wr=null])},...e]})}function JI(e=[]){if(wr)return wr;let t=YI(e);return wr=t,Mv(),KI(t),t}function KI(e){let t=e.get(Kh,null);Fl(e,()=>{t?.forEach(n=>n())})}var XI=(()=>{class e{static __NG_ELEMENT_ID__=eE}return e})();function eE(e){return tE($(),y(),(e&16)===16)}function tE(e,t,n){if(lo(e)&&!n){let r=Qe(e.index,t);return new gt(r,r)}else if(e.type&175){let r=t[ce];return new gt(r,t)}return null}var _s=class{constructor(){}supports(t){return Vd(t)}create(t){return new xs(t)}},nE=(e,t)=>t,xs=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||nE}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<fl(r,o,i)?n:r,a=fl(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=[]),!Vd(t))throw new w(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,iv(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 Ts(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}},Ts=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}},Ns=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 Ns,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 fl(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 Ss=class{constructor(){}supports(t){return t instanceof Map||ba(t)}create(){return new Os}},Os=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||ba(t)))throw new w(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 As(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))}},As=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function pl(){return new rE([new _s])}var rE=(()=>{class e{factories;static \u0275prov=H({token:e,providedIn:"root",factory:pl});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||pl()),deps:[[e,new Tl,new xl]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new w(901,!1)}}return e})();function hl(){return new oE([new Ss])}var oE=(()=>{class e{static \u0275prov=H({token:e,providedIn:"root",factory:hl});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||hl()),deps:[[e,new Tl,new xl]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new w(901,!1)}}return e})();function sT(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=JI(r),i=[qI({}),{provide:qe,useExisting:mf},...n||[]],s=new Yr({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1});return QI({r3Injector:s.injector,platformInjector:o,rootComponent:t})}catch(t){return Promise.reject(t)}}function aT(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function cT(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function lT(e,t){be("NgSignals");let n=ii(e);return t?.equal&&(n[q].equal=t.equal),n}function uT(e){let t=D(null);try{return e()}finally{D(t)}}var vf=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=iE}return e})();function iE(){return new vf(y(),$())}var sE=!1,aE=(()=>{class e extends Jr{pendingTasks=x(Yt);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=H({token:e,providedIn:"root",factory:()=>new e})}return e})(),Rs=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=hc(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(n){this.injector.get(We,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.schedule(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function cE(){}function lE(e,t){be("NgSignals"),!t?.injector&&Bs(cE);let n=t?.injector??x(Ue),r=t?.manualCleanup!==!0?n.get(Zt):null,o=new Rs(n.get(aE),e,typeof Zone>"u"?null:Zone.current,r,n,t?.allowSignalWrites??!1),i=n.get(XI,null,{optional:!0});return!i||!(i._lView[v]&8)?o.watcher.notify():(i._lView[mr]??=[]).push(o.watcher.notify),o}var uE=sE;var ks=class{[q];constructor(t){this[q]=t}destroy(){this[q].destroy()}};function dE(e,t){if(uE)return lE(e,t);be("NgSignals"),!t?.injector&&Bs(dE);let n=t?.injector??x(Ue),r=t?.manualCleanup!==!0?n.get(Zt):null,o,i=n.get(vf,null,{optional:!0}),s=n.get(qe);return i!==null&&!t?.forceRoot?(o=hE(i.view,s,e),r instanceof Lr&&r._lView===i.view&&(r=null)):o=gE(e,n.get($d),s),o.injector=n,r!==null&&(o.onDestroyFn=r.onDestroy(()=>o.destroy())),new ks(o)}var If=oe(re({},nt),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,onDestroyFn:wn,run(){if(this.dirty=!1,this.hasRun&&!fn(this))return;this.hasRun=!0;let e=r=>(this.cleanupFns??=[]).push(r),t=Nt(this),n=Or(!1);try{this.maybeCleanup(),this.fn(e)}finally{Or(n),dn(this,t)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),fE=oe(re({},If),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(13)},destroy(){St(this),this.onDestroyFn(),this.maybeCleanup()}}),pE=oe(re({},If),{consumerMarkedDirty(){this.view[v]|=8192,An(this.view),this.notifier.notify(14)},destroy(){St(this),this.onDestroyFn(),this.maybeCleanup(),this.view[ct]?.delete(this)}});function hE(e,t,n){let r=Object.create(pE);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=n,e[ct]??=new Set,e[ct].add(r),r.consumerMarkedDirty(r),r}function gE(e,t,n){let r=Object.create(fE);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(13),r}function dT(e,t){let n=De(e),r=t.elementInjector||ao();return new mt(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector)}function fT(e){let t=De(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,G as b,Df as c,N as d,Wo as e,zo as f,de as g,rn as h,an as i,Ke as j,Re as k,kf as l,Pf as m,Lf as n,et as o,ye as p,qf as q,tt as r,Go as s,nr as t,zf as u,Xf as v,on as w,tp as x,Qo as y,Gf as z,sn as A,rr as B,Qf as C,np as D,Qa as E,Za as F,Zo as G,Yf as H,Jf as I,op as J,Ja as K,Ka as L,Kf as M,Xa as N,w as O,ie as P,Il as Q,H as R,H_ as S,B_ as T,S as U,T as V,He as W,x as X,xl as Y,Tl as Z,Vp as _,Pl as $,Me as aa,Fl as ba,Bs as ca,$_ as da,U_ as ea,q_ as fa,W_ as ga,z_ as ha,G_ as ia,Ue as ja,Zt as ka,Yt as la,Fe as ma,ae as na,We as oa,Vr as pa,Q_ as qa,Z_ as ra,vo as sa,Y_ as ta,J_ as ua,Kh as va,K_ as wa,X_ as xa,Xh as ya,ex as za,be as Aa,ag as Ba,bn as Ca,Kt as Da,ia as Ea,tx as Fa,nx as Ga,rx as Ha,ox as Ia,ix as Ja,Fu as Ka,Bg as La,Co as Ma,sx as Na,Ug as Oa,ax as Pa,Ki as Qa,cx as Ra,To as Sa,lx as Ta,Ur as Ua,Wr as Va,fx as Wa,Ia as Xa,Hy as Ya,By as Za,hx as _a,gx as $a,mx as ab,yt as bb,ds as cb,yx as db,Ld as eb,vx as fb,Ix as gb,Ex as hb,Dx as ib,Xy as jb,wx as kb,dv as lb,bx as mb,Hd as nb,wv as ob,bv as pb,Cv as qb,Po as rb,Cx as sb,Mx as tb,kv as ub,Qv as vb,Zv as wb,Yv as xb,_x as yb,xx as zb,Tx as Ab,Nx as Bb,Sx as Cb,Ox as Db,nf as Eb,rf as Fb,dI as Gb,of as Hb,sf as Ib,hI as Jb,Ax as Kb,Rx as Lb,af as Mb,kx as Nb,Px as Ob,Tn as Pb,bI as Qb,Lx as Rb,Fx as Sb,jx as Tb,xI as Ub,TI as Vb,NI as Wb,Vx as Xb,Hx as Yb,Bx as Zb,$x as _b,Ux as $b,qx as ac,Wx as bc,zx as cc,OI as dc,df as ec,AI as fc,RI as gc,Gx as hc,kI as ic,LI as jc,Qx as kc,Zx as lc,Yx as mc,Jx as nc,Kx as oc,Xx as pc,eT as qc,tT as rc,nT as sc,dl as tc,rT as uc,oT as vc,yf as wc,iT as xc,XI as yc,rE as zc,oE as Ac,sT as Bc,aT as Cc,cT as Dc,lT as Ec,uT as Fc,dE as Gc,dT as Hc,fT as Ic};
package/chunk-M3D5CWEA.js DELETED
@@ -1 +0,0 @@
1
- import{g as a,h as b,i as c}from"./chunk-I5C7ICSO.js";import"./chunk-5XF5JD57.js";import"./chunk-DNHLTHLR.js";import"./chunk-RNQMP76A.js";import"./chunk-B5E33CXC.js";import"./chunk-3IEVUFHW.js";import"./chunk-VKC5JNTF.js";import"./chunk-UHDKSMMI.js";import"./chunk-WW3OAVSF.js";import"./chunk-2WU6GJ2L.js";import"./chunk-WARSRDZI.js";import"./chunk-57EM3QNL.js";import"./chunk-ILNG56CV.js";import"./chunk-7CGTOI24.js";export{b as createAdvancedOption,a as createOptionsForm,c as default};
package/chunk-PMQQNQUC.js DELETED
@@ -1 +0,0 @@
1
- import{a as W}from"./chunk-CRF5AN7X.js";import{a as j}from"./chunk-GQI6XZIF.js";import"./chunk-VKC5JNTF.js";import{a as M,g as v,h as V,j as A,m as z,n as R}from"./chunk-UHDKSMMI.js";import{Y as h}from"./chunk-WW3OAVSF.js";import"./chunk-2WU6GJ2L.js";import"./chunk-WARSRDZI.js";import"./chunk-57EM3QNL.js";import"./chunk-DTFSSXIP.js";import{Ab as d,Bb as F,Cb as H,Db as T,Eb as i,Fb as o,Gb as _,Hb as L,Ib as w,Kb as I,Qb as g,Ra as c,Rb as p,X as P,cc as t,ea as x,ec as m,fa as C,fb as y,lb as u,lc as B,mc as b,pc as S,qc as N,rc as $,sb as E,tb as O,vb as s,xb as f}from"./chunk-ILNG56CV.js";import"./chunk-7CGTOI24.js";var q=()=>[h,v,M,A,z,import("./chunk-ITR23I5T.js").then(e=>e.DatePipe),import("./chunk-7JE7D2ZI.js").then(e=>e.DurationFormatPipe)],G=()=>["/add-backup"],J=()=>["/restore"],K=e=>["/backup",e],Q=e=>["/backup",e,"export"];function U(e,l){if(e&1&&(t(0),S(1,"durationFormat")),e&2){let n=p().$implicit;m(" - (took ",N(1,1,n.Backup==null||n.Backup.Metadata==null?null:n.Backup.Metadata.LastBackupDuration),") ")}}function X(e,l){e&1&&t(0," N/A ")}function Y(e,l){if(e&1&&t(0),e&2){let n=p().$implicit;m(" ",n.Backup==null||n.Backup.Metadata==null?null:n.Backup.Metadata.SourceSizeString," ")}}function Z(e,l){e&1&&t(0," N/A ")}function ee(e,l){if(e&1&&t(0),e&2){let n=p().$implicit;m(" ",n.Backup==null||n.Backup.Metadata==null?null:n.Backup.Metadata.TargetSizeString," ")}}function te(e,l){e&1&&t(0," N/A ")}function ne(e,l){if(e&1&&(i(0,"spk-chip",9),t(1),o()),e&2){let n=p().$implicit;c(),m("",n.Backup==null||n.Backup.Metadata==null?null:n.Backup.Metadata.BackupListCount," Version")}}function ie(e,l){e&1&&(i(0,"spk-chip",10),t(1,"No version yet"),o())}function ae(e,l){if(e&1){let n=I();i(0,"div",8)(1,"div",3)(2,"h3"),t(3),i(4,"spk-icon"),t(5,"database"),o()(),i(6,"p")(7,"span"),t(8,"Last successful backup:"),o(),t(9),S(10,"date"),u(11,U,2,3)(12,X,1,0),o(),i(13,"p")(14,"span"),t(15,"Source:"),o(),u(16,Y,1,1)(17,Z,1,0),o(),i(18,"p")(19,"span"),t(20,"Destination:"),o(),u(21,ee,1,1)(22,te,1,0),o()(),u(23,ne,2,1,"spk-chip",9)(24,ie,2,0,"spk-chip",10),i(25,"div",11)(26,"button",12),g("click",function(){let r=x(n).$implicit,k=p(3);return C(k.startBackup(r.Backup==null?null:r.Backup.ID))}),i(27,"spk-icon"),t(28,"play-circle"),o(),t(29," Start "),o(),i(30,"button",13)(31,"spk-icon"),t(32,"pencil-simple"),o()(),i(33,"spk-menu",14)(34,"button",4)(35,"spk-icon"),t(36,"dots-three-vertical"),o()(),L(37,15),i(38,"button",16,0),t(40," Export "),i(41,"spk-icon"),t(42,"export"),o()(),i(43,"button",17,0),g("click",function(){let r=x(n).$implicit,k=p(3);return C(k.deleteBackup(r.Backup==null?null:r.Backup.ID))}),t(45," Delete "),i(46,"spk-icon"),t(47,"x-circle"),o()(),w(),o()()()}if(e&2){let n,a=l.$implicit,r=p(3);c(3),m(" ",(n=a.Backup==null?null:a.Backup.Name)!==null&&n!==void 0?n:"Backup name missing"," "),c(6),m(" ",$(10,13,a.Backup==null||a.Backup.Metadata==null?null:a.Backup.Metadata.LastBackupDate,"short")," "),c(2),d(!(a.Backup==null||a.Backup.Metadata==null)&&a.Backup.Metadata.LastBackupDuration?11:12),c(5),d(!(a.Backup==null||a.Backup.Metadata==null)&&a.Backup.Metadata.SourceSizeString?16:17),c(5),d(!(a.Backup==null||a.Backup.Metadata==null)&&a.Backup.Metadata.TargetSizeString?21:22),c(2),d(!(a.Backup==null||a.Backup.Metadata==null)&&a.Backup.Metadata.BackupListCount?23:24),c(3),f("loader",r.startingBackup()),c(4),s("routerLink",b(16,K,a.Backup==null?null:a.Backup.ID)),c(3),s("right",!0),c(5),s("routerLink",b(18,Q,a.Backup==null?null:a.Backup.ID)),c(5),f("loader",r.deletingBackup()===(a.Backup==null?null:a.Backup.ID))}}function oe(e,l){if(e&1&&H(0,ae,48,20,"div",8,F),e&2){let n=p(2);T(n.backups())}}function le(e,l){e&1&&t(0," No backups founds ")}function ce(e,l){if(e&1&&u(0,oe,2,0)(1,le,1,0),e&2){let n=p();d(n.backups().length?0:1)}}function pe(e,l){e&1&&(i(0,"div",18),_(1,"spk-progress-bar",19),i(2,"div",3)(3,"h3"),t(4,"Loading backups..."),o()()())}var D=class e{#e=P(j);backups=this.#e.backups;backupsLoading=this.#e.backupsLoading;startingBackup=this.#e.startingBackup;deletingBackup=this.#e.deletingBackup;ngOnInit(){this.#e.getBackups(!0)}startBackup(l){this.#e.startBackup(l)}deleteBackup(l){l&&window.confirm("Are you sure you want to delete this backup?")&&this.#e.deleteBackup(l)}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=y({type:e,selectors:[["app-home"]],decls:33,vars:5,consts:[["option",""],[1,"type-a",3,"routerLink"],["src","assets/images/backup.png","alt","","width","48px"],[1,"text"],["spk-button",""],["src","assets/images/restore.png","alt","","width","48px"],[1,"content"],[1,"backups"],[1,"backup"],[1,"simple","success"],[1,"simple"],[1,"actions"],["spk-button","",3,"click"],["spk-button","",3,"routerLink"],[3,"right"],["menu",""],[3,"routerLink"],[3,"click"],[1,"loading-list"],[1,"indeterminate","primary"]],template:function(n,a){n&1&&(_(0,"app-status-bar"),i(1,"section")(2,"header")(3,"spk-card",1),_(4,"img",2),i(5,"div",3)(6,"h3"),t(7,"Backups"),o(),i(8,"p"),t(9,"Backups are stored in the cloud and can be restored at any time."),o()(),i(10,"button",4),t(11," Add "),i(12,"spk-icon"),t(13,"plus"),o()()(),i(14,"spk-card",1),_(15,"img",5),i(16,"div",3)(17,"h3"),t(18,"Restores"),o(),i(19,"p"),t(20,"Restores are stored in the cloud and can be restored at any time."),o()(),i(21,"button",4),t(22," Start "),i(23,"spk-icon"),t(24,"arrow-right"),o()()()(),i(25,"div",6)(26,"h2"),t(27,"My backups"),o(),i(28,"div",7),u(29,ce,2,1)(30,pe,5,0),E(31,29,q,null,30),o()()()),n&2&&(c(3),s("routerLink",B(3,G)),c(11),s("routerLink",B(4,J)),c(17),O(!a.backupsLoading()))},dependencies:[h,W,V,v,M,R],styles:["[_nghost-%COMP%]{display:block}section[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:2rem;padding:2rem 0}header[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr;padding:0 2rem;gap:1rem}spk-card[_ngcontent-%COMP%]{display:flex;align-items:center;gap:1rem}spk-card[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{flex:1 0;display:flex;flex-direction:column;gap:.25rem}.content[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:0 2rem;gap:1rem}.backups[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.5rem}.backup[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding:2rem;gap:1rem;border:1px solid var(--base-level-40);border-radius:var(--shape-3);box-shadow:var(--shadow-1)}.backup[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.5rem;width:100%;max-width:40%}.backup[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem}.backup[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] h3[_ngcontent-%COMP%] spk-icon[_ngcontent-%COMP%]{color:var(--base-level-60)}.backup[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font:var(--paragraph-30);color:var(--base-level-60)}.backup[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] p[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:var(--base-level-70)}.actions[_ngcontent-%COMP%]{display:flex;gap:.5rem}"],changeDetection:0})};export{D as default};
package/chunk-SJGIDZMQ.js DELETED
@@ -1 +0,0 @@
1
- import{a,b}from"./chunk-6V6L7ZNP.js";import"./chunk-P3FQ2AHT.js";import"./chunk-5XF5JD57.js";import"./chunk-RNQMP76A.js";import"./chunk-B5E33CXC.js";import"./chunk-3IEVUFHW.js";import"./chunk-VKC5JNTF.js";import"./chunk-UHDKSMMI.js";import"./chunk-WW3OAVSF.js";import"./chunk-2WU6GJ2L.js";import"./chunk-WARSRDZI.js";import"./chunk-57EM3QNL.js";import"./chunk-ILNG56CV.js";import"./chunk-7CGTOI24.js";export{a as createRestoreOptionsForm,b as default};
package/chunk-UAIXGIJV.js DELETED
@@ -1 +0,0 @@
1
- import"./chunk-7CGTOI24.js";var o=[{path:"",redirectTo:"general",pathMatch:"full"},{path:"general",loadComponent:()=>import("./chunk-BP3UCGO5.js")},{path:"destination",loadComponent:()=>import("./chunk-EPBET4G4.js")},{path:"source-data",loadComponent:()=>import("./chunk-CEFENMMO.js")},{path:"schedule",loadComponent:()=>import("./chunk-3LDFRXNZ.js")},{path:"options",loadComponent:()=>import("./chunk-M3D5CWEA.js")}];export{o as default};
package/main-U3DYJNKX.js DELETED
@@ -1 +0,0 @@
1
- import{a as Y}from"./chunk-RNQMP76A.js";import"./chunk-B5E33CXC.js";import{a as w}from"./chunk-6ZKECEPL.js";import{a as S}from"./chunk-4KO6DAFG.js";import{d as X}from"./chunk-VKC5JNTF.js";import{c as ee}from"./chunk-UHDKSMMI.js";import{H as q,L as _,X as R,ca as Z,ma as Q}from"./chunk-WW3OAVSF.js";import{a as B}from"./chunk-2WU6GJ2L.js";import{a as J,b as K,d as $,e as G,f as z}from"./chunk-WARSRDZI.js";import"./chunk-57EM3QNL.js";import{b as te}from"./chunk-DTFSSXIP.js";import{E as C,Gb as H,Gc as D,J as L,L as j,N as P,R as h,U as W,X as s,Za as c,d as x,fb as F,m as A,vc as U,x as V,y as E}from"./chunk-ILNG56CV.js";import"./chunk-7CGTOI24.js";var oe={production:!0,baseUrl:"/api",machineServerUrl:"${WS_URL}",defaultTimeout:3e4};var m=new W("ENVIRONMENT");var I=class o{#o=s(X);isLoaded=c(!1);webmodules=c(null);preload(e=!1){let t=this.#o.getApiV1Webmodules().pipe(P(n=>this.webmodules.set(n)),C(()=>this.isLoaded.set(!0)));if(e)return t;t.subscribe()}static \u0275fac=function(t){return new(t||o)};static \u0275prov=h({token:o,factory:o.\u0275fac,providedIn:"root"})};var ne=[{path:"",children:[{path:"login",canActivate:[()=>s(w).token()!==null?s(R).navigate(["/"]):!0],loadComponent:()=>import("./chunk-5NGUXCQH.js")},{path:"logout",loadComponent:()=>import("./chunk-SNV5NHOU.js")},{path:"",canActivate:[()=>V(s(Y).preload(!0),s(I).preload(!0))],loadComponent:()=>import("./chunk-KQWAEJSA.js"),children:[{path:"",loadComponent:()=>import("./chunk-PMQQNQUC.js")},{path:"add-backup",loadComponent:()=>import("./chunk-S57FCDO6.js")},{path:"backup/:id/export",loadComponent:()=>import("./chunk-MLIDBHU2.js")},{path:"backup/import",loadComponent:()=>import("./chunk-PRRWBIUL.js")},{path:"backup-draft/:id",loadComponent:()=>import("./chunk-DFGOAXZ2.js"),loadChildren:()=>import("./chunk-UAIXGIJV.js")},{path:"backup/:id",loadComponent:()=>import("./chunk-DFGOAXZ2.js"),loadChildren:()=>import("./chunk-UAIXGIJV.js")},{path:"restore",loadComponent:()=>import("./chunk-6IDRMU4P.js")},{path:"restore-flow/:id",loadComponent:()=>import("./chunk-LESUULT7.js"),children:[{path:"",redirectTo:"select-files",pathMatch:"full"},{path:"select-files",loadComponent:()=>import("./chunk-G76L6TQ6.js")},{path:"options",loadComponent:()=>import("./chunk-SJGIDZMQ.js")}]},{path:"settings",loadComponent:()=>import("./chunk-BREOPUVA.js")},{path:"about",loadComponent:()=>import("./chunk-VWW2CUXB.js"),children:[{path:"",redirectTo:"general",pathMatch:"full"},{path:"general",loadComponent:()=>import("./chunk-WWJLZQVS.js")},{path:"changelog",loadComponent:()=>import("./chunk-WKUHBDJS.js")},{path:"libraries",loadComponent:()=>import("./chunk-PWCYVE3X.js")},{path:"system-info",loadComponent:()=>import("./chunk-L5ZD3XGL.js")},{path:"logs",loadComponent:()=>import("./chunk-FTPIALBZ.js")}]}]}]}];var M=null,re=(o,e)=>{let t=s(w),n=s(R),p=s(m),i=s(ee),l=o;return t.token()&&o.url.startsWith(p.baseUrl)&&(l=o.clone({headers:o.headers.set("Authorization",`Bearer ${t.token()}`)})),e(l).pipe(E(r=>{if(i.error(r.message),r.status===401&&!M&&(M=t.refreshToken().pipe(L())),r.status===401)return M.pipe(j(()=>e(o.clone({headers:o.headers.set("Authorization",`Bearer ${t.token()}`)}))),E(g=>(n.navigate(["/logout"]),A(()=>g))),C(()=>M=null));let a=`Error Code: ${r.status}, Message: ${r.message}`;return A(()=>({error:r,message:a}))}))};var pe="1.0.0",se="portal-proxy-client",ce=1,T=class o{#o=1e3;#n=s(m);#e=c("disconnected");#l=c(this.#o);#i=c(!1);#r=c(!1);#a=c(null);isConnectedToMachineServer=this.#r.asReadonly();wsState=this.#e.asReadonly();#p=[];#s={};#t=null;#m=new TextDecoder("utf-8");#c=null;#d=D(()=>{let e=this.#i(),t=this.#l(),n=this.#a();if(!n||!e||!t||t<this.#o){this.#c&&window.clearInterval(this.#c);return}this.#c=window.setInterval(()=>{this.connectToMachineServer(n)},t)});utf8Atob(e){let t=Uint8Array.from(atob(e),p=>p.charCodeAt(0)),n=this.#m.decode(t);return n?JSON.parse(n):null}connectToMachineServer(e,t){let n=t?.reconnect??!1;this.#t&&this.wsState()==="authenticated"&&!n||(this.#t&&this.wsState()!=="authenticated"&&this.#t.close(),this.#t=new WebSocket(this.#n.machineServerUrl),this.#t.onopen=()=>{this.#e.set("connect"),this.#r.set(!0),this.#i.set(!1),this.#a.set(null)},this.#t.onclose=()=>{this.#e.set("disconnected"),this.#r.set(!1),this.#a.set(e),this.#i.set(!0)},this.#t.onerror=()=>{this.#e.set("error")},this.#t.onmessage=p=>{let i=JSON.parse(p.data);if(this.wsState()==="connect"){if(i.type!=="welcome"){this.disconnectFromMachineServer(`Unexpected message type, expected 'welcome' but got '${i.type}'`);return}let r={token:e,publicKey:"",clientVersion:pe,protocolVersion:ce},a=this.createResponse(i,"authportal",r);this.#e.set("welcome"),this.#t?.send(a)}else if(this.wsState()==="welcome"){if(i.type!=="authportal"){this.disconnectFromMachineServer(`Unexpected message type, expected 'authportal' but got '${i.type}'`);return}var l=JSON.parse(i.payload??"");if(l.accepted===!1){this.disconnectFromMachineServer("Authentication failed");return}for(this.#e.set("authenticated"),this.#r.set(!0);this.#p.length>0;){let r=this.#p.pop();r&&this.#s[r.messageId]&&this.activateCommand(r)}}else if(this.wsState()==="authenticated"){if(i.type!=="command"){console.warn(`Unexpected message type, expected 'command' but got '${i.type}'`);return}let r=this.#s[i.messageId];if(r){if(i.errorMessage){r.reject(i.errorMessage);return}else{let a=JSON.parse(i.payload??"");a.body=a?.body==null?null:this.utf8Atob(a.body),r.resolve(a)}delete this.#s[i.messageId],window.clearTimeout(r.timer)}}})}disconnectFromMachineServer(e=null){e&&console.error(e),this.#t?.close(),this.#t=null,this.#e.set("disconnected"),this.#r.set(!1)}createResponse(e,t,n){let p={from:se,to:e.from,type:t,messageId:e.messageId,payload:JSON.stringify(n)};return JSON.stringify(p)}sendCommand(e,t,n,p,i,l,r=5e3){return(this.wsState()==="disconnected"||this.wsState()==="error")&&this.connectToMachineServer(e),new Promise((a,g)=>{let d=crypto.randomUUID(),y={from:se,to:t,type:"command",messageId:d,payload:JSON.stringify({method:n,path:p,body:i,headers:l})},b={resolve:a,reject:g,timer:window.setTimeout(()=>{let v=this.#s[d];v&&(delete this.#s[d],v.reject("Timeout"))},r)};this.#s[d]=b,this.#r()?this.activateCommand(y):this.#p.push(y)})}activateCommand(e){this.#t?.send(JSON.stringify(e))}static \u0275fac=function(t){return new(t||o)};static \u0275prov=h({token:o,factory:o.\u0275fac,providedIn:"root"})};var f=class o{#o=c(null);config=this.#o.asReadonly();parentIframeListner=null;parentOrigin="*";fetchConfig(){this.#e(),this.parentIframeListner=new AbortController,this.#n("connected"),window.addEventListener("message",e=>{if(e.data.startsWith("access:")){let t=e.data.replace("access:",""),n=JSON.parse(t);if(!n?.accessToken||!n?.clientId){this.#n("error:invalid-config");return}if(typeof n.clientId!="string"){this.#n("error:invalid-config");return}if(typeof n.accessToken!="string"){this.#n("error:invalid-config");return}console.info("postMessage config set"),this.#o.set(n)}},{signal:this.parentIframeListner.signal})}#n(e){window.parent.postMessage(e,"*")}#e(){this.parentIframeListner&&(this.parentIframeListner.abort(),this.parentIframeListner=null)}setConfig(e){this.#o.set(e)}clearConfig(){this.#o.set(null)}static \u0275fac=function(t){return new(t||o)};static \u0275prov=h({token:o,factory:o.\u0275fac,providedIn:"root"})};function le(o){if(typeof o!="string")return null;let t=new TextEncoder().encode(o);return window.btoa(String.fromCharCode(...t))}var ie=(o,e)=>{let n=s(f).config(),p=s(m);if(n===null)return e(o);let i=s(T),l=le(o.body),r={};o.headers.keys().forEach(u=>{r[u]=o.headers.get(u)??""});let a=o.headers.get("timeout"),g=a!==null?parseInt(a):p.defaultTimeout,d=i.sendCommand(n.accessToken,n.clientId,o.method,o.url,l,r,g);return new x(u=>{d.then(y=>{let b=new J;r!=null&&Object.keys(r).forEach(N=>{b.set(N,r[N])});let v=new K({body:y.body,status:y.code,statusText:"OK",headers:b});u.next(v),u.complete()})})};var ae={providers:[U(),Z(ne,Q()),$(z(),G([ie,re])),S,{provide:m,useValue:oe},te]};var k=class o{#o=s(S);#n=s(q);#e=s(f);sub=null;ngOnInit(){this.#e.fetchConfig(),this.sub=this.#n.queryParams.subscribe(({accessToken:e,clientId:t})=>{e?.length&&t?.length&&this.#e.setConfig({accessToken:e,clientId:t})}),this.#o.clearAllNotCurrentVersion()}ngOnDestroy(){this.sub?.unsubscribe()}static \u0275fac=function(t){return new(t||o)};static \u0275cmp=F({type:o,selectors:[["app-root"]],decls:1,vars:0,template:function(t,n){t&1&&H(0,"router-outlet")},dependencies:[_],encapsulation:2})};B(k,ae).catch(o=>console.error(o));