@kozou/svelte-ui 1.20.1 → 1.21.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.
- package/build/client/_app/immutable/assets/{0.BFw6nhto.css → 0.D0QQ9_9s.css} +1 -1
- package/build/client/_app/immutable/assets/0.D0QQ9_9s.css.br +0 -0
- package/build/client/_app/immutable/assets/0.D0QQ9_9s.css.gz +0 -0
- package/build/client/_app/immutable/chunks/BPmV12Pr.js +3 -0
- package/build/client/_app/immutable/chunks/BPmV12Pr.js.br +0 -0
- package/build/client/_app/immutable/chunks/BPmV12Pr.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CzvdUerA.js +1 -0
- package/build/client/_app/immutable/chunks/CzvdUerA.js.br +0 -0
- package/build/client/_app/immutable/chunks/CzvdUerA.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DM1WDXNi.js +2 -0
- package/build/client/_app/immutable/chunks/DM1WDXNi.js.br +0 -0
- package/build/client/_app/immutable/chunks/DM1WDXNi.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DRLNDRGd.js +1 -0
- package/build/client/_app/immutable/chunks/DRLNDRGd.js.br +0 -0
- package/build/client/_app/immutable/chunks/DRLNDRGd.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Tpr6dUXs.js +1 -0
- package/build/client/_app/immutable/chunks/Tpr6dUXs.js.br +0 -0
- package/build/client/_app/immutable/chunks/Tpr6dUXs.js.gz +0 -0
- package/build/client/_app/immutable/chunks/ng5ew0-V.js +2 -0
- package/build/client/_app/immutable/chunks/ng5ew0-V.js.br +0 -0
- package/build/client/_app/immutable/chunks/ng5ew0-V.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.IRpLXiYT.js +2 -0
- package/build/client/_app/immutable/entry/app.IRpLXiYT.js.br +0 -0
- package/build/client/_app/immutable/entry/app.IRpLXiYT.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.DHyiZRvR.js +1 -0
- package/build/client/_app/immutable/entry/start.DHyiZRvR.js.br +1 -0
- package/build/client/_app/immutable/entry/start.DHyiZRvR.js.gz +0 -0
- package/build/client/_app/immutable/nodes/0.CzDt86DM.js +1 -0
- package/build/client/_app/immutable/nodes/0.CzDt86DM.js.br +2 -0
- package/build/client/_app/immutable/nodes/0.CzDt86DM.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.Ds1FrfOA.js +1 -0
- package/build/client/_app/immutable/nodes/1.Ds1FrfOA.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.Ds1FrfOA.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.BJIHarag.js +2 -0
- package/build/client/_app/immutable/nodes/2.BJIHarag.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.BJIHarag.js.gz +0 -0
- package/build/client/_app/immutable/nodes/3.vV9B4dJJ.js +1 -0
- package/build/client/_app/immutable/nodes/3.vV9B4dJJ.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.vV9B4dJJ.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{4.DP1YMUE5.js → 4.Dspxez47.js} +2 -2
- package/build/client/_app/immutable/nodes/4.Dspxez47.js.br +0 -0
- package/build/client/_app/immutable/nodes/4.Dspxez47.js.gz +0 -0
- package/build/client/_app/immutable/nodes/5.Bv_PVEBh.js +1 -0
- package/build/client/_app/immutable/nodes/5.Bv_PVEBh.js.br +0 -0
- package/build/client/_app/immutable/nodes/5.Bv_PVEBh.js.gz +0 -0
- package/build/client/_app/immutable/nodes/6.DozLeltI.js +1 -0
- package/build/client/_app/immutable/nodes/6.DozLeltI.js.br +0 -0
- package/build/client/_app/immutable/nodes/6.DozLeltI.js.gz +0 -0
- package/build/client/_app/immutable/nodes/7.OrbBRjxz.js +1 -0
- package/build/client/_app/immutable/nodes/7.OrbBRjxz.js.br +0 -0
- package/build/client/_app/immutable/nodes/7.OrbBRjxz.js.gz +0 -0
- package/build/client/_app/immutable/nodes/8.BwzzPDZH.js +1 -0
- package/build/client/_app/immutable/nodes/8.BwzzPDZH.js.br +0 -0
- package/build/client/_app/immutable/nodes/8.BwzzPDZH.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{9.ByJ3R-gj.js → 9.DcN_pzX4.js} +1 -1
- package/build/client/_app/immutable/nodes/9.DcN_pzX4.js.br +0 -0
- package/build/client/_app/immutable/nodes/9.DcN_pzX4.js.gz +0 -0
- package/build/client/_app/version.json +1 -1
- package/build/client/_app/version.json.br +0 -0
- package/build/client/_app/version.json.gz +0 -0
- package/build/server/chunks/{0-QvKVS1pE.js → 0-D3Od9Nns.js} +6 -6
- package/build/server/chunks/0-D3Od9Nns.js.map +1 -0
- package/build/server/chunks/1-DixDdLll.js +9 -0
- package/build/server/chunks/{1-BZAHQ_rM.js.map → 1-DixDdLll.js.map} +1 -1
- package/build/server/chunks/{2-DGOJW-s_.js → 2-CZzPkcAH.js} +6 -7
- package/build/server/chunks/2-CZzPkcAH.js.map +1 -0
- package/build/server/chunks/{3-BALkppx0.js → 3-BN6KhH_S.js} +15 -15
- package/build/server/chunks/3-BN6KhH_S.js.map +1 -0
- package/build/server/chunks/{4-OlSudnzY.js → 4-DnqMYPCR.js} +7 -6
- package/build/server/chunks/4-DnqMYPCR.js.map +1 -0
- package/build/server/chunks/{5-D-48ExuO.js → 5-DcH4FkmM.js} +8 -7
- package/build/server/chunks/5-DcH4FkmM.js.map +1 -0
- package/build/server/chunks/{6-DRZCDQKg.js → 6-DAv9kX20.js} +8 -9
- package/build/server/chunks/6-DAv9kX20.js.map +1 -0
- package/build/server/chunks/{7-BqcZ4dwt.js → 7-BjYWuqqT.js} +14 -14
- package/build/server/chunks/7-BjYWuqqT.js.map +1 -0
- package/build/server/chunks/{8-Wfsla4aq.js → 8-0yg0evpN.js} +14 -14
- package/build/server/chunks/8-0yg0evpN.js.map +1 -0
- package/build/server/chunks/{9-DRxhju5a.js → 9-D4RQ11kF.js} +9 -9
- package/build/server/chunks/9-D4RQ11kF.js.map +1 -0
- package/build/server/chunks/{ListTable-D8OnEdye.js → ListTable-BAC5xf0U.js} +5 -6
- package/build/server/chunks/ListTable-BAC5xf0U.js.map +1 -0
- package/build/server/chunks/{_layout.svelte-CouhggA0.js → _layout.svelte-BTiJ5oei.js} +3 -3
- package/build/server/chunks/_layout.svelte-BTiJ5oei.js.map +1 -0
- package/build/server/chunks/{_page.svelte-7maQnLbj.js → _page.svelte-28WIAb-A.js} +10 -10
- package/build/server/chunks/_page.svelte-28WIAb-A.js.map +1 -0
- package/build/server/chunks/{_page.svelte-D8nYMywt.js → _page.svelte-BE0Fm43g.js} +5 -5
- package/build/server/chunks/_page.svelte-BE0Fm43g.js.map +1 -0
- package/build/server/chunks/{_page.svelte-TZzwWQli.js → _page.svelte-BN_4l_X_.js} +9 -9
- package/build/server/chunks/_page.svelte-BN_4l_X_.js.map +1 -0
- package/build/server/chunks/{_page.svelte-BHW_BBcE.js → _page.svelte-C2VLDSXv.js} +5 -5
- package/build/server/chunks/_page.svelte-C2VLDSXv.js.map +1 -0
- package/build/server/chunks/{_page.svelte-Bf0wrvsv.js → _page.svelte-CYtHpl1s.js} +3 -3
- package/build/server/chunks/_page.svelte-CYtHpl1s.js.map +1 -0
- package/build/server/chunks/{_page.svelte-CGTBvaNV.js → _page.svelte-CmOUnClb.js} +10 -10
- package/build/server/chunks/_page.svelte-CmOUnClb.js.map +1 -0
- package/build/server/chunks/{_page.svelte-DeVGBJ28.js → _page.svelte-DhUxTzmV.js} +3 -3
- package/build/server/chunks/_page.svelte-DhUxTzmV.js.map +1 -0
- package/build/server/chunks/{_page.svelte-DU1gFVoJ.js → _page.svelte-uvkEYlC-.js} +6 -7
- package/build/server/chunks/_page.svelte-uvkEYlC-.js.map +1 -0
- package/build/server/chunks/_server.ts-BwAtICwe.js +20 -0
- package/build/server/chunks/_server.ts-BwAtICwe.js.map +1 -0
- package/build/server/chunks/{adapter-DVhZVTjg.js → adapter-DNuW0qB7.js} +7 -10
- package/build/server/chunks/adapter-DNuW0qB7.js.map +1 -0
- package/build/server/chunks/{adapter-error-yHvEGaY7.js → adapter-error-ChkgLg4H.js} +3 -3
- package/build/server/chunks/adapter-error-ChkgLg4H.js.map +1 -0
- package/build/server/chunks/app-SwLi37Vg.js +12 -0
- package/build/server/chunks/app-SwLi37Vg.js.map +1 -0
- package/build/server/chunks/{client-DRqw6Y3c.js → client-DVDsL8PQ.js} +4 -5
- package/build/server/chunks/client-DVDsL8PQ.js.map +1 -0
- package/build/server/chunks/{composite-form-Ejfr7DaR.js → composite-form-WDDlaUQo.js} +96 -112
- package/build/server/chunks/composite-form-WDDlaUQo.js.map +1 -0
- package/build/server/chunks/{error.svelte-g7mc4FAb.js → error.svelte-CAqyybBm.js} +7 -10
- package/build/server/chunks/error.svelte-CAqyybBm.js.map +1 -0
- package/build/server/chunks/{hooks.server-BUTf2J08.js → hooks.server-CU_-pzVZ.js} +312 -363
- package/build/server/chunks/hooks.server-CU_-pzVZ.js.map +1 -0
- package/build/server/chunks/index-CVekYGHP.js.map +1 -1
- package/build/server/chunks/index-DBqjc0Yf.js.map +1 -1
- package/build/server/chunks/{internal2-CGNoaasI.js → internal2-Dgkl_mbK.js} +340 -227
- package/build/server/chunks/internal2-Dgkl_mbK.js.map +1 -0
- package/build/server/chunks/{list-params-DiCLPOBj.js → list-params-Dz_BNoxl.js} +3 -3
- package/build/server/chunks/list-params-Dz_BNoxl.js.map +1 -0
- package/build/server/chunks/{mcp-connection-JeveuASs.js → mcp-connection-CoIXpCQy.js} +2 -2
- package/build/server/chunks/mcp-connection-CoIXpCQy.js.map +1 -0
- package/build/server/chunks/{privilege-readonly-CK4k2aYO.js → privilege-readonly-CoCKf_KX.js} +2 -2
- package/build/server/chunks/privilege-readonly-CoCKf_KX.js.map +1 -0
- package/build/server/chunks/{relation-options-jz3t9Tvk.js → relation-options-DTOgED4q.js} +2 -2
- package/build/server/chunks/{relation-options-jz3t9Tvk.js.map → relation-options-DTOgED4q.js.map} +1 -1
- package/build/server/chunks/{relation-select-composite-field-DxxTuvAH.js → relation-select-composite-field-CqIRP5Rd.js} +6 -6
- package/build/server/chunks/relation-select-composite-field-CqIRP5Rd.js.map +1 -0
- package/build/server/chunks/{resource-id-CFSW_3aR.js → resource-id-vFoEgiDD.js} +2 -2
- package/build/server/chunks/resource-id-vFoEgiDD.js.map +1 -0
- package/build/server/chunks/{server-1sE9LKAu.js → server-CiEA6lY_.js} +222 -143
- package/build/server/chunks/server-CiEA6lY_.js.map +1 -0
- package/build/server/chunks/{widget-registry-D4uP1dwJ.js → widget-registry-Dhgkh66t.js} +18 -32
- package/build/server/chunks/widget-registry-Dhgkh66t.js.map +1 -0
- package/build/server/index.js +138 -153
- package/build/server/index.js.map +1 -1
- package/build/server/manifest.js +12 -12
- package/build/server/manifest.js.map +1 -1
- package/package.json +8 -8
- package/build/client/_app/immutable/assets/0.BFw6nhto.css.br +0 -0
- package/build/client/_app/immutable/assets/0.BFw6nhto.css.gz +0 -0
- package/build/client/_app/immutable/chunks/BDINAkMj.js +0 -1
- package/build/client/_app/immutable/chunks/BDINAkMj.js.br +0 -0
- package/build/client/_app/immutable/chunks/BDINAkMj.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BPexRXOm.js +0 -214
- package/build/client/_app/immutable/chunks/BPexRXOm.js.br +0 -0
- package/build/client/_app/immutable/chunks/BPexRXOm.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BdhshkRp.js +0 -1
- package/build/client/_app/immutable/chunks/BdhshkRp.js.br +0 -0
- package/build/client/_app/immutable/chunks/BdhshkRp.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CfACBkhZ.js +0 -1
- package/build/client/_app/immutable/chunks/CfACBkhZ.js.br +0 -0
- package/build/client/_app/immutable/chunks/CfACBkhZ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/ClT4djUO.js +0 -2
- package/build/client/_app/immutable/chunks/ClT4djUO.js.br +0 -0
- package/build/client/_app/immutable/chunks/ClT4djUO.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DqWlOtw9.js +0 -3
- package/build/client/_app/immutable/chunks/DqWlOtw9.js.br +0 -0
- package/build/client/_app/immutable/chunks/DqWlOtw9.js.gz +0 -0
- package/build/client/_app/immutable/chunks/kNaey6uv.js +0 -1
- package/build/client/_app/immutable/chunks/kNaey6uv.js.br +0 -0
- package/build/client/_app/immutable/chunks/kNaey6uv.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.D48yRE16.js +0 -2
- package/build/client/_app/immutable/entry/app.D48yRE16.js.br +0 -0
- package/build/client/_app/immutable/entry/app.D48yRE16.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.Qq8FLhOe.js +0 -1
- package/build/client/_app/immutable/entry/start.Qq8FLhOe.js.br +0 -0
- package/build/client/_app/immutable/entry/start.Qq8FLhOe.js.gz +0 -0
- package/build/client/_app/immutable/nodes/0.ifyNoaZz.js +0 -1
- package/build/client/_app/immutable/nodes/0.ifyNoaZz.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.ifyNoaZz.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.CVy84LTm.js +0 -1
- package/build/client/_app/immutable/nodes/1.CVy84LTm.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.CVy84LTm.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.D_d90ZDd.js +0 -2
- package/build/client/_app/immutable/nodes/2.D_d90ZDd.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.D_d90ZDd.js.gz +0 -0
- package/build/client/_app/immutable/nodes/3.DCS1lMcJ.js +0 -1
- package/build/client/_app/immutable/nodes/3.DCS1lMcJ.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.DCS1lMcJ.js.gz +0 -0
- package/build/client/_app/immutable/nodes/4.DP1YMUE5.js.br +0 -0
- package/build/client/_app/immutable/nodes/4.DP1YMUE5.js.gz +0 -0
- package/build/client/_app/immutable/nodes/5.CyMRYzSq.js +0 -1
- package/build/client/_app/immutable/nodes/5.CyMRYzSq.js.br +0 -0
- package/build/client/_app/immutable/nodes/5.CyMRYzSq.js.gz +0 -0
- package/build/client/_app/immutable/nodes/6.B202XTaW.js +0 -1
- package/build/client/_app/immutable/nodes/6.B202XTaW.js.br +0 -0
- package/build/client/_app/immutable/nodes/6.B202XTaW.js.gz +0 -0
- package/build/client/_app/immutable/nodes/7.DDrr6-pe.js +0 -1
- package/build/client/_app/immutable/nodes/7.DDrr6-pe.js.br +0 -0
- package/build/client/_app/immutable/nodes/7.DDrr6-pe.js.gz +0 -0
- package/build/client/_app/immutable/nodes/8.CkRfP60d.js +0 -1
- package/build/client/_app/immutable/nodes/8.CkRfP60d.js.br +0 -0
- package/build/client/_app/immutable/nodes/8.CkRfP60d.js.gz +0 -0
- package/build/client/_app/immutable/nodes/9.ByJ3R-gj.js.br +0 -2
- package/build/client/_app/immutable/nodes/9.ByJ3R-gj.js.gz +0 -0
- package/build/server/chunks/0-QvKVS1pE.js.map +0 -1
- package/build/server/chunks/1-BZAHQ_rM.js +0 -9
- package/build/server/chunks/2-DGOJW-s_.js.map +0 -1
- package/build/server/chunks/3-BALkppx0.js.map +0 -1
- package/build/server/chunks/4-OlSudnzY.js.map +0 -1
- package/build/server/chunks/5-D-48ExuO.js.map +0 -1
- package/build/server/chunks/6-DRZCDQKg.js.map +0 -1
- package/build/server/chunks/7-BqcZ4dwt.js.map +0 -1
- package/build/server/chunks/8-Wfsla4aq.js.map +0 -1
- package/build/server/chunks/9-DRxhju5a.js.map +0 -1
- package/build/server/chunks/ListTable-D8OnEdye.js.map +0 -1
- package/build/server/chunks/_layout.svelte-CouhggA0.js.map +0 -1
- package/build/server/chunks/_page.svelte-7maQnLbj.js.map +0 -1
- package/build/server/chunks/_page.svelte-BHW_BBcE.js.map +0 -1
- package/build/server/chunks/_page.svelte-Bf0wrvsv.js.map +0 -1
- package/build/server/chunks/_page.svelte-CGTBvaNV.js.map +0 -1
- package/build/server/chunks/_page.svelte-D8nYMywt.js.map +0 -1
- package/build/server/chunks/_page.svelte-DU1gFVoJ.js.map +0 -1
- package/build/server/chunks/_page.svelte-DeVGBJ28.js.map +0 -1
- package/build/server/chunks/_page.svelte-TZzwWQli.js.map +0 -1
- package/build/server/chunks/_server.ts-CUXOXc9X.js +0 -19
- package/build/server/chunks/_server.ts-CUXOXc9X.js.map +0 -1
- package/build/server/chunks/adapter-DVhZVTjg.js.map +0 -1
- package/build/server/chunks/adapter-error-yHvEGaY7.js.map +0 -1
- package/build/server/chunks/app-CYD2rz7t.js +0 -12
- package/build/server/chunks/app-CYD2rz7t.js.map +0 -1
- package/build/server/chunks/client-DRqw6Y3c.js.map +0 -1
- package/build/server/chunks/composite-form-Ejfr7DaR.js.map +0 -1
- package/build/server/chunks/error.svelte-g7mc4FAb.js.map +0 -1
- package/build/server/chunks/hooks.server-BUTf2J08.js.map +0 -1
- package/build/server/chunks/internal2-CGNoaasI.js.map +0 -1
- package/build/server/chunks/list-params-DiCLPOBj.js.map +0 -1
- package/build/server/chunks/mcp-connection-JeveuASs.js.map +0 -1
- package/build/server/chunks/privilege-readonly-CK4k2aYO.js.map +0 -1
- package/build/server/chunks/relation-select-composite-field-DxxTuvAH.js.map +0 -1
- package/build/server/chunks/resource-id-CFSW_3aR.js.map +0 -1
- package/build/server/chunks/server-1sE9LKAu.js.map +0 -1
- package/build/server/chunks/widget-registry-D4uP1dwJ.js.map +0 -1
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { D as DevalueError,
|
|
1
|
+
import { D as DevalueError, a8 as stringify_key, a9 as stringify_string, R as is_valid_array_len, Q as is_valid_array_index, M as MAX_ARRAY_INDEX, P as is_plain_object, p as enumerable_symbols, ac as valid_array_indices, N as is_buffer, B as get_type, Z as render, $ as set, L as LEGACY_PROPS, u as get$1, s as flushSync, l as define_property, T as mutable_source, K as init_operations, y as get_first_child, z as get_next_sibling, H as HYDRATION_ERROR, a4 as set_hydrating, a3 as set_hydrate_node, I as hydration_failed, g as clear_text_content, i as component_root, F as hydrate_node, k as create_text, f as boundary, c as array_from, O as is_passive_event, a2 as set_active_reaction, a1 as set_active_effect, b as active_reaction, a as active_effect, a0 as setContext, m as derived, a5 as ssr_context, G as hydrating, W as push$1, h as component_context, J as hydration_mismatch, V as pop$1, _ as run$1, U as noop$1, C as hasContext, x as getContext, w as getAllContexts, v as getAbortSignal, j as createContext, S as lifecycle_function_unavailable, r as experimental_async_required, A as get_render_context, aa as uneval, E as hydratable_serialization_failed } from './server-CiEA6lY_.js';
|
|
2
2
|
import { H as HttpError, S as SvelteKitError } from './index-DBqjc0Yf.js';
|
|
3
3
|
import 'clsx';
|
|
4
4
|
import { createRequire } from 'node:module';
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
// \0rolldown/runtime.js
|
|
7
7
|
var __create = Object.create;
|
|
8
8
|
var __defProp = Object.defineProperty;
|
|
9
9
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
10
10
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
11
11
|
var __getProtoOf = Object.getPrototypeOf;
|
|
12
12
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
13
|
-
var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
|
|
13
|
+
var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod, mod.exports), cb = null), mod.exports);
|
|
14
14
|
var __exportAll = (all, no_symbols) => {
|
|
15
15
|
let target = {};
|
|
16
16
|
for (var name in all) __defProp(target, name, {
|
|
@@ -34,9 +34,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
34
34
|
value: mod,
|
|
35
35
|
enumerable: true
|
|
36
36
|
}) , mod));
|
|
37
|
-
var __require = /*
|
|
37
|
+
var __require = /* #__PURE__ */ (() => createRequire(import.meta.url))();
|
|
38
38
|
|
|
39
|
-
|
|
39
|
+
// ../../node_modules/.pnpm/@sveltejs+kit@2.70.3_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.9_@typescript-eslin_bc5a1fa668e531387d6dc06fbe69dabc/node_modules/@sveltejs/kit/src/utils/functions.js
|
|
40
40
|
function noop() {}
|
|
41
41
|
/**
|
|
42
42
|
* @template T
|
|
@@ -52,8 +52,7 @@ function once(fn) {
|
|
|
52
52
|
return result = fn();
|
|
53
53
|
};
|
|
54
54
|
}
|
|
55
|
-
|
|
56
|
-
//#region ../../node_modules/.pnpm/devalue@5.8.1/node_modules/devalue/src/base64.js
|
|
55
|
+
// ../../node_modules/.pnpm/devalue@5.9.4/node_modules/devalue/src/base64.js
|
|
57
56
|
/** @type {(array_buffer: ArrayBuffer) => string} */
|
|
58
57
|
function encode_native(array_buffer) {
|
|
59
58
|
return new Uint8Array(array_buffer).toBase64();
|
|
@@ -93,22 +92,130 @@ var native = typeof Uint8Array.fromBase64 === "function";
|
|
|
93
92
|
var buffer = typeof process === "object" && process.versions?.node !== void 0;
|
|
94
93
|
var encode64 = native ? encode_native : buffer ? encode_buffer : encode_legacy;
|
|
95
94
|
var decode64 = native ? decode_native : buffer ? decode_buffer : decode_legacy;
|
|
96
|
-
|
|
97
|
-
|
|
95
|
+
// ../../node_modules/.pnpm/devalue@5.9.4/node_modules/devalue/src/operations.js
|
|
96
|
+
/**
|
|
97
|
+
* Merges caller-provided operation overrides over the defaults. Iterating the
|
|
98
|
+
* default keys (rather than the override's own keys) means nullish members
|
|
99
|
+
* fall back to the default, and inherited members — e.g. from a class
|
|
100
|
+
* instance — are picked up.
|
|
101
|
+
*
|
|
102
|
+
* @template {Record<string, any>} T
|
|
103
|
+
* @param {T} defaults
|
|
104
|
+
* @param {Partial<T> | undefined} overrides
|
|
105
|
+
* @returns {T}
|
|
106
|
+
*/
|
|
107
|
+
function merge_operations(defaults, overrides) {
|
|
108
|
+
return defaults;
|
|
109
|
+
}
|
|
110
|
+
/** @type {{ kind: 'not-plain' }} */
|
|
111
|
+
var NOT_PLAIN = /* @__PURE__ */ Object.freeze({ kind: "not-plain" });
|
|
112
|
+
/** @type {{ kind: 'symbol-keys' }} */
|
|
113
|
+
var SYMBOL_KEYS = /* @__PURE__ */ Object.freeze({ kind: "symbol-keys" });
|
|
114
|
+
var default_stringify_operations = /* @__PURE__ */ Object.freeze({
|
|
115
|
+
identify: (value) => value,
|
|
116
|
+
typeOf: (value) => value === null ? "null" : typeof value,
|
|
117
|
+
toPrimitive: (value) => value,
|
|
118
|
+
tagOf: (value) => get_type(value),
|
|
119
|
+
isThenable: (value) => typeof value.then === "function",
|
|
120
|
+
toPromise: (thenable) => Promise.resolve(thenable),
|
|
121
|
+
unbox: (boxed) => boxed.valueOf(),
|
|
122
|
+
toISOString: (date) => isNaN(date.getDate()) ? "" : date.toISOString(),
|
|
123
|
+
toStringValue: (value) => value.toString(),
|
|
124
|
+
regExpInfo: (regexp) => ({
|
|
125
|
+
source: regexp.source,
|
|
126
|
+
flags: regexp.flags
|
|
127
|
+
}),
|
|
128
|
+
valuesOf: (set) => set,
|
|
129
|
+
entriesOf: (map) => map,
|
|
130
|
+
viewInfo: (view) => {
|
|
131
|
+
if (is_buffer(view)) view = new Uint8Array(view);
|
|
132
|
+
return {
|
|
133
|
+
buffer: view.buffer,
|
|
134
|
+
byteOffset: view.byteOffset,
|
|
135
|
+
byteLength: view.byteLength,
|
|
136
|
+
length: view.length,
|
|
137
|
+
bufferByteLength: view.buffer.byteLength
|
|
138
|
+
};
|
|
139
|
+
},
|
|
140
|
+
toArrayBuffer: (buffer) => buffer,
|
|
141
|
+
lengthOf: (array) => array.length,
|
|
142
|
+
hasOwn: (value, key) => Object.hasOwn(value, key),
|
|
143
|
+
indicesOf: (array) => valid_array_indices(array),
|
|
144
|
+
shapeOf: (value) => {
|
|
145
|
+
if (!is_plain_object(value)) return NOT_PLAIN;
|
|
146
|
+
if (enumerable_symbols(value).length > 0) return SYMBOL_KEYS;
|
|
147
|
+
return {
|
|
148
|
+
kind: Object.getPrototypeOf(value) === null ? "null-proto" : "plain",
|
|
149
|
+
keys: Object.keys(value)
|
|
150
|
+
};
|
|
151
|
+
},
|
|
152
|
+
get: (value, key) => value[key]
|
|
153
|
+
});
|
|
154
|
+
var array_buffer_byte_length = Object.getOwnPropertyDescriptor(ArrayBuffer.prototype, "byteLength").get;
|
|
155
|
+
var shared_array_buffer_byte_length = typeof SharedArrayBuffer === "undefined" ? void 0 : Object.getOwnPropertyDescriptor(SharedArrayBuffer.prototype, "byteLength").get;
|
|
156
|
+
var default_parse_operations = /* @__PURE__ */ Object.freeze({
|
|
157
|
+
fromPrimitive: (primitive) => primitive,
|
|
158
|
+
fromISOString: (iso) => new Date(iso),
|
|
159
|
+
fromStringValue: (tag, text) => {
|
|
160
|
+
if (tag === "URL") return new URL(text);
|
|
161
|
+
if (tag === "URLSearchParams") return new URLSearchParams(text);
|
|
162
|
+
return Temporal[tag.slice(9)].from(text);
|
|
163
|
+
},
|
|
164
|
+
fromArrayBuffer: (buffer) => buffer,
|
|
165
|
+
fromRegExpInfo: (source, flags) => new RegExp(source, flags),
|
|
166
|
+
fromViewInfo: (tag, buffer, byteOffset, length) => {
|
|
167
|
+
try {
|
|
168
|
+
array_buffer_byte_length.call(buffer);
|
|
169
|
+
} catch (error) {
|
|
170
|
+
if (!shared_array_buffer_byte_length) throw error;
|
|
171
|
+
shared_array_buffer_byte_length.call(buffer);
|
|
172
|
+
}
|
|
173
|
+
const Constructor = globalThis[tag];
|
|
174
|
+
return byteOffset !== void 0 ? new Constructor(buffer, byteOffset, length) : new Constructor(buffer);
|
|
175
|
+
},
|
|
176
|
+
box: (value) => Object(value),
|
|
177
|
+
createArray: (length) => new Array(length),
|
|
178
|
+
createSparseArray: (length) => {
|
|
179
|
+
/** @type {any[]} */
|
|
180
|
+
const array = [];
|
|
181
|
+
array[MAX_ARRAY_INDEX] = void 0;
|
|
182
|
+
delete array[MAX_ARRAY_INDEX];
|
|
183
|
+
array.length = length;
|
|
184
|
+
return array;
|
|
185
|
+
},
|
|
186
|
+
createObject: () => ({}),
|
|
187
|
+
createNullPrototypeObject: () => Object.create(null),
|
|
188
|
+
createSet: () => /* @__PURE__ */ new Set(),
|
|
189
|
+
createMap: () => /* @__PURE__ */ new Map(),
|
|
190
|
+
set: (target, key, value) => {
|
|
191
|
+
target[key] = value;
|
|
192
|
+
},
|
|
193
|
+
addValue: (set, value) => {
|
|
194
|
+
set.add(value);
|
|
195
|
+
},
|
|
196
|
+
addEntry: (map, key, value) => {
|
|
197
|
+
map.set(key, value);
|
|
198
|
+
}
|
|
199
|
+
});
|
|
200
|
+
// ../../node_modules/.pnpm/devalue@5.9.4/node_modules/devalue/src/parse.js
|
|
98
201
|
/**
|
|
99
202
|
* Revive a value serialized with `devalue.stringify`
|
|
100
203
|
* @param {string} serialized
|
|
101
204
|
* @param {Record<string, (value: any) => any>} [revivers]
|
|
205
|
+
* @param {import('./types.js').ParseOptions} [options]
|
|
102
206
|
*/
|
|
103
|
-
function parse(serialized, revivers) {
|
|
207
|
+
function parse(serialized, revivers, options) {
|
|
104
208
|
return unflatten(JSON.parse(serialized), revivers);
|
|
105
209
|
}
|
|
106
210
|
/**
|
|
107
211
|
* Revive a value flattened with `devalue.stringify`
|
|
108
212
|
* @param {number | any[]} parsed
|
|
109
213
|
* @param {Record<string, (value: any) => any>} [revivers]
|
|
214
|
+
* @param {import('./types.js').ParseOptions} [options]
|
|
110
215
|
*/
|
|
111
|
-
function unflatten(parsed, revivers) {
|
|
216
|
+
function unflatten(parsed, revivers, options) {
|
|
217
|
+
/** @type {import('./types.js').ParseOperations} */
|
|
218
|
+
const ops = merge_operations(default_parse_operations);
|
|
112
219
|
if (typeof parsed === "number") return hydrate(parsed, true);
|
|
113
220
|
if (!Array.isArray(parsed) || parsed.length === 0) throw new Error("Invalid input");
|
|
114
221
|
const values = parsed;
|
|
@@ -124,152 +231,144 @@ function unflatten(parsed, revivers) {
|
|
|
124
231
|
* @returns {any}
|
|
125
232
|
*/
|
|
126
233
|
function hydrate(index, standalone = false) {
|
|
127
|
-
if (index === -1) return void 0;
|
|
128
|
-
if (index === -3) return NaN;
|
|
129
|
-
if (index === -4) return Infinity;
|
|
130
|
-
if (index === -5) return -Infinity;
|
|
131
|
-
if (index === -6) return -0;
|
|
234
|
+
if (index === -1) return ops.fromPrimitive(void 0);
|
|
235
|
+
if (index === -3) return ops.fromPrimitive(NaN);
|
|
236
|
+
if (index === -4) return ops.fromPrimitive(Infinity);
|
|
237
|
+
if (index === -5) return ops.fromPrimitive(-Infinity);
|
|
238
|
+
if (index === -6) return ops.fromPrimitive(-0);
|
|
132
239
|
if (standalone || typeof index !== "number") throw new Error(`Invalid input`);
|
|
133
240
|
if (index in hydrated) return hydrated[index];
|
|
241
|
+
if (index >= values.length) throw new Error(`Invalid input`);
|
|
134
242
|
const value = values[index];
|
|
135
|
-
if (!value || typeof value !== "object") hydrated[index] = value;
|
|
136
|
-
else if (Array.isArray(value))
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
case "Date":
|
|
151
|
-
hydrated[index] = new Date(value[1]);
|
|
152
|
-
break;
|
|
153
|
-
case "Set":
|
|
154
|
-
const set = /* @__PURE__ */ new Set();
|
|
155
|
-
hydrated[index] = set;
|
|
156
|
-
for (let i = 1; i < value.length; i += 1) set.add(hydrate(value[i]));
|
|
157
|
-
break;
|
|
158
|
-
case "Map":
|
|
159
|
-
const map = /* @__PURE__ */ new Map();
|
|
160
|
-
hydrated[index] = map;
|
|
161
|
-
for (let i = 1; i < value.length; i += 2) map.set(hydrate(value[i]), hydrate(value[i + 1]));
|
|
162
|
-
break;
|
|
163
|
-
case "RegExp":
|
|
164
|
-
hydrated[index] = new RegExp(value[1], value[2]);
|
|
165
|
-
break;
|
|
166
|
-
case "Object": {
|
|
167
|
-
const wrapped_index = value[1];
|
|
168
|
-
if (typeof values[wrapped_index] === "object" && values[wrapped_index][0] !== "BigInt") throw new Error("Invalid input");
|
|
169
|
-
hydrated[index] = Object(hydrate(wrapped_index));
|
|
170
|
-
break;
|
|
243
|
+
if (!value || typeof value !== "object") hydrated[index] = ops.fromPrimitive(value);
|
|
244
|
+
else if (Array.isArray(value)) {
|
|
245
|
+
if (typeof value[0] === "string") {
|
|
246
|
+
const type = value[0];
|
|
247
|
+
const reviver = revivers && Object.hasOwn(revivers, type) ? revivers[type] : void 0;
|
|
248
|
+
if (reviver) {
|
|
249
|
+
let i = value[1];
|
|
250
|
+
if (typeof i !== "number") i = values.push(value[1]) - 1;
|
|
251
|
+
if (Object.hasOwn(hydrated, i)) return hydrated[index] = reviver(hydrated[i]);
|
|
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];
|
|
171
258
|
}
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
259
|
+
switch (type) {
|
|
260
|
+
case "Date":
|
|
261
|
+
hydrated[index] = ops.fromISOString(value[1]);
|
|
262
|
+
break;
|
|
263
|
+
case "Set":
|
|
264
|
+
const set = ops.createSet();
|
|
265
|
+
hydrated[index] = set;
|
|
266
|
+
for (let i = 1; i < value.length; i += 1) ops.addValue(set, hydrate(value[i]));
|
|
267
|
+
break;
|
|
268
|
+
case "Map":
|
|
269
|
+
const map = ops.createMap();
|
|
270
|
+
hydrated[index] = map;
|
|
271
|
+
for (let i = 1; i < value.length; i += 2) ops.addEntry(map, hydrate(value[i]), hydrate(value[i + 1]));
|
|
272
|
+
break;
|
|
273
|
+
case "RegExp":
|
|
274
|
+
hydrated[index] = ops.fromRegExpInfo(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] = ops.box(hydrate(wrapped_index));
|
|
280
|
+
break;
|
|
181
281
|
}
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
282
|
+
case "BigInt":
|
|
283
|
+
hydrated[index] = ops.fromPrimitive(BigInt(value[1]));
|
|
284
|
+
break;
|
|
285
|
+
case "null":
|
|
286
|
+
const obj = ops.createNullPrototypeObject();
|
|
287
|
+
hydrated[index] = obj;
|
|
288
|
+
for (let i = 1; i < value.length; i += 2) {
|
|
289
|
+
const key = value[i];
|
|
290
|
+
if (typeof key !== "string") throw new Error("Cannot parse an object with a non-string key");
|
|
291
|
+
if (key === "__proto__") throw new Error("Cannot parse an object with a `__proto__` property");
|
|
292
|
+
ops.set(obj, key, hydrate(value[i + 1]));
|
|
293
|
+
}
|
|
294
|
+
break;
|
|
295
|
+
case "Int8Array":
|
|
296
|
+
case "Uint8Array":
|
|
297
|
+
case "Uint8ClampedArray":
|
|
298
|
+
case "Int16Array":
|
|
299
|
+
case "Uint16Array":
|
|
300
|
+
case "Float16Array":
|
|
301
|
+
case "Int32Array":
|
|
302
|
+
case "Uint32Array":
|
|
303
|
+
case "Float32Array":
|
|
304
|
+
case "Float64Array":
|
|
305
|
+
case "BigInt64Array":
|
|
306
|
+
case "BigUint64Array":
|
|
307
|
+
case "DataView": {
|
|
308
|
+
if (values[value[1]][0] !== "ArrayBuffer") throw new Error("Invalid data");
|
|
309
|
+
const buffer = hydrate(value[1]);
|
|
310
|
+
hydrated[index] = ops.fromViewInfo(type, buffer, value[2], value[3]);
|
|
311
|
+
break;
|
|
312
|
+
}
|
|
313
|
+
case "ArrayBuffer": {
|
|
314
|
+
const base64 = value[1];
|
|
315
|
+
if (typeof base64 !== "string") throw new Error("Invalid ArrayBuffer encoding");
|
|
316
|
+
hydrated[index] = ops.fromArrayBuffer(decode64(base64));
|
|
317
|
+
break;
|
|
318
|
+
}
|
|
319
|
+
case "URL":
|
|
320
|
+
case "URLSearchParams":
|
|
321
|
+
case "Temporal.Duration":
|
|
322
|
+
case "Temporal.Instant":
|
|
323
|
+
case "Temporal.PlainDate":
|
|
324
|
+
case "Temporal.PlainTime":
|
|
325
|
+
case "Temporal.PlainDateTime":
|
|
326
|
+
case "Temporal.PlainMonthDay":
|
|
327
|
+
case "Temporal.PlainYearMonth":
|
|
328
|
+
case "Temporal.ZonedDateTime":
|
|
329
|
+
hydrated[index] = ops.fromStringValue(type, value[1]);
|
|
330
|
+
break;
|
|
331
|
+
default: throw new Error(`Unknown type ${type}`);
|
|
201
332
|
}
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
333
|
+
} else if (value[0] === -7) {
|
|
334
|
+
const len = value[1];
|
|
335
|
+
if (!is_valid_array_len(len)) throw new Error("Invalid input");
|
|
336
|
+
const array = ops.createSparseArray(len);
|
|
337
|
+
hydrated[index] = array;
|
|
338
|
+
for (let i = 2; i < value.length; i += 2) {
|
|
339
|
+
const idx = value[i];
|
|
340
|
+
if (!is_valid_array_index(idx) || idx >= len) throw new Error("Invalid input");
|
|
341
|
+
ops.set(array, idx, hydrate(value[i + 1]));
|
|
207
342
|
}
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
case "Temporal.ZonedDateTime": {
|
|
216
|
-
const temporalName = type.slice(9);
|
|
217
|
-
hydrated[index] = Temporal[temporalName].from(value[1]);
|
|
218
|
-
break;
|
|
343
|
+
} else {
|
|
344
|
+
const array = ops.createArray(value.length);
|
|
345
|
+
hydrated[index] = array;
|
|
346
|
+
for (let i = 0; i < value.length; i += 1) {
|
|
347
|
+
const n = value[i];
|
|
348
|
+
if (n === -2) continue;
|
|
349
|
+
ops.set(array, i, hydrate(n));
|
|
219
350
|
}
|
|
220
|
-
case "URL":
|
|
221
|
-
hydrated[index] = new URL(value[1]);
|
|
222
|
-
break;
|
|
223
|
-
case "URLSearchParams":
|
|
224
|
-
hydrated[index] = new URLSearchParams(value[1]);
|
|
225
|
-
break;
|
|
226
|
-
default: throw new Error(`Unknown type ${type}`);
|
|
227
|
-
}
|
|
228
|
-
} else if (value[0] === -7) {
|
|
229
|
-
const len = value[1];
|
|
230
|
-
if (!is_valid_array_len(len)) throw new Error("Invalid input");
|
|
231
|
-
/** @type {any[]} */
|
|
232
|
-
const array = [];
|
|
233
|
-
hydrated[index] = array;
|
|
234
|
-
array[MAX_ARRAY_INDEX] = void 0;
|
|
235
|
-
delete array[MAX_ARRAY_INDEX];
|
|
236
|
-
for (let i = 2; i < value.length; i += 2) {
|
|
237
|
-
const idx = value[i];
|
|
238
|
-
if (!is_valid_array_index(idx) || idx >= len) throw new Error("Invalid input");
|
|
239
|
-
array[idx] = hydrate(value[i + 1]);
|
|
240
351
|
}
|
|
241
|
-
array.length = len;
|
|
242
352
|
} else {
|
|
243
|
-
const
|
|
244
|
-
hydrated[index] = array;
|
|
245
|
-
for (let i = 0; i < value.length; i += 1) {
|
|
246
|
-
const n = value[i];
|
|
247
|
-
if (n === -2) continue;
|
|
248
|
-
array[i] = hydrate(n);
|
|
249
|
-
}
|
|
250
|
-
}
|
|
251
|
-
else {
|
|
252
|
-
/** @type {Record<string, any>} */
|
|
253
|
-
const object = {};
|
|
353
|
+
const object = ops.createObject();
|
|
254
354
|
hydrated[index] = object;
|
|
255
355
|
for (const key of Object.keys(value)) {
|
|
256
356
|
if (key === "__proto__") throw new Error("Cannot parse an object with a `__proto__` property");
|
|
257
|
-
|
|
258
|
-
object[key] = hydrate(n);
|
|
357
|
+
ops.set(object, key, hydrate(value[key]));
|
|
259
358
|
}
|
|
260
359
|
}
|
|
261
360
|
return hydrated[index];
|
|
262
361
|
}
|
|
263
362
|
return hydrate(0);
|
|
264
363
|
}
|
|
265
|
-
|
|
266
|
-
//#region ../../node_modules/.pnpm/devalue@5.8.1/node_modules/devalue/src/stringify.js
|
|
364
|
+
// ../../node_modules/.pnpm/devalue@5.9.4/node_modules/devalue/src/stringify.js
|
|
267
365
|
/**
|
|
268
366
|
* Turn a value into a JSON string that can be parsed with `devalue.parse`
|
|
269
367
|
* @param {any} value
|
|
270
368
|
* @param {Record<string, (value: any) => any>} [reducers]
|
|
369
|
+
* @param {import('./types.js').StringifyOptions} [options]
|
|
271
370
|
*/
|
|
272
|
-
function stringify$1(value, reducers) {
|
|
371
|
+
function stringify$1(value, reducers, options) {
|
|
273
372
|
const stringified = run(false, value, reducers);
|
|
274
373
|
return typeof stringified === "string" ? stringified : `[${stringified.join(",")}]`;
|
|
275
374
|
}
|
|
@@ -277,8 +376,10 @@ function stringify$1(value, reducers) {
|
|
|
277
376
|
* @param {boolean} async
|
|
278
377
|
* @param {any} value
|
|
279
378
|
* @param {Record<string, (value: any) => any>} [reducers]
|
|
379
|
+
* @param {import('./types.js').StringifyOptions} [options]
|
|
280
380
|
*/
|
|
281
|
-
function run(async, value, reducers) {
|
|
381
|
+
function run(async, value, reducers, options) {
|
|
382
|
+
const ops = merge_operations(default_stringify_operations);
|
|
282
383
|
/** @type {any[]} */
|
|
283
384
|
const stringified = [];
|
|
284
385
|
/** @type {Map<any, number>} */
|
|
@@ -297,14 +398,21 @@ function run(async, value, reducers) {
|
|
|
297
398
|
* @param {number} [index]
|
|
298
399
|
*/
|
|
299
400
|
function flatten(thing, index) {
|
|
300
|
-
|
|
301
|
-
if (
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
if (
|
|
305
|
-
|
|
401
|
+
const type = ops.typeOf(thing);
|
|
402
|
+
if (type === "undefined") return -1;
|
|
403
|
+
/** @type {number | undefined} */
|
|
404
|
+
let number;
|
|
405
|
+
if (type === "number") {
|
|
406
|
+
number = ops.toPrimitive(thing);
|
|
407
|
+
if (Number.isNaN(number)) return -3;
|
|
408
|
+
if (number === Infinity) return -4;
|
|
409
|
+
if (number === -Infinity) return -5;
|
|
410
|
+
if (number === 0 && 1 / number < 0) return -6;
|
|
411
|
+
}
|
|
412
|
+
const id = ops.identify(thing);
|
|
413
|
+
if (indexes.has(id)) return indexes.get(id);
|
|
306
414
|
index ??= p++;
|
|
307
|
-
indexes.set(
|
|
415
|
+
indexes.set(id, index);
|
|
308
416
|
for (const { key, fn } of custom) {
|
|
309
417
|
const value = fn(thing);
|
|
310
418
|
if (value) {
|
|
@@ -312,55 +420,56 @@ function run(async, value, reducers) {
|
|
|
312
420
|
return index;
|
|
313
421
|
}
|
|
314
422
|
}
|
|
315
|
-
if (
|
|
316
|
-
else if (
|
|
423
|
+
if (type === "function") throw new DevalueError(`Cannot stringify a function`, keys, thing, value);
|
|
424
|
+
else if (type === "symbol") throw new DevalueError(`Cannot stringify a Symbol primitive`, keys, thing, value);
|
|
317
425
|
/** @type {string | Promise<any>} */
|
|
318
426
|
let str = "";
|
|
319
|
-
if (
|
|
320
|
-
else if (
|
|
427
|
+
if (type !== "object") str = stringify_primitive(type === "number" ? number : ops.toPrimitive(thing));
|
|
428
|
+
else if (ops.isThenable(thing)) {
|
|
321
429
|
throw new DevalueError(`Cannot stringify a Promise or thenable — use stringifyAsync instead`, keys, thing, value);
|
|
322
430
|
} else {
|
|
323
|
-
const
|
|
324
|
-
switch (
|
|
431
|
+
const tag = ops.tagOf(thing);
|
|
432
|
+
switch (tag) {
|
|
325
433
|
case "Number":
|
|
326
434
|
case "String":
|
|
327
435
|
case "Boolean":
|
|
328
436
|
case "BigInt":
|
|
329
|
-
str = `["Object",${flatten(
|
|
437
|
+
str = `["Object",${flatten(ops.unbox(thing))}]`;
|
|
330
438
|
break;
|
|
331
439
|
case "Date":
|
|
332
|
-
str = `["Date","${
|
|
440
|
+
str = `["Date","${ops.toISOString(thing)}"]`;
|
|
333
441
|
break;
|
|
334
442
|
case "URL":
|
|
335
|
-
str = `["URL",${stringify_string(
|
|
443
|
+
str = `["URL",${stringify_string(ops.toStringValue(thing))}]`;
|
|
336
444
|
break;
|
|
337
445
|
case "URLSearchParams":
|
|
338
|
-
str = `["URLSearchParams",${stringify_string(
|
|
446
|
+
str = `["URLSearchParams",${stringify_string(ops.toStringValue(thing))}]`;
|
|
339
447
|
break;
|
|
340
448
|
case "RegExp":
|
|
341
|
-
const { source, flags } = thing;
|
|
449
|
+
const { source, flags } = ops.regExpInfo(thing);
|
|
342
450
|
str = flags ? `["RegExp",${stringify_string(source)},"${flags}"]` : `["RegExp",${stringify_string(source)}]`;
|
|
343
451
|
break;
|
|
344
452
|
case "Array": {
|
|
345
453
|
let mostly_dense = false;
|
|
454
|
+
const length = ops.lengthOf(thing);
|
|
346
455
|
str = "[";
|
|
347
|
-
for (let i = 0; i <
|
|
456
|
+
for (let i = 0; i < length; i += 1) {
|
|
348
457
|
if (i > 0) str += ",";
|
|
349
|
-
if (
|
|
458
|
+
if (ops.hasOwn(thing, i)) {
|
|
350
459
|
keys.push(`[${i}]`);
|
|
351
|
-
str += flatten(thing
|
|
460
|
+
str += flatten(ops.get(thing, i));
|
|
352
461
|
keys.pop();
|
|
353
462
|
} else if (mostly_dense) str += -2;
|
|
354
463
|
else {
|
|
355
|
-
const populated_keys =
|
|
464
|
+
const populated_keys = ops.indicesOf(thing);
|
|
356
465
|
const population = populated_keys.length;
|
|
357
|
-
const d = String(
|
|
358
|
-
if ((
|
|
359
|
-
str = "[-7," +
|
|
466
|
+
const d = String(length).length;
|
|
467
|
+
if ((length - population) * 3 > 4 + d + population * (d + 1)) {
|
|
468
|
+
str = "[-7," + length;
|
|
360
469
|
for (let j = 0; j < populated_keys.length; j++) {
|
|
361
470
|
const key = populated_keys[j];
|
|
362
471
|
keys.push(`[${key}]`);
|
|
363
|
-
str += "," + key + "," + flatten(thing
|
|
472
|
+
str += "," + key + "," + flatten(ops.get(thing, key));
|
|
364
473
|
keys.pop();
|
|
365
474
|
}
|
|
366
475
|
break;
|
|
@@ -375,13 +484,15 @@ function run(async, value, reducers) {
|
|
|
375
484
|
}
|
|
376
485
|
case "Set":
|
|
377
486
|
str = "[\"Set\"";
|
|
378
|
-
for (const value of thing) str += `,${flatten(value)}`;
|
|
487
|
+
for (const value of ops.valuesOf(thing)) str += `,${flatten(value)}`;
|
|
379
488
|
str += "]";
|
|
380
489
|
break;
|
|
381
490
|
case "Map":
|
|
382
491
|
str = "[\"Map\"";
|
|
383
|
-
for (const [key, value] of thing) {
|
|
384
|
-
|
|
492
|
+
for (const [key, value] of ops.entriesOf(thing)) {
|
|
493
|
+
const key_type = ops.typeOf(key);
|
|
494
|
+
const key_is_primitive = key_type !== "object" && key_type !== "function" && key_type !== "symbol";
|
|
495
|
+
keys.push(`.get(${key_is_primitive ? stringify_primitive(ops.toPrimitive(key)) : "..."})`);
|
|
385
496
|
str += `,${flatten(key)},${flatten(value)}`;
|
|
386
497
|
keys.pop();
|
|
387
498
|
}
|
|
@@ -398,17 +509,22 @@ function run(async, value, reducers) {
|
|
|
398
509
|
case "Float32Array":
|
|
399
510
|
case "Float64Array":
|
|
400
511
|
case "BigInt64Array":
|
|
401
|
-
case "BigUint64Array":
|
|
512
|
+
case "BigUint64Array": {
|
|
513
|
+
const info = ops.viewInfo(thing);
|
|
514
|
+
str = "[\"" + tag + "\"," + flatten(info.buffer);
|
|
515
|
+
if (info.byteLength !== info.bufferByteLength) str += `,${info.byteOffset},${info.length}`;
|
|
516
|
+
str += "]";
|
|
517
|
+
break;
|
|
518
|
+
}
|
|
402
519
|
case "DataView": {
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
if (typedArray.byteLength !== typedArray.buffer.byteLength) str += `,${typedArray.byteOffset},${typedArray.length}`;
|
|
520
|
+
const info = ops.viewInfo(thing);
|
|
521
|
+
str = "[\"" + tag + "\"," + flatten(info.buffer);
|
|
522
|
+
if (info.byteLength !== info.bufferByteLength) str += `,${info.byteOffset},${info.byteLength}`;
|
|
407
523
|
str += "]";
|
|
408
524
|
break;
|
|
409
525
|
}
|
|
410
526
|
case "ArrayBuffer":
|
|
411
|
-
str = `["ArrayBuffer","${encode64(thing)}"]`;
|
|
527
|
+
str = `["ArrayBuffer","${encode64(ops.toArrayBuffer(thing))}"]`;
|
|
412
528
|
break;
|
|
413
529
|
case "Temporal.Duration":
|
|
414
530
|
case "Temporal.Instant":
|
|
@@ -418,33 +534,35 @@ function run(async, value, reducers) {
|
|
|
418
534
|
case "Temporal.PlainMonthDay":
|
|
419
535
|
case "Temporal.PlainYearMonth":
|
|
420
536
|
case "Temporal.ZonedDateTime":
|
|
421
|
-
str = `["${
|
|
537
|
+
str = `["${tag}",${stringify_string(ops.toStringValue(thing))}]`;
|
|
422
538
|
break;
|
|
423
|
-
default:
|
|
424
|
-
|
|
425
|
-
if (
|
|
426
|
-
if (
|
|
539
|
+
default: {
|
|
540
|
+
const shape = ops.shapeOf(thing);
|
|
541
|
+
if (shape.kind === "not-plain") throw new DevalueError(`Cannot stringify arbitrary non-POJOs`, keys, thing, value);
|
|
542
|
+
if (shape.kind === "symbol-keys") throw new DevalueError(`Cannot stringify POJOs with symbolic keys`, keys, thing, value);
|
|
543
|
+
if (shape.kind === "null-proto") {
|
|
427
544
|
str = "[\"null\"";
|
|
428
|
-
for (const key of
|
|
545
|
+
for (const key of shape.keys) {
|
|
429
546
|
if (key === "__proto__") throw new DevalueError(`Cannot stringify objects with __proto__ keys`, keys, thing, value);
|
|
430
547
|
keys.push(stringify_key(key));
|
|
431
|
-
str += `,${stringify_string(key)},${flatten(thing
|
|
548
|
+
str += `,${stringify_string(key)},${flatten(ops.get(thing, key))}`;
|
|
432
549
|
keys.pop();
|
|
433
550
|
}
|
|
434
551
|
str += "]";
|
|
435
552
|
} else {
|
|
436
553
|
str = "{";
|
|
437
554
|
let started = false;
|
|
438
|
-
for (const key of
|
|
555
|
+
for (const key of shape.keys) {
|
|
439
556
|
if (key === "__proto__") throw new DevalueError(`Cannot stringify objects with __proto__ keys`, keys, thing, value);
|
|
440
557
|
if (started) str += ",";
|
|
441
558
|
started = true;
|
|
442
559
|
keys.push(stringify_key(key));
|
|
443
|
-
str += `${stringify_string(key)}:${flatten(thing
|
|
560
|
+
str += `${stringify_string(key)}:${flatten(ops.get(thing, key))}`;
|
|
444
561
|
keys.pop();
|
|
445
562
|
}
|
|
446
563
|
str += "}";
|
|
447
564
|
}
|
|
565
|
+
}
|
|
448
566
|
}
|
|
449
567
|
}
|
|
450
568
|
stringified[index] = str;
|
|
@@ -466,8 +584,7 @@ function stringify_primitive(thing) {
|
|
|
466
584
|
if (type === "bigint") return `["BigInt","${thing}"]`;
|
|
467
585
|
return String(thing);
|
|
468
586
|
}
|
|
469
|
-
|
|
470
|
-
//#region ../../node_modules/.pnpm/@sveltejs+kit@2.70.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.9_@typescript-eslin_08bef01bde8c45f52f20ef8da13b7bd4/node_modules/@sveltejs/kit/src/runtime/utils.js
|
|
587
|
+
// ../../node_modules/.pnpm/@sveltejs+kit@2.70.3_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.9_@typescript-eslin_bc5a1fa668e531387d6dc06fbe69dabc/node_modules/@sveltejs/kit/src/runtime/utils.js
|
|
471
588
|
var text_encoder = new TextEncoder();
|
|
472
589
|
/**
|
|
473
590
|
* Like node's path.relative, but without using node
|
|
@@ -510,8 +627,7 @@ function base64_decode(encoded) {
|
|
|
510
627
|
for (let i = 0; i < binary.length; i++) bytes[i] = binary.charCodeAt(i);
|
|
511
628
|
return bytes;
|
|
512
629
|
}
|
|
513
|
-
|
|
514
|
-
//#region ../../node_modules/.pnpm/@sveltejs+kit@2.70.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.9_@typescript-eslin_08bef01bde8c45f52f20ef8da13b7bd4/node_modules/@sveltejs/kit/src/utils/error.js
|
|
630
|
+
// ../../node_modules/.pnpm/@sveltejs+kit@2.70.3_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.9_@typescript-eslin_bc5a1fa668e531387d6dc06fbe69dabc/node_modules/@sveltejs/kit/src/utils/error.js
|
|
515
631
|
/**
|
|
516
632
|
* @param {unknown} err
|
|
517
633
|
* @return {Error}
|
|
@@ -664,7 +780,7 @@ function with_request_store(store, fn) {
|
|
|
664
780
|
}
|
|
665
781
|
}
|
|
666
782
|
|
|
667
|
-
|
|
783
|
+
// ../../node_modules/.pnpm/@sveltejs+kit@2.70.3_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.9_@typescript-eslin_bc5a1fa668e531387d6dc06fbe69dabc/node_modules/@sveltejs/kit/src/utils/array.js
|
|
668
784
|
/**
|
|
669
785
|
* Removes nullish values from an array.
|
|
670
786
|
*
|
|
@@ -677,8 +793,7 @@ function compact(arr) {
|
|
|
677
793
|
(val) => val != null
|
|
678
794
|
);
|
|
679
795
|
}
|
|
680
|
-
|
|
681
|
-
//#region ../../node_modules/.pnpm/@sveltejs+kit@2.70.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.9_@typescript-eslin_08bef01bde8c45f52f20ef8da13b7bd4/node_modules/@sveltejs/kit/src/runtime/pathname.js
|
|
796
|
+
// ../../node_modules/.pnpm/@sveltejs+kit@2.70.3_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.9_@typescript-eslin_bc5a1fa668e531387d6dc06fbe69dabc/node_modules/@sveltejs/kit/src/runtime/pathname.js
|
|
682
797
|
var DATA_SUFFIX = "/__data.json";
|
|
683
798
|
var HTML_DATA_SUFFIX = ".html__data.json";
|
|
684
799
|
/** @param {string} pathname */
|
|
@@ -718,8 +833,7 @@ function add_resolution_suffix(pathname) {
|
|
|
718
833
|
function strip_resolution_suffix(pathname) {
|
|
719
834
|
return pathname.slice(0, -11);
|
|
720
835
|
}
|
|
721
|
-
|
|
722
|
-
//#region ../../node_modules/.pnpm/@sveltejs+kit@2.70.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.9_@typescript-eslin_08bef01bde8c45f52f20ef8da13b7bd4/node_modules/@sveltejs/kit/src/runtime/telemetry/noop.js
|
|
836
|
+
// ../../node_modules/.pnpm/@sveltejs+kit@2.70.3_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.9_@typescript-eslin_bc5a1fa668e531387d6dc06fbe69dabc/node_modules/@sveltejs/kit/src/runtime/telemetry/noop.js
|
|
723
837
|
/**
|
|
724
838
|
* @type {Span}
|
|
725
839
|
*/
|
|
@@ -879,8 +993,7 @@ function allow_nodejs_console_log(url) {
|
|
|
879
993
|
return inspect(new URL(url), opts);
|
|
880
994
|
};
|
|
881
995
|
}
|
|
882
|
-
|
|
883
|
-
//#region ../../node_modules/.pnpm/@sveltejs+kit@2.70.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.9_@typescript-eslin_08bef01bde8c45f52f20ef8da13b7bd4/node_modules/@sveltejs/kit/src/utils/hash.js
|
|
996
|
+
// ../../node_modules/.pnpm/@sveltejs+kit@2.70.3_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.9_@typescript-eslin_bc5a1fa668e531387d6dc06fbe69dabc/node_modules/@sveltejs/kit/src/utils/hash.js
|
|
884
997
|
/**
|
|
885
998
|
* Hash using djb2
|
|
886
999
|
* @param {import('types').StrictBody[]} values
|
|
@@ -897,8 +1010,7 @@ function hash(...values) {
|
|
|
897
1010
|
} else throw new TypeError("value must be a string or TypedArray");
|
|
898
1011
|
return (hash >>> 0).toString(36);
|
|
899
1012
|
}
|
|
900
|
-
|
|
901
|
-
//#region ../../node_modules/.pnpm/@sveltejs+kit@2.70.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.9_@typescript-eslin_08bef01bde8c45f52f20ef8da13b7bd4/node_modules/@sveltejs/kit/src/utils/routing.js
|
|
1013
|
+
// ../../node_modules/.pnpm/@sveltejs+kit@2.70.3_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.9_@typescript-eslin_bc5a1fa668e531387d6dc06fbe69dabc/node_modules/@sveltejs/kit/src/utils/routing.js
|
|
902
1014
|
/**
|
|
903
1015
|
* @param {RegExpMatchArray} match
|
|
904
1016
|
* @param {import('types').RouteParam[]} params
|
|
@@ -917,8 +1029,10 @@ function exec(match, params, matchers) {
|
|
|
917
1029
|
value = values.slice(i - buffered, i + 1).filter((s) => s).join("/");
|
|
918
1030
|
buffered = 0;
|
|
919
1031
|
}
|
|
920
|
-
if (value === void 0)
|
|
921
|
-
|
|
1032
|
+
if (value === void 0) {
|
|
1033
|
+
if (param.rest) value = "";
|
|
1034
|
+
else continue;
|
|
1035
|
+
}
|
|
922
1036
|
if (!param.matcher || matchers[param.matcher](value)) {
|
|
923
1037
|
result[param.name] = value;
|
|
924
1038
|
const next_param = params[i + 1];
|
|
@@ -956,8 +1070,7 @@ function find_route(path, routes, matchers) {
|
|
|
956
1070
|
}
|
|
957
1071
|
return null;
|
|
958
1072
|
}
|
|
959
|
-
|
|
960
|
-
//#region ../../node_modules/.pnpm/@sveltejs+kit@2.70.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.9_@typescript-eslin_08bef01bde8c45f52f20ef8da13b7bd4/node_modules/@sveltejs/kit/src/utils/exports.js
|
|
1073
|
+
// ../../node_modules/.pnpm/@sveltejs+kit@2.70.3_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.9_@typescript-eslin_bc5a1fa668e531387d6dc06fbe69dabc/node_modules/@sveltejs/kit/src/utils/exports.js
|
|
961
1074
|
/**
|
|
962
1075
|
* @param {Set<string>} expected
|
|
963
1076
|
*/
|
|
@@ -991,7 +1104,7 @@ function hint_for_supported_files(key, ext = ".js") {
|
|
|
991
1104
|
if (valid_server_exports.has(key)) supported_files.push(`+server${ext}`);
|
|
992
1105
|
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)}`;
|
|
993
1106
|
}
|
|
994
|
-
var valid_layout_exports = new Set([
|
|
1107
|
+
var valid_layout_exports = /* @__PURE__ */ new Set([
|
|
995
1108
|
"load",
|
|
996
1109
|
"prerender",
|
|
997
1110
|
"csr",
|
|
@@ -999,14 +1112,14 @@ var valid_layout_exports = new Set([
|
|
|
999
1112
|
"trailingSlash",
|
|
1000
1113
|
"config"
|
|
1001
1114
|
]);
|
|
1002
|
-
var valid_page_exports = new Set([...valid_layout_exports, "entries"]);
|
|
1003
|
-
var valid_layout_server_exports = new Set([...valid_layout_exports]);
|
|
1004
|
-
var valid_page_server_exports = new Set([
|
|
1115
|
+
var valid_page_exports = /* @__PURE__ */ new Set([...valid_layout_exports, "entries"]);
|
|
1116
|
+
var valid_layout_server_exports = /* @__PURE__ */ new Set([...valid_layout_exports]);
|
|
1117
|
+
var valid_page_server_exports = /* @__PURE__ */ new Set([
|
|
1005
1118
|
...valid_layout_server_exports,
|
|
1006
1119
|
"actions",
|
|
1007
1120
|
"entries"
|
|
1008
1121
|
]);
|
|
1009
|
-
var valid_server_exports = new Set([
|
|
1122
|
+
var valid_server_exports = /* @__PURE__ */ new Set([
|
|
1010
1123
|
"GET",
|
|
1011
1124
|
"POST",
|
|
1012
1125
|
"PATCH",
|
|
@@ -1025,13 +1138,23 @@ var validate_page_exports = validator(valid_page_exports);
|
|
|
1025
1138
|
var validate_layout_server_exports = validator(valid_layout_server_exports);
|
|
1026
1139
|
var validate_page_server_exports = validator(valid_page_server_exports);
|
|
1027
1140
|
|
|
1028
|
-
|
|
1141
|
+
/**
|
|
1142
|
+
* `$env/dynamic/public`
|
|
1143
|
+
* @type {Record<string, string>}
|
|
1144
|
+
*/
|
|
1145
|
+
var public_env = {};
|
|
1146
|
+
/** @type {(environment: Record<string, string>) => void} */
|
|
1147
|
+
function set_private_env(environment) {}
|
|
1148
|
+
/** @type {(environment: Record<string, string>) => void} */
|
|
1149
|
+
function set_public_env(environment) {
|
|
1150
|
+
public_env = environment;
|
|
1151
|
+
}
|
|
1152
|
+
// \0virtual:__sveltekit/server
|
|
1029
1153
|
var read_implementation = null;
|
|
1030
1154
|
function set_read_implementation(fn) {
|
|
1031
1155
|
read_implementation = fn;
|
|
1032
1156
|
}
|
|
1033
|
-
|
|
1034
|
-
//#region ../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.60.0/node_modules/svelte/src/internal/client/dom/elements/events.js
|
|
1157
|
+
// ../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.60.0/node_modules/svelte/src/internal/client/dom/elements/events.js
|
|
1035
1158
|
/**
|
|
1036
1159
|
* Used on elements, as a map of event type -> event handler,
|
|
1037
1160
|
* and on events themselves to track which element handled an event
|
|
@@ -1113,8 +1236,7 @@ function handle_event_propagation(event) {
|
|
|
1113
1236
|
set_active_effect(previous_effect);
|
|
1114
1237
|
}
|
|
1115
1238
|
}
|
|
1116
|
-
|
|
1117
|
-
//#region ../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.60.0/node_modules/svelte/src/internal/client/dom/template.js
|
|
1239
|
+
// ../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.60.0/node_modules/svelte/src/internal/client/dom/template.js
|
|
1118
1240
|
/**
|
|
1119
1241
|
* @param {TemplateNode} start
|
|
1120
1242
|
* @param {TemplateNode | null} end
|
|
@@ -1303,8 +1425,7 @@ function unmount$1(component, options) {
|
|
|
1303
1425
|
}
|
|
1304
1426
|
return Promise.resolve();
|
|
1305
1427
|
}
|
|
1306
|
-
|
|
1307
|
-
//#region ../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.60.0/node_modules/svelte/src/legacy/legacy-client.js
|
|
1428
|
+
// ../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.60.0/node_modules/svelte/src/legacy/legacy-client.js
|
|
1308
1429
|
/** @import { ComponentConstructorOptions, ComponentType, SvelteComponent, Component } from 'svelte' */
|
|
1309
1430
|
/**
|
|
1310
1431
|
* Takes the component function and returns a Svelte 4 compatible component constructor.
|
|
@@ -1428,8 +1549,7 @@ var Svelte4Component = class {
|
|
|
1428
1549
|
this.#instance.$destroy();
|
|
1429
1550
|
}
|
|
1430
1551
|
};
|
|
1431
|
-
|
|
1432
|
-
//#region ../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.60.0/node_modules/svelte/src/legacy/legacy-server.js
|
|
1552
|
+
// ../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.60.0/node_modules/svelte/src/legacy/legacy-server.js
|
|
1433
1553
|
/** @import { SvelteComponent } from '../index.js' */
|
|
1434
1554
|
/** @import { Csp } from '#server' */
|
|
1435
1555
|
/** @typedef {{ head: string, html: string, css: { code: string, map: null }; hashes?: { script: `sha256-${string}`[] } }} LegacyRenderResult */
|
|
@@ -1488,8 +1608,7 @@ value: (onfulfilled, onrejected) => {
|
|
|
1488
1608
|
component_constructor.render = _render;
|
|
1489
1609
|
return component_constructor;
|
|
1490
1610
|
}
|
|
1491
|
-
|
|
1492
|
-
//#region ../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.60.0/node_modules/svelte/src/internal/server/hydratable.js
|
|
1611
|
+
// ../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.60.0/node_modules/svelte/src/internal/server/hydratable.js
|
|
1493
1612
|
/** @import { HydratableLookupEntry } from '#server' */
|
|
1494
1613
|
/**
|
|
1495
1614
|
* @template T
|
|
@@ -1549,8 +1668,7 @@ function serialization_stack(root_stack, uneval_stack) {
|
|
|
1549
1668
|
if (uneval_stack) out += "Caused by:\n" + uneval_stack + "\n";
|
|
1550
1669
|
return out || "<missing stack trace>";
|
|
1551
1670
|
}
|
|
1552
|
-
|
|
1553
|
-
//#region ../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.60.0/node_modules/svelte/src/internal/server/blocks/snippet.js
|
|
1671
|
+
// ../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.60.0/node_modules/svelte/src/internal/server/blocks/snippet.js
|
|
1554
1672
|
/** @import { Snippet } from 'svelte' */
|
|
1555
1673
|
/** @import { Renderer } from '../renderer' */
|
|
1556
1674
|
/** @import { Getters } from '#shared' */
|
|
@@ -1569,8 +1687,7 @@ function createRawSnippet(fn) {
|
|
|
1569
1687
|
renderer.push(fn(...getters).render().trim());
|
|
1570
1688
|
};
|
|
1571
1689
|
}
|
|
1572
|
-
|
|
1573
|
-
//#region ../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.60.0/node_modules/svelte/src/index-server.js
|
|
1690
|
+
// ../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.60.0/node_modules/svelte/src/index-server.js
|
|
1574
1691
|
/** @import { SSRContext } from '#server' */
|
|
1575
1692
|
/** @import { Renderer } from './internal/server/renderer.js' */
|
|
1576
1693
|
var index_server_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -1617,8 +1734,7 @@ function fork() {
|
|
|
1617
1734
|
}
|
|
1618
1735
|
async function tick() {}
|
|
1619
1736
|
async function settled() {}
|
|
1620
|
-
|
|
1621
|
-
//#region .svelte-kit/generated/root.svelte
|
|
1737
|
+
// .svelte-kit/generated/root.svelte
|
|
1622
1738
|
function Root($$renderer, $$props) {
|
|
1623
1739
|
$$renderer.component(($$renderer) => {
|
|
1624
1740
|
let { stores, page, constructors, components = [], form, data_0 = null, data_1 = null } = $$props;
|
|
@@ -1676,14 +1792,11 @@ function Root($$renderer, $$props) {
|
|
|
1676
1792
|
$$renderer.push(`<!--]-->`);
|
|
1677
1793
|
});
|
|
1678
1794
|
}
|
|
1679
|
-
|
|
1680
|
-
//#region .svelte-kit/generated/root.js
|
|
1795
|
+
// .svelte-kit/generated/root.js
|
|
1681
1796
|
var root_default = asClassComponent(Root);
|
|
1682
|
-
|
|
1683
|
-
//#region .svelte-kit/generated/shared/error-template.js
|
|
1797
|
+
// .svelte-kit/generated/shared/error-template.js
|
|
1684
1798
|
var error_template_default = ({ 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";
|
|
1685
|
-
|
|
1686
|
-
//#region .svelte-kit/generated/server/internal.js
|
|
1799
|
+
// .svelte-kit/generated/server/internal.js
|
|
1687
1800
|
var options = {
|
|
1688
1801
|
app_template_contains_nonce: false,
|
|
1689
1802
|
async: false,
|
|
@@ -1714,7 +1827,7 @@ var options = {
|
|
|
1714
1827
|
app: ({ head, body, assets, nonce, env }) => "<!doctype html>\n<html lang=\"en\">\n <head>\n <meta charset=\"utf-8\" />\n <link rel=\"icon\" href=\"" + assets + "/favicon.png\" />\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",
|
|
1715
1828
|
error: error_template_default
|
|
1716
1829
|
},
|
|
1717
|
-
version_hash: "
|
|
1830
|
+
version_hash: "e6a37d"
|
|
1718
1831
|
};
|
|
1719
1832
|
async function get_hooks() {
|
|
1720
1833
|
let handle;
|
|
@@ -1722,7 +1835,7 @@ async function get_hooks() {
|
|
|
1722
1835
|
let handleError;
|
|
1723
1836
|
let handleValidationError;
|
|
1724
1837
|
let init;
|
|
1725
|
-
({handle, handleFetch, handleError, handleValidationError, init} = await import('./hooks.server-
|
|
1838
|
+
({handle, handleFetch, handleError, handleValidationError, init} = await import('./hooks.server-CU_-pzVZ.js'));
|
|
1726
1839
|
let reroute;
|
|
1727
1840
|
let transport;
|
|
1728
1841
|
return {
|
|
@@ -1736,5 +1849,5 @@ async function get_hooks() {
|
|
|
1736
1849
|
};
|
|
1737
1850
|
}
|
|
1738
1851
|
|
|
1739
|
-
export { options as A, parse as B, parse_remote_arg as C,
|
|
1740
|
-
//# sourceMappingURL=internal2-
|
|
1852
|
+
export { options as A, parse as B, parse_remote_arg as C, public_env as D, read_implementation as E, resolve as F, set_private_env as G, set_public_env as H, INVALIDATED_PARAM as I, set_read_implementation as J, split_remote_key as K, stringify as L, stringify$1 as M, strip_data_suffix as N, strip_resolution_suffix as O, text_encoder as P, tick as Q, validate_layout_exports as R, validate_layout_server_exports as S, TRAILING_SLASH_PARAM as T, validate_page_exports as U, validate_page_server_exports as V, with_request_store as W, __commonJSMin as _, __require as a, __toESM as b, add_data_suffix as c, add_resolution_suffix as d, base64_encode as e, coalesce_to_error as f, compact as g, create_remote_key as h, decode_pathname as i, disable_search as j, find_route as k, get_hooks as l, get_message as m, get_relative_path as n, get_status as o, has_data_suffix as p, has_resolution_suffix as q, hash as r, index_server_exports as s, make_trackable as t, noop as u, noop_span as v, normalize_error as w, normalize_path as x, onDestroy as y, once as z };
|
|
1853
|
+
//# sourceMappingURL=internal2-Dgkl_mbK.js.map
|