@selvajs/selva 4.7.0-beta.2 → 4.7.0-beta.3

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 (1763) hide show
  1. package/LICENSE +1 -1
  2. package/build/client/_app/immutable/assets/0.CHkzgE-e.css +2 -0
  3. package/build/client/_app/immutable/assets/0.CHkzgE-e.css.br +0 -0
  4. package/build/client/_app/immutable/assets/0.CHkzgE-e.css.gz +0 -0
  5. package/build/client/_app/immutable/assets/20._Lx8kfnW.css +1 -0
  6. package/build/client/_app/immutable/assets/20._Lx8kfnW.css.br +0 -0
  7. package/build/client/_app/immutable/assets/20._Lx8kfnW.css.gz +0 -0
  8. package/build/client/_app/immutable/chunks/0Bff9sTL.js +1 -0
  9. package/build/client/_app/immutable/chunks/0Bff9sTL.js.br +0 -0
  10. package/build/client/_app/immutable/chunks/0Bff9sTL.js.gz +0 -0
  11. package/build/client/_app/immutable/chunks/35-OQSYE2.js +1 -0
  12. package/build/client/_app/immutable/chunks/35-OQSYE2.js.br +0 -0
  13. package/build/client/_app/immutable/chunks/35-OQSYE2.js.gz +0 -0
  14. package/build/client/_app/immutable/chunks/5jv0Mvxq.js +1 -0
  15. package/build/client/_app/immutable/chunks/5jv0Mvxq.js.br +0 -0
  16. package/build/client/_app/immutable/chunks/5jv0Mvxq.js.gz +0 -0
  17. package/build/client/_app/immutable/chunks/98yDWdDP2.js +1 -0
  18. package/build/client/_app/immutable/chunks/98yDWdDP2.js.br +0 -0
  19. package/build/client/_app/immutable/chunks/98yDWdDP2.js.gz +0 -0
  20. package/build/client/_app/immutable/chunks/B3_WmU5u.js +64 -0
  21. package/build/client/_app/immutable/chunks/B3_WmU5u.js.br +0 -0
  22. package/build/client/_app/immutable/chunks/B3_WmU5u.js.gz +0 -0
  23. package/build/client/_app/immutable/chunks/B4n-OjCm.js +1 -0
  24. package/build/client/_app/immutable/chunks/B4n-OjCm.js.br +0 -0
  25. package/build/client/_app/immutable/chunks/B4n-OjCm.js.gz +0 -0
  26. package/build/client/_app/immutable/chunks/B7wd2Kj42.js +1 -0
  27. package/build/client/_app/immutable/chunks/B7wd2Kj42.js.br +0 -0
  28. package/build/client/_app/immutable/chunks/B7wd2Kj42.js.gz +0 -0
  29. package/build/client/_app/immutable/chunks/B8eqaxfc2.js +1 -0
  30. package/build/client/_app/immutable/chunks/B8eqaxfc2.js.br +0 -0
  31. package/build/client/_app/immutable/chunks/B8eqaxfc2.js.gz +0 -0
  32. package/build/client/_app/immutable/chunks/BGDynKNS.js +1 -0
  33. package/build/client/_app/immutable/chunks/BGDynKNS.js.br +0 -0
  34. package/build/client/_app/immutable/chunks/BGDynKNS.js.gz +0 -0
  35. package/build/client/_app/immutable/chunks/BGbIB54K2.js +35 -0
  36. package/build/client/_app/immutable/chunks/BGbIB54K2.js.br +0 -0
  37. package/build/client/_app/immutable/chunks/BGbIB54K2.js.gz +0 -0
  38. package/build/client/_app/immutable/chunks/BGbeR-fH.js +1 -0
  39. package/build/client/_app/immutable/chunks/BGbeR-fH.js.br +0 -0
  40. package/build/client/_app/immutable/chunks/BGbeR-fH.js.gz +0 -0
  41. package/build/client/_app/immutable/chunks/BMx84FKI.js +1 -0
  42. package/build/client/_app/immutable/chunks/BMx84FKI.js.br +0 -0
  43. package/build/client/_app/immutable/chunks/BMx84FKI.js.gz +0 -0
  44. package/build/client/_app/immutable/chunks/BN8xa1dZ2.js +1 -0
  45. package/build/client/_app/immutable/chunks/BN8xa1dZ2.js.br +0 -0
  46. package/build/client/_app/immutable/chunks/BN8xa1dZ2.js.gz +0 -0
  47. package/build/client/_app/immutable/chunks/BX5J3njl.js +1 -0
  48. package/build/client/_app/immutable/chunks/BX5J3njl.js.br +0 -0
  49. package/build/client/_app/immutable/chunks/BX5J3njl.js.gz +0 -0
  50. package/build/client/_app/immutable/chunks/B_9q-Ef12.js +1 -0
  51. package/build/client/_app/immutable/chunks/B_9q-Ef12.js.br +2 -0
  52. package/build/client/_app/immutable/chunks/B_9q-Ef12.js.gz +0 -0
  53. package/build/client/_app/immutable/chunks/BcvLMt3u.js +1 -0
  54. package/build/client/_app/immutable/chunks/BcvLMt3u.js.br +0 -0
  55. package/build/client/_app/immutable/chunks/BcvLMt3u.js.gz +0 -0
  56. package/build/client/_app/immutable/chunks/BfI32HyH.js +1 -0
  57. package/build/client/_app/immutable/chunks/BfI32HyH.js.br +0 -0
  58. package/build/client/_app/immutable/chunks/BfI32HyH.js.gz +0 -0
  59. package/build/client/_app/immutable/chunks/Biu_T4Iy.js +1 -0
  60. package/build/client/_app/immutable/chunks/Biu_T4Iy.js.br +1 -0
  61. package/build/client/_app/immutable/chunks/Biu_T4Iy.js.gz +0 -0
  62. package/build/client/_app/immutable/chunks/BjWOHXTN.js +1 -0
  63. package/build/client/_app/immutable/chunks/BjWOHXTN.js.br +0 -0
  64. package/build/client/_app/immutable/chunks/BjWOHXTN.js.gz +0 -0
  65. package/build/client/_app/immutable/chunks/Bjy-W4x22.js +81 -0
  66. package/build/client/_app/immutable/chunks/Bjy-W4x22.js.br +0 -0
  67. package/build/client/_app/immutable/chunks/Bjy-W4x22.js.gz +0 -0
  68. package/build/client/_app/immutable/chunks/BtkBkYMP.js +1 -0
  69. package/build/client/_app/immutable/chunks/BtkBkYMP.js.br +0 -0
  70. package/build/client/_app/immutable/chunks/BtkBkYMP.js.gz +0 -0
  71. package/build/client/_app/immutable/chunks/BvRk9kiK2.js +0 -0
  72. package/build/client/_app/immutable/chunks/BvRk9kiK2.js.br +1 -0
  73. package/build/client/_app/immutable/chunks/BvRk9kiK2.js.gz +0 -0
  74. package/build/client/_app/immutable/chunks/BzJx6omo.js +1 -0
  75. package/build/client/_app/immutable/chunks/BzJx6omo.js.br +0 -0
  76. package/build/client/_app/immutable/chunks/BzJx6omo.js.gz +0 -0
  77. package/build/client/_app/immutable/chunks/C0dvFiQZ2.js +1 -0
  78. package/build/client/_app/immutable/chunks/C0dvFiQZ2.js.br +0 -0
  79. package/build/client/_app/immutable/chunks/C0dvFiQZ2.js.gz +0 -0
  80. package/build/client/_app/immutable/chunks/CACZJiWS.js +1 -0
  81. package/build/client/_app/immutable/chunks/CACZJiWS.js.br +0 -0
  82. package/build/client/_app/immutable/chunks/CACZJiWS.js.gz +0 -0
  83. package/build/client/_app/immutable/chunks/CAToUyMt.js +1 -0
  84. package/build/client/_app/immutable/chunks/CAToUyMt.js.br +2 -0
  85. package/build/client/_app/immutable/chunks/CAToUyMt.js.gz +0 -0
  86. package/build/client/_app/immutable/chunks/CFBprvLO.js +1 -0
  87. package/build/client/_app/immutable/chunks/CFBprvLO.js.br +0 -0
  88. package/build/client/_app/immutable/chunks/CFBprvLO.js.gz +0 -0
  89. package/build/client/_app/immutable/chunks/CFFv3oN9.js +1 -0
  90. package/build/client/_app/immutable/chunks/CFFv3oN9.js.br +0 -0
  91. package/build/client/_app/immutable/chunks/CFFv3oN9.js.gz +0 -0
  92. package/build/client/_app/immutable/chunks/CGtjofto.js +1 -0
  93. package/build/client/_app/immutable/chunks/CGtjofto.js.br +2 -0
  94. package/build/client/_app/immutable/chunks/CGtjofto.js.gz +0 -0
  95. package/build/client/_app/immutable/chunks/CL3s_3g5.js +3 -0
  96. package/build/client/_app/immutable/chunks/CL3s_3g5.js.br +0 -0
  97. package/build/client/_app/immutable/chunks/CL3s_3g5.js.gz +0 -0
  98. package/build/client/_app/immutable/chunks/CMZsPk6c.js +1 -0
  99. package/build/client/_app/immutable/chunks/CMZsPk6c.js.br +0 -0
  100. package/build/client/_app/immutable/chunks/CMZsPk6c.js.gz +0 -0
  101. package/build/client/_app/immutable/chunks/CNLFdBld.js +1 -0
  102. package/build/client/_app/immutable/chunks/CNLFdBld.js.br +0 -0
  103. package/build/client/_app/immutable/chunks/CNLFdBld.js.gz +0 -0
  104. package/build/client/_app/immutable/chunks/CP-uwdvv.js +2 -0
  105. package/build/client/_app/immutable/chunks/CP-uwdvv.js.br +0 -0
  106. package/build/client/_app/immutable/chunks/CP-uwdvv.js.gz +0 -0
  107. package/build/client/_app/immutable/chunks/CT5oxrR3.js +1 -0
  108. package/build/client/_app/immutable/chunks/CT5oxrR3.js.br +0 -0
  109. package/build/client/_app/immutable/chunks/CT5oxrR3.js.gz +0 -0
  110. package/build/client/_app/immutable/chunks/CWIBiefo.js +1 -0
  111. package/build/client/_app/immutable/chunks/CWIBiefo.js.br +1 -0
  112. package/build/client/_app/immutable/chunks/CWIBiefo.js.gz +0 -0
  113. package/build/client/_app/immutable/chunks/CYR7f9ts.js +5404 -0
  114. package/build/client/_app/immutable/chunks/CYR7f9ts.js.br +0 -0
  115. package/build/client/_app/immutable/chunks/CYR7f9ts.js.gz +0 -0
  116. package/build/client/_app/immutable/chunks/Ca2rRgYg.js +1 -0
  117. package/build/client/_app/immutable/chunks/Ca2rRgYg.js.br +0 -0
  118. package/build/client/_app/immutable/chunks/Ca2rRgYg.js.gz +0 -0
  119. package/build/client/_app/immutable/chunks/CaGxax7M.js +1 -0
  120. package/build/client/_app/immutable/chunks/CaGxax7M.js.br +2 -0
  121. package/build/client/_app/immutable/chunks/CaGxax7M.js.gz +0 -0
  122. package/build/client/_app/immutable/chunks/CadtTpP_.js +1 -0
  123. package/build/client/_app/immutable/chunks/CadtTpP_.js.br +0 -0
  124. package/build/client/_app/immutable/chunks/CadtTpP_.js.gz +0 -0
  125. package/build/client/_app/immutable/chunks/CdwjLyny.js +1 -0
  126. package/build/client/_app/immutable/chunks/CdwjLyny.js.br +0 -0
  127. package/build/client/_app/immutable/chunks/CdwjLyny.js.gz +0 -0
  128. package/build/client/_app/immutable/chunks/Ciz-tExL2.js +1 -0
  129. package/build/client/_app/immutable/chunks/Ciz-tExL2.js.br +0 -0
  130. package/build/client/_app/immutable/chunks/Ciz-tExL2.js.gz +0 -0
  131. package/build/client/_app/immutable/chunks/Cn-AOzef.js +1 -0
  132. package/build/client/_app/immutable/chunks/Cn-AOzef.js.br +0 -0
  133. package/build/client/_app/immutable/chunks/Cn-AOzef.js.gz +0 -0
  134. package/build/client/_app/immutable/chunks/CqixH_hy.js +1 -0
  135. package/build/client/_app/immutable/chunks/CqixH_hy.js.br +0 -0
  136. package/build/client/_app/immutable/chunks/CqixH_hy.js.gz +0 -0
  137. package/build/client/_app/immutable/chunks/Cums1AjR.js +1 -0
  138. package/build/client/_app/immutable/chunks/Cums1AjR.js.br +0 -0
  139. package/build/client/_app/immutable/chunks/Cums1AjR.js.gz +0 -0
  140. package/build/client/_app/immutable/chunks/Cv5WJ8WQ.js +1 -0
  141. package/build/client/_app/immutable/chunks/Cv5WJ8WQ.js.br +0 -0
  142. package/build/client/_app/immutable/chunks/Cv5WJ8WQ.js.gz +0 -0
  143. package/build/client/_app/immutable/chunks/D3VSOnNo.js +1 -0
  144. package/build/client/_app/immutable/chunks/D3VSOnNo.js.br +0 -0
  145. package/build/client/_app/immutable/chunks/D3VSOnNo.js.gz +0 -0
  146. package/build/client/_app/immutable/chunks/D4YBJLId.js +1 -0
  147. package/build/client/_app/immutable/chunks/D4YBJLId.js.br +0 -0
  148. package/build/client/_app/immutable/chunks/D4YBJLId.js.gz +0 -0
  149. package/build/client/_app/immutable/chunks/D4wDk12M2.js +1 -0
  150. package/build/client/_app/immutable/chunks/D4wDk12M2.js.br +0 -0
  151. package/build/client/_app/immutable/chunks/D4wDk12M2.js.gz +0 -0
  152. package/build/client/_app/immutable/chunks/DAZNh3B6.js +1 -0
  153. package/build/client/_app/immutable/chunks/DAZNh3B6.js.br +0 -0
  154. package/build/client/_app/immutable/chunks/DAZNh3B6.js.gz +0 -0
  155. package/build/client/_app/immutable/chunks/DG2wOVmu.js +1 -0
  156. package/build/client/_app/immutable/chunks/DG2wOVmu.js.br +0 -0
  157. package/build/client/_app/immutable/chunks/DG2wOVmu.js.gz +0 -0
  158. package/build/client/_app/immutable/chunks/DNL96-hz.js +1 -0
  159. package/build/client/_app/immutable/chunks/DNL96-hz.js.br +0 -0
  160. package/build/client/_app/immutable/chunks/DNL96-hz.js.gz +0 -0
  161. package/build/client/_app/immutable/chunks/DNVbFK9q.js +1 -0
  162. package/build/client/_app/immutable/chunks/DNVbFK9q.js.br +0 -0
  163. package/build/client/_app/immutable/chunks/DNVbFK9q.js.gz +0 -0
  164. package/build/client/_app/immutable/chunks/DOfEstn5.js +1 -0
  165. package/build/client/_app/immutable/chunks/DOfEstn5.js.br +0 -0
  166. package/build/client/_app/immutable/chunks/DOfEstn5.js.gz +0 -0
  167. package/build/client/_app/immutable/chunks/DW4WVvYR2.js +1 -0
  168. package/build/client/_app/immutable/chunks/DW4WVvYR2.js.br +0 -0
  169. package/build/client/_app/immutable/chunks/DW4WVvYR2.js.gz +0 -0
  170. package/build/client/_app/immutable/chunks/DWPCC0_6.js +1 -0
  171. package/build/client/_app/immutable/chunks/DWPCC0_6.js.br +0 -0
  172. package/build/client/_app/immutable/chunks/DWPCC0_6.js.gz +0 -0
  173. package/build/client/_app/immutable/chunks/DXS9GeHI.js +2 -0
  174. package/build/client/_app/immutable/chunks/DXS9GeHI.js.br +0 -0
  175. package/build/client/_app/immutable/chunks/DXS9GeHI.js.gz +0 -0
  176. package/build/client/_app/immutable/chunks/DZABOdll2.js +1 -0
  177. package/build/client/_app/immutable/chunks/DZABOdll2.js.br +0 -0
  178. package/build/client/_app/immutable/chunks/DZABOdll2.js.gz +0 -0
  179. package/build/client/_app/immutable/chunks/DZfZ3649.js +1 -0
  180. package/build/client/_app/immutable/chunks/DZfZ3649.js.br +0 -0
  181. package/build/client/_app/immutable/chunks/DZfZ3649.js.gz +0 -0
  182. package/build/client/_app/immutable/chunks/DbfF2wEw.js +1 -0
  183. package/build/client/_app/immutable/chunks/DbfF2wEw.js.br +0 -0
  184. package/build/client/_app/immutable/chunks/DbfF2wEw.js.gz +0 -0
  185. package/build/client/_app/immutable/chunks/DdLtOT1b.js +1 -0
  186. package/build/client/_app/immutable/chunks/DdLtOT1b.js.br +0 -0
  187. package/build/client/_app/immutable/chunks/DdLtOT1b.js.gz +0 -0
  188. package/build/client/_app/immutable/chunks/DjxaiTC2.js +1 -0
  189. package/build/client/_app/immutable/chunks/DjxaiTC2.js.br +0 -0
  190. package/build/client/_app/immutable/chunks/DjxaiTC2.js.gz +0 -0
  191. package/build/client/_app/immutable/chunks/Dn9CnbHs.js +2 -0
  192. package/build/client/_app/immutable/chunks/Dn9CnbHs.js.br +0 -0
  193. package/build/client/_app/immutable/chunks/Dn9CnbHs.js.gz +0 -0
  194. package/build/client/_app/immutable/chunks/DoI8t0cF.js +1 -0
  195. package/build/client/_app/immutable/chunks/DoI8t0cF.js.br +0 -0
  196. package/build/client/_app/immutable/chunks/DoI8t0cF.js.gz +0 -0
  197. package/build/client/_app/immutable/chunks/DqR8kuM62.js +1 -0
  198. package/build/client/_app/immutable/chunks/DqR8kuM62.js.br +0 -0
  199. package/build/client/_app/immutable/chunks/DqR8kuM62.js.gz +0 -0
  200. package/build/client/_app/immutable/chunks/Dt77lQ3V2.js +1 -0
  201. package/build/client/_app/immutable/chunks/Dt77lQ3V2.js.br +0 -0
  202. package/build/client/_app/immutable/chunks/Dt77lQ3V2.js.gz +0 -0
  203. package/build/client/_app/immutable/chunks/DvbQzS922.js +1 -0
  204. package/build/client/_app/immutable/chunks/DvbQzS922.js.br +0 -0
  205. package/build/client/_app/immutable/chunks/DvbQzS922.js.gz +0 -0
  206. package/build/client/_app/immutable/chunks/HclGiUj8.js +1 -0
  207. package/build/client/_app/immutable/chunks/HclGiUj8.js.br +0 -0
  208. package/build/client/_app/immutable/chunks/HclGiUj8.js.gz +0 -0
  209. package/build/client/_app/immutable/chunks/N19EYJwE.js +1 -0
  210. package/build/client/_app/immutable/chunks/N19EYJwE.js.br +0 -0
  211. package/build/client/_app/immutable/chunks/N19EYJwE.js.gz +0 -0
  212. package/build/client/_app/immutable/chunks/Ot8VM1_P.js +1 -0
  213. package/build/client/_app/immutable/chunks/Ot8VM1_P.js.br +0 -0
  214. package/build/client/_app/immutable/chunks/Ot8VM1_P.js.gz +0 -0
  215. package/build/client/_app/immutable/chunks/Q4vGvM2S.js +1 -0
  216. package/build/client/_app/immutable/chunks/Q4vGvM2S.js.br +1 -0
  217. package/build/client/_app/immutable/chunks/Q4vGvM2S.js.gz +0 -0
  218. package/build/client/_app/immutable/chunks/QTnfLwEv.js +1 -0
  219. package/build/client/_app/immutable/chunks/QTnfLwEv.js.br +0 -0
  220. package/build/client/_app/immutable/chunks/QTnfLwEv.js.gz +0 -0
  221. package/build/client/_app/immutable/chunks/UeEPBo0V.js +1 -0
  222. package/build/client/_app/immutable/chunks/UeEPBo0V.js.br +0 -0
  223. package/build/client/_app/immutable/chunks/UeEPBo0V.js.gz +0 -0
  224. package/build/client/_app/immutable/chunks/XAfNJj4O.js +1 -0
  225. package/build/client/_app/immutable/chunks/XAfNJj4O.js.br +0 -0
  226. package/build/client/_app/immutable/chunks/XAfNJj4O.js.gz +0 -0
  227. package/build/client/_app/immutable/chunks/hfCvJzwQ.js +5 -0
  228. package/build/client/_app/immutable/chunks/hfCvJzwQ.js.br +0 -0
  229. package/build/client/_app/immutable/chunks/hfCvJzwQ.js.gz +0 -0
  230. package/build/client/_app/immutable/chunks/iO9OM2Vo.js +1 -0
  231. package/build/client/_app/immutable/chunks/iO9OM2Vo.js.br +0 -0
  232. package/build/client/_app/immutable/chunks/iO9OM2Vo.js.gz +0 -0
  233. package/build/client/_app/immutable/chunks/iVsN6nmV2.js +1 -0
  234. package/build/client/_app/immutable/chunks/iVsN6nmV2.js.br +3 -0
  235. package/build/client/_app/immutable/chunks/iVsN6nmV2.js.gz +0 -0
  236. package/build/client/_app/immutable/chunks/laOiH5FT.js +9 -0
  237. package/build/client/_app/immutable/chunks/laOiH5FT.js.br +0 -0
  238. package/build/client/_app/immutable/chunks/laOiH5FT.js.gz +0 -0
  239. package/build/client/_app/immutable/chunks/mHHlwTIC.js +1 -0
  240. package/build/client/_app/immutable/chunks/mHHlwTIC.js.br +0 -0
  241. package/build/client/_app/immutable/chunks/mHHlwTIC.js.gz +0 -0
  242. package/build/client/_app/immutable/chunks/oI3J06TA.js +1 -0
  243. package/build/client/_app/immutable/chunks/oI3J06TA.js.br +1 -0
  244. package/build/client/_app/immutable/chunks/oI3J06TA.js.gz +0 -0
  245. package/build/client/_app/immutable/chunks/p42Je1322.js +1 -0
  246. package/build/client/_app/immutable/chunks/p42Je1322.js.br +0 -0
  247. package/build/client/_app/immutable/chunks/p42Je1322.js.gz +0 -0
  248. package/build/client/_app/immutable/chunks/xihTtKlq.js +1 -0
  249. package/build/client/_app/immutable/chunks/xihTtKlq.js.br +1 -0
  250. package/build/client/_app/immutable/chunks/xihTtKlq.js.gz +0 -0
  251. package/build/client/_app/immutable/chunks/xnWCJBmG.js +1 -0
  252. package/build/client/_app/immutable/chunks/xnWCJBmG.js.br +1 -0
  253. package/build/client/_app/immutable/chunks/xnWCJBmG.js.gz +0 -0
  254. package/build/client/_app/immutable/chunks/zm1p3CI2.js +1 -0
  255. package/build/client/_app/immutable/chunks/zm1p3CI2.js.br +0 -0
  256. package/build/client/_app/immutable/chunks/zm1p3CI2.js.gz +0 -0
  257. package/build/client/_app/immutable/entry/app.nA6FWjJw.js +2 -0
  258. package/build/client/_app/immutable/entry/app.nA6FWjJw.js.br +0 -0
  259. package/build/client/_app/immutable/entry/app.nA6FWjJw.js.gz +0 -0
  260. package/build/client/_app/immutable/entry/start.B5X4Akfe.js +1 -0
  261. package/build/client/_app/immutable/entry/start.B5X4Akfe.js.br +0 -0
  262. package/build/client/_app/immutable/entry/start.B5X4Akfe.js.gz +0 -0
  263. package/build/client/_app/immutable/nodes/0.D7urdCm3.js +1 -0
  264. package/build/client/_app/immutable/nodes/0.D7urdCm3.js.br +0 -0
  265. package/build/client/_app/immutable/nodes/0.D7urdCm3.js.gz +0 -0
  266. package/build/client/_app/immutable/nodes/1.Be6vSNB-.js +1 -0
  267. package/build/client/_app/immutable/nodes/1.Be6vSNB-.js.br +0 -0
  268. package/build/client/_app/immutable/nodes/1.Be6vSNB-.js.gz +0 -0
  269. package/build/client/_app/immutable/nodes/10.BtVz3VRC.js +3 -0
  270. package/build/client/_app/immutable/nodes/10.BtVz3VRC.js.br +0 -0
  271. package/build/client/_app/immutable/nodes/10.BtVz3VRC.js.gz +0 -0
  272. package/build/client/_app/immutable/nodes/11.C0Q9fRO2.js +2 -0
  273. package/build/client/_app/immutable/nodes/11.C0Q9fRO2.js.br +0 -0
  274. package/build/client/_app/immutable/nodes/11.C0Q9fRO2.js.gz +0 -0
  275. package/build/client/_app/immutable/nodes/12.oeQtPVlU.js +1 -0
  276. package/build/client/_app/immutable/nodes/12.oeQtPVlU.js.br +0 -0
  277. package/build/client/_app/immutable/nodes/12.oeQtPVlU.js.gz +0 -0
  278. package/build/client/_app/immutable/nodes/13.CedLh4LC.js +2 -0
  279. package/build/client/_app/immutable/nodes/13.CedLh4LC.js.br +0 -0
  280. package/build/client/_app/immutable/nodes/13.CedLh4LC.js.gz +0 -0
  281. package/build/client/_app/immutable/nodes/14.kH0zVFuq.js +2 -0
  282. package/build/client/_app/immutable/nodes/14.kH0zVFuq.js.br +0 -0
  283. package/build/client/_app/immutable/nodes/14.kH0zVFuq.js.gz +0 -0
  284. package/build/client/_app/immutable/nodes/15.CrGWXR_b.js +21 -0
  285. package/build/client/_app/immutable/nodes/15.CrGWXR_b.js.br +0 -0
  286. package/build/client/_app/immutable/nodes/15.CrGWXR_b.js.gz +0 -0
  287. package/build/client/_app/immutable/nodes/16.BpzwC_7R.js +6 -0
  288. package/build/client/_app/immutable/nodes/16.BpzwC_7R.js.br +0 -0
  289. package/build/client/_app/immutable/nodes/16.BpzwC_7R.js.gz +0 -0
  290. package/build/client/_app/immutable/nodes/17.BAd6cLcK.js +2 -0
  291. package/build/client/_app/immutable/nodes/17.BAd6cLcK.js.br +0 -0
  292. package/build/client/_app/immutable/nodes/17.BAd6cLcK.js.gz +0 -0
  293. package/build/client/_app/immutable/nodes/18.Df6brJKh.js +1 -0
  294. package/build/client/_app/immutable/nodes/18.Df6brJKh.js.br +0 -0
  295. package/build/client/_app/immutable/nodes/18.Df6brJKh.js.gz +0 -0
  296. package/build/client/_app/immutable/nodes/19.C2M0Gsw8.js +2 -0
  297. package/build/client/_app/immutable/nodes/19.C2M0Gsw8.js.br +0 -0
  298. package/build/client/_app/immutable/nodes/19.C2M0Gsw8.js.gz +0 -0
  299. package/build/client/_app/immutable/nodes/2.DCOz2pgm.js +1 -0
  300. package/build/client/_app/immutable/nodes/2.DCOz2pgm.js.br +0 -0
  301. package/build/client/_app/immutable/nodes/2.DCOz2pgm.js.gz +0 -0
  302. package/build/client/_app/immutable/nodes/20.BBFt5t9T.js +12 -0
  303. package/build/client/_app/immutable/nodes/20.BBFt5t9T.js.br +0 -0
  304. package/build/client/_app/immutable/nodes/20.BBFt5t9T.js.gz +0 -0
  305. package/build/client/_app/immutable/nodes/21.BYQk6N76.js +6 -0
  306. package/build/client/_app/immutable/nodes/21.BYQk6N76.js.br +0 -0
  307. package/build/client/_app/immutable/nodes/21.BYQk6N76.js.gz +0 -0
  308. package/build/client/_app/immutable/nodes/23.awLvoHTA.js +16 -0
  309. package/build/client/_app/immutable/nodes/23.awLvoHTA.js.br +0 -0
  310. package/build/client/_app/immutable/nodes/23.awLvoHTA.js.gz +0 -0
  311. package/build/client/_app/immutable/nodes/24.C4Mj39LU.js +6 -0
  312. package/build/client/_app/immutable/nodes/24.C4Mj39LU.js.br +0 -0
  313. package/build/client/_app/immutable/nodes/24.C4Mj39LU.js.gz +0 -0
  314. package/build/client/_app/immutable/nodes/25.CweTxf-0.js +1 -0
  315. package/build/client/_app/immutable/nodes/25.CweTxf-0.js.br +0 -0
  316. package/build/client/_app/immutable/nodes/25.CweTxf-0.js.gz +0 -0
  317. package/build/client/_app/immutable/nodes/26.BoPjubts.js +3 -0
  318. package/build/client/_app/immutable/nodes/26.BoPjubts.js.br +0 -0
  319. package/build/client/_app/immutable/nodes/26.BoPjubts.js.gz +0 -0
  320. package/build/client/_app/immutable/nodes/27.wW5vDHDP.js +4 -0
  321. package/build/client/_app/immutable/nodes/27.wW5vDHDP.js.br +0 -0
  322. package/build/client/_app/immutable/nodes/27.wW5vDHDP.js.gz +0 -0
  323. package/build/client/_app/immutable/nodes/28.B5qVpudr.js +4 -0
  324. package/build/client/_app/immutable/nodes/28.B5qVpudr.js.br +0 -0
  325. package/build/client/_app/immutable/nodes/28.B5qVpudr.js.gz +0 -0
  326. package/build/client/_app/immutable/nodes/29.Cd65rWw6.js +2 -0
  327. package/build/client/_app/immutable/nodes/29.Cd65rWw6.js.br +0 -0
  328. package/build/client/_app/immutable/nodes/29.Cd65rWw6.js.gz +0 -0
  329. package/build/client/_app/immutable/nodes/3.BtG32r4S.js +1 -0
  330. package/build/client/_app/immutable/nodes/3.BtG32r4S.js.br +0 -0
  331. package/build/client/_app/immutable/nodes/3.BtG32r4S.js.gz +0 -0
  332. package/build/client/_app/immutable/nodes/30.DSQJo5j4.js +2 -0
  333. package/build/client/_app/immutable/nodes/30.DSQJo5j4.js.br +0 -0
  334. package/build/client/_app/immutable/nodes/30.DSQJo5j4.js.gz +0 -0
  335. package/build/client/_app/immutable/nodes/31.V7XQDJEJ.js +2 -0
  336. package/build/client/_app/immutable/nodes/31.V7XQDJEJ.js.br +0 -0
  337. package/build/client/_app/immutable/nodes/31.V7XQDJEJ.js.gz +0 -0
  338. package/build/client/_app/immutable/nodes/32.Opc9fkyM.js +3 -0
  339. package/build/client/_app/immutable/nodes/32.Opc9fkyM.js.br +0 -0
  340. package/build/client/_app/immutable/nodes/32.Opc9fkyM.js.gz +0 -0
  341. package/build/client/_app/immutable/nodes/4.CT-8QP_q.js +1 -0
  342. package/build/client/_app/immutable/nodes/4.CT-8QP_q.js.br +0 -0
  343. package/build/client/_app/immutable/nodes/4.CT-8QP_q.js.gz +0 -0
  344. package/build/client/_app/immutable/nodes/5.CFazNCMc.js +1 -0
  345. package/build/client/_app/immutable/nodes/5.CFazNCMc.js.br +2 -0
  346. package/build/client/_app/immutable/nodes/5.CFazNCMc.js.gz +0 -0
  347. package/build/client/_app/immutable/nodes/6.Ds4bdzGT.js +1 -0
  348. package/build/client/_app/immutable/nodes/6.Ds4bdzGT.js.br +0 -0
  349. package/build/client/_app/immutable/nodes/6.Ds4bdzGT.js.gz +0 -0
  350. package/build/client/_app/immutable/nodes/7.DobLGX2q.js +1 -0
  351. package/build/client/_app/immutable/nodes/7.DobLGX2q.js.br +0 -0
  352. package/build/client/_app/immutable/nodes/7.DobLGX2q.js.gz +0 -0
  353. package/build/client/_app/immutable/nodes/8.ymwDCA4x.js +2 -0
  354. package/build/client/_app/immutable/nodes/8.ymwDCA4x.js.br +0 -0
  355. package/build/client/_app/immutable/nodes/8.ymwDCA4x.js.gz +0 -0
  356. package/build/client/_app/immutable/nodes/9.DjD6fOLl.js +1 -0
  357. package/build/client/_app/immutable/nodes/9.DjD6fOLl.js.br +0 -0
  358. package/build/client/_app/immutable/nodes/9.DjD6fOLl.js.gz +0 -0
  359. package/build/client/_app/version.json +1 -1
  360. package/build/client/_app/version.json.br +0 -0
  361. package/build/client/_app/version.json.gz +0 -0
  362. package/build/handler.js +16 -16
  363. package/build/index.js +16 -16
  364. package/build/server/chunks/chunks/AppHeader.js-BfbJ9Wvh.js +281 -0
  365. package/build/server/chunks/chunks/AppHeader.js-BfbJ9Wvh.js.map +1 -0
  366. package/build/server/chunks/chunks/DataTable.js-C8XFHOhw.js +27 -0
  367. package/build/server/chunks/chunks/DataTable.js-C8XFHOhw.js.map +1 -0
  368. package/build/server/chunks/chunks/DefinitionCard.js-D-G6VPlf.js +269 -0
  369. package/build/server/chunks/chunks/DefinitionCard.js-D-G6VPlf.js.map +1 -0
  370. package/build/server/chunks/chunks/EmptyState.js-CZaUQBys.js +40 -0
  371. package/build/server/chunks/chunks/EmptyState.js-CZaUQBys.js.map +1 -0
  372. package/build/server/chunks/chunks/ErrorScreen.js-D6_joiwG.js +123 -0
  373. package/build/server/chunks/chunks/ErrorScreen.js-D6_joiwG.js.map +1 -0
  374. package/build/server/chunks/chunks/FilterableDropdown.js-CINR6Q-7.js +45 -0
  375. package/build/server/chunks/chunks/FilterableDropdown.js-CINR6Q-7.js.map +1 -0
  376. package/build/server/chunks/chunks/SectionHeader.js-CdEAD7fC.js +27 -0
  377. package/build/server/chunks/chunks/SectionHeader.js-CdEAD7fC.js.map +1 -0
  378. package/build/server/chunks/chunks/SideNav.js-CioG2cH9.js +67 -0
  379. package/build/server/chunks/chunks/SideNav.js-CioG2cH9.js.map +1 -0
  380. package/build/server/chunks/chunks/StatCard.js-DSjWOp0N.js +51 -0
  381. package/build/server/chunks/chunks/StatCard.js-DSjWOp0N.js.map +1 -0
  382. package/build/server/chunks/chunks/UserAvatar.js-DPtxiYiY.js +14 -0
  383. package/build/server/chunks/chunks/UserAvatar.js-DPtxiYiY.js.map +1 -0
  384. package/build/server/chunks/chunks/UserChip.js-2mLw8DG-.js +1163 -0
  385. package/build/server/chunks/chunks/UserChip.js-2mLw8DG-.js.map +1 -0
  386. package/build/server/chunks/chunks/access.server.js-B3kl0hR3.js +453 -0
  387. package/build/server/chunks/chunks/access.server.js-B3kl0hR3.js.map +1 -0
  388. package/build/server/chunks/chunks/access2.server.js-LY0ApC3v.js +20 -0
  389. package/build/server/chunks/chunks/access2.server.js-LY0ApC3v.js.map +1 -0
  390. package/build/server/chunks/chunks/activity.js-C3XkgSVI.js +15 -0
  391. package/build/server/chunks/chunks/activity.js-C3XkgSVI.js.map +1 -0
  392. package/build/server/chunks/chunks/admin-auth.server.js-CpJLI73r.js +180 -0
  393. package/build/server/chunks/chunks/admin-auth.server.js-CpJLI73r.js.map +1 -0
  394. package/build/server/chunks/chunks/admin-config.js-0akIzvfH.js +3 -0
  395. package/build/server/chunks/chunks/admin-config.js-0akIzvfH.js.map +1 -0
  396. package/build/server/chunks/chunks/alert-description.js-D4tOQ5vz.js +45 -0
  397. package/build/server/chunks/chunks/alert-description.js-D4tOQ5vz.js.map +1 -0
  398. package/build/server/chunks/chunks/alert-dialog.js-CKpDbs6k.js +462 -0
  399. package/build/server/chunks/chunks/alert-dialog.js-CKpDbs6k.js.map +1 -0
  400. package/build/server/chunks/chunks/api-errors.js-DNy3MKq4.js +141 -0
  401. package/build/server/chunks/chunks/api-errors.js-DNy3MKq4.js.map +1 -0
  402. package/build/server/chunks/chunks/arrow-left.js-C2QFaAHc.js +15 -0
  403. package/build/server/chunks/chunks/arrow-left.js-C2QFaAHc.js.map +1 -0
  404. package/build/server/chunks/chunks/arrow-right.js-Dh0wa7gQ.js +15 -0
  405. package/build/server/chunks/chunks/arrow-right.js-Dh0wa7gQ.js.map +1 -0
  406. package/build/server/chunks/chunks/auth-bootstrap.server.js-BkR4caMr.js +163 -0
  407. package/build/server/chunks/chunks/auth-bootstrap.server.js-BkR4caMr.js.map +1 -0
  408. package/build/server/chunks/chunks/auth.server.js-DTYiQolp.js +2 -0
  409. package/build/server/chunks/chunks/auth.server.js-DTYiQolp.js.map +1 -0
  410. package/build/server/chunks/chunks/badge.js-BgT21Rqm.js +35 -0
  411. package/build/server/chunks/chunks/badge.js-BgT21Rqm.js.map +1 -0
  412. package/build/server/chunks/chunks/bootHealth.server.js-BGelIgfM.js +91 -0
  413. package/build/server/chunks/chunks/bootHealth.server.js-BGelIgfM.js.map +1 -0
  414. package/build/server/chunks/chunks/building-2.js-BGDMSkv0.js +21 -0
  415. package/build/server/chunks/chunks/building-2.js-BGDMSkv0.js.map +1 -0
  416. package/build/server/chunks/chunks/button.js-CSa540TU.js +71 -0
  417. package/build/server/chunks/chunks/button.js-CSa540TU.js.map +1 -0
  418. package/build/server/chunks/chunks/card-content.js-CpPab2dD.js +35 -0
  419. package/build/server/chunks/chunks/card-content.js-CpPab2dD.js.map +1 -0
  420. package/build/server/chunks/chunks/card-description.js-CAzX-Bmj.js +20 -0
  421. package/build/server/chunks/chunks/card-description.js-CAzX-Bmj.js.map +1 -0
  422. package/build/server/chunks/chunks/card-title.js-D0xSlVxE.js +35 -0
  423. package/build/server/chunks/chunks/card-title.js-D0xSlVxE.js.map +1 -0
  424. package/build/server/chunks/chunks/check.js-D2IvLKsp.js +15 -0
  425. package/build/server/chunks/chunks/check.js-D2IvLKsp.js.map +1 -0
  426. package/build/server/chunks/chunks/chevron-down.js-DyOZz7Ss.js +15 -0
  427. package/build/server/chunks/chunks/chevron-down.js-DyOZz7Ss.js.map +1 -0
  428. package/build/server/chunks/chunks/chevron-right.js-BOiCGG6Q.js +15 -0
  429. package/build/server/chunks/chunks/chevron-right.js-BOiCGG6Q.js.map +1 -0
  430. package/build/server/chunks/chunks/chevron-up.js-piTGx14N.js +15 -0
  431. package/build/server/chunks/chunks/chevron-up.js-piTGx14N.js.map +1 -0
  432. package/build/server/chunks/chunks/chunk-3SEQKFGD.js-hLBC6n0U.js +1502 -0
  433. package/build/server/chunks/chunks/chunk-3SEQKFGD.js-hLBC6n0U.js.map +1 -0
  434. package/build/server/chunks/chunks/chunk-INP5HVA2.js-ncp7W0Gu.js +2194 -0
  435. package/build/server/chunks/chunks/chunk-INP5HVA2.js-ncp7W0Gu.js.map +1 -0
  436. package/build/server/chunks/chunks/chunk-Y3M7P3BW.js-qwxSY5dh.js +982 -0
  437. package/build/server/chunks/chunks/chunk-Y3M7P3BW.js-qwxSY5dh.js.map +1 -0
  438. package/build/server/chunks/chunks/circle-alert.js-DR1k98Iv.js +33 -0
  439. package/build/server/chunks/chunks/circle-alert.js-DR1k98Iv.js.map +1 -0
  440. package/build/server/chunks/chunks/circle.js-589H17A3.js +19 -0
  441. package/build/server/chunks/chunks/circle.js-589H17A3.js.map +1 -0
  442. package/build/server/chunks/chunks/client.js-0QVINoWt.js +58 -0
  443. package/build/server/chunks/chunks/client.js-0QVINoWt.js.map +1 -0
  444. package/build/server/chunks/chunks/clientCache.server.js-DnMvUcHP.js +195 -0
  445. package/build/server/chunks/chunks/clientCache.server.js-DnMvUcHP.js.map +1 -0
  446. package/build/server/chunks/chunks/compute.js-C2CcEWW8.js +747 -0
  447. package/build/server/chunks/chunks/compute.js-C2CcEWW8.js.map +1 -0
  448. package/build/server/chunks/chunks/computeLimits.js-vDIRMhzi.js +48 -0
  449. package/build/server/chunks/chunks/computeLimits.js-vDIRMhzi.js.map +1 -0
  450. package/build/server/chunks/chunks/copy.js-CxNKrf7G.js +22 -0
  451. package/build/server/chunks/chunks/copy.js-CxNKrf7G.js.map +1 -0
  452. package/build/server/chunks/chunks/create-id.js-D3vyU7tu.js +809 -0
  453. package/build/server/chunks/chunks/create-id.js-D3vyU7tu.js.map +1 -0
  454. package/build/server/chunks/chunks/definitions.js-DUsDdV2-.js +2 -0
  455. package/build/server/chunks/chunks/definitions.js-DUsDdV2-.js.map +1 -0
  456. package/build/server/chunks/chunks/dialog-description.js-DcJpVhhU.js +495 -0
  457. package/build/server/chunks/chunks/dialog-description.js-DcJpVhhU.js.map +1 -0
  458. package/build/server/chunks/chunks/dialog-footer.js-gG-FswWQ.js +59 -0
  459. package/build/server/chunks/chunks/dialog-footer.js-gG-FswWQ.js.map +1 -0
  460. package/build/server/chunks/chunks/dialog.js-DkGWEulu.js +367 -0
  461. package/build/server/chunks/chunks/dialog.js-DkGWEulu.js.map +1 -0
  462. package/build/server/chunks/chunks/env.js-l0sNRNKZ.js +2 -0
  463. package/build/server/chunks/chunks/env.js-l0sNRNKZ.js.map +1 -0
  464. package/build/server/chunks/chunks/esm.js-5PXzLulY.js +7 -0
  465. package/build/server/chunks/chunks/esm.js-5PXzLulY.js.map +1 -0
  466. package/build/server/chunks/chunks/esm2.js-C_Dsvb5P.js +986 -0
  467. package/build/server/chunks/chunks/esm2.js-C_Dsvb5P.js.map +1 -0
  468. package/build/server/chunks/chunks/events.js-Dim6Jkwe.js +125 -0
  469. package/build/server/chunks/chunks/events.js-Dim6Jkwe.js.map +1 -0
  470. package/build/server/chunks/chunks/events2.js-g3pRSymE.js +2 -0
  471. package/build/server/chunks/chunks/events2.js-g3pRSymE.js.map +1 -0
  472. package/build/server/chunks/chunks/evictChangedServers.js-Cym-2rnu.js +29 -0
  473. package/build/server/chunks/chunks/evictChangedServers.js-Cym-2rnu.js.map +1 -0
  474. package/build/server/chunks/chunks/exports.js-GeBTnchJ.js +365 -0
  475. package/build/server/chunks/chunks/exports.js-GeBTnchJ.js.map +1 -0
  476. package/build/server/chunks/chunks/folder-kanban.js-BSydl1kM.js +20 -0
  477. package/build/server/chunks/chunks/folder-kanban.js-BSydl1kM.js.map +1 -0
  478. package/build/server/chunks/chunks/folder-open.js-SVFlTvic.js +15 -0
  479. package/build/server/chunks/chunks/folder-open.js-SVFlTvic.js.map +1 -0
  480. package/build/server/chunks/chunks/folders.js-5kygHCYJ.js +15 -0
  481. package/build/server/chunks/chunks/folders.js-5kygHCYJ.js.map +1 -0
  482. package/build/server/chunks/chunks/footerContext.svelte.js-B4V0UyTy.js +707 -0
  483. package/build/server/chunks/chunks/footerContext.svelte.js-B4V0UyTy.js.map +1 -0
  484. package/build/server/chunks/chunks/forms.js-B5Ttvmbg.js +2 -0
  485. package/build/server/chunks/chunks/forms.js-B5Ttvmbg.js.map +1 -0
  486. package/build/server/chunks/chunks/gauge.js-CaIvew-g.js +15 -0
  487. package/build/server/chunks/chunks/gauge.js-CaIvew-g.js.map +1 -0
  488. package/build/server/chunks/chunks/index-server.js-Dkqbavz2.js +147 -0
  489. package/build/server/chunks/chunks/index-server.js-Dkqbavz2.js.map +1 -0
  490. package/build/server/chunks/chunks/index-server2.js-UaiofxX-.js +21 -0
  491. package/build/server/chunks/chunks/index-server2.js-UaiofxX-.js.map +1 -0
  492. package/build/server/chunks/chunks/input.js-flypSZ8p.js +36 -0
  493. package/build/server/chunks/chunks/input.js-flypSZ8p.js.map +1 -0
  494. package/build/server/chunks/chunks/internal.js-WBVEU67X.js +22 -0
  495. package/build/server/chunks/chunks/internal.js-WBVEU67X.js.map +1 -0
  496. package/build/server/chunks/chunks/internal2.js-DcssKd4i.js +224 -0
  497. package/build/server/chunks/chunks/internal2.js-DcssKd4i.js.map +1 -0
  498. package/build/server/chunks/chunks/label.js-vFVuMZI5.js +108 -0
  499. package/build/server/chunks/chunks/label.js-vFVuMZI5.js.map +1 -0
  500. package/build/server/chunks/chunks/legacy-client.js-rpE_7V58.js +320 -0
  501. package/build/server/chunks/chunks/legacy-client.js-rpE_7V58.js.map +1 -0
  502. package/build/server/chunks/chunks/limits.js-DfZnOKg5.js +140 -0
  503. package/build/server/chunks/chunks/limits.js-DfZnOKg5.js.map +1 -0
  504. package/build/server/chunks/chunks/link-2.js-BFZvudkq.js +24 -0
  505. package/build/server/chunks/chunks/link-2.js-BFZvudkq.js.map +1 -0
  506. package/build/server/chunks/chunks/mail.js-FTEPUuxm.js +21 -0
  507. package/build/server/chunks/chunks/mail.js-FTEPUuxm.js.map +1 -0
  508. package/build/server/chunks/chunks/minus.js-C0wl0i_s.js +33 -0
  509. package/build/server/chunks/chunks/minus.js-C0wl0i_s.js.map +1 -0
  510. package/build/server/chunks/chunks/navigation.js-B5Ttvmbg.js +2 -0
  511. package/build/server/chunks/chunks/navigation.js-B5Ttvmbg.js.map +1 -0
  512. package/build/server/chunks/chunks/noop.js-BTGyucGl.js +467 -0
  513. package/build/server/chunks/chunks/noop.js-BTGyucGl.js.map +1 -0
  514. package/build/server/chunks/chunks/org-members.server.js-DjeFQxYa.js +35 -0
  515. package/build/server/chunks/chunks/org-members.server.js-DjeFQxYa.js.map +1 -0
  516. package/build/server/chunks/chunks/package.js-q_o0ZSj1.js +65 -0
  517. package/build/server/chunks/chunks/package.js-q_o0ZSj1.js.map +1 -0
  518. package/build/server/chunks/chunks/permissions-compat.server.js-D5YyH3mo.js +23 -0
  519. package/build/server/chunks/chunks/permissions-compat.server.js-D5YyH3mo.js.map +1 -0
  520. package/build/server/chunks/chunks/permissions.server.js-DkC6xiJF.js +15 -0
  521. package/build/server/chunks/chunks/permissions.server.js-DkC6xiJF.js.map +1 -0
  522. package/build/server/chunks/chunks/plus.js-B7q_bJTb.js +15 -0
  523. package/build/server/chunks/chunks/plus.js-B7q_bJTb.js.map +1 -0
  524. package/build/server/chunks/chunks/providers.server.js-Ck45V_zF.js +6247 -0
  525. package/build/server/chunks/chunks/providers.server.js-Ck45V_zF.js.map +1 -0
  526. package/build/server/chunks/chunks/randomId.js-BnzU06iG.js +22 -0
  527. package/build/server/chunks/chunks/randomId.js-BnzU06iG.js.map +1 -0
  528. package/build/server/chunks/chunks/redirect.js-B4i9gSkt.js +19 -0
  529. package/build/server/chunks/chunks/redirect.js-B4i9gSkt.js.map +1 -0
  530. package/build/server/chunks/chunks/refresh-cw.js-BbvZ9-ym.js +20 -0
  531. package/build/server/chunks/chunks/refresh-cw.js-BbvZ9-ym.js.map +1 -0
  532. package/build/server/chunks/chunks/resolve.server.js-QuAHAdi2.js +62 -0
  533. package/build/server/chunks/chunks/resolve.server.js-QuAHAdi2.js.map +1 -0
  534. package/build/server/chunks/chunks/rotate-ccw.js-BKTIUF08.js +15 -0
  535. package/build/server/chunks/chunks/rotate-ccw.js-BKTIUF08.js.map +1 -0
  536. package/build/server/chunks/chunks/schema.js-BhmknPcU.js +27 -0
  537. package/build/server/chunks/chunks/schema.js-BhmknPcU.js.map +1 -0
  538. package/build/server/chunks/chunks/scroll-lock.js-BhXqCYmL.js +2973 -0
  539. package/build/server/chunks/chunks/scroll-lock.js-BhXqCYmL.js.map +1 -0
  540. package/build/server/chunks/chunks/scroll-text.js-Ck_RJX-A.js +20 -0
  541. package/build/server/chunks/chunks/scroll-text.js-Ck_RJX-A.js.map +1 -0
  542. package/build/server/chunks/chunks/select.js-lsONeEMz.js +3657 -0
  543. package/build/server/chunks/chunks/select.js-lsONeEMz.js.map +1 -0
  544. package/build/server/chunks/chunks/selfUpdate.server.js-bukjfOvX.js +152 -0
  545. package/build/server/chunks/chunks/selfUpdate.server.js-bukjfOvX.js.map +1 -0
  546. package/build/server/chunks/chunks/server.js-DmrfOoxb.js +4142 -0
  547. package/build/server/chunks/chunks/server.js-DmrfOoxb.js.map +1 -0
  548. package/build/server/chunks/chunks/server2.js-BCejVnBZ.js +44 -0
  549. package/build/server/chunks/chunks/server2.js-BCejVnBZ.js.map +1 -0
  550. package/build/server/chunks/chunks/settings.js-DFaptFrS.js +19 -0
  551. package/build/server/chunks/chunks/settings.js-DFaptFrS.js.map +1 -0
  552. package/build/server/chunks/chunks/shared-server.js-DA4m8f1m.js +22 -0
  553. package/build/server/chunks/chunks/shared-server.js-DA4m8f1m.js.map +1 -0
  554. package/build/server/chunks/chunks/shared.js-DVKQackd.js +598 -0
  555. package/build/server/chunks/chunks/shared.js-DVKQackd.js.map +1 -0
  556. package/build/server/chunks/chunks/shield-check.js-BSiP5ATU.js +15 -0
  557. package/build/server/chunks/chunks/shield-check.js-BSiP5ATU.js.map +1 -0
  558. package/build/server/chunks/chunks/shield.js-DPtzts62.js +15 -0
  559. package/build/server/chunks/chunks/shield.js-DPtzts62.js.map +1 -0
  560. package/build/server/chunks/chunks/slug.js-v6x7hAas.js +7 -0
  561. package/build/server/chunks/chunks/slug.js-v6x7hAas.js.map +1 -0
  562. package/build/server/chunks/chunks/src.js-BeFXhqDJ.js +350 -0
  563. package/build/server/chunks/chunks/src.js-BeFXhqDJ.js.map +1 -0
  564. package/build/server/chunks/chunks/star.js-BECu_JAo.js +15 -0
  565. package/build/server/chunks/chunks/star.js-BECu_JAo.js.map +1 -0
  566. package/build/server/chunks/chunks/state.js-CCKu0CaC.js +64 -0
  567. package/build/server/chunks/chunks/state.js-CCKu0CaC.js.map +1 -0
  568. package/build/server/chunks/chunks/stores.js-Ce8w77Gm.js +35 -0
  569. package/build/server/chunks/chunks/stores.js-Ce8w77Gm.js.map +1 -0
  570. package/build/server/chunks/chunks/textarea.js-CvrSr4sY.js +512 -0
  571. package/build/server/chunks/chunks/textarea.js-CvrSr4sY.js.map +1 -0
  572. package/build/server/chunks/chunks/toast-state.svelte.js-Dh9sKPsD.js +236 -0
  573. package/build/server/chunks/chunks/toast-state.svelte.js-Dh9sKPsD.js.map +1 -0
  574. package/build/server/chunks/chunks/token-codec.js-CxK2DiO-.js +27 -0
  575. package/build/server/chunks/chunks/token-codec.js-CxK2DiO-.js.map +1 -0
  576. package/build/server/chunks/chunks/token.server.js-C2Bim4Rh.js +52 -0
  577. package/build/server/chunks/chunks/token.server.js-C2Bim4Rh.js.map +1 -0
  578. package/build/server/chunks/chunks/token2.server.js-D_ltSz_6.js +44 -0
  579. package/build/server/chunks/chunks/token2.server.js-D_ltSz_6.js.map +1 -0
  580. package/build/server/chunks/chunks/trash-2.js-Cj-Kcen_.js +21 -0
  581. package/build/server/chunks/chunks/trash-2.js-Cj-Kcen_.js.map +1 -0
  582. package/build/server/chunks/chunks/triangle-alert.js-BCjlB2JY.js +19 -0
  583. package/build/server/chunks/chunks/triangle-alert.js-BCjlB2JY.js.map +1 -0
  584. package/build/server/chunks/chunks/types.js-B_zdqlv_.js +10 -0
  585. package/build/server/chunks/chunks/types.js-B_zdqlv_.js.map +1 -0
  586. package/build/server/chunks/chunks/uneval.js-1VR0v8ir.js +451 -0
  587. package/build/server/chunks/chunks/uneval.js-1VR0v8ir.js.map +1 -0
  588. package/build/server/chunks/chunks/update-outcome.js-BOtdiviI.js +92 -0
  589. package/build/server/chunks/chunks/update-outcome.js-BOtdiviI.js.map +1 -0
  590. package/build/server/chunks/chunks/updateCheck.server.js-C_IO7xvE.js +97 -0
  591. package/build/server/chunks/chunks/updateCheck.server.js-C_IO7xvE.js.map +1 -0
  592. package/build/server/chunks/chunks/user-plus.js-3qIaZGqf.js +34 -0
  593. package/build/server/chunks/chunks/user-plus.js-3qIaZGqf.js.map +1 -0
  594. package/build/server/chunks/chunks/users.js-VuVL1lQA.js +24 -0
  595. package/build/server/chunks/chunks/users.js-VuVL1lQA.js.map +1 -0
  596. package/build/server/chunks/chunks/utils.js-C0cfyxUN.js +743 -0
  597. package/build/server/chunks/chunks/utils.js-C0cfyxUN.js.map +1 -0
  598. package/build/server/chunks/chunks/utils2.js-B5FjFEwk.js +62 -0
  599. package/build/server/chunks/chunks/utils2.js-B5FjFEwk.js.map +1 -0
  600. package/build/server/chunks/chunks/utils3.js-DrFQ7TNp.js +95 -0
  601. package/build/server/chunks/chunks/utils3.js-DrFQ7TNp.js.map +1 -0
  602. package/build/server/chunks/chunks/visualization-5RH6RSLV.js-DfUogATJ.js +20 -0
  603. package/build/server/chunks/chunks/visualization-5RH6RSLV.js-DfUogATJ.js.map +1 -0
  604. package/build/server/chunks/chunks/x.js-DCkToa2e.js +15 -0
  605. package/build/server/chunks/chunks/x.js-DCkToa2e.js.map +1 -0
  606. package/build/server/chunks/entries/endpoints/admin/api/compute/_server.ts.js-CGQtDXgk.js +93 -0
  607. package/build/server/chunks/entries/endpoints/admin/api/compute/_server.ts.js-CGQtDXgk.js.map +1 -0
  608. package/build/server/chunks/entries/endpoints/admin/api/compute/actions/_server.ts.js-CG9K3X4I.js +53 -0
  609. package/build/server/chunks/entries/endpoints/admin/api/compute/actions/_server.ts.js-CG9K3X4I.js.map +1 -0
  610. package/build/server/chunks/entries/endpoints/admin/api/compute/status/_server.ts.js-Bk8RPC-S.js +79 -0
  611. package/build/server/chunks/entries/endpoints/admin/api/compute/status/_server.ts.js-Bk8RPC-S.js.map +1 -0
  612. package/build/server/chunks/entries/endpoints/admin/api/orgs/_id_/_server.ts.js-l2zdI70w.js +50 -0
  613. package/build/server/chunks/entries/endpoints/admin/api/orgs/_id_/_server.ts.js-l2zdI70w.js.map +1 -0
  614. package/build/server/chunks/entries/endpoints/admin/api/orgs/_id_/assets/_kind_/_server.ts.js-Dud1t6SV.js +86 -0
  615. package/build/server/chunks/entries/endpoints/admin/api/orgs/_id_/assets/_kind_/_server.ts.js-Dud1t6SV.js.map +1 -0
  616. package/build/server/chunks/entries/endpoints/admin/api/orgs/_server.ts.js-BxzBy6hA.js +72 -0
  617. package/build/server/chunks/entries/endpoints/admin/api/orgs/_server.ts.js-BxzBy6hA.js.map +1 -0
  618. package/build/server/chunks/entries/endpoints/admin/api/projects/_id_/_server.ts.js-C-dizmjT.js +75 -0
  619. package/build/server/chunks/entries/endpoints/admin/api/projects/_id_/_server.ts.js-C-dizmjT.js.map +1 -0
  620. package/build/server/chunks/entries/endpoints/admin/api/projects/_id_/grants/_grantId_/_server.ts.js-Dp5abGnQ.js +34 -0
  621. package/build/server/chunks/entries/endpoints/admin/api/projects/_id_/grants/_grantId_/_server.ts.js-Dp5abGnQ.js.map +1 -0
  622. package/build/server/chunks/entries/endpoints/admin/api/projects/_id_/grants/_server.ts.js-B_buOgJ6.js +71 -0
  623. package/build/server/chunks/entries/endpoints/admin/api/projects/_id_/grants/_server.ts.js-B_buOgJ6.js.map +1 -0
  624. package/build/server/chunks/entries/endpoints/admin/api/projects/_server.ts.js-CS844zjE.js +104 -0
  625. package/build/server/chunks/entries/endpoints/admin/api/projects/_server.ts.js-CS844zjE.js.map +1 -0
  626. package/build/server/chunks/entries/endpoints/admin/api/system/health/_server.ts.js-BFuGyae1.js +208 -0
  627. package/build/server/chunks/entries/endpoints/admin/api/system/health/_server.ts.js-BFuGyae1.js.map +1 -0
  628. package/build/server/chunks/entries/endpoints/admin/api/system/throughput/_server.ts.js-DocorKMW.js +90 -0
  629. package/build/server/chunks/entries/endpoints/admin/api/system/throughput/_server.ts.js-DocorKMW.js.map +1 -0
  630. package/build/server/chunks/entries/endpoints/admin/api/system/update/_server.ts.js-DY2z6Ry6.js +403 -0
  631. package/build/server/chunks/entries/endpoints/admin/api/system/update/_server.ts.js-DY2z6Ry6.js.map +1 -0
  632. package/build/server/chunks/entries/endpoints/admin/api/users/_id_/_server.ts.js-R0t2phcY.js +76 -0
  633. package/build/server/chunks/entries/endpoints/admin/api/users/_id_/_server.ts.js-R0t2phcY.js.map +1 -0
  634. package/build/server/chunks/entries/endpoints/admin/api/users/_id_/disable/_server.ts.js-01Ec82s7.js +46 -0
  635. package/build/server/chunks/entries/endpoints/admin/api/users/_id_/disable/_server.ts.js-01Ec82s7.js.map +1 -0
  636. package/build/server/chunks/entries/endpoints/admin/api/users/_server.ts.js-BPO0k1CB.js +86 -0
  637. package/build/server/chunks/entries/endpoints/admin/api/users/_server.ts.js-BPO0k1CB.js.map +1 -0
  638. package/build/server/chunks/entries/endpoints/api/compute/_server.ts.js-CIagEbAJ.js +0 -0
  639. package/build/server/chunks/entries/endpoints/api/compute/_server.ts.js-CIagEbAJ.js.map +1 -0
  640. package/build/server/chunks/entries/endpoints/api/compute/schema/_server.ts.js-B_OO7fR2.js +64 -0
  641. package/build/server/chunks/entries/endpoints/api/compute/schema/_server.ts.js-B_OO7fR2.js.map +1 -0
  642. package/build/server/chunks/entries/endpoints/api/definitions/_guid_/_server.ts.js-B36u-OKF.js +75 -0
  643. package/build/server/chunks/entries/endpoints/api/definitions/_guid_/_server.ts.js-B36u-OKF.js.map +1 -0
  644. package/build/server/chunks/entries/endpoints/api/definitions/_guid_/image/_filename_/_server.ts.js-DWDGwsDg.js +46 -0
  645. package/build/server/chunks/entries/endpoints/api/definitions/_guid_/image/_filename_/_server.ts.js-DWDGwsDg.js.map +1 -0
  646. package/build/server/chunks/entries/endpoints/api/definitions/_guid_/image/_server.ts.js-BSb3_snz.js +44 -0
  647. package/build/server/chunks/entries/endpoints/api/definitions/_guid_/image/_server.ts.js-BSb3_snz.js.map +1 -0
  648. package/build/server/chunks/entries/endpoints/api/definitions/_guid_/publish/_server.ts.js-C_LsX3dT.js +40 -0
  649. package/build/server/chunks/entries/endpoints/api/definitions/_guid_/publish/_server.ts.js-C_LsX3dT.js.map +1 -0
  650. package/build/server/chunks/entries/endpoints/api/definitions/_guid_/share-links/_linkId_/_server.ts.js-x6HUPBIV.js +46 -0
  651. package/build/server/chunks/entries/endpoints/api/definitions/_guid_/share-links/_linkId_/_server.ts.js-x6HUPBIV.js.map +1 -0
  652. package/build/server/chunks/entries/endpoints/api/definitions/_guid_/share-links/_server.ts.js-DeEHiDVK.js +84 -0
  653. package/build/server/chunks/entries/endpoints/api/definitions/_guid_/share-links/_server.ts.js-DeEHiDVK.js.map +1 -0
  654. package/build/server/chunks/entries/endpoints/api/definitions/_guid_/versions/_server.ts.js-B6wBZGFW.js +47 -0
  655. package/build/server/chunks/entries/endpoints/api/definitions/_guid_/versions/_server.ts.js-B6wBZGFW.js.map +1 -0
  656. package/build/server/chunks/entries/endpoints/api/definitions/_guid_/versions/_versionId_/_server.ts.js-BvO7f59s.js +40 -0
  657. package/build/server/chunks/entries/endpoints/api/definitions/_guid_/versions/_versionId_/_server.ts.js-BvO7f59s.js.map +1 -0
  658. package/build/server/chunks/entries/endpoints/api/definitions/_server.ts.js-C5S1tEiY.js +94 -0
  659. package/build/server/chunks/entries/endpoints/api/definitions/_server.ts.js-C5S1tEiY.js.map +1 -0
  660. package/build/server/chunks/entries/endpoints/api/diag/throughput/_server.ts.js-BfCUtJSe.js +59 -0
  661. package/build/server/chunks/entries/endpoints/api/diag/throughput/_server.ts.js-BfCUtJSe.js.map +1 -0
  662. package/build/server/chunks/entries/endpoints/api/files/_...path_/_server.ts.js-zIhw7rQH.js +89 -0
  663. package/build/server/chunks/entries/endpoints/api/files/_...path_/_server.ts.js-zIhw7rQH.js.map +1 -0
  664. package/build/server/chunks/entries/endpoints/api/health/_server.ts.js-DO7xvzrB.js +56 -0
  665. package/build/server/chunks/entries/endpoints/api/health/_server.ts.js-DO7xvzrB.js.map +1 -0
  666. package/build/server/chunks/entries/endpoints/api/invites/_id_/_server.ts.js-cWS2efNi.js +49 -0
  667. package/build/server/chunks/entries/endpoints/api/invites/_id_/_server.ts.js-cWS2efNi.js.map +1 -0
  668. package/build/server/chunks/entries/endpoints/api/invites/_server.ts.js-BjYy4eQf.js +77 -0
  669. package/build/server/chunks/entries/endpoints/api/invites/_server.ts.js-BjYy4eQf.js.map +1 -0
  670. package/build/server/chunks/entries/endpoints/api/me/starred/_guid_/_server.ts.js-tNrXBN5E.js +45 -0
  671. package/build/server/chunks/entries/endpoints/api/me/starred/_guid_/_server.ts.js-tNrXBN5E.js.map +1 -0
  672. package/build/server/chunks/entries/endpoints/api/org/compute/_server.ts.js-DKhLOB_A.js +110 -0
  673. package/build/server/chunks/entries/endpoints/api/org/compute/_server.ts.js-DKhLOB_A.js.map +1 -0
  674. package/build/server/chunks/entries/endpoints/api/orgs/_orgId_/members/_userId_/_server.ts.js-BnZq-Y6H.js +79 -0
  675. package/build/server/chunks/entries/endpoints/api/orgs/_orgId_/members/_userId_/_server.ts.js-BnZq-Y6H.js.map +1 -0
  676. package/build/server/chunks/entries/endpoints/api/projects/_id_/_server.ts.js-DULd1S7H.js +72 -0
  677. package/build/server/chunks/entries/endpoints/api/projects/_id_/_server.ts.js-DULd1S7H.js.map +1 -0
  678. package/build/server/chunks/entries/endpoints/api/projects/_id_/members/_server.ts.js-B7OiwPPa.js +65 -0
  679. package/build/server/chunks/entries/endpoints/api/projects/_id_/members/_server.ts.js-B7OiwPPa.js.map +1 -0
  680. package/build/server/chunks/entries/endpoints/api/projects/_id_/members/_userId_/_server.ts.js-C1973T7Q.js +64 -0
  681. package/build/server/chunks/entries/endpoints/api/projects/_id_/members/_userId_/_server.ts.js-C1973T7Q.js.map +1 -0
  682. package/build/server/chunks/entries/endpoints/api/projects/_id_/reclaim/_server.ts.js-qy30u8a4.js +48 -0
  683. package/build/server/chunks/entries/endpoints/api/projects/_id_/reclaim/_server.ts.js-qy30u8a4.js.map +1 -0
  684. package/build/server/chunks/entries/endpoints/api/projects/_server.ts.js-8CmUAO3f.js +86 -0
  685. package/build/server/chunks/entries/endpoints/api/projects/_server.ts.js-8CmUAO3f.js.map +1 -0
  686. package/build/server/chunks/entries/endpoints/auth/email/callback/_server.ts.js-DCjY9UXh.js +49 -0
  687. package/build/server/chunks/entries/endpoints/auth/email/callback/_server.ts.js-DCjY9UXh.js.map +1 -0
  688. package/build/server/chunks/entries/endpoints/auth/supabase/callback/_server.ts.js-BG9aKYc1.js +53 -0
  689. package/build/server/chunks/entries/endpoints/auth/supabase/callback/_server.ts.js-BG9aKYc1.js.map +1 -0
  690. package/build/server/chunks/entries/endpoints/auth/supabase/start/_server.ts.js-DtPbzppx.js +51 -0
  691. package/build/server/chunks/entries/endpoints/auth/supabase/start/_server.ts.js-DtPbzppx.js.map +1 -0
  692. package/build/server/chunks/entries/hooks.server.js-XyglROqL.js +342 -0
  693. package/build/server/chunks/entries/hooks.server.js-XyglROqL.js.map +1 -0
  694. package/build/server/chunks/entries/pages/_error.svelte.js-DiCS9ZOL.js +35 -0
  695. package/build/server/chunks/entries/pages/_error.svelte.js-DiCS9ZOL.js.map +1 -0
  696. package/build/server/chunks/entries/pages/_layout.server.ts.js-D2J_XOfD.js +34 -0
  697. package/build/server/chunks/entries/pages/_layout.server.ts.js-D2J_XOfD.js.map +1 -0
  698. package/build/server/chunks/entries/pages/_layout.svelte.js-PxIwrFIi.js +644 -0
  699. package/build/server/chunks/entries/pages/_layout.svelte.js-PxIwrFIi.js.map +1 -0
  700. package/build/server/chunks/entries/pages/_page.server.ts.js-uN4KY6yT.js +12 -0
  701. package/build/server/chunks/entries/pages/_page.server.ts.js-uN4KY6yT.js.map +1 -0
  702. package/build/server/chunks/entries/pages/_page.svelte.js-2vvLdcex.js +76 -0
  703. package/build/server/chunks/entries/pages/_page.svelte.js-2vvLdcex.js.map +1 -0
  704. package/build/server/chunks/entries/pages/accept-invite/_page.server.ts.js-CxZpwJjl.js +109 -0
  705. package/build/server/chunks/entries/pages/accept-invite/_page.server.ts.js-CxZpwJjl.js.map +1 -0
  706. package/build/server/chunks/entries/pages/accept-invite/_page.svelte.js-D9QFHAsb.js +148 -0
  707. package/build/server/chunks/entries/pages/accept-invite/_page.svelte.js-D9QFHAsb.js.map +1 -0
  708. package/build/server/chunks/entries/pages/admin/_error.svelte.js-GXV5rID_.js +36 -0
  709. package/build/server/chunks/entries/pages/admin/_error.svelte.js-GXV5rID_.js.map +1 -0
  710. package/build/server/chunks/entries/pages/admin/_layout.server.ts.js-Drx7Wabk.js +31 -0
  711. package/build/server/chunks/entries/pages/admin/_layout.server.ts.js-Drx7Wabk.js.map +1 -0
  712. package/build/server/chunks/entries/pages/admin/_layout.svelte.js-DWK57cLF.js +121 -0
  713. package/build/server/chunks/entries/pages/admin/_layout.svelte.js-DWK57cLF.js.map +1 -0
  714. package/build/server/chunks/entries/pages/admin/_page.server.ts.js-DHyOJHu3.js +75 -0
  715. package/build/server/chunks/entries/pages/admin/_page.server.ts.js-DHyOJHu3.js.map +1 -0
  716. package/build/server/chunks/entries/pages/admin/_page.svelte.js-ZrOgAK44.js +359 -0
  717. package/build/server/chunks/entries/pages/admin/_page.svelte.js-ZrOgAK44.js.map +1 -0
  718. package/build/server/chunks/entries/pages/admin/audit/_page.server.ts.js-p-SII2Tv.js +245 -0
  719. package/build/server/chunks/entries/pages/admin/audit/_page.server.ts.js-p-SII2Tv.js.map +1 -0
  720. package/build/server/chunks/entries/pages/admin/audit/_page.svelte.js-DKtY2Bbo.js +459 -0
  721. package/build/server/chunks/entries/pages/admin/audit/_page.svelte.js-DKtY2Bbo.js.map +1 -0
  722. package/build/server/chunks/entries/pages/admin/compute/_page.server.ts.js-DLQMrDVa.js +45 -0
  723. package/build/server/chunks/entries/pages/admin/compute/_page.server.ts.js-DLQMrDVa.js.map +1 -0
  724. package/build/server/chunks/entries/pages/admin/compute/_page.svelte.js-Xc5KUiyr.js +612 -0
  725. package/build/server/chunks/entries/pages/admin/compute/_page.svelte.js-Xc5KUiyr.js.map +1 -0
  726. package/build/server/chunks/entries/pages/admin/organizations/_page.server.ts.js-8M2vAO8m.js +35 -0
  727. package/build/server/chunks/entries/pages/admin/organizations/_page.server.ts.js-8M2vAO8m.js.map +1 -0
  728. package/build/server/chunks/entries/pages/admin/organizations/_page.svelte.js-CSNwqH1H.js +95 -0
  729. package/build/server/chunks/entries/pages/admin/organizations/_page.svelte.js-CSNwqH1H.js.map +1 -0
  730. package/build/server/chunks/entries/pages/admin/projects/_id_/_page.server.ts.js-BUZmMIKi.js +86 -0
  731. package/build/server/chunks/entries/pages/admin/projects/_id_/_page.server.ts.js-BUZmMIKi.js.map +1 -0
  732. package/build/server/chunks/entries/pages/admin/projects/_id_/_page.svelte.js-CoN7LVs8.js +616 -0
  733. package/build/server/chunks/entries/pages/admin/projects/_id_/_page.svelte.js-CoN7LVs8.js.map +1 -0
  734. package/build/server/chunks/entries/pages/admin/projects/_page.server.ts.js-L0aQBXCg.js +42 -0
  735. package/build/server/chunks/entries/pages/admin/projects/_page.server.ts.js-L0aQBXCg.js.map +1 -0
  736. package/build/server/chunks/entries/pages/admin/projects/_page.svelte.js-C8I9RSSC.js +282 -0
  737. package/build/server/chunks/entries/pages/admin/projects/_page.svelte.js-C8I9RSSC.js.map +1 -0
  738. package/build/server/chunks/entries/pages/admin/system/_page.server.ts.js-5x0QUJqa.js +79 -0
  739. package/build/server/chunks/entries/pages/admin/system/_page.server.ts.js-5x0QUJqa.js.map +1 -0
  740. package/build/server/chunks/entries/pages/admin/system/_page.svelte.js-CSgpyJ77.js +1363 -0
  741. package/build/server/chunks/entries/pages/admin/system/_page.svelte.js-CSgpyJ77.js.map +1 -0
  742. package/build/server/chunks/entries/pages/admin/users/_page.server.ts.js-BsQaDMlb.js +70 -0
  743. package/build/server/chunks/entries/pages/admin/users/_page.server.ts.js-BsQaDMlb.js.map +1 -0
  744. package/build/server/chunks/entries/pages/admin/users/_page.svelte.js-b_IBx7X1.js +681 -0
  745. package/build/server/chunks/entries/pages/admin/users/_page.svelte.js-b_IBx7X1.js.map +1 -0
  746. package/build/server/chunks/entries/pages/auth/email/sent/_page.svelte.js-sm6XU5LM.js +62 -0
  747. package/build/server/chunks/entries/pages/auth/email/sent/_page.svelte.js-sm6XU5LM.js.map +1 -0
  748. package/build/server/chunks/entries/pages/auth/email/start/_page.server.ts.js-BHpJppCP.js +62 -0
  749. package/build/server/chunks/entries/pages/auth/email/start/_page.server.ts.js-BHpJppCP.js.map +1 -0
  750. package/build/server/chunks/entries/pages/auth/email/start/_page.svelte.js-BycsE8rL.js +15 -0
  751. package/build/server/chunks/entries/pages/auth/email/start/_page.svelte.js-BycsE8rL.js.map +1 -0
  752. package/build/server/chunks/entries/pages/library/_guid_/_page.server.ts.js-D7rAHAZH.js +124 -0
  753. package/build/server/chunks/entries/pages/library/_guid_/_page.server.ts.js-D7rAHAZH.js.map +1 -0
  754. package/build/server/chunks/entries/pages/library/_guid_/_page.svelte.js-QmIuEZ6d.js +12090 -0
  755. package/build/server/chunks/entries/pages/library/_guid_/_page.svelte.js-QmIuEZ6d.js.map +1 -0
  756. package/build/server/chunks/entries/pages/library/_layout.svelte.js-BMCgmjSm.js +11 -0
  757. package/build/server/chunks/entries/pages/library/_layout.svelte.js-BMCgmjSm.js.map +1 -0
  758. package/build/server/chunks/entries/pages/library/_page.server.ts.js-_yKh2Lhh.js +73 -0
  759. package/build/server/chunks/entries/pages/library/_page.server.ts.js-_yKh2Lhh.js.map +1 -0
  760. package/build/server/chunks/entries/pages/library/_page.svelte.js-BBecVQfU.js +328 -0
  761. package/build/server/chunks/entries/pages/library/_page.svelte.js-BBecVQfU.js.map +1 -0
  762. package/build/server/chunks/entries/pages/login/_page.server.ts.js-Zrm-wLis.js +76 -0
  763. package/build/server/chunks/entries/pages/login/_page.server.ts.js-Zrm-wLis.js.map +1 -0
  764. package/build/server/chunks/entries/pages/login/_page.svelte.js-mB5w-Owi.js +256 -0
  765. package/build/server/chunks/entries/pages/login/_page.svelte.js-mB5w-Owi.js.map +1 -0
  766. package/build/server/chunks/entries/pages/logout/_page.server.ts.js-DwVfN95n.js +16 -0
  767. package/build/server/chunks/entries/pages/logout/_page.server.ts.js-DwVfN95n.js.map +1 -0
  768. package/build/server/chunks/entries/pages/projects/_layout.server.ts.js-6XkwF4RB.js +22 -0
  769. package/build/server/chunks/entries/pages/projects/_layout.server.ts.js-6XkwF4RB.js.map +1 -0
  770. package/build/server/chunks/entries/pages/projects/_layout.svelte.js-B4At_98Y.js +49 -0
  771. package/build/server/chunks/entries/pages/projects/_layout.svelte.js-B4At_98Y.js.map +1 -0
  772. package/build/server/chunks/entries/pages/projects/_page.server.ts.js-DBqo-N45.js +101 -0
  773. package/build/server/chunks/entries/pages/projects/_page.server.ts.js-DBqo-N45.js.map +1 -0
  774. package/build/server/chunks/entries/pages/projects/_page.svelte.js-CWVFHh-G.js +3745 -0
  775. package/build/server/chunks/entries/pages/projects/_page.svelte.js-CWVFHh-G.js.map +1 -0
  776. package/build/server/chunks/entries/pages/setup/_page.server.ts.js-BmWf9JNV.js +114 -0
  777. package/build/server/chunks/entries/pages/setup/_page.server.ts.js-BmWf9JNV.js.map +1 -0
  778. package/build/server/chunks/entries/pages/setup/_page.svelte.js-b-ulOSEP.js +321 -0
  779. package/build/server/chunks/entries/pages/setup/_page.svelte.js-b-ulOSEP.js.map +1 -0
  780. package/build/server/chunks/entries/pages/team/_layout.server.ts.js-CEckPBKu.js +28 -0
  781. package/build/server/chunks/entries/pages/team/_layout.server.ts.js-CEckPBKu.js.map +1 -0
  782. package/build/server/chunks/entries/pages/team/_layout.svelte.js-BvrC26--.js +162 -0
  783. package/build/server/chunks/entries/pages/team/_layout.svelte.js-BvrC26--.js.map +1 -0
  784. package/build/server/chunks/entries/pages/team/_page.server.ts.js-DDgbvGYW.js +35 -0
  785. package/build/server/chunks/entries/pages/team/_page.server.ts.js-DDgbvGYW.js.map +1 -0
  786. package/build/server/chunks/entries/pages/team/_page.svelte.js-C0UqQ9Yp.js +110 -0
  787. package/build/server/chunks/entries/pages/team/_page.svelte.js-C0UqQ9Yp.js.map +1 -0
  788. package/build/server/chunks/entries/pages/team/activity/_page.svelte.js-CuCWw3cS.js +121 -0
  789. package/build/server/chunks/entries/pages/team/activity/_page.svelte.js-CuCWw3cS.js.map +1 -0
  790. package/build/server/chunks/entries/pages/team/compute/_page.server.ts.js-B3Abehsk.js +42 -0
  791. package/build/server/chunks/entries/pages/team/compute/_page.server.ts.js-B3Abehsk.js.map +1 -0
  792. package/build/server/chunks/entries/pages/team/compute/_page.svelte.js-C9_52_y0.js +593 -0
  793. package/build/server/chunks/entries/pages/team/compute/_page.svelte.js-C9_52_y0.js.map +1 -0
  794. package/build/server/chunks/entries/pages/team/members/_page.server.ts.js-DQHr3xgl.js +58 -0
  795. package/build/server/chunks/entries/pages/team/members/_page.server.ts.js-DQHr3xgl.js.map +1 -0
  796. package/build/server/chunks/entries/pages/team/members/_page.svelte.js-BQJjsfNw.js +539 -0
  797. package/build/server/chunks/entries/pages/team/members/_page.svelte.js-BQJjsfNw.js.map +1 -0
  798. package/build/server/chunks/entries/pages/team/projects/_page.server.ts.js-dt6lKneS.js +42 -0
  799. package/build/server/chunks/entries/pages/team/projects/_page.server.ts.js-dt6lKneS.js.map +1 -0
  800. package/build/server/chunks/entries/pages/team/projects/_page.svelte.js-D309SyRZ.js +436 -0
  801. package/build/server/chunks/entries/pages/team/projects/_page.svelte.js-D309SyRZ.js.map +1 -0
  802. package/build/server/chunks/entries/pages/team/reclaim/_page.server.ts.js-G3KsQQab.js +50 -0
  803. package/build/server/chunks/entries/pages/team/reclaim/_page.server.ts.js-G3KsQQab.js.map +1 -0
  804. package/build/server/chunks/entries/pages/team/reclaim/_page.svelte.js-Cr2oIwjO.js +262 -0
  805. package/build/server/chunks/entries/pages/team/reclaim/_page.svelte.js-Cr2oIwjO.js.map +1 -0
  806. package/build/server/chunks/entries/pages/team/settings/_page.server.ts.js-Ck0Cdbjv.js +32 -0
  807. package/build/server/chunks/entries/pages/team/settings/_page.server.ts.js-Ck0Cdbjv.js.map +1 -0
  808. package/build/server/chunks/entries/pages/team/settings/_page.svelte.js-CmFTz3Dt.js +303 -0
  809. package/build/server/chunks/entries/pages/team/settings/_page.svelte.js-CmFTz3Dt.js.map +1 -0
  810. package/build/server/chunks/entries/pages/team/shares/_page.server.ts.js-CvL7ehIY.js +16 -0
  811. package/build/server/chunks/entries/pages/team/shares/_page.server.ts.js-CvL7ehIY.js.map +1 -0
  812. package/build/server/chunks/entries/pages/team/shares/_page.svelte.js-D3E2lTCt.js +121 -0
  813. package/build/server/chunks/entries/pages/team/shares/_page.svelte.js-D3E2lTCt.js.map +1 -0
  814. package/build/server/chunks/handler-BV0yMUrL.js +1206 -0
  815. package/build/server/chunks/handler-BV0yMUrL.js.map +1 -0
  816. package/build/server/chunks/index.js-DYSFX7_4.js +3747 -0
  817. package/build/server/chunks/index.js-DYSFX7_4.js.map +1 -0
  818. package/build/server/chunks/manifest.js-Dr8Qybxj.js +548 -0
  819. package/build/server/chunks/manifest.js-Dr8Qybxj.js.map +1 -0
  820. package/build/server/chunks/nodes/0.js-CNWQjKCT.js +25 -0
  821. package/build/server/chunks/nodes/0.js-CNWQjKCT.js.map +1 -0
  822. package/build/server/chunks/nodes/1.js-C-8Rfvho.js +9 -0
  823. package/build/server/chunks/nodes/1.js-C-8Rfvho.js.map +1 -0
  824. package/build/server/chunks/nodes/10.js-BvLENpJ8.js +27 -0
  825. package/build/server/chunks/nodes/10.js-BvLENpJ8.js.map +1 -0
  826. package/build/server/chunks/nodes/11.js-D1t3p85u.js +28 -0
  827. package/build/server/chunks/nodes/11.js-D1t3p85u.js.map +1 -0
  828. package/build/server/chunks/nodes/12.js-C0uBsyrv.js +26 -0
  829. package/build/server/chunks/nodes/12.js-C0uBsyrv.js.map +1 -0
  830. package/build/server/chunks/nodes/13.js-BUz2QEML.js +26 -0
  831. package/build/server/chunks/nodes/13.js-BUz2QEML.js.map +1 -0
  832. package/build/server/chunks/nodes/14.js-Bh_aAo2q.js +26 -0
  833. package/build/server/chunks/nodes/14.js-Bh_aAo2q.js.map +1 -0
  834. package/build/server/chunks/nodes/15.js-BeW2j8Pn.js +38 -0
  835. package/build/server/chunks/nodes/15.js-BeW2j8Pn.js.map +1 -0
  836. package/build/server/chunks/nodes/16.js-DpZU13_f.js +29 -0
  837. package/build/server/chunks/nodes/16.js-DpZU13_f.js.map +1 -0
  838. package/build/server/chunks/nodes/17.js-D6i2VLcE.js +9 -0
  839. package/build/server/chunks/nodes/17.js-D6i2VLcE.js.map +1 -0
  840. package/build/server/chunks/nodes/18.js-B0WEVjij.js +34 -0
  841. package/build/server/chunks/nodes/18.js-B0WEVjij.js.map +1 -0
  842. package/build/server/chunks/nodes/19.js-DEfe9zf5.js +27 -0
  843. package/build/server/chunks/nodes/19.js-DEfe9zf5.js.map +1 -0
  844. package/build/server/chunks/nodes/2.js-Co6yIP6U.js +27 -0
  845. package/build/server/chunks/nodes/2.js-Co6yIP6U.js.map +1 -0
  846. package/build/server/chunks/nodes/20.js-ClLuWFt_.js +40 -0
  847. package/build/server/chunks/nodes/20.js-ClLuWFt_.js.map +1 -0
  848. package/build/server/chunks/nodes/21.js-Bo0uqbOG.js +34 -0
  849. package/build/server/chunks/nodes/21.js-Bo0uqbOG.js.map +1 -0
  850. package/build/server/chunks/nodes/22.js-CZoQ-vGw.js +24 -0
  851. package/build/server/chunks/nodes/22.js-CZoQ-vGw.js.map +1 -0
  852. package/build/server/chunks/nodes/23.js-D3waTlCu.js +28 -0
  853. package/build/server/chunks/nodes/23.js-D3waTlCu.js.map +1 -0
  854. package/build/server/chunks/nodes/24.js-Brn465TS.js +35 -0
  855. package/build/server/chunks/nodes/24.js-Brn465TS.js.map +1 -0
  856. package/build/server/chunks/nodes/25.js-DoYGvDVT.js +26 -0
  857. package/build/server/chunks/nodes/25.js-DoYGvDVT.js.map +1 -0
  858. package/build/server/chunks/nodes/26.js-DmaBW9_n.js +9 -0
  859. package/build/server/chunks/nodes/26.js-DmaBW9_n.js.map +1 -0
  860. package/build/server/chunks/nodes/27.js-B7ISOOoI.js +27 -0
  861. package/build/server/chunks/nodes/27.js-B7ISOOoI.js.map +1 -0
  862. package/build/server/chunks/nodes/28.js-cV9efQ5F.js +26 -0
  863. package/build/server/chunks/nodes/28.js-cV9efQ5F.js.map +1 -0
  864. package/build/server/chunks/nodes/29.js-DPR3YsDG.js +26 -0
  865. package/build/server/chunks/nodes/29.js-DPR3YsDG.js.map +1 -0
  866. package/build/server/chunks/nodes/3.js-C7QkwQVS.js +9 -0
  867. package/build/server/chunks/nodes/3.js-C7QkwQVS.js.map +1 -0
  868. package/build/server/chunks/nodes/30.js-abRTzcez.js +26 -0
  869. package/build/server/chunks/nodes/30.js-abRTzcez.js.map +1 -0
  870. package/build/server/chunks/nodes/31.js-CBnFXmoQ.js +26 -0
  871. package/build/server/chunks/nodes/31.js-CBnFXmoQ.js.map +1 -0
  872. package/build/server/chunks/nodes/32.js-DWRAiMBF.js +26 -0
  873. package/build/server/chunks/nodes/32.js-DWRAiMBF.js.map +1 -0
  874. package/build/server/chunks/nodes/4.js-CJrmx926.js +9 -0
  875. package/build/server/chunks/nodes/4.js-CJrmx926.js.map +1 -0
  876. package/build/server/chunks/nodes/5.js-B1bqOaKM.js +15 -0
  877. package/build/server/chunks/nodes/5.js-B1bqOaKM.js.map +1 -0
  878. package/build/server/chunks/nodes/6.js-M_KLp3Ex.js +26 -0
  879. package/build/server/chunks/nodes/6.js-M_KLp3Ex.js.map +1 -0
  880. package/build/server/chunks/nodes/7.js-CnAZu4qX.js +12 -0
  881. package/build/server/chunks/nodes/7.js-CnAZu4qX.js.map +1 -0
  882. package/build/server/chunks/nodes/8.js-Cw_xT2FY.js +35 -0
  883. package/build/server/chunks/nodes/8.js-Cw_xT2FY.js.map +1 -0
  884. package/build/server/chunks/nodes/9.js-D6yL5RtR.js +26 -0
  885. package/build/server/chunks/nodes/9.js-D6yL5RtR.js.map +1 -0
  886. package/package.json +16 -10
  887. package/templates/.env.example +51 -2
  888. package/build/client/_app/immutable/assets/0.Cj1PUDYF.css +0 -1
  889. package/build/client/_app/immutable/assets/0.Cj1PUDYF.css.br +0 -0
  890. package/build/client/_app/immutable/assets/0.Cj1PUDYF.css.gz +0 -0
  891. package/build/client/_app/immutable/assets/20.Bne67Vgr.css +0 -1
  892. package/build/client/_app/immutable/assets/20.Bne67Vgr.css.br +0 -0
  893. package/build/client/_app/immutable/assets/20.Bne67Vgr.css.gz +0 -0
  894. package/build/client/_app/immutable/chunks/-MU5TCVl.js +0 -1
  895. package/build/client/_app/immutable/chunks/-MU5TCVl.js.br +0 -0
  896. package/build/client/_app/immutable/chunks/-MU5TCVl.js.gz +0 -0
  897. package/build/client/_app/immutable/chunks/-xEd7dwr.js +0 -35
  898. package/build/client/_app/immutable/chunks/-xEd7dwr.js.br +0 -0
  899. package/build/client/_app/immutable/chunks/-xEd7dwr.js.gz +0 -0
  900. package/build/client/_app/immutable/chunks/5dP13_5c.js +0 -1
  901. package/build/client/_app/immutable/chunks/5dP13_5c.js.br +0 -0
  902. package/build/client/_app/immutable/chunks/5dP13_5c.js.gz +0 -0
  903. package/build/client/_app/immutable/chunks/5yEnZ38b.js +0 -1
  904. package/build/client/_app/immutable/chunks/5yEnZ38b.js.br +0 -0
  905. package/build/client/_app/immutable/chunks/5yEnZ38b.js.gz +0 -0
  906. package/build/client/_app/immutable/chunks/9i3rf9gV.js +0 -1
  907. package/build/client/_app/immutable/chunks/9i3rf9gV.js.br +0 -0
  908. package/build/client/_app/immutable/chunks/9i3rf9gV.js.gz +0 -0
  909. package/build/client/_app/immutable/chunks/B-PCkSGA.js +0 -1
  910. package/build/client/_app/immutable/chunks/B-PCkSGA.js.br +0 -0
  911. package/build/client/_app/immutable/chunks/B-PCkSGA.js.gz +0 -0
  912. package/build/client/_app/immutable/chunks/B7vGo7d8.js +0 -1
  913. package/build/client/_app/immutable/chunks/B7vGo7d8.js.br +0 -0
  914. package/build/client/_app/immutable/chunks/B7vGo7d8.js.gz +0 -0
  915. package/build/client/_app/immutable/chunks/B9HQWvYU.js +0 -1
  916. package/build/client/_app/immutable/chunks/B9HQWvYU.js.br +0 -0
  917. package/build/client/_app/immutable/chunks/B9HQWvYU.js.gz +0 -0
  918. package/build/client/_app/immutable/chunks/BARlAga8.js +0 -5
  919. package/build/client/_app/immutable/chunks/BARlAga8.js.br +0 -0
  920. package/build/client/_app/immutable/chunks/BARlAga8.js.gz +0 -0
  921. package/build/client/_app/immutable/chunks/BAq0bkTU.js +0 -1
  922. package/build/client/_app/immutable/chunks/BAq0bkTU.js.br +0 -1
  923. package/build/client/_app/immutable/chunks/BAq0bkTU.js.gz +0 -0
  924. package/build/client/_app/immutable/chunks/BI-GJkVn.js +0 -1
  925. package/build/client/_app/immutable/chunks/BI-GJkVn.js.br +0 -0
  926. package/build/client/_app/immutable/chunks/BI-GJkVn.js.gz +0 -0
  927. package/build/client/_app/immutable/chunks/BJ0I_ukf.js +0 -1
  928. package/build/client/_app/immutable/chunks/BJ0I_ukf.js.br +0 -0
  929. package/build/client/_app/immutable/chunks/BJ0I_ukf.js.gz +0 -0
  930. package/build/client/_app/immutable/chunks/BNDs8Vcd.js +0 -1
  931. package/build/client/_app/immutable/chunks/BNDs8Vcd.js.br +0 -0
  932. package/build/client/_app/immutable/chunks/BNDs8Vcd.js.gz +0 -0
  933. package/build/client/_app/immutable/chunks/BUuRpU5m.js +0 -1
  934. package/build/client/_app/immutable/chunks/BUuRpU5m.js.br +0 -0
  935. package/build/client/_app/immutable/chunks/BUuRpU5m.js.gz +0 -0
  936. package/build/client/_app/immutable/chunks/BY9FtCgE.js +0 -1
  937. package/build/client/_app/immutable/chunks/BY9FtCgE.js.br +0 -0
  938. package/build/client/_app/immutable/chunks/BY9FtCgE.js.gz +0 -0
  939. package/build/client/_app/immutable/chunks/Babt-QT0.js +0 -1
  940. package/build/client/_app/immutable/chunks/Babt-QT0.js.br +0 -0
  941. package/build/client/_app/immutable/chunks/Babt-QT0.js.gz +0 -0
  942. package/build/client/_app/immutable/chunks/BapAUJpM.js +0 -1
  943. package/build/client/_app/immutable/chunks/BapAUJpM.js.br +0 -0
  944. package/build/client/_app/immutable/chunks/BapAUJpM.js.gz +0 -0
  945. package/build/client/_app/immutable/chunks/Bd6-Cdge.js +0 -1
  946. package/build/client/_app/immutable/chunks/Bd6-Cdge.js.br +0 -1
  947. package/build/client/_app/immutable/chunks/Bd6-Cdge.js.gz +0 -0
  948. package/build/client/_app/immutable/chunks/Bm4qXoog.js +0 -1
  949. package/build/client/_app/immutable/chunks/Bm4qXoog.js.br +0 -0
  950. package/build/client/_app/immutable/chunks/Bm4qXoog.js.gz +0 -0
  951. package/build/client/_app/immutable/chunks/BnachvOx.js +0 -1
  952. package/build/client/_app/immutable/chunks/BnachvOx.js.br +0 -1
  953. package/build/client/_app/immutable/chunks/BnachvOx.js.gz +0 -0
  954. package/build/client/_app/immutable/chunks/BxtAMerO.js +0 -1
  955. package/build/client/_app/immutable/chunks/BxtAMerO.js.br +0 -0
  956. package/build/client/_app/immutable/chunks/BxtAMerO.js.gz +0 -0
  957. package/build/client/_app/immutable/chunks/ByPkuUpl.js +0 -1
  958. package/build/client/_app/immutable/chunks/ByPkuUpl.js.br +0 -0
  959. package/build/client/_app/immutable/chunks/ByPkuUpl.js.gz +0 -0
  960. package/build/client/_app/immutable/chunks/BzBbrBKd.js +0 -1
  961. package/build/client/_app/immutable/chunks/BzBbrBKd.js.br +0 -0
  962. package/build/client/_app/immutable/chunks/BzBbrBKd.js.gz +0 -0
  963. package/build/client/_app/immutable/chunks/C1WQJmQM.js +0 -1
  964. package/build/client/_app/immutable/chunks/C1WQJmQM.js.br +0 -0
  965. package/build/client/_app/immutable/chunks/C1WQJmQM.js.gz +0 -0
  966. package/build/client/_app/immutable/chunks/C1lje54W.js +0 -1
  967. package/build/client/_app/immutable/chunks/C1lje54W.js.br +0 -0
  968. package/build/client/_app/immutable/chunks/C1lje54W.js.gz +0 -0
  969. package/build/client/_app/immutable/chunks/C3JrmfEx.js +0 -1
  970. package/build/client/_app/immutable/chunks/C3JrmfEx.js.br +0 -0
  971. package/build/client/_app/immutable/chunks/C3JrmfEx.js.gz +0 -0
  972. package/build/client/_app/immutable/chunks/C6GpjflX.js +0 -1
  973. package/build/client/_app/immutable/chunks/C6GpjflX.js.br +0 -0
  974. package/build/client/_app/immutable/chunks/C6GpjflX.js.gz +0 -0
  975. package/build/client/_app/immutable/chunks/C6UXEyId.js +0 -1
  976. package/build/client/_app/immutable/chunks/C6UXEyId.js.br +0 -0
  977. package/build/client/_app/immutable/chunks/C6UXEyId.js.gz +0 -0
  978. package/build/client/_app/immutable/chunks/C6ZPX7tO.js +0 -1
  979. package/build/client/_app/immutable/chunks/C6ZPX7tO.js.br +0 -0
  980. package/build/client/_app/immutable/chunks/C6ZPX7tO.js.gz +0 -0
  981. package/build/client/_app/immutable/chunks/C9qoT5HO.js +0 -1
  982. package/build/client/_app/immutable/chunks/C9qoT5HO.js.br +0 -0
  983. package/build/client/_app/immutable/chunks/C9qoT5HO.js.gz +0 -0
  984. package/build/client/_app/immutable/chunks/CAUQbu9n.js +0 -1
  985. package/build/client/_app/immutable/chunks/CAUQbu9n.js.br +0 -0
  986. package/build/client/_app/immutable/chunks/CAUQbu9n.js.gz +0 -0
  987. package/build/client/_app/immutable/chunks/CFZtIWO-.js +0 -1
  988. package/build/client/_app/immutable/chunks/CFZtIWO-.js.br +0 -0
  989. package/build/client/_app/immutable/chunks/CFZtIWO-.js.gz +0 -0
  990. package/build/client/_app/immutable/chunks/CHr8w1pg.js +0 -1
  991. package/build/client/_app/immutable/chunks/CHr8w1pg.js.br +0 -2
  992. package/build/client/_app/immutable/chunks/CHr8w1pg.js.gz +0 -0
  993. package/build/client/_app/immutable/chunks/CKL0E1IM.js +0 -2
  994. package/build/client/_app/immutable/chunks/CKL0E1IM.js.br +0 -0
  995. package/build/client/_app/immutable/chunks/CKL0E1IM.js.gz +0 -0
  996. package/build/client/_app/immutable/chunks/CNzANXEE.js +0 -1
  997. package/build/client/_app/immutable/chunks/CNzANXEE.js.br +0 -0
  998. package/build/client/_app/immutable/chunks/CNzANXEE.js.gz +0 -0
  999. package/build/client/_app/immutable/chunks/CUkW7LC8.js +0 -1
  1000. package/build/client/_app/immutable/chunks/CUkW7LC8.js.br +0 -0
  1001. package/build/client/_app/immutable/chunks/CUkW7LC8.js.gz +0 -0
  1002. package/build/client/_app/immutable/chunks/CYjQE6-6.js +0 -1
  1003. package/build/client/_app/immutable/chunks/CYjQE6-6.js.br +0 -0
  1004. package/build/client/_app/immutable/chunks/CYjQE6-6.js.gz +0 -0
  1005. package/build/client/_app/immutable/chunks/CZrHjFO_.js +0 -1
  1006. package/build/client/_app/immutable/chunks/CZrHjFO_.js.br +0 -0
  1007. package/build/client/_app/immutable/chunks/CZrHjFO_.js.gz +0 -0
  1008. package/build/client/_app/immutable/chunks/C_qzx9_3.js +0 -1
  1009. package/build/client/_app/immutable/chunks/C_qzx9_3.js.br +0 -0
  1010. package/build/client/_app/immutable/chunks/C_qzx9_3.js.gz +0 -0
  1011. package/build/client/_app/immutable/chunks/Cbu9Tg11.js +0 -1
  1012. package/build/client/_app/immutable/chunks/Cbu9Tg11.js.br +0 -0
  1013. package/build/client/_app/immutable/chunks/Cbu9Tg11.js.gz +0 -0
  1014. package/build/client/_app/immutable/chunks/Chh9A0et.js +0 -9
  1015. package/build/client/_app/immutable/chunks/Chh9A0et.js.br +0 -0
  1016. package/build/client/_app/immutable/chunks/Chh9A0et.js.gz +0 -0
  1017. package/build/client/_app/immutable/chunks/CskIhLYX.js +0 -1
  1018. package/build/client/_app/immutable/chunks/CskIhLYX.js.br +0 -0
  1019. package/build/client/_app/immutable/chunks/CskIhLYX.js.gz +0 -0
  1020. package/build/client/_app/immutable/chunks/CtBHY3Ka.js +0 -1
  1021. package/build/client/_app/immutable/chunks/CtBHY3Ka.js.br +0 -0
  1022. package/build/client/_app/immutable/chunks/CtBHY3Ka.js.gz +0 -0
  1023. package/build/client/_app/immutable/chunks/CtMkeZKL.js +0 -1
  1024. package/build/client/_app/immutable/chunks/CtMkeZKL.js.br +0 -0
  1025. package/build/client/_app/immutable/chunks/CtMkeZKL.js.gz +0 -0
  1026. package/build/client/_app/immutable/chunks/CtQi8B_W.js +0 -64
  1027. package/build/client/_app/immutable/chunks/CtQi8B_W.js.br +0 -0
  1028. package/build/client/_app/immutable/chunks/CtQi8B_W.js.gz +0 -0
  1029. package/build/client/_app/immutable/chunks/D0ZkELYt.js +0 -2
  1030. package/build/client/_app/immutable/chunks/D0ZkELYt.js.br +0 -0
  1031. package/build/client/_app/immutable/chunks/D0ZkELYt.js.gz +0 -0
  1032. package/build/client/_app/immutable/chunks/D5IFV-e6.js +0 -1
  1033. package/build/client/_app/immutable/chunks/D5IFV-e6.js.br +0 -0
  1034. package/build/client/_app/immutable/chunks/D5IFV-e6.js.gz +0 -0
  1035. package/build/client/_app/immutable/chunks/D7Ywb5BJ.js +0 -1
  1036. package/build/client/_app/immutable/chunks/D7Ywb5BJ.js.br +0 -0
  1037. package/build/client/_app/immutable/chunks/D7Ywb5BJ.js.gz +0 -0
  1038. package/build/client/_app/immutable/chunks/D8BoMTkT.js +0 -1
  1039. package/build/client/_app/immutable/chunks/D8BoMTkT.js.br +0 -0
  1040. package/build/client/_app/immutable/chunks/D8BoMTkT.js.gz +0 -0
  1041. package/build/client/_app/immutable/chunks/DAEfq4bk.js +0 -1
  1042. package/build/client/_app/immutable/chunks/DAEfq4bk.js.br +0 -0
  1043. package/build/client/_app/immutable/chunks/DAEfq4bk.js.gz +0 -0
  1044. package/build/client/_app/immutable/chunks/DC7Xi_hb.js +0 -1
  1045. package/build/client/_app/immutable/chunks/DC7Xi_hb.js.br +0 -0
  1046. package/build/client/_app/immutable/chunks/DC7Xi_hb.js.gz +0 -0
  1047. package/build/client/_app/immutable/chunks/DGOwhknA.js +0 -1
  1048. package/build/client/_app/immutable/chunks/DGOwhknA.js.br +0 -0
  1049. package/build/client/_app/immutable/chunks/DGOwhknA.js.gz +0 -0
  1050. package/build/client/_app/immutable/chunks/DHFMIoXm.js +0 -1
  1051. package/build/client/_app/immutable/chunks/DHFMIoXm.js.br +0 -0
  1052. package/build/client/_app/immutable/chunks/DHFMIoXm.js.gz +0 -0
  1053. package/build/client/_app/immutable/chunks/DJH6cv81.js +0 -1
  1054. package/build/client/_app/immutable/chunks/DJH6cv81.js.br +0 -0
  1055. package/build/client/_app/immutable/chunks/DJH6cv81.js.gz +0 -0
  1056. package/build/client/_app/immutable/chunks/DQ9OrQjh.js +0 -1
  1057. package/build/client/_app/immutable/chunks/DQ9OrQjh.js.br +0 -0
  1058. package/build/client/_app/immutable/chunks/DQ9OrQjh.js.gz +0 -0
  1059. package/build/client/_app/immutable/chunks/DV1j3Tnl.js +0 -1
  1060. package/build/client/_app/immutable/chunks/DV1j3Tnl.js.br +0 -0
  1061. package/build/client/_app/immutable/chunks/DV1j3Tnl.js.gz +0 -0
  1062. package/build/client/_app/immutable/chunks/DVjXNHoG.js +0 -1
  1063. package/build/client/_app/immutable/chunks/DVjXNHoG.js.br +0 -0
  1064. package/build/client/_app/immutable/chunks/DVjXNHoG.js.gz +0 -0
  1065. package/build/client/_app/immutable/chunks/DWrPGMmw.js +0 -1
  1066. package/build/client/_app/immutable/chunks/DWrPGMmw.js.br +0 -0
  1067. package/build/client/_app/immutable/chunks/DWrPGMmw.js.gz +0 -0
  1068. package/build/client/_app/immutable/chunks/DYptmCKA.js +0 -1
  1069. package/build/client/_app/immutable/chunks/DYptmCKA.js.br +0 -0
  1070. package/build/client/_app/immutable/chunks/DYptmCKA.js.gz +0 -0
  1071. package/build/client/_app/immutable/chunks/Dh-VNqMc.js +0 -1
  1072. package/build/client/_app/immutable/chunks/Dh-VNqMc.js.br +0 -0
  1073. package/build/client/_app/immutable/chunks/Dh-VNqMc.js.gz +0 -0
  1074. package/build/client/_app/immutable/chunks/DjtMPMjk.js +0 -1
  1075. package/build/client/_app/immutable/chunks/DjtMPMjk.js.br +0 -0
  1076. package/build/client/_app/immutable/chunks/DjtMPMjk.js.gz +0 -0
  1077. package/build/client/_app/immutable/chunks/DsnmJJEf.js +0 -1
  1078. package/build/client/_app/immutable/chunks/DsnmJJEf.js.br +0 -2
  1079. package/build/client/_app/immutable/chunks/DsnmJJEf.js.gz +0 -0
  1080. package/build/client/_app/immutable/chunks/DvWy04ZP.js +0 -2
  1081. package/build/client/_app/immutable/chunks/DvWy04ZP.js.br +0 -0
  1082. package/build/client/_app/immutable/chunks/DvWy04ZP.js.gz +0 -0
  1083. package/build/client/_app/immutable/chunks/Dx721SA_.js +0 -1
  1084. package/build/client/_app/immutable/chunks/Dx721SA_.js.br +0 -0
  1085. package/build/client/_app/immutable/chunks/Dx721SA_.js.gz +0 -0
  1086. package/build/client/_app/immutable/chunks/Dy81fbL0.js +0 -1
  1087. package/build/client/_app/immutable/chunks/Dy81fbL0.js.br +0 -0
  1088. package/build/client/_app/immutable/chunks/Dy81fbL0.js.gz +0 -0
  1089. package/build/client/_app/immutable/chunks/DzgYcjQZ.js +0 -2
  1090. package/build/client/_app/immutable/chunks/DzgYcjQZ.js.br +0 -0
  1091. package/build/client/_app/immutable/chunks/DzgYcjQZ.js.gz +0 -0
  1092. package/build/client/_app/immutable/chunks/Fv05xoru.js +0 -1
  1093. package/build/client/_app/immutable/chunks/Fv05xoru.js.br +0 -0
  1094. package/build/client/_app/immutable/chunks/Fv05xoru.js.gz +0 -0
  1095. package/build/client/_app/immutable/chunks/KnYCIWmd.js +0 -1
  1096. package/build/client/_app/immutable/chunks/KnYCIWmd.js.br +0 -0
  1097. package/build/client/_app/immutable/chunks/KnYCIWmd.js.gz +0 -0
  1098. package/build/client/_app/immutable/chunks/KynSTIxv.js +0 -1
  1099. package/build/client/_app/immutable/chunks/KynSTIxv.js.br +0 -0
  1100. package/build/client/_app/immutable/chunks/KynSTIxv.js.gz +0 -0
  1101. package/build/client/_app/immutable/chunks/LmN6sTH7.js +0 -1
  1102. package/build/client/_app/immutable/chunks/LmN6sTH7.js.br +0 -0
  1103. package/build/client/_app/immutable/chunks/LmN6sTH7.js.gz +0 -0
  1104. package/build/client/_app/immutable/chunks/SWAub5RZ.js +0 -1
  1105. package/build/client/_app/immutable/chunks/SWAub5RZ.js.br +0 -0
  1106. package/build/client/_app/immutable/chunks/SWAub5RZ.js.gz +0 -0
  1107. package/build/client/_app/immutable/chunks/U-4yPKXC.js +0 -1
  1108. package/build/client/_app/immutable/chunks/U-4yPKXC.js.br +0 -0
  1109. package/build/client/_app/immutable/chunks/U-4yPKXC.js.gz +0 -0
  1110. package/build/client/_app/immutable/chunks/UKBbzc6l.js +0 -1
  1111. package/build/client/_app/immutable/chunks/UKBbzc6l.js.br +0 -0
  1112. package/build/client/_app/immutable/chunks/UKBbzc6l.js.gz +0 -0
  1113. package/build/client/_app/immutable/chunks/V3geQjfn.js +0 -1
  1114. package/build/client/_app/immutable/chunks/V3geQjfn.js.br +0 -0
  1115. package/build/client/_app/immutable/chunks/V3geQjfn.js.gz +0 -0
  1116. package/build/client/_app/immutable/chunks/YRdQdDS3.js +0 -1
  1117. package/build/client/_app/immutable/chunks/YRdQdDS3.js.br +0 -0
  1118. package/build/client/_app/immutable/chunks/YRdQdDS3.js.gz +0 -0
  1119. package/build/client/_app/immutable/chunks/YkmFSUxv.js +0 -1
  1120. package/build/client/_app/immutable/chunks/YkmFSUxv.js.br +0 -0
  1121. package/build/client/_app/immutable/chunks/YkmFSUxv.js.gz +0 -0
  1122. package/build/client/_app/immutable/chunks/ZqYjBqeu.js +0 -1
  1123. package/build/client/_app/immutable/chunks/ZqYjBqeu.js.br +0 -0
  1124. package/build/client/_app/immutable/chunks/ZqYjBqeu.js.gz +0 -0
  1125. package/build/client/_app/immutable/chunks/_ql0LFI5.js +0 -1
  1126. package/build/client/_app/immutable/chunks/_ql0LFI5.js.br +0 -0
  1127. package/build/client/_app/immutable/chunks/_ql0LFI5.js.gz +0 -0
  1128. package/build/client/_app/immutable/chunks/bNJob0UZ.js +0 -1
  1129. package/build/client/_app/immutable/chunks/bNJob0UZ.js.br +0 -0
  1130. package/build/client/_app/immutable/chunks/bNJob0UZ.js.gz +0 -0
  1131. package/build/client/_app/immutable/chunks/ee-g1Krm.js +0 -1
  1132. package/build/client/_app/immutable/chunks/ee-g1Krm.js.br +0 -0
  1133. package/build/client/_app/immutable/chunks/ee-g1Krm.js.gz +0 -0
  1134. package/build/client/_app/immutable/chunks/ftaqljSr.js +0 -1
  1135. package/build/client/_app/immutable/chunks/ftaqljSr.js.br +0 -0
  1136. package/build/client/_app/immutable/chunks/ftaqljSr.js.gz +0 -0
  1137. package/build/client/_app/immutable/chunks/hjkd3bAd.js +0 -1
  1138. package/build/client/_app/immutable/chunks/hjkd3bAd.js.br +0 -0
  1139. package/build/client/_app/immutable/chunks/hjkd3bAd.js.gz +0 -0
  1140. package/build/client/_app/immutable/chunks/i7-vYus5.js +0 -1
  1141. package/build/client/_app/immutable/chunks/i7-vYus5.js.br +0 -0
  1142. package/build/client/_app/immutable/chunks/i7-vYus5.js.gz +0 -0
  1143. package/build/client/_app/immutable/chunks/j7JNK5dy.js +0 -1
  1144. package/build/client/_app/immutable/chunks/j7JNK5dy.js.br +0 -0
  1145. package/build/client/_app/immutable/chunks/j7JNK5dy.js.gz +0 -0
  1146. package/build/client/_app/immutable/chunks/ko-CZCOO.js +0 -1
  1147. package/build/client/_app/immutable/chunks/ko-CZCOO.js.br +0 -0
  1148. package/build/client/_app/immutable/chunks/ko-CZCOO.js.gz +0 -0
  1149. package/build/client/_app/immutable/chunks/nV5IyOHx.js +0 -1
  1150. package/build/client/_app/immutable/chunks/nV5IyOHx.js.br +0 -0
  1151. package/build/client/_app/immutable/chunks/nV5IyOHx.js.gz +0 -0
  1152. package/build/client/_app/immutable/chunks/qXYj8soX.js +0 -1
  1153. package/build/client/_app/immutable/chunks/qXYj8soX.js.br +0 -0
  1154. package/build/client/_app/immutable/chunks/qXYj8soX.js.gz +0 -0
  1155. package/build/client/_app/immutable/chunks/vMJbIwwS.js +0 -1
  1156. package/build/client/_app/immutable/chunks/vMJbIwwS.js.br +0 -0
  1157. package/build/client/_app/immutable/chunks/vMJbIwwS.js.gz +0 -0
  1158. package/build/client/_app/immutable/chunks/wbPk3Yxo.js +0 -81
  1159. package/build/client/_app/immutable/chunks/wbPk3Yxo.js.br +0 -0
  1160. package/build/client/_app/immutable/chunks/wbPk3Yxo.js.gz +0 -0
  1161. package/build/client/_app/immutable/entry/app.CHLvYXSV.js +0 -2
  1162. package/build/client/_app/immutable/entry/app.CHLvYXSV.js.br +0 -0
  1163. package/build/client/_app/immutable/entry/app.CHLvYXSV.js.gz +0 -0
  1164. package/build/client/_app/immutable/entry/start.x7J2Q5dO.js +0 -1
  1165. package/build/client/_app/immutable/entry/start.x7J2Q5dO.js.br +0 -2
  1166. package/build/client/_app/immutable/entry/start.x7J2Q5dO.js.gz +0 -0
  1167. package/build/client/_app/immutable/nodes/0.BtUppuxZ.js +0 -1
  1168. package/build/client/_app/immutable/nodes/0.BtUppuxZ.js.br +0 -0
  1169. package/build/client/_app/immutable/nodes/0.BtUppuxZ.js.gz +0 -0
  1170. package/build/client/_app/immutable/nodes/1.DHaPDVfK.js +0 -1
  1171. package/build/client/_app/immutable/nodes/1.DHaPDVfK.js.br +0 -0
  1172. package/build/client/_app/immutable/nodes/1.DHaPDVfK.js.gz +0 -0
  1173. package/build/client/_app/immutable/nodes/10.O0oWpOpl.js +0 -3
  1174. package/build/client/_app/immutable/nodes/10.O0oWpOpl.js.br +0 -0
  1175. package/build/client/_app/immutable/nodes/10.O0oWpOpl.js.gz +0 -0
  1176. package/build/client/_app/immutable/nodes/11.DhYj36Fk.js +0 -4
  1177. package/build/client/_app/immutable/nodes/11.DhYj36Fk.js.br +0 -0
  1178. package/build/client/_app/immutable/nodes/11.DhYj36Fk.js.gz +0 -0
  1179. package/build/client/_app/immutable/nodes/12.BG_E0xBs.js +0 -1
  1180. package/build/client/_app/immutable/nodes/12.BG_E0xBs.js.br +0 -0
  1181. package/build/client/_app/immutable/nodes/12.BG_E0xBs.js.gz +0 -0
  1182. package/build/client/_app/immutable/nodes/13.CfJOch3J.js +0 -2
  1183. package/build/client/_app/immutable/nodes/13.CfJOch3J.js.br +0 -0
  1184. package/build/client/_app/immutable/nodes/13.CfJOch3J.js.gz +0 -0
  1185. package/build/client/_app/immutable/nodes/14.DisTiyB2.js +0 -2
  1186. package/build/client/_app/immutable/nodes/14.DisTiyB2.js.br +0 -0
  1187. package/build/client/_app/immutable/nodes/14.DisTiyB2.js.gz +0 -0
  1188. package/build/client/_app/immutable/nodes/15.A437nu0T.js +0 -21
  1189. package/build/client/_app/immutable/nodes/15.A437nu0T.js.br +0 -0
  1190. package/build/client/_app/immutable/nodes/15.A437nu0T.js.gz +0 -0
  1191. package/build/client/_app/immutable/nodes/16.B9S-bV_g.js +0 -6
  1192. package/build/client/_app/immutable/nodes/16.B9S-bV_g.js.br +0 -0
  1193. package/build/client/_app/immutable/nodes/16.B9S-bV_g.js.gz +0 -0
  1194. package/build/client/_app/immutable/nodes/17.BRN_aGIk.js +0 -2
  1195. package/build/client/_app/immutable/nodes/17.BRN_aGIk.js.br +0 -0
  1196. package/build/client/_app/immutable/nodes/17.BRN_aGIk.js.gz +0 -0
  1197. package/build/client/_app/immutable/nodes/18.D0QaQ7SF.js +0 -1
  1198. package/build/client/_app/immutable/nodes/18.D0QaQ7SF.js.br +0 -0
  1199. package/build/client/_app/immutable/nodes/18.D0QaQ7SF.js.gz +0 -0
  1200. package/build/client/_app/immutable/nodes/19.DwCFMX9M.js +0 -2
  1201. package/build/client/_app/immutable/nodes/19.DwCFMX9M.js.br +0 -0
  1202. package/build/client/_app/immutable/nodes/19.DwCFMX9M.js.gz +0 -0
  1203. package/build/client/_app/immutable/nodes/2.DP5fYr4M.js +0 -1
  1204. package/build/client/_app/immutable/nodes/2.DP5fYr4M.js.br +0 -0
  1205. package/build/client/_app/immutable/nodes/2.DP5fYr4M.js.gz +0 -0
  1206. package/build/client/_app/immutable/nodes/20.nfHXDL2z.js +0 -5414
  1207. package/build/client/_app/immutable/nodes/20.nfHXDL2z.js.br +0 -0
  1208. package/build/client/_app/immutable/nodes/20.nfHXDL2z.js.gz +0 -0
  1209. package/build/client/_app/immutable/nodes/21.OD5sg0NU.js +0 -6
  1210. package/build/client/_app/immutable/nodes/21.OD5sg0NU.js.br +0 -0
  1211. package/build/client/_app/immutable/nodes/21.OD5sg0NU.js.gz +0 -0
  1212. package/build/client/_app/immutable/nodes/23.CNjTTgpk.js +0 -16
  1213. package/build/client/_app/immutable/nodes/23.CNjTTgpk.js.br +0 -0
  1214. package/build/client/_app/immutable/nodes/23.CNjTTgpk.js.gz +0 -0
  1215. package/build/client/_app/immutable/nodes/24.CEgabT6P.js +0 -6
  1216. package/build/client/_app/immutable/nodes/24.CEgabT6P.js.br +0 -0
  1217. package/build/client/_app/immutable/nodes/24.CEgabT6P.js.gz +0 -0
  1218. package/build/client/_app/immutable/nodes/25.BEhXDpYA.js +0 -1
  1219. package/build/client/_app/immutable/nodes/25.BEhXDpYA.js.br +0 -0
  1220. package/build/client/_app/immutable/nodes/25.BEhXDpYA.js.gz +0 -0
  1221. package/build/client/_app/immutable/nodes/26.am_m2rvl.js +0 -3
  1222. package/build/client/_app/immutable/nodes/26.am_m2rvl.js.br +0 -0
  1223. package/build/client/_app/immutable/nodes/26.am_m2rvl.js.gz +0 -0
  1224. package/build/client/_app/immutable/nodes/27.CRIaBHAx.js +0 -4
  1225. package/build/client/_app/immutable/nodes/27.CRIaBHAx.js.br +0 -0
  1226. package/build/client/_app/immutable/nodes/27.CRIaBHAx.js.gz +0 -0
  1227. package/build/client/_app/immutable/nodes/28.BC6m2tWk.js +0 -4
  1228. package/build/client/_app/immutable/nodes/28.BC6m2tWk.js.br +0 -0
  1229. package/build/client/_app/immutable/nodes/28.BC6m2tWk.js.gz +0 -0
  1230. package/build/client/_app/immutable/nodes/29.BFYPdg-j.js +0 -2
  1231. package/build/client/_app/immutable/nodes/29.BFYPdg-j.js.br +0 -0
  1232. package/build/client/_app/immutable/nodes/29.BFYPdg-j.js.gz +0 -0
  1233. package/build/client/_app/immutable/nodes/3.J7HfMiHi.js +0 -1
  1234. package/build/client/_app/immutable/nodes/3.J7HfMiHi.js.br +0 -0
  1235. package/build/client/_app/immutable/nodes/3.J7HfMiHi.js.gz +0 -0
  1236. package/build/client/_app/immutable/nodes/30.60AXFjfN.js +0 -2
  1237. package/build/client/_app/immutable/nodes/30.60AXFjfN.js.br +0 -0
  1238. package/build/client/_app/immutable/nodes/30.60AXFjfN.js.gz +0 -0
  1239. package/build/client/_app/immutable/nodes/31.DrYUFw94.js +0 -2
  1240. package/build/client/_app/immutable/nodes/31.DrYUFw94.js.br +0 -0
  1241. package/build/client/_app/immutable/nodes/31.DrYUFw94.js.gz +0 -0
  1242. package/build/client/_app/immutable/nodes/32.ZgVhoynv.js +0 -3
  1243. package/build/client/_app/immutable/nodes/32.ZgVhoynv.js.br +0 -0
  1244. package/build/client/_app/immutable/nodes/32.ZgVhoynv.js.gz +0 -0
  1245. package/build/client/_app/immutable/nodes/4.H2ifb6h7.js +0 -1
  1246. package/build/client/_app/immutable/nodes/4.H2ifb6h7.js.br +0 -0
  1247. package/build/client/_app/immutable/nodes/4.H2ifb6h7.js.gz +0 -0
  1248. package/build/client/_app/immutable/nodes/5.CLnvzJQ1.js +0 -1
  1249. package/build/client/_app/immutable/nodes/5.CLnvzJQ1.js.br +0 -1
  1250. package/build/client/_app/immutable/nodes/5.CLnvzJQ1.js.gz +0 -0
  1251. package/build/client/_app/immutable/nodes/6.8mUhfqtj.js +0 -1
  1252. package/build/client/_app/immutable/nodes/6.8mUhfqtj.js.br +0 -0
  1253. package/build/client/_app/immutable/nodes/6.8mUhfqtj.js.gz +0 -0
  1254. package/build/client/_app/immutable/nodes/7.Bu0PYCkD.js +0 -1
  1255. package/build/client/_app/immutable/nodes/7.Bu0PYCkD.js.br +0 -0
  1256. package/build/client/_app/immutable/nodes/7.Bu0PYCkD.js.gz +0 -0
  1257. package/build/client/_app/immutable/nodes/8.CzmdM7pu.js +0 -2
  1258. package/build/client/_app/immutable/nodes/8.CzmdM7pu.js.br +0 -0
  1259. package/build/client/_app/immutable/nodes/8.CzmdM7pu.js.gz +0 -0
  1260. package/build/client/_app/immutable/nodes/9.BogAwqgH.js +0 -1
  1261. package/build/client/_app/immutable/nodes/9.BogAwqgH.js.br +0 -0
  1262. package/build/client/_app/immutable/nodes/9.BogAwqgH.js.gz +0 -0
  1263. package/build/server/chunks/chunks/AppHeader.js-CFw8mzj3.js +0 -271
  1264. package/build/server/chunks/chunks/AppHeader.js-CFw8mzj3.js.map +0 -1
  1265. package/build/server/chunks/chunks/DataTable.js-CrzsAEUO.js +0 -26
  1266. package/build/server/chunks/chunks/DataTable.js-CrzsAEUO.js.map +0 -1
  1267. package/build/server/chunks/chunks/DefinitionCard.js-ClDmveb4.js +0 -266
  1268. package/build/server/chunks/chunks/DefinitionCard.js-ClDmveb4.js.map +0 -1
  1269. package/build/server/chunks/chunks/EmptyState.js-kNMXuosu.js +0 -53
  1270. package/build/server/chunks/chunks/EmptyState.js-kNMXuosu.js.map +0 -1
  1271. package/build/server/chunks/chunks/ErrorScreen.js-BoWuE9fX.js +0 -131
  1272. package/build/server/chunks/chunks/ErrorScreen.js-BoWuE9fX.js.map +0 -1
  1273. package/build/server/chunks/chunks/FilterableDropdown.js-BWrd41sh.js +0 -61
  1274. package/build/server/chunks/chunks/FilterableDropdown.js-BWrd41sh.js.map +0 -1
  1275. package/build/server/chunks/chunks/SectionHeader.js-CAXaWvGQ.js +0 -32
  1276. package/build/server/chunks/chunks/SectionHeader.js-CAXaWvGQ.js.map +0 -1
  1277. package/build/server/chunks/chunks/SideNav.js-BCGElz9l.js +0 -78
  1278. package/build/server/chunks/chunks/SideNav.js-BCGElz9l.js.map +0 -1
  1279. package/build/server/chunks/chunks/StatCard.js-DFoZyZpu.js +0 -50
  1280. package/build/server/chunks/chunks/StatCard.js-DFoZyZpu.js.map +0 -1
  1281. package/build/server/chunks/chunks/UserAvatar.js-ChxL8O4y.js +0 -13
  1282. package/build/server/chunks/chunks/UserAvatar.js-ChxL8O4y.js.map +0 -1
  1283. package/build/server/chunks/chunks/UserChip.js-B-b1wH74.js +0 -1227
  1284. package/build/server/chunks/chunks/UserChip.js-B-b1wH74.js.map +0 -1
  1285. package/build/server/chunks/chunks/access.server.js-_nJWuQcN.js +0 -434
  1286. package/build/server/chunks/chunks/access.server.js-_nJWuQcN.js.map +0 -1
  1287. package/build/server/chunks/chunks/activity.js-DDbwF0Dy.js +0 -18
  1288. package/build/server/chunks/chunks/activity.js-DDbwF0Dy.js.map +0 -1
  1289. package/build/server/chunks/chunks/admin-auth.server.js-CitjWnKM.js +0 -107
  1290. package/build/server/chunks/chunks/admin-auth.server.js-CitjWnKM.js.map +0 -1
  1291. package/build/server/chunks/chunks/alert-description.js-Dgx6HVGb.js +0 -59
  1292. package/build/server/chunks/chunks/alert-description.js-Dgx6HVGb.js.map +0 -1
  1293. package/build/server/chunks/chunks/api-errors.js-DlfcfPJs.js +0 -160
  1294. package/build/server/chunks/chunks/api-errors.js-DlfcfPJs.js.map +0 -1
  1295. package/build/server/chunks/chunks/arrow-left.js-vUaCZ9ht.js +0 -14
  1296. package/build/server/chunks/chunks/arrow-left.js-vUaCZ9ht.js.map +0 -1
  1297. package/build/server/chunks/chunks/arrow-right.js-B3Vo61kG.js +0 -14
  1298. package/build/server/chunks/chunks/arrow-right.js-B3Vo61kG.js.map +0 -1
  1299. package/build/server/chunks/chunks/auth-bootstrap.server.js-S-F5QI4m.js +0 -99
  1300. package/build/server/chunks/chunks/auth-bootstrap.server.js-S-F5QI4m.js.map +0 -1
  1301. package/build/server/chunks/chunks/badge.js-PM8RQ8aQ.js +0 -50
  1302. package/build/server/chunks/chunks/badge.js-PM8RQ8aQ.js.map +0 -1
  1303. package/build/server/chunks/chunks/bootHealth.server.js-CvLSuL2x.js +0 -80
  1304. package/build/server/chunks/chunks/bootHealth.server.js-CvLSuL2x.js.map +0 -1
  1305. package/build/server/chunks/chunks/building-2.js-eG17FHzb.js +0 -22
  1306. package/build/server/chunks/chunks/building-2.js-eG17FHzb.js.map +0 -1
  1307. package/build/server/chunks/chunks/button.js-BJOi8y_L.js +0 -73
  1308. package/build/server/chunks/chunks/button.js-BJOi8y_L.js.map +0 -1
  1309. package/build/server/chunks/chunks/card-content.js-BXuESRJo.js +0 -46
  1310. package/build/server/chunks/chunks/card-content.js-BXuESRJo.js.map +0 -1
  1311. package/build/server/chunks/chunks/card-description.js-CjtEVGtG.js +0 -26
  1312. package/build/server/chunks/chunks/card-description.js-CjtEVGtG.js.map +0 -1
  1313. package/build/server/chunks/chunks/card-title.js-5H782qLu.js +0 -46
  1314. package/build/server/chunks/chunks/card-title.js-5H782qLu.js.map +0 -1
  1315. package/build/server/chunks/chunks/check.js-CUHxj7Ck.js +0 -11
  1316. package/build/server/chunks/chunks/check.js-CUHxj7Ck.js.map +0 -1
  1317. package/build/server/chunks/chunks/chevron-down.js-Cp3m51Ig.js +0 -11
  1318. package/build/server/chunks/chunks/chevron-down.js-Cp3m51Ig.js.map +0 -1
  1319. package/build/server/chunks/chunks/chevron-right.js-NeErv9Hc.js +0 -11
  1320. package/build/server/chunks/chunks/chevron-right.js-NeErv9Hc.js.map +0 -1
  1321. package/build/server/chunks/chunks/chevron-up.js-DcJJc7lc.js +0 -11
  1322. package/build/server/chunks/chunks/chevron-up.js-DcJJc7lc.js.map +0 -1
  1323. package/build/server/chunks/chunks/circle-alert.js-CzYXeLq0.js +0 -18
  1324. package/build/server/chunks/chunks/circle-alert.js-CzYXeLq0.js.map +0 -1
  1325. package/build/server/chunks/chunks/circle.js-BDNYdguh.js +0 -11
  1326. package/build/server/chunks/chunks/circle.js-BDNYdguh.js.map +0 -1
  1327. package/build/server/chunks/chunks/client.js-rjW6V14n.js +0 -35
  1328. package/build/server/chunks/chunks/client.js-rjW6V14n.js.map +0 -1
  1329. package/build/server/chunks/chunks/clientCache.server.js-BS8-NdiI.js +0 -163
  1330. package/build/server/chunks/chunks/clientCache.server.js-BS8-NdiI.js.map +0 -1
  1331. package/build/server/chunks/chunks/computeLimits.js-CQh4jXlX.js +0 -28
  1332. package/build/server/chunks/chunks/computeLimits.js-CQh4jXlX.js.map +0 -1
  1333. package/build/server/chunks/chunks/context.js-DsQGiS2x.js +0 -199
  1334. package/build/server/chunks/chunks/context.js-DsQGiS2x.js.map +0 -1
  1335. package/build/server/chunks/chunks/copy.js-8IzAWpdM.js +0 -29
  1336. package/build/server/chunks/chunks/copy.js-8IzAWpdM.js.map +0 -1
  1337. package/build/server/chunks/chunks/create-id.js-DLd1XgVR.js +0 -653
  1338. package/build/server/chunks/chunks/create-id.js-DLd1XgVR.js.map +0 -1
  1339. package/build/server/chunks/chunks/dialog-description.js-CT2YzXQx.js +0 -523
  1340. package/build/server/chunks/chunks/dialog-description.js-CT2YzXQx.js.map +0 -1
  1341. package/build/server/chunks/chunks/dialog-footer.js-UUB_fRwN.js +0 -62
  1342. package/build/server/chunks/chunks/dialog-footer.js-UUB_fRwN.js.map +0 -1
  1343. package/build/server/chunks/chunks/events.js-C_8t8jPk.js +0 -120
  1344. package/build/server/chunks/chunks/events.js-C_8t8jPk.js.map +0 -1
  1345. package/build/server/chunks/chunks/evictChangedServers.js-R3UCE6wP.js +0 -18
  1346. package/build/server/chunks/chunks/evictChangedServers.js-R3UCE6wP.js.map +0 -1
  1347. package/build/server/chunks/chunks/exports.js-BZBK1HC9.js +0 -161
  1348. package/build/server/chunks/chunks/exports.js-BZBK1HC9.js.map +0 -1
  1349. package/build/server/chunks/chunks/false.js-D7l62FnJ.js +0 -502
  1350. package/build/server/chunks/chunks/false.js-D7l62FnJ.js.map +0 -1
  1351. package/build/server/chunks/chunks/folder-kanban.js-CMeUuHy5.js +0 -21
  1352. package/build/server/chunks/chunks/folder-kanban.js-CMeUuHy5.js.map +0 -1
  1353. package/build/server/chunks/chunks/folder-open.js-DcwNVxBP.js +0 -18
  1354. package/build/server/chunks/chunks/folder-open.js-DcwNVxBP.js.map +0 -1
  1355. package/build/server/chunks/chunks/folders.js-CfbhPBdU.js +0 -24
  1356. package/build/server/chunks/chunks/folders.js-CfbhPBdU.js.map +0 -1
  1357. package/build/server/chunks/chunks/footerContext.svelte.js-0Fe-royT.js +0 -531
  1358. package/build/server/chunks/chunks/footerContext.svelte.js-0Fe-royT.js.map +0 -1
  1359. package/build/server/chunks/chunks/gauge.js-Df6AFpkm.js +0 -14
  1360. package/build/server/chunks/chunks/gauge.js-Df6AFpkm.js.map +0 -1
  1361. package/build/server/chunks/chunks/html.js-FW6Ia4bL.js +0 -8
  1362. package/build/server/chunks/chunks/html.js-FW6Ia4bL.js.map +0 -1
  1363. package/build/server/chunks/chunks/index-server.js-DMc-UvjC.js +0 -19
  1364. package/build/server/chunks/chunks/index-server.js-DMc-UvjC.js.map +0 -1
  1365. package/build/server/chunks/chunks/index-server2.js-6B50dxZw.js +0 -18
  1366. package/build/server/chunks/chunks/index-server2.js-6B50dxZw.js.map +0 -1
  1367. package/build/server/chunks/chunks/index.js-BXhiSeu6.js +0 -58
  1368. package/build/server/chunks/chunks/index.js-BXhiSeu6.js.map +0 -1
  1369. package/build/server/chunks/chunks/index2.js-Cqm0hDWS.js +0 -29
  1370. package/build/server/chunks/chunks/index2.js-Cqm0hDWS.js.map +0 -1
  1371. package/build/server/chunks/chunks/index3.js-1TgPl-ig.js +0 -3389
  1372. package/build/server/chunks/chunks/index3.js-1TgPl-ig.js.map +0 -1
  1373. package/build/server/chunks/chunks/index4.js-Bs0VT6dm.js +0 -430
  1374. package/build/server/chunks/chunks/index4.js-Bs0VT6dm.js.map +0 -1
  1375. package/build/server/chunks/chunks/index5.js-DtflJpxD.js +0 -4246
  1376. package/build/server/chunks/chunks/index5.js-DtflJpxD.js.map +0 -1
  1377. package/build/server/chunks/chunks/index6.js-B0SULaow.js +0 -541
  1378. package/build/server/chunks/chunks/index6.js-B0SULaow.js.map +0 -1
  1379. package/build/server/chunks/chunks/input.js-CZAqT7SZ.js +0 -53
  1380. package/build/server/chunks/chunks/input.js-CZAqT7SZ.js.map +0 -1
  1381. package/build/server/chunks/chunks/internal.js-Bf8x1V_n.js +0 -16
  1382. package/build/server/chunks/chunks/internal.js-Bf8x1V_n.js.map +0 -1
  1383. package/build/server/chunks/chunks/internal2.js-BBcEKa-m.js +0 -121
  1384. package/build/server/chunks/chunks/internal2.js-BBcEKa-m.js.map +0 -1
  1385. package/build/server/chunks/chunks/label.js-BECs2WqP.js +0 -112
  1386. package/build/server/chunks/chunks/label.js-BECs2WqP.js.map +0 -1
  1387. package/build/server/chunks/chunks/link-2.js-oCv2EfKt.js +0 -15
  1388. package/build/server/chunks/chunks/link-2.js-oCv2EfKt.js.map +0 -1
  1389. package/build/server/chunks/chunks/mail.js-82emVbox.js +0 -17
  1390. package/build/server/chunks/chunks/mail.js-82emVbox.js.map +0 -1
  1391. package/build/server/chunks/chunks/minus.js-CZ4v0PcT.js +0 -20
  1392. package/build/server/chunks/chunks/minus.js-CZ4v0PcT.js.map +0 -1
  1393. package/build/server/chunks/chunks/noop.js-DGDhGEa2.js +0 -270
  1394. package/build/server/chunks/chunks/noop.js-DGDhGEa2.js.map +0 -1
  1395. package/build/server/chunks/chunks/org-members.server.js-DskaqUJo.js +0 -24
  1396. package/build/server/chunks/chunks/org-members.server.js-DskaqUJo.js.map +0 -1
  1397. package/build/server/chunks/chunks/package.js-Cl0z1gce.js +0 -31
  1398. package/build/server/chunks/chunks/package.js-Cl0z1gce.js.map +0 -1
  1399. package/build/server/chunks/chunks/permissions-compat.server.js-DNsLyriU.js +0 -19
  1400. package/build/server/chunks/chunks/permissions-compat.server.js-DNsLyriU.js.map +0 -1
  1401. package/build/server/chunks/chunks/permissions.server.js-C3_SFjUh.js +0 -8
  1402. package/build/server/chunks/chunks/permissions.server.js-C3_SFjUh.js.map +0 -1
  1403. package/build/server/chunks/chunks/plus.js-bhWf5BdQ.js +0 -11
  1404. package/build/server/chunks/chunks/plus.js-bhWf5BdQ.js.map +0 -1
  1405. package/build/server/chunks/chunks/providers.server.js-CIHOepKv.js +0 -5103
  1406. package/build/server/chunks/chunks/providers.server.js-CIHOepKv.js.map +0 -1
  1407. package/build/server/chunks/chunks/randomId.js-8gj3Lbuq.js +0 -25
  1408. package/build/server/chunks/chunks/randomId.js-8gj3Lbuq.js.map +0 -1
  1409. package/build/server/chunks/chunks/redirect.js-1CZ30qn2.js +0 -9
  1410. package/build/server/chunks/chunks/redirect.js-1CZ30qn2.js.map +0 -1
  1411. package/build/server/chunks/chunks/refresh-cw.js-CWyfzhgM.js +0 -22
  1412. package/build/server/chunks/chunks/refresh-cw.js-CWyfzhgM.js.map +0 -1
  1413. package/build/server/chunks/chunks/resolve.server.js-Dg1o2vnd.js +0 -50
  1414. package/build/server/chunks/chunks/resolve.server.js-Dg1o2vnd.js.map +0 -1
  1415. package/build/server/chunks/chunks/root.js-B9qulpv0.js +0 -885
  1416. package/build/server/chunks/chunks/root.js-B9qulpv0.js.map +0 -1
  1417. package/build/server/chunks/chunks/rotate-ccw.js-C9J1brOQ.js +0 -17
  1418. package/build/server/chunks/chunks/rotate-ccw.js-C9J1brOQ.js.map +0 -1
  1419. package/build/server/chunks/chunks/schema.js-j3D3emog.js +0 -25
  1420. package/build/server/chunks/chunks/schema.js-j3D3emog.js.map +0 -1
  1421. package/build/server/chunks/chunks/scroll-lock.js-DlnpOFhy.js +0 -2854
  1422. package/build/server/chunks/chunks/scroll-lock.js-DlnpOFhy.js.map +0 -1
  1423. package/build/server/chunks/chunks/scroll-text.js-BAkeVJ87.js +0 -21
  1424. package/build/server/chunks/chunks/scroll-text.js-BAkeVJ87.js.map +0 -1
  1425. package/build/server/chunks/chunks/selfUpdate.server.js-CXejyqIT.js +0 -109
  1426. package/build/server/chunks/chunks/selfUpdate.server.js-CXejyqIT.js.map +0 -1
  1427. package/build/server/chunks/chunks/server.js-BZyIadL1.js +0 -36
  1428. package/build/server/chunks/chunks/server.js-BZyIadL1.js.map +0 -1
  1429. package/build/server/chunks/chunks/settings.js-OMxuJnOc.js +0 -19
  1430. package/build/server/chunks/chunks/settings.js-OMxuJnOc.js.map +0 -1
  1431. package/build/server/chunks/chunks/shared-server.js-DaWdgxVh.js +0 -11
  1432. package/build/server/chunks/chunks/shared-server.js-DaWdgxVh.js.map +0 -1
  1433. package/build/server/chunks/chunks/shield-check.js-DHYqG6-P.js +0 -19
  1434. package/build/server/chunks/chunks/shield-check.js-DHYqG6-P.js.map +0 -1
  1435. package/build/server/chunks/chunks/shield.js-BBk7Kdqw.js +0 -18
  1436. package/build/server/chunks/chunks/shield.js-BBk7Kdqw.js.map +0 -1
  1437. package/build/server/chunks/chunks/slug.js-BGuFQjqe.js +0 -6
  1438. package/build/server/chunks/chunks/slug.js-BGuFQjqe.js.map +0 -1
  1439. package/build/server/chunks/chunks/solve-cache-key.js-BIwJfBG9.js +0 -320
  1440. package/build/server/chunks/chunks/solve-cache-key.js-BIwJfBG9.js.map +0 -1
  1441. package/build/server/chunks/chunks/star.js-DdMPvIeG.js +0 -18
  1442. package/build/server/chunks/chunks/star.js-DdMPvIeG.js.map +0 -1
  1443. package/build/server/chunks/chunks/state.svelte.js-B1mif5Rv.js +0 -14
  1444. package/build/server/chunks/chunks/state.svelte.js-B1mif5Rv.js.map +0 -1
  1445. package/build/server/chunks/chunks/stores.js-CeuhLX66.js +0 -33
  1446. package/build/server/chunks/chunks/stores.js-CeuhLX66.js.map +0 -1
  1447. package/build/server/chunks/chunks/textarea.js-DSuZda7a.js +0 -559
  1448. package/build/server/chunks/chunks/textarea.js-DSuZda7a.js.map +0 -1
  1449. package/build/server/chunks/chunks/toast-state.svelte.js-rv59tr_Z.js +0 -185
  1450. package/build/server/chunks/chunks/toast-state.svelte.js-rv59tr_Z.js.map +0 -1
  1451. package/build/server/chunks/chunks/token-codec.js-1RPNe2RW.js +0 -32
  1452. package/build/server/chunks/chunks/token-codec.js-1RPNe2RW.js.map +0 -1
  1453. package/build/server/chunks/chunks/token.server.js-DbTfFk9r.js +0 -26
  1454. package/build/server/chunks/chunks/token.server.js-DbTfFk9r.js.map +0 -1
  1455. package/build/server/chunks/chunks/token2.server.js-Cjb4XaWC.js +0 -29
  1456. package/build/server/chunks/chunks/token2.server.js-Cjb4XaWC.js.map +0 -1
  1457. package/build/server/chunks/chunks/trash-2.js-BvQWKGzx.js +0 -17
  1458. package/build/server/chunks/chunks/trash-2.js-BvQWKGzx.js.map +0 -1
  1459. package/build/server/chunks/chunks/triangle-alert.js-a9PLk12i.js +0 -20
  1460. package/build/server/chunks/chunks/triangle-alert.js-a9PLk12i.js.map +0 -1
  1461. package/build/server/chunks/chunks/types.js-DdHhYSMF.js +0 -4
  1462. package/build/server/chunks/chunks/types.js-DdHhYSMF.js.map +0 -1
  1463. package/build/server/chunks/chunks/update-outcome.js-mUyfVCnt.js +0 -99
  1464. package/build/server/chunks/chunks/update-outcome.js-mUyfVCnt.js.map +0 -1
  1465. package/build/server/chunks/chunks/updateCheck.server.js-DdReI2pF.js +0 -93
  1466. package/build/server/chunks/chunks/updateCheck.server.js-DdReI2pF.js.map +0 -1
  1467. package/build/server/chunks/chunks/user-plus.js-C79EvE-G.js +0 -16
  1468. package/build/server/chunks/chunks/user-plus.js-C79EvE-G.js.map +0 -1
  1469. package/build/server/chunks/chunks/users.js-DwBX6Aks.js +0 -16
  1470. package/build/server/chunks/chunks/users.js-DwBX6Aks.js.map +0 -1
  1471. package/build/server/chunks/chunks/utils.js-DVtdpNMY.js +0 -1275
  1472. package/build/server/chunks/chunks/utils.js-DVtdpNMY.js.map +0 -1
  1473. package/build/server/chunks/chunks/utils2.js-BQzn9ikS.js +0 -38
  1474. package/build/server/chunks/chunks/utils2.js-BQzn9ikS.js.map +0 -1
  1475. package/build/server/chunks/chunks/utils3.js-DyHrfoD2.js +0 -80
  1476. package/build/server/chunks/chunks/utils3.js-DyHrfoD2.js.map +0 -1
  1477. package/build/server/chunks/chunks/utils4.js-8SHxuGTr.js +0 -50
  1478. package/build/server/chunks/chunks/utils4.js-8SHxuGTr.js.map +0 -1
  1479. package/build/server/chunks/chunks/x.js-BlyP6uhC.js +0 -14
  1480. package/build/server/chunks/chunks/x.js-BlyP6uhC.js.map +0 -1
  1481. package/build/server/chunks/entries/endpoints/admin/api/compute/_server.ts.js-CR_1eCgH.js +0 -108
  1482. package/build/server/chunks/entries/endpoints/admin/api/compute/_server.ts.js-CR_1eCgH.js.map +0 -1
  1483. package/build/server/chunks/entries/endpoints/admin/api/compute/actions/_server.ts.js-D1UFM_o6.js +0 -48
  1484. package/build/server/chunks/entries/endpoints/admin/api/compute/actions/_server.ts.js-D1UFM_o6.js.map +0 -1
  1485. package/build/server/chunks/entries/endpoints/admin/api/compute/status/_server.ts.js-DdzXkztc.js +0 -81
  1486. package/build/server/chunks/entries/endpoints/admin/api/compute/status/_server.ts.js-DdzXkztc.js.map +0 -1
  1487. package/build/server/chunks/entries/endpoints/admin/api/orgs/_id_/_server.ts.js-CqdBKOC6.js +0 -51
  1488. package/build/server/chunks/entries/endpoints/admin/api/orgs/_id_/_server.ts.js-CqdBKOC6.js.map +0 -1
  1489. package/build/server/chunks/entries/endpoints/admin/api/orgs/_id_/assets/_kind_/_server.ts.js-Bi3NbLd3.js +0 -83
  1490. package/build/server/chunks/entries/endpoints/admin/api/orgs/_id_/assets/_kind_/_server.ts.js-Bi3NbLd3.js.map +0 -1
  1491. package/build/server/chunks/entries/endpoints/admin/api/orgs/_server.ts.js-C3ZwVpyg.js +0 -61
  1492. package/build/server/chunks/entries/endpoints/admin/api/orgs/_server.ts.js-C3ZwVpyg.js.map +0 -1
  1493. package/build/server/chunks/entries/endpoints/admin/api/projects/_id_/_server.ts.js-CAe8T4G6.js +0 -78
  1494. package/build/server/chunks/entries/endpoints/admin/api/projects/_id_/_server.ts.js-CAe8T4G6.js.map +0 -1
  1495. package/build/server/chunks/entries/endpoints/admin/api/projects/_id_/grants/_grantId_/_server.ts.js-DHYHT1N8.js +0 -32
  1496. package/build/server/chunks/entries/endpoints/admin/api/projects/_id_/grants/_grantId_/_server.ts.js-DHYHT1N8.js.map +0 -1
  1497. package/build/server/chunks/entries/endpoints/admin/api/projects/_id_/grants/_server.ts.js-Cgt7iGfE.js +0 -82
  1498. package/build/server/chunks/entries/endpoints/admin/api/projects/_id_/grants/_server.ts.js-Cgt7iGfE.js.map +0 -1
  1499. package/build/server/chunks/entries/endpoints/admin/api/projects/_server.ts.js-BFi1Di59.js +0 -119
  1500. package/build/server/chunks/entries/endpoints/admin/api/projects/_server.ts.js-BFi1Di59.js.map +0 -1
  1501. package/build/server/chunks/entries/endpoints/admin/api/system/health/_server.ts.js-Br7kd03s.js +0 -192
  1502. package/build/server/chunks/entries/endpoints/admin/api/system/health/_server.ts.js-Br7kd03s.js.map +0 -1
  1503. package/build/server/chunks/entries/endpoints/admin/api/system/throughput/_server.ts.js-ufKMuphM.js +0 -80
  1504. package/build/server/chunks/entries/endpoints/admin/api/system/throughput/_server.ts.js-ufKMuphM.js.map +0 -1
  1505. package/build/server/chunks/entries/endpoints/admin/api/system/update/_server.ts.js-D-IGlEji.js +0 -426
  1506. package/build/server/chunks/entries/endpoints/admin/api/system/update/_server.ts.js-D-IGlEji.js.map +0 -1
  1507. package/build/server/chunks/entries/endpoints/admin/api/users/_id_/_server.ts.js-7Efk1xkU.js +0 -107
  1508. package/build/server/chunks/entries/endpoints/admin/api/users/_id_/_server.ts.js-7Efk1xkU.js.map +0 -1
  1509. package/build/server/chunks/entries/endpoints/admin/api/users/_id_/disable/_server.ts.js-4UrDw7Q3.js +0 -41
  1510. package/build/server/chunks/entries/endpoints/admin/api/users/_id_/disable/_server.ts.js-4UrDw7Q3.js.map +0 -1
  1511. package/build/server/chunks/entries/endpoints/admin/api/users/_server.ts.js-B9ZWJoST.js +0 -114
  1512. package/build/server/chunks/entries/endpoints/admin/api/users/_server.ts.js-B9ZWJoST.js.map +0 -1
  1513. package/build/server/chunks/entries/endpoints/api/compute/_server.ts.js-D9qvgnX7.js +0 -717
  1514. package/build/server/chunks/entries/endpoints/api/compute/_server.ts.js-D9qvgnX7.js.map +0 -1
  1515. package/build/server/chunks/entries/endpoints/api/compute/schema/_server.ts.js-CoS51dOD.js +0 -70
  1516. package/build/server/chunks/entries/endpoints/api/compute/schema/_server.ts.js-CoS51dOD.js.map +0 -1
  1517. package/build/server/chunks/entries/endpoints/api/definitions/_guid_/_server.ts.js-D7jS25IN.js +0 -96
  1518. package/build/server/chunks/entries/endpoints/api/definitions/_guid_/_server.ts.js-D7jS25IN.js.map +0 -1
  1519. package/build/server/chunks/entries/endpoints/api/definitions/_guid_/image/_filename_/_server.ts.js-5hlsFhI1.js +0 -45
  1520. package/build/server/chunks/entries/endpoints/api/definitions/_guid_/image/_filename_/_server.ts.js-5hlsFhI1.js.map +0 -1
  1521. package/build/server/chunks/entries/endpoints/api/definitions/_guid_/image/_server.ts.js-CRMcPOgH.js +0 -50
  1522. package/build/server/chunks/entries/endpoints/api/definitions/_guid_/image/_server.ts.js-CRMcPOgH.js.map +0 -1
  1523. package/build/server/chunks/entries/endpoints/api/definitions/_guid_/publish/_server.ts.js-C8-AAq8y.js +0 -38
  1524. package/build/server/chunks/entries/endpoints/api/definitions/_guid_/publish/_server.ts.js-C8-AAq8y.js.map +0 -1
  1525. package/build/server/chunks/entries/endpoints/api/definitions/_guid_/share-links/_linkId_/_server.ts.js-LV0ZGJh9.js +0 -45
  1526. package/build/server/chunks/entries/endpoints/api/definitions/_guid_/share-links/_linkId_/_server.ts.js-LV0ZGJh9.js.map +0 -1
  1527. package/build/server/chunks/entries/endpoints/api/definitions/_guid_/share-links/_server.ts.js-OUvpfSN4.js +0 -86
  1528. package/build/server/chunks/entries/endpoints/api/definitions/_guid_/share-links/_server.ts.js-OUvpfSN4.js.map +0 -1
  1529. package/build/server/chunks/entries/endpoints/api/definitions/_guid_/versions/_server.ts.js-BJxBKsrU.js +0 -45
  1530. package/build/server/chunks/entries/endpoints/api/definitions/_guid_/versions/_server.ts.js-BJxBKsrU.js.map +0 -1
  1531. package/build/server/chunks/entries/endpoints/api/definitions/_guid_/versions/_versionId_/_server.ts.js-BaHW7TEs.js +0 -34
  1532. package/build/server/chunks/entries/endpoints/api/definitions/_guid_/versions/_versionId_/_server.ts.js-BaHW7TEs.js.map +0 -1
  1533. package/build/server/chunks/entries/endpoints/api/definitions/_server.ts.js-CBMi-KUD.js +0 -117
  1534. package/build/server/chunks/entries/endpoints/api/definitions/_server.ts.js-CBMi-KUD.js.map +0 -1
  1535. package/build/server/chunks/entries/endpoints/api/diag/throughput/_server.ts.js-C98KkHLg.js +0 -56
  1536. package/build/server/chunks/entries/endpoints/api/diag/throughput/_server.ts.js-C98KkHLg.js.map +0 -1
  1537. package/build/server/chunks/entries/endpoints/api/files/_...path_/_server.ts.js-CeTV6qVK.js +0 -67
  1538. package/build/server/chunks/entries/endpoints/api/files/_...path_/_server.ts.js-CeTV6qVK.js.map +0 -1
  1539. package/build/server/chunks/entries/endpoints/api/health/_server.ts.js-7eclLbhJ.js +0 -39
  1540. package/build/server/chunks/entries/endpoints/api/health/_server.ts.js-7eclLbhJ.js.map +0 -1
  1541. package/build/server/chunks/entries/endpoints/api/invites/_id_/_server.ts.js-DNh5594J.js +0 -44
  1542. package/build/server/chunks/entries/endpoints/api/invites/_id_/_server.ts.js-DNh5594J.js.map +0 -1
  1543. package/build/server/chunks/entries/endpoints/api/invites/_server.ts.js-DGKHjtw8.js +0 -74
  1544. package/build/server/chunks/entries/endpoints/api/invites/_server.ts.js-DGKHjtw8.js.map +0 -1
  1545. package/build/server/chunks/entries/endpoints/api/me/starred/_guid_/_server.ts.js-CZ50nT84.js +0 -41
  1546. package/build/server/chunks/entries/endpoints/api/me/starred/_guid_/_server.ts.js-CZ50nT84.js.map +0 -1
  1547. package/build/server/chunks/entries/endpoints/api/org/compute/_server.ts.js-Bf1qSz52.js +0 -130
  1548. package/build/server/chunks/entries/endpoints/api/org/compute/_server.ts.js-Bf1qSz52.js.map +0 -1
  1549. package/build/server/chunks/entries/endpoints/api/orgs/_orgId_/members/_userId_/_server.ts.js-8PZedKem.js +0 -87
  1550. package/build/server/chunks/entries/endpoints/api/orgs/_orgId_/members/_userId_/_server.ts.js-8PZedKem.js.map +0 -1
  1551. package/build/server/chunks/entries/endpoints/api/projects/_id_/_server.ts.js-C6v2wqYB.js +0 -88
  1552. package/build/server/chunks/entries/endpoints/api/projects/_id_/_server.ts.js-C6v2wqYB.js.map +0 -1
  1553. package/build/server/chunks/entries/endpoints/api/projects/_id_/members/_server.ts.js-B3WPTw6C.js +0 -64
  1554. package/build/server/chunks/entries/endpoints/api/projects/_id_/members/_server.ts.js-B3WPTw6C.js.map +0 -1
  1555. package/build/server/chunks/entries/endpoints/api/projects/_id_/members/_userId_/_server.ts.js-CY3ngc5p.js +0 -78
  1556. package/build/server/chunks/entries/endpoints/api/projects/_id_/members/_userId_/_server.ts.js-CY3ngc5p.js.map +0 -1
  1557. package/build/server/chunks/entries/endpoints/api/projects/_id_/reclaim/_server.ts.js-DMAeVu3R.js +0 -41
  1558. package/build/server/chunks/entries/endpoints/api/projects/_id_/reclaim/_server.ts.js-DMAeVu3R.js.map +0 -1
  1559. package/build/server/chunks/entries/endpoints/api/projects/_server.ts.js-D32BzObk.js +0 -97
  1560. package/build/server/chunks/entries/endpoints/api/projects/_server.ts.js-D32BzObk.js.map +0 -1
  1561. package/build/server/chunks/entries/endpoints/auth/email/callback/_server.ts.js-DREl2Sbq.js +0 -41
  1562. package/build/server/chunks/entries/endpoints/auth/email/callback/_server.ts.js-DREl2Sbq.js.map +0 -1
  1563. package/build/server/chunks/entries/endpoints/auth/supabase/callback/_server.ts.js-CmIWOQ81.js +0 -42
  1564. package/build/server/chunks/entries/endpoints/auth/supabase/callback/_server.ts.js-CmIWOQ81.js.map +0 -1
  1565. package/build/server/chunks/entries/endpoints/auth/supabase/start/_server.ts.js-D0O8rZwg.js +0 -44
  1566. package/build/server/chunks/entries/endpoints/auth/supabase/start/_server.ts.js-D0O8rZwg.js.map +0 -1
  1567. package/build/server/chunks/entries/hooks.server.js-DSn6v_nP.js +0 -306
  1568. package/build/server/chunks/entries/hooks.server.js-DSn6v_nP.js.map +0 -1
  1569. package/build/server/chunks/entries/pages/_error.svelte.js-Dujk6GHn.js +0 -34
  1570. package/build/server/chunks/entries/pages/_error.svelte.js-Dujk6GHn.js.map +0 -1
  1571. package/build/server/chunks/entries/pages/_layout.server.ts.js-Cts38lSM.js +0 -38
  1572. package/build/server/chunks/entries/pages/_layout.server.ts.js-Cts38lSM.js.map +0 -1
  1573. package/build/server/chunks/entries/pages/_layout.svelte.js-D2qG2ydh.js +0 -796
  1574. package/build/server/chunks/entries/pages/_layout.svelte.js-D2qG2ydh.js.map +0 -1
  1575. package/build/server/chunks/entries/pages/_page.server.ts.js-sIx1i2NO.js +0 -11
  1576. package/build/server/chunks/entries/pages/_page.server.ts.js-sIx1i2NO.js.map +0 -1
  1577. package/build/server/chunks/entries/pages/_page.svelte.js-CYQu3OW6.js +0 -77
  1578. package/build/server/chunks/entries/pages/_page.svelte.js-CYQu3OW6.js.map +0 -1
  1579. package/build/server/chunks/entries/pages/accept-invite/_page.server.ts.js-BIr1NoEK.js +0 -114
  1580. package/build/server/chunks/entries/pages/accept-invite/_page.server.ts.js-BIr1NoEK.js.map +0 -1
  1581. package/build/server/chunks/entries/pages/accept-invite/_page.svelte.js-C9sIgJMJ.js +0 -151
  1582. package/build/server/chunks/entries/pages/accept-invite/_page.svelte.js-C9sIgJMJ.js.map +0 -1
  1583. package/build/server/chunks/entries/pages/admin/_error.svelte.js-BV2ESSW6.js +0 -32
  1584. package/build/server/chunks/entries/pages/admin/_error.svelte.js-BV2ESSW6.js.map +0 -1
  1585. package/build/server/chunks/entries/pages/admin/_layout.server.ts.js-DjB5P2N0.js +0 -23
  1586. package/build/server/chunks/entries/pages/admin/_layout.server.ts.js-DjB5P2N0.js.map +0 -1
  1587. package/build/server/chunks/entries/pages/admin/_layout.svelte.js-CDIsPTI9.js +0 -114
  1588. package/build/server/chunks/entries/pages/admin/_layout.svelte.js-CDIsPTI9.js.map +0 -1
  1589. package/build/server/chunks/entries/pages/admin/_page.server.ts.js-DMawiAOU.js +0 -46
  1590. package/build/server/chunks/entries/pages/admin/_page.server.ts.js-DMawiAOU.js.map +0 -1
  1591. package/build/server/chunks/entries/pages/admin/_page.svelte.js-J6ZlWN_N.js +0 -343
  1592. package/build/server/chunks/entries/pages/admin/_page.svelte.js-J6ZlWN_N.js.map +0 -1
  1593. package/build/server/chunks/entries/pages/admin/audit/_page.server.ts.js-CJie_AQe.js +0 -211
  1594. package/build/server/chunks/entries/pages/admin/audit/_page.server.ts.js-CJie_AQe.js.map +0 -1
  1595. package/build/server/chunks/entries/pages/admin/audit/_page.svelte.js-B3TE0-_a.js +0 -458
  1596. package/build/server/chunks/entries/pages/admin/audit/_page.svelte.js-B3TE0-_a.js.map +0 -1
  1597. package/build/server/chunks/entries/pages/admin/compute/_page.server.ts.js-DJI-BqLn.js +0 -40
  1598. package/build/server/chunks/entries/pages/admin/compute/_page.server.ts.js-DJI-BqLn.js.map +0 -1
  1599. package/build/server/chunks/entries/pages/admin/compute/_page.svelte.js-BawvPMLE.js +0 -640
  1600. package/build/server/chunks/entries/pages/admin/compute/_page.svelte.js-BawvPMLE.js.map +0 -1
  1601. package/build/server/chunks/entries/pages/admin/organizations/_page.server.ts.js-DRZlByRc.js +0 -36
  1602. package/build/server/chunks/entries/pages/admin/organizations/_page.server.ts.js-DRZlByRc.js.map +0 -1
  1603. package/build/server/chunks/entries/pages/admin/organizations/_page.svelte.js-Bh_H5KHz.js +0 -84
  1604. package/build/server/chunks/entries/pages/admin/organizations/_page.svelte.js-Bh_H5KHz.js.map +0 -1
  1605. package/build/server/chunks/entries/pages/admin/projects/_id_/_page.server.ts.js-cnc8alqe.js +0 -86
  1606. package/build/server/chunks/entries/pages/admin/projects/_id_/_page.server.ts.js-cnc8alqe.js.map +0 -1
  1607. package/build/server/chunks/entries/pages/admin/projects/_id_/_page.svelte.js-sOie368P.js +0 -600
  1608. package/build/server/chunks/entries/pages/admin/projects/_id_/_page.svelte.js-sOie368P.js.map +0 -1
  1609. package/build/server/chunks/entries/pages/admin/projects/_page.server.ts.js-7suWtJxu.js +0 -41
  1610. package/build/server/chunks/entries/pages/admin/projects/_page.server.ts.js-7suWtJxu.js.map +0 -1
  1611. package/build/server/chunks/entries/pages/admin/projects/_page.svelte.js-B1QNDeHO.js +0 -281
  1612. package/build/server/chunks/entries/pages/admin/projects/_page.svelte.js-B1QNDeHO.js.map +0 -1
  1613. package/build/server/chunks/entries/pages/admin/system/_page.server.ts.js-C0ZdK8vU.js +0 -72
  1614. package/build/server/chunks/entries/pages/admin/system/_page.server.ts.js-C0ZdK8vU.js.map +0 -1
  1615. package/build/server/chunks/entries/pages/admin/system/_page.svelte.js-CqNLFuOZ.js +0 -1354
  1616. package/build/server/chunks/entries/pages/admin/system/_page.svelte.js-CqNLFuOZ.js.map +0 -1
  1617. package/build/server/chunks/entries/pages/admin/users/_page.server.ts.js-C1LiUNB_.js +0 -65
  1618. package/build/server/chunks/entries/pages/admin/users/_page.server.ts.js-C1LiUNB_.js.map +0 -1
  1619. package/build/server/chunks/entries/pages/admin/users/_page.svelte.js-C-jy08cJ.js +0 -719
  1620. package/build/server/chunks/entries/pages/admin/users/_page.svelte.js-C-jy08cJ.js.map +0 -1
  1621. package/build/server/chunks/entries/pages/auth/email/sent/_page.svelte.js-C5aLMwEf.js +0 -61
  1622. package/build/server/chunks/entries/pages/auth/email/sent/_page.svelte.js-C5aLMwEf.js.map +0 -1
  1623. package/build/server/chunks/entries/pages/auth/email/start/_page.server.ts.js-Bf5aciLN.js +0 -58
  1624. package/build/server/chunks/entries/pages/auth/email/start/_page.server.ts.js-Bf5aciLN.js.map +0 -1
  1625. package/build/server/chunks/entries/pages/auth/email/start/_page.svelte.js-5rwvoLon.js +0 -14
  1626. package/build/server/chunks/entries/pages/auth/email/start/_page.svelte.js-5rwvoLon.js.map +0 -1
  1627. package/build/server/chunks/entries/pages/library/_guid_/_page.server.ts.js-Cd1cMb0M.js +0 -252
  1628. package/build/server/chunks/entries/pages/library/_guid_/_page.server.ts.js-Cd1cMb0M.js.map +0 -1
  1629. package/build/server/chunks/entries/pages/library/_guid_/_page.svelte.js-BHPELPpI.js +0 -12044
  1630. package/build/server/chunks/entries/pages/library/_guid_/_page.svelte.js-BHPELPpI.js.map +0 -1
  1631. package/build/server/chunks/entries/pages/library/_layout.svelte.js-CyAPRqZR.js +0 -10
  1632. package/build/server/chunks/entries/pages/library/_layout.svelte.js-CyAPRqZR.js.map +0 -1
  1633. package/build/server/chunks/entries/pages/library/_page.server.ts.js-CkNgTDfl.js +0 -84
  1634. package/build/server/chunks/entries/pages/library/_page.server.ts.js-CkNgTDfl.js.map +0 -1
  1635. package/build/server/chunks/entries/pages/library/_page.svelte.js-BTo2acLG.js +0 -336
  1636. package/build/server/chunks/entries/pages/library/_page.svelte.js-BTo2acLG.js.map +0 -1
  1637. package/build/server/chunks/entries/pages/login/_page.server.ts.js-BM0BZFoZ.js +0 -67
  1638. package/build/server/chunks/entries/pages/login/_page.server.ts.js-BM0BZFoZ.js.map +0 -1
  1639. package/build/server/chunks/entries/pages/login/_page.svelte.js-DCS-9IXp.js +0 -279
  1640. package/build/server/chunks/entries/pages/login/_page.svelte.js-DCS-9IXp.js.map +0 -1
  1641. package/build/server/chunks/entries/pages/logout/_page.server.ts.js-Cc1BjCbc.js +0 -17
  1642. package/build/server/chunks/entries/pages/logout/_page.server.ts.js-Cc1BjCbc.js.map +0 -1
  1643. package/build/server/chunks/entries/pages/projects/_layout.server.ts.js-DuJkKJcb.js +0 -23
  1644. package/build/server/chunks/entries/pages/projects/_layout.server.ts.js-DuJkKJcb.js.map +0 -1
  1645. package/build/server/chunks/entries/pages/projects/_layout.svelte.js-qUym1i5-.js +0 -50
  1646. package/build/server/chunks/entries/pages/projects/_layout.svelte.js-qUym1i5-.js.map +0 -1
  1647. package/build/server/chunks/entries/pages/projects/_page.server.ts.js-6JTf7XX0.js +0 -118
  1648. package/build/server/chunks/entries/pages/projects/_page.server.ts.js-6JTf7XX0.js.map +0 -1
  1649. package/build/server/chunks/entries/pages/projects/_page.svelte.js-DVU6xc3i.js +0 -3873
  1650. package/build/server/chunks/entries/pages/projects/_page.svelte.js-DVU6xc3i.js.map +0 -1
  1651. package/build/server/chunks/entries/pages/setup/_page.server.ts.js-CAIQvVcR.js +0 -131
  1652. package/build/server/chunks/entries/pages/setup/_page.server.ts.js-CAIQvVcR.js.map +0 -1
  1653. package/build/server/chunks/entries/pages/setup/_page.svelte.js-CJ3-7nVJ.js +0 -335
  1654. package/build/server/chunks/entries/pages/setup/_page.svelte.js-CJ3-7nVJ.js.map +0 -1
  1655. package/build/server/chunks/entries/pages/team/_layout.server.ts.js-CBM_iY4T.js +0 -23
  1656. package/build/server/chunks/entries/pages/team/_layout.server.ts.js-CBM_iY4T.js.map +0 -1
  1657. package/build/server/chunks/entries/pages/team/_layout.svelte.js-D5O9VyeE.js +0 -161
  1658. package/build/server/chunks/entries/pages/team/_layout.svelte.js-D5O9VyeE.js.map +0 -1
  1659. package/build/server/chunks/entries/pages/team/_page.server.ts.js-Pf-MSXv0.js +0 -34
  1660. package/build/server/chunks/entries/pages/team/_page.server.ts.js-Pf-MSXv0.js.map +0 -1
  1661. package/build/server/chunks/entries/pages/team/_page.svelte.js-DtJdIF4v.js +0 -114
  1662. package/build/server/chunks/entries/pages/team/_page.svelte.js-DtJdIF4v.js.map +0 -1
  1663. package/build/server/chunks/entries/pages/team/activity/_page.svelte.js-CMWKdxuZ.js +0 -120
  1664. package/build/server/chunks/entries/pages/team/activity/_page.svelte.js-CMWKdxuZ.js.map +0 -1
  1665. package/build/server/chunks/entries/pages/team/compute/_page.server.ts.js-CR-ddKJ4.js +0 -41
  1666. package/build/server/chunks/entries/pages/team/compute/_page.server.ts.js-CR-ddKJ4.js.map +0 -1
  1667. package/build/server/chunks/entries/pages/team/compute/_page.svelte.js-B0n5VlWA.js +0 -614
  1668. package/build/server/chunks/entries/pages/team/compute/_page.svelte.js-B0n5VlWA.js.map +0 -1
  1669. package/build/server/chunks/entries/pages/team/members/_page.server.ts.js-DCQ0yy-F.js +0 -58
  1670. package/build/server/chunks/entries/pages/team/members/_page.server.ts.js-DCQ0yy-F.js.map +0 -1
  1671. package/build/server/chunks/entries/pages/team/members/_page.svelte.js-DVOfVzGn.js +0 -562
  1672. package/build/server/chunks/entries/pages/team/members/_page.svelte.js-DVOfVzGn.js.map +0 -1
  1673. package/build/server/chunks/entries/pages/team/projects/_page.server.ts.js-FUxzp5PC.js +0 -39
  1674. package/build/server/chunks/entries/pages/team/projects/_page.server.ts.js-FUxzp5PC.js.map +0 -1
  1675. package/build/server/chunks/entries/pages/team/projects/_page.svelte.js-D9MNwbD2.js +0 -429
  1676. package/build/server/chunks/entries/pages/team/projects/_page.svelte.js-D9MNwbD2.js.map +0 -1
  1677. package/build/server/chunks/entries/pages/team/reclaim/_page.server.ts.js-Btcar0yP.js +0 -41
  1678. package/build/server/chunks/entries/pages/team/reclaim/_page.server.ts.js-Btcar0yP.js.map +0 -1
  1679. package/build/server/chunks/entries/pages/team/reclaim/_page.svelte.js-NKXhWrq-.js +0 -255
  1680. package/build/server/chunks/entries/pages/team/reclaim/_page.svelte.js-NKXhWrq-.js.map +0 -1
  1681. package/build/server/chunks/entries/pages/team/settings/_page.server.ts.js-CS5FLYXE.js +0 -26
  1682. package/build/server/chunks/entries/pages/team/settings/_page.server.ts.js-CS5FLYXE.js.map +0 -1
  1683. package/build/server/chunks/entries/pages/team/settings/_page.svelte.js-CBoPHZqu.js +0 -302
  1684. package/build/server/chunks/entries/pages/team/settings/_page.svelte.js-CBoPHZqu.js.map +0 -1
  1685. package/build/server/chunks/entries/pages/team/shares/_page.server.ts.js-B1QqNYRo.js +0 -17
  1686. package/build/server/chunks/entries/pages/team/shares/_page.server.ts.js-B1QqNYRo.js.map +0 -1
  1687. package/build/server/chunks/entries/pages/team/shares/_page.svelte.js-DcvToU5b.js +0 -120
  1688. package/build/server/chunks/entries/pages/team/shares/_page.svelte.js-DcvToU5b.js.map +0 -1
  1689. package/build/server/chunks/handler-CiXlY3wu.js +0 -1206
  1690. package/build/server/chunks/handler-CiXlY3wu.js.map +0 -1
  1691. package/build/server/chunks/index.js-CfdDzNmO.js +0 -4129
  1692. package/build/server/chunks/index.js-CfdDzNmO.js.map +0 -1
  1693. package/build/server/chunks/manifest.js-DZ6WZ-WA.js +0 -548
  1694. package/build/server/chunks/manifest.js-DZ6WZ-WA.js.map +0 -1
  1695. package/build/server/chunks/nodes/0.js-BMoQIPmA.js +0 -22
  1696. package/build/server/chunks/nodes/0.js-BMoQIPmA.js.map +0 -1
  1697. package/build/server/chunks/nodes/1.js-Cm5AdicB.js +0 -9
  1698. package/build/server/chunks/nodes/1.js-Cm5AdicB.js.map +0 -1
  1699. package/build/server/chunks/nodes/10.js-BNCwQwZV.js +0 -28
  1700. package/build/server/chunks/nodes/10.js-BNCwQwZV.js.map +0 -1
  1701. package/build/server/chunks/nodes/11.js-DkWLgBVg.js +0 -28
  1702. package/build/server/chunks/nodes/11.js-DkWLgBVg.js.map +0 -1
  1703. package/build/server/chunks/nodes/12.js-kNjmUDDo.js +0 -23
  1704. package/build/server/chunks/nodes/12.js-kNjmUDDo.js.map +0 -1
  1705. package/build/server/chunks/nodes/13.js-jNBOb5Ni.js +0 -23
  1706. package/build/server/chunks/nodes/13.js-jNBOb5Ni.js.map +0 -1
  1707. package/build/server/chunks/nodes/14.js-jkWhR5ra.js +0 -23
  1708. package/build/server/chunks/nodes/14.js-jkWhR5ra.js.map +0 -1
  1709. package/build/server/chunks/nodes/15.js-Bh0tBhZ6.js +0 -37
  1710. package/build/server/chunks/nodes/15.js-Bh0tBhZ6.js.map +0 -1
  1711. package/build/server/chunks/nodes/16.js-BjSvS7x7.js +0 -30
  1712. package/build/server/chunks/nodes/16.js-BjSvS7x7.js.map +0 -1
  1713. package/build/server/chunks/nodes/17.js-CVAlNLd1.js +0 -9
  1714. package/build/server/chunks/nodes/17.js-CVAlNLd1.js.map +0 -1
  1715. package/build/server/chunks/nodes/18.js-m1EmD7J9.js +0 -29
  1716. package/build/server/chunks/nodes/18.js-m1EmD7J9.js.map +0 -1
  1717. package/build/server/chunks/nodes/19.js-Cvq4wk_v.js +0 -28
  1718. package/build/server/chunks/nodes/19.js-Cvq4wk_v.js.map +0 -1
  1719. package/build/server/chunks/nodes/2.js-_j2qbJf6.js +0 -28
  1720. package/build/server/chunks/nodes/2.js-_j2qbJf6.js.map +0 -1
  1721. package/build/server/chunks/nodes/20.js-BjgFHK82.js +0 -37
  1722. package/build/server/chunks/nodes/20.js-BjgFHK82.js.map +0 -1
  1723. package/build/server/chunks/nodes/21.js-C3u9VeIP.js +0 -29
  1724. package/build/server/chunks/nodes/21.js-C3u9VeIP.js.map +0 -1
  1725. package/build/server/chunks/nodes/22.js-3vW3ZPjE.js +0 -18
  1726. package/build/server/chunks/nodes/22.js-3vW3ZPjE.js.map +0 -1
  1727. package/build/server/chunks/nodes/23.js-h3AKg2Bd.js +0 -28
  1728. package/build/server/chunks/nodes/23.js-h3AKg2Bd.js.map +0 -1
  1729. package/build/server/chunks/nodes/24.js-DcfMC0S6.js +0 -30
  1730. package/build/server/chunks/nodes/24.js-DcfMC0S6.js.map +0 -1
  1731. package/build/server/chunks/nodes/25.js-B8F-WcNH.js +0 -23
  1732. package/build/server/chunks/nodes/25.js-B8F-WcNH.js.map +0 -1
  1733. package/build/server/chunks/nodes/26.js-jqPMiBlH.js +0 -9
  1734. package/build/server/chunks/nodes/26.js-jqPMiBlH.js.map +0 -1
  1735. package/build/server/chunks/nodes/27.js-DmjAkuen.js +0 -24
  1736. package/build/server/chunks/nodes/27.js-DmjAkuen.js.map +0 -1
  1737. package/build/server/chunks/nodes/28.js-B7Rf1M8l.js +0 -23
  1738. package/build/server/chunks/nodes/28.js-B7Rf1M8l.js.map +0 -1
  1739. package/build/server/chunks/nodes/29.js-DFPsK4BF.js +0 -23
  1740. package/build/server/chunks/nodes/29.js-DFPsK4BF.js.map +0 -1
  1741. package/build/server/chunks/nodes/3.js-DEDKRIYO.js +0 -9
  1742. package/build/server/chunks/nodes/3.js-DEDKRIYO.js.map +0 -1
  1743. package/build/server/chunks/nodes/30.js-B17mHAaN.js +0 -23
  1744. package/build/server/chunks/nodes/30.js-B17mHAaN.js.map +0 -1
  1745. package/build/server/chunks/nodes/31.js-g3F8A8P0.js +0 -23
  1746. package/build/server/chunks/nodes/31.js-g3F8A8P0.js.map +0 -1
  1747. package/build/server/chunks/nodes/32.js-1VSkrG-2.js +0 -23
  1748. package/build/server/chunks/nodes/32.js-1VSkrG-2.js.map +0 -1
  1749. package/build/server/chunks/nodes/4.js-B_bOVY4F.js +0 -9
  1750. package/build/server/chunks/nodes/4.js-B_bOVY4F.js.map +0 -1
  1751. package/build/server/chunks/nodes/5.js-BvHhhp_p.js +0 -15
  1752. package/build/server/chunks/nodes/5.js-BvHhhp_p.js.map +0 -1
  1753. package/build/server/chunks/nodes/6.js-BHejxveY.js +0 -23
  1754. package/build/server/chunks/nodes/6.js-BHejxveY.js.map +0 -1
  1755. package/build/server/chunks/nodes/7.js-CV5qjTXV.js +0 -12
  1756. package/build/server/chunks/nodes/7.js-CV5qjTXV.js.map +0 -1
  1757. package/build/server/chunks/nodes/8.js-jhS48nhZ.js +0 -30
  1758. package/build/server/chunks/nodes/8.js-jhS48nhZ.js.map +0 -1
  1759. package/build/server/chunks/nodes/9.js-27g91Gox.js +0 -23
  1760. package/build/server/chunks/nodes/9.js-27g91Gox.js.map +0 -1
  1761. /package/build/client/_app/immutable/assets/{index.CV-KWLNP.css → select.CV-KWLNP.css} +0 -0
  1762. /package/build/client/_app/immutable/assets/{index.CV-KWLNP.css.br → select.CV-KWLNP.css.br} +0 -0
  1763. /package/build/client/_app/immutable/assets/{index.CV-KWLNP.css.gz → select.CV-KWLNP.css.gz} +0 -0
@@ -1,4129 +0,0 @@
1
- import { n as noop, f as format_server_error, i as is_form_content_type, T as TRAILING_SLASH_PARAM, I as INVALIDATED_PARAM, h as has_prerendered_path, a as handle_fatal_error, r as redirect_response, g as get_set_cookies, b as negotiate, m as method_not_allowed, p as parseString, s as static_error_page, c as handle_error_and_jsonify, d as get_status, e as get_global_name, j as create_replacer, k as serialize_uses, l as clarify_devalue_error, o as once, E as ENDPOINT_METHODS, P as PAGE_METHODS, q as normalize_error, t as get_node_type, u as escape_html, v as create_remote_key, w as parse_remote_arg, x as deserialize_binary_form, y as stringify, z as stringify$1, A as split_remote_key, S as SVELTE_KIT_ASSETS } from './chunks/utils.js-DVtdpNMY.js';
2
- import { B as BROWSER, u as uneval } from './chunks/false.js-D7l62FnJ.js';
3
- import { json, text, isRedirect, error } from '@sveltejs/kit';
4
- import { Redirect, SvelteKitError, HttpError, ActionFailure } from '@sveltejs/kit/internal';
5
- import { with_request_store, merge_tracing } from '@sveltejs/kit/internal/server';
6
- import { b as base, a as app_dir, r as relative, o as override, c as assets, d as reset } from './chunks/internal.js-Bf8x1V_n.js';
7
- import { d as decode_pathname, n as normalize_path, a as disable_search, b as decode_params, v as validate_layout_server_exports, c as validate_layout_exports, e as validate_page_server_exports, f as validate_page_exports, r as resolve, m as make_trackable } from './chunks/exports.js-BZBK1HC9.js';
8
- import { t as text_encoder, g as get_relative_path, a as base64_encode } from './chunks/utils2.js-BQzn9ikS.js';
9
- import { w as writable, r as readable } from './chunks/index.js-BXhiSeu6.js';
10
- import { s as set_private_env, a as set_public_env, p as public_env } from './chunks/shared-server.js-DaWdgxVh.js';
11
- import { o as options, g as get_hooks, r as read_implementation, s as set_read_implementation } from './chunks/internal2.js-BBcEKa-m.js';
12
-
13
- const s = JSON.stringify;
14
- function with_resolvers() {
15
- let resolve2;
16
- let reject;
17
- const promise = new Promise((res, rej) => {
18
- resolve2 = res;
19
- reject = rej;
20
- });
21
- return { promise, resolve: resolve2, reject };
22
- }
23
- const NULL_BODY_STATUS = [101, 103, 204, 205, 304];
24
- const IN_WEBCONTAINER = !!globalThis.process?.versions?.webcontainer;
25
- async function render_endpoint(event, event_state, mod, state) {
26
- const method = (
27
- /** @type {import('types').HttpMethod} */
28
- event.request.method
29
- );
30
- let handler = mod[method] || mod.fallback;
31
- if (method === "HEAD" && !mod.HEAD && mod.GET) {
32
- handler = mod.GET;
33
- }
34
- if (!handler) {
35
- return method_not_allowed(mod, method);
36
- }
37
- const prerender = mod.prerender ?? state.prerender_default;
38
- if (prerender && (mod.POST || mod.PATCH || mod.PUT || mod.DELETE)) {
39
- throw new Error("Cannot prerender endpoints that have mutative methods");
40
- }
41
- if (state.prerendering && !state.prerendering.inside_reroute && !prerender) {
42
- if (state.depth > 0) {
43
- throw new Error(`${event.route.id} is not prerenderable`);
44
- } else {
45
- return new Response(void 0, { status: 204 });
46
- }
47
- }
48
- try {
49
- const response = await with_request_store(
50
- { event, state: event_state },
51
- () => handler(
52
- /** @type {import('@sveltejs/kit').RequestEvent<Record<string, any>>} */
53
- event
54
- )
55
- );
56
- if (!(response instanceof Response)) {
57
- throw new Error(
58
- `Invalid response from route ${event.url.pathname}: handler should return a Response object`
59
- );
60
- }
61
- if (state.prerendering && (!state.prerendering.inside_reroute || prerender)) {
62
- const cloned = new Response(response.clone().body, {
63
- status: response.status,
64
- statusText: response.statusText,
65
- headers: new Headers(response.headers)
66
- });
67
- cloned.headers.set("x-sveltekit-prerender", String(prerender));
68
- if (state.prerendering.inside_reroute && prerender) {
69
- cloned.headers.set(
70
- "x-sveltekit-routeid",
71
- encodeURI(
72
- /** @type {string} */
73
- event.route.id
74
- )
75
- );
76
- state.prerendering.dependencies.set(event.url.pathname, { response: cloned, body: null });
77
- } else {
78
- return cloned;
79
- }
80
- }
81
- return response;
82
- } catch (e) {
83
- if (e instanceof Redirect) {
84
- return new Response(void 0, {
85
- status: e.status,
86
- headers: { location: e.location }
87
- });
88
- }
89
- throw e;
90
- }
91
- }
92
- function is_endpoint_request(event) {
93
- const { method, headers: headers2 } = event.request;
94
- if (ENDPOINT_METHODS.includes(method) && !PAGE_METHODS.includes(method)) {
95
- return true;
96
- }
97
- if (method === "POST" && headers2.get("x-sveltekit-action") === "true") return false;
98
- const accept = event.request.headers.get("accept") ?? "*/*";
99
- return negotiate(accept, ["*", "text/html"]) !== "text/html";
100
- }
101
- function compact(arr) {
102
- return arr.filter(
103
- /** @returns {val is NonNullable<T>} */
104
- (val) => val != null
105
- );
106
- }
107
- const DATA_SUFFIX = "/__data.json";
108
- const HTML_DATA_SUFFIX = ".html__data.json";
109
- function has_data_suffix(pathname) {
110
- return pathname.endsWith(DATA_SUFFIX) || pathname.endsWith(HTML_DATA_SUFFIX);
111
- }
112
- function add_data_suffix(pathname) {
113
- if (pathname.endsWith(".html")) return pathname.replace(/\.html$/, HTML_DATA_SUFFIX);
114
- return pathname.replace(/\/$/, "") + DATA_SUFFIX;
115
- }
116
- function strip_data_suffix(pathname) {
117
- if (pathname.endsWith(HTML_DATA_SUFFIX)) {
118
- return pathname.slice(0, -HTML_DATA_SUFFIX.length) + ".html";
119
- }
120
- return pathname.slice(0, -DATA_SUFFIX.length);
121
- }
122
- const ROUTE_SUFFIX = "/__route.js";
123
- function has_resolution_suffix(pathname) {
124
- return pathname.endsWith(ROUTE_SUFFIX);
125
- }
126
- function add_resolution_suffix(pathname) {
127
- return pathname.replace(/\/$/, "") + ROUTE_SUFFIX;
128
- }
129
- function strip_resolution_suffix(pathname) {
130
- return pathname.slice(0, -ROUTE_SUFFIX.length);
131
- }
132
- const noop_span = {
133
- spanContext() {
134
- return noop_span_context;
135
- },
136
- setAttribute() {
137
- return this;
138
- },
139
- setAttributes() {
140
- return this;
141
- },
142
- addEvent() {
143
- return this;
144
- },
145
- setStatus() {
146
- return this;
147
- },
148
- updateName() {
149
- return this;
150
- },
151
- end() {
152
- return this;
153
- },
154
- isRecording() {
155
- return false;
156
- },
157
- recordException() {
158
- return this;
159
- },
160
- addLink() {
161
- return this;
162
- },
163
- addLinks() {
164
- return this;
165
- }
166
- };
167
- const noop_span_context = {
168
- traceId: "",
169
- spanId: "",
170
- traceFlags: 0
171
- };
172
- async function record_span({ name, attributes, fn }) {
173
- {
174
- return fn(noop_span);
175
- }
176
- }
177
- function is_action_json_request(event) {
178
- const accept = negotiate(event.request.headers.get("accept") ?? "*/*", [
179
- "application/json",
180
- "text/html"
181
- ]);
182
- return accept === "application/json" && event.request.method === "POST";
183
- }
184
- async function handle_action_json_request(event, event_state, options2, server) {
185
- const actions = server?.actions;
186
- if (!actions) {
187
- const no_actions_error = new SvelteKitError(
188
- 405,
189
- "Method Not Allowed",
190
- `POST method not allowed. No form actions exist for ${"this page"}`
191
- );
192
- return action_json(
193
- {
194
- type: "error",
195
- error: await handle_error_and_jsonify(event, event_state, options2, no_actions_error)
196
- },
197
- {
198
- status: no_actions_error.status,
199
- headers: {
200
- // https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/405
201
- // "The server must generate an Allow header field in a 405 status code response"
202
- allow: "GET"
203
- }
204
- }
205
- );
206
- }
207
- check_named_default_separate(actions);
208
- try {
209
- const data = await call_action(event, event_state, actions);
210
- if (BROWSER) ;
211
- if (data instanceof ActionFailure) {
212
- return action_json({
213
- type: "failure",
214
- status: data.status,
215
- // @ts-expect-error we assign a string to what is supposed to be an object. That's ok
216
- // because we don't use the object outside, and this way we have better code navigation
217
- // through knowing where the related interface is used.
218
- data: stringify_action_response(
219
- data.data,
220
- /** @type {string} */
221
- event.route.id,
222
- options2.hooks.transport
223
- )
224
- });
225
- } else {
226
- return action_json({
227
- type: "success",
228
- status: data ? 200 : 204,
229
- // @ts-expect-error see comment above
230
- data: stringify_action_response(
231
- data,
232
- /** @type {string} */
233
- event.route.id,
234
- options2.hooks.transport
235
- )
236
- });
237
- }
238
- } catch (e) {
239
- const err = normalize_error(e);
240
- if (err instanceof Redirect) {
241
- return action_json_redirect(err);
242
- }
243
- return action_json(
244
- {
245
- type: "error",
246
- error: await handle_error_and_jsonify(
247
- event,
248
- event_state,
249
- options2,
250
- check_incorrect_fail_use(err)
251
- )
252
- },
253
- {
254
- status: get_status(err)
255
- }
256
- );
257
- }
258
- }
259
- function check_incorrect_fail_use(error2) {
260
- return error2 instanceof ActionFailure ? new Error('Cannot "throw fail()". Use "return fail()"') : error2;
261
- }
262
- function action_json_redirect(redirect) {
263
- return action_json({
264
- type: "redirect",
265
- status: redirect.status,
266
- location: redirect.location
267
- });
268
- }
269
- function action_json(data, init2) {
270
- return json(data, init2);
271
- }
272
- function is_action_request(event) {
273
- return event.request.method === "POST";
274
- }
275
- async function handle_action_request(event, event_state, server) {
276
- const actions = server?.actions;
277
- if (!actions) {
278
- event.setHeaders({
279
- // https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/405
280
- // "The server must generate an Allow header field in a 405 status code response"
281
- allow: "GET"
282
- });
283
- return {
284
- type: "error",
285
- error: new SvelteKitError(
286
- 405,
287
- "Method Not Allowed",
288
- `POST method not allowed. No form actions exist for ${"this page"}`
289
- )
290
- };
291
- }
292
- check_named_default_separate(actions);
293
- try {
294
- const data = await call_action(event, event_state, actions);
295
- if (BROWSER) ;
296
- if (data instanceof ActionFailure) {
297
- return {
298
- type: "failure",
299
- status: data.status,
300
- data: data.data
301
- };
302
- } else {
303
- return {
304
- type: "success",
305
- status: 200,
306
- // @ts-expect-error this will be removed upon serialization, so `undefined` is the same as omission
307
- data
308
- };
309
- }
310
- } catch (e) {
311
- const err = normalize_error(e);
312
- if (err instanceof Redirect) {
313
- return {
314
- type: "redirect",
315
- status: err.status,
316
- location: err.location
317
- };
318
- }
319
- return {
320
- type: "error",
321
- error: check_incorrect_fail_use(err)
322
- };
323
- }
324
- }
325
- function check_named_default_separate(actions) {
326
- if (actions.default && Object.keys(actions).length > 1) {
327
- throw new Error(
328
- "When using named actions, the default action cannot be used. See the docs for more info: https://svelte.dev/docs/kit/form-actions#named-actions"
329
- );
330
- }
331
- }
332
- async function call_action(event, event_state, actions) {
333
- const url = new URL(event.request.url);
334
- let name = "default";
335
- for (const param of url.searchParams) {
336
- if (param[0].startsWith("/")) {
337
- name = param[0].slice(1);
338
- if (name === "default") {
339
- throw new Error('Cannot use reserved action name "default"');
340
- }
341
- break;
342
- }
343
- }
344
- const action = actions[name];
345
- if (!action) {
346
- throw new SvelteKitError(404, "Not Found", `No action with name '${name}' found`);
347
- }
348
- if (!is_form_content_type(event.request)) {
349
- throw new SvelteKitError(
350
- 415,
351
- "Unsupported Media Type",
352
- `Form actions expect form-encoded data — received ${event.request.headers.get(
353
- "content-type"
354
- )}`
355
- );
356
- }
357
- return record_span({
358
- name: "sveltekit.form_action",
359
- attributes: {
360
- "http.route": event.route.id || "unknown"
361
- },
362
- fn: async (current2) => {
363
- const traced_event = merge_tracing(event, current2);
364
- const result = await with_request_store(
365
- { event: traced_event, state: event_state },
366
- () => action(traced_event)
367
- );
368
- if (result instanceof ActionFailure) {
369
- current2.setAttributes({
370
- "sveltekit.form_action.result.type": "failure",
371
- "sveltekit.form_action.result.status": result.status
372
- });
373
- }
374
- return result;
375
- }
376
- });
377
- }
378
- function uneval_action_response(data, route_id, transport) {
379
- const replacer = create_replacer(transport);
380
- return try_serialize(data, (value) => uneval(value, replacer), route_id);
381
- }
382
- function stringify_action_response(data, route_id, transport) {
383
- const encoders = Object.fromEntries(
384
- Object.entries(transport).map(([key2, value]) => [key2, value.encode])
385
- );
386
- return try_serialize(data, (value) => stringify$1(value, encoders), route_id);
387
- }
388
- function try_serialize(data, fn, route_id) {
389
- try {
390
- return fn(data);
391
- } catch (e) {
392
- const error2 = (
393
- /** @type {any} */
394
- e
395
- );
396
- if (data instanceof Response) {
397
- throw new Error(
398
- `Data returned from action inside ${route_id} is not serializable. Form actions need to return plain objects or fail(). E.g. return { success: true } or return fail(400, { message: "invalid" });`,
399
- { cause: e }
400
- );
401
- }
402
- if ("path" in error2) {
403
- let message = `Data returned from action inside ${route_id} is not serializable: ${error2.message}`;
404
- if (error2.path !== "") message += ` (data.${error2.path})`;
405
- throw new Error(message, { cause: e });
406
- }
407
- throw error2;
408
- }
409
- }
410
- function create_async_iterator() {
411
- let resolved = -1;
412
- let returned = -1;
413
- const deferred = [];
414
- return {
415
- iterate: (transform = (x) => x) => {
416
- return {
417
- [Symbol.asyncIterator]() {
418
- return {
419
- next: async () => {
420
- const next = deferred[++returned];
421
- if (!next) return { value: null, done: true };
422
- const value = await next.promise;
423
- return { value: transform(value), done: false };
424
- }
425
- };
426
- }
427
- };
428
- },
429
- add: (promise) => {
430
- const next = with_resolvers();
431
- void next.promise.catch(noop);
432
- deferred.push(next);
433
- void promise.then(
434
- (value) => {
435
- deferred[++resolved].resolve(value);
436
- },
437
- (error2) => {
438
- deferred[++resolved].reject(error2);
439
- }
440
- );
441
- }
442
- };
443
- }
444
- function server_data_serializer(event, event_state, options2) {
445
- let promise_id = 1;
446
- let max_nodes = -1;
447
- const iterator = create_async_iterator();
448
- const global = get_global_name(options2);
449
- function get_replacer(index) {
450
- return function replacer(thing) {
451
- if (typeof thing?.then === "function") {
452
- const id = promise_id++;
453
- const promise = thing.then(
454
- /** @param {any} data */
455
- (data) => ({ data })
456
- ).catch(
457
- /** @param {any} error */
458
- async (error2) => ({
459
- error: await handle_error_and_jsonify(event, event_state, options2, error2)
460
- })
461
- ).then(
462
- /**
463
- * @param {{data: any; error: any}} result
464
- */
465
- async ({ data, error: error2 }) => {
466
- let str;
467
- try {
468
- str = uneval(error2 ? [, error2] : [data], replacer);
469
- } catch {
470
- error2 = await handle_error_and_jsonify(
471
- event,
472
- event_state,
473
- options2,
474
- new Error(`Failed to serialize promise while rendering ${event.route.id}`)
475
- );
476
- str = uneval([, error2], replacer);
477
- }
478
- return {
479
- index,
480
- str: `${global}.resolve(${id}, ${str.includes("app.decode") ? `(app) => ${str}` : `() => ${str}`})`
481
- };
482
- }
483
- );
484
- iterator.add(promise);
485
- return `${global}.defer(${id})`;
486
- } else {
487
- for (const key2 in options2.hooks.transport) {
488
- const encoded = options2.hooks.transport[key2].encode(thing);
489
- if (encoded) {
490
- return `app.decode('${key2}', ${uneval(encoded, replacer)})`;
491
- }
492
- }
493
- }
494
- };
495
- }
496
- const strings = (
497
- /** @type {string[]} */
498
- []
499
- );
500
- return {
501
- set_max_nodes(i) {
502
- max_nodes = i;
503
- },
504
- add_node(i, node) {
505
- try {
506
- if (!node) {
507
- strings[i] = "null";
508
- return;
509
- }
510
- const payload2 = { type: "data", data: node.data, uses: serialize_uses(node) };
511
- if (node.slash) payload2.slash = node.slash;
512
- strings[i] = uneval(payload2, get_replacer(i));
513
- } catch (e) {
514
- e.path = e.path.slice(1);
515
- throw new Error(clarify_devalue_error(
516
- event,
517
- /** @type {any} */
518
- e
519
- ), { cause: e });
520
- }
521
- },
522
- get_data(csp) {
523
- const open = `<script${csp.script_needs_nonce ? ` nonce="${csp.nonce}"` : ""}>`;
524
- const close = `<\/script>
525
- `;
526
- return {
527
- data: `[${compact(max_nodes > -1 ? strings.slice(0, max_nodes) : strings).join(",")}]`,
528
- chunks: promise_id > 1 ? iterator.iterate(({ index, str }) => {
529
- if (max_nodes > -1 && index >= max_nodes) {
530
- return "";
531
- }
532
- return open + str + close;
533
- }) : null
534
- };
535
- }
536
- };
537
- }
538
- function server_data_serializer_json(event, event_state, options2) {
539
- let promise_id = 1;
540
- const iterator = create_async_iterator();
541
- const reducers = {
542
- ...Object.fromEntries(
543
- Object.entries(options2.hooks.transport).map(([key2, value]) => [key2, value.encode])
544
- ),
545
- /** @param {any} thing */
546
- Promise: (thing) => {
547
- if (typeof thing?.then !== "function") {
548
- return;
549
- }
550
- const id = promise_id++;
551
- let key2 = "data";
552
- const promise = thing.catch(
553
- /** @param {any} e */
554
- async (e) => {
555
- key2 = "error";
556
- return handle_error_and_jsonify(
557
- event,
558
- event_state,
559
- options2,
560
- /** @type {any} */
561
- e
562
- );
563
- }
564
- ).then(
565
- /** @param {any} value */
566
- async (value) => {
567
- let str;
568
- try {
569
- str = stringify$1(value, reducers);
570
- } catch {
571
- const error2 = await handle_error_and_jsonify(
572
- event,
573
- event_state,
574
- options2,
575
- new Error(`Failed to serialize promise while rendering ${event.route.id}`)
576
- );
577
- key2 = "error";
578
- str = stringify$1(error2, reducers);
579
- }
580
- return `{"type":"chunk","id":${id},"${key2}":${str}}
581
- `;
582
- }
583
- );
584
- iterator.add(promise);
585
- return id;
586
- }
587
- };
588
- const strings = (
589
- /** @type {string[]} */
590
- []
591
- );
592
- return {
593
- add_node(i, node) {
594
- try {
595
- if (!node) {
596
- strings[i] = "null";
597
- return;
598
- }
599
- if (node.type === "error" || node.type === "skip") {
600
- strings[i] = JSON.stringify(node);
601
- return;
602
- }
603
- strings[i] = `{"type":"data","data":${stringify$1(node.data, reducers)},"uses":${JSON.stringify(
604
- serialize_uses(node)
605
- )}${node.slash ? `,"slash":${JSON.stringify(node.slash)}` : ""}}`;
606
- } catch (e) {
607
- e.path = "data" + e.path;
608
- throw new Error(clarify_devalue_error(
609
- event,
610
- /** @type {any} */
611
- e
612
- ), { cause: e });
613
- }
614
- },
615
- get_data() {
616
- return {
617
- data: `{"type":"data","nodes":[${strings.join(",")}]}
618
- `,
619
- chunks: promise_id > 1 ? iterator.iterate() : null
620
- };
621
- }
622
- };
623
- }
624
- async function load_server_data({ event, event_state, state, node, parent }) {
625
- if (!node?.server) return null;
626
- let is_tracking = true;
627
- const uses = {
628
- dependencies: /* @__PURE__ */ new Set(),
629
- params: /* @__PURE__ */ new Set(),
630
- parent: false,
631
- route: false,
632
- url: false,
633
- search_params: /* @__PURE__ */ new Set()
634
- };
635
- const load = node.server.load;
636
- const slash = node.server.trailingSlash;
637
- if (!load) {
638
- return { type: "data", data: null, uses, slash };
639
- }
640
- const url = make_trackable(
641
- event.url,
642
- () => {
643
- if (is_tracking) {
644
- uses.url = true;
645
- }
646
- },
647
- (param) => {
648
- if (is_tracking) {
649
- uses.search_params.add(param);
650
- }
651
- }
652
- );
653
- if (state.prerendering) {
654
- disable_search(url);
655
- }
656
- const result = await record_span({
657
- name: "sveltekit.load",
658
- attributes: {
659
- "sveltekit.load.node_id": node.server_id || "unknown",
660
- "sveltekit.load.node_type": get_node_type(node.server_id),
661
- "http.route": event.route.id || "unknown"
662
- },
663
- fn: async (current2) => {
664
- const traced_event = merge_tracing(event, current2);
665
- const result2 = await with_request_store(
666
- { event: traced_event, state: event_state },
667
- () => load.call(null, {
668
- ...traced_event,
669
- fetch: (info, init2) => {
670
- new URL(info instanceof Request ? info.url : info, event.url);
671
- return event.fetch(info, init2);
672
- },
673
- /** @param {string[]} deps */
674
- depends: (...deps) => {
675
- for (const dep of deps) {
676
- const { href } = new URL(dep, event.url);
677
- uses.dependencies.add(href);
678
- }
679
- },
680
- params: new Proxy(event.params, {
681
- get: (target, key2) => {
682
- if (is_tracking) {
683
- uses.params.add(key2);
684
- }
685
- return target[
686
- /** @type {string} */
687
- key2
688
- ];
689
- }
690
- }),
691
- parent: async () => {
692
- if (is_tracking) {
693
- uses.parent = true;
694
- }
695
- return parent();
696
- },
697
- route: new Proxy(event.route, {
698
- get: (target, key2) => {
699
- if (is_tracking) {
700
- uses.route = true;
701
- }
702
- return target[
703
- /** @type {'id'} */
704
- key2
705
- ];
706
- }
707
- }),
708
- url,
709
- untrack(fn) {
710
- is_tracking = false;
711
- try {
712
- return fn();
713
- } finally {
714
- is_tracking = true;
715
- }
716
- }
717
- })
718
- );
719
- return result2;
720
- }
721
- });
722
- return {
723
- type: "data",
724
- data: result ?? null,
725
- uses,
726
- slash
727
- };
728
- }
729
- async function load_data({
730
- event,
731
- event_state,
732
- fetched,
733
- node,
734
- parent,
735
- server_data_promise,
736
- state,
737
- resolve_opts,
738
- csr
739
- }) {
740
- const server_data_node = await server_data_promise;
741
- const load = node?.universal?.load;
742
- if (!load) {
743
- return server_data_node?.data ?? null;
744
- }
745
- const result = await record_span({
746
- name: "sveltekit.load",
747
- attributes: {
748
- "sveltekit.load.node_id": node.universal_id || "unknown",
749
- "sveltekit.load.node_type": get_node_type(node.universal_id),
750
- "http.route": event.route.id || "unknown"
751
- },
752
- fn: async (current2) => {
753
- const traced_event = merge_tracing(event, current2);
754
- const child_state = { ...event_state, is_in_universal_load: true };
755
- return await with_request_store(
756
- { event: traced_event, state: child_state },
757
- () => load.call(null, {
758
- url: event.url,
759
- params: event.params,
760
- data: server_data_node?.data ?? null,
761
- route: event.route,
762
- fetch: create_universal_fetch(event, state, fetched, csr, resolve_opts),
763
- setHeaders: event.setHeaders,
764
- depends: noop,
765
- parent,
766
- untrack: (fn) => fn(),
767
- tracing: traced_event.tracing
768
- })
769
- );
770
- }
771
- });
772
- return result ?? null;
773
- }
774
- function create_universal_fetch(event, state, fetched, csr, resolve_opts) {
775
- const universal_fetch = async (input, init2) => {
776
- const cloned_body = input instanceof Request && input.body ? input.clone().body : null;
777
- const cloned_headers = input instanceof Request && [...input.headers].length ? new Headers(input.headers) : init2?.headers;
778
- let response = await event.fetch(input, init2);
779
- const url = new URL(input instanceof Request ? input.url : input, event.url);
780
- const same_origin = url.origin === event.url.origin;
781
- let dependency;
782
- if (same_origin) {
783
- if (state.prerendering) {
784
- dependency = { response, body: null };
785
- state.prerendering.dependencies.set(url.pathname, dependency);
786
- }
787
- } else if (url.protocol === "https:" || url.protocol === "http:") {
788
- const mode = input instanceof Request ? input.mode : init2?.mode ?? "cors";
789
- if (mode === "no-cors") {
790
- response = new Response("", {
791
- status: response.status,
792
- statusText: response.statusText,
793
- headers: response.headers
794
- });
795
- } else {
796
- const acao = response.headers.get("access-control-allow-origin");
797
- if (!acao || acao !== event.url.origin && acao !== "*") {
798
- throw new Error(
799
- `CORS error: ${acao ? "Incorrect" : "No"} 'Access-Control-Allow-Origin' header is present on the requested resource`
800
- );
801
- }
802
- }
803
- }
804
- let teed_body;
805
- const proxy = new Proxy(response, {
806
- get(response2, key2, receiver) {
807
- async function push_fetched(body, is_b64) {
808
- const status_number = Number(response2.status);
809
- if (isNaN(status_number)) {
810
- throw new Error(
811
- `response.status is not a number. value: "${response2.status}" type: ${typeof response2.status}`
812
- );
813
- }
814
- fetched.push({
815
- url: same_origin ? url.href.slice(event.url.origin.length) : url.href,
816
- method: event.request.method,
817
- request_body: (
818
- /** @type {string | ArrayBufferView | undefined} */
819
- input instanceof Request && cloned_body ? await stream_to_string(cloned_body) : init2?.body
820
- ),
821
- request_headers: cloned_headers,
822
- response_body: body,
823
- response: response2,
824
- is_b64
825
- });
826
- }
827
- if (key2 === "body") {
828
- if (response2.body === null) {
829
- return null;
830
- }
831
- if (teed_body) {
832
- return teed_body;
833
- }
834
- const [a, b] = response2.body.tee();
835
- void (async () => {
836
- let result = new Uint8Array();
837
- for await (const chunk of a) {
838
- const combined = new Uint8Array(result.length + chunk.length);
839
- combined.set(result, 0);
840
- combined.set(chunk, result.length);
841
- result = combined;
842
- }
843
- if (dependency) {
844
- dependency.body = new Uint8Array(result);
845
- }
846
- void push_fetched(base64_encode(result), true);
847
- })().catch(noop);
848
- return teed_body = b;
849
- }
850
- if (key2 === "arrayBuffer") {
851
- return async () => {
852
- const buffer = await response2.arrayBuffer();
853
- const bytes = new Uint8Array(buffer);
854
- if (dependency) {
855
- dependency.body = bytes;
856
- }
857
- if (buffer instanceof ArrayBuffer) {
858
- await push_fetched(base64_encode(bytes), true);
859
- }
860
- return buffer;
861
- };
862
- }
863
- async function text2() {
864
- const body = await response2.text();
865
- if (body === "" && NULL_BODY_STATUS.includes(response2.status)) {
866
- await push_fetched(void 0, false);
867
- return void 0;
868
- }
869
- if (!body || typeof body === "string") {
870
- await push_fetched(body, false);
871
- }
872
- if (dependency) {
873
- dependency.body = body;
874
- }
875
- return body;
876
- }
877
- if (key2 === "text") {
878
- return text2;
879
- }
880
- if (key2 === "json") {
881
- return async () => {
882
- const body = await text2();
883
- return body ? JSON.parse(body) : void 0;
884
- };
885
- }
886
- const value = Reflect.get(response2, key2, response2);
887
- if (value instanceof Function) {
888
- return Object.defineProperties(
889
- /**
890
- * @this {any}
891
- */
892
- function() {
893
- return Reflect.apply(value, this === receiver ? response2 : this, arguments);
894
- },
895
- {
896
- name: { value: value.name },
897
- length: { value: value.length }
898
- }
899
- );
900
- }
901
- return value;
902
- }
903
- });
904
- if (csr) {
905
- const get = response.headers.get;
906
- response.headers.get = (key2) => {
907
- const lower = key2.toLowerCase();
908
- const value = get.call(response.headers, lower);
909
- if (value && !lower.startsWith("x-sveltekit-")) {
910
- const included = resolve_opts.filterSerializedResponseHeaders(lower, value);
911
- if (!included) {
912
- throw new Error(
913
- `Failed to get response header "${lower}" — it must be included by the \`filterSerializedResponseHeaders\` option: https://svelte.dev/docs/kit/hooks#Server-hooks-handle (at ${event.route.id})`
914
- );
915
- }
916
- }
917
- return value;
918
- };
919
- }
920
- return proxy;
921
- };
922
- return (input, init2) => {
923
- const response = universal_fetch(input, init2);
924
- response.catch(noop);
925
- return response;
926
- };
927
- }
928
- async function stream_to_string(stream) {
929
- let result = "";
930
- const reader = stream.getReader();
931
- const decoder = new TextDecoder();
932
- while (true) {
933
- const { done, value } = await reader.read();
934
- if (done) {
935
- result += decoder.decode();
936
- break;
937
- }
938
- result += decoder.decode(value, { stream: true });
939
- }
940
- return result;
941
- }
942
- function hash(...values) {
943
- let hash2 = 5381;
944
- for (const value of values) {
945
- if (typeof value === "string") {
946
- let i = value.length;
947
- while (i) hash2 = hash2 * 33 ^ value.charCodeAt(--i);
948
- } else if (ArrayBuffer.isView(value)) {
949
- const buffer = new Uint8Array(value.buffer, value.byteOffset, value.byteLength);
950
- let i = buffer.length;
951
- while (i) hash2 = hash2 * 33 ^ buffer[--i];
952
- } else {
953
- throw new TypeError("value must be a string or TypedArray");
954
- }
955
- }
956
- return (hash2 >>> 0).toString(36);
957
- }
958
- const replacements = {
959
- "<": "\\u003C",
960
- "\u2028": "\\u2028",
961
- "\u2029": "\\u2029"
962
- };
963
- const pattern = new RegExp(`[${Object.keys(replacements).join("")}]`, "g");
964
- function serialize_data(fetched, filter, prerendering = false) {
965
- const headers2 = {};
966
- let cache_control = null;
967
- let age = null;
968
- let varyAny = false;
969
- for (const [key2, value] of fetched.response.headers) {
970
- if (filter(key2, value)) {
971
- headers2[key2] = value;
972
- }
973
- if (key2 === "cache-control") cache_control = value;
974
- else if (key2 === "age") age = value;
975
- else if (key2 === "vary" && value.trim() === "*") varyAny = true;
976
- }
977
- const payload2 = {
978
- status: fetched.response.status,
979
- statusText: fetched.response.statusText,
980
- headers: headers2,
981
- body: fetched.response_body
982
- };
983
- const safe_payload = JSON.stringify(payload2).replace(pattern, (match) => replacements[match]);
984
- const attrs = [
985
- 'type="application/json"',
986
- "data-sveltekit-fetched",
987
- `data-url="${escape_html(fetched.url, true)}"`
988
- ];
989
- if (fetched.is_b64) {
990
- attrs.push("data-b64");
991
- }
992
- if (fetched.request_headers || fetched.request_body) {
993
- const values = [];
994
- if (fetched.request_headers) {
995
- values.push([...new Headers(fetched.request_headers)].join(","));
996
- }
997
- if (fetched.request_body) {
998
- values.push(fetched.request_body);
999
- }
1000
- attrs.push(`data-hash="${hash(...values)}"`);
1001
- }
1002
- if (!prerendering && fetched.method === "GET" && cache_control && !varyAny) {
1003
- const match = /s-maxage=(\d+)/g.exec(cache_control) ?? /max-age=(\d+)/g.exec(cache_control);
1004
- if (match) {
1005
- const ttl = +match[1] - +(age ?? "0");
1006
- attrs.push(`data-ttl="${ttl}"`);
1007
- }
1008
- }
1009
- return `<script ${attrs.join(" ")}>${safe_payload}<\/script>`;
1010
- }
1011
- function sha256(data) {
1012
- if (!key[0]) precompute();
1013
- const out = init.slice(0);
1014
- const array2 = encode(data);
1015
- for (let i = 0; i < array2.length; i += 16) {
1016
- const w = array2.subarray(i, i + 16);
1017
- let tmp;
1018
- let a;
1019
- let b;
1020
- let out0 = out[0];
1021
- let out1 = out[1];
1022
- let out2 = out[2];
1023
- let out3 = out[3];
1024
- let out4 = out[4];
1025
- let out5 = out[5];
1026
- let out6 = out[6];
1027
- let out7 = out[7];
1028
- for (let i2 = 0; i2 < 64; i2++) {
1029
- if (i2 < 16) {
1030
- tmp = w[i2];
1031
- } else {
1032
- a = w[i2 + 1 & 15];
1033
- b = w[i2 + 14 & 15];
1034
- tmp = w[i2 & 15] = (a >>> 7 ^ a >>> 18 ^ a >>> 3 ^ a << 25 ^ a << 14) + (b >>> 17 ^ b >>> 19 ^ b >>> 10 ^ b << 15 ^ b << 13) + w[i2 & 15] + w[i2 + 9 & 15] | 0;
1035
- }
1036
- tmp = tmp + out7 + (out4 >>> 6 ^ out4 >>> 11 ^ out4 >>> 25 ^ out4 << 26 ^ out4 << 21 ^ out4 << 7) + (out6 ^ out4 & (out5 ^ out6)) + key[i2];
1037
- out7 = out6;
1038
- out6 = out5;
1039
- out5 = out4;
1040
- out4 = out3 + tmp | 0;
1041
- out3 = out2;
1042
- out2 = out1;
1043
- out1 = out0;
1044
- out0 = tmp + (out1 & out2 ^ out3 & (out1 ^ out2)) + (out1 >>> 2 ^ out1 >>> 13 ^ out1 >>> 22 ^ out1 << 30 ^ out1 << 19 ^ out1 << 10) | 0;
1045
- }
1046
- out[0] = out[0] + out0 | 0;
1047
- out[1] = out[1] + out1 | 0;
1048
- out[2] = out[2] + out2 | 0;
1049
- out[3] = out[3] + out3 | 0;
1050
- out[4] = out[4] + out4 | 0;
1051
- out[5] = out[5] + out5 | 0;
1052
- out[6] = out[6] + out6 | 0;
1053
- out[7] = out[7] + out7 | 0;
1054
- }
1055
- const bytes = new Uint8Array(out.buffer);
1056
- reverse_endianness(bytes);
1057
- return btoa(String.fromCharCode(...bytes));
1058
- }
1059
- const init = new Uint32Array(8);
1060
- const key = new Uint32Array(64);
1061
- function precompute() {
1062
- function frac(x) {
1063
- return (x - Math.floor(x)) * 4294967296;
1064
- }
1065
- let prime = 2;
1066
- for (let i = 0; i < 64; prime++) {
1067
- let is_prime = true;
1068
- for (let factor = 2; factor * factor <= prime; factor++) {
1069
- if (prime % factor === 0) {
1070
- is_prime = false;
1071
- break;
1072
- }
1073
- }
1074
- if (is_prime) {
1075
- if (i < 8) {
1076
- init[i] = frac(prime ** (1 / 2));
1077
- }
1078
- key[i] = frac(prime ** (1 / 3));
1079
- i++;
1080
- }
1081
- }
1082
- }
1083
- function reverse_endianness(bytes) {
1084
- for (let i = 0; i < bytes.length; i += 4) {
1085
- const a = bytes[i + 0];
1086
- const b = bytes[i + 1];
1087
- const c = bytes[i + 2];
1088
- const d = bytes[i + 3];
1089
- bytes[i + 0] = d;
1090
- bytes[i + 1] = c;
1091
- bytes[i + 2] = b;
1092
- bytes[i + 3] = a;
1093
- }
1094
- }
1095
- function encode(str) {
1096
- const encoded = text_encoder.encode(str);
1097
- const length = encoded.length * 8;
1098
- const size = 512 * Math.ceil((length + 65) / 512);
1099
- const bytes = new Uint8Array(size / 8);
1100
- bytes.set(encoded);
1101
- bytes[encoded.length] = 128;
1102
- reverse_endianness(bytes);
1103
- const words = new Uint32Array(bytes.buffer);
1104
- words[words.length - 2] = Math.floor(length / 4294967296);
1105
- words[words.length - 1] = length;
1106
- return words;
1107
- }
1108
- const array = new Uint8Array(16);
1109
- function generate_nonce() {
1110
- crypto.getRandomValues(array);
1111
- return btoa(String.fromCharCode(...array));
1112
- }
1113
- const quoted = /* @__PURE__ */ new Set([
1114
- "self",
1115
- "unsafe-eval",
1116
- "unsafe-hashes",
1117
- "unsafe-inline",
1118
- "none",
1119
- "strict-dynamic",
1120
- "report-sample",
1121
- "wasm-unsafe-eval",
1122
- "script"
1123
- ]);
1124
- const crypto_pattern = /^(nonce|sha\d\d\d)-/;
1125
- class BaseProvider {
1126
- /** @type {boolean} */
1127
- #use_hashes;
1128
- /** @type {boolean} */
1129
- #script_needs_csp;
1130
- /** @type {boolean} */
1131
- #script_src_needs_csp;
1132
- /** @type {boolean} */
1133
- #script_src_elem_needs_csp;
1134
- /** @type {boolean} */
1135
- #style_needs_csp;
1136
- /** @type {boolean} */
1137
- #style_src_needs_csp;
1138
- /** @type {boolean} */
1139
- #style_src_attr_needs_csp;
1140
- /** @type {boolean} */
1141
- #style_src_elem_needs_csp;
1142
- /** @type {import('types').CspDirectives} */
1143
- #directives;
1144
- /** @type {Set<import('types').Csp.Source>} */
1145
- #script_src;
1146
- /** @type {Set<import('types').Csp.Source>} */
1147
- #script_src_elem;
1148
- /** @type {Set<import('types').Csp.Source>} */
1149
- #style_src;
1150
- /** @type {Set<import('types').Csp.Source>} */
1151
- #style_src_attr;
1152
- /** @type {Set<import('types').Csp.Source>} */
1153
- #style_src_elem;
1154
- /** @type {boolean} */
1155
- script_needs_nonce;
1156
- /** @type {boolean} */
1157
- style_needs_nonce;
1158
- /** @type {boolean} */
1159
- script_needs_hash;
1160
- /** @type {string} */
1161
- #nonce;
1162
- /**
1163
- * @param {boolean} use_hashes
1164
- * @param {import('types').CspDirectives} directives
1165
- * @param {string} nonce
1166
- */
1167
- constructor(use_hashes, directives, nonce) {
1168
- this.#use_hashes = use_hashes;
1169
- this.#directives = directives;
1170
- const d = this.#directives;
1171
- this.#script_src = /* @__PURE__ */ new Set();
1172
- this.#script_src_elem = /* @__PURE__ */ new Set();
1173
- this.#style_src = /* @__PURE__ */ new Set();
1174
- this.#style_src_attr = /* @__PURE__ */ new Set();
1175
- this.#style_src_elem = /* @__PURE__ */ new Set();
1176
- const effective_script_src = d["script-src"] || d["default-src"];
1177
- const script_src_elem = d["script-src-elem"];
1178
- const effective_style_src = d["style-src"] || d["default-src"];
1179
- const style_src_attr = d["style-src-attr"];
1180
- const style_src_elem = d["style-src-elem"];
1181
- const style_needs_csp = (directive) => !!directive && !directive.some((value) => value === "unsafe-inline");
1182
- const script_needs_csp = (directive) => !!directive && (!directive.some((value) => value === "unsafe-inline") || directive.some((value) => value === "strict-dynamic"));
1183
- this.#script_src_needs_csp = script_needs_csp(effective_script_src);
1184
- this.#script_src_elem_needs_csp = script_needs_csp(script_src_elem);
1185
- this.#style_src_needs_csp = style_needs_csp(effective_style_src);
1186
- this.#style_src_attr_needs_csp = style_needs_csp(style_src_attr);
1187
- this.#style_src_elem_needs_csp = style_needs_csp(style_src_elem);
1188
- this.#script_needs_csp = this.#script_src_needs_csp || this.#script_src_elem_needs_csp;
1189
- this.#style_needs_csp = this.#style_src_needs_csp || this.#style_src_attr_needs_csp || this.#style_src_elem_needs_csp;
1190
- this.script_needs_nonce = this.#script_needs_csp && !this.#use_hashes;
1191
- this.style_needs_nonce = this.#style_needs_csp && !this.#use_hashes;
1192
- this.script_needs_hash = this.#script_needs_csp && this.#use_hashes;
1193
- this.#nonce = nonce;
1194
- }
1195
- /** @param {string} content */
1196
- add_script(content) {
1197
- if (!this.#script_needs_csp) return;
1198
- const source = this.#use_hashes ? `sha256-${sha256(content)}` : `nonce-${this.#nonce}`;
1199
- if (this.#script_src_needs_csp) {
1200
- this.#script_src.add(source);
1201
- }
1202
- if (this.#script_src_elem_needs_csp) {
1203
- this.#script_src_elem.add(source);
1204
- }
1205
- }
1206
- /** @param {`sha256-${string}`[]} hashes */
1207
- add_script_hashes(hashes) {
1208
- for (const hash2 of hashes) {
1209
- if (this.#script_src_needs_csp) {
1210
- this.#script_src.add(hash2);
1211
- }
1212
- if (this.#script_src_elem_needs_csp) {
1213
- this.#script_src_elem.add(hash2);
1214
- }
1215
- }
1216
- }
1217
- /** @param {string} content */
1218
- add_style(content) {
1219
- if (!this.#style_needs_csp) return;
1220
- const source = this.#use_hashes ? `sha256-${sha256(content)}` : `nonce-${this.#nonce}`;
1221
- if (this.#style_src_needs_csp) {
1222
- this.#style_src.add(source);
1223
- }
1224
- if (this.#style_src_attr_needs_csp) {
1225
- this.#style_src_attr.add(source);
1226
- }
1227
- if (this.#style_src_elem_needs_csp) {
1228
- const sha256_empty_comment_hash = "sha256-9OlNO0DNEeaVzHL4RZwCLsBHA8WBQ8toBp/4F5XV2nc=";
1229
- const d = this.#directives;
1230
- if (d["style-src-elem"] && !d["style-src-elem"].includes(sha256_empty_comment_hash) && !this.#style_src_elem.has(sha256_empty_comment_hash)) {
1231
- this.#style_src_elem.add(sha256_empty_comment_hash);
1232
- }
1233
- if (source !== sha256_empty_comment_hash) {
1234
- this.#style_src_elem.add(source);
1235
- }
1236
- }
1237
- }
1238
- /**
1239
- * @param {boolean} [is_meta]
1240
- */
1241
- get_header(is_meta = false) {
1242
- const header = [];
1243
- const directives = { ...this.#directives };
1244
- if (this.#style_src.size > 0) {
1245
- directives["style-src"] = [
1246
- ...directives["style-src"] || directives["default-src"] || [],
1247
- ...this.#style_src
1248
- ];
1249
- }
1250
- if (this.#style_src_attr.size > 0) {
1251
- directives["style-src-attr"] = [
1252
- ...directives["style-src-attr"] || [],
1253
- ...this.#style_src_attr
1254
- ];
1255
- }
1256
- if (this.#style_src_elem.size > 0) {
1257
- directives["style-src-elem"] = [
1258
- ...directives["style-src-elem"] || [],
1259
- ...this.#style_src_elem
1260
- ];
1261
- }
1262
- if (this.#script_src.size > 0) {
1263
- directives["script-src"] = [
1264
- ...directives["script-src"] || directives["default-src"] || [],
1265
- ...this.#script_src
1266
- ];
1267
- }
1268
- if (this.#script_src_elem.size > 0) {
1269
- directives["script-src-elem"] = [
1270
- ...directives["script-src-elem"] || [],
1271
- ...this.#script_src_elem
1272
- ];
1273
- }
1274
- for (const key2 in directives) {
1275
- if (is_meta && (key2 === "frame-ancestors" || key2 === "report-uri" || key2 === "sandbox")) {
1276
- continue;
1277
- }
1278
- const value = (
1279
- /** @type {string[] | true} */
1280
- directives[key2]
1281
- );
1282
- if (!value) continue;
1283
- const directive = [key2];
1284
- if (Array.isArray(value)) {
1285
- value.forEach((value2) => {
1286
- if (quoted.has(value2) || crypto_pattern.test(value2)) {
1287
- directive.push(`'${value2}'`);
1288
- } else {
1289
- directive.push(value2);
1290
- }
1291
- });
1292
- }
1293
- header.push(directive.join(" "));
1294
- }
1295
- return header.join("; ");
1296
- }
1297
- }
1298
- class CspProvider extends BaseProvider {
1299
- get_meta() {
1300
- const content = this.get_header(true);
1301
- if (!content) {
1302
- return;
1303
- }
1304
- return `<meta http-equiv="content-security-policy" content="${escape_html(content, true)}">`;
1305
- }
1306
- }
1307
- class CspReportOnlyProvider extends BaseProvider {
1308
- /**
1309
- * @param {boolean} use_hashes
1310
- * @param {import('types').CspDirectives} directives
1311
- * @param {string} nonce
1312
- */
1313
- constructor(use_hashes, directives, nonce) {
1314
- super(use_hashes, directives, nonce);
1315
- if (Object.values(directives).filter((v) => !!v).length > 0) {
1316
- const has_report_to = directives["report-to"]?.length ?? 0 > 0;
1317
- const has_report_uri = directives["report-uri"]?.length ?? 0 > 0;
1318
- if (!has_report_to && !has_report_uri) {
1319
- throw Error(
1320
- "`content-security-policy-report-only` must be specified with either the `report-to` or `report-uri` directives, or both"
1321
- );
1322
- }
1323
- }
1324
- }
1325
- }
1326
- class Csp {
1327
- /** @readonly */
1328
- nonce = generate_nonce();
1329
- /** @type {CspProvider} */
1330
- csp_provider;
1331
- /** @type {CspReportOnlyProvider} */
1332
- report_only_provider;
1333
- /**
1334
- * @param {import('./types.js').CspConfig} config
1335
- * @param {import('./types.js').CspOpts} opts
1336
- */
1337
- constructor({ mode, directives, reportOnly }, { prerender }) {
1338
- const use_hashes = mode === "hash" || mode === "auto" && prerender;
1339
- this.csp_provider = new CspProvider(use_hashes, directives, this.nonce);
1340
- this.report_only_provider = new CspReportOnlyProvider(use_hashes, reportOnly, this.nonce);
1341
- }
1342
- get script_needs_hash() {
1343
- return this.csp_provider.script_needs_hash || this.report_only_provider.script_needs_hash;
1344
- }
1345
- get script_needs_nonce() {
1346
- return this.csp_provider.script_needs_nonce || this.report_only_provider.script_needs_nonce;
1347
- }
1348
- get style_needs_nonce() {
1349
- return this.csp_provider.style_needs_nonce || this.report_only_provider.style_needs_nonce;
1350
- }
1351
- /** @param {string} content */
1352
- add_script(content) {
1353
- this.csp_provider.add_script(content);
1354
- this.report_only_provider.add_script(content);
1355
- }
1356
- /** @param {`sha256-${string}`[]} hashes */
1357
- add_script_hashes(hashes) {
1358
- this.csp_provider.add_script_hashes(hashes);
1359
- this.report_only_provider.add_script_hashes(hashes);
1360
- }
1361
- /** @param {string} content */
1362
- add_style(content) {
1363
- this.csp_provider.add_style(content);
1364
- this.report_only_provider.add_style(content);
1365
- }
1366
- }
1367
- function exec(match, params, matchers) {
1368
- const result = {};
1369
- const values = match.slice(1);
1370
- const values_needing_match = values.filter((value) => value !== void 0);
1371
- let buffered = 0;
1372
- for (let i = 0; i < params.length; i += 1) {
1373
- const param = params[i];
1374
- let value = values[i - buffered];
1375
- if (param.chained && param.rest && buffered) {
1376
- value = values.slice(i - buffered, i + 1).filter((s2) => s2).join("/");
1377
- buffered = 0;
1378
- }
1379
- if (value === void 0) {
1380
- if (param.rest) {
1381
- value = "";
1382
- } else {
1383
- continue;
1384
- }
1385
- }
1386
- if (!param.matcher || matchers[param.matcher](value)) {
1387
- result[param.name] = value;
1388
- const next_param = params[i + 1];
1389
- const next_value = values[i + 1];
1390
- if (next_param && !next_param.rest && next_param.optional && next_value && param.chained) {
1391
- buffered = 0;
1392
- }
1393
- if (!next_param && !next_value && Object.keys(result).length === values_needing_match.length) {
1394
- buffered = 0;
1395
- }
1396
- continue;
1397
- }
1398
- if (param.optional && param.chained) {
1399
- buffered++;
1400
- continue;
1401
- }
1402
- return;
1403
- }
1404
- if (buffered) return;
1405
- return result;
1406
- }
1407
- function find_route(path, routes, matchers) {
1408
- for (const route of routes) {
1409
- const match = route.pattern.exec(path);
1410
- if (!match) continue;
1411
- const matched = exec(match, route.params, matchers);
1412
- if (matched) {
1413
- return {
1414
- route,
1415
- params: decode_params(matched)
1416
- };
1417
- }
1418
- }
1419
- return null;
1420
- }
1421
- function generate_route_object(route, url, client) {
1422
- const { errors, layouts, leaf } = route;
1423
- const nodes = [...errors, ...layouts.map((l) => l?.[1]), leaf[1]].filter((n) => typeof n === "number").map((n) => `'${n}': () => ${create_client_import(client.nodes?.[n], url)}`).join(",\n ");
1424
- return [
1425
- `{
1426
- id: ${s(route.id)}`,
1427
- `errors: ${s(route.errors)}`,
1428
- `layouts: ${s(route.layouts)}`,
1429
- `leaf: ${s(route.leaf)}`,
1430
- `nodes: {
1431
- ${nodes}
1432
- }
1433
- }`
1434
- ].join(",\n ");
1435
- }
1436
- function create_client_import(import_path, url) {
1437
- if (!import_path) return "Promise.resolve({})";
1438
- if (import_path[0] === "/") {
1439
- return `import('${import_path}')`;
1440
- }
1441
- if (assets !== "") {
1442
- return `import('${assets}/${import_path}')`;
1443
- }
1444
- let path = get_relative_path(url.pathname, `${base}/${import_path}`);
1445
- if (path[0] !== ".") path = `./${path}`;
1446
- return `import('${path}')`;
1447
- }
1448
- async function resolve_route(resolved_path, url, manifest) {
1449
- if (!manifest._.client?.routes) {
1450
- return text("Server-side route resolution disabled", { status: 400 });
1451
- }
1452
- const matchers = await manifest._.matchers();
1453
- const result = find_route(resolved_path, manifest._.client.routes, matchers);
1454
- return create_server_routing_response(
1455
- result?.route ?? null,
1456
- result?.params ?? {},
1457
- url,
1458
- manifest._.client
1459
- ).response;
1460
- }
1461
- function create_server_routing_response(route, params, url, client) {
1462
- const headers2 = new Headers({
1463
- "content-type": "application/javascript; charset=utf-8"
1464
- });
1465
- if (route) {
1466
- const csr_route = generate_route_object(route, url, client);
1467
- const body = `${create_css_import(route, url, client)}
1468
- export const route = ${csr_route}; export const params = ${JSON.stringify(params)};`;
1469
- return { response: text(body, { headers: headers2 }), body };
1470
- } else {
1471
- return { response: text("", { headers: headers2 }), body: "" };
1472
- }
1473
- }
1474
- function create_css_import(route, url, client) {
1475
- const { errors, layouts, leaf } = route;
1476
- let css = "";
1477
- for (const node of [...errors, ...layouts.map((l) => l?.[1]), leaf[1]]) {
1478
- if (typeof node !== "number") continue;
1479
- const node_css = client.css?.[node];
1480
- for (const css_path of node_css ?? []) {
1481
- css += `'${assets || base}/${css_path}',`;
1482
- }
1483
- }
1484
- if (!css) return "";
1485
- return `${create_client_import(client.start, url)}.then(x => x.load_css([${css}]));`;
1486
- }
1487
- async function handle_remote_call(event, state, options2, manifest, id) {
1488
- return record_span({
1489
- name: "sveltekit.remote.call",
1490
- attributes: {},
1491
- fn: (current2) => {
1492
- const traced_event = merge_tracing(event, current2);
1493
- return with_request_store(
1494
- { event: traced_event, state },
1495
- () => handle_remote_call_internal(traced_event, state, options2, manifest, id)
1496
- );
1497
- }
1498
- });
1499
- }
1500
- async function handle_remote_call_internal(event, state, options2, manifest, id) {
1501
- const [hash2, name, additional_args] = id.split("/");
1502
- const remotes = manifest._.remotes;
1503
- if (!remotes[hash2]) error(404);
1504
- const module = await remotes[hash2]();
1505
- const fn = module.default[name];
1506
- if (!fn) error(404);
1507
- const internals = fn.__;
1508
- const transport = options2.hooks.transport;
1509
- event.tracing.current.setAttributes({
1510
- "sveltekit.remote.call.type": internals.type,
1511
- "sveltekit.remote.call.name": internals.name
1512
- });
1513
- const headers2 = state.prerendering ? void 0 : { "cache-control": "private, no-store" };
1514
- try {
1515
- const data = {};
1516
- switch (internals.type) {
1517
- case "query_live": {
1518
- let send = function(controller, payload3) {
1519
- controller.enqueue(encoder.encode("data: " + JSON.stringify(payload3) + "\n\n"));
1520
- };
1521
- if (event.request.method !== "GET") {
1522
- throw new SvelteKitError(
1523
- 405,
1524
- "Method Not Allowed",
1525
- `\`query.live\` functions must be invoked via GET request, not ${event.request.method}`
1526
- );
1527
- }
1528
- const payload2 = (
1529
- /** @type {string} */
1530
- new URL(event.request.url).searchParams.get("payload")
1531
- );
1532
- const generator = internals.run(event, state, parse_remote_arg(payload2, transport));
1533
- const encoder = new TextEncoder();
1534
- let closed = false;
1535
- let result = void 0;
1536
- async function cancel() {
1537
- if (closed) return;
1538
- closed = true;
1539
- await generator.return(void 0);
1540
- }
1541
- event.request.signal.addEventListener("abort", cancel, { once: true });
1542
- return new Response(
1543
- new ReadableStream({
1544
- async pull(controller) {
1545
- if (event.request.signal.aborted) {
1546
- await cancel();
1547
- controller.close();
1548
- return;
1549
- }
1550
- try {
1551
- while (true) {
1552
- const { value, done } = await generator.next();
1553
- if (done) {
1554
- await cancel();
1555
- controller.close();
1556
- return;
1557
- }
1558
- if (result !== (result = stringify(value, transport))) {
1559
- send(controller, {
1560
- type: "result",
1561
- result
1562
- });
1563
- return;
1564
- }
1565
- }
1566
- } catch (error2) {
1567
- if (!event.request.signal.aborted) {
1568
- if (error2 instanceof Redirect) {
1569
- send(controller, {
1570
- type: "redirect",
1571
- location: error2.location
1572
- });
1573
- } else {
1574
- const status = error2 instanceof HttpError || error2 instanceof SvelteKitError ? error2.status : 500;
1575
- send(controller, {
1576
- type: "error",
1577
- error: await handle_error_and_jsonify(event, state, options2, error2),
1578
- status
1579
- });
1580
- }
1581
- }
1582
- await cancel();
1583
- controller.close();
1584
- }
1585
- },
1586
- cancel
1587
- }),
1588
- {
1589
- headers: {
1590
- "cache-control": "private, no-store",
1591
- "content-type": "text/event-stream"
1592
- }
1593
- }
1594
- );
1595
- }
1596
- case "query_batch": {
1597
- if (event.request.method !== "POST") {
1598
- throw new SvelteKitError(
1599
- 405,
1600
- "Method Not Allowed",
1601
- `\`query.batch\` functions must be invoked via POST request, not ${event.request.method}`
1602
- );
1603
- }
1604
- const { payloads } = await event.request.json();
1605
- const args = await Promise.all(
1606
- payloads.map((payload2) => parse_remote_arg(payload2, transport))
1607
- );
1608
- data._ = await with_request_store({ event, state }, () => internals.run(args, options2));
1609
- break;
1610
- }
1611
- case "form": {
1612
- if (event.request.method !== "POST") {
1613
- throw new SvelteKitError(
1614
- 405,
1615
- "Method Not Allowed",
1616
- `\`form\` functions must be invoked via POST request, not ${event.request.method}`
1617
- );
1618
- }
1619
- if (!is_form_content_type(event.request)) {
1620
- throw new SvelteKitError(
1621
- 415,
1622
- "Unsupported Media Type",
1623
- `\`form\` functions expect form-encoded data — received ${event.request.headers.get(
1624
- "content-type"
1625
- )}`
1626
- );
1627
- }
1628
- const { data: input, meta, form_data } = await deserialize_binary_form(event.request);
1629
- state.remote.requested = create_requested_map(meta.remote_refreshes);
1630
- if (additional_args && !("id" in input)) {
1631
- input.id = JSON.parse(decodeURIComponent(additional_args));
1632
- }
1633
- const fn2 = internals.fn;
1634
- data._ = await with_request_store(
1635
- { event, state: { ...state, is_in_remote_form_or_command: true } },
1636
- () => fn2(input, meta, form_data)
1637
- );
1638
- if (data._.issues) {
1639
- return json(
1640
- /** @type {RemoteFunctionResponse} */
1641
- {
1642
- type: "result",
1643
- data: stringify(data, transport)
1644
- },
1645
- { headers: headers2 }
1646
- );
1647
- }
1648
- break;
1649
- }
1650
- case "command": {
1651
- const { payload: payload2, refreshes } = await event.request.json();
1652
- state.remote.requested = create_requested_map(refreshes);
1653
- const arg = parse_remote_arg(payload2, transport);
1654
- data._ = await with_request_store(
1655
- { event, state: { ...state, is_in_remote_form_or_command: true } },
1656
- () => fn(arg)
1657
- );
1658
- break;
1659
- }
1660
- case "prerender": {
1661
- data._ = await with_request_store(
1662
- { event, state },
1663
- () => fn(parse_remote_arg(additional_args, transport))
1664
- );
1665
- break;
1666
- }
1667
- case "query": {
1668
- const payload2 = (
1669
- /** @type {string} */
1670
- // new URL(...) necessary because we're hiding the URL from the user in the event object
1671
- new URL(event.request.url).searchParams.get("payload")
1672
- );
1673
- data._ = await with_request_store(
1674
- { event, state },
1675
- () => fn(parse_remote_arg(payload2, transport))
1676
- );
1677
- break;
1678
- }
1679
- }
1680
- await collect_remote_data(data, event, state, options2);
1681
- return json(
1682
- /** @type {RemoteFunctionResponse} */
1683
- {
1684
- type: "result",
1685
- data: stringify(data, transport)
1686
- },
1687
- { headers: headers2 }
1688
- );
1689
- } catch (error2) {
1690
- if (error2 instanceof Redirect) {
1691
- const data = await collect_remote_data({ redirect: error2.location }, event, state, options2);
1692
- return json(
1693
- /** @type {RemoteFunctionResponse} */
1694
- {
1695
- type: "result",
1696
- data: stringify(data, transport)
1697
- },
1698
- { headers: headers2 }
1699
- );
1700
- }
1701
- const status = error2 instanceof HttpError || error2 instanceof SvelteKitError ? error2.status : 500;
1702
- return json(
1703
- /** @type {RemoteFunctionResponse} */
1704
- {
1705
- type: "error",
1706
- error: await handle_error_and_jsonify(event, state, options2, error2),
1707
- status
1708
- },
1709
- {
1710
- // By setting a non-200 during prerendering we fail the prerender process (unless handleHttpError handles it).
1711
- // Errors at runtime will be passed to the client and are handled there
1712
- status: state.prerendering ? status : void 0,
1713
- headers: {
1714
- "cache-control": "private, no-store"
1715
- }
1716
- }
1717
- );
1718
- }
1719
- }
1720
- async function collect_remote_data(data, event, state, options2) {
1721
- async function convert_error(error2) {
1722
- const status = error2 instanceof HttpError || error2 instanceof SvelteKitError ? error2.status : 500;
1723
- return [status, await handle_error_and_jsonify(event, state, options2, error2)];
1724
- }
1725
- const promises = [];
1726
- if (state.remote.explicit) {
1727
- for (const [remote_key, { internals, promise }] of state.remote.explicit) {
1728
- data.r = true;
1729
- const type = (
1730
- /** @type {'p' | 'q' | 'l'} */
1731
- internals.type === "query_live" ? "l" : internals.type[0]
1732
- );
1733
- await promise.then(
1734
- (v) => {
1735
- ((data[type] ??= {})[remote_key] ??= {}).v = v;
1736
- },
1737
- async (e) => {
1738
- if (e instanceof Redirect) {
1739
- return;
1740
- }
1741
- ((data[type] ??= {})[remote_key] ??= {}).e = await convert_error(e);
1742
- }
1743
- );
1744
- }
1745
- }
1746
- await Promise.all(promises);
1747
- if (state.remote.implicit) {
1748
- for (const [internals, record] of state.remote.implicit) {
1749
- if (!internals.id) continue;
1750
- for (const key2 in record) {
1751
- const remote_key = internals.type === "form" ? key2 : create_remote_key(internals.id, key2);
1752
- const type = (
1753
- /** @type {'p' | 'q' | 'l' | 'f'} */
1754
- internals.type === "query_live" ? "l" : internals.type[0]
1755
- );
1756
- const promise = state.remote.data?.get(internals)?.[key2] ?? record[key2]();
1757
- let resolved = true;
1758
- await Promise.race([
1759
- Promise.resolve(promise).then(
1760
- (v) => {
1761
- if (resolved) {
1762
- ((data[type] ??= {})[remote_key] ??= {}).v = v;
1763
- }
1764
- },
1765
- (e) => {
1766
- if (e instanceof Redirect) {
1767
- return;
1768
- }
1769
- if (resolved) {
1770
- promises.push(
1771
- convert_error(e).then((e2) => {
1772
- ((data[type] ??= {})[remote_key] ??= {}).e = e2;
1773
- })
1774
- );
1775
- }
1776
- }
1777
- ),
1778
- Promise.resolve().then(() => resolved = false)
1779
- ]);
1780
- }
1781
- }
1782
- }
1783
- await Promise.all(promises);
1784
- return data;
1785
- }
1786
- function create_requested_map(refreshes) {
1787
- const requested = /* @__PURE__ */ new Map();
1788
- for (const key2 of refreshes ?? []) {
1789
- const parts = split_remote_key(key2);
1790
- const existing = requested.get(parts.id);
1791
- if (existing) {
1792
- existing.push(parts.payload);
1793
- } else {
1794
- requested.set(parts.id, [parts.payload]);
1795
- }
1796
- }
1797
- return requested;
1798
- }
1799
- async function handle_remote_form_post(event, state, manifest, id) {
1800
- return record_span({
1801
- name: "sveltekit.remote.form.post",
1802
- attributes: {},
1803
- fn: (current2) => {
1804
- const traced_event = merge_tracing(event, current2);
1805
- return with_request_store(
1806
- { event: traced_event, state },
1807
- () => handle_remote_form_post_internal(traced_event, state, manifest, id)
1808
- );
1809
- }
1810
- });
1811
- }
1812
- async function handle_remote_form_post_internal(event, state, manifest, id) {
1813
- const [hash2, name, ...rest] = id.split("/");
1814
- const action_id = rest.join("/");
1815
- const remotes = manifest._.remotes;
1816
- const module = await remotes[hash2]?.();
1817
- let form = (
1818
- /** @type {RemoteForm<any, any>} */
1819
- module?.default[name]
1820
- );
1821
- if (!form) {
1822
- event.setHeaders({
1823
- // https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/405
1824
- // "The server must generate an Allow header field in a 405 status code response"
1825
- allow: "GET"
1826
- });
1827
- return {
1828
- type: "error",
1829
- error: new SvelteKitError(
1830
- 405,
1831
- "Method Not Allowed",
1832
- `POST method not allowed. No form actions exist for ${"this page"}`
1833
- )
1834
- };
1835
- }
1836
- if (action_id) {
1837
- form = with_request_store({ event, state }, () => form.for(JSON.parse(action_id)));
1838
- }
1839
- try {
1840
- const fn = (
1841
- /** @type {RemoteFormInternals} */
1842
- /** @type {any} */
1843
- form.__.fn
1844
- );
1845
- const { data, meta, form_data } = await deserialize_binary_form(event.request);
1846
- if (action_id && !("id" in data)) {
1847
- data.id = JSON.parse(decodeURIComponent(action_id));
1848
- }
1849
- await with_request_store(
1850
- { event, state: { ...state, is_in_remote_form_or_command: true } },
1851
- () => fn(data, meta, form_data)
1852
- );
1853
- return {
1854
- type: "success",
1855
- status: 200
1856
- };
1857
- } catch (e) {
1858
- const err = normalize_error(e);
1859
- if (err instanceof Redirect) {
1860
- return {
1861
- type: "redirect",
1862
- status: err.status,
1863
- location: err.location
1864
- };
1865
- }
1866
- return {
1867
- type: "error",
1868
- error: check_incorrect_fail_use(err)
1869
- };
1870
- }
1871
- }
1872
- function get_remote_id(url) {
1873
- return url.pathname.startsWith(`${base}/${app_dir}/remote/`) && url.pathname.replace(`${base}/${app_dir}/remote/`, "");
1874
- }
1875
- function get_remote_action(url) {
1876
- return url.searchParams.get("/remote");
1877
- }
1878
- const updated = {
1879
- ...readable(false),
1880
- check: () => false
1881
- };
1882
- async function render_response({
1883
- branch,
1884
- fetched,
1885
- options: options2,
1886
- manifest,
1887
- state,
1888
- page_config,
1889
- status,
1890
- error: error2 = null,
1891
- event,
1892
- event_state,
1893
- resolve_opts,
1894
- action_result,
1895
- data_serializer,
1896
- error_components
1897
- }) {
1898
- if (state.prerendering) {
1899
- if (options2.csp.mode === "nonce") {
1900
- throw new Error('Cannot use prerendering if config.kit.csp.mode === "nonce"');
1901
- }
1902
- if (options2.app_template_contains_nonce) {
1903
- throw new Error("Cannot use prerendering if page template contains %sveltekit.nonce%");
1904
- }
1905
- }
1906
- const { client } = manifest._;
1907
- const modulepreloads = new Set(client?.imports);
1908
- const stylesheets = new Set(client?.stylesheets);
1909
- const fonts = new Set(client?.fonts);
1910
- const link_headers = /* @__PURE__ */ new Set();
1911
- const inline_styles = /* @__PURE__ */ new Map();
1912
- let rendered;
1913
- const form_value = action_result?.type === "success" || action_result?.type === "failure" ? action_result.data ?? null : null;
1914
- let base$1 = base;
1915
- let assets$1 = assets;
1916
- let base_expression = s(base);
1917
- const csp = new Csp(options2.csp, {
1918
- prerender: !!state.prerendering
1919
- });
1920
- {
1921
- if (!state.prerendering?.fallback) {
1922
- const pathname = event.isDataRequest ? add_data_suffix(event.url.pathname) : event.url.pathname;
1923
- const segments = pathname.slice(base.length).split("/").slice(2);
1924
- base$1 = segments.map(() => "..").join("/") || ".";
1925
- base_expression = `new URL(${s(base$1)}, location).pathname.slice(0, -1)`;
1926
- if (!assets || assets[0] === "/" && assets !== SVELTE_KIT_ASSETS) {
1927
- assets$1 = base$1;
1928
- }
1929
- } else if (options2.hash_routing) {
1930
- base_expression = "new URL('.', location).pathname.slice(0, -1)";
1931
- }
1932
- }
1933
- if (page_config.ssr) {
1934
- const props = {
1935
- stores: {
1936
- page: writable(null),
1937
- navigating: writable(null),
1938
- updated
1939
- },
1940
- constructors: await Promise.all(
1941
- branch.map(({ node }) => {
1942
- if (!node.component) {
1943
- throw new Error(`Missing +page.svelte component for route ${event.route.id}`);
1944
- }
1945
- return node.component();
1946
- })
1947
- ),
1948
- form: form_value
1949
- };
1950
- if (error_components) {
1951
- if (error2) {
1952
- props.error = error2;
1953
- }
1954
- props.errors = error_components;
1955
- }
1956
- let data2 = {};
1957
- for (let i = 0; i < branch.length; i += 1) {
1958
- data2 = { ...data2, ...branch[i].data };
1959
- props[`data_${i}`] = data2;
1960
- }
1961
- props.page = {
1962
- error: error2,
1963
- params: (
1964
- /** @type {Record<string, any>} */
1965
- event.params
1966
- ),
1967
- route: event.route,
1968
- status,
1969
- url: event.url,
1970
- data: data2,
1971
- form: form_value,
1972
- state: {}
1973
- };
1974
- const render_opts = {
1975
- context: /* @__PURE__ */ new Map([
1976
- [
1977
- "__request__",
1978
- {
1979
- page: props.page
1980
- }
1981
- ]
1982
- ]),
1983
- csp: csp.script_needs_nonce ? { nonce: csp.nonce } : { hash: csp.script_needs_hash },
1984
- transformError: error_components ? (
1985
- /** @param {unknown} e */
1986
- (async (e) => {
1987
- if (isRedirect(e)) {
1988
- throw e;
1989
- }
1990
- const transformed2 = await handle_error_and_jsonify(event, event_state, options2, e);
1991
- props.page.error = props.error = error2 = transformed2;
1992
- props.page.status = status = get_status(e);
1993
- return transformed2;
1994
- })
1995
- ) : void 0
1996
- };
1997
- try {
1998
- if (BROWSER) ;
1999
- const state2 = { ...event_state, is_in_render: true };
2000
- rendered = await with_request_store({ event, state: state2 }, async () => {
2001
- if (relative) override({ base: base$1, assets: assets$1 });
2002
- const maybe_promise = options2.root.render(props, render_opts);
2003
- const rendered2 = options2.async && "then" in maybe_promise ? (
2004
- /** @type {ReturnType<typeof options.root.render> & Promise<any>} */
2005
- maybe_promise.then((r) => r)
2006
- ) : maybe_promise;
2007
- if (options2.async) {
2008
- reset();
2009
- }
2010
- const { head: head2, html: html2, css, hashes } = (
2011
- /** @type {ReturnType<typeof options.root.render>} */
2012
- options2.async ? await rendered2 : rendered2
2013
- );
2014
- if (hashes) {
2015
- csp.add_script_hashes(hashes.script);
2016
- }
2017
- return { head: head2, html: html2, css, hashes };
2018
- });
2019
- } finally {
2020
- reset();
2021
- }
2022
- } else {
2023
- rendered = { head: "", html: "", css: { code: "", map: null }, hashes: { script: [] } };
2024
- }
2025
- for (const { node } of branch) {
2026
- for (const url of node.imports) modulepreloads.add(url);
2027
- for (const url of node.stylesheets) stylesheets.add(url);
2028
- for (const url of node.fonts) fonts.add(url);
2029
- if (node.inline_styles && !client?.inline) {
2030
- Object.entries(await node.inline_styles()).forEach(([filename, css]) => {
2031
- if (typeof css === "string") {
2032
- inline_styles.set(filename, css);
2033
- return;
2034
- }
2035
- inline_styles.set(filename, css(`${assets$1}/${app_dir}/immutable/assets`, assets$1));
2036
- });
2037
- }
2038
- }
2039
- const head = new Head(rendered.head, !!state.prerendering);
2040
- let body = rendered.html;
2041
- const prefixed = (path) => {
2042
- if (path.startsWith("/")) {
2043
- return base + path;
2044
- }
2045
- return `${assets$1}/${path}`;
2046
- };
2047
- const style = client?.inline ? client.inline?.style : Array.from(inline_styles.values()).join("\n");
2048
- if (style) {
2049
- const attributes = [];
2050
- if (csp.style_needs_nonce) attributes.push(`nonce="${csp.nonce}"`);
2051
- csp.add_style(style);
2052
- head.add_style(style, attributes);
2053
- }
2054
- for (const dep of stylesheets) {
2055
- const path = prefixed(dep);
2056
- const attributes = ['rel="stylesheet"'];
2057
- if (inline_styles.has(dep)) {
2058
- attributes.push("disabled", 'media="(max-width: 0)"');
2059
- } else {
2060
- if (resolve_opts.preload({ type: "css", path })) {
2061
- link_headers.add(`<${encodeURI(path)}>; rel="preload"; as="style"; nopush`);
2062
- }
2063
- }
2064
- head.add_stylesheet(path, attributes);
2065
- }
2066
- for (const dep of fonts) {
2067
- const path = prefixed(dep);
2068
- if (resolve_opts.preload({ type: "font", path })) {
2069
- const ext = dep.slice(dep.lastIndexOf(".") + 1);
2070
- head.add_link_tag(path, ['rel="preload"', 'as="font"', `type="font/${ext}"`, "crossorigin"]);
2071
- link_headers.add(
2072
- `<${encodeURI(path)}>; rel="preload"; as="font"; type="font/${ext}"; crossorigin; nopush`
2073
- );
2074
- }
2075
- }
2076
- const global = get_global_name(options2);
2077
- const { data, chunks } = data_serializer.get_data(csp);
2078
- if (page_config.ssr && page_config.csr) {
2079
- body += `
2080
- ${fetched.map(
2081
- (item) => serialize_data(item, resolve_opts.filterSerializedResponseHeaders, !!state.prerendering)
2082
- ).join("\n ")}`;
2083
- }
2084
- if (page_config.csr && client) {
2085
- const route = client.routes?.find((r) => r.id === event.route.id) ?? null;
2086
- const load_env_eagerly = client.uses_env_dynamic_public && !!state.prerendering;
2087
- if (load_env_eagerly) {
2088
- modulepreloads.add(`${app_dir}/env.js`);
2089
- }
2090
- if (!client.inline) {
2091
- const included_modulepreloads = Array.from(modulepreloads, (dep) => prefixed(dep)).filter(
2092
- (path) => resolve_opts.preload({ type: "js", path })
2093
- );
2094
- for (const path of included_modulepreloads) {
2095
- link_headers.add(`<${encodeURI(path)}>; rel="modulepreload"; nopush`);
2096
- if (options2.preload_strategy !== "modulepreload") {
2097
- head.add_script_preload(path);
2098
- } else {
2099
- head.add_link_tag(path, ['rel="modulepreload"']);
2100
- }
2101
- }
2102
- }
2103
- if (client.routes && state.prerendering && !state.prerendering.fallback) {
2104
- const pathname = add_resolution_suffix(event.url.pathname);
2105
- state.prerendering.dependencies.set(
2106
- pathname,
2107
- create_server_routing_response(route, event.params, new URL(pathname, event.url), client)
2108
- );
2109
- }
2110
- const blocks = [];
2111
- const properties = [`base: ${base_expression}`];
2112
- if (assets) {
2113
- properties.push(`assets: ${s(assets)}`);
2114
- }
2115
- if (client.uses_env_dynamic_public) {
2116
- properties.push(`env: ${load_env_eagerly ? "null" : s(public_env)}`);
2117
- }
2118
- if (chunks) {
2119
- blocks.push("const deferred = new Map();");
2120
- properties.push(`defer: (id) => new Promise((fulfil, reject) => {
2121
- deferred.set(id, { fulfil, reject });
2122
- })`);
2123
- let app_declaration = "";
2124
- if (Object.keys(options2.hooks.transport).length > 0) {
2125
- if (client.inline) {
2126
- app_declaration = `const app = ${global}.app.app;`;
2127
- } else if (client.app) {
2128
- app_declaration = `const app = await import(${s(prefixed(client.app))});`;
2129
- } else {
2130
- app_declaration = `const { app } = await import(${s(prefixed(client.start))});`;
2131
- }
2132
- }
2133
- const prelude = app_declaration ? `${app_declaration}
2134
- const [data, error] = fn(app);` : `const [data, error] = fn();`;
2135
- properties.push(`resolve: async (id, fn) => {
2136
- ${prelude}
2137
-
2138
- const try_to_resolve = () => {
2139
- if (!deferred.has(id)) {
2140
- setTimeout(try_to_resolve, 0);
2141
- return;
2142
- }
2143
- const { fulfil, reject } = deferred.get(id);
2144
- deferred.delete(id);
2145
- if (error) reject(error);
2146
- else fulfil(data);
2147
- }
2148
- try_to_resolve();
2149
- }`);
2150
- }
2151
- blocks.push(`${global} = {
2152
- ${properties.join(",\n ")}
2153
- };`);
2154
- const args = ["element"];
2155
- blocks.push("const element = document.currentScript.parentElement;");
2156
- if (page_config.ssr) {
2157
- const serialized = { form: "null", error: "null" };
2158
- if (form_value) {
2159
- serialized.form = uneval_action_response(
2160
- form_value,
2161
- /** @type {string} */
2162
- event.route.id,
2163
- options2.hooks.transport
2164
- );
2165
- }
2166
- if (error2) {
2167
- serialized.error = uneval(error2);
2168
- }
2169
- const hydrate = [
2170
- `node_ids: [${branch.map(({ node }) => node.index).join(", ")}]`,
2171
- `data: ${data}`,
2172
- `form: ${serialized.form}`,
2173
- `error: ${serialized.error}`
2174
- ];
2175
- if (status !== 200) {
2176
- hydrate.push(`status: ${status}`);
2177
- }
2178
- if (client.routes) {
2179
- if (route) {
2180
- const stringified = generate_route_object(route, event.url, client).replaceAll(
2181
- "\n",
2182
- "\n "
2183
- );
2184
- hydrate.push(`params: ${uneval(event.params)}`, `server_route: ${stringified}`);
2185
- }
2186
- } else if (options2.embedded) {
2187
- hydrate.push(`params: ${uneval(event.params)}`, `route: ${s(event.route)}`);
2188
- }
2189
- const indent = " ".repeat(load_env_eagerly ? 7 : 6);
2190
- args.push(`{
2191
- ${indent} ${hydrate.join(`,
2192
- ${indent} `)}
2193
- ${indent}}`);
2194
- }
2195
- const remote_data = await collect_remote_data({}, event, event_state, options2);
2196
- const serialized_data = Object.keys(remote_data).length > 0 ? `${global}.data = ${uneval(remote_data, create_replacer(options2.hooks.transport))};
2197
-
2198
- ` : "";
2199
- const boot = client.inline ? `${client.inline.script}
2200
-
2201
- ${serialized_data}${global}.app.start(${args.join(", ")});` : client.app ? `Promise.all([
2202
- import(${s(prefixed(client.start))}),
2203
- import(${s(prefixed(client.app))})
2204
- ]).then(([kit, app]) => {
2205
- ${serialized_data}kit.start(app, ${args.join(", ")});
2206
- });` : `import(${s(prefixed(client.start))}).then((app) => {
2207
- ${serialized_data}app.start(${args.join(", ")})
2208
- });`;
2209
- if (load_env_eagerly) {
2210
- blocks.push(`import(${s(`${base$1}/${app_dir}/env.js`)}).then(({ env }) => {
2211
- ${global}.env = env;
2212
-
2213
- ${boot.replace(/\n/g, "\n ")}
2214
- });`);
2215
- } else {
2216
- blocks.push(boot);
2217
- }
2218
- if (options2.service_worker) {
2219
- let opts = "";
2220
- if (options2.service_worker_options != null) {
2221
- const service_worker_options = { ...options2.service_worker_options };
2222
- opts = `, ${s(service_worker_options)}`;
2223
- }
2224
- blocks.push(`if ('serviceWorker' in navigator) {
2225
- const script_url = '${prefixed("service-worker.js")}';
2226
- const policy = globalThis?.window?.trustedTypes?.createPolicy(
2227
- 'sveltekit-trusted-url',
2228
- { createScriptURL(url) { return url; } }
2229
- );
2230
- const sanitised = policy?.createScriptURL(script_url) ?? script_url;
2231
- addEventListener('load', function () {
2232
- navigator.serviceWorker.register(sanitised${opts});
2233
- });
2234
- }`);
2235
- }
2236
- const init_app = `
2237
- {
2238
- ${blocks.join("\n\n ")}
2239
- }
2240
- `;
2241
- csp.add_script(init_app);
2242
- body += `
2243
- <script${csp.script_needs_nonce ? ` nonce="${csp.nonce}"` : ""}>${init_app}<\/script>
2244
- `;
2245
- }
2246
- const headers2 = new Headers({
2247
- "x-sveltekit-page": "true",
2248
- "content-type": "text/html"
2249
- });
2250
- if (state.prerendering) {
2251
- const csp_headers = csp.csp_provider.get_meta();
2252
- if (csp_headers) {
2253
- head.add_http_equiv(csp_headers);
2254
- }
2255
- if (state.prerendering.cache) {
2256
- head.add_http_equiv(
2257
- `<meta http-equiv="cache-control" content="${state.prerendering.cache}">`
2258
- );
2259
- }
2260
- } else {
2261
- const csp_header = csp.csp_provider.get_header();
2262
- if (csp_header) {
2263
- headers2.set("content-security-policy", csp_header);
2264
- }
2265
- const report_only_header = csp.report_only_provider.get_header();
2266
- if (report_only_header) {
2267
- headers2.set("content-security-policy-report-only", report_only_header);
2268
- }
2269
- if (link_headers.size) {
2270
- headers2.set("link", Array.from(link_headers).join(", "));
2271
- }
2272
- }
2273
- const html = options2.templates.app({
2274
- head: head.build(),
2275
- body,
2276
- assets: assets$1,
2277
- nonce: (
2278
- /** @type {string} */
2279
- csp.nonce
2280
- ),
2281
- env: public_env
2282
- });
2283
- const transformed = await resolve_opts.transformPageChunk({
2284
- html,
2285
- done: true
2286
- }) || "";
2287
- if (!chunks) {
2288
- headers2.set("etag", `"${hash(transformed)}"`);
2289
- }
2290
- return !chunks ? text(transformed, {
2291
- status,
2292
- headers: headers2
2293
- }) : new Response(
2294
- new ReadableStream({
2295
- async start(controller) {
2296
- controller.enqueue(text_encoder.encode(transformed + "\n"));
2297
- for await (const chunk of chunks) {
2298
- if (chunk.length) controller.enqueue(text_encoder.encode(chunk));
2299
- }
2300
- controller.close();
2301
- },
2302
- type: "bytes"
2303
- }),
2304
- {
2305
- headers: headers2
2306
- }
2307
- );
2308
- }
2309
- class Head {
2310
- #rendered;
2311
- #prerendering;
2312
- /** @type {string[]} */
2313
- #http_equiv = [];
2314
- /** @type {string[]} */
2315
- #link_tags = [];
2316
- /** @type {string[]} */
2317
- #script_preloads = [];
2318
- /** @type {string[]} */
2319
- #style_tags = [];
2320
- /** @type {string[]} */
2321
- #stylesheet_links = [];
2322
- /**
2323
- * @param {string} rendered
2324
- * @param {boolean} prerendering
2325
- */
2326
- constructor(rendered, prerendering) {
2327
- this.#rendered = rendered;
2328
- this.#prerendering = prerendering;
2329
- }
2330
- build() {
2331
- return [
2332
- ...this.#http_equiv,
2333
- ...this.#link_tags,
2334
- ...this.#script_preloads,
2335
- this.#rendered,
2336
- ...this.#style_tags,
2337
- ...this.#stylesheet_links
2338
- ].join("\n ");
2339
- }
2340
- /**
2341
- * @param {string} style
2342
- * @param {string[]} attributes
2343
- */
2344
- add_style(style, attributes) {
2345
- this.#style_tags.push(
2346
- `<style${attributes.length ? " " + attributes.join(" ") : ""}>${style}</style>`
2347
- );
2348
- }
2349
- /**
2350
- * @param {string} href
2351
- * @param {string[]} attributes
2352
- */
2353
- add_stylesheet(href, attributes) {
2354
- this.#stylesheet_links.push(`<link href="${href}" ${attributes.join(" ")}>`);
2355
- }
2356
- /** @param {string} href */
2357
- add_script_preload(href) {
2358
- this.#script_preloads.push(
2359
- `<link rel="preload" as="script" crossorigin="anonymous" href="${href}">`
2360
- );
2361
- }
2362
- /**
2363
- * @param {string} href
2364
- * @param {string[]} attributes
2365
- */
2366
- add_link_tag(href, attributes) {
2367
- if (!this.#prerendering) return;
2368
- this.#link_tags.push(`<link href="${href}" ${attributes.join(" ")}>`);
2369
- }
2370
- /** @param {string} tag */
2371
- add_http_equiv(tag) {
2372
- if (!this.#prerendering) return;
2373
- this.#http_equiv.push(tag);
2374
- }
2375
- }
2376
- class PageNodes {
2377
- /** All layout nodes and the page node, if any */
2378
- data;
2379
- /**
2380
- * @param {Array<import('types').SSRNode | undefined>} nodes
2381
- */
2382
- constructor(nodes) {
2383
- this.data = nodes;
2384
- }
2385
- layouts() {
2386
- return this.data.slice(0, -1);
2387
- }
2388
- page() {
2389
- return this.data.at(-1);
2390
- }
2391
- validate() {
2392
- for (const layout of this.layouts()) {
2393
- if (layout) {
2394
- validate_layout_server_exports(
2395
- layout.server,
2396
- /** @type {string} */
2397
- layout.server_id
2398
- );
2399
- validate_layout_exports(
2400
- layout.universal,
2401
- /** @type {string} */
2402
- layout.universal_id
2403
- );
2404
- }
2405
- }
2406
- const page = this.page();
2407
- if (page) {
2408
- validate_page_server_exports(
2409
- page.server,
2410
- /** @type {string} */
2411
- page.server_id
2412
- );
2413
- validate_page_exports(
2414
- page.universal,
2415
- /** @type {string} */
2416
- page.universal_id
2417
- );
2418
- }
2419
- }
2420
- /**
2421
- * @template {'prerender' | 'ssr' | 'csr' | 'trailingSlash'} Option
2422
- * @param {Option} option
2423
- * @returns {Value | undefined}
2424
- */
2425
- #get_option(option) {
2426
- return this.data.reduce(
2427
- (value, node) => {
2428
- return node?.universal?.[option] ?? node?.server?.[option] ?? value;
2429
- },
2430
- /** @type {Value | undefined} */
2431
- void 0
2432
- );
2433
- }
2434
- csr() {
2435
- return this.#get_option("csr") ?? true;
2436
- }
2437
- ssr() {
2438
- return this.#get_option("ssr") ?? true;
2439
- }
2440
- prerender() {
2441
- return this.#get_option("prerender") ?? false;
2442
- }
2443
- trailing_slash() {
2444
- return this.#get_option("trailingSlash") ?? "never";
2445
- }
2446
- get_config() {
2447
- let current2 = {};
2448
- for (const node of this.data) {
2449
- if (!node?.universal?.config && !node?.server?.config) continue;
2450
- current2 = {
2451
- ...current2,
2452
- // TODO: should we override the server config value with the universal value similar to other page options?
2453
- ...node?.universal?.config,
2454
- ...node?.server?.config
2455
- };
2456
- }
2457
- return Object.keys(current2).length ? current2 : void 0;
2458
- }
2459
- should_prerender_data() {
2460
- return this.data.some(
2461
- // prerender in case of trailingSlash because the client retrieves that value from the server
2462
- (node) => node?.server?.load || node?.server?.trailingSlash !== void 0
2463
- );
2464
- }
2465
- }
2466
- async function respond_with_error({
2467
- event,
2468
- event_state,
2469
- options: options2,
2470
- manifest,
2471
- state,
2472
- status,
2473
- error: error2,
2474
- resolve_opts
2475
- }) {
2476
- if (event.request.headers.get("x-sveltekit-error")) {
2477
- return static_error_page(
2478
- options2,
2479
- status,
2480
- /** @type {Error} */
2481
- error2.message
2482
- );
2483
- }
2484
- const fetched = [];
2485
- try {
2486
- const branch = [];
2487
- const default_layout = await manifest._.nodes[0]();
2488
- const nodes = new PageNodes([default_layout]);
2489
- const ssr = nodes.ssr();
2490
- const csr = nodes.csr();
2491
- const data_serializer = server_data_serializer(event, event_state, options2);
2492
- if (ssr) {
2493
- state.error = true;
2494
- const server_data_promise = load_server_data({
2495
- event,
2496
- event_state,
2497
- state,
2498
- node: default_layout,
2499
- // eslint-disable-next-line @typescript-eslint/require-await
2500
- parent: async () => ({})
2501
- });
2502
- const server_data = await server_data_promise;
2503
- data_serializer.add_node(0, server_data);
2504
- const data = await load_data({
2505
- event,
2506
- event_state,
2507
- fetched,
2508
- node: default_layout,
2509
- // eslint-disable-next-line @typescript-eslint/require-await
2510
- parent: async () => ({}),
2511
- resolve_opts,
2512
- server_data_promise,
2513
- state,
2514
- csr
2515
- });
2516
- branch.push(
2517
- {
2518
- node: default_layout,
2519
- server_data,
2520
- data
2521
- },
2522
- {
2523
- node: await manifest._.nodes[1](),
2524
- // 1 is always the root error
2525
- data: null,
2526
- server_data: null
2527
- }
2528
- );
2529
- }
2530
- return await render_response({
2531
- options: options2,
2532
- manifest,
2533
- state,
2534
- page_config: {
2535
- ssr,
2536
- csr
2537
- },
2538
- status,
2539
- error: await handle_error_and_jsonify(event, event_state, options2, error2),
2540
- branch,
2541
- error_components: [],
2542
- fetched,
2543
- event,
2544
- event_state,
2545
- resolve_opts,
2546
- data_serializer
2547
- });
2548
- } catch (e) {
2549
- if (e instanceof Redirect) {
2550
- return redirect_response(e.status, e.location);
2551
- }
2552
- return static_error_page(
2553
- options2,
2554
- get_status(e),
2555
- (await handle_error_and_jsonify(event, event_state, options2, e)).message
2556
- );
2557
- }
2558
- }
2559
- const MAX_DEPTH = 10;
2560
- async function render_page(event, event_state, page, options2, manifest, state, nodes, resolve_opts) {
2561
- if (state.depth > MAX_DEPTH) {
2562
- return text(`Not found: ${event.url.pathname}`, {
2563
- status: 404
2564
- // TODO in some cases this should be 500. not sure how to differentiate
2565
- });
2566
- }
2567
- if (is_action_json_request(event)) {
2568
- const node = await manifest._.nodes[page.leaf]();
2569
- return handle_action_json_request(event, event_state, options2, node?.server);
2570
- }
2571
- try {
2572
- const leaf_node = (
2573
- /** @type {SSRNode} */
2574
- nodes.page()
2575
- );
2576
- let status = 200;
2577
- let action_result = void 0;
2578
- if (is_action_request(event)) {
2579
- const remote_id = get_remote_action(event.url);
2580
- if (remote_id) {
2581
- action_result = await handle_remote_form_post(event, event_state, manifest, remote_id);
2582
- } else {
2583
- action_result = await handle_action_request(event, event_state, leaf_node.server);
2584
- }
2585
- if (action_result?.type === "redirect") {
2586
- return redirect_response(action_result.status, action_result.location);
2587
- }
2588
- if (action_result?.type === "error") {
2589
- status = get_status(action_result.error);
2590
- }
2591
- if (action_result?.type === "failure") {
2592
- status = action_result.status;
2593
- }
2594
- }
2595
- const should_prerender = nodes.prerender();
2596
- if (should_prerender) {
2597
- const mod = leaf_node.server;
2598
- if (mod?.actions) {
2599
- throw new Error("Cannot prerender pages with actions");
2600
- }
2601
- } else if (state.prerendering) {
2602
- return new Response(void 0, {
2603
- status: 204
2604
- });
2605
- }
2606
- state.prerender_default = should_prerender;
2607
- const should_prerender_data = nodes.should_prerender_data();
2608
- const data_pathname = add_data_suffix(event.url.pathname);
2609
- const fetched = [];
2610
- const ssr = nodes.ssr();
2611
- const csr = nodes.csr();
2612
- if (ssr === false && !(state.prerendering && should_prerender_data)) {
2613
- if (BROWSER && action_result && !event.request.headers.has("x-sveltekit-action")) ;
2614
- return await render_response({
2615
- // provide nodes without running load functions so that the styles and
2616
- // fonts are linked in the head before CSR takes over
2617
- branch: compact(nodes.data).map((node) => {
2618
- return {
2619
- node,
2620
- data: null,
2621
- server_data: null
2622
- };
2623
- }),
2624
- fetched,
2625
- page_config: {
2626
- ssr: false,
2627
- csr
2628
- },
2629
- status,
2630
- error: null,
2631
- event,
2632
- event_state,
2633
- options: options2,
2634
- manifest,
2635
- state,
2636
- resolve_opts,
2637
- data_serializer: server_data_serializer(event, event_state, options2)
2638
- });
2639
- }
2640
- const branch = [];
2641
- let load_error = null;
2642
- const data_serializer = server_data_serializer(event, event_state, options2);
2643
- const data_serializer_json = state.prerendering && should_prerender_data ? server_data_serializer_json(event, event_state, options2) : null;
2644
- const server_promises = nodes.data.map((node, i) => {
2645
- if (load_error) {
2646
- throw load_error;
2647
- }
2648
- return Promise.resolve().then(async () => {
2649
- try {
2650
- if (node === leaf_node && action_result?.type === "error") {
2651
- throw action_result.error;
2652
- }
2653
- const server_data = await load_server_data({
2654
- event,
2655
- event_state,
2656
- state,
2657
- node,
2658
- parent: async () => {
2659
- const data = {};
2660
- for (let j = 0; j < i; j += 1) {
2661
- const parent = await server_promises[j];
2662
- if (parent) Object.assign(data, parent.data);
2663
- }
2664
- return data;
2665
- }
2666
- });
2667
- if (node) {
2668
- data_serializer.add_node(i, server_data);
2669
- }
2670
- data_serializer_json?.add_node(i, server_data);
2671
- return server_data;
2672
- } catch (e) {
2673
- load_error = /** @type {Error} */
2674
- e;
2675
- throw load_error;
2676
- }
2677
- });
2678
- });
2679
- const load_promises = nodes.data.map((node, i) => {
2680
- if (load_error) throw load_error;
2681
- return Promise.resolve().then(async () => {
2682
- try {
2683
- return await load_data({
2684
- event,
2685
- event_state,
2686
- fetched,
2687
- node,
2688
- parent: async () => {
2689
- const data = {};
2690
- for (let j = 0; j < i; j += 1) {
2691
- Object.assign(data, await load_promises[j]);
2692
- }
2693
- return data;
2694
- },
2695
- resolve_opts,
2696
- server_data_promise: server_promises[i],
2697
- state,
2698
- csr
2699
- });
2700
- } catch (e) {
2701
- load_error = /** @type {Error} */
2702
- e;
2703
- throw load_error;
2704
- }
2705
- });
2706
- });
2707
- for (const p of server_promises) p.catch(noop);
2708
- for (const p of load_promises) p.catch(noop);
2709
- for (let i = 0; i < nodes.data.length; i += 1) {
2710
- const node = nodes.data[i];
2711
- if (node) {
2712
- try {
2713
- const server_data = await server_promises[i];
2714
- const data = await load_promises[i];
2715
- branch.push({ node, server_data, data });
2716
- } catch (e) {
2717
- const err = normalize_error(e);
2718
- if (err instanceof Redirect) {
2719
- if (state.prerendering && should_prerender_data) {
2720
- const body = JSON.stringify({
2721
- type: "redirect",
2722
- location: err.location
2723
- });
2724
- state.prerendering.dependencies.set(data_pathname, {
2725
- response: text(body),
2726
- body
2727
- });
2728
- }
2729
- return redirect_response(err.status, err.location);
2730
- }
2731
- const status2 = get_status(err);
2732
- const error2 = await handle_error_and_jsonify(event, event_state, options2, err);
2733
- while (i--) {
2734
- if (page.errors[i]) {
2735
- const index = (
2736
- /** @type {number} */
2737
- page.errors[i]
2738
- );
2739
- const node2 = await manifest._.nodes[index]();
2740
- let j = i;
2741
- while (!branch[j]) j -= 1;
2742
- data_serializer.set_max_nodes(j + 1);
2743
- const layouts = compact(branch.slice(0, j + 1));
2744
- const nodes2 = new PageNodes(layouts.map((layout) => layout.node));
2745
- const error_branch = layouts.concat({
2746
- node: node2,
2747
- data: null,
2748
- server_data: null
2749
- });
2750
- return await render_response({
2751
- event,
2752
- event_state,
2753
- options: options2,
2754
- manifest,
2755
- state,
2756
- resolve_opts,
2757
- page_config: {
2758
- ssr: nodes2.ssr(),
2759
- csr: nodes2.csr()
2760
- },
2761
- status: status2,
2762
- error: error2,
2763
- error_components: await load_error_components(
2764
- options2,
2765
- ssr,
2766
- error_branch,
2767
- page,
2768
- manifest
2769
- ),
2770
- branch: error_branch,
2771
- fetched,
2772
- data_serializer
2773
- });
2774
- }
2775
- }
2776
- return static_error_page(options2, status2, error2.message);
2777
- }
2778
- } else {
2779
- branch.push(null);
2780
- }
2781
- }
2782
- if (state.prerendering && data_serializer_json) {
2783
- let { data, chunks } = data_serializer_json.get_data();
2784
- if (chunks) {
2785
- for await (const chunk of chunks) {
2786
- data += chunk;
2787
- }
2788
- }
2789
- state.prerendering.dependencies.set(data_pathname, {
2790
- response: text(data),
2791
- body: data
2792
- });
2793
- }
2794
- return await render_response({
2795
- event,
2796
- event_state,
2797
- options: options2,
2798
- manifest,
2799
- state,
2800
- resolve_opts,
2801
- page_config: {
2802
- csr,
2803
- ssr
2804
- },
2805
- status,
2806
- error: null,
2807
- branch: compact(branch),
2808
- action_result,
2809
- fetched,
2810
- data_serializer: !ssr ? server_data_serializer(event, event_state, options2) : data_serializer,
2811
- error_components: await load_error_components(options2, ssr, branch, page, manifest)
2812
- });
2813
- } catch (e) {
2814
- if (e instanceof Redirect) {
2815
- return redirect_response(e.status, e.location);
2816
- }
2817
- return await respond_with_error({
2818
- event,
2819
- event_state,
2820
- options: options2,
2821
- manifest,
2822
- state,
2823
- status: e instanceof HttpError ? e.status : 500,
2824
- error: e,
2825
- resolve_opts
2826
- });
2827
- }
2828
- }
2829
- async function load_error_components(options2, ssr, branch, page, manifest) {
2830
- let error_components;
2831
- if (options2.server_error_boundaries && ssr) {
2832
- let last_idx = -1;
2833
- error_components = await Promise.all(
2834
- // eslint-disable-next-line @typescript-eslint/await-thenable
2835
- branch.map((b, i) => {
2836
- if (i === 0) return void 0;
2837
- if (!b) return null;
2838
- i--;
2839
- while (i > last_idx + 1 && page.errors[i] === void 0) i -= 1;
2840
- last_idx = i;
2841
- const idx = page.errors[i];
2842
- if (idx == null) return void 0;
2843
- return manifest._.nodes[idx]?.().then((e) => e.component?.()).catch(() => void 0);
2844
- }).filter((e) => e !== null)
2845
- );
2846
- }
2847
- return error_components;
2848
- }
2849
- async function render_data(event, event_state, route, options2, manifest, state, invalidated_data_nodes, trailing_slash) {
2850
- if (!route.page) {
2851
- return new Response(void 0, {
2852
- status: 404
2853
- });
2854
- }
2855
- try {
2856
- const node_ids = [...route.page.layouts, route.page.leaf];
2857
- const invalidated = invalidated_data_nodes ?? node_ids.map(() => true);
2858
- let aborted = false;
2859
- const url = new URL(event.url);
2860
- url.pathname = normalize_path(url.pathname, trailing_slash);
2861
- const new_event = { ...event, url };
2862
- const functions = node_ids.map((n, i) => {
2863
- return once(async () => {
2864
- try {
2865
- if (aborted) {
2866
- return (
2867
- /** @type {import('types').ServerDataSkippedNode} */
2868
- {
2869
- type: "skip"
2870
- }
2871
- );
2872
- }
2873
- const node = n == void 0 ? n : await manifest._.nodes[n]();
2874
- return load_server_data({
2875
- event: new_event,
2876
- event_state,
2877
- state,
2878
- node,
2879
- parent: async () => {
2880
- const data2 = {};
2881
- for (let j = 0; j < i; j += 1) {
2882
- const parent = (
2883
- /** @type {import('types').ServerDataNode | null} */
2884
- await functions[j]()
2885
- );
2886
- if (parent) {
2887
- Object.assign(data2, parent.data);
2888
- }
2889
- }
2890
- return data2;
2891
- }
2892
- });
2893
- } catch (e) {
2894
- aborted = true;
2895
- throw e;
2896
- }
2897
- });
2898
- });
2899
- const promises = functions.map(async (fn, i) => {
2900
- if (!invalidated[i]) {
2901
- return (
2902
- /** @type {import('types').ServerDataSkippedNode} */
2903
- {
2904
- type: "skip"
2905
- }
2906
- );
2907
- }
2908
- return fn();
2909
- });
2910
- let length = promises.length;
2911
- const nodes = await Promise.all(
2912
- promises.map(
2913
- (p, i) => p.catch(async (error2) => {
2914
- if (error2 instanceof Redirect) {
2915
- throw error2;
2916
- }
2917
- length = Math.min(length, i + 1);
2918
- return (
2919
- /** @type {import('types').ServerErrorNode} */
2920
- {
2921
- type: "error",
2922
- error: await handle_error_and_jsonify(event, event_state, options2, error2),
2923
- status: error2 instanceof HttpError || error2 instanceof SvelteKitError ? error2.status : void 0
2924
- }
2925
- );
2926
- })
2927
- )
2928
- );
2929
- const data_serializer = server_data_serializer_json(event, event_state, options2);
2930
- for (let i = 0; i < nodes.length; i++) data_serializer.add_node(i, nodes[i]);
2931
- const { data, chunks } = data_serializer.get_data();
2932
- if (!chunks) {
2933
- return json_response(data);
2934
- }
2935
- return new Response(
2936
- new ReadableStream({
2937
- async start(controller) {
2938
- controller.enqueue(text_encoder.encode(data));
2939
- for await (const chunk of chunks) {
2940
- controller.enqueue(text_encoder.encode(chunk));
2941
- }
2942
- controller.close();
2943
- },
2944
- type: "bytes"
2945
- }),
2946
- {
2947
- headers: {
2948
- // we use a proprietary content type to prevent buffering.
2949
- // the `text` prefix makes it inspectable
2950
- "content-type": "text/sveltekit-data",
2951
- "cache-control": "private, no-store"
2952
- }
2953
- }
2954
- );
2955
- } catch (e) {
2956
- const error2 = normalize_error(e);
2957
- if (error2 instanceof Redirect) {
2958
- return redirect_json_response(error2);
2959
- } else {
2960
- return json_response(await handle_error_and_jsonify(event, event_state, options2, error2), 500);
2961
- }
2962
- }
2963
- }
2964
- function json_response(json2, status = 200) {
2965
- return text(typeof json2 === "string" ? json2 : JSON.stringify(json2), {
2966
- status,
2967
- headers: {
2968
- "content-type": "application/json",
2969
- "cache-control": "private, no-store"
2970
- }
2971
- });
2972
- }
2973
- function redirect_json_response(redirect) {
2974
- return json_response(
2975
- /** @type {import('types').ServerRedirectNode} */
2976
- {
2977
- type: "redirect",
2978
- location: redirect.location
2979
- }
2980
- );
2981
- }
2982
- var cookie = {};
2983
- var hasRequiredCookie;
2984
- function requireCookie() {
2985
- if (hasRequiredCookie) return cookie;
2986
- hasRequiredCookie = 1;
2987
- cookie.parse = parse;
2988
- cookie.serialize = serialize;
2989
- var __toString = Object.prototype.toString;
2990
- var __hasOwnProperty = Object.prototype.hasOwnProperty;
2991
- var cookieNameRegExp = /^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/;
2992
- var cookieValueRegExp = /^("?)[\u0021\u0023-\u002B\u002D-\u003A\u003C-\u005B\u005D-\u007E]*\1$/;
2993
- var domainValueRegExp = /^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i;
2994
- var pathValueRegExp = /^[\u0020-\u003A\u003D-\u007E]*$/;
2995
- function parse(str, opt) {
2996
- if (typeof str !== "string") {
2997
- throw new TypeError("argument str must be a string");
2998
- }
2999
- var obj = {};
3000
- var len = str.length;
3001
- if (len < 2) return obj;
3002
- var dec = opt && opt.decode || decode;
3003
- var index = 0;
3004
- var eqIdx = 0;
3005
- var endIdx = 0;
3006
- do {
3007
- eqIdx = str.indexOf("=", index);
3008
- if (eqIdx === -1) break;
3009
- endIdx = str.indexOf(";", index);
3010
- if (endIdx === -1) {
3011
- endIdx = len;
3012
- } else if (eqIdx > endIdx) {
3013
- index = str.lastIndexOf(";", eqIdx - 1) + 1;
3014
- continue;
3015
- }
3016
- var keyStartIdx = startIndex(str, index, eqIdx);
3017
- var keyEndIdx = endIndex(str, eqIdx, keyStartIdx);
3018
- var key2 = str.slice(keyStartIdx, keyEndIdx);
3019
- if (!__hasOwnProperty.call(obj, key2)) {
3020
- var valStartIdx = startIndex(str, eqIdx + 1, endIdx);
3021
- var valEndIdx = endIndex(str, endIdx, valStartIdx);
3022
- if (str.charCodeAt(valStartIdx) === 34 && str.charCodeAt(valEndIdx - 1) === 34) {
3023
- valStartIdx++;
3024
- valEndIdx--;
3025
- }
3026
- var val = str.slice(valStartIdx, valEndIdx);
3027
- obj[key2] = tryDecode(val, dec);
3028
- }
3029
- index = endIdx + 1;
3030
- } while (index < len);
3031
- return obj;
3032
- }
3033
- function startIndex(str, index, max) {
3034
- do {
3035
- var code = str.charCodeAt(index);
3036
- if (code !== 32 && code !== 9) return index;
3037
- } while (++index < max);
3038
- return max;
3039
- }
3040
- function endIndex(str, index, min) {
3041
- while (index > min) {
3042
- var code = str.charCodeAt(--index);
3043
- if (code !== 32 && code !== 9) return index + 1;
3044
- }
3045
- return min;
3046
- }
3047
- function serialize(name, val, opt) {
3048
- var enc = opt && opt.encode || encodeURIComponent;
3049
- if (typeof enc !== "function") {
3050
- throw new TypeError("option encode is invalid");
3051
- }
3052
- if (!cookieNameRegExp.test(name)) {
3053
- throw new TypeError("argument name is invalid");
3054
- }
3055
- var value = enc(val);
3056
- if (!cookieValueRegExp.test(value)) {
3057
- throw new TypeError("argument val is invalid");
3058
- }
3059
- var str = name + "=" + value;
3060
- if (!opt) return str;
3061
- if (null != opt.maxAge) {
3062
- var maxAge = Math.floor(opt.maxAge);
3063
- if (!isFinite(maxAge)) {
3064
- throw new TypeError("option maxAge is invalid");
3065
- }
3066
- str += "; Max-Age=" + maxAge;
3067
- }
3068
- if (opt.domain) {
3069
- if (!domainValueRegExp.test(opt.domain)) {
3070
- throw new TypeError("option domain is invalid");
3071
- }
3072
- str += "; Domain=" + opt.domain;
3073
- }
3074
- if (opt.path) {
3075
- if (!pathValueRegExp.test(opt.path)) {
3076
- throw new TypeError("option path is invalid");
3077
- }
3078
- str += "; Path=" + opt.path;
3079
- }
3080
- if (opt.expires) {
3081
- var expires = opt.expires;
3082
- if (!isDate(expires) || isNaN(expires.valueOf())) {
3083
- throw new TypeError("option expires is invalid");
3084
- }
3085
- str += "; Expires=" + expires.toUTCString();
3086
- }
3087
- if (opt.httpOnly) {
3088
- str += "; HttpOnly";
3089
- }
3090
- if (opt.secure) {
3091
- str += "; Secure";
3092
- }
3093
- if (opt.partitioned) {
3094
- str += "; Partitioned";
3095
- }
3096
- if (opt.priority) {
3097
- var priority = typeof opt.priority === "string" ? opt.priority.toLowerCase() : opt.priority;
3098
- switch (priority) {
3099
- case "low":
3100
- str += "; Priority=Low";
3101
- break;
3102
- case "medium":
3103
- str += "; Priority=Medium";
3104
- break;
3105
- case "high":
3106
- str += "; Priority=High";
3107
- break;
3108
- default:
3109
- throw new TypeError("option priority is invalid");
3110
- }
3111
- }
3112
- if (opt.sameSite) {
3113
- var sameSite = typeof opt.sameSite === "string" ? opt.sameSite.toLowerCase() : opt.sameSite;
3114
- switch (sameSite) {
3115
- case true:
3116
- str += "; SameSite=Strict";
3117
- break;
3118
- case "lax":
3119
- str += "; SameSite=Lax";
3120
- break;
3121
- case "strict":
3122
- str += "; SameSite=Strict";
3123
- break;
3124
- case "none":
3125
- str += "; SameSite=None";
3126
- break;
3127
- default:
3128
- throw new TypeError("option sameSite is invalid");
3129
- }
3130
- }
3131
- return str;
3132
- }
3133
- function decode(str) {
3134
- return str.indexOf("%") !== -1 ? decodeURIComponent(str) : str;
3135
- }
3136
- function isDate(val) {
3137
- return __toString.call(val) === "[object Date]";
3138
- }
3139
- function tryDecode(str, decode2) {
3140
- try {
3141
- return decode2(str);
3142
- } catch (e) {
3143
- return str;
3144
- }
3145
- }
3146
- return cookie;
3147
- }
3148
- var cookieExports = requireCookie();
3149
- const INVALID_COOKIE_CHARACTER_REGEX = /[\x00-\x1F\x7F()<>@,;:"/[\]?={} \t]/;
3150
- function validate_options(options2) {
3151
- if (options2?.path === void 0) {
3152
- throw new Error("You must specify a `path` when setting, deleting or serializing cookies");
3153
- }
3154
- }
3155
- function generate_cookie_key(domain, path, name) {
3156
- return `${domain || ""}${path}?${encodeURIComponent(name)}`;
3157
- }
3158
- function get_cookies(request, url) {
3159
- const header = request.headers.get("cookie") ?? "";
3160
- const initial_cookies = cookieExports.parse(header, { decode: (value) => value });
3161
- let normalized_url;
3162
- const new_cookies = /* @__PURE__ */ new Map();
3163
- const defaults = {
3164
- httpOnly: true,
3165
- sameSite: "lax",
3166
- secure: url.hostname === "localhost" && url.protocol === "http:" ? false : true
3167
- };
3168
- const cookies = {
3169
- // The JSDoc param annotations appearing below for get, set and delete
3170
- // are necessary to expose the `cookie` library types to
3171
- // typescript users. `@type {import('@sveltejs/kit').Cookies}` above is not
3172
- // sufficient to do so.
3173
- /**
3174
- * @param {string} name
3175
- * @param {import('cookie').CookieParseOptions} [opts]
3176
- */
3177
- get(name, opts) {
3178
- const best_match = Array.from(new_cookies.values()).filter((c) => {
3179
- return c.name === name && domain_matches(url.hostname, c.options.domain) && path_matches(url.pathname, c.options.path);
3180
- }).sort((a, b) => b.options.path.length - a.options.path.length)[0];
3181
- if (best_match) {
3182
- return best_match.options.maxAge === 0 ? void 0 : best_match.value;
3183
- }
3184
- const req_cookies = cookieExports.parse(header, { decode: opts?.decode });
3185
- const cookie2 = req_cookies[name];
3186
- return cookie2;
3187
- },
3188
- /**
3189
- * @param {import('cookie').CookieParseOptions} [opts]
3190
- */
3191
- getAll(opts) {
3192
- const cookies2 = cookieExports.parse(header, { decode: opts?.decode });
3193
- const lookup = /* @__PURE__ */ new Map();
3194
- for (const c of new_cookies.values()) {
3195
- if (domain_matches(url.hostname, c.options.domain) && path_matches(url.pathname, c.options.path)) {
3196
- const existing = lookup.get(c.name);
3197
- if (!existing || c.options.path.length > existing.options.path.length) {
3198
- lookup.set(c.name, c);
3199
- }
3200
- }
3201
- }
3202
- for (const c of lookup.values()) {
3203
- cookies2[c.name] = c.value;
3204
- }
3205
- return Object.entries(cookies2).map(([name, value]) => ({ name, value }));
3206
- },
3207
- /**
3208
- * @param {string} name
3209
- * @param {string} value
3210
- * @param {import('./page/types.js').Cookie['options']} options
3211
- */
3212
- set(name, value, options2) {
3213
- const illegal_characters = name.match(INVALID_COOKIE_CHARACTER_REGEX);
3214
- if (illegal_characters) {
3215
- console.warn(
3216
- `The cookie name "${name}" will be invalid in SvelteKit 3.0 as it contains ${illegal_characters.join(
3217
- " and "
3218
- )}. See RFC 2616 for more details https://datatracker.ietf.org/doc/html/rfc2616#section-2.2`
3219
- );
3220
- }
3221
- validate_options(options2);
3222
- set_internal(name, value, { ...defaults, ...options2 });
3223
- },
3224
- /**
3225
- * @param {string} name
3226
- * @param {import('./page/types.js').Cookie['options']} options
3227
- */
3228
- delete(name, options2) {
3229
- validate_options(options2);
3230
- cookies.set(name, "", { ...options2, maxAge: 0 });
3231
- },
3232
- /**
3233
- * @param {string} name
3234
- * @param {string} value
3235
- * @param {import('./page/types.js').Cookie['options']} options
3236
- */
3237
- serialize(name, value, options2) {
3238
- validate_options(options2);
3239
- let path = options2.path;
3240
- if (!options2.domain || options2.domain === url.hostname) {
3241
- if (!normalized_url) {
3242
- throw new Error("Cannot serialize cookies until after the route is determined");
3243
- }
3244
- path = resolve(normalized_url, path);
3245
- }
3246
- return cookieExports.serialize(name, value, { ...defaults, ...options2, path });
3247
- }
3248
- };
3249
- function get_cookie_header(destination, header2) {
3250
- const combined_cookies = {
3251
- // cookies sent by the user agent have lowest precedence
3252
- ...initial_cookies
3253
- };
3254
- for (const cookie2 of new_cookies.values()) {
3255
- if (!domain_matches(destination.hostname, cookie2.options.domain)) continue;
3256
- if (!path_matches(destination.pathname, cookie2.options.path)) continue;
3257
- const encoder = cookie2.options.encode || encodeURIComponent;
3258
- combined_cookies[cookie2.name] = encoder(cookie2.value);
3259
- }
3260
- if (header2) {
3261
- const parsed = cookieExports.parse(header2, { decode: (value) => value });
3262
- for (const name in parsed) {
3263
- combined_cookies[name] = parsed[name];
3264
- }
3265
- }
3266
- return Object.entries(combined_cookies).map(([name, value]) => `${name}=${value}`).join("; ");
3267
- }
3268
- const internal_queue = [];
3269
- function set_internal(name, value, options2) {
3270
- if (!normalized_url) {
3271
- internal_queue.push(() => set_internal(name, value, options2));
3272
- return;
3273
- }
3274
- let path = options2.path;
3275
- if (!options2.domain || options2.domain === url.hostname) {
3276
- path = resolve(normalized_url, path);
3277
- }
3278
- const cookie_key = generate_cookie_key(options2.domain, path, name);
3279
- const cookie2 = { name, value, options: { ...options2, path } };
3280
- new_cookies.set(cookie_key, cookie2);
3281
- }
3282
- function set_trailing_slash(trailing_slash) {
3283
- normalized_url = normalize_path(url.pathname, trailing_slash);
3284
- internal_queue.forEach((fn) => fn());
3285
- }
3286
- return { cookies, new_cookies, get_cookie_header, set_internal, set_trailing_slash };
3287
- }
3288
- function domain_matches(hostname, constraint) {
3289
- if (!constraint) return true;
3290
- const normalized = constraint[0] === "." ? constraint.slice(1) : constraint;
3291
- if (hostname === normalized) return true;
3292
- return hostname.endsWith("." + normalized);
3293
- }
3294
- function path_matches(path, constraint) {
3295
- if (!constraint) return true;
3296
- const normalized = constraint.endsWith("/") ? constraint.slice(0, -1) : constraint;
3297
- if (path === normalized) return true;
3298
- return path.startsWith(normalized + "/");
3299
- }
3300
- function add_cookies_to_headers(headers2, cookies) {
3301
- for (const new_cookie of cookies) {
3302
- const { name, value, options: options2 } = new_cookie;
3303
- headers2.append("set-cookie", cookieExports.serialize(name, value, options2));
3304
- if (options2.path.endsWith(".html")) {
3305
- const path = add_data_suffix(options2.path);
3306
- headers2.append("set-cookie", cookieExports.serialize(name, value, { ...options2, path }));
3307
- }
3308
- }
3309
- }
3310
- function create_fetch({ event, options: options2, manifest, state, get_cookie_header, set_internal }) {
3311
- const server_fetch = async (info, init2) => {
3312
- const original_request = normalize_fetch_input(info, init2, event.url);
3313
- let mode = (info instanceof Request ? info.mode : init2?.mode) ?? "cors";
3314
- let credentials = (info instanceof Request ? info.credentials : init2?.credentials) ?? "same-origin";
3315
- return options2.hooks.handleFetch({
3316
- event,
3317
- request: original_request,
3318
- fetch: async (info2, init3) => {
3319
- const request = normalize_fetch_input(info2, init3, event.url);
3320
- const url = new URL(request.url);
3321
- if (!request.headers.has("origin")) {
3322
- request.headers.set("origin", event.url.origin);
3323
- }
3324
- if (info2 !== original_request) {
3325
- mode = (info2 instanceof Request ? info2.mode : init3?.mode) ?? "cors";
3326
- credentials = (info2 instanceof Request ? info2.credentials : init3?.credentials) ?? "same-origin";
3327
- }
3328
- if ((request.method === "GET" || request.method === "HEAD") && (mode === "no-cors" && url.origin !== event.url.origin || url.origin === event.url.origin)) {
3329
- request.headers.delete("origin");
3330
- }
3331
- const decoded = decodeURIComponent(url.pathname);
3332
- if (url.origin !== event.url.origin || base && decoded !== base && !decoded.startsWith(`${base}/`)) {
3333
- if (`.${url.hostname}`.endsWith(`.${event.url.hostname}`) && credentials !== "omit") {
3334
- const cookie2 = get_cookie_header(url, request.headers.get("cookie"));
3335
- if (cookie2) request.headers.set("cookie", cookie2);
3336
- }
3337
- return fetch(request);
3338
- }
3339
- const prefix = assets || base;
3340
- const filename = (decoded.startsWith(prefix) ? decoded.slice(prefix.length) : decoded).slice(1);
3341
- const filename_html = `${filename}/index.html`;
3342
- const is_asset = manifest.assets.has(filename) || filename in manifest._.server_assets;
3343
- const is_asset_html = manifest.assets.has(filename_html) || filename_html in manifest._.server_assets;
3344
- if (is_asset || is_asset_html) {
3345
- const file = is_asset ? filename : filename_html;
3346
- if (state.read) {
3347
- const type = is_asset ? manifest.mimeTypes[filename.slice(filename.lastIndexOf("."))] : "text/html";
3348
- return new Response(state.read(file), {
3349
- headers: type ? { "content-type": type } : {}
3350
- });
3351
- } else if (read_implementation && file in manifest._.server_assets) {
3352
- const length = manifest._.server_assets[file];
3353
- const type = manifest.mimeTypes[file.slice(file.lastIndexOf("."))];
3354
- return new Response(read_implementation(file), {
3355
- headers: {
3356
- "Content-Length": "" + length,
3357
- "Content-Type": type
3358
- }
3359
- });
3360
- }
3361
- return await fetch(request);
3362
- }
3363
- if (has_prerendered_path(manifest, base + decoded)) {
3364
- return await fetch(request);
3365
- }
3366
- if (credentials !== "omit") {
3367
- const cookie2 = get_cookie_header(url, request.headers.get("cookie"));
3368
- if (cookie2) {
3369
- request.headers.set("cookie", cookie2);
3370
- }
3371
- const authorization = event.request.headers.get("authorization");
3372
- if (authorization && !request.headers.has("authorization")) {
3373
- request.headers.set("authorization", authorization);
3374
- }
3375
- }
3376
- if (!request.headers.has("accept")) {
3377
- request.headers.set("accept", "*/*");
3378
- }
3379
- if (!request.headers.has("accept-language")) {
3380
- request.headers.set(
3381
- "accept-language",
3382
- /** @type {string} */
3383
- event.request.headers.get("accept-language")
3384
- );
3385
- }
3386
- const response = await internal_fetch(request, options2, manifest, state);
3387
- for (const str of get_set_cookies(response.headers)) {
3388
- const { name, value, ...options3 } = parseString(str, {
3389
- decodeValues: false
3390
- });
3391
- const path = options3.path ?? (url.pathname.split("/").slice(0, -1).join("/") || "/");
3392
- set_internal(name, value, {
3393
- path,
3394
- encode: (value2) => value2,
3395
- .../** @type {import('cookie').CookieSerializeOptions} */
3396
- options3
3397
- });
3398
- }
3399
- return response;
3400
- }
3401
- });
3402
- };
3403
- return (input, init2) => {
3404
- const response = server_fetch(input, init2);
3405
- response.catch(noop);
3406
- return response;
3407
- };
3408
- }
3409
- function normalize_fetch_input(info, init2, url) {
3410
- if (info instanceof Request) {
3411
- return info;
3412
- }
3413
- return new Request(typeof info === "string" ? new URL(info, url) : info, init2);
3414
- }
3415
- async function internal_fetch(request, options2, manifest, state) {
3416
- if (request.signal) {
3417
- if (request.signal.aborted) {
3418
- throw new DOMException("The operation was aborted.", "AbortError");
3419
- }
3420
- let remove_abort_listener = noop;
3421
- const abort_promise = new Promise((_, reject) => {
3422
- const on_abort = () => {
3423
- reject(new DOMException("The operation was aborted.", "AbortError"));
3424
- };
3425
- request.signal.addEventListener("abort", on_abort, { once: true });
3426
- remove_abort_listener = () => request.signal.removeEventListener("abort", on_abort);
3427
- });
3428
- const result = await Promise.race([
3429
- respond(request, options2, manifest, {
3430
- ...state,
3431
- depth: state.depth + 1
3432
- }),
3433
- abort_promise
3434
- ]);
3435
- remove_abort_listener();
3436
- return result;
3437
- } else {
3438
- return await respond(request, options2, manifest, {
3439
- ...state,
3440
- depth: state.depth + 1
3441
- });
3442
- }
3443
- }
3444
- let payload;
3445
- let etag;
3446
- let headers;
3447
- function get_public_env(request) {
3448
- const script = request.url.endsWith(".script.js");
3449
- const env = public_env;
3450
- payload ??= uneval(env);
3451
- etag ??= `W/${Date.now()}`;
3452
- headers ??= new Headers({
3453
- "content-type": "application/javascript; charset=utf-8",
3454
- etag
3455
- });
3456
- if (request.headers.get("if-none-match") === etag) {
3457
- return new Response(void 0, { status: 304, headers });
3458
- }
3459
- if (script) {
3460
- return new Response(`globalThis.__sveltekit_sw={env:${payload}}`, { headers });
3461
- }
3462
- return new Response(`export const env=${payload}`, { headers });
3463
- }
3464
- const default_transform = ({ html }) => html;
3465
- const default_filter = () => false;
3466
- const default_preload = ({ type }) => type === "js" || type === "css";
3467
- const page_methods = /* @__PURE__ */ new Set(["GET", "HEAD", "POST"]);
3468
- const allowed_page_methods = /* @__PURE__ */ new Set(["GET", "HEAD", "OPTIONS"]);
3469
- const respond = propagate_context(internal_respond);
3470
- async function internal_respond(request, options2, manifest, state) {
3471
- const url = new URL(request.url);
3472
- const is_route_resolution_request = has_resolution_suffix(url.pathname);
3473
- const is_data_request = has_data_suffix(url.pathname);
3474
- const remote_id = get_remote_id(url);
3475
- {
3476
- const request_origin = request.headers.get("origin");
3477
- if (remote_id) {
3478
- if (request.method !== "GET" && request_origin !== url.origin) {
3479
- const message = "Cross-site remote requests are forbidden";
3480
- return json({ message }, { status: 403 });
3481
- }
3482
- } else if (options2.csrf_check_origin) {
3483
- const forbidden = is_form_content_type(request) && (request.method === "POST" || request.method === "PUT" || request.method === "PATCH" || request.method === "DELETE") && request_origin !== url.origin && (!request_origin || !options2.csrf_trusted_origins.includes(request_origin));
3484
- if (forbidden) {
3485
- const message = `Cross-site ${request.method} form submissions are forbidden`;
3486
- const opts = { status: 403 };
3487
- if (request.headers.get("accept") === "application/json") {
3488
- return json({ message }, opts);
3489
- }
3490
- return text(message, opts);
3491
- }
3492
- }
3493
- }
3494
- if (options2.hash_routing && url.pathname !== base + "/" && url.pathname !== "/[fallback]") {
3495
- return text("Not found", { status: 404 });
3496
- }
3497
- let invalidated_data_nodes;
3498
- if (is_route_resolution_request) {
3499
- url.pathname = strip_resolution_suffix(url.pathname);
3500
- } else if (is_data_request) {
3501
- url.pathname = strip_data_suffix(url.pathname) + (url.searchParams.get(TRAILING_SLASH_PARAM) === "1" ? "/" : "") || "/";
3502
- url.searchParams.delete(TRAILING_SLASH_PARAM);
3503
- invalidated_data_nodes = url.searchParams.get(INVALIDATED_PARAM)?.split("").map((node) => node === "1");
3504
- url.searchParams.delete(INVALIDATED_PARAM);
3505
- } else if (remote_id) {
3506
- url.pathname = request.headers.get("x-sveltekit-pathname") ?? base;
3507
- url.search = request.headers.get("x-sveltekit-search") ?? "";
3508
- }
3509
- const headers2 = {};
3510
- const { cookies, new_cookies, get_cookie_header, set_internal, set_trailing_slash } = get_cookies(
3511
- request,
3512
- url
3513
- );
3514
- const event_state = {
3515
- prerendering: state.prerendering,
3516
- transport: options2.hooks.transport,
3517
- handleValidationError: options2.hooks.handleValidationError,
3518
- tracing: {
3519
- record_span
3520
- },
3521
- remote: {
3522
- data: null,
3523
- explicit: null,
3524
- implicit: null,
3525
- forms: null,
3526
- requested: null,
3527
- batches: null,
3528
- live_iterators: null
3529
- },
3530
- is_in_remote_function: false,
3531
- is_in_remote_form_or_command: false,
3532
- is_in_remote_query: false,
3533
- is_in_render: false,
3534
- is_in_universal_load: false
3535
- };
3536
- const event = {
3537
- cookies,
3538
- // @ts-expect-error `fetch` needs to be created after the `event` itself
3539
- fetch: null,
3540
- getClientAddress: state.getClientAddress || (() => {
3541
- throw new Error(
3542
- `${"@sveltejs/adapter-node"} does not specify getClientAddress. Please raise an issue`
3543
- );
3544
- }),
3545
- locals: {},
3546
- params: {},
3547
- platform: state.platform,
3548
- request,
3549
- route: { id: null },
3550
- setHeaders: (new_headers) => {
3551
- for (const key2 in new_headers) {
3552
- const lower = key2.toLowerCase();
3553
- const value = new_headers[key2];
3554
- if (lower === "set-cookie") {
3555
- throw new Error(
3556
- "Use `event.cookies.set(name, value, options)` instead of `event.setHeaders` to set cookies"
3557
- );
3558
- } else if (lower in headers2) {
3559
- if (lower === "server-timing") {
3560
- headers2[lower] += ", " + value;
3561
- } else {
3562
- throw new Error(`"${key2}" header is already set`);
3563
- }
3564
- } else {
3565
- headers2[lower] = value;
3566
- if (state.prerendering && lower === "cache-control") {
3567
- state.prerendering.cache = /** @type {string} */
3568
- value;
3569
- }
3570
- }
3571
- }
3572
- },
3573
- url,
3574
- isDataRequest: is_data_request,
3575
- isSubRequest: state.depth > 0,
3576
- isRemoteRequest: !!remote_id
3577
- };
3578
- event.fetch = create_fetch({
3579
- event,
3580
- options: options2,
3581
- manifest,
3582
- state,
3583
- get_cookie_header,
3584
- set_internal
3585
- });
3586
- if (state.emulator?.platform) {
3587
- event.platform = await state.emulator.platform({
3588
- config: {},
3589
- prerender: !!state.prerendering?.fallback
3590
- });
3591
- }
3592
- let resolved_path = url.pathname;
3593
- if (!remote_id) {
3594
- const prerendering_reroute_state = state.prerendering?.inside_reroute;
3595
- try {
3596
- if (state.prerendering) state.prerendering.inside_reroute = true;
3597
- resolved_path = await options2.hooks.reroute({ url: new URL(url), fetch: event.fetch }) ?? url.pathname;
3598
- } catch {
3599
- return text("Internal Server Error", {
3600
- status: 500
3601
- });
3602
- } finally {
3603
- if (state.prerendering) state.prerendering.inside_reroute = prerendering_reroute_state;
3604
- }
3605
- }
3606
- let resolve_opts = {
3607
- transformPageChunk: default_transform,
3608
- filterSerializedResponseHeaders: default_filter,
3609
- preload: default_preload
3610
- };
3611
- let trailing_slash = "never";
3612
- let page_nodes;
3613
- try {
3614
- resolved_path = decode_pathname(resolved_path);
3615
- } catch {
3616
- resolved_path = null;
3617
- return await handle();
3618
- }
3619
- if (
3620
- // the resolved path has been decoded so it should be compared to the decoded url pathname
3621
- resolved_path !== decode_pathname(url.pathname) && !state.prerendering?.fallback && has_prerendered_path(manifest, resolved_path)
3622
- ) {
3623
- const url2 = new URL(request.url);
3624
- url2.pathname = is_data_request ? add_data_suffix(resolved_path) : is_route_resolution_request ? add_resolution_suffix(resolved_path) : resolved_path;
3625
- try {
3626
- const response = await fetch(url2, request);
3627
- const headers22 = new Headers(response.headers);
3628
- if (headers22.has("content-encoding")) {
3629
- headers22.delete("content-encoding");
3630
- headers22.delete("content-length");
3631
- }
3632
- return new Response(response.body, {
3633
- headers: headers22,
3634
- status: response.status,
3635
- statusText: response.statusText
3636
- });
3637
- } catch (error2) {
3638
- return await handle_fatal_error(event, event_state, options2, error2);
3639
- }
3640
- }
3641
- let route = null;
3642
- if (base && !state.prerendering?.fallback) {
3643
- if (!resolved_path.startsWith(base)) {
3644
- return text("Not found", { status: 404 });
3645
- }
3646
- resolved_path = resolved_path.slice(base.length) || "/";
3647
- }
3648
- if (is_route_resolution_request) {
3649
- return resolve_route(resolved_path, new URL(request.url), manifest);
3650
- }
3651
- if (resolved_path === `/${app_dir}/env.js` || resolved_path === `/${app_dir}/env.script.js`) {
3652
- return get_public_env(request);
3653
- }
3654
- if (!remote_id && resolved_path.startsWith(`/${app_dir}`)) {
3655
- const headers22 = new Headers();
3656
- headers22.set("cache-control", "public, max-age=0, must-revalidate");
3657
- return text("Not found", { status: 404, headers: headers22 });
3658
- }
3659
- if (!state.prerendering?.fallback) {
3660
- const matchers = await manifest._.matchers();
3661
- const result = find_route(resolved_path, manifest._.routes, matchers);
3662
- if (result) {
3663
- route = result.route;
3664
- event.route = { id: route.id };
3665
- event.params = result.params;
3666
- }
3667
- }
3668
- try {
3669
- page_nodes = route?.page ? new PageNodes(await load_page_nodes(route.page, manifest)) : void 0;
3670
- if (route && !remote_id) {
3671
- if (url.pathname === base || url.pathname === base + "/") {
3672
- trailing_slash = "always";
3673
- } else if (page_nodes) {
3674
- if (BROWSER) ;
3675
- trailing_slash = page_nodes.trailing_slash();
3676
- } else if (route.endpoint) {
3677
- const node = await route.endpoint();
3678
- trailing_slash = node.trailingSlash ?? "never";
3679
- if (BROWSER) ;
3680
- }
3681
- if (!is_data_request) {
3682
- const normalized = normalize_path(url.pathname, trailing_slash);
3683
- if (normalized !== url.pathname && !state.prerendering?.fallback) {
3684
- return new Response(void 0, {
3685
- status: 308,
3686
- headers: {
3687
- "x-sveltekit-normalize": "1",
3688
- location: (
3689
- // ensure paths starting with '//' are not treated as protocol-relative
3690
- (normalized.startsWith("//") ? url.origin + normalized : normalized) + (url.search === "?" ? "" : url.search)
3691
- )
3692
- }
3693
- });
3694
- }
3695
- }
3696
- if (state.before_handle || state.emulator?.platform) {
3697
- let config = {};
3698
- let prerender = false;
3699
- if (route.endpoint) {
3700
- const node = await route.endpoint();
3701
- config = node.config ?? config;
3702
- prerender = node.prerender ?? prerender;
3703
- } else if (page_nodes) {
3704
- config = page_nodes.get_config() ?? config;
3705
- prerender = page_nodes.prerender();
3706
- }
3707
- if (state.emulator?.platform) {
3708
- event.platform = await state.emulator.platform({ config, prerender });
3709
- }
3710
- if (state.before_handle) {
3711
- return await state.before_handle(event, config, prerender, handle);
3712
- }
3713
- }
3714
- }
3715
- return await handle();
3716
- } catch (e) {
3717
- if (e instanceof Redirect) {
3718
- try {
3719
- const response = is_data_request || remote_id ? redirect_json_response(e) : route?.page && is_action_json_request(event) ? action_json_redirect(e) : redirect_response(e.status, e.location);
3720
- add_cookies_to_headers(response.headers, new_cookies.values());
3721
- return response;
3722
- } catch (err) {
3723
- return await handle_fatal_error(event, event_state, options2, err);
3724
- }
3725
- }
3726
- return await handle_fatal_error(event, event_state, options2, e);
3727
- }
3728
- async function handle() {
3729
- set_trailing_slash(trailing_slash);
3730
- if (state.prerendering && !state.prerendering.fallback && !state.prerendering.inside_reroute) {
3731
- disable_search(url);
3732
- }
3733
- const response = await record_span({
3734
- name: "sveltekit.handle.root",
3735
- attributes: {
3736
- "http.route": event.route.id || "unknown",
3737
- "http.method": event.request.method,
3738
- "http.url": event.url.href,
3739
- "sveltekit.is_sub_request": event.isSubRequest
3740
- },
3741
- fn: async (root_span) => {
3742
- const traced_event = {
3743
- ...event,
3744
- tracing: {
3745
- enabled: false,
3746
- root: root_span,
3747
- current: root_span
3748
- }
3749
- };
3750
- return await with_request_store(
3751
- { event: traced_event, state: event_state },
3752
- () => options2.hooks.handle({
3753
- event: traced_event,
3754
- resolve: (event2, opts) => {
3755
- return record_span({
3756
- name: "sveltekit.resolve",
3757
- attributes: {
3758
- "http.route": event2.route.id || "unknown"
3759
- },
3760
- fn: (resolve_span) => {
3761
- return with_request_store(
3762
- null,
3763
- () => resolve2(merge_tracing(event2, resolve_span), page_nodes, opts).then(
3764
- (response2) => {
3765
- for (const key2 in headers2) {
3766
- const value = headers2[key2];
3767
- response2.headers.set(
3768
- key2,
3769
- /** @type {string} */
3770
- value
3771
- );
3772
- }
3773
- add_cookies_to_headers(response2.headers, new_cookies.values());
3774
- if (state.prerendering && event2.route.id !== null) {
3775
- response2.headers.set("x-sveltekit-routeid", encodeURI(event2.route.id));
3776
- }
3777
- resolve_span.setAttributes({
3778
- "http.response.status_code": response2.status,
3779
- "http.response.body.size": response2.headers.get("content-length") || "unknown"
3780
- });
3781
- return response2;
3782
- }
3783
- )
3784
- );
3785
- }
3786
- });
3787
- }
3788
- })
3789
- );
3790
- }
3791
- });
3792
- if (response.status === 200 && response.headers.has("etag")) {
3793
- let if_none_match_value = request.headers.get("if-none-match");
3794
- if (if_none_match_value?.startsWith('W/"')) {
3795
- if_none_match_value = if_none_match_value.substring(2);
3796
- }
3797
- const etag2 = (
3798
- /** @type {string} */
3799
- response.headers.get("etag")
3800
- );
3801
- if (if_none_match_value === etag2) {
3802
- const headers22 = new Headers({ etag: etag2 });
3803
- for (const key2 of ["cache-control", "content-location", "date", "expires", "vary"]) {
3804
- const value = response.headers.get(key2);
3805
- if (value) headers22.set(key2, value);
3806
- }
3807
- for (const cookie2 of get_set_cookies(response.headers)) {
3808
- headers22.append("set-cookie", cookie2);
3809
- }
3810
- return new Response(void 0, {
3811
- status: 304,
3812
- headers: headers22
3813
- });
3814
- }
3815
- }
3816
- if (is_data_request && response.status >= 300 && response.status <= 308) {
3817
- const location = response.headers.get("location");
3818
- if (location) {
3819
- return redirect_json_response(new Redirect(
3820
- /** @type {any} */
3821
- response.status,
3822
- location
3823
- ));
3824
- }
3825
- }
3826
- return response;
3827
- }
3828
- async function resolve2(event2, page_nodes2, opts) {
3829
- try {
3830
- if (opts) {
3831
- resolve_opts = {
3832
- transformPageChunk: opts.transformPageChunk || default_transform,
3833
- filterSerializedResponseHeaders: opts.filterSerializedResponseHeaders || default_filter,
3834
- preload: opts.preload || default_preload
3835
- };
3836
- }
3837
- if (resolved_path === null) {
3838
- return await respond_with_error({
3839
- event: event2,
3840
- event_state,
3841
- options: options2,
3842
- manifest,
3843
- state,
3844
- status: 400,
3845
- error: new SvelteKitError(
3846
- 400,
3847
- "Malformed URI",
3848
- `Failed to decode URI: ${event2.url.pathname}`
3849
- ),
3850
- resolve_opts
3851
- });
3852
- }
3853
- if (options2.hash_routing || state.prerendering?.fallback) {
3854
- return await render_response({
3855
- event: event2,
3856
- event_state,
3857
- options: options2,
3858
- manifest,
3859
- state,
3860
- page_config: { ssr: false, csr: true },
3861
- status: 200,
3862
- error: null,
3863
- branch: [
3864
- // include the root layout because it applies to every page
3865
- {
3866
- node: (
3867
- /** @type {SSRNode} */
3868
- await manifest._.nodes[0]()
3869
- ),
3870
- data: null,
3871
- server_data: null
3872
- }
3873
- ],
3874
- fetched: [],
3875
- resolve_opts,
3876
- data_serializer: server_data_serializer(event2, event_state, options2)
3877
- });
3878
- }
3879
- if (remote_id) {
3880
- return await handle_remote_call(event2, event_state, options2, manifest, remote_id);
3881
- }
3882
- if (route) {
3883
- const method = (
3884
- /** @type {import('types').HttpMethod} */
3885
- event2.request.method
3886
- );
3887
- let response2;
3888
- if (is_data_request) {
3889
- response2 = await render_data(
3890
- event2,
3891
- event_state,
3892
- route,
3893
- options2,
3894
- manifest,
3895
- state,
3896
- invalidated_data_nodes,
3897
- trailing_slash
3898
- );
3899
- } else if (route.endpoint && (!route.page || !state.prerendering && is_endpoint_request(event2))) {
3900
- response2 = await render_endpoint(event2, event_state, await route.endpoint(), state);
3901
- } else if (route.page) {
3902
- if (!page_nodes2) {
3903
- throw new Error("page_nodes not found. This should never happen");
3904
- } else if (page_methods.has(method)) {
3905
- response2 = await render_page(
3906
- event2,
3907
- event_state,
3908
- route.page,
3909
- options2,
3910
- manifest,
3911
- state,
3912
- page_nodes2,
3913
- resolve_opts
3914
- );
3915
- } else {
3916
- const allowed_methods = new Set(allowed_page_methods);
3917
- const node = await manifest._.nodes[route.page.leaf]();
3918
- if (node?.server?.actions) {
3919
- allowed_methods.add("POST");
3920
- }
3921
- if (method === "OPTIONS") {
3922
- response2 = new Response(null, {
3923
- status: 204,
3924
- headers: {
3925
- allow: Array.from(allowed_methods.values()).join(", ")
3926
- }
3927
- });
3928
- } else {
3929
- const mod = [...allowed_methods].reduce(
3930
- (acc, curr) => {
3931
- acc[curr] = true;
3932
- return acc;
3933
- },
3934
- /** @type {Record<string, any>} */
3935
- {}
3936
- );
3937
- response2 = method_not_allowed(mod, method);
3938
- }
3939
- }
3940
- } else {
3941
- throw new Error("Route is neither page nor endpoint. This should never happen");
3942
- }
3943
- if (request.method === "GET" && route.page && route.endpoint) {
3944
- const vary = response2.headers.get("vary")?.split(",")?.map((v) => v.trim().toLowerCase());
3945
- if (!(vary?.includes("accept") || vary?.includes("*"))) {
3946
- response2 = new Response(response2.body, {
3947
- status: response2.status,
3948
- statusText: response2.statusText,
3949
- headers: new Headers(response2.headers)
3950
- });
3951
- response2.headers.append("Vary", "Accept");
3952
- }
3953
- }
3954
- return response2;
3955
- }
3956
- if (state.error && event2.isSubRequest) {
3957
- const headers22 = new Headers(request.headers);
3958
- headers22.set("x-sveltekit-error", "true");
3959
- return await fetch(request, { headers: headers22 });
3960
- }
3961
- if (state.error) {
3962
- return text("Internal Server Error", {
3963
- status: 500
3964
- });
3965
- }
3966
- if (state.depth === 0) {
3967
- return await respond_with_error({
3968
- event: event2,
3969
- event_state,
3970
- options: options2,
3971
- manifest,
3972
- state,
3973
- status: 404,
3974
- error: new SvelteKitError(404, "Not Found", `Not found: ${event2.url.pathname}`),
3975
- resolve_opts
3976
- });
3977
- }
3978
- if (state.prerendering) {
3979
- return text("not found", { status: 404 });
3980
- }
3981
- const response = await fetch(request);
3982
- return new Response(response.body, response);
3983
- } catch (e) {
3984
- return await handle_fatal_error(event2, event_state, options2, e);
3985
- } finally {
3986
- event2.cookies.set = () => {
3987
- throw new Error("Cannot use `cookies.set(...)` after the response has been generated");
3988
- };
3989
- event2.setHeaders = () => {
3990
- throw new Error("Cannot use `setHeaders(...)` after the response has been generated");
3991
- };
3992
- }
3993
- }
3994
- }
3995
- function load_page_nodes(page, manifest) {
3996
- return Promise.all([
3997
- // we use == here rather than === because [undefined] serializes as "[null]"
3998
- ...page.layouts.map((n) => n == void 0 ? n : manifest._.nodes[n]()),
3999
- manifest._.nodes[page.leaf]()
4000
- ]);
4001
- }
4002
- function propagate_context(fn) {
4003
- return async (req, ...rest) => {
4004
- {
4005
- return fn(req, ...rest);
4006
- }
4007
- };
4008
- }
4009
- function filter_env(env, allowed, disallowed) {
4010
- return Object.fromEntries(
4011
- Object.entries(env).filter(
4012
- ([k]) => k.startsWith(allowed) && (disallowed === "" || !k.startsWith(disallowed))
4013
- )
4014
- );
4015
- }
4016
- function set_app(value) {
4017
- }
4018
- let init_promise;
4019
- let current = null;
4020
- class Server {
4021
- /** @type {import('types').SSROptions} */
4022
- #options;
4023
- /** @type {import('@sveltejs/kit').SSRManifest} */
4024
- #manifest;
4025
- /** @param {import('@sveltejs/kit').SSRManifest} manifest */
4026
- constructor(manifest) {
4027
- this.#options = options;
4028
- this.#manifest = manifest;
4029
- if (IN_WEBCONTAINER) {
4030
- const respond2 = this.respond.bind(this);
4031
- this.respond = async (...args) => {
4032
- const { promise, resolve: resolve2 } = (
4033
- /** @type {PromiseWithResolvers<void>} */
4034
- with_resolvers()
4035
- );
4036
- const previous = current;
4037
- current = promise;
4038
- await previous;
4039
- return respond2(...args).finally(resolve2);
4040
- };
4041
- }
4042
- }
4043
- /**
4044
- * @param {import('@sveltejs/kit').ServerInitOptions} opts
4045
- */
4046
- async init({ env, read }) {
4047
- const { env_public_prefix, env_private_prefix } = this.#options;
4048
- set_private_env(filter_env(env, env_private_prefix, env_public_prefix));
4049
- set_public_env(filter_env(env, env_public_prefix, env_private_prefix));
4050
- if (read) {
4051
- const wrapped_read = (file) => {
4052
- const result = read(file);
4053
- if (result instanceof ReadableStream) {
4054
- return result;
4055
- } else {
4056
- return new ReadableStream({
4057
- async start(controller) {
4058
- try {
4059
- const stream = await Promise.resolve(result);
4060
- if (!stream) {
4061
- controller.close();
4062
- return;
4063
- }
4064
- const reader = stream.getReader();
4065
- while (true) {
4066
- const { done, value } = await reader.read();
4067
- if (done) break;
4068
- controller.enqueue(value);
4069
- }
4070
- controller.close();
4071
- } catch (error2) {
4072
- controller.error(error2);
4073
- }
4074
- }
4075
- });
4076
- }
4077
- };
4078
- set_read_implementation(wrapped_read);
4079
- }
4080
- await (init_promise ??= (async () => {
4081
- try {
4082
- const module = await get_hooks();
4083
- this.#options.hooks = {
4084
- handle: module.handle || (({ event, resolve: resolve2 }) => resolve2(event)),
4085
- handleError: module.handleError || (({ status, error: error2, event }) => {
4086
- const error_message = format_server_error(
4087
- status,
4088
- /** @type {Error} */
4089
- error2,
4090
- event
4091
- );
4092
- console.error(error_message);
4093
- }),
4094
- handleFetch: module.handleFetch || (({ request, fetch: fetch2 }) => fetch2(request)),
4095
- handleValidationError: module.handleValidationError || (({ issues }) => {
4096
- console.error("Remote function schema validation failed:", issues);
4097
- return { message: "Bad Request" };
4098
- }),
4099
- reroute: module.reroute || noop,
4100
- transport: module.transport || {}
4101
- };
4102
- set_app({
4103
- decoders: module.transport ? Object.fromEntries(Object.entries(module.transport).map(([k, v]) => [k, v.decode])) : {}
4104
- });
4105
- if (module.init) {
4106
- await module.init();
4107
- }
4108
- } catch (e) {
4109
- {
4110
- throw e;
4111
- }
4112
- }
4113
- })());
4114
- }
4115
- /**
4116
- * @param {Request} request
4117
- * @param {import('types').RequestOptions} options
4118
- */
4119
- async respond(request, options2) {
4120
- return respond(request, this.#options, this.#manifest, {
4121
- ...options2,
4122
- error: false,
4123
- depth: 0
4124
- });
4125
- }
4126
- }
4127
-
4128
- export { Server as S };
4129
- //# sourceMappingURL=index.js-CfdDzNmO.js.map