@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
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./DsnmJJEf.js";import{r as p,x as c,q as f,ab as d,f as b,a as u}from"./Dnk28BpG.js";import{d as _}from"./Bbzjahjl.js";import{i as v}from"./1taVrT-y.js";import{p as n}from"./CTKC36WM.js";import{F as h,l as k}from"./DeieCYM0.js";var w=(t,o)=>{t.preventDefault(),o().close(),history.back()},x=f("<button>Take me back</button>"),y=f("<p>Are you sure you want to log out?</p> <!>",1);function C(t,o){p(o,!0);let a=n(o,"dialog",15),i=n(o,"fullPage",3,!1);h(t,{get pageMode(){return i()},submitText:"Log Out",submit:()=>k().then(()=>window.location.href="/"),get dialog(){return a()},set dialog(r){a(r)},children:(r,L)=>{var l=y(),m=d(b(l),2);{var g=e=>{var s=x();s.__click=[w,a],u(e,s)};v(m,e=>{i()&&e(g)})}u(r,l)},$$slots:{default:!0}}),c()}_(["click"]);export{C as L};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{at as b,au as D,av as E,A as h,al as R,aq as m,aa as L,aw as T,ax as B,K,ay as Y,h as j,az as M,aA as p,ae as O,aB as y,aC as q,aD as z}from"./Dnk28BpG.js";let _=!1;function C(e){var r=_;try{return _=!1,[e(),_]}finally{_=r}}const N={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 G(e,r,t){return new Proxy({props:e,exclude:r},N)}const U={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 a=b(i,r);if(a&&a.set)return a.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=b(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 Z(...e){return new Proxy({props:e},U)}function F(e,r,t,n){var i=(t&Y)!==0,a=(t&q)!==0,c=n,v=!0,g=()=>(v&&(v=!1,c=a?j(n):n),c),u;if(i){var x=O in e||y in e;u=b(e,r)?.set??(x&&r in e?s=>e[r]=s:void 0)}var f,w=!1;i?[f,w]=C(()=>e[r]):f=e[r],f===void 0&&n!==void 0&&(f=g(),u&&(D(),u(f)));var o;if(o=()=>{var s=e[r];return s===void 0?g():(v=!0,s)},(t&E)===0)return o;if(u){var A=e.$$legacy;return(function(s,d){return arguments.length>0?((!d||A||w)&&u(d?o():s),s):o()})}var P=!1,l=((t&M)!==0?B:K)(()=>(P=!1,o()));i&&h(l);var I=L;return(function(s,d){if(arguments.length>0){const S=d?h(l):i?R(s):s;return m(l,S),P=!0,c!==void 0&&(c=S),s}return z&&P||(I.f&T)!==0?l.v:h(l)})}export{F as p,G as r,Z as s};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./DsnmJJEf.js";import{r as h,v as c,w as g,a as n,x as p,y as u,z as w,A as s,B as t,C as _}from"./Dnk28BpG.js";import{a as x}from"./eyJgPND9.js";import{a as y,s as b}from"./DdnE6dyJ.js";import{r as $}from"./CTKC36WM.js";var q=c("<svg><use></use></svg>");const z={hash:"svelte-15xbqt3",code:"svg.svelte-15xbqt3 {width:var(--size, 1em);height:var(--size, 1em);display:inline-block;fill:var(--fill, hsl(var(--hue) 0 var(--fg-light)));}"};function j(i,e){h(e,!0),x(i,z);const o=$(e,["$$slots","$$events","$$legacy","i"]),v=t(()=>e.i.includes("/")?e.i.split("/"):["solid",e.i]),r=t(()=>_(s(v),2)),l=t(()=>s(r)[0]),m=t(()=>s(r)[1]),d=t(()=>`/icons/${s(l)}.svg#${s(m)}`);var a=q();y(a,()=>({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",width:"1em",height:"1em",...o}),void 0,void 0,"svelte-15xbqt3");var f=u(a);w(a),g(()=>b(f,"href",s(d))),n(i,a),p()}export{j as I};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./DsnmJJEf.js";import{ad as ft,H as ut,G as Tt,I as Ot,aa as jt,ai as Pt,b9 as Ft,ba as Nt,ac as qt,h as vt,bb as Mt,aS as dt,aA as zt,a3 as Bt,aj as ge,bc as Dt,r as Ye,q as x,am as Ue,a as v,x as Qe,aq as ce,y as S,A as f,z as w,as as Ht,al as _t,c as O,f as A,B as ne,ab as z,w as V,C as tt}from"./Dnk28BpG.js";import{f as Rt,d as le,s as $}from"./Bbzjahjl.js";import{i as L}from"./1taVrT-y.js";import{a as ht}from"./eyJgPND9.js";import{p as Me}from"./CTKC36WM.js";import{z as j,f as rt}from"./BSFUgC2l.js";import{I as ze}from"./CekH6JMP.js";import{e as ie,i as oe}from"./BxjargW5.js";import{a as Vt,r as Gt,s as se,g as at,d as Jt}from"./DdnE6dyJ.js";import{b as Ne}from"./DfUzlYF5.js";import{f as Kt}from"./Ch16TNvP.js";import{F as nt,j as Ut,k as Wt}from"./DeieCYM0.js";import"./CPL43v-I.js";function mt(r,e){ut&&Tt(Ot(r)),ft(()=>{var a=e();for(var s in a){var o=a[s];o?r.style.setProperty(s,o):r.style.removeProperty(s)}})}const Yt=()=>performance.now(),U={tick:r=>requestAnimationFrame(r),now:()=>Yt(),tasks:new Set};function pt(){const r=U.now();U.tasks.forEach(e=>{e.c(r)||(U.tasks.delete(e),e.f())}),U.tasks.size!==0&&U.tick(pt)}function Qt(r){let e;return U.tasks.size===0&&U.tick(pt),{promise:new Promise(a=>{U.tasks.add(e={c:r,f:a})}),abort(){U.tasks.delete(e)}}}function qe(r,e){dt(()=>{r.dispatchEvent(new CustomEvent(e))})}function Xt(r){if(r==="float")return"cssFloat";if(r==="offset")return"cssOffset";if(r.startsWith("--"))return r;const e=r.split("-");return e.length===1?e[0]:e[0]+e.slice(1).map(a=>a[0].toUpperCase()+a.slice(1)).join("")}function st(r){const e={},a=r.split(";");for(const s of a){const[o,y]=s.split(":");if(!o||y===void 0)break;const d=Xt(o.trim());e[d]=y.trim()}return e}const Zt=r=>r;function it(r,e,a,s){var o=(r&Mt)!==0,y="both",d,h=e.inert,u=e.style.overflow,n,t;function l(){return dt(()=>d??=a()(e,s?.()??{},{direction:y}))}var b={is_global:o,in(){e.inert=h,qe(e,"introstart"),n=We(e,l(),t,1,()=>{qe(e,"introend"),n?.abort(),n=d=void 0,e.style.overflow=u})},out(i){e.inert=!0,qe(e,"outrostart"),t=We(e,l(),n,0,()=>{qe(e,"outroend"),i?.()})},stop:()=>{n?.abort(),t?.abort()}},g=jt;if((g.transitions??=[]).push(b),Rt){var _=o;if(!_){for(var c=g.parent;c&&(c.f&Pt)!==0;)for(;(c=c.parent)&&(c.f&Ft)===0;);_=!c||(c.f&Nt)!==0}_&&qt(()=>{vt(()=>b.in())})}}function We(r,e,a,s,o){var y=s===1;if(zt(e)){var d,h=!1;return Bt(()=>{if(!h){var i=e({direction:y?"in":"out"});d=We(r,i,a,s,o)}}),{abort:()=>{h=!0,d?.abort()},deactivate:()=>d.deactivate(),reset:()=>d.reset(),t:()=>d.t()}}if(a?.deactivate(),!e?.duration)return o(),{abort:ge,deactivate:ge,reset:ge,t:()=>s};const{delay:u=0,css:n,tick:t,easing:l=Zt}=e;var b=[];if(y&&a===void 0&&(t&&t(0,1),n)){var g=st(n(0,1));b.push(g,g)}var _=()=>1-s,c=r.animate(b,{duration:u,fill:"forwards"});return c.onfinish=()=>{c.cancel();var i=a?.t()??1-s;a?.abort();var p=s-i,k=e.duration*Math.abs(p),m=[];if(k>0){var I=!1;if(n)for(var C=Math.ceil(k/16.666666666666668),G=0;G<=C;G+=1){var q=i+p*l(G/C),F=st(n(q,1-q));m.push(F),I||=F.overflow==="hidden"}I&&(r.style.overflow="hidden"),_=()=>{var T=c.currentTime;return i+p*l(T/k)},t&&Qt(()=>{if(c.playState!=="running")return!1;var T=_();return t(T,1-T),!0})}c=r.animate(m,{duration:k,fill:"forwards"}),c.onfinish=()=>{_=()=>s,t?.(s,1-s),o()}},{abort:()=>{c&&(c.cancel(),c.effect=null,c.onfinish=ge)},deactivate:()=>{o=ge},reset:()=>{s===0&&t?.(1,0)},t:()=>_()}}function $t(r,e,a=e){Dt(r,"change",s=>{var o=s?r.defaultChecked:r.checked;a(o)}),(ut&&r.defaultChecked!==r.checked||vt(e)==null)&&a(r.checked),ft(()=>{var s=e();r.checked=!!s})}le(["click"]);const er=r=>r;function ot(r,{delay:e=0,duration:a=400,easing:s=er}={}){const o=+getComputedStyle(r).opacity;return{delay:e,duration:a,easing:s,css:y=>`opacity: ${y*o}`}}var Ke={exports:{}},ct;function tr(){return ct||(ct=1,(function(r){var e=Object.prototype.hasOwnProperty,a="~";function s(){}Object.create&&(s.prototype=Object.create(null),new s().__proto__||(a=!1));function o(u,n,t){this.fn=u,this.context=n,this.once=t||!1}function y(u,n,t,l,b){if(typeof t!="function")throw new TypeError("The listener must be a function");var g=new o(t,l||u,b),_=a?a+n:n;return u._events[_]?u._events[_].fn?u._events[_]=[u._events[_],g]:u._events[_].push(g):(u._events[_]=g,u._eventsCount++),u}function d(u,n){--u._eventsCount===0?u._events=new s:delete u._events[n]}function h(){this._events=new s,this._eventsCount=0}h.prototype.eventNames=function(){var n=[],t,l;if(this._eventsCount===0)return n;for(l in t=this._events)e.call(t,l)&&n.push(a?l.slice(1):l);return Object.getOwnPropertySymbols?n.concat(Object.getOwnPropertySymbols(t)):n},h.prototype.listeners=function(n){var t=a?a+n:n,l=this._events[t];if(!l)return[];if(l.fn)return[l.fn];for(var b=0,g=l.length,_=new Array(g);b<g;b++)_[b]=l[b].fn;return _},h.prototype.listenerCount=function(n){var t=a?a+n:n,l=this._events[t];return l?l.fn?1:l.length:0},h.prototype.emit=function(n,t,l,b,g,_){var c=a?a+n:n;if(!this._events[c])return!1;var i=this._events[c],p=arguments.length,k,m;if(i.fn){switch(i.once&&this.removeListener(n,i.fn,void 0,!0),p){case 1:return i.fn.call(i.context),!0;case 2:return i.fn.call(i.context,t),!0;case 3:return i.fn.call(i.context,t,l),!0;case 4:return i.fn.call(i.context,t,l,b),!0;case 5:return i.fn.call(i.context,t,l,b,g),!0;case 6:return i.fn.call(i.context,t,l,b,g,_),!0}for(m=1,k=new Array(p-1);m<p;m++)k[m-1]=arguments[m];i.fn.apply(i.context,k)}else{var I=i.length,C;for(m=0;m<I;m++)switch(i[m].once&&this.removeListener(n,i[m].fn,void 0,!0),p){case 1:i[m].fn.call(i[m].context);break;case 2:i[m].fn.call(i[m].context,t);break;case 3:i[m].fn.call(i[m].context,t,l);break;case 4:i[m].fn.call(i[m].context,t,l,b);break;default:if(!k)for(C=1,k=new Array(p-1);C<p;C++)k[C-1]=arguments[C];i[m].fn.apply(i[m].context,k)}}return!0},h.prototype.on=function(n,t,l){return y(this,n,t,l,!1)},h.prototype.once=function(n,t,l){return y(this,n,t,l,!0)},h.prototype.removeListener=function(n,t,l,b){var g=a?a+n:n;if(!this._events[g])return this;if(!t)return d(this,g),this;var _=this._events[g];if(_.fn)_.fn===t&&(!b||_.once)&&(!l||_.context===l)&&d(this,g);else{for(var c=0,i=[],p=_.length;c<p;c++)(_[c].fn!==t||b&&!_[c].once||l&&_[c].context!==l)&&i.push(_[c]);i.length?this._events[g]=i.length===1?i[0]:i:d(this,g)}return this},h.prototype.removeAllListeners=function(n){var t;return n?(t=a?a+n:n,this._events[t]&&d(this,t)):(this._events=new s,this._eventsCount=0),this},h.prototype.off=h.prototype.removeListener,h.prototype.addListener=h.prototype.on,h.prefixed=a,h.EventEmitter=h,r.exports=h})(Ke)),Ke.exports}tr();function rr(r,...e){const a={};for(const s of e.flat())a[s]=r[s];return a}function pe(r,e,a=/[.[\]'"]/){return e.split(a).filter(s=>s&&s!="__proto__").reduce((s,o)=>s?.[o],r)}function ar(r,e,a,s=/[.[\]'"]/){return e.split(s).filter(o=>o&&o!="__proto__").reduce((o,y,d)=>o[y]=e.split(s).filter(h=>h).length===++d?a:o[y]||{},r)}function nr(r){return new Promise(e=>setTimeout(e,r))}const lt=Intl.NumberFormat("en",{notation:"compact"});lt.format.bind(lt);async function sr(r,...e){const a=new Blob(e,{type:r}),s=new ClipboardItem({[r]:a});await navigator.clipboard.write([s])}async function ir(r,e,a,s){await sr(e(),a.value),ce(s,!0),await nr(3e3),ce(s,!1)}var or=x('<span class="svelte-1jyuowb"><!></span>'),cr=x('<span class="svelte-1jyuowb"><!></span>'),lr=x('<button class="svelte-1jyuowb"><!></button>');const fr={hash:"svelte-1jyuowb",code:"button.svelte-1jyuowb {position:relative;display:inline-block;width:1em;height:1em;border:none;background:transparent;}span.svelte-1jyuowb {position:absolute;inset:0;}"};function Wr(r,e){Ye(e,!0),ht(r,fr);const a=Me(e,"type",3,"text/plain");let s=Ue(!1);var o=lr();o.__click=[ir,a,e,s];var y=S(o);{var d=u=>{var n=or(),t=S(n);ze(t,{i:"check"}),w(n),it(3,n,()=>ot),v(u,n)},h=u=>{var n=cr(),t=S(n);ze(t,{i:"copy"}),w(n),it(3,n,()=>ot),v(u,n)};L(y,u=>{f(s)?u(d):u(h,!1)})}w(o),v(r,o),Qe()}le(["click"]);var ur=x("<input/>"),vr=x('<svelte-css-wrapper style="display: contents"><!></svelte-css-wrapper>',1),dr=x('<input type="checkbox" class="svelte-5ofwln"/> <label class="checkbox svelte-5ofwln"><!></label>',1),_r=x("<option> </option>"),hr=x("<select></select>"),mr=x('<div class="pref-record-entry"><!></div>'),pr=x('<div class="pref-sub"></div>'),gr=x('<div class="pref-record-entry"><label> </label> <!></div>'),br=x('<div class="pref-sub"></div>'),yr=x('<div class="pref-sub"><label> </label> <!></div>'),wr=x('<div class="pref-sub"></div>'),xr=x("<option> </option>"),kr=x("<select></select>"),Cr=x('<i class="error-text"> </i>');const Ar={hash:"svelte-5ofwln",code:"input[type='checkbox'].svelte-5ofwln {display:none;}label.checkbox.svelte-5ofwln {cursor:pointer;width:1.5em;height:1.5em;border:1px solid var(--border-accent);border-radius:0.5em;display:inline-flex;justify-content:center;align-items:center;}"};function Oe(r,e){const a=Ht();Ye(e,!0),ht(r,Ar);const s=(c,i=ge)=>{var p=ur();Vt(p,()=>({id:a,...i(),value:f(u),onchange:t,required:!y()}),void 0,void 0,"svelte-5ofwln",!0),Ne(p,k=>ce(d,k),()=>f(d)),v(c,p)};let o=Me(e,"preferences",15),y=Me(e,"optional",3,!1),d=Ue(void 0),h=Ue(_t(e.schema.def.type=="boolean"&&pe(o(),e.path)));const u=ne(()=>pe(o(),e.path)??pe(rt,e.path));function n(c,i){if(!c)return null;const p=T=>String(T).padStart(2,"0"),k=c.getFullYear(),m=p(c.getMonth()+1),I=p(c.getDate()),C=`${k}-${m}-${I}`,G=p(c.getHours()),q=p(c.getMinutes()),F=`${G}:${q}`;switch(i){case"date":return C;case"time":return F;case"time+sec":return`${F}:${p(c.getSeconds())}`;case"datetime":default:return`${C}T${F}`}}function t(c){const i=e.schema.parse(f(d)instanceof HTMLInputElement&&f(d).type==="checkbox"?f(d).checked:f(d).value);if(i!=pe(o(),e.path)){if(pe(rt,e.path)==i){const p=e.path.split("."),k=p.pop();delete pe(o(),p.join("."))[k]}else ar(o(),e.path,i);Kt("PATCH","users/:id",{preferences:o()},e.userId)}}var l=O(),b=A(l);{var g=c=>{{let i=ne(()=>({type:e.schema.format=="email"?"email":"text",...rr(e.schema,"minLength","maxLength")}));s(c,()=>f(i))}},_=c=>{var i=O(),p=A(i);{var k=I=>{{let C=ne(()=>({type:"number",min:e.schema.minValue,max:e.schema.maxValue,step:e.schema.format?.includes("int")?1:.1}));s(I,()=>f(C))}},m=I=>{var C=O(),G=A(C);{var q=T=>{{let E=ne(()=>({type:"number",min:Number(e.schema.minValue),max:Number(e.schema.maxValue),step:1}));s(T,()=>f(E))}},F=T=>{var E=O(),W=A(E);{var be=fe=>{var ye=dr(),J=A(ye);Gt(J),J.__change=t,Ne(J,N=>ce(d,N),()=>f(d));var we=z(J,2),De=S(we);{var Y=N=>{var je=vr(),xe=A(je);mt(xe,()=>({"--size":"1.3em"})),ze(xe.lastChild,{i:"check"}),w(xe),v(N,je)};L(De,N=>{f(h)&&N(Y)})}w(we),V(()=>{se(J,"id",a),J.required=!y(),se(we,"for",a)}),$t(J,()=>f(h),N=>ce(h,N)),v(fe,ye)},Be=fe=>{var ye=O(),J=A(ye);{var we=Y=>{{let N=ne(()=>({type:"date",min:n(e.schema.minDate,"date"),max:n(e.schema.maxDate,"date")}));s(Y,()=>f(N))}},De=Y=>{var N=O(),je=A(N);{var xe=ke=>{},gt=ke=>{var Xe=O(),bt=A(Xe);{var yt=ue=>{var B=hr();B.__change=t,ie(B,21,()=>e.schema.values,oe,(Ce,ve)=>{var Q=_r(),ee=S(Q,!0);w(Q);var Ae={};V(()=>{at(Q,f(u)===f(ve)),$(ee,f(ve)),Ae!==(Ae=f(ve))&&(Q.value=(Q.__value=f(ve))??"")}),v(Ce,Q)}),w(B),Ne(B,Ce=>ce(d,Ce),()=>f(d)),V(()=>{se(B,"id",a),B.required=!y()}),v(ue,B)},wt=ue=>{var B=O(),Ce=A(B);{var ve=ee=>{},Q=ee=>{var Ae=O(),xt=A(Ae);{var kt=de=>{Oe(de,{get userId(){return e.userId},get path(){return e.path},get schema(){return e.schema.def.innerType},optional:!0,get preferences(){return o()},set preferences(Pe){o(Pe)}})},Ct=de=>{var Pe=O(),At=A(Pe);{var Et=_e=>{var he=pr();ie(he,21,()=>f(u),oe,(He,Ze,Re)=>{var D=mr(),X=S(D);Oe(X,{get userId(){return e.userId},get path(){return`${e.path??""}.${Re}`},get schema(){return e.schema.element},get preferences(){return o()},set preferences(Ee){o(Ee)}}),w(D),v(He,D)}),w(he),v(_e,he)},Lt=_e=>{var he=O(),He=A(he);{var Ze=D=>{var X=br();ie(X,21,()=>Object.keys(f(u)),oe,(Ee,Fe)=>{var Le=gr(),M=S(Le),te=S(M,!0);w(M);var Se=z(M,2);Oe(Se,{get userId(){return e.userId},get path(){return`${e.path??""}.${f(Fe)??""}`},get schema(){return e.schema.valueType},get preferences(){return o()},set preferences(Ie){o(Ie)}}),w(Le),V(()=>{se(M,"for",a),$(te,f(Fe))}),v(Ee,Le)}),w(X),v(D,X)},Re=D=>{var X=O(),Ee=A(X);{var Fe=M=>{var te=O(),Se=A(te);ie(Se,17,()=>Object.entries(e.schema.shape),oe,(Ie,Ve)=>{var K=ne(()=>tt(f(Ve),2));let H=()=>f(K)[0],Te=()=>f(K)[1];var re=yr(),Z=S(re),R=S(Z,!0);w(Z);var P=z(Z,2);Oe(P,{get userId(){return e.userId},get path(){return`${e.path??""}.${H()??""}`},get schema(){return Te()},get preferences(){return o()},set preferences(ae){o(ae)}}),w(re),V(()=>{se(Z,"for",a),$(R,H())}),v(Ie,re)}),v(M,te)},Le=M=>{var te=O(),Se=A(te);{var Ie=K=>{var H=wr();ie(H,21,()=>e.schema.def.items,oe,(Te,re,Z)=>{Oe(Te,{get userId(){return e.userId},get path(){return`${e.path??""}.${Z}`},get schema(){return f(re)},get preferences(){return o()},set preferences(R){o(R)}})}),w(H),V(()=>se(H,"data-rest",e.schema.def.rest)),v(K,H)},Ve=K=>{var H=O(),Te=A(H);{var re=R=>{var P=kr();P.__change=t,ie(P,21,()=>Object.entries(e.schema.enum),oe,(ae,Ge)=>{var $e=ne(()=>tt(f(Ge),2));let St=()=>f($e)[0],Je=()=>f($e)[1];var me=xr(),It=S(me,!0);w(me);var et={};V(()=>{at(me,f(u)===Je()),$(It,St()),et!==(et=Je())&&(me.value=(me.__value=Je())??"")}),v(ae,me)}),w(P),Ne(P,ae=>ce(d,ae),()=>f(d)),V(()=>{se(P,"id",a),P.required=!y()}),v(R,P)},Z=R=>{var P=Cr(),ae=S(P);w(P),V(Ge=>$(ae,`Invalid preference type: ${Ge??""}`),[()=>JSON.stringify(e.schema?.def?.type)]),v(R,P)};L(Te,R=>{j(e.schema,"enum")?R(re):R(Z,!1)},!0)}v(K,H)};L(Se,K=>{j(e.schema,"tuple")?K(Ie):K(Ve,!1)},!0)}v(M,te)};L(Ee,M=>{j(e.schema,"object")?M(Fe):M(Le,!1)},!0)}v(D,X)};L(He,D=>{j(e.schema,"record")?D(Ze):D(Re,!1)},!0)}v(_e,he)};L(At,_e=>{j(e.schema,"array")?_e(Et):_e(Lt,!1)},!0)}v(de,Pe)};L(xt,de=>{j(e.schema,"nullable")||j(e.schema,"optional")?de(kt):de(Ct,!1)},!0)}v(ee,Ae)};L(Ce,ee=>{j(e.schema,"template_literal")?ee(ve):ee(Q,!1)},!0)}v(ue,B)};L(bt,ue=>{j(e.schema,"literal")?ue(yt):ue(wt,!1)},!0)}v(ke,Xe)};L(je,ke=>{j(e.schema,"file")?ke(xe):ke(gt,!1)},!0)}v(Y,N)};L(J,Y=>{j(e.schema,"date")?Y(we):Y(De,!1)},!0)}v(fe,ye)};L(W,fe=>{j(e.schema,"boolean")?fe(be):fe(Be,!1)},!0)}v(T,E)};L(G,T=>{j(e.schema,"bigint")?T(q):T(F,!1)},!0)}v(I,C)};L(p,I=>{j(e.schema,"number")?I(k):I(m,!1)},!0)}v(c,i)};L(b,c=>{j(e.schema,"string")?c(g):c(_,!1)})}v(r,l),Qe()}le(["change"]);var Er=x('<span class="current">Current</span>'),Lr=x('<span class="elevated">Elevated</span>'),Sr=(r,e,a)=>e["logout#"+f(a).id].showModal(),Ir=x("<p>Are you sure you want to log out this session?</p>"),Tr=x('<div class="item session"><p> <!> <!></p> <p> </p> <p> </p> <button><svelte-css-wrapper style="display: contents"><!></svelte-css-wrapper></button></div> <!>',1),Or=(r,e)=>e.logout_all.showModal(),jr=x("<p>Are you sure you want to log out all sessions?</p>"),Pr=x('<!> <span><button class="danger">Logout All</button></span> <!>',1);function Yr(r,e){Ye(e,!0);let a=Me(e,"redirectAfterLogoutAll",3,!1);const s=_t({});var o=Pr(),y=A(o);ie(y,17,()=>e.sessions,oe,(n,t)=>{var l=Tr(),b=A(l),g=S(b),_=S(g),c=z(_);{var i=E=>{var W=Er();v(E,W)};L(c,E=>{f(t).id==e.currentSession?.id&&E(i)})}var p=z(c,2);{var k=E=>{var W=Lr();v(E,W)};L(p,E=>{f(t).elevated&&E(k)})}w(g);var m=z(g,2),I=S(m);w(m);var C=z(m,2),G=S(C);w(C);var q=z(C,2);q.__click=[Sr,s,t],Jt(q,"",{},{display:"contents"});var F=S(q);mt(F,()=>({"--size":"16px"})),ze(F.lastChild,{i:"right-from-bracket"}),w(F),w(q),w(b);var T=z(b,2);nt(T,{submit:async()=>{await Wt(e.user.id,f(t).id),s["logout#"+f(t).id].remove(),e.sessions.splice(e.sessions.indexOf(f(t)),1),f(t).id==e.currentSession?.id&&(window.location.href="/")},submitText:"Logout",get dialog(){return s["logout#"+f(t).id]},set dialog(E){s["logout#"+f(t).id]=E},children:(E,W)=>{var be=Ir();v(E,be)},$$slots:{default:!0}}),V((E,W,be,Be)=>{$(_,`${E??""}...${W??""} `),$(I,`Created ${be??""}`),$(G,`Expires ${Be??""}`)},[()=>f(t).id.slice(0,4),()=>f(t).id.slice(-4),()=>f(t).created.toLocaleString(),()=>f(t).expires.toLocaleString()]),v(n,l)});var d=z(y,2),h=S(d);h.__click=[Or,s],w(d);var u=z(d,2);nt(u,{submit:()=>Ut(e.user.id).then(()=>a()?window.location.href="/":null),submitText:"Logout All Sessions",submitDanger:!0,get dialog(){return s.logout_all},set dialog(n){s.logout_all=n},children:(n,t)=>{var l=jr();v(n,l)},$$slots:{default:!0}}),v(r,o),Qe()}le(["click"]);le(["click"]);le(["click"]);le(["click"]);export{Wr as C,Oe as P,Yr as S,mt as c};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{E as c,H as f,J as _,af as d,ag as h,ah as l,ai as u,S as m,aj as v,a4 as g,P as o,I as y}from"./Dnk28BpG.js";function b(r,s,...n){var t=r,a=v,e;c(()=>{a!==(a=s())&&(e&&(g(e),e=null),e=m(()=>a(t,...n)))},u),f&&(t=o)}function R(r){return(s,...n)=>{var t=r(...n),a;if(f)a=o,_();else{var e=t.render().trim(),p=d(e);a=y(p),s.before(a)}const i=t.setup?.(a);h(a,a),typeof i=="function"&&l(i)}}export{R as c,b as s};
|
|
Binary file
|
|
Binary file
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{E as D,a4 as M,S as G,ac as K,H as N,ah as W,i as X,a$ as m,b0 as x,b1 as rr,b2 as ir,b3 as fr,b4 as tr,A as er,b5 as sr,b6 as ar,O as U,b7 as ur,ak as lr,a3 as or,b8 as cr}from"./Dnk28BpG.js";import{i as nr,c as vr,d as dr,n as br,b as gr}from"./Bbzjahjl.js";function _r(r,t){var i=void 0,f;D(()=>{i!==(i=t())&&(f&&(M(f),f=null),i&&(f=G(()=>{K(()=>i(r))})))})}function q(r){var t,i,f="";if(typeof r=="string"||typeof r=="number")f+=r;else if(typeof r=="object")if(Array.isArray(r)){var e=r.length;for(t=0;t<e;t++)r[t]&&(i=q(r[t]))&&(f&&(f+=" "),f+=i)}else for(i in r)r[i]&&(f&&(f+=" "),f+=i);return f}function hr(){for(var r,t,i=0,f="",e=arguments.length;i<e;i++)(r=arguments[i])&&(t=q(r))&&(f&&(f+=" "),f+=t);return f}function Ar(r){return typeof r=="object"?hr(r):r??""}const H=[...`
|
|
2
|
-
\r\f \v\uFEFF`];function pr(r,t,i){var f=r==null?"":""+r;if(t&&(f=f?f+" "+t:t),i){for(var e in i)if(i[e])f=f?f+" "+e:e;else if(f.length)for(var s=e.length,l=0;(l=f.indexOf(e,l))>=0;){var n=l+s;(l===0||H.includes(f[l-1]))&&(n===f.length||H.includes(f[n]))?f=(l===0?"":f.substring(0,l))+f.substring(n+1):l=n}}return f===""?null:f}function V(r,t=!1){var i=t?" !important;":";",f="";for(var e in r){var s=r[e];s!=null&&s!==""&&(f+=" "+e+": "+s+i)}return f}function C(r){return r[0]!=="-"||r[1]!=="-"?r.toLowerCase():r}function Sr(r,t){if(t){var i="",f,e;if(Array.isArray(t)?(f=t[0],e=t[1]):f=t,r){r=String(r).replaceAll(/\s*\/\*.*?\*\/\s*/g,"").trim();var s=!1,l=0,n=!1,c=[];f&&c.push(...Object.keys(f).map(C)),e&&c.push(...Object.keys(e).map(C));var v=0,p=-1;const S=r.length;for(var d=0;d<S;d++){var a=r[d];if(n?a==="/"&&r[d-1]==="*"&&(n=!1):s?s===a&&(s=!1):a==="/"&&r[d+1]==="*"?n=!0:a==='"'||a==="'"?s=a:a==="("?l++:a===")"&&l--,!n&&s===!1&&l===0){if(a===":"&&p===-1)p=d;else if(a===";"||d===S-1){if(p!==-1){var A=C(r.substring(v,p).trim());if(!c.includes(A)){a!==";"&&d++;var E=r.substring(v,d).trim();i+=" "+E+";"}}v=d+1,p=-1}}}}return f&&(i+=V(f)),e&&(i+=V(e,!0)),i=i.trim(),i===""?null:i}return r==null?null:String(r)}function Nr(r,t,i,f,e,s){var l=r.__className;if(N||l!==i||l===void 0){var n=pr(i,f,s);(!N||n!==r.getAttribute("class"))&&(n==null?r.removeAttribute("class"):t?r.className=n:r.setAttribute("class",n)),r.__className=i}else if(s&&e!==s)for(var c in s){var v=!!s[c];(e==null||v!==!!e[c])&&r.classList.toggle(c,v)}return s}function w(r,t={},i,f){for(var e in i){var s=i[e];t[e]!==s&&(i[e]==null?r.style.removeProperty(e):r.style.setProperty(e,s,f))}}function Er(r,t,i,f){var e=r.__style;if(N||e!==t){var s=Sr(t,f);(!N||s!==r.getAttribute("style"))&&(s==null?r.removeAttribute("style"):r.style.cssText=s),r.__style=t}else f&&(Array.isArray(f)?(w(r,i?.[0],f[0]),w(r,i?.[1],f[1],"important")):w(r,i,f));return f}function k(r,t,i=!1){if(r.multiple){if(t==null)return;if(!X(t))return m();for(var f of r.options)f.selected=t.includes(Y(f));return}for(f of r.options){var e=Y(f);if(x(e,t)){f.selected=!0;return}}(!i||t!==void 0)&&(r.selectedIndex=-1)}function Or(r){var t=new MutationObserver(()=>{k(r,r.__value)});t.observe(r,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["value"]}),W(()=>{t.disconnect()})}function Y(r){return"__value"in r?r.__value:r.value}const T=Symbol("class"),L=Symbol("style"),z=Symbol("is custom element"),F=Symbol("is html");function Tr(r){if(N){var t=!1,i=()=>{if(!t){if(t=!0,r.hasAttribute("value")){var f=r.value;I(r,"value",null),r.value=f}if(r.hasAttribute("checked")){var e=r.checked;I(r,"checked",null),r.checked=e}}};r.__on_r=i,or(i),cr()}}function wr(r,t){var i=P(r);i.value===(i.value=t??void 0)||r.value===t&&(t!==0||r.nodeName!=="PROGRESS")||(r.value=t??"")}function Lr(r,t){t?r.hasAttribute("selected")||r.setAttribute("selected",""):r.removeAttribute("selected")}function I(r,t,i,f){var e=P(r);N&&(e[t]=r.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&r.nodeName==="LINK")||e[t]!==(e[t]=i)&&(t==="loading"&&(r[ir]=i),i==null?r.removeAttribute(t):typeof i!="string"&&Z(r).includes(t)?r[t]=i:r.setAttribute(t,i))}function Ir(r,t,i,f,e=!1,s=!1){if(N&&e&&r.tagName==="INPUT"){var l=r,n=l.type==="checkbox"?"defaultChecked":"defaultValue";n in i||Tr(l)}var c=P(r),v=c[z],p=!c[F];let d=N&&v;d&&U(!1);var a=t||{},A=r.tagName==="OPTION";for(var E in t)E in i||(i[E]=null);i.class?i.class=Ar(i.class):(f||i[T])&&(i.class=null),i[L]&&(i.style??=null);var S=Z(r);for(const u in i){let o=i[u];if(A&&u==="value"&&o==null){r.value=r.__value="",a[u]=o;continue}if(u==="class"){var h=r.namespaceURI==="http://www.w3.org/1999/xhtml";Nr(r,h,o,f,t?.[T],i[T]),a[u]=o,a[T]=i[T];continue}if(u==="style"){Er(r,o,t?.[L],i[L]),a[u]=o,a[L]=i[L];continue}var $=a[u];if(!(o===$&&!(o===void 0&&r.hasAttribute(u)))){a[u]=o;var j=u[0]+u[1];if(j!=="$$")if(j==="on"){const _={},O="$$"+u;let b=u.slice(2);var y=gr(b);if(nr(b)&&(b=b.slice(0,-7),_.capture=!0),!y&&$){if(o!=null)continue;r.removeEventListener(b,a[O],_),a[O]=null}if(o!=null)if(y)r[`__${b}`]=o,dr([b]);else{let J=function(Q){a[u].call(this,Q)};a[O]=vr(b,r,J,_)}else y&&(r[`__${b}`]=void 0)}else if(u==="style")I(r,u,o);else if(u==="autofocus")ur(r,!!o);else if(!v&&(u==="__value"||u==="value"&&o!=null))r.value=r.__value=o;else if(u==="selected"&&A)Lr(r,o);else{var g=u;p||(g=br(g));var R=g==="defaultValue"||g==="defaultChecked";if(o==null&&!v&&!R)if(c[u]=null,g==="value"||g==="checked"){let _=r;const O=t===void 0;if(g==="value"){let b=_.defaultValue;_.removeAttribute(g),_.defaultValue=b,_.value=_.__value=O?b:null}else{let b=_.defaultChecked;_.removeAttribute(g),_.defaultChecked=b,_.checked=O?b:!1}}else r.removeAttribute(u);else R||S.includes(g)&&(v||typeof o!="string")?(r[g]=o,g in c&&(c[g]=lr)):typeof o!="function"&&I(r,g,o)}}}return d&&U(!0),a}function Mr(r,t,i=[],f=[],e,s=!1,l=!1){rr(i,f,n=>{var c=void 0,v={},p=r.nodeName==="SELECT",d=!1;if(D(()=>{var A=t(...n.map(er)),E=Ir(r,c,A,e,s,l);d&&p&&"value"in A&&k(r,A.value);for(let h of Object.getOwnPropertySymbols(v))A[h]||M(v[h]);for(let h of Object.getOwnPropertySymbols(A)){var S=A[h];h.description===sr&&(!c||S!==c[h])&&(v[h]&&M(v[h]),v[h]=G(()=>_r(r,()=>S))),E[h]=S}c=E}),p){var a=r;K(()=>{k(a,c.value,!0),Or(a)})}d=!0})}function P(r){return r.__attributes??={[z]:r.nodeName.includes("-"),[F]:r.namespaceURI===fr}}var B=new Map;function Z(r){var t=r.getAttribute("is")||r.nodeName,i=B.get(t);if(i)return i;B.set(t,i=[]);for(var f,e=r,s=Element.prototype;s!==e;){f=ar(e);for(var l in f)f[l].set&&i.push(l);e=tr(e)}return i}export{Mr as a,Nr as b,Ar as c,Er as d,wr as e,k as f,Lr as g,Or as i,Tr as r,I as s};
|
|
Binary file
|
|
Binary file
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import{u as le,p as j,$ as Y,o as ue,e as de,d as fe,U as be}from"./BSFUgC2l.js";import{f as i}from"./Ch16TNvP.js";import"./DsnmJJEf.js";import{r as z,q as P,a as O,x as F,y as T,z as S,u as pe,f as ge,aj as B,ab as v,A as J,am as he,w as G,aq as k}from"./Dnk28BpG.js";import{d as me,e as we,s as W}from"./Bbzjahjl.js";import{s as I}from"./D1v6O410.js";import{i as q}from"./1taVrT-y.js";import{a as Z}from"./eyJgPND9.js";import{a as ye,b as Ee,c as Ae}from"./DdnE6dyJ.js";import{p as R,r as Q,s as Re}from"./CTKC36WM.js";import{b as _e}from"./DfUzlYF5.js";function m(e){const t=new Uint8Array(e);let n="";for(const s of t)n+=String.fromCharCode(s);return btoa(n).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}function C(e){const t=e.replace(/-/g,"+").replace(/_/g,"/"),n=(4-t.length%4)%4,a=t.padEnd(t.length+n,"="),s=atob(a),l=new ArrayBuffer(s.length),d=new Uint8Array(l);for(let u=0;u<s.length;u++)d[u]=s.charCodeAt(u);return l}function K(){return ve.stubThis(globalThis?.PublicKeyCredential!==void 0&&typeof globalThis.PublicKeyCredential=="function")}const ve={stubThis:e=>e};function X(e){const{id:t}=e;return{...e,id:C(t),transports:e.transports}}function $(e){return e==="localhost"||/^([a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,}$/i.test(e)}class o extends Error{constructor({message:t,code:n,cause:a,name:s}){super(t,{cause:a}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.name=s??a.name,this.code=n}}function Oe({error:e,options:t}){const{publicKey:n}=t;if(!n)throw Error("options was missing required publicKey property");if(e.name==="AbortError"){if(t.signal instanceof AbortSignal)return new o({message:"Registration ceremony was sent an abort signal",code:"ERROR_CEREMONY_ABORTED",cause:e})}else if(e.name==="ConstraintError"){if(n.authenticatorSelection?.requireResidentKey===!0)return new o({message:"Discoverable credentials were required but no available authenticator supported it",code:"ERROR_AUTHENTICATOR_MISSING_DISCOVERABLE_CREDENTIAL_SUPPORT",cause:e});if(t.mediation==="conditional"&&n.authenticatorSelection?.userVerification==="required")return new o({message:"User verification was required during automatic registration but it could not be performed",code:"ERROR_AUTO_REGISTER_USER_VERIFICATION_FAILURE",cause:e});if(n.authenticatorSelection?.userVerification==="required")return new o({message:"User verification was required but no available authenticator supported it",code:"ERROR_AUTHENTICATOR_MISSING_USER_VERIFICATION_SUPPORT",cause:e})}else{if(e.name==="InvalidStateError")return new o({message:"The authenticator was previously registered",code:"ERROR_AUTHENTICATOR_PREVIOUSLY_REGISTERED",cause:e});if(e.name==="NotAllowedError")return new o({message:e.message,code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:e});if(e.name==="NotSupportedError")return n.pubKeyCredParams.filter(s=>s.type==="public-key").length===0?new o({message:'No entry in pubKeyCredParams was of type "public-key"',code:"ERROR_MALFORMED_PUBKEYCREDPARAMS",cause:e}):new o({message:"No available authenticator supported any of the specified pubKeyCredParams algorithms",code:"ERROR_AUTHENTICATOR_NO_SUPPORTED_PUBKEYCREDPARAMS_ALG",cause:e});if(e.name==="SecurityError"){const a=globalThis.location.hostname;if($(a)){if(n.rp.id!==a)return new o({message:`The RP ID "${n.rp.id}" is invalid for this domain`,code:"ERROR_INVALID_RP_ID",cause:e})}else return new o({message:`${globalThis.location.hostname} is an invalid domain`,code:"ERROR_INVALID_DOMAIN",cause:e})}else if(e.name==="TypeError"){if(n.user.id.byteLength<1||n.user.id.byteLength>64)return new o({message:"User ID was not between 1 and 64 characters",code:"ERROR_INVALID_USER_ID_LENGTH",cause:e})}else if(e.name==="UnknownError")return new o({message:"The authenticator was unable to process the specified options, or could not create a new credential",code:"ERROR_AUTHENTICATOR_GENERAL_ERROR",cause:e})}return e}class Te{constructor(){Object.defineProperty(this,"controller",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}createNewAbortSignal(){if(this.controller){const n=new Error("Cancelling existing WebAuthn API call for new one");n.name="AbortError",this.controller.abort(n)}const t=new AbortController;return this.controller=t,t.signal}cancelCeremony(){if(this.controller){const t=new Error("Manually cancelling existing WebAuthn API call");t.name="AbortError",this.controller.abort(t),this.controller=void 0}}}const ee=new Te,Se=["cross-platform","platform"];function te(e){if(e&&!(Se.indexOf(e)<0))return e}async function ne(e){!e.optionsJSON&&e.challenge&&(console.warn("startRegistration() was not called correctly. It will try to continue with the provided options, but this call should be refactored to use the expected call structure instead. See https://simplewebauthn.dev/docs/packages/browser#typeerror-cannot-read-properties-of-undefined-reading-challenge for more information."),e={optionsJSON:e});const{optionsJSON:t,useAutoRegister:n=!1}=e;if(!K())throw new Error("WebAuthn is not supported in this browser");const a={...t,challenge:C(t.challenge),user:{...t.user,id:C(t.user.id)},excludeCredentials:t.excludeCredentials?.map(X)},s={};n&&(s.mediation="conditional"),s.publicKey=a,s.signal=ee.createNewAbortSignal();let l;try{l=await navigator.credentials.create(s)}catch(r){throw Oe({error:r,options:s})}if(!l)throw new Error("Registration was not completed");const{id:d,rawId:u,response:c,type:_}=l;let p;typeof c.getTransports=="function"&&(p=c.getTransports());let g;if(typeof c.getPublicKeyAlgorithm=="function")try{g=c.getPublicKeyAlgorithm()}catch(r){U("getPublicKeyAlgorithm()",r)}let y;if(typeof c.getPublicKey=="function")try{const r=c.getPublicKey();r!==null&&(y=m(r))}catch(r){U("getPublicKey()",r)}let E;if(typeof c.getAuthenticatorData=="function")try{E=m(c.getAuthenticatorData())}catch(r){U("getAuthenticatorData()",r)}return{id:d,rawId:m(u),response:{attestationObject:m(c.attestationObject),clientDataJSON:m(c.clientDataJSON),transports:p,publicKeyAlgorithm:g,publicKey:y,authenticatorData:E},type:_,clientExtensionResults:l.getClientExtensionResults(),authenticatorAttachment:te(l.authenticatorAttachment)}}function U(e,t){console.warn(`The browser extension that intercepted this WebAuthn API call incorrectly implemented ${e}. You should report this error to them.
|
|
2
|
-
`,t)}function Pe(){if(!K())return x.stubThis(new Promise(t=>t(!1)));const e=globalThis.PublicKeyCredential;return e?.isConditionalMediationAvailable===void 0?x.stubThis(new Promise(t=>t(!1))):x.stubThis(e.isConditionalMediationAvailable())}const x={stubThis:e=>e};function De({error:e,options:t}){const{publicKey:n}=t;if(!n)throw Error("options was missing required publicKey property");if(e.name==="AbortError"){if(t.signal instanceof AbortSignal)return new o({message:"Authentication ceremony was sent an abort signal",code:"ERROR_CEREMONY_ABORTED",cause:e})}else{if(e.name==="NotAllowedError")return new o({message:e.message,code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:e});if(e.name==="SecurityError"){const a=globalThis.location.hostname;if($(a)){if(n.rpId!==a)return new o({message:`The RP ID "${n.rpId}" is invalid for this domain`,code:"ERROR_INVALID_RP_ID",cause:e})}else return new o({message:`${globalThis.location.hostname} is an invalid domain`,code:"ERROR_INVALID_DOMAIN",cause:e})}else if(e.name==="UnknownError")return new o({message:"The authenticator was unable to process the specified options, or could not create a new assertion signature",code:"ERROR_AUTHENTICATOR_GENERAL_ERROR",cause:e})}return e}async function L(e){!e.optionsJSON&&e.challenge&&(console.warn("startAuthentication() was not called correctly. It will try to continue with the provided options, but this call should be refactored to use the expected call structure instead. See https://simplewebauthn.dev/docs/packages/browser#typeerror-cannot-read-properties-of-undefined-reading-challenge for more information."),e={optionsJSON:e});const{optionsJSON:t,useBrowserAutofill:n=!1,verifyBrowserAutofillInput:a=!0}=e;if(!K())throw new Error("WebAuthn is not supported in this browser");let s;t.allowCredentials?.length!==0&&(s=t.allowCredentials?.map(X));const l={...t,challenge:C(t.challenge),allowCredentials:s},d={};if(n){if(!await Pe())throw Error("Browser does not support WebAuthn autofill");if(document.querySelectorAll("input[autocomplete$='webauthn']").length<1&&a)throw Error('No <input> with "webauthn" as the only or last value in its `autocomplete` attribute was detected');d.mediation="conditional",l.allowCredentials=[]}d.publicKey=l,d.signal=ee.createNewAbortSignal();let u;try{u=await navigator.credentials.get(d)}catch(E){throw De({error:E,options:d})}if(!u)throw new Error("Authentication was not completed");const{id:c,rawId:_,response:p,type:g}=u;let y;return p.userHandle&&(y=m(p.userHandle)),{id:c,rawId:m(_),response:{authenticatorData:m(p.authenticatorData),clientDataJSON:m(p.clientDataJSON),signature:m(p.signature),userHandle:y},type:g,clientExtensionResults:u.getClientExtensionResults(),authenticatorAttachment:te(u.authenticatorAttachment)}}async function Ne(e){const t=await i("OPTIONS","users/:id/auth",{type:"login"},e),n=await L({optionsJSON:t});return await i("POST","users/:id/auth",n,e)}async function Ie(e){const t=await i("OPTIONS","users/:id/auth",{type:"action"},e),n=await L({optionsJSON:t});await i("POST","users/:id/auth",n,e)}async function Xe(e){const{id:t}=await i("POST","user_id",{using:"email",value:e});return await Ne(t)}async function $e(){const e=await i("GET","session");return e.created=new Date(e.created),e.expires=new Date(e.expires),e}async function et(e){w(e);const t=await i("GET","users/:id/sessions",{},e);for(const n of t)n.created=new Date(n.created),n.expires=new Date(n.expires);return t}async function tt(e,...t){w(e);const n=await i("DELETE","users/:id/sessions",{id:t},e);for(const a of n)a.created=new Date(a.created),a.expires=new Date(a.expires);return n}async function nt(e){w(e),await Ie(e);const t=await i("DELETE","users/:id/sessions",{confirm_all:!0},e);for(const n of t)n.created=new Date(n.created),n.expires=new Date(n.expires);return t}async function at(){return await i("DELETE","session")}async function st(e){const t=ue({name:fe(),email:de()}).parse(e),{options:n,userId:a}=await i("OPTIONS","register",t),s=await ne({optionsJSON:n});await i("POST","register",{userId:a,name:t.name,email:t.email,response:s})}function w(e){try{le().parse(e)}catch(t){throw t instanceof Y?j(t):t}}async function rt(e,t){w(e);const n=await be.parseAsync(t).catch(s=>{throw s instanceof Y?j(s):s}),a=await i("PATCH","users/:id",n,e);return a.registeredAt=new Date(a.registeredAt),a.emailVerified&&(a.emailVerified=new Date(a.emailVerified)),a}async function it(e){w(e);const t=await i("OPTIONS","users/:id/auth",{type:"action"},e),n=await L({optionsJSON:t});await i("POST","users/:id/auth",n,e);const a=await i("DELETE","users/:id",n,e);return a.registeredAt=new Date(a.registeredAt),a.emailVerified=new Date(a.emailVerified),a}async function ot(e){w(e);const{enabled:t}=await i("OPTIONS","users/:id/verify_email",{},e);return t}async function ct(e){return w(e),await i("GET","users/:id/verify_email",{},e)}async function lt(e){w(e);const t=await i("GET","users/:id/passkeys",{},e);for(const n of t)n.createdAt=new Date(n.createdAt);return t}async function ut(e){w(e);const t=await i("OPTIONS","users/:id/passkeys",{},e),n=await ne({optionsJSON:t});return await i("PUT","users/:id/passkeys",n,e)}async function dt(e,t){return await i("PATCH","passkeys/:id",t,e)}async function ft(e){return await i("DELETE","passkeys/:id",{},e)}var Ce=P("<dialog><!></dialog>");const ke={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 {
|
|
3
|
-
animation: svelte-1bkt9ng-zoom 0.25s cubic-bezier(0.35, 1.55, 0.65, 1);}
|
|
4
|
-
|
|
5
|
-
@keyframes svelte-1bkt9ng-zoom {
|
|
6
|
-
from {
|
|
7
|
-
transform: scale(0.95);
|
|
8
|
-
}
|
|
9
|
-
to {
|
|
10
|
-
transform: scale(1);
|
|
11
|
-
}
|
|
12
|
-
}dialog[open].svelte-1bkt9ng::backdrop {
|
|
13
|
-
animation: svelte-1bkt9ng-fade 0.25s ease-out;}
|
|
14
|
-
|
|
15
|
-
@keyframes svelte-1bkt9ng-fade {
|
|
16
|
-
from {
|
|
17
|
-
opacity: 0;
|
|
18
|
-
}
|
|
19
|
-
to {
|
|
20
|
-
opacity: 1;
|
|
21
|
-
}
|
|
22
|
-
}`};function Ue(e,t){z(t,!0),Z(e,ke);let n=R(t,"dialog",15),a=Q(t,["$$slots","$$events","$$legacy","children","dialog"]);var s=Ce();ye(s,()=>({...a}),void 0,void 0,"svelte-1bkt9ng");var l=T(s);I(l,()=>t.children),S(s),_e(s,d=>n(d),()=>n()),O(e,s),F()}var xe=P('<button type="submit"> </button>'),Ke=P('<div class="error"> </div>'),Le=(e,t)=>t().close(),Ve=P('<div class="actions svelte-m5w2se"><button type="button">Cancel</button> <!></div>'),Me=P('<!> <form class="main" method="dialog"><!> <!> <!></form> <!>',1);const He={hash:"svelte-m5w2se",code:".actions.svelte-m5w2se {display:flex;gap:1em;flex-direction:row;justify-content:space-between;}"};function bt(e,t){z(t,!0),Z(e,He);const n=r=>{var b=xe(),f=T(b,!0);S(b),G(()=>{Ee(b,1,Ae(["submit",_()&&"danger"])),W(f,l())}),O(r,b)};function a(){const r=new URL(location.href),b=r.searchParams.get("after");if(!b||b==r.pathname)return"/";for(const f of["/api/"])if(b.startsWith(f))return"/";return b||"/"}let s=R(t,"dialog",15),l=R(t,"submitText",3,"Submit"),d=R(t,"cancel",3,()=>{}),u=R(t,"submit",3,r=>Promise.resolve()),c=R(t,"pageMode",3,!1),_=R(t,"submitDanger",3,!1),p=Q(t,["$$slots","$$events","$$legacy","children","dialog","submitText","cancel","submit","pageMode","submitDanger","header","footer"]),g=he(void 0);pe(()=>{c()&&s().showModal()});function y(r){r.preventDefault(),d()()}function E(r){r.preventDefault();const b=Object.fromEntries(new FormData(r.currentTarget));u()(b).then(f=>{c()?window.location.href=a():s().close()}).catch(f=>{f?typeof f=="object"&&"message"in f?k(g,f.message,!0):k(g,f,!0):k(g,"An unknown error occurred")})}Ue(e,Re({onclose:y},()=>p,{get dialog(){return s()},set dialog(r){s(r)},children:(r,b)=>{var f=Me(),V=ge(f);I(V,()=>t.header??B);var D=v(V,2),M=T(D);{var ae=h=>{var A=Ke(),N=T(A,!0);S(A),G(()=>W(N,J(g))),O(h,A)};q(M,h=>{J(g)&&h(ae)})}var H=v(M,2);I(H,()=>t.children);var se=v(H,2);{var re=h=>{n(h)},ie=h=>{var A=Ve(),N=T(A);N.__click=[Le,s];var ce=v(N,2);n(ce),S(A),O(h,A)};q(se,h=>{c()?h(re):h(ie,!1)})}S(D);var oe=v(D,2);I(oe,()=>t.footer??B),we("submit",D,E),O(r,f)},$$slots:{default:!0}})),F()}me(["click"]);export{bt as F,et as a,lt as b,ut as c,it as d,ot as e,dt as f,$e as g,ft as h,Xe as i,nt as j,tt as k,at as l,st as r,ct as s,rt as u};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{ac as h,ad as t,h as b,a3 as c,ae as d}from"./Dnk28BpG.js";function u(r,a){return r===a||r?.[d]===a}function T(r={},a,f,k){return h(()=>{var i,s;return t(()=>{i=s,s=[],b(()=>{r!==f(...s)&&(a(r,...s),i&&u(f(...i),r)&&a(null,...i))})}),()=>{c(()=>{s&&u(f(...s),r)&&a(null,...s)})}}),r}export{T as b};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var Lt=Array.isArray,jt=Array.prototype.indexOf,Dn=Array.from,Ge=Object.defineProperty,ce=Object.getOwnPropertyDescriptor,Pn=Object.getOwnPropertyDescriptors,Yt=Object.prototype,qt=Array.prototype,Ht=Object.getPrototypeOf,Ke=Object.isExtensible;function Mn(e){return typeof e=="function"}const Fn=()=>{};function Ut(e){for(var t=0;t<e.length;t++)e[t]()}function rt(){var e,t,n=new Promise((r,s)=>{e=r,t=s});return{promise:n,resolve:e,reject:t}}function Ln(e,t,n=!1){return e===void 0?n?t():t:e}function jn(e,t){if(Array.isArray(e))return e;if(!(Symbol.iterator in e))return Array.from(e);const n=[];for(const r of e)if(n.push(r),n.length===t)break;return n}const T=2,Me=4,be=8,ee=16,F=32,te=64,st=128,O=256,me=512,g=1024,C=2048,B=4096,q=8192,ie=16384,Fe=32768,at=65536,We=1<<17,Bt=1<<18,pe=1<<19,it=1<<20,Se=1<<21,Te=1<<22,K=1<<23,_e=Symbol("$state"),Yn=Symbol("legacy props"),qn=Symbol(""),re=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},xe=3,Le=8;function Vt(e){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}function $t(){throw new Error("https://svelte.dev/e/missing_context")}function Gt(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Kt(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Wt(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Xt(e){throw new Error("https://svelte.dev/e/effect_orphan")}function Zt(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Un(){throw new Error("https://svelte.dev/e/get_abort_signal_outside_reaction")}function Bn(){throw new Error("https://svelte.dev/e/hydration_failed")}function Vn(e){throw new Error("https://svelte.dev/e/lifecycle_legacy_only")}function $n(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function zt(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Jt(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Qt(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Gn(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}const Kn=1,Wn=2,Xn=4,Zn=8,zn=16,Jn=1,Qn=4,er=8,tr=16,nr=4,en=1,tn=2,nn="[",rn="[!",sn="]",je={},y=Symbol(),rr="http://www.w3.org/1999/xhtml",sr="@attach";function Ye(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function ar(){console.warn("https://svelte.dev/e/select_multiple_invalid_value")}function ir(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let x=!1;function ft(e){x=e}let d;function H(e){if(e===null)throw Ye(),je;return d=e}function ut(){return H(ne(d))}function fr(e){if(x){if(ne(d)!==null)throw Ye(),je;d=e}}function ur(e=1){if(x){for(var t=e,n=d;t--;)n=ne(n);d=n}}function lr(e=!0){for(var t=0,n=d;;){if(n.nodeType===Le){var r=n.data;if(r===sn){if(t===0)return n;t-=1}else(r===nn||r===rn)&&(t+=1)}var s=ne(n);e&&n.remove(),n=s}}function or(e){if(!e||e.nodeType!==Le)throw Ye(),je;return e.data}function lt(e){return e===this.v}function an(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function ot(e){return!an(e,this.v)}let R=null;function ye(e){R=e}function cr(){const e={};return[()=>(ln(e)||$t(),fn(e)),t=>un(e,t)]}function fn(e){return Ae().get(e)}function un(e,t){return Ae().set(e,t),t}function ln(e){return Ae().has(e)}function _r(){return Ae()}function vr(e,t=!1,n){R={p:R,c:null,e:null,s:e,x:null,l:null}}function dr(e){var t=R,n=t.e;if(n!==null){t.e=null;for(var r of n)xt(r)}return R=t.p,{}}function ct(){return!0}function Ae(e){return R===null&&Vt(),R.c??=new Map(on(R)||void 0)}function on(e){let t=e.p;for(;t!==null;){const n=t.c;if(n!==null)return n;t=t.p}return null}let G=[];function _t(){var e=G;G=[],Ut(e)}function vt(e){if(G.length===0&&!ve){var t=G;queueMicrotask(()=>{t===G&&_t()})}G.push(e)}function cn(){for(;G.length>0;)_t()}const _n=new WeakMap;function vn(e){var t=_;if(t===null)return c.f|=K,e;if((t.f&Fe)===0){if((t.f&st)===0)throw!t.parent&&e instanceof Error&&dt(e),e;t.b.error(e)}else ge(e,t)}function ge(e,t){for(;t!==null;){if((t.f&st)!==0)try{t.b.error(e);return}catch(n){e=n}t=t.parent}throw e instanceof Error&&dt(e),e}function dt(e){const t=_n.get(e);t&&(Ge(e,"message",{value:t.message}),Ge(e,"stack",{value:t.stack}))}const we=new Set;let m=null,S=null,Xe=new Set,I=[],Re=null,ke=!1,ve=!1;class X{current=new Map;#n=new Map;#r=new Set;#e=0;#u=null;#s=[];#a=[];#t=[];#i=[];#l=[];#o=[];skipped_effects=new Set;process(t){I=[],this.apply();for(const a of t)this.#c(a);if(this.#e===0){var n=S;this.#_();var r=this.#a,s=this.#t;this.#a=[],this.#t=[],this.#i=[],m=null,S=n,Ze(r),Ze(s),this.#u?.resolve()}else this.#f(this.#a),this.#f(this.#t),this.#f(this.#i);S=null;for(const a of this.#s)he(a);this.#s=[]}#c(t){t.f^=g;for(var n=t.first;n!==null;){var r=n.f,s=(r&(F|te))!==0,a=s&&(r&g)!==0,f=a||(r&q)!==0||this.skipped_effects.has(n);if(!f&&n.fn!==null){s?n.f^=g:(r&Me)!==0?this.#t.push(n):(r&g)===0&&((r&Te)!==0&&n.b?.is_pending()?this.#s.push(n):Ne(n)&&((n.f&ee)!==0&&this.#i.push(n),he(n)));var l=n.first;if(l!==null){n=l;continue}}var i=n.parent;for(n=n.next;n===null&&i!==null;)n=i.next,i=i.parent}}#f(t){for(const n of t)((n.f&C)!==0?this.#l:this.#o).push(n),b(n,g);t.length=0}capture(t,n){this.#n.has(t)||this.#n.set(t,n),this.current.set(t,t.v),S?.set(t,t.v)}activate(){m=this}deactivate(){m=null,S=null}flush(){if(I.length>0){if(this.activate(),Ie(),m!==null&&m!==this)return}else this.#e===0&&this.#_();this.deactivate();for(const t of Xe)if(Xe.delete(t),t(),m!==null)break}#_(){for(const t of this.#r)t();if(this.#r.clear(),we.size>1){this.#n.clear();let t=!0;for(const n of we){if(n===this){t=!1;continue}const r=[];for(const[a,f]of this.current){if(n.current.has(a))if(t&&f!==n.current.get(a))n.current.set(a,f);else continue;r.push(a)}if(r.length===0)continue;const s=[...n.current.keys()].filter(a=>!this.current.has(a));if(s.length>0){for(const a of r)ht(a,s);if(I.length>0){m=n,n.apply();for(const a of I)n.#c(a);I=[],n.deactivate()}}}m=null}we.delete(this)}increment(){this.#e+=1}decrement(){this.#e-=1;for(const t of this.#l)b(t,C),Z(t);for(const t of this.#o)b(t,B),Z(t);this.flush()}add_callback(t){this.#r.add(t)}settled(){return(this.#u??=rt()).promise}static ensure(){if(m===null){const t=m=new X;we.add(m),ve||X.enqueue(()=>{m===t&&t.flush()})}return m}static enqueue(t){vt(t)}apply(){}}function dn(e){var t=ve;ve=!0;try{var n;for(e&&(m!==null&&Ie(),n=e());;){if(cn(),I.length===0&&(m?.flush(),I.length===0))return Re=null,n;Ie()}}finally{ve=t}}function Ie(){var e=se;ke=!0;try{var t=0;for(et(!0);I.length>0;){var n=X.ensure();if(t++>1e3){var r,s;hn()}n.process(I),Y.clear()}}finally{ke=!1,et(e),Re=null}}function hn(){try{Zt()}catch(e){ge(e,Re)}}let $=null;function Ze(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(ie|q))===0&&Ne(r)&&($=[],he(r),r.deps===null&&r.first===null&&r.nodes_start===null&&(r.teardown===null&&r.ac===null?Nt(r):r.fn=null),$?.length>0)){Y.clear();for(const s of $)he(s);$=[]}}$=null}}function ht(e,t){if(e.reactions!==null)for(const n of e.reactions){const r=n.f;(r&T)!==0?ht(n,t):(r&(Te|ee))!==0&&pt(n,t)&&(b(n,C),Z(n))}}function pt(e,t){if(e.deps!==null){for(const n of e.deps)if(t.includes(n)||(n.f&T)!==0&&pt(n,t))return!0}return!1}function Z(e){for(var t=Re=e;t.parent!==null;){t=t.parent;var n=t.f;if(ke&&t===_&&(n&ee)!==0)return;if((n&(te|F))!==0){if((n&g)===0)return;t.f^=g}}I.push(t)}function pn(e,t,n){const r=qe;if(t.length===0){n(e.map(r));return}var s=m,a=_,f=wn(),l=x;Promise.all(t.map(i=>mn(i))).then(i=>{f();try{n([...e.map(r),...i])}catch(u){(a.f&ie)===0&&ge(u,a)}l&&ft(!1),s?.deactivate(),De()}).catch(i=>{ge(i,a)})}function wn(){var e=_,t=c,n=R,r=m,s=x;if(s)var a=d;return function(){ae(e),U(t),ye(n),r?.activate(),s&&(ft(!0),H(a))}}function De(){ae(null),U(null),ye(null)}function qe(e){var t=T|C,n=c!==null&&(c.f&T)!==0?c:null;return _===null||n!==null&&(n.f&O)!==0?t|=O:_.f|=pe,{ctx:R,deps:null,effects:null,equals:lt,f:t,fn:e,reactions:null,rv:0,v:y,wv:0,parent:n??_,ac:null}}function mn(e,t){let n=_;n===null&&Gt();var r=n.b,s=void 0,a=Ue(y),f=!c,l=new Map;return xn(()=>{var i=rt();s=i.promise;try{Promise.resolve(e()).then(i.resolve,i.reject).then(De)}catch(w){i.reject(w),De()}var u=m,o=r.is_pending();f&&(r.update_pending_count(1),o||(u.increment(),l.get(u)?.reject(re),l.delete(u),l.set(u,i)));const v=(w,h=void 0)=>{if(o||u.activate(),h)h!==re&&(a.f|=K,Pe(a,h));else{(a.f&K)!==0&&(a.f^=K),Pe(a,w);for(const[p,ue]of l){if(l.delete(p),p===u)break;ue.reject(re)}}f&&(r.update_pending_count(-1),o||u.decrement())};i.promise.then(v,w=>v(null,w||"unknown"))}),Tn(()=>{for(const i of l.values())i.reject(re)}),new Promise(i=>{function u(o){function v(){o===s?i(a):u(s)}o.then(v,v)}u(s)})}function hr(e){const t=qe(e);return St(t),t}function pr(e){const t=qe(e);return t.equals=ot,t}function wt(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)Q(t[n])}}function yn(e){for(var t=e.parent;t!==null;){if((t.f&T)===0)return t;t=t.parent}return null}function He(e){var t,n=_;ae(yn(e));try{wt(e),t=Pt(e)}finally{ae(n)}return t}function mt(e){var t=He(e);if(e.equals(t)||(e.v=t,e.wv=It()),!fe)if(S!==null)S.set(e,e.v);else{var n=(j||(e.f&O)!==0)&&e.deps!==null?B:g;b(e,n)}}const Y=new Map;function Ue(e,t){var n={f:0,v:e,reactions:null,equals:lt,rv:0,wv:0};return n}function L(e,t){const n=Ue(e);return St(n),n}function wr(e,t=!1,n=!0){const r=Ue(e);return t||(r.equals=ot),r}function V(e,t,n=!1){c!==null&&(!k||(c.f&We)!==0)&&ct()&&(c.f&(T|ee|Te|We))!==0&&!P?.includes(e)&&Qt();let r=n?le(t):t;return Pe(e,r)}function Pe(e,t){if(!e.equals(t)){var n=e.v;fe?Y.set(e,t):Y.set(e,n),e.v=t;var r=X.ensure();r.capture(e,n),(e.f&T)!==0&&((e.f&C)!==0&&He(e),b(e,(e.f&O)===0?g:B)),e.wv=It(),yt(e,C),_!==null&&(_.f&g)!==0&&(_.f&(F|te))===0&&(N===null?Cn([e]):N.push(e))}return t}function Ce(e){V(e,e.v+1)}function yt(e,t){var n=e.reactions;if(n!==null)for(var r=n.length,s=0;s<r;s++){var a=n[s],f=a.f,l=(f&C)===0;l&&b(a,t),(f&T)!==0?yt(a,B):l&&((f&ee)!==0&&$!==null&&$.push(a),Z(a))}}function le(e){if(typeof e!="object"||e===null||_e in e)return e;const t=Ht(e);if(t!==Yt&&t!==qt)return e;var n=new Map,r=Lt(e),s=L(0),a=W,f=l=>{if(W===a)return l();var i=c,u=W;U(null),nt(a);var o=l();return U(i),nt(u),o};return r&&n.set("length",L(e.length)),new Proxy(e,{defineProperty(l,i,u){(!("value"in u)||u.configurable===!1||u.enumerable===!1||u.writable===!1)&&zt();var o=n.get(i);return o===void 0?o=f(()=>{var v=L(u.value);return n.set(i,v),v}):V(o,u.value,!0),!0},deleteProperty(l,i){var u=n.get(i);if(u===void 0){if(i in l){const o=f(()=>L(y));n.set(i,o),Ce(s)}}else V(u,y),Ce(s);return!0},get(l,i,u){if(i===_e)return e;var o=n.get(i),v=i in l;if(o===void 0&&(!v||ce(l,i)?.writable)&&(o=f(()=>{var h=le(v?l[i]:y),p=L(h);return p}),n.set(i,o)),o!==void 0){var w=oe(o);return w===y?void 0:w}return Reflect.get(l,i,u)},getOwnPropertyDescriptor(l,i){var u=Reflect.getOwnPropertyDescriptor(l,i);if(u&&"value"in u){var o=n.get(i);o&&(u.value=oe(o))}else if(u===void 0){var v=n.get(i),w=v?.v;if(v!==void 0&&w!==y)return{enumerable:!0,configurable:!0,value:w,writable:!0}}return u},has(l,i){if(i===_e)return!0;var u=n.get(i),o=u!==void 0&&u.v!==y||Reflect.has(l,i);if(u!==void 0||_!==null&&(!o||ce(l,i)?.writable)){u===void 0&&(u=f(()=>{var w=o?le(l[i]):y,h=L(w);return h}),n.set(i,u));var v=oe(u);if(v===y)return!1}return o},set(l,i,u,o){var v=n.get(i),w=i in l;if(r&&i==="length")for(var h=u;h<v.v;h+=1){var p=n.get(h+"");p!==void 0?V(p,y):h in l&&(p=f(()=>L(y)),n.set(h+"",p))}if(v===void 0)(!w||ce(l,i)?.writable)&&(v=f(()=>L(void 0)),V(v,le(u)),n.set(i,v));else{w=v.v!==y;var ue=f(()=>le(u));V(v,ue)}var Ve=Reflect.getOwnPropertyDescriptor(l,i);if(Ve?.set&&Ve.set.call(o,u),!w){if(r&&typeof i=="string"){var $e=n.get("length"),Oe=Number(i);Number.isInteger(Oe)&&Oe>=$e.v&&V($e,Oe+1)}Ce(s)}return!0},ownKeys(l){oe(s);var i=Reflect.ownKeys(l).filter(v=>{var w=n.get(v);return w===void 0||w.v!==y});for(var[u,o]of n)o.v!==y&&!(u in l)&&i.push(u);return i},setPrototypeOf(){Jt()}})}function ze(e){try{if(e!==null&&typeof e=="object"&&_e in e)return e[_e]}catch{}return e}function mr(e,t){return Object.is(ze(e),ze(t))}var Je,gn,gt,Et,bt;function yr(){if(Je===void 0){Je=window,gn=document,gt=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;Et=ce(t,"firstChild").get,bt=ce(t,"nextSibling").get,Ke(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),Ke(n)&&(n.__t=void 0)}}function z(e=""){return document.createTextNode(e)}function J(e){return Et.call(e)}function ne(e){return bt.call(e)}function gr(e,t){if(!x)return J(e);var n=J(d);if(n===null)n=d.appendChild(z());else if(t&&n.nodeType!==xe){var r=z();return n?.before(r),H(r),r}return H(n),n}function Er(e,t=!1){if(!x){var n=J(e);return n instanceof Comment&&n.data===""?ne(n):n}if(t&&d?.nodeType!==xe){var r=z();return d?.before(r),H(r),r}return d}function br(e,t=1,n=!1){let r=x?d:e;for(var s;t--;)s=r,r=ne(r);if(!x)return r;if(n&&r?.nodeType!==xe){var a=z();return r===null?s?.after(a):r.before(a),H(a),a}return H(r),r}function Tr(e){e.textContent=""}function xr(){return!1}function Ar(e,t){if(t){const n=document.body;e.autofocus=!0,vt(()=>{document.activeElement===n&&e.focus()})}}let Qe=!1;function En(){Qe||(Qe=!0,document.addEventListener("reset",e=>{Promise.resolve().then(()=>{if(!e.defaultPrevented)for(const t of e.target.elements)t.__on_r?.()})},{capture:!0}))}function Be(e){var t=c,n=_;U(null),ae(null);try{return e()}finally{U(t),ae(n)}}function Rr(e,t,n,r=n){e.addEventListener(t,()=>Be(n));const s=e.__on_r;s?e.__on_r=()=>{s(),r(!0)}:e.__on_r=()=>r(!0),En()}function Tt(e){_===null&&c===null&&Xt(),c!==null&&(c.f&O)!==0&&_===null&&Wt(),fe&&Kt()}function bn(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function D(e,t,n,r=!0){var s=_;s!==null&&(s.f&q)!==0&&(e|=q);var a={ctx:R,deps:null,nodes_start:null,nodes_end:null,f:e|C,first:null,fn:t,last:null,next:null,parent:s,b:s&&s.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(n)try{he(a),a.f|=Fe}catch(i){throw Q(a),i}else t!==null&&Z(a);if(r){var f=a;if(n&&f.deps===null&&f.teardown===null&&f.nodes_start===null&&f.first===f.last&&(f.f&pe)===0&&(f=f.first),f!==null&&(f.parent=s,s!==null&&bn(f,s),c!==null&&(c.f&T)!==0&&(e&te)===0)){var l=c;(l.effects??=[]).push(f)}}return a}function Nr(){return c!==null&&!k}function Tn(e){const t=D(be,null,!1);return b(t,g),t.teardown=e,t}function Or(e){Tt();var t=_.f,n=!c&&(t&F)!==0&&(t&Fe)===0;if(n){var r=R;(r.e??=[]).push(e)}else return xt(e)}function xt(e){return D(Me|it,e,!1)}function Cr(e){return Tt(),D(be|it,e,!0)}function Sr(e){X.ensure();const t=D(te|pe,e,!0);return(n={})=>new Promise(r=>{n.outro?Nn(t,()=>{Q(t),r(void 0)}):(Q(t),r(void 0))})}function kr(e){return D(Me,e,!1)}function xn(e){return D(Te|pe,e,!0)}function Ir(e,t=0){return D(be|t,e,!0)}function Dr(e,t=[],n=[]){pn(t,n,r=>{D(be,()=>e(...r.map(oe)),!0)})}function Pr(e,t=0){var n=D(ee|t,e,!0);return n}function Mr(e,t=!0){return D(F|pe,e,!0,t)}function At(e){var t=e.teardown;if(t!==null){const n=fe,r=c;tt(!0),U(null);try{t.call(null)}finally{tt(n),U(r)}}}function Rt(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const s=n.ac;s!==null&&Be(()=>{s.abort(re)});var r=n.next;(n.f&te)!==0?n.parent=null:Q(n,t),n=r}}function An(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&F)===0&&Q(t),t=n}}function Q(e,t=!0){var n=!1;(t||(e.f&Bt)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(Rn(e.nodes_start,e.nodes_end),n=!0),Rt(e,t&&!n),Ee(e,0),b(e,ie);var r=e.transitions;if(r!==null)for(const a of r)a.stop();At(e);var s=e.parent;s!==null&&s.first!==null&&Nt(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function Rn(e,t){for(;e!==null;){var n=e===t?null:ne(e);e.remove(),e=n}}function Nt(e){var t=e.parent,n=e.prev,r=e.next;n!==null&&(n.next=r),r!==null&&(r.prev=n),t!==null&&(t.first===e&&(t.first=r),t.last===e&&(t.last=n))}function Nn(e,t){var n=[];Ot(e,n,!0),On(n,()=>{Q(e),t&&t()})}function On(e,t){var n=e.length;if(n>0){var r=()=>--n||t();for(var s of e)s.out(r)}else t()}function Ot(e,t,n){if((e.f&q)===0){if(e.f^=q,e.transitions!==null)for(const f of e.transitions)(f.is_global||n)&&t.push(f);for(var r=e.first;r!==null;){var s=r.next,a=(r.f&at)!==0||(r.f&F)!==0;Ot(r,t,a?n:!1),r=s}}}function Fr(e){Ct(e,!0)}function Ct(e,t){if((e.f&q)!==0){e.f^=q,(e.f&g)===0&&(b(e,C),Z(e));for(var n=e.first;n!==null;){var r=n.next,s=(n.f&at)!==0||(n.f&F)!==0;Ct(n,s?t:!1),n=r}if(e.transitions!==null)for(const a of e.transitions)(a.is_global||t)&&a.in()}}let se=!1;function et(e){se=e}let fe=!1;function tt(e){fe=e}let c=null,k=!1;function U(e){c=e}let _=null;function ae(e){_=e}let P=null;function St(e){c!==null&&(P===null?P=[e]:P.push(e))}let E=null,A=0,N=null;function Cn(e){N=e}let kt=1,de=0,W=de;function nt(e){W=e}let j=!1;function It(){return++kt}function Ne(e){var t=e.f;if((t&C)!==0)return!0;if((t&B)!==0){var n=e.deps,r=(t&O)!==0;if(n!==null){var s,a,f=(t&me)!==0,l=r&&_!==null&&!j,i=n.length;if((f||l)&&(_===null||(_.f&ie)===0)){var u=e,o=u.parent;for(s=0;s<i;s++)a=n[s],(f||!a?.reactions?.includes(u))&&(a.reactions??=[]).push(u);f&&(u.f^=me),l&&o!==null&&(o.f&O)===0&&(u.f^=O)}for(s=0;s<i;s++)if(a=n[s],Ne(a)&&mt(a),a.wv>e.wv)return!0}(!r||_!==null&&!j)&&b(e,g)}return!1}function Dt(e,t,n=!0){var r=e.reactions;if(r!==null&&!P?.includes(e))for(var s=0;s<r.length;s++){var a=r[s];(a.f&T)!==0?Dt(a,t,!1):t===a&&(n?b(a,C):(a.f&g)!==0&&b(a,B),Z(a))}}function Pt(e){var t=E,n=A,r=N,s=c,a=j,f=P,l=R,i=k,u=W,o=e.f;E=null,A=0,N=null,j=(o&O)!==0&&(k||!se||c===null),c=(o&(F|te))===0?e:null,P=null,ye(e.ctx),k=!1,W=++de,e.ac!==null&&(Be(()=>{e.ac.abort(re)}),e.ac=null);try{e.f|=Se;var v=e.fn,w=v(),h=e.deps;if(E!==null){var p;if(Ee(e,A),h!==null&&A>0)for(h.length=A+E.length,p=0;p<E.length;p++)h[A+p]=E[p];else e.deps=h=E;if(!j||(o&T)!==0&&e.reactions!==null)for(p=A;p<h.length;p++)(h[p].reactions??=[]).push(e)}else h!==null&&A<h.length&&(Ee(e,A),h.length=A);if(ct()&&N!==null&&!k&&h!==null&&(e.f&(T|B|C))===0)for(p=0;p<N.length;p++)Dt(N[p],e);return s!==null&&s!==e&&(de++,N!==null&&(r===null?r=N:r.push(...N))),(e.f&K)!==0&&(e.f^=K),w}catch(ue){return vn(ue)}finally{e.f^=Se,E=t,A=n,N=r,c=s,j=a,P=f,ye(l),k=i,W=u}}function Sn(e,t){let n=t.reactions;if(n!==null){var r=jt.call(n,e);if(r!==-1){var s=n.length-1;s===0?n=t.reactions=null:(n[r]=n[s],n.pop())}}n===null&&(t.f&T)!==0&&(E===null||!E.includes(t))&&(b(t,B),(t.f&(O|me))===0&&(t.f^=me),wt(t),Ee(t,0))}function Ee(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)Sn(e,n[r])}function he(e){var t=e.f;if((t&ie)===0){b(e,g);var n=_,r=se;_=e,se=!0;try{(t&ee)!==0?An(e):Rt(e),At(e);var s=Pt(e);e.teardown=typeof s=="function"?s:null,e.wv=kt;var a}finally{se=r,_=n}}}async function Lr(){await Promise.resolve(),dn()}function jr(){return X.ensure().settled()}function oe(e){var t=e.f,n=(t&T)!==0;if(c!==null&&!k){var r=_!==null&&(_.f&ie)!==0;if(!r&&!P?.includes(e)){var s=c.deps;if((c.f&Se)!==0)e.rv<de&&(e.rv=de,E===null&&s!==null&&s[A]===e?A++:E===null?E=[e]:(!j||!E.includes(e))&&E.push(e));else{(c.deps??=[]).push(e);var a=e.reactions;a===null?e.reactions=[c]:a.includes(c)||a.push(c)}}}else if(n&&e.deps===null&&e.effects===null){var f=e,l=f.parent;l!==null&&(l.f&O)===0&&(f.f^=O)}if(fe){if(Y.has(e))return Y.get(e);if(n){f=e;var i=f.v;return((f.f&g)===0&&f.reactions!==null||Mt(f))&&(i=He(f)),Y.set(f,i),i}}else if(n){if(f=e,S?.has(f))return S.get(f);Ne(f)&&mt(f)}if(S?.has(e))return S.get(e);if((e.f&K)!==0)throw e.v;return e.v}function Mt(e){if(e.v===y)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(Y.has(t)||(t.f&T)!==0&&Mt(t))return!0;return!1}function Yr(e){var t=k;try{return k=!0,e()}finally{k=t}}const kn=-7169;function b(e,t){e.f=e.f&kn|t}function Ft(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function M(e,t){var n=_;n.nodes_start===null&&(n.nodes_start=e,n.nodes_end=t)}function qr(e,t){var n=(t&en)!==0,r=(t&tn)!==0,s,a=!e.startsWith("<!>");return()=>{if(x)return M(d,null),d;s===void 0&&(s=Ft(a?e:"<!>"+e),n||(s=J(s)));var f=r||gt?document.importNode(s,!0):s.cloneNode(!0);if(n){var l=J(f),i=f.lastChild;M(l,i)}else M(f,f);return f}}function In(e,t,n="svg"){var r=!e.startsWith("<!>"),s=`<${n}>${r?e:"<!>"+e}</${n}>`,a;return()=>{if(x)return M(d,null),d;if(!a){var f=Ft(s),l=J(f);a=J(l)}var i=a.cloneNode(!0);return M(i,i),i}}function Hr(e,t){return In(e,t,"svg")}function Ur(e=""){if(!x){var t=z(e+"");return M(t,t),t}var n=d;return n.nodeType!==xe&&(n.before(n=z()),H(n)),M(n,n),n}function Br(){if(x)return M(d,null),d;var e=document.createDocumentFragment(),t=document.createComment(""),n=z();return e.append(t,n),M(t,n),e}function Vr(e,t){if(x){_.nodes_end=d,ut();return}e!==null&&e.before(t)}function $r(){if(x&&d&&d.nodeType===Le&&d.textContent?.startsWith("$")){const e=d.textContent.substring(1);return ut(),e}return(window.__svelte??={}).uid??=1,`c${window.__svelte.uid++}`}export{Fr as $,oe as A,hr as B,jn as C,z as D,Pr as E,Xn as F,H as G,x as H,J as I,ut as J,pr as K,or as L,rn as M,lr as N,ft as O,d as P,Le as Q,sn as R,Mr as S,xr as T,Kn as U,Wn as V,m as W,Pe as X,wr as Y,Ue as Z,Dn as _,Vr as a,ar as a$,Nn as a0,zn as a1,q as a2,vt as a3,Q as a4,Zn as a5,ne as a6,Ot as a7,Tr as a8,On as a9,Mn as aA,Yn as aB,tr as aC,fe as aD,Nr as aE,Ce as aF,X as aG,ae as aH,U as aI,ye as aJ,vn as aK,Xe as aL,ge as aM,Gn as aN,pe as aO,st as aP,ir as aQ,Ge as aR,Be as aS,Bt as aT,nn as aU,yr as aV,je as aW,Bn as aX,Sr as aY,Ye as aZ,Cr as a_,_ as aa,br as ab,kr as ac,Ir as ad,_e as ae,Ft as af,M as ag,Tn as ah,at as ai,Fn as aj,y as ak,le as al,L as am,gn as an,ur as ao,Ln as ap,V as aq,Ur as ar,$r as as,ce as at,$n as au,Qn as av,ie as aw,qe as ax,er as ay,Jn as az,c as b,mr as b0,pn as b1,qn as b2,rr as b3,Ht as b4,sr as b5,Pn as b6,Ar as b7,En as b8,ee as b9,Fe as ba,nr as bb,Rr as bc,an as bd,Br as c,R as d,Vn as e,Er as f,Un as g,Yr as h,Lt as i,cr as j,dn as k,Vt as l,_r as m,fn as n,ln as o,jr as p,qr as q,vr as r,un as s,Lr as t,Or as u,Hr as v,Dr as w,dr as x,gr as y,fr as z};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");
|
|
Binary file
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{o as De,s as wt}from"./CFWAHLsq.js";import{aj as _e,bd as vt,am as U,A as L,aq as P,t as qe}from"./Dnk28BpG.js";const q=[];function Re(e,t=_e){let n=null;const r=new Set;function a(o){if(vt(e,o)&&(e=o,n)){const c=!q.length;for(const l of r)l[1](),q.push(l,e);if(c){for(let l=0;l<q.length;l+=2)q[l][0](q[l+1]);q.length=0}}}function s(o){a(o(e))}function i(o,c=_e){const l=[o,c];return r.add(l),r.size===1&&(n=t(a,s)||_e),o(e),()=>{r.delete(l),r.size===0&&n&&(n(),n=null)}}return{set:a,update:s,subscribe:i}}class le{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 Te{constructor(t,n){this.status=t,this.location=n}}class Ie extends Error{constructor(t,n,r){super(r),this.status=t,this.text=n}}new URL("sveltekit-internal://");function bt(e,t){return e==="/"||t==="ignore"?e:t==="never"?e.endsWith("/")?e.slice(0,-1):e:t==="always"&&!e.endsWith("/")?e+"/":e}function kt(e){return e.split("%25").map(decodeURI).join("%25")}function At(e){for(const t in e)e[t]=decodeURIComponent(e[t]);return e}function ye({href:e}){return e.split("#")[0]}function Et(e,t,n,r=!1){const a=new URL(e);Object.defineProperty(a,"searchParams",{value:new Proxy(a.searchParams,{get(i,o){if(o==="get"||o==="getAll"||o==="has")return l=>(n(l),i[o](l));t();const c=Reflect.get(i,o);return typeof c=="function"?c.bind(i):c}}),enumerable:!0,configurable:!0});const s=["href","pathname","search","toString","toJSON"];r&&s.push("hash");for(const i of s)Object.defineProperty(a,i,{get(){return t(),e[i]},enumerable:!0,configurable:!0});return a}function St(...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;const Rt=new TextDecoder;function Tt(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 It=window.fetch;window.fetch=(e,t)=>((e instanceof Request?e.method:t?.method||"GET")!=="GET"&&H.delete(Ue(e)),It(e,t));const H=new Map;function Ut(e,t){const n=Ue(e,t),r=document.querySelector(n);if(r?.textContent){r.remove();let{body:a,...s}=JSON.parse(r.textContent);const i=r.getAttribute("data-ttl");return i&&H.set(n,{body:a,init:s,ttl:1e3*Number(i)}),r.getAttribute("data-b64")!==null&&(a=Tt(a)),Promise.resolve(new Response(a,s))}return window.fetch(e,t)}function Lt(e,t,n){if(H.size>0){const r=Ue(e,n),a=H.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);H.delete(r)}}return window.fetch(t,n)}function Ue(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="${St(...a)}"]`}return r}const Pt=/^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/;function xt(e){const t=[];return{pattern:e==="/"?/^\/$/:new RegExp(`^${Ot(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 s=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(r);if(s)return t.push({name:s[1],matcher:s[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!r)return;const i=r.split(/\[(.+?)\](?!\])/);return"/"+i.map((c,l)=>{if(l%2){if(c.startsWith("x+"))return we(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return we(String.fromCharCode(...c.slice(2).split("-").map(w=>parseInt(w,16))));const d=Pt.exec(c),[,p,u,f,h]=d;return t.push({name:f,matcher:h,optional:!!p,rest:!!u,chained:u?l===1&&i[0]==="":!1}),u?"([^]*?)":p?"([^/]*)?":"([^/]+?)"}return we(c)}).join("")}).join("")}/?$`),params:t}}function Ct(e){return e!==""&&!/^\([^)]+\)$/.test(e)}function Ot(e){return e.slice(1).split("/").filter(Ct)}function Nt(e,t,n){const r={},a=e.slice(1),s=a.filter(o=>o!==void 0);let i=0;for(let o=0;o<t.length;o+=1){const c=t[o];let l=a[o-i];if(c.chained&&c.rest&&i&&(l=a.slice(o-i,o+1).filter(d=>d).join("/"),i=0),l===void 0){c.rest&&(r[c.name]="");continue}if(!c.matcher||n[c.matcher](l)){r[c.name]=l;const d=t[o+1],p=a[o+1];d&&!d.rest&&d.optional&&p&&c.chained&&(i=0),!d&&!p&&Object.keys(r).length===s.length&&(i=0);continue}if(c.optional&&c.chained){i++;continue}return}if(!i)return r}function we(e){return e.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function jt({nodes:e,server_loads:t,dictionary:n,matchers:r}){const a=new Set(t);return Object.entries(n).map(([o,[c,l,d]])=>{const{pattern:p,params:u}=xt(o),f={id:o,exec:h=>{const w=p.exec(h);if(w)return Nt(w,u,r)},errors:[1,...d||[]].map(h=>e[h]),layouts:[0,...l||[]].map(i),leaf:s(c)};return f.errors.length=f.layouts.length=Math.max(f.errors.length,f.layouts.length),f});function s(o){const c=o<0;return c&&(o=~o),[c,e[o]]}function i(o){return o===void 0?o:[a.has(o),e[o]]}}function Je(e,t=JSON.parse){try{return t(sessionStorage[e])}catch{}}function Be(e,t,n=JSON.stringify){const r=n(t);try{sessionStorage[e]=r}catch{}}const I=globalThis.__sveltekit_1qcsm56?.base??"",$t=globalThis.__sveltekit_1qcsm56?.assets??I??"",Dt="1760976569962",Xe="sveltekit:snapshot",Ze="sveltekit:scroll",Qe="sveltekit:states",qt="sveltekit:pageurl",F="sveltekit:history",z="sveltekit:navigation",j={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},fe=location.origin;function et(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 ue(){return{x:pageXOffset,y:pageYOffset}}function B(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const Fe={...j,"":j.hover};function tt(e){let t=e.assignedSlot??e.parentNode;return t?.nodeType===11&&(t=t.host),t}function nt(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=tt(e)}}function ke(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 o=location.hash.split("#")[1]||"/";r.hash=`#${o}${r.hash}`}}catch{}const a=e instanceof SVGAElement?e.target.baseVal:e.target,s=!r||!!a||de(r,t,n)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),i=r?.origin===fe&&e.hasAttribute("download");return{url:r,external:s,target:a,download:i}}function te(e){let t=null,n=null,r=null,a=null,s=null,i=null,o=e;for(;o&&o!==document.documentElement;)r===null&&(r=B(o,"preload-code")),a===null&&(a=B(o,"preload-data")),t===null&&(t=B(o,"keepfocus")),n===null&&(n=B(o,"noscroll")),s===null&&(s=B(o,"reload")),i===null&&(i=B(o,"replacestate")),o=tt(o);function c(l){switch(l){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:Fe[r??"off"],preload_data:Fe[a??"off"],keepfocus:c(t),noscroll:c(n),reload:c(s),replace_state:c(i)}}function Ve(e){const t=Re(e);let n=!0;function r(){n=!0,t.update(i=>i)}function a(i){n=!1,t.set(i)}function s(i){let o;return t.subscribe(c=>{(o===void 0||n&&c!==o)&&i(o=c)})}return{notify:r,set:a,subscribe:s}}const rt={v:()=>{}};function Bt(){const{set:e,subscribe:t}=Re(!1);let n;async function r(){clearTimeout(n);try{const a=await fetch(`${$t}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!a.ok)return!1;const i=(await a.json()).version!==Dt;return i&&(e(!0),rt.v(),clearTimeout(n)),i}catch{return!1}}return{subscribe:t,check:r}}function de(e,t,n){return e.origin!==fe||!e.pathname.startsWith(t)?!0:n?!(e.pathname===t+"/"||e.pathname===t+"/index.html"||e.protocol==="file:"&&e.pathname.replace(/\/[^/]+\.html?$/,"")===t):!1}function In(e){}function Ft(e){const t=Mt(e),n=new ArrayBuffer(t.length),r=new DataView(n);for(let a=0;a<n.byteLength;a++)r.setUint8(a,t.charCodeAt(a));return n}const Vt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function Mt(e){e.length%4===0&&(e=e.replace(/==?$/,""));let t="",n=0,r=0;for(let a=0;a<e.length;a++)n<<=6,n|=Vt.indexOf(e[a]),r+=6,r===24&&(t+=String.fromCharCode((n&16711680)>>16),t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255),n=r=0);return r===12?(n>>=4,t+=String.fromCharCode(n)):r===18&&(n>>=2,t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255)),t}const Gt=-1,Yt=-2,Ht=-3,Kt=-4,Wt=-5,zt=-6;function Jt(e,t){if(typeof e=="number")return a(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);function a(s,i=!1){if(s===Gt)return;if(s===Ht)return NaN;if(s===Kt)return 1/0;if(s===Wt)return-1/0;if(s===zt)return-0;if(i||typeof s!="number")throw new Error("Invalid input");if(s in r)return r[s];const o=n[s];if(!o||typeof o!="object")r[s]=o;else if(Array.isArray(o))if(typeof o[0]=="string"){const c=o[0],l=t?.[c];if(l)return r[s]=l(a(o[1]));switch(c){case"Date":r[s]=new Date(o[1]);break;case"Set":const d=new Set;r[s]=d;for(let f=1;f<o.length;f+=1)d.add(a(o[f]));break;case"Map":const p=new Map;r[s]=p;for(let f=1;f<o.length;f+=2)p.set(a(o[f]),a(o[f+1]));break;case"RegExp":r[s]=new RegExp(o[1],o[2]);break;case"Object":r[s]=Object(o[1]);break;case"BigInt":r[s]=BigInt(o[1]);break;case"null":const u=Object.create(null);r[s]=u;for(let f=1;f<o.length;f+=2)u[o[f]]=a(o[f+1]);break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":{const f=globalThis[c],h=new f(a(o[1]));r[s]=o[2]!==void 0?h.subarray(o[2],o[3]):h;break}case"ArrayBuffer":{const f=o[1],h=Ft(f);r[s]=h;break}case"Temporal.Duration":case"Temporal.Instant":case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.PlainMonthDay":case"Temporal.PlainYearMonth":case"Temporal.ZonedDateTime":{const f=c.slice(9);r[s]=Temporal[f].from(o[1]);break}case"URL":{const f=new URL(o[1]);r[s]=f;break}case"URLSearchParams":{const f=new URLSearchParams(o[1]);r[s]=f;break}default:throw new Error(`Unknown type ${c}`)}}else{const c=new Array(o.length);r[s]=c;for(let l=0;l<o.length;l+=1){const d=o[l];d!==Yt&&(c[l]=a(d))}}else{const c={};r[s]=c;for(const l in o){if(l==="__proto__")throw new Error("Cannot parse an object with a `__proto__` property");const d=o[l];c[l]=a(d)}}return r[s]}return a(0)}const at=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...at];const Xt=new Set([...at]);[...Xt];function Zt(e){return e.filter(t=>t!=null)}const Qt="x-sveltekit-invalidated",en="x-sveltekit-trailing-slash";function ne(e){return e instanceof le||e instanceof Ie?e.status:500}function tn(e){return e instanceof Ie?e.text:"Internal Error"}let R,J,ve;const nn=De.toString().includes("$$")||/function \w+\(\) \{\}/.test(De.toString());nn?(R={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL("https://example.com")},J={current:null},ve={current:!1}):(R=new class{#e=U({});get data(){return L(this.#e)}set data(t){P(this.#e,t)}#t=U(null);get form(){return L(this.#t)}set form(t){P(this.#t,t)}#n=U(null);get error(){return L(this.#n)}set error(t){P(this.#n,t)}#r=U({});get params(){return L(this.#r)}set params(t){P(this.#r,t)}#a=U({id:null});get route(){return L(this.#a)}set route(t){P(this.#a,t)}#o=U({});get state(){return L(this.#o)}set state(t){P(this.#o,t)}#s=U(-1);get status(){return L(this.#s)}set status(t){P(this.#s,t)}#i=U(new URL("https://example.com"));get url(){return L(this.#i)}set url(t){P(this.#i,t)}},J=new class{#e=U(null);get current(){return L(this.#e)}set current(t){P(this.#e,t)}},ve=new class{#e=U(!1);get current(){return L(this.#e)}set current(t){P(this.#e,t)}},rt.v=()=>ve.current=!0);function rn(e){Object.assign(R,e)}const an="/__data.json",on=".html__data.json";function sn(e){return e.endsWith(".html")?e.replace(/\.html$/,on):e.replace(/\/$/,"")+an}const Me={spanContext(){return cn},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}},cn={traceId:"",spanId:"",traceFlags:0},{tick:ln}=wt,fn=new Set(["icon","shortcut icon","apple-touch-icon"]),D=Je(Ze)??{},X=Je(Xe)??{},N={url:Ve({}),page:Ve({}),navigating:Re(null),updated:Bt()};function Le(e){D[e]=ue()}function un(e,t){let n=e+1;for(;D[n];)delete D[n],n+=1;for(n=t+1;X[n];)delete X[n],n+=1}function G(e,t=!1){return t?location.replace(e.href):location.href=e.href,new Promise(()=>{})}async function ot(){if("serviceWorker"in navigator){const e=await navigator.serviceWorker.getRegistration(I||"/");e&&await e.update()}}function Ge(){}let Pe,Ae,re,x,Ee,k;const ae=[],oe=[];let C=null;const ee=new Map,st=new Set,dn=new Set,K=new Set;let y={branch:[],error:null,url:null},xe=!1,se=!1,Ye=!0,Z=!1,Y=!1,it=!1,Ce=!1,ct,E,T,$;const W=new Set,He=new Map;async function xn(e,t,n){globalThis.__sveltekit_1qcsm56?.data&&globalThis.__sveltekit_1qcsm56.data,document.URL!==location.href&&(location.href=location.href),k=e,await e.hooks.init?.(),Pe=jt(e),x=document.documentElement,Ee=t,Ae=e.nodes[0],re=e.nodes[1],Ae(),re(),E=history.state?.[F],T=history.state?.[z],E||(E=T=Date.now(),history.replaceState({...history.state,[F]:E,[z]:T},""));const r=D[E];function a(){r&&(history.scrollRestoration="manual",scrollTo(r.x,r.y))}n?(a(),await An(Ee,n)):(await V({type:"enter",url:et(k.hash?Sn(new URL(location.href)):location.href),replace_state:!0}),a()),kn()}function hn(){ae.length=0,Ce=!1}function lt(e){oe.some(t=>t?.snapshot)&&(X[e]=oe.map(t=>t?.snapshot?.capture()))}function ft(e){X[e]?.forEach((t,n)=>{oe[n]?.snapshot?.restore(t)})}function Ke(){Le(E),Be(Ze,D),lt(T),Be(Xe,X)}async function pn(e,t,n,r){let a;t.invalidateAll&&(C=null),await V({type:"goto",url:et(e),keepfocus:t.keepFocus,noscroll:t.noScroll,replace_state:t.replaceState,state:t.state,redirect_count:n,nav_token:r,accept:()=>{t.invalidateAll&&(Ce=!0,a=[...He.keys()]),t.invalidate&&t.invalidate.forEach(bn)}}),t.invalidateAll&&qe().then(qe).then(()=>{He.forEach(({resource:s},i)=>{a?.includes(i)&&s.refresh?.()})})}async function gn(e){if(e.id!==C?.id){const t={};W.add(t),C={id:e.id,token:t,promise:ht({...e,preload:t}).then(n=>(W.delete(t),n.type==="loaded"&&n.state.error&&(C=null),n))}}return C.promise}async function be(e){const t=(await pe(e,!1))?.route;t&&await Promise.all([...t.layouts,t.leaf].map(n=>n?.[1]()))}function ut(e,t,n){y=e.state;const r=document.querySelector("style[data-sveltekit]");if(r&&r.remove(),Object.assign(R,e.props.page),ct=new k.root({target:t,props:{...e.props,stores:N,components:oe},hydrate:n,sync:!1}),ft(T),n){const a={from:null,to:{params:y.params,route:{id:y.route?.id??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};K.forEach(s=>s(a))}se=!0}function ie({url:e,params:t,branch:n,status:r,error:a,route:s,form:i}){let o="never";if(I&&(e.pathname===I||e.pathname===I+"/"))o="always";else for(const f of n)f?.slash!==void 0&&(o=f.slash);e.pathname=bt(e.pathname,o),e.search=e.search;const c={type:"loaded",state:{url:e,params:t,branch:n,error:a,route:s},props:{constructors:Zt(n).map(f=>f.node.component),page:$e(R)}};i!==void 0&&(c.props.form=i);let l={},d=!R,p=0;for(let f=0;f<Math.max(n.length,y.branch.length);f+=1){const h=n[f],w=y.branch[f];h?.data!==w?.data&&(d=!0),h&&(l={...l,...h.data},d&&(c.props[`data_${p}`]=l),p+=1)}return(!y.url||e.href!==y.url.href||y.error!==a||i!==void 0&&i!==R.form||d)&&(c.props.page={error:a,params:t,route:{id:s?.id??null},state:{},status:r,url:new URL(e),form:i??null,data:d?l:R.data}),c}async function Oe({loader:e,parent:t,url:n,params:r,route:a,server_data_node:s}){let i=null,o=!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(...u){for(const f of u){const{href:h}=new URL(f,n);c.dependencies.add(h)}};const p={tracing:{enabled:!1,root:Me,current:Me},route:new Proxy(a,{get:(u,f)=>(o&&(c.route=!0),u[f])}),params:new Proxy(r,{get:(u,f)=>(o&&c.params.add(f),u[f])}),data:s?.data??null,url:Et(n,()=>{o&&(c.url=!0)},u=>{o&&c.search_params.add(u)},k.hash),async fetch(u,f){u instanceof Request&&(f={body:u.method==="GET"||u.method==="HEAD"?void 0:await u.blob(),cache:u.cache,credentials:u.credentials,headers:[...u.headers].length>0?u?.headers:void 0,integrity:u.integrity,keepalive:u.keepalive,method:u.method,mode:u.mode,redirect:u.redirect,referrer:u.referrer,referrerPolicy:u.referrerPolicy,signal:u.signal,...f});const{resolved:h,promise:w}=dt(u,f,n);return o&&d(h.href),w},setHeaders:()=>{},depends:d,parent(){return o&&(c.parent=!0),t()},untrack(u){o=!1;try{return u()}finally{o=!0}}};i=await l.universal.load.call(null,p)??null}return{node:l,loader:e,server:s,universal:l.universal?.load?{type:"data",data:i,uses:c}:null,data:i??s?.data??null,slash:l.universal?.trailingSlash??s?.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 s=se?Lt(r,a.href,t):Ut(r,t);return{resolved:a,promise:s}}function We(e,t,n,r,a,s){if(Ce)return!0;if(!a)return!1;if(a.parent&&e||a.route&&t||a.url&&n)return!0;for(const i of a.search_params)if(r.has(i))return!0;for(const i of a.params)if(s[i]!==y.params[i])return!0;for(const i of a.dependencies)if(ae.some(o=>o(new URL(i))))return!0;return!1}function Ne(e,t){return e?.type==="data"?e:e?.type==="skip"?t??null:null}function mn(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),s=t.searchParams.getAll(r);a.every(i=>s.includes(i))&&s.every(i=>a.includes(i))&&n.delete(r)}return n}function ze({error:e,url:t,route:n,params:r}){return{type:"loaded",state:{error:e,url:t,route:n,params:r,branch:[]},props:{page:$e(R),constructors:[]}}}async function ht({id:e,invalidating:t,url:n,params:r,route:a,preload:s}){if(C?.id===e)return W.delete(C.token),C.promise;const{errors:i,layouts:o,leaf:c}=a,l=[...o,c];i.forEach(_=>_?.().catch(()=>{})),l.forEach(_=>_?.[1]().catch(()=>{}));let d=null;const p=y.url?e!==ce(y.url):!1,u=y.route?a.id!==y.route.id:!1,f=mn(y.url,n);let h=!1;const w=l.map((_,g)=>{const v=y.branch[g],b=!!_?.[0]&&(v?.loader!==_[1]||We(h,u,p,f,v.server?.uses,r));return b&&(h=!0),b});if(w.some(Boolean)){try{d=await mt(n,w)}catch(_){const g=await M(_,{url:n,params:r,route:{id:e}});return W.has(s)?ze({error:g,url:n,params:r,route:a}):he({status:ne(_),error:g,url:n,route:a})}if(d.type==="redirect")return d}const A=d?.nodes;let m=!1;const O=l.map(async(_,g)=>{if(!_)return;const v=y.branch[g],b=A?.[g];if((!b||b.type==="skip")&&_[1]===v?.loader&&!We(m,u,p,f,v.universal?.uses,r))return v;if(m=!0,b?.type==="error")throw b;return Oe({loader:_[1],url:n,params:r,route:a,parent:async()=>{const ge={};for(let me=0;me<g;me+=1)Object.assign(ge,(await O[me])?.data);return ge},server_data_node:Ne(b===void 0&&_[0]?{type:"skip"}:b??null,_[0]?v?.server:void 0)})});for(const _ of O)_.catch(()=>{});const S=[];for(let _=0;_<l.length;_+=1)if(l[_])try{S.push(await O[_])}catch(g){if(g instanceof Te)return{type:"redirect",location:g.location};if(W.has(s))return ze({error:await M(g,{params:r,url:n,route:{id:a.id}}),url:n,params:r,route:a});let v=ne(g),b;if(A?.includes(g))v=g.status??v,b=g.error;else if(g instanceof le)b=g.body;else{if(await N.updated.check())return await ot(),await G(n);b=await M(g,{params:r,url:n,route:{id:a.id}})}const Q=await _n(_,S,i);return Q?ie({url:n,params:r,branch:S.slice(0,Q.idx).concat(Q.node),status:v,error:b,route:a}):await gt(n,{id:a.id},b,v)}else S.push(void 0);return ie({url:n,params:r,branch:S,status:200,error:null,route:a,form:t?void 0:null})}async function _n(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 he({status:e,error:t,url:n,route:r}){const a={};let s=null;if(k.server_loads[0]===0)try{const o=await mt(n,[!0]);if(o.type!=="data"||o.nodes[0]&&o.nodes[0].type!=="data")throw 0;s=o.nodes[0]??null}catch{(n.origin!==fe||n.pathname!==location.pathname||xe)&&await G(n)}try{const o=await Oe({loader:Ae,url:n,params:a,route:r,parent:()=>Promise.resolve({}),server_data_node:Ne(s)}),c={node:await re(),loader:re,universal:null,server:null,data:null};return ie({url:n,params:a,branch:[o,c],status:e,error:t,route:null})}catch(o){if(o instanceof Te)return pn(new URL(o.location,location.href),{},0);throw o}}async function yn(e){const t=e.href;if(ee.has(t))return ee.get(t);let n;try{const r=(async()=>{let a=await k.hooks.reroute({url:new URL(e),fetch:async(s,i)=>dt(s,i,e).promise})??e;if(typeof a=="string"){const s=new URL(e);k.hash?s.hash=a:s.pathname=a,a=s}return a})();ee.set(t,r),n=await r}catch{ee.delete(t);return}return n}async function pe(e,t){if(e&&!de(e,I,k.hash)){const n=await yn(e);if(!n)return;const r=wn(n);for(const a of Pe){const s=a.exec(r);if(s)return{id:ce(e),invalidating:t,route:a,params:At(s),url:e}}}}function wn(e){return kt(k.hash?e.hash.replace(/^#/,"").replace(/[?#].+/,""):e.pathname.slice(I.length))||"/"}function ce(e){return(k.hash?e.hash.replace(/^#/,""):e.pathname)+e.search}function pt({url:e,type:t,intent:n,delta:r,event:a}){let s=!1;const i=je(y,n,e,t);r!==void 0&&(i.navigation.delta=r),a!==void 0&&(i.navigation.event=a);const o={...i.navigation,cancel:()=>{s=!0,i.reject(new Error("navigation cancelled"))}};return Z||st.forEach(c=>c(o)),s?null:i}async function V({type:e,url:t,popped:n,keepfocus:r,noscroll:a,replace_state:s,state:i={},redirect_count:o=0,nav_token:c={},accept:l=Ge,block:d=Ge,event:p}){const u=$;$=c;const f=await pe(t,!1),h=e==="enter"?je(y,f,t,e):pt({url:t,type:e,delta:n?.delta,intent:f,event:p});if(!h){d(),$===c&&($=u);return}const w=E,A=T;l(),Z=!0,se&&h.navigation.type!=="enter"&&N.navigating.set(J.current=h.navigation);let m=f&&await ht(f);if(!m){if(de(t,I,k.hash))return await G(t,s);m=await gt(t,{id:null},await M(new Ie(404,"Not Found",`Not found: ${t.pathname}`),{url:t,params:{},route:{id:null}}),404,s)}if(t=f?.url||t,$!==c)return h.reject(new Error("navigation aborted")),!1;if(m.type==="redirect"){if(o<20){await V({type:e,url:new URL(m.location,t),popped:n,keepfocus:r,noscroll:a,replace_state:s,state:i,redirect_count:o+1,nav_token:c}),h.fulfil(void 0);return}m=await he({status:500,error:await M(new Error("Redirect loop"),{url:t,params:{},route:{id:null}}),url:t,route:{id:null}})}else m.props.page.status>=400&&await N.updated.check()&&(await ot(),await G(t,s));if(hn(),Le(w),lt(A),m.props.page.url.pathname!==t.pathname&&(t.pathname=m.props.page.url.pathname),i=n?n.state:i,!n){const g=s?0:1,v={[F]:E+=g,[z]:T+=g,[Qe]:i};(s?history.replaceState:history.pushState).call(history,v,"",t),s||un(E,T)}if(C=null,m.props.page.state=i,se){const g=(await Promise.all(Array.from(dn,v=>v(h.navigation)))).filter(v=>typeof v=="function");if(g.length>0){let v=function(){g.forEach(b=>{K.delete(b)})};g.push(v),g.forEach(b=>{K.add(b)})}y=m.state,m.props.page&&(m.props.page.url=t),ct.$set(m.props),rn(m.props.page),it=!0}else ut(m,Ee,!1);const{activeElement:O}=document;await ln();let S=n?n.scroll:a?ue():null;if(Ye){const g=t.hash&&document.getElementById(yt(t));if(S)scrollTo(S.x,S.y);else if(g){g.scrollIntoView();const{top:v,left:b}=g.getBoundingClientRect();S={x:pageXOffset+b,y:pageYOffset+v}}else scrollTo(0,0)}const _=document.activeElement!==O&&document.activeElement!==document.body;!r&&!_&&En(t,S),Ye=!0,m.props.page&&Object.assign(R,m.props.page),Z=!1,e==="popstate"&&ft(T),h.fulfil(void 0),K.forEach(g=>g(h.navigation)),N.navigating.set(J.current=null)}async function gt(e,t,n,r,a){return e.origin===fe&&e.pathname===location.pathname&&!xe?await he({status:r,error:n,url:e,route:t}):await G(e,a)}function vn(){let e,t,n;x.addEventListener("mousemove",o=>{const c=o.target;clearTimeout(e),e=setTimeout(()=>{s(c,j.hover)},20)});function r(o){o.defaultPrevented||s(o.composedPath()[0],j.tap)}x.addEventListener("mousedown",r),x.addEventListener("touchstart",r,{passive:!0});const a=new IntersectionObserver(o=>{for(const c of o)c.isIntersecting&&(be(new URL(c.target.href)),a.unobserve(c.target))},{threshold:0});async function s(o,c){const l=nt(o,x),d=l===t&&c>=n;if(!l||d)return;const{url:p,external:u,download:f}=ke(l,I,k.hash);if(u||f)return;const h=te(l),w=p&&ce(y.url)===ce(p);if(!(h.reload||w))if(c<=h.preload_data){t=l,n=j.tap;const A=await pe(p,!1);if(!A)return;gn(A)}else c<=h.preload_code&&(t=l,n=c,be(p))}function i(){a.disconnect();for(const o of x.querySelectorAll("a")){const{url:c,external:l,download:d}=ke(o,I,k.hash);if(l||d)continue;const p=te(o);p.reload||(p.preload_code===j.viewport&&a.observe(o),p.preload_code===j.eager&&be(c))}}K.add(i),i()}function M(e,t){if(e instanceof le)return e.body;const n=ne(e),r=tn(e);return k.hooks.handleError({error:e,event:t,status:n,message:r})??{message:r}}function bn(e){if(typeof e=="function")ae.push(e);else{const{href:t}=new URL(e,location.href);ae.push(n=>n.href===t)}}function kn(){history.scrollRestoration="manual",addEventListener("beforeunload",t=>{let n=!1;if(Ke(),!Z){const r=je(y,void 0,null,"leave"),a={...r.navigation,cancel:()=>{n=!0,r.reject(new Error("navigation cancelled"))}};st.forEach(s=>s(a))}n?(t.preventDefault(),t.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Ke()}),navigator.connection?.saveData||vn(),x.addEventListener("click",async t=>{if(t.button||t.which!==1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.defaultPrevented)return;const n=nt(t.composedPath()[0],x);if(!n)return;const{url:r,external:a,target:s,download:i}=ke(n,I,k.hash);if(!r)return;if(s==="_parent"||s==="_top"){if(window.parent!==window)return}else if(s&&s!=="_self")return;const o=te(n);if(!(n instanceof SVGAElement)&&r.protocol!==location.protocol&&!(r.protocol==="https:"||r.protocol==="http:")||i)return;const[l,d]=(k.hash?r.hash.replace(/^#/,""):r.href).split("#"),p=l===ye(location);if(a||o.reload&&(!p||!d)){pt({url:r,type:"link",event:t})?Z=!0:t.preventDefault();return}if(d!==void 0&&p){const[,u]=y.url.href.split("#");if(u===d){if(t.preventDefault(),d===""||d==="top"&&n.ownerDocument.getElementById("top")===null)scrollTo({top:0});else{const f=n.ownerDocument.getElementById(decodeURIComponent(d));f&&(f.scrollIntoView(),f.focus())}return}if(Y=!0,Le(E),e(r),!o.replace_state)return;Y=!1}t.preventDefault(),await new Promise(u=>{requestAnimationFrame(()=>{setTimeout(u,0)}),setTimeout(u,100)}),await V({type:"link",url:r,keepfocus:o.keepfocus,noscroll:o.noscroll,replace_state:o.replace_state??r.href===location.href,event:t})}),x.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 i=new URL(r?.hasAttribute("formaction")&&r?.formAction||n.action);if(de(i,I,!1))return;const o=t.target,c=te(o);if(c.reload)return;t.preventDefault(),t.stopPropagation();const l=new FormData(o,r);i.search=new URLSearchParams(l).toString(),V({type:"form",url:i,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??i.href===location.href,event:t})}),addEventListener("popstate",async t=>{if(!Se){if(t.state?.[F]){const n=t.state[F];if($={},n===E)return;const r=D[n],a=t.state[Qe]??{},s=new URL(t.state[qt]??location.href),i=t.state[z],o=y.url?ye(location)===ye(y.url):!1;if(i===T&&(it||o)){a!==R.state&&(R.state=a),e(s),D[E]=ue(),r&&scrollTo(r.x,r.y),E=n;return}const l=n-E;await V({type:"popstate",url:s,popped:{state:a,scroll:r,delta:l},accept:()=>{E=n,T=i},block:()=>{history.go(-l)},nav_token:$,event:t})}else if(!Y){const n=new URL(location.href);e(n),k.hash&&location.reload()}}}),addEventListener("hashchange",()=>{Y&&(Y=!1,history.replaceState({...history.state,[F]:++E,[z]:T},"",location.href))});for(const t of document.querySelectorAll("link"))fn.has(t.rel)&&(t.href=t.href);addEventListener("pageshow",t=>{t.persisted&&N.navigating.set(J.current=null)});function e(t){y.url=R.url=t,N.page.set($e(R)),N.page.notify()}}async function An(e,{status:t=200,error:n,node_ids:r,params:a,route:s,server_route:i,data:o,form:c}){xe=!0;const l=new URL(location.href);let d;({params:a={},route:s={id:null}}=await pe(l,!1)||{}),d=Pe.find(({id:f})=>f===s.id);let p,u=!0;try{const f=r.map(async(w,A)=>{const m=o[A];return m?.uses&&(m.uses=_t(m.uses)),Oe({loader:k.nodes[w],url:l,params:a,route:s,parent:async()=>{const O={};for(let S=0;S<A;S+=1)Object.assign(O,(await f[S]).data);return O},server_data_node:Ne(m)})}),h=await Promise.all(f);if(d){const w=d.layouts;for(let A=0;A<w.length;A++)w[A]||h.splice(A,0,void 0)}p=ie({url:l,params:a,branch:h,status:t,error:n,form:c,route:d??null})}catch(f){if(f instanceof Te){await G(new URL(f.location,location.href));return}p=await he({status:ne(f),error:await M(f,{url:l,params:a,route:s}),url:l,route:s}),e.textContent="",u=!1}p.props.page&&(p.props.page.state={}),ut(p,e,u)}async function mt(e,t){const n=new URL(e);n.pathname=sn(e.pathname),e.pathname.endsWith("/")&&n.searchParams.append(en,"1"),n.searchParams.append(Qt,t.map(s=>s?"1":"0").join(""));const r=window.fetch,a=await r(n.href,{});if(!a.ok){let s;throw a.headers.get("content-type")?.includes("application/json")?s=await a.json():a.status===404?s="Not Found":a.status===500&&(s="Internal Error"),new le(a.status,s)}return new Promise(async s=>{const i=new Map,o=a.body.getReader();function c(d){return Jt(d,{...k.decoders,Promise:p=>new Promise((u,f)=>{i.set(p,{fulfil:u,reject:f})})})}let l="";for(;;){const{done:d,value:p}=await o.read();if(d&&!l)break;for(l+=!p&&l?`
|
|
2
|
-
`:Rt.decode(p,{stream:!0});;){const u=l.indexOf(`
|
|
3
|
-
`);if(u===-1)break;const f=JSON.parse(l.slice(0,u));if(l=l.slice(u+1),f.type==="redirect")return s(f);if(f.type==="data")f.nodes?.forEach(h=>{h?.type==="data"&&(h.uses=_t(h.uses),h.data=c(h.data))}),s(f);else if(f.type==="chunk"){const{id:h,data:w,error:A}=f,m=i.get(h);i.delete(h),A?m.reject(c(A)):m.fulfil(c(w))}}}})}function _t(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 Se=!1;function En(e,t=null){const n=document.querySelector("[autofocus]");if(n)n.focus();else{const r=yt(e);if(r&&document.getElementById(r)){const{x:s,y:i}=t??ue();setTimeout(()=>{const o=history.state;Se=!0,location.replace(`#${r}`),k.hash&&location.replace(e.hash),history.replaceState(o,"",e.hash),scrollTo(s,i),Se=!1})}else{const s=document.body,i=s.getAttribute("tabindex");s.tabIndex=-1,s.focus({preventScroll:!0,focusVisible:!1}),i!==null?s.setAttribute("tabindex",i):s.removeAttribute("tabindex")}const a=getSelection();if(a&&a.type!=="None"){const s=[];for(let i=0;i<a.rangeCount;i+=1)s.push(a.getRangeAt(i));setTimeout(()=>{if(a.rangeCount===s.length){for(let i=0;i<a.rangeCount;i+=1){const o=s[i],c=a.getRangeAt(i);if(o.commonAncestorContainer!==c.commonAncestorContainer||o.startContainer!==c.startContainer||o.endContainer!==c.endContainer||o.startOffset!==c.startOffset||o.endOffset!==c.endOffset)return}a.removeAllRanges()}})}}}function je(e,t,n,r){let a,s;const i=new Promise((c,l)=>{a=c,s=l});return i.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:i},fulfil:a,reject:s}}function $e(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 Sn(e){const t=new URL(e);return t.hash=decodeURIComponent(e.hash),t}function yt(e){let t;if(k.hash){const[,,n]=e.hash.split("#",3);t=n??""}else t=e.hash.slice(1);return decodeURIComponent(t)}export{xn as a,In as l,R as p,N as s};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{ac as r}from"./Dnk28BpG.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};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
deN�F�'WH�t@���X��J�k"S�L`����b�]��#��r�d����5����Q�mV%3*u,E��G�^�.�/Q�$հv���Z��`�7bsi�E�߯�P8��+�2P�ѡ��z[8uC���2U3,��
|
|
Binary file
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.C5HgTRfT.js","../chunks/DsnmJJEf.js","../chunks/Dnk28BpG.js","../chunks/D1v6O410.js","../nodes/1.CGcgSoA9.js","../chunks/Bbzjahjl.js","../chunks/KNAS5R2A.js","../chunks/CFWAHLsq.js","../nodes/2.DUpwDjw8.js","../chunks/DeieCYM0.js","../chunks/BSFUgC2l.js","../chunks/DY4fWHx_.js","../chunks/Ch16TNvP.js","../chunks/1taVrT-y.js","../chunks/eyJgPND9.js","../chunks/DdnE6dyJ.js","../chunks/CTKC36WM.js","../chunks/DfUzlYF5.js","../chunks/BxjargW5.js","../chunks/CekH6JMP.js","../chunks/CqfYW08-.js","../chunks/CPL43v-I.js","../nodes/3.DPH7xl7M.js","../nodes/4.Bk0knTIK.js","../chunks/C2ewTgu8.js","../assets/account.dAAx7bby.css","../nodes/5.DwnZ1Bh8.js","../nodes/6.5U-KxFgt.js","../assets/list.DVGH0BeP.css","../assets/styles.D8SZ-PeY.css","../nodes/7.DFc4sJix.js","../nodes/8.BG4bv5P5.js","../nodes/9.BKljyhOi.js","../nodes/10.ukScuXwz.js","../nodes/11.D3RDNx7M.js","../nodes/12._vvpCcSG.js","../nodes/13.BWPzZMQ5.js","../nodes/14.Cr843Lep.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{H as Y,J as et,E as rt,ai as at,D as nt,S as st,W as z,T as ot,P as it,a0 as ct,aq as j,aB as ut,A as m,k as lt,aR as mt,Y as _t,r as dt,a_ as ft,u as ht,am as M,t as vt,q as H,f as y,ab as gt,a as f,x as Et,c as L,y as pt,z as Pt,B as V,ar as yt,w as Rt}from"../chunks/Dnk28BpG.js";import{h as bt,m as At,u as Ot,s as Lt}from"../chunks/Bbzjahjl.js";import"../chunks/DsnmJJEf.js";import{o as Tt}from"../chunks/CFWAHLsq.js";import{i as S}from"../chunks/1taVrT-y.js";import{b as w}from"../chunks/DfUzlYF5.js";import{p as C}from"../chunks/CTKC36WM.js";function x(c,t,a){Y&&et();var o=c,s,r,e=null,n=null;function h(){r&&(ct(r),r=null),e&&(e.lastChild.remove(),o.before(e),e=null),r=n,n=null}rt(()=>{if(s!==(s=t())){var R=ot();if(s){var i=o;R&&(e=document.createDocumentFragment(),e.append(i=nt()),r&&z.skipped_effects.add(r)),n=st(()=>a(i,s))}R?z.add_callback(h):h()}},at),Y&&(o=it)}function Dt(c){return class extends kt{constructor(t){super({component:c,...t})}}}class kt{#e;#t;constructor(t){var a=new Map,o=(r,e)=>{var n=_t(e,!1,!1);return a.set(r,n),n};const s=new Proxy({...t.props||{},$$events:{}},{get(r,e){return m(a.get(e)??o(e,Reflect.get(r,e)))},has(r,e){return e===ut?!0:(m(a.get(e)??o(e,Reflect.get(r,e))),Reflect.has(r,e))},set(r,e,n){return j(a.get(e)??o(e,n),n),Reflect.set(r,e,n)}});this.#t=(t.hydrate?bt:At)(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)&<(),this.#e=s.$$events;for(const r of Object.keys(this.#t))r==="$set"||r==="$destroy"||r==="$on"||mt(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=()=>{Ot(this.#t)}}$set(t){this.#t.$set(t)}$on(t,a){this.#e[t]=this.#e[t]||[];const o=(...s)=>a.call(this,...s);return this.#e[t].push(o),()=>{this.#e[t]=this.#e[t].filter(s=>s!==o)}}$destroy(){this.#t.$destroy()}}const It="modulepreload",Vt=function(c,t){return new URL(c,t).href},G={},u=function(t,a,o){let s=Promise.resolve();if(a&&a.length>0){let R=function(i){return Promise.all(i.map(_=>Promise.resolve(_).then(v=>({status:"fulfilled",value:v}),v=>({status:"rejected",reason:v}))))};const e=document.getElementsByTagName("link"),n=document.querySelector("meta[property=csp-nonce]"),h=n?.nonce||n?.getAttribute("nonce");s=R(a.map(i=>{if(i=Vt(i,o),i in G)return;G[i]=!0;const _=i.endsWith(".css"),v=_?'[rel="stylesheet"]':"";if(o)for(let g=e.length-1;g>=0;g--){const b=e[g];if(b.href===i&&(!_||b.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${v}`))return;const d=document.createElement("link");if(d.rel=_?"stylesheet":It,_||(d.as="script"),d.crossOrigin="",d.href=i,h&&d.setAttribute("nonce",h),document.head.appendChild(d),_)return new Promise((g,b)=>{d.addEventListener("load",g),d.addEventListener("error",()=>b(new Error(`Unable to preload CSS for ${i}`)))})}))}function r(e){const n=new Event("vite:preloadError",{cancelable:!0});if(n.payload=e,window.dispatchEvent(n),!n.defaultPrevented)throw e}return s.then(e=>{for(const n of e||[])n.status==="rejected"&&r(n.reason);return t().catch(r)})},Gt={};var wt=H('<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>'),xt=H("<!> <!>",1);function St(c,t){dt(t,!0);let a=C(t,"components",23,()=>[]),o=C(t,"data_0",3,null),s=C(t,"data_1",3,null),r=C(t,"data_2",3,null);ft(()=>t.stores.page.set(t.page)),ht(()=>{t.stores,t.page,t.constructors,a(),t.form,o(),s(),r(),t.stores.page.notify()});let e=M(!1),n=M(!1),h=M(null);Tt(()=>{const l=t.stores.page.subscribe(()=>{m(e)&&(j(n,!0),vt().then(()=>{j(h,document.title||"untitled page",!0)}))});return j(e,!0),l});const R=V(()=>t.constructors[2]);var i=xt(),_=y(i);{var v=l=>{const E=V(()=>t.constructors[0]);var p=L(),T=y(p);x(T,()=>m(E),(P,A)=>{w(A(P,{get data(){return o()},get form(){return t.form},get params(){return t.page.params},children:(D,Nt)=>{var U=L(),J=y(U);{var K=O=>{const N=V(()=>t.constructors[1]);var k=L(),q=y(k);x(q,()=>m(N),(B,F)=>{w(F(B,{get data(){return s()},get form(){return t.form},get params(){return t.page.params},children:(I,qt)=>{var W=L(),X=y(W);x(X,()=>m(R),(Z,$)=>{w($(Z,{get data(){return r()},get form(){return t.form},get params(){return t.page.params}}),tt=>a()[2]=tt,()=>a()?.[2])}),f(I,W)},$$slots:{default:!0}}),I=>a()[1]=I,()=>a()?.[1])}),f(O,k)},Q=O=>{const N=V(()=>t.constructors[1]);var k=L(),q=y(k);x(q,()=>m(N),(B,F)=>{w(F(B,{get data(){return s()},get form(){return t.form},get params(){return t.page.params}}),I=>a()[1]=I,()=>a()?.[1])}),f(O,k)};S(J,O=>{t.constructors[2]?O(K):O(Q,!1)})}f(D,U)},$$slots:{default:!0}}),D=>a()[0]=D,()=>a()?.[0])}),f(l,p)},d=l=>{const E=V(()=>t.constructors[0]);var p=L(),T=y(p);x(T,()=>m(E),(P,A)=>{w(A(P,{get data(){return o()},get form(){return t.form},get params(){return t.page.params}}),D=>a()[0]=D,()=>a()?.[0])}),f(l,p)};S(_,l=>{t.constructors[1]?l(v):l(d,!1)})}var g=gt(_,2);{var b=l=>{var E=wt(),p=pt(E);{var T=P=>{var A=yt();Rt(()=>Lt(A,m(h))),f(P,A)};S(p,P=>{m(n)&&P(T)})}Pt(E),f(l,E)};S(g,l=>{m(e)&&l(b)})}f(c,i),Et()}const Ht=Dt(St),Jt=[()=>u(()=>import("../nodes/0.C5HgTRfT.js"),__vite__mapDeps([0,1,2,3]),import.meta.url),()=>u(()=>import("../nodes/1.CGcgSoA9.js"),__vite__mapDeps([4,1,2,5,6,7,3]),import.meta.url),()=>u(()=>import("../nodes/2.DUpwDjw8.js"),__vite__mapDeps([8,9,10,11,12,1,2,5,3,13,14,15,16,17,18,19,20,21]),import.meta.url),()=>u(()=>import("../nodes/3.DPH7xl7M.js"),__vite__mapDeps([22,1,2]),import.meta.url),()=>u(()=>import("../nodes/4.Bk0knTIK.js"),__vite__mapDeps([23,9,10,11,12,1,2,5,3,13,14,15,16,17,20,19,18,21,24,25]),import.meta.url),()=>u(()=>import("../nodes/5.DwnZ1Bh8.js"),__vite__mapDeps([26,12,1,2,5,14,10,11]),import.meta.url),()=>u(()=>import("../nodes/6.5U-KxFgt.js"),__vite__mapDeps([27,12,10,11,1,2,5,13,18,14,15,9,3,16,17,19,20,21,28,29]),import.meta.url),()=>u(()=>import("../nodes/7.DFc4sJix.js"),__vite__mapDeps([30,12,1,2,5,13,15,10,11,14,16,29]),import.meta.url),()=>u(()=>import("../nodes/8.BG4bv5P5.js"),__vite__mapDeps([31,12,1,2,5,18,14]),import.meta.url),()=>u(()=>import("../nodes/9.BKljyhOi.js"),__vite__mapDeps([32,12,1,2,5,13,18]),import.meta.url),()=>u(()=>import("../nodes/10.ukScuXwz.js"),__vite__mapDeps([33,12,1,2,5,13,18,14,15,19,16,11,28]),import.meta.url),()=>u(()=>import("../nodes/11.D3RDNx7M.js"),__vite__mapDeps([34,12,1,2,5,13,20,14,16,10,11,19,15,18,17,9,3,21,24,25]),import.meta.url),()=>u(()=>import("../nodes/12._vvpCcSG.js"),__vite__mapDeps([35,1,2,5,13,14,16,9,10,11,12,3,15,17]),import.meta.url),()=>u(()=>import("../nodes/13.BWPzZMQ5.js"),__vite__mapDeps([36,1,21,2,5,13,16,9,10,11,12,3,14,15,17]),import.meta.url),()=>u(()=>import("../nodes/14.Cr843Lep.js"),__vite__mapDeps([37,1,2,5,13,14,16,9,10,11,12,3,15,17]),import.meta.url)],Kt=[],Qt={"/_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],"/logout":[13],"/register":[14]},Ct={handleError:(({error:c})=>{console.error(c)}),reroute:(()=>{}),transport:{}},jt=Object.fromEntries(Object.entries(Ct.transport).map(([c,t])=>[c,t.decode])),Xt=!1,Zt=(c,t)=>jt[c](t);export{Zt as decode,jt as decoders,Qt as dictionary,Xt as hash,Ct as hooks,Gt as matchers,Jt as nodes,Ht as root,Kt as server_loads};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{l as o,a as r}from"../chunks/KNAS5R2A.js";export{o as load_css,r as start};
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"../chunks/DsnmJJEf.js";import{c as n,f as m,a as p}from"../chunks/Dnk28BpG.js";import{s as e}from"../chunks/D1v6O410.js";function f(a,r){var o=n(),t=m(o);e(t,()=>r.children),p(a,o)}export{f as component};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"../chunks/DsnmJJEf.js";import{r as i,q as h,f as g,w as v,a as d,x as l,y as a,z as s,ab as x}from"../chunks/Dnk28BpG.js";import{s as o}from"../chunks/Bbzjahjl.js";import{s as _,p}from"../chunks/KNAS5R2A.js";const $={get error(){return p.error},get status(){return p.status}};_.updated.check;const m=$;var b=h("<h1> </h1> <p> </p>",1);function z(c,n){i(n,!0);var t=b(),r=g(t),u=a(r,!0);s(r);var e=x(r,2),f=a(e,!0);s(e),v(()=>{o(u,m.status),o(f,m.error?.message)}),d(c,t),l()}export{z as component};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{f as G}from"../chunks/Ch16TNvP.js";import"../chunks/DsnmJJEf.js";import{r as H,q as f,ab as t,f as K,a as _,x as M,an as B,y as i,A as e,aj as T,w as E,K as C,ap as D,z as o}from"../chunks/Dnk28BpG.js";import{d as F,a as J,s as $}from"../chunks/Bbzjahjl.js";import{i as L}from"../chunks/1taVrT-y.js";import{e as y,i as k}from"../chunks/BxjargW5.js";import{a as Q}from"../chunks/eyJgPND9.js";import{d as R,s as z}from"../chunks/DdnE6dyJ.js";import{I as j}from"../chunks/CekH6JMP.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 fa=Object.freeze(Object.defineProperty({__proto__:null,load:X,ssr:W},Symbol.toStringTag,{value:"Module"})),A=(r,d=T,v=T,p)=>{let u=C(()=>D(p?.(),()=>V(v()),!0));var s=Y();let a;var n=i(s);j(n,{get i(){return d()}});var m=t(n,1,!0);o(s),E(h=>{a=R(s,"",a,h),$(m,v())},[()=>({"background-color":e(u)})]),_(r,s)};var Y=f('<span class="attribute svelte-1ivxq48"><!> </span>'),Z=(r,d)=>r.currentTarget===r.target&&(location.href="/admin/users/"+e(d).id),aa=f('<div class="user list-item svelte-1ivxq48"><span> </span> <span> </span> <span><!> <!> <!></span> <a><!></a> <a><!></a></div>'),ea=f('<div class="error">No users!</div>'),sa=f('<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 ta={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(r,d){H(d,!0),Q(r,ta);var v=sa();J(s=>{B.title="Admin - Users"});var p=t(K(v),2),u=t(i(p),2);y(u,17,()=>d.data.users,k,(s,a)=>{var n=aa();n.__click=[Z,a];var m=i(n),h=i(m,!0);o(m);var g=t(m,2),N=i(g,!0);o(g);var b=t(g,2),w=i(b);{var O=l=>{A(l,()=>"crown",()=>"Admin",()=>"#710")};L(w,l=>{e(a).isAdmin&&l(O)})}var I=t(w,2);y(I,17,()=>e(a).tags,k,(l,q)=>{A(l,()=>"hashtag",()=>e(q))});var P=t(I,2);y(P,17,()=>e(a).roles,k,(l,q)=>{A(l,()=>"at",()=>e(q))}),o(b);var c=t(b,2),S=i(c);j(S,{i:"file-shield"}),o(c);var x=t(c,2),U=i(x);j(U,{i:"chevron-right"}),o(x),o(n),E(()=>{$(h,e(a).name),$(N,e(a).email),z(c,"href",`/admin/audit?user=${e(a).id??""}`),z(x,"href",`/admin/users/${e(a).id??""}`)}),_(s,n)},s=>{var a=ea();_(s,a)}),o(p),_(r,v),M()}F(["click"]);export{ua as component,fa as universal};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
� `�M�,�!���7cw�B̺��������W�ˊJ�Y�W�7dnZ[�oߥw Ald�͂�d�����5���^��܄j��<����])��00�j�܌%R@�pva���JdV5�fg�M9&^*�i����R��e%�DН���"�w��p�/��\�$y}
|
|
2
|
-
B�~�oC=��;�.��J��{��*�˛�u=;M�}�i]��&�g�GA�%��=�ڞ���_�,�&w' +��3-1IH`�R�~=)���[��98�9�h������
|
|
3
|
-
�{sD~��>:�i��=�X��]�
|
|
4
|
-
3���j:���X���?<�����%��'7�|g}�����
|
|
5
|
-
����Z!긁1�s@����ij{�:��eJ�L^�Б,�x�2K֮�gH�v�R����2���5��%� �% �EGϠ�P�Y�]�?�+��{�D��h�u�ױׅ�<K�@1X�v�0@�qX2%�1���Ε�������M����)���G�:��Fdԗ�Sג��M��2��L���� ��e�h�7�������q1ŝ�NU�p�*���
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{f as _e}from"../chunks/Ch16TNvP.js";import"../chunks/DsnmJJEf.js";import{r as ge,al as ue,q as p,f as H,ab as r,A as xe,w as J,a as l,x as he,an as ye,y as a,B as be,ao as L,z as s}from"../chunks/Dnk28BpG.js";import{a as we,s as n}from"../chunks/Bbzjahjl.js";import{i as O}from"../chunks/1taVrT-y.js";import{c,C as f,S as Se}from"../chunks/CqfYW08-.js";import{a as De}from"../chunks/eyJgPND9.js";import{s as K}from"../chunks/DdnE6dyJ.js";import"../chunks/DeieCYM0.js";import"../chunks/BSFUgC2l.js";import{I as Ae}from"../chunks/CekH6JMP.js";import"../chunks/CPL43v-I.js";import{P as Ce}from"../chunks/C2ewTgu8.js";const Ie=!1;async function ze({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 We=Object.freeze(Object.defineProperty({__proto__:null,load:ze,ssr:Ie},Symbol.toStringTag,{value:"Module"}));function Pe(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 Te=p("<strong>Yes</strong>"),Ue=p("<p>No</p>"),Ve=p("<strong>Yes</strong>"),$e=p("<p>No</p>"),je=p('<a target="_blank" rel="noopener noreferrer"> </a> <svelte-css-wrapper style="display: contents"><!></svelte-css-wrapper>',1),Me=p("<i>Default</i> <p></p>",1),Ne=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 ke={hash:"svelte-1r28lg0",code:"div.info.svelte-1r28lg0 {grid-template-columns:10em 1fr 6em;}.section.svelte-1r28lg0 {margin-bottom:2em;}"};function Xe(v,o){ge(o,!0),De(v,ke);const{user:e}=o.data;let _=ue(e.sessions);var m=Ne();we(t=>{ye.title="Admin — User Management"});var u=H(m),R=a(u),Q=a(R);Ae(Q,{i:"up-left"}),L(),s(R),s(u);var x=r(u,4),h=a(x),y=r(a(h),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(h);var w=r(h,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 A=r(w,2),C=r(a(A),2),g=a(C),Z=a(g,!0);s(g);var ee=r(g);s(C);var I=r(C,2);c(I,()=>({"--size":"16px"})),f(I.lastChild,{get value(){return e.email}}),s(I),s(A);var z=r(A,2),P=r(a(z),2),re=a(P,!0);s(P);var T=r(P,2);{let t=be(()=>e.registeredAt.toISOString());c(T,()=>({"--size":"16px"})),f(T.lastChild,{get value(){return xe(t)}}),s(T)}s(z);var U=r(z,2),se=r(a(U),2);{var te=t=>{var i=Te();l(t,i)},ae=t=>{var i=Ue();l(t,i)};O(se,t=>{e.isAdmin?t(te):t(ae,!1)})}L(2),s(U);var V=r(U,2),B=r(a(V),2);{var ie=t=>{var i=Ve();l(t,i)},oe=t=>{var i=$e();l(t,i)};O(B,t=>{e.isSuspended?t(ie):t(oe,!1)})}var E=r(B,2),ne=a(E,!0);s(E),s(V);var $=r(V,2),ve=r(a($),2);{var le=t=>{var i=je(),d=H(i),N=a(d,!0);s(d);var k=r(d,2);c(k,()=>({"--size":"16px"})),f(k.lastChild,{get value(){return e.image}}),s(k),J(()=>{K(d,"href",e.image),n(N,e.image)}),l(t,i)},pe=t=>{var i=Me();L(2),l(t,i)};O(ve,t=>{e.image?t(le):t(pe,!1)})}s($);var j=r($,2),Y=r(a(j),2),de=a(Y,!0);s(Y),s(j);var q=r(j,2),F=r(a(q),2),me=a(F,!0);s(F),s(q),s(x);var M=r(x,2),ce=r(a(M),2);Se(ce,{get sessions(){return _},get user(){return e}}),s(M);var G=r(M,2),fe=r(a(G),2);Ce(fe,{get userId(){return e.id},get preferences(){return e.preferences},set preferences(t){e.preferences=t}}),s(G),J((t,i,d,N)=>{n(W,e.id),n(X,e.name),K(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,N)},[()=>e.emailVerified?"verified "+e.emailVerified.toLocaleString():"not verified",()=>Pe(e.registeredAt),()=>e.roles.join(", "),()=>e.tags.join(", ")]),l(v,m),he()}export{Xe as component,We as universal};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"../chunks/DsnmJJEf.js";import{r as c,x as v,q as d,a as m,c as h,f as _,an as b}from"../chunks/Dnk28BpG.js";import{a as k}from"../chunks/Bbzjahjl.js";import{i as x}from"../chunks/1taVrT-y.js";import{a as y}from"../chunks/eyJgPND9.js";import{p as f}from"../chunks/CTKC36WM.js";import{F as P,i as L}from"../chunks/DeieCYM0.js";var $=d('<div class="footer svelte-1mdh4kt"><a href="/register">Register instead</a></div>'),q=d('<div><label for="email">Email</label> <input name="email" type="email" required/></div>');const E={hash:"svelte-1mdh4kt",code:".footer.svelte-1mdh4kt {margin-bottom:1em;text-align:center;background:none;}"};function F(o,t){c(t,!0),y(o,E);let s=f(t,"dialog",15),n=f(t,"fullPage",3,!1);function g(a){if(typeof a.email!="string")throw"Tried to upload a file for an email. Huh?!";return L(a.email)}P(o,{submitText:"Login",submit:g,get pageMode(){return n()},get dialog(){return s()},set dialog(e){s(e)},footer:e=>{var r=h(),i=_(r);{var u=l=>{var p=$();m(l,p)};x(i,l=>{n()&&l(u)})}m(e,r)},children:(e,r)=>{var i=q();m(e,i)},$$slots:{footer:!0,default:!0}}),v()}function j(o){k(t=>{b.title="Login"}),F(o,{fullPage:!0})}export{j as component};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"../chunks/DsnmJJEf.js";import{L as t}from"../chunks/CPL43v-I.js";function r(o){t(o,{fullPage:!0})}export{r as component};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"../chunks/DsnmJJEf.js";import{r as p,x as u,q as f,a as l,c as v,f as c,ao as b,an as _}from"../chunks/Dnk28BpG.js";import{a as h}from"../chunks/Bbzjahjl.js";import{i as x}from"../chunks/1taVrT-y.js";import{a as y}from"../chunks/eyJgPND9.js";import{p as m}from"../chunks/CTKC36WM.js";import{F as P,r as j}from"../chunks/DeieCYM0.js";var q=f('<div class="footer svelte-2447ej"><a href="/login">Login instead</a></div>'),$=f('<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 k={hash:"svelte-2447ej",code:".footer.svelte-2447ej {margin-bottom:1em;text-align:center;background:none;}"};function D(a,t){p(t,!0),y(a,k);let s=m(t,"dialog",15),n=m(t,"fullPage",3,!1);P(a,{submitText:"Register",get submit(){return j},get pageMode(){return n()},get dialog(){return s()},set dialog(e){s(e)},footer:e=>{var r=v(),o=c(r);{var d=i=>{var g=q();l(i,g)};x(o,i=>{n()&&i(d)})}l(e,r)},children:(e,r)=>{var o=$();b(2),l(e,o)},$$slots:{footer:!0,default:!0}}),u()}function U(a){h(t=>{_.title="Sign Up"}),D(a,{fullPage:!0})}export{U as component};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{g as y}from"../chunks/DeieCYM0.js";import"../chunks/DsnmJJEf.js";import{r as w,q as p,a as c,x as W,y as d,z as r,ab as v,A as o,w as z}from"../chunks/Dnk28BpG.js";import{s as S}from"../chunks/Bbzjahjl.js";import{s as j}from"../chunks/D1v6O410.js";import{e as I,i as O}from"../chunks/BxjargW5.js";import{a as q}from"../chunks/eyJgPND9.js";import{s as A,b as C,c as M}from"../chunks/DdnE6dyJ.js";import{c as P}from"../chunks/BSFUgC2l.js";import{I as T}from"../chunks/CekH6JMP.js";import"../chunks/CqfYW08-.js";import"../chunks/CPL43v-I.js";const B=!1;async function D({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),{session:i,tabs:a}}const $=Object.freeze(Object.defineProperty({__proto__:null,load:D,ssr:B},Symbol.toStringTag,{value:"Module"}));var E=p("<a><!> </a>"),F=p('<div id="admin-container" class="svelte-1371mk6"><div class="sidebar svelte-1371mk6"></div> <div id="admin-content" class="svelte-1371mk6"><!></div></div>');const G={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 ee(s,e){w(e,!0),q(s,G);var i=F(),a=d(i);I(a,21,()=>e.data.tabs,O,(u,n)=>{let g=()=>o(n).href,h=()=>o(n).name,b=()=>o(n).icon,_=()=>o(n).active;var t=E(),l=d(t);T(l,{get i(){return b()}});var k=v(l);r(t),z(x=>{A(t,"href",g()),C(t,1,M(["item","icon-text",_()&&"active"]),"svelte-1371mk6"),S(k,` ${x??""}`)},[()=>P(h())]),c(u,t)}),r(a);var m=v(a,2),f=d(m);j(f,()=>e.children),r(m),r(i),c(s,i),W()}export{ee as component,$ as universal};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"../chunks/DsnmJJEf.js";import{q as o,a as l}from"../chunks/Dnk28BpG.js";var t=o(`<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 n(i){var a=t();l(i,a)}export{n as component};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{g as Ne,e as We,a as Ye,b as Be,F as P,c as Ke,d as Ge,u as He,f as Je,h as Qe,s as Re}from"../chunks/DeieCYM0.js";import"../chunks/DsnmJJEf.js";import{r as Xe,al as $,am as pe,q as m,aj as Ze,A as e,ab as t,y as n,w as y,a as u,x as et,K as tt,z as a,an as at,ao as st,ap as rt,aq as ge,c as it,f as _e,B as me}from"../chunks/Dnk28BpG.js";import{d as nt,a as ot,s as x}from"../chunks/Bbzjahjl.js";import{i as T}from"../chunks/1taVrT-y.js";import{c as S,C as lt,S as dt}from"../chunks/CqfYW08-.js";import{e as ct,i as vt}from"../chunks/BxjargW5.js";import{a as ut}from"../chunks/eyJgPND9.js";import{d as fe,s as A,r as J,e as Q}from"../chunks/DdnE6dyJ.js";import{g as pt}from"../chunks/BSFUgC2l.js";import{I as w}from"../chunks/CekH6JMP.js";import{L as _t}from"../chunks/CPL43v-I.js";import{P as mt}from"../chunks/C2ewTgu8.js";const ft=!1;async function gt(){let f;try{f=await Ne()}catch{throw window.location.href="/login?after=/account","Missing session, redirecting to login"}const o=f.user;return{currentSession:f,user:o,passkeys:await Be(o.id),sessions:await Ye(o.id),canVerify:await We(o.id)}}const Qt=Object.freeze(Object.defineProperty({__proto__:null,load:gt,ssr:ft},Symbol.toStringTag,{value:"Module"}));var ht=(f,o,g)=>o[g()].showModal(),bt=m('<button><svelte-css-wrapper style="display: contents"><!></svelte-css-wrapper></button>'),yt=m('<div><label for="name">What do you want to be called?</label> <input name="name" type="text" required/></div>'),xt=m("<dfn><!></dfn>"),wt=(f,o,g)=>Re(e(o).id).then(()=>ge(g,!0)),kt=m("<button> </button>"),zt=m('<div><label for="email">Email Address</label> <input name="email" type="email" required/></div>'),Pt=(f,o)=>o.logout.showModal(),$t=(f,o)=>o.delete.showModal(),St=m("<p>Are you sure you want to delete your account?<br/>This action can't be undone.</p>"),Ct=m("<p> </p>"),Tt=m('<p class="subtle"><i>Unnamed</i></p>'),At=m('<dfn title="You must have at least one passkey" class="disabled"><svelte-css-wrapper style="display: contents"><!></svelte-css-wrapper></dfn>'),Dt=m('<div><label for="name">Passkey Name</label> <input name="name" type="text"/></div>'),Ut=m("<p>Are you sure you want to delete this passkey?<br/>This action can't be undone.</p>"),It=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),Vt=(f,o,g)=>Ke(e(o).id).then(g.push.bind(g)),Mt=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 Lt={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 Rt(f,o){Xe(o,!0),ut(f,Lt);const g=(r,s=Ze,d)=>{let v=tt(()=>rt(d?.(),"pen"));var p=bt();p.__click=[ht,c,s],fe(p,"",{},{display:"contents"});var _=n(p);S(_,()=>({"--size":"16px"})),w(_.lastChild,{get i(){return e(v)}}),a(_),a(p),u(r,p)},{canVerify:he}=o.data,c=$({});let R=pe(!1),be=$(o.data.currentSession),l=pe($(o.data.user)),k=$(o.data.passkeys),ye=$(o.data.sessions);async function X(r){const s=await He(e(l).id,r);ge(l,s,!0)}var D=Mt();ot(r=>{at.title="Your Account"});var U=n(D),xe=n(U);a(U);var I=t(U,2),we=n(I);a(I);var V=t(I,2),M=t(n(V),2),L=t(n(M),2),ke=n(L,!0);a(L);var ze=t(L,2);g(ze,()=>"edit_name"),a(M);var Z=t(M,2);P(Z,{submit:X,submitText:"Change",get dialog(){return c.edit_name},set dialog(r){c.edit_name=r},children:(r,s)=>{var d=yt(),v=t(n(d),2);J(v),a(d),y(()=>Q(v,e(l).name||"")),u(r,d)},$$slots:{default:!0}});var q=t(Z,2),E=t(n(q),2),ee=n(E),Pe=t(ee);{var $e=r=>{var s=xt(),d=n(s);w(d,{i:"regular/circle-check"}),a(s),y(v=>A(s,"title",`Email verified on ${v??""}`),[()=>e(l).emailVerified.toLocaleDateString()]),u(r,s)},Se=r=>{var s=it(),d=_e(s);{var v=p=>{var _=kt();_.__click=[wt,l,R];var z=n(_,!0);a(_),y(()=>x(z,e(R)?"Verification email sent":"Verify")),u(p,_)};T(d,p=>{he&&p(v)},!0)}u(r,s)};T(Pe,r=>{e(l).emailVerified?r($e):r(Se,!1)})}a(E);var Ce=t(E,2);g(Ce,()=>"edit_email"),a(q);var te=t(q,2);P(te,{submit:X,submitText:"Change",get dialog(){return c.edit_email},set dialog(r){c.edit_email=r},children:(r,s)=>{var d=zt(),v=t(n(d),2);J(v),a(d),y(()=>Q(v,e(l).email||"")),u(r,d)},$$slots:{default:!0}});var O=t(te,2),j=n(O),ae=t(n(j)),Te=n(ae);w(Te,{i:"regular/circle-info"}),a(ae),a(j);var F=t(j,2),Ae=n(F,!0);a(F);var N=t(F,2);S(N,()=>({"--size":"16px"})),lt(N.lastChild,{get value(){return e(l).id}}),a(N),a(O);var se=t(O,2),re=n(se);re.__click=[Pt,c];var W=t(re,2);W.__click=[$t,c],fe(W,"",{},{cursor:"pointer"});var ie=t(W,2);_t(ie,{get dialog(){return c.logout},set dialog(r){c.logout=r}});var De=t(ie,2);P(De,{submit:()=>Ge(e(l).id).then(()=>window.location.href="/"),submitText:"Delete Account",submitDanger:!0,get dialog(){return c.delete},set dialog(r){c.delete=r},children:(r,s)=>{var d=St();u(r,d)},$$slots:{default:!0}}),a(se),a(V);var Y=t(V,2),ne=t(n(Y),2);ct(ne,17,()=>k,vt,(r,s,d)=>{var v=It(),p=_e(v),_=n(p),z=n(_);{let i=me(()=>e(s).deviceType=="multiDevice"?"laptop-mobile":"mobile");S(z,()=>({"--size":"16px"})),w(z.lastChild,{get i(){return e(i)}}),a(z)}a(_);var C=t(_,2),G=n(C);{let i=me(()=>e(s).backedUp?"circle-check":"circle-xmark");S(G,()=>({"--size":"16px"})),w(G.lastChild,{get i(){return e(i)}}),a(G)}a(C);var de=t(C,2);{var Me=i=>{var h=Ct(),b=n(h,!0);a(h),y(()=>x(b,e(s).name)),u(i,h)},Le=i=>{var h=Tt();u(i,h)};T(de,i=>{e(s).name?i(Me):i(Le,!1)})}var H=t(de,2),qe=n(H);a(H);var ce=t(H,2);g(ce,()=>"edit_passkey#"+e(s).id);var Ee=t(ce,2);{var Oe=i=>{g(i,()=>"delete_passkey#"+e(s).id,()=>"trash")},je=i=>{var h=At(),b=n(h);S(b,()=>({"--fill":"#888","--size":"16px"})),w(b.lastChild,{i:"trash-slash"}),a(b),a(h),u(i,h)};T(Ee,i=>{k.length>1?i(Oe):i(je,!1)})}a(p);var ve=t(p,2);P(ve,{submit:i=>{if(typeof i.name!="string")throw"Passkey name must be a string";return e(s).name=i.name,Je(e(s).id,i)},submitText:"Change",get dialog(){return c["edit_passkey#"+e(s).id]},set dialog(i){c["edit_passkey#"+e(s).id]=i},children:(i,h)=>{var b=Dt(),ue=t(n(b),2);J(ue),a(b),y(()=>Q(ue,e(s).name||"")),u(i,b)},$$slots:{default:!0}});var Fe=t(ve,2);P(Fe,{submit:()=>Qe(e(s).id).then(()=>k.splice(k.indexOf(e(s)),1)),submitText:"Delete",submitDanger:!0,get dialog(){return c["delete_passkey#"+e(s).id]},set dialog(i){c["delete_passkey#"+e(s).id]=i},children:(i,h)=>{var b=Ut();u(i,b)},$$slots:{default:!0}}),y(i=>{A(_,"title",e(s).deviceType=="multiDevice"?"Multiple devices":"Single device"),A(C,"title",`This passkey is ${e(s).backedUp?"":"not "}backed up`),x(qe,`Created ${i??""}`)},[()=>e(s).createdAt.toLocaleString()]),u(r,v)});var oe=t(ne,2),B=n(oe);B.__click=[Vt,l,k];var Ue=n(B);w(Ue,{i:"plus"}),st(),a(B),a(oe),a(Y);var K=t(Y,2),Ie=t(n(K),2);dt(Ie,{get sessions(){return ye},get currentSession(){return be},get user(){return e(l)},redirectAfterLogoutAll:!0}),a(K);var le=t(K,2),Ve=t(n(le),2);mt(Ve,{get userId(){return e(l).id},get preferences(){return e(l).preferences},set preferences(r){e(l).preferences=r}}),a(le),a(D),y(r=>{A(xe,"src",r),x(we,`Welcome, ${e(l).name??""}`),x(ke,e(l).name),x(ee,`${e(l).email??""} `),x(Ae,e(l).id)},[()=>pt(e(l))]),u(f,D),et()}nt(["click"]);export{Rt as component,Qt as universal};
|
|
Binary file
|
|
Binary file
|