@nanoforge-dev/editor 0.0.1

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 (415) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +49 -0
  3. package/dist/client/_app/immutable/assets/0.562EP7L3.css +1 -0
  4. package/dist/client/_app/immutable/assets/0.562EP7L3.css.br +0 -0
  5. package/dist/client/_app/immutable/assets/0.562EP7L3.css.gz +0 -0
  6. package/dist/client/_app/immutable/assets/2.Dl9w-_FK.css +1 -0
  7. package/dist/client/_app/immutable/assets/2.Dl9w-_FK.css.br +0 -0
  8. package/dist/client/_app/immutable/assets/2.Dl9w-_FK.css.gz +0 -0
  9. package/dist/client/_app/immutable/assets/api.CD54FDqW.css +1 -0
  10. package/dist/client/_app/immutable/assets/api.CD54FDqW.css.br +0 -0
  11. package/dist/client/_app/immutable/assets/api.CD54FDqW.css.gz +0 -0
  12. package/dist/client/_app/immutable/assets/codicon.ngg6Pgfi.ttf +0 -0
  13. package/dist/client/_app/immutable/assets/defaultProjectCover.BHxYINJa.png +0 -0
  14. package/dist/client/_app/immutable/assets/editor.BuC0XPbM.css +1 -0
  15. package/dist/client/_app/immutable/assets/editor.BuC0XPbM.css.br +0 -0
  16. package/dist/client/_app/immutable/assets/editor.BuC0XPbM.css.gz +0 -0
  17. package/dist/client/_app/immutable/assets/logo.DMAgjcse.png +0 -0
  18. package/dist/client/_app/immutable/chunks/0wEXW2Hc2.js +1 -0
  19. package/dist/client/_app/immutable/chunks/0wEXW2Hc2.js.br +0 -0
  20. package/dist/client/_app/immutable/chunks/0wEXW2Hc2.js.gz +0 -0
  21. package/dist/client/_app/immutable/chunks/1rG2eYdz2.js +1 -0
  22. package/dist/client/_app/immutable/chunks/1rG2eYdz2.js.br +0 -0
  23. package/dist/client/_app/immutable/chunks/1rG2eYdz2.js.gz +0 -0
  24. package/dist/client/_app/immutable/chunks/5CAt0tAC.js +1 -0
  25. package/dist/client/_app/immutable/chunks/5CAt0tAC.js.br +0 -0
  26. package/dist/client/_app/immutable/chunks/5CAt0tAC.js.gz +0 -0
  27. package/dist/client/_app/immutable/chunks/5TEFcS4X2.js +1 -0
  28. package/dist/client/_app/immutable/chunks/5TEFcS4X2.js.br +3 -0
  29. package/dist/client/_app/immutable/chunks/5TEFcS4X2.js.gz +0 -0
  30. package/dist/client/_app/immutable/chunks/5k3Q8YWH.js +1 -0
  31. package/dist/client/_app/immutable/chunks/5k3Q8YWH.js.br +0 -0
  32. package/dist/client/_app/immutable/chunks/5k3Q8YWH.js.gz +0 -0
  33. package/dist/client/_app/immutable/chunks/B0Q9zT_Q.js +1 -0
  34. package/dist/client/_app/immutable/chunks/B0Q9zT_Q.js.br +0 -0
  35. package/dist/client/_app/immutable/chunks/B0Q9zT_Q.js.gz +0 -0
  36. package/dist/client/_app/immutable/chunks/B1GYE4NT.js +1 -0
  37. package/dist/client/_app/immutable/chunks/B1GYE4NT.js.br +0 -0
  38. package/dist/client/_app/immutable/chunks/B1GYE4NT.js.gz +0 -0
  39. package/dist/client/_app/immutable/chunks/B1bBmRUz2.js +1 -0
  40. package/dist/client/_app/immutable/chunks/B1bBmRUz2.js.br +0 -0
  41. package/dist/client/_app/immutable/chunks/B1bBmRUz2.js.gz +0 -0
  42. package/dist/client/_app/immutable/chunks/B3IjbASq.js +1 -0
  43. package/dist/client/_app/immutable/chunks/B3IjbASq.js.br +0 -0
  44. package/dist/client/_app/immutable/chunks/B3IjbASq.js.gz +0 -0
  45. package/dist/client/_app/immutable/chunks/B3VOL0kZ.js +1 -0
  46. package/dist/client/_app/immutable/chunks/B3VOL0kZ.js.br +0 -0
  47. package/dist/client/_app/immutable/chunks/B3VOL0kZ.js.gz +0 -0
  48. package/dist/client/_app/immutable/chunks/B5crfj0i.js +1 -0
  49. package/dist/client/_app/immutable/chunks/B5crfj0i.js.br +0 -0
  50. package/dist/client/_app/immutable/chunks/B5crfj0i.js.gz +0 -0
  51. package/dist/client/_app/immutable/chunks/BAtlESPp.js +1 -0
  52. package/dist/client/_app/immutable/chunks/BAtlESPp.js.br +3 -0
  53. package/dist/client/_app/immutable/chunks/BAtlESPp.js.gz +0 -0
  54. package/dist/client/_app/immutable/chunks/BCAAnHTF2.js +1 -0
  55. package/dist/client/_app/immutable/chunks/BCAAnHTF2.js.br +0 -0
  56. package/dist/client/_app/immutable/chunks/BCAAnHTF2.js.gz +0 -0
  57. package/dist/client/_app/immutable/chunks/BEN0jOJp.js +1 -0
  58. package/dist/client/_app/immutable/chunks/BEN0jOJp.js.br +0 -0
  59. package/dist/client/_app/immutable/chunks/BEN0jOJp.js.gz +0 -0
  60. package/dist/client/_app/immutable/chunks/BHHccBgG2.js +1 -0
  61. package/dist/client/_app/immutable/chunks/BHHccBgG2.js.br +0 -0
  62. package/dist/client/_app/immutable/chunks/BHHccBgG2.js.gz +0 -0
  63. package/dist/client/_app/immutable/chunks/BHxBHC3k.js +1 -0
  64. package/dist/client/_app/immutable/chunks/BHxBHC3k.js.br +0 -0
  65. package/dist/client/_app/immutable/chunks/BHxBHC3k.js.gz +0 -0
  66. package/dist/client/_app/immutable/chunks/BK6ghPUh.js +1 -0
  67. package/dist/client/_app/immutable/chunks/BK6ghPUh.js.br +0 -0
  68. package/dist/client/_app/immutable/chunks/BK6ghPUh.js.gz +0 -0
  69. package/dist/client/_app/immutable/chunks/BL9YzxJT.js +1 -0
  70. package/dist/client/_app/immutable/chunks/BL9YzxJT.js.br +0 -0
  71. package/dist/client/_app/immutable/chunks/BL9YzxJT.js.gz +0 -0
  72. package/dist/client/_app/immutable/chunks/BNqbTcCU.js +1 -0
  73. package/dist/client/_app/immutable/chunks/BNqbTcCU.js.br +0 -0
  74. package/dist/client/_app/immutable/chunks/BNqbTcCU.js.gz +0 -0
  75. package/dist/client/_app/immutable/chunks/BSRtLNCV.js +3 -0
  76. package/dist/client/_app/immutable/chunks/BSRtLNCV.js.br +0 -0
  77. package/dist/client/_app/immutable/chunks/BSRtLNCV.js.gz +0 -0
  78. package/dist/client/_app/immutable/chunks/BSa9oWuP.js +1 -0
  79. package/dist/client/_app/immutable/chunks/BSa9oWuP.js.br +0 -0
  80. package/dist/client/_app/immutable/chunks/BSa9oWuP.js.gz +0 -0
  81. package/dist/client/_app/immutable/chunks/BTEHXt4u.js +1 -0
  82. package/dist/client/_app/immutable/chunks/BTEHXt4u.js.br +0 -0
  83. package/dist/client/_app/immutable/chunks/BTEHXt4u.js.gz +0 -0
  84. package/dist/client/_app/immutable/chunks/BUMhJFWc.js +2 -0
  85. package/dist/client/_app/immutable/chunks/BUMhJFWc.js.br +0 -0
  86. package/dist/client/_app/immutable/chunks/BUMhJFWc.js.gz +0 -0
  87. package/dist/client/_app/immutable/chunks/BXNW00E2.js +1 -0
  88. package/dist/client/_app/immutable/chunks/BXNW00E2.js.br +0 -0
  89. package/dist/client/_app/immutable/chunks/BXNW00E2.js.gz +0 -0
  90. package/dist/client/_app/immutable/chunks/B__0yjCH2.js +1 -0
  91. package/dist/client/_app/immutable/chunks/B__0yjCH2.js.br +0 -0
  92. package/dist/client/_app/immutable/chunks/B__0yjCH2.js.gz +0 -0
  93. package/dist/client/_app/immutable/chunks/B_rYXvqX.js +1 -0
  94. package/dist/client/_app/immutable/chunks/B_rYXvqX.js.br +0 -0
  95. package/dist/client/_app/immutable/chunks/B_rYXvqX.js.gz +0 -0
  96. package/dist/client/_app/immutable/chunks/BaORWDBQ.js +1 -0
  97. package/dist/client/_app/immutable/chunks/BaORWDBQ.js.br +0 -0
  98. package/dist/client/_app/immutable/chunks/BaORWDBQ.js.gz +0 -0
  99. package/dist/client/_app/immutable/chunks/BeRB61Rp.js +1 -0
  100. package/dist/client/_app/immutable/chunks/BeRB61Rp.js.br +0 -0
  101. package/dist/client/_app/immutable/chunks/BeRB61Rp.js.gz +0 -0
  102. package/dist/client/_app/immutable/chunks/Berct1R62.js +1 -0
  103. package/dist/client/_app/immutable/chunks/Berct1R62.js.br +0 -0
  104. package/dist/client/_app/immutable/chunks/Berct1R62.js.gz +0 -0
  105. package/dist/client/_app/immutable/chunks/Bi01QGTh2.js +7 -0
  106. package/dist/client/_app/immutable/chunks/Bi01QGTh2.js.br +0 -0
  107. package/dist/client/_app/immutable/chunks/Bi01QGTh2.js.gz +0 -0
  108. package/dist/client/_app/immutable/chunks/BnEty9Zf.js +3 -0
  109. package/dist/client/_app/immutable/chunks/BnEty9Zf.js.br +0 -0
  110. package/dist/client/_app/immutable/chunks/BnEty9Zf.js.gz +0 -0
  111. package/dist/client/_app/immutable/chunks/Bp42GhE_.js +1 -0
  112. package/dist/client/_app/immutable/chunks/Bp42GhE_.js.br +0 -0
  113. package/dist/client/_app/immutable/chunks/Bp42GhE_.js.gz +0 -0
  114. package/dist/client/_app/immutable/chunks/BqR20QL0.js +1 -0
  115. package/dist/client/_app/immutable/chunks/BqR20QL0.js.br +0 -0
  116. package/dist/client/_app/immutable/chunks/BqR20QL0.js.gz +0 -0
  117. package/dist/client/_app/immutable/chunks/BuvsQ_0P.js +1 -0
  118. package/dist/client/_app/immutable/chunks/BuvsQ_0P.js.br +0 -0
  119. package/dist/client/_app/immutable/chunks/BuvsQ_0P.js.gz +0 -0
  120. package/dist/client/_app/immutable/chunks/BwWFGvpp2.js +6 -0
  121. package/dist/client/_app/immutable/chunks/BwWFGvpp2.js.br +0 -0
  122. package/dist/client/_app/immutable/chunks/BwWFGvpp2.js.gz +0 -0
  123. package/dist/client/_app/immutable/chunks/BxyUv_372.js +1 -0
  124. package/dist/client/_app/immutable/chunks/BxyUv_372.js.br +0 -0
  125. package/dist/client/_app/immutable/chunks/BxyUv_372.js.gz +0 -0
  126. package/dist/client/_app/immutable/chunks/C459oz3p.js +1 -0
  127. package/dist/client/_app/immutable/chunks/C459oz3p.js.br +0 -0
  128. package/dist/client/_app/immutable/chunks/C459oz3p.js.gz +0 -0
  129. package/dist/client/_app/immutable/chunks/C4oBl-ul.js +1 -0
  130. package/dist/client/_app/immutable/chunks/C4oBl-ul.js.br +0 -0
  131. package/dist/client/_app/immutable/chunks/C4oBl-ul.js.gz +0 -0
  132. package/dist/client/_app/immutable/chunks/C5dBxjD0.js +1 -0
  133. package/dist/client/_app/immutable/chunks/C5dBxjD0.js.br +0 -0
  134. package/dist/client/_app/immutable/chunks/C5dBxjD0.js.gz +0 -0
  135. package/dist/client/_app/immutable/chunks/C7TuqZTk.js +1 -0
  136. package/dist/client/_app/immutable/chunks/C7TuqZTk.js.br +0 -0
  137. package/dist/client/_app/immutable/chunks/C7TuqZTk.js.gz +0 -0
  138. package/dist/client/_app/immutable/chunks/C84aX3eL2.js +2 -0
  139. package/dist/client/_app/immutable/chunks/C84aX3eL2.js.br +0 -0
  140. package/dist/client/_app/immutable/chunks/C84aX3eL2.js.gz +0 -0
  141. package/dist/client/_app/immutable/chunks/CGFoxiJT2.js +1 -0
  142. package/dist/client/_app/immutable/chunks/CGFoxiJT2.js.br +0 -0
  143. package/dist/client/_app/immutable/chunks/CGFoxiJT2.js.gz +0 -0
  144. package/dist/client/_app/immutable/chunks/CGdCAl_w2.js +1 -0
  145. package/dist/client/_app/immutable/chunks/CGdCAl_w2.js.br +0 -0
  146. package/dist/client/_app/immutable/chunks/CGdCAl_w2.js.gz +0 -0
  147. package/dist/client/_app/immutable/chunks/CJL4GRLV2.js +1 -0
  148. package/dist/client/_app/immutable/chunks/CJL4GRLV2.js.br +0 -0
  149. package/dist/client/_app/immutable/chunks/CJL4GRLV2.js.gz +0 -0
  150. package/dist/client/_app/immutable/chunks/CKihvhpr.js +1 -0
  151. package/dist/client/_app/immutable/chunks/CKihvhpr.js.br +0 -0
  152. package/dist/client/_app/immutable/chunks/CKihvhpr.js.gz +0 -0
  153. package/dist/client/_app/immutable/chunks/CKybJfA6.js +1 -0
  154. package/dist/client/_app/immutable/chunks/CKybJfA6.js.br +0 -0
  155. package/dist/client/_app/immutable/chunks/CKybJfA6.js.gz +0 -0
  156. package/dist/client/_app/immutable/chunks/CQai7aNJ.js +1 -0
  157. package/dist/client/_app/immutable/chunks/CQai7aNJ.js.br +0 -0
  158. package/dist/client/_app/immutable/chunks/CQai7aNJ.js.gz +0 -0
  159. package/dist/client/_app/immutable/chunks/CQghOihB.js +1 -0
  160. package/dist/client/_app/immutable/chunks/CQghOihB.js.br +0 -0
  161. package/dist/client/_app/immutable/chunks/CQghOihB.js.gz +0 -0
  162. package/dist/client/_app/immutable/chunks/CTK4WrGL2.js +1 -0
  163. package/dist/client/_app/immutable/chunks/CTK4WrGL2.js.br +0 -0
  164. package/dist/client/_app/immutable/chunks/CTK4WrGL2.js.gz +0 -0
  165. package/dist/client/_app/immutable/chunks/CUVqITEW2.js +1 -0
  166. package/dist/client/_app/immutable/chunks/CUVqITEW2.js.br +0 -0
  167. package/dist/client/_app/immutable/chunks/CUVqITEW2.js.gz +0 -0
  168. package/dist/client/_app/immutable/chunks/CVmNMiIj.js +1 -0
  169. package/dist/client/_app/immutable/chunks/CVmNMiIj.js.br +0 -0
  170. package/dist/client/_app/immutable/chunks/CVmNMiIj.js.gz +0 -0
  171. package/dist/client/_app/immutable/chunks/CW_66Q8N.js +872 -0
  172. package/dist/client/_app/immutable/chunks/CW_66Q8N.js.br +0 -0
  173. package/dist/client/_app/immutable/chunks/CW_66Q8N.js.gz +0 -0
  174. package/dist/client/_app/immutable/chunks/CXBbh9s-.js +1 -0
  175. package/dist/client/_app/immutable/chunks/CXBbh9s-.js.br +0 -0
  176. package/dist/client/_app/immutable/chunks/CXBbh9s-.js.gz +0 -0
  177. package/dist/client/_app/immutable/chunks/CXlfFz7D2.js +1 -0
  178. package/dist/client/_app/immutable/chunks/CXlfFz7D2.js.br +0 -0
  179. package/dist/client/_app/immutable/chunks/CXlfFz7D2.js.gz +0 -0
  180. package/dist/client/_app/immutable/chunks/C_QqwttH.js +1 -0
  181. package/dist/client/_app/immutable/chunks/C_QqwttH.js.br +0 -0
  182. package/dist/client/_app/immutable/chunks/C_QqwttH.js.gz +0 -0
  183. package/dist/client/_app/immutable/chunks/CbFxQFBh.js +1 -0
  184. package/dist/client/_app/immutable/chunks/CbFxQFBh.js.br +0 -0
  185. package/dist/client/_app/immutable/chunks/CbFxQFBh.js.gz +0 -0
  186. package/dist/client/_app/immutable/chunks/CmjNmBcK.js +1 -0
  187. package/dist/client/_app/immutable/chunks/CmjNmBcK.js.br +0 -0
  188. package/dist/client/_app/immutable/chunks/CmjNmBcK.js.gz +0 -0
  189. package/dist/client/_app/immutable/chunks/CntDmp6G.js +1 -0
  190. package/dist/client/_app/immutable/chunks/CntDmp6G.js.br +0 -0
  191. package/dist/client/_app/immutable/chunks/CntDmp6G.js.gz +0 -0
  192. package/dist/client/_app/immutable/chunks/CqqoQT4S.js +2 -0
  193. package/dist/client/_app/immutable/chunks/CqqoQT4S.js.br +0 -0
  194. package/dist/client/_app/immutable/chunks/CqqoQT4S.js.gz +0 -0
  195. package/dist/client/_app/immutable/chunks/CtzzCjLE2.js +1 -0
  196. package/dist/client/_app/immutable/chunks/CtzzCjLE2.js.br +0 -0
  197. package/dist/client/_app/immutable/chunks/CtzzCjLE2.js.gz +0 -0
  198. package/dist/client/_app/immutable/chunks/CziQemry2.js +1 -0
  199. package/dist/client/_app/immutable/chunks/CziQemry2.js.br +0 -0
  200. package/dist/client/_app/immutable/chunks/CziQemry2.js.gz +0 -0
  201. package/dist/client/_app/immutable/chunks/Czovc13W.js +1 -0
  202. package/dist/client/_app/immutable/chunks/Czovc13W.js.br +0 -0
  203. package/dist/client/_app/immutable/chunks/Czovc13W.js.gz +0 -0
  204. package/dist/client/_app/immutable/chunks/D38BHtSY.js +298 -0
  205. package/dist/client/_app/immutable/chunks/D38BHtSY.js.br +0 -0
  206. package/dist/client/_app/immutable/chunks/D38BHtSY.js.gz +0 -0
  207. package/dist/client/_app/immutable/chunks/DBkS_L3S.js +1 -0
  208. package/dist/client/_app/immutable/chunks/DBkS_L3S.js.br +0 -0
  209. package/dist/client/_app/immutable/chunks/DBkS_L3S.js.gz +0 -0
  210. package/dist/client/_app/immutable/chunks/DEoC-BX-.js +11 -0
  211. package/dist/client/_app/immutable/chunks/DEoC-BX-.js.br +0 -0
  212. package/dist/client/_app/immutable/chunks/DEoC-BX-.js.gz +0 -0
  213. package/dist/client/_app/immutable/chunks/DHkiqSLl.js +1 -0
  214. package/dist/client/_app/immutable/chunks/DHkiqSLl.js.br +0 -0
  215. package/dist/client/_app/immutable/chunks/DHkiqSLl.js.gz +0 -0
  216. package/dist/client/_app/immutable/chunks/DL7ZpfJd.js +1 -0
  217. package/dist/client/_app/immutable/chunks/DL7ZpfJd.js.br +0 -0
  218. package/dist/client/_app/immutable/chunks/DL7ZpfJd.js.gz +0 -0
  219. package/dist/client/_app/immutable/chunks/DUC3NMun2.js +4 -0
  220. package/dist/client/_app/immutable/chunks/DUC3NMun2.js.br +0 -0
  221. package/dist/client/_app/immutable/chunks/DUC3NMun2.js.gz +0 -0
  222. package/dist/client/_app/immutable/chunks/DWUlubL2.js +1 -0
  223. package/dist/client/_app/immutable/chunks/DWUlubL2.js.br +0 -0
  224. package/dist/client/_app/immutable/chunks/DWUlubL2.js.gz +0 -0
  225. package/dist/client/_app/immutable/chunks/D_HtEbjl.js +1 -0
  226. package/dist/client/_app/immutable/chunks/D_HtEbjl.js.br +0 -0
  227. package/dist/client/_app/immutable/chunks/D_HtEbjl.js.gz +0 -0
  228. package/dist/client/_app/immutable/chunks/DaCLQrfC.js +1 -0
  229. package/dist/client/_app/immutable/chunks/DaCLQrfC.js.br +0 -0
  230. package/dist/client/_app/immutable/chunks/DaCLQrfC.js.gz +0 -0
  231. package/dist/client/_app/immutable/chunks/DbxPn-f9.js +1 -0
  232. package/dist/client/_app/immutable/chunks/DbxPn-f9.js.br +0 -0
  233. package/dist/client/_app/immutable/chunks/DbxPn-f9.js.gz +0 -0
  234. package/dist/client/_app/immutable/chunks/DhPi0T7V2.js +1 -0
  235. package/dist/client/_app/immutable/chunks/DhPi0T7V2.js.br +0 -0
  236. package/dist/client/_app/immutable/chunks/DhPi0T7V2.js.gz +0 -0
  237. package/dist/client/_app/immutable/chunks/DkZEX-tr.js +1 -0
  238. package/dist/client/_app/immutable/chunks/DkZEX-tr.js.br +0 -0
  239. package/dist/client/_app/immutable/chunks/DkZEX-tr.js.gz +0 -0
  240. package/dist/client/_app/immutable/chunks/Dqs1VwMg2.js +1 -0
  241. package/dist/client/_app/immutable/chunks/Dqs1VwMg2.js.br +0 -0
  242. package/dist/client/_app/immutable/chunks/Dqs1VwMg2.js.gz +0 -0
  243. package/dist/client/_app/immutable/chunks/DrDIkqkr2.js +1 -0
  244. package/dist/client/_app/immutable/chunks/DrDIkqkr2.js.br +0 -0
  245. package/dist/client/_app/immutable/chunks/DrDIkqkr2.js.gz +0 -0
  246. package/dist/client/_app/immutable/chunks/DunPnEs5.js +1 -0
  247. package/dist/client/_app/immutable/chunks/DunPnEs5.js.br +0 -0
  248. package/dist/client/_app/immutable/chunks/DunPnEs5.js.gz +0 -0
  249. package/dist/client/_app/immutable/chunks/DxLN9Q9A.js +1 -0
  250. package/dist/client/_app/immutable/chunks/DxLN9Q9A.js.br +0 -0
  251. package/dist/client/_app/immutable/chunks/DxLN9Q9A.js.gz +0 -0
  252. package/dist/client/_app/immutable/chunks/GhmjqkHA.js +1 -0
  253. package/dist/client/_app/immutable/chunks/GhmjqkHA.js.br +0 -0
  254. package/dist/client/_app/immutable/chunks/GhmjqkHA.js.gz +0 -0
  255. package/dist/client/_app/immutable/chunks/H_bCfo1Z.js +1 -0
  256. package/dist/client/_app/immutable/chunks/H_bCfo1Z.js.br +1 -0
  257. package/dist/client/_app/immutable/chunks/H_bCfo1Z.js.gz +0 -0
  258. package/dist/client/_app/immutable/chunks/KoMdYtDs2.js +1 -0
  259. package/dist/client/_app/immutable/chunks/KoMdYtDs2.js.br +0 -0
  260. package/dist/client/_app/immutable/chunks/KoMdYtDs2.js.gz +0 -0
  261. package/dist/client/_app/immutable/chunks/OELm4xo1.js +1 -0
  262. package/dist/client/_app/immutable/chunks/OELm4xo1.js.br +0 -0
  263. package/dist/client/_app/immutable/chunks/OELm4xo1.js.gz +0 -0
  264. package/dist/client/_app/immutable/chunks/OdxrjoDx.js +1 -0
  265. package/dist/client/_app/immutable/chunks/OdxrjoDx.js.br +0 -0
  266. package/dist/client/_app/immutable/chunks/OdxrjoDx.js.gz +0 -0
  267. package/dist/client/_app/immutable/chunks/SlhV96tq.js +1 -0
  268. package/dist/client/_app/immutable/chunks/SlhV96tq.js.br +0 -0
  269. package/dist/client/_app/immutable/chunks/SlhV96tq.js.gz +0 -0
  270. package/dist/client/_app/immutable/chunks/X9L1iai42.js +1 -0
  271. package/dist/client/_app/immutable/chunks/X9L1iai42.js.br +0 -0
  272. package/dist/client/_app/immutable/chunks/X9L1iai42.js.gz +0 -0
  273. package/dist/client/_app/immutable/chunks/XIokwnxj2.js +11 -0
  274. package/dist/client/_app/immutable/chunks/XIokwnxj2.js.br +0 -0
  275. package/dist/client/_app/immutable/chunks/XIokwnxj2.js.gz +0 -0
  276. package/dist/client/_app/immutable/chunks/ZmwXQQ8p.js +1 -0
  277. package/dist/client/_app/immutable/chunks/ZmwXQQ8p.js.br +0 -0
  278. package/dist/client/_app/immutable/chunks/ZmwXQQ8p.js.gz +0 -0
  279. package/dist/client/_app/immutable/chunks/acVTcwNd.js +1 -0
  280. package/dist/client/_app/immutable/chunks/acVTcwNd.js.br +0 -0
  281. package/dist/client/_app/immutable/chunks/acVTcwNd.js.gz +0 -0
  282. package/dist/client/_app/immutable/chunks/bLoc39kl.js +2 -0
  283. package/dist/client/_app/immutable/chunks/bLoc39kl.js.br +0 -0
  284. package/dist/client/_app/immutable/chunks/bLoc39kl.js.gz +0 -0
  285. package/dist/client/_app/immutable/chunks/dm7qVrFn2.js +1 -0
  286. package/dist/client/_app/immutable/chunks/dm7qVrFn2.js.br +0 -0
  287. package/dist/client/_app/immutable/chunks/dm7qVrFn2.js.gz +0 -0
  288. package/dist/client/_app/immutable/chunks/if7vWS9-.js +1 -0
  289. package/dist/client/_app/immutable/chunks/if7vWS9-.js.br +0 -0
  290. package/dist/client/_app/immutable/chunks/if7vWS9-.js.gz +0 -0
  291. package/dist/client/_app/immutable/chunks/kAc38cH_.js +3 -0
  292. package/dist/client/_app/immutable/chunks/kAc38cH_.js.br +0 -0
  293. package/dist/client/_app/immutable/chunks/kAc38cH_.js.gz +0 -0
  294. package/dist/client/_app/immutable/chunks/kks0AxFY2.js +1 -0
  295. package/dist/client/_app/immutable/chunks/kks0AxFY2.js.br +0 -0
  296. package/dist/client/_app/immutable/chunks/kks0AxFY2.js.gz +0 -0
  297. package/dist/client/_app/immutable/chunks/mA7hbneB.js +3 -0
  298. package/dist/client/_app/immutable/chunks/mA7hbneB.js.br +0 -0
  299. package/dist/client/_app/immutable/chunks/mA7hbneB.js.gz +0 -0
  300. package/dist/client/_app/immutable/chunks/qWHUp0PJ2.js +1 -0
  301. package/dist/client/_app/immutable/chunks/qWHUp0PJ2.js.br +0 -0
  302. package/dist/client/_app/immutable/chunks/qWHUp0PJ2.js.gz +0 -0
  303. package/dist/client/_app/immutable/chunks/u6JPB_fg2.js +1 -0
  304. package/dist/client/_app/immutable/chunks/u6JPB_fg2.js.br +0 -0
  305. package/dist/client/_app/immutable/chunks/u6JPB_fg2.js.gz +0 -0
  306. package/dist/client/_app/immutable/chunks/v_jBEYI6.js +1 -0
  307. package/dist/client/_app/immutable/chunks/v_jBEYI6.js.br +1 -0
  308. package/dist/client/_app/immutable/chunks/v_jBEYI6.js.gz +0 -0
  309. package/dist/client/_app/immutable/chunks/x4VkYCou2.js +1 -0
  310. package/dist/client/_app/immutable/chunks/x4VkYCou2.js.br +0 -0
  311. package/dist/client/_app/immutable/chunks/x4VkYCou2.js.gz +0 -0
  312. package/dist/client/_app/immutable/entry/app.CrM2Umgq.js +2 -0
  313. package/dist/client/_app/immutable/entry/app.CrM2Umgq.js.br +0 -0
  314. package/dist/client/_app/immutable/entry/app.CrM2Umgq.js.gz +0 -0
  315. package/dist/client/_app/immutable/entry/start.25Vi3KZA.js +1 -0
  316. package/dist/client/_app/immutable/entry/start.25Vi3KZA.js.br +0 -0
  317. package/dist/client/_app/immutable/entry/start.25Vi3KZA.js.gz +0 -0
  318. package/dist/client/_app/immutable/nodes/0.Ck5XUPzX.js +1 -0
  319. package/dist/client/_app/immutable/nodes/0.Ck5XUPzX.js.br +0 -0
  320. package/dist/client/_app/immutable/nodes/0.Ck5XUPzX.js.gz +0 -0
  321. package/dist/client/_app/immutable/nodes/1.Dpx0WKl2.js +1 -0
  322. package/dist/client/_app/immutable/nodes/1.Dpx0WKl2.js.br +0 -0
  323. package/dist/client/_app/immutable/nodes/1.Dpx0WKl2.js.gz +0 -0
  324. package/dist/client/_app/immutable/nodes/2.CwofzauD.js +4 -0
  325. package/dist/client/_app/immutable/nodes/2.CwofzauD.js.br +0 -0
  326. package/dist/client/_app/immutable/nodes/2.CwofzauD.js.gz +0 -0
  327. package/dist/client/_app/immutable/nodes/3.CU9DPzka.js +1 -0
  328. package/dist/client/_app/immutable/nodes/3.CU9DPzka.js.br +0 -0
  329. package/dist/client/_app/immutable/nodes/3.CU9DPzka.js.gz +0 -0
  330. package/dist/client/_app/immutable/nodes/4.P9ayzmJ4.js +5 -0
  331. package/dist/client/_app/immutable/nodes/4.P9ayzmJ4.js.br +0 -0
  332. package/dist/client/_app/immutable/nodes/4.P9ayzmJ4.js.gz +0 -0
  333. package/dist/client/_app/immutable/nodes/5.Dcsjm3Pq.js +1 -0
  334. package/dist/client/_app/immutable/nodes/5.Dcsjm3Pq.js.br +0 -0
  335. package/dist/client/_app/immutable/nodes/5.Dcsjm3Pq.js.gz +0 -0
  336. package/dist/client/_app/immutable/workers/css.worker-DRFWP4k7.js +89 -0
  337. package/dist/client/_app/immutable/workers/css.worker-DRFWP4k7.js.br +0 -0
  338. package/dist/client/_app/immutable/workers/css.worker-DRFWP4k7.js.gz +0 -0
  339. package/dist/client/_app/immutable/workers/html.worker-CXAEVlCI.js +502 -0
  340. package/dist/client/_app/immutable/workers/html.worker-CXAEVlCI.js.br +0 -0
  341. package/dist/client/_app/immutable/workers/html.worker-CXAEVlCI.js.gz +0 -0
  342. package/dist/client/_app/immutable/workers/json.worker-Dkwen84u.js +58 -0
  343. package/dist/client/_app/immutable/workers/json.worker-Dkwen84u.js.br +0 -0
  344. package/dist/client/_app/immutable/workers/json.worker-Dkwen84u.js.gz +0 -0
  345. package/dist/client/_app/immutable/workers/ts.worker-DJwDx_mp.js +67719 -0
  346. package/dist/client/_app/immutable/workers/ts.worker-DJwDx_mp.js.br +0 -0
  347. package/dist/client/_app/immutable/workers/ts.worker-DJwDx_mp.js.gz +0 -0
  348. package/dist/client/_app/version.json +1 -0
  349. package/dist/client/_app/version.json.br +0 -0
  350. package/dist/client/_app/version.json.gz +0 -0
  351. package/dist/client/favicon.svg +1 -0
  352. package/dist/client/favicon.svg.br +0 -0
  353. package/dist/client/favicon.svg.gz +0 -0
  354. package/dist/client/robots.txt +3 -0
  355. package/dist/client/robots.txt.br +0 -0
  356. package/dist/client/robots.txt.gz +0 -0
  357. package/dist/env.js +32 -0
  358. package/dist/handler.js +744 -0
  359. package/dist/index.js +49 -0
  360. package/dist/server/chunks/0-DmwMCtOF.js +16 -0
  361. package/dist/server/chunks/0-DmwMCtOF.js.map +1 -0
  362. package/dist/server/chunks/1-BgVLfks1.js +17 -0
  363. package/dist/server/chunks/1-BgVLfks1.js.map +1 -0
  364. package/dist/server/chunks/2-CzdRJh2P.js +30 -0
  365. package/dist/server/chunks/2-CzdRJh2P.js.map +1 -0
  366. package/dist/server/chunks/3-C6uctiU1.js +185 -0
  367. package/dist/server/chunks/3-C6uctiU1.js.map +1 -0
  368. package/dist/server/chunks/4-BO3KTp14.js +390 -0
  369. package/dist/server/chunks/4-BO3KTp14.js.map +1 -0
  370. package/dist/server/chunks/5-LbaHRTVX.js +259 -0
  371. package/dist/server/chunks/5-LbaHRTVX.js.map +1 -0
  372. package/dist/server/chunks/_layout.svelte-BzcRjvYO.js +11 -0
  373. package/dist/server/chunks/_layout.svelte-BzcRjvYO.js.map +1 -0
  374. package/dist/server/chunks/_page.svelte-CB5X_URD.js +197 -0
  375. package/dist/server/chunks/_page.svelte-CB5X_URD.js.map +1 -0
  376. package/dist/server/chunks/_page.svelte-DMwjXpw4.js +13 -0
  377. package/dist/server/chunks/_page.svelte-DMwjXpw4.js.map +1 -0
  378. package/dist/server/chunks/_page.svelte-XIYDQw7d.js +14 -0
  379. package/dist/server/chunks/_page.svelte-XIYDQw7d.js.map +1 -0
  380. package/dist/server/chunks/_page.svelte-paWD_HcG.js +4302 -0
  381. package/dist/server/chunks/_page.svelte-paWD_HcG.js.map +1 -0
  382. package/dist/server/chunks/api-9BLkbfaG.js +9126 -0
  383. package/dist/server/chunks/api-9BLkbfaG.js.map +1 -0
  384. package/dist/server/chunks/app-l-cuFP__.js +13 -0
  385. package/dist/server/chunks/app-l-cuFP__.js.map +1 -0
  386. package/dist/server/chunks/chunk-9PtDFT_4.js +37 -0
  387. package/dist/server/chunks/client-Dx0O-q6m.js +115 -0
  388. package/dist/server/chunks/client-Dx0O-q6m.js.map +1 -0
  389. package/dist/server/chunks/dev-7V6fUCff.js +4429 -0
  390. package/dist/server/chunks/dev-7V6fUCff.js.map +1 -0
  391. package/dist/server/chunks/error.svelte-C5CCEI9O.js +102 -0
  392. package/dist/server/chunks/error.svelte-C5CCEI9O.js.map +1 -0
  393. package/dist/server/chunks/exports-j3HcL9It.js +158 -0
  394. package/dist/server/chunks/exports-j3HcL9It.js.map +1 -0
  395. package/dist/server/chunks/forms-CffPpDq6.js +36 -0
  396. package/dist/server/chunks/forms-CffPpDq6.js.map +1 -0
  397. package/dist/server/chunks/hooks.server-DqaQ1y1I.js +858 -0
  398. package/dist/server/chunks/hooks.server-DqaQ1y1I.js.map +1 -0
  399. package/dist/server/chunks/hooks.universal-0JHSyeLw.js +7 -0
  400. package/dist/server/chunks/hooks.universal-0JHSyeLw.js.map +1 -0
  401. package/dist/server/chunks/internal-BgFVxXcc.js +66 -0
  402. package/dist/server/chunks/internal-BgFVxXcc.js.map +1 -0
  403. package/dist/server/chunks/internal-BqoJe00m.js +1671 -0
  404. package/dist/server/chunks/internal-BqoJe00m.js.map +1 -0
  405. package/dist/server/chunks/runtime-ISoc6PNh.js +703 -0
  406. package/dist/server/chunks/runtime-ISoc6PNh.js.map +1 -0
  407. package/dist/server/chunks/server-BlOy0jJl.js +91 -0
  408. package/dist/server/chunks/server-BlOy0jJl.js.map +1 -0
  409. package/dist/server/chunks/shared-server-D--cyMsO.js +23 -0
  410. package/dist/server/chunks/shared-server-D--cyMsO.js.map +1 -0
  411. package/dist/server/index.js +4183 -0
  412. package/dist/server/index.js.map +1 -0
  413. package/dist/server/manifest.js +102 -0
  414. package/dist/server/manifest.js.map +1 -0
  415. package/package.json +119 -0
@@ -0,0 +1,1671 @@
1
+ import { o as __exportAll } from "./server-BlOy0jJl.js";
2
+ import { A as getAllContexts, B as hydration_failed, D as flushSync, E as experimental_async_required, F as get_type, G as is_primitive, H as init_operations, I as hasContext, J as noop$1, K as lifecycle_function_unavailable, L as hydratable_serialization_failed, M as get_first_child, N as get_next_sibling, O as get, P as get_render_context, Q as render, R as hydrate_node, U as is_passive_event, V as hydration_mismatch, W as is_plain_object, X as push, Y as pop, _ as component_root, a as active_reaction, at as set_hydrate_node, b as define_property, ct as ssr_context, et as run, f as boundary, ft as stringify_key, g as component_context, gt as valid_array_indices, i as active_effect, it as set_active_reaction, j as getContext, k as getAbortSignal, mt as uneval, n as HYDRATION_ERROR, nt as setContext, o as array_from, ot as set_hydrating, p as clear_text_content, pt as stringify_string, q as mutable_source, r as LEGACY_PROPS, rt as set_active_effect, t as DevalueError, tt as set, v as createContext, w as enumerable_symbols, x as derived, y as create_text, z as hydrating } from "./dev-7V6fUCff.js";
3
+ import { i as SvelteKitError, n as HttpError } from "./internal-BgFVxXcc.js";
4
+ //#region .svelte-kit/adapter-bun/chunks/environment.js
5
+ var base = "";
6
+ var assets = base;
7
+ var app_dir = "_app";
8
+ var initial = {
9
+ base,
10
+ assets
11
+ };
12
+ /**
13
+ * `base` could be overridden during rendering to be relative;
14
+ * this one's the original non-relative base path
15
+ */
16
+ var initial_base = initial.base;
17
+ /**
18
+ * @param {{ base: string, assets: string }} paths
19
+ */
20
+ function override(paths) {
21
+ base = paths.base;
22
+ assets = paths.assets;
23
+ }
24
+ function reset() {
25
+ base = initial.base;
26
+ assets = initial.assets;
27
+ }
28
+ /** @import { HydratableLookupEntry } from '#server' */
29
+ /**
30
+ * @template T
31
+ * @param {string} key
32
+ * @param {() => T} fn
33
+ * @returns {T}
34
+ */
35
+ function hydratable(key, fn) {
36
+ experimental_async_required("hydratable");
37
+ const { hydratable } = get_render_context();
38
+ let entry = hydratable.lookup.get(key);
39
+ if (entry !== void 0) return entry.value;
40
+ const value = fn();
41
+ entry = encode(key, value, hydratable.unresolved_promises);
42
+ hydratable.lookup.set(key, entry);
43
+ return value;
44
+ }
45
+ /**
46
+ * @param {string} key
47
+ * @param {any} value
48
+ * @param {Map<Promise<any>, string>} [unresolved]
49
+ */
50
+ function encode(key, value, unresolved) {
51
+ /** @type {HydratableLookupEntry} */
52
+ const entry = {
53
+ value,
54
+ serialized: ""
55
+ };
56
+ let uid = 1;
57
+ entry.serialized = uneval(entry.value, (value, uneval) => {
58
+ if (is_promise(value)) {
59
+ const placeholder = `"${uid++}"`;
60
+ const p = value.then((v) => {
61
+ entry.serialized = entry.serialized.replace(placeholder, `r(${uneval(v)})`);
62
+ }).catch((devalue_error) => hydratable_serialization_failed(key, serialization_stack(entry.stack, devalue_error?.stack)));
63
+ unresolved?.set(p, key);
64
+ p.catch(() => {}).finally(() => unresolved?.delete(p));
65
+ (entry.promises ??= []).push(p);
66
+ return placeholder;
67
+ }
68
+ });
69
+ return entry;
70
+ }
71
+ /**
72
+ * @param {any} value
73
+ * @returns {value is Promise<any>}
74
+ */
75
+ function is_promise(value) {
76
+ return Object.prototype.toString.call(value) === "[object Promise]";
77
+ }
78
+ /**
79
+ * @param {string | undefined} root_stack
80
+ * @param {string | undefined} uneval_stack
81
+ */
82
+ function serialization_stack(root_stack, uneval_stack) {
83
+ let out = "";
84
+ if (root_stack) out += root_stack + "\n";
85
+ if (uneval_stack) out += "Caused by:\n" + uneval_stack + "\n";
86
+ return out || "<missing stack trace>";
87
+ }
88
+ /** @import { Snippet } from 'svelte' */
89
+ /** @import { Renderer } from '../renderer' */
90
+ /** @import { Getters } from '#shared' */
91
+ /**
92
+ * Create a snippet programmatically
93
+ * @template {unknown[]} Params
94
+ * @param {(...params: Getters<Params>) => {
95
+ * render: () => string
96
+ * setup?: (element: Element) => void | (() => void)
97
+ * }} fn
98
+ * @returns {Snippet<Params>}
99
+ */
100
+ function createRawSnippet(fn) {
101
+ return (renderer, ...args) => {
102
+ var getters = args.map((value) => () => value);
103
+ renderer.push(fn(...getters).render().trim());
104
+ };
105
+ }
106
+ /** @import { SSRContext } from '#server' */
107
+ /** @import { Renderer } from './internal/server/renderer.js' */
108
+ var index_server_exports = /* @__PURE__ */ __exportAll({
109
+ afterUpdate: () => noop$1,
110
+ beforeUpdate: () => noop$1,
111
+ createContext: () => createContext,
112
+ createEventDispatcher: () => createEventDispatcher,
113
+ createRawSnippet: () => createRawSnippet,
114
+ flushSync: () => noop$1,
115
+ fork: () => fork,
116
+ getAbortSignal: () => getAbortSignal,
117
+ getAllContexts: () => getAllContexts,
118
+ getContext: () => getContext,
119
+ hasContext: () => hasContext,
120
+ hydratable: () => hydratable,
121
+ hydrate: () => hydrate$1,
122
+ mount: () => mount$1,
123
+ onDestroy: () => onDestroy,
124
+ onMount: () => noop$1,
125
+ setContext: () => setContext,
126
+ settled: () => settled,
127
+ tick: () => tick,
128
+ unmount: () => unmount$1,
129
+ untrack: () => run
130
+ });
131
+ /** @param {() => void} fn */
132
+ function onDestroy(fn) {
133
+ /** @type {Renderer} */ ssr_context.r.on_destroy(fn);
134
+ }
135
+ function createEventDispatcher() {
136
+ return noop$1;
137
+ }
138
+ function mount$1() {
139
+ lifecycle_function_unavailable("mount");
140
+ }
141
+ function hydrate$1() {
142
+ lifecycle_function_unavailable("hydrate");
143
+ }
144
+ function unmount$1() {
145
+ lifecycle_function_unavailable("unmount");
146
+ }
147
+ function fork() {
148
+ lifecycle_function_unavailable("fork");
149
+ }
150
+ async function tick() {}
151
+ async function settled() {}
152
+ //#endregion
153
+ //#region .svelte-kit/adapter-bun/chunks/shared.js
154
+ function noop() {}
155
+ /**
156
+ * @template T
157
+ * @param {() => T} fn
158
+ */
159
+ function once(fn) {
160
+ let done = false;
161
+ /** @type T */
162
+ let result;
163
+ return () => {
164
+ if (done) return result;
165
+ done = true;
166
+ return result = fn();
167
+ };
168
+ }
169
+ /** @type {(array_buffer: ArrayBuffer) => string} */
170
+ function encode_native(array_buffer) {
171
+ return new Uint8Array(array_buffer).toBase64();
172
+ }
173
+ /** @type {(base64: string) => ArrayBuffer} */
174
+ function decode_native(base64) {
175
+ return Uint8Array.fromBase64(base64).buffer;
176
+ }
177
+ /** @type {(array_buffer: ArrayBuffer) => string} */
178
+ function encode_buffer(array_buffer) {
179
+ return Buffer.from(array_buffer).toString("base64");
180
+ }
181
+ /** @type {(base64: string) => ArrayBuffer} */
182
+ function decode_buffer(base64) {
183
+ return Uint8Array.from(Buffer.from(base64, "base64")).buffer;
184
+ }
185
+ /** @type {(array_buffer: ArrayBuffer) => string} */
186
+ function encode_legacy(array_buffer) {
187
+ const array = new Uint8Array(array_buffer);
188
+ let binary = "";
189
+ const chunk_size = 32768;
190
+ for (let i = 0; i < array.length; i += chunk_size) {
191
+ const chunk = array.subarray(i, i + chunk_size);
192
+ binary += String.fromCharCode.apply(null, chunk);
193
+ }
194
+ return btoa(binary);
195
+ }
196
+ /** @type {(base64: string) => ArrayBuffer} */
197
+ function decode_legacy(base64) {
198
+ const binary_string = atob(base64);
199
+ const len = binary_string.length;
200
+ const array = new Uint8Array(len);
201
+ for (let i = 0; i < len; i++) array[i] = binary_string.charCodeAt(i);
202
+ return array.buffer;
203
+ }
204
+ var native = typeof Uint8Array.fromBase64 === "function";
205
+ var buffer = typeof process === "object" && process.versions?.node !== void 0;
206
+ var encode64 = native ? encode_native : buffer ? encode_buffer : encode_legacy;
207
+ var decode64 = native ? decode_native : buffer ? decode_buffer : decode_legacy;
208
+ /**
209
+ * Revive a value serialized with `devalue.stringify`
210
+ * @param {string} serialized
211
+ * @param {Record<string, (value: any) => any>} [revivers]
212
+ */
213
+ function parse(serialized, revivers) {
214
+ return unflatten(JSON.parse(serialized), revivers);
215
+ }
216
+ /**
217
+ * Revive a value flattened with `devalue.stringify`
218
+ * @param {number | any[]} parsed
219
+ * @param {Record<string, (value: any) => any>} [revivers]
220
+ */
221
+ function unflatten(parsed, revivers) {
222
+ if (typeof parsed === "number") return hydrate(parsed, true);
223
+ if (!Array.isArray(parsed) || parsed.length === 0) throw new Error("Invalid input");
224
+ const values = parsed;
225
+ const hydrated = Array(values.length);
226
+ /**
227
+ * A set of values currently being hydrated with custom revivers,
228
+ * used to detect invalid cyclical dependencies
229
+ * @type {Set<number> | null}
230
+ */
231
+ let hydrating = null;
232
+ /**
233
+ * @param {number} index
234
+ * @returns {any}
235
+ */
236
+ function hydrate(index, standalone = false) {
237
+ if (index === -1) return void 0;
238
+ if (index === -3) return NaN;
239
+ if (index === -4) return Infinity;
240
+ if (index === -5) return -Infinity;
241
+ if (index === -6) return -0;
242
+ if (standalone || typeof index !== "number") throw new Error(`Invalid input`);
243
+ if (index in hydrated) return hydrated[index];
244
+ const value = values[index];
245
+ if (!value || typeof value !== "object") hydrated[index] = value;
246
+ else if (Array.isArray(value)) if (typeof value[0] === "string") {
247
+ const type = value[0];
248
+ const reviver = revivers && Object.hasOwn(revivers, type) ? revivers[type] : void 0;
249
+ if (reviver) {
250
+ let i = value[1];
251
+ if (typeof i !== "number") i = values.push(value[1]) - 1;
252
+ hydrating ??= /* @__PURE__ */ new Set();
253
+ if (hydrating.has(i)) throw new Error("Invalid circular reference");
254
+ hydrating.add(i);
255
+ hydrated[index] = reviver(hydrate(i));
256
+ hydrating.delete(i);
257
+ return hydrated[index];
258
+ }
259
+ switch (type) {
260
+ case "Date":
261
+ hydrated[index] = new Date(value[1]);
262
+ break;
263
+ case "Set":
264
+ const set = /* @__PURE__ */ new Set();
265
+ hydrated[index] = set;
266
+ for (let i = 1; i < value.length; i += 1) set.add(hydrate(value[i]));
267
+ break;
268
+ case "Map":
269
+ const map = /* @__PURE__ */ new Map();
270
+ hydrated[index] = map;
271
+ for (let i = 1; i < value.length; i += 2) map.set(hydrate(value[i]), hydrate(value[i + 1]));
272
+ break;
273
+ case "RegExp":
274
+ hydrated[index] = new RegExp(value[1], value[2]);
275
+ break;
276
+ case "Object": {
277
+ const wrapped_index = value[1];
278
+ if (typeof values[wrapped_index] === "object" && values[wrapped_index][0] !== "BigInt") throw new Error("Invalid input");
279
+ hydrated[index] = Object(hydrate(wrapped_index));
280
+ break;
281
+ }
282
+ case "BigInt":
283
+ hydrated[index] = BigInt(value[1]);
284
+ break;
285
+ case "null":
286
+ const obj = Object.create(null);
287
+ hydrated[index] = obj;
288
+ for (let i = 1; i < value.length; i += 2) {
289
+ if (value[i] === "__proto__") throw new Error("Cannot parse an object with a `__proto__` property");
290
+ obj[value[i]] = hydrate(value[i + 1]);
291
+ }
292
+ break;
293
+ case "Int8Array":
294
+ case "Uint8Array":
295
+ case "Uint8ClampedArray":
296
+ case "Int16Array":
297
+ case "Uint16Array":
298
+ case "Float16Array":
299
+ case "Int32Array":
300
+ case "Uint32Array":
301
+ case "Float32Array":
302
+ case "Float64Array":
303
+ case "BigInt64Array":
304
+ case "BigUint64Array":
305
+ case "DataView": {
306
+ if (values[value[1]][0] !== "ArrayBuffer") throw new Error("Invalid data");
307
+ const TypedArrayConstructor = globalThis[type];
308
+ const buffer = hydrate(value[1]);
309
+ hydrated[index] = value[2] !== void 0 ? new TypedArrayConstructor(buffer, value[2], value[3]) : new TypedArrayConstructor(buffer);
310
+ break;
311
+ }
312
+ case "ArrayBuffer": {
313
+ const base64 = value[1];
314
+ if (typeof base64 !== "string") throw new Error("Invalid ArrayBuffer encoding");
315
+ hydrated[index] = decode64(base64);
316
+ break;
317
+ }
318
+ case "Temporal.Duration":
319
+ case "Temporal.Instant":
320
+ case "Temporal.PlainDate":
321
+ case "Temporal.PlainTime":
322
+ case "Temporal.PlainDateTime":
323
+ case "Temporal.PlainMonthDay":
324
+ case "Temporal.PlainYearMonth":
325
+ case "Temporal.ZonedDateTime": {
326
+ const temporalName = type.slice(9);
327
+ hydrated[index] = Temporal[temporalName].from(value[1]);
328
+ break;
329
+ }
330
+ case "URL":
331
+ hydrated[index] = new URL(value[1]);
332
+ break;
333
+ case "URLSearchParams":
334
+ hydrated[index] = new URLSearchParams(value[1]);
335
+ break;
336
+ default: throw new Error(`Unknown type ${type}`);
337
+ }
338
+ } else if (value[0] === -7) {
339
+ const len = value[1];
340
+ if (!Number.isInteger(len) || len < 0) throw new Error("Invalid input");
341
+ const array = new Array(len);
342
+ hydrated[index] = array;
343
+ for (let i = 2; i < value.length; i += 2) {
344
+ const idx = value[i];
345
+ if (!Number.isInteger(idx) || idx < 0 || idx >= len) throw new Error("Invalid input");
346
+ array[idx] = hydrate(value[i + 1]);
347
+ }
348
+ } else {
349
+ const array = new Array(value.length);
350
+ hydrated[index] = array;
351
+ for (let i = 0; i < value.length; i += 1) {
352
+ const n = value[i];
353
+ if (n === -2) continue;
354
+ array[i] = hydrate(n);
355
+ }
356
+ }
357
+ else {
358
+ /** @type {Record<string, any>} */
359
+ const object = {};
360
+ hydrated[index] = object;
361
+ for (const key of Object.keys(value)) {
362
+ if (key === "__proto__") throw new Error("Cannot parse an object with a `__proto__` property");
363
+ const n = value[key];
364
+ object[key] = hydrate(n);
365
+ }
366
+ }
367
+ return hydrated[index];
368
+ }
369
+ return hydrate(0);
370
+ }
371
+ /**
372
+ * Turn a value into a JSON string that can be parsed with `devalue.parse`
373
+ * @param {any} value
374
+ * @param {Record<string, (value: any) => any>} [reducers]
375
+ */
376
+ function stringify$1(value, reducers) {
377
+ /** @type {any[]} */
378
+ const stringified = [];
379
+ /** @type {Map<any, number>} */
380
+ const indexes = /* @__PURE__ */ new Map();
381
+ /** @type {Array<{ key: string, fn: (value: any) => any }>} */
382
+ const custom = [];
383
+ if (reducers) for (const key of Object.getOwnPropertyNames(reducers)) custom.push({
384
+ key,
385
+ fn: reducers[key]
386
+ });
387
+ /** @type {string[]} */
388
+ const keys = [];
389
+ let p = 0;
390
+ /** @param {any} thing */
391
+ function flatten(thing) {
392
+ if (thing === void 0) return -1;
393
+ if (Number.isNaN(thing)) return -3;
394
+ if (thing === Infinity) return -4;
395
+ if (thing === -Infinity) return -5;
396
+ if (thing === 0 && 1 / thing < 0) return -6;
397
+ if (indexes.has(thing)) return indexes.get(thing);
398
+ const index = p++;
399
+ indexes.set(thing, index);
400
+ for (const { key, fn } of custom) {
401
+ const value = fn(thing);
402
+ if (value) {
403
+ stringified[index] = `["${key}",${flatten(value)}]`;
404
+ return index;
405
+ }
406
+ }
407
+ if (typeof thing === "function") throw new DevalueError(`Cannot stringify a function`, keys, thing, value);
408
+ else if (typeof thing === "symbol") throw new DevalueError(`Cannot stringify a Symbol primitive`, keys, thing, value);
409
+ let str = "";
410
+ if (is_primitive(thing)) str = stringify_primitive(thing);
411
+ else {
412
+ const type = get_type(thing);
413
+ switch (type) {
414
+ case "Number":
415
+ case "String":
416
+ case "Boolean":
417
+ case "BigInt":
418
+ str = `["Object",${flatten(thing.valueOf())}]`;
419
+ break;
420
+ case "Date":
421
+ str = `["Date","${!isNaN(thing.getDate()) ? thing.toISOString() : ""}"]`;
422
+ break;
423
+ case "URL":
424
+ str = `["URL",${stringify_string(thing.toString())}]`;
425
+ break;
426
+ case "URLSearchParams":
427
+ str = `["URLSearchParams",${stringify_string(thing.toString())}]`;
428
+ break;
429
+ case "RegExp":
430
+ const { source, flags } = thing;
431
+ str = flags ? `["RegExp",${stringify_string(source)},"${flags}"]` : `["RegExp",${stringify_string(source)}]`;
432
+ break;
433
+ case "Array": {
434
+ let mostly_dense = false;
435
+ str = "[";
436
+ for (let i = 0; i < thing.length; i += 1) {
437
+ if (i > 0) str += ",";
438
+ if (Object.hasOwn(thing, i)) {
439
+ keys.push(`[${i}]`);
440
+ str += flatten(thing[i]);
441
+ keys.pop();
442
+ } else if (mostly_dense) str += -2;
443
+ else {
444
+ const populated_keys = valid_array_indices(thing);
445
+ const population = populated_keys.length;
446
+ const d = String(thing.length).length;
447
+ if ((thing.length - population) * 3 > 4 + d + population * (d + 1)) {
448
+ str = "[-7," + thing.length;
449
+ for (let j = 0; j < populated_keys.length; j++) {
450
+ const key = populated_keys[j];
451
+ keys.push(`[${key}]`);
452
+ str += "," + key + "," + flatten(thing[key]);
453
+ keys.pop();
454
+ }
455
+ break;
456
+ } else {
457
+ mostly_dense = true;
458
+ str += -2;
459
+ }
460
+ }
461
+ }
462
+ str += "]";
463
+ break;
464
+ }
465
+ case "Set":
466
+ str = "[\"Set\"";
467
+ for (const value of thing) str += `,${flatten(value)}`;
468
+ str += "]";
469
+ break;
470
+ case "Map":
471
+ str = "[\"Map\"";
472
+ for (const [key, value] of thing) {
473
+ keys.push(`.get(${is_primitive(key) ? stringify_primitive(key) : "..."})`);
474
+ str += `,${flatten(key)},${flatten(value)}`;
475
+ keys.pop();
476
+ }
477
+ str += "]";
478
+ break;
479
+ case "Int8Array":
480
+ case "Uint8Array":
481
+ case "Uint8ClampedArray":
482
+ case "Int16Array":
483
+ case "Uint16Array":
484
+ case "Float16Array":
485
+ case "Int32Array":
486
+ case "Uint32Array":
487
+ case "Float32Array":
488
+ case "Float64Array":
489
+ case "BigInt64Array":
490
+ case "BigUint64Array":
491
+ case "DataView": {
492
+ /** @type {import("./types.js").TypedArray} */
493
+ const typedArray = thing;
494
+ str = "[\"" + type + "\"," + flatten(typedArray.buffer);
495
+ if (typedArray.byteLength !== typedArray.buffer.byteLength) str += `,${typedArray.byteOffset},${typedArray.length}`;
496
+ str += "]";
497
+ break;
498
+ }
499
+ case "ArrayBuffer":
500
+ str = `["ArrayBuffer","${encode64(thing)}"]`;
501
+ break;
502
+ case "Temporal.Duration":
503
+ case "Temporal.Instant":
504
+ case "Temporal.PlainDate":
505
+ case "Temporal.PlainTime":
506
+ case "Temporal.PlainDateTime":
507
+ case "Temporal.PlainMonthDay":
508
+ case "Temporal.PlainYearMonth":
509
+ case "Temporal.ZonedDateTime":
510
+ str = `["${type}",${stringify_string(thing.toString())}]`;
511
+ break;
512
+ default:
513
+ if (!is_plain_object(thing)) throw new DevalueError(`Cannot stringify arbitrary non-POJOs`, keys, thing, value);
514
+ if (enumerable_symbols(thing).length > 0) throw new DevalueError(`Cannot stringify POJOs with symbolic keys`, keys, thing, value);
515
+ if (Object.getPrototypeOf(thing) === null) {
516
+ str = "[\"null\"";
517
+ for (const key of Object.keys(thing)) {
518
+ if (key === "__proto__") throw new DevalueError(`Cannot stringify objects with __proto__ keys`, keys, thing, value);
519
+ keys.push(stringify_key(key));
520
+ str += `,${stringify_string(key)},${flatten(thing[key])}`;
521
+ keys.pop();
522
+ }
523
+ str += "]";
524
+ } else {
525
+ str = "{";
526
+ let started = false;
527
+ for (const key of Object.keys(thing)) {
528
+ if (key === "__proto__") throw new DevalueError(`Cannot stringify objects with __proto__ keys`, keys, thing, value);
529
+ if (started) str += ",";
530
+ started = true;
531
+ keys.push(stringify_key(key));
532
+ str += `${stringify_string(key)}:${flatten(thing[key])}`;
533
+ keys.pop();
534
+ }
535
+ str += "}";
536
+ }
537
+ }
538
+ }
539
+ stringified[index] = str;
540
+ return index;
541
+ }
542
+ const index = flatten(value);
543
+ if (index < 0) return `${index}`;
544
+ return `[${stringified.join(",")}]`;
545
+ }
546
+ /**
547
+ * @param {any} thing
548
+ * @returns {string}
549
+ */
550
+ function stringify_primitive(thing) {
551
+ const type = typeof thing;
552
+ if (type === "string") return stringify_string(thing);
553
+ if (thing === void 0) return (-1).toString();
554
+ if (thing === 0 && 1 / thing < 0) return (-6).toString();
555
+ if (type === "bigint") return `["BigInt","${thing}"]`;
556
+ return String(thing);
557
+ }
558
+ var text_encoder = new TextEncoder();
559
+ var text_decoder = new TextDecoder();
560
+ /**
561
+ * Like node's path.relative, but without using node
562
+ * @param {string} from
563
+ * @param {string} to
564
+ */
565
+ function get_relative_path(from, to) {
566
+ const from_parts = from.split(/[/\\]/);
567
+ const to_parts = to.split(/[/\\]/);
568
+ from_parts.pop();
569
+ while (from_parts[0] === to_parts[0]) {
570
+ from_parts.shift();
571
+ to_parts.shift();
572
+ }
573
+ let i = from_parts.length;
574
+ while (i--) from_parts[i] = "..";
575
+ return from_parts.concat(to_parts).join("/");
576
+ }
577
+ /**
578
+ * @param {Uint8Array} bytes
579
+ * @returns {string}
580
+ */
581
+ function base64_encode(bytes) {
582
+ if (globalThis.Buffer) return globalThis.Buffer.from(bytes).toString("base64");
583
+ let binary = "";
584
+ for (let i = 0; i < bytes.length; i++) binary += String.fromCharCode(bytes[i]);
585
+ return btoa(binary);
586
+ }
587
+ /**
588
+ * @param {string} encoded
589
+ * @returns {Uint8Array}
590
+ */
591
+ function base64_decode(encoded) {
592
+ if (globalThis.Buffer) {
593
+ const buffer = globalThis.Buffer.from(encoded, "base64");
594
+ return new Uint8Array(buffer);
595
+ }
596
+ const binary = atob(encoded);
597
+ const bytes = new Uint8Array(binary.length);
598
+ for (let i = 0; i < binary.length; i++) bytes[i] = binary.charCodeAt(i);
599
+ return bytes;
600
+ }
601
+ /**
602
+ * @param {unknown} err
603
+ * @return {Error}
604
+ */
605
+ function coalesce_to_error(err) {
606
+ return err instanceof Error || err && err.name && err.message ? err : new Error(JSON.stringify(err));
607
+ }
608
+ /**
609
+ * This is an identity function that exists to make TypeScript less
610
+ * paranoid about people throwing things that aren't errors, which
611
+ * frankly is not something we should care about
612
+ * @param {unknown} error
613
+ */
614
+ function normalize_error(error) {
615
+ return error;
616
+ }
617
+ /**
618
+ * @param {unknown} error
619
+ */
620
+ function get_status(error) {
621
+ return error instanceof HttpError || error instanceof SvelteKitError ? error.status : 500;
622
+ }
623
+ /**
624
+ * @param {unknown} error
625
+ */
626
+ function get_message(error) {
627
+ return error instanceof SvelteKitError ? error.text : "Internal Error";
628
+ }
629
+ var INVALIDATED_PARAM = "x-sveltekit-invalidated";
630
+ var TRAILING_SLASH_PARAM = "x-sveltekit-trailing-slash";
631
+ /**
632
+ * Try to `devalue.stringify` the data object using the provided transport encoders.
633
+ * @param {any} data
634
+ * @param {Transport} transport
635
+ */
636
+ function stringify(data, transport) {
637
+ return stringify$1(data, Object.fromEntries(Object.entries(transport).map(([k, v]) => [k, v.encode])));
638
+ }
639
+ var remote_object = "__skrao";
640
+ var remote_map = "__skram";
641
+ var remote_set = "__skras";
642
+ Symbol(remote_object);
643
+ /** @param {Transport} transport */
644
+ function create_remote_arg_revivers(transport) {
645
+ const remote_fns_revivers = {
646
+ [remote_object]: (value) => value,
647
+ [remote_map]: (value) => {
648
+ if (!Array.isArray(value)) throw new Error("Invalid data for Map reviver");
649
+ const map = /* @__PURE__ */ new Map();
650
+ for (const item of value) {
651
+ if (!Array.isArray(item) || item.length !== 2 || typeof item[0] !== "string" || typeof item[1] !== "string") throw new Error("Invalid data for Map reviver");
652
+ const [key, val] = item;
653
+ map.set(parse$1(key), parse$1(val));
654
+ }
655
+ return map;
656
+ },
657
+ [remote_set]: (value) => {
658
+ if (!Array.isArray(value)) throw new Error("Invalid data for Set reviver");
659
+ const set = /* @__PURE__ */ new Set();
660
+ for (const item of value) {
661
+ if (typeof item !== "string") throw new Error("Invalid data for Set reviver");
662
+ set.add(parse$1(item));
663
+ }
664
+ return set;
665
+ }
666
+ };
667
+ const all_revivers = {
668
+ ...Object.fromEntries(Object.entries(transport).map(([k, v]) => [k, v.decode])),
669
+ ...remote_fns_revivers
670
+ };
671
+ /** @type {(data: string) => unknown} */
672
+ const parse$1 = (data) => parse(data, all_revivers);
673
+ return all_revivers;
674
+ }
675
+ /**
676
+ * Parses the argument (if any) for a remote function
677
+ * @param {string} string
678
+ * @param {Transport} transport
679
+ */
680
+ function parse_remote_arg(string, transport) {
681
+ if (!string) return void 0;
682
+ return parse(text_decoder.decode(base64_decode(string.replaceAll("-", "+").replaceAll("_", "/"))), create_remote_arg_revivers(transport));
683
+ }
684
+ /**
685
+ * @param {string} id
686
+ * @param {string} payload
687
+ */
688
+ function create_remote_key(id, payload) {
689
+ return id + "/" + payload;
690
+ }
691
+ /**
692
+ * @param {string} key
693
+ * @returns {{ id: string; payload: string }}
694
+ */
695
+ function split_remote_key(key) {
696
+ const i = key.lastIndexOf("/");
697
+ if (i === -1) throw new Error(`Invalid remote key: ${key}`);
698
+ return {
699
+ id: key.slice(0, i),
700
+ payload: key.slice(i + 1)
701
+ };
702
+ }
703
+ //#endregion
704
+ //#region .svelte-kit/adapter-bun/chunks/exports.js
705
+ /**
706
+ * Removes nullish values from an array.
707
+ *
708
+ * @template T
709
+ * @param {Array<T>} arr
710
+ */
711
+ function compact(arr) {
712
+ return arr.filter(
713
+ /** @returns {val is NonNullable<T>} */
714
+ (val) => val != null
715
+ );
716
+ }
717
+ var DATA_SUFFIX = "/__data.json";
718
+ var HTML_DATA_SUFFIX = ".html__data.json";
719
+ /** @param {string} pathname */
720
+ function has_data_suffix(pathname) {
721
+ return pathname.endsWith(DATA_SUFFIX) || pathname.endsWith(HTML_DATA_SUFFIX);
722
+ }
723
+ /** @param {string} pathname */
724
+ function add_data_suffix(pathname) {
725
+ if (pathname.endsWith(".html")) return pathname.replace(/\.html$/, HTML_DATA_SUFFIX);
726
+ return pathname.replace(/\/$/, "") + DATA_SUFFIX;
727
+ }
728
+ /** @param {string} pathname */
729
+ function strip_data_suffix(pathname) {
730
+ if (pathname.endsWith(HTML_DATA_SUFFIX)) return pathname.slice(0, -16) + ".html";
731
+ return pathname.slice(0, -12);
732
+ }
733
+ var ROUTE_SUFFIX = "/__route.js";
734
+ /**
735
+ * @param {string} pathname
736
+ * @returns {boolean}
737
+ */
738
+ function has_resolution_suffix(pathname) {
739
+ return pathname.endsWith(ROUTE_SUFFIX);
740
+ }
741
+ /**
742
+ * Convert a regular URL to a route to send to SvelteKit's server-side route resolution endpoint
743
+ * @param {string} pathname
744
+ * @returns {string}
745
+ */
746
+ function add_resolution_suffix(pathname) {
747
+ return pathname.replace(/\/$/, "") + ROUTE_SUFFIX;
748
+ }
749
+ /**
750
+ * @param {string} pathname
751
+ * @returns {string}
752
+ */
753
+ function strip_resolution_suffix(pathname) {
754
+ return pathname.slice(0, -11);
755
+ }
756
+ /**
757
+ * @type {Span}
758
+ */
759
+ var noop_span = {
760
+ spanContext() {
761
+ return noop_span_context;
762
+ },
763
+ setAttribute() {
764
+ return this;
765
+ },
766
+ setAttributes() {
767
+ return this;
768
+ },
769
+ addEvent() {
770
+ return this;
771
+ },
772
+ setStatus() {
773
+ return this;
774
+ },
775
+ updateName() {
776
+ return this;
777
+ },
778
+ end() {
779
+ return this;
780
+ },
781
+ isRecording() {
782
+ return false;
783
+ },
784
+ recordException() {
785
+ return this;
786
+ },
787
+ addLink() {
788
+ return this;
789
+ },
790
+ addLinks() {
791
+ return this;
792
+ }
793
+ };
794
+ /**
795
+ * @type {SpanContext}
796
+ */
797
+ var noop_span_context = {
798
+ traceId: "",
799
+ spanId: "",
800
+ traceFlags: 0
801
+ };
802
+ var internal = new URL("sveltekit-internal://");
803
+ /**
804
+ * @param {string} base
805
+ * @param {string} path
806
+ */
807
+ function resolve(base, path) {
808
+ if (path[0] === "/" && path[1] === "/") return path;
809
+ let url = new URL(base, internal);
810
+ url = new URL(path, url);
811
+ return url.protocol === internal.protocol ? url.pathname + url.search + url.hash : url.href;
812
+ }
813
+ /**
814
+ * @param {string} path
815
+ * @param {import('types').TrailingSlash} trailing_slash
816
+ */
817
+ function normalize_path(path, trailing_slash) {
818
+ if (path === "/" || trailing_slash === "ignore") return path;
819
+ if (trailing_slash === "never") return path.endsWith("/") ? path.slice(0, -1) : path;
820
+ else if (trailing_slash === "always" && !path.endsWith("/")) return path + "/";
821
+ return path;
822
+ }
823
+ /**
824
+ * Decode pathname excluding %25 to prevent further double decoding of params
825
+ * @param {string} pathname
826
+ */
827
+ function decode_pathname(pathname) {
828
+ return pathname.split("%25").map(decodeURI).join("%25");
829
+ }
830
+ /** @param {Record<string, string>} params */
831
+ function decode_params(params) {
832
+ for (const key in params) params[key] = decodeURIComponent(params[key]);
833
+ return params;
834
+ }
835
+ /**
836
+ * @param {URL} url
837
+ * @param {() => void} callback
838
+ * @param {(search_param: string) => void} search_params_callback
839
+ * @param {boolean} [allow_hash]
840
+ */
841
+ function make_trackable(url, callback, search_params_callback, allow_hash = false) {
842
+ const tracked = new URL(url);
843
+ Object.defineProperty(tracked, "searchParams", {
844
+ value: new Proxy(tracked.searchParams, { get(obj, key) {
845
+ if (key === "get" || key === "getAll" || key === "has") return (param, ...rest) => {
846
+ search_params_callback(param);
847
+ return obj[key](param, ...rest);
848
+ };
849
+ callback();
850
+ const value = Reflect.get(obj, key);
851
+ return typeof value === "function" ? value.bind(obj) : value;
852
+ } }),
853
+ enumerable: true,
854
+ configurable: true
855
+ });
856
+ /**
857
+ * URL properties that could change during the lifetime of the page,
858
+ * which excludes things like `origin`
859
+ */
860
+ const tracked_url_properties = [
861
+ "href",
862
+ "pathname",
863
+ "search",
864
+ "toString",
865
+ "toJSON"
866
+ ];
867
+ if (allow_hash) tracked_url_properties.push("hash");
868
+ for (const property of tracked_url_properties) Object.defineProperty(tracked, property, {
869
+ get() {
870
+ callback();
871
+ return url[property];
872
+ },
873
+ enumerable: true,
874
+ configurable: true
875
+ });
876
+ tracked[Symbol.for("nodejs.util.inspect.custom")] = (depth, opts, inspect) => {
877
+ return inspect(url, opts);
878
+ };
879
+ tracked.searchParams[Symbol.for("nodejs.util.inspect.custom")] = (depth, opts, inspect) => {
880
+ return inspect(url.searchParams, opts);
881
+ };
882
+ if (!allow_hash) disable_hash(tracked);
883
+ return tracked;
884
+ }
885
+ /**
886
+ * Disallow access to `url.hash` on the server and in `load`
887
+ * @param {URL} url
888
+ */
889
+ function disable_hash(url) {
890
+ allow_nodejs_console_log(url);
891
+ Object.defineProperty(url, "hash", { get() {
892
+ throw new Error("Cannot access event.url.hash. Consider using `page.url.hash` inside a component instead");
893
+ } });
894
+ }
895
+ /**
896
+ * Disallow access to `url.search` and `url.searchParams` during prerendering
897
+ * @param {URL} url
898
+ */
899
+ function disable_search(url) {
900
+ allow_nodejs_console_log(url);
901
+ for (const property of ["search", "searchParams"]) Object.defineProperty(url, property, { get() {
902
+ throw new Error(`Cannot access url.${property} on a page with prerendering enabled`);
903
+ } });
904
+ }
905
+ /**
906
+ * Allow URL to be console logged, bypassing disabled properties.
907
+ * @param {URL} url
908
+ */
909
+ function allow_nodejs_console_log(url) {
910
+ url[Symbol.for("nodejs.util.inspect.custom")] = (depth, opts, inspect) => {
911
+ return inspect(new URL(url), opts);
912
+ };
913
+ }
914
+ /**
915
+ * Hash using djb2
916
+ * @param {import('types').StrictBody[]} values
917
+ */
918
+ function hash(...values) {
919
+ let hash = 5381;
920
+ for (const value of values) if (typeof value === "string") {
921
+ let i = value.length;
922
+ while (i) hash = hash * 33 ^ value.charCodeAt(--i);
923
+ } else if (ArrayBuffer.isView(value)) {
924
+ const buffer = new Uint8Array(value.buffer, value.byteOffset, value.byteLength);
925
+ let i = buffer.length;
926
+ while (i) hash = hash * 33 ^ buffer[--i];
927
+ } else throw new TypeError("value must be a string or TypedArray");
928
+ return (hash >>> 0).toString(36);
929
+ }
930
+ /**
931
+ * Returns `false` for `(group)` segments
932
+ * @param {string} segment
933
+ */
934
+ function affects_path(segment) {
935
+ return segment !== "" && !/^\([^)]+\)$/.test(segment);
936
+ }
937
+ /**
938
+ * Splits a route id into its segments, removing segments that
939
+ * don't affect the path (i.e. groups). The root route is represented by `/`
940
+ * and will be returned as `['']`.
941
+ * @param {string} route
942
+ * @returns string[]
943
+ */
944
+ function get_route_segments(route) {
945
+ return route.slice(1).split("/").filter(affects_path);
946
+ }
947
+ /**
948
+ * @param {RegExpMatchArray} match
949
+ * @param {import('types').RouteParam[]} params
950
+ * @param {Record<string, import('@sveltejs/kit').ParamMatcher>} matchers
951
+ */
952
+ function exec(match, params, matchers) {
953
+ /** @type {Record<string, string>} */
954
+ const result = {};
955
+ const values = match.slice(1);
956
+ const values_needing_match = values.filter((value) => value !== void 0);
957
+ let buffered = 0;
958
+ for (let i = 0; i < params.length; i += 1) {
959
+ const param = params[i];
960
+ let value = values[i - buffered];
961
+ if (param.chained && param.rest && buffered) {
962
+ value = values.slice(i - buffered, i + 1).filter((s) => s).join("/");
963
+ buffered = 0;
964
+ }
965
+ if (value === void 0) if (param.rest) value = "";
966
+ else continue;
967
+ if (!param.matcher || matchers[param.matcher](value)) {
968
+ result[param.name] = value;
969
+ const next_param = params[i + 1];
970
+ const next_value = values[i + 1];
971
+ if (next_param && !next_param.rest && next_param.optional && next_value && param.chained) buffered = 0;
972
+ if (!next_param && !next_value && Object.keys(result).length === values_needing_match.length) buffered = 0;
973
+ continue;
974
+ }
975
+ if (param.optional && param.chained) {
976
+ buffered++;
977
+ continue;
978
+ }
979
+ return;
980
+ }
981
+ if (buffered) return;
982
+ return result;
983
+ }
984
+ var basic_param_pattern = /\[(\[)?(\.\.\.)?(\w+?)(?:=(\w+))?\]\]?/g;
985
+ /**
986
+ * Populate a route ID with params to resolve a pathname.
987
+ * @example
988
+ * ```js
989
+ * resolveRoute(
990
+ * `/blog/[slug]/[...somethingElse]`,
991
+ * {
992
+ * slug: 'hello-world',
993
+ * somethingElse: 'something/else'
994
+ * }
995
+ * ); // `/blog/hello-world/something/else`
996
+ * ```
997
+ * @param {string} id
998
+ * @param {Record<string, string | undefined>} params
999
+ * @returns {string}
1000
+ */
1001
+ function resolve_route(id, params) {
1002
+ const segments = get_route_segments(id);
1003
+ const has_id_trailing_slash = id != "/" && id.endsWith("/");
1004
+ return "/" + segments.map((segment) => segment.replace(basic_param_pattern, (_, optional, rest, name) => {
1005
+ const param_value = params[name];
1006
+ if (!param_value) {
1007
+ if (optional) return "";
1008
+ if (rest && param_value !== void 0) return "";
1009
+ throw new Error(`Missing parameter '${name}' in route ${id}`);
1010
+ }
1011
+ if (param_value.startsWith("/") || param_value.endsWith("/")) throw new Error(`Parameter '${name}' in route ${id} cannot start or end with a slash -- this would cause an invalid route like foo//bar`);
1012
+ return param_value;
1013
+ })).filter(Boolean).join("/") + (has_id_trailing_slash ? "/" : "");
1014
+ }
1015
+ /**
1016
+ * Find the first route that matches the given path
1017
+ * @template {{pattern: RegExp, params: import('types').RouteParam[]}} Route
1018
+ * @param {string} path - The decoded pathname to match
1019
+ * @param {Route[]} routes
1020
+ * @param {Record<string, import('@sveltejs/kit').ParamMatcher>} matchers
1021
+ * @returns {{ route: Route, params: Record<string, string> } | null}
1022
+ */
1023
+ function find_route(path, routes, matchers) {
1024
+ for (const route of routes) {
1025
+ const match = route.pattern.exec(path);
1026
+ if (!match) continue;
1027
+ const matched = exec(match, route.params, matchers);
1028
+ if (matched) return {
1029
+ route,
1030
+ params: decode_params(matched)
1031
+ };
1032
+ }
1033
+ return null;
1034
+ }
1035
+ /**
1036
+ * @param {Set<string>} expected
1037
+ */
1038
+ function validator(expected) {
1039
+ /**
1040
+ * @param {any} module
1041
+ * @param {string} [file]
1042
+ */
1043
+ function validate(module, file) {
1044
+ if (!module) return;
1045
+ for (const key in module) {
1046
+ if (key[0] === "_" || expected.has(key)) continue;
1047
+ const values = [...expected.values()];
1048
+ const hint = hint_for_supported_files(key, file?.slice(file.lastIndexOf("."))) ?? `valid exports are ${values.join(", ")}, or anything with a '_' prefix`;
1049
+ throw new Error(`Invalid export '${key}'${file ? ` in ${file}` : ""} (${hint})`);
1050
+ }
1051
+ }
1052
+ return validate;
1053
+ }
1054
+ /**
1055
+ * @param {string} key
1056
+ * @param {string} ext
1057
+ * @returns {string | void}
1058
+ */
1059
+ function hint_for_supported_files(key, ext = ".js") {
1060
+ const supported_files = [];
1061
+ if (valid_layout_exports.has(key)) supported_files.push(`+layout${ext}`);
1062
+ if (valid_page_exports.has(key)) supported_files.push(`+page${ext}`);
1063
+ if (valid_layout_server_exports.has(key)) supported_files.push(`+layout.server${ext}`);
1064
+ if (valid_page_server_exports.has(key)) supported_files.push(`+page.server${ext}`);
1065
+ if (valid_server_exports.has(key)) supported_files.push(`+server${ext}`);
1066
+ if (supported_files.length > 0) return `'${key}' is a valid export in ${supported_files.slice(0, -1).join(", ")}${supported_files.length > 1 ? " or " : ""}${supported_files.at(-1)}`;
1067
+ }
1068
+ var valid_layout_exports = new Set([
1069
+ "load",
1070
+ "prerender",
1071
+ "csr",
1072
+ "ssr",
1073
+ "trailingSlash",
1074
+ "config"
1075
+ ]);
1076
+ var valid_page_exports = new Set([...valid_layout_exports, "entries"]);
1077
+ var valid_layout_server_exports = new Set([...valid_layout_exports]);
1078
+ var valid_page_server_exports = new Set([
1079
+ ...valid_layout_server_exports,
1080
+ "actions",
1081
+ "entries"
1082
+ ]);
1083
+ var valid_server_exports = new Set([
1084
+ "GET",
1085
+ "POST",
1086
+ "PATCH",
1087
+ "PUT",
1088
+ "DELETE",
1089
+ "OPTIONS",
1090
+ "HEAD",
1091
+ "fallback",
1092
+ "prerender",
1093
+ "trailingSlash",
1094
+ "config",
1095
+ "entries"
1096
+ ]);
1097
+ var validate_layout_exports = validator(valid_layout_exports);
1098
+ var validate_page_exports = validator(valid_page_exports);
1099
+ var validate_layout_server_exports = validator(valid_layout_server_exports);
1100
+ var validate_page_server_exports = validator(valid_page_server_exports);
1101
+ validator(valid_server_exports);
1102
+ //#endregion
1103
+ //#region .svelte-kit/adapter-bun/chunks/internal.js
1104
+ var read_implementation = null;
1105
+ function set_read_implementation(fn) {
1106
+ read_implementation = fn;
1107
+ }
1108
+ function set_manifest(_) {}
1109
+ /**
1110
+ * Used on elements, as a map of event type -> event handler,
1111
+ * and on events themselves to track which element handled an event
1112
+ */
1113
+ var event_symbol = Symbol("events");
1114
+ /** @type {Set<string>} */
1115
+ var all_registered_events = /* @__PURE__ */ new Set();
1116
+ /** @type {Set<(events: Array<string>) => void>} */
1117
+ var root_event_handles = /* @__PURE__ */ new Set();
1118
+ var last_propagated_event = null;
1119
+ /**
1120
+ * @this {EventTarget}
1121
+ * @param {Event} event
1122
+ * @returns {void}
1123
+ */
1124
+ function handle_event_propagation(event) {
1125
+ var handler_element = this;
1126
+ var owner_document = handler_element.ownerDocument;
1127
+ var event_name = event.type;
1128
+ var path = event.composedPath?.() || [];
1129
+ var current_target = path[0] || event.target;
1130
+ last_propagated_event = event;
1131
+ var path_idx = 0;
1132
+ var handled_at = last_propagated_event === event && event[event_symbol];
1133
+ if (handled_at) {
1134
+ var at_idx = path.indexOf(handled_at);
1135
+ if (at_idx !== -1 && (handler_element === document || handler_element === window)) {
1136
+ event[event_symbol] = handler_element;
1137
+ return;
1138
+ }
1139
+ var handler_idx = path.indexOf(handler_element);
1140
+ if (handler_idx === -1) return;
1141
+ if (at_idx <= handler_idx) path_idx = at_idx;
1142
+ }
1143
+ current_target = path[path_idx] || event.target;
1144
+ if (current_target === handler_element) return;
1145
+ define_property(event, "currentTarget", {
1146
+ configurable: true,
1147
+ get() {
1148
+ return current_target || owner_document;
1149
+ }
1150
+ });
1151
+ var previous_reaction = active_reaction;
1152
+ var previous_effect = active_effect;
1153
+ set_active_reaction(null);
1154
+ set_active_effect(null);
1155
+ try {
1156
+ /**
1157
+ * @type {unknown}
1158
+ */
1159
+ var throw_error;
1160
+ /**
1161
+ * @type {unknown[]}
1162
+ */
1163
+ var other_errors = [];
1164
+ while (current_target !== null) {
1165
+ /** @type {null | Element} */
1166
+ var parent_element = current_target.assignedSlot || current_target.parentNode || current_target.host || null;
1167
+ try {
1168
+ var delegated = current_target[event_symbol]?.[event_name];
1169
+ if (delegated != null && (!current_target.disabled || event.target === current_target)) delegated.call(current_target, event);
1170
+ } catch (error) {
1171
+ if (throw_error) other_errors.push(error);
1172
+ else throw_error = error;
1173
+ }
1174
+ if (event.cancelBubble || parent_element === handler_element || parent_element === null) break;
1175
+ current_target = parent_element;
1176
+ }
1177
+ if (throw_error) {
1178
+ for (let error of other_errors) queueMicrotask(() => {
1179
+ throw error;
1180
+ });
1181
+ throw throw_error;
1182
+ }
1183
+ } finally {
1184
+ event[event_symbol] = handler_element;
1185
+ delete event.currentTarget;
1186
+ set_active_reaction(previous_reaction);
1187
+ set_active_effect(previous_effect);
1188
+ }
1189
+ }
1190
+ globalThis?.window?.trustedTypes;
1191
+ /** @import { Effect, EffectNodes, TemplateNode } from '#client' */
1192
+ /** @import { TemplateStructure } from './types' */
1193
+ /**
1194
+ * @param {TemplateNode} start
1195
+ * @param {TemplateNode | null} end
1196
+ */
1197
+ function assign_nodes(start, end) {
1198
+ var effect = active_effect;
1199
+ if (effect.nodes === null) effect.nodes = {
1200
+ start,
1201
+ end,
1202
+ a: null,
1203
+ t: null
1204
+ };
1205
+ }
1206
+ /**
1207
+ * Mounts a component to the given target and returns the exports and potentially the props (if compiled with `accessors: true`) of the component.
1208
+ * Transitions will play during the initial render unless the `intro` option is set to `false`.
1209
+ *
1210
+ * @template {Record<string, any>} Props
1211
+ * @template {Record<string, any>} Exports
1212
+ * @param {ComponentType<SvelteComponent<Props>> | Component<Props, Exports, any>} component
1213
+ * @param {MountOptions<Props>} options
1214
+ * @returns {Exports}
1215
+ */
1216
+ function mount(component, options) {
1217
+ return _mount(component, options);
1218
+ }
1219
+ /**
1220
+ * Hydrates a component on the given target and returns the exports and potentially the props (if compiled with `accessors: true`) of the component
1221
+ *
1222
+ * @template {Record<string, any>} Props
1223
+ * @template {Record<string, any>} Exports
1224
+ * @param {ComponentType<SvelteComponent<Props>> | Component<Props, Exports, any>} component
1225
+ * @param {{} extends Props ? {
1226
+ * target: Document | Element | ShadowRoot;
1227
+ * props?: Props;
1228
+ * events?: Record<string, (e: any) => any>;
1229
+ * context?: Map<any, any>;
1230
+ * intro?: boolean;
1231
+ * recover?: boolean;
1232
+ * transformError?: (error: unknown) => unknown;
1233
+ * } : {
1234
+ * target: Document | Element | ShadowRoot;
1235
+ * props: Props;
1236
+ * events?: Record<string, (e: any) => any>;
1237
+ * context?: Map<any, any>;
1238
+ * intro?: boolean;
1239
+ * recover?: boolean;
1240
+ * transformError?: (error: unknown) => unknown;
1241
+ * }} options
1242
+ * @returns {Exports}
1243
+ */
1244
+ function hydrate(component, options) {
1245
+ init_operations();
1246
+ options.intro = options.intro ?? false;
1247
+ const target = options.target;
1248
+ const was_hydrating = hydrating;
1249
+ const previous_hydrate_node = hydrate_node;
1250
+ try {
1251
+ var anchor = /* @__PURE__ */ get_first_child(target);
1252
+ while (anchor && (anchor.nodeType !== 8 || anchor.data !== "[")) anchor = /* @__PURE__ */ get_next_sibling(anchor);
1253
+ if (!anchor) throw HYDRATION_ERROR;
1254
+ set_hydrating(true);
1255
+ set_hydrate_node(anchor);
1256
+ const instance = _mount(component, {
1257
+ ...options,
1258
+ anchor
1259
+ });
1260
+ set_hydrating(false);
1261
+ return instance;
1262
+ } catch (error) {
1263
+ if (error instanceof Error && error.message.split("\n").some((line) => line.startsWith("https://svelte.dev/e/"))) throw error;
1264
+ if (error !== HYDRATION_ERROR) console.warn("Failed to hydrate: ", error);
1265
+ if (options.recover === false) hydration_failed();
1266
+ init_operations();
1267
+ clear_text_content(target);
1268
+ set_hydrating(false);
1269
+ return mount(component, options);
1270
+ } finally {
1271
+ set_hydrating(was_hydrating);
1272
+ set_hydrate_node(previous_hydrate_node);
1273
+ }
1274
+ }
1275
+ /** @type {Map<EventTarget, Map<string, number>>} */
1276
+ var listeners = /* @__PURE__ */ new Map();
1277
+ /**
1278
+ * @template {Record<string, any>} Exports
1279
+ * @param {ComponentType<SvelteComponent<any>> | Component<any>} Component
1280
+ * @param {MountOptions} options
1281
+ * @returns {Exports}
1282
+ */
1283
+ function _mount(Component, { target, anchor, props = {}, events, context, intro = true, transformError }) {
1284
+ init_operations();
1285
+ /** @type {Exports} */
1286
+ var component = void 0;
1287
+ var unmount = component_root(() => {
1288
+ var anchor_node = anchor ?? target.appendChild(create_text());
1289
+ boundary(anchor_node, { pending: () => {} }, (anchor_node) => {
1290
+ push({});
1291
+ var ctx = component_context;
1292
+ if (context) ctx.c = context;
1293
+ if (events)
1294
+ /** @type {any} */ props.$$events = events;
1295
+ if (hydrating) assign_nodes(anchor_node, null);
1296
+ component = Component(anchor_node, props) || {};
1297
+ if (hydrating) {
1298
+ /** @type {Effect & { nodes: EffectNodes }} */ active_effect.nodes.end = hydrate_node;
1299
+ if (hydrate_node === null || hydrate_node.nodeType !== 8 || hydrate_node.data !== "]") {
1300
+ hydration_mismatch();
1301
+ throw HYDRATION_ERROR;
1302
+ }
1303
+ }
1304
+ pop();
1305
+ }, transformError);
1306
+ /** @type {Set<string>} */
1307
+ var registered_events = /* @__PURE__ */ new Set();
1308
+ /** @param {Array<string>} events */
1309
+ var event_handle = (events) => {
1310
+ for (var i = 0; i < events.length; i++) {
1311
+ var event_name = events[i];
1312
+ if (registered_events.has(event_name)) continue;
1313
+ registered_events.add(event_name);
1314
+ var passive = is_passive_event(event_name);
1315
+ for (const node of [target, document]) {
1316
+ var counts = listeners.get(node);
1317
+ if (counts === void 0) {
1318
+ counts = /* @__PURE__ */ new Map();
1319
+ listeners.set(node, counts);
1320
+ }
1321
+ var count = counts.get(event_name);
1322
+ if (count === void 0) {
1323
+ node.addEventListener(event_name, handle_event_propagation, { passive });
1324
+ counts.set(event_name, 1);
1325
+ } else counts.set(event_name, count + 1);
1326
+ }
1327
+ }
1328
+ };
1329
+ event_handle(array_from(all_registered_events));
1330
+ root_event_handles.add(event_handle);
1331
+ return () => {
1332
+ for (var event_name of registered_events) for (const node of [target, document]) {
1333
+ var counts = listeners.get(node);
1334
+ var count = counts.get(event_name);
1335
+ if (--count == 0) {
1336
+ node.removeEventListener(event_name, handle_event_propagation);
1337
+ counts.delete(event_name);
1338
+ if (counts.size === 0) listeners.delete(node);
1339
+ } else counts.set(event_name, count);
1340
+ }
1341
+ root_event_handles.delete(event_handle);
1342
+ if (anchor_node !== anchor) anchor_node.parentNode?.removeChild(anchor_node);
1343
+ };
1344
+ });
1345
+ mounted_components.set(component, unmount);
1346
+ return component;
1347
+ }
1348
+ /**
1349
+ * References of the components that were mounted or hydrated.
1350
+ * Uses a `WeakMap` to avoid memory leaks.
1351
+ */
1352
+ var mounted_components = /* @__PURE__ */ new WeakMap();
1353
+ /**
1354
+ * Unmounts a component that was previously mounted using `mount` or `hydrate`.
1355
+ *
1356
+ * Since 5.13.0, if `options.outro` is `true`, [transitions](https://svelte.dev/docs/svelte/transition) will play before the component is removed from the DOM.
1357
+ *
1358
+ * Returns a `Promise` that resolves after transitions have completed if `options.outro` is true, or immediately otherwise (prior to 5.13.0, returns `void`).
1359
+ *
1360
+ * ```js
1361
+ * import { mount, unmount } from 'svelte';
1362
+ * import App from './App.svelte';
1363
+ *
1364
+ * const app = mount(App, { target: document.body });
1365
+ *
1366
+ * // later...
1367
+ * unmount(app, { outro: true });
1368
+ * ```
1369
+ * @param {Record<string, any>} component
1370
+ * @param {{ outro?: boolean }} [options]
1371
+ * @returns {Promise<void>}
1372
+ */
1373
+ function unmount(component, options) {
1374
+ const fn = mounted_components.get(component);
1375
+ if (fn) {
1376
+ mounted_components.delete(component);
1377
+ return fn(options);
1378
+ }
1379
+ return Promise.resolve();
1380
+ }
1381
+ /**
1382
+ * Takes the component function and returns a Svelte 4 compatible component constructor.
1383
+ *
1384
+ * @deprecated Use this only as a temporary solution to migrate your imperative component code to Svelte 5.
1385
+ *
1386
+ * @template {Record<string, any>} Props
1387
+ * @template {Record<string, any>} Exports
1388
+ * @template {Record<string, any>} Events
1389
+ * @template {Record<string, any>} Slots
1390
+ *
1391
+ * @param {SvelteComponent<Props, Events, Slots> | Component<Props>} component
1392
+ * @returns {ComponentType<SvelteComponent<Props, Events, Slots> & Exports>}
1393
+ */
1394
+ function asClassComponent$1(component) {
1395
+ return class extends Svelte4Component {
1396
+ /** @param {any} options */
1397
+ constructor(options) {
1398
+ super({
1399
+ component,
1400
+ ...options
1401
+ });
1402
+ }
1403
+ };
1404
+ }
1405
+ /**
1406
+ * Support using the component as both a class and function during the transition period
1407
+ * @typedef {{new (o: ComponentConstructorOptions): SvelteComponent;(...args: Parameters<Component<Record<string, any>>>): ReturnType<Component<Record<string, any>, Record<string, any>>>;}} LegacyComponentType
1408
+ */
1409
+ var Svelte4Component = class {
1410
+ /** @type {any} */
1411
+ #events;
1412
+ /** @type {Record<string, any>} */
1413
+ #instance;
1414
+ /**
1415
+ * @param {ComponentConstructorOptions & {
1416
+ * component: any;
1417
+ * }} options
1418
+ */
1419
+ constructor(options) {
1420
+ var sources = /* @__PURE__ */ new Map();
1421
+ /**
1422
+ * @param {string | symbol} key
1423
+ * @param {unknown} value
1424
+ */
1425
+ var add_source = (key, value) => {
1426
+ var s = /* @__PURE__ */ mutable_source(value, false, false);
1427
+ sources.set(key, s);
1428
+ return s;
1429
+ };
1430
+ const props = new Proxy({
1431
+ ...options.props || {},
1432
+ $$events: {}
1433
+ }, {
1434
+ get(target, prop) {
1435
+ return get(sources.get(prop) ?? add_source(prop, Reflect.get(target, prop)));
1436
+ },
1437
+ has(target, prop) {
1438
+ if (prop === LEGACY_PROPS) return true;
1439
+ get(sources.get(prop) ?? add_source(prop, Reflect.get(target, prop)));
1440
+ return Reflect.has(target, prop);
1441
+ },
1442
+ set(target, prop, value) {
1443
+ set(sources.get(prop) ?? add_source(prop, value), value);
1444
+ return Reflect.set(target, prop, value);
1445
+ }
1446
+ });
1447
+ this.#instance = (options.hydrate ? hydrate : mount)(options.component, {
1448
+ target: options.target,
1449
+ anchor: options.anchor,
1450
+ props,
1451
+ context: options.context,
1452
+ intro: options.intro ?? false,
1453
+ recover: options.recover,
1454
+ transformError: options.transformError
1455
+ });
1456
+ if (!options?.props?.$$host || options.sync === false) flushSync();
1457
+ this.#events = props.$$events;
1458
+ for (const key of Object.keys(this.#instance)) {
1459
+ if (key === "$set" || key === "$destroy" || key === "$on") continue;
1460
+ define_property(this, key, {
1461
+ get() {
1462
+ return this.#instance[key];
1463
+ },
1464
+ set(value) {
1465
+ this.#instance[key] = value;
1466
+ },
1467
+ enumerable: true
1468
+ });
1469
+ }
1470
+ this.#instance.$set = (next) => {
1471
+ Object.assign(props, next);
1472
+ };
1473
+ this.#instance.$destroy = () => {
1474
+ unmount(this.#instance);
1475
+ };
1476
+ }
1477
+ /** @param {Record<string, any>} props */
1478
+ $set(props) {
1479
+ this.#instance.$set(props);
1480
+ }
1481
+ /**
1482
+ * @param {string} event
1483
+ * @param {(...args: any[]) => any} callback
1484
+ * @returns {any}
1485
+ */
1486
+ $on(event, callback) {
1487
+ this.#events[event] = this.#events[event] || [];
1488
+ /** @param {any[]} args */
1489
+ const cb = (...args) => callback.call(this, ...args);
1490
+ this.#events[event].push(cb);
1491
+ return () => {
1492
+ this.#events[event] = this.#events[event].filter(
1493
+ /** @param {any} fn */
1494
+ (fn) => fn !== cb
1495
+ );
1496
+ };
1497
+ }
1498
+ $destroy() {
1499
+ this.#instance.$destroy();
1500
+ }
1501
+ };
1502
+ /** @import { SvelteComponent } from '../index.js' */
1503
+ /** @import { Csp } from '#server' */
1504
+ /** @typedef {{ head: string, html: string, css: { code: string, map: null }; hashes?: { script: `sha256-${string}`[] } }} LegacyRenderResult */
1505
+ /**
1506
+ * Takes a Svelte 5 component and returns a Svelte 4 compatible component constructor.
1507
+ *
1508
+ * @deprecated Use this only as a temporary solution to migrate your imperative component code to Svelte 5.
1509
+ *
1510
+ * @template {Record<string, any>} Props
1511
+ * @template {Record<string, any>} Exports
1512
+ * @template {Record<string, any>} Events
1513
+ * @template {Record<string, any>} Slots
1514
+ *
1515
+ * @param {SvelteComponent<Props, Events, Slots>} component
1516
+ * @returns {typeof SvelteComponent<Props, Events, Slots> & Exports}
1517
+ */
1518
+ function asClassComponent(component) {
1519
+ const component_constructor = asClassComponent$1(component);
1520
+ /** @type {(props?: {}, opts?: { $$slots?: {}; context?: Map<any, any>; csp?: Csp; transformError?: (error: unknown) => unknown }) => LegacyRenderResult & PromiseLike<LegacyRenderResult> } */
1521
+ const _render = (props, { context, csp, transformError } = {}) => {
1522
+ const result = render(component, {
1523
+ props,
1524
+ context,
1525
+ csp,
1526
+ transformError
1527
+ });
1528
+ const munged = Object.defineProperties({}, {
1529
+ css: { value: {
1530
+ code: "",
1531
+ map: null
1532
+ } },
1533
+ head: { get: () => result.head },
1534
+ html: { get: () => result.body },
1535
+ then: { value: (onfulfilled, onrejected) => {
1536
+ {
1537
+ const user_result = onfulfilled({
1538
+ css: munged.css,
1539
+ head: munged.head,
1540
+ html: munged.html
1541
+ });
1542
+ return Promise.resolve(user_result);
1543
+ }
1544
+ return result.then((result) => {
1545
+ return onfulfilled({
1546
+ css: munged.css,
1547
+ head: result.head,
1548
+ html: result.body,
1549
+ hashes: result.hashes
1550
+ });
1551
+ }, onrejected);
1552
+ } }
1553
+ });
1554
+ return munged;
1555
+ };
1556
+ component_constructor.render = _render;
1557
+ return component_constructor;
1558
+ }
1559
+ function Root($$renderer, $$props) {
1560
+ $$renderer.component(($$renderer) => {
1561
+ let { stores, page, constructors, components = [], form, data_0 = null, data_1 = null } = $$props;
1562
+ setContext("__svelte__", stores);
1563
+ stores.page.set(page);
1564
+ const Pyramid_1 = derived(() => constructors[1]);
1565
+ if (constructors[1]) {
1566
+ $$renderer.push("<!--[0-->");
1567
+ const Pyramid_0 = constructors[0];
1568
+ if (Pyramid_0) {
1569
+ $$renderer.push("<!--[-->");
1570
+ Pyramid_0($$renderer, {
1571
+ data: data_0,
1572
+ form,
1573
+ params: page.params,
1574
+ children: ($$renderer) => {
1575
+ if (Pyramid_1()) {
1576
+ $$renderer.push("<!--[-->");
1577
+ Pyramid_1()($$renderer, {
1578
+ data: data_1,
1579
+ form,
1580
+ params: page.params
1581
+ });
1582
+ $$renderer.push("<!--]-->");
1583
+ } else {
1584
+ $$renderer.push("<!--[!-->");
1585
+ $$renderer.push("<!--]-->");
1586
+ }
1587
+ },
1588
+ $$slots: { default: true }
1589
+ });
1590
+ $$renderer.push("<!--]-->");
1591
+ } else {
1592
+ $$renderer.push("<!--[!-->");
1593
+ $$renderer.push("<!--]-->");
1594
+ }
1595
+ } else {
1596
+ $$renderer.push("<!--[-1-->");
1597
+ const Pyramid_0 = constructors[0];
1598
+ if (Pyramid_0) {
1599
+ $$renderer.push("<!--[-->");
1600
+ Pyramid_0($$renderer, {
1601
+ data: data_0,
1602
+ form,
1603
+ params: page.params
1604
+ });
1605
+ $$renderer.push("<!--]-->");
1606
+ } else {
1607
+ $$renderer.push("<!--[!-->");
1608
+ $$renderer.push("<!--]-->");
1609
+ }
1610
+ }
1611
+ $$renderer.push(`<!--]--> `);
1612
+ $$renderer.push("<!--[-1-->");
1613
+ $$renderer.push(`<!--]-->`);
1614
+ });
1615
+ }
1616
+ var options = {
1617
+ app_template_contains_nonce: false,
1618
+ async: false,
1619
+ csp: {
1620
+ "mode": "auto",
1621
+ "directives": {
1622
+ "upgrade-insecure-requests": false,
1623
+ "block-all-mixed-content": false
1624
+ },
1625
+ "reportOnly": {
1626
+ "upgrade-insecure-requests": false,
1627
+ "block-all-mixed-content": false
1628
+ }
1629
+ },
1630
+ csrf_check_origin: true,
1631
+ csrf_trusted_origins: [],
1632
+ embedded: false,
1633
+ env_public_prefix: "PUBLIC_",
1634
+ env_private_prefix: "",
1635
+ hash_routing: false,
1636
+ hooks: null,
1637
+ preload_strategy: "modulepreload",
1638
+ root: asClassComponent(Root),
1639
+ service_worker: false,
1640
+ service_worker_options: void 0,
1641
+ server_error_boundaries: false,
1642
+ templates: {
1643
+ app: ({ head, body, assets, nonce, env }) => "<!doctype html>\n<html lang=\"%paraglide.lang%\">\n <head>\n <meta charset=\"utf-8\" />\n <link rel=\"icon\" href=\"" + assets + "/favicon.svg\" />\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />\n " + head + "\n </head>\n <body data-sveltekit-preload-data=\"hover\">\n <div style=\"display: contents\">" + body + "</div>\n </body>\n</html>\n",
1644
+ error: ({ status, message }) => "<!doctype html>\n<html lang=\"en\">\n <head>\n <meta charset=\"utf-8\" />\n <title>" + message + "</title>\n\n <style>\n body {\n --bg: white;\n --fg: #222;\n --divider: #ccc;\n background: var(--bg);\n color: var(--fg);\n font-family:\n system-ui,\n -apple-system,\n BlinkMacSystemFont,\n 'Segoe UI',\n Roboto,\n Oxygen,\n Ubuntu,\n Cantarell,\n 'Open Sans',\n 'Helvetica Neue',\n sans-serif;\n display: flex;\n align-items: center;\n justify-content: center;\n height: 100vh;\n margin: 0;\n }\n\n .error {\n display: flex;\n align-items: center;\n max-width: 32rem;\n margin: 0 1rem;\n }\n\n .status {\n font-weight: 200;\n font-size: 3rem;\n line-height: 1;\n position: relative;\n top: -0.05rem;\n }\n\n .message {\n border-left: 1px solid var(--divider);\n padding: 0 0 0 1rem;\n margin: 0 0 0 1rem;\n min-height: 2.5rem;\n display: flex;\n align-items: center;\n }\n\n .message h1 {\n font-weight: 400;\n font-size: 1em;\n margin: 0;\n }\n\n @media (prefers-color-scheme: dark) {\n body {\n --bg: #222;\n --fg: #ddd;\n --divider: #666;\n }\n }\n </style>\n </head>\n <body>\n <div class=\"error\">\n <span class=\"status\">" + status + "</span>\n <div class=\"message\">\n <h1>" + message + "</h1>\n </div>\n </div>\n </body>\n</html>\n"
1645
+ },
1646
+ version_hash: "jr1z1z"
1647
+ };
1648
+ async function get_hooks() {
1649
+ let handle;
1650
+ let handleFetch;
1651
+ let handleError;
1652
+ let handleValidationError;
1653
+ let init;
1654
+ ({handle, handleFetch, handleError, handleValidationError, init} = await import("./hooks.server-DqaQ1y1I.js"));
1655
+ let reroute;
1656
+ let transport;
1657
+ ({reroute, transport} = await import("./hooks.universal-0JHSyeLw.js"));
1658
+ return {
1659
+ handle,
1660
+ handleFetch,
1661
+ handleError,
1662
+ handleValidationError,
1663
+ init,
1664
+ reroute,
1665
+ transport
1666
+ };
1667
+ }
1668
+ //#endregion
1669
+ export { create_remote_key as A, stringify as B, validate_layout_server_exports as C, TRAILING_SLASH_PARAM as D, INVALIDATED_PARAM as E, normalize_error as F, assets as G, text_decoder as H, once as I, initial_base as J, base as K, parse as L, get_relative_path as M, get_status as N, base64_encode as O, noop as P, parse_remote_arg as R, validate_layout_exports as S, validate_page_server_exports as T, text_encoder as U, stringify$1 as V, app_dir as W, override as X, onDestroy as Y, reset as Z, normalize_path as _, set_read_implementation as a, strip_data_suffix as b, compact as c, find_route as d, has_data_suffix as f, noop_span as g, make_trackable as h, set_manifest as i, get_message as j, coalesce_to_error as k, decode_pathname as l, hash as m, options as n, add_data_suffix as o, has_resolution_suffix as p, index_server_exports as q, read_implementation as r, add_resolution_suffix as s, get_hooks as t, disable_search as u, resolve as v, validate_page_exports as w, strip_resolution_suffix as x, resolve_route as y, split_remote_key as z };
1670
+
1671
+ //# sourceMappingURL=internal-BqoJe00m.js.map