@axium/server 0.20.1 → 0.20.2
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/assets/styles.css +6 -0
- package/build/client/_app/immutable/chunks/{CCvjz3hN.js → 9FHFgUon.js} +1 -1
- package/build/client/_app/immutable/chunks/9FHFgUon.js.br +0 -0
- package/build/client/_app/immutable/chunks/{CCvjz3hN.js.gz → 9FHFgUon.js.gz} +0 -0
- package/build/client/_app/immutable/chunks/{BAOCrSx4.js → BZt-20Gh.js} +1 -1
- package/build/client/_app/immutable/chunks/BZt-20Gh.js.br +0 -0
- package/build/client/_app/immutable/chunks/BZt-20Gh.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CCItVgoa.js +3 -0
- package/build/client/_app/immutable/chunks/CCItVgoa.js.br +0 -0
- package/build/client/_app/immutable/chunks/CCItVgoa.js.gz +0 -0
- package/build/client/_app/immutable/entry/{app.rzos64o0.js → app.DXkLJgJ3.js} +2 -2
- package/build/client/_app/immutable/entry/app.DXkLJgJ3.js.br +0 -0
- package/build/client/_app/immutable/entry/app.DXkLJgJ3.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.C1s7iVlb.js +1 -0
- package/build/client/_app/immutable/entry/start.C1s7iVlb.js.br +2 -0
- package/build/client/_app/immutable/entry/start.C1s7iVlb.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{1.DcOcUpKb.js → 1.-tO4morz.js} +1 -1
- package/build/client/_app/immutable/nodes/1.-tO4morz.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.-tO4morz.js.gz +0 -0
- package/build/client/_app/immutable/nodes/3.7XpHXDNm.js +7 -0
- package/build/client/_app/immutable/nodes/3.7XpHXDNm.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.7XpHXDNm.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{4.kees-Q48.js → 4.DiGf22HD.js} +1 -1
- package/build/client/_app/immutable/nodes/4.DiGf22HD.js.br +0 -0
- package/build/client/_app/immutable/nodes/4.DiGf22HD.js.gz +0 -0
- package/build/client/_app/immutable/nodes/5.BPzKm-JP.js +1 -0
- package/build/client/_app/immutable/nodes/5.BPzKm-JP.js.br +0 -0
- package/build/client/_app/immutable/nodes/5.BPzKm-JP.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{6.DCYR9V6Q.js → 6.Cz9PCe7K.js} +1 -1
- package/build/client/_app/immutable/nodes/6.Cz9PCe7K.js.br +0 -0
- package/build/client/_app/immutable/nodes/6.Cz9PCe7K.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 +6 -0
- package/build/client/styles.css.br +0 -0
- package/build/client/styles.css.gz +0 -0
- package/build/server/chunks/{1-DcWlpzIo.js → 1-GF2q3r1g.js} +2 -2
- package/build/server/chunks/{1-DcWlpzIo.js.map → 1-GF2q3r1g.js.map} +1 -1
- package/build/server/chunks/{3-DOBkGx21.js → 3-CJJ0rFN2.js} +2 -2
- package/build/server/chunks/{3-DOBkGx21.js.map → 3-CJJ0rFN2.js.map} +1 -1
- package/build/server/chunks/{4-BJYppd09.js → 4-3AO_VRm0.js} +2 -2
- package/build/server/chunks/{4-BJYppd09.js.map → 4-3AO_VRm0.js.map} +1 -1
- package/build/server/chunks/{5-3yuURAKM.js → 5-sUeA0D7s.js} +2 -2
- package/build/server/chunks/{5-3yuURAKM.js.map → 5-sUeA0D7s.js.map} +1 -1
- package/build/server/chunks/{6-TVAhMaPs.js → 6-BqCt3ZcB.js} +2 -2
- package/build/server/chunks/{6-TVAhMaPs.js.map → 6-BqCt3ZcB.js.map} +1 -1
- package/build/server/chunks/{hooks.server-BEyrQSZQ.js → hooks.server-DJnlQx9c.js} +2 -2
- package/build/server/chunks/{hooks.server-BEyrQSZQ.js.map → hooks.server-DJnlQx9c.js.map} +1 -1
- package/build/server/index.js +2 -2
- package/build/server/index.js.map +1 -1
- package/build/server/manifest.js +6 -6
- package/build/server/manifest.js.map +1 -1
- package/package.json +1 -1
- package/routes/account/+page.svelte +1 -1
- package/routes/account/+page.ts +7 -3
- package/web/lib/FormDialog.svelte +6 -6
- package/web/lib/Login.svelte +1 -1
- package/web/lib/Logout.svelte +1 -1
- package/web/lib/Upload.svelte +2 -2
- package/web/lib/UserCard.svelte +2 -2
- package/web/tsconfig.json +2 -1
- package/build/client/_app/immutable/chunks/BAOCrSx4.js.br +0 -4
- package/build/client/_app/immutable/chunks/BAOCrSx4.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CCvjz3hN.js.br +0 -0
- package/build/client/_app/immutable/chunks/DD-EHy6T.js +0 -3
- package/build/client/_app/immutable/chunks/DD-EHy6T.js.br +0 -0
- package/build/client/_app/immutable/chunks/DD-EHy6T.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.rzos64o0.js.br +0 -0
- package/build/client/_app/immutable/entry/app.rzos64o0.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.dr2p7oHu.js +0 -1
- package/build/client/_app/immutable/entry/start.dr2p7oHu.js.br +0 -2
- package/build/client/_app/immutable/entry/start.dr2p7oHu.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.DcOcUpKb.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.DcOcUpKb.js.gz +0 -0
- package/build/client/_app/immutable/nodes/3.B1cYKmsK.js +0 -7
- package/build/client/_app/immutable/nodes/3.B1cYKmsK.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.B1cYKmsK.js.gz +0 -0
- package/build/client/_app/immutable/nodes/4.kees-Q48.js.br +0 -0
- package/build/client/_app/immutable/nodes/4.kees-Q48.js.gz +0 -0
- package/build/client/_app/immutable/nodes/5.KdYa5mUe.js +0 -1
- package/build/client/_app/immutable/nodes/5.KdYa5mUe.js.br +0 -0
- package/build/client/_app/immutable/nodes/5.KdYa5mUe.js.gz +0 -0
- package/build/client/_app/immutable/nodes/6.DCYR9V6Q.js.br +0 -0
- package/build/client/_app/immutable/nodes/6.DCYR9V6Q.js.gz +0 -0
package/build/server/manifest.js
CHANGED
|
@@ -10,15 +10,15 @@ return {
|
|
|
10
10
|
assets: new Set(["icons/brands.svg","icons/light.svg","icons/regular.svg","icons/solid.svg","styles.css"]),
|
|
11
11
|
mimeTypes: {".svg":"image/svg+xml",".css":"text/css"},
|
|
12
12
|
_: {
|
|
13
|
-
client: {start:"_app/immutable/entry/start.
|
|
13
|
+
client: {start:"_app/immutable/entry/start.C1s7iVlb.js",app:"_app/immutable/entry/app.DXkLJgJ3.js",imports:["_app/immutable/entry/start.C1s7iVlb.js","_app/immutable/chunks/CCItVgoa.js","_app/immutable/chunks/BZOe2Jko.js","_app/immutable/chunks/uU8Mt6Mg.js","_app/immutable/chunks/BK1-xGGj.js","_app/immutable/chunks/sfKJ2mhH.js","_app/immutable/entry/app.DXkLJgJ3.js","_app/immutable/chunks/uU8Mt6Mg.js","_app/immutable/chunks/BK1-xGGj.js","_app/immutable/chunks/DsnmJJEf.js","_app/immutable/chunks/BZOe2Jko.js","_app/immutable/chunks/sfKJ2mhH.js","_app/immutable/chunks/DGhIdZ_j.js"],stylesheets:[],fonts:[],uses_env_dynamic_public:false},
|
|
14
14
|
nodes: [
|
|
15
15
|
__memo(() => import('./chunks/0-B8fDicB8.js')),
|
|
16
|
-
__memo(() => import('./chunks/1-
|
|
16
|
+
__memo(() => import('./chunks/1-GF2q3r1g.js')),
|
|
17
17
|
__memo(() => import('./chunks/2-CVTt4PZM.js')),
|
|
18
|
-
__memo(() => import('./chunks/3-
|
|
19
|
-
__memo(() => import('./chunks/4-
|
|
20
|
-
__memo(() => import('./chunks/5-
|
|
21
|
-
__memo(() => import('./chunks/6-
|
|
18
|
+
__memo(() => import('./chunks/3-CJJ0rFN2.js')),
|
|
19
|
+
__memo(() => import('./chunks/4-3AO_VRm0.js')),
|
|
20
|
+
__memo(() => import('./chunks/5-sUeA0D7s.js')),
|
|
21
|
+
__memo(() => import('./chunks/6-BqCt3ZcB.js'))
|
|
22
22
|
],
|
|
23
23
|
remotes: {
|
|
24
24
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manifest.js","sources":["../../.svelte-kit/adapter-node/manifest.js"],"sourcesContent":["export const manifest = (() => {\nfunction __memo(fn) {\n\tlet value;\n\treturn () => value ??= (value = fn());\n}\n\nreturn {\n\tappDir: \"_app\",\n\tappPath: \"_app\",\n\tassets: new Set([\"icons/brands.svg\",\"icons/light.svg\",\"icons/regular.svg\",\"icons/solid.svg\",\"styles.css\"]),\n\tmimeTypes: {\".svg\":\"image/svg+xml\",\".css\":\"text/css\"},\n\t_: {\n\t\tclient: {start:\"_app/immutable/entry/start.
|
|
1
|
+
{"version":3,"file":"manifest.js","sources":["../../.svelte-kit/adapter-node/manifest.js"],"sourcesContent":["export const manifest = (() => {\nfunction __memo(fn) {\n\tlet value;\n\treturn () => value ??= (value = fn());\n}\n\nreturn {\n\tappDir: \"_app\",\n\tappPath: \"_app\",\n\tassets: new Set([\"icons/brands.svg\",\"icons/light.svg\",\"icons/regular.svg\",\"icons/solid.svg\",\"styles.css\"]),\n\tmimeTypes: {\".svg\":\"image/svg+xml\",\".css\":\"text/css\"},\n\t_: {\n\t\tclient: {start:\"_app/immutable/entry/start.C1s7iVlb.js\",app:\"_app/immutable/entry/app.DXkLJgJ3.js\",imports:[\"_app/immutable/entry/start.C1s7iVlb.js\",\"_app/immutable/chunks/CCItVgoa.js\",\"_app/immutable/chunks/BZOe2Jko.js\",\"_app/immutable/chunks/uU8Mt6Mg.js\",\"_app/immutable/chunks/BK1-xGGj.js\",\"_app/immutable/chunks/sfKJ2mhH.js\",\"_app/immutable/entry/app.DXkLJgJ3.js\",\"_app/immutable/chunks/uU8Mt6Mg.js\",\"_app/immutable/chunks/BK1-xGGj.js\",\"_app/immutable/chunks/DsnmJJEf.js\",\"_app/immutable/chunks/BZOe2Jko.js\",\"_app/immutable/chunks/sfKJ2mhH.js\",\"_app/immutable/chunks/DGhIdZ_j.js\"],stylesheets:[],fonts:[],uses_env_dynamic_public:false},\n\t\tnodes: [\n\t\t\t__memo(() => import('./nodes/0.js')),\n\t\t\t__memo(() => import('./nodes/1.js')),\n\t\t\t__memo(() => import('./nodes/2.js')),\n\t\t\t__memo(() => import('./nodes/3.js')),\n\t\t\t__memo(() => import('./nodes/4.js')),\n\t\t\t__memo(() => import('./nodes/5.js')),\n\t\t\t__memo(() => import('./nodes/6.js'))\n\t\t],\n\t\tremotes: {\n\t\t\t\n\t\t},\n\t\troutes: [\n\t\t\t{\n\t\t\t\tid: \"/_axium/default\",\n\t\t\t\tpattern: /^\\/_axium\\/default\\/?$/,\n\t\t\t\tparams: [],\n\t\t\t\tpage: { layouts: [0,], errors: [1,], leaf: 2 },\n\t\t\t\tendpoint: null\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"/account\",\n\t\t\t\tpattern: /^\\/account\\/?$/,\n\t\t\t\tparams: [],\n\t\t\t\tpage: { layouts: [0,], errors: [1,], leaf: 3 },\n\t\t\t\tendpoint: null\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"/login\",\n\t\t\t\tpattern: /^\\/login\\/?$/,\n\t\t\t\tparams: [],\n\t\t\t\tpage: { layouts: [0,], errors: [1,], leaf: 4 },\n\t\t\t\tendpoint: null\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"/logout\",\n\t\t\t\tpattern: /^\\/logout\\/?$/,\n\t\t\t\tparams: [],\n\t\t\t\tpage: { layouts: [0,], errors: [1,], leaf: 5 },\n\t\t\t\tendpoint: null\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"/register\",\n\t\t\t\tpattern: /^\\/register\\/?$/,\n\t\t\t\tparams: [],\n\t\t\t\tpage: { layouts: [0,], errors: [1,], leaf: 6 },\n\t\t\t\tendpoint: null\n\t\t\t}\n\t\t],\n\t\tprerendered_routes: new Set([]),\n\t\tmatchers: async () => {\n\t\t\t\n\t\t\treturn { };\n\t\t},\n\t\tserver_assets: {}\n\t}\n}\n})();\n\nexport const prerendered = new Set([]);\n\nexport const base = \"\";"],"names":[],"mappings":"AAAY,MAAC,QAAQ,GAAG,CAAC,MAAM;AAC/B,SAAS,MAAM,CAAC,EAAE,EAAE;AACpB,CAAC,IAAI,KAAK;AACV,CAAC,OAAO,MAAM,KAAK,MAAM,KAAK,GAAG,EAAE,EAAE,CAAC;AACtC;;AAEA,OAAO;AACP,CAAC,MAAM,EAAE,MAAM;AACf,CAAC,OAAO,EAAE,MAAM;AAChB,CAAC,MAAM,EAAE,IAAI,GAAG,CAAC,CAAC,kBAAkB,CAAC,iBAAiB,CAAC,mBAAmB,CAAC,iBAAiB,CAAC,YAAY,CAAC,CAAC;AAC3G,CAAC,SAAS,EAAE,CAAC,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,UAAU,CAAC;AACtD,CAAC,CAAC,EAAE;AACJ,EAAE,MAAM,EAAE,CAAC,KAAK,CAAC,wCAAwC,CAAC,GAAG,CAAC,sCAAsC,CAAC,OAAO,CAAC,CAAC,wCAAwC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,sCAAsC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,CAAC,WAAW,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAAC,KAAK,CAAC;AACjoB,EAAE,KAAK,EAAE;AACT,GAAG,MAAM,CAAC,MAAM,OAAO,wBAAc,CAAC,CAAC;AACvC,GAAG,MAAM,CAAC,MAAM,OAAO,wBAAc,CAAC,CAAC;AACvC,GAAG,MAAM,CAAC,MAAM,OAAO,wBAAc,CAAC,CAAC;AACvC,GAAG,MAAM,CAAC,MAAM,OAAO,wBAAc,CAAC,CAAC;AACvC,GAAG,MAAM,CAAC,MAAM,OAAO,wBAAc,CAAC,CAAC;AACvC,GAAG,MAAM,CAAC,MAAM,OAAO,wBAAc,CAAC,CAAC;AACvC,GAAG,MAAM,CAAC,MAAM,OAAO,wBAAc,CAAC;AACtC,GAAG;AACH,EAAE,OAAO,EAAE;AACX;AACA,GAAG;AACH,EAAE,MAAM,EAAE;AACV,GAAG;AACH,IAAI,EAAE,EAAE,iBAAiB;AACzB,IAAI,OAAO,EAAE,wBAAwB;AACrC,IAAI,MAAM,EAAE,EAAE;AACd,IAAI,IAAI,EAAE,EAAE,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE;AAClD,IAAI,QAAQ,EAAE;AACd,IAAI;AACJ,GAAG;AACH,IAAI,EAAE,EAAE,UAAU;AAClB,IAAI,OAAO,EAAE,gBAAgB;AAC7B,IAAI,MAAM,EAAE,EAAE;AACd,IAAI,IAAI,EAAE,EAAE,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE;AAClD,IAAI,QAAQ,EAAE;AACd,IAAI;AACJ,GAAG;AACH,IAAI,EAAE,EAAE,QAAQ;AAChB,IAAI,OAAO,EAAE,cAAc;AAC3B,IAAI,MAAM,EAAE,EAAE;AACd,IAAI,IAAI,EAAE,EAAE,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE;AAClD,IAAI,QAAQ,EAAE;AACd,IAAI;AACJ,GAAG;AACH,IAAI,EAAE,EAAE,SAAS;AACjB,IAAI,OAAO,EAAE,eAAe;AAC5B,IAAI,MAAM,EAAE,EAAE;AACd,IAAI,IAAI,EAAE,EAAE,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE;AAClD,IAAI,QAAQ,EAAE;AACd,IAAI;AACJ,GAAG;AACH,IAAI,EAAE,EAAE,WAAW;AACnB,IAAI,OAAO,EAAE,iBAAiB;AAC9B,IAAI,MAAM,EAAE,EAAE;AACd,IAAI,IAAI,EAAE,EAAE,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE;AAClD,IAAI,QAAQ,EAAE;AACd;AACA,GAAG;AACH,EAAE,kBAAkB,EAAE,IAAI,GAAG,CAAC,EAAE,CAAC;AACjC,EAAE,QAAQ,EAAE,YAAY;AACxB;AACA,GAAG,OAAO,IAAI;AACd,EAAE,CAAC;AACH,EAAE,aAAa,EAAE;AACjB;AACA;AACA,CAAC;;AAEW,MAAC,WAAW,GAAG,IAAI,GAAG,CAAC,EAAE;;AAEzB,MAAC,IAAI,GAAG;;;;"}
|
package/package.json
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
let passkeys = $state(data.passkeys);
|
|
25
25
|
let sessions = $state(data.sessions);
|
|
26
26
|
|
|
27
|
-
async function _editUser(data) {
|
|
27
|
+
async function _editUser(data: Record<string, FormDataEntryValue>) {
|
|
28
28
|
const result = await updateUser(user.id, data);
|
|
29
29
|
user = result;
|
|
30
30
|
}
|
package/routes/account/+page.ts
CHANGED
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
import { emailVerificationEnabled, getCurrentSession, getPasskeys, getSessions } from '@axium/client/user';
|
|
2
|
+
import type { Session, User } from '@axium/core';
|
|
2
3
|
|
|
3
4
|
export const ssr = false;
|
|
4
5
|
|
|
5
6
|
export async function load() {
|
|
6
|
-
|
|
7
|
+
let currentSession: Session & { user: User };
|
|
8
|
+
try {
|
|
9
|
+
currentSession = await getCurrentSession();
|
|
10
|
+
} catch {
|
|
7
11
|
window.location.href = '/login?after=/account';
|
|
8
|
-
|
|
9
|
-
}
|
|
12
|
+
throw 'Missing session, redirecting to login';
|
|
13
|
+
}
|
|
10
14
|
|
|
11
15
|
const user = currentSession.user;
|
|
12
16
|
|
|
@@ -36,13 +36,13 @@
|
|
|
36
36
|
footer?(): any;
|
|
37
37
|
} = $props();
|
|
38
38
|
|
|
39
|
-
let error = $state(
|
|
39
|
+
let error = $state<string>();
|
|
40
40
|
|
|
41
41
|
$effect(() => {
|
|
42
|
-
if (pageMode) dialog
|
|
42
|
+
if (pageMode) dialog!.showModal();
|
|
43
43
|
});
|
|
44
44
|
|
|
45
|
-
function onclose(e
|
|
45
|
+
function onclose(e: MouseEvent) {
|
|
46
46
|
e.preventDefault();
|
|
47
47
|
cancel();
|
|
48
48
|
}
|
|
@@ -53,9 +53,9 @@
|
|
|
53
53
|
submit(data)
|
|
54
54
|
.then(result => {
|
|
55
55
|
if (pageMode) window.location.href = resolveRedirectAfter();
|
|
56
|
-
else dialog
|
|
56
|
+
else dialog!.close();
|
|
57
57
|
})
|
|
58
|
-
.catch((e:
|
|
58
|
+
.catch((e: any) => {
|
|
59
59
|
if (!e) error = 'An unknown error occurred';
|
|
60
60
|
else if (typeof e == 'object' && 'message' in e) error = e.message;
|
|
61
61
|
else error = e;
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
{@render submitButton()}
|
|
79
79
|
{:else}
|
|
80
80
|
<div class="actions">
|
|
81
|
-
<button type="button" onclick={() => dialog
|
|
81
|
+
<button type="button" onclick={() => dialog!.close()}>Cancel</button>
|
|
82
82
|
{@render submitButton()}
|
|
83
83
|
</div>
|
|
84
84
|
{/if}
|
package/web/lib/Login.svelte
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
let { dialog = $bindable(), fullPage = false }: { dialog?: HTMLDialogElement; fullPage?: boolean } = $props();
|
|
6
6
|
|
|
7
|
-
function submit(data) {
|
|
7
|
+
function submit(data: { email: string }) {
|
|
8
8
|
if (typeof data.email != 'string') {
|
|
9
9
|
throw 'Tried to upload a file for an email. Huh?!';
|
|
10
10
|
}
|
package/web/lib/Logout.svelte
CHANGED
package/web/lib/Upload.svelte
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { forMime } from '@axium/core/icons';
|
|
3
3
|
import Icon from './Icon.svelte';
|
|
4
4
|
|
|
5
|
-
let { files = $bindable()
|
|
5
|
+
let { files = $bindable()!, name = 'files', ...rest }: { files?: FileList; name?: string; multiple?: any; required?: any } = $props();
|
|
6
6
|
|
|
7
|
-
let input = $state<HTMLInputElement>()
|
|
7
|
+
let input = $state<HTMLInputElement>()!;
|
|
8
8
|
|
|
9
9
|
const id = 'input:' + Math.random().toString(36).slice(2);
|
|
10
10
|
</script>
|
package/web/lib/UserCard.svelte
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
href = `/users/${user.id}`,
|
|
10
10
|
you = false,
|
|
11
11
|
}: {
|
|
12
|
-
user:
|
|
12
|
+
user: Partial<User>;
|
|
13
13
|
/** If true, don't show the picture */
|
|
14
14
|
compact?: boolean;
|
|
15
15
|
/** Whether the user is viewing their own profile */
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
|
|
24
24
|
<a class={['User', self && 'self']} {href}>
|
|
25
25
|
{#if !compact}
|
|
26
|
-
<img src={getUserImage(user
|
|
26
|
+
<img src={getUserImage(user)} alt={user.name} />
|
|
27
27
|
{/if}
|
|
28
28
|
{user.name}
|
|
29
29
|
{#if self && you}
|
package/web/tsconfig.json
CHANGED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
� d3��}^�GҝJ�� ���?U�9�H��=郥c9-j��X��� D%_�V�8�������LV�.SIͥ�2:%`QY�����_X�]�Ln�эmax�&�ënsvv�I�{zz��Ϝ��8���Uޢ��J��ϚCA1reYD
|
|
2
|
-
B�~F��Q��84���l,e��
|
|
3
|
-
MI]��]�t�%�Af�i^�՞�&�m).����d��0ꢜ����.���A90I呄ò�h`"�R*J7��`ݭ-m��W��tZ�gaP��+�aU�zWL~���7vH���6CrD�� �3�1å�f�>'g����]J�\~
|
|
4
|
-
%d䢠��<��|g���4:B 逢�/vw>�9�5��t-�5
|
|
Binary file
|
|
Binary file
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{o as De,s as vt}from"./BZOe2Jko.js";import{D as me,aX as bt,ax as T,a3 as x,a5 as P,t as qe}from"./uU8Mt6Mg.js";const q=[];function Re(e,t=me){let n=null;const r=new Set;function a(o){if(bt(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=me){const l=[o,c];return r.add(l),r.size===1&&(n=t(a,s)||me),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 Ie{constructor(t,n){this.status=t,this.location=n}}class Ue extends Error{constructor(t,n,r){super(r),this.status=t,this.text=n}}new URL("sveltekit-internal://");function kt(e,t){return e==="/"||t==="ignore"?e:t==="never"?e.endsWith("/")?e.slice(0,-1):e:t==="always"&&!e.endsWith("/")?e+"/":e}function At(e){return e.split("%25").map(decodeURI).join("%25")}function St(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 Rt(...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)}function It(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.buffer}const Ut=window.fetch;window.fetch=(e,t)=>((e instanceof Request?e.method:t?.method||"GET")!=="GET"&&H.delete(Le(e)),Ut(e,t));const H=new Map;function Lt(e,t){const n=Le(e,t),r=document.querySelector(n);if(r?.textContent){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=It(a)),Promise.resolve(new Response(a,s))}return window.fetch(e,t)}function Tt(e,t,n){if(H.size>0){const r=Le(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 Le(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="${Rt(...a)}"]`}return r}const xt=/^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/;function Pt(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(m=>parseInt(m,16))));const d=xt.exec(c),[,h,u,f,p]=d;return t.push({name:f,matcher:p,optional:!!h,rest:!!u,chained:u?l===1&&i[0]==="":!1}),u?"([^]*?)":h?"([^/]*)?":"([^/]+?)"}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],h=a[o+1];d&&!d.rest&&d.optional&&h&&c.chained&&(i=0),!d&&!h&&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:h,params:u}=Pt(o),f={id:o,exec:p=>{const m=h.exec(p);if(m)return Nt(m,u,r)},errors:[1,...d||[]].map(p=>e[p]),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 U=globalThis.__sveltekit_rc9ajb?.base??"",$t=globalThis.__sveltekit_rc9ajb?.assets??U,Dt="1754688841709",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 En(e){}function Me(e){const t=Vt(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 Ft="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function Vt(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|=Ft.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 Mt=-1,Gt=-2,Ht=-3,Kt=-4,Wt=-5,Yt=-6;function zt(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===Mt)return;if(s===Ht)return NaN;if(s===Kt)return 1/0;if(s===Wt)return-1/0;if(s===Yt)return-0;if(i)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 h=new Map;r[s]=h;for(let f=1;f<o.length;f+=2)h.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],p=o[1],m=Me(p),_=new f(m);r[s]=_;break}case"ArrayBuffer":{const f=o[1],p=Me(f);r[s]=p;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!==Gt&&(c[l]=a(d))}}else{const c={};r[s]=c;for(const l in o){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 Jt=new Set([...at]);[...Jt];function Xt(e){return e.filter(t=>t!=null)}const Zt="x-sveltekit-invalidated",Qt="x-sveltekit-trailing-slash";function ne(e){return e instanceof le||e instanceof Ue?e.status:500}function en(e){return e instanceof Ue?e.text:"Internal Error"}let S,J,ve;const tn=De.toString().includes("$$")||/function \w+\(\) \{\}/.test(De.toString());tn?(S={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL("https://example.com")},J={current:null},ve={current:!1}):(S=new class{#e=T({});get data(){return x(this.#e)}set data(t){P(this.#e,t)}#t=T(null);get form(){return x(this.#t)}set form(t){P(this.#t,t)}#n=T(null);get error(){return x(this.#n)}set error(t){P(this.#n,t)}#r=T({});get params(){return x(this.#r)}set params(t){P(this.#r,t)}#a=T({id:null});get route(){return x(this.#a)}set route(t){P(this.#a,t)}#o=T({});get state(){return x(this.#o)}set state(t){P(this.#o,t)}#s=T(-1);get status(){return x(this.#s)}set status(t){P(this.#s,t)}#i=T(new URL("https://example.com"));get url(){return x(this.#i)}set url(t){P(this.#i,t)}},J=new class{#e=T(null);get current(){return x(this.#e)}set current(t){P(this.#e,t)}},ve=new class{#e=T(!1);get current(){return x(this.#e)}set current(t){P(this.#e,t)}},rt.v=()=>ve.current=!0);function nn(e){Object.assign(S,e)}const rn="/__data.json",an=".html__data.json";function on(e){return e.endsWith(".html")?e.replace(/\.html$/,an):e.replace(/\/$/,"")+rn}const{tick:sn}=vt,cn=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 Te(e){D[e]=ue()}function ln(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 M(e){return location.href=e.href,new Promise(()=>{})}async function ot(){if("serviceWorker"in navigator){const e=await navigator.serviceWorker.getRegistration(U||"/");e&&await e.update()}}function Ge(){}let xe,Ae,re,C,Se,v;globalThis.__sveltekit_rc9ajb.data;const ae=[],oe=[];let O=null;const ee=new Map,st=new Set,fn=new Set,K=new Set;let w={branch:[],error:null,url:null},Pe=!1,se=!1,He=!0,Z=!1,G=!1,it=!1,Ce=!1,ct,k,I,$;const W=new Set,Ke=new Map;async function Ln(e,t,n){document.URL!==location.href&&(location.href=location.href),v=e,await e.hooks.init?.(),xe=jt(e),C=document.documentElement,Se=t,Ae=e.nodes[0],re=e.nodes[1],Ae(),re(),k=history.state?.[F],I=history.state?.[z],k||(k=I=Date.now(),history.replaceState({...history.state,[F]:k,[z]:I},""));const r=D[k];function a(){r&&(history.scrollRestoration="manual",scrollTo(r.x,r.y))}n?(a(),await vn(Se,n)):(await Y({type:"enter",url:et(v.hash?kn(new URL(location.href)):location.href),replace_state:!0}),a()),wn()}function un(){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 We(){Te(k),Be(Ze,D),lt(I),Be(Xe,X)}async function ut(e,t,n,r){let a;const s=await Y({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=[...Ke.keys()]),t.invalidate&&t.invalidate.forEach(yn)}});return t.invalidateAll&&qe().then(qe).then(()=>{Ke.forEach(({resource:i},o)=>{a?.includes(o)&&i.refresh?.()})}),s}async function dn(e){if(e.id!==O?.id){const t={};W.add(t),O={id:e.id,token:t,promise:pt({...e,preload:t}).then(n=>(W.delete(t),n.type==="loaded"&&n.state.error&&(O=null),n))}}return O.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 dt(e,t,n){w=e.state;const r=document.querySelector("style[data-sveltekit]");if(r&&r.remove(),Object.assign(S,e.props.page),ct=new v.root({target:t,props:{...e.props,stores:N,components:oe},hydrate:n,sync:!1}),ft(I),n){const a={from:null,to:{params:w.params,route:{id:w.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(U&&(e.pathname===U||e.pathname===U+"/"))o="always";else for(const f of n)f?.slash!==void 0&&(o=f.slash);e.pathname=kt(e.pathname,o),e.search=e.search;const c={type:"loaded",state:{url:e,params:t,branch:n,error:a,route:s},props:{constructors:Xt(n).map(f=>f.node.component),page:$e(S)}};i!==void 0&&(c.props.form=i);let l={},d=!S,h=0;for(let f=0;f<Math.max(n.length,w.branch.length);f+=1){const p=n[f],m=w.branch[f];p?.data!==m?.data&&(d=!0),p&&(l={...l,...p.data},d&&(c.props[`data_${h}`]=l),h+=1)}return(!w.url||e.href!==w.url.href||w.error!==a||i!==void 0&&i!==S.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:S.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:p}=new URL(f,n);c.dependencies.add(p)}};const h={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)},v.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:p,promise:m}=ht(u,f,n);return o&&d(p.href),m},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,h)??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 ht(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?Tt(r,a.href,t):Lt(r,t);return{resolved:a,promise:s}}function Ye(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]!==w.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 hn(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(S),constructors:[]}}}async function pt({id:e,invalidating:t,url:n,params:r,route:a,preload:s}){if(O?.id===e)return W.delete(O.token),O.promise;const{errors:i,layouts:o,leaf:c}=a,l=[...o,c];i.forEach(g=>g?.().catch(()=>{})),l.forEach(g=>g?.[1]().catch(()=>{}));let d=null;const h=w.url?e!==ce(w.url):!1,u=w.route?a.id!==w.route.id:!1,f=hn(w.url,n);let p=!1;const m=l.map((g,y)=>{const b=w.branch[y],A=!!g?.[0]&&(b?.loader!==g[1]||Ye(p,u,h,f,b.server?.uses,r));return A&&(p=!0),A});if(m.some(Boolean)){try{d=await mt(n,m)}catch(g){const y=await V(g,{url:n,params:r,route:{id:e}});return W.has(s)?ze({error:y,url:n,params:r,route:a}):he({status:ne(g),error:y,url:n,route:a})}if(d.type==="redirect")return d}const _=d?.nodes;let R=!1;const E=l.map(async(g,y)=>{if(!g)return;const b=w.branch[y],A=_?.[y];if((!A||A.type==="skip")&&g[1]===b?.loader&&!Ye(R,u,h,f,b.universal?.uses,r))return b;if(R=!0,A?.type==="error")throw A;return Oe({loader:g[1],url:n,params:r,route:a,parent:async()=>{const ge={};for(let _e=0;_e<y;_e+=1)Object.assign(ge,(await E[_e])?.data);return ge},server_data_node:Ne(A===void 0&&g[0]?{type:"skip"}:A??null,g[0]?b?.server:void 0)})});for(const g of E)g.catch(()=>{});const L=[];for(let g=0;g<l.length;g+=1)if(l[g])try{L.push(await E[g])}catch(y){if(y instanceof Ie)return{type:"redirect",location:y.location};if(W.has(s))return ze({error:await V(y,{params:r,url:n,route:{id:a.id}}),url:n,params:r,route:a});let b=ne(y),A;if(_?.includes(y))b=y.status??b,A=y.error;else if(y instanceof le)A=y.body;else{if(await N.updated.check())return await ot(),await M(n);A=await V(y,{params:r,url:n,route:{id:a.id}})}const Q=await pn(g,L,i);return Q?ie({url:n,params:r,branch:L.slice(0,Q.idx).concat(Q.node),status:b,error:A,route:a}):await _t(n,{id:a.id},A,b)}else L.push(void 0);return ie({url:n,params:r,branch:L,status:200,error:null,route:a,form:t?void 0:null})}async function pn(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(v.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||Pe)&&await M(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 Ie)return ut(new URL(o.location,location.href),{},0);throw o}}async function gn(e){const t=e.href;if(ee.has(t))return ee.get(t);let n;try{const r=(async()=>{let a=await v.hooks.reroute({url:new URL(e),fetch:async(s,i)=>ht(s,i,e).promise})??e;if(typeof a=="string"){const s=new URL(e);v.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,U,v.hash)){const n=await gn(e);if(!n)return;const r=_n(n);for(const a of xe){const s=a.exec(r);if(s)return{id:ce(e),invalidating:t,route:a,params:St(s),url:e}}}}function _n(e){return At(v.hash?e.hash.replace(/^#/,"").replace(/[?#].+/,""):e.pathname.slice(U.length))||"/"}function ce(e){return(v.hash?e.hash.replace(/^#/,""):e.pathname)+e.search}function gt({url:e,type:t,intent:n,delta:r}){let a=!1;const s=je(w,n,e,t);r!==void 0&&(s.navigation.delta=r);const i={...s.navigation,cancel:()=>{a=!0,s.reject(new Error("navigation cancelled"))}};return Z||st.forEach(o=>o(i)),a?null:s}async function Y({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}){const h=$;$=c;const u=await pe(t,!1),f=e==="enter"?je(w,u,t,e):gt({url:t,type:e,delta:n?.delta,intent:u});if(!f){d(),$===c&&($=h);return}const p=k,m=I;l(),Z=!0,se&&f.navigation.type!=="enter"&&N.navigating.set(J.current=f.navigation);let _=u&&await pt(u);if(!_){if(de(t,U,v.hash))return await M(t);_=await _t(t,{id:null},await V(new Ue(404,"Not Found",`Not found: ${t.pathname}`),{url:t,params:{},route:{id:null}}),404)}if(t=u?.url||t,$!==c)return f.reject(new Error("navigation aborted")),!1;if(_.type==="redirect")if(o>=20)_=await he({status:500,error:await V(new Error("Redirect loop"),{url:t,params:{},route:{id:null}}),url:t,route:{id:null}});else return await ut(new URL(_.location,t).href,{},o+1,c),!1;else _.props.page.status>=400&&await N.updated.check()&&(await ot(),await M(t));if(un(),Te(p),lt(m),_.props.page.url.pathname!==t.pathname&&(t.pathname=_.props.page.url.pathname),i=n?n.state:i,!n){const g=s?0:1,y={[F]:k+=g,[z]:I+=g,[Qe]:i};(s?history.replaceState:history.pushState).call(history,y,"",t),s||ln(k,I)}if(O=null,_.props.page.state=i,se){const g=(await Promise.all(Array.from(fn,y=>y(f.navigation)))).filter(y=>typeof y=="function");if(g.length>0){let y=function(){g.forEach(b=>{K.delete(b)})};g.push(y),g.forEach(b=>{K.add(b)})}w=_.state,_.props.page&&(_.props.page.url=t),ct.$set(_.props),nn(_.props.page),it=!0}else dt(_,Se,!1);const{activeElement:R}=document;await sn();const E=n?n.scroll:a?ue():null;if(He){const g=t.hash&&document.getElementById(wt(t));E?scrollTo(E.x,E.y):g?g.scrollIntoView():scrollTo(0,0)}const L=document.activeElement!==R&&document.activeElement!==document.body;!r&&!L&&bn(t),He=!0,_.props.page&&Object.assign(S,_.props.page),Z=!1,e==="popstate"&&ft(I),f.fulfil(void 0),K.forEach(g=>g(f.navigation)),N.navigating.set(J.current=null)}async function _t(e,t,n,r){return e.origin===fe&&e.pathname===location.pathname&&!Pe?await he({status:r,error:n,url:e,route:t}):await M(e)}function mn(){let e,t,n;C.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)}C.addEventListener("mousedown",r),C.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,C),d=l===t&&c>=n;if(!l||d)return;const{url:h,external:u,download:f}=ke(l,U,v.hash);if(u||f)return;const p=te(l),m=h&&ce(w.url)===ce(h);if(!(p.reload||m))if(c<=p.preload_data){t=l,n=j.tap;const _=await pe(h,!1);if(!_)return;dn(_)}else c<=p.preload_code&&(t=l,n=c,be(h))}function i(){a.disconnect();for(const o of C.querySelectorAll("a")){const{url:c,external:l,download:d}=ke(o,U,v.hash);if(l||d)continue;const h=te(o);h.reload||(h.preload_code===j.viewport&&a.observe(o),h.preload_code===j.eager&&be(c))}}K.add(i),i()}function V(e,t){if(e instanceof le)return e.body;const n=ne(e),r=en(e);return v.hooks.handleError({error:e,event:t,status:n,message:r})??{message:r}}function yn(e){if(typeof e=="function")ae.push(e);else{const{href:t}=new URL(e,location.href);ae.push(n=>n.href===t)}}function wn(){history.scrollRestoration="manual",addEventListener("beforeunload",t=>{let n=!1;if(We(),!Z){const r=je(w,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"&&We()}),navigator.connection?.saveData||mn(),C.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],C);if(!n)return;const{url:r,external:a,target:s,download:i}=ke(n,U,v.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]=(v.hash?r.hash.replace(/^#/,""):r.href).split("#"),h=l===ye(location);if(a||o.reload&&(!h||!d)){gt({url:r,type:"link"})?Z=!0:t.preventDefault();return}if(d!==void 0&&h){const[,u]=w.url.href.split("#");if(u===d){if(t.preventDefault(),d===""||d==="top"&&n.ownerDocument.getElementById("top")===null)window.scrollTo({top:0});else{const f=n.ownerDocument.getElementById(decodeURIComponent(d));f&&(f.scrollIntoView(),f.focus())}return}if(G=!0,Te(k),e(r),!o.replace_state)return;G=!1}t.preventDefault(),await new Promise(u=>{requestAnimationFrame(()=>{setTimeout(u,0)}),setTimeout(u,100)}),await Y({type:"link",url:r,keepfocus:o.keepfocus,noscroll:o.noscroll,replace_state:o.replace_state??r.href===location.href})}),C.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,U,!1))return;const o=t.target,c=te(o);if(c.reload)return;t.preventDefault(),t.stopPropagation();const l=new FormData(o),d=r?.getAttribute("name");d&&l.append(d,r?.getAttribute("value")??""),i.search=new URLSearchParams(l).toString(),Y({type:"form",url:i,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??i.href===location.href})}),addEventListener("popstate",async t=>{if(!Ee){if(t.state?.[F]){const n=t.state[F];if($={},n===k)return;const r=D[n],a=t.state[Qe]??{},s=new URL(t.state[qt]??location.href),i=t.state[z],o=w.url?ye(location)===ye(w.url):!1;if(i===I&&(it||o)){a!==S.state&&(S.state=a),e(s),D[k]=ue(),r&&scrollTo(r.x,r.y),k=n;return}const l=n-k;await Y({type:"popstate",url:s,popped:{state:a,scroll:r,delta:l},accept:()=>{k=n,I=i},block:()=>{history.go(-l)},nav_token:$})}else if(!G){const n=new URL(location.href);e(n),v.hash&&location.reload()}}}),addEventListener("hashchange",()=>{G&&(G=!1,history.replaceState({...history.state,[F]:++k,[z]:I},"",location.href))});for(const t of document.querySelectorAll("link"))cn.has(t.rel)&&(t.href=t.href);addEventListener("pageshow",t=>{t.persisted&&N.navigating.set(J.current=null)});function e(t){w.url=S.url=t,N.page.set($e(S)),N.page.notify()}}async function vn(e,{status:t=200,error:n,node_ids:r,params:a,route:s,server_route:i,data:o,form:c}){Pe=!0;const l=new URL(location.href);let d;({params:a={},route:s={id:null}}=await pe(l,!1)||{}),d=xe.find(({id:f})=>f===s.id);let h,u=!0;try{const f=r.map(async(m,_)=>{const R=o[_];return R?.uses&&(R.uses=yt(R.uses)),Oe({loader:v.nodes[m],url:l,params:a,route:s,parent:async()=>{const E={};for(let L=0;L<_;L+=1)Object.assign(E,(await f[L]).data);return E},server_data_node:Ne(R)})}),p=await Promise.all(f);if(d){const m=d.layouts;for(let _=0;_<m.length;_++)m[_]||p.splice(_,0,void 0)}h=ie({url:l,params:a,branch:p,status:t,error:n,form:c,route:d??null})}catch(f){if(f instanceof Ie){await M(new URL(f.location,location.href));return}h=await he({status:ne(f),error:await V(f,{url:l,params:a,route:s}),url:l,route:s}),e.textContent="",u=!1}h.props.page&&(h.props.page.state={}),dt(h,e,u)}async function mt(e,t){const n=new URL(e);n.pathname=on(e.pathname),e.pathname.endsWith("/")&&n.searchParams.append(Qt,"1"),n.searchParams.append(Zt,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(),c=new TextDecoder;function l(h){return zt(h,{...v.decoders,Promise:u=>new Promise((f,p)=>{i.set(u,{fulfil:f,reject:p})})})}let d="";for(;;){const{done:h,value:u}=await o.read();if(h&&!d)break;for(d+=!u&&d?`
|
|
2
|
-
`:c.decode(u,{stream:!0});;){const f=d.indexOf(`
|
|
3
|
-
`);if(f===-1)break;const p=JSON.parse(d.slice(0,f));if(d=d.slice(f+1),p.type==="redirect")return s(p);if(p.type==="data")p.nodes?.forEach(m=>{m?.type==="data"&&(m.uses=yt(m.uses),m.data=l(m.data))}),s(p);else if(p.type==="chunk"){const{id:m,data:_,error:R}=p,E=i.get(m);i.delete(m),R?E.reject(l(R)):E.fulfil(l(_))}}}})}function yt(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 Ee=!1;function bn(e){const t=document.querySelector("[autofocus]");if(t)t.focus();else{const n=wt(e);if(n&&document.getElementById(n)){const{x:a,y:s}=ue();setTimeout(()=>{const i=history.state;Ee=!0,location.replace(`#${n}`),v.hash&&location.replace(e.hash),history.replaceState(i,"",e.hash),scrollTo(a,s),Ee=!1})}else{const a=document.body,s=a.getAttribute("tabindex");a.tabIndex=-1,a.focus({preventScroll:!0,focusVisible:!1}),s!==null?a.setAttribute("tabindex",s):a.removeAttribute("tabindex")}const r=getSelection();if(r&&r.type!=="None"){const a=[];for(let s=0;s<r.rangeCount;s+=1)a.push(r.getRangeAt(s));setTimeout(()=>{if(r.rangeCount===a.length){for(let s=0;s<r.rangeCount;s+=1){const i=a[s],o=r.getRangeAt(s);if(i.commonAncestorContainer!==o.commonAncestorContainer||i.startContainer!==o.startContainer||i.endContainer!==o.endContainer||i.startOffset!==o.startOffset||i.endOffset!==o.endOffset)return}r.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 kn(e){const t=new URL(e);return t.hash=decodeURIComponent(e.hash),t}function wt(e){let t;if(v.hash){const[,,n]=e.hash.split("#",3);t=n??""}else t=e.hash.slice(1);return decodeURIComponent(t)}export{Ln as a,En as l,S as p,N as s};
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{l as o,a as r}from"../chunks/DD-EHy6T.js";export{o as load_css,r as start};
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import{g as Et,e as Tt,c as Ct,d as $t,a as qe,f as At,s as fe,F as Q,h as et,i as St,j as Lt,k as Le,m as Pe,n as Pt,o as Ot,u as Dt,p as It,q as Nt,t as Mt,v as Ft}from"../chunks/CCvjz3hN.js";import"../chunks/DsnmJJEf.js";import{Y as Ut,x as j,P as Fe,H as Rt,w as zt,y as Vt,a3 as v,a9 as vt,M as qt,N as Ht,O as tt,Q as Oe,G as ve,ak as Bt,ap as Wt,C as Ue,T as Yt,S as Gt,aA as Kt,R as Jt,av as Xt,aB as rt,at as ut,i as Qt,aC as Zt,V as dt,W as jt,aD as er,aE as tr,aF as De,F as ft,am as rr,aG as ar,as as sr,aH as nr,a6 as pt,E as ir,aI as or,aJ as lr,X as cr,h as vr,aK as ur,ac as dr,Z as fr,D as se,q as He,aL as pr,J as H,a as S,r as Be,K as k,L as m,ay as ee,aM as _r,p as P,ax as Re,a5 as be,a4 as ue,v as b,$ as hr,I as mr,aN as gr,c as br,f as Ie}from"../chunks/uU8Mt6Mg.js";import{b as wr,w as _t,d as pe,a as yr,s as q}from"../chunks/BK1-xGGj.js";import{r as kr,p as xr,i as Z}from"../chunks/DGhIdZ_j.js";import{L as Er}from"../chunks/BAOCrSx4.js";function de(r,e){j&&Fe(Rt(r)),Ut(()=>{var t=e();for(var u in t){var s=t[u];s?r.style.setProperty(u,s):r.style.removeProperty(u)}})}function at(r,e){return e}function Tr(r,e,t){for(var u=r.items,s=[],w=e.length,g=0;g<w;g++)ar(e[g].e,s,!0);var d=w>0&&s.length===0&&t!==null;if(d){var l=t.parentNode;sr(l),l.append(t),u.clear(),B(r,e[0].prev,e[w-1].next)}nr(s,()=>{for(var a=0;a<w;a++){var n=e[a];d||(u.delete(n.k),B(r,n.prev,n.next)),ft(n.e,!d)}})}function st(r,e,t,u,s,w=null){var g=r,d={flags:e,items:new Map,first:null};j&&Vt();var l=null,a=!1,n=new Map,_=vt(()=>{var i=t();return Qt(i)?i:i==null?[]:ut(i)}),f,y;function c(){Cr(y,f,d,n,g,s,e,u,t),w!==null&&(f.length===0?l?dt(l):l=Ue(()=>w(g)):l!==null&&jt(l,()=>{l=null}))}zt(()=>{y??=pt,f=v(_);var i=f.length;if(a&&i===0)return;a=i===0;let o=!1;if(j){var A=qt(g)===Ht;A!==(i===0)&&(g=tt(),Fe(g),Oe(!1),o=!0)}if(j){for(var T=null,p,C=0;C<i;C++){if(ve.nodeType===Bt&&ve.data===Wt){g=ve,o=!0,Oe(!1);break}var $=f[C],O=u($,C);p=ze(ve,d,T,null,$,O,C,s,e,t),d.items.set(O,p),T=p}i>0&&Fe(tt())}if(j)i===0&&w&&(l=Ue(()=>w(g)));else if(Yt()){var R=new Set,U=Gt;for(C=0;C<i;C+=1){$=f[C],O=u($,C);var D=d.items.get(O)??n.get(O);D?ht(D,$,C):(p=ze(null,d,null,null,$,O,C,s,e,t,!0),n.set(O,p)),R.add(O)}for(const[te,J]of d.items)R.has(te)||U.skipped_effects.add(J.e);U.add_callback(c)}else c();o&&Oe(!0),v(_)}),j&&(g=ve)}function Cr(r,e,t,u,s,w,g,d,l){var a=e.length,n=t.items,_=t.first,f=_,y,c=null,i=[],o=[],A,T,p,C;for(C=0;C<a;C+=1){if(A=e[C],T=d(A,C),p=n.get(T),p===void 0){var $=u.get(T);if($!==void 0){u.delete(T),n.set(T,$);var O=c?c.next:f;B(t,c,$),B(t,$,O),Ne($,O,s),c=$}else{var R=f?f.e.nodes_start:s;c=ze(R,t,c,c===null?t.first:c.next,A,T,C,w,g,l)}n.set(T,c),i=[],o=[],f=c.next;continue}if(ht(p,A,C),(p.e.f&De)!==0&&dt(p.e),p!==f){if(y!==void 0&&y.has(p)){if(i.length<o.length){var U=o[0],D;c=U.prev;var te=i[0],J=i[i.length-1];for(D=0;D<i.length;D+=1)Ne(i[D],U,s);for(D=0;D<o.length;D+=1)y.delete(o[D]);B(t,te.prev,J.next),B(t,c,te),B(t,J,U),f=U,c=J,C-=1,i=[],o=[]}else y.delete(p),Ne(p,f,s),B(t,p.prev,p.next),B(t,p,c===null?t.first:c.next),B(t,c,p),c=p;continue}for(i=[],o=[];f!==null&&f.k!==T;)(f.e.f&De)===0&&(y??=new Set).add(f),o.push(f),f=f.next;if(f===null)continue;p=f}i.push(p),c=p,f=p.next}if(f!==null||y!==void 0){for(var ne=y===void 0?[]:ut(y);f!==null;)(f.e.f&De)===0&&ne.push(f),f=f.next;var _e=ne.length;if(_e>0){var ie=null;Tr(t,ne,ie)}}r.first=t.first&&t.first.e,r.last=c&&c.e;for(var oe of u.values())ft(oe.e);u.clear()}function ht(r,e,t,u){Kt(r.v,e),r.i=t}function ze(r,e,t,u,s,w,g,d,l,a,n){var _=(l&er)!==0,f=(l&tr)===0,y=_?f?Xt(s,!1,!1):rt(s):s,c=(l&Zt)===0?g:rt(g),i={i:c,v:y,k:w,a:null,e:null,prev:t,next:u};try{if(r===null){var o=document.createDocumentFragment();o.append(r=Jt())}return i.e=Ue(()=>d(r,y,c,a),j),i.e.prev=t&&t.e,i.e.next=u&&u.e,t===null?n||(e.first=i):(t.next=i,t.e.next=i.e),u!==null&&(u.prev=i,u.e.prev=i.e),i}finally{}}function Ne(r,e,t){for(var u=r.next?r.next.e.nodes_start:t,s=e?e.e.nodes_start:t,w=r.e.nodes_start;w!==null&&w!==u;){var g=rr(w);s.before(w),w=g}}function B(r,e,t){e===null?r.first=t:(e.next=t,e.e.next=t&&t.e),t!==null&&(t.prev=e,t.e.prev=e&&e.e)}const $r=()=>performance.now(),Y={tick:r=>requestAnimationFrame(r),now:()=>$r(),tasks:new Set};function mt(){const r=Y.now();Y.tasks.forEach(e=>{e.c(r)||(Y.tasks.delete(e),e.f())}),Y.tasks.size!==0&&Y.tick(mt)}function Ar(r){let e;return Y.tasks.size===0&&Y.tick(mt),{promise:new Promise(t=>{Y.tasks.add(e={c:r,f:t})}),abort(){Y.tasks.delete(e)}}}function ge(r,e){_t(()=>{r.dispatchEvent(new CustomEvent(e))})}function Sr(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(t=>t[0].toUpperCase()+t.slice(1)).join("")}function nt(r){const e={},t=r.split(";");for(const u of t){const[s,w]=u.split(":");if(!s||w===void 0)break;const g=Sr(s.trim());e[g]=w.trim()}return e}const Lr=r=>r;function it(r,e,t,u){var s=(r&ur)!==0,w="both",g,d=e.inert,l=e.style.overflow,a,n;function _(){return _t(()=>g??=t()(e,u?.()??{},{direction:w}))}var f={is_global:s,in(){e.inert=d,ge(e,"introstart"),a=Ve(e,_(),n,1,()=>{ge(e,"introend"),a?.abort(),a=g=void 0,e.style.overflow=l})},out(o){e.inert=!0,ge(e,"outrostart"),n=Ve(e,_(),a,0,()=>{ge(e,"outroend"),o?.()})},stop:()=>{a?.abort(),n?.abort()}},y=pt;if((y.transitions??=[]).push(f),wr){var c=s;if(!c){for(var i=y.parent;i&&(i.f&ir)!==0;)for(;(i=i.parent)&&(i.f&or)===0;);c=!i||(i.f&lr)!==0}c&&cr(()=>{vr(()=>f.in())})}}function Ve(r,e,t,u,s){var w=u===1;if(dr(e)){var g,d=!1;return fr(()=>{if(!d){var o=e({direction:w?"in":"out"});g=Ve(r,o,t,u,s)}}),{abort:()=>{d=!0,g?.abort()},deactivate:()=>g.deactivate(),reset:()=>g.reset(),t:()=>g.t()}}if(t?.deactivate(),!e?.duration)return s(),{abort:se,deactivate:se,reset:se,t:()=>u};const{delay:l=0,css:a,tick:n,easing:_=Lr}=e;var f=[];if(w&&t===void 0&&(n&&n(0,1),a)){var y=nt(a(0,1));f.push(y,y)}var c=()=>1-u,i=r.animate(f,{duration:l,fill:"forwards"});return i.onfinish=()=>{i.cancel();var o=t?.t()??1-u;t?.abort();var A=u-o,T=e.duration*Math.abs(A),p=[];if(T>0){var C=!1;if(a)for(var $=Math.ceil(T/16.666666666666668),O=0;O<=$;O+=1){var R=o+A*_(O/$),U=nt(a(R,1-R));p.push(U),C||=U.overflow==="hidden"}C&&(r.style.overflow="hidden"),c=()=>{var D=i.currentTime;return o+A*_(D/T)},n&&Ar(()=>{if(i.playState!=="running")return!1;var D=c();return n(D,1-D),!0})}i=r.animate(p,{duration:T,fill:"forwards"}),i.onfinish=()=>{c=()=>u,n?.(u,1-u),s()}},{abort:()=>{i&&(i.cancel(),i.effect=null,i.onfinish=se)},deactivate:()=>{s=se},reset:()=>{u===0&&n?.(1,0)},t:()=>c()}}const Pr=!1;async function Or(){const r=await Et().catch(()=>(window.location.href="/login?after=/account",null)),e=r.user;return{currentSession:r,user:e,passkeys:await $t(e.id),sessions:await Ct(e.id),canVerify:await Tt(e.id)}}const ya=Object.freeze(Object.defineProperty({__proto__:null,load:Or,ssr:Pr},Symbol.toStringTag,{value:"Module"})),Dr=r=>r;function ot(r,{delay:e=0,duration:t=400,easing:u=Dr}={}){const s=+getComputedStyle(r).opacity;return{delay:e,duration:t,easing:u,css:w=>`opacity: ${w*s}`}}var Me={exports:{}},lt;function Ir(){return lt||(lt=1,function(r){var e=Object.prototype.hasOwnProperty,t="~";function u(){}Object.create&&(u.prototype=Object.create(null),new u().__proto__||(t=!1));function s(l,a,n){this.fn=l,this.context=a,this.once=n||!1}function w(l,a,n,_,f){if(typeof n!="function")throw new TypeError("The listener must be a function");var y=new s(n,_||l,f),c=t?t+a:a;return l._events[c]?l._events[c].fn?l._events[c]=[l._events[c],y]:l._events[c].push(y):(l._events[c]=y,l._eventsCount++),l}function g(l,a){--l._eventsCount===0?l._events=new u:delete l._events[a]}function d(){this._events=new u,this._eventsCount=0}d.prototype.eventNames=function(){var a=[],n,_;if(this._eventsCount===0)return a;for(_ in n=this._events)e.call(n,_)&&a.push(t?_.slice(1):_);return Object.getOwnPropertySymbols?a.concat(Object.getOwnPropertySymbols(n)):a},d.prototype.listeners=function(a){var n=t?t+a:a,_=this._events[n];if(!_)return[];if(_.fn)return[_.fn];for(var f=0,y=_.length,c=new Array(y);f<y;f++)c[f]=_[f].fn;return c},d.prototype.listenerCount=function(a){var n=t?t+a:a,_=this._events[n];return _?_.fn?1:_.length:0},d.prototype.emit=function(a,n,_,f,y,c){var i=t?t+a:a;if(!this._events[i])return!1;var o=this._events[i],A=arguments.length,T,p;if(o.fn){switch(o.once&&this.removeListener(a,o.fn,void 0,!0),A){case 1:return o.fn.call(o.context),!0;case 2:return o.fn.call(o.context,n),!0;case 3:return o.fn.call(o.context,n,_),!0;case 4:return o.fn.call(o.context,n,_,f),!0;case 5:return o.fn.call(o.context,n,_,f,y),!0;case 6:return o.fn.call(o.context,n,_,f,y,c),!0}for(p=1,T=new Array(A-1);p<A;p++)T[p-1]=arguments[p];o.fn.apply(o.context,T)}else{var C=o.length,$;for(p=0;p<C;p++)switch(o[p].once&&this.removeListener(a,o[p].fn,void 0,!0),A){case 1:o[p].fn.call(o[p].context);break;case 2:o[p].fn.call(o[p].context,n);break;case 3:o[p].fn.call(o[p].context,n,_);break;case 4:o[p].fn.call(o[p].context,n,_,f);break;default:if(!T)for($=1,T=new Array(A-1);$<A;$++)T[$-1]=arguments[$];o[p].fn.apply(o[p].context,T)}}return!0},d.prototype.on=function(a,n,_){return w(this,a,n,_,!1)},d.prototype.once=function(a,n,_){return w(this,a,n,_,!0)},d.prototype.removeListener=function(a,n,_,f){var y=t?t+a:a;if(!this._events[y])return this;if(!n)return g(this,y),this;var c=this._events[y];if(c.fn)c.fn===n&&(!f||c.once)&&(!_||c.context===_)&&g(this,y);else{for(var i=0,o=[],A=c.length;i<A;i++)(c[i].fn!==n||f&&!c[i].once||_&&c[i].context!==_)&&o.push(c[i]);o.length?this._events[y]=o.length===1?o[0]:o:g(this,y)}return this},d.prototype.removeAllListeners=function(a){var n;return a?(n=t?t+a:a,this._events[n]&&g(this,n)):(this._events=new u,this._eventsCount=0),this},d.prototype.off=d.prototype.removeListener,d.prototype.addListener=d.prototype.on,d.prefixed=t,d.EventEmitter=d,r.exports=d}(Me)),Me.exports}Ir();function Nr(r){return new Promise(e=>setTimeout(e,r))}const ct=Intl.NumberFormat("en",{notation:"compact"});ct.format.bind(ct);new TextEncoder;new TextDecoder;var Mr=pr("<svg><use></use></svg>");const Fr={hash:"svelte-ylmrta",code:"svg.svelte-ylmrta {width:var(--size, 1em);height:var(--size, 1em);display:inline-block;fill:var(--fill, #bbb);}"};function W(r,e){He(e,!0),qe(r,Fr);const t=kr(e,["$$slots","$$events","$$legacy","i"]),u=ee(()=>e.i.includes("/")?e.i.split("/"):["solid",e.i]),s=ee(()=>_r(v(u),2)),w=ee(()=>v(s)[0]),g=ee(()=>v(s)[1]),d=ee(()=>`/icons/${v(w)}.svg#${v(g)}`);var l=Mr();At(l,()=>({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",width:"1em",height:"1em",...t}),void 0,void 0,"svelte-ylmrta");var a=k(l);m(l),H(()=>fe(a,"href",v(d))),S(r,l),Be()}async function Ur(r,e,t,u){const s=new Blob([e.value],{type:t()}),w=new ClipboardItem({[t()]:s});await navigator.clipboard.write([w]),be(u,!0),await Nr(3e3),be(u,!1)}var Rr=P('<span class="svelte-g409dh"><!></span>'),zr=P('<span class="svelte-g409dh"><!></span>'),Vr=P('<button class="svelte-g409dh"><!></button>');const qr={hash:"svelte-g409dh",code:"button.svelte-g409dh {position:relative;display:inline-block;width:1em;height:1em;border:none;background:transparent;}span.svelte-g409dh {position:absolute;inset:0;}"};function Hr(r,e){He(e,!0),qe(r,qr);const t=xr(e,"type",3,"text/plain");let u=Re(!1);var s=Vr();s.__click=[Ur,e,t,u];var w=k(s);{var g=l=>{var a=Rr(),n=k(a);W(n,{i:"check"}),m(a),it(3,a,()=>ot),S(l,a)},d=l=>{var a=zr(),n=k(a);W(n,{i:"copy"}),m(a),it(3,a,()=>ot),S(l,a)};Z(w,l=>{v(u)?l(g):l(d,!1)})}m(s),S(r,s),Be()}pe(["click"]);pe(["click"]);pe(["click"]);pe(["click"]);var Br=(r,e,t)=>e[t()].showModal(),Wr=P('<button class="svelte-c74k6c"><svelte-css-wrapper style="display: contents"><!></svelte-css-wrapper></button>'),Yr=P('<div><label for="name">What do you want to be called?</label> <input name="name" type="text" required/></div>'),Gr=P("<dfn><!></dfn>"),Kr=(r,e,t)=>Ft(v(e).id).then(()=>be(t,!0)),Jr=P("<button> </button>"),Xr=P('<div><label for="email">Email Address</label> <input name="email" type="email" required/></div>'),Qr=(r,e)=>e.logout.showModal(),Zr=(r,e)=>e.delete.showModal(),jr=P("<p>Are you sure you want to delete your account?<br/>This action can't be undone.</p>"),ea=P("<p> </p>"),ta=P('<p class="subtle"><i>Unnamed</i></p>'),ra=P('<dfn title="You must have at least one passkey" class="disabled svelte-c74k6c"><svelte-css-wrapper style="display: contents"><!></svelte-css-wrapper></dfn>'),aa=P('<div><label for="name">Passkey Name</label> <input name="name" type="text"/></div>'),sa=P("<p>Are you sure you want to delete this passkey?<br/>This action can't be undone.</p>"),na=P('<div class="item passkey svelte-c74k6c"><dfn class="svelte-c74k6c"><svelte-css-wrapper style="display: contents"><!></svelte-css-wrapper></dfn> <dfn class="svelte-c74k6c"><svelte-css-wrapper style="display: contents"><!></svelte-css-wrapper></dfn> <!> <p> </p> <!> <!></div> <!> <!>',1),ia=(r,e,t)=>St(v(e).id).then(t.push.bind(t)),oa=P('<span class="current svelte-c74k6c">Current</span>'),la=P('<span class="elevated svelte-c74k6c">Elevated</span>'),ca=P("<p>Are you sure you want to log out this session?</p>"),va=P('<div class="item session svelte-c74k6c"><p> <!> <!></p> <p> </p> <p> </p> <!></div> <!>',1),ua=(r,e)=>e.logout_all.showModal(),da=P("<p>Are you sure you want to log out all sessions?</p>"),fa=P(`<div class="Account flex-content"><div id="pfp-container" class="svelte-c74k6c"><img id="pfp" alt="User profile" width="100px" height="100px" class="svelte-c74k6c"/></div> <p class="greeting svelte-c74k6c"> </p> <div class="section main svelte-c74k6c"><h3>Personal Information</h3> <div class="item info svelte-c74k6c"><p class="subtle svelte-c74k6c">Name</p> <p class="svelte-c74k6c"> </p> <!></div> <!> <div class="item info svelte-c74k6c"><p class="subtle svelte-c74k6c">Email</p> <p class="svelte-c74k6c"> <!></p> <!></div> <!> <div class="item info svelte-c74k6c"><p class="subtle svelte-c74k6c">User ID <dfn title="This is your UUID. It can't be changed."><!></dfn></p> <p class="svelte-c74k6c"> </p> <svelte-css-wrapper style="display: contents"><!></svelte-css-wrapper></div> <span><button class="signout svelte-c74k6c">Sign Out</button> <button class="danger">Delete Account</button> <!> <!></span></div> <div class="section main svelte-c74k6c"><h3>Passkeys</h3> <!> <span><button><!> Create</button></span></div> <div class="section main svelte-c74k6c"><h3>Sessions</h3> <!> <span><button class="danger">Logout All</button></span> <!></div></div>`);const pa={hash:"svelte-c74k6c",code:`#pfp-container.svelte-c74k6c {width:100px;height:100px;margin-top:3em;.MenuToggle {float:right;position:relative;top:-24px;}}#pfp.svelte-c74k6c {width:100px;height:100px;border-radius:50%;border:1px solid #8888;}.greeting.svelte-c74k6c {font-size:2em;}.signout.svelte-c74k6c {margin-top:2em;}.section.svelte-c74k6c {width:50%;padding-top:4em;
|
|
2
|
-
|
|
3
|
-
/* This is causing duplicate separators when removing sessions/passkeys
|
|
4
|
-
> div:has(+ div) {
|
|
5
|
-
border-bottom: 1px solid #8888;
|
|
6
|
-
}
|
|
7
|
-
*/}.section.svelte-c74k6c .item:where(.svelte-c74k6c) {display:grid;align-items:center;width:100%;gap:1em;text-wrap:nowrap;border-top:1px solid #8888;padding-bottom:1em;}.info.svelte-c74k6c {grid-template-columns:10em 1fr 2em;> :where(.svelte-c74k6c):first-child {margin-left:1em;}> :where(.svelte-c74k6c):nth-child(2) {text-overflow:ellipsis;overflow:hidden;}}.passkey.svelte-c74k6c {grid-template-columns:1em 1em 1fr 1fr 1em 1em;dfn:where(.svelte-c74k6c):not(.disabled) {cursor:help;}}.session.svelte-c74k6c {grid-template-columns:1fr 1fr 1fr 1em;.current:where(.svelte-c74k6c) {border-radius:2em;padding:0 0.5em;background-color:#337;}.elevated:where(.svelte-c74k6c) {border-radius:2em;padding:0 0.5em;background-color:#733;}}`};function ka(r,e){He(e,!0),qe(r,pa);const t=(x,h=se,L)=>{let I=vt(()=>gr(L?.(),"pen"));var N=Wr();N.__click=[Br,s,h],et(N,"",{},{display:"contents"});var M=k(N);de(M,()=>({"--size":"16px"})),W(M.lastChild,{get i(){return v(I)}}),m(M),m(N),S(x,N)},{canVerify:u}=e.data,s=ue({});let w=Re(!1),g=ue(e.data.currentSession),d=Re(ue(e.data.user)),l=ue(e.data.passkeys),a=ue(e.data.sessions);async function n(x){const h=await Dt(v(d).id,x);be(d,h,!0)}var _=fa();yr(x=>{hr.title="Account"});var f=k(_),y=k(f);m(f);var c=b(f,2),i=k(c);m(c);var o=b(c,2),A=b(k(o),2),T=b(k(A),2),p=k(T,!0);m(T);var C=b(T,2);t(C,()=>"edit_name"),m(A);var $=b(A,2);Q($,{submit:n,submitText:"Change",get dialog(){return s.edit_name},set dialog(x){s.edit_name=x},children:(x,h)=>{var L=Yr(),I=b(k(L),2);Le(I),m(L),H(()=>Pe(I,v(d).name||"")),S(x,L)},$$slots:{default:!0}});var O=b($,2),R=b(k(O),2),U=k(R),D=b(U);{var te=x=>{var h=Gr(),L=k(h);W(L,{i:"regular/circle-check"}),m(h),H(I=>fe(h,"title",`Email verified on ${I??""}`),[()=>v(d).emailVerified.toLocaleDateString()]),S(x,h)},J=x=>{var h=br(),L=Ie(h);{var I=N=>{var M=Jr();M.__click=[Kr,d,w];var G=k(M,!0);m(M),H(()=>q(G,v(w)?"Verification email sent":"Verify")),S(N,M)};Z(L,N=>{u&&N(I)},!0)}S(x,h)};Z(D,x=>{v(d).emailVerified?x(te):x(J,!1)})}m(R);var ne=b(R,2);t(ne,()=>"edit_email"),m(O);var _e=b(O,2);Q(_e,{submit:n,submitText:"Change",get dialog(){return s.edit_email},set dialog(x){s.edit_email=x},children:(x,h)=>{var L=Xr(),I=b(k(L),2);Le(I),m(L),H(()=>Pe(I,v(d).email||"")),S(x,L)},$$slots:{default:!0}});var ie=b(_e,2),oe=k(ie),We=b(k(oe)),gt=k(We);W(gt,{i:"regular/circle-info"}),m(We),m(oe);var we=b(oe,2),bt=k(we,!0);m(we);var ye=b(we,2);de(ye,()=>({"--size":"16px"})),Hr(ye.lastChild,{get value(){return v(d).id}}),m(ye),m(ie);var Ye=b(ie,2),Ge=k(Ye);Ge.__click=[Qr,s];var ke=b(Ge,2);ke.__click=[Zr,s],et(ke,"",{},{cursor:"pointer"});var Ke=b(ke,2);Er(Ke,{get dialog(){return s.logout},set dialog(x){s.logout=x}});var wt=b(Ke,2);Q(wt,{submit:()=>Pt(v(d).id).then(()=>window.location.href="/"),submitText:"Delete Account",submitDanger:!0,get dialog(){return s.delete},set dialog(x){s.delete=x},children:(x,h)=>{var L=jr();S(x,L)},$$slots:{default:!0}}),m(Ye),m(o);var xe=b(o,2),Je=b(k(xe),2);st(Je,17,()=>l,at,(x,h,L)=>{var I=na(),N=Ie(I),M=k(N),G=k(M);{let E=ee(()=>v(h).deviceType=="multiDevice"?"laptop-mobile":"mobile");de(G,()=>({"--size":"16px"})),W(G.lastChild,{get i(){return v(E)}}),m(G)}m(M);var re=b(M,2),le=k(re);{let E=ee(()=>v(h).backedUp?"circle-check":"circle-xmark");de(le,()=>({"--size":"16px"})),W(le.lastChild,{get i(){return v(E)}}),m(le)}m(re);var he=b(re,2);{var ce=E=>{var z=ea(),V=k(z,!0);m(z),H(()=>q(V,v(h).name)),S(E,z)},Ce=E=>{var z=ta();S(E,z)};Z(he,E=>{v(h).name?E(ce):E(Ce,!1)})}var X=b(he,2),$e=k(X);m(X);var me=b(X,2);t(me,()=>"edit_passkey#"+v(h).id);var Ae=b(me,2);{var F=E=>{t(E,()=>"delete_passkey#"+v(h).id,()=>"trash")},K=E=>{var z=ra(),V=k(z);de(V,()=>({"--fill":"#888","--size":"16px"})),W(V.lastChild,{i:"trash-slash"}),m(V),m(z),S(E,z)};Z(Ae,E=>{l.length>1?E(F):E(K,!1)})}m(N);var ae=b(N,2);Q(ae,{submit:E=>{if(typeof E.name!="string")throw"Passkey name must be a string";return v(h).name=E.name,It(v(h).id,E)},submitText:"Change",get dialog(){return s["edit_passkey#"+v(h).id]},set dialog(E){s["edit_passkey#"+v(h).id]=E},children:(E,z)=>{var V=aa(),je=b(k(V),2);Le(je),m(V),H(()=>Pe(je,v(h).name||"")),S(E,V)},$$slots:{default:!0}});var Se=b(ae,2);Q(Se,{submit:()=>Nt(v(h).id).then(()=>l.splice(l.indexOf(v(h)),1)),submitText:"Delete",submitDanger:!0,get dialog(){return s["delete_passkey#"+v(h).id]},set dialog(E){s["delete_passkey#"+v(h).id]=E},children:(E,z)=>{var V=sa();S(E,V)},$$slots:{default:!0}}),H(E=>{fe(M,"title",v(h).deviceType=="multiDevice"?"Multiple devices":"Single device"),fe(re,"title",`This passkey is ${v(h).backedUp?"":"not "}backed up`),q($e,`Created ${E??""}`)},[()=>v(h).createdAt.toLocaleString()]),S(x,I)});var Xe=b(Je,2),Ee=k(Xe);Ee.__click=[ia,d,l];var yt=k(Ee);W(yt,{i:"plus"}),mr(),m(Ee),m(Xe),m(xe);var Qe=b(xe,2),Ze=b(k(Qe),2);st(Ze,17,()=>a,at,(x,h)=>{var L=va(),I=Ie(L),N=k(I),M=k(N),G=b(M);{var re=F=>{var K=oa();S(F,K)};Z(G,F=>{v(h).id==g.id&&F(re)})}var le=b(G,2);{var he=F=>{var K=la();S(F,K)};Z(le,F=>{v(h).elevated&&F(he)})}m(N);var ce=b(N,2),Ce=k(ce);m(ce);var X=b(ce,2),$e=k(X);m(X);var me=b(X,2);t(me,()=>"logout#"+v(h).id,()=>"right-from-bracket"),m(I);var Ae=b(I,2);Q(Ae,{submit:async()=>{await Mt(v(d).id,v(h).id),s["logout#"+v(h).id].remove(),a.splice(a.indexOf(v(h)),1),v(h).id==g.id&&(window.location.href="/")},submitText:"Logout",get dialog(){return s["logout#"+v(h).id]},set dialog(F){s["logout#"+v(h).id]=F},children:(F,K)=>{var ae=ca();S(F,ae)},$$slots:{default:!0}}),H((F,K,ae,Se)=>{q(M,`${F??""}...${K??""} `),q(Ce,`Created ${ae??""}`),q($e,`Expires ${Se??""}`)},[()=>v(h).id.slice(0,4),()=>v(h).id.slice(-4),()=>v(h).created.toLocaleString(),()=>v(h).expires.toLocaleString()]),S(x,L)});var Te=b(Ze,2),kt=k(Te);kt.__click=[ua,s],m(Te);var xt=b(Te,2);Q(xt,{submit:()=>Ot(v(d).id).then(()=>window.location.href="/"),submitText:"Logout All Sessions",submitDanger:!0,get dialog(){return s.logout_all},set dialog(x){s.logout_all=x},children:(x,h)=>{var L=da();S(x,L)},$$slots:{default:!0}}),m(Qe),m(_),H(x=>{fe(y,"src",x),q(i,`Welcome, ${v(d).name??""}`),q(p,v(d).name),q(U,`${v(d).email??""} `),q(bt,v(d).id)},[()=>Lt(v(d))]),S(r,_),Be()}pe(["click"]);export{ka as component,ya as universal};
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"../chunks/DsnmJJEf.js";import{L as t}from"../chunks/BAOCrSx4.js";function r(o){t(o,{fullPage:!0})}export{r as component};
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|