@duplicati/ngclient 0.0.124 → 0.0.131

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 (212) hide show
  1. package/assets/spk.woff2 +0 -0
  2. package/chunk-3IRKJXHE.js +6 -0
  3. package/chunk-3KIPRGE2.js +1 -0
  4. package/chunk-3PYBMCOB.js +1 -0
  5. package/chunk-4D2NUH5S.js +1 -0
  6. package/chunk-5PEBIF7G.js +1 -0
  7. package/chunk-5ZODA7EN.js +1 -0
  8. package/{chunk-XUPWJEL7.js → chunk-76QLZQIX.js} +1 -1
  9. package/chunk-7LEXBIXG.js +1 -0
  10. package/{chunk-VZBWK3XF.js → chunk-ABF3SFY5.js} +1 -1
  11. package/chunk-AGU2PEL5.js +1 -0
  12. package/{chunk-6EWRKJSC.js → chunk-B5FKLIHW.js} +1 -1
  13. package/chunk-BISTLAYK.js +1 -0
  14. package/chunk-CPQOWCF6.js +2 -0
  15. package/chunk-CTRHZCKS.js +1 -0
  16. package/chunk-CYLI6ZJ3.js +1 -0
  17. package/chunk-D6CQCWWK.js +1 -0
  18. package/chunk-DDV32SDB.js +1 -0
  19. package/chunk-DM2VSIZA.js +1 -0
  20. package/chunk-E4Z6XEMU.js +1 -0
  21. package/chunk-EKZRKTLM.js +1 -0
  22. package/chunk-EUDKD2JW.js +1 -0
  23. package/{chunk-OQPUBCLB.js → chunk-F74MXVWD.js} +1 -1
  24. package/chunk-FLMFEFKM.js +1 -0
  25. package/chunk-FO4W6SOP.js +1 -0
  26. package/chunk-FPLBURO5.js +1 -0
  27. package/chunk-FWVOVJCG.js +2 -0
  28. package/chunk-FWZV4DTQ.js +2 -0
  29. package/chunk-GGT3NXAX.js +1 -0
  30. package/chunk-GU7U3EFF.js +1 -0
  31. package/chunk-GW37Y5Z7.js +1 -0
  32. package/{chunk-S75WBVE3.js → chunk-HWCTRSCV.js} +1 -1
  33. package/chunk-IAE5MH6W.js +1 -0
  34. package/{chunk-DLJSVAM2.js → chunk-JWFYA3TO.js} +1 -1
  35. package/{chunk-4V45XF67.js → chunk-K5AQUIEE.js} +1 -1
  36. package/{chunk-KPH4ZAFT.js → chunk-K5P3KNHL.js} +1 -1
  37. package/chunk-K6EZTPNQ.js +7 -0
  38. package/chunk-KA4H3PM5.js +1 -0
  39. package/chunk-KQAO2YHR.js +1 -0
  40. package/chunk-KU6D4KVX.js +1 -0
  41. package/{chunk-GQGMGFDX.js → chunk-KV7SEZ24.js} +1 -1
  42. package/chunk-LPSXYSH2.js +1 -0
  43. package/{chunk-QUOBR5MG.js → chunk-LQ2PCH6Q.js} +1 -1
  44. package/chunk-LXOONGVP.js +1 -0
  45. package/chunk-LZGUK3CQ.js +2 -0
  46. package/chunk-MHALSLG3.js +1 -0
  47. package/chunk-MXNLMTFY.js +1 -0
  48. package/{chunk-HIW2CN45.js → chunk-N334RUEQ.js} +1 -1
  49. package/chunk-OMZ3W4RW.js +1 -0
  50. package/{chunk-6DNRCK5D.js → chunk-P45GAY6A.js} +1 -1
  51. package/chunk-P4ZYFRD3.js +1 -0
  52. package/chunk-Q3ILJYED.js +1 -0
  53. package/{chunk-ED7PHXLX.js → chunk-Q5QHAGHB.js} +1 -1
  54. package/chunk-R3TWV35H.js +4 -0
  55. package/chunk-R43ZLOB3.js +1 -0
  56. package/chunk-RFBJR3ZC.js +1 -0
  57. package/chunk-RVLLX2SW.js +1 -0
  58. package/chunk-RZWJA6W3.js +3 -0
  59. package/chunk-TOP2X7ZJ.js +1 -0
  60. package/chunk-TUOSYDUU.js +1 -0
  61. package/chunk-U4OAPG74.js +2 -0
  62. package/chunk-UFZFKKK7.js +1 -0
  63. package/chunk-UHRBTTCA.js +1 -0
  64. package/chunk-UIC4BWTY.js +1 -0
  65. package/chunk-UUG7G5LZ.js +1 -0
  66. package/chunk-UVLJAD66.js +1 -0
  67. package/chunk-UYWLCW5G.js +1 -0
  68. package/chunk-VKD4Y3YQ.js +1 -0
  69. package/chunk-VNYGRDVP.js +1 -0
  70. package/chunk-W2XSKJJ5.js +1 -0
  71. package/chunk-WIDMAJIO.js +1 -0
  72. package/{chunk-M5RL4LRX.js → chunk-WIJ3HW7I.js} +1 -1
  73. package/chunk-WWHML7QK.js +56 -0
  74. package/chunk-WY2KPAVB.js +1 -0
  75. package/chunk-XD26KCAE.js +1 -0
  76. package/chunk-XHQO75TB.js +1 -0
  77. package/chunk-XOZRQBBW.js +1 -0
  78. package/chunk-YBFTPRR5.js +1 -0
  79. package/chunk-YFRT24NZ.js +1 -0
  80. package/chunk-YXIITZFM.js +1 -0
  81. package/{chunk-TCEYGZ6D.js → chunk-Z24H5QI5.js} +2 -2
  82. package/chunk-Z2VKXGKY.js +1 -0
  83. package/chunk-ZE5QAS4M.js +1 -0
  84. package/index.html +2 -2
  85. package/locale/messages.cs.json +4 -2
  86. package/locale/messages.da.json +5 -2
  87. package/locale/messages.de.json +48 -8
  88. package/locale/messages.en_GB.json +4 -2
  89. package/locale/messages.es.json +4 -2
  90. package/locale/messages.fi.json +7 -2
  91. package/locale/messages.fr.json +7 -2
  92. package/locale/messages.hu.json +6 -2
  93. package/locale/messages.it.json +32 -21
  94. package/locale/messages.ja_JP.json +8 -2
  95. package/locale/messages.nl_NL.json +53 -21
  96. package/locale/messages.pl.json +9 -2
  97. package/locale/messages.pt.json +8 -2
  98. package/locale/messages.pt_BR.json +10 -3
  99. package/locale/messages.ru.json +8 -2
  100. package/locale/messages.sr_RS.json +9 -2
  101. package/locale/messages.sv_SE.json +9 -2
  102. package/locale/messages.zh_CN.json +376 -48
  103. package/locale/messages.zh_TW.json +9 -2
  104. package/main-JMFOP3Z7.js +1 -0
  105. package/package.json +1 -1
  106. package/polyfills-COBLRUJG.js +1 -0
  107. package/{styles-P2AEFLUS.css → styles-ORRIWQJ5.css} +1 -1
  108. package/chunk-25II37TZ.js +0 -1
  109. package/chunk-2CXHZS6X.js +0 -1
  110. package/chunk-3UPH6V5C.js +0 -1
  111. package/chunk-43BIRTPL.js +0 -1
  112. package/chunk-4DR45FFH.js +0 -2
  113. package/chunk-4KE2I7OA.js +0 -7
  114. package/chunk-5C7A7QU6.js +0 -1
  115. package/chunk-65U4B3NQ.js +0 -2
  116. package/chunk-65ZYAFPI.js +0 -1
  117. package/chunk-6LCXRM3A.js +0 -1
  118. package/chunk-6V7W7EKR.js +0 -1
  119. package/chunk-7733YRW4.js +0 -1
  120. package/chunk-7BATQNXR.js +0 -1
  121. package/chunk-7CGTOI24.js +0 -1
  122. package/chunk-7V4TPS4B.js +0 -1
  123. package/chunk-ABANCAM5.js +0 -1
  124. package/chunk-BLKMQJR5.js +0 -1
  125. package/chunk-BTZEFBCF.js +0 -1
  126. package/chunk-CZDE5P4F.js +0 -1
  127. package/chunk-DYTQQHMA.js +0 -1
  128. package/chunk-EBXJGPRA.js +0 -1
  129. package/chunk-EPDVUHOD.js +0 -1
  130. package/chunk-ERHGJIOQ.js +0 -2
  131. package/chunk-ESAGJOZZ.js +0 -1
  132. package/chunk-FP6LM56A.js +0 -1
  133. package/chunk-FQ55IACT.js +0 -1
  134. package/chunk-FSKPPAVO.js +0 -1
  135. package/chunk-FWQNZX5S.js +0 -1
  136. package/chunk-GUKBMCIX.js +0 -1
  137. package/chunk-IVGY6D4N.js +0 -56
  138. package/chunk-J52HAQJB.js +0 -1
  139. package/chunk-KAFLAM3J.js +0 -1
  140. package/chunk-LUKUBN2Z.js +0 -1
  141. package/chunk-N5FH4YAX.js +0 -2
  142. package/chunk-O7TLFEOP.js +0 -1
  143. package/chunk-OAWADV5X.js +0 -1
  144. package/chunk-ONV552SH.js +0 -1
  145. package/chunk-PDODLSPH.js +0 -1
  146. package/chunk-PSVKQSIF.js +0 -1
  147. package/chunk-QMFHJSCY.js +0 -1
  148. package/chunk-QXUYK52Y.js +0 -1
  149. package/chunk-RODUXVVT.js +0 -1
  150. package/chunk-S5G6POQS.js +0 -1
  151. package/chunk-SIHNMW2E.js +0 -1
  152. package/chunk-SPAJFGWZ.js +0 -1
  153. package/chunk-SX2OA5DO.js +0 -1
  154. package/chunk-T5WAKBP3.js +0 -1
  155. package/chunk-T7QZL5YJ.js +0 -2
  156. package/chunk-TH7CWIA2.js +0 -1
  157. package/chunk-U4XTHU5I.js +0 -1
  158. package/chunk-U7YVVKGQ.js +0 -1
  159. package/chunk-UEYPJIJG.js +0 -1
  160. package/chunk-UI4M5G5W.js +0 -1
  161. package/chunk-URJQR7VG.js +0 -1
  162. package/chunk-V7XW25LT.js +0 -1
  163. package/chunk-VPTXHYYV.js +0 -6
  164. package/chunk-VTTBYFSH.js +0 -1
  165. package/chunk-VYAA7G37.js +0 -1
  166. package/chunk-W66AXGSW.js +0 -1
  167. package/chunk-WOTGLW6Y.js +0 -4
  168. package/chunk-WRKRV6RQ.js +0 -1
  169. package/chunk-XATCN7MB.js +0 -1
  170. package/chunk-XHPURHO2.js +0 -1
  171. package/chunk-YUZKJZ22.js +0 -1
  172. package/chunk-YZDNOP4R.js +0 -1
  173. package/chunk-Z2TE5POZ.js +0 -1
  174. package/chunk-ZMLGDPCK.js +0 -3
  175. package/locale/angular/cs.mjs +0 -21
  176. package/locale/angular/da.mjs +0 -17
  177. package/locale/angular/de.mjs +0 -17
  178. package/locale/angular/en-GB.mjs +0 -17
  179. package/locale/angular/es.mjs +0 -19
  180. package/locale/angular/extra/cs.mjs +0 -11
  181. package/locale/angular/extra/da.mjs +0 -11
  182. package/locale/angular/extra/de.mjs +0 -11
  183. package/locale/angular/extra/en-GB.mjs +0 -11
  184. package/locale/angular/extra/es.mjs +0 -11
  185. package/locale/angular/extra/fi.mjs +0 -11
  186. package/locale/angular/extra/fr.mjs +0 -11
  187. package/locale/angular/extra/hu.mjs +0 -11
  188. package/locale/angular/extra/it.mjs +0 -11
  189. package/locale/angular/extra/ja.mjs +0 -11
  190. package/locale/angular/extra/nl.mjs +0 -11
  191. package/locale/angular/extra/pl.mjs +0 -11
  192. package/locale/angular/extra/pt.mjs +0 -11
  193. package/locale/angular/extra/ru.mjs +0 -11
  194. package/locale/angular/extra/sr.mjs +0 -11
  195. package/locale/angular/extra/sv.mjs +0 -11
  196. package/locale/angular/extra/zh-Hans.mjs +0 -11
  197. package/locale/angular/extra/zh-Hant.mjs +0 -11
  198. package/locale/angular/fi.mjs +0 -17
  199. package/locale/angular/fr.mjs +0 -19
  200. package/locale/angular/hu.mjs +0 -17
  201. package/locale/angular/it.mjs +0 -19
  202. package/locale/angular/ja.mjs +0 -15
  203. package/locale/angular/nl.mjs +0 -17
  204. package/locale/angular/pl.mjs +0 -21
  205. package/locale/angular/pt.mjs +0 -19
  206. package/locale/angular/ru.mjs +0 -21
  207. package/locale/angular/sr.mjs +0 -19
  208. package/locale/angular/sv.mjs +0 -17
  209. package/locale/angular/zh-Hans.mjs +0 -15
  210. package/locale/angular/zh-Hant.mjs +0 -15
  211. package/main-JBXUJPKQ.js +0 -1
  212. package/polyfills-6QHLTIIN.js +0 -1
@@ -0,0 +1 @@
1
+ import{a}from"./chunk-F74MXVWD.js";import"./chunk-LQ2PCH6Q.js";import"./chunk-K6EZTPNQ.js";import"./chunk-EUDKD2JW.js";export{a as DurationFormatPipe};
@@ -1 +1 @@
1
- import{ua as l}from"./chunk-EBXJGPRA.js";import{Z as p,jb as f}from"./chunk-4KE2I7OA.js";var m=class o{decimalPipe=p(l);transform(t,e=!1,i=!1){if(i&&t===0)return e?"0 Bytes":"0B";if(!t||t===0||(typeof t=="string"&&(t=parseInt(t)),isNaN(t)))return"";let a=this.#t(),n=a?["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"]:["Bytes","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"],r=Math.floor(Math.log(t)/Math.log(a?1e3:1024));r=Math.min(r,n.length-1);let c=t/Math.pow(a?1e3:1024,r),s=this.decimalPipe.transform(c,"1.0-2");return s?`${s} ${e?n[r]:n[r].replace("Bytes","B")}`:""}#t(){if(navigator.userAgentData?.platform.toLowerCase().includes("mac"))return!0;let t=["mac","macintosh","os x","apple"],e=((navigator.userAgent||navigator.platform||navigator.vendor)??"").toLowerCase();return e?t.some(i=>e.includes(i)):!1}static \u0275fac=function(e){return new(e||o)};static \u0275pipe=f({name:"bytes",type:o,pure:!0})};export{m as a};
1
+ import{qa as l}from"./chunk-VKD4Y3YQ.js";import{X as p,bb as f}from"./chunk-K6EZTPNQ.js";var m=class o{decimalPipe=p(l);transform(t,e=!1,i=!1){if(i&&t===0)return e?"0 Bytes":"0B";if(!t||t===0||(typeof t=="string"&&(t=parseInt(t)),isNaN(t)))return"";let a=this.#t(),n=a?["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"]:["Bytes","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"],r=Math.floor(Math.log(t)/Math.log(a?1e3:1024));r=Math.min(r,n.length-1);let c=t/Math.pow(a?1e3:1024,r),s=this.decimalPipe.transform(c,"1.0-2");return s?`${s} ${e?n[r]:n[r].replace("Bytes","B")}`:""}#t(){if(navigator.userAgentData?.platform.toLowerCase().includes("mac"))return!0;let t=["mac","macintosh","os x","apple"],e=((navigator.userAgent||navigator.platform||navigator.vendor)??"").toLowerCase();return e?t.some(i=>e.includes(i)):!1}static \u0275fac=function(e){return new(e||o)};static \u0275pipe=f({name:"bytes",type:o,pure:!0})};export{m as a};
@@ -1 +1 @@
1
- import{b as s}from"./chunk-RHW5QVAY.js";import{T as c}from"./chunk-4KE2I7OA.js";import{a as i}from"./chunk-7CGTOI24.js";var d=/[a-zA-Z0-9_\-\+\.!@#$%^&*?_~()-]/,m=class n{generate(r,t=d){let a;do a=this.generatePassword(r,t);while(this.calculatePasswordStrength(a)<5);return a}generatePassword(r,t=d){return Array.apply(null,{length:r}).map(()=>{let a;for(;;)if(a=String.fromCharCode(s()),t.test(a))return a},this).join("")}calculatePasswordStrength(r){let t=1;return r.length>=8&&t++,r.match(/[a-z]/)&&r.match(/[A-Z]/)&&t++,r.match(/\d+/)&&t++,r.match(/.[!,@,#,$,%,^,&,*,?,_,~,(,),-]/)&&t++,Math.min(t,5)}static \u0275fac=function(t){return new(t||n)};static \u0275prov=c({token:n,factory:n.\u0275fac,providedIn:"root"})};function F(n,r,t="conditional"){return a=>{if(!a.parent)return null;let e=null;if(n(a.parent)&&(e=(Array.isArray(r)?r:[r]).find(l=>l(a)!==null)??null),t&&e){let o={};o[t]=e,e=o}return e}}function y(){return n=>(n.parent&&Object.values(n.parent.controls).forEach(r=>{r!==n&&r.updateValueAndValidity()}),null)}function C(n,r,t,a="conditional"){return e=>{if(!e.parent)return null;let o={},l=e.parent.get(n);if(!l)return console.warn("Conditional field not found"),null;if(Array.isArray(r)?l.value?.includes(r):l.value===r){let f=Array.isArray(t)?t:[t];for(let A of f){let u=A(e),p=o||{};if(u!==null){o=i(i({},p),u);break}}}return o}}export{m as a,F as b,y as c,C as d};
1
+ import{b as s}from"./chunk-RHW5QVAY.js";import{S as c}from"./chunk-K6EZTPNQ.js";import{a as i}from"./chunk-EUDKD2JW.js";var d=/[a-zA-Z0-9_\-\+\.!@#$%^&*?_~()-]/,m=class n{generate(r,t=d){let a;do a=this.generatePassword(r,t);while(this.calculatePasswordStrength(a)<5);return a}generatePassword(r,t=d){return Array.apply(null,{length:r}).map(()=>{let a;for(;;)if(a=String.fromCharCode(s()),t.test(a))return a},this).join("")}calculatePasswordStrength(r){let t=1;return r.length>=8&&t++,r.match(/[a-z]/)&&r.match(/[A-Z]/)&&t++,r.match(/\d+/)&&t++,r.match(/.[!,@,#,$,%,^,&,*,?,_,~,(,),-]/)&&t++,Math.min(t,5)}static \u0275fac=function(t){return new(t||n)};static \u0275prov=c({token:n,factory:n.\u0275fac,providedIn:"root"})};function F(n,r,t="conditional"){return a=>{if(!a.parent)return null;let e=null;if(n(a.parent)&&(e=(Array.isArray(r)?r:[r]).find(l=>l(a)!==null)??null),t&&e){let o={};o[t]=e,e=o}return e}}function y(){return n=>(n.parent&&Object.values(n.parent.controls).forEach(r=>{r!==n&&r.updateValueAndValidity()}),null)}function C(n,r,t,a="conditional"){return e=>{if(!e.parent)return null;let o={},l=e.parent.get(n);if(!l)return console.warn("Conditional field not found"),null;if(Array.isArray(r)?l.value?.includes(r):l.value===r){let f=Array.isArray(t)?t:[t];for(let A of f){let u=A(e),p=o||{};if(u!==null){o=i(i({},p),u);break}}}return o}}export{m as a,F as b,y as c,C as d};
@@ -1 +1 @@
1
- import{a as p}from"./chunk-UEYPJIJG.js";import{h as o}from"./chunk-N5FH4YAX.js";import{Qc as n,T as i,Z as r,va as s}from"./chunk-4KE2I7OA.js";var c=class e{#e=r(o);#i=p(this.#e.getApiV1Serversettings());#t=s(void 0);serverSettings=n(()=>this.#t()||this.#i());refreshServerSettings(){this.#e.getApiV1Serversettings().subscribe({next:t=>{this.#t.set(t)}})}static \u0275fac=function(a){return new(a||e)};static \u0275prov=i({token:e,factory:e.\u0275fac,providedIn:"root"})};export{c as a};
1
+ import{a as p}from"./chunk-WY2KPAVB.js";import{h as o}from"./chunk-FWVOVJCG.js";import{Gc as n,S as i,X as r,la as s}from"./chunk-K6EZTPNQ.js";var c=class e{#e=r(o);#i=p(this.#e.getApiV1Serversettings());#t=s(void 0);serverSettings=n(()=>this.#t()||this.#i());refreshServerSettings(){this.#e.getApiV1Serversettings().subscribe({next:t=>{this.#t.set(t)}})}static \u0275fac=function(a){return new(a||e)};static \u0275prov=i({token:e,factory:e.\u0275fac,providedIn:"root"})};export{c as a};
@@ -0,0 +1,7 @@
1
+ import{a as Q,b as Z}from"./chunk-EUDKD2JW.js";function Hn(e,t){return Object.is(e,t)}var U=null,Qr=!1,rs=1,Lg=null,F=Symbol("SIGNAL");function E(e){let t=U;return U=e,t}function Zr(){return U}var _e={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function et(e){if(Qr)throw new Error("");if(U===null)return;U.consumerOnSignalRead(e);let t=U.nextProducerIndex++;if(Jr(U),t<U.producerNode.length&&U.producerNode[t]!==e&&Vn(U)){let n=U.producerNode[t];Yr(n,U.producerIndexOfThis[t])}U.producerNode[t]!==e&&(U.producerNode[t]=e,U.producerIndexOfThis[t]=Vn(U)?Wl(e,U,t):0),U.producerLastReadVersion[t]=e.version}function Ul(){rs++}function wt(e){if(!(Vn(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===rs)){if(!e.producerMustRecompute(e)&&!Ct(e)){tn(e);return}e.producerRecomputeValue(e),tn(e)}}function os(e){if(e.liveConsumerNode===void 0)return;let t=Qr;Qr=!0;try{for(let n of e.liveConsumerNode)n.dirty||ql(n)}finally{Qr=t}}function is(){return U?.consumerAllowSignalWrites!==!1}function ql(e){e.dirty=!0,os(e),e.consumerMarkedDirty?.(e)}function tn(e){e.dirty=!1,e.lastCleanEpoch=rs}function Me(e){return e&&(e.nextProducerIndex=0),E(e)}function Ve(e,t){if(E(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(Vn(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)Yr(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Ct(e){Jr(e);for(let t=0;t<e.producerNode.length;t++){let n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(wt(n),r!==n.version))return!0}return!1}function bt(e){if(Jr(e),Vn(e))for(let t=0;t<e.producerNode.length;t++)Yr(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function Wl(e,t,n){if(Gl(e),e.liveConsumerNode.length===0&&zl(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=Wl(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function Yr(e,t){if(Gl(e),e.liveConsumerNode.length===1&&zl(e))for(let r=0;r<e.producerNode.length;r++)Yr(e.producerNode[r],e.producerIndexOfThis[r]);let n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){let r=e.liveConsumerIndexOfThis[t],o=e.liveConsumerNode[t];Jr(o),o.producerIndexOfThis[r]=t}}function Vn(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function Jr(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Gl(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function zl(e){return e.producerNode!==void 0}function Bn(e){Lg?.(e)}function $n(e,t){let n=Object.create(Fg);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(wt(n),et(n),n.value===je)throw n.error;return n.value};return r[F]=n,Bn(n),r}var Xe=Symbol("UNSET"),Dt=Symbol("COMPUTING"),je=Symbol("ERRORED"),Fg=Z(Q({},_e),{value:Xe,dirty:!0,error:null,equal:Hn,kind:"computed",producerMustRecompute(e){return e.value===Xe||e.value===Dt},producerRecomputeValue(e){if(e.value===Dt)throw new Error("");let t=e.value;e.value=Dt;let n=Me(e),r,o=!1;try{r=e.computation(),E(null),o=t!==Xe&&t!==je&&r!==je&&e.equal(t,r)}catch(i){r=je,e.error=i}finally{Ve(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 ss(e){Ql=e}var Vg=null;function as(e,t){let n=Object.create(Kr);n.value=e,t!==void 0&&(n.equal=t);let r=()=>Yl(n);return r[F]=n,Bn(n),r}function Yl(e){return et(e),e.value}function He(e,t){is()||Zl(e),e.equal(e.value,t)||(e.value=t,Hg(e))}function Un(e,t){is()||Zl(e),He(e,t(e.value))}var Kr=Z(Q({},_e),{equal:Hn,value:void 0,kind:"signal"});function Hg(e){e.version++,Ul(),os(e),Vg?.(e)}function C(e){return typeof e=="function"}function nn(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 Xr=nn(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 Tt(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var H=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 Xr?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Jl(i)}catch(s){t=t??[],s instanceof Xr?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Xr(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Jl(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)&&Tt(n,t)}remove(t){let{_finalizers:n}=this;n&&Tt(n,t),t instanceof e&&t._removeParent(this)}};H.EMPTY=(()=>{let e=new H;return e.closed=!0,e})();var cs=H.EMPTY;function eo(e){return e instanceof H||e&&"closed"in e&&C(e.remove)&&C(e.add)&&C(e.unsubscribe)}function Jl(e){C(e)?e():e.unsubscribe()}var ve={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var rn={setTimeout(e,t,...n){let{delegate:r}=rn;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=rn;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function to(e){rn.setTimeout(()=>{let{onUnhandledError:t}=ve;if(t)t(e);else throw e})}function qn(){}var Kl=ls("C",void 0,void 0);function Xl(e){return ls("E",void 0,e)}function eu(e){return ls("N",e,void 0)}function ls(e,t,n){return{kind:e,value:t,error:n}}var _t=null;function on(e){if(ve.useDeprecatedSynchronousErrorHandling){let t=!_t;if(t&&(_t={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=_t;if(_t=null,n)throw r}}else e()}function tu(e){ve.useDeprecatedSynchronousErrorHandling&&_t&&(_t.errorThrown=!0,_t.error=e)}var Mt=class extends H{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,eo(t)&&t.add(this)):this.destination=Ug}static create(t,n,r){return new Be(t,n,r)}next(t){this.isStopped?ds(eu(t),this):this._next(t)}error(t){this.isStopped?ds(Xl(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?ds(Kl,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()}}},Bg=Function.prototype.bind;function us(e,t){return Bg.call(e,t)}var fs=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){no(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){no(r)}else no(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){no(n)}}},Be=class extends Mt{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&&us(t.next,i),error:t.error&&us(t.error,i),complete:t.complete&&us(t.complete,i)}):o=t}this.destination=new fs(o)}};function no(e){ve.useDeprecatedSynchronousErrorHandling?tu(e):to(e)}function $g(e){throw e}function ds(e,t){let{onStoppedNotification:n}=ve;n&&rn.setTimeout(()=>n(e,t))}var Ug={closed:!0,next:qn,error:$g,complete:qn};var sn=typeof Symbol=="function"&&Symbol.observable||"@@observable";function ee(e){return e}function qg(...e){return ps(e)}function ps(e){return e.length===0?ee: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=Gg(n)?n:new Be(n,r,o);return on(()=>{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)}[sn](){return this}pipe(...n){return ps(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 Wg(e){return e&&C(e.next)&&C(e.error)&&C(e.complete)}function Gg(e){return e&&e instanceof Mt||Wg(e)&&eo(e)}var ru=nn(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var de=(()=>{class e extends N{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new ro(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new ru}next(n){on(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){on(()=>{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(){on(()=>{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?cs:(this.currentObservers=null,i.push(n),new H(()=>{this.currentObservers=null,Tt(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 ro(t,n),e})(),ro=class extends de{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:cs}};function oo(e){return e&&C(e.schedule)}function ou(e){return e[e.length-1]}function an(e){return C(ou(e))?e.pop():void 0}function tt(e){return oo(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 Nt(e){return this instanceof Nt?(this.v=e,this):new Nt(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(v,m){i.push([f,g,v,m])>1||c(f,g)})},h&&(o[f]=h(o[f])))}function c(f,h){try{l(r[f](h))}catch(g){p(i[0][3],g)}}function l(f){f.value instanceof Nt?Promise.resolve(f.value.v).then(u,d):p(i[0][2],f)}function u(f){c("next",f)}function d(f){c("throw",f)}function p(f,h){f(h),i.shift(),i.length&&c(i[0][0],i[0][1])}}function 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 io=e=>e&&typeof e.length=="number"&&typeof e!="function";function so(e){return C(e?.then)}function ao(e){return C(e[sn])}function co(e){return Symbol.asyncIterator&&C(e?.[Symbol.asyncIterator])}function lo(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 zg(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var uo=zg();function fo(e){return C(e?.[uo])}function po(e){return au(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield Nt(n.read());if(o)return yield Nt(void 0);yield yield Nt(r)}}finally{n.releaseLock()}})}function ho(e){return C(e?.getReader)}function k(e){if(e instanceof N)return e;if(e!=null){if(ao(e))return Qg(e);if(io(e))return Zg(e);if(so(e))return Yg(e);if(co(e))return lu(e);if(fo(e))return Jg(e);if(ho(e))return Kg(e)}throw lo(e)}function Qg(e){return new N(t=>{let n=e[sn]();if(C(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Zg(e){return new N(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function Yg(e){return new N(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,to)})}function Jg(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=>{Xg(e,t).catch(n=>t.error(n))})}function Kg(e){return lu(po(e))}function Xg(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 re(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 hs(e){return C(e?.lift)}function M(e){return t=>{if(hs(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 Mt{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 go(e,t=0){return M((n,r)=>{n.subscribe(_(r,o=>re(r,e,()=>r.next(o),t),()=>re(r,e,()=>r.complete(),t),o=>re(r,e,()=>r.error(o),t)))})}function mo(e,t=0){return M((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function uu(e,t){return k(e).pipe(mo(t),go(t))}function du(e,t){return k(e).pipe(mo(t),go(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 re(n,t,()=>{r=e[uo](),re(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 yo(e,t){if(!e)throw new Error("Iterable cannot be null");return new N(n=>{re(n,t,()=>{let r=e[Symbol.asyncIterator]();re(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function hu(e,t){return yo(po(e),t)}function gu(e,t){if(e!=null){if(ao(e))return uu(e,t);if(io(e))return fu(e,t);if(so(e))return du(e,t);if(co(e))return yo(e,t);if(fo(e))return pu(e,t);if(ho(e))return hu(e,t)}throw lo(e)}function nt(e,t){return t?gu(e,t):k(e)}function em(...e){let t=tt(e);return nt(e,t)}function rt(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=k(e(s,ms(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}var xt=new N(e=>e.complete());function vo(e){return e<=0?()=>xt:M((t,n)=>{let r=0;t.subscribe(_(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function mu(e){return M((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function yu(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++;k(e(c,u)).subscribe(o=_(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function vu(e){return M((t,n)=>{k(e).subscribe(_(n,()=>n.complete(),qn)),!n.closed&&t.subscribe(n)})}function ys(){return M((e,t)=>{let n=null;e._refCount++;let r=_(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var vs=class extends N{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,hs(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new H;let n=this.getSubject();t.add(this.source.subscribe(_(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=H.EMPTY)}return t}refCount(){return ys()(this)}};var Wn=class extends de{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var Gn={now(){return(Gn.delegate||Date).now()},delegate:void 0};var zn=class extends de{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)}}};var Io=class extends H{constructor(t,n){super()}schedule(t,n=0){return this}};var Qn={setInterval(e,t,...n){let{delegate:r}=Qn;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=Qn;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var Eo=class extends Io{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 Qn.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&&Qn.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,Tt(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var cn=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)}};cn.now=Gn.now;var Do=class extends cn{constructor(t,n=cn.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 tm=new Do(Eo),Iu=tm;function nm(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 rm(e){return!!e&&(e instanceof N||C(e.lift)&&C(e.subscribe))}var St=nn(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Eu(e){return e instanceof Date&&!isNaN(e)}var{isArray:om}=Array;function im(e,t){return om(t)?e(...t):e(t)}function wo(e){return rt(t=>im(e,t))}var{isArray:sm}=Array,{getPrototypeOf:am,prototype:cm,keys:lm}=Object;function Co(e){if(e.length===1){let t=e[0];if(sm(t))return{args:t,keys:null};if(um(t)){let n=lm(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function um(e){return e&&typeof e=="object"&&am(e)===cm}function bo(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function dm(...e){let t=tt(e),n=an(e),{args:r,keys:o}=Co(e);if(r.length===0)return nt([],t);let i=new N(fm(r,t,o?s=>bo(o,s):ee));return n?i.pipe(wo(n)):i}function fm(e,t,n=ee){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=nt(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?re(n,e,t):t()}function wu(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 v=!1;k(n(g,u++)).subscribe(_(t,m=>{o?.(m),i?f(m):t.next(m)},()=>{v=!0},void 0,()=>{if(v)try{for(l--;c.length&&l<r;){let m=c.shift();s?re(t,s,()=>h(m)):h(m)}p()}catch(m){t.error(m)}}))};return e.subscribe(_(t,f,()=>{d=!0,p()})),()=>{a?.()}}function Rt(e,t,n=1/0){return C(t)?Rt((r,o)=>rt((i,s)=>t(r,i,o,s))(k(e(r,o))),n):(typeof t=="number"&&(n=t),M((r,o)=>wu(r,o,e,n)))}function Is(e=1/0){return Rt(ee,e)}function Cu(){return Is(1)}function To(...e){return Cu()(nt(e,tt(e)))}function pm(e){return new N(t=>{k(e()).subscribe(t)})}function hm(...e){let t=an(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;k(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(wo(t)):o}function Es(e=0,t,n=Iu){let r=-1;return t!=null&&(oo(t)?n=t:r=t),new N(o=>{let i=Eu(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:gm}=Array;function bu(e){return e.length===1&&gm(e[0])?e[0]:e}function Zn(e,t){return M((n,r)=>{let o=0;n.subscribe(_(r,i=>e.call(t,i,o++)&&r.next(i)))})}function mm(...e){let t=an(e),n=bu(e);return n.length?new N(r=>{let o=n.map(()=>[]),i=n.map(()=>!1);r.add(()=>{o=i=null});for(let s=0;!r.closed&&s<n.length;s++)k(n[s]).subscribe(_(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}}):xt}function Tu(e,t,n,r,o){return(i,s)=>{let a=n,c=t,l=0;i.subscribe(_(s,u=>{let d=l++;c=a?e(c,u,d):(a=!0,u),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function ym(e,t){return C(t)?Rt(e,t,1):Rt(e,1)}function Yn(e){return M((t,n)=>{let r=!1;t.subscribe(_(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function _o(e=vm){return M((t,n)=>{let r=!1;t.subscribe(_(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function vm(){return new St}function Im(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Zn((o,i)=>e(o,i,r)):ee,vo(1),n?Yn(t):_o(()=>new St))}function Ds(e){return e<=0?()=>xt: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 Em(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Zn((o,i)=>e(o,i,r)):ee,Ds(1),n?Yn(t):_o(()=>new St))}function Dm(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?ee: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):k(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 wm(e,t){return M(Tu(e,t,arguments.length>=2,!0))}function _u(e={}){let{connector:t=()=>new de,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,l=0,u=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=c=void 0,u=d=!1},h=()=>{let g=s;f(),g?.unsubscribe()};return M((g,v)=>{l++,!d&&!u&&p();let m=c=c??t();v.add(()=>{l--,l===0&&!d&&!u&&(a=ws(h,o))}),m.subscribe(v),!s&&l>0&&(s=new Be({next:P=>m.next(P),error:P=>{d=!0,p(),a=ws(f,n,P),m.error(P)},complete:()=>{u=!0,p(),a=ws(f,r),m.complete()}}),k(g).subscribe(s))})(i)}}function ws(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new Be({next:()=>{r.unsubscribe(),e()}});return k(t(...n)).subscribe(r)}function Cm(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,_u({connector:()=>new zn(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function bm(...e){let t=tt(e);return M((n,r)=>{(t?To(e,n,t):To(e,n)).subscribe(r)})}function Mu(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)}))}):ee}function Cs(e,t,n){let r=Object.create(Tm);r.source=e,r.computation=t,n!=null&&(r.equal=n);let i=()=>{if(wt(r),et(r),r.value===je)throw r.error;return r.value};return i[F]=r,Bn(r),i}function Nu(e,t){wt(e),He(e,t),tn(e)}function xu(e,t){wt(e),Un(e,t),tn(e)}var Tm=Z(Q({},_e),{value:Xe,dirty:!0,error:null,equal:Hn,kind:"linkedSignal",producerMustRecompute(e){return e.value===Xe||e.value===Dt},producerRecomputeValue(e){if(e.value===Dt)throw new Error("");let t=e.value;e.value=Dt;let n=Me(e),r;try{let o=e.source(),i=t===Xe||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{Ve(e,n)}if(t!==Xe&&r!==je&&e.equal(t,r)){e.value=t;return}e.value=r,e.version++}});function Su(e){let t=E(null);try{return e()}finally{E(t)}}var bs;function Ts(){return bs}function $e(e){let t=bs;return bs=e,t}var _m=Symbol("NotFound"),Mo=class extends Error{name="\u0275NotFound";constructor(t){super(t)}};function ln(e){return e===_m||e?.name==="\u0275NotFound"}var Oo="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",w=class extends Error{code;constructor(t,n){super(tr(t,n)),this.code=t}};function Mm(e){return`NG0${Math.abs(e)}`}function tr(e,t){return`${Mm(e)}${t?": "+t:""}`}var Se=globalThis;function L(e){for(let t in e)if(e[t]===L)return t;throw Error("")}function ku(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function oe(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(oe).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 Ao(e,t){return e?t?`${e} ${t}`:e:t||""}var Nm=L({__forward_ref__:L});function ko(e){return e.__forward_ref__=ko,e.toString=function(){return oe(this())},e}function Y(e){return Fs(e)?e():e}function Fs(e){return typeof e=="function"&&e.hasOwnProperty(Nm)&&e.__forward_ref__===ko}function Pu(e,t,n){e!=t&&js(n,e,t,"==")}function js(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(r==null?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}function $(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Lu(e){return{providers:e.providers||[],imports:e.imports||[]}}function nr(e){return Sm(e,Po)}function xm(e){return nr(e)!==null}function Sm(e,t){return e.hasOwnProperty(t)&&e[t]||null}function Rm(e){let t=e?.[Po]??null;return t||null}function Ms(e){return e&&e.hasOwnProperty(xo)?e[xo]:null}var Po=L({\u0275prov:L}),xo=L({\u0275inj:L}),x=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=$({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Vs(e){return e&&!!e.\u0275providers}var Hs=L({\u0275cmp:L}),Bs=L({\u0275dir:L}),$s=L({\u0275pipe:L}),Us=L({\u0275mod:L}),Kn=L({\u0275fac:L}),Lt=L({__NG_ELEMENT_ID__:L}),Ru=L({__NG_ENV_ID__:L});function le(e){return typeof e=="string"?e:e==null?"":String(e)}function Fu(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():le(e)}function qs(e,t){throw new w(-200,e)}function Lo(e,t){throw new w(-201,!1)}var Ns;function ju(){return Ns}function te(e){let t=Ns;return Ns=e,t}function Ws(e,t,n){let r=nr(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;Lo(e,"Injector")}var Om={},Ot=Om,xs="__NG_DI_FLAG__",Ss=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=At(n)||0;try{return this.injector.get(t,r&8?null:Ot,r)}catch(o){if(ln(o))return o;throw o}}},So="ngTempTokenPath",Am="ngTokenPath",km=/\n/gm,Pm="\u0275",Ou="__source";function Lm(e,t=0){let n=Ts();if(n===void 0)throw new w(-203,!1);if(n===null)return Ws(e,void 0,t);{let r=Fm(t),o=n.retrieve(e,r);if(ln(o)){if(r.optional)return null;throw o}return o}}function Ne(e,t=0){return(ju()||Lm)(Y(e),t)}function T(e,t){return Ne(e,At(t))}function At(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Fm(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function Rs(e){let t=[];for(let n=0;n<e.length;n++){let r=Y(e[n]);if(Array.isArray(r)){if(r.length===0)throw new w(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=jm(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(Ne(o,i))}else t.push(Ne(r))}return t}function Gs(e,t){return e[xs]=t,e.prototype[xs]=t,e}function jm(e){return e[xs]}function Vm(e,t,n,r){let o=e[So];throw t[Ou]&&o.unshift(t[Ou]),e.message=Hm(`
5
+ `+e.message,o,n,r),e[Am]=o,e[So]=null,e}function Hm(e,t,n,r=null){e=e&&e.charAt(0)===`
6
+ `&&e.charAt(1)==Pm?e.slice(2):e;let o=oe(t);if(Array.isArray(t))o=t.map(oe).join(" -> ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):oe(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(km,`
7
+ `)}`}function ot(e,t){let n=e.hasOwnProperty(Kn);return n?e[Kn]:null}function Vu(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 Hu(e){return e.flat(Number.POSITIVE_INFINITY)}function Fo(e,t){e.forEach(n=>Array.isArray(n)?Fo(n,t):t(n))}function zs(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function rr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Bu(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function $u(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 or(e,t,n){let r=dn(e,t);return r>=0?e[r|1]=n:(r=~r,$u(e,r,t,n)),r}function jo(e,t){let n=dn(e,t);if(n>=0)return e[n|1]}function dn(e,t){return Bm(e,t,1)}function Bm(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 st={},J=[],Ft=new x(""),Qs=new x("",-1),Zs=new x(""),Xn=class{get(t,n=Ot){if(n===Ot)throw new Mo(`NullInjectorError: No provider for ${oe(t)}!`);return n}};function Ys(e){return e[Us]||null}function Ee(e){return e[Hs]||null}function Vo(e){return e[Bs]||null}function Js(e){return e[$s]||null}function Ks(e){return{\u0275providers:e}}function Uu(...e){return{\u0275providers:Ho(!0,e),\u0275fromNgModule:!0}}function Ho(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Fo(t,s=>{let a=s;Ro(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&qu(o,i),n}function qu(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];Xs(o,i=>{t(i,r)})}}function Ro(e,t,n,r){if(e=Y(e),!e)return!1;let o=null,i=Ms(e),s=!i&&Ee(e);if(!i&&!s){let c=e.ngModule;if(i=Ms(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)Ro(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;try{Fo(i.imports,u=>{Ro(u,t,n,r)&&(l||=[],l.push(u))})}finally{}l!==void 0&&qu(l,t)}if(!a){let l=ot(o)||(()=>new o);t({provide:o,useFactory:l,deps:J},o),t({provide:Zs,useValue:o,multi:!0},o),t({provide:Ft,useValue:()=>Ne(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;Xs(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function Xs(e,t){for(let n of e)Vs(n)&&(n=n.\u0275providers),Array.isArray(n)?Xs(n,t):t(n)}var $m=L({provide:String,useValue:L});function Wu(e){return e!==null&&typeof e=="object"&&$m in e}function Um(e){return!!(e&&e.useExisting)}function qm(e){return!!(e&&e.useFactory)}function kt(e){return typeof e=="function"}function Gu(e){return!!e.useClass}var ea=new x(""),No={},Au={},_s;function fn(){return _s===void 0&&(_s=new Xn),_s}var ce=class{},Pt=class extends ce{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,un(void 0,this)),o.has("environment")&&this.records.set(ce,un(void 0,this));let i=this.records.get(ea);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Zs,J,{self:!0}))}retrieve(t,n){let r=At(n)||0;try{return this.get(t,Ot,r)}catch(o){if(ln(o))return o;throw o}}destroy(){Jn(this),this._destroyed=!0;let t=E(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(),E(t)}}onDestroy(t){return Jn(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Jn(this);let n=$e(this),r=te(void 0),o;try{return t()}finally{$e(n),te(r)}}get(t,n=Ot,r){if(Jn(this),t.hasOwnProperty(Ru))return t[Ru](this);let o=At(r),i,s=$e(this),a=te(void 0);try{if(!(o&4)){let l=this.records.get(t);if(l===void 0){let u=Zm(t)&&nr(t);u&&this.injectableDefInScope(u)?l=un(Os(t),No):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l)}let c=o&2?fn():this.parent;return n=o&8&&n===Ot?null:n,c.get(t,n)}catch(c){if(ln(c)){if((c[So]=c[So]||[]).unshift(oe(t)),s)throw c;return Vm(c,t,"R3InjectorError",this.source)}else throw c}finally{te(a),$e(s)}}resolveInjectorInitializers(){let t=E(null),n=$e(this),r=te(void 0),o;try{let i=this.get(Ft,J,{self:!0});for(let s of i)s()}finally{$e(n),te(r),E(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(oe(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=Y(t);let n=kt(t)?t:Y(t&&t.provide),r=Gm(t);if(!kt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=un(void 0,No,!0),o.factory=()=>Rs(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=E(null);try{return n.value===Au?qs(oe(t)):n.value===No&&(n.value=Au,n.value=n.factory()),typeof n.value=="object"&&n.value&&Qm(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{E(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=Y(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function Os(e){let t=nr(e),n=t!==null?t.factory:ot(e);if(n!==null)return n;if(e instanceof x)throw new w(204,!1);if(e instanceof Function)return Wm(e);throw new w(204,!1)}function Wm(e){if(e.length>0)throw new w(204,!1);let n=Rm(e);return n!==null?()=>n.factory(e):()=>new e}function Gm(e){if(Wu(e))return un(void 0,e.useValue);{let t=ta(e);return un(t,No)}}function ta(e,t,n){let r;if(kt(e)){let o=Y(e);return ot(o)||Os(o)}else if(Wu(e))r=()=>Y(e.useValue);else if(qm(e))r=()=>e.useFactory(...Rs(e.deps||[]));else if(Um(e))r=()=>Ne(Y(e.useExisting));else{let o=Y(e&&(e.useClass||e.provide));if(zm(e))r=()=>new o(...Rs(e.deps));else return ot(o)||Os(o)}return r}function Jn(e){if(e.destroyed)throw new w(205,!1)}function un(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function zm(e){return!!e.deps}function Qm(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Zm(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&&Vs(n)?As(n.\u0275providers,t):t(n)}function Bo(e,t){let n;e instanceof Pt?(Jn(e),n=e):n=new Ss(e);let r,o=$e(n),i=te(void 0);try{return t()}finally{$e(o),te(i)}}function na(){return ju()!==void 0||Ts()!=null}function zu(e){if(!na())throw new w(-203,!1)}var De=0,I=1,D=2,B=3,fe=4,K=5,jt=6,pn=7,j=8,pe=9,Re=10,S=11,hn=12,ra=13,Vt=14,X=15,at=16,Ht=17,Oe=18,ir=19,oa=20,Ue=21,$o=22,We=23,ue=24,Uo=25,R=26,Qu=1,ct=6,lt=7,sr=8,Bt=9,W=10;function Ae(e){return Array.isArray(e)&&typeof e[Qu]=="object"}function we(e){return Array.isArray(e)&&e[Qu]===!0}function qo(e){return(e.flags&4)!==0}function ut(e){return e.componentOffset>-1}function ar(e){return(e.flags&1)===1}function ke(e){return!!e.template}function gn(e){return(e[D]&512)!==0}function $t(e){return(e[D]&256)===256}var ia="svg",Zu="math";function ie(e){for(;Array.isArray(e);)e=e[De];return e}function cr(e,t){return ie(t[e])}function Ce(e,t){return ie(t[e.index])}function Ut(e,t){return e.data[t]}function mn(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 he(e,t){let n=t[e];return Ae(n)?n:n[De]}function Yu(e){return(e[D]&4)===4}function Wo(e){return(e[D]&128)===128}function Ju(e){return we(e[B])}function ge(e,t){return t==null?null:e[t]}function sa(e){e[Ht]=0}function aa(e){e[D]&1024||(e[D]|=1024,Wo(e)&&qt(e))}function Ku(e,t){for(;e>0;)t=t[Vt],e--;return t}function ur(e){return!!(e[D]&9216||e[ue]?.dirty)}function Go(e){e[Re].changeDetectionScheduler?.notify(8),e[D]&64&&(e[D]|=1024),ur(e)&&qt(e)}function qt(e){e[Re].changeDetectionScheduler?.notify(0);let t=it(e);for(;t!==null&&!(t[D]&8192||(t[D]|=8192,!Wo(t)));)t=it(t)}function zo(e,t){if($t(e))throw new w(911,!1);e[Ue]===null&&(e[Ue]=[]),e[Ue].push(t)}function ca(e,t){if(e[Ue]===null)return;let n=e[Ue].indexOf(t);n!==-1&&e[Ue].splice(n,1)}function it(e){let t=e[B];return we(t)?t[B]:t}function la(e){return e[pn]??=[]}function ua(e){return e.cleanup??=[]}function Xu(e,t,n,r){let o=la(t);o.push(n),e.firstCreatePass&&ua(e).push(r,o.length-1)}var b={lFrame:pd(null),bindingsEnabled:!0,skipHydrationRootTNode:null},dr=function(e){return e[e.Off=0]="Off",e[e.Exhaustive=1]="Exhaustive",e[e.OnlyDirtyViews=2]="OnlyDirtyViews",e}(dr||{}),Ym=0,ks=!1;function ed(){return b.lFrame.elementDepthCount}function td(){b.lFrame.elementDepthCount++}function nd(){b.lFrame.elementDepthCount--}function Qo(){return b.bindingsEnabled}function da(){return b.skipHydrationRootTNode!==null}function rd(e){return b.skipHydrationRootTNode===e}function od(){b.skipHydrationRootTNode=null}function y(){return b.lFrame.lView}function O(){return b.lFrame.tView}function id(e){return b.lFrame.contextLView=e,e[j]}function sd(e){return b.lFrame.contextLView=null,e}function G(){let e=fa();for(;e!==null&&e.type===64;)e=e.parent;return e}function fa(){return b.lFrame.currentTNode}function yn(){let e=b.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function me(e,t){let n=b.lFrame;n.currentTNode=e,n.isParent=t}function Zo(){return b.lFrame.isParent}function Yo(){b.lFrame.isParent=!1}function pa(){return b.lFrame.contextLView}function ha(e){js("Must never be called in production mode"),Ym=e}function ga(){return ks}function vn(e){let t=ks;return ks=e,t}function dt(){let e=b.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Jo(){return b.lFrame.bindingIndex}function ad(e){return b.lFrame.bindingIndex=e}function Pe(){return b.lFrame.bindingIndex++}function fr(e){let t=b.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function cd(){return b.lFrame.inI18n}function ma(e){b.lFrame.inI18n=e}function ld(e,t){let n=b.lFrame;n.bindingIndex=n.bindingRootIndex=e,Ko(t)}function ud(){return b.lFrame.currentDirectiveIndex}function Ko(e){b.lFrame.currentDirectiveIndex=e}function dd(e){let t=b.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Xo(){return b.lFrame.currentQueryIndex}function pr(e){b.lFrame.currentQueryIndex=e}function Jm(e){let t=e[I];return t.type===2?t.declTNode:t.type===1?e[K]:null}function ya(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=Jm(i),o===null||(i=i[Vt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=b.lFrame=fd();return r.currentTNode=t,r.lView=e,!0}function ei(e){let t=fd(),n=e[I];b.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function fd(){let e=b.lFrame,t=e===null?null:e.child;return t===null?pd(e):t}function pd(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 hd(){let e=b.lFrame;return b.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var va=hd;function ti(){let e=hd();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 gd(e){return(b.lFrame.contextLView=Ku(e,b.lFrame.contextLView))[j]}function ye(){return b.lFrame.selectedIndex}function ft(e){b.lFrame.selectedIndex=e}function hr(){let e=b.lFrame;return Ut(e.tView,e.selectedIndex)}function md(){b.lFrame.currentNamespace=ia}function yd(){Km()}function Km(){b.lFrame.currentNamespace=null}function vd(){return b.lFrame.currentNamespace}var Id=!0;function In(){return Id}function En(e){Id=e}function Ps(e,t=null,n=null,r){let o=Ia(e,t,n,r);return o.resolveInjectorInitializers(),o}function Ia(e,t=null,n=null,r,o=new Set){let i=[n||J,Uu(e)];return r=r||(typeof e=="object"?void 0:oe(e)),new Pt(i,t||fn(),r||null,o)}var xe=class e{static THROW_IF_NOT_FOUND=Ot;static NULL=new Xn;static create(t,n){if(Array.isArray(t))return Ps({name:""},n,t,"");{let r=t.name??"";return Ps({name:r},t.parent,t.providers,r)}}static \u0275prov=$({token:e,providedIn:"any",factory:()=>Ne(Qs)});static __NG_ELEMENT_ID__=-1},Xm=new x(""),pt=(()=>{class e{static __NG_ELEMENT_ID__=ey;static __NG_ENV_ID__=n=>n}return e})(),er=class extends pt{_lView;constructor(t){super(),this._lView=t}onDestroy(t){let n=this._lView;return zo(n,t),()=>ca(n,t)}};function ey(){return new er(y())}var qe=class{_console=console;handleError(t){this._console.error("ERROR",t)}},Ge=new x("",{providedIn:"root",factory:()=>{let e=T(ce),t;return n=>{t??=e.get(qe),t.handleError(n)}}}),Ed={provide:Ft,useValue:()=>void T(qe),multi:!0};function Ea(e){return typeof e=="function"&&e[F]!==void 0}function ht(e,t){let n=as(e,t?.equal),r=n[F];return n.set=o=>He(r,o),n.update=o=>Un(r,o),n.asReadonly=Dn.bind(n),n}function Dn(){let e=this[F];if(e.readonlyFn===void 0){let t=()=>this();t[F]=e,e.readonlyFn=t}return e.readonlyFn}function Da(e){return Ea(e)&&typeof e.set=="function"}var Ie=class{},gr=new x("",{providedIn:"root",factory:()=>!1});var wa=new x(""),ni=new x("");var mr=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=ty}return e})();function ty(){return new mr(y(),G())}var Wt=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new Wn(!1);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),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=$({token:e,providedIn:"root",factory:()=>new e})}return e})(),yr=(()=>{class e{internalPendingTasks=T(Wt);scheduler=T(Ie);errorHandler=T(Ge);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=$({token:e,providedIn:"root",factory:()=>new e})}return e})();function Gt(...e){}var vr=(()=>{class e{static \u0275prov=$({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}};function Rn(e){return{toString:e}.toString()}var ri="__parameters__";function cy(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function uf(e,t,n){return Rn(()=>{let r=cy(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(c,l,u){let d=c.hasOwnProperty(ri)?c[ri]:Object.defineProperty(c,ri,{value:[]})[ri];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),c}}return o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var Mc=Gs(uf("Optional"),8);var Nc=Gs(uf("SkipSelf"),4);function ly(e){return typeof e=="function"}var gi=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function df(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var uy=(()=>{let e=()=>ff;return e.ngInherit=!0,e})();function ff(e){return e.type.prototype.ngOnChanges&&(e.setInput=fy),dy}function dy(){let e=hf(this),t=e?.current;if(t){let n=e.previous;if(n===st)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function fy(e,t,n,r,o){let i=this.declaredInputs[r],s=hf(e)||py(e,{previous:st,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new gi(l&&l.currentValue,n,c===st),df(e,t,o,n)}var pf="__ngSimpleChanges__";function hf(e){return e[pf]||null}function py(e,t){return e[pf]=t}var Dd=[];var A=function(e,t=null,n){for(let r=0;r<Dd.length;r++){let o=Dd[r];o(e,t,n)}};function hy(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=ff(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 xc(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 ci(e,t,n){gf(e,t,3,n)}function li(e,t,n,r){(e[D]&3)===n&&gf(e,t,n,r)}function Ca(e,t){let n=e[D];(n&3)===t&&(n&=16383,n+=1,e[D]=n)}function gf(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)&&(gy(e,n,t,c),e[Ht]=(e[Ht]&4294901760)+c+2),c++}function wd(e,t){A(4,e,t);let n=E(null);try{t.call(e)}finally{E(n),A(5,e,t)}}function gy(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,wd(a,i)):wd(a,i)}var Cn=-1,Zt=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r){this.factory=t,this.canSeeViewProviders=n,this.injectImpl=r}};function my(e){return(e.flags&8)!==0}function yy(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];Iy(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function mf(e){return e===3||e===4||e===6}function Iy(e){return e.charCodeAt(0)===64}function Tn(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?Cd(e,n,o,null,t[++r]):Cd(e,n,o,null,null))}}return e}function Cd(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 yf(e){return e!==Cn}function mi(e){return e&32767}function Ey(e){return e>>16}function yi(e,t){let n=Ey(e),r=t;for(;n>0;)r=r[Vt],n--;return r}var Fa=!0;function vi(e){let t=Fa;return Fa=e,t}var Dy=256,vf=Dy-1,If=5,wy=0,Le={};function Cy(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Lt)&&(r=n[Lt]),r==null&&(r=n[Lt]=wy++);let o=r&vf,i=1<<o;t.data[e+(o>>If)]|=i}function Ii(e,t){let n=Ef(e,t);if(n!==-1)return n;let r=t[I];r.firstCreatePass&&(e.injectorIndex=t.length,ba(r.data,e),ba(t,null),ba(r.blueprint,null));let o=Sc(e,t),i=e.injectorIndex;if(yf(o)){let s=mi(o),a=yi(o,t),c=a[I].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function ba(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Ef(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Sc(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=Tf(o),r===null)return Cn;if(n++,o=o[Vt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Cn}function ja(e,t,n){Cy(e,t,n)}function by(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(mf(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 Df(e,t,n){if(n&8||e!==void 0)return e;Lo(t,"NodeInjector")}function wf(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[pe],i=te(void 0);try{return o?o.get(t,r,n&8):Ws(t,r,n&8)}finally{te(i)}}return Df(r,t,n)}function Cf(e,t,n,r=0,o){if(e!==null){if(t[D]&2048&&!(r&2)){let s=xy(e,t,n,r,Le);if(s!==Le)return s}let i=bf(e,t,n,r,Le);if(i!==Le)return i}return wf(t,n,r,o)}function bf(e,t,n,r,o){let i=_y(n);if(typeof i=="function"){if(!ya(t,e,r))return r&1?Df(o,n,r):wf(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))Lo(n);else return s}finally{va()}}else if(typeof i=="number"){let s=null,a=Ef(e,t),c=Cn,l=r&1?t[X][K]:null;for((a===-1||r&4)&&(c=a===-1?Sc(e,t):t[a+8],c===Cn||!Td(r,!1)?a=-1:(s=t[I],a=mi(c),t=yi(c,t)));a!==-1;){let u=t[I];if(bd(i,a,u.data)){let d=Ty(a,t,n,s,r,l);if(d!==Le)return d}c=t[a+8],c!==Cn&&Td(r,t[I].data[a+8]===l)&&bd(i,a,t)?(s=u,a=mi(c),t=yi(c,t)):a=-1}}return o}function Ty(e,t,n,r,o,i){let s=t[I],a=s.data[e+8],c=r==null?ut(a)&&Fa:r!=s&&(a.type&3)!==0,l=o&1&&i===a,u=ui(a,s,n,c,l);return u!==null?Tr(t,s,u,a):Le}function ui(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){let o=e[n],i=t.data;if(o instanceof Zt){let s=o;s.resolving&&qs(Fu(i[n]));let a=vi(s.canSeeViewProviders);s.resolving=!0;let c=i[n].type||i[n],l,u=s.injectImpl?te(s.injectImpl):null,d=ya(e,r,0);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&hy(n,i[n],t)}finally{u!==null&&te(u),vi(a),s.resolving=!1,va()}}return o}function _y(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Lt)?e[Lt]:void 0;return typeof t=="number"?t>=0?t&vf:My:t}function bd(e,t,n){let r=1<<e;return!!(n[t+(e>>If)]&r)}function Td(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 Cf(this._tNode,this._lView,t,At(r),n)}};function My(){return new Qt(G(),y())}function Ny(e){return Rn(()=>{let t=e.prototype.constructor,n=t[Kn]||Va(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Kn]||Va(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Va(e){return Fs(e)?()=>{let t=Va(Y(e));return t&&t()}:ot(e)}function xy(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[D]&2048&&!gn(s);){let a=bf(i,s,n,r|2,Le);if(a!==Le)return a;let c=i.parent;if(!c){let l=s[oa];if(l){let u=l.get(n,Le,r);if(u!==Le)return u}c=Tf(s),s=s[Vt]}i=c}return o}function Tf(e){let t=e[I],n=t.type;return n===2?t.declTNode:n===1?e[K]:null}function _f(e){return by(G(),e)}function Sy(){return On(G(),y())}function On(e,t){return new Lr(Ce(e,t))}var Lr=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=Sy}return e})();function Mf(e){return e instanceof Lr?e.nativeElement:e}function Ry(){return this._results[Symbol.iterator]()}var Ei=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new de}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=Hu(t);(this._changesDetected=!Vu(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]=Ry};function Nf(e){return(e.flags&128)===128}var Rc=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Rc||{}),xf=new Map,Oy=0;function Ay(){return Oy++}function ky(e){xf.set(e[ir],e)}function Ha(e){xf.delete(e[ir])}var _d="__ngContext__";function mt(e,t){Ae(t)?(e[_d]=t[ir],ky(t)):e[_d]=t}function Sf(e){return Of(e[hn])}function Rf(e){return Of(e[fe])}function Of(e){for(;e!==null&&!we(e);)e=e[fe];return e}var Ba;function Py(e){Ba=e}function ki(){if(Ba!==void 0)return Ba;if(typeof document<"u")return document;throw new w(210,!1)}var Ly=new x("",{providedIn:"root",factory:()=>Fy}),Fy="ng",Af=new x(""),jy=new x("",{providedIn:"platform",factory:()=>"unknown"});var Vy=new x("",{providedIn:"root",factory:()=>ki().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),kf={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},Hy=new x("",{providedIn:"root",factory:()=>kf});var By="h",$y="b";var Pf="r";var Oc="di",Ac="s";var Lf=!1,Ff=new x("",{providedIn:"root",factory:()=>Lf});var jf=new x("");var Uy=(e,t,n,r)=>{};function qy(e,t,n,r){Uy(e,t,n,r)}var Vf=new x("");var Wy=()=>null;function Hf(e,t,n=!1){return Wy(e,t,n)}function Bf(e){return e.get(jf,!1,{optional:!0})}function $f(e,t){let n=e.contentQueries;if(n!==null){let r=E(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];pr(i),a.contentQueries(2,t[s],s)}}}finally{E(r)}}}function $a(e,t,n){pr(0);let r=E(null);try{t(e,n)}finally{E(r)}}function kc(e,t,n){if(qo(t)){let r=E(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{E(r)}}}var _n=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(_n||{}),oi;function Gy(){if(oi===void 0&&(oi=null,Se.trustedTypes))try{oi=Se.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return oi}function Pi(e){return Gy()?.createHTML(e)||e}var ii;function Uf(){if(ii===void 0&&(ii=null,Se.trustedTypes))try{ii=Se.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ii}function Md(e){return Uf()?.createHTML(e)||e}function Nd(e){return Uf()?.createScriptURL(e)||e}var Ze=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Oo})`}},Ua=class extends Ze{getTypeName(){return"HTML"}},qa=class extends Ze{getTypeName(){return"Style"}},Wa=class extends Ze{getTypeName(){return"Script"}},Ga=class extends Ze{getTypeName(){return"URL"}},za=class extends Ze{getTypeName(){return"ResourceURL"}};function en(e){return e instanceof Ze?e.changingThisBreaksApplicationSecurity:e}function Li(e,t){let n=qf(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Oo})`)}return n===t}function qf(e){return e instanceof Ze&&e.getTypeName()||null}function zy(e){return new Ua(e)}function Qy(e){return new qa(e)}function Zy(e){return new Wa(e)}function Yy(e){return new Ga(e)}function Jy(e){return new za(e)}function Wf(e){let t=new Za(e);return Ky()?new Qa(t):t}var Qa=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(Pi(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},Za=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=Pi(t),n}};function Ky(){try{return!!new window.DOMParser().parseFromString(Pi(""),"text/html")}catch{return!1}}var Xy=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Fi(e){return e=String(e),e.match(Xy)?e:"unsafe:"+e}function Ye(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 Gf=Ye("area,br,col,hr,img,wbr"),zf=Ye("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Qf=Ye("rp,rt"),ev=Fr(Qf,zf),tv=Fr(zf,Ye("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")),nv=Fr(Qf,Ye("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")),Ya=Fr(Gf,tv,nv,ev),Pc=Ye("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),rv=Ye("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"),ov=Ye("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"),Zf=Fr(Pc,rv,ov),iv=Ye("script,style,template"),Ja=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=cv(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=av(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=xd(t).toLowerCase();if(!Ya.hasOwnProperty(n))return this.sanitizedSomething=!0,!iv.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(!Zf.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;Pc[a]&&(c=Fi(c)),this.buf.push(" ",s,'="',Sd(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=xd(t).toLowerCase();Ya.hasOwnProperty(n)&&!Gf.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Sd(t))}};function sv(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function av(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Yf(t);return t}function cv(e){let t=e.firstChild;if(t&&sv(e,t))throw Yf(t);return t}function xd(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Yf(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var lv=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,uv=/([^\#-~ |!])/g;function Sd(e){return e.replace(/&/g,"&amp;").replace(lv,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(uv,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var si;function Jf(e,t){let n=null;try{si=si||Wf(e);let r=t?String(t):"";n=si.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=si.getInertBodyElement(r)}while(r!==i);let a=new Ja().sanitizeChildren(Ka(n)||n);return Pi(a)}finally{if(n){let r=Ka(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function Ka(e){return"content"in e&&dv(e)?e.content:null}function dv(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}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=Lc();return t?Md(t.sanitize(jr.HTML,e)||""):Li(e,"HTML")?Md(en(e)):Jf(ki(),le(e))}function Kf(e){let t=Lc();return t?t.sanitize(jr.URL,e)||"":Li(e,"URL")?en(e):Fi(le(e))}function Xf(e){let t=Lc();if(t)return Nd(t.sanitize(jr.RESOURCE_URL,e)||"");if(Li(e,"ResourceURL"))return Nd(en(e));throw new w(904,!1)}function pv(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?Xf:Kf}function hv(e,t,n){return pv(t,n)(e)}function Lc(){let e=y();return e&&e[Re].sanitizer}var gv=/^>|^->|<!--|-->|--!>|<!-$/g,mv=/(<|>)/g,yv="\u200B$1\u200B";function vv(e){return e.replace(gv,t=>t.replace(mv,yv))}function Iv(e){return e.ownerDocument.defaultView}function ep(e){return e instanceof Function?e():e}function Ev(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 tp="ng-template";function Dv(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&Ev(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(Fc(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 Fc(e){return e.type===4&&e.value!==tp}function wv(e,t,n){let r=e.type===4&&!n?tp:e.value;return t===r}function Cv(e,t,n){let r=4,o=e.attrs,i=o!==null?_v(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!be(r)&&!be(c))return!1;if(s&&be(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(be(r))return!1;s=!0}}else if(r&8){if(o===null||!Dv(e,o,c,n)){if(be(r))return!1;s=!0}}else{let l=t[++a],u=bv(c,o,Fc(e),n);if(u===-1){if(be(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(be(r))return!1;s=!0}}}}return be(r)||s}function be(e){return(e&1)===0}function bv(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 Mv(t,e)}function np(e,t,n=!1){for(let r=0;r<t.length;r++)if(Cv(e,t[r],n))return!0;return!1}function Tv(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function _v(e){for(let t=0;t<e.length;t++){let n=e[t];if(mf(n))return t}return e.length}function Mv(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 Nv(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 Rd(e,t){return e?":not("+t.trim()+")":t}function xv(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!==""&&!be(s)&&(t+=Rd(i,o),o=""),r=s,i=i||!be(r);n++}return o!==""&&(t+=Rd(i,o)),t}function Sv(e){return e.map(xv).join(",")}function Rv(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(!be(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var z={};function rp(e,t){return e.createText(t)}function op(e,t,n){e.setValue(t,n)}function ip(e,t){return e.createComment(vv(t))}function jc(e,t,n){return e.createElement(t,n)}function Yt(e,t,n,r,o){e.insertBefore(t,n,r,o)}function sp(e,t,n){e.appendChild(t,n)}function Od(e,t,n,r,o){r!==null?Yt(e,t,n,r,o):sp(e,t,n)}function Vc(e,t,n){e.removeChild(null,t,n)}function Ov(e,t,n){e.setAttribute(t,"style",n)}function Av(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function ap(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&vy(e,t,r),o!==null&&Av(e,t,o),i!==null&&Ov(e,t,i)}function Hc(e,t,n,r,o,i,s,a,c,l,u){let d=R+r,p=d+o,f=kv(d,p),h=typeof l=="function"?l():l;return f[I]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:h,incompleteFirstPass:!1,ssrId:u}}function kv(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:z);return n}function Pv(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Hc(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Bc(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),sa(d),d[B]=d[Vt]=e,d[j]=n,d[Re]=s||e&&e[Re],d[S]=a||e&&e[S],d[pe]=c||e&&e[pe]||null,d[K]=i,d[ir]=Ay(),d[jt]=u,d[oa]=l,d[X]=t.type==2?e[X]:d,d}function Lv(e,t,n){let r=Ce(t,e),o=Pv(n),i=e[Re].rendererFactory,s=$c(e,Bc(e,o,null,cp(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function cp(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 $c(e,t){return e[hn]?e[ra][fe]=t:e[hn]=t,e[ra]=t,t}function Fv(e=1){lp(O(),y(),ye()+e,!1)}function lp(e,t,n,r){if(!r)if((t[D]&3)===3){let i=e.preOrderCheckHooks;i!==null&&ci(t,i,n)}else{let i=e.preOrderHooks;i!==null&&li(t,i,0,n)}ft(n)}var ji=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(ji||{});function Xa(e,t,n,r){let o=E(null);try{let[i,s,a]=e.inputs[n],c=null;(s&ji.SignalBased)!==0&&(c=t[i][F]),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):df(t,c,i,r)}finally{E(o)}}function up(e,t,n,r,o){let i=ye(),s=r&2;try{ft(-1),s&&t.length>R&&lp(e,t,R,!1),A(s?2:0,o,n),n(r,o)}finally{ft(i),A(s?3:1,o,n)}}function Vi(e,t,n){qv(e,t,n),(n.flags&64)===64&&Wv(e,t,n)}function Uc(e,t,n=Ce){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 jv(e,t,n,r){let i=r.get(Ff,Lf)||n===_n.ShadowDom,s=e.selectRootElement(t,i);return Vv(s),s}function Vv(e){Hv(e)}var Hv=()=>null;function Bv(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function qc(e,t,n,r,o,i){let s=t[I];if(Qc(e,s,t,n,r)){ut(e)&&Uv(t,e.index);return}$v(e,t,n,r,o,i)}function $v(e,t,n,r,o,i){if(e.type&3){let s=Ce(e,t);n=Bv(n),r=i!=null?i(r,e.value||"",n):r,o.setProperty(s,n,r)}else e.type&12}function Uv(e,t){let n=he(t,e);n[D]&16||(n[D]|=64)}function qv(e,t,n){let r=n.directiveStart,o=n.directiveEnd;ut(n)&&Lv(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||Ii(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(mt(c,t),i!==null&&Qv(t,s-r,c,a,n,i),ke(a)){let l=he(n.index,t);l[j]=Tr(t,e,s,n)}}}function Wv(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=ud();try{ft(i);for(let a=r;a<o;a++){let c=e.data[a],l=t[a];Ko(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&Gv(c,l)}}finally{ft(-1),Ko(s)}}function Gv(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Wc(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];np(t,i.selectors,!1)&&(r??=[],ke(i)?r.unshift(i):r.push(i))}return r}function zv(e,t,n,r,o,i){let s=Ce(e,t);Gc(t[S],s,i,e.value,n,r,o)}function Gc(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?le(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function Qv(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];Xa(r,n,c,l)}}function zc(e,t){let n=e[pe];if(!n)return;n.get(Ge,null)?.(t)}function Qc(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];Xa(d,n[l],u,o),a=!0}if(i)for(let c of i){let l=n[c],u=t.data[c];Xa(u,l,r,o),a=!0}return a}function Zv(e,t){let n=he(t,e),r=n[I];Yv(r,n);let o=n[De];o!==null&&n[jt]===null&&(n[jt]=Hf(o,n[pe])),A(18),Zc(r,n,n[j]),A(19,n[j])}function Yv(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Zc(e,t,n){ei(t);try{let r=e.viewQuery;r!==null&&$a(1,r,n);let o=e.template;o!==null&&up(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Oe]?.finishViewCreation(e),e.staticContentQueries&&$f(e,t),e.staticViewQueries&&$a(2,e.viewQuery,n);let i=e.components;i!==null&&Jv(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[D]&=-5,ti()}}function Jv(e,t){for(let n=0;n<t.length;n++)Zv(e,t[n])}function An(e,t,n,r){let o=E(null);try{let i=t.tView,a=e[D]&4096?4096:16,c=Bc(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[t.index];c[at]=l;let u=e[Oe];return u!==null&&(c[Oe]=u.createEmbeddedView(i)),Zc(i,c,n),c}finally{E(o)}}function Jt(e,t){return!t||t.firstChild===null||Nf(e)}var Ad=!1,Kv=new x(""),ec;function Yc(e,t){return ec(e,t)}function Xv(e){ec===void 0&&(ec=e())}var Di=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Di||{});function Hi(e){return(e.flags&32)===32}function wn(e,t,n,r,o){if(r!=null){let i,s=!1;we(r)?i=r:Ae(r)&&(s=!0,r=r[De]);let a=ie(r);e===0&&n!==null?o==null?sp(t,n,a):Yt(t,n,a,o||null,!0):e===1&&n!==null?Yt(t,n,a,o||null,!0):e===2?Vc(t,a,s):e===3&&t.destroyNode(a),i!=null&&sI(t,e,i,n,o)}}function eI(e,t){dp(e,t),t[De]=null,t[K]=null}function tI(e,t,n,r,o,i){r[De]=o,r[K]=t,Ui(e,r,n,1,o,i)}function dp(e,t){t[Re].changeDetectionScheduler?.notify(9),Ui(e,t,t[S],2,null,null)}function nI(e){let t=e[hn];if(!t)return Ta(e[I],e);for(;t;){let n=null;if(Ae(t))n=t[hn];else{let r=t[W];r&&(n=r)}if(!n){for(;t&&!t[fe]&&t!==e;)Ae(t)&&Ta(t[I],t),t=t[B];t===null&&(t=e),Ae(t)&&Ta(t[I],t),n=t&&t[fe]}t=n}}function Jc(e,t){let n=e[Bt],r=n.indexOf(t);n.splice(r,1)}function Bi(e,t){if($t(t))return;let n=t[S];n.destroyNode&&Ui(e,t,n,3,null,null),nI(t)}function Ta(e,t){if($t(t))return;let n=E(null);try{t[D]&=-129,t[D]|=256,t[ue]&&bt(t[ue]),oI(e,t),rI(e,t),t[I].type===1&&t[S].destroy();let r=t[at];if(r!==null&&we(t[B])){r!==t[B]&&Jc(r,t);let o=t[Oe];o!==null&&o.detachView(e)}Ha(t)}finally{E(n)}}function rI(e,t){let n=e.cleanup,r=t[pn];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[pn]=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[We];if(i!==null){t[We]=null;for(let s of i)s.destroy()}}function oI(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];A(4,a,c);try{c.call(a)}finally{A(5,a,c)}}else{A(4,o,i);try{i.call(o)}finally{A(5,o,i)}}}}}function fp(e,t,n){return pp(e,t.parent,n)}function pp(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[De];if(ut(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===_n.None||o===_n.Emulated)return null}return Ce(r,n)}function hp(e,t,n){return mp(e,t,n)}function gp(e,t,n){return e.type&40?Ce(e,n):null}var mp=gp,tc;function yp(e,t){mp=e,tc=t}function $i(e,t,n,r){let o=fp(e,r,t),i=t[S],s=r.parent||t[K],a=hp(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)Od(i,o,n[c],a,!1);else Od(i,o,n,a,!1);tc!==void 0&&tc(i,r,t,n,o)}function Ir(e,t){if(t!==null){let n=t.type;if(n&3)return Ce(t,e);if(n&4)return nc(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return Ir(e,r);{let o=e[t.index];return we(o)?nc(-1,o):ie(o)}}else{if(n&128)return Ir(e,t.next);if(n&32)return Yc(t,e)()||ie(e[t.index]);{let r=vp(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=it(e[X]);return Ir(o,r)}else return Ir(e,t.next)}}}return null}function vp(e,t){if(t!==null){let r=e[X][K],o=t.projection;return r.projection[o]}return null}function nc(e,t){let n=W+e+1;if(n<t.length){let r=t[n],o=r[I].firstChild;if(o!==null)return Ir(r,o)}return t[lt]}function Kc(e,t,n,r,o,i,s){for(;n!=null;){if(n.type===128){n=n.next;continue}let a=r[n.index],c=n.type;if(s&&t===0&&(a&&mt(ie(a),r),n.flags|=2),!Hi(n))if(c&8)Kc(e,t,n.child,r,o,i,!1),wn(t,e,o,a,i);else if(c&32){let l=Yc(n,r),u;for(;u=l();)wn(t,e,o,u,i);wn(t,e,o,a,i)}else c&16?Ip(e,t,r,n,o,i):wn(t,e,o,a,i);n=s?n.projectionNext:n.next}}function Ui(e,t,n,r,o,i){Kc(n,r,e.firstChild,t,o,i,!1)}function iI(e,t,n){let r=t[S],o=fp(e,n,t),i=n.parent||t[K],s=hp(i,n,t);Ip(r,0,t,n,o,s)}function Ip(e,t,n,r,o,i){let s=n[X],c=s[K].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];wn(t,e,o,u,i)}else{let l=c,u=s[B];Nf(r)&&(l.flags|=128),Kc(e,t,l,u,o,i,!0)}}function sI(e,t,n,r,o){let i=n[lt],s=ie(n);i!==s&&wn(t,e,r,i,o);for(let a=W;a<n.length;a++){let c=n[a];Ui(c[I],c,e,t,r,i)}}function aI(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:Di.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Di.Important),e.setStyle(n,r,o,i))}}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(ie(i)),we(i)&&Ep(i,r);let s=n.type;if(s&8)_r(e,t,n.child,r);else if(s&32){let a=Yc(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=vp(t,n);if(Array.isArray(a))r.push(...a);else{let c=it(t[X]);_r(c[I],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Ep(e,t){for(let n=W;n<e.length;n++){let r=e[n],o=r[I].firstChild;o!==null&&_r(r[I],r,o,t)}e[lt]!==e[De]&&t.push(e[lt])}function Dp(e){if(e[Uo]!==null){for(let t of e[Uo])t.impl.addSequence(t);e[Uo].length=0}}var wp=[];function cI(e){return e[ue]??lI(e)}function lI(e){let t=wp.pop()??Object.create(dI);return t.lView=e,t}function uI(e){e.lView[ue]!==e&&(e.lView=null,wp.push(e))}var dI=Z(Q({},_e),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{qt(e.lView)},consumerOnSignalRead(){this.lView[ue]=this}});function fI(e){let t=e[ue]??Object.create(pI);return t.lView=e,t}var pI=Z(Q({},_e),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=it(e.lView);for(;t&&!Cp(t[I]);)t=it(t);t&&aa(t)},consumerOnSignalRead(){this.lView[ue]=this}});function Cp(e){return e.type!==2}function bp(e){if(e[We]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[We])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[D]&8192)}}var hI=100;function Xc(e,t=0){let r=e[Re].rendererFactory,o=!1;o||r.begin?.();try{gI(e,t)}finally{o||r.end?.()}}function gI(e,t){let n=ga();try{vn(!0),rc(e,t);let r=0;for(;ur(e);){if(r===hI)throw new w(103,!1);r++,rc(e,1)}}finally{vn(n)}}function Tp(e,t){ha(t?dr.Exhaustive:dr.OnlyDirtyViews);try{Xc(e)}finally{ha(dr.Off)}}function mI(e,t,n,r){if($t(t))return;let o=t[D],i=!1,s=!1;ei(t);let a=!0,c=null,l=null;i||(Cp(e)?(l=cI(t),c=Me(l)):Zr()===null?(a=!1,l=fI(t),c=Me(l)):t[ue]&&(bt(t[ue]),t[ue]=null));try{sa(t),ad(e.bindingStartIndex),n!==null&&up(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let f=e.preOrderCheckHooks;f!==null&&ci(t,f,null)}else{let f=e.preOrderHooks;f!==null&&li(t,f,0,null),Ca(t,0)}if(s||yI(t),bp(t),_p(t,0),e.contentQueries!==null&&$f(e,t),!i)if(u){let f=e.contentCheckHooks;f!==null&&ci(t,f)}else{let f=e.contentHooks;f!==null&&li(t,f,1),Ca(t,1)}II(e,t);let d=e.components;d!==null&&Np(t,d,0);let p=e.viewQuery;if(p!==null&&$a(2,p,r),!i)if(u){let f=e.viewCheckHooks;f!==null&&ci(t,f)}else{let f=e.viewHooks;f!==null&&li(t,f,2),Ca(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[$o]){for(let f of t[$o])f();t[$o]=null}i||(Dp(t),t[D]&=-73)}catch(u){throw i||qt(t),u}finally{l!==null&&(Ve(l,c),a&&uI(l)),ti()}}function _p(e,t){for(let n=Sf(e);n!==null;n=Rf(n))for(let r=W;r<n.length;r++){let o=n[r];Mp(o,t)}}function yI(e){for(let t=Sf(e);t!==null;t=Rf(t)){if(!(t[D]&2))continue;let n=t[Bt];for(let r=0;r<n.length;r++){let o=n[r];aa(o)}}}function vI(e,t,n){A(18);let r=he(t,e);Mp(r,n),A(19,r[j])}function Mp(e,t){Wo(e)&&rc(e,t)}function rc(e,t){let r=e[I],o=e[D],i=e[ue],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&Ct(i)),s||=!1,i&&(i.dirty=!1),e[D]&=-9217,s)mI(r,e,r.template,e[j]);else if(o&8192){bp(e),_p(e,1);let a=r.components;a!==null&&Np(e,a,1),Dp(e)}}function Np(e,t,n){for(let r=0;r<t.length;r++)vI(e,t[r],n)}function II(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)ft(~o);else{let i=o,s=n[++r],a=n[++r];ld(s,i);let c=t[i];A(24,c),a(2,c),A(25,c)}}}finally{ft(-1)}}function qi(e,t){let n=ga()?64:1088;for(e[Re].changeDetectionScheduler?.notify(t);e;){e[D]|=n;let r=it(e);if(gn(e)&&!r)return e;e=r}return null}function xp(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Sp(e,t){let n=W+t;if(n<e.length)return e[n]}function kn(e,t,n,r=!0){let o=t[I];if(EI(o,t,e,n),r){let s=nc(n,e),a=t[S],c=a.parentNode(e[lt]);c!==null&&tI(o,e[K],a,t,c,s)}let i=t[jt];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function el(e,t){let n=Mr(e,t);return n!==void 0&&Bi(n[I],n),n}function Mr(e,t){if(e.length<=W)return;let n=W+t,r=e[n];if(r){let o=r[at];o!==null&&o!==e&&Jc(o,r),t>0&&(e[n-1][fe]=r[fe]);let i=rr(e,W+t);eI(r[I],r);let s=i[Oe];s!==null&&s.detachView(i[I]),r[B]=null,r[fe]=null,r[D]&=-129}return r}function EI(e,t,n,r){let o=W+r,i=n.length;r>0&&(n[o-1][fe]=t),r<i-W?(t[fe]=n[o],zs(n,W+r,t)):(n.push(t),t[fe]=null),t[B]=n;let s=t[at];s!==null&&n!==s&&Rp(s,t);let a=t[Oe];a!==null&&a.insertView(e),Go(t),t[D]|=128}function Rp(e,t){let n=e[Bt],r=t[B];if(Ae(r))e[D]|=2;else{let o=r[B][X];t[X]!==o&&(e[D]|=2)}n===null?e[Bt]=[t]:n.push(t)}var yt=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[I];return _r(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[j]}set context(t){this._lView[j]=t}get destroyed(){return $t(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[B];if(we(t)){let n=t[sr],r=n?n.indexOf(this):-1;r>-1&&(Mr(t,r),rr(n,r))}this._attachedToViewContainer=!1}Bi(this._lView[I],this._lView)}onDestroy(t){zo(this._lView,t)}markForCheck(){qi(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[D]&=-129}reattach(){Go(this._lView),this._lView[D]|=128}detectChanges(){this._lView[D]|=1024,Xc(this._lView)}checkNoChanges(){return;try{this.exhaustive??=this._lView[pe].get(Kv,Ad)}catch{this.exhaustive=Ad}}attachToViewContainerRef(){if(this._appRef)throw new w(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=gn(this._lView),n=this._lView[at];n!==null&&!t&&Jc(n,this._lView),dp(this._lView[I],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new w(902,!1);this._appRef=t;let n=gn(this._lView),r=this._lView[at];r!==null&&!n&&Rp(r,this._lView),Go(this._lView)}};var Nr=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=DI;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=An(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new yt(i)}}return e})();function DI(){return Wi(G(),y())}function Wi(e,t){return e.type&4?new Nr(t,e,On(e,t)):null}function Op(e,t,n){let r=t.insertBeforeIndex,o=Array.isArray(r)?r[0]:r;return o===null?gp(e,t,n):ie(n[o])}function Ap(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]];Yt(e,s,l,a,!1)}}}function Pn(e,t,n,r,o){let i=e.data[t];if(i===null)i=tl(e,t,n,r,o),cd()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=yn();i.injectorIndex=s===null?-1:s.injectorIndex}return me(i,!0),i}function tl(e,t,n,r,o){let i=fa(),s=Zo(),a=s?i:i&&i.parent,c=e.data[t]=CI(e,a,n,t,r,o);return wI(e,c,i,s),c}function wI(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 CI(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return da()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs: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 kp(e,t){if(e.push(t),e.length>1)for(let n=e.length-2;n>=0;n--){let r=e[n];Pp(r)||bI(r,t)&&TI(r)===null&&_I(r,t.index)}}function Pp(e){return!(e.type&64)}function bI(e,t){return Pp(t)||e.index>t.index}function TI(e){let t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function _I(e,t){let n=e.insertBeforeIndex;Array.isArray(n)?n[0]=t:(yp(Op,Ap),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 MI(e,t,n){let r=e.data[t];r===null?e.data[t]=n:r.value=n}function NI(e,t){let n=e.insertBeforeIndex;n===null?(yp(Op,Ap),n=e.insertBeforeIndex=[null,t]):(Pu(Array.isArray(n),!0,"Expecting array here"),n.push(t))}function xI(e,t,n){let r=tl(e,n,64,null,null);return kp(t,r),r}function Gi(e,t){let n=t[e.currentCaseLViewIndex];return n===null?n:n<0?~n:n}function SI(e){return e>>>17}function RI(e){return(e&131070)>>>1}function OI(e,t,n){return e|t<<17|n<<1}function AI(e){return e===-1}function Lp(e,t,n){e.index=0;let r=Gi(t,n);r!==null?e.removes=t.remove[r]:e.removes=J}function oc(e){if(e.index<e.removes.length){let t=e.removes[e.index++];if(t>0)return e.lView[t];{e.stack.push(e.index,e.removes);let n=~t,r=e.lView[I].data[n];return Lp(e,r,e.lView),oc(e)}}else return e.stack.length===0?null:(e.removes=e.stack.pop(),e.index=e.stack.pop(),oc(e))}function kI(){let e={stack:[],index:-1};function t(n,r){for(e.lView=r;e.stack.length;)e.stack.pop();return Lp(e,n.value,r),oc.bind(null,e)}return t}var vO=new RegExp(`^(\\d+)*(${$y}|${By})*(.*)`);var PI=()=>{};function LI(e,t,n,r){PI(e,t,n,r)}var FI=()=>{};function jI(e,t,n){FI(e,t,n)}function VI(e){let t=e[ct]??[],r=e[B][S],o=[];for(let i of t)i.data[Oc]!==void 0?o.push(i):HI(i,r);e[ct]=o}function HI(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[Pf];for(;n<o;){let i=r.nextSibling;Vc(t,r,!1),r=i,n++}}}var BI=()=>null,$I=()=>null;function wi(e,t){return BI(e,t)}function Fp(e,t,n){return $I(e,t,n)}var jp=class{},zi=class{},ic=class{resolveComponentFactory(t){throw new w(917,!1)}},Hr=class{static NULL=new ic},xr=class{},UI=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>qI()}return e})();function qI(){let e=y(),t=G(),n=he(t.index,e);return(Ae(n)?n:e)[S]}var Vp=(()=>{class e{static \u0275prov=$({token:e,providedIn:"root",factory:()=>null})}return e})();var di={},bn=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,di,r);return o!==di||n===di?o:this.parentInjector.get(t,n,r)}};function sc(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=Ao(o,a);else if(i==2){let c=a,l=t[++s];r=Ao(r,c+": "+l+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function Br(e,t=0){let n=y();if(n===null)return Ne(e,t);let r=G();return Cf(r,n,Y(e),t)}function nl(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}zI(e,t,n,a,i,c,l)}i!==null&&r!==null&&WI(n,r,i)}function WI(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 w(-301,!1);r.push(t[o],i)}}function GI(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function zI(e,t,n,r,o,i,s){let a=r.length,c=!1;for(let p=0;p<a;p++){let f=r[p];!c&&ke(f)&&(c=!0,GI(e,n,p)),ja(Ii(n,t),e,f.type)}XI(n,e.data.length,a);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=Tn(n.mergedAttrs,f.hostAttrs),ZI(e,n,t,d,f),KI(d,f,o),s!==null&&s.has(f)){let[g,v]=s.get(f);n.directiveToIndex.set(f.type,[d,g+n.directiveStart,v+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++}QI(e,n,i)}function QI(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))kd(0,t,o,r),kd(1,t,o,r),Ld(t,r,!1);else{let i=n.get(o);Pd(0,t,i,r),Pd(1,t,i,r),Ld(t,r,!0)}}}function kd(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),Hp(t,i)}}function Pd(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),Hp(t,s)}}function Hp(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function Ld(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||Fc(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 ZI(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=ot(o.type,!0)),s=new Zt(i,ke(o),Br);e.blueprint[r]=s,n[r]=s,YI(e,t,r,Vr(e,n,o.hostVars,z),o)}function YI(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;JI(s)!=a&&s.push(a),s.push(n,r,i)}}function JI(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function KI(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 XI(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Bp(e,t,n,r,o,i,s,a){let c=t.consts,l=ge(c,s),u=Pn(t,e,2,r,l);return i&&nl(t,n,u,ge(c,a),o),u.mergedAttrs=Tn(u.mergedAttrs,u.attrs),u.attrs!==null&&sc(u,u.attrs,!1),u.mergedAttrs!==null&&sc(u,u.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,u),u}function $p(e,t){xc(e,t),qo(t)&&e.queries.elementEnd(t)}function rl(e){return Qi(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function Up(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 Qi(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function $r(e,t,n){return e[t]=n}function eE(e,t){return e[t]}function ne(e,t,n){if(n===z)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Sr(e,t,n,r){let o=ne(e,t,n);return ne(e,t+1,r)||o}function qp(e,t,n,r,o){let i=Sr(e,t,n,r);return ne(e,t+2,o)||i}function tE(e,t,n,r,o,i){let s=Sr(e,t,n,r);return Sr(e,t+2,o,i)||s}function _a(e,t,n){return function r(o){let i=ut(e)?he(e.index,t):t;qi(i,5);let s=t[j],a=Fd(t,s,n,o),c=r.__ngNextListenerFn__;for(;c;)a=Fd(t,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function Fd(e,t,n,r){let o=E(null);try{return A(6,t,n),n(r)!==!1}catch(i){return zc(e,i),!1}finally{A(7,t,n),E(o)}}function nE(e,t,n,r,o,i,s,a){let c=ar(e),l=!1,u=null;if(!r&&c&&(u=rE(t,n,i,e.index)),u!==null){let d=u.__ngLastListenerFn__||u;d.__ngNextListenerFn__=s,u.__ngLastListenerFn__=s,l=!0}else{let d=Ce(e,n),p=r?r(d):d;qy(n,p,i,a);let f=o.listen(p,i,a),h=r?g=>r(ie(g[e.index])):e.index;Wp(h,t,n,i,a,f,!1)}return l}function rE(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[pn],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Wp(e,t,n,r,o,i,s){let a=t.firstCreatePass?ua(t):null,c=la(n),l=c.length;c.push(o,i),a&&a.push(r,e,l,(l+1)*(s?-1:1))}function jd(e,t,n,r,o,i){let s=t[n],a=t[I],l=a.data[n].outputs[r],d=s[l].subscribe(i);Wp(e.index,a,t,o,i,d,!0)}var ac=Symbol("BINDING");var Ci=class extends Hr{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=Ee(t);return new vt(n,this.ngModule)}};function oE(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&ji.SignalBased)!==0};return o&&(i.transform=o),i})}function iE(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function sE(e,t,n){let r=t instanceof ce?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new bn(n,r):n}function aE(e){let t=e.get(xr,null);if(t===null)throw new w(407,!1);let n=e.get(Vp,null),r=e.get(Ie,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1}}function cE(e,t){let n=(e.selectors[0][0]||"div").toLowerCase();return jc(t,n,n==="svg"?ia:n==="math"?Zu:null)}var vt=class extends zi{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=oE(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=iE(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=Sv(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){A(22);let a=E(null);try{let c=this.componentDef,l=lE(r,c,s,i),u=sE(c,o||this.ngModule,t),d=aE(u),p=d.rendererFactory.createRenderer(null,c),f=r?jv(p,r,c.encapsulation,u):cE(c,p),h=s?.some(Vd)||i?.some(m=>typeof m!="function"&&m.bindings.some(Vd)),g=Bc(null,l,null,512|cp(c),null,null,d,p,u,null,Hf(f,u,!0));g[R]=f,ei(g);let v=null;try{let m=Bp(R,l,g,"#host",()=>l.directiveRegistry,!0,0);f&&(ap(p,f,m),mt(f,g)),Vi(l,g,m),kc(l,m,g),$p(l,m),n!==void 0&&dE(m,this.ngContentSelectors,n),v=he(m.index,g),g[j]=v[j],Zc(l,g,null)}catch(m){throw v!==null&&Ha(v),Ha(g),m}finally{A(23),ti()}return new bi(this.componentType,g,!!h)}finally{E(a)}}};function lE(e,t,n,r){let o=e?["ng-version","20.0.0"]:Rv(t.selectors[0]),i=null,s=null,a=0;if(n)for(let u of n)a+=u[ac].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[ac].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=Vo(d);c.push(p)}return Hc(0,null,uE(i,s),1,a,c,null,null,null,[o],null)}function uE(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 Vd(e){let t=e[ac].kind;return t==="input"||t==="twoWay"}var bi=class extends jp{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=Ut(n[I],R),this.location=On(this._tNode,n),this.instance=he(this._tNode.index,n)[j],this.hostView=this.changeDetectorRef=new yt(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=Qc(r,o[I],o,t,n);this.previousInputValues.set(t,n);let s=he(r.index,o);qi(s,1)}get injector(){return new Qt(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function dE(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 Zi=(()=>{class e{static __NG_ELEMENT_ID__=fE}return e})();function fE(){let e=G();return zp(e,y())}var pE=Zi,Gp=class extends pE{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return On(this._hostTNode,this._hostLView)}get injector(){return new Qt(this._hostTNode,this._hostLView)}get parentInjector(){let t=Sc(this._hostTNode,this._hostLView);if(yf(t)){let n=yi(t,this._hostLView),r=mi(t),o=n[I].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=Hd(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-W}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=wi(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&&!ly(t),l;if(c)l=n;else{let v=n||{};l=v.index,r=v.injector,o=v.projectableNodes,i=v.environmentInjector||v.ngModuleRef,s=v.directives,a=v.bindings}let u=c?t:new vt(Ee(t)),d=r||this.parentInjector;if(!i&&u.ngModule==null){let m=(c?d:this.parentInjector).get(ce,null);m&&(i=m)}let p=Ee(u.componentType??{}),f=wi(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(Ju(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[B],l=new Gp(c,c[K],c[B]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return kn(s,o,i,r),t.attachToViewContainerRef(),zs(Ma(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Hd(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Mr(this._lContainer,n);r&&(rr(Ma(this._lContainer),n),Bi(r[I],r))}detach(t){let n=this._adjustIndex(t,-1),r=Mr(this._lContainer,n);return r&&rr(Ma(this._lContainer),n)!=null?new yt(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Hd(e){return e[sr]}function Ma(e){return e[sr]||(e[sr]=[])}function zp(e,t){let n,r=t[e.index];return we(r)?n=r:(n=xp(r,t,null,e),t[e.index]=n,$c(t,n)),gE(n,t,e,r),new Gp(n,e,t)}function hE(e,t){let n=e[S],r=n.createComment(""),o=Ce(t,e),i=n.parentNode(o);return Yt(n,i,r,n.nextSibling(o),!1),r}var gE=yE,mE=()=>!1;function Qp(e,t,n){return mE(e,t,n)}function yE(e,t,n,r){if(e[lt])return;let o;n.type&8?o=ie(r):o=hE(t,n),e[lt]=o}var cc=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},lc=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++)il(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=wE(t):this.predicate=t}},uc=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)}},dc=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,vE(n,i)),this.matchTNodeWithReadOption(t,n,ui(n,t,i,!1,!1))}else r===Nr?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,ui(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===Lr||o===Zi||o===Nr&&n.type&4)this.addMatch(n.index,-2);else{let i=ui(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 vE(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 IE(e,t){return e.type&11?On(e,t):e.type&4?Wi(e,t):null}function EE(e,t,n,r){return n===-1?IE(t,e):n===-2?DE(e,t,r):Tr(e,e[I],n,t)}function DE(e,t,n){if(n===Lr)return On(t,e);if(n===Nr)return Wi(t,e);if(n===Zi)return zp(t,e)}function Zp(e,t,n,r){let o=t[Oe].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(EE(t,u,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function fc(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=Zp(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=W;d<u.length;d++){let p=u[d];p[at]===p[B]&&fc(p[I],p,l,r)}if(u[Bt]!==null){let d=u[Bt];for(let p=0;p<d.length;p++){let f=d[p];fc(f[I],f,l,r)}}}}}return r}function ol(e,t){return e[Oe].queries[t].queryList}function Yp(e,t,n){let r=new Ei((n&4)===4);return Xu(e,t,r,r.destroy),(t[Oe]??=new lc).queries.push(new cc(r))-1}function Jp(e,t,n){let r=O();return r.firstCreatePass&&(Xp(r,new Ti(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),Yp(r,y(),t)}function Kp(e,t,n,r){let o=O();if(o.firstCreatePass){let i=G();Xp(o,new Ti(t,n,r),i.index),CE(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return Yp(o,y(),n)}function wE(e){return e.split(",").map(t=>t.trim())}function Xp(e,t,n){e.queries===null&&(e.queries=new uc),e.queries.track(new dc(t,n))}function CE(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 il(e,t){return e.queries.getByIndex(t)}function eh(e,t){let n=e[I],r=il(n,t);return r.crossesNgTemplate?fc(n,e,t,[]):Zp(n,e,r,t)}function th(e,t,n){let r,o=$n(()=>{r._dirtyCounter();let i=bE(r,e);if(t&&i===void 0)throw new w(-951,!1);return i});return r=o[F],r._dirtyCounter=ht(0),r._flatValue=void 0,o}function sl(e){return th(!0,!1,e)}function al(e){return th(!0,!0,e)}function nh(e,t){let n=e[F];n._lView=y(),n._queryIndex=t,n._queryList=ol(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function bE(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[D]&4)return t?void 0:J;let o=ol(n,r),i=eh(n,r);return o.reset(i,Mf),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}var Bd=new Set;function Je(e){Bd.has(e)||(Bd.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Mn=class{},rh=class{};function TE(e,t){return new Rr(e,t??null,[])}var Rr=class extends Mn{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=Ys(t);this._bootstrapComponents=ep(i.bootstrap),this._r3Injector=Ia(t,n,[{provide:Mn,useValue:this},{provide:Hr,useValue:this.componentFactoryResolver},...r],oe(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)}},_i=class extends rh{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new Rr(this.moduleType,t,[])}};var Or=class extends Mn{injector;componentFactoryResolver=new Ci(this);instance=null;constructor(t){super();let n=new Pt([...t.providers,{provide:Mn,useValue:this},{provide:Hr,useValue:this.componentFactoryResolver}],t.parent||fn(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function cl(e,t,n=null){return new Or({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var _E=(()=>{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=Ho(!1,n.type),o=r.length>0?cl([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=$({token:e,providedIn:"environment",factory:()=>new e(Ne(ce))})}return e})();function ME(e){return Rn(()=>{let t=oh(e),n=Z(Q({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Rc.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(_E).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||_n.Emulated,styles:e.styles||J,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Je("NgStandalone"),ih(n);let r=e.dependencies;return n.directiveDefs=$d(r,!1),n.pipeDefs=$d(r,!0),n.id=PE(n),n})}function NE(e){return Ee(e)||Vo(e)}function xE(e){return e!==null}function SE(e){return Rn(()=>({type:e.type,bootstrap:e.bootstrap||J,declarations:e.declarations||J,imports:e.imports||J,exports:e.exports||J,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function RE(e,t){if(e==null)return st;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=ji.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function OE(e){if(e==null)return st;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function AE(e){return Rn(()=>{let t=oh(e);return ih(t),t})}function kE(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 oh(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||st,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||J,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:RE(e.inputs,t),outputs:OE(e.outputs),debugInfo:null}}function ih(e){e.features?.forEach(t=>t(e))}function $d(e,t){if(!e)return null;let n=t?Js:NE;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(xE)}function PE(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 LE(e){return Object.getPrototypeOf(e.prototype).constructor}function sh(e){let t=LE(e.type),n=!0,r=[e];for(;t;){let o;if(ke(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new w(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=Na(e.inputs),s.declaredInputs=Na(e.declaredInputs),s.outputs=Na(e.outputs);let a=o.hostBindings;a&&BE(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&VE(e,c),l&&HE(e,l),FE(e,o),ku(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===sh&&(n=!1)}}t=Object.getPrototypeOf(t)}jE(r)}function FE(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 jE(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=Tn(o.hostAttrs,n=Tn(n,o.hostAttrs))}}function Na(e){return e===st?{}:e===J?[]:e}function VE(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function HE(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function BE(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function $E(e,t,n,r,o,i,s,a,c){let l=t.consts,u=Pn(t,e,4,s||null,a||null);Qo()&&nl(t,n,u,ge(l,c),Wc),u.mergedAttrs=Tn(u.mergedAttrs,u.attrs),xc(t,u);let d=u.tView=Hc(2,u,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l,null);return t.queries!==null&&(t.queries.template(t,u),d.queries=t.queries.embeddedTView(u)),u}function Kt(e,t,n,r,o,i,s,a,c,l,u){let d=n+R,p=t.firstCreatePass?$E(d,t,e,r,o,i,s,a,l):t.data[d];c&&(p.flags|=c),me(p,!1);let f=UE(t,e,p,n);In()&&$i(t,e,f,p),mt(f,e);let h=xp(f,e,f,p);return e[d]=h,$c(e,h),Qp(h,p,e),ar(p)&&Vi(t,e,p),l!=null&&Uc(e,p,u),p}function ah(e,t,n,r,o,i,s,a){let c=y(),l=O(),u=ge(l.consts,i);return Kt(c,l,e,t,n,r,o,u,void 0,s,a),ah}var UE=qE;function qE(e,t,n,r){return En(!0),t[S].createComment("")}var se=function(e){return e[e.NOT_STARTED=0]="NOT_STARTED",e[e.IN_PROGRESS=1]="IN_PROGRESS",e[e.COMPLETE=2]="COMPLETE",e[e.FAILED=3]="FAILED",e}(se||{}),Ud=0,WE=1,V=function(e){return e[e.Placeholder=0]="Placeholder",e[e.Loading=1]="Loading",e[e.Complete=2]="Complete",e[e.Error=3]="Error",e}(V||{}),Mi=function(e){return e[e.Initial=-1]="Initial",e}(Mi||{}),GE=0,Ur=1;var zE=4,QE=5,ZE=6,YE=7,xa=8,JE=9,ll=function(e){return e[e.Manual=0]="Manual",e[e.Playthrough=1]="Playthrough",e}(ll||{});function KE(e,t,n){let r=lh(e);t[r]===null&&(t[r]=[]),t[r].push(n)}function fi(e,t){let n=lh(e),r=t[n];if(r!==null){for(let o of r)o();t[n]=null}}function ch(e){fi(1,e),fi(0,e),fi(2,e)}function lh(e){let t=zE;return e===1?t=QE:e===2&&(t=JE),t}var ul=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(ul||{}),dl=new x(""),uh=!1,pc=class extends de{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,na()&&(this.destroyRef=T(pt,{optional:!0})??void 0,this.pendingTasks=T(Wt,{optional:!0})??void 0)}emit(t){let n=E(null);try{super.next(t)}finally{E(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 H&&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)}})}}},Qe=pc;function dh(e){let t,n;function r(){e=Gt;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 qd(e){return queueMicrotask(()=>e()),()=>{e=Gt}}var fl="isAngularZone",Ni=fl+"_ID",XE=0,ae=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Qe(!1);onMicrotaskEmpty=new Qe(!1);onStable=new Qe(!1);onError=new Qe(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=uh}=t;if(typeof Zone>"u")throw new w(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,nD(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(fl)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new w(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new w(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,eD,Gt,Gt);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)}},eD={};function pl(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 tD(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){dh(()=>{e.callbackScheduled=!1,hc(e),e.isCheckStableRunning=!0,pl(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),hc(e)}function nD(e){let t=()=>{tD(e)},n=XE++;e._inner=e._inner.fork({name:"angular",properties:{[fl]:!0,[Ni]:n,[Ni+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(rD(c))return r.invokeTask(i,s,a,c);try{return Wd(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Gd(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return Wd(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!oD(c)&&t(),Gd(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,hc(e),pl(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 hc(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Wd(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Gd(e){e._nesting--,pl(e)}var Ar=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Qe;onMicrotaskEmpty=new Qe;onStable=new Qe;onError=new Qe;run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function rD(e){return fh(e,"__ignore_ng_zone__")}function oD(e){return fh(e,"__scheduler_tick__")}function fh(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var ph=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=$({token:e,providedIn:"root",factory:()=>new e})}return e})();function Yi(e){return e+1}function Ln(e,t){let n=e[I],r=Yi(t.index);return e[r]}function iD(e,t,n){let r=e[I],o=Yi(t);e[o]=n}function Fn(e,t){let n=Yi(t.index);return e.data[n]}function sD(e,t,n){let r=Yi(t);e.data[r]=n}function aD(e,t,n){let r=t[I],o=Fn(r,n);switch(e){case V.Complete:return o.primaryTmplIndex;case V.Loading:return o.loadingTmplIndex;case V.Error:return o.errorTmplIndex;case V.Placeholder:return o.placeholderTmplIndex;default:return null}}function zd(e,t){return t===V.Placeholder?e.placeholderBlockConfig?.[Ud]??null:t===V.Loading?e.loadingBlockConfig?.[Ud]??null:null}function cD(e){return e.loadingBlockConfig?.[WE]??null}function Qd(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 lD(e,t){let n=t.primaryTmplIndex+R;return Ut(e,n)}var uD=(()=>{class e{cachedInjectors=new Map;getOrCreateInjector(n,r,o,i){if(!this.cachedInjectors.has(n)){let s=o.length>0?cl(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=$({token:e,providedIn:"environment",factory:()=>new e})}return e})();var hh=new x("");function Sa(e,t,n){return e.get(uD).getOrCreateInjector(t,e,n,"")}function dD(e,t,n){if(e instanceof bn){let o=e.injector,i=e.parentInjector,s=Sa(i,t,n);return new bn(o,s)}let r=e.get(ce);if(r!==e){let o=Sa(r,t,n);return new bn(e,o)}return Sa(e,t,n)}function gt(e,t,n,r=!1){let o=n[B],i=o[I];if($t(o))return;let s=Ln(o,t),a=s[Ur],c=s[YE];if(!(c!==null&&e<c)&&Zd(a,e)&&Zd(s[GE]??-1,e)){let l=Fn(i,t),d=!r&&!0&&(cD(l)!==null||zd(l,V.Loading)!==null||zd(l,V.Placeholder))?gD:pD;try{d(e,s,n,t,o)}catch(p){zc(o,p)}}}function fD(e,t){let n=e[ct]?.findIndex(o=>o.data[Ac]===t[Ur])??-1;return{dehydratedView:n>-1?e[ct][n]:null,dehydratedViewIx:n}}function pD(e,t,n,r,o){A(20);let i=aD(e,o,r);if(i!==null){t[Ur]=e;let s=o[I],a=i+R,c=Ut(s,a),l=0;el(n,l);let u;if(e===V.Complete){let h=Fn(s,r),g=h.providers;g&&g.length>0&&(u=dD(o[pe],h,g))}let{dehydratedView:d,dehydratedViewIx:p}=fD(n,t),f=An(o,c,null,{injector:u,dehydratedView:d});if(kn(n,f,l,Jt(c,d)),qi(f,2),p>-1&&n[ct]?.splice(p,1),(e===V.Complete||e===V.Error)&&Array.isArray(t[xa])){for(let h of t[xa])h();t[xa]=null}}A(21)}function Zd(e,t){return e<t}function hD(e,t){let n=e[t.index];gt(V.Placeholder,t,n)}function Yd(e,t,n){e.loadingPromise.then(()=>{e.loadingState===se.COMPLETE?gt(V.Complete,t,n):e.loadingState===se.FAILED&&gt(V.Error,t,n)})}var gD=null;var mD=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var gh=new x("");function hl(e){return!!e&&typeof e.then=="function"}function mh(e){return!!e&&typeof e.subscribe=="function"}var yh=new x("");var gl=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=T(yh,{optional:!0})??[];injector=T(xe);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=Bo(this.injector,o);if(hl(i))n.push(i);else if(mh(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=$({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),vh=new x("");function Ih(){ss(()=>{let e="";throw new w(600,e)})}function Eh(e){return e.isBoundToModule}var yD=10;var qr=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=T(Ge);afterRenderManager=T(ph);zonelessEnabled=T(gr);rootEffectScheduler=T(vr);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new de;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=T(Wt);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(rt(n=>!n))}constructor(){T(dl,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=T(ce);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=xe.NULL){return this._injector.get(ae).run(()=>{A(10);let s=n instanceof zi;if(!this._injector.get(gl).done){let h="";throw new w(405,h)}let c;s?c=n:c=this._injector.get(Hr).resolveComponentFactory(n),this.componentTypes.push(c.componentType);let l=Eh(c)?void 0:this._injector.get(Mn),u=r||c.selector,d=c.create(o,[],u,l),p=d.location.nativeElement,f=d.injector.get(gh,null);return f?.registerApplication(p),d.onDestroy(()=>{this.detachView(d.hostView),Dr(this.components,d),f?.unregisterApplication(p)}),this._loadComponent(d),A(11,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){A(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(ul.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new w(101,!1);let n=E(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,E(n),this.afterTick.next(),A(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(xr,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<yD;)A(14),this.synchronizeOnce(),A(15)}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;Xc(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;Dr(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(vh,[]).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Dr(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new w(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Dr(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Dh(e,t,n){let r=t[pe],o=t[I];if(e.loadingState!==se.NOT_STARTED)return e.loadingPromise??Promise.resolve();let i=Ln(t,n),s=lD(o,e);e.loadingState=se.IN_PROGRESS,fi(1,i);let a=e.dependencyResolverFn,c=r.get(yr).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=Ee(h)||Vo(h);if(g)d.push(g);else{let v=Js(h);v&&p.push(v)}}else{u=!0;break}if(u){if(e.loadingState=se.FAILED,e.errorTmplIndex===null){let f="",h=new w(-750,!1);zc(t,h)}}else{e.loadingState=se.COMPLETE;let f=s.tView;if(d.length>0){f.directiveRegistry=Qd(f.directiveRegistry,d);let h=d.map(v=>v.type),g=Ho(!1,...h);e.providers=g}p.length>0&&(f.pipeRegistry=Qd(f.pipeRegistry,p))}}),e.loadingPromise.finally(()=>{e.loadingPromise=null,c()})):(e.loadingPromise=Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=se.COMPLETE,c()}),e.loadingPromise)}function vD(e,t){return t[pe].get(hh,null,{optional:!0})?.behavior!==ll.Manual}function ID(e,t,n){let r=t[I],o=t[n.index];if(!vD(e,t))return;let i=Ln(t,n),s=Fn(r,n);switch(ch(i),s.loadingState){case se.NOT_STARTED:gt(V.Loading,n,o),Dh(s,t,n),s.loadingState===se.IN_PROGRESS&&Yd(s,n,o);break;case se.IN_PROGRESS:gt(V.Loading,n,o),Yd(s,n,o);break;case se.COMPLETE:gt(V.Complete,n,o);break;case se.FAILED:gt(V.Error,n,o);break;default:}}function ED(e,t,n){return e===0?Jd(t,n):e===2?!Jd(t,n):!0}function Jd(e,t){let n=e[pe],r=Fn(e[I],t),o=Bf(n),i=r.flags!==null&&(r.flags&1)===1,a=Ln(e,t)[ZE]!==null;return!(i&&a&&o)}function DD(e,t,n,r,o,i,s,a,c,l){let u=y(),d=O(),p=e+R,f=Kt(u,d,e,null,0,0),h=u[pe];if(d.firstCreatePass){Je("NgDefer");let Te={primaryTmplIndex:t,loadingTmplIndex:r??null,placeholderTmplIndex:o??null,errorTmplIndex:i??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:n??null,loadingState:se.NOT_STARTED,loadingPromise:null,providers:null,hydrateTriggers:null,debug:null,flags:l??0};c?.(d,Te,a,s),sD(d,p,Te)}let g=u[p];Qp(g,f,u);let v=null,m=null;if(g[ct]?.length>0){let Te=g[ct][0].data;m=Te[Oc]??null,v=Te[Ac]}let P=[null,Mi.Initial,null,null,null,null,m,v,null,null];iD(u,p,P);let Ke=null;m!==null&&(Ke=h.get(Vf),Ke.add(m,{lView:u,tNode:f,lContainer:g}));let It=()=>{ch(P),m!==null&&Ke?.cleanup([m])};KE(0,P,()=>ca(u,It)),zo(u,It)}function wD(e){let t=y(),n=hr();if(!ED(0,t,n))return;let r=Pe();if(ne(t,r,e)){let o=E(null);try{let i=!!e,a=Ln(t,n)[Ur];i===!1&&a===Mi.Initial?hD(t,n):i===!0&&(a===Mi.Initial||a===V.Placeholder)&&ID(0,t,n)}finally{E(o)}}}function wh(e,t,n,r){let o=y(),i=Pe();if(ne(o,i,t)){let s=O(),a=hr();zv(a,o,e,t,n,r)}return wh}var gc=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 Ra(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function CD(e,t,n){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(t)){let c=t.length-1;for(;i<=s&&i<=c;){let l=e.at(i),u=t[i],d=Ra(i,l,i,u,n);if(d!==0){d<0&&e.updateValue(i,u),i++;continue}let p=e.at(s),f=t[c],h=Ra(s,p,c,f,n);if(h!==0){h<0&&e.updateValue(s,f),s--,c--;continue}let g=n(i,l),v=n(s,p),m=n(i,u);if(Object.is(m,v)){let P=n(c,f);Object.is(P,g)?(e.swap(i,s),e.updateValue(s,f),c--,s--):e.move(s,i),e.updateValue(i,u),i++;continue}if(r??=new xi,o??=Xd(e,i,s,n),mc(e,r,i,m))e.updateValue(i,u),i++,s++;else if(o.has(m))r.set(g,e.detach(i)),s--;else{let P=e.create(i,t[i]);e.attach(i,P),i++,s++}}for(;i<=c;)Kd(e,r,n,i,t[i]),i++}else if(t!=null){let c=t[Symbol.iterator](),l=c.next();for(;!l.done&&i<=s;){let u=e.at(i),d=l.value,p=Ra(i,u,i,d,n);if(p!==0)p<0&&e.updateValue(i,d),i++,l=c.next();else{r??=new xi,o??=Xd(e,i,s,n);let f=n(i,d);if(mc(e,r,i,f))e.updateValue(i,d),i++,s++,l=c.next();else if(!o.has(f))e.attach(i,e.create(i,d)),i++,s++,l=c.next();else{let h=n(i,u);r.set(h,e.detach(i)),s--}}}for(;!l.done;)Kd(e,r,n,e.length,l.value),l=c.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(c=>{e.destroy(c)})}function mc(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Kd(e,t,n,r,o){if(mc(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Xd(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 xi=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 bD(e,t,n,r,o,i,s,a){Je("NgControlFlow");let c=y(),l=O(),u=ge(l.consts,i);return Kt(c,l,e,t,n,r,o,u,256,s,a),ml}function ml(e,t,n,r,o,i,s,a){Je("NgControlFlow");let c=y(),l=O(),u=ge(l.consts,i);return Kt(c,l,e,t,n,r,o,u,512,s,a),ml}function TD(e,t){Je("NgControlFlow");let n=y(),r=Pe(),o=n[r]!==z?n[r]:-1,i=o!==-1?Si(n,R+o):void 0,s=0;if(ne(n,r,e)){let a=E(null);try{if(i!==void 0&&el(i,s),e!==-1){let c=R+e,l=Si(n,c),u=Ec(n[I],c),d=Fp(l,u,n),p=An(n,u,t,{dehydratedView:d});kn(l,p,s,Jt(u,d))}}finally{E(a)}}else if(i!==void 0){let a=Sp(i,s);a!==void 0&&(a[j]=t)}}var yc=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-W}};function _D(e){return e}var vc=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function MD(e,t,n,r,o,i,s,a,c,l,u,d,p){Je("NgControlFlow");let f=y(),h=O(),g=c!==void 0,v=y(),m=a?s.bind(v[X][j]):s,P=new vc(g,m);v[R+e]=P,Kt(f,h,e+1,t,n,r,o,ge(h.consts,i),256),g&&Kt(f,h,e+2,c,l,u,d,ge(h.consts,p),512)}var Ic=class extends gc{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-W}at(t){return this.getLView(t)[j].$implicit}attach(t,n){let r=n[jt];this.needsIndexUpdate||=t!==this.length,kn(this.lContainer,n,t,Jt(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,xD(this.lContainer,t)}create(t,n){let r=wi(this.lContainer,this.templateTNode.tView.ssrId),o=An(this.hostLView,this.templateTNode,new yc(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){Bi(t[I],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[j].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[j].$index=t}getLView(t){return SD(this.lContainer,t)}};function ND(e){let t=E(null),n=ye();try{let r=y(),o=r[I],i=r[n],s=n+1,a=Si(r,s);if(i.liveCollection===void 0){let l=Ec(o,s);i.liveCollection=new Ic(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(CD(c,e,i.trackByFn),c.updateIndexes(),i.hasEmptyBlock){let l=Pe(),u=c.length===0;if(ne(r,l,u)){let d=n+2,p=Si(r,d);if(u){let f=Ec(o,d),h=Fp(p,f,r),g=An(r,f,void 0,{dehydratedView:h});kn(p,g,0,Jt(f,h))}else o.firstUpdatePass&&VI(p),el(p,0)}}}finally{E(t)}}function Si(e,t){return e[t]}function xD(e,t){return Mr(e,t)}function SD(e,t){return Sp(e,t)}function Ec(e,t){return Ut(e,t)}function Ch(e,t,n){let r=y(),o=Pe();if(ne(r,o,t)){let i=O(),s=hr();qc(s,r,e,t,r[S],n)}return Ch}function Dc(e,t,n,r,o){Qc(t,e,n,o?"class":"style",r)}function yl(e,t,n,r){let o=y(),i=O(),s=R+e,a=o[S],c=i.firstCreatePass?Bp(s,i,o,t,Wc,Qo(),n,r):i.data[s],l=RD(i,o,c,a,t,e);o[s]=l;let u=ar(c);return me(c,!0),ap(a,l,c),!Hi(c)&&In()&&$i(i,o,l,c),(ed()===0||u)&&mt(l,o),td(),u&&(Vi(i,o,c),kc(i,c,o)),r!==null&&Uc(o,c),yl}function vl(){let e=G();Zo()?Yo():(e=e.parent,me(e,!1));let t=e;rd(t)&&od(),nd();let n=O();return n.firstCreatePass&&$p(n,t),t.classesWithoutHost!=null&&my(t)&&Dc(n,t,y(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&yy(t)&&Dc(n,t,y(),t.stylesWithoutHost,!1),vl}function bh(e,t,n,r){return yl(e,t,n,r),vl(),bh}var RD=(e,t,n,r,o,i)=>(En(!0),jc(r,o,vd()));function OD(e,t,n,r,o){let i=t.consts,s=ge(i,r),a=Pn(t,e,8,"ng-container",s);s!==null&&sc(a,s,!0);let c=ge(i,o);return Qo()&&nl(t,n,a,c,Wc),a.mergedAttrs=Tn(a.mergedAttrs,a.attrs),t.queries!==null&&t.queries.elementStart(t,a),a}function Il(e,t,n){let r=y(),o=O(),i=e+R,s=o.firstCreatePass?OD(i,o,r,t,n):o.data[i];me(s,!0);let a=AD(o,r,s,e);return r[i]=a,In()&&$i(o,r,a,s),mt(a,r),ar(s)&&(Vi(o,r,s),kc(o,s,r)),n!=null&&Uc(r,s),Il}function El(){let e=G(),t=O();return Zo()?Yo():(e=e.parent,me(e,!1)),t.firstCreatePass&&(xc(t,e),qo(e)&&t.queries.elementEnd(e)),El}function Th(e,t,n){return Il(e,t,n),El(),Th}var AD=(e,t,n,r)=>(En(!0),ip(t[S],""));function kD(){return y()}var zt=void 0;function PD(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var LD=["en",[["a","p"],["AM","PM"],zt],[["AM","PM"],zt,zt],[["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"]],zt,[["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"]],zt,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",zt,"{1} 'at' {0}",zt],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",PD],wr={};function FD(e,t,n){typeof t!="string"&&(n=t,t=e[Nn.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),wr[t]=e,n&&(wr[t][Nn.ExtraData]=n)}function Dl(e){let t=VD(e),n=ef(t);if(n)return n;let r=t.split("-")[0];if(n=ef(r),n)return n;if(r==="en")return LD;throw new w(701,!1)}function jD(e){return Dl(e)[Nn.CurrencyCode]||null}function _h(e){return Dl(e)[Nn.PluralCase]}function ef(e){return e in wr||(wr[e]=Se.ng&&Se.ng.common&&Se.ng.common.locales&&Se.ng.common.locales[e]),wr[e]}var Nn=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}(Nn||{});function VD(e){return e.toLowerCase().replace(/_/g,"-")}var HD=["zero","one","two","few","many"];function BD(e,t){let n=_h(t)(parseInt(e,10)),r=HD[n];return r!==void 0?r:"other"}var Wr="en-US",$D="USD",Mh={marker:"element"},Nh={marker:"ICU"},ze=function(e){return e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT",e}(ze||{}),xh=Wr;function Sh(e){typeof e=="string"&&(xh=e.toLowerCase().replace(/_/g,"-"))}function UD(){return xh}var kr=0,Cr=0;function qD(e){e&&(kr=kr|1<<Math.min(Cr,31)),Cr++}function WD(e,t,n){if(Cr>0){let r=e.data[n],o=Array.isArray(r)?r:r.update,i=Jo()-Cr-1;Oh(e,t,o,i,kr)}kr=0,Cr=0}function GD(e,t,n){let r=e[S];switch(n){case Node.COMMENT_NODE:return ip(r,t);case Node.TEXT_NODE:return rp(r,t);case Node.ELEMENT_NODE:return jc(r,t,null)}}var pi=(e,t,n,r)=>(En(!0),GD(e,n,r));function zD(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&ze.COMMENT)===ze.COMMENT,l=(s&ze.APPEND_EAGERLY)===ze.APPEND_EAGERLY,u=s>>>ze.SHIFT,d=e[u],p=!1;d===null&&(d=e[u]=pi(e,u,a,c?Node.COMMENT_NODE:Node.TEXT_NODE),p=In()),l&&n!==null&&p&&Yt(o,n,d,r,!1)}}function Rh(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]=pi(n,l,c,Node.TEXT_NODE))}else if(typeof c=="number")switch(c&1){case 0:let l=SI(c);i===null&&(i=l,s=o.parentNode(r));let u,d;if(l===i?(u=r,d=s):(u=null,d=ie(n[l])),d!==null){let g=RI(c),v=n[g];Yt(o,d,v,u,!1);let m=Er(e,g);if(m!==null&&typeof m=="object"){let P=Gi(m,n);P!==null&&Rh(e,m.create[P],n,n[m.anchorIdx])}}break;case 1:let p=c>>>1,f=t[++a],h=t[++a];Gc(o,cr(p,n),null,null,f,h,null);break;default:}else switch(c){case Nh:let l=t[++a],u=t[++a];if(n[u]===null){let f=n[u]=pi(n,u,l,Node.COMMENT_NODE);mt(f,n)}break;case Mh:let d=t[++a],p=t[++a];if(n[p]===null){let f=n[p]=pi(n,p,d,Node.ELEMENT_NODE);mt(f,n)}break;default:}}}function Oh(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+=le(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"?Gc(t[S],t[d],null,h,p,c,f):qc(h,t,p,c,t[S],f);break;case 0:let g=t[d];g!==null&&op(t[S],g,c);break;case 2:QD(e,Er(e,d),t,c);break;case 3:tf(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&&tf(e,u,r,t)}}i+=a}}function tf(e,t,n,r){let o=r[t.currentCaseLViewIndex];if(o!==null){let i=kr;o<0&&(o=r[t.currentCaseLViewIndex]=~o,i=-1),Oh(e,r,t.update[o],n,i)}}function QD(e,t,n,r){let o=ZD(t,r);if(Gi(t,n)!==o&&(Ah(e,t,n),n[t.currentCaseLViewIndex]=o===null?null:~o,o!==null)){let s=n[t.anchorIdx];s&&Rh(e,t.create[o],n,s),jI(n,t.anchorIdx,o)}}function Ah(e,t,n){let r=Gi(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&&Vc(n[S],a)}else Ah(e,Er(e,~s),n)}}}function ZD(e,t){let n=e.cases.indexOf(t);if(n===-1)switch(e.type){case 1:{let r=BD(t,UD());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 Ri=/�(\d+):?\d*�/gi;var YD=/�(\d+)�/,kh=/^\s*(�\d+:?\d*�)\s*,\s*(select|plural)\s*,/,br="\uFFFD",JD=/�\/?\*(\d+:\d+)�/gi,KD=/�(\/?[#*]\d+):?\d*�/gi,XD=/\uE500/g;function ew(e){return e.replace(XD," ")}function tw(e,t,n,r,o,i){let s=yn(),a=[],c=[],l=[[]],u=[[]];o=rw(o,i);let d=ew(o).split(KD);for(let p=0;p<d.length;p++){let f=d[p];if((p&1)===0){let h=wc(f);for(let g=0;g<h.length;g++){let v=h[g];if((g&1)===0){let m=v;m!==""&&nw(u[0],e,s,l[0],a,c,n,m)}else{let m=v;if(typeof m!="object")throw new Error(`Unable to parse ICU expression in "${o}" message.`);let Ke=Ph(e,s,l[0],n,a,"",!0).index;Fh(u[0],e,n,c,t,m,Ke)}}}else{let h=f.charCodeAt(0)===47,g=f.charCodeAt(h?1:0),v=R+Number.parseInt(f.substring(h?2:1));if(h)l.shift(),u.shift(),me(yn(),!1);else{let m=xI(e,l[0],v);l.unshift([]),me(m,!0);let P={kind:2,index:v,children:[],type:g===35?0:1};u[0].push(P),u.unshift(P.children)}}}e.data[r]={create:a,update:c,ast:u[0],parentTNodeIndex:t}}function Ph(e,t,n,r,o,i,s){let a=Vr(e,r,1,null),c=a<<ze.SHIFT,l=yn();t===l&&(l=null),l===null&&(c|=ze.APPEND_EAGERLY),s&&(c|=ze.COMMENT,Xv(kI)),o.push(c,i===null?"":i);let u=tl(e,a,s?32:1,i===null?"":i,null);kp(n,u);let d=u.index;return me(u,!1),l!==null&&t!==l&&NI(l,d),u}function nw(e,t,n,r,o,i,s,a){let c=a.match(Ri),u=Ph(t,n,r,s,o,c?null:a,!1).index;c&&hi(i,a,u,null,0,null),e.push({kind:0,index:u})}function hi(e,t,n,r,o,i){let s=e.length,a=s+1;e.push(null,null);let c=s+2,l=t.split(Ri),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|Lh(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 Lh(e){return 1<<Math.min(e,31)}function nf(e){let t,n="",r=0,o=!1,i;for(;(t=JD.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 rw(e,t){if(AI(t))return nf(e);{let n=e.indexOf(`:${t}${br}`)+2+t.toString().length,r=e.search(new RegExp(`${br}\\/\\*\\d+:${t}${br}`));return nf(e.substring(n,r))}}function Fh(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:[]};aw(r,i,s),MI(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 v=p[g];if(typeof v!="string"){let m=f.push(v)-1;p[g]=`<!--\uFFFD${m}\uFFFD-->`}}let h=[];u.push(h),a=iw(h,t,c,n,r,o,i.cases[d],p.join(""),f)|a}a&&cw(r,a,s),e.push({kind:3,index:s,cases:u,currentCaseLViewIndex:c.currentCaseLViewIndex})}function ow(e){let t=[],n=[],r=1,o=0;e=e.replace(kh,function(s,a,c){return c==="select"?r=0:r=1,o=parseInt(a.slice(1),10),""});let i=wc(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=wc(i[s++]);t.length>n.length&&n.push(c)}return{type:r,mainBinding:o,cases:t,values:n}}function wc(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);kh.test(c)?r.push(ow(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 iw(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=Wf(ki()).getInertBodyElement(a),h=Ka(f)||f;return h?jh(e,t,n,r,o,l,u,d,h,i,c,0):0}function jh(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,v=g.tagName.toLowerCase();if(Ya.hasOwnProperty(v)){Oa(i,Mh,v,l,h),t.data[h]=v;let It=g.attributes;for(let ns=0;ns<It.length;ns++){let Et=It.item(ns),$l=Et.name.toLowerCase();!!Et.value.match(Ri)?Zf.hasOwnProperty($l)&&(Pc[$l]?hi(a,Et.value,h,Et.name,0,Fi):hi(a,Et.value,h,Et.name,0,null)):lw(i,h,Et)}let Te={kind:1,index:h,children:[]};e.push(Te),p=jh(Te.children,t,n,r,o,i,s,a,f,h,u,d+1)|p,rf(s,h,d)}break;case Node.TEXT_NODE:let m=f.textContent||"",P=m.match(Ri);Oa(i,null,P?"":m,l,h),rf(s,h,d),P&&(p=hi(a,m,h,null,0,null)|p),e.push({kind:0,index:h});break;case Node.COMMENT_NODE:let Ke=YD.exec(f.textContent||"");if(Ke){let It=parseInt(Ke[1],10),Te=u[It];Oa(i,Nh,"",l,h),Fh(e,t,r,o,l,Te,h),sw(s,h,d)}break}f=f.nextSibling}return p}function rf(e,t,n){n===0&&e.push(t)}function sw(e,t,n){n===0&&(e.push(~t),e.push(t))}function aw(e,t,n){e.push(Lh(t.mainBinding),2,-1-t.mainBinding,n<<2|2)}function cw(e,t,n){e.push(t,1,n<<2|3)}function Oa(e,t,n,r,o){t!==null&&e.push(t),e.push(n,o,OI(0,r,o))}function lw(e,t,n){e.push(t<<1|1,n.name,n.value)}var of=0,uw=/\[(�.+?�?)\]/,dw=/\[(�.+?�?)\]|(�\/?\*\d+:\d+�)/g,fw=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,pw=/{([A-Z0-9_]+)}/g,hw=/�I18N_EXP_(ICU(_\d+)?)�/g,gw=/\/\*/,mw=/\d+\:(\d+)/;function yw(e,t={}){let n=e;if(uw.test(e)){let r={},o=[of];n=n.replace(dw,(i,s,a)=>{let c=s||a,l=r[c]||[];if(l.length||(c.split("|").forEach(g=>{let v=g.match(mw),m=v?parseInt(v[1],10):of,P=gw.test(g);l.push([m,P,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(fw,(r,o,i,s,a,c)=>t.hasOwnProperty(i)?`${o}${t[i]}${c}`:r),n=n.replace(pw,(r,o)=>t.hasOwnProperty(o)?t[o]:r),n=n.replace(hw,(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 Vh(e,t,n=-1){let r=O(),o=y(),i=R+e,s=ge(r.consts,t),a=yn();if(r.firstCreatePass&&tw(r,a===null?0:a.index,o,i,s,n),r.type===2){let p=o[X];p[D]|=32}else o[D]|=32;let c=r.data[i],l=a===o[K]?null:a,u=pp(r,l,o),d=a&&a.type&8?o[a.index]:null;LI(o,i,a,n),zD(o,c.create,u,d),ma(!0)}function Hh(){ma(!1)}function vw(e,t,n){Vh(e,t,n),Hh()}function Bh(e){let t=y();return qD(ne(t,Pe(),e)),Bh}function Iw(e){WD(O(),y(),e+R)}function Ew(e,t={}){return yw(e,t)}function $h(e,t,n){let r=y(),o=O(),i=G();return Uh(o,r,r[S],i,e,t,n),$h}function Uh(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=_a(r,t,i),nE(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??=_a(r,t,i),jd(r,t,p,f,o,c)}if(l&&l.length)for(let d of l)c??=_a(r,t,i),jd(r,t,d,o,o,c)}}function Dw(e=1){return gd(e)}function ww(e,t){let n=null,r=Tv(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?np(e,i,!0):Nv(r,i))return o}return n}function Cw(e){let t=y()[X][K];if(!t.projection){let n=e?e.length:1,r=t.projection=Bu(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?ww(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function bw(e,t=0,n,r,o,i){let s=y(),a=O(),c=r?e+1:null;c!==null&&Kt(s,a,c,r,o,i,null,n);let l=Pn(a,R+e,16,null,n||null);l.projection===null&&(l.projection=t),Yo();let d=!s[jt]||da();s[X][K].projection[l.projection]===null&&c!==null?Tw(s,a,c):d&&!Hi(l)&&iI(a,s,l)}function Tw(e,t,n){let r=R+n,o=t.data[r],i=e[r],s=wi(i,o.tView.ssrId),a=An(e,o,void 0,{dehydratedView:s});kn(i,a,0,Jt(o,s))}function _w(e,t,n,r){Kp(e,t,n,r)}function Mw(e,t,n){Jp(e,t,n)}function Nw(e){let t=y(),n=O(),r=Xo();pr(r+1);let o=il(n,r);if(e.dirty&&Yu(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=eh(t,r);e.reset(i,Mf),e.notifyOnChanges()}return!0}return!1}function xw(){return ol(y(),Xo())}function Sw(e,t,n,r,o){nh(t,Kp(e,n,r,o))}function Rw(e,t,n,r){nh(e,Jp(t,n,r))}function Ow(e=1){pr(Xo()+e)}function Aw(e){let t=pa();return mn(t,R+e)}function ai(e,t){return e<<17|t<<2}function Xt(e){return e>>17&32767}function kw(e){return(e&2)==2}function Pw(e,t){return e&131071|t<<17}function Cc(e){return e|2}function xn(e){return(e&131068)>>2}function Aa(e,t){return e&-131069|t<<2}function Lw(e){return(e&1)===1}function bc(e){return e|1}function Fw(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Xt(s),c=xn(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||dn(d,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let p=Xt(e[a+1]);e[r+1]=ai(p,a),p!==0&&(e[p+1]=Aa(e[p+1],r)),e[a+1]=Pw(e[a+1],r)}else e[r+1]=ai(a,0),a!==0&&(e[a+1]=Aa(e[a+1],r)),a=r;else e[r+1]=ai(c,0),a===0?a=r:e[c+1]=Aa(e[c+1],r),c=r;l&&(e[r+1]=Cc(e[r+1])),sf(e,u,r,!0),sf(e,u,r,!1),jw(t,u,e,r,i),s=ai(a,c),i?t.classBindings=s:t.styleBindings=s}function jw(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&dn(i,t)>=0&&(n[r+1]=bc(n[r+1]))}function sf(e,t,n,r){let o=e[n+1],i=t===null,s=r?Xt(o):xn(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];Vw(c,t)&&(a=!0,e[s+1]=r?bc(l):Cc(l)),s=r?Xt(l):xn(l)}a&&(e[n+1]=r?Cc(o):bc(o))}function Vw(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?dn(e,t)>=0:!1}var q={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function qh(e){return e.substring(q.key,q.keyEnd)}function Hw(e){return e.substring(q.value,q.valueEnd)}function Bw(e){return zh(e),Wh(e,Sn(e,0,q.textEnd))}function Wh(e,t){let n=q.textEnd;return n===t?-1:(t=q.keyEnd=Uw(e,q.key=t,n),Sn(e,t,n))}function $w(e){return zh(e),Gh(e,Sn(e,0,q.textEnd))}function Gh(e,t){let n=q.textEnd,r=q.key=Sn(e,t,n);return n===r?-1:(r=q.keyEnd=qw(e,r,n),r=af(e,r,n,58),r=q.value=Sn(e,r,n),r=q.valueEnd=Ww(e,r,n),af(e,r,n,59))}function zh(e){q.key=0,q.keyEnd=0,q.value=0,q.valueEnd=0,q.textEnd=e.length}function Sn(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Uw(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function qw(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 af(e,t,n,r){return t=Sn(e,t,n),t<n&&t++,t}function Ww(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=cf(e,c,s,n):t===s-4&&i===85&&o===82&&r===76&&c===40?a=s=cf(e,41,s,n):c>32&&(a=s),i=o,o=r,r=c&-33}return a}function cf(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 Qh(e,t,n){return Yh(e,t,n,!1),Qh}function Zh(e,t){return Yh(e,t,null,!0),Zh}function Gw(e){Jh(eg,zw,e,!1)}function zw(e,t){for(let n=$w(t);n>=0;n=Gh(t,n))eg(e,qh(t),Hw(t))}function Qw(e){Jh(tC,Zw,e,!0)}function Zw(e,t){for(let n=Bw(t);n>=0;n=Wh(t,n))or(e,qh(t),!0)}function Yh(e,t,n,r){let o=y(),i=O(),s=fr(2);if(i.firstUpdatePass&&Xh(i,e,s,r),t!==z&&ne(o,s,t)){let a=i.data[ye()];tg(i,a,o,o[S],e,o[s+1]=rC(t,n),r,s)}}function Jh(e,t,n,r){let o=O(),i=fr(2);o.firstUpdatePass&&Xh(o,null,i,r);let s=y();if(n!==z&&ne(s,i,n)){let a=o.data[ye()];if(ng(a,r)&&!Kh(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=Ao(c,n||"")),Dc(o,a,s,n,r)}else nC(o,a,s,s[S],s[i+1],s[i+1]=eC(e,t,n),r,i)}}function Kh(e,t){return t>=e.expandoStartIndex}function Xh(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[ye()],s=Kh(e,n);ng(i,r)&&t===null&&!s&&(t=!1),t=Yw(o,i,t,r),Fw(o,i,t,n,s,r)}}function Yw(e,t,n,r){let o=dd(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=ka(null,e,t,n,r),n=Pr(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=ka(o,e,t,n,r),i===null){let c=Jw(e,t,r);c!==void 0&&Array.isArray(c)&&(c=ka(null,e,t,c[1],r),c=Pr(c,t.attrs,r),Kw(e,t,r,c))}else i=Xw(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function Jw(e,t,n){let r=n?t.classBindings:t.styleBindings;if(xn(r)!==0)return e[Xt(r)]}function Kw(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[Xt(o)]=r}function Xw(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Pr(r,s,n)}return Pr(r,t.attrs,n)}function ka(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=Pr(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Pr(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]),or(e,s,n?!0:t[++i]))}return e===void 0?null:e}function eC(e,t,n){if(n==null||n==="")return J;let r=[],o=en(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){or(e,t,en(n))}function tC(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&or(e,r,n)}function nC(e,t,n,r,o,i,s,a){o===z&&(o=J);let c=0,l=0,u=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;u!==null||d!==null;){let p=c<o.length?o[c+1]:void 0,f=l<i.length?i[l+1]:void 0,h=null,g;u===d?(c+=2,l+=2,p!==f&&(h=d,g=f)):d===null||u!==null&&u<d?(c+=2,h=u):(l+=2,h=d,g=f),h!==null&&tg(e,t,n,r,h,g,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function tg(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,l=c[a+1],u=Lw(l)?lf(c,t,n,o,xn(l),s):void 0;if(!Oi(u)){Oi(i)||kw(l)&&(i=lf(c,null,n,o,a,s));let d=cr(ye(),n);aI(r,s,d,o,i)}}function lf(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=u===null,p=n[o+1];p===z&&(p=d?J:void 0);let f=d?jo(p,r):u===r?p:void 0;if(l&&!Oi(f)&&(f=jo(c,r)),Oi(f)&&(a=f,s))return a;let h=e[o+1];o=s?Xt(h):xn(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=jo(c,r))}return a}function Oi(e){return e!==void 0}function rC(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=oe(en(e)))),e}function ng(e,t){return(e.flags&(t?8:16))!==0}function oC(e,t=""){let n=y(),r=O(),o=e+R,i=r.firstCreatePass?Pn(r,o,1,t,null):r.data[o],s=iC(r,n,i,t,e);n[o]=s,In()&&$i(r,n,s,i),me(i,!1)}var iC=(e,t,n,r,o)=>(En(!0),rp(t[S],r));function rg(e,t,n,r=""){return ne(e,Pe(),n)?t+le(n)+r:z}function og(e,t,n,r,o,i=""){let s=Jo(),a=Sr(e,s,n,o);return fr(2),a?t+le(n)+r+le(o)+i:z}function ig(e,t,n,r,o,i,s,a=""){let c=Jo(),l=qp(e,c,n,o,s);return fr(3),l?t+le(n)+r+le(o)+i+le(s)+a:z}function sg(e){return wl("",e),sg}function wl(e,t,n){let r=y(),o=rg(r,e,t,n);return o!==z&&Cl(r,ye(),o),wl}function ag(e,t,n,r,o){let i=y(),s=og(i,e,t,n,r,o);return s!==z&&Cl(i,ye(),s),ag}function cg(e,t,n,r,o,i,s){let a=y(),c=ig(a,e,t,n,r,o,i,s);return c!==z&&Cl(a,ye(),c),cg}function Cl(e,t,n){let r=cr(t,e);op(e[S],r,n)}function lg(e,t,n){Da(t)&&(t=t());let r=y(),o=Pe();if(ne(r,o,t)){let i=O(),s=hr();qc(s,r,e,t,r[S],n)}return lg}function sC(e,t){let n=Da(e);return n&&e.set(t),n}function ug(e,t){let n=y(),r=O(),o=G();return Uh(r,n,n[S],o,e,t),ug}var dg={};function fg(e){let t=O(),n=y(),r=e+R,o=Pn(t,r,128,null,null);return me(o,!1),lr(t,n,r,dg),fg}function aC(e){Je("NgLet");let t=O(),n=y(),r=ye();return lr(t,n,r,e),e}function cC(e){let t=pa(),n=mn(t,R+e);if(n===dg)throw new w(314,!1);return n}function lC(e){return ne(y(),Pe(),e)?le(e):z}function uC(e,t,n=""){return rg(y(),e,t,n)}function dC(e,t,n,r,o=""){return og(y(),e,t,n,r,o)}function fC(e,t,n,r,o,i,s=""){return ig(y(),e,t,n,r,o,i,s)}function pC(e,t,n){let r=O();if(r.firstCreatePass){let o=ke(e);Tc(n,r.data,r.blueprint,o,!0),Tc(t,r.data,r.blueprint,o,!1)}}function Tc(e,t,n,r,o){if(e=Y(e),Array.isArray(e))for(let i=0;i<e.length;i++)Tc(e[i],t,n,r,o);else{let i=O(),s=y(),a=G(),c=kt(e)?e:Y(e.provide),l=ta(e),u=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(kt(e)||!e.multi){let f=new Zt(l,o,Br),h=La(c,t,o?u:u+p,d);h===-1?(ja(Ii(a,s),i,c),Pa(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=La(c,t,u+p,d),h=La(c,t,u,u+p),g=f>=0&&n[f],v=h>=0&&n[h];if(o&&!v||!o&&!g){ja(Ii(a,s),i,c);let m=mC(o?gC:hC,n.length,o,r,l);!o&&v&&(n[h].providerFactory=m),Pa(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(m),s.push(m)}else{let m=pg(n[o?h:f],l,!o&&r);Pa(i,e,f>-1?f:h,m)}!o&&r&&v&&n[h].componentProviders++}}}function Pa(e,t,n,r){let o=kt(t),i=Gu(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 pg(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function La(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function hC(e,t,n,r){return _c(this.multi,[])}function gC(e,t,n,r){let o=this.multi,i;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=Tr(n,n[I],this.providerFactory.index,r);i=a.slice(0,s),_c(o,i);for(let c=s;c<a.length;c++)i.push(a[c])}else i=[],_c(o,i);return i}function _c(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function mC(e,t,n,r,o){let i=new Zt(e,n,Br);return i.multi=[],i.index=t,i.componentProviders=0,pg(i,o,r&&!n),i}function yC(e,t=[]){return n=>{n.providersResolver=(r,o)=>pC(r,o?o(e):e,t)}}function vC(e,t,n){let r=dt()+e,o=y();return o[r]===z?$r(o,r,n?t.call(n):t()):eE(o,r)}function IC(e,t,n,r){return hg(y(),dt(),e,t,n,r)}function EC(e,t,n,r,o){return gg(y(),dt(),e,t,n,r,o)}function DC(e,t,n,r,o,i,s){return CC(y(),dt(),e,t,n,r,o,i,s)}function Ji(e,t){let n=e[t];return n===z?void 0:n}function hg(e,t,n,r,o,i){let s=t+n;return ne(e,s,o)?$r(e,s+1,i?r.call(i,o):r(o)):Ji(e,s+1)}function gg(e,t,n,r,o,i,s){let a=t+n;return Sr(e,a,o,i)?$r(e,a+2,s?r.call(s,o,i):r(o,i)):Ji(e,a+2)}function wC(e,t,n,r,o,i,s,a){let c=t+n;return qp(e,c,o,i,s)?$r(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):Ji(e,c+3)}function CC(e,t,n,r,o,i,s,a,c){let l=t+n;return tE(e,l,o,i,s,a)?$r(e,l+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):Ji(e,l+4)}function bC(e,t){let n=O(),r,o=e+R;n.firstCreatePass?(r=TC(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=ot(r.type,!0)),s,a=te(Br);try{let c=vi(!1),l=i();return vi(c),lr(n,y(),o,l),l}finally{te(a)}}function TC(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function _C(e,t,n){let r=e+R,o=y(),i=mn(o,r);return bl(o,r)?hg(o,dt(),t,i.transform,n,i):i.transform(n)}function MC(e,t,n,r){let o=e+R,i=y(),s=mn(i,o);return bl(i,o)?gg(i,dt(),t,s.transform,n,r,s):s.transform(n,r)}function NC(e,t,n,r,o){let i=e+R,s=y(),a=mn(s,i);return bl(s,i)?wC(s,dt(),t,a.transform,n,r,o,a):a.transform(n,r,o)}function bl(e,t){return e[I].data[t].pure}function xC(e,t){return Wi(e,t)}var Ai=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},SC=(()=>{class e{compileModuleSync(n){return new _i(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=Ys(n),i=ep(o.declarations).reduce((s,a)=>{let c=Ee(a);return c&&s.push(new vt(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=$({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var RC=(()=>{class e{zone=T(ae);changeDetectionScheduler=T(Ie);applicationRef=T(qr);applicationErrorHandler=T(Ge);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(n){this.applicationErrorHandler(n)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function mg({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new ae(Z(Q({},yg()),{scheduleInRootZone:n})),[{provide:ae,useFactory:e},{provide:Ft,multi:!0,useFactory:()=>{let r=T(RC,{optional:!0});return()=>r.initialize()}},{provide:Ft,multi:!0,useFactory:()=>{let r=T(OC);return()=>{r.initialize()}}},t===!0?{provide:wa,useValue:!0}:[],{provide:ni,useValue:n??uh},{provide:Ge,useFactory:()=>{let r=T(ae),o=T(ce),i;return s=>{i??=o.get(qe),r.runOutsideAngular(()=>i.handleError(s))}}}]}function yg(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var OC=(()=>{class e{subscription=new H;initialized=!1;zone=T(ae);pendingTasks=T(Wt);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{ae.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{ae.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Tl=(()=>{class e{applicationErrorHandler=T(Ge);appRef=T(qr);taskService=T(Wt);ngZone=T(ae);zonelessEnabled=T(gr);tracing=T(dl,{optional:!0});disableScheduling=T(wa,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new H;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Ni):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(T(ni,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Ar||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;let r=!1;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{this.appRef.dirtyFlags|=16,r=!0;break}case 13:{this.appRef.dirtyFlags|=2,r=!0;break}case 11:{r=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?qd:dh;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Ni+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.taskService.remove(n),this.applicationErrorHandler(r)}finally{this.cleanup()}this.useMicrotaskScheduler=!0,qd(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function AC(){return Je("NgZoneless"),Ks([{provide:Ie,useExisting:Tl},{provide:ae,useClass:Ar},{provide:gr,useValue:!0},{provide:ni,useValue:!1},[]])}function kC(){return typeof $localize<"u"&&$localize.locale||Wr}var _l=new x("",{providedIn:"root",factory:()=>T(_l,{optional:!0,skipSelf:!0})||kC()}),PC=new x("",{providedIn:"root",factory:()=>$D});var Gr=class{destroyed=!1;listeners=null;errorHandler=T(qe,{optional:!0});destroyRef=T(pt);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new w(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?.indexOf(t);n!==void 0&&n!==-1&&this.listeners?.splice(n,1)}}}emit(t){if(this.destroyed){console.warn(tr(953,!1));return}if(this.listeners===null)return;let n=E(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{E(n)}}};function Fe(e){return Su(e)}function jn(e,t){return $n(e,t?.equal)}var Ml=class{[F];constructor(t){this[F]=t}destroy(){this[F].destroy()}};function Eg(e,t){let n=t?.injector??T(xe),r=t?.manualCleanup!==!0?n.get(pt):null,o,i=n.get(mr,null,{optional:!0}),s=n.get(Ie);return i!==null?(o=jC(i.view,s,e),r instanceof er&&r._lView===i.view&&(r=null)):o=VC(e,n.get(vr),s),o.injector=n,r!==null&&(o.onDestroyFn=r.onDestroy(()=>o.destroy())),new Ml(o)}var Dg=Z(Q({},_e),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:Gt,run(){if(this.dirty=!1,this.hasRun&&!Ct(this))return;this.hasRun=!0;let e=r=>(this.cleanupFns??=[]).push(r),t=Me(this),n=vn(!1);try{this.maybeCleanup(),this.fn(e)}finally{vn(n),Ve(this,t)}},maybeCleanup(){if(!this.cleanupFns?.length)return;let e=E(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],E(e)}}}),LC=Z(Q({},Dg),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){bt(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),FC=Z(Q({},Dg),{consumerMarkedDirty(){this.view[D]|=8192,qt(this.view),this.notifier.notify(13)},destroy(){bt(this),this.onDestroyFn(),this.maybeCleanup(),this.view[We]?.delete(this)}});function jC(e,t,n){let r=Object.create(FC);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=n,e[We]??=new Set,e[We].add(r),r.consumerMarkedDirty(r),r}function VC(e,t,n){let r=Object.create(LC);return r.fn=e,r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}var HC=e=>e;function Nl(e,t){if(typeof e=="function"){let n=Cs(e,HC,t?.equal);return vg(n)}else{let n=Cs(e.source,e.computation,e.equal);return vg(n)}}function vg(e){let t=e[F],n=e;return n.set=r=>Nu(t,r),n.update=r=>xu(t,r),n.asReadonly=Dn.bind(e),n}var wg=!0;function BC(e){let t=e.request,n=e.params??t??(()=>null);return new Ki(n,UC(e),e.defaultValue,e.equal?$C(e.equal):void 0,e.injector??T(xe),wg)}var xl=class{value;constructor(t){this.value=t,this.value.set=this.set.bind(this),this.value.update=this.update.bind(this),this.value.asReadonly=Dn}isError=jn(()=>this.status()==="error");update(t){this.set(t(Fe(this.value)))}isLoading=jn(()=>this.status()==="loading"||this.status()==="reloading");hasValue(){return this.isError()?!1:this.value()!==void 0}asReadonly(){return this}},Ki=class extends xl{loaderFn;equal;pendingTasks;state;extRequest;effectRef;pendingController;resolvePendingTask=void 0;destroyed=!1;constructor(t,n,r,o,i,s=wg){super(jn(()=>{let a=this.state().stream?.();if(!a||this.state().status==="loading"&&this.error())return r;if(!Sl(a)){if(s)throw new Rl(this.error());return r}return a.value},{equal:o})),this.loaderFn=n,this.equal=o,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:Ig(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=Eg(this.loadEffect.bind(this),{injector:i,manualCleanup:!0}),this.pendingTasks=i.get(yr),i.get(pt).onDestroy(()=>this.destroy())}status=jn(()=>Ig(this.state()));error=jn(()=>{let t=this.state().stream?.();return t&&!Sl(t)?t.error:void 0});set(t){if(this.destroyed)return;let n=Fe(this.value),r=Fe(this.state);r.status==="local"&&(this.equal?this.equal(n,t):n===t)||(this.state.set({extRequest:r.extRequest,status:"local",previousStatus:"local",stream:ht({value:t})}),this.abortInProgressLoad())}reload(){let{status:t}=Fe(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.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}=Fe(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 Fe(()=>this.loaderFn({params:t.request,request:t.request,abortSignal:i,previous:{status:r}}));if(i.aborted||Fe(this.extRequest)!==t)return;this.state.set({extRequest:t,status:"resolved",previousStatus:"resolved",stream:s})}catch(s){if(i.aborted||Fe(this.extRequest)!==t)return;this.state.set({extRequest:t,status:"resolved",previousStatus:"error",stream:ht({error:Al(s)})})}finally{o?.(),o=void 0}}abortInProgressLoad(){Fe(()=>this.pendingController?.abort()),this.pendingController=void 0,this.resolvePendingTask?.(),this.resolvePendingTask=void 0}};function $C(e){return(t,n)=>t===void 0||n===void 0?t===n:e(t,n)}function UC(e){return qC(e)?e.stream:async t=>{try{return ht({value:await e.loader(t)})}catch(n){return ht({error:Al(n)})}}}function qC(e){return!!e.stream}function Ig(e){switch(e.status){case"loading":return e.extRequest.reload===0?"loading":"reloading";case"resolved":return Sl(e.stream())?"resolved":"error";default:return e.status}}function Sl(e){return e.error===void 0}function Al(e){return e instanceof Error?e:new Ol(e)}var Rl=class extends Error{constructor(t){super(t.message,{cause:t})}},Ol=class extends Error{constructor(t){super(String(t),{cause:t})}};var ts=Symbol("InputSignalNode#UNSET"),Ag=Z(Q({},Kr),{transformFn:void 0,applyValueToInputSignal(e,t){He(e,t)}});function kg(e,t){let n=Object.create(Ag);n.value=e,n.transformFn=t?.transform;function r(){if(et(n),n.value===ts){let o=null;throw new w(-950,o)}return n.value}return r[F]=n,r}var Cg=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>_f(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},GC=new x("");GC.__NG_ELEMENT_ID__=e=>{let t=G();if(t===null)throw new w(204,!1);if(t.type&2)return t.value;if(e&8)return null;throw new w(204,!1)};function TF(e){return new Gr}function bg(e,t){return kg(e,t)}function zC(e){return kg(ts,e)}var _F=(bg.required=zC,bg);function Tg(e,t){return sl(t)}function QC(e,t){return al(t)}var MF=(Tg.required=QC,Tg);function _g(e,t){return sl(t)}function ZC(e,t){return al(t)}var NF=(_g.required=ZC,_g);function Pg(e,t){let n=Object.create(Ag),r=new Gr;n.value=e;function o(){return et(n),Mg(n.value),n.value}return o[F]=n,o.asReadonly=Dn.bind(o),o.set=i=>{n.equal(n.value,i)||(He(n,i),r.emit(i))},o.update=i=>{Mg(n.value),o.set(i(n.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function Mg(e){if(e===ts)throw new w(952,!1)}function Ng(e,t){return Pg(e,t)}function YC(e){return Pg(ts,e)}var xF=(Ng.required=YC,Ng);var xg=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 kl=new x(""),JC=new x("");function zr(e){return!e.moduleRef}function KC(e){let t=zr(e)?e.r3Injector:e.moduleRef.injector,n=t.get(ae);return n.run(()=>{zr(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Ge),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),zr(e)){let i=()=>t.destroy(),s=e.platformInjector.get(kl);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(kl);s.add(i),e.moduleRef.onDestroy(()=>{Dr(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return eb(r,n,()=>{let i=t.get(gl);return i.runInitializers(),i.donePromise.then(()=>{let s=t.get(_l,Wr);if(Sh(s||Wr),!t.get(JC,!0))return zr(e)?t.get(qr):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(zr(e)){let c=t.get(qr);return e.rootComponent!==void 0&&c.bootstrap(e.rootComponent),c}else return XC?.(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}var XC;function eb(e,t,n){try{let r=n();return hl(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var Xi=null;function tb(e=[],t){return xe.create({name:t,providers:[{provide:ea,useValue:"platform"},{provide:kl,useValue:new Set([()=>Xi=null])},...e]})}function nb(e=[]){if(Xi)return Xi;let t=tb(e);return Xi=t,Ih(),rb(t),t}function rb(e){let t=e.get(Af,null);Bo(e,()=>{t?.forEach(n=>n())})}var SF=(()=>{class e{static __NG_ELEMENT_ID__=ob}return e})();function ob(e){return ib(G(),y(),(e&16)===16)}function ib(e,t,n){if(ut(e)&&!n){let r=he(e.index,t);return new yt(r,r)}else if(e.type&175){let r=t[X];return new yt(r,t)}return null}var Pl=class{constructor(){}supports(t){return rl(t)}create(t){return new Ll(t)}},sb=(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||sb}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<Sg(r,o,i)?n:r,a=Sg(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=[]),!rl(t))throw new w(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._itHead,r=!1,o,i,s;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[a],s=this._trackByFn(a,i),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,i,s,a),r=!0):(r&&(n=this._verifyReinsertion(n,i,s,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)),n=n._next}else o=0,Up(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 es),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 es),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}},es=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 Sg(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||Qi(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||Qi(t)))throw new w(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){let r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){let o=this._records.get(t);this._maybeAddToChanges(o,n);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new 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 Rg(){return new ab([new Pl])}var ab=(()=>{class e{factories;static \u0275prov=$({token:e,providedIn:"root",factory:Rg});constructor(n){this.factories=n}static create(n,r){if(r!=null){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Rg()),deps:[[e,new Nc,new Mc]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new w(901,!1)}}return e})();function Og(){return new cb([new Vl])}var cb=(()=>{class e{static \u0275prov=$({token:e,providedIn:"root",factory:Og});factories;constructor(n){this.factories=n}static create(n,r){if(r){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Og()),deps:[[e,new Nc,new Mc]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new w(901,!1)}}return e})();function RF(e){A(8);try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=nb(r),i=[mg({}),{provide:Ie,useExisting:Tl},Ed,...n||[]],s=new Or({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1});return KC({r3Injector:s.injector,platformInjector:o,rootComponent:t})}catch(t){return Promise.reject(t)}finally{A(9)}}function OF(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function AF(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function kF(e,t){let n=Ee(e),r=t.elementInjector||fn();return new vt(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings)}function PF(e){let t=Ee(e);if(!t)return null;let n=new vt(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{F as a,He as b,Un as c,H as d,qg as e,N as f,ys as g,vs as h,de as i,Wn as j,zn as k,xt as l,nt as m,em as n,nm as o,rm as p,St as q,rt as r,dm as s,Rt as t,Is as u,To as v,pm as w,hm as x,Es as y,Zn as z,mm as A,ms as B,ym as C,Yn as D,vo as E,mu as F,Im as G,Ds as H,Em as I,Dm as J,wm as K,Cm as L,bm as M,yu as N,vu as O,Mu as P,w as Q,ko as R,$ as S,Lu as T,xm as U,x as V,Ne as W,T as X,Ks as Y,ea as Z,ce as _,Bo as $,zu as aa,id as ba,sd as ca,md as da,yd as ea,xe as fa,Xm as ga,pt as ha,qe as ia,Ge as ja,Ea as ka,ht as la,Wt as ma,yr as na,uy as oa,Ny as pa,_f as qa,Lr as ra,Py as sa,Ly as ta,Af as ua,jy as va,Vy as wa,kf as xa,Hy as ya,_n as za,en as Aa,Li as Ba,zy as Ca,Qy as Da,Zy as Ea,Yy as Fa,Jy as Ga,Fi as Ha,Jf as Ia,jr as Ja,fv as Ka,Kf as La,hv as Ma,Iv as Na,Fv as Oa,Di as Pa,Nr as Qa,xr as Ra,UI as Sa,Br as Ta,Zi as Ua,Je as Va,Mn as Wa,rh as Xa,TE as Ya,cl as Za,ME as _a,SE as $a,AE as ab,kE as bb,sh as cb,ah as db,dl as eb,Qe as fb,ae as gb,mD as hb,hl as ib,mh as jb,vh as kb,qr as lb,DD as mb,wD as nb,wh as ob,bD as pb,TD as qb,_D as rb,MD as sb,ND as tb,Ch as ub,yl as vb,vl as wb,bh as xb,Il as yb,El as zb,Th as Ab,kD as Bb,FD as Cb,Dl as Db,jD as Eb,_h as Fb,Nn as Gb,Vh as Hb,Hh as Ib,vw as Jb,Bh as Kb,Iw as Lb,Ew as Mb,$h as Nb,Dw as Ob,Cw as Pb,bw as Qb,_w as Rb,Mw as Sb,Nw as Tb,xw as Ub,Sw as Vb,Rw as Wb,Ow as Xb,Aw as Yb,Qh as Zb,Zh as _b,Gw as $b,Qw as ac,oC as bc,sg as cc,wl as dc,ag as ec,cg as fc,lg as gc,sC as hc,ug as ic,fg as jc,aC as kc,cC as lc,lC as mc,uC as nc,dC as oc,fC as pc,yC as qc,vC as rc,IC as sc,EC as tc,DC as uc,bC as vc,_C as wc,MC as xc,NC as yc,xC as zc,SC as Ac,AC as Bc,_l as Cc,PC as Dc,Gr as Ec,Fe as Fc,jn as Gc,Eg as Hc,BC as Ic,Al as Jc,Cg as Kc,TF as Lc,_F as Mc,MF as Nc,NF as Oc,xF as Pc,xg as Qc,SF as Rc,ab as Sc,cb as Tc,RF as Uc,OF as Vc,AF as Wc,kF as Xc,PF as Yc};
@@ -0,0 +1 @@
1
+ import{a as O,c as P,e as E,h as v,j as N,s as I}from"./chunk-3KIPRGE2.js";import{l as y,o as X,t as Y}from"./chunk-MHALSLG3.js";import{Bb as x,Gc as m,Hc as h,Jb as F,Kb as A,Lb as D,Mc as c,Nb as W,Oa as s,Ob as M,Pb as T,Qb as d,Zb as j,_a as f,ba as $,bc as G,ca as k,db as w,ec as U,gc as g,hc as _,ic as C,la as l,ob as b,qc as S,rb as z,sb as R,tb as V,ub as p,vb as u,wb as a,yb as B,zb as L}from"./chunk-K6EZTPNQ.js";var Q=[[["label"]],[["","prefix",""]],[["","suffix",""]]],ee=["label","[prefix]","[suffix]"];function te(i,e){if(i&1&&G(0),i&2){let t=e.$implicit,n=M();U("",t.label,"",n.hasPerSecond()?"/s":"")}}var ne=[{value:"bytes",label:"Bytes"},{value:"KB",label:"KB"},{value:"MB",label:"MB"},{value:"GB",label:"GB"},{value:"TB",label:"TB"},{value:"PB",label:"PB"}],ie=["throttle-upload","throttle-download"],H=class i{customId=c();inputType=c();timespan=l(0);unit=l("MB");sizeOptions=l(ne);readonly=l(!1);hasPerSecond=m(()=>{let e=this.inputType();return e&&ie.includes(e)});onChange=()=>{};onTouched=()=>{};onChangeEffect=h(()=>{this.onChange(this.getValue())});writeValue(e){if(e){let t=e.match(/^(\d+)(bytes|kb|mb|gb|tb|pb|b)$/i);t?(this.timespan.set(parseInt(t[1],10)),this.unit.set(t[2].toUpperCase())):(this.timespan.set(0),this.unit.set("MB"))}else this.timespan.set(0),this.unit.set("MB")}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this.readonly.set(e)}getValue(){return`${this.timespan()}${this.unit()}`}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=f({type:i,selectors:[["app-size"]],inputs:{customId:[1,"customId"],inputType:[1,"inputType"]},features:[S([{provide:O,useExisting:i,multi:!0}])],ngContentSelectors:ee,decls:9,vars:10,consts:[[1,"label"],["type","number",3,"ngModelChange","id","ngModel","disabled"],["value","value","label","label",3,"options","readonly","isClearable"],["type","text",3,"ngModelChange","ngModel"]],template:function(t,n){t&1&&(T(Q),u(0,"div",0),d(1,0,["ngProjectAs","label",5,["label"]]),a(),u(2,"spk-form-field")(3,"input",1),C("ngModelChange",function(o){return _(n.timespan,o)||(n.timespan=o),o}),a(),d(4,1),d(5,2),a(),u(6,"spk-select",2)(7,"input",3),C("ngModelChange",function(o){return _(n.unit,o)||(n.unit=o),o}),a(),w(8,te,1,2,"ng-template"),a()),t&2&&(s(2),b("readonly",n.readonly()||void 0),s(),p("id",n.customId()),g("ngModel",n.timespan),p("disabled",n.readonly()),s(3),j("--miw",0),p("options",n.sizeOptions())("readonly",n.readonly())("isClearable",!1),s(),g("ngModel",n.unit))},dependencies:[Y,y,I,P,N,E,v],styles:['[_nghost-%COMP%]{display:grid;grid-template-areas:"label label" "input unit";grid-template-columns:3fr 1fr;gap:.5rem;align-items:flex-end}[_nghost-%COMP%] .label[_ngcontent-%COMP%]{grid-area:label;grid-column:1/-1}[_nghost-%COMP%] spk-form-field[_ngcontent-%COMP%]{grid-area:input}[_nghost-%COMP%] spk-select[_ngcontent-%COMP%]{grid-area:unit}'],changeDetection:0})};var oe=[[["label"]],[["","prefix",""]],[["","suffix",""]]],se=["label","[prefix]","[suffix]"];function ae(i,e){if(i&1){let t=x();u(0,"button",7),W("click",function(){let r=$(t).$implicit,o=M();return k(o.updateUnit(r.value))}),F(1,1),a()}if(i&2){let t=e.$implicit;s(),A(t.label),D(1)}}var le=[{value:"s",label:$localize`Seconds`},{value:"m",label:$localize`Minutes`},{value:"h",label:$localize`Hours`}],re=[{value:"Y",label:$localize`Years`},{value:"M",label:$localize`Months`},{value:"W",label:$localize`Weeks`},{value:"D",label:$localize`Days`}],pe=["retry-delay","web-timeout","read-write-timeout","run-script-timeout","list-timeout","short-timeout"],K=class i{customId=c();inputType=c();timespan=l(0);#e="D";unit=l(this.#e);unitLabel=m(()=>{let e=this.timeOptions(),t=e.findIndex(n=>n.value===this.unit());return e[t]?.label??this.unit()});isShortTime=m(()=>{let e=this.inputType();return e&&pe.includes(e)});timeOptions=m(()=>this.isShortTime()?le:re);readonly=l(!1);onChange=()=>{};onTouched=()=>{};onChangeEffect=h(()=>{this.onChange(this.getValue())});inputTypeEffect=h(()=>{let e=this.timeOptions(),t=this.isShortTime()?"s":"D";this.#e=t,this.unit.set(t)});updateUnit(e){this.unit.set(e)}writeValue(e){let t=this.isShortTime();if(e){let n=t?/(\d+)([smh])/i:/^(\d+)([YMWD])$/i,r=e.match(n);r?(this.timespan.set(parseInt(r[1],10)),this.unit.set(r[2])):(this.timespan.set(0),this.unit.set(this.#e))}else this.timespan.set(0),this.unit.set(this.#e)}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this.readonly.set(e)}getValue(){return`${this.timespan()}${this.unit()}`}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=f({type:i,selectors:[["app-timespan"]],inputs:{customId:[1,"customId"],inputType:[1,"inputType"]},features:[S([{provide:O,useExisting:i,multi:!0}])],ngContentSelectors:se,decls:11,vars:6,consts:()=>{let e;e=$localize`${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let t;return t=$localize`${"\uFFFD0\uFFFD"}:INTERPOLATION:`,[e,t,["type","number",3,"ngModelChange","id","ngModel","disabled"],[3,"openIndicator"],["spk-button","","type","button",1,"trigger"],["menu",""],["spk-button","","type","button",1,"small"],["spk-button","","type","button",1,"small",3,"click"]]},template:function(t,n){t&1&&(T(oe),d(0,0,["ngProjectAs","label",5,["label"]]),u(1,"spk-form-field")(2,"input",2),C("ngModelChange",function(o){return _(n.timespan,o)||(n.timespan=o),o}),a(),d(3,1),d(4,2),a(),u(5,"spk-menu",3)(6,"button",4),F(7,0),a(),B(8,5),R(9,ae,2,1,"button",6,z),L(),a()),t&2&&(s(),b("readonly",n.readonly()||void 0),s(),p("id",n.customId()),g("ngModel",n.timespan),p("disabled",n.readonly()),s(3),p("openIndicator",!0),s(2),A(n.unitLabel()),D(7),s(2),V(n.timeOptions()))},dependencies:[X,y,I,P,N,E,v],styles:['[_nghost-%COMP%]{display:grid;grid-template-areas:"label label" "input unit";grid-template-columns:3fr 1fr;gap:.5rem;align-items:flex-end}[_nghost-%COMP%] .label[_ngcontent-%COMP%]{grid-area:label;grid-column:1/-1}[_nghost-%COMP%] spk-form-field[_ngcontent-%COMP%]{grid-area:input}[_nghost-%COMP%] spk-menu[_ngcontent-%COMP%]{grid-area:unit}[_nghost-%COMP%] spk-menu[_ngcontent-%COMP%] button.trigger[_ngcontent-%COMP%]{width:100%}'],changeDetection:0})};export{H as a,K as b};
@@ -0,0 +1 @@
1
+ import{a as G}from"./chunk-FPLBURO5.js";import{b as P,d as $}from"./chunk-UVLJAD66.js";import{e as g}from"./chunk-MHALSLG3.js";import{h as W}from"./chunk-FWVOVJCG.js";import{qa as M}from"./chunk-VKD4Y3YQ.js";import{Gc as h,Hb as O,Hc as w,Ib as R,Jb as N,Kb as _,Lb as I,O as k,Oa as T,S as d,X as r,_a as C,i as m,la as n,vb as D,vc as A,wb as v,xb as E,xc as F}from"./chunk-K6EZTPNQ.js";var S=class s{reconnectTimer=n(15e3);countdown=n(0);connectTimerEffect=w(()=>{let e=this.reconnectTimer();this.countdown.set(e/1e3)});interval=setInterval(()=>{if(this.countdown()<=1){this.countdown.set(this.reconnectTimer()/1e3);return}this.countdown.set(this.countdown()-1)},1e3);ngOnDestroy(){clearInterval(this.interval)}static \u0275fac=function(t){return new(t||s)};static \u0275cmp=C({type:s,selectors:[["app-disconnected-dialog"]],decls:8,vars:4,consts:()=>{let e;e=$localize`Reconnecting...`;let t;return t=$localize` The connection to the server is lost, attempting again in ${"\uFFFD#6\uFFFD"}:START_TAG_STRONG:0:${"\uFFFD0\uFFFD"}:INTERPOLATION:${"\uFFFD/#6\uFFFD"}:CLOSE_TAG_STRONG:`,[e,t,["header",""],["content",""]]},template:function(t,o){t&1&&(D(0,"header",2)(1,"h3"),N(2,0),v()(),D(3,"div",3)(4,"p"),O(5,1),E(6,"strong"),A(7,"number"),R(),v()()),t&2&&(T(7),_(F(7,1,o.countdown(),"2.0-0")),I(5))},dependencies:[M],styles:["[_nghost-%COMP%]{display:block;padding:1rem}"],changeDetection:0})};var f=class s{dialog=r(g);#n=r(W);#o=n("disconnected");#e=n(null);#t=n(-1);#a=n(0);#c=n(!1);#r=new m;connectionStatus=this.#o.asReadonly();serverState=this.#e.asReadonly();#l=void 0;duration=r(P).relayIsEnabled()?"94s":"299s";start(){this.#c.set(!0),this.#r=new m,this.#s()}stop(){this.#r.next(),this.#r.complete(),this.#c.set(!1)}reconnect(){this.stop(),this.start()}reconnectIfNeeded(){this.#c()||this.reconnect()}#s(){this.#o.set("connecting"),this.#n.getApiV1Serverstate({lastEventId:this.#t(),longpoll:this.#t()>=0,duration:this.duration}).pipe(k(this.#r)).subscribe({next:e=>{e&&this.#i(e),this.#u()},error:e=>{let o=this.#a()+1,a=Math.min(5e3*o,3e4);this.#a.set(o),o>3&&this.#o.set("disconnected"),this.#l||(this.#l=this.dialog.open(S,{closeOnButton:!1,closeOnEsc:!1,closeOnOutsideClick:!1})),this.#l.component.reconnectTimer.set(a),setTimeout(()=>{this.#s()},a)}})}#i(e){this.#o.set("connected"),this.#e.set(e),this.#t.set(e.LastEventID??-1),this.#a.set(0)}#u(){this.#c()&&this.#s()}static \u0275fac=function(t){return new(t||s)};static \u0275prov=d({token:s,factory:s.\u0275fac,providedIn:"root"})};var u=!1,b=class s{#n=r($);#o=r(G);dialog=r(g);#e=null;#t=n("disconnected");#a=n(null);#c=n(null);#r=n(null);#l=n(null);#s=void 0;#i=n({legacystatus:!0});shouldConnect=n(!0);connectionStatus=this.#t.asReadonly();serverState=this.#a.asReadonly();serverProgress=this.#c.asReadonly();subscriptions=this.#i.asReadonly();serverTaskQueue=this.#r.asReadonly();backupListState=this.#l.asReadonly();#u=0;start(){this.#p(),this.shouldConnect.set(!0)}#p(){let e=this.#n.token();if(!e){console.error("No access token available");return}let t=window.location.protocol==="https:"?"wss:":"ws:",o=window.location.port?`:${window.location.port}`:"";window.location.port==="4200"&&(o=":8200");let a=window.location.hostname,j=this.#o.hasWebSocketAuth()?`${t}//${a}${o}/notifications`:`${t}//${a}${o}/notifications?token=${e}`;this.#t.set("connecting"),this.#e=new WebSocket(j),this.#e.onopen=()=>{u&&console.log("WebSocket connection established"),this.#o.hasWebSocketAuth()?(this.#t.set("authenticating"),this.#e?.send(JSON.stringify({Version:1,Token:e}))):this.#d()},this.#e.onmessage=p=>{if(this.#t()==="authenticating")try{let i=JSON.parse(p.data);i.Success?(u&&console.log("WebSocket authentication successful"),this.#d()):(console.error("WebSocket authentication failed:",i.Message),this.#t.set("disconnected"));return}catch(i){console.error("Error parsing WebSocket authentication reply",i),this.#t.set("disconnected");return}try{let i=JSON.parse(p.data),l=i?.Type;if(l==="legacystatus"||l==null)u&&console.log("Received legacy status update:",i),this.#a.set(i);else if(l==="reply"){let c=i;c.Success||console.error("WebSocket reply error:",c.Message)}else if(l==="progress"){let c=i;u&&console.log("Received progress update:",c.Data),this.#c.set(c.Data)}else if(l==="taskqueue"){let c=i;u&&console.log("Received task update:",c.Data),this.#r.set(c.Data)}else if(l==="backuplist"){let c=i;u&&console.log("Received backup list update:",c.Data),this.#l.set(c.Data)}else console.warn("Unknown WebSocket message type:",l)}catch(i){console.error("Error parsing WebSocket message",i)}},this.#e.onclose=p=>{u&&console.log("WebSocket connection closed",p),this.#t.set("disconnected"),this.shouldConnect()&&(this.#s||(this.#s=this.dialog.open(S,{closeOnButton:!1,closeOnEsc:!1,closeOnOutsideClick:!1}),this.#s.component.reconnectTimer.set(15e3)),setTimeout(()=>this.#p(),5e3))},this.#e.onerror=p=>{console.error("WebSocket error",p),this.#t.set("disconnected")}}#d(){this.#t.set("connected");let e=this.#i();Object.keys(e).length>0&&Object.entries(e).forEach(([t,o])=>{o!=null&&this.sendSubscribeRequest(t,o)}),this.#s&&this.#s.close()}stop(){this.shouldConnect.set(!1),this.#e?.close()}reconnect(){this.#e?.close(),this.start()}reconnectIfNeeded(){this.#e?.readyState!==WebSocket.OPEN&&this.reconnect()}sendSubscribeRequest(e,t){this.#e?.send(JSON.stringify({Version:1,Id:`req-${++this.#u}`,Action:"sub",Service:e,Data:t||null}))}subscribe(e,t=void 0){let o=this.#i(),a=o[e];(!a||JSON.stringify(a)!==JSON.stringify(t))&&(o[e]=t||!0,this.#i.set(o),this.#t()=="connected"&&this.sendSubscribeRequest(e,t))}unsubscribe(e){let t=this.#i();t[e]&&(delete t[e],this.#i.set(t),this.#t()=="connected"&&this.#e?.send(JSON.stringify({Version:1,Id:`req-${++this.#u}`,Action:"unsub",Service:e})))}static \u0275fac=function(t){return new(t||s)};static \u0275prov=d({token:s,factory:s.\u0275fac,providedIn:"root"})};var L=class s{#n=r(b);#o=r(f);#e=n("longpoll");#t=n(!1);connectionStatus=h(()=>this.#e()==="websocket"?this.#n.connectionStatus():this.#o.connectionStatus());isConnectionMethodSet=this.#t.asReadonly();serverState=h(()=>this.#e()==="websocket"?this.#n.serverState():this.#o.serverState());progressState=h(()=>this.#n.serverProgress());taskQueueState=h(()=>this.#n.serverTaskQueue());backupListState=h(()=>this.#n.backupListState());setConnectionMethod(e){e==="websocket"?(this.#n.reconnectIfNeeded(),this.#o.stop()):(this.#o.reconnectIfNeeded(),this.#n.stop()),this.#e.set(e),this.#t.set(!0)}getConnectionMethod(){return this.#e()}subscribe(e,t=null){this.#n.subscribe(e,t)}unsubscribe(e){this.#n.unsubscribe(e)}static \u0275fac=function(t){return new(t||s)};static \u0275prov=d({token:s,factory:s.\u0275fac,providedIn:"root"})};export{L as a};
@@ -0,0 +1 @@
1
+ import{b as re}from"./chunk-WY2KPAVB.js";import{a as ne}from"./chunk-XD26KCAE.js";import"./chunk-KQAO2YHR.js";import{a as ie}from"./chunk-3PYBMCOB.js";import"./chunk-RHW5QVAY.js";import"./chunk-FPLBURO5.js";import{a as te}from"./chunk-JWFYA3TO.js";import{b as oe,e as ae,h as le,s as _e}from"./chunk-3KIPRGE2.js";import"./chunk-UVLJAD66.js";import{d as q,e as H}from"./chunk-7LEXBIXG.js";import"./chunk-P4ZYFRD3.js";import{a as J,e as Q,g as Y,i as Z}from"./chunk-MHALSLG3.js";import{h as ee}from"./chunk-FWVOVJCG.js";import"./chunk-VKD4Y3YQ.js";import"./chunk-WIDMAJIO.js";import{B as y,Bb as g,F as O,Gc as B,Jb as c,Kb as D,Lb as S,Mb as F,Mc as j,Nb as x,Oa as r,Ob as p,X as E,_a as $,_b as I,ba as C,bc as u,ca as m,gc as h,hc as L,ic as M,jc as w,kc as G,la as P,lc as X,n as U,pb as f,qb as T,r as K,rc as v,sc as z,ub as A,vb as i,vc as V,wb as o,yc as W}from"./chunk-K6EZTPNQ.js";import"./chunk-EUDKD2JW.js";var ce=l=>["/backup",l,"export"],se=()=>["/"];function ue(l,_){if(l&1){let t=g();i(0,"section")(1,"h4"),c(2,4),o(),i(3,"p"),c(4,5),o(),i(5,"spk-checkbox",11),u(6," Delete local database "),i(7,"input",12),M("ngModelChange",function(e){C(t);let a=p();return L(a.deleteLocalDb,e)||(a.deleteLocalDb=e),m(e)}),o()()()}if(l&2){let t=p();r(7),h("ngModel",t.deleteLocalDb)}}function Ee(l,_){if(l&1){let t=g();i(0,"section")(1,"h4"),c(2,6),o(),i(3,"p"),c(4,7),V(5,"bytes"),o(),i(6,"spk-checkbox",11),u(7," Delete remote files "),i(8,"input",12),M("ngModelChange",function(e){C(t);let a=p();return L(a.deleteRemoteFiles,e)||(a.deleteRemoteFiles=e),m(e)}),o()()()}if(l&2){let t=p(),n=X(0),e=(n==null||n.Backup==null||n.Backup.Metadata==null?null:n.Backup.Metadata.TargetFileSize)??0;r(5),D(t.fileCount())(t.fileCount())(W(5,4,e,!0,!0)),S(4),r(3),h("ngModel",t.deleteRemoteFiles)}}var b=class l{#t=E(ee);#n=E(Q);#e=E(ne);#i=E(q);id=j.required();backup=B(()=>this.#e.getBackupById(this.id()));noLocalDbResource=re({params:()=>({dbPath:this.backup()?.Backup?.DBPath}),stream:({params:_})=>this.#t.postApiV1FilesystemValidate({requestBody:{path:_.dbPath}}).pipe(K(()=>!0),y(()=>U(!1)))});fileCount=B(()=>parseInt(this.backup()?.Backup?.Metadata?.TargetFileCount??"0",10));deleteLocalDb=P(!1);deleteRemoteFiles=P(!1);isDeleting=P(!1);deleteBackup(){let _=this.id(),t=this.deleteLocalDb(),n=this.deleteRemoteFiles();this.isDeleting.set(!0),this.#n.open(ie,{data:{title:$localize`Confirm delete`,message:$localize`Are you sure you want to delete this backup?`,confirmText:$localize`Delete backup`,cancelText:$localize`Cancel`},closed:e=>{e&&this.#e.deleteBackup({id:_,deleteLocalDb:t,deleteRemoteFiles:n}).pipe(O(()=>this.isDeleting.set(!1))).subscribe({next:()=>{this.#i.navigate(["/"])}})}})}static \u0275fac=function(t){return new(t||l)};static \u0275cmp=$({type:l,selectors:[["app-delete-backup"]],inputs:{id:[1,"id"]},decls:19,vars:11,consts:()=>{let _;_=$localize`Delete backup: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let t;t=$localize`Export configuration`;let n;n=$localize`If you want to use the backup later, you can export the configuration before deleting it.`;let e;e=$localize`Cancel`;let a;a=$localize`Delete local database`;let k;k=$localize` Each backup has a local database associated with it, which stores information about the remote backup on the local machine. When deleting a backup, you can also delete the local database without affecting the ability to restore the remote files. If you are using the local database for backups from the commandline, you should keep the database. `;let N;N=$localize`Delete remote files`;let d;d=$localize`{VAR_PLURAL, plural, =1 {1 file} other {{INTERPOLATION} files}}`,d=F(d,{INTERPOLATION:"\uFFFD1\uFFFD",VAR_PLURAL:"\uFFFD0\uFFFD"});let R;return R=$localize` Delete ${d}:ICU@@2159106180826349718: (${"\uFFFD2\uFFFD"}:INTERPOLATION_1:) from the remote storage? `,[_,t,n,e,a,k,N,R,["spk-button","",3,"routerLink"],[1,"actions"],["spk-button","",1,"raised","error",3,"click"],[1,"primary","raised"],["type","checkbox",3,"ngModelChange","ngModel"]]},template:function(t,n){if(t&1){let e=g();w(0),i(1,"h3"),c(2,0),o(),f(3,ue,8,1,"section"),i(4,"section")(5,"h4"),c(6,1),o(),i(7,"p"),c(8,2),o(),i(9,"button",8),u(10," Export configuration "),i(11,"spk-icon"),u(12,"caret-right"),o()()(),f(13,Ee,9,8,"section"),i(14,"div",9)(15,"button",8),c(16,3),o(),i(17,"button",10),x("click",function(){return C(e),m(n.deleteBackup())}),u(18,"Delete backup"),o()()}if(t&2){let e=G(n.backup()),a=n.noLocalDbResource.value();r(2),D(e==null||e.Backup==null?null:e.Backup.Name),S(2),r(),T(a?3:-1),r(6),A("routerLink",z(8,ce,n.id())),r(4),T(a?13:-1),r(2),A("routerLink",v(10,se)),r(2),I("loader",n.isDeleting())}},dependencies:[Z,Y,J,te,_e,oe,ae,le,H],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;padding:2.5rem;max-width:43.75rem}section[_ngcontent-%COMP%]{padding:2rem 0;display:flex;align-items:flex-start;flex-direction:column}h3[_ngcontent-%COMP%]{font:var(--title-30);margin:0}h4[_ngcontent-%COMP%]{font:var(--paragraph-20);margin-bottom:.5rem}p[_ngcontent-%COMP%]{margin-bottom:1rem}.actions[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;gap:.5rem;padding:2rem 0}"],changeDetection:0})};export{b as default};
@@ -1 +1 @@
1
- import{pa as o}from"./chunk-EBXJGPRA.js";import{a as s}from"./chunk-QUOBR5MG.js";import{Z as e,jb as n}from"./chunk-4KE2I7OA.js";var m=class i{#t=e(s);#r=e(o);convertTimestamp(t){let r=/^(\d{4})(\d{2})(\d{2})T(\d{2})(\d{2})(\d{2})Z$/.exec(t);if(r){let[a,p,f,c,d,u,h]=r;return`${p}-${f}-${c}T${d}:${u}:${h}Z`}return t}transform(t,r=!1,...a){return t?r?this.#r.transform(t,"short"):(this.#t.locale(),typeof t=="string"&&(t=this.convertTimestamp(t)),this.#t(t).fromNow()):"N/A"}static \u0275fac=function(r){return new(r||i)};static \u0275pipe=n({name:"relativeTime",type:i,pure:!0})};export{m as a};
1
+ import{la as o}from"./chunk-VKD4Y3YQ.js";import{a as s}from"./chunk-LQ2PCH6Q.js";import{X as e,bb as n}from"./chunk-K6EZTPNQ.js";var m=class i{#t=e(s);#r=e(o);convertTimestamp(t){let r=/^(\d{4})(\d{2})(\d{2})T(\d{2})(\d{2})(\d{2})Z$/.exec(t);if(r){let[a,p,f,c,d,u,h]=r;return`${p}-${f}-${c}T${d}:${u}:${h}Z`}return t}transform(t,r=!1,...a){return t?r?this.#r.transform(t,"short"):(this.#t.locale(),typeof t=="string"&&(t=this.convertTimestamp(t)),this.#t(t).fromNow()):"N/A"}static \u0275fac=function(r){return new(r||i)};static \u0275pipe=n({name:"relativeTime",type:i,pure:!0})};export{m as a};
@@ -0,0 +1 @@
1
+ import{a}from"./chunk-TUOSYDUU.js";import"./chunk-KA4H3PM5.js";import"./chunk-FLMFEFKM.js";import"./chunk-FPLBURO5.js";import"./chunk-3KIPRGE2.js";import"./chunk-MHALSLG3.js";import"./chunk-FWVOVJCG.js";import"./chunk-VKD4Y3YQ.js";import"./chunk-WIDMAJIO.js";import"./chunk-K6EZTPNQ.js";import"./chunk-EUDKD2JW.js";export{a as OptionsListComponent};