homebridge-config-ui-x 5.12.1-beta.5 → 5.12.1-beta.6

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 (160) hide show
  1. package/dist/bin/platforms/linux.js.map +1 -1
  2. package/package.json +2 -2
  3. package/public/3rdpartylicenses.txt +13 -1
  4. package/public/{chunk-4P4VAV7I.js → chunk-22Z225AS.js} +1 -1
  5. package/public/chunk-2F2PDTDB.js +1 -0
  6. package/public/{chunk-A5JF6PDD.js → chunk-2HD3TOVY.js} +1 -1
  7. package/public/{chunk-HMF2EYMY.js → chunk-2JLK533I.js} +1 -1
  8. package/public/{chunk-TR77UVYU.js → chunk-2R4HORTN.js} +1 -1
  9. package/public/{chunk-UH3C2FAE.js → chunk-2U3YDOKK.js} +1 -1
  10. package/public/{chunk-TV5ACJCB.js → chunk-35FSDYCY.js} +1 -1
  11. package/public/{chunk-E55EDX5Y.js → chunk-3RTPACYF.js} +1 -1
  12. package/public/chunk-3T6KISS2.js +1 -0
  13. package/public/chunk-3TO3C4MF.js +1 -0
  14. package/public/{chunk-WGTVNYII.js → chunk-3TYXDC2O.js} +1 -1
  15. package/public/{chunk-4BX7KSQH.js → chunk-3X54YJUZ.js} +1 -1
  16. package/public/{chunk-BRGXDZZE.js → chunk-4IJDU5W2.js} +1 -1
  17. package/public/chunk-4RSOPME5.js +1 -0
  18. package/public/chunk-57L4H7AA.js +1 -0
  19. package/public/chunk-5G2OIZ66.js +1 -0
  20. package/public/{chunk-LR2GN2Y2.js → chunk-5GNJNTLA.js} +1 -1
  21. package/public/{chunk-IHAA5URA.js → chunk-6VNMVWFY.js} +1 -1
  22. package/public/chunk-732GW26P.js +1 -0
  23. package/public/{chunk-AHIRH7NQ.js → chunk-7LZXNMQ7.js} +1 -1
  24. package/public/chunk-7QNFIL7X.js +1 -0
  25. package/public/{chunk-3BODPB3K.js → chunk-ALTMINMJ.js} +1 -1
  26. package/public/{chunk-2QSUQ4VI.js → chunk-AWY7TUU4.js} +1 -1
  27. package/public/{chunk-XTQWZF3J.js → chunk-AYPSIX2K.js} +1 -1
  28. package/public/chunk-B37HWUCD.js +1 -0
  29. package/public/{chunk-NYEZF6Y3.js → chunk-BAWF37TF.js} +1 -1
  30. package/public/{chunk-RDHUW73W.js → chunk-BNNKKGLH.js} +1 -1
  31. package/public/{chunk-J56ZFHCF.js → chunk-BT3EMPD7.js} +1 -1
  32. package/public/chunk-BWJIQBIJ.js +1 -0
  33. package/public/{chunk-X66UFY6K.js → chunk-CU6MTMVY.js} +1 -1
  34. package/public/chunk-DH5YBYHN.js +92 -0
  35. package/public/{chunk-5QHRLSAE.js → chunk-DO2QQ27Z.js} +1 -1
  36. package/public/chunk-DRY2ILHE.js +1 -0
  37. package/public/chunk-DSI2TVUT.js +1 -0
  38. package/public/{chunk-DUPASTS2.js → chunk-FDGOZLRL.js} +1 -1
  39. package/public/{chunk-VWUZDCBZ.js → chunk-FLS573AD.js} +2 -2
  40. package/public/{chunk-MAJDTCMY.js → chunk-GET4TOQ7.js} +1 -1
  41. package/public/{chunk-C64AHVUO.js → chunk-GIBUKDL3.js} +1 -1
  42. package/public/{chunk-HH2FDI7W.js → chunk-HOWYXHPL.js} +1 -1
  43. package/public/{chunk-UVWXUC5Y.js → chunk-I5AP453W.js} +1 -1
  44. package/public/chunk-I7YFJOCI.js +1 -0
  45. package/public/{chunk-3NHWMCB7.js → chunk-IBPLHJH5.js} +1 -1
  46. package/public/chunk-IMAK4R64.js +1 -0
  47. package/public/chunk-IRXJL347.js +1 -0
  48. package/public/{chunk-YDYBCBXX.js → chunk-IVGUGJ5O.js} +1 -1
  49. package/public/{chunk-VFMCVZHO.js → chunk-J33KCONB.js} +1 -1
  50. package/public/{chunk-QGJKMFM5.js → chunk-J3GYRR3Q.js} +1 -1
  51. package/public/{chunk-F5MBSCH4.js → chunk-JJ5CEM72.js} +3 -3
  52. package/public/{chunk-NPMJGEDY.js → chunk-JV4CFTMO.js} +1 -1
  53. package/public/{chunk-RMDVYT7X.js → chunk-LK5Y5NQ2.js} +1 -1
  54. package/public/{chunk-664C4LX2.js → chunk-LMM3BN25.js} +1 -1
  55. package/public/chunk-LMQIRO2C.js +1 -0
  56. package/public/chunk-LMWHU5BN.js +1 -0
  57. package/public/{chunk-5QQ2XMII.js → chunk-LVC2MQ7H.js} +1 -1
  58. package/public/chunk-MIRW6W7S.js +1 -0
  59. package/public/{chunk-F2HGBWZZ.js → chunk-MM3ZUHP2.js} +1 -1
  60. package/public/{chunk-Z2RGI4BU.js → chunk-MOTTUPLZ.js} +1 -1
  61. package/public/chunk-MQWN43LI.js +1 -0
  62. package/public/{chunk-5A2G7KDR.js → chunk-MRHB36HC.js} +1 -1
  63. package/public/chunk-MW5T6P3D.js +1 -0
  64. package/public/chunk-MXDOJJGQ.js +1 -0
  65. package/public/{chunk-KIFEAONI.js → chunk-MZA3FXYW.js} +1 -1
  66. package/public/{chunk-JPAZUSRO.js → chunk-N5Z4CTHV.js} +1 -1
  67. package/public/chunk-NO3WWNTD.js +1 -0
  68. package/public/{chunk-6U3YEWBO.js → chunk-NX25VUHB.js} +1 -1
  69. package/public/chunk-O4RPRD43.js +1 -0
  70. package/public/{chunk-4OEYZBSF.js → chunk-OCNA6V4W.js} +1 -1
  71. package/public/chunk-ON7YXJNY.js +1 -0
  72. package/public/{chunk-IXMOGLOS.js → chunk-P4ODKUQK.js} +1 -1
  73. package/public/{chunk-3LY5FRVV.js → chunk-PCRT3CPH.js} +1 -1
  74. package/public/chunk-PSTNNJB4.js +1 -0
  75. package/public/chunk-Q2RBJQKF.js +36 -0
  76. package/public/{chunk-2K66PSKD.js → chunk-Q7FTVGEO.js} +1 -1
  77. package/public/chunk-QJULMVF4.js +1 -0
  78. package/public/{chunk-V45KU64F.js → chunk-QMHMKWPA.js} +1 -1
  79. package/public/{chunk-65AW3ZMH.js → chunk-QPIMSYGY.js} +1 -1
  80. package/public/{chunk-CAY6MDP6.js → chunk-QWCGYWQP.js} +1 -1
  81. package/public/{chunk-VCWYDWAJ.js → chunk-R2AXYPVZ.js} +1 -1
  82. package/public/{chunk-ATJM3XYR.js → chunk-SAZ3DI6M.js} +1 -1
  83. package/public/{chunk-M3DSUNBG.js → chunk-SDK5Z2TS.js} +1 -1
  84. package/public/{chunk-OTMZDL7S.js → chunk-SGI3H2QJ.js} +1 -1
  85. package/public/chunk-SHOIYREX.js +1 -0
  86. package/public/{chunk-RWABUVQY.js → chunk-T43ZT3B7.js} +1 -1
  87. package/public/{chunk-XUP37AHQ.js → chunk-TLUSFONS.js} +5 -5
  88. package/public/{chunk-2DRLNNDM.js → chunk-U5APV4HQ.js} +1 -1
  89. package/public/chunk-UKJBJA6I.js +1 -0
  90. package/public/chunk-URPE4YWQ.js +1 -0
  91. package/public/{chunk-DJGU4NTG.js → chunk-UU7UROHF.js} +1 -1
  92. package/public/{chunk-UHG23NUX.js → chunk-UUDM2ZE6.js} +1 -1
  93. package/public/{chunk-H7F7H5MW.js → chunk-V62JRIHN.js} +1 -1
  94. package/public/{chunk-FNRDBHYN.js → chunk-V6SS3LLE.js} +1 -1
  95. package/public/{chunk-BZLBFDQG.js → chunk-VG77PUXT.js} +1 -1
  96. package/public/chunk-VJN6YUS2.js +1 -0
  97. package/public/{chunk-Y6B4ENQ3.js → chunk-VKVESOYG.js} +1 -1
  98. package/public/{chunk-CP2QJXVO.js → chunk-WFW4V5CB.js} +1 -1
  99. package/public/{chunk-AY35X64S.js → chunk-WTYHWUIV.js} +1 -1
  100. package/public/{chunk-VV4S6PBO.js → chunk-WTZQODSR.js} +1 -1
  101. package/public/{chunk-DOJGHPYJ.js → chunk-WVBGE4PG.js} +1 -1
  102. package/public/{chunk-PTJ3UZME.js → chunk-X35N33BQ.js} +1 -1
  103. package/public/{chunk-GDBXX4WT.js → chunk-X4YYP2LR.js} +2 -2
  104. package/public/{chunk-YCASP3MF.js → chunk-X5XGTC24.js} +1 -1
  105. package/public/{chunk-S2GJNEOI.js → chunk-XBR7SSMW.js} +1 -1
  106. package/public/chunk-YASBCOYX.js +1 -0
  107. package/public/{chunk-FLCYKKEZ.js → chunk-YBWJOGCK.js} +1 -1
  108. package/public/{chunk-QSXJHCTT.js → chunk-YD4U26CQ.js} +1 -1
  109. package/public/chunk-YKLNKZD5.js +2 -0
  110. package/public/chunk-YLQLLNQ6.js +1 -0
  111. package/public/chunk-YWTJYVRK.js +1 -0
  112. package/public/{chunk-Q5X66PGK.js → chunk-YXAXWARF.js} +1 -1
  113. package/public/chunk-Z35VSD7C.js +5 -0
  114. package/public/{chunk-NTQWCIIF.js → chunk-ZBOWFMAD.js} +1 -1
  115. package/public/chunk-ZEBL4YGF.js +19 -0
  116. package/public/{chunk-3YXAYQFV.js → chunk-ZIFXCMBJ.js} +1 -1
  117. package/public/{chunk-DCBZUBGA.js → chunk-ZONYERCP.js} +1 -1
  118. package/public/{chunk-KEESKHLN.js → chunk-ZRGZJ2SE.js} +1 -1
  119. package/public/index.html +2 -2
  120. package/public/{main-QHHXZV7U.js → main-JPI6JIAY.js} +1 -1
  121. package/public/styles-SBKKVTID.css +1 -0
  122. package/public/chunk-2FKL7WTN.js +0 -1
  123. package/public/chunk-3B3NAPXD.js +0 -1
  124. package/public/chunk-3BOXIXZY.js +0 -1
  125. package/public/chunk-3N3RJBS3.js +0 -19
  126. package/public/chunk-6KHLSYCO.js +0 -1
  127. package/public/chunk-7GUHWJ4X.js +0 -1
  128. package/public/chunk-7JD74YRM.js +0 -1
  129. package/public/chunk-AST2OLG2.js +0 -1
  130. package/public/chunk-AZLCZPTC.js +0 -1
  131. package/public/chunk-B4AJQJMI.js +0 -1
  132. package/public/chunk-BJV2F6QZ.js +0 -1
  133. package/public/chunk-BMOLDRJ3.js +0 -9
  134. package/public/chunk-BUZBTHD2.js +0 -1
  135. package/public/chunk-C5CMRH2U.js +0 -1
  136. package/public/chunk-CXSRVC7V.js +0 -1
  137. package/public/chunk-DQVHBQLA.js +0 -1
  138. package/public/chunk-FH62LNHX.js +0 -35
  139. package/public/chunk-GYM2PPGX.js +0 -1
  140. package/public/chunk-H2UKSDHZ.js +0 -1
  141. package/public/chunk-HBK7LF6W.js +0 -1
  142. package/public/chunk-JBILFYTL.js +0 -1
  143. package/public/chunk-K3WEJJSS.js +0 -2
  144. package/public/chunk-KDXP3F5S.js +0 -1
  145. package/public/chunk-KYBKIBTT.js +0 -1
  146. package/public/chunk-LINXSUG2.js +0 -1
  147. package/public/chunk-LPJ4GDP3.js +0 -1
  148. package/public/chunk-LPWY3RKY.js +0 -1
  149. package/public/chunk-MUHHYXFN.js +0 -1
  150. package/public/chunk-MVT3BOGV.js +0 -5
  151. package/public/chunk-N6F32H34.js +0 -1
  152. package/public/chunk-NPABPWX3.js +0 -1
  153. package/public/chunk-OU66C3M2.js +0 -1
  154. package/public/chunk-P67JXXO4.js +0 -1
  155. package/public/chunk-UPP5DT2A.js +0 -1
  156. package/public/chunk-VV4LXPCS.js +0 -1
  157. package/public/chunk-XYVW562Y.js +0 -1
  158. package/public/chunk-ZPKMGNNM.js +0 -1
  159. package/public/chunk-ZVU2KU6A.js +0 -1
  160. package/public/styles-WJHG5ONB.css +0 -1
@@ -1,4 +1,4 @@
1
- import{a as Y,b as K}from"./chunk-B4AJQJMI.js";function I(e){return typeof e=="function"}function Lt(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var Dr=Lt(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
1
+ import{a as Y,b as K}from"./chunk-VJN6YUS2.js";function I(e){return typeof e=="function"}function Lt(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var Dr=Lt(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
2
2
  ${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
3
- `)}`:"",this.name="UnsubscriptionError",this.errors=n});function at(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var $=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(I(r))try{r()}catch(i){t=i instanceof Dr?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Vc(i)}catch(s){t=t??[],s instanceof Dr?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Dr(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Vc(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)&&at(n,t)}remove(t){let{_finalizers:n}=this;n&&at(n,t),t instanceof e&&t._removeParent(this)}};$.EMPTY=(()=>{let e=new $;return e.closed=!0,e})();var Di=$.EMPTY;function Cr(e){return e instanceof $||e&&"closed"in e&&I(e.remove)&&I(e.add)&&I(e.unsubscribe)}function Vc(e){I(e)?e():e.unsubscribe()}var pe={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Ft={setTimeout(e,t,...n){let{delegate:r}=Ft;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Ft;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function br(e){Ft.setTimeout(()=>{let{onUnhandledError:t}=pe;if(t)t(e);else throw e})}function ke(){}var Hc=Ci("C",void 0,void 0);function Bc(e){return Ci("E",void 0,e)}function $c(e){return Ci("N",e,void 0)}function Ci(e,t,n){return{kind:e,value:t,error:n}}var ct=null;function jt(e){if(pe.useDeprecatedSynchronousErrorHandling){let t=!ct;if(t&&(ct={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=ct;if(ct=null,n)throw r}}else e()}function Uc(e){pe.useDeprecatedSynchronousErrorHandling&&ct&&(ct.errorThrown=!0,ct.error=e)}var lt=class extends ${constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Cr(t)&&t.add(this)):this.destination=uh}static create(t,n,r){return new he(t,n,r)}next(t){this.isStopped?Ti($c(t),this):this._next(t)}error(t){this.isStopped?Ti(Bc(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Ti(Hc,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()}}},ch=Function.prototype.bind;function bi(e,t){return ch.call(e,t)}var wi=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Tr(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Tr(r)}else Tr(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Tr(n)}}},he=class extends lt{constructor(t,n,r){super();let o;if(I(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&pe.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&bi(t.next,i),error:t.error&&bi(t.error,i),complete:t.complete&&bi(t.complete,i)}):o=t}this.destination=new wi(o)}};function Tr(e){pe.useDeprecatedSynchronousErrorHandling?Uc(e):br(e)}function lh(e){throw e}function Ti(e,t){let{onStoppedNotification:n}=pe;n&&Ft.setTimeout(()=>n(e,t))}var uh={closed:!0,next:ke,error:lh,complete:ke};var Vt=typeof Symbol=="function"&&Symbol.observable||"@@observable";function J(e){return e}function dh(...e){return _i(e)}function _i(e){return e.length===0?J:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var _=(()=>{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=ph(n)?n:new he(n,r,o);return jt(()=>{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=qc(r),new r((o,i)=>{let s=new he({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)}[Vt](){return this}pipe(...n){return _i(n)(this)}toPromise(n){return n=qc(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 qc(e){var t;return(t=e??pe.Promise)!==null&&t!==void 0?t:Promise}function fh(e){return e&&I(e.next)&&I(e.error)&&I(e.complete)}function ph(e){return e&&e instanceof lt||fh(e)&&Cr(e)}var Wc=Lt(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var re=(()=>{class e extends _{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new wr(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Wc}next(n){jt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){jt(()=>{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(){jt(()=>{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?Di:(this.currentObservers=null,i.push(n),new $(()=>{this.currentObservers=null,at(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new _;return n.source=this,n}}return e.create=(t,n)=>new wr(t,n),e})(),wr=class extends re{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:Di}};var Pe=Lt(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function hh(e,t){let n=typeof t=="object";return new Promise((r,o)=>{let i=new he({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{n?r(t.defaultValue):o(new Pe)}});e.subscribe(i)})}function gh(e){return I(e?.lift)}function C(e){return t=>{if(gh(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function D(e,t,n,r,o){return new Mi(e,t,n,r,o)}var Mi=class extends lt{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 Le(e,t){return C((n,r)=>{let o=0;n.subscribe(D(r,i=>{r.next(e.call(t,i,o++))}))})}var _r=class extends ${constructor(t,n){super()}schedule(t,n=0){return this}};var En={setInterval(e,t,...n){let{delegate:r}=En;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=En;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var Ht=class extends _r{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(t,n,r=0){return En.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return n;n!=null&&En.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(t,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let r=!1,o;try{this.work(t)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,at(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var Dn={now(){return(Dn.delegate||Date).now()},delegate:void 0};var Bt=class e{constructor(t,n=e.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}};Bt.now=Dn.now;var $t=class extends Bt{constructor(t,n=Bt.now){super(t,n),this.actions=[],this._active=!1}flush(t){let{actions:n}=this;if(this._active){n.push(t);return}let r;this._active=!0;do if(r=t.execute(t.state,t.delay))break;while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}};var Fe=new $t(Ht),Gc=Fe;function Mr(e){return e&&I(e.schedule)}function zc(e){return e instanceof Date&&!isNaN(e)}function ut(e=0,t,n=Gc){let r=-1;return t!=null&&(Mr(t)?n=t:r=t),new _(o=>{let i=zc(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function Qc(e,t=Fe){return C((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let l=i;i=null,r.next(l)}};function c(){let l=s+e,u=t.now();if(u<l){o=this.schedule(void 0,l-u),r.add(o);return}a()}n.subscribe(D(r,l=>{i=l,s=t.now(),o||(o=t.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function mh(e,t=J){return e=e??yh,C((n,r)=>{let o,i=!0;n.subscribe(D(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function yh(e,t){return e===t}function Yc(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 Zc(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 dt(e){return this instanceof dt?(this.v=e,this):new dt(e)}function Kc(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(y){return new Promise(function(S,T){i.push([f,y,S,T])>1||c(f,y)})},h&&(o[f]=h(o[f])))}function c(f,h){try{l(r[f](h))}catch(y){p(i[0][3],y)}}function l(f){f.value instanceof dt?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 Jc(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 Zc=="function"?Zc(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 Ut=e=>e&&typeof e.length=="number"&&typeof e!="function";function Nr(e){return I(e?.then)}function Sr(e){return I(e[Vt])}function xr(e){return Symbol.asyncIterator&&I(e?.[Symbol.asyncIterator])}function Ar(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 vh(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Rr=vh();function Or(e){return I(e?.[Rr])}function kr(e){return Kc(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield dt(n.read());if(o)return yield dt(void 0);yield yield dt(r)}}finally{n.releaseLock()}})}function Pr(e){return I(e?.getReader)}function N(e){if(e instanceof _)return e;if(e!=null){if(Sr(e))return Ih(e);if(Ut(e))return Eh(e);if(Nr(e))return Dh(e);if(xr(e))return Xc(e);if(Or(e))return Ch(e);if(Pr(e))return bh(e)}throw Ar(e)}function Ih(e){return new _(t=>{let n=e[Vt]();if(I(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Eh(e){return new _(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function Dh(e){return new _(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,br)})}function Ch(e){return new _(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Xc(e){return new _(t=>{Th(e,t).catch(n=>t.error(n))})}function bh(e){return Xc(kr(e))}function Th(e,t){var n,r,o,i;return Yc(this,void 0,void 0,function*(){try{for(n=Jc(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function ne(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function el(e,t,n,r,o,i,s,a){let c=[],l=0,u=0,d=!1,p=()=>{d&&!c.length&&!l&&t.complete()},f=y=>l<r?h(y):c.push(y),h=y=>{i&&t.next(y),l++;let S=!1;N(n(y,u++)).subscribe(D(t,T=>{o?.(T),i?f(T):t.next(T)},()=>{S=!0},void 0,()=>{if(S)try{for(l--;c.length&&l<r;){let T=c.shift();s?ne(t,s,()=>h(T)):h(T)}p()}catch(T){t.error(T)}}))};return e.subscribe(D(t,f,()=>{d=!0,p()})),()=>{a?.()}}function ge(e,t,n=1/0){return I(t)?ge((r,o)=>Le((i,s)=>t(r,i,o,s))(N(e(r,o))),n):(typeof t=="number"&&(n=t),C((r,o)=>el(r,o,e,n)))}function Cn(e=1/0){return ge(J,e)}function tl(){return Cn(1)}function Ni(e){return e[e.length-1]}function Ye(e){return I(Ni(e))?e.pop():void 0}function be(e){return Mr(Ni(e))?e.pop():void 0}function nl(e,t){return typeof Ni(e)=="number"?e.pop():t}function Lr(e,t=0){return C((n,r)=>{n.subscribe(D(r,o=>ne(r,e,()=>r.next(o),t),()=>ne(r,e,()=>r.complete(),t),o=>ne(r,e,()=>r.error(o),t)))})}function Fr(e,t=0){return C((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function rl(e,t){return N(e).pipe(Fr(t),Lr(t))}function ol(e,t){return N(e).pipe(Fr(t),Lr(t))}function il(e,t){return new _(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function sl(e,t){return new _(n=>{let r;return ne(n,t,()=>{r=e[Rr](),ne(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>I(r?.return)&&r.return()})}function jr(e,t){if(!e)throw new Error("Iterable cannot be null");return new _(n=>{ne(n,t,()=>{let r=e[Symbol.asyncIterator]();ne(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function al(e,t){return jr(kr(e),t)}function cl(e,t){if(e!=null){if(Sr(e))return rl(e,t);if(Ut(e))return il(e,t);if(Nr(e))return ol(e,t);if(xr(e))return jr(e,t);if(Or(e))return sl(e,t);if(Pr(e))return al(e,t)}throw Ar(e)}function Te(e,t){return t?cl(e,t):N(e)}function Ke(...e){return tl()(Te(e,be(e)))}function wh(...e){let t=be(e);return C((n,r)=>{(t?Ke(e,n,t):Ke(e,n)).subscribe(r)})}var qt={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame,{delegate:r}=qt;r&&(t=r.requestAnimationFrame,n=r.cancelAnimationFrame);let o=t(i=>{n=void 0,e(i)});return new $(()=>n?.(o))},requestAnimationFrame(...e){let{delegate:t}=qt;return(t?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){let{delegate:t}=qt;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};var bn=class extends re{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 Vr=class extends re{constructor(t=1/0,n=1/0,r=Dn){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)}}};var Hr=class extends Ht{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,r=0){return r!==null&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=qt.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,n,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);let{actions:i}=t;n!=null&&n===t._scheduled&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&(qt.cancelAnimationFrame(n),t._scheduled=void 0)}};var Br=class extends $t{flush(t){this._active=!0;let n;t?n=t.id:(n=this._scheduled,this._scheduled=void 0);let{actions:r}=this,o;t=t||r.shift();do if(o=t.execute(t.state,t.delay))break;while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}};var _h=new Br(Hr);var je=new _(e=>e.complete());function Si(...e){let t=be(e);return Te(e,t)}function Mh(e,t){let n=I(e)?e:()=>e,r=o=>o.error(n());return new _(t?o=>t.schedule(r,0,o):r)}function Nh(e){return!!e&&(e instanceof _||I(e.lift)&&I(e.subscribe))}function Sh(e,t){let n=typeof t=="object";return new Promise((r,o)=>{let i=!1,s;e.subscribe({next:a=>{s=a,i=!0},error:o,complete:()=>{i?r(s):n?r(t.defaultValue):o(new Pe)}})})}var{isArray:xh}=Array;function Ah(e,t){return xh(t)?e(...t):e(t)}function Wt(e){return Le(t=>Ah(e,t))}var{isArray:Rh}=Array,{getPrototypeOf:Oh,prototype:kh,keys:Ph}=Object;function $r(e){if(e.length===1){let t=e[0];if(Rh(t))return{args:t,keys:null};if(Lh(t)){let n=Ph(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function Lh(e){return e&&typeof e=="object"&&Oh(e)===kh}function Ur(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Fh(...e){let t=be(e),n=Ye(e),{args:r,keys:o}=$r(e);if(r.length===0)return Te([],t);let i=new _(jh(r,t,o?s=>Ur(o,s):J));return n?i.pipe(Wt(n)):i}function jh(e,t,n=J){return r=>{ll(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)ll(t,()=>{let l=Te(e[c],t),u=!1;l.subscribe(D(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function ll(e,t,n){e?ne(n,e,t):t()}function Vh(e){return new _(t=>{N(e()).subscribe(t)})}function Hh(...e){let t=Ye(e),{args:n,keys:r}=$r(e),o=new _(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;N(n[u]).subscribe(D(i,p=>{d||(d=!0,l--),a[u]=p},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?Ur(r,a):a),i.complete())}))}});return t?o.pipe(Wt(t)):o}var Bh=["addListener","removeListener"],$h=["addEventListener","removeEventListener"],Uh=["on","off"];function xi(e,t,n,r){if(I(n)&&(r=n,n=void 0),r)return xi(e,t,n).pipe(Wt(r));let[o,i]=Gh(e)?$h.map(s=>a=>e[s](t,a,n)):qh(e)?Bh.map(ul(e,t)):Wh(e)?Uh.map(ul(e,t)):[];if(!o&&Ut(e))return ge(s=>xi(s,t,n))(N(e));if(!o)throw new TypeError("Invalid event target");return new _(s=>{let a=(...c)=>s.next(1<c.length?c:c[0]);return o(a),()=>i(a)})}function ul(e,t){return n=>r=>e[n](t,r)}function qh(e){return I(e.addListener)&&I(e.removeListener)}function Wh(e){return I(e.on)&&I(e.off)}function Gh(e){return I(e.addEventListener)&&I(e.removeEventListener)}function zh(e=0,t=Fe){return e<0&&(e=0),ut(e,e,t)}function Qh(...e){let t=be(e),n=nl(e,1/0),r=e;return r.length?r.length===1?N(r[0]):Cn(n)(Te(r,t)):je}var{isArray:Zh}=Array;function qr(e){return e.length===1&&Zh(e[0])?e[0]:e}function Tn(e,t){return C((n,r)=>{let o=0;n.subscribe(D(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Yh(...e){return e=qr(e),e.length===1?N(e[0]):new _(Kh(e))}function Kh(e){return t=>{let n=[];for(let r=0;n&&!t.closed&&r<e.length;r++)n.push(N(e[r]).subscribe(D(t,o=>{if(n){for(let i=0;i<n.length;i++)i!==r&&n[i].unsubscribe();n=null}t.next(o)})))}}function Jh(...e){let t=Ye(e),n=qr(e);return n.length?new _(r=>{let o=n.map(()=>[]),i=n.map(()=>!1);r.add(()=>{o=i=null});for(let s=0;!r.closed&&s<n.length;s++)N(n[s]).subscribe(D(r,a=>{if(o[s].push(a),o.every(c=>c.length)){let c=o.map(l=>l.shift());r.next(t?t(...c):c),o.some((l,u)=>!l.length&&i[u])&&r.complete()}},()=>{i[s]=!0,!o[s].length&&r.complete()}));return()=>{o=i=null}}):je}function dl(e){return C((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let l=o;o=null,n.next(l)}s&&n.complete()},c=()=>{i=null,s&&n.complete()};t.subscribe(D(n,l=>{r=!0,o=l,i||N(e(l)).subscribe(i=D(n,a,c))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function Xh(e,t=Fe){return dl(()=>ut(e,t))}function fl(e){return C((t,n)=>{let r=null,o=!1,i;r=t.subscribe(D(n,void 0,void 0,s=>{i=N(e(s,fl(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function eg(e,t){return I(t)?ge(e,t,1):ge(e,1)}function pl(e){return C((t,n)=>{let r=!1;t.subscribe(D(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function Gt(e){return e<=0?()=>je:C((t,n)=>{let r=0;t.subscribe(D(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function hl(){return C((e,t)=>{e.subscribe(D(t,ke))})}function gl(e){return Le(()=>e)}function Ai(e,t){return t?n=>Ke(t.pipe(Gt(1),hl()),n.pipe(Ai(e))):ge((n,r)=>N(e(n,r)).pipe(Gt(1),gl(n)))}function tg(e,t=Fe){let n=ut(e,t);return Ai(()=>n)}function ml(e=ng){return C((t,n)=>{let r=!1;t.subscribe(D(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function ng(){return new Pe}function rg(...e){return t=>Ke(t,Si(...e))}function og(e){return C((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function ig(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Tn((o,i)=>e(o,i,r)):J,Gt(1),n?pl(t):ml(()=>new Pe))}function sg(e){return e<=0?()=>je:C((t,n)=>{let r=[];t.subscribe(D(n,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function yl(e={}){let{connector:t=()=>new re,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 y=s;f(),y?.unsubscribe()};return C((y,S)=>{l++,!d&&!u&&p();let T=c=c??t();S.add(()=>{l--,l===0&&!d&&!u&&(a=Ri(h,o))}),T.subscribe(S),!s&&l>0&&(s=new he({next:Ce=>T.next(Ce),error:Ce=>{d=!0,p(),a=Ri(f,n,Ce),T.error(Ce)},complete:()=>{u=!0,p(),a=Ri(f,r),T.complete()}}),N(y).subscribe(s))})(i)}}function Ri(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new he({next:()=>{r.unsubscribe(),e()}});return N(t(...n)).subscribe(r)}function ag(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,yl({connector:()=>new Vr(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function cg(e){return Tn((t,n)=>e<=n)}function vl(e,t){return C((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(D(r,c=>{o?.unsubscribe();let l=0,u=i++;N(e(c,u)).subscribe(o=D(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Il(e){return C((t,n)=>{N(e).subscribe(D(n,()=>n.complete(),ke)),!n.closed&&t.subscribe(n)})}function lg(e,t,n){let r=I(e)||t||n?{next:e,error:t,complete:n}:e;return r?C((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(D(i,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),i.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):J}function ug(...e){let t=Ye(e);return C((n,r)=>{let o=e.length,i=new Array(o),s=e.map(()=>!1),a=!1;for(let c=0;c<o;c++)N(e[c]).subscribe(D(r,l=>{i[c]=l,!a&&!s[c]&&(s[c]=!0,(a=s.every(J))&&(s=null))},ke));n.subscribe(D(r,c=>{if(a){let l=[c,...i];r.next(t?t(...l):l)}}))})}var z=null,Wr=!1,Li=1,dg=null,W=Symbol("SIGNAL");function v(e){let t=z;return z=e,t}function zr(){return z}var zt={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Qt(e){if(Wr)throw new Error("");if(z===null)return;z.consumerOnSignalRead(e);let t=z.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=z.recomputing;if(r&&(n=t!==void 0?t.nextProducer:z.producers,n!==void 0&&n.producer===e)){z.producersTail=n,n.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===z&&(!r||pg(o,z)))return;let i=Yt(z),s={producer:e,consumer:z,nextProducer:n,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};z.producersTail=s,t!==void 0?t.nextProducer=s:z.producers=s,i&&bl(e,s)}function El(){Li++}function Fi(e){if(!(Yt(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Li)){if(!e.producerMustRecompute(e)&&!_n(e)){Pi(e);return}e.producerRecomputeValue(e),Pi(e)}}function ji(e){if(e.consumers===void 0)return;let t=Wr;Wr=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||fg(r)}}finally{Wr=t}}function Vi(){return z?.consumerAllowSignalWrites!==!1}function fg(e){e.dirty=!0,ji(e),e.consumerMarkedDirty?.(e)}function Pi(e){e.dirty=!1,e.lastCleanEpoch=Li}function Zt(e){return e&&Dl(e),v(e)}function Dl(e){e.producersTail=void 0,e.recomputing=!0}function wn(e,t){v(t),e&&Cl(e)}function Cl(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(Yt(e))do n=Hi(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function _n(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(Fi(n),r!==n.version))return!0}return!1}function ft(e){if(Yt(e)){let t=e.producers;for(;t!==void 0;)t=Hi(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function bl(e,t){let n=e.consumersTail,r=Yt(e);if(n!==void 0?(t.nextConsumer=n.nextConsumer,n.nextConsumer=t):(t.nextConsumer=void 0,e.consumers=t),t.prevConsumer=n,e.consumersTail=t,!r)for(let o=e.producers;o!==void 0;o=o.nextProducer)bl(o.producer,o)}function Hi(e){let t=e.producer,n=e.nextProducer,r=e.nextConsumer,o=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,r!==void 0?r.prevConsumer=o:t.consumersTail=o,o!==void 0)o.nextConsumer=r;else if(t.consumers=r,!Yt(t)){let i=t.producers;for(;i!==void 0;)i=Hi(i)}return n}function Yt(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function Bi(e){dg?.(e)}function pg(e,t){let n=t.producersTail;if(n!==void 0){let r=t.producers;do{if(r===e)return!0;if(r===n)break;r=r.nextProducer}while(r!==void 0)}return!1}function $i(e,t){return Object.is(e,t)}function Mn(e,t){let n=Object.create(hg);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(Fi(n),Qt(n),n.value===Gr)throw n.error;return n.value};return r[W]=n,Bi(n),r}var Oi=Symbol("UNSET"),ki=Symbol("COMPUTING"),Gr=Symbol("ERRORED"),hg=K(Y({},zt),{value:Oi,dirty:!0,error:null,equal:$i,kind:"computed",producerMustRecompute(e){return e.value===Oi||e.value===ki},producerRecomputeValue(e){if(e.value===ki)throw new Error("");let t=e.value;e.value=ki;let n=Zt(e),r,o=!1;try{r=e.computation(),v(null),o=t!==Oi&&t!==Gr&&r!==Gr&&e.equal(t,r)}catch(i){r=Gr,e.error=i}finally{wn(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function gg(){throw new Error}var Tl=gg;function wl(e){Tl(e)}function Ui(e){Tl=e}var mg=null;function qi(e,t){let n=Object.create(Qr);n.value=e,t!==void 0&&(n.equal=t);let r=()=>_l(n);return r[W]=n,Bi(n),[r,s=>Kt(n,s),s=>Ml(n,s)]}function _l(e){return Qt(e),e.value}function Kt(e,t){Vi()||wl(e),e.equal(e.value,t)||(e.value=t,yg(e))}function Ml(e,t){Vi()||wl(e),Kt(e,t(e.value))}var Qr=K(Y({},zt),{equal:$i,value:void 0,kind:"signal"});function yg(e){e.version++,El(),ji(e),mg?.(e)}function Wi(e){let t=v(null);try{return e()}finally{v(t)}}var Gi=K(Y({},zt),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function zi(e){if(e.dirty=!1,e.version>0&&!_n(e))return;e.version++;let t=Zt(e);try{e.cleanup(),e.fn()}finally{wn(e,t)}}var Qi;function Zr(){return Qi}function we(e){let t=Qi;return Qi=e,t}var Nl=Symbol("NotFound");function Jt(e){return e===Nl||e?.name==="\u0275NotFound"}var no="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",M=class extends Error{code;constructor(t,n){super(kn(t,n)),this.code=t}};function vg(e){return`NG0${Math.abs(e)}`}function kn(e,t){return`${vg(e)}${t?": "+t:""}`}var Ne=globalThis;function A(e){for(let t in e)if(e[t]===A)return t;throw Error("")}function Ol(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Be(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(Be).join(", ")}]`;if(e==null)return""+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let n=e.toString();if(n==null)return""+n;let r=n.indexOf(`
4
- `);return r>=0?n.slice(0,r):n}function ro(e,t){return e?t?`${e} ${t}`:e:t||""}var Ig=A({__forward_ref__:A});function oo(e){return e.__forward_ref__=oo,e.toString=function(){return Be(this())},e}function U(e){return as(e)?e():e}function as(e){return typeof e=="function"&&e.hasOwnProperty(Ig)&&e.__forward_ref__===oo}function G(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function kl(e){return{providers:e.providers||[],imports:e.imports||[]}}function Pn(e){return Dg(e,io)}function Eg(e){return Pn(e)!==null}function Dg(e,t){return e.hasOwnProperty(t)&&e[t]||null}function Cg(e){let t=e?.[io]??null;return t||null}function Yi(e){return e&&e.hasOwnProperty(Kr)?e[Kr]:null}var io=A({\u0275prov:A}),Kr=A({\u0275inj:A}),k=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=G({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function cs(e){return e&&!!e.\u0275providers}var ls=A({\u0275cmp:A}),us=A({\u0275dir:A}),ds=A({\u0275pipe:A}),fs=A({\u0275mod:A}),Sn=A({\u0275fac:A}),yt=A({__NG_ELEMENT_ID__:A}),Sl=A({__NG_ENV_ID__:A});function ps(e){return ao(e,"@NgModule"),e[fs]||null}function qe(e){return ao(e,"@Component"),e[ls]||null}function so(e){return ao(e,"@Directive"),e[us]||null}function Pl(e){return ao(e,"@Pipe"),e[ds]||null}function ao(e,t){if(e==null)throw new M(-919,!1)}function H(e){return typeof e=="string"?e:e==null?"":String(e)}function Ll(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():H(e)}var Fl=A({ngErrorCode:A}),bg=A({ngErrorMessage:A}),Tg=A({ngTokenPath:A});function hs(e,t){return jl("",-200,t)}function co(e,t){throw new M(-201,!1)}function jl(e,t,n){let r=new M(t,e);return r[Fl]=t,r[bg]=e,n&&(r[Tg]=n),r}function wg(e){return e[Fl]}var Ki;function Vl(){return Ki}function X(e){let t=Ki;return Ki=e,t}function gs(e,t,n){let r=Pn(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&8)return null;if(t!==void 0)return t;co(e,"")}var _g={},pt=_g,Mg="__NG_DI_FLAG__",Ji=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=ht(n)||0;try{return this.injector.get(t,r&8?null:pt,r)}catch(o){if(Jt(o))return o;throw o}}};function Ng(e,t=0){let n=Zr();if(n===void 0)throw new M(-203,!1);if(n===null)return gs(e,void 0,t);{let r=Sg(t),o=n.retrieve(e,r);if(Jt(o)){if(r.optional)return null;throw o}return o}}function _e(e,t=0){return(Vl()||Ng)(U(e),t)}function w(e,t){return _e(e,ht(t))}function ht(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Sg(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function Xi(e){let t=[];for(let n=0;n<e.length;n++){let r=U(e[n]);if(Array.isArray(r)){if(r.length===0)throw new M(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=xg(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(_e(o,i))}else t.push(_e(r))}return t}function xg(e){return e[Mg]}function Je(e,t){let n=e.hasOwnProperty(Sn);return n?e[Sn]:null}function Hl(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 Bl(e){return e.flat(Number.POSITIVE_INFINITY)}function lo(e,t){e.forEach(n=>Array.isArray(n)?lo(n,t):t(n))}function ms(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Ln(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function $l(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function Ul(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 uo(e,t,n){let r=en(e,t);return r>=0?e[r|1]=n:(r=~r,Ul(e,r,t,n)),r}function fo(e,t){let n=en(e,t);if(n>=0)return e[n|1]}function en(e,t){return Ag(e,t,1)}function Ag(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}var ye={},Q=[],Fn=new k(""),ys=new k("",-1),vs=new k(""),xn=class{get(t,n=pt){if(n===pt){let o=jl("",-201);throw o.name="\u0275NotFound",o}return n}};function Is(e){return{\u0275providers:e}}function ql(...e){return{\u0275providers:Es(!0,e),\u0275fromNgModule:!0}}function Es(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return lo(t,s=>{let a=s;Jr(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Wl(o,i),n}function Wl(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];Ds(o,i=>{t(i,r)})}}function Jr(e,t,n,r){if(e=U(e),!e)return!1;let o=null,i=Yi(e),s=!i&&qe(e);if(!i&&!s){let c=e.ngModule;if(i=Yi(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)Jr(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;try{lo(i.imports,u=>{Jr(u,t,n,r)&&(l||=[],l.push(u))})}finally{}l!==void 0&&Wl(l,t)}if(!a){let l=Je(o)||(()=>new o);t({provide:o,useFactory:l,deps:Q},o),t({provide:vs,useValue:o,multi:!0},o),t({provide:Fn,useValue:()=>_e(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;Ds(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function Ds(e,t){for(let n of e)cs(n)&&(n=n.\u0275providers),Array.isArray(n)?Ds(n,t):t(n)}var Rg=A({provide:String,useValue:A});function Gl(e){return e!==null&&typeof e=="object"&&Rg in e}function Og(e){return!!(e&&e.useExisting)}function kg(e){return!!(e&&e.useFactory)}function gt(e){return typeof e=="function"}function zl(e){return!!e.useClass}var Cs=new k(""),Yr={},xl={},Zi;function tn(){return Zi===void 0&&(Zi=new xn),Zi}var se=class{},mt=class extends se{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,ts(t,s=>this.processProvider(s)),this.records.set(ys,Xt(void 0,this)),o.has("environment")&&this.records.set(se,Xt(void 0,this));let i=this.records.get(Cs);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(vs,Q,{self:!0}))}retrieve(t,n){let r=ht(n)||0;try{return this.get(t,pt,r)}catch(o){if(Jt(o))return o;throw o}}destroy(){Nn(this),this._destroyed=!0;let t=v(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(),v(t)}}onDestroy(t){return Nn(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Nn(this);let n=we(this),r=X(void 0),o;try{return t()}finally{we(n),X(r)}}get(t,n=pt,r){if(Nn(this),t.hasOwnProperty(Sl))return t[Sl](this);let o=ht(r),i,s=we(this),a=X(void 0);try{if(!(o&4)){let l=this.records.get(t);if(l===void 0){let u=Vg(t)&&Pn(t);u&&this.injectableDefInScope(u)?l=Xt(es(t),Yr):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l,o)}let c=o&2?tn():this.parent;return n=o&8&&n===pt?null:n,c.get(t,n)}catch(c){let l=wg(c);throw l===-200||l===-201?new M(l,null):c}finally{X(a),we(s)}}resolveInjectorInitializers(){let t=v(null),n=we(this),r=X(void 0),o;try{let i=this.get(Fn,Q,{self:!0});for(let s of i)s()}finally{we(n),X(r),v(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(Be(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=U(t);let n=gt(t)?t:U(t&&t.provide),r=Lg(t);if(!gt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Xt(void 0,Yr,!0),o.factory=()=>Xi(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=v(null);try{if(n.value===xl)throw hs(Be(t));return n.value===Yr&&(n.value=xl,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&jg(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{v(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=U(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 es(e){let t=Pn(e),n=t!==null?t.factory:Je(e);if(n!==null)return n;if(e instanceof k)throw new M(204,!1);if(e instanceof Function)return Pg(e);throw new M(204,!1)}function Pg(e){if(e.length>0)throw new M(204,!1);let n=Cg(e);return n!==null?()=>n.factory(e):()=>new e}function Lg(e){if(Gl(e))return Xt(void 0,e.useValue);{let t=bs(e);return Xt(t,Yr)}}function bs(e,t,n){let r;if(gt(e)){let o=U(e);return Je(o)||es(o)}else if(Gl(e))r=()=>U(e.useValue);else if(kg(e))r=()=>e.useFactory(...Xi(e.deps||[]));else if(Og(e))r=(o,i)=>_e(U(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=U(e&&(e.useClass||e.provide));if(Fg(e))r=()=>new o(...Xi(e.deps));else return Je(o)||es(o)}return r}function Nn(e){if(e.destroyed)throw new M(205,!1)}function Xt(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Fg(e){return!!e.deps}function jg(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Vg(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function ts(e,t){for(let n of e)Array.isArray(n)?ts(n,t):n&&cs(n)?ts(n.\u0275providers,t):t(n)}function po(e,t){let n;e instanceof mt?(Nn(e),n=e):n=new Ji(e);let r,o=we(n),i=X(void 0);try{return t()}finally{we(o),X(i)}}function Ql(){return Vl()!==void 0||Zr()!=null}var ae=0,m=1,E=2,q=3,ce=4,ee=5,vt=6,nn=7,j=8,We=9,Se=10,O=11,rn=12,Ts=13,It=14,te=15,tt=16,Et=17,xe=18,jn=19,ws=20,He=21,ho=22,Xe=23,oe=24,Dt=25,Ct=26,P=27,_s=1,Ms=6,nt=7,Vn=8,bt=9,F=10;function Ae(e){return Array.isArray(e)&&typeof e[_s]=="object"}function ve(e){return Array.isArray(e)&&e[_s]===!0}function Ns(e){return(e.flags&4)!==0}function rt(e){return e.componentOffset>-1}function on(e){return(e.flags&1)===1}function le(e){return!!e.template}function sn(e){return(e[E]&512)!==0}function Tt(e){return(e[E]&256)===256}var Ss="svg",Zl="math";function ue(e){for(;Array.isArray(e);)e=e[ae];return e}function xs(e){for(;Array.isArray(e);){if(typeof e[_s]=="object")return e;e=e[ae]}return null}function As(e,t){return ue(t[e])}function Ie(e,t){return ue(t[e.index])}function Hn(e,t){return e.data[t]}function go(e,t){return e[t]}function Rs(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function de(e,t){let n=t[e];return Ae(n)?n:n[ae]}function Yl(e){return(e[E]&4)===4}function mo(e){return(e[E]&128)===128}function Kl(e){return ve(e[q])}function fe(e,t){return t==null?null:e[t]}function Os(e){e[Et]=0}function ks(e){e[E]&1024||(e[E]|=1024,mo(e)&&wt(e))}function Jl(e,t){for(;e>0;)t=t[It],e--;return t}function Bn(e){return!!(e[E]&9216||e[oe]?.dirty)}function yo(e){e[Se].changeDetectionScheduler?.notify(8),e[E]&64&&(e[E]|=1024),Bn(e)&&wt(e)}function wt(e){e[Se].changeDetectionScheduler?.notify(0);let t=et(e);for(;t!==null&&!(t[E]&8192||(t[E]|=8192,!mo(t)));)t=et(t)}function Ps(e,t){if(Tt(e))throw new M(911,!1);e[He]===null&&(e[He]=[]),e[He].push(t)}function Xl(e,t){if(e[He]===null)return;let n=e[He].indexOf(t);n!==-1&&e[He].splice(n,1)}function et(e){let t=e[q];return ve(t)?t[q]:t}function Ls(e){return e[nn]??=[]}function Fs(e){return e.cleanup??=[]}function eu(e,t,n,r){let o=Ls(t);o.push(n),e.firstCreatePass&&Fs(e).push(r,o.length-1)}var b={lFrame:fu(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var ns=!1;function tu(){return b.lFrame.elementDepthCount}function nu(){b.lFrame.elementDepthCount++}function js(){b.lFrame.elementDepthCount--}function vo(){return b.bindingsEnabled}function Vs(){return b.skipHydrationRootTNode!==null}function Hs(e){return b.skipHydrationRootTNode===e}function Bs(){b.skipHydrationRootTNode=null}function g(){return b.lFrame.lView}function L(){return b.lFrame.tView}function ru(e){return b.lFrame.contextLView=e,e[j]}function ou(e){return b.lFrame.contextLView=null,e}function B(){let e=$s();for(;e!==null&&e.type===64;)e=e.parent;return e}function $s(){return b.lFrame.currentTNode}function iu(){let e=b.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function an(e,t){let n=b.lFrame;n.currentTNode=e,n.isParent=t}function Us(){return b.lFrame.isParent}function qs(){b.lFrame.isParent=!1}function su(){return b.lFrame.contextLView}function Ws(){return ns}function An(e){let t=ns;return ns=e,t}function Re(){let e=b.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function $n(){return b.lFrame.bindingIndex}function au(e){return b.lFrame.bindingIndex=e}function Ge(){return b.lFrame.bindingIndex++}function _t(e){let t=b.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function cu(){return b.lFrame.inI18n}function lu(e,t){let n=b.lFrame;n.bindingIndex=n.bindingRootIndex=e,Io(t)}function uu(){return b.lFrame.currentDirectiveIndex}function Io(e){b.lFrame.currentDirectiveIndex=e}function Gs(e){let t=b.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Eo(){return b.lFrame.currentQueryIndex}function Un(e){b.lFrame.currentQueryIndex=e}function Hg(e){let t=e[m];return t.type===2?t.declTNode:t.type===1?e[ee]:null}function zs(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=Hg(i),o===null||(i=i[It],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=b.lFrame=du();return r.currentTNode=t,r.lView=e,!0}function Do(e){let t=du(),n=e[m];b.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function du(){let e=b.lFrame,t=e===null?null:e.child;return t===null?fu(e):t}function fu(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 pu(){let e=b.lFrame;return b.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Qs=pu;function Co(){let e=pu();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 hu(e){return(b.lFrame.contextLView=Jl(e,b.lFrame.contextLView))[j]}function ie(){return b.lFrame.selectedIndex}function ot(e){b.lFrame.selectedIndex=e}function cn(){let e=b.lFrame;return Hn(e.tView,e.selectedIndex)}function gu(){b.lFrame.currentNamespace=Ss}function mu(){Bg()}function Bg(){b.lFrame.currentNamespace=null}function yu(){return b.lFrame.currentNamespace}var vu=!0;function bo(){return vu}function qn(e){vu=e}function rs(e,t=null,n=null,r){let o=Zs(e,t,n,r);return o.resolveInjectorInitializers(),o}function Zs(e,t=null,n=null,r,o=new Set){let i=[n||Q,ql(e)];return r=r||(typeof e=="object"?void 0:Be(e)),new mt(i,t||tn(),r||null,o)}var me=class e{static THROW_IF_NOT_FOUND=pt;static NULL=new xn;static create(t,n){if(Array.isArray(t))return rs({name:""},n,t,"");{let r=t.name??"";return rs({name:r},t.parent,t.providers,r)}}static \u0275prov=G({token:e,providedIn:"any",factory:()=>_e(ys)});static __NG_ELEMENT_ID__=-1},Ys=new k(""),it=(()=>{class e{static __NG_ELEMENT_ID__=$g;static __NG_ENV_ID__=n=>n}return e})(),Xr=class extends it{_lView;constructor(t){super(),this._lView=t}get destroyed(){return Tt(this._lView)}onDestroy(t){let n=this._lView;return Ps(n,t),()=>Xl(n,t)}};function $g(){return new Xr(g())}var Iu=!1,Mt=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new bn(!1);get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new _(n=>{n.next(!1),n.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.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.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=G({token:e,providedIn:"root",factory:()=>new e})}return e})(),os=class extends re{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Ql()&&(this.destroyRef=w(it,{optional:!0})??void 0,this.pendingTasks=w(Mt,{optional:!0})??void 0)}emit(t){let n=v(null);try{super.next(t)}finally{v(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 $&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},Ve=os;function eo(...e){}function Ks(e){let t,n;function r(){e=eo;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 Js(e){return queueMicrotask(()=>e()),()=>{e=eo}}var Xs="isAngularZone",Rn=Xs+"_ID",Ug=0,Me=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Ve(!1);onMicrotaskEmpty=new Ve(!1);onStable=new Ve(!1);onError=new Ve(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Iu}=t;if(typeof Zone>"u")throw new M(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,Gg(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Xs)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new M(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new M(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,qg,eo,eo);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)}},qg={};function ea(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 Wg(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Ks(()=>{e.callbackScheduled=!1,is(e),e.isCheckStableRunning=!0,ea(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),is(e)}function Gg(e){let t=()=>{Wg(e)},n=Ug++;e._inner=e._inner.fork({name:"angular",properties:{[Xs]:!0,[Rn]:n,[Rn+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(zg(c))return r.invokeTask(i,s,a,c);try{return Al(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 Al(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Qg(c)&&t(),Rl(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,is(e),ea(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 is(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Al(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Rl(e){e._nesting--,ea(e)}var On=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Ve;onMicrotaskEmpty=new Ve;onStable=new Ve;onError=new Ve;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 zg(e){return Eu(e,"__ignore_ng_zone__")}function Qg(e){return Eu(e,"__scheduler_tick__")}function Eu(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var $e=class{_console=console;handleError(t){this._console.error("ERROR",t)}},Nt=new k("",{factory:()=>{let e=w(Me),t=w(se),n;return r=>{e.runOutsideAngular(()=>{t.destroyed&&!n?setTimeout(()=>{throw r}):(n??=t.get($e),n.handleError(r))})}}}),Du={provide:Fn,useValue:()=>{let e=w($e,{optional:!0})},multi:!0};function To(e,t){let[n,r,o]=qi(e,t?.equal),i=n,s=i[W];return i.set=r,i.update=o,i.asReadonly=wo.bind(i),i}function wo(){let e=this[W];if(e.readonlyFn===void 0){let t=()=>this();t[W]=e,e.readonlyFn=t}return e.readonlyFn}var Wn=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=Zg}return e})();function Zg(){return new Wn(g(),B())}var Ue=class{},Gn=new k("",{factory:()=>!0});var ta=new k(""),na=(()=>{class e{internalPendingTasks=w(Mt);scheduler=w(Ue);errorHandler=w(Nt);add(){let n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(n))}}run(n){let r=this.add();n().catch(this.errorHandler).finally(r)}static \u0275prov=G({token:e,providedIn:"root",factory:()=>new e})}return e})(),_o=(()=>{class e{static \u0275prov=G({token:e,providedIn:"root",factory:()=>new ss})}return e})(),ss=class{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t)}schedule(t){t.dirty&&this.dirtyEffectCount++}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),t.dirty&&this.dirtyEffectCount--)}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)||r.add(t)}flush(){for(;this.dirtyEffectCount>0;){let t=!1;for(let[n,r]of this.queues)n===null?t||=this.flushQueue(r):t||=n.run(()=>this.flushQueue(r));t||(this.dirtyEffectCount=0)}}flushQueue(t){let n=!1;for(let r of t)r.dirty&&(this.dirtyEffectCount--,n=!0,r.run());return n}},to=class{[W];constructor(t){this[W]=t}destroy(){this[W].destroy()}};function Cu(e,t){let n=t?.injector??w(me),r=t?.manualCleanup!==!0?n.get(it):null,o,i=n.get(Wn,null,{optional:!0}),s=n.get(Ue);return i!==null?(o=Jg(i.view,s,e),r instanceof Xr&&r._lView===i.view&&(r=null)):o=Xg(e,n.get(_o),s),o.injector=n,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new to(o)}var bu=K(Y({},Gi),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let e=An(!1);try{zi(this)}finally{An(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=v(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],v(e)}}}),Yg=K(Y({},bu),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(ft(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this)}}),Kg=K(Y({},bu),{consumerMarkedDirty(){this.view[E]|=8192,wt(this.view),this.notifier.notify(13)},destroy(){if(ft(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.view[Xe]?.delete(this)}});function Jg(e,t,n){let r=Object.create(Kg);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=Tu(r,n),e[Xe]??=new Set,e[Xe].add(r),r.consumerMarkedDirty(r),r}function Xg(e,t,n){let r=Object.create(Yg);return r.fn=Tu(r,e),r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}function Tu(e,t){return()=>{t(n=>(e.cleanupFns??=[]).push(n))}}function ra(e){return Wi(e)}function ar(e){return{toString:e}.toString()}function sm(e){return typeof e=="function"}function id(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var Lo=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}},am=(()=>{let e=()=>sd;return e.ngInherit=!0,e})();function sd(e){return e.type.prototype.ngOnChanges&&(e.setInput=lm),cm}function cm(){let e=cd(this),t=e?.current;if(t){let n=e.previous;if(n===ye)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function lm(e,t,n,r,o){let i=this.declaredInputs[r],s=cd(e)||um(e,{previous:ye,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new Lo(l&&l.currentValue,n,c===ye),id(e,t,o,n)}var ad="__ngSimpleChanges__";function cd(e){return e[ad]||null}function um(e,t){return e[ad]=t}var wu=[];var R=function(e,t=null,n){for(let r=0;r<wu.length;r++){let o=wu[r];o(e,t,n)}},x=(function(e){return e[e.TemplateCreateStart=0]="TemplateCreateStart",e[e.TemplateCreateEnd=1]="TemplateCreateEnd",e[e.TemplateUpdateStart=2]="TemplateUpdateStart",e[e.TemplateUpdateEnd=3]="TemplateUpdateEnd",e[e.LifecycleHookStart=4]="LifecycleHookStart",e[e.LifecycleHookEnd=5]="LifecycleHookEnd",e[e.OutputStart=6]="OutputStart",e[e.OutputEnd=7]="OutputEnd",e[e.BootstrapApplicationStart=8]="BootstrapApplicationStart",e[e.BootstrapApplicationEnd=9]="BootstrapApplicationEnd",e[e.BootstrapComponentStart=10]="BootstrapComponentStart",e[e.BootstrapComponentEnd=11]="BootstrapComponentEnd",e[e.ChangeDetectionStart=12]="ChangeDetectionStart",e[e.ChangeDetectionEnd=13]="ChangeDetectionEnd",e[e.ChangeDetectionSyncStart=14]="ChangeDetectionSyncStart",e[e.ChangeDetectionSyncEnd=15]="ChangeDetectionSyncEnd",e[e.AfterRenderHooksStart=16]="AfterRenderHooksStart",e[e.AfterRenderHooksEnd=17]="AfterRenderHooksEnd",e[e.ComponentStart=18]="ComponentStart",e[e.ComponentEnd=19]="ComponentEnd",e[e.DeferBlockStateStart=20]="DeferBlockStateStart",e[e.DeferBlockStateEnd=21]="DeferBlockStateEnd",e[e.DynamicComponentStart=22]="DynamicComponentStart",e[e.DynamicComponentEnd=23]="DynamicComponentEnd",e[e.HostBindingsUpdateStart=24]="HostBindingsUpdateStart",e[e.HostBindingsUpdateEnd=25]="HostBindingsUpdateEnd",e})(x||{});function dm(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=sd(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 ld(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 Ao(e,t,n){ud(e,t,3,n)}function Ro(e,t,n,r){(e[E]&3)===n&&ud(e,t,n,r)}function oa(e,t){let n=e[E];(n&3)===t&&(n&=16383,n+=1,e[E]=n)}function ud(e,t,n,r){let o=r!==void 0?e[Et]&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[Et]+=65536),(a<i||i==-1)&&(fm(e,n,t,c),e[Et]=(e[Et]&4294901760)+c+2),c++}function _u(e,t){R(x.LifecycleHookStart,e,t);let n=v(null);try{t.call(e)}finally{v(n),R(x.LifecycleHookEnd,e,t)}}function fm(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[E]>>14<e[Et]>>16&&(e[E]&3)===t&&(e[E]+=16384,_u(a,i)):_u(a,i)}var un=-1,xt=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r,o){this.factory=t,this.name=o,this.canSeeViewProviders=n,this.injectImpl=r}};function pm(e){return(e.flags&8)!==0}function hm(e){return(e.flags&16)!==0}function gm(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];mm(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function dd(e){return e===3||e===4||e===6}function mm(e){return e.charCodeAt(0)===64}function dn(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){let o=t[r];typeof o=="number"?n=o:n===0||(n===-1||n===2?Mu(e,n,o,null,t[++r]):Mu(e,n,o,null,null))}}return e}function Mu(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){o!==null&&(e[i+1]=o);return}i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),o!==null&&e.splice(i++,0,o)}function fd(e){return e!==un}function Fo(e){return e&32767}function ym(e){return e>>16}function jo(e,t){let n=ym(e),r=t;for(;n>0;)r=r[It],n--;return r}var ha=!0;function Vo(e){let t=ha;return ha=e,t}var vm=256,pd=vm-1,hd=5,Im=0,Oe={};function Em(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(yt)&&(r=n[yt]),r==null&&(r=n[yt]=Im++);let o=r&pd,i=1<<o;t.data[e+(o>>hd)]|=i}function Ho(e,t){let n=gd(e,t);if(n!==-1)return n;let r=t[m];r.firstCreatePass&&(e.injectorIndex=t.length,ia(r.data,e),ia(t,null),ia(r.blueprint,null));let o=Ya(e,t),i=e.injectorIndex;if(fd(o)){let s=Fo(o),a=jo(o,t),c=a[m].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function ia(e,t){e.push(0,0,0,0,0,0,0,0,t)}function gd(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Ya(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=Ed(o),r===null)return un;if(n++,o=o[It],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return un}function ga(e,t,n){Em(e,t,n)}function Dm(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(dd(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 md(e,t,n){if(n&8||e!==void 0)return e;co(t,"NodeInjector")}function yd(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[We],i=X(void 0);try{return o?o.get(t,r,n&8):gs(t,r,n&8)}finally{X(i)}}return md(r,t,n)}function vd(e,t,n,r=0,o){if(e!==null){if(t[E]&2048&&!(r&2)){let s=_m(e,t,n,r,Oe);if(s!==Oe)return s}let i=Id(e,t,n,r,Oe);if(i!==Oe)return i}return yd(t,n,r,o)}function Id(e,t,n,r,o){let i=bm(n);if(typeof i=="function"){if(!zs(t,e,r))return r&1?md(o,n,r):yd(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))co(n);else return s}finally{Qs()}}else if(typeof i=="number"){let s=null,a=gd(e,t),c=un,l=r&1?t[te][ee]:null;for((a===-1||r&4)&&(c=a===-1?Ya(e,t):t[a+8],c===un||!Su(r,!1)?a=-1:(s=t[m],a=Fo(c),t=jo(c,t)));a!==-1;){let u=t[m];if(Nu(i,a,u.data)){let d=Cm(a,t,n,s,r,l);if(d!==Oe)return d}c=t[a+8],c!==un&&Su(r,t[m].data[a+8]===l)&&Nu(i,a,t)?(s=u,a=Fo(c),t=jo(c,t)):a=-1}}return o}function Cm(e,t,n,r,o,i){let s=t[m],a=s.data[e+8],c=r==null?rt(a)&&ha:r!=s&&(a.type&3)!==0,l=o&1&&i===a,u=Oo(a,s,n,c,l);return u!==null?Kn(t,s,u,a,o):Oe}function Oo(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&&le(f)&&f.type===n)return c}return null}function Kn(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof xt){let a=i;if(a.resolving){let f=Ll(s[n]);throw hs(f)}let c=Vo(a.canSeeViewProviders);a.resolving=!0;let l=s[n].type||s[n],u,d=a.injectImpl?X(a.injectImpl):null,p=zs(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&dm(n,s[n],t)}finally{d!==null&&X(d),Vo(c),a.resolving=!1,Qs()}}return i}function bm(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(yt)?e[yt]:void 0;return typeof t=="number"?t>=0?t&pd:Tm:t}function Nu(e,t,n){let r=1<<e;return!!(n[t+(e>>hd)]&r)}function Su(e,t){return!(e&2)&&!(e&1&&t)}var St=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return vd(this._tNode,this._lView,t,ht(r),n)}};function Tm(){return new St(B(),g())}function wm(e){return ar(()=>{let t=e.prototype.constructor,n=t[Sn]||ma(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Sn]||ma(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function ma(e){return as(e)?()=>{let t=ma(U(e));return t&&t()}:Je(e)}function _m(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[E]&2048&&!sn(s);){let a=Id(i,s,n,r|2,Oe);if(a!==Oe)return a;let c=i.parent;if(!c){let l=s[ws];if(l){let u=l.get(n,Oe,r);if(u!==Oe)return u}c=Ed(s),s=s[It]}i=c}return o}function Ed(e){let t=e[m],n=t.type;return n===2?t.declTNode:n===1?e[ee]:null}function Dd(e){return Dm(B(),e)}function Mm(){return mn(B(),g())}function mn(e,t){return new cr(Ie(e,t))}var cr=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=Mm}return e})();function Cd(e){return e instanceof cr?e.nativeElement:e}function Nm(){return this._results[Symbol.iterator]()}var Bo=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 re}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=Bl(t);(this._changesDetected=!Hl(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]=Nm};function bd(e){return(e.flags&128)===128}var Ka=(function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e})(Ka||{}),Td=new Map,Sm=0;function xm(){return Sm++}function Am(e){Td.set(e[jn],e)}function ya(e){Td.delete(e[jn])}var xu="__ngContext__";function fn(e,t){Ae(t)?(e[xu]=t[jn],Am(t)):e[xu]=t}function wd(e){return Md(e[rn])}function _d(e){return Md(e[ce])}function Md(e){for(;e!==null&&!ve(e);)e=e[ce];return e}var va;function Rm(e){va=e}function Nd(){if(va!==void 0)return va;if(typeof document<"u")return document;throw new M(210,!1)}var Om=new k("",{factory:()=>km}),km="ng";var Sd=new k(""),Pm=new k("",{providedIn:"platform",factory:()=>"unknown"}),Lm=new k(""),Fm=new k("",{factory:()=>w(Ys).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),xd={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},jm=new k("",{factory:()=>xd});var Ad="r";var Rd="di";var Od=!1,kd=new k("",{factory:()=>Od});var Vm=(e,t,n,r)=>{};function Hm(e,t,n,r){Vm(e,t,n,r)}function ri(e){return(e.flags&32)===32}var Bm=()=>null;function Pd(e,t,n=!1){return Bm(e,t,n)}function Ld(e,t){let n=e.contentQueries;if(n!==null){let r=v(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];Un(i),a.contentQueries(2,t[s],s)}}}finally{v(r)}}}function Ia(e,t,n){Un(0);let r=v(null);try{t(e,n)}finally{v(r)}}function Ja(e,t,n){if(Ns(t)){let r=v(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{v(r)}}}var At=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e})(At||{});var Mo;function Fd(){if(Mo===void 0&&(Mo=null,Ne.trustedTypes))try{Mo=Ne.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Mo}function oi(e){return Fd()?.createHTML(e)||e}function $m(e){return Fd()?.createScriptURL(e)||e}var No;function jd(){if(No===void 0&&(No=null,Ne.trustedTypes))try{No=Ne.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return No}function Au(e){return jd()?.createHTML(e)||e}function Ru(e){return jd()?.createScriptURL(e)||e}var ze=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${no})`}},Ea=class extends ze{getTypeName(){return"HTML"}},Da=class extends ze{getTypeName(){return"Style"}},Ca=class extends ze{getTypeName(){return"Script"}},ba=class extends ze{getTypeName(){return"URL"}},Ta=class extends ze{getTypeName(){return"ResourceURL"}};function yn(e){return e instanceof ze?e.changingThisBreaksApplicationSecurity:e}function ii(e,t){let n=Vd(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${no})`)}return n===t}function Vd(e){return e instanceof ze&&e.getTypeName()||null}function Um(e){return new Ea(e)}function qm(e){return new Da(e)}function Wm(e){return new Ca(e)}function Gm(e){return new ba(e)}function zm(e){return new Ta(e)}function Qm(e){let t=new _a(e);return Zm()?new wa(t):t}var wa=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(oi(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},_a=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=oi(t),n}};function Zm(){try{return!!new window.DOMParser().parseFromString(oi(""),"text/html")}catch{return!1}}var Ym=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Xa(e){return e=String(e),e.match(Ym)?e:"unsafe:"+e}function Qe(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function lr(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var Hd=Qe("area,br,col,hr,img,wbr"),Bd=Qe("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),$d=Qe("rp,rt"),Km=lr($d,Bd),Jm=lr(Bd,Qe("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")),Xm=lr($d,Qe("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Ou=lr(Hd,Jm,Xm,Km),Ud=Qe("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),ey=Qe("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"),ty=Qe("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"),ny=lr(Ud,ey,ty),ry=Qe("script,style,template"),Ma=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=sy(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=iy(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=ku(t).toLowerCase();if(!Ou.hasOwnProperty(n))return this.sanitizedSomething=!0,!ry.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(!ny.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;Ud[a]&&(c=Xa(c)),this.buf.push(" ",s,'="',Pu(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=ku(t).toLowerCase();Ou.hasOwnProperty(n)&&!Hd.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Pu(t))}};function oy(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function iy(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw qd(t);return t}function sy(e){let t=e.firstChild;if(t&&oy(e,t))throw qd(t);return t}function ku(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function qd(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var ay=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,cy=/([^\#-~ |!])/g;function Pu(e){return e.replace(/&/g,"&amp;").replace(ay,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(cy,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var So;function Wd(e,t){let n=null;try{So=So||Qm(e);let r=t?String(t):"";n=So.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=So.getInertBodyElement(r)}while(r!==i);let a=new Ma().sanitizeChildren(Lu(n)||n);return oi(a)}finally{if(n){let r=Lu(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function Lu(e){return"content"in e&&ly(e)?e.content:null}function ly(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var uy=/^>|^->|<!--|-->|--!>|<!-$/g,dy=/(<|>)/g,fy="\u200B$1\u200B";function py(e){return e.replace(uy,t=>t.replace(dy,fy))}function hy(e,t){return e.createText(t)}function gy(e,t,n){e.setValue(t,n)}function my(e,t){return e.createComment(py(t))}function Gd(e,t,n){return e.createElement(t,n)}function $o(e,t,n,r,o){e.insertBefore(t,n,r,o)}function zd(e,t,n){e.appendChild(t,n)}function Fu(e,t,n,r,o){r!==null?$o(e,t,n,r,o):zd(e,t,n)}function Qd(e,t,n,r){e.removeChild(null,t,n,r)}function yy(e,t,n){e.setAttribute(t,"style",n)}function vy(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Zd(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&gm(e,t,r),o!==null&&vy(e,t,o),i!==null&&yy(e,t,i)}var ur=(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})(ur||{});function Iy(e){let t=ec();return t?Au(t.sanitize(ur.HTML,e)||""):ii(e,"HTML")?Au(yn(e)):Wd(Nd(),H(e))}function Yd(e){let t=ec();return t?t.sanitize(ur.URL,e)||"":ii(e,"URL")?yn(e):Xa(H(e))}function Kd(e){let t=ec();if(t)return Ru(t.sanitize(ur.RESOURCE_URL,e)||"");if(ii(e,"ResourceURL"))return Ru(yn(e));throw new M(904,!1)}function Ey(e){return $m(e[0])}function Dy(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?Kd:Yd}function Cy(e,t,n){return Dy(t,n)(e)}function ec(){let e=g();return e&&e[Se].sanitizer}function by(e){return e.ownerDocument.defaultView}function Jd(e){return e instanceof Function?e():e}function Ty(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 Xd="ng-template";function wy(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&Ty(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(tc(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 tc(e){return e.type===4&&e.value!==Xd}function _y(e,t,n){let r=e.type===4&&!n?Xd:e.value;return t===r}function My(e,t,n){let r=4,o=e.attrs,i=o!==null?xy(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!Ee(r)&&!Ee(c))return!1;if(s&&Ee(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!_y(e,c,n)||c===""&&t.length===1){if(Ee(r))return!1;s=!0}}else if(r&8){if(o===null||!wy(e,o,c,n)){if(Ee(r))return!1;s=!0}}else{let l=t[++a],u=Ny(c,o,tc(e),n);if(u===-1){if(Ee(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(Ee(r))return!1;s=!0}}}}return Ee(r)||s}function Ee(e){return(e&1)===0}function Ny(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 Ay(t,e)}function ef(e,t,n=!1){for(let r=0;r<t.length;r++)if(My(e,t[r],n))return!0;return!1}function Sy(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function xy(e){for(let t=0;t<e.length;t++){let n=e[t];if(dd(n))return t}return e.length}function Ay(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 Ry(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 ju(e,t){return e?":not("+t.trim()+")":t}function Oy(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!==""&&!Ee(s)&&(t+=ju(i,o),o=""),r=s,i=i||!Ee(r);n++}return o!==""&&(t+=ju(i,o)),t}function ky(e){return e.map(Oy).join(",")}function Py(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(!Ee(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var V={};function nc(e,t,n,r,o,i,s,a,c,l,u){let d=P+r,p=d+o,f=Ly(d,p),h=typeof l=="function"?l():l;return f[m]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:h,incompleteFirstPass:!1,ssrId:u}}function Ly(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:V);return n}function Fy(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=nc(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function rc(e,t,n,r,o,i,s,a,c,l,u){let d=t.blueprint.slice();return d[ae]=o,d[E]=r|4|128|8|64|1024,(l!==null||e&&e[E]&2048)&&(d[E]|=2048),Os(d),d[q]=d[It]=e,d[j]=n,d[Se]=s||e&&e[Se],d[O]=a||e&&e[O],d[We]=c||e&&e[We]||null,d[ee]=i,d[jn]=xm(),d[vt]=u,d[ws]=l,d[te]=t.type==2?e[te]:d,d}function jy(e,t,n){let r=Ie(t,e),o=Fy(n),i=e[Se].rendererFactory,s=oc(e,rc(e,o,null,tf(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function tf(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function nf(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 oc(e,t){return e[rn]?e[Ts][ce]=t:e[rn]=t,e[Ts]=t,t}function Vy(e=1){rf(L(),g(),ie()+e,!1)}function rf(e,t,n,r){if(!r)if((t[E]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Ao(t,i,n)}else{let i=e.preOrderHooks;i!==null&&Ro(t,i,0,n)}ot(n)}var si=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(si||{});function Na(e,t,n,r){let o=v(null);try{let[i,s,a]=e.inputs[n],c=null;(s&si.SignalBased)!==0&&(c=t[i][W]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(t,r)),e.setInput!==null?e.setInput(t,c,r,n,i):id(t,c,i,r)}finally{v(o)}}var Uo=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(Uo||{}),Hy;function ic(e,t){return Hy(e,t)}var Jn=new Set,ai=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(ai||{}),dr=new k(""),Vu=new Set;function Ze(e){Vu.has(e)||(Vu.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var sc=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=G({token:e,providedIn:"root",factory:()=>new e})}return e})(),of=[0,1,2,3],sf=(()=>{class e{ngZone=w(Me);scheduler=w(Ue);errorHandler=w($e,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){w(dr,{optional:!0})}execute(){let n=this.sequences.size>0;n&&R(x.AfterRenderHooksStart),this.executing=!0;for(let r of of)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[r]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let i=o.hooks[r];return i(o.pipelinedValue)},o.snapshot))}catch(i){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),n&&R(x.AfterRenderHooksEnd)}register(n){let{view:r}=n;r!==void 0?((r[Dt]??=[]).push(n),wt(r),r[E]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(ai.AFTER_NEXT_RENDER,n):n()}static \u0275prov=G({token:e,providedIn:"root",factory:()=>new e})}return e})(),qo=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o,i,s=null){this.impl=t,this.hooks=n,this.view=r,this.once=o,this.snapshot=s,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let t=this.view?.[Dt];t&&(this.view[Dt]=t.filter(n=>n!==this))}};function By(e,t){let n=t?.injector??w(me);return Ze("NgAfterRender"),af(e,n,t,!1)}function $y(e,t){let n=t?.injector??w(me);return Ze("NgAfterNextRender"),af(e,n,t,!0)}function Uy(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function af(e,t,n,r){let o=t.get(sc);o.impl??=t.get(sf);let i=t.get(dr,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(it):null,a=t.get(Wn,null,{optional:!0}),c=new qo(o.impl,Uy(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var cf=new k("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:w(se)})});function lf(e,t,n){let r=e.get(cf);if(Array.isArray(t))for(let o of t)r.queue.add(o),n?.detachedLeaveAnimationFns?.push(o);else r.queue.add(t),n?.detachedLeaveAnimationFns?.push(t);r.scheduler&&r.scheduler(e)}function qy(e,t){let n=e.get(cf);if(t.detachedLeaveAnimationFns){for(let r of t.detachedLeaveAnimationFns)n.queue.delete(r);t.detachedLeaveAnimationFns=void 0}}function Wy(e,t){for(let[n,r]of t)lf(e,r.animateFns)}function Hu(e,t,n,r){let o=e?.[Ct]?.enter;t!==null&&o&&o.has(n.index)&&Wy(r,o)}function ln(e,t,n,r,o,i,s,a){if(o!=null){let c,l=!1;ve(o)?c=o:Ae(o)&&(l=!0,o=o[ae]);let u=ue(o);e===0&&r!==null?(Hu(a,r,i,n),s==null?zd(t,r,u):$o(t,r,u,s||null,!0)):e===1&&r!==null?(Hu(a,r,i,n),$o(t,r,u,s||null,!0)):e===2?Bu(a,i,n,d=>{Qd(t,u,l,d)}):e===3&&Bu(a,i,n,()=>{t.destroyNode(u)}),c!=null&&nv(t,e,n,c,i,r,s)}}function Gy(e,t){uf(e,t),t[ae]=null,t[ee]=null}function zy(e,t,n,r,o,i){r[ae]=o,r[ee]=t,li(e,r,n,1,o,i)}function uf(e,t){t[Se].changeDetectionScheduler?.notify(9),li(e,t,t[O],2,null,null)}function Qy(e){let t=e[rn];if(!t)return sa(e[m],e);for(;t;){let n=null;if(Ae(t))n=t[rn];else{let r=t[F];r&&(n=r)}if(!n){for(;t&&!t[ce]&&t!==e;)Ae(t)&&sa(t[m],t),t=t[q];t===null&&(t=e),Ae(t)&&sa(t[m],t),n=t&&t[ce]}t=n}}function ac(e,t){let n=e[bt],r=n.indexOf(t);n.splice(r,1)}function ci(e,t){if(Tt(t))return;let n=t[O];n.destroyNode&&li(e,t,n,3,null,null),Qy(t)}function sa(e,t){if(Tt(t))return;let n=v(null);try{t[E]&=-129,t[E]|=256,t[oe]&&ft(t[oe]),Ky(e,t),Yy(e,t),t[m].type===1&&t[O].destroy();let r=t[tt];if(r!==null&&ve(t[q])){r!==t[q]&&ac(r,t);let o=t[xe];o!==null&&o.detachView(e)}ya(t)}finally{v(n)}}function Bu(e,t,n,r){let o=e?.[Ct];if(o==null||o.leave==null||!o.leave.has(t.index))return r(!1);e&&Jn.add(e),lf(n,()=>{if(o.leave&&o.leave.has(t.index)){let s=o.leave.get(t.index),a=[];if(s){for(let c=0;c<s.animateFns.length;c++){let l=s.animateFns[c],{promise:u}=l();a.push(u)}o.detachedLeaveAnimationFns=void 0}o.running=Promise.allSettled(a),Zy(e,r)}else e&&Jn.delete(e),r(!1)},o)}function Zy(e,t){let n=e[Ct]?.running;if(n){n.then(()=>{e[Ct].running=void 0,Jn.delete(e),t(!0)});return}t(!1)}function Yy(e,t){let n=e.cleanup,r=t[nn];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[nn]=null);let o=t[He];if(o!==null){t[He]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[Xe];if(i!==null){t[Xe]=null;for(let s of i)s.destroy()}}function Ky(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 xt)){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];R(x.LifecycleHookStart,a,c);try{c.call(a)}finally{R(x.LifecycleHookEnd,a,c)}}else{R(x.LifecycleHookStart,o,i);try{i.call(o)}finally{R(x.LifecycleHookEnd,o,i)}}}}}function df(e,t,n){return Jy(e,t.parent,n)}function Jy(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[ae];if(rt(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===At.None||o===At.Emulated)return null}return Ie(r,n)}function ff(e,t,n){return ev(e,t,n)}function Xy(e,t,n){return e.type&40?Ie(e,n):null}var ev=Xy,$u;function cc(e,t,n,r){let o=df(e,r,t),i=t[O],s=r.parent||t[ee],a=ff(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)Fu(i,o,n[c],a,!1);else Fu(i,o,n,a,!1);$u!==void 0&&$u(i,r,t,n,o)}function Qn(e,t){if(t!==null){let n=t.type;if(n&3)return Ie(t,e);if(n&4)return Sa(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return Qn(e,r);{let o=e[t.index];return ve(o)?Sa(-1,o):ue(o)}}else{if(n&128)return Qn(e,t.next);if(n&32)return ic(t,e)()||ue(e[t.index]);{let r=pf(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=et(e[te]);return Qn(o,r)}else return Qn(e,t.next)}}}return null}function pf(e,t){if(t!==null){let r=e[te][ee],o=t.projection;return r.projection[o]}return null}function Sa(e,t){let n=F+e+1;if(n<t.length){let r=t[n],o=r[m].firstChild;if(o!==null)return Qn(r,o)}return t[nt]}function lc(e,t,n,r,o,i,s){for(;n!=null;){let a=r[We];if(n.type===128){n=n.next;continue}let c=r[n.index],l=n.type;if(s&&t===0&&(c&&fn(ue(c),r),n.flags|=2),!ri(n))if(l&8)lc(e,t,n.child,r,o,i,!1),ln(t,e,a,o,c,n,i,r);else if(l&32){let u=ic(n,r),d;for(;d=u();)ln(t,e,a,o,d,n,i,r);ln(t,e,a,o,c,n,i,r)}else l&16?hf(e,t,r,n,o,i):ln(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next}}function li(e,t,n,r,o,i){lc(n,r,e.firstChild,t,o,i,!1)}function tv(e,t,n){let r=t[O],o=df(e,n,t),i=n.parent||t[ee],s=ff(i,n,t);hf(r,0,t,n,o,s)}function hf(e,t,n,r,o,i){let s=n[te],c=s[ee].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];ln(t,e,n[We],o,u,r,i,n)}else{let l=c,u=s[q];bd(r)&&(l.flags|=128),lc(e,t,l,u,o,i,!0)}}function nv(e,t,n,r,o,i,s){let a=r[nt],c=ue(r);a!==c&&ln(t,e,n,i,a,o,s);for(let l=F;l<r.length;l++){let u=r[l];li(u[m],u,e,t,i,a)}}function rv(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:Uo.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Uo.Important),e.setStyle(n,r,o,i))}}function gf(e,t,n,r,o){let i=ie(),s=r&2;try{ot(-1),s&&t.length>P&&rf(e,t,P,!1);let a=s?x.TemplateUpdateStart:x.TemplateCreateStart;R(a,o,n),n(r,o)}finally{ot(i);let a=s?x.TemplateUpdateEnd:x.TemplateCreateEnd;R(a,o,n)}}function ui(e,t,n){lv(e,t,n),(n.flags&64)===64&&uv(e,t,n)}function vn(e,t,n=Ie){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 ov(e,t,n,r){let i=r.get(kd,Od)||n===At.ShadowDom||n===At.ExperimentalIsolatedShadowDom,s=e.selectRootElement(t,i);return iv(s),s}function iv(e){sv(e)}var sv=()=>null;function av(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function mf(e,t,n,r,o,i){let s=t[m];if(fc(e,s,t,n,r)){rt(e)&&cv(t,e.index);return}e.type&3&&(n=av(n)),uc(e,t,n,r,o,i)}function uc(e,t,n,r,o,i){if(e.type&3){let s=Ie(e,t);r=i!=null?i(r,e.value||"",n):r,o.setProperty(s,n,r)}else e.type&12}function cv(e,t){let n=de(t,e);n[E]&16||(n[E]|=64)}function lv(e,t,n){let r=n.directiveStart,o=n.directiveEnd;rt(n)&&jy(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||Ho(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=Kn(t,e,s,n);if(fn(c,t),i!==null&&hv(t,s-r,c,a,n,i),le(a)){let l=de(n.index,t);l[j]=Kn(t,e,s,n)}}}function uv(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=uu();try{ot(i);for(let a=r;a<o;a++){let c=e.data[a],l=t[a];Io(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&dv(c,l)}}finally{ot(-1),Io(s)}}function dv(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function dc(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];ef(t,i.selectors,!1)&&(r??=[],le(i)?r.unshift(i):r.push(i))}return r}function fv(e,t,n,r,o,i){let s=Ie(e,t);pv(t[O],s,i,e.value,n,r,o)}function pv(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?H(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function hv(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],l=s[a+1];Na(r,n,c,l)}}function di(e,t,n,r,o){let i=P+n,s=t[m],a=o(s,t,e,r,n);t[i]=a,an(e,!0);let c=e.type===2;return c?(Zd(t[O],a,e),(tu()===0||on(e))&&fn(a,t),nu()):fn(a,t),bo()&&(!c||!ri(e))&&cc(s,t,a,e),e}function fi(e){let t=e;return Us()?qs():(t=t.parent,an(t,!1)),t}function gv(e,t,n){return(e===null||le(e))&&(n=xs(n[t.index])),n[O]}function mv(e,t){let n=e[We];if(!n)return;let r;try{r=n.get(Nt,null)}catch{r=null}r?.(t)}function fc(e,t,n,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let c=0;c<s.length;c+=2){let l=s[c],u=s[c+1],d=t.data[l];Na(d,n[l],u,o),a=!0}if(i)for(let c of i){let l=n[c],u=t.data[c];Na(u,l,r,o),a=!0}return a}function yv(e,t){let n=de(t,e),r=n[m];vv(r,n);let o=n[ae];o!==null&&n[vt]===null&&(n[vt]=Pd(o,n[We])),R(x.ComponentStart);try{pc(r,n,n[j])}finally{R(x.ComponentEnd,n[j])}}function vv(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function pc(e,t,n){Do(t);try{let r=e.viewQuery;r!==null&&Ia(1,r,n);let o=e.template;o!==null&&gf(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[xe]?.finishViewCreation(e),e.staticContentQueries&&Ld(e,t),e.staticViewQueries&&Ia(2,e.viewQuery,n);let i=e.components;i!==null&&Iv(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[E]&=-5,Co()}}function Iv(e,t){for(let n=0;n<t.length;n++)yv(e,t[n])}function fr(e,t,n,r){let o=v(null);try{let i=t.tView,a=e[E]&4096?4096:16,c=rc(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[t.index];c[tt]=l;let u=e[xe];return u!==null&&(c[xe]=u.createEmbeddedView(i)),pc(i,c,n),c}finally{v(o)}}function pn(e,t){return!t||t.firstChild===null||bd(e)}function Xn(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(ue(i)),ve(i)&&yf(i,r);let s=n.type;if(s&8)Xn(e,t,n.child,r);else if(s&32){let a=ic(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=pf(t,n);if(Array.isArray(a))r.push(...a);else{let c=et(t[te]);Xn(c[m],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function yf(e,t){for(let n=F;n<e.length;n++){let r=e[n],o=r[m].firstChild;o!==null&&Xn(r[m],r,o,t)}e[nt]!==e[ae]&&t.push(e[nt])}function vf(e){if(e[Dt]!==null){for(let t of e[Dt])t.impl.addSequence(t);e[Dt].length=0}}var If=[];function Ev(e){return e[oe]??Dv(e)}function Dv(e){let t=If.pop()??Object.create(bv);return t.lView=e,t}function Cv(e){e.lView[oe]!==e&&(e.lView=null,If.push(e))}var bv=K(Y({},zt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{wt(e.lView)},consumerOnSignalRead(){this.lView[oe]=this}});function Tv(e){let t=e[oe]??Object.create(wv);return t.lView=e,t}var wv=K(Y({},zt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=et(e.lView);for(;t&&!Ef(t[m]);)t=et(t);t&&ks(t)},consumerOnSignalRead(){this.lView[oe]=this}});function Ef(e){return e.type!==2}function Df(e){if(e[Xe]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[Xe])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[E]&8192)}}var _v=100;function Cf(e,t=0){let r=e[Se].rendererFactory,o=!1;o||r.begin?.();try{Mv(e,t)}finally{o||r.end?.()}}function Mv(e,t){let n=Ws();try{An(!0),xa(e,t);let r=0;for(;Bn(e);){if(r===_v)throw new M(103,!1);r++,xa(e,1)}}finally{An(n)}}function Nv(e,t,n,r){if(Tt(t))return;let o=t[E],i=!1,s=!1;Do(t);let a=!0,c=null,l=null;i||(Ef(e)?(l=Ev(t),c=Zt(l)):zr()===null?(a=!1,l=Tv(t),c=Zt(l)):t[oe]&&(ft(t[oe]),t[oe]=null));try{Os(t),au(e.bindingStartIndex),n!==null&&gf(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let f=e.preOrderCheckHooks;f!==null&&Ao(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Ro(t,f,0,null),oa(t,0)}if(s||Sv(t),Df(t),bf(t,0),e.contentQueries!==null&&Ld(e,t),!i)if(u){let f=e.contentCheckHooks;f!==null&&Ao(t,f)}else{let f=e.contentHooks;f!==null&&Ro(t,f,1),oa(t,1)}Av(e,t);let d=e.components;d!==null&&wf(t,d,0);let p=e.viewQuery;if(p!==null&&Ia(2,p,r),!i)if(u){let f=e.viewCheckHooks;f!==null&&Ao(t,f)}else{let f=e.viewHooks;f!==null&&Ro(t,f,2),oa(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[ho]){for(let f of t[ho])f();t[ho]=null}i||(vf(t),t[E]&=-73)}catch(u){throw i||wt(t),u}finally{l!==null&&(wn(l,c),a&&Cv(l)),Co()}}function bf(e,t){for(let n=wd(e);n!==null;n=_d(n))for(let r=F;r<n.length;r++){let o=n[r];Tf(o,t)}}function Sv(e){for(let t=wd(e);t!==null;t=_d(t)){if(!(t[E]&2))continue;let n=t[bt];for(let r=0;r<n.length;r++){let o=n[r];ks(o)}}}function xv(e,t,n){R(x.ComponentStart);let r=de(t,e);try{Tf(r,n)}finally{R(x.ComponentEnd,r[j])}}function Tf(e,t){mo(e)&&xa(e,t)}function xa(e,t){let r=e[m],o=e[E],i=e[oe],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&_n(i)),s||=!1,i&&(i.dirty=!1),e[E]&=-9217,s)Nv(r,e,r.template,e[j]);else if(o&8192){let a=v(null);try{Df(e),bf(e,1);let c=r.components;c!==null&&wf(e,c,1),vf(e)}finally{v(a)}}}function wf(e,t,n){for(let r=0;r<t.length;r++)xv(e,t[r],n)}function Av(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)ot(~o);else{let i=o,s=n[++r],a=n[++r];lu(s,i);let c=t[i];R(x.HostBindingsUpdateStart,c);try{a(2,c)}finally{R(x.HostBindingsUpdateEnd,c)}}}}finally{ot(-1)}}function hc(e,t){let n=Ws()?64:1088;for(e[Se].changeDetectionScheduler?.notify(t);e;){e[E]|=n;let r=et(e);if(sn(e)&&!r)return e;e=r}return null}function _f(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Mf(e,t){let n=F+t;if(n<e.length)return e[n]}function pr(e,t,n,r=!0){let o=t[m];if(Rv(o,t,e,n),r){let s=Sa(n,e),a=t[O],c=a.parentNode(e[nt]);c!==null&&zy(o,e[ee],a,t,c,s)}let i=t[vt];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Nf(e,t){let n=er(e,t);return n!==void 0&&ci(n[m],n),n}function er(e,t){if(e.length<=F)return;let n=F+t,r=e[n];if(r){let o=r[tt];o!==null&&o!==e&&ac(o,r),t>0&&(e[n-1][ce]=r[ce]);let i=Ln(e,F+t);Gy(r[m],r);let s=i[xe];s!==null&&s.detachView(i[m]),r[q]=null,r[ce]=null,r[E]&=-129}return r}function Rv(e,t,n,r){let o=F+r,i=n.length;r>0&&(n[o-1][ce]=t),r<i-F?(t[ce]=n[o],ms(n,F+r,t)):(n.push(t),t[ce]=null),t[q]=n;let s=t[tt];s!==null&&n!==s&&Sf(s,t);let a=t[xe];a!==null&&a.insertView(e),yo(t),t[E]|=128}function Sf(e,t){let n=e[bt],r=t[q];if(Ae(r))e[E]|=2;else{let o=r[q][te];t[te]!==o&&(e[E]|=2)}n===null?e[bt]=[t]:n.push(t)}var st=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[m];return Xn(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[j]}set context(t){this._lView[j]=t}get destroyed(){return Tt(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[q];if(ve(t)){let n=t[Vn],r=n?n.indexOf(this):-1;r>-1&&(er(t,r),Ln(n,r))}this._attachedToViewContainer=!1}ci(this._lView[m],this._lView)}onDestroy(t){Ps(this._lView,t)}markForCheck(){hc(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[E]&=-129}reattach(){yo(this._lView),this._lView[E]|=128}detectChanges(){this._lView[E]|=1024,Cf(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new M(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=sn(this._lView),n=this._lView[tt];n!==null&&!t&&ac(n,this._lView),uf(this._lView[m],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new M(902,!1);this._appRef=t;let n=sn(this._lView),r=this._lView[tt];r!==null&&!n&&Sf(r,this._lView),yo(this._lView)}};var tr=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=Ov;constructor(n,r,o){this._declarationLView=n,this._declarationTContainer=r,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,r){return this.createEmbeddedViewImpl(n,r)}createEmbeddedViewImpl(n,r,o){let i=fr(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new st(i)}}return e})();function Ov(){return pi(B(),g())}function pi(e,t){return e.type&4?new tr(t,e,mn(e,t)):null}function In(e,t,n,r,o){let i=e.data[t];if(i===null)i=kv(e,t,n,r,o),cu()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=iu();i.injectorIndex=s===null?-1:s.injectorIndex}return an(i,!0),i}function kv(e,t,n,r,o){let i=$s(),s=Us(),a=s?i:i&&i.parent,c=e.data[t]=Lv(e,a,n,t,r,o);return Pv(e,c,i,s),c}function Pv(e,t,n,r){e.firstChild===null&&(e.firstChild=t),n!==null&&(r?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function Lv(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Vs()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,fieldIndex:-1,customControlIndex:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Fv(e){let t=e[Ms]??[],r=e[q][O],o=[];for(let i of t)i.data[Rd]!==void 0?o.push(i):jv(i,r);e[Ms]=o}function jv(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[Ad];for(;n<o;){let i=r.nextSibling;Qd(t,r,!1),r=i,n++}}}var Vv=()=>null,Hv=()=>null;function Wo(e,t){return Vv(e,t)}function xf(e,t,n){return Hv(e,t,n)}var Af=class{},hi=class{},Aa=class{resolveComponentFactory(t){throw new M(917,!1)}},hr=class{static NULL=new Aa},nr=class{},Bv=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>$v()}return e})();function $v(){let e=g(),t=B(),n=de(t.index,e);return(Ae(n)?n:e)[O]}var Rf=(()=>{class e{static \u0275prov=G({token:e,providedIn:"root",factory:()=>null})}return e})();var ko={},Ra=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,ko,r);return o!==ko||n===ko?o:this.parentInjector.get(t,n,r)}};function Go(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=ro(o,a);else if(i==2){let c=a,l=t[++s];r=ro(r,c+": "+l+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function gr(e,t=0){let n=g();if(n===null)return _e(e,t);let r=B();return vd(r,n,U(e),t)}function Uv(){let e="invalid";throw new Error(e)}function Of(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let a=s,c=null,l=null;for(let u of s)if(u.resolveHostDirectives!==null){[a,c,l]=u.resolveHostDirectives(s);break}Gv(e,t,n,a,i,c,l)}i!==null&&r!==null&&qv(n,r,i)}function qv(e,t,n){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new M(-301,!1);r.push(t[o],i)}}function Wv(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function Gv(e,t,n,r,o,i,s){let a=r.length,c=null;for(let p=0;p<a;p++){let f=r[p];c===null&&le(f)&&(c=f,Wv(e,n,p)),ga(Ho(n,t),e,f.type)}Jv(n,e.data.length,a),c?.viewProvidersResolver&&c.viewProvidersResolver(c);for(let p=0;p<a;p++){let f=r[p];f.providersResolver&&f.providersResolver(f)}let l=!1,u=!1,d=nf(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(n.mergedAttrs=dn(n.mergedAttrs,f.hostAttrs),Qv(e,n,t,d,f),Kv(d,f,o),s!==null&&s.has(f)){let[y,S]=s.get(f);n.directiveToIndex.set(f.type,[d,y+n.directiveStart,S+n.directiveStart])}else(i===null||!i.has(f))&&n.directiveToIndex.set(f.type,d);f.contentQueries!==null&&(n.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(n.flags|=64);let h=f.type.prototype;!l&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),l=!0),!u&&(h.ngOnChanges||h.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),u=!0),d++}zv(e,n,i)}function zv(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))Uu(0,t,o,r),Uu(1,t,o,r),Wu(t,r,!1);else{let i=n.get(o);qu(0,t,i,r),qu(1,t,i,r),Wu(t,r,!0)}}}function Uu(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s;e===0?s=t.inputs??={}:s=t.outputs??={},s[i]??=[],s[i].push(r),kf(t,i)}}function qu(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],a;e===0?a=t.hostDirectiveInputs??={}:a=t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),kf(t,s)}}function kf(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function Wu(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||tc(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c=="number")break;if(!n&&o.hasOwnProperty(c)){let l=o[c];for(let u of l)if(u===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&i.hasOwnProperty(c)){let l=i[c];for(let u=0;u<l.length;u+=2)if(l[u]===t){s??=[],s.push(l[u+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function Qv(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=Je(o.type,!0)),s=new xt(i,le(o),gr,null);e.blueprint[r]=s,n[r]=s,Zv(e,t,r,nf(e,n,o.hostVars,V),o)}function Zv(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;Yv(s)!=a&&s.push(a),s.push(n,r,i)}}function Yv(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function Kv(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;le(t)&&(n[""]=e)}}function Jv(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function gc(e,t,n,r,o,i,s,a){let c=t[m],l=c.consts,u=fe(l,s),d=In(c,e,n,r,u);return i&&Of(c,t,d,fe(l,a),o),d.mergedAttrs=dn(d.mergedAttrs,d.attrs),d.attrs!==null&&Go(d,d.attrs,!1),d.mergedAttrs!==null&&Go(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function mc(e,t){ld(e,t),Ns(t)&&e.queries.elementEnd(t)}function Pf(e,t,n,r,o,i){let s=t.consts,a=fe(s,o),c=In(t,e,n,r,a);if(c.mergedAttrs=dn(c.mergedAttrs,c.attrs),i!=null){let l=fe(s,i);c.localNames=[];for(let u=0;u<l.length;u+=2)c.localNames.push(l[u],-1)}return c.attrs!==null&&Go(c,c.attrs,!1),c.mergedAttrs!==null&&Go(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function yc(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function kt(e,t,n){return e[t]=n}function vc(e,t){return e[t]}function Z(e,t,n){if(n===V)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function rr(e,t,n,r){let o=Z(e,t,n);return Z(e,t+1,r)||o}function Ic(e,t,n,r,o){let i=rr(e,t,n,r);return Z(e,t+2,o)||i}function mr(e,t,n,r,o,i){let s=rr(e,t,n,r);return rr(e,t+2,o,i)||s}function Po(e,t,n){return function r(o){let i=rt(e)?de(e.index,t):t;hc(i,5);let s=t[j],a=Gu(t,s,n,o),c=r.__ngNextListenerFn__;for(;c;)a=Gu(t,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function Gu(e,t,n,r){let o=v(null);try{return R(x.OutputStart,t,n),n(r)!==!1}catch(i){return mv(e,i),!1}finally{R(x.OutputEnd,t,n),v(o)}}function Lf(e,t,n,r,o,i,s,a){let c=on(e),l=!1,u=null;if(!r&&c&&(u=eI(t,n,i,e.index)),u!==null){let d=u.__ngLastListenerFn__||u;d.__ngNextListenerFn__=s,u.__ngLastListenerFn__=s,l=!0}else{let d=Ie(e,n),p=r?r(d):d;Hm(n,p,i,a);let f=o.listen(p,i,a);if(!Xv(i)){let h=r?y=>r(ue(y[e.index])):e.index;Ff(h,t,n,i,a,f,!1)}}return l}function Xv(e){return e.startsWith("animation")||e.startsWith("transition")}function eI(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[nn],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Ff(e,t,n,r,o,i,s){let a=t.firstCreatePass?Fs(t):null,c=Ls(n),l=c.length;c.push(o,i),a&&a.push(r,e,l,(l+1)*(s?-1:1))}function zu(e,t,n,r,o,i){let s=t[n],a=t[m],l=a.data[n].outputs[r],d=s[l].subscribe(i);Ff(e.index,a,t,o,i,d,!0)}var Oa=Symbol("BINDING");var zo=class extends hr{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=qe(t);return new Rt(n,this.ngModule)}};function tI(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&si.SignalBased)!==0};return o&&(i.transform=o),i})}function nI(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function rI(e,t,n){let r=t instanceof se?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Ra(n,r):n}function oI(e){let t=e.get(nr,null);if(t===null)throw new M(407,!1);let n=e.get(Rf,null),r=e.get(Ue,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1}}function iI(e,t){let n=jf(e);return Gd(t,n,n==="svg"?Ss:n==="math"?Zl:null)}function jf(e){return(e.selectors[0][0]||"div").toLowerCase()}var Rt=class extends hi{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=tI(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=nI(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=ky(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){R(x.DynamicComponentStart);let a=v(null);try{let c=this.componentDef,l=sI(r,c,s,i),u=rI(c,o||this.ngModule,t),d=oI(u),p=d.rendererFactory.createRenderer(null,c),f=r?ov(p,r,c.encapsulation,u):iI(c,p),h=s?.some(Qu)||i?.some(T=>typeof T!="function"&&T.bindings.some(Qu)),y=rc(null,l,null,512|tf(c),null,null,d,p,u,null,Pd(f,u,!0));y[P]=f,Do(y);let S=null;try{let T=gc(P,y,2,"#host",()=>l.directiveRegistry,!0,0);Zd(p,f,T),fn(f,y),ui(l,y,T),Ja(l,T,y),mc(l,T),n!==void 0&&cI(T,this.ngContentSelectors,n),S=de(T.index,y),y[j]=S[j],pc(l,y,null)}catch(T){throw S!==null&&ya(S),ya(y),T}finally{R(x.DynamicComponentEnd),Co()}return new Qo(this.componentType,y,!!h)}finally{v(a)}}};function sI(e,t,n,r){let o=e?["ng-version","21.0.6"]:Py(t.selectors[0]),i=null,s=null,a=0;if(n)for(let u of n)a+=u[Oa].requiredVars,u.create&&(u.targetIdx=0,(i??=[]).push(u)),u.update&&(u.targetIdx=0,(s??=[]).push(u));if(r)for(let u=0;u<r.length;u++){let d=r[u];if(typeof d!="function")for(let p of d.bindings){a+=p[Oa].requiredVars;let f=u+1;p.create&&(p.targetIdx=f,(i??=[]).push(p)),p.update&&(p.targetIdx=f,(s??=[]).push(p))}}let c=[t];if(r)for(let u of r){let d=typeof u=="function"?u:u.type,p=so(d);c.push(p)}return nc(0,null,aI(i,s),1,a,c,null,null,null,[o],null)}function aI(e,t){return!e&&!t?null:n=>{if(n&1&&e)for(let r of e)r.create();if(n&2&&t)for(let r of t)r.update()}}function Qu(e){let t=e[Oa].kind;return t==="input"||t==="twoWay"}var Qo=class extends Af{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=Hn(n[m],P),this.location=mn(this._tNode,n),this.instance=de(this._tNode.index,n)[j],this.hostView=this.changeDetectorRef=new st(n,void 0),this.componentType=t}setInput(t,n){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let o=this._rootLView,i=fc(r,o[m],o,t,n);this.previousInputValues.set(t,n);let s=de(r.index,o);hc(s,1)}get injector(){return new St(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function cI(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null&&i.length?Array.from(i):null)}}var gi=(()=>{class e{static __NG_ELEMENT_ID__=lI}return e})();function lI(){let e=B();return Hf(e,g())}var uI=gi,Vf=class extends uI{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return mn(this._hostTNode,this._hostLView)}get injector(){return new St(this._hostTNode,this._hostLView)}get parentInjector(){let t=Ya(this._hostTNode,this._hostLView);if(fd(t)){let n=jo(t,this._hostLView),r=Fo(t),o=n[m].data[r+8];return new St(o,n)}else return new St(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Zu(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-F}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Wo(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,pn(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c=t&&!sm(t),l;if(c)l=n;else{let S=n||{};l=S.index,r=S.injector,o=S.projectableNodes,i=S.environmentInjector||S.ngModuleRef,s=S.directives,a=S.bindings}let u=c?t:new Rt(qe(t)),d=r||this.parentInjector;if(!i&&u.ngModule==null){let T=(c?d:this.parentInjector).get(se,null);T&&(i=T)}let p=qe(u.componentType??{}),f=Wo(this._lContainer,p?.id??null),h=f?.firstChild??null,y=u.create(d,o,h,i,s,a);return this.insertImpl(y.hostView,l,pn(this._hostTNode,f)),y}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Kl(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[q],l=new Vf(c,c[ee],c[q]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return pr(s,o,i,r),t.attachToViewContainerRef(),ms(aa(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Zu(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=er(this._lContainer,n);r&&(Ln(aa(this._lContainer),n),ci(r[m],r))}detach(t){let n=this._adjustIndex(t,-1),r=er(this._lContainer,n);return r&&Ln(aa(this._lContainer),n)!=null?new st(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Zu(e){return e[Vn]}function aa(e){return e[Vn]||(e[Vn]=[])}function Hf(e,t){let n,r=t[e.index];return ve(r)?n=r:(n=_f(r,t,null,e),t[e.index]=n,oc(t,n)),fI(n,t,e,r),new Vf(n,e,t)}function dI(e,t){let n=e[O],r=n.createComment(""),o=Ie(t,e),i=n.parentNode(o);return $o(n,i,r,n.nextSibling(o),!1),r}var fI=gI,pI=()=>!1;function hI(e,t,n){return pI(e,t,n)}function gI(e,t,n,r){if(e[nt])return;let o;n.type&8?o=ue(r):o=dI(t,n),e[nt]=o}var ka=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Pa=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++)Dc(t,n).matches!==null&&this.queries[n].setDirty()}},Zo=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=DI(t):this.predicate=t}},La=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)}},Fa=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,mI(n,i)),this.matchTNodeWithReadOption(t,n,Oo(n,t,i,!1,!1))}else r===tr?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Oo(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===cr||o===gi||o===tr&&n.type&4)this.addMatch(n.index,-2);else{let i=Oo(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 mI(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 yI(e,t){return e.type&11?mn(e,t):e.type&4?pi(e,t):null}function vI(e,t,n,r){return n===-1?yI(t,e):n===-2?II(e,t,r):Kn(e,e[m],n,t)}function II(e,t,n){if(n===cr)return mn(t,e);if(n===tr)return pi(t,e);if(n===gi)return Hf(t,e)}function Bf(e,t,n,r){let o=t[xe].queries[r];if(o.matches===null){let i=e.data,s=n.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let l=s[c];if(l<0)a.push(null);else{let u=i[l];a.push(vI(t,u,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function ja(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=Bf(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=F;d<u.length;d++){let p=u[d];p[tt]===p[q]&&ja(p[m],p,l,r)}if(u[bt]!==null){let d=u[bt];for(let p=0;p<d.length;p++){let f=d[p];ja(f[m],f,l,r)}}}}}return r}function Ec(e,t){return e[xe].queries[t].queryList}function $f(e,t,n){let r=new Bo((n&4)===4);return eu(e,t,r,r.destroy),(t[xe]??=new Pa).queries.push(new ka(r))-1}function Uf(e,t,n){let r=L();return r.firstCreatePass&&(qf(r,new Zo(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),$f(r,g(),t)}function EI(e,t,n,r){let o=L();if(o.firstCreatePass){let i=B();qf(o,new Zo(t,n,r),i.index),CI(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return $f(o,g(),n)}function DI(e){return e.split(",").map(t=>t.trim())}function qf(e,t,n){e.queries===null&&(e.queries=new La),e.queries.track(new Fa(t,n))}function CI(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 Dc(e,t){return e.queries.getByIndex(t)}function Wf(e,t){let n=e[m],r=Dc(n,t);return r.crossesNgTemplate?ja(n,e,t,[]):Bf(n,e,r,t)}function Gf(e,t,n){let r,o=Mn(()=>{r._dirtyCounter();let i=TI(r,e);if(t&&i===void 0)throw new M(-951,!1);return i});return r=o[W],r._dirtyCounter=To(0),r._flatValue=void 0,o}function zf(e){return Gf(!0,!1,e)}function Qf(e){return Gf(!0,!0,e)}function bI(e,t){let n=e[W];n._lView=g(),n._queryIndex=t,n._queryList=Ec(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function TI(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[E]&4)return t?void 0:Q;let o=Ec(n,r),i=Wf(n,r);return o.reset(i,Cd),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}var hn=class{},Zf=class{};var Yo=class extends hn{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new zo(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=ps(t);this._bootstrapComponents=Jd(i.bootstrap),this._r3Injector=Zs(t,n,[{provide:hn,useValue:this},{provide:hr,useValue:this.componentFactoryResolver},...r],Be(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)}},Ko=class extends Zf{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new Yo(this.moduleType,t,[])}};var or=class extends hn{injector;componentFactoryResolver=new zo(this);instance=null;constructor(t){super();let n=new mt([...t.providers,{provide:hn,useValue:this},{provide:hr,useValue:this.componentFactoryResolver}],t.parent||tn(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Yf(e,t,n=null){return new or({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var wI=(()=>{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=Es(!1,n.type),o=r.length>0?Yf([r],this._injector,""):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=G({token:e,providedIn:"environment",factory:()=>new e(_e(se))})}return e})();function _I(e){return ar(()=>{let t=Kf(e),n=K(Y({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Ka.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(wI).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||At.Emulated,styles:e.styles||Q,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Ze("NgStandalone"),Jf(n);let r=e.dependencies;return n.directiveDefs=Yu(r,MI),n.pipeDefs=Yu(r,Pl),n.id=OI(n),n})}function MI(e){return qe(e)||so(e)}function NI(e){return ar(()=>({type:e.type,bootstrap:e.bootstrap||Q,declarations:e.declarations||Q,imports:e.imports||Q,exports:e.exports||Q,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function SI(e,t){if(e==null)return ye;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=si.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function xI(e){if(e==null)return ye;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function AI(e){return ar(()=>{let t=Kf(e);return Jf(t),t})}function RI(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 Kf(e){let t={};return{type:e.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||ye,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||Q,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:SI(e.inputs,t),outputs:xI(e.outputs),debugInfo:null}}function Jf(e){e.features?.forEach(t=>t(e))}function Yu(e,t){return e?()=>{let n=typeof e=="function"?e():e,r=[];for(let o of n){let i=t(o);i!==null&&r.push(i)}return r}:null}function OI(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 kI(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.resolveHostDirectives=PI,n.hostDirectives=r?e.map(Va):[e]):r?n.hostDirectives.unshift(...e.map(Va)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function PI(e){let t=[],n=!1,r=null,o=null;for(let i=0;i<e.length;i++){let s=e[i];if(s.hostDirectives!==null){let a=t.length;r??=new Map,o??=new Map,Xf(s,t,r),o.set(s,[a,t.length-1])}i===0&&le(s)&&(n=!0,t.push(s))}for(let i=n?1:0;i<e.length;i++)t.push(e[i]);return[t,r,o]}function Xf(e,t,n){if(e.hostDirectives!==null)for(let r of e.hostDirectives)if(typeof r=="function"){let o=r();for(let i of o)Ku(Va(i),t,n)}else Ku(r,t,n)}function Ku(e,t,n){let r=so(e.directive);LI(r.declaredInputs,e.inputs),Xf(r,t,n),n.set(r,e),t.push(r)}function Va(e){return typeof e=="function"?{directive:U(e),inputs:ye,outputs:ye}:{directive:U(e.directive),inputs:Ju(e.inputs),outputs:Ju(e.outputs)}}function Ju(e){if(e===void 0||e.length===0)return ye;let t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function LI(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o=e[n];e[r]=o}}function FI(e){return Object.getPrototypeOf(e.prototype).constructor}function ep(e){let t=FI(e.type),n=!0,r=[e];for(;t;){let o;if(le(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new M(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=ca(e.inputs),s.declaredInputs=ca(e.declaredInputs),s.outputs=ca(e.outputs);let a=o.hostBindings;a&&$I(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&HI(e,c),l&&BI(e,l),jI(e,o),Ol(e.outputs,o.outputs),le(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===ep&&(n=!1)}}t=Object.getPrototypeOf(t)}VI(r)}function jI(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let r=t.inputs[n];r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n])}}function VI(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=dn(o.hostAttrs,n=dn(n,o.hostAttrs))}}function ca(e){return e===ye?{}:e===Q?[]:e}function HI(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function BI(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function $I(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function tp(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=dn(e.mergedAttrs,e.attrs);let u=e.tView=nc(2,e,o,i,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);n.queries!==null&&(n.queries.template(n,e),u.queries=n.queries.embeddedTView(e))}a&&(e.flags|=a),an(e,!1);let c=qI(n,t,e,r);bo()&&cc(n,t,c,e),fn(c,t);let l=_f(c,t,c,e);t[r+P]=l,oc(t,l),hI(l,e,t)}function UI(e,t,n,r,o,i,s,a,c,l,u){let d=n+P,p;return t.firstCreatePass?(p=In(t,d,4,s||null,a||null),vo()&&Of(t,e,p,fe(t.consts,l),dc),ld(t,p)):p=t.data[d],tp(p,e,t,n,r,o,i,c),on(p)&&ui(t,e,p),l!=null&&vn(e,p,u),p}function ir(e,t,n,r,o,i,s,a,c,l,u){let d=n+P,p;if(t.firstCreatePass){if(p=In(t,d,4,s||null,a||null),l!=null){let f=fe(t.consts,l);p.localNames=[];for(let h=0;h<f.length;h+=2)p.localNames.push(f[h],-1)}}else p=t.data[d];return tp(p,e,t,n,r,o,i,c),l!=null&&vn(e,p,u),p}function np(e,t,n,r,o,i,s,a){let c=g(),l=L(),u=fe(l.consts,i);return UI(c,l,e,t,n,r,o,u,void 0,s,a),np}var qI=WI;function WI(e,t,n,r){return qn(!0),t[O].createComment("")}var GI=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=G({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function rp(e){return typeof e=="function"&&e[W]!==void 0}function Cc(e){return rp(e)&&typeof e.set=="function"}var op=new k("");function bc(e){return!!e&&typeof e.then=="function"}function ip(e){return!!e&&typeof e.subscribe=="function"}var sp=new k("");var Tc=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=w(sp,{optional:!0})??[];injector=w(me);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=po(this.injector,o);if(bc(i))n.push(i);else if(ip(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=G({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ap=new k("");function cp(){Ui(()=>{let e="";throw new M(600,e)})}function lp(e){return e.isBoundToModule}var zI=10;var mi=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=w(Nt);afterRenderManager=w(sc);zonelessEnabled=w(Gn);rootEffectScheduler=w(_o);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new re;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=w(Mt);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(Le(n=>!n))}constructor(){w(dr,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=w(se);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=me.NULL){return this._injector.get(Me).run(()=>{R(x.BootstrapComponentStart);let s=n instanceof hi;if(!this._injector.get(Tc).done){let h="";throw new M(405,h)}let c;s?c=n:c=this._injector.get(hr).resolveComponentFactory(n),this.componentTypes.push(c.componentType);let l=lp(c)?void 0:this._injector.get(hn),u=r||c.selector,d=c.create(o,[],u,l),p=d.location.nativeElement,f=d.injector.get(op,null);return f?.registerApplication(p),d.onDestroy(()=>{this.detachView(d.hostView),Zn(this.components,d),f?.unregisterApplication(p)}),this._loadComponent(d),R(x.BootstrapComponentEnd,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){R(x.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(ai.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw R(x.ChangeDetectionEnd),new M(101,!1);let n=v(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,v(n),this.afterTick.next(),R(x.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(nr,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<zI;){R(x.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{R(x.ChangeDetectionSyncEnd)}}}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!1;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews){if(!r&&!Bn(o))continue;let i=r&&!this.zonelessEnabled?0:1;Cf(o,i),n=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}n||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>Bn(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;Zn(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(n),this._injector.get(ap,[]).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),()=>Zn(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new M(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=G({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Zn(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function up(e,t,n,r){let o=g(),i=Ge();if(Z(o,i,t)){let s=L(),a=cn();fv(a,o,e,t,n,r)}return up}var iA=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var Ha=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 la(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function QI(e,t,n,r){let o,i,s=0,a=e.length-1,c=void 0;if(Array.isArray(t)){v(r);let l=t.length-1;for(v(null);s<=a&&s<=l;){let u=e.at(s),d=t[s],p=la(s,u,s,d,n);if(p!==0){p<0&&e.updateValue(s,d),s++;continue}let f=e.at(a),h=t[l],y=la(a,f,l,h,n);if(y!==0){y<0&&e.updateValue(a,h),a--,l--;continue}let S=n(s,u),T=n(a,f),Ce=n(s,d);if(Object.is(Ce,T)){let Ei=n(l,h);Object.is(Ei,S)?(e.swap(s,a),e.updateValue(a,h),l--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(o??=new Jo,i??=ed(e,s,a,n),Ba(e,o,s,Ce))e.updateValue(s,d),s++,a++;else if(i.has(Ce))o.set(S,e.detach(s)),a--;else{let Ei=e.create(s,t[s]);e.attach(s,Ei),s++,a++}}for(;s<=l;)Xu(e,o,n,s,t[s]),s++}else if(t!=null){v(r);let l=t[Symbol.iterator]();v(null);let u=l.next();for(;!u.done&&s<=a;){let d=e.at(s),p=u.value,f=la(s,d,s,p,n);if(f!==0)f<0&&e.updateValue(s,p),s++,u=l.next();else{o??=new Jo,i??=ed(e,s,a,n);let h=n(s,p);if(Ba(e,o,s,h))e.updateValue(s,p),s++,a++,u=l.next();else if(!i.has(h))e.attach(s,e.create(s,p)),s++,a++,u=l.next();else{let y=n(s,d);o.set(y,e.detach(s)),a--}}}for(;!u.done;)Xu(e,o,n,e.length,u.value),u=l.next()}for(;s<=a;)e.destroy(e.detach(a--));o?.forEach(l=>{e.destroy(l)})}function Ba(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Xu(e,t,n,r,o){if(Ba(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function ed(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 Jo=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 ZI(e,t,n,r,o,i,s,a){Ze("NgControlFlow");let c=g(),l=L(),u=fe(l.consts,i);return ir(c,l,e,t,n,r,o,u,256,s,a),wc}function wc(e,t,n,r,o,i,s,a){Ze("NgControlFlow");let c=g(),l=L(),u=fe(l.consts,i);return ir(c,l,e,t,n,r,o,u,512,s,a),wc}function YI(e,t){Ze("NgControlFlow");let n=g(),r=Ge(),o=n[r]!==V?n[r]:-1,i=o!==-1?Xo(n,P+o):void 0,s=0;if(Z(n,r,e)){let a=v(null);try{if(i!==void 0&&Nf(i,s),e!==-1){let c=P+e,l=Xo(n,c),u=Wa(n[m],c),d=xf(l,u,n),p=fr(n,u,t,{dehydratedView:d});pr(l,p,s,pn(u,d))}}finally{v(a)}}else if(i!==void 0){let a=Mf(i,s);a!==void 0&&(a[j]=t)}}var $a=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-F}};function KI(e){return e}function JI(e,t){return t}var Ua=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function XI(e,t,n,r,o,i,s,a,c,l,u,d,p){Ze("NgControlFlow");let f=g(),h=L(),y=c!==void 0,S=g(),T=a?s.bind(S[te][j]):s,Ce=new Ua(y,T);S[P+e]=Ce,ir(f,h,e+1,t,n,r,o,fe(h.consts,i),256),y&&ir(f,h,e+2,c,l,u,d,fe(h.consts,p),512)}var qa=class extends Ha{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-F}at(t){return this.getLView(t)[j].$implicit}attach(t,n){let r=n[vt];this.needsIndexUpdate||=t!==this.length,pr(this.lContainer,n,t,pn(this.templateTNode,r)),tE(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,nE(this.lContainer,t),rE(this.lContainer,t)}create(t,n){let r=Wo(this.lContainer,this.templateTNode.tView.ssrId);return fr(this.hostLView,this.templateTNode,new $a(this.lContainer,n,t),{dehydratedView:r})}destroy(t){ci(t[m],t)}updateValue(t,n){this.getLView(t)[j].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[j].$index=t}getLView(t){return oE(this.lContainer,t)}};function eE(e){let t=v(null),n=ie();try{let r=g(),o=r[m],i=r[n],s=n+1,a=Xo(r,s);if(i.liveCollection===void 0){let l=Wa(o,s);i.liveCollection=new qa(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(QI(c,e,i.trackByFn,t),c.updateIndexes(),i.hasEmptyBlock){let l=Ge(),u=c.length===0;if(Z(r,l,u)){let d=n+2,p=Xo(r,d);if(u){let f=Wa(o,d),h=xf(p,f,r),y=fr(r,f,void 0,{dehydratedView:h});pr(p,y,0,pn(f,h))}else o.firstUpdatePass&&Fv(p),Nf(p,0)}}}finally{v(t)}}function Xo(e,t){return e[t]}function tE(e,t){if(e.length<=F)return;let n=F+t,r=e[n],o=r?r[Ct]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[We];qy(i,o),Jn.delete(r),o.detachedLeaveAnimationFns=void 0}}function nE(e,t){if(e.length<=F)return;let n=F+t,r=e[n],o=r?r[Ct]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function rE(e,t){return er(e,t)}function oE(e,t){return Mf(e,t)}function Wa(e,t){return Hn(e,t)}function dp(e,t,n){let r=g(),o=Ge();if(Z(r,o,t)){let i=L(),s=cn();mf(s,r,e,t,r[O],n)}return dp}function Ga(e,t,n,r,o){fc(t,e,n,o?"class":"style",r)}function _c(e,t,n,r){let o=g(),i=o[m],s=e+P,a=i.firstCreatePass?gc(s,o,2,t,dc,vo(),n,r):i.data[s];if(di(a,o,e,t,hp),on(a)){let c=o[m];ui(c,o,a),Ja(c,a,o)}return r!=null&&vn(o,a),_c}function Mc(){let e=L(),t=B(),n=fi(t);return e.firstCreatePass&&mc(e,n),Hs(n)&&Bs(),js(),n.classesWithoutHost!=null&&pm(n)&&Ga(e,n,g(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&hm(n)&&Ga(e,n,g(),n.stylesWithoutHost,!1),Mc}function fp(e,t,n,r){return _c(e,t,n,r),Mc(),fp}function Nc(e,t,n,r){let o=g(),i=o[m],s=e+P,a=i.firstCreatePass?Pf(s,i,2,t,n,r):i.data[s];return di(a,o,e,t,hp),r!=null&&vn(o,a),Nc}function Sc(){let e=B(),t=fi(e);return Hs(t)&&Bs(),js(),Sc}function pp(e,t,n,r){return Nc(e,t,n,r),Sc(),pp}var hp=(e,t,n,r,o)=>(qn(!0),Gd(t[O],r,yu()));function gp(e,t,n){let r=g(),o=r[m],i=e+P,s=o.firstCreatePass?gc(i,r,8,"ng-container",dc,vo(),t,n):o.data[i];if(di(s,r,e,"ng-container",vp),on(s)){let a=r[m];ui(a,r,s),Ja(a,s,r)}return n!=null&&vn(r,s),gp}function xc(){let e=L(),t=B(),n=fi(t);return e.firstCreatePass&&mc(e,n),xc}function Ac(e,t,n){let r=g(),o=r[m],i=e+P,s=o.firstCreatePass?Pf(i,o,8,"ng-container",t,n):o.data[i];return di(s,r,e,"ng-container",vp),n!=null&&vn(r,s),Ac}function mp(){let e=B(),t=fi(e);return xc}function yp(e,t,n){return Ac(e,t,n),mp(),yp}var vp=(e,t,n,r,o)=>(qn(!0),my(t[O],""));function iE(){return g()}function Ip(e,t,n){let r=g(),o=Ge();if(Z(r,o,t)){let i=L(),s=cn();uc(s,r,e,t,r[O],n)}return Ip}function Ep(e,t,n){let r=g(),o=Ge();if(Z(r,o,t)){let i=L(),s=cn(),a=Gs(i.data),c=gv(a,s,r);uc(s,r,e,t,c,n)}return Ep}var zn=void 0;function sE(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var aE=["en",[["a","p"],["AM","PM"]],[["AM","PM"]],[["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"]],zn,[["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"]],zn,[["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\u202Fa","h:mm:ss\u202Fa","h:mm:ss\u202Fa z","h:mm:ss\u202Fa zzzz"],["{1}, {0}",zn,zn,zn],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",sE],Yn={};function cE(e,t,n){typeof t!="string"&&(n=t,t=e[ei.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),Yn[t]=e,n&&(Yn[t][ei.ExtraData]=n)}function lE(e){let t=uE(e),n=td(t);if(n)return n;let r=t.split("-")[0];if(n=td(r),n)return n;if(r==="en")return aE;throw new M(701,!1)}function td(e){return e in Yn||(Yn[e]=Ne.ng&&Ne.ng.common&&Ne.ng.common.locales&&Ne.ng.common.locales[e]),Yn[e]}var ei=(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})(ei||{});function uE(e){return e.toLowerCase().replace(/_/g,"-")}var yr="en-US";var dE=yr;function Dp(e){typeof e=="string"&&(dE=e.toLowerCase().replace(/_/g,"-"))}function Cp(e,t,n){let r=g(),o=L(),i=B();return Tp(o,r,r[O],i,e,t,n),Cp}function bp(e,t,n){let r=g(),o=L(),i=B();return(i.type&3||n)&&Lf(i,o,r,n,r[O],e,t,Po(i,r,t)),bp}function Tp(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=Po(r,t,i),Lf(r,e,t,s,n,o,i,c)&&(a=!1)),a){let l=r.outputs?.[o],u=r.hostDirectiveOutputs?.[o];if(u&&u.length)for(let d=0;d<u.length;d+=2){let p=u[d],f=u[d+1];c??=Po(r,t,i),zu(r,t,p,f,o,c)}if(l&&l.length)for(let d of l)c??=Po(r,t,i),zu(r,t,d,o,o,c)}}function fE(e=1){return hu(e)}function pE(e,t){let n=null,r=Sy(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?ef(e,i,!0):Ry(r,i))return o}return n}function hE(e){let t=g()[te][ee];if(!t.projection){let n=e?e.length:1,r=t.projection=$l(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?pE(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function gE(e,t=0,n,r,o,i){let s=g(),a=L(),c=r?e+1:null;c!==null&&ir(s,a,c,r,o,i,null,n);let l=In(a,P+e,16,null,n||null);l.projection===null&&(l.projection=t),qs();let d=!s[vt]||Vs();s[te][ee].projection[l.projection]===null&&c!==null?mE(s,a,c):d&&!ri(l)&&tv(a,s,l)}function mE(e,t,n){let r=P+n,o=t.data[r],i=e[r],s=Wo(i,o.tView.ssrId),a=fr(e,o,void 0,{dehydratedView:s});pr(i,a,0,pn(o,s))}function wp(e,t,n,r){return EI(e,t,n,r),wp}function _p(e,t,n){return Uf(e,t,n),_p}function yE(e){let t=g(),n=L(),r=Eo();Un(r+1);let o=Dc(n,r);if(e.dirty&&Yl(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=Wf(t,r);e.reset(i,Cd),e.notifyOnChanges()}return!0}return!1}function vE(){return Ec(g(),Eo())}function Mp(e,t,n,r){return bI(e,Uf(t,n,r)),Mp}function IE(e=1){Un(Eo()+e)}function EE(e){let t=su();return go(t,P+e)}function xo(e,t){return e<<17|t<<2}function Ot(e){return e>>17&32767}function DE(e){return(e&2)==2}function CE(e,t){return e&131071|t<<17}function za(e){return e|2}function gn(e){return(e&131068)>>2}function ua(e,t){return e&-131069|t<<2}function bE(e){return(e&1)===1}function Qa(e){return e|1}function TE(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Ot(s),c=gn(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||en(d,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let p=Ot(e[a+1]);e[r+1]=xo(p,a),p!==0&&(e[p+1]=ua(e[p+1],r)),e[a+1]=CE(e[a+1],r)}else e[r+1]=xo(a,0),a!==0&&(e[a+1]=ua(e[a+1],r)),a=r;else e[r+1]=xo(c,0),a===0?a=r:e[c+1]=ua(e[c+1],r),c=r;l&&(e[r+1]=za(e[r+1])),nd(e,u,r,!0),nd(e,u,r,!1),wE(t,u,e,r,i),s=xo(a,c),i?t.classBindings=s:t.styleBindings=s}function wE(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&en(i,t)>=0&&(n[r+1]=Qa(n[r+1]))}function nd(e,t,n,r){let o=e[n+1],i=t===null,s=r?Ot(o):gn(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];_E(c,t)&&(a=!0,e[s+1]=r?Qa(l):za(l)),s=r?Ot(l):gn(l)}a&&(e[n+1]=r?za(o):Qa(o))}function _E(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?en(e,t)>=0:!1}var De={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function ME(e){return e.substring(De.key,De.keyEnd)}function NE(e){return SE(e),Np(e,Sp(e,0,De.textEnd))}function Np(e,t){let n=De.textEnd;return n===t?-1:(t=De.keyEnd=xE(e,De.key=t,n),Sp(e,t,n))}function SE(e){De.key=0,De.keyEnd=0,De.value=0,De.valueEnd=0,De.textEnd=e.length}function Sp(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function xE(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function xp(e,t,n){return Rp(e,t,n,!1),xp}function Ap(e,t){return Rp(e,t,null,!0),Ap}function AE(e){OE(VE,RE,e,!0)}function RE(e,t){for(let n=NE(t);n>=0;n=Np(t,n))uo(e,ME(t),!0)}function Rp(e,t,n,r){let o=g(),i=L(),s=_t(2);if(i.firstUpdatePass&&kp(i,e,s,r),t!==V&&Z(o,s,t)){let a=i.data[ie()];Pp(i,a,o,o[O],e,o[s+1]=BE(t,n),r,s)}}function OE(e,t,n,r){let o=L(),i=_t(2);o.firstUpdatePass&&kp(o,null,i,r);let s=g();if(n!==V&&Z(s,i,n)){let a=o.data[ie()];if(Lp(a,r)&&!Op(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=ro(c,n||"")),Ga(o,a,s,n,r)}else HE(o,a,s,s[O],s[i+1],s[i+1]=jE(e,t,n),r,i)}}function Op(e,t){return t>=e.expandoStartIndex}function kp(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[ie()],s=Op(e,n);Lp(i,r)&&t===null&&!s&&(t=!1),t=kE(o,i,t,r),TE(o,i,t,n,s,r)}}function kE(e,t,n,r){let o=Gs(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=da(null,e,t,n,r),n=sr(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=da(o,e,t,n,r),i===null){let c=PE(e,t,r);c!==void 0&&Array.isArray(c)&&(c=da(null,e,t,c[1],r),c=sr(c,t.attrs,r),LE(e,t,r,c))}else i=FE(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function PE(e,t,n){let r=n?t.classBindings:t.styleBindings;if(gn(r)!==0)return e[Ot(r)]}function LE(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[Ot(o)]=r}function FE(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=sr(r,s,n)}return sr(r,t.attrs,n)}function da(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=sr(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function sr(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]),uo(e,s,n?!0:t[++i]))}return e===void 0?null:e}function jE(e,t,n){if(n==null||n==="")return Q;let r=[],o=yn(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 VE(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&uo(e,r,n)}function HE(e,t,n,r,o,i,s,a){o===V&&(o=Q);let c=0,l=0,u=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;u!==null||d!==null;){let p=c<o.length?o[c+1]:void 0,f=l<i.length?i[l+1]:void 0,h=null,y;u===d?(c+=2,l+=2,p!==f&&(h=d,y=f)):d===null||u!==null&&u<d?(c+=2,h=u):(l+=2,h=d,y=f),h!==null&&Pp(e,t,n,r,h,y,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function Pp(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,l=c[a+1],u=bE(l)?rd(c,t,n,o,gn(l),s):void 0;if(!ti(u)){ti(i)||DE(l)&&(i=rd(c,null,n,o,a,s));let d=As(ie(),n);rv(r,s,d,o,i)}}function rd(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===V&&(p=d?Q:void 0);let f=d?fo(p,r):u===r?p:void 0;if(l&&!ti(f)&&(f=fo(c,r)),ti(f)&&(a=f,s))return a;let h=e[o+1];o=s?Ot(h):gn(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=fo(c,r))}return a}function ti(e){return e!==void 0}function BE(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=Be(yn(e)))),e}function Lp(e,t){return(e.flags&(t?8:16))!==0}function $E(e,t=""){let n=g(),r=L(),o=e+P,i=r.firstCreatePass?In(r,o,1,t,null):r.data[o],s=UE(r,n,i,t,e);n[o]=s,bo()&&cc(r,n,s,i),an(i,!1)}var UE=(e,t,n,r,o)=>(qn(!0),hy(t[O],r));function Fp(e,t,n,r=""){return Z(e,Ge(),n)?t+H(n)+r:V}function qE(e,t,n,r,o,i=""){let s=$n(),a=rr(e,s,n,o);return _t(2),a?t+H(n)+r+H(o)+i:V}function WE(e,t,n,r,o,i,s,a=""){let c=$n(),l=Ic(e,c,n,o,s);return _t(3),l?t+H(n)+r+H(o)+i+H(s)+a:V}function GE(e,t,n,r,o,i,s,a,c,l=""){let u=$n(),d=mr(e,u,n,o,s,c);return _t(4),d?t+H(n)+r+H(o)+i+H(s)+a+H(c)+l:V}function zE(e,t,n,r,o,i,s,a,c,l,u,d=""){let p=$n(),f=mr(e,p,n,o,s,c);return f=Z(e,p+4,u)||f,_t(5),f?t+H(n)+r+H(o)+i+H(s)+a+H(c)+l+H(u)+d:V}function jp(e){return Rc("",e),jp}function Rc(e,t,n){let r=g(),o=Fp(r,e,t,n);return o!==V&&vr(r,ie(),o),Rc}function Vp(e,t,n,r,o){let i=g(),s=qE(i,e,t,n,r,o);return s!==V&&vr(i,ie(),s),Vp}function Hp(e,t,n,r,o,i,s){let a=g(),c=WE(a,e,t,n,r,o,i,s);return c!==V&&vr(a,ie(),c),Hp}function Bp(e,t,n,r,o,i,s,a,c){let l=g(),u=GE(l,e,t,n,r,o,i,s,a,c);return u!==V&&vr(l,ie(),u),Bp}function $p(e,t,n,r,o,i,s,a,c,l,u){let d=g(),p=zE(d,e,t,n,r,o,i,s,a,c,l,u);return p!==V&&vr(d,ie(),p),$p}function vr(e,t,n){let r=As(t,e);gy(e[O],r,n)}function Up(e,t,n){Cc(t)&&(t=t());let r=g(),o=Ge();if(Z(r,o,t)){let i=L(),s=cn();mf(s,r,e,t,r[O],n)}return Up}function QE(e,t){let n=Cc(e);return n&&e.set(t),n}function qp(e,t){let n=g(),r=L(),o=B();return Tp(r,n,n[O],o,e,t),qp}function ZE(e,t,n=""){return Fp(g(),e,t,n)}function od(e,t,n){let r=L();r.firstCreatePass&&Wp(t,r.data,r.blueprint,le(e),n)}function Wp(e,t,n,r,o){if(e=U(e),Array.isArray(e))for(let i=0;i<e.length;i++)Wp(e[i],t,n,r,o);else{let i=L(),s=g(),a=B(),c=gt(e)?e:U(e.provide),l=bs(e),u=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(gt(e)||!e.multi){let f=new xt(l,o,gr,null),h=pa(c,t,o?u:u+p,d);h===-1?(ga(Ho(a,s),i,c),fa(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=pa(c,t,u+p,d),h=pa(c,t,u,u+p),y=f>=0&&n[f],S=h>=0&&n[h];if(o&&!S||!o&&!y){ga(Ho(a,s),i,c);let T=JE(o?KE:YE,n.length,o,r,l,e);!o&&S&&(n[h].providerFactory=T),fa(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(T),s.push(T)}else{let T=Gp(n[o?h:f],l,!o&&r);fa(i,e,f>-1?f:h,T)}!o&&r&&S&&n[h].componentProviders++}}}function fa(e,t,n,r){let o=gt(t),i=zl(t);if(o||i){let c=(i?U(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 Gp(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function pa(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function YE(e,t,n,r,o){return Za(this.multi,[])}function KE(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=Kn(r,r[m],this.providerFactory.index,o);s=c.slice(0,a),Za(i,s);for(let l=a;l<c.length;l++)s.push(c[l])}else s=[],Za(i,s);return s}function Za(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function JE(e,t,n,r,o,i){let s=new xt(e,n,gr,null);return s.multi=[],s.index=t,s.componentProviders=0,Gp(s,o,r&&!n),s}function XE(e,t){return n=>{n.providersResolver=(r,o)=>od(r,o?o(e):e,!1),t&&(n.viewProvidersResolver=(r,o)=>od(r,o?o(t):t,!0))}}function eD(e,t,n){let r=Re()+e,o=g();return o[r]===V?kt(o,r,n?t.call(n):t()):vc(o,r)}function tD(e,t,n,r){return zp(g(),Re(),e,t,n,r)}function nD(e,t,n,r,o){return Qp(g(),Re(),e,t,n,r,o)}function rD(e,t,n,r,o,i){return aD(g(),Re(),e,t,n,r,o,i)}function oD(e,t,n,r,o,i,s){return cD(g(),Re(),e,t,n,r,o,i,s)}function iD(e,t,n,r,o,i,s,a){let c=Re()+e,l=g(),u=mr(l,c,n,r,o,i);return Z(l,c+4,s)||u?kt(l,c+5,a?t.call(a,n,r,o,i,s):t(n,r,o,i,s)):vc(l,c+5)}function sD(e,t,n,r,o,i,s,a,c,l){let u=Re()+e,d=g(),p=mr(d,u,n,r,o,i);return Ic(d,u+4,s,a,c)||p?kt(d,u+7,l?t.call(l,n,r,o,i,s,a,c):t(n,r,o,i,s,a,c)):vc(d,u+7)}function yi(e,t){let n=e[t];return n===V?void 0:n}function zp(e,t,n,r,o,i){let s=t+n;return Z(e,s,o)?kt(e,s+1,i?r.call(i,o):r(o)):yi(e,s+1)}function Qp(e,t,n,r,o,i,s){let a=t+n;return rr(e,a,o,i)?kt(e,a+2,s?r.call(s,o,i):r(o,i)):yi(e,a+2)}function aD(e,t,n,r,o,i,s,a){let c=t+n;return Ic(e,c,o,i,s)?kt(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):yi(e,c+3)}function cD(e,t,n,r,o,i,s,a,c){let l=t+n;return mr(e,l,o,i,s,a)?kt(e,l+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):yi(e,l+4)}function lD(e,t){let n=L(),r,o=e+P;n.firstCreatePass?(r=uD(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=Je(r.type,!0)),s,a=X(gr);try{let c=Vo(!1),l=i();return Vo(c),Rs(n,g(),o,l),l}finally{X(a)}}function uD(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function dD(e,t,n){let r=e+P,o=g(),i=go(o,r);return Zp(o,r)?zp(o,Re(),t,i.transform,n,i):i.transform(n)}function fD(e,t,n,r){let o=e+P,i=g(),s=go(i,o);return Zp(i,o)?Qp(i,Re(),t,s.transform,n,r,s):s.transform(n,r)}function Zp(e,t){return e[m].data[t].pure}function pD(e,t){return pi(e,t)}var ni=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},hD=(()=>{class e{compileModuleSync(n){return new Ko(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=ps(n),i=Jd(o.declarations).reduce((s,a)=>{let c=qe(a);return c&&s.push(new Rt(c)),s},[]);return new ni(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=G({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Yp=(()=>{class e{applicationErrorHandler=w(Nt);appRef=w(mi);taskService=w(Mt);ngZone=w(Me);zonelessEnabled=w(Gn);tracing=w(dr,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new $;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Rn):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(w(ta,{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()}))}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2;break}case 12:{this.appRef.dirtyFlags|=16;break}case 13:{this.appRef.dirtyFlags|=2;break}case 11:break;case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;let r=this.useMicrotaskScheduler?Js:Ks;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Rn+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){this.taskService.remove(n),this.applicationErrorHandler(r)}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Js(()=>{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=G({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function gD(){return Ze("NgZoneless"),Is([...Oc(),[]])}function Oc(){return[{provide:Ue,useExisting:Yp},{provide:Me,useClass:On},{provide:Gn,useValue:!0}]}function mD(){return typeof $localize<"u"&&$localize.locale||yr}var kc=new k("",{factory:()=>w(kc,{optional:!0,skipSelf:!0})||mD()});var Ir=class{destroyed=!1;listeners=null;errorHandler=w($e,{optional:!0});destroyRef=w(it);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new M(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?.indexOf(t);n!==void 0&&n!==-1&&this.listeners?.splice(n,1)}}}emit(t){if(this.destroyed){console.warn(kn(953,!1));return}if(this.listeners===null)return;let n=v(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{v(n)}}};function yD(e,t){return Mn(e,t?.equal)}var Ii=Symbol("InputSignalNode#UNSET"),rh=K(Y({},Qr),{transformFn:void 0,applyValueToInputSignal(e,t){Kt(e,t)}});function oh(e,t){let n=Object.create(rh);n.value=e,n.transformFn=t?.transform;function r(){if(Qt(n),n.value===Ii){let o=null;throw new M(-950,o)}return n.value}return r[W]=n,r}var Kp=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>Dd(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}};function VL(e){return new Ir}function Jp(e,t){return oh(e,t)}function ID(e){return oh(Ii,e)}var HL=(Jp.required=ID,Jp);function Xp(e,t){return zf(t)}function ED(e,t){return Qf(t)}var BL=(Xp.required=ED,Xp);function ih(e,t){let n=Object.create(rh),r=new Ir;n.value=e;function o(){return Qt(n),eh(n.value),n.value}return o[W]=n,o.asReadonly=wo.bind(o),o.set=i=>{n.equal(n.value,i)||(Kt(n,i),r.emit(i))},o.update=i=>{eh(n.value),o.set(i(n.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function eh(e){if(e===Ii)throw new M(952,!1)}function th(e,t){return ih(e,t)}function DD(e){return ih(Ii,e)}var $L=(th.required=DD,th);var Pc=new k(""),CD=new k("");function Er(e){return!e.moduleRef}function bD(e){let t=Er(e)?e.r3Injector:e.moduleRef.injector,n=t.get(Me);return n.run(()=>{Er(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Nt),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),Er(e)){let i=()=>t.destroy(),s=e.platformInjector.get(Pc);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Pc);s.add(i),e.moduleRef.onDestroy(()=>{Zn(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return wD(r,n,()=>{let i=t.get(Mt),s=i.add(),a=t.get(Tc);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(kc,yr);if(Dp(c||yr),!t.get(CD,!0))return Er(e)?t.get(mi):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Er(e)){let u=t.get(mi);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return TD?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>void i.remove(s))})})}var TD;function wD(e,t,n){try{let r=n();return bc(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var vi=null;function _D(e=[],t){return me.create({name:t,providers:[{provide:Cs,useValue:"platform"},{provide:Pc,useValue:new Set([()=>vi=null])},...e]})}function MD(e=[]){if(vi)return vi;let t=_D(e);return vi=t,cp(),ND(t),t}function ND(e){let t=e.get(Sd,null);po(e,()=>{t?.forEach(n=>n())})}function UL(){return!1}var qL=(()=>{class e{static __NG_ELEMENT_ID__=SD}return e})();function SD(e){return xD(B(),g(),(e&16)===16)}function xD(e,t,n){if(rt(e)&&!n){let r=de(e.index,t);return new st(r,r)}else if(e.type&175){let r=t[te];return new st(r,t)}return null}var Lc=class{constructor(){}supports(t){return t instanceof Map||yc(t)}create(){return new Fc}},Fc=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||yc(t)))throw new M(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){let r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){let o=this._records.get(t);this._maybeAddToChanges(o,n);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new jc(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))}},jc=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function nh(){return new AD([new Lc])}var AD=(()=>{class e{static \u0275prov=G({token:e,providedIn:"root",factory:nh});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:()=>{let r=w(e,{optional:!0,skipSelf:!0});return e.create(n,r||nh())}}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new M(901,!1)}}return e})();function WL(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;R(x.BootstrapApplicationStart);try{let i=o?.injector??MD(r),s=[Oc(),Du,...n||[]],a=new or({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return bD({r3Injector:a.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{R(x.BootstrapApplicationEnd)}}function GL(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function zL(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function QL(e,t){let n=qe(e),r=t.elementInjector||tn();return new Rt(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings)}var Pt=(function(e){return e[e.State=0]="State",e[e.Transition=1]="Transition",e[e.Sequence=2]="Sequence",e[e.Group=3]="Group",e[e.Animate=4]="Animate",e[e.Keyframes=5]="Keyframes",e[e.Style=6]="Style",e[e.Trigger=7]="Trigger",e[e.Reference=8]="Reference",e[e.AnimateChild=9]="AnimateChild",e[e.AnimateRef=10]="AnimateRef",e[e.Query=11]="Query",e[e.Stagger=12]="Stagger",e})(Pt||{}),eF="*";function tF(e,t){return{type:Pt.Trigger,name:e,definitions:t,options:{}}}function nF(e,t=null){return{type:Pt.Animate,styles:t,timings:e}}function rF(e,t=null){return{type:Pt.Sequence,steps:e,options:t}}function oF(e){return{type:Pt.Style,styles:e,offset:null}}function iF(e,t,n){return{type:Pt.State,name:e,styles:t,options:n}}function sF(e,t,n=null){return{type:Pt.Transition,expr:e,animation:t,options:n}}var sh=class{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(t=0,n=0){this.totalTime=t+n}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){let n=t=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},ah=class{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(t){this.players=t;let n=0,r=0,o=0,i=this.players.length;i==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++n==i&&this._onFinish()}),s.onDestroy(()=>{++r==i&&this._onDestroy()}),s.onStart(()=>{++o==i&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){let n=t*this.totalTime;this.players.forEach(r=>{let o=r.totalTime?Math.min(1,n/r.totalTime):1;r.setPosition(o)})}getPosition(){let t=this.players.reduce((n,r)=>n===null||r.totalTime>n.totalTime?r:n,null);return t!=null?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){let n=t=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},aF="!";export{$ as a,dh as b,_ as c,re as d,bn as e,_h as f,je as g,Te as h,Si as i,Mh as j,Nh as k,Pe as l,Sh as m,hh as n,Le as o,Fh as p,ge as q,Cn as r,Ke as s,Vh as t,Hh as u,xi as v,ut as w,zh as x,Qh as y,Tn as z,Yh as A,Jh as B,Xh as C,fl as D,eg as E,Qc as F,Gt as G,tg as H,mh as I,rg as J,og as K,ig as L,sg as M,ag as N,cg as O,wh as P,vl as Q,Il as R,lg as S,ug as T,M as U,kn as V,oo as W,G as X,kl as Y,Eg as Z,k as _,_e as $,w as aa,Is as ba,ql as ca,Cs as da,se as ea,po as fa,ru as ga,ou as ha,gu as ia,mu as ja,me as ka,Ys as la,it as ma,Mt as na,Ve as oa,Me as pa,$e as qa,Nt as ra,To as sa,Ue as ta,na as ua,Cu as va,ra as wa,am as xa,wm as ya,Dd as za,cr as Aa,Rm as Ba,Om as Ca,Sd as Da,Pm as Ea,Lm as Fa,Fm as Ga,xd as Ha,jm as Ia,At as Ja,yn as Ka,ii as La,Um as Ma,qm as Na,Wm as Oa,Gm as Pa,zm as Qa,Xa as Ra,Wd as Sa,ur as Ta,Iy as Ua,Yd as Va,Ey as Wa,Cy as Xa,by as Ya,Vy as Za,Uo as _a,Jn as $a,dr as ab,Ze as bb,By as cb,$y as db,tr as eb,hr as fb,nr as gb,Bv as hb,gr as ib,Uv as jb,gi as kb,Zf as lb,Yf as mb,_I as nb,NI as ob,AI as pb,RI as qb,kI as rb,ep as sb,np as tb,GI as ub,bc as vb,ap as wb,mi as xb,up as yb,ZI as zb,YI as Ab,KI as Bb,JI as Cb,XI as Db,eE as Eb,dp as Fb,_c as Gb,Mc as Hb,fp as Ib,Nc as Jb,Sc as Kb,pp as Lb,gp as Mb,xc as Nb,Ac as Ob,mp as Pb,yp as Qb,iE as Rb,Ip as Sb,Ep as Tb,cE as Ub,lE as Vb,ei as Wb,Cp as Xb,bp as Yb,fE as Zb,hE as _b,gE as $b,wp as ac,_p as bc,yE as cc,vE as dc,Mp as ec,IE as fc,EE as gc,xp as hc,Ap as ic,AE as jc,$E as kc,jp as lc,Rc as mc,Vp as nc,Hp as oc,Bp as pc,$p as qc,Up as rc,QE as sc,qp as tc,ZE as uc,XE as vc,eD as wc,tD as xc,nD as yc,rD as zc,oD as Ac,iD as Bc,sD as Cc,lD as Dc,dD as Ec,fD as Fc,pD as Gc,hD as Hc,gD as Ic,kc as Jc,yD as Kc,Kp as Lc,VL as Mc,HL as Nc,BL as Oc,$L as Pc,UL as Qc,qL as Rc,AD as Sc,WL as Tc,GL as Uc,zL as Vc,QL as Wc,Pt as Xc,eF as Yc,tF as Zc,nF as _c,rF as $c,oF as ad,iF as bd,sF as cd,sh as dd,ah as ed,aF as fd};
3
+ `)}`:"",this.name="UnsubscriptionError",this.errors=n});function at(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var $=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(I(r))try{r()}catch(i){t=i instanceof Dr?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Vc(i)}catch(s){t=t??[],s instanceof Dr?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Dr(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Vc(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)&&at(n,t)}remove(t){let{_finalizers:n}=this;n&&at(n,t),t instanceof e&&t._removeParent(this)}};$.EMPTY=(()=>{let e=new $;return e.closed=!0,e})();var Di=$.EMPTY;function Cr(e){return e instanceof $||e&&"closed"in e&&I(e.remove)&&I(e.add)&&I(e.unsubscribe)}function Vc(e){I(e)?e():e.unsubscribe()}var pe={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Ft={setTimeout(e,t,...n){let{delegate:r}=Ft;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Ft;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function br(e){Ft.setTimeout(()=>{let{onUnhandledError:t}=pe;if(t)t(e);else throw e})}function ke(){}var Hc=Ci("C",void 0,void 0);function Bc(e){return Ci("E",void 0,e)}function $c(e){return Ci("N",e,void 0)}function Ci(e,t,n){return{kind:e,value:t,error:n}}var ct=null;function jt(e){if(pe.useDeprecatedSynchronousErrorHandling){let t=!ct;if(t&&(ct={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=ct;if(ct=null,n)throw r}}else e()}function Uc(e){pe.useDeprecatedSynchronousErrorHandling&&ct&&(ct.errorThrown=!0,ct.error=e)}var lt=class extends ${constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Cr(t)&&t.add(this)):this.destination=dh}static create(t,n,r){return new he(t,n,r)}next(t){this.isStopped?Ti($c(t),this):this._next(t)}error(t){this.isStopped?Ti(Bc(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Ti(Hc,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()}}},lh=Function.prototype.bind;function bi(e,t){return lh.call(e,t)}var wi=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Tr(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Tr(r)}else Tr(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Tr(n)}}},he=class extends lt{constructor(t,n,r){super();let o;if(I(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&pe.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&bi(t.next,i),error:t.error&&bi(t.error,i),complete:t.complete&&bi(t.complete,i)}):o=t}this.destination=new wi(o)}};function Tr(e){pe.useDeprecatedSynchronousErrorHandling?Uc(e):br(e)}function uh(e){throw e}function Ti(e,t){let{onStoppedNotification:n}=pe;n&&Ft.setTimeout(()=>n(e,t))}var dh={closed:!0,next:ke,error:uh,complete:ke};var Vt=typeof Symbol=="function"&&Symbol.observable||"@@observable";function J(e){return e}function fh(...e){return _i(e)}function _i(e){return e.length===0?J:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var _=(()=>{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=hh(n)?n:new he(n,r,o);return jt(()=>{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=qc(r),new r((o,i)=>{let s=new he({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)}[Vt](){return this}pipe(...n){return _i(n)(this)}toPromise(n){return n=qc(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 qc(e){var t;return(t=e??pe.Promise)!==null&&t!==void 0?t:Promise}function ph(e){return e&&I(e.next)&&I(e.error)&&I(e.complete)}function hh(e){return e&&e instanceof lt||ph(e)&&Cr(e)}var Wc=Lt(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var re=(()=>{class e extends _{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new wr(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Wc}next(n){jt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){jt(()=>{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(){jt(()=>{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?Di:(this.currentObservers=null,i.push(n),new $(()=>{this.currentObservers=null,at(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new _;return n.source=this,n}}return e.create=(t,n)=>new wr(t,n),e})(),wr=class extends re{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:Di}};var Pe=Lt(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function gh(e,t){let n=typeof t=="object";return new Promise((r,o)=>{let i=new he({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{n?r(t.defaultValue):o(new Pe)}});e.subscribe(i)})}function mh(e){return I(e?.lift)}function C(e){return t=>{if(mh(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function D(e,t,n,r,o){return new Mi(e,t,n,r,o)}var Mi=class extends lt{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 Le(e,t){return C((n,r)=>{let o=0;n.subscribe(D(r,i=>{r.next(e.call(t,i,o++))}))})}var _r=class extends ${constructor(t,n){super()}schedule(t,n=0){return this}};var En={setInterval(e,t,...n){let{delegate:r}=En;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=En;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var Ht=class extends _r{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(t,n,r=0){return En.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return n;n!=null&&En.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(t,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let r=!1,o;try{this.work(t)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,at(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var Dn={now(){return(Dn.delegate||Date).now()},delegate:void 0};var Bt=class e{constructor(t,n=e.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}};Bt.now=Dn.now;var $t=class extends Bt{constructor(t,n=Bt.now){super(t,n),this.actions=[],this._active=!1}flush(t){let{actions:n}=this;if(this._active){n.push(t);return}let r;this._active=!0;do if(r=t.execute(t.state,t.delay))break;while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}};var Fe=new $t(Ht),Gc=Fe;function Mr(e){return e&&I(e.schedule)}function zc(e){return e instanceof Date&&!isNaN(e)}function ut(e=0,t,n=Gc){let r=-1;return t!=null&&(Mr(t)?n=t:r=t),new _(o=>{let i=zc(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function Qc(e,t=Fe){return C((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let l=i;i=null,r.next(l)}};function c(){let l=s+e,u=t.now();if(u<l){o=this.schedule(void 0,l-u),r.add(o);return}a()}n.subscribe(D(r,l=>{i=l,s=t.now(),o||(o=t.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function Zc(e,t=J){return e=e??yh,C((n,r)=>{let o,i=!0;n.subscribe(D(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function yh(e,t){return e===t}function Kc(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 Yc(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 dt(e){return this instanceof dt?(this.v=e,this):new dt(e)}function Jc(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(y){return new Promise(function(S,T){i.push([f,y,S,T])>1||c(f,y)})},h&&(o[f]=h(o[f])))}function c(f,h){try{l(r[f](h))}catch(y){p(i[0][3],y)}}function l(f){f.value instanceof dt?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 Xc(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 Yc=="function"?Yc(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 Ut=e=>e&&typeof e.length=="number"&&typeof e!="function";function Nr(e){return I(e?.then)}function Sr(e){return I(e[Vt])}function xr(e){return Symbol.asyncIterator&&I(e?.[Symbol.asyncIterator])}function Ar(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 vh(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Rr=vh();function Or(e){return I(e?.[Rr])}function kr(e){return Jc(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield dt(n.read());if(o)return yield dt(void 0);yield yield dt(r)}}finally{n.releaseLock()}})}function Pr(e){return I(e?.getReader)}function N(e){if(e instanceof _)return e;if(e!=null){if(Sr(e))return Ih(e);if(Ut(e))return Eh(e);if(Nr(e))return Dh(e);if(xr(e))return el(e);if(Or(e))return Ch(e);if(Pr(e))return bh(e)}throw Ar(e)}function Ih(e){return new _(t=>{let n=e[Vt]();if(I(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Eh(e){return new _(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function Dh(e){return new _(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,br)})}function Ch(e){return new _(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function el(e){return new _(t=>{Th(e,t).catch(n=>t.error(n))})}function bh(e){return el(kr(e))}function Th(e,t){var n,r,o,i;return Kc(this,void 0,void 0,function*(){try{for(n=Xc(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function ne(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function tl(e,t,n,r,o,i,s,a){let c=[],l=0,u=0,d=!1,p=()=>{d&&!c.length&&!l&&t.complete()},f=y=>l<r?h(y):c.push(y),h=y=>{i&&t.next(y),l++;let S=!1;N(n(y,u++)).subscribe(D(t,T=>{o?.(T),i?f(T):t.next(T)},()=>{S=!0},void 0,()=>{if(S)try{for(l--;c.length&&l<r;){let T=c.shift();s?ne(t,s,()=>h(T)):h(T)}p()}catch(T){t.error(T)}}))};return e.subscribe(D(t,f,()=>{d=!0,p()})),()=>{a?.()}}function ge(e,t,n=1/0){return I(t)?ge((r,o)=>Le((i,s)=>t(r,i,o,s))(N(e(r,o))),n):(typeof t=="number"&&(n=t),C((r,o)=>tl(r,o,e,n)))}function Cn(e=1/0){return ge(J,e)}function nl(){return Cn(1)}function Ni(e){return e[e.length-1]}function Ye(e){return I(Ni(e))?e.pop():void 0}function be(e){return Mr(Ni(e))?e.pop():void 0}function rl(e,t){return typeof Ni(e)=="number"?e.pop():t}function Lr(e,t=0){return C((n,r)=>{n.subscribe(D(r,o=>ne(r,e,()=>r.next(o),t),()=>ne(r,e,()=>r.complete(),t),o=>ne(r,e,()=>r.error(o),t)))})}function Fr(e,t=0){return C((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function ol(e,t){return N(e).pipe(Fr(t),Lr(t))}function il(e,t){return N(e).pipe(Fr(t),Lr(t))}function sl(e,t){return new _(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function al(e,t){return new _(n=>{let r;return ne(n,t,()=>{r=e[Rr](),ne(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>I(r?.return)&&r.return()})}function jr(e,t){if(!e)throw new Error("Iterable cannot be null");return new _(n=>{ne(n,t,()=>{let r=e[Symbol.asyncIterator]();ne(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function cl(e,t){return jr(kr(e),t)}function ll(e,t){if(e!=null){if(Sr(e))return ol(e,t);if(Ut(e))return sl(e,t);if(Nr(e))return il(e,t);if(xr(e))return jr(e,t);if(Or(e))return al(e,t);if(Pr(e))return cl(e,t)}throw Ar(e)}function Te(e,t){return t?ll(e,t):N(e)}function Ke(...e){return nl()(Te(e,be(e)))}function wh(...e){let t=be(e);return C((n,r)=>{(t?Ke(e,n,t):Ke(e,n)).subscribe(r)})}var qt={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame,{delegate:r}=qt;r&&(t=r.requestAnimationFrame,n=r.cancelAnimationFrame);let o=t(i=>{n=void 0,e(i)});return new $(()=>n?.(o))},requestAnimationFrame(...e){let{delegate:t}=qt;return(t?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){let{delegate:t}=qt;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};var bn=class extends re{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 Vr=class extends re{constructor(t=1/0,n=1/0,r=Dn){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)}}};var Hr=class extends Ht{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,r=0){return r!==null&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=qt.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,n,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);let{actions:i}=t;n!=null&&n===t._scheduled&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&(qt.cancelAnimationFrame(n),t._scheduled=void 0)}};var Br=class extends $t{flush(t){this._active=!0;let n;t?n=t.id:(n=this._scheduled,this._scheduled=void 0);let{actions:r}=this,o;t=t||r.shift();do if(o=t.execute(t.state,t.delay))break;while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}};var _h=new Br(Hr);var je=new _(e=>e.complete());function Si(...e){let t=be(e);return Te(e,t)}function Mh(e,t){let n=I(e)?e:()=>e,r=o=>o.error(n());return new _(t?o=>t.schedule(r,0,o):r)}function Nh(e){return!!e&&(e instanceof _||I(e.lift)&&I(e.subscribe))}function Sh(e,t){let n=typeof t=="object";return new Promise((r,o)=>{let i=!1,s;e.subscribe({next:a=>{s=a,i=!0},error:o,complete:()=>{i?r(s):n?r(t.defaultValue):o(new Pe)}})})}var{isArray:xh}=Array;function Ah(e,t){return xh(t)?e(...t):e(t)}function Wt(e){return Le(t=>Ah(e,t))}var{isArray:Rh}=Array,{getPrototypeOf:Oh,prototype:kh,keys:Ph}=Object;function $r(e){if(e.length===1){let t=e[0];if(Rh(t))return{args:t,keys:null};if(Lh(t)){let n=Ph(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function Lh(e){return e&&typeof e=="object"&&Oh(e)===kh}function Ur(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Fh(...e){let t=be(e),n=Ye(e),{args:r,keys:o}=$r(e);if(r.length===0)return Te([],t);let i=new _(jh(r,t,o?s=>Ur(o,s):J));return n?i.pipe(Wt(n)):i}function jh(e,t,n=J){return r=>{ul(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)ul(t,()=>{let l=Te(e[c],t),u=!1;l.subscribe(D(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function ul(e,t,n){e?ne(n,e,t):t()}function Vh(e){return new _(t=>{N(e()).subscribe(t)})}function Hh(...e){let t=Ye(e),{args:n,keys:r}=$r(e),o=new _(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;N(n[u]).subscribe(D(i,p=>{d||(d=!0,l--),a[u]=p},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?Ur(r,a):a),i.complete())}))}});return t?o.pipe(Wt(t)):o}var Bh=["addListener","removeListener"],$h=["addEventListener","removeEventListener"],Uh=["on","off"];function xi(e,t,n,r){if(I(n)&&(r=n,n=void 0),r)return xi(e,t,n).pipe(Wt(r));let[o,i]=Gh(e)?$h.map(s=>a=>e[s](t,a,n)):qh(e)?Bh.map(dl(e,t)):Wh(e)?Uh.map(dl(e,t)):[];if(!o&&Ut(e))return ge(s=>xi(s,t,n))(N(e));if(!o)throw new TypeError("Invalid event target");return new _(s=>{let a=(...c)=>s.next(1<c.length?c:c[0]);return o(a),()=>i(a)})}function dl(e,t){return n=>r=>e[n](t,r)}function qh(e){return I(e.addListener)&&I(e.removeListener)}function Wh(e){return I(e.on)&&I(e.off)}function Gh(e){return I(e.addEventListener)&&I(e.removeEventListener)}function zh(e=0,t=Fe){return e<0&&(e=0),ut(e,e,t)}function Qh(...e){let t=be(e),n=rl(e,1/0),r=e;return r.length?r.length===1?N(r[0]):Cn(n)(Te(r,t)):je}var{isArray:Zh}=Array;function qr(e){return e.length===1&&Zh(e[0])?e[0]:e}function Tn(e,t){return C((n,r)=>{let o=0;n.subscribe(D(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Yh(...e){return e=qr(e),e.length===1?N(e[0]):new _(Kh(e))}function Kh(e){return t=>{let n=[];for(let r=0;n&&!t.closed&&r<e.length;r++)n.push(N(e[r]).subscribe(D(t,o=>{if(n){for(let i=0;i<n.length;i++)i!==r&&n[i].unsubscribe();n=null}t.next(o)})))}}function Jh(...e){let t=Ye(e),n=qr(e);return n.length?new _(r=>{let o=n.map(()=>[]),i=n.map(()=>!1);r.add(()=>{o=i=null});for(let s=0;!r.closed&&s<n.length;s++)N(n[s]).subscribe(D(r,a=>{if(o[s].push(a),o.every(c=>c.length)){let c=o.map(l=>l.shift());r.next(t?t(...c):c),o.some((l,u)=>!l.length&&i[u])&&r.complete()}},()=>{i[s]=!0,!o[s].length&&r.complete()}));return()=>{o=i=null}}):je}function fl(e){return C((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let l=o;o=null,n.next(l)}s&&n.complete()},c=()=>{i=null,s&&n.complete()};t.subscribe(D(n,l=>{r=!0,o=l,i||N(e(l)).subscribe(i=D(n,a,c))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function Xh(e,t=Fe){return fl(()=>ut(e,t))}function pl(e){return C((t,n)=>{let r=null,o=!1,i;r=t.subscribe(D(n,void 0,void 0,s=>{i=N(e(s,pl(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function eg(e,t){return I(t)?ge(e,t,1):ge(e,1)}function hl(e){return C((t,n)=>{let r=!1;t.subscribe(D(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function Gt(e){return e<=0?()=>je:C((t,n)=>{let r=0;t.subscribe(D(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function gl(){return C((e,t)=>{e.subscribe(D(t,ke))})}function ml(e){return Le(()=>e)}function Ai(e,t){return t?n=>Ke(t.pipe(Gt(1),gl()),n.pipe(Ai(e))):ge((n,r)=>N(e(n,r)).pipe(Gt(1),ml(n)))}function tg(e,t=Fe){let n=ut(e,t);return Ai(()=>n)}function yl(e=ng){return C((t,n)=>{let r=!1;t.subscribe(D(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function ng(){return new Pe}function rg(...e){return t=>Ke(t,Si(...e))}function og(e){return C((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function ig(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Tn((o,i)=>e(o,i,r)):J,Gt(1),n?hl(t):yl(()=>new Pe))}function sg(e){return e<=0?()=>je:C((t,n)=>{let r=[];t.subscribe(D(n,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function vl(e={}){let{connector:t=()=>new re,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 y=s;f(),y?.unsubscribe()};return C((y,S)=>{l++,!d&&!u&&p();let T=c=c??t();S.add(()=>{l--,l===0&&!d&&!u&&(a=Ri(h,o))}),T.subscribe(S),!s&&l>0&&(s=new he({next:Ce=>T.next(Ce),error:Ce=>{d=!0,p(),a=Ri(f,n,Ce),T.error(Ce)},complete:()=>{u=!0,p(),a=Ri(f,r),T.complete()}}),N(y).subscribe(s))})(i)}}function Ri(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new he({next:()=>{r.unsubscribe(),e()}});return N(t(...n)).subscribe(r)}function ag(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,vl({connector:()=>new Vr(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function cg(e){return Tn((t,n)=>e<=n)}function Il(e,t){return C((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(D(r,c=>{o?.unsubscribe();let l=0,u=i++;N(e(c,u)).subscribe(o=D(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function El(e){return C((t,n)=>{N(e).subscribe(D(n,()=>n.complete(),ke)),!n.closed&&t.subscribe(n)})}function lg(e,t,n){let r=I(e)||t||n?{next:e,error:t,complete:n}:e;return r?C((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(D(i,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),i.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):J}function ug(...e){let t=Ye(e);return C((n,r)=>{let o=e.length,i=new Array(o),s=e.map(()=>!1),a=!1;for(let c=0;c<o;c++)N(e[c]).subscribe(D(r,l=>{i[c]=l,!a&&!s[c]&&(s[c]=!0,(a=s.every(J))&&(s=null))},ke));n.subscribe(D(r,c=>{if(a){let l=[c,...i];r.next(t?t(...l):l)}}))})}var z=null,Wr=!1,Li=1,dg=null,W=Symbol("SIGNAL");function v(e){let t=z;return z=e,t}function zr(){return z}var zt={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Qt(e){if(Wr)throw new Error("");if(z===null)return;z.consumerOnSignalRead(e);let t=z.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=z.recomputing;if(r&&(n=t!==void 0?t.nextProducer:z.producers,n!==void 0&&n.producer===e)){z.producersTail=n,n.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===z&&(!r||pg(o,z)))return;let i=Yt(z),s={producer:e,consumer:z,nextProducer:n,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};z.producersTail=s,t!==void 0?t.nextProducer=s:z.producers=s,i&&Tl(e,s)}function Dl(){Li++}function Fi(e){if(!(Yt(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Li)){if(!e.producerMustRecompute(e)&&!_n(e)){Pi(e);return}e.producerRecomputeValue(e),Pi(e)}}function ji(e){if(e.consumers===void 0)return;let t=Wr;Wr=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||fg(r)}}finally{Wr=t}}function Vi(){return z?.consumerAllowSignalWrites!==!1}function fg(e){e.dirty=!0,ji(e),e.consumerMarkedDirty?.(e)}function Pi(e){e.dirty=!1,e.lastCleanEpoch=Li}function Zt(e){return e&&Cl(e),v(e)}function Cl(e){e.producersTail=void 0,e.recomputing=!0}function wn(e,t){v(t),e&&bl(e)}function bl(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(Yt(e))do n=Hi(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function _n(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(Fi(n),r!==n.version))return!0}return!1}function ft(e){if(Yt(e)){let t=e.producers;for(;t!==void 0;)t=Hi(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function Tl(e,t){let n=e.consumersTail,r=Yt(e);if(n!==void 0?(t.nextConsumer=n.nextConsumer,n.nextConsumer=t):(t.nextConsumer=void 0,e.consumers=t),t.prevConsumer=n,e.consumersTail=t,!r)for(let o=e.producers;o!==void 0;o=o.nextProducer)Tl(o.producer,o)}function Hi(e){let t=e.producer,n=e.nextProducer,r=e.nextConsumer,o=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,r!==void 0?r.prevConsumer=o:t.consumersTail=o,o!==void 0)o.nextConsumer=r;else if(t.consumers=r,!Yt(t)){let i=t.producers;for(;i!==void 0;)i=Hi(i)}return n}function Yt(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function Bi(e){dg?.(e)}function pg(e,t){let n=t.producersTail;if(n!==void 0){let r=t.producers;do{if(r===e)return!0;if(r===n)break;r=r.nextProducer}while(r!==void 0)}return!1}function $i(e,t){return Object.is(e,t)}function Mn(e,t){let n=Object.create(hg);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(Fi(n),Qt(n),n.value===Gr)throw n.error;return n.value};return r[W]=n,Bi(n),r}var Oi=Symbol("UNSET"),ki=Symbol("COMPUTING"),Gr=Symbol("ERRORED"),hg=K(Y({},zt),{value:Oi,dirty:!0,error:null,equal:$i,kind:"computed",producerMustRecompute(e){return e.value===Oi||e.value===ki},producerRecomputeValue(e){if(e.value===ki)throw new Error("");let t=e.value;e.value=ki;let n=Zt(e),r,o=!1;try{r=e.computation(),v(null),o=t!==Oi&&t!==Gr&&r!==Gr&&e.equal(t,r)}catch(i){r=Gr,e.error=i}finally{wn(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function gg(){throw new Error}var wl=gg;function _l(e){wl(e)}function Ui(e){wl=e}var mg=null;function qi(e,t){let n=Object.create(Qr);n.value=e,t!==void 0&&(n.equal=t);let r=()=>Ml(n);return r[W]=n,Bi(n),[r,s=>Kt(n,s),s=>Nl(n,s)]}function Ml(e){return Qt(e),e.value}function Kt(e,t){Vi()||_l(e),e.equal(e.value,t)||(e.value=t,yg(e))}function Nl(e,t){Vi()||_l(e),Kt(e,t(e.value))}var Qr=K(Y({},zt),{equal:$i,value:void 0,kind:"signal"});function yg(e){e.version++,Dl(),ji(e),mg?.(e)}function Wi(e){let t=v(null);try{return e()}finally{v(t)}}var Gi=K(Y({},zt),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function zi(e){if(e.dirty=!1,e.version>0&&!_n(e))return;e.version++;let t=Zt(e);try{e.cleanup(),e.fn()}finally{wn(e,t)}}var Qi;function Zr(){return Qi}function we(e){let t=Qi;return Qi=e,t}var Sl=Symbol("NotFound");function Jt(e){return e===Sl||e?.name==="\u0275NotFound"}var no="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",M=class extends Error{code;constructor(t,n){super(kn(t,n)),this.code=t}};function vg(e){return`NG0${Math.abs(e)}`}function kn(e,t){return`${vg(e)}${t?": "+t:""}`}var Ne=globalThis;function A(e){for(let t in e)if(e[t]===A)return t;throw Error("")}function kl(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Be(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(Be).join(", ")}]`;if(e==null)return""+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let n=e.toString();if(n==null)return""+n;let r=n.indexOf(`
4
+ `);return r>=0?n.slice(0,r):n}function ro(e,t){return e?t?`${e} ${t}`:e:t||""}var Ig=A({__forward_ref__:A});function oo(e){return e.__forward_ref__=oo,e.toString=function(){return Be(this())},e}function U(e){return as(e)?e():e}function as(e){return typeof e=="function"&&e.hasOwnProperty(Ig)&&e.__forward_ref__===oo}function G(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Pl(e){return{providers:e.providers||[],imports:e.imports||[]}}function Pn(e){return Dg(e,io)}function Eg(e){return Pn(e)!==null}function Dg(e,t){return e.hasOwnProperty(t)&&e[t]||null}function Cg(e){let t=e?.[io]??null;return t||null}function Yi(e){return e&&e.hasOwnProperty(Kr)?e[Kr]:null}var io=A({\u0275prov:A}),Kr=A({\u0275inj:A}),k=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=G({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function cs(e){return e&&!!e.\u0275providers}var ls=A({\u0275cmp:A}),us=A({\u0275dir:A}),ds=A({\u0275pipe:A}),fs=A({\u0275mod:A}),Sn=A({\u0275fac:A}),yt=A({__NG_ELEMENT_ID__:A}),xl=A({__NG_ENV_ID__:A});function ps(e){return ao(e,"@NgModule"),e[fs]||null}function qe(e){return ao(e,"@Component"),e[ls]||null}function so(e){return ao(e,"@Directive"),e[us]||null}function Ll(e){return ao(e,"@Pipe"),e[ds]||null}function ao(e,t){if(e==null)throw new M(-919,!1)}function H(e){return typeof e=="string"?e:e==null?"":String(e)}function Fl(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():H(e)}var jl=A({ngErrorCode:A}),bg=A({ngErrorMessage:A}),Tg=A({ngTokenPath:A});function hs(e,t){return Vl("",-200,t)}function co(e,t){throw new M(-201,!1)}function Vl(e,t,n){let r=new M(t,e);return r[jl]=t,r[bg]=e,n&&(r[Tg]=n),r}function wg(e){return e[jl]}var Ki;function Hl(){return Ki}function X(e){let t=Ki;return Ki=e,t}function gs(e,t,n){let r=Pn(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&8)return null;if(t!==void 0)return t;co(e,"")}var _g={},pt=_g,Mg="__NG_DI_FLAG__",Ji=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=ht(n)||0;try{return this.injector.get(t,r&8?null:pt,r)}catch(o){if(Jt(o))return o;throw o}}};function Ng(e,t=0){let n=Zr();if(n===void 0)throw new M(-203,!1);if(n===null)return gs(e,void 0,t);{let r=Sg(t),o=n.retrieve(e,r);if(Jt(o)){if(r.optional)return null;throw o}return o}}function _e(e,t=0){return(Hl()||Ng)(U(e),t)}function w(e,t){return _e(e,ht(t))}function ht(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Sg(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function Xi(e){let t=[];for(let n=0;n<e.length;n++){let r=U(e[n]);if(Array.isArray(r)){if(r.length===0)throw new M(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=xg(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(_e(o,i))}else t.push(_e(r))}return t}function xg(e){return e[Mg]}function Je(e,t){let n=e.hasOwnProperty(Sn);return n?e[Sn]:null}function Bl(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 $l(e){return e.flat(Number.POSITIVE_INFINITY)}function lo(e,t){e.forEach(n=>Array.isArray(n)?lo(n,t):t(n))}function ms(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Ln(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Ul(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function ql(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 uo(e,t,n){let r=en(e,t);return r>=0?e[r|1]=n:(r=~r,ql(e,r,t,n)),r}function fo(e,t){let n=en(e,t);if(n>=0)return e[n|1]}function en(e,t){return Ag(e,t,1)}function Ag(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}var ye={},Q=[],Fn=new k(""),ys=new k("",-1),vs=new k(""),xn=class{get(t,n=pt){if(n===pt){let o=Vl("",-201);throw o.name="\u0275NotFound",o}return n}};function Is(e){return{\u0275providers:e}}function Wl(...e){return{\u0275providers:Es(!0,e),\u0275fromNgModule:!0}}function Es(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return lo(t,s=>{let a=s;Jr(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Gl(o,i),n}function Gl(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];Ds(o,i=>{t(i,r)})}}function Jr(e,t,n,r){if(e=U(e),!e)return!1;let o=null,i=Yi(e),s=!i&&qe(e);if(!i&&!s){let c=e.ngModule;if(i=Yi(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)Jr(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;try{lo(i.imports,u=>{Jr(u,t,n,r)&&(l||=[],l.push(u))})}finally{}l!==void 0&&Gl(l,t)}if(!a){let l=Je(o)||(()=>new o);t({provide:o,useFactory:l,deps:Q},o),t({provide:vs,useValue:o,multi:!0},o),t({provide:Fn,useValue:()=>_e(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;Ds(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function Ds(e,t){for(let n of e)cs(n)&&(n=n.\u0275providers),Array.isArray(n)?Ds(n,t):t(n)}var Rg=A({provide:String,useValue:A});function zl(e){return e!==null&&typeof e=="object"&&Rg in e}function Og(e){return!!(e&&e.useExisting)}function kg(e){return!!(e&&e.useFactory)}function gt(e){return typeof e=="function"}function Ql(e){return!!e.useClass}var Cs=new k(""),Yr={},Al={},Zi;function tn(){return Zi===void 0&&(Zi=new xn),Zi}var se=class{},mt=class extends se{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,ts(t,s=>this.processProvider(s)),this.records.set(ys,Xt(void 0,this)),o.has("environment")&&this.records.set(se,Xt(void 0,this));let i=this.records.get(Cs);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(vs,Q,{self:!0}))}retrieve(t,n){let r=ht(n)||0;try{return this.get(t,pt,r)}catch(o){if(Jt(o))return o;throw o}}destroy(){Nn(this),this._destroyed=!0;let t=v(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(),v(t)}}onDestroy(t){return Nn(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Nn(this);let n=we(this),r=X(void 0),o;try{return t()}finally{we(n),X(r)}}get(t,n=pt,r){if(Nn(this),t.hasOwnProperty(xl))return t[xl](this);let o=ht(r),i,s=we(this),a=X(void 0);try{if(!(o&4)){let l=this.records.get(t);if(l===void 0){let u=Vg(t)&&Pn(t);u&&this.injectableDefInScope(u)?l=Xt(es(t),Yr):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l,o)}let c=o&2?tn():this.parent;return n=o&8&&n===pt?null:n,c.get(t,n)}catch(c){let l=wg(c);throw l===-200||l===-201?new M(l,null):c}finally{X(a),we(s)}}resolveInjectorInitializers(){let t=v(null),n=we(this),r=X(void 0),o;try{let i=this.get(Fn,Q,{self:!0});for(let s of i)s()}finally{we(n),X(r),v(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(Be(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=U(t);let n=gt(t)?t:U(t&&t.provide),r=Lg(t);if(!gt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Xt(void 0,Yr,!0),o.factory=()=>Xi(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=v(null);try{if(n.value===Al)throw hs(Be(t));return n.value===Yr&&(n.value=Al,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&jg(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{v(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=U(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 es(e){let t=Pn(e),n=t!==null?t.factory:Je(e);if(n!==null)return n;if(e instanceof k)throw new M(204,!1);if(e instanceof Function)return Pg(e);throw new M(204,!1)}function Pg(e){if(e.length>0)throw new M(204,!1);let n=Cg(e);return n!==null?()=>n.factory(e):()=>new e}function Lg(e){if(zl(e))return Xt(void 0,e.useValue);{let t=bs(e);return Xt(t,Yr)}}function bs(e,t,n){let r;if(gt(e)){let o=U(e);return Je(o)||es(o)}else if(zl(e))r=()=>U(e.useValue);else if(kg(e))r=()=>e.useFactory(...Xi(e.deps||[]));else if(Og(e))r=(o,i)=>_e(U(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=U(e&&(e.useClass||e.provide));if(Fg(e))r=()=>new o(...Xi(e.deps));else return Je(o)||es(o)}return r}function Nn(e){if(e.destroyed)throw new M(205,!1)}function Xt(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Fg(e){return!!e.deps}function jg(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Vg(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function ts(e,t){for(let n of e)Array.isArray(n)?ts(n,t):n&&cs(n)?ts(n.\u0275providers,t):t(n)}function po(e,t){let n;e instanceof mt?(Nn(e),n=e):n=new Ji(e);let r,o=we(n),i=X(void 0);try{return t()}finally{we(o),X(i)}}function Zl(){return Hl()!==void 0||Zr()!=null}var ae=0,m=1,E=2,q=3,ce=4,ee=5,vt=6,nn=7,j=8,We=9,Se=10,O=11,rn=12,Ts=13,It=14,te=15,tt=16,Et=17,xe=18,jn=19,ws=20,He=21,ho=22,Xe=23,oe=24,Dt=25,Ct=26,P=27,_s=1,Ms=6,nt=7,Vn=8,bt=9,F=10;function Ae(e){return Array.isArray(e)&&typeof e[_s]=="object"}function ve(e){return Array.isArray(e)&&e[_s]===!0}function Ns(e){return(e.flags&4)!==0}function rt(e){return e.componentOffset>-1}function on(e){return(e.flags&1)===1}function le(e){return!!e.template}function sn(e){return(e[E]&512)!==0}function Tt(e){return(e[E]&256)===256}var Ss="svg",Yl="math";function ue(e){for(;Array.isArray(e);)e=e[ae];return e}function xs(e){for(;Array.isArray(e);){if(typeof e[_s]=="object")return e;e=e[ae]}return null}function As(e,t){return ue(t[e])}function Ie(e,t){return ue(t[e.index])}function Hn(e,t){return e.data[t]}function go(e,t){return e[t]}function Rs(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function de(e,t){let n=t[e];return Ae(n)?n:n[ae]}function Kl(e){return(e[E]&4)===4}function mo(e){return(e[E]&128)===128}function Jl(e){return ve(e[q])}function fe(e,t){return t==null?null:e[t]}function Os(e){e[Et]=0}function ks(e){e[E]&1024||(e[E]|=1024,mo(e)&&wt(e))}function Xl(e,t){for(;e>0;)t=t[It],e--;return t}function Bn(e){return!!(e[E]&9216||e[oe]?.dirty)}function yo(e){e[Se].changeDetectionScheduler?.notify(8),e[E]&64&&(e[E]|=1024),Bn(e)&&wt(e)}function wt(e){e[Se].changeDetectionScheduler?.notify(0);let t=et(e);for(;t!==null&&!(t[E]&8192||(t[E]|=8192,!mo(t)));)t=et(t)}function Ps(e,t){if(Tt(e))throw new M(911,!1);e[He]===null&&(e[He]=[]),e[He].push(t)}function eu(e,t){if(e[He]===null)return;let n=e[He].indexOf(t);n!==-1&&e[He].splice(n,1)}function et(e){let t=e[q];return ve(t)?t[q]:t}function Ls(e){return e[nn]??=[]}function Fs(e){return e.cleanup??=[]}function tu(e,t,n,r){let o=Ls(t);o.push(n),e.firstCreatePass&&Fs(e).push(r,o.length-1)}var b={lFrame:pu(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var ns=!1;function nu(){return b.lFrame.elementDepthCount}function ru(){b.lFrame.elementDepthCount++}function js(){b.lFrame.elementDepthCount--}function vo(){return b.bindingsEnabled}function Vs(){return b.skipHydrationRootTNode!==null}function Hs(e){return b.skipHydrationRootTNode===e}function Bs(){b.skipHydrationRootTNode=null}function g(){return b.lFrame.lView}function L(){return b.lFrame.tView}function ou(e){return b.lFrame.contextLView=e,e[j]}function iu(e){return b.lFrame.contextLView=null,e}function B(){let e=$s();for(;e!==null&&e.type===64;)e=e.parent;return e}function $s(){return b.lFrame.currentTNode}function su(){let e=b.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function an(e,t){let n=b.lFrame;n.currentTNode=e,n.isParent=t}function Us(){return b.lFrame.isParent}function qs(){b.lFrame.isParent=!1}function au(){return b.lFrame.contextLView}function Ws(){return ns}function An(e){let t=ns;return ns=e,t}function Re(){let e=b.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function $n(){return b.lFrame.bindingIndex}function cu(e){return b.lFrame.bindingIndex=e}function Ge(){return b.lFrame.bindingIndex++}function _t(e){let t=b.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function lu(){return b.lFrame.inI18n}function uu(e,t){let n=b.lFrame;n.bindingIndex=n.bindingRootIndex=e,Io(t)}function du(){return b.lFrame.currentDirectiveIndex}function Io(e){b.lFrame.currentDirectiveIndex=e}function Gs(e){let t=b.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Eo(){return b.lFrame.currentQueryIndex}function Un(e){b.lFrame.currentQueryIndex=e}function Hg(e){let t=e[m];return t.type===2?t.declTNode:t.type===1?e[ee]:null}function zs(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=Hg(i),o===null||(i=i[It],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=b.lFrame=fu();return r.currentTNode=t,r.lView=e,!0}function Do(e){let t=fu(),n=e[m];b.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function fu(){let e=b.lFrame,t=e===null?null:e.child;return t===null?pu(e):t}function pu(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 hu(){let e=b.lFrame;return b.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Qs=hu;function Co(){let e=hu();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 gu(e){return(b.lFrame.contextLView=Xl(e,b.lFrame.contextLView))[j]}function ie(){return b.lFrame.selectedIndex}function ot(e){b.lFrame.selectedIndex=e}function cn(){let e=b.lFrame;return Hn(e.tView,e.selectedIndex)}function mu(){b.lFrame.currentNamespace=Ss}function yu(){Bg()}function Bg(){b.lFrame.currentNamespace=null}function vu(){return b.lFrame.currentNamespace}var Iu=!0;function bo(){return Iu}function qn(e){Iu=e}function rs(e,t=null,n=null,r){let o=Zs(e,t,n,r);return o.resolveInjectorInitializers(),o}function Zs(e,t=null,n=null,r,o=new Set){let i=[n||Q,Wl(e)];return r=r||(typeof e=="object"?void 0:Be(e)),new mt(i,t||tn(),r||null,o)}var me=class e{static THROW_IF_NOT_FOUND=pt;static NULL=new xn;static create(t,n){if(Array.isArray(t))return rs({name:""},n,t,"");{let r=t.name??"";return rs({name:r},t.parent,t.providers,r)}}static \u0275prov=G({token:e,providedIn:"any",factory:()=>_e(ys)});static __NG_ELEMENT_ID__=-1},Ys=new k(""),it=(()=>{class e{static __NG_ELEMENT_ID__=$g;static __NG_ENV_ID__=n=>n}return e})(),Xr=class extends it{_lView;constructor(t){super(),this._lView=t}get destroyed(){return Tt(this._lView)}onDestroy(t){let n=this._lView;return Ps(n,t),()=>eu(n,t)}};function $g(){return new Xr(g())}var Eu=!1,Mt=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new bn(!1);get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new _(n=>{n.next(!1),n.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.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.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=G({token:e,providedIn:"root",factory:()=>new e})}return e})(),os=class extends re{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Zl()&&(this.destroyRef=w(it,{optional:!0})??void 0,this.pendingTasks=w(Mt,{optional:!0})??void 0)}emit(t){let n=v(null);try{super.next(t)}finally{v(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 $&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},Ve=os;function eo(...e){}function Ks(e){let t,n;function r(){e=eo;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 Js(e){return queueMicrotask(()=>e()),()=>{e=eo}}var Xs="isAngularZone",Rn=Xs+"_ID",Ug=0,Me=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Ve(!1);onMicrotaskEmpty=new Ve(!1);onStable=new Ve(!1);onError=new Ve(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Eu}=t;if(typeof Zone>"u")throw new M(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,Gg(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Xs)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new M(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new M(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,qg,eo,eo);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)}},qg={};function ea(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 Wg(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Ks(()=>{e.callbackScheduled=!1,is(e),e.isCheckStableRunning=!0,ea(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),is(e)}function Gg(e){let t=()=>{Wg(e)},n=Ug++;e._inner=e._inner.fork({name:"angular",properties:{[Xs]:!0,[Rn]:n,[Rn+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(zg(c))return r.invokeTask(i,s,a,c);try{return Rl(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Ol(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return Rl(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Qg(c)&&t(),Ol(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,is(e),ea(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 is(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Rl(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Ol(e){e._nesting--,ea(e)}var On=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Ve;onMicrotaskEmpty=new Ve;onStable=new Ve;onError=new Ve;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 zg(e){return Du(e,"__ignore_ng_zone__")}function Qg(e){return Du(e,"__scheduler_tick__")}function Du(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var $e=class{_console=console;handleError(t){this._console.error("ERROR",t)}},Nt=new k("",{factory:()=>{let e=w(Me),t=w(se),n;return r=>{e.runOutsideAngular(()=>{t.destroyed&&!n?setTimeout(()=>{throw r}):(n??=t.get($e),n.handleError(r))})}}}),Cu={provide:Fn,useValue:()=>{let e=w($e,{optional:!0})},multi:!0};function To(e,t){let[n,r,o]=qi(e,t?.equal),i=n,s=i[W];return i.set=r,i.update=o,i.asReadonly=wo.bind(i),i}function wo(){let e=this[W];if(e.readonlyFn===void 0){let t=()=>this();t[W]=e,e.readonlyFn=t}return e.readonlyFn}var Wn=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=Zg}return e})();function Zg(){return new Wn(g(),B())}var Ue=class{},Gn=new k("",{factory:()=>!0});var ta=new k(""),na=(()=>{class e{internalPendingTasks=w(Mt);scheduler=w(Ue);errorHandler=w(Nt);add(){let n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(n))}}run(n){let r=this.add();n().catch(this.errorHandler).finally(r)}static \u0275prov=G({token:e,providedIn:"root",factory:()=>new e})}return e})(),_o=(()=>{class e{static \u0275prov=G({token:e,providedIn:"root",factory:()=>new ss})}return e})(),ss=class{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t)}schedule(t){t.dirty&&this.dirtyEffectCount++}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),t.dirty&&this.dirtyEffectCount--)}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)||r.add(t)}flush(){for(;this.dirtyEffectCount>0;){let t=!1;for(let[n,r]of this.queues)n===null?t||=this.flushQueue(r):t||=n.run(()=>this.flushQueue(r));t||(this.dirtyEffectCount=0)}}flushQueue(t){let n=!1;for(let r of t)r.dirty&&(this.dirtyEffectCount--,n=!0,r.run());return n}},to=class{[W];constructor(t){this[W]=t}destroy(){this[W].destroy()}};function bu(e,t){let n=t?.injector??w(me),r=t?.manualCleanup!==!0?n.get(it):null,o,i=n.get(Wn,null,{optional:!0}),s=n.get(Ue);return i!==null?(o=Jg(i.view,s,e),r instanceof Xr&&r._lView===i.view&&(r=null)):o=Xg(e,n.get(_o),s),o.injector=n,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new to(o)}var Tu=K(Y({},Gi),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let e=An(!1);try{zi(this)}finally{An(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=v(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],v(e)}}}),Yg=K(Y({},Tu),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(ft(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this)}}),Kg=K(Y({},Tu),{consumerMarkedDirty(){this.view[E]|=8192,wt(this.view),this.notifier.notify(13)},destroy(){if(ft(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.view[Xe]?.delete(this)}});function Jg(e,t,n){let r=Object.create(Kg);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=wu(r,n),e[Xe]??=new Set,e[Xe].add(r),r.consumerMarkedDirty(r),r}function Xg(e,t,n){let r=Object.create(Yg);return r.fn=wu(r,e),r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}function wu(e,t){return()=>{t(n=>(e.cleanupFns??=[]).push(n))}}function ra(e){return Wi(e)}function ar(e){return{toString:e}.toString()}function sm(e){return typeof e=="function"}function sd(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var Lo=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}},am=(()=>{let e=()=>ad;return e.ngInherit=!0,e})();function ad(e){return e.type.prototype.ngOnChanges&&(e.setInput=lm),cm}function cm(){let e=ld(this),t=e?.current;if(t){let n=e.previous;if(n===ye)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function lm(e,t,n,r,o){let i=this.declaredInputs[r],s=ld(e)||um(e,{previous:ye,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new Lo(l&&l.currentValue,n,c===ye),sd(e,t,o,n)}var cd="__ngSimpleChanges__";function ld(e){return e[cd]||null}function um(e,t){return e[cd]=t}var _u=[];var R=function(e,t=null,n){for(let r=0;r<_u.length;r++){let o=_u[r];o(e,t,n)}},x=(function(e){return e[e.TemplateCreateStart=0]="TemplateCreateStart",e[e.TemplateCreateEnd=1]="TemplateCreateEnd",e[e.TemplateUpdateStart=2]="TemplateUpdateStart",e[e.TemplateUpdateEnd=3]="TemplateUpdateEnd",e[e.LifecycleHookStart=4]="LifecycleHookStart",e[e.LifecycleHookEnd=5]="LifecycleHookEnd",e[e.OutputStart=6]="OutputStart",e[e.OutputEnd=7]="OutputEnd",e[e.BootstrapApplicationStart=8]="BootstrapApplicationStart",e[e.BootstrapApplicationEnd=9]="BootstrapApplicationEnd",e[e.BootstrapComponentStart=10]="BootstrapComponentStart",e[e.BootstrapComponentEnd=11]="BootstrapComponentEnd",e[e.ChangeDetectionStart=12]="ChangeDetectionStart",e[e.ChangeDetectionEnd=13]="ChangeDetectionEnd",e[e.ChangeDetectionSyncStart=14]="ChangeDetectionSyncStart",e[e.ChangeDetectionSyncEnd=15]="ChangeDetectionSyncEnd",e[e.AfterRenderHooksStart=16]="AfterRenderHooksStart",e[e.AfterRenderHooksEnd=17]="AfterRenderHooksEnd",e[e.ComponentStart=18]="ComponentStart",e[e.ComponentEnd=19]="ComponentEnd",e[e.DeferBlockStateStart=20]="DeferBlockStateStart",e[e.DeferBlockStateEnd=21]="DeferBlockStateEnd",e[e.DynamicComponentStart=22]="DynamicComponentStart",e[e.DynamicComponentEnd=23]="DynamicComponentEnd",e[e.HostBindingsUpdateStart=24]="HostBindingsUpdateStart",e[e.HostBindingsUpdateEnd=25]="HostBindingsUpdateEnd",e})(x||{});function dm(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=ad(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 ud(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 Ao(e,t,n){dd(e,t,3,n)}function Ro(e,t,n,r){(e[E]&3)===n&&dd(e,t,n,r)}function oa(e,t){let n=e[E];(n&3)===t&&(n&=16383,n+=1,e[E]=n)}function dd(e,t,n,r){let o=r!==void 0?e[Et]&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[Et]+=65536),(a<i||i==-1)&&(fm(e,n,t,c),e[Et]=(e[Et]&4294901760)+c+2),c++}function Mu(e,t){R(x.LifecycleHookStart,e,t);let n=v(null);try{t.call(e)}finally{v(n),R(x.LifecycleHookEnd,e,t)}}function fm(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[E]>>14<e[Et]>>16&&(e[E]&3)===t&&(e[E]+=16384,Mu(a,i)):Mu(a,i)}var un=-1,xt=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r,o){this.factory=t,this.name=o,this.canSeeViewProviders=n,this.injectImpl=r}};function pm(e){return(e.flags&8)!==0}function hm(e){return(e.flags&16)!==0}function gm(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];mm(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function fd(e){return e===3||e===4||e===6}function mm(e){return e.charCodeAt(0)===64}function dn(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){let o=t[r];typeof o=="number"?n=o:n===0||(n===-1||n===2?Nu(e,n,o,null,t[++r]):Nu(e,n,o,null,null))}}return e}function Nu(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){o!==null&&(e[i+1]=o);return}i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),o!==null&&e.splice(i++,0,o)}function pd(e){return e!==un}function Fo(e){return e&32767}function ym(e){return e>>16}function jo(e,t){let n=ym(e),r=t;for(;n>0;)r=r[It],n--;return r}var ha=!0;function Vo(e){let t=ha;return ha=e,t}var vm=256,hd=vm-1,gd=5,Im=0,Oe={};function Em(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(yt)&&(r=n[yt]),r==null&&(r=n[yt]=Im++);let o=r&hd,i=1<<o;t.data[e+(o>>gd)]|=i}function Ho(e,t){let n=md(e,t);if(n!==-1)return n;let r=t[m];r.firstCreatePass&&(e.injectorIndex=t.length,ia(r.data,e),ia(t,null),ia(r.blueprint,null));let o=Ya(e,t),i=e.injectorIndex;if(pd(o)){let s=Fo(o),a=jo(o,t),c=a[m].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function ia(e,t){e.push(0,0,0,0,0,0,0,0,t)}function md(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Ya(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=Dd(o),r===null)return un;if(n++,o=o[It],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return un}function ga(e,t,n){Em(e,t,n)}function Dm(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(fd(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 yd(e,t,n){if(n&8||e!==void 0)return e;co(t,"NodeInjector")}function vd(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[We],i=X(void 0);try{return o?o.get(t,r,n&8):gs(t,r,n&8)}finally{X(i)}}return yd(r,t,n)}function Id(e,t,n,r=0,o){if(e!==null){if(t[E]&2048&&!(r&2)){let s=_m(e,t,n,r,Oe);if(s!==Oe)return s}let i=Ed(e,t,n,r,Oe);if(i!==Oe)return i}return vd(t,n,r,o)}function Ed(e,t,n,r,o){let i=bm(n);if(typeof i=="function"){if(!zs(t,e,r))return r&1?yd(o,n,r):vd(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))co(n);else return s}finally{Qs()}}else if(typeof i=="number"){let s=null,a=md(e,t),c=un,l=r&1?t[te][ee]:null;for((a===-1||r&4)&&(c=a===-1?Ya(e,t):t[a+8],c===un||!xu(r,!1)?a=-1:(s=t[m],a=Fo(c),t=jo(c,t)));a!==-1;){let u=t[m];if(Su(i,a,u.data)){let d=Cm(a,t,n,s,r,l);if(d!==Oe)return d}c=t[a+8],c!==un&&xu(r,t[m].data[a+8]===l)&&Su(i,a,t)?(s=u,a=Fo(c),t=jo(c,t)):a=-1}}return o}function Cm(e,t,n,r,o,i){let s=t[m],a=s.data[e+8],c=r==null?rt(a)&&ha:r!=s&&(a.type&3)!==0,l=o&1&&i===a,u=Oo(a,s,n,c,l);return u!==null?Kn(t,s,u,a,o):Oe}function Oo(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&&le(f)&&f.type===n)return c}return null}function Kn(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof xt){let a=i;if(a.resolving){let f=Fl(s[n]);throw hs(f)}let c=Vo(a.canSeeViewProviders);a.resolving=!0;let l=s[n].type||s[n],u,d=a.injectImpl?X(a.injectImpl):null,p=zs(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&dm(n,s[n],t)}finally{d!==null&&X(d),Vo(c),a.resolving=!1,Qs()}}return i}function bm(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(yt)?e[yt]:void 0;return typeof t=="number"?t>=0?t&hd:Tm:t}function Su(e,t,n){let r=1<<e;return!!(n[t+(e>>gd)]&r)}function xu(e,t){return!(e&2)&&!(e&1&&t)}var St=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Id(this._tNode,this._lView,t,ht(r),n)}};function Tm(){return new St(B(),g())}function wm(e){return ar(()=>{let t=e.prototype.constructor,n=t[Sn]||ma(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Sn]||ma(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function ma(e){return as(e)?()=>{let t=ma(U(e));return t&&t()}:Je(e)}function _m(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[E]&2048&&!sn(s);){let a=Ed(i,s,n,r|2,Oe);if(a!==Oe)return a;let c=i.parent;if(!c){let l=s[ws];if(l){let u=l.get(n,Oe,r);if(u!==Oe)return u}c=Dd(s),s=s[It]}i=c}return o}function Dd(e){let t=e[m],n=t.type;return n===2?t.declTNode:n===1?e[ee]:null}function Cd(e){return Dm(B(),e)}function Mm(){return mn(B(),g())}function mn(e,t){return new cr(Ie(e,t))}var cr=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=Mm}return e})();function bd(e){return e instanceof cr?e.nativeElement:e}function Nm(){return this._results[Symbol.iterator]()}var Bo=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 re}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=$l(t);(this._changesDetected=!Bl(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]=Nm};function Td(e){return(e.flags&128)===128}var Ka=(function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e})(Ka||{}),wd=new Map,Sm=0;function xm(){return Sm++}function Am(e){wd.set(e[jn],e)}function ya(e){wd.delete(e[jn])}var Au="__ngContext__";function fn(e,t){Ae(t)?(e[Au]=t[jn],Am(t)):e[Au]=t}function _d(e){return Nd(e[rn])}function Md(e){return Nd(e[ce])}function Nd(e){for(;e!==null&&!ve(e);)e=e[ce];return e}var va;function Rm(e){va=e}function Sd(){if(va!==void 0)return va;if(typeof document<"u")return document;throw new M(210,!1)}var Om=new k("",{factory:()=>km}),km="ng";var xd=new k(""),Pm=new k("",{providedIn:"platform",factory:()=>"unknown"}),Lm=new k(""),Fm=new k("",{factory:()=>w(Ys).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),Ad={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},jm=new k("",{factory:()=>Ad});var Rd="r";var Od="di";var kd=!1,Pd=new k("",{factory:()=>kd});var Vm=(e,t,n,r)=>{};function Hm(e,t,n,r){Vm(e,t,n,r)}function ri(e){return(e.flags&32)===32}var Bm=()=>null;function Ld(e,t,n=!1){return Bm(e,t,n)}function Fd(e,t){let n=e.contentQueries;if(n!==null){let r=v(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];Un(i),a.contentQueries(2,t[s],s)}}}finally{v(r)}}}function Ia(e,t,n){Un(0);let r=v(null);try{t(e,n)}finally{v(r)}}function Ja(e,t,n){if(Ns(t)){let r=v(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{v(r)}}}var At=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e})(At||{});var Mo;function jd(){if(Mo===void 0&&(Mo=null,Ne.trustedTypes))try{Mo=Ne.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Mo}function oi(e){return jd()?.createHTML(e)||e}function $m(e){return jd()?.createScriptURL(e)||e}var No;function Vd(){if(No===void 0&&(No=null,Ne.trustedTypes))try{No=Ne.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return No}function Ru(e){return Vd()?.createHTML(e)||e}function Ou(e){return Vd()?.createScriptURL(e)||e}var ze=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${no})`}},Ea=class extends ze{getTypeName(){return"HTML"}},Da=class extends ze{getTypeName(){return"Style"}},Ca=class extends ze{getTypeName(){return"Script"}},ba=class extends ze{getTypeName(){return"URL"}},Ta=class extends ze{getTypeName(){return"ResourceURL"}};function yn(e){return e instanceof ze?e.changingThisBreaksApplicationSecurity:e}function ii(e,t){let n=Hd(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${no})`)}return n===t}function Hd(e){return e instanceof ze&&e.getTypeName()||null}function Um(e){return new Ea(e)}function qm(e){return new Da(e)}function Wm(e){return new Ca(e)}function Gm(e){return new ba(e)}function zm(e){return new Ta(e)}function Qm(e){let t=new _a(e);return Zm()?new wa(t):t}var wa=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(oi(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},_a=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=oi(t),n}};function Zm(){try{return!!new window.DOMParser().parseFromString(oi(""),"text/html")}catch{return!1}}var Ym=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Xa(e){return e=String(e),e.match(Ym)?e:"unsafe:"+e}function Qe(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function lr(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var Bd=Qe("area,br,col,hr,img,wbr"),$d=Qe("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ud=Qe("rp,rt"),Km=lr(Ud,$d),Jm=lr($d,Qe("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")),Xm=lr(Ud,Qe("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")),ku=lr(Bd,Jm,Xm,Km),qd=Qe("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),ey=Qe("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"),ty=Qe("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"),ny=lr(qd,ey,ty),ry=Qe("script,style,template"),Ma=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=sy(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=iy(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=Pu(t).toLowerCase();if(!ku.hasOwnProperty(n))return this.sanitizedSomething=!0,!ry.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(!ny.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;qd[a]&&(c=Xa(c)),this.buf.push(" ",s,'="',Lu(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=Pu(t).toLowerCase();ku.hasOwnProperty(n)&&!Bd.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Lu(t))}};function oy(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function iy(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Wd(t);return t}function sy(e){let t=e.firstChild;if(t&&oy(e,t))throw Wd(t);return t}function Pu(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Wd(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var ay=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,cy=/([^\#-~ |!])/g;function Lu(e){return e.replace(/&/g,"&amp;").replace(ay,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(cy,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var So;function Gd(e,t){let n=null;try{So=So||Qm(e);let r=t?String(t):"";n=So.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=So.getInertBodyElement(r)}while(r!==i);let a=new Ma().sanitizeChildren(Fu(n)||n);return oi(a)}finally{if(n){let r=Fu(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function Fu(e){return"content"in e&&ly(e)?e.content:null}function ly(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var uy=/^>|^->|<!--|-->|--!>|<!-$/g,dy=/(<|>)/g,fy="\u200B$1\u200B";function py(e){return e.replace(uy,t=>t.replace(dy,fy))}function hy(e,t){return e.createText(t)}function gy(e,t,n){e.setValue(t,n)}function my(e,t){return e.createComment(py(t))}function zd(e,t,n){return e.createElement(t,n)}function $o(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Qd(e,t,n){e.appendChild(t,n)}function ju(e,t,n,r,o){r!==null?$o(e,t,n,r,o):Qd(e,t,n)}function Zd(e,t,n,r){e.removeChild(null,t,n,r)}function yy(e,t,n){e.setAttribute(t,"style",n)}function vy(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Yd(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&gm(e,t,r),o!==null&&vy(e,t,o),i!==null&&yy(e,t,i)}var ur=(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})(ur||{});function Iy(e){let t=ec();return t?Ru(t.sanitize(ur.HTML,e)||""):ii(e,"HTML")?Ru(yn(e)):Gd(Sd(),H(e))}function Kd(e){let t=ec();return t?t.sanitize(ur.URL,e)||"":ii(e,"URL")?yn(e):Xa(H(e))}function Jd(e){let t=ec();if(t)return Ou(t.sanitize(ur.RESOURCE_URL,e)||"");if(ii(e,"ResourceURL"))return Ou(yn(e));throw new M(904,!1)}function Ey(e){return $m(e[0])}function Dy(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?Jd:Kd}function Cy(e,t,n){return Dy(t,n)(e)}function ec(){let e=g();return e&&e[Se].sanitizer}function by(e){return e.ownerDocument.defaultView}function Xd(e){return e instanceof Function?e():e}function Ty(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 ef="ng-template";function wy(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&Ty(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(tc(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 tc(e){return e.type===4&&e.value!==ef}function _y(e,t,n){let r=e.type===4&&!n?ef:e.value;return t===r}function My(e,t,n){let r=4,o=e.attrs,i=o!==null?xy(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!Ee(r)&&!Ee(c))return!1;if(s&&Ee(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!_y(e,c,n)||c===""&&t.length===1){if(Ee(r))return!1;s=!0}}else if(r&8){if(o===null||!wy(e,o,c,n)){if(Ee(r))return!1;s=!0}}else{let l=t[++a],u=Ny(c,o,tc(e),n);if(u===-1){if(Ee(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(Ee(r))return!1;s=!0}}}}return Ee(r)||s}function Ee(e){return(e&1)===0}function Ny(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 Ay(t,e)}function tf(e,t,n=!1){for(let r=0;r<t.length;r++)if(My(e,t[r],n))return!0;return!1}function Sy(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function xy(e){for(let t=0;t<e.length;t++){let n=e[t];if(fd(n))return t}return e.length}function Ay(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 Ry(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 Vu(e,t){return e?":not("+t.trim()+")":t}function Oy(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!==""&&!Ee(s)&&(t+=Vu(i,o),o=""),r=s,i=i||!Ee(r);n++}return o!==""&&(t+=Vu(i,o)),t}function ky(e){return e.map(Oy).join(",")}function Py(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(!Ee(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var V={};function nc(e,t,n,r,o,i,s,a,c,l,u){let d=P+r,p=d+o,f=Ly(d,p),h=typeof l=="function"?l():l;return f[m]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:h,incompleteFirstPass:!1,ssrId:u}}function Ly(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:V);return n}function Fy(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=nc(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function rc(e,t,n,r,o,i,s,a,c,l,u){let d=t.blueprint.slice();return d[ae]=o,d[E]=r|4|128|8|64|1024,(l!==null||e&&e[E]&2048)&&(d[E]|=2048),Os(d),d[q]=d[It]=e,d[j]=n,d[Se]=s||e&&e[Se],d[O]=a||e&&e[O],d[We]=c||e&&e[We]||null,d[ee]=i,d[jn]=xm(),d[vt]=u,d[ws]=l,d[te]=t.type==2?e[te]:d,d}function jy(e,t,n){let r=Ie(t,e),o=Fy(n),i=e[Se].rendererFactory,s=oc(e,rc(e,o,null,nf(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function nf(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function rf(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 oc(e,t){return e[rn]?e[Ts][ce]=t:e[rn]=t,e[Ts]=t,t}function Vy(e=1){of(L(),g(),ie()+e,!1)}function of(e,t,n,r){if(!r)if((t[E]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Ao(t,i,n)}else{let i=e.preOrderHooks;i!==null&&Ro(t,i,0,n)}ot(n)}var si=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(si||{});function Na(e,t,n,r){let o=v(null);try{let[i,s,a]=e.inputs[n],c=null;(s&si.SignalBased)!==0&&(c=t[i][W]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(t,r)),e.setInput!==null?e.setInput(t,c,r,n,i):sd(t,c,i,r)}finally{v(o)}}var Uo=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(Uo||{}),Hy;function ic(e,t){return Hy(e,t)}var Jn=new Set,ai=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(ai||{}),dr=new k(""),Hu=new Set;function Ze(e){Hu.has(e)||(Hu.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var sc=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=G({token:e,providedIn:"root",factory:()=>new e})}return e})(),sf=[0,1,2,3],af=(()=>{class e{ngZone=w(Me);scheduler=w(Ue);errorHandler=w($e,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){w(dr,{optional:!0})}execute(){let n=this.sequences.size>0;n&&R(x.AfterRenderHooksStart),this.executing=!0;for(let r of sf)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[r]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let i=o.hooks[r];return i(o.pipelinedValue)},o.snapshot))}catch(i){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),n&&R(x.AfterRenderHooksEnd)}register(n){let{view:r}=n;r!==void 0?((r[Dt]??=[]).push(n),wt(r),r[E]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(ai.AFTER_NEXT_RENDER,n):n()}static \u0275prov=G({token:e,providedIn:"root",factory:()=>new e})}return e})(),qo=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o,i,s=null){this.impl=t,this.hooks=n,this.view=r,this.once=o,this.snapshot=s,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let t=this.view?.[Dt];t&&(this.view[Dt]=t.filter(n=>n!==this))}};function By(e,t){let n=t?.injector??w(me);return Ze("NgAfterRender"),cf(e,n,t,!1)}function $y(e,t){let n=t?.injector??w(me);return Ze("NgAfterNextRender"),cf(e,n,t,!0)}function Uy(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function cf(e,t,n,r){let o=t.get(sc);o.impl??=t.get(af);let i=t.get(dr,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(it):null,a=t.get(Wn,null,{optional:!0}),c=new qo(o.impl,Uy(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var lf=new k("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:w(se)})});function uf(e,t,n){let r=e.get(lf);if(Array.isArray(t))for(let o of t)r.queue.add(o),n?.detachedLeaveAnimationFns?.push(o);else r.queue.add(t),n?.detachedLeaveAnimationFns?.push(t);r.scheduler&&r.scheduler(e)}function qy(e,t){let n=e.get(lf);if(t.detachedLeaveAnimationFns){for(let r of t.detachedLeaveAnimationFns)n.queue.delete(r);t.detachedLeaveAnimationFns=void 0}}function Wy(e,t){for(let[n,r]of t)uf(e,r.animateFns)}function Bu(e,t,n,r){let o=e?.[Ct]?.enter;t!==null&&o&&o.has(n.index)&&Wy(r,o)}function ln(e,t,n,r,o,i,s,a){if(o!=null){let c,l=!1;ve(o)?c=o:Ae(o)&&(l=!0,o=o[ae]);let u=ue(o);e===0&&r!==null?(Bu(a,r,i,n),s==null?Qd(t,r,u):$o(t,r,u,s||null,!0)):e===1&&r!==null?(Bu(a,r,i,n),$o(t,r,u,s||null,!0)):e===2?$u(a,i,n,d=>{Zd(t,u,l,d)}):e===3&&$u(a,i,n,()=>{t.destroyNode(u)}),c!=null&&nv(t,e,n,c,i,r,s)}}function Gy(e,t){df(e,t),t[ae]=null,t[ee]=null}function zy(e,t,n,r,o,i){r[ae]=o,r[ee]=t,li(e,r,n,1,o,i)}function df(e,t){t[Se].changeDetectionScheduler?.notify(9),li(e,t,t[O],2,null,null)}function Qy(e){let t=e[rn];if(!t)return sa(e[m],e);for(;t;){let n=null;if(Ae(t))n=t[rn];else{let r=t[F];r&&(n=r)}if(!n){for(;t&&!t[ce]&&t!==e;)Ae(t)&&sa(t[m],t),t=t[q];t===null&&(t=e),Ae(t)&&sa(t[m],t),n=t&&t[ce]}t=n}}function ac(e,t){let n=e[bt],r=n.indexOf(t);n.splice(r,1)}function ci(e,t){if(Tt(t))return;let n=t[O];n.destroyNode&&li(e,t,n,3,null,null),Qy(t)}function sa(e,t){if(Tt(t))return;let n=v(null);try{t[E]&=-129,t[E]|=256,t[oe]&&ft(t[oe]),Ky(e,t),Yy(e,t),t[m].type===1&&t[O].destroy();let r=t[tt];if(r!==null&&ve(t[q])){r!==t[q]&&ac(r,t);let o=t[xe];o!==null&&o.detachView(e)}ya(t)}finally{v(n)}}function $u(e,t,n,r){let o=e?.[Ct];if(o==null||o.leave==null||!o.leave.has(t.index))return r(!1);e&&Jn.add(e),uf(n,()=>{if(o.leave&&o.leave.has(t.index)){let s=o.leave.get(t.index),a=[];if(s){for(let c=0;c<s.animateFns.length;c++){let l=s.animateFns[c],{promise:u}=l();a.push(u)}o.detachedLeaveAnimationFns=void 0}o.running=Promise.allSettled(a),Zy(e,r)}else e&&Jn.delete(e),r(!1)},o)}function Zy(e,t){let n=e[Ct]?.running;if(n){n.then(()=>{e[Ct].running=void 0,Jn.delete(e),t(!0)});return}t(!1)}function Yy(e,t){let n=e.cleanup,r=t[nn];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[nn]=null);let o=t[He];if(o!==null){t[He]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[Xe];if(i!==null){t[Xe]=null;for(let s of i)s.destroy()}}function Ky(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 xt)){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];R(x.LifecycleHookStart,a,c);try{c.call(a)}finally{R(x.LifecycleHookEnd,a,c)}}else{R(x.LifecycleHookStart,o,i);try{i.call(o)}finally{R(x.LifecycleHookEnd,o,i)}}}}}function ff(e,t,n){return Jy(e,t.parent,n)}function Jy(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[ae];if(rt(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===At.None||o===At.Emulated)return null}return Ie(r,n)}function pf(e,t,n){return ev(e,t,n)}function Xy(e,t,n){return e.type&40?Ie(e,n):null}var ev=Xy,Uu;function cc(e,t,n,r){let o=ff(e,r,t),i=t[O],s=r.parent||t[ee],a=pf(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)ju(i,o,n[c],a,!1);else ju(i,o,n,a,!1);Uu!==void 0&&Uu(i,r,t,n,o)}function Qn(e,t){if(t!==null){let n=t.type;if(n&3)return Ie(t,e);if(n&4)return Sa(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return Qn(e,r);{let o=e[t.index];return ve(o)?Sa(-1,o):ue(o)}}else{if(n&128)return Qn(e,t.next);if(n&32)return ic(t,e)()||ue(e[t.index]);{let r=hf(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=et(e[te]);return Qn(o,r)}else return Qn(e,t.next)}}}return null}function hf(e,t){if(t!==null){let r=e[te][ee],o=t.projection;return r.projection[o]}return null}function Sa(e,t){let n=F+e+1;if(n<t.length){let r=t[n],o=r[m].firstChild;if(o!==null)return Qn(r,o)}return t[nt]}function lc(e,t,n,r,o,i,s){for(;n!=null;){let a=r[We];if(n.type===128){n=n.next;continue}let c=r[n.index],l=n.type;if(s&&t===0&&(c&&fn(ue(c),r),n.flags|=2),!ri(n))if(l&8)lc(e,t,n.child,r,o,i,!1),ln(t,e,a,o,c,n,i,r);else if(l&32){let u=ic(n,r),d;for(;d=u();)ln(t,e,a,o,d,n,i,r);ln(t,e,a,o,c,n,i,r)}else l&16?gf(e,t,r,n,o,i):ln(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next}}function li(e,t,n,r,o,i){lc(n,r,e.firstChild,t,o,i,!1)}function tv(e,t,n){let r=t[O],o=ff(e,n,t),i=n.parent||t[ee],s=pf(i,n,t);gf(r,0,t,n,o,s)}function gf(e,t,n,r,o,i){let s=n[te],c=s[ee].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];ln(t,e,n[We],o,u,r,i,n)}else{let l=c,u=s[q];Td(r)&&(l.flags|=128),lc(e,t,l,u,o,i,!0)}}function nv(e,t,n,r,o,i,s){let a=r[nt],c=ue(r);a!==c&&ln(t,e,n,i,a,o,s);for(let l=F;l<r.length;l++){let u=r[l];li(u[m],u,e,t,i,a)}}function rv(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:Uo.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Uo.Important),e.setStyle(n,r,o,i))}}function mf(e,t,n,r,o){let i=ie(),s=r&2;try{ot(-1),s&&t.length>P&&of(e,t,P,!1);let a=s?x.TemplateUpdateStart:x.TemplateCreateStart;R(a,o,n),n(r,o)}finally{ot(i);let a=s?x.TemplateUpdateEnd:x.TemplateCreateEnd;R(a,o,n)}}function ui(e,t,n){lv(e,t,n),(n.flags&64)===64&&uv(e,t,n)}function vn(e,t,n=Ie){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 ov(e,t,n,r){let i=r.get(Pd,kd)||n===At.ShadowDom||n===At.ExperimentalIsolatedShadowDom,s=e.selectRootElement(t,i);return iv(s),s}function iv(e){sv(e)}var sv=()=>null;function av(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function yf(e,t,n,r,o,i){let s=t[m];if(fc(e,s,t,n,r)){rt(e)&&cv(t,e.index);return}e.type&3&&(n=av(n)),uc(e,t,n,r,o,i)}function uc(e,t,n,r,o,i){if(e.type&3){let s=Ie(e,t);r=i!=null?i(r,e.value||"",n):r,o.setProperty(s,n,r)}else e.type&12}function cv(e,t){let n=de(t,e);n[E]&16||(n[E]|=64)}function lv(e,t,n){let r=n.directiveStart,o=n.directiveEnd;rt(n)&&jy(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||Ho(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=Kn(t,e,s,n);if(fn(c,t),i!==null&&hv(t,s-r,c,a,n,i),le(a)){let l=de(n.index,t);l[j]=Kn(t,e,s,n)}}}function uv(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=du();try{ot(i);for(let a=r;a<o;a++){let c=e.data[a],l=t[a];Io(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&dv(c,l)}}finally{ot(-1),Io(s)}}function dv(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function dc(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];tf(t,i.selectors,!1)&&(r??=[],le(i)?r.unshift(i):r.push(i))}return r}function fv(e,t,n,r,o,i){let s=Ie(e,t);pv(t[O],s,i,e.value,n,r,o)}function pv(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?H(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function hv(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],l=s[a+1];Na(r,n,c,l)}}function di(e,t,n,r,o){let i=P+n,s=t[m],a=o(s,t,e,r,n);t[i]=a,an(e,!0);let c=e.type===2;return c?(Yd(t[O],a,e),(nu()===0||on(e))&&fn(a,t),ru()):fn(a,t),bo()&&(!c||!ri(e))&&cc(s,t,a,e),e}function fi(e){let t=e;return Us()?qs():(t=t.parent,an(t,!1)),t}function gv(e,t,n){return(e===null||le(e))&&(n=xs(n[t.index])),n[O]}function mv(e,t){let n=e[We];if(!n)return;let r;try{r=n.get(Nt,null)}catch{r=null}r?.(t)}function fc(e,t,n,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let c=0;c<s.length;c+=2){let l=s[c],u=s[c+1],d=t.data[l];Na(d,n[l],u,o),a=!0}if(i)for(let c of i){let l=n[c],u=t.data[c];Na(u,l,r,o),a=!0}return a}function yv(e,t){let n=de(t,e),r=n[m];vv(r,n);let o=n[ae];o!==null&&n[vt]===null&&(n[vt]=Ld(o,n[We])),R(x.ComponentStart);try{pc(r,n,n[j])}finally{R(x.ComponentEnd,n[j])}}function vv(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function pc(e,t,n){Do(t);try{let r=e.viewQuery;r!==null&&Ia(1,r,n);let o=e.template;o!==null&&mf(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[xe]?.finishViewCreation(e),e.staticContentQueries&&Fd(e,t),e.staticViewQueries&&Ia(2,e.viewQuery,n);let i=e.components;i!==null&&Iv(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[E]&=-5,Co()}}function Iv(e,t){for(let n=0;n<t.length;n++)yv(e,t[n])}function fr(e,t,n,r){let o=v(null);try{let i=t.tView,a=e[E]&4096?4096:16,c=rc(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[t.index];c[tt]=l;let u=e[xe];return u!==null&&(c[xe]=u.createEmbeddedView(i)),pc(i,c,n),c}finally{v(o)}}function pn(e,t){return!t||t.firstChild===null||Td(e)}function Xn(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(ue(i)),ve(i)&&vf(i,r);let s=n.type;if(s&8)Xn(e,t,n.child,r);else if(s&32){let a=ic(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=hf(t,n);if(Array.isArray(a))r.push(...a);else{let c=et(t[te]);Xn(c[m],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function vf(e,t){for(let n=F;n<e.length;n++){let r=e[n],o=r[m].firstChild;o!==null&&Xn(r[m],r,o,t)}e[nt]!==e[ae]&&t.push(e[nt])}function If(e){if(e[Dt]!==null){for(let t of e[Dt])t.impl.addSequence(t);e[Dt].length=0}}var Ef=[];function Ev(e){return e[oe]??Dv(e)}function Dv(e){let t=Ef.pop()??Object.create(bv);return t.lView=e,t}function Cv(e){e.lView[oe]!==e&&(e.lView=null,Ef.push(e))}var bv=K(Y({},zt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{wt(e.lView)},consumerOnSignalRead(){this.lView[oe]=this}});function Tv(e){let t=e[oe]??Object.create(wv);return t.lView=e,t}var wv=K(Y({},zt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=et(e.lView);for(;t&&!Df(t[m]);)t=et(t);t&&ks(t)},consumerOnSignalRead(){this.lView[oe]=this}});function Df(e){return e.type!==2}function Cf(e){if(e[Xe]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[Xe])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[E]&8192)}}var _v=100;function bf(e,t=0){let r=e[Se].rendererFactory,o=!1;o||r.begin?.();try{Mv(e,t)}finally{o||r.end?.()}}function Mv(e,t){let n=Ws();try{An(!0),xa(e,t);let r=0;for(;Bn(e);){if(r===_v)throw new M(103,!1);r++,xa(e,1)}}finally{An(n)}}function Nv(e,t,n,r){if(Tt(t))return;let o=t[E],i=!1,s=!1;Do(t);let a=!0,c=null,l=null;i||(Df(e)?(l=Ev(t),c=Zt(l)):zr()===null?(a=!1,l=Tv(t),c=Zt(l)):t[oe]&&(ft(t[oe]),t[oe]=null));try{Os(t),cu(e.bindingStartIndex),n!==null&&mf(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let f=e.preOrderCheckHooks;f!==null&&Ao(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Ro(t,f,0,null),oa(t,0)}if(s||Sv(t),Cf(t),Tf(t,0),e.contentQueries!==null&&Fd(e,t),!i)if(u){let f=e.contentCheckHooks;f!==null&&Ao(t,f)}else{let f=e.contentHooks;f!==null&&Ro(t,f,1),oa(t,1)}Av(e,t);let d=e.components;d!==null&&_f(t,d,0);let p=e.viewQuery;if(p!==null&&Ia(2,p,r),!i)if(u){let f=e.viewCheckHooks;f!==null&&Ao(t,f)}else{let f=e.viewHooks;f!==null&&Ro(t,f,2),oa(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[ho]){for(let f of t[ho])f();t[ho]=null}i||(If(t),t[E]&=-73)}catch(u){throw i||wt(t),u}finally{l!==null&&(wn(l,c),a&&Cv(l)),Co()}}function Tf(e,t){for(let n=_d(e);n!==null;n=Md(n))for(let r=F;r<n.length;r++){let o=n[r];wf(o,t)}}function Sv(e){for(let t=_d(e);t!==null;t=Md(t)){if(!(t[E]&2))continue;let n=t[bt];for(let r=0;r<n.length;r++){let o=n[r];ks(o)}}}function xv(e,t,n){R(x.ComponentStart);let r=de(t,e);try{wf(r,n)}finally{R(x.ComponentEnd,r[j])}}function wf(e,t){mo(e)&&xa(e,t)}function xa(e,t){let r=e[m],o=e[E],i=e[oe],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&_n(i)),s||=!1,i&&(i.dirty=!1),e[E]&=-9217,s)Nv(r,e,r.template,e[j]);else if(o&8192){let a=v(null);try{Cf(e),Tf(e,1);let c=r.components;c!==null&&_f(e,c,1),If(e)}finally{v(a)}}}function _f(e,t,n){for(let r=0;r<t.length;r++)xv(e,t[r],n)}function Av(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)ot(~o);else{let i=o,s=n[++r],a=n[++r];uu(s,i);let c=t[i];R(x.HostBindingsUpdateStart,c);try{a(2,c)}finally{R(x.HostBindingsUpdateEnd,c)}}}}finally{ot(-1)}}function hc(e,t){let n=Ws()?64:1088;for(e[Se].changeDetectionScheduler?.notify(t);e;){e[E]|=n;let r=et(e);if(sn(e)&&!r)return e;e=r}return null}function Mf(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Nf(e,t){let n=F+t;if(n<e.length)return e[n]}function pr(e,t,n,r=!0){let o=t[m];if(Rv(o,t,e,n),r){let s=Sa(n,e),a=t[O],c=a.parentNode(e[nt]);c!==null&&zy(o,e[ee],a,t,c,s)}let i=t[vt];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Sf(e,t){let n=er(e,t);return n!==void 0&&ci(n[m],n),n}function er(e,t){if(e.length<=F)return;let n=F+t,r=e[n];if(r){let o=r[tt];o!==null&&o!==e&&ac(o,r),t>0&&(e[n-1][ce]=r[ce]);let i=Ln(e,F+t);Gy(r[m],r);let s=i[xe];s!==null&&s.detachView(i[m]),r[q]=null,r[ce]=null,r[E]&=-129}return r}function Rv(e,t,n,r){let o=F+r,i=n.length;r>0&&(n[o-1][ce]=t),r<i-F?(t[ce]=n[o],ms(n,F+r,t)):(n.push(t),t[ce]=null),t[q]=n;let s=t[tt];s!==null&&n!==s&&xf(s,t);let a=t[xe];a!==null&&a.insertView(e),yo(t),t[E]|=128}function xf(e,t){let n=e[bt],r=t[q];if(Ae(r))e[E]|=2;else{let o=r[q][te];t[te]!==o&&(e[E]|=2)}n===null?e[bt]=[t]:n.push(t)}var st=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[m];return Xn(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[j]}set context(t){this._lView[j]=t}get destroyed(){return Tt(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[q];if(ve(t)){let n=t[Vn],r=n?n.indexOf(this):-1;r>-1&&(er(t,r),Ln(n,r))}this._attachedToViewContainer=!1}ci(this._lView[m],this._lView)}onDestroy(t){Ps(this._lView,t)}markForCheck(){hc(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[E]&=-129}reattach(){yo(this._lView),this._lView[E]|=128}detectChanges(){this._lView[E]|=1024,bf(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new M(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=sn(this._lView),n=this._lView[tt];n!==null&&!t&&ac(n,this._lView),df(this._lView[m],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new M(902,!1);this._appRef=t;let n=sn(this._lView),r=this._lView[tt];r!==null&&!n&&xf(r,this._lView),yo(this._lView)}};var tr=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=Ov;constructor(n,r,o){this._declarationLView=n,this._declarationTContainer=r,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,r){return this.createEmbeddedViewImpl(n,r)}createEmbeddedViewImpl(n,r,o){let i=fr(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new st(i)}}return e})();function Ov(){return pi(B(),g())}function pi(e,t){return e.type&4?new tr(t,e,mn(e,t)):null}function In(e,t,n,r,o){let i=e.data[t];if(i===null)i=kv(e,t,n,r,o),lu()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=su();i.injectorIndex=s===null?-1:s.injectorIndex}return an(i,!0),i}function kv(e,t,n,r,o){let i=$s(),s=Us(),a=s?i:i&&i.parent,c=e.data[t]=Lv(e,a,n,t,r,o);return Pv(e,c,i,s),c}function Pv(e,t,n,r){e.firstChild===null&&(e.firstChild=t),n!==null&&(r?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function Lv(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Vs()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,fieldIndex:-1,customControlIndex:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Fv(e){let t=e[Ms]??[],r=e[q][O],o=[];for(let i of t)i.data[Od]!==void 0?o.push(i):jv(i,r);e[Ms]=o}function jv(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[Rd];for(;n<o;){let i=r.nextSibling;Zd(t,r,!1),r=i,n++}}}var Vv=()=>null,Hv=()=>null;function Wo(e,t){return Vv(e,t)}function Af(e,t,n){return Hv(e,t,n)}var Rf=class{},hi=class{},Aa=class{resolveComponentFactory(t){throw new M(917,!1)}},hr=class{static NULL=new Aa},nr=class{},Bv=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>$v()}return e})();function $v(){let e=g(),t=B(),n=de(t.index,e);return(Ae(n)?n:e)[O]}var Of=(()=>{class e{static \u0275prov=G({token:e,providedIn:"root",factory:()=>null})}return e})();var ko={},Ra=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,ko,r);return o!==ko||n===ko?o:this.parentInjector.get(t,n,r)}};function Go(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=ro(o,a);else if(i==2){let c=a,l=t[++s];r=ro(r,c+": "+l+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function gr(e,t=0){let n=g();if(n===null)return _e(e,t);let r=B();return Id(r,n,U(e),t)}function Uv(){let e="invalid";throw new Error(e)}function kf(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let a=s,c=null,l=null;for(let u of s)if(u.resolveHostDirectives!==null){[a,c,l]=u.resolveHostDirectives(s);break}Gv(e,t,n,a,i,c,l)}i!==null&&r!==null&&qv(n,r,i)}function qv(e,t,n){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new M(-301,!1);r.push(t[o],i)}}function Wv(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function Gv(e,t,n,r,o,i,s){let a=r.length,c=null;for(let p=0;p<a;p++){let f=r[p];c===null&&le(f)&&(c=f,Wv(e,n,p)),ga(Ho(n,t),e,f.type)}Jv(n,e.data.length,a),c?.viewProvidersResolver&&c.viewProvidersResolver(c);for(let p=0;p<a;p++){let f=r[p];f.providersResolver&&f.providersResolver(f)}let l=!1,u=!1,d=rf(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(n.mergedAttrs=dn(n.mergedAttrs,f.hostAttrs),Qv(e,n,t,d,f),Kv(d,f,o),s!==null&&s.has(f)){let[y,S]=s.get(f);n.directiveToIndex.set(f.type,[d,y+n.directiveStart,S+n.directiveStart])}else(i===null||!i.has(f))&&n.directiveToIndex.set(f.type,d);f.contentQueries!==null&&(n.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(n.flags|=64);let h=f.type.prototype;!l&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),l=!0),!u&&(h.ngOnChanges||h.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),u=!0),d++}zv(e,n,i)}function zv(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))qu(0,t,o,r),qu(1,t,o,r),Gu(t,r,!1);else{let i=n.get(o);Wu(0,t,i,r),Wu(1,t,i,r),Gu(t,r,!0)}}}function qu(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s;e===0?s=t.inputs??={}:s=t.outputs??={},s[i]??=[],s[i].push(r),Pf(t,i)}}function Wu(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],a;e===0?a=t.hostDirectiveInputs??={}:a=t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),Pf(t,s)}}function Pf(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function Gu(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||tc(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c=="number")break;if(!n&&o.hasOwnProperty(c)){let l=o[c];for(let u of l)if(u===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&i.hasOwnProperty(c)){let l=i[c];for(let u=0;u<l.length;u+=2)if(l[u]===t){s??=[],s.push(l[u+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function Qv(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=Je(o.type,!0)),s=new xt(i,le(o),gr,null);e.blueprint[r]=s,n[r]=s,Zv(e,t,r,rf(e,n,o.hostVars,V),o)}function Zv(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;Yv(s)!=a&&s.push(a),s.push(n,r,i)}}function Yv(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function Kv(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;le(t)&&(n[""]=e)}}function Jv(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function gc(e,t,n,r,o,i,s,a){let c=t[m],l=c.consts,u=fe(l,s),d=In(c,e,n,r,u);return i&&kf(c,t,d,fe(l,a),o),d.mergedAttrs=dn(d.mergedAttrs,d.attrs),d.attrs!==null&&Go(d,d.attrs,!1),d.mergedAttrs!==null&&Go(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function mc(e,t){ud(e,t),Ns(t)&&e.queries.elementEnd(t)}function Lf(e,t,n,r,o,i){let s=t.consts,a=fe(s,o),c=In(t,e,n,r,a);if(c.mergedAttrs=dn(c.mergedAttrs,c.attrs),i!=null){let l=fe(s,i);c.localNames=[];for(let u=0;u<l.length;u+=2)c.localNames.push(l[u],-1)}return c.attrs!==null&&Go(c,c.attrs,!1),c.mergedAttrs!==null&&Go(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function yc(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function kt(e,t,n){return e[t]=n}function vc(e,t){return e[t]}function Z(e,t,n){if(n===V)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function rr(e,t,n,r){let o=Z(e,t,n);return Z(e,t+1,r)||o}function Ic(e,t,n,r,o){let i=rr(e,t,n,r);return Z(e,t+2,o)||i}function mr(e,t,n,r,o,i){let s=rr(e,t,n,r);return rr(e,t+2,o,i)||s}function Po(e,t,n){return function r(o){let i=rt(e)?de(e.index,t):t;hc(i,5);let s=t[j],a=zu(t,s,n,o),c=r.__ngNextListenerFn__;for(;c;)a=zu(t,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function zu(e,t,n,r){let o=v(null);try{return R(x.OutputStart,t,n),n(r)!==!1}catch(i){return mv(e,i),!1}finally{R(x.OutputEnd,t,n),v(o)}}function Ff(e,t,n,r,o,i,s,a){let c=on(e),l=!1,u=null;if(!r&&c&&(u=eI(t,n,i,e.index)),u!==null){let d=u.__ngLastListenerFn__||u;d.__ngNextListenerFn__=s,u.__ngLastListenerFn__=s,l=!0}else{let d=Ie(e,n),p=r?r(d):d;Hm(n,p,i,a);let f=o.listen(p,i,a);if(!Xv(i)){let h=r?y=>r(ue(y[e.index])):e.index;jf(h,t,n,i,a,f,!1)}}return l}function Xv(e){return e.startsWith("animation")||e.startsWith("transition")}function eI(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[nn],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function jf(e,t,n,r,o,i,s){let a=t.firstCreatePass?Fs(t):null,c=Ls(n),l=c.length;c.push(o,i),a&&a.push(r,e,l,(l+1)*(s?-1:1))}function Qu(e,t,n,r,o,i){let s=t[n],a=t[m],l=a.data[n].outputs[r],d=s[l].subscribe(i);jf(e.index,a,t,o,i,d,!0)}var Oa=Symbol("BINDING");var zo=class extends hr{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=qe(t);return new Rt(n,this.ngModule)}};function tI(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&si.SignalBased)!==0};return o&&(i.transform=o),i})}function nI(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function rI(e,t,n){let r=t instanceof se?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Ra(n,r):n}function oI(e){let t=e.get(nr,null);if(t===null)throw new M(407,!1);let n=e.get(Of,null),r=e.get(Ue,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1}}function iI(e,t){let n=Vf(e);return zd(t,n,n==="svg"?Ss:n==="math"?Yl:null)}function Vf(e){return(e.selectors[0][0]||"div").toLowerCase()}var Rt=class extends hi{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=tI(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=nI(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=ky(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){R(x.DynamicComponentStart);let a=v(null);try{let c=this.componentDef,l=sI(r,c,s,i),u=rI(c,o||this.ngModule,t),d=oI(u),p=d.rendererFactory.createRenderer(null,c),f=r?ov(p,r,c.encapsulation,u):iI(c,p),h=s?.some(Zu)||i?.some(T=>typeof T!="function"&&T.bindings.some(Zu)),y=rc(null,l,null,512|nf(c),null,null,d,p,u,null,Ld(f,u,!0));y[P]=f,Do(y);let S=null;try{let T=gc(P,y,2,"#host",()=>l.directiveRegistry,!0,0);Yd(p,f,T),fn(f,y),ui(l,y,T),Ja(l,T,y),mc(l,T),n!==void 0&&cI(T,this.ngContentSelectors,n),S=de(T.index,y),y[j]=S[j],pc(l,y,null)}catch(T){throw S!==null&&ya(S),ya(y),T}finally{R(x.DynamicComponentEnd),Co()}return new Qo(this.componentType,y,!!h)}finally{v(a)}}};function sI(e,t,n,r){let o=e?["ng-version","21.0.6"]:Py(t.selectors[0]),i=null,s=null,a=0;if(n)for(let u of n)a+=u[Oa].requiredVars,u.create&&(u.targetIdx=0,(i??=[]).push(u)),u.update&&(u.targetIdx=0,(s??=[]).push(u));if(r)for(let u=0;u<r.length;u++){let d=r[u];if(typeof d!="function")for(let p of d.bindings){a+=p[Oa].requiredVars;let f=u+1;p.create&&(p.targetIdx=f,(i??=[]).push(p)),p.update&&(p.targetIdx=f,(s??=[]).push(p))}}let c=[t];if(r)for(let u of r){let d=typeof u=="function"?u:u.type,p=so(d);c.push(p)}return nc(0,null,aI(i,s),1,a,c,null,null,null,[o],null)}function aI(e,t){return!e&&!t?null:n=>{if(n&1&&e)for(let r of e)r.create();if(n&2&&t)for(let r of t)r.update()}}function Zu(e){let t=e[Oa].kind;return t==="input"||t==="twoWay"}var Qo=class extends Rf{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=Hn(n[m],P),this.location=mn(this._tNode,n),this.instance=de(this._tNode.index,n)[j],this.hostView=this.changeDetectorRef=new st(n,void 0),this.componentType=t}setInput(t,n){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let o=this._rootLView,i=fc(r,o[m],o,t,n);this.previousInputValues.set(t,n);let s=de(r.index,o);hc(s,1)}get injector(){return new St(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function cI(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null&&i.length?Array.from(i):null)}}var gi=(()=>{class e{static __NG_ELEMENT_ID__=lI}return e})();function lI(){let e=B();return Bf(e,g())}var uI=gi,Hf=class extends uI{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return mn(this._hostTNode,this._hostLView)}get injector(){return new St(this._hostTNode,this._hostLView)}get parentInjector(){let t=Ya(this._hostTNode,this._hostLView);if(pd(t)){let n=jo(t,this._hostLView),r=Fo(t),o=n[m].data[r+8];return new St(o,n)}else return new St(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Yu(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-F}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Wo(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,pn(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c=t&&!sm(t),l;if(c)l=n;else{let S=n||{};l=S.index,r=S.injector,o=S.projectableNodes,i=S.environmentInjector||S.ngModuleRef,s=S.directives,a=S.bindings}let u=c?t:new Rt(qe(t)),d=r||this.parentInjector;if(!i&&u.ngModule==null){let T=(c?d:this.parentInjector).get(se,null);T&&(i=T)}let p=qe(u.componentType??{}),f=Wo(this._lContainer,p?.id??null),h=f?.firstChild??null,y=u.create(d,o,h,i,s,a);return this.insertImpl(y.hostView,l,pn(this._hostTNode,f)),y}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Jl(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[q],l=new Hf(c,c[ee],c[q]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return pr(s,o,i,r),t.attachToViewContainerRef(),ms(aa(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Yu(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=er(this._lContainer,n);r&&(Ln(aa(this._lContainer),n),ci(r[m],r))}detach(t){let n=this._adjustIndex(t,-1),r=er(this._lContainer,n);return r&&Ln(aa(this._lContainer),n)!=null?new st(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Yu(e){return e[Vn]}function aa(e){return e[Vn]||(e[Vn]=[])}function Bf(e,t){let n,r=t[e.index];return ve(r)?n=r:(n=Mf(r,t,null,e),t[e.index]=n,oc(t,n)),fI(n,t,e,r),new Hf(n,e,t)}function dI(e,t){let n=e[O],r=n.createComment(""),o=Ie(t,e),i=n.parentNode(o);return $o(n,i,r,n.nextSibling(o),!1),r}var fI=gI,pI=()=>!1;function hI(e,t,n){return pI(e,t,n)}function gI(e,t,n,r){if(e[nt])return;let o;n.type&8?o=ue(r):o=dI(t,n),e[nt]=o}var ka=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Pa=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++)Dc(t,n).matches!==null&&this.queries[n].setDirty()}},Zo=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=DI(t):this.predicate=t}},La=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)}},Fa=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,mI(n,i)),this.matchTNodeWithReadOption(t,n,Oo(n,t,i,!1,!1))}else r===tr?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Oo(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===cr||o===gi||o===tr&&n.type&4)this.addMatch(n.index,-2);else{let i=Oo(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 mI(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 yI(e,t){return e.type&11?mn(e,t):e.type&4?pi(e,t):null}function vI(e,t,n,r){return n===-1?yI(t,e):n===-2?II(e,t,r):Kn(e,e[m],n,t)}function II(e,t,n){if(n===cr)return mn(t,e);if(n===tr)return pi(t,e);if(n===gi)return Bf(t,e)}function $f(e,t,n,r){let o=t[xe].queries[r];if(o.matches===null){let i=e.data,s=n.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let l=s[c];if(l<0)a.push(null);else{let u=i[l];a.push(vI(t,u,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function ja(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=$f(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=F;d<u.length;d++){let p=u[d];p[tt]===p[q]&&ja(p[m],p,l,r)}if(u[bt]!==null){let d=u[bt];for(let p=0;p<d.length;p++){let f=d[p];ja(f[m],f,l,r)}}}}}return r}function Ec(e,t){return e[xe].queries[t].queryList}function Uf(e,t,n){let r=new Bo((n&4)===4);return tu(e,t,r,r.destroy),(t[xe]??=new Pa).queries.push(new ka(r))-1}function qf(e,t,n){let r=L();return r.firstCreatePass&&(Wf(r,new Zo(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),Uf(r,g(),t)}function EI(e,t,n,r){let o=L();if(o.firstCreatePass){let i=B();Wf(o,new Zo(t,n,r),i.index),CI(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return Uf(o,g(),n)}function DI(e){return e.split(",").map(t=>t.trim())}function Wf(e,t,n){e.queries===null&&(e.queries=new La),e.queries.track(new Fa(t,n))}function CI(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 Dc(e,t){return e.queries.getByIndex(t)}function Gf(e,t){let n=e[m],r=Dc(n,t);return r.crossesNgTemplate?ja(n,e,t,[]):$f(n,e,r,t)}function zf(e,t,n){let r,o=Mn(()=>{r._dirtyCounter();let i=TI(r,e);if(t&&i===void 0)throw new M(-951,!1);return i});return r=o[W],r._dirtyCounter=To(0),r._flatValue=void 0,o}function Qf(e){return zf(!0,!1,e)}function Zf(e){return zf(!0,!0,e)}function bI(e,t){let n=e[W];n._lView=g(),n._queryIndex=t,n._queryList=Ec(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function TI(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[E]&4)return t?void 0:Q;let o=Ec(n,r),i=Gf(n,r);return o.reset(i,bd),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}var hn=class{},Yf=class{};var Yo=class extends hn{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new zo(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=ps(t);this._bootstrapComponents=Xd(i.bootstrap),this._r3Injector=Zs(t,n,[{provide:hn,useValue:this},{provide:hr,useValue:this.componentFactoryResolver},...r],Be(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)}},Ko=class extends Yf{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new Yo(this.moduleType,t,[])}};var or=class extends hn{injector;componentFactoryResolver=new zo(this);instance=null;constructor(t){super();let n=new mt([...t.providers,{provide:hn,useValue:this},{provide:hr,useValue:this.componentFactoryResolver}],t.parent||tn(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Kf(e,t,n=null){return new or({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var wI=(()=>{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=Es(!1,n.type),o=r.length>0?Kf([r],this._injector,""):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=G({token:e,providedIn:"environment",factory:()=>new e(_e(se))})}return e})();function _I(e){return ar(()=>{let t=Jf(e),n=K(Y({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Ka.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(wI).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||At.Emulated,styles:e.styles||Q,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Ze("NgStandalone"),Xf(n);let r=e.dependencies;return n.directiveDefs=Ku(r,MI),n.pipeDefs=Ku(r,Ll),n.id=OI(n),n})}function MI(e){return qe(e)||so(e)}function NI(e){return ar(()=>({type:e.type,bootstrap:e.bootstrap||Q,declarations:e.declarations||Q,imports:e.imports||Q,exports:e.exports||Q,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function SI(e,t){if(e==null)return ye;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=si.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function xI(e){if(e==null)return ye;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function AI(e){return ar(()=>{let t=Jf(e);return Xf(t),t})}function RI(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 Jf(e){let t={};return{type:e.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||ye,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||Q,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:SI(e.inputs,t),outputs:xI(e.outputs),debugInfo:null}}function Xf(e){e.features?.forEach(t=>t(e))}function Ku(e,t){return e?()=>{let n=typeof e=="function"?e():e,r=[];for(let o of n){let i=t(o);i!==null&&r.push(i)}return r}:null}function OI(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 kI(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.resolveHostDirectives=PI,n.hostDirectives=r?e.map(Va):[e]):r?n.hostDirectives.unshift(...e.map(Va)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function PI(e){let t=[],n=!1,r=null,o=null;for(let i=0;i<e.length;i++){let s=e[i];if(s.hostDirectives!==null){let a=t.length;r??=new Map,o??=new Map,ep(s,t,r),o.set(s,[a,t.length-1])}i===0&&le(s)&&(n=!0,t.push(s))}for(let i=n?1:0;i<e.length;i++)t.push(e[i]);return[t,r,o]}function ep(e,t,n){if(e.hostDirectives!==null)for(let r of e.hostDirectives)if(typeof r=="function"){let o=r();for(let i of o)Ju(Va(i),t,n)}else Ju(r,t,n)}function Ju(e,t,n){let r=so(e.directive);LI(r.declaredInputs,e.inputs),ep(r,t,n),n.set(r,e),t.push(r)}function Va(e){return typeof e=="function"?{directive:U(e),inputs:ye,outputs:ye}:{directive:U(e.directive),inputs:Xu(e.inputs),outputs:Xu(e.outputs)}}function Xu(e){if(e===void 0||e.length===0)return ye;let t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function LI(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o=e[n];e[r]=o}}function FI(e){return Object.getPrototypeOf(e.prototype).constructor}function tp(e){let t=FI(e.type),n=!0,r=[e];for(;t;){let o;if(le(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new M(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=ca(e.inputs),s.declaredInputs=ca(e.declaredInputs),s.outputs=ca(e.outputs);let a=o.hostBindings;a&&$I(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&HI(e,c),l&&BI(e,l),jI(e,o),kl(e.outputs,o.outputs),le(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===tp&&(n=!1)}}t=Object.getPrototypeOf(t)}VI(r)}function jI(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let r=t.inputs[n];r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n])}}function VI(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=dn(o.hostAttrs,n=dn(n,o.hostAttrs))}}function ca(e){return e===ye?{}:e===Q?[]:e}function HI(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function BI(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function $I(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function np(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=dn(e.mergedAttrs,e.attrs);let u=e.tView=nc(2,e,o,i,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);n.queries!==null&&(n.queries.template(n,e),u.queries=n.queries.embeddedTView(e))}a&&(e.flags|=a),an(e,!1);let c=qI(n,t,e,r);bo()&&cc(n,t,c,e),fn(c,t);let l=Mf(c,t,c,e);t[r+P]=l,oc(t,l),hI(l,e,t)}function UI(e,t,n,r,o,i,s,a,c,l,u){let d=n+P,p;return t.firstCreatePass?(p=In(t,d,4,s||null,a||null),vo()&&kf(t,e,p,fe(t.consts,l),dc),ud(t,p)):p=t.data[d],np(p,e,t,n,r,o,i,c),on(p)&&ui(t,e,p),l!=null&&vn(e,p,u),p}function ir(e,t,n,r,o,i,s,a,c,l,u){let d=n+P,p;if(t.firstCreatePass){if(p=In(t,d,4,s||null,a||null),l!=null){let f=fe(t.consts,l);p.localNames=[];for(let h=0;h<f.length;h+=2)p.localNames.push(f[h],-1)}}else p=t.data[d];return np(p,e,t,n,r,o,i,c),l!=null&&vn(e,p,u),p}function rp(e,t,n,r,o,i,s,a){let c=g(),l=L(),u=fe(l.consts,i);return UI(c,l,e,t,n,r,o,u,void 0,s,a),rp}var qI=WI;function WI(e,t,n,r){return qn(!0),t[O].createComment("")}var GI=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=G({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function op(e){return typeof e=="function"&&e[W]!==void 0}function Cc(e){return op(e)&&typeof e.set=="function"}var ip=new k("");function bc(e){return!!e&&typeof e.then=="function"}function sp(e){return!!e&&typeof e.subscribe=="function"}var ap=new k("");var Tc=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=w(ap,{optional:!0})??[];injector=w(me);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=po(this.injector,o);if(bc(i))n.push(i);else if(sp(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=G({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),cp=new k("");function lp(){Ui(()=>{let e="";throw new M(600,e)})}function up(e){return e.isBoundToModule}var zI=10;var mi=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=w(Nt);afterRenderManager=w(sc);zonelessEnabled=w(Gn);rootEffectScheduler=w(_o);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new re;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=w(Mt);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(Le(n=>!n))}constructor(){w(dr,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=w(se);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=me.NULL){return this._injector.get(Me).run(()=>{R(x.BootstrapComponentStart);let s=n instanceof hi;if(!this._injector.get(Tc).done){let h="";throw new M(405,h)}let c;s?c=n:c=this._injector.get(hr).resolveComponentFactory(n),this.componentTypes.push(c.componentType);let l=up(c)?void 0:this._injector.get(hn),u=r||c.selector,d=c.create(o,[],u,l),p=d.location.nativeElement,f=d.injector.get(ip,null);return f?.registerApplication(p),d.onDestroy(()=>{this.detachView(d.hostView),Zn(this.components,d),f?.unregisterApplication(p)}),this._loadComponent(d),R(x.BootstrapComponentEnd,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){R(x.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(ai.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw R(x.ChangeDetectionEnd),new M(101,!1);let n=v(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,v(n),this.afterTick.next(),R(x.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(nr,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<zI;){R(x.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{R(x.ChangeDetectionSyncEnd)}}}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!1;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews){if(!r&&!Bn(o))continue;let i=r&&!this.zonelessEnabled?0:1;bf(o,i),n=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}n||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>Bn(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;Zn(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(n),this._injector.get(cp,[]).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),()=>Zn(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new M(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=G({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Zn(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function dp(e,t,n,r){let o=g(),i=Ge();if(Z(o,i,t)){let s=L(),a=cn();fv(a,o,e,t,n,r)}return dp}var sA=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var Ha=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 la(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function QI(e,t,n,r){let o,i,s=0,a=e.length-1,c=void 0;if(Array.isArray(t)){v(r);let l=t.length-1;for(v(null);s<=a&&s<=l;){let u=e.at(s),d=t[s],p=la(s,u,s,d,n);if(p!==0){p<0&&e.updateValue(s,d),s++;continue}let f=e.at(a),h=t[l],y=la(a,f,l,h,n);if(y!==0){y<0&&e.updateValue(a,h),a--,l--;continue}let S=n(s,u),T=n(a,f),Ce=n(s,d);if(Object.is(Ce,T)){let Ei=n(l,h);Object.is(Ei,S)?(e.swap(s,a),e.updateValue(a,h),l--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(o??=new Jo,i??=td(e,s,a,n),Ba(e,o,s,Ce))e.updateValue(s,d),s++,a++;else if(i.has(Ce))o.set(S,e.detach(s)),a--;else{let Ei=e.create(s,t[s]);e.attach(s,Ei),s++,a++}}for(;s<=l;)ed(e,o,n,s,t[s]),s++}else if(t!=null){v(r);let l=t[Symbol.iterator]();v(null);let u=l.next();for(;!u.done&&s<=a;){let d=e.at(s),p=u.value,f=la(s,d,s,p,n);if(f!==0)f<0&&e.updateValue(s,p),s++,u=l.next();else{o??=new Jo,i??=td(e,s,a,n);let h=n(s,p);if(Ba(e,o,s,h))e.updateValue(s,p),s++,a++,u=l.next();else if(!i.has(h))e.attach(s,e.create(s,p)),s++,a++,u=l.next();else{let y=n(s,d);o.set(y,e.detach(s)),a--}}}for(;!u.done;)ed(e,o,n,e.length,u.value),u=l.next()}for(;s<=a;)e.destroy(e.detach(a--));o?.forEach(l=>{e.destroy(l)})}function Ba(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function ed(e,t,n,r,o){if(Ba(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function td(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 Jo=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 ZI(e,t,n,r,o,i,s,a){Ze("NgControlFlow");let c=g(),l=L(),u=fe(l.consts,i);return ir(c,l,e,t,n,r,o,u,256,s,a),wc}function wc(e,t,n,r,o,i,s,a){Ze("NgControlFlow");let c=g(),l=L(),u=fe(l.consts,i);return ir(c,l,e,t,n,r,o,u,512,s,a),wc}function YI(e,t){Ze("NgControlFlow");let n=g(),r=Ge(),o=n[r]!==V?n[r]:-1,i=o!==-1?Xo(n,P+o):void 0,s=0;if(Z(n,r,e)){let a=v(null);try{if(i!==void 0&&Sf(i,s),e!==-1){let c=P+e,l=Xo(n,c),u=Wa(n[m],c),d=Af(l,u,n),p=fr(n,u,t,{dehydratedView:d});pr(l,p,s,pn(u,d))}}finally{v(a)}}else if(i!==void 0){let a=Nf(i,s);a!==void 0&&(a[j]=t)}}var $a=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-F}};function KI(e){return e}function JI(e,t){return t}var Ua=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function XI(e,t,n,r,o,i,s,a,c,l,u,d,p){Ze("NgControlFlow");let f=g(),h=L(),y=c!==void 0,S=g(),T=a?s.bind(S[te][j]):s,Ce=new Ua(y,T);S[P+e]=Ce,ir(f,h,e+1,t,n,r,o,fe(h.consts,i),256),y&&ir(f,h,e+2,c,l,u,d,fe(h.consts,p),512)}var qa=class extends Ha{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-F}at(t){return this.getLView(t)[j].$implicit}attach(t,n){let r=n[vt];this.needsIndexUpdate||=t!==this.length,pr(this.lContainer,n,t,pn(this.templateTNode,r)),tE(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,nE(this.lContainer,t),rE(this.lContainer,t)}create(t,n){let r=Wo(this.lContainer,this.templateTNode.tView.ssrId);return fr(this.hostLView,this.templateTNode,new $a(this.lContainer,n,t),{dehydratedView:r})}destroy(t){ci(t[m],t)}updateValue(t,n){this.getLView(t)[j].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[j].$index=t}getLView(t){return oE(this.lContainer,t)}};function eE(e){let t=v(null),n=ie();try{let r=g(),o=r[m],i=r[n],s=n+1,a=Xo(r,s);if(i.liveCollection===void 0){let l=Wa(o,s);i.liveCollection=new qa(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(QI(c,e,i.trackByFn,t),c.updateIndexes(),i.hasEmptyBlock){let l=Ge(),u=c.length===0;if(Z(r,l,u)){let d=n+2,p=Xo(r,d);if(u){let f=Wa(o,d),h=Af(p,f,r),y=fr(r,f,void 0,{dehydratedView:h});pr(p,y,0,pn(f,h))}else o.firstUpdatePass&&Fv(p),Sf(p,0)}}}finally{v(t)}}function Xo(e,t){return e[t]}function tE(e,t){if(e.length<=F)return;let n=F+t,r=e[n],o=r?r[Ct]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[We];qy(i,o),Jn.delete(r),o.detachedLeaveAnimationFns=void 0}}function nE(e,t){if(e.length<=F)return;let n=F+t,r=e[n],o=r?r[Ct]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function rE(e,t){return er(e,t)}function oE(e,t){return Nf(e,t)}function Wa(e,t){return Hn(e,t)}function fp(e,t,n){let r=g(),o=Ge();if(Z(r,o,t)){let i=L(),s=cn();yf(s,r,e,t,r[O],n)}return fp}function Ga(e,t,n,r,o){fc(t,e,n,o?"class":"style",r)}function _c(e,t,n,r){let o=g(),i=o[m],s=e+P,a=i.firstCreatePass?gc(s,o,2,t,dc,vo(),n,r):i.data[s];if(di(a,o,e,t,gp),on(a)){let c=o[m];ui(c,o,a),Ja(c,a,o)}return r!=null&&vn(o,a),_c}function Mc(){let e=L(),t=B(),n=fi(t);return e.firstCreatePass&&mc(e,n),Hs(n)&&Bs(),js(),n.classesWithoutHost!=null&&pm(n)&&Ga(e,n,g(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&hm(n)&&Ga(e,n,g(),n.stylesWithoutHost,!1),Mc}function pp(e,t,n,r){return _c(e,t,n,r),Mc(),pp}function Nc(e,t,n,r){let o=g(),i=o[m],s=e+P,a=i.firstCreatePass?Lf(s,i,2,t,n,r):i.data[s];return di(a,o,e,t,gp),r!=null&&vn(o,a),Nc}function Sc(){let e=B(),t=fi(e);return Hs(t)&&Bs(),js(),Sc}function hp(e,t,n,r){return Nc(e,t,n,r),Sc(),hp}var gp=(e,t,n,r,o)=>(qn(!0),zd(t[O],r,vu()));function mp(e,t,n){let r=g(),o=r[m],i=e+P,s=o.firstCreatePass?gc(i,r,8,"ng-container",dc,vo(),t,n):o.data[i];if(di(s,r,e,"ng-container",Ip),on(s)){let a=r[m];ui(a,r,s),Ja(a,s,r)}return n!=null&&vn(r,s),mp}function xc(){let e=L(),t=B(),n=fi(t);return e.firstCreatePass&&mc(e,n),xc}function Ac(e,t,n){let r=g(),o=r[m],i=e+P,s=o.firstCreatePass?Lf(i,o,8,"ng-container",t,n):o.data[i];return di(s,r,e,"ng-container",Ip),n!=null&&vn(r,s),Ac}function yp(){let e=B(),t=fi(e);return xc}function vp(e,t,n){return Ac(e,t,n),yp(),vp}var Ip=(e,t,n,r,o)=>(qn(!0),my(t[O],""));function iE(){return g()}function Ep(e,t,n){let r=g(),o=Ge();if(Z(r,o,t)){let i=L(),s=cn();uc(s,r,e,t,r[O],n)}return Ep}function Dp(e,t,n){let r=g(),o=Ge();if(Z(r,o,t)){let i=L(),s=cn(),a=Gs(i.data),c=gv(a,s,r);uc(s,r,e,t,c,n)}return Dp}var zn=void 0;function sE(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var aE=["en",[["a","p"],["AM","PM"]],[["AM","PM"]],[["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"]],zn,[["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"]],zn,[["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\u202Fa","h:mm:ss\u202Fa","h:mm:ss\u202Fa z","h:mm:ss\u202Fa zzzz"],["{1}, {0}",zn,zn,zn],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",sE],Yn={};function cE(e,t,n){typeof t!="string"&&(n=t,t=e[ei.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),Yn[t]=e,n&&(Yn[t][ei.ExtraData]=n)}function lE(e){let t=uE(e),n=nd(t);if(n)return n;let r=t.split("-")[0];if(n=nd(r),n)return n;if(r==="en")return aE;throw new M(701,!1)}function nd(e){return e in Yn||(Yn[e]=Ne.ng&&Ne.ng.common&&Ne.ng.common.locales&&Ne.ng.common.locales[e]),Yn[e]}var ei=(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})(ei||{});function uE(e){return e.toLowerCase().replace(/_/g,"-")}var yr="en-US";var dE=yr;function Cp(e){typeof e=="string"&&(dE=e.toLowerCase().replace(/_/g,"-"))}function bp(e,t,n){let r=g(),o=L(),i=B();return wp(o,r,r[O],i,e,t,n),bp}function Tp(e,t,n){let r=g(),o=L(),i=B();return(i.type&3||n)&&Ff(i,o,r,n,r[O],e,t,Po(i,r,t)),Tp}function wp(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=Po(r,t,i),Ff(r,e,t,s,n,o,i,c)&&(a=!1)),a){let l=r.outputs?.[o],u=r.hostDirectiveOutputs?.[o];if(u&&u.length)for(let d=0;d<u.length;d+=2){let p=u[d],f=u[d+1];c??=Po(r,t,i),Qu(r,t,p,f,o,c)}if(l&&l.length)for(let d of l)c??=Po(r,t,i),Qu(r,t,d,o,o,c)}}function fE(e=1){return gu(e)}function pE(e,t){let n=null,r=Sy(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?tf(e,i,!0):Ry(r,i))return o}return n}function hE(e){let t=g()[te][ee];if(!t.projection){let n=e?e.length:1,r=t.projection=Ul(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?pE(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function gE(e,t=0,n,r,o,i){let s=g(),a=L(),c=r?e+1:null;c!==null&&ir(s,a,c,r,o,i,null,n);let l=In(a,P+e,16,null,n||null);l.projection===null&&(l.projection=t),qs();let d=!s[vt]||Vs();s[te][ee].projection[l.projection]===null&&c!==null?mE(s,a,c):d&&!ri(l)&&tv(a,s,l)}function mE(e,t,n){let r=P+n,o=t.data[r],i=e[r],s=Wo(i,o.tView.ssrId),a=fr(e,o,void 0,{dehydratedView:s});pr(i,a,0,pn(o,s))}function _p(e,t,n,r){return EI(e,t,n,r),_p}function Mp(e,t,n){return qf(e,t,n),Mp}function yE(e){let t=g(),n=L(),r=Eo();Un(r+1);let o=Dc(n,r);if(e.dirty&&Kl(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=Gf(t,r);e.reset(i,bd),e.notifyOnChanges()}return!0}return!1}function vE(){return Ec(g(),Eo())}function Np(e,t,n,r){return bI(e,qf(t,n,r)),Np}function IE(e=1){Un(Eo()+e)}function EE(e){let t=au();return go(t,P+e)}function xo(e,t){return e<<17|t<<2}function Ot(e){return e>>17&32767}function DE(e){return(e&2)==2}function CE(e,t){return e&131071|t<<17}function za(e){return e|2}function gn(e){return(e&131068)>>2}function ua(e,t){return e&-131069|t<<2}function bE(e){return(e&1)===1}function Qa(e){return e|1}function TE(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Ot(s),c=gn(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||en(d,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let p=Ot(e[a+1]);e[r+1]=xo(p,a),p!==0&&(e[p+1]=ua(e[p+1],r)),e[a+1]=CE(e[a+1],r)}else e[r+1]=xo(a,0),a!==0&&(e[a+1]=ua(e[a+1],r)),a=r;else e[r+1]=xo(c,0),a===0?a=r:e[c+1]=ua(e[c+1],r),c=r;l&&(e[r+1]=za(e[r+1])),rd(e,u,r,!0),rd(e,u,r,!1),wE(t,u,e,r,i),s=xo(a,c),i?t.classBindings=s:t.styleBindings=s}function wE(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&en(i,t)>=0&&(n[r+1]=Qa(n[r+1]))}function rd(e,t,n,r){let o=e[n+1],i=t===null,s=r?Ot(o):gn(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];_E(c,t)&&(a=!0,e[s+1]=r?Qa(l):za(l)),s=r?Ot(l):gn(l)}a&&(e[n+1]=r?za(o):Qa(o))}function _E(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?en(e,t)>=0:!1}var De={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function ME(e){return e.substring(De.key,De.keyEnd)}function NE(e){return SE(e),Sp(e,xp(e,0,De.textEnd))}function Sp(e,t){let n=De.textEnd;return n===t?-1:(t=De.keyEnd=xE(e,De.key=t,n),xp(e,t,n))}function SE(e){De.key=0,De.keyEnd=0,De.value=0,De.valueEnd=0,De.textEnd=e.length}function xp(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function xE(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function Ap(e,t,n){return Op(e,t,n,!1),Ap}function Rp(e,t){return Op(e,t,null,!0),Rp}function AE(e){OE(VE,RE,e,!0)}function RE(e,t){for(let n=NE(t);n>=0;n=Sp(t,n))uo(e,ME(t),!0)}function Op(e,t,n,r){let o=g(),i=L(),s=_t(2);if(i.firstUpdatePass&&Pp(i,e,s,r),t!==V&&Z(o,s,t)){let a=i.data[ie()];Lp(i,a,o,o[O],e,o[s+1]=BE(t,n),r,s)}}function OE(e,t,n,r){let o=L(),i=_t(2);o.firstUpdatePass&&Pp(o,null,i,r);let s=g();if(n!==V&&Z(s,i,n)){let a=o.data[ie()];if(Fp(a,r)&&!kp(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=ro(c,n||"")),Ga(o,a,s,n,r)}else HE(o,a,s,s[O],s[i+1],s[i+1]=jE(e,t,n),r,i)}}function kp(e,t){return t>=e.expandoStartIndex}function Pp(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[ie()],s=kp(e,n);Fp(i,r)&&t===null&&!s&&(t=!1),t=kE(o,i,t,r),TE(o,i,t,n,s,r)}}function kE(e,t,n,r){let o=Gs(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=da(null,e,t,n,r),n=sr(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=da(o,e,t,n,r),i===null){let c=PE(e,t,r);c!==void 0&&Array.isArray(c)&&(c=da(null,e,t,c[1],r),c=sr(c,t.attrs,r),LE(e,t,r,c))}else i=FE(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function PE(e,t,n){let r=n?t.classBindings:t.styleBindings;if(gn(r)!==0)return e[Ot(r)]}function LE(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[Ot(o)]=r}function FE(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=sr(r,s,n)}return sr(r,t.attrs,n)}function da(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=sr(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function sr(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]),uo(e,s,n?!0:t[++i]))}return e===void 0?null:e}function jE(e,t,n){if(n==null||n==="")return Q;let r=[],o=yn(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 VE(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&uo(e,r,n)}function HE(e,t,n,r,o,i,s,a){o===V&&(o=Q);let c=0,l=0,u=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;u!==null||d!==null;){let p=c<o.length?o[c+1]:void 0,f=l<i.length?i[l+1]:void 0,h=null,y;u===d?(c+=2,l+=2,p!==f&&(h=d,y=f)):d===null||u!==null&&u<d?(c+=2,h=u):(l+=2,h=d,y=f),h!==null&&Lp(e,t,n,r,h,y,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function Lp(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,l=c[a+1],u=bE(l)?od(c,t,n,o,gn(l),s):void 0;if(!ti(u)){ti(i)||DE(l)&&(i=od(c,null,n,o,a,s));let d=As(ie(),n);rv(r,s,d,o,i)}}function od(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===V&&(p=d?Q:void 0);let f=d?fo(p,r):u===r?p:void 0;if(l&&!ti(f)&&(f=fo(c,r)),ti(f)&&(a=f,s))return a;let h=e[o+1];o=s?Ot(h):gn(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=fo(c,r))}return a}function ti(e){return e!==void 0}function BE(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=Be(yn(e)))),e}function Fp(e,t){return(e.flags&(t?8:16))!==0}function $E(e,t=""){let n=g(),r=L(),o=e+P,i=r.firstCreatePass?In(r,o,1,t,null):r.data[o],s=UE(r,n,i,t,e);n[o]=s,bo()&&cc(r,n,s,i),an(i,!1)}var UE=(e,t,n,r,o)=>(qn(!0),hy(t[O],r));function jp(e,t,n,r=""){return Z(e,Ge(),n)?t+H(n)+r:V}function qE(e,t,n,r,o,i=""){let s=$n(),a=rr(e,s,n,o);return _t(2),a?t+H(n)+r+H(o)+i:V}function WE(e,t,n,r,o,i,s,a=""){let c=$n(),l=Ic(e,c,n,o,s);return _t(3),l?t+H(n)+r+H(o)+i+H(s)+a:V}function GE(e,t,n,r,o,i,s,a,c,l=""){let u=$n(),d=mr(e,u,n,o,s,c);return _t(4),d?t+H(n)+r+H(o)+i+H(s)+a+H(c)+l:V}function zE(e,t,n,r,o,i,s,a,c,l,u,d=""){let p=$n(),f=mr(e,p,n,o,s,c);return f=Z(e,p+4,u)||f,_t(5),f?t+H(n)+r+H(o)+i+H(s)+a+H(c)+l+H(u)+d:V}function Vp(e){return Rc("",e),Vp}function Rc(e,t,n){let r=g(),o=jp(r,e,t,n);return o!==V&&vr(r,ie(),o),Rc}function Hp(e,t,n,r,o){let i=g(),s=qE(i,e,t,n,r,o);return s!==V&&vr(i,ie(),s),Hp}function Bp(e,t,n,r,o,i,s){let a=g(),c=WE(a,e,t,n,r,o,i,s);return c!==V&&vr(a,ie(),c),Bp}function $p(e,t,n,r,o,i,s,a,c){let l=g(),u=GE(l,e,t,n,r,o,i,s,a,c);return u!==V&&vr(l,ie(),u),$p}function Up(e,t,n,r,o,i,s,a,c,l,u){let d=g(),p=zE(d,e,t,n,r,o,i,s,a,c,l,u);return p!==V&&vr(d,ie(),p),Up}function vr(e,t,n){let r=As(t,e);gy(e[O],r,n)}function qp(e,t,n){Cc(t)&&(t=t());let r=g(),o=Ge();if(Z(r,o,t)){let i=L(),s=cn();yf(s,r,e,t,r[O],n)}return qp}function QE(e,t){let n=Cc(e);return n&&e.set(t),n}function Wp(e,t){let n=g(),r=L(),o=B();return wp(r,n,n[O],o,e,t),Wp}function ZE(e,t,n=""){return jp(g(),e,t,n)}function id(e,t,n){let r=L();r.firstCreatePass&&Gp(t,r.data,r.blueprint,le(e),n)}function Gp(e,t,n,r,o){if(e=U(e),Array.isArray(e))for(let i=0;i<e.length;i++)Gp(e[i],t,n,r,o);else{let i=L(),s=g(),a=B(),c=gt(e)?e:U(e.provide),l=bs(e),u=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(gt(e)||!e.multi){let f=new xt(l,o,gr,null),h=pa(c,t,o?u:u+p,d);h===-1?(ga(Ho(a,s),i,c),fa(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=pa(c,t,u+p,d),h=pa(c,t,u,u+p),y=f>=0&&n[f],S=h>=0&&n[h];if(o&&!S||!o&&!y){ga(Ho(a,s),i,c);let T=JE(o?KE:YE,n.length,o,r,l,e);!o&&S&&(n[h].providerFactory=T),fa(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(T),s.push(T)}else{let T=zp(n[o?h:f],l,!o&&r);fa(i,e,f>-1?f:h,T)}!o&&r&&S&&n[h].componentProviders++}}}function fa(e,t,n,r){let o=gt(t),i=Ql(t);if(o||i){let c=(i?U(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 zp(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function pa(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function YE(e,t,n,r,o){return Za(this.multi,[])}function KE(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=Kn(r,r[m],this.providerFactory.index,o);s=c.slice(0,a),Za(i,s);for(let l=a;l<c.length;l++)s.push(c[l])}else s=[],Za(i,s);return s}function Za(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function JE(e,t,n,r,o,i){let s=new xt(e,n,gr,null);return s.multi=[],s.index=t,s.componentProviders=0,zp(s,o,r&&!n),s}function XE(e,t){return n=>{n.providersResolver=(r,o)=>id(r,o?o(e):e,!1),t&&(n.viewProvidersResolver=(r,o)=>id(r,o?o(t):t,!0))}}function eD(e,t,n){let r=Re()+e,o=g();return o[r]===V?kt(o,r,n?t.call(n):t()):vc(o,r)}function tD(e,t,n,r){return Qp(g(),Re(),e,t,n,r)}function nD(e,t,n,r,o){return Zp(g(),Re(),e,t,n,r,o)}function rD(e,t,n,r,o,i){return aD(g(),Re(),e,t,n,r,o,i)}function oD(e,t,n,r,o,i,s){return cD(g(),Re(),e,t,n,r,o,i,s)}function iD(e,t,n,r,o,i,s,a){let c=Re()+e,l=g(),u=mr(l,c,n,r,o,i);return Z(l,c+4,s)||u?kt(l,c+5,a?t.call(a,n,r,o,i,s):t(n,r,o,i,s)):vc(l,c+5)}function sD(e,t,n,r,o,i,s,a,c,l){let u=Re()+e,d=g(),p=mr(d,u,n,r,o,i);return Ic(d,u+4,s,a,c)||p?kt(d,u+7,l?t.call(l,n,r,o,i,s,a,c):t(n,r,o,i,s,a,c)):vc(d,u+7)}function yi(e,t){let n=e[t];return n===V?void 0:n}function Qp(e,t,n,r,o,i){let s=t+n;return Z(e,s,o)?kt(e,s+1,i?r.call(i,o):r(o)):yi(e,s+1)}function Zp(e,t,n,r,o,i,s){let a=t+n;return rr(e,a,o,i)?kt(e,a+2,s?r.call(s,o,i):r(o,i)):yi(e,a+2)}function aD(e,t,n,r,o,i,s,a){let c=t+n;return Ic(e,c,o,i,s)?kt(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):yi(e,c+3)}function cD(e,t,n,r,o,i,s,a,c){let l=t+n;return mr(e,l,o,i,s,a)?kt(e,l+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):yi(e,l+4)}function lD(e,t){let n=L(),r,o=e+P;n.firstCreatePass?(r=uD(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=Je(r.type,!0)),s,a=X(gr);try{let c=Vo(!1),l=i();return Vo(c),Rs(n,g(),o,l),l}finally{X(a)}}function uD(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function dD(e,t,n){let r=e+P,o=g(),i=go(o,r);return Yp(o,r)?Qp(o,Re(),t,i.transform,n,i):i.transform(n)}function fD(e,t,n,r){let o=e+P,i=g(),s=go(i,o);return Yp(i,o)?Zp(i,Re(),t,s.transform,n,r,s):s.transform(n,r)}function Yp(e,t){return e[m].data[t].pure}function pD(e,t){return pi(e,t)}var ni=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},hD=(()=>{class e{compileModuleSync(n){return new Ko(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=ps(n),i=Xd(o.declarations).reduce((s,a)=>{let c=qe(a);return c&&s.push(new Rt(c)),s},[]);return new ni(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=G({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Kp=(()=>{class e{applicationErrorHandler=w(Nt);appRef=w(mi);taskService=w(Mt);ngZone=w(Me);zonelessEnabled=w(Gn);tracing=w(dr,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new $;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Rn):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(w(ta,{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()}))}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2;break}case 12:{this.appRef.dirtyFlags|=16;break}case 13:{this.appRef.dirtyFlags|=2;break}case 11:break;case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;let r=this.useMicrotaskScheduler?Js:Ks;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Rn+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){this.taskService.remove(n),this.applicationErrorHandler(r)}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Js(()=>{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=G({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function gD(){return Ze("NgZoneless"),Is([...Oc(),[]])}function Oc(){return[{provide:Ue,useExisting:Kp},{provide:Me,useClass:On},{provide:Gn,useValue:!0}]}function mD(){return typeof $localize<"u"&&$localize.locale||yr}var kc=new k("",{factory:()=>w(kc,{optional:!0,skipSelf:!0})||mD()});var Ir=class{destroyed=!1;listeners=null;errorHandler=w($e,{optional:!0});destroyRef=w(it);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new M(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?.indexOf(t);n!==void 0&&n!==-1&&this.listeners?.splice(n,1)}}}emit(t){if(this.destroyed){console.warn(kn(953,!1));return}if(this.listeners===null)return;let n=v(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{v(n)}}};function yD(e,t){return Mn(e,t?.equal)}var Ii=Symbol("InputSignalNode#UNSET"),oh=K(Y({},Qr),{transformFn:void 0,applyValueToInputSignal(e,t){Kt(e,t)}});function ih(e,t){let n=Object.create(oh);n.value=e,n.transformFn=t?.transform;function r(){if(Qt(n),n.value===Ii){let o=null;throw new M(-950,o)}return n.value}return r[W]=n,r}var Jp=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>Cd(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}};function HL(e){return new Ir}function Xp(e,t){return ih(e,t)}function ID(e){return ih(Ii,e)}var BL=(Xp.required=ID,Xp);function eh(e,t){return Qf(t)}function ED(e,t){return Zf(t)}var $L=(eh.required=ED,eh);function sh(e,t){let n=Object.create(oh),r=new Ir;n.value=e;function o(){return Qt(n),th(n.value),n.value}return o[W]=n,o.asReadonly=wo.bind(o),o.set=i=>{n.equal(n.value,i)||(Kt(n,i),r.emit(i))},o.update=i=>{th(n.value),o.set(i(n.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function th(e){if(e===Ii)throw new M(952,!1)}function nh(e,t){return sh(e,t)}function DD(e){return sh(Ii,e)}var UL=(nh.required=DD,nh);var Pc=new k(""),CD=new k("");function Er(e){return!e.moduleRef}function bD(e){let t=Er(e)?e.r3Injector:e.moduleRef.injector,n=t.get(Me);return n.run(()=>{Er(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Nt),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),Er(e)){let i=()=>t.destroy(),s=e.platformInjector.get(Pc);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Pc);s.add(i),e.moduleRef.onDestroy(()=>{Zn(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return wD(r,n,()=>{let i=t.get(Mt),s=i.add(),a=t.get(Tc);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(kc,yr);if(Cp(c||yr),!t.get(CD,!0))return Er(e)?t.get(mi):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Er(e)){let u=t.get(mi);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return TD?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>void i.remove(s))})})}var TD;function wD(e,t,n){try{let r=n();return bc(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var vi=null;function _D(e=[],t){return me.create({name:t,providers:[{provide:Cs,useValue:"platform"},{provide:Pc,useValue:new Set([()=>vi=null])},...e]})}function MD(e=[]){if(vi)return vi;let t=_D(e);return vi=t,lp(),ND(t),t}function ND(e){let t=e.get(xd,null);po(e,()=>{t?.forEach(n=>n())})}function qL(){return!1}var WL=(()=>{class e{static __NG_ELEMENT_ID__=SD}return e})();function SD(e){return xD(B(),g(),(e&16)===16)}function xD(e,t,n){if(rt(e)&&!n){let r=de(e.index,t);return new st(r,r)}else if(e.type&175){let r=t[te];return new st(r,t)}return null}var Lc=class{constructor(){}supports(t){return t instanceof Map||yc(t)}create(){return new Fc}},Fc=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||yc(t)))throw new M(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){let r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){let o=this._records.get(t);this._maybeAddToChanges(o,n);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new jc(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))}},jc=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function rh(){return new AD([new Lc])}var AD=(()=>{class e{static \u0275prov=G({token:e,providedIn:"root",factory:rh});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:()=>{let r=w(e,{optional:!0,skipSelf:!0});return e.create(n,r||rh())}}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new M(901,!1)}}return e})();function GL(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;R(x.BootstrapApplicationStart);try{let i=o?.injector??MD(r),s=[Oc(),Cu,...n||[]],a=new or({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return bD({r3Injector:a.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{R(x.BootstrapApplicationEnd)}}function zL(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function QL(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function ZL(e,t){let n=qe(e),r=t.elementInjector||tn();return new Rt(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings)}var Pt=(function(e){return e[e.State=0]="State",e[e.Transition=1]="Transition",e[e.Sequence=2]="Sequence",e[e.Group=3]="Group",e[e.Animate=4]="Animate",e[e.Keyframes=5]="Keyframes",e[e.Style=6]="Style",e[e.Trigger=7]="Trigger",e[e.Reference=8]="Reference",e[e.AnimateChild=9]="AnimateChild",e[e.AnimateRef=10]="AnimateRef",e[e.Query=11]="Query",e[e.Stagger=12]="Stagger",e})(Pt||{}),tF="*";function nF(e,t){return{type:Pt.Trigger,name:e,definitions:t,options:{}}}function rF(e,t=null){return{type:Pt.Animate,styles:t,timings:e}}function oF(e,t=null){return{type:Pt.Sequence,steps:e,options:t}}function iF(e){return{type:Pt.Style,styles:e,offset:null}}function sF(e,t,n){return{type:Pt.State,name:e,styles:t,options:n}}function aF(e,t,n=null){return{type:Pt.Transition,expr:e,animation:t,options:n}}var ah=class{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(t=0,n=0){this.totalTime=t+n}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){let n=t=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},ch=class{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(t){this.players=t;let n=0,r=0,o=0,i=this.players.length;i==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++n==i&&this._onFinish()}),s.onDestroy(()=>{++r==i&&this._onDestroy()}),s.onStart(()=>{++o==i&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){let n=t*this.totalTime;this.players.forEach(r=>{let o=r.totalTime?Math.min(1,n/r.totalTime):1;r.setPosition(o)})}getPosition(){let t=this.players.reduce((n,r)=>n===null||r.totalTime>n.totalTime?r:n,null);return t!=null?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){let n=t=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},cF="!";export{$ as a,fh as b,_ as c,re as d,bn as e,_h as f,je as g,Te as h,Si as i,Mh as j,Nh as k,Pe as l,Sh as m,gh as n,Le as o,Fh as p,ge as q,Cn as r,Ke as s,Vh as t,Hh as u,xi as v,ut as w,zh as x,Qh as y,Tn as z,Yh as A,Jh as B,Xh as C,pl as D,eg as E,Qc as F,Gt as G,tg as H,Zc as I,rg as J,og as K,ig as L,sg as M,ag as N,cg as O,wh as P,Il as Q,El as R,lg as S,ug as T,M as U,kn as V,oo as W,G as X,Pl as Y,Eg as Z,k as _,_e as $,w as aa,Is as ba,Wl as ca,Cs as da,se as ea,po as fa,ou as ga,iu as ha,mu as ia,yu as ja,me as ka,Ys as la,it as ma,Mt as na,Ve as oa,Me as pa,$e as qa,Nt as ra,To as sa,Ue as ta,na as ua,bu as va,ra as wa,am as xa,wm as ya,Cd as za,cr as Aa,Rm as Ba,Om as Ca,xd as Da,Pm as Ea,Lm as Fa,Fm as Ga,Ad as Ha,jm as Ia,At as Ja,yn as Ka,ii as La,Um as Ma,qm as Na,Wm as Oa,Gm as Pa,zm as Qa,Xa as Ra,Gd as Sa,ur as Ta,Iy as Ua,Kd as Va,Ey as Wa,Cy as Xa,by as Ya,Vy as Za,Uo as _a,Jn as $a,dr as ab,Ze as bb,By as cb,$y as db,tr as eb,hr as fb,nr as gb,Bv as hb,gr as ib,Uv as jb,gi as kb,Yf as lb,Kf as mb,_I as nb,NI as ob,AI as pb,RI as qb,kI as rb,tp as sb,rp as tb,GI as ub,bc as vb,cp as wb,mi as xb,dp as yb,ZI as zb,YI as Ab,KI as Bb,JI as Cb,XI as Db,eE as Eb,fp as Fb,_c as Gb,Mc as Hb,pp as Ib,Nc as Jb,Sc as Kb,hp as Lb,mp as Mb,xc as Nb,Ac as Ob,yp as Pb,vp as Qb,iE as Rb,Ep as Sb,Dp as Tb,cE as Ub,lE as Vb,ei as Wb,bp as Xb,Tp as Yb,fE as Zb,hE as _b,gE as $b,_p as ac,Mp as bc,yE as cc,vE as dc,Np as ec,IE as fc,EE as gc,Ap as hc,Rp as ic,AE as jc,$E as kc,Vp as lc,Rc as mc,Hp as nc,Bp as oc,$p as pc,Up as qc,qp as rc,QE as sc,Wp as tc,ZE as uc,XE as vc,eD as wc,tD as xc,nD as yc,rD as zc,oD as Ac,iD as Bc,sD as Cc,lD as Dc,dD as Ec,fD as Fc,pD as Gc,hD as Hc,gD as Ic,kc as Jc,yD as Kc,Jp as Lc,HL as Mc,BL as Nc,$L as Oc,UL as Pc,qL as Qc,WL as Rc,AD as Sc,GL as Tc,zL as Uc,QL as Vc,ZL as Wc,Pt as Xc,tF as Yc,nF as Zc,rF as _c,oF as $c,iF as ad,sF as bd,aF as cd,ah as dd,ch as ed,cF as fd};