@duplicati/ngclient 0.0.25 → 0.0.26

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 (95) hide show
  1. package/chunk-26IRMVIY.js +2 -0
  2. package/chunk-2PUTRWRI.js +1 -0
  3. package/{chunk-2TLPGRQA.js → chunk-2SYB6ABM.js} +1 -1
  4. package/chunk-47O5BYLZ.js +1 -0
  5. package/chunk-4Y76KESB.js +2 -0
  6. package/chunk-5X5UJ7CP.js +1 -0
  7. package/chunk-6TFXXYVK.js +1 -0
  8. package/chunk-7O44NQO3.js +1 -0
  9. package/{chunk-647BVHNL.js → chunk-AIQQJSGP.js} +1 -1
  10. package/chunk-B7SRENJI.js +1 -0
  11. package/chunk-BR45PK72.js +1 -0
  12. package/{chunk-E6PE2QMZ.js → chunk-BVTTY2FQ.js} +1 -1
  13. package/chunk-C4S5PKAB.js +1 -0
  14. package/chunk-C5O62M3L.js +6 -0
  15. package/chunk-CGWELGPM.js +1 -0
  16. package/{chunk-QQ7JWBVZ.js → chunk-D2HTMQIW.js} +1 -1
  17. package/chunk-DESW2TCQ.js +1 -0
  18. package/chunk-DOGZZDWG.js +1 -0
  19. package/chunk-EPVXOSHI.js +1 -0
  20. package/chunk-FAAAWY76.js +1 -0
  21. package/chunk-FWNXTY54.js +1 -0
  22. package/chunk-GAJ43GZE.js +1 -0
  23. package/chunk-GWGOC52B.js +1 -0
  24. package/chunk-HH2EA6LF.js +1 -0
  25. package/chunk-KZLQWBL3.js +1 -0
  26. package/chunk-L7M2MTRL.js +1 -0
  27. package/chunk-LUAN4O53.js +1 -0
  28. package/chunk-MFLGWG77.js +1 -0
  29. package/chunk-MHCUWVA2.js +1 -0
  30. package/chunk-MSQ7LZTH.js +1 -0
  31. package/chunk-PD6257G7.js +1 -0
  32. package/chunk-QL753AWG.js +1 -0
  33. package/chunk-QNP3LI3Y.js +1 -0
  34. package/chunk-RJDP2FPE.js +7 -0
  35. package/chunk-RMZR2OAY.js +1 -0
  36. package/chunk-SDVRKDZS.js +1 -0
  37. package/{chunk-KM4HDQ4D.js → chunk-T6ENXWPD.js} +1 -1
  38. package/chunk-TLFDZKKI.js +1 -0
  39. package/chunk-UGZKHGQT.js +1 -0
  40. package/chunk-UMY3Y7LR.js +1 -0
  41. package/chunk-UPIWGO32.js +1 -0
  42. package/chunk-UVZO552H.js +1 -0
  43. package/chunk-VAAI6C2V.js +1 -0
  44. package/chunk-VJACGH6X.js +1 -0
  45. package/chunk-WHYVZMAC.js +1 -0
  46. package/chunk-WV3AOW4R.js +1 -0
  47. package/chunk-ZAREJJZA.js +1 -0
  48. package/chunk-ZVT4YXH5.js +1 -0
  49. package/index.html +3 -3
  50. package/main-HBZS5ADV.js +1 -0
  51. package/package.json +1 -1
  52. package/styles-JDUV6AV5.css +1 -0
  53. package/chunk-2WWTJWN7.js +0 -1
  54. package/chunk-43IGTI7W.js +0 -1
  55. package/chunk-4X4FROQQ.js +0 -1
  56. package/chunk-56SGMJT3.js +0 -1
  57. package/chunk-67F45CIQ.js +0 -1
  58. package/chunk-6SKK76PT.js +0 -1
  59. package/chunk-7TGAK2FS.js +0 -6
  60. package/chunk-7UN5GSLX.js +0 -1
  61. package/chunk-ANRVMVA2.js +0 -7
  62. package/chunk-B7BKD6BW.js +0 -1
  63. package/chunk-CYXH6TL7.js +0 -1
  64. package/chunk-D4OIIBBT.js +0 -1
  65. package/chunk-D5XBMU7U.js +0 -1
  66. package/chunk-DC5NQO2Y.js +0 -1
  67. package/chunk-EF6PZOYI.js +0 -1
  68. package/chunk-EUKWBJHZ.js +0 -1
  69. package/chunk-JBKTYIJI.js +0 -1
  70. package/chunk-KJNFJK32.js +0 -1
  71. package/chunk-KMTWZOSJ.js +0 -1
  72. package/chunk-KOPVATUY.js +0 -1
  73. package/chunk-KOXLMQOL.js +0 -1
  74. package/chunk-LKYD5PU5.js +0 -1
  75. package/chunk-LSSI4MGJ.js +0 -1
  76. package/chunk-MW756ZMH.js +0 -1
  77. package/chunk-ND2MJYUF.js +0 -1
  78. package/chunk-NNYK7AHA.js +0 -1
  79. package/chunk-OGV5E7WV.js +0 -1
  80. package/chunk-OLXQO3ZT.js +0 -1
  81. package/chunk-OUZOHOAK.js +0 -2
  82. package/chunk-OYOFQEI3.js +0 -1
  83. package/chunk-PBQATFTG.js +0 -1
  84. package/chunk-QM3Q3TUI.js +0 -1
  85. package/chunk-RH4RL6FL.js +0 -1
  86. package/chunk-RPNE5OZL.js +0 -1
  87. package/chunk-TUN6QDZQ.js +0 -2
  88. package/chunk-UAAHGB26.js +0 -1
  89. package/chunk-UXD4TQLV.js +0 -1
  90. package/chunk-WCMY57ZO.js +0 -1
  91. package/chunk-WVXHNI46.js +0 -1
  92. package/chunk-XCCXG27R.js +0 -1
  93. package/chunk-ZO7IMOR6.js +0 -1
  94. package/main-B5HGTFQ3.js +0 -1
  95. package/styles-LL6J7JBI.css +0 -1
@@ -0,0 +1,7 @@
1
+ import{a as re,b as oe}from"./chunk-7CGTOI24.js";function E(e){return typeof e=="function"}function bt(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=bt(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 Ef(...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 Ct={setTimeout(e,t,...n){let{delegate:r}=Ct;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Ct;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function jn(e){Ct.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 Ze=null;function Mt(e){if(pe.useDeprecatedSynchronousErrorHandling){let t=!Ze;if(t&&(Ze={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=Ze;if(Ze=null,n)throw r}}else e()}function Na(e){pe.useDeprecatedSynchronousErrorHandling&&Ze&&(Ze.errorThrown=!0,Ze.error=e)}var Ye=class extends B{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Fn(t)&&t.add(this)):this.destination=bf}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()}}},Df=Function.prototype.bind;function Bo(e,t){return Df.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 Ye{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 wf(e){throw e}function $o(e,t){let{onStoppedNotification:n}=pe;n&&Ct.setTimeout(()=>n(e,t))}var bf={closed:!0,next:nn,error:wf,complete:nn};function C(e,t,n,r,o){return new qo(e,t,n,r,o)}var qo=class extends Ye{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 _t=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=Mf(n)?n:new Ce(n,r,o);return Mt(()=>{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)}[_t](){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 Cf(e){return e&&E(e.next)&&E(e.error)&&E(e.complete)}function Mf(e){return e&&e instanceof Ye||Cf(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=bt(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){Mt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){Mt(()=>{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(){Mt(()=>{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 Je=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 Ke(e){return this instanceof Ke?(this.v=e,this):new Ke(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 Ke?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[_t])}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 _f(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var zn=_f();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 Ke(n.read());if(o)return yield Ke(void 0);yield yield Ke(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 xf(e);if(Bn(e))return Tf(e);if($n(e))return Nf(e);if(qn(e))return La(e);if(Gn(e))return Sf(e);if(Zn(e))return Of(e)}throw Wn(e)}function xf(e){return new N(t=>{let n=e[_t]();if(E(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Tf(e){return new N(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function Nf(e){return new N(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,jn)})}function Sf(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=>{Af(e,t).catch(n=>t.error(n))})}function Of(e){return La(Qn(e))}function Af(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 xt(e){return E(qa(e))?e.pop():void 0}function ke(e){return Ua(qa(e))?e.pop():void 0}function Rf(...e){let t=ke(e);return Re(e,t)}function kf(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 Pf(e){return!!e&&(e instanceof N||E(e.lift)&&E(e.subscribe))}var Xe=bt(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:Lf}=Array,{getPrototypeOf:Ff,prototype:jf,keys:Vf}=Object;function Xn(e){if(e.length===1){let t=e[0];if(Lf(t))return{args:t,keys:null};if(Hf(t)){let n=Vf(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function Hf(e){return e&&typeof e=="object"&&Ff(e)===jf}var{isArray:Bf}=Array;function $f(e,t){return Bf(t)?e(...t):e(t)}function er(e){return ye(t=>$f(e,t))}function tr(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Uf(...e){let t=ke(e),n=xt(e),{args:r,keys:o}=Xn(e);if(r.length===0)return Re([],t);let i=new N(qf(r,t,o?s=>tr(o,s):G));return n?i.pipe(er(n)):i}function qf(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 et(e,t,n=1/0){return E(t)?et((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 et(G,e)}function Ga(){return Go(1)}function nr(...e){return Ga()(Re(e,ke(e)))}function Wf(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 zf(e,t){return E(t)?et(e,t,1):et(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?()=>Je:_((t,n)=>{let r=0;t.subscribe(C(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Gf(e){return ye(()=>e)}function Qa(e){return _((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function or(e=Qf){return _((t,n)=>{let r=!1;t.subscribe(C(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Qf(){return new Xe}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 Xe))}function Zo(e){return e<=0?()=>Je:_((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 Zf(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 Xe))}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 Yf(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 Jf(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 Kf(...e){let t=xt(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:Xf}=Array;function ec(e){return e.length===1&&Xf(e[0])?e[0]:e}function ep(...e){let t=xt(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}}):Je}function tp(e,t=G){return e=e??np,_((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 np(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 rp(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 op(){return cn}var tt={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 ip(){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 Tt(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 Nt(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(sp);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"),sp=oe(re({},tt),{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=Tt(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 ap(){throw new Error}var lc=ap;function uc(){lc()}function dc(e){lc=e}var cp=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,lp(e))}function pc(e,t){oc()||uc(),pn(e,t(e.value))}var si=oe(re({},tt),{equal:ni,value:void 0});function lp(e){e.version++,ip(),rc(e),cp?.()}function hc(e,t,n){let r=Object.create(up);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)||(Nt(c),c.cleanupFn(),c.fn=null,c.schedule=null,c.cleanupFn=ti)}let a=()=>{if(r.fn===null)return;if(op())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!fn(r))return;r.hasRun=!0;let c=Tt(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=()=>{},up=oe(re({},tt),{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(dp(t,n)),this.code=t}};function dp(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 fp(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=fp(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 pp(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 hp=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(hp)&&e.__forward_ref__===Il}function H(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function j_(e){return{providers:e.providers||[],imports:e.imports||[]}}function oo(e){return gc(e,Dl)||gc(e,wl)}function V_(e){return oo(e)!==null}function gc(e,t){return e.hasOwnProperty(t)?e[t]:null}function gp(e){let t=e&&(e[Dl]||e[wl]);return t||null}function mc(e){return e&&(e.hasOwnProperty(yc)||e.hasOwnProperty(mp))?e[yc]:null}var Dl=A({\u0275prov:A}),yc=A({\u0275inj:A}),wl=A({ngInjectableDef:A}),mp=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 yp=A({\u0275cmp:A}),vp=A({\u0275dir:A}),Ip=A({\u0275pipe:A}),Ep=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 Dp(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 wp(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 bp={},vn=bp,bi="__NG_DI_FLAG__",Cr="ngTempTokenPath",Cp="ngTokenPath",Mp=/\n/gm,_p="\u0275",Ic="__source",kt;function xp(){return kt}function Pe(e){let t=kt;return kt=e,t}function Tp(e,t=T.Default){if(kt===void 0)throw new w(-203,!1);return kt===null?Ml(e,void 0,t):kt.get(e,t&T.Optional?null:void 0,t)}function He(e,t=T.Default){return(Cl()||Tp)(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=Np(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 Np(e){return e[bi]}function Sp(e,t,n,r){let o=e[Cr];throw t[Ic]&&o.unshift(t[Ic]),e.message=Op(`
5
+ `+e.message,o,n,r),e[Cp]=o,e[Cr]=null,e}function Op(e,t,n,r=null){e=e&&e.charAt(0)===`
6
+ `&&e.charAt(1)==_p?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(Mp,`
7
+ `)}`}var xl=_l(vl("Optional"),8);var Tl=_l(vl("SkipSelf"),4);function it(e,t){let n=e.hasOwnProperty(br);return n?e[br]:null}function Ap(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 Rp(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 kp(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function Pp(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,Pp(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 Lp(e,t,1)}function Lp(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 jt={},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[Ep]||null;if(!n&&t===!0)throw new Error(`Type ${ie(e)} does not have '\u0275mod' property.`);return n}function De(e){return e[yp]||null}function Fs(e){return e[vp]||null}function js(e){return e[Ip]||null}function Fp(e){let t=De(e)||Fs(e)||js(e);return t!==null?t.standalone:!1}function jp(e){return{\u0275providers:e}}function Vp(...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=it(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 Hp=A({provide:String,useValue:A});function kl(e){return e!==null&&typeof e=="object"&&Hp in e}function Bp(e){return!!(e&&e.useExisting)}function $p(e){return!!(e&&e.useFactory)}function Vt(e){return typeof e=="function"}function Up(e){return!!e.useClass}var Pl=new S(""),gr={},qp={},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,St(void 0,this)),o.has("environment")&&this.records.set(Me,St(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=Zp(t)&&oo(t);l&&this.injectableDefInScope(l)?c=St(_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 Sp(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=Vt(t)?t:Y(t&&t.provide),r=zp(t);if(!Vt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=St(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=qp,n.value=n.factory()),typeof n.value=="object"&&n.value&&Qp(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:it(e);if(n!==null)return n;if(e instanceof S)throw new w(204,!1);if(e instanceof Function)return Wp(e);throw new w(204,!1)}function Wp(e){if(e.length>0)throw new w(204,!1);let n=gp(e);return n!==null?()=>n.factory(e):()=>new e}function zp(e){if(kl(e))return St(void 0,e.useValue);{let t=Ll(e);return St(t,gr)}}function Ll(e,t,n){let r;if(Vt(e)){let o=Y(e);return it(o)||_i(o)}else if(kl(e))r=()=>Y(e.useValue);else if($p(e))r=()=>e.useFactory(...Ci(e.deps||[]));else if(Bp(e))r=()=>He(Y(e.useExisting));else{let o=Y(e&&(e.useClass||e.provide));if(Gp(e))r=()=>new o(...Ci(e.deps));else return it(o)||_i(o)}return r}function hn(e){if(e.destroyed)throw new w(205,!1)}function St(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Gp(e){return!!e.deps}function Qp(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Zp(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||xp()!=null}function Bs(e){if(!jl())throw new w(-203,!1)}function Yp(e){return typeof e=="function"}var Ne=0,m=1,y=2,W=3,ge=4,te=5,Ht=6,Tr=7,Q=8,me=9,_e=10,P=11,En=12,Ec=13,zt=14,ce=15,st=16,Ot=17,xe=18,co=19,Vl=20,je=21,mr=22,at=23,se=24,L=25,Hl=1,Pt=6,ct=7,Nr=8,Bt=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[y]&512)!==0}function Jp(e){return(e[y]&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 H_=(()=>{let e=()=>$l;return e.ngInherit=!0,e})();function $l(e){return e.type.prototype.ngOnChanges&&(e.setInput=Xp),Kp}function Kp(){let e=ql(this),t=e?.current;if(t){let n=e.previous;if(n===jt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Xp(e,t,n,r,o){let i=this.declaredInputs[r],s=ql(e)||eh(e,{previous:jt,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new Ni(l&&l.currentValue,n,c===jt),Bl(e,t,o,n)}var Ul="__ngSimpleChanges__";function ql(e){return e[Ul]||null}function eh(e,t){return e[Ul]=t}var Dc=null;var ve=function(e,t,n){Dc?.(e,t,n)},Wl="svg",th="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 nh(e){return(e[y]&4)===4}function qs(e){return(e[y]&128)===128}function rh(e){return Se(e[W])}function $e(e,t){return t==null?null:e[t]}function Gl(e){e[Ot]=0}function Ws(e){e[y]&1024||(e[y]|=1024,qs(e)&&An(e))}function oh(e,t){for(;e>0;)t=t[zt],e--;return t}function fo(e){return!!(e[y]&9216||e[se]?.dirty)}function Si(e){e[_e].changeDetectionScheduler?.notify(9),e[y]&64&&(e[y]|=1024),fo(e)&&An(e)}function An(e){e[_e].changeDetectionScheduler?.notify(0);let t=lt(e);for(;t!==null&&!(t[y]&8192||(t[y]|=8192,!qs(t)));)t=lt(t)}function zs(e,t){if((e[y]&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 lt(e){let t=e[W];return Se(t)?t[W]:t}var b={lFrame:nu(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Oi=!1;function ih(){return b.lFrame.elementDepthCount}function sh(){b.lFrame.elementDepthCount++}function ah(){b.lFrame.elementDepthCount--}function Zl(){return b.bindingsEnabled}function Yl(){return b.skipHydrationRootTNode!==null}function ch(e){return b.skipHydrationRootTNode===e}function lh(){b.skipHydrationRootTNode=null}function v(){return b.lFrame.lView}function R(){return b.lFrame.tView}function B_(e){return b.lFrame.contextLView=e,e[Q]}function $_(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 uh(){let e=b.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function vt(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 dh(){return b.lFrame.contextLView}function Kl(){return Oi}function Or(e){let t=Oi;return Oi=e,t}function Gt(){let e=b.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Xl(){return b.lFrame.bindingIndex}function fh(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 ph(){return b.lFrame.inI18n}function hh(e,t){let n=b.lFrame;n.bindingIndex=n.bindingRootIndex=e,Ai(t)}function gh(){return b.lFrame.currentDirectiveIndex}function Ai(e){b.lFrame.currentDirectiveIndex=e}function mh(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 yh(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=yh(i),o===null||(i=i[zt],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 vh(e){return(b.lFrame.contextLView=oh(e,b.lFrame.contextLView))[Q]}function Oe(){return b.lFrame.selectedIndex}function ut(e){b.lFrame.selectedIndex=e}function Et(){let e=b.lFrame;return On(e.tView,e.selectedIndex)}function U_(){b.lFrame.currentNamespace=Wl}function Ih(){return b.lFrame.currentNamespace}var iu=!0;function go(){return iu}function mo(e){iu=e}function Eh(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[y]&3)===n&&su(e,t,n,r)}function li(e,t){let n=e[y];(n&3)===t&&(n&=16383,n+=1,e[y]=n)}function su(e,t,n,r){let o=r!==void 0?e[Ot]&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[Ot]+=65536),(a<i||i==-1)&&(Dh(e,n,t,c),e[Ot]=(e[Ot]&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 Dh(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[y]>>14<e[Ot]>>16&&(e[y]&3)===t&&(e[y]+=16384,wc(a,i)):wc(a,i)}var Lt=-1,dt=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r){this.factory=t,this.canSeeViewProviders=n,this.injectImpl=r}};function wh(e){return e instanceof dt}function bh(e){return(e.flags&8)!==0}function Ch(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];Mh(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 Mh(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={},Ft=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!==Lt}function Ar(e){return e&32767}function _h(e){return e>>16}function Rr(e,t){let n=_h(e),r=t;for(;n>0;)r=r[zt],n--;return r}var ki=!0;function kr(e){let t=ki;return ki=e,t}var xh=256,lu=xh-1,uu=5,Th=0,Ie={};function Nh(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(mn)&&(r=n[mn]),r==null&&(r=n[mn]=Th++);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 Lt;if(n++,o=o[zt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Lt}function Pi(e,t,n){Nh(e,t,n)}function Sh(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[y]&2048&&!(r&T.Self)){let s=kh(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=Ah(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=Lt,l=r&T.Host?t[ce][te]:null;for((a===-1||r&T.SkipSelf)&&(c=a===-1?Ks(e,t):t[a+8],c===Lt||!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=Oh(a,t,n,s,r,l);if(d!==Ie)return d}c=t[a+8],c!==Lt&&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 Oh(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?ft(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 ft(e,t,n,r){let o=e[n],i=t.data;if(wh(o)){let s=o;s.resolving&&wp(Dp(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&&Eh(n,i[n],t)}finally{l!==null&&X(l),kr(a),s.resolving=!1,ou()}}return o}function Ah(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:Rh: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 ot=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 Rh(){return new ot($(),v())}function q_(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()}:it(e)}function kh(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[y]&2048&&!(s[y]&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[zt]}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 W_(e){return Sh($(),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,Vp(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 Ph=new S("");Ph.__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,Qt=(()=>{class e{static __NG_ELEMENT_ID__=Lh;static __NG_ENV_ID__=n=>n}return e})(),Lr=class extends Qt{_lView;constructor(t){super(),this._lView=t}onDestroy(t){return zs(this._lView,t),()=>Ql(this._lView,t)}};function Lh(){return new Lr(v())}var qe=class{},Xs=new S("",{providedIn:"root",factory:()=>!1});var Iu=new S(""),ea=new S(""),Zt=(()=>{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(Qt,{optional:!0})??void 0,this.pendingTasks=x(Zt,{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",Fh=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,Hh(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,jh,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)}},jh={};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 Vh(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 Hh(e){let t=()=>{Vh(e)},n=Fh++;e._inner=e._inner.fork({name:"angular",properties:{[ta]:!0,[Fr]:n,[Fr+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(Bh(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&&!$h(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 Bh(e){return Du(e,"__ignore_ng_zone__")}function $h(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)}},Uh=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(Qt);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 z_(e){return new Vr}function Sc(e,t){return yl(e,t)}function qh(e){return yl(ro,e)}var G_=(Sc.required=qh,Sc);function Wh(){return Yt($(),v())}function Yt(e,t){return new vo(fe(e,t))}var vo=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=Wh}return e})();function wu(e){return e instanceof vo?e.nativeElement:e}function zh(){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=Rp(t);(this._changesDetected=!Ap(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]=zh};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,Gh=0;function Qh(){return Gh++}function Zh(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],Zh(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 Q_(e){Bi=e}function Nu(){if(Bi!==void 0)return Bi;if(typeof document<"u")return document;throw new w(210,!1)}var Z_=new S("",{providedIn:"root",factory:()=>Yh}),Yh="ng",Jh=new S(""),Y_=new S("",{providedIn:"platform",factory:()=>"unknown"});var J_=new S("",{providedIn:"root",factory:()=>Nu().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),Kh={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},K_=new S("",{providedIn:"root",factory:()=>Kh});var Xh="h",eg="b";var tg="di",Su="s";var Ou=!1,ng=new S("",{providedIn:"root",factory:()=>Ou});var rg=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 At=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(At||{}),Au=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=H({token:e,providedIn:"root",factory:()=>new e})}return e})(),og=[At.EarlyRead,At.Write,At.MixedReadWrite,At.Read],ig=(()=>{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 og)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 sg(e,t){!t?.injector&&Bs(sg);let n=t?.injector??x(Ue);return be("NgAfterNextRender"),cg(e,n,t,!0)}function ag(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 cg(e,t,n,r){let o=t.get(Au);o.impl??=t.get(ig);let i=t.get(Io,null,{optional:!0}),s=n?.phase??At.MixedReadWrite,a=n?.manualCleanup!==!0?t.get(Qt):null,c=new $i(o.impl,ag(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,lg=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||{}),ug=0,Eo=1;var dg=4,fg=5;var Ui=7,fi=8,pg=9,Ru=function(e){return e[e.Manual=0]="Manual",e[e.Playthrough=1]="Playthrough",e}(Ru||{});function hg(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=dg;return e===1?t=fg:e===2&&(t=pg),t}function Do(e){return e+1}function wo(e,t){let n=e[m],r=Do(t.index);return e[r]}function gg(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 mg(e,t,n){let r=Do(t);e.data[r]=n}function yg(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 vg(e){return e.loadingBlockConfig?.[lg]??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 Ig(e,t){let n=t.primaryTmplIndex+L;return On(e,n)}var Eg=new S("");var Dg=()=>null;function oa(e,t,n=!1){return Dg(e,t,n)}function wg(e){return e.get(rg,!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 bg(){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 bg()?.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 Jt(e){return e instanceof Te?e.changingThisBreaksApplicationSecurity:e}function ia(e,t){let n=Cg(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 Cg(e){return e instanceof Te&&e.getTypeName()||null}function X_(e){return new qi(e)}function ex(e){return new Wi(e)}function tx(e){return new zi(e)}function nx(e){return new Gi(e)}function rx(e){return new Qi(e)}function Mg(e){let t=new Yi(e);return _g()?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 _g(){try{return!!new window.DOMParser().parseFromString(bo(""),"text/html")}catch{return!1}}var xg=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Fu(e){return e=String(e),e.match(xg)?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"),Tg=kn(Hu,Vu),Ng=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")),Sg=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,Ng,Sg,Tg),Bu=Ae("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Og=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"),Ag=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"),Rg=kn(Bu,Og,Ag),kg=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=Fg(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=Lg(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,!kg.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(!Rg.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 Pg(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Lg(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw $u(t);return t}function Fg(e){let t=e.firstChild;if(t&&Pg(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 jg=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Vg=/([^\#-~ |!])/g;function Hc(e){return e.replace(/&/g,"&amp;").replace(jg,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(Vg,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var dr;function Hg(e,t){let n=null;try{dr=dr||Mg(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&&Bg(e)?e.content:null}function Bg(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 ox(e){let t=sa();return t?Lc(t.sanitize(Co.HTML,e)||""):ia(e,"HTML")?Lc(Jt(e)):Hg(Nu(),Ee(e))}function $g(e){let t=sa();return t?t.sanitize(Co.URL,e)||"":ia(e,"URL")?Jt(e):Fu(Ee(e))}function Ug(e){let t=sa();if(t)return Fc(t.sanitize(Co.RESOURCE_URL,e)||"");if(ia(e,"ResourceURL"))return Fc(Jt(e));throw new w(904,!1)}function qg(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?Ug:$g}function ix(e,t,n){return qg(t,n)(e)}function sa(){let e=v();return e&&e[_e].sanitizer}var Wg=/^>|^->|<!--|-->|--!>|<!-$/g,zg=/(<|>)/g,Gg="\u200B$1\u200B";function Qg(e){return e.replace(Wg,t=>t.replace(zg,Gg))}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||{}),Zg;function aa(e,t){return Zg(e,t)}function Rt(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?lm(t,a,s):e===3&&t.destroyNode(a),i!=null&&dm(t,e,i,n,o)}}function Yg(e,t){return e.createText(t)}function Jg(e,t,n){e.setValue(t,n)}function Kg(e,t){return e.createComment(Qg(t))}function qu(e,t,n){return e.createElement(t,n)}function Xg(e,t){Wu(e,t),t[Ne]=null,t[te]=null}function em(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 tm(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 nm(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[st];s!==null&&n!==s&&zu(s,t);let a=t[xe];a!==null&&a.insertView(e),Si(t),t[y]|=128}function zu(e,t){let n=e[Bt],r=t[W];if(Ve(r))e[y]|=Sr.HasTransplantedViews;else{let o=r[W][ce];t[ce]!==o&&(e[y]|=Sr.HasTransplantedViews)}n===null?e[Bt]=[t]:n.push(t)}function ca(e,t){let n=e[Bt],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[st];o!==null&&o!==e&&ca(o,r),t>0&&(e[n-1][ge]=r[ge]);let i=Mr(e,Z+t);Xg(r[m],r);let s=i[xe];s!==null&&s.detachView(i[m]),r[W]=null,r[ge]=null,r[y]&=-129}return r}function Mo(e,t){if(!(t[y]&256)){let n=t[P];n.destroyNode&&xo(e,t,n,3,null,null),tm(t)}}function pi(e,t){if(t[y]&256)return;let n=D(null);try{t[y]&=-129,t[y]|=256,t[se]&&Nt(t[se]),om(e,t),rm(e,t),t[m].type===1&&t[P].destroy();let r=t[st];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 rm(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[at];if(i!==null){t[at]=null;for(let s of i)s.destroy()}}function om(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 dt)){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 im(e,t.parent,n)}function im(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 sm(e,t){return e.nextSibling(t)}function Yu(e,t,n){return cm(e,t,n)}function am(e,t,n){return e.type&40?fe(e,n):null}var cm=am,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=lt(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[ct]}function lm(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),Rt(t,e,o,a,i);else if(c&32){let l=aa(n,r),u;for(;u=l();)Rt(t,e,o,u,i);Rt(t,e,o,a,i)}else c&16?Ku(e,t,r,n,o,i):Rt(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 um(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];Rt(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 dm(e,t,n,r,o){let i=n[ct],s=we(n);i!==s&&Rt(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 fm(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0: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 pm(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&&pm(e,t,i)}function hm(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 gm(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&hm(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 mm(e,t,n){let r=e.type===4&&!n?td:e.value;return t===r}function ym(e,t,n){let r=4,o=e.attrs,i=o!==null?Em(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!==""&&!mm(e,c,n)||c===""&&t.length===1){if(he(r))return!1;s=!0}}else if(r&8){if(o===null||!gm(e,o,c,n)){if(he(r))return!1;s=!0}}else{let l=t[++a],u=vm(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 vm(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 Dm(t,e)}function nd(e,t,n=!1){for(let r=0;r<t.length;r++)if(ym(e,t[r],n))return!0;return!1}function Im(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if(!(n&1))return t[n+1]}return null}function Em(e){for(let t=0;t<e.length;t++){let n=e[t];if(au(n))return t}return e.length}function Dm(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 wm(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 bm(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 Cm(e){return e.map(bm).join(",")}function Mm(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 sx(e=1){rd(R(),v(),Oe()+e,!1)}function rd(e,t,n,r){if(!r)if((t[y]&3)===3){let i=e.preOrderCheckHooks;i!==null&&yr(t,i,n)}else{let i=e.preOrderHooks;i!==null&&vr(t,i,0,n)}ut(n)}function To(e,t=T.Default){let n=v();if(n===null)return He(e,t);let r=$();return hu(r,n,Y(e),t)}function ax(){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 _m(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)ut(~o);else{let i=o,s=n[++r],a=n[++r];hh(s,i);let c=t[i];a(2,c)}}}finally{ut(-1)}}function No(e,t,n,r,o,i,s,a,c,l,u){let d=t.blueprint.slice();return d[Ne]=o,d[y]=r|4|128|8|64|1024,(l!==null||e&&e[y]&2048)&&(d[y]|=2048),Gl(d),d[W]=d[zt]=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]=Qh(),d[Ht]=u,d[Vl]=l,d[ce]=t.type==2?e[ce]:d,d}function Kt(e,t,n,r,o){let i=e.data[t];if(i===null)i=xm(e,t,n,r,o),ph()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=uh();i.injectorIndex=s===null?-1:s.injectorIndex}return vt(i,!0),i}function xm(e,t,n,r,o){let i=Jl(),s=Gs(),a=s?i:i&&i.parent,c=e.data[t]=Rm(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{ut(-1),s&&t.length>L&&rd(e,t,L,!1),ve(s?2:0,o),n(r,o)}finally{ut(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()&&(Vm(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=Tm(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 Tm(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:z);return n}function Nm(e,t,n,r){let i=r.get(ng,Ou)||n===bn.ShadowDom,s=e.selectRootElement(t,i);return Sm(s),s}function Sm(e){Om(e)}var Om=()=>null;function Am(e,t,n,r){let o=pd(t);o.push(n),e.firstCreatePass&&hd(e).push(r,o.length-1)}function Rm(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 km(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)?Ym(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 Pm(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)&&Lm(n,t.index)):t.type&3?(r=Pm(r),o=s!=null?s(o,t.value||"",r):o,i.setProperty(c,r,o)):t.type&12}function Lm(e,t){let n=Qe(t,e);n[y]&16||(n[y]|=64)}function ga(e,t,n,r){if(Zl()){let o=r===null?null:{"":-1},i=Bm(e,n),s,a;i===null?s=a=null:[s,a]=i,s!==null&&cd(e,t,n,s,o,a),o&&$m(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);qm(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),Wm(e,n,t,c,u),Um(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++}km(e,n,i)}function Fm(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;jm(s)!=a&&s.push(a),s.push(n,r,i)}}function jm(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function Vm(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;lo(n)&&zm(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=ft(t,e,a,n);if(ze(l,t),s!==null&&Zm(t,a-o,l,c,n,s),Be(c)){let u=Qe(n.index,t);u[Q]=ft(t,e,a,n)}}}function ld(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=gh();try{ut(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)&&Hm(c,l)}}finally{ut(-1),Ai(s)}}function Hm(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Bm(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 $m(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 Um(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 qm(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Wm(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=it(o.type,!0)),s=new dt(i,Be(o),To);e.blueprint[r]=s,n[r]=s,Fm(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 zm(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 Gm(e,t,n,r,o,i){let s=fe(e,t);Qm(t[P],s,i,e.value,n,r,o)}function Qm(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 Zm(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 Ym(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);Jg(e[P],r,n)}function Jm(e,t){let n=Qe(t,e),r=n[m];Km(r,n);let o=n[Ne];o!==null&&n[Ht]===null&&(n[Ht]=oa(o,n[me])),ya(r,n,n[Q])}function Km(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&&Xm(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[y]&=-5,Js()}}function Xm(e,t){for(let n=0;n<t.length;n++)Jm(e,t[n])}function Xt(e,t,n,r){let o=D(null);try{let i=t.tView,a=e[y]&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[st]=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 pt(e,t){return!t||t.firstChild===null||bu(e)}function en(e,t,n,r=!0){let o=t[m];if(nm(o,t,e,n),r){let s=Xi(n,e),a=t[P],c=Zu(a,e[ct]);c!==null&&em(o,e[te],a,t,c,s)}let i=t[Ht];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)&&ey(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=lt(t[ce]);$r(c[m],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function ey(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[ct]!==e[Ne]&&t.push(e[ct])}var yd=[];function ty(e){return e[se]??ny(e)}function ny(e){let t=yd.pop()??Object.create(oy);return t.lView=e,t}function ry(e){e.lView[se]!==e&&(e.lView=null,yd.push(e))}var oy=oe(re({},tt),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{An(e.lView)},consumerOnSignalRead(){this.lView[se]=this}});function iy(e){let t=e[se]??Object.create(sy);return t.lView=e,t}var sy=oe(re({},tt),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=lt(e.lView);for(;t&&!vd(t[m]);)t=lt(t);t&&Ws(t)},consumerOnSignalRead(){this.lView[se]=this}});function vd(e){return e.type!==2}function Id(e){if(e[at]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[at])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[y]&8192)}}var ay=100;function Ed(e,t=!0,n=0){let o=e[_e].rendererFactory,i=!1;i||o.begin?.();try{cy(e,n)}catch(s){throw t&&Oo(e,s),s}finally{i||o.end?.()}}function cy(e,t){let n=Kl();try{Or(!0),ns(e,t);let r=0;for(;fo(e);){if(r===ay)throw new w(103,!1);r++,ns(e,1)}}finally{Or(n)}}function ly(e,t,n,r){let o=t[y];if((o&256)===256)return;let i=!1,s=!1;Ys(t);let a=!0,c=null,l=null;i||(vd(e)?(l=ty(t),c=Tt(l)):nc()===null?(a=!1,l=iy(t),c=Tt(l)):t[se]&&(Nt(t[se]),t[se]=null));try{Gl(t),fh(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||uy(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)}_m(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[y]&=-73)}catch(u){throw i||An(t),u}finally{l!==null&&(dn(l,c),a&&ry(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 uy(e){for(let t=_u(e);t!==null;t=xu(t)){if(!(t[y]&Sr.HasTransplantedViews))continue;let n=t[Bt];for(let r=0;r<n.length;r++){let o=n[r];Ws(o)}}}function dy(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[y],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[y]&=-9217,s)ly(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++)dy(e,t[r],n)}function Ao(e,t){let n=Kl()?64:1088;for(e[_e].changeDetectionScheduler?.notify(t);e;){e[y]|=n;let r=lt(e);if(Ti(e)&&!r)return e;e=r}return null}var ht=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[y]&9280)||!!this._lView[se]?.dirty}set context(t){this._lView[Q]=t}get destroyed(){return(this._lView[y]&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[y]&=-129}reattach(){Si(this._lView),this._lView[y]|=128}detectChanges(){this._lView[y]|=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[st];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[st];r!==null&&!n&&zu(r,this._lView),Si(this._lView)}},Ur=(()=>{class e{static __NG_ELEMENT_ID__=hy}return e})(),fy=Ur,py=class extends fy{_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 ht(o)}};function hy(){return Ro($(),v())}function Ro(e,t){return e.type&4?new py(t,e,Yt(e,t)):null}var lx=new RegExp(`^(\\d+)*(${eg}|${Xh})*(.*)`);var gy=()=>null;function $t(e,t){return gy(e,t)}var rs=class{},qr=class{},os=class{resolveComponentFactory(t){throw Error(`No component factory found for ${ie(t)}.`)}},Ut=class{static NULL=new os},Wr=class{},ux=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>my()}return e})();function my(){let e=v(),t=$(),n=Qe(t.index,e);return(Ve(n)?n:e)[P]}var yy=(()=>{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 Ut{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=De(t);return new gt(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 vy(e){let t=e.toLowerCase();return t==="svg"?Wl:t==="math"?th:null}var gt=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=Cm(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 Ft(t,s):t,c=a.get(Wr,null);if(c===null)throw new w(407,!1);let l=a.get(yy,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?Nm(p,r,this.componentDef.encapsulation,a):qu(p,f,vy(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,Dt=null;try{let ne=this.componentDef,wt,Lo=null;ne.findHostDirectiveDefs?(wt=[],Lo=new Map,ne.findHostDirectiveDefs(ne,wt,Lo),wt.push(ne)):wt=[ne];let If=Iy(O,h);Dt=Ey(If,h,ne,wt,O,d,p),U=On(I,L),h&&by(p,ne,h,r),n!==void 0&&Cy(U,this.ngContentSelectors,n),ue=wy(Dt,ne,wt,Lo,O,[My]),ya(I,O,null)}catch(ne){throw Dt!==null&&Hi(Dt),Hi(O),ne}finally{Js()}return new is(this.componentType,ue,Yt(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 ht(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 ot(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function Iy(e,t){let n=e[m],r=L;return e[r]=t,Kt(n,r,2,"#host",null)}function Ey(e,t,n,r,o,i,s){let a=o[m];Dy(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 Dy(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 wy(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=ft(o,a,d,s);ze(p,o)}ld(a,o,s),c&&ze(c,o);let l=ft(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 by(e,t,n,r){if(r)Ri(e,n,["ng-version","19.0.1"]);else{let{attrs:o,classes:i}=Mm(t.selectors[0]);o&&Ri(e,n,o),i&&i.length>0&&Xu(e,n,i.join(" "))}}function Cy(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 My(){let e=$();yo(v()[m],e)}var Ia=(()=>{class e{static __NG_ELEMENT_ID__=_y}return e})();function _y(){let e=$();return Md(e,v())}var xy=Ia,Cd=class extends xy{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Yt(this._hostTNode,this._hostLView)}get injector(){return new ot(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 ot(o,n)}else return new ot(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=$t(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,pt(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!Yp(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 gt(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=$t(this._lContainer,u?.id??null),p=d?.firstChild??null,f=c.create(l,o,p,i);return this.insertImpl(f.hostView,a,pt(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(rh(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 ht(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)),Ny(n,t,e,r),new Cd(n,e,t)}function Ty(e,t){let n=e[P],r=n.createComment(""),o=fe(t,e),i=Zu(n,o);return Br(n,i,r,sm(n,o),!1),r}var Ny=Oy,Sy=()=>!1;function _d(e,t,n){return Sy(e,t,n)}function Oy(e,t,n,r){if(e[ct])return;let o;n.type&8?o=we(r):o=Ty(t,n),e[ct]=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=Fy(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,Ay(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 Ay(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 Ry(e,t){return e.type&11?Yt(e,t):e.type&4?Ro(e,t):null}function ky(e,t,n,r){return n===-1?Ry(t,e):n===-2?Py(e,t,r):ft(e,e[m],n,t)}function Py(e,t,n){if(n===vo)return Yt(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(ky(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[st]===p[W]&&us(p[m],p,l,r)}if(u[Bt]!==null){let d=u[Bt];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 Am(e,t,r,r.destroy),(t[xe]??=new as).queries.push(new ss(r))-1}function Ly(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,v(),t)}function Nd(e,t,n,r){let o=R();if(o.firstCreatePass){let i=$();Sd(o,new Qr(t,n,r),i.index),jy(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return Td(o,v(),n)}function Fy(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 jy(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 Vy(e){return typeof e=="function"&&e[q]!==void 0}function Hy(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 Vy(e)&&typeof e.set=="function"}function wa(e,t,n){let r,o=ii(()=>{r._dirtyCounter();let i=qy(r,e);if(t&&i===void 0)throw new w(-951,!1);return i});return r=o[q],r._dirtyCounter=Hy(0),r._flatValue=void 0,o}function By(e){return wa(!0,!1,e)}function $y(e){return wa(!0,!0,e)}function Uy(e){return wa(!1,!1,e)}function kd(e,t){let n=e[q];n._lView=v(),n._queryIndex=t,n._queryList=Ea(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function qy(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[y]&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 By(t)}function Wy(e,t){return $y(t)}var fx=(Zc.required=Wy,Zc);function px(e,t){return Uy(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 zy(e){return Pd(ro,e)}var hx=(Jc.required=zy,Jc);var mt=class{},ds=class{};function gx(e,t){return new Zr(e,t??null,[])}var Zr=class extends mt{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:mt,useValue:this},{provide:Ut,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 mt{injector;componentFactoryResolver=new Gr(this);instance=null;constructor(t){super();let n=new In([...t.providers,{provide:mt,useValue:this},{provide:Ut,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 Gy=(()=>{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 mx(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(Gy).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=Yy(n),n})}function Qy(e){return De(e)||Fs(e)}function Zy(e){return e!==null}function yx(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 jt;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 vx(e){return Nn(()=>{let t=Fd(e);return jd(t),t})}function Ix(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||jt,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:Qy;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(Zy)}function Yy(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 Jy(e){return Object.getPrototypeOf(e.prototype).constructor}function Ky(e){let t=Jy(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&&rv(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&tv(e,c),l&&nv(e,l),Xy(e,o),pp(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===Ky&&(n=!1)}}t=Object.getPrototypeOf(t)}ev(r)}function Xy(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 ev(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===jt?{}:e===J?[]:e}function tv(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function nv(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function rv(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function Ex(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 ov(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 iv(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 sv(e,t,n,r,o){let i=Mn(e,t,n,r);return le(e,t+2,o)||i}function av(e,t,n,r,o,i){let s=Mn(e,t,n,r);return Mn(e,t+2,o,i)||s}function cv(e){return(e.flags&32)===32}function lv(e,t,n,r,o,i,s,a,c){let l=t.consts,u=Kt(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?lv(u,t,e,r,o,i,s,a,c):t.data[u];vt(d,!1);let p=dv(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 uv(e,t,n,r,o,i,s,a){let c=v(),l=R(),u=$e(l.consts,i);return _n(c,l,e,t,n,r,o,u,s,a),uv}var dv=fv;function fv(e,t,n,r){return mo(!0),t[P].createComment("")}var pv=(()=>{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 hv=new S("");function gi(e,t,n){return e.get(pv).getOrCreateInjector(t,e,n,"")}function gv(e,t,n){if(e instanceof Ft){let o=e.injector,i=e.parentInjector,s=gi(i,t,n);return new Ft(o,s)}let r=e.get(Me);if(r!==e){let o=gi(r,t,n);return new Ft(e,o)}return gi(e,t,n)}function rt(e,t,n,r=!1){let o=n[W],i=o[m];if(Jp(o))return;let s=wo(o,t),a=s[Eo],c=s[Ui];if(!(c!==null&&e<c)&&el(a,e)&&el(s[ug]??-1,e)){let l=Rn(i,t),d=!r&&!0&&(vg(l)!==null||kc(l,F.Loading)!==null||kc(l,F.Placeholder))?Iv:yv;try{d(e,s,n,t,o)}catch(p){Oo(o,p)}}}function mv(e,t){let n=e[Pt];return n===null||n.length===0?null:n.find(r=>r.data[Su]===t[Eo])??null}function yv(e,t,n,r,o){let i=yg(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=gv(o[me],f,h))}let d=mv(n,t);if(n[Pt]===null||n[Pt].length===0||d){n[Pt]=null;let f=Xt(o,c,null,{injector:u,dehydratedView:d});en(n,f,l,pt(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 vv(e,t){let n=e[t.index];rt(F.Placeholder,t,n)}function tl(e,t,n){e.loadingPromise.then(()=>{e.loadingState===ee.COMPLETE?rt(F.Complete,t,n):e.loadingState===ee.FAILED&&rt(F.Error,t,n)})}var Iv=null;var Dx=(()=>{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 Ev=new S("");function Hd(e){return!!e&&typeof e.then=="function"}function Dv(e){return!!e&&typeof e.subscribe=="function"}var wv=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(wv,{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(Dv(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()}},bv=new S("");function Cv(){dc(()=>{throw new w(600,!1)})}function Mv(e){return e.isBoundToModule}var _v=10;function xv(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(Uh);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(Zt).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&&Fp(n),f=!1;throw new w(405,f)}let s;o?s=n:s=this._injector.get(Ut).resolveComponentFactory(n),this.componentTypes.push(s.componentType);let a=Mv(s)?void 0:this._injector.get(mt),c=r||s.selector,l=s.create(Ue.NULL,[],c,a),u=l.location.nativeElement,d=l.injector.get(Ev,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++<_v;)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)Tv(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(bv,[]).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 Tv(e,t,n,r){if(!n&&!fo(e))return;Ed(e,t,n&&!r?0:1)}function Nv(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=Ig(o,e);e.loadingState=ee.IN_PROGRESS,Er(1,i);let a=e.dependencyResolverFn,c=r.get(Zt),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 Sv(e,t){let n=e[m],r=e[t.index],o=e[me],i=wo(e,t),s=Rn(n,t);if(Av(o,s))switch(ku(i),s.loadingState){case ee.NOT_STARTED:rt(F.Loading,t,r),Nv(s,e,t),s.loadingState===ee.IN_PROGRESS&&tl(s,t,r);break;case ee.IN_PROGRESS:rt(F.Loading,t,r),tl(s,t,r);break;case ee.COMPLETE:rt(F.Complete,t,r);break;case ee.FAILED:rt(F.Error,t,r);break;default:}}function Ov(e,t,n){let r=t[Ui]&&t[Ui]===F.Complete;return!(n.hydrateTriggers&&n.hydrateTriggers.size>0&&r&&wg(e))}function Av(e,t){return e.get(hv,null,{optional:!0})?.behavior!==Ru.Manual}function wx(e,t,n,r,o,i,s,a,c){let l=v(),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),mg(u,d,U)}let h=l[d];_d(h,p,l);let g=null,M=null;if(h[Pt]?.length>0){let U=h[Pt][0].data;M=U[tg]??null,g=U[Su]}let I=[null,Hr.Initial,null,null,null,null,M,g,null,null];gg(l,d,I);let O=null;M!==null&&(O=f.get(Eg),O.add(M,{lView:l,tNode:p,lContainer:h}));let ue=()=>{ku(I),M!==null&&O?.cleanup([M])};hg(0,I,()=>Ql(l,ue)),zs(l,ue)}function bx(e){let t=v(),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?vv(t,i):o===!0&&(c===Hr.Initial||c===F.Placeholder)&&Ov(t[me],s,a)&&Sv(t,i)}finally{D(r)}}}function Rv(e,t,n,r){let o=v(),i=It();if(le(o,i,t)){let s=R(),a=Et();Gm(a,o,e,t,n,r)}return Rv}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 kv(e,t,n,r,o,i,s,a){let c=Xl(),l=sv(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 yt(e){return e>>17&32767}function Pv(e){return(e&2)==2}function Lv(e,t){return e&131071|t<<17}function ps(e){return e|2}function qt(e){return(e&131068)>>2}function mi(e,t){return e&-131069|t<<2}function Fv(e){return(e&1)===1}function hs(e){return e|1}function jv(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=yt(s),c=qt(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=yt(e[a+1]);e[r+1]=pr(p,a),p!==0&&(e[p+1]=mi(e[p+1],r)),e[a+1]=Lv(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),Vv(t,u,e,r,i),s=pr(a,c),i?t.classBindings=s:t.styleBindings=s}function Vv(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?yt(o):qt(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];Hv(c,t)&&(a=!0,e[s+1]=r?hs(l):ps(l)),s=r?yt(l):qt(l)}a&&(e[n+1]=r?ps(o):hs(o))}function Hv(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 Bv(e){return e.substring(V.value,V.valueEnd)}function $v(e){return Qd(e),zd(e,Wt(e,0,V.textEnd))}function zd(e,t){let n=V.textEnd;return n===t?-1:(t=V.keyEnd=qv(e,V.key=t,n),Wt(e,t,n))}function Uv(e){return Qd(e),Gd(e,Wt(e,0,V.textEnd))}function Gd(e,t){let n=V.textEnd,r=V.key=Wt(e,t,n);return n===r?-1:(r=V.keyEnd=Wv(e,r,n),r=rl(e,r,n,58),r=V.value=Wt(e,r,n),r=V.valueEnd=zv(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 Wt(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function qv(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function Wv(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=Wt(e,t,n),t<n&&t++,t}function zv(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 Gv(e,t,n){let r=v(),o=It();if(le(r,o,t)){let i=R(),s=Et();Pn(i,s,r,e,t,r[P],n,!1)}return Gv}function gs(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";ma(e,n,i[s],s,r)}function Qv(e,t,n){return Zd(e,t,n,!1),Qv}function Zv(e,t){return Zd(e,t,null,!0),Zv}function Cx(e){Yd(Xd,Yv,e,!1)}function Yv(e,t){for(let n=Uv(t);n>=0;n=Gd(t,n))Xd(e,Wd(t),Bv(t))}function Mx(e){Yd(rI,Jv,e,!0)}function Jv(e,t){for(let n=$v(t);n>=0;n=zd(t,n))so(e,Wd(t),!0)}function Zd(e,t,n,r){let o=v(),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]=iI(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=v();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 oI(o,a,s,s[P],s[i+1],s[i+1]=nI(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=Kv(o,i,t,r),jv(o,i,t,n,s,r)}}function Kv(e,t,n,r){let o=mh(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=Xv(e,t,r);c!==void 0&&Array.isArray(c)&&(c=yi(null,e,t,c[1],r),c=xn(c,t.attrs,r),eI(e,t,r,c))}else i=tI(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function Xv(e,t,n){let r=n?t.classBindings:t.styleBindings;if(qt(r)!==0)return e[yt(r)]}function eI(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[yt(o)]=r}function tI(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 nI(e,t,n){if(n==null||n==="")return J;let r=[],o=Jt(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,Jt(n))}function rI(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&so(e,r,n)}function oI(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=Fv(l)?il(c,t,n,o,qt(l),s):void 0;if(!Kr(u)){Kr(i)||Pv(l)&&(i=il(c,null,n,o,a,s));let d=zl(Oe(),n);fm(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?yt(h):qt(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 iI(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=ie(Jt(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 sI(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 _x(e,t){be("NgControlFlow");let n=v(),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=$t(l,u.tView.ssrId),p=Xt(n,u,t,{dehydratedView:d});en(l,p,s,pt(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 xx(e){return e}var Is=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function Tx(e,t,n,r,o,i,s,a,c,l,u,d,p){be("NgControlFlow");let f=v(),h=R(),g=c!==void 0,M=v(),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[Ht];this.needsIndexUpdate||=t!==this.length,en(this.lContainer,n,t,pt(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,aI(this.lContainer,t)}create(t,n){let r=$t(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 cI(this.lContainer,t)}};function Nx(e){let t=D(null),n=Oe();try{let r=v(),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(sI(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=$t(p,f.tView.ssrId),g=Xt(r,f,void 0,{dehydratedView:h});en(p,g,0,pt(f,h))}else va(p,0)}}}finally{D(t)}}function eo(e,t){return e[t]}function aI(e,t){return Cn(e,t)}function cI(e,t){return md(e,t)}function Ds(e,t){return On(e,t)}function lI(e,t,n,r,o,i){let s=t.consts,a=$e(s,o),c=Kt(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=v(),i=R(),s=L+e,a=o[P],c=i.firstCreatePass?lI(s,i,o,t,n,r):i.data[s],l=dI(i,o,c,a,t,e);o[s]=l;let u=uo(c);return vt(c,!0),ed(a,l,c),!cv(c)&&go()&&_o(i,o,l,c),ih()===0&&ze(l,o),sh(),u&&(fa(i,o,c),da(i,c,o)),r!==null&&pa(o,c),nf}function rf(){let e=$();Gs()?Qs():(e=e.parent,vt(e,!1));let t=e;ch(t)&&lh(),ah();let n=R();return n.firstCreatePass&&(yo(n,e),$s(e)&&n.queries.elementEnd(e)),t.classesWithoutHost!=null&&bh(t)&&gs(n,t,v(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&Ch(t)&&gs(n,t,v(),t.stylesWithoutHost,!1),rf}function uI(e,t,n,r){return nf(e,t,n,r),rf(),uI}var dI=(e,t,n,r,o,i)=>(mo(!0),qu(r,o,Ih()));function fI(e,t,n,r,o){let i=t.consts,s=$e(i,r),a=Kt(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=v(),o=R(),i=e+L,s=o.firstCreatePass?fI(i,o,r,t,n):o.data[i];vt(s,!0);let a=hI(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,vt(e,!1)),t.firstCreatePass&&(yo(t,e),$s(e)&&t.queries.elementEnd(e)),sf}function pI(e,t,n){return of(e,t,n),sf(),pI}var hI=(e,t,n,r)=>(mo(!0),Kg(t[P],""));function Sx(){return v()}var nt=void 0;function gI(e){let t=e,n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return n===1&&r===0?1:5}var mI=["en",[["a","p"],["AM","PM"],nt],[["AM","PM"],nt,nt],[["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"]],nt,[["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"]],nt,[["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}",nt,"{1} 'at' {0}",nt],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",gI],yn={};function Ox(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=yI(e),n=cl(t);if(n)return n;let r=t.split("-")[0];if(n=cl(r),n)return n;if(r==="en")return mI;throw new w(701,!1)}function Ax(e){return af(e)[Tn.CurrencyCode]||null}function Rx(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 yI(e){return e.toLowerCase().replace(/_/g,"-")}var to="en-US",vI="USD";var II=to;function EI(e){typeof e=="string"&&(II=e.toLowerCase().replace(/_/g,"-"))}var DI=(e,t,n)=>{};function wI(e,t,n,r){let o=v(),i=R(),s=$();return cf(i,o,o[P],s,e,t,r),wI}function bI(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=bI(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),DI(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],Dt=t[I][O].subscribe(i),ne=d.length;d.push(i,Dt),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 kx(e=1){return vh(e)}function CI(e,t){let n=null,r=Im(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):wm(r,i))return o}return n}function Px(e){let t=v()[ce][te];if(!t.projection){let n=e?e.length:1,r=t.projection=kp(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?CI(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function Lx(e,t=0,n,r,o,i){let s=v(),a=R(),c=r?e+1:null;c!==null&&_n(s,a,c,r,o,i,null,n);let l=Kt(a,L+e,16,null,n||null);l.projection===null&&(l.projection=t),Qs();let d=!s[Ht]||Yl();s[ce][te].projection[l.projection]===null&&c!==null?MI(s,a,c):d&&(l.flags&32)!==32&&um(a,s,l)}function MI(e,t,n){let r=L+n,o=t.data[r],i=e[r],s=$t(i,o.tView.ssrId),a=Xt(e,o,void 0,{dehydratedView:s});en(i,a,0,pt(o,s))}function _I(e,t,n){return lf(e,"",t,"",n),_I}function lf(e,t,n,r,o){let i=v(),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 xI(e,t,n,r,o,i,s){let a=v(),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 xI}function TI(e,t,n,r,o,i,s,a,c){let l=v(),u=kv(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 TI}function Fx(e,t,n,r){Nd(e,t,n,r)}function jx(e){let t=v(),n=R(),r=Zs();ho(r+1);let o=Da(n,r);if(e.dirty&&nh(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 Vx(){return Ea(v(),Zs())}function Hx(e,t,n,r,o){kd(t,Nd(e,n,r,o))}function Bx(e,t,n,r){kd(e,Ly(t,n,r))}function $x(e=1){ho(Zs()+e)}function NI(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function Ux(e){let t=dh();return Us(t,L+e)}function qx(e,t=""){let n=v(),r=R(),o=e+L,i=r.firstCreatePass?Kt(r,o,1,t,null):r.data[o],s=SI(r,n,i,t,e);n[o]=s,go()&&_o(r,n,s,i),vt(i,!1)}var SI=(e,t,n,r,o)=>(mo(!0),Yg(t[P],r));function OI(e){return uf("",e,""),OI}function uf(e,t,n){let r=v(),o=Ud(r,e,t,n);return o!==z&&gd(r,Oe(),o),uf}function AI(e,t,n,r,o){let i=v(),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=v(),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 Wx(e,t){let n=Rd(e);return n&&e.set(t),n}function kI(e,t){let n=v(),r=R(),o=$();return cf(r,n,n[P],o,e,t),kI}function PI(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=v(),a=$(),c=Vt(e)?e:Y(e.provide),l=Ll(e),u=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(Vt(e)||!e.multi){let f=new dt(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=jI(o?FI:LI,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=df(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=Vt(t),i=Up(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 df(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 LI(e,t,n,r){return bs(this.multi,[])}function FI(e,t,n,r){let o=this.multi,i;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=ft(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 jI(e,t,n,r,o){let i=new dt(e,n,To);return i.multi=[],i.index=t,i.componentProviders=0,df(i,o,r&&!n),i}function zx(e,t=[]){return n=>{n.providersResolver=(r,o)=>PI(r,o?o(e):e,t)}}function Gx(e,t,n){let r=Gt()+e,o=v();return o[r]===z?ko(o,r,n?t.call(n):t()):iv(o,r)}function Qx(e,t,n,r){return ff(v(),Gt(),e,t,n,r)}function Zx(e,t,n,r,o){return pf(v(),Gt(),e,t,n,r,o)}function Yx(e,t,n,r,o,i,s){return VI(v(),Gt(),e,t,n,r,o,i,s)}function Ca(e,t){let n=e[t];return n===z?void 0:n}function ff(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 pf(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 VI(e,t,n,r,o,i,s,a,c){let l=t+n;return av(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 Jx(e,t){let n=R(),r,o=e+L;n.firstCreatePass?(r=HI(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=it(r.type,!0)),s,a=X(To);try{let c=kr(!1),l=i();return kr(c),NI(n,v(),o,l),l}finally{X(a)}}function HI(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function Kx(e,t,n){let r=e+L,o=v(),i=Us(o,r);return hf(o,r)?ff(o,Gt(),t,i.transform,n,i):i.transform(n)}function Xx(e,t,n,r){let o=e+L,i=v(),s=Us(i,o);return hf(i,o)?pf(i,Gt(),t,s.transform,n,r,s):s.transform(n,r)}function hf(e,t){return e[m].data[t].pure}function eT(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}},tT=(()=>{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 gt(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 BI=(()=>{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 $I({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new ae(oe(re({},UI()),{scheduleInRootZone:n})),[{provide:ae,useFactory:e},{provide:_r,multi:!0,useFactory:()=>{let r=x(BI,{optional:!0});return()=>r.initialize()}},{provide:_r,multi:!0,useFactory:()=>{let r=x(qI);return()=>{r.initialize()}}},t===!0?{provide:Iu,useValue:!0}:[],{provide:ea,useValue:n??vu}]}function UI(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var qI=(()=>{class e{subscription=new B;initialized=!1;zone=x(ae);pendingTasks=x(Zt);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 gf=(()=>{class e{appRef=x(Po);taskService=x(Zt);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 nT(){return be("NgZoneless"),jp([{provide:qe,useExisting:gf},{provide:ae,useClass:jr},{provide:Xs,useValue:!0},{provide:ea,useValue:!1},[]])}function WI(){return typeof $localize<"u"&&$localize.locale||to}var mf=new S("",{providedIn:"root",factory:()=>x(mf,T.Optional|T.SkipSelf)||WI()}),rT=new S("",{providedIn:"root",factory:()=>vI});var Ms=new S("");function hr(e){return!e.moduleRef}function zI(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 xv(r,n,()=>{let i=t.get(Bd);return i.runInitializers(),i.donePromise.then(()=>{let s=t.get(mf,to);if(EI(s||to),hr(e)){let a=t.get(Po);return e.rootComponent!==void 0&&a.bootstrap(e.rootComponent),a}else return GI(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function GI(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 QI(e=[],t){return Ue.create({name:t,providers:[{provide:Pl,useValue:"platform"},{provide:Ms,useValue:new Set([()=>wr=null])},...e]})}function ZI(e=[]){if(wr)return wr;let t=QI(e);return wr=t,Cv(),YI(t),t}function YI(e){let t=e.get(Jh,null);Fl(e,()=>{t?.forEach(n=>n())})}var JI=(()=>{class e{static __NG_ELEMENT_ID__=KI}return e})();function KI(e){return XI($(),v(),(e&16)===16)}function XI(e,t,n){if(lo(e)&&!n){let r=Qe(e.index,t);return new ht(r,r)}else if(e.type&175){let r=t[ce];return new ht(r,t)}return null}var _s=class{constructor(){}supports(t){return Vd(t)}create(t){return new xs(t)}},eE=(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||eE}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,ov(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 tE([new _s])}var tE=(()=>{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 nE([new Ss])}var nE=(()=>{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 oT(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=ZI(r),i=[$I({}),{provide:qe,useExisting:gf},...n||[]],s=new Yr({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1});return zI({r3Injector:s.injector,platformInjector:o,rootComponent:t})}catch(t){return Promise.reject(t)}}function iT(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function sT(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function aT(e,t){be("NgSignals");let n=ii(e);return t?.equal&&(n[q].equal=t.equal),n}function cT(e){let t=D(null);try{return e()}finally{D(t)}}var yf=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=rE}return e})();function rE(){return new yf(v(),$())}var oE=!1,iE=(()=>{class e extends Jr{pendingTasks=x(Zt);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 sE(){}function aE(e,t){be("NgSignals"),!t?.injector&&Bs(sE);let n=t?.injector??x(Ue),r=t?.manualCleanup!==!0?n.get(Qt):null,o=new Rs(n.get(iE),e,typeof Zone>"u"?null:Zone.current,r,n,t?.allowSignalWrites??!1),i=n.get(JI,null,{optional:!0});return!i||!(i._lView[y]&8)?o.watcher.notify():(i._lView[mr]??=[]).push(o.watcher.notify),o}var cE=oE;var ks=class{[q];constructor(t){this[q]=t}destroy(){this[q].destroy()}};function lE(e,t){if(cE)return aE(e,t);be("NgSignals"),!t?.injector&&Bs(lE);let n=t?.injector??x(Ue),r=t?.manualCleanup!==!0?n.get(Qt):null,o,i=n.get(yf,null,{optional:!0}),s=n.get(qe);return i!==null&&!t?.forceRoot?(o=fE(i.view,s,e),r instanceof Lr&&r._lView===i.view&&(r=null)):o=pE(e,n.get($d),s),o.injector=n,r!==null&&(o.onDestroyFn=r.onDestroy(()=>o.destroy())),new ks(o)}var vf=oe(re({},tt),{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=Tt(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=[]}}}),uE=oe(re({},vf),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(13)},destroy(){Nt(this),this.onDestroyFn(),this.maybeCleanup()}}),dE=oe(re({},vf),{consumerMarkedDirty(){this.view[y]|=8192,An(this.view),this.notifier.notify(14)},destroy(){Nt(this),this.onDestroyFn(),this.maybeCleanup(),this.view[at]?.delete(this)}});function fE(e,t,n){let r=Object.create(dE);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=n,e[at]??=new Set,e[at].add(r),r.consumerMarkedDirty(r),r}function pE(e,t,n){let r=Object.create(uE);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 lT(e,t){let n=De(e),r=t.elementInjector||ao();return new gt(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector)}function uT(e){let t=De(e);if(!t)return null;let n=new gt(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,Ef as c,N as d,Wo as e,zo as f,de as g,rn as h,an as i,Je as j,Re as k,Rf as l,kf as m,Pf as n,Xe as o,ye as p,Uf as q,et as r,Go as s,nr as t,Wf as u,Kf as v,on as w,ep as x,Qo as y,zf as z,sn as A,rr as B,Gf as C,tp as D,Qa as E,Za as F,Zo as G,Zf as H,Yf as I,rp as J,Ja as K,Ka as L,Jf as M,Xa as N,w as O,ie as P,Il as Q,H as R,j_ as S,V_ as T,S as U,T as V,He as W,x as X,xl as Y,Tl as Z,jp as _,Pl as $,Me as aa,Fl as ba,Bs as ca,H_ as da,B_ as ea,$_ as fa,U_ as ga,q_ as ha,W_ as ia,Ue as ja,Qt as ka,Zt as la,Fe as ma,ae as na,We as oa,Vr as pa,z_ as qa,G_ as ra,vo as sa,Q_ as ta,Z_ as ua,Jh as va,Y_ as wa,J_ as xa,Kh as ya,K_ as za,be as Aa,sg as Ba,bn as Ca,Jt as Da,ia as Ea,X_ as Fa,ex as Ga,tx as Ha,nx as Ia,rx as Ja,Fu as Ka,Hg as La,Co as Ma,ox as Na,$g as Oa,ix as Pa,Ki as Qa,sx as Ra,To as Sa,ax as Ta,Ur as Ua,Wr as Va,ux as Wa,Ia as Xa,Vy as Ya,Hy as Za,fx as _a,px as $a,hx as ab,mt as bb,ds as cb,gx as db,Ld as eb,mx as fb,yx as gb,vx as hb,Ix as ib,Ky as jb,Ex as kb,uv as lb,Dx as mb,Hd as nb,Dv as ob,wv as pb,bv as qb,Po as rb,wx as sb,bx as tb,Rv as ub,Gv as vb,Qv as wb,Zv as xb,Cx as yb,Mx as zb,_x as Ab,xx as Bb,Tx as Cb,Nx as Db,nf as Eb,rf as Fb,uI as Gb,of as Hb,sf as Ib,pI as Jb,Sx as Kb,Ox as Lb,af as Mb,Ax as Nb,Rx as Ob,Tn as Pb,wI as Qb,kx as Rb,Px as Sb,Lx as Tb,_I as Ub,xI as Vb,TI as Wb,Fx as Xb,jx as Yb,Vx as Zb,Hx as _b,Bx as $b,$x as ac,Ux as bc,qx as cc,OI as dc,uf as ec,AI as fc,RI as gc,Wx as hc,kI as ic,zx as jc,Gx as kc,Qx as lc,Zx as mc,Yx as nc,Jx as oc,Kx as pc,Xx as qc,eT as rc,dl as sc,tT as tc,nT as uc,mf as vc,rT as wc,JI as xc,tE as yc,nE as zc,oT as Ac,iT as Bc,sT as Cc,aT as Dc,cT as Ec,lE as Fc,lT as Gc,uT as Hc};
@@ -0,0 +1 @@
1
+ import{$ as aa,A as B,Aa as Ba,B as C,Ba as Ca,C as D,Ca as Da,D as E,Da as Ea,E as F,Ea as Fa,F as G,Fa as Ga,G as H,Ga as Ha,H as I,Ha as Ia,I as J,Ia as Ja,J as K,Ja as Ka,K as L,Ka as La,L as M,La as Ma,M as N,Ma as Na,N as O,Na as Oa,O as P,Oa as Pa,P as Q,Q as R,R as S,S as T,T as U,U as V,V as W,W as X,X as Y,Y as Z,Z as _,_ as $,a as b,aa as ba,b as c,ba as ca,c as d,ca as da,d as e,da as ea,e as f,ea as fa,f as g,fa as ga,g as h,ga as ha,h as i,ha as ia,i as j,ia as ja,j as k,ja as ka,k as l,ka as la,l as m,la as ma,m as n,ma as na,n as o,na as oa,o as p,oa as pa,p as q,pa as qa,q as r,qa as ra,r as s,ra as sa,s as t,sa as ta,t as u,ta as ua,u as v,ua as va,v as w,va as wa,w as x,wa as xa,x as y,xa as ya,y as z,ya as za,z as A,za as Aa}from"./chunk-DESW2TCQ.js";import{za as a}from"./chunk-RJDP2FPE.js";import"./chunk-7CGTOI24.js";export{l as APP_BASE_HREF,ka as AsyncPipe,i as BrowserPlatformLocation,za as CommonModule,xa as CurrencyPipe,pa as DATE_PIPE_DEFAULT_OPTIONS,oa as DATE_PIPE_DEFAULT_TIMEZONE,f as DOCUMENT,qa as DatePipe,va as DecimalPipe,r as FormStyle,t as FormatWidth,n as HashLocationStrategy,ra as I18nPluralPipe,sa as I18nSelectPipe,a as IMAGE_CONFIG,Ia as IMAGE_LOADER,ta as JsonPipe,ua as KeyValuePipe,h as LOCATION_INITIALIZED,o as Location,k as LocationStrategy,la as LowerCasePipe,Z as NgClass,_ as NgComponentOutlet,aa as NgFor,aa as NgForOf,$ as NgForOfContext,ba as NgIf,ca as NgIfContext,W as NgLocaleLocalization,V as NgLocalization,Pa as NgOptimizedImage,ga as NgPlural,ha as NgPluralCase,ia as NgStyle,da as NgSwitch,ea as NgSwitchCase,fa as NgSwitchDefault,ja as NgTemplateOutlet,p as NumberFormatStyle,u as NumberSymbol,Oa as PRECONNECT_CHECK_BLOCKLIST,m as PathLocationStrategy,wa as PercentPipe,g as PlatformLocation,q as Plural,ya as SlicePipe,ma as TitleCasePipe,s as TranslationWidth,na as UpperCasePipe,Ea as VERSION,Fa as ViewportScroller,v as WeekDay,Ha as XhrFactory,S as formatCurrency,R as formatDate,U as formatNumber,T as formatPercent,P as getCurrencySymbol,K as getLocaleCurrencyCode,J as getLocaleCurrencyName,I as getLocaleCurrencySymbol,D as getLocaleDateFormat,F as getLocaleDateTimeFormat,y as getLocaleDayNames,x as getLocaleDayPeriods,O as getLocaleDirection,A as getLocaleEraNames,M as getLocaleExtraDayPeriodRules,N as getLocaleExtraDayPeriods,B as getLocaleFirstDayOfWeek,w as getLocaleId,z as getLocaleMonthNames,H as getLocaleNumberFormat,G as getLocaleNumberSymbol,L as getLocalePluralCase,E as getLocaleTimeFormat,C as getLocaleWeekEndRange,Q as getNumberOfCurrencyDigits,Ca as isPlatformBrowser,Da as isPlatformServer,Ja as provideCloudflareLoader,Ka as provideCloudinaryLoader,La as provideImageKitLoader,Ma as provideImgixLoader,Na as provideNetlifyLoader,X as registerLocaleData,d as \u0275DomAdapter,Ga as \u0275NullViewportScroller,Aa as \u0275PLATFORM_BROWSER_ID,Ba as \u0275PLATFORM_SERVER_ID,e as \u0275PlatformNavigation,b as \u0275getDOM,j as \u0275normalizeQueryParams,Y as \u0275parseCookieValue,c as \u0275setRootDomAdapter};
@@ -0,0 +1 @@
1
+ import{b as h}from"./chunk-ZVT4YXH5.js";import{a as v}from"./chunk-BVTTY2FQ.js";import"./chunk-4Y76KESB.js";import{sa as C}from"./chunk-DESW2TCQ.js";import{Bb as l,Cb as m,Db as g,Eb as i,Fb as p,Ra as n,X as s,cc as a,dc as d,fb as c,oc as f,pc as u}from"./chunk-RJDP2FPE.js";import"./chunk-7CGTOI24.js";function L(t,o){if(t&1&&(i(0,"pre",0),a(1),f(2,"json"),p()),t&2){let e=o.$implicit;n(),d(u(2,1,e))}}var r=class t{#e=s(v);logs=h(this.#e.getApiV1LogdataLog());static \u0275fac=function(e){return new(e||t)};static \u0275cmp=c({type:t,selectors:[["app-logs"]],decls:4,vars:0,consts:[[2,"white-space","wrap"]],template:function(e,y){e&1&&(i(0,"h3"),a(1,"Logs"),p(),m(2,L,3,3,"pre",0,l)),e&2&&(n(2),g(y.logs()))},dependencies:[C],styles:["[_nghost-%COMP%]{display:block}h3[_ngcontent-%COMP%]{font:var(--title-30)}"],changeDetection:0})};export{r as default};
@@ -1 +1 @@
1
- import{a}from"./chunk-67F45CIQ.js";import{Q as s,W as i,Xa as e,rc as r}from"./chunk-ANRVMVA2.js";var o=class t{#t=i(a);#a=this.#t.getItemParsed("darkTheme",!0);#e=e(!1);#s=e(window?.innerWidth<=768);#i=e(!1);isDarkMode=this.#e.asReadonly();isMobile=this.#s.asReadonly();isNavOpen=this.#i.asReadonly();constructor(){window.matchMedia("(prefers-color-scheme:dark)").matches&&this.#a&&this.setDarkMode(),r(()=>{this.#e()?document.body.classList.add("dark"):document.body.classList.remove("dark")})}ngOnInit(){window.addEventListener("resize",this.#r)}toggleNav(){this.#i.set(!this.isNavOpen())}toggleBodyClass(){this.#t.setItemParsed("darkTheme",!this.isDarkMode(),!0),this.#e.set(!this.isDarkMode())}setDarkMode(){this.#t.setItemParsed("darkTheme",!0,!0),this.#e.set(!0)}setLightMode(){this.#t.setItemParsed("darkTheme",!1,!0),this.#e.set(!1)}#r(){this.#s.set(window.innerWidth<=768)}ngOnDestroy(){window.removeEventListener("resize",this.#r)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=s({token:t,factory:t.\u0275fac,providedIn:"root"})};export{o as a};
1
+ import{a}from"./chunk-ZAREJJZA.js";import{Fc as r,R as s,X as i,Za as e}from"./chunk-RJDP2FPE.js";var o=class t{#t=i(a);#a=this.#t.getItemParsed("darkTheme",!0);#e=e(!1);#s=e(window?.innerWidth<=768);#i=e(!1);isDarkMode=this.#e.asReadonly();isMobile=this.#s.asReadonly();isNavOpen=this.#i.asReadonly();constructor(){window.matchMedia("(prefers-color-scheme:dark)").matches&&this.#a&&this.setDarkMode(),r(()=>{this.#e()?document.body.classList.add("dark"):document.body.classList.remove("dark")})}ngOnInit(){window.addEventListener("resize",this.#r)}toggleNav(){this.#i.set(!this.isNavOpen())}toggleBodyClass(){this.#t.setItemParsed("darkTheme",!this.isDarkMode(),!0),this.#e.set(!this.isDarkMode())}setDarkMode(){this.#t.setItemParsed("darkTheme",!0,!0),this.#e.set(!0)}setLightMode(){this.#t.setItemParsed("darkTheme",!1,!0),this.#e.set(!1)}#r(){this.#s.set(window.innerWidth<=768)}ngOnDestroy(){window.removeEventListener("resize",this.#r)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=s({token:t,factory:t.\u0275fac,providedIn:"root"})};export{o as a};
@@ -0,0 +1 @@
1
+ import{b as p}from"./chunk-ZVT4YXH5.js";import{a as f}from"./chunk-BVTTY2FQ.js";import{Dc as l,E as s,N as i,R as n,X as a,Za as o}from"./chunk-RJDP2FPE.js";var m=class t{#e=a(f);isLoaded=o(!1);systemInfo=o(null);filterGroups=p(this.#e.getApiV1SysteminfoFiltergroups());backendModules=l(()=>this.systemInfo()?.BackendModules??[]);preload(r=!1){let e=this.#e.getApiV1Systeminfo().pipe(i(c=>this.systemInfo.set(c)),s(()=>this.isLoaded.set(!0)));if(r)return e;e.subscribe()}static \u0275fac=function(e){return new(e||t)};static \u0275prov=n({token:t,factory:t.\u0275fac,providedIn:"root"})};export{m as a};
@@ -0,0 +1 @@
1
+ import{g as p}from"./chunk-QL753AWG.js";import{L as m,Y as s,Z as l}from"./chunk-PD6257G7.js";import"./chunk-B7SRENJI.js";import"./chunk-4Y76KESB.js";import"./chunk-DESW2TCQ.js";import{Eb as e,Fb as t,Gb as u,cc as n,fb as a}from"./chunk-RJDP2FPE.js";import"./chunk-7CGTOI24.js";var i=class r{static \u0275fac=function(o){return new(o||r)};static \u0275cmp=a({type:r,selectors:[["app-about"]],decls:13,vars:0,consts:[[1,"nav"],["spk-button","","routerLink","/about/general","routerLinkActive","primary",1,"raised"],["spk-button","","routerLink","/about/changelog","routerLinkActive","primary",1,"raised"],["spk-button","","routerLink","/about/libraries","routerLinkActive","primary",1,"raised"],["spk-button","","routerLink","/about/system-info","routerLinkActive","primary",1,"raised"],["spk-button","","routerLink","/about/logs","routerLinkActive","primary",1,"raised"]],template:function(o,d){o&1&&(e(0,"div",0)(1,"button",1),n(2,"General"),t(),e(3,"button",2),n(4,"Changelog"),t(),e(5,"button",3),n(6,"Libraries"),t(),e(7,"button",4),n(8,"System info"),t(),e(9,"button",5),n(10,"Logs"),t()(),e(11,"section"),u(12,"router-outlet"),t())},dependencies:[p,m,s,l],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;gap:0;padding:2.5rem}.nav[_ngcontent-%COMP%]{display:flex;gap:.5rem}section[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:2rem 0}"],changeDetection:0})};export{i as default};
@@ -0,0 +1 @@
1
+ import{a as b}from"./chunk-L7M2MTRL.js";import{b as y,c as v,d as w,e as S,h as F,l as L,o as _,r as N,t as k}from"./chunk-6TFXXYVK.js";import"./chunk-ZAREJJZA.js";import"./chunk-BVTTY2FQ.js";import{a as x,g as D,k as M}from"./chunk-QL753AWG.js";import{X as h}from"./chunk-PD6257G7.js";import"./chunk-B7SRENJI.js";import"./chunk-4Y76KESB.js";import"./chunk-DESW2TCQ.js";import{E as l,Eb as e,Fb as r,Gb as d,Qb as C,Ra as p,X as n,Za as u,cc as s,fb as c,vb as g,xb as f}from"./chunk-RJDP2FPE.js";import"./chunk-7CGTOI24.js";var P=new N,a=class m{#e=n(h);#t=n(b);isLoading=u(!1);loginForm=P.group({pass:P.control("",v.required)});submit(){let t=this.loginForm.value.pass;t&&(this.isLoading.set(!0),this.#t.login(t).pipe(l(()=>this.isLoading.set(!1))).subscribe({next:()=>this.#e.navigate(["/"])}))}static \u0275fac=function(o){return new(o||m)};static \u0275cmp=c({type:m,selectors:[["app-login"]],decls:8,vars:3,consts:[[3,"submit","formGroup"],[1,"login-row"],["type","password","autocomplete","current-password","placeholder","Enter your password","tabindex","1","formControlName","pass"],["spk-button","","type","submit",1,"raised","primary"]],template:function(o,i){o&1&&(e(0,"form",0),C("submit",function(){return i.submit()}),e(1,"div",1)(2,"spk-form-field"),d(3,"input",2),r(),e(4,"button",3),s(5," Login "),e(6,"spk-icon"),s(7,"arrow-right"),r()()()()),o&2&&(g("formGroup",i.loginForm),p(4),f("loader",i.isLoading()))},dependencies:[k,F,y,w,S,L,_,M,x,D],styles:["[_nghost-%COMP%]{display:block}form[_ngcontent-%COMP%]{width:100vw;min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1.5rem}h3[_ngcontent-%COMP%]{font:var(--title-30)}.login-row[_ngcontent-%COMP%]{display:flex;align-items:flex-end;gap:.5rem}"],changeDetection:0})};export{a as default};
@@ -0,0 +1 @@
1
+ import{a as o}from"./chunk-AIQQJSGP.js";import{X as i,ib as s}from"./chunk-RJDP2FPE.js";import"./chunk-7CGTOI24.js";var p=class r{#t=i(o);transform(t,...e){if(!t)return"";let n=t.split(".")[0],a=parseInt(n.split(":")[0])??0,m=parseInt(n.split(":")[1])??0,u=parseInt(n.split(":")[2])??0;return this.#t.duration({hours:a,minutes:m,seconds:u}).humanize()}static \u0275fac=function(e){return new(e||r)};static \u0275pipe=s({name:"durationFormat",type:r,pure:!0})};export{p as DurationFormatPipe};
@@ -0,0 +1 @@
1
+ import"./chunk-7CGTOI24.js";var o=[{path:"",redirectTo:"general",pathMatch:"full"},{path:"general",loadComponent:()=>import("./chunk-CGWELGPM.js")},{path:"destination",loadComponent:()=>import("./chunk-QNP3LI3Y.js")},{path:"source-data",loadComponent:()=>import("./chunk-MHCUWVA2.js")},{path:"schedule",loadComponent:()=>import("./chunk-EPVXOSHI.js")},{path:"options",loadComponent:()=>import("./chunk-DOGZZDWG.js")}];export{o as default};
@@ -0,0 +1 @@
1
+ import{a as b,b as W}from"./chunk-DNHLTHLR.js";import{b as D}from"./chunk-ZVT4YXH5.js";import{a as R,b as j,c as x,d as M,e as O,h as A,l as I,o as L,r as V,t as $}from"./chunk-6TFXXYVK.js";import{a as Q}from"./chunk-2SYB6ABM.js";import{a as N}from"./chunk-BVTTY2FQ.js";import{a as G,f as U,g as q,k as z,t as H}from"./chunk-QL753AWG.js";import{H as B,X as P,Y as T}from"./chunk-PD6257G7.js";import"./chunk-B7SRENJI.js";import{c as F}from"./chunk-4Y76KESB.js";import"./chunk-DESW2TCQ.js";import{Ab as E,Dc as h,E as g,Eb as r,Fb as n,Gb as l,L as w,Qb as f,Ra as a,X as s,Za as d,cc as i,fb as C,fc as v,kc as _,lb as S,vb as k,xb as u}from"./chunk-RJDP2FPE.js";import"./chunk-7CGTOI24.js";var X=()=>["/"];function Y(c,e){c&1&&(r(0,"spk-form-field")(1,"label",9),i(2,"Password"),n(),l(3,"input",10),n(),r(4,"spk-form-field")(5,"label",11),i(6,"Repeat password"),n(),l(7,"input",12),n())}var m=new V,y=class c{#t=s(N);#e=s(B);#o=s(P);#n=s(F);#i=s(Q);isExporting=d(!1);exportType=d("file");exportedCmd=d(null);exportForm=m.group({exportPasswords:m.control(!0),encryption:m.control(!1,[x.required,W()]),password:m.control("",[b(e=>e?.value.encryption,[x.required])]),repeatPassword:m.control("",[b(e=>e?.value.encryption,[x.required])])});exportFormSignal=D(this.exportForm.valueChanges);encryptionFieldSignal=h(()=>this.exportFormSignal()?.encryption??!1);activeBackup=h(()=>this.#i.backups().find(e=>e.Backup?.ID===this.#e.snapshot.params.id));submit(){this.isExporting.set(!0),this.exportType()==="file"?this.#t.postApiV1AuthIssuetokenByOperation({operation:"export"}).pipe(w(e=>{let p=o=>{let t=Object.entries(o);return t?"?"+t.map(([J,K])=>`${J}=${K}`).join("&"):""};return this.#n.get(`/api/v1/backup/${this.#e.snapshot.params.id}/export${p({exportPasswords:this.exportFormSignal()?.exportPasswords??void 0,passphrase:this.exportFormSignal()?.password??void 0,token:e.Token})}`,{responseType:"blob"})}),g(()=>this.isExporting.set(!1))).subscribe({next:e=>{let o=this.activeBackup()?.Backup?.Name??"Backup",t=this.exportFormSignal()?.encryption?"aes":"json";this.downloadFile(e,`${o}.${t}`),this.#o.navigate(["/"])},error:e=>{console.log("err",e)}}):this.#t.getApiV1BackupByIdExportCmdline({id:this.#e.snapshot.params.id,exportPasswords:this.exportFormSignal()?.exportPasswords??void 0,passphrase:this.exportFormSignal()?.password??void 0}).pipe(g(()=>this.isExporting.set(!1))).subscribe({next:e=>{console.log("res",e),this.exportedCmd.set(e.Command??null)},error:e=>{console.log("err",e)}})}downloadFile(e,p){let o=window.URL.createObjectURL(e),t=document.createElement("a");t.href=o,t.download=p,t.click(),window.URL.revokeObjectURL(o)}static \u0275fac=function(p){return new(p||c)};static \u0275cmp=C({type:c,selectors:[["app-export"]],decls:31,vars:12,consts:[[1,"actions"],["spk-button","",1,"outlined",3,"routerLink"],["spk-button","",1,"raised","primary",3,"click"],["autocomplete","off",3,"formGroup"],["type","button",3,"click"],[1,"raised","primary"],["type","checkbox","formControlName","exportPasswords"],[1,"primary","raised"],["type","checkbox","formControlName","encryption"],["for","password"],["type","password","id","password","formControlName","password"],["for","repeatPassword"],["type","password","id","repeatPassword","formControlName","repeatPassword"]],template:function(p,o){if(p&1&&(r(0,"header")(1,"h3"),i(2," Export backup configuration "),r(3,"div",0)(4,"button",1)(5,"spk-icon"),i(6,"arrow-left"),n(),i(7," Back "),n(),r(8,"button",2),f("click",function(){return o.submit()}),r(9,"spk-icon"),i(10,"export"),n(),i(11," Export "),n()()(),r(12,"p"),i(13),n()(),r(14,"form",3)(15,"spk-button-group")(16,"button",4),f("click",function(){return o.exportType.set("cmd")}),r(17,"spk-icon"),i(18,"terminal-window"),n(),i(19," As command line "),n(),r(20,"button",4),f("click",function(){return o.exportType.set("file")}),r(21,"spk-icon"),i(22,"file"),n(),i(23," To file "),n()(),r(24,"spk-toggle",5),i(25," Export passwords "),l(26,"input",6),n(),r(27,"spk-toggle",7),i(28," Encrypt file "),l(29,"input",8),n(),S(30,Y,8,0),n()),p&2){let t;a(4),k("routerLink",_(11,X)),a(4),u("loading",o.isExporting()),a(5),v("#",(t=o.activeBackup())==null||t.Backup==null?null:t.Backup.ID,": ",(t=o.activeBackup())==null||t.Backup==null?null:t.Backup.Name,""),a(),k("formGroup",o.exportForm),a(2),u("active",o.exportType()==="cmd"),a(4),u("active",o.exportType()==="file"),a(10),E(o.encryptionFieldSignal()?30:-1)}},dependencies:[$,A,j,R,M,O,I,L,T,U,H,G,z,q],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;gap:2rem;padding:3rem}h3[_ngcontent-%COMP%]{font:var(--title-30);display:flex;align-items:center;justify-content:space-between}.actions[_ngcontent-%COMP%]{display:flex;gap:.5rem}form[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1.5rem;max-width:31.25rem}"],changeDetection:0})};export{y as default};
@@ -0,0 +1 @@
1
+ import{a as y}from"./chunk-TLFDZKKI.js";import"./chunk-ZVT4YXH5.js";import"./chunk-BVTTY2FQ.js";import"./chunk-4Y76KESB.js";import{sa as l}from"./chunk-DESW2TCQ.js";import{Eb as t,Fb as n,Ra as p,X as m,cc as o,dc as f,fb as a,oc as c,pc as r}from"./chunk-RJDP2FPE.js";import"./chunk-7CGTOI24.js";var i=class s{#e=m(y);systemInfo=this.#e.systemInfo;static \u0275fac=function(e){return new(e||s)};static \u0275cmp=a({type:s,selectors:[["app-system-info"]],decls:5,vars:3,template:function(e,C){e&1&&(t(0,"h3"),o(1,"System info"),n(),t(2,"pre"),o(3),c(4,"json"),n()),e&2&&(p(3),f(r(4,1,C.systemInfo())))},dependencies:[l],styles:["[_nghost-%COMP%]{display:block}h3[_ngcontent-%COMP%]{font:var(--title-30)}"],changeDetection:0})};export{i as default};
@@ -0,0 +1 @@
1
+ import{a,b}from"./chunk-FWNXTY54.js";import"./chunk-D2HTMQIW.js";import"./chunk-2PUTRWRI.js";import"./chunk-TLFDZKKI.js";import"./chunk-ZVT4YXH5.js";import"./chunk-6TFXXYVK.js";import"./chunk-BVTTY2FQ.js";import"./chunk-QL753AWG.js";import"./chunk-PD6257G7.js";import"./chunk-B7SRENJI.js";import"./chunk-4Y76KESB.js";import"./chunk-DESW2TCQ.js";import"./chunk-RJDP2FPE.js";import"./chunk-7CGTOI24.js";export{a as createRestoreOptionsForm,b as default};
@@ -0,0 +1 @@
1
+ import{n as k}from"./chunk-C5O62M3L.js";import"./chunk-2PUTRWRI.js";import"./chunk-DNHLTHLR.js";import"./chunk-TLFDZKKI.js";import{b as l}from"./chunk-ZVT4YXH5.js";import"./chunk-6TFXXYVK.js";import{a as P}from"./chunk-LUAN4O53.js";import{a as O}from"./chunk-2SYB6ABM.js";import{a as F}from"./chunk-BVTTY2FQ.js";import{n as L,o as I,s as T}from"./chunk-QL753AWG.js";import{H as D,L as C,Y as y,Z as _}from"./chunk-PD6257G7.js";import"./chunk-B7SRENJI.js";import"./chunk-4Y76KESB.js";import"./chunk-DESW2TCQ.js";import"./chunk-AIQQJSGP.js";import{Ab as S,B as h,Eb as p,Fb as s,Fc as B,Gb as o,Ra as r,X as m,cc as u,fb as b,jc as v,lb as g,mc as d,vb as c}from"./chunk-RJDP2FPE.js";import"./chunk-7CGTOI24.js";var R=(t,e)=>[t,e,"general"],E=(t,e)=>[t,e,"destination"],w=(t,e)=>[t,e,"source-data"],x=(t,e)=>[t,e,"schedule"],A=(t,e)=>[t,e,"options"];function G(t,e){t&1&&o(0,"spk-progress-bar",1)}function j(t,e){t&1&&(p(0,"section"),o(1,"router-outlet"),s())}var f=class t{#t=m(D);#e=m(k);#a=m(O);#i=m(F);isDraft=this.#e.isDraft;backupId=this.#e.backupId;finishedLoading=this.#e.finishedLoading;#n=l(this.#t.params);#o=l(this.#t.url);paramsChanged=B(()=>{let e=this.#n()?.id,a=!!this.#o()?.find(i=>i.path==="backup-draft");this.#e.backupId.set(e),e!=="new"?this.getBackup(e,a):this.getDefaults()});getDefaults(){this.#i.getApiV1Backupdefaults().pipe(h(1)).subscribe({next:e=>{this.#e.mapScheduleToForm(e.Schedule),this.#e.mapOptionsToForms(e.Backup),this.#e.backupDefaults.set(e),this.#e.finishedLoading.set(!0)}})}getBackup(e,a=!1){let i=n=>{this.#e.mapScheduleToForm(n.Schedule??null),n.Backup&&(this.#e.mapGeneralToForm(n.Backup),this.#e.mapDestinationToForm(n.Backup),this.#e.mapSourceDataToForm(n.Backup),this.#e.mapOptionsToForms(n.Backup)),this.#e.finishedLoading.set(!0)};if(a){this.isDraft.set(a);let n=this.#a.draftBackups().find(M=>M.id===e);if(!n){alert("Backup not found");return}i(n.data)}else this.#i.getApiV1BackupById({id:e}).subscribe({next:i})}static \u0275fac=function(a){return new(a||t)};static \u0275cmp=b({type:t,selectors:[["app-backup"]],features:[v([k])],decls:20,vars:21,consts:[["step","","routerLinkActive","active",3,"routerLink"],[1,"indeterminate","primary"]],template:function(a,i){a&1&&(o(0,"app-status-bar"),p(1,"header")(2,"spk-stepper")(3,"div",0),o(4,"spk-radio"),u(5," General "),s(),p(6,"div",0),o(7,"spk-radio"),u(8," Destination "),s(),p(9,"div",0),o(10,"spk-radio"),u(11," Source Data "),s(),p(12,"div",0),o(13,"spk-radio"),u(14," Schedule "),s(),p(15,"div",0),o(16,"spk-radio"),u(17," Options "),s()()(),g(18,G,1,0,"spk-progress-bar",1)(19,j,2,0,"section")),a&2&&(r(3),c("routerLink",d(6,R,i.isDraft()?"/backup-draft":"/backup",i.backupId())),r(3),c("routerLink",d(9,E,i.isDraft()?"/backup-draft":"/backup",i.backupId())),r(3),c("routerLink",d(12,w,i.isDraft()?"/backup-draft":"/backup",i.backupId())),r(3),c("routerLink",d(15,x,i.isDraft()?"/backup-draft":"/backup",i.backupId())),r(3),c("routerLink",d(18,A,i.isDraft()?"/backup-draft":"/backup",i.backupId())),r(3),S(i.finishedLoading()?19:18))},dependencies:[C,y,_,P,I,T,L],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;height:100%}header[_ngcontent-%COMP%]{padding:1rem 1.5rem;border-bottom:1px solid var(--base-level-40)}header[_ngcontent-%COMP%] spk-stepper[_ngcontent-%COMP%]{width:100%}section[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:center;flex:1 0;overflow:hidden}"],changeDetection:0})};export{f as default};
@@ -0,0 +1 @@
1
+ import{Ba as s,Ca as r}from"./chunk-DESW2TCQ.js";import{R as l,X as a,wa as o}from"./chunk-RJDP2FPE.js";var n=class i{platformId=a(o);STORAGE_VERSION="v1";APP_NAME="duplicati";getItemParsed(t,e=!1){return r(this.platformId)?null:JSON.parse(localStorage.getItem(`${this.STORAGE_VERSION}:${e?"presist-duplicati":this.APP_NAME}:${t}`)??"null")}setItemParsed(t,e,m=!1){if(!r(this.platformId))return localStorage.setItem(`${this.STORAGE_VERSION}:${m?"presist-duplicati":this.APP_NAME}:${t}`,JSON.stringify(e))}get length(){return s(this.platformId)?localStorage.length:0}getItem(t){return r(this.platformId)?null:localStorage.getItem(`${this.STORAGE_VERSION}:${this.APP_NAME}:${t}`)??null}setItem(t,e){if(!r(this.platformId))return localStorage.setItem(`${this.STORAGE_VERSION}:${this.APP_NAME}:${t}`,e)}removeItem(t){r(this.platformId)||localStorage.removeItem(`${this.STORAGE_VERSION}:${this.APP_NAME}:${t}`)}clearAllNotCurrentVersion(){if(!r(this.platformId))for(var t in localStorage)t.startsWith(this.STORAGE_VERSION)||localStorage.removeItem(t)}clearAll(){r(this.platformId)||localStorage.clear()}clear(){if(!r(this.platformId))for(var t in localStorage)t.includes(this.APP_NAME)&&!t.includes(`presist-${this.APP_NAME}`)&&localStorage.removeItem(t)}key(t){return r(this.platformId)?null:localStorage.key(t)}static \u0275fac=function(e){return new(e||i)};static \u0275prov=l({token:i,factory:i.\u0275fac})};export{n as a};
@@ -0,0 +1 @@
1
+ import{Dc as p,Ec as f,Fc as g,O as a,X as l,Za as b,ca as d,i as v,ja as y,ka as i}from"./chunk-RJDP2FPE.js";function m(s,e){!e?.injector&&d(m);let n=e?.injector??l(y),o=new v(1),u=g(()=>{let t;try{t=s()}catch(c){f(()=>o.error(c));return}f(()=>o.next(t))},{injector:n,manualCleanup:!0});return n.get(i).onDestroy(()=>{u.destroy(),o.complete()}),o.asObservable()}function w(s,e){let n=!e?.manualCleanup;n&&!e?.injector&&d(w);let o=n?e?.injector?.get(i)??l(i):null,u=h(e?.equal),t;e?.requireSync?t=b({kind:0},{equal:u}):t=b({kind:1,value:e?.initialValue},{equal:u});let c=s.subscribe({next:r=>t.set({kind:1,value:r}),error:r=>{if(e?.rejectErrors)throw r;t.set({kind:2,error:r})}});if(e?.requireSync&&t().kind===0)throw new a(601,!1);return o?.onDestroy(c.unsubscribe.bind(c)),p(()=>{let r=t();switch(r.kind){case 1:return r.value;case 2:throw r.error;case 0:throw new a(601,!1)}},{equal:e?.equal})}function h(s=Object.is){return(e,n)=>e.kind===1&&n.kind===1&&s(e.value,n.value)}export{m as a,w as b};