@axerity/cli 0.3.0 → 0.3.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 (164) hide show
  1. package/axerity.default.json +1 -1
  2. package/dist/client/_app/immutable/assets/2.DhWLHyyI.css +1 -0
  3. package/dist/client/_app/immutable/chunks/{hOQd14_i.js → 3zhJCuPD.js} +1 -1
  4. package/dist/client/_app/immutable/chunks/{Dn1BfjD4.js → 53uZe945.js} +1 -1
  5. package/dist/client/_app/immutable/chunks/{BjVjgMFk2.js → BAYmjVfE2.js} +1 -1
  6. package/dist/client/_app/immutable/chunks/{SbORYBuH.js → BDI8hnph.js} +1 -1
  7. package/dist/client/_app/immutable/chunks/BFAQUmTz.js +1 -0
  8. package/dist/client/_app/immutable/chunks/{CjixP7Y6.js → BFQipqJB.js} +1 -1
  9. package/dist/client/_app/immutable/chunks/BFRg3W-F.js +1 -0
  10. package/dist/client/_app/immutable/chunks/{BG7FFg0W2.js → BHDeYRpO2.js} +1 -1
  11. package/dist/client/_app/immutable/chunks/{DDXR3Aw12.js → BHR_F_t32.js} +1 -1
  12. package/dist/client/_app/immutable/chunks/{9IekHN0-.js → BM8_zthS.js} +1 -1
  13. package/dist/client/_app/immutable/chunks/{B8E5l9fg2.js → BMOoVw-k2.js} +1 -1
  14. package/dist/client/_app/immutable/chunks/{BydbDrPy.js → BPMaLfda.js} +3 -3
  15. package/dist/client/_app/immutable/chunks/BR449RvF.js +1 -0
  16. package/dist/client/_app/immutable/chunks/BUz0I7ul.js +1 -0
  17. package/dist/client/_app/immutable/chunks/BXNSIfnG.js +124 -0
  18. package/dist/client/_app/immutable/chunks/{DgYtIg5Q2.js → BdDGssl42.js} +1 -1
  19. package/dist/client/_app/immutable/chunks/{29nvmPLe2.js → BlXvQjZe2.js} +1 -1
  20. package/dist/client/_app/immutable/chunks/Bnac6ltA.js +1 -0
  21. package/dist/client/_app/immutable/chunks/{CXC42hVj2.js → BtZX_eMV2.js} +1 -1
  22. package/dist/client/_app/immutable/chunks/BuVSglE6.js +1 -0
  23. package/dist/client/_app/immutable/chunks/{CUWABXvb2.js → C-p5-iNK2.js} +1 -1
  24. package/dist/client/_app/immutable/chunks/{0CIKaoUA.js → C18gA2PH.js} +1 -1
  25. package/dist/client/_app/immutable/chunks/{Chn8RaCU2.js → C6ca-Knu2.js} +1 -1
  26. package/dist/client/_app/immutable/chunks/{BdkVA8sR.js → CGbXsxiy.js} +1 -1
  27. package/dist/client/_app/immutable/chunks/CJipSaHd.js +1 -0
  28. package/dist/client/_app/immutable/chunks/{DG5yTEkY.js → CPz-TBEA.js} +1 -1
  29. package/dist/client/_app/immutable/chunks/{CPm95Jbd.js → CQORkk8-.js} +1 -1
  30. package/dist/client/_app/immutable/chunks/{DkLLcw4S2.js → CXLR2EHz2.js} +1 -1
  31. package/dist/client/_app/immutable/chunks/{C52bpLvU.js → CZ0cYm2x.js} +1 -1
  32. package/dist/client/_app/immutable/chunks/{mmyK4psQ.js → CZiFlYgk.js} +1 -1
  33. package/dist/client/_app/immutable/chunks/Cfv_UPq2.js +3 -0
  34. package/dist/client/_app/immutable/chunks/{DGHybmkM2.js → CgmTaJ8d2.js} +1 -1
  35. package/dist/client/_app/immutable/chunks/{D5KVydqU.js → CiHIt2YG.js} +1 -1
  36. package/dist/client/_app/immutable/chunks/{DITdNjTm.js → CiW5yEDh.js} +1 -1
  37. package/dist/client/_app/immutable/chunks/CknXd1We.js +3 -0
  38. package/dist/client/_app/immutable/chunks/CltrrRSS.js +1 -0
  39. package/dist/client/_app/immutable/chunks/CmTDhATw.js +1 -0
  40. package/dist/client/_app/immutable/chunks/{DjHIY2T-.js → CoCevRkN.js} +1 -1
  41. package/dist/client/_app/immutable/chunks/{jw1rI_K6.js → CyXMInz4.js} +1 -1
  42. package/dist/client/_app/immutable/chunks/{B9DYqOIj.js → Czol_Abj.js} +1 -1
  43. package/dist/client/_app/immutable/chunks/{DC_PITHB2.js → D-TGA8WR2.js} +1 -1
  44. package/dist/client/_app/immutable/chunks/{aheLp5ES.js → D6c3WrhX.js} +1 -1
  45. package/dist/client/_app/immutable/chunks/{B_WlrXGf.js → D7r2UEIp.js} +1 -1
  46. package/dist/client/_app/immutable/chunks/{nmxqo83B.js → DAx_rZyE.js} +2 -2
  47. package/dist/client/_app/immutable/chunks/{0oJDGpiH.js → DCLuoHbo.js} +1 -1
  48. package/dist/client/_app/immutable/chunks/{ED9-GWAc2.js → DCPWdIoq2.js} +1 -1
  49. package/dist/client/_app/immutable/chunks/{DguRYYoc.js → DDShjGNr.js} +1 -1
  50. package/dist/client/_app/immutable/chunks/{qD2cSsUD2.js → DD_46lBB2.js} +1 -1
  51. package/dist/client/_app/immutable/chunks/{BcuUc08l.js → DDqudhAi.js} +1 -1
  52. package/dist/client/_app/immutable/chunks/{DPoU52N62.js → DE5tNz5Y2.js} +1 -1
  53. package/dist/client/_app/immutable/chunks/DJ3ZXVXb.js +1 -0
  54. package/dist/client/_app/immutable/chunks/DTcvOvVk.js +1 -0
  55. package/dist/client/_app/immutable/chunks/{Bv0OTsBk.js → DV6jTwmw.js} +1 -1
  56. package/dist/client/_app/immutable/chunks/{0tC8Ubqr.js → DhYL8InI.js} +1 -1
  57. package/dist/client/_app/immutable/chunks/{BvKCZK04.js → DkVSDR0x.js} +1 -1
  58. package/dist/client/_app/immutable/chunks/DoXJbn9v2.js +1 -0
  59. package/dist/client/_app/immutable/chunks/{BpwmCo88.js → DokuivJC.js} +1 -1
  60. package/dist/client/_app/immutable/chunks/{DUE6JLE3.js → DpLZdHaM.js} +1 -1
  61. package/dist/client/_app/immutable/chunks/{vx_Tnhqd2.js → DzJbTx-x2.js} +2 -2
  62. package/dist/client/_app/immutable/chunks/{Drl36yuV.js → KR7vRKhR.js} +1 -1
  63. package/dist/client/_app/immutable/chunks/{DN7UZn62.js → M9khzxgc.js} +1 -1
  64. package/dist/client/_app/immutable/chunks/NJ05___j2.js +1 -0
  65. package/dist/client/_app/immutable/chunks/Nzh6khd2.js +1 -0
  66. package/dist/client/_app/immutable/chunks/YkkvKMZL.js +1 -0
  67. package/dist/client/_app/immutable/chunks/ZGh80ZHg.js +1 -0
  68. package/dist/client/_app/immutable/chunks/h6BdjjI92.js +321 -0
  69. package/dist/client/_app/immutable/chunks/h9kP9O3o2.js +1 -0
  70. package/dist/client/_app/immutable/chunks/{B-xzKD0v.js → i12c_YC7.js} +1 -1
  71. package/dist/client/_app/immutable/chunks/{BvvUMqJ3.js → lIaU_Ndo.js} +1 -1
  72. package/dist/client/_app/immutable/chunks/{CLrCY0qQ2.js → nVR6wzGD2.js} +1 -1
  73. package/dist/client/_app/immutable/chunks/{CaWcga612.js → xQVgh2Nz2.js} +1 -1
  74. package/dist/client/_app/immutable/chunks/{DvqUYvHq.js → xUGxzp67.js} +1 -1
  75. package/dist/client/_app/immutable/chunks/{Cj0bfwP6.js → ysrxrMHE.js} +1 -1
  76. package/dist/client/_app/immutable/chunks/{CIIr70Sw2.js → zrLSAr0G2.js} +1 -1
  77. package/dist/client/_app/immutable/entry/{app.BDLi0wHM.js → app.BVzGOhjG.js} +2 -2
  78. package/dist/client/_app/immutable/entry/start.k3yD06Si.js +1 -0
  79. package/dist/client/_app/immutable/nodes/{0.S0IuwSNI.js → 0.Cr0DJ0Ky.js} +1 -1
  80. package/dist/client/_app/immutable/nodes/{1.CGMKWkDs.js → 1.BQpgqzAh.js} +1 -1
  81. package/dist/client/_app/immutable/nodes/{2.BUVO8Cyj.js → 2.n7dsgCDR.js} +10 -10
  82. package/dist/client/_app/version.json +1 -1
  83. package/dist/server/chunks/{0-C2vlc3Qn.js → 0-VSsoIXA0.js} +6 -6
  84. package/dist/server/chunks/{0-C2vlc3Qn.js.map → 0-VSsoIXA0.js.map} +1 -1
  85. package/dist/server/chunks/1-DVU-8-9i.js +9 -0
  86. package/dist/server/chunks/{1-Br80A-fl.js.map → 1-DVU-8-9i.js.map} +1 -1
  87. package/dist/server/chunks/{2-BAJPegs3.js → 2-QJ6-LaGI.js} +7 -7
  88. package/dist/server/chunks/2-QJ6-LaGI.js.map +1 -0
  89. package/dist/server/chunks/{Icon-Bn7MB_9j.js → Icon-Cf35QSF9.js} +11 -10
  90. package/dist/server/chunks/Icon-Cf35QSF9.js.map +1 -0
  91. package/dist/server/chunks/{_error.svelte-4uW97Ztq.js → _error.svelte-d-BjEYcs.js} +6 -6
  92. package/dist/server/chunks/_error.svelte-d-BjEYcs.js.map +1 -0
  93. package/dist/server/chunks/{_layout.svelte-CbFOEXeX.js → _layout.svelte-wcEy01M0.js} +2 -2
  94. package/dist/server/chunks/_layout.svelte-wcEy01M0.js.map +1 -0
  95. package/dist/server/chunks/{_page.svelte-D1gIlQSi.js → _page.svelte-BOd5mfMw.js} +34 -29
  96. package/dist/server/chunks/_page.svelte-BOd5mfMw.js.map +1 -0
  97. package/dist/server/chunks/{_server.ts-P67RJKF7.js → _server.ts-B4oNrDKh.js} +4 -4
  98. package/dist/server/chunks/{_server.ts-P67RJKF7.js.map → _server.ts-B4oNrDKh.js.map} +1 -1
  99. package/dist/server/chunks/{_server.ts-BYnp5UH6.js → _server.ts-BTDCpOL5.js} +4 -4
  100. package/dist/server/chunks/_server.ts-BTDCpOL5.js.map +1 -0
  101. package/dist/server/chunks/{_server.ts-B2YUaKpI.js → _server.ts-BoXbbbOz.js} +4 -4
  102. package/dist/server/chunks/{_server.ts-B2YUaKpI.js.map → _server.ts-BoXbbbOz.js.map} +1 -1
  103. package/dist/server/chunks/{_server.ts-R7CXAsG6.js → _server.ts-CEX8Fp7r.js} +3 -3
  104. package/dist/server/chunks/{_server.ts-R7CXAsG6.js.map → _server.ts-CEX8Fp7r.js.map} +1 -1
  105. package/dist/server/chunks/{_server.ts-7iaXTzco.js → _server.ts-CMdj1oJD.js} +4 -4
  106. package/dist/server/chunks/_server.ts-CMdj1oJD.js.map +1 -0
  107. package/dist/server/chunks/{_server.ts-DeXWgdv1.js → _server.ts-CQg__e5D.js} +6 -5
  108. package/dist/server/chunks/_server.ts-CQg__e5D.js.map +1 -0
  109. package/dist/server/chunks/{_server.ts-BnNM_bMg.js → _server.ts-DupX5-bj.js} +4 -4
  110. package/dist/server/chunks/_server.ts-DupX5-bj.js.map +1 -0
  111. package/dist/server/chunks/{_server.ts-Dx6GXRUP.js → _server.ts-e7-P1GQu.js} +3 -3
  112. package/dist/server/chunks/_server.ts-e7-P1GQu.js.map +1 -0
  113. package/dist/server/chunks/{content-store-CxsJF8Lt.js → content-store-C_HWEaMv.js} +5 -4
  114. package/dist/server/chunks/{content-store-CxsJF8Lt.js.map → content-store-C_HWEaMv.js.map} +1 -1
  115. package/dist/server/chunks/{exports-DLRXs2AQ.js → exports-mmLR9hsw.js} +10 -10
  116. package/dist/server/chunks/exports-mmLR9hsw.js.map +1 -0
  117. package/dist/server/chunks/{hooks.server-BnQc6rOu.js → hooks.server-i3yJ8tQB.js} +3 -3
  118. package/dist/server/chunks/{hooks.server-BnQc6rOu.js.map → hooks.server-i3yJ8tQB.js.map} +1 -1
  119. package/dist/server/chunks/{internal-CzXVc2ua.js → internal2-BGg7Milx.js} +1118 -1113
  120. package/dist/server/chunks/internal2-BGg7Milx.js.map +1 -0
  121. package/dist/server/chunks/{site-Cv4fFtLw.js → site-bCTBBNTw.js} +2 -2
  122. package/dist/server/chunks/site-bCTBBNTw.js.map +1 -0
  123. package/dist/server/index.js +194 -177
  124. package/dist/server/index.js.map +1 -1
  125. package/dist/server/manifest.js +12 -12
  126. package/dist/server/manifest.js.map +1 -1
  127. package/package.json +8 -8
  128. package/dist/client/_app/immutable/assets/2.nEL1N7DM.css +0 -1
  129. package/dist/client/_app/immutable/chunks/BHpO4_hI.js +0 -1
  130. package/dist/client/_app/immutable/chunks/BLhBgXDr.js +0 -1
  131. package/dist/client/_app/immutable/chunks/BN2RMMml.js +0 -1
  132. package/dist/client/_app/immutable/chunks/BRJCmJIf.js +0 -1
  133. package/dist/client/_app/immutable/chunks/Bnqy3DA5.js +0 -1
  134. package/dist/client/_app/immutable/chunks/Bs4qCkME.js +0 -1
  135. package/dist/client/_app/immutable/chunks/BsRQXaRE2.js +0 -1
  136. package/dist/client/_app/immutable/chunks/BvEOHWFX.js +0 -1
  137. package/dist/client/_app/immutable/chunks/C6Oj8XFW.js +0 -1
  138. package/dist/client/_app/immutable/chunks/CEW3xh3M.js +0 -124
  139. package/dist/client/_app/immutable/chunks/CRCJVyiH.js +0 -1
  140. package/dist/client/_app/immutable/chunks/CRrzsWKu.js +0 -1
  141. package/dist/client/_app/immutable/chunks/CVM4zuXp.js +0 -1
  142. package/dist/client/_app/immutable/chunks/ChrKn_4b.js +0 -1
  143. package/dist/client/_app/immutable/chunks/D3mr2Pcs2.js +0 -1
  144. package/dist/client/_app/immutable/chunks/Dl6Yq-Hy.js +0 -1
  145. package/dist/client/_app/immutable/chunks/DowYdJZt.js +0 -1
  146. package/dist/client/_app/immutable/chunks/FqbQrHcz2.js +0 -321
  147. package/dist/client/_app/immutable/chunks/TUtWo753.js +0 -3
  148. package/dist/client/_app/immutable/chunks/dcFrWhgf2.js +0 -1
  149. package/dist/client/_app/immutable/chunks/wCc4pE4l.js +0 -3
  150. package/dist/client/_app/immutable/entry/start.CajtWzWK.js +0 -1
  151. package/dist/server/chunks/1-Br80A-fl.js +0 -9
  152. package/dist/server/chunks/2-BAJPegs3.js.map +0 -1
  153. package/dist/server/chunks/Icon-Bn7MB_9j.js.map +0 -1
  154. package/dist/server/chunks/_error.svelte-4uW97Ztq.js.map +0 -1
  155. package/dist/server/chunks/_layout.svelte-CbFOEXeX.js.map +0 -1
  156. package/dist/server/chunks/_page.svelte-D1gIlQSi.js.map +0 -1
  157. package/dist/server/chunks/_server.ts-7iaXTzco.js.map +0 -1
  158. package/dist/server/chunks/_server.ts-BYnp5UH6.js.map +0 -1
  159. package/dist/server/chunks/_server.ts-BnNM_bMg.js.map +0 -1
  160. package/dist/server/chunks/_server.ts-DeXWgdv1.js.map +0 -1
  161. package/dist/server/chunks/_server.ts-Dx6GXRUP.js.map +0 -1
  162. package/dist/server/chunks/exports-DLRXs2AQ.js.map +0 -1
  163. package/dist/server/chunks/internal-CzXVc2ua.js.map +0 -1
  164. package/dist/server/chunks/site-Cv4fFtLw.js.map +0 -1
@@ -1,4 +1,4 @@
1
- import { b as base } from './internal-CzXVc2ua.js';
1
+ import { b as base } from './internal2-BGg7Milx.js';
2
2
  import '@sveltejs/kit/internal/server';
3
3
  import { readFileSync } from 'node:fs';
4
4
  import { resolve } from 'node:path';
@@ -55,4 +55,4 @@ function getSite() {
55
55
  }
56
56
 
57
57
  export { getSite as g };
58
- //# sourceMappingURL=site-Cv4fFtLw.js.map
58
+ //# sourceMappingURL=site-bCTBBNTw.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"site-bCTBBNTw.js","sources":["../../../.svelte-kit/adapter-node/chunks/site.js"],"sourcesContent":["import { Tt as base } from \"./internal.js\";\nimport \"./paths.js\";\nimport { readFileSync } from \"node:fs\";\nimport { resolve } from \"node:path\";\n//#region src/lib/server/site.ts\nvar CONFIG = resolve(process.env.AXERITY_CONFIG ?? \"axerity.json\");\nvar DEV = process.env.AXERITY_DEV === \"1\";\nvar p = (href) => href && href.startsWith(\"/\") ? base + href : href;\nvar link = (l) => ({\n\t...l,\n\thref: p(l.href),\n\tmatch: p(l.match)\n});\nvar asset = (href) => {\n\tif (!href) return href;\n\tif (/^(https?:)?\\/\\//.test(href) || href.startsWith(\"data:\")) return href;\n\treturn `${base}/${href.replace(/^\\.\\//, \"\").replace(/^\\/+/, \"\")}`;\n};\nvar cache = null;\nfunction getSite() {\n\tif (cache && !DEV) return cache;\n\tconst raw = JSON.parse(readFileSync(CONFIG, \"utf8\"));\n\tconst result = {\n\t\t...raw,\n\t\tlogo: raw.logo && {\n\t\t\t...raw.logo,\n\t\t\tlight: asset(raw.logo.light),\n\t\t\tdark: asset(raw.logo.dark),\n\t\t\thref: p(raw.logo.href)\n\t\t},\n\t\tfavicon: asset(raw.favicon),\n\t\tog: raw.og && {\n\t\t\t...raw.og,\n\t\t\tlogo: asset(raw.og.logo)\n\t\t},\n\t\ttopNav: raw.topNav?.map(link),\n\t\tversions: raw.versions?.map((v) => ({\n\t\t\t...v,\n\t\t\thref: p(v.href)\n\t\t})),\n\t\tsidebarLinks: raw.sidebarLinks?.map((s) => ({\n\t\t\t...s,\n\t\t\thref: p(s.href)\n\t\t})),\n\t\tdropdowns: raw.dropdowns?.map((d) => ({\n\t\t\t...d,\n\t\t\thref: p(d.href),\n\t\t\tmatch: p(d.match),\n\t\t\ttabs: d.tabs?.map(link)\n\t\t}))\n\t};\n\tif (!DEV) cache = result;\n\treturn result;\n}\n//#endregion\nexport { getSite as t };\n"],"names":[],"mappings":";;;;;AAIA;AACA,IAAI,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,cAAc,IAAI,cAAc,CAAC;AAClE,IAAI,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,WAAW,KAAK,GAAG;AACzC,IAAI,CAAC,GAAG,CAAC,IAAI,KAAK,IAAI,IAAI,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI;AACnE,IAAI,IAAI,GAAG,CAAC,CAAC,MAAM;AACnB,CAAC,GAAG,CAAC;AACL,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;AAChB,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,CAAC,KAAK;AACjB,CAAC,CAAC;AACF,IAAI,KAAK,GAAG,CAAC,IAAI,KAAK;AACtB,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,IAAI;AACvB,CAAC,IAAI,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,EAAE,OAAO,IAAI;AAC1E,CAAC,OAAO,CAAC,EAAE,IAAI,CAAC,CAAC,EAAE,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,CAAC;AAClE,CAAC;AACD,IAAI,KAAK,GAAG,IAAI;AAChB,SAAS,OAAO,GAAG;AACnB,CAAC,IAAI,KAAK,IAAI,CAAC,GAAG,EAAE,OAAO,KAAK;AAChC,CAAC,MAAM,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AACrD,CAAC,MAAM,MAAM,GAAG;AAChB,EAAE,GAAG,GAAG;AACR,EAAE,IAAI,EAAE,GAAG,CAAC,IAAI,IAAI;AACpB,GAAG,GAAG,GAAG,CAAC,IAAI;AACd,GAAG,KAAK,EAAE,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC;AAC/B,GAAG,IAAI,EAAE,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC;AAC7B,GAAG,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI;AACxB,GAAG;AACH,EAAE,OAAO,EAAE,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC;AAC7B,EAAE,EAAE,EAAE,GAAG,CAAC,EAAE,IAAI;AAChB,GAAG,GAAG,GAAG,CAAC,EAAE;AACZ,GAAG,IAAI,EAAE,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,IAAI;AAC1B,GAAG;AACH,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,IAAI,CAAC;AAC/B,EAAE,QAAQ,EAAE,GAAG,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAC,CAAC,MAAM;AACtC,GAAG,GAAG,CAAC;AACP,GAAG,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI;AACjB,GAAG,CAAC,CAAC;AACL,EAAE,YAAY,EAAE,GAAG,CAAC,YAAY,EAAE,GAAG,CAAC,CAAC,CAAC,MAAM;AAC9C,GAAG,GAAG,CAAC;AACP,GAAG,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI;AACjB,GAAG,CAAC,CAAC;AACL,EAAE,SAAS,EAAE,GAAG,CAAC,SAAS,EAAE,GAAG,CAAC,CAAC,CAAC,MAAM;AACxC,GAAG,GAAG,CAAC;AACP,GAAG,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;AAClB,GAAG,KAAK,EAAE,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC;AACpB,GAAG,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,GAAG,CAAC,IAAI;AACzB,GAAG,CAAC;AACJ,EAAE;AACF,CAAC,IAAI,CAAC,GAAG,EAAE,KAAK,GAAG,MAAM;AACzB,CAAC,OAAO,MAAM;AACd;;;;"}
@@ -1,5 +1,5 @@
1
- import { u as uneval, _ as __commonJSMin, o as options, s as set_private_env, a as set_public_env, g as get_hooks, b as base, d as decode_pathname, f as find_route, n as normalize_path, c as disable_search, p as public_env, r as resolve, e as read_implementation, h as reset, i as assets, j as app_dir, m as make_trackable, w as writable, k as readable, l as set_read_implementation } from './chunks/internal-CzXVc2ua.js';
2
- import { c as coalesce_to_error, g as get_status, a as get_message, p as parse, n as noop, h as has_resolution_suffix, b as has_data_suffix, s as strip_resolution_suffix, d as strip_data_suffix, T as TRAILING_SLASH_PARAM, I as INVALIDATED_PARAM, e as add_data_suffix, f as add_resolution_suffix, v as validate_layout_server_exports, i as validate_layout_exports, j as validate_page_server_exports, k as validate_page_exports, l as noop_span, m as create_remote_key, o as hash, t as text_encoder, q as compact, r as once, u as normalize_error, w as parse_remote_arg, x as stringify, y as stringify$1, z as split_remote_key, A as base64_encode } from './chunks/exports-DLRXs2AQ.js';
1
+ import { u as uneval, _ as __commonJSMin, o as options, s as set_private_env, a as set_public_env, g as get_hooks, b as base, d as decode_pathname, f as find_route, n as normalize_path, c as disable_search, p as public_env, r as resolve, e as read_implementation, h as reset, i as assets, j as app_dir, m as make_trackable, w as writable, k as readable, l as set_read_implementation } from './chunks/internal2-BGg7Milx.js';
2
+ import { c as coalesce_to_error, g as get_status, a as get_message, p as parse, n as noop, h as has_resolution_suffix, b as has_data_suffix, s as strip_resolution_suffix, d as strip_data_suffix, T as TRAILING_SLASH_PARAM, I as INVALIDATED_PARAM, e as add_data_suffix, f as add_resolution_suffix, v as validate_layout_server_exports, i as validate_layout_exports, j as validate_page_server_exports, k as validate_page_exports, l as noop_span, m as create_remote_key, o as hash, t as text_encoder, q as compact, r as once, u as normalize_error, w as parse_remote_arg, x as stringify, y as stringify$1, z as split_remote_key, A as base64_encode } from './chunks/exports-mmLR9hsw.js';
3
3
  import { json, text, isRedirect, error } from '@sveltejs/kit';
4
4
  import { HttpError, SvelteKitError, Redirect, ActionFailure } from '@sveltejs/kit/internal';
5
5
  import { with_request_store, merge_tracing } from '@sveltejs/kit/internal/server';
@@ -19,7 +19,145 @@ var PAGE_METHODS = [
19
19
  "HEAD"
20
20
  ];
21
21
  //#endregion
22
- //#region node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.56.0_@typescript-eslin_fe9abfe190d51f22bcd6d74ecb2eafd6/node_modules/@sveltejs/kit/src/runtime/form-utils.js
22
+ //#region node_modules/.pnpm/set-cookie-parser@3.1.0/node_modules/set-cookie-parser/lib/set-cookie.js
23
+ var defaultParseOptions = {
24
+ decodeValues: true,
25
+ map: false,
26
+ silent: false,
27
+ split: "auto"
28
+ };
29
+ function isForbiddenKey(key) {
30
+ return typeof key !== "string" || key in {};
31
+ }
32
+ function createNullObj() {
33
+ return Object.create(null);
34
+ }
35
+ function isNonEmptyString(str) {
36
+ return typeof str === "string" && !!str.trim();
37
+ }
38
+ function parseString(setCookieValue, options) {
39
+ var parts = setCookieValue.split(";").filter(isNonEmptyString);
40
+ var parsed = parseNameValuePair(parts.shift());
41
+ var name = parsed.name;
42
+ var value = parsed.value;
43
+ options = options ? Object.assign({}, defaultParseOptions, options) : defaultParseOptions;
44
+ if (isForbiddenKey(name)) return null;
45
+ try {
46
+ value = options.decodeValues ? decodeURIComponent(value) : value;
47
+ } catch (e) {
48
+ console.error("set-cookie-parser: failed to decode cookie value. Set options.decodeValues=false to disable decoding.", e);
49
+ }
50
+ var cookie = createNullObj();
51
+ cookie.name = name;
52
+ cookie.value = value;
53
+ parts.forEach(function(part) {
54
+ var sides = part.split("=");
55
+ var key = sides.shift().trimLeft().toLowerCase();
56
+ if (isForbiddenKey(key)) return;
57
+ var value = sides.join("=");
58
+ if (key === "expires") cookie.expires = new Date(value);
59
+ else if (key === "max-age") {
60
+ var n = parseInt(value, 10);
61
+ if (!Number.isNaN(n)) cookie.maxAge = n;
62
+ } else if (key === "secure") cookie.secure = true;
63
+ else if (key === "httponly") cookie.httpOnly = true;
64
+ else if (key === "samesite") cookie.sameSite = value;
65
+ else if (key === "partitioned") cookie.partitioned = true;
66
+ else if (key) cookie[key] = value;
67
+ });
68
+ return cookie;
69
+ }
70
+ function parseNameValuePair(nameValuePairStr) {
71
+ var name = "";
72
+ var value = "";
73
+ var nameValueArr = nameValuePairStr.split("=");
74
+ if (nameValueArr.length > 1) {
75
+ name = nameValueArr.shift();
76
+ value = nameValueArr.join("=");
77
+ } else value = nameValuePairStr;
78
+ return {
79
+ name,
80
+ value
81
+ };
82
+ }
83
+ function parseSetCookie(input, options) {
84
+ options = options ? Object.assign({}, defaultParseOptions, options) : defaultParseOptions;
85
+ if (!input) if (!options.map) return [];
86
+ else return createNullObj();
87
+ if (input.headers) if (typeof input.headers.getSetCookie === "function") input = input.headers.getSetCookie();
88
+ else if (input.headers["set-cookie"]) input = input.headers["set-cookie"];
89
+ else {
90
+ var sch = input.headers[Object.keys(input.headers).find(function(key) {
91
+ return key.toLowerCase() === "set-cookie";
92
+ })];
93
+ if (!sch && input.headers.cookie && !options.silent) console.warn("Warning: set-cookie-parser appears to have been called on a request object. It is designed to parse Set-Cookie headers from responses, not Cookie headers from requests. Set the option {silent: true} to suppress this warning.");
94
+ input = sch;
95
+ }
96
+ var split = options.split;
97
+ var isArray = Array.isArray(input);
98
+ if (split === "auto") split = !isArray;
99
+ if (!isArray) input = [input];
100
+ input = input.filter(isNonEmptyString);
101
+ if (split) input = input.map(splitCookiesString).flat();
102
+ if (!options.map) return input.map(function(str) {
103
+ return parseString(str, options);
104
+ }).filter(Boolean);
105
+ else {
106
+ var cookies = createNullObj();
107
+ return input.reduce(function(cookies, str) {
108
+ var cookie = parseString(str, options);
109
+ if (cookie && !isForbiddenKey(cookie.name)) cookies[cookie.name] = cookie;
110
+ return cookies;
111
+ }, cookies);
112
+ }
113
+ }
114
+ function splitCookiesString(cookiesString) {
115
+ if (Array.isArray(cookiesString)) return cookiesString;
116
+ if (typeof cookiesString !== "string") return [];
117
+ var cookiesStrings = [];
118
+ var pos = 0;
119
+ var start;
120
+ var ch;
121
+ var lastComma;
122
+ var nextStart;
123
+ var cookiesSeparatorFound;
124
+ function skipWhitespace() {
125
+ while (pos < cookiesString.length && /\s/.test(cookiesString.charAt(pos))) pos += 1;
126
+ return pos < cookiesString.length;
127
+ }
128
+ function notSpecialChar() {
129
+ ch = cookiesString.charAt(pos);
130
+ return ch !== "=" && ch !== ";" && ch !== ",";
131
+ }
132
+ while (pos < cookiesString.length) {
133
+ start = pos;
134
+ cookiesSeparatorFound = false;
135
+ while (skipWhitespace()) {
136
+ ch = cookiesString.charAt(pos);
137
+ if (ch === ",") {
138
+ lastComma = pos;
139
+ pos += 1;
140
+ skipWhitespace();
141
+ nextStart = pos;
142
+ while (pos < cookiesString.length && notSpecialChar()) pos += 1;
143
+ if (pos < cookiesString.length && cookiesString.charAt(pos) === "=") {
144
+ cookiesSeparatorFound = true;
145
+ pos = nextStart;
146
+ cookiesStrings.push(cookiesString.substring(start, lastComma));
147
+ start = pos;
148
+ } else pos = lastComma + 1;
149
+ } else pos += 1;
150
+ }
151
+ if (!cookiesSeparatorFound || pos >= cookiesString.length) cookiesStrings.push(cookiesString.substring(start, cookiesString.length));
152
+ }
153
+ return cookiesStrings;
154
+ }
155
+ parseSetCookie.parseSetCookie = parseSetCookie;
156
+ parseSetCookie.parse = parseSetCookie;
157
+ parseSetCookie.parseString = parseString;
158
+ parseSetCookie.splitCookiesString = splitCookiesString;
159
+ //#endregion
160
+ //#region node_modules/.pnpm/@sveltejs+kit@2.63.0_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.56.2_@typescript-eslin_9ed2d7f3800a1c77eec55a1d66c8792d/node_modules/@sveltejs/kit/src/runtime/form-utils.js
23
161
  /** @import { RemoteForm } from '@sveltejs/kit' */
24
162
  /** @import { BinaryFormMeta, InternalRemoteFormIssue } from 'types' */
25
163
  /** @import { StandardSchemaV1 } from '@standard-schema/spec' */
@@ -331,7 +469,7 @@ function deep_set(object, keys, value) {
331
469
  current[final_key] = value;
332
470
  }
333
471
  //#endregion
334
- //#region node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.56.0_@typescript-eslin_fe9abfe190d51f22bcd6d74ecb2eafd6/node_modules/@sveltejs/kit/src/utils/http.js
472
+ //#region node_modules/.pnpm/@sveltejs+kit@2.63.0_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.56.2_@typescript-eslin_9ed2d7f3800a1c77eec55a1d66c8792d/node_modules/@sveltejs/kit/src/utils/http.js
335
473
  /**
336
474
  * Given an Accept header and a list of possible content types, pick
337
475
  * the most suitable one to respond with
@@ -372,6 +510,22 @@ function negotiate(accept, types) {
372
510
  return accepted;
373
511
  }
374
512
  /**
513
+ * Reads all `Set-Cookie` headers as separate values. `Headers.get('set-cookie')`
514
+ * collapses them into a single comma-joined string that browsers cannot parse, so
515
+ * we use `Headers.getSetCookie()` where available and fall back to splitting the
516
+ * joined string otherwise.
517
+ *
518
+ * TODO 3.0 `getSetCookie` is available in Node 19.7+; once we drop support for
519
+ * older versions we can use it directly and remove the `splitCookiesString` fallback
520
+ * @param {Headers} headers
521
+ * @returns {string[]}
522
+ */
523
+ function get_set_cookies(headers) {
524
+ if (typeof headers.getSetCookie === "function") return headers.getSetCookie();
525
+ const set_cookie = headers.get("set-cookie");
526
+ return set_cookie ? splitCookiesString(set_cookie) : [];
527
+ }
528
+ /**
375
529
  * Returns `true` if the request contains a `content-type` header with the given type
376
530
  * @param {Request} request
377
531
  * @param {...string} types
@@ -387,10 +541,10 @@ function is_form_content_type(request) {
387
541
  return is_content_type(request, "application/x-www-form-urlencoded", "multipart/form-data", "text/plain", BINARY_FORM_CONTENT_TYPE);
388
542
  }
389
543
  //#endregion
390
- //#region node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.56.0_@typescript-eslin_fe9abfe190d51f22bcd6d74ecb2eafd6/node_modules/@sveltejs/kit/src/utils/misc.js
544
+ //#region node_modules/.pnpm/@sveltejs+kit@2.63.0_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.56.2_@typescript-eslin_9ed2d7f3800a1c77eec55a1d66c8792d/node_modules/@sveltejs/kit/src/utils/misc.js
391
545
  var s = JSON.stringify;
392
546
  //#endregion
393
- //#region node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.56.0_@typescript-eslin_fe9abfe190d51f22bcd6d74ecb2eafd6/node_modules/@sveltejs/kit/src/utils/escape.js
547
+ //#region node_modules/.pnpm/@sveltejs+kit@2.63.0_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.56.2_@typescript-eslin_9ed2d7f3800a1c77eec55a1d66c8792d/node_modules/@sveltejs/kit/src/utils/escape.js
394
548
  /**
395
549
  * When inside a double-quoted attribute value, only `&` and `"` hold special meaning.
396
550
  * @see https://html.spec.whatwg.org/multipage/parsing.html#attribute-value-(double-quoted)-state
@@ -426,7 +580,7 @@ function escape_html(str, is_attr) {
426
580
  });
427
581
  }
428
582
  //#endregion
429
- //#region node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.56.0_@typescript-eslin_fe9abfe190d51f22bcd6d74ecb2eafd6/node_modules/@sveltejs/kit/src/runtime/server/utils.js
583
+ //#region node_modules/.pnpm/@sveltejs+kit@2.63.0_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.56.2_@typescript-eslin_9ed2d7f3800a1c77eec55a1d66c8792d/node_modules/@sveltejs/kit/src/runtime/server/utils.js
430
584
  /** @import { ServerHooks } from 'types' */
431
585
  /**
432
586
  * @param {Partial<Record<import('types').HttpMethod, any>>} mod
@@ -581,7 +735,7 @@ function create_replacer(transport) {
581
735
  return replacer;
582
736
  }
583
737
 
584
- //#region node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.56.0_@typescript-eslin_fe9abfe190d51f22bcd6d74ecb2eafd6/node_modules/@sveltejs/kit/src/utils/promise.js
738
+ //#region node_modules/.pnpm/@sveltejs+kit@2.63.0_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.56.2_@typescript-eslin_9ed2d7f3800a1c77eec55a1d66c8792d/node_modules/@sveltejs/kit/src/utils/promise.js
585
739
  /** @see https://github.com/microsoft/TypeScript/blob/904e7dd97dc8da1352c8e05d70829dff17c73214/src/lib/es2024.promise.d.ts */
586
740
  /**
587
741
  * @template T
@@ -610,7 +764,7 @@ function with_resolvers() {
610
764
  };
611
765
  }
612
766
  //#endregion
613
- //#region node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.56.0_@typescript-eslin_fe9abfe190d51f22bcd6d74ecb2eafd6/node_modules/@sveltejs/kit/src/runtime/server/constants.js
767
+ //#region node_modules/.pnpm/@sveltejs+kit@2.63.0_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.56.2_@typescript-eslin_9ed2d7f3800a1c77eec55a1d66c8792d/node_modules/@sveltejs/kit/src/runtime/server/constants.js
614
768
  var NULL_BODY_STATUS = [
615
769
  101,
616
770
  103,
@@ -620,7 +774,7 @@ var NULL_BODY_STATUS = [
620
774
  ];
621
775
  var IN_WEBCONTAINER = !!globalThis.process?.versions?.webcontainer;
622
776
  //#endregion
623
- //#region node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.56.0_@typescript-eslin_fe9abfe190d51f22bcd6d74ecb2eafd6/node_modules/@sveltejs/kit/src/runtime/server/endpoint.js
777
+ //#region node_modules/.pnpm/@sveltejs+kit@2.63.0_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.56.2_@typescript-eslin_9ed2d7f3800a1c77eec55a1d66c8792d/node_modules/@sveltejs/kit/src/runtime/server/endpoint.js
624
778
  /**
625
779
  * @param {import('@sveltejs/kit').RequestEvent} event
626
780
  * @param {import('types').RequestState} event_state
@@ -677,14 +831,14 @@ function is_endpoint_request(event) {
677
831
  return negotiate(event.request.headers.get("accept") ?? "*/*", ["*", "text/html"]) !== "text/html";
678
832
  }
679
833
  //#endregion
680
- //#region node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.56.0_@typescript-eslin_fe9abfe190d51f22bcd6d74ecb2eafd6/node_modules/@sveltejs/kit/src/runtime/telemetry/record_span.js
834
+ //#region node_modules/.pnpm/@sveltejs+kit@2.63.0_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.56.2_@typescript-eslin_9ed2d7f3800a1c77eec55a1d66c8792d/node_modules/@sveltejs/kit/src/runtime/telemetry/record_span.js
681
835
  /** @import { RecordSpan } from 'types' */
682
836
  /** @type {RecordSpan} */
683
837
  async function record_span({ name, attributes, fn }) {
684
838
  return fn(noop_span);
685
839
  }
686
840
  //#endregion
687
- //#region node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.56.0_@typescript-eslin_fe9abfe190d51f22bcd6d74ecb2eafd6/node_modules/@sveltejs/kit/src/runtime/server/page/actions.js
841
+ //#region node_modules/.pnpm/@sveltejs+kit@2.63.0_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.56.2_@typescript-eslin_9ed2d7f3800a1c77eec55a1d66c8792d/node_modules/@sveltejs/kit/src/runtime/server/page/actions.js
688
842
  /** @import { RequestEvent, ActionResult, Actions } from '@sveltejs/kit' */
689
843
  /** @import { SSROptions, SSRNode, ServerNode, ServerHooks } from 'types' */
690
844
  /** @param {RequestEvent} event */
@@ -883,7 +1037,7 @@ function try_serialize(data, fn, route_id) {
883
1037
  }
884
1038
  }
885
1039
  //#endregion
886
- //#region node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.56.0_@typescript-eslin_fe9abfe190d51f22bcd6d74ecb2eafd6/node_modules/@sveltejs/kit/src/utils/streaming.js
1040
+ //#region node_modules/.pnpm/@sveltejs+kit@2.63.0_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.56.2_@typescript-eslin_9ed2d7f3800a1c77eec55a1d66c8792d/node_modules/@sveltejs/kit/src/utils/streaming.js
887
1041
  /**
888
1042
  * Create an async iterator and a function to push values into it
889
1043
  * @template T
@@ -922,7 +1076,7 @@ function create_async_iterator() {
922
1076
  };
923
1077
  }
924
1078
  //#endregion
925
- //#region node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.56.0_@typescript-eslin_fe9abfe190d51f22bcd6d74ecb2eafd6/node_modules/@sveltejs/kit/src/runtime/server/page/data_serializer.js
1079
+ //#region node_modules/.pnpm/@sveltejs+kit@2.63.0_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.56.2_@typescript-eslin_9ed2d7f3800a1c77eec55a1d66c8792d/node_modules/@sveltejs/kit/src/runtime/server/page/data_serializer.js
926
1080
  /**
927
1081
  * If the serialized data contains promises, `chunks` will be an
928
1082
  * async iterable containing their resolutions
@@ -1081,7 +1235,7 @@ function server_data_serializer_json(event, event_state, options) {
1081
1235
  };
1082
1236
  }
1083
1237
  //#endregion
1084
- //#region node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.56.0_@typescript-eslin_fe9abfe190d51f22bcd6d74ecb2eafd6/node_modules/@sveltejs/kit/src/runtime/server/page/load_data.js
1238
+ //#region node_modules/.pnpm/@sveltejs+kit@2.63.0_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.56.2_@typescript-eslin_9ed2d7f3800a1c77eec55a1d66c8792d/node_modules/@sveltejs/kit/src/runtime/server/page/load_data.js
1085
1239
  /**
1086
1240
  * Calls the user's server `load` function.
1087
1241
  * @param {{
@@ -1371,7 +1525,7 @@ async function stream_to_string(stream) {
1371
1525
  return result;
1372
1526
  }
1373
1527
  //#endregion
1374
- //#region node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.56.0_@typescript-eslin_fe9abfe190d51f22bcd6d74ecb2eafd6/node_modules/@sveltejs/kit/src/runtime/server/page/serialize_data.js
1528
+ //#region node_modules/.pnpm/@sveltejs+kit@2.63.0_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.56.2_@typescript-eslin_9ed2d7f3800a1c77eec55a1d66c8792d/node_modules/@sveltejs/kit/src/runtime/server/page/serialize_data.js
1375
1529
  /**
1376
1530
  * Inside a script element, only `<\/script` and `<!--` hold special meaning to the HTML parser.
1377
1531
  *
@@ -1451,7 +1605,7 @@ function serialize_data(fetched, filter, prerendering = false) {
1451
1605
  return `<script ${attrs.join(" ")}>${safe_payload}<\/script>`;
1452
1606
  }
1453
1607
  //#endregion
1454
- //#region node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.56.0_@typescript-eslin_fe9abfe190d51f22bcd6d74ecb2eafd6/node_modules/@sveltejs/kit/src/runtime/server/page/crypto.js
1608
+ //#region node_modules/.pnpm/@sveltejs+kit@2.63.0_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.56.2_@typescript-eslin_9ed2d7f3800a1c77eec55a1d66c8792d/node_modules/@sveltejs/kit/src/runtime/server/page/crypto.js
1455
1609
  /**
1456
1610
  * SHA-256 hashing function adapted from https://bitwiseshiftleft.github.io/sjcl
1457
1611
  * modified and redistributed under BSD license
@@ -1556,7 +1710,7 @@ function encode(str) {
1556
1710
  return words;
1557
1711
  }
1558
1712
  //#endregion
1559
- //#region node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.56.0_@typescript-eslin_fe9abfe190d51f22bcd6d74ecb2eafd6/node_modules/@sveltejs/kit/src/runtime/server/page/csp.js
1713
+ //#region node_modules/.pnpm/@sveltejs+kit@2.63.0_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.56.2_@typescript-eslin_9ed2d7f3800a1c77eec55a1d66c8792d/node_modules/@sveltejs/kit/src/runtime/server/page/csp.js
1560
1714
  var array = new Uint8Array(16);
1561
1715
  function generate_nonce() {
1562
1716
  crypto.getRandomValues(array);
@@ -1764,7 +1918,7 @@ var Csp = class {
1764
1918
  }
1765
1919
  };
1766
1920
  //#endregion
1767
- //#region node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.56.0_@typescript-eslin_fe9abfe190d51f22bcd6d74ecb2eafd6/node_modules/@sveltejs/kit/src/runtime/server/page/server_routing.js
1921
+ //#region node_modules/.pnpm/@sveltejs+kit@2.63.0_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.56.2_@typescript-eslin_9ed2d7f3800a1c77eec55a1d66c8792d/node_modules/@sveltejs/kit/src/runtime/server/page/server_routing.js
1768
1922
  /**
1769
1923
  * @param {import('types').SSRClientRoute} route
1770
1924
  * @param {URL} url
@@ -1857,7 +2011,7 @@ function create_css_import(route, url, manifest) {
1857
2011
  return `${create_client_import(manifest._.client.start)}.then(x => x.load_css([${css}]));`;
1858
2012
  }
1859
2013
  //#endregion
1860
- //#region node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.56.0_@typescript-eslin_fe9abfe190d51f22bcd6d74ecb2eafd6/node_modules/@sveltejs/kit/src/runtime/server/page/render.js
2014
+ //#region node_modules/.pnpm/@sveltejs+kit@2.63.0_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.56.2_@typescript-eslin_9ed2d7f3800a1c77eec55a1d66c8792d/node_modules/@sveltejs/kit/src/runtime/server/page/render.js
1861
2015
  var updated = {
1862
2016
  ...readable(false),
1863
2017
  check: () => false
@@ -2302,7 +2456,7 @@ var Head = class {
2302
2456
  }
2303
2457
  };
2304
2458
  //#endregion
2305
- //#region node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.56.0_@typescript-eslin_fe9abfe190d51f22bcd6d74ecb2eafd6/node_modules/@sveltejs/kit/src/utils/page_nodes.js
2459
+ //#region node_modules/.pnpm/@sveltejs+kit@2.63.0_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.56.2_@typescript-eslin_9ed2d7f3800a1c77eec55a1d66c8792d/node_modules/@sveltejs/kit/src/utils/page_nodes.js
2306
2460
  var PageNodes = class {
2307
2461
  /** All layout nodes and the page node, if any */
2308
2462
  data;
@@ -2370,7 +2524,7 @@ var PageNodes = class {
2370
2524
  }
2371
2525
  };
2372
2526
  //#endregion
2373
- //#region node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.56.0_@typescript-eslin_fe9abfe190d51f22bcd6d74ecb2eafd6/node_modules/@sveltejs/kit/src/runtime/server/page/respond_with_error.js
2527
+ //#region node_modules/.pnpm/@sveltejs+kit@2.63.0_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.56.2_@typescript-eslin_9ed2d7f3800a1c77eec55a1d66c8792d/node_modules/@sveltejs/kit/src/runtime/server/page/respond_with_error.js
2374
2528
  /**
2375
2529
  * @typedef {import('./types.js').Loaded} Loaded
2376
2530
  */
@@ -2458,7 +2612,7 @@ async function respond_with_error({ event, event_state, options, manifest, state
2458
2612
  }
2459
2613
  }
2460
2614
  //#endregion
2461
- //#region node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.56.0_@typescript-eslin_fe9abfe190d51f22bcd6d74ecb2eafd6/node_modules/@sveltejs/kit/src/runtime/server/remote.js
2615
+ //#region node_modules/.pnpm/@sveltejs+kit@2.63.0_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.56.2_@typescript-eslin_9ed2d7f3800a1c77eec55a1d66c8792d/node_modules/@sveltejs/kit/src/runtime/server/remote.js
2462
2616
  /** @import { ActionResult, RemoteForm, RequestEvent, SSRManifest } from '@sveltejs/kit' */
2463
2617
  /** @import { RemoteFormInternals, RemoteFunctionResponse, RemoteInternals, RequestState, SSROptions } from 'types' */
2464
2618
  /** @type {typeof handle_remote_call_internal} */
@@ -2741,7 +2895,7 @@ function get_remote_action(url) {
2741
2895
  return url.searchParams.get("/remote");
2742
2896
  }
2743
2897
  //#endregion
2744
- //#region node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.56.0_@typescript-eslin_fe9abfe190d51f22bcd6d74ecb2eafd6/node_modules/@sveltejs/kit/src/runtime/server/page/index.js
2898
+ //#region node_modules/.pnpm/@sveltejs+kit@2.63.0_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.56.2_@typescript-eslin_9ed2d7f3800a1c77eec55a1d66c8792d/node_modules/@sveltejs/kit/src/runtime/server/page/index.js
2745
2899
  /** @import { ActionResult, RequestEvent, SSRManifest } from '@sveltejs/kit' */
2746
2900
  /** @import { PageNodeIndexes, RequestState, RequiredResolveOptions, ServerDataNode, SSRComponent, SSRNode, SSROptions, SSRState } from 'types' */
2747
2901
  /**
@@ -3004,7 +3158,7 @@ async function load_error_components(options, ssr, branch, page, manifest) {
3004
3158
  return error_components;
3005
3159
  }
3006
3160
  //#endregion
3007
- //#region node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.56.0_@typescript-eslin_fe9abfe190d51f22bcd6d74ecb2eafd6/node_modules/@sveltejs/kit/src/runtime/server/data/index.js
3161
+ //#region node_modules/.pnpm/@sveltejs+kit@2.63.0_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.56.2_@typescript-eslin_9ed2d7f3800a1c77eec55a1d66c8792d/node_modules/@sveltejs/kit/src/runtime/server/data/index.js
3008
3162
  /**
3009
3163
  * @param {import('@sveltejs/kit').RequestEvent} event
3010
3164
  * @param {import('types').RequestState} event_state
@@ -3117,7 +3271,7 @@ function redirect_json_response(redirect) {
3117
3271
  * MIT Licensed
3118
3272
  */
3119
3273
  //#endregion
3120
- //#region node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.56.0_@typescript-eslin_fe9abfe190d51f22bcd6d74ecb2eafd6/node_modules/@sveltejs/kit/src/runtime/server/cookie.js
3274
+ //#region node_modules/.pnpm/@sveltejs+kit@2.63.0_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.56.2_@typescript-eslin_9ed2d7f3800a1c77eec55a1d66c8792d/node_modules/@sveltejs/kit/src/runtime/server/cookie.js
3121
3275
  var import_cookie = (/* @__PURE__ */ __commonJSMin(((exports) => {
3122
3276
  /**
3123
3277
  * Module exports.
@@ -3494,145 +3648,7 @@ function add_cookies_to_headers(headers, cookies) {
3494
3648
  }
3495
3649
  }
3496
3650
  //#endregion
3497
- //#region node_modules/.pnpm/set-cookie-parser@3.1.0/node_modules/set-cookie-parser/lib/set-cookie.js
3498
- var defaultParseOptions = {
3499
- decodeValues: true,
3500
- map: false,
3501
- silent: false,
3502
- split: "auto"
3503
- };
3504
- function isForbiddenKey(key) {
3505
- return typeof key !== "string" || key in {};
3506
- }
3507
- function createNullObj() {
3508
- return Object.create(null);
3509
- }
3510
- function isNonEmptyString(str) {
3511
- return typeof str === "string" && !!str.trim();
3512
- }
3513
- function parseString(setCookieValue, options) {
3514
- var parts = setCookieValue.split(";").filter(isNonEmptyString);
3515
- var parsed = parseNameValuePair(parts.shift());
3516
- var name = parsed.name;
3517
- var value = parsed.value;
3518
- options = options ? Object.assign({}, defaultParseOptions, options) : defaultParseOptions;
3519
- if (isForbiddenKey(name)) return null;
3520
- try {
3521
- value = options.decodeValues ? decodeURIComponent(value) : value;
3522
- } catch (e) {
3523
- console.error("set-cookie-parser: failed to decode cookie value. Set options.decodeValues=false to disable decoding.", e);
3524
- }
3525
- var cookie = createNullObj();
3526
- cookie.name = name;
3527
- cookie.value = value;
3528
- parts.forEach(function(part) {
3529
- var sides = part.split("=");
3530
- var key = sides.shift().trimLeft().toLowerCase();
3531
- if (isForbiddenKey(key)) return;
3532
- var value = sides.join("=");
3533
- if (key === "expires") cookie.expires = new Date(value);
3534
- else if (key === "max-age") {
3535
- var n = parseInt(value, 10);
3536
- if (!Number.isNaN(n)) cookie.maxAge = n;
3537
- } else if (key === "secure") cookie.secure = true;
3538
- else if (key === "httponly") cookie.httpOnly = true;
3539
- else if (key === "samesite") cookie.sameSite = value;
3540
- else if (key === "partitioned") cookie.partitioned = true;
3541
- else if (key) cookie[key] = value;
3542
- });
3543
- return cookie;
3544
- }
3545
- function parseNameValuePair(nameValuePairStr) {
3546
- var name = "";
3547
- var value = "";
3548
- var nameValueArr = nameValuePairStr.split("=");
3549
- if (nameValueArr.length > 1) {
3550
- name = nameValueArr.shift();
3551
- value = nameValueArr.join("=");
3552
- } else value = nameValuePairStr;
3553
- return {
3554
- name,
3555
- value
3556
- };
3557
- }
3558
- function parseSetCookie(input, options) {
3559
- options = options ? Object.assign({}, defaultParseOptions, options) : defaultParseOptions;
3560
- if (!input) if (!options.map) return [];
3561
- else return createNullObj();
3562
- if (input.headers) if (typeof input.headers.getSetCookie === "function") input = input.headers.getSetCookie();
3563
- else if (input.headers["set-cookie"]) input = input.headers["set-cookie"];
3564
- else {
3565
- var sch = input.headers[Object.keys(input.headers).find(function(key) {
3566
- return key.toLowerCase() === "set-cookie";
3567
- })];
3568
- if (!sch && input.headers.cookie && !options.silent) console.warn("Warning: set-cookie-parser appears to have been called on a request object. It is designed to parse Set-Cookie headers from responses, not Cookie headers from requests. Set the option {silent: true} to suppress this warning.");
3569
- input = sch;
3570
- }
3571
- var split = options.split;
3572
- var isArray = Array.isArray(input);
3573
- if (split === "auto") split = !isArray;
3574
- if (!isArray) input = [input];
3575
- input = input.filter(isNonEmptyString);
3576
- if (split) input = input.map(splitCookiesString).flat();
3577
- if (!options.map) return input.map(function(str) {
3578
- return parseString(str, options);
3579
- }).filter(Boolean);
3580
- else {
3581
- var cookies = createNullObj();
3582
- return input.reduce(function(cookies, str) {
3583
- var cookie = parseString(str, options);
3584
- if (cookie && !isForbiddenKey(cookie.name)) cookies[cookie.name] = cookie;
3585
- return cookies;
3586
- }, cookies);
3587
- }
3588
- }
3589
- function splitCookiesString(cookiesString) {
3590
- if (Array.isArray(cookiesString)) return cookiesString;
3591
- if (typeof cookiesString !== "string") return [];
3592
- var cookiesStrings = [];
3593
- var pos = 0;
3594
- var start;
3595
- var ch;
3596
- var lastComma;
3597
- var nextStart;
3598
- var cookiesSeparatorFound;
3599
- function skipWhitespace() {
3600
- while (pos < cookiesString.length && /\s/.test(cookiesString.charAt(pos))) pos += 1;
3601
- return pos < cookiesString.length;
3602
- }
3603
- function notSpecialChar() {
3604
- ch = cookiesString.charAt(pos);
3605
- return ch !== "=" && ch !== ";" && ch !== ",";
3606
- }
3607
- while (pos < cookiesString.length) {
3608
- start = pos;
3609
- cookiesSeparatorFound = false;
3610
- while (skipWhitespace()) {
3611
- ch = cookiesString.charAt(pos);
3612
- if (ch === ",") {
3613
- lastComma = pos;
3614
- pos += 1;
3615
- skipWhitespace();
3616
- nextStart = pos;
3617
- while (pos < cookiesString.length && notSpecialChar()) pos += 1;
3618
- if (pos < cookiesString.length && cookiesString.charAt(pos) === "=") {
3619
- cookiesSeparatorFound = true;
3620
- pos = nextStart;
3621
- cookiesStrings.push(cookiesString.substring(start, lastComma));
3622
- start = pos;
3623
- } else pos = lastComma + 1;
3624
- } else pos += 1;
3625
- }
3626
- if (!cookiesSeparatorFound || pos >= cookiesString.length) cookiesStrings.push(cookiesString.substring(start, cookiesString.length));
3627
- }
3628
- return cookiesStrings;
3629
- }
3630
- parseSetCookie.parseSetCookie = parseSetCookie;
3631
- parseSetCookie.parse = parseSetCookie;
3632
- parseSetCookie.parseString = parseString;
3633
- parseSetCookie.splitCookiesString = splitCookiesString;
3634
- //#endregion
3635
- //#region node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.56.0_@typescript-eslin_fe9abfe190d51f22bcd6d74ecb2eafd6/node_modules/@sveltejs/kit/src/runtime/server/fetch.js
3651
+ //#region node_modules/.pnpm/@sveltejs+kit@2.63.0_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.56.2_@typescript-eslin_9ed2d7f3800a1c77eec55a1d66c8792d/node_modules/@sveltejs/kit/src/runtime/server/fetch.js
3636
3652
  /**
3637
3653
  * @param {{
3638
3654
  * event: import('@sveltejs/kit').RequestEvent;
@@ -3702,8 +3718,7 @@ function create_fetch({ event, options, manifest, state, get_cookie_header, set_
3702
3718
  if (!request.headers.has("accept")) request.headers.set("accept", "*/*");
3703
3719
  if (!request.headers.has("accept-language")) request.headers.set("accept-language", event.request.headers.get("accept-language"));
3704
3720
  const response = await internal_fetch(request, options, manifest, state);
3705
- const set_cookie = response.headers.get("set-cookie");
3706
- if (set_cookie) for (const str of splitCookiesString(set_cookie)) {
3721
+ for (const str of get_set_cookies(response.headers)) {
3707
3722
  const { name, value, ...options } = parseString(str, { decodeValues: false });
3708
3723
  set_internal(name, value, {
3709
3724
  path: options.path ?? (url.pathname.split("/").slice(0, -1).join("/") || "/"),
@@ -3761,9 +3776,9 @@ async function internal_fetch(request, options, manifest, state) {
3761
3776
  });
3762
3777
  }
3763
3778
  //#endregion
3764
- //#region node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.56.0_@typescript-eslin_fe9abfe190d51f22bcd6d74ecb2eafd6/node_modules/@sveltejs/kit/src/runtime/server/env_module.js
3779
+ //#region node_modules/.pnpm/@sveltejs+kit@2.63.0_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.56.2_@typescript-eslin_9ed2d7f3800a1c77eec55a1d66c8792d/node_modules/@sveltejs/kit/src/runtime/server/env_module.js
3765
3780
  /** @type {string} */
3766
- var body;
3781
+ var payload;
3767
3782
  /** @type {string} */
3768
3783
  var etag;
3769
3784
  /** @type {Headers} */
@@ -3773,7 +3788,8 @@ var headers;
3773
3788
  * @returns {Response}
3774
3789
  */
3775
3790
  function get_public_env(request) {
3776
- body ??= `export const env=${JSON.stringify(public_env)}`;
3791
+ const script = request.url.endsWith(".script.js");
3792
+ payload ??= uneval(public_env);
3777
3793
  etag ??= `W/${Date.now()}`;
3778
3794
  headers ??= new Headers({
3779
3795
  "content-type": "application/javascript; charset=utf-8",
@@ -3783,10 +3799,11 @@ function get_public_env(request) {
3783
3799
  status: 304,
3784
3800
  headers
3785
3801
  });
3786
- return new Response(body, { headers });
3802
+ if (script) return new Response(`globalThis.__sveltekit_sw={env:${payload}}`, { headers });
3803
+ return new Response(`export const env=${payload}`, { headers });
3787
3804
  }
3788
3805
  //#endregion
3789
- //#region node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.56.0_@typescript-eslin_fe9abfe190d51f22bcd6d74ecb2eafd6/node_modules/@sveltejs/kit/src/runtime/server/respond.js
3806
+ //#region node_modules/.pnpm/@sveltejs+kit@2.63.0_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.56.2_@typescript-eslin_9ed2d7f3800a1c77eec55a1d66c8792d/node_modules/@sveltejs/kit/src/runtime/server/respond.js
3790
3807
  /** @import { RequestState, SSRNode } from 'types' */
3791
3808
  /** @type {import('types').RequiredResolveOptions['transformPageChunk']} */
3792
3809
  var default_transform = ({ html }) => html;
@@ -3971,7 +3988,7 @@ async function internal_respond(request, options, manifest, state) {
3971
3988
  resolved_path = resolved_path.slice(base.length) || "/";
3972
3989
  }
3973
3990
  if (is_route_resolution_request) return resolve_route(resolved_path, new URL(request.url), manifest);
3974
- if (resolved_path === `/_app/env.js`) return get_public_env(request);
3991
+ if (resolved_path === `/_app/env.js` || resolved_path === `/_app/env.script.js`) return get_public_env(request);
3975
3992
  if (!remote_id && resolved_path.startsWith(`/_app`)) {
3976
3993
  const headers = new Headers();
3977
3994
  headers.set("cache-control", "public, max-age=0, must-revalidate");
@@ -4095,12 +4112,12 @@ async function internal_respond(request, options, manifest, state) {
4095
4112
  "content-location",
4096
4113
  "date",
4097
4114
  "expires",
4098
- "vary",
4099
- "set-cookie"
4115
+ "vary"
4100
4116
  ]) {
4101
4117
  const value = response.headers.get(key);
4102
4118
  if (value) headers.set(key, value);
4103
4119
  }
4120
+ for (const cookie of get_set_cookies(response.headers)) headers.append("set-cookie", cookie);
4104
4121
  return new Response(void 0, {
4105
4122
  status: 304,
4106
4123
  headers
@@ -4243,7 +4260,7 @@ function propagate_context(fn) {
4243
4260
  };
4244
4261
  }
4245
4262
  //#endregion
4246
- //#region node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.56.0_@typescript-eslin_fe9abfe190d51f22bcd6d74ecb2eafd6/node_modules/@sveltejs/kit/src/utils/env.js
4263
+ //#region node_modules/.pnpm/@sveltejs+kit@2.63.0_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.56.2_@typescript-eslin_9ed2d7f3800a1c77eec55a1d66c8792d/node_modules/@sveltejs/kit/src/utils/env.js
4247
4264
  /**
4248
4265
  * @param {Record<string, string>} env
4249
4266
  * @param {string} allowed
@@ -4254,7 +4271,7 @@ function filter_env(env, allowed, disallowed) {
4254
4271
  return Object.fromEntries(Object.entries(env).filter(([k]) => k.startsWith(allowed) && (disallowed === "" || !k.startsWith(disallowed))));
4255
4272
  }
4256
4273
  //#endregion
4257
- //#region node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.56.0_@typescript-eslin_fe9abfe190d51f22bcd6d74ecb2eafd6/node_modules/@sveltejs/kit/src/runtime/server/index.js
4274
+ //#region node_modules/.pnpm/@sveltejs+kit@2.63.0_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.56.2_@typescript-eslin_9ed2d7f3800a1c77eec55a1d66c8792d/node_modules/@sveltejs/kit/src/runtime/server/index.js
4258
4275
  /** @import { PromiseWithResolvers } from '../../utils/promise.js' */
4259
4276
  /** @type {Promise<any>} */
4260
4277
  var init_promise;