PWA
CI / build (push) Has been skipped
CI / deploy (push) Successful in 1m24s

This commit is contained in:
eewing
2026-02-19 07:41:49 -06:00
parent 5776a1fdb1
commit c0fae761da
10919 changed files with 874329 additions and 13511 deletions
+21
View File
@@ -0,0 +1,21 @@
const load = async ({ locals }) => {
return {
user: locals.user
};
};
var _layout_server_ts = /*#__PURE__*/Object.freeze({
__proto__: null,
load: load
});
const index = 0;
let component_cache;
const component = async () => component_cache ??= (await import('./_layout.svelte-D0w7MxcB.js')).default;
const server_id = "src/routes/+layout.server.ts";
const imports = ["_app/immutable/nodes/0.gS3vEFmL.js","_app/immutable/chunks/D4nn9Y_6.js","_app/immutable/chunks/Bzak7iHL.js","_app/immutable/chunks/DTyTeadx.js","_app/immutable/chunks/BfGs3WDN.js","_app/immutable/chunks/Dc4kZMuG.js","_app/immutable/chunks/BlBMKpZ6.js","_app/immutable/chunks/CQe9XmLJ.js","_app/immutable/chunks/C2sKwo1m.js","_app/immutable/chunks/By9q4dnk.js","_app/immutable/chunks/BIDFgmbM.js","_app/immutable/chunks/B52PvkJe.js","_app/immutable/chunks/_58MWSf2.js","_app/immutable/chunks/CW15Ts-p.js","_app/immutable/chunks/D7710T35.js","_app/immutable/chunks/BcNtEwNR.js","_app/immutable/chunks/CDS-2UO6.js","_app/immutable/chunks/8KX3cYnK.js"];
const stylesheets = ["_app/immutable/assets/0.CY2MjnKQ.css"];
const fonts = [];
export { component, fonts, imports, index, _layout_server_ts as server, server_id, stylesheets };
//# sourceMappingURL=0-CLms_ZLM.js.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"0-CLms_ZLM.js","sources":["../../../.svelte-kit/adapter-node/entries/pages/_layout.server.ts.js","../../../.svelte-kit/adapter-node/nodes/0.js"],"sourcesContent":["const load = async ({ locals }) => {\n return {\n user: locals.user\n };\n};\nexport {\n load\n};\n","import * as server from '../entries/pages/_layout.server.ts.js';\n\nexport const index = 0;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/_layout.svelte.js')).default;\nexport { server };\nexport const server_id = \"src/routes/+layout.server.ts\";\nexport const imports = [\"_app/immutable/nodes/0.gS3vEFmL.js\",\"_app/immutable/chunks/D4nn9Y_6.js\",\"_app/immutable/chunks/Bzak7iHL.js\",\"_app/immutable/chunks/DTyTeadx.js\",\"_app/immutable/chunks/BfGs3WDN.js\",\"_app/immutable/chunks/Dc4kZMuG.js\",\"_app/immutable/chunks/BlBMKpZ6.js\",\"_app/immutable/chunks/CQe9XmLJ.js\",\"_app/immutable/chunks/C2sKwo1m.js\",\"_app/immutable/chunks/By9q4dnk.js\",\"_app/immutable/chunks/BIDFgmbM.js\",\"_app/immutable/chunks/B52PvkJe.js\",\"_app/immutable/chunks/_58MWSf2.js\",\"_app/immutable/chunks/CW15Ts-p.js\",\"_app/immutable/chunks/D7710T35.js\",\"_app/immutable/chunks/BcNtEwNR.js\",\"_app/immutable/chunks/CDS-2UO6.js\",\"_app/immutable/chunks/8KX3cYnK.js\"];\nexport const stylesheets = [\"_app/immutable/assets/0.CY2MjnKQ.css\"];\nexport const fonts = [];\n"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,OAAO,EAAE,MAAM,EAAE,KAAK;AACnC,EAAE,OAAO;AACT,IAAI,IAAI,EAAE,MAAM,CAAC;AACjB,GAAG;AACH,CAAC;;;;;;;ACFW,MAAC,KAAK,GAAG;AACrB,IAAI,eAAe;AACP,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,8BAAoC,CAAC,EAAE;AAElG,MAAC,SAAS,GAAG;AACb,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC;AACppB,MAAC,WAAW,GAAG,CAAC,sCAAsC;AACtD,MAAC,KAAK,GAAG;;;;"}
-21
View File
@@ -1,21 +0,0 @@
const load = async ({ locals }) => {
return {
user: locals.user
};
};
var _layout_server_ts = /*#__PURE__*/Object.freeze({
__proto__: null,
load: load
});
const index = 0;
let component_cache;
const component = async () => component_cache ??= (await import('./_layout.svelte-C9R7TwNZ.js')).default;
const server_id = "src/routes/+layout.server.ts";
const imports = ["_app/immutable/nodes/0.DsCqkoz9.js","_app/immutable/chunks/Bzak7iHL.js","_app/immutable/chunks/CPmvlhtF.js","_app/immutable/chunks/nEbfNkJh.js","_app/immutable/chunks/zcqfpVBB.js","_app/immutable/chunks/Xjya7ye4.js","_app/immutable/chunks/BpNSSBPP.js","_app/immutable/chunks/CoAkxMBS.js","_app/immutable/chunks/BX9MO-1l.js","_app/immutable/chunks/CvA4ASMA.js","_app/immutable/chunks/ggIfGDPQ.js"];
const stylesheets = ["_app/immutable/assets/0.Ci1WSy1v.css"];
const fonts = [];
export { component, fonts, imports, index, _layout_server_ts as server, server_id, stylesheets };
//# sourceMappingURL=0-DANNRPIf.js.map
-1
View File
@@ -1 +0,0 @@
{"version":3,"file":"0-DANNRPIf.js","sources":["../../../.svelte-kit/adapter-node/entries/pages/_layout.server.ts.js","../../../.svelte-kit/adapter-node/nodes/0.js"],"sourcesContent":["const load = async ({ locals }) => {\n return {\n user: locals.user\n };\n};\nexport {\n load\n};\n","import * as server from '../entries/pages/_layout.server.ts.js';\n\nexport const index = 0;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/_layout.svelte.js')).default;\nexport { server };\nexport const server_id = \"src/routes/+layout.server.ts\";\nexport const imports = [\"_app/immutable/nodes/0.DsCqkoz9.js\",\"_app/immutable/chunks/Bzak7iHL.js\",\"_app/immutable/chunks/CPmvlhtF.js\",\"_app/immutable/chunks/nEbfNkJh.js\",\"_app/immutable/chunks/zcqfpVBB.js\",\"_app/immutable/chunks/Xjya7ye4.js\",\"_app/immutable/chunks/BpNSSBPP.js\",\"_app/immutable/chunks/CoAkxMBS.js\",\"_app/immutable/chunks/BX9MO-1l.js\",\"_app/immutable/chunks/CvA4ASMA.js\",\"_app/immutable/chunks/ggIfGDPQ.js\"];\nexport const stylesheets = [\"_app/immutable/assets/0.Ci1WSy1v.css\"];\nexport const fonts = [];\n"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,OAAO,EAAE,MAAM,EAAE,KAAK;AACnC,EAAE,OAAO;AACT,IAAI,IAAI,EAAE,MAAM,CAAC;AACjB,GAAG;AACH,CAAC;;;;;;;ACFW,MAAC,KAAK,GAAG;AACrB,IAAI,eAAe;AACP,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,8BAAoC,CAAC,EAAE;AAElG,MAAC,SAAS,GAAG;AACb,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC;AACxZ,MAAC,WAAW,GAAG,CAAC,sCAAsC;AACtD,MAAC,KAAK,GAAG;;;;"}
-9
View File
@@ -1,9 +0,0 @@
const index = 1;
let component_cache;
const component = async () => component_cache ??= (await import('./error.svelte-C7iligE9.js')).default;
const imports = ["_app/immutable/nodes/1.CwhQAky3.js","_app/immutable/chunks/Bzak7iHL.js","_app/immutable/chunks/ggIfGDPQ.js","_app/immutable/chunks/nEbfNkJh.js","_app/immutable/chunks/CPmvlhtF.js","_app/immutable/chunks/BX9MO-1l.js"];
const stylesheets = [];
const fonts = [];
export { component, fonts, imports, index, stylesheets };
//# sourceMappingURL=1-BIdyPzep.js.map
-1
View File
@@ -1 +0,0 @@
{"version":3,"file":"1-BIdyPzep.js","sources":["../../../.svelte-kit/adapter-node/nodes/1.js"],"sourcesContent":["\n\nexport const index = 1;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/fallbacks/error.svelte.js')).default;\nexport const imports = [\"_app/immutable/nodes/1.CwhQAky3.js\",\"_app/immutable/chunks/Bzak7iHL.js\",\"_app/immutable/chunks/ggIfGDPQ.js\",\"_app/immutable/chunks/nEbfNkJh.js\",\"_app/immutable/chunks/CPmvlhtF.js\",\"_app/immutable/chunks/BX9MO-1l.js\"];\nexport const stylesheets = [];\nexport const fonts = [];\n"],"names":[],"mappings":"AAEY,MAAC,KAAK,GAAG;AACrB,IAAI,eAAe;AACP,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,4BAAsC,CAAC,EAAE;AACpG,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC;AACpO,MAAC,WAAW,GAAG;AACf,MAAC,KAAK,GAAG;;;;"}
+9
View File
@@ -0,0 +1,9 @@
const index = 1;
let component_cache;
const component = async () => component_cache ??= (await import('./error.svelte-p_aBQ2un.js')).default;
const imports = ["_app/immutable/nodes/1.BXG5ltEU.js","_app/immutable/chunks/Bzak7iHL.js","_app/immutable/chunks/CDS-2UO6.js","_app/immutable/chunks/BfGs3WDN.js","_app/immutable/chunks/Dc4kZMuG.js","_app/immutable/chunks/BlBMKpZ6.js","_app/immutable/chunks/CW15Ts-p.js","_app/immutable/chunks/DTyTeadx.js"];
const stylesheets = [];
const fonts = [];
export { component, fonts, imports, index, stylesheets };
//# sourceMappingURL=1-BjAmalgn.js.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"1-BjAmalgn.js","sources":["../../../.svelte-kit/adapter-node/nodes/1.js"],"sourcesContent":["\n\nexport const index = 1;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/fallbacks/error.svelte.js')).default;\nexport const imports = [\"_app/immutable/nodes/1.BXG5ltEU.js\",\"_app/immutable/chunks/Bzak7iHL.js\",\"_app/immutable/chunks/CDS-2UO6.js\",\"_app/immutable/chunks/BfGs3WDN.js\",\"_app/immutable/chunks/Dc4kZMuG.js\",\"_app/immutable/chunks/BlBMKpZ6.js\",\"_app/immutable/chunks/CW15Ts-p.js\",\"_app/immutable/chunks/DTyTeadx.js\"];\nexport const stylesheets = [];\nexport const fonts = [];\n"],"names":[],"mappings":"AAEY,MAAC,KAAK,GAAG;AACrB,IAAI,eAAe;AACP,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,4BAAsC,CAAC,EAAE;AACpG,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC;AAC5S,MAAC,WAAW,GAAG;AACf,MAAC,KAAK,GAAG;;;;"}
-9
View File
@@ -1,9 +0,0 @@
const index = 2;
let component_cache;
const component = async () => component_cache ??= (await import('./_page.svelte-fWQjRNRW.js')).default;
const imports = ["_app/immutable/nodes/2.B4w5AQ-r.js","_app/immutable/chunks/D4nn9Y_6.js","_app/immutable/chunks/Bzak7iHL.js","_app/immutable/chunks/nEbfNkJh.js","_app/immutable/chunks/zcqfpVBB.js","_app/immutable/chunks/BpNSSBPP.js","_app/immutable/chunks/uf3Is7Es.js","_app/immutable/chunks/Xjya7ye4.js","_app/immutable/chunks/DTd9pe6t.js"];
const stylesheets = [];
const fonts = [];
export { component, fonts, imports, index, stylesheets };
//# sourceMappingURL=2-BM-ldjTW.js.map
-1
View File
@@ -1 +0,0 @@
{"version":3,"file":"2-BM-ldjTW.js","sources":["../../../.svelte-kit/adapter-node/nodes/2.js"],"sourcesContent":["\n\nexport const index = 2;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/_page.svelte.js')).default;\nexport const imports = [\"_app/immutable/nodes/2.B4w5AQ-r.js\",\"_app/immutable/chunks/D4nn9Y_6.js\",\"_app/immutable/chunks/Bzak7iHL.js\",\"_app/immutable/chunks/nEbfNkJh.js\",\"_app/immutable/chunks/zcqfpVBB.js\",\"_app/immutable/chunks/BpNSSBPP.js\",\"_app/immutable/chunks/uf3Is7Es.js\",\"_app/immutable/chunks/Xjya7ye4.js\",\"_app/immutable/chunks/DTd9pe6t.js\"];\nexport const stylesheets = [];\nexport const fonts = [];\n"],"names":[],"mappings":"AAEY,MAAC,KAAK,GAAG;AACrB,IAAI,eAAe;AACP,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,4BAAkC,CAAC,EAAE;AAChG,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC;AAChV,MAAC,WAAW,GAAG;AACf,MAAC,KAAK,GAAG;;;;"}
+9
View File
@@ -0,0 +1,9 @@
const index = 2;
let component_cache;
const component = async () => component_cache ??= (await import('./_layout.svelte-CI-fIhZx.js')).default;
const imports = ["_app/immutable/nodes/2.Cn3ypPuH.js","_app/immutable/chunks/Bzak7iHL.js","_app/immutable/chunks/BfGs3WDN.js","_app/immutable/chunks/By9q4dnk.js","_app/immutable/chunks/C2sKwo1m.js"];
const stylesheets = [];
const fonts = [];
export { component, fonts, imports, index, stylesheets };
//# sourceMappingURL=2-BlPg8Txo.js.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"2-BlPg8Txo.js","sources":["../../../.svelte-kit/adapter-node/nodes/2.js"],"sourcesContent":["\n\nexport const index = 2;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/_site_/_layout.svelte.js')).default;\nexport const imports = [\"_app/immutable/nodes/2.Cn3ypPuH.js\",\"_app/immutable/chunks/Bzak7iHL.js\",\"_app/immutable/chunks/BfGs3WDN.js\",\"_app/immutable/chunks/By9q4dnk.js\",\"_app/immutable/chunks/C2sKwo1m.js\"];\nexport const stylesheets = [];\nexport const fonts = [];\n"],"names":[],"mappings":"AAEY,MAAC,KAAK,GAAG;AACrB,IAAI,eAAe;AACP,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,8BAA2C,CAAC,EAAE;AACzG,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC;AAChM,MAAC,WAAW,GAAG;AACf,MAAC,KAAK,GAAG;;;;"}
-24
View File
@@ -1,24 +0,0 @@
import { r as redirect } from './index-wpIsICWW.js';
const actions = {
default: async ({ locals }) => {
locals.pb.authStore.clear();
throw redirect(303, "/login");
}
};
var _page_server_ts = /*#__PURE__*/Object.freeze({
__proto__: null,
actions: actions
});
const index = 3;
let component_cache;
const component = async () => component_cache ??= (await import('./_page.svelte-CzjPx6eH.js')).default;
const server_id = "src/routes/logout/+page.server.ts";
const imports = ["_app/immutable/nodes/3.sctq0uPd.js","_app/immutable/chunks/Bzak7iHL.js","_app/immutable/chunks/nEbfNkJh.js","_app/immutable/chunks/CoAkxMBS.js","_app/immutable/chunks/BX9MO-1l.js","_app/immutable/chunks/CPmvlhtF.js","_app/immutable/chunks/Xjya7ye4.js","_app/immutable/chunks/zcqfpVBB.js","_app/immutable/chunks/uf3Is7Es.js","_app/immutable/chunks/DTd9pe6t.js"];
const stylesheets = [];
const fonts = [];
export { component, fonts, imports, index, _page_server_ts as server, server_id, stylesheets };
//# sourceMappingURL=3-CFvpokQ_.js.map
-1
View File
@@ -1 +0,0 @@
{"version":3,"file":"3-CFvpokQ_.js","sources":["../../../.svelte-kit/adapter-node/entries/pages/logout/_page.server.ts.js","../../../.svelte-kit/adapter-node/nodes/3.js"],"sourcesContent":["import { redirect } from \"@sveltejs/kit\";\nconst actions = {\n default: async ({ locals }) => {\n locals.pb.authStore.clear();\n throw redirect(303, \"/login\");\n }\n};\nexport {\n actions\n};\n","import * as server from '../entries/pages/logout/_page.server.ts.js';\n\nexport const index = 3;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/logout/_page.svelte.js')).default;\nexport { server };\nexport const server_id = \"src/routes/logout/+page.server.ts\";\nexport const imports = [\"_app/immutable/nodes/3.sctq0uPd.js\",\"_app/immutable/chunks/Bzak7iHL.js\",\"_app/immutable/chunks/nEbfNkJh.js\",\"_app/immutable/chunks/CoAkxMBS.js\",\"_app/immutable/chunks/BX9MO-1l.js\",\"_app/immutable/chunks/CPmvlhtF.js\",\"_app/immutable/chunks/Xjya7ye4.js\",\"_app/immutable/chunks/zcqfpVBB.js\",\"_app/immutable/chunks/uf3Is7Es.js\",\"_app/immutable/chunks/DTd9pe6t.js\"];\nexport const stylesheets = [];\nexport const fonts = [];\n"],"names":[],"mappings":";;AACA,MAAM,OAAO,GAAG;AAChB,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK;AACjC,IAAI,MAAM,CAAC,EAAE,CAAC,SAAS,CAAC,KAAK,EAAE;AAC/B,IAAI,MAAM,QAAQ,CAAC,GAAG,EAAE,QAAQ,CAAC;AACjC,EAAE;AACF,CAAC;;;;;;;ACJW,MAAC,KAAK,GAAG;AACrB,IAAI,eAAe;AACP,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,4BAAyC,CAAC,EAAE;AAEvG,MAAC,SAAS,GAAG;AACb,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC;AACpX,MAAC,WAAW,GAAG;AACf,MAAC,KAAK,GAAG;;;;"}
+9
View File
@@ -0,0 +1,9 @@
const index = 3;
let component_cache;
const component = async () => component_cache ??= (await import('./_page.svelte-BdajIn5A.js')).default;
const imports = ["_app/immutable/nodes/3.Dvp2-Ekr.js","_app/immutable/chunks/D4nn9Y_6.js","_app/immutable/chunks/Bzak7iHL.js","_app/immutable/chunks/BfGs3WDN.js","_app/immutable/chunks/C2sKwo1m.js","_app/immutable/chunks/CQe9XmLJ.js","_app/immutable/chunks/BIDFgmbM.js","_app/immutable/chunks/DecArsLH.js","_app/immutable/chunks/D7710T35.js","_app/immutable/chunks/BlBMKpZ6.js","_app/immutable/chunks/By9q4dnk.js","_app/immutable/chunks/BSLeMsiy.js"];
const stylesheets = [];
const fonts = [];
export { component, fonts, imports, index, stylesheets };
//# sourceMappingURL=3-XerCqalW.js.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"3-XerCqalW.js","sources":["../../../.svelte-kit/adapter-node/nodes/3.js"],"sourcesContent":["\n\nexport const index = 3;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/_page.svelte.js')).default;\nexport const imports = [\"_app/immutable/nodes/3.Dvp2-Ekr.js\",\"_app/immutable/chunks/D4nn9Y_6.js\",\"_app/immutable/chunks/Bzak7iHL.js\",\"_app/immutable/chunks/BfGs3WDN.js\",\"_app/immutable/chunks/C2sKwo1m.js\",\"_app/immutable/chunks/CQe9XmLJ.js\",\"_app/immutable/chunks/BIDFgmbM.js\",\"_app/immutable/chunks/DecArsLH.js\",\"_app/immutable/chunks/D7710T35.js\",\"_app/immutable/chunks/BlBMKpZ6.js\",\"_app/immutable/chunks/By9q4dnk.js\",\"_app/immutable/chunks/BSLeMsiy.js\"];\nexport const stylesheets = [];\nexport const fonts = [];\n"],"names":[],"mappings":"AAEY,MAAC,KAAK,GAAG;AACrB,IAAI,eAAe;AACP,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,4BAAkC,CAAC,EAAE;AAChG,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC;AAC5b,MAAC,WAAW,GAAG;AACf,MAAC,KAAK,GAAG;;;;"}
+24
View File
@@ -0,0 +1,24 @@
import { r as redirect } from './index-wpIsICWW.js';
const actions = {
default: async ({ locals }) => {
locals.pb.authStore.clear();
throw redirect(303, "/login");
}
};
var _page_server_ts = /*#__PURE__*/Object.freeze({
__proto__: null,
actions: actions
});
const index = 4;
let component_cache;
const component = async () => component_cache ??= (await import('./_page.svelte-BRCUc0Y4.js')).default;
const server_id = "src/routes/logout/+page.server.ts";
const imports = ["_app/immutable/nodes/4.Dk1RIVGS.js","_app/immutable/chunks/Bzak7iHL.js","_app/immutable/chunks/BfGs3WDN.js","_app/immutable/chunks/_58MWSf2.js","_app/immutable/chunks/CW15Ts-p.js","_app/immutable/chunks/DTyTeadx.js","_app/immutable/chunks/Dc4kZMuG.js","_app/immutable/chunks/BlBMKpZ6.js","_app/immutable/chunks/D7710T35.js","_app/immutable/chunks/DecArsLH.js","_app/immutable/chunks/By9q4dnk.js","_app/immutable/chunks/C2sKwo1m.js","_app/immutable/chunks/CQe9XmLJ.js","_app/immutable/chunks/BSLeMsiy.js"];
const stylesheets = [];
const fonts = [];
export { component, fonts, imports, index, _page_server_ts as server, server_id, stylesheets };
//# sourceMappingURL=4-Y0NHAyIy.js.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"4-Y0NHAyIy.js","sources":["../../../.svelte-kit/adapter-node/entries/pages/logout/_page.server.ts.js","../../../.svelte-kit/adapter-node/nodes/4.js"],"sourcesContent":["import { redirect } from \"@sveltejs/kit\";\nconst actions = {\n default: async ({ locals }) => {\n locals.pb.authStore.clear();\n throw redirect(303, \"/login\");\n }\n};\nexport {\n actions\n};\n","import * as server from '../entries/pages/logout/_page.server.ts.js';\n\nexport const index = 4;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/logout/_page.svelte.js')).default;\nexport { server };\nexport const server_id = \"src/routes/logout/+page.server.ts\";\nexport const imports = [\"_app/immutable/nodes/4.Dk1RIVGS.js\",\"_app/immutable/chunks/Bzak7iHL.js\",\"_app/immutable/chunks/BfGs3WDN.js\",\"_app/immutable/chunks/_58MWSf2.js\",\"_app/immutable/chunks/CW15Ts-p.js\",\"_app/immutable/chunks/DTyTeadx.js\",\"_app/immutable/chunks/Dc4kZMuG.js\",\"_app/immutable/chunks/BlBMKpZ6.js\",\"_app/immutable/chunks/D7710T35.js\",\"_app/immutable/chunks/DecArsLH.js\",\"_app/immutable/chunks/By9q4dnk.js\",\"_app/immutable/chunks/C2sKwo1m.js\",\"_app/immutable/chunks/CQe9XmLJ.js\",\"_app/immutable/chunks/BSLeMsiy.js\"];\nexport const stylesheets = [];\nexport const fonts = [];\n"],"names":[],"mappings":";;AACA,MAAM,OAAO,GAAG;AAChB,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK;AACjC,IAAI,MAAM,CAAC,EAAE,CAAC,SAAS,CAAC,KAAK,EAAE;AAC/B,IAAI,MAAM,QAAQ,CAAC,GAAG,EAAE,QAAQ,CAAC;AACjC,EAAE;AACF,CAAC;;;;;;;ACJW,MAAC,KAAK,GAAG;AACrB,IAAI,eAAe;AACP,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,4BAAyC,CAAC,EAAE;AAEvG,MAAC,SAAS,GAAG;AACb,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC;AACpgB,MAAC,WAAW,GAAG;AACf,MAAC,KAAK,GAAG;;;;"}
-1
View File
@@ -1 +0,0 @@
{"version":3,"file":"4-ano5Glp5.js","sources":["../../../.svelte-kit/adapter-node/entries/pages/login/_page.server.ts.js","../../../.svelte-kit/adapter-node/nodes/4.js"],"sourcesContent":["import { redirect } from \"@sveltejs/kit\";\nconst load = async ({ url, locals }) => {\n if (locals.user) {\n throw redirect(303, url.searchParams.get(\"redirectTo\") ?? \"/\");\n }\n return {\n redirectTo: url.searchParams.get(\"redirectTo\") ?? \"\",\n error: null\n };\n};\nconst actions = {\n default: async ({ request, locals, url }) => {\n const formData = await request.formData();\n const email = String(formData.get(\"email\") ?? \"\").trim();\n const password = String(formData.get(\"password\") ?? \"\");\n const redirectTo = String(formData.get(\"redirectTo\") ?? \"\").trim() || \"/\";\n if (!email || !password) {\n return {\n redirectTo,\n error: \"Email and password are required.\"\n };\n }\n try {\n await locals.pb.collection(\"users\").authWithPassword(email, password);\n } catch (err) {\n const message = err && typeof err === \"object\" && \"message\" in err ? String(err.message) : \"Invalid email or password.\";\n return {\n redirectTo,\n error: message\n };\n }\n throw redirect(303, redirectTo);\n }\n};\nexport {\n actions,\n load\n};\n","import * as server from '../entries/pages/login/_page.server.ts.js';\n\nexport const index = 4;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/login/_page.svelte.js')).default;\nexport { server };\nexport const server_id = \"src/routes/login/+page.server.ts\";\nexport const imports = [\"_app/immutable/nodes/4.BG9kRLiv.js\",\"_app/immutable/chunks/Bzak7iHL.js\",\"_app/immutable/chunks/nEbfNkJh.js\",\"_app/immutable/chunks/CPmvlhtF.js\",\"_app/immutable/chunks/zcqfpVBB.js\",\"_app/immutable/chunks/BpNSSBPP.js\",\"_app/immutable/chunks/CoAkxMBS.js\",\"_app/immutable/chunks/BX9MO-1l.js\",\"_app/immutable/chunks/Xjya7ye4.js\",\"_app/immutable/chunks/uf3Is7Es.js\",\"_app/immutable/chunks/DTd9pe6t.js\",\"_app/immutable/chunks/CvA4ASMA.js\"];\nexport const stylesheets = [];\nexport const fonts = [];\n"],"names":[],"mappings":";;AACA,MAAM,IAAI,GAAG,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK;AACxC,EAAE,IAAI,MAAM,CAAC,IAAI,EAA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4BAA4B;AAC7H,MAAM,OAAO;AACb,QAAQ,UAAU;AAClB,QAAQ,KAAK,EAAE;AACf,OAAO;AACP,IAAI;AACJ,IAAI,MAAM,QAAQ,CAAC,GAAG,EAAE,UAAU,CAAC;AACnC,EAAE;AACF,CAAC;;;;;;;;AC/BW,MAAC,KAAK,GAAG;AACrB,IAAI,eAAe;AACP,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,4BAAwC,CAAC,EAAE;AAEtG,MAAC,SAAS,GAAG;AACb,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC;AAC5b,MAAC,WAAW,GAAG;AACf,MAAC,KAAK,GAAG;;;;"}
+23
View File
@@ -0,0 +1,23 @@
import { m as mapUserRecord } from './user-from-record-CP0SRVyL.js';
const load = async ({ locals }) => {
const list = await locals.pb.collection("users").getFullList();
const users = list.map((r) => mapUserRecord(r));
return { users };
};
var _page_server_ts = /*#__PURE__*/Object.freeze({
__proto__: null,
load: load
});
const index = 5;
let component_cache;
const component = async () => component_cache ??= (await import('./_page.svelte-B3VFjB5u.js')).default;
const server_id = "src/routes/users/+page.server.ts";
const imports = ["_app/immutable/nodes/5.DNte91Oq.js","_app/immutable/chunks/Bzak7iHL.js","_app/immutable/chunks/BfGs3WDN.js","_app/immutable/chunks/Dc4kZMuG.js","_app/immutable/chunks/BlBMKpZ6.js","_app/immutable/chunks/CQe9XmLJ.js","_app/immutable/chunks/C2sKwo1m.js","_app/immutable/chunks/BVBXfAos.js","_app/immutable/chunks/BIDFgmbM.js","_app/immutable/chunks/B52PvkJe.js","_app/immutable/chunks/D7710T35.js","_app/immutable/chunks/C3gUTv4t.js","_app/immutable/chunks/By9q4dnk.js","_app/immutable/chunks/BSLeMsiy.js","_app/immutable/chunks/DecArsLH.js"];
const stylesheets = [];
const fonts = [];
export { component, fonts, imports, index, _page_server_ts as server, server_id, stylesheets };
//# sourceMappingURL=5-CYVNUR6x.js.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"5-CYVNUR6x.js","sources":["../../../.svelte-kit/adapter-node/entries/pages/users/_page.server.ts.js","../../../.svelte-kit/adapter-node/nodes/5.js"],"sourcesContent":["import { m as mapUserRecord } from \"../../../chunks/user-from-record.js\";\nconst load = async ({ locals }) => {\n const list = await locals.pb.collection(\"users\").getFullList();\n const users = list.map((r) => mapUserRecord(r));\n return { users };\n};\nexport {\n load\n};\n","import * as server from '../entries/pages/users/_page.server.ts.js';\n\nexport const index = 5;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/users/_page.svelte.js')).default;\nexport { server };\nexport const server_id = \"src/routes/users/+page.server.ts\";\nexport const imports = [\"_app/immutable/nodes/5.DNte91Oq.js\",\"_app/immutable/chunks/Bzak7iHL.js\",\"_app/immutable/chunks/BfGs3WDN.js\",\"_app/immutable/chunks/Dc4kZMuG.js\",\"_app/immutable/chunks/BlBMKpZ6.js\",\"_app/immutable/chunks/CQe9XmLJ.js\",\"_app/immutable/chunks/C2sKwo1m.js\",\"_app/immutable/chunks/BVBXfAos.js\",\"_app/immutable/chunks/BIDFgmbM.js\",\"_app/immutable/chunks/B52PvkJe.js\",\"_app/immutable/chunks/D7710T35.js\",\"_app/immutable/chunks/C3gUTv4t.js\",\"_app/immutable/chunks/By9q4dnk.js\",\"_app/immutable/chunks/BSLeMsiy.js\",\"_app/immutable/chunks/DecArsLH.js\"];\nexport const stylesheets = [];\nexport const fonts = [];\n"],"names":[],"mappings":";;AACA,MAAM,IAAI,GAAG,OAAO,EAAE,MAAM,EAAE,KAAK;AACnC,EAAE,MAAM,IAAI,GAAG,MAAM,MAAM,CAAC,EAAE,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,WAAW,EAAE;AAChE,EAAE,MAAM,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,aAAa,CAAC,CAAC,CAAC,CAAC;AACjD,EAAE,OAAO,EAAE,KAAK,EAAE;AAClB,CAAC;;;;;;;ACHW,MAAC,KAAK,GAAG;AACrB,IAAI,eAAe;AACP,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,4BAAwC,CAAC,EAAE;AAEtG,MAAC,SAAS,GAAG;AACb,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC;AACxiB,MAAC,WAAW,GAAG;AACf,MAAC,KAAK,GAAG;;;;"}
+29
View File
@@ -0,0 +1,29 @@
import { e as error } from './index-wpIsICWW.js';
import { m as mapUserRecord } from './user-from-record-CP0SRVyL.js';
const load = async ({ params, locals }) => {
const id = params.id;
if (!id) throw error(404, "User not found");
try {
const record = await locals.pb.collection("users").getOne(id);
return { user: mapUserRecord(record) };
} catch {
throw error(404, "User not found");
}
};
var _page_server_ts = /*#__PURE__*/Object.freeze({
__proto__: null,
load: load
});
const index = 6;
let component_cache;
const component = async () => component_cache ??= (await import('./_page.svelte-U_BmklAY.js')).default;
const server_id = "src/routes/users/[id]/+page.server.ts";
const imports = ["_app/immutable/nodes/6.Vre0jbUi.js","_app/immutable/chunks/Bzak7iHL.js","_app/immutable/chunks/BfGs3WDN.js","_app/immutable/chunks/Dc4kZMuG.js","_app/immutable/chunks/BlBMKpZ6.js","_app/immutable/chunks/CQe9XmLJ.js","_app/immutable/chunks/C2sKwo1m.js","_app/immutable/chunks/BIDFgmbM.js","_app/immutable/chunks/B52PvkJe.js","_app/immutable/chunks/C3gUTv4t.js","_app/immutable/chunks/By9q4dnk.js","_app/immutable/chunks/D7710T35.js","_app/immutable/chunks/BSLeMsiy.js","_app/immutable/chunks/DecArsLH.js"];
const stylesheets = [];
const fonts = [];
export { component, fonts, imports, index, _page_server_ts as server, server_id, stylesheets };
//# sourceMappingURL=6-DL87GJeT.js.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"6-DL87GJeT.js","sources":["../../../.svelte-kit/adapter-node/entries/pages/users/_id_/_page.server.ts.js","../../../.svelte-kit/adapter-node/nodes/6.js"],"sourcesContent":["import { error } from \"@sveltejs/kit\";\nimport { m as mapUserRecord } from \"../../../../chunks/user-from-record.js\";\nconst load = async ({ params, locals }) => {\n const id = params.id;\n if (!id) throw error(404, \"User not found\");\n try {\n const record = await locals.pb.collection(\"users\").getOne(id);\n return { user: mapUserRecord(record) };\n } catch {\n throw error(404, \"User not found\");\n }\n};\nexport {\n load\n};\n","import * as server from '../entries/pages/users/_id_/_page.server.ts.js';\n\nexport const index = 6;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/users/_id_/_page.svelte.js')).default;\nexport { server };\nexport const server_id = \"src/routes/users/[id]/+page.server.ts\";\nexport const imports = [\"_app/immutable/nodes/6.Vre0jbUi.js\",\"_app/immutable/chunks/Bzak7iHL.js\",\"_app/immutable/chunks/BfGs3WDN.js\",\"_app/immutable/chunks/Dc4kZMuG.js\",\"_app/immutable/chunks/BlBMKpZ6.js\",\"_app/immutable/chunks/CQe9XmLJ.js\",\"_app/immutable/chunks/C2sKwo1m.js\",\"_app/immutable/chunks/BIDFgmbM.js\",\"_app/immutable/chunks/B52PvkJe.js\",\"_app/immutable/chunks/C3gUTv4t.js\",\"_app/immutable/chunks/By9q4dnk.js\",\"_app/immutable/chunks/D7710T35.js\",\"_app/immutable/chunks/BSLeMsiy.js\",\"_app/immutable/chunks/DecArsLH.js\"];\nexport const stylesheets = [];\nexport const fonts = [];\n"],"names":[],"mappings":";;;AAEA,MAAM,IAAI,GAAG,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK;AAC3C,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC,EAAE;AACtB,EAAE,IAAI,CAAC,EAAE,EAAE,MAAM,KAAK,CAAC,GAAG,EAAE,gBAAgB,CAAC;AAC7C,EAAE,IAAI;AACN,IAAI,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,EAAE,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC;AACjE,IAAI,OAAO,EAAE,IAAI,EAAE,aAAa,CAAC,MAAM,CAAC,EAAE;AAC1C,EAAE,CAAC,CAAC,MAAM;AACV,IAAI,MAAM,KAAK,CAAC,GAAG,EAAE,gBAAgB,CAAC;AACtC,EAAE;AACF,CAAC;;;;;;;ACTW,MAAC,KAAK,GAAG;AACrB,IAAI,eAAe;AACP,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,4BAA6C,CAAC,EAAE;AAE3G,MAAC,SAAS,GAAG;AACb,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC;AACpgB,MAAC,WAAW,GAAG;AACf,MAAC,KAAK,GAAG;;;;"}
+31
View File
@@ -0,0 +1,31 @@
import { s as sites } from './sites-F_LoVfp9.js';
import { e as error } from './index-wpIsICWW.js';
function load({ params }) {
const slug = params.site?.toLowerCase();
const site = slug && slug in sites ? sites[slug] : null;
if (!site) {
throw error(404, `Unknown site: ${params.site}`);
}
return {
slug,
url: site.url,
title: site.title
};
}
var _page_server_ts = /*#__PURE__*/Object.freeze({
__proto__: null,
load: load
});
const index = 7;
let component_cache;
const component = async () => component_cache ??= (await import('./_page.svelte-C4xf7w51.js')).default;
const server_id = "src/routes/[site]/+page.server.ts";
const imports = ["_app/immutable/nodes/7.3uaraxa_.js","_app/immutable/chunks/Bzak7iHL.js","_app/immutable/chunks/BfGs3WDN.js","_app/immutable/chunks/B52PvkJe.js","_app/immutable/chunks/D7710T35.js","_app/immutable/chunks/BlBMKpZ6.js","_app/immutable/chunks/DecArsLH.js","_app/immutable/chunks/By9q4dnk.js","_app/immutable/chunks/C2sKwo1m.js","_app/immutable/chunks/CQe9XmLJ.js","_app/immutable/chunks/BSLeMsiy.js"];
const stylesheets = [];
const fonts = [];
export { component, fonts, imports, index, _page_server_ts as server, server_id, stylesheets };
//# sourceMappingURL=7-Ctoz-S3T.js.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"7-Ctoz-S3T.js","sources":["../../../.svelte-kit/adapter-node/entries/pages/_site_/_page.server.ts.js","../../../.svelte-kit/adapter-node/nodes/7.js"],"sourcesContent":["import { a as sites } from \"../../../chunks/sites.js\";\nimport { error } from \"@sveltejs/kit\";\nfunction load({ params }) {\n const slug = params.site?.toLowerCase();\n const site = slug && slug in sites ? sites[slug] : null;\n if (!site) {\n throw error(404, `Unknown site: ${params.site}`);\n }\n return {\n slug,\n url: site.url,\n title: site.title\n };\n}\nexport {\n load\n};\n","import * as server from '../entries/pages/_site_/_page.server.ts.js';\n\nexport const index = 7;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/_site_/_page.svelte.js')).default;\nexport { server };\nexport const server_id = \"src/routes/[site]/+page.server.ts\";\nexport const imports = [\"_app/immutable/nodes/7.3uaraxa_.js\",\"_app/immutable/chunks/Bzak7iHL.js\",\"_app/immutable/chunks/BfGs3WDN.js\",\"_app/immutable/chunks/B52PvkJe.js\",\"_app/immutable/chunks/D7710T35.js\",\"_app/immutable/chunks/BlBMKpZ6.js\",\"_app/immutable/chunks/DecArsLH.js\",\"_app/immutable/chunks/By9q4dnk.js\",\"_app/immutable/chunks/C2sKwo1m.js\",\"_app/immutable/chunks/CQe9XmLJ.js\",\"_app/immutable/chunks/BSLeMsiy.js\"];\nexport const stylesheets = [];\nexport const fonts = [];\n"],"names":[],"mappings":";;;AAEA,SAAS,IAAI,CAAC,EAAE,MAAM,EAAE,EAAE;AAC1B,EAAE,MAAM,IAAI,GAAG,MAAM,CAAC,IAAI,EAAE,WAAW,EAAE;AACzC,EAAE,MAAM,IAAI,GAAG,IAAI,IAAI,IAAI,IAAI,KAAK,GAAG,KAAK,CAAC,IAAI,CAAC,GAAG,IAAI;AACzD,EAAE,IAAI,CAAC,IAAI,EAAE;AACb,IAAI,MAAM,KAAK,CAAC,GAAG,EAAE,CAAC,cAAc,EAAE,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC;AACpD,EAAE;AACF,EAAE,OAAO;AACT,IAAI,IAAI;AACR,IAAI,GAAG,EAAE,IAAI,CAAC,GAAG;AACjB,IAAI,KAAK,EAAE,IAAI,CAAC;AAChB,GAAG;AACH;;;;;;;ACXY,MAAC,KAAK,GAAG;AACrB,IAAI,eAAe;AACP,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,4BAAyC,CAAC,EAAE;AAEvG,MAAC,SAAS,GAAG;AACb,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC;AACxZ,MAAC,WAAW,GAAG;AACf,MAAC,KAAK,GAAG;;;;"}
@@ -40,13 +40,13 @@ var _page_server_ts = /*#__PURE__*/Object.freeze({
load: load
});
const index = 4;
const index = 8;
let component_cache;
const component = async () => component_cache ??= (await import('./_page.svelte-CYuAo59m.js')).default;
const component = async () => component_cache ??= (await import('./_page.svelte-CkSLjmVD.js')).default;
const server_id = "src/routes/login/+page.server.ts";
const imports = ["_app/immutable/nodes/4.BG9kRLiv.js","_app/immutable/chunks/Bzak7iHL.js","_app/immutable/chunks/nEbfNkJh.js","_app/immutable/chunks/CPmvlhtF.js","_app/immutable/chunks/zcqfpVBB.js","_app/immutable/chunks/BpNSSBPP.js","_app/immutable/chunks/CoAkxMBS.js","_app/immutable/chunks/BX9MO-1l.js","_app/immutable/chunks/Xjya7ye4.js","_app/immutable/chunks/uf3Is7Es.js","_app/immutable/chunks/DTd9pe6t.js","_app/immutable/chunks/CvA4ASMA.js"];
const imports = ["_app/immutable/nodes/8.CQbjEMpm.js","_app/immutable/chunks/Bzak7iHL.js","_app/immutable/chunks/BfGs3WDN.js","_app/immutable/chunks/Dc4kZMuG.js","_app/immutable/chunks/BlBMKpZ6.js","_app/immutable/chunks/CQe9XmLJ.js","_app/immutable/chunks/C2sKwo1m.js","_app/immutable/chunks/BIDFgmbM.js","_app/immutable/chunks/_58MWSf2.js","_app/immutable/chunks/CW15Ts-p.js","_app/immutable/chunks/DTyTeadx.js","_app/immutable/chunks/D7710T35.js","_app/immutable/chunks/DecArsLH.js","_app/immutable/chunks/By9q4dnk.js","_app/immutable/chunks/BSLeMsiy.js","_app/immutable/chunks/BcNtEwNR.js","_app/immutable/chunks/C3gUTv4t.js"];
const stylesheets = [];
const fonts = [];
export { component, fonts, imports, index, _page_server_ts as server, server_id, stylesheets };
//# sourceMappingURL=4-ano5Glp5.js.map
//# sourceMappingURL=8-4XSzWPH3.js.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"8-4XSzWPH3.js","sources":["../../../.svelte-kit/adapter-node/entries/pages/login/_page.server.ts.js","../../../.svelte-kit/adapter-node/nodes/8.js"],"sourcesContent":["import { redirect } from \"@sveltejs/kit\";\nconst load = async ({ url, locals }) => {\n if (locals.user) {\n throw redirect(303, url.searchParams.get(\"redirectTo\") ?? \"/\");\n }\n return {\n redirectTo: url.searchParams.get(\"redirectTo\") ?? \"\",\n error: null\n };\n};\nconst actions = {\n default: async ({ request, locals, url }) => {\n const formData = await request.formData();\n const email = String(formData.get(\"email\") ?? \"\").trim();\n const password = String(formData.get(\"password\") ?? \"\");\n const redirectTo = String(formData.get(\"redirectTo\") ?? \"\").trim() || \"/\";\n if (!email || !password) {\n return {\n redirectTo,\n error: \"Email and password are required.\"\n };\n }\n try {\n await locals.pb.collection(\"users\").authWithPassword(email, password);\n } catch (err) {\n const message = err && typeof err === \"object\" && \"message\" in err ? String(err.message) : \"Invalid email or password.\";\n return {\n redirectTo,\n error: message\n };\n }\n throw redirect(303, redirectTo);\n }\n};\nexport {\n actions,\n load\n};\n","import * as server from '../entries/pages/login/_page.server.ts.js';\n\nexport const index = 8;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/login/_page.svelte.js')).default;\nexport { server };\nexport const server_id = \"src/routes/login/+page.server.ts\";\nexport const imports = [\"_app/immutable/nodes/8.CQbjEMpm.js\",\"_app/immutable/chunks/Bzak7iHL.js\",\"_app/immutable/chunks/BfGs3WDN.js\",\"_app/immutable/chunks/Dc4kZMuG.js\",\"_app/immutable/chunks/BlBMKpZ6.js\",\"_app/immutable/chunks/CQe9XmLJ.js\",\"_app/immutable/chunks/C2sKwo1m.js\",\"_app/immutable/chunks/BIDFgmbM.js\",\"_app/immutable/chunks/_58MWSf2.js\",\"_app/immutable/chunks/CW15Ts-p.js\",\"_app/immutable/chunks/DTyTeadx.js\",\"_app/immutable/chunks/D7710T35.js\",\"_app/immutable/chunks/DecArsLH.js\",\"_app/immutable/chunks/By9q4dnk.js\",\"_app/immutable/chunks/BSLeMsiy.js\",\"_app/immutable/chunks/BcNtEwNR.js\",\"_app/immutable/chunks/C3gUTv4t.js\"];\nexport const stylesheets = [];\nexport const fonts = [];\n"],"names":[],"mappings":";;AACA,MAAM,IAAI,GAAG,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK;AACxC,EAAE,IAAI,MAAM,CAAC,IAAI,EAAE;AACnB,IAAI,MAAM,QAAQ,CAAC,GAAG,EAAE,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,YAAY,CAAC,IAAI,GAAG,CAAC;AAClE,E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AAC,GAAG,EAAE,UAAU,CAAC;AACnC,EAAE;AACF,CAAC;;;;;;;;AC/BW,MAAC,KAAK,GAAG;AACrB,IAAI,eAAe;AACP,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,4BAAwC,CAAC,EAAE;AAEtG,MAAC,SAAS,GAAG;AACb,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC;AAChnB,MAAC,WAAW,GAAG;AACf,MAAC,KAAK,GAAG;;;;"}
File diff suppressed because one or more lines are too long
@@ -0,0 +1,11 @@
import 'clsx';
function _layout($$renderer, $$props) {
let { children } = $$props;
$$renderer.push(`<div class="site-fullscreen">`);
children?.($$renderer);
$$renderer.push(`<!----></div>`);
}
export { _layout as default };
//# sourceMappingURL=_layout.svelte-CI-fIhZx.js.map
@@ -0,0 +1 @@
{"version":3,"file":"_layout.svelte-CI-fIhZx.js","sources":["../../../.svelte-kit/adapter-node/entries/pages/_site_/_layout.svelte.js"],"sourcesContent":["import \"clsx\";\nfunction _layout($$renderer, $$props) {\n let { children } = $$props;\n $$renderer.push(`<div class=\"site-fullscreen\">`);\n children?.($$renderer);\n $$renderer.push(`<!----></div>`);\n}\nexport {\n _layout as default\n};\n"],"names":[],"mappings":";;AACA,SAAS,OAAO,CAAC,UAAU,EAAE,OAAO,EAAE;AACtC,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,OAAO;AAC5B,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC,6BAA6B,CAAC,CAAC;AAClD,EAAE,QAAQ,GAAG,UAAU,CAAC;AACxB,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC,aAAa,CAAC,CAAC;AAClC;;;;"}
@@ -1,9 +1,11 @@
import { c as bind_props, d as spread_props, h as hasContext, f as getContext, j as setContext, p as props_id, k as derived, l as getAllContexts, m as attributes, n as lifecycle_function_unavailable, o as escape_html } from './index2-DHYCG7Ly.js';
import { h as head, c as bind_props, d as spread_props, f as hasContext, j as getContext, k as setContext, p as props_id, l as derived, m as getAllContexts, n as attributes, o as lifecycle_function_unavailable, q as escape_html } from './index2-CkPUJ4Ro.js';
import { o as on } from './root-ByBW8a1L.js';
import { g as get$2 } from './index-DAWk3dQT.js';
import './state.svelte-DhWLC4I4.js';
import 'clsx';
import { o as on } from './root-BEb1kut4.js';
import './state.svelte-CsO7NG8X.js';
import { c as cn } from './utils2-B05Dmz_H.js';
import { b as boxWith, c as createBitsAttrs, s as simpleBox, a as styleToString, d as createId, m as mergeProps, e as attachRef, f as boxFrom, g as executeCallbacks, i as isWritableSymbol, B as BoxSymbol, h as isObject, j as boxFlatten, t as toReadonlyBox, k as isBox, l as isWritableBox, n as getDataOpenClosed, o as boolToEmptyStrOrUndef, p as boolToStr, q as cssToStyleObj, L as Label, r as getDataChecked, u as getAriaChecked, v as boolToTrueOrUndef, w as composeHandlers } from './label-CsPa3Fds.js';
import { b as boxWith, c as createBitsAttrs, s as simpleBox, a as styleToString, d as createId, m as mergeProps, e as attachRef, f as boxFrom, g as executeCallbacks, i as isWritableSymbol, B as BoxSymbol, h as isObject, j as boxFlatten, t as toReadonlyBox, k as isBox, l as isWritableBox, n as getDataOpenClosed, o as boolToEmptyStrOrUndef, p as boolToStr, q as cssToStyleObj, L as Label, r as getDataChecked, u as getAriaChecked, v as boolToTrueOrUndef, w as composeHandlers } from './label-DZzblctN.js';
import { a as siteSlugs } from './sites-F_LoVfp9.js';
import 'tailwind-merge';
/*!
@@ -2277,6 +2279,11 @@ const computePosition = (reference, floating, options) => {
});
};
function html(value) {
var html2 = String(value);
var open = "<!---->";
return open + html2 + "<!---->";
}
function mount() {
lifecycle_function_unavailable("mount");
}
@@ -2285,6 +2292,27 @@ function unmount() {
}
async function tick() {
}
const getStores = () => {
const stores$1 = getContext("__svelte__");
return {
/** @type {typeof page} */
page: {
subscribe: stores$1.page.subscribe
},
/** @type {typeof navigating} */
navigating: {
subscribe: stores$1.navigating.subscribe
},
/** @type {typeof updated} */
updated: stores$1.updated
};
};
const page = {
subscribe(fn) {
const store = getStores().page;
return store.subscribe(fn);
}
};
function box(initialValue) {
let current = initialValue;
return {
@@ -4486,6 +4514,50 @@ class AvatarRootState {
return this.#props($$value);
}
}
class AvatarImageState {
static create(opts) {
return new AvatarImageState(opts, AvatarRootContext.get());
}
opts;
root;
attachment;
constructor(opts, root) {
this.opts = opts;
this.root = root;
this.attachment = attachRef(this.opts.ref);
watch.pre(
[
() => this.opts.src.current,
() => this.opts.crossOrigin.current
],
([src, crossOrigin]) => {
if (!src) {
this.root.opts.loadingStatus.current = "error";
return;
}
this.root.loadImage(src, crossOrigin, this.opts.referrerPolicy.current);
}
);
}
#props = derived(() => ({
id: this.opts.id.current,
style: {
display: this.root.opts.loadingStatus.current === "loaded" ? "block" : "none"
},
"data-status": this.root.opts.loadingStatus.current,
[avatarAttrs.image]: "",
src: this.opts.src.current,
crossorigin: this.opts.crossOrigin.current,
referrerpolicy: this.opts.referrerPolicy.current,
...this.attachment
}));
get props() {
return this.#props();
}
set props($$value) {
return this.#props($$value);
}
}
class AvatarFallbackState {
static create(opts) {
return new AvatarFallbackState(opts, AvatarRootContext.get());
@@ -4559,6 +4631,40 @@ function Avatar$1($$renderer, $$props) {
bind_props($$props, { loadingStatus, ref });
});
}
function Avatar_image$1($$renderer, $$props) {
$$renderer.component(($$renderer2) => {
const uid = props_id($$renderer2);
let {
src,
child,
id = createId(uid),
ref = null,
crossorigin = void 0,
referrerpolicy = void 0,
$$slots,
$$events,
...restProps
} = $$props;
const imageState = AvatarImageState.create({
src: boxWith(() => src),
id: boxWith(() => id),
ref: boxWith(() => ref, (v) => ref = v),
crossOrigin: boxWith(() => crossorigin),
referrerPolicy: boxWith(() => referrerpolicy)
});
const mergedProps = mergeProps(restProps, imageState.props);
if (child) {
$$renderer2.push("<!--[-->");
child($$renderer2, { props: mergedProps });
$$renderer2.push(`<!---->`);
} else {
$$renderer2.push("<!--[!-->");
$$renderer2.push(`<img${attributes({ ...mergedProps, src })} onload="this.__e=event" onerror="this.__e=event"/>`);
}
$$renderer2.push(`<!--]-->`);
bind_props($$props, { ref });
});
}
function Avatar_fallback$1($$renderer, $$props) {
$$renderer.component(($$renderer2) => {
const uid = props_id($$renderer2);
@@ -5911,6 +6017,46 @@ function Avatar($$renderer, $$props) {
bind_props($$props, { ref, loadingStatus });
});
}
function Avatar_image($$renderer, $$props) {
$$renderer.component(($$renderer2) => {
let {
ref = null,
class: className,
$$slots,
$$events,
...restProps
} = $$props;
let $$settled = true;
let $$inner_renderer;
function $$render_inner($$renderer3) {
$$renderer3.push("<!---->");
Avatar_image$1?.($$renderer3, spread_props([
{
"data-slot": "avatar-image",
class: cn("aspect-square size-full", className)
},
restProps,
{
get ref() {
return ref;
},
set ref($$value) {
ref = $$value;
$$settled = false;
}
}
]));
$$renderer3.push(`<!---->`);
}
do {
$$settled = true;
$$inner_renderer = $$renderer2.copy();
$$render_inner($$inner_renderer);
} while (!$$settled);
$$renderer2.subsume($$inner_renderer);
bind_props($$props, { ref });
});
}
function Avatar_fallback($$renderer, $$props) {
$$renderer.component(($$renderer2) => {
let {
@@ -6166,31 +6312,44 @@ function Switch($$renderer, $$props) {
bind_props($$props, { ref, checked });
});
}
const pwaInfo = { "webManifest": { "linkTag": '<link rel="manifest" href="/manifest.webmanifest">' } };
function _layout($$renderer, $$props) {
$$renderer.component(($$renderer2) => {
let { data, children } = $$props;
let pathname = get$2(page).url.pathname;
const isSiteRoute = siteSlugs.includes(pathname.slice(1).split("/")[0] ?? "");
let darkmode = false;
let onDarkmodeChange = () => {
};
head("12qhfyh", $$renderer2, ($$renderer3) => {
{
$$renderer3.push("<!--[-->");
$$renderer3.push(`${html(pwaInfo.webManifest.linkTag)}`);
}
$$renderer3.push(`<!--]-->`);
});
$$renderer2.push(`<div class="app-shell">`);
if (data.user) {
if (data.user && !isSiteRoute) {
$$renderer2.push("<!--[-->");
$$renderer2.push(`<header class="flex items-center justify-between w-full"><h1 class="text-lg font-semibold">Base</h1> `);
$$renderer2.push(`<header class="fixed right-0 top-0 z-50 flex items-center gap-2 p-2 pr-[max(0.5rem,env(safe-area-inset-right))] pt-[max(0.5rem,env(safe-area-inset-top))]" aria-label="User menu">`);
$$renderer2.push("<!---->");
Dropdown_menu?.($$renderer2, {
children: ($$renderer3) => {
$$renderer3.push("<!---->");
Dropdown_menu_trigger?.($$renderer3, {
class: "rounded-full border border-input bg-background hover:bg-accent",
class: "border-0 bg-transparent hover:bg-muted inline-flex size-10 shrink-0 items-center justify-center rounded-full focus:outline-none focus-visible:ring-2 focus-visible:ring-ring",
onclick: (e) => e.preventDefault(),
children: ($$renderer4) => {
$$renderer4.push("<!---->");
Avatar?.($$renderer4, {
class: "h-8 w-8",
class: "size-10 rounded-full",
children: ($$renderer5) => {
$$renderer5.push("<!---->");
Avatar_image?.($$renderer5, { src: data.user.avatar, alt: "" });
$$renderer5.push(`<!----> `);
$$renderer5.push("<!---->");
Avatar_fallback?.($$renderer5, {
class: "text-xs",
class: "bg-muted text-muted-foreground flex size-10 items-center justify-center rounded-full text-sm font-medium",
children: ($$renderer6) => {
$$renderer6.push(`<!---->${escape_html(data.user.name ? String(data.user.name).slice(0, 2).toUpperCase() : data.user.email ? String(data.user.email).slice(0, 2).toUpperCase() : "?")}`);
},
@@ -6208,7 +6367,7 @@ function _layout($$renderer, $$props) {
$$renderer3.push("<!---->");
Dropdown_menu_content?.($$renderer3, {
align: "end",
class: "w-48",
class: "w-56",
children: ($$renderer4) => {
$$renderer4.push(`<div class="relative flex cursor-default items-center gap-2 rounded-sm py-1.5 px-2 text-sm outline-none select-none" role="button" tabindex="0">`);
Label($$renderer4, {
@@ -6240,11 +6399,11 @@ function _layout($$renderer, $$props) {
} else {
$$renderer2.push("<!--[!-->");
}
$$renderer2.push(`<!--]--> <main class="flex-1 flex flex-col gap-4 min-h-0">`);
$$renderer2.push(`<!--]--> <div class="page-view">`);
children?.($$renderer2);
$$renderer2.push(`<!----></main></div>`);
$$renderer2.push(`<!----></div></div>`);
});
}
export { _layout as default };
//# sourceMappingURL=_layout.svelte-C9R7TwNZ.js.map
//# sourceMappingURL=_layout.svelte-D0w7MxcB.js.map
File diff suppressed because one or more lines are too long
@@ -0,0 +1,113 @@
import { h as head, t as ensure_array_like, n as attributes, y as clsx, c as bind_props, q as escape_html, w as attr, x as stringify } from './index2-CkPUJ4Ro.js';
import { C as Card, a as Card_header, b as Card_content, c as Card_title, d as Card_description } from './card-title-CgD7IUQ_.js';
import { c as cn } from './utils2-B05Dmz_H.js';
import 'clsx';
import { B as Button } from './button-BHoLc3MZ.js';
import 'tailwind-merge';
function Card_footer($$renderer, $$props) {
$$renderer.component(($$renderer2) => {
let {
ref = null,
class: className,
children,
$$slots,
$$events,
...restProps
} = $$props;
$$renderer2.push(`<div${attributes({
"data-slot": "card-footer",
class: clsx(cn("flex items-center px-6 [.border-t]:pt-6", className)),
...restProps
})}>`);
children?.($$renderer2);
$$renderer2.push(`<!----></div>`);
bind_props($$props, { ref });
});
}
function _page($$renderer, $$props) {
$$renderer.component(($$renderer2) => {
let { data } = $$props;
head("9fk07v", $$renderer2, ($$renderer3) => {
$$renderer3.title(($$renderer4) => {
$$renderer4.push(`<title>Users — Base</title>`);
});
});
$$renderer2.push(`<main class="flex min-h-0 flex-1 flex-col gap-4 p-4 sm:gap-6 sm:p-6"><h1 class="text-2xl font-semibold">Users</h1> <div class="grid gap-4 sm:grid-cols-2 lg:grid-cols-3"><!--[-->`);
const each_array = ensure_array_like(data.users);
for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {
let user = each_array[$$index];
$$renderer2.push("<!---->");
Card?.($$renderer2, {
class: "flex flex-col",
children: ($$renderer3) => {
$$renderer3.push("<!---->");
Card_header?.($$renderer3, {
class: "flex flex-row items-center gap-3",
children: ($$renderer4) => {
$$renderer4.push(`<div class="flex size-10 shrink-0 items-center justify-center rounded-full bg-muted text-muted-foreground text-sm font-medium">${escape_html(user.name ? String(user.name).slice(0, 2).toUpperCase() : user.email ? String(user.email).slice(0, 2).toUpperCase() : "?")}</div> <div class="min-w-0 flex-1">`);
$$renderer4.push("<!---->");
Card_title?.($$renderer4, {
class: "truncate",
children: ($$renderer5) => {
$$renderer5.push(`<!---->${escape_html(user.name ?? user.email ?? user.id)}`);
},
$$slots: { default: true }
});
$$renderer4.push(`<!----> `);
if (user.email && user.name) {
$$renderer4.push("<!--[-->");
$$renderer4.push("<!---->");
Card_description?.($$renderer4, {
class: "truncate text-xs",
children: ($$renderer5) => {
$$renderer5.push(`<!---->${escape_html(user.email)}`);
},
$$slots: { default: true }
});
$$renderer4.push(`<!---->`);
} else {
$$renderer4.push("<!--[!-->");
}
$$renderer4.push(`<!--]--></div>`);
},
$$slots: { default: true }
});
$$renderer3.push(`<!----> `);
$$renderer3.push("<!---->");
Card_content?.($$renderer3, {
class: "flex-1",
children: ($$renderer4) => {
$$renderer4.push(`<p class="text-muted-foreground text-sm">Prism ${escape_html(user.prism ? "✓" : "—")} · TasGrid ${escape_html(user.tasgrid ? "✓" : "—")} · Stackq ${escape_html(user.stackq ? "✓" : "—")} · HRM ${escape_html(user.hrm ? "✓" : "—")}</p>`);
},
$$slots: { default: true }
});
$$renderer3.push(`<!----> `);
$$renderer3.push("<!---->");
Card_footer?.($$renderer3, {
children: ($$renderer4) => {
$$renderer4.push(`<a${attr("href", `/users/${stringify(user.id)}`)} class="block">`);
Button($$renderer4, {
variant: "outline",
class: "w-full",
children: ($$renderer5) => {
$$renderer5.push(`<!---->View`);
},
$$slots: { default: true }
});
$$renderer4.push(`<!----></a>`);
},
$$slots: { default: true }
});
$$renderer3.push(`<!---->`);
},
$$slots: { default: true }
});
$$renderer2.push(`<!---->`);
}
$$renderer2.push(`<!--]--></div></main>`);
});
}
export { _page as default };
//# sourceMappingURL=_page.svelte-B3VFjB5u.js.map
File diff suppressed because one or more lines are too long
@@ -1,7 +1,7 @@
import { r as attr } from './index2-DHYCG7Ly.js';
import './root-BEb1kut4.js';
import './state.svelte-CsO7NG8X.js';
import { B as Button } from './button-DEEgteap.js';
import { w as attr } from './index2-CkPUJ4Ro.js';
import './root-ByBW8a1L.js';
import './state.svelte-DhWLC4I4.js';
import { B as Button } from './button-BHoLc3MZ.js';
import 'clsx';
import './utils2-B05Dmz_H.js';
import 'tailwind-merge';
@@ -20,4 +20,4 @@ function _page($$renderer, $$props) {
}
export { _page as default };
//# sourceMappingURL=_page.svelte-CzjPx6eH.js.map
//# sourceMappingURL=_page.svelte-BRCUc0Y4.js.map
@@ -1 +1 @@
{"version":3,"file":"_page.svelte-CzjPx6eH.js","sources":["../../../.svelte-kit/adapter-node/entries/pages/logout/_page.svelte.js"],"sourcesContent":["import { i as attr } from \"../../../chunks/index2.js\";\nimport \"@sveltejs/kit/internal\";\nimport \"../../../chunks/exports.js\";\nimport \"../../../chunks/utils.js\";\nimport \"@sveltejs/kit/internal/server\";\nimport \"../../../chunks/root.js\";\nimport \"../../../chunks/state.svelte.js\";\nimport { B as Button } from \"../../../chunks/button.js\";\nfunction _page($$renderer, $$props) {\n let { formAction } = $$props;\n $$renderer.push(`<div class=\"app-shell flex items-center justify-center min-h-[200px]\"><form method=\"POST\"${attr(\"action\", formAction)}>`);\n Button($$renderer, {\n type: \"submit\",\n children: ($$renderer2) => {\n $$renderer2.push(`<!---->Log out`);\n },\n $$slots: { default: true }\n });\n $$renderer.push(`<!----></form></div>`);\n}\nexport {\n _page as default\n};\n"],"names":[],"mappings":";;;;;;;;AAQA,SAAS,KAAK,CAAC,UAAU,EAAE,OAAO,EAAE;AACpC,EAAE,IAAI,EAAE,UAAU,EAAE,GAAG,OAAO;AAC9B,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC,yFAAyF,EAAE,IAAI,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC;AAC5I,EAAE,MAAM,CAAC,UAAU,EAAE;AACrB,IAAI,IAAI,EAAE,QAAQ;AAClB,IAAI,QAAQ,EAAE,CAAC,WAAW,KAAK;AAC/B,MAAM,WAAW,CAAC,IAAI,CAAC,CAAC,cAAc,CAAC,CAAC;AACxC,IAAI,CAAC;AACL,IAAI,OAAO,EAAE,EAAE,OAAO,EAAE,IAAI;AAC5B,GAAG,CAAC;AACJ,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC,oBAAoB,CAAC,CAAC;AACzC;;;;"}
{"version":3,"file":"_page.svelte-BRCUc0Y4.js","sources":["../../../.svelte-kit/adapter-node/entries/pages/logout/_page.svelte.js"],"sourcesContent":["import { k as attr } from \"../../../chunks/index2.js\";\nimport \"@sveltejs/kit/internal\";\nimport \"../../../chunks/exports.js\";\nimport \"../../../chunks/utils.js\";\nimport \"@sveltejs/kit/internal/server\";\nimport \"../../../chunks/root.js\";\nimport \"../../../chunks/state.svelte.js\";\nimport { B as Button } from \"../../../chunks/button.js\";\nfunction _page($$renderer, $$props) {\n let { formAction } = $$props;\n $$renderer.push(`<div class=\"app-shell flex items-center justify-center min-h-[200px]\"><form method=\"POST\"${attr(\"action\", formAction)}>`);\n Button($$renderer, {\n type: \"submit\",\n children: ($$renderer2) => {\n $$renderer2.push(`<!---->Log out`);\n },\n $$slots: { default: true }\n });\n $$renderer.push(`<!----></form></div>`);\n}\nexport {\n _page as default\n};\n"],"names":[],"mappings":";;;;;;;;AAQA,SAAS,KAAK,CAAC,UAAU,EAAE,OAAO,EAAE;AACpC,EAAE,IAAI,EAAE,UAAU,EAAE,GAAG,OAAO;AAC9B,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC,yFAAyF,EAAE,IAAI,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC;AAC5I,EAAE,MAAM,CAAC,UAAU,EAAE;AACrB,IAAI,IAAI,EAAE,QAAQ;AAClB,IAAI,QAAQ,EAAE,CAAC,WAAW,KAAK;AAC/B,MAAM,WAAW,CAAC,IAAI,CAAC,CAAC,cAAc,CAAC,CAAC;AACxC,IAAI,CAAC;AACL,IAAI,OAAO,EAAE,EAAE,OAAO,EAAE,IAAI;AAC5B,GAAG,CAAC;AACJ,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC,oBAAoB,CAAC,CAAC;AACzC;;;;"}
@@ -0,0 +1,37 @@
import { t as ensure_array_like, w as attr, x as stringify, q as escape_html } from './index2-CkPUJ4Ro.js';
import { B as Button } from './button-BHoLc3MZ.js';
import { a as siteSlugs, s as sites } from './sites-F_LoVfp9.js';
import 'clsx';
import './utils2-B05Dmz_H.js';
import 'tailwind-merge';
function _page($$renderer, $$props) {
$$renderer.component(($$renderer2) => {
let { data } = $$props;
const visibleSlugs = data.user ? siteSlugs.filter((slug) => data.user && data.user[slug] === true) : [];
{
$$renderer2.push("<!--[!-->");
$$renderer2.push(`<main class="flex min-h-0 flex-1 flex-col items-center justify-center gap-4 p-4 sm:gap-6 sm:p-6"><h1 class="text-2xl font-semibold">Base</h1> <div class="flex w-full max-w-xs flex-col gap-3"><!--[-->`);
const each_array = ensure_array_like(visibleSlugs);
for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {
let slug = each_array[$$index];
const site = sites[slug];
$$renderer2.push(`<a${attr("href", `/${stringify(slug)}`)} class="block">`);
Button($$renderer2, {
class: "h-16 w-full min-h-16",
variant: "outline",
children: ($$renderer3) => {
$$renderer3.push(`<!---->${escape_html(site.title)}`);
},
$$slots: { default: true }
});
$$renderer2.push(`<!----></a>`);
}
$$renderer2.push(`<!--]--></div></main>`);
}
$$renderer2.push(`<!--]-->`);
});
}
export { _page as default };
//# sourceMappingURL=_page.svelte-BdajIn5A.js.map
@@ -0,0 +1 @@
{"version":3,"file":"_page.svelte-BdajIn5A.js","sources":["../../../.svelte-kit/adapter-node/entries/pages/_page.svelte.js"],"sourcesContent":["import { j as ensure_array_like, k as attr, i as escape_html, m as stringify } from \"../../chunks/index2.js\";\nimport { B as Button } from \"../../chunks/button.js\";\nimport { s as siteSlugs, a as sites } from \"../../chunks/sites.js\";\nfunction _page($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let { data } = $$props;\n const visibleSlugs = data.user ? siteSlugs.filter((slug) => data.user && data.user[slug] === true) : [];\n {\n $$renderer2.push(\"<!--[!-->\");\n $$renderer2.push(`<main class=\"flex min-h-0 flex-1 flex-col items-center justify-center gap-4 p-4 sm:gap-6 sm:p-6\"><h1 class=\"text-2xl font-semibold\">Base</h1> <div class=\"flex w-full max-w-xs flex-col gap-3\"><!--[-->`);\n const each_array = ensure_array_like(visibleSlugs);\n for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {\n let slug = each_array[$$index];\n const site = sites[slug];\n $$renderer2.push(`<a${attr(\"href\", `/${stringify(slug)}`)} class=\"block\">`);\n Button($$renderer2, {\n class: \"h-16 w-full min-h-16\",\n variant: \"outline\",\n children: ($$renderer3) => {\n $$renderer3.push(`<!---->${escape_html(site.title)}`);\n },\n $$slots: { default: true }\n });\n $$renderer2.push(`<!----></a>`);\n }\n $$renderer2.push(`<!--]--></div></main>`);\n }\n $$renderer2.push(`<!--]-->`);\n });\n}\nexport {\n _page as default\n};\n"],"names":[],"mappings":";;;;;;;AAGA,SAAS,KAAK,CAAC,UAAU,EAAE,OAAO,EAAE;AACpC,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,WAAW,KAAK;AACxC,IAAI,IAAI,EAAE,IAAI,EAAE,GAAG,OAAO;AAC1B,IAAI,MAAM,YAAY,GAAG,IAAI,CAAC,IAAI,GAAG,SAAS,CAAC,MAAM,CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,IAAI,CAAC,GAAG,EAAE;AAC3G,IAAI;AACJ,MAAM,WAAW,CAAC,IAAI,CAAC,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z_H.js';
import 'tailwind-merge';
function _page($$renderer, $$props) {
$$renderer.component(($$renderer2) => {
let { data } = $$props;
head("mbpe06", $$renderer2, ($$renderer3) => {
$$renderer3.title(($$renderer4) => {
$$renderer4.push(`<title>${escape_html(data.title)} — Base</title>`);
});
});
$$renderer2.push(`<main class="relative flex-1 min-h-0 min-w-0 flex flex-col"><iframe id="app-iframe"${attr("title", data.title)}${attr("src", data.url)} class="absolute inset-0 w-full h-full border-0 rounded-none"></iframe> <div class="absolute top-2 left-1/2 -translate-x-1/2 z-10 flex items-center justify-center pointer-events-none pt-[env(safe-area-inset-top)]" aria-hidden="true"><div class="pointer-events-auto"><a href="/">`);
Button($$renderer2, {
type: "button",
variant: "secondary",
class: "shadow-md",
children: ($$renderer3) => {
$$renderer3.push(`<!---->Base`);
},
$$slots: { default: true }
});
$$renderer2.push(`<!----></a></div></div></main>`);
});
}
export { _page as default };
//# sourceMappingURL=_page.svelte-C4xf7w51.js.map
@@ -0,0 +1 @@
{"version":3,"file":"_page.svelte-C4xf7w51.js","sources":["../../../.svelte-kit/adapter-node/entries/pages/_site_/_page.svelte.js"],"sourcesContent":["import { f as head, k as attr, i as escape_html } from \"../../../chunks/index2.js\";\nimport { B as Button } from \"../../../chunks/button.js\";\nfunction _page($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let { data } = $$props;\n head(\"mbpe06\", $$renderer2, ($$renderer3) => {\n $$renderer3.title(($$renderer4) => {\n $$renderer4.push(`<title>${escape_html(data.title)} — Base</title>`);\n });\n });\n $$renderer2.push(`<main class=\"relative flex-1 min-h-0 min-w-0 flex flex-col\"><iframe id=\"app-iframe\"${attr(\"title\", data.title)}${attr(\"src\", data.url)} class=\"absolute inset-0 w-full h-full border-0 rounded-none\"></iframe> <div class=\"absolute top-2 left-1/2 -translate-x-1/2 z-10 flex items-center justify-center pointer-events-none pt-[env(safe-area-inset-top)]\" aria-hidden=\"true\"><div class=\"pointer-events-auto\"><a href=\"/\">`);\n Button($$renderer2, {\n type: \"button\",\n variant: \"secondary\",\n class: \"shadow-md\",\n children: ($$renderer3) => {\n $$renderer3.push(`<!---->Base`);\n },\n $$slots: { default: true }\n });\n $$renderer2.push(`<!----></a></div></div></main>`);\n });\n}\nexport {\n _page as default\n};\n"],"names":[],"mappings":";;;;;;AAEA,SAAS,KAAK,CAAC,UAAU,EAAE,OAAO,EAAE;AACpC,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,WAAW,KAAK;AACxC,IAAI,IAAI,EAAE,IAAI,EAAE,GAAG,OAAO;AAC1B,IAAI,IAAI,CAAC,QAAQ,EAAE,WAAW,EAAE,CAAC,WAAW,KAAK;AACjD,MAAM,WAAW,CAAC,KAAK,CAAC,CAAC,WAAW,KAAK;AACzC,QAAQ,WAAW,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,eAAe,CAAC,CAAC;AAC5E,MAAM,CAAC,CAAC;AACR,IAAI,CAAC,CAAC;AACN,IAAI,WAAW,CAAC,IAAI,CAAC,CAAC,mFAAmF,EAAE,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC,sRAAsR,CAAC,CAAC;AACrb,IAAI,MAAM,CAAC,WAAW,EAAE;AACxB,MAAM,IAAI,EAAE,QAAQ;AACpB,MAAM,OAAO,EAAE,WAAW;AAC1B,MAAM,KAAK,EAAE,WAAW;AACxB,MAAM,QAAQ,EAAE,CAAC,WAAW,KAAK;AACjC,QAAQ,WAAW,CAAC,IAAI,CAAC,CAAC,WAAW,CAAC,CAAC;AACvC,MAAM,CAAC;AACP,MAAM,OAAO,EAAE,EAAE,OAAO,EAAE,IAAI;AAC9B,KAAK,CAAC;AACN,IAAI,WAAW,CAAC,IAAI,CAAC,CAAC,8BAA8B,CAAC,CAAC;AACtD,EAAE,CAAC,CAAC;AACJ;;;;"}
File diff suppressed because one or more lines are too long
@@ -1,9 +1,10 @@
import { m as attributes, t as clsx, c as bind_props, r as attr, o as escape_html } from './index2-DHYCG7Ly.js';
import './root-BEb1kut4.js';
import './state.svelte-CsO7NG8X.js';
import { B as Button } from './button-DEEgteap.js';
import { w as attr, q as escape_html, n as attributes, y as clsx, c as bind_props } from './index2-CkPUJ4Ro.js';
import './root-ByBW8a1L.js';
import './state.svelte-DhWLC4I4.js';
import { B as Button } from './button-BHoLc3MZ.js';
import { c as cn } from './utils2-B05Dmz_H.js';
import { L as Label } from './label-CsPa3Fds.js';
import { L as Label } from './label-DZzblctN.js';
import { C as Card, a as Card_header, c as Card_title, d as Card_description, b as Card_content } from './card-title-CgD7IUQ_.js';
import 'clsx';
import 'tailwind-merge';
@@ -54,106 +55,6 @@ function Input($$renderer, $$props) {
bind_props($$props, { ref, value, files });
});
}
function Card($$renderer, $$props) {
$$renderer.component(($$renderer2) => {
let {
ref = null,
class: className,
children,
$$slots,
$$events,
...restProps
} = $$props;
$$renderer2.push(`<div${attributes({
"data-slot": "card",
class: clsx(cn("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm", className)),
...restProps
})}>`);
children?.($$renderer2);
$$renderer2.push(`<!----></div>`);
bind_props($$props, { ref });
});
}
function Card_content($$renderer, $$props) {
$$renderer.component(($$renderer2) => {
let {
ref = null,
class: className,
children,
$$slots,
$$events,
...restProps
} = $$props;
$$renderer2.push(`<div${attributes({
"data-slot": "card-content",
class: clsx(cn("px-6", className)),
...restProps
})}>`);
children?.($$renderer2);
$$renderer2.push(`<!----></div>`);
bind_props($$props, { ref });
});
}
function Card_description($$renderer, $$props) {
$$renderer.component(($$renderer2) => {
let {
ref = null,
class: className,
children,
$$slots,
$$events,
...restProps
} = $$props;
$$renderer2.push(`<p${attributes({
"data-slot": "card-description",
class: clsx(cn("text-muted-foreground text-sm", className)),
...restProps
})}>`);
children?.($$renderer2);
$$renderer2.push(`<!----></p>`);
bind_props($$props, { ref });
});
}
function Card_header($$renderer, $$props) {
$$renderer.component(($$renderer2) => {
let {
ref = null,
class: className,
children,
$$slots,
$$events,
...restProps
} = $$props;
$$renderer2.push(`<div${attributes({
"data-slot": "card-header",
class: clsx(cn("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6", className)),
...restProps
})}>`);
children?.($$renderer2);
$$renderer2.push(`<!----></div>`);
bind_props($$props, { ref });
});
}
function Card_title($$renderer, $$props) {
$$renderer.component(($$renderer2) => {
let {
ref = null,
class: className,
children,
$$slots,
$$events,
...restProps
} = $$props;
$$renderer2.push(`<div${attributes({
"data-slot": "card-title",
class: clsx(cn("leading-none font-semibold", className)),
...restProps
})}>`);
children?.($$renderer2);
$$renderer2.push(`<!----></div>`);
bind_props($$props, { ref });
});
}
function _page($$renderer, $$props) {
$$renderer.component(($$renderer2) => {
let { data, formAction } = $$props;
@@ -251,4 +152,4 @@ function _page($$renderer, $$props) {
}
export { _page as default };
//# sourceMappingURL=_page.svelte-CYuAo59m.js.map
//# sourceMappingURL=_page.svelte-CkSLjmVD.js.map
File diff suppressed because one or more lines are too long
@@ -0,0 +1,77 @@
import { h as head, q as escape_html } from './index2-CkPUJ4Ro.js';
import { C as Card, a as Card_header, c as Card_title, d as Card_description, b as Card_content } from './card-title-CgD7IUQ_.js';
import 'clsx';
import { B as Button } from './button-BHoLc3MZ.js';
import './utils2-B05Dmz_H.js';
import 'tailwind-merge';
function _page($$renderer, $$props) {
$$renderer.component(($$renderer2) => {
let { data } = $$props;
const user = data.user;
head("xnw5yb", $$renderer2, ($$renderer3) => {
$$renderer3.title(($$renderer4) => {
$$renderer4.push(`<title>${escape_html(user.name ?? user.email ?? "User")} — Base</title>`);
});
});
$$renderer2.push(`<main class="flex min-h-0 flex-1 flex-col gap-4 p-4 sm:gap-6 sm:p-6"><a href="/users" class="self-start">`);
Button($$renderer2, {
variant: "ghost",
size: "sm",
children: ($$renderer3) => {
$$renderer3.push(`<!---->← Users`);
},
$$slots: { default: true }
});
$$renderer2.push(`<!----></a> `);
$$renderer2.push("<!---->");
Card?.($$renderer2, {
class: "max-w-md",
children: ($$renderer3) => {
$$renderer3.push("<!---->");
Card_header?.($$renderer3, {
children: ($$renderer4) => {
$$renderer4.push("<!---->");
Card_title?.($$renderer4, {
children: ($$renderer5) => {
$$renderer5.push(`<!---->${escape_html(user.name ?? user.email ?? user.id)}`);
},
$$slots: { default: true }
});
$$renderer4.push(`<!----> `);
if (user.email) {
$$renderer4.push("<!--[-->");
$$renderer4.push("<!---->");
Card_description?.($$renderer4, {
children: ($$renderer5) => {
$$renderer5.push(`<!---->${escape_html(user.email)}`);
},
$$slots: { default: true }
});
$$renderer4.push(`<!---->`);
} else {
$$renderer4.push("<!--[!-->");
}
$$renderer4.push(`<!--]-->`);
},
$$slots: { default: true }
});
$$renderer3.push(`<!----> `);
$$renderer3.push("<!---->");
Card_content?.($$renderer3, {
class: "flex flex-col gap-2",
children: ($$renderer4) => {
$$renderer4.push(`<p class="text-muted-foreground text-sm"><span class="font-medium text-foreground">Access:</span><br/> Prism ${escape_html(user.prism ? "✓" : "—")} · TasGrid ${escape_html(user.tasgrid ? "✓" : "—")} · Stackq ${escape_html(user.stackq ? "✓" : "—")} · HRM ${escape_html(user.hrm ? "✓" : "—")}</p> <p class="text-muted-foreground text-sm"><span class="font-medium text-foreground">Dark mode:</span> ${escape_html(user.darkmode ? "On" : "Off")}</p>`);
},
$$slots: { default: true }
});
$$renderer3.push(`<!---->`);
},
$$slots: { default: true }
});
$$renderer2.push(`<!----></main>`);
});
}
export { _page as default };
//# sourceMappingURL=_page.svelte-U_BmklAY.js.map
File diff suppressed because one or more lines are too long
@@ -1,52 +0,0 @@
import 'clsx';
import { B as Button } from './button-DEEgteap.js';
import './index2-DHYCG7Ly.js';
import './utils2-B05Dmz_H.js';
import 'tailwind-merge';
function _page($$renderer, $$props) {
let { data } = $$props;
{
$$renderer.push("<!--[!-->");
$$renderer.push(`<main class="flex min-h-0 flex-1 flex-col items-center justify-center gap-6 p-6"><h1 class="text-2xl font-semibold">Base</h1> <div class="flex w-full max-w-xs flex-col gap-3"><a href="https://prism.ccllc.pro" class="block" target="_blank" rel="noopener noreferrer">`);
Button($$renderer, {
class: "h-12 w-full min-h-12",
children: ($$renderer2) => {
$$renderer2.push(`<!---->Prism`);
},
$$slots: { default: true }
});
$$renderer.push(`<!----></a> <a href="https://tasgrid.ccllc.pro" class="block" target="_blank" rel="noopener noreferrer">`);
Button($$renderer, {
class: "h-12 min-h-12 w-full",
variant: "outline",
children: ($$renderer2) => {
$$renderer2.push(`<!---->TasGrid`);
},
$$slots: { default: true }
});
$$renderer.push(`<!----></a> <a href="https://stackq.ccllc.pro" class="block" target="_blank" rel="noopener noreferrer">`);
Button($$renderer, {
class: "h-12 min-h-12 w-full",
variant: "outline",
children: ($$renderer2) => {
$$renderer2.push(`<!---->Stackq`);
},
$$slots: { default: true }
});
$$renderer.push(`<!----></a> <a href="https://hrm.ccllc.pro" class="block" target="_blank" rel="noopener noreferrer">`);
Button($$renderer, {
class: "h-12 min-h-12 w-full",
variant: "outline",
children: ($$renderer2) => {
$$renderer2.push(`<!---->HRM`);
},
$$slots: { default: true }
});
$$renderer.push(`<!----></a></div></main>`);
}
$$renderer.push(`<!--]-->`);
}
export { _page as default };
//# sourceMappingURL=_page.svelte-fWQjRNRW.js.map
@@ -1 +0,0 @@
{"version":3,"file":"_page.svelte-fWQjRNRW.js","sources":["../../../.svelte-kit/adapter-node/entries/pages/_page.svelte.js"],"sourcesContent":["import \"clsx\";\nimport { B as Button } from \"../../chunks/button.js\";\nfunction _page($$renderer, $$props) {\n let { data } = $$props;\n {\n $$renderer.push(\"<!--[!-->\");\n $$renderer.push(`<main class=\"flex min-h-0 flex-1 flex-col items-center justify-center gap-6 p-6\"><h1 class=\"text-2xl font-semibold\">Base</h1> <div class=\"flex w-full max-w-xs flex-col gap-3\"><a href=\"https://prism.ccllc.pro\" class=\"block\" target=\"_blank\" rel=\"noopener noreferrer\">`);\n Button($$renderer, {\n class: \"h-12 w-full min-h-12\",\n children: ($$renderer2) => {\n $$renderer2.push(`<!---->Prism`);\n },\n $$slots: { default: true }\n });\n $$renderer.push(`<!----></a> <a href=\"https://tasgrid.ccllc.pro\" class=\"block\" target=\"_blank\" rel=\"noopener noreferrer\">`);\n Button($$renderer, {\n class: \"h-12 min-h-12 w-full\",\n variant: \"outline\",\n children: ($$renderer2) => {\n $$renderer2.push(`<!---->TasGrid`);\n },\n $$slots: { default: true }\n });\n $$renderer.push(`<!----></a> <a href=\"https://stackq.ccllc.pro\" class=\"block\" target=\"_blank\" rel=\"noopener noreferrer\">`);\n Button($$renderer, {\n class: \"h-12 min-h-12 w-full\",\n variant: \"outline\",\n children: ($$renderer2) => {\n $$renderer2.push(`<!---->Stackq`);\n },\n $$slots: { default: true }\n });\n $$renderer.push(`<!----></a> <a href=\"https://hrm.ccllc.pro\" class=\"block\" target=\"_blank\" rel=\"noopener noreferrer\">`);\n Button($$renderer, {\n class: \"h-12 min-h-12 w-full\",\n variant: \"outline\",\n children: ($$renderer2) => {\n $$renderer2.push(`<!---->HRM`);\n },\n $$slots: { default: true }\n });\n $$renderer.push(`<!----></a></div></main>`);\n }\n $$renderer.push(`<!--]-->`);\n}\nexport {\n _page as default\n};\n"],"names":[],"mappings":";;;;;;AAEA,SAAS,KAAK,CAAC,UAAU,EAAE,OAAO,EAAE;AACpC,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,OAAO;AACxB,EAAE;AACF,IAAI,UAAU,CAAC,IAAI,CAAC,WAAW,CAAC;AAChC,IAAI,UAAU,CAAC,IAAI,CAAC,CAAC,yQAAyQ,CAAC,CAAC;AAChS,IAAI,MAAM,CAAC,UAAU,EAAE;AACvB,MAAM,KAAK,EAAE,sBAAsB;AACnC,MAAM,QAAQ,EAAE,CAAC,WAAW,KAAK;AACjC,QAAQ,WAAW,CAAC,IAAI,CAAC,CAAC,YAAY,CAAC,C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CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC;AAC7B;;;;"}
@@ -1,4 +1,4 @@
import { m as attributes, t as clsx, c as bind_props } from './index2-DHYCG7Ly.js';
import { n as attributes, y as clsx, c as bind_props } from './index2-CkPUJ4Ro.js';
import { c as cn } from './utils2-B05Dmz_H.js';
import { twMerge, extendTailwindMerge } from 'tailwind-merge';
@@ -469,4 +469,4 @@ function Button($$renderer, $$props) {
}
export { Button as B };
//# sourceMappingURL=button-DEEgteap.js.map
//# sourceMappingURL=button-BHoLc3MZ.js.map
File diff suppressed because one or more lines are too long
+106
View File
@@ -0,0 +1,106 @@
import { n as attributes, y as clsx, c as bind_props } from './index2-CkPUJ4Ro.js';
import { c as cn } from './utils2-B05Dmz_H.js';
function Card($$renderer, $$props) {
$$renderer.component(($$renderer2) => {
let {
ref = null,
class: className,
children,
$$slots,
$$events,
...restProps
} = $$props;
$$renderer2.push(`<div${attributes({
"data-slot": "card",
class: clsx(cn("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm", className)),
...restProps
})}>`);
children?.($$renderer2);
$$renderer2.push(`<!----></div>`);
bind_props($$props, { ref });
});
}
function Card_content($$renderer, $$props) {
$$renderer.component(($$renderer2) => {
let {
ref = null,
class: className,
children,
$$slots,
$$events,
...restProps
} = $$props;
$$renderer2.push(`<div${attributes({
"data-slot": "card-content",
class: clsx(cn("px-6", className)),
...restProps
})}>`);
children?.($$renderer2);
$$renderer2.push(`<!----></div>`);
bind_props($$props, { ref });
});
}
function Card_description($$renderer, $$props) {
$$renderer.component(($$renderer2) => {
let {
ref = null,
class: className,
children,
$$slots,
$$events,
...restProps
} = $$props;
$$renderer2.push(`<p${attributes({
"data-slot": "card-description",
class: clsx(cn("text-muted-foreground text-sm", className)),
...restProps
})}>`);
children?.($$renderer2);
$$renderer2.push(`<!----></p>`);
bind_props($$props, { ref });
});
}
function Card_header($$renderer, $$props) {
$$renderer.component(($$renderer2) => {
let {
ref = null,
class: className,
children,
$$slots,
$$events,
...restProps
} = $$props;
$$renderer2.push(`<div${attributes({
"data-slot": "card-header",
class: clsx(cn("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6", className)),
...restProps
})}>`);
children?.($$renderer2);
$$renderer2.push(`<!----></div>`);
bind_props($$props, { ref });
});
}
function Card_title($$renderer, $$props) {
$$renderer.component(($$renderer2) => {
let {
ref = null,
class: className,
children,
$$slots,
$$events,
...restProps
} = $$props;
$$renderer2.push(`<div${attributes({
"data-slot": "card-title",
class: clsx(cn("leading-none font-semibold", className)),
...restProps
})}>`);
children?.($$renderer2);
$$renderer2.push(`<!----></div>`);
bind_props($$props, { ref });
});
}
export { Card as C, Card_header as a, Card_content as b, Card_title as c, Card_description as d };
//# sourceMappingURL=card-title-CgD7IUQ_.js.map
File diff suppressed because one or more lines are too long
@@ -1,8 +1,8 @@
import { o as escape_html, f as getContext } from './index2-DHYCG7Ly.js';
import { q as escape_html, j as getContext } from './index2-CkPUJ4Ro.js';
import 'clsx';
import './state.svelte-CsO7NG8X.js';
import './root-BEb1kut4.js';
import { w as writable } from './index-BGaaC8Kf.js';
import './state.svelte-DhWLC4I4.js';
import './root-ByBW8a1L.js';
import { w as writable } from './index-DAWk3dQT.js';
function create_updated_store() {
const { set, subscribe } = writable(false);
@@ -39,4 +39,4 @@ function Error$1($$renderer, $$props) {
}
export { Error$1 as default };
//# sourceMappingURL=error.svelte-C7iligE9.js.map
//# sourceMappingURL=error.svelte-p_aBQ2un.js.map
@@ -1 +1 @@
{"version":3,"file":"error.svelte-C7iligE9.js","sources":["../../../.svelte-kit/adapter-node/entries/fallbacks/error.svelte.js"],"sourcesContent":["import { g as getContext, f as escape_html } from \"../../chunks/index2.js\";\nimport \"clsx\";\nimport \"../../chunks/state.svelte.js\";\nimport \"@sveltejs/kit/internal\";\nimport \"../../chunks/exports.js\";\nimport \"../../chunks/utils.js\";\nimport { w as writable } from \"../../chunks/index.js\";\nimport \"@sveltejs/kit/internal/server\";\nimport \"../../chunks/root.js\";\nfunction create_updated_store() {\n const { set, subscribe } = writable(false);\n {\n return {\n subscribe,\n // eslint-disable-next-line @typescript-eslint/require-await\n check: async () => false\n };\n }\n}\nconst stores = {\n updated: /* @__PURE__ */ create_updated_store()\n};\n({\n check: stores.updated.check\n});\nfunction context() {\n return getContext(\"__request__\");\n}\nconst page$1 = {\n get error() {\n return context().page.error;\n },\n get status() {\n return context().page.status;\n }\n};\nconst page = page$1;\nfunction Error$1($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n $$renderer2.push(`<h1>${escape_html(page.status)}</h1> <p>${escape_html(page.error?.message)}</p>`);\n });\n}\nexport {\n Error$1 as default\n};\n"],"names":[],"mappings":";;;;;;AASA,SAAS,oBAAoB,GAAG;AAChC,EAAE,MAAM,EAAE,GAAG,EAAE,SAAS,EAAE,GAAG,QAAQ,CAAC,KAAK,CAAC;AAC5C,EAAE;AACF,IAAI,OAAO;AACX,MAAM,SAAS;AACf;AACA,MAAM,KAAK,EAAE,YAAY;AACzB,KAAK;AACL,EAAE;AACF;AACA,MAAM,MAAM,GAAG;AACf,EAAE,OAAO,kBAAkB,oBAAoB;AAC/C,CAAC;AACD,CAAC;AACD,EAAE,KAAK,EAAE,MAAM,CAAC,OAAO,CAAC;AACxB,CAAC;AACD,SAAS,OAAO,GAAG;AACnB,EAAE,OAAO,UAAU,CAAC,aAAa,CAAC;AAClC;AACA,MAAM,MAAM,GAAG;AACf,EAAE,IAAI,KAAK,GAAG;AACd,IAAI,OAAO,OAAO,EAAE,CAAC,IAAI,CAAC,KAAK;AAC/B,EAAE,CAAC;AACH,EAAE,IAAI,MAAM,GAAG;AACf,IAAI,OAAO,OAAO,EAAE,CAAC,IAAI,CAAC,MAAM;AAChC,EAAE;AACF,CAAC;AACD,MAAM,IAAI,GAAG,MAAM;AACnB,SAAS,OAAO,CAAC,UAAU,EAAE,OAAO,EAAE;AACtC,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,WAAW,KAAK;AACxC,IAAI,WAAW,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,SAAS,EAAE,WAAW,CAAC,IAAI,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AACvG,EAAE,CAAC,CAAC;AACJ;;;;"}
{"version":3,"file":"error.svelte-p_aBQ2un.js","sources":["../../../.svelte-kit/adapter-node/entries/fallbacks/error.svelte.js"],"sourcesContent":["import { g as getContext, i as escape_html } from \"../../chunks/index2.js\";\nimport \"clsx\";\nimport \"../../chunks/state.svelte.js\";\nimport \"@sveltejs/kit/internal\";\nimport \"../../chunks/exports.js\";\nimport \"../../chunks/utils.js\";\nimport { w as writable } from \"../../chunks/index.js\";\nimport \"@sveltejs/kit/internal/server\";\nimport \"../../chunks/root.js\";\nfunction create_updated_store() {\n const { set, subscribe } = writable(false);\n {\n return {\n subscribe,\n // eslint-disable-next-line @typescript-eslint/require-await\n check: async () => false\n };\n }\n}\nconst stores = {\n updated: /* @__PURE__ */ create_updated_store()\n};\n({\n check: stores.updated.check\n});\nfunction context() {\n return getContext(\"__request__\");\n}\nconst page$1 = {\n get error() {\n return context().page.error;\n },\n get status() {\n return context().page.status;\n }\n};\nconst page = page$1;\nfunction Error$1($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n $$renderer2.push(`<h1>${escape_html(page.status)}</h1> <p>${escape_html(page.error?.message)}</p>`);\n });\n}\nexport {\n Error$1 as default\n};\n"],"names":[],"mappings":";;;;;;AASA,SAAS,oBAAoB,GAAG;AAChC,EAAE,MAAM,EAAE,GAAG,EAAE,SAAS,EAAE,GAAG,QAAQ,CAAC,KAAK,CAAC;AAC5C,EAAE;AACF,IAAI,OAAO;AACX,MAAM,SAAS;AACf;AACA,MAAM,KAAK,EAAE,YAAY;AACzB,KAAK;AACL,EAAE;AACF;AACA,MAAM,MAAM,GAAG;AACf,EAAE,OAAO,kBAAkB,oBAAoB;AAC/C,CAAC;AACD,CAAC;AACD,EAAE,KAAK,EAAE,MAAM,CAAC,OAAO,CAAC;AACxB,CAAC;AACD,SAAS,OAAO,GAAG;AACnB,EAAE,OAAO,UAAU,CAAC,aAAa,CAAC;AAClC;AACA,MAAM,MAAM,GAAG;AACf,EAAE,IAAI,KAAK,GAAG;AACd,IAAI,OAAO,OAAO,EAAE,CAAC,IAAI,CAAC,KAAK;AAC/B,EAAE,CAAC;AACH,EAAE,IAAI,MAAM,GAAG;AACf,IAAI,OAAO,OAAO,EAAE,CAAC,IAAI,CAAC,MAAM;AAChC,EAAE;AACF,CAAC;AACD,MAAM,IAAI,GAAG,MAAM;AACnB,SAAS,OAAO,CAAC,UAAU,EAAE,OAAO,EAAE;AACtC,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,WAAW,KAAK;AACxC,IAAI,WAAW,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,SAAS,EAAE,WAAW,CAAC,IAAI,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AACvG,EAAE,CAAC,CAAC;AACJ;;;;"}
@@ -1,5 +1,6 @@
import { r as redirect } from './index-wpIsICWW.js';
import PocketBase from 'pocketbase';
import { m as mapUserRecord } from './user-from-record-CP0SRVyL.js';
const POCKETBASE_URL = process.env.VITE_POCKETBASE_URL ?? "https://pocketbase.ccllc.pro";
const LOGIN_PATH = "/login";
@@ -18,13 +19,16 @@ const handle = async ({ event, resolve }) => {
event.locals.pb.authStore.clear();
}
const record = event.locals.pb.authStore.record;
event.locals.user = record ? {
id: record.id,
email: record.email,
name: record.name,
avatar: record.avatar,
darkmode: !!record.darkmode
} : null;
if (!record) {
event.locals.user = null;
} else {
try {
const full = await event.locals.pb.collection("users").getOne(record.id);
event.locals.user = mapUserRecord(full);
} catch {
event.locals.user = mapUserRecord(record);
}
}
if (!event.locals.user && !isPublicRoute(event.url.pathname)) {
const redirectTo = event.url.pathname + event.url.search;
const loginUrl = redirectTo && redirectTo !== "/" ? `${LOGIN_PATH}?redirectTo=${encodeURIComponent(redirectTo)}` : LOGIN_PATH;
@@ -39,4 +43,4 @@ const handle = async ({ event, resolve }) => {
};
export { handle };
//# sourceMappingURL=hooks.server-DlmQdTt1.js.map
//# sourceMappingURL=hooks.server-BgYA4Ixf.js.map
@@ -0,0 +1 @@
{"version":3,"file":"hooks.server-BgYA4Ixf.js","sources":["../../../.svelte-kit/adapter-node/entries/hooks.server.js"],"sourcesContent":["import { redirect } from \"@sveltejs/kit\";\nimport PocketBase from \"pocketbase\";\nimport { m as mapUserRecord } from \"../chunks/user-from-record.js\";\nconst POCKETBASE_URL = process.env.VITE_POCKETBASE_URL ?? \"https://pocketbase.ccllc.pro\";\nconst LOGIN_PATH = \"/login\";\nconst LOGOUT_PATH = \"/logout\";\nfunction isPublicRoute(pathname) {\n return pathname === LOGIN_PATH || pathname.startsWith(LOGIN_PATH + \"/\") || pathname === LOGOUT_PATH;\n}\nconst handle = async ({ event, resolve }) => {\n event.locals.pb = new PocketBase(POCKETBASE_URL);\n event.locals.pb.authStore.loadFromCookie(event.request.headers.get(\"cookie\") ?? \"\");\n try {\n if (event.locals.pb.authStore.isValid) {\n await event.locals.pb.collection(\"users\").authRefresh();\n }\n } catch {\n event.locals.pb.authStore.clear();\n }\n const record = event.locals.pb.authStore.record;\n if (!record) {\n event.locals.user = null;\n } else {\n try {\n const full = await event.locals.pb.collection(\"users\").getOne(record.id);\n event.locals.user = mapUserRecord(full);\n } catch {\n event.locals.user = mapUserRecord(record);\n }\n }\n if (!event.locals.user && !isPublicRoute(event.url.pathname)) {\n const redirectTo = event.url.pathname + event.url.search;\n const loginUrl = redirectTo && redirectTo !== \"/\" ? `${LOGIN_PATH}?redirectTo=${encodeURIComponent(redirectTo)}` : LOGIN_PATH;\n throw redirect(303, loginUrl);\n }\n const response = await resolve(event);\n response.headers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AAI,IAAI;AACR,MAAM,MAAM,IAAI,GAAG,MAAM,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;AAC9E,MAAM,KAAK,CAAC,MAAM,CAAC,IAAI,GAAG,aAAa,CAAC,IAAI,CAAC;AAC7C,IAAI,CAAC,CAAC,MAAM;AACZ,MAAM,KAAK,CAAC,MAAM,CAAC,IAAI,GAAG,aAAa,CAAC,MAAM,CAAC;AAC/C,IAAI;AACJ,EAAE;AACF,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE;AAChE,IAAI,MAAM,UAAU,GAAG,KAAK,CAAC,GAAG,CAAC,QAAQ,GAAG,KAAK,CAAC,GAAG,CAAC,MAAM;AAC5D,IAAI,MAAM,QAAQ,GAAG,UAAU,IAAI,UAAU,KAAK,GAAG,GAAG,CAAC,EAAE,UAAU,CAAC,YAAY,EAAE,kBAAkB,CAAC,UAAU,CAAC,CAAC,CAAC,GAAG,UAAU;AACjI,IAAI,MAAM,QAAQ,CAAC,GAAG,EAAE,QAAQ,CAAC;AACjC,EAAE;AACF,EAAE,MAAM,QAAQ,GAAG,MAAM,OAAO,CAAC,KAAK,CAAC;AACvC,EAAE,QAAQ,CAAC,OAAO,CAAC,MAAM;AACzB,IAAI,YAAY;AAChB,IAAI,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,SAAS,CAAC,cAAc,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE;AACjF,GAAG;AACH,EAAE,OAAO,QAAQ;AACjB;;;;"}
@@ -1 +0,0 @@
{"version":3,"file":"hooks.server-DlmQdTt1.js","sources":["../../../.svelte-kit/adapter-node/entries/hooks.server.js"],"sourcesContent":["import { redirect } from \"@sveltejs/kit\";\nimport PocketBase from \"pocketbase\";\nconst POCKETBASE_URL = process.env.VITE_POCKETBASE_URL ?? \"https://pocketbase.ccllc.pro\";\nconst LOGIN_PATH = \"/login\";\nconst LOGOUT_PATH = \"/logout\";\nfunction isPublicRoute(pathname) {\n return pathname === LOGIN_PATH || pathname.startsWith(LOGIN_PATH + \"/\") || pathname === LOGOUT_PATH;\n}\nconst handle = async ({ event, resolve }) => {\n event.locals.pb = new PocketBase(POCKETBASE_URL);\n event.locals.pb.authStore.loadFromCookie(event.request.headers.get(\"cookie\") ?? \"\");\n try {\n if (event.locals.pb.authStore.isValid) {\n await event.locals.pb.collection(\"users\").authRefresh();\n }\n } catch {\n event.locals.pb.authStore.clear();\n }\n const record = event.locals.pb.authStore.record;\n event.locals.user = record ? {\n id: record.id,\n email: record.email,\n name: record.name,\n avatar: record.avatar,\n darkmode: !!record.darkmode\n } : null;\n if (!event.locals.user && !isPublicRoute(event.url.pathname)) {\n const redirectTo = event.url.pathname + event.url.search;\n const loginUrl = redirectTo && redirectTo !== \"/\" ? `${LOGIN_PATH}?redirectTo=${encodeURIComponent(redirectTo)}` : LOGIN_PATH;\n throw redirect(303, loginUrl);\n }\n const response = await resolve(event);\n response.headers.append(\n \"set-cookie\",\n event.locals.pb.authStore.exportToCookie({ httpOnly: false, sameSite: \"Lax\" })\n );\n return response;\n};\nexport {\n handle\n};\n"],"names":[],"mappings":";;;AAEA,MAAM,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,mBAAmB,IAAI,8BAA8B;AACxF,MAAM,UAAU,GAAG,QAAQ;AAC3B,MAAM,WAAW,GAAG,SAAS;AAC7B,SAAS,aAAa,CAAC,QAAQ,EAAE;AACjC,EAAE,OAAO,QAAQ,KAAK,UAAU,IAAI,QAAQ,CAAC,UAAU,CAAC,UAAU,GAAG,GAAG,CAAC,IAAI,QAAQ,KAAK,WAAW;AACrG;AACK,MAAC,MAAM,GAAG,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK;AAC7C,EAAE,KAAK,CA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AAE,kBAAkB,CAAC,UAAU,CAAC,CAAC,CAAC,GAAG,UAAU;AACjI,IAAI,MAAM,QAAQ,CAAC,GAAG,EAAE,QAAQ,CAAC;AACjC,EAAE;AACF,EAAE,MAAM,QAAQ,GAAG,MAAM,OAAO,CAAC,KAAK,CAAC;AACvC,EAAE,QAAQ,CAAC,OAAO,CAAC,MAAM;AACzB,IAAI,YAAY;AAChB,IAAI,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,SAAS,CAAC,cAAc,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE;AACjF,GAAG;AACH,EAAE,OAAO,QAAQ;AACjB;;;;"}
@@ -1 +0,0 @@
{"version":3,"file":"index-BGaaC8Kf.js","sources":["../../../.svelte-kit/adapter-node/chunks/index.js"],"sourcesContent":["import { n as noop } from \"./index2.js\";\nimport { s as safe_not_equal } from \"./root.js\";\nimport \"clsx\";\nconst subscriber_queue = [];\nfunction readable(value, start) {\n return {\n subscribe: writable(value, start).subscribe\n };\n}\nfunction writable(value, start = noop) {\n let stop = null;\n const subscribers = /* @__PURE__ */ new Set();\n function set(new_value) {\n if (safe_not_equal(value, new_value)) {\n value = new_value;\n if (stop) {\n const run_queue = !subscriber_queue.length;\n for (const subscriber of subscribers) {\n subscriber[1]();\n subscriber_queue.push(subscriber, value);\n }\n if (run_queue) {\n for (let i = 0; i < subscriber_queue.length; i += 2) {\n subscriber_queue[i][0](subscriber_queue[i + 1]);\n }\n subscriber_queue.length = 0;\n }\n }\n }\n }\n function update(fn) {\n set(fn(\n /** @type {T} */\n value\n ));\n }\n function subscribe(run, invalidate = noop) {\n const subscriber = [run, invalidate];\n subscribers.add(subscriber);\n if (subscribers.size === 1) {\n stop = start(set, update) || noop;\n }\n run(\n /** @type {T} */\n value\n );\n return () => {\n subscribers.delete(subscriber);\n if (subscribers.size === 0 && stop) {\n stop();\n stop = null;\n }\n };\n }\n return { set, update, subscribe };\n}\nexport {\n readable as r,\n writable as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,SAAS,CAAC,GAAG,EAAE,UAAU,GAAG,IAAI,EAAE;AAC7C,IAAI,MAAM,UAAU,GAAG,CAAC,GAAG,EAAE,UAAU,CAAC;AACxC,IAAI,WAAW,CAAC,GAAG,CAAC,UAAU,CAAC;AAC/B,IAAI,IAAI,WAAW,CAAC,IAAI,KAAK,CAAC,EAAE;AAChC,MAAM,IAAI,GAAG,KAAK,CAAC,GAAG,EAAE,MAAM,CAAC,IAAI,IAAI;AACvC,IAAI;AACJ,IAAI,GAAG;AACP;AACA,MAAM;AACN,KAAK;AACL,IAAI,OAAO,MAAM;AACjB,MAAM,WAAW,CAAC,MAAM,CAAC,UAAU,CAAC;AACpC,MAAM,IAAI,WAAW,CAAC,IAAI,KAAK,CAAC,IAAI,IAAI,EAAE;AAC1C,QAAQ,IAAI,EAAE;AACd,QAAQ,IAAI,GAAG,IAAI;AACnB,MAAM;AACN,IAAI,CAAC;AACL,EAAE;AACF,EAAE,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,SAAS,EAAE;AACnC;;;;"}
@@ -1,7 +1,21 @@
import { q as noop } from './index2-DHYCG7Ly.js';
import { s as safe_not_equal } from './root-BEb1kut4.js';
import { r as noop } from './index2-CkPUJ4Ro.js';
import { u as untrack, s as safe_not_equal } from './root-ByBW8a1L.js';
import 'clsx';
function subscribe_to_store(store, run, invalidate) {
if (store == null) {
run(void 0);
return noop;
}
const unsub = untrack(
() => store.subscribe(
run,
// @ts-expect-error
invalidate
)
);
return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;
}
const subscriber_queue = [];
function readable(value, start) {
return {
@@ -55,6 +69,11 @@ function writable(value, start = noop) {
}
return { set, update, subscribe };
}
function get(store) {
let value;
subscribe_to_store(store, (_) => value = _)();
return value;
}
export { readable as r, writable as w };
//# sourceMappingURL=index-BGaaC8Kf.js.map
export { get as g, readable as r, writable as w };
//# sourceMappingURL=index-DAWk3dQT.js.map
@@ -0,0 +1 @@
{"version":3,"file":"index-DAWk3dQT.js","sources":["../../../.svelte-kit/adapter-node/chunks/index.js"],"sourcesContent":["import { n as noop } from \"./index2.js\";\nimport { u as untrack, s as safe_not_equal } from \"./root.js\";\nimport \"clsx\";\nfunction subscribe_to_store(store, run, invalidate) {\n if (store == null) {\n run(void 0);\n return noop;\n }\n const unsub = untrack(\n () => store.subscribe(\n run,\n // @ts-expect-error\n invalidate\n )\n );\n return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;\n}\nconst subscriber_queue = [];\nfunction readable(value, start) {\n return {\n subscribe: writable(value, start).subscribe\n };\n}\nfunction writable(value, start = noop) {\n let stop = null;\n const subscribers = /* @__PURE__ */ new Set();\n function set(new_value) {\n if (safe_not_equal(value, new_value)) {\n value = new_value;\n if (stop) {\n const run_queue = !subscriber_queue.length;\n for (const subscriber of subscribers) {\n subscriber[1]();\n subscriber_queue.push(subscriber, value);\n }\n if (run_queue) {\n for (let i = 0; i < subscriber_queue.length; i += 2) {\n subscriber_queue[i][0](subscriber_queue[i + 1]);\n }\n subscriber_queue.length = 0;\n }\n }\n }\n }\n function update(fn) {\n set(fn(\n /** @type {T} */\n value\n ));\n }\n function subscribe(run, invalidate = noop) {\n const subscriber = [run, invalidate];\n subscribers.add(subscriber);\n if (subscribers.size === 1) {\n stop = start(set, update) || noop;\n }\n run(\n /** @type {T} */\n value\n );\n return () => {\n subscribers.delete(subscriber);\n if (subscribers.size === 0 && stop) {\n stop();\n stop = null;\n }\n };\n }\n return { set, update, subscribe };\n}\nfunction get(store) {\n let value;\n subscribe_to_store(store, (_) => value = _)();\n return value;\n}\nexport {\n get as g,\n readable as r,\n writable as w\n};\n"],"names":[],"mappings":";;;;AAGA,SAAS,kBAAkB,CAAC,KAAK,EAAE,GAAG,EAAE,UAAU,EAAE;AACpD,EAAE,IAAI,KAAK,IAAI,IAAI,EAAE;AACrB,IAAI,GAAG,CAAC,MAAM,CAAC;AACf,IAAI,OAAO,IAAI;AACf,EAAE;AACF,EAAE,MAAM,KAAK,GAAG,OAAO;AACvB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;AACJ,EAAE;AACF,EAAE,SAAS,MAAM,CAAC,EAAE,EAAE;AACtB,IAAI,GAAG,CAAC,EAAE;AACV;AACA,MAAM;AACN,KAAK,CAAC;AACN,EAAE;AACF,EAAE,SAAS,SAAS,CAAC,GAAG,EAAE,UAAU,GAAG,IAAI,EAAE;AAC7C,IAAI,MAAM,UAAU,GAAG,CAAC,GAAG,EAAE,UAAU,CAAC;AACxC,IAAI,WAAW,CAAC,GAAG,CAAC,UAAU,CAAC;AAC/B,IAAI,IAAI,WAAW,CAAC,IAAI,KAAK,CAAC,EAAE;AAChC,MAAM,IAAI,GAAG,KAAK,CAAC,GAAG,EAAE,MAAM,CAAC,IAAI,IAAI;AACvC,IAAI;AACJ,IAAI,GAAG;AACP;AACA,MAAM;AACN,KAAK;AACL,IAAI,OAAO,MAAM;AACjB,MAAM,WAAW,CAAC,MAAM,CAAC,UAAU,CAAC;AACpC,MAAM,IAAI,WAAW,CAAC,IAAI,KAAK,CAAC,IAAI,IAAI,EAAE;AAC1C,QAAQ,IAAI,EAAE;AACd,QAAQ,IAAI,GAAG,IAAI;AACnB,MAAM;AACN,IAAI,CAAC;AACL,EAAE;AACF,EAAE,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,SAAS,EAAE;AACnC;AACA,SAAS,GAAG,CAAC,KAAK,EAAE;AACpB,EAAE,IAAI,KAAK;AACX,EAAE,kBAAkB,CAAC,KAAK,EAAE,CAAC,CAAC,KAAK,KAAK,GAAG,CAAC,CAAC,EAAE;AAC/C,EAAE,OAAO,KAAK;AACd;;;;"}
@@ -899,6 +899,7 @@ function to_style(value, styles) {
}
const BLOCK_OPEN = `<!--${HYDRATION_START}-->`;
const BLOCK_CLOSE = `<!--${HYDRATION_END}-->`;
const EMPTY_COMMENT = `<!---->`;
let controller = null;
function abort() {
controller?.abort(STALE_REACTION);
@@ -1072,10 +1073,10 @@ class Renderer {
* @param {(renderer: Renderer) => void} fn
*/
head(fn) {
const head = new Renderer(this.global, this);
head.type = "head";
this.#out.push(head);
head.child(fn);
const head2 = new Renderer(this.global, this);
head2.type = "head";
this.#out.push(head2);
head2.child(fn);
}
/**
* @param {Array<Promise<void>>} blockers
@@ -1209,7 +1210,7 @@ class Renderer {
*/
option(attrs, body, css_hash, classes, styles, flags, is_rich) {
this.#out.push(`<option${attributes(attrs, css_hash, classes, styles, flags)}`);
const close = (renderer, value, { head, body: body2 }) => {
const close = (renderer, value, { head: head2, body: body2 }) => {
if (has_own_property.call(attrs, "value")) {
value = attrs.value;
}
@@ -1217,8 +1218,8 @@ class Renderer {
renderer.#out.push(' selected=""');
}
renderer.#out.push(`>${body2}${is_rich ? "<!>" : ""}</option>`);
if (head) {
renderer.head((child) => child.push(head));
if (head2) {
renderer.head((child) => child.push(head2));
}
};
if (typeof body === "function") {
@@ -1243,8 +1244,8 @@ class Renderer {
*/
title(fn) {
const path = this.get_path();
const close = (head) => {
this.global.set_title(head, path);
const close = (head2) => {
this.global.set_title(head2, path);
};
this.child((renderer) => {
const r = new Renderer(renderer.global, renderer);
@@ -1529,13 +1530,13 @@ class Renderer {
for (const cleanup of renderer.#collect_on_destroy()) {
cleanup();
}
let head = content.head + renderer.global.get_title();
let head2 = content.head + renderer.global.get_title();
let body = content.body;
for (const { hash, code } of renderer.global.css) {
head += `<style id="${hash}">${code}</style>`;
head2 += `<style id="${hash}">${code}</style>`;
}
return {
head,
head: head2,
body,
hashes: {
script: renderer.global.csp.script_hashes
@@ -1639,6 +1640,13 @@ function render(component, options = {}) {
options
);
}
function head(hash, renderer, fn) {
renderer.head((renderer2) => {
renderer2.push(`<!--${hash}-->`);
renderer2.child(fn);
renderer2.push(EMPTY_COMMENT);
});
}
function attributes(attrs, css_hash, classes, styles, flags = 0) {
if (styles) {
attrs.style = to_style(attrs.style, styles);
@@ -1690,6 +1698,9 @@ function spread_props(props) {
}
return merged_props;
}
function stringify(value) {
return typeof value === "string" ? value : value == null ? "" : value + "";
}
function bind_props(props_parent, props_now) {
for (const key of Object.keys(props_now)) {
const initial_value = props_parent[key];
@@ -1699,6 +1710,12 @@ function bind_props(props_parent, props_now) {
}
}
}
function ensure_array_like(array_like_or_iterator) {
if (array_like_or_iterator) {
return array_like_or_iterator.length !== void 0 ? array_like_or_iterator : Array.from(array_like_or_iterator);
}
return [];
}
function once(get_value) {
let value = (
/** @type {V} */
@@ -1728,5 +1745,5 @@ function derived(fn) {
};
}
export { run_all as $, ATTACHMENT_KEY as A, HYDRATION_ERROR as B, CONNECTED as C, DevalueError as D, ERROR_VALUE as E, object_prototype as F, array_prototype as G, HYDRATION_START as H, get_descriptor as I, DERIVED as J, DIRTY as K, LEGACY_PROPS as L, MAYBE_DIRTY as M, is_extensible as N, get_prototype_of as O, is_array as P, CLEAN as Q, REACTION_RAN as R, STATE_SYMBOL as S, INERT as T, UNINITIALIZED as U, EFFECT as V, BLOCK_EFFECT as W, deferred as X, WAS_MARKED as Y, DESTROYED as Z, MANAGED_EFFECT as _, is_plain_object as a, BRANCH_EFFECT as a0, ROOT_EFFECT as a1, RENDER_EFFECT as a2, HEAD_EFFECT as a3, ASYNC as a4, REACTION_IS_UPDATING as a5, EFFECT_PRESERVED as a6, EFFECT_TRANSPARENT as a7, BOUNDARY_EFFECT as a8, includes as a9, index_of as aa, STALE_REACTION as ab, EAGER_EFFECT as ac, array_from as ad, is_passive_event as ae, HYDRATION_END as af, HYDRATION_START_ELSE as ag, USER_EFFECT as ah, stringify_string as b, bind_props as c, spread_props as d, enumerable_symbols as e, getContext as f, get_type as g, hasContext as h, is_primitive as i, setContext as j, derived as k, getAllContexts as l, attributes as m, lifecycle_function_unavailable as n, escape_html as o, props_id as p, noop as q, attr as r, stringify_key as s, clsx as t, uneval as u, valid_array_indices as v, run as w, render as x, define_property as y, COMMENT_NODE as z };
//# sourceMappingURL=index2-DHYCG7Ly.js.map
export { WAS_MARKED as $, ATTACHMENT_KEY as A, render as B, define_property as C, DevalueError as D, CONNECTED as E, ERROR_VALUE as F, COMMENT_NODE as G, HYDRATION_START as H, HYDRATION_ERROR as I, object_prototype as J, array_prototype as K, LEGACY_PROPS as L, get_descriptor as M, DERIVED as N, DIRTY as O, MAYBE_DIRTY as P, is_extensible as Q, REACTION_RAN as R, STATE_SYMBOL as S, get_prototype_of as T, UNINITIALIZED as U, is_array as V, CLEAN as W, INERT as X, EFFECT as Y, BLOCK_EFFECT as Z, deferred as _, is_plain_object as a, DESTROYED as a0, MANAGED_EFFECT as a1, run_all as a2, BRANCH_EFFECT as a3, ROOT_EFFECT as a4, RENDER_EFFECT as a5, HEAD_EFFECT as a6, ASYNC as a7, REACTION_IS_UPDATING as a8, EFFECT_PRESERVED as a9, EFFECT_TRANSPARENT as aa, BOUNDARY_EFFECT as ab, includes as ac, index_of as ad, STALE_REACTION as ae, EAGER_EFFECT as af, array_from as ag, is_passive_event as ah, HYDRATION_END as ai, HYDRATION_START_ELSE as aj, USER_EFFECT as ak, stringify_string as b, bind_props as c, spread_props as d, enumerable_symbols as e, hasContext as f, get_type as g, head as h, is_primitive as i, getContext as j, setContext as k, derived as l, getAllContexts as m, attributes as n, lifecycle_function_unavailable as o, props_id as p, escape_html as q, noop as r, stringify_key as s, ensure_array_like as t, uneval as u, valid_array_indices as v, attr as w, stringify as x, clsx as y, run as z };
//# sourceMappingURL=index2-CkPUJ4Ro.js.map
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,4 +1,4 @@
import { w as run, A as ATTACHMENT_KEY, c as bind_props, d as spread_props, p as props_id, m as attributes, k as derived } from './index2-DHYCG7Ly.js';
import { z as run, A as ATTACHMENT_KEY, c as bind_props, d as spread_props, p as props_id, n as attributes, l as derived } from './index2-CkPUJ4Ro.js';
import { c as cn } from './utils2-B05Dmz_H.js';
import { clsx } from 'clsx';
@@ -885,4 +885,4 @@ function Label($$renderer, $$props) {
}
export { BoxSymbol as B, Label as L, styleToString as a, boxWith as b, createBitsAttrs as c, createId as d, attachRef as e, boxFrom as f, executeCallbacks as g, isObject as h, isWritableSymbol as i, boxFlatten as j, isBox as k, isWritableBox as l, mergeProps as m, getDataOpenClosed as n, boolToEmptyStrOrUndef as o, boolToStr as p, cssToStyleObj as q, getDataChecked as r, simpleBox as s, toReadonlyBox as t, getAriaChecked as u, boolToTrueOrUndef as v, composeHandlers as w };
//# sourceMappingURL=label-CsPa3Fds.js.map
//# sourceMappingURL=label-DZzblctN.js.map
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,4 +1,4 @@
import { x as render, L as LEGACY_PROPS, y as define_property, C as CONNECTED, R as REACTION_RAN, E as ERROR_VALUE, z as COMMENT_NODE, H as HYDRATION_START, B as HYDRATION_ERROR, S as STATE_SYMBOL, F as object_prototype, G as array_prototype, U as UNINITIALIZED, I as get_descriptor, J as DERIVED, K as DIRTY, M as MAYBE_DIRTY, N as is_extensible, O as get_prototype_of, P as is_array, Q as CLEAN, T as INERT, V as EFFECT, W as BLOCK_EFFECT, X as deferred, Y as WAS_MARKED, Z as DESTROYED, _ as MANAGED_EFFECT, $ as run_all, a0 as BRANCH_EFFECT, a1 as ROOT_EFFECT, a2 as RENDER_EFFECT, a3 as HEAD_EFFECT, a4 as ASYNC, a5 as REACTION_IS_UPDATING, a6 as EFFECT_PRESERVED, a7 as EFFECT_TRANSPARENT, a8 as BOUNDARY_EFFECT, a9 as includes, aa as index_of, ab as STALE_REACTION, q as noop, ac as EAGER_EFFECT, ad as array_from, ae as is_passive_event, j as setContext, af as HYDRATION_END, ag as HYDRATION_START_ELSE, ah as USER_EFFECT } from './index2-DHYCG7Ly.js';
import { B as render, L as LEGACY_PROPS, C as define_property, E as CONNECTED, R as REACTION_RAN, F as ERROR_VALUE, G as COMMENT_NODE, H as HYDRATION_START, I as HYDRATION_ERROR, S as STATE_SYMBOL, J as object_prototype, K as array_prototype, U as UNINITIALIZED, M as get_descriptor, N as DERIVED, O as DIRTY, P as MAYBE_DIRTY, Q as is_extensible, T as get_prototype_of, V as is_array, W as CLEAN, X as INERT, Y as EFFECT, Z as BLOCK_EFFECT, _ as deferred, $ as WAS_MARKED, a0 as DESTROYED, a1 as MANAGED_EFFECT, a2 as run_all, a3 as BRANCH_EFFECT, a4 as ROOT_EFFECT, a5 as RENDER_EFFECT, a6 as HEAD_EFFECT, a7 as ASYNC, a8 as REACTION_IS_UPDATING, a9 as EFFECT_PRESERVED, aa as EFFECT_TRANSPARENT, ab as BOUNDARY_EFFECT, ac as includes, ad as index_of, ae as STALE_REACTION, r as noop, af as EAGER_EFFECT, ag as array_from, ah as is_passive_event, k as setContext, ai as HYDRATION_END, aj as HYDRATION_START_ELSE, ak as USER_EFFECT } from './index2-CkPUJ4Ro.js';
import 'clsx';
const browser = false;
@@ -2834,7 +2834,8 @@ function Root($$renderer, $$props) {
components = [],
form,
data_0 = null,
data_1 = null
data_1 = null,
data_2 = null
} = $$props;
{
setContext("__svelte__", stores);
@@ -2842,7 +2843,7 @@ function Root($$renderer, $$props) {
{
stores.page.set(page);
}
const Pyramid_1 = constructors[1];
const Pyramid_2 = constructors[2];
if (constructors[1]) {
$$renderer2.push("<!--[-->");
const Pyramid_0 = constructors[0];
@@ -2852,9 +2853,30 @@ function Root($$renderer, $$props) {
form,
params: page.params,
children: ($$renderer3) => {
$$renderer3.push("<!---->");
Pyramid_1?.($$renderer3, { data: data_1, form, params: page.params });
$$renderer3.push(`<!---->`);
if (constructors[2]) {
$$renderer3.push("<!--[-->");
const Pyramid_1 = constructors[1];
$$renderer3.push("<!---->");
Pyramid_1?.($$renderer3, {
data: data_1,
form,
params: page.params,
children: ($$renderer4) => {
$$renderer4.push("<!---->");
Pyramid_2?.($$renderer4, { data: data_2, form, params: page.params });
$$renderer4.push(`<!---->`);
},
$$slots: { default: true }
});
$$renderer3.push(`<!---->`);
} else {
$$renderer3.push("<!--[!-->");
const Pyramid_1 = constructors[1];
$$renderer3.push("<!---->");
Pyramid_1?.($$renderer3, { data: data_1, form, params: page.params });
$$renderer3.push(`<!---->`);
}
$$renderer3.push(`<!--]-->`);
},
$$slots: { default: true }
});
@@ -2875,5 +2897,5 @@ function Root($$renderer, $$props) {
}
const root = asClassComponent(Root);
export { browser as a, base64_decode as b, disable_search as c, decode_pathname as d, decode_params as e, validate_layout_exports as f, validate_page_server_exports as g, validate_page_exports as h, text_encoder as i, resolve as j, get_relative_path as k, base64_encode as l, make_trackable as m, normalize_path as n, on as o, root as r, safe_not_equal as s, text_decoder as t, validate_layout_server_exports as v, with_request_store as w };
//# sourceMappingURL=root-BEb1kut4.js.map
export { browser as a, base64_decode as b, disable_search as c, decode_pathname as d, decode_params as e, validate_layout_exports as f, validate_page_server_exports as g, validate_page_exports as h, text_encoder as i, resolve as j, get_relative_path as k, base64_encode as l, make_trackable as m, normalize_path as n, on as o, root as r, safe_not_equal as s, text_decoder as t, untrack as u, validate_layout_server_exports as v, with_request_store as w };
//# sourceMappingURL=root-ByBW8a1L.js.map
File diff suppressed because one or more lines are too long
+22
View File
@@ -0,0 +1,22 @@
const sites = {
prism: {
url: "https://prism.ccllc.pro",
title: "Prism"
},
tasgrid: {
url: "https://tasgrid.ccllc.pro",
title: "TasGrid"
},
stackq: {
url: "https://stackq.ccllc.pro",
title: "Stackq"
},
hrm: {
url: "https://hrm.ccllc.pro",
title: "HRM"
}
};
const siteSlugs = Object.keys(sites);
export { siteSlugs as a, sites as s };
//# sourceMappingURL=sites-F_LoVfp9.js.map
@@ -0,0 +1 @@
{"version":3,"file":"sites-F_LoVfp9.js","sources":["../../../.svelte-kit/adapter-node/chunks/sites.js"],"sourcesContent":["const sites = {\n prism: {\n url: \"https://prism.ccllc.pro\",\n title: \"Prism\"\n },\n tasgrid: {\n url: \"https://tasgrid.ccllc.pro\",\n title: \"TasGrid\"\n },\n stackq: {\n url: \"https://stackq.ccllc.pro\",\n title: \"Stackq\"\n },\n hrm: {\n url: \"https://hrm.ccllc.pro\",\n title: \"HRM\"\n }\n};\nconst siteSlugs = Object.keys(sites);\nexport {\n sites as a,\n siteSlugs as s\n};\n"],"names":[],"mappings":"AAAK,MAAC,KAAK,GAAG;AACd,EAAE,KAAK,EAAE;AACT,IAAI,GAAG,EAAE,yBAAyB;AAClC,IAAI,KAAK,EAAE;AACX,GAAG;AACH,EAAE,OAAO,EAAE;AACX,IAAI,GAAG,EAAE,2BAA2B;AACpC,IAAI,KAAK,EAAE;AACX,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,GAAG,EAAE,0BAA0B;AACnC,IAAI,KAAK,EAAE;AACX,GAAG;AACH,EAAE,GAAG,EAAE;AACP,IAAI,GAAG,EAAE,uBAAuB;AAChC,IAAI,KAAK,EAAE;AACX;AACA;AACK,MAAC,SAAS,GAAG,MAAM,CAAC,IAAI,CAAC,KAAK;;;;"}
@@ -1,6 +1,6 @@
import 'clsx';
import { q as noop } from './index2-DHYCG7Ly.js';
import './root-BEb1kut4.js';
import { r as noop } from './index2-CkPUJ4Ro.js';
import './root-ByBW8a1L.js';
const is_legacy = noop.toString().includes("$$") || /function \w+\(\) \{\}/.test(noop.toString());
if (is_legacy) {
@@ -8,4 +8,4 @@ if (is_legacy) {
url: new URL("https://example.com")
});
}
//# sourceMappingURL=state.svelte-CsO7NG8X.js.map
//# sourceMappingURL=state.svelte-DhWLC4I4.js.map
@@ -1 +1 @@
{"version":3,"file":"state.svelte-CsO7NG8X.js","sources":["../../../.svelte-kit/adapter-node/chunks/state.svelte.js"],"sourcesContent":["import \"clsx\";\nimport { n as noop } from \"./index2.js\";\nimport \"./exports.js\";\nimport \"@sveltejs/kit/internal/server\";\nimport \"./root.js\";\nconst is_legacy = noop.toString().includes(\"$$\") || /function \\w+\\(\\) \\{\\}/.test(noop.toString());\nif (is_legacy) {\n ({\n data: {},\n form: null,\n error: null,\n params: {},\n route: { id: null },\n state: {},\n status: -1,\n url: new URL(\"https://example.com\")\n });\n}\n"],"names":[],"mappings":";;;;AAKA,MAAM,SAAS,GAAG,IAAI,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,uBAAuB,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC;AACjG,IAAI,SAAS,EAAE;AACf,EAAE,CAAC;AACH,IAOI,GAAG,EAAE,IAAI,GAAG,CAAC,qBAAqB;AACtC,GAAG;AACH"}
{"version":3,"file":"state.svelte-DhWLC4I4.js","sources":["../../../.svelte-kit/adapter-node/chunks/state.svelte.js"],"sourcesContent":["import \"clsx\";\nimport { n as noop } from \"./index2.js\";\nimport \"./exports.js\";\nimport \"@sveltejs/kit/internal/server\";\nimport \"./root.js\";\nconst is_legacy = noop.toString().includes(\"$$\") || /function \\w+\\(\\) \\{\\}/.test(noop.toString());\nif (is_legacy) {\n ({\n data: {},\n form: null,\n error: null,\n params: {},\n route: { id: null },\n state: {},\n status: -1,\n url: new URL(\"https://example.com\")\n });\n}\n"],"names":[],"mappings":";;;;AAKA,MAAM,SAAS,GAAG,IAAI,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,uBAAuB,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC;AACjG,IAAI,SAAS,EAAE;AACf,EAAE,CAAC;AACH,IAOI,GAAG,EAAE,IAAI,GAAG,CAAC,qBAAqB;AACtC,GAAG;AACH"}
@@ -0,0 +1,23 @@
function bool(r, ...keys) {
for (const k of keys) {
const v = r[k];
if (v === true || v === "true") return true;
}
return false;
}
function mapUserRecord(r) {
return {
id: r.id,
email: r.email,
name: r.name,
avatar: r.avatar,
darkmode: bool(r, "darkmode"),
prism: bool(r, "PRISM", "prism", "Prism"),
tasgrid: bool(r, "TasGrid", "tasgrid"),
stackq: bool(r, "Stackq", "stackq"),
hrm: bool(r, "HRM", "hrm", "Hrm")
};
}
export { mapUserRecord as m };
//# sourceMappingURL=user-from-record-CP0SRVyL.js.map
@@ -0,0 +1 @@
{"version":3,"file":"user-from-record-CP0SRVyL.js","sources":["../../../.svelte-kit/adapter-node/chunks/user-from-record.js"],"sourcesContent":["function bool(r, ...keys) {\n for (const k of keys) {\n const v = r[k];\n if (v === true || v === \"true\") return true;\n }\n return false;\n}\nfunction mapUserRecord(r) {\n return {\n id: r.id,\n email: r.email,\n name: r.name,\n avatar: r.avatar,\n darkmode: bool(r, \"darkmode\"),\n prism: bool(r, \"PRISM\", \"prism\", \"Prism\"),\n tasgrid: bool(r, \"TasGrid\", \"tasgrid\"),\n stackq: bool(r, \"Stackq\", \"stackq\"),\n hrm: bool(r, \"HRM\", \"hrm\", \"Hrm\")\n };\n}\nexport {\n mapUserRecord as m\n};\n"],"names":[],"mappings":"AAAA,SAAS,IAAI,CAAC,CAAC,EAAE,GAAG,IAAI,EAAE;AAC1B,EAAE,KAAK,MAAM,CAAC,IAAI,IAAI,EAAE;AACxB,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAClB,IAAI,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,KAAK,MAAM,EAAE,OAAO,IAAI;AAC/C,EAAE;AACF,EAAE,OAAO,KAAK;AACd;AACA,SAAS,aAAa,CAAC,CAAC,EAAE;AAC1B,EAAE,OAAO;AACT,IAAI,EAAE,EAAE,CAAC,CAAC,EAAE;AACZ,IAAI,KAAK,EAAE,CAAC,CAAC,KAAK;AAClB,IAAI,IAAI,EAAE,CAAC,CAAC,IAAI;AAChB,IAAI,MAAM,EAAE,CAAC,CAAC,MAAM;AACpB,IAAI,QAAQ,EAAE,IAAI,CAAC,CAAC,EAAE,UAAU,CAAC;AACjC,IAAI,KAAK,EAAE,IAAI,CAAC,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,CAAC;AAC7C,IAAI,OAAO,EAAE,IAAI,CAAC,CAAC,EAAE,SAAS,EAAE,SAAS,CAAC;AAC1C,IAAI,MAAM,EAAE,IAAI,CAAC,CAAC,EAAE,QAAQ,EAAE,QAAQ,CAAC;AACvC,IAAI,GAAG,EAAE,IAAI,CAAC,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK;AACpC,GAAG;AACH;;;;"}
+7 -7
View File
@@ -1,7 +1,7 @@
import { w as with_request_store, t as text_decoder, b as base64_decode, r as root, d as decode_pathname, a as browser, n as normalize_path, c as disable_search, e as decode_params, v as validate_layout_server_exports, f as validate_layout_exports, g as validate_page_server_exports, h as validate_page_exports, i as text_encoder, j as resolve, m as make_trackable, k as get_relative_path, l as base64_encode } from './chunks/root-BEb1kut4.js';
import { w as with_request_store, t as text_decoder, b as base64_decode, r as root, d as decode_pathname, a as browser, n as normalize_path, c as disable_search, e as decode_params, v as validate_layout_server_exports, f as validate_layout_exports, g as validate_page_server_exports, h as validate_page_exports, i as text_encoder, j as resolve, m as make_trackable, k as get_relative_path, l as base64_encode } from './chunks/root-ByBW8a1L.js';
import { H as HttpError, j as json, t as text, S as SvelteKitError, R as Redirect, e as error, A as ActionFailure } from './chunks/index-wpIsICWW.js';
import { D as DevalueError, i as is_primitive, g as get_type, a as is_plain_object, e as enumerable_symbols, s as stringify_key, b as stringify_string, v as valid_array_indices, u as uneval } from './chunks/index2-DHYCG7Ly.js';
import { w as writable, r as readable } from './chunks/index-BGaaC8Kf.js';
import { D as DevalueError, i as is_primitive, g as get_type, a as is_plain_object, e as enumerable_symbols, s as stringify_key, b as stringify_string, v as valid_array_indices, u as uneval } from './chunks/index2-CkPUJ4Ro.js';
import { w as writable, r as readable } from './chunks/index-DAWk3dQT.js';
import 'clsx';
/**
@@ -1283,9 +1283,9 @@ const options = {
preload_strategy: "modulepreload",
root,
service_worker: false,
service_worker_options: void 0,
service_worker_options: null,
templates: {
app: ({ head, body, assets, nonce, env }) => '<!DOCTYPE html>\n<html lang="en">\n <head>\n <meta charset="utf-8" />\n <link rel="icon" href="' + assets + '/favicon.png" />\n <meta name="viewport" content="width=device-width, initial-scale=1" />\n ' + head + '\n </head>\n <body data-sveltekit-preload-data="hover">\n <div style="display: contents">' + body + "</div>\n </body>\n</html>\n",
app: ({ head, body, assets, nonce, env }) => '<!DOCTYPE html>\n<html lang="en">\n <head>\n <meta charset="utf-8" />\n <link rel="icon" href="' + assets + '/favicon.png" />\n <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=5, viewport-fit=cover" />\n ' + head + '\n </head>\n <body data-sveltekit-preload-data="hover">\n <div style="display: contents">' + body + "</div>\n </body>\n</html>\n",
error: ({ status, message }) => '<!doctype html>\n<html lang="en">\n <head>\n <meta charset="utf-8" />\n <title>' + message + `</title>
<style>
@@ -1357,7 +1357,7 @@ const options = {
<div class="error">
<span class="status">` + status + '</span>\n <div class="message">\n <h1>' + message + "</h1>\n </div>\n </div>\n </body>\n</html>\n"
},
version_hash: "tyxfvh"
version_hash: "x0o6jd"
};
async function get_hooks() {
let handle;
@@ -1365,7 +1365,7 @@ async function get_hooks() {
let handleError;
let handleValidationError;
let init;
({ handle, handleFetch, handleError, handleValidationError, init } = await import('./chunks/hooks.server-DlmQdTt1.js'));
({ handle, handleFetch, handleError, handleValidationError, init } = await import('./chunks/hooks.server-BgYA4Ixf.js'));
let reroute;
let transport;
return {
File diff suppressed because one or more lines are too long
+34 -9
View File
@@ -10,13 +10,17 @@ return {
assets: new Set([]),
mimeTypes: {},
_: {
client: {start:"_app/immutable/entry/start.DoE5rVjp.js",app:"_app/immutable/entry/app.D90yBOXx.js",imports:["_app/immutable/entry/start.DoE5rVjp.js","_app/immutable/chunks/BX9MO-1l.js","_app/immutable/chunks/CPmvlhtF.js","_app/immutable/chunks/nEbfNkJh.js","_app/immutable/entry/app.D90yBOXx.js","_app/immutable/chunks/D4nn9Y_6.js","_app/immutable/chunks/nEbfNkJh.js","_app/immutable/chunks/CPmvlhtF.js","_app/immutable/chunks/Bzak7iHL.js","_app/immutable/chunks/zcqfpVBB.js","_app/immutable/chunks/BpNSSBPP.js","_app/immutable/chunks/DTd9pe6t.js"],stylesheets:[],fonts:[],uses_env_dynamic_public:false},
client: {start:"_app/immutable/entry/start.AEgxPUqz.js",app:"_app/immutable/entry/app.DbqfQuH9.js",imports:["_app/immutable/entry/start.AEgxPUqz.js","_app/immutable/chunks/CW15Ts-p.js","_app/immutable/chunks/DTyTeadx.js","_app/immutable/chunks/BfGs3WDN.js","_app/immutable/chunks/Dc4kZMuG.js","_app/immutable/chunks/BlBMKpZ6.js","_app/immutable/entry/app.DbqfQuH9.js","_app/immutable/chunks/D4nn9Y_6.js","_app/immutable/chunks/BfGs3WDN.js","_app/immutable/chunks/Dc4kZMuG.js","_app/immutable/chunks/BlBMKpZ6.js","_app/immutable/chunks/Bzak7iHL.js","_app/immutable/chunks/DTyTeadx.js","_app/immutable/chunks/CQe9XmLJ.js","_app/immutable/chunks/C2sKwo1m.js","_app/immutable/chunks/BIDFgmbM.js","_app/immutable/chunks/BSLeMsiy.js"],stylesheets:[],fonts:[],uses_env_dynamic_public:false},
nodes: [
__memo(() => import('./chunks/0-DANNRPIf.js')),
__memo(() => import('./chunks/1-BIdyPzep.js')),
__memo(() => import('./chunks/2-BM-ldjTW.js')),
__memo(() => import('./chunks/3-CFvpokQ_.js')),
__memo(() => import('./chunks/4-ano5Glp5.js'))
__memo(() => import('./chunks/0-CLms_ZLM.js')),
__memo(() => import('./chunks/1-BjAmalgn.js')),
__memo(() => import('./chunks/2-BlPg8Txo.js')),
__memo(() => import('./chunks/3-XerCqalW.js')),
__memo(() => import('./chunks/4-Y0NHAyIy.js')),
__memo(() => import('./chunks/5-CYVNUR6x.js')),
__memo(() => import('./chunks/6-DL87GJeT.js')),
__memo(() => import('./chunks/7-Ctoz-S3T.js')),
__memo(() => import('./chunks/8-4XSzWPH3.js'))
],
remotes: {
@@ -26,7 +30,7 @@ return {
id: "/",
pattern: /^\/$/,
params: [],
page: { layouts: [0,], errors: [1,], leaf: 2 },
page: { layouts: [0,], errors: [1,], leaf: 3 },
endpoint: null
},
{
@@ -40,14 +44,35 @@ return {
id: "/login",
pattern: /^\/login\/?$/,
params: [],
page: { layouts: [0,], errors: [1,], leaf: 4 },
page: { layouts: [0,], errors: [1,], leaf: 8 },
endpoint: null
},
{
id: "/logout",
pattern: /^\/logout\/?$/,
params: [],
page: { layouts: [0,], errors: [1,], leaf: 3 },
page: { layouts: [0,], errors: [1,], leaf: 4 },
endpoint: null
},
{
id: "/users",
pattern: /^\/users\/?$/,
params: [],
page: { layouts: [0,], errors: [1,], leaf: 5 },
endpoint: null
},
{
id: "/users/[id]",
pattern: /^\/users\/([^/]+?)\/?$/,
params: [{"name":"id","optional":false,"rest":false,"chained":false}],
page: { layouts: [0,], errors: [1,], leaf: 6 },
endpoint: null
},
{
id: "/[site]",
pattern: /^\/([^/]+?)\/?$/,
params: [{"name":"site","optional":false,"rest":false,"chained":false}],
page: { layouts: [0,2,], errors: [1,,], leaf: 7 },
endpoint: null
}
],
File diff suppressed because one or more lines are too long