token-usage-dashboard 1.0.7 → 1.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/client/_app/immutable/assets/0.CZ6VMqH1.css +1 -0
- package/build/client/_app/immutable/assets/0.CZ6VMqH1.css.br +0 -0
- package/build/client/_app/immutable/assets/0.CZ6VMqH1.css.gz +0 -0
- package/build/client/_app/immutable/assets/{2.H_IHw1Xd.css → 2.CZocdpCk.css} +1 -1
- package/build/client/_app/immutable/assets/2.CZocdpCk.css.br +0 -0
- package/build/client/_app/immutable/assets/{2.H_IHw1Xd.css.gz → 2.CZocdpCk.css.gz} +0 -0
- package/build/client/_app/immutable/chunks/{oCB7A4Kp.js → Cs9ix4uI.js} +2 -2
- package/build/client/_app/immutable/chunks/Cs9ix4uI.js.br +0 -0
- package/build/client/_app/immutable/chunks/Cs9ix4uI.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.D4LA_7JD.js +2 -0
- package/build/client/_app/immutable/entry/app.D4LA_7JD.js.br +0 -0
- package/build/client/_app/immutable/entry/app.D4LA_7JD.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.h5yz1FcE.js +1 -0
- package/build/client/_app/immutable/entry/start.h5yz1FcE.js.br +0 -0
- package/build/client/_app/immutable/entry/start.h5yz1FcE.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{1.BRTb8oj5.js → 1.CTKJ-7rB.js} +1 -1
- package/build/client/_app/immutable/nodes/1.CTKJ-7rB.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.CTKJ-7rB.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.BdW0LqA6.js +2 -0
- package/build/client/_app/immutable/nodes/2.BdW0LqA6.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.BdW0LqA6.js.gz +0 -0
- package/build/client/_app/version.json +1 -1
- package/build/client/_app/version.json.br +0 -0
- package/build/client/_app/version.json.gz +0 -0
- package/build/handler.js +4 -4
- package/build/index.js +4 -4
- package/build/server/chunks/chunks/{client.js-CH1OjaW0.js → client.js-dzA-_vbM.js} +2 -2
- package/build/server/chunks/chunks/{internal.js-C4sX1ZF1.js → internal.js-WfBRMRsu.js} +3 -3
- package/build/server/chunks/chunks/{queries.js-Dxe3UrcX.js → queries.js-BEdRnpMa.js} +6 -3
- package/build/server/chunks/chunks/{range.js-CLYFtcRE.js → range.js-CiCoLGqh.js} +42 -2
- package/build/server/chunks/chunks/{refresh.js-b7xuLQYO.js → refresh.js-0W7-GwaH.js} +3 -3
- package/build/server/chunks/chunks/{request.js-DM1A1vDP.js → request.js-BF7n7fZo.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/refresh/{_server.ts.js-DIm5mJGM.js → _server.ts.js-ByCHvh6I.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/settings/{_server.ts.js-B0rNclco.js → _server.ts.js-z3BUpIC2.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/usage/{_server.ts.js-C1OIFWsl.js → _server.ts.js-C6vS-sK1.js} +4 -4
- package/build/server/chunks/entries/fallbacks/{error.svelte.js-Bej3DxGb.js → error.svelte.js-CAWEWGLK.js} +3 -3
- package/build/server/chunks/entries/{hooks.server.js-CBWwmRPG.js → hooks.server.js-_Fcw_IVA.js} +4 -4
- package/build/server/chunks/entries/pages/{_page.server.ts.js-VL2asSrD.js → _page.server.ts.js-BBibcAZP.js} +3 -3
- package/build/server/chunks/entries/pages/{_page.svelte.js-DuLeEEhc.js → _page.svelte.js-DWD4fuiY.js} +26 -26
- package/build/server/chunks/{handler-C8BBXiDH.js → handler-CvhtfVM1.js} +3 -3
- package/build/server/chunks/{index.js-DZopl62R.js → index.js-CItxG5Fx.js} +2 -2
- package/build/server/chunks/{manifest.js-XsX0MOFE.js → manifest.js-B6xVyARC.js} +8 -8
- package/build/server/chunks/nodes/{0.js-Bzngkdxl.js → 0.js-CxT79s9-.js} +3 -3
- package/build/server/chunks/nodes/{1.js-h8N_CQRc.js → 1.js-ClmHS2nO.js} +3 -3
- package/build/server/chunks/nodes/{2.js-Bvo-Equv.js → 2.js-CdZxFyXS.js} +8 -8
- package/package.json +1 -1
- package/build/client/_app/immutable/assets/0.fjR0gTLF.css +0 -1
- package/build/client/_app/immutable/assets/0.fjR0gTLF.css.br +0 -0
- package/build/client/_app/immutable/assets/0.fjR0gTLF.css.gz +0 -0
- package/build/client/_app/immutable/assets/2.H_IHw1Xd.css.br +0 -0
- package/build/client/_app/immutable/chunks/oCB7A4Kp.js.br +0 -0
- package/build/client/_app/immutable/chunks/oCB7A4Kp.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.CdZl8N5I.js +0 -2
- package/build/client/_app/immutable/entry/app.CdZl8N5I.js.br +0 -0
- package/build/client/_app/immutable/entry/app.CdZl8N5I.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.CwRowqok.js +0 -1
- package/build/client/_app/immutable/entry/start.CwRowqok.js.br +0 -0
- package/build/client/_app/immutable/entry/start.CwRowqok.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.BRTb8oj5.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.BRTb8oj5.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.f9CssAKs.js +0 -2
- package/build/client/_app/immutable/nodes/2.f9CssAKs.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.f9CssAKs.js.gz +0 -0
- /package/build/client/_app/immutable/nodes/{0.BNwlucmP.js → 0.CrqqkQn-.js} +0 -0
- /package/build/client/_app/immutable/nodes/{0.BNwlucmP.js.br → 0.CrqqkQn-.js.br} +0 -0
- /package/build/client/_app/immutable/nodes/{0.BNwlucmP.js.gz → 0.CrqqkQn-.js.gz} +0 -0
|
@@ -1175,7 +1175,7 @@ var options = {
|
|
|
1175
1175
|
app: ({ head, body, assets, nonce, env }) => "<!doctype html>\n<html lang=\"en\" data-theme=\"%aiusage.theme%\">\n <head>\n <meta charset=\"utf-8\" />\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />\n <meta name=\"color-scheme\" content=\"light dark\" />\n <meta\n name=\"description\"\n content=\"Every token your AI coding tools have spent, from the transcripts already on your machine.\"\n />\n <meta name=\"robots\" content=\"noindex\" />\n <link rel=\"icon\" href=\"" + assets + "/favicon.svg\" type=\"image/svg+xml\" />\n " + head + "\n </head>\n <body data-sveltekit-preload-data=\"hover\">\n <div style=\"display: contents\">" + body + "</div>\n </body>\n</html>\n",
|
|
1176
1176
|
error: error_template_default
|
|
1177
1177
|
},
|
|
1178
|
-
version_hash: "
|
|
1178
|
+
version_hash: "1y0z4xo"
|
|
1179
1179
|
};
|
|
1180
1180
|
async function get_hooks() {
|
|
1181
1181
|
let handle;
|
|
@@ -1183,7 +1183,7 @@ async function get_hooks() {
|
|
|
1183
1183
|
let handleError;
|
|
1184
1184
|
let handleValidationError;
|
|
1185
1185
|
let init;
|
|
1186
|
-
({handle, handleFetch, handleError, handleValidationError, init} = await import('../entries/hooks.server.js-
|
|
1186
|
+
({handle, handleFetch, handleError, handleValidationError, init} = await import('../entries/hooks.server.js-_Fcw_IVA.js'));
|
|
1187
1187
|
let reroute;
|
|
1188
1188
|
let transport;
|
|
1189
1189
|
return {
|
|
@@ -1198,4 +1198,4 @@ async function get_hooks() {
|
|
|
1198
1198
|
}
|
|
1199
1199
|
|
|
1200
1200
|
export { set_public_env as a, set_read_implementation as b, get_hooks as g, index_server_exports as i, options as o, public_env as p, read_implementation as r, set_private_env as s };
|
|
1201
|
-
//# sourceMappingURL=internal.js-
|
|
1201
|
+
//# sourceMappingURL=internal.js-WfBRMRsu.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as totalOf, c as costOf } from './range.js-
|
|
1
|
+
import { T as THEMES, t as totalOf, c as costOf } from './range.js-CiCoLGqh.js';
|
|
2
2
|
import { readFile, readdir, stat } from 'node:fs/promises';
|
|
3
3
|
import { dirname, join, basename } from 'node:path';
|
|
4
4
|
import { DatabaseSync } from 'node:sqlite';
|
|
@@ -436,6 +436,7 @@ var DEFAULTS = {
|
|
|
436
436
|
prices: {},
|
|
437
437
|
hiddenColumns: []
|
|
438
438
|
};
|
|
439
|
+
var knownTheme = (value) => THEMES.find((theme) => theme.id === value)?.id ?? "auto";
|
|
439
440
|
var cached = null;
|
|
440
441
|
function settings() {
|
|
441
442
|
if (cached) return cached;
|
|
@@ -447,7 +448,8 @@ function settings() {
|
|
|
447
448
|
}
|
|
448
449
|
cached = {
|
|
449
450
|
...DEFAULTS,
|
|
450
|
-
...stored
|
|
451
|
+
...stored,
|
|
452
|
+
theme: knownTheme(stored.theme)
|
|
451
453
|
};
|
|
452
454
|
return cached;
|
|
453
455
|
}
|
|
@@ -456,6 +458,7 @@ function saveSettings(patch) {
|
|
|
456
458
|
...settings(),
|
|
457
459
|
...patch
|
|
458
460
|
};
|
|
461
|
+
next.theme = knownTheme(next.theme);
|
|
459
462
|
writeMeta("settings", JSON.stringify(next));
|
|
460
463
|
cached = next;
|
|
461
464
|
return next;
|
|
@@ -723,4 +726,4 @@ function rollup(filters) {
|
|
|
723
726
|
}
|
|
724
727
|
|
|
725
728
|
export { scan as a, db as b, resolve as c, describe as d, config as e, saveSettings as f, clearUsageMemo as g, report as r, settings as s, usage as u };
|
|
726
|
-
//# sourceMappingURL=queries.js-
|
|
729
|
+
//# sourceMappingURL=queries.js-BEdRnpMa.js.map
|
|
@@ -1,3 +1,43 @@
|
|
|
1
|
+
//#region src/lib/themes.ts
|
|
2
|
+
var THEMES = [
|
|
3
|
+
{
|
|
4
|
+
id: "auto",
|
|
5
|
+
label: "Match the system"
|
|
6
|
+
},
|
|
7
|
+
{
|
|
8
|
+
id: "light",
|
|
9
|
+
label: "Light"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
id: "dark",
|
|
13
|
+
label: "Dark"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
id: "dracula",
|
|
17
|
+
label: "Dracula"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
id: "catppuccin",
|
|
21
|
+
label: "Catppuccin Mocha"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
id: "tokyo-night",
|
|
25
|
+
label: "Tokyo Night"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
id: "nord",
|
|
29
|
+
label: "Nord"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
id: "gruvbox",
|
|
33
|
+
label: "Gruvbox dark"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
id: "solarized",
|
|
37
|
+
label: "Solarized dark"
|
|
38
|
+
}
|
|
39
|
+
];
|
|
40
|
+
//#endregion
|
|
1
41
|
//#region src/lib/pricing.ts
|
|
2
42
|
/** Dollars per million. Anthropic bills cache reads at a tenth and 5m writes at 1.25x. */
|
|
3
43
|
var anthropic = (input, output) => ({
|
|
@@ -113,5 +153,5 @@ function resolveRange(id, now = Date.now()) {
|
|
|
113
153
|
};
|
|
114
154
|
}
|
|
115
155
|
|
|
116
|
-
export { RANGES as R, rangeLabel as a, RATES as b, costOf as c, resolveRange as r, totalOf as t };
|
|
117
|
-
//# sourceMappingURL=range.js-
|
|
156
|
+
export { RANGES as R, THEMES as T, rangeLabel as a, RATES as b, costOf as c, resolveRange as r, totalOf as t };
|
|
157
|
+
//# sourceMappingURL=range.js-CiCoLGqh.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as settings, a as scan, r as report, d as describe, b as db, c as resolve, u as usage, e as config } from './queries.js-
|
|
2
|
-
import { r as resolveRange } from './range.js-
|
|
1
|
+
import { s as settings, a as scan, r as report, d as describe, b as db, c as resolve, u as usage, e as config } from './queries.js-BEdRnpMa.js';
|
|
2
|
+
import { r as resolveRange } from './range.js-CiCoLGqh.js';
|
|
3
3
|
import { readFile } from 'node:fs/promises';
|
|
4
4
|
import { join } from 'node:path';
|
|
5
5
|
|
|
@@ -104,4 +104,4 @@ function boot() {
|
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
export { boot as b, refresh as r };
|
|
107
|
-
//# sourceMappingURL=refresh.js-
|
|
107
|
+
//# sourceMappingURL=refresh.js-0W7-GwaH.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as settings } from './queries.js-
|
|
2
|
-
import { r as resolveRange } from './range.js-
|
|
1
|
+
import { s as settings } from './queries.js-BEdRnpMa.js';
|
|
2
|
+
import { r as resolveRange } from './range.js-CiCoLGqh.js';
|
|
3
3
|
|
|
4
4
|
//#region src/lib/server/request.ts
|
|
5
5
|
function filtersFrom(url) {
|
|
@@ -17,4 +17,4 @@ function filtersFrom(url) {
|
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
export { filtersFrom as f };
|
|
20
|
-
//# sourceMappingURL=request.js-
|
|
20
|
+
//# sourceMappingURL=request.js-BF7n7fZo.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { u as usage } from '../../../../chunks/queries.js-
|
|
2
|
-
import { r as refresh } from '../../../../chunks/refresh.js-
|
|
3
|
-
import { f as filtersFrom } from '../../../../chunks/request.js-
|
|
1
|
+
import { u as usage } from '../../../../chunks/queries.js-BEdRnpMa.js';
|
|
2
|
+
import { r as refresh } from '../../../../chunks/refresh.js-0W7-GwaH.js';
|
|
3
|
+
import { f as filtersFrom } from '../../../../chunks/request.js-BF7n7fZo.js';
|
|
4
4
|
import { j as json } from '../../../../chunks/utils.js-DzwqnkBT.js';
|
|
5
|
-
import '../../../../chunks/range.js-
|
|
5
|
+
import '../../../../chunks/range.js-CiCoLGqh.js';
|
|
6
6
|
import 'node:fs/promises';
|
|
7
7
|
import 'node:path';
|
|
8
8
|
import 'node:sqlite';
|
|
@@ -18,4 +18,4 @@ var POST = async ({ url }) => {
|
|
|
18
18
|
};
|
|
19
19
|
|
|
20
20
|
export { POST };
|
|
21
|
-
//# sourceMappingURL=_server.ts.js-
|
|
21
|
+
//# sourceMappingURL=_server.ts.js-ByCHvh6I.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { s as settings, f as saveSettings, g as clearUsageMemo } from '../../../../chunks/queries.js-
|
|
2
|
-
import { r as refresh } from '../../../../chunks/refresh.js-
|
|
1
|
+
import { s as settings, f as saveSettings, g as clearUsageMemo } from '../../../../chunks/queries.js-BEdRnpMa.js';
|
|
2
|
+
import { r as refresh } from '../../../../chunks/refresh.js-0W7-GwaH.js';
|
|
3
3
|
import { j as json } from '../../../../chunks/utils.js-DzwqnkBT.js';
|
|
4
|
-
import '../../../../chunks/range.js-
|
|
4
|
+
import '../../../../chunks/range.js-CiCoLGqh.js';
|
|
5
5
|
import 'node:fs/promises';
|
|
6
6
|
import 'node:path';
|
|
7
7
|
import 'node:sqlite';
|
|
@@ -21,4 +21,4 @@ var POST = async ({ request }) => {
|
|
|
21
21
|
};
|
|
22
22
|
|
|
23
23
|
export { GET, POST };
|
|
24
|
-
//# sourceMappingURL=_server.ts.js-
|
|
24
|
+
//# sourceMappingURL=_server.ts.js-z3BUpIC2.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { u as usage } from '../../../../chunks/queries.js-
|
|
2
|
-
import { f as filtersFrom } from '../../../../chunks/request.js-
|
|
1
|
+
import { u as usage } from '../../../../chunks/queries.js-BEdRnpMa.js';
|
|
2
|
+
import { f as filtersFrom } from '../../../../chunks/request.js-BF7n7fZo.js';
|
|
3
3
|
import { j as json } from '../../../../chunks/utils.js-DzwqnkBT.js';
|
|
4
|
-
import '../../../../chunks/range.js-
|
|
4
|
+
import '../../../../chunks/range.js-CiCoLGqh.js';
|
|
5
5
|
import 'node:fs/promises';
|
|
6
6
|
import 'node:path';
|
|
7
7
|
import 'node:sqlite';
|
|
@@ -14,4 +14,4 @@ import '../../../../chunks/server.js-mTMwhapa.js';
|
|
|
14
14
|
var GET = ({ url }) => json(usage(filtersFrom(url)));
|
|
15
15
|
|
|
16
16
|
export { GET };
|
|
17
|
-
//# sourceMappingURL=_server.ts.js-
|
|
17
|
+
//# sourceMappingURL=_server.ts.js-C6vS-sK1.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import '../../chunks/internal.js-
|
|
1
|
+
import '../../chunks/internal.js-WfBRMRsu.js';
|
|
2
2
|
import { ai as escape_html, a3 as getContext } from '../../chunks/server.js-mTMwhapa.js';
|
|
3
|
-
import '../../chunks/client.js-
|
|
3
|
+
import '../../chunks/client.js-dzA-_vbM.js';
|
|
4
4
|
import '../../chunks/shared.js-7DyfRqo3.js';
|
|
5
5
|
import '../../chunks/exports.js-Dd48p7Ih.js';
|
|
6
6
|
import '../../chunks/utils.js-DzwqnkBT.js';
|
|
@@ -65,4 +65,4 @@ function Error$1($$renderer, $$props) {
|
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
export { Error$1 as default };
|
|
68
|
-
//# sourceMappingURL=error.svelte.js-
|
|
68
|
+
//# sourceMappingURL=error.svelte.js-CAWEWGLK.js.map
|
package/build/server/chunks/entries/{hooks.server.js-CBWwmRPG.js → hooks.server.js-_Fcw_IVA.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { s as settings } from '../chunks/queries.js-
|
|
2
|
-
import { b as boot } from '../chunks/refresh.js-
|
|
3
|
-
import '../chunks/range.js-
|
|
1
|
+
import { s as settings } from '../chunks/queries.js-BEdRnpMa.js';
|
|
2
|
+
import { b as boot } from '../chunks/refresh.js-0W7-GwaH.js';
|
|
3
|
+
import '../chunks/range.js-CiCoLGqh.js';
|
|
4
4
|
import 'node:fs/promises';
|
|
5
5
|
import 'node:path';
|
|
6
6
|
import 'node:sqlite';
|
|
@@ -13,4 +13,4 @@ boot();
|
|
|
13
13
|
var handle = ({ event, resolve }) => resolve(event, { transformPageChunk: ({ html }) => html.replace("%aiusage.theme%", settings().theme === "auto" ? "" : settings().theme) });
|
|
14
14
|
|
|
15
15
|
export { handle };
|
|
16
|
-
//# sourceMappingURL=hooks.server.js-
|
|
16
|
+
//# sourceMappingURL=hooks.server.js-_Fcw_IVA.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { e as config, s as settings, u as usage } from '../../chunks/queries.js-
|
|
2
|
-
import { f as filtersFrom } from '../../chunks/request.js-
|
|
1
|
+
import { e as config, s as settings, u as usage } from '../../chunks/queries.js-BEdRnpMa.js';
|
|
2
|
+
import { f as filtersFrom } from '../../chunks/request.js-BF7n7fZo.js';
|
|
3
3
|
|
|
4
4
|
//#region src/routes/+page.server.ts
|
|
5
5
|
var load = ({ url }) => ({
|
|
@@ -14,4 +14,4 @@ var _page_server_ts = /*#__PURE__*/Object.freeze({
|
|
|
14
14
|
});
|
|
15
15
|
|
|
16
16
|
export { _page_server_ts as _ };
|
|
17
|
-
//# sourceMappingURL=_page.server.ts.js-
|
|
17
|
+
//# sourceMappingURL=_page.server.ts.js-BBibcAZP.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import '../../chunks/internal.js-
|
|
1
|
+
import '../../chunks/internal.js-WfBRMRsu.js';
|
|
2
2
|
import { a0 as run, aj as head, ak as attr_class, ai as escape_html, al as attr, am as ensure_array_like, an as bind_props, ao as stringify, P as derived, ap as attr_style, aq as element } from '../../chunks/server.js-mTMwhapa.js';
|
|
3
|
-
import { R as RANGES, a as rangeLabel, b as RATES } from '../../chunks/range.js-
|
|
4
|
-
import '../../chunks/client.js-
|
|
3
|
+
import { R as RANGES, a as rangeLabel, b as RATES, T as THEMES } from '../../chunks/range.js-CiCoLGqh.js';
|
|
4
|
+
import '../../chunks/client.js-dzA-_vbM.js';
|
|
5
5
|
import '../../chunks/shared.js-7DyfRqo3.js';
|
|
6
6
|
import '../../chunks/exports.js-Dd48p7Ih.js';
|
|
7
7
|
import '../../chunks/utils.js-DzwqnkBT.js';
|
|
@@ -801,21 +801,21 @@ function Settings($$renderer, $$props) {
|
|
|
801
801
|
codex: "AIUSAGE_CODEX_DIR",
|
|
802
802
|
opencode: "AIUSAGE_OPENCODE_DIR"
|
|
803
803
|
};
|
|
804
|
-
$$renderer.push(`<dialog class="svelte-anx9w7"><header class="svelte-anx9w7"><h2 class="svelte-anx9w7">Settings</h2> <button type="button" class="close svelte-anx9w7" aria-label="Close settings"><svg viewBox="0 0 16 16" width="15" height="15" aria-hidden="true"><path d="M4 4l8 8M12 4l-8 8" stroke="currentColor" stroke-width="1.6" stroke-linecap="round"></path></svg></button></header> <div class="body svelte-anx9w7"><section class="svelte-anx9w7"><h3 class="svelte-anx9w7">Appearance</h3> <label class="field svelte-anx9w7"><span>Theme</span> `);
|
|
804
|
+
$$renderer.push(`<dialog aria-labelledby="settings-title" class="svelte-anx9w7"><header class="svelte-anx9w7"><h2 id="settings-title" class="svelte-anx9w7">Settings</h2> <button type="button" class="close svelte-anx9w7" aria-label="Close settings"><svg viewBox="0 0 16 16" width="15" height="15" aria-hidden="true"><path d="M4 4l8 8M12 4l-8 8" stroke="currentColor" stroke-width="1.6" stroke-linecap="round"></path></svg></button></header> <div class="body svelte-anx9w7"><section class="svelte-anx9w7"><h3 class="svelte-anx9w7">Appearance</h3> <label class="field svelte-anx9w7"><span>Theme</span> `);
|
|
805
805
|
$$renderer.select({
|
|
806
806
|
value: saved.theme,
|
|
807
807
|
onchange: (event) => onsave({ theme: event.currentTarget.value }),
|
|
808
808
|
class: ""
|
|
809
809
|
}, ($$renderer) => {
|
|
810
|
-
$$renderer.
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
$$renderer.
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
810
|
+
$$renderer.push(`<!--[-->`);
|
|
811
|
+
const each_array = ensure_array_like(THEMES);
|
|
812
|
+
for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {
|
|
813
|
+
let theme = each_array[$$index];
|
|
814
|
+
$$renderer.option({ value: theme.id }, ($$renderer) => {
|
|
815
|
+
$$renderer.push(`${escape_html(theme.label)}`);
|
|
816
|
+
});
|
|
817
|
+
}
|
|
818
|
+
$$renderer.push(`<!--]-->`);
|
|
819
819
|
}, "svelte-anx9w7");
|
|
820
820
|
$$renderer.push(`</label> <label class="field svelte-anx9w7"><span>Range on open</span> `);
|
|
821
821
|
$$renderer.select({
|
|
@@ -824,9 +824,9 @@ function Settings($$renderer, $$props) {
|
|
|
824
824
|
class: ""
|
|
825
825
|
}, ($$renderer) => {
|
|
826
826
|
$$renderer.push(`<!--[-->`);
|
|
827
|
-
const
|
|
828
|
-
for (let $$
|
|
829
|
-
let range =
|
|
827
|
+
const each_array_1 = ensure_array_like(RANGES);
|
|
828
|
+
for (let $$index_1 = 0, $$length = each_array_1.length; $$index_1 < $$length; $$index_1++) {
|
|
829
|
+
let range = each_array_1[$$index_1];
|
|
830
830
|
$$renderer.option({ value: range.id }, ($$renderer) => {
|
|
831
831
|
$$renderer.push(`${escape_html(range.label)}`);
|
|
832
832
|
});
|
|
@@ -847,15 +847,15 @@ function Settings($$renderer, $$props) {
|
|
|
847
847
|
});
|
|
848
848
|
}, "svelte-anx9w7");
|
|
849
849
|
$$renderer.push(`</label></section> <section class="svelte-anx9w7"><h3 class="svelte-anx9w7">Data</h3> <ul class="sources svelte-anx9w7"><!--[-->`);
|
|
850
|
-
const
|
|
851
|
-
for (let $$
|
|
852
|
-
let source =
|
|
850
|
+
const each_array_2 = ensure_array_like(sources);
|
|
851
|
+
for (let $$index_2 = 0, $$length = each_array_2.length; $$index_2 < $$length; $$index_2++) {
|
|
852
|
+
let source = each_array_2[$$index_2];
|
|
853
853
|
$$renderer.push(`<li class="svelte-anx9w7"><div><b class="svelte-anx9w7">${escape_html(source.label)}</b> <code class="svelte-anx9w7">${escape_html(source.root)}</code></div> <span${attr_class("badge svelte-anx9w7", void 0, { "on": source.present })}>${escape_html(source.present ? `${source.files} files` : "not found")}</span></li>`);
|
|
854
854
|
}
|
|
855
855
|
$$renderer.push(`<!--]--></ul> <p class="note svelte-anx9w7">Point these somewhere else with <!--[-->`);
|
|
856
|
-
const
|
|
857
|
-
for (let index = 0, $$length =
|
|
858
|
-
let source =
|
|
856
|
+
const each_array_3 = ensure_array_like(sources);
|
|
857
|
+
for (let index = 0, $$length = each_array_3.length; index < $$length; index++) {
|
|
858
|
+
let source = each_array_3[index];
|
|
859
859
|
$$renderer.push(`<code class="svelte-anx9w7">${escape_html(ENV[source.id] ?? source.id)}</code>${escape_html(index < sources.length - 1 ? ", " : "")}`);
|
|
860
860
|
}
|
|
861
861
|
$$renderer.push(`<!--]-->. History lives in <code class="svelte-anx9w7">${escape_html(dbPath)}</code> and outlives the transcripts, which most tools prune.</p> <label class="field svelte-anx9w7"><span>Rescan every</span> `);
|
|
@@ -881,9 +881,9 @@ function Settings($$renderer, $$props) {
|
|
|
881
881
|
you add here wins, and an unknown model is reported rather than counted as free.</p> `);
|
|
882
882
|
if (overrides().length) {
|
|
883
883
|
$$renderer.push(`<!--[0--><ul class="prices svelte-anx9w7"><!--[-->`);
|
|
884
|
-
const
|
|
885
|
-
for (let $$
|
|
886
|
-
let [model, rate] =
|
|
884
|
+
const each_array_4 = ensure_array_like(overrides());
|
|
885
|
+
for (let $$index_4 = 0, $$length = each_array_4.length; $$index_4 < $$length; $$index_4++) {
|
|
886
|
+
let [model, rate] = each_array_4[$$index_4];
|
|
887
887
|
$$renderer.push(`<li class="svelte-anx9w7"><code class="svelte-anx9w7">${escape_html(model)}</code> <span class="num">in ${escape_html(rate.input)} / out ${escape_html(rate.output)}</span> <button type="button" class="svelte-anx9w7">Remove</button></li>`);
|
|
888
888
|
}
|
|
889
889
|
$$renderer.push(`<!--]--></ul>`);
|
|
@@ -1399,4 +1399,4 @@ function _page($$renderer, $$props) {
|
|
|
1399
1399
|
}
|
|
1400
1400
|
|
|
1401
1401
|
export { _page as default };
|
|
1402
|
-
//# sourceMappingURL=_page.svelte.js-
|
|
1402
|
+
//# sourceMappingURL=_page.svelte.js-DWD4fuiY.js.map
|
|
@@ -9,8 +9,8 @@ import * as qs from 'node:querystring';
|
|
|
9
9
|
import { Readable } from 'node:stream';
|
|
10
10
|
import { S as SvelteKitError } from './chunks/shared.js-7DyfRqo3.js';
|
|
11
11
|
import { y as splitCookiesString } from './chunks/utils.js-DzwqnkBT.js';
|
|
12
|
-
import { S as Server } from './index.js-
|
|
13
|
-
import { m as manifest } from './manifest.js-
|
|
12
|
+
import { S as Server } from './index.js-CItxG5Fx.js';
|
|
13
|
+
import { m as manifest } from './manifest.js-B6xVyARC.js';
|
|
14
14
|
import { env, dir, env_prefix } from '../../env.js';
|
|
15
15
|
import { format } from 'node:url';
|
|
16
16
|
|
|
@@ -1472,4 +1472,4 @@ const handler = sequence(
|
|
|
1472
1472
|
);
|
|
1473
1473
|
|
|
1474
1474
|
export { format_listening_address as f, handler as h, polka as p };
|
|
1475
|
-
//# sourceMappingURL=handler-
|
|
1475
|
+
//# sourceMappingURL=handler-CvhtfVM1.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as options, s as set_private_env, a as set_public_env, g as get_hooks, p as public_env, r as read_implementation, b as set_read_implementation } from './chunks/internal.js-
|
|
1
|
+
import { o as options, s as set_private_env, a as set_public_env, g as get_hooks, p as public_env, r as read_implementation, b as set_read_implementation } from './chunks/internal.js-WfBRMRsu.js';
|
|
2
2
|
import { n as noop, T as TRAILING_SLASH_PARAM, I as INVALIDATED_PARAM, R as Redirect, b as get_relative_path, S as SvelteKitError, g as get_status, t as text_encoder, o as once, H as HttpError, d as normalize_error, e as create_remote_key, p as parse_remote_arg, s as stringify, A as ActionFailure, f as split_remote_key, h as base64_encode } from './chunks/shared.js-7DyfRqo3.js';
|
|
3
3
|
import { b as base, o as override, a as assets, r as reset, c as app_dir } from './chunks/internal2.js-BlXt2rfE.js';
|
|
4
4
|
import { f as format_server_error, j as json, i as is_form_content_type, t as text, h as has_prerendered_path, a as handle_fatal_error, r as redirect_response, g as get_set_cookies, n as negotiate, w as with_request_store, p as parseString, m as merge_tracing, b as method_not_allowed, s as static_error_page, c as handle_error_and_jsonify, d as get_global_name, e as create_replacer, k as serialize_uses, l as clarify_devalue_error, E as ENDPOINT_METHODS, P as PAGE_METHODS, o as get_node_type, q as isRedirect, u as escape_html, v as error, x as deserialize_binary_form } from './chunks/utils.js-DzwqnkBT.js';
|
|
@@ -3969,4 +3969,4 @@ var Server = class {
|
|
|
3969
3969
|
};
|
|
3970
3970
|
|
|
3971
3971
|
export { Server as S };
|
|
3972
|
-
//# sourceMappingURL=index.js-
|
|
3972
|
+
//# sourceMappingURL=index.js-CItxG5Fx.js.map
|
|
@@ -10,11 +10,11 @@ return {
|
|
|
10
10
|
assets: new Set(["favicon.svg","robots.txt"]),
|
|
11
11
|
mimeTypes: {".svg":"image/svg+xml",".txt":"text/plain"},
|
|
12
12
|
_: {
|
|
13
|
-
client: {start:"_app/immutable/entry/start.
|
|
13
|
+
client: {start:"_app/immutable/entry/start.h5yz1FcE.js",app:"_app/immutable/entry/app.D4LA_7JD.js",imports:["_app/immutable/entry/start.h5yz1FcE.js","_app/immutable/chunks/Cs9ix4uI.js","_app/immutable/chunks/DC6tN2WI.js","_app/immutable/entry/app.D4LA_7JD.js","_app/immutable/chunks/DC6tN2WI.js","_app/immutable/chunks/xihTtKlq.js"],stylesheets:[],fonts:[],uses_env_dynamic_public:false},
|
|
14
14
|
nodes: [
|
|
15
|
-
__memo(() => import('./nodes/0.js-
|
|
16
|
-
__memo(() => import('./nodes/1.js-
|
|
17
|
-
__memo(() => import('./nodes/2.js-
|
|
15
|
+
__memo(() => import('./nodes/0.js-CxT79s9-.js')),
|
|
16
|
+
__memo(() => import('./nodes/1.js-ClmHS2nO.js')),
|
|
17
|
+
__memo(() => import('./nodes/2.js-CdZxFyXS.js'))
|
|
18
18
|
],
|
|
19
19
|
remotes: {
|
|
20
20
|
|
|
@@ -32,21 +32,21 @@ return {
|
|
|
32
32
|
pattern: /^\/api\/refresh\/?$/,
|
|
33
33
|
params: [],
|
|
34
34
|
page: null,
|
|
35
|
-
endpoint: __memo(() => import('./entries/endpoints/api/refresh/_server.ts.js-
|
|
35
|
+
endpoint: __memo(() => import('./entries/endpoints/api/refresh/_server.ts.js-ByCHvh6I.js'))
|
|
36
36
|
},
|
|
37
37
|
{
|
|
38
38
|
id: "/api/settings",
|
|
39
39
|
pattern: /^\/api\/settings\/?$/,
|
|
40
40
|
params: [],
|
|
41
41
|
page: null,
|
|
42
|
-
endpoint: __memo(() => import('./entries/endpoints/api/settings/_server.ts.js-
|
|
42
|
+
endpoint: __memo(() => import('./entries/endpoints/api/settings/_server.ts.js-z3BUpIC2.js'))
|
|
43
43
|
},
|
|
44
44
|
{
|
|
45
45
|
id: "/api/usage",
|
|
46
46
|
pattern: /^\/api\/usage\/?$/,
|
|
47
47
|
params: [],
|
|
48
48
|
page: null,
|
|
49
|
-
endpoint: __memo(() => import('./entries/endpoints/api/usage/_server.ts.js-
|
|
49
|
+
endpoint: __memo(() => import('./entries/endpoints/api/usage/_server.ts.js-C6vS-sK1.js'))
|
|
50
50
|
}
|
|
51
51
|
],
|
|
52
52
|
prerendered_routes: new Set([]),
|
|
@@ -60,4 +60,4 @@ return {
|
|
|
60
60
|
})();
|
|
61
61
|
|
|
62
62
|
export { manifest as m };
|
|
63
|
-
//# sourceMappingURL=manifest.js-
|
|
63
|
+
//# sourceMappingURL=manifest.js-B6xVyARC.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
const index = 0;
|
|
2
2
|
let component_cache;
|
|
3
3
|
const component = async () => component_cache ??= (await import('../entries/pages/_layout.svelte.js-C9kkUOBf.js')).default;
|
|
4
|
-
const imports = ["_app/immutable/nodes/0.
|
|
5
|
-
const stylesheets = ["_app/immutable/assets/0.
|
|
4
|
+
const imports = ["_app/immutable/nodes/0.CrqqkQn-.js","_app/immutable/chunks/DC6tN2WI.js","_app/immutable/chunks/xihTtKlq.js"];
|
|
5
|
+
const stylesheets = ["_app/immutable/assets/0.CZ6VMqH1.css"];
|
|
6
6
|
const fonts = [];
|
|
7
7
|
|
|
8
8
|
export { component, fonts, imports, index, stylesheets };
|
|
9
|
-
//# sourceMappingURL=0.js-
|
|
9
|
+
//# sourceMappingURL=0.js-CxT79s9-.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
const index = 1;
|
|
2
2
|
let component_cache;
|
|
3
|
-
const component = async () => component_cache ??= (await import('../entries/fallbacks/error.svelte.js-
|
|
4
|
-
const imports = ["_app/immutable/nodes/1.
|
|
3
|
+
const component = async () => component_cache ??= (await import('../entries/fallbacks/error.svelte.js-CAWEWGLK.js')).default;
|
|
4
|
+
const imports = ["_app/immutable/nodes/1.CTKJ-7rB.js","_app/immutable/chunks/DC6tN2WI.js","_app/immutable/chunks/Cs9ix4uI.js","_app/immutable/chunks/xihTtKlq.js"];
|
|
5
5
|
const stylesheets = [];
|
|
6
6
|
const fonts = [];
|
|
7
7
|
|
|
8
8
|
export { component, fonts, imports, index, stylesheets };
|
|
9
|
-
//# sourceMappingURL=1.js-
|
|
9
|
+
//# sourceMappingURL=1.js-ClmHS2nO.js.map
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
export { _ as server } from '../entries/pages/_page.server.ts.js-
|
|
2
|
-
import '../chunks/queries.js-
|
|
3
|
-
import '../chunks/range.js-
|
|
1
|
+
export { _ as server } from '../entries/pages/_page.server.ts.js-BBibcAZP.js';
|
|
2
|
+
import '../chunks/queries.js-BEdRnpMa.js';
|
|
3
|
+
import '../chunks/range.js-CiCoLGqh.js';
|
|
4
4
|
import 'node:fs/promises';
|
|
5
5
|
import 'node:path';
|
|
6
6
|
import 'node:sqlite';
|
|
7
7
|
import 'node:fs';
|
|
8
8
|
import 'node:os';
|
|
9
|
-
import '../chunks/request.js-
|
|
9
|
+
import '../chunks/request.js-BF7n7fZo.js';
|
|
10
10
|
|
|
11
11
|
const index = 2;
|
|
12
12
|
let component_cache;
|
|
13
|
-
const component = async () => component_cache ??= (await import('../entries/pages/_page.svelte.js-
|
|
13
|
+
const component = async () => component_cache ??= (await import('../entries/pages/_page.svelte.js-DWD4fuiY.js')).default;
|
|
14
14
|
const server_id = "src/routes/+page.server.ts";
|
|
15
|
-
const imports = ["_app/immutable/nodes/2.
|
|
16
|
-
const stylesheets = ["_app/immutable/assets/2.
|
|
15
|
+
const imports = ["_app/immutable/nodes/2.BdW0LqA6.js","_app/immutable/chunks/DC6tN2WI.js","_app/immutable/chunks/Cs9ix4uI.js","_app/immutable/chunks/xihTtKlq.js"];
|
|
16
|
+
const stylesheets = ["_app/immutable/assets/2.CZocdpCk.css"];
|
|
17
17
|
const fonts = [];
|
|
18
18
|
|
|
19
19
|
export { component, fonts, imports, index, server_id, stylesheets };
|
|
20
|
-
//# sourceMappingURL=2.js-
|
|
20
|
+
//# sourceMappingURL=2.js-CdZxFyXS.js.map
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
:root{--bg:#f6f6f9;--surface:#fff;--surface-2:#f1f1f5;--surface-3:#e7e7ee;--border:#e3e3ea;--border-strong:#cbcbd7;--text:#16161c;--text-muted:#5b5b6b;--text-faint:#8a8a9b;--accent:#5250d4;--accent-text:#fff;--accent-soft:#ecebfb;--good:#1a7f5a;--warn:#a96a08;--bad:#c23b3b;--ramp-0:#ececf1;--ramp-1:#d0cff4;--ramp-2:#a8a6ea;--ramp-3:#7d7ae0;--ramp-4:#5250d4;--ramp-5:#38369c;--shadow:0 1px 2px #14141e0d, 0 8px 24px -14px #14141e33;--shadow-pop:0 2px 6px #14141e14, 0 18px 44px -18px #14141e52;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--radius:12px;--radius-sm:8px;--gap:18px;--pad:20px;--sans:ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--mono:ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;--ease:cubic-bezier(.22, .61, .36, 1);--quick:.16s var(--ease)}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--bg:#0c0c10;--surface:#15151b;--surface-2:#1c1c23;--surface-3:#26262f;--border:#26262f;--border-strong:#3a3a48;--text:#eceef3;--text-muted:#a0a1b0;--text-faint:#6d6e80;--accent:#8b88f5;--accent-text:#14131f;--accent-soft:#23213c;--good:#4ecb9a;--warn:#e0a54a;--bad:#f0736f;--ramp-0:#1b1b22;--ramp-1:#2d2b52;--ramp-2:#443f86;--ramp-3:#5f59bd;--ramp-4:#8b88f5;--ramp-5:#b6b4ff;--shadow:0 1px 2px #0006, 0 8px 24px -14px #0009;--shadow-pop:0 2px 6px #00000080, 0 18px 44px -18px #000000b8;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}:root[data-theme=dark]{--bg:#0c0c10;--surface:#15151b;--surface-2:#1c1c23;--surface-3:#26262f;--border:#26262f;--border-strong:#3a3a48;--text:#eceef3;--text-muted:#a0a1b0;--text-faint:#6d6e80;--accent:#8b88f5;--accent-text:#14131f;--accent-soft:#23213c;--good:#4ecb9a;--warn:#e0a54a;--bad:#f0736f;--ramp-0:#1b1b22;--ramp-1:#2d2b52;--ramp-2:#443f86;--ramp-3:#5f59bd;--ramp-4:#8b88f5;--ramp-5:#b6b4ff;--shadow:0 1px 2px #0006, 0 8px 24px -14px #0009;--shadow-pop:0 2px 6px #00000080, 0 18px 44px -18px #000000b8;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*,:before,:after{box-sizing:border-box}html{background:var(--bg)}body{background:var(--bg);color:var(--text);font-family:var(--sans);-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;margin:0;font-size:15px;line-height:1.5}h1,h2,h3{letter-spacing:-.015em;text-wrap:balance;margin:0;font-weight:600}button,input,select{font:inherit;color:inherit}button{cursor:pointer}a{color:var(--accent);text-underline-offset:3px;text-decoration-thickness:1px}:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:4px}::selection{background:var(--accent);color:var(--accent-text)}::-webkit-scrollbar{width:12px;height:12px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:var(--border-strong);border:3px solid var(--bg);border-radius:999px}::-webkit-scrollbar-thumb:hover{background:var(--text-faint)}*{scrollbar-color:var(--border-strong) transparent;scrollbar-width:thin}.num{font-variant-numeric:tabular-nums;font-feature-settings:"tnum"}.app-tooltip{z-index:60;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);max-width:260px;box-shadow:var(--shadow-pop);color:var(--text);pointer-events:none;opacity:0;transition:opacity var(--quick);padding:6px 10px;font-size:.75rem;line-height:1.35;position:fixed;top:0;left:0}.app-tooltip.is-open{opacity:1}.visually-hidden{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important}}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.BNwlucmP.js","../chunks/DC6tN2WI.js","../chunks/xihTtKlq.js","../assets/0.fjR0gTLF.css","../nodes/1.BRTb8oj5.js","../chunks/oCB7A4Kp.js","../nodes/2.f9CssAKs.js","../assets/2.H_IHw1Xd.css"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{A as e,B as t,D as n,E as r,G as i,I as a,O as o,P as s,T as c,V as l,W as u,X as d,Y as f,Z as p,a as m,b as h,et as g,i as _,it as v,n as y,q as b,r as x,tt as S,w as C,z as w}from"../chunks/DC6tN2WI.js";import"../chunks/xihTtKlq.js";var T=`modulepreload`,E=function(e,t){return new URL(e,t).href},D={},O=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function s(e){return import.meta.resolve?import.meta.resolve(e):new URL(e,import.meta.url).href}r=o(t.map(t=>{if(t=E(t,n),t=s(t),t in D)return;D[t]=!0;let r=t.endsWith(`.css`);for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}let i=document.createElement(`link`);if(i.rel=r?`stylesheet`:T,r||(i.as=`script`),i.crossOrigin=``,i.href=t,a&&i.setAttribute(`nonce`,a),document.head.appendChild(i),r)return new Promise((e,n)=>{i.addEventListener(`load`,e),i.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})},k={},A=o(`<div id="svelte-announcer" aria-live="assertive" aria-atomic="true" style="position: absolute; left: 0; top: 0; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; width: 1px; height: 1px"><!></div>`),j=o(`<!> <!>`,1);function M(o,x){S(x,!0);let T=_(x,`components`,23,()=>[]),E=_(x,`data_0`,3,null),D=_(x,`data_1`,3,null);l(()=>x.stores.page.set(x.page)),t(()=>{x.stores,x.page,x.constructors,T(),x.form,E(),D(),x.stores.page.notify()});let O=d(!1),k=d(!1),M=d(null);y(()=>{let e=x.stores.page.subscribe(()=>{s(O)&&(f(k,!0),a().then(()=>{f(M,document.title||`untitled page`,!0)}))});return f(O,!0),e});let N=p(()=>x.constructors[1]);var P=j(),F=i(P),I=e=>{let t=p(()=>x.constructors[0]);var a=n(),o=i(a);h(o,()=>s(t),(e,t)=>{m(t(e,{get data(){return E()},get form(){return x.form},get params(){return x.page.params},children:(e,t)=>{var a=n(),o=i(a);h(o,()=>s(N),(e,t)=>{m(t(e,{get data(){return D()},get form(){return x.form},get params(){return x.page.params}}),e=>T()[1]=e,()=>T()?.[1])}),r(e,a)},$$slots:{default:!0}}),e=>T()[0]=e,()=>T()?.[0])}),r(e,a)},L=e=>{let t=p(()=>x.constructors[0]);var a=n(),o=i(a);h(o,()=>s(t),(e,t)=>{m(t(e,{get data(){return E()},get form(){return x.form},get params(){return x.page.params}}),e=>T()[0]=e,()=>T()?.[0])}),r(e,a)};C(F,e=>{x.constructors[1]?e(I):e(L,-1)});var R=b(F,2),z=t=>{var n=A(),i=u(n),a=t=>{var n=e();w(()=>c(n,s(M))),r(t,n)};C(i,e=>{s(k)&&e(a)}),v(n),r(t,n)};C(R,e=>{s(O)&&e(z)}),r(o,P),g()}var N=x(M),P=[()=>O(()=>import(`../nodes/0.BNwlucmP.js`),__vite__mapDeps([0,1,2,3]),import.meta.url),()=>O(()=>import(`../nodes/1.BRTb8oj5.js`),__vite__mapDeps([4,1,5,2]),import.meta.url),()=>O(()=>import(`../nodes/2.f9CssAKs.js`),__vite__mapDeps([6,1,5,2,7]),import.meta.url)],F=[],I={"/":[-3]},L={handleError:(({error:e})=>{console.error(e)}),reroute:(()=>{}),transport:{}},R=Object.fromEntries(Object.entries(L.transport).map(([e,t])=>[e,t.decode])),z=Object.fromEntries(Object.entries(L.transport).map(([e,t])=>[e,t.encode])),B=!1,V=(e,t)=>R[e](t),H=()=>O(()=>import(`../chunks/Bjy-W4x2.js`).then(e=>e.default),[],import.meta.url);export{V as decode,R as decoders,I as dictionary,z as encoders,H as get_error_template,B as hash,L as hooks,k as matchers,P as nodes,N as root,F as server_loads};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as e,n as t}from"../chunks/oCB7A4Kp.js";export{e as load_css,t as start};
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|