@better-svelte-email/preview-server 2.0.1 → 2.1.0
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.DDKrVtzt.css +1 -0
- package/build/client/_app/immutable/assets/0.DDKrVtzt.css.br +0 -0
- package/build/client/_app/immutable/assets/0.DDKrVtzt.css.gz +0 -0
- package/build/client/_app/immutable/chunks/{2j1sUEXP.js → -h_pmPym.js} +1 -1
- package/build/client/_app/immutable/chunks/-h_pmPym.js.br +0 -0
- package/build/client/_app/immutable/chunks/-h_pmPym.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{D3wpe1R42.js → 2Ku6pjPv2.js} +1 -1
- package/build/client/_app/immutable/chunks/2Ku6pjPv2.js.br +0 -0
- package/build/client/_app/immutable/chunks/2Ku6pjPv2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/39ZgKSKZ.js +3 -0
- package/build/client/_app/immutable/chunks/39ZgKSKZ.js.br +0 -0
- package/build/client/_app/immutable/chunks/39ZgKSKZ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{C2SIYp-K.js → 7XuN7Mxc.js} +1 -1
- package/build/client/_app/immutable/chunks/7XuN7Mxc.js.br +0 -0
- package/build/client/_app/immutable/chunks/7XuN7Mxc.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{D7-GrcrV.js → 8_IDyNe5.js} +1 -1
- package/build/client/_app/immutable/chunks/8_IDyNe5.js.br +0 -0
- package/build/client/_app/immutable/chunks/8_IDyNe5.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{DKEf6hiF.js → 9_Ve2-x-.js} +1 -1
- package/build/client/_app/immutable/chunks/9_Ve2-x-.js.br +0 -0
- package/build/client/_app/immutable/chunks/9_Ve2-x-.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{DDU4XF-72.js → B0MmjxYz2.js} +1 -1
- package/build/client/_app/immutable/chunks/B0MmjxYz2.js.br +0 -0
- package/build/client/_app/immutable/chunks/B0MmjxYz2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{3jktDrCi.js → B1s4bTH3.js} +1 -1
- package/build/client/_app/immutable/chunks/B1s4bTH3.js.br +0 -0
- package/build/client/_app/immutable/chunks/B1s4bTH3.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B7z-u_6r.js +1 -0
- package/build/client/_app/immutable/chunks/B7z-u_6r.js.br +0 -0
- package/build/client/_app/immutable/chunks/B7z-u_6r.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{Bq-6yWbF.js → BBZxAsqF.js} +1 -1
- package/build/client/_app/immutable/chunks/BBZxAsqF.js.br +0 -0
- package/build/client/_app/immutable/chunks/BBZxAsqF.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{k0bE959_.js → BFzUP3ti.js} +1 -1
- package/build/client/_app/immutable/chunks/BFzUP3ti.js.br +0 -0
- package/build/client/_app/immutable/chunks/BFzUP3ti.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{B_PczBOb.js → BIb1I41Y.js} +1 -1
- package/build/client/_app/immutable/chunks/BIb1I41Y.js.br +0 -0
- package/build/client/_app/immutable/chunks/BIb1I41Y.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{Bi-7I8ov.js → BQcUvmyI.js} +1 -1
- package/build/client/_app/immutable/chunks/BQcUvmyI.js.br +0 -0
- package/build/client/_app/immutable/chunks/BQcUvmyI.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{DLJ1T3Yq2.js → BRkmRHkt2.js} +1 -1
- package/build/client/_app/immutable/chunks/BRkmRHkt2.js.br +0 -0
- package/build/client/_app/immutable/chunks/BRkmRHkt2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{BYj6I6il.js → BSBoBo_M.js} +1 -1
- package/build/client/_app/immutable/chunks/BSBoBo_M.js.br +0 -0
- package/build/client/_app/immutable/chunks/BSBoBo_M.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BSQc46Of.js +1 -0
- package/build/client/_app/immutable/chunks/BSQc46Of.js.br +0 -0
- package/build/client/_app/immutable/chunks/BSQc46Of.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BUF3uA2S2.js +1 -0
- package/build/client/_app/immutable/chunks/BUF3uA2S2.js.br +0 -0
- package/build/client/_app/immutable/chunks/BUF3uA2S2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{YUHGzPMI2.js → BWP6YHkm2.js} +1 -1
- package/build/client/_app/immutable/chunks/BWP6YHkm2.js.br +0 -0
- package/build/client/_app/immutable/chunks/BWP6YHkm2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{4FW2HvmM.js → BYGrATzF.js} +1 -1
- package/build/client/_app/immutable/chunks/BYGrATzF.js.br +0 -0
- package/build/client/_app/immutable/chunks/BYGrATzF.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BdV_3DB32.js +1 -0
- package/build/client/_app/immutable/chunks/BdV_3DB32.js.br +0 -0
- package/build/client/_app/immutable/chunks/BdV_3DB32.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{BvtP1Kq42.js → BfUp-Hqi2.js} +1 -1
- package/build/client/_app/immutable/chunks/BfUp-Hqi2.js.br +0 -0
- package/build/client/_app/immutable/chunks/BfUp-Hqi2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{DXDz0gKC.js → BgL0PVOI.js} +1 -1
- package/build/client/_app/immutable/chunks/BgL0PVOI.js.br +0 -0
- package/build/client/_app/immutable/chunks/BgL0PVOI.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{XfIqC5sC2.js → Bilt0IKX2.js} +1 -1
- package/build/client/_app/immutable/chunks/Bilt0IKX2.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bilt0IKX2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{DQ-95KKy.js → BpxGCOw1.js} +1 -1
- package/build/client/_app/immutable/chunks/BpxGCOw1.js.br +0 -0
- package/build/client/_app/immutable/chunks/BpxGCOw1.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{BS9ADXnT.js → BpzYnIbk.js} +1 -1
- package/build/client/_app/immutable/chunks/BpzYnIbk.js.br +0 -0
- package/build/client/_app/immutable/chunks/BpzYnIbk.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{B7UTE8KN2.js → Bq5F1dsn2.js} +1 -1
- package/build/client/_app/immutable/chunks/Bq5F1dsn2.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bq5F1dsn2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{o_g0Uwdt.js → BtZAonhj.js} +1 -1
- package/build/client/_app/immutable/chunks/BtZAonhj.js.br +0 -0
- package/build/client/_app/immutable/chunks/BtZAonhj.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{DzJj7qGm.js → BuoarOYP.js} +1 -1
- package/build/client/_app/immutable/chunks/BuoarOYP.js.br +0 -0
- package/build/client/_app/immutable/chunks/BuoarOYP.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{DCqonBa0.js → Bvc1Hh7r.js} +1 -1
- package/build/client/_app/immutable/chunks/Bvc1Hh7r.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bvc1Hh7r.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{BAxnvyf1.js → BwtFEdAv.js} +1 -1
- package/build/client/_app/immutable/chunks/BwtFEdAv.js.br +0 -0
- package/build/client/_app/immutable/chunks/BwtFEdAv.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{CK0_EB0O.js → BzJl5fTi.js} +1 -1
- package/build/client/_app/immutable/chunks/BzJl5fTi.js.br +0 -0
- package/build/client/_app/immutable/chunks/BzJl5fTi.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{BzUQtr5v.js → C4vg4BT1.js} +1 -1
- package/build/client/_app/immutable/chunks/C4vg4BT1.js.br +0 -0
- package/build/client/_app/immutable/chunks/C4vg4BT1.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{Dz7ahqBO.js → C5m0M3of.js} +1 -1
- package/build/client/_app/immutable/chunks/C5m0M3of.js.br +0 -0
- package/build/client/_app/immutable/chunks/C5m0M3of.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CASBiye32.js +1 -0
- package/build/client/_app/immutable/chunks/CASBiye32.js.br +0 -0
- package/build/client/_app/immutable/chunks/CASBiye32.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{D5gZ12Pd2.js → CBPRmfeb2.js} +1 -1
- package/build/client/_app/immutable/chunks/CBPRmfeb2.js.br +0 -0
- package/build/client/_app/immutable/chunks/CBPRmfeb2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{BqfWvGcQ.js → CE1hmyb1.js} +1 -1
- package/build/client/_app/immutable/chunks/CE1hmyb1.js.br +0 -0
- package/build/client/_app/immutable/chunks/{BqfWvGcQ.js.gz → CE1hmyb1.js.gz} +0 -0
- package/build/client/_app/immutable/chunks/{Drg1dlxz2.js → CEeAxcUj2.js} +1 -1
- package/build/client/_app/immutable/chunks/CEeAxcUj2.js.br +0 -0
- package/build/client/_app/immutable/chunks/CEeAxcUj2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{H76D7ynW2.js → CF8afW2D2.js} +1 -1
- package/build/client/_app/immutable/chunks/CF8afW2D2.js.br +0 -0
- package/build/client/_app/immutable/chunks/CF8afW2D2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{DbUJjakO.js → CLwQ4BZ4.js} +1 -1
- package/build/client/_app/immutable/chunks/CLwQ4BZ4.js.br +0 -0
- package/build/client/_app/immutable/chunks/CLwQ4BZ4.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{CrXgO6Na.js → CQGdm4d_.js} +1 -1
- package/build/client/_app/immutable/chunks/CQGdm4d_.js.br +0 -0
- package/build/client/_app/immutable/chunks/CQGdm4d_.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{uvdzpL1Z.js → CTOLanxh.js} +1 -1
- package/build/client/_app/immutable/chunks/CTOLanxh.js.br +0 -0
- package/build/client/_app/immutable/chunks/CTOLanxh.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{D9AFifK-2.js → CWaWI5dF2.js} +1 -1
- package/build/client/_app/immutable/chunks/CWaWI5dF2.js.br +0 -0
- package/build/client/_app/immutable/chunks/CWaWI5dF2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{C8gF7p59.js → CXEf41Mq.js} +1 -1
- package/build/client/_app/immutable/chunks/CXEf41Mq.js.br +0 -0
- package/build/client/_app/immutable/chunks/CXEf41Mq.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{BS55mr1A.js → CZQ27tTZ.js} +1 -1
- package/build/client/_app/immutable/chunks/CZQ27tTZ.js.br +0 -0
- package/build/client/_app/immutable/chunks/CZQ27tTZ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{BH2K5LpF.js → Cae5Zt2U.js} +1 -1
- package/build/client/_app/immutable/chunks/Cae5Zt2U.js.br +0 -0
- package/build/client/_app/immutable/chunks/Cae5Zt2U.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CatpKENs.js +24 -0
- package/build/client/_app/immutable/chunks/CatpKENs.js.br +0 -0
- package/build/client/_app/immutable/chunks/CatpKENs.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{BLnTiNQX2.js → Cg3yZZaI2.js} +1 -1
- package/build/client/_app/immutable/chunks/Cg3yZZaI2.js.br +0 -0
- package/build/client/_app/immutable/chunks/Cg3yZZaI2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{GliPh1xc.js → Cjxiw1UY.js} +1 -1
- package/build/client/_app/immutable/chunks/Cjxiw1UY.js.br +0 -0
- package/build/client/_app/immutable/chunks/Cjxiw1UY.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{B9ppke1I.js → CmHl6zD1.js} +1 -1
- package/build/client/_app/immutable/chunks/CmHl6zD1.js.br +0 -0
- package/build/client/_app/immutable/chunks/CmHl6zD1.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{RmIZn53u.js → CrsobARw.js} +1 -1
- package/build/client/_app/immutable/chunks/CrsobARw.js.br +0 -0
- package/build/client/_app/immutable/chunks/CrsobARw.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{DbtpcdjC.js → CsetoGb3.js} +1 -1
- package/build/client/_app/immutable/chunks/CsetoGb3.js.br +0 -0
- package/build/client/_app/immutable/chunks/CsetoGb3.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{DcoLHRif.js → D72fvhVH.js} +1 -1
- package/build/client/_app/immutable/chunks/D72fvhVH.js.br +0 -0
- package/build/client/_app/immutable/chunks/D72fvhVH.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D9KJ6WhU.js +3 -0
- package/build/client/_app/immutable/chunks/D9KJ6WhU.js.br +0 -0
- package/build/client/_app/immutable/chunks/D9KJ6WhU.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{Cvs-moFQ.js → DGk9P76o.js} +1 -1
- package/build/client/_app/immutable/chunks/DGk9P76o.js.br +0 -0
- package/build/client/_app/immutable/chunks/DGk9P76o.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DLYiRpdA.js +1 -0
- package/build/client/_app/immutable/chunks/DLYiRpdA.js.br +0 -0
- package/build/client/_app/immutable/chunks/DLYiRpdA.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{kzrV2rN_.js → DLaVsSLp.js} +1 -1
- package/build/client/_app/immutable/chunks/DLaVsSLp.js.br +0 -0
- package/build/client/_app/immutable/chunks/DLaVsSLp.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{1e9J6sGL.js → DMSybqOO.js} +1 -1
- package/build/client/_app/immutable/chunks/DMSybqOO.js.br +0 -0
- package/build/client/_app/immutable/chunks/DMSybqOO.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DNBYGsal2.js +1 -0
- package/build/client/_app/immutable/chunks/DNBYGsal2.js.br +0 -0
- package/build/client/_app/immutable/chunks/DNBYGsal2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{CTF1EodO.js → DOEO-WvX.js} +1 -1
- package/build/client/_app/immutable/chunks/DOEO-WvX.js.br +0 -0
- package/build/client/_app/immutable/chunks/DOEO-WvX.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{Dnlai5vy.js → DR8x2hwi.js} +1 -1
- package/build/client/_app/immutable/chunks/DR8x2hwi.js.br +0 -0
- package/build/client/_app/immutable/chunks/DR8x2hwi.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{I8IsEhKC.js → DdtFrE5g.js} +1 -1
- package/build/client/_app/immutable/chunks/DdtFrE5g.js.br +0 -0
- package/build/client/_app/immutable/chunks/DdtFrE5g.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{DkCwsOo9.js → DeF98yLx.js} +1 -1
- package/build/client/_app/immutable/chunks/DeF98yLx.js.br +0 -0
- package/build/client/_app/immutable/chunks/DeF98yLx.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{CA8NSna52.js → DeyCmzzL2.js} +1 -1
- package/build/client/_app/immutable/chunks/DeyCmzzL2.js.br +0 -0
- package/build/client/_app/immutable/chunks/DeyCmzzL2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{CGKzaYc7.js → DtTt0xhK.js} +1 -1
- package/build/client/_app/immutable/chunks/DtTt0xhK.js.br +0 -0
- package/build/client/_app/immutable/chunks/DtTt0xhK.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{CoAsUpmj2.js → DuzDtz7a2.js} +1 -1
- package/build/client/_app/immutable/chunks/DuzDtz7a2.js.br +0 -0
- package/build/client/_app/immutable/chunks/DuzDtz7a2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{B9T7EddH.js → Dw2GF4Cg.js} +1 -1
- package/build/client/_app/immutable/chunks/Dw2GF4Cg.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dw2GF4Cg.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{BZ7qNccM.js → EH3q7LQf.js} +1 -1
- package/build/client/_app/immutable/chunks/EH3q7LQf.js.br +0 -0
- package/build/client/_app/immutable/chunks/EH3q7LQf.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{BSkI9gFY2.js → JDidFz4O2.js} +1 -1
- package/build/client/_app/immutable/chunks/JDidFz4O2.js.br +0 -0
- package/build/client/_app/immutable/chunks/JDidFz4O2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{AjRqoVi1.js → NS1yVJWc.js} +1 -1
- package/build/client/_app/immutable/chunks/NS1yVJWc.js.br +0 -0
- package/build/client/_app/immutable/chunks/NS1yVJWc.js.gz +0 -0
- package/build/client/_app/immutable/chunks/NVezsm0q.js +1 -0
- package/build/client/_app/immutable/chunks/NVezsm0q.js.br +0 -0
- package/build/client/_app/immutable/chunks/NVezsm0q.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{B_yH3Jrh.js → QBjrzS2s.js} +1 -1
- package/build/client/_app/immutable/chunks/QBjrzS2s.js.br +0 -0
- package/build/client/_app/immutable/chunks/QBjrzS2s.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{Czrn66cW2.js → So9lcrZr2.js} +1 -1
- package/build/client/_app/immutable/chunks/So9lcrZr2.js.br +0 -0
- package/build/client/_app/immutable/chunks/So9lcrZr2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{DwPrh08G.js → TFPepNlC.js} +1 -1
- package/build/client/_app/immutable/chunks/TFPepNlC.js.br +0 -0
- package/build/client/_app/immutable/chunks/TFPepNlC.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{f3rKm6bT.js → TNKwUjSp.js} +1 -1
- package/build/client/_app/immutable/chunks/TNKwUjSp.js.br +0 -0
- package/build/client/_app/immutable/chunks/TNKwUjSp.js.gz +0 -0
- package/build/client/_app/immutable/chunks/VM9VFXVf.js +29 -0
- package/build/client/_app/immutable/chunks/VM9VFXVf.js.br +0 -0
- package/build/client/_app/immutable/chunks/VM9VFXVf.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{DhrQZuUa2.js → ZlqhsWmy2.js} +1 -1
- package/build/client/_app/immutable/chunks/ZlqhsWmy2.js.br +0 -0
- package/build/client/_app/immutable/chunks/ZlqhsWmy2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{Csx9fWS6.js → crlu8Z2C.js} +1 -1
- package/build/client/_app/immutable/chunks/crlu8Z2C.js.br +0 -0
- package/build/client/_app/immutable/chunks/crlu8Z2C.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{BO2_q__R2.js → qNhZewE-2.js} +1 -1
- package/build/client/_app/immutable/chunks/qNhZewE-2.js.br +0 -0
- package/build/client/_app/immutable/chunks/qNhZewE-2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{B4q6lBWC2.js → reDLQItd2.js} +1 -1
- package/build/client/_app/immutable/chunks/reDLQItd2.js.br +0 -0
- package/build/client/_app/immutable/chunks/reDLQItd2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{qFc0ukXQ.js → t0poqtZy.js} +1 -1
- package/build/client/_app/immutable/chunks/t0poqtZy.js.br +0 -0
- package/build/client/_app/immutable/chunks/t0poqtZy.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{hIGena2t.js → vO_Dpg1s.js} +1 -1
- package/build/client/_app/immutable/chunks/vO_Dpg1s.js.br +0 -0
- package/build/client/_app/immutable/chunks/vO_Dpg1s.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{BiAT-RFm2.js → zg9RQRtR2.js} +1 -1
- package/build/client/_app/immutable/chunks/zg9RQRtR2.js.br +0 -0
- package/build/client/_app/immutable/chunks/zg9RQRtR2.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.Dx3cht62.js +2 -0
- package/build/client/_app/immutable/entry/app.Dx3cht62.js.br +0 -0
- package/build/client/_app/immutable/entry/app.Dx3cht62.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.DNk-KwhY.js +1 -0
- package/build/client/_app/immutable/entry/start.DNk-KwhY.js.br +1 -0
- package/build/client/_app/immutable/entry/start.DNk-KwhY.js.gz +0 -0
- package/build/client/_app/immutable/nodes/0.CRVhJu6z.js +1 -0
- package/build/client/_app/immutable/nodes/0.CRVhJu6z.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.CRVhJu6z.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.NaqgzmF4.js +1 -0
- package/build/client/_app/immutable/nodes/1.NaqgzmF4.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.NaqgzmF4.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.DsJfF6hb.js +1 -0
- package/build/client/_app/immutable/nodes/2.DsJfF6hb.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.DsJfF6hb.js.gz +0 -0
- package/build/client/_app/immutable/nodes/3.8gpvnUIh.js +1 -0
- package/build/client/_app/immutable/nodes/3.8gpvnUIh.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.8gpvnUIh.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-DwlyRr6m.js +32 -0
- package/build/server/chunks/0-DwlyRr6m.js.map +1 -0
- package/build/server/chunks/1-uPnFWtBU.js +9 -0
- package/build/server/chunks/{1-CrFx8au6.js.map → 1-uPnFWtBU.js.map} +1 -1
- package/build/server/chunks/{2-CVKjlWVO.js → 2-CDje7KEY.js} +5 -5
- package/build/server/chunks/{2-CVKjlWVO.js.map → 2-CDje7KEY.js.map} +1 -1
- package/build/server/chunks/{3-CbfrFHQp.js → 3-CVeyH-Lj.js} +5 -5
- package/build/server/chunks/{3-CbfrFHQp.js.map → 3-CVeyH-Lj.js.map} +1 -1
- package/build/server/chunks/{_layout.svelte-B7ocR08w.js → _layout.svelte-CpJc98pa.js} +5 -5
- package/build/server/chunks/_layout.svelte-CpJc98pa.js.map +1 -0
- package/build/server/chunks/_page.svelte-BPUGXL6F.js +22 -0
- package/build/server/chunks/_page.svelte-BPUGXL6F.js.map +1 -0
- package/build/server/chunks/_page.svelte-oztHok1I.js +22 -0
- package/build/server/chunks/_page.svelte-oztHok1I.js.map +1 -0
- package/build/server/chunks/client-BggWD1uM.js +33 -0
- package/build/server/chunks/client-BggWD1uM.js.map +1 -0
- package/build/server/chunks/{dist-CcWZ4LGY.js → dist-CkUWVfwV.js} +8 -8
- package/build/server/chunks/dist-CkUWVfwV.js.map +1 -0
- package/build/server/chunks/{error.svelte-CBO1WM8x.js → error.svelte-DqEQ3yjh.js} +5 -5
- package/build/server/chunks/error.svelte-DqEQ3yjh.js.map +1 -0
- package/build/server/chunks/{exports-CVny_V_2.js → internal-CkEvwQO3.js} +3176 -2841
- package/build/server/chunks/internal-CkEvwQO3.js.map +1 -0
- package/build/server/chunks/{preview-api-Bx1_1fsN.js → preview-api-DtH9Y0Bx.js} +24 -3
- package/build/server/chunks/preview-api-DtH9Y0Bx.js.map +1 -0
- package/build/server/chunks/{preview-workbench-C2elwg55.js → preview-workbench-DVP9gfpS.js} +3765 -1971
- package/build/server/chunks/preview-workbench-DVP9gfpS.js.map +1 -0
- package/build/server/chunks/{shared-server-BeE9B1Au.js → shared-server-D7Ql2oYG.js} +2 -2
- package/build/server/chunks/{shared-server-BeE9B1Au.js.map → shared-server-D7Ql2oYG.js.map} +1 -1
- package/build/server/chunks/{state-DUZhiNbV.js → state-Tnjttbb4.js} +5 -5
- package/build/server/chunks/state-Tnjttbb4.js.map +1 -0
- package/build/server/index.js +293 -160
- package/build/server/index.js.map +1 -1
- package/build/server/manifest.js +5 -5
- package/build/server/manifest.js.map +1 -1
- package/package.json +10 -10
- package/build/client/_app/immutable/assets/0.JbmZulcO.css +0 -1
- package/build/client/_app/immutable/assets/0.JbmZulcO.css.br +0 -0
- package/build/client/_app/immutable/assets/0.JbmZulcO.css.gz +0 -0
- package/build/client/_app/immutable/chunks/1e9J6sGL.js.br +0 -0
- package/build/client/_app/immutable/chunks/1e9J6sGL.js.gz +0 -0
- package/build/client/_app/immutable/chunks/2j1sUEXP.js.br +0 -0
- package/build/client/_app/immutable/chunks/2j1sUEXP.js.gz +0 -0
- package/build/client/_app/immutable/chunks/3jktDrCi.js.br +0 -0
- package/build/client/_app/immutable/chunks/3jktDrCi.js.gz +0 -0
- package/build/client/_app/immutable/chunks/4FW2HvmM.js.br +0 -0
- package/build/client/_app/immutable/chunks/4FW2HvmM.js.gz +0 -0
- package/build/client/_app/immutable/chunks/AjRqoVi1.js.br +0 -0
- package/build/client/_app/immutable/chunks/AjRqoVi1.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B4q6lBWC2.js.br +0 -0
- package/build/client/_app/immutable/chunks/B4q6lBWC2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B7UTE8KN2.js.br +0 -0
- package/build/client/_app/immutable/chunks/B7UTE8KN2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B9T7EddH.js.br +0 -0
- package/build/client/_app/immutable/chunks/B9T7EddH.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B9ppke1I.js.br +0 -0
- package/build/client/_app/immutable/chunks/B9ppke1I.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BAxnvyf1.js.br +0 -0
- package/build/client/_app/immutable/chunks/BAxnvyf1.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BH2K5LpF.js.br +0 -0
- package/build/client/_app/immutable/chunks/BH2K5LpF.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BLnTiNQX2.js.br +0 -0
- package/build/client/_app/immutable/chunks/BLnTiNQX2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BO2_q__R2.js.br +0 -0
- package/build/client/_app/immutable/chunks/BO2_q__R2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BS55mr1A.js.br +0 -0
- package/build/client/_app/immutable/chunks/BS55mr1A.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BS9ADXnT.js.br +0 -0
- package/build/client/_app/immutable/chunks/BS9ADXnT.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BSkI9gFY2.js.br +0 -0
- package/build/client/_app/immutable/chunks/BSkI9gFY2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BYj6I6il.js.br +0 -0
- package/build/client/_app/immutable/chunks/BYj6I6il.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BZ7qNccM.js.br +0 -0
- package/build/client/_app/immutable/chunks/BZ7qNccM.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B_PczBOb.js.br +0 -0
- package/build/client/_app/immutable/chunks/B_PczBOb.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B_yH3Jrh.js.br +0 -0
- package/build/client/_app/immutable/chunks/B_yH3Jrh.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Bi-7I8ov.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bi-7I8ov.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BiAT-RFm2.js.br +0 -0
- package/build/client/_app/immutable/chunks/BiAT-RFm2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Bq-6yWbF.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bq-6yWbF.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BqfWvGcQ.js.br +0 -0
- package/build/client/_app/immutable/chunks/BvtP1Kq42.js.br +0 -0
- package/build/client/_app/immutable/chunks/BvtP1Kq42.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BwNhdo_R.js +0 -27
- package/build/client/_app/immutable/chunks/BwNhdo_R.js.br +0 -0
- package/build/client/_app/immutable/chunks/BwNhdo_R.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BzUQtr5v.js.br +0 -0
- package/build/client/_app/immutable/chunks/BzUQtr5v.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C2SIYp-K.js.br +0 -0
- package/build/client/_app/immutable/chunks/C2SIYp-K.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C8gF7p59.js.br +0 -0
- package/build/client/_app/immutable/chunks/C8gF7p59.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CA8NSna52.js.br +0 -0
- package/build/client/_app/immutable/chunks/CA8NSna52.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CGKzaYc7.js.br +0 -0
- package/build/client/_app/immutable/chunks/CGKzaYc7.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CK0_EB0O.js.br +0 -0
- package/build/client/_app/immutable/chunks/CK0_EB0O.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CTF1EodO.js.br +0 -0
- package/build/client/_app/immutable/chunks/CTF1EodO.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C_oJWXGi.js +0 -1
- package/build/client/_app/immutable/chunks/C_oJWXGi.js.br +0 -0
- package/build/client/_app/immutable/chunks/C_oJWXGi.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CoAsUpmj2.js.br +0 -0
- package/build/client/_app/immutable/chunks/CoAsUpmj2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CrXgO6Na.js.br +0 -0
- package/build/client/_app/immutable/chunks/CrXgO6Na.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Csx9fWS6.js.br +0 -0
- package/build/client/_app/immutable/chunks/Csx9fWS6.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Cvs-moFQ.js.br +0 -0
- package/build/client/_app/immutable/chunks/Cvs-moFQ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Czrn66cW2.js.br +0 -0
- package/build/client/_app/immutable/chunks/Czrn66cW2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D3wpe1R42.js.br +0 -0
- package/build/client/_app/immutable/chunks/D3wpe1R42.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D5gZ12Pd2.js.br +0 -0
- package/build/client/_app/immutable/chunks/D5gZ12Pd2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D7-GrcrV.js.br +0 -0
- package/build/client/_app/immutable/chunks/D7-GrcrV.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D9AFifK-2.js.br +0 -0
- package/build/client/_app/immutable/chunks/D9AFifK-2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D9ji1xoJ2.js +0 -1
- package/build/client/_app/immutable/chunks/D9ji1xoJ2.js.br +0 -0
- package/build/client/_app/immutable/chunks/D9ji1xoJ2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DCqonBa0.js.br +0 -0
- package/build/client/_app/immutable/chunks/DCqonBa0.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DDU4XF-72.js.br +0 -0
- package/build/client/_app/immutable/chunks/DDU4XF-72.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DHd7fNGX2.js +0 -1
- package/build/client/_app/immutable/chunks/DHd7fNGX2.js.br +0 -0
- package/build/client/_app/immutable/chunks/DHd7fNGX2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DKEf6hiF.js.br +0 -0
- package/build/client/_app/immutable/chunks/DKEf6hiF.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DLJ1T3Yq2.js.br +0 -0
- package/build/client/_app/immutable/chunks/DLJ1T3Yq2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DQ-95KKy.js.br +0 -0
- package/build/client/_app/immutable/chunks/DQ-95KKy.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DXDz0gKC.js.br +0 -0
- package/build/client/_app/immutable/chunks/DXDz0gKC.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DatbueKV.js +0 -1
- package/build/client/_app/immutable/chunks/DatbueKV.js.br +0 -0
- package/build/client/_app/immutable/chunks/DatbueKV.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DbUJjakO.js.br +0 -0
- package/build/client/_app/immutable/chunks/DbUJjakO.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DbtpcdjC.js.br +0 -0
- package/build/client/_app/immutable/chunks/DbtpcdjC.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DcoLHRif.js.br +0 -0
- package/build/client/_app/immutable/chunks/DcoLHRif.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DhrQZuUa2.js.br +0 -0
- package/build/client/_app/immutable/chunks/DhrQZuUa2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DkCwsOo9.js.br +0 -0
- package/build/client/_app/immutable/chunks/DkCwsOo9.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DlzBGaVj.js +0 -1
- package/build/client/_app/immutable/chunks/DlzBGaVj.js.br +0 -0
- package/build/client/_app/immutable/chunks/DlzBGaVj.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DnEYhwQ2.js +0 -3
- package/build/client/_app/immutable/chunks/DnEYhwQ2.js.br +0 -0
- package/build/client/_app/immutable/chunks/DnEYhwQ2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Dnlai5vy.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dnlai5vy.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Drg1dlxz2.js.br +0 -0
- package/build/client/_app/immutable/chunks/Drg1dlxz2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DwPrh08G.js.br +0 -0
- package/build/client/_app/immutable/chunks/DwPrh08G.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Dz7ahqBO.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dz7ahqBO.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DzJj7qGm.js.br +0 -0
- package/build/client/_app/immutable/chunks/DzJj7qGm.js.gz +0 -0
- package/build/client/_app/immutable/chunks/GliPh1xc.js.br +0 -0
- package/build/client/_app/immutable/chunks/GliPh1xc.js.gz +0 -0
- package/build/client/_app/immutable/chunks/H76D7ynW2.js.br +0 -0
- package/build/client/_app/immutable/chunks/H76D7ynW2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/I8IsEhKC.js.br +0 -0
- package/build/client/_app/immutable/chunks/I8IsEhKC.js.gz +0 -0
- package/build/client/_app/immutable/chunks/JqS4kNgu2.js +0 -1
- package/build/client/_app/immutable/chunks/JqS4kNgu2.js.br +0 -0
- package/build/client/_app/immutable/chunks/JqS4kNgu2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/MYrGs41L.js +0 -3
- package/build/client/_app/immutable/chunks/MYrGs41L.js.br +0 -0
- package/build/client/_app/immutable/chunks/MYrGs41L.js.gz +0 -0
- package/build/client/_app/immutable/chunks/RmIZn53u.js.br +0 -0
- package/build/client/_app/immutable/chunks/RmIZn53u.js.gz +0 -0
- package/build/client/_app/immutable/chunks/XfIqC5sC2.js.br +0 -0
- package/build/client/_app/immutable/chunks/XfIqC5sC2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/YUHGzPMI2.js.br +0 -0
- package/build/client/_app/immutable/chunks/YUHGzPMI2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/f3rKm6bT.js.br +0 -0
- package/build/client/_app/immutable/chunks/f3rKm6bT.js.gz +0 -0
- package/build/client/_app/immutable/chunks/fXJbtheo.js +0 -1
- package/build/client/_app/immutable/chunks/fXJbtheo.js.br +0 -0
- package/build/client/_app/immutable/chunks/fXJbtheo.js.gz +0 -0
- package/build/client/_app/immutable/chunks/hIGena2t.js.br +0 -0
- package/build/client/_app/immutable/chunks/hIGena2t.js.gz +0 -0
- package/build/client/_app/immutable/chunks/k0bE959_.js.br +0 -0
- package/build/client/_app/immutable/chunks/k0bE959_.js.gz +0 -0
- package/build/client/_app/immutable/chunks/kzrV2rN_.js.br +0 -0
- package/build/client/_app/immutable/chunks/kzrV2rN_.js.gz +0 -0
- package/build/client/_app/immutable/chunks/o_g0Uwdt.js.br +0 -0
- package/build/client/_app/immutable/chunks/o_g0Uwdt.js.gz +0 -0
- package/build/client/_app/immutable/chunks/qFc0ukXQ.js.br +0 -0
- package/build/client/_app/immutable/chunks/qFc0ukXQ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/r4H5awG9.js +0 -24
- package/build/client/_app/immutable/chunks/r4H5awG9.js.br +0 -0
- package/build/client/_app/immutable/chunks/r4H5awG9.js.gz +0 -0
- package/build/client/_app/immutable/chunks/ttK1FD1v2.js +0 -1
- package/build/client/_app/immutable/chunks/ttK1FD1v2.js.br +0 -0
- package/build/client/_app/immutable/chunks/ttK1FD1v2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/uvdzpL1Z.js.br +0 -0
- package/build/client/_app/immutable/chunks/uvdzpL1Z.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.DNgVNLlj.js +0 -2
- package/build/client/_app/immutable/entry/app.DNgVNLlj.js.br +0 -0
- package/build/client/_app/immutable/entry/app.DNgVNLlj.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.BGazA8zB.js +0 -1
- package/build/client/_app/immutable/entry/start.BGazA8zB.js.br +0 -0
- package/build/client/_app/immutable/entry/start.BGazA8zB.js.gz +0 -0
- package/build/client/_app/immutable/nodes/0.Ped1ZJps.js +0 -1
- package/build/client/_app/immutable/nodes/0.Ped1ZJps.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.Ped1ZJps.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.DSD0IyVQ.js +0 -1
- package/build/client/_app/immutable/nodes/1.DSD0IyVQ.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.DSD0IyVQ.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.D85EeQbv.js +0 -1
- package/build/client/_app/immutable/nodes/2.D85EeQbv.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.D85EeQbv.js.gz +0 -0
- package/build/client/_app/immutable/nodes/3.DJNay2fD.js +0 -1
- package/build/client/_app/immutable/nodes/3.DJNay2fD.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.DJNay2fD.js.gz +0 -0
- package/build/server/chunks/0-Dga9Jas5.js +0 -27
- package/build/server/chunks/0-Dga9Jas5.js.map +0 -1
- package/build/server/chunks/1-CrFx8au6.js +0 -9
- package/build/server/chunks/_layout.svelte-B7ocR08w.js.map +0 -1
- package/build/server/chunks/_page.svelte-CHaad9nl.js +0 -19
- package/build/server/chunks/_page.svelte-CHaad9nl.js.map +0 -1
- package/build/server/chunks/_page.svelte-CYXpJWgm.js +0 -19
- package/build/server/chunks/_page.svelte-CYXpJWgm.js.map +0 -1
- package/build/server/chunks/client-D3tYzpMo.js +0 -22
- package/build/server/chunks/client-D3tYzpMo.js.map +0 -1
- package/build/server/chunks/dist-CcWZ4LGY.js.map +0 -1
- package/build/server/chunks/error.svelte-CBO1WM8x.js.map +0 -1
- package/build/server/chunks/exports-CVny_V_2.js.map +0 -1
- package/build/server/chunks/preview-api-Bx1_1fsN.js.map +0 -1
- package/build/server/chunks/preview-workbench-C2elwg55.js.map +0 -1
- package/build/server/chunks/state-DUZhiNbV.js.map +0 -1
package/build/server/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { c as coalesce_to_error, g as get_status, a as get_message,
|
|
2
|
-
import { json, text, error } from '@sveltejs/kit';
|
|
1
|
+
import { c as coalesce_to_error, g as get_status, a as get_message, p as parse, _ as __commonJSMin, o as options, b as get_hooks, n as noop, h as has_resolution_suffix, d as has_data_suffix, e as base, s as strip_resolution_suffix, f as strip_data_suffix, T as TRAILING_SLASH_PARAM, I as INVALIDATED_PARAM, i as decode_pathname, j as add_data_suffix, k as add_resolution_suffix, l as find_route, m as normalize_path, q as disable_search, v as validate_layout_server_exports, r as validate_layout_exports, t as validate_page_server_exports, u as validate_page_exports, w as noop_span, x as assets, y as app_dir, z as create_remote_key, A as uneval, B as hash, C as text_encoder, D as compact, E as once, F as normalize_error, G as resolve, H as parse_remote_arg, J as stringify, K as make_trackable, L as stringify$1, M as read_implementation, N as split_remote_key, O as get_relative_path, P as base64_encode, Q as override, R as reset, S as set_read_implementation, U as writable, V as readable } from './chunks/internal-CkEvwQO3.js';
|
|
2
|
+
import { json, text, error, isRedirect } from '@sveltejs/kit';
|
|
3
3
|
import { HttpError, SvelteKitError, Redirect, ActionFailure } from '@sveltejs/kit/internal';
|
|
4
4
|
import { with_request_store, merge_tracing } from '@sveltejs/kit/internal/server';
|
|
5
|
-
import { s as set_private_env, a as set_public_env, p as public_env } from './chunks/shared-server-
|
|
5
|
+
import { s as set_private_env, a as set_public_env, p as public_env } from './chunks/shared-server-D7Ql2oYG.js';
|
|
6
6
|
import 'clsx';
|
|
7
7
|
|
|
8
8
|
var ENDPOINT_METHODS = [
|
|
@@ -14,22 +14,17 @@ var ENDPOINT_METHODS = [
|
|
|
14
14
|
"OPTIONS",
|
|
15
15
|
"HEAD"
|
|
16
16
|
];
|
|
17
|
-
var MUTATIVE_METHODS = [
|
|
18
|
-
"POST",
|
|
19
|
-
"PUT",
|
|
20
|
-
"PATCH",
|
|
21
|
-
"DELETE"
|
|
22
|
-
];
|
|
23
17
|
var PAGE_METHODS = [
|
|
24
18
|
"GET",
|
|
25
19
|
"POST",
|
|
26
20
|
"HEAD"
|
|
27
21
|
];
|
|
28
22
|
//#endregion
|
|
29
|
-
//#region ../../node_modules/.bun/@sveltejs+kit@2.
|
|
23
|
+
//#region ../../node_modules/.bun/@sveltejs+kit@2.60.1+18b086ed9ba34ce6/node_modules/@sveltejs/kit/src/runtime/form-utils.js
|
|
30
24
|
/** @import { RemoteForm } from '@sveltejs/kit' */
|
|
31
25
|
/** @import { BinaryFormMeta, InternalRemoteFormIssue } from 'types' */
|
|
32
26
|
/** @import { StandardSchemaV1 } from '@standard-schema/spec' */
|
|
27
|
+
var decoder = new TextDecoder();
|
|
33
28
|
/**
|
|
34
29
|
* Sets a value in a nested object using a path string, mutating the original object
|
|
35
30
|
* @param {Record<string, any>} object
|
|
@@ -163,14 +158,14 @@ async function deserialize_binary_form(request) {
|
|
|
163
158
|
if (file_offsets_length > 0) {
|
|
164
159
|
const file_offsets_buffer = await get_buffer(HEADER_BYTES + data_length, file_offsets_length);
|
|
165
160
|
if (!file_offsets_buffer) throw deserialize_error("file offset table too short");
|
|
166
|
-
const parsed_offsets = JSON.parse(
|
|
161
|
+
const parsed_offsets = JSON.parse(decoder.decode(file_offsets_buffer));
|
|
167
162
|
if (!Array.isArray(parsed_offsets) || parsed_offsets.some((n) => typeof n !== "number" || !Number.isInteger(n) || n < 0)) throw deserialize_error("invalid file offset table");
|
|
168
163
|
file_offsets = parsed_offsets;
|
|
169
164
|
files_start_offset = HEADER_BYTES + data_length + file_offsets_length;
|
|
170
165
|
}
|
|
171
166
|
/** @type {Array<{ offset: number, size: number }>} */
|
|
172
167
|
const file_spans = [];
|
|
173
|
-
const [data, meta] = parse(
|
|
168
|
+
const [data, meta] = parse(decoder.decode(data_buffer), { File: ([name, type, size, last_modified, index]) => {
|
|
174
169
|
if (typeof name !== "string" || typeof type !== "string" || typeof size !== "number" || typeof last_modified !== "number" || typeof index !== "number") throw deserialize_error("invalid file metadata");
|
|
175
170
|
let offset = file_offsets[index];
|
|
176
171
|
if (offset === void 0) throw deserialize_error("duplicate file offset table index");
|
|
@@ -301,7 +296,7 @@ var LazyFile = class LazyFile {
|
|
|
301
296
|
});
|
|
302
297
|
}
|
|
303
298
|
async text() {
|
|
304
|
-
return
|
|
299
|
+
return decoder.decode(await this.arrayBuffer());
|
|
305
300
|
}
|
|
306
301
|
};
|
|
307
302
|
var path_regex = /^[a-zA-Z_$]\w*(\.[a-zA-Z_$]\w*|\[\d+\])*$/;
|
|
@@ -331,8 +326,8 @@ function deep_set(object, keys, value) {
|
|
|
331
326
|
const key = keys[i];
|
|
332
327
|
check_prototype_pollution(key);
|
|
333
328
|
const is_array = /^\d+$/.test(keys[i + 1]);
|
|
334
|
-
const
|
|
335
|
-
const
|
|
329
|
+
const inner = Object.hasOwn(current, key) ? current[key] : void 0;
|
|
330
|
+
const exists = inner != null;
|
|
336
331
|
if (exists && is_array !== Array.isArray(inner)) throw new Error(`Invalid array key ${keys[i + 1]}`);
|
|
337
332
|
if (!exists) current[key] = is_array ? [] : {};
|
|
338
333
|
current = current[key];
|
|
@@ -342,7 +337,7 @@ function deep_set(object, keys, value) {
|
|
|
342
337
|
current[final_key] = value;
|
|
343
338
|
}
|
|
344
339
|
//#endregion
|
|
345
|
-
//#region ../../node_modules/.bun/@sveltejs+kit@2.
|
|
340
|
+
//#region ../../node_modules/.bun/@sveltejs+kit@2.60.1+18b086ed9ba34ce6/node_modules/@sveltejs/kit/src/utils/http.js
|
|
346
341
|
/**
|
|
347
342
|
* Given an Accept header and a list of possible content types, pick
|
|
348
343
|
* the most suitable one to respond with
|
|
@@ -398,7 +393,10 @@ function is_form_content_type(request) {
|
|
|
398
393
|
return is_content_type(request, "application/x-www-form-urlencoded", "multipart/form-data", "text/plain", BINARY_FORM_CONTENT_TYPE);
|
|
399
394
|
}
|
|
400
395
|
//#endregion
|
|
401
|
-
//#region ../../node_modules/.bun/@sveltejs+kit@2.
|
|
396
|
+
//#region ../../node_modules/.bun/@sveltejs+kit@2.60.1+18b086ed9ba34ce6/node_modules/@sveltejs/kit/src/utils/misc.js
|
|
397
|
+
var s = JSON.stringify;
|
|
398
|
+
//#endregion
|
|
399
|
+
//#region ../../node_modules/.bun/@sveltejs+kit@2.60.1+18b086ed9ba34ce6/node_modules/@sveltejs/kit/src/utils/escape.js
|
|
402
400
|
/**
|
|
403
401
|
* When inside a double-quoted attribute value, only `&` and `"` hold special meaning.
|
|
404
402
|
* @see https://html.spec.whatwg.org/multipage/parsing.html#attribute-value-(double-quoted)-state
|
|
@@ -434,7 +432,7 @@ function escape_html(str, is_attr) {
|
|
|
434
432
|
});
|
|
435
433
|
}
|
|
436
434
|
//#endregion
|
|
437
|
-
//#region ../../node_modules/.bun/@sveltejs+kit@2.
|
|
435
|
+
//#region ../../node_modules/.bun/@sveltejs+kit@2.60.1+18b086ed9ba34ce6/node_modules/@sveltejs/kit/src/runtime/server/utils.js
|
|
438
436
|
/**
|
|
439
437
|
* @param {Partial<Record<import('types').HttpMethod, any>>} mod
|
|
440
438
|
* @param {import('types').HttpMethod} method
|
|
@@ -573,7 +571,7 @@ function get_node_type(node_id) {
|
|
|
573
571
|
return filename.split(".").slice(0, -1).join(".");
|
|
574
572
|
}
|
|
575
573
|
|
|
576
|
-
//#region ../../node_modules/.bun/@sveltejs+kit@2.
|
|
574
|
+
//#region ../../node_modules/.bun/@sveltejs+kit@2.60.1+18b086ed9ba34ce6/node_modules/@sveltejs/kit/src/utils/promise.js
|
|
577
575
|
/** @see https://github.com/microsoft/TypeScript/blob/904e7dd97dc8da1352c8e05d70829dff17c73214/src/lib/es2024.promise.d.ts */
|
|
578
576
|
/**
|
|
579
577
|
* @template T
|
|
@@ -602,7 +600,7 @@ function with_resolvers() {
|
|
|
602
600
|
};
|
|
603
601
|
}
|
|
604
602
|
//#endregion
|
|
605
|
-
//#region ../../node_modules/.bun/@sveltejs+kit@2.
|
|
603
|
+
//#region ../../node_modules/.bun/@sveltejs+kit@2.60.1+18b086ed9ba34ce6/node_modules/@sveltejs/kit/src/runtime/server/constants.js
|
|
606
604
|
var NULL_BODY_STATUS = [
|
|
607
605
|
101,
|
|
608
606
|
103,
|
|
@@ -612,7 +610,7 @@ var NULL_BODY_STATUS = [
|
|
|
612
610
|
];
|
|
613
611
|
var IN_WEBCONTAINER = !!globalThis.process?.versions?.webcontainer;
|
|
614
612
|
//#endregion
|
|
615
|
-
//#region ../../node_modules/.bun/@sveltejs+kit@2.
|
|
613
|
+
//#region ../../node_modules/.bun/@sveltejs+kit@2.60.1+18b086ed9ba34ce6/node_modules/@sveltejs/kit/src/runtime/server/endpoint.js
|
|
616
614
|
/**
|
|
617
615
|
* @param {import('@sveltejs/kit').RequestEvent} event
|
|
618
616
|
* @param {import('types').RequestState} event_state
|
|
@@ -630,7 +628,6 @@ async function render_endpoint(event, event_state, mod, state) {
|
|
|
630
628
|
if (state.prerendering && !state.prerendering.inside_reroute && !prerender) if (state.depth > 0) throw new Error(`${event.route.id} is not prerenderable`);
|
|
631
629
|
else return new Response(void 0, { status: 204 });
|
|
632
630
|
try {
|
|
633
|
-
event_state.allows_commands = true;
|
|
634
631
|
const response = await with_request_store({
|
|
635
632
|
event,
|
|
636
633
|
state: event_state
|
|
@@ -670,14 +667,14 @@ function is_endpoint_request(event) {
|
|
|
670
667
|
return negotiate(event.request.headers.get("accept") ?? "*/*", ["*", "text/html"]) !== "text/html";
|
|
671
668
|
}
|
|
672
669
|
//#endregion
|
|
673
|
-
//#region ../../node_modules/.bun/@sveltejs+kit@2.
|
|
670
|
+
//#region ../../node_modules/.bun/@sveltejs+kit@2.60.1+18b086ed9ba34ce6/node_modules/@sveltejs/kit/src/runtime/telemetry/record_span.js
|
|
674
671
|
/** @import { RecordSpan } from 'types' */
|
|
675
672
|
/** @type {RecordSpan} */
|
|
676
673
|
async function record_span({ name, attributes, fn }) {
|
|
677
674
|
return fn(noop_span);
|
|
678
675
|
}
|
|
679
676
|
//#endregion
|
|
680
|
-
//#region ../../node_modules/.bun/@sveltejs+kit@2.
|
|
677
|
+
//#region ../../node_modules/.bun/@sveltejs+kit@2.60.1+18b086ed9ba34ce6/node_modules/@sveltejs/kit/src/runtime/server/page/actions.js
|
|
681
678
|
/** @import { RequestEvent, ActionResult, Actions } from '@sveltejs/kit' */
|
|
682
679
|
/** @import { SSROptions, SSRNode, ServerNode, ServerHooks } from 'types' */
|
|
683
680
|
/** @param {RequestEvent} event */
|
|
@@ -824,7 +821,6 @@ async function call_action(event, event_state, actions) {
|
|
|
824
821
|
},
|
|
825
822
|
fn: async (current) => {
|
|
826
823
|
const traced_event = merge_tracing(event, current);
|
|
827
|
-
event_state.allows_commands = true;
|
|
828
824
|
const result = await with_request_store({
|
|
829
825
|
event: traced_event,
|
|
830
826
|
state: event_state
|
|
@@ -882,7 +878,7 @@ function try_serialize(data, fn, route_id) {
|
|
|
882
878
|
}
|
|
883
879
|
}
|
|
884
880
|
//#endregion
|
|
885
|
-
//#region ../../node_modules/.bun/@sveltejs+kit@2.
|
|
881
|
+
//#region ../../node_modules/.bun/@sveltejs+kit@2.60.1+18b086ed9ba34ce6/node_modules/@sveltejs/kit/src/utils/streaming.js
|
|
886
882
|
/**
|
|
887
883
|
* Create an async iterator and a function to push values into it
|
|
888
884
|
* @template T
|
|
@@ -921,7 +917,7 @@ function create_async_iterator() {
|
|
|
921
917
|
};
|
|
922
918
|
}
|
|
923
919
|
//#endregion
|
|
924
|
-
//#region ../../node_modules/.bun/@sveltejs+kit@2.
|
|
920
|
+
//#region ../../node_modules/.bun/@sveltejs+kit@2.60.1+18b086ed9ba34ce6/node_modules/@sveltejs/kit/src/runtime/server/page/data_serializer.js
|
|
925
921
|
/**
|
|
926
922
|
* If the serialized data contains promises, `chunks` will be an
|
|
927
923
|
* async iterable containing their resolutions
|
|
@@ -1023,6 +1019,7 @@ function server_data_serializer_json(event, event_state, options) {
|
|
|
1023
1019
|
const iterator = create_async_iterator();
|
|
1024
1020
|
const reducers = {
|
|
1025
1021
|
...Object.fromEntries(Object.entries(options.hooks.transport).map(([key, value]) => [key, value.encode])),
|
|
1022
|
+
/** @param {any} thing */
|
|
1026
1023
|
Promise: (thing) => {
|
|
1027
1024
|
if (typeof thing?.then !== "function") return;
|
|
1028
1025
|
const id = promise_id++;
|
|
@@ -1079,7 +1076,7 @@ function server_data_serializer_json(event, event_state, options) {
|
|
|
1079
1076
|
};
|
|
1080
1077
|
}
|
|
1081
1078
|
//#endregion
|
|
1082
|
-
//#region ../../node_modules/.bun/@sveltejs+kit@2.
|
|
1079
|
+
//#region ../../node_modules/.bun/@sveltejs+kit@2.60.1+18b086ed9ba34ce6/node_modules/@sveltejs/kit/src/runtime/server/page/load_data.js
|
|
1083
1080
|
/**
|
|
1084
1081
|
* Calls the user's server `load` function.
|
|
1085
1082
|
* @param {{
|
|
@@ -1136,6 +1133,7 @@ async function load_server_data({ event, event_state, state, node, parent }) {
|
|
|
1136
1133
|
new URL(info instanceof Request ? info.url : info, event.url);
|
|
1137
1134
|
return event.fetch(info, init);
|
|
1138
1135
|
},
|
|
1136
|
+
/** @param {string[]} deps */
|
|
1139
1137
|
depends: (...deps) => {
|
|
1140
1138
|
for (const dep of deps) {
|
|
1141
1139
|
const { href } = new URL(dep, event.url);
|
|
@@ -1200,7 +1198,10 @@ async function load_data({ event, event_state, fetched, node, parent, server_dat
|
|
|
1200
1198
|
const traced_event = merge_tracing(event, current);
|
|
1201
1199
|
return await with_request_store({
|
|
1202
1200
|
event: traced_event,
|
|
1203
|
-
state:
|
|
1201
|
+
state: {
|
|
1202
|
+
...event_state,
|
|
1203
|
+
is_in_universal_load: true
|
|
1204
|
+
}
|
|
1204
1205
|
}, () => load.call(null, {
|
|
1205
1206
|
url: event.url,
|
|
1206
1207
|
params: event.params,
|
|
@@ -1208,7 +1209,7 @@ async function load_data({ event, event_state, fetched, node, parent, server_dat
|
|
|
1208
1209
|
route: event.route,
|
|
1209
1210
|
fetch: create_universal_fetch(event, state, fetched, csr, resolve_opts),
|
|
1210
1211
|
setHeaders: event.setHeaders,
|
|
1211
|
-
depends:
|
|
1212
|
+
depends: noop,
|
|
1212
1213
|
parent,
|
|
1213
1214
|
untrack: (fn) => fn(),
|
|
1214
1215
|
tracing: traced_event.tracing
|
|
@@ -1343,7 +1344,7 @@ function create_universal_fetch(event, state, fetched, csr, resolve_opts) {
|
|
|
1343
1344
|
};
|
|
1344
1345
|
return (input, init) => {
|
|
1345
1346
|
const response = universal_fetch(input, init);
|
|
1346
|
-
response.catch(
|
|
1347
|
+
response.catch(noop);
|
|
1347
1348
|
return response;
|
|
1348
1349
|
};
|
|
1349
1350
|
}
|
|
@@ -1353,15 +1354,19 @@ function create_universal_fetch(event, state, fetched, csr, resolve_opts) {
|
|
|
1353
1354
|
async function stream_to_string(stream) {
|
|
1354
1355
|
let result = "";
|
|
1355
1356
|
const reader = stream.getReader();
|
|
1357
|
+
const decoder = new TextDecoder();
|
|
1356
1358
|
while (true) {
|
|
1357
1359
|
const { done, value } = await reader.read();
|
|
1358
|
-
if (done)
|
|
1359
|
-
|
|
1360
|
+
if (done) {
|
|
1361
|
+
result += decoder.decode();
|
|
1362
|
+
break;
|
|
1363
|
+
}
|
|
1364
|
+
result += decoder.decode(value, { stream: true });
|
|
1360
1365
|
}
|
|
1361
1366
|
return result;
|
|
1362
1367
|
}
|
|
1363
1368
|
//#endregion
|
|
1364
|
-
//#region ../../node_modules/.bun/@sveltejs+kit@2.
|
|
1369
|
+
//#region ../../node_modules/.bun/@sveltejs+kit@2.60.1+18b086ed9ba34ce6/node_modules/@sveltejs/kit/src/runtime/server/page/serialize_data.js
|
|
1365
1370
|
/**
|
|
1366
1371
|
* Inside a script element, only `<\/script` and `<!--` hold special meaning to the HTML parser.
|
|
1367
1372
|
*
|
|
@@ -1441,10 +1446,7 @@ function serialize_data(fetched, filter, prerendering = false) {
|
|
|
1441
1446
|
return `<script ${attrs.join(" ")}>${safe_payload}<\/script>`;
|
|
1442
1447
|
}
|
|
1443
1448
|
//#endregion
|
|
1444
|
-
//#region ../../node_modules/.bun/@sveltejs+kit@2.
|
|
1445
|
-
var s = JSON.stringify;
|
|
1446
|
-
//#endregion
|
|
1447
|
-
//#region ../../node_modules/.bun/@sveltejs+kit@2.55.0+1adbc10545f81841/node_modules/@sveltejs/kit/src/runtime/server/page/crypto.js
|
|
1449
|
+
//#region ../../node_modules/.bun/@sveltejs+kit@2.60.1+18b086ed9ba34ce6/node_modules/@sveltejs/kit/src/runtime/server/page/crypto.js
|
|
1448
1450
|
/**
|
|
1449
1451
|
* SHA-256 hashing function adapted from https://bitwiseshiftleft.github.io/sjcl
|
|
1450
1452
|
* modified and redistributed under BSD license
|
|
@@ -1549,7 +1551,7 @@ function encode(str) {
|
|
|
1549
1551
|
return words;
|
|
1550
1552
|
}
|
|
1551
1553
|
//#endregion
|
|
1552
|
-
//#region ../../node_modules/.bun/@sveltejs+kit@2.
|
|
1554
|
+
//#region ../../node_modules/.bun/@sveltejs+kit@2.60.1+18b086ed9ba34ce6/node_modules/@sveltejs/kit/src/runtime/server/page/csp.js
|
|
1553
1555
|
var array = new Uint8Array(16);
|
|
1554
1556
|
function generate_nonce() {
|
|
1555
1557
|
crypto.getRandomValues(array);
|
|
@@ -1757,7 +1759,7 @@ var Csp = class {
|
|
|
1757
1759
|
}
|
|
1758
1760
|
};
|
|
1759
1761
|
//#endregion
|
|
1760
|
-
//#region ../../node_modules/.bun/@sveltejs+kit@2.
|
|
1762
|
+
//#region ../../node_modules/.bun/@sveltejs+kit@2.60.1+18b086ed9ba34ce6/node_modules/@sveltejs/kit/src/runtime/server/page/server_routing.js
|
|
1761
1763
|
/**
|
|
1762
1764
|
* @param {import('types').SSRClientRoute} route
|
|
1763
1765
|
* @param {URL} url
|
|
@@ -1852,7 +1854,7 @@ function create_css_import(route, url, manifest) {
|
|
|
1852
1854
|
return `${create_client_import(manifest._.client.start, url)}.then(x => x.load_css([${css}]));`;
|
|
1853
1855
|
}
|
|
1854
1856
|
//#endregion
|
|
1855
|
-
//#region ../../node_modules/.bun/@sveltejs+kit@2.
|
|
1857
|
+
//#region ../../node_modules/.bun/@sveltejs+kit@2.60.1+18b086ed9ba34ce6/node_modules/@sveltejs/kit/src/runtime/server/page/render.js
|
|
1856
1858
|
var updated = {
|
|
1857
1859
|
...readable(false),
|
|
1858
1860
|
check: () => false
|
|
@@ -1950,6 +1952,7 @@ async function render_response({ branch, fetched, options, manifest, state, page
|
|
|
1950
1952
|
context: new Map([["__request__", { page: props.page }]]),
|
|
1951
1953
|
csp: csp.script_needs_nonce ? { nonce: csp.nonce } : { hash: csp.script_needs_hash },
|
|
1952
1954
|
transformError: error_components ? async (e) => {
|
|
1955
|
+
if (isRedirect(e)) throw e;
|
|
1953
1956
|
const transformed = await handle_error_and_jsonify(event, event_state, options, e);
|
|
1954
1957
|
props.page.error = props.error = error = transformed;
|
|
1955
1958
|
props.page.status = status = get_status(e);
|
|
@@ -1957,10 +1960,12 @@ async function render_response({ branch, fetched, options, manifest, state, page
|
|
|
1957
1960
|
} : void 0
|
|
1958
1961
|
};
|
|
1959
1962
|
try {
|
|
1960
|
-
event_state.allows_commands = false;
|
|
1961
1963
|
rendered = await with_request_store({
|
|
1962
1964
|
event,
|
|
1963
|
-
state:
|
|
1965
|
+
state: {
|
|
1966
|
+
...event_state,
|
|
1967
|
+
is_in_render: true
|
|
1968
|
+
}
|
|
1964
1969
|
}, async () => {
|
|
1965
1970
|
override({
|
|
1966
1971
|
base: base$1,
|
|
@@ -1981,18 +1986,6 @@ async function render_response({ branch, fetched, options, manifest, state, page
|
|
|
1981
1986
|
} finally {
|
|
1982
1987
|
reset();
|
|
1983
1988
|
}
|
|
1984
|
-
for (const { node } of branch) {
|
|
1985
|
-
for (const url of node.imports) modulepreloads.add(url);
|
|
1986
|
-
for (const url of node.stylesheets) stylesheets.add(url);
|
|
1987
|
-
for (const url of node.fonts) fonts.add(url);
|
|
1988
|
-
if (node.inline_styles && !client.inline) Object.entries(await node.inline_styles()).forEach(([filename, css]) => {
|
|
1989
|
-
if (typeof css === "string") {
|
|
1990
|
-
inline_styles.set(filename, css);
|
|
1991
|
-
return;
|
|
1992
|
-
}
|
|
1993
|
-
inline_styles.set(filename, css(`${assets$1}/${app_dir}/immutable/assets`, assets$1));
|
|
1994
|
-
});
|
|
1995
|
-
}
|
|
1996
1989
|
} else rendered = {
|
|
1997
1990
|
head: "",
|
|
1998
1991
|
html: "",
|
|
@@ -2002,6 +1995,18 @@ async function render_response({ branch, fetched, options, manifest, state, page
|
|
|
2002
1995
|
},
|
|
2003
1996
|
hashes: { script: [] }
|
|
2004
1997
|
};
|
|
1998
|
+
for (const { node } of branch) {
|
|
1999
|
+
for (const url of node.imports) modulepreloads.add(url);
|
|
2000
|
+
for (const url of node.stylesheets) stylesheets.add(url);
|
|
2001
|
+
for (const url of node.fonts) fonts.add(url);
|
|
2002
|
+
if (node.inline_styles && !client.inline) Object.entries(await node.inline_styles()).forEach(([filename, css]) => {
|
|
2003
|
+
if (typeof css === "string") {
|
|
2004
|
+
inline_styles.set(filename, css);
|
|
2005
|
+
return;
|
|
2006
|
+
}
|
|
2007
|
+
inline_styles.set(filename, css(`${assets$1}/${app_dir}/immutable/assets`, assets$1));
|
|
2008
|
+
});
|
|
2009
|
+
}
|
|
2005
2010
|
const head = new Head(rendered.head, !!state.prerendering);
|
|
2006
2011
|
let body = rendered.html;
|
|
2007
2012
|
/** @param {string} path */
|
|
@@ -2123,18 +2128,24 @@ async function render_response({ branch, fetched, options, manifest, state, page
|
|
|
2123
2128
|
const indent = " ".repeat(load_env_eagerly ? 7 : 6);
|
|
2124
2129
|
args.push(`{\n${indent}\t${hydrate.join(`,\n${indent}\t`)}\n${indent}}`);
|
|
2125
2130
|
}
|
|
2126
|
-
const {
|
|
2127
|
-
let
|
|
2128
|
-
|
|
2131
|
+
const { remote } = event_state;
|
|
2132
|
+
let serialized_query_data = "";
|
|
2133
|
+
let serialized_prerender_data = "";
|
|
2134
|
+
if (remote.data) {
|
|
2135
|
+
/** @type {Record<string, any>} */
|
|
2136
|
+
const query = {};
|
|
2129
2137
|
/** @type {Record<string, any>} */
|
|
2130
|
-
const
|
|
2131
|
-
for (const [
|
|
2132
|
-
if (!
|
|
2138
|
+
const prerender = {};
|
|
2139
|
+
for (const [internals, cache] of remote.data) {
|
|
2140
|
+
if (!internals.id) continue;
|
|
2133
2141
|
for (const key in cache) {
|
|
2134
|
-
const
|
|
2135
|
-
if (
|
|
2142
|
+
const entry = cache[key];
|
|
2143
|
+
if (!entry.serialize) continue;
|
|
2144
|
+
const remote_key = create_remote_key(internals.id, key);
|
|
2145
|
+
const store = internals.type === "prerender" ? prerender : query;
|
|
2146
|
+
if (event_state.remote.refreshes?.has(remote_key) || event_state.remote.reconnects?.has(remote_key)) store[remote_key] = await entry.data;
|
|
2136
2147
|
else {
|
|
2137
|
-
const result = await Promise.race([Promise.resolve(
|
|
2148
|
+
const result = await Promise.race([Promise.resolve(entry.data).then((v) => ({
|
|
2138
2149
|
settled: true,
|
|
2139
2150
|
value: v
|
|
2140
2151
|
}), (e) => ({
|
|
@@ -2145,7 +2156,7 @@ async function render_response({ branch, fetched, options, manifest, state, page
|
|
|
2145
2156
|
})]);
|
|
2146
2157
|
if (result.settled) {
|
|
2147
2158
|
if ("error" in result) throw result.error;
|
|
2148
|
-
|
|
2159
|
+
store[remote_key] = result.value;
|
|
2149
2160
|
}
|
|
2150
2161
|
}
|
|
2151
2162
|
}
|
|
@@ -2156,8 +2167,10 @@ async function render_response({ branch, fetched, options, manifest, state, page
|
|
|
2156
2167
|
if (encoded) return `app.decode('${key}', ${uneval(encoded, replacer)})`;
|
|
2157
2168
|
}
|
|
2158
2169
|
};
|
|
2159
|
-
|
|
2170
|
+
if (Object.keys(query).length > 0) serialized_query_data = `${global}.query = ${uneval(query, replacer)};\n\n\t\t\t\t\t\t`;
|
|
2171
|
+
if (Object.keys(prerender).length > 0) serialized_prerender_data = `${global}.prerender = ${uneval(prerender, replacer)};\n\n\t\t\t\t\t\t`;
|
|
2160
2172
|
}
|
|
2173
|
+
const serialized_remote_data = `${serialized_query_data}${serialized_prerender_data}`;
|
|
2161
2174
|
const boot = client.inline ? `${client.inline.script}
|
|
2162
2175
|
|
|
2163
2176
|
${serialized_remote_data}${global}.app.start(${args.join(", ")});` : client.app ? `Promise.all([
|
|
@@ -2178,8 +2191,14 @@ async function render_response({ branch, fetched, options, manifest, state, page
|
|
|
2178
2191
|
let opts = "";
|
|
2179
2192
|
if (options.service_worker_options != null) opts = `, ${s({ ...options.service_worker_options })}`;
|
|
2180
2193
|
blocks.push(`if ('serviceWorker' in navigator) {
|
|
2194
|
+
const script_url = '${prefixed("service-worker.js")}';
|
|
2195
|
+
const policy = globalThis?.window?.trustedTypes?.createPolicy(
|
|
2196
|
+
'sveltekit-trusted-url',
|
|
2197
|
+
{ createScriptURL(url) { return url; } }
|
|
2198
|
+
);
|
|
2199
|
+
const sanitised = policy?.createScriptURL(script_url) ?? script_url;
|
|
2181
2200
|
addEventListener('load', function () {
|
|
2182
|
-
navigator.serviceWorker.register(
|
|
2201
|
+
navigator.serviceWorker.register(sanitised${opts});
|
|
2183
2202
|
});
|
|
2184
2203
|
}`);
|
|
2185
2204
|
}
|
|
@@ -2294,8 +2313,9 @@ var Head = class {
|
|
|
2294
2313
|
}
|
|
2295
2314
|
};
|
|
2296
2315
|
//#endregion
|
|
2297
|
-
//#region ../../node_modules/.bun/@sveltejs+kit@2.
|
|
2316
|
+
//#region ../../node_modules/.bun/@sveltejs+kit@2.60.1+18b086ed9ba34ce6/node_modules/@sveltejs/kit/src/utils/page_nodes.js
|
|
2298
2317
|
var PageNodes = class {
|
|
2318
|
+
/** All layout nodes and the page node, if any */
|
|
2299
2319
|
data;
|
|
2300
2320
|
/**
|
|
2301
2321
|
* @param {Array<import('types').SSRNode | undefined>} nodes
|
|
@@ -2361,7 +2381,7 @@ var PageNodes = class {
|
|
|
2361
2381
|
}
|
|
2362
2382
|
};
|
|
2363
2383
|
//#endregion
|
|
2364
|
-
//#region ../../node_modules/.bun/@sveltejs+kit@2.
|
|
2384
|
+
//#region ../../node_modules/.bun/@sveltejs+kit@2.60.1+18b086ed9ba34ce6/node_modules/@sveltejs/kit/src/runtime/server/page/respond_with_error.js
|
|
2365
2385
|
/**
|
|
2366
2386
|
* @typedef {import('./types.js').Loaded} Loaded
|
|
2367
2387
|
*/
|
|
@@ -2449,9 +2469,9 @@ async function respond_with_error({ event, event_state, options, manifest, state
|
|
|
2449
2469
|
}
|
|
2450
2470
|
}
|
|
2451
2471
|
//#endregion
|
|
2452
|
-
//#region ../../node_modules/.bun/@sveltejs+kit@2.
|
|
2472
|
+
//#region ../../node_modules/.bun/@sveltejs+kit@2.60.1+18b086ed9ba34ce6/node_modules/@sveltejs/kit/src/runtime/server/remote.js
|
|
2453
2473
|
/** @import { ActionResult, RemoteForm, RequestEvent, SSRManifest } from '@sveltejs/kit' */
|
|
2454
|
-
/** @import { RemoteFunctionResponse,
|
|
2474
|
+
/** @import { RemoteFormInternals, RemoteFunctionResponse, RemoteInternals, RequestState, SSROptions } from 'types' */
|
|
2455
2475
|
/** @type {typeof handle_remote_call_internal} */
|
|
2456
2476
|
async function handle_remote_call(event, state, options, manifest, id) {
|
|
2457
2477
|
return record_span({
|
|
@@ -2479,17 +2499,15 @@ async function handle_remote_call_internal(event, state, options, manifest, id)
|
|
|
2479
2499
|
if (!remotes[hash]) error(404);
|
|
2480
2500
|
const fn = (await remotes[hash]()).default[name];
|
|
2481
2501
|
if (!fn) error(404);
|
|
2482
|
-
/** @type {
|
|
2483
|
-
const
|
|
2502
|
+
/** @type {RemoteInternals} */
|
|
2503
|
+
const internals = fn.__;
|
|
2484
2504
|
const transport = options.hooks.transport;
|
|
2485
2505
|
event.tracing.current.setAttributes({
|
|
2486
|
-
"sveltekit.remote.call.type":
|
|
2487
|
-
"sveltekit.remote.call.name":
|
|
2506
|
+
"sveltekit.remote.call.type": internals.type,
|
|
2507
|
+
"sveltekit.remote.call.name": internals.name
|
|
2488
2508
|
});
|
|
2489
|
-
/** @type {string[] | undefined} */
|
|
2490
|
-
let form_client_refreshes;
|
|
2491
2509
|
try {
|
|
2492
|
-
if (
|
|
2510
|
+
if (internals.type === "query_batch") {
|
|
2493
2511
|
if (event.request.method !== "POST") throw new SvelteKitError(405, "Method Not Allowed", `\`query.batch\` functions must be invoked via POST request, not ${event.request.method}`);
|
|
2494
2512
|
/** @type {{ payloads: string[] }} */
|
|
2495
2513
|
const { payloads } = await event.request.json();
|
|
@@ -2499,16 +2517,16 @@ async function handle_remote_call_internal(event, state, options, manifest, id)
|
|
|
2499
2517
|
result: stringify(await with_request_store({
|
|
2500
2518
|
event,
|
|
2501
2519
|
state
|
|
2502
|
-
}, () =>
|
|
2520
|
+
}, () => internals.run(args, options)), transport)
|
|
2503
2521
|
});
|
|
2504
2522
|
}
|
|
2505
|
-
if (
|
|
2523
|
+
if (internals.type === "form") {
|
|
2506
2524
|
if (event.request.method !== "POST") throw new SvelteKitError(405, "Method Not Allowed", `\`form\` functions must be invoked via POST request, not ${event.request.method}`);
|
|
2507
2525
|
if (!is_form_content_type(event.request)) throw new SvelteKitError(415, "Unsupported Media Type", `\`form\` functions expect form-encoded data — received ${event.request.headers.get("content-type")}`);
|
|
2508
2526
|
const { data, meta, form_data } = await deserialize_binary_form(event.request);
|
|
2509
|
-
|
|
2527
|
+
state.remote.requested = create_requested_map(meta.remote_refreshes);
|
|
2510
2528
|
if (additional_args && !("id" in data)) data.id = JSON.parse(decodeURIComponent(additional_args));
|
|
2511
|
-
const fn =
|
|
2529
|
+
const fn = internals.fn;
|
|
2512
2530
|
const result = await with_request_store({
|
|
2513
2531
|
event,
|
|
2514
2532
|
state
|
|
@@ -2516,12 +2534,14 @@ async function handle_remote_call_internal(event, state, options, manifest, id)
|
|
|
2516
2534
|
return json({
|
|
2517
2535
|
type: "result",
|
|
2518
2536
|
result: stringify(result, transport),
|
|
2519
|
-
refreshes: result.issues ? void 0 : await
|
|
2537
|
+
refreshes: result.issues ? void 0 : await serialize_singleflight(state.remote.refreshes),
|
|
2538
|
+
reconnects: result.issues ? void 0 : await serialize_singleflight(state.remote.reconnects)
|
|
2520
2539
|
});
|
|
2521
2540
|
}
|
|
2522
|
-
if (
|
|
2523
|
-
/** @type {{ payload: string, refreshes
|
|
2541
|
+
if (internals.type === "command") {
|
|
2542
|
+
/** @type {{ payload: string, refreshes?: string[] }} */
|
|
2524
2543
|
const { payload, refreshes } = await event.request.json();
|
|
2544
|
+
state.remote.requested = create_requested_map(refreshes);
|
|
2525
2545
|
const arg = parse_remote_arg(payload, transport);
|
|
2526
2546
|
return json({
|
|
2527
2547
|
type: "result",
|
|
@@ -2529,10 +2549,78 @@ async function handle_remote_call_internal(event, state, options, manifest, id)
|
|
|
2529
2549
|
event,
|
|
2530
2550
|
state
|
|
2531
2551
|
}, () => fn(arg)), transport),
|
|
2532
|
-
refreshes: await
|
|
2552
|
+
refreshes: await serialize_singleflight(state.remote.refreshes),
|
|
2553
|
+
reconnects: await serialize_singleflight(state.remote.reconnects)
|
|
2533
2554
|
});
|
|
2534
2555
|
}
|
|
2535
|
-
|
|
2556
|
+
if (internals.type === "query_live") {
|
|
2557
|
+
if (event.request.method !== "GET") throw new SvelteKitError(405, "Method Not Allowed", `\`query.live\` functions must be invoked via GET request, not ${event.request.method}`);
|
|
2558
|
+
const payload = new URL(event.request.url).searchParams.get("payload");
|
|
2559
|
+
const generator = internals.run(event, state, parse_remote_arg(payload, transport));
|
|
2560
|
+
const encoder = new TextEncoder();
|
|
2561
|
+
/**
|
|
2562
|
+
* @param {ReadableStreamDefaultController} controller
|
|
2563
|
+
* @param {any} payload
|
|
2564
|
+
*/
|
|
2565
|
+
function send(controller, payload) {
|
|
2566
|
+
controller.enqueue(encoder.encode(JSON.stringify(payload) + "\n"));
|
|
2567
|
+
}
|
|
2568
|
+
let closed = false;
|
|
2569
|
+
/** @type {string | undefined} */
|
|
2570
|
+
let result = void 0;
|
|
2571
|
+
async function cancel() {
|
|
2572
|
+
if (closed) return;
|
|
2573
|
+
closed = true;
|
|
2574
|
+
await generator.return(void 0);
|
|
2575
|
+
}
|
|
2576
|
+
event.request.signal.addEventListener("abort", cancel, { once: true });
|
|
2577
|
+
return new Response(new ReadableStream({
|
|
2578
|
+
async pull(controller) {
|
|
2579
|
+
if (event.request.signal.aborted) {
|
|
2580
|
+
await cancel();
|
|
2581
|
+
controller.close();
|
|
2582
|
+
return;
|
|
2583
|
+
}
|
|
2584
|
+
try {
|
|
2585
|
+
while (true) {
|
|
2586
|
+
const { value, done } = await generator.next();
|
|
2587
|
+
if (done) {
|
|
2588
|
+
await cancel();
|
|
2589
|
+
controller.close();
|
|
2590
|
+
return;
|
|
2591
|
+
}
|
|
2592
|
+
if (result !== (result = stringify(value, transport))) {
|
|
2593
|
+
send(controller, {
|
|
2594
|
+
type: "result",
|
|
2595
|
+
result
|
|
2596
|
+
});
|
|
2597
|
+
return;
|
|
2598
|
+
}
|
|
2599
|
+
}
|
|
2600
|
+
} catch (error) {
|
|
2601
|
+
if (!event.request.signal.aborted) if (error instanceof Redirect) send(controller, {
|
|
2602
|
+
type: "redirect",
|
|
2603
|
+
location: error.location
|
|
2604
|
+
});
|
|
2605
|
+
else {
|
|
2606
|
+
const status = error instanceof HttpError || error instanceof SvelteKitError ? error.status : 500;
|
|
2607
|
+
send(controller, {
|
|
2608
|
+
type: "error",
|
|
2609
|
+
error: await handle_error_and_jsonify(event, state, options, error),
|
|
2610
|
+
status
|
|
2611
|
+
});
|
|
2612
|
+
}
|
|
2613
|
+
await cancel();
|
|
2614
|
+
controller.close();
|
|
2615
|
+
}
|
|
2616
|
+
},
|
|
2617
|
+
cancel
|
|
2618
|
+
}), { headers: {
|
|
2619
|
+
"cache-control": "private, no-store",
|
|
2620
|
+
"content-type": "application/x-ndjson"
|
|
2621
|
+
} });
|
|
2622
|
+
}
|
|
2623
|
+
const payload = internals.type === "prerender" ? additional_args : new URL(event.request.url).searchParams.get("payload");
|
|
2536
2624
|
return json({
|
|
2537
2625
|
type: "result",
|
|
2538
2626
|
result: stringify(await with_request_store({
|
|
@@ -2544,7 +2632,8 @@ async function handle_remote_call_internal(event, state, options, manifest, id)
|
|
|
2544
2632
|
if (error instanceof Redirect) return json({
|
|
2545
2633
|
type: "redirect",
|
|
2546
2634
|
location: error.location,
|
|
2547
|
-
refreshes: await
|
|
2635
|
+
refreshes: await serialize_singleflight(state.remote.refreshes),
|
|
2636
|
+
reconnects: await serialize_singleflight(state.remote.reconnects)
|
|
2548
2637
|
});
|
|
2549
2638
|
const status = error instanceof HttpError || error instanceof SvelteKitError ? error.status : 500;
|
|
2550
2639
|
return json({
|
|
@@ -2556,25 +2645,39 @@ async function handle_remote_call_internal(event, state, options, manifest, id)
|
|
|
2556
2645
|
headers: { "cache-control": "private, no-store" }
|
|
2557
2646
|
});
|
|
2558
2647
|
}
|
|
2559
|
-
/**
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
return stringify(Object.fromEntries(
|
|
2648
|
+
/** @param {Map<string, Promise<any>> | null} map */
|
|
2649
|
+
async function serialize_singleflight(map) {
|
|
2650
|
+
if (!map || map.size === 0) return;
|
|
2651
|
+
const results = await Promise.all(Array.from(map, async ([key, promise]) => {
|
|
2652
|
+
try {
|
|
2653
|
+
return [key, {
|
|
2654
|
+
type: "result",
|
|
2655
|
+
data: await promise
|
|
2656
|
+
}];
|
|
2657
|
+
} catch (error) {
|
|
2658
|
+
return [key, {
|
|
2659
|
+
type: "error",
|
|
2660
|
+
status: error instanceof HttpError || error instanceof SvelteKitError ? error.status : 500,
|
|
2661
|
+
error: await handle_error_and_jsonify(event, state, options, error)
|
|
2662
|
+
}];
|
|
2663
|
+
}
|
|
2664
|
+
}));
|
|
2665
|
+
return stringify(Object.fromEntries(results), transport);
|
|
2666
|
+
}
|
|
2667
|
+
}
|
|
2668
|
+
/**
|
|
2669
|
+
* @param {string[] | undefined} refreshes
|
|
2670
|
+
*/
|
|
2671
|
+
function create_requested_map(refreshes) {
|
|
2672
|
+
/** @type {Map<string, string[]>} */
|
|
2673
|
+
const requested = /* @__PURE__ */ new Map();
|
|
2674
|
+
for (const key of refreshes ?? []) {
|
|
2675
|
+
const parts = split_remote_key(key);
|
|
2676
|
+
const existing = requested.get(parts.id);
|
|
2677
|
+
if (existing) existing.push(parts.payload);
|
|
2678
|
+
else requested.set(parts.id, [parts.payload]);
|
|
2577
2679
|
}
|
|
2680
|
+
return requested;
|
|
2578
2681
|
}
|
|
2579
2682
|
/** @type {typeof handle_remote_form_post_internal} */
|
|
2580
2683
|
async function handle_remote_form_post(event, state, manifest, id) {
|
|
@@ -2649,20 +2752,22 @@ function get_remote_action(url) {
|
|
|
2649
2752
|
return url.searchParams.get("/remote");
|
|
2650
2753
|
}
|
|
2651
2754
|
//#endregion
|
|
2652
|
-
//#region ../../node_modules/.bun/@sveltejs+kit@2.
|
|
2755
|
+
//#region ../../node_modules/.bun/@sveltejs+kit@2.60.1+18b086ed9ba34ce6/node_modules/@sveltejs/kit/src/runtime/server/page/index.js
|
|
2756
|
+
/** @import { ActionResult, RequestEvent, SSRManifest } from '@sveltejs/kit' */
|
|
2757
|
+
/** @import { PageNodeIndexes, RequestState, RequiredResolveOptions, ServerDataNode, SSRComponent, SSRNode, SSROptions, SSRState } from 'types' */
|
|
2653
2758
|
/**
|
|
2654
2759
|
* The maximum request depth permitted before assuming we're stuck in an infinite loop
|
|
2655
2760
|
*/
|
|
2656
2761
|
var MAX_DEPTH = 10;
|
|
2657
2762
|
/**
|
|
2658
|
-
* @param {
|
|
2659
|
-
* @param {
|
|
2660
|
-
* @param {
|
|
2661
|
-
* @param {
|
|
2662
|
-
* @param {
|
|
2663
|
-
* @param {
|
|
2763
|
+
* @param {RequestEvent} event
|
|
2764
|
+
* @param {RequestState} event_state
|
|
2765
|
+
* @param {PageNodeIndexes} page
|
|
2766
|
+
* @param {SSROptions} options
|
|
2767
|
+
* @param {SSRManifest} manifest
|
|
2768
|
+
* @param {SSRState} state
|
|
2664
2769
|
* @param {import('../../../utils/page_nodes.js').PageNodes} nodes
|
|
2665
|
-
* @param {
|
|
2770
|
+
* @param {RequiredResolveOptions} resolve_opts
|
|
2666
2771
|
* @returns {Promise<Response>}
|
|
2667
2772
|
*/
|
|
2668
2773
|
async function render_page(event, event_state, page, options, manifest, state, nodes, resolve_opts) {
|
|
@@ -2671,7 +2776,7 @@ async function render_page(event, event_state, page, options, manifest, state, n
|
|
|
2671
2776
|
try {
|
|
2672
2777
|
const leaf_node = nodes.page();
|
|
2673
2778
|
let status = 200;
|
|
2674
|
-
/** @type {
|
|
2779
|
+
/** @type {ActionResult | undefined} */
|
|
2675
2780
|
let action_result = void 0;
|
|
2676
2781
|
if (is_action_request(event)) {
|
|
2677
2782
|
const remote_id = get_remote_action(event.url);
|
|
@@ -2693,7 +2798,13 @@ async function render_page(event, event_state, page, options, manifest, state, n
|
|
|
2693
2798
|
const ssr = nodes.ssr();
|
|
2694
2799
|
const csr = nodes.csr();
|
|
2695
2800
|
if (ssr === false && !(state.prerendering && should_prerender_data)) return await render_response({
|
|
2696
|
-
branch:
|
|
2801
|
+
branch: compact(nodes.data).map((node) => {
|
|
2802
|
+
return {
|
|
2803
|
+
node,
|
|
2804
|
+
data: null,
|
|
2805
|
+
server_data: null
|
|
2806
|
+
};
|
|
2807
|
+
}),
|
|
2697
2808
|
fetched,
|
|
2698
2809
|
page_config: {
|
|
2699
2810
|
ssr: false,
|
|
@@ -2715,7 +2826,7 @@ async function render_page(event, event_state, page, options, manifest, state, n
|
|
|
2715
2826
|
let load_error = null;
|
|
2716
2827
|
const data_serializer = server_data_serializer(event, event_state, options);
|
|
2717
2828
|
const data_serializer_json = state.prerendering && should_prerender_data ? server_data_serializer_json(event, event_state, options) : null;
|
|
2718
|
-
/** @type {Array<Promise<
|
|
2829
|
+
/** @type {Array<Promise<ServerDataNode | null>>} */
|
|
2719
2830
|
const server_promises = nodes.data.map((node, i) => {
|
|
2720
2831
|
if (load_error) throw load_error;
|
|
2721
2832
|
return Promise.resolve().then(async () => {
|
|
@@ -2771,8 +2882,8 @@ async function render_page(event, event_state, page, options, manifest, state, n
|
|
|
2771
2882
|
}
|
|
2772
2883
|
});
|
|
2773
2884
|
});
|
|
2774
|
-
for (const p of server_promises) p.catch(
|
|
2775
|
-
for (const p of load_promises) p.catch(
|
|
2885
|
+
for (const p of server_promises) p.catch(noop);
|
|
2886
|
+
for (const p of load_promises) p.catch(noop);
|
|
2776
2887
|
for (let i = 0; i < nodes.data.length; i += 1) {
|
|
2777
2888
|
const node = nodes.data[i];
|
|
2778
2889
|
if (node) try {
|
|
@@ -2857,7 +2968,7 @@ async function render_page(event, event_state, page, options, manifest, state, n
|
|
|
2857
2968
|
},
|
|
2858
2969
|
status,
|
|
2859
2970
|
error: null,
|
|
2860
|
-
branch:
|
|
2971
|
+
branch: compact(branch),
|
|
2861
2972
|
action_result,
|
|
2862
2973
|
fetched,
|
|
2863
2974
|
data_serializer: !ssr ? server_data_serializer(event, event_state, options) : data_serializer,
|
|
@@ -2879,14 +2990,14 @@ async function render_page(event, event_state, page, options, manifest, state, n
|
|
|
2879
2990
|
}
|
|
2880
2991
|
/**
|
|
2881
2992
|
*
|
|
2882
|
-
* @param {
|
|
2993
|
+
* @param {SSROptions} options
|
|
2883
2994
|
* @param {boolean} ssr
|
|
2884
2995
|
* @param {Array<import('./types.js').Loaded | null>} branch
|
|
2885
|
-
* @param {
|
|
2886
|
-
* @param {
|
|
2996
|
+
* @param {PageNodeIndexes} page
|
|
2997
|
+
* @param {SSRManifest} manifest
|
|
2887
2998
|
*/
|
|
2888
2999
|
async function load_error_components(options, ssr, branch, page, manifest) {
|
|
2889
|
-
/** @type {Array<
|
|
3000
|
+
/** @type {Array<SSRComponent | undefined> | undefined} */
|
|
2890
3001
|
let error_components;
|
|
2891
3002
|
if (options.server_error_boundaries && ssr) {
|
|
2892
3003
|
let last_idx = -1;
|
|
@@ -2904,23 +3015,7 @@ async function load_error_components(options, ssr, branch, page, manifest) {
|
|
|
2904
3015
|
return error_components;
|
|
2905
3016
|
}
|
|
2906
3017
|
//#endregion
|
|
2907
|
-
//#region ../../node_modules/.bun/@sveltejs+kit@2.
|
|
2908
|
-
/**
|
|
2909
|
-
* @template T
|
|
2910
|
-
* @param {() => T} fn
|
|
2911
|
-
*/
|
|
2912
|
-
function once(fn) {
|
|
2913
|
-
let done = false;
|
|
2914
|
-
/** @type T */
|
|
2915
|
-
let result;
|
|
2916
|
-
return () => {
|
|
2917
|
-
if (done) return result;
|
|
2918
|
-
done = true;
|
|
2919
|
-
return result = fn();
|
|
2920
|
-
};
|
|
2921
|
-
}
|
|
2922
|
-
//#endregion
|
|
2923
|
-
//#region ../../node_modules/.bun/@sveltejs+kit@2.55.0+1adbc10545f81841/node_modules/@sveltejs/kit/src/runtime/server/data/index.js
|
|
3018
|
+
//#region ../../node_modules/.bun/@sveltejs+kit@2.60.1+18b086ed9ba34ce6/node_modules/@sveltejs/kit/src/runtime/server/data/index.js
|
|
2924
3019
|
/**
|
|
2925
3020
|
* @param {import('@sveltejs/kit').RequestEvent} event
|
|
2926
3021
|
* @param {import('types').RequestState} event_state
|
|
@@ -3026,8 +3121,14 @@ function redirect_json_response(redirect) {
|
|
|
3026
3121
|
location: redirect.location
|
|
3027
3122
|
});
|
|
3028
3123
|
}
|
|
3124
|
+
/*!
|
|
3125
|
+
* cookie
|
|
3126
|
+
* Copyright(c) 2012-2014 Roman Shtylman
|
|
3127
|
+
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
3128
|
+
* MIT Licensed
|
|
3129
|
+
*/
|
|
3029
3130
|
//#endregion
|
|
3030
|
-
//#region ../../node_modules/.bun/@sveltejs+kit@2.
|
|
3131
|
+
//#region ../../node_modules/.bun/@sveltejs+kit@2.60.1+18b086ed9ba34ce6/node_modules/@sveltejs/kit/src/runtime/server/cookie.js
|
|
3031
3132
|
var import_cookie = (/* @__PURE__ */ __commonJSMin(((exports$1) => {
|
|
3032
3133
|
/**
|
|
3033
3134
|
* Module exports.
|
|
@@ -3236,6 +3337,10 @@ function get_cookies(request, url) {
|
|
|
3236
3337
|
};
|
|
3237
3338
|
/** @type {import('@sveltejs/kit').Cookies} */
|
|
3238
3339
|
const cookies = {
|
|
3340
|
+
/**
|
|
3341
|
+
* @param {string} name
|
|
3342
|
+
* @param {import('cookie').CookieParseOptions} [opts]
|
|
3343
|
+
*/
|
|
3239
3344
|
get(name, opts) {
|
|
3240
3345
|
const best_match = Array.from(new_cookies.values()).filter((c) => {
|
|
3241
3346
|
return c.name === name && domain_matches(url.hostname, c.options.domain) && path_matches(url.pathname, c.options.path);
|
|
@@ -3243,6 +3348,9 @@ function get_cookies(request, url) {
|
|
|
3243
3348
|
if (best_match) return best_match.options.maxAge === 0 ? void 0 : best_match.value;
|
|
3244
3349
|
return (0, import_cookie.parse)(header, { decode: opts?.decode })[name];
|
|
3245
3350
|
},
|
|
3351
|
+
/**
|
|
3352
|
+
* @param {import('cookie').CookieParseOptions} [opts]
|
|
3353
|
+
*/
|
|
3246
3354
|
getAll(opts) {
|
|
3247
3355
|
const cookies = (0, import_cookie.parse)(header, { decode: opts?.decode });
|
|
3248
3356
|
const lookup = /* @__PURE__ */ new Map();
|
|
@@ -3256,6 +3364,11 @@ function get_cookies(request, url) {
|
|
|
3256
3364
|
value
|
|
3257
3365
|
}));
|
|
3258
3366
|
},
|
|
3367
|
+
/**
|
|
3368
|
+
* @param {string} name
|
|
3369
|
+
* @param {string} value
|
|
3370
|
+
* @param {import('./page/types.js').Cookie['options']} options
|
|
3371
|
+
*/
|
|
3259
3372
|
set(name, value, options) {
|
|
3260
3373
|
const illegal_characters = name.match(INVALID_COOKIE_CHARACTER_REGEX);
|
|
3261
3374
|
if (illegal_characters) console.warn(`The cookie name "${name}" will be invalid in SvelteKit 3.0 as it contains ${illegal_characters.join(" and ")}. See RFC 2616 for more details https://datatracker.ietf.org/doc/html/rfc2616#section-2.2`);
|
|
@@ -3265,6 +3378,10 @@ function get_cookies(request, url) {
|
|
|
3265
3378
|
...options
|
|
3266
3379
|
});
|
|
3267
3380
|
},
|
|
3381
|
+
/**
|
|
3382
|
+
* @param {string} name
|
|
3383
|
+
* @param {import('./page/types.js').Cookie['options']} options
|
|
3384
|
+
*/
|
|
3268
3385
|
delete(name, options) {
|
|
3269
3386
|
validate_options(options);
|
|
3270
3387
|
cookies.set(name, "", {
|
|
@@ -3272,6 +3389,11 @@ function get_cookies(request, url) {
|
|
|
3272
3389
|
maxAge: 0
|
|
3273
3390
|
});
|
|
3274
3391
|
},
|
|
3392
|
+
/**
|
|
3393
|
+
* @param {string} name
|
|
3394
|
+
* @param {string} value
|
|
3395
|
+
* @param {import('./page/types.js').Cookie['options']} options
|
|
3396
|
+
*/
|
|
3275
3397
|
serialize(name, value, options) {
|
|
3276
3398
|
validate_options(options);
|
|
3277
3399
|
let path = options.path;
|
|
@@ -3521,7 +3643,7 @@ parseSetCookie.parse = parseSetCookie;
|
|
|
3521
3643
|
parseSetCookie.parseString = parseString;
|
|
3522
3644
|
parseSetCookie.splitCookiesString = splitCookiesString;
|
|
3523
3645
|
//#endregion
|
|
3524
|
-
//#region ../../node_modules/.bun/@sveltejs+kit@2.
|
|
3646
|
+
//#region ../../node_modules/.bun/@sveltejs+kit@2.60.1+18b086ed9ba34ce6/node_modules/@sveltejs/kit/src/runtime/server/fetch.js
|
|
3525
3647
|
/**
|
|
3526
3648
|
* @param {{
|
|
3527
3649
|
* event: import('@sveltejs/kit').RequestEvent;
|
|
@@ -3606,7 +3728,7 @@ function create_fetch({ event, options, manifest, state, get_cookie_header, set_
|
|
|
3606
3728
|
};
|
|
3607
3729
|
return (input, init) => {
|
|
3608
3730
|
const response = server_fetch(input, init);
|
|
3609
|
-
response.catch(
|
|
3731
|
+
response.catch(noop);
|
|
3610
3732
|
return response;
|
|
3611
3733
|
};
|
|
3612
3734
|
}
|
|
@@ -3629,7 +3751,7 @@ function normalize_fetch_input(info, init, url) {
|
|
|
3629
3751
|
async function internal_fetch(request, options, manifest, state) {
|
|
3630
3752
|
if (request.signal) {
|
|
3631
3753
|
if (request.signal.aborted) throw new DOMException("The operation was aborted.", "AbortError");
|
|
3632
|
-
let remove_abort_listener =
|
|
3754
|
+
let remove_abort_listener = noop;
|
|
3633
3755
|
/** @type {Promise<never>} */
|
|
3634
3756
|
const abort_promise = new Promise((_, reject) => {
|
|
3635
3757
|
const on_abort = () => {
|
|
@@ -3650,7 +3772,7 @@ async function internal_fetch(request, options, manifest, state) {
|
|
|
3650
3772
|
});
|
|
3651
3773
|
}
|
|
3652
3774
|
//#endregion
|
|
3653
|
-
//#region ../../node_modules/.bun/@sveltejs+kit@2.
|
|
3775
|
+
//#region ../../node_modules/.bun/@sveltejs+kit@2.60.1+18b086ed9ba34ce6/node_modules/@sveltejs/kit/src/runtime/server/env_module.js
|
|
3654
3776
|
/** @type {string} */
|
|
3655
3777
|
var body;
|
|
3656
3778
|
/** @type {string} */
|
|
@@ -3675,8 +3797,8 @@ function get_public_env(request) {
|
|
|
3675
3797
|
return new Response(body, { headers });
|
|
3676
3798
|
}
|
|
3677
3799
|
//#endregion
|
|
3678
|
-
//#region ../../node_modules/.bun/@sveltejs+kit@2.
|
|
3679
|
-
/** @import { RequestState } from 'types' */
|
|
3800
|
+
//#region ../../node_modules/.bun/@sveltejs+kit@2.60.1+18b086ed9ba34ce6/node_modules/@sveltejs/kit/src/runtime/server/respond.js
|
|
3801
|
+
/** @import { RequestState, SSRNode } from 'types' */
|
|
3680
3802
|
/** @type {import('types').RequiredResolveOptions['transformPageChunk']} */
|
|
3681
3803
|
var default_transform = ({ html }) => html;
|
|
3682
3804
|
/** @type {import('types').RequiredResolveOptions['filterSerializedResponseHeaders']} */
|
|
@@ -3747,7 +3869,17 @@ async function internal_respond(request, options, manifest, state) {
|
|
|
3747
3869
|
transport: options.hooks.transport,
|
|
3748
3870
|
handleValidationError: options.hooks.handleValidationError,
|
|
3749
3871
|
tracing: { record_span },
|
|
3750
|
-
|
|
3872
|
+
remote: {
|
|
3873
|
+
data: null,
|
|
3874
|
+
forms: null,
|
|
3875
|
+
refreshes: null,
|
|
3876
|
+
requested: null,
|
|
3877
|
+
reconnects: null,
|
|
3878
|
+
batches: null
|
|
3879
|
+
},
|
|
3880
|
+
is_in_remote_function: false,
|
|
3881
|
+
is_in_render: false,
|
|
3882
|
+
is_in_universal_load: false
|
|
3751
3883
|
};
|
|
3752
3884
|
/** @type {import('@sveltejs/kit').RequestEvent} */
|
|
3753
3885
|
const event = {
|
|
@@ -3919,7 +4051,6 @@ async function internal_respond(request, options, manifest, state) {
|
|
|
3919
4051
|
current: root_span
|
|
3920
4052
|
}
|
|
3921
4053
|
};
|
|
3922
|
-
event_state.allows_commands = MUTATIVE_METHODS.includes(request.method);
|
|
3923
4054
|
return await with_request_store({
|
|
3924
4055
|
event: traced_event,
|
|
3925
4056
|
state: event_state
|
|
@@ -3978,10 +4109,12 @@ async function internal_respond(request, options, manifest, state) {
|
|
|
3978
4109
|
}
|
|
3979
4110
|
return response;
|
|
3980
4111
|
} catch (e) {
|
|
3981
|
-
if (e instanceof Redirect) {
|
|
4112
|
+
if (e instanceof Redirect) try {
|
|
3982
4113
|
const response = is_data_request || remote_id ? redirect_json_response(e) : route?.page && is_action_json_request(event) ? action_json_redirect(e) : redirect_response(e.status, e.location);
|
|
3983
4114
|
add_cookies_to_headers(response.headers, new_cookies.values());
|
|
3984
4115
|
return response;
|
|
4116
|
+
} catch (err) {
|
|
4117
|
+
return await handle_fatal_error(event, event_state, options, err);
|
|
3985
4118
|
}
|
|
3986
4119
|
return await handle_fatal_error(event, event_state, options, e);
|
|
3987
4120
|
}
|
|
@@ -4009,7 +4142,11 @@ async function internal_respond(request, options, manifest, state) {
|
|
|
4009
4142
|
},
|
|
4010
4143
|
status: 200,
|
|
4011
4144
|
error: null,
|
|
4012
|
-
branch: [
|
|
4145
|
+
branch: [{
|
|
4146
|
+
node: await manifest._.nodes[0](),
|
|
4147
|
+
data: null,
|
|
4148
|
+
server_data: null
|
|
4149
|
+
}],
|
|
4013
4150
|
fetched: [],
|
|
4014
4151
|
resolve_opts,
|
|
4015
4152
|
data_serializer: server_data_serializer(event, event_state, options)
|
|
@@ -4101,7 +4238,7 @@ function propagate_context(fn) {
|
|
|
4101
4238
|
};
|
|
4102
4239
|
}
|
|
4103
4240
|
//#endregion
|
|
4104
|
-
//#region ../../node_modules/.bun/@sveltejs+kit@2.
|
|
4241
|
+
//#region ../../node_modules/.bun/@sveltejs+kit@2.60.1+18b086ed9ba34ce6/node_modules/@sveltejs/kit/src/utils/env.js
|
|
4105
4242
|
/**
|
|
4106
4243
|
* @param {Record<string, string>} env
|
|
4107
4244
|
* @param {string} allowed
|
|
@@ -4111,12 +4248,8 @@ function propagate_context(fn) {
|
|
|
4111
4248
|
function filter_env(env, allowed, disallowed) {
|
|
4112
4249
|
return Object.fromEntries(Object.entries(env).filter(([k]) => k.startsWith(allowed) && (disallowed === "" || !k.startsWith(disallowed))));
|
|
4113
4250
|
}
|
|
4114
|
-
/**
|
|
4115
|
-
* @param {{ decoders: Record<string, (data: any) => any> }} value
|
|
4116
|
-
*/
|
|
4117
|
-
function set_app(value) {}
|
|
4118
4251
|
//#endregion
|
|
4119
|
-
//#region ../../node_modules/.bun/@sveltejs+kit@2.
|
|
4252
|
+
//#region ../../node_modules/.bun/@sveltejs+kit@2.60.1+18b086ed9ba34ce6/node_modules/@sveltejs/kit/src/runtime/server/index.js
|
|
4120
4253
|
/** @import { PromiseWithResolvers } from '../../utils/promise.js' */
|
|
4121
4254
|
/** @type {Promise<any>} */
|
|
4122
4255
|
var init_promise;
|
|
@@ -4191,10 +4324,10 @@ var Server = class {
|
|
|
4191
4324
|
console.error("Remote function schema validation failed:", issues);
|
|
4192
4325
|
return { message: "Bad Request" };
|
|
4193
4326
|
}),
|
|
4194
|
-
reroute: module.reroute ||
|
|
4327
|
+
reroute: module.reroute || noop,
|
|
4195
4328
|
transport: module.transport || {}
|
|
4196
4329
|
};
|
|
4197
|
-
|
|
4330
|
+
module.transport && Object.fromEntries(Object.entries(module.transport).map(([k, v]) => [k, v.decode]));
|
|
4198
4331
|
if (module.init) await module.init();
|
|
4199
4332
|
} catch (e) {
|
|
4200
4333
|
throw e;
|