@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
|
@@ -0,0 +1,1592 @@
|
|
|
1
|
+
import { D as ensure_array_like, E as element, P as getContext, R as hasContext, ct as setContext, dt as spread_props, h as attributes, ot as run, r as on, w as derived, y as clsx$1 } from "./events-DeYJGjCt.js";
|
|
2
|
+
//#region .svelte-kit/adapter-bun/chunks/loader-circle.js
|
|
3
|
+
var Subscribable = class {
|
|
4
|
+
constructor() {
|
|
5
|
+
this.listeners = /* @__PURE__ */ new Set();
|
|
6
|
+
this.subscribe = this.subscribe.bind(this);
|
|
7
|
+
}
|
|
8
|
+
subscribe(listener) {
|
|
9
|
+
this.listeners.add(listener);
|
|
10
|
+
this.onSubscribe();
|
|
11
|
+
return () => {
|
|
12
|
+
this.listeners.delete(listener);
|
|
13
|
+
this.onUnsubscribe();
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
hasListeners() {
|
|
17
|
+
return this.listeners.size > 0;
|
|
18
|
+
}
|
|
19
|
+
onSubscribe() {}
|
|
20
|
+
onUnsubscribe() {}
|
|
21
|
+
};
|
|
22
|
+
var FocusManager = class extends Subscribable {
|
|
23
|
+
#focused;
|
|
24
|
+
#cleanup;
|
|
25
|
+
#setup;
|
|
26
|
+
constructor() {
|
|
27
|
+
super();
|
|
28
|
+
this.#setup = (onFocus) => {
|
|
29
|
+
if (typeof window !== "undefined" && window.addEventListener) {
|
|
30
|
+
const listener = () => onFocus();
|
|
31
|
+
window.addEventListener("visibilitychange", listener, false);
|
|
32
|
+
return () => {
|
|
33
|
+
window.removeEventListener("visibilitychange", listener);
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
onSubscribe() {
|
|
39
|
+
if (!this.#cleanup) this.setEventListener(this.#setup);
|
|
40
|
+
}
|
|
41
|
+
onUnsubscribe() {
|
|
42
|
+
if (!this.hasListeners()) {
|
|
43
|
+
this.#cleanup?.();
|
|
44
|
+
this.#cleanup = void 0;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
setEventListener(setup) {
|
|
48
|
+
this.#setup = setup;
|
|
49
|
+
this.#cleanup?.();
|
|
50
|
+
this.#cleanup = setup((focused) => {
|
|
51
|
+
if (typeof focused === "boolean") this.setFocused(focused);
|
|
52
|
+
else this.onFocus();
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
setFocused(focused) {
|
|
56
|
+
if (this.#focused !== focused) {
|
|
57
|
+
this.#focused = focused;
|
|
58
|
+
this.onFocus();
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
onFocus() {
|
|
62
|
+
const isFocused = this.isFocused();
|
|
63
|
+
this.listeners.forEach((listener) => {
|
|
64
|
+
listener(isFocused);
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
isFocused() {
|
|
68
|
+
if (typeof this.#focused === "boolean") return this.#focused;
|
|
69
|
+
return globalThis.document?.visibilityState !== "hidden";
|
|
70
|
+
}
|
|
71
|
+
};
|
|
72
|
+
var focusManager = new FocusManager();
|
|
73
|
+
var defaultTimeoutProvider = {
|
|
74
|
+
setTimeout: (callback, delay) => setTimeout(callback, delay),
|
|
75
|
+
clearTimeout: (timeoutId) => clearTimeout(timeoutId),
|
|
76
|
+
setInterval: (callback, delay) => setInterval(callback, delay),
|
|
77
|
+
clearInterval: (intervalId) => clearInterval(intervalId)
|
|
78
|
+
};
|
|
79
|
+
var TimeoutManager = class {
|
|
80
|
+
#provider = defaultTimeoutProvider;
|
|
81
|
+
#providerCalled = false;
|
|
82
|
+
setTimeoutProvider(provider) {
|
|
83
|
+
if (this.#providerCalled && provider !== this.#provider) console.error(`[timeoutManager]: Switching provider after calls to previous provider might result in unexpected behavior.`, {
|
|
84
|
+
previous: this.#provider,
|
|
85
|
+
provider
|
|
86
|
+
});
|
|
87
|
+
this.#provider = provider;
|
|
88
|
+
this.#providerCalled = false;
|
|
89
|
+
}
|
|
90
|
+
setTimeout(callback, delay) {
|
|
91
|
+
this.#providerCalled = true;
|
|
92
|
+
return this.#provider.setTimeout(callback, delay);
|
|
93
|
+
}
|
|
94
|
+
clearTimeout(timeoutId) {
|
|
95
|
+
this.#provider.clearTimeout(timeoutId);
|
|
96
|
+
}
|
|
97
|
+
setInterval(callback, delay) {
|
|
98
|
+
this.#providerCalled = true;
|
|
99
|
+
return this.#provider.setInterval(callback, delay);
|
|
100
|
+
}
|
|
101
|
+
clearInterval(intervalId) {
|
|
102
|
+
this.#provider.clearInterval(intervalId);
|
|
103
|
+
}
|
|
104
|
+
};
|
|
105
|
+
var timeoutManager = new TimeoutManager();
|
|
106
|
+
function systemSetTimeoutZero(callback) {
|
|
107
|
+
setTimeout(callback, 0);
|
|
108
|
+
}
|
|
109
|
+
var isServer = typeof window === "undefined" || "Deno" in globalThis;
|
|
110
|
+
function noop() {}
|
|
111
|
+
function functionalUpdate(updater, input) {
|
|
112
|
+
return typeof updater === "function" ? updater(input) : updater;
|
|
113
|
+
}
|
|
114
|
+
function isValidTimeout(value) {
|
|
115
|
+
return typeof value === "number" && value >= 0 && value !== Infinity;
|
|
116
|
+
}
|
|
117
|
+
function timeUntilStale(updatedAt, staleTime) {
|
|
118
|
+
return Math.max(updatedAt + (staleTime || 0) - Date.now(), 0);
|
|
119
|
+
}
|
|
120
|
+
function resolveStaleTime(staleTime, query) {
|
|
121
|
+
return typeof staleTime === "function" ? staleTime(query) : staleTime;
|
|
122
|
+
}
|
|
123
|
+
function resolveQueryBoolean(option, query) {
|
|
124
|
+
return typeof option === "function" ? option(query) : option;
|
|
125
|
+
}
|
|
126
|
+
function matchQuery(filters, query) {
|
|
127
|
+
const { type = "all", exact, fetchStatus, predicate, queryKey, stale } = filters;
|
|
128
|
+
if (queryKey) {
|
|
129
|
+
if (exact) {
|
|
130
|
+
if (query.queryHash !== hashQueryKeyByOptions(queryKey, query.options)) return false;
|
|
131
|
+
} else if (!partialMatchKey(query.queryKey, queryKey)) return false;
|
|
132
|
+
}
|
|
133
|
+
if (type !== "all") {
|
|
134
|
+
const isActive = query.isActive();
|
|
135
|
+
if (type === "active" && !isActive) return false;
|
|
136
|
+
if (type === "inactive" && isActive) return false;
|
|
137
|
+
}
|
|
138
|
+
if (typeof stale === "boolean" && query.isStale() !== stale) return false;
|
|
139
|
+
if (fetchStatus && fetchStatus !== query.state.fetchStatus) return false;
|
|
140
|
+
if (predicate && !predicate(query)) return false;
|
|
141
|
+
return true;
|
|
142
|
+
}
|
|
143
|
+
function matchMutation(filters, mutation) {
|
|
144
|
+
const { exact, status, predicate, mutationKey } = filters;
|
|
145
|
+
if (mutationKey) {
|
|
146
|
+
if (!mutation.options.mutationKey) return false;
|
|
147
|
+
if (exact) {
|
|
148
|
+
if (hashKey(mutation.options.mutationKey) !== hashKey(mutationKey)) return false;
|
|
149
|
+
} else if (!partialMatchKey(mutation.options.mutationKey, mutationKey)) return false;
|
|
150
|
+
}
|
|
151
|
+
if (status && mutation.state.status !== status) return false;
|
|
152
|
+
if (predicate && !predicate(mutation)) return false;
|
|
153
|
+
return true;
|
|
154
|
+
}
|
|
155
|
+
function hashQueryKeyByOptions(queryKey, options) {
|
|
156
|
+
return (options?.queryKeyHashFn || hashKey)(queryKey);
|
|
157
|
+
}
|
|
158
|
+
function hashKey(queryKey) {
|
|
159
|
+
return JSON.stringify(queryKey, (_, val) => isPlainObject(val) ? Object.keys(val).sort().reduce((result, key) => {
|
|
160
|
+
result[key] = val[key];
|
|
161
|
+
return result;
|
|
162
|
+
}, {}) : val);
|
|
163
|
+
}
|
|
164
|
+
function partialMatchKey(a, b) {
|
|
165
|
+
if (a === b) return true;
|
|
166
|
+
if (typeof a !== typeof b) return false;
|
|
167
|
+
if (a && b && typeof a === "object" && typeof b === "object") return Object.keys(b).every((key) => partialMatchKey(a[key], b[key]));
|
|
168
|
+
return false;
|
|
169
|
+
}
|
|
170
|
+
var hasOwn = Object.prototype.hasOwnProperty;
|
|
171
|
+
function replaceEqualDeep(a, b, depth = 0) {
|
|
172
|
+
if (a === b) return a;
|
|
173
|
+
if (depth > 500) return b;
|
|
174
|
+
const array = isPlainArray(a) && isPlainArray(b);
|
|
175
|
+
if (!array && !(isPlainObject(a) && isPlainObject(b))) return b;
|
|
176
|
+
const aSize = (array ? a : Object.keys(a)).length;
|
|
177
|
+
const bItems = array ? b : Object.keys(b);
|
|
178
|
+
const bSize = bItems.length;
|
|
179
|
+
const copy = array ? new Array(bSize) : {};
|
|
180
|
+
let equalItems = 0;
|
|
181
|
+
for (let i = 0; i < bSize; i++) {
|
|
182
|
+
const key = array ? i : bItems[i];
|
|
183
|
+
const aItem = a[key];
|
|
184
|
+
const bItem = b[key];
|
|
185
|
+
if (aItem === bItem) {
|
|
186
|
+
copy[key] = aItem;
|
|
187
|
+
if (array ? i < aSize : hasOwn.call(a, key)) equalItems++;
|
|
188
|
+
continue;
|
|
189
|
+
}
|
|
190
|
+
if (aItem === null || bItem === null || typeof aItem !== "object" || typeof bItem !== "object") {
|
|
191
|
+
copy[key] = bItem;
|
|
192
|
+
continue;
|
|
193
|
+
}
|
|
194
|
+
const v = replaceEqualDeep(aItem, bItem, depth + 1);
|
|
195
|
+
copy[key] = v;
|
|
196
|
+
if (v === aItem) equalItems++;
|
|
197
|
+
}
|
|
198
|
+
return aSize === bSize && equalItems === aSize ? a : copy;
|
|
199
|
+
}
|
|
200
|
+
function shallowEqualObjects(a, b) {
|
|
201
|
+
if (!b || Object.keys(a).length !== Object.keys(b).length) return false;
|
|
202
|
+
for (const key in a) if (a[key] !== b[key]) return false;
|
|
203
|
+
return true;
|
|
204
|
+
}
|
|
205
|
+
function isPlainArray(value) {
|
|
206
|
+
return Array.isArray(value) && value.length === Object.keys(value).length;
|
|
207
|
+
}
|
|
208
|
+
function isPlainObject(o) {
|
|
209
|
+
if (!hasObjectPrototype(o)) return false;
|
|
210
|
+
const ctor = o.constructor;
|
|
211
|
+
if (ctor === void 0) return true;
|
|
212
|
+
const prot = ctor.prototype;
|
|
213
|
+
if (!hasObjectPrototype(prot)) return false;
|
|
214
|
+
if (!prot.hasOwnProperty("isPrototypeOf")) return false;
|
|
215
|
+
if (Object.getPrototypeOf(o) !== Object.prototype) return false;
|
|
216
|
+
return true;
|
|
217
|
+
}
|
|
218
|
+
function hasObjectPrototype(o) {
|
|
219
|
+
return Object.prototype.toString.call(o) === "[object Object]";
|
|
220
|
+
}
|
|
221
|
+
function sleep(timeout) {
|
|
222
|
+
return new Promise((resolve) => {
|
|
223
|
+
timeoutManager.setTimeout(resolve, timeout);
|
|
224
|
+
});
|
|
225
|
+
}
|
|
226
|
+
function replaceData(prevData, data, options) {
|
|
227
|
+
if (typeof options.structuralSharing === "function") return options.structuralSharing(prevData, data);
|
|
228
|
+
else if (options.structuralSharing !== false) {
|
|
229
|
+
try {
|
|
230
|
+
return replaceEqualDeep(prevData, data);
|
|
231
|
+
} catch (error) {
|
|
232
|
+
console.error(`Structural sharing requires data to be JSON serializable. To fix this, turn off structuralSharing or return JSON-serializable data from your queryFn. [${options.queryHash}]: ${error}`);
|
|
233
|
+
throw error;
|
|
234
|
+
}
|
|
235
|
+
return replaceEqualDeep(prevData, data);
|
|
236
|
+
}
|
|
237
|
+
return data;
|
|
238
|
+
}
|
|
239
|
+
function addToEnd(items, item, max = 0) {
|
|
240
|
+
const newItems = [...items, item];
|
|
241
|
+
return max && newItems.length > max ? newItems.slice(1) : newItems;
|
|
242
|
+
}
|
|
243
|
+
function addToStart(items, item, max = 0) {
|
|
244
|
+
const newItems = [item, ...items];
|
|
245
|
+
return max && newItems.length > max ? newItems.slice(0, -1) : newItems;
|
|
246
|
+
}
|
|
247
|
+
var skipToken = /* @__PURE__ */ Symbol();
|
|
248
|
+
function ensureQueryFn(options, fetchOptions) {
|
|
249
|
+
if (options.queryFn === skipToken) console.error(`Attempted to invoke queryFn when set to skipToken. This is likely a configuration error. Query hash: '${options.queryHash}'`);
|
|
250
|
+
if (!options.queryFn && fetchOptions?.initialPromise) return () => fetchOptions.initialPromise;
|
|
251
|
+
if (!options.queryFn || options.queryFn === skipToken) return () => Promise.reject(/* @__PURE__ */ new Error(`Missing queryFn: '${options.queryHash}'`));
|
|
252
|
+
return options.queryFn;
|
|
253
|
+
}
|
|
254
|
+
function addConsumeAwareSignal(object, getSignal, onCancelled) {
|
|
255
|
+
let consumed = false;
|
|
256
|
+
let signal;
|
|
257
|
+
Object.defineProperty(object, "signal", {
|
|
258
|
+
enumerable: true,
|
|
259
|
+
get: () => {
|
|
260
|
+
signal ??= getSignal();
|
|
261
|
+
if (consumed) return signal;
|
|
262
|
+
consumed = true;
|
|
263
|
+
if (signal.aborted) onCancelled();
|
|
264
|
+
else signal.addEventListener("abort", onCancelled, { once: true });
|
|
265
|
+
return signal;
|
|
266
|
+
}
|
|
267
|
+
});
|
|
268
|
+
return object;
|
|
269
|
+
}
|
|
270
|
+
var environmentManager = /* @__PURE__ */ (() => {
|
|
271
|
+
let isServerFn = () => isServer;
|
|
272
|
+
return {
|
|
273
|
+
/**
|
|
274
|
+
* Returns whether the current runtime should be treated as a server environment.
|
|
275
|
+
*/
|
|
276
|
+
isServer() {
|
|
277
|
+
return isServerFn();
|
|
278
|
+
},
|
|
279
|
+
/**
|
|
280
|
+
* Overrides the server check globally.
|
|
281
|
+
*/
|
|
282
|
+
setIsServer(isServerValue) {
|
|
283
|
+
isServerFn = isServerValue;
|
|
284
|
+
}
|
|
285
|
+
};
|
|
286
|
+
})();
|
|
287
|
+
function pendingThenable() {
|
|
288
|
+
let resolve;
|
|
289
|
+
let reject;
|
|
290
|
+
const thenable = new Promise((_resolve, _reject) => {
|
|
291
|
+
resolve = _resolve;
|
|
292
|
+
reject = _reject;
|
|
293
|
+
});
|
|
294
|
+
thenable.status = "pending";
|
|
295
|
+
thenable.catch(() => {});
|
|
296
|
+
function finalize(data) {
|
|
297
|
+
Object.assign(thenable, data);
|
|
298
|
+
delete thenable.resolve;
|
|
299
|
+
delete thenable.reject;
|
|
300
|
+
}
|
|
301
|
+
thenable.resolve = (value) => {
|
|
302
|
+
finalize({
|
|
303
|
+
status: "fulfilled",
|
|
304
|
+
value
|
|
305
|
+
});
|
|
306
|
+
resolve(value);
|
|
307
|
+
};
|
|
308
|
+
thenable.reject = (reason) => {
|
|
309
|
+
finalize({
|
|
310
|
+
status: "rejected",
|
|
311
|
+
reason
|
|
312
|
+
});
|
|
313
|
+
reject(reason);
|
|
314
|
+
};
|
|
315
|
+
return thenable;
|
|
316
|
+
}
|
|
317
|
+
var defaultScheduler = systemSetTimeoutZero;
|
|
318
|
+
function createNotifyManager() {
|
|
319
|
+
let queue = [];
|
|
320
|
+
let transactions = 0;
|
|
321
|
+
let notifyFn = (callback) => {
|
|
322
|
+
callback();
|
|
323
|
+
};
|
|
324
|
+
let batchNotifyFn = (callback) => {
|
|
325
|
+
callback();
|
|
326
|
+
};
|
|
327
|
+
let scheduleFn = defaultScheduler;
|
|
328
|
+
const schedule = (callback) => {
|
|
329
|
+
if (transactions) queue.push(callback);
|
|
330
|
+
else scheduleFn(() => {
|
|
331
|
+
notifyFn(callback);
|
|
332
|
+
});
|
|
333
|
+
};
|
|
334
|
+
const flush = () => {
|
|
335
|
+
const originalQueue = queue;
|
|
336
|
+
queue = [];
|
|
337
|
+
if (originalQueue.length) scheduleFn(() => {
|
|
338
|
+
batchNotifyFn(() => {
|
|
339
|
+
originalQueue.forEach((callback) => {
|
|
340
|
+
notifyFn(callback);
|
|
341
|
+
});
|
|
342
|
+
});
|
|
343
|
+
});
|
|
344
|
+
};
|
|
345
|
+
return {
|
|
346
|
+
batch: (callback) => {
|
|
347
|
+
let result;
|
|
348
|
+
transactions++;
|
|
349
|
+
try {
|
|
350
|
+
result = callback();
|
|
351
|
+
} finally {
|
|
352
|
+
transactions--;
|
|
353
|
+
if (!transactions) flush();
|
|
354
|
+
}
|
|
355
|
+
return result;
|
|
356
|
+
},
|
|
357
|
+
/**
|
|
358
|
+
* All calls to the wrapped function will be batched.
|
|
359
|
+
*/
|
|
360
|
+
batchCalls: (callback) => {
|
|
361
|
+
return (...args) => {
|
|
362
|
+
schedule(() => {
|
|
363
|
+
callback(...args);
|
|
364
|
+
});
|
|
365
|
+
};
|
|
366
|
+
},
|
|
367
|
+
schedule,
|
|
368
|
+
/**
|
|
369
|
+
* Use this method to set a custom notify function.
|
|
370
|
+
* This can be used to for example wrap notifications with `React.act` while running tests.
|
|
371
|
+
*/
|
|
372
|
+
setNotifyFunction: (fn) => {
|
|
373
|
+
notifyFn = fn;
|
|
374
|
+
},
|
|
375
|
+
/**
|
|
376
|
+
* Use this method to set a custom function to batch notifications together into a single tick.
|
|
377
|
+
* By default React Query will use the batch function provided by ReactDOM or React Native.
|
|
378
|
+
*/
|
|
379
|
+
setBatchNotifyFunction: (fn) => {
|
|
380
|
+
batchNotifyFn = fn;
|
|
381
|
+
},
|
|
382
|
+
setScheduler: (fn) => {
|
|
383
|
+
scheduleFn = fn;
|
|
384
|
+
}
|
|
385
|
+
};
|
|
386
|
+
}
|
|
387
|
+
var notifyManager = createNotifyManager();
|
|
388
|
+
var OnlineManager = class extends Subscribable {
|
|
389
|
+
#online = true;
|
|
390
|
+
#cleanup;
|
|
391
|
+
#setup;
|
|
392
|
+
constructor() {
|
|
393
|
+
super();
|
|
394
|
+
this.#setup = (onOnline) => {
|
|
395
|
+
if (typeof window !== "undefined" && window.addEventListener) {
|
|
396
|
+
const onlineListener = () => onOnline(true);
|
|
397
|
+
const offlineListener = () => onOnline(false);
|
|
398
|
+
window.addEventListener("online", onlineListener, false);
|
|
399
|
+
window.addEventListener("offline", offlineListener, false);
|
|
400
|
+
return () => {
|
|
401
|
+
window.removeEventListener("online", onlineListener);
|
|
402
|
+
window.removeEventListener("offline", offlineListener);
|
|
403
|
+
};
|
|
404
|
+
}
|
|
405
|
+
};
|
|
406
|
+
}
|
|
407
|
+
onSubscribe() {
|
|
408
|
+
if (!this.#cleanup) this.setEventListener(this.#setup);
|
|
409
|
+
}
|
|
410
|
+
onUnsubscribe() {
|
|
411
|
+
if (!this.hasListeners()) {
|
|
412
|
+
this.#cleanup?.();
|
|
413
|
+
this.#cleanup = void 0;
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
setEventListener(setup) {
|
|
417
|
+
this.#setup = setup;
|
|
418
|
+
this.#cleanup?.();
|
|
419
|
+
this.#cleanup = setup(this.setOnline.bind(this));
|
|
420
|
+
}
|
|
421
|
+
setOnline(online) {
|
|
422
|
+
if (this.#online !== online) {
|
|
423
|
+
this.#online = online;
|
|
424
|
+
this.listeners.forEach((listener) => {
|
|
425
|
+
listener(online);
|
|
426
|
+
});
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
isOnline() {
|
|
430
|
+
return this.#online;
|
|
431
|
+
}
|
|
432
|
+
};
|
|
433
|
+
var onlineManager = new OnlineManager();
|
|
434
|
+
function defaultRetryDelay(failureCount) {
|
|
435
|
+
return Math.min(1e3 * 2 ** failureCount, 3e4);
|
|
436
|
+
}
|
|
437
|
+
function canFetch(networkMode) {
|
|
438
|
+
return (networkMode ?? "online") === "online" ? onlineManager.isOnline() : true;
|
|
439
|
+
}
|
|
440
|
+
var CancelledError = class extends Error {
|
|
441
|
+
constructor(options) {
|
|
442
|
+
super("CancelledError");
|
|
443
|
+
this.revert = options?.revert;
|
|
444
|
+
this.silent = options?.silent;
|
|
445
|
+
}
|
|
446
|
+
};
|
|
447
|
+
function createRetryer(config) {
|
|
448
|
+
let isRetryCancelled = false;
|
|
449
|
+
let failureCount = 0;
|
|
450
|
+
let continueFn;
|
|
451
|
+
const thenable = pendingThenable();
|
|
452
|
+
const isResolved = () => thenable.status !== "pending";
|
|
453
|
+
const cancel = (cancelOptions) => {
|
|
454
|
+
if (!isResolved()) {
|
|
455
|
+
const error = new CancelledError(cancelOptions);
|
|
456
|
+
reject(error);
|
|
457
|
+
config.onCancel?.(error);
|
|
458
|
+
}
|
|
459
|
+
};
|
|
460
|
+
const cancelRetry = () => {
|
|
461
|
+
isRetryCancelled = true;
|
|
462
|
+
};
|
|
463
|
+
const continueRetry = () => {
|
|
464
|
+
isRetryCancelled = false;
|
|
465
|
+
};
|
|
466
|
+
const canContinue = () => focusManager.isFocused() && (config.networkMode === "always" || onlineManager.isOnline()) && config.canRun();
|
|
467
|
+
const canStart = () => canFetch(config.networkMode) && config.canRun();
|
|
468
|
+
const resolve = (value) => {
|
|
469
|
+
if (!isResolved()) {
|
|
470
|
+
continueFn?.();
|
|
471
|
+
thenable.resolve(value);
|
|
472
|
+
}
|
|
473
|
+
};
|
|
474
|
+
const reject = (value) => {
|
|
475
|
+
if (!isResolved()) {
|
|
476
|
+
continueFn?.();
|
|
477
|
+
thenable.reject(value);
|
|
478
|
+
}
|
|
479
|
+
};
|
|
480
|
+
const pause = () => {
|
|
481
|
+
return new Promise((continueResolve) => {
|
|
482
|
+
continueFn = (value) => {
|
|
483
|
+
if (isResolved() || canContinue()) continueResolve(value);
|
|
484
|
+
};
|
|
485
|
+
config.onPause?.();
|
|
486
|
+
}).then(() => {
|
|
487
|
+
continueFn = void 0;
|
|
488
|
+
if (!isResolved()) config.onContinue?.();
|
|
489
|
+
});
|
|
490
|
+
};
|
|
491
|
+
const run = () => {
|
|
492
|
+
if (isResolved()) return;
|
|
493
|
+
let promiseOrValue;
|
|
494
|
+
const initialPromise = failureCount === 0 ? config.initialPromise : void 0;
|
|
495
|
+
try {
|
|
496
|
+
promiseOrValue = initialPromise ?? config.fn();
|
|
497
|
+
} catch (error) {
|
|
498
|
+
promiseOrValue = Promise.reject(error);
|
|
499
|
+
}
|
|
500
|
+
Promise.resolve(promiseOrValue).then(resolve).catch((error) => {
|
|
501
|
+
if (isResolved()) return;
|
|
502
|
+
const retry = config.retry ?? (environmentManager.isServer() ? 0 : 3);
|
|
503
|
+
const retryDelay = config.retryDelay ?? defaultRetryDelay;
|
|
504
|
+
const delay = typeof retryDelay === "function" ? retryDelay(failureCount, error) : retryDelay;
|
|
505
|
+
const shouldRetry = retry === true || typeof retry === "number" && failureCount < retry || typeof retry === "function" && retry(failureCount, error);
|
|
506
|
+
if (isRetryCancelled || !shouldRetry) {
|
|
507
|
+
reject(error);
|
|
508
|
+
return;
|
|
509
|
+
}
|
|
510
|
+
failureCount++;
|
|
511
|
+
config.onFail?.(failureCount, error);
|
|
512
|
+
sleep(delay).then(() => {
|
|
513
|
+
return canContinue() ? void 0 : pause();
|
|
514
|
+
}).then(() => {
|
|
515
|
+
if (isRetryCancelled) reject(error);
|
|
516
|
+
else run();
|
|
517
|
+
});
|
|
518
|
+
});
|
|
519
|
+
};
|
|
520
|
+
return {
|
|
521
|
+
promise: thenable,
|
|
522
|
+
status: () => thenable.status,
|
|
523
|
+
cancel,
|
|
524
|
+
continue: () => {
|
|
525
|
+
continueFn?.();
|
|
526
|
+
return thenable;
|
|
527
|
+
},
|
|
528
|
+
cancelRetry,
|
|
529
|
+
continueRetry,
|
|
530
|
+
canStart,
|
|
531
|
+
start: () => {
|
|
532
|
+
if (canStart()) run();
|
|
533
|
+
else pause().then(run);
|
|
534
|
+
return thenable;
|
|
535
|
+
}
|
|
536
|
+
};
|
|
537
|
+
}
|
|
538
|
+
var Removable = class {
|
|
539
|
+
#gcTimeout;
|
|
540
|
+
destroy() {
|
|
541
|
+
this.clearGcTimeout();
|
|
542
|
+
}
|
|
543
|
+
scheduleGc() {
|
|
544
|
+
this.clearGcTimeout();
|
|
545
|
+
if (isValidTimeout(this.gcTime)) this.#gcTimeout = timeoutManager.setTimeout(() => {
|
|
546
|
+
this.optionalRemove();
|
|
547
|
+
}, this.gcTime);
|
|
548
|
+
}
|
|
549
|
+
updateGcTime(newGcTime) {
|
|
550
|
+
this.gcTime = Math.max(this.gcTime || 0, newGcTime ?? (environmentManager.isServer() ? Infinity : 300 * 1e3));
|
|
551
|
+
}
|
|
552
|
+
clearGcTimeout() {
|
|
553
|
+
if (this.#gcTimeout !== void 0) {
|
|
554
|
+
timeoutManager.clearTimeout(this.#gcTimeout);
|
|
555
|
+
this.#gcTimeout = void 0;
|
|
556
|
+
}
|
|
557
|
+
}
|
|
558
|
+
};
|
|
559
|
+
function infiniteQueryBehavior(pages) {
|
|
560
|
+
return { onFetch: (context, query) => {
|
|
561
|
+
const options = context.options;
|
|
562
|
+
const direction = context.fetchOptions?.meta?.fetchMore?.direction;
|
|
563
|
+
const oldPages = context.state.data?.pages || [];
|
|
564
|
+
const oldPageParams = context.state.data?.pageParams || [];
|
|
565
|
+
let result = {
|
|
566
|
+
pages: [],
|
|
567
|
+
pageParams: []
|
|
568
|
+
};
|
|
569
|
+
let currentPage = 0;
|
|
570
|
+
const fetchFn = async () => {
|
|
571
|
+
let cancelled = false;
|
|
572
|
+
const addSignalProperty = (object) => {
|
|
573
|
+
addConsumeAwareSignal(object, () => context.signal, () => cancelled = true);
|
|
574
|
+
};
|
|
575
|
+
const queryFn = ensureQueryFn(context.options, context.fetchOptions);
|
|
576
|
+
const fetchPage = async (data, param, previous) => {
|
|
577
|
+
if (cancelled) return Promise.reject(context.signal.reason);
|
|
578
|
+
if (param == null && data.pages.length) return Promise.resolve(data);
|
|
579
|
+
const createQueryFnContext = () => {
|
|
580
|
+
const queryFnContext2 = {
|
|
581
|
+
client: context.client,
|
|
582
|
+
queryKey: context.queryKey,
|
|
583
|
+
pageParam: param,
|
|
584
|
+
direction: previous ? "backward" : "forward",
|
|
585
|
+
meta: context.options.meta
|
|
586
|
+
};
|
|
587
|
+
addSignalProperty(queryFnContext2);
|
|
588
|
+
return queryFnContext2;
|
|
589
|
+
};
|
|
590
|
+
const page = await queryFn(createQueryFnContext());
|
|
591
|
+
const { maxPages } = context.options;
|
|
592
|
+
const addTo = previous ? addToStart : addToEnd;
|
|
593
|
+
return {
|
|
594
|
+
pages: addTo(data.pages, page, maxPages),
|
|
595
|
+
pageParams: addTo(data.pageParams, param, maxPages)
|
|
596
|
+
};
|
|
597
|
+
};
|
|
598
|
+
if (direction && oldPages.length) {
|
|
599
|
+
const previous = direction === "backward";
|
|
600
|
+
const pageParamFn = previous ? getPreviousPageParam : getNextPageParam;
|
|
601
|
+
const oldData = {
|
|
602
|
+
pages: oldPages,
|
|
603
|
+
pageParams: oldPageParams
|
|
604
|
+
};
|
|
605
|
+
result = await fetchPage(oldData, pageParamFn(options, oldData), previous);
|
|
606
|
+
} else {
|
|
607
|
+
const remainingPages = pages ?? oldPages.length;
|
|
608
|
+
do {
|
|
609
|
+
const param = currentPage === 0 ? oldPageParams[0] ?? options.initialPageParam : getNextPageParam(options, result);
|
|
610
|
+
if (currentPage > 0 && param == null) break;
|
|
611
|
+
result = await fetchPage(result, param);
|
|
612
|
+
currentPage++;
|
|
613
|
+
} while (currentPage < remainingPages);
|
|
614
|
+
}
|
|
615
|
+
return result;
|
|
616
|
+
};
|
|
617
|
+
if (context.options.persister) context.fetchFn = () => {
|
|
618
|
+
return context.options.persister?.(fetchFn, {
|
|
619
|
+
client: context.client,
|
|
620
|
+
queryKey: context.queryKey,
|
|
621
|
+
meta: context.options.meta,
|
|
622
|
+
signal: context.signal
|
|
623
|
+
}, query);
|
|
624
|
+
};
|
|
625
|
+
else context.fetchFn = fetchFn;
|
|
626
|
+
} };
|
|
627
|
+
}
|
|
628
|
+
function getNextPageParam(options, { pages, pageParams }) {
|
|
629
|
+
const lastIndex = pages.length - 1;
|
|
630
|
+
return pages.length > 0 ? options.getNextPageParam(pages[lastIndex], pages, pageParams[lastIndex], pageParams) : void 0;
|
|
631
|
+
}
|
|
632
|
+
function getPreviousPageParam(options, { pages, pageParams }) {
|
|
633
|
+
return pages.length > 0 ? options.getPreviousPageParam?.(pages[0], pages, pageParams[0], pageParams) : void 0;
|
|
634
|
+
}
|
|
635
|
+
var Query = class extends Removable {
|
|
636
|
+
#queryType;
|
|
637
|
+
#initialState;
|
|
638
|
+
#revertState;
|
|
639
|
+
#cache;
|
|
640
|
+
#client;
|
|
641
|
+
#retryer;
|
|
642
|
+
#defaultOptions;
|
|
643
|
+
#abortSignalConsumed;
|
|
644
|
+
constructor(config) {
|
|
645
|
+
super();
|
|
646
|
+
this.#abortSignalConsumed = false;
|
|
647
|
+
this.#defaultOptions = config.defaultOptions;
|
|
648
|
+
this.setOptions(config.options);
|
|
649
|
+
this.observers = [];
|
|
650
|
+
this.#client = config.client;
|
|
651
|
+
this.#cache = this.#client.getQueryCache();
|
|
652
|
+
this.queryKey = config.queryKey;
|
|
653
|
+
this.queryHash = config.queryHash;
|
|
654
|
+
this.#initialState = getDefaultState(this.options);
|
|
655
|
+
this.state = config.state ?? this.#initialState;
|
|
656
|
+
this.scheduleGc();
|
|
657
|
+
}
|
|
658
|
+
get meta() {
|
|
659
|
+
return this.options.meta;
|
|
660
|
+
}
|
|
661
|
+
get queryType() {
|
|
662
|
+
return this.#queryType;
|
|
663
|
+
}
|
|
664
|
+
get promise() {
|
|
665
|
+
return this.#retryer?.promise;
|
|
666
|
+
}
|
|
667
|
+
setOptions(options) {
|
|
668
|
+
this.options = {
|
|
669
|
+
...this.#defaultOptions,
|
|
670
|
+
...options
|
|
671
|
+
};
|
|
672
|
+
if (options?._type) this.#queryType = options._type;
|
|
673
|
+
this.updateGcTime(this.options.gcTime);
|
|
674
|
+
if (this.state && this.state.data === void 0) {
|
|
675
|
+
const defaultState = getDefaultState(this.options);
|
|
676
|
+
if (defaultState.data !== void 0) {
|
|
677
|
+
this.setState(successState(defaultState.data, defaultState.dataUpdatedAt));
|
|
678
|
+
this.#initialState = defaultState;
|
|
679
|
+
}
|
|
680
|
+
}
|
|
681
|
+
}
|
|
682
|
+
optionalRemove() {
|
|
683
|
+
if (!this.observers.length && this.state.fetchStatus === "idle") this.#cache.remove(this);
|
|
684
|
+
}
|
|
685
|
+
setData(newData, options) {
|
|
686
|
+
const data = replaceData(this.state.data, newData, this.options);
|
|
687
|
+
this.#dispatch({
|
|
688
|
+
data,
|
|
689
|
+
type: "success",
|
|
690
|
+
dataUpdatedAt: options?.updatedAt,
|
|
691
|
+
manual: options?.manual
|
|
692
|
+
});
|
|
693
|
+
return data;
|
|
694
|
+
}
|
|
695
|
+
setState(state) {
|
|
696
|
+
this.#dispatch({
|
|
697
|
+
type: "setState",
|
|
698
|
+
state
|
|
699
|
+
});
|
|
700
|
+
}
|
|
701
|
+
cancel(options) {
|
|
702
|
+
const promise = this.#retryer?.promise;
|
|
703
|
+
this.#retryer?.cancel(options);
|
|
704
|
+
return promise ? promise.then(noop).catch(noop) : Promise.resolve();
|
|
705
|
+
}
|
|
706
|
+
destroy() {
|
|
707
|
+
super.destroy();
|
|
708
|
+
this.cancel({ silent: true });
|
|
709
|
+
}
|
|
710
|
+
get resetState() {
|
|
711
|
+
return this.#initialState;
|
|
712
|
+
}
|
|
713
|
+
reset() {
|
|
714
|
+
this.destroy();
|
|
715
|
+
this.setState(this.resetState);
|
|
716
|
+
}
|
|
717
|
+
isActive() {
|
|
718
|
+
return this.observers.some((observer) => resolveQueryBoolean(observer.options.enabled, this) !== false);
|
|
719
|
+
}
|
|
720
|
+
isDisabled() {
|
|
721
|
+
if (this.getObserversCount() > 0) return !this.isActive();
|
|
722
|
+
return this.options.queryFn === skipToken || !this.isFetched();
|
|
723
|
+
}
|
|
724
|
+
isFetched() {
|
|
725
|
+
return this.state.dataUpdateCount + this.state.errorUpdateCount > 0;
|
|
726
|
+
}
|
|
727
|
+
isStatic() {
|
|
728
|
+
if (this.getObserversCount() > 0) return this.observers.some((observer) => resolveStaleTime(observer.options.staleTime, this) === "static");
|
|
729
|
+
return false;
|
|
730
|
+
}
|
|
731
|
+
isStale() {
|
|
732
|
+
if (this.getObserversCount() > 0) return this.observers.some((observer) => observer.getCurrentResult().isStale);
|
|
733
|
+
return this.state.data === void 0 || this.state.isInvalidated;
|
|
734
|
+
}
|
|
735
|
+
isStaleByTime(staleTime = 0) {
|
|
736
|
+
if (this.state.data === void 0) return true;
|
|
737
|
+
if (staleTime === "static") return false;
|
|
738
|
+
if (this.state.isInvalidated) return true;
|
|
739
|
+
return !timeUntilStale(this.state.dataUpdatedAt, staleTime);
|
|
740
|
+
}
|
|
741
|
+
onFocus() {
|
|
742
|
+
this.observers.find((x) => x.shouldFetchOnWindowFocus())?.refetch({ cancelRefetch: false });
|
|
743
|
+
this.#retryer?.continue();
|
|
744
|
+
}
|
|
745
|
+
onOnline() {
|
|
746
|
+
this.observers.find((x) => x.shouldFetchOnReconnect())?.refetch({ cancelRefetch: false });
|
|
747
|
+
this.#retryer?.continue();
|
|
748
|
+
}
|
|
749
|
+
addObserver(observer) {
|
|
750
|
+
if (!this.observers.includes(observer)) {
|
|
751
|
+
this.observers.push(observer);
|
|
752
|
+
this.clearGcTimeout();
|
|
753
|
+
this.#cache.notify({
|
|
754
|
+
type: "observerAdded",
|
|
755
|
+
query: this,
|
|
756
|
+
observer
|
|
757
|
+
});
|
|
758
|
+
}
|
|
759
|
+
}
|
|
760
|
+
removeObserver(observer) {
|
|
761
|
+
if (this.observers.includes(observer)) {
|
|
762
|
+
this.observers = this.observers.filter((x) => x !== observer);
|
|
763
|
+
if (!this.observers.length) {
|
|
764
|
+
if (this.#retryer) if (this.#abortSignalConsumed || this.#isInitialPausedFetch()) this.#retryer.cancel({ revert: true });
|
|
765
|
+
else this.#retryer.cancelRetry();
|
|
766
|
+
this.scheduleGc();
|
|
767
|
+
}
|
|
768
|
+
this.#cache.notify({
|
|
769
|
+
type: "observerRemoved",
|
|
770
|
+
query: this,
|
|
771
|
+
observer
|
|
772
|
+
});
|
|
773
|
+
}
|
|
774
|
+
}
|
|
775
|
+
getObserversCount() {
|
|
776
|
+
return this.observers.length;
|
|
777
|
+
}
|
|
778
|
+
#isInitialPausedFetch() {
|
|
779
|
+
return this.state.fetchStatus === "paused" && this.state.status === "pending";
|
|
780
|
+
}
|
|
781
|
+
invalidate() {
|
|
782
|
+
if (!this.state.isInvalidated) this.#dispatch({ type: "invalidate" });
|
|
783
|
+
}
|
|
784
|
+
async fetch(options, fetchOptions) {
|
|
785
|
+
if (this.state.fetchStatus !== "idle" && this.#retryer?.status() !== "rejected") {
|
|
786
|
+
if (this.state.data !== void 0 && fetchOptions?.cancelRefetch) this.cancel({ silent: true });
|
|
787
|
+
else if (this.#retryer) {
|
|
788
|
+
this.#retryer.continueRetry();
|
|
789
|
+
return this.#retryer.promise;
|
|
790
|
+
}
|
|
791
|
+
}
|
|
792
|
+
if (options) this.setOptions(options);
|
|
793
|
+
if (!this.options.queryFn) {
|
|
794
|
+
const observer = this.observers.find((x) => x.options.queryFn);
|
|
795
|
+
if (observer) this.setOptions(observer.options);
|
|
796
|
+
}
|
|
797
|
+
if (!Array.isArray(this.options.queryKey)) console.error(`As of v4, queryKey needs to be an Array. If you are using a string like 'repoData', please change it to an Array, e.g. ['repoData']`);
|
|
798
|
+
const abortController = new AbortController();
|
|
799
|
+
const addSignalProperty = (object) => {
|
|
800
|
+
Object.defineProperty(object, "signal", {
|
|
801
|
+
enumerable: true,
|
|
802
|
+
get: () => {
|
|
803
|
+
this.#abortSignalConsumed = true;
|
|
804
|
+
return abortController.signal;
|
|
805
|
+
}
|
|
806
|
+
});
|
|
807
|
+
};
|
|
808
|
+
const fetchFn = () => {
|
|
809
|
+
const queryFn = ensureQueryFn(this.options, fetchOptions);
|
|
810
|
+
const createQueryFnContext = () => {
|
|
811
|
+
const queryFnContext2 = {
|
|
812
|
+
client: this.#client,
|
|
813
|
+
queryKey: this.queryKey,
|
|
814
|
+
meta: this.meta
|
|
815
|
+
};
|
|
816
|
+
addSignalProperty(queryFnContext2);
|
|
817
|
+
return queryFnContext2;
|
|
818
|
+
};
|
|
819
|
+
const queryFnContext = createQueryFnContext();
|
|
820
|
+
this.#abortSignalConsumed = false;
|
|
821
|
+
if (this.options.persister) return this.options.persister(queryFn, queryFnContext, this);
|
|
822
|
+
return queryFn(queryFnContext);
|
|
823
|
+
};
|
|
824
|
+
const createFetchContext = () => {
|
|
825
|
+
const context2 = {
|
|
826
|
+
fetchOptions,
|
|
827
|
+
options: this.options,
|
|
828
|
+
queryKey: this.queryKey,
|
|
829
|
+
client: this.#client,
|
|
830
|
+
state: this.state,
|
|
831
|
+
fetchFn
|
|
832
|
+
};
|
|
833
|
+
addSignalProperty(context2);
|
|
834
|
+
return context2;
|
|
835
|
+
};
|
|
836
|
+
const context = createFetchContext();
|
|
837
|
+
(this.#queryType === "infinite" ? infiniteQueryBehavior(this.options.pages) : this.options.behavior)?.onFetch(context, this);
|
|
838
|
+
this.#revertState = this.state;
|
|
839
|
+
if (this.state.fetchStatus === "idle" || this.state.fetchMeta !== context.fetchOptions?.meta) this.#dispatch({
|
|
840
|
+
type: "fetch",
|
|
841
|
+
meta: context.fetchOptions?.meta
|
|
842
|
+
});
|
|
843
|
+
this.#retryer = createRetryer({
|
|
844
|
+
initialPromise: fetchOptions?.initialPromise,
|
|
845
|
+
fn: context.fetchFn,
|
|
846
|
+
onCancel: (error) => {
|
|
847
|
+
if (error instanceof CancelledError && error.revert) this.setState({
|
|
848
|
+
...this.#revertState,
|
|
849
|
+
fetchStatus: "idle"
|
|
850
|
+
});
|
|
851
|
+
abortController.abort();
|
|
852
|
+
},
|
|
853
|
+
onFail: (failureCount, error) => {
|
|
854
|
+
this.#dispatch({
|
|
855
|
+
type: "failed",
|
|
856
|
+
failureCount,
|
|
857
|
+
error
|
|
858
|
+
});
|
|
859
|
+
},
|
|
860
|
+
onPause: () => {
|
|
861
|
+
this.#dispatch({ type: "pause" });
|
|
862
|
+
},
|
|
863
|
+
onContinue: () => {
|
|
864
|
+
this.#dispatch({ type: "continue" });
|
|
865
|
+
},
|
|
866
|
+
retry: context.options.retry,
|
|
867
|
+
retryDelay: context.options.retryDelay,
|
|
868
|
+
networkMode: context.options.networkMode,
|
|
869
|
+
canRun: () => true
|
|
870
|
+
});
|
|
871
|
+
try {
|
|
872
|
+
const data = await this.#retryer.start();
|
|
873
|
+
if (data === void 0) {
|
|
874
|
+
console.error(`Query data cannot be undefined. Please make sure to return a value other than undefined from your query function. Affected query key: ${this.queryHash}`);
|
|
875
|
+
throw new Error(`${this.queryHash} data is undefined`);
|
|
876
|
+
}
|
|
877
|
+
this.setData(data);
|
|
878
|
+
this.#cache.config.onSuccess?.(data, this);
|
|
879
|
+
this.#cache.config.onSettled?.(data, this.state.error, this);
|
|
880
|
+
return data;
|
|
881
|
+
} catch (error) {
|
|
882
|
+
if (error instanceof CancelledError) {
|
|
883
|
+
if (error.silent) return this.#retryer.promise;
|
|
884
|
+
else if (error.revert) {
|
|
885
|
+
if (this.state.data === void 0) throw error;
|
|
886
|
+
return this.state.data;
|
|
887
|
+
}
|
|
888
|
+
}
|
|
889
|
+
this.#dispatch({
|
|
890
|
+
type: "error",
|
|
891
|
+
error
|
|
892
|
+
});
|
|
893
|
+
this.#cache.config.onError?.(error, this);
|
|
894
|
+
this.#cache.config.onSettled?.(this.state.data, error, this);
|
|
895
|
+
throw error;
|
|
896
|
+
} finally {
|
|
897
|
+
this.scheduleGc();
|
|
898
|
+
}
|
|
899
|
+
}
|
|
900
|
+
#dispatch(action) {
|
|
901
|
+
const reducer = (state) => {
|
|
902
|
+
switch (action.type) {
|
|
903
|
+
case "failed": return {
|
|
904
|
+
...state,
|
|
905
|
+
fetchFailureCount: action.failureCount,
|
|
906
|
+
fetchFailureReason: action.error
|
|
907
|
+
};
|
|
908
|
+
case "pause": return {
|
|
909
|
+
...state,
|
|
910
|
+
fetchStatus: "paused"
|
|
911
|
+
};
|
|
912
|
+
case "continue": return {
|
|
913
|
+
...state,
|
|
914
|
+
fetchStatus: "fetching"
|
|
915
|
+
};
|
|
916
|
+
case "fetch": return {
|
|
917
|
+
...state,
|
|
918
|
+
...fetchState(state.data, this.options),
|
|
919
|
+
fetchMeta: action.meta ?? null
|
|
920
|
+
};
|
|
921
|
+
case "success":
|
|
922
|
+
const newState = {
|
|
923
|
+
...state,
|
|
924
|
+
...successState(action.data, action.dataUpdatedAt),
|
|
925
|
+
dataUpdateCount: state.dataUpdateCount + 1,
|
|
926
|
+
...!action.manual && {
|
|
927
|
+
fetchStatus: "idle",
|
|
928
|
+
fetchFailureCount: 0,
|
|
929
|
+
fetchFailureReason: null
|
|
930
|
+
}
|
|
931
|
+
};
|
|
932
|
+
this.#revertState = action.manual ? newState : void 0;
|
|
933
|
+
return newState;
|
|
934
|
+
case "error":
|
|
935
|
+
const error = action.error;
|
|
936
|
+
return {
|
|
937
|
+
...state,
|
|
938
|
+
error,
|
|
939
|
+
errorUpdateCount: state.errorUpdateCount + 1,
|
|
940
|
+
errorUpdatedAt: Date.now(),
|
|
941
|
+
fetchFailureCount: state.fetchFailureCount + 1,
|
|
942
|
+
fetchFailureReason: error,
|
|
943
|
+
fetchStatus: "idle",
|
|
944
|
+
status: "error",
|
|
945
|
+
isInvalidated: true
|
|
946
|
+
};
|
|
947
|
+
case "invalidate": return {
|
|
948
|
+
...state,
|
|
949
|
+
isInvalidated: true
|
|
950
|
+
};
|
|
951
|
+
case "setState": return {
|
|
952
|
+
...state,
|
|
953
|
+
...action.state
|
|
954
|
+
};
|
|
955
|
+
}
|
|
956
|
+
};
|
|
957
|
+
this.state = reducer(this.state);
|
|
958
|
+
notifyManager.batch(() => {
|
|
959
|
+
this.observers.forEach((observer) => {
|
|
960
|
+
observer.onQueryUpdate();
|
|
961
|
+
});
|
|
962
|
+
this.#cache.notify({
|
|
963
|
+
query: this,
|
|
964
|
+
type: "updated",
|
|
965
|
+
action
|
|
966
|
+
});
|
|
967
|
+
});
|
|
968
|
+
}
|
|
969
|
+
};
|
|
970
|
+
function fetchState(data, options) {
|
|
971
|
+
return {
|
|
972
|
+
fetchFailureCount: 0,
|
|
973
|
+
fetchFailureReason: null,
|
|
974
|
+
fetchStatus: canFetch(options.networkMode) ? "fetching" : "paused",
|
|
975
|
+
...data === void 0 && {
|
|
976
|
+
error: null,
|
|
977
|
+
status: "pending"
|
|
978
|
+
}
|
|
979
|
+
};
|
|
980
|
+
}
|
|
981
|
+
function successState(data, dataUpdatedAt) {
|
|
982
|
+
return {
|
|
983
|
+
data,
|
|
984
|
+
dataUpdatedAt: dataUpdatedAt ?? Date.now(),
|
|
985
|
+
error: null,
|
|
986
|
+
isInvalidated: false,
|
|
987
|
+
status: "success"
|
|
988
|
+
};
|
|
989
|
+
}
|
|
990
|
+
function getDefaultState(options) {
|
|
991
|
+
const data = typeof options.initialData === "function" ? options.initialData() : options.initialData;
|
|
992
|
+
const hasData = data !== void 0;
|
|
993
|
+
const initialDataUpdatedAt = hasData ? typeof options.initialDataUpdatedAt === "function" ? options.initialDataUpdatedAt() : options.initialDataUpdatedAt : 0;
|
|
994
|
+
return {
|
|
995
|
+
data,
|
|
996
|
+
dataUpdateCount: 0,
|
|
997
|
+
dataUpdatedAt: hasData ? initialDataUpdatedAt ?? Date.now() : 0,
|
|
998
|
+
error: null,
|
|
999
|
+
errorUpdateCount: 0,
|
|
1000
|
+
errorUpdatedAt: 0,
|
|
1001
|
+
fetchFailureCount: 0,
|
|
1002
|
+
fetchFailureReason: null,
|
|
1003
|
+
fetchMeta: null,
|
|
1004
|
+
isInvalidated: false,
|
|
1005
|
+
status: hasData ? "success" : "pending",
|
|
1006
|
+
fetchStatus: "idle"
|
|
1007
|
+
};
|
|
1008
|
+
}
|
|
1009
|
+
var _contextKey = Symbol("QueryClient");
|
|
1010
|
+
/** Retrieves a Client from Svelte's context */
|
|
1011
|
+
var getQueryClientContext = () => {
|
|
1012
|
+
const client = getContext(_contextKey);
|
|
1013
|
+
if (!client) throw new Error("No QueryClient was found in Svelte context. Did you forget to wrap your component with QueryClientProvider?");
|
|
1014
|
+
return client;
|
|
1015
|
+
};
|
|
1016
|
+
/** Sets a QueryClient on Svelte's context */
|
|
1017
|
+
var setQueryClientContext = (client) => {
|
|
1018
|
+
setContext(_contextKey, client);
|
|
1019
|
+
};
|
|
1020
|
+
var _isRestoringContextKey = Symbol("isRestoring");
|
|
1021
|
+
/** Retrieves a `isRestoring` from Svelte's context */
|
|
1022
|
+
var getIsRestoringContext = () => {
|
|
1023
|
+
try {
|
|
1024
|
+
return getContext(_isRestoringContextKey) ?? { current: false };
|
|
1025
|
+
} catch (error) {
|
|
1026
|
+
return { current: false };
|
|
1027
|
+
}
|
|
1028
|
+
};
|
|
1029
|
+
globalThis.Date;
|
|
1030
|
+
var SvelteSet = globalThis.Set;
|
|
1031
|
+
var SvelteMap = globalThis.Map;
|
|
1032
|
+
globalThis.URL;
|
|
1033
|
+
globalThis.URLSearchParams;
|
|
1034
|
+
var MediaQuery = class {
|
|
1035
|
+
current;
|
|
1036
|
+
/**
|
|
1037
|
+
* @param {string} query
|
|
1038
|
+
* @param {boolean} [matches]
|
|
1039
|
+
*/
|
|
1040
|
+
constructor(query, matches = false) {
|
|
1041
|
+
this.current = matches;
|
|
1042
|
+
}
|
|
1043
|
+
};
|
|
1044
|
+
/**
|
|
1045
|
+
* @param {any} _
|
|
1046
|
+
*/
|
|
1047
|
+
function createSubscriber(_) {
|
|
1048
|
+
return () => {};
|
|
1049
|
+
}
|
|
1050
|
+
function cn(...classes) {
|
|
1051
|
+
return classes.filter(Boolean).join(" ");
|
|
1052
|
+
}
|
|
1053
|
+
var isBrowser = typeof document !== "undefined";
|
|
1054
|
+
var defaultWindow = void 0;
|
|
1055
|
+
/**
|
|
1056
|
+
* Handles getting the active element in a document or shadow root.
|
|
1057
|
+
* If the active element is within a shadow root, it will traverse the shadow root
|
|
1058
|
+
* to find the active element.
|
|
1059
|
+
* If not, it will return the active element in the document.
|
|
1060
|
+
*
|
|
1061
|
+
* @param document A document or shadow root to get the active element from.
|
|
1062
|
+
* @returns The active element in the document or shadow root.
|
|
1063
|
+
*/
|
|
1064
|
+
function getActiveElement(document) {
|
|
1065
|
+
let activeElement = document.activeElement;
|
|
1066
|
+
while (activeElement?.shadowRoot) {
|
|
1067
|
+
const node = activeElement.shadowRoot.activeElement;
|
|
1068
|
+
if (node === activeElement) break;
|
|
1069
|
+
else activeElement = node;
|
|
1070
|
+
}
|
|
1071
|
+
return activeElement;
|
|
1072
|
+
}
|
|
1073
|
+
var ActiveElement = class {
|
|
1074
|
+
#document;
|
|
1075
|
+
#subscribe;
|
|
1076
|
+
constructor(options = {}) {
|
|
1077
|
+
const { window = defaultWindow, document = window?.document } = options;
|
|
1078
|
+
if (window === void 0) return;
|
|
1079
|
+
this.#document = document;
|
|
1080
|
+
this.#subscribe = createSubscriber((update) => {
|
|
1081
|
+
const cleanupFocusIn = on(window, "focusin", update);
|
|
1082
|
+
const cleanupFocusOut = on(window, "focusout", update);
|
|
1083
|
+
return () => {
|
|
1084
|
+
cleanupFocusIn();
|
|
1085
|
+
cleanupFocusOut();
|
|
1086
|
+
};
|
|
1087
|
+
});
|
|
1088
|
+
}
|
|
1089
|
+
get current() {
|
|
1090
|
+
this.#subscribe?.();
|
|
1091
|
+
if (!this.#document) return null;
|
|
1092
|
+
return getActiveElement(this.#document);
|
|
1093
|
+
}
|
|
1094
|
+
};
|
|
1095
|
+
new ActiveElement();
|
|
1096
|
+
var Context = class {
|
|
1097
|
+
#name;
|
|
1098
|
+
#key;
|
|
1099
|
+
/**
|
|
1100
|
+
* @param name The name of the context.
|
|
1101
|
+
* This is used for generating the context key and error messages.
|
|
1102
|
+
*/
|
|
1103
|
+
constructor(name) {
|
|
1104
|
+
this.#name = name;
|
|
1105
|
+
this.#key = Symbol(name);
|
|
1106
|
+
}
|
|
1107
|
+
/**
|
|
1108
|
+
* The key used to get and set the context.
|
|
1109
|
+
*
|
|
1110
|
+
* It is not recommended to use this value directly.
|
|
1111
|
+
* Instead, use the methods provided by this class.
|
|
1112
|
+
*/
|
|
1113
|
+
get key() {
|
|
1114
|
+
return this.#key;
|
|
1115
|
+
}
|
|
1116
|
+
/**
|
|
1117
|
+
* Checks whether this has been set in the context of a parent component.
|
|
1118
|
+
*
|
|
1119
|
+
* Must be called during component initialisation.
|
|
1120
|
+
*/
|
|
1121
|
+
exists() {
|
|
1122
|
+
return hasContext(this.#key);
|
|
1123
|
+
}
|
|
1124
|
+
/**
|
|
1125
|
+
* Retrieves the context that belongs to the closest parent component.
|
|
1126
|
+
*
|
|
1127
|
+
* Must be called during component initialisation.
|
|
1128
|
+
*
|
|
1129
|
+
* @throws An error if the context does not exist.
|
|
1130
|
+
*/
|
|
1131
|
+
get() {
|
|
1132
|
+
const context = getContext(this.#key);
|
|
1133
|
+
if (context === void 0) throw new Error(`Context "${this.#name}" not found`);
|
|
1134
|
+
return context;
|
|
1135
|
+
}
|
|
1136
|
+
/**
|
|
1137
|
+
* Retrieves the context that belongs to the closest parent component,
|
|
1138
|
+
* or the given fallback value if the context does not exist.
|
|
1139
|
+
*
|
|
1140
|
+
* Must be called during component initialisation.
|
|
1141
|
+
*/
|
|
1142
|
+
getOr(fallback) {
|
|
1143
|
+
const context = getContext(this.#key);
|
|
1144
|
+
if (context === void 0) return fallback;
|
|
1145
|
+
return context;
|
|
1146
|
+
}
|
|
1147
|
+
/**
|
|
1148
|
+
* Associates the given value with the current component and returns it.
|
|
1149
|
+
*
|
|
1150
|
+
* Must be called during component initialisation.
|
|
1151
|
+
*/
|
|
1152
|
+
set(context) {
|
|
1153
|
+
return setContext(this.#key, context);
|
|
1154
|
+
}
|
|
1155
|
+
};
|
|
1156
|
+
function runWatcher(sources, flush, effect, options = {}) {
|
|
1157
|
+
const { lazy = false } = options;
|
|
1158
|
+
}
|
|
1159
|
+
function watch(sources, effect, options) {
|
|
1160
|
+
runWatcher(sources, "post", effect, options);
|
|
1161
|
+
}
|
|
1162
|
+
function watchPre(sources, effect, options) {
|
|
1163
|
+
runWatcher(sources, "pre", effect, options);
|
|
1164
|
+
}
|
|
1165
|
+
watch.pre = watchPre;
|
|
1166
|
+
function watchOnce(source, effect) {}
|
|
1167
|
+
function watchOncePre(source, effect) {}
|
|
1168
|
+
watchOnce.pre = watchOncePre;
|
|
1169
|
+
function debounce(fn, delay) {
|
|
1170
|
+
let timeoutId;
|
|
1171
|
+
let lastResolve = null;
|
|
1172
|
+
return (...args) => {
|
|
1173
|
+
return new Promise((resolve) => {
|
|
1174
|
+
if (lastResolve) lastResolve(void 0);
|
|
1175
|
+
lastResolve = resolve;
|
|
1176
|
+
clearTimeout(timeoutId);
|
|
1177
|
+
timeoutId = setTimeout(async () => {
|
|
1178
|
+
const result = await fn(...args);
|
|
1179
|
+
if (lastResolve) {
|
|
1180
|
+
lastResolve(result);
|
|
1181
|
+
lastResolve = null;
|
|
1182
|
+
}
|
|
1183
|
+
}, delay);
|
|
1184
|
+
});
|
|
1185
|
+
};
|
|
1186
|
+
}
|
|
1187
|
+
function throttle(fn, delay) {
|
|
1188
|
+
let lastRun = 0;
|
|
1189
|
+
let lastPromise = null;
|
|
1190
|
+
return (...args) => {
|
|
1191
|
+
const now = Date.now();
|
|
1192
|
+
if (lastRun && now - lastRun < delay) return lastPromise ?? Promise.resolve(void 0);
|
|
1193
|
+
lastRun = now;
|
|
1194
|
+
lastPromise = fn(...args);
|
|
1195
|
+
return lastPromise;
|
|
1196
|
+
};
|
|
1197
|
+
}
|
|
1198
|
+
function runResource(source, fetcher, options = {}, effectFn) {
|
|
1199
|
+
const { lazy = false, once = false, initialValue, debounce: debounceTime, throttle: throttleTime } = options;
|
|
1200
|
+
let current = initialValue;
|
|
1201
|
+
let loading = false;
|
|
1202
|
+
let error = void 0;
|
|
1203
|
+
let cleanupFns = [];
|
|
1204
|
+
const runCleanup = () => {
|
|
1205
|
+
cleanupFns.forEach((fn) => fn());
|
|
1206
|
+
cleanupFns = [];
|
|
1207
|
+
};
|
|
1208
|
+
const onCleanup = (fn) => {
|
|
1209
|
+
cleanupFns = [...cleanupFns, fn];
|
|
1210
|
+
};
|
|
1211
|
+
const baseFetcher = async (value, previousValue, refetching = false) => {
|
|
1212
|
+
try {
|
|
1213
|
+
loading = true;
|
|
1214
|
+
error = void 0;
|
|
1215
|
+
runCleanup();
|
|
1216
|
+
const controller = new AbortController();
|
|
1217
|
+
onCleanup(() => controller.abort());
|
|
1218
|
+
const result = await fetcher(value, previousValue, {
|
|
1219
|
+
data: current,
|
|
1220
|
+
refetching,
|
|
1221
|
+
onCleanup,
|
|
1222
|
+
signal: controller.signal
|
|
1223
|
+
});
|
|
1224
|
+
current = result;
|
|
1225
|
+
return result;
|
|
1226
|
+
} catch (e) {
|
|
1227
|
+
if (!(e instanceof DOMException && e.name === "AbortError")) error = e;
|
|
1228
|
+
return;
|
|
1229
|
+
} finally {
|
|
1230
|
+
loading = false;
|
|
1231
|
+
}
|
|
1232
|
+
};
|
|
1233
|
+
const runFetcher = debounceTime ? debounce(baseFetcher, debounceTime) : throttleTime ? throttle(baseFetcher, throttleTime) : baseFetcher;
|
|
1234
|
+
const sources = Array.isArray(source) ? source : [source];
|
|
1235
|
+
let prevValues;
|
|
1236
|
+
effectFn((values, previousValues) => {
|
|
1237
|
+
if (once && prevValues) return;
|
|
1238
|
+
prevValues = values;
|
|
1239
|
+
runFetcher(Array.isArray(source) ? values : values[0], Array.isArray(source) ? previousValues : previousValues?.[0]);
|
|
1240
|
+
}, { lazy });
|
|
1241
|
+
return {
|
|
1242
|
+
get current() {
|
|
1243
|
+
return current;
|
|
1244
|
+
},
|
|
1245
|
+
get loading() {
|
|
1246
|
+
return loading;
|
|
1247
|
+
},
|
|
1248
|
+
get error() {
|
|
1249
|
+
return error;
|
|
1250
|
+
},
|
|
1251
|
+
mutate: (value) => {
|
|
1252
|
+
current = value;
|
|
1253
|
+
},
|
|
1254
|
+
refetch: (info) => {
|
|
1255
|
+
const values = sources.map((s) => s());
|
|
1256
|
+
return runFetcher(Array.isArray(source) ? values : values[0], Array.isArray(source) ? values : values[0], info ?? true);
|
|
1257
|
+
}
|
|
1258
|
+
};
|
|
1259
|
+
}
|
|
1260
|
+
function resource(source, fetcher, options) {
|
|
1261
|
+
return runResource(source, fetcher, options, (fn, options) => {
|
|
1262
|
+
const sources = Array.isArray(source) ? source : [source];
|
|
1263
|
+
const getters = () => sources.map((s) => s());
|
|
1264
|
+
watch(getters, (values, previousValues) => {
|
|
1265
|
+
fn(values, previousValues ?? []);
|
|
1266
|
+
}, options);
|
|
1267
|
+
});
|
|
1268
|
+
}
|
|
1269
|
+
function resourcePre(source, fetcher, options) {
|
|
1270
|
+
return runResource(source, fetcher, options, (fn, options) => {
|
|
1271
|
+
const sources = Array.isArray(source) ? source : [source];
|
|
1272
|
+
const getter = () => sources.map((s) => s());
|
|
1273
|
+
watch.pre(getter, (values, previousValues) => {
|
|
1274
|
+
fn(values, previousValues ?? []);
|
|
1275
|
+
}, options);
|
|
1276
|
+
});
|
|
1277
|
+
}
|
|
1278
|
+
resource.pre = resourcePre;
|
|
1279
|
+
new Context("richColorsContext");
|
|
1280
|
+
var sonnerContext = new Context("<Toaster/>");
|
|
1281
|
+
var toastsCounter = 0;
|
|
1282
|
+
var ToastState = class {
|
|
1283
|
+
toasts = [];
|
|
1284
|
+
heights = [];
|
|
1285
|
+
#findToastIdx = (id) => {
|
|
1286
|
+
const idx = this.toasts.findIndex((toast) => toast.id === id);
|
|
1287
|
+
if (idx === -1) return null;
|
|
1288
|
+
return idx;
|
|
1289
|
+
};
|
|
1290
|
+
addToast = (data) => {
|
|
1291
|
+
if (!isBrowser) return;
|
|
1292
|
+
this.toasts.unshift(data);
|
|
1293
|
+
};
|
|
1294
|
+
updateToast = ({ id, data, type, message }) => {
|
|
1295
|
+
const toastIdx = this.toasts.findIndex((toast) => toast.id === id);
|
|
1296
|
+
const toastToUpdate = this.toasts[toastIdx];
|
|
1297
|
+
this.toasts[toastIdx] = {
|
|
1298
|
+
...toastToUpdate,
|
|
1299
|
+
...data,
|
|
1300
|
+
id,
|
|
1301
|
+
title: message,
|
|
1302
|
+
type,
|
|
1303
|
+
updated: true
|
|
1304
|
+
};
|
|
1305
|
+
};
|
|
1306
|
+
create = (data) => {
|
|
1307
|
+
const { message, ...rest } = data;
|
|
1308
|
+
const id = typeof data?.id === "number" || data.id && data.id?.length > 0 ? data.id : toastsCounter++;
|
|
1309
|
+
const dismissible = data.dismissible !== void 0 ? data.dismissible : data.dismissable !== void 0 ? data.dismissable : true;
|
|
1310
|
+
const type = data.type === void 0 ? "default" : data.type;
|
|
1311
|
+
run(() => {
|
|
1312
|
+
if (this.toasts.find((toast) => toast.id === id)) this.updateToast({
|
|
1313
|
+
id,
|
|
1314
|
+
data,
|
|
1315
|
+
type,
|
|
1316
|
+
message,
|
|
1317
|
+
dismissible
|
|
1318
|
+
});
|
|
1319
|
+
else this.addToast({
|
|
1320
|
+
...rest,
|
|
1321
|
+
id,
|
|
1322
|
+
title: message,
|
|
1323
|
+
dismissible,
|
|
1324
|
+
type
|
|
1325
|
+
});
|
|
1326
|
+
});
|
|
1327
|
+
return id;
|
|
1328
|
+
};
|
|
1329
|
+
dismiss = (id) => {
|
|
1330
|
+
run(() => {
|
|
1331
|
+
if (id === void 0) {
|
|
1332
|
+
this.toasts = this.toasts.map((toast) => ({
|
|
1333
|
+
...toast,
|
|
1334
|
+
dismiss: true
|
|
1335
|
+
}));
|
|
1336
|
+
return;
|
|
1337
|
+
}
|
|
1338
|
+
const toastIdx = this.toasts.findIndex((toast) => toast.id === id);
|
|
1339
|
+
if (this.toasts[toastIdx]) this.toasts[toastIdx] = {
|
|
1340
|
+
...this.toasts[toastIdx],
|
|
1341
|
+
dismiss: true
|
|
1342
|
+
};
|
|
1343
|
+
});
|
|
1344
|
+
return id;
|
|
1345
|
+
};
|
|
1346
|
+
remove = (id) => {
|
|
1347
|
+
if (id === void 0) {
|
|
1348
|
+
this.toasts = [];
|
|
1349
|
+
return;
|
|
1350
|
+
}
|
|
1351
|
+
const toastIdx = this.#findToastIdx(id);
|
|
1352
|
+
if (toastIdx === null) return;
|
|
1353
|
+
this.toasts.splice(toastIdx, 1);
|
|
1354
|
+
return id;
|
|
1355
|
+
};
|
|
1356
|
+
message = (message, data) => {
|
|
1357
|
+
return this.create({
|
|
1358
|
+
...data,
|
|
1359
|
+
type: "default",
|
|
1360
|
+
message
|
|
1361
|
+
});
|
|
1362
|
+
};
|
|
1363
|
+
error = (message, data) => {
|
|
1364
|
+
return this.create({
|
|
1365
|
+
...data,
|
|
1366
|
+
type: "error",
|
|
1367
|
+
message
|
|
1368
|
+
});
|
|
1369
|
+
};
|
|
1370
|
+
success = (message, data) => {
|
|
1371
|
+
return this.create({
|
|
1372
|
+
...data,
|
|
1373
|
+
type: "success",
|
|
1374
|
+
message
|
|
1375
|
+
});
|
|
1376
|
+
};
|
|
1377
|
+
info = (message, data) => {
|
|
1378
|
+
return this.create({
|
|
1379
|
+
...data,
|
|
1380
|
+
type: "info",
|
|
1381
|
+
message
|
|
1382
|
+
});
|
|
1383
|
+
};
|
|
1384
|
+
warning = (message, data) => {
|
|
1385
|
+
return this.create({
|
|
1386
|
+
...data,
|
|
1387
|
+
type: "warning",
|
|
1388
|
+
message
|
|
1389
|
+
});
|
|
1390
|
+
};
|
|
1391
|
+
loading = (message, data) => {
|
|
1392
|
+
return this.create({
|
|
1393
|
+
...data,
|
|
1394
|
+
type: "loading",
|
|
1395
|
+
message
|
|
1396
|
+
});
|
|
1397
|
+
};
|
|
1398
|
+
promise = (promise, data) => {
|
|
1399
|
+
if (!data) return;
|
|
1400
|
+
let id = void 0;
|
|
1401
|
+
if (data.loading !== void 0) id = this.create({
|
|
1402
|
+
...data,
|
|
1403
|
+
promise,
|
|
1404
|
+
type: "loading",
|
|
1405
|
+
message: typeof data.loading === "string" ? data.loading : data.loading()
|
|
1406
|
+
});
|
|
1407
|
+
const p = promise instanceof Promise ? promise : promise();
|
|
1408
|
+
let shouldDismiss = id !== void 0;
|
|
1409
|
+
p.then((response) => {
|
|
1410
|
+
if (typeof response === "object" && response && "ok" in response && typeof response.ok === "boolean" && !response.ok) {
|
|
1411
|
+
shouldDismiss = false;
|
|
1412
|
+
const message = constructPromiseErrorMessage(response);
|
|
1413
|
+
this.create({
|
|
1414
|
+
id,
|
|
1415
|
+
type: "error",
|
|
1416
|
+
message
|
|
1417
|
+
});
|
|
1418
|
+
} else if (data.success !== void 0) {
|
|
1419
|
+
shouldDismiss = false;
|
|
1420
|
+
const message = typeof data.success === "function" ? data.success(response) : data.success;
|
|
1421
|
+
this.create({
|
|
1422
|
+
id,
|
|
1423
|
+
type: "success",
|
|
1424
|
+
message
|
|
1425
|
+
});
|
|
1426
|
+
}
|
|
1427
|
+
}).catch((error) => {
|
|
1428
|
+
if (data.error !== void 0) {
|
|
1429
|
+
shouldDismiss = false;
|
|
1430
|
+
const message = typeof data.error === "function" ? data.error(error) : data.error;
|
|
1431
|
+
this.create({
|
|
1432
|
+
id,
|
|
1433
|
+
type: "error",
|
|
1434
|
+
message
|
|
1435
|
+
});
|
|
1436
|
+
}
|
|
1437
|
+
}).finally(() => {
|
|
1438
|
+
if (shouldDismiss) {
|
|
1439
|
+
this.dismiss(id);
|
|
1440
|
+
id = void 0;
|
|
1441
|
+
}
|
|
1442
|
+
data.finally?.();
|
|
1443
|
+
});
|
|
1444
|
+
return id;
|
|
1445
|
+
};
|
|
1446
|
+
custom = (component, data) => {
|
|
1447
|
+
const id = data?.id || toastsCounter++;
|
|
1448
|
+
this.create({
|
|
1449
|
+
component,
|
|
1450
|
+
id,
|
|
1451
|
+
...data
|
|
1452
|
+
});
|
|
1453
|
+
return id;
|
|
1454
|
+
};
|
|
1455
|
+
removeHeight = (id) => {
|
|
1456
|
+
this.heights = this.heights.filter((height) => height.toastId !== id);
|
|
1457
|
+
};
|
|
1458
|
+
setHeight = (data) => {
|
|
1459
|
+
const toastIdx = this.#findToastIdx(data.toastId);
|
|
1460
|
+
if (toastIdx === null) {
|
|
1461
|
+
this.heights.push(data);
|
|
1462
|
+
return;
|
|
1463
|
+
}
|
|
1464
|
+
this.heights[toastIdx] = data;
|
|
1465
|
+
};
|
|
1466
|
+
reset = () => {
|
|
1467
|
+
this.toasts = [];
|
|
1468
|
+
this.heights = [];
|
|
1469
|
+
};
|
|
1470
|
+
};
|
|
1471
|
+
function constructPromiseErrorMessage(response) {
|
|
1472
|
+
if (response && typeof response === "object" && "status" in response) return `HTTP error! Status: ${response.status}`;
|
|
1473
|
+
return `Error! ${response}`;
|
|
1474
|
+
}
|
|
1475
|
+
var toastState = new ToastState();
|
|
1476
|
+
function toastFunction(message, data) {
|
|
1477
|
+
return toastState.create({
|
|
1478
|
+
message,
|
|
1479
|
+
...data
|
|
1480
|
+
});
|
|
1481
|
+
}
|
|
1482
|
+
var SonnerState = class {
|
|
1483
|
+
/**
|
|
1484
|
+
* A derived state of the toasts that are not dismissed.
|
|
1485
|
+
*/
|
|
1486
|
+
#activeToasts = derived(() => toastState.toasts.filter((toast) => !toast.dismiss));
|
|
1487
|
+
get toasts() {
|
|
1488
|
+
return this.#activeToasts();
|
|
1489
|
+
}
|
|
1490
|
+
};
|
|
1491
|
+
var toast = Object.assign(toastFunction, {
|
|
1492
|
+
success: toastState.success,
|
|
1493
|
+
info: toastState.info,
|
|
1494
|
+
warning: toastState.warning,
|
|
1495
|
+
error: toastState.error,
|
|
1496
|
+
custom: toastState.custom,
|
|
1497
|
+
message: toastState.message,
|
|
1498
|
+
promise: toastState.promise,
|
|
1499
|
+
dismiss: toastState.dismiss,
|
|
1500
|
+
loading: toastState.loading,
|
|
1501
|
+
getActiveToasts: () => {
|
|
1502
|
+
return toastState.toasts.filter((toast) => !toast.dismiss);
|
|
1503
|
+
}
|
|
1504
|
+
});
|
|
1505
|
+
/**
|
|
1506
|
+
* @file
|
|
1507
|
+
* @license @lucide/svelte v1.17.0 - ISC
|
|
1508
|
+
*
|
|
1509
|
+
* This source code is licensed under the ISC license.
|
|
1510
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
1511
|
+
*/
|
|
1512
|
+
var defaultAttributes = {
|
|
1513
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1514
|
+
width: 24,
|
|
1515
|
+
height: 24,
|
|
1516
|
+
viewBox: "0 0 24 24",
|
|
1517
|
+
fill: "none",
|
|
1518
|
+
stroke: "currentColor",
|
|
1519
|
+
"stroke-width": 2,
|
|
1520
|
+
"stroke-linecap": "round",
|
|
1521
|
+
"stroke-linejoin": "round"
|
|
1522
|
+
};
|
|
1523
|
+
/**
|
|
1524
|
+
* @file
|
|
1525
|
+
* @license @lucide/svelte v1.17.0 - ISC
|
|
1526
|
+
*
|
|
1527
|
+
* This source code is licensed under the ISC license.
|
|
1528
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
1529
|
+
*/
|
|
1530
|
+
/**
|
|
1531
|
+
* Check if a component has an accessibility prop
|
|
1532
|
+
*
|
|
1533
|
+
* @param {object} props
|
|
1534
|
+
* @returns {boolean} Whether the component has an accessibility prop
|
|
1535
|
+
*/
|
|
1536
|
+
var hasA11yProp = (props) => {
|
|
1537
|
+
for (const prop in props) if (prop.startsWith("aria-") || prop === "role" || prop === "title") return true;
|
|
1538
|
+
return false;
|
|
1539
|
+
};
|
|
1540
|
+
/**
|
|
1541
|
+
* @file
|
|
1542
|
+
* @license @lucide/svelte v1.17.0 - ISC
|
|
1543
|
+
*
|
|
1544
|
+
* This source code is licensed under the ISC license.
|
|
1545
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
1546
|
+
*/
|
|
1547
|
+
var LucideContext = Symbol("lucide-context");
|
|
1548
|
+
var getLucideContext = () => getContext(LucideContext);
|
|
1549
|
+
function Icon($$renderer, $$props) {
|
|
1550
|
+
$$renderer.component(($$renderer) => {
|
|
1551
|
+
const globalProps = getLucideContext() ?? {};
|
|
1552
|
+
const { name, color = globalProps.color ?? "currentColor", size = globalProps.size ?? 24, strokeWidth = globalProps.strokeWidth ?? 2, absoluteStrokeWidth = globalProps.absoluteStrokeWidth ?? false, iconNode = [], children, $$slots, $$events, ...props } = $$props;
|
|
1553
|
+
const calculatedStrokeWidth = derived(() => absoluteStrokeWidth ? Number(strokeWidth) * 24 / Number(size) : strokeWidth);
|
|
1554
|
+
$$renderer.push(`<svg${attributes({
|
|
1555
|
+
...defaultAttributes,
|
|
1556
|
+
...!children && !hasA11yProp(props) && { "aria-hidden": "true" },
|
|
1557
|
+
...props,
|
|
1558
|
+
width: size,
|
|
1559
|
+
height: size,
|
|
1560
|
+
stroke: color,
|
|
1561
|
+
"stroke-width": calculatedStrokeWidth(),
|
|
1562
|
+
class: clsx$1([
|
|
1563
|
+
"lucide-icon lucide",
|
|
1564
|
+
globalProps.class,
|
|
1565
|
+
name && `lucide-${name}`,
|
|
1566
|
+
props.class
|
|
1567
|
+
])
|
|
1568
|
+
}, void 0, void 0, void 0, 3)}><!--[-->`);
|
|
1569
|
+
const each_array = ensure_array_like(iconNode);
|
|
1570
|
+
for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {
|
|
1571
|
+
let [tag, attrs] = each_array[$$index];
|
|
1572
|
+
element($$renderer, tag, () => {
|
|
1573
|
+
$$renderer.push(`${attributes({ ...attrs }, void 0, void 0, void 0, 3)}`);
|
|
1574
|
+
});
|
|
1575
|
+
}
|
|
1576
|
+
$$renderer.push(`<!--]-->`);
|
|
1577
|
+
children?.($$renderer);
|
|
1578
|
+
$$renderer.push(`<!----></svg>`);
|
|
1579
|
+
});
|
|
1580
|
+
}
|
|
1581
|
+
function Loader_circle($$renderer, $$props) {
|
|
1582
|
+
let { $$slots, $$events, ...props } = $$props;
|
|
1583
|
+
Icon($$renderer, spread_props([
|
|
1584
|
+
{ name: "loader-circle" },
|
|
1585
|
+
props,
|
|
1586
|
+
{ iconNode: [["path", { "d": "M21 12a9 9 0 1 1-6.219-8.56" }]] }
|
|
1587
|
+
]));
|
|
1588
|
+
}
|
|
1589
|
+
//#endregion
|
|
1590
|
+
export { resolveQueryBoolean as A, matchQuery as C, partialMatchKey as D, onlineManager as E, sonnerContext as F, timeUntilStale as I, timeoutManager as L, setQueryClientContext as M, shallowEqualObjects as N, pendingThenable as O, skipToken as P, toast as R, matchMutation as S, notifyManager as T, getIsRestoringContext as _, Removable as a, hashQueryKeyByOptions as b, SvelteMap as c, createRetryer as d, createSubscriber as f, functionalUpdate as g, focusManager as h, Query as i, resolveStaleTime as j, replaceData as k, SvelteSet as l, fetchState as m, Loader_circle as n, SonnerState as o, environmentManager as p, MediaQuery as r, Subscribable as s, Icon as t, cn as u, getQueryClientContext as v, noop as w, isValidTimeout as x, hashKey as y, toastState as z };
|
|
1591
|
+
|
|
1592
|
+
//# sourceMappingURL=loader-circle-zqx69BdD.js.map
|