konoha-mcp 2.1.2 → 2.1.4
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/README.md +4 -4
- package/apps/web/build/adapter-node.js +11 -0
- package/apps/web/build/client/_app/immutable/chunks/BH86Md_X.js +1 -0
- package/apps/web/build/client/_app/immutable/chunks/BH86Md_X.js.br +2 -0
- package/apps/web/build/client/_app/immutable/chunks/BH86Md_X.js.gz +0 -0
- package/apps/web/build/client/_app/immutable/chunks/BaNbYf_w.js +1 -0
- package/apps/web/build/client/_app/immutable/chunks/BaNbYf_w.js.br +0 -0
- package/apps/web/build/client/_app/immutable/chunks/BaNbYf_w.js.gz +0 -0
- package/apps/web/build/client/_app/immutable/chunks/C3-t9btS.js +1 -0
- package/apps/web/build/client/_app/immutable/chunks/C3-t9btS.js.br +1 -0
- package/apps/web/build/client/_app/immutable/chunks/C3-t9btS.js.gz +0 -0
- package/apps/web/build/client/_app/immutable/chunks/{Bv85lp2r.js → CBY268r4.js} +1 -1
- package/apps/web/build/client/_app/immutable/chunks/CBY268r4.js.br +3 -0
- package/apps/web/build/client/_app/immutable/chunks/CBY268r4.js.gz +0 -0
- package/apps/web/build/client/_app/immutable/chunks/Cg3pm-K7.js +1 -0
- package/apps/web/build/client/_app/immutable/chunks/Cg3pm-K7.js.br +4 -0
- package/apps/web/build/client/_app/immutable/chunks/Cg3pm-K7.js.gz +0 -0
- package/apps/web/build/client/_app/immutable/chunks/D-Kujhko.js +1 -0
- package/apps/web/build/client/_app/immutable/chunks/D-Kujhko.js.br +0 -0
- package/apps/web/build/client/_app/immutable/chunks/D-Kujhko.js.gz +0 -0
- package/apps/web/build/client/_app/immutable/chunks/Dek69VGa.js +1 -0
- package/apps/web/build/client/_app/immutable/chunks/Dek69VGa.js.br +0 -0
- package/apps/web/build/client/_app/immutable/chunks/Dek69VGa.js.gz +0 -0
- package/apps/web/build/client/_app/immutable/chunks/{CP4ze5kR.js → Dzm74gVd.js} +1 -1
- package/apps/web/build/client/_app/immutable/chunks/Dzm74gVd.js.br +0 -0
- package/apps/web/build/client/_app/immutable/chunks/Dzm74gVd.js.gz +0 -0
- package/apps/web/build/client/_app/immutable/chunks/Lb3VuXoN.js +2 -0
- package/apps/web/build/client/_app/immutable/chunks/Lb3VuXoN.js.br +0 -0
- package/apps/web/build/client/_app/immutable/chunks/Lb3VuXoN.js.gz +0 -0
- package/apps/web/build/client/_app/immutable/chunks/PrdhfbrQ.js +3 -0
- package/apps/web/build/client/_app/immutable/chunks/PrdhfbrQ.js.br +0 -0
- package/apps/web/build/client/_app/immutable/chunks/PrdhfbrQ.js.gz +0 -0
- package/apps/web/build/client/_app/immutable/chunks/{tFx9Vkzn.js → fbrtLByB.js} +1 -1
- package/apps/web/build/client/_app/immutable/chunks/fbrtLByB.js.br +0 -0
- package/apps/web/build/client/_app/immutable/chunks/fbrtLByB.js.gz +0 -0
- package/apps/web/build/client/_app/immutable/entry/app.DwlgEXmV.js +2 -0
- package/apps/web/build/client/_app/immutable/entry/app.DwlgEXmV.js.br +0 -0
- package/apps/web/build/client/_app/immutable/entry/app.DwlgEXmV.js.gz +0 -0
- package/apps/web/build/client/_app/immutable/entry/start.CNV5BTCO.js +2 -0
- package/apps/web/build/client/_app/immutable/entry/start.CNV5BTCO.js.br +0 -0
- package/apps/web/build/client/_app/immutable/entry/start.CNV5BTCO.js.gz +0 -0
- package/apps/web/build/client/_app/immutable/nodes/{0.BV_U6rd9.js → 0.5uSjyTy0.js} +1 -1
- package/apps/web/build/client/_app/immutable/nodes/0.5uSjyTy0.js.br +0 -0
- package/apps/web/build/client/_app/immutable/nodes/0.5uSjyTy0.js.gz +0 -0
- package/apps/web/build/client/_app/immutable/nodes/{1.317ei_PM.js → 1.BZu6jsAH.js} +1 -1
- package/apps/web/build/client/_app/immutable/nodes/1.BZu6jsAH.js.br +0 -0
- package/apps/web/build/client/_app/immutable/nodes/1.BZu6jsAH.js.gz +0 -0
- package/apps/web/build/client/_app/immutable/nodes/{10.C9BHUF6_.js → 10.CZKScTFN.js} +1 -1
- package/apps/web/build/client/_app/immutable/nodes/10.CZKScTFN.js.br +0 -0
- package/apps/web/build/client/_app/immutable/nodes/10.CZKScTFN.js.gz +0 -0
- package/apps/web/build/client/_app/immutable/nodes/{11._7rmywnA.js → 11.DFglFW_i.js} +1 -1
- package/apps/web/build/client/_app/immutable/nodes/11.DFglFW_i.js.br +0 -0
- package/apps/web/build/client/_app/immutable/nodes/11.DFglFW_i.js.gz +0 -0
- package/apps/web/build/client/_app/immutable/nodes/{12.B_UJh_Cw.js → 12.CSShcv5z.js} +1 -1
- package/apps/web/build/client/_app/immutable/nodes/12.CSShcv5z.js.br +0 -0
- package/apps/web/build/client/_app/immutable/nodes/12.CSShcv5z.js.gz +0 -0
- package/apps/web/build/client/_app/immutable/nodes/{13.FtUj7AO8.js → 13.jWUWoBcs.js} +1 -1
- package/apps/web/build/client/_app/immutable/nodes/13.jWUWoBcs.js.br +0 -0
- package/apps/web/build/client/_app/immutable/nodes/13.jWUWoBcs.js.gz +0 -0
- package/apps/web/build/client/_app/immutable/nodes/{14.CsMWcbH2.js → 14.H-jSqqen.js} +1 -1
- package/apps/web/build/client/_app/immutable/nodes/14.H-jSqqen.js.br +0 -0
- package/apps/web/build/client/_app/immutable/nodes/14.H-jSqqen.js.gz +0 -0
- package/apps/web/build/client/_app/immutable/nodes/{15.DbSoDlZF.js → 15.CpAoyhzV.js} +1 -1
- package/apps/web/build/client/_app/immutable/nodes/15.CpAoyhzV.js.br +0 -0
- package/apps/web/build/client/_app/immutable/nodes/15.CpAoyhzV.js.gz +0 -0
- package/apps/web/build/client/_app/immutable/nodes/{16.BcMZYQJR.js → 16.DT_-MxCT.js} +1 -1
- package/apps/web/build/client/_app/immutable/nodes/16.DT_-MxCT.js.br +0 -0
- package/apps/web/build/client/_app/immutable/nodes/16.DT_-MxCT.js.gz +0 -0
- package/apps/web/build/client/_app/immutable/nodes/2.Dr646Vs5.js +1 -0
- package/apps/web/build/client/_app/immutable/nodes/2.Dr646Vs5.js.br +0 -0
- package/apps/web/build/client/_app/immutable/nodes/2.Dr646Vs5.js.gz +0 -0
- package/apps/web/build/client/_app/immutable/nodes/{3.Co5hy99T.js → 3.Cgc-xN3x.js} +1 -1
- package/apps/web/build/client/_app/immutable/nodes/3.Cgc-xN3x.js.br +0 -0
- package/apps/web/build/client/_app/immutable/nodes/3.Cgc-xN3x.js.gz +0 -0
- package/apps/web/build/client/_app/immutable/nodes/{4.Ckjmv74-.js → 4.CYJQ4bWz.js} +1 -1
- package/apps/web/build/client/_app/immutable/nodes/4.CYJQ4bWz.js.br +0 -0
- package/apps/web/build/client/_app/immutable/nodes/4.CYJQ4bWz.js.gz +0 -0
- package/apps/web/build/client/_app/immutable/nodes/{5.jG4rh5-7.js → 5.DbHL-3Es.js} +1 -1
- package/apps/web/build/client/_app/immutable/nodes/5.DbHL-3Es.js.br +0 -0
- package/apps/web/build/client/_app/immutable/nodes/5.DbHL-3Es.js.gz +0 -0
- package/apps/web/build/client/_app/immutable/nodes/{6.am-4Bf0e.js → 6.BvWH2qas.js} +1 -1
- package/apps/web/build/client/_app/immutable/nodes/6.BvWH2qas.js.br +0 -0
- package/apps/web/build/client/_app/immutable/nodes/6.BvWH2qas.js.gz +0 -0
- package/apps/web/build/client/_app/immutable/nodes/{7.DpWtqqaL.js → 7.CmbiPMU3.js} +1 -1
- package/apps/web/build/client/_app/immutable/nodes/7.CmbiPMU3.js.br +0 -0
- package/apps/web/build/client/_app/immutable/nodes/7.CmbiPMU3.js.gz +0 -0
- package/apps/web/build/client/_app/immutable/nodes/{8.CbbKDJTU.js → 8.B9897Zm9.js} +1 -1
- package/apps/web/build/client/_app/immutable/nodes/8.B9897Zm9.js.br +0 -0
- package/apps/web/build/client/_app/immutable/nodes/8.B9897Zm9.js.gz +0 -0
- package/apps/web/build/client/_app/immutable/nodes/{9.CB21-Q9D.js → 9.CVBlvZqX.js} +1 -1
- package/apps/web/build/client/_app/immutable/nodes/9.CVBlvZqX.js.br +0 -0
- package/apps/web/build/client/_app/immutable/nodes/9.CVBlvZqX.js.gz +0 -0
- package/apps/web/build/client/_app/version.json +1 -1
- package/apps/web/build/client/_app/version.json.br +0 -0
- package/apps/web/build/client/_app/version.json.gz +0 -0
- package/apps/web/build/handler.js +1 -2
- package/apps/web/build/index.js +1 -74
- package/apps/web/build/server/.vite/manifest.json +419 -0
- package/apps/web/build/server/_app/immutable/assets/_layout.CsjxL1aa.css +2 -0
- package/apps/web/build/server/adapter-env.js +2 -0
- package/apps/web/build/server/adapter-index.js +74 -0
- package/apps/web/build/server/adapter-index.js.map +1 -0
- package/apps/web/build/server/{chunks/env-RhfAqpCd.js → adapter-node-env.js} +28 -7
- package/apps/web/build/server/adapter-node-env.js.map +1 -0
- package/apps/web/build/server/adapter-node-handler.js +584 -0
- package/apps/web/build/server/adapter-node-handler.js.map +1 -0
- package/apps/web/build/server/chunks/api.js +81 -0
- package/apps/web/build/server/chunks/api.js.map +1 -0
- package/apps/web/build/server/chunks/{env-DU2WieJy.js → config.js} +2 -2
- package/apps/web/build/server/chunks/config.js.map +1 -0
- package/apps/web/build/server/chunks/exports.js +625 -0
- package/apps/web/build/server/chunks/exports.js.map +1 -0
- package/apps/web/build/server/chunks/functions.js +30 -0
- package/apps/web/build/server/chunks/functions.js.map +1 -0
- package/apps/web/build/server/chunks/index-server.js +2 -0
- package/apps/web/build/server/chunks/instance.js +3600 -0
- package/apps/web/build/server/chunks/instance.js.map +1 -0
- package/apps/web/build/server/chunks/internal.js +2849 -0
- package/apps/web/build/server/chunks/internal.js.map +1 -0
- package/apps/web/build/server/chunks/scrollLock.svelte.js +7 -0
- package/apps/web/build/server/chunks/scrollLock.svelte.js.map +1 -0
- package/apps/web/build/server/chunks/server-errors.js +489 -0
- package/apps/web/build/server/chunks/server-errors.js.map +1 -0
- package/apps/web/build/server/chunks/server.js +9 -0
- package/apps/web/build/server/chunks/server.js.map +1 -0
- package/apps/web/build/server/chunks/{server2-xUKEUzWG.js → server2.js} +140 -718
- package/apps/web/build/server/chunks/server2.js.map +1 -0
- package/apps/web/build/server/chunks/shared.js +84 -0
- package/apps/web/build/server/chunks/shared.js.map +1 -0
- package/apps/web/build/server/chunks/{state-C6VH2NAw.js → state.js} +5 -4
- package/apps/web/build/server/chunks/state.js.map +1 -0
- package/apps/web/build/server/chunks/{sweetAlert.svelte-BKTpmvHp.js → sweetAlert.svelte.js} +3 -3
- package/apps/web/build/server/chunks/sweetAlert.svelte.js.map +1 -0
- package/apps/web/build/server/chunks/{uiState.svelte-NgyZk5Jz.js → uiState.svelte.js} +3 -3
- package/apps/web/build/server/chunks/uiState.svelte.js.map +1 -0
- package/apps/web/build/server/chunks/uneval.js +645 -0
- package/apps/web/build/server/chunks/uneval.js.map +1 -0
- package/apps/web/build/server/entries/fallbacks/error.svelte.js +12 -0
- package/apps/web/build/server/entries/fallbacks/error.svelte.js.map +1 -0
- package/apps/web/build/server/entries/hooks.server.js +8 -0
- package/apps/web/build/server/entries/hooks.server.js.map +1 -0
- package/apps/web/build/server/entries/pages/_layout.js +7 -0
- package/apps/web/build/server/entries/pages/_layout.js.map +1 -0
- package/apps/web/build/server/{chunks/_layout.svelte-FKDEmK4m.js → entries/pages/_layout.svelte.js} +15 -8
- package/apps/web/build/server/entries/pages/_layout.svelte.js.map +1 -0
- package/apps/web/build/server/entries/pages/_page.js +9 -0
- package/apps/web/build/server/entries/pages/_page.js.map +1 -0
- package/apps/web/build/server/entries/pages/_page.svelte.js +7 -0
- package/apps/web/build/server/entries/pages/_page.svelte.js.map +1 -0
- package/apps/web/build/server/{chunks/_page.svelte-K0WRgefN.js → entries/pages/agents/_page.svelte.js} +8 -5
- package/apps/web/build/server/entries/pages/agents/_page.svelte.js.map +1 -0
- package/apps/web/build/server/{chunks/_page.svelte-BKU-UjQ2.js → entries/pages/bridges/_page.svelte.js} +9 -6
- package/apps/web/build/server/entries/pages/bridges/_page.svelte.js.map +1 -0
- package/apps/web/build/server/{chunks/_page.svelte-DBQMj6O8.js → entries/pages/clients/_page.svelte.js} +8 -5
- package/apps/web/build/server/entries/pages/clients/_page.svelte.js.map +1 -0
- package/apps/web/build/server/{chunks/_page.svelte-BQP0Z2mg.js → entries/pages/context/_page.svelte.js} +9 -6
- package/apps/web/build/server/entries/pages/context/_page.svelte.js.map +1 -0
- package/apps/web/build/server/{chunks/_page.svelte-D_bQaPtJ.js → entries/pages/dashboard/_page.svelte.js} +7 -4
- package/apps/web/build/server/entries/pages/dashboard/_page.svelte.js.map +1 -0
- package/apps/web/build/server/{chunks/_page.svelte-CxxsZeRm.js → entries/pages/detector/_page.svelte.js} +5 -3
- package/apps/web/build/server/entries/pages/detector/_page.svelte.js.map +1 -0
- package/apps/web/build/server/{chunks/_page.svelte-DJp9fAk8.js → entries/pages/docs/_page.svelte.js} +7 -4
- package/apps/web/build/server/entries/pages/docs/_page.svelte.js.map +1 -0
- package/apps/web/build/server/{chunks/_page.svelte-DFBbcBLc.js → entries/pages/doctor/_page.svelte.js} +8 -5
- package/apps/web/build/server/entries/pages/doctor/_page.svelte.js.map +1 -0
- package/apps/web/build/server/{chunks/_page.svelte-yXv2Aj6-.js → entries/pages/persona/_page.svelte.js} +9 -6
- package/apps/web/build/server/entries/pages/persona/_page.svelte.js.map +1 -0
- package/apps/web/build/server/{chunks/_page.svelte-CvH3pIDb.js → entries/pages/savings/_page.svelte.js} +7 -4
- package/apps/web/build/server/entries/pages/savings/_page.svelte.js.map +1 -0
- package/apps/web/build/server/{chunks/_page.svelte-FUbd8bWv.js → entries/pages/search/_page.svelte.js} +9 -6
- package/apps/web/build/server/entries/pages/search/_page.svelte.js.map +1 -0
- package/apps/web/build/server/{chunks/_page.svelte-Bu5RfcD4.js → entries/pages/semble/_page.svelte.js} +8 -5
- package/apps/web/build/server/entries/pages/semble/_page.svelte.js.map +1 -0
- package/apps/web/build/server/{chunks/_page.svelte-B4DKG2sO.js → entries/pages/skills/_page.svelte.js} +10 -7
- package/apps/web/build/server/entries/pages/skills/_page.svelte.js.map +1 -0
- package/apps/web/build/server/{chunks/_page.svelte-D1yHfBBh.js → entries/pages/tasks/_page.svelte.js} +8 -83
- package/apps/web/build/server/entries/pages/tasks/_page.svelte.js.map +1 -0
- package/apps/web/build/{env.js → server/env.js} +1 -1
- package/apps/web/build/server/handler.js +2 -0
- package/apps/web/build/server/index.js +68 -0
- package/apps/web/build/server/index.js.map +1 -0
- package/apps/web/build/server/manifest-full.js +149 -0
- package/apps/web/build/server/manifest.js +149 -0
- package/apps/web/build/server/nodes/0.js +10 -0
- package/apps/web/build/server/nodes/1.js +8 -0
- package/apps/web/build/server/nodes/10.js +8 -0
- package/apps/web/build/server/nodes/11.js +8 -0
- package/apps/web/build/server/nodes/12.js +8 -0
- package/apps/web/build/server/nodes/13.js +8 -0
- package/apps/web/build/server/nodes/14.js +8 -0
- package/apps/web/build/server/nodes/15.js +8 -0
- package/apps/web/build/server/nodes/16.js +8 -0
- package/apps/web/build/server/nodes/2.js +10 -0
- package/apps/web/build/server/nodes/3.js +8 -0
- package/apps/web/build/server/nodes/4.js +8 -0
- package/apps/web/build/server/nodes/5.js +8 -0
- package/apps/web/build/server/nodes/6.js +8 -0
- package/apps/web/build/server/nodes/7.js +8 -0
- package/apps/web/build/server/nodes/8.js +8 -0
- package/apps/web/build/server/nodes/9.js +8 -0
- package/apps/web/build/server/remote-entry.js +1565 -0
- package/apps/web/build/server/remote-entry.js.map +1 -0
- package/apps/web/build/server/server.js +151 -0
- package/apps/web/package.json +10 -9
- package/bin/cli.js +20 -31
- package/docs/SETUP-CLI.md +2 -2
- package/docs/SETUP-IDE.md +1 -1
- package/docs/SecurityCompliance/security_compliance_report_google_policy_2.1.3_2026-10-06.md +66 -0
- package/docs/SecurityCompliance/security_compliance_report_google_policy_2.1.4_2026-10-06.md +77 -0
- package/package.json +8 -8
- package/apps/web/build/adapter-env.js +0 -2
- package/apps/web/build/client/_app/immutable/chunks/Ae0obco1.js +0 -3
- package/apps/web/build/client/_app/immutable/chunks/Ae0obco1.js.br +0 -0
- package/apps/web/build/client/_app/immutable/chunks/Ae0obco1.js.gz +0 -0
- package/apps/web/build/client/_app/immutable/chunks/BUgOhUo6.js +0 -1
- package/apps/web/build/client/_app/immutable/chunks/BUgOhUo6.js.br +0 -1
- package/apps/web/build/client/_app/immutable/chunks/BUgOhUo6.js.gz +0 -0
- package/apps/web/build/client/_app/immutable/chunks/Bv85lp2r.js.br +0 -3
- package/apps/web/build/client/_app/immutable/chunks/Bv85lp2r.js.gz +0 -0
- package/apps/web/build/client/_app/immutable/chunks/CP0LAeYI.js +0 -2
- package/apps/web/build/client/_app/immutable/chunks/CP0LAeYI.js.br +0 -0
- package/apps/web/build/client/_app/immutable/chunks/CP0LAeYI.js.gz +0 -0
- package/apps/web/build/client/_app/immutable/chunks/CP4ze5kR.js.br +0 -0
- package/apps/web/build/client/_app/immutable/chunks/CP4ze5kR.js.gz +0 -0
- package/apps/web/build/client/_app/immutable/chunks/CV8VO5Jt.js +0 -1
- package/apps/web/build/client/_app/immutable/chunks/CV8VO5Jt.js.br +0 -0
- package/apps/web/build/client/_app/immutable/chunks/CV8VO5Jt.js.gz +0 -0
- package/apps/web/build/client/_app/immutable/chunks/DNVgNyBC.js +0 -1
- package/apps/web/build/client/_app/immutable/chunks/DNVgNyBC.js.br +0 -2
- package/apps/web/build/client/_app/immutable/chunks/DNVgNyBC.js.gz +0 -0
- package/apps/web/build/client/_app/immutable/chunks/DVr7DrHY.js +0 -1
- package/apps/web/build/client/_app/immutable/chunks/DVr7DrHY.js.br +0 -0
- package/apps/web/build/client/_app/immutable/chunks/DVr7DrHY.js.gz +0 -0
- package/apps/web/build/client/_app/immutable/chunks/HclGiUj8.js +0 -1
- package/apps/web/build/client/_app/immutable/chunks/HclGiUj8.js.br +0 -0
- package/apps/web/build/client/_app/immutable/chunks/HclGiUj8.js.gz +0 -0
- package/apps/web/build/client/_app/immutable/chunks/tFx9Vkzn.js.br +0 -0
- package/apps/web/build/client/_app/immutable/chunks/tFx9Vkzn.js.gz +0 -0
- package/apps/web/build/client/_app/immutable/entry/app.qpZh6bSp.js +0 -2
- package/apps/web/build/client/_app/immutable/entry/app.qpZh6bSp.js.br +0 -0
- package/apps/web/build/client/_app/immutable/entry/app.qpZh6bSp.js.gz +0 -0
- package/apps/web/build/client/_app/immutable/entry/start.CUhKN6Eq.js +0 -2
- package/apps/web/build/client/_app/immutable/entry/start.CUhKN6Eq.js.br +0 -2
- package/apps/web/build/client/_app/immutable/entry/start.CUhKN6Eq.js.gz +0 -0
- package/apps/web/build/client/_app/immutable/nodes/0.BV_U6rd9.js.br +0 -0
- package/apps/web/build/client/_app/immutable/nodes/0.BV_U6rd9.js.gz +0 -0
- package/apps/web/build/client/_app/immutable/nodes/1.317ei_PM.js.br +0 -1
- package/apps/web/build/client/_app/immutable/nodes/1.317ei_PM.js.gz +0 -0
- package/apps/web/build/client/_app/immutable/nodes/10.C9BHUF6_.js.br +0 -0
- package/apps/web/build/client/_app/immutable/nodes/10.C9BHUF6_.js.gz +0 -0
- package/apps/web/build/client/_app/immutable/nodes/11._7rmywnA.js.br +0 -0
- package/apps/web/build/client/_app/immutable/nodes/11._7rmywnA.js.gz +0 -0
- package/apps/web/build/client/_app/immutable/nodes/12.B_UJh_Cw.js.br +0 -0
- package/apps/web/build/client/_app/immutable/nodes/12.B_UJh_Cw.js.gz +0 -0
- package/apps/web/build/client/_app/immutable/nodes/13.FtUj7AO8.js.br +0 -0
- package/apps/web/build/client/_app/immutable/nodes/13.FtUj7AO8.js.gz +0 -0
- package/apps/web/build/client/_app/immutable/nodes/14.CsMWcbH2.js.br +0 -0
- package/apps/web/build/client/_app/immutable/nodes/14.CsMWcbH2.js.gz +0 -0
- package/apps/web/build/client/_app/immutable/nodes/15.DbSoDlZF.js.br +0 -0
- package/apps/web/build/client/_app/immutable/nodes/15.DbSoDlZF.js.gz +0 -0
- package/apps/web/build/client/_app/immutable/nodes/16.BcMZYQJR.js.br +0 -0
- package/apps/web/build/client/_app/immutable/nodes/16.BcMZYQJR.js.gz +0 -0
- package/apps/web/build/client/_app/immutable/nodes/2.Bs0YCKXY.js +0 -1
- package/apps/web/build/client/_app/immutable/nodes/2.Bs0YCKXY.js.br +0 -0
- package/apps/web/build/client/_app/immutable/nodes/2.Bs0YCKXY.js.gz +0 -0
- package/apps/web/build/client/_app/immutable/nodes/3.Co5hy99T.js.br +0 -0
- package/apps/web/build/client/_app/immutable/nodes/3.Co5hy99T.js.gz +0 -0
- package/apps/web/build/client/_app/immutable/nodes/4.Ckjmv74-.js.br +0 -0
- package/apps/web/build/client/_app/immutable/nodes/4.Ckjmv74-.js.gz +0 -0
- package/apps/web/build/client/_app/immutable/nodes/5.jG4rh5-7.js.br +0 -0
- package/apps/web/build/client/_app/immutable/nodes/5.jG4rh5-7.js.gz +0 -0
- package/apps/web/build/client/_app/immutable/nodes/6.am-4Bf0e.js.br +0 -0
- package/apps/web/build/client/_app/immutable/nodes/6.am-4Bf0e.js.gz +0 -0
- package/apps/web/build/client/_app/immutable/nodes/7.DpWtqqaL.js.br +0 -0
- package/apps/web/build/client/_app/immutable/nodes/7.DpWtqqaL.js.gz +0 -0
- package/apps/web/build/client/_app/immutable/nodes/8.CbbKDJTU.js.br +0 -0
- package/apps/web/build/client/_app/immutable/nodes/8.CbbKDJTU.js.gz +0 -0
- package/apps/web/build/client/_app/immutable/nodes/9.CB21-Q9D.js.br +0 -0
- package/apps/web/build/client/_app/immutable/nodes/9.CB21-Q9D.js.gz +0 -0
- package/apps/web/build/dir.js +0 -8
- package/apps/web/build/dir.js.map +0 -1
- package/apps/web/build/index.js.map +0 -1
- package/apps/web/build/server/chunks/0-D09zEpvl.js +0 -31
- package/apps/web/build/server/chunks/0-D09zEpvl.js.map +0 -1
- package/apps/web/build/server/chunks/1-2My56RES.js +0 -17
- package/apps/web/build/server/chunks/1-2My56RES.js.map +0 -1
- package/apps/web/build/server/chunks/10-M1HtRrZp.js +0 -17
- package/apps/web/build/server/chunks/10-M1HtRrZp.js.map +0 -1
- package/apps/web/build/server/chunks/11-BDyQuE2U.js +0 -18
- package/apps/web/build/server/chunks/11-BDyQuE2U.js.map +0 -1
- package/apps/web/build/server/chunks/12-DR3YohxS.js +0 -16
- package/apps/web/build/server/chunks/12-DR3YohxS.js.map +0 -1
- package/apps/web/build/server/chunks/13-BJri0QNV.js +0 -18
- package/apps/web/build/server/chunks/13-BJri0QNV.js.map +0 -1
- package/apps/web/build/server/chunks/14-DJhiE2DY.js +0 -17
- package/apps/web/build/server/chunks/14-DJhiE2DY.js.map +0 -1
- package/apps/web/build/server/chunks/15-CJUlxcu3.js +0 -19
- package/apps/web/build/server/chunks/15-CJUlxcu3.js.map +0 -1
- package/apps/web/build/server/chunks/16-BCncPEHV.js +0 -17
- package/apps/web/build/server/chunks/16-BCncPEHV.js.map +0 -1
- package/apps/web/build/server/chunks/2-B_JPNlak.js +0 -26
- package/apps/web/build/server/chunks/2-B_JPNlak.js.map +0 -1
- package/apps/web/build/server/chunks/3-BSOfGnYr.js +0 -17
- package/apps/web/build/server/chunks/3-BSOfGnYr.js.map +0 -1
- package/apps/web/build/server/chunks/4-DUmAi2o6.js +0 -18
- package/apps/web/build/server/chunks/4-DUmAi2o6.js.map +0 -1
- package/apps/web/build/server/chunks/5-DSM_rY93.js +0 -17
- package/apps/web/build/server/chunks/5-DSM_rY93.js.map +0 -1
- package/apps/web/build/server/chunks/6-CquXfuY3.js +0 -18
- package/apps/web/build/server/chunks/6-CquXfuY3.js.map +0 -1
- package/apps/web/build/server/chunks/7-CBNvUHPu.js +0 -16
- package/apps/web/build/server/chunks/7-CBNvUHPu.js.map +0 -1
- package/apps/web/build/server/chunks/8-BlIFjRiQ.js +0 -16
- package/apps/web/build/server/chunks/8-BlIFjRiQ.js.map +0 -1
- package/apps/web/build/server/chunks/9-sa0-Zgfq.js +0 -16
- package/apps/web/build/server/chunks/9-sa0-Zgfq.js.map +0 -1
- package/apps/web/build/server/chunks/_layout.svelte-FKDEmK4m.js.map +0 -1
- package/apps/web/build/server/chunks/_page.svelte-B4DKG2sO.js.map +0 -1
- package/apps/web/build/server/chunks/_page.svelte-BKU-UjQ2.js.map +0 -1
- package/apps/web/build/server/chunks/_page.svelte-BQP0Z2mg.js.map +0 -1
- package/apps/web/build/server/chunks/_page.svelte-Bu5RfcD4.js.map +0 -1
- package/apps/web/build/server/chunks/_page.svelte-CvH3pIDb.js.map +0 -1
- package/apps/web/build/server/chunks/_page.svelte-CxxsZeRm.js.map +0 -1
- package/apps/web/build/server/chunks/_page.svelte-D1yHfBBh.js.map +0 -1
- package/apps/web/build/server/chunks/_page.svelte-DBQMj6O8.js.map +0 -1
- package/apps/web/build/server/chunks/_page.svelte-DFBbcBLc.js.map +0 -1
- package/apps/web/build/server/chunks/_page.svelte-DJp9fAk8.js.map +0 -1
- package/apps/web/build/server/chunks/_page.svelte-D_bQaPtJ.js.map +0 -1
- package/apps/web/build/server/chunks/_page.svelte-FUbd8bWv.js.map +0 -1
- package/apps/web/build/server/chunks/_page.svelte-K0WRgefN.js.map +0 -1
- package/apps/web/build/server/chunks/_page.svelte-LJxJVjMb.js +0 -7
- package/apps/web/build/server/chunks/_page.svelte-LJxJVjMb.js.map +0 -1
- package/apps/web/build/server/chunks/_page.svelte-yXv2Aj6-.js.map +0 -1
- package/apps/web/build/server/chunks/env-DU2WieJy.js.map +0 -1
- package/apps/web/build/server/chunks/env-RhfAqpCd.js.map +0 -1
- package/apps/web/build/server/chunks/error.svelte-CNqmrJIT.js +0 -12
- package/apps/web/build/server/chunks/error.svelte-CNqmrJIT.js.map +0 -1
- package/apps/web/build/server/chunks/exports-DzZ-4-Dy.js +0 -327
- package/apps/web/build/server/chunks/exports-DzZ-4-Dy.js.map +0 -1
- package/apps/web/build/server/chunks/handler-BlqlgtTt.js +0 -7301
- package/apps/web/build/server/chunks/handler-BlqlgtTt.js.map +0 -1
- package/apps/web/build/server/chunks/hooks.server-DqbY7q70.js +0 -8
- package/apps/web/build/server/chunks/hooks.server-DqbY7q70.js.map +0 -1
- package/apps/web/build/server/chunks/index-server-ULRIL6sb.js +0 -2
- package/apps/web/build/server/chunks/rolldown-runtime-D7D4PA-g.js +0 -13
- package/apps/web/build/server/chunks/scrollLock.svelte-ULRIL6sb.js +0 -2
- package/apps/web/build/server/chunks/server2-xUKEUzWG.js.map +0 -1
- package/apps/web/build/server/chunks/state-C6VH2NAw.js.map +0 -1
- package/apps/web/build/server/chunks/sweetAlert.svelte-BKTpmvHp.js.map +0 -1
- package/apps/web/build/server/chunks/uiState.svelte-NgyZk5Jz.js.map +0 -1
|
@@ -0,0 +1,625 @@
|
|
|
1
|
+
import { i as Redirect, r as HttpError } from "./shared.js";
|
|
2
|
+
import { W as request_store_after_await, X as url_search_unavailable_prerender } from "./server-errors.js";
|
|
3
|
+
//#region ../../node_modules/.pnpm/@sveltejs+kit@3.0.1_@sveltejs+vite-plugin-svelte@7.3.1_svelte@5.57.2_vite@8.3.3_@types+_19c5fda78ee95b615548cf969a6c62fc/node_modules/@sveltejs/kit/src/messages/internal/shared.js
|
|
4
|
+
/**
|
|
5
|
+
* Whether shared errors include their full text on the server even though `DEV` is false. This is
|
|
6
|
+
* enabled while the app is being built (analysed or prerendered)
|
|
7
|
+
*/
|
|
8
|
+
var verbose = false;
|
|
9
|
+
function enable_verbose_errors() {
|
|
10
|
+
verbose = true;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* @typedef {{ element?: Element }} ClientWarningOptions
|
|
14
|
+
* - `element`: logged after the warning, so that it can be inspected in the browser's devtools
|
|
15
|
+
*/
|
|
16
|
+
/** `console.warn` styles for the code and text of shared runtime warnings, as in Svelte */
|
|
17
|
+
var bold = "font-weight: bold";
|
|
18
|
+
var normal = "font-weight: normal";
|
|
19
|
+
/**
|
|
20
|
+
* Throws the full diagnostic. Generated helpers throw their URL-only production error inline, so
|
|
21
|
+
* bundlers can remove both this call and the message text from production browser builds
|
|
22
|
+
* @param {string} code
|
|
23
|
+
* @param {string} message
|
|
24
|
+
* @param {Function} caller The generated helper, which is omitted from the stack along with this function
|
|
25
|
+
* @returns {never}
|
|
26
|
+
*/
|
|
27
|
+
function throw_error(code, message, caller) {
|
|
28
|
+
const error = /* @__PURE__ */ new Error(`${code}\n${message}\nhttps://svelte.dev/e/kit/${code}`);
|
|
29
|
+
error.name = "SvelteKit error";
|
|
30
|
+
Error.captureStackTrace?.(error, caller);
|
|
31
|
+
throw error;
|
|
32
|
+
}
|
|
33
|
+
//#endregion
|
|
34
|
+
//#region ../../node_modules/.pnpm/@sveltejs+kit@3.0.1_@sveltejs+vite-plugin-svelte@7.3.1_svelte@5.57.2_vite@8.3.3_@types+_19c5fda78ee95b615548cf969a6c62fc/node_modules/@sveltejs/kit/src/constants.js
|
|
35
|
+
/**
|
|
36
|
+
* A fake asset path used in `vite dev` and `vite preview`, so that we can
|
|
37
|
+
* serve local assets while verifying that requests are correctly prefixed
|
|
38
|
+
*/
|
|
39
|
+
var SVELTE_KIT_ASSETS = "/_svelte_kit_assets";
|
|
40
|
+
var ENDPOINT_METHODS = [
|
|
41
|
+
"GET",
|
|
42
|
+
"POST",
|
|
43
|
+
"PUT",
|
|
44
|
+
"PATCH",
|
|
45
|
+
"DELETE",
|
|
46
|
+
"OPTIONS",
|
|
47
|
+
"HEAD",
|
|
48
|
+
"QUERY"
|
|
49
|
+
];
|
|
50
|
+
var MUTATIVE_METHODS = [
|
|
51
|
+
"POST",
|
|
52
|
+
"PUT",
|
|
53
|
+
"PATCH",
|
|
54
|
+
"DELETE"
|
|
55
|
+
];
|
|
56
|
+
/** methods whose responses depend on the request body, so they can never be prerendered */
|
|
57
|
+
var BODY_DEPENDENT_METHODS = [...MUTATIVE_METHODS, "QUERY"];
|
|
58
|
+
var PAGE_METHODS = [
|
|
59
|
+
"GET",
|
|
60
|
+
"POST",
|
|
61
|
+
"HEAD"
|
|
62
|
+
];
|
|
63
|
+
import.meta.dirname;
|
|
64
|
+
var IN_WEBCONTAINER = !!globalThis.process?.versions?.webcontainer;
|
|
65
|
+
/**
|
|
66
|
+
* If an an adapter deploys a catch-all serverless function, the rerouted URL
|
|
67
|
+
* is stored in this header.
|
|
68
|
+
*/
|
|
69
|
+
var REROUTED_URL_HEADER = "x-sveltekit-rerouted-url";
|
|
70
|
+
//#endregion
|
|
71
|
+
//#region ../../node_modules/.pnpm/@sveltejs+kit@3.0.1_@sveltejs+vite-plugin-svelte@7.3.1_svelte@5.57.2_vite@8.3.3_@types+_19c5fda78ee95b615548cf969a6c62fc/node_modules/@sveltejs/kit/src/exports/internal/server/event.js
|
|
72
|
+
/** @import { RequestEvent } from '@sveltejs/kit' */
|
|
73
|
+
/** @import { RequestStore } from 'types' */
|
|
74
|
+
/** @import { AsyncLocalStorage } from 'node:async_hooks' */
|
|
75
|
+
/** @type {RequestStore | null} */
|
|
76
|
+
var sync_store = null;
|
|
77
|
+
/** @type {AsyncLocalStorage<RequestStore | null> | null} */
|
|
78
|
+
var als;
|
|
79
|
+
import("node:async_hooks").then((hooks) => als = new hooks.AsyncLocalStorage()).catch(() => {});
|
|
80
|
+
function get_request_store() {
|
|
81
|
+
const result = try_get_request_store();
|
|
82
|
+
if (!result) {
|
|
83
|
+
if (als) throw new Error("Could not get the request store. This is an internal error.");
|
|
84
|
+
request_store_after_await();
|
|
85
|
+
}
|
|
86
|
+
return result;
|
|
87
|
+
}
|
|
88
|
+
function try_get_request_store() {
|
|
89
|
+
return sync_store ?? als?.getStore() ?? null;
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* @template T
|
|
93
|
+
* @param {RequestStore | null} store
|
|
94
|
+
* @param {() => T} fn
|
|
95
|
+
*/
|
|
96
|
+
function with_request_store(store, fn) {
|
|
97
|
+
try {
|
|
98
|
+
sync_store = store;
|
|
99
|
+
return als ? als.run(store, fn) : fn();
|
|
100
|
+
} finally {
|
|
101
|
+
if (!IN_WEBCONTAINER) sync_store = null;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
//#endregion
|
|
105
|
+
//#region ../../node_modules/.pnpm/@sveltejs+kit@3.0.1_@sveltejs+vite-plugin-svelte@7.3.1_svelte@5.57.2_vite@8.3.3_@types+_19c5fda78ee95b615548cf969a6c62fc/node_modules/@sveltejs/kit/src/exports/internal/server/index.js
|
|
106
|
+
/** @import { Span } from '@opentelemetry/api' */
|
|
107
|
+
function get_origin() {
|
|
108
|
+
const request = try_get_request_store()?.event.request;
|
|
109
|
+
return request && new URL(request.url).origin;
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* @template {{ tracing: { enabled: boolean, root: Span, current: Span } }} T
|
|
113
|
+
* @param {T} event_like
|
|
114
|
+
* @param {Span} current
|
|
115
|
+
* @returns {T}
|
|
116
|
+
*/
|
|
117
|
+
function merge_tracing(event_like, current) {
|
|
118
|
+
return {
|
|
119
|
+
...event_like,
|
|
120
|
+
tracing: {
|
|
121
|
+
...event_like.tracing,
|
|
122
|
+
current
|
|
123
|
+
}
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
//#endregion
|
|
127
|
+
//#region ../../node_modules/.pnpm/@sveltejs+kit@3.0.1_@sveltejs+vite-plugin-svelte@7.3.1_svelte@5.57.2_vite@8.3.3_@types+_19c5fda78ee95b615548cf969a6c62fc/node_modules/@sveltejs/kit/src/messages/shared-errors.js
|
|
128
|
+
/**
|
|
129
|
+
* Invalid array key `%key%`
|
|
130
|
+
* @param {{ "key": string }} _values
|
|
131
|
+
* @returns {never}
|
|
132
|
+
*/
|
|
133
|
+
function form_field_array_conflict(_values) {
|
|
134
|
+
if (verbose) throw_error("form_field_array_conflict", `Invalid array key \`${_values.key}\``, form_field_array_conflict);
|
|
135
|
+
throw new Error("https://svelte.dev/e/kit/form_field_array_conflict");
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* Form cannot contain duplicated keys — `%name%` has %count% values
|
|
139
|
+
* @param {{ "name": string; "count": string }} _values
|
|
140
|
+
* @returns {never}
|
|
141
|
+
*/
|
|
142
|
+
function form_field_duplicate(_values) {
|
|
143
|
+
if (verbose) throw_error("form_field_duplicate", `Form cannot contain duplicated keys — \`${_values.name}\` has ${_values.count} values`, form_field_duplicate);
|
|
144
|
+
throw new Error("https://svelte.dev/e/kit/form_field_duplicate");
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* Invalid key `%key%`: This key is not allowed to prevent prototype pollution.
|
|
148
|
+
* @param {{ "key": string }} _values
|
|
149
|
+
* @returns {never}
|
|
150
|
+
*/
|
|
151
|
+
function form_field_forbidden_key(_values) {
|
|
152
|
+
if (verbose) throw_error("form_field_forbidden_key", `Invalid key \`${_values.key}\`: This key is not allowed to prevent prototype pollution.`, form_field_forbidden_key);
|
|
153
|
+
throw new Error("https://svelte.dev/e/kit/form_field_forbidden_key");
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* Invalid field name `%name%`: field names are written in JS object notation, so keys that would need quoting are not supported. See https://svelte.dev/docs/kit/remote-functions#form-Fields
|
|
157
|
+
* @param {{ "name": string }} _values
|
|
158
|
+
* @returns {never}
|
|
159
|
+
*/
|
|
160
|
+
function form_field_invalid_name(_values) {
|
|
161
|
+
if (verbose) throw_error("form_field_invalid_name", `Invalid field name \`${_values.name}\`: field names are written in JS object notation, so keys that would need quoting are not supported. See https://svelte.dev/docs/kit/remote-functions#form-Fields`, form_field_invalid_name);
|
|
162
|
+
throw new Error("https://svelte.dev/e/kit/form_field_invalid_name");
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* Form contained a field that wasn't created with `form.fields.as(...)`: `%name%`
|
|
166
|
+
* @param {{ "name": string }} _values
|
|
167
|
+
* @returns {never}
|
|
168
|
+
*/
|
|
169
|
+
function form_field_unbound(_values) {
|
|
170
|
+
if (verbose) throw_error("form_field_unbound", `Form contained a field that wasn't created with \`form.fields.as(...)\`: \`${_values.name}\``, form_field_unbound);
|
|
171
|
+
throw new Error("https://svelte.dev/e/kit/form_field_unbound");
|
|
172
|
+
}
|
|
173
|
+
/**
|
|
174
|
+
* %type% inputs must have a value
|
|
175
|
+
* @param {{ "type": string }} _values
|
|
176
|
+
* @returns {never}
|
|
177
|
+
*/
|
|
178
|
+
function form_input_missing_value(_values) {
|
|
179
|
+
if (verbose) throw_error("form_input_missing_value", `${_values.type} inputs must have a value`, form_input_missing_value);
|
|
180
|
+
throw new Error("https://svelte.dev/e/kit/form_input_missing_value");
|
|
181
|
+
}
|
|
182
|
+
/**
|
|
183
|
+
* HTTP error status codes must be between 400 and 599 — %status% is invalid
|
|
184
|
+
* @param {{ "status": string }} _values
|
|
185
|
+
* @returns {never}
|
|
186
|
+
*/
|
|
187
|
+
function invalid_error_status(_values) {
|
|
188
|
+
if (verbose) throw_error("invalid_error_status", `HTTP error status codes must be between 400 and 599 — ${_values.status} is invalid`, invalid_error_status);
|
|
189
|
+
throw new Error("https://svelte.dev/e/kit/invalid_error_status");
|
|
190
|
+
}
|
|
191
|
+
/**
|
|
192
|
+
* Invalid export `%key%` (valid exports are %exports%, or anything with a `'_'` prefix)
|
|
193
|
+
* @param {{ "key": string; "exports": string; "file"?: string }} _values
|
|
194
|
+
* @returns {never}
|
|
195
|
+
*/
|
|
196
|
+
function invalid_export(_values) {
|
|
197
|
+
if (verbose) throw_error("invalid_export", _values?.file !== void 0 ? `Invalid export \`${_values.key}\` in \`${_values.file}\` (valid exports are ${_values.exports}, or anything with a \`'_'\` prefix)` : `Invalid export \`${_values.key}\` (valid exports are ${_values.exports}, or anything with a \`'_'\` prefix)`, invalid_export);
|
|
198
|
+
throw new Error("https://svelte.dev/e/kit/invalid_export");
|
|
199
|
+
}
|
|
200
|
+
/**
|
|
201
|
+
* Invalid export `%key%` (`%key%` is a valid export in %locations%)
|
|
202
|
+
* @param {{ "key": string; "locations": string; "file"?: string }} _values
|
|
203
|
+
* @returns {never}
|
|
204
|
+
*/
|
|
205
|
+
function invalid_export_location(_values) {
|
|
206
|
+
if (verbose) throw_error("invalid_export_location", _values?.file !== void 0 ? `Invalid export \`${_values.key}\` in \`${_values.file}\` (\`${_values.key}\` is a valid export in ${_values.locations})` : `Invalid export \`${_values.key}\` (\`${_values.key}\` is a valid export in ${_values.locations})`, invalid_export_location);
|
|
207
|
+
throw new Error("https://svelte.dev/e/kit/invalid_export_location");
|
|
208
|
+
}
|
|
209
|
+
/**
|
|
210
|
+
* Redirect status codes must be between 300 and 308 — %status% is invalid
|
|
211
|
+
* @param {{ "status": string }} _values
|
|
212
|
+
* @returns {never}
|
|
213
|
+
*/
|
|
214
|
+
function invalid_redirect_status(_values) {
|
|
215
|
+
if (verbose) throw_error("invalid_redirect_status", `Redirect status codes must be between 300 and 308 — ${_values.status} is invalid`, invalid_redirect_status);
|
|
216
|
+
throw new Error("https://svelte.dev/e/kit/invalid_redirect_status");
|
|
217
|
+
}
|
|
218
|
+
/**
|
|
219
|
+
* a `load` function %location% returned %type%, but must return a plain object at the top level (i.e. `return {...}`)
|
|
220
|
+
* @param {{ "location": string; "type": string }} _values
|
|
221
|
+
* @returns {never}
|
|
222
|
+
*/
|
|
223
|
+
function load_invalid_response(_values) {
|
|
224
|
+
if (verbose) throw_error("load_invalid_response", `a \`load\` function ${_values.location} returned ${_values.type}, but must return a plain object at the top level (i.e. \`return {...}\`)`, load_invalid_response);
|
|
225
|
+
throw new Error("https://svelte.dev/e/kit/load_invalid_response");
|
|
226
|
+
}
|
|
227
|
+
/**
|
|
228
|
+
* Async param matchers are not supported
|
|
229
|
+
* @param {void} _values
|
|
230
|
+
* @returns {never}
|
|
231
|
+
*/
|
|
232
|
+
function param_matcher_async(_values) {
|
|
233
|
+
if (verbose) throw_error("param_matcher_async", `Async param matchers are not supported`, param_matcher_async);
|
|
234
|
+
throw new Error("https://svelte.dev/e/kit/param_matcher_async");
|
|
235
|
+
}
|
|
236
|
+
/**
|
|
237
|
+
* Param matcher must return a string, number, boolean, or bigint
|
|
238
|
+
* @param {void} _values
|
|
239
|
+
* @returns {never}
|
|
240
|
+
*/
|
|
241
|
+
function param_matcher_result_invalid(_values) {
|
|
242
|
+
if (verbose) throw_error("param_matcher_result_invalid", `Param matcher must return a string, number, boolean, or bigint`, param_matcher_result_invalid);
|
|
243
|
+
throw new Error("https://svelte.dev/e/kit/param_matcher_result_invalid");
|
|
244
|
+
}
|
|
245
|
+
/**
|
|
246
|
+
* Cannot redirect to `%location%` with `{ external: true }`. The `javascript:` and `data:` protocols must be explicitly listed in the `external` allowlist
|
|
247
|
+
* @param {{ "location": string }} _values
|
|
248
|
+
* @returns {never}
|
|
249
|
+
*/
|
|
250
|
+
function redirect_external_javascript(_values) {
|
|
251
|
+
if (verbose) throw_error("redirect_external_javascript", `Cannot redirect to \`${_values.location}\` with \`{ external: true }\`. The \`javascript:\` and \`data:\` protocols must be explicitly listed in the \`external\` allowlist`, redirect_external_javascript);
|
|
252
|
+
throw new Error("https://svelte.dev/e/kit/redirect_external_javascript");
|
|
253
|
+
}
|
|
254
|
+
/**
|
|
255
|
+
* Cannot redirect to external URL `%location%`. To redirect to an external URL, pass `{ external: true }` or an allowlist of permitted origins as the third argument to `redirect`
|
|
256
|
+
* @param {{ "location": string }} _values
|
|
257
|
+
* @returns {never}
|
|
258
|
+
*/
|
|
259
|
+
function redirect_external_not_allowed(_values) {
|
|
260
|
+
if (verbose) throw_error("redirect_external_not_allowed", `Cannot redirect to external URL \`${_values.location}\`. To redirect to an external URL, pass \`{ external: true }\` or an allowlist of permitted origins as the third argument to \`redirect\``, redirect_external_not_allowed);
|
|
261
|
+
throw new Error("https://svelte.dev/e/kit/redirect_external_not_allowed");
|
|
262
|
+
}
|
|
263
|
+
/**
|
|
264
|
+
* Cannot redirect to `%location%`: URL origin is not included in the `external` allowlist
|
|
265
|
+
* @param {{ "location": string }} _values
|
|
266
|
+
* @returns {never}
|
|
267
|
+
*/
|
|
268
|
+
function redirect_external_not_in_allowlist(_values) {
|
|
269
|
+
if (verbose) throw_error("redirect_external_not_in_allowlist", `Cannot redirect to \`${_values.location}\`: URL origin is not included in the \`external\` allowlist`, redirect_external_not_in_allowlist);
|
|
270
|
+
throw new Error("https://svelte.dev/e/kit/redirect_external_not_in_allowlist");
|
|
271
|
+
}
|
|
272
|
+
/**
|
|
273
|
+
* `redirect` `options.external` must be `true` or an array of allowed origins
|
|
274
|
+
* @param {void} _values
|
|
275
|
+
* @returns {never}
|
|
276
|
+
*/
|
|
277
|
+
function redirect_external_option_invalid(_values) {
|
|
278
|
+
if (verbose) throw_error("redirect_external_option_invalid", `\`redirect\` \`options.external\` must be \`true\` or an array of allowed origins`, redirect_external_option_invalid);
|
|
279
|
+
throw new Error("https://svelte.dev/e/kit/redirect_external_option_invalid");
|
|
280
|
+
}
|
|
281
|
+
/**
|
|
282
|
+
* %type% are not valid remote function arguments
|
|
283
|
+
* @param {{ "type": string }} _values
|
|
284
|
+
* @returns {never}
|
|
285
|
+
*/
|
|
286
|
+
function remote_argument_unsupported(_values) {
|
|
287
|
+
if (verbose) throw_error("remote_argument_unsupported", `${_values.type} are not valid remote function arguments`, remote_argument_unsupported);
|
|
288
|
+
throw new Error("https://svelte.dev/e/kit/remote_argument_unsupported");
|
|
289
|
+
}
|
|
290
|
+
/**
|
|
291
|
+
* Cannot access `event.url.hash`. Consider using `page.url.hash` inside a component instead
|
|
292
|
+
* @param {void} _values
|
|
293
|
+
* @returns {never}
|
|
294
|
+
*/
|
|
295
|
+
function url_hash_unavailable(_values) {
|
|
296
|
+
if (verbose) throw_error("url_hash_unavailable", `Cannot access \`event.url.hash\`. Consider using \`page.url.hash\` inside a component instead`, url_hash_unavailable);
|
|
297
|
+
throw new Error("https://svelte.dev/e/kit/url_hash_unavailable");
|
|
298
|
+
}
|
|
299
|
+
//#endregion
|
|
300
|
+
//#region ../../node_modules/.pnpm/@sveltejs+kit@3.0.1_@sveltejs+vite-plugin-svelte@7.3.1_svelte@5.57.2_vite@8.3.3_@types+_19c5fda78ee95b615548cf969a6c62fc/node_modules/@sveltejs/kit/src/utils/url.js
|
|
301
|
+
/**
|
|
302
|
+
* Matches a URI scheme. See https://www.rfc-editor.org/rfc/rfc3986#section-3.1
|
|
303
|
+
* @type {RegExp}
|
|
304
|
+
*/
|
|
305
|
+
var SCHEME = /^[a-z][a-z\d+\-.]*:/i;
|
|
306
|
+
var internal = new URL("a://");
|
|
307
|
+
/**
|
|
308
|
+
* @param {string} base
|
|
309
|
+
* @param {string} path
|
|
310
|
+
*/
|
|
311
|
+
function resolve(base, path) {
|
|
312
|
+
if (path[0] === "/" && path[1] === "/") return path;
|
|
313
|
+
let url = new URL(base, internal);
|
|
314
|
+
url = new URL(path, url);
|
|
315
|
+
return url.protocol === internal.protocol ? url.pathname + url.search + url.hash : url.href;
|
|
316
|
+
}
|
|
317
|
+
/**
|
|
318
|
+
* Relative reference from `from` to `to`, which must differ only by a trailing slash
|
|
319
|
+
* @param {string} from
|
|
320
|
+
* @param {string} to
|
|
321
|
+
* @returns {string}
|
|
322
|
+
*/
|
|
323
|
+
function relative_pathname(from, to) {
|
|
324
|
+
const segment = to.replace(/\/$/, "").split("/").at(-1);
|
|
325
|
+
return from.endsWith("/") ? `../${segment}` : `./${segment}/`;
|
|
326
|
+
}
|
|
327
|
+
/**
|
|
328
|
+
* @param {string} location
|
|
329
|
+
* @param {string} allowed
|
|
330
|
+
*/
|
|
331
|
+
function matches_external_allowlist_entry(location, allowed) {
|
|
332
|
+
if (location === allowed) return true;
|
|
333
|
+
try {
|
|
334
|
+
const allow = new URL(allowed);
|
|
335
|
+
const loc = new URL(location, allow);
|
|
336
|
+
return loc.protocol === allow.protocol && loc.host === allow.host;
|
|
337
|
+
} catch {
|
|
338
|
+
return false;
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
/**
|
|
342
|
+
* @param {string} path
|
|
343
|
+
* @param {import('types').TrailingSlash} trailing_slash
|
|
344
|
+
*/
|
|
345
|
+
function normalize_path(path, trailing_slash) {
|
|
346
|
+
if (path === "/" || trailing_slash === "ignore") return path;
|
|
347
|
+
if (trailing_slash === "never") return path.endsWith("/") ? path.slice(0, -1) : path;
|
|
348
|
+
else if (trailing_slash === "always" && !path.endsWith("/")) return path + "/";
|
|
349
|
+
return path;
|
|
350
|
+
}
|
|
351
|
+
/**
|
|
352
|
+
* Decode pathname excluding %25 to prevent further double decoding of params
|
|
353
|
+
* @param {string} pathname
|
|
354
|
+
*/
|
|
355
|
+
function decode_pathname(pathname) {
|
|
356
|
+
return pathname.split("%25").map(decodeURI).join("%25");
|
|
357
|
+
}
|
|
358
|
+
/**
|
|
359
|
+
* @param {URL} url
|
|
360
|
+
* @param {() => void} callback
|
|
361
|
+
* @param {(search_param: string) => void} search_params_callback
|
|
362
|
+
* @param {boolean} [allow_hash]
|
|
363
|
+
*/
|
|
364
|
+
function make_trackable(url, callback, search_params_callback, allow_hash = false) {
|
|
365
|
+
const tracked = new URL(url);
|
|
366
|
+
Object.defineProperty(tracked, "searchParams", {
|
|
367
|
+
value: new Proxy(tracked.searchParams, { get(obj, key) {
|
|
368
|
+
if (key === "get" || key === "getAll" || key === "has") return (param, ...rest) => {
|
|
369
|
+
search_params_callback(param);
|
|
370
|
+
return obj[key](param, ...rest);
|
|
371
|
+
};
|
|
372
|
+
callback();
|
|
373
|
+
const value = Reflect.get(obj, key);
|
|
374
|
+
return typeof value === "function" ? value.bind(obj) : value;
|
|
375
|
+
} }),
|
|
376
|
+
enumerable: true,
|
|
377
|
+
configurable: true
|
|
378
|
+
});
|
|
379
|
+
/**
|
|
380
|
+
* URL properties that could change during the lifetime of the page,
|
|
381
|
+
* which excludes things like `origin`
|
|
382
|
+
* @type {(keyof URL)[]}
|
|
383
|
+
*/
|
|
384
|
+
const tracked_url_properties = [
|
|
385
|
+
"href",
|
|
386
|
+
"pathname",
|
|
387
|
+
"search",
|
|
388
|
+
"toString",
|
|
389
|
+
"toJSON"
|
|
390
|
+
];
|
|
391
|
+
if (allow_hash) tracked_url_properties.push("hash");
|
|
392
|
+
for (const property of tracked_url_properties) Object.defineProperty(tracked, property, {
|
|
393
|
+
get() {
|
|
394
|
+
callback();
|
|
395
|
+
return url[property];
|
|
396
|
+
},
|
|
397
|
+
enumerable: true,
|
|
398
|
+
configurable: true
|
|
399
|
+
});
|
|
400
|
+
tracked[Symbol.for("nodejs.util.inspect.custom")] = (_depth, opts, inspect) => {
|
|
401
|
+
return inspect(url, opts);
|
|
402
|
+
};
|
|
403
|
+
tracked.searchParams[Symbol.for("nodejs.util.inspect.custom")] = (_depth, opts, inspect) => {
|
|
404
|
+
return inspect(url.searchParams, opts);
|
|
405
|
+
};
|
|
406
|
+
if (!allow_hash) disable_hash(tracked);
|
|
407
|
+
return tracked;
|
|
408
|
+
}
|
|
409
|
+
/**
|
|
410
|
+
* Disallow access to `url.hash` on the server and in `load`
|
|
411
|
+
* @param {URL} url
|
|
412
|
+
*/
|
|
413
|
+
function disable_hash(url) {
|
|
414
|
+
allow_nodejs_console_log(url);
|
|
415
|
+
Object.defineProperty(url, "hash", { get() {
|
|
416
|
+
return url_hash_unavailable();
|
|
417
|
+
} });
|
|
418
|
+
}
|
|
419
|
+
/**
|
|
420
|
+
* Disallow access to `url.search` and `url.searchParams` during prerendering
|
|
421
|
+
* @param {URL} url
|
|
422
|
+
*/
|
|
423
|
+
function disable_search(url) {
|
|
424
|
+
allow_nodejs_console_log(url);
|
|
425
|
+
for (const property of ["search", "searchParams"]) Object.defineProperty(url, property, { get() {
|
|
426
|
+
return url_search_unavailable_prerender({ property });
|
|
427
|
+
} });
|
|
428
|
+
}
|
|
429
|
+
/**
|
|
430
|
+
* Allow URL to be console logged, bypassing disabled properties.
|
|
431
|
+
* @param {URL} url
|
|
432
|
+
*/
|
|
433
|
+
function allow_nodejs_console_log(url) {
|
|
434
|
+
url[Symbol.for("nodejs.util.inspect.custom")] = (_depth, opts, inspect) => {
|
|
435
|
+
return inspect(new URL(url), opts);
|
|
436
|
+
};
|
|
437
|
+
}
|
|
438
|
+
//#endregion
|
|
439
|
+
//#region ../../node_modules/.pnpm/@sveltejs+kit@3.0.1_@sveltejs+vite-plugin-svelte@7.3.1_svelte@5.57.2_vite@8.3.3_@types+_19c5fda78ee95b615548cf969a6c62fc/node_modules/@sveltejs/kit/src/exports/url.js
|
|
440
|
+
var REDIRECT_BASE = "https://sveltekit-redirect.invalid";
|
|
441
|
+
/**
|
|
442
|
+
* Whether a redirect location is absolute, i.e. not a root-relative or path-relative URL,
|
|
443
|
+
* and not pointing to the same origin as we're currently on (if determineable).
|
|
444
|
+
* @param {string} location
|
|
445
|
+
*/
|
|
446
|
+
function is_external_location(location) {
|
|
447
|
+
const origin = get_origin();
|
|
448
|
+
try {
|
|
449
|
+
return !matches_external_allowlist_entry(location, origin ?? REDIRECT_BASE);
|
|
450
|
+
} catch {
|
|
451
|
+
return true;
|
|
452
|
+
}
|
|
453
|
+
}
|
|
454
|
+
var javascript_protocols = /* @__PURE__ */ new Set(["javascript:", "data:"]);
|
|
455
|
+
/**
|
|
456
|
+
* @param {string} location
|
|
457
|
+
*/
|
|
458
|
+
function is_javascript_location(location) {
|
|
459
|
+
try {
|
|
460
|
+
return javascript_protocols.has(new URL(location, REDIRECT_BASE).protocol);
|
|
461
|
+
} catch {
|
|
462
|
+
return false;
|
|
463
|
+
}
|
|
464
|
+
}
|
|
465
|
+
/**
|
|
466
|
+
* @param {string} location
|
|
467
|
+
* @param {{ external?: boolean | string[] }} [options]
|
|
468
|
+
*/
|
|
469
|
+
function validate_redirect_location(location, options) {
|
|
470
|
+
if (!is_external_location(location)) return;
|
|
471
|
+
const external = options?.external;
|
|
472
|
+
if (!external) redirect_external_not_allowed({ location: JSON.stringify(location) });
|
|
473
|
+
if (external === true) {
|
|
474
|
+
if (is_javascript_location(location)) redirect_external_javascript({ location: JSON.stringify(location) });
|
|
475
|
+
return;
|
|
476
|
+
}
|
|
477
|
+
if (Array.isArray(external)) {
|
|
478
|
+
if (!external.some((allowed) => matches_external_allowlist_entry(location, allowed))) redirect_external_not_in_allowlist({ location: JSON.stringify(location) });
|
|
479
|
+
return;
|
|
480
|
+
}
|
|
481
|
+
redirect_external_option_invalid();
|
|
482
|
+
}
|
|
483
|
+
//#endregion
|
|
484
|
+
//#region ../../node_modules/.pnpm/@sveltejs+kit@3.0.1_@sveltejs+vite-plugin-svelte@7.3.1_svelte@5.57.2_vite@8.3.3_@types+_19c5fda78ee95b615548cf969a6c62fc/node_modules/@sveltejs/kit/src/messages/shared-warnings.js
|
|
485
|
+
/**
|
|
486
|
+
* `%route%`: Calling `depends('%dependency%')` will throw an error in Firefox because `%scheme%` is a special URI scheme
|
|
487
|
+
* @param {{ "route": string; "dependency": string; "scheme": string }} _values
|
|
488
|
+
*/
|
|
489
|
+
function depends_special_scheme(_values) {
|
|
490
|
+
console.warn("https://svelte.dev/e/kit/depends_special_scheme");
|
|
491
|
+
}
|
|
492
|
+
/**
|
|
493
|
+
* The properties of `form.fields` are virtual, so operators like `in` and `Object.keys` are meaningless. If you need the current value of a form field, use `form.fields.x.value()`
|
|
494
|
+
* @param {void} _values
|
|
495
|
+
*/
|
|
496
|
+
function form_fields_enumerated(_values) {
|
|
497
|
+
console.warn("https://svelte.dev/e/kit/form_fields_enumerated");
|
|
498
|
+
}
|
|
499
|
+
//#endregion
|
|
500
|
+
//#region ../../node_modules/.pnpm/@sveltejs+kit@3.0.1_@sveltejs+vite-plugin-svelte@7.3.1_svelte@5.57.2_vite@8.3.3_@types+_19c5fda78ee95b615548cf969a6c62fc/node_modules/@sveltejs/kit/src/exports/index.js
|
|
501
|
+
/** @import { StandardSchemaV1 } from '@standard-schema/spec' */
|
|
502
|
+
var text_encoder = new TextEncoder();
|
|
503
|
+
/**
|
|
504
|
+
* Throws an error with a HTTP status code and an optional message.
|
|
505
|
+
* When called during request handling, this will cause SvelteKit to
|
|
506
|
+
* return an error response; the error will be passed to `handleError` as an _expected_ error.
|
|
507
|
+
* Make sure you're not catching the thrown error, which would prevent SvelteKit from handling it.
|
|
508
|
+
* @param {number} status The [HTTP status code](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status#client_error_responses). Must be in the range 400-599.
|
|
509
|
+
* @param {string} [message] The error message.
|
|
510
|
+
* @overload
|
|
511
|
+
* @param {{ status: number; message: string } extends App.Error ? number : never} status
|
|
512
|
+
* @param {{ status: number; message: string } extends App.Error ? string : never} [message]
|
|
513
|
+
* @return {never}
|
|
514
|
+
* @throws {import('./public.js').HttpError} This error instructs SvelteKit to initiate HTTP error handling.
|
|
515
|
+
* @throws {Error} If the provided status is invalid (not between 400 and 599).
|
|
516
|
+
*/
|
|
517
|
+
/**
|
|
518
|
+
* Throws an error with a HTTP status code and an optional message.
|
|
519
|
+
* When called during request handling, this will cause SvelteKit to
|
|
520
|
+
* return an error response; the error will be passed to `handleError` as an _expected_ error.
|
|
521
|
+
* Make sure you're not catching the thrown error, which would prevent SvelteKit from handling it.
|
|
522
|
+
* @param {number} status The [HTTP status code](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status#client_error_responses). Must be in the range 400-599.
|
|
523
|
+
* @param {string} message The error message.
|
|
524
|
+
* @param {keyof Omit<App.Error, 'status' | 'message'> extends never ? never : Omit<App.Error, 'status' | 'message'>} properties Additional properties of the App.Error type.
|
|
525
|
+
* @overload
|
|
526
|
+
* @param {number} status
|
|
527
|
+
* @param {string} message
|
|
528
|
+
* @param {keyof Omit<App.Error, 'status' | 'message'> extends never ? never : Omit<App.Error, 'status' | 'message'>} properties
|
|
529
|
+
* @return {never}
|
|
530
|
+
* @throws {import('./public.js').HttpError} This error instructs SvelteKit to initiate HTTP error handling.
|
|
531
|
+
* @throws {Error} If the provided status is invalid (not between 400 and 599).
|
|
532
|
+
*/
|
|
533
|
+
/**
|
|
534
|
+
* Throws an error with a HTTP status code and an optional message.
|
|
535
|
+
* When called during request handling, this will cause SvelteKit to
|
|
536
|
+
* return an error response; the error will be passed to `handleError` as an _expected_ error.
|
|
537
|
+
* Make sure you're not catching the thrown error, which would prevent SvelteKit from handling it.
|
|
538
|
+
* @deprecated Passing an `App.Error` body as the second argument is deprecated — pass the `message` as the second argument, and any additional properties as the third
|
|
539
|
+
* @param {number} status The [HTTP status code](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status#client_error_responses). Must be in the range 400-599.
|
|
540
|
+
* @param {Omit<App.Error, 'status'> & { status?: App.Error['status'] }} body An object that conforms to the App.Error type. If a string is passed, it will be used as the message property.
|
|
541
|
+
* @overload
|
|
542
|
+
* @param {number} status
|
|
543
|
+
* @param {Omit<App.Error, 'status'> & { status?: App.Error['status'] }} properties
|
|
544
|
+
* @return {never}
|
|
545
|
+
* @throws {import('./public.js').HttpError} This error instructs SvelteKit to initiate HTTP error handling.
|
|
546
|
+
* @throws {Error} If the provided status is invalid (not between 400 and 599).
|
|
547
|
+
*/
|
|
548
|
+
/**
|
|
549
|
+
* Throws an error with a HTTP status code and an optional message.
|
|
550
|
+
* When called during request handling, this will cause SvelteKit to
|
|
551
|
+
* return an error response; the error will be passed to `handleError` as an _expected_ error.
|
|
552
|
+
* Make sure you're not catching the thrown error, which would prevent SvelteKit from handling it.
|
|
553
|
+
* @param {any} status The [HTTP status code](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status#client_error_responses). Must be in the range 400-599.
|
|
554
|
+
* @param {any} [message] A string, or (deprecated) a partial App.Error object
|
|
555
|
+
* @param {any} [properties] Additional properties of the App.Error type when passing a string message.
|
|
556
|
+
* @return {never}
|
|
557
|
+
* @throws {import('./public.js').HttpError} This error instructs SvelteKit to initiate HTTP error handling.
|
|
558
|
+
* @throws {Error} If the provided status is invalid (not between 400 and 599).
|
|
559
|
+
*/
|
|
560
|
+
function error(status, message, properties) {
|
|
561
|
+
if (isNaN(status) || status < 400 || status > 599) invalid_error_status({ status: String(status) });
|
|
562
|
+
if (message !== void 0 && typeof message !== "string") ({message, ...properties} = message);
|
|
563
|
+
throw new HttpError({
|
|
564
|
+
...properties,
|
|
565
|
+
status,
|
|
566
|
+
message: message ?? `Error: ${status}`
|
|
567
|
+
});
|
|
568
|
+
}
|
|
569
|
+
/**
|
|
570
|
+
* Redirect a request. When called during request handling, SvelteKit will return a redirect response.
|
|
571
|
+
* Make sure you're not catching the thrown redirect, which would prevent SvelteKit from handling it.
|
|
572
|
+
*
|
|
573
|
+
* Most common status codes:
|
|
574
|
+
* * `303 See Other`: redirect as a GET request (often used after a form POST request)
|
|
575
|
+
* * `307 Temporary Redirect`: redirect will keep the request method
|
|
576
|
+
* * `308 Permanent Redirect`: redirect will keep the request method, SEO will be transferred to the new page
|
|
577
|
+
*
|
|
578
|
+
* [See all redirect status codes](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status#redirection_messages)
|
|
579
|
+
*
|
|
580
|
+
* @param {300 | 301 | 302 | 303 | 304 | 305 | 306 | 307 | 308 | ({} & number)} status The [HTTP status code](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status#redirection_messages). Must be in the range 300-308.
|
|
581
|
+
* @param {string | URL} location The location to redirect to.
|
|
582
|
+
* @param {{ external?: boolean | string[] }} [options] To redirect to an external URL, you must pass `{ external: true }` to allow any external URL except `javascript:` URLs, or `{ external: [...] }` with an allowlist of permitted origins.
|
|
583
|
+
* @throws {import('./public.js').Redirect} This error instructs SvelteKit to redirect to the specified location.
|
|
584
|
+
* @throws {Error} If the provided status is invalid, the location cannot be used as a header value, or the location is an external URL without permission.
|
|
585
|
+
* @return {never}
|
|
586
|
+
*/
|
|
587
|
+
function redirect(status, location, options) {
|
|
588
|
+
if (isNaN(status) || status < 300 || status > 308) invalid_redirect_status({ status: String(status) });
|
|
589
|
+
const href = location.toString();
|
|
590
|
+
validate_redirect_location(href, options);
|
|
591
|
+
throw new Redirect(status, href);
|
|
592
|
+
}
|
|
593
|
+
/**
|
|
594
|
+
* Checks whether this is a redirect thrown by {@link redirect}.
|
|
595
|
+
* @param {unknown} e The object to check.
|
|
596
|
+
* @return {e is import('./public.js').Redirect}
|
|
597
|
+
*/
|
|
598
|
+
function isRedirect(e) {
|
|
599
|
+
return e instanceof Redirect;
|
|
600
|
+
}
|
|
601
|
+
/**
|
|
602
|
+
* Create a `Response` object from the supplied body.
|
|
603
|
+
* @param {string} body The value that will be used as-is.
|
|
604
|
+
* @param {ResponseInit} [init] Options such as `status` and `headers` that will be added to the response. A `Content-Length` header will be added automatically.
|
|
605
|
+
* @deprecated use `new Response`
|
|
606
|
+
*/
|
|
607
|
+
function text(body, init) {
|
|
608
|
+
const headers = new Headers(init?.headers);
|
|
609
|
+
if (!headers.has("content-length")) {
|
|
610
|
+
const encoded = text_encoder.encode(body);
|
|
611
|
+
headers.set("content-length", encoded.byteLength.toString());
|
|
612
|
+
return new Response(encoded, {
|
|
613
|
+
...init,
|
|
614
|
+
headers
|
|
615
|
+
});
|
|
616
|
+
}
|
|
617
|
+
return new Response(body, {
|
|
618
|
+
...init,
|
|
619
|
+
headers
|
|
620
|
+
});
|
|
621
|
+
}
|
|
622
|
+
//#endregion
|
|
623
|
+
export { BODY_DEPENDENT_METHODS as A, param_matcher_async as C, get_request_store as D, merge_tracing as E, REROUTED_URL_HEADER as F, SVELTE_KIT_ASSETS as I, bold as L, IN_WEBCONTAINER as M, MUTATIVE_METHODS as N, try_get_request_store as O, PAGE_METHODS as P, enable_verbose_errors as R, load_invalid_response as S, remote_argument_unsupported as T, form_field_invalid_name as _, depends_special_scheme as a, invalid_export as b, decode_pathname as c, normalize_path as d, relative_pathname as f, form_field_forbidden_key as g, form_field_duplicate as h, text as i, ENDPOINT_METHODS as j, with_request_store as k, disable_search as l, form_field_array_conflict as m, isRedirect as n, form_fields_enumerated as o, resolve as p, redirect as r, SCHEME as s, error as t, make_trackable as u, form_field_unbound as v, param_matcher_result_invalid as w, invalid_export_location as x, form_input_missing_value as y, normal as z };
|
|
624
|
+
|
|
625
|
+
//# sourceMappingURL=exports.js.map
|