@axium/server 0.25.0 → 0.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/client/_app/immutable/chunks/46qGscyh.js +2 -0
- package/build/client/_app/immutable/chunks/46qGscyh.js.br +0 -0
- package/build/client/_app/immutable/chunks/46qGscyh.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B2Vkpbkw.js +2 -0
- package/build/client/_app/immutable/chunks/B2Vkpbkw.js.br +0 -0
- package/build/client/_app/immutable/chunks/B2Vkpbkw.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BKixenYx.js +1 -0
- package/build/client/_app/immutable/chunks/BKixenYx.js.br +0 -0
- package/build/client/_app/immutable/chunks/BKixenYx.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BLtAtlP3.js +1 -0
- package/build/client/_app/immutable/chunks/BLtAtlP3.js.br +2 -0
- package/build/client/_app/immutable/chunks/BLtAtlP3.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BNTlty5m.js +1 -0
- package/build/client/_app/immutable/chunks/BNTlty5m.js.br +0 -0
- package/build/client/_app/immutable/chunks/BNTlty5m.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Beh6Ec8J.js +1 -0
- package/build/client/_app/immutable/chunks/Beh6Ec8J.js.br +0 -0
- package/build/client/_app/immutable/chunks/Beh6Ec8J.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BrUe-Qen.js +1 -0
- package/build/client/_app/immutable/chunks/BrUe-Qen.js.br +0 -0
- package/build/client/_app/immutable/chunks/BrUe-Qen.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Bs4cD_pX.js +1 -0
- package/build/client/_app/immutable/chunks/Bs4cD_pX.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bs4cD_pX.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C62F-tXu.js +1 -0
- package/build/client/_app/immutable/chunks/C62F-tXu.js.br +1 -0
- package/build/client/_app/immutable/chunks/C62F-tXu.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CUBtP2L9.js +23 -0
- package/build/client/_app/immutable/chunks/CUBtP2L9.js.br +0 -0
- package/build/client/_app/immutable/chunks/CUBtP2L9.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CoYD6HNm.js +1 -0
- package/build/client/_app/immutable/chunks/CoYD6HNm.js.br +0 -0
- package/build/client/_app/immutable/chunks/CoYD6HNm.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D40Zn55h.js +1 -0
- package/build/client/_app/immutable/chunks/D40Zn55h.js.br +0 -0
- package/build/client/_app/immutable/chunks/D40Zn55h.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DW7-1esk.js +21 -0
- package/build/client/_app/immutable/chunks/DW7-1esk.js.br +0 -0
- package/build/client/_app/immutable/chunks/DW7-1esk.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DvOBbqVY.js +1 -0
- package/build/client/_app/immutable/chunks/DvOBbqVY.js.br +0 -0
- package/build/client/_app/immutable/chunks/DvOBbqVY.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DwZYWemd.js +1 -0
- package/build/client/_app/immutable/chunks/DwZYWemd.js.br +0 -0
- package/build/client/_app/immutable/chunks/DwZYWemd.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Dy2Ho0cF.js +1 -0
- package/build/client/_app/immutable/chunks/Dy2Ho0cF.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dy2Ho0cF.js.gz +0 -0
- package/build/client/_app/immutable/chunks/FTv0qR3w.js +1 -0
- package/build/client/_app/immutable/chunks/FTv0qR3w.js.br +0 -0
- package/build/client/_app/immutable/chunks/FTv0qR3w.js.gz +0 -0
- package/build/client/_app/immutable/chunks/NeK0YGoY.js +1 -0
- package/build/client/_app/immutable/chunks/NeK0YGoY.js.br +0 -0
- package/build/client/_app/immutable/chunks/NeK0YGoY.js.gz +0 -0
- package/build/client/_app/immutable/chunks/aArGsq9c.js +1 -0
- package/build/client/_app/immutable/chunks/aArGsq9c.js.br +0 -0
- package/build/client/_app/immutable/chunks/aArGsq9c.js.gz +0 -0
- package/build/client/_app/immutable/chunks/lH47zGKU.js +1 -0
- package/build/client/_app/immutable/chunks/lH47zGKU.js.br +0 -0
- package/build/client/_app/immutable/chunks/lH47zGKU.js.gz +0 -0
- package/build/client/_app/immutable/chunks/sMHjBQqw.js +1 -0
- package/build/client/_app/immutable/chunks/sMHjBQqw.js.br +0 -0
- package/build/client/_app/immutable/chunks/sMHjBQqw.js.gz +0 -0
- package/build/client/_app/immutable/chunks/vQfHcJV6.js +2 -0
- package/build/client/_app/immutable/chunks/vQfHcJV6.js.br +0 -0
- package/build/client/_app/immutable/chunks/vQfHcJV6.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.pLVZKpSD.js +2 -0
- package/build/client/_app/immutable/entry/app.pLVZKpSD.js.br +0 -0
- package/build/client/_app/immutable/entry/app.pLVZKpSD.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.CUaVsIrY.js +1 -0
- package/build/client/_app/immutable/entry/start.CUaVsIrY.js.br +2 -0
- package/build/client/_app/immutable/entry/start.CUaVsIrY.js.gz +0 -0
- package/build/client/_app/immutable/nodes/0.D7hET-Bq.js +1 -0
- package/build/client/_app/immutable/nodes/0.D7hET-Bq.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.D7hET-Bq.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.BWU-JJm_.js +1 -0
- package/build/client/_app/immutable/nodes/1.BWU-JJm_.js.br +2 -0
- package/build/client/_app/immutable/nodes/1.BWU-JJm_.js.gz +0 -0
- package/build/client/_app/immutable/nodes/10.C5N2XBee.js +1 -0
- package/build/client/_app/immutable/nodes/10.C5N2XBee.js.br +0 -0
- package/build/client/_app/immutable/nodes/10.C5N2XBee.js.gz +0 -0
- package/build/client/_app/immutable/nodes/11.CerbuSAv.js +1 -0
- package/build/client/_app/immutable/nodes/11.CerbuSAv.js.br +0 -0
- package/build/client/_app/immutable/nodes/11.CerbuSAv.js.gz +0 -0
- package/build/client/_app/immutable/nodes/12.Z4B9zS78.js +1 -0
- package/build/client/_app/immutable/nodes/12.Z4B9zS78.js.br +0 -0
- package/build/client/_app/immutable/nodes/12.Z4B9zS78.js.gz +0 -0
- package/build/client/_app/immutable/nodes/13.CuICShck.js +1 -0
- package/build/client/_app/immutable/nodes/13.CuICShck.js.br +0 -0
- package/build/client/_app/immutable/nodes/13.CuICShck.js.gz +0 -0
- package/build/client/_app/immutable/nodes/14.BSEF5oaF.js +1 -0
- package/build/client/_app/immutable/nodes/14.BSEF5oaF.js.br +0 -0
- package/build/client/_app/immutable/nodes/14.BSEF5oaF.js.gz +0 -0
- package/build/client/_app/immutable/nodes/15.D1nsmo6j.js +1 -0
- package/build/client/_app/immutable/nodes/15.D1nsmo6j.js.br +0 -0
- package/build/client/_app/immutable/nodes/15.D1nsmo6j.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.DQ1JcYgz.js +1 -0
- package/build/client/_app/immutable/nodes/2.DQ1JcYgz.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.DQ1JcYgz.js.gz +0 -0
- package/build/client/_app/immutable/nodes/3.BJp2JEtW.js +1 -0
- package/build/client/_app/immutable/nodes/3.BJp2JEtW.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.BJp2JEtW.js.gz +0 -0
- package/build/client/_app/immutable/nodes/4.Cvn_QsIx.js +1 -0
- package/build/client/_app/immutable/nodes/4.Cvn_QsIx.js.br +0 -0
- package/build/client/_app/immutable/nodes/4.Cvn_QsIx.js.gz +0 -0
- package/build/client/_app/immutable/nodes/5.DgPP9GX3.js +1 -0
- package/build/client/_app/immutable/nodes/5.DgPP9GX3.js.br +0 -0
- package/build/client/_app/immutable/nodes/5.DgPP9GX3.js.gz +0 -0
- package/build/client/_app/immutable/nodes/6.DKIzms8i.js +2 -0
- package/build/client/_app/immutable/nodes/6.DKIzms8i.js.br +0 -0
- package/build/client/_app/immutable/nodes/6.DKIzms8i.js.gz +0 -0
- package/build/client/_app/immutable/nodes/7.3UigVXV4.js +1 -0
- package/build/client/_app/immutable/nodes/7.3UigVXV4.js.br +0 -0
- package/build/client/_app/immutable/nodes/7.3UigVXV4.js.gz +0 -0
- package/build/client/_app/immutable/nodes/8.B8s2TdNQ.js +1 -0
- package/build/client/_app/immutable/nodes/8.B8s2TdNQ.js.br +0 -0
- package/build/client/_app/immutable/nodes/8.B8s2TdNQ.js.gz +0 -0
- package/build/client/_app/immutable/nodes/9.LBMMe2kc.js +1 -0
- package/build/client/_app/immutable/nodes/9.LBMMe2kc.js.br +0 -0
- package/build/client/_app/immutable/nodes/9.LBMMe2kc.js.gz +0 -0
- package/build/client/_app/version.json +1 -1
- package/build/client/_app/version.json.br +0 -0
- package/build/client/_app/version.json.gz +0 -0
- package/build/client/styles.css +21 -0
- package/build/client/styles.css.br +0 -0
- package/build/client/styles.css.gz +0 -0
- package/build/server/chunks/{0-CZBaNtSI.js → 0-CNbALTKz.js} +2 -2
- package/build/server/chunks/0-CNbALTKz.js.map +1 -0
- package/build/server/chunks/1-Dgxy393u.js +9 -0
- package/build/server/chunks/1-Dgxy393u.js.map +1 -0
- package/build/server/chunks/10-DovmbqKa.js +14 -0
- package/build/server/chunks/10-DovmbqKa.js.map +1 -0
- package/build/server/chunks/11-CRK_ubcl.js +14 -0
- package/build/server/chunks/11-CRK_ubcl.js.map +1 -0
- package/build/server/chunks/12-SbQlwMfe.js +9 -0
- package/build/server/chunks/12-SbQlwMfe.js.map +1 -0
- package/build/server/chunks/13-CbniIW7F.js +14 -0
- package/build/server/chunks/13-CbniIW7F.js.map +1 -0
- package/build/server/chunks/14-D9Vb_8Yx.js +9 -0
- package/build/server/chunks/14-D9Vb_8Yx.js.map +1 -0
- package/build/server/chunks/15-D-75Hdef.js +9 -0
- package/build/server/chunks/15-D-75Hdef.js.map +1 -0
- package/build/server/chunks/2-57exN8ae.js +14 -0
- package/build/server/chunks/2-57exN8ae.js.map +1 -0
- package/build/server/chunks/{3-B1CwnVF_.js → 3-DNQft-pY.js} +2 -2
- package/build/server/chunks/{3-B1CwnVF_.js.map → 3-DNQft-pY.js.map} +1 -1
- package/build/server/chunks/4-D9Bwp-f8.js +14 -0
- package/build/server/chunks/4-D9Bwp-f8.js.map +1 -0
- package/build/server/chunks/5-COEQwZNP.js +14 -0
- package/build/server/chunks/5-COEQwZNP.js.map +1 -0
- package/build/server/chunks/6-RT4yiDcP.js +14 -0
- package/build/server/chunks/6-RT4yiDcP.js.map +1 -0
- package/build/server/chunks/7-CVqF_r5D.js +14 -0
- package/build/server/chunks/7-CVqF_r5D.js.map +1 -0
- package/build/server/chunks/8-C5SO-sVH.js +14 -0
- package/build/server/chunks/8-C5SO-sVH.js.map +1 -0
- package/build/server/chunks/9-DoCOKtY-.js +14 -0
- package/build/server/chunks/9-DoCOKtY-.js.map +1 -0
- package/build/server/chunks/FormDialog-ZCY0chY1.js +102 -0
- package/build/server/chunks/FormDialog-ZCY0chY1.js.map +1 -0
- package/build/server/chunks/{Icon-CG7XnWX5.js → Icon-BVo9qbDf.js} +2 -2
- package/build/server/chunks/{Icon-CG7XnWX5.js.map → Icon-BVo9qbDf.js.map} +1 -1
- package/build/server/chunks/{Logout-BwzK1P29.js → Logout-CmBZgu0j.js} +4 -3
- package/build/server/chunks/{Logout-BwzK1P29.js.map → Logout-CmBZgu0j.js.map} +1 -1
- package/build/server/chunks/{_layout.svelte-9KMUotip.js → _layout.svelte-DuS006VZ.js} +6 -4
- package/build/server/chunks/_layout.svelte-DuS006VZ.js.map +1 -0
- package/build/server/chunks/_page.svelte-BFVobcI7.js +14 -0
- package/build/server/chunks/{_page.svelte-Bou2_u6i.js.map → _page.svelte-BFVobcI7.js.map} +1 -1
- package/build/server/chunks/{_page.svelte-rrN2zFNa.js → _page.svelte-B_cvhWJS.js} +4 -4
- package/build/server/chunks/_page.svelte-B_cvhWJS.js.map +1 -0
- package/build/server/chunks/{_page.svelte-BD3HmLo_.js → _page.svelte-BriaBR9l.js} +3 -3
- package/build/server/chunks/_page.svelte-BriaBR9l.js.map +1 -0
- package/build/server/chunks/{_page.svelte-CAzWL4aq.js → _page.svelte-BtQQzT7H.js} +12 -6
- package/build/server/chunks/_page.svelte-BtQQzT7H.js.map +1 -0
- package/build/server/chunks/{_page.svelte-BIxxuzff.js → _page.svelte-C8D3c3yB.js} +4 -4
- package/build/server/chunks/_page.svelte-C8D3c3yB.js.map +1 -0
- package/build/server/chunks/{_page.svelte-cAsZlwLs.js → _page.svelte-CVSb9eHQ.js} +4 -4
- package/build/server/chunks/_page.svelte-CVSb9eHQ.js.map +1 -0
- package/build/server/chunks/{_page.svelte-BFzPdJ6z.js → _page.svelte-CwRjZqL7.js} +9 -7
- package/build/server/chunks/_page.svelte-CwRjZqL7.js.map +1 -0
- package/build/server/chunks/{_page.svelte-DgyZKeaF.js → _page.svelte-D9A9RYjx.js} +10 -8
- package/build/server/chunks/_page.svelte-D9A9RYjx.js.map +1 -0
- package/build/server/chunks/_page.svelte-DGhwqWMM.js +34 -0
- package/build/server/chunks/_page.svelte-DGhwqWMM.js.map +1 -0
- package/build/server/chunks/{_page.svelte-Ci5V-DhL.js → _page.svelte-DTvnX95_.js} +10 -7
- package/build/server/chunks/_page.svelte-DTvnX95_.js.map +1 -0
- package/build/server/chunks/{_page.svelte-C25oQ2NT.js → _page.svelte-DUfwpXfC.js} +51 -9
- package/build/server/chunks/_page.svelte-DUfwpXfC.js.map +1 -0
- package/build/server/chunks/{_page.svelte-CnfRSJsl.js → _page.svelte-DxDoD3rZ.js} +3 -3
- package/build/server/chunks/_page.svelte-DxDoD3rZ.js.map +1 -0
- package/build/server/chunks/{account-BZSP6KBP.js → account-Bf_llRe2.js} +6 -5
- package/build/server/chunks/{account-BZSP6KBP.js.map → account-Bf_llRe2.js.map} +1 -1
- package/build/server/chunks/auth_redirect-olBYiIF2.js +24 -0
- package/build/server/chunks/auth_redirect-olBYiIF2.js.map +1 -0
- package/build/server/chunks/{error.svelte-DTrQqomO.js → error.svelte-CkSCwrMJ.js} +2 -2
- package/build/server/chunks/error.svelte-CkSCwrMJ.js.map +1 -0
- package/build/server/chunks/{index-DJrm8BZm.js → index-CIEcmmdN.js} +57 -11
- package/build/server/chunks/index-CIEcmmdN.js.map +1 -0
- package/build/server/chunks/{index-eKiDBuyI.js → index-Tt4zVDIZ.js} +25 -8
- package/build/server/chunks/index-Tt4zVDIZ.js.map +1 -0
- package/build/server/chunks/{user2-Coq3Frtw.js → user2-CRfK67II.js} +9 -102
- package/build/server/chunks/user2-CRfK67II.js.map +1 -0
- package/build/server/chunks/{utils-DlBYhQz7.js → utils-h74ns7K6.js} +1 -2
- package/build/server/chunks/utils-h74ns7K6.js.map +1 -0
- package/build/server/index.js +573 -202
- package/build/server/index.js.map +1 -1
- package/build/server/manifest.js +26 -18
- package/build/server/manifest.js.map +1 -1
- package/dist/acl.js +1 -1
- package/dist/api/admin.js +20 -3
- package/dist/api/metadata.js +3 -3
- package/dist/api/users.js +4 -1
- package/dist/audit.d.ts +1 -0
- package/dist/audit.js +3 -3
- package/dist/cli.js +511 -541
- package/dist/config.d.ts +6 -6
- package/dist/config.js +25 -13
- package/dist/database.js +7 -6
- package/dist/io.d.ts +0 -50
- package/dist/io.js +23 -171
- package/dist/linking.js +4 -4
- package/dist/requests.d.ts +5 -1
- package/dist/requests.js +4 -2
- package/dist/routes.js +3 -3
- package/dist/serve.d.ts +4 -0
- package/dist/serve.js +13 -8
- package/package.json +5 -5
- package/routes/admin/+layout.ts +2 -0
- package/routes/admin/audit/+page.svelte +23 -2
- package/routes/admin/audit/+page.ts +4 -2
- package/routes/login/client/+page.svelte +72 -0
- package/routes/login/client/+page.ts +27 -0
- package/build/client/_app/immutable/chunks/1taVrT-y.js +0 -1
- package/build/client/_app/immutable/chunks/1taVrT-y.js.br +0 -0
- package/build/client/_app/immutable/chunks/1taVrT-y.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BSFUgC2l.js +0 -23
- package/build/client/_app/immutable/chunks/BSFUgC2l.js.br +0 -0
- package/build/client/_app/immutable/chunks/BSFUgC2l.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Bbzjahjl.js +0 -2
- package/build/client/_app/immutable/chunks/Bbzjahjl.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bbzjahjl.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BxjargW5.js +0 -1
- package/build/client/_app/immutable/chunks/BxjargW5.js.br +0 -0
- package/build/client/_app/immutable/chunks/BxjargW5.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C2ewTgu8.js +0 -1
- package/build/client/_app/immutable/chunks/C2ewTgu8.js.br +0 -0
- package/build/client/_app/immutable/chunks/C2ewTgu8.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CFWAHLsq.js +0 -1
- package/build/client/_app/immutable/chunks/CFWAHLsq.js.br +0 -0
- package/build/client/_app/immutable/chunks/CFWAHLsq.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CPL43v-I.js +0 -1
- package/build/client/_app/immutable/chunks/CPL43v-I.js.br +0 -0
- package/build/client/_app/immutable/chunks/CPL43v-I.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CTKC36WM.js +0 -1
- package/build/client/_app/immutable/chunks/CTKC36WM.js.br +0 -0
- package/build/client/_app/immutable/chunks/CTKC36WM.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CekH6JMP.js +0 -1
- package/build/client/_app/immutable/chunks/CekH6JMP.js.br +0 -0
- package/build/client/_app/immutable/chunks/CekH6JMP.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CqfYW08-.js +0 -1
- package/build/client/_app/immutable/chunks/CqfYW08-.js.br +0 -0
- package/build/client/_app/immutable/chunks/CqfYW08-.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D1v6O410.js +0 -1
- package/build/client/_app/immutable/chunks/D1v6O410.js.br +0 -0
- package/build/client/_app/immutable/chunks/D1v6O410.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DdnE6dyJ.js +0 -2
- package/build/client/_app/immutable/chunks/DdnE6dyJ.js.br +0 -0
- package/build/client/_app/immutable/chunks/DdnE6dyJ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DeieCYM0.js +0 -22
- package/build/client/_app/immutable/chunks/DeieCYM0.js.br +0 -0
- package/build/client/_app/immutable/chunks/DeieCYM0.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DfUzlYF5.js +0 -1
- package/build/client/_app/immutable/chunks/DfUzlYF5.js.br +0 -0
- package/build/client/_app/immutable/chunks/DfUzlYF5.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Dnk28BpG.js +0 -1
- package/build/client/_app/immutable/chunks/Dnk28BpG.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dnk28BpG.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DsnmJJEf.js +0 -1
- package/build/client/_app/immutable/chunks/DsnmJJEf.js.br +0 -2
- package/build/client/_app/immutable/chunks/DsnmJJEf.js.gz +0 -0
- package/build/client/_app/immutable/chunks/KNAS5R2A.js +0 -3
- package/build/client/_app/immutable/chunks/KNAS5R2A.js.br +0 -0
- package/build/client/_app/immutable/chunks/KNAS5R2A.js.gz +0 -0
- package/build/client/_app/immutable/chunks/eyJgPND9.js +0 -1
- package/build/client/_app/immutable/chunks/eyJgPND9.js.br +0 -1
- package/build/client/_app/immutable/chunks/eyJgPND9.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.CPF6A_DV.js +0 -2
- package/build/client/_app/immutable/entry/app.CPF6A_DV.js.br +0 -0
- package/build/client/_app/immutable/entry/app.CPF6A_DV.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.Dos_Ttds.js +0 -1
- package/build/client/_app/immutable/entry/start.Dos_Ttds.js.br +0 -2
- package/build/client/_app/immutable/entry/start.Dos_Ttds.js.gz +0 -0
- package/build/client/_app/immutable/nodes/0.C5HgTRfT.js +0 -1
- package/build/client/_app/immutable/nodes/0.C5HgTRfT.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.C5HgTRfT.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.CGcgSoA9.js +0 -1
- package/build/client/_app/immutable/nodes/1.CGcgSoA9.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.CGcgSoA9.js.gz +0 -0
- package/build/client/_app/immutable/nodes/10.ukScuXwz.js +0 -1
- package/build/client/_app/immutable/nodes/10.ukScuXwz.js.br +0 -5
- package/build/client/_app/immutable/nodes/10.ukScuXwz.js.gz +0 -0
- package/build/client/_app/immutable/nodes/11.D3RDNx7M.js +0 -1
- package/build/client/_app/immutable/nodes/11.D3RDNx7M.js.br +0 -0
- package/build/client/_app/immutable/nodes/11.D3RDNx7M.js.gz +0 -0
- package/build/client/_app/immutable/nodes/12._vvpCcSG.js +0 -1
- package/build/client/_app/immutable/nodes/12._vvpCcSG.js.br +0 -0
- package/build/client/_app/immutable/nodes/12._vvpCcSG.js.gz +0 -0
- package/build/client/_app/immutable/nodes/13.BWPzZMQ5.js +0 -1
- package/build/client/_app/immutable/nodes/13.BWPzZMQ5.js.br +0 -0
- package/build/client/_app/immutable/nodes/13.BWPzZMQ5.js.gz +0 -0
- package/build/client/_app/immutable/nodes/14.Cr843Lep.js +0 -1
- package/build/client/_app/immutable/nodes/14.Cr843Lep.js.br +0 -0
- package/build/client/_app/immutable/nodes/14.Cr843Lep.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.DUpwDjw8.js +0 -1
- package/build/client/_app/immutable/nodes/2.DUpwDjw8.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.DUpwDjw8.js.gz +0 -0
- package/build/client/_app/immutable/nodes/3.DPH7xl7M.js +0 -1
- package/build/client/_app/immutable/nodes/3.DPH7xl7M.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.DPH7xl7M.js.gz +0 -0
- package/build/client/_app/immutable/nodes/4.Bk0knTIK.js +0 -1
- package/build/client/_app/immutable/nodes/4.Bk0knTIK.js.br +0 -0
- package/build/client/_app/immutable/nodes/4.Bk0knTIK.js.gz +0 -0
- package/build/client/_app/immutable/nodes/5.DwnZ1Bh8.js +0 -1
- package/build/client/_app/immutable/nodes/5.DwnZ1Bh8.js.br +0 -0
- package/build/client/_app/immutable/nodes/5.DwnZ1Bh8.js.gz +0 -0
- package/build/client/_app/immutable/nodes/6.5U-KxFgt.js +0 -2
- package/build/client/_app/immutable/nodes/6.5U-KxFgt.js.br +0 -0
- package/build/client/_app/immutable/nodes/6.5U-KxFgt.js.gz +0 -0
- package/build/client/_app/immutable/nodes/7.DFc4sJix.js +0 -1
- package/build/client/_app/immutable/nodes/7.DFc4sJix.js.br +0 -0
- package/build/client/_app/immutable/nodes/7.DFc4sJix.js.gz +0 -0
- package/build/client/_app/immutable/nodes/8.BG4bv5P5.js +0 -1
- package/build/client/_app/immutable/nodes/8.BG4bv5P5.js.br +0 -0
- package/build/client/_app/immutable/nodes/8.BG4bv5P5.js.gz +0 -0
- package/build/client/_app/immutable/nodes/9.BKljyhOi.js +0 -1
- package/build/client/_app/immutable/nodes/9.BKljyhOi.js.br +0 -0
- package/build/client/_app/immutable/nodes/9.BKljyhOi.js.gz +0 -0
- package/build/server/chunks/0-CZBaNtSI.js.map +0 -1
- package/build/server/chunks/1-D_3BtEbe.js +0 -9
- package/build/server/chunks/1-D_3BtEbe.js.map +0 -1
- package/build/server/chunks/10-CLkNMKHU.js +0 -13
- package/build/server/chunks/10-CLkNMKHU.js.map +0 -1
- package/build/server/chunks/11-5xPYR_1w.js +0 -13
- package/build/server/chunks/11-5xPYR_1w.js.map +0 -1
- package/build/server/chunks/12-N7UaQj7u.js +0 -9
- package/build/server/chunks/12-N7UaQj7u.js.map +0 -1
- package/build/server/chunks/13-QYVLpXli.js +0 -9
- package/build/server/chunks/13-QYVLpXli.js.map +0 -1
- package/build/server/chunks/14-CPY578rT.js +0 -9
- package/build/server/chunks/14-CPY578rT.js.map +0 -1
- package/build/server/chunks/2-_1jFrcvz.js +0 -13
- package/build/server/chunks/2-_1jFrcvz.js.map +0 -1
- package/build/server/chunks/4-CcxCcH4F.js +0 -13
- package/build/server/chunks/4-CcxCcH4F.js.map +0 -1
- package/build/server/chunks/5-CrlH6VoB.js +0 -13
- package/build/server/chunks/5-CrlH6VoB.js.map +0 -1
- package/build/server/chunks/6-FkP678Uz.js +0 -13
- package/build/server/chunks/6-FkP678Uz.js.map +0 -1
- package/build/server/chunks/7-B1iCe7VA.js +0 -13
- package/build/server/chunks/7-B1iCe7VA.js.map +0 -1
- package/build/server/chunks/8-p6n9G-P_.js +0 -13
- package/build/server/chunks/8-p6n9G-P_.js.map +0 -1
- package/build/server/chunks/9-fc3lKB7X.js +0 -13
- package/build/server/chunks/9-fc3lKB7X.js.map +0 -1
- package/build/server/chunks/_layout.svelte-9KMUotip.js.map +0 -1
- package/build/server/chunks/_page.svelte-BD3HmLo_.js.map +0 -1
- package/build/server/chunks/_page.svelte-BFzPdJ6z.js.map +0 -1
- package/build/server/chunks/_page.svelte-BIxxuzff.js.map +0 -1
- package/build/server/chunks/_page.svelte-Bou2_u6i.js +0 -13
- package/build/server/chunks/_page.svelte-C25oQ2NT.js.map +0 -1
- package/build/server/chunks/_page.svelte-CAzWL4aq.js.map +0 -1
- package/build/server/chunks/_page.svelte-Ci5V-DhL.js.map +0 -1
- package/build/server/chunks/_page.svelte-CnfRSJsl.js.map +0 -1
- package/build/server/chunks/_page.svelte-DgyZKeaF.js.map +0 -1
- package/build/server/chunks/_page.svelte-cAsZlwLs.js.map +0 -1
- package/build/server/chunks/_page.svelte-rrN2zFNa.js.map +0 -1
- package/build/server/chunks/error.svelte-DTrQqomO.js.map +0 -1
- package/build/server/chunks/index-DJrm8BZm.js.map +0 -1
- package/build/server/chunks/index-eKiDBuyI.js.map +0 -1
- package/build/server/chunks/user2-Coq3Frtw.js.map +0 -1
- package/build/server/chunks/utils-DlBYhQz7.js.map +0 -1
- package/dist/apps.d.ts +0 -6
- package/dist/apps.js +0 -6
- package/dist/plugins.d.ts +0 -14
- package/dist/plugins.js +0 -64
- /package/{axiumd.service → axium.service} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{c as l,g as u,ak as h,M as v,al as E,am as g,h as i,k as n,a as m,C as T,an as w,s as N}from"./BrUe-Qen.js";function p(e){var r=document.createElement("template");return r.innerHTML=e.replaceAll("<!>","<!---->"),r.content}function a(e,r){var t=v;t.nodes_start===null&&(t.nodes_start=e,t.nodes_end=r)}function C(e,r){var t=(r&E)!==0,_=(r&g)!==0,s,d=!e.startsWith("<!>");return()=>{if(i)return a(n,null),n;s===void 0&&(s=p(d?e:"<!>"+e),t||(s=u(s)));var o=_||h?document.importNode(s,!0):s.cloneNode(!0);if(t){var c=u(o),f=o.lastChild;a(c,f)}else a(o,o);return o}}function M(e,r,t="svg"){var _=!e.startsWith("<!>"),s=`<${t}>${_?e:"<!>"+e}</${t}>`,d;return()=>{if(i)return a(n,null),n;if(!d){var o=p(s),c=u(o);d=u(c)}var f=d.cloneNode(!0);return a(f,f),f}}function O(e,r){return M(e,r,"svg")}function $(e=""){if(!i){var r=l(e+"");return a(r,r),r}var t=n;return t.nodeType!==w&&(t.before(t=l()),N(t)),a(t,t),t}function b(){if(i)return a(n,null),n;var e=document.createDocumentFragment(),r=document.createComment(""),t=l();return e.append(r,t),a(r,t),e}function A(e,r){if(i){v.nodes_end=n,m();return}e!==null&&e.before(r)}function D(){if(i&&n&&n.nodeType===T&&n.textContent?.startsWith("$")){const e=n.textContent.substring(1);return m(),e}return(window.__svelte??={}).uid??=1,`c${window.__svelte.uid++}`}const x="5";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add(x);export{A as a,O as b,b as c,a as d,C as f,D as p,$ as t};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import{f as g,a as v}from"./D40Zn55h.js";import{N as A,P as B,Q as u,R as b,a0 as K,f as L,a4 as j,U as f,d as z,a3 as V,O as F,a8 as w}from"./BrUe-Qen.js";import{d as W,e as X,s as P}from"./vQfHcJV6.js";import{s as k}from"./aArGsq9c.js";import{i as O}from"./CoYD6HNm.js";import{a as C}from"./lH47zGKU.js";import{a as Y,b as Z,c as $}from"./46qGscyh.js";import{p as l,r as E,s as ee}from"./DvOBbqVY.js";import{b as te}from"./C62F-tXu.js";var ae=g("<dialog><!></dialog>");const oe={hash:"svelte-1bkt9ng",code:`dialog.svelte-1bkt9ng {border-radius:1em;background:var(--bg-menu);border:1px solid #8888;padding:1em;}dialog.svelte-1bkt9ng::backdrop {background:#0003;}dialog[open].svelte-1bkt9ng {
|
|
2
|
+
animation: svelte-1bkt9ng-zoom 0.25s cubic-bezier(0.35, 1.55, 0.65, 1);}
|
|
3
|
+
|
|
4
|
+
@keyframes svelte-1bkt9ng-zoom {
|
|
5
|
+
from {
|
|
6
|
+
transform: scale(0.95);
|
|
7
|
+
}
|
|
8
|
+
to {
|
|
9
|
+
transform: scale(1);
|
|
10
|
+
}
|
|
11
|
+
}dialog[open].svelte-1bkt9ng::backdrop {
|
|
12
|
+
animation: svelte-1bkt9ng-fade 0.25s ease-out;}
|
|
13
|
+
|
|
14
|
+
@keyframes svelte-1bkt9ng-fade {
|
|
15
|
+
from {
|
|
16
|
+
opacity: 0;
|
|
17
|
+
}
|
|
18
|
+
to {
|
|
19
|
+
opacity: 1;
|
|
20
|
+
}
|
|
21
|
+
}`};function se(d,e){A(e,!0),C(d,oe);let c=l(e,"dialog",15),s=E(e,["$$slots","$$events","$$legacy","children","dialog"]);var r=ae();Y(r,()=>({...s}),void 0,void 0,void 0,"svelte-1bkt9ng");var h=u(r);k(h,()=>e.children),b(r),te(r,y=>c(y),()=>c()),v(d,r),B()}var re=g('<button type="submit"> </button>'),ne=g('<div class="error"> </div>'),ie=g('<div class="actions svelte-m5w2se"><button type="button">Cancel</button> <!></div>'),le=g('<!> <form class="main" method="dialog"><!> <!> <!></form> <!>',1);const de={hash:"svelte-m5w2se",code:".actions.svelte-m5w2se {display:flex;gap:1em;flex-direction:row;justify-content:space-between;}"};function ke(d,e){A(e,!0),C(d,de);const c=t=>{var n=re(),a=u(n,!0);b(n),F(()=>{Z(n,1,$(["submit",N()&&"danger"])),P(a,r())}),v(t,n)};let s=l(e,"dialog",15),r=l(e,"submitText",3,"Submit"),h=l(e,"cancel",3,()=>{}),y=l(e,"submit",3,t=>Promise.resolve()),x=l(e,"pageMode",3,!1),N=l(e,"submitDanger",3,!1),Q=E(e,["$$slots","$$events","$$legacy","children","dialog","submitText","cancel","submit","pageMode","submitDanger","header","footer"]),m=V(void 0);K(()=>{x()&&s().showModal()});function R(t){t.preventDefault(),h()()}function S(t){t.preventDefault();const n=Object.fromEntries(new FormData(t.currentTarget));y()(n).then(a=>{x()||s().close()}).catch(a=>{a?typeof a=="object"&&"message"in a?w(m,a.message,!0):w(m,a,!0):w(m,"An unknown error occurred")})}se(d,ee({onclose:R},()=>Q,{get dialog(){return s()},set dialog(t){s(t)},children:(t,n)=>{var a=le(),D=L(a);k(D,()=>e.header??j);var _=f(D,2),M=u(_);{var U=o=>{var i=ne(),p=u(i,!0);b(i),F(()=>P(p,z(m))),v(o,i)};O(M,o=>{z(m)&&o(U)})}var T=f(M,2);k(T,()=>e.children);var q=f(T,2);{var G=o=>{c(o)},H=o=>{var i=ie(),p=u(i);p.__click=()=>s().close();var J=f(p,2);c(J),b(i),v(o,i)};O(q,o=>{x()?o(G):o(H,!1)})}b(_);var I=f(_,2);k(I,()=>e.footer??j),X("submit",_,S),v(t,a)},$$slots:{default:!0}})),B()}W(["click"]);export{ke as F};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a9 as g,aa as D,ab as E,d as b,a2 as R,a8 as m,M as L,ac as T,ad as Y,e as j,ae as B,Y as M,af as K,ag as p,Z as O,ah as y,ai as N,aj as U}from"./BrUe-Qen.js";let _=!1;function Z(e){var r=_;try{return _=!1,[e(),_]}finally{_=r}}const $={get(e,r){if(!e.exclude.includes(r))return e.props[r]},set(e,r){return!1},getOwnPropertyDescriptor(e,r){if(!e.exclude.includes(r)&&r in e.props)return{enumerable:!0,configurable:!0,value:e.props[r]}},has(e,r){return e.exclude.includes(r)?!1:r in e.props},ownKeys(e){return Reflect.ownKeys(e.props).filter(r=>!e.exclude.includes(r))}};function C(e,r,t){return new Proxy({props:e,exclude:r},$)}const q={get(e,r){let t=e.props.length;for(;t--;){let n=e.props[t];if(p(n)&&(n=n()),typeof n=="object"&&n!==null&&r in n)return n[r]}},set(e,r,t){let n=e.props.length;for(;n--;){let i=e.props[n];p(i)&&(i=i());const u=g(i,r);if(u&&u.set)return u.set(t),!0}return!1},getOwnPropertyDescriptor(e,r){let t=e.props.length;for(;t--;){let n=e.props[t];if(p(n)&&(n=n()),typeof n=="object"&&n!==null&&r in n){const i=g(n,r);return i&&!i.configurable&&(i.configurable=!0),i}}},has(e,r){if(r===O||r===y)return!1;for(let t of e.props)if(p(t)&&(t=t()),t!=null&&r in t)return!0;return!1},ownKeys(e){const r=[];for(let t of e.props)if(p(t)&&(t=t()),!!t){for(const n in t)r.includes(n)||r.push(n);for(const n of Object.getOwnPropertySymbols(t))r.includes(n)||r.push(n)}return r}};function G(...e){return new Proxy({props:e},q)}function F(e,r,t,n){var i=(t&B)!==0,u=(t&N)!==0,c=n,v=!0,h=()=>(v&&(v=!1,c=u?M(n):n),c),a;if(i){var I=O in e||y in e;a=g(e,r)?.set??(I&&r in e?s=>e[r]=s:void 0)}var f,S=!1;i?[f,S]=Z(()=>e[r]):f=e[r],f===void 0&&n!==void 0&&(f=h(),a&&(D(),a(f)));var o;if(o=()=>{var s=e[r];return s===void 0?h():(v=!0,s)},(t&E)===0)return o;if(a){var x=e.$$legacy;return(function(s,d){return arguments.length>0?((!d||x||S)&&a(d?o():s),s):o()})}var P=!1,l=((t&K)!==0?Y:j)(()=>(P=!1,o()));i&&b(l);var A=L;return(function(s,d){if(arguments.length>0){const w=d?b(l):i?R(s):s;return m(l,w),P=!0,c!==void 0&&(c=w),s}return U&&P||(A.f&T)!==0?l.v:b(l)})}export{F as p,C as r,G as s};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{c as W,b as re,E as Z,s as Y,h as H,g as ne,a as fe,d as U,e as ie,r as le,H as se,i as X,j as g,k as O,C as ue,l as te,m as J,n as ve,o as q,p as B,q as de,t as P,u as _e,v as Q,w as $,x as oe,y as k,z as ce,A as he,I as z,B as pe,D as y,F as Ee,G as me,J as Ae,K as Te,L as Ie,M as we}from"./BrUe-Qen.js";function Ne(l,r){return r}function xe(l,r,e){for(var u=l.items,v=[],d=r.length,s=0;s<d;s++)Ae(r[s].e,v,!0);var h=d>0&&v.length===0&&e!==null;if(h){var A=e.parentNode;Te(A),A.append(e),u.clear(),x(l,r[0].prev,r[d-1].next)}Ie(v,()=>{for(var m=0;m<d;m++){var o=r[m];h||(u.delete(o.k),x(l,o.prev,o.next)),y(o.e,!h)}})}function De(l,r,e,u,v,d=null){var s=l,h={flags:r,items:new Map,first:null},A=(r&Z)!==0;if(A){var m=l;s=H?Y(ne(m)):m.appendChild(W())}H&&fe();var o=null,M=!1,T=new Map,N=ie(()=>{var _=e();return oe(_)?_:_==null?[]:$(_)}),n,t;function i(){Ce(t,n,h,T,s,v,r,u,e),d!==null&&(n.length===0?o?k(o):o=J(()=>d(s)):o!==null&&ce(o,()=>{o=null}))}re(()=>{t??=we,n=U(N);var _=n.length;if(M&&_===0)return;M=_===0;let E=!1;if(H){var I=le(s)===se;I!==(_===0)&&(s=X(),Y(s),g(!1),E=!0)}if(H){for(var C=null,c,a=0;a<_;a++){if(O.nodeType===ue&&O.data===te){s=O,E=!0,g(!1);break}var f=n[a],p=u(f,a);c=K(O,h,C,null,f,p,a,v,r,e),h.items.set(p,c),C=c}_>0&&Y(X())}if(H)_===0&&d&&(o=J(()=>d(s)));else if(ve()){var S=new Set,L=de;for(a=0;a<_;a+=1){f=n[a],p=u(f,a);var D=h.items.get(p)??T.get(p);D?(r&(q|B))!==0&&j(D,f,a,r):(c=K(null,h,null,null,f,p,a,v,r,e,!0),T.set(p,c)),S.add(p)}for(const[w,b]of h.items)S.has(w)||L.skipped_effects.add(b.e);L.oncommit(i)}else i();E&&g(!0),U(N)}),H&&(s=O)}function Ce(l,r,e,u,v,d,s,h,A){var m=(s&Ee)!==0,o=(s&(q|B))!==0,M=r.length,T=e.items,N=e.first,n=N,t,i=null,_,E=[],I=[],C,c,a,f;if(m)for(f=0;f<M;f+=1)C=r[f],c=h(C,f),a=T.get(c),a!==void 0&&(a.a?.measure(),(_??=new Set).add(a));for(f=0;f<M;f+=1){if(C=r[f],c=h(C,f),a=T.get(c),a===void 0){var p=u.get(c);if(p!==void 0){u.delete(c),T.set(c,p);var S=i?i.next:n;x(e,i,p),x(e,p,S),G(p,S,v),i=p}else{var L=n?n.e.nodes_start:v;i=K(L,e,i,i===null?e.first:i.next,C,c,f,d,s,A)}T.set(c,i),E=[],I=[],n=i.next;continue}if(o&&j(a,C,f,s),(a.e.f&z)!==0&&(k(a.e),m&&(a.a?.unfix(),(_??=new Set).delete(a))),a!==n){if(t!==void 0&&t.has(a)){if(E.length<I.length){var D=I[0],w;i=D.prev;var b=E[0],F=E[E.length-1];for(w=0;w<E.length;w+=1)G(E[w],D,v);for(w=0;w<I.length;w+=1)t.delete(I[w]);x(e,b.prev,F.next),x(e,i,b),x(e,F,D),n=D,i=F,f-=1,E=[],I=[]}else t.delete(a),G(a,n,v),x(e,a.prev,a.next),x(e,a,i===null?e.first:i.next),x(e,i,a),i=a;continue}for(E=[],I=[];n!==null&&n.k!==c;)(n.e.f&z)===0&&(t??=new Set).add(n),I.push(n),n=n.next;if(n===null)continue;a=n}E.push(a),i=a,n=a.next}if(n!==null||t!==void 0){for(var R=t===void 0?[]:$(t);n!==null;)(n.e.f&z)===0&&R.push(n),n=n.next;var V=R.length;if(V>0){var ee=(s&Z)!==0&&M===0?v:null;if(m){for(f=0;f<V;f+=1)R[f].a?.measure();for(f=0;f<V;f+=1)R[f].a?.fix()}xe(e,R,ee)}}m&&pe(()=>{if(_!==void 0)for(a of _)a.a?.apply()}),l.first=e.first&&e.first.e,l.last=i&&i.e;for(var ae of u.values())y(ae.e);u.clear()}function j(l,r,e,u){(u&q)!==0&&P(l.v,r),(u&B)!==0?P(l.i,e):l.i=e}function K(l,r,e,u,v,d,s,h,A,m,o){var M=(A&q)!==0,T=(A&he)===0,N=M?T?_e(v,!1,!1):Q(v):v,n=(A&B)===0?s:Q(s),t={i:n,v:N,k:d,a:null,e:null,prev:e,next:u};try{if(l===null){var i=document.createDocumentFragment();i.append(l=W())}return t.e=J(()=>h(l,N,n,m),H),t.e.prev=e&&e.e,t.e.next=u&&u.e,e===null?o||(r.first=t):(e.next=t,e.e.next=t.e),u!==null&&(u.prev=t,u.e.prev=t.e),t}finally{}}function G(l,r,e){for(var u=l.next?l.next.e.nodes_start:e,v=r?r.e.nodes_start:e,d=l.e.nodes_start;d!==null&&d!==u;){var s=me(d);v.before(d),d=s}}function x(l,r,e){r===null?l.first=e:(r.next=e,r.e.next=e&&e.e),e!==null&&(e.prev=r,e.e.prev=r&&r.e)}export{De as e,Ne as i};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as _,c as y,a as m,f as b}from"./D40Zn55h.js";import{N as h,f as P,P as x,Q as i,R as n,U as I,d as a,O}from"./BrUe-Qen.js";import{s as k}from"./vQfHcJV6.js";import{e as L,i as N}from"./DwZYWemd.js";import{a as Q}from"./lH47zGKU.js";import{s as R}from"./46qGscyh.js";import{p as S}from"./DvOBbqVY.js";import{a as c,b as U}from"./CUBtP2L9.js";import{P as q}from"./Bs4cD_pX.js";var w=b('<div class="pref svelte-1j7yjjy"><label> </label> <!></div>');const z={hash:"svelte-1j7yjjy",code:".pref.svelte-1j7yjjy {display:grid;grid-template-columns:1fr 1fr;gap:1em;}"};function K(o,r){const l=_();h(r,!0),Q(o,z);let f=S(r,"preferences",15);var p=y(),d=P(p);L(d,17,()=>Object.keys(c),N,(v,s)=>{var t=w(),e=i(t),u=i(e,!0);n(e);var g=I(e,2);q(g,{get userId(){return r.userId},get path(){return a(s)},get schema(){return c[a(s)]},get preferences(){return f()},set preferences(j){f(j)}}),n(t),O(()=>{R(e,"for",l),k(u,U[a(s)])}),m(v,t)}),m(o,p),x()}export{K as P};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a4 as he,b0 as wt,a3 as U,d as T,a8 as P,aM as ee,b1 as qe,b2 as vt}from"./BrUe-Qen.js";import{o as De}from"./BKixenYx.js";const V=[];function ke(e,t=he){let n=null;const r=new Set;function a(s){if(wt(e,s)&&(e=s,n)){const c=!V.length;for(const l of r)l[1](),V.push(l,e);if(c){for(let l=0;l<V.length;l+=2)V[l][0](V[l+1]);V.length=0}}}function i(s){a(s(e))}function o(s,c=he){const l=[s,c];return r.add(l),r.size===1&&(n=t(a,i)||he),s(e),()=>{r.delete(l),r.size===0&&n&&(n(),n=null)}}return{set:a,update:i,subscribe:o}}class Se{constructor(t,n){this.status=t,typeof n=="string"?this.body={message:n}:n?this.body=n:this.body={message:`Error: ${t}`}}toString(){return JSON.stringify(this.body)}}class Ee{constructor(t,n){this.status=t,this.location=n}}class Re extends Error{constructor(t,n,r){super(r),this.status=t,this.text=n}}new URL("sveltekit-internal://");function yt(e,t){return e==="/"||t==="ignore"?e:t==="never"?e.endsWith("/")?e.slice(0,-1):e:t==="always"&&!e.endsWith("/")?e+"/":e}function bt(e){return e.split("%25").map(decodeURI).join("%25")}function kt(e){for(const t in e)e[t]=decodeURIComponent(e[t]);return e}function pe({href:e}){return e.split("#")[0]}function St(e,t,n,r=!1){const a=new URL(e);Object.defineProperty(a,"searchParams",{value:new Proxy(a.searchParams,{get(o,s){if(s==="get"||s==="getAll"||s==="has")return l=>(n(l),o[s](l));t();const c=Reflect.get(o,s);return typeof c=="function"?c.bind(o):c}}),enumerable:!0,configurable:!0});const i=["href","pathname","search","toString","toJSON"];r&&i.push("hash");for(const o of i)Object.defineProperty(a,o,{get(){return t(),e[o]},enumerable:!0,configurable:!0});return a}function Et(...e){let t=5381;for(const n of e)if(typeof n=="string"){let r=n.length;for(;r;)t=t*33^n.charCodeAt(--r)}else if(ArrayBuffer.isView(n)){const r=new Uint8Array(n.buffer,n.byteOffset,n.byteLength);let a=r.length;for(;a;)t=t*33^r[--a]}else throw new TypeError("value must be a string or TypedArray");return(t>>>0).toString(36)}new TextEncoder;new TextDecoder;function Rt(e){const t=atob(e),n=new Uint8Array(t.length);for(let r=0;r<t.length;r++)n[r]=t.charCodeAt(r);return n}const xt=window.fetch;window.fetch=(e,t)=>((e instanceof Request?e.method:t?.method||"GET")!=="GET"&&G.delete(xe(e)),xt(e,t));const G=new Map;function At(e,t){const n=xe(e,t),r=document.querySelector(n);if(r?.textContent){r.remove();let{body:a,...i}=JSON.parse(r.textContent);const o=r.getAttribute("data-ttl");return o&&G.set(n,{body:a,init:i,ttl:1e3*Number(o)}),r.getAttribute("data-b64")!==null&&(a=Rt(a)),Promise.resolve(new Response(a,i))}return window.fetch(e,t)}function Lt(e,t,n){if(G.size>0){const r=xe(e,n),a=G.get(r);if(a){if(performance.now()<a.ttl&&["default","force-cache","only-if-cached",void 0].includes(n?.cache))return new Response(a.body,a.init);G.delete(r)}}return window.fetch(t,n)}function xe(e,t){let r=`script[data-sveltekit-fetched][data-url=${JSON.stringify(e instanceof Request?e.url:e)}]`;if(t?.headers||t?.body){const a=[];t.headers&&a.push([...new Headers(t.headers)].join(",")),t.body&&(typeof t.body=="string"||ArrayBuffer.isView(t.body))&&a.push(t.body),r+=`[data-hash="${Et(...a)}"]`}return r}const Ut=/^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/;function Tt(e){const t=[];return{pattern:e==="/"?/^\/$/:new RegExp(`^${It(e).map(r=>{const a=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(r);if(a)return t.push({name:a[1],matcher:a[2],optional:!1,rest:!0,chained:!0}),"(?:/([^]*))?";const i=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(r);if(i)return t.push({name:i[1],matcher:i[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!r)return;const o=r.split(/\[(.+?)\](?!\])/);return"/"+o.map((c,l)=>{if(l%2){if(c.startsWith("x+"))return ge(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return ge(String.fromCharCode(...c.slice(2).split("-").map(w=>parseInt(w,16))));const d=Ut.exec(c),[,h,f,u,p]=d;return t.push({name:u,matcher:p,optional:!!h,rest:!!f,chained:f?l===1&&o[0]==="":!1}),f?"([^]*?)":h?"([^/]*)?":"([^/]+?)"}return ge(c)}).join("")}).join("")}/?$`),params:t}}function Pt(e){return e!==""&&!/^\([^)]+\)$/.test(e)}function It(e){return e.slice(1).split("/").filter(Pt)}function Ot(e,t,n){const r={},a=e.slice(1),i=a.filter(s=>s!==void 0);let o=0;for(let s=0;s<t.length;s+=1){const c=t[s];let l=a[s-o];if(c.chained&&c.rest&&o&&(l=a.slice(s-o,s+1).filter(d=>d).join("/"),o=0),l===void 0){c.rest&&(r[c.name]="");continue}if(!c.matcher||n[c.matcher](l)){r[c.name]=l;const d=t[s+1],h=a[s+1];d&&!d.rest&&d.optional&&h&&c.chained&&(o=0),!d&&!h&&Object.keys(r).length===i.length&&(o=0);continue}if(c.optional&&c.chained){o++;continue}return}if(!o)return r}function ge(e){return e.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function $t({nodes:e,server_loads:t,dictionary:n,matchers:r}){const a=new Set(t);return Object.entries(n).map(([s,[c,l,d]])=>{const{pattern:h,params:f}=Tt(s),u={id:s,exec:p=>{const w=h.exec(p);if(w)return Ot(w,f,r)},errors:[1,...d||[]].map(p=>e[p]),layouts:[0,...l||[]].map(o),leaf:i(c)};return u.errors.length=u.layouts.length=Math.max(u.errors.length,u.layouts.length),u});function i(s){const c=s<0;return c&&(s=~s),[c,e[s]]}function o(s){return s===void 0?s:[a.has(s),e[s]]}}function We(e,t=JSON.parse){try{return t(sessionStorage[e])}catch{}}function Ve(e,t,n=JSON.stringify){const r=n(t);try{sessionStorage[e]=r}catch{}}const A=globalThis.__sveltekit_142war7?.base??"",Ct=globalThis.__sveltekit_142war7?.assets??A??"",Nt="1761770569481",Ye="sveltekit:snapshot",Je="sveltekit:scroll",Xe="sveltekit:states",jt="sveltekit:pageurl",K="sveltekit:history",H="sveltekit:navigation",N={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},Ae=location.origin;function Qe(e){if(e instanceof URL)return e;let t=document.baseURI;if(!t){const n=document.getElementsByTagName("base");t=n.length?n[0].href:document.URL}return new URL(e,t)}function le(){return{x:pageXOffset,y:pageYOffset}}function B(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const Be={...N,"":N.hover};function Ze(e){let t=e.assignedSlot??e.parentNode;return t?.nodeType===11&&(t=t.host),t}function et(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=Ze(e)}}function we(e,t,n){let r;try{if(r=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI),n&&r.hash.match(/^#[^/]/)){const s=location.hash.split("#")[1]||"/";r.hash=`#${s}${r.hash}`}}catch{}const a=e instanceof SVGAElement?e.target.baseVal:e.target,i=!r||!!a||ue(r,t,n)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),o=r?.origin===Ae&&e.hasAttribute("download");return{url:r,external:i,target:a,download:o}}function te(e){let t=null,n=null,r=null,a=null,i=null,o=null,s=e;for(;s&&s!==document.documentElement;)r===null&&(r=B(s,"preload-code")),a===null&&(a=B(s,"preload-data")),t===null&&(t=B(s,"keepfocus")),n===null&&(n=B(s,"noscroll")),i===null&&(i=B(s,"reload")),o===null&&(o=B(s,"replacestate")),s=Ze(s);function c(l){switch(l){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:Be[r??"off"],preload_data:Be[a??"off"],keepfocus:c(t),noscroll:c(n),reload:c(i),replace_state:c(o)}}function Ke(e){const t=ke(e);let n=!0;function r(){n=!0,t.update(o=>o)}function a(o){n=!1,t.set(o)}function i(o){let s;return t.subscribe(c=>{(s===void 0||n&&c!==s)&&o(s=c)})}return{notify:r,set:a,subscribe:i}}const tt={v:()=>{}};function qt(){const{set:e,subscribe:t}=ke(!1);let n;async function r(){clearTimeout(n);try{const a=await fetch(`${Ct}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!a.ok)return!1;const o=(await a.json()).version!==Nt;return o&&(e(!0),tt.v(),clearTimeout(n)),o}catch{return!1}}return{subscribe:t,check:r}}function ue(e,t,n){return e.origin!==Ae||!e.pathname.startsWith(t)?!0:n?!(e.pathname===t+"/"||e.pathname===t+"/index.html"||e.protocol==="file:"&&e.pathname.replace(/\/[^/]+\.html?$/,"")===t):!1}function dn(e){}const nt=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...nt];const Dt=new Set([...nt]);[...Dt];function Vt(e){return e.filter(t=>t!=null)}function Le(e){return e instanceof Se||e instanceof Re?e.status:500}function Bt(e){return e instanceof Re?e.text:"Internal Error"}let k,W,me;const Kt=De.toString().includes("$$")||/function \w+\(\) \{\}/.test(De.toString());Kt?(k={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL("https://example.com")},W={current:null},me={current:!1}):(k=new class{#e=U({});get data(){return T(this.#e)}set data(t){P(this.#e,t)}#t=U(null);get form(){return T(this.#t)}set form(t){P(this.#t,t)}#n=U(null);get error(){return T(this.#n)}set error(t){P(this.#n,t)}#r=U({});get params(){return T(this.#r)}set params(t){P(this.#r,t)}#a=U({id:null});get route(){return T(this.#a)}set route(t){P(this.#a,t)}#o=U({});get state(){return T(this.#o)}set state(t){P(this.#o,t)}#s=U(-1);get status(){return T(this.#s)}set status(t){P(this.#s,t)}#i=U(new URL("https://example.com"));get url(){return T(this.#i)}set url(t){P(this.#i,t)}},W=new class{#e=U(null);get current(){return T(this.#e)}set current(t){P(this.#e,t)}},me=new class{#e=U(!1);get current(){return T(this.#e)}set current(t){P(this.#e,t)}},tt.v=()=>me.current=!0);function rt(e){Object.assign(k,e)}const Me={spanContext(){return Mt},setAttribute(){return this},setAttributes(){return this},addEvent(){return this},setStatus(){return this},updateName(){return this},end(){return this},isRecording(){return!1},recordException(){return this},addLink(){return this},addLinks(){return this}},Mt={traceId:"",spanId:"",traceFlags:0},Ft=new Set(["icon","shortcut icon","apple-touch-icon"]),q=We(Je)??{},Y=We(Ye)??{},C={url:Ke({}),page:Ke({}),navigating:ke(null),updated:qt()};function Ue(e){q[e]=le()}function Gt(e,t){let n=e+1;for(;q[n];)delete q[n],n+=1;for(n=t+1;Y[n];)delete Y[n],n+=1}function J(e,t=!1){return t?location.replace(e.href):location.href=e.href,new Promise(()=>{})}async function at(){if("serviceWorker"in navigator){const e=await navigator.serviceWorker.getRegistration(A||"/");e&&await e.update()}}function Fe(){}let Te,ve,ne,I,ye,v;const re=[],ae=[];let R=null;function ot(){R?.fork?.then(e=>e?.discard()),R=null}const Z=new Map,st=new Set,zt=new Set,z=new Set;let _={branch:[],error:null,url:null},it=!1,oe=!1,Ge=!0,X=!1,F=!1,ct=!1,Pe=!1,Ie,y,x,j;const se=new Set,ze=new Map;async function mn(e,t,n){globalThis.__sveltekit_142war7?.data&&globalThis.__sveltekit_142war7.data,document.URL!==location.href&&(location.href=location.href),v=e,await e.hooks.init?.(),Te=$t(e),I=document.documentElement,ye=t,ve=e.nodes[0],ne=e.nodes[1],ve(),ne(),y=history.state?.[K],x=history.state?.[H],y||(y=x=Date.now(),history.replaceState({...history.state,[K]:y,[H]:x},""));const r=q[y];function a(){r&&(history.scrollRestoration="manual",scrollTo(r.x,r.y))}n?(a(),await on(ye,n)):(await M({type:"enter",url:Qe(v.hash?ln(new URL(location.href)):location.href),replace_state:!0}),a()),an()}function Ht(){re.length=0,Pe=!1}function lt(e){ae.some(t=>t?.snapshot)&&(Y[e]=ae.map(t=>t?.snapshot?.capture()))}function ut(e){Y[e]?.forEach((t,n)=>{ae[n]?.snapshot?.restore(t)})}function He(){Ue(y),Ve(Je,q),lt(x),Ve(Ye,Y)}async function Wt(e,t,n,r){let a;t.invalidateAll&&ot(),await M({type:"goto",url:Qe(e),keepfocus:t.keepFocus,noscroll:t.noScroll,replace_state:t.replaceState,state:t.state,redirect_count:n,nav_token:r,accept:()=>{t.invalidateAll&&(Pe=!0,a=[...ze.keys()]),t.invalidate&&t.invalidate.forEach(rn)}}),t.invalidateAll&&ee().then(ee).then(()=>{ze.forEach(({resource:i},o)=>{a?.includes(o)&&i.refresh?.()})})}async function Yt(e){if(e.id!==R?.id){const t={};if(se.add(t),R={id:e.id,token:t,promise:ht({...e,preload:t}).then(n=>(se.delete(t),n.type==="loaded"&&n.state.error&&ot(),n)),fork:null},qe){const n=R;n.fork=n.promise.then(r=>{if(n===R&&r.type==="loaded")try{return qe(()=>{Ie.$set(r.props),rt(r.props.page)})}catch{}return null})}}return R.promise}async function _e(e){const t=(await fe(e,!1))?.route;t&&await Promise.all([...t.layouts,t.leaf].map(n=>n?.[1]()))}async function ft(e,t,n){_=e.state;const r=document.querySelector("style[data-sveltekit]");if(r&&r.remove(),Object.assign(k,e.props.page),Ie=new v.root({target:t,props:{...e.props,stores:C,components:ae},hydrate:n,sync:!1}),await Promise.resolve(),ut(x),n){const a={from:null,to:{params:_.params,route:{id:_.route?.id??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};z.forEach(i=>i(a))}oe=!0}function ie({url:e,params:t,branch:n,status:r,error:a,route:i,form:o}){let s="never";if(A&&(e.pathname===A||e.pathname===A+"/"))s="always";else for(const u of n)u?.slash!==void 0&&(s=u.slash);e.pathname=yt(e.pathname,s),e.search=e.search;const c={type:"loaded",state:{url:e,params:t,branch:n,error:a,route:i},props:{constructors:Vt(n).map(u=>u.node.component),page:je(k)}};o!==void 0&&(c.props.form=o);let l={},d=!k,h=0;for(let u=0;u<Math.max(n.length,_.branch.length);u+=1){const p=n[u],w=_.branch[u];p?.data!==w?.data&&(d=!0),p&&(l={...l,...p.data},d&&(c.props[`data_${h}`]=l),h+=1)}return(!_.url||e.href!==_.url.href||_.error!==a||o!==void 0&&o!==k.form||d)&&(c.props.page={error:a,params:t,route:{id:i?.id??null},state:{},status:r,url:new URL(e),form:o??null,data:d?l:k.data}),c}async function Oe({loader:e,parent:t,url:n,params:r,route:a,server_data_node:i}){let o=null,s=!0;const c={dependencies:new Set,params:new Set,parent:!1,route:!1,url:!1,search_params:new Set},l=await e();if(l.universal?.load){let d=function(...f){for(const u of f){const{href:p}=new URL(u,n);c.dependencies.add(p)}};const h={tracing:{enabled:!1,root:Me,current:Me},route:new Proxy(a,{get:(f,u)=>(s&&(c.route=!0),f[u])}),params:new Proxy(r,{get:(f,u)=>(s&&c.params.add(u),f[u])}),data:i?.data??null,url:St(n,()=>{s&&(c.url=!0)},f=>{s&&c.search_params.add(f)},v.hash),async fetch(f,u){f instanceof Request&&(u={body:f.method==="GET"||f.method==="HEAD"?void 0:await f.blob(),cache:f.cache,credentials:f.credentials,headers:[...f.headers].length>0?f?.headers:void 0,integrity:f.integrity,keepalive:f.keepalive,method:f.method,mode:f.mode,redirect:f.redirect,referrer:f.referrer,referrerPolicy:f.referrerPolicy,signal:f.signal,...u});const{resolved:p,promise:w}=dt(f,u,n);return s&&d(p.href),w},setHeaders:()=>{},depends:d,parent(){return s&&(c.parent=!0),t()},untrack(f){s=!1;try{return f()}finally{s=!0}}};o=await l.universal.load.call(null,h)??null}return{node:l,loader:e,server:i,universal:l.universal?.load?{type:"data",data:o,uses:c}:null,data:o??i?.data??null,slash:l.universal?.trailingSlash??i?.slash}}function dt(e,t,n){let r=e instanceof Request?e.url:e;const a=new URL(r,n);a.origin===n.origin&&(r=a.href.slice(n.origin.length));const i=oe?Lt(r,a.href,t):At(r,t);return{resolved:a,promise:i}}function Jt(e,t,n,r,a,i){if(Pe)return!0;if(!a)return!1;if(a.parent&&e||a.route&&t||a.url&&n)return!0;for(const o of a.search_params)if(r.has(o))return!0;for(const o of a.params)if(i[o]!==_.params[o])return!0;for(const o of a.dependencies)if(re.some(s=>s(new URL(o))))return!0;return!1}function $e(e,t){return e?.type==="data"?e:e?.type==="skip"?t??null:null}function Xt(e,t){if(!e)return new Set(t.searchParams.keys());const n=new Set([...e.searchParams.keys(),...t.searchParams.keys()]);for(const r of n){const a=e.searchParams.getAll(r),i=t.searchParams.getAll(r);a.every(o=>i.includes(o))&&i.every(o=>a.includes(o))&&n.delete(r)}return n}function Qt({error:e,url:t,route:n,params:r}){return{type:"loaded",state:{error:e,url:t,route:n,params:r,branch:[]},props:{page:je(k),constructors:[]}}}async function ht({id:e,invalidating:t,url:n,params:r,route:a,preload:i}){if(R?.id===e)return se.delete(R.token),R.promise;const{errors:o,layouts:s,leaf:c}=a,l=[...s,c];o.forEach(m=>m?.().catch(()=>{})),l.forEach(m=>m?.[1]().catch(()=>{}));const d=_.url?e!==ce(_.url):!1,h=_.route?a.id!==_.route.id:!1,f=Xt(_.url,n);let u=!1;const p=l.map(async(m,g)=>{if(!m)return;const S=_.branch[g];return m[1]===S?.loader&&!Jt(u,h,d,f,S.universal?.uses,r)?S:(u=!0,Oe({loader:m[1],url:n,params:r,route:a,parent:async()=>{const O={};for(let L=0;L<g;L+=1)Object.assign(O,(await p[L])?.data);return O},server_data_node:$e(m[0]?{type:"skip"}:null,m[0]?S?.server:void 0)}))});for(const m of p)m.catch(()=>{});const w=[];for(let m=0;m<l.length;m+=1)if(l[m])try{w.push(await p[m])}catch(g){if(g instanceof Ee)return{type:"redirect",location:g.location};if(se.has(i))return Qt({error:await Q(g,{params:r,url:n,route:{id:a.id}}),url:n,params:r,route:a});let S=Le(g),E;if(g instanceof Se)E=g.body;else{if(await C.updated.check())return await at(),await J(n);E=await Q(g,{params:r,url:n,route:{id:a.id}})}const O=await Zt(m,w,o);return O?ie({url:n,params:r,branch:w.slice(0,O.idx).concat(O.node),status:S,error:E,route:a}):await gt(n,{id:a.id},E,S)}else w.push(void 0);return ie({url:n,params:r,branch:w,status:200,error:null,route:a,form:t?void 0:null})}async function Zt(e,t,n){for(;e--;)if(n[e]){let r=e;for(;!t[r];)r-=1;try{return{idx:r+1,node:{node:await n[e](),loader:n[e],data:{},server:null,universal:null}}}catch{continue}}}async function Ce({status:e,error:t,url:n,route:r}){const a={};let i=null;try{const o=await Oe({loader:ve,url:n,params:a,route:r,parent:()=>Promise.resolve({}),server_data_node:$e(i)}),s={node:await ne(),loader:ne,universal:null,server:null,data:null};return ie({url:n,params:a,branch:[o,s],status:e,error:t,route:null})}catch(o){if(o instanceof Ee)return Wt(new URL(o.location,location.href),{},0);throw o}}async function en(e){const t=e.href;if(Z.has(t))return Z.get(t);let n;try{const r=(async()=>{let a=await v.hooks.reroute({url:new URL(e),fetch:async(i,o)=>dt(i,o,e).promise})??e;if(typeof a=="string"){const i=new URL(e);v.hash?i.hash=a:i.pathname=a,a=i}return a})();Z.set(t,r),n=await r}catch{Z.delete(t);return}return n}async function fe(e,t){if(e&&!ue(e,A,v.hash)){const n=await en(e);if(!n)return;const r=tn(n);for(const a of Te){const i=a.exec(r);if(i)return{id:ce(e),invalidating:t,route:a,params:kt(i),url:e}}}}function tn(e){return bt(v.hash?e.hash.replace(/^#/,"").replace(/[?#].+/,""):e.pathname.slice(A.length))||"/"}function ce(e){return(v.hash?e.hash.replace(/^#/,""):e.pathname)+e.search}function pt({url:e,type:t,intent:n,delta:r,event:a}){let i=!1;const o=Ne(_,n,e,t);r!==void 0&&(o.navigation.delta=r),a!==void 0&&(o.navigation.event=a);const s={...o.navigation,cancel:()=>{i=!0,o.reject(new Error("navigation cancelled"))}};return X||st.forEach(c=>c(s)),i?null:o}async function M({type:e,url:t,popped:n,keepfocus:r,noscroll:a,replace_state:i,state:o={},redirect_count:s=0,nav_token:c={},accept:l=Fe,block:d=Fe,event:h}){const f=j;j=c;const u=await fe(t,!1),p=e==="enter"?Ne(_,u,t,e):pt({url:t,type:e,delta:n?.delta,intent:u,event:h});if(!p){d(),j===c&&(j=f);return}const w=y,m=x;l(),X=!0,oe&&p.navigation.type!=="enter"&&C.navigating.set(W.current=p.navigation);let g=u&&await ht(u);if(!g){if(ue(t,A,v.hash))return await J(t,i);g=await gt(t,{id:null},await Q(new Re(404,"Not Found",`Not found: ${t.pathname}`),{url:t,params:{},route:{id:null}}),404,i)}if(t=u?.url||t,j!==c)return p.reject(new Error("navigation aborted")),!1;if(g.type==="redirect"){if(s<20){await M({type:e,url:new URL(g.location,t),popped:n,keepfocus:r,noscroll:a,replace_state:i,state:o,redirect_count:s+1,nav_token:c}),p.fulfil(void 0);return}g=await Ce({status:500,error:await Q(new Error("Redirect loop"),{url:t,params:{},route:{id:null}}),url:t,route:{id:null}})}else g.props.page.status>=400&&await C.updated.check()&&(await at(),await J(t,i));if(Ht(),Ue(w),lt(m),g.props.page.url.pathname!==t.pathname&&(t.pathname=g.props.page.url.pathname),o=n?n.state:o,!n){const b=i?0:1,D={[K]:y+=b,[H]:x+=b,[Xe]:o};(i?history.replaceState:history.pushState).call(history,D,"",t),i||Gt(y,x)}const S=R?.fork;R=null,g.props.page.state=o;let E;if(oe){const b=(await Promise.all(Array.from(zt,$=>$(p.navigation)))).filter($=>typeof $=="function");if(b.length>0){let $=function(){b.forEach(de=>{z.delete(de)})};b.push($),b.forEach(de=>{z.add(de)})}_=g.state,g.props.page&&(g.props.page.url=t);const D=S&&await S;D?E=D.commit():(Ie.$set(g.props),rt(g.props.page),E=vt?.()),ct=!0}else await ft(g,ye,!1);const{activeElement:O}=document;await E,await ee(),await ee();let L=n?n.scroll:a?le():null;if(Ge){const b=t.hash&&document.getElementById(mt(t));if(L)scrollTo(L.x,L.y);else if(b){b.scrollIntoView();const{top:D,left:$}=b.getBoundingClientRect();L={x:pageXOffset+$,y:pageYOffset+D}}else scrollTo(0,0)}const _t=document.activeElement!==O&&document.activeElement!==document.body;!r&&!_t&&cn(t,L),Ge=!0,g.props.page&&Object.assign(k,g.props.page),X=!1,e==="popstate"&&ut(x),p.fulfil(void 0),z.forEach(b=>b(p.navigation)),C.navigating.set(W.current=null)}async function gt(e,t,n,r,a){return e.origin===Ae&&e.pathname===location.pathname&&!it?await Ce({status:r,error:n,url:e,route:t}):await J(e,a)}function nn(){let e,t,n;I.addEventListener("mousemove",s=>{const c=s.target;clearTimeout(e),e=setTimeout(()=>{i(c,N.hover)},20)});function r(s){s.defaultPrevented||i(s.composedPath()[0],N.tap)}I.addEventListener("mousedown",r),I.addEventListener("touchstart",r,{passive:!0});const a=new IntersectionObserver(s=>{for(const c of s)c.isIntersecting&&(_e(new URL(c.target.href)),a.unobserve(c.target))},{threshold:0});async function i(s,c){const l=et(s,I),d=l===t&&c>=n;if(!l||d)return;const{url:h,external:f,download:u}=we(l,A,v.hash);if(f||u)return;const p=te(l),w=h&&ce(_.url)===ce(h);if(!(p.reload||w))if(c<=p.preload_data){t=l,n=N.tap;const m=await fe(h,!1);if(!m)return;Yt(m)}else c<=p.preload_code&&(t=l,n=c,_e(h))}function o(){a.disconnect();for(const s of I.querySelectorAll("a")){const{url:c,external:l,download:d}=we(s,A,v.hash);if(l||d)continue;const h=te(s);h.reload||(h.preload_code===N.viewport&&a.observe(s),h.preload_code===N.eager&&_e(c))}}z.add(o),o()}function Q(e,t){if(e instanceof Se)return e.body;const n=Le(e),r=Bt(e);return v.hooks.handleError({error:e,event:t,status:n,message:r})??{message:r}}function rn(e){if(typeof e=="function")re.push(e);else{const{href:t}=new URL(e,location.href);re.push(n=>n.href===t)}}function an(){history.scrollRestoration="manual",addEventListener("beforeunload",t=>{let n=!1;if(He(),!X){const r=Ne(_,void 0,null,"leave"),a={...r.navigation,cancel:()=>{n=!0,r.reject(new Error("navigation cancelled"))}};st.forEach(i=>i(a))}n?(t.preventDefault(),t.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&He()}),navigator.connection?.saveData||nn(),I.addEventListener("click",async t=>{if(t.button||t.which!==1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.defaultPrevented)return;const n=et(t.composedPath()[0],I);if(!n)return;const{url:r,external:a,target:i,download:o}=we(n,A,v.hash);if(!r)return;if(i==="_parent"||i==="_top"){if(window.parent!==window)return}else if(i&&i!=="_self")return;const s=te(n);if(!(n instanceof SVGAElement)&&r.protocol!==location.protocol&&!(r.protocol==="https:"||r.protocol==="http:")||o)return;const[l,d]=(v.hash?r.hash.replace(/^#/,""):r.href).split("#"),h=l===pe(location);if(a||s.reload&&(!h||!d)){pt({url:r,type:"link",event:t})?X=!0:t.preventDefault();return}if(d!==void 0&&h){const[,f]=_.url.href.split("#");if(f===d){if(t.preventDefault(),d===""||d==="top"&&n.ownerDocument.getElementById("top")===null)scrollTo({top:0});else{const u=n.ownerDocument.getElementById(decodeURIComponent(d));u&&(u.scrollIntoView(),u.focus())}return}if(F=!0,Ue(y),e(r),!s.replace_state)return;F=!1}t.preventDefault(),await new Promise(f=>{requestAnimationFrame(()=>{setTimeout(f,0)}),setTimeout(f,100)}),await M({type:"link",url:r,keepfocus:s.keepfocus,noscroll:s.noscroll,replace_state:s.replace_state??r.href===location.href,event:t})}),I.addEventListener("submit",t=>{if(t.defaultPrevented)return;const n=HTMLFormElement.prototype.cloneNode.call(t.target),r=t.submitter;if((r?.formTarget||n.target)==="_blank"||(r?.formMethod||n.method)!=="get")return;const o=new URL(r?.hasAttribute("formaction")&&r?.formAction||n.action);if(ue(o,A,!1))return;const s=t.target,c=te(s);if(c.reload)return;t.preventDefault(),t.stopPropagation();const l=new FormData(s,r);o.search=new URLSearchParams(l).toString(),M({type:"form",url:o,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??o.href===location.href,event:t})}),addEventListener("popstate",async t=>{if(!be){if(t.state?.[K]){const n=t.state[K];if(j={},n===y)return;const r=q[n],a=t.state[Xe]??{},i=new URL(t.state[jt]??location.href),o=t.state[H],s=_.url?pe(location)===pe(_.url):!1;if(o===x&&(ct||s)){a!==k.state&&(k.state=a),e(i),q[y]=le(),r&&scrollTo(r.x,r.y),y=n;return}const l=n-y;await M({type:"popstate",url:i,popped:{state:a,scroll:r,delta:l},accept:()=>{y=n,x=o},block:()=>{history.go(-l)},nav_token:j,event:t})}else if(!F){const n=new URL(location.href);e(n),v.hash&&location.reload()}}}),addEventListener("hashchange",()=>{F&&(F=!1,history.replaceState({...history.state,[K]:++y,[H]:x},"",location.href))});for(const t of document.querySelectorAll("link"))Ft.has(t.rel)&&(t.href=t.href);addEventListener("pageshow",t=>{t.persisted&&C.navigating.set(W.current=null)});function e(t){_.url=k.url=t,C.page.set(je(k)),C.page.notify()}}async function on(e,{status:t=200,error:n,node_ids:r,params:a,route:i,server_route:o,data:s,form:c}){it=!0;const l=new URL(location.href);let d;({params:a={},route:i={id:null}}=await fe(l,!1)||{}),d=Te.find(({id:u})=>u===i.id);let h,f=!0;try{const u=r.map(async(w,m)=>{const g=s[m];return g?.uses&&(g.uses=sn(g.uses)),Oe({loader:v.nodes[w],url:l,params:a,route:i,parent:async()=>{const S={};for(let E=0;E<m;E+=1)Object.assign(S,(await u[E]).data);return S},server_data_node:$e(g)})}),p=await Promise.all(u);if(d){const w=d.layouts;for(let m=0;m<w.length;m++)w[m]||p.splice(m,0,void 0)}h=ie({url:l,params:a,branch:p,status:t,error:n,form:c,route:d??null})}catch(u){if(u instanceof Ee){await J(new URL(u.location,location.href));return}h=await Ce({status:Le(u),error:await Q(u,{url:l,params:a,route:i}),url:l,route:i}),e.textContent="",f=!1}h.props.page&&(h.props.page.state={}),await ft(h,e,f)}function sn(e){return{dependencies:new Set(e?.dependencies??[]),params:new Set(e?.params??[]),parent:!!e?.parent,route:!!e?.route,url:!!e?.url,search_params:new Set(e?.search_params??[])}}let be=!1;function cn(e,t=null){const n=document.querySelector("[autofocus]");if(n)n.focus();else{const r=mt(e);if(r&&document.getElementById(r)){const{x:i,y:o}=t??le();setTimeout(()=>{const s=history.state;be=!0,location.replace(`#${r}`),v.hash&&location.replace(e.hash),history.replaceState(s,"",e.hash),scrollTo(i,o),be=!1})}else{const i=document.body,o=i.getAttribute("tabindex");i.tabIndex=-1,i.focus({preventScroll:!0,focusVisible:!1}),o!==null?i.setAttribute("tabindex",o):i.removeAttribute("tabindex")}const a=getSelection();if(a&&a.type!=="None"){const i=[];for(let o=0;o<a.rangeCount;o+=1)i.push(a.getRangeAt(o));setTimeout(()=>{if(a.rangeCount===i.length){for(let o=0;o<a.rangeCount;o+=1){const s=i[o],c=a.getRangeAt(o);if(s.commonAncestorContainer!==c.commonAncestorContainer||s.startContainer!==c.startContainer||s.endContainer!==c.endContainer||s.startOffset!==c.startOffset||s.endOffset!==c.endOffset)return}a.removeAllRanges()}})}}}function Ne(e,t,n,r){let a,i;const o=new Promise((c,l)=>{a=c,i=l});return o.catch(()=>{}),{navigation:{from:{params:e.params,route:{id:e.route?.id??null},url:e.url},to:n&&{params:t?.params??null,route:{id:t?.route?.id??null},url:n},willUnload:!t,type:r,complete:o},fulfil:a,reject:i}}function je(e){return{data:e.data,error:e.error,form:e.form,params:e.params,route:e.route,state:e.state,status:e.status,url:e.url}}function ln(e){const t=new URL(e);return t.hash=decodeURIComponent(e.hash),t}function mt(e){let t;if(v.hash){const[,,n]=e.hash.split("#",3);t=n??""}else t=e.hash.slice(1);return decodeURIComponent(t)}export{mn as a,dn as l,k as p,C as s};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{q as n,y as p,D as o,z as u,c as d,m as l,h as m,k as _,$ as v,n as b}from"./BrUe-Qen.js";class y{anchor;#t=new Map;#s=new Map;#e=new Map;#i=!0;constructor(e,s=!0){this.anchor=e,this.#i=s}#a=()=>{var e=n;if(this.#t.has(e)){var s=this.#t.get(e),t=this.#s.get(s);if(t)p(t);else{var i=this.#e.get(s);i&&(this.#s.set(s,i.effect),this.#e.delete(s),i.fragment.lastChild.remove(),this.anchor.before(i.fragment),t=i.effect)}for(const[a,f]of this.#t){if(this.#t.delete(a),a===e)break;const c=this.#e.get(f);c&&(o(c.effect),this.#e.delete(f))}for(const[a,f]of this.#s){if(a===s)continue;const c=()=>{if(Array.from(this.#t.values()).includes(a)){var h=document.createDocumentFragment();v(f,h),h.append(d()),this.#e.set(a,{effect:f,fragment:h})}else o(f);this.#s.delete(a)};this.#i||!t?u(f,c,!1):c()}}};#f=e=>{this.#t.delete(e);const s=Array.from(this.#t.values());for(const[t,i]of this.#e)s.includes(t)||(o(i.effect),this.#e.delete(t))};ensure(e,s){var t=n,i=b();if(s&&!this.#s.has(e)&&!this.#e.has(e))if(i){var a=document.createDocumentFragment(),f=d();a.append(f),this.#e.set(e,{effect:l(()=>s(f)),fragment:a})}else this.#s.set(e,l(()=>s(this.anchor)));if(this.#t.set(t,e),i){for(const[c,r]of this.#s)c===e?t.skipped_effects.delete(r):t.skipped_effects.add(r);for(const[c,r]of this.#e)c===e?t.skipped_effects.delete(r.effect):t.skipped_effects.add(r.effect);t.oncommit(this.#a),t.ondiscard(this.#f)}else m&&(this.anchor=_),this.#a()}}export{y as B};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as p,_ as t}from"./BrUe-Qen.js";import{B as c}from"./NeK0YGoY.js";function b(r,s,...a){var e=new c(r);p(()=>{const n=s()??null;e.ensure(n,n&&(o=>n(o,...a)))},t)}export{b as s};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{W as r}from"./BrUe-Qen.js";function h(n,t){r(()=>{var e=n.getRootNode(),a=e.host?e:e.head??e.ownerDocument.head;if(!a.querySelector("#"+t.hash)){const o=document.createElement("style");o.id=t.hash,o.textContent=t.code,a.appendChild(o)}})}export{h as a};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{g as o}from"./B2Vkpbkw.js";function i(){const r=new URL(location.href),e=r.searchParams.get("after");if(!["/login","/register"].includes(r.pathname))return!1;if(!e||e==r.pathname)return"/";if(e[0]!="/"||e[1]=="/")return console.error("Ignoring potentially malicious redirect:",e),!1;const t=new URL(e,location.origin);return t.pathname+t.search||"/"}const n=i();try{if(!n)throw"No redirect";await o()&&(location.href=n)}catch{}export{n as r};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{ao as U,d as W,v as j,X as J,Y as K,ap as P,B as M,k as d,h as _,M as m,b as X,a as Q,C as x,H as Z,m as f,aq as T,z as A,c as q,ar as N,as as y,at as V,au as ee,av as L,a1 as z,$ as te,t as se,D,s as R,a6 as re,i as ie,aw as B,ax as ne,_ as ae,ay as oe,az as le,aA as ue,aB as he,aC as ce,aD as fe,aE as O,g as de,aF as _e,G as pe,aG as C,j as k,aH as ge,K as ve,w as ye,aI as be,N as Ee,l as me,aJ as we,P as Te}from"./BrUe-Qen.js";import{d as ke}from"./D40Zn55h.js";function Ne(t){let e=0,r=j(0),i;return()=>{U()&&(W(r),J(()=>(e===0&&(i=K(()=>t(()=>P(r)))),e+=1,()=>{M(()=>{e-=1,e===0&&(i?.(),i=void 0,P(r))})})))}}var Re=ae|oe|le;function Se(t,e,r){new Ae(t,e,r)}class Ae{parent;#s=!1;#t;#g=_?d:null;#i;#c;#n;#r=null;#e=null;#a=null;#o=null;#l=null;#f=0;#u=0;#d=!1;#h=null;#b=Ne(()=>(this.#h=j(this.#f),()=>{this.#h=null}));constructor(e,r,i){this.#t=e,this.#i=r,this.#c=i,this.parent=m.b,this.#s=!!this.#i.pending,this.#n=X(()=>{if(m.b=this,_){const s=this.#g;Q(),s.nodeType===x&&s.data===Z?this.#m():this.#E()}else{var n=this.#v();try{this.#r=f(()=>i(n))}catch(s){this.error(s)}this.#u>0?this.#p():this.#s=!1}return()=>{this.#l?.remove()}},Re),_&&(this.#t=d)}#E(){try{this.#r=f(()=>this.#c(this.#t))}catch(e){this.error(e)}this.#s=!1}#m(){const e=this.#i.pending;e&&(this.#e=f(()=>e(this.#t)),T.enqueue(()=>{var r=this.#v();this.#r=this.#_(()=>(T.ensure(),f(()=>this.#c(r)))),this.#u>0?this.#p():(A(this.#e,()=>{this.#e=null}),this.#s=!1)}))}#v(){var e=this.#t;return this.#s&&(this.#l=q(),this.#t.before(this.#l),e=this.#l),e}is_pending(){return this.#s||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!this.#i.pending}#_(e){var r=m,i=L,n=z;N(this.#n),y(this.#n),V(this.#n.ctx);try{return e()}catch(s){return ee(s),null}finally{N(r),y(i),V(n)}}#p(){const e=this.#i.pending;this.#r!==null&&(this.#o=document.createDocumentFragment(),this.#o.append(this.#l),te(this.#r,this.#o)),this.#e===null&&(this.#e=f(()=>e(this.#t)))}#y(e){if(!this.has_pending_snippet()){this.parent&&this.parent.#y(e);return}this.#u+=e,this.#u===0&&(this.#s=!1,this.#e&&A(this.#e,()=>{this.#e=null}),this.#o&&(this.#t.before(this.#o),this.#o=null))}update_pending_count(e){this.#y(e),this.#f+=e,this.#h&&se(this.#h,this.#f)}get_effect_pending(){return this.#b(),W(this.#h)}error(e){var r=this.#i.onerror;let i=this.#i.failed;if(this.#d||!r&&!i)throw e;this.#r&&(D(this.#r),this.#r=null),this.#e&&(D(this.#e),this.#e=null),this.#a&&(D(this.#a),this.#a=null),_&&(R(this.#g),re(),R(ie()));var n=!1,s=!1;const a=()=>{if(n){ue();return}n=!0,s&&ne(),T.ensure(),this.#f=0,this.#a!==null&&A(this.#a,()=>{this.#a=null}),this.#s=this.has_pending_snippet(),this.#r=this.#_(()=>(this.#d=!1,f(()=>this.#c(this.#t)))),this.#u>0?this.#p():this.#s=!1};var h=L;try{y(null),s=!0,r?.(e,a),s=!1}catch(u){B(u,this.#n&&this.#n.parent)}finally{y(h)}i&&M(()=>{this.#a=this.#_(()=>{T.ensure(),this.#d=!0;try{return f(()=>{i(this.#t,()=>e,()=>a)})}catch(u){return B(u,this.#n.parent),null}finally{this.#d=!1}})})}}function Pe(t){return t.endsWith("capture")&&t!=="gotpointercapture"&&t!=="lostpointercapture"}const De=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function Ve(t){return De.includes(t)}const Le={formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly",defaultvalue:"defaultValue",defaultchecked:"defaultChecked",srcobject:"srcObject",novalidate:"noValidate",allowfullscreen:"allowFullscreen",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback"};function Be(t){return t=t.toLowerCase(),Le[t]??t}const Oe=["touchstart","touchmove"];function Ce(t){return Oe.includes(t)}const G=new Set,F=new Set;function Fe(t,e,r,i={}){function n(s){if(i.capture||E.call(e,s),!s.cancelBubble)return ce(()=>r?.call(this,s))}return t.startsWith("pointer")||t.startsWith("touch")||t==="wheel"?M(()=>{e.addEventListener(t,n,i)}):e.addEventListener(t,n,i),n}function He(t,e,r,i,n){var s={capture:i,passive:n},a=Fe(t,e,r,s);(e===document.body||e===window||e===document||e instanceof HTMLMediaElement)&&fe(()=>{e.removeEventListener(t,a,s)})}function Ye(t){for(var e=0;e<t.length;e++)G.add(t[e]);for(var r of F)r(t)}let H=null;function E(t){var e=this,r=e.ownerDocument,i=t.type,n=t.composedPath?.()||[],s=n[0]||t.target;H=t;var a=0,h=H===t&&t.__root;if(h){var u=n.indexOf(h);if(u!==-1&&(e===document||e===window)){t.__root=e;return}var p=n.indexOf(e);if(p===-1)return;u<=p&&(a=u)}if(s=n[a]||t.target,s!==e){he(t,"currentTarget",{configurable:!0,get(){return s||r}});var S=L,c=m;y(null),N(null);try{for(var o,l=[];s!==null;){var g=s.assignedSlot||s.parentNode||s.host||null;try{var b=s["__"+i];b!=null&&(!s.disabled||t.target===s)&&b.call(s,t)}catch(w){o?l.push(w):o=w}if(t.cancelBubble||g===e||g===null)break;s=g}if(o){for(let w of l)queueMicrotask(()=>{throw w});throw o}}finally{t.__root=e,delete t.currentTarget,y(S),N(c)}}}let Y=!0;function We(t,e){var r=e==null?"":typeof e=="object"?e+"":e;r!==(t.__t??=t.nodeValue)&&(t.__t=r,t.nodeValue=r+"")}function Ie(t,e){return $(t,e)}function je(t,e){O(),e.intro=e.intro??!1;const r=e.target,i=_,n=d;try{for(var s=de(r);s&&(s.nodeType!==x||s.data!==_e);)s=pe(s);if(!s)throw C;k(!0),R(s);const a=$(t,{...e,anchor:s});return k(!1),a}catch(a){if(a instanceof Error&&a.message.split(`
|
|
2
|
+
`).some(h=>h.startsWith("https://svelte.dev/e/")))throw a;return a!==C&&console.warn("Failed to hydrate: ",a),e.recover===!1&&ge(),O(),ve(r),k(!1),Ie(t,e)}finally{k(i),R(n)}}const v=new Map;function $(t,{target:e,anchor:r,props:i={},events:n,context:s,intro:a=!0}){O();var h=new Set,u=c=>{for(var o=0;o<c.length;o++){var l=c[o];if(!h.has(l)){h.add(l);var g=Ce(l);e.addEventListener(l,E,{passive:g});var b=v.get(l);b===void 0?(document.addEventListener(l,E,{passive:g}),v.set(l,1)):v.set(l,b+1)}}};u(ye(G)),F.add(u);var p=void 0,S=be(()=>{var c=r??e.appendChild(q());return Se(c,{pending:()=>{}},o=>{if(s){Ee({});var l=z;l.c=s}if(n&&(i.$$events=n),_&&ke(o,null),Y=a,p=t(o,i)||{},Y=!0,_&&(m.nodes_end=d,d===null||d.nodeType!==x||d.data!==me))throw we(),C;s&&Te()}),()=>{for(var o of h){e.removeEventListener(o,E);var l=v.get(o);--l===0?(document.removeEventListener(o,E),v.delete(o)):v.set(o,l)}F.delete(u),c!==r&&c.parentNode?.removeChild(c)}});return I.set(p,S),p}let I=new WeakMap;function qe(t,e){const r=I.get(t);return r?(I.delete(t),r(e)):Promise.resolve()}export{Ve as a,Y as b,Fe as c,Ye as d,He as e,je as h,Pe as i,Ie as m,Be as n,We as s,qe as u};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.D7hET-Bq.js","../chunks/D40Zn55h.js","../chunks/BrUe-Qen.js","../chunks/aArGsq9c.js","../chunks/NeK0YGoY.js","../nodes/1.BWU-JJm_.js","../chunks/vQfHcJV6.js","../chunks/FTv0qR3w.js","../chunks/BKixenYx.js","../nodes/2.DQ1JcYgz.js","../chunks/B2Vkpbkw.js","../chunks/CUBtP2L9.js","../chunks/DY4fWHx_.js","../chunks/Ch16TNvP.js","../chunks/DwZYWemd.js","../chunks/lH47zGKU.js","../chunks/46qGscyh.js","../chunks/DW7-1esk.js","../chunks/CoYD6HNm.js","../chunks/DvOBbqVY.js","../chunks/C62F-tXu.js","../chunks/BNTlty5m.js","../chunks/Bs4cD_pX.js","../chunks/Beh6Ec8J.js","../chunks/sMHjBQqw.js","../nodes/3.BJp2JEtW.js","../nodes/4.Cvn_QsIx.js","../chunks/BLtAtlP3.js","../chunks/Dy2Ho0cF.js","../assets/account.dAAx7bby.css","../nodes/5.DgPP9GX3.js","../nodes/6.DKIzms8i.js","../assets/list.DVGH0BeP.css","../assets/styles.D8SZ-PeY.css","../nodes/7.3UigVXV4.js","../nodes/8.B8s2TdNQ.js","../nodes/9.LBMMe2kc.js","../nodes/10.C5N2XBee.js","../nodes/11.CerbuSAv.js","../nodes/12.Z4B9zS78.js","../nodes/13.CuICShck.js","../nodes/14.BSEF5oaF.js","../nodes/15.D1nsmo6j.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{h as $,a as tt,b as et,_ as rt,a8 as C,ah as at,d as l,aK as ot,aB as st,u as nt,N as it,aL as ut,a0 as ct,a3 as q,aM as mt,f as y,U as lt,P as _t,Q as dt,R as ft,S as V,O as ht}from"../chunks/BrUe-Qen.js";import{h as vt,m as gt,u as Et,s as Pt}from"../chunks/vQfHcJV6.js";import{f as Q,a as f,c as O,t as yt}from"../chunks/D40Zn55h.js";import{o as pt}from"../chunks/BKixenYx.js";import{i as x}from"../chunks/CoYD6HNm.js";import{B as Rt}from"../chunks/NeK0YGoY.js";import{b as w}from"../chunks/C62F-tXu.js";import{p as S}from"../chunks/DvOBbqVY.js";function k(i,t,a){$&&tt();var u=new Rt(i);et(()=>{var s=t()??null;u.ensure(s,s&&(r=>a(r,s)))},rt)}function bt(i){return class extends Ot{constructor(t){super({component:i,...t})}}}class Ot{#e;#t;constructor(t){var a=new Map,u=(r,e)=>{var o=nt(e,!1,!1);return a.set(r,o),o};const s=new Proxy({...t.props||{},$$events:{}},{get(r,e){return l(a.get(e)??u(e,Reflect.get(r,e)))},has(r,e){return e===at?!0:(l(a.get(e)??u(e,Reflect.get(r,e))),Reflect.has(r,e))},set(r,e,o){return C(a.get(e)??u(e,o),o),Reflect.set(r,e,o)}});this.#t=(t.hydrate?vt:gt)(t.component,{target:t.target,anchor:t.anchor,props:s,context:t.context,intro:t.intro??!1,recover:t.recover}),(!t?.props?.$$host||t.sync===!1)&&ot(),this.#e=s.$$events;for(const r of Object.keys(this.#t))r==="$set"||r==="$destroy"||r==="$on"||st(this,r,{get(){return this.#t[r]},set(e){this.#t[r]=e},enumerable:!0});this.#t.$set=r=>{Object.assign(s,r)},this.#t.$destroy=()=>{Et(this.#t)}}$set(t){this.#t.$set(t)}$on(t,a){this.#e[t]=this.#e[t]||[];const u=(...s)=>a.call(this,...s);return this.#e[t].push(u),()=>{this.#e[t]=this.#e[t].filter(s=>s!==u)}}$destroy(){this.#t.$destroy()}}const Lt="modulepreload",At=function(i,t){return new URL(i,t).href},K={},n=function(t,a,u){let s=Promise.resolve();if(a&&a.length>0){let j=function(c){return Promise.all(c.map(_=>Promise.resolve(_).then(h=>({status:"fulfilled",value:h}),h=>({status:"rejected",reason:h}))))};const e=document.getElementsByTagName("link"),o=document.querySelector("meta[property=csp-nonce]"),L=o?.nonce||o?.getAttribute("nonce");s=j(a.map(c=>{if(c=At(c,u),c in K)return;K[c]=!0;const _=c.endsWith(".css"),h=_?'[rel="stylesheet"]':"";if(u)for(let v=e.length-1;v>=0;v--){const p=e[v];if(p.href===c&&(!_||p.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${h}`))return;const d=document.createElement("link");if(d.rel=_?"stylesheet":Lt,_||(d.as="script"),d.crossOrigin="",d.href=c,L&&d.setAttribute("nonce",L),document.head.appendChild(d),_)return new Promise((v,p)=>{d.addEventListener("load",v),d.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${c}`)))})}))}function r(e){const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=e,window.dispatchEvent(o),!o.defaultPrevented)throw e}return s.then(e=>{for(const o of e||[])o.status==="rejected"&&r(o.reason);return t().catch(r)})},Ft={};var Tt=Q('<div id="svelte-announcer" aria-live="assertive" aria-atomic="true" style="position: absolute; left: 0; top: 0; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; width: 1px; height: 1px"><!></div>'),Dt=Q("<!> <!>",1);function It(i,t){it(t,!0);let a=S(t,"components",23,()=>[]),u=S(t,"data_0",3,null),s=S(t,"data_1",3,null),r=S(t,"data_2",3,null);ut(()=>t.stores.page.set(t.page)),ct(()=>{t.stores,t.page,t.constructors,a(),t.form,u(),s(),r(),t.stores.page.notify()});let e=q(!1),o=q(!1),L=q(null);pt(()=>{const m=t.stores.page.subscribe(()=>{l(e)&&(C(o,!0),mt().then(()=>{C(L,document.title||"untitled page",!0)}))});return C(e,!0),m});const j=V(()=>t.constructors[2]);var c=Dt(),_=y(c);{var h=m=>{const g=V(()=>t.constructors[0]);var E=O(),A=y(E);k(A,()=>l(g),(P,R)=>{w(R(P,{get data(){return u()},get form(){return t.form},get params(){return t.page.params},children:(T,kt)=>{var F=O(),W=y(F);{var Y=b=>{const N=V(()=>t.constructors[1]);var D=O(),M=y(D);k(M,()=>l(N),(B,U)=>{w(U(B,{get data(){return s()},get form(){return t.form},get params(){return t.page.params},children:(I,xt)=>{var G=O(),H=y(G);k(H,()=>l(j),(J,X)=>{w(X(J,{get data(){return r()},get form(){return t.form},get params(){return t.page.params}}),Z=>a()[2]=Z,()=>a()?.[2])}),f(I,G)},$$slots:{default:!0}}),I=>a()[1]=I,()=>a()?.[1])}),f(b,D)},z=b=>{const N=V(()=>t.constructors[1]);var D=O(),M=y(D);k(M,()=>l(N),(B,U)=>{w(U(B,{get data(){return s()},get form(){return t.form},get params(){return t.page.params}}),I=>a()[1]=I,()=>a()?.[1])}),f(b,D)};x(W,b=>{t.constructors[2]?b(Y):b(z,!1)})}f(T,F)},$$slots:{default:!0}}),T=>a()[0]=T,()=>a()?.[0])}),f(m,E)},d=m=>{const g=V(()=>t.constructors[0]);var E=O(),A=y(E);k(A,()=>l(g),(P,R)=>{w(R(P,{get data(){return u()},get form(){return t.form},get params(){return t.page.params}}),T=>a()[0]=T,()=>a()?.[0])}),f(m,E)};x(_,m=>{t.constructors[1]?m(h):m(d,!1)})}var v=lt(_,2);{var p=m=>{var g=Tt(),E=dt(g);{var A=P=>{var R=yt();ht(()=>Pt(R,l(L))),f(P,R)};x(E,P=>{l(o)&&P(A)})}ft(g),f(m,g)};x(v,m=>{l(e)&&m(p)})}f(i,c),_t()}const Gt=bt(It),Kt=[()=>n(()=>import("../nodes/0.D7hET-Bq.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url),()=>n(()=>import("../nodes/1.BWU-JJm_.js"),__vite__mapDeps([5,1,2,6,7,8]),import.meta.url),()=>n(()=>import("../nodes/2.DQ1JcYgz.js"),__vite__mapDeps([9,10,11,12,13,1,2,6,3,4,14,15,16,17,18,19,20,21,22,23,24]),import.meta.url),()=>n(()=>import("../nodes/3.BJp2JEtW.js"),__vite__mapDeps([25,1,2]),import.meta.url),()=>n(()=>import("../nodes/4.Cvn_QsIx.js"),__vite__mapDeps([26,10,11,12,13,1,2,6,18,4,22,15,19,21,16,14,20,17,3,23,27,24,28,29]),import.meta.url),()=>n(()=>import("../nodes/5.DgPP9GX3.js"),__vite__mapDeps([30,13,1,2,6,27,15,11,12]),import.meta.url),()=>n(()=>import("../nodes/6.DKIzms8i.js"),__vite__mapDeps([31,13,11,12,1,2,6,18,4,14,27,15,16,17,3,19,20,21,22,10,23,24,32,33]),import.meta.url),()=>n(()=>import("../nodes/7.3UigVXV4.js"),__vite__mapDeps([34,13,1,2,6,18,4,27,16,11,12,15,19,33]),import.meta.url),()=>n(()=>import("../nodes/8.B8s2TdNQ.js"),__vite__mapDeps([35,13,1,2,6,14,27,15]),import.meta.url),()=>n(()=>import("../nodes/9.LBMMe2kc.js"),__vite__mapDeps([36,13,1,2,6,18,4,14,27]),import.meta.url),()=>n(()=>import("../nodes/10.C5N2XBee.js"),__vite__mapDeps([37,13,1,2,6,18,4,14,27,15,16,21,19,12,32]),import.meta.url),()=>n(()=>import("../nodes/11.CerbuSAv.js"),__vite__mapDeps([38,13,1,2,6,18,4,22,15,19,11,12,21,16,14,20,10,17,3,23,27,24,28,29]),import.meta.url),()=>n(()=>import("../nodes/12.Z4B9zS78.js"),__vite__mapDeps([39,1,2,27,18,4,15,19,10,11,12,13,17,6,3,16,20,24]),import.meta.url),()=>n(()=>import("../nodes/13.CuICShck.js"),__vite__mapDeps([40,10,11,12,13,1,2,6,18,4,27,15,21,16,19]),import.meta.url),()=>n(()=>import("../nodes/14.BSEF5oaF.js"),__vite__mapDeps([41,1,2,23,6,18,4,19,10,11,12,13,17,3,15,16,20]),import.meta.url),()=>n(()=>import("../nodes/15.D1nsmo6j.js"),__vite__mapDeps([42,1,2,27,18,4,15,19,10,11,12,13,17,6,3,16,20,24]),import.meta.url)],Qt=[],Wt={"/_axium/default":[3],"/account":[4],"/admin":[5,[2]],"/admin/audit":[6,[2]],"/admin/audit/[id]":[7,[2]],"/admin/config":[8,[2]],"/admin/plugins":[9,[2]],"/admin/users":[10,[2]],"/admin/users/[id]":[11,[2]],"/login":[12],"/login/client":[13],"/logout":[14],"/register":[15]},Vt={handleError:(({error:i})=>{console.error(i)}),reroute:(()=>{}),transport:{}},wt=Object.fromEntries(Object.entries(Vt.transport).map(([i,t])=>[i,t.decode])),Yt=!1,zt=(i,t)=>wt[i](t);export{zt as decode,wt as decoders,Wt as dictionary,Yt as hash,Vt as hooks,Ft as matchers,Kt as nodes,Gt as root,Qt as server_loads};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{l as o,a as r}from"../chunks/FTv0qR3w.js";export{o as load_css,r as start};
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{c as m,a as n}from"../chunks/D40Zn55h.js";import{f as p}from"../chunks/BrUe-Qen.js";import{s as e}from"../chunks/aArGsq9c.js";function c(r,a){var o=m(),t=p(o);e(t,()=>a.children),n(r,o)}export{c as component};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{f as i,a as h}from"../chunks/D40Zn55h.js";import{N as g,f as v,O as d,P as l,Q as s,R as a,U as _}from"../chunks/BrUe-Qen.js";import{s as o}from"../chunks/vQfHcJV6.js";import{s as x,p}from"../chunks/FTv0qR3w.js";const $={get error(){return p.error},get status(){return p.status}};x.updated.check;const m=$;var k=i("<h1> </h1> <p> </p>",1);function P(f,c){g(c,!0);var t=k(),r=v(t),n=s(r,!0);a(r);var e=_(r,2),u=s(e,!0);a(e),d(()=>{o(n,m.status),o(u,m.error?.message)}),h(f,t),l()}export{P as component};
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{f as G}from"../chunks/Ch16TNvP.js";import{f as _,a as f}from"../chunks/D40Zn55h.js";import{N as H,U as r,f as M,P as Q,a5 as R,Q as i,d as e,a4 as O,O as T,R as o,e as B,a7 as C}from"../chunks/BrUe-Qen.js";import{d as D,s as A}from"../chunks/vQfHcJV6.js";import{i as F}from"../chunks/CoYD6HNm.js";import{e as q,i as y}from"../chunks/DwZYWemd.js";import{h as J}from"../chunks/BLtAtlP3.js";import{a as K}from"../chunks/lH47zGKU.js";import{d as L,s as P}from"../chunks/46qGscyh.js";import{I as $}from"../chunks/BNTlty5m.js";/* empty css */import{c as V}from"../chunks/DY4fWHx_.js";const W=!1;async function X(){return{users:await G("GET","admin/users/all")}}const _a=Object.freeze(Object.defineProperty({__proto__:null,load:X,ssr:W},Symbol.toStringTag,{value:"Module"})),k=(l,m=O,d=O,p)=>{let u=B(()=>C(p?.(),()=>V(d()),!0));var t=Y();let a;var n=i(t);$(n,{get i(){return m()}});var v=r(n,1,!0);o(t),T(()=>{a=L(t,"",a,{"background-color":e(u)}),A(v,d())}),f(l,t)};var Y=_('<span class="attribute svelte-1ivxq48"><!> </span>'),Z=_('<div class="user list-item svelte-1ivxq48"><span> </span> <span> </span> <span><!> <!> <!></span> <a><!></a> <a><!></a></div>'),aa=_('<div class="error">No users!</div>'),ea=_('<h2>Users</h2> <div id="user-list" class="list"><div class="list-item list-header svelte-1ivxq48"><span>Name</span> <span>Email</span> <span>Attributes</span></div> <!></div>',1);const sa={hash:"svelte-1ivxq48",code:".list-item.svelte-1ivxq48 {grid-template-columns:1fr 1fr 3fr repeat(2, 2em);}.attribute.svelte-1ivxq48 {border-radius:1em;padding:0.25em 0.75em;display:inline-flex;align-items:center;gap:0.25em;}"};function ua(l,m){H(m,!0),K(l,sa);var d=ea();J("1ivxq48",t=>{R.title="Admin - Users"});var p=r(M(d),2),u=r(i(p),2);q(u,17,()=>m.data.users,y,(t,a)=>{var n=Z();n.__click=s=>s.currentTarget===s.target&&(location.href="/admin/users/"+e(a).id);var v=i(n),U=i(v,!0);o(v);var h=r(v,2),j=i(h,!0);o(h);var g=r(h,2),I=i(g);{var w=s=>{k(s,()=>"crown",()=>"Admin",()=>"#710")};F(I,s=>{e(a).isAdmin&&s(w)})}var N=r(I,2);q(N,17,()=>e(a).tags,y,(s,b)=>{k(s,()=>"hashtag",()=>e(b))});var E=r(N,2);q(E,17,()=>e(a).roles,y,(s,b)=>{k(s,()=>"at",()=>e(b))}),o(g);var c=r(g,2),S=i(c);$(S,{i:"file-shield"}),o(c);var x=r(c,2),z=i(x);$(z,{i:"chevron-right"}),o(x),o(n),T(()=>{A(U,e(a).name),A(j,e(a).email),P(c,"href",`/admin/audit?user=${e(a).id??""}`),P(x,"href",`/admin/users/${e(a).id??""}`)}),f(t,n)},t=>{var a=aa();f(t,a)}),o(p),f(l,d),Q()}D(["click"]);export{ua as component,_a as universal};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{f as _e}from"../chunks/Ch16TNvP.js";import{f as p,a as l}from"../chunks/D40Zn55h.js";import{N as ge,a2 as ue,f as q,U as r,O as H,P as he,a5 as xe,Q as a,d as ye,S as be,a6 as R,R as s}from"../chunks/BrUe-Qen.js";import{s as n}from"../chunks/vQfHcJV6.js";import{i as k}from"../chunks/CoYD6HNm.js";import{c,C as f,S as we}from"../chunks/Bs4cD_pX.js";import{h as Se}from"../chunks/BLtAtlP3.js";import{a as De}from"../chunks/lH47zGKU.js";import{s as J}from"../chunks/46qGscyh.js";import"../chunks/CUBtP2L9.js";import"../chunks/DW7-1esk.js";import{I as Ce}from"../chunks/BNTlty5m.js";import"../chunks/sMHjBQqw.js";import"../chunks/Beh6Ec8J.js";import{P as Ie}from"../chunks/Dy2Ho0cF.js";const Ae=!1;async function Pe({params:v}){const o=await _e("GET","admin/users/:userId",null,v.id);for(const e of o.sessions)e.created=new Date(e.created),e.expires=new Date(e.expires);return o.registeredAt=new Date(o.registeredAt),o.emailVerified=o.emailVerified?new Date(o.emailVerified):null,{user:o}}const Ze=Object.freeze(Object.defineProperty({__proto__:null,load:Pe,ssr:Ae},Symbol.toStringTag,{value:"Module"}));function ze(v){const o=(v.getTime()-Date.now())/864e5,e=Math.abs(o),_=Number.isInteger(e)?e:e.toFixed(1),m=e==1?"":"s";return`${v.toLocaleString()} (${o>=0?`in ${_} day${m}`:`${_} day${m} ago`})`}var Ue=p("<strong>Yes</strong>"),Ne=p("<p>No</p>"),Te=p("<strong>Yes</strong>"),Ve=p("<p>No</p>"),$e=p('<a target="_blank" rel="noopener noreferrer"> </a> <svelte-css-wrapper style="display: contents"><!></svelte-css-wrapper>',1),je=p("<i>Default</i> <p></p>",1),Me=p('<a href="/admin/users"><button class="icon-text"><!> Back to all users</button></a> <h2>User Management</h2> <div class="section main svelte-1r28lg0"><div class="item info svelte-1r28lg0"><p>UUID</p> <p> </p> <svelte-css-wrapper style="display: contents"><!></svelte-css-wrapper></div> <div class="item info svelte-1r28lg0"><p>Display Name</p> <p> </p> <svelte-css-wrapper style="display: contents"><!></svelte-css-wrapper></div> <div class="item info svelte-1r28lg0"><p>Email</p> <p><a> </a> </p> <svelte-css-wrapper style="display: contents"><!></svelte-css-wrapper></div> <div class="item info svelte-1r28lg0"><p>Registered</p> <p> </p> <svelte-css-wrapper style="display: contents"><!></svelte-css-wrapper></div> <div class="item info svelte-1r28lg0"><p>Administrator</p> <!> <p></p></div> <div class="item info svelte-1r28lg0"><p>Suspended</p> <!> <button> </button></div> <div class="item info svelte-1r28lg0"><p>Profile Image</p> <!></div> <div class="item info svelte-1r28lg0"><p>Roles</p> <p> </p></div> <div class="item info svelte-1r28lg0"><p>Tags</p> <p> </p></div></div> <div class="section main svelte-1r28lg0"><h3>Sessions</h3> <!></div> <div class="section main svelte-1r28lg0"><h3>Preferences</h3> <!></div>',1);const Oe={hash:"svelte-1r28lg0",code:"div.info.svelte-1r28lg0 {grid-template-columns:10em 1fr 6em;}.section.svelte-1r28lg0 {margin-bottom:2em;}"};function er(v,o){ge(o,!0),De(v,Oe);const{user:e}=o.data;let _=ue(e.sessions);var m=Me();Se("1r28lg0",t=>{xe.title="Admin — User Management"});var u=q(m),L=a(u),K=a(L);Ce(K,{i:"up-left"}),R(),s(L),s(u);var h=r(u,4),x=a(h),y=r(a(x),2),W=a(y,!0);s(y);var b=r(y,2);c(b,()=>({"--size":"16px"})),f(b.lastChild,{get value(){return e.id}}),s(b),s(x);var w=r(x,2),S=r(a(w),2),X=a(S,!0);s(S);var D=r(S,2);c(D,()=>({"--size":"16px"})),f(D.lastChild,{get value(){return e.name}}),s(D),s(w);var C=r(w,2),I=r(a(C),2),g=a(I),Z=a(g,!0);s(g);var ee=r(g);s(I);var A=r(I,2);c(A,()=>({"--size":"16px"})),f(A.lastChild,{get value(){return e.email}}),s(A),s(C);var P=r(C,2),z=r(a(P),2),re=a(z,!0);s(z);var U=r(z,2);{let t=be(()=>e.registeredAt.toISOString());c(U,()=>({"--size":"16px"})),f(U.lastChild,{get value(){return ye(t)}}),s(U)}s(P);var N=r(P,2),se=r(a(N),2);{var te=t=>{var i=Ue();l(t,i)},ae=t=>{var i=Ne();l(t,i)};k(se,t=>{e.isAdmin?t(te):t(ae,!1)})}R(2),s(N);var T=r(N,2),E=r(a(T),2);{var ie=t=>{var i=Te();l(t,i)},oe=t=>{var i=Ve();l(t,i)};k(E,t=>{e.isSuspended?t(ie):t(oe,!1)})}var Y=r(E,2),ne=a(Y,!0);s(Y),s(T);var V=r(T,2),ve=r(a(V),2);{var le=t=>{var i=$e(),d=q(i),M=a(d,!0);s(d);var O=r(d,2);c(O,()=>({"--size":"16px"})),f(O.lastChild,{get value(){return e.image}}),s(O),H(()=>{J(d,"href",e.image),n(M,e.image)}),l(t,i)},pe=t=>{var i=je();R(2),l(t,i)};k(ve,t=>{e.image?t(le):t(pe,!1)})}s(V);var $=r(V,2),B=r(a($),2),de=a(B,!0);s(B),s($);var F=r($,2),G=r(a(F),2),me=a(G,!0);s(G),s(F),s(h);var j=r(h,2),ce=r(a(j),2);we(ce,{get sessions(){return _},get user(){return e}}),s(j);var Q=r(j,2),fe=r(a(Q),2);Ie(fe,{get userId(){return e.id},get preferences(){return e.preferences},set preferences(t){e.preferences=t}}),s(Q),H((t,i,d,M)=>{n(W,e.id),n(X,e.name),J(g,"href",`mailto:${e.email??""}`),n(Z,e.email),n(ee,`, ${t??""}`),n(re,i),n(ne,e.isSuspended?"Unsuspend":"Suspend"),n(de,d),n(me,M)},[()=>e.emailVerified?"verified "+e.emailVerified.toLocaleString():"not verified",()=>ze(e.registeredAt),()=>e.roles.join(", "),()=>e.tags.join(", ")]),l(v,m),he()}export{er as component,Ze as universal};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{f as p,a as s,c as v}from"../chunks/D40Zn55h.js";import{N as h,P as _,f as b,a5 as k}from"../chunks/BrUe-Qen.js";import{h as y}from"../chunks/BLtAtlP3.js";import{i as P}from"../chunks/CoYD6HNm.js";import{a as x}from"../chunks/lH47zGKU.js";import{p as n}from"../chunks/DvOBbqVY.js";import{i as L}from"../chunks/B2Vkpbkw.js";import{F as $}from"../chunks/DW7-1esk.js";import{r as d}from"../chunks/sMHjBQqw.js";var w=p('<div class="footer svelte-1mdh4kt"><a href="/register">Register instead</a></div>'),E=p('<div><label for="email">Email</label> <input name="email" type="email" required/></div>');const F={hash:"svelte-1mdh4kt",code:".footer.svelte-1mdh4kt {margin-bottom:1em;text-align:center;background:none;}"};function T(o,t){h(t,!0),x(o,F);let f=n(t,"dialog",15),a=n(t,"fullPage",3,!1);async function g(r){if(typeof r.email!="string")throw"Tried to upload a file for an email. Huh?!";await L(r.email),a()&&d&&(location.href=d)}$(o,{submitText:"Login",submit:g,get pageMode(){return a()},get dialog(){return f()},set dialog(e){f(e)},footer:e=>{var i=v(),l=b(i);{var u=m=>{var c=w();s(m,c)};P(l,m=>{a()&&m(u)})}s(e,i)},children:(e,i)=>{var l=E();s(e,l)},$$slots:{footer:!0,default:!0}}),_()}function A(o){y("1bc9zjt",t=>{k.title="Login"}),T(o,{fullPage:!0})}export{A as component};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{g as j,j as T}from"../chunks/B2Vkpbkw.js";import{f as I}from"../chunks/Ch16TNvP.js";import{c as b,a as c,f as y}from"../chunks/D40Zn55h.js";import{N as A,a3 as x,a2 as z,f as w,P as J,a5 as R,d as _,Q as d,R as f,O as U,a6 as D,U as S,a8 as O}from"../chunks/BrUe-Qen.js";import{d as E,s as F}from"../chunks/vQfHcJV6.js";import{i as k}from"../chunks/CoYD6HNm.js";import{h as M}from"../chunks/BLtAtlP3.js";import{a as Q}from"../chunks/lH47zGKU.js";import{I as Y}from"../chunks/BNTlty5m.js";const q=!1;async function B({parent:p,url:a}){const{session:o=await j()}=await p?.()??{};o||(location.href="/login?after=/login/client"+location.search);const n=parseInt(a.searchParams.get("port")??"!"),u=new URL("http://localhost");let v,i=null;try{if(Number.isNaN(n))throw new Error("Invalid port number provided by local client");u.port=n.toString(),v=await I("OPTIONS","users/:id/auth",{type:"client_login"},o.userId)}catch(m){i=m.message}return{options:v,error:i,session:o,localCallback:u}}const rt=Object.freeze(Object.defineProperty({__proto__:null,load:B,ssr:q},Symbol.toStringTag,{value:"Module"}));var G=y('<div class="error center svelte-5y2x7p"> </div>'),H=y('<div class="center success svelte-5y2x7p"><h1><!></h1> <p>Login successful! You can close this tab.</p></div>'),K=y('<div id="local-login" class="center svelte-5y2x7p"><h2>Local Client Login</h2> <p>Are you sure you want to log in to this local client?</p> <div><button>Cancel</button> <button class="danger">Authorize</button></div></div>');const V={hash:"svelte-5y2x7p",code:"div.center.svelte-5y2x7p {width:fit-content;height:fit-content;top:50%;left:50%;transform:translate(-50%, -50%);position:fixed;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:2em;border-radius:1em;}#local-login.svelte-5y2x7p {background-color:var(--bg-menu);border:1px solid var(--border-accent);}"};function nt(p,a){A(a,!0),Q(p,V);let o=x(z(a.data.error)),n=x(!1);async function u(){const t=await T({optionsJSON:a.data.options}),e=await I("POST","users/:id/auth",t,a.data.session.userId);await fetch(a.data.localCallback,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)})}function v(){u().then(()=>O(n,!0)).catch(t=>{O(o,t.message,!0)})}var i=b();M("5y2x7p",t=>{R.title="Local Client Login"});var m=w(i);{var C=t=>{var e=G(),h=d(e,!0);f(e),U(()=>F(h,_(o))),c(t,e)},N=t=>{var e=b(),h=w(e);{var P=r=>{var s=H(),l=d(s),g=d(l);Y(g,{i:"check"}),f(l),D(2),f(s),c(r,s)},L=r=>{var s=K(),l=S(d(s),4),g=S(d(l),2);g.__click=v,f(l),f(s),c(r,s)};k(h,r=>{_(n)?r(P):r(L,!1)},!0)}c(t,e)};k(m,t=>{_(o)?t(C):t(N,!1)})}c(p,i),J()}E(["click"]);export{nt as component,rt as universal};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"../chunks/D40Zn55h.js";import{L as t}from"../chunks/Beh6Ec8J.js";function r(o){t(o,{fullPage:!0})}export{r as component};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{f as p,a as s,c as v}from"../chunks/D40Zn55h.js";import{N as h,P as b,f as _,a6 as y,a5 as x}from"../chunks/BrUe-Qen.js";import{h as P}from"../chunks/BLtAtlP3.js";import{i as j}from"../chunks/CoYD6HNm.js";import{a as $}from"../chunks/lH47zGKU.js";import{p as f}from"../chunks/DvOBbqVY.js";import{r as k}from"../chunks/B2Vkpbkw.js";import{F as q}from"../chunks/DW7-1esk.js";import{r as d}from"../chunks/sMHjBQqw.js";var D=p('<div class="footer svelte-2447ej"><a href="/login">Login instead</a></div>'),F=p('<div><label for="name">Display Name</label> <input name="name" type="text" required/></div> <div><label for="email">Email</label> <input name="email" type="email" required/></div>',1);const N={hash:"svelte-2447ej",code:".footer.svelte-2447ej {margin-bottom:1em;text-align:center;background:none;}"};function R(a,t){h(t,!0),$(a,N);let m=f(t,"dialog",15),r=f(t,"fullPage",3,!1);async function g(n){await k(n),r()&&d&&(location.href=d)}q(a,{submitText:"Register",submit:g,get pageMode(){return r()},get dialog(){return m()},set dialog(e){m(e)},footer:e=>{var o=v(),i=_(o);{var u=l=>{var c=D();s(l,c)};j(i,l=>{r()&&l(u)})}s(e,o)},children:(e,o)=>{var i=F();y(2),s(e,i)},$$slots:{footer:!0,default:!0}}),b()}function B(a){P("1yhlirl",t=>{x.title="Sign Up"}),R(a,{fullPage:!0})}export{B as component};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{g as y}from"../chunks/B2Vkpbkw.js";import{f as p,a as c}from"../chunks/D40Zn55h.js";import{N as W,P as w,Q as d,R as o,U as v,d as r,O as z}from"../chunks/BrUe-Qen.js";import{s as I}from"../chunks/vQfHcJV6.js";import{s as O}from"../chunks/aArGsq9c.js";import{e as S,i as j}from"../chunks/DwZYWemd.js";import{a as C}from"../chunks/lH47zGKU.js";import{s as P,b as R,c as U}from"../chunks/46qGscyh.js";import{c as M}from"../chunks/CUBtP2L9.js";import"../chunks/DW7-1esk.js";import{I as N}from"../chunks/BNTlty5m.js";import"../chunks/Bs4cD_pX.js";import"../chunks/sMHjBQqw.js";import"../chunks/Beh6Ec8J.js";const Q=!1;async function T({parent:s,route:e}){let{session:i}=await s?.()??{session:null};const a=[{name:"dashboard",href:"/admin",icon:"gauge",active:e.id.endsWith("/admin")},{name:"users",href:"/admin/users",icon:"user-group",active:e.id.endsWith("/admin/users")||e.id.endsWith("/admin/users/[id]")},{name:"configuration",href:"/admin/config",icon:"sliders",active:e.id.endsWith("/admin/config")},{name:"plugins",href:"/admin/plugins",icon:"puzzle-piece-simple",active:e.id.endsWith("/admin/plugins")},{name:"audit log",href:"/admin/audit",icon:"file-shield",active:e.id.endsWith("/admin/audit")}];return i||=await y().catch(()=>null),i||(location.href="/login?after="+encodeURIComponent(location.pathname+location.search)),{session:i,tabs:a}}const ie=Object.freeze(Object.defineProperty({__proto__:null,load:T,ssr:Q},Symbol.toStringTag,{value:"Module"}));var q=p("<a><!> </a>"),A=p('<div id="admin-container" class="svelte-1371mk6"><div class="sidebar svelte-1371mk6"></div> <div id="admin-content" class="svelte-1371mk6"><!></div></div>');const B={hash:"svelte-1371mk6",code:"#admin-container.svelte-1371mk6 {display:grid;grid-template-columns:15em 1fr;height:100%;}.sidebar.svelte-1371mk6 {grid-column:1;width:100%;display:inline-flex;flex-direction:column;gap:0.5em;padding-left:1em;}.item.svelte-1371mk6 {padding:0.3em 0.5em;border-radius:0.25em 1em 1em 0.25em;}.item.svelte-1371mk6:hover {background-color:var(--bg-accent);cursor:pointer;}.item.active.svelte-1371mk6 {background-color:var(--bg-accent);}#admin-content.svelte-1371mk6 {grid-column:2;padding:1em;overflow-x:hidden;overflow-y:scroll;}"};function ae(s,e){W(e,!0),C(s,B);var i=A(),a=d(i);S(a,21,()=>e.data.tabs,j,(u,n)=>{let g=()=>r(n).href,h=()=>r(n).name,b=()=>r(n).icon,_=()=>r(n).active;var t=q(),l=d(t);N(l,{get i(){return b()}});var k=v(l);o(t),z(x=>{P(t,"href",g()),R(t,1,U(["item","icon-text",_()&&"active"]),"svelte-1371mk6"),I(k,` ${x??""}`)},[()=>M(h())]),c(u,t)}),o(a);var m=v(a,2),f=d(m);O(f,()=>e.children),o(m),o(i),c(s,i),w()}export{ae as component,ie as universal};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{f as l,a as o}from"../chunks/D40Zn55h.js";var t=l(`<div class="main"><h1>It works!</h1> <p>This is the default Axium page. You'll want to change it.</p> <h3>Helpful links</h3> <ul><li><a href="/register">Register</a></li> <li><a href="/login">Login</a></li> <li><a href="/logout">Logout</a></li> <li><a href="/account">Account</a></li></ul></div>`);function r(a){var i=t();o(a,i)}export{r as component};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{g as Fe,e as We,a as Ye,b as Qe,c as Re,d as Be,u as Ge,f as He,h as Je,s as Ke}from"../chunks/B2Vkpbkw.js";import{f as m,a as c,c as Xe}from"../chunks/D40Zn55h.js";import{N as Ze,a2 as P,a3 as ue,a4 as et,U as t,Q as o,d as e,O as h,P as tt,e as at,R as a,a5 as st,a6 as rt,a7 as it,a8 as me,f as _e,S as fe}from"../chunks/BrUe-Qen.js";import{d as ot,s as b}from"../chunks/vQfHcJV6.js";import{i as T}from"../chunks/CoYD6HNm.js";import{c as z,C as nt,S as lt}from"../chunks/Bs4cD_pX.js";import{e as dt,i as vt}from"../chunks/DwZYWemd.js";import{h as ct}from"../chunks/BLtAtlP3.js";import{a as pt}from"../chunks/lH47zGKU.js";import{d as ge,s as U,r as H,e as J}from"../chunks/46qGscyh.js";import{g as ut}from"../chunks/CUBtP2L9.js";import{F as S}from"../chunks/DW7-1esk.js";import{I as y}from"../chunks/BNTlty5m.js";import"../chunks/sMHjBQqw.js";import{L as mt}from"../chunks/Beh6Ec8J.js";import{P as _t}from"../chunks/Dy2Ho0cF.js";const ft=!1;async function gt(){let x;try{x=await Fe()}catch{throw window.location.href="/login?after=/account","Missing session, redirecting to login"}const _=x.user;return{currentSession:x,user:_,passkeys:await Qe(_.id),sessions:await Ye(_.id),canVerify:await We(_.id)}}const Gt=Object.freeze(Object.defineProperty({__proto__:null,load:gt,ssr:ft},Symbol.toStringTag,{value:"Module"}));var ht=m('<button><svelte-css-wrapper style="display: contents"><!></svelte-css-wrapper></button>'),bt=m('<div><label for="name">What do you want to be called?</label> <input name="name" type="text" required/></div>'),yt=m("<dfn><!></dfn>"),xt=m("<button> </button>"),wt=m('<div><label for="email">Email Address</label> <input name="email" type="email" required/></div>'),kt=m("<p>Are you sure you want to delete your account?<br/>This action can't be undone.</p>"),Pt=m("<p> </p>"),zt=m('<p class="subtle"><i>Unnamed</i></p>'),St=m('<dfn title="You must have at least one passkey" class="disabled"><svelte-css-wrapper style="display: contents"><!></svelte-css-wrapper></dfn>'),$t=m('<div><label for="name">Passkey Name</label> <input name="name" type="text"/></div>'),Ct=m("<p>Are you sure you want to delete this passkey?<br/>This action can't be undone.</p>"),Tt=m('<div class="item passkey"><dfn><svelte-css-wrapper style="display: contents"><!></svelte-css-wrapper></dfn> <dfn><svelte-css-wrapper style="display: contents"><!></svelte-css-wrapper></dfn> <!> <p> </p> <!> <!></div> <!> <!>',1),Ut=m(`<div class="Account flex-content"><div id="pfp-container" class="svelte-eh3kz3"><img id="pfp" alt="User profile" width="100px" height="100px" class="svelte-eh3kz3"/></div> <p class="greeting svelte-eh3kz3"> </p> <div class="section main"><h3>Personal Information</h3> <div class="item info"><p class="subtle">Name</p> <p> </p> <!></div> <!> <div class="item info"><p class="subtle">Email</p> <p> <!></p> <!></div> <!> <div class="item info"><p class="subtle">User ID <dfn title="This is your UUID. It can't be changed."><!></dfn></p> <p> </p> <svelte-css-wrapper style="display: contents"><!></svelte-css-wrapper></div> <span><button class="signout svelte-eh3kz3">Sign Out</button> <button class="danger">Delete Account</button> <!> <!></span></div> <div class="section main"><h3>Passkeys</h3> <!> <span><button class="icon-text"><!> Create</button></span></div> <div class="section main"><h3>Sessions</h3> <!></div> <div class="section main"><h3>Preferences</h3> <!></div></div>`);const Dt={hash:"svelte-eh3kz3",code:"#pfp-container.svelte-eh3kz3 {width:100px;height:100px;margin-top:3em;.MenuToggle {float:right;position:relative;top:-24px;}}#pfp.svelte-eh3kz3 {width:100px;height:100px;border-radius:50%;border:1px solid #8888;}.greeting.svelte-eh3kz3 {font-size:2em;}.signout.svelte-eh3kz3 {margin-top:2em;}"};function Ht(x,_){Ze(_,!0),pt(x,Dt);const $=(r,s=et,l)=>{let v=at(()=>it(l?.(),"pen"));var p=ht();p.__click=()=>d[s()].showModal(),ge(p,"",{},{display:"contents"});var u=o(p);z(u,()=>({"--size":"16px"})),y(u.lastChild,{get i(){return e(v)}}),a(u),a(p),c(r,p)},{canVerify:he}=_.data,d=P({});let K=ue(!1),be=P(_.data.currentSession),n=ue(P(_.data.user)),w=P(_.data.passkeys),ye=P(_.data.sessions);async function X(r){const s=await Ge(e(n).id,r);me(n,s,!0)}var D=Ut();ct("eh3kz3",r=>{st.title="Your Account"});var A=o(D),xe=o(A);a(A);var I=t(A,2),we=o(I);a(I);var V=t(I,2),M=t(o(V),2),L=t(o(M),2),ke=o(L,!0);a(L);var Pe=t(L,2);$(Pe,()=>"edit_name"),a(M);var Z=t(M,2);S(Z,{submit:X,submitText:"Change",get dialog(){return d.edit_name},set dialog(r){d.edit_name=r},children:(r,s)=>{var l=bt(),v=t(o(l),2);H(v),a(l),h(()=>J(v,e(n).name||"")),c(r,l)},$$slots:{default:!0}});var E=t(Z,2),O=t(o(E),2),ee=o(O),ze=t(ee);{var Se=r=>{var s=yt(),l=o(s);y(l,{i:"regular/circle-check"}),a(s),h(v=>U(s,"title",`Email verified on ${v??""}`),[()=>e(n).emailVerified.toLocaleDateString()]),c(r,s)},$e=r=>{var s=Xe(),l=_e(s);{var v=p=>{var u=xt();u.__click=()=>Ke(e(n).id).then(()=>me(K,!0));var k=o(u,!0);a(u),h(()=>b(k,e(K)?"Verification email sent":"Verify")),c(p,u)};T(l,p=>{he&&p(v)},!0)}c(r,s)};T(ze,r=>{e(n).emailVerified?r(Se):r($e,!1)})}a(O);var Ce=t(O,2);$(Ce,()=>"edit_email"),a(E);var te=t(E,2);S(te,{submit:X,submitText:"Change",get dialog(){return d.edit_email},set dialog(r){d.edit_email=r},children:(r,s)=>{var l=wt(),v=t(o(l),2);H(v),a(l),h(()=>J(v,e(n).email||"")),c(r,l)},$$slots:{default:!0}});var q=t(te,2),N=o(q),ae=t(o(N)),Te=o(ae);y(Te,{i:"regular/circle-info"}),a(ae),a(N);var j=t(N,2),Ue=o(j,!0);a(j);var F=t(j,2);z(F,()=>({"--size":"16px"})),nt(F.lastChild,{get value(){return e(n).id}}),a(F),a(q);var se=t(q,2),re=o(se);re.__click=()=>d.logout.showModal();var W=t(re,2);W.__click=()=>d.delete.showModal(),ge(W,"",{},{cursor:"pointer"});var ie=t(W,2);mt(ie,{get dialog(){return d.logout},set dialog(r){d.logout=r}});var De=t(ie,2);S(De,{submit:()=>Be(e(n).id).then(()=>window.location.href="/"),submitText:"Delete Account",submitDanger:!0,get dialog(){return d.delete},set dialog(r){d.delete=r},children:(r,s)=>{var l=kt();c(r,l)},$$slots:{default:!0}}),a(se),a(V);var Y=t(V,2),oe=t(o(Y),2);dt(oe,17,()=>w,vt,(r,s,l)=>{var v=Tt(),p=_e(v),u=o(p),k=o(u);{let i=fe(()=>e(s).deviceType=="multiDevice"?"laptop-mobile":"mobile");z(k,()=>({"--size":"16px"})),y(k.lastChild,{get i(){return e(i)}}),a(k)}a(u);var C=t(u,2),B=o(C);{let i=fe(()=>e(s).backedUp?"circle-check":"circle-xmark");z(B,()=>({"--size":"16px"})),y(B.lastChild,{get i(){return e(i)}}),a(B)}a(C);var de=t(C,2);{var Me=i=>{var f=Pt(),g=o(f,!0);a(f),h(()=>b(g,e(s).name)),c(i,f)},Le=i=>{var f=zt();c(i,f)};T(de,i=>{e(s).name?i(Me):i(Le,!1)})}var G=t(de,2),Ee=o(G);a(G);var ve=t(G,2);$(ve,()=>"edit_passkey#"+e(s).id);var Oe=t(ve,2);{var qe=i=>{$(i,()=>"delete_passkey#"+e(s).id,()=>"trash")},Ne=i=>{var f=St(),g=o(f);z(g,()=>({"--fill":"#888","--size":"16px"})),y(g.lastChild,{i:"trash-slash"}),a(g),a(f),c(i,f)};T(Oe,i=>{w.length>1?i(qe):i(Ne,!1)})}a(p);var ce=t(p,2);S(ce,{submit:i=>{if(typeof i.name!="string")throw"Passkey name must be a string";return e(s).name=i.name,He(e(s).id,i)},submitText:"Change",get dialog(){return d["edit_passkey#"+e(s).id]},set dialog(i){d["edit_passkey#"+e(s).id]=i},children:(i,f)=>{var g=$t(),pe=t(o(g),2);H(pe),a(g),h(()=>J(pe,e(s).name||"")),c(i,g)},$$slots:{default:!0}});var je=t(ce,2);S(je,{submit:()=>Je(e(s).id).then(()=>w.splice(w.indexOf(e(s)),1)),submitText:"Delete",submitDanger:!0,get dialog(){return d["delete_passkey#"+e(s).id]},set dialog(i){d["delete_passkey#"+e(s).id]=i},children:(i,f)=>{var g=Ct();c(i,g)},$$slots:{default:!0}}),h(i=>{U(u,"title",e(s).deviceType=="multiDevice"?"Multiple devices":"Single device"),U(C,"title",`This passkey is ${e(s).backedUp?"":"not "}backed up`),b(Ee,`Created ${i??""}`)},[()=>e(s).createdAt.toLocaleString()]),c(r,v)});var ne=t(oe,2),Q=o(ne);Q.__click=()=>Re(e(n).id).then(w.push.bind(w));var Ae=o(Q);y(Ae,{i:"plus"}),rt(),a(Q),a(ne),a(Y);var R=t(Y,2),Ie=t(o(R),2);lt(Ie,{get sessions(){return ye},get currentSession(){return be},get user(){return e(n)},redirectAfterLogoutAll:!0}),a(R);var le=t(R,2),Ve=t(o(le),2);_t(Ve,{get userId(){return e(n).id},get preferences(){return e(n).preferences},set preferences(r){e(n).preferences=r}}),a(le),a(D),h(r=>{U(xe,"src",r),b(we,`Welcome, ${e(n).name??""}`),b(ke,e(n).name),b(ee,`${e(n).email??""} `),b(Ue,e(n).id)},[()=>ut(e(n))]),c(x,D),tt()}ot(["click"]);export{Ht as component,Gt as universal};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{f as j}from"../chunks/Ch16TNvP.js";import{f as x,a as y}from"../chunks/D40Zn55h.js";import{N as b,U as e,f as A,O as S,P as O,a5 as P,Q as s,R as t}from"../chunks/BrUe-Qen.js";import{s as i}from"../chunks/vQfHcJV6.js";import{h as U}from"../chunks/BLtAtlP3.js";import{a as k}from"../chunks/lH47zGKU.js";import{S as C}from"../chunks/CUBtP2L9.js";const E=!1;async function T(){return await j("GET","admin/summary")}const Q=Object.freeze(Object.defineProperty({__proto__:null,load:T,ssr:E},Symbol.toStringTag,{value:"Module"}));var w=x('<h2>Administration</h2> <p> </p> <h3 class="svelte-ingjh3"><a href="/admin/users">Users</a></h3> <p> </p> <h3 class="svelte-ingjh3"><a href="/admin/config">Configuration</a></h3> <p> </p> <h3 class="svelte-ingjh3"><a href="/admin/plugins">Plugins</a></h3> <p> </p> <h3 class="svelte-ingjh3"><a href="/admin/audit">Audit Log</a></h3> <p> </p>',1);const z={hash:"svelte-ingjh3",code:"h3.svelte-ingjh3 {text-decoration:underline;}"};function R(h,a){b(a,!0),k(h,z);var m=w();U("ingjh3",r=>{P.title="Admin — Dashboard"});var n=e(A(m),2),f=s(n);t(n);var o=e(n,4),v=s(o);t(o);var d=e(o,4),c=s(d);t(d);var l=e(d,4),u=s(l);t(l);var p=e(l,4),g=s(p);t(p),S(r=>{i(f,`Axium Server version ${a.data.version??""}`),i(v,`${a.data.users??""} users, ${a.data.sessions??""} sessions, ${a.data.passkeys??""} passkeys.`),i(c,`${a.data.configFiles??""} files loaded.`),i(u,`${a.data.plugins??""} plugins loaded.`),i(g,`${r??""}.`)},[()=>Object.entries(a.data.auditEvents).map(([r,_])=>`${_} ${C[r].toUpperCase()} events`).join(", ")]),y(h,m),O()}export{R as component,Q as universal};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{f as W}from"../chunks/Ch16TNvP.js";import{A as pa,p as ca,S as K,s as da,c as ua}from"../chunks/CUBtP2L9.js";import{f as d,a as c}from"../chunks/D40Zn55h.js";import{N as _a,U as i,f as ma,O as m,P as ga,a5 as ha,Q as l,d as r,R as v}from"../chunks/BrUe-Qen.js";import{d as ya,s as _}from"../chunks/vQfHcJV6.js";import{i as w}from"../chunks/CoYD6HNm.js";import{e as I,i as A}from"../chunks/DwZYWemd.js";import{h as ba}from"../chunks/BLtAtlP3.js";import{a as xa}from"../chunks/lH47zGKU.js";import{i as Sa,b as za,s as V,r as x,f as ka,e as S,g as C}from"../chunks/46qGscyh.js";import"../chunks/DW7-1esk.js";import{I as wa}from"../chunks/BNTlty5m.js";import"../chunks/Bs4cD_pX.js";import"../chunks/sMHjBQqw.js";import"../chunks/Beh6Ec8J.js";/* empty css *//* empty css */const Ia=!1,Aa=await W("OPTIONS","admin/audit/events").catch(()=>!1);async function Ea({url:z}){let s=null;try{pa.parse(Object.fromEntries(z.searchParams))}catch(T){s=ca(T)}const k=s?{}:Object.fromEntries(z.searchParams);return{events:await W("GET","admin/audit/events",k),filterError:s,filter:k,configured:Aa}}const vt=Object.freeze(Object.defineProperty({__proto__:null,load:Ea,ssr:Ia},Symbol.toStringTag,{value:"Module"}));var Oa=d("<p> </p>"),Ta=d('<div class="error"><strong>Invalid Filter:</strong> <!></div>'),Ua=d("<option> </option>"),Pa=d("<option> </option>"),Da=d('<select name="event"><option>Any</option><!></select>'),Na=d('<input type="text" name="event"/>'),ja=d("<option> </option>"),La=d('<select name="source"><option>Any</option><!></select>'),Fa=d('<input type="text" name="source"/>'),Ra=d('<span class="subtle">(You)</span>'),Ma=d("<a> <!></a>"),Ca=d("<i>Unknown</i>"),Ga=d('<div class="list-item svelte-1h51ffz"><span> </span> <span> </span> <span> </span> <span> </span> <span> </span> <!> <a><!></a></div>'),Qa=d('<p class="list-empty">No audit log events found</p>'),Ya=d('<h2>Audit Log</h2> <!> <form id="filter" method="dialog" class="svelte-1h51ffz"><h4 class="svelte-1h51ffz">Filters</h4> <span>Minimum Severity:</span> <select name="severity"></select> <span>Since:</span> <input type="date" name="since"/> <span>Until:</span> <input type="date" name="until"/> <span>Tags:</span> <input type="text" name="tags"/> <span>Event Name:</span> <!> <span>Source:</span> <!> <span>User UUID:</span> <input type="text" name="user" size="36"/> <button>Apply</button> <button>Reset</button></form> <div class="list-container"><div class="list"><div class="list-item list-header svelte-1h51ffz"><span>Timestamp</span> <span>Severity</span> <span>Source</span> <span>Name</span> <span>Tags</span> <span>User</span></div> <!></div></div>',1);const qa={hash:"svelte-1h51ffz",code:".list-item.svelte-1h51ffz {grid-template-columns:15em 10em 10em 1fr 1fr 10em repeat(1, 2em);}#filter.svelte-1h51ffz {background-color:var(--bg-menu);padding:1em;border-radius:0.5em;display:grid;grid-template-columns:repeat(2, 1fr);gap:0.25em;width:fit-content;h4:where(.svelte-1h51ffz) {grid-column:1 / span 2;}}"};function lt(z,s){_a(s,!0),xa(z,qa);var k=Ya();ba("1h51ffz",t=>{ha.title="Admin — Audit Log"});var O=i(ma(k),2);{var T=t=>{var a=Ta(),e=i(l(a),2);I(e,17,()=>s.data.filterError.split(`
|
|
2
|
+
`),A,(f,p)=>{var n=Oa(),o=l(n,!0);v(n),m(()=>_(o,r(p))),c(f,n)}),v(a),c(t,a)};w(O,t=>{s.data.filterError&&t(T)})}var U=i(O,2),h=i(l(U),4);I(h,21,()=>da,A,(t,a)=>{var e=Ua(),f=l(e,!0);v(e);var p={};m(n=>{C(e,r(a)=="info"),_(f,n),p!==(p=r(a))&&(e.value=(e.__value=r(a))??"")},[()=>ua(r(a))]),c(t,e)}),v(h);var G;Sa(h);var P=i(h,4);x(P);var D=i(P,4);x(D);var N=i(D,4);x(N);var Q=i(N,4);{var X=t=>{var a=Da(),e=l(a);e.value=e.__value="";var f=i(e);I(f,17,()=>s.data.configured.name,A,(p,n)=>{var o=Pa(),y=l(o,!0);v(o);var b={};m(()=>{C(o,s.data.filter.event==r(n)),_(y,r(n)),b!==(b=r(n))&&(o.value=(o.__value=r(n))??"")}),c(p,o)}),v(a),c(t,a)},Z=t=>{var a=Na();x(a),m(()=>S(a,s.data.filter.event)),c(t,a)};w(Q,t=>{s.data.configured?t(X):t(Z,!1)})}var Y=i(Q,4);{var $=t=>{var a=La(),e=l(a);e.value=e.__value="";var f=i(e);I(f,17,()=>s.data.configured.source,A,(p,n)=>{var o=ja(),y=l(o,!0);v(o);var b={};m(()=>{C(o,s.data.filter.source==r(n)),_(y,r(n)),b!==(b=r(n))&&(o.value=(o.__value=r(n))??"")}),c(p,o)}),v(a),c(t,a)},aa=t=>{var a=Fa();x(a),m(()=>S(a,s.data.filter.source)),c(t,a)};w(Y,t=>{s.data.configured?t($):t(aa,!1)})}var j=i(Y,4);x(j);var q=i(j,2);q.__click=t=>{t.preventDefault();const a=new FormData(t.currentTarget.form),e=new URLSearchParams;for(let[f,p]of a.entries())if(p)switch(f){case"severity":p!="info"&&e.set(f,p);break;case"since":case"until":e.set(f,new Date(p).toISOString());break;case"tags":for(const n of p.toString().split(",").map(o=>o.trim()))e.append(f,n);break;default:e.set(f,p)}location.search=e?"?"+e.toString():""};var ta=i(q,2);ta.__click=t=>{t.preventDefault(),location.search=""},v(U);var B=i(U,2),H=l(B),ea=i(l(H),2);I(ea,17,()=>s.data.events,A,(t,a)=>{var e=Ga();e.__click=u=>u.currentTarget===u.target&&(location.href="/admin/audit/"+r(a).id);var f=l(e),p=l(f,!0);v(f);var n=i(f,2),o=l(n,!0);v(n);var y=i(n,2),b=l(y,!0);v(y);var L=i(y,2),ra=l(L,!0);v(L);var F=i(L,2),sa=l(F,!0);v(F);var J=i(F,2);{var ia=u=>{var g=Ma(),E=l(g),va=i(E);{var la=M=>{var fa=Ra();c(M,fa)};w(va,M=>{r(a).userId===s.data.session?.userId&&M(la)})}v(g),m(()=>{V(g,"href",`/admin/users/${r(a).userId??""}`),_(E,`${r(a).user.name??""} `)}),c(u,g)},na=u=>{var g=Ca();c(u,g)};w(J,u=>{r(a).user?u(ia):u(na,!1)})}var R=i(J,2),oa=l(R);wa(oa,{i:"chevron-right"}),v(R),v(e),m((u,g,E)=>{_(p,u),za(n,1,`severity--${g??""}`,"svelte-1h51ffz"),_(o,K[r(a).severity]),_(b,r(a).source),_(ra,r(a).name),_(sa,E),V(R,"href",`/admin/audit/${r(a).id??""}`)},[()=>new Date(r(a).timestamp).toLocaleString(),()=>K[r(a).severity].toLowerCase(),()=>r(a).tags.join(", ")]),c(t,e)},t=>{var a=Qa();c(t,a)}),v(H),v(B),m(()=>{G!==(G=s.data.filter.severity)&&(h.value=(h.__value=s.data.filter.severity)??"",ka(h,s.data.filter.severity)),S(P,s.data.filter.since),S(D,s.data.filter.until),S(N,s.data.filter.tags),S(j,s.data.filter.user)}),c(z,k),ga()}ya(["click"]);export{lt as component,vt as universal};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{f as J}from"../chunks/Ch16TNvP.js";import{f as _,a as d}from"../chunks/D40Zn55h.js";import{N as T,Q as o,U as s,R as n,O as y,P as D,f as M,a5 as Q}from"../chunks/BrUe-Qen.js";import{s as m}from"../chunks/vQfHcJV6.js";import{i as A}from"../chunks/CoYD6HNm.js";import{h as R}from"../chunks/BLtAtlP3.js";import{b as L,c as Y,s as j}from"../chunks/46qGscyh.js";import{g as q,S as O}from"../chunks/CUBtP2L9.js";/* empty css */import{a as B}from"../chunks/lH47zGKU.js";import{p as b}from"../chunks/DvOBbqVY.js";var F=_('<img class="svelte-20236b"/>'),H=_('<span class="subtle">(You)</span>'),K=_("<a><!> <!></a>");const V={hash:"svelte-20236b",code:".User.svelte-20236b {cursor:pointer;width:max-content;height:max-content;}img.svelte-20236b {width:2em;height:2em;border-radius:50%;vertical-align:middle;margin-right:0.5em;}"};function W(u,t){T(t,!0),B(u,V);const e=b(t,"compact",3,!1),l=b(t,"self",3,!1),f=b(t,"href",19,()=>`/users/${t.user.id}`),U=b(t,"you",3,!1);var a=K(),g=o(a);{var p=r=>{var v=F();y(h=>{j(v,"src",h),j(v,"alt",t.user.name)},[()=>q(t.user)]),d(r,v)};A(g,r=>{e()||r(p)})}var x=s(g),c=s(x);{var S=r=>{var v=H();d(r,v)};A(c,r=>{l()&&U()&&r(S)})}n(a),y(()=>{L(a,1,Y(["User",l()&&"self"]),"svelte-20236b"),j(a,"href",f()),m(x,` ${t.user.name??""} `)}),d(u,a),D()}const X=!1;async function Z({params:u}){return{event:await J("GET","admin/audit/:eventId",null,u.id)}}const fe=Object.freeze(Object.defineProperty({__proto__:null,load:Z,ssr:X},Symbol.toStringTag,{value:"Module"}));var $=_("<i>Unknown</i>"),ee=_("<h2>Audit Event</h2> <h4>UUID</h4> <p> </p> <h4>Severity</h4> <p> </p> <h4>Name</h4> <p> </p> <h4>Timestamp</h4> <p> </p> <h4>Source</h4> <p> </p> <h4>Tags</h4> <p> </p> <h4>User</h4> <!> <h4>Extra Data</h4> <pre> </pre>",1);function pe(u,t){T(t,!0);const{event:e}=t.data;var l=ee();R("zggjav",i=>{y(()=>Q.title=`Admin — Audit Log Event #${e.id??""}`)});var f=s(M(l),4),U=o(f,!0);n(f);var a=s(f,4),g=o(a,!0);n(a);var p=s(a,4),x=o(p,!0);n(p);var c=s(p,4),S=o(c,!0);n(c);var r=s(c,4),v=o(r,!0);n(r);var h=s(r,4),N=o(h,!0);n(h);var E=s(h,4);{var P=i=>{W(i,{get user(){return e.user},get href(){return`/admin/users/${e.user.id??""}`}})},k=i=>{var w=$();d(i,w)};A(E,i=>{e.user?i(P):i(k,!1)})}var I=s(E,4),z=o(I,!0);n(I),y((i,w,C,G)=>{m(U,e.id),L(a,1,`severity--${i??""}`),m(g,O[e.severity]),m(x,e.name),m(S,w),m(v,e.source),m(N,C),m(z,G)},[()=>O[e.severity].toLowerCase(),()=>new Date(e.timestamp).toLocaleString(),()=>e.tags.join(", "),()=>JSON.stringify(e.extra,null,4)]),d(u,l),D()}export{pe as component,fe as universal};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{f as A}from"../chunks/Ch16TNvP.js";import{f as _,a as u}from"../chunks/D40Zn55h.js";import{N,U as l,f as P,O as v,P as T,a5 as z,Q as t,R as a,d as m,S as C,T as J}from"../chunks/BrUe-Qen.js";import{s as f}from"../chunks/vQfHcJV6.js";import{e as $,i as w}from"../chunks/DwZYWemd.js";import{h as E}from"../chunks/BLtAtlP3.js";import{a as F}from"../chunks/lH47zGKU.js";const G=!1;async function I(){return await A("GET","admin/config")}const K=Object.freeze(Object.defineProperty({__proto__:null,load:I,ssr:G},Symbol.toStringTag,{value:"Module"}));var L=_('<details><summary class="svelte-ts0x28"> </summary> <pre> </pre></details>'),M=_("<h2>Active Configuration</h2> <pre> </pre> <h2>Loaded Files</h2> <!>",1);const Q={hash:"svelte-ts0x28",code:"summary.svelte-ts0x28 {cursor:pointer;padding:1em 0;font-size:large;}"};function V(r,s){N(s,!0),F(r,Q);var d=M();E("ts0x28",e=>{z.title="Admin — Configuration"});var o=l(P(d),2),g=t(o,!0);a(o);var h=l(o,4);$(h,17,()=>Object.entries(s.data.files),w,(e,y)=>{var p=C(()=>J(m(y),2));let x=()=>m(p)[0],O=()=>m(p)[1];var i=L(),n=t(i),b=t(n,!0);a(n);var c=l(n,2),S=t(c,!0);a(c),a(i),v(j=>{f(b,x()),f(S,j)},[()=>JSON.stringify(O(),null,4)]),u(e,i)}),v(e=>f(g,e),[()=>JSON.stringify(s.data.config,null,4)]),u(r,d),T()}export{V as component,K as universal};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{f as B}from"../chunks/Ch16TNvP.js";import{f as m,a as p,t as E}from"../chunks/D40Zn55h.js";import{N as G,U as r,f as P,P as I,a5 as L,Q as e,O as y,R as s,d as t}from"../chunks/BrUe-Qen.js";import{s as n}from"../chunks/vQfHcJV6.js";import{i as M}from"../chunks/CoYD6HNm.js";import{e as Q,i as R}from"../chunks/DwZYWemd.js";import{h as U}from"../chunks/BLtAtlP3.js";async function V(){return{plugins:await B("GET","admin/plugins")}}const aa=Object.freeze(Object.defineProperty({__proto__:null,load:V},Symbol.toStringTag,{value:"Module"}));var q=m("<i>None</i>"),C=m("<h4> </h4> <p><strong>Loaded from</strong> </p> <p><strong>Version:</strong> </p> <p><strong>Author:</strong> </p> <p><strong>Provided apps:</strong> <!></p> <p> </p>",1),D=m("<i>No plugins loaded.</i>"),F=m("<h2>Plugins</h2> <!>",1);function ra($,g){G(g,!0);var u=F();U("1l89v4w",i=>{L.title="Admin — Plugins"});var j=r(P(u),2);Q(j,17,()=>g.data.plugins,R,(i,a)=>{var x=C(),_=P(x),w=e(_,!0);s(_);var f=r(_,2),A=r(e(f));s(f);var d=r(f,2),N=r(e(d));s(d);var l=r(d,2),O=r(e(l));s(l);var h=r(l,2),k=r(e(h),2);{var S=o=>{var v=E();y(c=>n(v,c),[()=>t(a).apps?.map(c=>c.name).join(", ")]),p(o,v)},T=o=>{var v=q();p(o,v)};M(k,o=>{t(a).apps?.length?o(S):o(T,!1)})}s(h);var b=r(h,2),z=e(b,!0);s(b),y(()=>{n(w,t(a).name),n(A,` ${t(a).path??""} by ${t(a)._loadedBy??"<unknown>"??""}`),n(N,` ${t(a).version??""}`),n(O,` ${t(a).author??""}`),n(z,t(a).description)}),p(i,x)},i=>{var a=D();p(i,a)}),p($,u),I()}export{ra as component,aa as universal};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"
|
|
1
|
+
{"version":"1761770569481"}
|
|
Binary file
|
|
Binary file
|
package/build/client/styles.css
CHANGED
|
@@ -65,6 +65,27 @@ textarea {
|
|
|
65
65
|
outline: none;
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
+
select,
|
|
69
|
+
::picker(select) {
|
|
70
|
+
appearance: base-select;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
::picker(select) {
|
|
74
|
+
border: 1px solid var(--border-accent);
|
|
75
|
+
padding: 1em;
|
|
76
|
+
border-radius: 0.5em;
|
|
77
|
+
background-color: var(--bg-menu);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
option {
|
|
81
|
+
padding: 0.25em 0;
|
|
82
|
+
border-radius: 0.5em;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
option:hover {
|
|
86
|
+
background-color: var(--bg-alt);
|
|
87
|
+
}
|
|
88
|
+
|
|
68
89
|
button {
|
|
69
90
|
cursor: pointer;
|
|
70
91
|
}
|
|
Binary file
|
|
Binary file
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
const index = 0;
|
|
2
2
|
let component_cache;
|
|
3
3
|
const component = async () => component_cache ??= (await import('./layout.svelte-UxsTmhKc.js')).default;
|
|
4
|
-
const imports = ["_app/immutable/nodes/0.
|
|
4
|
+
const imports = ["_app/immutable/nodes/0.D7hET-Bq.js","_app/immutable/chunks/D40Zn55h.js","_app/immutable/chunks/BrUe-Qen.js","_app/immutable/chunks/aArGsq9c.js","_app/immutable/chunks/NeK0YGoY.js"];
|
|
5
5
|
const stylesheets = [];
|
|
6
6
|
const fonts = [];
|
|
7
7
|
|
|
8
8
|
export { component, fonts, imports, index, stylesheets };
|
|
9
|
-
//# sourceMappingURL=0-
|
|
9
|
+
//# sourceMappingURL=0-CNbALTKz.js.map
|