@selvajs/selva 4.18.1 → 4.20.0-beta.0

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 (1351) hide show
  1. package/build/client/_app/immutable/assets/0.DuuG-nTa.css +2 -0
  2. package/build/client/_app/immutable/assets/0.DuuG-nTa.css.br +0 -0
  3. package/build/client/_app/immutable/assets/0.DuuG-nTa.css.gz +0 -0
  4. package/build/client/_app/immutable/chunks/7LnJNCNt.js +2 -0
  5. package/build/client/_app/immutable/chunks/7LnJNCNt.js.br +0 -0
  6. package/build/client/_app/immutable/chunks/7LnJNCNt.js.gz +0 -0
  7. package/build/client/_app/immutable/chunks/BBbpjMM1.js +1 -0
  8. package/build/client/_app/immutable/chunks/BBbpjMM1.js.br +3 -0
  9. package/build/client/_app/immutable/chunks/BBbpjMM1.js.gz +0 -0
  10. package/build/client/_app/immutable/chunks/BLvEmOqE.js +1 -0
  11. package/build/client/_app/immutable/chunks/BLvEmOqE.js.br +0 -0
  12. package/build/client/_app/immutable/chunks/BLvEmOqE.js.gz +0 -0
  13. package/build/client/_app/immutable/chunks/BW2ajjg-.js +1 -0
  14. package/build/client/_app/immutable/chunks/BW2ajjg-.js.br +0 -0
  15. package/build/client/_app/immutable/chunks/BW2ajjg-.js.gz +0 -0
  16. package/build/client/_app/immutable/chunks/BhB33hF1.js +1 -0
  17. package/build/client/_app/immutable/chunks/BhB33hF1.js.br +0 -0
  18. package/build/client/_app/immutable/chunks/BhB33hF1.js.gz +0 -0
  19. package/build/client/_app/immutable/chunks/Bnz4fDD2.js +1 -0
  20. package/build/client/_app/immutable/chunks/Bnz4fDD2.js.br +0 -0
  21. package/build/client/_app/immutable/chunks/Bnz4fDD2.js.gz +0 -0
  22. package/build/client/_app/immutable/chunks/BnzCj7WN.js +1 -0
  23. package/build/client/_app/immutable/chunks/BnzCj7WN.js.br +0 -0
  24. package/build/client/_app/immutable/chunks/BnzCj7WN.js.gz +0 -0
  25. package/build/client/_app/immutable/chunks/C5ItBgwn.js +1 -0
  26. package/build/client/_app/immutable/chunks/C5ItBgwn.js.br +0 -0
  27. package/build/client/_app/immutable/chunks/C5ItBgwn.js.gz +0 -0
  28. package/build/client/_app/immutable/chunks/CLqK_7Ir.js +1 -0
  29. package/build/client/_app/immutable/chunks/CLqK_7Ir.js.br +0 -0
  30. package/build/client/_app/immutable/chunks/CLqK_7Ir.js.gz +0 -0
  31. package/build/client/_app/immutable/chunks/CWjdpssV.js +2 -0
  32. package/build/client/_app/immutable/chunks/CWjdpssV.js.br +0 -0
  33. package/build/client/_app/immutable/chunks/CWjdpssV.js.gz +0 -0
  34. package/build/client/_app/immutable/chunks/CYTs9_Q9.js +1 -0
  35. package/build/client/_app/immutable/chunks/CYTs9_Q9.js.br +0 -0
  36. package/build/client/_app/immutable/chunks/CYTs9_Q9.js.gz +0 -0
  37. package/build/client/_app/immutable/chunks/Cvw7vjVP.js +1 -0
  38. package/build/client/_app/immutable/chunks/Cvw7vjVP.js.br +2 -0
  39. package/build/client/_app/immutable/chunks/Cvw7vjVP.js.gz +0 -0
  40. package/build/client/_app/immutable/chunks/DDZMjfCT.js +55 -0
  41. package/build/client/_app/immutable/chunks/DDZMjfCT.js.br +0 -0
  42. package/build/client/_app/immutable/chunks/DDZMjfCT.js.gz +0 -0
  43. package/build/client/_app/immutable/chunks/teEuzr1L.js +1 -0
  44. package/build/client/_app/immutable/chunks/teEuzr1L.js.br +0 -0
  45. package/build/client/_app/immutable/chunks/teEuzr1L.js.gz +0 -0
  46. package/build/client/_app/immutable/entry/app.DmJnSgQs.js +2 -0
  47. package/build/client/_app/immutable/entry/app.DmJnSgQs.js.br +0 -0
  48. package/build/client/_app/immutable/entry/app.DmJnSgQs.js.gz +0 -0
  49. package/build/client/_app/immutable/entry/start.DV1Q42Ir.js +1 -0
  50. package/build/client/_app/immutable/entry/start.DV1Q42Ir.js.br +0 -0
  51. package/build/client/_app/immutable/entry/start.DV1Q42Ir.js.gz +0 -0
  52. package/build/client/_app/immutable/nodes/1.C8faFiZW.js +1 -0
  53. package/build/client/_app/immutable/nodes/1.C8faFiZW.js.br +1 -0
  54. package/build/client/_app/immutable/nodes/1.C8faFiZW.js.gz +0 -0
  55. package/build/client/_app/immutable/nodes/10.CMgI0MED.js +3 -0
  56. package/build/client/_app/immutable/nodes/10.CMgI0MED.js.br +0 -0
  57. package/build/client/_app/immutable/nodes/10.CMgI0MED.js.gz +0 -0
  58. package/build/client/_app/immutable/nodes/11.D9y3E6ZI.js +3 -0
  59. package/build/client/_app/immutable/nodes/11.D9y3E6ZI.js.br +0 -0
  60. package/build/client/_app/immutable/nodes/11.D9y3E6ZI.js.gz +0 -0
  61. package/build/client/_app/immutable/nodes/13.DgChZdsA.js +2 -0
  62. package/build/client/_app/immutable/nodes/13.DgChZdsA.js.br +0 -0
  63. package/build/client/_app/immutable/nodes/13.DgChZdsA.js.gz +0 -0
  64. package/build/client/_app/immutable/nodes/14.CQJxwxL0.js +2 -0
  65. package/build/client/_app/immutable/nodes/14.CQJxwxL0.js.br +0 -0
  66. package/build/client/_app/immutable/nodes/14.CQJxwxL0.js.gz +0 -0
  67. package/build/client/_app/immutable/nodes/15.B_UFnYrc.js +28 -0
  68. package/build/client/_app/immutable/nodes/15.B_UFnYrc.js.br +0 -0
  69. package/build/client/_app/immutable/nodes/15.B_UFnYrc.js.gz +0 -0
  70. package/build/client/_app/immutable/nodes/16.llb2nfXo.js +2 -0
  71. package/build/client/_app/immutable/nodes/16.llb2nfXo.js.br +0 -0
  72. package/build/client/_app/immutable/nodes/16.llb2nfXo.js.gz +0 -0
  73. package/build/client/_app/immutable/nodes/17.ag21Tru0.js +5 -0
  74. package/build/client/_app/immutable/nodes/17.ag21Tru0.js.br +0 -0
  75. package/build/client/_app/immutable/nodes/17.ag21Tru0.js.gz +0 -0
  76. package/build/client/_app/immutable/nodes/18.Ct92us3Z.js +2 -0
  77. package/build/client/_app/immutable/nodes/18.Ct92us3Z.js.br +0 -0
  78. package/build/client/_app/immutable/nodes/18.Ct92us3Z.js.gz +0 -0
  79. package/build/client/_app/immutable/nodes/2.N81Pml9Y.js +1 -0
  80. package/build/client/_app/immutable/nodes/2.N81Pml9Y.js.br +0 -0
  81. package/build/client/_app/immutable/nodes/2.N81Pml9Y.js.gz +0 -0
  82. package/build/client/_app/immutable/nodes/20.B2aaxW5J.js +7 -0
  83. package/build/client/_app/immutable/nodes/20.B2aaxW5J.js.br +0 -0
  84. package/build/client/_app/immutable/nodes/20.B2aaxW5J.js.gz +0 -0
  85. package/build/client/_app/immutable/nodes/21.C4fKe0xG.js +2 -0
  86. package/build/client/_app/immutable/nodes/21.C4fKe0xG.js.br +0 -0
  87. package/build/client/_app/immutable/nodes/21.C4fKe0xG.js.gz +0 -0
  88. package/build/client/_app/immutable/nodes/22.DcP67NOC.js +5665 -0
  89. package/build/client/_app/immutable/nodes/22.DcP67NOC.js.br +0 -0
  90. package/build/client/_app/immutable/nodes/22.DcP67NOC.js.gz +0 -0
  91. package/build/client/_app/immutable/nodes/23.CJlgeS71.js +6 -0
  92. package/build/client/_app/immutable/nodes/23.CJlgeS71.js.br +0 -0
  93. package/build/client/_app/immutable/nodes/23.CJlgeS71.js.gz +0 -0
  94. package/build/client/_app/immutable/nodes/25.Cm52MAQP.js +16 -0
  95. package/build/client/_app/immutable/nodes/25.Cm52MAQP.js.br +0 -0
  96. package/build/client/_app/immutable/nodes/25.Cm52MAQP.js.gz +0 -0
  97. package/build/client/_app/immutable/nodes/26.CzcY3cSg.js +6 -0
  98. package/build/client/_app/immutable/nodes/26.CzcY3cSg.js.br +0 -0
  99. package/build/client/_app/immutable/nodes/26.CzcY3cSg.js.gz +0 -0
  100. package/build/client/_app/immutable/nodes/29.CX9sHyCY.js +4 -0
  101. package/build/client/_app/immutable/nodes/29.CX9sHyCY.js.br +0 -0
  102. package/build/client/_app/immutable/nodes/29.CX9sHyCY.js.gz +0 -0
  103. package/build/client/_app/immutable/nodes/3.BAYdy06t.js +1 -0
  104. package/build/client/_app/immutable/nodes/3.BAYdy06t.js.br +0 -0
  105. package/build/client/_app/immutable/nodes/3.BAYdy06t.js.gz +0 -0
  106. package/build/client/_app/immutable/nodes/30.DxmyDKFJ.js +6 -0
  107. package/build/client/_app/immutable/nodes/30.DxmyDKFJ.js.br +0 -0
  108. package/build/client/_app/immutable/nodes/30.DxmyDKFJ.js.gz +0 -0
  109. package/build/client/_app/immutable/nodes/31.Bz-7UDBi.js +2 -0
  110. package/build/client/_app/immutable/nodes/31.Bz-7UDBi.js.br +0 -0
  111. package/build/client/_app/immutable/nodes/31.Bz-7UDBi.js.gz +0 -0
  112. package/build/client/_app/immutable/nodes/32.93po9R0L.js +2 -0
  113. package/build/client/_app/immutable/nodes/32.93po9R0L.js.br +0 -0
  114. package/build/client/_app/immutable/nodes/32.93po9R0L.js.gz +0 -0
  115. package/build/client/_app/immutable/nodes/34.ChBfK0Zu.js +1 -0
  116. package/build/client/_app/immutable/nodes/34.ChBfK0Zu.js.br +0 -0
  117. package/build/client/_app/immutable/nodes/34.ChBfK0Zu.js.gz +0 -0
  118. package/build/client/_app/immutable/nodes/5.DL-eYXOR.js +1 -0
  119. package/build/client/_app/immutable/nodes/5.DL-eYXOR.js.br +1 -0
  120. package/build/client/_app/immutable/nodes/5.DL-eYXOR.js.gz +0 -0
  121. package/build/client/_app/immutable/nodes/6.DmVA5ta9.js +1 -0
  122. package/build/client/_app/immutable/nodes/6.DmVA5ta9.js.br +0 -0
  123. package/build/client/_app/immutable/nodes/6.DmVA5ta9.js.gz +0 -0
  124. package/build/client/_app/immutable/nodes/7.B_E4n2Df.js +1 -0
  125. package/build/client/_app/immutable/nodes/7.B_E4n2Df.js.br +0 -0
  126. package/build/client/_app/immutable/nodes/7.B_E4n2Df.js.gz +0 -0
  127. package/build/client/_app/immutable/nodes/8.CY6vXjE5.js +3 -0
  128. package/build/client/_app/immutable/nodes/8.CY6vXjE5.js.br +0 -0
  129. package/build/client/_app/immutable/nodes/8.CY6vXjE5.js.gz +0 -0
  130. package/build/client/_app/immutable/nodes/9.CroIQp5Q.js +1 -0
  131. package/build/client/_app/immutable/nodes/9.CroIQp5Q.js.br +0 -0
  132. package/build/client/_app/immutable/nodes/9.CroIQp5Q.js.gz +0 -0
  133. package/build/client/_app/version.json +1 -1
  134. package/build/client/_app/version.json.br +0 -0
  135. package/build/client/_app/version.json.gz +0 -0
  136. package/build/handler.js +12 -12
  137. package/build/index.js +12 -12
  138. package/build/server/chunks/chunks/AppHeader.js-B9gJtaVi.js +72 -0
  139. package/build/server/chunks/chunks/AppHeader.js-B9gJtaVi.js.map +1 -0
  140. package/build/server/chunks/chunks/Callout.js-Bk6Vs1ym.js +111 -0
  141. package/build/server/chunks/chunks/Callout.js-Bk6Vs1ym.js.map +1 -0
  142. package/build/server/chunks/chunks/ConfirmDialog.js-zVK0aFFJ.js +152 -0
  143. package/build/server/chunks/chunks/ConfirmDialog.js-zVK0aFFJ.js.map +1 -0
  144. package/build/server/chunks/chunks/DataTable.js-DTw6AVcN.js +27 -0
  145. package/build/server/chunks/chunks/DataTable.js-DTw6AVcN.js.map +1 -0
  146. package/build/server/chunks/chunks/DefinitionCard.js-ClsGxa-C.js +143 -0
  147. package/build/server/chunks/chunks/DefinitionCard.js-ClsGxa-C.js.map +1 -0
  148. package/build/server/chunks/chunks/EmptyState.js-BdUreCXm.js +36 -0
  149. package/build/server/chunks/chunks/EmptyState.js-BdUreCXm.js.map +1 -0
  150. package/build/server/chunks/chunks/ErrorScreen.js-DtVPohxT.js +119 -0
  151. package/build/server/chunks/chunks/ErrorScreen.js-DtVPohxT.js.map +1 -0
  152. package/build/server/chunks/chunks/FilterableDropdown.js-BYhwMX-Y.js +45 -0
  153. package/build/server/chunks/chunks/FilterableDropdown.js-BYhwMX-Y.js.map +1 -0
  154. package/build/server/chunks/chunks/PageContent.js-DM5pKN5_.js +12 -0
  155. package/build/server/chunks/chunks/PageContent.js-DM5pKN5_.js.map +1 -0
  156. package/build/server/chunks/chunks/SectionHeader.js-DiptCbfZ.js +22 -0
  157. package/build/server/chunks/chunks/SectionHeader.js-DiptCbfZ.js.map +1 -0
  158. package/build/server/chunks/chunks/SettingsMenu.js-B_6_AHkn.js +810 -0
  159. package/build/server/chunks/chunks/SettingsMenu.js-B_6_AHkn.js.map +1 -0
  160. package/build/server/chunks/chunks/SideNav.js-BNrzK-Tv.js +63 -0
  161. package/build/server/chunks/chunks/SideNav.js-BNrzK-Tv.js.map +1 -0
  162. package/build/server/chunks/chunks/StatCard.js-DUe0RUGO.js +51 -0
  163. package/build/server/chunks/chunks/StatCard.js-DUe0RUGO.js.map +1 -0
  164. package/build/server/chunks/chunks/UserAvatar.js-DDPSjRDb.js +14 -0
  165. package/build/server/chunks/chunks/UserAvatar.js-DDPSjRDb.js.map +1 -0
  166. package/build/server/chunks/chunks/UserRowIdentity.js-UJhpjOS7.js +128 -0
  167. package/build/server/chunks/chunks/UserRowIdentity.js-UJhpjOS7.js.map +1 -0
  168. package/build/server/chunks/chunks/ViewToggle.js-CDHcZbNc.js +91 -0
  169. package/build/server/chunks/chunks/ViewToggle.js-CDHcZbNc.js.map +1 -0
  170. package/build/server/chunks/chunks/access.js-DVAGPd2H.js +770 -0
  171. package/build/server/chunks/chunks/access.js-DVAGPd2H.js.map +1 -0
  172. package/build/server/chunks/chunks/access.server.js-CDxxHEH2.js +11 -0
  173. package/build/server/chunks/chunks/access.server.js-CDxxHEH2.js.map +1 -0
  174. package/build/server/chunks/chunks/access2.server.js-BkDOERUa.js +63 -0
  175. package/build/server/chunks/chunks/access2.server.js-BkDOERUa.js.map +1 -0
  176. package/build/server/chunks/chunks/activity.js-TZSC8dNG.js +15 -0
  177. package/build/server/chunks/chunks/activity.js-TZSC8dNG.js.map +1 -0
  178. package/build/server/chunks/chunks/admin-auth.server.js-BuecoIeA.js +370 -0
  179. package/build/server/chunks/chunks/admin-auth.server.js-BuecoIeA.js.map +1 -0
  180. package/build/server/chunks/chunks/alert-description.js-Nd1IG2V6.js +45 -0
  181. package/build/server/chunks/chunks/alert-description.js-Nd1IG2V6.js.map +1 -0
  182. package/build/server/chunks/chunks/alert-dialog.js-BEatsFlU.js +461 -0
  183. package/build/server/chunks/chunks/alert-dialog.js-BEatsFlU.js.map +1 -0
  184. package/build/server/chunks/chunks/api-errors.js-B3KJbNmV.js +69 -0
  185. package/build/server/chunks/chunks/api-errors.js-B3KJbNmV.js.map +1 -0
  186. package/build/server/chunks/chunks/api-token-codec.js-BEHsbOP6.js +67 -0
  187. package/build/server/chunks/chunks/api-token-codec.js-BEHsbOP6.js.map +1 -0
  188. package/build/server/chunks/chunks/api.js-Cv6E39MW.js +465 -0
  189. package/build/server/chunks/chunks/api.js-Cv6E39MW.js.map +1 -0
  190. package/build/server/chunks/chunks/arrow-left.js-CL-SopHe.js +15 -0
  191. package/build/server/chunks/chunks/arrow-left.js-CL-SopHe.js.map +1 -0
  192. package/build/server/chunks/chunks/arrow-right.js-7VB0HIju.js +15 -0
  193. package/build/server/chunks/chunks/arrow-right.js-7VB0HIju.js.map +1 -0
  194. package/build/server/chunks/chunks/auth-bootstrap.server.js-VpEomuJH.js +152 -0
  195. package/build/server/chunks/chunks/auth-bootstrap.server.js-VpEomuJH.js.map +1 -0
  196. package/build/server/chunks/chunks/badge.js-BCG_Rnjh.js +35 -0
  197. package/build/server/chunks/chunks/badge.js-BCG_Rnjh.js.map +1 -0
  198. package/build/server/chunks/chunks/bootHealth.server.js-DcXPBDtQ.js +90 -0
  199. package/build/server/chunks/chunks/bootHealth.server.js-DcXPBDtQ.js.map +1 -0
  200. package/build/server/chunks/chunks/building-complex.js-GAE4qB9n.js +22 -0
  201. package/build/server/chunks/chunks/building-complex.js-GAE4qB9n.js.map +1 -0
  202. package/build/server/chunks/chunks/button.js-BrFJSLO-.js +69 -0
  203. package/build/server/chunks/chunks/button.js-BrFJSLO-.js.map +1 -0
  204. package/build/server/chunks/chunks/card-content.js-5qPeaM_y.js +35 -0
  205. package/build/server/chunks/chunks/card-content.js-5qPeaM_y.js.map +1 -0
  206. package/build/server/chunks/chunks/card-description.js-BvGvaVHV.js +20 -0
  207. package/build/server/chunks/chunks/card-description.js-BvGvaVHV.js.map +1 -0
  208. package/build/server/chunks/chunks/card-title.js-DtkxYhL0.js +35 -0
  209. package/build/server/chunks/chunks/card-title.js-DtkxYhL0.js.map +1 -0
  210. package/build/server/chunks/chunks/check.js-wanjG0fs.js +15 -0
  211. package/build/server/chunks/chunks/check.js-wanjG0fs.js.map +1 -0
  212. package/build/server/chunks/chunks/chevron-down.js-BQGW7Xoh.js +15 -0
  213. package/build/server/chunks/chunks/chevron-down.js-BQGW7Xoh.js.map +1 -0
  214. package/build/server/chunks/chunks/chevron-right.js-Dc-Qr__I.js +15 -0
  215. package/build/server/chunks/chunks/chevron-right.js-Dc-Qr__I.js.map +1 -0
  216. package/build/server/chunks/chunks/chevron-up.js-By9F0-4h.js +15 -0
  217. package/build/server/chunks/chunks/chevron-up.js-By9F0-4h.js.map +1 -0
  218. package/build/server/chunks/chunks/circle-alert.js-Cdz7XecC.js +34 -0
  219. package/build/server/chunks/chunks/circle-alert.js-Cdz7XecC.js.map +1 -0
  220. package/build/server/chunks/chunks/circle.js-BrJNPJrA.js +19 -0
  221. package/build/server/chunks/chunks/circle.js-BrJNPJrA.js.map +1 -0
  222. package/build/server/chunks/chunks/client.js-5A8WqD9s.js +59 -0
  223. package/build/server/chunks/chunks/client.js-5A8WqD9s.js.map +1 -0
  224. package/build/server/chunks/chunks/compute.js-HEQmvD6j.js +430 -0
  225. package/build/server/chunks/chunks/compute.js-HEQmvD6j.js.map +1 -0
  226. package/build/server/chunks/chunks/computeLimits.js-CprilDAO.js +48 -0
  227. package/build/server/chunks/chunks/computeLimits.js-CprilDAO.js.map +1 -0
  228. package/build/server/chunks/chunks/copy.js-EUqXVOK1.js +22 -0
  229. package/build/server/chunks/chunks/copy.js-EUqXVOK1.js.map +1 -0
  230. package/build/server/chunks/chunks/create-id.js-Husirv1e.js +809 -0
  231. package/build/server/chunks/chunks/create-id.js-Husirv1e.js.map +1 -0
  232. package/build/server/chunks/chunks/definitions.js-BE-Zf2cL.js +508 -0
  233. package/build/server/chunks/chunks/definitions.js-BE-Zf2cL.js.map +1 -0
  234. package/build/server/chunks/chunks/dialog-description.js-CrK9e9V4.js +492 -0
  235. package/build/server/chunks/chunks/dialog-description.js-CrK9e9V4.js.map +1 -0
  236. package/build/server/chunks/chunks/dialog-footer.js-CxixSFgW.js +59 -0
  237. package/build/server/chunks/chunks/dialog-footer.js-CxixSFgW.js.map +1 -0
  238. package/build/server/chunks/chunks/dialog.js-CGvpTYMM.js +366 -0
  239. package/build/server/chunks/chunks/dialog.js-CGvpTYMM.js.map +1 -0
  240. package/build/server/chunks/chunks/engine.server.js-6pae8L27.js +600 -0
  241. package/build/server/chunks/chunks/engine.server.js-6pae8L27.js.map +1 -0
  242. package/build/server/chunks/chunks/events.js-Dn4NgQ5T.js +136 -0
  243. package/build/server/chunks/chunks/events.js-Dn4NgQ5T.js.map +1 -0
  244. package/build/server/chunks/chunks/external-link.js-Dx2RQ_a4.js +19 -0
  245. package/build/server/chunks/chunks/external-link.js-Dx2RQ_a4.js.map +1 -0
  246. package/build/server/chunks/chunks/folder-kanban.js-syhW1cs-.js +20 -0
  247. package/build/server/chunks/chunks/folder-kanban.js-syhW1cs-.js.map +1 -0
  248. package/build/server/chunks/chunks/folder-open.js-D2PK4iBK.js +15 -0
  249. package/build/server/chunks/chunks/folder-open.js-D2PK4iBK.js.map +1 -0
  250. package/build/server/chunks/chunks/folders.js-C5935TLi.js +15 -0
  251. package/build/server/chunks/chunks/folders.js-C5935TLi.js.map +1 -0
  252. package/build/server/chunks/chunks/footerContext.svelte.js-D7wOrPs7.js +703 -0
  253. package/build/server/chunks/chunks/footerContext.svelte.js-D7wOrPs7.js.map +1 -0
  254. package/build/server/chunks/chunks/forms.js-Bj6u8hBc.js +2 -0
  255. package/build/server/chunks/chunks/forms.js-Bj6u8hBc.js.map +1 -0
  256. package/build/server/chunks/chunks/gauge.js-C-24eOlp.js +15 -0
  257. package/build/server/chunks/chunks/gauge.js-C-24eOlp.js.map +1 -0
  258. package/build/server/chunks/chunks/handlers.js-BtIEnx6m.js +1513 -0
  259. package/build/server/chunks/chunks/handlers.js-BtIEnx6m.js.map +1 -0
  260. package/build/server/chunks/chunks/http.js-Df3RjCZH.js +60 -0
  261. package/build/server/chunks/chunks/http.js-Df3RjCZH.js.map +1 -0
  262. package/build/server/chunks/chunks/index-server.js-B4lHrS_U.js +158 -0
  263. package/build/server/chunks/chunks/index-server.js-B4lHrS_U.js.map +1 -0
  264. package/build/server/chunks/chunks/input.js-BATm6iyH.js +31 -0
  265. package/build/server/chunks/chunks/input.js-BATm6iyH.js.map +1 -0
  266. package/build/server/chunks/chunks/instanceAdmins.server.js-P1i68Wt-.js +24 -0
  267. package/build/server/chunks/chunks/instanceAdmins.server.js-P1i68Wt-.js.map +1 -0
  268. package/build/server/chunks/chunks/internal.js-DWk6_A5e.js.map +1 -1
  269. package/build/server/chunks/chunks/internal2.js-C9AuzU5W.js +224 -0
  270. package/build/server/chunks/chunks/internal2.js-C9AuzU5W.js.map +1 -0
  271. package/build/server/chunks/chunks/key-round.js-vgogOQC0.js +20 -0
  272. package/build/server/chunks/chunks/key-round.js-vgogOQC0.js.map +1 -0
  273. package/build/server/chunks/chunks/label.js-Dh84pr-3.js +107 -0
  274. package/build/server/chunks/chunks/label.js-Dh84pr-3.js.map +1 -0
  275. package/build/server/chunks/chunks/legacy-client.js-CnRScLY2.js +765 -0
  276. package/build/server/chunks/chunks/legacy-client.js-CnRScLY2.js.map +1 -0
  277. package/build/server/chunks/chunks/limits.js-CXt-o5p8.js +203 -0
  278. package/build/server/chunks/chunks/limits.js-CXt-o5p8.js.map +1 -0
  279. package/build/server/chunks/chunks/link-2.js-vAJaWEoc.js +24 -0
  280. package/build/server/chunks/chunks/link-2.js-vAJaWEoc.js.map +1 -0
  281. package/build/server/chunks/chunks/liveSolve.server.js-zNfYPVuT.js +70 -0
  282. package/build/server/chunks/chunks/liveSolve.server.js-zNfYPVuT.js.map +1 -0
  283. package/build/server/chunks/chunks/mail.js-BmnfY0At.js +21 -0
  284. package/build/server/chunks/chunks/mail.js-BmnfY0At.js.map +1 -0
  285. package/build/server/chunks/chunks/minus.js-BkIEK85L.js +15 -0
  286. package/build/server/chunks/chunks/minus.js-BkIEK85L.js.map +1 -0
  287. package/build/server/chunks/chunks/navigation.js-Bj6u8hBc.js +2 -0
  288. package/build/server/chunks/chunks/navigation.js-Bj6u8hBc.js.map +1 -0
  289. package/build/server/chunks/chunks/package.js-D6Oo8duV.js +83 -0
  290. package/build/server/chunks/chunks/package.js-D6Oo8duV.js.map +1 -0
  291. package/build/server/chunks/chunks/paths.js-BDnaqydJ.js +19 -0
  292. package/build/server/chunks/chunks/paths.js-BDnaqydJ.js.map +1 -0
  293. package/build/server/chunks/chunks/permissions.server.js-CeWfvYQt.js +24 -0
  294. package/build/server/chunks/chunks/permissions.server.js-CeWfvYQt.js.map +1 -0
  295. package/build/server/chunks/chunks/plus.js-DKWgh4AF.js +15 -0
  296. package/build/server/chunks/chunks/plus.js-DKWgh4AF.js.map +1 -0
  297. package/build/server/chunks/chunks/projects.js-CnnSUENv.js +47 -0
  298. package/build/server/chunks/chunks/projects.js-CnnSUENv.js.map +1 -0
  299. package/build/server/chunks/chunks/providers.server.js-ChZPXW9c.js +6332 -0
  300. package/build/server/chunks/chunks/providers.server.js-ChZPXW9c.js.map +1 -0
  301. package/build/server/chunks/chunks/refresh-cw.js-KV2b89U7.js +20 -0
  302. package/build/server/chunks/chunks/refresh-cw.js-KV2b89U7.js.map +1 -0
  303. package/build/server/chunks/chunks/request.js-Ddxldk4i.js +119 -0
  304. package/build/server/chunks/chunks/request.js-Ddxldk4i.js.map +1 -0
  305. package/build/server/chunks/chunks/resolve.server.js-DS-IARl-.js +59 -0
  306. package/build/server/chunks/chunks/resolve.server.js-DS-IARl-.js.map +1 -0
  307. package/build/server/chunks/chunks/rotate-ccw.js-BHV7uexu.js +15 -0
  308. package/build/server/chunks/chunks/rotate-ccw.js-BHV7uexu.js.map +1 -0
  309. package/build/server/chunks/chunks/schema.js-CPjRq84j.js +2640 -0
  310. package/build/server/chunks/chunks/schema.js-CPjRq84j.js.map +1 -0
  311. package/build/server/chunks/chunks/scroll-lock.js-Cz5nDjLF.js +1894 -0
  312. package/build/server/chunks/chunks/scroll-lock.js-Cz5nDjLF.js.map +1 -0
  313. package/build/server/chunks/chunks/scroll-text.js-BX6SWtlE.js +20 -0
  314. package/build/server/chunks/chunks/scroll-text.js-BX6SWtlE.js.map +1 -0
  315. package/build/server/chunks/chunks/search.js-BRrgF31e.js +19 -0
  316. package/build/server/chunks/chunks/search.js-BRrgF31e.js.map +1 -0
  317. package/build/server/chunks/chunks/select.js-DNZas_uz.js +3836 -0
  318. package/build/server/chunks/chunks/select.js-DNZas_uz.js.map +1 -0
  319. package/build/server/chunks/chunks/selfUpdate.server.js-3G7rEAza.js +144 -0
  320. package/build/server/chunks/chunks/selfUpdate.server.js-3G7rEAza.js.map +1 -0
  321. package/build/server/chunks/chunks/server.js-eNE8c09e.js +3938 -0
  322. package/build/server/chunks/chunks/server.js-eNE8c09e.js.map +1 -0
  323. package/build/server/chunks/chunks/server2.js-ClXdyAvx.js +44 -0
  324. package/build/server/chunks/chunks/server2.js-ClXdyAvx.js.map +1 -0
  325. package/build/server/chunks/chunks/settings.js-ZajE6fHc.js +19 -0
  326. package/build/server/chunks/chunks/settings.js-ZajE6fHc.js.map +1 -0
  327. package/build/server/chunks/chunks/shared.js-BStsS1ju.js +715 -0
  328. package/build/server/chunks/chunks/shared.js-BStsS1ju.js.map +1 -0
  329. package/build/server/chunks/chunks/shared2.js-BhyhBrAO.js +88 -0
  330. package/build/server/chunks/chunks/shared2.js-BhyhBrAO.js.map +1 -0
  331. package/build/server/chunks/chunks/shield-check.js-DA20Dq3r.js +15 -0
  332. package/build/server/chunks/chunks/shield-check.js-DA20Dq3r.js.map +1 -0
  333. package/build/server/chunks/chunks/shield.js--OZ6yfQ6.js +15 -0
  334. package/build/server/chunks/chunks/shield.js--OZ6yfQ6.js.map +1 -0
  335. package/build/server/chunks/chunks/solve.server.js-CWqV0aXu.js +330 -0
  336. package/build/server/chunks/chunks/solve.server.js-CWqV0aXu.js.map +1 -0
  337. package/build/server/chunks/chunks/src.js-DubgTP8X.js +509 -0
  338. package/build/server/chunks/chunks/src.js-DubgTP8X.js.map +1 -0
  339. package/build/server/chunks/chunks/star.js-DxgEyXvf.js +15 -0
  340. package/build/server/chunks/chunks/star.js-DxgEyXvf.js.map +1 -0
  341. package/build/server/chunks/chunks/state.js-Cz1r_zDs.js +76 -0
  342. package/build/server/chunks/chunks/state.js-Cz1r_zDs.js.map +1 -0
  343. package/build/server/chunks/chunks/stores.js-C94P3LDt.js +35 -0
  344. package/build/server/chunks/chunks/stores.js-C94P3LDt.js.map +1 -0
  345. package/build/server/chunks/chunks/tabs-trigger.js-BMm7AoM3.js +637 -0
  346. package/build/server/chunks/chunks/tabs-trigger.js-BMm7AoM3.js.map +1 -0
  347. package/build/server/chunks/chunks/toast-state.svelte.js-CZ8ABWnl.js +285 -0
  348. package/build/server/chunks/chunks/toast-state.svelte.js-CZ8ABWnl.js.map +1 -0
  349. package/build/server/chunks/chunks/token.server.js-BYt3vaGK.js +133 -0
  350. package/build/server/chunks/chunks/token.server.js-BYt3vaGK.js.map +1 -0
  351. package/build/server/chunks/chunks/token4.server.js-DOLrxUoz.js +18 -0
  352. package/build/server/chunks/chunks/token4.server.js-DOLrxUoz.js.map +1 -0
  353. package/build/server/chunks/chunks/trash.js-DnM7ek4W.js +22 -0
  354. package/build/server/chunks/chunks/trash.js-DnM7ek4W.js.map +1 -0
  355. package/build/server/chunks/chunks/triangle-alert.js-s2Is5z-v.js +38 -0
  356. package/build/server/chunks/chunks/triangle-alert.js-s2Is5z-v.js.map +1 -0
  357. package/build/server/chunks/chunks/uneval.js-NmnccxCg.js +536 -0
  358. package/build/server/chunks/chunks/uneval.js-NmnccxCg.js.map +1 -0
  359. package/build/server/chunks/chunks/user-plus.js-CZYPmLTv.js +34 -0
  360. package/build/server/chunks/chunks/user-plus.js-CZYPmLTv.js.map +1 -0
  361. package/build/server/chunks/chunks/users.js-ByB4SxDK.js +24 -0
  362. package/build/server/chunks/chunks/users.js-ByB4SxDK.js.map +1 -0
  363. package/build/server/chunks/chunks/utils.js-C0Im5SvG.js +750 -0
  364. package/build/server/chunks/chunks/utils.js-C0Im5SvG.js.map +1 -0
  365. package/build/server/chunks/chunks/utils2.js-C1oP9gJ9.js +180 -0
  366. package/build/server/chunks/chunks/utils2.js-C1oP9gJ9.js.map +1 -0
  367. package/build/server/chunks/chunks/x.js-BulvqqL2.js +15 -0
  368. package/build/server/chunks/chunks/x.js-BulvqqL2.js.map +1 -0
  369. package/build/server/chunks/entries/endpoints/api/admin/compute/_server.ts.js-C4zvWpTa.js +97 -0
  370. package/build/server/chunks/entries/endpoints/api/admin/compute/_server.ts.js-C4zvWpTa.js.map +1 -0
  371. package/build/server/chunks/entries/endpoints/api/admin/compute/actions/_server.ts.js-C08cucJ4.js +84 -0
  372. package/build/server/chunks/entries/endpoints/api/admin/compute/actions/_server.ts.js-C08cucJ4.js.map +1 -0
  373. package/build/server/chunks/entries/endpoints/api/admin/compute/status/_server.ts.js-mgDVdpsP.js +95 -0
  374. package/build/server/chunks/entries/endpoints/api/admin/compute/status/_server.ts.js-mgDVdpsP.js.map +1 -0
  375. package/build/server/chunks/entries/endpoints/api/admin/orgs/_id_/_server.ts.js-8B8MVAeF.js +45 -0
  376. package/build/server/chunks/entries/endpoints/api/admin/orgs/_id_/_server.ts.js-8B8MVAeF.js.map +1 -0
  377. package/build/server/chunks/entries/endpoints/api/admin/orgs/_server.ts.js-CeK7tXWj.js +68 -0
  378. package/build/server/chunks/entries/endpoints/api/admin/orgs/_server.ts.js-CeK7tXWj.js.map +1 -0
  379. package/build/server/chunks/entries/endpoints/api/admin/projects/_id_/_server.ts.js-Co7FRrhe.js +61 -0
  380. package/build/server/chunks/entries/endpoints/api/admin/projects/_id_/_server.ts.js-Co7FRrhe.js.map +1 -0
  381. package/build/server/chunks/entries/endpoints/api/admin/projects/_id_/grants/_grantId_/_server.ts.js-DED3r-kj.js +33 -0
  382. package/build/server/chunks/entries/endpoints/api/admin/projects/_id_/grants/_grantId_/_server.ts.js-DED3r-kj.js.map +1 -0
  383. package/build/server/chunks/entries/endpoints/api/admin/projects/_id_/grants/_server.ts.js-BxLUdLxN.js +64 -0
  384. package/build/server/chunks/entries/endpoints/api/admin/projects/_id_/grants/_server.ts.js-BxLUdLxN.js.map +1 -0
  385. package/build/server/chunks/entries/endpoints/api/admin/projects/_server.ts.js-vn2pHo2t.js +79 -0
  386. package/build/server/chunks/entries/endpoints/api/admin/projects/_server.ts.js-vn2pHo2t.js.map +1 -0
  387. package/build/server/chunks/entries/endpoints/api/admin/system/health/_server.ts.js-wL5wrwub.js +362 -0
  388. package/build/server/chunks/entries/endpoints/api/admin/system/health/_server.ts.js-wL5wrwub.js.map +1 -0
  389. package/build/server/chunks/entries/endpoints/api/admin/system/throughput/_server.ts.js-DdYlU8JW.js +84 -0
  390. package/build/server/chunks/entries/endpoints/api/admin/system/throughput/_server.ts.js-DdYlU8JW.js.map +1 -0
  391. package/build/server/chunks/entries/endpoints/api/admin/system/update/_server.ts.js-Drck9zMK.js +606 -0
  392. package/build/server/chunks/entries/endpoints/api/admin/system/update/_server.ts.js-Drck9zMK.js.map +1 -0
  393. package/build/server/chunks/entries/endpoints/api/admin/users/_id_/_server.ts.js-ZL_Mc6bK.js +57 -0
  394. package/build/server/chunks/entries/endpoints/api/admin/users/_id_/_server.ts.js-ZL_Mc6bK.js.map +1 -0
  395. package/build/server/chunks/entries/endpoints/api/admin/users/_id_/disable/_server.ts.js-Dr_cKDcf.js +66 -0
  396. package/build/server/chunks/entries/endpoints/api/admin/users/_id_/disable/_server.ts.js-Dr_cKDcf.js.map +1 -0
  397. package/build/server/chunks/entries/endpoints/api/admin/users/_server.ts.js-ZW874zVH.js +82 -0
  398. package/build/server/chunks/entries/endpoints/api/admin/users/_server.ts.js-ZW874zVH.js.map +1 -0
  399. package/build/server/chunks/entries/endpoints/api/diag/throughput/_server.ts.js-BH0zJuYp.js +61 -0
  400. package/build/server/chunks/entries/endpoints/api/diag/throughput/_server.ts.js-BH0zJuYp.js.map +1 -0
  401. package/build/server/chunks/entries/endpoints/api/files/_...path_/_server.ts.js-CZyi8Lmo.js +92 -0
  402. package/build/server/chunks/entries/endpoints/api/files/_...path_/_server.ts.js-CZyi8Lmo.js.map +1 -0
  403. package/build/server/chunks/entries/endpoints/api/health/_server.ts.js-DPPGkl2g.js +58 -0
  404. package/build/server/chunks/entries/endpoints/api/health/_server.ts.js-DPPGkl2g.js.map +1 -0
  405. package/build/server/chunks/entries/endpoints/api/health/ready/_server.ts.js-kn8hNkDX.js +61 -0
  406. package/build/server/chunks/entries/endpoints/api/health/ready/_server.ts.js-kn8hNkDX.js.map +1 -0
  407. package/build/server/chunks/entries/endpoints/api/v1/compute/_server.ts.js-CSBh8B5T.js +88 -0
  408. package/build/server/chunks/entries/endpoints/api/v1/compute/_server.ts.js-CSBh8B5T.js.map +1 -0
  409. package/build/server/chunks/entries/endpoints/api/v1/compute/schema/_server.ts.js-B8coTxhK.js +67 -0
  410. package/build/server/chunks/entries/endpoints/api/v1/compute/schema/_server.ts.js-B8coTxhK.js.map +1 -0
  411. package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/_server.ts.js-PrHkeEQq.js +42 -0
  412. package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/_server.ts.js-PrHkeEQq.js.map +1 -0
  413. package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/image/_server.ts.js-ClCkTBIn.js +40 -0
  414. package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/image/_server.ts.js-ClCkTBIn.js.map +1 -0
  415. package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/publish/_server.ts.js-Bj8z1hbn.js +40 -0
  416. package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/publish/_server.ts.js-Bj8z1hbn.js.map +1 -0
  417. package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/schema/_server.ts.js-CK44e35g.js +40 -0
  418. package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/schema/_server.ts.js-CK44e35g.js.map +1 -0
  419. package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/share-links/_linkId_/_server.ts.js-Bhw-ZptE.js +40 -0
  420. package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/share-links/_linkId_/_server.ts.js-Bhw-ZptE.js.map +1 -0
  421. package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/share-links/_server.ts.js-6lVGag1l.js +41 -0
  422. package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/share-links/_server.ts.js-6lVGag1l.js.map +1 -0
  423. package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/solve/_server.ts.js-CMVDXaTW.js +212 -0
  424. package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/solve/_server.ts.js-CMVDXaTW.js.map +1 -0
  425. package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/versions/_server.ts.js-DC57vDID.js +41 -0
  426. package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/versions/_server.ts.js-DC57vDID.js.map +1 -0
  427. package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/versions/_versionId_/_server.ts.js-BVBNdMWP.js +41 -0
  428. package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/versions/_versionId_/_server.ts.js-BVBNdMWP.js.map +1 -0
  429. package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/versions/_versionId_/schema/_server.ts.js-BQ5eOB7P.js +40 -0
  430. package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/versions/_versionId_/schema/_server.ts.js-BQ5eOB7P.js.map +1 -0
  431. package/build/server/chunks/entries/endpoints/api/v1/definitions/_server.ts.js-BALvZgO3.js +40 -0
  432. package/build/server/chunks/entries/endpoints/api/v1/definitions/_server.ts.js-BALvZgO3.js.map +1 -0
  433. package/build/server/chunks/entries/endpoints/api/v1/me/_server.ts.js-CZbN3AG6.js +39 -0
  434. package/build/server/chunks/entries/endpoints/api/v1/me/_server.ts.js-CZbN3AG6.js.map +1 -0
  435. package/build/server/chunks/entries/endpoints/api/v1/me/starred/_guid_/_server.ts.js-BrvDsJMM.js +40 -0
  436. package/build/server/chunks/entries/endpoints/api/v1/me/starred/_guid_/_server.ts.js-BrvDsJMM.js.map +1 -0
  437. package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/_server.ts.js-CUjFQKRz.js +39 -0
  438. package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/_server.ts.js-CUjFQKRz.js.map +1 -0
  439. package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/assets/_kind_/_server.ts.js-LD823rDy.js +40 -0
  440. package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/assets/_kind_/_server.ts.js-LD823rDy.js.map +1 -0
  441. package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/compute/_server.ts.js-BhnkCXTg.js +40 -0
  442. package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/compute/_server.ts.js-BhnkCXTg.js.map +1 -0
  443. package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/invites/_id_/_server.ts.js-COlqDmAO.js +39 -0
  444. package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/invites/_id_/_server.ts.js-COlqDmAO.js.map +1 -0
  445. package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/invites/_id_/resend/_server.ts.js-CGmT2t75.js +39 -0
  446. package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/invites/_id_/resend/_server.ts.js-CGmT2t75.js.map +1 -0
  447. package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/invites/_server.ts.js-DQpZYzOA.js +40 -0
  448. package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/invites/_server.ts.js-DQpZYzOA.js.map +1 -0
  449. package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/members/_server.ts.js-CWQxVL9_.js +39 -0
  450. package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/members/_server.ts.js-CWQxVL9_.js.map +1 -0
  451. package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/members/_userId_/_server.ts.js-CGF6D1Si.js +40 -0
  452. package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/members/_userId_/_server.ts.js-CGF6D1Si.js.map +1 -0
  453. package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/tokens/_server.ts.js-D9uW2Znn.js +40 -0
  454. package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/tokens/_server.ts.js-D9uW2Znn.js.map +1 -0
  455. package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/tokens/_tokenId_/_server.ts.js-DoZ_agSy.js +39 -0
  456. package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/tokens/_tokenId_/_server.ts.js-DoZ_agSy.js.map +1 -0
  457. package/build/server/chunks/entries/endpoints/api/v1/projects/_id_/_server.ts.js-DrtDCide.js +42 -0
  458. package/build/server/chunks/entries/endpoints/api/v1/projects/_id_/_server.ts.js-DrtDCide.js.map +1 -0
  459. package/build/server/chunks/entries/endpoints/api/v1/projects/_id_/members/_server.ts.js-CMv3AmJK.js +41 -0
  460. package/build/server/chunks/entries/endpoints/api/v1/projects/_id_/members/_server.ts.js-CMv3AmJK.js.map +1 -0
  461. package/build/server/chunks/entries/endpoints/api/v1/projects/_id_/members/_userId_/_server.ts.js-BxrmTpJq.js +41 -0
  462. package/build/server/chunks/entries/endpoints/api/v1/projects/_id_/members/_userId_/_server.ts.js-BxrmTpJq.js.map +1 -0
  463. package/build/server/chunks/entries/endpoints/api/v1/projects/_id_/reclaim/_server.ts.js-CnhNLuEe.js +40 -0
  464. package/build/server/chunks/entries/endpoints/api/v1/projects/_id_/reclaim/_server.ts.js-CnhNLuEe.js.map +1 -0
  465. package/build/server/chunks/entries/endpoints/api/v1/projects/_server.ts.js-CL_mZEkF.js +40 -0
  466. package/build/server/chunks/entries/endpoints/api/v1/projects/_server.ts.js-CL_mZEkF.js.map +1 -0
  467. package/build/server/chunks/entries/endpoints/api/v1/solve/_solveId_/cancel/_server.ts.js-Bww7Fr_A.js +28 -0
  468. package/build/server/chunks/entries/endpoints/api/v1/solve/_solveId_/cancel/_server.ts.js-Bww7Fr_A.js.map +1 -0
  469. package/build/server/chunks/entries/endpoints/api/v1/solve-events/_server.ts.js-B4CH0Q9Q.js +89 -0
  470. package/build/server/chunks/entries/endpoints/api/v1/solve-events/_server.ts.js-B4CH0Q9Q.js.map +1 -0
  471. package/build/server/chunks/entries/endpoints/api/v1/solve-events/_solveId_/_server.ts.js-DydGXQPk.js +62 -0
  472. package/build/server/chunks/entries/endpoints/api/v1/solve-events/_solveId_/_server.ts.js-DydGXQPk.js.map +1 -0
  473. package/build/server/chunks/entries/endpoints/auth/email/callback/_server.ts.js-D0_7wZ6c.js +49 -0
  474. package/build/server/chunks/entries/endpoints/auth/email/callback/_server.ts.js-D0_7wZ6c.js.map +1 -0
  475. package/build/server/chunks/entries/endpoints/auth/supabase/callback/_server.ts.js-DrdqjC1E.js +55 -0
  476. package/build/server/chunks/entries/endpoints/auth/supabase/callback/_server.ts.js-DrdqjC1E.js.map +1 -0
  477. package/build/server/chunks/entries/endpoints/auth/supabase/start/_server.ts.js-BmvoAwMm.js +63 -0
  478. package/build/server/chunks/entries/endpoints/auth/supabase/start/_server.ts.js-BmvoAwMm.js.map +1 -0
  479. package/build/server/chunks/entries/endpoints/docs/api/openapi.yaml/_server.ts.js-L1EgGahx.js +11 -0
  480. package/build/server/chunks/entries/endpoints/docs/api/openapi.yaml/_server.ts.js-L1EgGahx.js.map +1 -0
  481. package/build/server/chunks/entries/hooks.server.js-Bj2XPzPM.js +347 -0
  482. package/build/server/chunks/entries/hooks.server.js-Bj2XPzPM.js.map +1 -0
  483. package/build/server/chunks/entries/pages/_error.svelte.js-DzR3mOND.js +35 -0
  484. package/build/server/chunks/entries/pages/_error.svelte.js-DzR3mOND.js.map +1 -0
  485. package/build/server/chunks/entries/pages/_layout.server.ts.js-VkA6jAkB.js +34 -0
  486. package/build/server/chunks/entries/pages/_layout.server.ts.js-VkA6jAkB.js.map +1 -0
  487. package/build/server/chunks/entries/pages/_layout.svelte.js-BIFnd_Yh.js +639 -0
  488. package/build/server/chunks/entries/pages/_layout.svelte.js-BIFnd_Yh.js.map +1 -0
  489. package/build/server/chunks/entries/pages/_page.server.ts.js-Dn4ys9BC.js +55 -0
  490. package/build/server/chunks/entries/pages/_page.server.ts.js-Dn4ys9BC.js.map +1 -0
  491. package/build/server/chunks/entries/pages/_page.svelte.js-CnjA-gBE.js +155 -0
  492. package/build/server/chunks/entries/pages/_page.svelte.js-CnjA-gBE.js.map +1 -0
  493. package/build/server/chunks/entries/pages/accept-invite/_page.server.ts.js-CsoFpB_L.js +181 -0
  494. package/build/server/chunks/entries/pages/accept-invite/_page.server.ts.js-CsoFpB_L.js.map +1 -0
  495. package/build/server/chunks/entries/pages/accept-invite/_page.svelte.js-CBloKhLk.js +176 -0
  496. package/build/server/chunks/entries/pages/accept-invite/_page.svelte.js-CBloKhLk.js.map +1 -0
  497. package/build/server/chunks/entries/pages/admin/_error.svelte.js-kpXaWzfd.js +37 -0
  498. package/build/server/chunks/entries/pages/admin/_error.svelte.js-kpXaWzfd.js.map +1 -0
  499. package/build/server/chunks/entries/pages/admin/_layout.server.ts.js-Di14m5LV.js +31 -0
  500. package/build/server/chunks/entries/pages/admin/_layout.server.ts.js-Di14m5LV.js.map +1 -0
  501. package/build/server/chunks/entries/pages/admin/_layout.svelte.js-XOX6cXlT.js +130 -0
  502. package/build/server/chunks/entries/pages/admin/_layout.svelte.js-XOX6cXlT.js.map +1 -0
  503. package/build/server/chunks/entries/pages/admin/_page.server.ts.js-i7x7O1Ct.js +76 -0
  504. package/build/server/chunks/entries/pages/admin/_page.server.ts.js-i7x7O1Ct.js.map +1 -0
  505. package/build/server/chunks/entries/pages/admin/_page.svelte.js-CIqEVgN4.js +393 -0
  506. package/build/server/chunks/entries/pages/admin/_page.svelte.js-CIqEVgN4.js.map +1 -0
  507. package/build/server/chunks/entries/pages/admin/audit/_page.server.ts.js-BiZf-Pi9.js +269 -0
  508. package/build/server/chunks/entries/pages/admin/audit/_page.server.ts.js-BiZf-Pi9.js.map +1 -0
  509. package/build/server/chunks/entries/pages/admin/audit/_page.svelte.js-CfZ6UtIO.js +455 -0
  510. package/build/server/chunks/entries/pages/admin/audit/_page.svelte.js-CfZ6UtIO.js.map +1 -0
  511. package/build/server/chunks/entries/pages/admin/compute/_page.server.ts.js-S9FERdrj.js +74 -0
  512. package/build/server/chunks/entries/pages/admin/compute/_page.server.ts.js-S9FERdrj.js.map +1 -0
  513. package/build/server/chunks/entries/pages/admin/compute/_page.svelte.js-Dw_qYKrQ.js +839 -0
  514. package/build/server/chunks/entries/pages/admin/compute/_page.svelte.js-Dw_qYKrQ.js.map +1 -0
  515. package/build/server/chunks/entries/pages/admin/organizations/_page.server.ts.js-Xi21Pvlg.js +35 -0
  516. package/build/server/chunks/entries/pages/admin/organizations/_page.server.ts.js-Xi21Pvlg.js.map +1 -0
  517. package/build/server/chunks/entries/pages/admin/organizations/_page.svelte.js-CAepH7so.js +95 -0
  518. package/build/server/chunks/entries/pages/admin/organizations/_page.svelte.js-CAepH7so.js.map +1 -0
  519. package/build/server/chunks/entries/pages/admin/projects/_id_/_page.server.ts.js-DBHWrbqL.js +86 -0
  520. package/build/server/chunks/entries/pages/admin/projects/_id_/_page.server.ts.js-DBHWrbqL.js.map +1 -0
  521. package/build/server/chunks/entries/pages/admin/projects/_id_/_page.svelte.js-BiNjosKZ.js +636 -0
  522. package/build/server/chunks/entries/pages/admin/projects/_id_/_page.svelte.js-BiNjosKZ.js.map +1 -0
  523. package/build/server/chunks/entries/pages/admin/projects/_page.server.ts.js-CiSXRELZ.js +42 -0
  524. package/build/server/chunks/entries/pages/admin/projects/_page.server.ts.js-CiSXRELZ.js.map +1 -0
  525. package/build/server/chunks/entries/pages/admin/projects/_page.svelte.js-GneO2YkY.js +283 -0
  526. package/build/server/chunks/entries/pages/admin/projects/_page.svelte.js-GneO2YkY.js.map +1 -0
  527. package/build/server/chunks/entries/pages/admin/system/_page.server.ts.js-Pzd3NbQi.js +87 -0
  528. package/build/server/chunks/entries/pages/admin/system/_page.server.ts.js-Pzd3NbQi.js.map +1 -0
  529. package/build/server/chunks/entries/pages/admin/system/_page.svelte.js-Cf3XK62H.js +1368 -0
  530. package/build/server/chunks/entries/pages/admin/system/_page.svelte.js-Cf3XK62H.js.map +1 -0
  531. package/build/server/chunks/entries/pages/admin/tokens/_page.server.ts.js-B_uReSBY.js +63 -0
  532. package/build/server/chunks/entries/pages/admin/tokens/_page.server.ts.js-B_uReSBY.js.map +1 -0
  533. package/build/server/chunks/entries/pages/admin/tokens/_page.svelte.js-sWYV8Oef.js +767 -0
  534. package/build/server/chunks/entries/pages/admin/tokens/_page.svelte.js-sWYV8Oef.js.map +1 -0
  535. package/build/server/chunks/entries/pages/admin/users/_page.server.ts.js-CIcCQiGg.js +79 -0
  536. package/build/server/chunks/entries/pages/admin/users/_page.server.ts.js-CIcCQiGg.js.map +1 -0
  537. package/build/server/chunks/entries/pages/admin/users/_page.svelte.js-Bmx7quuK.js +622 -0
  538. package/build/server/chunks/entries/pages/admin/users/_page.svelte.js-Bmx7quuK.js.map +1 -0
  539. package/build/server/chunks/entries/pages/auth/email/sent/_page.svelte.js-D55x9xNN.js +63 -0
  540. package/build/server/chunks/entries/pages/auth/email/sent/_page.svelte.js-D55x9xNN.js.map +1 -0
  541. package/build/server/chunks/entries/pages/auth/email/start/_page.server.ts.js-DvFebSOT.js +62 -0
  542. package/build/server/chunks/entries/pages/auth/email/start/_page.server.ts.js-DvFebSOT.js.map +1 -0
  543. package/build/server/chunks/entries/pages/auth/email/start/_page.svelte.js-CsJZuYTE.js +15 -0
  544. package/build/server/chunks/entries/pages/auth/email/start/_page.svelte.js-CsJZuYTE.js.map +1 -0
  545. package/build/server/chunks/entries/pages/docs/api/_page.server.ts.js-DzJ2nhcI.js +618 -0
  546. package/build/server/chunks/entries/pages/docs/api/_page.server.ts.js-DzJ2nhcI.js.map +1 -0
  547. package/build/server/chunks/entries/pages/docs/api/_page.svelte.js-Duk9z0WB.js +85 -0
  548. package/build/server/chunks/entries/pages/docs/api/_page.svelte.js-Duk9z0WB.js.map +1 -0
  549. package/build/server/chunks/entries/pages/library/_guid_/_page.server.ts.js-twar9Tm6.js +120 -0
  550. package/build/server/chunks/entries/pages/library/_guid_/_page.server.ts.js-twar9Tm6.js.map +1 -0
  551. package/build/server/chunks/entries/pages/library/_guid_/_page.svelte.js-CndMw4j3.js +15116 -0
  552. package/build/server/chunks/entries/pages/library/_guid_/_page.svelte.js-CndMw4j3.js.map +1 -0
  553. package/build/server/chunks/entries/pages/library/_page.server.ts.js-DuEfjzFo.js +50 -0
  554. package/build/server/chunks/entries/pages/library/_page.server.ts.js-DuEfjzFo.js.map +1 -0
  555. package/build/server/chunks/entries/pages/library/_page.svelte.js-BMh6TjiL.js +301 -0
  556. package/build/server/chunks/entries/pages/library/_page.svelte.js-BMh6TjiL.js.map +1 -0
  557. package/build/server/chunks/entries/pages/login/_page.server.ts.js-0B9d7iLb.js +101 -0
  558. package/build/server/chunks/entries/pages/login/_page.server.ts.js-0B9d7iLb.js.map +1 -0
  559. package/build/server/chunks/entries/pages/login/_page.svelte.js-SHbox6u1.js +256 -0
  560. package/build/server/chunks/entries/pages/login/_page.svelte.js-SHbox6u1.js.map +1 -0
  561. package/build/server/chunks/entries/pages/logout/_page.server.ts.js-BhlAYTSN.js +19 -0
  562. package/build/server/chunks/entries/pages/logout/_page.server.ts.js-BhlAYTSN.js.map +1 -0
  563. package/build/server/chunks/entries/pages/projects/_layout.server.ts.js-Dl13a9ZK.js +22 -0
  564. package/build/server/chunks/entries/pages/projects/_layout.server.ts.js-Dl13a9ZK.js.map +1 -0
  565. package/build/server/chunks/entries/pages/projects/_layout.svelte.js-i8pxpmGZ.js +49 -0
  566. package/build/server/chunks/entries/pages/projects/_layout.svelte.js-i8pxpmGZ.js.map +1 -0
  567. package/build/server/chunks/entries/pages/projects/_page.server.ts.js-S6RCwcC0.js +93 -0
  568. package/build/server/chunks/entries/pages/projects/_page.server.ts.js-S6RCwcC0.js.map +1 -0
  569. package/build/server/chunks/entries/pages/projects/_page.svelte.js-CgtCgjQn.js +3741 -0
  570. package/build/server/chunks/entries/pages/projects/_page.svelte.js-CgtCgjQn.js.map +1 -0
  571. package/build/server/chunks/entries/pages/setup/_page.server.ts.js-CgWywy5o.js +116 -0
  572. package/build/server/chunks/entries/pages/setup/_page.server.ts.js-CgWywy5o.js.map +1 -0
  573. package/build/server/chunks/entries/pages/setup/_page.svelte.js-BU8krPgH.js +312 -0
  574. package/build/server/chunks/entries/pages/setup/_page.svelte.js-BU8krPgH.js.map +1 -0
  575. package/build/server/chunks/entries/pages/team/_layout.server.ts.js-ajLAMCM-.js +28 -0
  576. package/build/server/chunks/entries/pages/team/_layout.server.ts.js-ajLAMCM-.js.map +1 -0
  577. package/build/server/chunks/entries/pages/team/_layout.svelte.js-CJg_-B3o.js +166 -0
  578. package/build/server/chunks/entries/pages/team/_layout.svelte.js-CJg_-B3o.js.map +1 -0
  579. package/build/server/chunks/entries/pages/team/_page.server.ts.js-B9nkUvbO.js +35 -0
  580. package/build/server/chunks/entries/pages/team/_page.server.ts.js-B9nkUvbO.js.map +1 -0
  581. package/build/server/chunks/entries/pages/team/_page.svelte.js-jZwYnoWS.js +109 -0
  582. package/build/server/chunks/entries/pages/team/_page.svelte.js-jZwYnoWS.js.map +1 -0
  583. package/build/server/chunks/entries/pages/team/activity/_page.svelte.js-hiXqyIEl.js +121 -0
  584. package/build/server/chunks/entries/pages/team/activity/_page.svelte.js-hiXqyIEl.js.map +1 -0
  585. package/build/server/chunks/entries/pages/team/compute/_page.server.ts.js-eZ0rqm-Y.js +42 -0
  586. package/build/server/chunks/entries/pages/team/compute/_page.server.ts.js-eZ0rqm-Y.js.map +1 -0
  587. package/build/server/chunks/entries/pages/team/compute/_page.svelte.js-C_uWX-BX.js +611 -0
  588. package/build/server/chunks/entries/pages/team/compute/_page.svelte.js-C_uWX-BX.js.map +1 -0
  589. package/build/server/chunks/entries/pages/team/members/_page.server.ts.js-C4YVi5Jx.js +62 -0
  590. package/build/server/chunks/entries/pages/team/members/_page.server.ts.js-C4YVi5Jx.js.map +1 -0
  591. package/build/server/chunks/entries/pages/team/members/_page.svelte.js-DvEf03Cj.js +805 -0
  592. package/build/server/chunks/entries/pages/team/members/_page.svelte.js-DvEf03Cj.js.map +1 -0
  593. package/build/server/chunks/entries/pages/team/projects/_page.server.ts.js-CU30Q4f2.js +58 -0
  594. package/build/server/chunks/entries/pages/team/projects/_page.server.ts.js-CU30Q4f2.js.map +1 -0
  595. package/build/server/chunks/entries/pages/team/projects/_page.svelte.js-Bvg8_f7g.js +422 -0
  596. package/build/server/chunks/entries/pages/team/projects/_page.svelte.js-Bvg8_f7g.js.map +1 -0
  597. package/build/server/chunks/entries/pages/team/reclaim/_page.server.ts.js-CC-aq4Y8.js +67 -0
  598. package/build/server/chunks/entries/pages/team/reclaim/_page.server.ts.js-CC-aq4Y8.js.map +1 -0
  599. package/build/server/chunks/entries/pages/team/reclaim/_page.svelte.js-Bxnf0_1q.js +265 -0
  600. package/build/server/chunks/entries/pages/team/reclaim/_page.svelte.js-Bxnf0_1q.js.map +1 -0
  601. package/build/server/chunks/entries/pages/team/settings/_page.server.ts.js-C7Ekqm-a.js +34 -0
  602. package/build/server/chunks/entries/pages/team/settings/_page.server.ts.js-C7Ekqm-a.js.map +1 -0
  603. package/build/server/chunks/entries/pages/team/settings/_page.svelte.js-DZUYObLr.js +303 -0
  604. package/build/server/chunks/entries/pages/team/settings/_page.svelte.js-DZUYObLr.js.map +1 -0
  605. package/build/server/chunks/entries/pages/team/shares/_page.server.ts.js-DLC3ASNG.js +29 -0
  606. package/build/server/chunks/entries/pages/team/shares/_page.server.ts.js-DLC3ASNG.js.map +1 -0
  607. package/build/server/chunks/entries/pages/team/shares/_page.svelte.js-Bozo_Z--.js +311 -0
  608. package/build/server/chunks/entries/pages/team/shares/_page.svelte.js-Bozo_Z--.js.map +1 -0
  609. package/build/server/chunks/handler-BgASRWeE.js +1206 -0
  610. package/build/server/chunks/handler-BgASRWeE.js.map +1 -0
  611. package/build/server/chunks/index.js-CpLY1Lav.js +3767 -0
  612. package/build/server/chunks/index.js-CpLY1Lav.js.map +1 -0
  613. package/build/server/chunks/manifest.js-1B01CMS6.js +655 -0
  614. package/build/server/chunks/manifest.js-1B01CMS6.js.map +1 -0
  615. package/build/server/chunks/nodes/0.js-B-PLsNjh.js +26 -0
  616. package/build/server/chunks/nodes/0.js-B-PLsNjh.js.map +1 -0
  617. package/build/server/chunks/nodes/1.js-Blzoyll4.js +9 -0
  618. package/build/server/chunks/nodes/1.js-Blzoyll4.js.map +1 -0
  619. package/build/server/chunks/nodes/10.js-B_WJj871.js +29 -0
  620. package/build/server/chunks/nodes/10.js-B_WJj871.js.map +1 -0
  621. package/build/server/chunks/nodes/11.js-DFlVRMfZ.js +35 -0
  622. package/build/server/chunks/nodes/11.js-DFlVRMfZ.js.map +1 -0
  623. package/build/server/chunks/nodes/12.js-CyMf6KT2.js +27 -0
  624. package/build/server/chunks/nodes/12.js-CyMf6KT2.js.map +1 -0
  625. package/build/server/chunks/nodes/13.js-Dz_X5XBB.js +27 -0
  626. package/build/server/chunks/nodes/13.js-Dz_X5XBB.js.map +1 -0
  627. package/build/server/chunks/nodes/14.js-RpuWETS4.js +27 -0
  628. package/build/server/chunks/nodes/14.js-RpuWETS4.js.map +1 -0
  629. package/build/server/chunks/nodes/15.js-BK0Ww3d0.js +36 -0
  630. package/build/server/chunks/nodes/15.js-BK0Ww3d0.js.map +1 -0
  631. package/build/server/chunks/nodes/16.js-FJRjujyw.js +32 -0
  632. package/build/server/chunks/nodes/16.js-FJRjujyw.js.map +1 -0
  633. package/build/server/chunks/nodes/17.js-D1R9byiZ.js +29 -0
  634. package/build/server/chunks/nodes/17.js-D1R9byiZ.js.map +1 -0
  635. package/build/server/chunks/nodes/18.js-Fy8sPXDG.js +9 -0
  636. package/build/server/chunks/nodes/18.js-Fy8sPXDG.js.map +1 -0
  637. package/build/server/chunks/nodes/19.js-DyX-LEwD.js +32 -0
  638. package/build/server/chunks/nodes/19.js-DyX-LEwD.js.map +1 -0
  639. package/build/server/chunks/nodes/2.js-CC-DSXE8.js +29 -0
  640. package/build/server/chunks/nodes/2.js-CC-DSXE8.js.map +1 -0
  641. package/build/server/chunks/nodes/20.js-CEwiznR-.js +21 -0
  642. package/build/server/chunks/nodes/20.js-CEwiznR-.js.map +1 -0
  643. package/build/server/chunks/nodes/21.js-CGr7VoHh.js +20 -0
  644. package/build/server/chunks/nodes/21.js-CGr7VoHh.js.map +1 -0
  645. package/build/server/chunks/nodes/22.js-dLxRCvnd.js +39 -0
  646. package/build/server/chunks/nodes/22.js-dLxRCvnd.js.map +1 -0
  647. package/build/server/chunks/nodes/23.js-DRSY_Cd3.js +32 -0
  648. package/build/server/chunks/nodes/23.js-DRSY_Cd3.js.map +1 -0
  649. package/build/server/chunks/nodes/24.js-MnYWci-H.js +29 -0
  650. package/build/server/chunks/nodes/24.js-MnYWci-H.js.map +1 -0
  651. package/build/server/chunks/nodes/25.js-C8K-Mg5J.js +28 -0
  652. package/build/server/chunks/nodes/25.js-C8K-Mg5J.js.map +1 -0
  653. package/build/server/chunks/nodes/26.js-C96KWHu_.js +32 -0
  654. package/build/server/chunks/nodes/26.js-C96KWHu_.js.map +1 -0
  655. package/build/server/chunks/nodes/27.js-BXqPgHWZ.js +27 -0
  656. package/build/server/chunks/nodes/27.js-BXqPgHWZ.js.map +1 -0
  657. package/build/server/chunks/nodes/28.js-C9d3TebG.js +9 -0
  658. package/build/server/chunks/nodes/28.js-C9d3TebG.js.map +1 -0
  659. package/build/server/chunks/nodes/29.js-DAf7JOZu.js +27 -0
  660. package/build/server/chunks/nodes/29.js-DAf7JOZu.js.map +1 -0
  661. package/build/server/chunks/nodes/3.js-CEoW5UEi.js +9 -0
  662. package/build/server/chunks/nodes/3.js-CEoW5UEi.js.map +1 -0
  663. package/build/server/chunks/nodes/30.js-D62Ka308.js +27 -0
  664. package/build/server/chunks/nodes/30.js-D62Ka308.js.map +1 -0
  665. package/build/server/chunks/nodes/31.js-peZ5Bn0Y.js +28 -0
  666. package/build/server/chunks/nodes/31.js-peZ5Bn0Y.js.map +1 -0
  667. package/build/server/chunks/nodes/32.js-DBiWJSl3.js +27 -0
  668. package/build/server/chunks/nodes/32.js-DBiWJSl3.js.map +1 -0
  669. package/build/server/chunks/nodes/33.js-wInRioMo.js +27 -0
  670. package/build/server/chunks/nodes/33.js-wInRioMo.js.map +1 -0
  671. package/build/server/chunks/nodes/34.js-zpGpZ8Sx.js +27 -0
  672. package/build/server/chunks/nodes/34.js-zpGpZ8Sx.js.map +1 -0
  673. package/build/server/chunks/nodes/5.js-shrQeFeP.js +15 -0
  674. package/build/server/chunks/nodes/5.js-shrQeFeP.js.map +1 -0
  675. package/build/server/chunks/nodes/6.js-DOTYJT75.js +27 -0
  676. package/build/server/chunks/nodes/6.js-DOTYJT75.js.map +1 -0
  677. package/build/server/chunks/nodes/7.js-By3IByI-.js +20 -0
  678. package/build/server/chunks/nodes/7.js-By3IByI-.js.map +1 -0
  679. package/build/server/chunks/nodes/8.js-CUvuiwbc.js +33 -0
  680. package/build/server/chunks/nodes/8.js-CUvuiwbc.js.map +1 -0
  681. package/build/server/chunks/nodes/9.js-oWxwaLHP.js +27 -0
  682. package/build/server/chunks/nodes/9.js-oWxwaLHP.js.map +1 -0
  683. package/package.json +11 -11
  684. package/templates/.env.example +16 -0
  685. package/build/client/_app/immutable/assets/0.CHORFFjr.css +0 -2
  686. package/build/client/_app/immutable/assets/0.CHORFFjr.css.br +0 -0
  687. package/build/client/_app/immutable/assets/0.CHORFFjr.css.gz +0 -0
  688. package/build/client/_app/immutable/chunks/BNWy4WV5.js +0 -1
  689. package/build/client/_app/immutable/chunks/BNWy4WV5.js.br +0 -1
  690. package/build/client/_app/immutable/chunks/BNWy4WV5.js.gz +0 -0
  691. package/build/client/_app/immutable/chunks/BO9xGpoH.js +0 -1
  692. package/build/client/_app/immutable/chunks/BO9xGpoH.js.br +0 -0
  693. package/build/client/_app/immutable/chunks/BO9xGpoH.js.gz +0 -0
  694. package/build/client/_app/immutable/chunks/BU8me_4_.js +0 -1
  695. package/build/client/_app/immutable/chunks/BU8me_4_.js.br +0 -2
  696. package/build/client/_app/immutable/chunks/BU8me_4_.js.gz +0 -0
  697. package/build/client/_app/immutable/chunks/BWDKY0xj.js +0 -1
  698. package/build/client/_app/immutable/chunks/BWDKY0xj.js.br +0 -0
  699. package/build/client/_app/immutable/chunks/BWDKY0xj.js.gz +0 -0
  700. package/build/client/_app/immutable/chunks/Bh4U2MHd.js +0 -2
  701. package/build/client/_app/immutable/chunks/Bh4U2MHd.js.br +0 -0
  702. package/build/client/_app/immutable/chunks/Bh4U2MHd.js.gz +0 -0
  703. package/build/client/_app/immutable/chunks/CD92Bx3V.js +0 -1
  704. package/build/client/_app/immutable/chunks/CD92Bx3V.js.br +0 -0
  705. package/build/client/_app/immutable/chunks/CD92Bx3V.js.gz +0 -0
  706. package/build/client/_app/immutable/chunks/CYdrLa8X.js +0 -2
  707. package/build/client/_app/immutable/chunks/CYdrLa8X.js.br +0 -0
  708. package/build/client/_app/immutable/chunks/CYdrLa8X.js.gz +0 -0
  709. package/build/client/_app/immutable/chunks/DpMC-4rK.js +0 -1
  710. package/build/client/_app/immutable/chunks/DpMC-4rK.js.br +0 -0
  711. package/build/client/_app/immutable/chunks/DpMC-4rK.js.gz +0 -0
  712. package/build/client/_app/immutable/chunks/DplgZKjt.js +0 -1
  713. package/build/client/_app/immutable/chunks/DplgZKjt.js.br +0 -0
  714. package/build/client/_app/immutable/chunks/DplgZKjt.js.gz +0 -0
  715. package/build/client/_app/immutable/chunks/G1aqGNh_.js +0 -1
  716. package/build/client/_app/immutable/chunks/G1aqGNh_.js.br +0 -1
  717. package/build/client/_app/immutable/chunks/G1aqGNh_.js.gz +0 -0
  718. package/build/client/_app/immutable/chunks/ajFB_Ifu.js +0 -55
  719. package/build/client/_app/immutable/chunks/ajFB_Ifu.js.br +0 -0
  720. package/build/client/_app/immutable/chunks/ajFB_Ifu.js.gz +0 -0
  721. package/build/client/_app/immutable/chunks/qe9xW8nj.js +0 -1
  722. package/build/client/_app/immutable/chunks/qe9xW8nj.js.br +0 -0
  723. package/build/client/_app/immutable/chunks/qe9xW8nj.js.gz +0 -0
  724. package/build/client/_app/immutable/entry/app.DskHyUyY.js +0 -2
  725. package/build/client/_app/immutable/entry/app.DskHyUyY.js.br +0 -0
  726. package/build/client/_app/immutable/entry/app.DskHyUyY.js.gz +0 -0
  727. package/build/client/_app/immutable/entry/start.Up6R4aJB.js +0 -1
  728. package/build/client/_app/immutable/entry/start.Up6R4aJB.js.br +0 -0
  729. package/build/client/_app/immutable/entry/start.Up6R4aJB.js.gz +0 -0
  730. package/build/client/_app/immutable/nodes/1._4tPsgW5.js +0 -1
  731. package/build/client/_app/immutable/nodes/1._4tPsgW5.js.br +0 -0
  732. package/build/client/_app/immutable/nodes/1._4tPsgW5.js.gz +0 -0
  733. package/build/client/_app/immutable/nodes/10.mUWXPenT.js +0 -3
  734. package/build/client/_app/immutable/nodes/10.mUWXPenT.js.br +0 -0
  735. package/build/client/_app/immutable/nodes/10.mUWXPenT.js.gz +0 -0
  736. package/build/client/_app/immutable/nodes/11.BSK4KV0G.js +0 -3
  737. package/build/client/_app/immutable/nodes/11.BSK4KV0G.js.br +0 -0
  738. package/build/client/_app/immutable/nodes/11.BSK4KV0G.js.gz +0 -0
  739. package/build/client/_app/immutable/nodes/13.pBxcsvtc.js +0 -2
  740. package/build/client/_app/immutable/nodes/13.pBxcsvtc.js.br +0 -0
  741. package/build/client/_app/immutable/nodes/13.pBxcsvtc.js.gz +0 -0
  742. package/build/client/_app/immutable/nodes/14.CaOMy_8G.js +0 -2
  743. package/build/client/_app/immutable/nodes/14.CaOMy_8G.js.br +0 -0
  744. package/build/client/_app/immutable/nodes/14.CaOMy_8G.js.gz +0 -0
  745. package/build/client/_app/immutable/nodes/15.zWaQHj90.js +0 -28
  746. package/build/client/_app/immutable/nodes/15.zWaQHj90.js.br +0 -0
  747. package/build/client/_app/immutable/nodes/15.zWaQHj90.js.gz +0 -0
  748. package/build/client/_app/immutable/nodes/16.CQrRlLV9.js +0 -5
  749. package/build/client/_app/immutable/nodes/16.CQrRlLV9.js.br +0 -0
  750. package/build/client/_app/immutable/nodes/16.CQrRlLV9.js.gz +0 -0
  751. package/build/client/_app/immutable/nodes/17.B_sHIeGD.js +0 -2
  752. package/build/client/_app/immutable/nodes/17.B_sHIeGD.js.br +0 -0
  753. package/build/client/_app/immutable/nodes/17.B_sHIeGD.js.gz +0 -0
  754. package/build/client/_app/immutable/nodes/19.B1GMNGdi.js +0 -7
  755. package/build/client/_app/immutable/nodes/19.B1GMNGdi.js.br +0 -0
  756. package/build/client/_app/immutable/nodes/19.B1GMNGdi.js.gz +0 -0
  757. package/build/client/_app/immutable/nodes/2.Cf8Zfguc.js +0 -1
  758. package/build/client/_app/immutable/nodes/2.Cf8Zfguc.js.br +0 -0
  759. package/build/client/_app/immutable/nodes/2.Cf8Zfguc.js.gz +0 -0
  760. package/build/client/_app/immutable/nodes/20.DMAZifCR.js +0 -2
  761. package/build/client/_app/immutable/nodes/20.DMAZifCR.js.br +0 -0
  762. package/build/client/_app/immutable/nodes/20.DMAZifCR.js.gz +0 -0
  763. package/build/client/_app/immutable/nodes/21.BRqk2rH_.js +0 -5607
  764. package/build/client/_app/immutable/nodes/21.BRqk2rH_.js.br +0 -0
  765. package/build/client/_app/immutable/nodes/21.BRqk2rH_.js.gz +0 -0
  766. package/build/client/_app/immutable/nodes/22.BTMe8XVK.js +0 -6
  767. package/build/client/_app/immutable/nodes/22.BTMe8XVK.js.br +0 -0
  768. package/build/client/_app/immutable/nodes/22.BTMe8XVK.js.gz +0 -0
  769. package/build/client/_app/immutable/nodes/24.B4Sagg9V.js +0 -16
  770. package/build/client/_app/immutable/nodes/24.B4Sagg9V.js.br +0 -0
  771. package/build/client/_app/immutable/nodes/24.B4Sagg9V.js.gz +0 -0
  772. package/build/client/_app/immutable/nodes/25.TlYNecHj.js +0 -6
  773. package/build/client/_app/immutable/nodes/25.TlYNecHj.js.br +0 -0
  774. package/build/client/_app/immutable/nodes/25.TlYNecHj.js.gz +0 -0
  775. package/build/client/_app/immutable/nodes/28.DvXE4sTE.js +0 -4
  776. package/build/client/_app/immutable/nodes/28.DvXE4sTE.js.br +0 -0
  777. package/build/client/_app/immutable/nodes/28.DvXE4sTE.js.gz +0 -0
  778. package/build/client/_app/immutable/nodes/29.BNn6HSF2.js +0 -6
  779. package/build/client/_app/immutable/nodes/29.BNn6HSF2.js.br +0 -0
  780. package/build/client/_app/immutable/nodes/29.BNn6HSF2.js.gz +0 -0
  781. package/build/client/_app/immutable/nodes/3.DjRl1H7T.js +0 -1
  782. package/build/client/_app/immutable/nodes/3.DjRl1H7T.js.br +0 -0
  783. package/build/client/_app/immutable/nodes/3.DjRl1H7T.js.gz +0 -0
  784. package/build/client/_app/immutable/nodes/30.DercntaV.js +0 -2
  785. package/build/client/_app/immutable/nodes/30.DercntaV.js.br +0 -0
  786. package/build/client/_app/immutable/nodes/30.DercntaV.js.gz +0 -0
  787. package/build/client/_app/immutable/nodes/31.y2mvyeR5.js +0 -2
  788. package/build/client/_app/immutable/nodes/31.y2mvyeR5.js.br +0 -0
  789. package/build/client/_app/immutable/nodes/31.y2mvyeR5.js.gz +0 -0
  790. package/build/client/_app/immutable/nodes/33.Cf86dHpj.js +0 -1
  791. package/build/client/_app/immutable/nodes/33.Cf86dHpj.js.br +0 -0
  792. package/build/client/_app/immutable/nodes/33.Cf86dHpj.js.gz +0 -0
  793. package/build/client/_app/immutable/nodes/5.HUP9KY9w.js +0 -1
  794. package/build/client/_app/immutable/nodes/5.HUP9KY9w.js.br +0 -1
  795. package/build/client/_app/immutable/nodes/5.HUP9KY9w.js.gz +0 -0
  796. package/build/client/_app/immutable/nodes/6.CEahyJ6z.js +0 -1
  797. package/build/client/_app/immutable/nodes/6.CEahyJ6z.js.br +0 -0
  798. package/build/client/_app/immutable/nodes/6.CEahyJ6z.js.gz +0 -0
  799. package/build/client/_app/immutable/nodes/7.pd8uWLaN.js +0 -1
  800. package/build/client/_app/immutable/nodes/7.pd8uWLaN.js.br +0 -0
  801. package/build/client/_app/immutable/nodes/7.pd8uWLaN.js.gz +0 -0
  802. package/build/client/_app/immutable/nodes/8.BxaUBvFX.js +0 -3
  803. package/build/client/_app/immutable/nodes/8.BxaUBvFX.js.br +0 -0
  804. package/build/client/_app/immutable/nodes/8.BxaUBvFX.js.gz +0 -0
  805. package/build/client/_app/immutable/nodes/9.C_BmBsCi.js +0 -1
  806. package/build/client/_app/immutable/nodes/9.C_BmBsCi.js.br +0 -0
  807. package/build/client/_app/immutable/nodes/9.C_BmBsCi.js.gz +0 -0
  808. package/build/server/chunks/chunks/AppHeader.js-ccSUVPeZ.js +0 -72
  809. package/build/server/chunks/chunks/AppHeader.js-ccSUVPeZ.js.map +0 -1
  810. package/build/server/chunks/chunks/Callout.js-M6_cibCt.js +0 -111
  811. package/build/server/chunks/chunks/Callout.js-M6_cibCt.js.map +0 -1
  812. package/build/server/chunks/chunks/ConfirmDialog.js-DwmmFziy.js +0 -152
  813. package/build/server/chunks/chunks/ConfirmDialog.js-DwmmFziy.js.map +0 -1
  814. package/build/server/chunks/chunks/DataTable.js-DVSCEPZu.js +0 -27
  815. package/build/server/chunks/chunks/DataTable.js-DVSCEPZu.js.map +0 -1
  816. package/build/server/chunks/chunks/DefinitionCard.js-C3aiu11d.js +0 -143
  817. package/build/server/chunks/chunks/DefinitionCard.js-C3aiu11d.js.map +0 -1
  818. package/build/server/chunks/chunks/EmptyState.js-92Ut_o6O.js +0 -36
  819. package/build/server/chunks/chunks/EmptyState.js-92Ut_o6O.js.map +0 -1
  820. package/build/server/chunks/chunks/ErrorScreen.js-B5XxWAvs.js +0 -119
  821. package/build/server/chunks/chunks/ErrorScreen.js-B5XxWAvs.js.map +0 -1
  822. package/build/server/chunks/chunks/FilterableDropdown.js-DDImUFCf.js +0 -45
  823. package/build/server/chunks/chunks/FilterableDropdown.js-DDImUFCf.js.map +0 -1
  824. package/build/server/chunks/chunks/PageContent.js-yJE2STSN.js +0 -12
  825. package/build/server/chunks/chunks/PageContent.js-yJE2STSN.js.map +0 -1
  826. package/build/server/chunks/chunks/SectionHeader.js-Cz9J7e7M.js +0 -22
  827. package/build/server/chunks/chunks/SectionHeader.js-Cz9J7e7M.js.map +0 -1
  828. package/build/server/chunks/chunks/SettingsMenu.js-DIIW-nki.js +0 -810
  829. package/build/server/chunks/chunks/SettingsMenu.js-DIIW-nki.js.map +0 -1
  830. package/build/server/chunks/chunks/SideNav.js-DIOQBaKe.js +0 -63
  831. package/build/server/chunks/chunks/SideNav.js-DIOQBaKe.js.map +0 -1
  832. package/build/server/chunks/chunks/StatCard.js-D_NshhKe.js +0 -51
  833. package/build/server/chunks/chunks/StatCard.js-D_NshhKe.js.map +0 -1
  834. package/build/server/chunks/chunks/UserAvatar.js-Bqs7MvaV.js +0 -14
  835. package/build/server/chunks/chunks/UserAvatar.js-Bqs7MvaV.js.map +0 -1
  836. package/build/server/chunks/chunks/UserRowIdentity.js-Doj5X9li.js +0 -124
  837. package/build/server/chunks/chunks/UserRowIdentity.js-Doj5X9li.js.map +0 -1
  838. package/build/server/chunks/chunks/ViewToggle.js-ChlcBo-Z.js +0 -91
  839. package/build/server/chunks/chunks/ViewToggle.js-ChlcBo-Z.js.map +0 -1
  840. package/build/server/chunks/chunks/access.js-DFbcJ7ZG.js +0 -756
  841. package/build/server/chunks/chunks/access.js-DFbcJ7ZG.js.map +0 -1
  842. package/build/server/chunks/chunks/access.server.js-CoydElqq.js +0 -11
  843. package/build/server/chunks/chunks/access.server.js-CoydElqq.js.map +0 -1
  844. package/build/server/chunks/chunks/access2.server.js-yDn7km32.js +0 -62
  845. package/build/server/chunks/chunks/access2.server.js-yDn7km32.js.map +0 -1
  846. package/build/server/chunks/chunks/activity.js-DasLGQkL.js +0 -15
  847. package/build/server/chunks/chunks/activity.js-DasLGQkL.js.map +0 -1
  848. package/build/server/chunks/chunks/admin-auth.server.js-I3ZwmT--.js +0 -260
  849. package/build/server/chunks/chunks/admin-auth.server.js-I3ZwmT--.js.map +0 -1
  850. package/build/server/chunks/chunks/alert-description.js-d4irX90o.js +0 -45
  851. package/build/server/chunks/chunks/alert-description.js-d4irX90o.js.map +0 -1
  852. package/build/server/chunks/chunks/alert-dialog.js-jvO83X9R.js +0 -461
  853. package/build/server/chunks/chunks/alert-dialog.js-jvO83X9R.js.map +0 -1
  854. package/build/server/chunks/chunks/api-errors.js-4HDFN7ny.js +0 -83
  855. package/build/server/chunks/chunks/api-errors.js-4HDFN7ny.js.map +0 -1
  856. package/build/server/chunks/chunks/api.js-BF_dHNnR.js +0 -321
  857. package/build/server/chunks/chunks/api.js-BF_dHNnR.js.map +0 -1
  858. package/build/server/chunks/chunks/arrow-left.js-BoRbLS9o.js +0 -15
  859. package/build/server/chunks/chunks/arrow-left.js-BoRbLS9o.js.map +0 -1
  860. package/build/server/chunks/chunks/arrow-right.js-BdmQj59o.js +0 -15
  861. package/build/server/chunks/chunks/arrow-right.js-BdmQj59o.js.map +0 -1
  862. package/build/server/chunks/chunks/auth-bootstrap.server.js-Z3bHapez.js +0 -152
  863. package/build/server/chunks/chunks/auth-bootstrap.server.js-Z3bHapez.js.map +0 -1
  864. package/build/server/chunks/chunks/badge.js-B8Jgsiqy.js +0 -35
  865. package/build/server/chunks/chunks/badge.js-B8Jgsiqy.js.map +0 -1
  866. package/build/server/chunks/chunks/bootHealth.server.js-CsuNMcI6.js +0 -90
  867. package/build/server/chunks/chunks/bootHealth.server.js-CsuNMcI6.js.map +0 -1
  868. package/build/server/chunks/chunks/building-complex.js-ChDGIQRf.js +0 -22
  869. package/build/server/chunks/chunks/building-complex.js-ChDGIQRf.js.map +0 -1
  870. package/build/server/chunks/chunks/button.js-DNMS2YOn.js +0 -69
  871. package/build/server/chunks/chunks/button.js-DNMS2YOn.js.map +0 -1
  872. package/build/server/chunks/chunks/card-content.js-4Q2WGC1n.js +0 -35
  873. package/build/server/chunks/chunks/card-content.js-4Q2WGC1n.js.map +0 -1
  874. package/build/server/chunks/chunks/card-description.js-DkKGWb4t.js +0 -20
  875. package/build/server/chunks/chunks/card-description.js-DkKGWb4t.js.map +0 -1
  876. package/build/server/chunks/chunks/card-title.js-hlIjDrPM.js +0 -35
  877. package/build/server/chunks/chunks/card-title.js-hlIjDrPM.js.map +0 -1
  878. package/build/server/chunks/chunks/check.js-BBC3SRZ8.js +0 -15
  879. package/build/server/chunks/chunks/check.js-BBC3SRZ8.js.map +0 -1
  880. package/build/server/chunks/chunks/chevron-down.js-CtD5ot1E.js +0 -15
  881. package/build/server/chunks/chunks/chevron-down.js-CtD5ot1E.js.map +0 -1
  882. package/build/server/chunks/chunks/chevron-right.js-DKBxNhn5.js +0 -15
  883. package/build/server/chunks/chunks/chevron-right.js-DKBxNhn5.js.map +0 -1
  884. package/build/server/chunks/chunks/chevron-up.js-kVacrfL5.js +0 -15
  885. package/build/server/chunks/chunks/chevron-up.js-kVacrfL5.js.map +0 -1
  886. package/build/server/chunks/chunks/circle-alert.js-DnMxrBk8.js +0 -34
  887. package/build/server/chunks/chunks/circle-alert.js-DnMxrBk8.js.map +0 -1
  888. package/build/server/chunks/chunks/circle.js-DNihbA92.js +0 -19
  889. package/build/server/chunks/chunks/circle.js-DNihbA92.js.map +0 -1
  890. package/build/server/chunks/chunks/client.js-WgeA1ywr.js +0 -59
  891. package/build/server/chunks/chunks/client.js-WgeA1ywr.js.map +0 -1
  892. package/build/server/chunks/chunks/compute.js-DiErFl_p.js +0 -430
  893. package/build/server/chunks/chunks/compute.js-DiErFl_p.js.map +0 -1
  894. package/build/server/chunks/chunks/computeLimits.js-CPfd6XdT.js +0 -48
  895. package/build/server/chunks/chunks/computeLimits.js-CPfd6XdT.js.map +0 -1
  896. package/build/server/chunks/chunks/create-id.js-BmrVbPtx.js +0 -809
  897. package/build/server/chunks/chunks/create-id.js-BmrVbPtx.js.map +0 -1
  898. package/build/server/chunks/chunks/definitions.js-DK6GL3vh.js +0 -508
  899. package/build/server/chunks/chunks/definitions.js-DK6GL3vh.js.map +0 -1
  900. package/build/server/chunks/chunks/dialog-description.js-CiQgyvgq.js +0 -492
  901. package/build/server/chunks/chunks/dialog-description.js-CiQgyvgq.js.map +0 -1
  902. package/build/server/chunks/chunks/dialog-footer.js-CqMmnsxP.js +0 -59
  903. package/build/server/chunks/chunks/dialog-footer.js-CqMmnsxP.js.map +0 -1
  904. package/build/server/chunks/chunks/dialog.js-Aropo2Z3.js +0 -366
  905. package/build/server/chunks/chunks/dialog.js-Aropo2Z3.js.map +0 -1
  906. package/build/server/chunks/chunks/engine.server.js-DDBmEZ-z.js +0 -600
  907. package/build/server/chunks/chunks/engine.server.js-DDBmEZ-z.js.map +0 -1
  908. package/build/server/chunks/chunks/events.js-CVsvj0NP.js +0 -136
  909. package/build/server/chunks/chunks/events.js-CVsvj0NP.js.map +0 -1
  910. package/build/server/chunks/chunks/external-link.js-BMFSQZeI.js +0 -19
  911. package/build/server/chunks/chunks/external-link.js-BMFSQZeI.js.map +0 -1
  912. package/build/server/chunks/chunks/folder-kanban.js-Di7i8WO_.js +0 -20
  913. package/build/server/chunks/chunks/folder-kanban.js-Di7i8WO_.js.map +0 -1
  914. package/build/server/chunks/chunks/folder-open.js-CJUIFuiU.js +0 -15
  915. package/build/server/chunks/chunks/folder-open.js-CJUIFuiU.js.map +0 -1
  916. package/build/server/chunks/chunks/folders.js-CNrXilok.js +0 -15
  917. package/build/server/chunks/chunks/folders.js-CNrXilok.js.map +0 -1
  918. package/build/server/chunks/chunks/footerContext.svelte.js-YHo4ZTIv.js +0 -703
  919. package/build/server/chunks/chunks/footerContext.svelte.js-YHo4ZTIv.js.map +0 -1
  920. package/build/server/chunks/chunks/forms.js-DjXuEDVs.js +0 -2
  921. package/build/server/chunks/chunks/forms.js-DjXuEDVs.js.map +0 -1
  922. package/build/server/chunks/chunks/gauge.js-EjMV01-J.js +0 -15
  923. package/build/server/chunks/chunks/gauge.js-EjMV01-J.js.map +0 -1
  924. package/build/server/chunks/chunks/handlers.js-BlC1J4XX.js +0 -1375
  925. package/build/server/chunks/chunks/handlers.js-BlC1J4XX.js.map +0 -1
  926. package/build/server/chunks/chunks/http.js-DFpXUbjA.js +0 -59
  927. package/build/server/chunks/chunks/http.js-DFpXUbjA.js.map +0 -1
  928. package/build/server/chunks/chunks/index-server.js-CcF535k3.js +0 -158
  929. package/build/server/chunks/chunks/index-server.js-CcF535k3.js.map +0 -1
  930. package/build/server/chunks/chunks/input.js-CdApmMeG.js +0 -31
  931. package/build/server/chunks/chunks/input.js-CdApmMeG.js.map +0 -1
  932. package/build/server/chunks/chunks/instanceAdmins.server.js-BEScda3X.js +0 -23
  933. package/build/server/chunks/chunks/instanceAdmins.server.js-BEScda3X.js.map +0 -1
  934. package/build/server/chunks/chunks/internal2.js-B1kW2jox.js +0 -224
  935. package/build/server/chunks/chunks/internal2.js-B1kW2jox.js.map +0 -1
  936. package/build/server/chunks/chunks/label.js-BBtgzm5p.js +0 -107
  937. package/build/server/chunks/chunks/label.js-BBtgzm5p.js.map +0 -1
  938. package/build/server/chunks/chunks/legacy-client.js-B9CyMjHF.js +0 -765
  939. package/build/server/chunks/chunks/legacy-client.js-B9CyMjHF.js.map +0 -1
  940. package/build/server/chunks/chunks/limits.js-chQOq2eQ.js +0 -203
  941. package/build/server/chunks/chunks/limits.js-chQOq2eQ.js.map +0 -1
  942. package/build/server/chunks/chunks/link-2.js-CGcEeMv4.js +0 -24
  943. package/build/server/chunks/chunks/link-2.js-CGcEeMv4.js.map +0 -1
  944. package/build/server/chunks/chunks/liveSolve.server.js-BmHh4T5l.js +0 -70
  945. package/build/server/chunks/chunks/liveSolve.server.js-BmHh4T5l.js.map +0 -1
  946. package/build/server/chunks/chunks/mail.js-B_w5FPHW.js +0 -21
  947. package/build/server/chunks/chunks/mail.js-B_w5FPHW.js.map +0 -1
  948. package/build/server/chunks/chunks/minus.js-BJ1Q5ECX.js +0 -15
  949. package/build/server/chunks/chunks/minus.js-BJ1Q5ECX.js.map +0 -1
  950. package/build/server/chunks/chunks/navigation.js-DjXuEDVs.js +0 -2
  951. package/build/server/chunks/chunks/navigation.js-DjXuEDVs.js.map +0 -1
  952. package/build/server/chunks/chunks/package.js-IjepPMP7.js +0 -83
  953. package/build/server/chunks/chunks/package.js-IjepPMP7.js.map +0 -1
  954. package/build/server/chunks/chunks/paths.js-CJw9pzrJ.js +0 -19
  955. package/build/server/chunks/chunks/paths.js-CJw9pzrJ.js.map +0 -1
  956. package/build/server/chunks/chunks/permissions.server.js-2s17FdvQ.js +0 -24
  957. package/build/server/chunks/chunks/permissions.server.js-2s17FdvQ.js.map +0 -1
  958. package/build/server/chunks/chunks/plus.js-ki-tlZZw.js +0 -15
  959. package/build/server/chunks/chunks/plus.js-ki-tlZZw.js.map +0 -1
  960. package/build/server/chunks/chunks/projects.js-DpiohhLt.js +0 -47
  961. package/build/server/chunks/chunks/projects.js-DpiohhLt.js.map +0 -1
  962. package/build/server/chunks/chunks/providers.server.js-DQ1uVPlR.js +0 -5911
  963. package/build/server/chunks/chunks/providers.server.js-DQ1uVPlR.js.map +0 -1
  964. package/build/server/chunks/chunks/refresh-cw.js-Buivi9BR.js +0 -20
  965. package/build/server/chunks/chunks/refresh-cw.js-Buivi9BR.js.map +0 -1
  966. package/build/server/chunks/chunks/request.js-6TyjZh9m.js +0 -119
  967. package/build/server/chunks/chunks/request.js-6TyjZh9m.js.map +0 -1
  968. package/build/server/chunks/chunks/resolve.server.js-D2eN1DfU.js +0 -59
  969. package/build/server/chunks/chunks/resolve.server.js-D2eN1DfU.js.map +0 -1
  970. package/build/server/chunks/chunks/rotate-ccw.js-DeLL_EbN.js +0 -15
  971. package/build/server/chunks/chunks/rotate-ccw.js-DeLL_EbN.js.map +0 -1
  972. package/build/server/chunks/chunks/schema.js-YChb_4u9.js +0 -2640
  973. package/build/server/chunks/chunks/schema.js-YChb_4u9.js.map +0 -1
  974. package/build/server/chunks/chunks/scroll-lock.js-DCKuvkpD.js +0 -1894
  975. package/build/server/chunks/chunks/scroll-lock.js-DCKuvkpD.js.map +0 -1
  976. package/build/server/chunks/chunks/scroll-text.js-CprEJkMC.js +0 -20
  977. package/build/server/chunks/chunks/scroll-text.js-CprEJkMC.js.map +0 -1
  978. package/build/server/chunks/chunks/search.js-BcuLMVuV.js +0 -19
  979. package/build/server/chunks/chunks/search.js-BcuLMVuV.js.map +0 -1
  980. package/build/server/chunks/chunks/select.js-CX6M9v8-.js +0 -3836
  981. package/build/server/chunks/chunks/select.js-CX6M9v8-.js.map +0 -1
  982. package/build/server/chunks/chunks/selfUpdate.server.js-B_lTx07q.js +0 -144
  983. package/build/server/chunks/chunks/selfUpdate.server.js-B_lTx07q.js.map +0 -1
  984. package/build/server/chunks/chunks/server.js-DAQXUDN9.js +0 -3938
  985. package/build/server/chunks/chunks/server.js-DAQXUDN9.js.map +0 -1
  986. package/build/server/chunks/chunks/server2.js-C9UJ65hv.js +0 -44
  987. package/build/server/chunks/chunks/server2.js-C9UJ65hv.js.map +0 -1
  988. package/build/server/chunks/chunks/settings.js-CDTEvhiX.js +0 -19
  989. package/build/server/chunks/chunks/settings.js-CDTEvhiX.js.map +0 -1
  990. package/build/server/chunks/chunks/shared.js-hRezOq6x.js +0 -702
  991. package/build/server/chunks/chunks/shared.js-hRezOq6x.js.map +0 -1
  992. package/build/server/chunks/chunks/shared2.js-BxmReUOc.js +0 -88
  993. package/build/server/chunks/chunks/shared2.js-BxmReUOc.js.map +0 -1
  994. package/build/server/chunks/chunks/shield-check.js-D3jYvCPA.js +0 -15
  995. package/build/server/chunks/chunks/shield-check.js-D3jYvCPA.js.map +0 -1
  996. package/build/server/chunks/chunks/shield.js-AeeqqxnN.js +0 -15
  997. package/build/server/chunks/chunks/shield.js-AeeqqxnN.js.map +0 -1
  998. package/build/server/chunks/chunks/solve.server.js-BxpWFBr-.js +0 -325
  999. package/build/server/chunks/chunks/solve.server.js-BxpWFBr-.js.map +0 -1
  1000. package/build/server/chunks/chunks/src.js-Cf1j97Z6.js +0 -386
  1001. package/build/server/chunks/chunks/src.js-Cf1j97Z6.js.map +0 -1
  1002. package/build/server/chunks/chunks/star.js-CHCWLhuh.js +0 -15
  1003. package/build/server/chunks/chunks/star.js-CHCWLhuh.js.map +0 -1
  1004. package/build/server/chunks/chunks/state.js-C008nVQR.js +0 -76
  1005. package/build/server/chunks/chunks/state.js-C008nVQR.js.map +0 -1
  1006. package/build/server/chunks/chunks/stores.js-DbnKWzQH.js +0 -35
  1007. package/build/server/chunks/chunks/stores.js-DbnKWzQH.js.map +0 -1
  1008. package/build/server/chunks/chunks/tabs-trigger.js-Ds6ptpKU.js +0 -637
  1009. package/build/server/chunks/chunks/tabs-trigger.js-Ds6ptpKU.js.map +0 -1
  1010. package/build/server/chunks/chunks/toast-state.svelte.js-QdhsP_oW.js +0 -285
  1011. package/build/server/chunks/chunks/toast-state.svelte.js-QdhsP_oW.js.map +0 -1
  1012. package/build/server/chunks/chunks/token.server.js-BPIjr3vT.js +0 -133
  1013. package/build/server/chunks/chunks/token.server.js-BPIjr3vT.js.map +0 -1
  1014. package/build/server/chunks/chunks/trash.js-CDpw7ZT6.js +0 -22
  1015. package/build/server/chunks/chunks/trash.js-CDpw7ZT6.js.map +0 -1
  1016. package/build/server/chunks/chunks/triangle-alert.js-BziXexDy.js +0 -38
  1017. package/build/server/chunks/chunks/triangle-alert.js-BziXexDy.js.map +0 -1
  1018. package/build/server/chunks/chunks/uneval.js-VnZcgzZr.js +0 -488
  1019. package/build/server/chunks/chunks/uneval.js-VnZcgzZr.js.map +0 -1
  1020. package/build/server/chunks/chunks/user-plus.js-D4aqbpZg.js +0 -51
  1021. package/build/server/chunks/chunks/user-plus.js-D4aqbpZg.js.map +0 -1
  1022. package/build/server/chunks/chunks/users.js-DsDEFfOx.js +0 -24
  1023. package/build/server/chunks/chunks/users.js-DsDEFfOx.js.map +0 -1
  1024. package/build/server/chunks/chunks/utils.js-BjrVBt1c.js +0 -750
  1025. package/build/server/chunks/chunks/utils.js-BjrVBt1c.js.map +0 -1
  1026. package/build/server/chunks/chunks/utils2.js-CfT1GkAF.js +0 -180
  1027. package/build/server/chunks/chunks/utils2.js-CfT1GkAF.js.map +0 -1
  1028. package/build/server/chunks/chunks/x.js-DJYjx8UZ.js +0 -15
  1029. package/build/server/chunks/chunks/x.js-DJYjx8UZ.js.map +0 -1
  1030. package/build/server/chunks/entries/endpoints/api/admin/compute/_server.ts.js-Cgd1rKfe.js +0 -97
  1031. package/build/server/chunks/entries/endpoints/api/admin/compute/_server.ts.js-Cgd1rKfe.js.map +0 -1
  1032. package/build/server/chunks/entries/endpoints/api/admin/compute/actions/_server.ts.js-BP0iOoZK.js +0 -84
  1033. package/build/server/chunks/entries/endpoints/api/admin/compute/actions/_server.ts.js-BP0iOoZK.js.map +0 -1
  1034. package/build/server/chunks/entries/endpoints/api/admin/compute/status/_server.ts.js-C6zODk6W.js +0 -95
  1035. package/build/server/chunks/entries/endpoints/api/admin/compute/status/_server.ts.js-C6zODk6W.js.map +0 -1
  1036. package/build/server/chunks/entries/endpoints/api/admin/orgs/_id_/_server.ts.js-CrI5Wz5I.js +0 -45
  1037. package/build/server/chunks/entries/endpoints/api/admin/orgs/_id_/_server.ts.js-CrI5Wz5I.js.map +0 -1
  1038. package/build/server/chunks/entries/endpoints/api/admin/orgs/_server.ts.js-DHuvPft7.js +0 -68
  1039. package/build/server/chunks/entries/endpoints/api/admin/orgs/_server.ts.js-DHuvPft7.js.map +0 -1
  1040. package/build/server/chunks/entries/endpoints/api/admin/projects/_id_/_server.ts.js-C0jE6itS.js +0 -61
  1041. package/build/server/chunks/entries/endpoints/api/admin/projects/_id_/_server.ts.js-C0jE6itS.js.map +0 -1
  1042. package/build/server/chunks/entries/endpoints/api/admin/projects/_id_/grants/_grantId_/_server.ts.js-CwatXjH0.js +0 -33
  1043. package/build/server/chunks/entries/endpoints/api/admin/projects/_id_/grants/_grantId_/_server.ts.js-CwatXjH0.js.map +0 -1
  1044. package/build/server/chunks/entries/endpoints/api/admin/projects/_id_/grants/_server.ts.js-DS0T0fCs.js +0 -64
  1045. package/build/server/chunks/entries/endpoints/api/admin/projects/_id_/grants/_server.ts.js-DS0T0fCs.js.map +0 -1
  1046. package/build/server/chunks/entries/endpoints/api/admin/projects/_server.ts.js-DYkNYw_n.js +0 -79
  1047. package/build/server/chunks/entries/endpoints/api/admin/projects/_server.ts.js-DYkNYw_n.js.map +0 -1
  1048. package/build/server/chunks/entries/endpoints/api/admin/system/health/_server.ts.js-CWjRz3iw.js +0 -333
  1049. package/build/server/chunks/entries/endpoints/api/admin/system/health/_server.ts.js-CWjRz3iw.js.map +0 -1
  1050. package/build/server/chunks/entries/endpoints/api/admin/system/throughput/_server.ts.js-CqgbdzjR.js +0 -84
  1051. package/build/server/chunks/entries/endpoints/api/admin/system/throughput/_server.ts.js-CqgbdzjR.js.map +0 -1
  1052. package/build/server/chunks/entries/endpoints/api/admin/system/update/_server.ts.js-yiAvLXTH.js +0 -606
  1053. package/build/server/chunks/entries/endpoints/api/admin/system/update/_server.ts.js-yiAvLXTH.js.map +0 -1
  1054. package/build/server/chunks/entries/endpoints/api/admin/users/_id_/_server.ts.js-CUbJa3vi.js +0 -57
  1055. package/build/server/chunks/entries/endpoints/api/admin/users/_id_/_server.ts.js-CUbJa3vi.js.map +0 -1
  1056. package/build/server/chunks/entries/endpoints/api/admin/users/_id_/disable/_server.ts.js-C_Q5Xl11.js +0 -66
  1057. package/build/server/chunks/entries/endpoints/api/admin/users/_id_/disable/_server.ts.js-C_Q5Xl11.js.map +0 -1
  1058. package/build/server/chunks/entries/endpoints/api/admin/users/_server.ts.js-DBbcYvwE.js +0 -82
  1059. package/build/server/chunks/entries/endpoints/api/admin/users/_server.ts.js-DBbcYvwE.js.map +0 -1
  1060. package/build/server/chunks/entries/endpoints/api/diag/throughput/_server.ts.js-nv_uaJh5.js +0 -61
  1061. package/build/server/chunks/entries/endpoints/api/diag/throughput/_server.ts.js-nv_uaJh5.js.map +0 -1
  1062. package/build/server/chunks/entries/endpoints/api/files/_...path_/_server.ts.js-D0jbGn9z.js +0 -92
  1063. package/build/server/chunks/entries/endpoints/api/files/_...path_/_server.ts.js-D0jbGn9z.js.map +0 -1
  1064. package/build/server/chunks/entries/endpoints/api/health/_server.ts.js-C_Ghp93q.js +0 -58
  1065. package/build/server/chunks/entries/endpoints/api/health/_server.ts.js-C_Ghp93q.js.map +0 -1
  1066. package/build/server/chunks/entries/endpoints/api/health/ready/_server.ts.js-DpT9RV_P.js +0 -61
  1067. package/build/server/chunks/entries/endpoints/api/health/ready/_server.ts.js-DpT9RV_P.js.map +0 -1
  1068. package/build/server/chunks/entries/endpoints/api/v1/compute/_server.ts.js-BOH-l241.js +0 -87
  1069. package/build/server/chunks/entries/endpoints/api/v1/compute/_server.ts.js-BOH-l241.js.map +0 -1
  1070. package/build/server/chunks/entries/endpoints/api/v1/compute/schema/_server.ts.js-BRiDO30C.js +0 -62
  1071. package/build/server/chunks/entries/endpoints/api/v1/compute/schema/_server.ts.js-BRiDO30C.js.map +0 -1
  1072. package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/_server.ts.js-DbKD2jzG.js +0 -39
  1073. package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/_server.ts.js-DbKD2jzG.js.map +0 -1
  1074. package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/image/_server.ts.js-DulssFBZ.js +0 -37
  1075. package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/image/_server.ts.js-DulssFBZ.js.map +0 -1
  1076. package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/publish/_server.ts.js-DVfb_RAw.js +0 -37
  1077. package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/publish/_server.ts.js-DVfb_RAw.js.map +0 -1
  1078. package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/schema/_server.ts.js-DMhj8lEN.js +0 -37
  1079. package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/schema/_server.ts.js-DMhj8lEN.js.map +0 -1
  1080. package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/share-links/_linkId_/_server.ts.js-BwvQmxD5.js +0 -37
  1081. package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/share-links/_linkId_/_server.ts.js-BwvQmxD5.js.map +0 -1
  1082. package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/share-links/_server.ts.js-CWnSGhjK.js +0 -38
  1083. package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/share-links/_server.ts.js-CWnSGhjK.js.map +0 -1
  1084. package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/solve/_server.ts.js-ERaZ0NwE.js +0 -210
  1085. package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/solve/_server.ts.js-ERaZ0NwE.js.map +0 -1
  1086. package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/versions/_server.ts.js-B4aiu1tW.js +0 -38
  1087. package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/versions/_server.ts.js-B4aiu1tW.js.map +0 -1
  1088. package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/versions/_versionId_/_server.ts.js-Cbe2a7aA.js +0 -38
  1089. package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/versions/_versionId_/_server.ts.js-Cbe2a7aA.js.map +0 -1
  1090. package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/versions/_versionId_/schema/_server.ts.js-CFsbml7t.js +0 -37
  1091. package/build/server/chunks/entries/endpoints/api/v1/definitions/_guid_/versions/_versionId_/schema/_server.ts.js-CFsbml7t.js.map +0 -1
  1092. package/build/server/chunks/entries/endpoints/api/v1/definitions/_server.ts.js-BOE4P3ZK.js +0 -38
  1093. package/build/server/chunks/entries/endpoints/api/v1/definitions/_server.ts.js-BOE4P3ZK.js.map +0 -1
  1094. package/build/server/chunks/entries/endpoints/api/v1/me/_server.ts.js-B9dGJ3xx.js +0 -37
  1095. package/build/server/chunks/entries/endpoints/api/v1/me/_server.ts.js-B9dGJ3xx.js.map +0 -1
  1096. package/build/server/chunks/entries/endpoints/api/v1/me/starred/_guid_/_server.ts.js-CXDUtP2S.js +0 -38
  1097. package/build/server/chunks/entries/endpoints/api/v1/me/starred/_guid_/_server.ts.js-CXDUtP2S.js.map +0 -1
  1098. package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/_server.ts.js-CeUcvYGB.js +0 -37
  1099. package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/_server.ts.js-CeUcvYGB.js.map +0 -1
  1100. package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/assets/_kind_/_server.ts.js-B8VpZvLU.js +0 -38
  1101. package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/assets/_kind_/_server.ts.js-B8VpZvLU.js.map +0 -1
  1102. package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/compute/_server.ts.js-C-aQWqXk.js +0 -38
  1103. package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/compute/_server.ts.js-C-aQWqXk.js.map +0 -1
  1104. package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/invites/_id_/_server.ts.js-LDXrgUBb.js +0 -37
  1105. package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/invites/_id_/_server.ts.js-LDXrgUBb.js.map +0 -1
  1106. package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/invites/_id_/resend/_server.ts.js-CK-0jt8s.js +0 -37
  1107. package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/invites/_id_/resend/_server.ts.js-CK-0jt8s.js.map +0 -1
  1108. package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/invites/_server.ts.js-BVhHovCb.js +0 -38
  1109. package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/invites/_server.ts.js-BVhHovCb.js.map +0 -1
  1110. package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/members/_server.ts.js-Cp391TnN.js +0 -37
  1111. package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/members/_server.ts.js-Cp391TnN.js.map +0 -1
  1112. package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/members/_userId_/_server.ts.js-DvSJVh2o.js +0 -38
  1113. package/build/server/chunks/entries/endpoints/api/v1/orgs/_orgId_/members/_userId_/_server.ts.js-DvSJVh2o.js.map +0 -1
  1114. package/build/server/chunks/entries/endpoints/api/v1/projects/_id_/_server.ts.js-Dwe-ca6U.js +0 -39
  1115. package/build/server/chunks/entries/endpoints/api/v1/projects/_id_/_server.ts.js-Dwe-ca6U.js.map +0 -1
  1116. package/build/server/chunks/entries/endpoints/api/v1/projects/_id_/members/_server.ts.js-CeMjM9dB.js +0 -38
  1117. package/build/server/chunks/entries/endpoints/api/v1/projects/_id_/members/_server.ts.js-CeMjM9dB.js.map +0 -1
  1118. package/build/server/chunks/entries/endpoints/api/v1/projects/_id_/members/_userId_/_server.ts.js-D-r7sd_o.js +0 -38
  1119. package/build/server/chunks/entries/endpoints/api/v1/projects/_id_/members/_userId_/_server.ts.js-D-r7sd_o.js.map +0 -1
  1120. package/build/server/chunks/entries/endpoints/api/v1/projects/_id_/reclaim/_server.ts.js-Cr_zy_xS.js +0 -37
  1121. package/build/server/chunks/entries/endpoints/api/v1/projects/_id_/reclaim/_server.ts.js-Cr_zy_xS.js.map +0 -1
  1122. package/build/server/chunks/entries/endpoints/api/v1/projects/_server.ts.js-nm77MdKD.js +0 -38
  1123. package/build/server/chunks/entries/endpoints/api/v1/projects/_server.ts.js-nm77MdKD.js.map +0 -1
  1124. package/build/server/chunks/entries/endpoints/api/v1/solve/_solveId_/cancel/_server.ts.js-Dc8c2poy.js +0 -26
  1125. package/build/server/chunks/entries/endpoints/api/v1/solve/_solveId_/cancel/_server.ts.js-Dc8c2poy.js.map +0 -1
  1126. package/build/server/chunks/entries/endpoints/api/v1/solve-events/_server.ts.js-3g1FgHne.js +0 -87
  1127. package/build/server/chunks/entries/endpoints/api/v1/solve-events/_server.ts.js-3g1FgHne.js.map +0 -1
  1128. package/build/server/chunks/entries/endpoints/api/v1/solve-events/_solveId_/_server.ts.js-Ck-DL0fZ.js +0 -59
  1129. package/build/server/chunks/entries/endpoints/api/v1/solve-events/_solveId_/_server.ts.js-Ck-DL0fZ.js.map +0 -1
  1130. package/build/server/chunks/entries/endpoints/auth/email/callback/_server.ts.js-CO7Zpgk_.js +0 -46
  1131. package/build/server/chunks/entries/endpoints/auth/email/callback/_server.ts.js-CO7Zpgk_.js.map +0 -1
  1132. package/build/server/chunks/entries/endpoints/auth/supabase/callback/_server.ts.js-jkRjDejp.js +0 -52
  1133. package/build/server/chunks/entries/endpoints/auth/supabase/callback/_server.ts.js-jkRjDejp.js.map +0 -1
  1134. package/build/server/chunks/entries/endpoints/auth/supabase/start/_server.ts.js-B2X9bb98.js +0 -63
  1135. package/build/server/chunks/entries/endpoints/auth/supabase/start/_server.ts.js-B2X9bb98.js.map +0 -1
  1136. package/build/server/chunks/entries/endpoints/docs/api/openapi.yaml/_server.ts.js-Ds38ZE4x.js +0 -11
  1137. package/build/server/chunks/entries/endpoints/docs/api/openapi.yaml/_server.ts.js-Ds38ZE4x.js.map +0 -1
  1138. package/build/server/chunks/entries/hooks.server.js-BXvNmUf9.js +0 -336
  1139. package/build/server/chunks/entries/hooks.server.js-BXvNmUf9.js.map +0 -1
  1140. package/build/server/chunks/entries/pages/_error.svelte.js-BfypAKfY.js +0 -36
  1141. package/build/server/chunks/entries/pages/_error.svelte.js-BfypAKfY.js.map +0 -1
  1142. package/build/server/chunks/entries/pages/_layout.server.ts.js-D-puhzVL.js +0 -34
  1143. package/build/server/chunks/entries/pages/_layout.server.ts.js-D-puhzVL.js.map +0 -1
  1144. package/build/server/chunks/entries/pages/_layout.svelte.js-BS2wa1W1.js +0 -639
  1145. package/build/server/chunks/entries/pages/_layout.svelte.js-BS2wa1W1.js.map +0 -1
  1146. package/build/server/chunks/entries/pages/_page.server.ts.js-Ciw4wUZL.js +0 -55
  1147. package/build/server/chunks/entries/pages/_page.server.ts.js-Ciw4wUZL.js.map +0 -1
  1148. package/build/server/chunks/entries/pages/_page.svelte.js-B78Uu2b0.js +0 -155
  1149. package/build/server/chunks/entries/pages/_page.svelte.js-B78Uu2b0.js.map +0 -1
  1150. package/build/server/chunks/entries/pages/accept-invite/_page.server.ts.js-R52kovej.js +0 -181
  1151. package/build/server/chunks/entries/pages/accept-invite/_page.server.ts.js-R52kovej.js.map +0 -1
  1152. package/build/server/chunks/entries/pages/accept-invite/_page.svelte.js-93xmbFO9.js +0 -176
  1153. package/build/server/chunks/entries/pages/accept-invite/_page.svelte.js-93xmbFO9.js.map +0 -1
  1154. package/build/server/chunks/entries/pages/admin/_error.svelte.js-e3oLrBxd.js +0 -37
  1155. package/build/server/chunks/entries/pages/admin/_error.svelte.js-e3oLrBxd.js.map +0 -1
  1156. package/build/server/chunks/entries/pages/admin/_layout.server.ts.js-CMCBkExk.js +0 -31
  1157. package/build/server/chunks/entries/pages/admin/_layout.server.ts.js-CMCBkExk.js.map +0 -1
  1158. package/build/server/chunks/entries/pages/admin/_layout.svelte.js-BDhyuxdQ.js +0 -122
  1159. package/build/server/chunks/entries/pages/admin/_layout.svelte.js-BDhyuxdQ.js.map +0 -1
  1160. package/build/server/chunks/entries/pages/admin/_page.server.ts.js-DDf147IO.js +0 -76
  1161. package/build/server/chunks/entries/pages/admin/_page.server.ts.js-DDf147IO.js.map +0 -1
  1162. package/build/server/chunks/entries/pages/admin/_page.svelte.js-B1xTnru4.js +0 -393
  1163. package/build/server/chunks/entries/pages/admin/_page.svelte.js-B1xTnru4.js.map +0 -1
  1164. package/build/server/chunks/entries/pages/admin/audit/_page.server.ts.js-BkkbWlsW.js +0 -265
  1165. package/build/server/chunks/entries/pages/admin/audit/_page.server.ts.js-BkkbWlsW.js.map +0 -1
  1166. package/build/server/chunks/entries/pages/admin/audit/_page.svelte.js-CPXuAdnE.js +0 -453
  1167. package/build/server/chunks/entries/pages/admin/audit/_page.svelte.js-CPXuAdnE.js.map +0 -1
  1168. package/build/server/chunks/entries/pages/admin/compute/_page.server.ts.js-DnGC8p0M.js +0 -74
  1169. package/build/server/chunks/entries/pages/admin/compute/_page.server.ts.js-DnGC8p0M.js.map +0 -1
  1170. package/build/server/chunks/entries/pages/admin/compute/_page.svelte.js-YAHbURPD.js +0 -839
  1171. package/build/server/chunks/entries/pages/admin/compute/_page.svelte.js-YAHbURPD.js.map +0 -1
  1172. package/build/server/chunks/entries/pages/admin/organizations/_page.server.ts.js-BIqugcy8.js +0 -35
  1173. package/build/server/chunks/entries/pages/admin/organizations/_page.server.ts.js-BIqugcy8.js.map +0 -1
  1174. package/build/server/chunks/entries/pages/admin/organizations/_page.svelte.js-CgKjfif7.js +0 -95
  1175. package/build/server/chunks/entries/pages/admin/organizations/_page.svelte.js-CgKjfif7.js.map +0 -1
  1176. package/build/server/chunks/entries/pages/admin/projects/_id_/_page.server.ts.js-Dp2KvzY1.js +0 -86
  1177. package/build/server/chunks/entries/pages/admin/projects/_id_/_page.server.ts.js-Dp2KvzY1.js.map +0 -1
  1178. package/build/server/chunks/entries/pages/admin/projects/_id_/_page.svelte.js-IZgik7-d.js +0 -636
  1179. package/build/server/chunks/entries/pages/admin/projects/_id_/_page.svelte.js-IZgik7-d.js.map +0 -1
  1180. package/build/server/chunks/entries/pages/admin/projects/_page.server.ts.js-YZ-3u-hS.js +0 -42
  1181. package/build/server/chunks/entries/pages/admin/projects/_page.server.ts.js-YZ-3u-hS.js.map +0 -1
  1182. package/build/server/chunks/entries/pages/admin/projects/_page.svelte.js-CAHwhEpl.js +0 -283
  1183. package/build/server/chunks/entries/pages/admin/projects/_page.svelte.js-CAHwhEpl.js.map +0 -1
  1184. package/build/server/chunks/entries/pages/admin/system/_page.server.ts.js-DLaLbWUw.js +0 -87
  1185. package/build/server/chunks/entries/pages/admin/system/_page.server.ts.js-DLaLbWUw.js.map +0 -1
  1186. package/build/server/chunks/entries/pages/admin/system/_page.svelte.js-DN3OWKY_.js +0 -1368
  1187. package/build/server/chunks/entries/pages/admin/system/_page.svelte.js-DN3OWKY_.js.map +0 -1
  1188. package/build/server/chunks/entries/pages/admin/users/_page.server.ts.js-DWUspXAp.js +0 -79
  1189. package/build/server/chunks/entries/pages/admin/users/_page.server.ts.js-DWUspXAp.js.map +0 -1
  1190. package/build/server/chunks/entries/pages/admin/users/_page.svelte.js-B4JGHBpb.js +0 -622
  1191. package/build/server/chunks/entries/pages/admin/users/_page.svelte.js-B4JGHBpb.js.map +0 -1
  1192. package/build/server/chunks/entries/pages/auth/email/sent/_page.svelte.js-BbFkbl4z.js +0 -63
  1193. package/build/server/chunks/entries/pages/auth/email/sent/_page.svelte.js-BbFkbl4z.js.map +0 -1
  1194. package/build/server/chunks/entries/pages/auth/email/start/_page.server.ts.js-DNBCK550.js +0 -62
  1195. package/build/server/chunks/entries/pages/auth/email/start/_page.server.ts.js-DNBCK550.js.map +0 -1
  1196. package/build/server/chunks/entries/pages/auth/email/start/_page.svelte.js-JLk9SE45.js +0 -15
  1197. package/build/server/chunks/entries/pages/auth/email/start/_page.svelte.js-JLk9SE45.js.map +0 -1
  1198. package/build/server/chunks/entries/pages/docs/api/_page.server.ts.js-C67D5ytR.js +0 -575
  1199. package/build/server/chunks/entries/pages/docs/api/_page.server.ts.js-C67D5ytR.js.map +0 -1
  1200. package/build/server/chunks/entries/pages/docs/api/_page.svelte.js-BEnPFBra.js +0 -85
  1201. package/build/server/chunks/entries/pages/docs/api/_page.svelte.js-BEnPFBra.js.map +0 -1
  1202. package/build/server/chunks/entries/pages/library/_guid_/_page.server.ts.js-DfNR_Dmf.js +0 -120
  1203. package/build/server/chunks/entries/pages/library/_guid_/_page.server.ts.js-DfNR_Dmf.js.map +0 -1
  1204. package/build/server/chunks/entries/pages/library/_guid_/_page.svelte.js-9y9pJgku.js +0 -14802
  1205. package/build/server/chunks/entries/pages/library/_guid_/_page.svelte.js-9y9pJgku.js.map +0 -1
  1206. package/build/server/chunks/entries/pages/library/_page.server.ts.js-SbDfNwox.js +0 -50
  1207. package/build/server/chunks/entries/pages/library/_page.server.ts.js-SbDfNwox.js.map +0 -1
  1208. package/build/server/chunks/entries/pages/library/_page.svelte.js-BKZygUWM.js +0 -301
  1209. package/build/server/chunks/entries/pages/library/_page.svelte.js-BKZygUWM.js.map +0 -1
  1210. package/build/server/chunks/entries/pages/login/_page.server.ts.js-mIND5Klf.js +0 -101
  1211. package/build/server/chunks/entries/pages/login/_page.server.ts.js-mIND5Klf.js.map +0 -1
  1212. package/build/server/chunks/entries/pages/login/_page.svelte.js-DZYI79mf.js +0 -256
  1213. package/build/server/chunks/entries/pages/login/_page.svelte.js-DZYI79mf.js.map +0 -1
  1214. package/build/server/chunks/entries/pages/logout/_page.server.ts.js-hSePwy_q.js +0 -19
  1215. package/build/server/chunks/entries/pages/logout/_page.server.ts.js-hSePwy_q.js.map +0 -1
  1216. package/build/server/chunks/entries/pages/projects/_layout.server.ts.js-CQ7Zw4PJ.js +0 -22
  1217. package/build/server/chunks/entries/pages/projects/_layout.server.ts.js-CQ7Zw4PJ.js.map +0 -1
  1218. package/build/server/chunks/entries/pages/projects/_layout.svelte.js-Dl1kt7Sn.js +0 -49
  1219. package/build/server/chunks/entries/pages/projects/_layout.svelte.js-Dl1kt7Sn.js.map +0 -1
  1220. package/build/server/chunks/entries/pages/projects/_page.server.ts.js-DI6DFrGq.js +0 -93
  1221. package/build/server/chunks/entries/pages/projects/_page.server.ts.js-DI6DFrGq.js.map +0 -1
  1222. package/build/server/chunks/entries/pages/projects/_page.svelte.js-Ifa6LS1L.js +0 -3740
  1223. package/build/server/chunks/entries/pages/projects/_page.svelte.js-Ifa6LS1L.js.map +0 -1
  1224. package/build/server/chunks/entries/pages/setup/_page.server.ts.js-CVvc0ppo.js +0 -116
  1225. package/build/server/chunks/entries/pages/setup/_page.server.ts.js-CVvc0ppo.js.map +0 -1
  1226. package/build/server/chunks/entries/pages/setup/_page.svelte.js-D3hpV_Ge.js +0 -312
  1227. package/build/server/chunks/entries/pages/setup/_page.svelte.js-D3hpV_Ge.js.map +0 -1
  1228. package/build/server/chunks/entries/pages/team/_layout.server.ts.js-BMOuiKnN.js +0 -28
  1229. package/build/server/chunks/entries/pages/team/_layout.server.ts.js-BMOuiKnN.js.map +0 -1
  1230. package/build/server/chunks/entries/pages/team/_layout.svelte.js-CYg06ilt.js +0 -166
  1231. package/build/server/chunks/entries/pages/team/_layout.svelte.js-CYg06ilt.js.map +0 -1
  1232. package/build/server/chunks/entries/pages/team/_page.server.ts.js-mO-99KHK.js +0 -35
  1233. package/build/server/chunks/entries/pages/team/_page.server.ts.js-mO-99KHK.js.map +0 -1
  1234. package/build/server/chunks/entries/pages/team/_page.svelte.js-DwozTcbS.js +0 -109
  1235. package/build/server/chunks/entries/pages/team/_page.svelte.js-DwozTcbS.js.map +0 -1
  1236. package/build/server/chunks/entries/pages/team/activity/_page.svelte.js-WnObzBDh.js +0 -121
  1237. package/build/server/chunks/entries/pages/team/activity/_page.svelte.js-WnObzBDh.js.map +0 -1
  1238. package/build/server/chunks/entries/pages/team/compute/_page.server.ts.js-DiqlhU1y.js +0 -42
  1239. package/build/server/chunks/entries/pages/team/compute/_page.server.ts.js-DiqlhU1y.js.map +0 -1
  1240. package/build/server/chunks/entries/pages/team/compute/_page.svelte.js-5jbJ7ELi.js +0 -611
  1241. package/build/server/chunks/entries/pages/team/compute/_page.svelte.js-5jbJ7ELi.js.map +0 -1
  1242. package/build/server/chunks/entries/pages/team/members/_page.server.ts.js-CKZh6Yk2.js +0 -62
  1243. package/build/server/chunks/entries/pages/team/members/_page.server.ts.js-CKZh6Yk2.js.map +0 -1
  1244. package/build/server/chunks/entries/pages/team/members/_page.svelte.js-BxHt610T.js +0 -804
  1245. package/build/server/chunks/entries/pages/team/members/_page.svelte.js-BxHt610T.js.map +0 -1
  1246. package/build/server/chunks/entries/pages/team/projects/_page.server.ts.js-CD_8vAgz.js +0 -58
  1247. package/build/server/chunks/entries/pages/team/projects/_page.server.ts.js-CD_8vAgz.js.map +0 -1
  1248. package/build/server/chunks/entries/pages/team/projects/_page.svelte.js-Dr4o_VWD.js +0 -422
  1249. package/build/server/chunks/entries/pages/team/projects/_page.svelte.js-Dr4o_VWD.js.map +0 -1
  1250. package/build/server/chunks/entries/pages/team/reclaim/_page.server.ts.js-BD1eq5cR.js +0 -67
  1251. package/build/server/chunks/entries/pages/team/reclaim/_page.server.ts.js-BD1eq5cR.js.map +0 -1
  1252. package/build/server/chunks/entries/pages/team/reclaim/_page.svelte.js-jwT-ZRxk.js +0 -265
  1253. package/build/server/chunks/entries/pages/team/reclaim/_page.svelte.js-jwT-ZRxk.js.map +0 -1
  1254. package/build/server/chunks/entries/pages/team/settings/_page.server.ts.js-BqoYFMhD.js +0 -34
  1255. package/build/server/chunks/entries/pages/team/settings/_page.server.ts.js-BqoYFMhD.js.map +0 -1
  1256. package/build/server/chunks/entries/pages/team/settings/_page.svelte.js-BkSPErmR.js +0 -303
  1257. package/build/server/chunks/entries/pages/team/settings/_page.svelte.js-BkSPErmR.js.map +0 -1
  1258. package/build/server/chunks/entries/pages/team/shares/_page.server.ts.js-D4fYD7IP.js +0 -29
  1259. package/build/server/chunks/entries/pages/team/shares/_page.server.ts.js-D4fYD7IP.js.map +0 -1
  1260. package/build/server/chunks/entries/pages/team/shares/_page.svelte.js-moDX9LqJ.js +0 -311
  1261. package/build/server/chunks/entries/pages/team/shares/_page.svelte.js-moDX9LqJ.js.map +0 -1
  1262. package/build/server/chunks/handler-t-cu-n0H.js +0 -1206
  1263. package/build/server/chunks/handler-t-cu-n0H.js.map +0 -1
  1264. package/build/server/chunks/index.js-BRa8J1X9.js +0 -3767
  1265. package/build/server/chunks/index.js-BRa8J1X9.js.map +0 -1
  1266. package/build/server/chunks/manifest.js-CjsW8H87.js +0 -633
  1267. package/build/server/chunks/manifest.js-CjsW8H87.js.map +0 -1
  1268. package/build/server/chunks/nodes/0.js-CGWg9zvh.js +0 -26
  1269. package/build/server/chunks/nodes/0.js-CGWg9zvh.js.map +0 -1
  1270. package/build/server/chunks/nodes/1.js-CcKGbOfl.js +0 -9
  1271. package/build/server/chunks/nodes/1.js-CcKGbOfl.js.map +0 -1
  1272. package/build/server/chunks/nodes/10.js-1UadvZoh.js +0 -29
  1273. package/build/server/chunks/nodes/10.js-1UadvZoh.js.map +0 -1
  1274. package/build/server/chunks/nodes/11.js-B1GWtc1V.js +0 -35
  1275. package/build/server/chunks/nodes/11.js-B1GWtc1V.js.map +0 -1
  1276. package/build/server/chunks/nodes/12.js-B-Kh6cf3.js +0 -27
  1277. package/build/server/chunks/nodes/12.js-B-Kh6cf3.js.map +0 -1
  1278. package/build/server/chunks/nodes/13.js-CUHJL8VZ.js +0 -27
  1279. package/build/server/chunks/nodes/13.js-CUHJL8VZ.js.map +0 -1
  1280. package/build/server/chunks/nodes/14.js-CYcZhz9Z.js +0 -27
  1281. package/build/server/chunks/nodes/14.js-CYcZhz9Z.js.map +0 -1
  1282. package/build/server/chunks/nodes/15.js-DbrrcjYk.js +0 -36
  1283. package/build/server/chunks/nodes/15.js-DbrrcjYk.js.map +0 -1
  1284. package/build/server/chunks/nodes/16.js-CYNjv1Ip.js +0 -29
  1285. package/build/server/chunks/nodes/16.js-CYNjv1Ip.js.map +0 -1
  1286. package/build/server/chunks/nodes/17.js-CgbSPDhD.js +0 -9
  1287. package/build/server/chunks/nodes/17.js-CgbSPDhD.js.map +0 -1
  1288. package/build/server/chunks/nodes/18.js-C43OeLmo.js +0 -29
  1289. package/build/server/chunks/nodes/18.js-C43OeLmo.js.map +0 -1
  1290. package/build/server/chunks/nodes/19.js-cSFF25ju.js +0 -23
  1291. package/build/server/chunks/nodes/19.js-cSFF25ju.js.map +0 -1
  1292. package/build/server/chunks/nodes/2.js-DXk8-j_j.js +0 -29
  1293. package/build/server/chunks/nodes/2.js-DXk8-j_j.js.map +0 -1
  1294. package/build/server/chunks/nodes/20.js-5TJEkJDV.js +0 -20
  1295. package/build/server/chunks/nodes/20.js-5TJEkJDV.js.map +0 -1
  1296. package/build/server/chunks/nodes/21.js-BXqxsNrV.js +0 -39
  1297. package/build/server/chunks/nodes/21.js-BXqxsNrV.js.map +0 -1
  1298. package/build/server/chunks/nodes/22.js-6BMTBwk9.js +0 -29
  1299. package/build/server/chunks/nodes/22.js-6BMTBwk9.js.map +0 -1
  1300. package/build/server/chunks/nodes/23.js-e21BtUjO.js +0 -26
  1301. package/build/server/chunks/nodes/23.js-e21BtUjO.js.map +0 -1
  1302. package/build/server/chunks/nodes/24.js-K3E28HUq.js +0 -28
  1303. package/build/server/chunks/nodes/24.js-K3E28HUq.js.map +0 -1
  1304. package/build/server/chunks/nodes/25.js-BIZewl-S.js +0 -29
  1305. package/build/server/chunks/nodes/25.js-BIZewl-S.js.map +0 -1
  1306. package/build/server/chunks/nodes/26.js-CRfPiMaE.js +0 -27
  1307. package/build/server/chunks/nodes/26.js-CRfPiMaE.js.map +0 -1
  1308. package/build/server/chunks/nodes/27.js-BktHjQ8P.js +0 -9
  1309. package/build/server/chunks/nodes/27.js-BktHjQ8P.js.map +0 -1
  1310. package/build/server/chunks/nodes/28.js-Cf4SeAc5.js +0 -27
  1311. package/build/server/chunks/nodes/28.js-Cf4SeAc5.js.map +0 -1
  1312. package/build/server/chunks/nodes/29.js-Aee2t168.js +0 -27
  1313. package/build/server/chunks/nodes/29.js-Aee2t168.js.map +0 -1
  1314. package/build/server/chunks/nodes/3.js-C7RK1aBA.js +0 -9
  1315. package/build/server/chunks/nodes/3.js-C7RK1aBA.js.map +0 -1
  1316. package/build/server/chunks/nodes/30.js-CmPcd8oQ.js +0 -28
  1317. package/build/server/chunks/nodes/30.js-CmPcd8oQ.js.map +0 -1
  1318. package/build/server/chunks/nodes/31.js-DS2luPvB.js +0 -27
  1319. package/build/server/chunks/nodes/31.js-DS2luPvB.js.map +0 -1
  1320. package/build/server/chunks/nodes/32.js-BmlK5fwg.js +0 -27
  1321. package/build/server/chunks/nodes/32.js-BmlK5fwg.js.map +0 -1
  1322. package/build/server/chunks/nodes/33.js-qjIRoDK8.js +0 -27
  1323. package/build/server/chunks/nodes/33.js-qjIRoDK8.js.map +0 -1
  1324. package/build/server/chunks/nodes/5.js-_x9a0bMU.js +0 -15
  1325. package/build/server/chunks/nodes/5.js-_x9a0bMU.js.map +0 -1
  1326. package/build/server/chunks/nodes/6.js-DnWgaPHa.js +0 -27
  1327. package/build/server/chunks/nodes/6.js-DnWgaPHa.js.map +0 -1
  1328. package/build/server/chunks/nodes/7.js-B3S58Myp.js +0 -20
  1329. package/build/server/chunks/nodes/7.js-B3S58Myp.js.map +0 -1
  1330. package/build/server/chunks/nodes/8.js-DxcxiA6l.js +0 -31
  1331. package/build/server/chunks/nodes/8.js-DxcxiA6l.js.map +0 -1
  1332. package/build/server/chunks/nodes/9.js-Dhjkc-hj.js +0 -27
  1333. package/build/server/chunks/nodes/9.js-Dhjkc-hj.js.map +0 -1
  1334. /package/build/client/_app/immutable/assets/{21._Lx8kfnW.css → 22._Lx8kfnW.css} +0 -0
  1335. /package/build/client/_app/immutable/assets/{21._Lx8kfnW.css.br → 22._Lx8kfnW.css.br} +0 -0
  1336. /package/build/client/_app/immutable/assets/{21._Lx8kfnW.css.gz → 22._Lx8kfnW.css.gz} +0 -0
  1337. /package/build/client/_app/immutable/nodes/{0.BtPdsRZ6.js → 0.DefUESID.js} +0 -0
  1338. /package/build/client/_app/immutable/nodes/{0.BtPdsRZ6.js.br → 0.DefUESID.js.br} +0 -0
  1339. /package/build/client/_app/immutable/nodes/{0.BtPdsRZ6.js.gz → 0.DefUESID.js.gz} +0 -0
  1340. /package/build/client/_app/immutable/nodes/{18.CxvBVu6V.js → 19.CxvBVu6V.js} +0 -0
  1341. /package/build/client/_app/immutable/nodes/{18.CxvBVu6V.js.br → 19.CxvBVu6V.js.br} +0 -0
  1342. /package/build/client/_app/immutable/nodes/{18.CxvBVu6V.js.gz → 19.CxvBVu6V.js.gz} +0 -0
  1343. /package/build/client/_app/immutable/nodes/{26.Ci7KaSCs.js → 27.Ci7KaSCs.js} +0 -0
  1344. /package/build/client/_app/immutable/nodes/{26.Ci7KaSCs.js.br → 27.Ci7KaSCs.js.br} +0 -0
  1345. /package/build/client/_app/immutable/nodes/{26.Ci7KaSCs.js.gz → 27.Ci7KaSCs.js.gz} +0 -0
  1346. /package/build/client/_app/immutable/nodes/{27.BzDwn4U7.js → 28.BzDwn4U7.js} +0 -0
  1347. /package/build/client/_app/immutable/nodes/{27.BzDwn4U7.js.br → 28.BzDwn4U7.js.br} +0 -0
  1348. /package/build/client/_app/immutable/nodes/{27.BzDwn4U7.js.gz → 28.BzDwn4U7.js.gz} +0 -0
  1349. /package/build/client/_app/immutable/nodes/{32.DsgjNqd0.js → 33.DsgjNqd0.js} +0 -0
  1350. /package/build/client/_app/immutable/nodes/{32.DsgjNqd0.js.br → 33.DsgjNqd0.js.br} +0 -0
  1351. /package/build/client/_app/immutable/nodes/{32.DsgjNqd0.js.gz → 33.DsgjNqd0.js.gz} +0 -0
@@ -0,0 +1,3938 @@
1
+ import { u as uneval } from './uneval.js-NmnccxCg.js';
2
+ import { clsx } from 'clsx';
3
+
4
+ //#region ../../node_modules/.pnpm/svelte@5.57.1_@typescript-eslint+types@8.70.1/node_modules/svelte/src/internal/shared/utils.js
5
+ var is_array = Array.isArray;
6
+ var index_of = Array.prototype.indexOf;
7
+ var includes = Array.prototype.includes;
8
+ var array_from = Array.from;
9
+ var define_property = Object.defineProperty;
10
+ var get_descriptor = Object.getOwnPropertyDescriptor;
11
+ var object_prototype = Object.prototype;
12
+ var array_prototype = Array.prototype;
13
+ var get_prototype_of = Object.getPrototypeOf;
14
+ var is_extensible = Object.isExtensible;
15
+ var has_own_property = Object.prototype.hasOwnProperty;
16
+ var noop = () => {};
17
+ /** @param {Function} fn */
18
+ function run(fn) {
19
+ return fn();
20
+ }
21
+ /** @param {Array<() => void>} arr */
22
+ function run_all(arr) {
23
+ for (var i = 0; i < arr.length; i++) arr[i]();
24
+ }
25
+ /**
26
+ * TODO replace with Promise.withResolvers once supported widely enough
27
+ * @template [T=void]
28
+ */
29
+ function deferred() {
30
+ /** @type {(value: T) => void} */
31
+ var resolve;
32
+ /** @type {(reason: any) => void} */
33
+ var reject;
34
+ return {
35
+ promise: new Promise((res, rej) => {
36
+ resolve = res;
37
+ reject = rej;
38
+ }),
39
+ resolve,
40
+ reject
41
+ };
42
+ }
43
+ /**
44
+ * @template V
45
+ * @param {V} value
46
+ * @param {V | (() => V)} fallback
47
+ * @param {boolean} [lazy]
48
+ * @returns {V}
49
+ */
50
+ function fallback(value, fallback, lazy = false) {
51
+ return value === void 0 ? lazy ? fallback() : fallback : value;
52
+ }
53
+ /**
54
+ * When encountering a situation like `let [a, b, c] = $derived(blah())`,
55
+ * we need to stash an intermediate value that `a`, `b`, and `c` derive
56
+ * from, in case it's an iterable
57
+ * @template T
58
+ * @param {ArrayLike<T> | Iterable<T>} value
59
+ * @param {number} [n]
60
+ * @returns {Array<T>}
61
+ */
62
+ function to_array(value, n) {
63
+ if (Array.isArray(value)) return value;
64
+ if (!(Symbol.iterator in value)) return Array.from(value);
65
+ /** @type {T[]} */
66
+ const array = [];
67
+ for (const element of value) {
68
+ array.push(element);
69
+ if (array.length === n) break;
70
+ }
71
+ return array;
72
+ }
73
+ //#endregion
74
+ //#region ../../node_modules/.pnpm/svelte@5.57.1_@typescript-eslint+types@8.70.1/node_modules/svelte/src/internal/client/reactivity/equality.js
75
+ /** @import { Equals } from '#client' */
76
+ /** @type {Equals} */
77
+ function equals(value) {
78
+ return value === this.v;
79
+ }
80
+ /**
81
+ * @param {unknown} a
82
+ * @param {unknown} b
83
+ * @returns {boolean}
84
+ */
85
+ function safe_not_equal(a, b) {
86
+ return a != a ? b == b : a !== b || a !== null && typeof a === "object" || typeof a === "function";
87
+ }
88
+ /** @type {Equals} */
89
+ function safe_equals(value) {
90
+ return !safe_not_equal(value, this.v);
91
+ }
92
+ var CLEAN = 1024;
93
+ var DIRTY = 2048;
94
+ var MAYBE_DIRTY = 4096;
95
+ var INERT = 8192;
96
+ var DESTROYED = 16384;
97
+ /** Set once a reaction has run for the first time */
98
+ var REACTION_RAN = 32768;
99
+ /** Effect is in the process of getting destroyed. Can be observed in child teardown functions */
100
+ var DESTROYING = 1 << 25;
101
+ /**
102
+ * 'Transparent' effects do not create a transition boundary.
103
+ * This is on a block effect 99% of the time but may also be on a branch effect if its parent block effect was pruned
104
+ */
105
+ var EFFECT_TRANSPARENT = 65536;
106
+ var EFFECT_PRESERVED = 1 << 19;
107
+ var USER_EFFECT = 1 << 20;
108
+ var REACTION_IS_UPDATING = 1 << 21;
109
+ var ERROR_VALUE = 1 << 23;
110
+ var STATE_SYMBOL = Symbol("$state");
111
+ /** Marks component export objects, so that `proxy(...)` leaves them untouched */
112
+ var COMPONENT_SYMBOL = Symbol("component");
113
+ var LEGACY_PROPS = Symbol("legacy props");
114
+ var ATTRIBUTES_CACHE = Symbol("attributes");
115
+ var CLASS_CACHE = Symbol("class");
116
+ var STYLE_CACHE = Symbol("style");
117
+ var TEXT_CACHE = Symbol("text");
118
+ /** allow users to ignore aborted signal errors if `reason.name === 'StaleReactionError` */
119
+ var STALE_REACTION = new class StaleReactionError extends Error {
120
+ name = "StaleReactionError";
121
+ message = "The reaction that called `getAbortSignal()` was re-run or destroyed";
122
+ }();
123
+ //#endregion
124
+ //#region ../../node_modules/.pnpm/svelte@5.57.1_@typescript-eslint+types@8.70.1/node_modules/svelte/src/constants.js
125
+ var HYDRATION_ERROR = {};
126
+ var UNINITIALIZED = Symbol("uninitialized");
127
+ var ATTACHMENT_KEY = "@attach";
128
+ /**
129
+ * Reading a derived belonging to a now-destroyed effect may result in stale values
130
+ */
131
+ function derived_inert() {
132
+ console.warn(`https://svelte.dev/e/derived_inert`);
133
+ }
134
+ /**
135
+ * Hydration failed because the initial UI does not match what was rendered on the server. The error occurred near %location%
136
+ * @param {string | undefined | null} [location]
137
+ */
138
+ function hydration_mismatch(location) {
139
+ console.warn(`https://svelte.dev/e/hydration_mismatch`);
140
+ }
141
+ /**
142
+ * A `<svelte:boundary>` `reset` function only resets the boundary the first time it is called
143
+ */
144
+ function svelte_boundary_reset_noop() {
145
+ console.warn(`https://svelte.dev/e/svelte_boundary_reset_noop`);
146
+ }
147
+ //#endregion
148
+ //#region ../../node_modules/.pnpm/svelte@5.57.1_@typescript-eslint+types@8.70.1/node_modules/svelte/src/internal/client/dom/hydration.js
149
+ /** @import { TemplateNode } from '#client' */
150
+ /**
151
+ * Use this variable to guard everything related to hydration code so it can be treeshaken out
152
+ * if the user doesn't use the `hydrate` method and these code paths are therefore not needed.
153
+ */
154
+ var hydrating = false;
155
+ /** @param {boolean} value */
156
+ function set_hydrating(value) {
157
+ hydrating = value;
158
+ }
159
+ /**
160
+ * The node that is currently being hydrated. This starts out as the first node inside the opening
161
+ * <!--[--> comment, and updates each time a component calls `$.child(...)` or `$.sibling(...)`.
162
+ * When entering a block (e.g. `{#if ...}`), `hydrate_node` is the block opening comment; by the
163
+ * time we leave the block it is the closing comment, which serves as the block's anchor.
164
+ * @type {TemplateNode}
165
+ */
166
+ var hydrate_node;
167
+ /** @param {TemplateNode | null} node */
168
+ function set_hydrate_node(node) {
169
+ if (node === null) {
170
+ hydration_mismatch();
171
+ throw HYDRATION_ERROR;
172
+ }
173
+ return hydrate_node = node;
174
+ }
175
+ function hydrate_next() {
176
+ return set_hydrate_node(/* @__PURE__ */ get_next_sibling(hydrate_node));
177
+ }
178
+ function next(count = 1) {
179
+ if (hydrating) {
180
+ var i = count;
181
+ var node = hydrate_node;
182
+ while (i--) node = /* @__PURE__ */ get_next_sibling(node);
183
+ hydrate_node = node;
184
+ }
185
+ }
186
+ /**
187
+ * Skips or removes (depending on {@link remove}) all nodes starting at `hydrate_node` up until the next hydration end comment
188
+ * @param {boolean} remove
189
+ */
190
+ function skip_nodes(remove = true) {
191
+ var depth = 0;
192
+ var node = hydrate_node;
193
+ while (true) {
194
+ if (node.nodeType === 8) {
195
+ var data = node.data;
196
+ if (data === "]") {
197
+ if (depth === 0) return node;
198
+ depth -= 1;
199
+ } else if (data === "[" || data === "[!" || data[0] === "[" && !isNaN(Number(data.slice(1)))) depth += 1;
200
+ }
201
+ var next = /* @__PURE__ */ get_next_sibling(node);
202
+ if (remove) node.remove();
203
+ node = next;
204
+ }
205
+ }
206
+ //#endregion
207
+ //#region ../../node_modules/.pnpm/svelte@5.57.1_@typescript-eslint+types@8.70.1/node_modules/svelte/src/internal/shared/errors.js
208
+ /**
209
+ * Cannot use `%name%(...)` unless the `experimental.async` compiler option is `true`
210
+ * @param {string} name
211
+ * @returns {never}
212
+ */
213
+ function experimental_async_required(name) {
214
+ throw new Error(`https://svelte.dev/e/experimental_async_required`);
215
+ }
216
+ /**
217
+ * `%name%(...)` can only be used during component initialisation
218
+ * @param {string} name
219
+ * @returns {never}
220
+ */
221
+ function lifecycle_outside_component(name) {
222
+ throw new Error(`https://svelte.dev/e/lifecycle_outside_component`);
223
+ }
224
+ /**
225
+ * Context was not set in the current component or any of its ancestors
226
+ * @returns {never}
227
+ */
228
+ function missing_context() {
229
+ throw new Error(`https://svelte.dev/e/missing_context`);
230
+ }
231
+ /**
232
+ * `setContext` must be called when a component first initializes, not in a subsequent effect or after an `await` expression
233
+ * @returns {never}
234
+ */
235
+ function set_context_after_init() {
236
+ throw new Error(`https://svelte.dev/e/set_context_after_init`);
237
+ }
238
+ /**
239
+ * Maximum update depth exceeded. This typically indicates that an effect reads and writes the same piece of state
240
+ * @returns {never}
241
+ */
242
+ function effect_update_depth_exceeded() {
243
+ throw new Error(`https://svelte.dev/e/effect_update_depth_exceeded`);
244
+ }
245
+ /**
246
+ * Failed to hydrate the application
247
+ * @returns {never}
248
+ */
249
+ function hydration_failed() {
250
+ throw new Error(`https://svelte.dev/e/hydration_failed`);
251
+ }
252
+ /**
253
+ * Property descriptors defined on `$state` objects must contain `value` and always be `enumerable`, `configurable` and `writable`.
254
+ * @returns {never}
255
+ */
256
+ function state_descriptors_fixed() {
257
+ throw new Error(`https://svelte.dev/e/state_descriptors_fixed`);
258
+ }
259
+ /**
260
+ * Cannot set prototype of `$state` object
261
+ * @returns {never}
262
+ */
263
+ function state_prototype_fixed() {
264
+ throw new Error(`https://svelte.dev/e/state_prototype_fixed`);
265
+ }
266
+ /**
267
+ * Updating state inside `$derived(...)`, `$inspect(...)` or a template expression is forbidden. If the value should not be reactive, declare it without `$state`
268
+ * @returns {never}
269
+ */
270
+ function state_unsafe_mutation() {
271
+ throw new Error(`https://svelte.dev/e/state_unsafe_mutation`);
272
+ }
273
+ /**
274
+ * A `<svelte:boundary>` `reset` function cannot be called while an error is still being handled
275
+ * @returns {never}
276
+ */
277
+ function svelte_boundary_reset_onerror() {
278
+ throw new Error(`https://svelte.dev/e/svelte_boundary_reset_onerror`);
279
+ }
280
+ //#endregion
281
+ //#region ../../node_modules/.pnpm/svelte@5.57.1_@typescript-eslint+types@8.70.1/node_modules/svelte/src/internal/shared/clone.js
282
+ /** @import { Snapshot } from './types' */
283
+ /**
284
+ * In dev, we keep track of which properties could not be cloned. In prod
285
+ * we don't bother, but we keep a dummy array around so that the
286
+ * signature stays the same
287
+ * @type {string[]}
288
+ */
289
+ var empty = [];
290
+ /**
291
+ * @template T
292
+ * @param {T} value
293
+ * @param {boolean} [skip_warning]
294
+ * @param {boolean} [no_tojson]
295
+ * @returns {Snapshot<T>}
296
+ */
297
+ function snapshot(value, skip_warning = false, no_tojson = false) {
298
+ return clone(value, /* @__PURE__ */ new Map(), "", empty, null, no_tojson);
299
+ }
300
+ /**
301
+ * @template T
302
+ * @param {T} value
303
+ * @param {Map<T, Snapshot<T>>} cloned
304
+ * @param {string} path
305
+ * @param {string[]} paths
306
+ * @param {null | T} [original] The original value, if `value` was produced from a `toJSON` call
307
+ * @param {boolean} [no_tojson]
308
+ * @returns {Snapshot<T>}
309
+ */
310
+ function clone(value, cloned, path, paths, original = null, no_tojson = false) {
311
+ if (typeof value === "object" && value !== null) {
312
+ var unwrapped = cloned.get(value);
313
+ if (unwrapped !== void 0) return unwrapped;
314
+ if (value instanceof Map) return new Map(value);
315
+ if (value instanceof Set) return new Set(value);
316
+ if (is_array(value)) {
317
+ var copy = Array(value.length);
318
+ cloned.set(value, copy);
319
+ if (original !== null) cloned.set(original, copy);
320
+ for (var i = 0; i < value.length; i += 1) {
321
+ var element = value[i];
322
+ if (i in value) copy[i] = clone(element, cloned, path, paths, null, no_tojson);
323
+ }
324
+ return copy;
325
+ }
326
+ if (get_prototype_of(value) === object_prototype) {
327
+ /** @type {Snapshot<any>} */
328
+ copy = {};
329
+ cloned.set(value, copy);
330
+ if (original !== null) cloned.set(original, copy);
331
+ for (var key of Object.keys(value)) copy[key] = clone(value[key], cloned, path, paths, null, no_tojson);
332
+ return copy;
333
+ }
334
+ if (value instanceof Date) {
335
+ value.getTime();
336
+ return structuredClone(value);
337
+ }
338
+ if (typeof value.toJSON === "function" && !no_tojson) return clone(
339
+ /** @type {T & { toJSON(): any } } */
340
+ value.toJSON(),
341
+ cloned,
342
+ path,
343
+ paths,
344
+ value
345
+ );
346
+ }
347
+ if (value instanceof EventTarget) return value;
348
+ try {
349
+ return structuredClone(value);
350
+ } catch (e) {
351
+ return value;
352
+ }
353
+ }
354
+ //#endregion
355
+ //#region ../../node_modules/.pnpm/svelte@5.57.1_@typescript-eslint+types@8.70.1/node_modules/svelte/src/internal/shared/context.js
356
+ /**
357
+ * @template T
358
+ * @param {(key: object) => T} get_context
359
+ * @param {(key: object, context: T) => T} set_context
360
+ * @param {(key: object) => boolean} has_context
361
+ * @returns {[() => T, (context: T) => T, () => boolean]}
362
+ */
363
+ function create_context(get_context, set_context, has_context) {
364
+ const key = {};
365
+ return [
366
+ () => {
367
+ if (!has_context(key)) missing_context();
368
+ return get_context(key);
369
+ },
370
+ (context) => set_context(key, context),
371
+ () => has_context(key)
372
+ ];
373
+ }
374
+ /**
375
+ * @typedef {{ p: Context | null, c: Map<unknown, unknown> | null }} Context
376
+ */
377
+ /**
378
+ * @param {Context} context
379
+ * @returns {Map<unknown, unknown> | null}
380
+ */
381
+ function get_parent_context(context) {
382
+ let parent = context.p;
383
+ while (parent !== null && parent.c === null) parent = parent.p;
384
+ return parent?.c ?? null;
385
+ }
386
+ /**
387
+ * @param {Context | null} context
388
+ * @param {string} name
389
+ * @returns {Map<unknown, unknown>}
390
+ */
391
+ function get_or_init_context_map(context, name) {
392
+ if (context === null) lifecycle_outside_component();
393
+ return context.c ??= new Map(get_parent_context(context) || void 0);
394
+ }
395
+ //#endregion
396
+ //#region ../../node_modules/.pnpm/svelte@5.57.1_@typescript-eslint+types@8.70.1/node_modules/svelte/src/internal/client/context.js
397
+ /** @import { ComponentContext, DevStackEntry, Effect } from '#client' */
398
+ /** @type {ComponentContext | null} */
399
+ var component_context = null;
400
+ /** @param {ComponentContext | null} context */
401
+ function set_component_context(context) {
402
+ component_context = context;
403
+ }
404
+ /**
405
+ * @param {Record<string, unknown>} props
406
+ * @param {any} runes
407
+ * @param {Function} [fn]
408
+ * @returns {void}
409
+ */
410
+ function push$1(props, runes = false, fn) {
411
+ component_context = {
412
+ p: component_context,
413
+ i: false,
414
+ c: null,
415
+ e: null,
416
+ s: props,
417
+ x: null,
418
+ r: active_effect,
419
+ l: null
420
+ };
421
+ }
422
+ /**
423
+ * @template {Record<string, any>} T
424
+ * @param {T} [component]
425
+ * @returns {T}
426
+ */
427
+ function pop$1(component) {
428
+ var context = component_context;
429
+ var effects = context.e;
430
+ if (effects !== null) {
431
+ context.e = null;
432
+ for (var fn of effects) create_user_effect(fn);
433
+ }
434
+ context.i = true;
435
+ component_context = context.p;
436
+ return mark_as_component(component);
437
+ }
438
+ /**
439
+ * Add a symbol to the object (or create one if undefined) to mark it as a component so it isn't proxified.
440
+ * @param {any} component
441
+ */
442
+ function mark_as_component(component = {}) {
443
+ define_property(component, COMPONENT_SYMBOL, { value: true });
444
+ return component;
445
+ }
446
+ /** @returns {boolean} */
447
+ function is_runes() {
448
+ return true;
449
+ }
450
+ //#endregion
451
+ //#region ../../node_modules/.pnpm/svelte@5.57.1_@typescript-eslint+types@8.70.1/node_modules/svelte/src/internal/client/dom/task.js
452
+ /** @type {Array<() => void>} */
453
+ var micro_tasks = [];
454
+ function run_micro_tasks() {
455
+ var tasks = micro_tasks;
456
+ micro_tasks = [];
457
+ run_all(tasks);
458
+ }
459
+ /**
460
+ * @param {() => void} fn
461
+ */
462
+ function queue_micro_task(fn) {
463
+ if (micro_tasks.length === 0 && !is_flushing_sync) {
464
+ var tasks = micro_tasks;
465
+ queueMicrotask(() => {
466
+ if (tasks === micro_tasks) run_micro_tasks();
467
+ });
468
+ }
469
+ micro_tasks.push(fn);
470
+ }
471
+ /**
472
+ * Synchronously run any queued tasks.
473
+ */
474
+ function flush_tasks() {
475
+ while (micro_tasks.length > 0) run_micro_tasks();
476
+ }
477
+ //#endregion
478
+ //#region ../../node_modules/.pnpm/svelte@5.57.1_@typescript-eslint+types@8.70.1/node_modules/svelte/src/internal/client/reactivity/status.js
479
+ /** @import { Derived, Signal } from '#client' */
480
+ var STATUS_MASK = -7169;
481
+ /**
482
+ * @param {Signal} signal
483
+ * @param {number} status
484
+ */
485
+ function set_signal_status(signal, status) {
486
+ signal.f = signal.f & STATUS_MASK | status;
487
+ }
488
+ /**
489
+ * Set a derived's status to CLEAN or MAYBE_DIRTY based on its connection state.
490
+ * @param {Derived} derived
491
+ */
492
+ function update_derived_status(derived) {
493
+ if ((derived.f & 512) !== 0 || derived.deps === null) set_signal_status(derived, CLEAN);
494
+ else set_signal_status(derived, MAYBE_DIRTY);
495
+ }
496
+ //#endregion
497
+ //#region ../../node_modules/.pnpm/svelte@5.57.1_@typescript-eslint+types@8.70.1/node_modules/svelte/src/internal/client/reactivity/utils.js
498
+ /** @import { Effect } from '#client' */
499
+ /**
500
+ * @param {Effect} effect
501
+ * @param {Set<Effect>} dirty_effects
502
+ * @param {Set<Effect>} maybe_dirty_effects
503
+ */
504
+ function defer_effect(effect, dirty_effects, maybe_dirty_effects) {
505
+ if ((effect.f & 2048) !== 0) dirty_effects.add(effect);
506
+ else if ((effect.f & 4096) !== 0) maybe_dirty_effects.add(effect);
507
+ set_signal_status(effect, CLEAN);
508
+ }
509
+ //#endregion
510
+ //#region ../../node_modules/.pnpm/svelte@5.57.1_@typescript-eslint+types@8.70.1/node_modules/svelte/src/internal/client/dom/elements/bindings/shared.js
511
+ /**
512
+ * @template T
513
+ * @param {() => T} fn
514
+ */
515
+ function without_reactive_context(fn) {
516
+ var previous_reaction = active_reaction;
517
+ var previous_effect = active_effect;
518
+ set_active_reaction(null);
519
+ set_active_effect(null);
520
+ try {
521
+ return fn();
522
+ } finally {
523
+ set_active_reaction(previous_reaction);
524
+ set_active_effect(previous_effect);
525
+ }
526
+ }
527
+ var OBSOLETE = Symbol("obsolete");
528
+ /**
529
+ * @param {Derived} derived
530
+ * @returns {void}
531
+ */
532
+ function destroy_derived_effects(derived) {
533
+ var effects = derived.effects;
534
+ if (effects !== null) {
535
+ derived.effects = null;
536
+ for (var i = 0; i < effects.length; i += 1) destroy_effect(effects[i]);
537
+ }
538
+ }
539
+ /**
540
+ * @template T
541
+ * @param {Derived} derived
542
+ * @returns {T}
543
+ */
544
+ function execute_derived(derived) {
545
+ var value;
546
+ var prev_active_effect = active_effect;
547
+ var parent = derived.parent;
548
+ if (!is_destroying_effect && parent !== null && derived.v !== UNINITIALIZED && (parent.f & 24576) !== 0) {
549
+ derived_inert();
550
+ return derived.v;
551
+ }
552
+ set_active_effect(parent);
553
+ try {
554
+ destroy_derived_effects(derived);
555
+ value = update_reaction(derived);
556
+ } finally {
557
+ set_active_effect(prev_active_effect);
558
+ }
559
+ return value;
560
+ }
561
+ /**
562
+ * @param {Derived} derived
563
+ * @returns {void}
564
+ */
565
+ function update_derived(derived) {
566
+ var value = execute_derived(derived);
567
+ if (!derived.equals(value)) {
568
+ derived.wv = increment_write_version();
569
+ if (!current_batch?.is_fork || derived.deps === null) {
570
+ if (current_batch !== null) {
571
+ current_batch.capture(derived, value, true);
572
+ previous_batch?.capture(derived, value, true);
573
+ } else derived.v = value;
574
+ if (derived.deps === null) {
575
+ set_signal_status(derived, CLEAN);
576
+ return;
577
+ }
578
+ }
579
+ }
580
+ if (is_destroying_effect) return;
581
+ if (batch_values !== null) {
582
+ if (effect_tracking() || current_batch?.is_fork) batch_values.set(derived, value);
583
+ } else update_derived_status(derived);
584
+ }
585
+ /**
586
+ * @param {Derived} derived
587
+ */
588
+ function freeze_derived_effects(derived) {
589
+ if (derived.effects === null) return;
590
+ for (const e of derived.effects) if (e.teardown || e.ac) {
591
+ e.teardown?.();
592
+ if (e.ac !== null) without_reactive_context(() => {
593
+ /** @type {AbortController} */ e.ac.abort(STALE_REACTION);
594
+ e.ac = null;
595
+ });
596
+ if (e.fn !== null) e.teardown = noop;
597
+ remove_reactions(e, 0);
598
+ destroy_effect_children(e);
599
+ }
600
+ }
601
+ /**
602
+ * @param {Derived} derived
603
+ */
604
+ function unfreeze_derived_effects(derived) {
605
+ if (derived.effects === null) return;
606
+ for (const e of derived.effects) if (e.teardown && e.fn !== null) update_effect(e);
607
+ }
608
+ //#endregion
609
+ //#region ../../node_modules/.pnpm/svelte@5.57.1_@typescript-eslint+types@8.70.1/node_modules/svelte/src/internal/client/reactivity/batch.js
610
+ /** @import { Fork } from 'svelte' */
611
+ /** @import { Derived, Effect, Reaction, Source, Value } from '#client' */
612
+ /** @type {Batch | null} */
613
+ var first_batch = null;
614
+ /** @type {Batch | null} */
615
+ var last_batch = null;
616
+ /** @type {Batch | null} */
617
+ var current_batch = null;
618
+ /**
619
+ * This is needed to avoid overwriting inputs
620
+ * @type {Batch | null}
621
+ */
622
+ var previous_batch = null;
623
+ /**
624
+ * When time travelling (i.e. working in one batch, while other batches
625
+ * still have ongoing work), we ignore the real values of affected
626
+ * signals in favour of their values within the batch
627
+ * @type {Map<Value, any> | null}
628
+ */
629
+ var batch_values = null;
630
+ /** @type {Effect | null} */
631
+ var last_scheduled_effect = null;
632
+ var is_flushing_sync = false;
633
+ var is_processing = false;
634
+ /**
635
+ * During traversal, this is an array. Newly created effects are (if not immediately
636
+ * executed) pushed to this array, rather than going through the scheduling
637
+ * rigamarole that would cause another turn of the flush loop.
638
+ * @type {Effect[] | null}
639
+ */
640
+ var collected_effects = null;
641
+ /**
642
+ * An array of effects that are marked during traversal as a result of a `set`
643
+ * (not `internal_set`) call. These will be added to the next batch and
644
+ * trigger another `batch.process()`
645
+ * @type {Effect[] | null}
646
+ * @deprecated when we get rid of legacy mode and stores, we can get rid of this
647
+ */
648
+ var legacy_updates = null;
649
+ var flush_count = 0;
650
+ var uid = 1;
651
+ var Batch = class Batch {
652
+ id = uid++;
653
+ /** True as soon as `#process` was called */
654
+ #started = false;
655
+ linked = true;
656
+ /** @type {Batch | null} */
657
+ #prev = null;
658
+ /** @type {Batch | null} */
659
+ #next = null;
660
+ /** @type {Map<Effect, ReturnType<typeof deferred<any>>>} */
661
+ async_deriveds = /* @__PURE__ */ new Map();
662
+ /**
663
+ * The current values of any signals that are updated in this batch.
664
+ * Tuple format: [value, is_derived] (note: is_derived is false for deriveds, too, if they were overridden via assignment)
665
+ * They keys of this map are identical to `this.#previous`
666
+ * @type {Map<Value, [any, boolean]>}
667
+ */
668
+ current = /* @__PURE__ */ new Map();
669
+ /**
670
+ * The values of any signals (sources and deriveds) that are updated in this batch _before_ those updates took place.
671
+ * They keys of this map are identical to `this.#current`
672
+ * @type {Map<Value, any>}
673
+ */
674
+ previous = /* @__PURE__ */ new Map();
675
+ /**
676
+ * When the batch is committed (and the DOM is updated), we need to remove old branches
677
+ * and append new ones by calling the functions added inside (if/each/key/etc) blocks
678
+ * @type {Set<(batch: Batch) => void>}
679
+ */
680
+ #commit_callbacks = /* @__PURE__ */ new Set();
681
+ /**
682
+ * If a fork is discarded, we need to destroy any effects that are no longer needed
683
+ * @type {Set<(batch: Batch) => void>}
684
+ */
685
+ #discard_callbacks = /* @__PURE__ */ new Set();
686
+ /**
687
+ * The number of async effects that are currently in flight
688
+ */
689
+ #pending = 0;
690
+ /**
691
+ * Async effects that are currently in flight, _not_ inside a pending boundary
692
+ * @type {Map<Effect, number>}
693
+ */
694
+ #blocking_pending = /* @__PURE__ */ new Map();
695
+ /**
696
+ * A deferred that resolves when the batch is committed, used with `settled()`
697
+ * TODO replace with Promise.withResolvers once supported widely enough
698
+ * @type {{ promise: Promise<void>, resolve: (value?: any) => void, reject: (reason: unknown) => void } | null}
699
+ */
700
+ #deferred = null;
701
+ /**
702
+ * Effects that were scheduled in this batch but not yet 'resolved' into the
703
+ * root effects that need to be flushed. Resolving — the upwards traversal that
704
+ * marks the path to each effect on the shared effect tree (see #resolve) — is
705
+ * deferred until the batch is processed, so that the markers are created and
706
+ * consumed within a single traversal. Scheduling into other batches (which can
707
+ * happen concurrently, e.g. while a batch is committed) can therefore never
708
+ * observe (and be confused by) this batch's markers.
709
+ * May contain duplicates — deduplication happens during resolving
710
+ * @type {Effect[]}
711
+ */
712
+ #scheduled = [];
713
+ /**
714
+ * Effects created while this batch was active.
715
+ * @type {Effect[]}
716
+ */
717
+ #new_effects = [];
718
+ /**
719
+ * Deferred effects (which run after async work has completed) that are DIRTY
720
+ * @type {Set<Effect>}
721
+ */
722
+ #dirty_effects = /* @__PURE__ */ new Set();
723
+ /**
724
+ * Deferred effects that are MAYBE_DIRTY
725
+ * @type {Set<Effect>}
726
+ */
727
+ #maybe_dirty_effects = /* @__PURE__ */ new Set();
728
+ /**
729
+ * A map of branches that still exist, but will be destroyed when this batch
730
+ * is committed — we skip over these during `process`.
731
+ * The value contains child effects that were dirty/maybe_dirty before being reset,
732
+ * so they can be rescheduled if the branch survives.
733
+ * @type {Map<Effect, { d: Effect[], m: Effect[] }>}
734
+ */
735
+ #skipped_branches = /* @__PURE__ */ new Map();
736
+ /**
737
+ * Inverse of #skipped_branches which we need to tell prior batches to unskip them when committing
738
+ * @type {Set<Effect>}
739
+ */
740
+ #unskipped_branches = /* @__PURE__ */ new Set();
741
+ is_fork = false;
742
+ #decrement_queued = false;
743
+ constructor() {
744
+ if (last_batch === null) first_batch = last_batch = this;
745
+ else {
746
+ last_batch.#next = this;
747
+ this.#prev = last_batch;
748
+ }
749
+ last_batch = this;
750
+ }
751
+ #is_deferred() {
752
+ if (this.is_fork) return true;
753
+ for (const effect of this.#blocking_pending.keys()) {
754
+ var e = effect;
755
+ var skipped = false;
756
+ while (e.parent !== null) {
757
+ if (this.#skipped_branches.has(e)) {
758
+ skipped = true;
759
+ break;
760
+ }
761
+ e = e.parent;
762
+ }
763
+ if (!skipped) return true;
764
+ }
765
+ return false;
766
+ }
767
+ /**
768
+ * Add an effect to the #skipped_branches map and reset its children
769
+ * @param {Effect} effect
770
+ */
771
+ skip_effect(effect) {
772
+ if (!this.#skipped_branches.has(effect)) this.#skipped_branches.set(effect, {
773
+ d: [],
774
+ m: []
775
+ });
776
+ this.#unskipped_branches.delete(effect);
777
+ }
778
+ /**
779
+ * Remove an effect from the #skipped_branches map and reschedule
780
+ * any tracked dirty/maybe_dirty child effects
781
+ * @param {Effect} effect
782
+ * @param {(e: Effect) => void} callback
783
+ */
784
+ unskip_effect(effect, callback = (e) => this.schedule(e)) {
785
+ var tracked = this.#skipped_branches.get(effect);
786
+ if (tracked) {
787
+ this.#skipped_branches.delete(effect);
788
+ for (var e of tracked.d) {
789
+ set_signal_status(e, DIRTY);
790
+ callback(e);
791
+ }
792
+ for (e of tracked.m) {
793
+ set_signal_status(e, MAYBE_DIRTY);
794
+ callback(e);
795
+ }
796
+ }
797
+ this.#unskipped_branches.add(effect);
798
+ }
799
+ /**
800
+ * Convert the effects that were scheduled in this batch into the root effects
801
+ * that need to be traversed, marking the path to each effect (by clearing the
802
+ * `CLEAN` flag on ancestor branches) so that the traversal can find them.
803
+ * This happens right before traversal rather than at scheduling time, so that
804
+ * the markers left on the (shared) effect tree are created and consumed within
805
+ * a single traversal — scheduling into other batches can never observe them
806
+ * @returns {Effect[]}
807
+ */
808
+ #resolve() {
809
+ /** @type {Effect[]} */
810
+ var roots = [];
811
+ for (const effect of this.#scheduled) {
812
+ if ((effect.f & 16384) !== 0 || (effect.f & 6144) === 0) continue;
813
+ var e = effect;
814
+ var covered = false;
815
+ while (e.parent !== null) {
816
+ e = e.parent;
817
+ var flags = e.f;
818
+ if ((flags & 96) !== 0) {
819
+ if ((flags & 1024) === 0) {
820
+ covered = true;
821
+ break;
822
+ }
823
+ e.f ^= CLEAN;
824
+ }
825
+ }
826
+ if (!covered) roots.push(e);
827
+ }
828
+ this.#scheduled = [];
829
+ return roots;
830
+ }
831
+ #process() {
832
+ this.#started = true;
833
+ for (const e of this.#dirty_effects) {
834
+ this.#maybe_dirty_effects.delete(e);
835
+ set_signal_status(e, DIRTY);
836
+ this.schedule(e);
837
+ }
838
+ for (const e of this.#maybe_dirty_effects) {
839
+ set_signal_status(e, MAYBE_DIRTY);
840
+ this.schedule(e);
841
+ }
842
+ this.apply();
843
+ /** @type {Effect[]} */
844
+ var effects = collected_effects = [];
845
+ /** @type {Effect[]} */
846
+ var render_effects = [];
847
+ /**
848
+ * @type {Effect[]}
849
+ * @deprecated when we get rid of legacy mode and stores, we can get rid of this
850
+ */
851
+ var updates = legacy_updates = [];
852
+ while (this.#scheduled.length > 0) {
853
+ if (flush_count++ > 1e3) {
854
+ this.#unlink();
855
+ infinite_loop_guard();
856
+ }
857
+ for (const root of this.#resolve()) try {
858
+ this.#traverse(root, effects, render_effects);
859
+ } catch (e) {
860
+ reset_all(root);
861
+ if (!this.#is_deferred()) this.discard();
862
+ throw e;
863
+ }
864
+ }
865
+ current_batch = null;
866
+ if (updates.length > 0) {
867
+ var batch = Batch.ensure();
868
+ for (const e of updates) batch.schedule(e);
869
+ }
870
+ collected_effects = null;
871
+ legacy_updates = null;
872
+ if (this.#is_deferred()) {
873
+ this.#defer_effects(render_effects);
874
+ this.#defer_effects(effects);
875
+ for (const [e, t] of this.#skipped_branches) reset_branch(e, t);
876
+ if (updates.length > 0)
877
+ /** @type {Batch} */ current_batch.#process();
878
+ return;
879
+ }
880
+ const earlier_batch = this.#find_earlier_batch();
881
+ if (earlier_batch) {
882
+ this.#defer_effects(render_effects);
883
+ this.#defer_effects(effects);
884
+ earlier_batch.#merge(this);
885
+ return;
886
+ }
887
+ this.#dirty_effects.clear();
888
+ this.#maybe_dirty_effects.clear();
889
+ for (const fn of this.#commit_callbacks) fn(this);
890
+ this.#commit_callbacks.clear();
891
+ previous_batch = this;
892
+ flush_queued_effects(render_effects);
893
+ flush_queued_effects(effects);
894
+ previous_batch = null;
895
+ this.#deferred?.resolve();
896
+ var next_batch = current_batch;
897
+ if (this.#pending === 0 && (this.#scheduled.length === 0 || next_batch !== null)) {
898
+ this.#unlink();
899
+ }
900
+ if (this.#scheduled.length > 0) {
901
+ if (next_batch !== null) {
902
+ for (const e of this.#scheduled) next_batch.#scheduled.push(e);
903
+ this.#scheduled = [];
904
+ } else next_batch = this;
905
+ }
906
+ if (next_batch !== null) {
907
+ old_values.clear();
908
+ next_batch.#process();
909
+ }
910
+ }
911
+ /**
912
+ * Traverse the effect tree, executing effects or stashing
913
+ * them for later execution as appropriate
914
+ * @param {Effect} root
915
+ * @param {Effect[]} effects
916
+ * @param {Effect[]} render_effects
917
+ */
918
+ #traverse(root, effects, render_effects) {
919
+ root.f ^= CLEAN;
920
+ var effect = root.first;
921
+ while (effect !== null) {
922
+ var flags = effect.f;
923
+ var is_branch = (flags & 96) !== 0;
924
+ if (!(is_branch && (flags & 1024) !== 0 || (flags & 8192) !== 0 || this.#skipped_branches.has(effect)) && effect.fn !== null) {
925
+ if (is_branch) effect.f ^= CLEAN;
926
+ else if ((flags & 4) !== 0) effects.push(effect);
927
+ else if (is_dirty(effect)) {
928
+ if ((flags & 16) !== 0) this.#maybe_dirty_effects.add(effect);
929
+ update_effect(effect);
930
+ }
931
+ var child = effect.first;
932
+ if (child !== null) {
933
+ effect = child;
934
+ continue;
935
+ }
936
+ }
937
+ while (effect !== null) {
938
+ var next = effect.next;
939
+ if (next !== null) {
940
+ effect = next;
941
+ break;
942
+ }
943
+ effect = effect.parent;
944
+ }
945
+ }
946
+ }
947
+ #find_earlier_batch() {
948
+ var batch = this.#prev;
949
+ while (batch !== null) {
950
+ if (!batch.is_fork) {
951
+ for (const [value, [, is_derived]] of this.current) if (batch.current.has(value) && !is_derived) return batch;
952
+ }
953
+ batch = batch.#prev;
954
+ }
955
+ return null;
956
+ }
957
+ /**
958
+ * @param {Batch} batch
959
+ */
960
+ #merge(batch) {
961
+ for (const [source, value] of batch.current) {
962
+ if (!this.previous.has(source) && batch.previous.has(source)) this.previous.set(source, batch.previous.get(source));
963
+ this.current.set(source, value);
964
+ }
965
+ for (const [effect, deferred] of batch.async_deriveds) {
966
+ const d = this.async_deriveds.get(effect);
967
+ if (d) deferred.promise.then(d.resolve).catch(d.reject);
968
+ }
969
+ batch.async_deriveds.clear();
970
+ this.transfer_effects(batch.#dirty_effects, batch.#maybe_dirty_effects);
971
+ /**
972
+ * mark all effects that depend on `batch.current`, except the
973
+ * async effects that we just resolved (TODO unless they depend
974
+ * on values in this batch that are NOT in the later batch?).
975
+ * Through this we also will populate the correct #skipped_branches,
976
+ * oncommit callbacks etc, so we don't need to merge them separately.
977
+ * @param {Value} value
978
+ */
979
+ const mark = (value) => {
980
+ var reactions = value.reactions;
981
+ if (reactions === null) return;
982
+ if ((value.f & 2) !== 0 && (value.f & 6144) === 0) return;
983
+ for (const reaction of reactions) {
984
+ var flags = reaction.f;
985
+ if ((flags & 2) !== 0) mark(reaction);
986
+ else {
987
+ var effect = reaction;
988
+ if (flags & 4194320 && !this.async_deriveds.has(effect)) {
989
+ this.#maybe_dirty_effects.delete(effect);
990
+ set_signal_status(effect, DIRTY);
991
+ this.schedule(effect);
992
+ }
993
+ }
994
+ }
995
+ };
996
+ for (const source of this.current.keys()) mark(source);
997
+ this.oncommit(() => batch.discard());
998
+ batch.#unlink();
999
+ current_batch = this;
1000
+ this.#process();
1001
+ }
1002
+ /**
1003
+ * @param {Effect[]} effects
1004
+ */
1005
+ #defer_effects(effects) {
1006
+ for (var i = 0; i < effects.length; i += 1) defer_effect(effects[i], this.#dirty_effects, this.#maybe_dirty_effects);
1007
+ }
1008
+ /**
1009
+ * Associate a change to a given source with the current
1010
+ * batch, noting its previous and current values
1011
+ * @param {Value} source
1012
+ * @param {any} value
1013
+ * @param {boolean} [is_derived]
1014
+ */
1015
+ capture(source, value, is_derived = false) {
1016
+ if (source.v !== UNINITIALIZED && !this.previous.has(source)) this.previous.set(source, source.v);
1017
+ if ((source.f & 8388608) === 0) {
1018
+ this.current.set(source, [value, is_derived]);
1019
+ batch_values?.set(source, value);
1020
+ }
1021
+ if (!this.is_fork) source.v = value;
1022
+ }
1023
+ activate() {
1024
+ current_batch = this;
1025
+ }
1026
+ deactivate() {
1027
+ current_batch = null;
1028
+ batch_values = null;
1029
+ }
1030
+ flush() {
1031
+ try {
1032
+ is_processing = true;
1033
+ current_batch = this;
1034
+ this.#process();
1035
+ } finally {
1036
+ flush_count = 0;
1037
+ last_scheduled_effect = null;
1038
+ collected_effects = null;
1039
+ legacy_updates = null;
1040
+ is_processing = false;
1041
+ current_batch = null;
1042
+ batch_values = null;
1043
+ old_values.clear();
1044
+ }
1045
+ }
1046
+ discard() {
1047
+ for (const fn of this.#discard_callbacks) fn(this);
1048
+ this.#discard_callbacks.clear();
1049
+ for (const deferred of this.async_deriveds.values()) deferred.reject(OBSOLETE);
1050
+ this.#unlink();
1051
+ this.#deferred?.resolve();
1052
+ }
1053
+ /**
1054
+ * @param {Effect} effect
1055
+ */
1056
+ register_created_effect(effect) {
1057
+ this.#new_effects.push(effect);
1058
+ }
1059
+ #commit() {
1060
+ for (let batch = first_batch; batch !== null; batch = batch.#next) {
1061
+ var is_earlier = batch.id < this.id;
1062
+ /** @type {Source[]} */
1063
+ var sources = [];
1064
+ for (const [source, [value, is_derived]] of this.current) {
1065
+ if (batch.current.has(source)) {
1066
+ var batch_value = batch.current.get(source)[0];
1067
+ if (is_earlier && value !== batch_value) batch.current.set(source, [value, is_derived]);
1068
+ else continue;
1069
+ }
1070
+ sources.push(source);
1071
+ }
1072
+ if (is_earlier) for (const [effect, deferred] of this.async_deriveds) {
1073
+ const d = batch.async_deriveds.get(effect);
1074
+ if (d) deferred.promise.then(d.resolve).catch(d.reject);
1075
+ }
1076
+ var current = [...batch.current.keys()].filter((source) => !batch.current.get(source)[1]);
1077
+ if (!batch.#started || current.length === 0) continue;
1078
+ var others = current.filter((source) => !this.current.has(source));
1079
+ if (others.length === 0) {
1080
+ if (is_earlier) batch.discard();
1081
+ } else if (sources.length > 0) {
1082
+ if (is_earlier) for (const unskipped of this.#unskipped_branches) batch.unskip_effect(unskipped, (e) => {
1083
+ if ((e.f & 4194320) !== 0) batch.schedule(e);
1084
+ else batch.#defer_effects([e]);
1085
+ });
1086
+ batch.activate();
1087
+ /** @type {Set<Value>} */
1088
+ var marked = /* @__PURE__ */ new Set();
1089
+ /** @type {Map<Reaction, boolean>} */
1090
+ var checked = /* @__PURE__ */ new Map();
1091
+ for (var source of sources) mark_effects(source, others, marked, checked);
1092
+ checked = /* @__PURE__ */ new Map();
1093
+ var current_unequal = [...batch.current].filter(([c, v1]) => {
1094
+ const v2 = this.current.get(c);
1095
+ if (!v2) return true;
1096
+ return v2[0] !== v1[0] || v2[1] !== v1[1];
1097
+ }).map(([c]) => c);
1098
+ if (current_unequal.length > 0) {
1099
+ for (const effect of this.#new_effects) if ((effect.f & 155648) === 0 && depends_on(effect, current_unequal, checked)) {
1100
+ if ((effect.f & 4194320) !== 0) {
1101
+ set_signal_status(effect, DIRTY);
1102
+ batch.schedule(effect);
1103
+ } else batch.#dirty_effects.add(effect);
1104
+ }
1105
+ }
1106
+ if (batch.#scheduled.length > 0 && !batch.#decrement_queued) {
1107
+ batch.apply();
1108
+ for (var root of batch.#resolve()) batch.#traverse(root, [], []);
1109
+ }
1110
+ batch.deactivate();
1111
+ }
1112
+ }
1113
+ }
1114
+ /**
1115
+ * @param {boolean} blocking
1116
+ * @param {Effect} effect
1117
+ */
1118
+ increment(blocking, effect) {
1119
+ this.#pending += 1;
1120
+ if (blocking) {
1121
+ let blocking_pending_count = this.#blocking_pending.get(effect) ?? 0;
1122
+ this.#blocking_pending.set(effect, blocking_pending_count + 1);
1123
+ }
1124
+ }
1125
+ /**
1126
+ * @param {boolean} blocking
1127
+ * @param {Effect} effect
1128
+ */
1129
+ decrement(blocking, effect) {
1130
+ this.#pending -= 1;
1131
+ if (blocking) {
1132
+ let blocking_pending_count = this.#blocking_pending.get(effect) ?? 0;
1133
+ if (blocking_pending_count === 1) this.#blocking_pending.delete(effect);
1134
+ else this.#blocking_pending.set(effect, blocking_pending_count - 1);
1135
+ }
1136
+ if (this.#decrement_queued) return;
1137
+ this.#decrement_queued = true;
1138
+ queue_micro_task(() => {
1139
+ this.#decrement_queued = false;
1140
+ if (this.linked) this.flush();
1141
+ });
1142
+ }
1143
+ /**
1144
+ * @param {Set<Effect>} dirty_effects
1145
+ * @param {Set<Effect>} maybe_dirty_effects
1146
+ */
1147
+ transfer_effects(dirty_effects, maybe_dirty_effects) {
1148
+ for (const e of dirty_effects) this.#dirty_effects.add(e);
1149
+ for (const e of maybe_dirty_effects) this.#maybe_dirty_effects.add(e);
1150
+ dirty_effects.clear();
1151
+ maybe_dirty_effects.clear();
1152
+ }
1153
+ /** @param {(batch: Batch) => void} fn */
1154
+ oncommit(fn) {
1155
+ this.#commit_callbacks.add(fn);
1156
+ }
1157
+ /** @param {(batch: Batch) => void} fn */
1158
+ ondiscard(fn) {
1159
+ this.#discard_callbacks.add(fn);
1160
+ }
1161
+ settled() {
1162
+ return (this.#deferred ??= deferred()).promise;
1163
+ }
1164
+ static ensure() {
1165
+ if (current_batch === null) {
1166
+ const batch = current_batch = new Batch();
1167
+ if (!is_processing && !is_flushing_sync) queue_micro_task(() => {
1168
+ if (!batch.#started) batch.flush();
1169
+ });
1170
+ }
1171
+ return current_batch;
1172
+ }
1173
+ apply() {
1174
+ {
1175
+ batch_values = null;
1176
+ return;
1177
+ }
1178
+ }
1179
+ /**
1180
+ *
1181
+ * @param {Effect} effect
1182
+ */
1183
+ schedule(effect) {
1184
+ last_scheduled_effect = effect;
1185
+ if (effect.b?.is_pending && (effect.f & 16777228) !== 0 && (effect.f & 32768) === 0) {
1186
+ effect.b.defer_effect(effect);
1187
+ return;
1188
+ }
1189
+ this.#scheduled.push(effect);
1190
+ }
1191
+ #unlink() {
1192
+ if (!this.linked) return;
1193
+ var prev = this.#prev;
1194
+ var next = this.#next;
1195
+ if (prev === null) first_batch = next;
1196
+ else prev.#next = next;
1197
+ if (next === null) last_batch = prev;
1198
+ else next.#prev = prev;
1199
+ this.linked = false;
1200
+ }
1201
+ };
1202
+ /**
1203
+ * Synchronously flush any pending updates.
1204
+ * Returns void if no callback is provided, otherwise returns the result of calling the callback.
1205
+ * @template [T=void]
1206
+ * @param {(() => T) | undefined} [fn]
1207
+ * @returns {T}
1208
+ */
1209
+ function flushSync(fn) {
1210
+ var was_flushing_sync = is_flushing_sync;
1211
+ is_flushing_sync = true;
1212
+ try {
1213
+ var result;
1214
+ if (fn) ;
1215
+ while (true) {
1216
+ flush_tasks();
1217
+ if (current_batch === null) return result;
1218
+ current_batch.flush();
1219
+ }
1220
+ } finally {
1221
+ is_flushing_sync = was_flushing_sync;
1222
+ }
1223
+ }
1224
+ function infinite_loop_guard() {
1225
+ try {
1226
+ effect_update_depth_exceeded();
1227
+ } catch (error) {
1228
+ invoke_error_boundary(error, last_scheduled_effect);
1229
+ }
1230
+ }
1231
+ /** @type {Set<Effect> | null} */
1232
+ var eager_block_effects = null;
1233
+ /**
1234
+ * @param {Array<Effect>} effects
1235
+ * @returns {void}
1236
+ */
1237
+ function flush_queued_effects(effects) {
1238
+ var length = effects.length;
1239
+ if (length === 0) return;
1240
+ var i = 0;
1241
+ while (i < length) {
1242
+ var effect = effects[i++];
1243
+ if ((effect.f & 24576) === 0 && is_dirty(effect)) {
1244
+ eager_block_effects = /* @__PURE__ */ new Set();
1245
+ update_effect(effect);
1246
+ if (effect.deps === null && effect.first === null && effect.nodes === null && effect.teardown === null && effect.ac === null) unlink_effect(effect);
1247
+ if (eager_block_effects?.size > 0) {
1248
+ old_values.clear();
1249
+ for (const e of eager_block_effects) {
1250
+ if ((e.f & 24576) !== 0) continue;
1251
+ /** @type {Effect[]} */
1252
+ const ordered_effects = [e];
1253
+ let ancestor = e.parent;
1254
+ while (ancestor !== null) {
1255
+ if (eager_block_effects.has(ancestor)) {
1256
+ eager_block_effects.delete(ancestor);
1257
+ ordered_effects.push(ancestor);
1258
+ }
1259
+ ancestor = ancestor.parent;
1260
+ }
1261
+ for (let j = ordered_effects.length - 1; j >= 0; j--) {
1262
+ const e = ordered_effects[j];
1263
+ if ((e.f & 24576) !== 0) continue;
1264
+ update_effect(e);
1265
+ }
1266
+ }
1267
+ eager_block_effects.clear();
1268
+ }
1269
+ }
1270
+ }
1271
+ eager_block_effects = null;
1272
+ }
1273
+ /**
1274
+ * This is similar to `mark_reactions`, but it only marks async/block effects
1275
+ * depending on `value` and at least one of the other `sources`, so that
1276
+ * these effects can re-run after another batch has been committed
1277
+ * @param {Value} value
1278
+ * @param {Source[]} sources
1279
+ * @param {Set<Value>} marked
1280
+ * @param {Map<Reaction, boolean>} checked
1281
+ */
1282
+ function mark_effects(value, sources, marked, checked) {
1283
+ if (marked.has(value)) return;
1284
+ marked.add(value);
1285
+ if (value.reactions !== null) for (const reaction of value.reactions) {
1286
+ const flags = reaction.f;
1287
+ if ((flags & 2) !== 0) mark_effects(reaction, sources, marked, checked);
1288
+ else if ((flags & 4194320) !== 0 && (flags & 2048) === 0 && depends_on(reaction, sources, checked)) {
1289
+ set_signal_status(reaction, DIRTY);
1290
+ schedule_effect(reaction);
1291
+ }
1292
+ }
1293
+ }
1294
+ /**
1295
+ * @param {Reaction} reaction
1296
+ * @param {Source[]} sources
1297
+ * @param {Map<Reaction, boolean>} checked
1298
+ */
1299
+ function depends_on(reaction, sources, checked) {
1300
+ const depends = checked.get(reaction);
1301
+ if (depends !== void 0) return depends;
1302
+ if (reaction.deps !== null) for (const dep of reaction.deps) {
1303
+ if (includes.call(sources, dep)) return true;
1304
+ if ((dep.f & 2) !== 0 && depends_on(dep, sources, checked)) {
1305
+ checked.set(dep, true);
1306
+ return true;
1307
+ }
1308
+ }
1309
+ checked.set(reaction, false);
1310
+ return false;
1311
+ }
1312
+ /**
1313
+ * @param {Effect} effect
1314
+ * @returns {void}
1315
+ */
1316
+ function schedule_effect(effect) {
1317
+ /** @type {Batch} */ current_batch.schedule(effect);
1318
+ }
1319
+ /**
1320
+ * Mark all the effects inside a skipped branch CLEAN, so that
1321
+ * they can be correctly rescheduled later. Tracks dirty and maybe_dirty
1322
+ * effects so they can be rescheduled if the branch survives.
1323
+ * @param {Effect} effect
1324
+ * @param {{ d: Effect[], m: Effect[] }} tracked
1325
+ */
1326
+ function reset_branch(effect, tracked) {
1327
+ if ((effect.f & 32) !== 0 && (effect.f & 1024) !== 0) return;
1328
+ if ((effect.f & 2048) !== 0) tracked.d.push(effect);
1329
+ else if ((effect.f & 4096) !== 0) tracked.m.push(effect);
1330
+ set_signal_status(effect, CLEAN);
1331
+ var e = effect.first;
1332
+ while (e !== null) {
1333
+ reset_branch(e, tracked);
1334
+ e = e.next;
1335
+ }
1336
+ }
1337
+ /**
1338
+ * Mark an entire effect tree clean following an error
1339
+ * @param {Effect} effect
1340
+ */
1341
+ function reset_all(effect) {
1342
+ set_signal_status(effect, CLEAN);
1343
+ var e = effect.first;
1344
+ while (e !== null) {
1345
+ reset_all(e);
1346
+ e = e.next;
1347
+ }
1348
+ }
1349
+ //#endregion
1350
+ //#region ../../node_modules/.pnpm/svelte@5.57.1_@typescript-eslint+types@8.70.1/node_modules/svelte/src/internal/client/reactivity/sources.js
1351
+ /** @import { Derived, Effect, Source, Value } from '#client' */
1352
+ /** @type {Set<Effect>} */
1353
+ var eager_effects = /* @__PURE__ */ new Set();
1354
+ /** @type {Map<Source, any>} */
1355
+ var old_values = /* @__PURE__ */ new Map();
1356
+ var eager_effects_deferred = false;
1357
+ /**
1358
+ * @template V
1359
+ * @param {V} v
1360
+ * @param {Error | null} [stack]
1361
+ * @returns {Source<V>}
1362
+ */
1363
+ function source(v, stack) {
1364
+ return {
1365
+ f: 0,
1366
+ v,
1367
+ reactions: null,
1368
+ equals,
1369
+ rv: 0,
1370
+ wv: 0
1371
+ };
1372
+ }
1373
+ /**
1374
+ * @template V
1375
+ * @param {V} v
1376
+ * @param {Error | null} [stack]
1377
+ */
1378
+ /*#__NO_SIDE_EFFECTS__*/
1379
+ function state(v, stack) {
1380
+ const s = source(v);
1381
+ push_reaction_value(s);
1382
+ return s;
1383
+ }
1384
+ /**
1385
+ * @template V
1386
+ * @param {V} initial_value
1387
+ * @param {boolean} [immutable]
1388
+ * @returns {Source<V>}
1389
+ */
1390
+ /*#__NO_SIDE_EFFECTS__*/
1391
+ function mutable_source(initial_value, immutable = false, trackable = true) {
1392
+ const s = source(initial_value);
1393
+ if (!immutable) s.equals = safe_equals;
1394
+ return s;
1395
+ }
1396
+ /**
1397
+ * @template V
1398
+ * @param {Source<V>} source
1399
+ * @param {V} value
1400
+ * @param {boolean} [should_proxy]
1401
+ * @returns {V}
1402
+ */
1403
+ function set(source, value, should_proxy = false) {
1404
+ if (active_reaction !== null && (!untracking || (active_reaction.f & 131072) !== 0) && is_runes() && (active_reaction.f & 4325394) !== 0 && (current_sources === null || !current_sources.has(source))) state_unsafe_mutation();
1405
+ return internal_set(source, should_proxy ? proxy(value) : value, legacy_updates);
1406
+ }
1407
+ /**
1408
+ * A set of signals we have already seen while traversing in mark_reactions.
1409
+ * Not always set to balance the common case of sources only having a couple
1410
+ * of (transitive) dependencies (where always creating a Set would be bad for perf)
1411
+ * with the edge case of extremely deep or wide dependency arrays with cycles.
1412
+ * @type {Set<any> | null}
1413
+ */
1414
+ var seen = null;
1415
+ /** Number of transitive dependencies, see {@link seen} for more info */
1416
+ var count_deps = 0;
1417
+ /**
1418
+ * @template V
1419
+ * @param {Source<V>} source
1420
+ * @param {V} value
1421
+ * @param {Effect[] | null} [updated_during_traversal]
1422
+ * @returns {V}
1423
+ */
1424
+ function internal_set(source, value, updated_during_traversal = null) {
1425
+ if (!source.equals(value)) {
1426
+ if (is_destroying_effect) old_values.set(source, value);
1427
+ else if (!old_values.has(source)) old_values.set(source, source.v);
1428
+ var batch = Batch.ensure();
1429
+ batch.capture(source, value);
1430
+ if ((source.f & 2) !== 0) {
1431
+ const derived = source;
1432
+ if ((source.f & 2048) !== 0) execute_derived(derived);
1433
+ if (batch_values === null) update_derived_status(derived);
1434
+ }
1435
+ source.wv = increment_write_version();
1436
+ seen = null;
1437
+ count_deps = 0;
1438
+ mark_reactions(source, DIRTY, updated_during_traversal);
1439
+ seen = null;
1440
+ if (active_effect !== null && (active_effect.f & 1024) !== 0 && (active_effect.f & 96) === 0) {
1441
+ if (untracked_writes === null) set_untracked_writes([source]);
1442
+ else untracked_writes.push(source);
1443
+ }
1444
+ if (!batch.is_fork && eager_effects.size > 0 && !eager_effects_deferred) flush_eager_effects();
1445
+ }
1446
+ return value;
1447
+ }
1448
+ function flush_eager_effects() {
1449
+ eager_effects_deferred = false;
1450
+ for (const effect of eager_effects) {
1451
+ if ((effect.f & 1024) !== 0) set_signal_status(effect, MAYBE_DIRTY);
1452
+ let dirty;
1453
+ try {
1454
+ dirty = is_dirty(effect);
1455
+ } catch {
1456
+ dirty = true;
1457
+ }
1458
+ if (dirty) update_effect(effect);
1459
+ }
1460
+ eager_effects.clear();
1461
+ }
1462
+ /**
1463
+ * Silently (without using `get`) increment a source
1464
+ * @param {Source<number>} source
1465
+ */
1466
+ function increment(source) {
1467
+ set(source, source.v + 1);
1468
+ }
1469
+ /**
1470
+ * @param {Value} signal
1471
+ * @param {number} status should be DIRTY or MAYBE_DIRTY
1472
+ * @param {Effect[] | null} updated_during_traversal
1473
+ * @returns {void}
1474
+ */
1475
+ function mark_reactions(signal, status, updated_during_traversal) {
1476
+ var reactions = signal.reactions;
1477
+ if (reactions === null) return;
1478
+ var length = reactions.length;
1479
+ count_deps += length;
1480
+ if (count_deps > 1e5 && seen === null) seen = /* @__PURE__ */ new Set();
1481
+ if (seen !== null) {
1482
+ if (seen.has(signal)) return;
1483
+ seen.add(signal);
1484
+ }
1485
+ for (var i = 0; i < length; i++) {
1486
+ var reaction = reactions[i];
1487
+ var flags = reaction.f;
1488
+ var not_dirty = (flags & DIRTY) === 0;
1489
+ if (not_dirty) set_signal_status(reaction, status);
1490
+ if ((flags & 131072) !== 0) eager_effects.add(reaction);
1491
+ else if ((flags & 2) !== 0) {
1492
+ var derived = reaction;
1493
+ batch_values?.delete(derived);
1494
+ mark_reactions(derived, MAYBE_DIRTY, updated_during_traversal);
1495
+ } else if (not_dirty) {
1496
+ var effect = reaction;
1497
+ if ((flags & 16) !== 0 && eager_block_effects !== null) eager_block_effects.add(effect);
1498
+ if (updated_during_traversal !== null) updated_during_traversal.push(effect);
1499
+ else schedule_effect(effect);
1500
+ }
1501
+ }
1502
+ }
1503
+ /**
1504
+ * @template T
1505
+ * @param {T} value
1506
+ * @returns {T}
1507
+ */
1508
+ function proxy(value) {
1509
+ if (typeof value !== "object" || value === null || STATE_SYMBOL in value || COMPONENT_SYMBOL in value) return value;
1510
+ const prototype = get_prototype_of(value);
1511
+ if (prototype !== object_prototype && prototype !== array_prototype) return value;
1512
+ /** @type {Map<any, Source<any>>} */
1513
+ var sources = /* @__PURE__ */ new Map();
1514
+ var is_proxied_array = is_array(value);
1515
+ var version = /* @__PURE__ */ state(0);
1516
+ var parent_version = update_version;
1517
+ /**
1518
+ * Executes the proxy in the context of the reaction it was originally created in, if any
1519
+ * @template T
1520
+ * @param {() => T} fn
1521
+ */
1522
+ var with_parent = (fn) => {
1523
+ if (update_version === parent_version) return fn();
1524
+ var reaction = active_reaction;
1525
+ var version = update_version;
1526
+ set_active_reaction(null);
1527
+ set_update_version(parent_version);
1528
+ var result = fn();
1529
+ set_active_reaction(reaction);
1530
+ set_update_version(version);
1531
+ return result;
1532
+ };
1533
+ if (is_proxied_array) sources.set("length", /* @__PURE__ */ state(
1534
+ /** @type {any[]} */
1535
+ value.length));
1536
+ return new Proxy(value, {
1537
+ defineProperty(_, prop, descriptor) {
1538
+ if (!("value" in descriptor) || descriptor.configurable === false || descriptor.enumerable === false || descriptor.writable === false) state_descriptors_fixed();
1539
+ var s = sources.get(prop);
1540
+ if (s === void 0) with_parent(() => {
1541
+ var s = /* @__PURE__ */ state(descriptor.value);
1542
+ sources.set(prop, s);
1543
+ return s;
1544
+ });
1545
+ else set(s, descriptor.value, true);
1546
+ return true;
1547
+ },
1548
+ deleteProperty(target, prop) {
1549
+ var s = sources.get(prop);
1550
+ if (s === void 0) {
1551
+ if (prop in target) {
1552
+ const s = with_parent(() => /* @__PURE__ */ state(UNINITIALIZED));
1553
+ sources.set(prop, s);
1554
+ increment(version);
1555
+ }
1556
+ } else {
1557
+ set(s, UNINITIALIZED);
1558
+ increment(version);
1559
+ }
1560
+ return true;
1561
+ },
1562
+ get(target, prop, receiver) {
1563
+ if (prop === STATE_SYMBOL) return value;
1564
+ var s = sources.get(prop);
1565
+ var exists = prop in target;
1566
+ if (s === void 0 && (!exists || get_descriptor(target, prop)?.writable)) {
1567
+ s = with_parent(() => {
1568
+ return /* @__PURE__ */ state(proxy(exists ? target[prop] : UNINITIALIZED));
1569
+ });
1570
+ sources.set(prop, s);
1571
+ }
1572
+ if (s !== void 0) {
1573
+ var v = get(s);
1574
+ return v === UNINITIALIZED ? void 0 : v;
1575
+ }
1576
+ return Reflect.get(target, prop, receiver);
1577
+ },
1578
+ getOwnPropertyDescriptor(target, prop) {
1579
+ this.has?.(target, prop);
1580
+ var descriptor = Reflect.getOwnPropertyDescriptor(target, prop);
1581
+ var s = sources.get(prop);
1582
+ if (s !== void 0) {
1583
+ var value = get(s);
1584
+ if (value === UNINITIALIZED) return;
1585
+ if (descriptor && "value" in descriptor) descriptor.value = value;
1586
+ else return {
1587
+ enumerable: true,
1588
+ configurable: true,
1589
+ value,
1590
+ writable: true
1591
+ };
1592
+ }
1593
+ return descriptor;
1594
+ },
1595
+ has(target, prop) {
1596
+ if (prop === STATE_SYMBOL) return true;
1597
+ var s = sources.get(prop);
1598
+ var has = s !== void 0 && s.v !== UNINITIALIZED || Reflect.has(target, prop);
1599
+ if (s !== void 0 || active_effect !== null && (!has || get_descriptor(target, prop)?.writable)) {
1600
+ if (s === void 0) {
1601
+ s = with_parent(() => {
1602
+ return /* @__PURE__ */ state(has ? proxy(target[prop]) : UNINITIALIZED);
1603
+ });
1604
+ sources.set(prop, s);
1605
+ }
1606
+ if (get(s) === UNINITIALIZED) return false;
1607
+ }
1608
+ return has;
1609
+ },
1610
+ set(target, prop, value, receiver) {
1611
+ var s = sources.get(prop);
1612
+ var has = prop in target;
1613
+ if (is_proxied_array && prop === "length") for (var i = value; i < s.v; i += 1) {
1614
+ var other_s = sources.get(i + "");
1615
+ if (other_s !== void 0) set(other_s, UNINITIALIZED);
1616
+ else if (i in target) {
1617
+ other_s = with_parent(() => /* @__PURE__ */ state(UNINITIALIZED));
1618
+ sources.set(i + "", other_s);
1619
+ }
1620
+ }
1621
+ if (s === void 0) {
1622
+ if (!has || get_descriptor(target, prop)?.writable) {
1623
+ s = with_parent(() => /* @__PURE__ */ state(void 0));
1624
+ set(s, proxy(value));
1625
+ sources.set(prop, s);
1626
+ }
1627
+ } else {
1628
+ has = s.v !== UNINITIALIZED;
1629
+ var p = with_parent(() => proxy(value));
1630
+ set(s, p);
1631
+ }
1632
+ var descriptor = Reflect.getOwnPropertyDescriptor(target, prop);
1633
+ if (descriptor?.set) descriptor.set.call(receiver, value);
1634
+ if (!has) {
1635
+ if (is_proxied_array && typeof prop === "string") {
1636
+ var ls = sources.get("length");
1637
+ var n = Number(prop);
1638
+ if (Number.isInteger(n) && n >= ls.v) set(ls, n + 1);
1639
+ }
1640
+ increment(version);
1641
+ }
1642
+ return true;
1643
+ },
1644
+ ownKeys(target) {
1645
+ get(version);
1646
+ var own_keys = Reflect.ownKeys(target).filter((key) => {
1647
+ var source = sources.get(key);
1648
+ return source === void 0 || source.v !== UNINITIALIZED;
1649
+ });
1650
+ for (var [key, source] of sources) if (source.v !== UNINITIALIZED && !(key in target)) own_keys.push(key);
1651
+ return own_keys;
1652
+ },
1653
+ setPrototypeOf() {
1654
+ state_prototype_fixed();
1655
+ }
1656
+ });
1657
+ }
1658
+ //#endregion
1659
+ //#region ../../node_modules/.pnpm/svelte@5.57.1_@typescript-eslint+types@8.70.1/node_modules/svelte/src/internal/client/dom/operations.js
1660
+ /** @type {Window} */
1661
+ var $window;
1662
+ /** @type {() => Node | null} */
1663
+ var first_child_getter;
1664
+ /** @type {() => Node | null} */
1665
+ var next_sibling_getter;
1666
+ /**
1667
+ * Initialize these lazily to avoid issues when using the runtime in a server context
1668
+ * where these globals are not available while avoiding a separate server entry point
1669
+ */
1670
+ function init_operations() {
1671
+ if ($window !== void 0) return;
1672
+ $window = window;
1673
+ var element_prototype = Element.prototype;
1674
+ var node_prototype = Node.prototype;
1675
+ var text_prototype = Text.prototype;
1676
+ first_child_getter = get_descriptor(node_prototype, "firstChild").get;
1677
+ next_sibling_getter = get_descriptor(node_prototype, "nextSibling").get;
1678
+ if (is_extensible(element_prototype)) {
1679
+ /** @type {any} */ element_prototype[CLASS_CACHE] = void 0;
1680
+ /** @type {any} */ element_prototype[ATTRIBUTES_CACHE] = null;
1681
+ /** @type {any} */ element_prototype[STYLE_CACHE] = void 0;
1682
+ element_prototype.__e = void 0;
1683
+ }
1684
+ if (is_extensible(text_prototype))
1685
+ /** @type {any} */ text_prototype[TEXT_CACHE] = void 0;
1686
+ }
1687
+ /**
1688
+ * @param {string} value
1689
+ * @returns {Text}
1690
+ */
1691
+ function create_text(value = "") {
1692
+ return document.createTextNode(value);
1693
+ }
1694
+ /**
1695
+ * @template {Node} N
1696
+ * @param {N} node
1697
+ */
1698
+ /*@__NO_SIDE_EFFECTS__*/
1699
+ function get_first_child(node) {
1700
+ return first_child_getter.call(node);
1701
+ }
1702
+ /**
1703
+ * @template {Node} N
1704
+ * @param {N} node
1705
+ */
1706
+ /*@__NO_SIDE_EFFECTS__*/
1707
+ function get_next_sibling(node) {
1708
+ return next_sibling_getter.call(node);
1709
+ }
1710
+ /**
1711
+ * @template {Node} N
1712
+ * @param {N} node
1713
+ * @returns {void}
1714
+ */
1715
+ function clear_text_content(node) {
1716
+ node.textContent = "";
1717
+ }
1718
+ /**
1719
+ * @param {unknown} error
1720
+ */
1721
+ function handle_error(error) {
1722
+ var effect = active_effect;
1723
+ if (effect === null) {
1724
+ /** @type {Derived} */ active_reaction.f |= ERROR_VALUE;
1725
+ return error;
1726
+ }
1727
+ if ((effect.f & 32768) === 0 && (effect.f & 4) === 0) throw error;
1728
+ invoke_error_boundary(error, effect);
1729
+ }
1730
+ /**
1731
+ * @param {unknown} error
1732
+ * @param {Effect | null} effect
1733
+ */
1734
+ function invoke_error_boundary(error, effect) {
1735
+ if (effect !== null && (effect.f & 16384) !== 0) return;
1736
+ while (effect !== null) {
1737
+ if ((effect.f & 128) !== 0 && (effect.f & 33570816) === 0) {
1738
+ if ((effect.f & 32768) === 0) throw error;
1739
+ try {
1740
+ /** @type {Boundary} */ effect.b.error(error);
1741
+ return;
1742
+ } catch (e) {
1743
+ error = e;
1744
+ }
1745
+ }
1746
+ effect = effect.parent;
1747
+ }
1748
+ throw error;
1749
+ }
1750
+ //#endregion
1751
+ //#region ../../node_modules/.pnpm/svelte@5.57.1_@typescript-eslint+types@8.70.1/node_modules/svelte/src/internal/client/reactivity/effects.js
1752
+ /** @import { Blocker, ComponentContext, ComponentContextLegacy, Derived, Effect, TemplateNode, TransitionManager } from '#client' */
1753
+ /**
1754
+ * @param {Effect} effect
1755
+ * @param {Effect} parent_effect
1756
+ */
1757
+ function push_effect(effect, parent_effect) {
1758
+ var parent_last = parent_effect.last;
1759
+ if (parent_last === null) parent_effect.last = parent_effect.first = effect;
1760
+ else {
1761
+ parent_last.next = effect;
1762
+ effect.prev = parent_last;
1763
+ parent_effect.last = effect;
1764
+ }
1765
+ }
1766
+ /**
1767
+ * @param {number} type
1768
+ * @param {null | (() => void | (() => void))} fn
1769
+ * @returns {Effect}
1770
+ */
1771
+ function create_effect(type, fn) {
1772
+ var parent = active_effect;
1773
+ if (parent !== null && (parent.f & 8192) !== 0) type |= INERT;
1774
+ /** @type {Effect} */
1775
+ var effect = {
1776
+ ctx: component_context,
1777
+ deps: null,
1778
+ nodes: null,
1779
+ f: type | DIRTY | 512,
1780
+ first: null,
1781
+ fn,
1782
+ last: null,
1783
+ next: null,
1784
+ parent,
1785
+ b: parent && parent.b,
1786
+ prev: null,
1787
+ teardown: null,
1788
+ wv: 0,
1789
+ ac: null
1790
+ };
1791
+ current_batch?.register_created_effect(effect);
1792
+ /** @type {Effect | null} */
1793
+ var e = effect;
1794
+ if ((type & 4) !== 0) {
1795
+ if (collected_effects !== null) collected_effects.push(effect);
1796
+ else Batch.ensure().schedule(effect);
1797
+ } else if (fn !== null) {
1798
+ try {
1799
+ update_effect(effect);
1800
+ } catch (e) {
1801
+ destroy_effect(effect);
1802
+ throw e;
1803
+ }
1804
+ if (e.deps === null && e.teardown === null && e.nodes === null && e.first === e.last && (e.f & 524288) === 0) {
1805
+ e = e.first;
1806
+ if ((type & 16) !== 0 && (type & 65536) !== 0 && e !== null) e.f |= EFFECT_TRANSPARENT;
1807
+ }
1808
+ }
1809
+ if (e !== null) {
1810
+ e.parent = parent;
1811
+ if (parent !== null) push_effect(e, parent);
1812
+ if (active_reaction !== null && (active_reaction.f & 2) !== 0 && (type & 64) === 0) {
1813
+ var derived = active_reaction;
1814
+ (derived.effects ??= []).push(e);
1815
+ }
1816
+ }
1817
+ return effect;
1818
+ }
1819
+ /**
1820
+ * Internal representation of `$effect.tracking()`
1821
+ * @returns {boolean}
1822
+ */
1823
+ function effect_tracking() {
1824
+ return active_reaction !== null && !untracking;
1825
+ }
1826
+ /**
1827
+ * @param {() => void | (() => void)} fn
1828
+ */
1829
+ function create_user_effect(fn) {
1830
+ return create_effect(4 | USER_EFFECT, fn);
1831
+ }
1832
+ /**
1833
+ * An effect root whose children can transition out
1834
+ * @param {() => void} fn
1835
+ * @returns {(options?: { outro?: boolean }) => Promise<void>}
1836
+ */
1837
+ function component_root(fn) {
1838
+ Batch.ensure();
1839
+ const effect = create_effect(64 | EFFECT_PRESERVED, fn);
1840
+ return (options = {}) => {
1841
+ return new Promise((fulfil) => {
1842
+ if (options.outro) pause_effect(effect, () => {
1843
+ destroy_effect(effect);
1844
+ fulfil(void 0);
1845
+ });
1846
+ else {
1847
+ destroy_effect(effect);
1848
+ fulfil(void 0);
1849
+ }
1850
+ });
1851
+ };
1852
+ }
1853
+ /**
1854
+ * @param {() => void | (() => void)} fn
1855
+ * @returns {Effect}
1856
+ */
1857
+ function render_effect(fn, flags = 0) {
1858
+ return create_effect(8 | flags, fn);
1859
+ }
1860
+ /**
1861
+ * @param {(() => void)} fn
1862
+ * @param {number} flags
1863
+ */
1864
+ function block(fn, flags = 0) {
1865
+ return create_effect(16 | flags, fn);
1866
+ }
1867
+ /**
1868
+ * @param {(() => void)} fn
1869
+ */
1870
+ function branch(fn) {
1871
+ return create_effect(32 | EFFECT_PRESERVED, fn);
1872
+ }
1873
+ /**
1874
+ * @param {Effect} effect
1875
+ */
1876
+ function execute_effect_teardown(effect) {
1877
+ var teardown = effect.teardown;
1878
+ if (teardown !== null) {
1879
+ const previously_destroying_effect = is_destroying_effect;
1880
+ const previous_reaction = active_reaction;
1881
+ set_is_destroying_effect(true);
1882
+ set_active_reaction(null);
1883
+ try {
1884
+ teardown.call(null);
1885
+ } catch (error) {
1886
+ invoke_error_boundary(error, effect.parent);
1887
+ } finally {
1888
+ set_is_destroying_effect(previously_destroying_effect);
1889
+ set_active_reaction(previous_reaction);
1890
+ }
1891
+ }
1892
+ }
1893
+ /**
1894
+ * @param {Effect} signal
1895
+ * @param {boolean} remove_dom
1896
+ * @returns {void}
1897
+ */
1898
+ function destroy_effect_children(signal, remove_dom = false) {
1899
+ var effect = signal.first;
1900
+ signal.first = signal.last = null;
1901
+ while (effect !== null) {
1902
+ const controller = effect.ac;
1903
+ if (controller !== null) without_reactive_context(() => {
1904
+ controller.abort(STALE_REACTION);
1905
+ });
1906
+ var next = effect.next;
1907
+ if ((effect.f & 64) !== 0) effect.parent = null;
1908
+ else destroy_effect(effect, remove_dom);
1909
+ effect = next;
1910
+ }
1911
+ }
1912
+ /**
1913
+ * @param {Effect} signal
1914
+ * @returns {void}
1915
+ */
1916
+ function destroy_block_effect_children(signal) {
1917
+ var effect = signal.first;
1918
+ while (effect !== null) {
1919
+ var next = effect.next;
1920
+ if ((effect.f & 32) === 0) destroy_effect(effect);
1921
+ effect = next;
1922
+ }
1923
+ }
1924
+ /**
1925
+ * @param {Effect} effect
1926
+ * @param {boolean} [remove_dom]
1927
+ * @returns {void}
1928
+ */
1929
+ function destroy_effect(effect, remove_dom = true) {
1930
+ var removed = false;
1931
+ if ((remove_dom || (effect.f & 262144) !== 0) && effect.nodes !== null && effect.nodes.end !== null) {
1932
+ remove_effect_dom(effect.nodes.start, effect.nodes.end);
1933
+ removed = true;
1934
+ }
1935
+ effect.f |= DESTROYING;
1936
+ destroy_effect_children(effect, remove_dom && !removed);
1937
+ remove_reactions(effect, 0);
1938
+ var transitions = effect.nodes && effect.nodes.t;
1939
+ if (transitions !== null) for (const transition of transitions) transition.stop();
1940
+ execute_effect_teardown(effect);
1941
+ effect.f ^= DESTROYING;
1942
+ effect.f |= DESTROYED;
1943
+ var parent = effect.parent;
1944
+ if (parent !== null && parent.first !== null) unlink_effect(effect);
1945
+ effect.next = effect.prev = effect.teardown = effect.ctx = effect.deps = effect.fn = effect.nodes = effect.ac = effect.b = null;
1946
+ }
1947
+ /**
1948
+ *
1949
+ * @param {TemplateNode | null} node
1950
+ * @param {TemplateNode} end
1951
+ */
1952
+ function remove_effect_dom(node, end) {
1953
+ while (node !== null) {
1954
+ /** @type {TemplateNode | null} */
1955
+ var next = node === end ? null : /* @__PURE__ */ get_next_sibling(node);
1956
+ node.remove();
1957
+ node = next;
1958
+ }
1959
+ }
1960
+ /**
1961
+ * Detach an effect from the effect tree, freeing up memory and
1962
+ * reducing the amount of work that happens on subsequent traversals
1963
+ * @param {Effect} effect
1964
+ */
1965
+ function unlink_effect(effect) {
1966
+ var parent = effect.parent;
1967
+ var prev = effect.prev;
1968
+ var next = effect.next;
1969
+ if (prev !== null) prev.next = next;
1970
+ if (next !== null) next.prev = prev;
1971
+ if (parent !== null) {
1972
+ if (parent.first === effect) parent.first = next;
1973
+ if (parent.last === effect) parent.last = prev;
1974
+ }
1975
+ }
1976
+ /**
1977
+ * When a block effect is removed, we don't immediately destroy it or yank it
1978
+ * out of the DOM, because it might have transitions. Instead, we 'pause' it.
1979
+ * It stays around (in memory, and in the DOM) until outro transitions have
1980
+ * completed, and if the state change is reversed then we _resume_ it.
1981
+ * A paused effect does not update, and the DOM subtree becomes inert.
1982
+ * @param {Effect} effect
1983
+ * @param {() => void} [callback]
1984
+ * @param {boolean} [destroy]
1985
+ */
1986
+ function pause_effect(effect, callback, destroy = true) {
1987
+ /** @type {TransitionManager[]} */
1988
+ var transitions = [];
1989
+ effect.f |= 256;
1990
+ pause_children(effect, transitions, true);
1991
+ var fn = () => {
1992
+ if (destroy) destroy_effect(effect);
1993
+ if (callback) callback();
1994
+ };
1995
+ var remaining = transitions.length;
1996
+ if (remaining > 0) {
1997
+ var check = () => --remaining || fn();
1998
+ for (var transition of transitions) transition.out(check);
1999
+ } else fn();
2000
+ }
2001
+ /**
2002
+ * @param {Effect} effect
2003
+ * @param {TransitionManager[]} transitions
2004
+ * @param {boolean} local
2005
+ */
2006
+ function pause_children(effect, transitions, local) {
2007
+ if ((effect.f & 8192) !== 0) return;
2008
+ effect.f ^= INERT;
2009
+ var t = effect.nodes && effect.nodes.t;
2010
+ if (t !== null) {
2011
+ for (const transition of t) if (transition.is_global || local) transitions.push(transition);
2012
+ }
2013
+ var child = effect.first;
2014
+ while (child !== null) {
2015
+ var sibling = child.next;
2016
+ if ((child.f & 64) === 0) {
2017
+ var transparent = (child.f & 65536) !== 0 || (child.f & 32) !== 0 && (effect.f & 16) !== 0;
2018
+ pause_children(child, transitions, transparent ? local : false);
2019
+ }
2020
+ child = sibling;
2021
+ }
2022
+ }
2023
+ /**
2024
+ * @param {Effect} effect
2025
+ * @param {DocumentFragment} fragment
2026
+ */
2027
+ function move_effect(effect, fragment) {
2028
+ if (!effect.nodes) return;
2029
+ /** @type {TemplateNode | null} */
2030
+ var node = effect.nodes.start;
2031
+ var end = effect.nodes.end;
2032
+ while (node !== null) {
2033
+ /** @type {TemplateNode | null} */
2034
+ var next = node === end ? null : /* @__PURE__ */ get_next_sibling(node);
2035
+ fragment.append(node);
2036
+ node = next;
2037
+ }
2038
+ }
2039
+ //#endregion
2040
+ //#region ../../node_modules/.pnpm/svelte@5.57.1_@typescript-eslint+types@8.70.1/node_modules/svelte/src/internal/client/runtime.js
2041
+ /** @import { Derived, Effect, Reaction, Source, Value } from '#client' */
2042
+ /**
2043
+ * True if updating in an effect context that is reactive (i.e. not branch/root effects)
2044
+ */
2045
+ var is_updating_effect = false;
2046
+ var is_destroying_effect = false;
2047
+ /** @param {boolean} value */
2048
+ function set_is_destroying_effect(value) {
2049
+ is_destroying_effect = value;
2050
+ }
2051
+ /** @type {null | Reaction} */
2052
+ var active_reaction = null;
2053
+ var untracking = false;
2054
+ /** @param {null | Reaction} reaction */
2055
+ function set_active_reaction(reaction) {
2056
+ active_reaction = reaction;
2057
+ }
2058
+ /** @type {null | Effect} */
2059
+ var active_effect = null;
2060
+ /** @param {null | Effect} effect */
2061
+ function set_active_effect(effect) {
2062
+ active_effect = effect;
2063
+ }
2064
+ /**
2065
+ * When sources are created within a reaction, reading and writing
2066
+ * them within that reaction should not cause a re-run
2067
+ * @type {null | Set<Source>}
2068
+ */
2069
+ var current_sources = null;
2070
+ /** @param {Value} value */
2071
+ function push_reaction_value(value) {
2072
+ if (active_reaction !== null && ((active_reaction.f & 2097152) !== 0 || (active_reaction.f & 2) !== 0)) (current_sources ??= /* @__PURE__ */ new Set()).add(value);
2073
+ }
2074
+ /**
2075
+ * The dependencies of the reaction that is currently being executed. In many cases,
2076
+ * the dependencies are unchanged between runs, and so this will be `null` unless
2077
+ * and until a new dependency is accessed — we track this via `skipped_deps`
2078
+ * @type {null | Value[]}
2079
+ */
2080
+ var new_deps = null;
2081
+ var skipped_deps = 0;
2082
+ /**
2083
+ * Tracks writes that the effect it's executed in doesn't listen to yet,
2084
+ * so that the dependency can be added to the effect later on if it then reads it
2085
+ * @type {null | Source[]}
2086
+ */
2087
+ var untracked_writes = null;
2088
+ /** @param {null | Source[]} value */
2089
+ function set_untracked_writes(value) {
2090
+ untracked_writes = value;
2091
+ }
2092
+ /**
2093
+ * @type {number} Used by sources and deriveds for handling updates.
2094
+ * Version starts from 1 so that unowned deriveds differentiate between a created effect and a run one for tracing
2095
+ **/
2096
+ var write_version = 1;
2097
+ /** @type {number} Used to version each read of a source of derived to avoid duplicating dependencies inside a reaction */
2098
+ var read_version = 0;
2099
+ var update_version = read_version;
2100
+ /** @param {number} value */
2101
+ function set_update_version(value) {
2102
+ update_version = value;
2103
+ }
2104
+ function increment_write_version() {
2105
+ return ++write_version;
2106
+ }
2107
+ /**
2108
+ * Determines whether a derived or effect is dirty.
2109
+ * If it is MAYBE_DIRTY, will set the status to CLEAN
2110
+ * @param {Reaction} reaction
2111
+ * @returns {boolean}
2112
+ */
2113
+ function is_dirty(reaction) {
2114
+ var flags = reaction.f;
2115
+ if ((flags & 2048) !== 0) return true;
2116
+ if ((flags & 4096) !== 0) {
2117
+ var dependencies = reaction.deps;
2118
+ var length = dependencies.length;
2119
+ for (var i = 0; i < length; i++) {
2120
+ var dependency = dependencies[i];
2121
+ if (is_dirty(dependency)) update_derived(dependency);
2122
+ if (dependency.wv > reaction.wv) return true;
2123
+ }
2124
+ if ((flags & 512) !== 0 && batch_values === null) set_signal_status(reaction, CLEAN);
2125
+ }
2126
+ return false;
2127
+ }
2128
+ /**
2129
+ * @param {Value} signal
2130
+ * @param {Effect} effect
2131
+ * @param {boolean} [root]
2132
+ */
2133
+ function schedule_possible_effect_self_invalidation(signal, effect, root = true) {
2134
+ var reactions = signal.reactions;
2135
+ if (reactions === null) return;
2136
+ if (current_sources !== null && current_sources.has(signal)) return;
2137
+ for (var i = 0; i < reactions.length; i++) {
2138
+ var reaction = reactions[i];
2139
+ if ((reaction.f & 2) !== 0) schedule_possible_effect_self_invalidation(reaction, effect, false);
2140
+ else if (effect === reaction) {
2141
+ if (root) set_signal_status(reaction, DIRTY);
2142
+ else if ((reaction.f & 1024) !== 0) set_signal_status(reaction, MAYBE_DIRTY);
2143
+ schedule_effect(reaction);
2144
+ }
2145
+ }
2146
+ }
2147
+ /** @param {Reaction} reaction */
2148
+ function update_reaction(reaction) {
2149
+ var previous_deps = new_deps;
2150
+ var previous_skipped_deps = skipped_deps;
2151
+ var previous_untracked_writes = untracked_writes;
2152
+ var previous_reaction = active_reaction;
2153
+ var previous_sources = current_sources;
2154
+ var previous_component_context = component_context;
2155
+ var previous_untracking = untracking;
2156
+ var previous_update_version = update_version;
2157
+ var flags = reaction.f;
2158
+ new_deps = null;
2159
+ skipped_deps = 0;
2160
+ untracked_writes = null;
2161
+ active_reaction = (flags & 96) === 0 ? reaction : null;
2162
+ current_sources = null;
2163
+ set_component_context(reaction.ctx);
2164
+ untracking = false;
2165
+ update_version = ++read_version;
2166
+ if (reaction.ac !== null) {
2167
+ without_reactive_context(() => {
2168
+ /** @type {AbortController} */ reaction.ac.abort(STALE_REACTION);
2169
+ });
2170
+ reaction.ac = null;
2171
+ }
2172
+ try {
2173
+ reaction.f |= REACTION_IS_UPDATING;
2174
+ var fn = reaction.fn;
2175
+ var result = fn();
2176
+ reaction.f |= REACTION_RAN;
2177
+ var deps = update_dependencies(reaction);
2178
+ if (is_runes() && untracked_writes !== null && !untracking && deps !== null && (reaction.f & 6146) === 0) for (var i = 0; i < untracked_writes.length; i++) schedule_possible_effect_self_invalidation(untracked_writes[i], reaction);
2179
+ if (previous_reaction !== null && previous_reaction !== reaction) {
2180
+ read_version++;
2181
+ if (previous_reaction.deps !== null) for (let i = 0; i < previous_skipped_deps; i += 1) previous_reaction.deps[i].rv = read_version;
2182
+ if (previous_deps !== null) for (const dep of previous_deps) dep.rv = read_version;
2183
+ if (untracked_writes !== null) {
2184
+ if (previous_untracked_writes === null) previous_untracked_writes = untracked_writes;
2185
+ else previous_untracked_writes.push(...untracked_writes);
2186
+ }
2187
+ }
2188
+ if ((reaction.f & 8388608) !== 0) reaction.f ^= ERROR_VALUE;
2189
+ return result;
2190
+ } catch (error) {
2191
+ update_dependencies(reaction);
2192
+ return handle_error(error);
2193
+ } finally {
2194
+ reaction.f ^= REACTION_IS_UPDATING;
2195
+ new_deps = previous_deps;
2196
+ skipped_deps = previous_skipped_deps;
2197
+ untracked_writes = previous_untracked_writes;
2198
+ active_reaction = previous_reaction;
2199
+ current_sources = previous_sources;
2200
+ set_component_context(previous_component_context);
2201
+ untracking = previous_untracking;
2202
+ update_version = previous_update_version;
2203
+ }
2204
+ }
2205
+ /**
2206
+ * @param {Reaction} reaction
2207
+ */
2208
+ function update_dependencies(reaction) {
2209
+ var deps = reaction.deps;
2210
+ var is_fork = current_batch?.is_fork;
2211
+ if (new_deps !== null) {
2212
+ var i;
2213
+ if (!is_fork) remove_reactions(reaction, skipped_deps);
2214
+ if (deps !== null && skipped_deps > 0) {
2215
+ deps.length = skipped_deps + new_deps.length;
2216
+ for (i = 0; i < new_deps.length; i++) deps[skipped_deps + i] = new_deps[i];
2217
+ } else reaction.deps = deps = new_deps;
2218
+ if (effect_tracking() && (reaction.f & 512) !== 0) for (i = skipped_deps; i < deps.length; i++) (deps[i].reactions ??= []).push(reaction);
2219
+ } else if (!is_fork && deps !== null && skipped_deps < deps.length) {
2220
+ remove_reactions(reaction, skipped_deps);
2221
+ deps.length = skipped_deps;
2222
+ }
2223
+ return deps;
2224
+ }
2225
+ /**
2226
+ * @template V
2227
+ * @param {Reaction} signal
2228
+ * @param {Value<V>} dependency
2229
+ * @returns {void}
2230
+ */
2231
+ function remove_reaction(signal, dependency) {
2232
+ let reactions = dependency.reactions;
2233
+ if (reactions !== null) {
2234
+ var index = index_of.call(reactions, signal);
2235
+ if (index !== -1) {
2236
+ var new_length = reactions.length - 1;
2237
+ if (new_length === 0) reactions = dependency.reactions = null;
2238
+ else {
2239
+ reactions[index] = reactions[new_length];
2240
+ reactions.pop();
2241
+ }
2242
+ }
2243
+ }
2244
+ if (reactions === null && (dependency.f & 2) !== 0 && (new_deps === null || !includes.call(new_deps, dependency))) {
2245
+ var derived = dependency;
2246
+ if ((derived.f & 512) !== 0) derived.f ^= 512;
2247
+ if (derived.v !== UNINITIALIZED) update_derived_status(derived);
2248
+ if (derived.ac !== null) without_reactive_context(() => {
2249
+ /** @type {AbortController} */ derived.ac.abort(STALE_REACTION);
2250
+ derived.ac = null;
2251
+ set_signal_status(derived, DIRTY);
2252
+ });
2253
+ freeze_derived_effects(derived);
2254
+ remove_reactions(derived, 0);
2255
+ }
2256
+ }
2257
+ /**
2258
+ * @param {Reaction} signal
2259
+ * @param {number} start_index
2260
+ * @returns {void}
2261
+ */
2262
+ function remove_reactions(signal, start_index) {
2263
+ var dependencies = signal.deps;
2264
+ if (dependencies === null) return;
2265
+ for (var i = start_index; i < dependencies.length; i++) remove_reaction(signal, dependencies[i]);
2266
+ }
2267
+ /**
2268
+ * @param {Effect} effect
2269
+ * @returns {void}
2270
+ */
2271
+ function update_effect(effect) {
2272
+ var flags = effect.f;
2273
+ if ((flags & 16384) !== 0) return;
2274
+ set_signal_status(effect, CLEAN);
2275
+ var previous_effect = active_effect;
2276
+ var was_updating_effect = is_updating_effect;
2277
+ active_effect = effect;
2278
+ is_updating_effect = (flags & 96) === 0;
2279
+ try {
2280
+ if ((flags & 16777232) !== 0) destroy_block_effect_children(effect);
2281
+ else destroy_effect_children(effect);
2282
+ execute_effect_teardown(effect);
2283
+ var teardown = update_reaction(effect);
2284
+ effect.teardown = typeof teardown === "function" ? teardown : null;
2285
+ effect.wv = write_version;
2286
+ } finally {
2287
+ is_updating_effect = was_updating_effect;
2288
+ active_effect = previous_effect;
2289
+ }
2290
+ }
2291
+ /**
2292
+ * @template V
2293
+ * @param {Value<V>} signal
2294
+ * @returns {V}
2295
+ */
2296
+ function get(signal) {
2297
+ var is_derived = (signal.f & 2) !== 0;
2298
+ if (active_reaction !== null && !untracking) {
2299
+ if (!(active_effect !== null && (active_effect.f & 16384) !== 0) && (current_sources === null || !current_sources.has(signal))) {
2300
+ var deps = active_reaction.deps;
2301
+ if ((active_reaction.f & 2097152) !== 0) {
2302
+ if (signal.rv < read_version) {
2303
+ signal.rv = read_version;
2304
+ if (new_deps === null && deps !== null && deps[skipped_deps] === signal) skipped_deps++;
2305
+ else if (new_deps === null) new_deps = [signal];
2306
+ else new_deps.push(signal);
2307
+ }
2308
+ } else {
2309
+ active_reaction.deps ??= [];
2310
+ if (!includes.call(active_reaction.deps, signal)) active_reaction.deps.push(signal);
2311
+ var reactions = signal.reactions;
2312
+ if (reactions === null) signal.reactions = [active_reaction];
2313
+ else if (!includes.call(reactions, active_reaction)) reactions.push(active_reaction);
2314
+ }
2315
+ }
2316
+ }
2317
+ if (is_destroying_effect && old_values.has(signal)) return old_values.get(signal);
2318
+ if (is_derived) {
2319
+ var derived = signal;
2320
+ if (is_destroying_effect) {
2321
+ var value = derived.v;
2322
+ if ((derived.f & 1024) === 0 && derived.reactions !== null || depends_on_old_values(derived)) value = execute_derived(derived);
2323
+ old_values.set(derived, value);
2324
+ return value;
2325
+ }
2326
+ var should_connect = (derived.f & 512) === 0 && !untracking && active_reaction !== null && (is_updating_effect || (active_reaction.f & 512) !== 0);
2327
+ var is_new = (derived.f & REACTION_RAN) === 0;
2328
+ if (is_dirty(derived)) {
2329
+ if (should_connect) derived.f |= 512;
2330
+ update_derived(derived);
2331
+ }
2332
+ if (should_connect && !is_new) {
2333
+ unfreeze_derived_effects(derived);
2334
+ reconnect(derived);
2335
+ }
2336
+ }
2337
+ if (batch_values?.has(signal)) return batch_values.get(signal);
2338
+ if ((signal.f & 8388608) !== 0) throw signal.v;
2339
+ return signal.v;
2340
+ }
2341
+ /**
2342
+ * (Re)connect a disconnected derived, so that it is notified
2343
+ * of changes in `mark_reactions`
2344
+ * @param {Derived} derived
2345
+ */
2346
+ function reconnect(derived) {
2347
+ derived.f |= 512;
2348
+ if (derived.deps === null) return;
2349
+ for (const dep of derived.deps) {
2350
+ (dep.reactions ??= []).push(derived);
2351
+ if ((dep.f & 2) !== 0 && (dep.f & 512) === 0) {
2352
+ unfreeze_derived_effects(dep);
2353
+ reconnect(dep);
2354
+ }
2355
+ }
2356
+ }
2357
+ /** @param {Derived} derived */
2358
+ function depends_on_old_values(derived) {
2359
+ if (derived.v === UNINITIALIZED) return true;
2360
+ if (derived.deps === null) return false;
2361
+ for (const dep of derived.deps) {
2362
+ if (old_values.has(dep)) return true;
2363
+ if ((dep.f & 2) !== 0 && depends_on_old_values(dep)) return true;
2364
+ }
2365
+ return false;
2366
+ }
2367
+ /**
2368
+ * When used inside a [`$derived`](https://svelte.dev/docs/svelte/$derived) or [`$effect`](https://svelte.dev/docs/svelte/$effect),
2369
+ * any state read inside `fn` will not be treated as a dependency.
2370
+ *
2371
+ * ```ts
2372
+ * $effect(() => {
2373
+ * // this will run when `data` changes, but not when `time` changes
2374
+ * save(data, {
2375
+ * timestamp: untrack(() => time)
2376
+ * });
2377
+ * });
2378
+ * ```
2379
+ * @template T
2380
+ * @param {() => T} fn
2381
+ * @returns {T}
2382
+ */
2383
+ function untrack(fn) {
2384
+ var previous_untracking = untracking;
2385
+ try {
2386
+ untracking = true;
2387
+ return fn();
2388
+ } finally {
2389
+ untracking = previous_untracking;
2390
+ }
2391
+ }
2392
+ //#endregion
2393
+ //#region ../../node_modules/.pnpm/svelte@5.57.1_@typescript-eslint+types@8.70.1/node_modules/svelte/src/store/utils.js
2394
+ /** @import { Readable } from './public' */
2395
+ /**
2396
+ * @template T
2397
+ * @param {Readable<T> | null | undefined} store
2398
+ * @param {(value: T) => void} run
2399
+ * @param {(value: T) => void} [invalidate]
2400
+ * @returns {() => void}
2401
+ */
2402
+ function subscribe_to_store(store, run, invalidate) {
2403
+ if (store == null) {
2404
+ run(void 0);
2405
+ return noop;
2406
+ }
2407
+ const unsub = untrack(() => store.subscribe(run, invalidate));
2408
+ return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;
2409
+ }
2410
+ var VOID_ELEMENT_NAMES = [
2411
+ "area",
2412
+ "base",
2413
+ "br",
2414
+ "col",
2415
+ "command",
2416
+ "embed",
2417
+ "hr",
2418
+ "img",
2419
+ "input",
2420
+ "keygen",
2421
+ "link",
2422
+ "meta",
2423
+ "param",
2424
+ "source",
2425
+ "track",
2426
+ "wbr"
2427
+ ];
2428
+ /**
2429
+ * Returns `true` if `name` is of a void element
2430
+ * @param {string} name
2431
+ */
2432
+ function is_void(name) {
2433
+ return VOID_ELEMENT_NAMES.includes(name) || name.toLowerCase() === "!doctype";
2434
+ }
2435
+ /**
2436
+ * Attributes that are boolean, i.e. they are present or not present.
2437
+ */
2438
+ var DOM_BOOLEAN_ATTRIBUTES = [
2439
+ "allowfullscreen",
2440
+ "async",
2441
+ "autofocus",
2442
+ "autoplay",
2443
+ "checked",
2444
+ "controls",
2445
+ "default",
2446
+ "disabled",
2447
+ "formnovalidate",
2448
+ "indeterminate",
2449
+ "inert",
2450
+ "ismap",
2451
+ "loop",
2452
+ "multiple",
2453
+ "muted",
2454
+ "nomodule",
2455
+ "novalidate",
2456
+ "open",
2457
+ "playsinline",
2458
+ "readonly",
2459
+ "required",
2460
+ "reversed",
2461
+ "seamless",
2462
+ "selected",
2463
+ "webkitdirectory",
2464
+ "defer",
2465
+ "disablepictureinpicture",
2466
+ "disableremoteplayback"
2467
+ ];
2468
+ /**
2469
+ * Returns `true` if `name` is a boolean attribute
2470
+ * @param {string} name
2471
+ */
2472
+ function is_boolean_attribute(name) {
2473
+ return DOM_BOOLEAN_ATTRIBUTES.includes(name);
2474
+ }
2475
+ /**
2476
+ * Subset of delegated events which should be passive by default.
2477
+ * These two are already passive via browser defaults on window, document and body.
2478
+ * But since
2479
+ * - we're delegating them
2480
+ * - they happen often
2481
+ * - they apply to mobile which is generally less performant
2482
+ * we're marking them as passive by default for other elements, too.
2483
+ */
2484
+ var PASSIVE_EVENTS = ["touchstart", "touchmove"];
2485
+ /**
2486
+ * Returns `true` if `name` is a passive event
2487
+ * @param {string} name
2488
+ */
2489
+ function is_passive_event(name) {
2490
+ return PASSIVE_EVENTS.includes(name);
2491
+ }
2492
+ /** List of elements that require raw contents and should not have SSR comments put in them */
2493
+ var RAW_TEXT_ELEMENTS = [
2494
+ "textarea",
2495
+ "script",
2496
+ "style",
2497
+ "title"
2498
+ ];
2499
+ /** @param {string} name */
2500
+ function is_raw_text_element(name) {
2501
+ return RAW_TEXT_ELEMENTS.includes(name);
2502
+ }
2503
+ var REGEX_VALID_TAG_NAME = /^[a-zA-Z][a-zA-Z0-9]*(-[a-zA-Z0-9.\-_\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u{10000}-\u{EFFFF}]*)?$/u;
2504
+ //#endregion
2505
+ //#region ../../node_modules/.pnpm/svelte@5.57.1_@typescript-eslint+types@8.70.1/node_modules/svelte/src/escaping.js
2506
+ var ATTR_REGEX = /[&"<]/g;
2507
+ var CONTENT_REGEX = /[&<]/g;
2508
+ /**
2509
+ * @template V
2510
+ * @param {V} value
2511
+ * @param {boolean} [is_attr]
2512
+ */
2513
+ function escape_html(value, is_attr) {
2514
+ const str = String(value ?? "");
2515
+ const pattern = is_attr ? ATTR_REGEX : CONTENT_REGEX;
2516
+ pattern.lastIndex = 0;
2517
+ let escaped = "";
2518
+ let last = 0;
2519
+ while (pattern.test(str)) {
2520
+ const i = pattern.lastIndex - 1;
2521
+ const ch = str[i];
2522
+ escaped += str.substring(last, i) + (ch === "&" ? "&amp;" : ch === "\"" ? "&quot;" : "&lt;");
2523
+ last = i + 1;
2524
+ }
2525
+ return escaped + str.substring(last);
2526
+ }
2527
+ //#endregion
2528
+ //#region ../../node_modules/.pnpm/svelte@5.57.1_@typescript-eslint+types@8.70.1/node_modules/svelte/src/internal/shared/attributes.js
2529
+ /**
2530
+ * `<div translate={false}>` should be rendered as `<div translate="no">` and _not_
2531
+ * `<div translate="false">`, which is equivalent to `<div translate="yes">`. There
2532
+ * may be other odd cases that need to be added to this list in future
2533
+ * @type {Record<string, Map<any, string>>}
2534
+ */
2535
+ var replacements = { translate: /* @__PURE__ */ new Map([[true, "yes"], [false, "no"]]) };
2536
+ /**
2537
+ * @template V
2538
+ * @param {string} name
2539
+ * @param {V} value
2540
+ * @param {boolean} [is_boolean]
2541
+ * @returns {string}
2542
+ */
2543
+ function attr(name, value, is_boolean = false) {
2544
+ if (name === "hidden" && value !== "until-found") is_boolean = true;
2545
+ if (value == null || is_boolean && !value && value !== "") return "";
2546
+ const normalized = has_own_property.call(replacements, name) && replacements[name].get(value) || value;
2547
+ return ` ${name}${is_boolean ? `=""` : `="${escape_html(normalized, true)}"`}`;
2548
+ }
2549
+ /**
2550
+ * Small wrapper around clsx to preserve Svelte's (weird) handling of falsy values.
2551
+ * TODO Svelte 6 revisit this, and likely turn all falsy values into the empty string (what clsx also does)
2552
+ * @param {any} value
2553
+ */
2554
+ function clsx$1(value) {
2555
+ if (typeof value === "object") return clsx(value);
2556
+ else return value ?? "";
2557
+ }
2558
+ var whitespace = [..." \n\r\f\xA0\v"];
2559
+ /**
2560
+ * @param {any} value
2561
+ * @param {string | null} [hash]
2562
+ * @param {Record<string, boolean>} [directives]
2563
+ * @returns {string | null}
2564
+ */
2565
+ function to_class(value, hash, directives) {
2566
+ var classname = value == null ? "" : "" + value;
2567
+ if (hash) classname = classname ? classname + " " + hash : hash;
2568
+ if (directives) {
2569
+ for (var key of Object.keys(directives)) if (directives[key]) classname = classname ? classname + " " + key : key;
2570
+ else if (classname.length) {
2571
+ var len = key.length;
2572
+ var a = 0;
2573
+ while ((a = classname.indexOf(key, a)) >= 0) {
2574
+ var b = a + len;
2575
+ if ((a === 0 || whitespace.includes(classname[a - 1])) && (b === classname.length || whitespace.includes(classname[b]))) classname = (a === 0 ? "" : classname.substring(0, a)) + classname.substring(b + 1);
2576
+ else a = b;
2577
+ }
2578
+ }
2579
+ }
2580
+ return classname === "" ? null : classname;
2581
+ }
2582
+ /**
2583
+ *
2584
+ * @param {Record<string,any>} styles
2585
+ * @param {boolean} important
2586
+ */
2587
+ function append_styles(styles, important = false) {
2588
+ var separator = important ? " !important;" : ";";
2589
+ var css = "";
2590
+ for (var key of Object.keys(styles)) {
2591
+ var value = styles[key];
2592
+ if (value != null && value !== "") css += " " + key + ": " + value + separator;
2593
+ }
2594
+ return css;
2595
+ }
2596
+ /**
2597
+ * @param {string} name
2598
+ * @returns {string}
2599
+ */
2600
+ function to_css_name(name) {
2601
+ if (name[0] !== "-" || name[1] !== "-") return name.toLowerCase();
2602
+ return name;
2603
+ }
2604
+ /**
2605
+ * @param {any} value
2606
+ * @param {Record<string, any> | [Record<string, any>, Record<string, any>]} [styles]
2607
+ * @returns {string | null}
2608
+ */
2609
+ function to_style(value, styles) {
2610
+ if (styles) {
2611
+ var new_style = "";
2612
+ /** @type {Record<string,any> | undefined} */
2613
+ var normal_styles;
2614
+ /** @type {Record<string,any> | undefined} */
2615
+ var important_styles;
2616
+ if (Array.isArray(styles)) {
2617
+ normal_styles = styles[0];
2618
+ important_styles = styles[1];
2619
+ } else normal_styles = styles;
2620
+ if (value) {
2621
+ value = String(value).replaceAll(/\/\*.*?\*\//g, "").trim();
2622
+ /** @type {boolean | '"' | "'"} */
2623
+ var in_str = false;
2624
+ var in_apo = 0;
2625
+ var in_comment = false;
2626
+ var reserved_names = [];
2627
+ if (normal_styles) reserved_names.push(...Object.keys(normal_styles).map(to_css_name));
2628
+ if (important_styles) reserved_names.push(...Object.keys(important_styles).map(to_css_name));
2629
+ var start_index = 0;
2630
+ var name_index = -1;
2631
+ const len = value.length;
2632
+ for (var i = 0; i < len; i++) {
2633
+ var c = value[i];
2634
+ if (in_comment) {
2635
+ if (c === "/" && value[i - 1] === "*") in_comment = false;
2636
+ } else if (in_str) {
2637
+ if (in_str === c) in_str = false;
2638
+ } else if (c === "/" && value[i + 1] === "*") in_comment = true;
2639
+ else if (c === "\"" || c === "'") in_str = c;
2640
+ else if (c === "(") in_apo++;
2641
+ else if (c === ")") in_apo--;
2642
+ if (!in_comment && in_str === false && in_apo === 0) {
2643
+ if (c === ":" && name_index === -1) name_index = i;
2644
+ else if (c === ";" || i === len - 1) {
2645
+ if (name_index !== -1) {
2646
+ var name = to_css_name(value.substring(start_index, name_index).trim());
2647
+ if (!reserved_names.includes(name)) {
2648
+ if (c !== ";") i++;
2649
+ var property = value.substring(start_index, i).trim();
2650
+ new_style += " " + property + ";";
2651
+ }
2652
+ }
2653
+ start_index = i + 1;
2654
+ name_index = -1;
2655
+ }
2656
+ }
2657
+ }
2658
+ }
2659
+ if (normal_styles) new_style += append_styles(normal_styles);
2660
+ if (important_styles) new_style += append_styles(important_styles, true);
2661
+ new_style = new_style.trim();
2662
+ return new_style === "" ? null : new_style;
2663
+ }
2664
+ return value == null ? null : String(value);
2665
+ }
2666
+ //#endregion
2667
+ //#region ../../node_modules/.pnpm/svelte@5.57.1_@typescript-eslint+types@8.70.1/node_modules/svelte/src/internal/server/hydration.js
2668
+ var BLOCK_OPEN = `<!--[-->`;
2669
+ var BLOCK_CLOSE = `<!--]-->`;
2670
+ var EMPTY_COMMENT = `<!---->`;
2671
+ //#endregion
2672
+ //#region ../../node_modules/.pnpm/svelte@5.57.1_@typescript-eslint+types@8.70.1/node_modules/svelte/src/internal/server/errors.js
2673
+ /**
2674
+ * The node API `AsyncLocalStorage` is not available, but is required to use async server rendering.
2675
+ * @returns {never}
2676
+ */
2677
+ function async_local_storage_unavailable() {
2678
+ const error = /* @__PURE__ */ new Error(`async_local_storage_unavailable\nThe node API \`AsyncLocalStorage\` is not available, but is required to use async server rendering.\nhttps://svelte.dev/e/async_local_storage_unavailable`);
2679
+ error.name = "Svelte error";
2680
+ throw error;
2681
+ }
2682
+ /**
2683
+ * Encountered asynchronous work while rendering synchronously.
2684
+ * @returns {never}
2685
+ */
2686
+ function await_invalid() {
2687
+ const error = /* @__PURE__ */ new Error(`await_invalid\nEncountered asynchronous work while rendering synchronously.\nhttps://svelte.dev/e/await_invalid`);
2688
+ error.name = "Svelte error";
2689
+ throw error;
2690
+ }
2691
+ /**
2692
+ * `<svelte:element this="%tag%">` is not a valid element name — the element will not be rendered
2693
+ * @param {string} tag
2694
+ * @returns {never}
2695
+ */
2696
+ function dynamic_element_invalid_tag(tag) {
2697
+ const error = /* @__PURE__ */ new Error(`dynamic_element_invalid_tag\n\`<svelte:element this="${tag}">\` is not a valid element name — the element will not be rendered\nhttps://svelte.dev/e/dynamic_element_invalid_tag`);
2698
+ error.name = "Svelte error";
2699
+ throw error;
2700
+ }
2701
+ /**
2702
+ * Failed to serialize `hydratable` data for key `%key%`.
2703
+ *
2704
+ * `hydratable` can serialize anything [`uneval` from `devalue`](https://npmjs.com/package/uneval) can, plus Promises.
2705
+ *
2706
+ * Cause:
2707
+ * %stack%
2708
+ * @param {string} key
2709
+ * @param {string} stack
2710
+ * @returns {never}
2711
+ */
2712
+ function hydratable_serialization_failed(key, stack) {
2713
+ const error = /* @__PURE__ */ new Error(`hydratable_serialization_failed\nFailed to serialize \`hydratable\` data for key \`${key}\`.
2714
+
2715
+ \`hydratable\` can serialize anything [\`uneval\` from \`devalue\`](https://npmjs.com/package/uneval) can, plus Promises.
2716
+
2717
+ Cause:
2718
+ ${stack}\nhttps://svelte.dev/e/hydratable_serialization_failed`);
2719
+ error.name = "Svelte error";
2720
+ throw error;
2721
+ }
2722
+ /**
2723
+ * `csp.nonce` was set while `csp.hash` was `true`. These options cannot be used simultaneously.
2724
+ * @returns {never}
2725
+ */
2726
+ function invalid_csp() {
2727
+ const error = /* @__PURE__ */ new Error(`invalid_csp\n\`csp.nonce\` was set while \`csp.hash\` was \`true\`. These options cannot be used simultaneously.\nhttps://svelte.dev/e/invalid_csp`);
2728
+ error.name = "Svelte error";
2729
+ throw error;
2730
+ }
2731
+ /**
2732
+ * The `idPrefix` option cannot include `--`.
2733
+ * @returns {never}
2734
+ */
2735
+ function invalid_id_prefix() {
2736
+ const error = /* @__PURE__ */ new Error(`invalid_id_prefix\nThe \`idPrefix\` option cannot include \`--\`.\nhttps://svelte.dev/e/invalid_id_prefix`);
2737
+ error.name = "Svelte error";
2738
+ throw error;
2739
+ }
2740
+ /**
2741
+ * `%name%(...)` is not available on the server
2742
+ * @param {string} name
2743
+ * @returns {never}
2744
+ */
2745
+ function lifecycle_function_unavailable(name) {
2746
+ const error = /* @__PURE__ */ new Error(`lifecycle_function_unavailable\n\`${name}(...)\` is not available on the server\nhttps://svelte.dev/e/lifecycle_function_unavailable`);
2747
+ error.name = "Svelte error";
2748
+ throw error;
2749
+ }
2750
+ /**
2751
+ * Could not resolve `render` context.
2752
+ * @returns {never}
2753
+ */
2754
+ function server_context_required() {
2755
+ const error = /* @__PURE__ */ new Error(`server_context_required\nCould not resolve \`render\` context.\nhttps://svelte.dev/e/server_context_required`);
2756
+ error.name = "Svelte error";
2757
+ throw error;
2758
+ }
2759
+ //#endregion
2760
+ //#region ../../node_modules/.pnpm/svelte@5.57.1_@typescript-eslint+types@8.70.1/node_modules/svelte/src/internal/server/context.js
2761
+ /** @import { SSRContext } from '#server' */
2762
+ /** @type {SSRContext | null} */
2763
+ var ssr_context = null;
2764
+ /** @param {SSRContext | null} v */
2765
+ function set_ssr_context(v) {
2766
+ ssr_context = v;
2767
+ }
2768
+ /**
2769
+ * @template T
2770
+ * @returns {[() => T, (context: T) => T, () => boolean]}
2771
+ * @since 5.40.0
2772
+ */
2773
+ function createContext() {
2774
+ return create_context(getContext, setContext, hasContext);
2775
+ }
2776
+ /**
2777
+ * @template T
2778
+ * @param {any} key
2779
+ * @returns {T}
2780
+ */
2781
+ function getContext(key) {
2782
+ return get_or_init_context_map(ssr_context).get(key);
2783
+ }
2784
+ /**
2785
+ * @template T
2786
+ * @param {any} key
2787
+ * @param {T} context
2788
+ * @returns {T}
2789
+ */
2790
+ function setContext(key, context) {
2791
+ const context_map = get_or_init_context_map(ssr_context);
2792
+ if (ssr_context.i) set_context_after_init();
2793
+ context_map.set(key, context);
2794
+ return context;
2795
+ }
2796
+ /**
2797
+ * @param {any} key
2798
+ * @returns {boolean}
2799
+ */
2800
+ function hasContext(key) {
2801
+ return get_or_init_context_map(ssr_context).has(key);
2802
+ }
2803
+ /** @returns {Map<any, any>} */
2804
+ function getAllContexts() {
2805
+ return get_or_init_context_map(ssr_context);
2806
+ }
2807
+ /**
2808
+ * @param {Function} [fn]
2809
+ */
2810
+ function push(fn) {
2811
+ ssr_context = {
2812
+ p: ssr_context,
2813
+ c: null,
2814
+ r: null,
2815
+ i: false
2816
+ };
2817
+ }
2818
+ function pop() {
2819
+ ssr_context = ssr_context.p;
2820
+ }
2821
+ /**
2822
+ * A `hydratable` value with key `%key%` was created, but at least part of it was not used during the render.
2823
+ *
2824
+ * The `hydratable` was initialized in:
2825
+ * %stack%
2826
+ * @param {string} key
2827
+ * @param {string} stack
2828
+ */
2829
+ function unresolved_hydratable(key, stack) {
2830
+ console.warn(`https://svelte.dev/e/unresolved_hydratable`);
2831
+ }
2832
+ //#endregion
2833
+ //#region ../../node_modules/.pnpm/svelte@5.57.1_@typescript-eslint+types@8.70.1/node_modules/svelte/src/internal/server/render-context.js
2834
+ /** @import { AsyncLocalStorage } from 'node:async_hooks' */
2835
+ /** @import { RenderContext } from '#server' */
2836
+ /** @type {Promise<void> | null} */
2837
+ var current_render = null;
2838
+ /** @type {RenderContext | null} */
2839
+ var context = null;
2840
+ /** @returns {RenderContext} */
2841
+ function get_render_context() {
2842
+ const store = context ?? als?.getStore();
2843
+ if (!store) server_context_required();
2844
+ return store;
2845
+ }
2846
+ /**
2847
+ * @template T
2848
+ * @param {() => Promise<T>} fn
2849
+ * @returns {Promise<T>}
2850
+ */
2851
+ async function with_render_context(fn) {
2852
+ context = { hydratable: {
2853
+ lookup: /* @__PURE__ */ new Map(),
2854
+ comparisons: [],
2855
+ unresolved_promises: /* @__PURE__ */ new Map()
2856
+ } };
2857
+ if (in_webcontainer()) {
2858
+ const { promise, resolve } = deferred();
2859
+ const previous_render = current_render;
2860
+ current_render = promise;
2861
+ await previous_render;
2862
+ return fn().finally(resolve);
2863
+ }
2864
+ try {
2865
+ if (als === null) async_local_storage_unavailable();
2866
+ return als.run(context, fn);
2867
+ } finally {
2868
+ context = null;
2869
+ }
2870
+ }
2871
+ /** @type {AsyncLocalStorage<RenderContext | null> | null} */
2872
+ var als = null;
2873
+ /** @type {Promise<void> | null} */
2874
+ var als_import = null;
2875
+ /**
2876
+ *
2877
+ * @returns {Promise<void>}
2878
+ */
2879
+ function init_render_context() {
2880
+ als_import ??= import('node:async_hooks').then((hooks) => {
2881
+ als = new hooks.AsyncLocalStorage();
2882
+ }).then(noop, noop);
2883
+ return als_import;
2884
+ }
2885
+ function in_webcontainer() {
2886
+ return !!globalThis.process?.versions?.webcontainer;
2887
+ }
2888
+ //#endregion
2889
+ //#region ../../node_modules/.pnpm/svelte@5.57.1_@typescript-eslint+types@8.70.1/node_modules/svelte/src/internal/server/crypto.js
2890
+ var text_encoder;
2891
+ var crypto;
2892
+ /** @param {string} module_name */
2893
+ var obfuscated_import = (module_name) => import(
2894
+ /* @vite-ignore */
2895
+ module_name
2896
+ );
2897
+ /** @param {string} data */
2898
+ async function sha256(data) {
2899
+ text_encoder ??= new TextEncoder();
2900
+ crypto ??= globalThis.crypto?.subtle?.digest ? globalThis.crypto : (await obfuscated_import("node:crypto")).webcrypto;
2901
+ return base64_encode(await crypto.subtle.digest("SHA-256", text_encoder.encode(data)));
2902
+ }
2903
+ /**
2904
+ * @param {Uint8Array} bytes
2905
+ * @returns {string}
2906
+ */
2907
+ function base64_encode(bytes) {
2908
+ if (globalThis.Buffer) return globalThis.Buffer.from(bytes).toString("base64");
2909
+ let binary = "";
2910
+ for (let i = 0; i < bytes.length; i++) binary += String.fromCharCode(bytes[i]);
2911
+ return btoa(binary);
2912
+ }
2913
+ //#endregion
2914
+ //#region ../../node_modules/.pnpm/svelte@5.57.1_@typescript-eslint+types@8.70.1/node_modules/svelte/src/internal/server/renderer.js
2915
+ /** @import { Component } from 'svelte' */
2916
+ /** @import { HydratableContext, SSRContext } from './types.js' */
2917
+ /** @import { Csp, RenderOutput, SyncRenderOutput, Sha256Source } from '../../server/public.js' */
2918
+ /** @import { MaybePromise } from '#shared' */
2919
+ /** @typedef {'head' | 'body'} RendererType */
2920
+ /** @typedef {{ [key in RendererType]: string }} AccumulatedContent */
2921
+ /**
2922
+ * @typedef {string | Renderer} RendererItem
2923
+ */
2924
+ var RenderResult = class {
2925
+ /** @type {() => AccumulatedContent} */
2926
+ #render;
2927
+ /** @type {() => Promise<AccumulatedContent & { hashes: { script: Sha256Source[] } }>} */
2928
+ #render_async;
2929
+ /** @type {AccumulatedContent | undefined} */
2930
+ #sync;
2931
+ /** @type {{ script: '' }} */
2932
+ #hashes = { script: "" };
2933
+ /** @type {Promise<AccumulatedContent & { hashes: { script: Sha256Source[] } }> | undefined} */
2934
+ #promise;
2935
+ /**
2936
+ * @param {() => AccumulatedContent} render
2937
+ * @param {() => Promise<AccumulatedContent & { hashes: { script: Sha256Source[] } }>} render_async
2938
+ */
2939
+ constructor(render, render_async) {
2940
+ this.#render = render;
2941
+ this.#render_async = render_async;
2942
+ }
2943
+ #get() {
2944
+ return this.#sync ??= this.#render();
2945
+ }
2946
+ get html() {
2947
+ return this.#get().body;
2948
+ }
2949
+ get head() {
2950
+ return this.#get().head;
2951
+ }
2952
+ get body() {
2953
+ return this.#get().body;
2954
+ }
2955
+ get hashes() {
2956
+ return this.#hashes;
2957
+ }
2958
+ /**
2959
+ * This is not type-safe, but honestly it's the best I can do right now, and it's a straightforward function.
2960
+ *
2961
+ * @template TResult1
2962
+ * @template [TResult2=never]
2963
+ * @param {(value: SyncRenderOutput) => TResult1} onfulfilled
2964
+ * @param {(reason: unknown) => TResult2} onrejected
2965
+ */
2966
+ then(onfulfilled, onrejected) {
2967
+ {
2968
+ const result = this.#get();
2969
+ const user_result = onfulfilled({
2970
+ head: result.head,
2971
+ body: result.body,
2972
+ html: result.body,
2973
+ hashes: { script: [] }
2974
+ });
2975
+ return Promise.resolve(user_result);
2976
+ }
2977
+ }
2978
+ };
2979
+ /**
2980
+ * Renderers are basically a tree of `string | Renderer`s, where each `Renderer` in the tree represents
2981
+ * work that may or may not have completed. A renderer can be {@link collect}ed to aggregate the
2982
+ * content from itself and all of its children, but this will throw if any of the children are
2983
+ * performing asynchronous work. To asynchronously collect a renderer, just `await` it.
2984
+ *
2985
+ * The `string` values within a renderer are always associated with the {@link type} of that renderer. To switch types,
2986
+ * call {@link child} with a different `type` argument.
2987
+ */
2988
+ var Renderer = class Renderer {
2989
+ /**
2990
+ * The contents of the renderer.
2991
+ * @type {RendererItem[]}
2992
+ */
2993
+ #out = [];
2994
+ /**
2995
+ * Any `onDestroy` callbacks registered during execution of this renderer.
2996
+ * @type {(() => void)[] | undefined}
2997
+ */
2998
+ #on_destroy = void 0;
2999
+ /**
3000
+ * Whether this renderer is a component body.
3001
+ * @type {boolean}
3002
+ */
3003
+ #is_component_body = false;
3004
+ /**
3005
+ * If set, this renderer is an error boundary. When async collection
3006
+ * of the children fails, the failed snippet is rendered instead.
3007
+ * @type {{
3008
+ * failed: (renderer: Renderer, error: unknown, reset: () => void) => void;
3009
+ * transformError: (error: unknown) => unknown;
3010
+ * context: SSRContext | null;
3011
+ * } | null}
3012
+ */
3013
+ #boundary = null;
3014
+ /**
3015
+ * The type of string content that this renderer is accumulating.
3016
+ * @type {RendererType}
3017
+ */
3018
+ type;
3019
+ /** @type {Renderer | undefined} */
3020
+ #parent;
3021
+ /**
3022
+ * Asynchronous work associated with this renderer
3023
+ * @type {Promise<void> | undefined}
3024
+ */
3025
+ promise = void 0;
3026
+ /**
3027
+ * State which is associated with the content tree as a whole.
3028
+ * It will be re-exposed, uncopied, on all children.
3029
+ * @type {SSRState}
3030
+ * @readonly
3031
+ */
3032
+ global;
3033
+ /**
3034
+ * State that is local to the branch it is declared in.
3035
+ * It will be shallow-copied to all children.
3036
+ *
3037
+ * @type {{ select_value: any, multiple: boolean }}
3038
+ */
3039
+ local;
3040
+ /**
3041
+ * @param {SSRState} global
3042
+ * @param {Renderer | undefined} [parent]
3043
+ */
3044
+ constructor(global, parent) {
3045
+ this.#parent = parent;
3046
+ this.global = global;
3047
+ this.local = parent ? { ...parent.local } : {
3048
+ select_value: void 0,
3049
+ multiple: false
3050
+ };
3051
+ this.type = parent ? parent.type : "body";
3052
+ }
3053
+ /**
3054
+ * @param {(renderer: Renderer) => void} fn
3055
+ */
3056
+ head(fn) {
3057
+ const head = new Renderer(this.global, this);
3058
+ head.type = "head";
3059
+ this.#out.push(head);
3060
+ head.child(fn);
3061
+ }
3062
+ /**
3063
+ * @param {Array<Promise<void>>} blockers
3064
+ * @param {(renderer: Renderer) => void} fn
3065
+ */
3066
+ async_block(blockers, fn) {
3067
+ this.#out.push(BLOCK_OPEN);
3068
+ this.async(blockers, fn);
3069
+ this.#out.push(BLOCK_CLOSE);
3070
+ }
3071
+ /**
3072
+ * @param {Array<Promise<void>>} blockers
3073
+ * @param {(renderer: Renderer) => void} fn
3074
+ */
3075
+ async(blockers, fn) {
3076
+ let callback = fn;
3077
+ if (blockers.length > 0) {
3078
+ const context = ssr_context;
3079
+ callback = (renderer) => {
3080
+ return Promise.all(blockers).then(() => {
3081
+ const previous_context = ssr_context;
3082
+ try {
3083
+ set_ssr_context(context);
3084
+ return fn(renderer);
3085
+ } finally {
3086
+ set_ssr_context(previous_context);
3087
+ }
3088
+ });
3089
+ };
3090
+ }
3091
+ this.child(callback);
3092
+ }
3093
+ /**
3094
+ * @param {Array<() => void>} thunks
3095
+ */
3096
+ run(thunks) {
3097
+ const context = ssr_context;
3098
+ let promise = Promise.resolve(thunks[0]());
3099
+ const promises = [promise];
3100
+ if (context !== null && thunks.length > 1) context.i = true;
3101
+ for (const fn of thunks.slice(1)) {
3102
+ promise = promise.then(() => {
3103
+ const previous_context = ssr_context;
3104
+ set_ssr_context(context);
3105
+ try {
3106
+ return fn();
3107
+ } finally {
3108
+ set_ssr_context(previous_context);
3109
+ }
3110
+ });
3111
+ promises.push(promise);
3112
+ }
3113
+ promise.catch(noop);
3114
+ this.promise = this.global.track(promise);
3115
+ return promises;
3116
+ }
3117
+ /**
3118
+ * @param {(renderer: Renderer) => MaybePromise<void>} fn
3119
+ */
3120
+ child_block(fn) {
3121
+ this.#out.push(BLOCK_OPEN);
3122
+ this.child(fn);
3123
+ this.#out.push(BLOCK_CLOSE);
3124
+ }
3125
+ /**
3126
+ * Create a child renderer. The child renderer inherits the state from the parent,
3127
+ * but has its own content.
3128
+ * @param {(renderer: Renderer) => MaybePromise<void>} fn
3129
+ */
3130
+ child(fn) {
3131
+ const child = new Renderer(this.global, this);
3132
+ this.#out.push(child);
3133
+ const parent = ssr_context;
3134
+ set_ssr_context({
3135
+ ...ssr_context,
3136
+ p: parent,
3137
+ c: null,
3138
+ r: child,
3139
+ i: ssr_context?.i ?? false
3140
+ });
3141
+ const result = fn(child);
3142
+ set_ssr_context(parent);
3143
+ if (result instanceof Promise) {
3144
+ result.catch(noop);
3145
+ result.finally(() => set_ssr_context(null)).catch(noop);
3146
+ if (child.global.mode === "sync") await_invalid();
3147
+ child.promise = child.global.track(result);
3148
+ }
3149
+ return child;
3150
+ }
3151
+ /**
3152
+ * Render children inside an error boundary. If the children throw and the API-level
3153
+ * `transformError` transform handles the error (doesn't re-throw), the `failed` snippet is
3154
+ * rendered instead. Otherwise the error propagates.
3155
+ *
3156
+ * @param {{ failed?: (renderer: Renderer, error: unknown, reset: () => void) => void }} props
3157
+ * @param {(renderer: Renderer) => MaybePromise<void>} children_fn
3158
+ */
3159
+ boundary(props, children_fn) {
3160
+ const child = new Renderer(this.global, this);
3161
+ this.#out.push(child);
3162
+ const parent_context = ssr_context;
3163
+ if (props.failed) child.#boundary = {
3164
+ failed: props.failed,
3165
+ transformError: this.global.transformError,
3166
+ context: parent_context
3167
+ };
3168
+ set_ssr_context({
3169
+ ...ssr_context,
3170
+ p: parent_context,
3171
+ c: null,
3172
+ r: child,
3173
+ i: ssr_context?.i ?? false
3174
+ });
3175
+ try {
3176
+ const result = children_fn(child);
3177
+ set_ssr_context(parent_context);
3178
+ if (result instanceof Promise) {
3179
+ if (child.global.mode === "sync") await_invalid();
3180
+ result.catch(noop);
3181
+ child.promise = child.global.track(result);
3182
+ }
3183
+ } catch (error) {
3184
+ set_ssr_context(parent_context);
3185
+ const failed_snippet = props.failed;
3186
+ if (!failed_snippet) throw error;
3187
+ const result = this.global.transformError(error);
3188
+ child.#out.length = 0;
3189
+ child.#boundary = null;
3190
+ if (result instanceof Promise) {
3191
+ if (this.global.mode === "sync") await_invalid();
3192
+ child.promise = child.global.track(
3193
+ /** @type {Promise<unknown>} */
3194
+ result.then((transformed) => {
3195
+ set_ssr_context(parent_context);
3196
+ child.#out.push(Renderer.#serialize_failed_boundary(transformed));
3197
+ failed_snippet(child, transformed, noop);
3198
+ child.#out.push(BLOCK_CLOSE);
3199
+ })
3200
+ );
3201
+ child.promise.catch(noop);
3202
+ } else {
3203
+ child.#out.push(Renderer.#serialize_failed_boundary(result));
3204
+ failed_snippet(child, result, noop);
3205
+ child.#out.push(BLOCK_CLOSE);
3206
+ }
3207
+ }
3208
+ }
3209
+ /**
3210
+ * Create a component renderer. The component renderer inherits the state from the parent,
3211
+ * but has its own content. It is treated as an ordering boundary for ondestroy callbacks.
3212
+ * @param {(renderer: Renderer) => MaybePromise<void>} fn
3213
+ * @param {Function} [component_fn]
3214
+ * @returns {void}
3215
+ */
3216
+ component(fn, component_fn) {
3217
+ push();
3218
+ this.child((renderer) => {
3219
+ renderer.#is_component_body = true;
3220
+ return fn(renderer);
3221
+ });
3222
+ pop();
3223
+ }
3224
+ /**
3225
+ * @param {Record<string, any>} attrs
3226
+ * @param {(renderer: Renderer) => void} fn
3227
+ * @param {string | undefined} [css_hash]
3228
+ * @param {Record<string, boolean> | undefined} [classes]
3229
+ * @param {Record<string, string> | undefined} [styles]
3230
+ * @param {number | undefined} [flags]
3231
+ * @param {boolean | undefined} [is_rich]
3232
+ * @returns {void}
3233
+ */
3234
+ select(attrs, fn, css_hash, classes, styles, flags, is_rich) {
3235
+ const { value, defaultValue, ...select_attrs } = attrs;
3236
+ if (select_attrs.multiple === "") select_attrs.multiple = true;
3237
+ this.push(`<select${attributes(select_attrs, css_hash, classes, styles, flags)}>`);
3238
+ this.child((renderer) => {
3239
+ renderer.local.select_value = value === void 0 ? defaultValue : value;
3240
+ renderer.local.multiple = !!select_attrs.multiple;
3241
+ fn(renderer);
3242
+ });
3243
+ this.push(`${is_rich ? "<!>" : ""}</select>`);
3244
+ }
3245
+ /**
3246
+ * @param {Record<string, any>} attrs
3247
+ * @param {string | number | boolean | ((renderer: Renderer) => void)} body
3248
+ * @param {string | undefined} [css_hash]
3249
+ * @param {Record<string, boolean> | undefined} [classes]
3250
+ * @param {Record<string, string> | undefined} [styles]
3251
+ * @param {number | undefined} [flags]
3252
+ * @param {boolean | undefined} [is_rich]
3253
+ */
3254
+ option(attrs, body, css_hash, classes, styles, flags, is_rich) {
3255
+ this.#out.push(`<option${attributes(attrs, css_hash, classes, styles, flags)}`);
3256
+ /**
3257
+ * @param {Renderer} renderer
3258
+ * @param {any} value
3259
+ * @param {{ head?: string, body: any }} content
3260
+ */
3261
+ const close = (renderer, value, { head, body }) => {
3262
+ if (has_own_property.call(attrs, "value")) value = attrs.value;
3263
+ var select_value = this.local.select_value;
3264
+ if (this.local.multiple && is_array(select_value) ? select_value.includes(value) : value === select_value) renderer.#out.push(" selected=\"\"");
3265
+ renderer.#out.push(`>${body}${is_rich ? "<!>" : ""}</option>`);
3266
+ if (head) renderer.head((child) => child.push(head));
3267
+ };
3268
+ if (typeof body === "function") this.child((renderer) => {
3269
+ const r = new Renderer(this.global, this);
3270
+ body(r);
3271
+ if (this.global.mode === "async") return r.#collect_content_async().then((content) => {
3272
+ close(renderer, content.body.replaceAll("<!---->", ""), content);
3273
+ });
3274
+ else {
3275
+ const content = r.#collect_content();
3276
+ close(renderer, content.body.replaceAll("<!---->", ""), content);
3277
+ }
3278
+ });
3279
+ else close(this, body, { body: escape_html(body) });
3280
+ }
3281
+ /**
3282
+ * @param {(renderer: Renderer) => void} fn
3283
+ */
3284
+ title(fn) {
3285
+ const path = this.get_path();
3286
+ /** @param {string} head */
3287
+ const close = (head) => {
3288
+ this.global.set_title(head, path);
3289
+ };
3290
+ this.child((renderer) => {
3291
+ const r = new Renderer(renderer.global, renderer);
3292
+ fn(r);
3293
+ if (renderer.global.mode === "async") return r.#collect_content_async().then((content) => {
3294
+ close(content.head);
3295
+ });
3296
+ else {
3297
+ const content = r.#collect_content();
3298
+ close(content.head);
3299
+ }
3300
+ });
3301
+ }
3302
+ /**
3303
+ * @param {string | (() => Promise<string>)} content
3304
+ */
3305
+ push(content) {
3306
+ if (typeof content === "function") this.child(async (renderer) => renderer.push(await content()));
3307
+ else this.#out.push(content);
3308
+ }
3309
+ /**
3310
+ * @param {() => void} fn
3311
+ */
3312
+ on_destroy(fn) {
3313
+ (this.#on_destroy ??= []).push(fn);
3314
+ }
3315
+ /**
3316
+ * @returns {number[]}
3317
+ */
3318
+ get_path() {
3319
+ return this.#parent ? [...this.#parent.get_path(), this.#parent.#out.indexOf(this)] : [];
3320
+ }
3321
+ /**
3322
+ * @deprecated this is needed for legacy component bindings
3323
+ */
3324
+ copy() {
3325
+ const copy = new Renderer(this.global, this.#parent);
3326
+ copy.type = this.type;
3327
+ copy.#out = this.#out.map((item) => item instanceof Renderer ? item.copy() : item);
3328
+ copy.promise = this.promise;
3329
+ return copy;
3330
+ }
3331
+ /**
3332
+ * @param {Renderer} other
3333
+ * @deprecated this is needed for legacy component bindings
3334
+ */
3335
+ subsume(other) {
3336
+ if (this.global.mode !== other.global.mode) throw new Error("invariant: A renderer cannot switch modes. If you're seeing this, there's a compiler bug. File an issue!");
3337
+ this.local = other.local;
3338
+ this.#out = other.#out.map((item, i) => {
3339
+ const current = this.#out[i];
3340
+ if (current instanceof Renderer && item instanceof Renderer) {
3341
+ current.subsume(item);
3342
+ return current;
3343
+ }
3344
+ return item;
3345
+ });
3346
+ this.promise = other.promise;
3347
+ this.type = other.type;
3348
+ }
3349
+ get length() {
3350
+ return this.#out.length;
3351
+ }
3352
+ /**
3353
+ * Creates the hydration comment that marks the start of a failed boundary.
3354
+ * The error is JSON-serialized and embedded inside an HTML comment for the client
3355
+ * to parse during hydration. The JSON is escaped to prevent `-->` or `<!--` sequences
3356
+ * from breaking out of the comment (XSS). Uses unicode escapes which `JSON.parse()`
3357
+ * handles transparently.
3358
+ * @param {unknown} error
3359
+ * @returns {string}
3360
+ */
3361
+ static #serialize_failed_boundary(error) {
3362
+ return `<!--[?${JSON.stringify(error).replace(/>/g, "\\u003e").replace(/</g, "\\u003c")}-->`;
3363
+ }
3364
+ /**
3365
+ * Only available on the server and when compiling with the `server` option.
3366
+ * Takes a component and returns an object with `body` and `head` properties on it, which you can use to populate the HTML when server-rendering your app.
3367
+ * @template {Record<string, any>} Props
3368
+ * @param {Component<Props>} component
3369
+ * @param {{ props?: Omit<Props, '$$slots' | '$$events'>; context?: Map<any, any>; idPrefix?: string; csp?: Csp }} [options]
3370
+ * @returns {RenderOutput}
3371
+ */
3372
+ static render(component, options = {}) {
3373
+ return new RenderResult(() => Renderer.#render(component, options), () => init_render_context().then(() => with_render_context(() => Renderer.#render_async(component, options))));
3374
+ }
3375
+ /**
3376
+ * Collect all of the `onDestroy` callbacks registered during rendering. In an async context, this is only safe to call
3377
+ * after awaiting `collect_async`.
3378
+ *
3379
+ * Child renderers are "porous" and don't affect execution order, but component body renderers
3380
+ * create ordering boundaries. Within a renderer, callbacks run in order until hitting a component boundary.
3381
+ * @returns {Iterable<() => void>}
3382
+ */
3383
+ *#collect_on_destroy() {
3384
+ for (const component of this.#traverse_components()) yield* component.#collect_ondestroy();
3385
+ }
3386
+ /**
3387
+ * Performs a depth-first search of renderers, yielding the deepest components first, then additional components as we backtrack up the tree.
3388
+ * @returns {Iterable<Renderer>}
3389
+ */
3390
+ *#traverse_components() {
3391
+ for (const child of this.#out) if (typeof child !== "string") yield* child.#traverse_components();
3392
+ if (this.#is_component_body) yield this;
3393
+ }
3394
+ /**
3395
+ * @returns {Iterable<() => void>}
3396
+ */
3397
+ *#collect_ondestroy() {
3398
+ if (this.#on_destroy) for (const fn of this.#on_destroy) yield fn;
3399
+ for (const child of this.#out) if (child instanceof Renderer && !child.#is_component_body) yield* child.#collect_ondestroy();
3400
+ }
3401
+ /**
3402
+ * Runs every `onDestroy` callback in this renderer tree. On a failed render,
3403
+ * cleanup errors are suppressed so they do not mask the render error.
3404
+ * @param {boolean} suppress_errors
3405
+ */
3406
+ #run_on_destroy(suppress_errors) {
3407
+ let first_error;
3408
+ let has_error = false;
3409
+ for (const cleanup of this.#collect_on_destroy()) try {
3410
+ cleanup();
3411
+ } catch (error) {
3412
+ if (!suppress_errors && !has_error) {
3413
+ first_error = error;
3414
+ has_error = true;
3415
+ }
3416
+ }
3417
+ if (has_error) throw first_error;
3418
+ }
3419
+ /**
3420
+ * @param {'sync' | 'async'} mode
3421
+ * @param {{ idPrefix?: string; csp?: Csp; transformError?: (error: unknown) => unknown }} options
3422
+ * @returns {Renderer}
3423
+ */
3424
+ static #create(mode, options) {
3425
+ if (options.idPrefix?.includes("--")) invalid_id_prefix();
3426
+ return new Renderer(new SSRState(mode, options.idPrefix ? options.idPrefix + "-" : "", options.csp, options.transformError));
3427
+ }
3428
+ /**
3429
+ * Render a component. Throws if any of the children are performing asynchronous work.
3430
+ *
3431
+ * @template {Record<string, any>} Props
3432
+ * @param {Component<Props>} component
3433
+ * @param {{ props?: Omit<Props, '$$slots' | '$$events'>; context?: Map<any, any>; idPrefix?: string }} options
3434
+ * @returns {AccumulatedContent}
3435
+ */
3436
+ static #render(component, options) {
3437
+ var previous_context = ssr_context;
3438
+ const renderer = Renderer.#create("sync", options);
3439
+ /** @type {AccumulatedContent | undefined} */
3440
+ let result;
3441
+ let render_error;
3442
+ let failed = false;
3443
+ try {
3444
+ try {
3445
+ Renderer.#open_render(renderer, component, options);
3446
+ result = Renderer.#close_render(renderer.#collect_content(), renderer);
3447
+ } catch (error) {
3448
+ render_error = error;
3449
+ failed = true;
3450
+ }
3451
+ renderer.#run_on_destroy(failed);
3452
+ if (failed) throw render_error;
3453
+ return result;
3454
+ } finally {
3455
+ renderer.global.abort();
3456
+ set_ssr_context(previous_context);
3457
+ }
3458
+ }
3459
+ /**
3460
+ * Render a component.
3461
+ *
3462
+ * @template {Record<string, any>} Props
3463
+ * @param {Component<Props>} component
3464
+ * @param {{ props?: Omit<Props, '$$slots' | '$$events'>; context?: Map<any, any>; idPrefix?: string; csp?: Csp }} options
3465
+ * @returns {Promise<AccumulatedContent & { hashes: { script: Sha256Source[] } }>}
3466
+ */
3467
+ static async #render_async(component, options) {
3468
+ const previous_context = ssr_context;
3469
+ const renderer = Renderer.#create("async", options);
3470
+ /** @type {(AccumulatedContent & { hashes: { script: Sha256Source[] } }) | undefined} */
3471
+ let result;
3472
+ let render_error;
3473
+ let failed = false;
3474
+ try {
3475
+ try {
3476
+ Renderer.#open_render(renderer, component, options);
3477
+ const content = await renderer.#collect_content_async();
3478
+ const hydratables = await renderer.#collect_hydratables();
3479
+ if (hydratables !== null) content.head = hydratables + content.head;
3480
+ result = Renderer.#close_render(content, renderer);
3481
+ } catch (error) {
3482
+ render_error = error;
3483
+ failed = true;
3484
+ renderer.global.abort();
3485
+ await renderer.global.settle();
3486
+ }
3487
+ renderer.#run_on_destroy(failed);
3488
+ if (failed) throw render_error;
3489
+ return result;
3490
+ } finally {
3491
+ set_ssr_context(previous_context);
3492
+ renderer.global.abort();
3493
+ }
3494
+ }
3495
+ /**
3496
+ * Collect all of the code from the `out` array and return it as a string, or a promise resolving to a string.
3497
+ * @param {AccumulatedContent} content
3498
+ * @returns {AccumulatedContent}
3499
+ */
3500
+ #collect_content(content = {
3501
+ head: "",
3502
+ body: ""
3503
+ }) {
3504
+ for (const item of this.#out) if (typeof item === "string") content[this.type] += item;
3505
+ else if (item instanceof Renderer) item.#collect_content(content);
3506
+ return content;
3507
+ }
3508
+ /**
3509
+ * Collect all of the code from the `out` array and return it as a string.
3510
+ * @param {AccumulatedContent} content
3511
+ * @returns {Promise<AccumulatedContent>}
3512
+ */
3513
+ async #collect_content_async(content = {
3514
+ head: "",
3515
+ body: ""
3516
+ }) {
3517
+ await this.promise;
3518
+ for (const item of this.#out) if (typeof item === "string") content[this.type] += item;
3519
+ else if (item instanceof Renderer) {
3520
+ if (item.#boundary) {
3521
+ /** @type {AccumulatedContent} */
3522
+ const boundary_content = {
3523
+ head: "",
3524
+ body: ""
3525
+ };
3526
+ try {
3527
+ await item.#collect_content_async(boundary_content);
3528
+ content.head += boundary_content.head;
3529
+ content.body += boundary_content.body;
3530
+ } catch (error) {
3531
+ const { context, failed, transformError } = item.#boundary;
3532
+ set_ssr_context(context);
3533
+ let promise = transformError(error);
3534
+ set_ssr_context(null);
3535
+ let transformed = await promise;
3536
+ set_ssr_context(context);
3537
+ const failed_renderer = new Renderer(item.global, item);
3538
+ failed_renderer.type = item.type;
3539
+ failed_renderer.#out.push(Renderer.#serialize_failed_boundary(transformed));
3540
+ failed(failed_renderer, transformed, noop);
3541
+ failed_renderer.#out.push(BLOCK_CLOSE);
3542
+ await failed_renderer.#collect_content_async(content);
3543
+ }
3544
+ } else await item.#collect_content_async(content);
3545
+ }
3546
+ return content;
3547
+ }
3548
+ async #collect_hydratables() {
3549
+ const ctx = get_render_context().hydratable;
3550
+ for (const [_, key] of ctx.unresolved_promises) unresolved_hydratable(key, ctx.lookup.get(key)?.stack ?? "<missing stack trace>");
3551
+ for (const comparison of ctx.comparisons) await comparison;
3552
+ return await this.#hydratable_block(ctx);
3553
+ }
3554
+ /**
3555
+ * @template {Record<string, any>} Props
3556
+ * @param {Renderer} renderer
3557
+ * @param {import('svelte').Component<Props>} component
3558
+ * @param {{ props?: Omit<Props, '$$slots' | '$$events'>; context?: Map<any, any>; idPrefix?: string; csp?: Csp; transformError?: (error: unknown) => unknown }} options
3559
+ * @returns {void}
3560
+ */
3561
+ static #open_render(renderer, component, options) {
3562
+ var previous_context = ssr_context;
3563
+ try {
3564
+ set_ssr_context({
3565
+ p: null,
3566
+ c: options.context ?? null,
3567
+ r: renderer,
3568
+ i: false
3569
+ });
3570
+ renderer.push(BLOCK_OPEN);
3571
+ component(renderer, options.props ?? {});
3572
+ renderer.push(BLOCK_CLOSE);
3573
+ } finally {
3574
+ set_ssr_context(previous_context);
3575
+ }
3576
+ }
3577
+ /**
3578
+ * @param {AccumulatedContent} content
3579
+ * @param {Renderer} renderer
3580
+ * @returns {AccumulatedContent & { hashes: { script: Sha256Source[] } }}
3581
+ */
3582
+ static #close_render(content, renderer) {
3583
+ let head = content.head + renderer.global.get_title();
3584
+ let body = content.body;
3585
+ for (const { hash, code } of renderer.global.css) head += `<style id="${hash}">${code}</style>`;
3586
+ return {
3587
+ head,
3588
+ body,
3589
+ hashes: { script: renderer.global.csp.script_hashes }
3590
+ };
3591
+ }
3592
+ /**
3593
+ * @param {HydratableContext} ctx
3594
+ */
3595
+ async #hydratable_block(ctx) {
3596
+ if (ctx.lookup.size === 0) return null;
3597
+ let entries = [];
3598
+ let has_promises = false;
3599
+ for (const [k, v] of ctx.lookup) {
3600
+ if (v.promises) {
3601
+ has_promises = true;
3602
+ for (const p of v.promises) await p;
3603
+ }
3604
+ entries.push(`[${uneval(k)},${v.serialized}]`);
3605
+ }
3606
+ let prelude = `const h = (window.__svelte ??= {}).h ??= new Map();`;
3607
+ if (has_promises) prelude = `const r = (v) => Promise.resolve(v);
3608
+ ${prelude}`;
3609
+ const body = `
3610
+ {
3611
+ ${prelude}
3612
+
3613
+ for (const [k, v] of [
3614
+ ${entries.join(",\n ")}
3615
+ ]) {
3616
+ h.set(k, v);
3617
+ }
3618
+ }
3619
+ `;
3620
+ let csp_attr = "";
3621
+ if (this.global.csp.nonce) csp_attr = ` nonce="${this.global.csp.nonce}"`;
3622
+ else if (this.global.csp.hash) {
3623
+ const hash = await sha256(body);
3624
+ this.global.csp.script_hashes.push(`sha256-${hash}`);
3625
+ }
3626
+ return `\n\t\t<script${csp_attr}>${body}<\/script>`;
3627
+ }
3628
+ };
3629
+ var SSRState = class {
3630
+ /** @readonly @type {Csp & { script_hashes: Sha256Source[] }} */
3631
+ csp;
3632
+ /** @readonly @type {'sync' | 'async'} */
3633
+ mode;
3634
+ /** @readonly @type {() => string} */
3635
+ uid;
3636
+ /** @readonly @type {Set<{ hash: string; code: string }>} */
3637
+ css = /* @__PURE__ */ new Set();
3638
+ /** @type {Set<Promise<unknown>>} */
3639
+ #pending = /* @__PURE__ */ new Set();
3640
+ /** @type {AbortController | null} */
3641
+ #controller = null;
3642
+ #aborted = false;
3643
+ /**
3644
+ * `transformError` passed to `render`. Called when an error boundary catches an error.
3645
+ * Throws by default if unset in `render`.
3646
+ * @type {(error: unknown) => unknown}
3647
+ */
3648
+ transformError;
3649
+ /** @type {{ path: number[], value: string }} */
3650
+ #title = {
3651
+ path: [],
3652
+ value: ""
3653
+ };
3654
+ /**
3655
+ * @param {'sync' | 'async'} mode
3656
+ * @param {string} id_prefix
3657
+ * @param {Csp} csp
3658
+ * @param {((error: unknown) => unknown) | undefined} [transformError]
3659
+ */
3660
+ constructor(mode, id_prefix = "", csp = { hash: false }, transformError) {
3661
+ this.mode = mode;
3662
+ this.csp = {
3663
+ ...csp,
3664
+ script_hashes: []
3665
+ };
3666
+ this.transformError = transformError ?? ((error) => {
3667
+ throw error;
3668
+ });
3669
+ let uid = 1;
3670
+ this.uid = () => `${id_prefix}s${uid++}`;
3671
+ }
3672
+ /**
3673
+ * @template T
3674
+ * @param {Promise<T>} promise
3675
+ * @returns {Promise<T>}
3676
+ */
3677
+ track(promise) {
3678
+ this.#pending.add(promise);
3679
+ promise.then(() => this.#pending.delete(promise), () => this.#pending.delete(promise));
3680
+ return promise;
3681
+ }
3682
+ async settle() {
3683
+ while (this.#pending.size > 0) await Promise.allSettled([...this.#pending]);
3684
+ }
3685
+ abort() {
3686
+ if (this.#aborted) return;
3687
+ this.#aborted = true;
3688
+ this.#controller?.abort(STALE_REACTION);
3689
+ }
3690
+ get_abort_signal() {
3691
+ const controller = this.#controller ??= new AbortController();
3692
+ if (this.#aborted) controller.abort(STALE_REACTION);
3693
+ return controller.signal;
3694
+ }
3695
+ get_title() {
3696
+ return this.#title.value;
3697
+ }
3698
+ /**
3699
+ * Performs a depth-first (lexicographic) comparison using the path. Rejects sets
3700
+ * from earlier than or equal to the current value.
3701
+ * @param {string} value
3702
+ * @param {number[]} path
3703
+ */
3704
+ set_title(value, path) {
3705
+ const current = this.#title.path;
3706
+ let i = 0;
3707
+ let l = Math.min(path.length, current.length);
3708
+ while (i < l && path[i] === current[i]) i += 1;
3709
+ if (path[i] === void 0) return;
3710
+ if (current[i] === void 0 || path[i] > current[i]) {
3711
+ this.#title.path = path;
3712
+ this.#title.value = value;
3713
+ }
3714
+ }
3715
+ };
3716
+ //#endregion
3717
+ //#region ../../node_modules/.pnpm/svelte@5.57.1_@typescript-eslint+types@8.70.1/node_modules/svelte/src/internal/server/blocks/html.js
3718
+ /**
3719
+ * @param {string} value
3720
+ */
3721
+ function html(value) {
3722
+ return "<!---->" + String(value ?? "") + "<!---->";
3723
+ }
3724
+ //#endregion
3725
+ //#region ../../node_modules/.pnpm/svelte@5.57.1_@typescript-eslint+types@8.70.1/node_modules/svelte/src/internal/server/index.js
3726
+ var INVALID_ATTR_NAME_CHAR_REGEX = /[\s'">/=\u{FDD0}-\u{FDEF}\u{FFFE}\u{FFFF}\u{1FFFE}\u{1FFFF}\u{2FFFE}\u{2FFFF}\u{3FFFE}\u{3FFFF}\u{4FFFE}\u{4FFFF}\u{5FFFE}\u{5FFFF}\u{6FFFE}\u{6FFFF}\u{7FFFE}\u{7FFFF}\u{8FFFE}\u{8FFFF}\u{9FFFE}\u{9FFFF}\u{AFFFE}\u{AFFFF}\u{BFFFE}\u{BFFFF}\u{CFFFE}\u{CFFFF}\u{DFFFE}\u{DFFFF}\u{EFFFE}\u{EFFFF}\u{FFFFE}\u{FFFFF}\u{10FFFE}\u{10FFFF}]/u;
3727
+ /**
3728
+ * @param {Renderer} renderer
3729
+ * @param {string} tag
3730
+ * @param {() => void} attributes_fn
3731
+ * @param {() => void} children_fn
3732
+ * @returns {void}
3733
+ */
3734
+ function element(renderer, tag, attributes_fn = noop, children_fn = noop) {
3735
+ renderer.push("<!---->");
3736
+ if (tag) {
3737
+ if (!REGEX_VALID_TAG_NAME.test(tag)) dynamic_element_invalid_tag(tag);
3738
+ renderer.push(`<${tag}`);
3739
+ attributes_fn();
3740
+ renderer.push(`>`);
3741
+ if (!is_void(tag)) {
3742
+ children_fn();
3743
+ if (!is_raw_text_element(tag)) renderer.push(EMPTY_COMMENT);
3744
+ renderer.push(`</${tag}>`);
3745
+ }
3746
+ }
3747
+ renderer.push("<!---->");
3748
+ }
3749
+ /**
3750
+ * Only available on the server and when compiling with the `server` option.
3751
+ * Takes a component and returns an object with `body` and `head` properties on it, which you can use to populate the HTML when server-rendering your app.
3752
+ * @template {Record<string, any>} Props
3753
+ * @param {Component<Props> | ComponentType<SvelteComponent<Props>>} component
3754
+ * @param {{ props?: Omit<Props, '$$slots' | '$$events'>; context?: Map<any, any>; idPrefix?: string; csp?: Csp; transformError?: (error: unknown) => unknown }} [options]
3755
+ * @returns {RenderOutput}
3756
+ */
3757
+ function render(component, options = {}) {
3758
+ if (options.csp?.hash && options.csp.nonce) invalid_csp();
3759
+ return Renderer.render(component, options);
3760
+ }
3761
+ /**
3762
+ * @param {string} hash
3763
+ * @param {Renderer} renderer
3764
+ * @param {(renderer: Renderer) => Promise<void> | void} fn
3765
+ * @returns {void}
3766
+ */
3767
+ function head(hash, renderer, fn) {
3768
+ renderer.head((renderer) => {
3769
+ renderer.push(`<!--${hash}-->`);
3770
+ renderer.child(fn);
3771
+ renderer.push(EMPTY_COMMENT);
3772
+ });
3773
+ }
3774
+ /**
3775
+ * @param {Record<string, unknown>} attrs
3776
+ * @param {string} [css_hash]
3777
+ * @param {Record<string, boolean>} [classes]
3778
+ * @param {Record<string, string>} [styles]
3779
+ * @param {number} [flags]
3780
+ * @returns {string}
3781
+ */
3782
+ function attributes(attrs, css_hash, classes, styles, flags = 0) {
3783
+ if (styles) attrs.style = to_style(attrs.style, styles);
3784
+ if (attrs.class) attrs.class = clsx$1(attrs.class);
3785
+ if (css_hash || classes) attrs.class = to_class(attrs.class, css_hash, classes);
3786
+ let attr_str = "";
3787
+ let name;
3788
+ const is_html = (flags & 1) === 0;
3789
+ const lowercase = (flags & 2) === 0;
3790
+ const is_input = (flags & 4) !== 0;
3791
+ const names = Object.keys(attrs);
3792
+ outer: for (let i = 0; i < names.length; i++) {
3793
+ name = names[i];
3794
+ if (typeof attrs[name] === "function") continue;
3795
+ if (name[0] === "$" && name[1] === "$") continue;
3796
+ if (name === "" || INVALID_ATTR_NAME_CHAR_REGEX.test(name)) continue;
3797
+ var value = attrs[name];
3798
+ var lower = name.toLowerCase();
3799
+ if (lowercase) name = lower;
3800
+ if (lower.length > 2 && lower.startsWith("on")) continue;
3801
+ if (is_input) {
3802
+ if (name === "defaultvalue" || name === "defaultchecked") {
3803
+ name = name === "defaultvalue" ? "value" : "checked";
3804
+ if (name in attrs) continue;
3805
+ for (let j = 0; j < names.length; j++) if (names[j].toLowerCase() === name) continue outer;
3806
+ }
3807
+ }
3808
+ attr_str += attr(name, value, is_html && is_boolean_attribute(name));
3809
+ }
3810
+ return attr_str;
3811
+ }
3812
+ /**
3813
+ * @param {Record<string, unknown>[]} props
3814
+ * @returns {Record<string, unknown>}
3815
+ */
3816
+ function spread_props(props) {
3817
+ /** @type {Record<string, unknown>} */
3818
+ const merged_props = {};
3819
+ let key;
3820
+ for (let i = 0; i < props.length; i++) {
3821
+ const obj = props[i];
3822
+ if (obj == null) continue;
3823
+ for (key of Object.keys(obj)) {
3824
+ const desc = Object.getOwnPropertyDescriptor(obj, key);
3825
+ if (desc) Object.defineProperty(merged_props, key, desc);
3826
+ else merged_props[key] = obj[key];
3827
+ }
3828
+ }
3829
+ return merged_props;
3830
+ }
3831
+ /**
3832
+ * @param {unknown} value
3833
+ * @returns {string}
3834
+ */
3835
+ function stringify(value) {
3836
+ return typeof value === "string" ? value : value == null ? "" : value + "";
3837
+ }
3838
+ /**
3839
+ * @param {any} value
3840
+ * @param {string | undefined} [hash]
3841
+ * @param {Record<string, boolean>} [directives]
3842
+ */
3843
+ function attr_class(value, hash, directives) {
3844
+ var result = to_class(value, hash, directives);
3845
+ return result ? ` class="${escape_html(result, true)}"` : "";
3846
+ }
3847
+ /**
3848
+ * @param {any} value
3849
+ * @param {Record<string,any>|[Record<string,any>,Record<string,any>]} [directives]
3850
+ */
3851
+ function attr_style(value, directives) {
3852
+ var result = to_style(value, directives);
3853
+ return result ? ` style="${escape_html(result, true)}"` : "";
3854
+ }
3855
+ /**
3856
+ * @template V
3857
+ * @param {Record<string, [any, any, any]>} store_values
3858
+ * @param {string} store_name
3859
+ * @param {Store<V> | null | undefined} store
3860
+ * @returns {V}
3861
+ */
3862
+ function store_get(store_values, store_name, store) {
3863
+ if (store_name in store_values && store_values[store_name][0] === store) return store_values[store_name][2];
3864
+ store_values[store_name]?.[1]();
3865
+ store_values[store_name] = [
3866
+ store,
3867
+ null,
3868
+ void 0
3869
+ ];
3870
+ const unsub = subscribe_to_store(
3871
+ store,
3872
+ /** @param {any} v */
3873
+ (v) => store_values[store_name][2] = v
3874
+ );
3875
+ store_values[store_name][1] = unsub;
3876
+ return store_values[store_name][2];
3877
+ }
3878
+ /** @param {Record<string, [any, any, any]>} store_values */
3879
+ function unsubscribe_stores(store_values) {
3880
+ for (const store_name of Object.keys(store_values)) store_values[store_name][1]();
3881
+ }
3882
+ /**
3883
+ * Legacy mode: If the prop has a fallback and is bound in the
3884
+ * parent component, propagate the fallback value upwards.
3885
+ * @param {Record<string, unknown>} props_parent
3886
+ * @param {Record<string, unknown>} props_now
3887
+ */
3888
+ function bind_props(props_parent, props_now) {
3889
+ for (const key of Object.keys(props_now)) {
3890
+ const initial_value = props_parent[key];
3891
+ const value = props_now[key];
3892
+ if (initial_value === void 0 && value !== void 0 && Object.getOwnPropertyDescriptor(props_parent, key)?.set) props_parent[key] = value;
3893
+ }
3894
+ }
3895
+ /** @param {any} array_like_or_iterator */
3896
+ function ensure_array_like(array_like_or_iterator) {
3897
+ if (array_like_or_iterator) return array_like_or_iterator.length !== void 0 ? array_like_or_iterator : Array.from(array_like_or_iterator);
3898
+ return [];
3899
+ }
3900
+ /**
3901
+ * @template V
3902
+ * @param {() => V} get_value
3903
+ */
3904
+ function once(get_value) {
3905
+ let value = UNINITIALIZED;
3906
+ return () => {
3907
+ if (value === UNINITIALIZED) value = get_value();
3908
+ return value;
3909
+ };
3910
+ }
3911
+ /**
3912
+ * Create an unique ID
3913
+ * @param {Renderer} renderer
3914
+ * @returns {string}
3915
+ */
3916
+ function props_id(renderer) {
3917
+ const uid = renderer.global.uid();
3918
+ renderer.push("<!--$" + uid + "-->");
3919
+ return uid;
3920
+ }
3921
+ /**
3922
+ * @template T
3923
+ * @param {()=>T} fn
3924
+ * @returns {(new_value?: T) => (T | void)}
3925
+ */
3926
+ function derived(fn) {
3927
+ const get_value = ssr_context === null ? fn : once(fn);
3928
+ /** @type {T | undefined} */
3929
+ let updated_value;
3930
+ return function(new_value) {
3931
+ if (arguments.length === 0) return updated_value ?? get_value();
3932
+ updated_value = new_value;
3933
+ return updated_value;
3934
+ };
3935
+ }
3936
+
3937
+ export { effect_tracking as $, get_next_sibling as A, set_hydrating as B, set_hydrate_node as C, hydration_failed as D, clear_text_content as E, component_root as F, hydrate_node as G, HYDRATION_ERROR as H, create_text as I, array_from as J, is_passive_event as K, LEGACY_PROPS as L, hydrating as M, block as N, branch as O, invoke_error_boundary as P, current_batch as Q, pause_effect as R, move_effect as S, defer_effect as T, set_component_context as U, Batch as V, component_context as W, internal_set as X, destroy_effect as Y, next as Z, skip_nodes as _, setContext as a, render_effect as a0, svelte_boundary_reset_noop as a1, svelte_boundary_reset_onerror as a2, source as a3, untrack as a4, increment as a5, hydrate_next as a6, push$1 as a7, mark_as_component as a8, hydration_mismatch as a9, pop$1 as aa, EFFECT_TRANSPARENT as ab, EFFECT_PRESERVED as ac, render as ad, derived as ae, attr as af, head as ag, html as ah, spread_props as ai, stringify as aj, ensure_array_like as ak, attributes as al, clsx$1 as am, attr_class as an, attr_style as ao, escape_html as ap, element as aq, fallback as ar, to_array as as, bind_props as at, ATTACHMENT_KEY as au, props_id as av, store_get as aw, unsubscribe_stores as ax, snapshot as ay, getAllContexts as b, createContext as c, get_render_context as d, experimental_async_required as e, hydratable_serialization_failed as f, getContext as g, hasContext as h, safe_not_equal as i, define_property as j, set_active_reaction as k, lifecycle_function_unavailable as l, set_active_effect as m, noop as n, active_reaction as o, active_effect as p, queue_micro_task as q, run as r, ssr_context as s, set as t, get as u, flushSync as v, without_reactive_context as w, mutable_source as x, init_operations as y, get_first_child as z };
3938
+ //# sourceMappingURL=server.js-eNE8c09e.js.map