@duplicati/ngclient 0.0.194 → 0.0.196

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 (156) hide show
  1. package/assets/dest-icons/dunkel.png +0 -0
  2. package/assets/dest-icons/office365.png +0 -0
  3. package/assets/sh-bold.woff2 +0 -0
  4. package/assets/sh.woff2 +0 -0
  5. package/chunk-26MRZAFB.js +1 -0
  6. package/chunk-26Z7TPJB.js +4 -0
  7. package/{chunk-SFR3XMV4.js → chunk-3K3BYB36.js} +1 -1
  8. package/chunk-3UVBV6B3.js +3 -0
  9. package/chunk-44X4A7WY.js +1 -0
  10. package/chunk-4AQZL2UM.js +1 -0
  11. package/chunk-56MQ46JU.js +1 -0
  12. package/{chunk-G4VDCGMW.js → chunk-5LBG6MOL.js} +1 -1
  13. package/chunk-5VE6P5U5.js +1 -0
  14. package/{chunk-MHRECQ5Y.js → chunk-6LAXPU22.js} +1 -1
  15. package/{chunk-5RULL5XV.js → chunk-6TZPGZ7P.js} +1 -1
  16. package/{chunk-OTPG7USH.js → chunk-7AVOHYTE.js} +1 -1
  17. package/{chunk-ME77WZZI.js → chunk-7LTHH6OG.js} +1 -1
  18. package/{chunk-DAODMGAD.js → chunk-7TWUW4XJ.js} +1 -1
  19. package/{chunk-FQZFKTPW.js → chunk-A2O2XHOB.js} +1 -1
  20. package/{chunk-ZDILEG7V.js → chunk-AIH3GSIT.js} +1 -1
  21. package/chunk-AODNZLCK.js +2 -0
  22. package/{chunk-LP4W35DJ.js → chunk-B62TPRVG.js} +1 -1
  23. package/{chunk-5JYCHNFV.js → chunk-BABBRM6A.js} +1 -1
  24. package/chunk-BYUBKTO5.js +60 -0
  25. package/chunk-C5RNVTX6.js +1 -0
  26. package/chunk-CFNARBNK.js +1 -0
  27. package/chunk-D6IP567E.js +1 -0
  28. package/{chunk-XGIZ7XYY.js → chunk-EE5SIDTF.js} +1 -1
  29. package/{chunk-3C5RKSMK.js → chunk-EYCSUKCD.js} +1 -1
  30. package/chunk-F4ZMF6H4.js +1 -0
  31. package/chunk-G4IFZKMI.js +1 -0
  32. package/{chunk-NBQQSADE.js → chunk-G6NEOWER.js} +1 -1
  33. package/chunk-GZ5HYA4R.js +1 -0
  34. package/{chunk-BR4LUBSP.js → chunk-H45NIIKQ.js} +1 -1
  35. package/{chunk-HSUSP2MR.js → chunk-HCSB3IIB.js} +1 -1
  36. package/{chunk-ZPDK2GFB.js → chunk-HFZ6MYKF.js} +1 -1
  37. package/{chunk-H6ABNEPW.js → chunk-HOGZ74SB.js} +1 -1
  38. package/{chunk-5DJAX2HH.js → chunk-HSHF5HR7.js} +1 -1
  39. package/chunk-HUZXJWCG.js +1 -0
  40. package/chunk-I27PVH6D.js +1 -0
  41. package/{chunk-C2SNLPZY.js → chunk-I2RQR4CB.js} +1 -1
  42. package/chunk-IMHM7ISI.js +2 -0
  43. package/{chunk-TT3S63BX.js → chunk-KDSMLI73.js} +1 -1
  44. package/chunk-LPAIFT5I.js +11 -0
  45. package/{chunk-WA2IHWIU.js → chunk-LTGF4KMG.js} +1 -1
  46. package/{chunk-KRXQDBGB.js → chunk-MDXSNEQZ.js} +1 -1
  47. package/chunk-MI7UAY44.js +1 -0
  48. package/{chunk-JWO4FPWJ.js → chunk-MMEFBZO4.js} +1 -1
  49. package/chunk-MUFBZIQA.js +1 -0
  50. package/{chunk-HVFZUJ2H.js → chunk-MZ5COKIP.js} +1 -1
  51. package/chunk-NEC5ZCCT.js +1 -0
  52. package/{chunk-ZXVCNNR6.js → chunk-NGNWWP6M.js} +1 -1
  53. package/chunk-NK5WD6WE.js +1 -0
  54. package/{chunk-7EB3FVZI.js → chunk-NNNKIEPR.js} +1 -1
  55. package/chunk-NQAH5AL7.js +1 -0
  56. package/{chunk-WUL6NS6B.js → chunk-O5SO2U6L.js} +1 -1
  57. package/chunk-OKYEX2SC.js +2 -0
  58. package/chunk-P7OUKLCO.js +1 -0
  59. package/{chunk-QPTSKQZ2.js → chunk-PO3L6MKW.js} +2 -2
  60. package/chunk-POPZ47SS.js +2 -0
  61. package/{chunk-FOQJA6X2.js → chunk-QHBOEY2O.js} +1 -1
  62. package/chunk-QIGELWLA.js +1 -0
  63. package/{chunk-HHYYLYET.js → chunk-QJUNU5NP.js} +1 -1
  64. package/{chunk-HTPLC7IW.js → chunk-QLENTLZJ.js} +1 -1
  65. package/{chunk-DCMY3QXM.js → chunk-QTVWYVBT.js} +1 -1
  66. package/{chunk-B2Y54P3R.js → chunk-R5YJUVWW.js} +1 -1
  67. package/{chunk-44TUAFTV.js → chunk-S2RZQVCD.js} +1 -1
  68. package/{chunk-FK7JFD5B.js → chunk-SZUNW4JO.js} +1 -1
  69. package/{chunk-BJ4LD474.js → chunk-T4IKTBRQ.js} +1 -1
  70. package/chunk-TL4WOQKT.js +1 -0
  71. package/{chunk-K3VAYERA.js → chunk-U2E3ZQUP.js} +1 -1
  72. package/{chunk-PDAA26RM.js → chunk-UK7MV4OF.js} +1 -1
  73. package/chunk-UNLX3IVU.js +1 -0
  74. package/chunk-UNMDSCAN.js +1 -0
  75. package/chunk-UTZZ4OCF.js +1 -0
  76. package/chunk-V7OCP4NF.js +1 -0
  77. package/{chunk-DW332N2S.js → chunk-VDSX2M4H.js} +1 -1
  78. package/{chunk-7XS6T6TX.js → chunk-VFBRHP2H.js} +1 -1
  79. package/chunk-VLC2XPEM.js +1 -0
  80. package/chunk-VVQRXJRI.js +1 -0
  81. package/chunk-WIQPWRZV.js +1 -0
  82. package/{chunk-2EIDUF2P.js → chunk-X4GGVQ44.js} +1 -1
  83. package/chunk-XIYAYCFU.js +1 -0
  84. package/chunk-XZH2SXWG.js +1 -0
  85. package/chunk-YHMXLWRX.js +1 -0
  86. package/chunk-Z3PICU3O.js +1 -0
  87. package/{chunk-VYJNNEM5.js → chunk-ZHGDQABC.js} +1 -1
  88. package/{chunk-NNCQNVQC.js → chunk-ZU6T3TW3.js} +1 -1
  89. package/chunk-ZWLAV6HO.js +1 -0
  90. package/index.html +2 -2
  91. package/locale/dayjs/it.js +1 -1
  92. package/locale/messages.de_CH.json +708 -0
  93. package/locale/messages.de_DE.json +708 -0
  94. package/locale/messages.en.json +777 -1
  95. package/locale/messages.en_GB.json +606 -5
  96. package/locale/messages.es_AR.json +193 -0
  97. package/locale/messages.fr_CA.json +708 -0
  98. package/locale/messages.fr_FR.json +708 -0
  99. package/locale/messages.it_IT.json +708 -0
  100. package/locale/messages.ja.json +169 -0
  101. package/locale/messages.ja_JP.json +3 -4
  102. package/locale/messages.json +777 -1
  103. package/locale/messages.nl_BE.json +708 -0
  104. package/locale/messages.zh-Hans.json +9 -15
  105. package/locale/messages.zh-Hant.json +639 -0
  106. package/locale/messages.zh.json +639 -0
  107. package/locale/messages.zh_CN.json +9 -15
  108. package/locale/messages.zh_HK.json +639 -0
  109. package/{main-GWHYPXKT.js → main-7BGVZMHJ.js} +1 -1
  110. package/package.json +1 -1
  111. package/styles-H32RJLOU.css +1 -0
  112. package/chunk-2PAQOFN3.js +0 -1
  113. package/chunk-2XK5TFRS.js +0 -1
  114. package/chunk-2XXH473G.js +0 -1
  115. package/chunk-2YEG7JK3.js +0 -1
  116. package/chunk-3SHOBVX6.js +0 -2
  117. package/chunk-4CELGWVJ.js +0 -1
  118. package/chunk-4YM23PM6.js +0 -1
  119. package/chunk-6GC4UPHS.js +0 -1
  120. package/chunk-7BMCHZU3.js +0 -1
  121. package/chunk-A4LPGPDU.js +0 -1
  122. package/chunk-AS6Z56AD.js +0 -1
  123. package/chunk-ATPBBNLG.js +0 -1
  124. package/chunk-BGTK25UG.js +0 -1
  125. package/chunk-BOZ44QUT.js +0 -1
  126. package/chunk-DGKNUD3G.js +0 -2
  127. package/chunk-ECRDYEF2.js +0 -1
  128. package/chunk-G22PSFMM.js +0 -7
  129. package/chunk-HPNLQHW6.js +0 -1
  130. package/chunk-KDJCL6HE.js +0 -1
  131. package/chunk-KEE3H2WJ.js +0 -1
  132. package/chunk-KETMZS6P.js +0 -1
  133. package/chunk-LSXNHFLE.js +0 -3
  134. package/chunk-MKQQI3MM.js +0 -2
  135. package/chunk-MRAKGZE6.js +0 -1
  136. package/chunk-O4OTZE5N.js +0 -1
  137. package/chunk-OCQNG4JU.js +0 -1
  138. package/chunk-PKPBSTZA.js +0 -1
  139. package/chunk-S3K2SIX7.js +0 -1
  140. package/chunk-T2WO6CVD.js +0 -4
  141. package/chunk-T7WSF7RL.js +0 -60
  142. package/chunk-TELPJYLN.js +0 -1
  143. package/chunk-UE5VHUV6.js +0 -1
  144. package/chunk-VEWX3KXN.js +0 -2
  145. package/chunk-VHOAXFIJ.js +0 -1
  146. package/chunk-VIONVZIF.js +0 -1
  147. package/chunk-VTKKVX26.js +0 -1
  148. package/chunk-W3543UFN.js +0 -1
  149. package/chunk-WHQUOABU.js +0 -1
  150. package/chunk-WIVARGP6.js +0 -1
  151. package/chunk-XFDHZX44.js +0 -1
  152. package/chunk-XR7KQQO4.js +0 -1
  153. package/chunk-XZ37OAYY.js +0 -1
  154. package/chunk-YDDSLDHZ.js +0 -1
  155. package/chunk-ZAFP5TX6.js +0 -1
  156. package/styles-CY5DE4O7.css +0 -1
Binary file
Binary file
Binary file
package/assets/sh.woff2 CHANGED
Binary file
@@ -0,0 +1 @@
1
+ import"./chunk-7CGTOI24.js";var o=[{path:"",loadComponent:()=>import("./chunk-S2RZQVCD.js"),children:[{path:"",redirectTo:"stored",pathMatch:"full"},{path:"stored",loadComponent:()=>import("./chunk-HCSB3IIB.js")},{path:"live",loadComponent:()=>import("./chunk-YHMXLWRX.js")}]}],t=o;export{t as default};
@@ -0,0 +1,4 @@
1
+ import{a as z,b as Q}from"./chunk-7CGTOI24.js";var X=null,Qr=!1,es=1,Zg=null,j=Symbol("SIGNAL");function I(e){let t=X;return X=e,t}function Zr(){return X}var Ve={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 tt(e){if(Qr)throw new Error("");if(X===null)return;X.consumerOnSignalRead(e);let t=X.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=X.recomputing;if(r&&(n=t!==void 0?t.nextProducer:X.producers,n!==void 0&&n.producer===e)){X.producersTail=n,n.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===X&&(!r||Yg(o,X)))return;let i=an(X),s={producer:e,consumer:X,nextProducer:n,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};X.producersTail=s,t!==void 0?t.nextProducer=s:X.producers=s,i&&zl(e,s)}function Ul(){es++}function _t(e){if(!(an(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===es)){if(!e.producerMustRecompute(e)&&!sn(e)){on(e);return}e.producerRecomputeValue(e),on(e)}}function ts(e){if(e.consumers===void 0)return;let t=Qr;Qr=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||ql(r)}}finally{Qr=t}}function ns(){return X?.consumerAllowSignalWrites!==!1}function ql(e){e.dirty=!0,ts(e),e.consumerMarkedDirty?.(e)}function on(e){e.dirty=!1,e.lastCleanEpoch=es}function He(e){return e&&Wl(e),I(e)}function Wl(e){e.producersTail=void 0,e.recomputing=!0}function nt(e,t){I(t),e&&Gl(e)}function Gl(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(an(e))do n=rs(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function sn(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(_t(n),r!==n.version))return!0}return!1}function rt(e){if(an(e)){let t=e.producers;for(;t!==void 0;)t=rs(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function zl(e,t){let n=e.consumersTail,r=an(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)zl(o.producer,o)}function rs(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,!an(t)){let i=t.producers;for(;i!==void 0;)i=rs(i)}return n}function an(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function Bn(e){Zg?.(e)}function Yg(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 $n(e,t){return Object.is(e,t)}function Un(e,t){let n=Object.create(Kg);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(_t(n),tt(n),n.value===je)throw n.error;return n.value};return r[j]=n,Bn(n),r}var et=Symbol("UNSET"),wt=Symbol("COMPUTING"),je=Symbol("ERRORED"),Kg=Q(z({},Ve),{value:et,dirty:!0,error:null,equal:$n,kind:"computed",producerMustRecompute(e){return e.value===et||e.value===wt},producerRecomputeValue(e){if(e.value===wt)throw new Error("");let t=e.value;e.value=wt;let n=He(e),r,o=!1;try{r=e.computation(),I(null),o=t!==et&&t!==je&&r!==je&&e.equal(t,r)}catch(i){r=je,e.error=i}finally{nt(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function Jg(){throw new Error}var Ql=Jg;function Zl(e){Ql(e)}function os(e){Ql=e}var Xg=null;function is(e,t){let n=Object.create(Kr);n.value=e,t!==void 0&&(n.equal=t);let r=()=>Yl(n);return r[j]=n,Bn(n),[r,s=>ot(n,s),s=>Yr(n,s)]}function Yl(e){return tt(e),e.value}function ot(e,t){ns()||Zl(e),e.equal(e.value,t)||(e.value=t,em(e))}function Yr(e,t){ns()||Zl(e),ot(e,t(e.value))}var Kr=Q(z({},Ve),{equal:$n,value:void 0,kind:"signal"});function em(e){e.version++,Ul(),ts(e),Xg?.(e)}function ss(e){let t=I(null);try{return e()}finally{I(t)}}var as=Q(z({},Ve),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function cs(e){if(e.dirty=!1,e.version>0&&!sn(e))return;e.version++;let t=He(e);try{e.cleanup(),e.fn()}finally{nt(e,t)}}function C(e){return typeof e=="function"}function cn(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 Jr=cn(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
2
+ ${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
3
+ `)}`:"",this.name="UnsubscriptionError",this.errors=n});function Mt(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var Z=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(C(r))try{r()}catch(i){t=i instanceof Jr?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Kl(i)}catch(s){t=t??[],s instanceof Jr?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Jr(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Kl(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)&&Mt(n,t)}remove(t){let{_finalizers:n}=this;n&&Mt(n,t),t instanceof e&&t._removeParent(this)}};Z.EMPTY=(()=>{let e=new Z;return e.closed=!0,e})();var ls=Z.EMPTY;function Xr(e){return e instanceof Z||e&&"closed"in e&&C(e.remove)&&C(e.add)&&C(e.unsubscribe)}function Kl(e){C(e)?e():e.unsubscribe()}var ve={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var ln={setTimeout(e,t,...n){let{delegate:r}=ln;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=ln;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function eo(e){ln.setTimeout(()=>{let{onUnhandledError:t}=ve;if(t)t(e);else throw e})}function qn(){}var Jl=us("C",void 0,void 0);function Xl(e){return us("E",void 0,e)}function eu(e){return us("N",e,void 0)}function us(e,t,n){return{kind:e,value:t,error:n}}var Nt=null;function un(e){if(ve.useDeprecatedSynchronousErrorHandling){let t=!Nt;if(t&&(Nt={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=Nt;if(Nt=null,n)throw r}}else e()}function tu(e){ve.useDeprecatedSynchronousErrorHandling&&Nt&&(Nt.errorThrown=!0,Nt.error=e)}var St=class extends Z{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Xr(t)&&t.add(this)):this.destination=rm}static create(t,n,r){return new Be(t,n,r)}next(t){this.isStopped?fs(eu(t),this):this._next(t)}error(t){this.isStopped?fs(Xl(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?fs(Jl,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()}}},tm=Function.prototype.bind;function ds(e,t){return tm.call(e,t)}var ps=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){to(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){to(r)}else to(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){to(n)}}},Be=class extends St{constructor(t,n,r){super();let o;if(C(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&ve.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&ds(t.next,i),error:t.error&&ds(t.error,i),complete:t.complete&&ds(t.complete,i)}):o=t}this.destination=new ps(o)}};function to(e){ve.useDeprecatedSynchronousErrorHandling?tu(e):eo(e)}function nm(e){throw e}function fs(e,t){let{onStoppedNotification:n}=ve;n&&ln.setTimeout(()=>n(e,t))}var rm={closed:!0,next:qn,error:nm,complete:qn};var dn=typeof Symbol=="function"&&Symbol.observable||"@@observable";function ne(e){return e}function om(...e){return hs(e)}function hs(e){return e.length===0?ne:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var N=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=sm(n)?n:new Be(n,r,o);return un(()=>{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=nu(r),new r((o,i)=>{let s=new Be({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)}[dn](){return this}pipe(...n){return hs(n)(this)}toPromise(n){return n=nu(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 nu(e){var t;return(t=e??ve.Promise)!==null&&t!==void 0?t:Promise}function im(e){return e&&C(e.next)&&C(e.error)&&C(e.complete)}function sm(e){return e&&e instanceof St||im(e)&&Xr(e)}var ru=cn(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var le=(()=>{class e extends N{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new no(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new ru}next(n){un(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){un(()=>{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(){un(()=>{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?ls:(this.currentObservers=null,i.push(n),new Z(()=>{this.currentObservers=null,Mt(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new N;return n.source=this,n}}return e.create=(t,n)=>new no(t,n),e})(),no=class extends le{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:ls}};function ro(e){return e&&C(e.schedule)}function ou(e){return e[e.length-1]}function fn(e){return C(ou(e))?e.pop():void 0}function it(e){return ro(ou(e))?e.pop():void 0}function su(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 iu(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 xt(e){return this instanceof xt?(this.v=e,this):new xt(e)}function au(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(h){return Promise.resolve(h).then(f,d)}}function a(f,h){r[f]&&(o[f]=function(g){return new Promise(function(E,y){i.push([f,g,E,y])>1||c(f,g)})},h&&(o[f]=h(o[f])))}function c(f,h){try{l(r[f](h))}catch(g){p(i[0][3],g)}}function l(f){f.value instanceof xt?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 cu(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 iu=="function"?iu(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 oo=e=>e&&typeof e.length=="number"&&typeof e!="function";function io(e){return C(e?.then)}function so(e){return C(e[dn])}function ao(e){return Symbol.asyncIterator&&C(e?.[Symbol.asyncIterator])}function co(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 am(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var lo=am();function uo(e){return C(e?.[lo])}function fo(e){return au(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield xt(n.read());if(o)return yield xt(void 0);yield yield xt(r)}}finally{n.releaseLock()}})}function po(e){return C(e?.getReader)}function F(e){if(e instanceof N)return e;if(e!=null){if(so(e))return cm(e);if(oo(e))return lm(e);if(io(e))return um(e);if(ao(e))return lu(e);if(uo(e))return dm(e);if(po(e))return fm(e)}throw co(e)}function cm(e){return new N(t=>{let n=e[dn]();if(C(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function lm(e){return new N(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function um(e){return new N(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,eo)})}function dm(e){return new N(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function lu(e){return new N(t=>{pm(e,t).catch(n=>t.error(n))})}function fm(e){return lu(fo(e))}function pm(e,t){var n,r,o,i;return su(this,void 0,void 0,function*(){try{for(n=cu(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function oe(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function hm(e){return C(e?.lift)}function M(e){return t=>{if(hm(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 _(e,t,n,r,o){return new gs(e,t,n,r,o)}var gs=class extends St{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 ho(e,t=0){return M((n,r)=>{n.subscribe(_(r,o=>oe(r,e,()=>r.next(o),t),()=>oe(r,e,()=>r.complete(),t),o=>oe(r,e,()=>r.error(o),t)))})}function go(e,t=0){return M((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function uu(e,t){return F(e).pipe(go(t),ho(t))}function du(e,t){return F(e).pipe(go(t),ho(t))}function fu(e,t){return new N(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function pu(e,t){return new N(n=>{let r;return oe(n,t,()=>{r=e[lo](),oe(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>C(r?.return)&&r.return()})}function mo(e,t){if(!e)throw new Error("Iterable cannot be null");return new N(n=>{oe(n,t,()=>{let r=e[Symbol.asyncIterator]();oe(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function hu(e,t){return mo(fo(e),t)}function gu(e,t){if(e!=null){if(so(e))return uu(e,t);if(oo(e))return fu(e,t);if(io(e))return du(e,t);if(ao(e))return mo(e,t);if(uo(e))return pu(e,t);if(po(e))return hu(e,t)}throw co(e)}function st(e,t){return t?gu(e,t):F(e)}function gm(...e){let t=it(e);return st(e,t)}function at(e,t){return M((n,r)=>{let o=0;n.subscribe(_(r,i=>{r.next(e.call(t,i,o++))}))})}function ms(e){return M((t,n)=>{let r=null,o=!1,i;r=t.subscribe(_(n,void 0,void 0,s=>{i=F(e(s,ms(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}var yo=class extends Z{constructor(t,n){super()}schedule(t,n=0){return this}};var Wn={setInterval(e,t,...n){let{delegate:r}=Wn;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=Wn;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var vo=class extends yo{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 Wn.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&&Wn.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,Mt(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var Gn={now(){return(Gn.delegate||Date).now()},delegate:void 0};var pn=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)}};pn.now=Gn.now;var Eo=class extends pn{constructor(t,n=pn.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 ys=new Eo(vo),mu=ys;function mm(e,t=ys){return M((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(_(r,l=>{i=l,s=t.now(),o||(o=t.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}var At=new N(e=>e.complete());function Io(e){return e<=0?()=>At:M((t,n)=>{let r=0;t.subscribe(_(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function ym(e,t=ne){return e=e??vm,M((n,r)=>{let o,i=!0;n.subscribe(_(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function vm(e,t){return e===t}function yu(e){return M((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function vu(e,t){return M((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(_(r,c=>{o?.unsubscribe();let l=0,u=i++;F(e(c,u)).subscribe(o=_(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Eu(e){return M((t,n)=>{F(e).subscribe(_(n,()=>n.complete(),qn)),!n.closed&&t.subscribe(n)})}var zn=class extends le{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 Qn=class extends le{constructor(t=1/0,n=1/0,r=Gn){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};function Em(e,t){let n=C(e)?e:()=>e,r=o=>o.error(n());return new N(t?o=>t.schedule(r,0,o):r)}function Im(e){return!!e&&(e instanceof N||C(e.lift)&&C(e.subscribe))}var Zn=cn(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Iu(e){return e instanceof Date&&!isNaN(e)}var{isArray:Dm}=Array;function Cm(e,t){return Dm(t)?e(...t):e(t)}function Do(e){return at(t=>Cm(e,t))}var{isArray:bm}=Array,{getPrototypeOf:Tm,prototype:wm,keys:_m}=Object;function Co(e){if(e.length===1){let t=e[0];if(bm(t))return{args:t,keys:null};if(Mm(t)){let n=_m(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function Mm(e){return e&&typeof e=="object"&&Tm(e)===wm}function bo(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Nm(...e){let t=it(e),n=fn(e),{args:r,keys:o}=Co(e);if(r.length===0)return st([],t);let i=new N(Sm(r,t,o?s=>bo(o,s):ne));return n?i.pipe(Do(n)):i}function Sm(e,t,n=ne){return r=>{Du(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Du(t,()=>{let l=st(e[c],t),u=!1;l.subscribe(_(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Du(e,t,n){e?oe(n,e,t):t()}function Cu(e,t,n,r,o,i,s,a){let c=[],l=0,u=0,d=!1,p=()=>{d&&!c.length&&!l&&t.complete()},f=g=>l<r?h(g):c.push(g),h=g=>{i&&t.next(g),l++;let E=!1;F(n(g,u++)).subscribe(_(t,y=>{o?.(y),i?f(y):t.next(y)},()=>{E=!0},void 0,()=>{if(E)try{for(l--;c.length&&l<r;){let y=c.shift();s?oe(t,s,()=>h(y)):h(y)}p()}catch(y){t.error(y)}}))};return e.subscribe(_(t,f,()=>{d=!0,p()})),()=>{a?.()}}function Rt(e,t,n=1/0){return C(t)?Rt((r,o)=>at((i,s)=>t(r,i,o,s))(F(e(r,o))),n):(typeof t=="number"&&(n=t),M((r,o)=>Cu(r,o,e,n)))}function vs(e=1/0){return Rt(ne,e)}function bu(){return vs(1)}function To(...e){return bu()(st(e,it(e)))}function xm(e){return new N(t=>{F(e()).subscribe(t)})}function Am(...e){let t=fn(e),{args:n,keys:r}=Co(e),o=new N(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u<s;u++){let d=!1;F(n[u]).subscribe(_(i,p=>{d||(d=!0,l--),a[u]=p},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?bo(r,a):a),i.complete())}))}});return t?o.pipe(Do(t)):o}function Es(e=0,t,n=mu){let r=-1;return t!=null&&(ro(t)?n=t:r=t),new N(o=>{let i=Iu(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}var{isArray:Rm}=Array;function Tu(e){return e.length===1&&Rm(e[0])?e[0]:e}function Is(e,t){return M((n,r)=>{let o=0;n.subscribe(_(r,i=>e.call(t,i,o++)&&r.next(i)))})}function km(...e){let t=fn(e),n=Tu(e);return n.length?new N(r=>{let o=n.map(()=>[]),i=n.map(()=>!1);r.add(()=>{o=i=null});for(let s=0;!r.closed&&s<n.length;s++)F(n[s]).subscribe(_(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}}):At}function Om(e,t){return C(t)?Rt(e,t,1):Rt(e,1)}function wu(e){return M((t,n)=>{let r=!1;t.subscribe(_(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function _u(e=Pm){return M((t,n)=>{let r=!1;t.subscribe(_(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Pm(){return new Zn}function Lm(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Is((o,i)=>e(o,i,r)):ne,Io(1),n?wu(t):_u(()=>new Zn))}function Fm(e){return e<=0?()=>At:M((t,n)=>{let r=[];t.subscribe(_(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 jm(e=1/0){let t;e&&typeof e=="object"?t=e:t={count:e};let{count:n=1/0,delay:r,resetOnSuccess:o=!1}=t;return n<=0?ne:M((i,s)=>{let a=0,c,l=()=>{let u=!1;c=i.subscribe(_(s,d=>{o&&(a=0),s.next(d)},void 0,d=>{if(a++<n){let p=()=>{c?(c.unsubscribe(),c=null,l()):u=!0};if(r!=null){let f=typeof r=="number"?Es(r):F(r(d,a)),h=_(s,()=>{h.unsubscribe(),p()},()=>{s.complete()});f.subscribe(h)}else p()}else s.error(d)})),u&&(c.unsubscribe(),c=null,l())};l()})}function Mu(e={}){let{connector:t=()=>new le,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,l=0,u=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=c=void 0,u=d=!1},h=()=>{let g=s;f(),g?.unsubscribe()};return M((g,E)=>{l++,!d&&!u&&p();let y=c=c??t();E.add(()=>{l--,l===0&&!d&&!u&&(a=Ds(h,o))}),y.subscribe(E),!s&&l>0&&(s=new Be({next:L=>y.next(L),error:L=>{d=!0,p(),a=Ds(f,n,L),y.error(L)},complete:()=>{u=!0,p(),a=Ds(f,r),y.complete()}}),F(g).subscribe(s))})(i)}}function Ds(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new Be({next:()=>{r.unsubscribe(),e()}});return F(t(...n)).subscribe(r)}function Vm(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,Mu({connector:()=>new Qn(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function Hm(...e){let t=it(e);return M((n,r)=>{(t?To(e,n,t):To(e,n)).subscribe(r)})}function Nu(e,t,n){let r=C(e)||t||n?{next:e,error:t,complete:n}:e;return r?M((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(_(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)}))}):ne}function Cs(e,t,n){let r=Object.create(Bm);r.source=e,r.computation=t,n!=null&&(r.equal=n);let i=()=>{if(_t(r),tt(r),r.value===je)throw r.error;return r.value};return i[j]=r,Bn(r),i}function Su(e,t){_t(e),ot(e,t),on(e)}function xu(e,t){_t(e),Yr(e,t),on(e)}var Bm=Q(z({},Ve),{value:et,dirty:!0,error:null,equal:$n,kind:"linkedSignal",producerMustRecompute(e){return e.value===et||e.value===wt},producerRecomputeValue(e){if(e.value===wt)throw new Error("");let t=e.value;e.value=wt;let n=He(e),r;try{let o=e.source(),i=t===et||t===je?void 0:{source:e.sourceValue,value:t};r=e.computation(o,i),e.sourceValue=o}catch(o){r=je,e.error=o}finally{nt(e,n)}if(t!==et&&r!==je&&e.equal(t,r)){e.value=t;return}e.value=r,e.version++}});var bs;function wo(){return bs}function _e(e){let t=bs;return bs=e,t}var Au=Symbol("NotFound");function hn(e){return e===Au||e?.name==="\u0275NotFound"}var ws=class{full;major;minor;patch;constructor(t){this.full=t;let n=t.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}};var Ro="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",b=class extends Error{code;constructor(t,n){super(nr(t,n)),this.code=t}};function $m(e){return`NG0${Math.abs(e)}`}function nr(e,t){return`${$m(e)}${t?": "+t:""}`}var Se=globalThis;function P(e){for(let t in e)if(e[t]===P)return t;throw Error("")}function Lu(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function qe(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(qe).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 ko(e,t){return e?t?`${e} ${t}`:e:t||""}var Um=P({__forward_ref__:P});function Oo(e){return e.__forward_ref__=Oo,e.toString=function(){return qe(this())},e}function Y(e){return Fs(e)?e():e}function Fs(e){return typeof e=="function"&&e.hasOwnProperty(Um)&&e.__forward_ref__===Oo}function Fu(e,t,n){e!=t&&ju(n,e,t,"==")}function ju(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(r==null?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}function U(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Vu(e){return{providers:e.providers||[],imports:e.imports||[]}}function rr(e){return Wm(e,Po)}function qm(e){return rr(e)!==null}function Wm(e,t){return e.hasOwnProperty(t)&&e[t]||null}function Gm(e){let t=e?.[Po]??null;return t||null}function _s(e){return e&&e.hasOwnProperty(Mo)?e[Mo]:null}var Po=P({\u0275prov:P}),Mo=P({\u0275inj:P}),R=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=U({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function js(e){return e&&!!e.\u0275providers}var Vs=P({\u0275cmp:P}),Hs=P({\u0275dir:P}),Bs=P({\u0275pipe:P}),$s=P({\u0275mod:P}),Kn=P({\u0275fac:P}),Ft=P({__NG_ELEMENT_ID__:P}),Ru=P({__NG_ENV_ID__:P});function Us(e){return Fo(e,"@NgModule"),e[$s]||null}function Ie(e){return Fo(e,"@Component"),e[Vs]||null}function Lo(e){return Fo(e,"@Directive"),e[Hs]||null}function qs(e){return Fo(e,"@Pipe"),e[Bs]||null}function Fo(e,t){if(e==null)throw new b(-919,!1)}function de(e){return typeof e=="string"?e:e==null?"":String(e)}function Hu(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():de(e)}var Bu=P({ngErrorCode:P}),zm=P({ngErrorMessage:P}),Qm=P({ngTokenPath:P});function Ws(e,t){return $u("",-200,t)}function jo(e,t){throw new b(-201,!1)}function $u(e,t,n){let r=new b(t,e);return r[Bu]=t,r[zm]=e,n&&(r[Qm]=n),r}function Zm(e){return e[Bu]}var Ms;function Uu(){return Ms}function re(e){let t=Ms;return Ms=e,t}function Gs(e,t,n){let r=rr(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;jo(e,"")}var Ym={},kt=Ym,Km="__NG_DI_FLAG__",Ns=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=Ot(n)||0;try{return this.injector.get(t,r&8?null:kt,r)}catch(o){if(hn(o))return o;throw o}}};function Jm(e,t=0){let n=wo();if(n===void 0)throw new b(-203,!1);if(n===null)return Gs(e,void 0,t);{let r=Xm(t),o=n.retrieve(e,r);if(hn(o)){if(r.optional)return null;throw o}return o}}function Me(e,t=0){return(Uu()||Jm)(Y(e),t)}function w(e,t){return Me(e,Ot(t))}function Ot(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Xm(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function Ss(e){let t=[];for(let n=0;n<e.length;n++){let r=Y(e[n]);if(Array.isArray(r)){if(r.length===0)throw new b(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=ey(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(Me(o,i))}else t.push(Me(r))}return t}function ey(e){return e[Km]}function ct(e,t){let n=e.hasOwnProperty(Kn);return n?e[Kn]:null}function qu(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 Wu(e){return e.flat(Number.POSITIVE_INFINITY)}function Vo(e,t){e.forEach(n=>Array.isArray(n)?Vo(n,t):t(n))}function zs(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function or(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Gu(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function zu(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 ir(e,t,n){let r=mn(e,t);return r>=0?e[r|1]=n:(r=~r,zu(e,r,t,n)),r}function Ho(e,t){let n=mn(e,t);if(n>=0)return e[n|1]}function mn(e,t){return ty(e,t,1)}function ty(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 dt={},K=[],sr=new R(""),Qs=new R("",-1),Zs=new R(""),Jn=class{get(t,n=kt){if(n===kt){let o=$u("",-201);throw o.name="\u0275NotFound",o}return n}};function Ys(e){return{\u0275providers:e}}function Qu(...e){return{\u0275providers:Bo(!0,e),\u0275fromNgModule:!0}}function Bo(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Vo(t,s=>{let a=s;No(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Zu(o,i),n}function Zu(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];Ks(o,i=>{t(i,r)})}}function No(e,t,n,r){if(e=Y(e),!e)return!1;let o=null,i=_s(e),s=!i&&Ie(e);if(!i&&!s){let c=e.ngModule;if(i=_s(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)No(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;Vo(i.imports,u=>{No(u,t,n,r)&&(l||=[],l.push(u))}),l!==void 0&&Zu(l,t)}if(!a){let l=ct(o)||(()=>new o);t({provide:o,useFactory:l,deps:K},o),t({provide:Zs,useValue:o,multi:!0},o),t({provide:sr,useValue:()=>Me(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;Ks(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function Ks(e,t){for(let n of e)js(n)&&(n=n.\u0275providers),Array.isArray(n)?Ks(n,t):t(n)}var ny=P({provide:String,useValue:P});function Yu(e){return e!==null&&typeof e=="object"&&ny in e}function ry(e){return!!(e&&e.useExisting)}function oy(e){return!!(e&&e.useFactory)}function Pt(e){return typeof e=="function"}function Ku(e){return!!e.useClass}var Js=new R(""),_o={},ku={},Ts;function yn(){return Ts===void 0&&(Ts=new Jn),Ts}var ue=class{},Lt=class extends ue{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,As(t,s=>this.processProvider(s)),this.records.set(Qs,gn(void 0,this)),o.has("environment")&&this.records.set(ue,gn(void 0,this));let i=this.records.get(Js);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Zs,K,{self:!0}))}retrieve(t,n){let r=Ot(n)||0;try{return this.get(t,kt,r)}catch(o){if(hn(o))return o;throw o}}destroy(){Yn(this),this._destroyed=!0;let t=I(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(),I(t)}}onDestroy(t){return Yn(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Yn(this);let n=_e(this),r=re(void 0),o;try{return t()}finally{_e(n),re(r)}}get(t,n=kt,r){if(Yn(this),t.hasOwnProperty(Ru))return t[Ru](this);let o=Ot(r),i,s=_e(this),a=re(void 0);try{if(!(o&4)){let l=this.records.get(t);if(l===void 0){let u=ly(t)&&rr(t);u&&this.injectableDefInScope(u)?l=gn(xs(t),_o):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l,o)}let c=o&2?yn():this.parent;return n=o&8&&n===kt?null:n,c.get(t,n)}catch(c){let l=Zm(c);throw l===-200||l===-201?new b(l,null):c}finally{re(a),_e(s)}}resolveInjectorInitializers(){let t=I(null),n=_e(this),r=re(void 0),o;try{let i=this.get(sr,K,{self:!0});for(let s of i)s()}finally{_e(n),re(r),I(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(qe(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=Y(t);let n=Pt(t)?t:Y(t&&t.provide),r=sy(t);if(!Pt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=gn(void 0,_o,!0),o.factory=()=>Ss(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=I(null);try{if(n.value===ku)throw Ws(qe(t));return n.value===_o&&(n.value=ku,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&cy(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{I(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=Y(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function xs(e){let t=rr(e),n=t!==null?t.factory:ct(e);if(n!==null)return n;if(e instanceof R)throw new b(204,!1);if(e instanceof Function)return iy(e);throw new b(204,!1)}function iy(e){if(e.length>0)throw new b(204,!1);let n=Gm(e);return n!==null?()=>n.factory(e):()=>new e}function sy(e){if(Yu(e))return gn(void 0,e.useValue);{let t=Xs(e);return gn(t,_o)}}function Xs(e,t,n){let r;if(Pt(e)){let o=Y(e);return ct(o)||xs(o)}else if(Yu(e))r=()=>Y(e.useValue);else if(oy(e))r=()=>e.useFactory(...Ss(e.deps||[]));else if(ry(e))r=(o,i)=>Me(Y(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=Y(e&&(e.useClass||e.provide));if(ay(e))r=()=>new o(...Ss(e.deps));else return ct(o)||xs(o)}return r}function Yn(e){if(e.destroyed)throw new b(205,!1)}function gn(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function ay(e){return!!e.deps}function cy(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function ly(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function As(e,t){for(let n of e)Array.isArray(n)?As(n,t):n&&js(n)?As(n.\u0275providers,t):t(n)}function $o(e,t){let n;e instanceof Lt?(Yn(e),n=e):n=new Ns(e);let r,o=_e(n),i=re(void 0);try{return t()}finally{_e(o),re(i)}}function Ju(){return Uu()!==void 0||wo()!=null}var De=0,v=1,D=2,$=3,ge=4,ee=5,jt=6,vn=7,H=8,ie=9,xe=10,S=11,En=12,ea=13,Vt=14,te=15,ft=16,Ht=17,Ae=18,ze=19,ta=20,Ue=21,Uo=22,lt=23,fe=24,Bt=25,$t=26,A=27,Xu=1,pt=6,ht=7,ar=8,Ut=9,V=10;function Re(e){return Array.isArray(e)&&typeof e[Xu]=="object"}function Ce(e){return Array.isArray(e)&&e[Xu]===!0}function na(e){return(e.flags&4)!==0}function gt(e){return e.componentOffset>-1}function In(e){return(e.flags&1)===1}function ke(e){return!!e.template}function Dn(e){return(e[D]&512)!==0}function mt(e){return(e[D]&256)===256}var ra="svg",ed="math";function se(e){for(;Array.isArray(e);)e=e[De];return e}function cr(e,t){return se(t[e])}function be(e,t){return se(t[e.index])}function qt(e,t){return e.data[t]}function Cn(e,t){return e[t]}function lr(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function me(e,t){let n=t[e];return Re(n)?n:n[De]}function td(e){return(e[D]&4)===4}function qo(e){return(e[D]&128)===128}function nd(e){return Ce(e[$])}function ae(e,t){return t==null?null:e[t]}function oa(e){e[Ht]=0}function ia(e){e[D]&1024||(e[D]|=1024,qo(e)&&Wt(e))}function rd(e,t){for(;e>0;)t=t[Vt],e--;return t}function ur(e){return!!(e[D]&9216||e[fe]?.dirty)}function Wo(e){e[xe].changeDetectionScheduler?.notify(8),e[D]&64&&(e[D]|=1024),ur(e)&&Wt(e)}function Wt(e){e[xe].changeDetectionScheduler?.notify(0);let t=ut(e);for(;t!==null&&!(t[D]&8192||(t[D]|=8192,!qo(t)));)t=ut(t)}function Go(e,t){if(mt(e))throw new b(911,!1);e[Ue]===null&&(e[Ue]=[]),e[Ue].push(t)}function sa(e,t){if(e[Ue]===null)return;let n=e[Ue].indexOf(t);n!==-1&&e[Ue].splice(n,1)}function ut(e){let t=e[$];return Ce(t)?t[$]:t}function aa(e){return e[vn]??=[]}function ca(e){return e.cleanup??=[]}function od(e,t,n,r){let o=aa(t);o.push(n),e.firstCreatePass&&ca(e).push(r,o.length-1)}var T={lFrame:gd(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Rs=!1;function id(){return T.lFrame.elementDepthCount}function sd(){T.lFrame.elementDepthCount++}function la(){T.lFrame.elementDepthCount--}function zo(){return T.bindingsEnabled}function ua(){return T.skipHydrationRootTNode!==null}function da(e){return T.skipHydrationRootTNode===e}function fa(){T.skipHydrationRootTNode=null}function m(){return T.lFrame.lView}function O(){return T.lFrame.tView}function ad(e){return T.lFrame.contextLView=e,e[H]}function cd(e){return T.lFrame.contextLView=null,e}function q(){let e=pa();for(;e!==null&&e.type===64;)e=e.parent;return e}function pa(){return T.lFrame.currentTNode}function bn(){let e=T.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Oe(e,t){let n=T.lFrame;n.currentTNode=e,n.isParent=t}function ha(){return T.lFrame.isParent}function ga(){T.lFrame.isParent=!1}function ma(){return T.lFrame.contextLView}function ya(){return Rs}function Xn(e){let t=Rs;return Rs=e,t}function Qe(){let e=T.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Qo(){return T.lFrame.bindingIndex}function ld(e){return T.lFrame.bindingIndex=e}function Te(){return T.lFrame.bindingIndex++}function dr(e){let t=T.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function ud(){return T.lFrame.inI18n}function va(e){T.lFrame.inI18n=e}function dd(e,t){let n=T.lFrame;n.bindingIndex=n.bindingRootIndex=e,Zo(t)}function fd(){return T.lFrame.currentDirectiveIndex}function Zo(e){T.lFrame.currentDirectiveIndex=e}function pd(e){let t=T.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Yo(){return T.lFrame.currentQueryIndex}function fr(e){T.lFrame.currentQueryIndex=e}function uy(e){let t=e[v];return t.type===2?t.declTNode:t.type===1?e[ee]:null}function Ea(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=uy(i),o===null||(i=i[Vt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=T.lFrame=hd();return r.currentTNode=t,r.lView=e,!0}function Ko(e){let t=hd(),n=e[v];T.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function hd(){let e=T.lFrame,t=e===null?null:e.child;return t===null?gd(e):t}function gd(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 md(){let e=T.lFrame;return T.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Ia=md;function Jo(){let e=md();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 yd(e){return(T.lFrame.contextLView=rd(e,T.lFrame.contextLView))[H]}function ye(){return T.lFrame.selectedIndex}function yt(e){T.lFrame.selectedIndex=e}function Tn(){let e=T.lFrame;return qt(e.tView,e.selectedIndex)}function vd(){T.lFrame.currentNamespace=ra}function Ed(){dy()}function dy(){T.lFrame.currentNamespace=null}function Id(){return T.lFrame.currentNamespace}var Dd=!0;function pr(){return Dd}function wn(e){Dd=e}function ks(e,t=null,n=null,r){let o=Da(e,t,n,r);return o.resolveInjectorInitializers(),o}function Da(e,t=null,n=null,r,o=new Set){let i=[n||K,Qu(e)];return r=r||(typeof e=="object"?void 0:qe(e)),new Lt(i,t||yn(),r||null,o)}var Ee=class e{static THROW_IF_NOT_FOUND=kt;static NULL=new Jn;static create(t,n){if(Array.isArray(t))return ks({name:""},n,t,"");{let r=t.name??"";return ks({name:r},t.parent,t.providers,r)}}static \u0275prov=U({token:e,providedIn:"any",factory:()=>Me(Qs)});static __NG_ELEMENT_ID__=-1},Ca=new R(""),Ze=(()=>{class e{static __NG_ELEMENT_ID__=fy;static __NG_ENV_ID__=n=>n}return e})(),So=class extends Ze{_lView;constructor(t){super(),this._lView=t}get destroyed(){return mt(this._lView)}onDestroy(t){let n=this._lView;return Go(n,t),()=>sa(n,t)}};function fy(){return new So(m())}var Cd=!1,bd=new R(""),Gt=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new zn(!1);debugTaskTracker=w(bd,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new N(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),this.debugTaskTracker?.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.debugTaskTracker?.remove(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=U({token:e,providedIn:"root",factory:()=>new e})}return e})(),Os=class extends le{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Ju()&&(this.destroyRef=w(Ze,{optional:!0})??void 0,this.pendingTasks=w(Gt,{optional:!0})??void 0)}emit(t){let n=I(null);try{super.next(t)}finally{I(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 Z&&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)}})}}},$e=Os;function xo(...e){}function ba(e){let t,n;function r(){e=xo;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 Td(e){return queueMicrotask(()=>e()),()=>{e=xo}}var Ta="isAngularZone",er=Ta+"_ID",py=0,Ne=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new $e(!1);onMicrotaskEmpty=new $e(!1);onStable=new $e(!1);onError=new $e(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Cd}=t;if(typeof Zone>"u")throw new b(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,my(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Ta)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new b(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new b(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,hy,xo,xo);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)}},hy={};function wa(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 gy(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){ba(()=>{e.callbackScheduled=!1,Ps(e),e.isCheckStableRunning=!0,wa(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Ps(e)}function my(e){let t=()=>{gy(e)},n=py++;e._inner=e._inner.fork({name:"angular",properties:{[Ta]:!0,[er]:n,[er+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(yy(c))return r.invokeTask(i,s,a,c);try{return Ou(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Pu(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return Ou(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!vy(c)&&t(),Pu(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Ps(e),wa(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 Ps(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Ou(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Pu(e){e._nesting--,wa(e)}var tr=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new $e;onMicrotaskEmpty=new $e;onStable=new $e;onError=new $e;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 yy(e){return wd(e,"__ignore_ng_zone__")}function vy(e){return wd(e,"__scheduler_tick__")}function wd(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var We=class{_console=console;handleError(t){this._console.error("ERROR",t)}},zt=new R("",{factory:()=>{let e=w(Ne),t=w(ue),n;return r=>{e.runOutsideAngular(()=>{t.destroyed&&!n?setTimeout(()=>{throw r}):(n??=t.get(We),n.handleError(r))})}}}),_d={provide:sr,useValue:()=>{let e=w(We,{optional:!0})},multi:!0};function vt(e,t){let[n,r,o]=is(e,t?.equal),i=n,s=i[j];return i.set=r,i.update=o,i.asReadonly=_n.bind(i),i}function _n(){let e=this[j];if(e.readonlyFn===void 0){let t=()=>this();t[j]=e,e.readonlyFn=t}return e.readonlyFn}var hr=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=Ey}return e})();function Ey(){return new hr(m(),q())}var Ge=class{},gr=new R("",{factory:()=>!0});var _a=new R(""),mr=(()=>{class e{internalPendingTasks=w(Gt);scheduler=w(Ge);errorHandler=w(zt);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=U({token:e,providedIn:"root",factory:()=>new e})}return e})(),Xo=(()=>{class e{static \u0275prov=U({token:e,providedIn:"root",factory:()=>new Ls})}return e})(),Ls=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}},Ao=class{[j];constructor(t){this[j]=t}destroy(){this[j].destroy()}};function Ma(e,t){let n=t?.injector??w(Ee),r=t?.manualCleanup!==!0?n.get(Ze):null,o,i=n.get(hr,null,{optional:!0}),s=n.get(Ge);return i!==null?(o=Cy(i.view,s,e),r instanceof So&&r._lView===i.view&&(r=null)):o=by(e,n.get(Xo),s),o.injector=n,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new Ao(o)}var Md=Q(z({},as),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let e=Xn(!1);try{cs(this)}finally{Xn(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=I(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],I(e)}}}),Iy=Q(z({},Md),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(rt(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this)}}),Dy=Q(z({},Md),{consumerMarkedDirty(){this.view[D]|=8192,Wt(this.view),this.notifier.notify(13)},destroy(){if(rt(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.view[lt]?.delete(this)}});function Cy(e,t,n){let r=Object.create(Dy);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=Nd(r,n),e[lt]??=new Set,e[lt].add(r),r.consumerMarkedDirty(r),r}function by(e,t,n){let r=Object.create(Iy);return r.fn=Nd(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 Nd(e,t){return()=>{t(n=>(e.cleanupFns??=[]).push(n))}}function pe(e){return ss(e)}function Pr(e){return{toString:e}.toString()}function xy(e){return typeof e=="function"}function yf(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var fi=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}},Ay=(()=>{let e=()=>vf;return e.ngInherit=!0,e})();function vf(e){return e.type.prototype.ngOnChanges&&(e.setInput=ky),Ry}function Ry(){let e=If(this),t=e?.current;if(t){let n=e.previous;if(n===dt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function ky(e,t,n,r,o){let i=this.declaredInputs[r],s=If(e)||Oy(e,{previous:dt,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new fi(l&&l.currentValue,n,c===dt),yf(e,t,o,n)}var Ef="__ngSimpleChanges__";function If(e){return e[Ef]||null}function Oy(e,t){return e[Ef]=t}var Sd=[];var k=function(e,t=null,n){for(let r=0;r<Sd.length;r++){let o=Sd[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 Py(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=vf(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 Df(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 oi(e,t,n){Cf(e,t,3,n)}function ii(e,t,n,r){(e[D]&3)===n&&Cf(e,t,n,r)}function Na(e,t){let n=e[D];(n&3)===t&&(n&=16383,n+=1,e[D]=n)}function Cf(e,t,n,r){let o=r!==void 0?e[Ht]&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[Ht]+=65536),(a<i||i==-1)&&(Ly(e,n,t,c),e[Ht]=(e[Ht]&4294901760)+c+2),c++}function xd(e,t){k(x.LifecycleHookStart,e,t);let n=I(null);try{t.call(e)}finally{I(n),k(x.LifecycleHookEnd,e,t)}}function Ly(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[D]>>14<e[Ht]>>16&&(e[D]&3)===t&&(e[D]+=16384,xd(a,i)):xd(a,i)}var Nn=-1,Zt=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 Fy(e){return(e.flags&8)!==0}function jy(e){return(e.flags&16)!==0}function Vy(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];Hy(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function bf(e){return e===3||e===4||e===6}function Hy(e){return e.charCodeAt(0)===64}function xn(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?Ad(e,n,o,null,t[++r]):Ad(e,n,o,null,null))}}return e}function Ad(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 Tf(e){return e!==Nn}function pi(e){return e&32767}function By(e){return e>>16}function hi(e,t){let n=By(e),r=t;for(;n>0;)r=r[Vt],n--;return r}var Ba=!0;function gi(e){let t=Ba;return Ba=e,t}var $y=256,wf=$y-1,_f=5,Uy=0,Pe={};function qy(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Ft)&&(r=n[Ft]),r==null&&(r=n[Ft]=Uy++);let o=r&wf,i=1<<o;t.data[e+(o>>_f)]|=i}function mi(e,t){let n=Mf(e,t);if(n!==-1)return n;let r=t[v];r.firstCreatePass&&(e.injectorIndex=t.length,Sa(r.data,e),Sa(t,null),Sa(r.blueprint,null));let o=Mc(e,t),i=e.injectorIndex;if(Tf(o)){let s=pi(o),a=hi(o,t),c=a[v].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function Sa(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Mf(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Mc(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=Rf(o),r===null)return Nn;if(n++,o=o[Vt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Nn}function $a(e,t,n){qy(e,t,n)}function Wy(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(bf(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 Nf(e,t,n){if(n&8||e!==void 0)return e;jo(t,"NodeInjector")}function Sf(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[ie],i=re(void 0);try{return o?o.get(t,r,n&8):Gs(t,r,n&8)}finally{re(i)}}return Nf(r,t,n)}function xf(e,t,n,r=0,o){if(e!==null){if(t[D]&2048&&!(r&2)){let s=Yy(e,t,n,r,Pe);if(s!==Pe)return s}let i=Af(e,t,n,r,Pe);if(i!==Pe)return i}return Sf(t,n,r,o)}function Af(e,t,n,r,o){let i=zy(n);if(typeof i=="function"){if(!Ea(t,e,r))return r&1?Nf(o,n,r):Sf(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))jo(n);else return s}finally{Ia()}}else if(typeof i=="number"){let s=null,a=Mf(e,t),c=Nn,l=r&1?t[te][ee]:null;for((a===-1||r&4)&&(c=a===-1?Mc(e,t):t[a+8],c===Nn||!kd(r,!1)?a=-1:(s=t[v],a=pi(c),t=hi(c,t)));a!==-1;){let u=t[v];if(Rd(i,a,u.data)){let d=Gy(a,t,n,s,r,l);if(d!==Pe)return d}c=t[a+8],c!==Nn&&kd(r,t[v].data[a+8]===l)&&Rd(i,a,t)?(s=u,a=pi(c),t=hi(c,t)):a=-1}}return o}function Gy(e,t,n,r,o,i){let s=t[v],a=s.data[e+8],c=r==null?gt(a)&&Ba:r!=s&&(a.type&3)!==0,l=o&1&&i===a,u=si(a,s,n,c,l);return u!==null?Tr(t,s,u,a,o):Pe}function si(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&&ke(f)&&f.type===n)return c}return null}function Tr(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof Zt){let a=i;if(a.resolving){let f=Hu(s[n]);throw Ws(f)}let c=gi(a.canSeeViewProviders);a.resolving=!0;let l=s[n].type||s[n],u,d=a.injectImpl?re(a.injectImpl):null,p=Ea(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&Py(n,s[n],t)}finally{d!==null&&re(d),gi(c),a.resolving=!1,Ia()}}return i}function zy(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Ft)?e[Ft]:void 0;return typeof t=="number"?t>=0?t&wf:Qy:t}function Rd(e,t,n){let r=1<<e;return!!(n[t+(e>>_f)]&r)}function kd(e,t){return!(e&2)&&!(e&1&&t)}var Qt=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return xf(this._tNode,this._lView,t,Ot(r),n)}};function Qy(){return new Qt(q(),m())}function Zy(e){return Pr(()=>{let t=e.prototype.constructor,n=t[Kn]||Ua(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Kn]||Ua(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Ua(e){return Fs(e)?()=>{let t=Ua(Y(e));return t&&t()}:ct(e)}function Yy(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[D]&2048&&!Dn(s);){let a=Af(i,s,n,r|2,Pe);if(a!==Pe)return a;let c=i.parent;if(!c){let l=s[ta];if(l){let u=l.get(n,Pe,r);if(u!==Pe)return u}c=Rf(s),s=s[Vt]}i=c}return o}function Rf(e){let t=e[v],n=t.type;return n===2?t.declTNode:n===1?e[ee]:null}function kf(e){return Wy(q(),e)}function Ky(){return Pn(q(),m())}function Pn(e,t){return new Lr(be(e,t))}var Lr=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=Ky}return e})();function Of(e){return e instanceof Lr?e.nativeElement:e}function Jy(){return this._results[Symbol.iterator]()}var yi=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 le}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=Wu(t);(this._changesDetected=!qu(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]=Jy};function Pf(e){return(e.flags&128)===128}var Nc=(function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e})(Nc||{}),Lf=new Map,Xy=0;function ev(){return Xy++}function tv(e){Lf.set(e[ze],e)}function qa(e){Lf.delete(e[ze])}var Od="__ngContext__";function It(e,t){Re(t)?(e[Od]=t[ze],tv(t)):e[Od]=t}function Ff(e){return Vf(e[En])}function jf(e){return Vf(e[ge])}function Vf(e){for(;e!==null&&!Ce(e);)e=e[ge];return e}var Wa;function nv(e){Wa=e}function Sc(){if(Wa!==void 0)return Wa;if(typeof document<"u")return document;throw new b(210,!1)}var rv=new R("",{factory:()=>ov}),ov="ng";var Hf=new R(""),iv=new R("",{providedIn:"platform",factory:()=>"unknown"});var sv=new R("",{factory:()=>w(Ca).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),Bf={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},av=new R("",{factory:()=>Bf});var $f="r";var xc="di",Ac="s";var Uf=!1,qf=new R("",{factory:()=>Uf});var Wf=new R("");var cv=(e,t,n,r)=>{};function lv(e,t,n,r){cv(e,t,n,r)}var Gf=new R("");function Ri(e){return(e.flags&32)===32}var uv=()=>null;function zf(e,t,n=!1){return uv(e,t,n)}function Rc(e){return e.get(Wf,!1,{optional:!0})}function Qf(e,t){let n=e.contentQueries;if(n!==null){let r=I(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];fr(i),a.contentQueries(2,t[s],s)}}}finally{I(r)}}}function Ga(e,t,n){fr(0);let r=I(null);try{t(e,n)}finally{I(r)}}function kc(e,t,n){if(na(t)){let r=I(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{I(r)}}}var Yt=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e})(Yt||{});var ei;function dv(){if(ei===void 0&&(ei=null,Se.trustedTypes))try{ei=Se.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ei}function ki(e){return dv()?.createHTML(e)||e}var ti;function Zf(){if(ti===void 0&&(ti=null,Se.trustedTypes))try{ti=Se.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ti}function Pd(e){return Zf()?.createHTML(e)||e}function Ld(e){return Zf()?.createScriptURL(e)||e}var Ke=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ro})`}},za=class extends Ke{getTypeName(){return"HTML"}},Qa=class extends Ke{getTypeName(){return"Style"}},Za=class extends Ke{getTypeName(){return"Script"}},Ya=class extends Ke{getTypeName(){return"URL"}},Ka=class extends Ke{getTypeName(){return"ResourceURL"}};function tn(e){return e instanceof Ke?e.changingThisBreaksApplicationSecurity:e}function Oi(e,t){let n=Yf(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Ro})`)}return n===t}function Yf(e){return e instanceof Ke&&e.getTypeName()||null}function fv(e){return new za(e)}function pv(e){return new Qa(e)}function hv(e){return new Za(e)}function gv(e){return new Ya(e)}function mv(e){return new Ka(e)}function Kf(e){let t=new Xa(e);return yv()?new Ja(t):t}var Ja=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(ki(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},Xa=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=ki(t),n}};function yv(){try{return!!new window.DOMParser().parseFromString(ki(""),"text/html")}catch{return!1}}var vv=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Pi(e){return e=String(e),e.match(vv)?e:"unsafe:"+e}function Je(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Fr(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var Jf=Je("area,br,col,hr,img,wbr"),Xf=Je("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),ep=Je("rp,rt"),Ev=Fr(ep,Xf),Iv=Fr(Xf,Je("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")),Dv=Fr(ep,Je("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")),ec=Fr(Jf,Iv,Dv,Ev),Oc=Je("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Cv=Je("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"),bv=Je("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"),tp=Fr(Oc,Cv,bv),Tv=Je("script,style,template"),tc=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=Mv(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=_v(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=Fd(t).toLowerCase();if(!ec.hasOwnProperty(n))return this.sanitizedSomething=!0,!Tv.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(!tp.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;Oc[a]&&(c=Pi(c)),this.buf.push(" ",s,'="',jd(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=Fd(t).toLowerCase();ec.hasOwnProperty(n)&&!Jf.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(jd(t))}};function wv(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function _v(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw np(t);return t}function Mv(e){let t=e.firstChild;if(t&&wv(e,t))throw np(t);return t}function Fd(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function np(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var Nv=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Sv=/([^\#-~ |!])/g;function jd(e){return e.replace(/&/g,"&amp;").replace(Nv,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(Sv,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var ni;function rp(e,t){let n=null;try{ni=ni||Kf(e);let r=t?String(t):"";n=ni.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=ni.getInertBodyElement(r)}while(r!==i);let a=new tc().sanitizeChildren(nc(n)||n);return ki(a)}finally{if(n){let r=nc(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function nc(e){return"content"in e&&xv(e)?e.content:null}function xv(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Av=/^>|^->|<!--|-->|--!>|<!-$/g,Rv=/(<|>)/g,kv="\u200B$1\u200B";function Ov(e){return e.replace(Av,t=>t.replace(Rv,kv))}function op(e,t){return e.createText(t)}function ip(e,t,n){e.setValue(t,n)}function sp(e,t){return e.createComment(Ov(t))}function Pc(e,t,n){return e.createElement(t,n)}function Kt(e,t,n,r,o){e.insertBefore(t,n,r,o)}function ap(e,t,n){e.appendChild(t,n)}function Vd(e,t,n,r,o){r!==null?Kt(e,t,n,r,o):ap(e,t,n)}function Lc(e,t,n,r){e.removeChild(null,t,n,r)}function Pv(e,t,n){e.setAttribute(t,"style",n)}function Lv(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function cp(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&Vy(e,t,r),o!==null&&Lv(e,t,o),i!==null&&Pv(e,t,i)}var jr=(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})(jr||{});function Fv(e){let t=Fc();return t?Pd(t.sanitize(jr.HTML,e)||""):Oi(e,"HTML")?Pd(tn(e)):rp(Sc(),de(e))}function lp(e){let t=Fc();return t?t.sanitize(jr.URL,e)||"":Oi(e,"URL")?tn(e):Pi(de(e))}function up(e){let t=Fc();if(t)return Ld(t.sanitize(jr.RESOURCE_URL,e)||"");if(Oi(e,"ResourceURL"))return Ld(tn(e));throw new b(904,!1)}var jv=new Set(["embed","frame","iframe","media","script"]),Vv=new Set(["base","link","script"]);function Hv(e,t){return t==="src"&&jv.has(e)||t==="href"&&Vv.has(e)||t==="xlink:href"&&e==="script"?up:lp}function Bv(e,t,n){return Hv(t,n)(e)}function Fc(){let e=m();return e&&e[xe].sanitizer}function $v(e){return e.ownerDocument.defaultView}function dp(e){return e instanceof Function?e():e}function Uv(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 fp="ng-template";function qv(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&Uv(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(jc(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 jc(e){return e.type===4&&e.value!==fp}function Wv(e,t,n){let r=e.type===4&&!n?fp:e.value;return t===r}function Gv(e,t,n){let r=4,o=e.attrs,i=o!==null?Zv(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!we(r)&&!we(c))return!1;if(s&&we(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!Wv(e,c,n)||c===""&&t.length===1){if(we(r))return!1;s=!0}}else if(r&8){if(o===null||!qv(e,o,c,n)){if(we(r))return!1;s=!0}}else{let l=t[++a],u=zv(c,o,jc(e),n);if(u===-1){if(we(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(we(r))return!1;s=!0}}}}return we(r)||s}function we(e){return(e&1)===0}function zv(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 Yv(t,e)}function pp(e,t,n=!1){for(let r=0;r<t.length;r++)if(Gv(e,t[r],n))return!0;return!1}function Qv(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function Zv(e){for(let t=0;t<e.length;t++){let n=e[t];if(bf(n))return t}return e.length}function Yv(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 Kv(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 Hd(e,t){return e?":not("+t.trim()+")":t}function Jv(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!==""&&!we(s)&&(t+=Hd(i,o),o=""),r=s,i=i||!we(r);n++}return o!==""&&(t+=Hd(i,o)),t}function Xv(e){return e.map(Jv).join(",")}function eE(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(!we(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var G={};function Vc(e,t,n,r,o,i,s,a,c,l,u){let d=A+r,p=d+o,f=tE(d,p),h=typeof l=="function"?l():l;return f[v]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:h,incompleteFirstPass:!1,ssrId:u}}function tE(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:G);return n}function nE(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Vc(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Hc(e,t,n,r,o,i,s,a,c,l,u){let d=t.blueprint.slice();return d[De]=o,d[D]=r|4|128|8|64|1024,(l!==null||e&&e[D]&2048)&&(d[D]|=2048),oa(d),d[$]=d[Vt]=e,d[H]=n,d[xe]=s||e&&e[xe],d[S]=a||e&&e[S],d[ie]=c||e&&e[ie]||null,d[ee]=i,d[ze]=ev(),d[jt]=u,d[ta]=l,d[te]=t.type==2?e[te]:d,d}function rE(e,t,n){let r=be(t,e),o=nE(n),i=e[xe].rendererFactory,s=Bc(e,Hc(e,o,null,hp(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function hp(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Vr(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 Bc(e,t){return e[En]?e[ea][ge]=t:e[En]=t,e[ea]=t,t}function oE(e=1){gp(O(),m(),ye()+e,!1)}function gp(e,t,n,r){if(!r)if((t[D]&3)===3){let i=e.preOrderCheckHooks;i!==null&&oi(t,i,n)}else{let i=e.preOrderHooks;i!==null&&ii(t,i,0,n)}yt(n)}var Li=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(Li||{});function rc(e,t,n,r){let o=I(null);try{let[i,s,a]=e.inputs[n],c=null;(s&Li.SignalBased)!==0&&(c=t[i][j]),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):yf(t,c,i,r)}finally{I(o)}}var vi=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(vi||{}),oc;function $c(e,t){return oc(e,t)}function iE(e){oc===void 0&&(oc=e())}var wr=new Set,Fi=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(Fi||{}),Hr=new R(""),Bd=new Set;function Le(e){Bd.has(e)||(Bd.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Uc=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=U({token:e,providedIn:"root",factory:()=>new e})}return e})(),mp=[0,1,2,3],yp=(()=>{class e{ngZone=w(Ne);scheduler=w(Ge);errorHandler=w(We,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){w(Hr,{optional:!0})}execute(){let n=this.sequences.size>0;n&&k(x.AfterRenderHooksStart),this.executing=!0;for(let r of mp)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&&k(x.AfterRenderHooksEnd)}register(n){let{view:r}=n;r!==void 0?((r[Bt]??=[]).push(n),Wt(r),r[D]|=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(Fi.AFTER_NEXT_RENDER,n):n()}static \u0275prov=U({token:e,providedIn:"root",factory:()=>new e})}return e})(),Ei=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?.[Bt];t&&(this.view[Bt]=t.filter(n=>n!==this))}};function sE(e,t){let n=t?.injector??w(Ee);return Le("NgAfterNextRender"),cE(e,n,t,!0)}function aE(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function cE(e,t,n,r){let o=t.get(Uc);o.impl??=t.get(yp);let i=t.get(Hr,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(Ze):null,a=t.get(hr,null,{optional:!0}),c=new Ei(o.impl,aE(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var vp=new R("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:w(ue)})});function Ep(e,t,n){let r=e.get(vp);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 lE(e,t){let n=e.get(vp);if(t.detachedLeaveAnimationFns){for(let r of t.detachedLeaveAnimationFns)n.queue.delete(r);t.detachedLeaveAnimationFns=void 0}}function uE(e,t){for(let[n,r]of t)Ep(e,r.animateFns)}function $d(e,t,n,r){let o=e?.[$t]?.enter;t!==null&&o&&o.has(n.index)&&uE(r,o)}function Mn(e,t,n,r,o,i,s,a){if(o!=null){let c,l=!1;Ce(o)?c=o:Re(o)&&(l=!0,o=o[De]);let u=se(o);e===0&&r!==null?($d(a,r,i,n),s==null?ap(t,r,u):Kt(t,r,u,s||null,!0)):e===1&&r!==null?($d(a,r,i,n),Kt(t,r,u,s||null,!0)):e===2?Ud(a,i,n,d=>{Lc(t,u,l,d)}):e===3&&Ud(a,i,n,()=>{t.destroyNode(u)}),c!=null&&vE(t,e,n,c,i,r,s)}}function dE(e,t){Ip(e,t),t[De]=null,t[ee]=null}function fE(e,t,n,r,o,i){r[De]=o,r[ee]=t,Vi(e,r,n,1,o,i)}function Ip(e,t){t[xe].changeDetectionScheduler?.notify(9),Vi(e,t,t[S],2,null,null)}function pE(e){let t=e[En];if(!t)return xa(e[v],e);for(;t;){let n=null;if(Re(t))n=t[En];else{let r=t[V];r&&(n=r)}if(!n){for(;t&&!t[ge]&&t!==e;)Re(t)&&xa(t[v],t),t=t[$];t===null&&(t=e),Re(t)&&xa(t[v],t),n=t&&t[ge]}t=n}}function qc(e,t){let n=e[Ut],r=n.indexOf(t);n.splice(r,1)}function ji(e,t){if(mt(t))return;let n=t[S];n.destroyNode&&Vi(e,t,n,3,null,null),pE(t)}function xa(e,t){if(mt(t))return;let n=I(null);try{t[D]&=-129,t[D]|=256,t[fe]&&rt(t[fe]),mE(e,t),gE(e,t),t[v].type===1&&t[S].destroy();let r=t[ft];if(r!==null&&Ce(t[$])){r!==t[$]&&qc(r,t);let o=t[Ae];o!==null&&o.detachView(e)}qa(t)}finally{I(n)}}function Ud(e,t,n,r){let o=e?.[$t];if(o==null||o.leave==null||!o.leave.has(t.index))return r(!1);e&&wr.add(e[ze]),Ep(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),hE(e,r)}else e&&wr.delete(e[ze]),r(!1)},o)}function hE(e,t){let n=e[$t]?.running;if(n){n.then(()=>{e[$t].running=void 0,wr.delete(e[ze]),t(!0)});return}t(!1)}function gE(e,t){let n=e.cleanup,r=t[vn];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[vn]=null);let o=t[Ue];if(o!==null){t[Ue]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[lt];if(i!==null){t[lt]=null;for(let s of i)s.destroy()}}function mE(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 Zt)){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];k(x.LifecycleHookStart,a,c);try{c.call(a)}finally{k(x.LifecycleHookEnd,a,c)}}else{k(x.LifecycleHookStart,o,i);try{i.call(o)}finally{k(x.LifecycleHookEnd,o,i)}}}}}function Dp(e,t,n){return Cp(e,t.parent,n)}function Cp(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[De];if(gt(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===Yt.None||o===Yt.Emulated)return null}return be(r,n)}function bp(e,t,n){return wp(e,t,n)}function Tp(e,t,n){return e.type&40?be(e,n):null}var wp=Tp,ic;function _p(e,t){wp=e,ic=t}function Wc(e,t,n,r){let o=Dp(e,r,t),i=t[S],s=r.parent||t[ee],a=bp(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)Vd(i,o,n[c],a,!1);else Vd(i,o,n,a,!1);ic!==void 0&&ic(i,r,t,n,o)}function vr(e,t){if(t!==null){let n=t.type;if(n&3)return be(t,e);if(n&4)return sc(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return vr(e,r);{let o=e[t.index];return Ce(o)?sc(-1,o):se(o)}}else{if(n&128)return vr(e,t.next);if(n&32)return $c(t,e)()||se(e[t.index]);{let r=Mp(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=ut(e[te]);return vr(o,r)}else return vr(e,t.next)}}}return null}function Mp(e,t){if(t!==null){let r=e[te][ee],o=t.projection;return r.projection[o]}return null}function sc(e,t){let n=V+e+1;if(n<t.length){let r=t[n],o=r[v].firstChild;if(o!==null)return vr(r,o)}return t[ht]}function Gc(e,t,n,r,o,i,s){for(;n!=null;){let a=r[ie];if(n.type===128){n=n.next;continue}let c=r[n.index],l=n.type;if(s&&t===0&&(c&&It(se(c),r),n.flags|=2),!Ri(n))if(l&8)Gc(e,t,n.child,r,o,i,!1),Mn(t,e,a,o,c,n,i,r);else if(l&32){let u=$c(n,r),d;for(;d=u();)Mn(t,e,a,o,d,n,i,r);Mn(t,e,a,o,c,n,i,r)}else l&16?Np(e,t,r,n,o,i):Mn(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next}}function Vi(e,t,n,r,o,i){Gc(n,r,e.firstChild,t,o,i,!1)}function yE(e,t,n){let r=t[S],o=Dp(e,n,t),i=n.parent||t[ee],s=bp(i,n,t);Np(r,0,t,n,o,s)}function Np(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];Mn(t,e,n[ie],o,u,r,i,n)}else{let l=c,u=s[$];Pf(r)&&(l.flags|=128),Gc(e,t,l,u,o,i,!0)}}function vE(e,t,n,r,o,i,s){let a=r[ht],c=se(r);a!==c&&Mn(t,e,n,i,a,o,s);for(let l=V;l<r.length;l++){let u=r[l];Vi(u[v],u,e,t,i,a)}}function EE(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:vi.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=vi.Important),e.setStyle(n,r,o,i))}}function Sp(e,t,n,r,o){let i=ye(),s=r&2;try{yt(-1),s&&t.length>A&&gp(e,t,A,!1);let a=s?x.TemplateUpdateStart:x.TemplateCreateStart;k(a,o,n),n(r,o)}finally{yt(i);let a=s?x.TemplateUpdateEnd:x.TemplateCreateEnd;k(a,o,n)}}function Hi(e,t,n){wE(e,t,n),(n.flags&64)===64&&_E(e,t,n)}function Br(e,t,n=be){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 IE(e,t,n,r){let i=r.get(qf,Uf)||n===Yt.ShadowDom||n===Yt.ExperimentalIsolatedShadowDom,s=e.selectRootElement(t,i);return DE(s),s}function DE(e){CE(e)}var CE=()=>null;function bE(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function zc(e,t,n,r,o,i){let s=t[v];if(Xc(e,s,t,n,r)){gt(e)&&TE(t,e.index);return}e.type&3&&(n=bE(n)),xp(e,t,n,r,o,i)}function xp(e,t,n,r,o,i){if(e.type&3){let s=be(e,t);r=i!=null?i(r,e.value||"",n):r,o.setProperty(s,n,r)}else e.type&12}function TE(e,t){let n=me(t,e);n[D]&16||(n[D]|=64)}function wE(e,t,n){let r=n.directiveStart,o=n.directiveEnd;gt(n)&&rE(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||mi(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=Tr(t,e,s,n);if(It(c,t),i!==null&&SE(t,s-r,c,a,n,i),ke(a)){let l=me(n.index,t);l[H]=Tr(t,e,s,n)}}}function _E(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=fd();try{yt(i);for(let a=r;a<o;a++){let c=e.data[a],l=t[a];Zo(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&ME(c,l)}}finally{yt(-1),Zo(s)}}function ME(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Qc(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];pp(t,i.selectors,!1)&&(r??=[],ke(i)?r.unshift(i):r.push(i))}return r}function NE(e,t,n,r,o,i){let s=be(e,t);Zc(t[S],s,i,e.value,n,r,o)}function Zc(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?de(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function SE(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];rc(r,n,c,l)}}function Yc(e,t,n,r,o){let i=A+n,s=t[v],a=o(s,t,e,r,n);t[i]=a,Oe(e,!0);let c=e.type===2;return c?(cp(t[S],a,e),(id()===0||In(e))&&It(a,t),sd()):It(a,t),pr()&&(!c||!Ri(e))&&Wc(s,t,a,e),e}function Kc(e){let t=e;return ha()?ga():(t=t.parent,Oe(t,!1)),t}function Jc(e,t){let n=e[ie];if(!n)return;let r;try{r=n.get(zt,null)}catch{r=null}r?.(t)}function Xc(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];rc(d,n[l],u,o),a=!0}if(i)for(let c of i){let l=n[c],u=t.data[c];rc(u,l,r,o),a=!0}return a}function xE(e,t){let n=me(t,e),r=n[v];AE(r,n);let o=n[De];o!==null&&n[jt]===null&&(n[jt]=zf(o,n[ie])),k(x.ComponentStart);try{el(r,n,n[H])}finally{k(x.ComponentEnd,n[H])}}function AE(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function el(e,t,n){Ko(t);try{let r=e.viewQuery;r!==null&&Ga(1,r,n);let o=e.template;o!==null&&Sp(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Ae]?.finishViewCreation(e),e.staticContentQueries&&Qf(e,t),e.staticViewQueries&&Ga(2,e.viewQuery,n);let i=e.components;i!==null&&RE(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[D]&=-5,Jo()}}function RE(e,t){for(let n=0;n<t.length;n++)xE(e,t[n])}function Ln(e,t,n,r){let o=I(null);try{let i=t.tView,a=e[D]&4096?4096:16,c=Hc(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[t.index];c[ft]=l;let u=e[Ae];return u!==null&&(c[Ae]=u.createEmbeddedView(i)),el(i,c,n),c}finally{I(o)}}function Jt(e,t){return!t||t.firstChild===null||Pf(e)}function _r(e,t,n,r,o=!1){for(;n!==null;){if(n.type===128){n=o?n.projectionNext:n.next;continue}let i=t[n.index];i!==null&&r.push(se(i)),Ce(i)&&Ap(i,r);let s=n.type;if(s&8)_r(e,t,n.child,r);else if(s&32){let a=$c(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=Mp(t,n);if(Array.isArray(a))r.push(...a);else{let c=ut(t[te]);_r(c[v],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Ap(e,t){for(let n=V;n<e.length;n++){let r=e[n],o=r[v].firstChild;o!==null&&_r(r[v],r,o,t)}e[ht]!==e[De]&&t.push(e[ht])}function Rp(e){if(e[Bt]!==null){for(let t of e[Bt])t.impl.addSequence(t);e[Bt].length=0}}var kp=[];function kE(e){return e[fe]??OE(e)}function OE(e){let t=kp.pop()??Object.create(LE);return t.lView=e,t}function PE(e){e.lView[fe]!==e&&(e.lView=null,kp.push(e))}var LE=Q(z({},Ve),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Wt(e.lView)},consumerOnSignalRead(){this.lView[fe]=this}});function FE(e){let t=e[fe]??Object.create(jE);return t.lView=e,t}var jE=Q(z({},Ve),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=ut(e.lView);for(;t&&!Op(t[v]);)t=ut(t);t&&ia(t)},consumerOnSignalRead(){this.lView[fe]=this}});function Op(e){return e.type!==2}function Pp(e){if(e[lt]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[lt])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[D]&8192)}}var VE=100;function Lp(e,t=0){let r=e[xe].rendererFactory,o=!1;o||r.begin?.();try{HE(e,t)}finally{o||r.end?.()}}function HE(e,t){let n=ya();try{Xn(!0),ac(e,t);let r=0;for(;ur(e);){if(r===VE)throw new b(103,!1);r++,ac(e,1)}}finally{Xn(n)}}function BE(e,t,n,r){if(mt(t))return;let o=t[D],i=!1,s=!1;Ko(t);let a=!0,c=null,l=null;i||(Op(e)?(l=kE(t),c=He(l)):Zr()===null?(a=!1,l=FE(t),c=He(l)):t[fe]&&(rt(t[fe]),t[fe]=null));try{oa(t),ld(e.bindingStartIndex),n!==null&&Sp(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let f=e.preOrderCheckHooks;f!==null&&oi(t,f,null)}else{let f=e.preOrderHooks;f!==null&&ii(t,f,0,null),Na(t,0)}if(s||$E(t),Pp(t),Fp(t,0),e.contentQueries!==null&&Qf(e,t),!i)if(u){let f=e.contentCheckHooks;f!==null&&oi(t,f)}else{let f=e.contentHooks;f!==null&&ii(t,f,1),Na(t,1)}qE(e,t);let d=e.components;d!==null&&Vp(t,d,0);let p=e.viewQuery;if(p!==null&&Ga(2,p,r),!i)if(u){let f=e.viewCheckHooks;f!==null&&oi(t,f)}else{let f=e.viewHooks;f!==null&&ii(t,f,2),Na(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Uo]){for(let f of t[Uo])f();t[Uo]=null}i||(Rp(t),t[D]&=-73)}catch(u){throw i||Wt(t),u}finally{l!==null&&(nt(l,c),a&&PE(l)),Jo()}}function Fp(e,t){for(let n=Ff(e);n!==null;n=jf(n))for(let r=V;r<n.length;r++){let o=n[r];jp(o,t)}}function $E(e){for(let t=Ff(e);t!==null;t=jf(t)){if(!(t[D]&2))continue;let n=t[Ut];for(let r=0;r<n.length;r++){let o=n[r];ia(o)}}}function UE(e,t,n){k(x.ComponentStart);let r=me(t,e);try{jp(r,n)}finally{k(x.ComponentEnd,r[H])}}function jp(e,t){qo(e)&&ac(e,t)}function ac(e,t){let r=e[v],o=e[D],i=e[fe],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&sn(i)),s||=!1,i&&(i.dirty=!1),e[D]&=-9217,s)BE(r,e,r.template,e[H]);else if(o&8192){let a=I(null);try{Pp(e),Fp(e,1);let c=r.components;c!==null&&Vp(e,c,1),Rp(e)}finally{I(a)}}}function Vp(e,t,n){for(let r=0;r<t.length;r++)UE(e,t[r],n)}function qE(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)yt(~o);else{let i=o,s=n[++r],a=n[++r];dd(s,i);let c=t[i];k(x.HostBindingsUpdateStart,c);try{a(2,c)}finally{k(x.HostBindingsUpdateEnd,c)}}}}finally{yt(-1)}}function Bi(e,t){let n=ya()?64:1088;for(e[xe].changeDetectionScheduler?.notify(t);e;){e[D]|=n;let r=ut(e);if(Dn(e)&&!r)return e;e=r}return null}function Hp(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Bp(e,t){let n=V+t;if(n<e.length)return e[n]}function Fn(e,t,n,r=!0){let o=t[v];if(WE(o,t,e,n),r){let s=sc(n,e),a=t[S],c=a.parentNode(e[ht]);c!==null&&fE(o,e[ee],a,t,c,s)}let i=t[jt];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function tl(e,t){let n=Mr(e,t);return n!==void 0&&ji(n[v],n),n}function Mr(e,t){if(e.length<=V)return;let n=V+t,r=e[n];if(r){let o=r[ft];o!==null&&o!==e&&qc(o,r),t>0&&(e[n-1][ge]=r[ge]);let i=or(e,V+t);dE(r[v],r);let s=i[Ae];s!==null&&s.detachView(i[v]),r[$]=null,r[ge]=null,r[D]&=-129}return r}function WE(e,t,n,r){let o=V+r,i=n.length;r>0&&(n[o-1][ge]=t),r<i-V?(t[ge]=n[o],zs(n,V+r,t)):(n.push(t),t[ge]=null),t[$]=n;let s=t[ft];s!==null&&n!==s&&$p(s,t);let a=t[Ae];a!==null&&a.insertView(e),Wo(t),t[D]|=128}function $p(e,t){let n=e[Ut],r=t[$];if(Re(r))e[D]|=2;else{let o=r[$][te];t[te]!==o&&(e[D]|=2)}n===null?e[Ut]=[t]:n.push(t)}var Dt=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[v];return _r(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[H]}set context(t){this._lView[H]=t}get destroyed(){return mt(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[$];if(Ce(t)){let n=t[ar],r=n?n.indexOf(this):-1;r>-1&&(Mr(t,r),or(n,r))}this._attachedToViewContainer=!1}ji(this._lView[v],this._lView)}onDestroy(t){Go(this._lView,t)}markForCheck(){Bi(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[D]&=-129}reattach(){Wo(this._lView),this._lView[D]|=128}detectChanges(){this._lView[D]|=1024,Lp(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new b(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Dn(this._lView),n=this._lView[ft];n!==null&&!t&&qc(n,this._lView),Ip(this._lView[v],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new b(902,!1);this._appRef=t;let n=Dn(this._lView),r=this._lView[ft];r!==null&&!n&&$p(r,this._lView),Wo(this._lView)}};var Nr=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=GE;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=Ln(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new Dt(i)}}return e})();function GE(){return $i(q(),m())}function $i(e,t){return e.type&4?new Nr(t,e,Pn(e,t)):null}function Up(e,t,n){let r=t.insertBeforeIndex,o=Array.isArray(r)?r[0]:r;return o===null?Tp(e,t,n):se(n[o])}function qp(e,t,n,r,o){let i=t.insertBeforeIndex;if(Array.isArray(i)){let s=r,a=null;if(t.type&3||(a=s,s=o),s!==null&&t.componentOffset===-1)for(let c=1;c<i.length;c++){let l=n[i[c]];Kt(e,s,l,a,!1)}}}function nn(e,t,n,r,o){let i=e.data[t];if(i===null)i=nl(e,t,n,r,o),ud()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=bn();i.injectorIndex=s===null?-1:s.injectorIndex}return Oe(i,!0),i}function nl(e,t,n,r,o){let i=pa(),s=ha(),a=s?i:i&&i.parent,c=e.data[t]=QE(e,a,n,t,r,o);return zE(e,c,i,s),c}function zE(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 QE(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return ua()&&(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 Wp(e,t){if(e.push(t),e.length>1)for(let n=e.length-2;n>=0;n--){let r=e[n];Gp(r)||ZE(r,t)&&YE(r)===null&&KE(r,t.index)}}function Gp(e){return!(e.type&64)}function ZE(e,t){return Gp(t)||e.index>t.index}function YE(e){let t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function KE(e,t){let n=e.insertBeforeIndex;Array.isArray(n)?n[0]=t:(_p(Up,qp),e.insertBeforeIndex=t)}function Er(e,t){let n=e.data[t];return n===null||typeof n=="string"?null:n.hasOwnProperty("currentCaseLViewIndex")?n:n.value}function JE(e,t,n){let r=e.data[t];r===null?e.data[t]=n:r.value=n}function XE(e,t){let n=e.insertBeforeIndex;n===null?(_p(Up,qp),n=e.insertBeforeIndex=[null,t]):(Fu(Array.isArray(n),!0,"Expecting array here"),n.push(t))}function eI(e,t,n){let r=nl(e,n,64,null,null);return Wp(t,r),r}function Ui(e,t){let n=t[e.currentCaseLViewIndex];return n===null?n:n<0?~n:n}function tI(e){return e>>>17}function nI(e){return(e&131070)>>>1}function rI(e,t,n){return e|t<<17|n<<1}function oI(e){return e===-1}function zp(e,t,n){e.index=0;let r=Ui(t,n);r!==null?e.removes=t.remove[r]:e.removes=K}function cc(e){if(e.index<e.removes.length){let t=e.removes[e.index++];if(t>0)return e.lView[t];{e.stack.push(e.index,e.removes);let n=~t,r=e.lView[v].data[n];return zp(e,r,e.lView),cc(e)}}else return e.stack.length===0?(e.lView=void 0,null):(e.removes=e.stack.pop(),e.index=e.stack.pop(),cc(e))}function iI(){let e={stack:[],index:-1};function t(n,r){for(e.lView=r;e.stack.length;)e.stack.pop();return zp(e,n.value,r),cc.bind(null,e)}return t}var sI=()=>{};function aI(e,t,n,r){sI(e,t,n,r)}var cI=()=>{};function lI(e,t,n){cI(e,t,n)}function uI(e){let t=e[pt]??[],r=e[$][S],o=[];for(let i of t)i.data[xc]!==void 0?o.push(i):dI(i,r);e[pt]=o}function dI(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[$f];for(;n<o;){let i=r.nextSibling;Lc(t,r,!1),r=i,n++}}}var fI=()=>null,pI=()=>null;function Ii(e,t){return fI(e,t)}function Qp(e,t,n){return pI(e,t,n)}var Zp=class{},qi=class{},lc=class{resolveComponentFactory(t){throw new b(917,!1)}},$r=class{static NULL=new lc},Sr=class{},hI=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>gI()}return e})();function gI(){let e=m(),t=q(),n=me(t.index,e);return(Re(n)?n:e)[S]}var Yp=(()=>{class e{static \u0275prov=U({token:e,providedIn:"root",factory:()=>null})}return e})();var ai={},Sn=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,ai,r);return o!==ai||n===ai?o:this.parentInjector.get(t,n,r)}};function Di(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=ko(o,a);else if(i==2){let c=a,l=t[++s];r=ko(r,c+": "+l+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function Ur(e,t=0){let n=m();if(n===null)return Me(e,t);let r=q();return xf(r,n,Y(e),t)}function Kp(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}vI(e,t,n,a,i,c,l)}i!==null&&r!==null&&mI(n,r,i)}function mI(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 b(-301,!1);r.push(t[o],i)}}function yI(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function vI(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&&ke(f)&&(c=f,yI(e,n,p)),$a(mi(n,t),e,f.type)}TI(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=Vr(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(n.mergedAttrs=xn(n.mergedAttrs,f.hostAttrs),II(e,n,t,d,f),bI(d,f,o),s!==null&&s.has(f)){let[g,E]=s.get(f);n.directiveToIndex.set(f.type,[d,g+n.directiveStart,E+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++}EI(e,n,i)}function EI(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))qd(0,t,o,r),qd(1,t,o,r),Gd(t,r,!1);else{let i=n.get(o);Wd(0,t,i,r),Wd(1,t,i,r),Gd(t,r,!0)}}}function qd(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),Jp(t,i)}}function Wd(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),Jp(t,s)}}function Jp(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function Gd(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||jc(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 II(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=ct(o.type,!0)),s=new Zt(i,ke(o),Ur,null);e.blueprint[r]=s,n[r]=s,DI(e,t,r,Vr(e,n,o.hostVars,G),o)}function DI(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;CI(s)!=a&&s.push(a),s.push(n,r,i)}}function CI(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function bI(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;ke(t)&&(n[""]=e)}}function TI(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function rl(e,t,n,r,o,i,s,a){let c=t[v],l=c.consts,u=ae(l,s),d=nn(c,e,n,r,u);return i&&Kp(c,t,d,ae(l,a),o),d.mergedAttrs=xn(d.mergedAttrs,d.attrs),d.attrs!==null&&Di(d,d.attrs,!1),d.mergedAttrs!==null&&Di(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function ol(e,t){Df(e,t),na(t)&&e.queries.elementEnd(t)}function wI(e,t,n,r,o,i){let s=t.consts,a=ae(s,o),c=nn(t,e,n,r,a);if(c.mergedAttrs=xn(c.mergedAttrs,c.attrs),i!=null){let l=ae(s,i);c.localNames=[];for(let u=0;u<l.length;u+=2)c.localNames.push(l[u],-1)}return c.attrs!==null&&Di(c,c.attrs,!1),c.mergedAttrs!==null&&Di(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function il(e){return Wi(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function Xp(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{let n=e[Symbol.iterator](),r;for(;!(r=n.next()).done;)t(r.value)}}function Wi(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function jn(e,t,n){return e[t]=n}function eh(e,t){return e[t]}function J(e,t,n){if(n===G)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function xr(e,t,n,r){let o=J(e,t,n);return J(e,t+1,r)||o}function th(e,t,n,r,o){let i=xr(e,t,n,r);return J(e,t+2,o)||i}function nh(e,t,n,r,o,i){let s=xr(e,t,n,r);return xr(e,t+2,o,i)||s}function ci(e,t,n){return function r(o){let i=gt(e)?me(e.index,t):t;Bi(i,5);let s=t[H],a=zd(t,s,n,o),c=r.__ngNextListenerFn__;for(;c;)a=zd(t,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function zd(e,t,n,r){let o=I(null);try{return k(x.OutputStart,t,n),n(r)!==!1}catch(i){return Jc(e,i),!1}finally{k(x.OutputEnd,t,n),I(o)}}function rh(e,t,n,r,o,i,s,a){let c=In(e),l=!1,u=null;if(!r&&c&&(u=MI(t,n,i,e.index)),u!==null){let d=u.__ngLastListenerFn__||u;d.__ngNextListenerFn__=s,u.__ngLastListenerFn__=s,l=!0}else{let d=be(e,n),p=r?r(d):d;lv(n,p,i,a);let f=o.listen(p,i,a);if(!_I(i)){let h=r?g=>r(se(g[e.index])):e.index;oh(h,t,n,i,a,f,!1)}}return l}function _I(e){return e.startsWith("animation")||e.startsWith("transition")}function MI(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[vn],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function oh(e,t,n,r,o,i,s){let a=t.firstCreatePass?ca(t):null,c=aa(n),l=c.length;c.push(o,i),a&&a.push(r,e,l,(l+1)*(s?-1:1))}function Qd(e,t,n,r,o,i){let s=t[n],a=t[v],l=a.data[n].outputs[r],d=s[l].subscribe(i);oh(e.index,a,t,o,i,d,!0)}var uc=Symbol("BINDING");var Ci=class extends $r{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=Ie(t);return new Ct(n,this.ngModule)}};function NI(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&Li.SignalBased)!==0};return o&&(i.transform=o),i})}function SI(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function xI(e,t,n){let r=t instanceof ue?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Sn(n,r):n}function AI(e){let t=e.get(Sr,null);if(t===null)throw new b(407,!1);let n=e.get(Yp,null),r=e.get(Ge,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1}}function RI(e,t){let n=ih(e);return Pc(t,n,n==="svg"?ra:n==="math"?ed:null)}function ih(e){return(e.selectors[0][0]||"div").toLowerCase()}var Ct=class extends qi{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=NI(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=SI(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=Xv(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){k(x.DynamicComponentStart);let a=I(null);try{let c=this.componentDef,l=kI(r,c,s,i),u=xI(c,o||this.ngModule,t),d=AI(u),p=d.rendererFactory.createRenderer(null,c),f=r?IE(p,r,c.encapsulation,u):RI(c,p),h=s?.some(Zd)||i?.some(y=>typeof y!="function"&&y.bindings.some(Zd)),g=Hc(null,l,null,512|hp(c),null,null,d,p,u,null,zf(f,u,!0));g[A]=f,Ko(g);let E=null;try{let y=rl(A,g,2,"#host",()=>l.directiveRegistry,!0,0);cp(p,f,y),It(f,g),Hi(l,g,y),kc(l,y,g),ol(l,y),n!==void 0&&PI(y,this.ngContentSelectors,n),E=me(y.index,g),g[H]=E[H],el(l,g,null)}catch(y){throw E!==null&&qa(E),qa(g),y}finally{k(x.DynamicComponentEnd),Jo()}return new bi(this.componentType,g,!!h)}finally{I(a)}}};function kI(e,t,n,r){let o=e?["ng-version","21.1.0"]:eE(t.selectors[0]),i=null,s=null,a=0;if(n)for(let u of n)a+=u[uc].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[uc].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=Lo(d);c.push(p)}return Vc(0,null,OI(i,s),1,a,c,null,null,null,[o],null)}function OI(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 Zd(e){let t=e[uc].kind;return t==="input"||t==="twoWay"}var bi=class extends Zp{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=qt(n[v],A),this.location=Pn(this._tNode,n),this.instance=me(this._tNode.index,n)[H],this.hostView=this.changeDetectorRef=new Dt(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=Xc(r,o[v],o,t,n);this.previousInputValues.set(t,n);let s=me(r.index,o);Bi(s,1)}get injector(){return new Qt(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function PI(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=q();return ah(e,m())}var FI=Gi,sh=class extends FI{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Pn(this._hostTNode,this._hostLView)}get injector(){return new Qt(this._hostTNode,this._hostLView)}get parentInjector(){let t=Mc(this._hostTNode,this._hostLView);if(Tf(t)){let n=hi(t,this._hostLView),r=pi(t),o=n[v].data[r+8];return new Qt(o,n)}else return new Qt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Yd(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-V}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Ii(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Jt(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c=t&&!xy(t),l;if(c)l=n;else{let E=n||{};l=E.index,r=E.injector,o=E.projectableNodes,i=E.environmentInjector||E.ngModuleRef,s=E.directives,a=E.bindings}let u=c?t:new Ct(Ie(t)),d=r||this.parentInjector;if(!i&&u.ngModule==null){let y=(c?d:this.parentInjector).get(ue,null);y&&(i=y)}let p=Ie(u.componentType??{}),f=Ii(this._lContainer,p?.id??null),h=f?.firstChild??null,g=u.create(d,o,h,i,s,a);return this.insertImpl(g.hostView,l,Jt(this._hostTNode,f)),g}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(nd(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[$],l=new sh(c,c[ee],c[$]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Fn(s,o,i,r),t.attachToViewContainerRef(),zs(Aa(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Yd(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Mr(this._lContainer,n);r&&(or(Aa(this._lContainer),n),ji(r[v],r))}detach(t){let n=this._adjustIndex(t,-1),r=Mr(this._lContainer,n);return r&&or(Aa(this._lContainer),n)!=null?new Dt(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Yd(e){return e[ar]}function Aa(e){return e[ar]||(e[ar]=[])}function ah(e,t){let n,r=t[e.index];return Ce(r)?n=r:(n=Hp(r,t,null,e),t[e.index]=n,Bc(t,n)),VI(n,t,e,r),new sh(n,e,t)}function jI(e,t){let n=e[S],r=n.createComment(""),o=be(t,e),i=n.parentNode(o);return Kt(n,i,r,n.nextSibling(o),!1),r}var VI=BI,HI=()=>!1;function ch(e,t,n){return HI(e,t,n)}function BI(e,t,n,r){if(e[ht])return;let o;n.type&8?o=se(r):o=jI(t,n),e[ht]=o}var dc=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},fc=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++)al(t,n).matches!==null&&this.queries[n].setDirty()}},Ti=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=zI(t):this.predicate=t}},pc=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)}},hc=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,$I(n,i)),this.matchTNodeWithReadOption(t,n,si(n,t,i,!1,!1))}else r===Nr?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,si(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===Lr||o===Gi||o===Nr&&n.type&4)this.addMatch(n.index,-2);else{let i=si(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 $I(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 UI(e,t){return e.type&11?Pn(e,t):e.type&4?$i(e,t):null}function qI(e,t,n,r){return n===-1?UI(t,e):n===-2?WI(e,t,r):Tr(e,e[v],n,t)}function WI(e,t,n){if(n===Lr)return Pn(t,e);if(n===Nr)return $i(t,e);if(n===Gi)return ah(t,e)}function lh(e,t,n,r){let o=t[Ae].queries[r];if(o.matches===null){let i=e.data,s=n.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let l=s[c];if(l<0)a.push(null);else{let u=i[l];a.push(qI(t,u,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function gc(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=lh(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=V;d<u.length;d++){let p=u[d];p[ft]===p[$]&&gc(p[v],p,l,r)}if(u[Ut]!==null){let d=u[Ut];for(let p=0;p<d.length;p++){let f=d[p];gc(f[v],f,l,r)}}}}}return r}function sl(e,t){return e[Ae].queries[t].queryList}function uh(e,t,n){let r=new yi((n&4)===4);return od(e,t,r,r.destroy),(t[Ae]??=new fc).queries.push(new dc(r))-1}function GI(e,t,n){let r=O();return r.firstCreatePass&&(fh(r,new Ti(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),uh(r,m(),t)}function dh(e,t,n,r){let o=O();if(o.firstCreatePass){let i=q();fh(o,new Ti(t,n,r),i.index),QI(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return uh(o,m(),n)}function zI(e){return e.split(",").map(t=>t.trim())}function fh(e,t,n){e.queries===null&&(e.queries=new pc),e.queries.track(new hc(t,n))}function QI(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 al(e,t){return e.queries.getByIndex(t)}function ph(e,t){let n=e[v],r=al(n,t);return r.crossesNgTemplate?gc(n,e,t,[]):lh(n,e,r,t)}function hh(e,t,n){let r,o=Un(()=>{r._dirtyCounter();let i=ZI(r,e);if(t&&i===void 0)throw new b(-951,!1);return i});return r=o[j],r._dirtyCounter=vt(0),r._flatValue=void 0,o}function cl(e){return hh(!0,!1,e)}function ll(e){return hh(!0,!0,e)}function gh(e,t){let n=e[j];n._lView=m(),n._queryIndex=t,n._queryList=sl(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function ZI(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[D]&4)return t?void 0:K;let o=sl(n,r),i=ph(n,r);return o.reset(i,Of),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}var An=class{},mh=class{};function YI(e,t){return new Ar(e,t??null,[])}var Ar=class extends An{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new Ci(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=Us(t);this._bootstrapComponents=dp(i.bootstrap),this._r3Injector=Da(t,n,[{provide:An,useValue:this},{provide:$r,useValue:this.componentFactoryResolver},...r],qe(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)}},wi=class extends mh{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new Ar(this.moduleType,t,[])}};var Rr=class extends An{injector;componentFactoryResolver=new Ci(this);instance=null;constructor(t){super();let n=new Lt([...t.providers,{provide:An,useValue:this},{provide:$r,useValue:this.componentFactoryResolver}],t.parent||yn(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function ul(e,t,n=null){return new Rr({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var KI=(()=>{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=Bo(!1,n.type),o=r.length>0?ul([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=U({token:e,providedIn:"environment",factory:()=>new e(Me(ue))})}return e})();function JI(e){return Pr(()=>{let t=yh(e),n=Q(z({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Nc.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(KI).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Yt.Emulated,styles:e.styles||K,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Le("NgStandalone"),vh(n);let r=e.dependencies;return n.directiveDefs=Kd(r,XI),n.pipeDefs=Kd(r,qs),n.id=iD(n),n})}function XI(e){return Ie(e)||Lo(e)}function eD(e){return Pr(()=>({type:e.type,bootstrap:e.bootstrap||K,declarations:e.declarations||K,imports:e.imports||K,exports:e.exports||K,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function tD(e,t){if(e==null)return dt;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=Li.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function nD(e){if(e==null)return dt;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function rD(e){return Pr(()=>{let t=yh(e);return vh(t),t})}function oD(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 yh(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||dt,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||K,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:tD(e.inputs,t),outputs:nD(e.outputs),debugInfo:null}}function vh(e){e.features?.forEach(t=>t(e))}function Kd(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 iD(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 sD(e){return Object.getPrototypeOf(e.prototype).constructor}function Eh(e){let t=sD(e.type),n=!0,r=[e];for(;t;){let o;if(ke(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new b(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=Ra(e.inputs),s.declaredInputs=Ra(e.declaredInputs),s.outputs=Ra(e.outputs);let a=o.hostBindings;a&&dD(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&lD(e,c),l&&uD(e,l),aD(e,o),Lu(e.outputs,o.outputs),ke(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===Eh&&(n=!1)}}t=Object.getPrototypeOf(t)}cD(r)}function aD(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 cD(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=xn(o.hostAttrs,n=xn(n,o.hostAttrs))}}function Ra(e){return e===dt?{}:e===K?[]:e}function lD(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function uD(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function dD(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function Ih(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=xn(e.mergedAttrs,e.attrs);let u=e.tView=Vc(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),Oe(e,!1);let c=pD(n,t,e,r);pr()&&Wc(n,t,c,e),It(c,t);let l=Hp(c,t,c,e);t[r+A]=l,Bc(t,l),ch(l,e,t)}function fD(e,t,n,r,o,i,s,a,c,l,u){let d=n+A,p;return t.firstCreatePass?(p=nn(t,d,4,s||null,a||null),zo()&&Kp(t,e,p,ae(t.consts,l),Qc),Df(t,p)):p=t.data[d],Ih(p,e,t,n,r,o,i,c),In(p)&&Hi(t,e,p),l!=null&&Br(e,p,u),p}function Xt(e,t,n,r,o,i,s,a,c,l,u){let d=n+A,p;if(t.firstCreatePass){if(p=nn(t,d,4,s||null,a||null),l!=null){let f=ae(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 Ih(p,e,t,n,r,o,i,c),l!=null&&Br(e,p,u),p}function Dh(e,t,n,r,o,i,s,a){let c=m(),l=O(),u=ae(l.consts,i);return fD(c,l,e,t,n,r,o,u,void 0,s,a),Dh}function Ch(e,t,n,r,o,i,s,a){let c=m(),l=O(),u=ae(l.consts,i);return Xt(c,l,e,t,n,r,o,u,void 0,s,a),Ch}var pD=hD;function hD(e,t,n,r){return wn(!0),t[S].createComment("")}var ce=(function(e){return e[e.NOT_STARTED=0]="NOT_STARTED",e[e.IN_PROGRESS=1]="IN_PROGRESS",e[e.COMPLETE=2]="COMPLETE",e[e.FAILED=3]="FAILED",e})(ce||{}),Jd=0,gD=1,B=(function(e){return e[e.Placeholder=0]="Placeholder",e[e.Loading=1]="Loading",e[e.Complete=2]="Complete",e[e.Error=3]="Error",e})(B||{}),_i=(function(e){return e[e.Initial=-1]="Initial",e})(_i||{}),mD=0,qr=1;var yD=4,vD=5,ED=6,ID=7,ka=8,DD=9,dl=(function(e){return e[e.Manual=0]="Manual",e[e.Playthrough=1]="Playthrough",e})(dl||{});function CD(e,t,n){let r=Th(e);t[r]===null&&(t[r]=[]),t[r].push(n)}function li(e,t){let n=Th(e),r=t[n];if(r!==null){for(let o of r)o();t[n]=null}}function bh(e){li(1,e),li(0,e),li(2,e)}function Th(e){let t=yD;return e===1?t=vD:e===2&&(t=DD),t}function zi(e){return e+1}function Vn(e,t){let n=e[v],r=zi(t.index);return e[r]}function bD(e,t,n){let r=e[v],o=zi(t);e[o]=n}function Hn(e,t){let n=zi(t.index);return e.data[n]}function TD(e,t,n){let r=zi(t);e.data[r]=n}function wD(e,t,n){let r=t[v],o=Hn(r,n);switch(e){case B.Complete:return o.primaryTmplIndex;case B.Loading:return o.loadingTmplIndex;case B.Error:return o.errorTmplIndex;case B.Placeholder:return o.placeholderTmplIndex;default:return null}}function Xd(e,t){return t===B.Placeholder?e.placeholderBlockConfig?.[Jd]??null:t===B.Loading?e.loadingBlockConfig?.[Jd]??null:null}function _D(e){return e.loadingBlockConfig?.[gD]??null}function ef(e,t){if(!e||e.length===0)return t;let n=new Set(e);for(let r of t)n.add(r);return e.length===n.size?e:Array.from(n)}function MD(e,t){let n=t.primaryTmplIndex+A;return qt(e,n)}var ND=(()=>{class e{cachedInjectors=new Map;getOrCreateInjector(n,r,o,i){if(!this.cachedInjectors.has(n)){let s=o.length>0?ul(o,r,i):null;this.cachedInjectors.set(n,s)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=U({token:e,providedIn:"environment",factory:()=>new e})}return e})();var wh=new R("");function Oa(e,t,n){return e.get(ND).getOrCreateInjector(t,e,n,"")}function SD(e,t,n){if(e instanceof Sn){let o=e.injector,i=e.parentInjector,s=Oa(i,t,n);return new Sn(o,s)}let r=e.get(ue);if(r!==e){let o=Oa(r,t,n);return new Sn(e,o)}return Oa(e,t,n)}function Et(e,t,n,r=!1){let o=n[$],i=o[v];if(mt(o))return;let s=Vn(o,t),a=s[qr],c=s[ID];if(!(c!==null&&e<c)&&tf(a,e)&&tf(s[mD]??-1,e)){let l=Hn(i,t),d=!r&&!0&&(_D(l)!==null||Xd(l,B.Loading)!==null||Xd(l,B.Placeholder))?kD:AD;try{d(e,s,n,t,o)}catch(p){Jc(o,p)}}}function xD(e,t){let n=e[pt]?.findIndex(o=>o.data[Ac]===t[qr])??-1;return{dehydratedView:n>-1?e[pt][n]:null,dehydratedViewIx:n}}function AD(e,t,n,r,o){k(x.DeferBlockStateStart);let i=wD(e,o,r);if(i!==null){t[qr]=e;let s=o[v],a=i+A,c=qt(s,a),l=0;tl(n,l);let u;if(e===B.Complete){let h=Hn(s,r),g=h.providers;g&&g.length>0&&(u=SD(o[ie],h,g))}let{dehydratedView:d,dehydratedViewIx:p}=xD(n,t),f=Ln(o,c,null,{injector:u,dehydratedView:d});if(Fn(n,f,l,Jt(c,d)),Bi(f,2),p>-1&&n[pt]?.splice(p,1),(e===B.Complete||e===B.Error)&&Array.isArray(t[ka])){for(let h of t[ka])h();t[ka]=null}}k(x.DeferBlockStateEnd)}function tf(e,t){return e<t}function RD(e,t){let n=e[t.index];Et(B.Placeholder,t,n)}function nf(e,t,n){e.loadingPromise.then(()=>{e.loadingState===ce.COMPLETE?Et(B.Complete,t,n):e.loadingState===ce.FAILED&&Et(B.Error,t,n)})}var kD=null;var OD=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function _h(e){return typeof e=="function"&&e[j]!==void 0}function fl(e){return _h(e)&&typeof e.set=="function"}var Mh=new R("");function pl(e){return!!e&&typeof e.then=="function"}function Nh(e){return!!e&&typeof e.subscribe=="function"}var Sh=new R("");var hl=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=w(Sh,{optional:!0})??[];injector=w(Ee);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=$o(this.injector,o);if(pl(i))n.push(i);else if(Nh(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=U({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),xh=new R("");function Ah(){os(()=>{let e="";throw new b(600,e)})}function Rh(e){return e.isBoundToModule}var PD=10;var Qi=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=w(zt);afterRenderManager=w(Uc);zonelessEnabled=w(gr);rootEffectScheduler=w(Xo);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new le;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=w(Gt);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(at(n=>!n))}constructor(){w(Hr,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=w(ue);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=Ee.NULL){return this._injector.get(Ne).run(()=>{k(x.BootstrapComponentStart);let s=n instanceof qi;if(!this._injector.get(hl).done){let h="";throw new b(405,h)}let c;s?c=n:c=this._injector.get($r).resolveComponentFactory(n),this.componentTypes.push(c.componentType);let l=Rh(c)?void 0:this._injector.get(An),u=r||c.selector,d=c.create(o,[],u,l),p=d.location.nativeElement,f=d.injector.get(Mh,null);return f?.registerApplication(p),d.onDestroy(()=>{this.detachView(d.hostView),Ir(this.components,d),f?.unregisterApplication(p)}),this._loadComponent(d),k(x.BootstrapComponentEnd,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){k(x.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(Fi.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw k(x.ChangeDetectionEnd),new b(101,!1);let n=I(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,I(n),this.afterTick.next(),k(x.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Sr,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<PD;){k(x.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{k(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&&!ur(o))continue;let i=r&&!this.zonelessEnabled?0:1;Lp(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})=>ur(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;Ir(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(xh,[]).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),()=>Ir(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new b(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=U({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Ir(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function kh(e,t,n){let r=t[ie],o=t[v];if(e.loadingState!==ce.NOT_STARTED)return e.loadingPromise??Promise.resolve();let i=Vn(t,n),s=MD(o,e);e.loadingState=ce.IN_PROGRESS,li(1,i);let a=e.dependencyResolverFn,c=r.get(mr).add();return a?(e.loadingPromise=Promise.allSettled(a()).then(l=>{let u=!1,d=[],p=[];for(let f of l)if(f.status==="fulfilled"){let h=f.value,g=Ie(h)||Lo(h);if(g)d.push(g);else{let E=qs(h);E&&p.push(E)}}else{u=!0;break}if(u){if(e.loadingState=ce.FAILED,e.errorTmplIndex===null){let h=new b(-750,!1);Jc(t,h)}}else{e.loadingState=ce.COMPLETE;let f=s.tView;if(d.length>0){f.directiveRegistry=ef(f.directiveRegistry,d);let h=d.map(E=>E.type),g=Bo(!1,...h);e.providers=g}p.length>0&&(f.pipeRegistry=ef(f.pipeRegistry,p))}}),e.loadingPromise.finally(()=>{e.loadingPromise=null,c()})):(e.loadingPromise=Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=ce.COMPLETE,c()}),e.loadingPromise)}function LD(e,t){return t[ie].get(wh,null,{optional:!0})?.behavior!==dl.Manual}function FD(e,t,n){let r=t[v],o=t[n.index];if(!LD(e,t))return;let i=Vn(t,n),s=Hn(r,n);switch(bh(i),s.loadingState){case ce.NOT_STARTED:Et(B.Loading,n,o),kh(s,t,n),s.loadingState===ce.IN_PROGRESS&&nf(s,n,o);break;case ce.IN_PROGRESS:Et(B.Loading,n,o),nf(s,n,o);break;case ce.COMPLETE:Et(B.Complete,n,o);break;case ce.FAILED:Et(B.Error,n,o);break;default:}}function jD(e,t,n){return e===0?rf(t,n):e===2?!rf(t,n):!0}function VD(e){return e!=null&&(e&1)===1}function rf(e,t){let n=e[ie],r=Hn(e[v],t),o=Rc(n),i=VD(r.flags),a=Vn(e,t)[ED]!==null;return!(i&&a&&o)}function HD(e,t,n,r,o,i,s,a,c,l){let u=m(),d=O(),p=e+A,f=Xt(u,d,e,null,0,0),h=u[ie],g=Rc(h);if(d.firstCreatePass){Le("NgDefer");let Fe={primaryTmplIndex:t,loadingTmplIndex:r??null,placeholderTmplIndex:o??null,errorTmplIndex:i??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:n??null,loadingState:ce.NOT_STARTED,loadingPromise:null,providers:null,hydrateTriggers:null,debug:null,flags:l??0};c?.(d,Fe,a,s),TD(d,p,Fe)}let E=u[p];ch(E,f,u);let y=null,L=null;if(E[pt]?.length>0){let Fe=E[pt][0].data;L=Fe[xc]??null,y=Fe[Ac]}let he=[null,_i.Initial,null,null,null,null,L,y,null,null];bD(u,p,he);let Xe=null;L!==null&&g&&(Xe=h.get(Gf),Xe.add(L,{lView:u,tNode:f,lContainer:E}));let bt=()=>{bh(he),L!==null&&Xe?.cleanup([L])};CD(0,he,()=>sa(u,bt)),Go(u,bt)}function BD(e){let t=m(),n=Tn();if(!jD(0,t,n))return;let r=Te();if(J(t,r,e)){let o=I(null);try{let i=!!e,a=Vn(t,n)[qr];i===!1&&a===_i.Initial?RD(t,n):i===!0&&(a===_i.Initial||a===B.Placeholder)&&FD(0,t,n)}finally{I(o)}}}function Oh(e,t,n,r){let o=m(),i=Te();if(J(o,i,t)){let s=O(),a=Tn();NE(a,o,e,t,n,r)}return Oh}var xR=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var mc=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 Pa(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function $D(e,t,n,r){let o,i,s=0,a=e.length-1,c=void 0;if(Array.isArray(t)){I(r);let l=t.length-1;for(I(null);s<=a&&s<=l;){let u=e.at(s),d=t[s],p=Pa(s,u,s,d,n);if(p!==0){p<0&&e.updateValue(s,d),s++;continue}let f=e.at(a),h=t[l],g=Pa(a,f,l,h,n);if(g!==0){g<0&&e.updateValue(a,h),a--,l--;continue}let E=n(s,u),y=n(a,f),L=n(s,d);if(Object.is(L,y)){let he=n(l,h);Object.is(he,E)?(e.swap(s,a),e.updateValue(a,h),l--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(o??=new Mi,i??=sf(e,s,a,n),yc(e,o,s,L))e.updateValue(s,d),s++,a++;else if(i.has(L))o.set(E,e.detach(s)),a--;else{let he=e.create(s,t[s]);e.attach(s,he),s++,a++}}for(;s<=l;)of(e,o,n,s,t[s]),s++}else if(t!=null){I(r);let l=t[Symbol.iterator]();I(null);let u=l.next();for(;!u.done&&s<=a;){let d=e.at(s),p=u.value,f=Pa(s,d,s,p,n);if(f!==0)f<0&&e.updateValue(s,p),s++,u=l.next();else{o??=new Mi,i??=sf(e,s,a,n);let h=n(s,p);if(yc(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 g=n(s,d);o.set(g,e.detach(s)),a--}}}for(;!u.done;)of(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 yc(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function of(e,t,n,r,o){if(yc(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function sf(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 Mi=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 UD(e,t,n,r,o,i,s,a){Le("NgControlFlow");let c=m(),l=O(),u=ae(l.consts,i);return Xt(c,l,e,t,n,r,o,u,256,s,a),gl}function gl(e,t,n,r,o,i,s,a){Le("NgControlFlow");let c=m(),l=O(),u=ae(l.consts,i);return Xt(c,l,e,t,n,r,o,u,512,s,a),gl}function qD(e,t){Le("NgControlFlow");let n=m(),r=Te(),o=n[r]!==G?n[r]:-1,i=o!==-1?Ni(n,A+o):void 0,s=0;if(J(n,r,e)){let a=I(null);try{if(i!==void 0&&tl(i,s),e!==-1){let c=A+e,l=Ni(n,c),u=Dc(n[v],c),d=Qp(l,u,n),p=Ln(n,u,t,{dehydratedView:d});Fn(l,p,s,Jt(u,d))}}finally{I(a)}}else if(i!==void 0){let a=Bp(i,s);a!==void 0&&(a[H]=t)}}var vc=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-V}};function WD(e){return e}function GD(e,t){return t}var Ec=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function zD(e,t,n,r,o,i,s,a,c,l,u,d,p){Le("NgControlFlow");let f=m(),h=O(),g=c!==void 0,E=m(),y=a?s.bind(E[te][H]):s,L=new Ec(g,y);E[A+e]=L,Xt(f,h,e+1,t,n,r,o,ae(h.consts,i),256),g&&Xt(f,h,e+2,c,l,u,d,ae(h.consts,p),512)}var Ic=class extends mc{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-V}at(t){return this.getLView(t)[H].$implicit}attach(t,n){let r=n[jt];this.needsIndexUpdate||=t!==this.length,Fn(this.lContainer,n,t,Jt(this.templateTNode,r)),ZD(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,YD(this.lContainer,t),KD(this.lContainer,t)}create(t,n){let r=Ii(this.lContainer,this.templateTNode.tView.ssrId);return Ln(this.hostLView,this.templateTNode,new vc(this.lContainer,n,t),{dehydratedView:r})}destroy(t){ji(t[v],t)}updateValue(t,n){this.getLView(t)[H].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[H].$index=t}getLView(t){return JD(this.lContainer,t)}};function QD(e){let t=I(null),n=ye();try{let r=m(),o=r[v],i=r[n],s=n+1,a=Ni(r,s);if(i.liveCollection===void 0){let l=Dc(o,s);i.liveCollection=new Ic(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if($D(c,e,i.trackByFn,t),c.updateIndexes(),i.hasEmptyBlock){let l=Te(),u=c.length===0;if(J(r,l,u)){let d=n+2,p=Ni(r,d);if(u){let f=Dc(o,d),h=Qp(p,f,r),g=Ln(r,f,void 0,{dehydratedView:h});Fn(p,g,0,Jt(f,h))}else o.firstUpdatePass&&uI(p),tl(p,0)}}}finally{I(t)}}function Ni(e,t){return e[t]}function ZD(e,t){if(e.length<=V)return;let n=V+t,r=e[n],o=r?r[$t]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[ie];lE(i,o),wr.delete(r[ze]),o.detachedLeaveAnimationFns=void 0}}function YD(e,t){if(e.length<=V)return;let n=V+t,r=e[n],o=r?r[$t]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function KD(e,t){return Mr(e,t)}function JD(e,t){return Bp(e,t)}function Dc(e,t){return qt(e,t)}function Ph(e,t,n){let r=m(),o=Te();if(J(r,o,t)){let i=O(),s=Tn();zc(s,r,e,t,r[S],n)}return Ph}function Cc(e,t,n,r,o){Xc(t,e,n,o?"class":"style",r)}function ml(e,t,n,r){let o=m(),i=o[v],s=e+A,a=i.firstCreatePass?rl(s,o,2,t,Qc,zo(),n,r):i.data[s];if(Yc(a,o,e,t,jh),In(a)){let c=o[v];Hi(c,o,a),kc(c,a,o)}return r!=null&&Br(o,a),ml}function yl(){let e=O(),t=q(),n=Kc(t);return e.firstCreatePass&&ol(e,n),da(n)&&fa(),la(),n.classesWithoutHost!=null&&Fy(n)&&Cc(e,n,m(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&jy(n)&&Cc(e,n,m(),n.stylesWithoutHost,!1),yl}function Lh(e,t,n,r){return ml(e,t,n,r),yl(),Lh}function vl(e,t,n,r){let o=m(),i=o[v],s=e+A,a=i.firstCreatePass?wI(s,i,2,t,n,r):i.data[s];return Yc(a,o,e,t,jh),r!=null&&Br(o,a),vl}function El(){let e=q(),t=Kc(e);return da(t)&&fa(),la(),El}function Fh(e,t,n,r){return vl(e,t,n,r),El(),Fh}var jh=(e,t,n,r,o)=>(wn(!0),Pc(t[S],r,Id()));function Il(e,t,n){let r=m(),o=r[v],i=e+A,s=o.firstCreatePass?rl(i,r,8,"ng-container",Qc,zo(),t,n):o.data[i];if(Yc(s,r,e,"ng-container",XD),In(s)){let a=r[v];Hi(a,r,s),kc(a,s,r)}return n!=null&&Br(r,s),Il}function Dl(){let e=O(),t=q(),n=Kc(t);return e.firstCreatePass&&ol(e,n),Dl}function Vh(e,t,n){return Il(e,t,n),Dl(),Vh}var XD=(e,t,n,r,o)=>(wn(!0),sp(t[S],""));function eC(){return m()}function Hh(e,t,n){let r=m(),o=Te();if(J(r,o,t)){let i=O(),s=Tn();xp(s,r,e,t,r[S],n)}return Hh}var yr=void 0;function tC(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var nC=["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"]],yr,[["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"]],yr,[["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}",yr,yr,yr],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",tC],Dr={};function rC(e,t,n){typeof t!="string"&&(n=t,t=e[Rn.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),Dr[t]=e,n&&(Dr[t][Rn.ExtraData]=n)}function Cl(e){let t=iC(e),n=af(t);if(n)return n;let r=t.split("-")[0];if(n=af(r),n)return n;if(r==="en")return nC;throw new b(701,!1)}function oC(e){return Cl(e)[Rn.CurrencyCode]||null}function Bh(e){return Cl(e)[Rn.PluralCase]}function af(e){return e in Dr||(Dr[e]=Se.ng&&Se.ng.common&&Se.ng.common.locales&&Se.ng.common.locales[e]),Dr[e]}var Rn=(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})(Rn||{});function iC(e){return e.toLowerCase().replace(/_/g,"-")}var sC=["zero","one","two","few","many"];function aC(e,t){let n=Bh(t)(parseInt(e,10)),r=sC[n];return r!==void 0?r:"other"}var Wr="en-US",cC="USD",$h={marker:"element"},Uh={marker:"ICU"},Ye=(function(e){return e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT",e})(Ye||{}),qh=Wr;function Wh(e){typeof e=="string"&&(qh=e.toLowerCase().replace(/_/g,"-"))}function lC(){return qh}var kr=0,Cr=0;function uC(e){e&&(kr=kr|1<<Math.min(Cr,31)),Cr++}function dC(e,t,n){if(Cr>0){let r=e.data[n],o=Array.isArray(r)?r:r.update,i=Qo()-Cr-1;zh(e,t,o,i,kr)}kr=0,Cr=0}function fC(e,t,n){let r=e[S];switch(n){case Node.COMMENT_NODE:return sp(r,t);case Node.TEXT_NODE:return op(r,t);case Node.ELEMENT_NODE:return Pc(r,t,null)}}var ui=(e,t,n,r)=>(wn(!0),fC(e,n,r));function pC(e,t,n,r){let o=e[S];for(let i=0;i<t.length;i++){let s=t[i++],a=t[i],c=(s&Ye.COMMENT)===Ye.COMMENT,l=(s&Ye.APPEND_EAGERLY)===Ye.APPEND_EAGERLY,u=s>>>Ye.SHIFT,d=e[u],p=!1;d===null&&(d=e[u]=ui(e,u,a,c?Node.COMMENT_NODE:Node.TEXT_NODE),p=pr()),l&&n!==null&&p&&Kt(o,n,d,r,!1)}}function Gh(e,t,n,r){let o=n[S],i=null,s;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="string"){let l=t[++a];n[l]===null&&(n[l]=ui(n,l,c,Node.TEXT_NODE))}else if(typeof c=="number")switch(c&1){case 0:let l=tI(c);i===null&&(i=l,s=o.parentNode(r));let u,d;if(l===i?(u=r,d=s):(u=null,d=se(n[l])),d!==null){let g=nI(c),E=n[g];Kt(o,d,E,u,!1);let y=Er(e,g);if(y!==null&&typeof y=="object"){let L=Ui(y,n);L!==null&&Gh(e,y.create[L],n,n[y.anchorIdx])}}break;case 1:let p=c>>>1,f=t[++a],h=t[++a];Zc(o,cr(p,n),null,null,f,h,null);break;default:}else switch(c){case Uh:let l=t[++a],u=t[++a];if(n[u]===null){let f=n[u]=ui(n,u,l,Node.COMMENT_NODE);It(f,n)}break;case $h:let d=t[++a],p=t[++a];if(n[p]===null){let f=n[p]=ui(n,p,d,Node.ELEMENT_NODE);It(f,n)}break;default:}}}function zh(e,t,n,r,o){for(let i=0;i<n.length;i++){let s=n[i],a=n[++i];if(s&o){let c="";for(let l=i+1;l<=i+a;l++){let u=n[l];if(typeof u=="string")c+=u;else if(typeof u=="number")if(u<0)c+=de(t[r-u]);else{let d=u>>>2;switch(u&3){case 1:let p=n[++l],f=n[++l],h=e.data[d];typeof h=="string"?Zc(t[S],t[d],null,h,p,c,f):zc(h,t,p,c,t[S],f);break;case 0:let g=t[d];g!==null&&ip(t[S],g,c);break;case 2:hC(e,Er(e,d),t,c);break;case 3:cf(e,Er(e,d),r,t);break}}}}else{let c=n[i+1];if(c>0&&(c&3)===3){let l=c>>>2,u=Er(e,l);t[u.currentCaseLViewIndex]<0&&cf(e,u,r,t)}}i+=a}}function cf(e,t,n,r){let o=r[t.currentCaseLViewIndex];if(o!==null){let i=kr;o<0&&(o=r[t.currentCaseLViewIndex]=~o,i=-1),zh(e,r,t.update[o],n,i)}}function hC(e,t,n,r){let o=gC(t,r);if(Ui(t,n)!==o&&(Qh(e,t,n),n[t.currentCaseLViewIndex]=o===null?null:~o,o!==null)){let s=n[t.anchorIdx];s&&Gh(e,t.create[o],n,s),lI(n,t.anchorIdx,o)}}function Qh(e,t,n){let r=Ui(t,n);if(r!==null){let o=t.remove[r];for(let i=0;i<o.length;i++){let s=o[i];if(s>0){let a=cr(s,n);a!==null&&Lc(n[S],a)}else Qh(e,Er(e,~s),n)}}}function gC(e,t){let n=e.cases.indexOf(t);if(n===-1)switch(e.type){case 1:{let r=aC(t,lC());n=e.cases.indexOf(r),n===-1&&r!=="other"&&(n=e.cases.indexOf("other"));break}case 0:{n=e.cases.indexOf("other");break}}return n===-1?null:n}var Si=/�(\d+):?\d*�/gi;var mC=/�(\d+)�/,Zh=/^\s*(�\d+:?\d*�)\s*,\s*(select|plural)\s*,/,br="\uFFFD",yC=/�\/?\*(\d+:\d+)�/gi,vC=/�(\/?[#*]\d+):?\d*�/gi,EC=/\uE500/g;function IC(e){return e.replace(EC," ")}function DC(e,t,n,r,o,i){let s=bn(),a=[],c=[],l=[[]],u=[[]];o=bC(o,i);let d=IC(o).split(vC);for(let p=0;p<d.length;p++){let f=d[p];if((p&1)===0){let h=bc(f);for(let g=0;g<h.length;g++){let E=h[g];if((g&1)===0){let y=E;y!==""&&CC(u[0],e,s,l[0],a,c,n,y)}else{let y=E;if(typeof y!="object")throw new Error(`Unable to parse ICU expression in "${o}" message.`);let he=Yh(e,s,l[0],n,a,"",!0).index;Jh(u[0],e,n,c,t,y,he)}}}else{let h=f.charCodeAt(0)===47,g=f.charCodeAt(h?1:0),E=A+Number.parseInt(f.substring(h?2:1));if(h)l.shift(),u.shift(),Oe(bn(),!1);else{let y=eI(e,l[0],E);l.unshift([]),Oe(y,!0);let L={kind:2,index:E,children:[],type:g===35?0:1};u[0].push(L),u.unshift(L.children)}}}e.data[r]={create:a,update:c,ast:u[0],parentTNodeIndex:t}}function Yh(e,t,n,r,o,i,s){let a=Vr(e,r,1,null),c=a<<Ye.SHIFT,l=bn();t===l&&(l=null),l===null&&(c|=Ye.APPEND_EAGERLY),s&&(c|=Ye.COMMENT,iE(iI)),o.push(c,i===null?"":i);let u=nl(e,a,s?32:1,i===null?"":i,null);Wp(n,u);let d=u.index;return Oe(u,!1),l!==null&&t!==l&&XE(l,d),u}function CC(e,t,n,r,o,i,s,a){let c=a.match(Si),u=Yh(t,n,r,s,o,c?null:a,!1).index;c&&di(i,a,u,null,0,null),e.push({kind:0,index:u})}function di(e,t,n,r,o,i){let s=e.length,a=s+1;e.push(null,null);let c=s+2,l=t.split(Si),u=0;for(let d=0;d<l.length;d++){let p=l[d];if(d&1){let f=o+parseInt(p,10);e.push(-1-f),u=u|Kh(f)}else p!==""&&e.push(p)}return e.push(n<<2|(r?1:0)),r&&e.push(r,i),e[s]=u,e[a]=e.length-c,u}function Kh(e){return 1<<Math.min(e,31)}function lf(e){let t,n="",r=0,o=!1,i;for(;(t=yC.exec(e))!==null;)o?t[0]===`${br}/*${i}${br}`&&(r=t.index,o=!1):(n+=e.substring(r,t.index+t[0].length),i=t[1],o=!0);return n+=e.slice(r),n}function bC(e,t){if(oI(t))return lf(e);{let n=e.indexOf(`:${t}${br}`)+2+t.toString().length,r=e.search(new RegExp(`${br}\\/\\*\\d+:${t}${br}`));return lf(e.substring(n,r))}}function Jh(e,t,n,r,o,i,s){let a=0,c={type:i.type,currentCaseLViewIndex:Vr(t,n,1,null),anchorIdx:s,cases:[],create:[],remove:[],update:[]};MC(r,i,s),JE(t,s,c);let l=i.values,u=[];for(let d=0;d<l.length;d++){let p=l[d],f=[];for(let g=0;g<p.length;g++){let E=p[g];if(typeof E!="string"){let y=f.push(E)-1;p[g]=`<!--\uFFFD${y}\uFFFD-->`}}let h=[];u.push(h),a=wC(h,t,c,n,r,o,i.cases[d],p.join(""),f)|a}a&&NC(r,a,s),e.push({kind:3,index:s,cases:u,currentCaseLViewIndex:c.currentCaseLViewIndex})}function TC(e){let t=[],n=[],r=1,o=0;e=e.replace(Zh,function(s,a,c){return c==="select"?r=0:r=1,o=parseInt(a.slice(1),10),""});let i=bc(e);for(let s=0;s<i.length;){let a=i[s++].trim();r===1&&(a=a.replace(/\s*(?:=)?(\w+)\s*/,"$1")),a.length&&t.push(a);let c=bc(i[s++]);t.length>n.length&&n.push(c)}return{type:r,mainBinding:o,cases:t,values:n}}function bc(e){if(!e)return[];let t=0,n=[],r=[],o=/[{}]/g;o.lastIndex=0;let i;for(;i=o.exec(e);){let a=i.index;if(i[0]=="}"){if(n.pop(),n.length==0){let c=e.substring(t,a);Zh.test(c)?r.push(TC(c)):r.push(c),t=a+1}}else{if(n.length==0){let c=e.substring(t,a);r.push(c),t=a+1}n.push("{")}}let s=e.substring(t);return r.push(s),r}function wC(e,t,n,r,o,i,s,a,c){let l=[],u=[],d=[];n.cases.push(s),n.create.push(l),n.remove.push(u),n.update.push(d);let f=Kf(Sc()).getInertBodyElement(a),h=nc(f)||f;return h?Xh(e,t,n,r,o,l,u,d,h,i,c,0):0}function Xh(e,t,n,r,o,i,s,a,c,l,u,d){let p=0,f=c.firstChild;for(;f;){let h=Vr(t,r,1,null);switch(f.nodeType){case Node.ELEMENT_NODE:let g=f,E=g.tagName.toLowerCase();if(ec.hasOwnProperty(E)){La(i,$h,E,l,h),t.data[h]=E;let Xe=g.attributes;for(let Fe=0;Fe<Xe.length;Fe++){let Tt=Xe.item(Fe),$l=Tt.name.toLowerCase();!!Tt.value.match(Si)?tp.hasOwnProperty($l)&&(Oc[$l]?di(a,Tt.value,h,Tt.name,0,Pi):di(a,Tt.value,h,Tt.name,0,null)):SC(i,h,Tt)}let bt={kind:1,index:h,children:[]};e.push(bt),p=Xh(bt.children,t,n,r,o,i,s,a,f,h,u,d+1)|p,uf(s,h,d)}break;case Node.TEXT_NODE:let y=f.textContent||"",L=y.match(Si);La(i,null,L?"":y,l,h),uf(s,h,d),L&&(p=di(a,y,h,null,0,null)|p),e.push({kind:0,index:h});break;case Node.COMMENT_NODE:let he=mC.exec(f.textContent||"");if(he){let Xe=parseInt(he[1],10),bt=u[Xe];La(i,Uh,"",l,h),Jh(e,t,r,o,l,bt,h),_C(s,h,d)}break}f=f.nextSibling}return p}function uf(e,t,n){n===0&&e.push(t)}function _C(e,t,n){n===0&&(e.push(~t),e.push(t))}function MC(e,t,n){e.push(Kh(t.mainBinding),2,-1-t.mainBinding,n<<2|2)}function NC(e,t,n){e.push(t,1,n<<2|3)}function La(e,t,n,r,o){t!==null&&e.push(t),e.push(n,o,rI(0,r,o))}function SC(e,t,n){e.push(t<<1|1,n.name,n.value)}var df=0,xC=/\[(�.+?�?)\]/,AC=/\[(�.+?�?)\]|(�\/?\*\d+:\d+�)/g,RC=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,kC=/{([A-Z0-9_]+)}/g,OC=/�I18N_EXP_(ICU(_\d+)?)�/g,PC=/\/\*/,LC=/\d+\:(\d+)/;function FC(e,t={}){let n=e;if(xC.test(e)){let r={},o=[df];n=n.replace(AC,(i,s,a)=>{let c=s||a,l=r[c]||[];if(l.length||(c.split("|").forEach(g=>{let E=g.match(LC),y=E?parseInt(E[1],10):df,L=PC.test(g);l.push([y,L,g])}),r[c]=l),!l.length)throw new Error(`i18n postprocess: unmatched placeholder - ${c}`);let u=o[o.length-1],d=0;for(let g=0;g<l.length;g++)if(l[g][0]===u){d=g;break}let[p,f,h]=l[d];return f?o.pop():u!==p&&o.push(p),l.splice(d,1),h})}return Object.keys(t).length&&(n=n.replace(RC,(r,o,i,s,a,c)=>t.hasOwnProperty(i)?`${o}${t[i]}${c}`:r),n=n.replace(kC,(r,o)=>t.hasOwnProperty(o)?t[o]:r),n=n.replace(OC,(r,o)=>{if(t.hasOwnProperty(o)){let i=t[o];if(!i.length)throw new Error(`i18n postprocess: unmatched ICU - ${r} with key: ${o}`);return i.shift()}return r})),n}function eg(e,t,n=-1){let r=O(),o=m(),i=A+e,s=ae(r.consts,t),a=bn();if(r.firstCreatePass&&DC(r,a===null?0:a.index,o,i,s,n),r.type===2){let p=o[te];p[D]|=32}else o[D]|=32;let c=r.data[i],l=a===o[ee]?null:a,u=Cp(r,l,o),d=a&&a.type&8?o[a.index]:null;aI(o,i,a,n),pC(o,c.create,u,d),va(!0)}function tg(){va(!1)}function jC(e,t,n){eg(e,t,n),tg()}function ng(e){let t=m();return uC(J(t,Te(),e)),ng}function VC(e){dC(O(),m(),e+A)}function HC(e,t={}){return FC(e,t)}function rg(e,t,n){let r=m(),o=O(),i=q();return ig(o,r,r[S],i,e,t,n),rg}function og(e,t,n){let r=m(),o=O(),i=q();return(i.type&3||n)&&rh(i,o,r,n,r[S],e,t,ci(i,r,t)),og}function ig(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=ci(r,t,i),rh(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??=ci(r,t,i),Qd(r,t,p,f,o,c)}if(l&&l.length)for(let d of l)c??=ci(r,t,i),Qd(r,t,d,o,o,c)}}function BC(e=1){return yd(e)}function $C(e,t){let n=null,r=Qv(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?pp(e,i,!0):Kv(r,i))return o}return n}function UC(e){let t=m()[te][ee];if(!t.projection){let n=e?e.length:1,r=t.projection=Gu(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?$C(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function qC(e,t=0,n,r,o,i){let s=m(),a=O(),c=r?e+1:null;c!==null&&Xt(s,a,c,r,o,i,null,n);let l=nn(a,A+e,16,null,n||null);l.projection===null&&(l.projection=t),ga();let d=!s[jt]||ua();s[te][ee].projection[l.projection]===null&&c!==null?WC(s,a,c):d&&!Ri(l)&&yE(a,s,l)}function WC(e,t,n){let r=A+n,o=t.data[r],i=e[r],s=Ii(i,o.tView.ssrId),a=Ln(e,o,void 0,{dehydratedView:s});Fn(i,a,0,Jt(o,s))}function sg(e,t,n,r){return dh(e,t,n,r),sg}function GC(e){let t=m(),n=O(),r=Yo();fr(r+1);let o=al(n,r);if(e.dirty&&td(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=ph(t,r);e.reset(i,Of),e.notifyOnChanges()}return!0}return!1}function zC(){return sl(m(),Yo())}function ag(e,t,n,r,o){return gh(t,dh(e,n,r,o)),ag}function cg(e,t,n,r){return gh(e,GI(t,n,r)),cg}function QC(e=1){fr(Yo()+e)}function ZC(e){let t=ma();return Cn(t,A+e)}function ri(e,t){return e<<17|t<<2}function en(e){return e>>17&32767}function YC(e){return(e&2)==2}function KC(e,t){return e&131071|t<<17}function Tc(e){return e|2}function kn(e){return(e&131068)>>2}function Fa(e,t){return e&-131069|t<<2}function JC(e){return(e&1)===1}function wc(e){return e|1}function XC(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=en(s),c=kn(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||mn(d,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let p=en(e[a+1]);e[r+1]=ri(p,a),p!==0&&(e[p+1]=Fa(e[p+1],r)),e[a+1]=KC(e[a+1],r)}else e[r+1]=ri(a,0),a!==0&&(e[a+1]=Fa(e[a+1],r)),a=r;else e[r+1]=ri(c,0),a===0?a=r:e[c+1]=Fa(e[c+1],r),c=r;l&&(e[r+1]=Tc(e[r+1])),ff(e,u,r,!0),ff(e,u,r,!1),eb(t,u,e,r,i),s=ri(a,c),i?t.classBindings=s:t.styleBindings=s}function eb(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&mn(i,t)>=0&&(n[r+1]=wc(n[r+1]))}function ff(e,t,n,r){let o=e[n+1],i=t===null,s=r?en(o):kn(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];tb(c,t)&&(a=!0,e[s+1]=r?wc(l):Tc(l)),s=r?en(l):kn(l)}a&&(e[n+1]=r?Tc(o):wc(o))}function tb(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?mn(e,t)>=0:!1}var W={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function lg(e){return e.substring(W.key,W.keyEnd)}function nb(e){return e.substring(W.value,W.valueEnd)}function rb(e){return fg(e),ug(e,On(e,0,W.textEnd))}function ug(e,t){let n=W.textEnd;return n===t?-1:(t=W.keyEnd=ib(e,W.key=t,n),On(e,t,n))}function ob(e){return fg(e),dg(e,On(e,0,W.textEnd))}function dg(e,t){let n=W.textEnd,r=W.key=On(e,t,n);return n===r?-1:(r=W.keyEnd=sb(e,r,n),r=pf(e,r,n,58),r=W.value=On(e,r,n),r=W.valueEnd=ab(e,r,n),pf(e,r,n,59))}function fg(e){W.key=0,W.keyEnd=0,W.value=0,W.valueEnd=0,W.textEnd=e.length}function On(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function ib(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function sb(e,t,n){let r;for(;t<n&&((r=e.charCodeAt(t))===45||r===95||(r&-33)>=65&&(r&-33)<=90||r>=48&&r<=57);)t++;return t}function pf(e,t,n,r){return t=On(e,t,n),t<n&&t++,t}function ab(e,t,n){let r=-1,o=-1,i=-1,s=t,a=s;for(;s<n;){let c=e.charCodeAt(s++);if(c===59)return a;c===34||c===39?a=s=hf(e,c,s,n):t===s-4&&i===85&&o===82&&r===76&&c===40?a=s=hf(e,41,s,n):c>32&&(a=s),i=o,o=r,r=c&-33}return a}function hf(e,t,n,r){let o=-1,i=n;for(;i<r;){let s=e.charCodeAt(i++);if(s==t&&o!==92)return i;s==92&&o===92?o=0:o=s}throw new Error}function pg(e,t,n){return gg(e,t,n,!1),pg}function hg(e,t){return gg(e,t,null,!0),hg}function cb(e){mg(Eg,lb,e,!1)}function lb(e,t){for(let n=ob(t);n>=0;n=dg(t,n))Eg(e,lg(t),nb(t))}function ub(e){mg(yb,db,e,!0)}function db(e,t){for(let n=rb(t);n>=0;n=ug(t,n))ir(e,lg(t),!0)}function gg(e,t,n,r){let o=m(),i=O(),s=dr(2);if(i.firstUpdatePass&&vg(i,e,s,r),t!==G&&J(o,s,t)){let a=i.data[ye()];Ig(i,a,o,o[S],e,o[s+1]=Eb(t,n),r,s)}}function mg(e,t,n,r){let o=O(),i=dr(2);o.firstUpdatePass&&vg(o,null,i,r);let s=m();if(n!==G&&J(s,i,n)){let a=o.data[ye()];if(Dg(a,r)&&!yg(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=ko(c,n||"")),Cc(o,a,s,n,r)}else vb(o,a,s,s[S],s[i+1],s[i+1]=mb(e,t,n),r,i)}}function yg(e,t){return t>=e.expandoStartIndex}function vg(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[ye()],s=yg(e,n);Dg(i,r)&&t===null&&!s&&(t=!1),t=fb(o,i,t,r),XC(o,i,t,n,s,r)}}function fb(e,t,n,r){let o=pd(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=ja(null,e,t,n,r),n=Or(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=ja(o,e,t,n,r),i===null){let c=pb(e,t,r);c!==void 0&&Array.isArray(c)&&(c=ja(null,e,t,c[1],r),c=Or(c,t.attrs,r),hb(e,t,r,c))}else i=gb(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function pb(e,t,n){let r=n?t.classBindings:t.styleBindings;if(kn(r)!==0)return e[en(r)]}function hb(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[en(o)]=r}function gb(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Or(r,s,n)}return Or(r,t.attrs,n)}function ja(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=Or(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Or(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]),ir(e,s,n?!0:t[++i]))}return e===void 0?null:e}function mb(e,t,n){if(n==null||n==="")return K;let r=[],o=tn(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else typeof o=="string"&&t(r,o);return r}function Eg(e,t,n){ir(e,t,tn(n))}function yb(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&ir(e,r,n)}function vb(e,t,n,r,o,i,s,a){o===G&&(o=K);let c=0,l=0,u=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;u!==null||d!==null;){let p=c<o.length?o[c+1]:void 0,f=l<i.length?i[l+1]:void 0,h=null,g;u===d?(c+=2,l+=2,p!==f&&(h=d,g=f)):d===null||u!==null&&u<d?(c+=2,h=u):(l+=2,h=d,g=f),h!==null&&Ig(e,t,n,r,h,g,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function Ig(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,l=c[a+1],u=JC(l)?gf(c,t,n,o,kn(l),s):void 0;if(!xi(u)){xi(i)||YC(l)&&(i=gf(c,null,n,o,a,s));let d=cr(ye(),n);EE(r,s,d,o,i)}}function gf(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===G&&(p=d?K:void 0);let f=d?Ho(p,r):u===r?p:void 0;if(l&&!xi(f)&&(f=Ho(c,r)),xi(f)&&(a=f,s))return a;let h=e[o+1];o=s?en(h):kn(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Ho(c,r))}return a}function xi(e){return e!==void 0}function Eb(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=qe(tn(e)))),e}function Dg(e,t){return(e.flags&(t?8:16))!==0}function Ib(e,t=""){let n=m(),r=O(),o=e+A,i=r.firstCreatePass?nn(r,o,1,t,null):r.data[o],s=Db(r,n,i,t,e);n[o]=s,pr()&&Wc(r,n,s,i),Oe(i,!1)}var Db=(e,t,n,r,o)=>(wn(!0),op(t[S],r));function Cg(e,t,n,r=""){return J(e,Te(),n)?t+de(n)+r:G}function Cb(e,t,n,r,o,i=""){let s=Qo(),a=xr(e,s,n,o);return dr(2),a?t+de(n)+r+de(o)+i:G}function bb(e,t,n,r,o,i,s,a=""){let c=Qo(),l=th(e,c,n,o,s);return dr(3),l?t+de(n)+r+de(o)+i+de(s)+a:G}function bg(e){return bl("",e),bg}function bl(e,t,n){let r=m(),o=Cg(r,e,t,n);return o!==G&&Tl(r,ye(),o),bl}function Tg(e,t,n,r,o){let i=m(),s=Cb(i,e,t,n,r,o);return s!==G&&Tl(i,ye(),s),Tg}function wg(e,t,n,r,o,i,s){let a=m(),c=bb(a,e,t,n,r,o,i,s);return c!==G&&Tl(a,ye(),c),wg}function Tl(e,t,n){let r=cr(t,e);ip(e[S],r,n)}function _g(e,t,n){fl(t)&&(t=t());let r=m(),o=Te();if(J(r,o,t)){let i=O(),s=Tn();zc(s,r,e,t,r[S],n)}return _g}function Tb(e,t){let n=fl(e);return n&&e.set(t),n}function Mg(e,t){let n=m(),r=O(),o=q();return ig(r,n,n[S],o,e,t),Mg}var Ng={};function Sg(e){Le("NgLet");let t=O(),n=m(),r=e+A,o=nn(t,r,128,null,null);return Oe(o,!1),lr(t,n,r,Ng),Sg}function wb(e){let t=O(),n=m(),r=ye();return lr(t,n,r,e),e}function _b(e){let t=ma(),n=Cn(t,A+e);if(n===Ng)throw new b(314,!1);return n}function Mb(e){return J(m(),Te(),e)?de(e):G}function Nb(e,t,n=""){return Cg(m(),e,t,n)}function mf(e,t,n){let r=O();r.firstCreatePass&&xg(t,r.data,r.blueprint,ke(e),n)}function xg(e,t,n,r,o){if(e=Y(e),Array.isArray(e))for(let i=0;i<e.length;i++)xg(e[i],t,n,r,o);else{let i=O(),s=m(),a=q(),c=Pt(e)?e:Y(e.provide),l=Xs(e),u=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(Pt(e)||!e.multi){let f=new Zt(l,o,Ur,null),h=Ha(c,t,o?u:u+p,d);h===-1?($a(mi(a,s),i,c),Va(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=Ha(c,t,u+p,d),h=Ha(c,t,u,u+p),g=f>=0&&n[f],E=h>=0&&n[h];if(o&&!E||!o&&!g){$a(mi(a,s),i,c);let y=Ab(o?xb:Sb,n.length,o,r,l,e);!o&&E&&(n[h].providerFactory=y),Va(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(y),s.push(y)}else{let y=Ag(n[o?h:f],l,!o&&r);Va(i,e,f>-1?f:h,y)}!o&&r&&E&&n[h].componentProviders++}}}function Va(e,t,n,r){let o=Pt(t),i=Ku(t);if(o||i){let c=(i?Y(t.useClass):t).prototype.ngOnDestroy;if(c){let l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let u=l.indexOf(n);u===-1?l.push(n,[r,c]):l[u+1].push(r,c)}else l.push(n,c)}}}function Ag(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Ha(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function Sb(e,t,n,r,o){return _c(this.multi,[])}function xb(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=Tr(r,r[v],this.providerFactory.index,o);s=c.slice(0,a),_c(i,s);for(let l=a;l<c.length;l++)s.push(c[l])}else s=[],_c(i,s);return s}function _c(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function Ab(e,t,n,r,o,i){let s=new Zt(e,n,Ur,null);return s.multi=[],s.index=t,s.componentProviders=0,Ag(s,o,r&&!n),s}function Rb(e,t){return n=>{n.providersResolver=(r,o)=>mf(r,o?o(e):e,!1),t&&(n.viewProvidersResolver=(r,o)=>mf(r,o?o(t):t,!0))}}function kb(e,t){let n=Qe()+e,r=m();return r[n]===G?jn(r,n,t()):eh(r,n)}function Ob(e,t,n){return Rg(m(),Qe(),e,t,n)}function Pb(e,t,n,r){return kg(m(),Qe(),e,t,n,r)}function Lb(e,t,n,r,o,i,s){return Vb(m(),Qe(),e,t,n,r,o,i)}function Fb(e,t,n,r,o,i,s){let a=Qe()+e,c=m(),l=nh(c,a,n,r,o,i);return J(c,a+4,s)||l?jn(c,a+5,t(n,r,o,i,s)):eh(c,a+5)}function Zi(e,t){let n=e[t];return n===G?void 0:n}function Rg(e,t,n,r,o,i){let s=t+n;return J(e,s,o)?jn(e,s+1,i?r.call(i,o):r(o)):Zi(e,s+1)}function kg(e,t,n,r,o,i,s){let a=t+n;return xr(e,a,o,i)?jn(e,a+2,s?r.call(s,o,i):r(o,i)):Zi(e,a+2)}function jb(e,t,n,r,o,i,s,a){let c=t+n;return th(e,c,o,i,s)?jn(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):Zi(e,c+3)}function Vb(e,t,n,r,o,i,s,a,c){let l=t+n;return nh(e,l,o,i,s,a)?jn(e,l+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):Zi(e,l+4)}function Hb(e,t){let n=O(),r,o=e+A;n.firstCreatePass?(r=Bb(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=ct(r.type,!0)),s,a=re(Ur);try{let c=gi(!1),l=i();return gi(c),lr(n,m(),o,l),l}finally{re(a)}}function Bb(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function $b(e,t,n){let r=e+A,o=m(),i=Cn(o,r);return wl(o,r)?Rg(o,Qe(),t,i.transform,n,i):i.transform(n)}function Ub(e,t,n,r){let o=e+A,i=m(),s=Cn(i,o);return wl(i,o)?kg(i,Qe(),t,s.transform,n,r,s):s.transform(n,r)}function qb(e,t,n,r,o){let i=e+A,s=m(),a=Cn(s,i);return wl(s,i)?jb(s,Qe(),t,a.transform,n,r,o,a):a.transform(n,r,o)}function wl(e,t){return e[v].data[t].pure}function Wb(e,t){return $i(e,t)}var Ai=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},Gb=(()=>{class e{compileModuleSync(n){return new wi(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=Us(n),i=dp(o.declarations).reduce((s,a)=>{let c=Ie(a);return c&&s.push(new Ct(c)),s},[]);return new Ai(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=U({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Og=(()=>{class e{applicationErrorHandler=w(zt);appRef=w(Qi);taskService=w(Gt);ngZone=w(Ne);zonelessEnabled=w(gr);tracing=w(Hr,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new Z;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(er):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(w(_a,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{let n=this.taskService.add();if(!this.runningTick&&(this.cleanup(),!this.zonelessEnabled||this.appRef.includeAllTestViews)){this.taskService.remove(n);return}this.switchToMicrotaskScheduler(),this.taskService.remove(n)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{let n=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})})}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;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;let r=this.useMicrotaskScheduler?Td:ba;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(er+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.applicationErrorHandler(r)}finally{this.taskService.remove(n),this.cleanup()}}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=U({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function zb(){return Le("NgZoneless"),Ys([..._l(),[]])}function _l(){return[{provide:Ge,useExisting:Og},{provide:Ne,useClass:tr},{provide:gr,useValue:!0}]}function Qb(){return typeof $localize<"u"&&$localize.locale||Wr}var Ml=new R("",{factory:()=>w(Ml,{optional:!0,skipSelf:!0})||Qb()}),Zb=new R("",{factory:()=>cC});var Gr=class{destroyed=!1;listeners=null;errorHandler=w(We,{optional:!0});destroyRef=w(Ze);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new b(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(nr(953,!1));return}if(this.listeners===null)return;let n=I(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{I(n)}}};function rn(e,t){return Un(e,t?.equal)}var Yb=e=>e;function Nl(e,t){if(typeof e=="function"){let n=Cs(e,Yb,t?.equal);return Pg(n,t?.debugName)}else{let n=Cs(e.source,e.computation,e.equal);return Pg(n,e.debugName)}}function Pg(e,t){let n=e[j],r=e;return r.set=o=>Su(n,o),r.update=o=>xu(n,o),r.asReadonly=_n.bind(e),r}function Kb(e){let t=e.request,n=e.params??t??(()=>null);return new Yi(n,Xb(e),e.defaultValue,e.equal?Jb(e.equal):void 0,e.debugName,e.injector??w(Ee))}var Sl=class{value;isLoading;constructor(t,n){this.value=t,this.value.set=this.set.bind(this),this.value.update=this.update.bind(this),this.value.asReadonly=_n,this.isLoading=rn(()=>this.status()==="loading"||this.status()==="reloading",void 0)}isError=rn(()=>this.status()==="error");update(t){this.set(t(pe(this.value)))}isValueDefined=rn(()=>this.isError()?!1:this.value()!==void 0);hasValue(){return this.isValueDefined()}asReadonly(){return this}},Yi=class extends Sl{loaderFn;equal;debugName;pendingTasks;state;extRequest;effectRef;pendingController;resolvePendingTask=void 0;destroyed=!1;unregisterOnDestroy;status;error;constructor(t,n,r,o,i,s){super(rn(()=>{let a=this.state().stream?.();if(!a||this.state().status==="loading"&&this.error())return r;if(!xl(a))throw new Al(this.error());return a.value},{equal:o}),i),this.loaderFn=n,this.equal=o,this.debugName=i,this.extRequest=Nl({source:t,computation:a=>({request:a,reload:0})}),this.state=Nl({source:this.extRequest,computation:(a,c)=>{let l=a.request===void 0?"idle":"loading";return c?{extRequest:a,status:l,previousStatus:Lg(c.value),stream:c.value.extRequest.request===a.request?c.value.stream:void 0}:{extRequest:a,status:l,previousStatus:"idle",stream:void 0}}}),this.effectRef=Ma(this.loadEffect.bind(this),{injector:s,manualCleanup:!0}),this.pendingTasks=s.get(mr),this.unregisterOnDestroy=s.get(Ze).onDestroy(()=>this.destroy()),this.status=rn(()=>Lg(this.state()),void 0),this.error=rn(()=>{let a=this.state().stream?.();return a&&!xl(a)?a.error:void 0},void 0)}set(t){if(this.destroyed)return;let n=pe(this.error),r=pe(this.state);if(!n){let o=pe(this.value);if(r.status==="local"&&(this.equal?this.equal(o,t):o===t))return}this.state.set({extRequest:r.extRequest,status:"local",previousStatus:"local",stream:vt({value:t},void 0)}),this.abortInProgressLoad()}reload(){let{status:t}=pe(this.state);return t==="idle"||t==="loading"?!1:(this.extRequest.update(({request:n,reload:r})=>({request:n,reload:r+1})),!0)}destroy(){this.destroyed=!0,this.unregisterOnDestroy(),this.effectRef.destroy(),this.abortInProgressLoad(),this.state.set({extRequest:{request:void 0,reload:0},status:"idle",previousStatus:"idle",stream:void 0})}async loadEffect(){let t=this.extRequest(),{status:n,previousStatus:r}=pe(this.state);if(t.request===void 0)return;if(n!=="loading")return;this.abortInProgressLoad();let o=this.resolvePendingTask=this.pendingTasks.add(),{signal:i}=this.pendingController=new AbortController;try{let s=await pe(()=>this.loaderFn({params:t.request,request:t.request,abortSignal:i,previous:{status:r}}));if(i.aborted||pe(this.extRequest)!==t)return;this.state.set({extRequest:t,status:"resolved",previousStatus:"resolved",stream:s})}catch(s){if(i.aborted||pe(this.extRequest)!==t)return;this.state.set({extRequest:t,status:"resolved",previousStatus:"error",stream:vt({error:kl(s)},void 0)})}finally{o?.(),o=void 0}}abortInProgressLoad(){pe(()=>this.pendingController?.abort()),this.pendingController=void 0,this.resolvePendingTask?.(),this.resolvePendingTask=void 0}};function Jb(e){return(t,n)=>t===void 0||n===void 0?t===n:e(t,n)}function Xb(e){return eT(e)?e.stream:async t=>{try{return vt({value:await e.loader(t)},void 0)}catch(n){return vt({error:kl(n)},void 0)}}}function eT(e){return!!e.stream}function Lg(e){switch(e.status){case"loading":return e.extRequest.reload===0?"loading":"reloading";case"resolved":return xl(e.stream())?"resolved":"error";default:return e.status}}function xl(e){return e.error===void 0}function kl(e){return tT(e)?e:new Rl(e)}function tT(e){return e instanceof Error||typeof e=="object"&&typeof e.name=="string"&&typeof e.message=="string"}var Al=class extends Error{constructor(t){super(t.message,{cause:t})}},Rl=class extends Error{constructor(t){super(String(t),{cause:t})}};var Xi=Symbol("InputSignalNode#UNSET"),Gg=Q(z({},Kr),{transformFn:void 0,applyValueToInputSignal(e,t){ot(e,t)}});function zg(e,t){let n=Object.create(Gg);n.value=e,n.transformFn=t?.transform;function r(){if(tt(n),n.value===Xi){let o=null;throw new b(-950,o)}return n.value}return r[j]=n,r}var Fg=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>kf(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}};function $F(e){return new Gr}function jg(e,t){return zg(e,t)}function rT(e){return zg(Xi,e)}var UF=(jg.required=rT,jg);function Vg(e,t){return cl(t)}function oT(e,t){return ll(t)}var qF=(Vg.required=oT,Vg);function Hg(e,t){return cl(t)}function iT(e,t){return ll(t)}var WF=(Hg.required=iT,Hg);function Qg(e,t){let n=Object.create(Gg),r=new Gr;n.value=e;function o(){return tt(n),Bg(n.value),n.value}return o[j]=n,o.asReadonly=_n.bind(o),o.set=i=>{n.equal(n.value,i)||(ot(n,i),r.emit(i))},o.update=i=>{Bg(n.value),o.set(i(n.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function Bg(e){if(e===Xi)throw new b(952,!1)}function $g(e,t){return Qg(e,t)}function sT(e){return Qg(Xi,e)}var GF=($g.required=sT,$g);var Ol=new R(""),aT=new R("");function zr(e){return!e.moduleRef}function cT(e){let t=zr(e)?e.r3Injector:e.moduleRef.injector,n=t.get(Ne);return n.run(()=>{zr(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(zt),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),zr(e)){let i=()=>t.destroy(),s=e.platformInjector.get(Ol);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Ol);s.add(i),e.moduleRef.onDestroy(()=>{Ir(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return uT(r,n,()=>{let i=t.get(Gt),s=i.add(),a=t.get(hl);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(Ml,Wr);if(Wh(c||Wr),!t.get(aT,!0))return zr(e)?t.get(Qi):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(zr(e)){let u=t.get(Qi);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return lT?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var lT;function uT(e,t,n){try{let r=n();return pl(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var Ki=null;function dT(e=[],t){return Ee.create({name:t,providers:[{provide:Js,useValue:"platform"},{provide:Ol,useValue:new Set([()=>Ki=null])},...e]})}function fT(e=[]){if(Ki)return Ki;let t=dT(e);return Ki=t,Ah(),pT(t),t}function pT(e){let t=e.get(Hf,null);$o(e,()=>{t?.forEach(n=>n())})}var hT=1e4;var zF=hT-1e3;var QF=(()=>{class e{static __NG_ELEMENT_ID__=gT}return e})();function gT(e){return mT(q(),m(),(e&16)===16)}function mT(e,t,n){if(gt(e)&&!n){let r=me(e.index,t);return new Dt(r,r)}else if(e.type&175){let r=t[te];return new Dt(r,t)}return null}var Pl=class{constructor(){}supports(t){return il(t)}create(t){return new Ll(t)}},yT=(e,t)=>t,Ll=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(t){this._trackByFn=t||yT}forEachItem(t){let n;for(n=this._itHead;n!==null;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){let s=!r||n&&n.currentIndex<Ug(r,o,i)?n:r,a=Ug(s,o,i),c=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(n=n._next,s.previousIndex==null)o++;else{i||(i=[]);let l=a-o,u=c-o;if(l!=u){for(let p=0;p<l;p++){let f=p<i.length?i[p]:i[p]=0,h=f+p;u<=h&&h<l&&(i[p]=f+1)}let d=s.previousIndex;i[d]=u-l}}a!==c&&t(s,a,c)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;n!==null;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;n!==null;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;n!==null;n=n._nextIdentityChange)t(n)}diff(t){if(t==null&&(t=[]),!il(t))throw new b(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._itHead,r=!1,o,i,s;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[a],s=this._trackByFn(a,i),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,i,s,a),r=!0):(r&&(n=this._verifyReinsertion(n,i,s,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)),n=n._next}else o=0,Xp(t,a=>{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return t===null?i=this._itTail:(i=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):(t=this._linkedRecords===null?null:this._linkedRecords.get(r,o),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new Fl(n,r),i,o)),t}_verifyReinsertion(t,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let o=t._prevRemoved,i=t._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){let o=n===null?this._itHead:n._next;return t._next=o,t._prev=n,o===null?this._itTail=t:o._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new Ji),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,r=t._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Ji),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},Fl=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(t,n){this.item=t,this.trackById=n}},jl=class{_head=null;_tail=null;add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let n=t._prevDup,r=t._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},Ji=class{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new jl,this.map.set(n,r)),r.add(t)}get(t,n){let r=t,o=this.map.get(r);return o?o.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Ug(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}var Vl=class{constructor(){}supports(t){return t instanceof Map||Wi(t)}create(){return new Hl}},Hl=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||Wi(t)))throw new b(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 Bl(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))}},Bl=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function qg(){return new vT([new Pl])}var vT=(()=>{class e{factories;static \u0275prov=U({token:e,providedIn:"root",factory:qg});constructor(n){this.factories=n}static create(n,r){if(r!=null){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:()=>{let r=w(e,{optional:!0,skipSelf:!0});return e.create(n,r||qg())}}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new b(901,!1)}}return e})();function Wg(){return new ET([new Vl])}var ET=(()=>{class e{static \u0275prov=U({token:e,providedIn:"root",factory:Wg});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||Wg())}}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new b(901,!1)}}return e})();function ZF(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;k(x.BootstrapApplicationStart);try{let i=o?.injector??fT(r),s=[_l(),_d,...n||[]],a=new Rr({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return cT({r3Injector:a.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{k(x.BootstrapApplicationEnd)}}function YF(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function KF(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function JF(e,t){let n=Ie(e),r=t.elementInjector||yn();return new Ct(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings)}function XF(e){let t=Ie(e);if(!t)return null;let n=new Ct(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}export{j as a,ot as b,Yr as c,Z as d,om as e,N as f,le as g,zn as h,Qn as i,At as j,st as k,gm as l,Em as m,Im as n,Zn as o,at as p,Nm as q,Rt as r,vs as s,To as t,xm as u,Am as v,Es as w,Is as x,km as y,ms as z,Om as A,mm as B,Io as C,ym as D,yu as E,Lm as F,Fm as G,jm as H,Vm as I,Hm as J,vu as K,Eu as L,Nu as M,ws as N,b as O,nr as P,Oo as Q,U as R,Vu as S,qm as T,R as U,Me as V,w as W,Ys as X,Js as Y,ue as Z,$o as _,ad as $,cd as aa,vd as ba,Ed as ca,Ee as da,Ca as ea,Ze as fa,Gt as ga,$e as ha,Ne as ia,We as ja,zt as ka,vt as la,mr as ma,Ma as na,pe as oa,Ay as pa,Zy as qa,kf as ra,Lr as sa,nv as ta,rv as ua,Hf as va,iv as wa,sv as xa,Bf as ya,av as za,Yt as Aa,tn as Ba,Oi as Ca,fv as Da,pv as Ea,hv as Fa,gv as Ga,mv as Ha,Pi as Ia,rp as Ja,jr as Ka,Fv as La,lp as Ma,Bv as Na,$v as Oa,oE as Pa,vi as Qa,wr as Ra,Hr as Sa,Le as Ta,sE as Ua,Nr as Va,Sr as Wa,hI as Xa,Ur as Ya,Gi as Za,An as _a,mh as $a,YI as ab,ul as bb,JI as cb,eD as db,rD as eb,oD as fb,Eh as gb,Dh as hb,Ch as ib,OD as jb,_h as kb,pl as lb,Nh as mb,xh as nb,Qi as ob,HD as pb,BD as qb,Oh as rb,UD as sb,qD as tb,WD as ub,GD as vb,zD as wb,QD as xb,Ph as yb,ml as zb,yl as Ab,Lh as Bb,vl as Cb,El as Db,Fh as Eb,Il as Fb,Dl as Gb,Vh as Hb,eC as Ib,Hh as Jb,rC as Kb,Cl as Lb,oC as Mb,Bh as Nb,Rn as Ob,eg as Pb,tg as Qb,jC as Rb,ng as Sb,VC as Tb,HC as Ub,rg as Vb,og as Wb,BC as Xb,UC as Yb,qC as Zb,sg as _b,GC as $b,zC as ac,ag as bc,cg as cc,QC as dc,ZC as ec,pg as fc,hg as gc,cb as hc,ub as ic,Ib as jc,bg as kc,bl as lc,Tg as mc,wg as nc,_g as oc,Tb as pc,Mg as qc,Sg as rc,wb as sc,_b as tc,Mb as uc,Nb as vc,Rb as wc,kb as xc,Ob as yc,Pb as zc,Lb as Ac,Fb as Bc,Hb as Cc,$b as Dc,Ub as Ec,qb as Fc,Wb as Gc,Gb as Hc,zb as Ic,Ml as Jc,Zb as Kc,Gr as Lc,rn as Mc,Kb as Nc,kl as Oc,Fg as Pc,$F as Qc,UF as Rc,qF as Sc,WF as Tc,GF as Uc,QF as Vc,vT as Wc,ET as Xc,ZF as Yc,YF as Zc,KF as _c,JF as $c,XF as ad};
@@ -1 +1 @@
1
- import{a as w}from"./chunk-TELPJYLN.js";import{J as k,u as D}from"./chunk-HPNLQHW6.js";import"./chunk-BGTK25UG.js";import"./chunk-QPTSKQZ2.js";import{_ as A}from"./chunk-OTPG7USH.js";import"./chunk-TT3S63BX.js";import{$ as h,Ab as l,Gc as R,Hb as u,Ib as M,Mc as b,Pa as r,Rb as N,Vb as E,W as T,Xb as s,aa as y,cb as x,ec as C,fc as P,gc as S,hb as m,jc as a,kc as F,la as p,sb as d,tb as f,wb as I,xb as v,yb as g,yc as _,zb as c,zc as $}from"./chunk-T2WO6CVD.js";import"./chunk-7CGTOI24.js";var Y=e=>({children:e,level:0}),L=e=>({$implicit:e}),j=(e,t)=>({children:e,level:t}),V=(e,t)=>t.id;function z(e,t){if(e&1&&(c(0,"sh-icon"),a(1,"caret-down"),l()),e&2){let n=s().$implicit;S("open",n.isOpen())}}function B(e,t){e&1&&(c(0,"sh-icon"),a(1,"dot"),l())}function J(e,t){e&1&&u(0)}function U(e,t){if(e&1&&m(0,J,1,0,"ng-container",3),e&2){let n=s().$implicit,o=s().$implicit;s();let i=C(3);g("ngTemplateOutlet",i)("ngTemplateOutletContext",_(5,L,$(2,j,n.children,o.level+1)))}}function X(e,t){if(e&1){let n=M();c(0,"div",4,1),E("click",function(){let i=h(n).$implicit,G=s(2);return y(i.children.length>0&&G.toggleNode(i))}),d(2,z,2,2,"sh-icon",5)(3,B,2,0,"sh-icon"),c(4,"div",6),a(5),l()(),d(6,U,1,7,"ng-container")}if(e&2){let n=t.$implicit;S("cannot-toggle",n.children.length===0)("open",n.isOpen()),r(2),f(n.children.length>0?2:3),r(3),F(n.text),r(),f(n.isOpen()?6:-1)}}function q(e,t){if(e&1&&(c(0,"sh-list"),I(1,X,7,7,null,null,V),l()),e&2){let n=t.$implicit;P("padding-left",n.level*.25,"rem"),r(),v(n.children)}}function H(e,t){e&1&&u(0)}var O=class e{#e=T(w);treeStructure=b(()=>{let t=this.#e.systemInfo();return this.processObject(t,0)});toggleNode(t){t.isOpen.update(n=>!n)}processObject(t,n){let o=[];for(let i in t)typeof t[i]=="object"?o.push({id:i,text:i,children:this.processObject(t[i],n+1),level:n,isOpen:p(!1)}):o.push({id:i,text:`${i}: ${t[i]}`,children:[],level:n,isOpen:p(!1)});return o}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=x({type:e,selectors:[["app-server-settings"]],decls:5,vars:6,consts:()=>{let t;return t=$localize`System info`,[["recursiveTree",""],["treeNode",""],t,[4,"ngTemplateOutlet","ngTemplateOutletContext"],["action","",3,"click"],[3,"open"],[1,"text"]]},template:function(n,o){if(n&1&&(c(0,"h3"),N(1,2),l(),m(2,q,3,2,"ng-template",null,0,R)(4,H,1,0,"ng-container",3)),n&2){let i=C(3);r(4),g("ngTemplateOutlet",i)("ngTemplateOutletContext",_(4,L,_(2,Y,o.treeStructure())))}},dependencies:[k,D,A],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;padding:0 2.5rem}h3[_ngcontent-%COMP%]{font:var(--title-30);margin:0 0 1.25rem}sh-icon[_ngcontent-%COMP%]{font-size:1rem}sh-list[_ngcontent-%COMP%]{padding:0}sh-list[_ngcontent-%COMP%] [action][_ngcontent-%COMP%]{padding:0}sh-list[_ngcontent-%COMP%] [action].cannot-toggle[_ngcontent-%COMP%]{cursor:initial}"],changeDetection:0})};export{O as default};
1
+ import{a as w}from"./chunk-HUZXJWCG.js";import{J as k,u as D}from"./chunk-UNMDSCAN.js";import"./chunk-CFNARBNK.js";import"./chunk-PO3L6MKW.js";import{_ as A}from"./chunk-7AVOHYTE.js";import"./chunk-KDSMLI73.js";import{$ as h,Ab as l,Gc as R,Hb as u,Ib as M,Mc as b,Pa as r,Rb as N,Vb as E,W as T,Xb as s,aa as y,cb as x,ec as C,fc as P,gc as S,hb as m,jc as a,kc as F,la as p,sb as d,tb as f,wb as I,xb as v,yb as g,yc as _,zb as c,zc as $}from"./chunk-26Z7TPJB.js";import"./chunk-7CGTOI24.js";var Y=e=>({children:e,level:0}),L=e=>({$implicit:e}),j=(e,t)=>({children:e,level:t}),V=(e,t)=>t.id;function z(e,t){if(e&1&&(c(0,"sh-icon"),a(1,"caret-down"),l()),e&2){let n=s().$implicit;S("open",n.isOpen())}}function B(e,t){e&1&&(c(0,"sh-icon"),a(1,"dot"),l())}function J(e,t){e&1&&u(0)}function U(e,t){if(e&1&&m(0,J,1,0,"ng-container",3),e&2){let n=s().$implicit,o=s().$implicit;s();let i=C(3);g("ngTemplateOutlet",i)("ngTemplateOutletContext",_(5,L,$(2,j,n.children,o.level+1)))}}function X(e,t){if(e&1){let n=M();c(0,"div",4,1),E("click",function(){let i=h(n).$implicit,G=s(2);return y(i.children.length>0&&G.toggleNode(i))}),d(2,z,2,2,"sh-icon",5)(3,B,2,0,"sh-icon"),c(4,"div",6),a(5),l()(),d(6,U,1,7,"ng-container")}if(e&2){let n=t.$implicit;S("cannot-toggle",n.children.length===0)("open",n.isOpen()),r(2),f(n.children.length>0?2:3),r(3),F(n.text),r(),f(n.isOpen()?6:-1)}}function q(e,t){if(e&1&&(c(0,"sh-list"),I(1,X,7,7,null,null,V),l()),e&2){let n=t.$implicit;P("padding-left",n.level*.25,"rem"),r(),v(n.children)}}function H(e,t){e&1&&u(0)}var O=class e{#e=T(w);treeStructure=b(()=>{let t=this.#e.systemInfo();return this.processObject(t,0)});toggleNode(t){t.isOpen.update(n=>!n)}processObject(t,n){let o=[];for(let i in t)typeof t[i]=="object"?o.push({id:i,text:i,children:this.processObject(t[i],n+1),level:n,isOpen:p(!1)}):o.push({id:i,text:`${i}: ${t[i]}`,children:[],level:n,isOpen:p(!1)});return o}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=x({type:e,selectors:[["app-server-settings"]],decls:5,vars:6,consts:()=>{let t;return t=$localize`System info`,[["recursiveTree",""],["treeNode",""],t,[4,"ngTemplateOutlet","ngTemplateOutletContext"],["action","",3,"click"],[3,"open"],[1,"text"]]},template:function(n,o){if(n&1&&(c(0,"h3"),N(1,2),l(),m(2,q,3,2,"ng-template",null,0,R)(4,H,1,0,"ng-container",3)),n&2){let i=C(3);r(4),g("ngTemplateOutlet",i)("ngTemplateOutletContext",_(4,L,_(2,Y,o.treeStructure())))}},dependencies:[k,D,A],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;padding:0 2.5rem}h3[_ngcontent-%COMP%]{font:var(--title-30);margin:0 0 1.25rem}sh-icon[_ngcontent-%COMP%]{font-size:1rem}sh-list[_ngcontent-%COMP%]{padding:0}sh-list[_ngcontent-%COMP%] [action][_ngcontent-%COMP%]{padding:0}sh-list[_ngcontent-%COMP%] [action].cannot-toggle[_ngcontent-%COMP%]{cursor:initial}"],changeDetection:0})};export{O as default};
@@ -0,0 +1,3 @@
1
+ import{a as Ee}from"./chunk-POPZ47SS.js";import{a as Ne}from"./chunk-UTZZ4OCF.js";import{h as Te,q as A}from"./chunk-LPAIFT5I.js";import"./chunk-MUFBZIQA.js";import"./chunk-IMHM7ISI.js";import"./chunk-6LAXPU22.js";import{a as he}from"./chunk-O5SO2U6L.js";import"./chunk-QHBOEY2O.js";import"./chunk-NK5WD6WE.js";import"./chunk-B62TPRVG.js";import"./chunk-6Q6SSTBK.js";import"./chunk-SZUNW4JO.js";import"./chunk-TL4WOQKT.js";import"./chunk-7LTHH6OG.js";import"./chunk-HSHF5HR7.js";import"./chunk-5LBG6MOL.js";import"./chunk-D6IP567E.js";import{b as D}from"./chunk-VDSX2M4H.js";import"./chunk-ZU6T3TW3.js";import"./chunk-HUZXJWCG.js";import"./chunk-7TWUW4XJ.js";import{B as ue,G as de,H as _e,L as pe,P as Ce,Y as ge,c as Z,e as ee,f as te,j as ne,n as oe,o as ie,p as ae,q as se,r as re,s as le,t as ce,u as me}from"./chunk-UNMDSCAN.js";import{b as Fe,c as Se}from"./chunk-CFNARBNK.js";import{b as W,d as Q,e as Y}from"./chunk-I27PVH6D.js";import"./chunk-5VE6P5U5.js";import"./chunk-PO3L6MKW.js";import"./chunk-7AVOHYTE.js";import"./chunk-KDSMLI73.js";import{$ as E,Ab as o,Bb as a,Fb as I,Gb as M,Ib as v,Pa as u,Pb as p,Qb as C,R as b,Rb as O,Sb as x,Tb as w,Vb as K,W as _,Xb as N,aa as f,cb as R,gc as J,la as L,na as $,oc as X,pc as q,qc as V,sb as k,tb as G,ub as B,vc as H,wb as y,wc as z,xb as U,xc as j,yb as F,zb as l}from"./chunk-26Z7TPJB.js";import"./chunk-7CGTOI24.js";var T=class s{#e=new Map;saveState(t){let e=crypto.randomUUID();return this.#e.set(e,t),e}getState(t){return this.#e.get(t)}static \u0275fac=function(e){return new(e||s)};static \u0275prov=b({token:s,factory:s.\u0275fac,providedIn:"root"})};var Ie=()=>["backup"];function Me(s,t){s&1&&a(0,"sh-progress-bar",11)}function Oe(s,t){if(s&1&&(l(0,"sh-form-field"),a(1,"input",35),o()),s&2){let e=t.$implicit,n=t.$index;u(),F("id",H("filter-",n))("formControl",e)}}function De(s,t){if(s&1){let e=v();l(0,"form",12)(1,"sh-select",13)(2,"label",14),p(3,1),a(4,"sh-icon",15),C(),o(),a(5,"input",16),o(),l(6,"sh-form-field")(7,"label",17),p(8,2),a(9,"sh-icon",18),C(),o(),a(10,"textarea",19),o(),l(11,"sh-form-field")(12,"label",20),p(13,3),a(14,"sh-icon",21),C(),o(),a(15,"textarea",22),o()(),l(16,"sh-divider"),O(17,4),o(),l(18,"form",12)(19,"sh-form-field")(20,"label",23),p(21,5),a(22,"sh-icon",24),C(),o(),a(23,"input",25),o(),l(24,"sh-form-field")(25,"label",26),p(26,6),a(27,"sh-icon",27),C(),o(),a(28,"input",28),o(),l(29,"app-toggle-card",29),I(30,30),O(31,7),M(),I(32,31),y(33,Oe,2,3,"sh-form-field",null,B),M(),o()(),l(35,"app-options-list",32),V("optionsChange",function(r){E(e);let m=N();return q(m.settings,r)||(m.settings=r),f(r)}),o(),l(36,"div",33)(37,"button",34),K("click",function(){E(e);let r=N();return f(r.submit())}),p(38,8),a(39,"sh-icon"),C(),o()()}if(s&2){let e=N();F("formGroup",e.baseCmdForm),u(),F("options",e.commandOptions()??j(10,Ie))("inlineSearch",!0),u(17),F("formGroup",e.standardFields),u(11),F("disallowToggle",!0),u(4),U(e.standardFields.controls.filters.controls),u(2),X("options",e.settings),F("hasFreeTextSettings",!0),u(2),J("loader",e.isSubmitting()),u(2),x(e.baseCmdForm.value.command),w(38)}}var c=new re,P=class s{#e=_(A);#n=_(Se);#o=_(Q);#t=_(W);#a=_(Fe);#s=_(he);#i=_(T);#r=D(this.#t.params);commandOptions=D(this.#a.getApiV1Commandline());isSubmitting=L(!1);optionsFields=this.#e.optionsFields;standardFields=c.group({"backup-id":c.control(""),"backup-name":c.control(""),dbpath:c.control(""),filters:c.array([])});baseCmdForm=c.group({command:c.control("backup"),targetUrl:c.control(""),arguments:c.control("")});finishedLoading=this.#e.finishedLoading;backupId=this.#e.backupId;settings=this.#e.settings;#c=$(()=>{let t=this.#r()?.id;this.#e.backupId.set(t),this.getBackup(t)});getBackup(t){this.#n.getApiV1BackupById({id:t}).subscribe({next:e=>{this.#e.mapScheduleToForm(e.Schedule??null),e.Backup&&(this.#e.mapGeneralToForm(e.Backup),this.mapStandardFieldsToForm(e.Backup),this.mapBaseCmdToForm(e.Backup),this.#e.mapOptionsToForms(e.Backup,!0)),this.applyStateFromUrl(),this.#e.finishedLoading.set(!0)}})}mapStandardFieldsToForm(t){this.standardFields.patchValue({dbpath:t.DBPath,"backup-id":t.ID,"backup-name":t.Name}),t.Filters&&t.Filters.length&&t.Filters.map(e=>{this.standardFields.controls.filters.push(c.control(`${e.Include?"":"-"}${e.Expression}`))})}submit(){this.#s.resumeDialogCheck(()=>this.#l())}#l(){this.isSubmitting.set(!0);let t=this.updateUrl(),e=this.baseCmdForm.value,n=e.targetUrl??"",r=(e.arguments??"").split(`
2
+ `)??[],m=[n,...r].filter(i=>i.length>0),g=this.standardFields.value,S=g.filters??[],h=[e.command,...m,`--backup-name=${g["backup-name"]}`,`--dbpath=${g.dbpath}`,`--backup-id=${g["backup-id"]}`,...S.filter(i=>i).map(i=>i.startsWith("-")?`--exclude=${i?.slice(1)}`:`--include=${i}`),...this.#e.mapFormsToSettings(["backup-id","backup-name","dbpath"]).map(i=>`${i.Name.startsWith("--")?"":"--"}${i.Name}=${i.Value}`),"--disable-module=console-password-input"];this.#n.postApiV1Commandline({requestBody:h}).subscribe({next:i=>{i.Status==="OK"&&this.#o.navigate(["backup",this.backupId(),"commandline",i.ID],{queryParams:{state:t}})},error:()=>{this.isSubmitting.set(!1)}})}mapBaseCmdToForm(t){let e=t.TargetURL??null;e&&this.baseCmdForm.patchValue({targetUrl:e??"",arguments:t.Sources?.join(`
3
+ `)??""})}updateUrl(){let t=this.baseCmdForm.value,e=this.standardFields.value,n=e.filters??[],r=this.settings(),m=this.#i.saveState({command:t.command,targetUrl:t.targetUrl,arguments:t.arguments,backupId:e["backup-id"],backupName:e["backup-name"],dbpath:e.dbpath,filters:n,options:r});return this.#o.navigate([],{relativeTo:this.#t,queryParams:{state:m},replaceUrl:!0}),m}applyStateFromUrl(){let e=this.#t.snapshot.queryParams.state;if(!e)return;let n=this.#i.getState(e);n&&(this.baseCmdForm.patchValue({command:n.command,targetUrl:n.targetUrl,arguments:n.arguments}),this.standardFields.patchValue({"backup-id":n.backupId,"backup-name":n.backupName,dbpath:n.dbpath}),n.filters&&(this.standardFields.controls.filters.clear(),n.filters.forEach(r=>{this.standardFields.controls.filters.push(c.control(r))})),n.options&&n.options.length>0&&this.settings.set(n.options))}static \u0275fac=function(e){return new(e||s)};static \u0275cmp=R({type:s,selectors:[["app-commandline"]],features:[z([A])],decls:8,vars:1,consts:()=>{let t;t=$localize`${"\uFFFD#5\uFFFD"}:START_TAG_SH_ICON:arrow-left${"\uFFFD/#5\uFFFD"}:CLOSE_TAG_SH_ICON: Back `;let e;e=$localize` Command ${"\uFFFD#4\uFFFD"}:START_TAG_SH_ICON:question${"\uFFFD/#4\uFFFD"}:CLOSE_TAG_SH_ICON:`;let n;n=$localize` TargetUrl ${"\uFFFD#9\uFFFD"}:START_TAG_SH_ICON:question${"\uFFFD/#9\uFFFD"}:CLOSE_TAG_SH_ICON:`;let r;r=$localize` Commandline Arguments ${"\uFFFD#14\uFFFD"}:START_TAG_SH_ICON:question${"\uFFFD/#14\uFFFD"}:CLOSE_TAG_SH_ICON:`;let m;m=$localize`Advanced options`;let g;g=$localize` Backup ID ${"\uFFFD#22\uFFFD"}:START_TAG_SH_ICON:question${"\uFFFD/#22\uFFFD"}:CLOSE_TAG_SH_ICON:`;let S;S=$localize` Backup Name ${"\uFFFD#27\uFFFD"}:START_TAG_SH_ICON:question${"\uFFFD/#27\uFFFD"}:CLOSE_TAG_SH_ICON:`;let h;h=$localize`Filters`;let i;return i=$localize`${"\uFFFD#39\uFFFD"}:START_TAG_SH_ICON:arrow-right${"\uFFFD/#39\uFFFD"}:CLOSE_TAG_SH_ICON: Run "${"\uFFFD0\uFFFD"}:INTERPOLATION:" command now `,[t,e,n,r,m,g,S,h,i,[1,"back"],["type","button","shButton","","routerLink","/",1,"small"],[1,"indeterminate","primary"],[3,"formGroup"],["placeholder","Select a command...",3,"options","inlineSearch"],["for","command"],["shTooltip","Choose the command to execute"],["type","text","id","command","formControlName","command"],["for","targetUrl"],["shTooltip","Enter the URL of the backup target"],["id","targetUrl","autocomplete","off","formControlName","targetUrl"],["for","arguments"],["shTooltip","Enter one argument per line without quotes (e.g., *.txt)"],["id","arguments","autocomplete","off","rows","5","formControlName","arguments","placeholder","Enter one argument per line without quotes (e.g., *.txt)",1,"arguments"],["for","backup-id"],["shTooltip","The ID of the backup configuration this run belongs to (can be empty)"],["id","backup-id","formControlName","backup-id"],["for","backup-name"],["shTooltip","The optional name of the backup"],["id","backup-name","formControlName","backup-name"],[3,"disallowToggle"],["title",""],["content","","formGroupName","filters"],[3,"optionsChange","options","hasFreeTextSettings"],[1,"form-actions"],["shButton","",1,"raised","primary",3,"click"],[3,"id","formControl"]]},template:function(e,n){e&1&&(a(0,"app-status-bar"),l(1,"section")(2,"div",9)(3,"button",10),p(4,0),a(5,"sh-icon"),C(),o()(),k(6,Me,1,0,"sh-progress-bar",11)(7,De,40,11),o()),e&2&&(u(6),G(n.finishedLoading()?7:6))},dependencies:[le,ne,Z,ee,te,Ne,Ee,Te,ce,oe,se,ae,ie,Y,_e,ue,de,Ce,pe,me,ge],styles:["[_nghost-%COMP%]{display:block}section[_ngcontent-%COMP%]{display:flex;flex-direction:column;width:100%;max-width:40rem;padding:2.5rem;gap:1.25rem}form[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1.5rem}.form-actions[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}.row-inputs[_ngcontent-%COMP%]{display:flex;align-items:flex-end;gap:.5rem}.row-inputs[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:1 0}.arguments[_ngcontent-%COMP%]{min-height:6rem;white-space:pre}"],changeDetection:0})};export{P as default};
@@ -0,0 +1 @@
1
+ import{a,b,c}from"./chunk-LPAIFT5I.js";import"./chunk-MUFBZIQA.js";import"./chunk-IMHM7ISI.js";import"./chunk-6LAXPU22.js";import"./chunk-6Q6SSTBK.js";import"./chunk-TL4WOQKT.js";import"./chunk-7LTHH6OG.js";import"./chunk-HSHF5HR7.js";import"./chunk-D6IP567E.js";import"./chunk-VDSX2M4H.js";import"./chunk-ZU6T3TW3.js";import"./chunk-HUZXJWCG.js";import"./chunk-7TWUW4XJ.js";import"./chunk-UNMDSCAN.js";import"./chunk-CFNARBNK.js";import"./chunk-I27PVH6D.js";import"./chunk-5VE6P5U5.js";import"./chunk-PO3L6MKW.js";import"./chunk-7AVOHYTE.js";import"./chunk-KDSMLI73.js";import"./chunk-26Z7TPJB.js";import"./chunk-7CGTOI24.js";export{b as NONE_OPTION,a as createGeneralForm,c as default};