@duplicati/ngclient 0.0.49 → 0.0.50

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 (97) hide show
  1. package/{chunk-BDFM44OC.js → chunk-2CM5UOT4.js} +1 -1
  2. package/chunk-2JNOYYQN.js +1 -0
  3. package/chunk-2UNV5KQ7.js +1 -0
  4. package/chunk-3RFC4Q5V.js +6 -0
  5. package/chunk-4765QCNT.js +1 -0
  6. package/chunk-5CNGSXWF.js +1 -0
  7. package/chunk-5FSG4VRJ.js +1 -0
  8. package/{chunk-AYGRA5MA.js → chunk-6XZQG7L7.js} +1 -1
  9. package/chunk-7PE677UQ.js +1 -0
  10. package/{chunk-GH3U5NF5.js → chunk-AAWGVWT3.js} +1 -1
  11. package/chunk-B5F2IYXZ.js +1 -0
  12. package/{chunk-DFNGIWBA.js → chunk-BCTCP5YZ.js} +1 -1
  13. package/{chunk-QJZQNKYK.js → chunk-BI7LIYF6.js} +1 -1
  14. package/chunk-CKTCGJPR.js +1 -0
  15. package/chunk-DV7N4NYO.js +1 -0
  16. package/{chunk-K5R45UNO.js → chunk-FALW4SDX.js} +1 -1
  17. package/{chunk-IBZEQWFY.js → chunk-FFD5RG7J.js} +1 -1
  18. package/{chunk-NUXXITWB.js → chunk-FH6MENLO.js} +1 -1
  19. package/chunk-FJKXE3RZ.js +1 -0
  20. package/chunk-FNBPWR4X.js +1 -0
  21. package/chunk-GGTAHZ6F.js +1 -0
  22. package/chunk-IE4GYLKI.js +1 -0
  23. package/chunk-JRYVI7GA.js +1 -0
  24. package/{chunk-ARPRGK23.js → chunk-JWC6WDAE.js} +1 -1
  25. package/chunk-LDPVZ7HY.js +1 -0
  26. package/chunk-LQL7UFPH.js +1 -0
  27. package/{chunk-JIBWXS4Q.js → chunk-MJJYBD2L.js} +1 -1
  28. package/chunk-MWCNA7Y5.js +1 -0
  29. package/chunk-N23IUXUM.js +1 -0
  30. package/chunk-NHACGZPI.js +7 -0
  31. package/chunk-O2HHDV6M.js +1 -0
  32. package/{chunk-7SHJPVM2.js → chunk-O47LGUY4.js} +1 -1
  33. package/chunk-OJUBI3TM.js +1 -0
  34. package/{chunk-BWR2LHUK.js → chunk-OXHL644M.js} +1 -1
  35. package/{chunk-ER3G3TZW.js → chunk-OYSDTWXA.js} +1 -1
  36. package/{chunk-XPH3GUDU.js → chunk-PG6H3R6N.js} +2 -2
  37. package/chunk-PJIG2CDP.js +1 -0
  38. package/{chunk-UUC5AIWR.js → chunk-PSJAIBCQ.js} +1 -1
  39. package/chunk-QTTCN7A7.js +1 -0
  40. package/chunk-QVBSCQE5.js +1 -0
  41. package/{chunk-NN3K5WJK.js → chunk-QXNJFFEM.js} +1 -1
  42. package/{chunk-BV3HBNH3.js → chunk-R6C4MOOH.js} +1 -1
  43. package/{chunk-YEWPXKXM.js → chunk-TFD4HD6F.js} +1 -1
  44. package/chunk-TICM6BU7.js +1 -0
  45. package/{chunk-5522ZDTF.js → chunk-TYEKJAUH.js} +1 -1
  46. package/chunk-U4SEXW7F.js +1 -0
  47. package/{chunk-JQGZUGRK.js → chunk-U5DDVNLJ.js} +1 -1
  48. package/{chunk-FSY6N6QG.js → chunk-UMMURHDH.js} +1 -1
  49. package/{chunk-BNGZWBKC.js → chunk-VCPYNGOK.js} +1 -1
  50. package/chunk-VJJVFTK5.js +1 -0
  51. package/chunk-VOVR4GPX.js +1 -0
  52. package/chunk-WDHZG25P.js +1 -0
  53. package/{chunk-YF43IPBW.js → chunk-WMC5H5UV.js} +1 -1
  54. package/chunk-WVBAR46B.js +1 -0
  55. package/{chunk-65UFWL3O.js → chunk-X566VMXX.js} +1 -1
  56. package/{chunk-AC2LD55W.js → chunk-XCS7POXG.js} +1 -1
  57. package/chunk-XMM537S7.js +1 -0
  58. package/chunk-XO6YTY63.js +3 -0
  59. package/chunk-YK6SXMBM.js +1 -0
  60. package/chunk-YWZWJHRE.js +6 -0
  61. package/chunk-Z7UXXM2M.js +1 -0
  62. package/index.html +1 -1
  63. package/main-XHR6OEX7.js +1 -0
  64. package/package.json +1 -1
  65. package/chunk-3IE7QZ4D.js +0 -1
  66. package/chunk-4LNZXSGY.js +0 -1
  67. package/chunk-4WKXZKTC.js +0 -1
  68. package/chunk-7WQR24NO.js +0 -1
  69. package/chunk-AZAFLOEO.js +0 -1
  70. package/chunk-C3UW4NQE.js +0 -1
  71. package/chunk-CQKRBELO.js +0 -6
  72. package/chunk-CVLCJRED.js +0 -1
  73. package/chunk-ECTOKXR2.js +0 -1
  74. package/chunk-EFYF3ZYK.js +0 -1
  75. package/chunk-FBAABDBH.js +0 -1
  76. package/chunk-JEGJAUF7.js +0 -1
  77. package/chunk-K3OQZAY7.js +0 -1
  78. package/chunk-K4T3G5Q5.js +0 -1
  79. package/chunk-KF4RPRBP.js +0 -1
  80. package/chunk-LM6FM44S.js +0 -1
  81. package/chunk-MN2U4RJK.js +0 -1
  82. package/chunk-NDIOU4E2.js +0 -1
  83. package/chunk-NIFWUYP5.js +0 -1
  84. package/chunk-OAL3AILX.js +0 -1
  85. package/chunk-PH3BZGB3.js +0 -1
  86. package/chunk-Q4N2YSBN.js +0 -1
  87. package/chunk-RHX2BKJQ.js +0 -1
  88. package/chunk-SGDMX5AW.js +0 -1
  89. package/chunk-SGEYZII6.js +0 -1
  90. package/chunk-STY2S4SE.js +0 -1
  91. package/chunk-UYXZTHXX.js +0 -7
  92. package/chunk-V2LDKRBK.js +0 -1
  93. package/chunk-VGGIIK26.js +0 -1
  94. package/chunk-XC5IIBG3.js +0 -1
  95. package/chunk-XEK5PR4Q.js +0 -1
  96. package/chunk-ZTJNIIQ7.js +0 -1
  97. package/main-VN6Z3X2U.js +0 -1
@@ -0,0 +1,7 @@
1
+ import{a as le,b as ue}from"./chunk-C6Q5SG76.js";function J(e){return e}function vp(...e){return Yo(e)}function Yo(e){return e.length===0?J:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}function D(e){return typeof e=="function"}function Nt(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var Yn=Nt(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
2
+ ${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
3
+ `)}`:"",this.name="UnsubscriptionError",this.errors=n});function sn(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var q=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(D(r))try{r()}catch(i){t=i instanceof Yn?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{ec(i)}catch(s){t=t??[],s instanceof Yn?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Yn(t)}}add(t){var n;if(t&&t!==this)if(this.closed)ec(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)&&sn(n,t)}remove(t){let{_finalizers:n}=this;n&&sn(n,t),t instanceof e&&t._removeParent(this)}};q.EMPTY=(()=>{let e=new q;return e.closed=!0,e})();var Jo=q.EMPTY;function Jn(e){return e instanceof q||e&&"closed"in e&&D(e.remove)&&D(e.add)&&D(e.unsubscribe)}function ec(e){D(e)?e():e.unsubscribe()}var ye={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var St={setTimeout(e,t,...n){let{delegate:r}=St;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=St;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Kn(e){St.setTimeout(()=>{let{onUnhandledError:t}=ye;if(t)t(e);else throw e})}function an(){}var tc=Ko("C",void 0,void 0);function nc(e){return Ko("E",void 0,e)}function rc(e){return Ko("N",e,void 0)}function Ko(e,t,n){return{kind:e,value:t,error:n}}var et=null;function Ot(e){if(ye.useDeprecatedSynchronousErrorHandling){let t=!et;if(t&&(et={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=et;if(et=null,n)throw r}}else e()}function oc(e){ye.useDeprecatedSynchronousErrorHandling&&et&&(et.errorThrown=!0,et.error=e)}var tt=class extends q{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Jn(t)&&t.add(this)):this.destination=Dp}static create(t,n,r){return new Ne(t,n,r)}next(t){this.isStopped?ei(rc(t),this):this._next(t)}error(t){this.isStopped?ei(nc(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?ei(tc,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()}}},Ip=Function.prototype.bind;function Xo(e,t){return Ip.call(e,t)}var ti=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Xn(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Xn(r)}else Xn(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Xn(n)}}},Ne=class extends tt{constructor(t,n,r){super();let o;if(D(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&ye.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Xo(t.next,i),error:t.error&&Xo(t.error,i),complete:t.complete&&Xo(t.complete,i)}):o=t}this.destination=new ti(o)}};function Xn(e){ye.useDeprecatedSynchronousErrorHandling?oc(e):Kn(e)}function Ep(e){throw e}function ei(e,t){let{onStoppedNotification:n}=ye;n&&St.setTimeout(()=>n(e,t))}var Dp={closed:!0,next:an,error:Ep,complete:an};var Rt=typeof Symbol=="function"&&Symbol.observable||"@@observable";var S=(()=>{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=bp(n)?n:new Ne(n,r,o);return Ot(()=>{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=ic(r),new r((o,i)=>{let s=new Ne({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[Rt](){return this}pipe(...n){return Yo(n)(this)}toPromise(n){return n=ic(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 ic(e){var t;return(t=e??ye.Promise)!==null&&t!==void 0?t:Promise}function wp(e){return e&&D(e.next)&&D(e.error)&&D(e.complete)}function bp(e){return e&&e instanceof tt||wp(e)&&Jn(e)}var sc=Nt(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var pe=(()=>{class e extends S{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new er(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new sc}next(n){Ot(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){Ot(()=>{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(){Ot(()=>{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?Jo:(this.currentObservers=null,i.push(n),new q(()=>{this.currentObservers=null,sn(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new S;return n.source=this,n}}return e.create=(t,n)=>new er(t,n),e})(),er=class extends pe{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:Jo}};function ac(e){return e&&D(e.schedule)}function cc(e){return e[e.length-1]}function At(e){return D(cc(e))?e.pop():void 0}function He(e){return ac(cc(e))?e.pop():void 0}function uc(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 lc(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 nt(e){return this instanceof nt?(this.v=e,this):new nt(e)}function dc(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(h){return Promise.resolve(h).then(f,d)}}function a(f,h){r[f]&&(o[f]=function(g){return new Promise(function(E,m){i.push([f,g,E,m])>1||c(f,g)})},h&&(o[f]=h(o[f])))}function c(f,h){try{l(r[f](h))}catch(g){p(i[0][3],g)}}function l(f){f.value instanceof nt?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 fc(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 lc=="function"?lc(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 tr=e=>e&&typeof e.length=="number"&&typeof e!="function";function nr(e){return D(e?.then)}function rr(e){return D(e[Rt])}function or(e){return Symbol.asyncIterator&&D(e?.[Symbol.asyncIterator])}function ir(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 Cp(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var sr=Cp();function ar(e){return D(e?.[sr])}function cr(e){return dc(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield nt(n.read());if(o)return yield nt(void 0);yield yield nt(r)}}finally{n.releaseLock()}})}function lr(e){return D(e?.getReader)}function P(e){if(e instanceof S)return e;if(e!=null){if(rr(e))return Mp(e);if(tr(e))return _p(e);if(nr(e))return xp(e);if(or(e))return pc(e);if(ar(e))return Tp(e);if(lr(e))return Np(e)}throw ir(e)}function Mp(e){return new S(t=>{let n=e[Rt]();if(D(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function _p(e){return new S(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function xp(e){return new S(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Kn)})}function Tp(e){return new S(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function pc(e){return new S(t=>{Sp(e,t).catch(n=>t.error(n))})}function Np(e){return pc(cr(e))}function Sp(e,t){var n,r,o,i;return uc(this,void 0,void 0,function*(){try{for(n=fc(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 oe(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 ni(e){return D(e?.lift)}function x(e){return t=>{if(ni(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function M(e,t,n,r,o){return new ri(e,t,n,r,o)}var ri=class extends tt{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 ur(e,t=0){return x((n,r)=>{n.subscribe(M(r,o=>oe(r,e,()=>r.next(o),t),()=>oe(r,e,()=>r.complete(),t),o=>oe(r,e,()=>r.error(o),t)))})}function dr(e,t=0){return x((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function hc(e,t){return P(e).pipe(dr(t),ur(t))}function gc(e,t){return P(e).pipe(dr(t),ur(t))}function mc(e,t){return new S(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function yc(e,t){return new S(n=>{let r;return oe(n,t,()=>{r=e[sr](),oe(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)}),()=>D(r?.return)&&r.return()})}function fr(e,t){if(!e)throw new Error("Iterable cannot be null");return new S(n=>{oe(n,t,()=>{let r=e[Symbol.asyncIterator]();oe(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function vc(e,t){return fr(cr(e),t)}function Ic(e,t){if(e!=null){if(rr(e))return hc(e,t);if(tr(e))return mc(e,t);if(nr(e))return gc(e,t);if(or(e))return fr(e,t);if(ar(e))return yc(e,t);if(lr(e))return vc(e,t)}throw ir(e)}function $e(e,t){return t?Ic(e,t):P(e)}function Op(...e){let t=He(e);return $e(e,t)}function be(e,t){return x((n,r)=>{let o=0;n.subscribe(M(r,i=>{r.next(e.call(t,i,o++))}))})}var rt=new S(e=>e.complete());function pr(e){return e<=0?()=>rt:x((t,n)=>{let r=0;t.subscribe(M(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Ec(e){return x((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Dc(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 E=!1;P(n(g,u++)).subscribe(M(t,m=>{o?.(m),i?f(m):t.next(m)},()=>{E=!0},void 0,()=>{if(E)try{for(l--;c.length&&l<r;){let m=c.shift();s?oe(t,s,()=>h(m)):h(m)}p()}catch(m){t.error(m)}}))};return e.subscribe(M(t,f,()=>{d=!0,p()})),()=>{a?.()}}function ot(e,t,n=1/0){return D(t)?ot((r,o)=>be((i,s)=>t(r,i,o,s))(P(e(r,o))),n):(typeof t=="number"&&(n=t),x((r,o)=>Dc(r,o,e,n)))}function oi(e=1/0){return ot(J,e)}function wc(){return oi(1)}function hr(...e){return wc()($e(e,He(e)))}function bc(...e){let t=He(e);return x((n,r)=>{(t?hr(e,n,t):hr(e,n)).subscribe(r)})}function Cc(e,t){return x((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(M(r,c=>{o?.unsubscribe();let l=0,u=i++;P(e(c,u)).subscribe(o=M(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function ii(){return x((e,t)=>{let n=null;e._refCount++;let r=M(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 si=class extends S{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,ni(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 q;let n=this.getSubject();t.add(this.source.subscribe(M(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=q.EMPTY)}return t}refCount(){return ii()(this)}};var cn=class extends pe{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 ai={now(){return(ai.delegate||Date).now()},delegate:void 0};var ln=class extends pe{constructor(t=1/0,n=1/0,r=ai){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 Rp(e,t){let n=D(e)?e:()=>e,r=o=>o.error(n());return new S(t?o=>t.schedule(r,0,o):r)}function Ap(e){return!!e&&(e instanceof S||D(e.lift)&&D(e.subscribe))}var it=Nt(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});var{isArray:kp}=Array;function Pp(e,t){return kp(t)?e(...t):e(t)}function gr(e){return be(t=>Pp(e,t))}var{isArray:Lp}=Array,{getPrototypeOf:Fp,prototype:jp,keys:Vp}=Object;function mr(e){if(e.length===1){let t=e[0];if(Lp(t))return{args:t,keys:null};if(Hp(t)){let n=Vp(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function Hp(e){return e&&typeof e=="object"&&Fp(e)===jp}function yr(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function $p(...e){let t=He(e),n=At(e),{args:r,keys:o}=mr(e);if(r.length===0)return $e([],t);let i=new S(Bp(r,t,o?s=>yr(o,s):J));return n?i.pipe(gr(n)):i}function Bp(e,t,n=J){return r=>{Mc(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Mc(t,()=>{let l=$e(e[c],t),u=!1;l.subscribe(M(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Mc(e,t,n){e?oe(n,e,t):t()}function Up(e){return new S(t=>{P(e()).subscribe(t)})}function qp(...e){let t=At(e),{args:n,keys:r}=mr(e),o=new S(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u<s;u++){let d=!1;P(n[u]).subscribe(M(i,p=>{d||(d=!0,l--),a[u]=p},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?yr(r,a):a),i.complete())}))}});return t?o.pipe(gr(t)):o}var{isArray:Wp}=Array;function _c(e){return e.length===1&&Wp(e[0])?e[0]:e}function un(e,t){return x((n,r)=>{let o=0;n.subscribe(M(r,i=>e.call(t,i,o++)&&r.next(i)))})}function zp(...e){let t=At(e),n=_c(e);return n.length?new S(r=>{let o=n.map(()=>[]),i=n.map(()=>!1);r.add(()=>{o=i=null});for(let s=0;!r.closed&&s<n.length;s++)P(n[s]).subscribe(M(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}}):rt}function ci(e){return x((t,n)=>{let r=null,o=!1,i;r=t.subscribe(M(n,void 0,void 0,s=>{i=P(e(s,ci(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function xc(e,t,n,r,o){return(i,s)=>{let a=n,c=t,l=0;i.subscribe(M(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 Gp(e,t){return D(t)?ot(e,t,1):ot(e,1)}function dn(e){return x((t,n)=>{let r=!1;t.subscribe(M(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function Qp(e){return be(()=>e)}function Zp(e,t=J){return e=e??Yp,x((n,r)=>{let o,i=!0;n.subscribe(M(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function Yp(e,t){return e===t}function vr(e=Jp){return x((t,n)=>{let r=!1;t.subscribe(M(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Jp(){return new it}function Kp(e,t){let n=arguments.length>=2;return r=>r.pipe(e?un((o,i)=>e(o,i,r)):J,pr(1),n?dn(t):vr(()=>new it))}function li(e){return e<=0?()=>rt:x((t,n)=>{let r=[];t.subscribe(M(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 Xp(e,t){let n=arguments.length>=2;return r=>r.pipe(e?un((o,i)=>e(o,i,r)):J,li(1),n?dn(t):vr(()=>new it))}function eh(e,t){return x(xc(e,t,arguments.length>=2,!0))}function Tc(e={}){let{connector:t=()=>new pe,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,l=0,u=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=c=void 0,u=d=!1},h=()=>{let g=s;f(),g?.unsubscribe()};return x((g,E)=>{l++,!d&&!u&&p();let m=c=c??t();E.add(()=>{l--,l===0&&!d&&!u&&(a=ui(h,o))}),m.subscribe(E),!s&&l>0&&(s=new Ne({next:_=>m.next(_),error:_=>{d=!0,p(),a=ui(f,n,_),m.error(_)},complete:()=>{u=!0,p(),a=ui(f,r),m.complete()}}),P(g).subscribe(s))})(i)}}function ui(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new Ne({next:()=>{r.unsubscribe(),e()}});return P(t(...n)).subscribe(r)}function th(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 ln(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function nh(e){return x((t,n)=>{P(e).subscribe(M(n,()=>n.complete(),an)),!n.closed&&t.subscribe(n)})}function Nc(e,t,n){let r=D(e)||t||n?{next:e,error:t,complete:n}:e;return r?x((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(M(i,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),i.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):J}function gi(e,t){return Object.is(e,t)}var j=null,fn=!1,mi=1,V=Symbol("SIGNAL");function b(e){let t=j;return j=e,t}function Sc(){return j}function rh(){return fn}var st={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 hn(e){if(fn)throw new Error("");if(j===null)return;j.consumerOnSignalRead(e);let t=j.nextProducerIndex++;if(Dr(j),t<j.producerNode.length&&j.producerNode[t]!==e&&pn(j)){let n=j.producerNode[t];Er(n,j.producerIndexOfThis[t])}j.producerNode[t]!==e&&(j.producerNode[t]=e,j.producerIndexOfThis[t]=pn(j)?kc(e,j,t):0),j.producerLastReadVersion[t]=e.version}function oh(){mi++}function yi(e){if(!(pn(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===mi)){if(!e.producerMustRecompute(e)&&!mn(e)){pi(e);return}e.producerRecomputeValue(e),pi(e)}}function Oc(e){if(e.liveConsumerNode===void 0)return;let t=fn;fn=!0;try{for(let n of e.liveConsumerNode)n.dirty||Ac(n)}finally{fn=t}}function Rc(){return j?.consumerAllowSignalWrites!==!1}function Ac(e){e.dirty=!0,Oc(e),e.consumerMarkedDirty?.(e)}function pi(e){e.dirty=!1,e.lastCleanEpoch=mi}function kt(e){return e&&(e.nextProducerIndex=0),b(e)}function gn(e,t){if(b(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(pn(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)Er(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function mn(e){Dr(e);for(let t=0;t<e.producerNode.length;t++){let n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(yi(n),r!==n.version))return!0}return!1}function Pt(e){if(Dr(e),pn(e))for(let t=0;t<e.producerNode.length;t++)Er(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 kc(e,t,n){if(Pc(e),e.liveConsumerNode.length===0&&Lc(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=kc(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function Er(e,t){if(Pc(e),e.liveConsumerNode.length===1&&Lc(e))for(let r=0;r<e.producerNode.length;r++)Er(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];Dr(o),o.producerIndexOfThis[r]=t}}function pn(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function Dr(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Pc(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function Lc(e){return e.producerNode!==void 0}function vi(e){let t=Object.create(ih);t.computation=e;let n=()=>{if(yi(t),hn(t),t.value===Ir)throw t.error;return t.value};return n[V]=t,n}var di=Symbol("UNSET"),fi=Symbol("COMPUTING"),Ir=Symbol("ERRORED"),ih=ue(le({},st),{value:di,dirty:!0,error:null,equal:gi,producerMustRecompute(e){return e.value===di||e.value===fi},producerRecomputeValue(e){if(e.value===fi)throw new Error("Detected cycle in computations.");let t=e.value;e.value=fi;let n=kt(e),r;try{r=e.computation()}catch(o){r=Ir,e.error=o}finally{gn(e,n)}if(t!==di&&t!==Ir&&r!==Ir&&e.equal(t,r)){e.value=t;return}e.value=r,e.version++}});function sh(){throw new Error}var Fc=sh;function jc(){Fc()}function Vc(e){Fc=e}var ah=null;function Hc(e){let t=Object.create(Ii);t.value=e;let n=()=>(hn(t),t.value);return n[V]=t,n}function yn(e,t){Rc()||jc(),e.equal(e.value,t)||(e.value=t,ch(e))}function $c(e,t){Rc()||jc(),yn(e,t(e.value))}var Ii=ue(le({},st),{equal:gi,value:void 0});function ch(e){e.version++,oh(),Oc(e),ah?.()}function Bc(e,t,n){let r=Object.create(lh);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)||(Pt(c),c.cleanupFn(),c.fn=null,c.schedule=null,c.cleanupFn=hi)}let a=()=>{if(r.fn===null)return;if(rh())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!mn(r))return;r.hasRun=!0;let c=kt(r);try{r.cleanupFn(),r.cleanupFn=hi,r.fn(o)}finally{gn(r,c)}};return r.ref={notify:()=>Ac(r),run:a,cleanup:()=>r.cleanupFn(),destroy:()=>s(r),[V]:r},r.ref}var hi=()=>{},lh=ue(le({},st),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule!==null&&e.schedule(e.ref)},hasRun:!1,cleanupFn:hi});var Wl="https://g.co/ng/security#xss",C=class extends Error{code;constructor(t,n){super(uh(t,n)),this.code=t}};function uh(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}var Eo=Symbol("InputSignalNode#UNSET"),zl=ue(le({},Ii),{transformFn:void 0,applyValueToInputSignal(e,t){yn(e,t)}});function Gl(e,t){let n=Object.create(zl);n.value=e,n.transformFn=t?.transform;function r(){if(hn(n),n.value===Eo)throw new C(-950,!1);return n.value}return r[V]=n,r}function Hn(e){return{toString:e}.toString()}var wr="__parameters__";function dh(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function Ql(e,t,n){return Hn(()=>{let r=dh(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(wr)?c[wr]:Object.defineProperty(c,wr,{value:[]})[wr];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),c}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var Ue=globalThis;function k(e){for(let t in e)if(e[t]===k)return t;throw Error("Could not find renamed property on target object.")}function fh(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function de(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(de).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 Pi(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var ph=k({__forward_ref__:k});function Zl(e){return e.__forward_ref__=Zl,e.toString=function(){return de(this())},e}function te(e){return Yl(e)?e():e}function Yl(e){return typeof e=="function"&&e.hasOwnProperty(ph)&&e.__forward_ref__===Zl}function hh(e,t,n){e!=t&&gh(n,e,t,"==")}function gh(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(r==null?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}function B(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function wT(e){return{providers:e.providers||[],imports:e.imports||[]}}function Do(e){return Uc(e,Jl)||Uc(e,Kl)}function bT(e){return Do(e)!==null}function Uc(e,t){return e.hasOwnProperty(t)?e[t]:null}function mh(e){let t=e&&(e[Jl]||e[Kl]);return t||null}function qc(e){return e&&(e.hasOwnProperty(Wc)||e.hasOwnProperty(yh))?e[Wc]:null}var Jl=k({\u0275prov:k}),Wc=k({\u0275inj:k}),Kl=k({ngInjectableDef:k}),yh=k({ngInjectorDef:k}),R=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=B({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Xl(e){return e&&!!e.\u0275providers}var vh=k({\u0275cmp:k}),Ih=k({\u0275dir:k}),Eh=k({\u0275pipe:k}),Dh=k({\u0275mod:k}),Vr=k({\u0275fac:k}),Dn=k({__NG_ELEMENT_ID__:k}),zc=k({__NG_ENV_ID__:k});function Ie(e){return typeof e=="string"?e:e==null?"":String(e)}function wh(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():Ie(e)}function bh(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new C(-200,e)}function ta(e,t){throw new C(-201,!1)}var N=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(N||{}),Li;function eu(){return Li}function ie(e){let t=Li;return Li=e,t}function tu(e,t,n){let r=Do(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&N.Optional)return null;if(t!==void 0)return t;ta(e,"Injector")}var Ch={},xn=Ch,Fi="__NG_DI_FLAG__",Hr="ngTempTokenPath",Mh="ngTokenPath",_h=/\n/gm,xh="\u0275",Gc="__source",Vt;function Th(){return Vt}function Be(e){let t=Vt;return Vt=e,t}function Nh(e,t=N.Default){if(Vt===void 0)throw new C(-203,!1);return Vt===null?tu(e,void 0,t):Vt.get(e,t&N.Optional?null:void 0,t)}function Ge(e,t=N.Default){return(eu()||Nh)(te(e),t)}function T(e,t=N.Default){return Ge(e,wo(t))}function wo(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function ji(e){let t=[];for(let n=0;n<e.length;n++){let r=te(e[n]);if(Array.isArray(r)){if(r.length===0)throw new C(900,!1);let o,i=N.Default;for(let s=0;s<r.length;s++){let a=r[s],c=Sh(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(Ge(o,i))}else t.push(Ge(r))}return t}function nu(e,t){return e[Fi]=t,e.prototype[Fi]=t,e}function Sh(e){return e[Fi]}function Oh(e,t,n,r){let o=e[Hr];throw t[Gc]&&o.unshift(t[Gc]),e.message=Rh(`
5
+ `+e.message,o,n,r),e[Mh]=o,e[Hr]=null,e}function Rh(e,t,n,r=null){e=e&&e.charAt(0)===`
6
+ `&&e.charAt(1)==xh?e.slice(2):e;let o=de(t);if(Array.isArray(t))o=t.map(de).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):de(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(_h,`
7
+ `)}`}var ru=nu(Ql("Optional"),8);var ou=nu(Ql("SkipSelf"),4);function ut(e,t){let n=e.hasOwnProperty(Vr);return n?e[Vr]:null}function Ah(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 kh(e){return e.flat(Number.POSITIVE_INFINITY)}function na(e,t){e.forEach(n=>Array.isArray(n)?na(n,t):t(n))}function iu(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function $r(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Ph(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function Lh(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 bo(e,t,n){let r=$n(e,t);return r>=0?e[r|1]=n:(r=~r,Lh(e,r,t,n)),r}function Ei(e,t){let n=$n(e,t);if(n>=0)return e[n|1]}function $n(e,t){return Fh(e,t,1)}function Fh(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 Ut={},K=[],Br=new R(""),su=new R("",-1),au=new R(""),Ur=class{get(t,n=xn){if(n===xn){let r=new Error(`NullInjectorError: No provider for ${de(t)}!`);throw r.name="NullInjectorError",r}return n}};function cu(e,t){let n=e[Dh]||null;if(!n&&t===!0)throw new Error(`Type ${de(e)} does not have '\u0275mod' property.`);return n}function _e(e){return e[vh]||null}function ra(e){return e[Ih]||null}function oa(e){return e[Eh]||null}function jh(e){let t=_e(e)||ra(e)||oa(e);return t!==null?t.standalone:!1}function Vh(e){return{\u0275providers:e}}function Hh(...e){return{\u0275providers:ia(!0,e),\u0275fromNgModule:!0}}function ia(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return na(t,s=>{let a=s;Vi(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&lu(o,i),n}function lu(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];sa(o,i=>{t(i,r)})}}function Vi(e,t,n,r){if(e=te(e),!e)return!1;let o=null,i=qc(e),s=!i&&_e(e);if(!i&&!s){let c=e.ngModule;if(i=qc(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)Vi(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;try{na(i.imports,u=>{Vi(u,t,n,r)&&(l||=[],l.push(u))})}finally{}l!==void 0&&lu(l,t)}if(!a){let l=ut(o)||(()=>new o);t({provide:o,useFactory:l,deps:K},o),t({provide:au,useValue:o,multi:!0},o),t({provide:Br,useValue:()=>Ge(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;sa(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function sa(e,t){for(let n of e)Xl(n)&&(n=n.\u0275providers),Array.isArray(n)?sa(n,t):t(n)}var $h=k({provide:String,useValue:k});function uu(e){return e!==null&&typeof e=="object"&&$h in e}function Bh(e){return!!(e&&e.useExisting)}function Uh(e){return!!(e&&e.useFactory)}function qt(e){return typeof e=="function"}function qh(e){return!!e.useClass}var du=new R(""),Nr={},Wh={},Di;function Co(){return Di===void 0&&(Di=new Ur),Di}var Oe=class{},Tn=class extends Oe{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,$i(t,s=>this.processProvider(s)),this.records.set(su,Lt(void 0,this)),o.has("environment")&&this.records.set(Oe,Lt(void 0,this));let i=this.records.get(du);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(au,K,N.Self))}destroy(){vn(this),this._destroyed=!0;let t=b(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),b(t)}}onDestroy(t){return vn(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){vn(this);let n=Be(this),r=ie(void 0),o;try{return t()}finally{Be(n),ie(r)}}get(t,n=xn,r=N.Default){if(vn(this),t.hasOwnProperty(zc))return t[zc](this);r=wo(r);let o,i=Be(this),s=ie(void 0);try{if(!(r&N.SkipSelf)){let c=this.records.get(t);if(c===void 0){let l=Yh(t)&&Do(t);l&&this.injectableDefInScope(l)?c=Lt(Hi(t),Nr):c=null,this.records.set(t,c)}if(c!=null)return this.hydrate(t,c)}let a=r&N.Self?Co():this.parent;return n=r&N.Optional&&n===xn?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[Hr]=a[Hr]||[]).unshift(de(t)),i)throw a;return Oh(a,t,"R3InjectorError",this.source)}else throw a}finally{ie(s),Be(i)}}resolveInjectorInitializers(){let t=b(null),n=Be(this),r=ie(void 0),o;try{let i=this.get(Br,K,N.Self);for(let s of i)s()}finally{Be(n),ie(r),b(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(de(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=te(t);let n=qt(t)?t:te(t&&t.provide),r=Gh(t);if(!qt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Lt(void 0,Nr,!0),o.factory=()=>ji(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=b(null);try{return n.value===Nr&&(n.value=Wh,n.value=n.factory()),typeof n.value=="object"&&n.value&&Zh(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{b(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=te(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 Hi(e){let t=Do(e),n=t!==null?t.factory:ut(e);if(n!==null)return n;if(e instanceof R)throw new C(204,!1);if(e instanceof Function)return zh(e);throw new C(204,!1)}function zh(e){if(e.length>0)throw new C(204,!1);let n=mh(e);return n!==null?()=>n.factory(e):()=>new e}function Gh(e){if(uu(e))return Lt(void 0,e.useValue);{let t=fu(e);return Lt(t,Nr)}}function fu(e,t,n){let r;if(qt(e)){let o=te(e);return ut(o)||Hi(o)}else if(uu(e))r=()=>te(e.useValue);else if(Uh(e))r=()=>e.useFactory(...ji(e.deps||[]));else if(Bh(e))r=()=>Ge(te(e.useExisting));else{let o=te(e&&(e.useClass||e.provide));if(Qh(e))r=()=>new o(...ji(e.deps));else return ut(o)||Hi(o)}return r}function vn(e){if(e.destroyed)throw new C(205,!1)}function Lt(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Qh(e){return!!e.deps}function Zh(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Yh(e){return typeof e=="function"||typeof e=="object"&&e instanceof R}function $i(e,t){for(let n of e)Array.isArray(n)?$i(n,t):n&&Xl(n)?$i(n.\u0275providers,t):t(n)}function pu(e,t){e instanceof Tn&&vn(e);let n,r=Be(e),o=ie(void 0);try{return t()}finally{Be(r),ie(o)}}function hu(){return eu()!==void 0||Th()!=null}function aa(e){if(!hu())throw new C(-203,!1)}function Jh(e){return typeof e=="function"}var Le=0,I=1,v=2,Y=3,Ee=4,ne=5,Wt=6,qr=7,X=8,De=9,Re=10,O=11,Nn=12,Qc=13,Jt=14,ae=15,dt=16,Ft=17,Ae=18,Mo=19,gu=20,We=21,Sr=22,ft=23,fe=24,L=25,mu=1,Ht=6,pt=7,Wr=8,zt=9,ee=10,zr=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(zr||{});function ze(e){return Array.isArray(e)&&typeof e[mu]=="object"}function Fe(e){return Array.isArray(e)&&e[mu]===!0}function ca(e){return(e.flags&4)!==0}function _o(e){return e.componentOffset>-1}function xo(e){return(e.flags&1)===1}function Qe(e){return!!e.template}function Bi(e){return(e[v]&512)!==0}function Kh(e){return(e[v]&256)===256}var Ui=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function yu(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var CT=(()=>{let e=()=>vu;return e.ngInherit=!0,e})();function vu(e){return e.type.prototype.ngOnChanges&&(e.setInput=eg),Xh}function Xh(){let e=Eu(this),t=e?.current;if(t){let n=e.previous;if(n===Ut)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function eg(e,t,n,r,o){let i=this.declaredInputs[r],s=Eu(e)||tg(e,{previous:Ut,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new Ui(l&&l.currentValue,n,c===Ut),yu(e,t,o,n)}var Iu="__ngSimpleChanges__";function Eu(e){return e[Iu]||null}function tg(e,t){return e[Iu]=t}var Zc=null;var Ce=function(e,t,n){Zc?.(e,t,n)},Du="svg",ng="math";function ge(e){for(;Array.isArray(e);)e=e[Le];return e}function To(e,t){return ge(t[e])}function me(e,t){return ge(t[e.index])}function Bn(e,t){return e.data[t]}function la(e,t){return e[t]}function Ke(e,t){let n=t[e];return ze(n)?n:n[Le]}function rg(e){return(e[v]&4)===4}function ua(e){return(e[v]&128)===128}function og(e){return Fe(e[Y])}function ke(e,t){return t==null?null:e[t]}function wu(e){e[Ft]=0}function da(e){e[v]&1024||(e[v]|=1024,ua(e)&&Un(e))}function ig(e,t){for(;e>0;)t=t[Jt],e--;return t}function No(e){return!!(e[v]&9216||e[fe]?.dirty)}function qi(e){e[Re].changeDetectionScheduler?.notify(9),e[v]&64&&(e[v]|=1024),No(e)&&Un(e)}function Un(e){e[Re].changeDetectionScheduler?.notify(0);let t=ht(e);for(;t!==null&&!(t[v]&8192||(t[v]|=8192,!ua(t)));)t=ht(t)}function fa(e,t){if((e[v]&256)===256)throw new C(911,!1);e[We]===null&&(e[We]=[]),e[We].push(t)}function bu(e,t){if(e[We]===null)return;let n=e[We].indexOf(t);n!==-1&&e[We].splice(n,1)}function ht(e){let t=e[Y];return Fe(t)?t[Y]:t}var w={lFrame:Ou(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Wi=!1;function sg(){return w.lFrame.elementDepthCount}function ag(){w.lFrame.elementDepthCount++}function cg(){w.lFrame.elementDepthCount--}function Cu(){return w.bindingsEnabled}function Mu(){return w.skipHydrationRootTNode!==null}function lg(e){return w.skipHydrationRootTNode===e}function ug(){w.skipHydrationRootTNode=null}function y(){return w.lFrame.lView}function A(){return w.lFrame.tView}function MT(e){return w.lFrame.contextLView=e,e[X]}function _T(e){return w.lFrame.contextLView=null,e}function W(){let e=_u();for(;e!==null&&e.type===64;)e=e.parent;return e}function _u(){return w.lFrame.currentTNode}function Sn(){let e=w.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function we(e,t){let n=w.lFrame;n.currentTNode=e,n.isParent=t}function pa(){return w.lFrame.isParent}function ha(){w.lFrame.isParent=!1}function dg(){return w.lFrame.contextLView}function xu(){return Wi}function Gr(e){let t=Wi;return Wi=e,t}function Kt(){let e=w.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function ga(){return w.lFrame.bindingIndex}function fg(e){return w.lFrame.bindingIndex=e}function Xe(){return w.lFrame.bindingIndex++}function So(e){let t=w.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function pg(){return w.lFrame.inI18n}function Tu(e){w.lFrame.inI18n=e}function hg(e,t){let n=w.lFrame;n.bindingIndex=n.bindingRootIndex=e,zi(t)}function gg(){return w.lFrame.currentDirectiveIndex}function zi(e){w.lFrame.currentDirectiveIndex=e}function mg(e){let t=w.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function ma(){return w.lFrame.currentQueryIndex}function Oo(e){w.lFrame.currentQueryIndex=e}function yg(e){let t=e[I];return t.type===2?t.declTNode:t.type===1?e[ne]:null}function Nu(e,t,n){if(n&N.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&N.Host);)if(o=yg(i),o===null||(i=i[Jt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=w.lFrame=Su();return r.currentTNode=t,r.lView=e,!0}function ya(e){let t=Su(),n=e[I];w.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Su(){let e=w.lFrame,t=e===null?null:e.child;return t===null?Ou(e):t}function Ou(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=w.lFrame;return w.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Au=Ru;function va(){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 vg(e){return(w.lFrame.contextLView=ig(e,w.lFrame.contextLView))[X]}function Te(){return w.lFrame.selectedIndex}function gt(e){w.lFrame.selectedIndex=e}function Mt(){let e=w.lFrame;return Bn(e.tView,e.selectedIndex)}function xT(){w.lFrame.currentNamespace=Du}function Ig(){return w.lFrame.currentNamespace}var ku=!0;function qn(){return ku}function Wn(e){ku=e}function Eg(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=vu(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 Ro(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 Or(e,t,n){Pu(e,t,3,n)}function Rr(e,t,n,r){(e[v]&3)===n&&Pu(e,t,n,r)}function wi(e,t){let n=e[v];(n&3)===t&&(n&=16383,n+=1,e[v]=n)}function Pu(e,t,n,r){let o=r!==void 0?e[Ft]&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[Ft]+=65536),(a<i||i==-1)&&(Dg(e,n,t,c),e[Ft]=(e[Ft]&4294901760)+c+2),c++}function Yc(e,t){Ce(4,e,t);let n=b(null);try{t.call(e)}finally{b(n),Ce(5,e,t)}}function Dg(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[v]>>14<e[Ft]>>16&&(e[v]&3)===t&&(e[v]+=16384,Yc(a,i)):Yc(a,i)}var $t=-1,mt=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r){this.factory=t,this.canSeeViewProviders=n,this.injectImpl=r}};function wg(e){return e instanceof mt}function bg(e){return(e.flags&8)!==0}function Cg(e){return(e.flags&16)!==0}function Gi(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];Mg(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function Lu(e){return e===3||e===4||e===6}function Mg(e){return e.charCodeAt(0)===64}function On(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?Jc(e,n,o,null,t[++r]):Jc(e,n,o,null,null))}}return e}function Jc(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 bi={},Bt=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=wo(r);let o=this.injector.get(t,bi,r);return o!==bi||n===bi?o:this.parentInjector.get(t,n,r)}};function Fu(e){return e!==$t}function Qr(e){return e&32767}function _g(e){return e>>16}function Zr(e,t){let n=_g(e),r=t;for(;n>0;)r=r[Jt],n--;return r}var Qi=!0;function Yr(e){let t=Qi;return Qi=e,t}var xg=256,ju=xg-1,Vu=5,Tg=0,Me={};function Ng(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Dn)&&(r=n[Dn]),r==null&&(r=n[Dn]=Tg++);let o=r&ju,i=1<<o;t.data[e+(o>>Vu)]|=i}function Jr(e,t){let n=Hu(e,t);if(n!==-1)return n;let r=t[I];r.firstCreatePass&&(e.injectorIndex=t.length,Ci(r.data,e),Ci(t,null),Ci(r.blueprint,null));let o=Ia(e,t),i=e.injectorIndex;if(Fu(o)){let s=Qr(o),a=Zr(o,t),c=a[I].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function Ci(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Hu(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Ia(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=Wu(o),r===null)return $t;if(n++,o=o[Jt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return $t}function Zi(e,t,n){Ng(e,t,n)}function Sg(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(Lu(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 $u(e,t,n){if(n&N.Optional||e!==void 0)return e;ta(t,"NodeInjector")}function Bu(e,t,n,r){if(n&N.Optional&&r===void 0&&(r=null),!(n&(N.Self|N.Host))){let o=e[De],i=ie(void 0);try{return o?o.get(t,r,n&N.Optional):tu(t,r,n&N.Optional)}finally{ie(i)}}return $u(r,t,n)}function Uu(e,t,n,r=N.Default,o){if(e!==null){if(t[v]&2048&&!(r&N.Self)){let s=kg(e,t,n,r,Me);if(s!==Me)return s}let i=qu(e,t,n,r,Me);if(i!==Me)return i}return Bu(t,n,r,o)}function qu(e,t,n,r,o){let i=Rg(n);if(typeof i=="function"){if(!Nu(t,e,r))return r&N.Host?$u(o,n,r):Bu(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&N.Optional))ta(n);else return s}finally{Au()}}else if(typeof i=="number"){let s=null,a=Hu(e,t),c=$t,l=r&N.Host?t[ae][ne]:null;for((a===-1||r&N.SkipSelf)&&(c=a===-1?Ia(e,t):t[a+8],c===$t||!Xc(r,!1)?a=-1:(s=t[I],a=Qr(c),t=Zr(c,t)));a!==-1;){let u=t[I];if(Kc(i,a,u.data)){let d=Og(a,t,n,s,r,l);if(d!==Me)return d}c=t[a+8],c!==$t&&Xc(r,t[I].data[a+8]===l)&&Kc(i,a,t)?(s=u,a=Qr(c),t=Zr(c,t)):a=-1}}return o}function Og(e,t,n,r,o,i){let s=t[I],a=s.data[e+8],c=r==null?_o(a)&&Qi:r!=s&&(a.type&3)!==0,l=o&N.Host&&i===a,u=Ar(a,s,n,c,l);return u!==null?yt(t,s,u,a):Me}function Ar(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&&Qe(f)&&f.type===n)return c}return null}function yt(e,t,n,r){let o=e[n],i=t.data;if(wg(o)){let s=o;s.resolving&&bh(wh(i[n]));let a=Yr(s.canSeeViewProviders);s.resolving=!0;let c,l=s.injectImpl?ie(s.injectImpl):null,u=Nu(e,r,N.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&Eg(n,i[n],t)}finally{l!==null&&ie(l),Yr(a),s.resolving=!1,Au()}}return o}function Rg(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Dn)?e[Dn]:void 0;return typeof t=="number"?t>=0?t&ju:Ag:t}function Kc(e,t,n){let r=1<<e;return!!(n[t+(e>>Vu)]&r)}function Xc(e,t){return!(e&N.Self)&&!(e&N.Host&&t)}var lt=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Uu(this._tNode,this._lView,t,wo(r),n)}};function Ag(){return new lt(W(),y())}function TT(e){return Hn(()=>{let t=e.prototype.constructor,n=t[Vr]||Yi(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Vr]||Yi(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Yi(e){return Yl(e)?()=>{let t=Yi(te(e));return t&&t()}:ut(e)}function kg(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[v]&2048&&!(s[v]&512);){let a=qu(i,s,n,r|N.Self,Me);if(a!==Me)return a;let c=i.parent;if(!c){let l=s[gu];if(l){let u=l.get(n,Me,r);if(u!==Me)return u}c=Wu(s),s=s[Jt]}i=c}return o}function Wu(e){let t=e[I],n=t.type;return n===2?t.declTNode:n===1?e[ne]:null}function NT(e){return Sg(W(),e)}function el(e,t=null,n=null,r){let o=zu(e,t,n,r);return o.resolveInjectorInitializers(),o}function zu(e,t=null,n=null,r,o=new Set){let i=[n||K,Hh(e)];return r=r||(typeof e=="object"?void 0:de(e)),new Tn(i,t||Co(),r||null,o)}var Ze=class e{static THROW_IF_NOT_FOUND=xn;static NULL=new Ur;static create(t,n){if(Array.isArray(t))return el({name:""},n,t,"");{let r=t.name??"";return el({name:r},t.parent,t.providers,r)}}static \u0275prov=B({token:e,providedIn:"any",factory:()=>Ge(su)});static __NG_ELEMENT_ID__=-1};var Pg=new R("");Pg.__NG_ELEMENT_ID__=e=>{let t=W();if(t===null)throw new C(204,!1);if(t.type&2)return t.value;if(e&N.Optional)return null;throw new C(204,!1)};var Gu=!1,Xt=(()=>{class e{static __NG_ELEMENT_ID__=Lg;static __NG_ENV_ID__=n=>n}return e})(),Kr=class extends Xt{_lView;constructor(t){super(),this._lView=t}onDestroy(t){return fa(this._lView,t),()=>bu(this._lView,t)}};function Lg(){return new Kr(y())}var Ye=class{},Ea=new R("",{providedIn:"root",factory:()=>!1});var Qu=new R(""),Da=new R(""),_t=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new cn(!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=B({token:e,providedIn:"root",factory:()=>new e})}return e})(),Fg=(()=>{class e{internalPendingTasks=T(_t);scheduler=T(Ye);add(){let n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(12),this.internalPendingTasks.remove(n))}}async run(n){let r=this.add();try{return await n()}finally{r()}}static \u0275prov=B({token:e,providedIn:"root",factory:()=>new e})}return e})(),Ji=class extends pe{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,hu()&&(this.destroyRef=T(Xt,{optional:!0})??void 0,this.pendingTasks=T(_t,{optional:!0})??void 0)}emit(t){let n=b(null);try{super.next(t)}finally{b(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof q&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{t(n),r!==void 0&&this.pendingTasks?.remove(r)})}}},qe=Ji;function Rn(...e){}function Zu(e){let t,n;function r(){e=Rn;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 tl(e){return queueMicrotask(()=>e()),()=>{e=Rn}}var wa="isAngularZone",Xr=wa+"_ID",jg=0,he=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new qe(!1);onMicrotaskEmpty=new qe(!1);onStable=new qe(!1);onError=new qe(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Gu}=t;if(typeof Zone>"u")throw new C(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,$g(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(wa)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new C(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new C(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,Vg,Rn,Rn);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)}},Vg={};function ba(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 Hg(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Zu(()=>{e.callbackScheduled=!1,Ki(e),e.isCheckStableRunning=!0,ba(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Ki(e)}function $g(e){let t=()=>{Hg(e)},n=jg++;e._inner=e._inner.fork({name:"angular",properties:{[wa]:!0,[Xr]:n,[Xr+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(Bg(c))return r.invokeTask(i,s,a,c);try{return nl(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),rl(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return nl(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Ug(c)&&t(),rl(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Ki(e),ba(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 Ki(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function nl(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function rl(e){e._nesting--,ba(e)}var eo=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new qe;onMicrotaskEmpty=new qe;onStable=new qe;onError=new qe;run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function Bg(e){return Yu(e,"__ignore_ng_zone__")}function Ug(e){return Yu(e,"__scheduler_tick__")}function Yu(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var vt=class{_console=console;handleError(t){this._console.error("ERROR",t)}},qg=new R("",{providedIn:"root",factory:()=>{let e=T(he),t=T(vt);return n=>e.runOutsideAngular(()=>t.handleError(n))}}),to=class{destroyed=!1;listeners=null;errorHandler=T(vt,{optional:!0});destroyRef=T(Xt);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new C(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 C(953,!1);if(this.listeners===null)return;let n=b(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{b(n)}}};function ST(e){return new to}function ol(e,t){return Gl(e,t)}function Wg(e){return Gl(Eo,e)}var OT=(ol.required=Wg,ol);function zg(){return en(W(),y())}function en(e,t){return new Ao(me(e,t))}var Ao=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=zg}return e})();function Ju(e){return e instanceof Ao?e.nativeElement:e}function Gg(){return this._results[Symbol.iterator]()}var Xi=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 pe}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=kh(t);(this._changesDetected=!Ah(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]=Gg};function Ku(e){return(e.flags&128)===128}var Xu=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Xu||{}),ed=new Map,Qg=0;function Zg(){return Qg++}function Yg(e){ed.set(e[Mo],e)}function es(e){ed.delete(e[Mo])}var il="__ngContext__";function xe(e,t){ze(t)?(e[il]=t[Mo],Yg(t)):e[il]=t}function td(e){return rd(e[Nn])}function nd(e){return rd(e[Ee])}function rd(e){for(;e!==null&&!Fe(e);)e=e[Ee];return e}var ts;function RT(e){ts=e}function Ca(){if(ts!==void 0)return ts;if(typeof document<"u")return document;throw new C(210,!1)}var AT=new R("",{providedIn:"root",factory:()=>Jg}),Jg="ng",Kg=new R(""),kT=new R("",{providedIn:"platform",factory:()=>"unknown"});var PT=new R("",{providedIn:"root",factory:()=>Ca().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),Xg={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},LT=new R("",{providedIn:"root",factory:()=>Xg});var em="h",tm="b";var nm="di",od="s";var id=!1,rm=new R("",{providedIn:"root",factory:()=>id});var om=new R("");var sd=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(sd||{}),ad=new R(""),sl=new Set;function je(e){sl.has(e)||(sl.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var im=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=B({token:e,providedIn:"root",factory:()=>new e})}return e})();var se=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}(se||{}),al=0,sm=1,$=function(e){return e[e.Placeholder=0]="Placeholder",e[e.Loading=1]="Loading",e[e.Complete=2]="Complete",e[e.Error=3]="Error",e}($||{}),no=function(e){return e[e.Initial=-1]="Initial",e}(no||{}),am=0,ko=1;var cm=4,lm=5,um=6,dm=7,Mi=8,fm=9,cd=function(e){return e[e.Manual=0]="Manual",e[e.Playthrough=1]="Playthrough",e}(cd||{});function pm(e,t,n){let r=ud(e);t[r]===null&&(t[r]=[]),t[r].push(n)}function kr(e,t){let n=ud(e),r=t[n];if(r!==null){for(let o of r)o();t[n]=null}}function ld(e){kr(1,e),kr(0,e),kr(2,e)}function ud(e){let t=cm;return e===1?t=lm:e===2&&(t=fm),t}function Po(e){return e+1}function zn(e,t){let n=e[I],r=Po(t.index);return e[r]}function hm(e,t,n){let r=e[I],o=Po(t);e[o]=n}function Gn(e,t){let n=Po(t.index);return e.data[n]}function gm(e,t,n){let r=Po(t);e.data[r]=n}function mm(e,t,n){let r=t[I],o=Gn(r,n);switch(e){case $.Complete:return o.primaryTmplIndex;case $.Loading:return o.loadingTmplIndex;case $.Error:return o.errorTmplIndex;case $.Placeholder:return o.placeholderTmplIndex;default:return null}}function cl(e,t){return t===$.Placeholder?e.placeholderBlockConfig?.[al]??null:t===$.Loading?e.loadingBlockConfig?.[al]??null:null}function ym(e){return e.loadingBlockConfig?.[sm]??null}function ll(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 vm(e,t){let n=t.primaryTmplIndex+L;return Bn(e,n)}var Im=new R("");var Em=()=>null;function Ma(e,t,n=!1){return Em(e,t,n)}function Dm(e){return e.get(om,!1,{optional:!0})}var An=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(An||{}),br;function wm(){if(br===void 0&&(br=null,Ue.trustedTypes))try{br=Ue.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return br}function Lo(e){return wm()?.createHTML(e)||e}var Cr;function dd(){if(Cr===void 0&&(Cr=null,Ue.trustedTypes))try{Cr=Ue.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Cr}function ul(e){return dd()?.createHTML(e)||e}function dl(e){return dd()?.createScriptURL(e)||e}var Pe=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Wl})`}},ns=class extends Pe{getTypeName(){return"HTML"}},rs=class extends Pe{getTypeName(){return"Style"}},os=class extends Pe{getTypeName(){return"Script"}},is=class extends Pe{getTypeName(){return"URL"}},ss=class extends Pe{getTypeName(){return"ResourceURL"}};function tn(e){return e instanceof Pe?e.changingThisBreaksApplicationSecurity:e}function _a(e,t){let n=bm(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Wl})`)}return n===t}function bm(e){return e instanceof Pe&&e.getTypeName()||null}function FT(e){return new ns(e)}function jT(e){return new rs(e)}function VT(e){return new os(e)}function HT(e){return new is(e)}function $T(e){return new ss(e)}function fd(e){let t=new cs(e);return Cm()?new as(t):t}var as=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(Lo(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},cs=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=Lo(t),n}};function Cm(){try{return!!new window.DOMParser().parseFromString(Lo(""),"text/html")}catch{return!1}}var Mm=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function xa(e){return e=String(e),e.match(Mm)?e:"unsafe:"+e}function Ve(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Qn(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var pd=Ve("area,br,col,hr,img,wbr"),hd=Ve("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),gd=Ve("rp,rt"),_m=Qn(gd,hd),xm=Qn(hd,Ve("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")),Tm=Qn(gd,Ve("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")),ls=Qn(pd,xm,Tm,_m),Ta=Ve("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Nm=Ve("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"),Sm=Ve("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"),md=Qn(Ta,Nm,Sm),Om=Ve("script,style,template"),us=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=km(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=Am(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=fl(t).toLowerCase();if(!ls.hasOwnProperty(n))return this.sanitizedSomething=!0,!Om.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(!md.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;Ta[a]&&(c=xa(c)),this.buf.push(" ",s,'="',pl(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=fl(t).toLowerCase();ls.hasOwnProperty(n)&&!pd.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(pl(t))}};function Rm(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Am(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw yd(t);return t}function km(e){let t=e.firstChild;if(t&&Rm(e,t))throw yd(t);return t}function fl(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function yd(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var Pm=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Lm=/([^\#-~ |!])/g;function pl(e){return e.replace(/&/g,"&amp;").replace(Pm,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(Lm,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var Mr;function Fm(e,t){let n=null;try{Mr=Mr||fd(e);let r=t?String(t):"";n=Mr.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=Mr.getInertBodyElement(r)}while(r!==i);let a=new us().sanitizeChildren(ds(n)||n);return Lo(a)}finally{if(n){let r=ds(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function ds(e){return"content"in e&&jm(e)?e.content:null}function jm(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Fo=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}(Fo||{});function BT(e){let t=Na();return t?ul(t.sanitize(Fo.HTML,e)||""):_a(e,"HTML")?ul(tn(e)):Fm(Ca(),Ie(e))}function Vm(e){let t=Na();return t?t.sanitize(Fo.URL,e)||"":_a(e,"URL")?tn(e):xa(Ie(e))}function Hm(e){let t=Na();if(t)return dl(t.sanitize(Fo.RESOURCE_URL,e)||"");if(_a(e,"ResourceURL"))return dl(tn(e));throw new C(904,!1)}function $m(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?Hm:Vm}function UT(e,t,n){return $m(t,n)(e)}function Na(){let e=y();return e&&e[Re].sanitizer}var Bm=/^>|^->|<!--|-->|--!>|<!-$/g,Um=/(<|>)/g,qm="\u200B$1\u200B";function Wm(e){return e.replace(Bm,t=>t.replace(Um,qm))}function vd(e){return e instanceof Function?e():e}var Je=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Je||{}),fs=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(fs||{}),ps;function Sa(e,t){return ps(e,t)}function zm(e){ps===void 0&&(ps=e())}function jt(e,t,n,r,o){if(r!=null){let i,s=!1;Fe(r)?i=r:ze(r)&&(s=!0,r=r[Le]);let a=ge(r);e===0&&n!==null?o==null?_d(t,n,a):It(t,n,a,o||null,!0):e===1&&n!==null?It(t,n,a,o||null,!0):e===2?Rd(t,a,s):e===3&&t.destroyNode(a),i!=null&&ty(t,e,i,n,o)}}function Id(e,t){return e.createText(t)}function Ed(e,t,n){e.setValue(t,n)}function Dd(e,t){return e.createComment(Wm(t))}function Oa(e,t,n){return e.createElement(t,n)}function Gm(e,t){wd(e,t),t[Le]=null,t[ne]=null}function Qm(e,t,n,r,o,i){r[Le]=o,r[ne]=t,Ho(e,r,n,1,o,i)}function wd(e,t){t[Re].changeDetectionScheduler?.notify(10),Ho(e,t,t[O],2,null,null)}function Zm(e){let t=e[Nn];if(!t)return _i(e[I],e);for(;t;){let n=null;if(ze(t))n=t[Nn];else{let r=t[ee];r&&(n=r)}if(!n){for(;t&&!t[Ee]&&t!==e;)ze(t)&&_i(t[I],t),t=t[Y];t===null&&(t=e),ze(t)&&_i(t[I],t),n=t&&t[Ee]}t=n}}function Ym(e,t,n,r){let o=ee+r,i=n.length;r>0&&(n[o-1][Ee]=t),r<i-ee?(t[Ee]=n[o],iu(n,ee+r,t)):(n.push(t),t[Ee]=null),t[Y]=n;let s=t[dt];s!==null&&n!==s&&bd(s,t);let a=t[Ae];a!==null&&a.insertView(e),qi(t),t[v]|=128}function bd(e,t){let n=e[zt],r=t[Y];if(ze(r))e[v]|=zr.HasTransplantedViews;else{let o=r[Y][ae];t[ae]!==o&&(e[v]|=zr.HasTransplantedViews)}n===null?e[zt]=[t]:n.push(t)}function Ra(e,t){let n=e[zt],r=n.indexOf(t);n.splice(r,1)}function kn(e,t){if(e.length<=ee)return;let n=ee+t,r=e[n];if(r){let o=r[dt];o!==null&&o!==e&&Ra(o,r),t>0&&(e[n-1][Ee]=r[Ee]);let i=$r(e,ee+t);Gm(r[I],r);let s=i[Ae];s!==null&&s.detachView(i[I]),r[Y]=null,r[Ee]=null,r[v]&=-129}return r}function jo(e,t){if(!(t[v]&256)){let n=t[O];n.destroyNode&&Ho(e,t,n,3,null,null),Zm(t)}}function _i(e,t){if(t[v]&256)return;let n=b(null);try{t[v]&=-129,t[v]|=256,t[fe]&&Pt(t[fe]),Km(e,t),Jm(e,t),t[I].type===1&&t[O].destroy();let r=t[dt];if(r!==null&&Fe(t[Y])){r!==t[Y]&&Ra(r,t);let o=t[Ae];o!==null&&o.detachView(e)}es(t)}finally{b(n)}}function Jm(e,t){let n=e.cleanup,r=t[qr];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[qr]=null);let o=t[We];if(o!==null){t[We]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[ft];if(i!==null){t[ft]=null;for(let s of i)s.destroy()}}function Km(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 mt)){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];Ce(4,a,c);try{c.call(a)}finally{Ce(5,a,c)}}else{Ce(4,o,i);try{i.call(o)}finally{Ce(5,o,i)}}}}}function Cd(e,t,n){return Md(e,t.parent,n)}function Md(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[Le];{let{componentOffset:o}=r;if(o>-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===An.None||i===An.Emulated)return null}return me(r,n)}}function It(e,t,n,r,o){e.insertBefore(t,n,r,o)}function _d(e,t,n){e.appendChild(t,n)}function hl(e,t,n,r,o){r!==null?It(e,t,n,r,o):_d(e,t,n)}function Aa(e,t){return e.parentNode(t)}function Xm(e,t){return e.nextSibling(t)}function xd(e,t,n){return Nd(e,t,n)}function Td(e,t,n){return e.type&40?me(e,n):null}var Nd=Td,hs;function Sd(e,t){Nd=e,hs=t}function Vo(e,t,n,r){let o=Cd(e,r,t),i=t[O],s=r.parent||t[ne],a=xd(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)hl(i,o,n[c],a,!1);else hl(i,o,n,a,!1);hs!==void 0&&hs(i,r,t,n,o)}function In(e,t){if(t!==null){let n=t.type;if(n&3)return me(t,e);if(n&4)return gs(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return In(e,r);{let o=e[t.index];return Fe(o)?gs(-1,o):ge(o)}}else{if(n&128)return In(e,t.next);if(n&32)return Sa(t,e)()||ge(e[t.index]);{let r=Od(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=ht(e[ae]);return In(o,r)}else return In(e,t.next)}}}return null}function Od(e,t){if(t!==null){let r=e[ae][ne],o=t.projection;return r.projection[o]}return null}function gs(e,t){let n=ee+e+1;if(n<t.length){let r=t[n],o=r[I].firstChild;if(o!==null)return In(r,o)}return t[pt]}function Rd(e,t,n){e.removeChild(null,t,n)}function ka(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&&xe(ge(a),r),n.flags|=2),(n.flags&32)!==32)if(c&8)ka(e,t,n.child,r,o,i,!1),jt(t,e,o,a,i);else if(c&32){let l=Sa(n,r),u;for(;u=l();)jt(t,e,o,u,i);jt(t,e,o,a,i)}else c&16?Ad(e,t,r,n,o,i):jt(t,e,o,a,i);n=s?n.projectionNext:n.next}}function Ho(e,t,n,r,o,i){ka(n,r,e.firstChild,t,o,i,!1)}function ey(e,t,n){let r=t[O],o=Cd(e,n,t),i=n.parent||t[ne],s=xd(i,n,t);Ad(r,0,t,n,o,s)}function Ad(e,t,n,r,o,i){let s=n[ae],c=s[ne].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];jt(t,e,o,u,i)}else{let l=c,u=s[Y];Ku(r)&&(l.flags|=128),ka(e,t,l,u,o,i,!0)}}function ty(e,t,n,r,o){let i=n[pt],s=ge(n);i!==s&&jt(t,e,r,i,o);for(let a=ee;a<n.length;a++){let c=n[a];Ho(c[I],c,e,t,r,i)}}function ny(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:fs.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=fs.Important),e.setStyle(n,r,o,i))}}function ry(e,t,n){e.setAttribute(t,"style",n)}function kd(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Pd(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&Gi(e,t,r),o!==null&&kd(e,t,o),i!==null&&ry(e,t,i)}function oy(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 Ld="ng-template";function iy(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&oy(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(Pa(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 Pa(e){return e.type===4&&e.value!==Ld}function sy(e,t,n){let r=e.type===4&&!n?Ld:e.value;return t===r}function ay(e,t,n){let r=4,o=e.attrs,i=o!==null?uy(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!ve(r)&&!ve(c))return!1;if(s&&ve(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!sy(e,c,n)||c===""&&t.length===1){if(ve(r))return!1;s=!0}}else if(r&8){if(o===null||!iy(e,o,c,n)){if(ve(r))return!1;s=!0}}else{let l=t[++a],u=cy(c,o,Pa(e),n);if(u===-1){if(ve(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(ve(r))return!1;s=!0}}}}return ve(r)||s}function ve(e){return(e&1)===0}function cy(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 dy(t,e)}function Fd(e,t,n=!1){for(let r=0;r<t.length;r++)if(ay(e,t[r],n))return!0;return!1}function ly(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if(!(n&1))return t[n+1]}return null}function uy(e){for(let t=0;t<e.length;t++){let n=e[t];if(Lu(n))return t}return e.length}function dy(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 fy(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 gl(e,t){return e?":not("+t.trim()+")":t}function py(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!==""&&!ve(s)&&(t+=gl(i,o),o=""),r=s,i=i||!ve(r);n++}return o!==""&&(t+=gl(i,o)),t}function hy(e){return e.map(py).join(",")}function gy(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(!ve(o))break;o=i}r++}return{attrs:t,classes:n}}var z={};function qT(e=1){jd(A(),y(),Te()+e,!1)}function jd(e,t,n,r){if(!r)if((t[v]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Or(t,i,n)}else{let i=e.preOrderHooks;i!==null&&Rr(t,i,0,n)}gt(n)}function $o(e,t=N.Default){let n=y();if(n===null)return Ge(e,t);let r=W();return Uu(r,n,te(e),t)}function Vd(e,t,n,r,o,i){let s=b(null);try{let a=null;o&Je.SignalBased&&(a=t[r][V]),a!==null&&a.transformFn!==void 0&&(i=a.transformFn(i)),o&Je.HasDecoratorInputTransform&&(i=e.inputTransforms[r].call(t,i)),e.setInput!==null?e.setInput(t,a,i,n,r):yu(t,a,r,i)}finally{b(s)}}function my(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)gt(~o);else{let i=o,s=n[++r],a=n[++r];hg(s,i);let c=t[i];a(2,c)}}}finally{gt(-1)}}function Bo(e,t,n,r,o,i,s,a,c,l,u){let d=t.blueprint.slice();return d[Le]=o,d[v]=r|4|128|8|64|1024,(l!==null||e&&e[v]&2048)&&(d[v]|=2048),wu(d),d[Y]=d[Jt]=e,d[X]=n,d[Re]=s||e&&e[Re],d[O]=a||e&&e[O],d[De]=c||e&&e[De]||null,d[ne]=i,d[Mo]=Zg(),d[Wt]=u,d[gu]=l,d[ae]=t.type==2?e[ae]:d,d}function xt(e,t,n,r,o){let i=e.data[t];if(i===null)i=La(e,t,n,r,o),pg()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Sn();i.injectorIndex=s===null?-1:s.injectorIndex}return we(i,!0),i}function La(e,t,n,r,o){let i=_u(),s=pa(),a=s?i:i&&i.parent,c=e.data[t]=wy(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 Zn(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 Hd(e,t,n,r,o){let i=Te(),s=r&2;try{gt(-1),s&&t.length>L&&jd(e,t,L,!1),Ce(s?2:0,o),n(r,o)}finally{gt(i),Ce(s?3:1,o)}}function Fa(e,t,n){if(ca(t)){let r=b(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=n[s];a.contentQueries(1,c,s)}}}finally{b(r)}}}function ja(e,t,n){Cu()&&(Ty(e,t,n,me(n,t)),(n.flags&64)===64&&Ud(e,t,n))}function Va(e,t,n=me){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 $d(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=yy(d,p),h=typeof l=="function"?l():l;return f[I]={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 yy(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:z);return n}function vy(e,t,n,r){let i=r.get(rm,id)||n===An.ShadowDom,s=e.selectRootElement(t,i);return Iy(s),s}function Iy(e){Ey(e)}var Ey=()=>null;function Dy(e,t,n,r){let o=Gd(t);o.push(n),e.firstCreatePass&&Qd(e).push(r,o.length-1)}function wy(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Mu()&&(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 ml(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=Je.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?yl(r,n,l,a,c):yl(r,n,l,a)}return r}function yl(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 by(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=ml(0,d.inputs,u,c,f),l=ml(1,d.outputs,u,l,h);let g=c!==null&&s!==null&&!Pa(t)?jy(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 Cy(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function nn(e,t,n,r,o,i,s,a){let c=me(t,n),l=t.inputs,u;!a&&l!=null&&(u=l[r])?(Ua(e,n,u,r,o),_o(t)&&My(n,t.index)):t.type&3?(r=Cy(r),o=s!=null?s(o,t.value||"",r):o,i.setProperty(c,r,o)):t.type&12}function My(e,t){let n=Ke(t,e);n[v]&16||(n[v]|=64)}function $a(e,t,n,r){if(Cu()){let o=r===null?null:{"":-1},i=Sy(e,n),s,a;i===null?s=a=null:[s,a]=i,s!==null&&Bd(e,t,n,s,o,a),o&&Oy(n,r,o)}n.mergedAttrs=On(n.mergedAttrs,n.attrs)}function Bd(e,t,n,r,o,i){for(let l=0;l<r.length;l++)Zi(Jr(n,t),e,r[l].type);Ay(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=Zn(e,t,r.length,null);for(let l=0;l<r.length;l++){let u=r[l];n.mergedAttrs=On(n.mergedAttrs,u.hostAttrs),ky(e,n,t,c,u),Ry(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++}by(e,n,i)}function _y(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;xy(s)!=a&&s.push(a),s.push(n,r,i)}}function xy(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function Ty(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;_o(n)&&Py(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||Jr(n,t),xe(r,t);let s=n.initialInputs;for(let a=o;a<i;a++){let c=e.data[a],l=yt(t,e,a,n);if(xe(l,t),s!==null&&Fy(t,a-o,l,c,n,s),Qe(c)){let u=Ke(n.index,t);u[X]=yt(t,e,a,n)}}}function Ud(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=gg();try{gt(i);for(let a=r;a<o;a++){let c=e.data[a],l=t[a];zi(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&Ny(c,l)}}finally{gt(-1),zi(s)}}function Ny(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Sy(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(Fd(t,s.selectors,!1))if(r||(r=[]),Qe(s))if(s.findHostDirectiveDefs!==null){let a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),r.unshift(...a,s);let c=a.length;ms(e,t,c)}else r.unshift(s),ms(e,t,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,r,o),r.push(s)}return r===null?null:[r,o]}function ms(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function Oy(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 C(-301,!1);r.push(t[o],i)}}}function Ry(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Qe(t)&&(n[""]=e)}}function Ay(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function ky(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=ut(o.type,!0)),s=new mt(i,Qe(o),$o);e.blueprint[r]=s,n[r]=s,_y(e,t,r,Zn(e,n,o.hostVars,z),o)}function qd(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Py(e,t,n){let r=me(t,e),o=$d(n),i=e[Re].rendererFactory,s=Uo(e,Bo(e,o,null,qd(n),r,t,null,i.createRenderer(r,n),null,null,null));e[t.index]=s}function Ly(e,t,n,r,o,i){let s=me(e,t);Ba(t[O],s,i,e.value,n,r,o)}function Ba(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?Ie(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function Fy(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++];Vd(r,n,c,l,u,d)}}function jy(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 Wd(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function zd(e,t){let n=e.contentQueries;if(n!==null){let r=b(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];Oo(i),a.contentQueries(2,t[s],s)}}}finally{b(r)}}}function Uo(e,t){return e[Nn]?e[Qc][Ee]=t:e[Nn]=t,e[Qc]=t,t}function ys(e,t,n){Oo(0);let r=b(null);try{t(e,n)}finally{b(r)}}function Gd(e){return e[qr]??=[]}function Qd(e){return e.cleanup??=[]}function qo(e,t){let n=e[De],r=n?n.get(vt,null):null;r&&r.handleError(t)}function Ua(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];Vd(u,l,r,a,c,o)}}function qa(e,t,n){let r=To(t,e);Ed(e[O],r,n)}function Vy(e,t){let n=Ke(t,e),r=n[I];Hy(r,n);let o=n[Le];o!==null&&n[Wt]===null&&(n[Wt]=Ma(o,n[De])),Wa(r,n,n[X])}function Hy(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Wa(e,t,n){ya(t);try{let r=e.viewQuery;r!==null&&ys(1,r,n);let o=e.template;o!==null&&Hd(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Ae]?.finishViewCreation(e),e.staticContentQueries&&zd(e,t),e.staticViewQueries&&ys(2,e.viewQuery,n);let i=e.components;i!==null&&$y(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[v]&=-5,va()}}function $y(e,t){for(let n=0;n<t.length;n++)Vy(e,t[n])}function rn(e,t,n,r){let o=b(null);try{let i=t.tView,a=e[v]&4096?4096:16,c=Bo(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[t.index];c[dt]=l;let u=e[Ae];return u!==null&&(c[Ae]=u.createEmbeddedView(i)),Wa(i,c,n),c}finally{b(o)}}function Zd(e,t){let n=ee+t;if(n<e.length)return e[n]}function Et(e,t){return!t||t.firstChild===null||Ku(e)}function on(e,t,n,r=!0){let o=t[I];if(Ym(o,t,e,n),r){let s=gs(n,e),a=t[O],c=Aa(a,e[pt]);c!==null&&Qm(o,e[ne],a,t,c,s)}let i=t[Wt];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function za(e,t){let n=kn(e,t);return n!==void 0&&jo(n[I],n),n}function ro(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(ge(i)),Fe(i)&&By(i,r);let s=n.type;if(s&8)ro(e,t,n.child,r);else if(s&32){let a=Sa(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=Od(t,n);if(Array.isArray(a))r.push(...a);else{let c=ht(t[ae]);ro(c[I],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function By(e,t){for(let n=ee;n<e.length;n++){let r=e[n],o=r[I].firstChild;o!==null&&ro(r[I],r,o,t)}e[pt]!==e[Le]&&t.push(e[pt])}var Yd=[];function Uy(e){return e[fe]??qy(e)}function qy(e){let t=Yd.pop()??Object.create(zy);return t.lView=e,t}function Wy(e){e.lView[fe]!==e&&(e.lView=null,Yd.push(e))}var zy=ue(le({},st),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Un(e.lView)},consumerOnSignalRead(){this.lView[fe]=this}});function Gy(e){let t=e[fe]??Object.create(Qy);return t.lView=e,t}var Qy=ue(le({},st),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=ht(e.lView);for(;t&&!Jd(t[I]);)t=ht(t);t&&da(t)},consumerOnSignalRead(){this.lView[fe]=this}});function Jd(e){return e.type!==2}function Kd(e){if(e[ft]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[ft])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[v]&8192)}}var Zy=100;function Xd(e,t=!0,n=0){let o=e[Re].rendererFactory,i=!1;i||o.begin?.();try{Yy(e,n)}catch(s){throw t&&qo(e,s),s}finally{i||o.end?.()}}function Yy(e,t){let n=xu();try{Gr(!0),vs(e,t);let r=0;for(;No(e);){if(r===Zy)throw new C(103,!1);r++,vs(e,1)}}finally{Gr(n)}}function Jy(e,t,n,r){let o=t[v];if((o&256)===256)return;let i=!1,s=!1;ya(t);let a=!0,c=null,l=null;i||(Jd(e)?(l=Uy(t),c=kt(l)):Sc()===null?(a=!1,l=Gy(t),c=kt(l)):t[fe]&&(Pt(t[fe]),t[fe]=null));try{wu(t),fg(e.bindingStartIndex),n!==null&&Hd(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let f=e.preOrderCheckHooks;f!==null&&Or(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Rr(t,f,0,null),wi(t,0)}if(s||Ky(t),Kd(t),ef(t,0),e.contentQueries!==null&&zd(e,t),!i)if(u){let f=e.contentCheckHooks;f!==null&&Or(t,f)}else{let f=e.contentHooks;f!==null&&Rr(t,f,1),wi(t,1)}my(e,t);let d=e.components;d!==null&&nf(t,d,0);let p=e.viewQuery;if(p!==null&&ys(2,p,r),!i)if(u){let f=e.viewCheckHooks;f!==null&&Or(t,f)}else{let f=e.viewHooks;f!==null&&Rr(t,f,2),wi(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Sr]){for(let f of t[Sr])f();t[Sr]=null}i||(t[v]&=-73)}catch(u){throw i||Un(t),u}finally{l!==null&&(gn(l,c),a&&Wy(l)),va()}}function ef(e,t){for(let n=td(e);n!==null;n=nd(n))for(let r=ee;r<n.length;r++){let o=n[r];tf(o,t)}}function Ky(e){for(let t=td(e);t!==null;t=nd(t)){if(!(t[v]&zr.HasTransplantedViews))continue;let n=t[zt];for(let r=0;r<n.length;r++){let o=n[r];da(o)}}}function Xy(e,t,n){let r=Ke(t,e);tf(r,n)}function tf(e,t){ua(e)&&vs(e,t)}function vs(e,t){let r=e[I],o=e[v],i=e[fe],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&mn(i)),s||=!1,i&&(i.dirty=!1),e[v]&=-9217,s)Jy(r,e,r.template,e[X]);else if(o&8192){Kd(e),ef(e,1);let a=r.components;a!==null&&nf(e,a,1)}}function nf(e,t,n){for(let r=0;r<t.length;r++)Xy(e,t[r],n)}function Wo(e,t){let n=xu()?64:1088;for(e[Re].changeDetectionScheduler?.notify(t);e;){e[v]|=n;let r=ht(e);if(Bi(e)&&!r)return e;e=r}return null}var Dt=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){let t=this._lView,n=t[I];return ro(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r}get context(){return this._lView[X]}get dirty(){return!!(this._lView[v]&9280)||!!this._lView[fe]?.dirty}set context(t){this._lView[X]=t}get destroyed(){return(this._lView[v]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[Y];if(Fe(t)){let n=t[Wr],r=n?n.indexOf(this):-1;r>-1&&(kn(t,r),$r(n,r))}this._attachedToViewContainer=!1}jo(this._lView[I],this._lView)}onDestroy(t){fa(this._lView,t)}markForCheck(){Wo(this._cdRefInjectingView||this._lView,4)}markForRefresh(){da(this._cdRefInjectingView||this._lView)}detach(){this._lView[v]&=-129}reattach(){qi(this._lView),this._lView[v]|=128}detectChanges(){this._lView[v]|=1024,Xd(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new C(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Bi(this._lView),n=this._lView[dt];n!==null&&!t&&Ra(n,this._lView),wd(this._lView[I],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new C(902,!1);this._appRef=t;let n=Bi(this._lView),r=this._lView[dt];r!==null&&!n&&bd(r,this._lView),qi(this._lView)}},oo=(()=>{class e{static __NG_ELEMENT_ID__=nv}return e})(),ev=oo,tv=class extends ev{_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=rn(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new Dt(o)}};function nv(){return zo(W(),y())}function zo(e,t){return e.type&4?new tv(t,e,en(e,t)):null}function rf(e,t,n){let r=t.insertBeforeIndex,o=Array.isArray(r)?r[0]:r;return o===null?Td(e,t,n):ge(n[o])}function of(e,t,n,r,o){let i=t.insertBeforeIndex;if(Array.isArray(i)){let s=r,a=null;if(t.type&3||(a=s,s=o),s!==null&&t.componentOffset===-1)for(let c=1;c<i.length;c++){let l=n[i[c]];It(e,s,l,a,!1)}}}function sf(e,t){if(e.push(t),e.length>1)for(let n=e.length-2;n>=0;n--){let r=e[n];af(r)||rv(r,t)&&ov(r)===null&&iv(r,t.index)}}function af(e){return!(e.type&64)}function rv(e,t){return af(t)||e.index>t.index}function ov(e){let t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function iv(e,t){let n=e.insertBeforeIndex;Array.isArray(n)?n[0]=t:(Sd(rf,of),e.insertBeforeIndex=t)}function wn(e,t){let n=e.data[t];return n===null||typeof n=="string"?null:n.hasOwnProperty("currentCaseLViewIndex")?n:n.value}function sv(e,t,n){let r=e.data[t];r===null?e.data[t]=n:r.value=n}function av(e,t){let n=e.insertBeforeIndex;n===null?(Sd(rf,of),n=e.insertBeforeIndex=[null,t]):(hh(Array.isArray(n),!0,"Expecting array here"),n.push(t))}function cv(e,t,n){let r=La(e,n,64,null,null);return sf(t,r),r}function Go(e,t){let n=t[e.currentCaseLViewIndex];return n===null?n:n<0?~n:n}function lv(e){return e>>>17}function uv(e){return(e&131070)>>>1}function dv(e,t,n){return e|t<<17|n<<1}function fv(e){return e===-1}function cf(e,t,n){e.index=0;let r=Go(t,n);r!==null?e.removes=t.remove[r]:e.removes=K}function Is(e){if(e.index<e.removes.length){let t=e.removes[e.index++];if(t>0)return e.lView[t];{e.stack.push(e.index,e.removes);let n=~t,r=e.lView[I].data[n];return cf(e,r,e.lView),Is(e)}}else return e.stack.length===0?null:(e.removes=e.stack.pop(),e.index=e.stack.pop(),Is(e))}function pv(){let e={stack:[],index:-1};function t(n,r){for(e.lView=r;e.stack.length;)e.stack.pop();return cf(e,n.value,r),Is.bind(null,e)}return t}var zT=new RegExp(`^(\\d+)*(${tm}|${em})*(.*)`);var hv=()=>{};function gv(e,t,n,r){hv(e,t,n,r)}var mv=()=>{};function yv(e,t,n){mv(e,t,n)}var vv=()=>null;function Gt(e,t){return vv(e,t)}var Es=class{},io=class{},Ds=class{resolveComponentFactory(t){throw Error(`No component factory found for ${de(t)}.`)}},Qt=class{static NULL=new Ds},so=class{},GT=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>Iv()}return e})();function Iv(){let e=y(),t=W(),n=Ke(t.index,e);return(ze(n)?n:e)[O]}var Ev=(()=>{class e{static \u0275prov=B({token:e,providedIn:"root",factory:()=>null})}return e})();function ao(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=Pi(o,a);else if(i==2){let c=a,l=t[++s];r=Pi(r,c+": "+l+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}var co=class extends Qt{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=_e(t);return new wt(n,this.ngModule)}};function vl(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]:Je.None;t?n.push({propName:s,templateName:r,isSignal:(a&Je.SignalBased)!==0}):n.push({propName:s,templateName:r})}return n}function Dv(e){let t=e.toLowerCase();return t==="svg"?Du:t==="math"?ng:null}var wt=class extends io{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;get inputs(){let t=this.componentDef,n=t.inputTransforms,r=vl(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 vl(this.componentDef.outputs,!1)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=hy(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){let i=b(null);try{o=o||this.ngModule;let s=o instanceof Oe?o:o?.injector;s&&this.componentDef.getStandaloneInjector!==null&&(s=this.componentDef.getStandaloneInjector(s)||s);let a=s?new Bt(t,s):t,c=a.get(so,null);if(c===null)throw new C(407,!1);let l=a.get(Ev,null),u=a.get(Ye,null),d={rendererFactory:c,sanitizer:l,changeDetectionScheduler:u},p=c.createRenderer(null,this.componentDef),f=this.componentDef.selectors[0][0]||"div",h=r?vy(p,r,this.componentDef.encapsulation,a):Oa(p,f,Dv(f)),g=512;this.componentDef.signals?g|=4096:this.componentDef.onPush||(g|=16);let E=null;h!==null&&(E=Ma(h,a,!0));let m=Ha(0,null,null,1,0,null,null,null,null,null,null),_=Bo(null,m,null,g,null,null,d,p,a,null,E);ya(_);let U,F,G=null;try{let Q=this.componentDef,re,Tt=null;Q.findHostDirectiveDefs?(re=[],Tt=new Map,Q.findHostDirectiveDefs(Q,re,Tt),re.push(Q)):re=[Q];let Xa=wv(_,h);G=bv(Xa,h,Q,re,_,d,p),F=Bn(m,L),h&&_v(p,Q,h,r),n!==void 0&&xv(F,this.ngContentSelectors,n),U=Mv(G,Q,re,Tt,_,[Tv]),Wa(m,_,null)}catch(Q){throw G!==null&&es(G),es(_),Q}finally{va()}return new ws(this.componentType,U,en(F,_),_,F)}finally{b(i)}}},ws=class extends Es{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 Dt(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;Ua(i[I],i,o,t,n),this.previousInputValues.set(t,n);let s=Ke(this._tNode.index,i);Wo(s,1)}}get injector(){return new lt(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function wv(e,t){let n=e[I],r=L;return e[r]=t,xt(n,r,2,"#host",null)}function bv(e,t,n,r,o,i,s){let a=o[I];Cv(r,e,t,s);let c=null;t!==null&&(c=Ma(t,o[De]));let l=i.rendererFactory.createRenderer(t,n),u=Bo(o,$d(n),null,qd(n),o[e.index],e,i,l,null,null,c);return a.firstCreatePass&&ms(a,e,r.length-1),Uo(o,u),o[e.index]=u}function Cv(e,t,n,r){for(let o of e)t.mergedAttrs=On(t.mergedAttrs,o.hostAttrs);t.mergedAttrs!==null&&(ao(t,t.mergedAttrs,!0),n!==null&&Pd(r,n,t))}function Mv(e,t,n,r,o,i){let s=W(),a=o[I],c=me(s,o);Bd(a,o,s,n,null,r);for(let u=0;u<n.length;u++){let d=s.directiveStart+u,p=yt(o,a,d,s);xe(p,o)}Ud(a,o,s),c&&xe(c,o);let l=yt(o,a,s.directiveStart+s.componentOffset,s);if(e[X]=o[X]=l,i!==null)for(let u of i)u(l,t);return Fa(a,s,o),l}function _v(e,t,n,r){if(r)Gi(e,n,["ng-version","19.0.4"]);else{let{attrs:o,classes:i}=gy(t.selectors[0]);o&&Gi(e,n,o),i&&i.length>0&&kd(e,n,i.join(" "))}}function xv(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 Tv(){let e=W();Ro(y()[I],e)}var Ga=(()=>{class e{static __NG_ELEMENT_ID__=Nv}return e})();function Nv(){let e=W();return uf(e,y())}var Sv=Ga,lf=class extends Sv{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return en(this._hostTNode,this._hostLView)}get injector(){return new lt(this._hostTNode,this._hostLView)}get parentInjector(){let t=Ia(this._hostTNode,this._hostLView);if(Fu(t)){let n=Zr(t,this._hostLView),r=Qr(t),o=n[I].data[r+8];return new lt(o,n)}else return new lt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Il(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-ee}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Gt(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Et(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!Jh(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 wt(_e(t)),l=r||this.parentInjector;if(!i&&c.ngModule==null){let g=(s?l:this.parentInjector).get(Oe,null);g&&(i=g)}let u=_e(c.componentType??{}),d=Gt(this._lContainer,u?.id??null),p=d?.firstChild??null,f=c.create(l,o,p,i);return this.insertImpl(f.hostView,a,Et(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(og(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[Y],l=new lf(c,c[ne],c[Y]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return on(s,o,i,r),t.attachToViewContainerRef(),iu(xi(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Il(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=kn(this._lContainer,n);r&&($r(xi(this._lContainer),n),jo(r[I],r))}detach(t){let n=this._adjustIndex(t,-1),r=kn(this._lContainer,n);return r&&$r(xi(this._lContainer),n)!=null?new Dt(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Il(e){return e[Wr]}function xi(e){return e[Wr]||(e[Wr]=[])}function uf(e,t){let n,r=t[e.index];return Fe(r)?n=r:(n=Wd(r,t,null,e),t[e.index]=n,Uo(t,n)),Rv(n,t,e,r),new lf(n,e,t)}function Ov(e,t){let n=e[O],r=n.createComment(""),o=me(t,e),i=Aa(n,o);return It(n,i,r,Xm(n,o),!1),r}var Rv=kv,Av=()=>!1;function df(e,t,n){return Av(e,t,n)}function kv(e,t,n,r){if(e[pt])return;let o;n.type&8?o=ge(r):o=Ov(t,n),e[pt]=o}var bs=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Cs=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++)Za(t,n).matches!==null&&this.queries[n].setDirty()}},lo=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=Hv(t):this.predicate=t}},Ms=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)}},_s=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,Pv(n,i)),this.matchTNodeWithReadOption(t,n,Ar(n,t,i,!1,!1))}else r===oo?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Ar(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===Ao||o===Ga||o===oo&&n.type&4)this.addMatch(n.index,-2);else{let i=Ar(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 Pv(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 Lv(e,t){return e.type&11?en(e,t):e.type&4?zo(e,t):null}function Fv(e,t,n,r){return n===-1?Lv(t,e):n===-2?jv(e,t,r):yt(e,e[I],n,t)}function jv(e,t,n){if(n===Ao)return en(t,e);if(n===oo)return zo(t,e);if(n===Ga)return uf(t,e)}function ff(e,t,n,r){let o=t[Ae].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(Fv(t,u,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function xs(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=ff(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=ee;d<u.length;d++){let p=u[d];p[dt]===p[Y]&&xs(p[I],p,l,r)}if(u[zt]!==null){let d=u[zt];for(let p=0;p<d.length;p++){let f=d[p];xs(f[I],f,l,r)}}}}}return r}function Qa(e,t){return e[Ae].queries[t].queryList}function pf(e,t,n){let r=new Xi((n&4)===4);return Dy(e,t,r,r.destroy),(t[Ae]??=new Cs).queries.push(new bs(r))-1}function Vv(e,t,n){let r=A();return r.firstCreatePass&&(gf(r,new lo(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),pf(r,y(),t)}function hf(e,t,n,r){let o=A();if(o.firstCreatePass){let i=W();gf(o,new lo(t,n,r),i.index),$v(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return pf(o,y(),n)}function Hv(e){return e.split(",").map(t=>t.trim())}function gf(e,t,n){e.queries===null&&(e.queries=new Ms),e.queries.track(new _s(t,n))}function $v(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 Za(e,t){return e.queries.getByIndex(t)}function mf(e,t){let n=e[I],r=Za(n,t);return r.crossesNgTemplate?xs(n,e,t,[]):ff(n,e,r,t)}function Bv(e){return typeof e=="function"&&e[V]!==void 0}function bn(e,t){je("NgSignals");let n=Hc(e),r=n[V];return t?.equal&&(r.equal=t.equal),n.set=o=>yn(r,o),n.update=o=>$c(r,o),n.asReadonly=yf.bind(n),n}function yf(){let e=this[V];if(e.readonlyFn===void 0){let t=()=>this();t[V]=e,e.readonlyFn=t}return e.readonlyFn}function vf(e){return Bv(e)&&typeof e.set=="function"}function Ya(e,t,n){let r,o=vi(()=>{r._dirtyCounter();let i=zv(r,e);if(t&&i===void 0)throw new C(-951,!1);return i});return r=o[V],r._dirtyCounter=bn(0),r._flatValue=void 0,o}function Uv(e){return Ya(!0,!1,e)}function qv(e){return Ya(!0,!0,e)}function Wv(e){return Ya(!1,!1,e)}function If(e,t){let n=e[V];n._lView=y(),n._queryIndex=t,n._queryList=Qa(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function zv(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[v]&4)return t?void 0:K;let o=Qa(n,r),i=mf(n,r);return o.reset(i,Ju),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}function El(e,t){return Uv(t)}function Gv(e,t){return qv(t)}var ZT=(El.required=Gv,El);function YT(e,t){return Wv(t)}function Ef(e,t){let n=Object.create(zl),r=new to;n.value=e;function o(){return hn(n),Dl(n.value),n.value}return o[V]=n,o.asReadonly=yf.bind(o),o.set=i=>{n.equal(n.value,i)||(yn(n,i),r.emit(i))},o.update=i=>{Dl(n.value),o.set(i(n.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function Dl(e){if(e===Eo)throw new C(952,!1)}function wl(e,t){return Ef(e,t)}function Qv(e){return Ef(Eo,e)}var JT=(wl.required=Qv,wl);var bt=class{},Ts=class{};function KT(e,t){return new uo(e,t??null,[])}var uo=class extends bt{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new co(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=cu(t);this._bootstrapComponents=vd(i.bootstrap),this._r3Injector=zu(t,n,[{provide:bt,useValue:this},{provide:Qt,useValue:this.componentFactoryResolver},...r],de(t),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},Ns=class extends Ts{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new uo(this.moduleType,t,[])}};var fo=class extends bt{injector;componentFactoryResolver=new co(this);instance=null;constructor(t){super();let n=new Tn([...t.providers,{provide:bt,useValue:this},{provide:Qt,useValue:this.componentFactoryResolver}],t.parent||Co(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Df(e,t,n=null){return new fo({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var Zv=(()=>{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=ia(!1,n.type),o=r.length>0?Df([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=B({token:e,providedIn:"environment",factory:()=>new e(Ge(Oe))})}return e})();function XT(e){return Hn(()=>{let t=wf(e),n=ue(le({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Xu.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(Zv).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||An.Emulated,styles:e.styles||K,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&je("NgStandalone"),bf(n);let r=e.dependencies;return n.directiveDefs=Cl(r,!1),n.pipeDefs=Cl(r,!0),n.id=Kv(n),n})}function Yv(e){return _e(e)||ra(e)}function Jv(e){return e!==null}function eN(e){return Hn(()=>({type:e.type,bootstrap:e.bootstrap||K,declarations:e.declarations||K,imports:e.imports||K,exports:e.exports||K,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function bl(e,t){if(e==null)return Ut;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=Je.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==Je.None?[r,a]:r,t[i]=s):n[i]=r}return n}function tN(e){return Hn(()=>{let t=wf(e);return bf(t),t})}function nN(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 wf(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||Ut,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||K,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:bl(e.inputs,t),outputs:bl(e.outputs),debugInfo:null}}function bf(e){e.features?.forEach(t=>t(e))}function Cl(e,t){if(!e)return null;let n=t?oa:Yv;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(Jv)}function Kv(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 Xv(e){return Object.getPrototypeOf(e.prototype).constructor}function eI(e){let t=Xv(e.type),n=!0,r=[e];for(;t;){let o;if(Qe(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new C(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=_r(e.inputs),s.inputTransforms=_r(e.inputTransforms),s.declaredInputs=_r(e.declaredInputs),s.outputs=_r(e.outputs);let a=o.hostBindings;a&&iI(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&rI(e,c),l&&oI(e,l),tI(e,o),fh(e.outputs,o.outputs),Qe(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===eI&&(n=!1)}}t=Object.getPrototypeOf(t)}nI(r)}function tI(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 nI(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=On(o.hostAttrs,n=On(n,o.hostAttrs))}}function _r(e){return e===Ut?{}:e===K?[]:e}function rI(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function oI(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function iI(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function rN(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 Cf(e){return Ja(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function sI(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 Ja(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function Qo(e,t,n){return e[t]=n}function aI(e,t){return e[t]}function ce(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Pn(e,t,n,r){let o=ce(e,t,n);return ce(e,t+1,r)||o}function cI(e,t,n,r,o){let i=Pn(e,t,n,r);return ce(e,t+2,o)||i}function lI(e,t,n,r,o,i){let s=Pn(e,t,n,r);return Pn(e,t+2,o,i)||s}function uI(e){return(e.flags&32)===32}function dI(e,t,n,r,o,i,s,a,c){let l=t.consts,u=xt(t,e,4,s||null,a||null);$a(t,n,u,ke(l,c)),Ro(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 Ln(e,t,n,r,o,i,s,a,c,l){let u=n+L,d=t.firstCreatePass?dI(u,t,e,r,o,i,s,a,c):t.data[u];we(d,!1);let p=pI(t,e,d,n);qn()&&Vo(t,e,p,d),xe(p,e);let f=Wd(p,e,p,d);return e[u]=f,Uo(e,f),df(f,d,e),xo(d)&&ja(t,e,d),c!=null&&Va(e,d,l),d}function fI(e,t,n,r,o,i,s,a){let c=y(),l=A(),u=ke(l.consts,i);return Ln(c,l,e,t,n,r,o,u,s,a),fI}var pI=hI;function hI(e,t,n,r){return Wn(!0),t[O].createComment("")}var gI=(()=>{class e{cachedInjectors=new Map;getOrCreateInjector(n,r,o,i){if(!this.cachedInjectors.has(n)){let s=o.length>0?Df(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=B({token:e,providedIn:"environment",factory:()=>new e})}return e})();var mI=new R("");function Ti(e,t,n){return e.get(gI).getOrCreateInjector(t,e,n,"")}function yI(e,t,n){if(e instanceof Bt){let o=e.injector,i=e.parentInjector,s=Ti(i,t,n);return new Bt(o,s)}let r=e.get(Oe);if(r!==e){let o=Ti(r,t,n);return new Bt(e,o)}return Ti(e,t,n)}function ct(e,t,n,r=!1){let o=n[Y],i=o[I];if(Kh(o))return;let s=zn(o,t),a=s[ko],c=s[dm];if(!(c!==null&&e<c)&&Ml(a,e)&&Ml(s[am]??-1,e)){let l=Gn(i,t),d=!r&&!0&&(ym(l)!==null||cl(l,$.Loading)!==null||cl(l,$.Placeholder))?DI:II;try{d(e,s,n,t,o)}catch(p){qo(o,p)}}}function vI(e,t){let n=e[Ht];return n===null||n.length===0?null:n.find(r=>r.data[od]===t[ko])??null}function II(e,t,n,r,o){let i=mm(e,o,r);if(i!==null){t[ko]=e;let s=o[I],a=i+L,c=Bn(s,a),l=0;za(n,l);let u;if(e===$.Complete){let f=Gn(s,r),h=f.providers;h&&h.length>0&&(u=yI(o[De],f,h))}let d=vI(n,t);if(n[Ht]===null||n[Ht].length===0||d){n[Ht]=null;let f=rn(o,c,null,{injector:u,dehydratedView:d});on(n,f,l,Et(c,d)),Wo(f,2)}if(e===$.Complete&&Array.isArray(t[Mi])){for(let f of t[Mi])f();t[Mi]=null}}}function Ml(e,t){return e<t}function EI(e,t){let n=e[t.index];ct($.Placeholder,t,n)}function _l(e,t,n){e.loadingPromise.then(()=>{e.loadingState===se.COMPLETE?ct($.Complete,t,n):e.loadingState===se.FAILED&&ct($.Error,t,n)})}var DI=null;var oN=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var wI=new R("");function Mf(e){return!!e&&typeof e.then=="function"}function bI(e){return!!e&&typeof e.subscribe=="function"}var CI=new R("");var _f=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=T(CI,{optional:!0})??[];injector=T(Ze);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=pu(this.injector,o);if(Mf(i))n.push(i);else if(bI(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=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),xf=(()=>{class e{static \u0275prov=B({token:e,providedIn:"root",factory:()=>new po})}return e})(),po=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()}},MI=new R("");function _I(){Vc(()=>{throw new C(600,!1)})}function xI(e){return e.isBoundToModule}var TI=10;function NI(e,t,n){try{let r=n();return Mf(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var Zo=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=T(qg);afterRenderManager=T(im);zonelessEnabled=T(Ea);rootEffectScheduler=T(xf);dirtyFlags=0;deferredDirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new pe;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=T(_t).hasPendingTasks.pipe(be(n=>!n));constructor(){T(ad,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=T(Oe);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){let o=n instanceof io;if(!this._injector.get(_f).done){let p=!o&&jh(n),f=!1;throw new C(405,f)}let s;o?s=n:s=this._injector.get(Qt).resolveComponentFactory(n),this.componentTypes.push(s.componentType);let a=xI(s)?void 0:this._injector.get(bt),c=r||s.selector,l=s.create(Ze.NULL,[],c,a),u=l.location.nativeElement,d=l.injector.get(wI,null);return d?.registerApplication(u),l.onDestroy(()=>{this.detachView(l.hostView),Pr(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(sd.CHANGE_DETECTION,this._tick),r.dispose();return}if(this._runningTick)throw new C(101,!1);let n=b(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,b(n),this.afterTick.next()}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(so,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let n=0;for(;this.dirtyFlags!==0&&n++<TI;)this.synchronizeOnce()}synchronizeOnce(){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),this.dirtyFlags&7){let n=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:r,notifyErrorHandler:o}of this.allViews)SI(r,o,n,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}else this._rendererFactory?.begin?.(),this._rendererFactory?.end?.();this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>No(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;Pr(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(MI,[]).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),()=>Pr(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new C(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=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Pr(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function SI(e,t,n,r){if(!n&&!No(e))return;Xd(e,t,n&&!r?0:1)}function OI(e,t,n){let r=t[De],o=t[I];if(e.loadingState!==se.NOT_STARTED)return e.loadingPromise??Promise.resolve();let i=zn(t,n),s=vm(o,e);e.loadingState=se.IN_PROGRESS,kr(1,i);let a=e.dependencyResolverFn,c=r.get(_t),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,E=_e(g)||ra(g);if(E)p.push(E);else{let m=oa(g);m&&f.push(m)}}else{d=!0;break}if(e.loadingPromise=null,c.remove(l),d){if(e.loadingState=se.FAILED,e.errorTmplIndex===null){let h="",g=new C(750,!1);qo(t,g)}}else{e.loadingState=se.COMPLETE;let h=s.tView;if(p.length>0){h.directiveRegistry=ll(h.directiveRegistry,p);let g=p.map(m=>m.type),E=ia(!1,...g);e.providers=E}f.length>0&&(h.pipeRegistry=ll(h.pipeRegistry,f))}}),e.loadingPromise):(e.loadingPromise=Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=se.COMPLETE,c.remove(l)}),e.loadingPromise)}function RI(e,t){return t[De].get(mI,null,{optional:!0})?.behavior!==cd.Manual}function AI(e,t,n){let r=t[I],o=t[n.index];if(!RI(e,t))return;let i=zn(t,n),s=Gn(r,n);switch(ld(i),s.loadingState){case se.NOT_STARTED:ct($.Loading,n,o),OI(s,t,n),s.loadingState===se.IN_PROGRESS&&_l(s,n,o);break;case se.IN_PROGRESS:ct($.Loading,n,o),_l(s,n,o);break;case se.COMPLETE:ct($.Complete,n,o);break;case se.FAILED:ct($.Error,n,o);break;default:}}function kI(e,t,n){return e===0?xl(t,n):e===2?!xl(t,n):!0}function xl(e,t){let n=e[De],r=Gn(e[I],t),o=Dm(n),i=r.flags!==null&&(r.flags&1)===1,a=zn(e,t)[um]!==null;return!(i&&a&&o)}function iN(e,t,n,r,o,i,s,a,c,l){let u=y(),d=A(),p=e+L,f=Ln(u,d,e,null,0,0),h=u[De];if(d.firstCreatePass){je("NgDefer");let G={primaryTmplIndex:t,loadingTmplIndex:r??null,placeholderTmplIndex:o??null,errorTmplIndex:i??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:n??null,loadingState:se.NOT_STARTED,loadingPromise:null,providers:null,hydrateTriggers:null,prefetchTriggers:null,flags:l??0};c?.(d,G,a,s),gm(d,p,G)}let g=u[p];df(g,f,u);let E=null,m=null;if(g[Ht]?.length>0){let G=g[Ht][0].data;m=G[nm]??null,E=G[od]}let _=[null,no.Initial,null,null,null,null,m,E,null,null];hm(u,p,_);let U=null;m!==null&&(U=h.get(Im),U.add(m,{lView:u,tNode:f,lContainer:g}));let F=()=>{ld(_),m!==null&&U?.cleanup([m])};pm(0,_,()=>bu(u,F)),fa(u,F)}function sN(e){let t=y(),n=Mt();if(!kI(0,t,n))return;let r=Xe();if(ce(t,r,e)){let o=b(null);try{let i=!!e,a=zn(t,n)[ko];i===!1&&a===no.Initial?EI(t,n):i===!0&&(a===no.Initial||a===$.Placeholder)&&AI(0,t,n)}finally{b(o)}}}function PI(e,t,n,r){let o=y(),i=Xe();if(ce(o,i,t)){let s=A(),a=Mt();Ly(a,o,e,t,n,r)}return PI}function Tf(e,t,n,r){return ce(e,Xe(),n)?t+Ie(n)+r:z}function Nf(e,t,n,r,o,i){let s=ga(),a=Pn(e,s,n,o);return So(2),a?t+Ie(n)+r+Ie(o)+i:z}function Sf(e,t,n,r,o,i,s,a){let c=ga(),l=cI(e,c,n,o,s);return So(3),l?t+Ie(n)+r+Ie(o)+i+Ie(s)+a:z}function xr(e,t){return e<<17|t<<2}function Ct(e){return e>>17&32767}function LI(e){return(e&2)==2}function FI(e,t){return e&131071|t<<17}function Ss(e){return e|2}function Zt(e){return(e&131068)>>2}function Ni(e,t){return e&-131069|t<<2}function jI(e){return(e&1)===1}function Os(e){return e|1}function VI(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Ct(s),c=Zt(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||$n(d,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let p=Ct(e[a+1]);e[r+1]=xr(p,a),p!==0&&(e[p+1]=Ni(e[p+1],r)),e[a+1]=FI(e[a+1],r)}else e[r+1]=xr(a,0),a!==0&&(e[a+1]=Ni(e[a+1],r)),a=r;else e[r+1]=xr(c,0),a===0?a=r:e[c+1]=Ni(e[c+1],r),c=r;l&&(e[r+1]=Ss(e[r+1])),Tl(e,u,r,!0),Tl(e,u,r,!1),HI(t,u,e,r,i),s=xr(a,c),i?t.classBindings=s:t.styleBindings=s}function HI(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&$n(i,t)>=0&&(n[r+1]=Os(n[r+1]))}function Tl(e,t,n,r){let o=e[n+1],i=t===null,s=r?Ct(o):Zt(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];$I(c,t)&&(a=!0,e[s+1]=r?Os(l):Ss(l)),s=r?Ct(l):Zt(l)}a&&(e[n+1]=r?Ss(o):Os(o))}function $I(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?$n(e,t)>=0:!1}var H={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Of(e){return e.substring(H.key,H.keyEnd)}function BI(e){return e.substring(H.value,H.valueEnd)}function UI(e){return kf(e),Rf(e,Yt(e,0,H.textEnd))}function Rf(e,t){let n=H.textEnd;return n===t?-1:(t=H.keyEnd=WI(e,H.key=t,n),Yt(e,t,n))}function qI(e){return kf(e),Af(e,Yt(e,0,H.textEnd))}function Af(e,t){let n=H.textEnd,r=H.key=Yt(e,t,n);return n===r?-1:(r=H.keyEnd=zI(e,r,n),r=Nl(e,r,n,58),r=H.value=Yt(e,r,n),r=H.valueEnd=GI(e,r,n),Nl(e,r,n,59))}function kf(e){H.key=0,H.keyEnd=0,H.value=0,H.valueEnd=0,H.textEnd=e.length}function Yt(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function WI(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function zI(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 Nl(e,t,n,r){return t=Yt(e,t,n),t<n&&t++,t}function GI(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=Sl(e,c,s,n):t===s-4&&i===85&&o===82&&r===76&&c===40?a=s=Sl(e,41,s,n):c>32&&(a=s),i=o,o=r,r=c&-33}return a}function Sl(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 QI(e,t,n){let r=y(),o=Xe();if(ce(r,o,t)){let i=A(),s=Mt();nn(i,s,r,e,t,r[O],n,!1)}return QI}function Rs(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";Ua(e,n,i[s],s,r)}function ZI(e,t,n){return Pf(e,t,n,!1),ZI}function YI(e,t){return Pf(e,t,null,!0),YI}function aN(e){Lf(Vf,JI,e,!1)}function JI(e,t){for(let n=qI(t);n>=0;n=Af(t,n))Vf(e,Of(t),BI(t))}function cN(e){Lf(oE,KI,e,!0)}function KI(e,t){for(let n=UI(t);n>=0;n=Rf(t,n))bo(e,Of(t),!0)}function Pf(e,t,n,r){let o=y(),i=A(),s=So(2);if(i.firstUpdatePass&&jf(i,e,s,r),t!==z&&ce(o,s,t)){let a=i.data[Te()];Hf(i,a,o,o[O],e,o[s+1]=sE(t,n),r,s)}}function Lf(e,t,n,r){let o=A(),i=So(2);o.firstUpdatePass&&jf(o,null,i,r);let s=y();if(n!==z&&ce(s,i,n)){let a=o.data[Te()];if($f(a,r)&&!Ff(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=Pi(c,n||"")),Rs(o,a,s,n,r)}else iE(o,a,s,s[O],s[i+1],s[i+1]=rE(e,t,n),r,i)}}function Ff(e,t){return t>=e.expandoStartIndex}function jf(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[Te()],s=Ff(e,n);$f(i,r)&&t===null&&!s&&(t=!1),t=XI(o,i,t,r),VI(o,i,t,n,s,r)}}function XI(e,t,n,r){let o=mg(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Si(null,e,t,n,r),n=Fn(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Si(o,e,t,n,r),i===null){let c=eE(e,t,r);c!==void 0&&Array.isArray(c)&&(c=Si(null,e,t,c[1],r),c=Fn(c,t.attrs,r),tE(e,t,r,c))}else i=nE(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function eE(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Zt(r)!==0)return e[Ct(r)]}function tE(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[Ct(o)]=r}function nE(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Fn(r,s,n)}return Fn(r,t.attrs,n)}function Si(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=Fn(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Fn(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]),bo(e,s,n?!0:t[++i]))}return e===void 0?null:e}function rE(e,t,n){if(n==null||n==="")return K;let r=[],o=tn(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 Vf(e,t,n){bo(e,t,tn(n))}function oE(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&bo(e,r,n)}function iE(e,t,n,r,o,i,s,a){o===z&&(o=K);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&&Hf(e,t,n,r,h,g,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function Hf(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,l=c[a+1],u=jI(l)?Ol(c,t,n,o,Zt(l),s):void 0;if(!ho(u)){ho(i)||LI(l)&&(i=Ol(c,null,n,o,a,s));let d=To(Te(),n);ny(r,s,d,o,i)}}function Ol(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?K:void 0);let f=d?Ei(p,r):u===r?p:void 0;if(l&&!ho(f)&&(f=Ei(c,r)),ho(f)&&(a=f,s))return a;let h=e[o+1];o=s?Ct(h):Zt(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Ei(c,r))}return a}function ho(e){return e!==void 0}function sE(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=de(tn(e)))),e}function $f(e,t){return(e.flags&(t?8:16))!==0}var As=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 Oi(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function aE(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=Oi(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=Oi(s,p,c,f,n);if(h!==0){h<0&&e.updateValue(s,f),s--,c--;continue}let g=n(i,l),E=n(s,p),m=n(i,u);if(Object.is(m,E)){let _=n(c,f);Object.is(_,g)?(e.swap(i,s),e.updateValue(s,f),c--,s--):e.move(s,i),e.updateValue(i,u),i++;continue}if(r??=new go,o??=Al(e,i,s,n),ks(e,r,i,m))e.updateValue(i,u),i++,s++;else if(o.has(m))r.set(g,e.detach(i)),s--;else{let _=e.create(i,t[i]);e.attach(i,_),i++,s++}}for(;i<=c;)Rl(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=Oi(i,u,i,d,n);if(p!==0)p<0&&e.updateValue(i,d),i++,l=c.next();else{r??=new go,o??=Al(e,i,s,n);let f=n(i,d);if(ks(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;)Rl(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 ks(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Rl(e,t,n,r,o){if(ks(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 go=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 lN(e,t){je("NgControlFlow");let n=y(),r=Xe(),o=n[r]!==z?n[r]:-1,i=o!==-1?mo(n,L+o):void 0,s=0;if(ce(n,r,e)){let a=b(null);try{if(i!==void 0&&za(i,s),e!==-1){let c=L+e,l=mo(n,c),u=js(n[I],c),d=Gt(l,u.tView.ssrId),p=rn(n,u,t,{dehydratedView:d});on(l,p,s,Et(u,d))}}finally{b(a)}}else if(i!==void 0){let a=Zd(i,s);a!==void 0&&(a[X]=t)}}var Ps=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-ee}};function uN(e){return e}var Ls=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function dN(e,t,n,r,o,i,s,a,c,l,u,d,p){je("NgControlFlow");let f=y(),h=A(),g=c!==void 0,E=y(),m=a?s.bind(E[ae][X]):s,_=new Ls(g,m);E[L+e]=_,Ln(f,h,e+1,t,n,r,o,ke(h.consts,i)),g&&Ln(f,h,e+2,c,l,u,d,ke(h.consts,p))}var Fs=class extends As{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-ee}at(t){return this.getLView(t)[X].$implicit}attach(t,n){let r=n[Wt];this.needsIndexUpdate||=t!==this.length,on(this.lContainer,n,t,Et(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,cE(this.lContainer,t)}create(t,n){let r=Gt(this.lContainer,this.templateTNode.tView.ssrId),o=rn(this.hostLView,this.templateTNode,new Ps(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){jo(t[I],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[X].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[X].$index=t}getLView(t){return lE(this.lContainer,t)}};function fN(e){let t=b(null),n=Te();try{let r=y(),o=r[I],i=r[n],s=n+1,a=mo(r,s);if(i.liveCollection===void 0){let l=js(o,s);i.liveCollection=new Fs(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(aE(c,e,i.trackByFn),c.updateIndexes(),i.hasEmptyBlock){let l=Xe(),u=c.length===0;if(ce(r,l,u)){let d=n+2,p=mo(r,d);if(u){let f=js(o,d),h=Gt(p,f.tView.ssrId),g=rn(r,f,void 0,{dehydratedView:h});on(p,g,0,Et(f,h))}else za(p,0)}}}finally{b(t)}}function mo(e,t){return e[t]}function cE(e,t){return kn(e,t)}function lE(e,t){return Zd(e,t)}function js(e,t){return Bn(e,t)}function uE(e,t,n,r,o,i){let s=t.consts,a=ke(s,o),c=xt(t,e,2,r,a);return $a(t,n,c,ke(s,i)),c.attrs!==null&&ao(c,c.attrs,!1),c.mergedAttrs!==null&&ao(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function Bf(e,t,n,r){let o=y(),i=A(),s=L+e,a=o[O],c=i.firstCreatePass?uE(s,i,o,t,n,r):i.data[s],l=fE(i,o,c,a,t,e);o[s]=l;let u=xo(c);return we(c,!0),Pd(a,l,c),!uI(c)&&qn()&&Vo(i,o,l,c),sg()===0&&xe(l,o),ag(),u&&(ja(i,o,c),Fa(i,c,o)),r!==null&&Va(o,c),Bf}function Uf(){let e=W();pa()?ha():(e=e.parent,we(e,!1));let t=e;lg(t)&&ug(),cg();let n=A();return n.firstCreatePass&&(Ro(n,e),ca(e)&&n.queries.elementEnd(e)),t.classesWithoutHost!=null&&bg(t)&&Rs(n,t,y(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&Cg(t)&&Rs(n,t,y(),t.stylesWithoutHost,!1),Uf}function dE(e,t,n,r){return Bf(e,t,n,r),Uf(),dE}var fE=(e,t,n,r,o,i)=>(Wn(!0),Oa(r,o,Ig()));function pE(e,t,n,r,o){let i=t.consts,s=ke(i,r),a=xt(t,e,8,"ng-container",s);s!==null&&ao(a,s,!0);let c=ke(i,o);return $a(t,n,a,c),t.queries!==null&&t.queries.elementStart(t,a),a}function qf(e,t,n){let r=y(),o=A(),i=e+L,s=o.firstCreatePass?pE(i,o,r,t,n):o.data[i];we(s,!0);let a=gE(o,r,s,e);return r[i]=a,qn()&&Vo(o,r,a,s),xe(a,r),xo(s)&&(ja(o,r,s),Fa(o,s,r)),n!=null&&Va(r,s),qf}function Wf(){let e=W(),t=A();return pa()?ha():(e=e.parent,we(e,!1)),t.firstCreatePass&&(Ro(t,e),ca(e)&&t.queries.elementEnd(e)),Wf}function hE(e,t,n){return qf(e,t,n),Wf(),hE}var gE=(e,t,n,r)=>(Wn(!0),Dd(t[O],""));function pN(){return y()}var at=void 0;function mE(e){let t=e,n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return n===1&&r===0?1:5}var yE=["en",[["a","p"],["AM","PM"],at],[["AM","PM"],at,at],[["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"]],at,[["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"]],at,[["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}",at,"{1} 'at' {0}",at],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",mE],Cn={};function hN(e,t,n){typeof t!="string"&&(n=t,t=e[jn.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),Cn[t]=e,n&&(Cn[t][jn.ExtraData]=n)}function zf(e){let t=IE(e),n=kl(t);if(n)return n;let r=t.split("-")[0];if(n=kl(r),n)return n;if(r==="en")return yE;throw new C(701,!1)}function gN(e){return zf(e)[jn.CurrencyCode]||null}function vE(e){return zf(e)[jn.PluralCase]}function kl(e){return e in Cn||(Cn[e]=Ue.ng&&Ue.ng.common&&Ue.ng.common.locales&&Ue.ng.common.locales[e]),Cn[e]}var jn=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}(jn||{});function IE(e){return e.toLowerCase().replace(/_/g,"-")}var EE=["zero","one","two","few","many"];function DE(e,t){let n=vE(t)(parseInt(e,10)),r=EE[n];return r!==void 0?r:"other"}var yo="en-US",wE="USD",Gf={marker:"element"},Qf={marker:"ICU"},Se=function(e){return e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT",e}(Se||{}),Zf=yo;function bE(e){typeof e=="string"&&(Zf=e.toLowerCase().replace(/_/g,"-"))}function CE(){return Zf}var Vn=0,Mn=0;function ME(e){e&&(Vn=Vn|1<<Math.min(Mn,31)),Mn++}function _E(e,t,n){if(Mn>0){let r=e.data[n],o=Array.isArray(r)?r:r.update,i=ga()-Mn-1;Jf(e,t,o,i,Vn)}Vn=0,Mn=0}function xE(e,t,n){let r=e[O];switch(n){case Node.COMMENT_NODE:return Dd(r,t);case Node.TEXT_NODE:return Id(r,t);case Node.ELEMENT_NODE:return Oa(r,t,null)}}var Lr=(e,t,n,r)=>(Wn(!0),xE(e,n,r));function TE(e,t,n,r){let o=e[O];for(let i=0;i<t.length;i++){let s=t[i++],a=t[i],c=(s&Se.COMMENT)===Se.COMMENT,l=(s&Se.APPEND_EAGERLY)===Se.APPEND_EAGERLY,u=s>>>Se.SHIFT,d=e[u],p=!1;d===null&&(d=e[u]=Lr(e,u,a,c?Node.COMMENT_NODE:Node.TEXT_NODE),p=qn()),l&&n!==null&&p&&It(o,n,d,r,!1)}}function Yf(e,t,n,r){let o=n[O],i=null,s;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="string"){let l=t[++a];n[l]===null&&(n[l]=Lr(n,l,c,Node.TEXT_NODE))}else if(typeof c=="number")switch(c&1){case 0:let l=lv(c);i===null&&(i=l,s=Aa(o,r));let u,d;if(l===i?(u=r,d=s):(u=null,d=ge(n[l])),d!==null){let g=uv(c),E=n[g];It(o,d,E,u,!1);let m=wn(e,g);if(m!==null&&typeof m=="object"){let _=Go(m,n);_!==null&&Yf(e,m.create[_],n,n[m.anchorIdx])}}break;case 1:let p=c>>>1,f=t[++a],h=t[++a];Ba(o,To(p,n),null,null,f,h,null);break;default:}else switch(c){case Qf:let l=t[++a],u=t[++a];if(n[u]===null){let f=n[u]=Lr(n,u,l,Node.COMMENT_NODE);xe(f,n)}break;case Gf:let d=t[++a],p=t[++a];if(n[p]===null){let f=n[p]=Lr(n,p,d,Node.ELEMENT_NODE);xe(f,n)}break;default:}}}function Jf(e,t,n,r,o){for(let i=0;i<n.length;i++){let s=n[i],a=n[++i];if(s&o){let c="";for(let l=i+1;l<=i+a;l++){let u=n[l];if(typeof u=="string")c+=u;else if(typeof u=="number")if(u<0)c+=Ie(t[r-u]);else{let d=u>>>2;switch(u&3){case 1:let p=n[++l],f=n[++l],h=e.data[d];typeof h=="string"?Ba(t[O],t[d],null,h,p,c,f):nn(e,h,t,p,c,t[O],f,!1);break;case 0:let g=t[d];g!==null&&Ed(t[O],g,c);break;case 2:NE(e,wn(e,d),t,c);break;case 3:Pl(e,wn(e,d),r,t);break}}}}else{let c=n[i+1];if(c>0&&(c&3)===3){let l=c>>>2,u=wn(e,l);t[u.currentCaseLViewIndex]<0&&Pl(e,u,r,t)}}i+=a}}function Pl(e,t,n,r){let o=r[t.currentCaseLViewIndex];if(o!==null){let i=Vn;o<0&&(o=r[t.currentCaseLViewIndex]=~o,i=-1),Jf(e,r,t.update[o],n,i)}}function NE(e,t,n,r){let o=SE(t,r);if(Go(t,n)!==o&&(Kf(e,t,n),n[t.currentCaseLViewIndex]=o===null?null:~o,o!==null)){let s=n[t.anchorIdx];s&&Yf(e,t.create[o],n,s),yv(n,t.anchorIdx,o)}}function Kf(e,t,n){let r=Go(t,n);if(r!==null){let o=t.remove[r];for(let i=0;i<o.length;i++){let s=o[i];if(s>0){let a=To(s,n);a!==null&&Rd(n[O],a)}else Kf(e,wn(e,~s),n)}}}function SE(e,t){let n=e.cases.indexOf(t);if(n===-1)switch(e.type){case 1:{let r=DE(t,CE());n=e.cases.indexOf(r),n===-1&&r!=="other"&&(n=e.cases.indexOf("other"));break}case 0:{n=e.cases.indexOf("other");break}}return n===-1?null:n}var vo=/�(\d+):?\d*�/gi;var OE=/�(\d+)�/,Xf=/^\s*(�\d+:?\d*�)\s*,\s*(select|plural)\s*,/,_n="\uFFFD",RE=/�\/?\*(\d+:\d+)�/gi,AE=/�(\/?[#*]\d+):?\d*�/gi,kE=/\uE500/g;function PE(e){return e.replace(kE," ")}function LE(e,t,n,r,o,i){let s=Sn(),a=[],c=[],l=[[]],u=[[]];o=jE(o,i);let d=PE(o).split(AE);for(let p=0;p<d.length;p++){let f=d[p];if(p&1){let h=f.charCodeAt(0)===47,g=f.charCodeAt(h?1:0),E=L+Number.parseInt(f.substring(h?2:1));if(h)l.shift(),u.shift(),we(Sn(),!1);else{let m=cv(e,l[0],E);l.unshift([]),we(m,!0);let _={kind:2,index:E,children:[],type:g===35?0:1};u[0].push(_),u.unshift(_.children)}}else{let h=Vs(f);for(let g=0;g<h.length;g++){let E=h[g];if(g&1){let m=E;if(typeof m!="object")throw new Error(`Unable to parse ICU expression in "${o}" message.`);let U=ep(e,s,l[0],n,a,"",!0).index;np(u[0],e,n,c,t,m,U)}else{let m=E;m!==""&&FE(u[0],e,s,l[0],a,c,n,m)}}}}e.data[r]={create:a,update:c,ast:u[0],parentTNodeIndex:t}}function ep(e,t,n,r,o,i,s){let a=Zn(e,r,1,null),c=a<<Se.SHIFT,l=Sn();t===l&&(l=null),l===null&&(c|=Se.APPEND_EAGERLY),s&&(c|=Se.COMMENT,zm(pv)),o.push(c,i===null?"":i);let u=La(e,a,s?32:1,i===null?"":i,null);sf(n,u);let d=u.index;return we(u,!1),l!==null&&t!==l&&av(l,d),u}function FE(e,t,n,r,o,i,s,a){let c=a.match(vo),u=ep(t,n,r,s,o,c?null:a,!1).index;c&&Fr(i,a,u,null,0,null),e.push({kind:0,index:u})}function Fr(e,t,n,r,o,i){let s=e.length,a=s+1;e.push(null,null);let c=s+2,l=t.split(vo),u=0;for(let d=0;d<l.length;d++){let p=l[d];if(d&1){let f=o+parseInt(p,10);e.push(-1-f),u=u|tp(f)}else p!==""&&e.push(p)}return e.push(n<<2|(r?1:0)),r&&e.push(r,i),e[s]=u,e[a]=e.length-c,u}function tp(e){return 1<<Math.min(e,31)}function Ll(e){let t,n="",r=0,o=!1,i;for(;(t=RE.exec(e))!==null;)o?t[0]===`${_n}/*${i}${_n}`&&(r=t.index,o=!1):(n+=e.substring(r,t.index+t[0].length),i=t[1],o=!0);return n+=e.slice(r),n}function jE(e,t){if(fv(t))return Ll(e);{let n=e.indexOf(`:${t}${_n}`)+2+t.toString().length,r=e.search(new RegExp(`${_n}\\/\\*\\d+:${t}${_n}`));return Ll(e.substring(n,r))}}function np(e,t,n,r,o,i,s){let a=0,c={type:i.type,currentCaseLViewIndex:Zn(t,n,1,null),anchorIdx:s,cases:[],create:[],remove:[],update:[]};BE(r,i,s),sv(t,s,c);let l=i.values,u=[];for(let d=0;d<l.length;d++){let p=l[d],f=[];for(let g=0;g<p.length;g++){let E=p[g];if(typeof E!="string"){let m=f.push(E)-1;p[g]=`<!--\uFFFD${m}\uFFFD-->`}}let h=[];u.push(h),a=HE(h,t,c,n,r,o,i.cases[d],p.join(""),f)|a}a&&UE(r,a,s),e.push({kind:3,index:s,cases:u,currentCaseLViewIndex:c.currentCaseLViewIndex})}function VE(e){let t=[],n=[],r=1,o=0;e=e.replace(Xf,function(s,a,c){return c==="select"?r=0:r=1,o=parseInt(a.slice(1),10),""});let i=Vs(e);for(let s=0;s<i.length;){let a=i[s++].trim();r===1&&(a=a.replace(/\s*(?:=)?(\w+)\s*/,"$1")),a.length&&t.push(a);let c=Vs(i[s++]);t.length>n.length&&n.push(c)}return{type:r,mainBinding:o,cases:t,values:n}}function Vs(e){if(!e)return[];let t=0,n=[],r=[],o=/[{}]/g;o.lastIndex=0;let i;for(;i=o.exec(e);){let a=i.index;if(i[0]=="}"){if(n.pop(),n.length==0){let c=e.substring(t,a);Xf.test(c)?r.push(VE(c)):r.push(c),t=a+1}}else{if(n.length==0){let c=e.substring(t,a);r.push(c),t=a+1}n.push("{")}}let s=e.substring(t);return r.push(s),r}function HE(e,t,n,r,o,i,s,a,c){let l=[],u=[],d=[];n.cases.push(s),n.create.push(l),n.remove.push(u),n.update.push(d);let f=fd(Ca()).getInertBodyElement(a),h=ds(f)||f;return h?rp(e,t,n,r,o,l,u,d,h,i,c,0):0}function rp(e,t,n,r,o,i,s,a,c,l,u,d){let p=0,f=c.firstChild;for(;f;){let h=Zn(t,r,1,null);switch(f.nodeType){case Node.ELEMENT_NODE:let g=f,E=g.tagName.toLowerCase();if(ls.hasOwnProperty(E)){Ri(i,Gf,E,l,h),t.data[h]=E;let F=g.attributes;for(let Q=0;Q<F.length;Q++){let re=F.item(Q),Tt=re.name.toLowerCase();!!re.value.match(vo)?md.hasOwnProperty(Tt)&&(Ta[Tt]?Fr(a,re.value,h,re.name,0,xa):Fr(a,re.value,h,re.name,0,null)):qE(i,h,re)}let G={kind:1,index:h,children:[]};e.push(G),p=rp(G.children,t,n,r,o,i,s,a,f,h,u,d+1)|p,Fl(s,h,d)}break;case Node.TEXT_NODE:let m=f.textContent||"",_=m.match(vo);Ri(i,null,_?"":m,l,h),Fl(s,h,d),_&&(p=Fr(a,m,h,null,0,null)|p),e.push({kind:0,index:h});break;case Node.COMMENT_NODE:let U=OE.exec(f.textContent||"");if(U){let F=parseInt(U[1],10),G=u[F];Ri(i,Qf,"",l,h),np(e,t,r,o,l,G,h),$E(s,h,d)}break}f=f.nextSibling}return p}function Fl(e,t,n){n===0&&e.push(t)}function $E(e,t,n){n===0&&(e.push(~t),e.push(t))}function BE(e,t,n){e.push(tp(t.mainBinding),2,-1-t.mainBinding,n<<2|2)}function UE(e,t,n){e.push(t,1,n<<2|3)}function Ri(e,t,n,r,o){t!==null&&e.push(t),e.push(n,o,dv(0,r,o))}function qE(e,t,n){e.push(t<<1|1,n.name,n.value)}var jl=0,WE=/\[(�.+?�?)\]/,zE=/\[(�.+?�?)\]|(�\/?\*\d+:\d+�)/g,GE=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,QE=/{([A-Z0-9_]+)}/g,ZE=/�I18N_EXP_(ICU(_\d+)?)�/g,YE=/\/\*/,JE=/\d+\:(\d+)/;function KE(e,t={}){let n=e;if(WE.test(e)){let r={},o=[jl];n=n.replace(zE,(i,s,a)=>{let c=s||a,l=r[c]||[];if(l.length||(c.split("|").forEach(g=>{let E=g.match(JE),m=E?parseInt(E[1],10):jl,_=YE.test(g);l.push([m,_,g])}),r[c]=l),!l.length)throw new Error(`i18n postprocess: unmatched placeholder - ${c}`);let u=o[o.length-1],d=0;for(let g=0;g<l.length;g++)if(l[g][0]===u){d=g;break}let[p,f,h]=l[d];return f?o.pop():u!==p&&o.push(p),l.splice(d,1),h})}return Object.keys(t).length&&(n=n.replace(GE,(r,o,i,s,a,c)=>t.hasOwnProperty(i)?`${o}${t[i]}${c}`:r),n=n.replace(QE,(r,o)=>t.hasOwnProperty(o)?t[o]:r),n=n.replace(ZE,(r,o)=>{if(t.hasOwnProperty(o)){let i=t[o];if(!i.length)throw new Error(`i18n postprocess: unmatched ICU - ${r} with key: ${o}`);return i.shift()}return r})),n}function XE(e,t,n=-1){let r=A(),o=y(),i=L+e,s=ke(r.consts,t),a=Sn();if(r.firstCreatePass&&LE(r,a===null?0:a.index,o,i,s,n),r.type===2){let p=o[ae];p[v]|=32}else o[v]|=32;let c=r.data[i],l=a===o[ne]?null:a,u=Md(r,l,o),d=a&&a.type&8?o[a.index]:null;gv(o,i,a,n),TE(o,c.create,u,d),Tu(!0)}function eD(){Tu(!1)}function mN(e,t,n){XE(e,t,n),eD()}function tD(e){let t=y();return ME(ce(t,Xe(),e)),tD}function yN(e){_E(A(),y(),e+L)}function vN(e,t={}){return KE(e,t)}var nD=(e,t,n)=>{};function rD(e,t,n,r){let o=y(),i=A(),s=W();return op(i,o,o[O],s,e,t,r),rD}function oD(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[qr],c=o[i+2];return a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function op(e,t,n,r,o,i,s){let a=xo(r),l=e.firstCreatePass&&Qd(e),u=t[X],d=Gd(t),p=!0;if(r.type&3||s){let g=me(r,t),E=s?s(g):g,m=d.length,_=s?F=>s(ge(F[r.index])):r.index,U=null;if(!s&&a&&(U=oD(e,t,o,r.index)),U!==null){let F=U.__ngLastListenerFn__||U;F.__ngNextListenerFn__=i,U.__ngLastListenerFn__=i,p=!1}else{i=Hl(r,t,u,i),nD(g,o,i);let F=n.listen(E,o,i);d.push(i,F),l&&l.push(o,_,m,m+1)}}else i=Hl(r,t,u,i);let f=r.outputs,h;if(p&&f!==null&&(h=f[o])){let g=h.length;if(g)for(let E=0;E<g;E+=2){let m=h[E],_=h[E+1],G=t[m][_].subscribe(i),Q=d.length;d.push(i,G),l&&l.push(o,r.index,Q,-(Q+1))}}}function Vl(e,t,n,r){let o=b(null);try{return Ce(6,t,n),n(r)!==!1}catch(i){return qo(e,i),!1}finally{Ce(7,t,n),b(o)}}function Hl(e,t,n,r){return function o(i){if(i===Function)return r;let s=e.componentOffset>-1?Ke(e.index,t):t;Wo(s,5);let a=Vl(t,n,r,i),c=o.__ngNextListenerFn__;for(;c;)a=Vl(t,n,c,i)&&a,c=c.__ngNextListenerFn__;return a}}function IN(e=1){return vg(e)}function iD(e,t){let n=null,r=ly(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?Fd(e,i,!0):fy(r,i))return o}return n}function EN(e){let t=y()[ae][ne];if(!t.projection){let n=e?e.length:1,r=t.projection=Ph(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?iD(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function DN(e,t=0,n,r,o,i){let s=y(),a=A(),c=r?e+1:null;c!==null&&Ln(s,a,c,r,o,i,null,n);let l=xt(a,L+e,16,null,n||null);l.projection===null&&(l.projection=t),ha();let d=!s[Wt]||Mu();s[ae][ne].projection[l.projection]===null&&c!==null?sD(s,a,c):d&&(l.flags&32)!==32&&ey(a,s,l)}function sD(e,t,n){let r=L+n,o=t.data[r],i=e[r],s=Gt(i,o.tView.ssrId),a=rn(e,o,void 0,{dehydratedView:s});on(i,a,0,Et(o,s))}function aD(e,t,n){return ip(e,"",t,"",n),aD}function ip(e,t,n,r,o){let i=y(),s=Tf(i,t,n,r);if(s!==z){let a=A(),c=Mt();nn(a,c,i,e,s,i[O],o,!1)}return ip}function cD(e,t,n,r,o,i,s){let a=y(),c=Nf(a,t,n,r,o,i);if(c!==z){let l=A(),u=Mt();nn(l,u,a,e,c,a[O],s,!1)}return cD}function lD(e,t,n,r,o,i,s,a,c){let l=y(),u=Sf(l,t,n,r,o,i,s,a);if(u!==z){let d=A(),p=Mt();nn(d,p,l,e,u,l[O],c,!1)}return lD}function wN(e,t,n,r){hf(e,t,n,r)}function bN(e){let t=y(),n=A(),r=ma();Oo(r+1);let o=Za(n,r);if(e.dirty&&rg(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=mf(t,r);e.reset(i,Ju),e.notifyOnChanges()}return!0}return!1}function CN(){return Qa(y(),ma())}function MN(e,t,n,r,o){If(t,hf(e,n,r,o))}function _N(e,t,n,r){If(e,Vv(t,n,r))}function xN(e=1){Oo(ma()+e)}function sp(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function TN(e){let t=dg();return la(t,L+e)}function NN(e,t=""){let n=y(),r=A(),o=e+L,i=r.firstCreatePass?xt(r,o,1,t,null):r.data[o],s=uD(r,n,i,t,e);n[o]=s,qn()&&Vo(r,n,s,i),we(i,!1)}var uD=(e,t,n,r,o)=>(Wn(!0),Id(t[O],r));function dD(e){return ap("",e,""),dD}function ap(e,t,n){let r=y(),o=Tf(r,e,t,n);return o!==z&&qa(r,Te(),o),ap}function fD(e,t,n,r,o){let i=y(),s=Nf(i,e,t,n,r,o);return s!==z&&qa(i,Te(),s),fD}function pD(e,t,n,r,o,i,s){let a=y(),c=Sf(a,e,t,n,r,o,i,s);return c!==z&&qa(a,Te(),c),pD}function hD(e,t,n){vf(t)&&(t=t());let r=y(),o=Xe();if(ce(r,o,t)){let i=A(),s=Mt();nn(i,s,r,e,t,r[O],n,!1)}return hD}function SN(e,t){let n=vf(e);return n&&e.set(t),n}function gD(e,t){let n=y(),r=A(),o=W();return op(r,n,n[O],o,e,t),gD}var mD={};function yD(e){let t=A(),n=y(),r=e+L,o=xt(t,r,128,null,null);return we(o,!1),sp(t,n,r,mD),yD}function vD(e,t,n){let r=A();if(r.firstCreatePass){let o=Qe(e);Hs(n,r.data,r.blueprint,o,!0),Hs(t,r.data,r.blueprint,o,!1)}}function Hs(e,t,n,r,o){if(e=te(e),Array.isArray(e))for(let i=0;i<e.length;i++)Hs(e[i],t,n,r,o);else{let i=A(),s=y(),a=W(),c=qt(e)?e:te(e.provide),l=fu(e),u=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(qt(e)||!e.multi){let f=new mt(l,o,$o),h=ki(c,t,o?u:u+p,d);h===-1?(Zi(Jr(a,s),i,c),Ai(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=ki(c,t,u+p,d),h=ki(c,t,u,u+p),g=f>=0&&n[f],E=h>=0&&n[h];if(o&&!E||!o&&!g){Zi(Jr(a,s),i,c);let m=DD(o?ED:ID,n.length,o,r,l);!o&&E&&(n[h].providerFactory=m),Ai(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(m),s.push(m)}else{let m=cp(n[o?h:f],l,!o&&r);Ai(i,e,f>-1?f:h,m)}!o&&r&&E&&n[h].componentProviders++}}}function Ai(e,t,n,r){let o=qt(t),i=qh(t);if(o||i){let c=(i?te(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 cp(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function ki(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function ID(e,t,n,r){return $s(this.multi,[])}function ED(e,t,n,r){let o=this.multi,i;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=yt(n,n[I],this.providerFactory.index,r);i=a.slice(0,s),$s(o,i);for(let c=s;c<a.length;c++)i.push(a[c])}else i=[],$s(o,i);return i}function $s(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function DD(e,t,n,r,o){let i=new mt(e,n,$o);return i.multi=[],i.index=t,i.componentProviders=0,cp(i,o,r&&!n),i}function ON(e,t=[]){return n=>{n.providersResolver=(r,o)=>vD(r,o?o(e):e,t)}}function RN(e,t,n){let r=Kt()+e,o=y();return o[r]===z?Qo(o,r,n?t.call(n):t()):aI(o,r)}function AN(e,t,n,r){return lp(y(),Kt(),e,t,n,r)}function kN(e,t,n,r,o){return up(y(),Kt(),e,t,n,r,o)}function PN(e,t,n,r,o,i,s){return wD(y(),Kt(),e,t,n,r,o,i,s)}function Ka(e,t){let n=e[t];return n===z?void 0:n}function lp(e,t,n,r,o,i){let s=t+n;return ce(e,s,o)?Qo(e,s+1,i?r.call(i,o):r(o)):Ka(e,s+1)}function up(e,t,n,r,o,i,s){let a=t+n;return Pn(e,a,o,i)?Qo(e,a+2,s?r.call(s,o,i):r(o,i)):Ka(e,a+2)}function wD(e,t,n,r,o,i,s,a,c){let l=t+n;return lI(e,l,o,i,s,a)?Qo(e,l+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):Ka(e,l+4)}function LN(e,t){let n=A(),r,o=e+L;n.firstCreatePass?(r=bD(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=ut(r.type,!0)),s,a=ie($o);try{let c=Yr(!1),l=i();return Yr(c),sp(n,y(),o,l),l}finally{ie(a)}}function bD(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function FN(e,t,n){let r=e+L,o=y(),i=la(o,r);return dp(o,r)?lp(o,Kt(),t,i.transform,n,i):i.transform(n)}function jN(e,t,n,r){let o=e+L,i=y(),s=la(i,o);return dp(i,o)?up(i,Kt(),t,s.transform,n,r,s):s.transform(n,r)}function dp(e,t){return e[I].data[t].pure}function VN(e,t){return zo(e,t)}var $l=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 Bs=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},HN=(()=>{class e{compileModuleSync(n){return new Ns(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=cu(n),i=vd(o.declarations).reduce((s,a)=>{let c=_e(a);return c&&s.push(new wt(c)),s},[]);return new Bs(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=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var CD=(()=>{class e{zone=T(he);changeDetectionScheduler=T(Ye);applicationRef=T(Zo);_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=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function MD({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new he(ue(le({},_D()),{scheduleInRootZone:n})),[{provide:he,useFactory:e},{provide:Br,multi:!0,useFactory:()=>{let r=T(CD,{optional:!0});return()=>r.initialize()}},{provide:Br,multi:!0,useFactory:()=>{let r=T(xD);return()=>{r.initialize()}}},t===!0?{provide:Qu,useValue:!0}:[],{provide:Da,useValue:n??Gu}]}function _D(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var xD=(()=>{class e{subscription=new q;initialized=!1;zone=T(he);pendingTasks=T(_t);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(()=>{he.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{he.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var fp=(()=>{class e{appRef=T(Zo);taskService=T(_t);ngZone=T(he);zonelessEnabled=T(Ea);tracing=T(ad,{optional:!0});disableScheduling=T(Qu,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new q;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Xr):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(T(Da,{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 eo||!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?tl:Zu;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(Xr+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,tl(()=>{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=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function $N(){return je("NgZoneless"),Vh([{provide:Ye,useExisting:fp},{provide:he,useClass:eo},{provide:Ea,useValue:!0},{provide:Da,useValue:!1},[]])}function TD(){return typeof $localize<"u"&&$localize.locale||yo}var pp=new R("",{providedIn:"root",factory:()=>T(pp,N.Optional|N.SkipSelf)||TD()}),BN=new R("",{providedIn:"root",factory:()=>wE});var Us=new R("");function Tr(e){return!e.moduleRef}function ND(e){let t=Tr(e)?e.r3Injector:e.moduleRef.injector,n=t.get(he);return n.run(()=>{Tr(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(vt,null),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:i=>{r.handleError(i)}})}),Tr(e)){let i=()=>t.destroy(),s=e.platformInjector.get(Us);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Us);s.add(i),e.moduleRef.onDestroy(()=>{Pr(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return NI(r,n,()=>{let i=t.get(_f);return i.runInitializers(),i.donePromise.then(()=>{let s=t.get(pp,yo);if(bE(s||yo),Tr(e)){let a=t.get(Zo);return e.rootComponent!==void 0&&a.bootstrap(e.rootComponent),a}else return SD(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function SD(e,t){let n=e.injector.get(Zo);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new C(-403,!1);t.push(e)}var jr=null;function OD(e=[],t){return Ze.create({name:t,providers:[{provide:du,useValue:"platform"},{provide:Us,useValue:new Set([()=>jr=null])},...e]})}function RD(e=[]){if(jr)return jr;let t=OD(e);return jr=t,_I(),AD(t),t}function AD(e){let t=e.get(Kg,null);pu(e,()=>{t?.forEach(n=>n())})}var kD=(()=>{class e{static __NG_ELEMENT_ID__=PD}return e})();function PD(e){return LD(W(),y(),(e&16)===16)}function LD(e,t,n){if(_o(e)&&!n){let r=Ke(e.index,t);return new Dt(r,r)}else if(e.type&175){let r=t[ae];return new Dt(r,t)}return null}var qs=class{constructor(){}supports(t){return Cf(t)}create(t){return new Ws(t)}},FD=(e,t)=>t,Ws=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||FD}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<Bl(r,o,i)?n:r,a=Bl(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=[]),!Cf(t))throw new C(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,sI(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 zs(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 Io),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 Io),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}},zs=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}},Gs=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}},Io=class{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new Gs,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 Bl(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 Qs=class{constructor(){}supports(t){return t instanceof Map||Ja(t)}create(){return new Zs}},Zs=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||Ja(t)))throw new C(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 Ys(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))}},Ys=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function Ul(){return new jD([new qs])}var jD=(()=>{class e{factories;static \u0275prov=B({token:e,providedIn:"root",factory:Ul});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||Ul()),deps:[[e,new ou,new ru]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new C(901,!1)}}return e})();function ql(){return new VD([new Qs])}var VD=(()=>{class e{static \u0275prov=B({token:e,providedIn:"root",factory:ql});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||ql()),deps:[[e,new ou,new ru]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new C(901,!1)}}return e})();function UN(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=RD(r),i=[MD({}),{provide:Ye,useExisting:fp},...n||[]],s=new fo({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1});return ND({r3Injector:s.injector,platformInjector:o,rootComponent:t})}catch(t){return Promise.reject(t)}}function qN(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function WN(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function hp(e,t){je("NgSignals");let n=vi(e);return t?.equal&&(n[V].equal=t.equal),n}function En(e){let t=b(null);try{return e()}finally{b(t)}}var gp=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=HD}return e})();function HD(){return new gp(y(),W())}var $D=!1,BD=(()=>{class e extends po{pendingTasks=T(_t);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=B({token:e,providedIn:"root",factory:()=>new e})}return e})(),Js=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=Bc(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(n){this.injector.get(vt,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.schedule(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function UD(){}function qD(e,t){je("NgSignals"),!t?.injector&&aa(UD);let n=t?.injector??T(Ze),r=t?.manualCleanup!==!0?n.get(Xt):null,o=new Js(n.get(BD),e,typeof Zone>"u"?null:Zone.current,r,n,t?.allowSignalWrites??!1),i=n.get(kD,null,{optional:!0});return!i||!(i._lView[v]&8)?o.watcher.notify():(i._lView[Sr]??=[]).push(o.watcher.notify),o}var WD=$D;var Ks=class{[V];constructor(t){this[V]=t}destroy(){this[V].destroy()}};function mp(e,t){if(WD)return qD(e,t);je("NgSignals"),!t?.injector&&aa(mp);let n=t?.injector??T(Ze),r=t?.manualCleanup!==!0?n.get(Xt):null,o,i=n.get(gp,null,{optional:!0}),s=n.get(Ye);return i!==null&&!t?.forceRoot?(o=QD(i.view,s,e),r instanceof Kr&&r._lView===i.view&&(r=null)):o=ZD(e,n.get(xf),s),o.injector=n,r!==null&&(o.onDestroyFn=r.onDestroy(()=>o.destroy())),new Ks(o)}var yp=ue(le({},st),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,onDestroyFn:Rn,run(){if(this.dirty=!1,this.hasRun&&!mn(this))return;this.hasRun=!0;let e=r=>(this.cleanupFns??=[]).push(r),t=kt(this),n=Gr(!1);try{this.maybeCleanup(),this.fn(e)}finally{Gr(n),gn(this,t)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),zD=ue(le({},yp),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(13)},destroy(){Pt(this),this.onDestroyFn(),this.maybeCleanup()}}),GD=ue(le({},yp),{consumerMarkedDirty(){this.view[v]|=8192,Un(this.view),this.notifier.notify(14)},destroy(){Pt(this),this.onDestroyFn(),this.maybeCleanup(),this.view[ft]?.delete(this)}});function QD(e,t,n){let r=Object.create(GD);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=n,e[ft]??=new Set,e[ft].add(r),r.consumerMarkedDirty(r),r}function ZD(e,t,n){let r=Object.create(zD);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}var Z=function(e){return e[e.Idle=0]="Idle",e[e.Error=1]="Error",e[e.Loading=2]="Loading",e[e.Reloading=3]="Reloading",e[e.Resolved=4]="Resolved",e[e.Local=5]="Local",e}(Z||{});function YD(e){e?.injector||aa(YD);let t=e.request??(()=>null);return new ea(t,e.loader,e.equal,e.injector)}var Xs=class{value;status=bn(Z.Idle);error=bn(void 0);rawSetValue;constructor(t){this.value=bn(void 0,{equal:t?JD(t):void 0}),this.rawSetValue=this.value.set,this.value.set=n=>this.set(n),this.value.update=n=>this.set(n(En(this.value)))}set(t){let n=this.value[V].version;this.rawSetValue(t),this.value[V].version!==n&&(this.onLocalValue(),this.status.set(Z.Local),this.error.set(void 0))}update(t){this.value.update(t)}isLoading=hp(()=>this.status()===Z.Loading||this.status()===Z.Reloading);hasValue(){return this.status()===Z.Resolved||this.status()===Z.Local||this.status()===Z.Reloading}asReadonly(){return this}setValueState(t,n=void 0){this.status.set(t),this.rawSetValue(n),this.error.set(void 0)}setErrorState(t){this.value.set(void 0),this.status.set(Z.Error),this.error.set(t)}},ea=class extends Xs{loaderFn;request;pendingTasks;effectRef;pendingController;resolvePendingTask=void 0;constructor(t,n,r,o){super(r),this.loaderFn=n,o=o??T(Ze),this.pendingTasks=o.get(Fg),this.request=hp(()=>({request:t(),reload:bn(0)})),this.effectRef=mp(this.loadEffect.bind(this),{injector:o,manualCleanup:!0}),o.get(Xt).onDestroy(()=>this.destroy())}reload(){let t=En(this.status);return t===Z.Idle||t===Z.Loading||t===Z.Reloading?!1:(En(this.request).reload.update(n=>n+1),!0)}destroy(){this.effectRef.destroy(),this.abortInProgressLoad(),this.setValueState(Z.Idle)}async loadEffect(){let t=En(this.status);this.abortInProgressLoad();let n=this.request();if(n.request===void 0){this.setValueState(Z.Idle);return}n.reload()===0?this.setValueState(Z.Loading):this.status.set(Z.Reloading);let r=this.resolvePendingTask=this.pendingTasks.add(),{signal:o}=this.pendingController=new AbortController;try{let i=await En(()=>this.loaderFn({abortSignal:o,request:n.request,previous:{status:t}}));if(o.aborted)return;this.setValueState(Z.Resolved,i)}catch(i){if(o.aborted)return;this.setErrorState(i)}finally{r()}}abortInProgressLoad(){this.pendingController?.abort(),this.pendingController=void 0,this.resolvePendingTask?.(),this.resolvePendingTask=void 0}onLocalValue(){this.abortInProgressLoad()}};function JD(e){return(t,n)=>t===void 0||n===void 0?t===n:e(t,n)}function zN(e,t){let n=_e(e),r=t.elementInjector||Co();return new wt(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector)}function GN(e){let t=_e(e);if(!t)return null;let n=new wt(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{q as a,J as b,vp as c,S as d,ii as e,si as f,pe as g,cn as h,ln as i,rt as j,$e as k,Op as l,Rp as m,Ap as n,it as o,be as p,$p as q,ot as r,oi as s,hr as t,Up as u,qp as v,un as w,zp as x,ci as y,Gp as z,dn as A,pr as B,Qp as C,Zp as D,Ec as E,Kp as F,li as G,Xp as H,eh as I,th as J,bc as K,Cc as L,nh as M,Nc as N,C as O,de as P,Zl as Q,B as R,wT as S,bT as T,R as U,N as V,Ge as W,T as X,Vh as Y,du as Z,Oe as _,pu as $,aa,CT as ba,MT as ca,_T as da,xT as ea,TT as fa,NT as ga,Ze as ha,Xt as ia,_t as ja,qe as ka,he as la,vt as ma,to as na,ST as oa,OT as pa,Ao as qa,RT as ra,AT as sa,Kg as ta,kT as ua,PT as va,Xg as wa,LT as xa,je as ya,An as za,tn as Aa,_a as Ba,FT as Ca,jT as Da,VT as Ea,HT as Fa,$T as Ga,xa as Ha,Fm as Ia,Fo as Ja,BT as Ka,Vm as La,UT as Ma,fs as Na,qT as Oa,$o as Pa,oo as Qa,so as Ra,GT as Sa,Ga as Ta,Bv as Ua,bn as Va,ZT as Wa,YT as Xa,JT as Ya,bt as Za,Ts as _a,KT as $a,Df as ab,XT as bb,eN as cb,tN as db,nN as eb,eI as fb,rN as gb,fI as hb,oN as ib,Mf as jb,bI as kb,MI as lb,Zo as mb,iN as nb,sN as ob,PI as pb,QI as qb,ZI as rb,YI as sb,aN as tb,cN as ub,lN as vb,uN as wb,dN as xb,fN as yb,Bf as zb,Uf as Ab,dE as Bb,qf as Cb,Wf as Db,hE as Eb,pN as Fb,hN as Gb,zf as Hb,gN as Ib,vE as Jb,jn as Kb,XE as Lb,eD as Mb,mN as Nb,tD as Ob,yN as Pb,vN as Qb,rD as Rb,IN as Sb,EN as Tb,DN as Ub,aD as Vb,ip as Wb,cD as Xb,lD as Yb,wN as Zb,bN as _b,CN as $b,MN as ac,_N as bc,xN as cc,TN as dc,NN as ec,dD as fc,ap as gc,fD as hc,pD as ic,hD as jc,SN as kc,gD as lc,yD as mc,ON as nc,RN as oc,AN as pc,kN as qc,PN as rc,LN as sc,FN as tc,jN as uc,VN as vc,$l as wc,HN as xc,$N as yc,pp as zc,BN as Ac,kD as Bc,jD as Cc,VD as Dc,UN as Ec,qN as Fc,WN as Gc,hp as Hc,En as Ic,mp as Jc,YD as Kc,zN as Lc,GN as Mc};
@@ -0,0 +1 @@
1
+ import{a as y}from"./chunk-QTTCN7A7.js";import"./chunk-PSJAIBCQ.js";import"./chunk-U5DDVNLJ.js";import{sa as S}from"./chunk-X566VMXX.js";import{Ab as o,Nb as a,Oa as f,X as m,bb as p,ec as r,fc as _,sc as l,tc as c,zb as n}from"./chunk-NHACGZPI.js";import"./chunk-C6Q5SG76.js";var i=class s{#e=m(y);systemInfo=this.#e.systemInfo;static \u0275fac=function(e){return new(e||s)};static \u0275cmp=p({type:s,selectors:[["app-system-info"]],decls:5,vars:3,consts:()=>{let t;return t=$localize`System info`,[t]},template:function(e,d){e&1&&(n(0,"h3"),a(1,0),o(),n(2,"pre"),r(3),l(4,"json"),o()),e&2&&(f(3),_(c(4,1,d.systemInfo())))},dependencies:[S],styles:["[_nghost-%COMP%]{display:block}h3[_ngcontent-%COMP%]{font:var(--title-30);margin:p2r(0 0 20)}"],changeDetection:0})};export{i as default};
@@ -1 +1 @@
1
- import{a as o}from"./chunk-UUC5AIWR.js";import{B as a,E as i,N as r,R as u,X as n,Za as s}from"./chunk-UYXZTHXX.js";var l=class p{#s=n(o);#p=null;#t=s([]);#e=s([]);#a=s(!1);#i=s(!1);#r=s(null);backups=this.#e.asReadonly();backupsLoading=this.#a.asReadonly();startingBackup=this.#i.asReadonly();deletingBackup=this.#r.asReadonly();draftBackups=this.#t.asReadonly();addDraftBackup(t){let e=crypto.randomUUID();return this.#t.set([...this.#t(),{id:e,data:t}]),e}removeDraftBackupById(t){this.#t.set(this.#t().filter(e=>e.id!==t))}getBackupById(t){return this.#e().find(e=>e.Backup?.ID===t)??null}getBackups(t=!1){let e=this.#p,c=Date.now(),k=e&&c-e<15*60*1e3;!1||!t&&k&&this.#e().length||(this.#p=c,this.#a.set(!0),this.#s.getApiV1Backups().pipe(a(1),r(B=>this.#e.set(B)),i(()=>this.#a.set(!1))).subscribe())}startBackup(t){this.#i.set(!0),this.#s.postApiV1BackupByIdStart({id:t}).pipe(a(1),r(()=>this.getBackups()),i(()=>this.#i.set(!1))).subscribe()}deleteBackup(t){this.#r.set(t),this.#s.deleteApiV1BackupById({id:t}).pipe(a(1),r(()=>this.getBackups()),i(()=>this.#r.set(null))).subscribe()}static \u0275fac=function(e){return new(e||p)};static \u0275prov=u({token:p,factory:p.\u0275fac,providedIn:"root"})};export{l as a};
1
+ import{b as o}from"./chunk-PSJAIBCQ.js";import{B as a,E as i,N as r,R as u,Va as s,X as n}from"./chunk-NHACGZPI.js";var l=class p{#s=n(o);#p=null;#t=s([]);#e=s([]);#a=s(!1);#i=s(!1);#r=s(null);backups=this.#e.asReadonly();backupsLoading=this.#a.asReadonly();startingBackup=this.#i.asReadonly();deletingBackup=this.#r.asReadonly();draftBackups=this.#t.asReadonly();addDraftBackup(t){let e=crypto.randomUUID();return this.#t.set([...this.#t(),{id:e,data:t}]),e}removeDraftBackupById(t){this.#t.set(this.#t().filter(e=>e.id!==t))}getBackupById(t){return this.#e().find(e=>e.Backup?.ID===t)??null}getBackups(t=!1){let e=this.#p,c=Date.now(),k=e&&c-e<15*60*1e3;!1||!t&&k&&this.#e().length||(this.#p=c,this.#a.set(!0),this.#s.getApiV1Backups().pipe(a(1),r(B=>this.#e.set(B)),i(()=>this.#a.set(!1))).subscribe())}startBackup(t){this.#i.set(!0),this.#s.postApiV1BackupByIdStart({id:t}).pipe(a(1),r(()=>this.getBackups()),i(()=>this.#i.set(!1))).subscribe()}deleteBackup(t){this.#r.set(t),this.#s.deleteApiV1BackupById({id:t}).pipe(a(1),r(()=>this.getBackups()),i(()=>this.#r.set(null))).subscribe()}static \u0275fac=function(e){return new(e||p)};static \u0275prov=u({token:p,factory:p.\u0275fac,providedIn:"root"})};export{l as a};
@@ -0,0 +1 @@
1
+ import{a as De}from"./chunk-VJJVFTK5.js";import{a as Y}from"./chunk-4765QCNT.js";import{a as ye}from"./chunk-FALW4SDX.js";import{b as w}from"./chunk-TYEKJAUH.js";import{a as Ne,b as M,d as h,e as k,h as L,j as Pe,l as $,o as y,p as D,r as A}from"./chunk-QXNJFFEM.js";import{b as I}from"./chunk-PSJAIBCQ.js";import{a as P,c as d}from"./chunk-B5F2IYXZ.js";import{a as b,g as v,l as Ie,o as Me,p as he,q as ke,r as Le,w as $e}from"./chunk-FFD5RG7J.js";import{pa as z}from"./chunk-X566VMXX.js";import{Ab as a,B as le,Bb as l,Cb as W,Db as B,E as f,Fb as X,Hc as Ce,Jc as Re,K as pe,L as _e,Lb as c,Mb as u,Nb as T,Oa as S,Ob as Ee,Pb as Te,R as ce,Rb as O,Sb as j,Va as _,X as p,bb as N,c as ne,ca as C,da as R,ec as V,hb as U,hc as Oe,l as re,nc as de,p as se,qb as m,sb as ue,sc as ge,uc as fe,v as ae,vb as x,wb as Fe,xb as Se,yb as me,zb as r}from"./chunk-NHACGZPI.js";var Ae=new D,we=()=>Ae.group({passphrase:Ae.control("")}),q=class s{#t=p(I);#e=p(g);#o=p(d);#i=p(P);encryptionForm=this.#e.encryptionForm;creatingTemporaryBackup=_(!1);next(){let o=this.#e.destinationTargetUrl();if(!o)throw new Error("No target URL");this.creatingTemporaryBackup.set(!0);let e=this.encryptionForm.value?.passphrase??null,t=[{Name:"--no-encryption",Value:"true"}];e&&(t=[{Name:"--passphrase",Value:e}]),this.#t.postApiV1Backups({requestBody:{Backup:{TargetURL:o,Settings:t}},temporary:!0}).pipe(f(()=>this.creatingTemporaryBackup.set(!1))).subscribe({next:i=>{let n=i.ID;this.#e.getBackup(n),this.#o.navigate([`/restore-draft/${n}`])},error:i=>{console.error(i)}})}back(){this.#e.isFileRestore()?this.#o.navigate(["encryption"],{relativeTo:this.#i.parent}):this.#e.exit()}static \u0275fac=function(e){return new(e||s)};static \u0275cmp=N({type:s,selectors:[["app-restore-encryption"]],decls:12,vars:1,consts:()=>{let o;o=$localize`Enter backup passphrase if defined.`;let e;e=$localize`Password`;let t;t=$localize`${"\uFFFD#8\uFFFD"}:START_TAG_SPK_ICON:arrow-left${"\uFFFD/#8\uFFFD"}:CLOSE_TAG_SPK_ICON: Back `;let i;return i=$localize`${"\uFFFD#11\uFFFD"}:START_TAG_SPK_ICON:arrow-right${"\uFFFD/#11\uFFFD"}:CLOSE_TAG_SPK_ICON: Continue `,[e,t,i,[3,"submit","formGroup"],["for","password"],["type","password","id","password","placeholder",o,"formControlName","passphrase"],[1,"form-actions"],["spk-button","","type","button",3,"click"],["spk-button","","type","submit",1,"raised","primary"]]},template:function(e,t){e&1&&(r(0,"form",3),O("submit",function(){return t.next()}),r(1,"spk-form-field")(2,"label",4),T(3,0),a(),l(4,"input",5),a(),r(5,"div",6)(6,"button",7),O("click",function(){return t.back()}),c(7,1),l(8,"spk-icon"),u(),a(),r(9,"button",8),c(10,2),l(11,"spk-icon"),u(),a()()()),e&2&&m("formGroup",t.encryptionForm)},dependencies:[A,L,M,h,k,$,y,Ie,b,v],styles:["[_nghost-%COMP%]{display:block}form[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1.5rem}.form-actions[_ngcontent-%COMP%]{display:flex;justify-content:space-between}"],changeDetection:0})};function We(s,o){s&1&&l(0,"spk-progress-bar",7)}function Be(s,o){if(s&1&&(r(0,"spk-option",13),V(1),ge(2,"date"),a()),s&2){let e=o.$implicit;m("value",e.Version),S(),Oe(" ",e.Version,": ",fe(2,3,e.Time,"d MMM y, h:mm")," ")}}function Xe(s,o){s&1&&l(0,"spk-progress-bar",7)}function Ve(s,o){if(s&1&&(r(0,"app-file-tree",14)(1,"label",15),T(2,4),a(),l(3,"input",16),a()),s&2){let e=j(2);m("rootPath",e.rootPath())("backupSettings",e.backupSettings())("multiSelect",!0)("showFiles",!0)}}function ze(s,o){if(s&1&&(r(0,"spk-select",11),l(1,"input",12),Se(2,Be,3,6,"spk-option",13,Fe),a(),U(4,Xe,1,0,"spk-progress-bar",7)(5,Ve,4,4,"app-file-tree",14)),s&2){let e=j();m("displayFn",e.displayFn())("hideClearButton",!0),S(2),me(e.versionOptions()),S(2),x(e.isDraft()&&e.isRepairing()||!e.rootPathLoaded()?4:-1),S(),x(e.rootPathLoaded()&&(e.isDraft()&&!e.isRepairing()||!e.isDraft())?5:-1)}}var K=new D,Ge=()=>K.group({filesToRestore:K.control(""),selectedOption:K.control(null),passphrase:K.control(null)}),J=class s{#t=p(I);#e=p(g);#o=p(d);#i=p(P);#n=p(z);selectFilesForm=this.#e.selectFilesForm;selectFilesFormSignal=this.#e.selectFilesFormSignal;selectedOptionSignal=w(this.selectFilesForm.controls.selectedOption.valueChanges);backupId=this.#e.backupId;versionOptionsLoading=this.#e.versionOptionsLoading;versionOptions=this.#e.versionOptions;isDraft=this.#e.isDraft;isFileRestore=this.#e.isFileRestore;backupSettings=Ce(()=>{let o=this.backupId(),e=this.selectFilesFormSignal(),t=e?.selectedOption?parseInt(e?.selectedOption):null;if(typeof t!="number"||!o)return null;let n=this.versionOptions()?.find(F=>F.Version===t)?.Time??null;return n?{id:o,time:n}:null});isRepairing=_(!1);repairEffect=Re(()=>{let o=this.#e.isDraft(),e=this.selectedOptionSignal();if(o&&e){let t=this.backupId();this.isRepairing.set(!0),this.#t.postApiV1BackupByIdRepairupdate({id:t,requestBody:{only_paths:!0,time:new Date().toISOString()}}).pipe(f(()=>this.isRepairing.set(!1))).subscribe()}});rootPathLoaded=_(!1);rootPath=De([this.selectFilesFormSignal,this.backupId],ne(pe([null,null]),_e(([o,e])=>{let t=o?.selectedOption?parseInt(o?.selectedOption):null,i=e;if(typeof t!="number"||!i)return re("/");let n=this.versionOptions()?.find(F=>F.Version===t);return this.#t.getApiV1BackupByIdFiles({id:i,time:n?.Time??"",prefixOnly:!1,folderContents:!0}).pipe(se(F=>(this.rootPathLoaded.set(!0),F.Files[0].Path)))})));displayFn(){let o=this.versionOptions();return e=>{if(!e)return"";let t=o?.find(i=>i.Version?.toString()===e);return t?`${t.Version}: ${this.#n.transform(t.Time,"d MMM y, h:mm")}`:""}}next(){this.#o.navigate(["options"],{relativeTo:this.#i.parent})}back(){this.#e.isFileRestore()?this.#o.navigate(["encryption"],{relativeTo:this.#i.parent}):this.#e.exit()}static \u0275fac=function(e){return new(e||s)};static \u0275cmp=N({type:s,selectors:[["app-select-files"]],features:[de([z])],decls:13,vars:3,consts:()=>{let o;o=$localize`Select files`;let e;e=$localize`${"\uFFFD#9\uFFFD"}:START_TAG_SPK_ICON:arrow-left${"\uFFFD/#9\uFFFD"}:CLOSE_TAG_SPK_ICON: ${"\uFFFD0\uFFFD"}:INTERPOLATION: `;let t;t=$localize`${"\uFFFD#12\uFFFD"}:START_TAG_SPK_ICON:arrow-right${"\uFFFD/#12\uFFFD"}:CLOSE_TAG_SPK_ICON: Continue `;let i;i=$localize`Select an option...`;let n;return n=$localize`Path`,[["formRef",""],o,e,t,n,[3,"submit","formGroup"],[1,"title-30"],[1,"indeterminate","primary"],[1,"form-actions"],["spk-button","","type","button",3,"click"],["spk-button","","type","submit",1,"raised","primary"],[3,"displayFn","hideClearButton"],["type","text","placeholder",i,"formControlName","selectedOption"],[3,"value"],[3,"rootPath","backupSettings","multiSelect","showFiles"],["for","path"],["type","text","id","path","formControlName","filesToRestore"]]},template:function(e,t){if(e&1){let i=X();r(0,"form",5,0),O("submit",function(){return C(i),R(t.next())}),r(2,"h3",6),T(3,1),a(),U(4,We,1,0,"spk-progress-bar",7)(5,ze,6,4),r(6,"div",8)(7,"button",9),O("click",function(){return C(i),R(t.back())}),c(8,2),l(9,"spk-icon"),u(),a(),r(10,"button",10),c(11,3),l(12,"spk-icon"),u(),a()()()}e&2&&(m("formGroup",t.selectFilesForm),S(4),x(t.versionOptionsLoading()?4:5),S(5),Ee(t.isFileRestore()?"Back":"Exit"),Te(8))},dependencies:[A,L,M,h,k,$,y,z,Y,v,ke,b,Le,Me],styles:["[_nghost-%COMP%]{display:block}form[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1.5rem}.form-actions[_ngcontent-%COMP%]{display:flex;justify-content:space-between}"],changeDetection:0})};var g=class s{#t=p(d);#e=p(I);backupId=_(null);backup=_(null);destinationTargetUrl=_(null);selectFilesForm=Ge();optionsForm=xe();encryptionForm=we();optionsFormSignal=w(this.optionsForm.valueChanges);selectFilesFormSignal=w(this.selectFilesForm.valueChanges);versionOptionsLoading=_(!1);versionOptions=_([]);isSubmitting=_(!1);isDraft=_(!1);isFileRestore=_(!1);init(o,e=!1,t=!1){this.backupId.set(o),this.isFileRestore.set(e),this.isDraft.set(t),e&&this.#t.navigate(["/restore-from-files/destination"]),e||this.getBackup(o,!0)}updateTargetUrl(o){this.destinationTargetUrl.set(o)}submit(){this.isSubmitting.set(!0);let o=this.backupId(),e=this.optionsForm.value,t=this.selectFilesForm.value,i=this.versionOptions()?.find(n=>n.Version===t.selectedOption);this.#e.postApiV1BackupByIdRestore({id:o??"",requestBody:{paths:t.filesToRestore?.split("\0").map(n=>`${n}*`)??[],passphrase:t.passphrase??null,time:i?.Time,restore_path:e.restoreFromPath,overwrite:e.handleExisting==="overwrite",permissions:e.permissions,skip_metadata:!0}}).pipe(f(()=>this.isSubmitting.set(!1))).subscribe({next:()=>this.exit(),error:n=>{console.error("restore error",n)}})}exit(){this.#o(),this.#t.navigate(["/"])}getVersionOptions(){this.versionOptions()}getBackup(o,e=!1){this.versionOptionsLoading.set(!0),ae([this.#e.getApiV1BackupById({id:o}),this.#e.getApiV1BackupByIdFilesets({id:o})]).pipe(le(1),f(()=>this.versionOptionsLoading.set(!1))).subscribe({next:([t,i])=>{this.versionOptions.set(i),this.backup.set(t),e&&i.length>0&&this.selectFilesForm.controls.selectedOption.setValue(i[0].Version)}})}#o(){this.selectFilesForm.reset(),this.optionsForm.reset()}static \u0275fac=function(e){return new(e||s)};static \u0275prov=ce({token:s,factory:s.\u0275fac,providedIn:"root"})};var G=new D,xe=()=>G.group({restoreFrom:G.control("orignal"),restoreFromPath:G.control(""),handleExisting:G.control("overwrite"),permissions:G.control(!1)}),Q=class s{#t=p(g);#e=p(d);#o=p(P);optionsForm=this.#t.optionsForm;optionsFormSignal=this.#t.optionsFormSignal;isSubmitting=this.#t.isSubmitting;goBack(){this.#e.navigate(["select-files"],{relativeTo:this.#o.parent})}submit(){this.#t.submit()}static \u0275fac=function(e){return new(e||s)};static \u0275cmp=N({type:s,selectors:[["app-options"]],decls:39,vars:6,consts:()=>{let o;o=$localize`Restore options`;let e;e=$localize`Where do you want to restore files from?`;let t;t=$localize` Original location ${"\uFFFD#9\uFFFD\uFFFD/#9\uFFFD"}:TAG_INPUT:`;let i;i=$localize` Pick location ${"\uFFFD#12\uFFFD\uFFFD/#12\uFFFD"}:TAG_INPUT:`;let n;n=$localize`How do you want to handle existing files?`;let F;F=$localize` Overwrite ${"\uFFFD#22\uFFFD\uFFFD/#22\uFFFD"}:TAG_INPUT:`;let Z;Z=$localize` Save different versions with timestamp in file name ${"\uFFFD#25\uFFFD\uFFFD/#25\uFFFD"}:TAG_INPUT:`;let ee;ee=$localize`Permissions`;let te;te=$localize` Restore read/write permissions ${"\uFFFD#31\uFFFD\uFFFD/#31\uFFFD"}:TAG_INPUT:`;let oe;oe=$localize`${"\uFFFD#35\uFFFD"}:START_TAG_SPK_ICON:arrow-left${"\uFFFD/#35\uFFFD"}:CLOSE_TAG_SPK_ICON: Go back `;let ie;return ie=$localize`${"\uFFFD#38\uFFFD"}:START_TAG_SPK_ICON:arrow-right${"\uFFFD/#38\uFFFD"}:CLOSE_TAG_SPK_ICON: Submit `,[["formRef",""],o,e,t,i,n,F,Z,ee,te,oe,ie,[3,"submit","formGroup"],[1,"title-30"],[3,"disallowToggle"],["title",""],[1,"raised","primary"],["type","radio","name","restoreFrom","value","orignal","formControlName","restoreFrom"],["type","radio","name","restoreFrom","value","pickLocation","formControlName","restoreFrom"],[3,"disabled"],["for","path"],["type","text","id","path","formControlName","restoreFromPath"],["type","radio","name","handleExisting","value","overwrite","formControlName","handleExisting"],["type","radio","name","handleExisting","value","saveTimestamp","formControlName","handleExisting"],[1,"primary","raised"],["type","checkbox","formControlName","permissions"],[1,"form-actions"],["spk-button","","type","button",3,"click"],["spk-button","","type","submit",1,"raised","primary"]]},template:function(e,t){if(e&1){let i=X();r(0,"form",12,0),O("submit",function(){return C(i),R(t.submit())}),r(2,"h3",13),T(3,1),a(),r(4,"app-toggle-card",14),W(5,15),T(6,2),B(),r(7,"spk-radio",16),c(8,3),l(9,"input",17),u(),a(),r(10,"spk-radio",16),c(11,4),l(12,"input",18),u(),a(),r(13,"app-file-tree",19)(14,"label",20),V(15,"Path"),a(),l(16,"input",21),a()(),r(17,"app-toggle-card",14),W(18,15),T(19,5),B(),r(20,"spk-radio",16),c(21,6),l(22,"input",22),u(),a(),r(23,"spk-radio",16),c(24,7),l(25,"input",23),u(),a()(),r(26,"app-toggle-card"),W(27,15),T(28,8),B(),r(29,"spk-toggle",24),c(30,9),l(31,"input",25),u(),a()(),r(32,"div",26)(33,"button",27),O("click",function(){return C(i),R(t.goBack())}),c(34,10),l(35,"spk-icon"),u(),a(),r(36,"button",28),c(37,11),l(38,"spk-icon"),u(),a()()()}if(e&2){let i;m("formGroup",t.optionsForm),S(4),m("disallowToggle",!0),S(9),m("disabled",((i=t.optionsFormSignal())==null?null:i.restoreFrom)!=="pickLocation"),S(4),m("disallowToggle",!0),S(19),ue("loader",t.isSubmitting())}},dependencies:[A,L,M,Ne,Pe,h,k,$,y,ye,Y,$e,he,v,b],styles:["[_nghost-%COMP%]{display:block}form[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1.5rem}.form-actions[_ngcontent-%COMP%]{display:flex;justify-content:space-between}"],changeDetection:0})};export{xe as a,Q as b,we as c,q as d,Ge as e,J as f,g};
@@ -1 +1 @@
1
- import{a}from"./chunk-AC2LD55W.js";import{Mc as r,R as s,X as i,Za as e}from"./chunk-UYXZTHXX.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-XCS7POXG.js";import{Jc as r,R as s,Va as e,X as i}from"./chunk-NHACGZPI.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};