nolune 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/DESIGN.md +1622 -0
- package/LICENSE +21 -0
- package/README.md +226 -0
- package/build/client/_app/immutable/assets/0.CO3c3JBa.css +2 -0
- package/build/client/_app/immutable/assets/0.CO3c3JBa.css.br +0 -0
- package/build/client/_app/immutable/assets/0.CO3c3JBa.css.gz +0 -0
- package/build/client/_app/immutable/assets/10.DiHYpJ-g.css +1 -0
- package/build/client/_app/immutable/assets/10.DiHYpJ-g.css.br +0 -0
- package/build/client/_app/immutable/assets/10.DiHYpJ-g.css.gz +0 -0
- package/build/client/_app/immutable/assets/14.D8mCg27h.css +1 -0
- package/build/client/_app/immutable/assets/14.D8mCg27h.css.br +0 -0
- package/build/client/_app/immutable/assets/14.D8mCg27h.css.gz +0 -0
- package/build/client/_app/immutable/assets/AssistantAvatar.BH1P1JPA.css +1 -0
- package/build/client/_app/immutable/assets/AssistantAvatar.BH1P1JPA.css.br +0 -0
- package/build/client/_app/immutable/assets/AssistantAvatar.BH1P1JPA.css.gz +0 -0
- package/build/client/_app/immutable/assets/AvatarPicker.BWZNEVEv.css +1 -0
- package/build/client/_app/immutable/assets/AvatarPicker.BWZNEVEv.css.br +0 -0
- package/build/client/_app/immutable/assets/AvatarPicker.BWZNEVEv.css.gz +0 -0
- package/build/client/_app/immutable/assets/DotGrid.uBe8QJ6R.css +1 -0
- package/build/client/_app/immutable/assets/DotGrid.uBe8QJ6R.css.br +0 -0
- package/build/client/_app/immutable/assets/DotGrid.uBe8QJ6R.css.gz +0 -0
- package/build/client/_app/immutable/assets/ModelMenu.CfwWh95X.css +1 -0
- package/build/client/_app/immutable/assets/ModelMenu.CfwWh95X.css.br +0 -0
- package/build/client/_app/immutable/assets/ModelMenu.CfwWh95X.css.gz +0 -0
- package/build/client/_app/immutable/assets/confirm.BpBhXN_i.mp3 +0 -0
- package/build/client/_app/immutable/assets/data.9aNBaxbh.json +1 -0
- package/build/client/_app/immutable/assets/data.9aNBaxbh.json.br +0 -0
- package/build/client/_app/immutable/assets/data.9aNBaxbh.json.gz +0 -0
- package/build/client/_app/immutable/assets/data.BF1r6TM-.json +1 -0
- package/build/client/_app/immutable/assets/data.BF1r6TM-.json.br +0 -0
- package/build/client/_app/immutable/assets/data.BF1r6TM-.json.gz +0 -0
- package/build/client/_app/immutable/assets/data.BnNTV_b6.json +1 -0
- package/build/client/_app/immutable/assets/data.BnNTV_b6.json.br +0 -0
- package/build/client/_app/immutable/assets/data.BnNTV_b6.json.gz +0 -0
- package/build/client/_app/immutable/assets/data.CreAftJo.json +1 -0
- package/build/client/_app/immutable/assets/data.CreAftJo.json.br +0 -0
- package/build/client/_app/immutable/assets/data.CreAftJo.json.gz +0 -0
- package/build/client/_app/immutable/assets/data.DKp8PYJD.json +1 -0
- package/build/client/_app/immutable/assets/data.DKp8PYJD.json.br +0 -0
- package/build/client/_app/immutable/assets/data.DKp8PYJD.json.gz +0 -0
- package/build/client/_app/immutable/assets/figtree-latin-ext-wght-italic.Q0qr0lrZ.woff2 +0 -0
- package/build/client/_app/immutable/assets/figtree-latin-ext-wght-normal.DCwSJGxG.woff2 +0 -0
- package/build/client/_app/immutable/assets/figtree-latin-wght-italic.BEAWuiTz.woff2 +0 -0
- package/build/client/_app/immutable/assets/figtree-latin-wght-normal.D_ZTVpCC.woff2 +0 -0
- package/build/client/_app/immutable/assets/fira-mono-cyrillic-400-normal.BJkDdjbt.woff2 +0 -0
- package/build/client/_app/immutable/assets/fira-mono-cyrillic-400-normal.DUd3efVn.woff +0 -0
- package/build/client/_app/immutable/assets/fira-mono-cyrillic-500-normal.CAy0Dwk2.woff2 +0 -0
- package/build/client/_app/immutable/assets/fira-mono-cyrillic-500-normal.CFTSF0cD.woff +0 -0
- package/build/client/_app/immutable/assets/fira-mono-cyrillic-ext-400-normal.Co4MVjrD.woff +0 -0
- package/build/client/_app/immutable/assets/fira-mono-cyrillic-ext-400-normal.FAIU8e3o.woff2 +0 -0
- package/build/client/_app/immutable/assets/fira-mono-cyrillic-ext-500-normal.BDCQVX4y.woff +0 -0
- package/build/client/_app/immutable/assets/fira-mono-cyrillic-ext-500-normal.BGV2-mDE.woff2 +0 -0
- package/build/client/_app/immutable/assets/fira-mono-greek-400-normal.B_0AmgK7.woff +0 -0
- package/build/client/_app/immutable/assets/fira-mono-greek-400-normal.ftNhKy_S.woff2 +0 -0
- package/build/client/_app/immutable/assets/fira-mono-greek-500-normal.DNFqaoqB.woff +0 -0
- package/build/client/_app/immutable/assets/fira-mono-greek-500-normal.kj_VgxTv.woff2 +0 -0
- package/build/client/_app/immutable/assets/fira-mono-greek-ext-400-normal.BQ5yw6bY.woff +0 -0
- package/build/client/_app/immutable/assets/fira-mono-greek-ext-400-normal.Be4g_LSk.woff2 +0 -0
- package/build/client/_app/immutable/assets/fira-mono-greek-ext-500-normal.CGPEfoom.woff2 +0 -0
- package/build/client/_app/immutable/assets/fira-mono-greek-ext-500-normal.g6G8W_LY.woff +0 -0
- package/build/client/_app/immutable/assets/fira-mono-latin-400-normal.C3FQ26ho.woff +0 -0
- package/build/client/_app/immutable/assets/fira-mono-latin-400-normal.DVTTRLHv.woff2 +0 -0
- package/build/client/_app/immutable/assets/fira-mono-latin-500-normal.DknboRIW.woff +0 -0
- package/build/client/_app/immutable/assets/fira-mono-latin-500-normal.Du17Nws8.woff2 +0 -0
- package/build/client/_app/immutable/assets/fira-mono-latin-ext-400-normal.B2gPvaNr.woff2 +0 -0
- package/build/client/_app/immutable/assets/fira-mono-latin-ext-400-normal.CbD3vWRE.woff +0 -0
- package/build/client/_app/immutable/assets/fira-mono-latin-ext-500-normal.-0AGvlKU.woff +0 -0
- package/build/client/_app/immutable/assets/fira-mono-latin-ext-500-normal.DPED3Y3R.woff2 +0 -0
- package/build/client/_app/immutable/assets/fira-mono-symbols2-400-normal.C6JptOil.woff2 +0 -0
- package/build/client/_app/immutable/assets/fira-mono-symbols2-400-normal.CpeG9ob9.woff +0 -0
- package/build/client/_app/immutable/assets/fira-mono-symbols2-500-normal.0PpNbZw_.woff2 +0 -0
- package/build/client/_app/immutable/assets/fira-mono-symbols2-500-normal.fxu0Prpo.woff +0 -0
- package/build/client/_app/immutable/assets/music.z3ymEIJM.mp3 +0 -0
- package/build/client/_app/immutable/assets/select.CV-KWLNP.css +1 -0
- package/build/client/_app/immutable/assets/select.CV-KWLNP.css.br +1 -0
- package/build/client/_app/immutable/assets/select.CV-KWLNP.css.gz +0 -0
- package/build/client/_app/immutable/assets/wash.BnjShmr3.mp3 +0 -0
- package/build/client/_app/immutable/assets/yap.SNl9LSqC.mp3 +0 -0
- package/build/client/_app/immutable/chunks/-FJ70HB3.js +1 -0
- package/build/client/_app/immutable/chunks/-FJ70HB3.js.br +0 -0
- package/build/client/_app/immutable/chunks/-FJ70HB3.js.gz +0 -0
- package/build/client/_app/immutable/chunks/9J99lH1E.js +4 -0
- package/build/client/_app/immutable/chunks/9J99lH1E.js.br +0 -0
- package/build/client/_app/immutable/chunks/9J99lH1E.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B4AK16CS.js +1 -0
- package/build/client/_app/immutable/chunks/B4AK16CS.js.br +0 -0
- package/build/client/_app/immutable/chunks/B4AK16CS.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B5IRm2KW.js +1 -0
- package/build/client/_app/immutable/chunks/B5IRm2KW.js.br +0 -0
- package/build/client/_app/immutable/chunks/B5IRm2KW.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BAJE4yH_.js +9 -0
- package/build/client/_app/immutable/chunks/BAJE4yH_.js.br +0 -0
- package/build/client/_app/immutable/chunks/BAJE4yH_.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BDCREBKE.js +1 -0
- package/build/client/_app/immutable/chunks/BDCREBKE.js.br +0 -0
- package/build/client/_app/immutable/chunks/BDCREBKE.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BOf4cn4q.js +16 -0
- package/build/client/_app/immutable/chunks/BOf4cn4q.js.br +0 -0
- package/build/client/_app/immutable/chunks/BOf4cn4q.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BOixjj3c.js +1 -0
- package/build/client/_app/immutable/chunks/BOixjj3c.js.br +1 -0
- package/build/client/_app/immutable/chunks/BOixjj3c.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BQb4WE-8.js +1 -0
- package/build/client/_app/immutable/chunks/BQb4WE-8.js.br +0 -0
- package/build/client/_app/immutable/chunks/BQb4WE-8.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BTeK4a_a.js +1 -0
- package/build/client/_app/immutable/chunks/BTeK4a_a.js.br +0 -0
- package/build/client/_app/immutable/chunks/BTeK4a_a.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BYNjkfU_.js +1 -0
- package/build/client/_app/immutable/chunks/BYNjkfU_.js.br +0 -0
- package/build/client/_app/immutable/chunks/BYNjkfU_.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BeDhKqx_.js +1 -0
- package/build/client/_app/immutable/chunks/BeDhKqx_.js.br +3 -0
- package/build/client/_app/immutable/chunks/BeDhKqx_.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Bjy-W4x2.js +81 -0
- package/build/client/_app/immutable/chunks/Bjy-W4x2.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bjy-W4x2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Bmf5cCYM.js +1 -0
- package/build/client/_app/immutable/chunks/Bmf5cCYM.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bmf5cCYM.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Bo7a0aly.js +1 -0
- package/build/client/_app/immutable/chunks/Bo7a0aly.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bo7a0aly.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BvAz--0N.js +1 -0
- package/build/client/_app/immutable/chunks/BvAz--0N.js.br +0 -0
- package/build/client/_app/immutable/chunks/BvAz--0N.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C-5HEoLn.js +1 -0
- package/build/client/_app/immutable/chunks/C-5HEoLn.js.br +0 -0
- package/build/client/_app/immutable/chunks/C-5HEoLn.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C7dZK71a.js +1 -0
- package/build/client/_app/immutable/chunks/C7dZK71a.js.br +0 -0
- package/build/client/_app/immutable/chunks/C7dZK71a.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C98TgtTN.js +1 -0
- package/build/client/_app/immutable/chunks/C98TgtTN.js.br +0 -0
- package/build/client/_app/immutable/chunks/C98TgtTN.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C9u9ikCJ.js +1 -0
- package/build/client/_app/immutable/chunks/C9u9ikCJ.js.br +0 -0
- package/build/client/_app/immutable/chunks/C9u9ikCJ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CBy5xNAu.js +1 -0
- package/build/client/_app/immutable/chunks/CBy5xNAu.js.br +0 -0
- package/build/client/_app/immutable/chunks/CBy5xNAu.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CCDGpt2Z.js +1 -0
- package/build/client/_app/immutable/chunks/CCDGpt2Z.js.br +0 -0
- package/build/client/_app/immutable/chunks/CCDGpt2Z.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CNU7dyxe.js +1 -0
- package/build/client/_app/immutable/chunks/CNU7dyxe.js.br +3 -0
- package/build/client/_app/immutable/chunks/CNU7dyxe.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CNij7yXO.js +1 -0
- package/build/client/_app/immutable/chunks/CNij7yXO.js.br +0 -0
- package/build/client/_app/immutable/chunks/CNij7yXO.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CPbGz0nD.js +1 -0
- package/build/client/_app/immutable/chunks/CPbGz0nD.js.br +0 -0
- package/build/client/_app/immutable/chunks/CPbGz0nD.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Ce5rxuHE.js +1 -0
- package/build/client/_app/immutable/chunks/Ce5rxuHE.js.br +0 -0
- package/build/client/_app/immutable/chunks/Ce5rxuHE.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CgJaNa38.js +1 -0
- package/build/client/_app/immutable/chunks/CgJaNa38.js.br +0 -0
- package/build/client/_app/immutable/chunks/CgJaNa38.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CgoZLTv2.js +1 -0
- package/build/client/_app/immutable/chunks/CgoZLTv2.js.br +0 -0
- package/build/client/_app/immutable/chunks/CgoZLTv2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Ch-tX5Y1.js +1 -0
- package/build/client/_app/immutable/chunks/Ch-tX5Y1.js.br +0 -0
- package/build/client/_app/immutable/chunks/Ch-tX5Y1.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CkALdgl6.js +1 -0
- package/build/client/_app/immutable/chunks/CkALdgl6.js.br +0 -0
- package/build/client/_app/immutable/chunks/CkALdgl6.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Cn31HPZM.js +1 -0
- package/build/client/_app/immutable/chunks/Cn31HPZM.js.br +0 -0
- package/build/client/_app/immutable/chunks/Cn31HPZM.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CoVud_S-.js +1 -0
- package/build/client/_app/immutable/chunks/CoVud_S-.js.br +0 -0
- package/build/client/_app/immutable/chunks/CoVud_S-.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CraKVm2C.js +1 -0
- package/build/client/_app/immutable/chunks/CraKVm2C.js.br +0 -0
- package/build/client/_app/immutable/chunks/CraKVm2C.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D2KG5w4u.js +1 -0
- package/build/client/_app/immutable/chunks/D2KG5w4u.js.br +0 -0
- package/build/client/_app/immutable/chunks/D2KG5w4u.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DD7ObTOV.js +1 -0
- package/build/client/_app/immutable/chunks/DD7ObTOV.js.br +0 -0
- package/build/client/_app/immutable/chunks/DD7ObTOV.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DD9f1wuL.js +1 -0
- package/build/client/_app/immutable/chunks/DD9f1wuL.js.br +0 -0
- package/build/client/_app/immutable/chunks/DD9f1wuL.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DFMQ7Wtb.js +1 -0
- package/build/client/_app/immutable/chunks/DFMQ7Wtb.js.br +0 -0
- package/build/client/_app/immutable/chunks/DFMQ7Wtb.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DFO_JKVL.js +1 -0
- package/build/client/_app/immutable/chunks/DFO_JKVL.js.br +0 -0
- package/build/client/_app/immutable/chunks/DFO_JKVL.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DGyl1a-y.js +2 -0
- package/build/client/_app/immutable/chunks/DGyl1a-y.js.br +0 -0
- package/build/client/_app/immutable/chunks/DGyl1a-y.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DM7BiLiI.js +1 -0
- package/build/client/_app/immutable/chunks/DM7BiLiI.js.br +0 -0
- package/build/client/_app/immutable/chunks/DM7BiLiI.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DRu3YDxz.js +1 -0
- package/build/client/_app/immutable/chunks/DRu3YDxz.js.br +2 -0
- package/build/client/_app/immutable/chunks/DRu3YDxz.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DTmdu5jU.js +1 -0
- package/build/client/_app/immutable/chunks/DTmdu5jU.js.br +0 -0
- package/build/client/_app/immutable/chunks/DTmdu5jU.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DW6oei0W.js +1 -0
- package/build/client/_app/immutable/chunks/DW6oei0W.js.br +0 -0
- package/build/client/_app/immutable/chunks/DW6oei0W.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DZ_NkRbw.js +1 -0
- package/build/client/_app/immutable/chunks/DZ_NkRbw.js.br +0 -0
- package/build/client/_app/immutable/chunks/DZ_NkRbw.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DfNBP7nd.js +1 -0
- package/build/client/_app/immutable/chunks/DfNBP7nd.js.br +0 -0
- package/build/client/_app/immutable/chunks/DfNBP7nd.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DkhXP75k.js +1 -0
- package/build/client/_app/immutable/chunks/DkhXP75k.js.br +0 -0
- package/build/client/_app/immutable/chunks/DkhXP75k.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DpugZNaj.js +1 -0
- package/build/client/_app/immutable/chunks/DpugZNaj.js.br +0 -0
- package/build/client/_app/immutable/chunks/DpugZNaj.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DuEN1GTI.js +5 -0
- package/build/client/_app/immutable/chunks/DuEN1GTI.js.br +0 -0
- package/build/client/_app/immutable/chunks/DuEN1GTI.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DubTk1R0.js +1 -0
- package/build/client/_app/immutable/chunks/DubTk1R0.js.br +0 -0
- package/build/client/_app/immutable/chunks/DubTk1R0.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Dyxd9rrM.js +5 -0
- package/build/client/_app/immutable/chunks/Dyxd9rrM.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dyxd9rrM.js.gz +0 -0
- package/build/client/_app/immutable/chunks/F14uK0sn.js +1 -0
- package/build/client/_app/immutable/chunks/F14uK0sn.js.br +1 -0
- package/build/client/_app/immutable/chunks/F14uK0sn.js.gz +0 -0
- package/build/client/_app/immutable/chunks/GbStyEBD.js +1 -0
- package/build/client/_app/immutable/chunks/GbStyEBD.js.br +0 -0
- package/build/client/_app/immutable/chunks/GbStyEBD.js.gz +0 -0
- package/build/client/_app/immutable/chunks/IV6C0355.js +1 -0
- package/build/client/_app/immutable/chunks/IV6C0355.js.br +0 -0
- package/build/client/_app/immutable/chunks/IV6C0355.js.gz +0 -0
- package/build/client/_app/immutable/chunks/KSWUKh8r.js +1 -0
- package/build/client/_app/immutable/chunks/KSWUKh8r.js.br +0 -0
- package/build/client/_app/immutable/chunks/KSWUKh8r.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Nhc5CiNi.js +1 -0
- package/build/client/_app/immutable/chunks/Nhc5CiNi.js.br +0 -0
- package/build/client/_app/immutable/chunks/Nhc5CiNi.js.gz +0 -0
- package/build/client/_app/immutable/chunks/OrbH09aZ.js +318 -0
- package/build/client/_app/immutable/chunks/OrbH09aZ.js.br +0 -0
- package/build/client/_app/immutable/chunks/OrbH09aZ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/PnjGAuWf.js +1 -0
- package/build/client/_app/immutable/chunks/PnjGAuWf.js.br +0 -0
- package/build/client/_app/immutable/chunks/PnjGAuWf.js.gz +0 -0
- package/build/client/_app/immutable/chunks/ZoO6eRK-.js +1 -0
- package/build/client/_app/immutable/chunks/ZoO6eRK-.js.br +0 -0
- package/build/client/_app/immutable/chunks/ZoO6eRK-.js.gz +0 -0
- package/build/client/_app/immutable/chunks/eHlSYfzc.js +67 -0
- package/build/client/_app/immutable/chunks/eHlSYfzc.js.br +0 -0
- package/build/client/_app/immutable/chunks/eHlSYfzc.js.gz +0 -0
- package/build/client/_app/immutable/chunks/kUgLbqVN.js +1 -0
- package/build/client/_app/immutable/chunks/kUgLbqVN.js.br +0 -0
- package/build/client/_app/immutable/chunks/kUgLbqVN.js.gz +0 -0
- package/build/client/_app/immutable/chunks/kW5akbMY.js +1 -0
- package/build/client/_app/immutable/chunks/kW5akbMY.js.br +0 -0
- package/build/client/_app/immutable/chunks/kW5akbMY.js.gz +0 -0
- package/build/client/_app/immutable/chunks/lOC7RXgz.js +1 -0
- package/build/client/_app/immutable/chunks/lOC7RXgz.js.br +0 -0
- package/build/client/_app/immutable/chunks/lOC7RXgz.js.gz +0 -0
- package/build/client/_app/immutable/chunks/mxa1wXkp.js +3 -0
- package/build/client/_app/immutable/chunks/mxa1wXkp.js.br +0 -0
- package/build/client/_app/immutable/chunks/mxa1wXkp.js.gz +0 -0
- package/build/client/_app/immutable/chunks/q0g666o4.js +6 -0
- package/build/client/_app/immutable/chunks/q0g666o4.js.br +0 -0
- package/build/client/_app/immutable/chunks/q0g666o4.js.gz +0 -0
- package/build/client/_app/immutable/chunks/rTK8FScS.js +1 -0
- package/build/client/_app/immutable/chunks/rTK8FScS.js.br +0 -0
- package/build/client/_app/immutable/chunks/rTK8FScS.js.gz +0 -0
- package/build/client/_app/immutable/chunks/uBIymjUX.js +1 -0
- package/build/client/_app/immutable/chunks/uBIymjUX.js.br +0 -0
- package/build/client/_app/immutable/chunks/uBIymjUX.js.gz +0 -0
- package/build/client/_app/immutable/chunks/vt9Yl3tP.js +1 -0
- package/build/client/_app/immutable/chunks/vt9Yl3tP.js.br +0 -0
- package/build/client/_app/immutable/chunks/vt9Yl3tP.js.gz +0 -0
- package/build/client/_app/immutable/chunks/xihTtKlq.js +1 -0
- package/build/client/_app/immutable/chunks/xihTtKlq.js.br +1 -0
- package/build/client/_app/immutable/chunks/xihTtKlq.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.BBB0nTuC.js +2 -0
- package/build/client/_app/immutable/entry/app.BBB0nTuC.js.br +0 -0
- package/build/client/_app/immutable/entry/app.BBB0nTuC.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.CmBINDhZ.js +1 -0
- package/build/client/_app/immutable/entry/start.CmBINDhZ.js.br +1 -0
- package/build/client/_app/immutable/entry/start.CmBINDhZ.js.gz +0 -0
- package/build/client/_app/immutable/nodes/0.But357jM.js +1 -0
- package/build/client/_app/immutable/nodes/0.But357jM.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.But357jM.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.DT8uBymP.js +1 -0
- package/build/client/_app/immutable/nodes/1.DT8uBymP.js.br +4 -0
- package/build/client/_app/immutable/nodes/1.DT8uBymP.js.gz +0 -0
- package/build/client/_app/immutable/nodes/10.BacbVQXe.js +1 -0
- package/build/client/_app/immutable/nodes/10.BacbVQXe.js.br +0 -0
- package/build/client/_app/immutable/nodes/10.BacbVQXe.js.gz +0 -0
- package/build/client/_app/immutable/nodes/11.CF-CErr7.js +2 -0
- package/build/client/_app/immutable/nodes/11.CF-CErr7.js.br +0 -0
- package/build/client/_app/immutable/nodes/11.CF-CErr7.js.gz +0 -0
- package/build/client/_app/immutable/nodes/12.CAPJJBGQ.js +1 -0
- package/build/client/_app/immutable/nodes/12.CAPJJBGQ.js.br +0 -0
- package/build/client/_app/immutable/nodes/12.CAPJJBGQ.js.gz +0 -0
- package/build/client/_app/immutable/nodes/13.DFyrYJal.js +1 -0
- package/build/client/_app/immutable/nodes/13.DFyrYJal.js.br +0 -0
- package/build/client/_app/immutable/nodes/13.DFyrYJal.js.gz +0 -0
- package/build/client/_app/immutable/nodes/14.D35Ot9wm.js +46 -0
- package/build/client/_app/immutable/nodes/14.D35Ot9wm.js.br +0 -0
- package/build/client/_app/immutable/nodes/14.D35Ot9wm.js.gz +0 -0
- package/build/client/_app/immutable/nodes/15.Cp0A6oCa.js +1 -0
- package/build/client/_app/immutable/nodes/15.Cp0A6oCa.js.br +0 -0
- package/build/client/_app/immutable/nodes/15.Cp0A6oCa.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.DFKUnwHk.js +1 -0
- package/build/client/_app/immutable/nodes/2.DFKUnwHk.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.DFKUnwHk.js.gz +0 -0
- package/build/client/_app/immutable/nodes/3.DtSCxjUL.js +1 -0
- package/build/client/_app/immutable/nodes/3.DtSCxjUL.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.DtSCxjUL.js.gz +0 -0
- package/build/client/_app/immutable/nodes/4.BY04Tg68.js +2 -0
- package/build/client/_app/immutable/nodes/4.BY04Tg68.js.br +0 -0
- package/build/client/_app/immutable/nodes/4.BY04Tg68.js.gz +0 -0
- package/build/client/_app/immutable/nodes/5.CXq_oj0Q.js +1 -0
- package/build/client/_app/immutable/nodes/5.CXq_oj0Q.js.br +0 -0
- package/build/client/_app/immutable/nodes/5.CXq_oj0Q.js.gz +0 -0
- package/build/client/_app/immutable/nodes/6.BVjg5uYT.js +1 -0
- package/build/client/_app/immutable/nodes/6.BVjg5uYT.js.br +0 -0
- package/build/client/_app/immutable/nodes/6.BVjg5uYT.js.gz +0 -0
- package/build/client/_app/immutable/nodes/7.BX0HQjn_.js +1 -0
- package/build/client/_app/immutable/nodes/7.BX0HQjn_.js.br +0 -0
- package/build/client/_app/immutable/nodes/7.BX0HQjn_.js.gz +0 -0
- package/build/client/_app/immutable/nodes/8.De0kNeyT.js +4 -0
- package/build/client/_app/immutable/nodes/8.De0kNeyT.js.br +0 -0
- package/build/client/_app/immutable/nodes/8.De0kNeyT.js.gz +0 -0
- package/build/client/_app/immutable/nodes/9.CjcFLNkE.js +1 -0
- package/build/client/_app/immutable/nodes/9.CjcFLNkE.js.br +0 -0
- package/build/client/_app/immutable/nodes/9.CjcFLNkE.js.gz +0 -0
- package/build/client/_app/version.json +1 -0
- package/build/client/_app/version.json.br +0 -0
- package/build/client/_app/version.json.gz +0 -0
- package/build/client/apple-touch-icon.png +0 -0
- package/build/client/favicon.ico +0 -0
- package/build/client/robots.txt +3 -0
- package/build/client/robots.txt.br +0 -0
- package/build/client/robots.txt.gz +0 -0
- package/build/env.js +70 -0
- package/build/handler.js +26 -0
- package/build/index.js +149 -0
- package/build/server/chunks/chunks/AssistantAvatar.js-CR1xF68O.js +294 -0
- package/build/server/chunks/chunks/AvatarPicker.js-DZPhpy7w.js +136 -0
- package/build/server/chunks/chunks/Composer.js-mKR_nJD9.js +332 -0
- package/build/server/chunks/chunks/ComposerDock.js-CCH7a93l.js +58 -0
- package/build/server/chunks/chunks/CopyButton.js-BztgBjPI.js +81 -0
- package/build/server/chunks/chunks/DotGrid.js-CftrAYTh.js +107 -0
- package/build/server/chunks/chunks/LucideIcon.js-B_cwdnXZ.js +19 -0
- package/build/server/chunks/chunks/MemoryChangeItem.js-BBDjCjIq.js +2557 -0
- package/build/server/chunks/chunks/ModelMenu.js-DHccPOZS.js +510 -0
- package/build/server/chunks/chunks/MoveToFolderMenu.js-DI6yuRr_.js +288 -0
- package/build/server/chunks/chunks/NewChatForm.js-BesIRgmI.js +296 -0
- package/build/server/chunks/chunks/NewFolderDialog.js-BTTYnEvA.js +192 -0
- package/build/server/chunks/chunks/Notifications.js-BUIjQEFf.js +762 -0
- package/build/server/chunks/chunks/PageHeader.js-CBhoVn_r.js +59 -0
- package/build/server/chunks/chunks/RenameFolderDialog.js-DRXA1rE1.js +258 -0
- package/build/server/chunks/chunks/Rich.js-DEvHcohw.js +31 -0
- package/build/server/chunks/chunks/StepIcon.js-DbIHgd-j.js +38 -0
- package/build/server/chunks/chunks/TopBar.js-DL3V5e8_.js +34 -0
- package/build/server/chunks/chunks/TypedText.js-CBSV0Eww.js +62 -0
- package/build/server/chunks/chunks/UserAvatar.js-zDozVLYj.js +17 -0
- package/build/server/chunks/chunks/UserMenu.js-CD42Fp5q.js +960 -0
- package/build/server/chunks/chunks/access.js-0oJZgR4f.js +40 -0
- package/build/server/chunks/chunks/after-sleep.js-BBvqb2L4.js +10 -0
- package/build/server/chunks/chunks/alert-dialog.js-DFswoRFb.js +505 -0
- package/build/server/chunks/chunks/articles.js-DmiBPIor.js +16 -0
- package/build/server/chunks/chunks/auth.js-avakWenI.js +20044 -0
- package/build/server/chunks/chunks/avatars.js-CZXD-JBu.js +496 -0
- package/build/server/chunks/chunks/badge.js-CBKfxi1n.js +38 -0
- package/build/server/chunks/chunks/check.js-DlXI7kOF.js +15 -0
- package/build/server/chunks/chunks/chevron-right.js-D2YPHtEd.js +15 -0
- package/build/server/chunks/chunks/chevrons-up-down.js-kIInlPpp.js +15 -0
- package/build/server/chunks/chunks/client.js-DXLagFo3.js +120 -0
- package/build/server/chunks/chunks/clock.js-DLKiHbA7.js +19 -0
- package/build/server/chunks/chunks/collapsible.js-TEhMCaES.js +410 -0
- package/build/server/chunks/chunks/command.js-DYF1chyA.js +2231 -0
- package/build/server/chunks/chunks/core.js-fgH-0YTF.js +6 -0
- package/build/server/chunks/chunks/dialog.js-CSahHfdK.js +544 -0
- package/build/server/chunks/chunks/dist.js-Dgve-3EB.js +600 -0
- package/build/server/chunks/chunks/dist2.js-DzuN_1ds.js +347 -0
- package/build/server/chunks/chunks/dropdown-menu.js-CnOm2iRl.js +2396 -0
- package/build/server/chunks/chunks/env.js-l0sNRNKZ.js +2 -0
- package/build/server/chunks/chunks/eraser.js-CwqAwzLd.js +15 -0
- package/build/server/chunks/chunks/exports.js-DPPmkIPk.js +236 -0
- package/build/server/chunks/chunks/factory.js-B2lDZWU5.js +2344 -0
- package/build/server/chunks/chunks/files.js-BTCcxPsy.js +33 -0
- package/build/server/chunks/chunks/folder-input.js-bTjsbAVr.js +19 -0
- package/build/server/chunks/chunks/format.js-D-G-GNZJ.js +57 -0
- package/build/server/chunks/chunks/forms.js-TIFaBiDZ.js +4052 -0
- package/build/server/chunks/chunks/hidden-input.js-3jXOp67_.js +47 -0
- package/build/server/chunks/chunks/http.js-B-SIUg23.js +19 -0
- package/build/server/chunks/chunks/i18n.js-gmnYop5e.js +5049 -0
- package/build/server/chunks/chunks/icons.js-DqrSaQen.js +32087 -0
- package/build/server/chunks/chunks/index-server.js-BgjjN9Dl.js +146 -0
- package/build/server/chunks/chunks/internal.js-CPnM6pod.js +28 -0
- package/build/server/chunks/chunks/internal2.js-BJdu5v6t.js +1135 -0
- package/build/server/chunks/chunks/key-round.js-ALDn8H2Z.js +20 -0
- package/build/server/chunks/chunks/last-profile.js-CGCyMPCt.js +6 -0
- package/build/server/chunks/chunks/media-refs.js-CTbNjDi5.js +129 -0
- package/build/server/chunks/chunks/memory-categories.js-BMxcWbJ1.js +141 -0
- package/build/server/chunks/chunks/memory-export.js-B-0sQxo9.js +126 -0
- package/build/server/chunks/chunks/memory.js-BmjM2yTP.js +25 -0
- package/build/server/chunks/chunks/message-circle.js-Boy7xak8.js +15 -0
- package/build/server/chunks/chunks/motion.js-e6Xy0FvI.js +224 -0
- package/build/server/chunks/chunks/node.js-B1BYsTq2.js +9 -0
- package/build/server/chunks/chunks/node2.js-BoQ3pSBK.js +7 -0
- package/build/server/chunks/chunks/node3.js-DUajZgS1.js +2420 -0
- package/build/server/chunks/chunks/openai.js-usndTuuG.js +20473 -0
- package/build/server/chunks/chunks/paths.js-Dv5_wc5b.js +19 -0
- package/build/server/chunks/chunks/pencil.js-BBTMEZ3O.js +15 -0
- package/build/server/chunks/chunks/plus.js-BEkOQr9Q.js +15 -0
- package/build/server/chunks/chunks/preferences.svelte.js-CzoLtrIH.js +93 -0
- package/build/server/chunks/chunks/remote.js-DRgAwsBW.js +3 -0
- package/build/server/chunks/chunks/rolldown-runtime.js-n5G0F_TW.js +37 -0
- package/build/server/chunks/chunks/routing.js-CQ7vk27s.js +265 -0
- package/build/server/chunks/chunks/schedule.js-22hng-Kw.js +296 -0
- package/build/server/chunks/chunks/sdk.js-CRLWYx_O.js +42918 -0
- package/build/server/chunks/chunks/sdk2.js-Dp6IbCdi.js +13701 -0
- package/build/server/chunks/chunks/sdk3.js-DEwIpbCP.js +4 -0
- package/build/server/chunks/chunks/select.js-DGOA1VL9.js +1965 -0
- package/build/server/chunks/chunks/server.js-XxNf6kVC.js +3907 -0
- package/build/server/chunks/chunks/shared.js-1FwmeXhQ.js +789 -0
- package/build/server/chunks/chunks/sidebar.js-B-PyxBE9.js +1498 -0
- package/build/server/chunks/chunks/square-pen.js-B7nqpNVl.js +20 -0
- package/build/server/chunks/chunks/src.js-Cb-pJk2c.js +25288 -0
- package/build/server/chunks/chunks/state.js-CrwNc-tR.js +67 -0
- package/build/server/chunks/chunks/suggestions.js-DxdV1W1D.js +15 -0
- package/build/server/chunks/chunks/switch.js-CDuy0MzW.js +283 -0
- package/build/server/chunks/chunks/terminal.js-BEi5NMPR.js +15 -0
- package/build/server/chunks/chunks/textarea.js-DnOcXQXd.js +25 -0
- package/build/server/chunks/chunks/tint.js-D75gRPbz.js +165 -0
- package/build/server/chunks/chunks/tooltip.js-0flEKjnb.js +5863 -0
- package/build/server/chunks/chunks/uneval.js-C7SIrMEV.js +536 -0
- package/build/server/chunks/chunks/usage.js-BzKKyzUN.js +27 -0
- package/build/server/chunks/chunks/utils.js-rQQrRQUR.js +1020 -0
- package/build/server/chunks/chunks/utils2.js-BgS8NcJx.js +1167 -0
- package/build/server/chunks/chunks/zod.js-DkbjBCP6.js +18824 -0
- package/build/server/chunks/chunks/zod2.js-FNRC10wS.js +4 -0
- package/build/server/chunks/entries/endpoints/api/c/_id_/continue/_server.ts.js-DPkjAoli.js +45 -0
- package/build/server/chunks/entries/endpoints/api/c/_id_/effort/_server.ts.js-B8su8yn5.js +46 -0
- package/build/server/chunks/entries/endpoints/api/c/_id_/events/_server.ts.js-CLDxKKTx.js +73 -0
- package/build/server/chunks/entries/endpoints/api/c/_id_/folder/_server.ts.js-DT3NoKYe.js +54 -0
- package/build/server/chunks/entries/endpoints/api/c/_id_/media/_mediaId_/_server.ts.js-bvxQlwcS.js +52 -0
- package/build/server/chunks/entries/endpoints/api/c/_id_/messages/_server.ts.js-ClMX8O_R.js +57 -0
- package/build/server/chunks/entries/endpoints/api/c/_id_/preset/_server.ts.js-DQ8N5-g_.js +50 -0
- package/build/server/chunks/entries/endpoints/api/c/_id_/stop/_server.ts.js-4v8WbwCB.js +43 -0
- package/build/server/chunks/entries/endpoints/api/events/_server.ts.js-lUrCowKV.js +78 -0
- package/build/server/chunks/entries/endpoints/api/hooks/_token_/_server.ts.js-CoqUCiud.js +49 -0
- package/build/server/chunks/entries/endpoints/api/icons/_name_/_server.ts.js-k_TzYggq.js +18 -0
- package/build/server/chunks/entries/endpoints/api/models/_server.ts.js-BnE6M4aY.js +56 -0
- package/build/server/chunks/entries/endpoints/api/notifications/_id_/continue/_server.ts.js-7cVqAe1A.js +50 -0
- package/build/server/chunks/entries/endpoints/api/notifications/_id_/dismiss/_server.ts.js-nebszEA8.js +42 -0
- package/build/server/chunks/entries/endpoints/api/notifications/clear/_server.ts.js-8UNQWqlv.js +43 -0
- package/build/server/chunks/entries/endpoints/api/notifications/seen/_server.ts.js-BigNQ41d.js +43 -0
- package/build/server/chunks/entries/endpoints/api/p/_slug_/folders/_folder_/files/_file_/_server.ts.js-CVZofPL8.js +56 -0
- package/build/server/chunks/entries/endpoints/api/p/_slug_/folders/_server.ts.js--huBNcxm.js +57 -0
- package/build/server/chunks/entries/endpoints/api/p/_slug_/memory/_id_/undo/_server.ts.js-DILraLKg.js +57 -0
- package/build/server/chunks/entries/endpoints/api/p/_slug_/running/_server.ts.js-DysLWyt1.js +79 -0
- package/build/server/chunks/entries/endpoints/api/p/_slug_/suggestions/_server.ts.js-B8HQNn05.js +53 -0
- package/build/server/chunks/entries/endpoints/api/p/_slug_/templates/_id_/cover/_server.ts.js-DCJqd-KE.js +59 -0
- package/build/server/chunks/entries/endpoints/api/p/_slug_/uploads/_id_/_server.ts.js-DJh0dkU7.js +44 -0
- package/build/server/chunks/entries/endpoints/api/p/_slug_/uploads/_server.ts.js-CQi0je7g.js +72 -0
- package/build/server/chunks/entries/endpoints/logout/_server.ts.js-iwUOTHUJ.js +46 -0
- package/build/server/chunks/entries/fallbacks/error.svelte.js-BjT9T-qE.js +22 -0
- package/build/server/chunks/entries/hooks.server.js-CA451orY.js +1956 -0
- package/build/server/chunks/entries/pages/_layout.server.ts.js-DeA1Se1v.js +34 -0
- package/build/server/chunks/entries/pages/_layout.svelte.js-Cc0HS5vE.js +77 -0
- package/build/server/chunks/entries/pages/_page.server.ts.js-BP9VmKmv.js +20 -0
- package/build/server/chunks/entries/pages/_page.svelte.js-BP2EdQl3.js +5 -0
- package/build/server/chunks/entries/pages/admin/_page.server.ts.js-BGy54zg7.js +310 -0
- package/build/server/chunks/entries/pages/admin/_page.svelte.js-DC0lzbwL.js +2092 -0
- package/build/server/chunks/entries/pages/login/_page.server.ts.js-to8Vy4NV.js +42 -0
- package/build/server/chunks/entries/pages/login/_page.svelte.js-CRFRcLqG.js +74 -0
- package/build/server/chunks/entries/pages/p/_slug_/_layout.server.ts.js-BATtKhxU.js +50 -0
- package/build/server/chunks/entries/pages/p/_slug_/_layout.svelte.js-B4A4RVlj.js +1897 -0
- package/build/server/chunks/entries/pages/p/_slug_/_page.server.ts.js-CwhG-rBA.js +71 -0
- package/build/server/chunks/entries/pages/p/_slug_/_page.svelte.js-v85HZSJv.js +132 -0
- package/build/server/chunks/entries/pages/p/_slug_/automations/_page.server.ts.js-BYjEh_94.js +269 -0
- package/build/server/chunks/entries/pages/p/_slug_/automations/_page.svelte.js-C9MxplNZ.js +423 -0
- package/build/server/chunks/entries/pages/p/_slug_/c/_id_/_page.server.ts.js-DqYn7Ov8.js +68 -0
- package/build/server/chunks/entries/pages/p/_slug_/c/_id_/_page.svelte.js-DO1qyELK.js +2072 -0
- package/build/server/chunks/entries/pages/p/_slug_/f/_folder_/_page.server.ts.js-DK68gPIS.js +101 -0
- package/build/server/chunks/entries/pages/p/_slug_/f/_folder_/_page.svelte.js-a31Wj0H5.js +321 -0
- package/build/server/chunks/entries/pages/p/_slug_/images/_page.server.ts.js-DYwxYJjv.js +145 -0
- package/build/server/chunks/entries/pages/p/_slug_/images/_page.svelte.js-H3zU7YA6.js +526 -0
- package/build/server/chunks/entries/pages/p/_slug_/memory/_page.server.ts.js-C6jVrFqG.js +99 -0
- package/build/server/chunks/entries/pages/p/_slug_/memory/_page.svelte.js-D54hFXGF.js +902 -0
- package/build/server/chunks/entries/pages/p/_slug_/settings/_page.server.ts.js-BvhbrusJ.js +106 -0
- package/build/server/chunks/entries/pages/p/_slug_/settings/_page.svelte.js-K9Rx0fue.js +581 -0
- package/build/server/chunks/entries/pages/p/_slug_/skills/_page.server.ts.js-X_toxkHr.js +45 -0
- package/build/server/chunks/entries/pages/p/_slug_/skills/_page.svelte.js-9BpNF-xF.js +132 -0
- package/build/server/chunks/entries/pages/p/_slug_/welcome/_page.server.ts.js-1d4vkOo-.js +129 -0
- package/build/server/chunks/entries/pages/p/_slug_/welcome/_page@.svelte.js-32N16gxF.js +223 -0
- package/build/server/chunks/entries/pages/profiles/_page.server.ts.js-CYu6Uj8H.js +32 -0
- package/build/server/chunks/entries/pages/profiles/_page.svelte.js-Bhw4E_wV.js +89 -0
- package/build/server/chunks/handler-CsXFmZYe.js +1735 -0
- package/build/server/chunks/index.js-kWlRiTFB.js +3700 -0
- package/build/server/chunks/manifest.js-BU_jyr1-.js +314 -0
- package/build/server/chunks/nodes/0.js-D4qm-LVJ.js +42 -0
- package/build/server/chunks/nodes/1.js-Fjtm11_Q.js +9 -0
- package/build/server/chunks/nodes/10.js-C0jWz6L_.js +45 -0
- package/build/server/chunks/nodes/11.js-CvxSawBf.js +45 -0
- package/build/server/chunks/nodes/12.js-CFwkqqPw.js +45 -0
- package/build/server/chunks/nodes/13.js-8e3_MY_4.js +45 -0
- package/build/server/chunks/nodes/14.js-dFhmLvor.js +45 -0
- package/build/server/chunks/nodes/15.js-alFwV-ia.js +45 -0
- package/build/server/chunks/nodes/2.js-DlqVofm5.js +46 -0
- package/build/server/chunks/nodes/3.js-B11kFzfi.js +45 -0
- package/build/server/chunks/nodes/4.js-CJOa-BdF.js +46 -0
- package/build/server/chunks/nodes/5.js-BiasAa82.js +50 -0
- package/build/server/chunks/nodes/6.js-vEMr5YOn.js +47 -0
- package/build/server/chunks/nodes/7.js-BwwcgtyP.js +45 -0
- package/build/server/chunks/nodes/8.js-Mqkjlq-6.js +45 -0
- package/build/server/chunks/nodes/9.js-DtRpQ_En.js +45 -0
- package/build/shims.js +33 -0
- package/dist/chunks/chunk-45BRG6A7.js +85 -0
- package/dist/chunks/chunk-CL6JQXXZ.js +38 -0
- package/dist/chunks/chunk-KZL3QNDA.js +14397 -0
- package/dist/chunks/chunk-N4H4AYCQ.js +20 -0
- package/dist/chunks/chunk-W4U7L4LF.js +47 -0
- package/dist/chunks/io-DMGTB3B7.js +12 -0
- package/dist/chunks/node-4RSVEEU6.js +2233 -0
- package/dist/chunks/node-BBTNNFRQ.js +20 -0
- package/dist/chunks/openai-LNQCFHTY.js +21690 -0
- package/dist/chunks/run-6LM42GJD.js +22287 -0
- package/dist/chunks/sdk-UNMKBESV.js +53 -0
- package/dist/chunks/sdk-Z2WD4F5K.js +30854 -0
- package/dist/chunks/zod-H7KMPIPH.js +19934 -0
- package/dist/cli.js +130 -0
- package/package.json +102 -0
- package/packages/core/drizzle/0000_init.sql +123 -0
- package/packages/core/drizzle/0001_triggers.sql +82 -0
- package/packages/core/drizzle/0002_default_preset.sql +1 -0
- package/packages/core/drizzle/0003_trigger_summary.sql +2 -0
- package/packages/core/drizzle/0004_skill_toggles.sql +1 -0
- package/packages/core/drizzle/0005_media.sql +21 -0
- package/packages/core/drizzle/0006_attachments.sql +25 -0
- package/packages/core/drizzle/0007_folders.sql +35 -0
- package/packages/core/drizzle/0008_avatars.sql +26 -0
- package/packages/core/drizzle/0009_subagents.sql +28 -0
- package/packages/core/drizzle/0010_soul.sql +1 -0
- package/packages/core/drizzle/0011_claude_plan.sql +1 -0
- package/packages/core/drizzle/0012_model_switch.sql +4 -0
- package/packages/core/drizzle/0013_nolune_format.sql +1 -0
- package/packages/core/drizzle/0014_nolune_rename.sql +3 -0
- package/packages/core/drizzle/0015_learn_from_chats.sql +2 -0
- package/packages/core/drizzle/0016_memory_changes.sql +19 -0
- package/packages/core/drizzle/0017_member_person_note.sql +1 -0
- package/packages/core/drizzle/meta/0000_snapshot.json +809 -0
- package/packages/core/drizzle/meta/0001_snapshot.json +1354 -0
- package/packages/core/drizzle/meta/0002_snapshot.json +1362 -0
- package/packages/core/drizzle/meta/0003_snapshot.json +1376 -0
- package/packages/core/drizzle/meta/0004_snapshot.json +1384 -0
- package/packages/core/drizzle/meta/0005_snapshot.json +1523 -0
- package/packages/core/drizzle/meta/0006_snapshot.json +1679 -0
- package/packages/core/drizzle/meta/0007_snapshot.json +1921 -0
- package/packages/core/drizzle/meta/0008_snapshot.json +1929 -0
- package/packages/core/drizzle/meta/0009_snapshot.json +2109 -0
- package/packages/core/drizzle/meta/0010_snapshot.json +2117 -0
- package/packages/core/drizzle/meta/0011_snapshot.json +2124 -0
- package/packages/core/drizzle/meta/0012_snapshot.json +2138 -0
- package/packages/core/drizzle/meta/0013_snapshot.json +2145 -0
- package/packages/core/drizzle/meta/0014_snapshot.json +2145 -0
- package/packages/core/drizzle/meta/0015_snapshot.json +2160 -0
- package/packages/core/drizzle/meta/0016_snapshot.json +2286 -0
- package/packages/core/drizzle/meta/0017_snapshot.json +2293 -0
- package/packages/core/drizzle/meta/_journal.json +132 -0
- package/packages/core/image-templates/app-icon/TEMPLATE.md +37 -0
- package/packages/core/image-templates/app-icon/cover.webp +0 -0
- package/packages/core/image-templates/coloring-page/TEMPLATE.md +14 -0
- package/packages/core/image-templates/coloring-page/cover.webp +0 -0
- package/packages/core/image-templates/concept-art/TEMPLATE.md +46 -0
- package/packages/core/image-templates/concept-art/cover.webp +0 -0
- package/packages/core/image-templates/couple-portrait/TEMPLATE.md +35 -0
- package/packages/core/image-templates/couple-portrait/cover.webp +0 -0
- package/packages/core/image-templates/dream-bouquet/TEMPLATE.md +36 -0
- package/packages/core/image-templates/dream-bouquet/cover.webp +0 -0
- package/packages/core/image-templates/family-crest/TEMPLATE.md +38 -0
- package/packages/core/image-templates/family-crest/cover.webp +0 -0
- package/packages/core/image-templates/nail-art/TEMPLATE.md +32 -0
- package/packages/core/image-templates/nail-art/cover.webp +0 -0
- package/packages/core/image-templates/outfit-board/TEMPLATE.md +46 -0
- package/packages/core/image-templates/outfit-board/cover.webp +0 -0
- package/packages/core/image-templates/party-invitation/TEMPLATE.md +49 -0
- package/packages/core/image-templates/party-invitation/cover.webp +0 -0
- package/packages/core/image-templates/photo-booth/TEMPLATE.md +33 -0
- package/packages/core/image-templates/photo-booth/cover.webp +0 -0
- package/packages/core/image-templates/scribble/TEMPLATE.md +29 -0
- package/packages/core/image-templates/scribble/cover.webp +0 -0
- package/packages/core/image-templates/sprite-sheet/TEMPLATE.md +45 -0
- package/packages/core/image-templates/sprite-sheet/cover.webp +0 -0
- package/packages/core/image-templates/sticker-pack/TEMPLATE.md +37 -0
- package/packages/core/image-templates/sticker-pack/cover.webp +0 -0
- package/packages/core/image-templates/storybook-page/TEMPLATE.md +34 -0
- package/packages/core/image-templates/storybook-page/cover.webp +0 -0
- package/packages/core/image-templates/tattoo/TEMPLATE.md +44 -0
- package/packages/core/image-templates/tattoo/cover.webp +0 -0
- package/packages/core/image-templates/tileable-texture/TEMPLATE.md +34 -0
- package/packages/core/image-templates/tileable-texture/cover.webp +0 -0
- package/packages/core/image-templates/tiny-world/TEMPLATE.md +15 -0
- package/packages/core/image-templates/tiny-world/cover.webp +0 -0
- package/packages/core/image-templates/trip-postcard/TEMPLATE.md +21 -0
- package/packages/core/image-templates/trip-postcard/cover.webp +0 -0
- package/packages/core/image-templates/wanted-poster/TEMPLATE.md +27 -0
- package/packages/core/image-templates/wanted-poster/cover.webp +0 -0
- package/packages/core/skills/automations/SKILL.md +91 -0
- package/packages/core/skills/generate-images/SKILL.md +115 -0
- package/packages/core/skills/nolune/SKILL.md +281 -0
- package/packages/core/skills/subagents/SKILL.md +91 -0
- package/packages/core/skills/view-images/SKILL.md +88 -0
|
@@ -0,0 +1,1135 @@
|
|
|
1
|
+
import { i as render, j as set, L as LEGACY_PROPS, k as get, m as flushSync, o as define_property, p as mutable_source, q as init_operations, t as get_first_child, u as get_next_sibling, H as HYDRATION_ERROR, v as set_hydrating, w as set_hydrate_node, x as hydration_failed, y as clear_text_content, z as component_root, A as hydrate_node, B as create_text, C as array_from, D as is_passive_event, E as set_active_reaction, F as set_active_effect, G as active_reaction, I as active_effect, a as setContext, J as hydrating, K as block, M as branch, N as queue_micro_task, O as invoke_error_boundary, P as current_batch, Q as pause_effect, R as move_effect, S as defer_effect, T as set_component_context, U as Batch, V as component_context, W as internal_set, X as destroy_effect, Y as next, Z as skip_nodes, _ as derived, $ as effect_tracking, a0 as render_effect, a1 as svelte_boundary_reset_noop, a2 as svelte_boundary_reset_onerror, a3 as source, a4 as without_reactive_context, a5 as untrack, a6 as increment, a7 as hydrate_next, a8 as push$1, a9 as mark_as_component, aa as hydration_mismatch, ab as pop$1, ac as EFFECT_TRANSPARENT, ad as EFFECT_PRESERVED } from './server.js-XxNf6kVC.js';
|
|
2
|
+
import 'node:module';
|
|
3
|
+
|
|
4
|
+
//#region node_modules/.pnpm/@sveltejs+kit@2.70.3_@sveltejs+vite-plugin-svelte@7.3.1_svelte@5.57.1_@typescript-eslin_966400cae69c6a1acd67dc361e1b9dab/node_modules/@sveltejs/kit/src/runtime/shared-server.js
|
|
5
|
+
/**
|
|
6
|
+
* `$env/dynamic/private`
|
|
7
|
+
* @type {Record<string, string>}
|
|
8
|
+
*/
|
|
9
|
+
var private_env = {};
|
|
10
|
+
/**
|
|
11
|
+
* `$env/dynamic/public`
|
|
12
|
+
* @type {Record<string, string>}
|
|
13
|
+
*/
|
|
14
|
+
var public_env = {};
|
|
15
|
+
/** @type {(environment: Record<string, string>) => void} */
|
|
16
|
+
function set_private_env(environment) {
|
|
17
|
+
private_env = environment;
|
|
18
|
+
}
|
|
19
|
+
/** @type {(environment: Record<string, string>) => void} */
|
|
20
|
+
function set_public_env(environment) {
|
|
21
|
+
public_env = environment;
|
|
22
|
+
}
|
|
23
|
+
//#endregion
|
|
24
|
+
//#region \0virtual:__sveltekit/server
|
|
25
|
+
var read_implementation = null;
|
|
26
|
+
function set_read_implementation(fn) {
|
|
27
|
+
read_implementation = fn;
|
|
28
|
+
}
|
|
29
|
+
//#endregion
|
|
30
|
+
//#region node_modules/.pnpm/svelte@5.57.1_@typescript-eslint+types@8.70.1/node_modules/svelte/src/internal/client/dom/elements/events.js
|
|
31
|
+
/**
|
|
32
|
+
* Used on elements, as a map of event type -> event handler,
|
|
33
|
+
* and on events themselves to track which element handled an event
|
|
34
|
+
*/
|
|
35
|
+
var event_symbol = Symbol("events");
|
|
36
|
+
/** @type {Set<string>} */
|
|
37
|
+
var all_registered_events = /* @__PURE__ */ new Set();
|
|
38
|
+
/** @type {Set<(events: Array<string>) => void>} */
|
|
39
|
+
var root_event_handles = /* @__PURE__ */ new Set();
|
|
40
|
+
/**
|
|
41
|
+
* @param {string} event_name
|
|
42
|
+
* @param {EventTarget} dom
|
|
43
|
+
* @param {EventListener} [handler]
|
|
44
|
+
* @param {AddEventListenerOptions} [options]
|
|
45
|
+
*/
|
|
46
|
+
function create_event(event_name, dom, handler, options = {}) {
|
|
47
|
+
/**
|
|
48
|
+
* @this {EventTarget}
|
|
49
|
+
*/
|
|
50
|
+
function target_handler(event) {
|
|
51
|
+
if (!options.capture) handle_event_propagation.call(dom, event);
|
|
52
|
+
if (!event.cancelBubble) return without_reactive_context(() => {
|
|
53
|
+
return handler?.call(this, event);
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
if (event_name.startsWith("pointer") || event_name.startsWith("touch") || event_name === "wheel") {
|
|
57
|
+
target_handler.__removed = false;
|
|
58
|
+
queue_micro_task(() => {
|
|
59
|
+
if (!target_handler.__removed) dom.addEventListener(event_name, target_handler, options);
|
|
60
|
+
});
|
|
61
|
+
} else dom.addEventListener(event_name, target_handler, options);
|
|
62
|
+
return target_handler;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Attaches an event handler to an element and returns a function that removes the handler. Using this
|
|
66
|
+
* rather than `addEventListener` will preserve the correct order relative to handlers added declaratively
|
|
67
|
+
* (with attributes like `onclick`), which use event delegation for performance reasons
|
|
68
|
+
*
|
|
69
|
+
* @param {EventTarget} element
|
|
70
|
+
* @param {string} type
|
|
71
|
+
* @param {EventListener} handler
|
|
72
|
+
* @param {AddEventListenerOptions} [options]
|
|
73
|
+
*/
|
|
74
|
+
function on(element, type, handler, options = {}) {
|
|
75
|
+
var target_handler = create_event(type, element, handler, options);
|
|
76
|
+
return () => {
|
|
77
|
+
target_handler.__removed = true;
|
|
78
|
+
element.removeEventListener(type, target_handler, options);
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
var last_propagated_event = null;
|
|
82
|
+
var last_propagated_event_clear_scheduled = false;
|
|
83
|
+
/**
|
|
84
|
+
* @this {EventTarget}
|
|
85
|
+
* @param {Event} event
|
|
86
|
+
* @returns {void}
|
|
87
|
+
*/
|
|
88
|
+
function handle_event_propagation(event) {
|
|
89
|
+
var handler_element = this;
|
|
90
|
+
var owner_document = handler_element.ownerDocument;
|
|
91
|
+
var event_name = event.type;
|
|
92
|
+
var path = event.composedPath?.() || [];
|
|
93
|
+
var current_target = path[0] || event.target;
|
|
94
|
+
last_propagated_event = event;
|
|
95
|
+
if (!last_propagated_event_clear_scheduled) {
|
|
96
|
+
last_propagated_event_clear_scheduled = true;
|
|
97
|
+
setTimeout(() => {
|
|
98
|
+
last_propagated_event_clear_scheduled = false;
|
|
99
|
+
last_propagated_event = null;
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
var path_idx = 0;
|
|
103
|
+
var handled_at = last_propagated_event === event && event[event_symbol];
|
|
104
|
+
if (handled_at) {
|
|
105
|
+
var at_idx = path.indexOf(handled_at);
|
|
106
|
+
if (at_idx !== -1 && (handler_element === document || handler_element === window)) {
|
|
107
|
+
event[event_symbol] = handler_element;
|
|
108
|
+
return;
|
|
109
|
+
}
|
|
110
|
+
var handler_idx = path.indexOf(handler_element);
|
|
111
|
+
if (handler_idx === -1) return;
|
|
112
|
+
if (at_idx <= handler_idx) path_idx = at_idx;
|
|
113
|
+
}
|
|
114
|
+
current_target = path[path_idx] || event.target;
|
|
115
|
+
if (current_target === handler_element) return;
|
|
116
|
+
define_property(event, "currentTarget", {
|
|
117
|
+
configurable: true,
|
|
118
|
+
get() {
|
|
119
|
+
return current_target || owner_document;
|
|
120
|
+
}
|
|
121
|
+
});
|
|
122
|
+
var previous_reaction = active_reaction;
|
|
123
|
+
var previous_effect = active_effect;
|
|
124
|
+
set_active_reaction(null);
|
|
125
|
+
set_active_effect(null);
|
|
126
|
+
try {
|
|
127
|
+
/**
|
|
128
|
+
* @type {unknown}
|
|
129
|
+
*/
|
|
130
|
+
var throw_error;
|
|
131
|
+
/**
|
|
132
|
+
* @type {unknown[]}
|
|
133
|
+
*/
|
|
134
|
+
var other_errors = [];
|
|
135
|
+
while (current_target !== null) {
|
|
136
|
+
if (current_target === handler_element) break;
|
|
137
|
+
try {
|
|
138
|
+
var delegated = current_target[event_symbol]?.[event_name];
|
|
139
|
+
if (delegated != null && (!current_target.disabled || event.target === current_target)) delegated.call(current_target, event);
|
|
140
|
+
} catch (error) {
|
|
141
|
+
if (throw_error) other_errors.push(error);
|
|
142
|
+
else throw_error = error;
|
|
143
|
+
}
|
|
144
|
+
if (event.cancelBubble) break;
|
|
145
|
+
path_idx++;
|
|
146
|
+
current_target = path_idx < path.length ? path[path_idx] : null;
|
|
147
|
+
}
|
|
148
|
+
if (throw_error) {
|
|
149
|
+
for (let error of other_errors) queueMicrotask(() => {
|
|
150
|
+
throw error;
|
|
151
|
+
});
|
|
152
|
+
throw throw_error;
|
|
153
|
+
}
|
|
154
|
+
} finally {
|
|
155
|
+
event[event_symbol] = handler_element;
|
|
156
|
+
delete event.currentTarget;
|
|
157
|
+
set_active_reaction(previous_reaction);
|
|
158
|
+
set_active_effect(previous_effect);
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
//#endregion
|
|
162
|
+
//#region node_modules/.pnpm/svelte@5.57.1_@typescript-eslint+types@8.70.1/node_modules/svelte/src/internal/client/dom/template.js
|
|
163
|
+
/** @import { Effect, EffectNodes, TemplateNode } from '#client' */
|
|
164
|
+
/** @import { TemplateStructure } from './types' */
|
|
165
|
+
/**
|
|
166
|
+
* @param {TemplateNode} start
|
|
167
|
+
* @param {TemplateNode | null} end
|
|
168
|
+
*/
|
|
169
|
+
function assign_nodes(start, end) {
|
|
170
|
+
var effect = active_effect;
|
|
171
|
+
if (effect.nodes === null) effect.nodes = {
|
|
172
|
+
start,
|
|
173
|
+
end,
|
|
174
|
+
a: null,
|
|
175
|
+
t: null
|
|
176
|
+
};
|
|
177
|
+
}
|
|
178
|
+
//#endregion
|
|
179
|
+
//#region node_modules/.pnpm/svelte@5.57.1_@typescript-eslint+types@8.70.1/node_modules/svelte/src/reactivity/create-subscriber.js
|
|
180
|
+
/**
|
|
181
|
+
* Returns a `subscribe` function that integrates external event-based systems with Svelte's reactivity.
|
|
182
|
+
* It's particularly useful for integrating with web APIs like `MediaQuery`, `IntersectionObserver`, or `WebSocket`.
|
|
183
|
+
*
|
|
184
|
+
* If `subscribe` is called inside an effect (including indirectly, for example inside a getter),
|
|
185
|
+
* the `start` callback will be called with an `update` function. Whenever `update` is called, the effect re-runs.
|
|
186
|
+
*
|
|
187
|
+
* If `start` returns a cleanup function, it will be called when the effect is destroyed.
|
|
188
|
+
*
|
|
189
|
+
* If `subscribe` is called in multiple effects, `start` will only be called once as long as the effects
|
|
190
|
+
* are active, and the returned teardown function will only be called when all effects are destroyed.
|
|
191
|
+
*
|
|
192
|
+
* It's best understood with an example. Here's an implementation of [`MediaQuery`](https://svelte.dev/docs/svelte/svelte-reactivity#MediaQuery):
|
|
193
|
+
*
|
|
194
|
+
* ```js
|
|
195
|
+
* import { createSubscriber } from 'svelte/reactivity';
|
|
196
|
+
* import { on } from 'svelte/events';
|
|
197
|
+
*
|
|
198
|
+
* export class MediaQuery {
|
|
199
|
+
* #query;
|
|
200
|
+
* #subscribe;
|
|
201
|
+
*
|
|
202
|
+
* constructor(query) {
|
|
203
|
+
* this.#query = window.matchMedia(`(${query})`);
|
|
204
|
+
*
|
|
205
|
+
* this.#subscribe = createSubscriber((update) => {
|
|
206
|
+
* // when the `change` event occurs, re-run any effects that read `this.current`
|
|
207
|
+
* const off = on(this.#query, 'change', update);
|
|
208
|
+
*
|
|
209
|
+
* // stop listening when all the effects are destroyed
|
|
210
|
+
* return () => off();
|
|
211
|
+
* });
|
|
212
|
+
* }
|
|
213
|
+
*
|
|
214
|
+
* get current() {
|
|
215
|
+
* // This makes the getter reactive, if read in an effect
|
|
216
|
+
* this.#subscribe();
|
|
217
|
+
*
|
|
218
|
+
* // Return the current state of the query, whether or not we're in an effect
|
|
219
|
+
* return this.#query.matches;
|
|
220
|
+
* }
|
|
221
|
+
* }
|
|
222
|
+
* ```
|
|
223
|
+
* @param {(update: () => void) => (() => void) | void} start
|
|
224
|
+
* @since 5.7.0
|
|
225
|
+
*/
|
|
226
|
+
function createSubscriber(start) {
|
|
227
|
+
let subscribers = 0;
|
|
228
|
+
let version = source(0);
|
|
229
|
+
/** @type {(() => void) | void} */
|
|
230
|
+
let stop;
|
|
231
|
+
return () => {
|
|
232
|
+
if (effect_tracking()) {
|
|
233
|
+
get(version);
|
|
234
|
+
render_effect(() => {
|
|
235
|
+
if (subscribers === 0) stop = untrack(() => start(() => increment(version)));
|
|
236
|
+
subscribers += 1;
|
|
237
|
+
return () => {
|
|
238
|
+
queue_micro_task(() => {
|
|
239
|
+
subscribers -= 1;
|
|
240
|
+
if (subscribers === 0) {
|
|
241
|
+
stop?.();
|
|
242
|
+
stop = void 0;
|
|
243
|
+
increment(version);
|
|
244
|
+
}
|
|
245
|
+
});
|
|
246
|
+
};
|
|
247
|
+
});
|
|
248
|
+
}
|
|
249
|
+
};
|
|
250
|
+
}
|
|
251
|
+
//#endregion
|
|
252
|
+
//#region node_modules/.pnpm/svelte@5.57.1_@typescript-eslint+types@8.70.1/node_modules/svelte/src/internal/client/dom/blocks/boundary.js
|
|
253
|
+
/** @import { Effect, Source, TemplateNode, } from '#client' */
|
|
254
|
+
/**
|
|
255
|
+
* @typedef {{
|
|
256
|
+
* onerror?: ((error: unknown, reset: () => void) => void) | null;
|
|
257
|
+
* failed?: ((anchor: Node, error: () => unknown, reset: () => () => void) => void) | null;
|
|
258
|
+
* pending?: ((anchor: Node) => void) | null;
|
|
259
|
+
* }} BoundaryProps
|
|
260
|
+
*/
|
|
261
|
+
var flags = EFFECT_TRANSPARENT | EFFECT_PRESERVED;
|
|
262
|
+
/**
|
|
263
|
+
* @param {TemplateNode} node
|
|
264
|
+
* @param {BoundaryProps} props
|
|
265
|
+
* @param {((anchor: Node) => void)} children
|
|
266
|
+
* @param {((error: unknown) => unknown) | undefined} [transform_error]
|
|
267
|
+
* @returns {void}
|
|
268
|
+
*/
|
|
269
|
+
function boundary(node, props, children, transform_error) {
|
|
270
|
+
new Boundary(node, props, children, transform_error);
|
|
271
|
+
}
|
|
272
|
+
var Boundary = class {
|
|
273
|
+
/** @type {Boundary | null} */
|
|
274
|
+
parent;
|
|
275
|
+
is_pending = false;
|
|
276
|
+
/**
|
|
277
|
+
* API-level transformError transform function. Transforms errors before they reach the `failed` snippet.
|
|
278
|
+
* Inherited from parent boundary, or defaults to identity.
|
|
279
|
+
* @type {(error: unknown) => unknown}
|
|
280
|
+
*/
|
|
281
|
+
transform_error;
|
|
282
|
+
/** @type {TemplateNode} */
|
|
283
|
+
#anchor;
|
|
284
|
+
/** @type {TemplateNode | null} */
|
|
285
|
+
#hydrate_open = hydrating ? hydrate_node : null;
|
|
286
|
+
/** @type {BoundaryProps} */
|
|
287
|
+
#props;
|
|
288
|
+
/** @type {((anchor: Node) => void)} */
|
|
289
|
+
#children;
|
|
290
|
+
/** @type {Effect} */
|
|
291
|
+
#effect;
|
|
292
|
+
/** @type {Effect | null} */
|
|
293
|
+
#main_effect = null;
|
|
294
|
+
/** @type {Effect | null} */
|
|
295
|
+
#pending_effect = null;
|
|
296
|
+
/** @type {Effect | null} */
|
|
297
|
+
#failed_effect = null;
|
|
298
|
+
/** @type {DocumentFragment | null} */
|
|
299
|
+
#offscreen_fragment = null;
|
|
300
|
+
#local_pending_count = 0;
|
|
301
|
+
#pending_count = 0;
|
|
302
|
+
#pending_count_update_queued = false;
|
|
303
|
+
/** @type {Set<Effect>} */
|
|
304
|
+
#dirty_effects = /* @__PURE__ */ new Set();
|
|
305
|
+
/** @type {Set<Effect>} */
|
|
306
|
+
#maybe_dirty_effects = /* @__PURE__ */ new Set();
|
|
307
|
+
/**
|
|
308
|
+
* A source containing the number of pending async deriveds/expressions.
|
|
309
|
+
* Only created if `$effect.pending()` is used inside the boundary,
|
|
310
|
+
* otherwise updating the source results in needless `Batch.ensure()`
|
|
311
|
+
* calls followed by no-op flushes
|
|
312
|
+
* @type {Source<number> | null}
|
|
313
|
+
*/
|
|
314
|
+
#effect_pending = null;
|
|
315
|
+
#effect_pending_subscriber = createSubscriber(() => {
|
|
316
|
+
this.#effect_pending = source(this.#local_pending_count);
|
|
317
|
+
return () => {
|
|
318
|
+
this.#effect_pending = null;
|
|
319
|
+
};
|
|
320
|
+
});
|
|
321
|
+
/**
|
|
322
|
+
* @param {TemplateNode} node
|
|
323
|
+
* @param {BoundaryProps} props
|
|
324
|
+
* @param {((anchor: Node) => void)} children
|
|
325
|
+
* @param {((error: unknown) => unknown) | undefined} [transform_error]
|
|
326
|
+
*/
|
|
327
|
+
constructor(node, props, children, transform_error) {
|
|
328
|
+
this.#anchor = node;
|
|
329
|
+
this.#props = props;
|
|
330
|
+
this.#children = (anchor) => {
|
|
331
|
+
var effect = active_effect;
|
|
332
|
+
effect.b = this;
|
|
333
|
+
effect.f |= 128;
|
|
334
|
+
children(anchor);
|
|
335
|
+
};
|
|
336
|
+
this.parent = active_effect.b;
|
|
337
|
+
this.transform_error = transform_error ?? this.parent?.transform_error ?? ((e) => e);
|
|
338
|
+
this.#effect = block(() => {
|
|
339
|
+
if (hydrating) {
|
|
340
|
+
const comment = this.#hydrate_open;
|
|
341
|
+
hydrate_next();
|
|
342
|
+
const server_rendered_pending = comment.data === "[!";
|
|
343
|
+
if (comment.data.startsWith("[?")) {
|
|
344
|
+
const serialized_error = JSON.parse(comment.data.slice(2));
|
|
345
|
+
this.#hydrate_failed_content(serialized_error);
|
|
346
|
+
} else if (server_rendered_pending) this.#hydrate_pending_content();
|
|
347
|
+
else this.#hydrate_resolved_content();
|
|
348
|
+
} else this.#render();
|
|
349
|
+
}, flags);
|
|
350
|
+
if (hydrating) this.#anchor = hydrate_node;
|
|
351
|
+
}
|
|
352
|
+
#hydrate_resolved_content() {
|
|
353
|
+
try {
|
|
354
|
+
this.#main_effect = branch(() => this.#children(this.#anchor));
|
|
355
|
+
} catch (error) {
|
|
356
|
+
this.error(error);
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
/**
|
|
360
|
+
* @param {unknown} error The deserialized error from the server's hydration comment
|
|
361
|
+
*/
|
|
362
|
+
#hydrate_failed_content(error) {
|
|
363
|
+
const failed = this.#props.failed;
|
|
364
|
+
const { reset, invoke_onerror } = this.#create_reset(error);
|
|
365
|
+
queue_micro_task(invoke_onerror);
|
|
366
|
+
if (!failed) return;
|
|
367
|
+
this.#failed_effect = branch(() => {
|
|
368
|
+
failed(this.#anchor, () => error, () => reset);
|
|
369
|
+
});
|
|
370
|
+
}
|
|
371
|
+
/**
|
|
372
|
+
* Creates the `reset` function for a failed boundary, along with a function
|
|
373
|
+
* that invokes `onerror` with it (if provided)
|
|
374
|
+
* @param {unknown} error
|
|
375
|
+
* @returns {{ reset: () => void, invoke_onerror: () => void }}
|
|
376
|
+
*/
|
|
377
|
+
#create_reset(error) {
|
|
378
|
+
var did_reset = false;
|
|
379
|
+
var calling_on_error = false;
|
|
380
|
+
const reset = () => {
|
|
381
|
+
if (did_reset) {
|
|
382
|
+
svelte_boundary_reset_noop();
|
|
383
|
+
return;
|
|
384
|
+
}
|
|
385
|
+
did_reset = true;
|
|
386
|
+
if (calling_on_error) svelte_boundary_reset_onerror();
|
|
387
|
+
if (this.#failed_effect !== null) pause_effect(this.#failed_effect, () => {
|
|
388
|
+
this.#failed_effect = null;
|
|
389
|
+
});
|
|
390
|
+
this.#run(() => {
|
|
391
|
+
this.#render();
|
|
392
|
+
});
|
|
393
|
+
};
|
|
394
|
+
const invoke_onerror = () => {
|
|
395
|
+
try {
|
|
396
|
+
calling_on_error = true;
|
|
397
|
+
this.#props.onerror?.(error, reset);
|
|
398
|
+
calling_on_error = false;
|
|
399
|
+
} catch (err) {
|
|
400
|
+
invoke_error_boundary(err, this.#effect && this.#effect.parent);
|
|
401
|
+
}
|
|
402
|
+
};
|
|
403
|
+
return {
|
|
404
|
+
reset,
|
|
405
|
+
invoke_onerror
|
|
406
|
+
};
|
|
407
|
+
}
|
|
408
|
+
#hydrate_pending_content() {
|
|
409
|
+
const pending = this.#props.pending;
|
|
410
|
+
if (!pending) return;
|
|
411
|
+
this.is_pending = true;
|
|
412
|
+
this.#pending_effect = branch(() => pending(this.#anchor));
|
|
413
|
+
queue_micro_task(() => {
|
|
414
|
+
var fragment = this.#offscreen_fragment = document.createDocumentFragment();
|
|
415
|
+
var anchor = create_text();
|
|
416
|
+
var handled = false;
|
|
417
|
+
fragment.append(anchor);
|
|
418
|
+
this.#main_effect = this.#run(() => {
|
|
419
|
+
try {
|
|
420
|
+
return branch(() => this.#children(anchor));
|
|
421
|
+
} catch (error) {
|
|
422
|
+
try {
|
|
423
|
+
this.error(error);
|
|
424
|
+
handled = true;
|
|
425
|
+
} catch (error) {
|
|
426
|
+
invoke_error_boundary(error, this.#effect.parent);
|
|
427
|
+
}
|
|
428
|
+
return null;
|
|
429
|
+
}
|
|
430
|
+
});
|
|
431
|
+
if (this.#main_effect === null) {
|
|
432
|
+
this.#offscreen_fragment = null;
|
|
433
|
+
if (handled) this.#resolve(current_batch);
|
|
434
|
+
return;
|
|
435
|
+
}
|
|
436
|
+
if (this.#pending_count === 0) {
|
|
437
|
+
this.#anchor.before(fragment);
|
|
438
|
+
this.#offscreen_fragment = null;
|
|
439
|
+
pause_effect(this.#pending_effect, () => {
|
|
440
|
+
this.#pending_effect = null;
|
|
441
|
+
});
|
|
442
|
+
this.#resolve(current_batch);
|
|
443
|
+
}
|
|
444
|
+
});
|
|
445
|
+
}
|
|
446
|
+
#render() {
|
|
447
|
+
try {
|
|
448
|
+
this.is_pending = this.has_pending_snippet();
|
|
449
|
+
this.#pending_count = 0;
|
|
450
|
+
this.#local_pending_count = 0;
|
|
451
|
+
this.#main_effect = branch(() => {
|
|
452
|
+
this.#children(this.#anchor);
|
|
453
|
+
});
|
|
454
|
+
if (this.#pending_count > 0) {
|
|
455
|
+
var fragment = this.#offscreen_fragment = document.createDocumentFragment();
|
|
456
|
+
move_effect(this.#main_effect, fragment);
|
|
457
|
+
const pending = this.#props.pending;
|
|
458
|
+
this.#pending_effect = branch(() => pending(this.#anchor));
|
|
459
|
+
} else this.#resolve(current_batch);
|
|
460
|
+
} catch (error) {
|
|
461
|
+
this.error(error);
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
/**
|
|
465
|
+
* @param {Batch} batch
|
|
466
|
+
*/
|
|
467
|
+
#resolve(batch) {
|
|
468
|
+
this.is_pending = false;
|
|
469
|
+
batch.transfer_effects(this.#dirty_effects, this.#maybe_dirty_effects);
|
|
470
|
+
}
|
|
471
|
+
/**
|
|
472
|
+
* Defer an effect inside a pending boundary until the boundary resolves
|
|
473
|
+
* @param {Effect} effect
|
|
474
|
+
*/
|
|
475
|
+
defer_effect(effect) {
|
|
476
|
+
defer_effect(effect, this.#dirty_effects, this.#maybe_dirty_effects);
|
|
477
|
+
}
|
|
478
|
+
/**
|
|
479
|
+
* Returns `false` if the effect exists inside a boundary whose pending snippet is shown
|
|
480
|
+
* @returns {boolean}
|
|
481
|
+
*/
|
|
482
|
+
is_rendered() {
|
|
483
|
+
return !this.is_pending && (!this.parent || this.parent.is_rendered());
|
|
484
|
+
}
|
|
485
|
+
has_pending_snippet() {
|
|
486
|
+
return !!this.#props.pending;
|
|
487
|
+
}
|
|
488
|
+
/**
|
|
489
|
+
* @template T
|
|
490
|
+
* @param {() => T} fn
|
|
491
|
+
*/
|
|
492
|
+
#run(fn) {
|
|
493
|
+
var previous_effect = active_effect;
|
|
494
|
+
var previous_reaction = active_reaction;
|
|
495
|
+
var previous_ctx = component_context;
|
|
496
|
+
set_active_effect(this.#effect);
|
|
497
|
+
set_active_reaction(this.#effect);
|
|
498
|
+
set_component_context(this.#effect.ctx);
|
|
499
|
+
try {
|
|
500
|
+
Batch.ensure();
|
|
501
|
+
return fn();
|
|
502
|
+
} finally {
|
|
503
|
+
set_active_effect(previous_effect);
|
|
504
|
+
set_active_reaction(previous_reaction);
|
|
505
|
+
set_component_context(previous_ctx);
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
/**
|
|
509
|
+
* Updates the pending count associated with the currently visible pending snippet,
|
|
510
|
+
* if any, such that we can replace the snippet with content once work is done
|
|
511
|
+
* @param {1 | -1} d
|
|
512
|
+
* @param {Batch} batch
|
|
513
|
+
*/
|
|
514
|
+
#update_pending_count(d, batch) {
|
|
515
|
+
if (!this.has_pending_snippet()) {
|
|
516
|
+
if (this.parent) this.parent.#update_pending_count(d, batch);
|
|
517
|
+
return;
|
|
518
|
+
}
|
|
519
|
+
this.#pending_count += d;
|
|
520
|
+
if (this.#pending_count === 0) {
|
|
521
|
+
this.#resolve(batch);
|
|
522
|
+
if (this.#pending_effect) pause_effect(this.#pending_effect, () => {
|
|
523
|
+
this.#pending_effect = null;
|
|
524
|
+
});
|
|
525
|
+
if (this.#offscreen_fragment) {
|
|
526
|
+
this.#anchor.before(this.#offscreen_fragment);
|
|
527
|
+
this.#offscreen_fragment = null;
|
|
528
|
+
}
|
|
529
|
+
}
|
|
530
|
+
}
|
|
531
|
+
/**
|
|
532
|
+
* Update the source that powers `$effect.pending()` inside this boundary,
|
|
533
|
+
* and controls when the current `pending` snippet (if any) is removed.
|
|
534
|
+
* Do not call from inside the class
|
|
535
|
+
* @param {1 | -1} d
|
|
536
|
+
* @param {Batch} batch
|
|
537
|
+
*/
|
|
538
|
+
update_pending_count(d, batch) {
|
|
539
|
+
this.#update_pending_count(d, batch);
|
|
540
|
+
this.#local_pending_count += d;
|
|
541
|
+
if (!this.#effect_pending || this.#pending_count_update_queued) return;
|
|
542
|
+
this.#pending_count_update_queued = true;
|
|
543
|
+
queue_micro_task(() => {
|
|
544
|
+
this.#pending_count_update_queued = false;
|
|
545
|
+
if (this.#effect_pending) internal_set(this.#effect_pending, this.#local_pending_count);
|
|
546
|
+
});
|
|
547
|
+
}
|
|
548
|
+
get_effect_pending() {
|
|
549
|
+
this.#effect_pending_subscriber();
|
|
550
|
+
return get(this.#effect_pending);
|
|
551
|
+
}
|
|
552
|
+
/** @param {unknown} error */
|
|
553
|
+
error(error) {
|
|
554
|
+
if (!this.#props.onerror && !this.#props.failed) throw error;
|
|
555
|
+
if (current_batch?.is_fork) {
|
|
556
|
+
if (this.#main_effect) current_batch.skip_effect(this.#main_effect);
|
|
557
|
+
if (this.#pending_effect) current_batch.skip_effect(this.#pending_effect);
|
|
558
|
+
if (this.#failed_effect) current_batch.skip_effect(this.#failed_effect);
|
|
559
|
+
current_batch.oncommit(() => {
|
|
560
|
+
this.#handle_error(error);
|
|
561
|
+
});
|
|
562
|
+
} else this.#handle_error(error);
|
|
563
|
+
}
|
|
564
|
+
/**
|
|
565
|
+
* @param {unknown} error
|
|
566
|
+
*/
|
|
567
|
+
#handle_error(error) {
|
|
568
|
+
if (this.#main_effect) {
|
|
569
|
+
destroy_effect(this.#main_effect);
|
|
570
|
+
this.#main_effect = null;
|
|
571
|
+
}
|
|
572
|
+
if (this.#pending_effect) {
|
|
573
|
+
destroy_effect(this.#pending_effect);
|
|
574
|
+
this.#pending_effect = null;
|
|
575
|
+
}
|
|
576
|
+
if (this.#failed_effect) {
|
|
577
|
+
destroy_effect(this.#failed_effect);
|
|
578
|
+
this.#failed_effect = null;
|
|
579
|
+
}
|
|
580
|
+
if (hydrating) {
|
|
581
|
+
set_hydrate_node(this.#hydrate_open);
|
|
582
|
+
next();
|
|
583
|
+
set_hydrate_node(skip_nodes());
|
|
584
|
+
}
|
|
585
|
+
let failed = this.#props.failed;
|
|
586
|
+
/** @param {unknown} transformed_error */
|
|
587
|
+
const handle_error_result = (transformed_error) => {
|
|
588
|
+
const { reset, invoke_onerror } = this.#create_reset(transformed_error);
|
|
589
|
+
invoke_onerror();
|
|
590
|
+
if (failed) this.#failed_effect = this.#run(() => {
|
|
591
|
+
try {
|
|
592
|
+
return branch(() => {
|
|
593
|
+
var effect = active_effect;
|
|
594
|
+
effect.b = this;
|
|
595
|
+
effect.f |= 128;
|
|
596
|
+
failed(this.#anchor, () => transformed_error, () => reset);
|
|
597
|
+
});
|
|
598
|
+
} catch (error) {
|
|
599
|
+
invoke_error_boundary(error, this.#effect.parent);
|
|
600
|
+
return null;
|
|
601
|
+
}
|
|
602
|
+
});
|
|
603
|
+
};
|
|
604
|
+
queue_micro_task(() => {
|
|
605
|
+
/** @type {unknown} */
|
|
606
|
+
var result;
|
|
607
|
+
try {
|
|
608
|
+
result = this.transform_error(error);
|
|
609
|
+
} catch (e) {
|
|
610
|
+
invoke_error_boundary(e, this.#effect && this.#effect.parent);
|
|
611
|
+
return;
|
|
612
|
+
}
|
|
613
|
+
if (result !== null && typeof result === "object" && typeof result.then === "function")
|
|
614
|
+
/** @type {any} */ result.then(
|
|
615
|
+
handle_error_result,
|
|
616
|
+
/** @param {unknown} e */
|
|
617
|
+
(e) => invoke_error_boundary(e, this.#effect && this.#effect.parent)
|
|
618
|
+
);
|
|
619
|
+
else handle_error_result(result);
|
|
620
|
+
});
|
|
621
|
+
}
|
|
622
|
+
};
|
|
623
|
+
/**
|
|
624
|
+
* Mounts a component to the given target and returns the exports and potentially the props (if compiled with `accessors: true`) of the component.
|
|
625
|
+
* Transitions will play during the initial render unless the `intro` option is set to `false`.
|
|
626
|
+
*
|
|
627
|
+
* @template {Record<string, any>} Props
|
|
628
|
+
* @template {Record<string, any>} Exports
|
|
629
|
+
* @param {ComponentType<SvelteComponent<Props>> | Component<Props, Exports, any>} component
|
|
630
|
+
* @param {MountOptions<Props>} options
|
|
631
|
+
* @returns {Exports}
|
|
632
|
+
*/
|
|
633
|
+
function mount(component, options) {
|
|
634
|
+
return _mount(component, options);
|
|
635
|
+
}
|
|
636
|
+
/**
|
|
637
|
+
* Hydrates a component on the given target and returns the exports and potentially the props (if compiled with `accessors: true`) of the component
|
|
638
|
+
*
|
|
639
|
+
* @template {Record<string, any>} Props
|
|
640
|
+
* @template {Record<string, any>} Exports
|
|
641
|
+
* @param {ComponentType<SvelteComponent<Props>> | Component<Props, Exports, any>} component
|
|
642
|
+
* @param {{} extends Props ? {
|
|
643
|
+
* target: Document | Element | ShadowRoot;
|
|
644
|
+
* props?: Props;
|
|
645
|
+
* events?: Record<string, (e: any) => any>;
|
|
646
|
+
* context?: Map<any, any>;
|
|
647
|
+
* intro?: boolean;
|
|
648
|
+
* recover?: boolean;
|
|
649
|
+
* transformError?: (error: unknown) => unknown;
|
|
650
|
+
* } : {
|
|
651
|
+
* target: Document | Element | ShadowRoot;
|
|
652
|
+
* props: Props;
|
|
653
|
+
* events?: Record<string, (e: any) => any>;
|
|
654
|
+
* context?: Map<any, any>;
|
|
655
|
+
* intro?: boolean;
|
|
656
|
+
* recover?: boolean;
|
|
657
|
+
* transformError?: (error: unknown) => unknown;
|
|
658
|
+
* }} options
|
|
659
|
+
* @returns {Exports}
|
|
660
|
+
*/
|
|
661
|
+
function hydrate(component, options) {
|
|
662
|
+
init_operations();
|
|
663
|
+
options.intro = options.intro ?? false;
|
|
664
|
+
const target = options.target;
|
|
665
|
+
const was_hydrating = hydrating;
|
|
666
|
+
const previous_hydrate_node = hydrate_node;
|
|
667
|
+
try {
|
|
668
|
+
var anchor = /* @__PURE__ */ get_first_child(target);
|
|
669
|
+
while (anchor && (anchor.nodeType !== 8 || anchor.data !== "[")) anchor = /* @__PURE__ */ get_next_sibling(anchor);
|
|
670
|
+
if (!anchor) throw HYDRATION_ERROR;
|
|
671
|
+
set_hydrating(true);
|
|
672
|
+
set_hydrate_node(anchor);
|
|
673
|
+
const instance = _mount(component, {
|
|
674
|
+
...options,
|
|
675
|
+
anchor
|
|
676
|
+
});
|
|
677
|
+
set_hydrating(false);
|
|
678
|
+
return instance;
|
|
679
|
+
} catch (error) {
|
|
680
|
+
if (error instanceof Error && error.message.split("\n").some((line) => line.startsWith("https://svelte.dev/e/"))) throw error;
|
|
681
|
+
if (error !== HYDRATION_ERROR) console.warn("Failed to hydrate: ", error);
|
|
682
|
+
if (options.recover === false) hydration_failed();
|
|
683
|
+
init_operations();
|
|
684
|
+
clear_text_content(target);
|
|
685
|
+
set_hydrating(false);
|
|
686
|
+
return mount(component, options);
|
|
687
|
+
} finally {
|
|
688
|
+
set_hydrating(was_hydrating);
|
|
689
|
+
set_hydrate_node(previous_hydrate_node);
|
|
690
|
+
}
|
|
691
|
+
}
|
|
692
|
+
/** @type {Map<EventTarget, Map<string, number>>} */
|
|
693
|
+
var listeners = /* @__PURE__ */ new Map();
|
|
694
|
+
/**
|
|
695
|
+
* @template {Record<string, any>} Exports
|
|
696
|
+
* @param {ComponentType<SvelteComponent<any>> | Component<any>} Component
|
|
697
|
+
* @param {MountOptions} options
|
|
698
|
+
* @returns {Exports}
|
|
699
|
+
*/
|
|
700
|
+
function _mount(Component, { target, anchor, props = {}, events, context, intro = true, transformError }) {
|
|
701
|
+
init_operations();
|
|
702
|
+
/** @type {Exports} */
|
|
703
|
+
var component = void 0;
|
|
704
|
+
var unmount = component_root(() => {
|
|
705
|
+
var anchor_node = anchor ?? target.appendChild(create_text());
|
|
706
|
+
boundary(anchor_node, { pending: () => {} }, (anchor_node) => {
|
|
707
|
+
push$1({});
|
|
708
|
+
var ctx = component_context;
|
|
709
|
+
if (context) ctx.c = context;
|
|
710
|
+
if (events)
|
|
711
|
+
/** @type {any} */ props.$$events = events;
|
|
712
|
+
if (hydrating) assign_nodes(anchor_node, null);
|
|
713
|
+
component = Component(anchor_node, props) || mark_as_component();
|
|
714
|
+
if (hydrating) {
|
|
715
|
+
/** @type {Effect & { nodes: EffectNodes }} */ active_effect.nodes.end = hydrate_node;
|
|
716
|
+
if (hydrate_node === null || hydrate_node.nodeType !== 8 || hydrate_node.data !== "]") {
|
|
717
|
+
hydration_mismatch();
|
|
718
|
+
throw HYDRATION_ERROR;
|
|
719
|
+
}
|
|
720
|
+
}
|
|
721
|
+
pop$1();
|
|
722
|
+
}, transformError);
|
|
723
|
+
/** @type {Set<string>} */
|
|
724
|
+
var registered_events = /* @__PURE__ */ new Set();
|
|
725
|
+
/** @param {Array<string>} events */
|
|
726
|
+
var event_handle = (events) => {
|
|
727
|
+
for (var i = 0; i < events.length; i++) {
|
|
728
|
+
var event_name = events[i];
|
|
729
|
+
if (registered_events.has(event_name)) continue;
|
|
730
|
+
registered_events.add(event_name);
|
|
731
|
+
var passive = is_passive_event(event_name);
|
|
732
|
+
for (const node of [target, document]) {
|
|
733
|
+
var counts = listeners.get(node);
|
|
734
|
+
if (counts === void 0) {
|
|
735
|
+
counts = /* @__PURE__ */ new Map();
|
|
736
|
+
listeners.set(node, counts);
|
|
737
|
+
}
|
|
738
|
+
var count = counts.get(event_name);
|
|
739
|
+
if (count === void 0) {
|
|
740
|
+
node.addEventListener(event_name, handle_event_propagation, { passive });
|
|
741
|
+
counts.set(event_name, 1);
|
|
742
|
+
} else counts.set(event_name, count + 1);
|
|
743
|
+
}
|
|
744
|
+
}
|
|
745
|
+
};
|
|
746
|
+
event_handle(array_from(all_registered_events));
|
|
747
|
+
root_event_handles.add(event_handle);
|
|
748
|
+
return () => {
|
|
749
|
+
for (var event_name of registered_events) for (const node of [target, document]) {
|
|
750
|
+
var counts = listeners.get(node);
|
|
751
|
+
var count = counts.get(event_name);
|
|
752
|
+
if (--count == 0) {
|
|
753
|
+
node.removeEventListener(event_name, handle_event_propagation);
|
|
754
|
+
counts.delete(event_name);
|
|
755
|
+
if (counts.size === 0) listeners.delete(node);
|
|
756
|
+
} else counts.set(event_name, count);
|
|
757
|
+
}
|
|
758
|
+
root_event_handles.delete(event_handle);
|
|
759
|
+
if (anchor_node !== anchor) anchor_node.parentNode?.removeChild(anchor_node);
|
|
760
|
+
};
|
|
761
|
+
});
|
|
762
|
+
mounted_components.set(component, unmount);
|
|
763
|
+
return component;
|
|
764
|
+
}
|
|
765
|
+
/**
|
|
766
|
+
* References of the components that were mounted or hydrated.
|
|
767
|
+
* Uses a `WeakMap` to avoid memory leaks.
|
|
768
|
+
*/
|
|
769
|
+
var mounted_components = /* @__PURE__ */ new WeakMap();
|
|
770
|
+
/**
|
|
771
|
+
* Unmounts a component that was previously mounted using `mount` or `hydrate`.
|
|
772
|
+
*
|
|
773
|
+
* Since 5.13.0, if `options.outro` is `true`, [transitions](https://svelte.dev/docs/svelte/transition) will play before the component is removed from the DOM.
|
|
774
|
+
*
|
|
775
|
+
* Returns a `Promise` that resolves after transitions have completed if `options.outro` is true, or immediately otherwise (prior to 5.13.0, returns `void`).
|
|
776
|
+
*
|
|
777
|
+
* ```js
|
|
778
|
+
* import { mount, unmount } from 'svelte';
|
|
779
|
+
* import App from './App.svelte';
|
|
780
|
+
*
|
|
781
|
+
* const app = mount(App, { target: document.body });
|
|
782
|
+
*
|
|
783
|
+
* // later...
|
|
784
|
+
* unmount(app, { outro: true });
|
|
785
|
+
* ```
|
|
786
|
+
* @param {Record<string, any>} component
|
|
787
|
+
* @param {{ outro?: boolean }} [options]
|
|
788
|
+
* @returns {Promise<void>}
|
|
789
|
+
*/
|
|
790
|
+
function unmount(component, options) {
|
|
791
|
+
const fn = mounted_components.get(component);
|
|
792
|
+
if (fn) {
|
|
793
|
+
mounted_components.delete(component);
|
|
794
|
+
return fn(options);
|
|
795
|
+
}
|
|
796
|
+
return Promise.resolve();
|
|
797
|
+
}
|
|
798
|
+
/**
|
|
799
|
+
* Takes the component function and returns a Svelte 4 compatible component constructor.
|
|
800
|
+
*
|
|
801
|
+
* @deprecated Use this only as a temporary solution to migrate your imperative component code to Svelte 5.
|
|
802
|
+
*
|
|
803
|
+
* @template {Record<string, any>} Props
|
|
804
|
+
* @template {Record<string, any>} Exports
|
|
805
|
+
* @template {Record<string, any>} Events
|
|
806
|
+
* @template {Record<string, any>} Slots
|
|
807
|
+
*
|
|
808
|
+
* @param {SvelteComponent<Props, Events, Slots> | Component<Props>} component
|
|
809
|
+
* @returns {ComponentType<SvelteComponent<Props, Events, Slots> & Exports>}
|
|
810
|
+
*/
|
|
811
|
+
function asClassComponent$1(component) {
|
|
812
|
+
return class extends Svelte4Component {
|
|
813
|
+
/** @param {any} options */
|
|
814
|
+
constructor(options) {
|
|
815
|
+
super({
|
|
816
|
+
component,
|
|
817
|
+
...options
|
|
818
|
+
});
|
|
819
|
+
}
|
|
820
|
+
};
|
|
821
|
+
}
|
|
822
|
+
/**
|
|
823
|
+
* Support using the component as both a class and function during the transition period
|
|
824
|
+
* @typedef {{new (o: ComponentConstructorOptions): SvelteComponent;(...args: Parameters<Component<Record<string, any>>>): ReturnType<Component<Record<string, any>, Record<string, any>>>;}} LegacyComponentType
|
|
825
|
+
*/
|
|
826
|
+
var Svelte4Component = class {
|
|
827
|
+
/** @type {any} */
|
|
828
|
+
#events;
|
|
829
|
+
/** @type {Record<string, any>} */
|
|
830
|
+
#instance;
|
|
831
|
+
/**
|
|
832
|
+
* @param {ComponentConstructorOptions & {
|
|
833
|
+
* component: any;
|
|
834
|
+
* }} options
|
|
835
|
+
*/
|
|
836
|
+
constructor(options) {
|
|
837
|
+
var sources = /* @__PURE__ */ new Map();
|
|
838
|
+
/**
|
|
839
|
+
* @param {string | symbol} key
|
|
840
|
+
* @param {unknown} value
|
|
841
|
+
*/
|
|
842
|
+
var add_source = (key, value) => {
|
|
843
|
+
var s = /* @__PURE__ */ mutable_source(value, false, false);
|
|
844
|
+
sources.set(key, s);
|
|
845
|
+
return s;
|
|
846
|
+
};
|
|
847
|
+
const props = new Proxy({
|
|
848
|
+
...options.props || {},
|
|
849
|
+
$$events: {}
|
|
850
|
+
}, {
|
|
851
|
+
get(target, prop) {
|
|
852
|
+
return get(sources.get(prop) ?? add_source(prop, Reflect.get(target, prop)));
|
|
853
|
+
},
|
|
854
|
+
has(target, prop) {
|
|
855
|
+
if (prop === LEGACY_PROPS) return true;
|
|
856
|
+
get(sources.get(prop) ?? add_source(prop, Reflect.get(target, prop)));
|
|
857
|
+
return Reflect.has(target, prop);
|
|
858
|
+
},
|
|
859
|
+
set(target, prop, value) {
|
|
860
|
+
set(sources.get(prop) ?? add_source(prop, value), value);
|
|
861
|
+
return Reflect.set(target, prop, value);
|
|
862
|
+
}
|
|
863
|
+
});
|
|
864
|
+
this.#instance = (options.hydrate ? hydrate : mount)(options.component, {
|
|
865
|
+
target: options.target,
|
|
866
|
+
anchor: options.anchor,
|
|
867
|
+
props,
|
|
868
|
+
context: options.context,
|
|
869
|
+
intro: options.intro ?? false,
|
|
870
|
+
recover: options.recover,
|
|
871
|
+
transformError: options.transformError
|
|
872
|
+
});
|
|
873
|
+
if ((!options?.props?.$$host || options.sync === false)) flushSync();
|
|
874
|
+
this.#events = props.$$events;
|
|
875
|
+
for (const key of Object.keys(this.#instance)) {
|
|
876
|
+
if (key === "$set" || key === "$destroy" || key === "$on") continue;
|
|
877
|
+
define_property(this, key, {
|
|
878
|
+
get() {
|
|
879
|
+
return this.#instance[key];
|
|
880
|
+
},
|
|
881
|
+
/** @param {any} value */
|
|
882
|
+
set(value) {
|
|
883
|
+
this.#instance[key] = value;
|
|
884
|
+
},
|
|
885
|
+
enumerable: true
|
|
886
|
+
});
|
|
887
|
+
}
|
|
888
|
+
this.#instance.$set = (next) => {
|
|
889
|
+
Object.assign(props, next);
|
|
890
|
+
};
|
|
891
|
+
this.#instance.$destroy = () => {
|
|
892
|
+
unmount(this.#instance);
|
|
893
|
+
};
|
|
894
|
+
}
|
|
895
|
+
/** @param {Record<string, any>} props */
|
|
896
|
+
$set(props) {
|
|
897
|
+
this.#instance.$set(props);
|
|
898
|
+
}
|
|
899
|
+
/**
|
|
900
|
+
* @param {string} event
|
|
901
|
+
* @param {(...args: any[]) => any} callback
|
|
902
|
+
* @returns {any}
|
|
903
|
+
*/
|
|
904
|
+
$on(event, callback) {
|
|
905
|
+
this.#events[event] = this.#events[event] || [];
|
|
906
|
+
/** @param {any[]} args */
|
|
907
|
+
const cb = (...args) => callback.call(this, ...args);
|
|
908
|
+
this.#events[event].push(cb);
|
|
909
|
+
return () => {
|
|
910
|
+
this.#events[event] = this.#events[event].filter(
|
|
911
|
+
/** @param {any} fn */
|
|
912
|
+
(fn) => fn !== cb
|
|
913
|
+
);
|
|
914
|
+
};
|
|
915
|
+
}
|
|
916
|
+
$destroy() {
|
|
917
|
+
this.#instance.$destroy();
|
|
918
|
+
}
|
|
919
|
+
};
|
|
920
|
+
//#endregion
|
|
921
|
+
//#region node_modules/.pnpm/svelte@5.57.1_@typescript-eslint+types@8.70.1/node_modules/svelte/src/legacy/legacy-server.js
|
|
922
|
+
/** @import { SvelteComponent } from '../index.js' */
|
|
923
|
+
/** @import { Csp } from '../server/public.js' */
|
|
924
|
+
/** @typedef {{ head: string, html: string, css: { code: string, map: null }; hashes?: { script: `sha256-${string}`[] } }} LegacyRenderResult */
|
|
925
|
+
/**
|
|
926
|
+
* Takes a Svelte 5 component and returns a Svelte 4 compatible component constructor.
|
|
927
|
+
*
|
|
928
|
+
* @deprecated Use this only as a temporary solution to migrate your imperative component code to Svelte 5.
|
|
929
|
+
*
|
|
930
|
+
* @template {Record<string, any>} Props
|
|
931
|
+
* @template {Record<string, any>} Exports
|
|
932
|
+
* @template {Record<string, any>} Events
|
|
933
|
+
* @template {Record<string, any>} Slots
|
|
934
|
+
*
|
|
935
|
+
* @param {SvelteComponent<Props, Events, Slots>} component
|
|
936
|
+
* @returns {typeof SvelteComponent<Props, Events, Slots> & Exports}
|
|
937
|
+
*/
|
|
938
|
+
function asClassComponent(component) {
|
|
939
|
+
const component_constructor = asClassComponent$1(component);
|
|
940
|
+
/** @type {(props?: {}, opts?: { $$slots?: {}; context?: Map<any, any>; csp?: Csp; transformError?: (error: unknown) => unknown }) => LegacyRenderResult & PromiseLike<LegacyRenderResult> } */
|
|
941
|
+
const _render = (props, { context, csp, transformError } = {}) => {
|
|
942
|
+
const result = render(component, {
|
|
943
|
+
props,
|
|
944
|
+
context,
|
|
945
|
+
csp,
|
|
946
|
+
transformError
|
|
947
|
+
});
|
|
948
|
+
const munged = Object.defineProperties({}, {
|
|
949
|
+
css: { value: {
|
|
950
|
+
code: "",
|
|
951
|
+
map: null
|
|
952
|
+
} },
|
|
953
|
+
head: { get: () => result.head },
|
|
954
|
+
html: { get: () => result.body },
|
|
955
|
+
then: {
|
|
956
|
+
/**
|
|
957
|
+
* this is not type-safe, but honestly it's the best I can do right now, and it's a straightforward function.
|
|
958
|
+
*
|
|
959
|
+
* @template TResult1
|
|
960
|
+
* @template [TResult2=never]
|
|
961
|
+
* @param { (value: LegacyRenderResult) => TResult1 } onfulfilled
|
|
962
|
+
* @param { (reason: unknown) => TResult2 } onrejected
|
|
963
|
+
*/
|
|
964
|
+
value: (onfulfilled, onrejected) => {
|
|
965
|
+
{
|
|
966
|
+
const user_result = onfulfilled({
|
|
967
|
+
css: munged.css,
|
|
968
|
+
head: munged.head,
|
|
969
|
+
html: munged.html
|
|
970
|
+
});
|
|
971
|
+
return Promise.resolve(user_result);
|
|
972
|
+
}
|
|
973
|
+
} }
|
|
974
|
+
});
|
|
975
|
+
return munged;
|
|
976
|
+
};
|
|
977
|
+
component_constructor.render = _render;
|
|
978
|
+
return component_constructor;
|
|
979
|
+
}
|
|
980
|
+
//#endregion
|
|
981
|
+
//#region .svelte-kit/generated/root.svelte
|
|
982
|
+
function Root($$renderer, $$props) {
|
|
983
|
+
$$renderer.component(($$renderer) => {
|
|
984
|
+
let { stores, page, constructors, components = [], form, data_0 = null, data_1 = null, data_2 = null } = $$props;
|
|
985
|
+
setContext("__svelte__", stores);
|
|
986
|
+
stores.page.set(page);
|
|
987
|
+
const Pyramid_2 = derived(() => constructors[2]);
|
|
988
|
+
if (constructors[1]) {
|
|
989
|
+
$$renderer.push("<!--[0-->");
|
|
990
|
+
const Pyramid_0 = constructors[0];
|
|
991
|
+
if (Pyramid_0) {
|
|
992
|
+
$$renderer.push("<!--[-->");
|
|
993
|
+
Pyramid_0($$renderer, {
|
|
994
|
+
data: data_0,
|
|
995
|
+
form,
|
|
996
|
+
params: page.params,
|
|
997
|
+
children: ($$renderer) => {
|
|
998
|
+
if (constructors[2]) {
|
|
999
|
+
$$renderer.push("<!--[0-->");
|
|
1000
|
+
const Pyramid_1 = constructors[1];
|
|
1001
|
+
if (Pyramid_1) {
|
|
1002
|
+
$$renderer.push("<!--[-->");
|
|
1003
|
+
Pyramid_1($$renderer, {
|
|
1004
|
+
data: data_1,
|
|
1005
|
+
form,
|
|
1006
|
+
params: page.params,
|
|
1007
|
+
children: ($$renderer) => {
|
|
1008
|
+
if (Pyramid_2()) {
|
|
1009
|
+
$$renderer.push("<!--[-->");
|
|
1010
|
+
Pyramid_2()($$renderer, {
|
|
1011
|
+
data: data_2,
|
|
1012
|
+
form,
|
|
1013
|
+
params: page.params
|
|
1014
|
+
});
|
|
1015
|
+
$$renderer.push("<!--]-->");
|
|
1016
|
+
} else {
|
|
1017
|
+
$$renderer.push("<!--[!-->");
|
|
1018
|
+
$$renderer.push("<!--]-->");
|
|
1019
|
+
}
|
|
1020
|
+
},
|
|
1021
|
+
$$slots: { default: true }
|
|
1022
|
+
});
|
|
1023
|
+
$$renderer.push("<!--]-->");
|
|
1024
|
+
} else {
|
|
1025
|
+
$$renderer.push("<!--[!-->");
|
|
1026
|
+
$$renderer.push("<!--]-->");
|
|
1027
|
+
}
|
|
1028
|
+
} else {
|
|
1029
|
+
$$renderer.push("<!--[-1-->");
|
|
1030
|
+
const Pyramid_1 = constructors[1];
|
|
1031
|
+
if (Pyramid_1) {
|
|
1032
|
+
$$renderer.push("<!--[-->");
|
|
1033
|
+
Pyramid_1($$renderer, {
|
|
1034
|
+
data: data_1,
|
|
1035
|
+
form,
|
|
1036
|
+
params: page.params
|
|
1037
|
+
});
|
|
1038
|
+
$$renderer.push("<!--]-->");
|
|
1039
|
+
} else {
|
|
1040
|
+
$$renderer.push("<!--[!-->");
|
|
1041
|
+
$$renderer.push("<!--]-->");
|
|
1042
|
+
}
|
|
1043
|
+
}
|
|
1044
|
+
$$renderer.push(`<!--]-->`);
|
|
1045
|
+
},
|
|
1046
|
+
$$slots: { default: true }
|
|
1047
|
+
});
|
|
1048
|
+
$$renderer.push("<!--]-->");
|
|
1049
|
+
} else {
|
|
1050
|
+
$$renderer.push("<!--[!-->");
|
|
1051
|
+
$$renderer.push("<!--]-->");
|
|
1052
|
+
}
|
|
1053
|
+
} else {
|
|
1054
|
+
$$renderer.push("<!--[-1-->");
|
|
1055
|
+
const Pyramid_0 = constructors[0];
|
|
1056
|
+
if (Pyramid_0) {
|
|
1057
|
+
$$renderer.push("<!--[-->");
|
|
1058
|
+
Pyramid_0($$renderer, {
|
|
1059
|
+
data: data_0,
|
|
1060
|
+
form,
|
|
1061
|
+
params: page.params
|
|
1062
|
+
});
|
|
1063
|
+
$$renderer.push("<!--]-->");
|
|
1064
|
+
} else {
|
|
1065
|
+
$$renderer.push("<!--[!-->");
|
|
1066
|
+
$$renderer.push("<!--]-->");
|
|
1067
|
+
}
|
|
1068
|
+
}
|
|
1069
|
+
$$renderer.push(`<!--]--> `);
|
|
1070
|
+
$$renderer.push("<!--[-1-->");
|
|
1071
|
+
$$renderer.push(`<!--]-->`);
|
|
1072
|
+
});
|
|
1073
|
+
}
|
|
1074
|
+
//#endregion
|
|
1075
|
+
//#region .svelte-kit/generated/root.js
|
|
1076
|
+
var root_default = asClassComponent(Root);
|
|
1077
|
+
//#endregion
|
|
1078
|
+
//#region .svelte-kit/generated/shared/error-template.js
|
|
1079
|
+
var error_template_default = ({ status, message }) => "<!doctype html>\n<html lang=\"en\">\n <head>\n <meta charset=\"utf-8\" />\n <title>" + message + "</title>\n\n <style>\n body {\n --bg: white;\n --fg: #222;\n --divider: #ccc;\n background: var(--bg);\n color: var(--fg);\n font-family:\n system-ui,\n -apple-system,\n BlinkMacSystemFont,\n 'Segoe UI',\n Roboto,\n Oxygen,\n Ubuntu,\n Cantarell,\n 'Open Sans',\n 'Helvetica Neue',\n sans-serif;\n display: flex;\n align-items: center;\n justify-content: center;\n height: 100vh;\n margin: 0;\n }\n\n .error {\n display: flex;\n align-items: center;\n max-width: 32rem;\n margin: 0 1rem;\n }\n\n .status {\n font-weight: 200;\n font-size: 3rem;\n line-height: 1;\n position: relative;\n top: -0.05rem;\n }\n\n .message {\n border-left: 1px solid var(--divider);\n padding: 0 0 0 1rem;\n margin: 0 0 0 1rem;\n min-height: 2.5rem;\n display: flex;\n align-items: center;\n }\n\n .message h1 {\n font-weight: 400;\n font-size: 1em;\n margin: 0;\n }\n\n @media (prefers-color-scheme: dark) {\n body {\n --bg: #222;\n --fg: #ddd;\n --divider: #666;\n }\n }\n </style>\n </head>\n <body>\n <div class=\"error\">\n <span class=\"status\">" + status + "</span>\n <div class=\"message\">\n <h1>" + message + "</h1>\n </div>\n </div>\n </body>\n</html>\n";
|
|
1080
|
+
//#endregion
|
|
1081
|
+
//#region .svelte-kit/generated/server/internal.js
|
|
1082
|
+
var options = {
|
|
1083
|
+
app_template_contains_nonce: false,
|
|
1084
|
+
async: false,
|
|
1085
|
+
csp: {
|
|
1086
|
+
"mode": "auto",
|
|
1087
|
+
"directives": {
|
|
1088
|
+
"upgrade-insecure-requests": false,
|
|
1089
|
+
"block-all-mixed-content": false
|
|
1090
|
+
},
|
|
1091
|
+
"reportOnly": {
|
|
1092
|
+
"upgrade-insecure-requests": false,
|
|
1093
|
+
"block-all-mixed-content": false
|
|
1094
|
+
}
|
|
1095
|
+
},
|
|
1096
|
+
csrf_check_origin: true,
|
|
1097
|
+
csrf_trusted_origins: [],
|
|
1098
|
+
embedded: false,
|
|
1099
|
+
env_public_prefix: "PUBLIC_",
|
|
1100
|
+
env_private_prefix: "",
|
|
1101
|
+
hash_routing: false,
|
|
1102
|
+
hooks: null,
|
|
1103
|
+
preload_strategy: "modulepreload",
|
|
1104
|
+
root: root_default,
|
|
1105
|
+
service_worker: false,
|
|
1106
|
+
service_worker_options: void 0,
|
|
1107
|
+
server_error_boundaries: false,
|
|
1108
|
+
templates: {
|
|
1109
|
+
app: ({ head, body, assets, nonce, env }) => "<!doctype html>\n<html lang=\"%nolune.lang%\">\n <head>\n <meta charset=\"utf-8\" />\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />\n <meta name=\"text-scale\" content=\"scale\" />\n " + head + "\n </head>\n <body data-sveltekit-preload-data=\"hover\">\n <div style=\"display: contents\">" + body + "</div>\n </body>\n</html>\n",
|
|
1110
|
+
error: error_template_default
|
|
1111
|
+
},
|
|
1112
|
+
version_hash: "gla2jg"
|
|
1113
|
+
};
|
|
1114
|
+
async function get_hooks() {
|
|
1115
|
+
let handle;
|
|
1116
|
+
let handleFetch;
|
|
1117
|
+
let handleError;
|
|
1118
|
+
let handleValidationError;
|
|
1119
|
+
let init;
|
|
1120
|
+
({handle, handleFetch, handleError, handleValidationError, init} = await import('../entries/hooks.server.js-CA451orY.js'));
|
|
1121
|
+
let reroute;
|
|
1122
|
+
let transport;
|
|
1123
|
+
return {
|
|
1124
|
+
handle,
|
|
1125
|
+
handleFetch,
|
|
1126
|
+
handleError,
|
|
1127
|
+
handleValidationError,
|
|
1128
|
+
init,
|
|
1129
|
+
reroute,
|
|
1130
|
+
transport
|
|
1131
|
+
};
|
|
1132
|
+
}
|
|
1133
|
+
|
|
1134
|
+
export { set_public_env as a, set_read_implementation as b, private_env as c, on as d, get_hooks as g, options as o, public_env as p, read_implementation as r, set_private_env as s };
|
|
1135
|
+
//# sourceMappingURL=internal2.js-BJdu5v6t.js.map
|