@nanoforge-dev/editor 0.0.1 → 0.0.2-beta.8c768e4
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/dist/client/_app/immutable/assets/0.CI0wrjoW.css +1 -0
- package/dist/client/_app/immutable/assets/0.CI0wrjoW.css.br +0 -0
- package/dist/client/_app/immutable/assets/0.CI0wrjoW.css.gz +0 -0
- package/dist/client/_app/immutable/assets/10.BP_hUVIU.css +1 -0
- package/dist/client/_app/immutable/assets/10.BP_hUVIU.css.br +0 -0
- package/dist/client/_app/immutable/assets/10.BP_hUVIU.css.gz +0 -0
- package/dist/client/_app/immutable/assets/editor.BuC0XPbM.css.gz +0 -0
- package/dist/client/_app/immutable/assets/error.CV-KWLNP.css +1 -0
- package/dist/client/_app/immutable/assets/error.CV-KWLNP.css.br +1 -0
- package/dist/client/_app/immutable/assets/error.CV-KWLNP.css.gz +0 -0
- package/dist/client/_app/immutable/chunks/08VXUWAP.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/43DmfD33.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/56adh18U.js +1 -0
- package/dist/client/_app/immutable/chunks/56adh18U.js.br +0 -0
- package/dist/client/_app/immutable/chunks/56adh18U.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/6RTg0lbw2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/9tBtThMc.js +1 -0
- package/dist/client/_app/immutable/chunks/9tBtThMc.js.br +0 -0
- package/dist/client/_app/immutable/chunks/9tBtThMc.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/B2921r3t2.js +1 -0
- package/dist/client/_app/immutable/chunks/B2921r3t2.js.br +1 -0
- package/dist/client/_app/immutable/chunks/B2921r3t2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/{XIokwnxj2.js → B41NCdmk2.js} +1 -1
- package/dist/client/_app/immutable/chunks/B41NCdmk2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/B41NCdmk2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/B5-_aFwp.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/B5BlQANa2.js +1 -0
- package/dist/client/_app/immutable/chunks/B5BlQANa2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/B5BlQANa2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/B8J7ngcE2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/B9JPFI3C2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BEEn4gHE.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BEtHBSE62.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BKFRmAUx.js +0 -0
- package/dist/client/_app/immutable/chunks/BKFRmAUx.js.br +1 -0
- package/dist/client/_app/immutable/chunks/BKFRmAUx.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BKxtCVv1.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BNmi28p2.js +1 -0
- package/dist/client/_app/immutable/chunks/BNmi28p2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/BNmi28p2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BOotOW0E2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BWPQTe0t.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BYgofb2h.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/Ba7i2nA0.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/Bc_sGQ0U.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BeGwcela.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/Bfd-bGrZ2.js +1 -0
- package/dist/client/_app/immutable/chunks/Bfd-bGrZ2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/Bfd-bGrZ2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BpsTeBMk2.js +1 -0
- package/dist/client/_app/immutable/chunks/BpsTeBMk2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/BpsTeBMk2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/Bri6UV-V2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BvRk9kiK.js +0 -0
- package/dist/client/_app/immutable/chunks/BvRk9kiK.js.br +1 -0
- package/dist/client/_app/immutable/chunks/BvRk9kiK.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BwWrilGY.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/Bxkupp3x.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/Bz4Y3fRF.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/C-y9NEjX2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/C50LmoI1.js +0 -0
- package/dist/client/_app/immutable/chunks/C50LmoI1.js.br +1 -0
- package/dist/client/_app/immutable/chunks/C50LmoI1.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/C531GsRP.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/C5_-GSwl2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/C7h46wYY.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/C8Ef5oNN2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CC2rA5mh.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CHHvlOt72.js +1 -0
- package/dist/client/_app/immutable/chunks/CHHvlOt72.js.br +0 -0
- package/dist/client/_app/immutable/chunks/CHHvlOt72.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CIPQ_RoX.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CN98h0cI2.js +1 -0
- package/dist/client/_app/immutable/chunks/CN98h0cI2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/CN98h0cI2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CNh34b3X2.js +1 -0
- package/dist/client/_app/immutable/chunks/CNh34b3X2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/CNh34b3X2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CRfGWb83.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CVaqCwHa.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CcwsVR0C.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CfSJPG6W2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/Cimd5fb32.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/Cl5WnCnS.js +0 -0
- package/dist/client/_app/immutable/chunks/Cl5WnCnS.js.br +1 -0
- package/dist/client/_app/immutable/chunks/Cl5WnCnS.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/ClamHrr6.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/Cm7r79vr.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CopQ2nXW.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CpzslTdj2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CsQS60Ue2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CsVJKLJK.js +1 -0
- package/dist/client/_app/immutable/chunks/CsVJKLJK.js.br +0 -0
- package/dist/client/_app/immutable/chunks/CsVJKLJK.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CuyfOZTk2.js +4 -0
- package/dist/client/_app/immutable/chunks/CuyfOZTk2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/CuyfOZTk2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CwcsJxhS2.js +1 -0
- package/dist/client/_app/immutable/chunks/CwcsJxhS2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/CwcsJxhS2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/{BnEty9Zf.js → Cx3ix-dL2.js} +1 -1
- package/dist/client/_app/immutable/chunks/Cx3ix-dL2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/Cx3ix-dL2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/D-oSqn_W2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/D-ptJ9y-.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/D05T4iGw2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/D3hlyOfw.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/{Bi01QGTh2.js → D5kSEVHd2.js} +1 -1
- package/dist/client/_app/immutable/chunks/D5kSEVHd2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/D5kSEVHd2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/{B1bBmRUz2.js → D8HnIxQ42.js} +1 -1
- package/dist/client/_app/immutable/chunks/D8HnIxQ42.js.br +0 -0
- package/dist/client/_app/immutable/chunks/D8HnIxQ42.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/D8Kk1mwW.js +1 -0
- package/dist/client/_app/immutable/chunks/D8Kk1mwW.js.br +0 -0
- package/dist/client/_app/immutable/chunks/D8Kk1mwW.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DHpiXF5c.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DIMkf-bt.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DISqw1ZD.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DJq0R92X.js +1 -0
- package/dist/client/_app/immutable/chunks/DJq0R92X.js.br +0 -0
- package/dist/client/_app/immutable/chunks/DJq0R92X.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DMUM7wLl.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DRG11iPc2.js +1 -0
- package/dist/client/_app/immutable/chunks/DRG11iPc2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/DRG11iPc2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DT7zqm-g.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DTj74zXo.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DV3o63ZY2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DZFCIeNp2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/D_Lu-MrJ.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DauUninz.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DbInun42.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DbZ0P7x6.js +1 -0
- package/dist/client/_app/immutable/chunks/DbZ0P7x6.js.br +0 -0
- package/dist/client/_app/immutable/chunks/DbZ0P7x6.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DdL9SqIa.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/De2hgUGE.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DezsRK8O.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DgrK8UCQ.js +0 -0
- package/dist/client/_app/immutable/chunks/DgrK8UCQ.js.br +1 -0
- package/dist/client/_app/immutable/chunks/DgrK8UCQ.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DkqhCAOL.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DmHpPYUd.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DpFanUEy2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DrH0SRf2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/Drjp27p72.js +872 -0
- package/dist/client/_app/immutable/chunks/Drjp27p72.js.br +0 -0
- package/dist/client/_app/immutable/chunks/Drjp27p72.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DuEGqPrO.js +6 -0
- package/dist/client/_app/immutable/chunks/DuEGqPrO.js.br +0 -0
- package/dist/client/_app/immutable/chunks/DuEGqPrO.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DybRo6-H.js +0 -0
- package/dist/client/_app/immutable/chunks/DybRo6-H.js.br +1 -0
- package/dist/client/_app/immutable/chunks/DybRo6-H.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/FvmIjYaQ.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/H2okCofJ.js +3 -0
- package/dist/client/_app/immutable/chunks/H2okCofJ.js.br +0 -0
- package/dist/client/_app/immutable/chunks/H2okCofJ.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/JwdpM2S5.js +1 -0
- package/dist/client/_app/immutable/chunks/JwdpM2S5.js.br +0 -0
- package/dist/client/_app/immutable/chunks/JwdpM2S5.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/NEE52Syq.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/NRUHq-_72.js +1 -0
- package/dist/client/_app/immutable/chunks/NRUHq-_72.js.br +0 -0
- package/dist/client/_app/immutable/chunks/NRUHq-_72.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/SOo6toE5.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/UeNcXxK4.js +293 -0
- package/dist/client/_app/immutable/chunks/UeNcXxK4.js.br +0 -0
- package/dist/client/_app/immutable/chunks/UeNcXxK4.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/{BwWFGvpp2.js → VTYQK3v_2.js} +2 -2
- package/dist/client/_app/immutable/chunks/VTYQK3v_2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/VTYQK3v_2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/Wjj5hwVF2.js +2 -0
- package/dist/client/_app/immutable/chunks/Wjj5hwVF2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/Wjj5hwVF2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/YpKUr6uE2.js +1 -0
- package/dist/client/_app/immutable/chunks/YpKUr6uE2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/YpKUr6uE2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/Z5eAx3Zn.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/bTuwJoIa.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/fmXr3nnJ2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/gp-XZpBa.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/i0X4ZdIN.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/nr791fC2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/onAF5SnQ2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/oz_6vUea.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/sBoK_t0W2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/xihTtKlq.js.gz +0 -0
- package/dist/client/_app/immutable/entry/app.CiLM39cw.js +2 -0
- package/dist/client/_app/immutable/entry/app.CiLM39cw.js.br +0 -0
- package/dist/client/_app/immutable/entry/app.CiLM39cw.js.gz +0 -0
- package/dist/client/_app/immutable/entry/start.CIrA5P2h.js +1 -0
- package/dist/client/_app/immutable/entry/start.CIrA5P2h.js.br +0 -0
- package/dist/client/_app/immutable/entry/start.CIrA5P2h.js.gz +0 -0
- package/dist/client/_app/immutable/nodes/0.CEpgzEwS.js +9 -0
- package/dist/client/_app/immutable/nodes/0.CEpgzEwS.js.br +0 -0
- package/dist/client/_app/immutable/nodes/0.CEpgzEwS.js.gz +0 -0
- package/dist/client/_app/immutable/nodes/1.Sm4J_hJ5.js +1 -0
- package/dist/client/_app/immutable/nodes/1.Sm4J_hJ5.js.br +0 -0
- package/dist/client/_app/immutable/nodes/1.Sm4J_hJ5.js.gz +0 -0
- package/dist/client/_app/immutable/nodes/10.BcE-uamz.js +6 -0
- package/dist/client/_app/immutable/nodes/10.BcE-uamz.js.br +0 -0
- package/dist/client/_app/immutable/nodes/10.BcE-uamz.js.gz +0 -0
- package/dist/client/_app/immutable/nodes/2.BGBkNPlf.js +1 -0
- package/dist/client/_app/immutable/nodes/2.BGBkNPlf.js.br +0 -0
- package/dist/client/_app/immutable/nodes/2.BGBkNPlf.js.gz +0 -0
- package/dist/client/_app/immutable/nodes/9.C7P5VSNI.js +1 -0
- package/dist/client/_app/immutable/nodes/9.C7P5VSNI.js.br +0 -0
- package/dist/client/_app/immutable/nodes/9.C7P5VSNI.js.gz +0 -0
- package/dist/client/_app/immutable/workers/{css.worker-DRFWP4k7.js → css.worker-CvXBzhp8.js} +2 -2
- package/dist/client/_app/immutable/workers/css.worker-CvXBzhp8.js.br +0 -0
- package/dist/client/_app/immutable/workers/css.worker-CvXBzhp8.js.gz +0 -0
- package/dist/client/_app/immutable/workers/{html.worker-CXAEVlCI.js → html.worker-BO6WuOEO.js} +3 -3
- package/dist/client/_app/immutable/workers/html.worker-BO6WuOEO.js.br +0 -0
- package/dist/client/_app/immutable/workers/html.worker-BO6WuOEO.js.gz +0 -0
- package/dist/client/_app/immutable/workers/{json.worker-Dkwen84u.js → json.worker-BkJRGcCJ.js} +2 -2
- package/dist/client/_app/immutable/workers/json.worker-BkJRGcCJ.js.br +0 -0
- package/dist/client/_app/immutable/workers/json.worker-BkJRGcCJ.js.gz +0 -0
- package/dist/client/_app/immutable/workers/{ts.worker-DJwDx_mp.js → ts.worker-B0J26iPs.js} +33 -18
- package/dist/client/_app/immutable/workers/ts.worker-B0J26iPs.js.br +0 -0
- package/dist/client/_app/immutable/workers/ts.worker-B0J26iPs.js.gz +0 -0
- package/dist/client/_app/version.json +1 -1
- package/dist/client/_app/version.json.br +0 -0
- package/dist/client/_app/version.json.gz +0 -0
- package/dist/client/assets/fonts/dmmono-53a90e28.woff2 +0 -0
- package/dist/client/assets/fonts/dmmono-cd6ed524.woff2 +0 -0
- package/dist/client/assets/fonts/dmsans-56778fc7.woff2 +0 -0
- package/dist/client/assets/fonts/dmsans-7c37c8a6.woff2 +0 -0
- package/dist/client/assets/fonts/dmserifdisplay-1f997542.woff2 +0 -0
- package/dist/client/assets/fonts/dmserifdisplay-b6206db2.woff2 +0 -0
- package/dist/client/favicon.svg.gz +0 -0
- package/dist/server/chunks/0-BgMtbrE9.js +16 -0
- package/dist/server/chunks/0-BgMtbrE9.js.map +1 -0
- package/dist/server/chunks/{1-BgVLfks1.js → 1-JuWV7qB2.js} +7 -7
- package/dist/server/chunks/{1-BgVLfks1.js.map → 1-JuWV7qB2.js.map} +1 -1
- package/dist/server/chunks/10-x0FGzJF7.js +22 -0
- package/dist/server/chunks/10-x0FGzJF7.js.map +1 -0
- package/dist/server/chunks/{2-CzdRJh2P.js → 2-Dkn4MH5F.js} +13 -13
- package/dist/server/chunks/2-Dkn4MH5F.js.map +1 -0
- package/dist/server/chunks/3-CcIZ_M60.js +152 -0
- package/dist/server/chunks/3-CcIZ_M60.js.map +1 -0
- package/dist/server/chunks/4-DyArZX6h.js +21 -0
- package/dist/server/chunks/4-DyArZX6h.js.map +1 -0
- package/dist/server/chunks/5-DVrv6Zto.js +21 -0
- package/dist/server/chunks/5-DVrv6Zto.js.map +1 -0
- package/dist/server/chunks/6-AD0Ee23-.js +65 -0
- package/dist/server/chunks/6-AD0Ee23-.js.map +1 -0
- package/dist/server/chunks/7-CuJ7XfzT.js +27 -0
- package/dist/server/chunks/7-CuJ7XfzT.js.map +1 -0
- package/dist/server/chunks/8-CRPOubhA.js +27 -0
- package/dist/server/chunks/8-CRPOubhA.js.map +1 -0
- package/dist/server/chunks/9-BhWG76gi.js +22 -0
- package/dist/server/chunks/9-BhWG76gi.js.map +1 -0
- package/dist/server/chunks/_layout.svelte-CP4jFwsK.js +1944 -0
- package/dist/server/chunks/_layout.svelte-CP4jFwsK.js.map +1 -0
- package/dist/server/chunks/_page.svelte-7KJNFri5.js +599 -0
- package/dist/server/chunks/_page.svelte-7KJNFri5.js.map +1 -0
- package/dist/server/chunks/_page.svelte-B3Zfq6_t.js +6249 -0
- package/dist/server/chunks/_page.svelte-B3Zfq6_t.js.map +1 -0
- package/dist/server/chunks/_page.svelte-BQLzgYrr.js +155 -0
- package/dist/server/chunks/_page.svelte-BQLzgYrr.js.map +1 -0
- package/dist/server/chunks/_server.ts-B1t_0LJV.js +19 -0
- package/dist/server/chunks/_server.ts-B1t_0LJV.js.map +1 -0
- package/dist/server/chunks/_server.ts-BYvWhjnh.js +19 -0
- package/dist/server/chunks/_server.ts-BYvWhjnh.js.map +1 -0
- package/dist/server/chunks/{app-l-cuFP__.js → app-DUeJj5RD.js} +1 -1
- package/dist/server/chunks/app-DUeJj5RD.js.map +1 -0
- package/dist/server/chunks/{chunk-9PtDFT_4.js → chunk-ByNZkrT6.js} +5 -7
- package/dist/server/chunks/chunk-ByNZkrT6.js.map +1 -0
- package/dist/server/chunks/chunk-D7D4PA-g.js +13 -0
- package/dist/server/chunks/{client-Dx0O-q6m.js → client-BvtIF74Y.js} +53 -9
- package/dist/server/chunks/client-BvtIF74Y.js.map +1 -0
- package/dist/server/chunks/const-Dy5RfQqP.js +17 -0
- package/dist/server/chunks/const-Dy5RfQqP.js.map +1 -0
- package/dist/server/chunks/error-D23CGeyL.js +14934 -0
- package/dist/server/chunks/error-D23CGeyL.js.map +1 -0
- package/dist/server/chunks/error.svelte-DZuW0iDP.js +12 -0
- package/dist/server/chunks/error.svelte-DZuW0iDP.js.map +1 -0
- package/dist/server/chunks/{dev-7V6fUCff.js → events-DeYJGjCt.js} +621 -150
- package/dist/server/chunks/events-DeYJGjCt.js.map +1 -0
- package/dist/server/chunks/{exports-j3HcL9It.js → exports-8wSs4fiF.js} +4 -5
- package/dist/server/chunks/exports-8wSs4fiF.js.map +1 -0
- package/dist/server/chunks/format-DGOlJxF5.js +123 -0
- package/dist/server/chunks/format-DGOlJxF5.js.map +1 -0
- package/dist/server/chunks/hooks.server-Dox7llar.js +362 -0
- package/dist/server/chunks/hooks.server-Dox7llar.js.map +1 -0
- package/dist/server/chunks/{hooks.universal-0JHSyeLw.js → hooks.universal-DhGFdBkK.js} +2 -2
- package/dist/server/chunks/{hooks.universal-0JHSyeLw.js.map → hooks.universal-DhGFdBkK.js.map} +1 -1
- package/dist/server/chunks/{internal-BqoJe00m.js → internal-B77zebhK.js} +184 -253
- package/dist/server/chunks/internal-B77zebhK.js.map +1 -0
- package/dist/server/chunks/{internal-BgFVxXcc.js → internal-eM0YTBgj.js} +2 -2
- package/dist/server/chunks/{internal-BgFVxXcc.js.map → internal-eM0YTBgj.js.map} +1 -1
- package/dist/server/chunks/loader-circle-zqx69BdD.js +1592 -0
- package/dist/server/chunks/loader-circle-zqx69BdD.js.map +1 -0
- package/dist/server/chunks/logo-BfI7zmyL.js +848 -0
- package/dist/server/chunks/logo-BfI7zmyL.js.map +1 -0
- package/dist/server/chunks/project-loader-BkV0zjlj.js +185 -0
- package/dist/server/chunks/project-loader-BkV0zjlj.js.map +1 -0
- package/dist/server/chunks/request-handler-D-qbwxhh.js +1084 -0
- package/dist/server/chunks/request-handler-D-qbwxhh.js.map +1 -0
- package/dist/server/chunks/{runtime-ISoc6PNh.js → runtime-CDHWD9vo.js} +3 -7
- package/dist/server/chunks/runtime-CDHWD9vo.js.map +1 -0
- package/dist/server/chunks/schemas-ENQuLVBq.js +11324 -0
- package/dist/server/chunks/schemas-ENQuLVBq.js.map +1 -0
- package/dist/server/chunks/{hooks.server-DqaQ1y1I.js → session-CmQRz9-0.js} +77 -368
- package/dist/server/chunks/session-CmQRz9-0.js.map +1 -0
- package/dist/server/chunks/{shared-server-D--cyMsO.js → shared-server-Cha0Qlv9.js} +1 -1
- package/dist/server/chunks/shared-server-Cha0Qlv9.js.map +1 -0
- package/dist/server/chunks/{error.svelte-C5CCEI9O.js → state-q9lwVQK2.js} +5 -33
- package/dist/server/chunks/state-q9lwVQK2.js.map +1 -0
- package/dist/server/chunks/window-D774FEA_.js +6 -0
- package/dist/server/chunks/window-D774FEA_.js.map +1 -0
- package/dist/server/index.js +381 -231
- package/dist/server/index.js.map +1 -1
- package/dist/server/manifest.js +98 -26
- package/dist/server/manifest.js.map +1 -1
- package/package.json +55 -41
- package/dist/client/_app/immutable/assets/0.562EP7L3.css +0 -1
- package/dist/client/_app/immutable/assets/0.562EP7L3.css.br +0 -0
- package/dist/client/_app/immutable/assets/0.562EP7L3.css.gz +0 -0
- package/dist/client/_app/immutable/assets/2.Dl9w-_FK.css +0 -1
- package/dist/client/_app/immutable/assets/2.Dl9w-_FK.css.br +0 -0
- package/dist/client/_app/immutable/assets/2.Dl9w-_FK.css.gz +0 -0
- package/dist/client/_app/immutable/assets/api.CD54FDqW.css +0 -1
- package/dist/client/_app/immutable/assets/api.CD54FDqW.css.br +0 -0
- package/dist/client/_app/immutable/assets/api.CD54FDqW.css.gz +0 -0
- package/dist/client/_app/immutable/chunks/0wEXW2Hc2.js +0 -1
- package/dist/client/_app/immutable/chunks/0wEXW2Hc2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/0wEXW2Hc2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/1rG2eYdz2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/5CAt0tAC.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/5TEFcS4X2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/5k3Q8YWH.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/B0Q9zT_Q.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/B1GYE4NT.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/B1bBmRUz2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/B1bBmRUz2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/B3IjbASq.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/B3VOL0kZ.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/B5crfj0i.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BAtlESPp.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BCAAnHTF2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BEN0jOJp.js +0 -1
- package/dist/client/_app/immutable/chunks/BEN0jOJp.js.br +0 -0
- package/dist/client/_app/immutable/chunks/BEN0jOJp.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BHHccBgG2.js +0 -1
- package/dist/client/_app/immutable/chunks/BHHccBgG2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/BHHccBgG2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BHxBHC3k.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BK6ghPUh.js +0 -1
- package/dist/client/_app/immutable/chunks/BK6ghPUh.js.br +0 -0
- package/dist/client/_app/immutable/chunks/BK6ghPUh.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BL9YzxJT.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BNqbTcCU.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BSRtLNCV.js +0 -3
- package/dist/client/_app/immutable/chunks/BSRtLNCV.js.br +0 -0
- package/dist/client/_app/immutable/chunks/BSRtLNCV.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BSa9oWuP.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BTEHXt4u.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BUMhJFWc.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BXNW00E2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/B__0yjCH2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/B_rYXvqX.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BaORWDBQ.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BeRB61Rp.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/Berct1R62.js +0 -1
- package/dist/client/_app/immutable/chunks/Berct1R62.js.br +0 -0
- package/dist/client/_app/immutable/chunks/Berct1R62.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/Bi01QGTh2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/Bi01QGTh2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BnEty9Zf.js.br +0 -0
- package/dist/client/_app/immutable/chunks/BnEty9Zf.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/Bp42GhE_.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BqR20QL0.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BuvsQ_0P.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BwWFGvpp2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/BwWFGvpp2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BxyUv_372.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/C459oz3p.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/C4oBl-ul.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/C5dBxjD0.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/C7TuqZTk.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/C84aX3eL2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CGFoxiJT2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CGdCAl_w2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CJL4GRLV2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CKihvhpr.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CKybJfA6.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CQai7aNJ.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CQghOihB.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CTK4WrGL2.js +0 -1
- package/dist/client/_app/immutable/chunks/CTK4WrGL2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/CTK4WrGL2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CUVqITEW2.js +0 -1
- package/dist/client/_app/immutable/chunks/CUVqITEW2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/CUVqITEW2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CVmNMiIj.js +0 -1
- package/dist/client/_app/immutable/chunks/CVmNMiIj.js.br +0 -0
- package/dist/client/_app/immutable/chunks/CVmNMiIj.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CW_66Q8N.js +0 -872
- package/dist/client/_app/immutable/chunks/CW_66Q8N.js.br +0 -0
- package/dist/client/_app/immutable/chunks/CW_66Q8N.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CXBbh9s-.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CXlfFz7D2.js +0 -1
- package/dist/client/_app/immutable/chunks/CXlfFz7D2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/CXlfFz7D2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/C_QqwttH.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CbFxQFBh.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CmjNmBcK.js +0 -1
- package/dist/client/_app/immutable/chunks/CmjNmBcK.js.br +0 -0
- package/dist/client/_app/immutable/chunks/CmjNmBcK.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CntDmp6G.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CqqoQT4S.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CtzzCjLE2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CziQemry2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/Czovc13W.js +0 -1
- package/dist/client/_app/immutable/chunks/Czovc13W.js.br +0 -0
- package/dist/client/_app/immutable/chunks/Czovc13W.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/D38BHtSY.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DBkS_L3S.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DEoC-BX-.js +0 -11
- package/dist/client/_app/immutable/chunks/DEoC-BX-.js.br +0 -0
- package/dist/client/_app/immutable/chunks/DEoC-BX-.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DHkiqSLl.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DL7ZpfJd.js +0 -1
- package/dist/client/_app/immutable/chunks/DL7ZpfJd.js.br +0 -0
- package/dist/client/_app/immutable/chunks/DL7ZpfJd.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DUC3NMun2.js +0 -4
- package/dist/client/_app/immutable/chunks/DUC3NMun2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/DUC3NMun2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DWUlubL2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/D_HtEbjl.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DaCLQrfC.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DbxPn-f9.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DhPi0T7V2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DkZEX-tr.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/Dqs1VwMg2.js +0 -1
- package/dist/client/_app/immutable/chunks/Dqs1VwMg2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/Dqs1VwMg2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DrDIkqkr2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DunPnEs5.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DxLN9Q9A.js +0 -1
- package/dist/client/_app/immutable/chunks/DxLN9Q9A.js.br +0 -0
- package/dist/client/_app/immutable/chunks/DxLN9Q9A.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/GhmjqkHA.js +0 -1
- package/dist/client/_app/immutable/chunks/GhmjqkHA.js.br +0 -0
- package/dist/client/_app/immutable/chunks/GhmjqkHA.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/H_bCfo1Z.js +0 -1
- package/dist/client/_app/immutable/chunks/H_bCfo1Z.js.br +0 -1
- package/dist/client/_app/immutable/chunks/H_bCfo1Z.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/KoMdYtDs2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/OELm4xo1.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/OdxrjoDx.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/SlhV96tq.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/X9L1iai42.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/XIokwnxj2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/XIokwnxj2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/ZmwXQQ8p.js +0 -1
- package/dist/client/_app/immutable/chunks/ZmwXQQ8p.js.br +0 -0
- package/dist/client/_app/immutable/chunks/ZmwXQQ8p.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/acVTcwNd.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/bLoc39kl.js +0 -2
- package/dist/client/_app/immutable/chunks/bLoc39kl.js.br +0 -0
- package/dist/client/_app/immutable/chunks/bLoc39kl.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/dm7qVrFn2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/if7vWS9-.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/kAc38cH_.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/kks0AxFY2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/mA7hbneB.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/qWHUp0PJ2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/u6JPB_fg2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/v_jBEYI6.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/x4VkYCou2.js.gz +0 -0
- package/dist/client/_app/immutable/entry/app.CrM2Umgq.js +0 -2
- package/dist/client/_app/immutable/entry/app.CrM2Umgq.js.br +0 -0
- package/dist/client/_app/immutable/entry/app.CrM2Umgq.js.gz +0 -0
- package/dist/client/_app/immutable/entry/start.25Vi3KZA.js +0 -1
- package/dist/client/_app/immutable/entry/start.25Vi3KZA.js.br +0 -0
- package/dist/client/_app/immutable/entry/start.25Vi3KZA.js.gz +0 -0
- package/dist/client/_app/immutable/nodes/0.Ck5XUPzX.js +0 -1
- package/dist/client/_app/immutable/nodes/0.Ck5XUPzX.js.br +0 -0
- package/dist/client/_app/immutable/nodes/0.Ck5XUPzX.js.gz +0 -0
- package/dist/client/_app/immutable/nodes/1.Dpx0WKl2.js +0 -1
- package/dist/client/_app/immutable/nodes/1.Dpx0WKl2.js.br +0 -0
- package/dist/client/_app/immutable/nodes/1.Dpx0WKl2.js.gz +0 -0
- package/dist/client/_app/immutable/nodes/2.CwofzauD.js +0 -4
- package/dist/client/_app/immutable/nodes/2.CwofzauD.js.br +0 -0
- package/dist/client/_app/immutable/nodes/2.CwofzauD.js.gz +0 -0
- package/dist/client/_app/immutable/nodes/3.CU9DPzka.js +0 -1
- package/dist/client/_app/immutable/nodes/3.CU9DPzka.js.br +0 -0
- package/dist/client/_app/immutable/nodes/3.CU9DPzka.js.gz +0 -0
- package/dist/client/_app/immutable/nodes/4.P9ayzmJ4.js +0 -5
- package/dist/client/_app/immutable/nodes/4.P9ayzmJ4.js.br +0 -0
- package/dist/client/_app/immutable/nodes/4.P9ayzmJ4.js.gz +0 -0
- package/dist/client/_app/immutable/nodes/5.Dcsjm3Pq.js +0 -1
- package/dist/client/_app/immutable/nodes/5.Dcsjm3Pq.js.br +0 -0
- package/dist/client/_app/immutable/nodes/5.Dcsjm3Pq.js.gz +0 -0
- package/dist/client/_app/immutable/workers/css.worker-DRFWP4k7.js.br +0 -0
- package/dist/client/_app/immutable/workers/css.worker-DRFWP4k7.js.gz +0 -0
- package/dist/client/_app/immutable/workers/html.worker-CXAEVlCI.js.br +0 -0
- package/dist/client/_app/immutable/workers/html.worker-CXAEVlCI.js.gz +0 -0
- package/dist/client/_app/immutable/workers/json.worker-Dkwen84u.js.br +0 -0
- package/dist/client/_app/immutable/workers/json.worker-Dkwen84u.js.gz +0 -0
- package/dist/client/_app/immutable/workers/ts.worker-DJwDx_mp.js.br +0 -0
- package/dist/client/_app/immutable/workers/ts.worker-DJwDx_mp.js.gz +0 -0
- package/dist/server/chunks/0-DmwMCtOF.js +0 -16
- package/dist/server/chunks/0-DmwMCtOF.js.map +0 -1
- package/dist/server/chunks/2-CzdRJh2P.js.map +0 -1
- package/dist/server/chunks/3-C6uctiU1.js +0 -185
- package/dist/server/chunks/3-C6uctiU1.js.map +0 -1
- package/dist/server/chunks/4-BO3KTp14.js +0 -390
- package/dist/server/chunks/4-BO3KTp14.js.map +0 -1
- package/dist/server/chunks/5-LbaHRTVX.js +0 -259
- package/dist/server/chunks/5-LbaHRTVX.js.map +0 -1
- package/dist/server/chunks/_layout.svelte-BzcRjvYO.js +0 -11
- package/dist/server/chunks/_layout.svelte-BzcRjvYO.js.map +0 -1
- package/dist/server/chunks/_page.svelte-CB5X_URD.js +0 -197
- package/dist/server/chunks/_page.svelte-CB5X_URD.js.map +0 -1
- package/dist/server/chunks/_page.svelte-DMwjXpw4.js +0 -13
- package/dist/server/chunks/_page.svelte-DMwjXpw4.js.map +0 -1
- package/dist/server/chunks/_page.svelte-XIYDQw7d.js +0 -14
- package/dist/server/chunks/_page.svelte-XIYDQw7d.js.map +0 -1
- package/dist/server/chunks/_page.svelte-paWD_HcG.js +0 -4302
- package/dist/server/chunks/_page.svelte-paWD_HcG.js.map +0 -1
- package/dist/server/chunks/api-9BLkbfaG.js +0 -9126
- package/dist/server/chunks/api-9BLkbfaG.js.map +0 -1
- package/dist/server/chunks/app-l-cuFP__.js.map +0 -1
- package/dist/server/chunks/client-Dx0O-q6m.js.map +0 -1
- package/dist/server/chunks/dev-7V6fUCff.js.map +0 -1
- package/dist/server/chunks/error.svelte-C5CCEI9O.js.map +0 -1
- package/dist/server/chunks/exports-j3HcL9It.js.map +0 -1
- package/dist/server/chunks/forms-CffPpDq6.js +0 -36
- package/dist/server/chunks/forms-CffPpDq6.js.map +0 -1
- package/dist/server/chunks/hooks.server-DqaQ1y1I.js.map +0 -1
- package/dist/server/chunks/internal-BqoJe00m.js.map +0 -1
- package/dist/server/chunks/runtime-ISoc6PNh.js.map +0 -1
- package/dist/server/chunks/server-BlOy0jJl.js +0 -91
- package/dist/server/chunks/server-BlOy0jJl.js.map +0 -1
- package/dist/server/chunks/shared-server-D--cyMsO.js.map +0 -1
- /package/dist/client/_app/immutable/chunks/{DkZEX-tr.js → 08VXUWAP.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{DkZEX-tr.js.br → 08VXUWAP.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{5CAt0tAC.js → 43DmfD33.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{5CAt0tAC.js.br → 43DmfD33.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{CQghOihB.js → 6RTg0lbw2.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{CQghOihB.js.br → 6RTg0lbw2.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{CqqoQT4S.js → B5-_aFwp.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{CqqoQT4S.js.br → B5-_aFwp.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{BNqbTcCU.js → B8J7ngcE2.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{BNqbTcCU.js.br → B8J7ngcE2.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{C84aX3eL2.js → B9JPFI3C2.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{C84aX3eL2.js.br → B9JPFI3C2.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{Bp42GhE_.js → BEEn4gHE.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{Bp42GhE_.js.br → BEEn4gHE.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{BxyUv_372.js → BEtHBSE62.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{BxyUv_372.js.br → BEtHBSE62.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{DunPnEs5.js → BKxtCVv1.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{DunPnEs5.js.br → BKxtCVv1.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{CJL4GRLV2.js → BOotOW0E2.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{CJL4GRLV2.js.br → BOotOW0E2.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{C5dBxjD0.js → BWPQTe0t.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{C5dBxjD0.js.br → BWPQTe0t.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{B5crfj0i.js → BYgofb2h.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{B5crfj0i.js.br → BYgofb2h.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{BeRB61Rp.js → Ba7i2nA0.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{BeRB61Rp.js.br → Ba7i2nA0.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{BAtlESPp.js → Bc_sGQ0U.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{BAtlESPp.js.br → Bc_sGQ0U.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{BuvsQ_0P.js → BeGwcela.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{BuvsQ_0P.js.br → BeGwcela.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{CGdCAl_w2.js → Bri6UV-V2.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{CGdCAl_w2.js.br → Bri6UV-V2.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{DaCLQrfC.js → BwWrilGY.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{DaCLQrfC.js.br → BwWrilGY.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{CXBbh9s-.js → Bxkupp3x.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{CXBbh9s-.js.br → Bxkupp3x.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{BqR20QL0.js → Bz4Y3fRF.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{BqR20QL0.js.br → Bz4Y3fRF.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{DrDIkqkr2.js → C-y9NEjX2.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{DrDIkqkr2.js.br → C-y9NEjX2.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{BUMhJFWc.js → C531GsRP.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{BUMhJFWc.js.br → C531GsRP.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{CKybJfA6.js → C5_-GSwl2.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{CKybJfA6.js.br → C5_-GSwl2.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{DbxPn-f9.js → C7h46wYY.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{DbxPn-f9.js.br → C7h46wYY.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{KoMdYtDs2.js → C8Ef5oNN2.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{KoMdYtDs2.js.br → C8Ef5oNN2.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{DWUlubL2.js → CC2rA5mh.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{DWUlubL2.js.br → CC2rA5mh.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{kks0AxFY2.js → CIPQ_RoX.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{kks0AxFY2.js.br → CIPQ_RoX.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{C_QqwttH.js → CRfGWb83.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{C_QqwttH.js.br → CRfGWb83.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{C7TuqZTk.js → CVaqCwHa.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{C7TuqZTk.js.br → CVaqCwHa.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{SlhV96tq.js → CcwsVR0C.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{SlhV96tq.js.br → CcwsVR0C.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{DhPi0T7V2.js → CfSJPG6W2.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{DhPi0T7V2.js.br → CfSJPG6W2.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{qWHUp0PJ2.js → Cimd5fb32.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{qWHUp0PJ2.js.br → Cimd5fb32.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{if7vWS9-.js → ClamHrr6.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{if7vWS9-.js.br → ClamHrr6.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{B_rYXvqX.js → Cm7r79vr.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{B_rYXvqX.js.br → Cm7r79vr.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{BTEHXt4u.js → CopQ2nXW.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{BTEHXt4u.js.br → CopQ2nXW.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{CziQemry2.js → CpzslTdj2.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{CziQemry2.js.br → CpzslTdj2.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{CtzzCjLE2.js → CsQS60Ue2.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{CtzzCjLE2.js.br → CsQS60Ue2.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{dm7qVrFn2.js → D-oSqn_W2.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{dm7qVrFn2.js.br → D-oSqn_W2.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{CGFoxiJT2.js → D-ptJ9y-.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{CGFoxiJT2.js.br → D-ptJ9y-.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{acVTcwNd.js → D05T4iGw2.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{acVTcwNd.js.br → D05T4iGw2.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{CQai7aNJ.js → D3hlyOfw.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{CQai7aNJ.js.br → D3hlyOfw.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{B3IjbASq.js → DHpiXF5c.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{B3IjbASq.js.br → DHpiXF5c.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{kAc38cH_.js → DIMkf-bt.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{kAc38cH_.js.br → DIMkf-bt.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{D_HtEbjl.js → DISqw1ZD.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{D_HtEbjl.js.br → DISqw1ZD.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{CKihvhpr.js → DMUM7wLl.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{CKihvhpr.js.br → DMUM7wLl.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{B1GYE4NT.js → DT7zqm-g.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{B1GYE4NT.js.br → DT7zqm-g.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{B3VOL0kZ.js → DTj74zXo.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{B3VOL0kZ.js.br → DTj74zXo.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{B0Q9zT_Q.js → DV3o63ZY2.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{B0Q9zT_Q.js.br → DV3o63ZY2.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{5k3Q8YWH.js → DZFCIeNp2.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{5k3Q8YWH.js.br → DZFCIeNp2.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{BL9YzxJT.js → D_Lu-MrJ.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{BL9YzxJT.js.br → D_Lu-MrJ.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{x4VkYCou2.js → DauUninz.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{x4VkYCou2.js.br → DauUninz.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{BSa9oWuP.js → DbInun42.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{BSa9oWuP.js.br → DbInun42.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{CbFxQFBh.js → DdL9SqIa.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{CbFxQFBh.js.br → DdL9SqIa.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{C4oBl-ul.js → De2hgUGE.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{C4oBl-ul.js.br → De2hgUGE.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{BaORWDBQ.js → DezsRK8O.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{BaORWDBQ.js.br → DezsRK8O.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{BHxBHC3k.js → DkqhCAOL.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{BHxBHC3k.js.br → DkqhCAOL.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{DBkS_L3S.js → DmHpPYUd.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{DBkS_L3S.js.br → DmHpPYUd.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{D38BHtSY.js → DpFanUEy2.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{D38BHtSY.js.br → DpFanUEy2.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{B__0yjCH2.js → DrH0SRf2.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{B__0yjCH2.js.br → DrH0SRf2.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{BCAAnHTF2.js → FvmIjYaQ.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{BCAAnHTF2.js.br → FvmIjYaQ.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{CntDmp6G.js → NEE52Syq.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{CntDmp6G.js.br → NEE52Syq.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{X9L1iai42.js → SOo6toE5.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{X9L1iai42.js.br → SOo6toE5.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{OELm4xo1.js → Z5eAx3Zn.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{OELm4xo1.js.br → Z5eAx3Zn.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{BXNW00E2.js → bTuwJoIa.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{BXNW00E2.js.br → bTuwJoIa.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{1rG2eYdz2.js → fmXr3nnJ2.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{1rG2eYdz2.js.br → fmXr3nnJ2.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{mA7hbneB.js → gp-XZpBa.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{mA7hbneB.js.br → gp-XZpBa.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{DHkiqSLl.js → i0X4ZdIN.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{DHkiqSLl.js.br → i0X4ZdIN.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{C459oz3p.js → nr791fC2.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{C459oz3p.js.br → nr791fC2.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{OdxrjoDx.js → onAF5SnQ2.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{OdxrjoDx.js.br → onAF5SnQ2.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{u6JPB_fg2.js → oz_6vUea.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{u6JPB_fg2.js.br → oz_6vUea.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{5TEFcS4X2.js → sBoK_t0W2.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{5TEFcS4X2.js.br → sBoK_t0W2.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{v_jBEYI6.js → xihTtKlq.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{v_jBEYI6.js.br → xihTtKlq.js.br} +0 -0
|
@@ -1,4 +1,22 @@
|
|
|
1
|
-
|
|
1
|
+
import { n as __exportAll } from "./chunk-ByNZkrT6.js";
|
|
2
|
+
//#region node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs
|
|
3
|
+
function r(e) {
|
|
4
|
+
var t, f, n = "";
|
|
5
|
+
if ("string" == typeof e || "number" == typeof e) n += e;
|
|
6
|
+
else if ("object" == typeof e) if (Array.isArray(e)) {
|
|
7
|
+
var o = e.length;
|
|
8
|
+
for (t = 0; t < o; t++) e[t] && (f = r(e[t])) && (n && (n += " "), n += f);
|
|
9
|
+
} else for (f in e) e[f] && (n && (n += " "), n += f);
|
|
10
|
+
return n;
|
|
11
|
+
}
|
|
12
|
+
function clsx() {
|
|
13
|
+
for (var e, t, f = 0, n = "", o = arguments.length; f < o; f++) (e = arguments[f]) && (t = r(e)) && (n && (n += " "), n += t);
|
|
14
|
+
return n;
|
|
15
|
+
}
|
|
16
|
+
//#endregion
|
|
17
|
+
//#region .svelte-kit/adapter-bun/chunks/index-server.js
|
|
18
|
+
var MAX_ARRAY_LEN = 2 ** 32 - 1;
|
|
19
|
+
var MAX_ARRAY_INDEX = MAX_ARRAY_LEN - 1;
|
|
2
20
|
/** @type {Record<string, string>} */
|
|
3
21
|
var escaped = {
|
|
4
22
|
"<": "\\u003C",
|
|
@@ -80,18 +98,29 @@ var is_identifier = /^[a-zA-Z_$][a-zA-Z_$0-9]*$/;
|
|
|
80
98
|
function stringify_key(key) {
|
|
81
99
|
return is_identifier.test(key) ? "." + key : "[" + JSON.stringify(key) + "]";
|
|
82
100
|
}
|
|
101
|
+
/** @param {number} n */
|
|
102
|
+
function is_valid_array_index(n) {
|
|
103
|
+
if (!Number.isInteger(n)) return false;
|
|
104
|
+
if (n < 0) return false;
|
|
105
|
+
if (n > MAX_ARRAY_INDEX) return false;
|
|
106
|
+
return true;
|
|
107
|
+
}
|
|
108
|
+
/** @param {number} n */
|
|
109
|
+
function is_valid_array_len(n) {
|
|
110
|
+
if (!Number.isInteger(n)) return false;
|
|
111
|
+
if (n < 0) return false;
|
|
112
|
+
if (n > MAX_ARRAY_LEN) return false;
|
|
113
|
+
return true;
|
|
114
|
+
}
|
|
83
115
|
/** @param {string} s */
|
|
84
|
-
function
|
|
116
|
+
function is_valid_array_index_string(s) {
|
|
85
117
|
if (s.length === 0) return false;
|
|
86
118
|
if (s.length > 1 && s.charCodeAt(0) === 48) return false;
|
|
87
119
|
for (let i = 0; i < s.length; i++) {
|
|
88
120
|
const c = s.charCodeAt(i);
|
|
89
121
|
if (c < 48 || c > 57) return false;
|
|
90
122
|
}
|
|
91
|
-
|
|
92
|
-
if (n >= 2 ** 32 - 1) return false;
|
|
93
|
-
if (n < 0) return false;
|
|
94
|
-
return true;
|
|
123
|
+
return is_valid_array_index(+s);
|
|
95
124
|
}
|
|
96
125
|
/**
|
|
97
126
|
* Finds the populated indices of an array.
|
|
@@ -99,7 +128,7 @@ function is_valid_array_index(s) {
|
|
|
99
128
|
*/
|
|
100
129
|
function valid_array_indices(array) {
|
|
101
130
|
const keys = Object.keys(array);
|
|
102
|
-
for (var i = keys.length - 1; i >= 0; i--) if (
|
|
131
|
+
for (var i = keys.length - 1; i >= 0; i--) if (is_valid_array_index_string(keys[i])) break;
|
|
103
132
|
keys.length = i + 1;
|
|
104
133
|
return keys;
|
|
105
134
|
}
|
|
@@ -667,6 +696,26 @@ function deferred() {
|
|
|
667
696
|
reject
|
|
668
697
|
};
|
|
669
698
|
}
|
|
699
|
+
/**
|
|
700
|
+
* When encountering a situation like `let [a, b, c] = $derived(blah())`,
|
|
701
|
+
* we need to stash an intermediate value that `a`, `b`, and `c` derive
|
|
702
|
+
* from, in case it's an iterable
|
|
703
|
+
* @template T
|
|
704
|
+
* @param {ArrayLike<T> | Iterable<T>} value
|
|
705
|
+
* @param {number} [n]
|
|
706
|
+
* @returns {Array<T>}
|
|
707
|
+
*/
|
|
708
|
+
function to_array(value, n) {
|
|
709
|
+
if (Array.isArray(value)) return value;
|
|
710
|
+
if (n === void 0 || !(Symbol.iterator in value)) return Array.from(value);
|
|
711
|
+
/** @type {T[]} */
|
|
712
|
+
const array = [];
|
|
713
|
+
for (const element of value) {
|
|
714
|
+
array.push(element);
|
|
715
|
+
if (array.length === n) break;
|
|
716
|
+
}
|
|
717
|
+
return array;
|
|
718
|
+
}
|
|
670
719
|
var CLEAN = 1024;
|
|
671
720
|
var DIRTY = 2048;
|
|
672
721
|
var MAYBE_DIRTY = 4096;
|
|
@@ -686,13 +735,18 @@ var USER_EFFECT = 1 << 20;
|
|
|
686
735
|
/**
|
|
687
736
|
* Tells that we marked this derived and its reactions as visited during the "mark as (maybe) dirty"-phase.
|
|
688
737
|
* Will be lifted during execution of the derived and during checking its dirty state (both are necessary
|
|
689
|
-
* because a derived might be checked but not executed).
|
|
738
|
+
* because a derived might be checked but not executed). This is a pure performance optimization flag and
|
|
739
|
+
* should not be used for any other purpose!
|
|
690
740
|
*/
|
|
691
741
|
var WAS_MARKED = 65536;
|
|
692
742
|
var REACTION_IS_UPDATING = 1 << 21;
|
|
693
743
|
var ERROR_VALUE = 1 << 23;
|
|
694
744
|
var STATE_SYMBOL = Symbol("$state");
|
|
695
745
|
var LEGACY_PROPS = Symbol("legacy props");
|
|
746
|
+
var ATTRIBUTES_CACHE = Symbol("attributes");
|
|
747
|
+
var CLASS_CACHE = Symbol("class");
|
|
748
|
+
var STYLE_CACHE = Symbol("style");
|
|
749
|
+
var TEXT_CACHE = Symbol("text");
|
|
696
750
|
/** allow users to ignore aborted signal errors if `reason.name === 'StaleReactionError` */
|
|
697
751
|
var STALE_REACTION = new class StaleReactionError extends Error {
|
|
698
752
|
name = "StaleReactionError";
|
|
@@ -765,7 +819,8 @@ function in_webcontainer() {
|
|
|
765
819
|
return !!globalThis.process?.versions?.webcontainer;
|
|
766
820
|
}
|
|
767
821
|
var HYDRATION_ERROR = {};
|
|
768
|
-
var UNINITIALIZED = Symbol();
|
|
822
|
+
var UNINITIALIZED = Symbol("uninitialized");
|
|
823
|
+
var ATTACHMENT_KEY = "@attach";
|
|
769
824
|
/**
|
|
770
825
|
* A `hydratable` value with key `%key%` was created, but at least part of it was not used during the render.
|
|
771
826
|
*
|
|
@@ -801,19 +856,6 @@ function escape_html(value, is_attr) {
|
|
|
801
856
|
}
|
|
802
857
|
return escaped + str.substring(last);
|
|
803
858
|
}
|
|
804
|
-
function r(e) {
|
|
805
|
-
var t, f, n = "";
|
|
806
|
-
if ("string" == typeof e || "number" == typeof e) n += e;
|
|
807
|
-
else if ("object" == typeof e) if (Array.isArray(e)) {
|
|
808
|
-
var o = e.length;
|
|
809
|
-
for (t = 0; t < o; t++) e[t] && (f = r(e[t])) && (n && (n += " "), n += f);
|
|
810
|
-
} else for (f in e) e[f] && (n && (n += " "), n += f);
|
|
811
|
-
return n;
|
|
812
|
-
}
|
|
813
|
-
function clsx$1() {
|
|
814
|
-
for (var e, t, f = 0, n = "", o = arguments.length; f < o; f++) (e = arguments[f]) && (t = r(e)) && (n && (n += " "), n += t);
|
|
815
|
-
return n;
|
|
816
|
-
}
|
|
817
859
|
/**
|
|
818
860
|
* `<div translate={false}>` should be rendered as `<div translate="no">` and _not_
|
|
819
861
|
* `<div translate="false">`, which is equivalent to `<div translate="yes">`. There
|
|
@@ -839,8 +881,8 @@ function attr(name, value, is_boolean = false) {
|
|
|
839
881
|
* TODO Svelte 6 revisit this, and likely turn all falsy values into the empty string (what clsx also does)
|
|
840
882
|
* @param {any} value
|
|
841
883
|
*/
|
|
842
|
-
function clsx(value) {
|
|
843
|
-
if (typeof value === "object") return clsx
|
|
884
|
+
function clsx$1(value) {
|
|
885
|
+
if (typeof value === "object") return clsx(value);
|
|
844
886
|
else return value ?? "";
|
|
845
887
|
}
|
|
846
888
|
var whitespace = [..." \n\r\f\xA0\v"];
|
|
@@ -1318,17 +1360,113 @@ function writable(value, start = noop) {
|
|
|
1318
1360
|
};
|
|
1319
1361
|
}
|
|
1320
1362
|
/**
|
|
1363
|
+
* Derived value store by synchronizing one or more readable stores and
|
|
1364
|
+
* applying an aggregation function over its input values.
|
|
1365
|
+
*
|
|
1366
|
+
* @template {Stores} S
|
|
1367
|
+
* @template T
|
|
1368
|
+
* @overload
|
|
1369
|
+
* @param {S} stores
|
|
1370
|
+
* @param {(values: StoresValues<S>, set: (value: T) => void, update: (fn: Updater<T>) => void) => Unsubscriber | void} fn
|
|
1371
|
+
* @param {T} [initial_value]
|
|
1372
|
+
* @returns {Readable<T>}
|
|
1373
|
+
*/
|
|
1374
|
+
/**
|
|
1375
|
+
* Derived value store by synchronizing one or more readable stores and
|
|
1376
|
+
* applying an aggregation function over its input values.
|
|
1377
|
+
*
|
|
1378
|
+
* @template {Stores} S
|
|
1379
|
+
* @template T
|
|
1380
|
+
* @overload
|
|
1381
|
+
* @param {S} stores
|
|
1382
|
+
* @param {(values: StoresValues<S>) => T} fn
|
|
1383
|
+
* @param {T} [initial_value]
|
|
1384
|
+
* @returns {Readable<T>}
|
|
1385
|
+
*/
|
|
1386
|
+
/**
|
|
1387
|
+
* @template {Stores} S
|
|
1388
|
+
* @template T
|
|
1389
|
+
* @param {S} stores
|
|
1390
|
+
* @param {Function} fn
|
|
1391
|
+
* @param {T} [initial_value]
|
|
1392
|
+
* @returns {Readable<T>}
|
|
1393
|
+
*/
|
|
1394
|
+
function derived$1(stores, fn, initial_value) {
|
|
1395
|
+
const single = !Array.isArray(stores);
|
|
1396
|
+
/** @type {Array<Readable<any>>} */
|
|
1397
|
+
const stores_array = single ? [stores] : stores;
|
|
1398
|
+
if (!stores_array.every(Boolean)) throw new Error("derived() expects stores as input, got a falsy value");
|
|
1399
|
+
const auto = fn.length < 2;
|
|
1400
|
+
return readable(initial_value, (set, update) => {
|
|
1401
|
+
let started = false;
|
|
1402
|
+
/** @type {T[]} */
|
|
1403
|
+
const values = [];
|
|
1404
|
+
let pending = 0;
|
|
1405
|
+
let cleanup = noop;
|
|
1406
|
+
const sync = () => {
|
|
1407
|
+
if (pending) return;
|
|
1408
|
+
cleanup();
|
|
1409
|
+
const result = fn(single ? values[0] : values, set, update);
|
|
1410
|
+
if (auto) set(result);
|
|
1411
|
+
else cleanup = typeof result === "function" ? result : noop;
|
|
1412
|
+
};
|
|
1413
|
+
const unsubscribers = stores_array.map((store, i) => subscribe_to_store(store, (value) => {
|
|
1414
|
+
values[i] = value;
|
|
1415
|
+
pending &= ~(1 << i);
|
|
1416
|
+
if (started) sync();
|
|
1417
|
+
}, () => {
|
|
1418
|
+
pending |= 1 << i;
|
|
1419
|
+
}));
|
|
1420
|
+
started = true;
|
|
1421
|
+
sync();
|
|
1422
|
+
return function stop() {
|
|
1423
|
+
run_all(unsubscribers);
|
|
1424
|
+
cleanup();
|
|
1425
|
+
started = false;
|
|
1426
|
+
};
|
|
1427
|
+
});
|
|
1428
|
+
}
|
|
1429
|
+
/**
|
|
1430
|
+
* Takes a store and returns a new one derived from the old one that is readable.
|
|
1431
|
+
*
|
|
1432
|
+
* @template T
|
|
1433
|
+
* @param {Readable<T>} store - store to make readonly
|
|
1434
|
+
* @returns {Readable<T>}
|
|
1435
|
+
*/
|
|
1436
|
+
function readonly(store) {
|
|
1437
|
+
return { subscribe: store.subscribe.bind(store) };
|
|
1438
|
+
}
|
|
1439
|
+
/**
|
|
1440
|
+
* Get the current value from a store by subscribing and immediately unsubscribing.
|
|
1441
|
+
*
|
|
1442
|
+
* @template T
|
|
1443
|
+
* @param {Readable<T>} store
|
|
1444
|
+
* @returns {T}
|
|
1445
|
+
*/
|
|
1446
|
+
function get$1(store) {
|
|
1447
|
+
let value;
|
|
1448
|
+
subscribe_to_store(store, (_) => value = _)();
|
|
1449
|
+
return value;
|
|
1450
|
+
}
|
|
1451
|
+
/**
|
|
1321
1452
|
* We set this to `true` when updating a store so that we correctly
|
|
1322
1453
|
* schedule effects if the update takes place inside a `$:` effect
|
|
1323
1454
|
*/
|
|
1324
1455
|
var legacy_is_updating_store = false;
|
|
1325
1456
|
/** @import { Fork } from 'svelte' */
|
|
1326
1457
|
/** @import { Derived, Effect, Reaction, Source, Value } from '#client' */
|
|
1327
|
-
/** @type {
|
|
1328
|
-
var
|
|
1458
|
+
/** @type {Batch | null} */
|
|
1459
|
+
var first_batch = null;
|
|
1460
|
+
/** @type {Batch | null} */
|
|
1461
|
+
var last_batch = null;
|
|
1329
1462
|
/** @type {Batch | null} */
|
|
1330
1463
|
var current_batch = null;
|
|
1331
1464
|
/**
|
|
1465
|
+
* This is needed to avoid overwriting inputs
|
|
1466
|
+
* @type {Batch | null}
|
|
1467
|
+
*/
|
|
1468
|
+
var previous_batch = null;
|
|
1469
|
+
/**
|
|
1332
1470
|
* When time travelling (i.e. working in one batch, while other batches
|
|
1333
1471
|
* still have ongoing work), we ignore the real values of affected
|
|
1334
1472
|
* signals in favour of their values within the batch
|
|
@@ -1358,6 +1496,15 @@ var flush_count = 0;
|
|
|
1358
1496
|
var uid = 1;
|
|
1359
1497
|
var Batch = class Batch {
|
|
1360
1498
|
id = uid++;
|
|
1499
|
+
/** True as soon as `#process` was called */
|
|
1500
|
+
#started = false;
|
|
1501
|
+
linked = true;
|
|
1502
|
+
/** @type {Batch | null} */
|
|
1503
|
+
#prev = null;
|
|
1504
|
+
/** @type {Batch | null} */
|
|
1505
|
+
#next = null;
|
|
1506
|
+
/** @type {Map<Effect, ReturnType<typeof deferred<any>>>} */
|
|
1507
|
+
async_deriveds = /* @__PURE__ */ new Map();
|
|
1361
1508
|
/**
|
|
1362
1509
|
* The current values of any signals that are updated in this batch.
|
|
1363
1510
|
* Tuple format: [value, is_derived] (note: is_derived is false for deriveds, too, if they were overridden via assignment)
|
|
@@ -1383,15 +1530,9 @@ var Batch = class Batch {
|
|
|
1383
1530
|
*/
|
|
1384
1531
|
#discard_callbacks = /* @__PURE__ */ new Set();
|
|
1385
1532
|
/**
|
|
1386
|
-
*
|
|
1387
|
-
* @type {Set<(batch: Batch) => void>}
|
|
1388
|
-
*/
|
|
1389
|
-
#fork_commit_callbacks = /* @__PURE__ */ new Set();
|
|
1390
|
-
/**
|
|
1391
|
-
* Async effects that are currently in flight
|
|
1392
|
-
* @type {Map<Effect, number>}
|
|
1533
|
+
* The number of async effects that are currently in flight
|
|
1393
1534
|
*/
|
|
1394
|
-
#pending =
|
|
1535
|
+
#pending = 0;
|
|
1395
1536
|
/**
|
|
1396
1537
|
* Async effects that are currently in flight, _not_ inside a pending boundary
|
|
1397
1538
|
* @type {Map<Effect, number>}
|
|
@@ -1438,15 +1579,19 @@ var Batch = class Batch {
|
|
|
1438
1579
|
#unskipped_branches = /* @__PURE__ */ new Set();
|
|
1439
1580
|
is_fork = false;
|
|
1440
1581
|
#decrement_queued = false;
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1582
|
+
constructor() {
|
|
1583
|
+
if (last_batch === null) first_batch = last_batch = this;
|
|
1584
|
+
else {
|
|
1585
|
+
last_batch.#next = this;
|
|
1586
|
+
this.#prev = last_batch;
|
|
1587
|
+
}
|
|
1588
|
+
last_batch = this;
|
|
1445
1589
|
}
|
|
1446
|
-
#
|
|
1447
|
-
|
|
1448
|
-
|
|
1590
|
+
#is_deferred() {
|
|
1591
|
+
if (this.is_fork) return true;
|
|
1592
|
+
for (const effect of this.#blocking_pending.keys()) {
|
|
1449
1593
|
var e = effect;
|
|
1594
|
+
var skipped = false;
|
|
1450
1595
|
while (e.parent !== null) {
|
|
1451
1596
|
if (this.#skipped_branches.has(e)) {
|
|
1452
1597
|
skipped = true;
|
|
@@ -1491,20 +1636,19 @@ var Batch = class Batch {
|
|
|
1491
1636
|
this.#unskipped_branches.add(effect);
|
|
1492
1637
|
}
|
|
1493
1638
|
#process() {
|
|
1639
|
+
this.#started = true;
|
|
1494
1640
|
if (flush_count++ > 1e3) {
|
|
1495
|
-
|
|
1641
|
+
this.#unlink();
|
|
1496
1642
|
infinite_loop_guard();
|
|
1497
1643
|
}
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
this.schedule(e);
|
|
1507
|
-
}
|
|
1644
|
+
for (const e of this.#dirty_effects) {
|
|
1645
|
+
this.#maybe_dirty_effects.delete(e);
|
|
1646
|
+
set_signal_status(e, DIRTY);
|
|
1647
|
+
this.schedule(e);
|
|
1648
|
+
}
|
|
1649
|
+
for (const e of this.#maybe_dirty_effects) {
|
|
1650
|
+
set_signal_status(e, MAYBE_DIRTY);
|
|
1651
|
+
this.schedule(e);
|
|
1508
1652
|
}
|
|
1509
1653
|
const roots = this.#roots;
|
|
1510
1654
|
this.#roots = [];
|
|
@@ -1522,6 +1666,7 @@ var Batch = class Batch {
|
|
|
1522
1666
|
this.#traverse(root, effects, render_effects);
|
|
1523
1667
|
} catch (e) {
|
|
1524
1668
|
reset_all(root);
|
|
1669
|
+
if (!this.#is_deferred()) this.discard();
|
|
1525
1670
|
throw e;
|
|
1526
1671
|
}
|
|
1527
1672
|
current_batch = null;
|
|
@@ -1531,29 +1676,37 @@ var Batch = class Batch {
|
|
|
1531
1676
|
}
|
|
1532
1677
|
collected_effects = null;
|
|
1533
1678
|
legacy_updates = null;
|
|
1534
|
-
if (this.#is_deferred()
|
|
1679
|
+
if (this.#is_deferred()) {
|
|
1535
1680
|
this.#defer_effects(render_effects);
|
|
1536
1681
|
this.#defer_effects(effects);
|
|
1537
1682
|
for (const [e, t] of this.#skipped_branches) reset_branch(e, t);
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
this.#maybe_dirty_effects.clear();
|
|
1542
|
-
for (const fn of this.#commit_callbacks) fn(this);
|
|
1543
|
-
this.#commit_callbacks.clear();
|
|
1544
|
-
flush_queued_effects(render_effects);
|
|
1545
|
-
flush_queued_effects(effects);
|
|
1546
|
-
this.#deferred?.resolve();
|
|
1683
|
+
if (updates.length > 0)
|
|
1684
|
+
/** @type {Batch} */ current_batch.#process();
|
|
1685
|
+
return;
|
|
1547
1686
|
}
|
|
1687
|
+
const earlier_batch = this.#find_earlier_batch();
|
|
1688
|
+
if (earlier_batch) {
|
|
1689
|
+
this.#defer_effects(render_effects);
|
|
1690
|
+
this.#defer_effects(effects);
|
|
1691
|
+
earlier_batch.#merge(this);
|
|
1692
|
+
return;
|
|
1693
|
+
}
|
|
1694
|
+
this.#dirty_effects.clear();
|
|
1695
|
+
this.#maybe_dirty_effects.clear();
|
|
1696
|
+
for (const fn of this.#commit_callbacks) fn(this);
|
|
1697
|
+
this.#commit_callbacks.clear();
|
|
1698
|
+
previous_batch = this;
|
|
1699
|
+
flush_queued_effects(render_effects);
|
|
1700
|
+
flush_queued_effects(effects);
|
|
1701
|
+
previous_batch = null;
|
|
1702
|
+
this.#deferred?.resolve();
|
|
1548
1703
|
var next_batch = current_batch;
|
|
1549
|
-
if (this.#roots.length
|
|
1550
|
-
|
|
1704
|
+
if (this.#pending === 0 && (this.#roots.length === 0 || next_batch !== null)) this.#unlink();
|
|
1705
|
+
if (this.#roots.length > 0) if (next_batch !== null) {
|
|
1706
|
+
const batch = next_batch;
|
|
1551
1707
|
batch.#roots.push(...this.#roots.filter((r) => !batch.#roots.includes(r)));
|
|
1552
|
-
}
|
|
1553
|
-
if (next_batch !== null)
|
|
1554
|
-
batches.add(next_batch);
|
|
1555
|
-
next_batch.#process();
|
|
1556
|
-
}
|
|
1708
|
+
} else next_batch = this;
|
|
1709
|
+
if (next_batch !== null) next_batch.#process();
|
|
1557
1710
|
}
|
|
1558
1711
|
/**
|
|
1559
1712
|
* Traverse the effect tree, executing effects or stashing
|
|
@@ -1591,6 +1744,59 @@ var Batch = class Batch {
|
|
|
1591
1744
|
}
|
|
1592
1745
|
}
|
|
1593
1746
|
}
|
|
1747
|
+
#find_earlier_batch() {
|
|
1748
|
+
var batch = this.#prev;
|
|
1749
|
+
while (batch !== null) {
|
|
1750
|
+
if (!batch.is_fork) {
|
|
1751
|
+
for (const [value, [, is_derived]] of this.current) if (batch.current.has(value) && !is_derived) return batch;
|
|
1752
|
+
}
|
|
1753
|
+
batch = batch.#prev;
|
|
1754
|
+
}
|
|
1755
|
+
return null;
|
|
1756
|
+
}
|
|
1757
|
+
/**
|
|
1758
|
+
* @param {Batch} batch
|
|
1759
|
+
*/
|
|
1760
|
+
#merge(batch) {
|
|
1761
|
+
for (const [source, value] of batch.current) {
|
|
1762
|
+
if (!this.previous.has(source) && batch.previous.has(source)) this.previous.set(source, batch.previous.get(source));
|
|
1763
|
+
this.current.set(source, value);
|
|
1764
|
+
}
|
|
1765
|
+
for (const [effect, deferred] of batch.async_deriveds) {
|
|
1766
|
+
const d = this.async_deriveds.get(effect);
|
|
1767
|
+
if (d) deferred.promise.then(d.resolve).catch(d.reject);
|
|
1768
|
+
}
|
|
1769
|
+
this.transfer_effects(batch.#dirty_effects, batch.#maybe_dirty_effects);
|
|
1770
|
+
/**
|
|
1771
|
+
* mark all effects that depend on `batch.current`, except the
|
|
1772
|
+
* async effects that we just resolved (TODO unless they depend
|
|
1773
|
+
* on values in this batch that are NOT in the later batch?).
|
|
1774
|
+
* Through this we also will populate the correct #skipped_branches,
|
|
1775
|
+
* oncommit callbacks etc, so we don't need to merge them separately.
|
|
1776
|
+
* @param {Value} value
|
|
1777
|
+
*/
|
|
1778
|
+
const mark = (value) => {
|
|
1779
|
+
var reactions = value.reactions;
|
|
1780
|
+
if (reactions === null) return;
|
|
1781
|
+
for (const reaction of reactions) {
|
|
1782
|
+
var flags = reaction.f;
|
|
1783
|
+
if ((flags & 2) !== 0) mark(reaction);
|
|
1784
|
+
else {
|
|
1785
|
+
var effect = reaction;
|
|
1786
|
+
if (flags & 4194320 && !this.async_deriveds.has(effect)) {
|
|
1787
|
+
this.#maybe_dirty_effects.delete(effect);
|
|
1788
|
+
set_signal_status(effect, DIRTY);
|
|
1789
|
+
this.schedule(effect);
|
|
1790
|
+
}
|
|
1791
|
+
}
|
|
1792
|
+
}
|
|
1793
|
+
};
|
|
1794
|
+
for (const source of this.current.keys()) mark(source);
|
|
1795
|
+
this.oncommit(() => batch.discard());
|
|
1796
|
+
batch.#unlink();
|
|
1797
|
+
current_batch = this;
|
|
1798
|
+
this.#process();
|
|
1799
|
+
}
|
|
1594
1800
|
/**
|
|
1595
1801
|
* @param {Effect[]} effects
|
|
1596
1802
|
*/
|
|
@@ -1638,8 +1844,8 @@ var Batch = class Batch {
|
|
|
1638
1844
|
discard() {
|
|
1639
1845
|
for (const fn of this.#discard_callbacks) fn(this);
|
|
1640
1846
|
this.#discard_callbacks.clear();
|
|
1641
|
-
this.#
|
|
1642
|
-
|
|
1847
|
+
this.#unlink();
|
|
1848
|
+
this.#deferred?.resolve();
|
|
1643
1849
|
}
|
|
1644
1850
|
/**
|
|
1645
1851
|
* @param {Effect} effect
|
|
@@ -1648,7 +1854,7 @@ var Batch = class Batch {
|
|
|
1648
1854
|
this.#new_effects.push(effect);
|
|
1649
1855
|
}
|
|
1650
1856
|
#commit() {
|
|
1651
|
-
for (
|
|
1857
|
+
for (let batch = first_batch; batch !== null; batch = batch.#next) {
|
|
1652
1858
|
var is_earlier = batch.id < this.id;
|
|
1653
1859
|
/** @type {Source[]} */
|
|
1654
1860
|
var sources = [];
|
|
@@ -1660,7 +1866,12 @@ var Batch = class Batch {
|
|
|
1660
1866
|
}
|
|
1661
1867
|
sources.push(source);
|
|
1662
1868
|
}
|
|
1663
|
-
|
|
1869
|
+
if (is_earlier) for (const [effect, deferred] of this.async_deriveds) {
|
|
1870
|
+
const d = batch.async_deriveds.get(effect);
|
|
1871
|
+
if (d) deferred.promise.then(d.resolve).catch(d.reject);
|
|
1872
|
+
}
|
|
1873
|
+
if (!batch.#started) continue;
|
|
1874
|
+
var others = [...batch.current.keys()].filter((s) => !batch.current.get(s)[1] && !this.current.has(s));
|
|
1664
1875
|
if (others.length === 0) {
|
|
1665
1876
|
if (is_earlier) batch.discard();
|
|
1666
1877
|
} else if (sources.length > 0) {
|
|
@@ -1675,12 +1886,18 @@ var Batch = class Batch {
|
|
|
1675
1886
|
var checked = /* @__PURE__ */ new Map();
|
|
1676
1887
|
for (var source of sources) mark_effects(source, others, marked, checked);
|
|
1677
1888
|
checked = /* @__PURE__ */ new Map();
|
|
1678
|
-
var current_unequal = [...batch.current
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
}
|
|
1683
|
-
if (
|
|
1889
|
+
var current_unequal = [...batch.current].filter(([c, v1]) => {
|
|
1890
|
+
const v2 = this.current.get(c);
|
|
1891
|
+
if (!v2) return true;
|
|
1892
|
+
return v2[0] !== v1[0] || v2[1] !== v1[1];
|
|
1893
|
+
}).map(([c]) => c);
|
|
1894
|
+
if (current_unequal.length > 0) {
|
|
1895
|
+
for (const effect of this.#new_effects) if ((effect.f & 155648) === 0 && depends_on(effect, current_unequal, checked)) if ((effect.f & 4194320) !== 0) {
|
|
1896
|
+
set_signal_status(effect, DIRTY);
|
|
1897
|
+
batch.schedule(effect);
|
|
1898
|
+
} else batch.#dirty_effects.add(effect);
|
|
1899
|
+
}
|
|
1900
|
+
if (batch.#roots.length > 0 && !batch.#decrement_queued) {
|
|
1684
1901
|
batch.apply();
|
|
1685
1902
|
for (var root of batch.#roots) batch.#traverse(root, [], []);
|
|
1686
1903
|
batch.#roots = [];
|
|
@@ -1688,21 +1905,13 @@ var Batch = class Batch {
|
|
|
1688
1905
|
batch.deactivate();
|
|
1689
1906
|
}
|
|
1690
1907
|
}
|
|
1691
|
-
for (const batch of batches) if (batch.#blockers.has(this)) {
|
|
1692
|
-
batch.#blockers.delete(this);
|
|
1693
|
-
if (batch.#blockers.size === 0 && !batch.#is_deferred()) {
|
|
1694
|
-
batch.activate();
|
|
1695
|
-
batch.#process();
|
|
1696
|
-
}
|
|
1697
|
-
}
|
|
1698
1908
|
}
|
|
1699
1909
|
/**
|
|
1700
1910
|
* @param {boolean} blocking
|
|
1701
1911
|
* @param {Effect} effect
|
|
1702
1912
|
*/
|
|
1703
1913
|
increment(blocking, effect) {
|
|
1704
|
-
|
|
1705
|
-
this.#pending.set(effect, pending_count + 1);
|
|
1914
|
+
this.#pending += 1;
|
|
1706
1915
|
if (blocking) {
|
|
1707
1916
|
let blocking_pending_count = this.#blocking_pending.get(effect) ?? 0;
|
|
1708
1917
|
this.#blocking_pending.set(effect, blocking_pending_count + 1);
|
|
@@ -1711,22 +1920,19 @@ var Batch = class Batch {
|
|
|
1711
1920
|
/**
|
|
1712
1921
|
* @param {boolean} blocking
|
|
1713
1922
|
* @param {Effect} effect
|
|
1714
|
-
* @param {boolean} skip - whether to skip updates (because this is triggered by a stale reaction)
|
|
1715
1923
|
*/
|
|
1716
|
-
decrement(blocking, effect
|
|
1717
|
-
|
|
1718
|
-
if (pending_count === 1) this.#pending.delete(effect);
|
|
1719
|
-
else this.#pending.set(effect, pending_count - 1);
|
|
1924
|
+
decrement(blocking, effect) {
|
|
1925
|
+
this.#pending -= 1;
|
|
1720
1926
|
if (blocking) {
|
|
1721
1927
|
let blocking_pending_count = this.#blocking_pending.get(effect) ?? 0;
|
|
1722
1928
|
if (blocking_pending_count === 1) this.#blocking_pending.delete(effect);
|
|
1723
1929
|
else this.#blocking_pending.set(effect, blocking_pending_count - 1);
|
|
1724
1930
|
}
|
|
1725
|
-
if (this.#decrement_queued
|
|
1931
|
+
if (this.#decrement_queued) return;
|
|
1726
1932
|
this.#decrement_queued = true;
|
|
1727
1933
|
queue_micro_task(() => {
|
|
1728
1934
|
this.#decrement_queued = false;
|
|
1729
|
-
this.flush();
|
|
1935
|
+
if (this.linked) this.flush();
|
|
1730
1936
|
});
|
|
1731
1937
|
}
|
|
1732
1938
|
/**
|
|
@@ -1747,34 +1953,20 @@ var Batch = class Batch {
|
|
|
1747
1953
|
ondiscard(fn) {
|
|
1748
1954
|
this.#discard_callbacks.add(fn);
|
|
1749
1955
|
}
|
|
1750
|
-
/** @param {(batch: Batch) => void} fn */
|
|
1751
|
-
on_fork_commit(fn) {
|
|
1752
|
-
this.#fork_commit_callbacks.add(fn);
|
|
1753
|
-
}
|
|
1754
|
-
run_fork_commit_callbacks() {
|
|
1755
|
-
for (const fn of this.#fork_commit_callbacks) fn(this);
|
|
1756
|
-
this.#fork_commit_callbacks.clear();
|
|
1757
|
-
}
|
|
1758
1956
|
settled() {
|
|
1759
1957
|
return (this.#deferred ??= deferred()).promise;
|
|
1760
1958
|
}
|
|
1761
1959
|
static ensure() {
|
|
1762
1960
|
if (current_batch === null) {
|
|
1763
1961
|
const batch = current_batch = new Batch();
|
|
1764
|
-
if (!is_processing) {
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
if (current_batch !== batch) return;
|
|
1768
|
-
batch.flush();
|
|
1769
|
-
});
|
|
1770
|
-
}
|
|
1962
|
+
if (!is_processing && !is_flushing_sync) queue_micro_task(() => {
|
|
1963
|
+
if (!batch.#started) batch.flush();
|
|
1964
|
+
});
|
|
1771
1965
|
}
|
|
1772
1966
|
return current_batch;
|
|
1773
1967
|
}
|
|
1774
1968
|
apply() {
|
|
1775
1969
|
batch_values = null;
|
|
1776
|
-
return;
|
|
1777
|
-
var intersects, differs;
|
|
1778
1970
|
}
|
|
1779
1971
|
/**
|
|
1780
1972
|
*
|
|
@@ -1800,6 +1992,16 @@ var Batch = class Batch {
|
|
|
1800
1992
|
}
|
|
1801
1993
|
this.#roots.push(e);
|
|
1802
1994
|
}
|
|
1995
|
+
#unlink() {
|
|
1996
|
+
if (!this.linked) return;
|
|
1997
|
+
var prev = this.#prev;
|
|
1998
|
+
var next = this.#next;
|
|
1999
|
+
if (prev === null) first_batch = next;
|
|
2000
|
+
else prev.#next = next;
|
|
2001
|
+
if (next === null) last_batch = prev;
|
|
2002
|
+
else next.#prev = prev;
|
|
2003
|
+
this.linked = false;
|
|
2004
|
+
}
|
|
1803
2005
|
};
|
|
1804
2006
|
/**
|
|
1805
2007
|
* Synchronously flush any pending updates.
|
|
@@ -2025,9 +2227,9 @@ function createSubscriber(start) {
|
|
|
2025
2227
|
/** @import { Effect, Source, TemplateNode, } from '#client' */
|
|
2026
2228
|
/**
|
|
2027
2229
|
* @typedef {{
|
|
2028
|
-
* onerror?: (error: unknown, reset: () => void) => void;
|
|
2029
|
-
* failed?: (anchor: Node, error: () => unknown, reset: () => () => void) => void;
|
|
2030
|
-
* pending?: (anchor: Node) => void;
|
|
2230
|
+
* onerror?: ((error: unknown, reset: () => void) => void) | null;
|
|
2231
|
+
* failed?: ((anchor: Node, error: () => unknown, reset: () => () => void) => void) | null;
|
|
2232
|
+
* pending?: ((anchor: Node) => void) | null;
|
|
2031
2233
|
* }} BoundaryProps
|
|
2032
2234
|
*/
|
|
2033
2235
|
var flags = EFFECT_TRANSPARENT | EFFECT_PRESERVED;
|
|
@@ -2276,7 +2478,7 @@ var Boundary = class {
|
|
|
2276
2478
|
if (this.#main_effect) current_batch.skip_effect(this.#main_effect);
|
|
2277
2479
|
if (this.#pending_effect) current_batch.skip_effect(this.#pending_effect);
|
|
2278
2480
|
if (this.#failed_effect) current_batch.skip_effect(this.#failed_effect);
|
|
2279
|
-
current_batch.
|
|
2481
|
+
current_batch.oncommit(() => {
|
|
2280
2482
|
this.#handle_error(error);
|
|
2281
2483
|
});
|
|
2282
2484
|
} else this.#handle_error(error);
|
|
@@ -2382,7 +2584,7 @@ function execute_derived(derived) {
|
|
|
2382
2584
|
var value;
|
|
2383
2585
|
var prev_active_effect = active_effect;
|
|
2384
2586
|
var parent = derived.parent;
|
|
2385
|
-
if (!is_destroying_effect && parent !== null && (parent.f & 24576) !== 0) {
|
|
2587
|
+
if (!is_destroying_effect && parent !== null && derived.v !== UNINITIALIZED && (parent.f & 24576) !== 0) {
|
|
2386
2588
|
derived_inert();
|
|
2387
2589
|
return derived.v;
|
|
2388
2590
|
}
|
|
@@ -2405,8 +2607,10 @@ function update_derived(derived) {
|
|
|
2405
2607
|
if (!derived.equals(value)) {
|
|
2406
2608
|
derived.wv = increment_write_version();
|
|
2407
2609
|
if (!current_batch?.is_fork || derived.deps === null) {
|
|
2408
|
-
if (current_batch !== null)
|
|
2409
|
-
|
|
2610
|
+
if (current_batch !== null) {
|
|
2611
|
+
current_batch.capture(derived, value, true);
|
|
2612
|
+
previous_batch?.capture(derived, value, true);
|
|
2613
|
+
} else derived.v = value;
|
|
2410
2614
|
if (derived.deps === null) {
|
|
2411
2615
|
set_signal_status(derived, CLEAN);
|
|
2412
2616
|
return;
|
|
@@ -2426,7 +2630,7 @@ function freeze_derived_effects(derived) {
|
|
|
2426
2630
|
for (const e of derived.effects) if (e.teardown || e.ac) {
|
|
2427
2631
|
e.teardown?.();
|
|
2428
2632
|
e.ac?.abort(STALE_REACTION);
|
|
2429
|
-
e.teardown = noop;
|
|
2633
|
+
if (e.fn !== null) e.teardown = noop;
|
|
2430
2634
|
e.ac = null;
|
|
2431
2635
|
remove_reactions(e, 0);
|
|
2432
2636
|
destroy_effect_children(e);
|
|
@@ -2437,10 +2641,10 @@ function freeze_derived_effects(derived) {
|
|
|
2437
2641
|
*/
|
|
2438
2642
|
function unfreeze_derived_effects(derived) {
|
|
2439
2643
|
if (derived.effects === null) return;
|
|
2440
|
-
for (const e of derived.effects) if (e.teardown) update_effect(e);
|
|
2644
|
+
for (const e of derived.effects) if (e.teardown && e.fn !== null) update_effect(e);
|
|
2441
2645
|
}
|
|
2442
2646
|
/** @import { Derived, Effect, Source, Value } from '#client' */
|
|
2443
|
-
/** @type {Set<
|
|
2647
|
+
/** @type {Set<Effect>} */
|
|
2444
2648
|
var eager_effects = /* @__PURE__ */ new Set();
|
|
2445
2649
|
/** @type {Map<Source, any>} */
|
|
2446
2650
|
var old_values = /* @__PURE__ */ new Map();
|
|
@@ -2466,7 +2670,7 @@ function source(v, stack) {
|
|
|
2466
2670
|
* @param {V} v
|
|
2467
2671
|
* @param {Error | null} [stack]
|
|
2468
2672
|
*/
|
|
2469
|
-
|
|
2673
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
2470
2674
|
function state(v, stack) {
|
|
2471
2675
|
const s = source(v, stack);
|
|
2472
2676
|
push_reaction_value(s);
|
|
@@ -2478,7 +2682,7 @@ function state(v, stack) {
|
|
|
2478
2682
|
* @param {boolean} [immutable]
|
|
2479
2683
|
* @returns {Source<V>}
|
|
2480
2684
|
*/
|
|
2481
|
-
|
|
2685
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
2482
2686
|
function mutable_source(initial_value, immutable = false, trackable = true) {
|
|
2483
2687
|
const s = source(initial_value);
|
|
2484
2688
|
if (!immutable) s.equals = safe_equals;
|
|
@@ -2493,7 +2697,7 @@ function mutable_source(initial_value, immutable = false, trackable = true) {
|
|
|
2493
2697
|
* @returns {V}
|
|
2494
2698
|
*/
|
|
2495
2699
|
function set(source, value, should_proxy = false) {
|
|
2496
|
-
if (active_reaction !== null && (!untracking || (active_reaction.f & 131072) !== 0) && is_runes() && (active_reaction.f & 4325394) !== 0 && (current_sources === null || !
|
|
2700
|
+
if (active_reaction !== null && (!untracking || (active_reaction.f & 131072) !== 0) && is_runes() && (active_reaction.f & 4325394) !== 0 && (current_sources === null || !current_sources.has(source))) state_unsafe_mutation();
|
|
2497
2701
|
return internal_set(source, should_proxy ? proxy(value) : value, legacy_updates);
|
|
2498
2702
|
}
|
|
2499
2703
|
/**
|
|
@@ -2525,7 +2729,13 @@ function flush_eager_effects() {
|
|
|
2525
2729
|
eager_effects_deferred = false;
|
|
2526
2730
|
for (const effect of eager_effects) {
|
|
2527
2731
|
if ((effect.f & 1024) !== 0) set_signal_status(effect, MAYBE_DIRTY);
|
|
2528
|
-
|
|
2732
|
+
let dirty;
|
|
2733
|
+
try {
|
|
2734
|
+
dirty = is_dirty(effect);
|
|
2735
|
+
} catch {
|
|
2736
|
+
dirty = true;
|
|
2737
|
+
}
|
|
2738
|
+
if (dirty) update_effect(effect);
|
|
2529
2739
|
}
|
|
2530
2740
|
eager_effects.clear();
|
|
2531
2741
|
}
|
|
@@ -2553,11 +2763,12 @@ function mark_reactions(signal, status, updated_during_traversal) {
|
|
|
2553
2763
|
if (!runes && reaction === active_effect) continue;
|
|
2554
2764
|
var not_dirty = (flags & DIRTY) === 0;
|
|
2555
2765
|
if (not_dirty) set_signal_status(reaction, status);
|
|
2556
|
-
if ((flags &
|
|
2766
|
+
if ((flags & 131072) !== 0) eager_effects.add(reaction);
|
|
2767
|
+
else if ((flags & 2) !== 0) {
|
|
2557
2768
|
var derived = reaction;
|
|
2558
2769
|
batch_values?.delete(derived);
|
|
2559
2770
|
if ((flags & 65536) === 0) {
|
|
2560
|
-
if (flags & 512) reaction.f |= WAS_MARKED;
|
|
2771
|
+
if (flags & 512 && (active_effect === null || (active_effect.f & 2097152) === 0)) reaction.f |= WAS_MARKED;
|
|
2561
2772
|
mark_reactions(derived, MAYBE_DIRTY, updated_during_traversal);
|
|
2562
2773
|
}
|
|
2563
2774
|
} else if (not_dirty) {
|
|
@@ -2746,13 +2957,13 @@ function init_operations() {
|
|
|
2746
2957
|
first_child_getter = get_descriptor(node_prototype, "firstChild").get;
|
|
2747
2958
|
next_sibling_getter = get_descriptor(node_prototype, "nextSibling").get;
|
|
2748
2959
|
if (is_extensible(element_prototype)) {
|
|
2749
|
-
element_prototype
|
|
2750
|
-
element_prototype
|
|
2751
|
-
element_prototype
|
|
2752
|
-
element_prototype.__style = void 0;
|
|
2960
|
+
/** @type {any} */ element_prototype[CLASS_CACHE] = void 0;
|
|
2961
|
+
/** @type {any} */ element_prototype[ATTRIBUTES_CACHE] = null;
|
|
2962
|
+
/** @type {any} */ element_prototype[STYLE_CACHE] = void 0;
|
|
2753
2963
|
element_prototype.__e = void 0;
|
|
2754
2964
|
}
|
|
2755
|
-
if (is_extensible(text_prototype))
|
|
2965
|
+
if (is_extensible(text_prototype))
|
|
2966
|
+
/** @type {any} */ text_prototype[TEXT_CACHE] = void 0;
|
|
2756
2967
|
}
|
|
2757
2968
|
/**
|
|
2758
2969
|
* @param {string} value
|
|
@@ -2765,7 +2976,7 @@ function create_text(value = "") {
|
|
|
2765
2976
|
* @template {Node} N
|
|
2766
2977
|
* @param {N} node
|
|
2767
2978
|
*/
|
|
2768
|
-
|
|
2979
|
+
/*@__NO_SIDE_EFFECTS__*/
|
|
2769
2980
|
function get_first_child(node) {
|
|
2770
2981
|
return first_child_getter.call(node);
|
|
2771
2982
|
}
|
|
@@ -2773,7 +2984,7 @@ function get_first_child(node) {
|
|
|
2773
2984
|
* @template {Node} N
|
|
2774
2985
|
* @param {N} node
|
|
2775
2986
|
*/
|
|
2776
|
-
|
|
2987
|
+
/*@__NO_SIDE_EFFECTS__*/
|
|
2777
2988
|
function get_next_sibling(node) {
|
|
2778
2989
|
return next_sibling_getter.call(node);
|
|
2779
2990
|
}
|
|
@@ -2981,7 +3192,7 @@ function destroy_effect(effect, remove_dom = true) {
|
|
|
2981
3192
|
remove_effect_dom(effect.nodes.start, effect.nodes.end);
|
|
2982
3193
|
removed = true;
|
|
2983
3194
|
}
|
|
2984
|
-
|
|
3195
|
+
effect.f |= DESTROYING;
|
|
2985
3196
|
destroy_effect_children(effect, remove_dom && !removed);
|
|
2986
3197
|
remove_reactions(effect, 0);
|
|
2987
3198
|
var transitions = effect.nodes && effect.nodes.t;
|
|
@@ -3061,8 +3272,10 @@ function pause_children(effect, transitions, local) {
|
|
|
3061
3272
|
var child = effect.first;
|
|
3062
3273
|
while (child !== null) {
|
|
3063
3274
|
var sibling = child.next;
|
|
3064
|
-
|
|
3065
|
-
|
|
3275
|
+
if ((child.f & 64) === 0) {
|
|
3276
|
+
var transparent = (child.f & 65536) !== 0 || (child.f & 32) !== 0 && (effect.f & 16) !== 0;
|
|
3277
|
+
pause_children(child, transitions, transparent ? local : false);
|
|
3278
|
+
}
|
|
3066
3279
|
child = sibling;
|
|
3067
3280
|
}
|
|
3068
3281
|
}
|
|
@@ -3110,13 +3323,12 @@ function set_active_effect(effect) {
|
|
|
3110
3323
|
/**
|
|
3111
3324
|
* When sources are created within a reaction, reading and writing
|
|
3112
3325
|
* them within that reaction should not cause a re-run
|
|
3113
|
-
* @type {null | Source
|
|
3326
|
+
* @type {null | Set<Source>}
|
|
3114
3327
|
*/
|
|
3115
3328
|
var current_sources = null;
|
|
3116
3329
|
/** @param {Value} value */
|
|
3117
3330
|
function push_reaction_value(value) {
|
|
3118
|
-
if (active_reaction !== null && true)
|
|
3119
|
-
else current_sources.push(value);
|
|
3331
|
+
if (active_reaction !== null && true) (current_sources ??= /* @__PURE__ */ new Set()).add(value);
|
|
3120
3332
|
}
|
|
3121
3333
|
/**
|
|
3122
3334
|
* The dependencies of the reaction that is currently being executed. In many cases,
|
|
@@ -3181,7 +3393,7 @@ function is_dirty(reaction) {
|
|
|
3181
3393
|
function schedule_possible_effect_self_invalidation(signal, effect, root = true) {
|
|
3182
3394
|
var reactions = signal.reactions;
|
|
3183
3395
|
if (reactions === null) return;
|
|
3184
|
-
if (current_sources !== null &&
|
|
3396
|
+
if (current_sources !== null && current_sources.has(signal)) return;
|
|
3185
3397
|
for (var i = 0; i < reactions.length; i++) {
|
|
3186
3398
|
var reaction = reactions[i];
|
|
3187
3399
|
if ((reaction.f & 2) !== 0) schedule_possible_effect_self_invalidation(reaction, effect, false);
|
|
@@ -3333,7 +3545,7 @@ function get(signal) {
|
|
|
3333
3545
|
var is_derived = (signal.f & 2) !== 0;
|
|
3334
3546
|
captured_signals?.add(signal);
|
|
3335
3547
|
if (active_reaction !== null && !untracking) {
|
|
3336
|
-
if (!(active_effect !== null && (active_effect.f & 16384) !== 0) && (current_sources === null || !
|
|
3548
|
+
if (!(active_effect !== null && (active_effect.f & 16384) !== 0) && (current_sources === null || !current_sources.has(signal))) {
|
|
3337
3549
|
var deps = active_reaction.deps;
|
|
3338
3550
|
if ((active_reaction.f & 2097152) !== 0) {
|
|
3339
3551
|
if (signal.rv < read_version) {
|
|
@@ -3343,7 +3555,8 @@ function get(signal) {
|
|
|
3343
3555
|
else new_deps.push(signal);
|
|
3344
3556
|
}
|
|
3345
3557
|
} else {
|
|
3346
|
-
|
|
3558
|
+
active_reaction.deps ??= [];
|
|
3559
|
+
if (!includes.call(active_reaction.deps, signal)) active_reaction.deps.push(signal);
|
|
3347
3560
|
var reactions = signal.reactions;
|
|
3348
3561
|
if (reactions === null) signal.reactions = [active_reaction];
|
|
3349
3562
|
else if (!includes.call(reactions, active_reaction)) reactions.push(active_reaction);
|
|
@@ -3536,7 +3749,7 @@ var RAW_TEXT_ELEMENTS = [
|
|
|
3536
3749
|
function is_raw_text_element(name) {
|
|
3537
3750
|
return RAW_TEXT_ELEMENTS.includes(name);
|
|
3538
3751
|
}
|
|
3539
|
-
var REGEX_VALID_TAG_NAME = /^[a-zA-Z][a-zA-Z0-9]*(-[a-zA-Z0-9.\-_\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u{10000}-\u{EFFFF}]
|
|
3752
|
+
var REGEX_VALID_TAG_NAME = /^[a-zA-Z][a-zA-Z0-9]*(-[a-zA-Z0-9.\-_\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u{10000}-\u{EFFFF}]*)?$/u;
|
|
3540
3753
|
var INVALID_ATTR_NAME_CHAR_REGEX = /[\s'">/=\u{FDD0}-\u{FDEF}\u{FFFE}\u{FFFF}\u{1FFFE}\u{1FFFF}\u{2FFFE}\u{2FFFF}\u{3FFFE}\u{3FFFF}\u{4FFFE}\u{4FFFF}\u{5FFFE}\u{5FFFF}\u{6FFFE}\u{6FFFF}\u{7FFFE}\u{7FFFF}\u{8FFFE}\u{8FFFF}\u{9FFFE}\u{9FFFF}\u{AFFFE}\u{AFFFF}\u{BFFFE}\u{BFFFF}\u{CFFFE}\u{CFFFF}\u{DFFFE}\u{DFFFF}\u{EFFFE}\u{EFFFF}\u{FFFFE}\u{FFFFF}\u{10FFFE}\u{10FFFF}]/u;
|
|
3541
3754
|
/**
|
|
3542
3755
|
* @param {Renderer} renderer
|
|
@@ -3582,7 +3795,7 @@ function render(component, options = {}) {
|
|
|
3582
3795
|
*/
|
|
3583
3796
|
function attributes(attrs, css_hash, classes, styles, flags = 0) {
|
|
3584
3797
|
if (styles) attrs.style = to_style(attrs.style, styles);
|
|
3585
|
-
if (attrs.class) attrs.class = clsx(attrs.class);
|
|
3798
|
+
if (attrs.class) attrs.class = clsx$1(attrs.class);
|
|
3586
3799
|
if (css_hash || classes) attrs.class = to_class(attrs.class, css_hash, classes);
|
|
3587
3800
|
let attr_str = "";
|
|
3588
3801
|
let name;
|
|
@@ -3592,7 +3805,7 @@ function attributes(attrs, css_hash, classes, styles, flags = 0) {
|
|
|
3592
3805
|
for (name of Object.keys(attrs)) {
|
|
3593
3806
|
if (typeof attrs[name] === "function") continue;
|
|
3594
3807
|
if (name[0] === "$" && name[1] === "$") continue;
|
|
3595
|
-
if (INVALID_ATTR_NAME_CHAR_REGEX.test(name)) continue;
|
|
3808
|
+
if (name === "" || INVALID_ATTR_NAME_CHAR_REGEX.test(name)) continue;
|
|
3596
3809
|
var value = attrs[name];
|
|
3597
3810
|
var lower = name.toLowerCase();
|
|
3598
3811
|
if (lowercase) name = lower;
|
|
@@ -3707,6 +3920,16 @@ function once(get_value) {
|
|
|
3707
3920
|
};
|
|
3708
3921
|
}
|
|
3709
3922
|
/**
|
|
3923
|
+
* Create an unique ID
|
|
3924
|
+
* @param {Renderer} renderer
|
|
3925
|
+
* @returns {string}
|
|
3926
|
+
*/
|
|
3927
|
+
function props_id(renderer) {
|
|
3928
|
+
const uid = renderer.global.uid();
|
|
3929
|
+
renderer.push("<!--$" + uid + "-->");
|
|
3930
|
+
return uid;
|
|
3931
|
+
}
|
|
3932
|
+
/**
|
|
3710
3933
|
* @template T
|
|
3711
3934
|
* @param {()=>T} fn
|
|
3712
3935
|
* @returns {(new_value?: T) => (T | void)}
|
|
@@ -4269,7 +4492,10 @@ var Renderer = class Renderer {
|
|
|
4269
4492
|
} catch (error) {
|
|
4270
4493
|
const { context, failed, transformError } = item.#boundary;
|
|
4271
4494
|
set_ssr_context(context);
|
|
4272
|
-
let
|
|
4495
|
+
let promise = transformError(error);
|
|
4496
|
+
set_ssr_context(null);
|
|
4497
|
+
let transformed = await promise;
|
|
4498
|
+
set_ssr_context(context);
|
|
4273
4499
|
const failed_renderer = new Renderer(item.global, item);
|
|
4274
4500
|
failed_renderer.type = item.type;
|
|
4275
4501
|
failed_renderer.#out.push(Renderer.#serialize_failed_boundary(transformed));
|
|
@@ -4423,7 +4649,252 @@ var SSRState = class {
|
|
|
4423
4649
|
}
|
|
4424
4650
|
}
|
|
4425
4651
|
};
|
|
4652
|
+
/** @import { HydratableLookupEntry } from '#server' */
|
|
4653
|
+
/**
|
|
4654
|
+
* @template T
|
|
4655
|
+
* @param {string} key
|
|
4656
|
+
* @param {() => T} fn
|
|
4657
|
+
* @returns {T}
|
|
4658
|
+
*/
|
|
4659
|
+
function hydratable(key, fn) {
|
|
4660
|
+
experimental_async_required("hydratable");
|
|
4661
|
+
const { hydratable } = get_render_context();
|
|
4662
|
+
let entry = hydratable.lookup.get(key);
|
|
4663
|
+
if (entry !== void 0) return entry.value;
|
|
4664
|
+
const value = fn();
|
|
4665
|
+
entry = encode(key, value, hydratable.unresolved_promises);
|
|
4666
|
+
hydratable.lookup.set(key, entry);
|
|
4667
|
+
return value;
|
|
4668
|
+
}
|
|
4669
|
+
/**
|
|
4670
|
+
* @param {string} key
|
|
4671
|
+
* @param {any} value
|
|
4672
|
+
* @param {Map<Promise<any>, string>} [unresolved]
|
|
4673
|
+
*/
|
|
4674
|
+
function encode(key, value, unresolved) {
|
|
4675
|
+
/** @type {HydratableLookupEntry} */
|
|
4676
|
+
const entry = {
|
|
4677
|
+
value,
|
|
4678
|
+
serialized: ""
|
|
4679
|
+
};
|
|
4680
|
+
let uid = 1;
|
|
4681
|
+
entry.serialized = uneval(entry.value, (value, uneval) => {
|
|
4682
|
+
if (is_promise(value)) {
|
|
4683
|
+
const placeholder = `"${uid++}"`;
|
|
4684
|
+
const p = value.then((v) => {
|
|
4685
|
+
entry.serialized = entry.serialized.replace(placeholder, () => `r(${uneval(v)})`);
|
|
4686
|
+
}).catch((devalue_error) => hydratable_serialization_failed(key, serialization_stack(entry.stack, devalue_error?.stack)));
|
|
4687
|
+
unresolved?.set(p, key);
|
|
4688
|
+
p.catch(() => {}).finally(() => unresolved?.delete(p));
|
|
4689
|
+
(entry.promises ??= []).push(p);
|
|
4690
|
+
return placeholder;
|
|
4691
|
+
}
|
|
4692
|
+
});
|
|
4693
|
+
return entry;
|
|
4694
|
+
}
|
|
4695
|
+
/**
|
|
4696
|
+
* @param {any} value
|
|
4697
|
+
* @returns {value is Promise<any>}
|
|
4698
|
+
*/
|
|
4699
|
+
function is_promise(value) {
|
|
4700
|
+
return Object.prototype.toString.call(value) === "[object Promise]";
|
|
4701
|
+
}
|
|
4702
|
+
/**
|
|
4703
|
+
* @param {string | undefined} root_stack
|
|
4704
|
+
* @param {string | undefined} uneval_stack
|
|
4705
|
+
*/
|
|
4706
|
+
function serialization_stack(root_stack, uneval_stack) {
|
|
4707
|
+
let out = "";
|
|
4708
|
+
if (root_stack) out += root_stack + "\n";
|
|
4709
|
+
if (uneval_stack) out += "Caused by:\n" + uneval_stack + "\n";
|
|
4710
|
+
return out || "<missing stack trace>";
|
|
4711
|
+
}
|
|
4712
|
+
/** @import { Snippet } from 'svelte' */
|
|
4713
|
+
/** @import { Renderer } from '../renderer' */
|
|
4714
|
+
/** @import { Getters } from '#shared' */
|
|
4715
|
+
/**
|
|
4716
|
+
* Create a snippet programmatically
|
|
4717
|
+
* @template {unknown[]} Params
|
|
4718
|
+
* @param {(...params: Getters<Params>) => {
|
|
4719
|
+
* render: () => string
|
|
4720
|
+
* setup?: (element: Element) => void | (() => void)
|
|
4721
|
+
* }} fn
|
|
4722
|
+
* @returns {Snippet<Params>}
|
|
4723
|
+
*/
|
|
4724
|
+
function createRawSnippet(fn) {
|
|
4725
|
+
return (renderer, ...args) => {
|
|
4726
|
+
var getters = args.map((value) => () => value);
|
|
4727
|
+
renderer.push(fn(...getters).render().trim());
|
|
4728
|
+
};
|
|
4729
|
+
}
|
|
4730
|
+
/** @import { SSRContext } from '#server' */
|
|
4731
|
+
/** @import { Renderer } from './internal/server/renderer.js' */
|
|
4732
|
+
var index_server_exports = /* @__PURE__ */ __exportAll({
|
|
4733
|
+
afterUpdate: () => noop,
|
|
4734
|
+
beforeUpdate: () => noop,
|
|
4735
|
+
createContext: () => createContext,
|
|
4736
|
+
createEventDispatcher: () => createEventDispatcher,
|
|
4737
|
+
createRawSnippet: () => createRawSnippet,
|
|
4738
|
+
flushSync: () => noop,
|
|
4739
|
+
fork: () => fork,
|
|
4740
|
+
getAbortSignal: () => getAbortSignal,
|
|
4741
|
+
getAllContexts: () => getAllContexts,
|
|
4742
|
+
getContext: () => getContext,
|
|
4743
|
+
hasContext: () => hasContext,
|
|
4744
|
+
hydratable: () => hydratable,
|
|
4745
|
+
hydrate: () => hydrate,
|
|
4746
|
+
mount: () => mount,
|
|
4747
|
+
onDestroy: () => onDestroy,
|
|
4748
|
+
onMount: () => noop,
|
|
4749
|
+
setContext: () => setContext,
|
|
4750
|
+
settled: () => settled,
|
|
4751
|
+
tick: () => tick,
|
|
4752
|
+
unmount: () => unmount,
|
|
4753
|
+
untrack: () => run
|
|
4754
|
+
});
|
|
4755
|
+
/** @param {() => void} fn */
|
|
4756
|
+
function onDestroy(fn) {
|
|
4757
|
+
/** @type {Renderer} */ ssr_context.r.on_destroy(fn);
|
|
4758
|
+
}
|
|
4759
|
+
function createEventDispatcher() {
|
|
4760
|
+
return noop;
|
|
4761
|
+
}
|
|
4762
|
+
function mount() {
|
|
4763
|
+
lifecycle_function_unavailable("mount");
|
|
4764
|
+
}
|
|
4765
|
+
function hydrate() {
|
|
4766
|
+
lifecycle_function_unavailable("hydrate");
|
|
4767
|
+
}
|
|
4768
|
+
function unmount() {
|
|
4769
|
+
lifecycle_function_unavailable("unmount");
|
|
4770
|
+
}
|
|
4771
|
+
function fork() {
|
|
4772
|
+
lifecycle_function_unavailable("fork");
|
|
4773
|
+
}
|
|
4774
|
+
async function tick() {}
|
|
4775
|
+
async function settled() {}
|
|
4776
|
+
//#endregion
|
|
4777
|
+
//#region .svelte-kit/adapter-bun/chunks/events.js
|
|
4778
|
+
/**
|
|
4779
|
+
* Used on elements, as a map of event type -> event handler,
|
|
4780
|
+
* and on events themselves to track which element handled an event
|
|
4781
|
+
*/
|
|
4782
|
+
var event_symbol = Symbol("events");
|
|
4783
|
+
/** @type {Set<string>} */
|
|
4784
|
+
var all_registered_events = /* @__PURE__ */ new Set();
|
|
4785
|
+
/** @type {Set<(events: Array<string>) => void>} */
|
|
4786
|
+
var root_event_handles = /* @__PURE__ */ new Set();
|
|
4787
|
+
/**
|
|
4788
|
+
* @param {string} event_name
|
|
4789
|
+
* @param {EventTarget} dom
|
|
4790
|
+
* @param {EventListener} [handler]
|
|
4791
|
+
* @param {AddEventListenerOptions} [options]
|
|
4792
|
+
*/
|
|
4793
|
+
function create_event(event_name, dom, handler, options = {}) {
|
|
4794
|
+
/**
|
|
4795
|
+
* @this {EventTarget}
|
|
4796
|
+
*/
|
|
4797
|
+
function target_handler(event) {
|
|
4798
|
+
if (!options.capture) handle_event_propagation.call(dom, event);
|
|
4799
|
+
if (!event.cancelBubble) return without_reactive_context(() => {
|
|
4800
|
+
return handler?.call(this, event);
|
|
4801
|
+
});
|
|
4802
|
+
}
|
|
4803
|
+
if (event_name.startsWith("pointer") || event_name.startsWith("touch") || event_name === "wheel") queue_micro_task(() => {
|
|
4804
|
+
dom.addEventListener(event_name, target_handler, options);
|
|
4805
|
+
});
|
|
4806
|
+
else dom.addEventListener(event_name, target_handler, options);
|
|
4807
|
+
return target_handler;
|
|
4808
|
+
}
|
|
4809
|
+
/**
|
|
4810
|
+
* Attaches an event handler to an element and returns a function that removes the handler. Using this
|
|
4811
|
+
* rather than `addEventListener` will preserve the correct order relative to handlers added declaratively
|
|
4812
|
+
* (with attributes like `onclick`), which use event delegation for performance reasons
|
|
4813
|
+
*
|
|
4814
|
+
* @param {EventTarget} element
|
|
4815
|
+
* @param {string} type
|
|
4816
|
+
* @param {EventListener} handler
|
|
4817
|
+
* @param {AddEventListenerOptions} [options]
|
|
4818
|
+
*/
|
|
4819
|
+
function on(element, type, handler, options = {}) {
|
|
4820
|
+
var target_handler = create_event(type, element, handler, options);
|
|
4821
|
+
return () => {
|
|
4822
|
+
element.removeEventListener(type, target_handler, options);
|
|
4823
|
+
};
|
|
4824
|
+
}
|
|
4825
|
+
var last_propagated_event = null;
|
|
4826
|
+
/**
|
|
4827
|
+
* @this {EventTarget}
|
|
4828
|
+
* @param {Event} event
|
|
4829
|
+
* @returns {void}
|
|
4830
|
+
*/
|
|
4831
|
+
function handle_event_propagation(event) {
|
|
4832
|
+
var handler_element = this;
|
|
4833
|
+
var owner_document = handler_element.ownerDocument;
|
|
4834
|
+
var event_name = event.type;
|
|
4835
|
+
var path = event.composedPath?.() || [];
|
|
4836
|
+
var current_target = path[0] || event.target;
|
|
4837
|
+
last_propagated_event = event;
|
|
4838
|
+
var path_idx = 0;
|
|
4839
|
+
var handled_at = last_propagated_event === event && event[event_symbol];
|
|
4840
|
+
if (handled_at) {
|
|
4841
|
+
var at_idx = path.indexOf(handled_at);
|
|
4842
|
+
if (at_idx !== -1 && (handler_element === document || handler_element === window)) {
|
|
4843
|
+
event[event_symbol] = handler_element;
|
|
4844
|
+
return;
|
|
4845
|
+
}
|
|
4846
|
+
var handler_idx = path.indexOf(handler_element);
|
|
4847
|
+
if (handler_idx === -1) return;
|
|
4848
|
+
if (at_idx <= handler_idx) path_idx = at_idx;
|
|
4849
|
+
}
|
|
4850
|
+
current_target = path[path_idx] || event.target;
|
|
4851
|
+
if (current_target === handler_element) return;
|
|
4852
|
+
define_property(event, "currentTarget", {
|
|
4853
|
+
configurable: true,
|
|
4854
|
+
get() {
|
|
4855
|
+
return current_target || owner_document;
|
|
4856
|
+
}
|
|
4857
|
+
});
|
|
4858
|
+
var previous_reaction = active_reaction;
|
|
4859
|
+
var previous_effect = active_effect;
|
|
4860
|
+
set_active_reaction(null);
|
|
4861
|
+
set_active_effect(null);
|
|
4862
|
+
try {
|
|
4863
|
+
/**
|
|
4864
|
+
* @type {unknown}
|
|
4865
|
+
*/
|
|
4866
|
+
var throw_error;
|
|
4867
|
+
/**
|
|
4868
|
+
* @type {unknown[]}
|
|
4869
|
+
*/
|
|
4870
|
+
var other_errors = [];
|
|
4871
|
+
while (current_target !== null) {
|
|
4872
|
+
if (current_target === handler_element) break;
|
|
4873
|
+
try {
|
|
4874
|
+
var delegated = current_target[event_symbol]?.[event_name];
|
|
4875
|
+
if (delegated != null && (!current_target.disabled || event.target === current_target)) delegated.call(current_target, event);
|
|
4876
|
+
} catch (error) {
|
|
4877
|
+
if (throw_error) other_errors.push(error);
|
|
4878
|
+
else throw_error = error;
|
|
4879
|
+
}
|
|
4880
|
+
if (event.cancelBubble) break;
|
|
4881
|
+
path_idx++;
|
|
4882
|
+
current_target = path_idx < path.length ? path[path_idx] : null;
|
|
4883
|
+
}
|
|
4884
|
+
if (throw_error) {
|
|
4885
|
+
for (let error of other_errors) queueMicrotask(() => {
|
|
4886
|
+
throw error;
|
|
4887
|
+
});
|
|
4888
|
+
throw throw_error;
|
|
4889
|
+
}
|
|
4890
|
+
} finally {
|
|
4891
|
+
event[event_symbol] = handler_element;
|
|
4892
|
+
delete event.currentTarget;
|
|
4893
|
+
set_active_reaction(previous_reaction);
|
|
4894
|
+
set_active_effect(previous_effect);
|
|
4895
|
+
}
|
|
4896
|
+
}
|
|
4426
4897
|
//#endregion
|
|
4427
|
-
export {
|
|
4898
|
+
export { onDestroy as $, flushSync as A, hydrating as B, define_property as C, clsx as Ct, ensure_array_like as D, element as E, get_first_child as F, is_passive_event as G, hydration_mismatch as H, get_next_sibling as I, is_valid_array_index as J, is_plain_object as K, get_type as L, get$1 as M, getAllContexts as N, enumerable_symbols as O, getContext as P, noop as Q, hasContext as R, create_text as S, writable as St, derived$1 as T, index_server_exports as U, hydration_failed as V, init_operations as W, mount as X, is_valid_array_len as Y, mutable_source as Z, boundary as _, to_array as _t, ATTACHMENT_KEY as a, render as at, component_context as b, unsubscribe_stores as bt, LEGACY_PROPS as c, setContext as ct, array_from as d, spread_props as dt, pop as et, attr as f, store_get as ft, bind_props as g, tick as gt, attributes as h, stringify_string as ht, root_event_handles as i, readonly as it, get as j, escape_html as k, MAX_ARRAY_INDEX as l, set_hydrate_node as lt, attr_style as m, stringify_key as mt, handle_event_propagation as n, push as nt, DevalueError as o, run as ot, attr_class as p, stringify as pt, is_primitive as q, on as r, readable as rt, HYDRATION_ERROR as s, set as st, all_registered_events as t, props_id as tt, active_effect as u, set_hydrating as ut, clear_text_content as v, uneval as vt, derived as w, component_root as x, valid_array_indices as xt, clsx$1 as y, unmount as yt, hydrate_node as z };
|
|
4428
4899
|
|
|
4429
|
-
//# sourceMappingURL=
|
|
4900
|
+
//# sourceMappingURL=events-DeYJGjCt.js.map
|