token-usage-dashboard 1.0.6
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/LICENSE +21 -0
- package/README.md +151 -0
- package/bin/ai-usage-dashboard.js +92 -0
- package/build/client/_app/immutable/assets/0.fjR0gTLF.css +1 -0
- 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.BABRsmGA.css +1 -0
- package/build/client/_app/immutable/assets/2.BABRsmGA.css.br +0 -0
- package/build/client/_app/immutable/assets/2.BABRsmGA.css.gz +0 -0
- package/build/client/_app/immutable/chunks/Bjy-W4x2.js +81 -0
- package/build/client/_app/immutable/chunks/Bjy-W4x2.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bjy-W4x2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DC6tN2WI.js +3 -0
- package/build/client/_app/immutable/chunks/DC6tN2WI.js.br +0 -0
- package/build/client/_app/immutable/chunks/DC6tN2WI.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DRLSLo2t.js +2 -0
- package/build/client/_app/immutable/chunks/DRLSLo2t.js.br +0 -0
- package/build/client/_app/immutable/chunks/DRLSLo2t.js.gz +0 -0
- package/build/client/_app/immutable/chunks/xihTtKlq.js +1 -0
- package/build/client/_app/immutable/chunks/xihTtKlq.js.br +1 -0
- package/build/client/_app/immutable/chunks/xihTtKlq.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.C7Gg5PnI.js +2 -0
- package/build/client/_app/immutable/entry/app.C7Gg5PnI.js.br +0 -0
- package/build/client/_app/immutable/entry/app.C7Gg5PnI.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.fbJ-_JRS.js +1 -0
- package/build/client/_app/immutable/entry/start.fbJ-_JRS.js.br +0 -0
- package/build/client/_app/immutable/entry/start.fbJ-_JRS.js.gz +0 -0
- package/build/client/_app/immutable/nodes/0.BNwlucmP.js +1 -0
- package/build/client/_app/immutable/nodes/0.BNwlucmP.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.BNwlucmP.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.Dj3Fzim2.js +1 -0
- package/build/client/_app/immutable/nodes/1.Dj3Fzim2.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.Dj3Fzim2.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.Csi9nKxw.js +2 -0
- package/build/client/_app/immutable/nodes/2.Csi9nKxw.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.Csi9nKxw.js.gz +0 -0
- package/build/client/_app/version.json +1 -0
- package/build/client/_app/version.json.br +0 -0
- package/build/client/_app/version.json.gz +0 -0
- package/build/client/favicon.svg +1 -0
- package/build/client/favicon.svg.br +0 -0
- package/build/client/favicon.svg.gz +0 -0
- package/build/client/robots.txt +2 -0
- package/build/client/robots.txt.br +3 -0
- package/build/client/robots.txt.gz +0 -0
- package/build/env.js +70 -0
- package/build/handler.js +22 -0
- package/build/index.js +145 -0
- package/build/server/chunks/chunks/client.js-C1_n_a2s.js +28 -0
- package/build/server/chunks/chunks/env.js-l0sNRNKZ.js +2 -0
- package/build/server/chunks/chunks/exports.js-Dd48p7Ih.js +263 -0
- package/build/server/chunks/chunks/internal.js-b-1wrnfA.js +1201 -0
- package/build/server/chunks/chunks/internal2.js-BlXt2rfE.js +22 -0
- package/build/server/chunks/chunks/queries.js-aTxz7ubg.js +676 -0
- package/build/server/chunks/chunks/range.js-CLYFtcRE.js +117 -0
- package/build/server/chunks/chunks/refresh.js-DM1hnB2Y.js +107 -0
- package/build/server/chunks/chunks/request.js-B3j1_Icg.js +20 -0
- package/build/server/chunks/chunks/server.js-mTMwhapa.js +5374 -0
- package/build/server/chunks/chunks/shared.js-7DyfRqo3.js +255 -0
- package/build/server/chunks/chunks/utils.js-DzwqnkBT.js +1049 -0
- package/build/server/chunks/entries/endpoints/api/refresh/_server.ts.js-CJa6pKKD.js +21 -0
- package/build/server/chunks/entries/endpoints/api/settings/_server.ts.js-DQt7Bc2q.js +24 -0
- package/build/server/chunks/entries/endpoints/api/usage/_server.ts.js-kInjrhtE.js +17 -0
- package/build/server/chunks/entries/fallbacks/error.svelte.js-CVKDebWa.js +68 -0
- package/build/server/chunks/entries/hooks.server.js-BbojNy1X.js +16 -0
- package/build/server/chunks/entries/pages/_layout.svelte.js-C9kkUOBf.js +9 -0
- package/build/server/chunks/entries/pages/_page.server.ts.js-Oa3Sfml2.js +17 -0
- package/build/server/chunks/entries/pages/_page.svelte.js-D91hy9R4.js +1255 -0
- package/build/server/chunks/handler-br42Ds2q.js +1475 -0
- package/build/server/chunks/index.js-CBAFVV7O.js +3972 -0
- package/build/server/chunks/manifest.js-s70ajt69.js +63 -0
- package/build/server/chunks/nodes/0.js-Bzngkdxl.js +9 -0
- package/build/server/chunks/nodes/1.js-Cvu2_eGw.js +9 -0
- package/build/server/chunks/nodes/2.js-7xvomkGu.js +20 -0
- package/build/shims.js +33 -0
- package/package.json +64 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 NotAFlightRisk
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
<h1 align="center">AI usage dashboard 📊</h1>
|
|
2
|
+
<p align="center">
|
|
3
|
+
<i>Every token your AI coding tools have spent, off the transcripts already on your machine</i>
|
|
4
|
+
</p>
|
|
5
|
+
|
|
6
|
+
<p align="center">
|
|
7
|
+
<img src="https://raw.githubusercontent.com/NotAFlightRisk/ai-usage-dashboard/main/.github/screenshot.png" width="800" alt="The dashboard, showing a usage calendar, daily totals and plan windows" />
|
|
8
|
+
</p>
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
## About
|
|
13
|
+
|
|
14
|
+
Claude Code, Codex and friends all leave a paper trail. A JSONL transcript per session, token
|
|
15
|
+
counts on every turn, and in Codex's case the rate-limit windows too. Nothing reads them, so you
|
|
16
|
+
end up guessing what a week of agents actually cost you.
|
|
17
|
+
|
|
18
|
+
This reads those files, keeps a copy in a small SQLite database, and draws the lot:
|
|
19
|
+
|
|
20
|
+
- a calendar heatmap of every day since your records start
|
|
21
|
+
- daily totals, stacked by tool or by model
|
|
22
|
+
- the split between fresh input, output, cache reads and cache writes
|
|
23
|
+
- which projects and models the tokens went to
|
|
24
|
+
- your Claude 5-hour and 7-day windows, and the Codex ones
|
|
25
|
+
- every session, with what it spent and how long it ran
|
|
26
|
+
|
|
27
|
+
The database matters more than it sounds like it should. Claude Code prunes its transcripts after
|
|
28
|
+
a week or two, so anything not copied out is gone. Once this has been running a while its history
|
|
29
|
+
goes back further than the files do.
|
|
30
|
+
|
|
31
|
+
Cost is an estimate at published API rates. If you're on a subscription that's a weight rather
|
|
32
|
+
than a bill, and the plan windows are the thing really constraining you. A model we have no
|
|
33
|
+
price for is reported as unpriced, never quietly counted as free.
|
|
34
|
+
|
|
35
|
+
---
|
|
36
|
+
|
|
37
|
+
## Usage
|
|
38
|
+
|
|
39
|
+
```shell
|
|
40
|
+
npx token-usage-dashboard
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
That's it. It finds your transcripts, reads them, and opens on
|
|
44
|
+
[localhost:4747](http://localhost:4747). Install it globally and the command is just `aiusage`.
|
|
45
|
+
Nothing leaves the machine except the one call to Anthropic for your plan windows, which you can
|
|
46
|
+
turn off in settings.
|
|
47
|
+
|
|
48
|
+
| Flag | What it does |
|
|
49
|
+
| ---------------------- | ------------------------------------------------ |
|
|
50
|
+
| `-p, --port <n>` | Port to listen on, or the next free one after it |
|
|
51
|
+
| `-h, --host <ip>` | Address to bind, `127.0.0.1` by default |
|
|
52
|
+
| `--db <path>` | Where to keep the history |
|
|
53
|
+
| `--open` / `--no-open` | Whether to open a browser |
|
|
54
|
+
|
|
55
|
+
---
|
|
56
|
+
|
|
57
|
+
## Deployment
|
|
58
|
+
|
|
59
|
+
### Option 1: Docker
|
|
60
|
+
|
|
61
|
+
The image is on DockerHub ([`notaflightrisk/ai-usage-dashboard`](https://hub.docker.com/r/notaflightrisk/ai-usage-dashboard))
|
|
62
|
+
and GHCR. Mount the directories you want read, plus somewhere to keep the database:
|
|
63
|
+
|
|
64
|
+
```shell
|
|
65
|
+
docker run -p 127.0.0.1:8080:8080 \
|
|
66
|
+
-v ~/.claude:/home/node/.claude:ro \
|
|
67
|
+
-v ~/.codex:/home/node/.codex:ro \
|
|
68
|
+
-v ai-usage:/data \
|
|
69
|
+
notaflightrisk/ai-usage-dashboard
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
There's a compose file in [`docker/`](https://github.com/NotAFlightRisk/ai-usage-dashboard/blob/main/docker/compose.yaml) if you'd rather. The container has
|
|
73
|
+
to bind `0.0.0.0` internally, so publish the port to localhost like that unless something in
|
|
74
|
+
front of it is checking who's asking.
|
|
75
|
+
|
|
76
|
+
### Option 2: A local service
|
|
77
|
+
|
|
78
|
+
There's a systemd user unit in `scripts/`. `scripts/install.sh` fills in the paths and starts it,
|
|
79
|
+
so it comes back after a reboot:
|
|
80
|
+
|
|
81
|
+
```shell
|
|
82
|
+
./scripts/install.sh 4747
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
### Option 3: From a release
|
|
86
|
+
|
|
87
|
+
Grab the tarball from [releases](https://github.com/NotAFlightRisk/ai-usage-dashboard/releases),
|
|
88
|
+
then `npm ci --omit=dev && npm start`.
|
|
89
|
+
|
|
90
|
+
### Option 4: From source
|
|
91
|
+
|
|
92
|
+
Follow [Development](#development) below, then `npm run build && npm start`.
|
|
93
|
+
|
|
94
|
+
No hosted deploy, and there won't be one. It reads files on your machine, so somebody else's
|
|
95
|
+
server would have nothing to look at.
|
|
96
|
+
|
|
97
|
+
---
|
|
98
|
+
|
|
99
|
+
## Configuration
|
|
100
|
+
|
|
101
|
+
Most of it lives behind the gear icon: theme, default range, how often to rescan, whether to ask
|
|
102
|
+
Anthropic for your plan windows, and price overrides for any model we've got wrong or don't know.
|
|
103
|
+
|
|
104
|
+
Paths are environment variables, since they're needed before the app starts. See
|
|
105
|
+
[`.env.example`](https://github.com/NotAFlightRisk/ai-usage-dashboard/blob/main/.env.example) for the full list. The ones you'll actually want are
|
|
106
|
+
`AIUSAGE_DB`, `AIUSAGE_CLAUDE_DIR` and `AIUSAGE_CODEX_DIR`.
|
|
107
|
+
|
|
108
|
+
---
|
|
109
|
+
|
|
110
|
+
## Supported tools
|
|
111
|
+
|
|
112
|
+
| Tool | Where it reads |
|
|
113
|
+
| ----------- | -------------------------------------------------------------- |
|
|
114
|
+
| Claude Code | `~/.claude/projects/**/*.jsonl`, subagent transcripts included |
|
|
115
|
+
| Codex | `~/.codex/sessions/**/*.jsonl` |
|
|
116
|
+
| OpenCode | `~/.local/share/opencode/storage/message` |
|
|
117
|
+
|
|
118
|
+
Adding another is one file in `src/lib/server/sources/`. If a tool writes token counts somewhere
|
|
119
|
+
we can read, it can go in - open an issue with a sample and we'll have a look.
|
|
120
|
+
|
|
121
|
+
---
|
|
122
|
+
|
|
123
|
+
## Development
|
|
124
|
+
|
|
125
|
+
You'll need [Node](https://nodejs.org/) 22.12 or newer (that's where `node:sqlite` lands), plus
|
|
126
|
+
[Git](https://git-scm.com/). It's a [SvelteKit](https://svelte.dev/docs/kit) app and the build
|
|
127
|
+
comes out self-contained, so an install of it pulls in no runtime dependencies at all.
|
|
128
|
+
|
|
129
|
+
```bash
|
|
130
|
+
git clone git@github.com:NotAFlightRisk/ai-usage-dashboard.git
|
|
131
|
+
cd ai-usage-dashboard
|
|
132
|
+
npm install
|
|
133
|
+
npm run dev
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
The dev server is then on [localhost:5173](http://localhost:5173). The other scripts you'll want
|
|
137
|
+
are `npm run check` (types), `npm test` (tests) and `npm run format`.
|
|
138
|
+
|
|
139
|
+
Provider logos come from [Simple Icons](https://simpleicons.org) (CC0) and
|
|
140
|
+
[LobeHub](https://github.com/lobehub/lobe-icons) (MIT), which covers the few Simple Icons has
|
|
141
|
+
dropped. The marks themselves belong to their owners and are only used to point at them.
|
|
142
|
+
|
|
143
|
+
---
|
|
144
|
+
|
|
145
|
+
<!-- License + Copyright -->
|
|
146
|
+
<p align="center">
|
|
147
|
+
<a href="https://github.com/NotAFlightRisk"><img width="64" src="https://pixelflare.cc/iain/gif/penguin-dance.gif" /></a><br>
|
|
148
|
+
<sup>
|
|
149
|
+
<i>Licensed under <a href="https://github.com/NotAFlightRisk/ai-usage-dashboard/blob/main/LICENSE">MIT</a>, © <a href="https://peng.ly">NotAFlightRisk</a> 2026</i>
|
|
150
|
+
</sup>
|
|
151
|
+
</p>
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { spawn } from 'node:child_process';
|
|
3
|
+
import { createServer } from 'node:net';
|
|
4
|
+
import { dirname, resolve } from 'node:path';
|
|
5
|
+
import { fileURLToPath } from 'node:url';
|
|
6
|
+
import { readFileSync } from 'node:fs';
|
|
7
|
+
|
|
8
|
+
// node:sqlite is still flagged experimental on Node 22 and the notice helps nobody here
|
|
9
|
+
process.removeAllListeners('warning');
|
|
10
|
+
process.on('warning', (warning) => {
|
|
11
|
+
if (warning.name !== 'ExperimentalWarning') console.warn(warning);
|
|
12
|
+
});
|
|
13
|
+
|
|
14
|
+
const root = resolve(dirname(fileURLToPath(import.meta.url)), '..');
|
|
15
|
+
const pkg = JSON.parse(readFileSync(resolve(root, 'package.json'), 'utf8'));
|
|
16
|
+
|
|
17
|
+
const HELP = `
|
|
18
|
+
aiusage ${pkg.version}
|
|
19
|
+
|
|
20
|
+
Usage
|
|
21
|
+
$ aiusage [options]
|
|
22
|
+
|
|
23
|
+
Options
|
|
24
|
+
-p, --port <n> Port to listen on, or the next free one (default 4747)
|
|
25
|
+
-h, --host <ip> Address to bind (default 127.0.0.1)
|
|
26
|
+
--db <path> Where to keep the usage database
|
|
27
|
+
--open Open a browser once it is up
|
|
28
|
+
--no-open Never open a browser
|
|
29
|
+
-v, --version Print the version
|
|
30
|
+
--help Print this
|
|
31
|
+
`;
|
|
32
|
+
|
|
33
|
+
const args = process.argv.slice(2);
|
|
34
|
+
const flag = (...names) => args.some((arg) => names.includes(arg));
|
|
35
|
+
const value = (...names) => {
|
|
36
|
+
const at = args.findIndex((arg) => names.includes(arg));
|
|
37
|
+
return at === -1 ? null : args[at + 1];
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
if (flag('--help')) {
|
|
41
|
+
console.log(HELP);
|
|
42
|
+
process.exit(0);
|
|
43
|
+
}
|
|
44
|
+
if (flag('-v', '--version')) {
|
|
45
|
+
console.log(pkg.version);
|
|
46
|
+
process.exit(0);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
const host = value('-h', '--host') ?? process.env.HOST ?? '127.0.0.1';
|
|
50
|
+
const wanted = Number(value('-p', '--port') ?? process.env.PORT ?? 4747);
|
|
51
|
+
const dbPath = value('--db');
|
|
52
|
+
if (dbPath) process.env.AIUSAGE_DB = dbPath;
|
|
53
|
+
|
|
54
|
+
if (!Number.isInteger(wanted) || wanted < 1 || wanted > 65535) {
|
|
55
|
+
console.error(`${value('-p', '--port')} is not a port. Pick a number between 1 and 65535.`);
|
|
56
|
+
process.exit(1);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
const free = (port) =>
|
|
60
|
+
new Promise((done) => {
|
|
61
|
+
const probe = createServer()
|
|
62
|
+
.once('error', () => done(false))
|
|
63
|
+
.once('listening', () => probe.close(() => done(true)))
|
|
64
|
+
.listen(port, host);
|
|
65
|
+
});
|
|
66
|
+
|
|
67
|
+
let port = wanted;
|
|
68
|
+
while (port <= Math.min(65535, wanted + 20) && !(await free(port))) port += 1;
|
|
69
|
+
if (port > Math.min(65535, wanted + 20)) {
|
|
70
|
+
console.error(`Nothing free between ${wanted} and ${port - 1}. Try another with --port.`);
|
|
71
|
+
process.exit(1);
|
|
72
|
+
}
|
|
73
|
+
if (port !== wanted) console.log(`Port ${wanted} was busy, using ${port}`);
|
|
74
|
+
|
|
75
|
+
process.env.HOST = host;
|
|
76
|
+
process.env.PORT = String(port);
|
|
77
|
+
|
|
78
|
+
const shown = host === '0.0.0.0' || host === '::' ? 'localhost' : host;
|
|
79
|
+
const url = `http://${shown.includes(':') ? `[${shown}]` : shown}:${port}`;
|
|
80
|
+
await import(resolve(root, 'build', 'index.js'));
|
|
81
|
+
console.log(`\n AI usage dashboard is on ${url}\n`);
|
|
82
|
+
|
|
83
|
+
const wantsBrowser = flag('--open') || (process.stdout.isTTY && !flag('--no-open'));
|
|
84
|
+
if (wantsBrowser) {
|
|
85
|
+
const opener =
|
|
86
|
+
process.platform === 'darwin' ? 'open' : process.platform === 'win32' ? 'start' : 'xdg-open';
|
|
87
|
+
spawn(opener, [url], {
|
|
88
|
+
stdio: 'ignore',
|
|
89
|
+
detached: true,
|
|
90
|
+
shell: process.platform === 'win32'
|
|
91
|
+
}).unref();
|
|
92
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.panel.svelte-hxsa5u{grid-column:span var(--span);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);min-width:0;box-shadow:var(--shadow);flex-direction:column;display:flex}.panel.svelte-hxsa5u header:where(.svelte-hxsa5u){padding:14px var(--pad);border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;display:flex}.panel.svelte-hxsa5u header:where(.svelte-hxsa5u) h2:where(.svelte-hxsa5u){letter-spacing:.02em;text-transform:uppercase;color:var(--text-muted);font-size:.8125rem;font-weight:600}.panel.svelte-hxsa5u .actions:where(.svelte-hxsa5u){align-items:center;gap:8px;display:flex}.panel.svelte-hxsa5u .body:where(.svelte-hxsa5u){min-width:0;padding:var(--pad);flex-direction:column;flex:1;justify-content:center;display:flex}@media (width<=900px){.panel.svelte-hxsa5u{grid-column:span 12}}.segmented.svelte-1dkbyok{background:var(--surface-2);border:1px solid var(--border);border-radius:999px;gap:2px;padding:3px;display:inline-flex}.segmented.svelte-1dkbyok button:where(.svelte-1dkbyok){color:var(--text-muted);transition:color var(--quick), background var(--quick);background:0 0;border:0;border-radius:999px;padding:5px 12px;font-size:.8125rem;font-weight:500}.segmented.svelte-1dkbyok button:where(.svelte-1dkbyok):hover:not(.on){color:var(--text);background:var(--surface-3)}.segmented.svelte-1dkbyok button:where(.svelte-1dkbyok).on{color:var(--text);background:var(--surface);box-shadow:var(--shadow)}.segmented.svelte-1dkbyok.sm button:where(.svelte-1dkbyok){padding:3px 9px;font-size:.75rem}.select.svelte-vbwhwd{position:relative}.trigger.svelte-vbwhwd{color:var(--text-muted);background:var(--surface);border:1px solid var(--border);transition:border-color var(--quick), color var(--quick);border-radius:999px;align-items:center;gap:7px;padding:6px 11px;font-size:.8125rem;display:flex}.trigger.svelte-vbwhwd:hover{color:var(--text);border-color:var(--border-strong)}.trigger.svelte-vbwhwd.on{color:var(--text);border-color:var(--accent);background:var(--accent-soft)}.trigger.svelte-vbwhwd b:where(.svelte-vbwhwd){color:var(--accent-text);background:var(--accent);border-radius:999px;padding:0 6px;font-size:.6875rem;font-weight:600}.menu.svelte-vbwhwd{z-index:40;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);width:260px;box-shadow:var(--shadow-pop);padding:8px;position:absolute;top:calc(100% + 6px);left:0}.search.svelte-vbwhwd{background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius-sm);width:100%;margin-bottom:6px;padding:6px 9px;font-size:.8125rem}.list.svelte-vbwhwd{flex-direction:column;max-height:260px;display:flex;overflow-y:auto}label.svelte-vbwhwd{border-radius:var(--radius-sm);cursor:pointer;align-items:center;gap:9px;padding:6px 8px;font-size:.8125rem;display:flex}label.svelte-vbwhwd:hover{background:var(--surface-2)}label.svelte-vbwhwd span:where(.svelte-vbwhwd){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}input[type=checkbox].svelte-vbwhwd{accent-color:var(--accent);flex:none}.none.svelte-vbwhwd{text-align:center;color:var(--text-faint);margin:0;padding:12px;font-size:.8125rem}.clear.svelte-vbwhwd{width:100%;color:var(--text-muted);background:var(--surface-2);border-radius:var(--radius-sm);border:0;margin-top:6px;padding:6px;font-size:.8125rem}.clear.svelte-vbwhwd:hover{color:var(--text);background:var(--surface-3)}.figures.svelte-l3stpt{padding:22px var(--pad);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:24px 40px;display:flex}.lead.svelte-l3stpt{flex-direction:column;gap:2px;display:flex}.lead.svelte-l3stpt strong:where(.svelte-l3stpt){letter-spacing:-.035em;font-size:clamp(2.6rem,6vw,3.4rem);font-weight:600;line-height:1}.cap.svelte-l3stpt{letter-spacing:.05em;text-transform:uppercase;color:var(--text-faint);font-size:.75rem;font-weight:500}.lead.svelte-l3stpt .delta:where(.svelte-l3stpt){margin-top:4px}dl.svelte-l3stpt{flex-wrap:wrap;gap:10px 36px;margin:0;display:flex}dl.svelte-l3stpt div:where(.svelte-l3stpt){border-left:1px solid var(--border);flex-direction:column;gap:2px;padding-left:22px;display:flex}dt.svelte-l3stpt{letter-spacing:.05em;text-transform:uppercase;color:var(--text-faint);font-size:.75rem;font-weight:500}dd.svelte-l3stpt{letter-spacing:-.02em;align-items:baseline;gap:8px;margin:0;font-size:1.375rem;font-weight:600;display:flex}.delta.svelte-l3stpt{font-variant-numeric:tabular-nums;color:var(--text-faint);font-size:.8125rem;font-weight:550}.delta.svelte-l3stpt.cost.up{color:var(--bad)}.delta.svelte-l3stpt.cost.down{color:var(--good)}dd.svelte-l3stpt .delta:where(.svelte-l3stpt){font-size:.75rem}@media (width<=640px){dl.svelte-l3stpt div:where(.svelte-l3stpt){border-left:0;padding-left:0}}.calendar.svelte-1iu5iby{flex-direction:column;gap:12px;min-width:0;display:flex}svg.svelte-1iu5iby{align-self:center;max-width:100%}.axis.svelte-1iu5iby{fill:var(--text-faint);font-size:10px}.cell.svelte-1iu5iby{transition:opacity var(--quick)}.cell.svelte-1iu5iby:hover{opacity:.7}.cell.svelte-1iu5iby.blank{opacity:.4}.legend.svelte-1iu5iby{color:var(--text-faint);flex-wrap:wrap;align-items:center;gap:4px;font-size:.75rem;display:flex}.legend.svelte-1iu5iby i:where(.svelte-1iu5iby){border-radius:3px;width:11px;height:11px}.legend.svelte-1iu5iby i:where(.svelte-1iu5iby).blank{background:var(--ramp-0);opacity:.4}.legend.svelte-1iu5iby .spread:where(.svelte-1iu5iby){margin-left:14px}.legend.svelte-1iu5iby .span:where(.svelte-1iu5iby){margin-right:auto}.trend.svelte-118k1un{--gutter:48px;flex-direction:column;gap:8px;display:flex}.plot.svelte-118k1un{height:200px;padding-left:var(--gutter);position:relative}.tick.svelte-118k1un{left:var(--gutter);border-top:1px dashed var(--border);position:absolute;right:0}.tick.svelte-118k1un span:where(.svelte-118k1un){width:calc(var(--gutter) - 8px);text-align:right;color:var(--text-faint);font-variant-numeric:tabular-nums;font-size:.6875rem;position:absolute;right:calc(100% + 8px);transform:translateY(-50%)}.bars.svelte-118k1un{align-items:flex-end;gap:2px;height:100%;display:flex;position:relative}.column.svelte-118k1un{min-width:3px;height:100%;transition:background var(--quick);border-radius:3px;flex:1;align-items:flex-end;display:flex}.column.svelte-118k1un:hover{background:var(--surface-2)}.stack.svelte-118k1un{border-radius:3px;flex-direction:column-reverse;width:100%;min-height:2px;display:flex;overflow:hidden}.stack.svelte-118k1un span:where(.svelte-118k1un){min-height:1px;display:block}.axis.svelte-118k1un{padding-left:var(--gutter);color:var(--text-faint);justify-content:space-between;font-size:.6875rem;display:flex}.mark.svelte-jlywqn{flex:none;display:block}.bars.svelte-eh60s9{flex-direction:column;gap:2px;margin:0;padding:0;list-style:none;display:flex}.row.svelte-eh60s9{border-radius:var(--radius-sm);text-align:left;isolation:isolate;width:100%;transition:background var(--quick);background:0 0;border:0;align-items:center;gap:10px;padding:7px 10px;display:flex;position:relative}.row.svelte-eh60s9:hover{background:var(--surface-2)}.row.svelte-eh60s9.on{background:var(--accent-soft);box-shadow:inset 0 0 0 1px var(--accent)}.fill.svelte-eh60s9{z-index:-1;opacity:.16;border-radius:6px;position:absolute;inset:2px auto 2px 2px}.label.svelte-eh60s9{flex:1;align-items:center;gap:8px;min-width:0;display:flex}.label.svelte-eh60s9 b:where(.svelte-eh60s9){text-overflow:ellipsis;white-space:nowrap;font-weight:500;overflow:hidden}.label.svelte-eh60s9 em:where(.svelte-eh60s9){color:var(--text-faint);white-space:nowrap;font-size:.75rem;font-style:normal}.dot.svelte-eh60s9{border-radius:3px;flex:none;width:9px;height:9px}.value.svelte-eh60s9{font-size:.875rem;font-weight:550}.empty.svelte-eh60s9{text-align:center;color:var(--text-faint);margin:0;padding:24px 0}.donut.svelte-1o711x0{justify-content:center;display:flex}.donut.svelte-1o711x0 svg:where(.svelte-1o711x0){width:100%;max-width:190px;height:auto}.donut.svelte-1o711x0 circle:where(.svelte-1o711x0){transition:opacity var(--quick)}.donut.svelte-1o711x0 circle:where(.svelte-1o711x0):hover{opacity:.75}.centre.svelte-1o711x0{fill:var(--text);font-size:22px;font-weight:600}.sub.svelte-1o711x0{fill:var(--text-faint);text-transform:uppercase;letter-spacing:.06em;font-size:10px}.split.svelte-1qwkpf0{flex-direction:column;gap:14px;display:flex}.bar.svelte-1qwkpf0{gap:2px;height:12px;display:flex}.bar.svelte-1qwkpf0 span:where(.svelte-1qwkpf0){min-width:4px;transition:opacity var(--quick);border-radius:3px}.bar.svelte-1qwkpf0 span:where(.svelte-1qwkpf0):hover{opacity:.75}ul.svelte-1qwkpf0{flex-direction:column;gap:4px;margin:0;padding:0;list-style:none;display:flex}li.svelte-1qwkpf0{grid-template-columns:10px 1fr auto auto;align-items:center;gap:10px;padding:3px 0;font-size:.875rem;display:grid}li.svelte-1qwkpf0 i:where(.svelte-1qwkpf0){border-radius:3px;width:9px;height:9px}.name.svelte-1qwkpf0{color:var(--text-muted)}.value.svelte-1qwkpf0{font-weight:550}.share.svelte-1qwkpf0{text-align:right;min-width:48px;color:var(--text-faint)}.clock.svelte-13d36y{flex-direction:column;gap:8px;display:flex}.rows.svelte-13d36y{grid-template-columns:auto 1fr;align-items:center;gap:3px 8px;display:grid}.day.svelte-13d36y{color:var(--text-faint);font-size:.6875rem}.hours.svelte-13d36y{grid-template-columns:repeat(24,1fr);gap:3px;display:grid}.hours.svelte-13d36y i:where(.svelte-13d36y){aspect-ratio:1;background:var(--surface-2);border-radius:50%;place-items:center;display:grid}.hours.svelte-13d36y i:where(.svelte-13d36y):after{content:"";width:calc(var(--dot) * 100%);aspect-ratio:1;background:var(--accent);transition:transform var(--quick);border-radius:50%}.hours.svelte-13d36y i:where(.svelte-13d36y):hover:after{transform:scale(1.25)}.scale.svelte-13d36y{color:var(--text-faint);justify-content:space-between;padding-left:34px;font-size:.6875rem;display:flex}.meter.svelte-tlhxud{flex-direction:column;gap:6px;display:flex}.meter.svelte-tlhxud.stale{opacity:.65}.top.svelte-tlhxud{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.name.svelte-tlhxud{color:var(--text-muted);font-size:.875rem}.pct.svelte-tlhxud{font-size:1rem;font-weight:600}.track.svelte-tlhxud{background:var(--surface-3);border-radius:999px;height:7px;overflow:hidden}.track.svelte-tlhxud span:where(.svelte-tlhxud){height:100%;transition:width .4s var(--ease);border-radius:999px;display:block}.reset.svelte-tlhxud{color:var(--text-faint);font-size:.75rem}.scroll.svelte-1uqtl83{max-height:420px;overflow:auto}table.svelte-1uqtl83{border-collapse:collapse;width:100%;font-size:.875rem}th.svelte-1uqtl83{z-index:1;background:var(--surface);letter-spacing:.04em;text-transform:uppercase;text-align:left;color:var(--text-faint);white-space:nowrap;padding:0 10px 8px;font-size:.6875rem;font-weight:600;position:sticky;top:0}td.svelte-1uqtl83{border-top:1px solid var(--border);white-space:nowrap;padding:7px 10px}tbody.svelte-1uqtl83 tr:where(.svelte-1uqtl83):hover td:where(.svelte-1uqtl83){background:var(--surface-2)}.right.svelte-1uqtl83{text-align:right}.tool.svelte-1uqtl83{align-items:center;gap:7px;display:flex}.mono.svelte-1uqtl83{font-family:var(--mono);color:var(--text-muted);font-size:.8125rem}.models.svelte-1uqtl83{text-overflow:ellipsis;max-width:220px;color:var(--text-muted);overflow:hidden}.link.svelte-1uqtl83{color:var(--text);text-decoration:underline;-webkit-text-decoration-color:var(--border-strong);text-decoration-color:var(--border-strong);text-underline-offset:3px;background:0 0;border:0;padding:0}.link.svelte-1uqtl83:hover{color:var(--accent);text-decoration-color:currentColor}.empty.svelte-1uqtl83{text-align:center;color:var(--text-faint);margin:0;padding:24px 0}.problems.svelte-1vaf4tg{z-index:60;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);width:min(440px,100vw - 32px);box-shadow:var(--shadow-pop);position:fixed;inset:auto 16px 16px auto;overflow:hidden}.problems.svelte-1vaf4tg.error{color:var(--bad)}.problems.svelte-1vaf4tg.warn{color:var(--warn)}.problems.svelte-1vaf4tg.info{color:var(--text-muted)}.head.svelte-1vaf4tg{text-align:left;background:0 0;border:0;align-items:center;gap:10px;width:100%;padding:11px 14px;display:flex}.head.svelte-1vaf4tg span:where(.svelte-1vaf4tg){text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--text);flex:1;font-size:.875rem;overflow:hidden}.head.svelte-1vaf4tg em:where(.svelte-1vaf4tg){color:var(--text-faint);font-size:.75rem;font-style:normal}.head.svelte-1vaf4tg:hover em:where(.svelte-1vaf4tg){color:var(--text)}ul.svelte-1vaf4tg{flex-direction:column;gap:2px;max-height:320px;margin:0;padding:0 8px 8px;list-style:none;display:flex;overflow-y:auto}li.svelte-1vaf4tg{background:var(--surface-2);border-radius:var(--radius-sm);align-items:flex-start;gap:8px;padding:10px 12px;display:flex}li.svelte-1vaf4tg div:where(.svelte-1vaf4tg){min-width:0;color:var(--text);flex-direction:column;flex:1;gap:2px;font-size:.8125rem;display:flex}li.svelte-1vaf4tg b:where(.svelte-1vaf4tg){letter-spacing:.05em;text-transform:uppercase;color:currentColor;font-size:.6875rem;font-weight:600}li.svelte-1vaf4tg .hint:where(.svelte-1vaf4tg){color:var(--text-muted)}li.svelte-1vaf4tg time:where(.svelte-1vaf4tg){color:var(--text-faint);font-size:.6875rem}.close.svelte-1vaf4tg{width:22px;height:22px;color:var(--text-faint);background:0 0;border:0;border-radius:6px;flex:none;place-items:center;display:grid}.close.svelte-1vaf4tg:hover{color:var(--text);background:var(--surface-3)}dialog.svelte-anx9w7{width:min(560px,100vw - 32px);max-height:min(760px,100vh - 48px);color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-pop);padding:0}dialog.svelte-anx9w7::backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#0a0a1080}header.svelte-anx9w7{padding:16px var(--pad);border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;display:flex}header.svelte-anx9w7 h2:where(.svelte-anx9w7){font-size:1rem}.close.svelte-anx9w7{width:28px;height:28px;color:var(--text-muted);border-radius:var(--radius-sm);background:0 0;border:0;place-items:center;display:grid}.close.svelte-anx9w7:hover{color:var(--text);background:var(--surface-2)}.body.svelte-anx9w7{padding:var(--pad);flex-direction:column;gap:26px;display:flex;overflow-y:auto}section.svelte-anx9w7{flex-direction:column;gap:10px;display:flex}h3.svelte-anx9w7{letter-spacing:.06em;text-transform:uppercase;color:var(--text-faint);font-size:.75rem;font-weight:600}.field.svelte-anx9w7{justify-content:space-between;align-items:center;gap:16px;font-size:.875rem;display:flex}select.svelte-anx9w7,input.svelte-anx9w7:not([type=checkbox]){background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius-sm);padding:6px 9px;font-size:.8125rem}.check.svelte-anx9w7{align-items:flex-start;gap:10px;font-size:.875rem;display:flex}.check.svelte-anx9w7 input:where(.svelte-anx9w7){accent-color:var(--accent);margin-top:3px}.check.svelte-anx9w7 em:where(.svelte-anx9w7){color:var(--text-faint);font-size:.75rem;font-style:normal;display:block}.sources.svelte-anx9w7{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.sources.svelte-anx9w7 li:where(.svelte-anx9w7){background:var(--surface-2);border-radius:var(--radius-sm);justify-content:space-between;align-items:center;gap:12px;padding:9px 12px;display:flex}.sources.svelte-anx9w7 b:where(.svelte-anx9w7){font-size:.875rem;font-weight:550;display:block}code.svelte-anx9w7{font-family:var(--mono);color:var(--text-muted);overflow-wrap:anywhere;font-size:.75rem}.badge.svelte-anx9w7{color:var(--text-faint);background:var(--surface-3);border-radius:999px;flex:none;padding:2px 8px;font-size:.6875rem}.badge.svelte-anx9w7.on{color:var(--good)}.note.svelte-anx9w7{color:var(--text-muted);margin:0;font-size:.8125rem;line-height:1.55}.row.svelte-anx9w7{align-items:center;gap:12px;display:flex}.action.svelte-anx9w7{color:var(--accent-text);background:var(--accent);border-radius:var(--radius-sm);border:0;padding:6px 13px;font-size:.8125rem;font-weight:550}.action.svelte-anx9w7:hover{filter:brightness(1.08)}.prices.svelte-anx9w7{flex-direction:column;gap:4px;margin:0;padding:0;list-style:none;display:flex}.prices.svelte-anx9w7 li:where(.svelte-anx9w7){align-items:center;gap:10px;font-size:.8125rem;display:flex}.prices.svelte-anx9w7 li:where(.svelte-anx9w7) code:where(.svelte-anx9w7){flex:1}.prices.svelte-anx9w7 li:where(.svelte-anx9w7) button:where(.svelte-anx9w7){color:var(--text-muted);background:var(--surface-2);border:0;border-radius:6px;padding:2px 8px;font-size:.75rem}.prices.svelte-anx9w7 li:where(.svelte-anx9w7) button:where(.svelte-anx9w7):hover{color:var(--bad)}.add.svelte-anx9w7{grid-template-columns:1fr 72px 72px auto;gap:6px;display:grid}.logo.svelte-nck4wt{flex:none;display:block}.bar.svelte-1uha8ag{z-index:30;background:color-mix(in srgb, var(--bg) 88%, transparent);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid var(--border);flex-wrap:wrap;align-items:center;gap:12px 20px;padding:12px clamp(16px,3vw,32px);display:flex;position:sticky;top:0}.brand.svelte-1uha8ag{color:var(--text);letter-spacing:-.01em;align-items:center;gap:10px;font-weight:600;text-decoration:none;display:flex}.filters.svelte-1uha8ag{flex-wrap:wrap;flex:1;align-items:center;gap:8px;display:flex}.reset.svelte-1uha8ag{color:var(--text-muted);background:0 0;border:0;border-radius:999px;padding:6px 11px;font-size:.8125rem}.reset.svelte-1uha8ag:hover{color:var(--text);background:var(--surface-2)}.tools.svelte-1uha8ag{gap:6px;display:flex}.icon.svelte-1uha8ag{width:32px;height:32px;color:var(--text-muted);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);transition:color var(--quick), border-color var(--quick);place-items:center;display:grid}.icon.svelte-1uha8ag:hover{color:var(--text);border-color:var(--border-strong)}.icon.svelte-1uha8ag.busy svg:where(.svelte-1uha8ag){animation:.9s linear infinite svelte-1uha8ag-spin}@keyframes svelte-1uha8ag-spin{to{transform:rotate(360deg)}}main.svelte-1uha8ag{gap:var(--gap);max-width:1560px;padding:var(--gap) clamp(16px, 3vw, 32px) 64px;flex-direction:column;margin:0 auto;display:flex}.grid.svelte-1uha8ag{gap:var(--gap);grid-template-columns:repeat(12,1fr);display:grid}.meters.svelte-1uha8ag{flex-direction:column;gap:16px;display:flex}.share.svelte-1uha8ag{grid-template-columns:minmax(0,190px) 1fr;align-content:center;align-items:center;gap:20px;height:100%;display:grid}.key.svelte-1uha8ag{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.key.svelte-1uha8ag li:where(.svelte-1uha8ag){grid-template-columns:14px 1fr auto;align-items:center;gap:9px;font-size:.8125rem;display:grid}.key.svelte-1uha8ag span:where(.svelte-1uha8ag){text-overflow:ellipsis;white-space:nowrap;color:var(--text-muted);overflow:hidden}.key.svelte-1uha8ag b:where(.svelte-1uha8ag){font-weight:550}.aside.svelte-1uha8ag{color:var(--text-faint);margin:14px 0 0;font-size:.8125rem}.empty.svelte-1uha8ag{color:var(--text-faint);margin:0;padding:16px 0;font-size:.875rem}footer.svelte-1uha8ag{color:var(--text-faint);flex-wrap:wrap;justify-content:space-between;gap:8px 20px;font-size:.75rem;display:flex}@media (width<=700px){.bar.svelte-1uha8ag{position:static}}@media (width<=900px){.share.svelte-1uha8ag{grid-template-columns:1fr;justify-items:center}}
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
var e=({status:e,message:t})=>`<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8" />
|
|
5
|
+
<title>`+t+`</title>
|
|
6
|
+
|
|
7
|
+
<style>
|
|
8
|
+
body {
|
|
9
|
+
--bg: white;
|
|
10
|
+
--fg: #222;
|
|
11
|
+
--divider: #ccc;
|
|
12
|
+
background: var(--bg);
|
|
13
|
+
color: var(--fg);
|
|
14
|
+
font-family:
|
|
15
|
+
system-ui,
|
|
16
|
+
-apple-system,
|
|
17
|
+
BlinkMacSystemFont,
|
|
18
|
+
'Segoe UI',
|
|
19
|
+
Roboto,
|
|
20
|
+
Oxygen,
|
|
21
|
+
Ubuntu,
|
|
22
|
+
Cantarell,
|
|
23
|
+
'Open Sans',
|
|
24
|
+
'Helvetica Neue',
|
|
25
|
+
sans-serif;
|
|
26
|
+
display: flex;
|
|
27
|
+
align-items: center;
|
|
28
|
+
justify-content: center;
|
|
29
|
+
height: 100vh;
|
|
30
|
+
margin: 0;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.error {
|
|
34
|
+
display: flex;
|
|
35
|
+
align-items: center;
|
|
36
|
+
max-width: 32rem;
|
|
37
|
+
margin: 0 1rem;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.status {
|
|
41
|
+
font-weight: 200;
|
|
42
|
+
font-size: 3rem;
|
|
43
|
+
line-height: 1;
|
|
44
|
+
position: relative;
|
|
45
|
+
top: -0.05rem;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.message {
|
|
49
|
+
border-left: 1px solid var(--divider);
|
|
50
|
+
padding: 0 0 0 1rem;
|
|
51
|
+
margin: 0 0 0 1rem;
|
|
52
|
+
min-height: 2.5rem;
|
|
53
|
+
display: flex;
|
|
54
|
+
align-items: center;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.message h1 {
|
|
58
|
+
font-weight: 400;
|
|
59
|
+
font-size: 1em;
|
|
60
|
+
margin: 0;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
@media (prefers-color-scheme: dark) {
|
|
64
|
+
body {
|
|
65
|
+
--bg: #222;
|
|
66
|
+
--fg: #ddd;
|
|
67
|
+
--divider: #666;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
</style>
|
|
71
|
+
</head>
|
|
72
|
+
<body>
|
|
73
|
+
<div class="error">
|
|
74
|
+
<span class="status">`+e+`</span>
|
|
75
|
+
<div class="message">
|
|
76
|
+
<h1>`+t+`</h1>
|
|
77
|
+
</div>
|
|
78
|
+
</div>
|
|
79
|
+
</body>
|
|
80
|
+
</html>
|
|
81
|
+
`;export{e as default};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var e=Object.defineProperty,t=(t,n)=>{let r={};for(var i in t)e(r,i,{get:t[i],enumerable:!0});return n||e(r,Symbol.toStringTag,{value:`Module`}),r},n=Array.isArray,r=Array.prototype.indexOf,i=Array.prototype.includes,a=Array.from,o=Object.defineProperty,s=Object.getOwnPropertyDescriptor,c=Object.getOwnPropertyDescriptors,l=Object.prototype,u=Array.prototype,d=Object.getPrototypeOf,f=Object.isExtensible,p=()=>{};function m(e){for(var t=0;t<e.length;t++)e[t]()}function h(){var e,t;return{promise:new Promise((n,r)=>{e=n,t=r}),resolve:e,reject:t}}function g(e,t){if(Array.isArray(e))return e;if(t===void 0||!(Symbol.iterator in e))return Array.from(e);let n=[];for(let r of e)if(n.push(r),n.length===t)break;return n}var _=1<<24,v=1024,y=2048,b=4096,x=8192,S=16384,ee=32768,te=1<<25,ne=65536,re=1<<18,ie=1<<19,ae=1<<20,oe=1<<25,se=65536,ce=1<<21,le=1<<22,ue=1<<23,de=Symbol(`$state`),fe=Symbol(`component`),pe=Symbol(`legacy props`),me=Symbol(``),he=Symbol(`attributes`),ge=Symbol(`class`),_e=Symbol(`style`),ve=Symbol(`text`),ye=Symbol(`form reset`),be=new class extends Error{name=`StaleReactionError`;message="The reaction that called `getAbortSignal()` was re-run or destroyed"},xe=!!globalThis.document?.contentType&&globalThis.document.contentType.includes(`xml`),Se={},C=Symbol(`uninitialized`),Ce=`http://www.w3.org/1999/xhtml`,we=`http://www.w3.org/2000/svg`;function Te(){console.warn(`https://svelte.dev/e/derived_inert`)}function Ee(e){console.warn(`https://svelte.dev/e/hydratable_missing_but_expected`)}function De(e){console.warn(`https://svelte.dev/e/hydration_mismatch`)}function Oe(){console.warn(`https://svelte.dev/e/select_multiple_invalid_value`)}function ke(){console.warn(`https://svelte.dev/e/svelte_boundary_reset_noop`)}var w=!1;function T(e){w=e}var E;function D(e){if(e===null)throw De(),Se;return E=e}function Ae(){return D(L(E))}function je(e){if(w){if(L(E)!==null)throw De(),Se;E=e}}function Me(e=1){if(w){for(var t=e,n=E;t--;)n=L(n);E=n}}function Ne(e=!0){for(var t=0,n=E;;){if(n.nodeType===8){var r=n.data;if(r===`]`){if(t===0)return n;--t}else(r===`[`||r===`[!`||r[0]===`[`&&!isNaN(Number(r.slice(1))))&&(t+=1)}var i=L(n);e&&n.remove(),n=i}}function Pe(e){if(!e||e.nodeType!==8)throw De(),Se;return e.data}function Fe(e){return e===this.v}function Ie(e,t){return e==e?e!==t||typeof e==`object`&&!!e||typeof e==`function`:t==t}function Le(e){return!Ie(e,this.v)}function Re(e){throw Error(`https://svelte.dev/e/experimental_async_required`)}function ze(e){throw Error(`https://svelte.dev/e/lifecycle_outside_component`)}function Be(){throw Error(`https://svelte.dev/e/missing_context`)}function Ve(){throw Error(`https://svelte.dev/e/async_derived_orphan`)}function He(e,t,n){throw Error(`https://svelte.dev/e/each_key_duplicate`)}function Ue(e){throw Error(`https://svelte.dev/e/effect_in_teardown`)}function We(){throw Error(`https://svelte.dev/e/effect_in_unowned_derived`)}function Ge(e){throw Error(`https://svelte.dev/e/effect_orphan`)}function Ke(){throw Error(`https://svelte.dev/e/effect_update_depth_exceeded`)}function qe(){throw Error(`https://svelte.dev/e/fork_discarded`)}function Je(){throw Error(`https://svelte.dev/e/fork_timing`)}function Ye(){throw Error(`https://svelte.dev/e/get_abort_signal_outside_reaction`)}function Xe(){throw Error(`https://svelte.dev/e/hydration_failed`)}function Ze(e){throw Error(`https://svelte.dev/e/lifecycle_legacy_only`)}function Qe(e){throw Error(`https://svelte.dev/e/props_invalid_value`)}function $e(){throw Error(`https://svelte.dev/e/state_descriptors_fixed`)}function et(){throw Error(`https://svelte.dev/e/state_prototype_fixed`)}function tt(){throw Error(`https://svelte.dev/e/state_unsafe_mutation`)}function nt(){throw Error(`https://svelte.dev/e/svelte_boundary_reset_onerror`)}function rt(e,t,n){let r={};return[()=>(n(r)||Be(),e(r)),e=>t(r,e),()=>n(r)]}function it(e){let t=e.p;for(;t!==null&&t.c===null;)t=t.p;return t?.c??null}function at(e,t){return e===null&&ze(t),e.c??=new Map(it(e)||void 0)}var O=null;function ot(e){O=e}function st(){return rt(ct,lt,ut)}function ct(e){return at(O,`getContext`).get(e)}function lt(e,t){return at(O,`setContext`).set(e,t),t}function ut(e){return at(O,`hasContext`).has(e)}function dt(){return at(O,`getAllContexts`)}function ft(e,t=!1,n){O={p:O,i:!1,c:null,e:null,s:e,x:null,r:G,l:null}}function pt(e){var t=O,n=t.e;if(n!==null){t.e=null;for(var r of n)Gn(r)}return e!==void 0&&(t.x=e),t.i=!0,O=t.p,mt(e)}function mt(e={}){return o(e,fe,{value:!0}),e}function ht(){return!0}var gt=[];function _t(){var e=gt;gt=[],m(e)}function k(e){if(gt.length===0&&!Yt){var t=gt;queueMicrotask(()=>{t===gt&&_t()})}gt.push(e)}function vt(){for(;gt.length>0;)_t()}var yt=~(y|b|v);function A(e,t){e.f=e.f&yt|t}function bt(e){e.f&512||e.deps===null?A(e,v):A(e,b)}function xt(e){if(e!==null)for(let t of e)t.f&2&&t.f&65536&&(t.f^=se,xt(t.deps))}function St(e,t,n){e.f&2048?t.add(e):e.f&4096&&n.add(e),xt(e.deps),A(e,v)}var Ct=[];function wt(e,t=p){let n=null,r=new Set;function i(t){if(Ie(e,t)&&(e=t,n)){let t=!Ct.length;for(let t of r)t[1](),Ct.push(t,e);if(t){for(let e=0;e<Ct.length;e+=2)Ct[e][0](Ct[e+1]);Ct.length=0}}}function a(t){i(t(e))}function o(o,s=p){let c=[o,s];return r.add(c),r.size===1&&(n=t(i,a)||p),o(e),()=>{r.delete(c),r.size===0&&n&&(n(),n=null)}}return{set:i,update:a,subscribe:o}}var Tt=!1;function Et(e){var t=Tt;try{return Tt=!1,[e(),Tt]}finally{Tt=t}}function Dt(e,t){if(t){let t=document.body;e.autofocus=!0,k(()=>{document.activeElement===t&&e.focus()})}}var Ot=!1;function kt(){Ot||(Ot=!0,document.addEventListener(`reset`,e=>{Promise.resolve().then(()=>{if(!e.defaultPrevented)for(let t of e.target.elements)t[ye]?.()})},{capture:!0}))}function At(e){var t=H,n=G;W(null),K(null);try{return e()}finally{W(t),K(n)}}function jt(e,t,n,r=n){e.addEventListener(t,()=>At(n));let i=e[ye];e[ye]=i?()=>{i(),r(!0)}:()=>r(!0),kt()}function Mt(e,t,n,r){let i=ht()?It:Bt;var a=e.filter(e=>!e.settled),o=t.map(i);if(n.length===0&&a.length===0){r(o);return}var s=G,c=Nt(),l=a.length===1?a[0].promise:a.length>1?Promise.all(a.map(e=>e.promise)):null;function u(e){if(!(s.f&16384)){c();try{r([...o,...e])}catch(e){R(e,s)}Pt()}}var d=Ft();if(n.length===0){l.then(()=>u([])).finally(d);return}function f(){Promise.all(n.map(e=>Rt(e))).then(u).catch(e=>R(e,s)).finally(d)}l?l.then(()=>{c(),f(),Pt()}):f()}function Nt(){var e=G,t=H,n=O,r=j;return function(i=!0){K(e),W(t),ot(n),i&&!(e.f&16384)&&(r?.activate(),r?.apply())}}function Pt(e=!0){K(null),W(null),ot(null),e&&j?.deactivate()}function Ft(){var e=G,t=e.b,n=j,r=!!t?.is_rendered();return t?.update_pending_count(1,n),n.increment(r,e),()=>{t?.update_pending_count(-1,n),n.decrement(r,e)}}function It(e){var t=2|y;return G!==null&&(G.f|=ie),{ctx:O,deps:null,effects:null,equals:Fe,f:t,fn:e,reactions:null,rv:0,v:C,wv:0,parent:G,ac:null}}var Lt=Symbol(`obsolete`);function Rt(e,t,n){let r=G;r===null&&Ve();var i=void 0,a=hn(C),o=!H,s=new Set;return Yn(()=>{var t=G,n=h();i=n.promise;try{Promise.resolve(e()).then(n.resolve,e=>{e!==be&&n.reject(e)}).finally(Pt)}catch(e){n.reject(e),Pt()}var c=j;if(o){if(t.f&32768)var l=Ft();if(r.b?.is_rendered())c.async_deriveds.get(t)?.reject(Lt);else for(let e of s.values())e.reject(Lt);s.add(n),c.async_deriveds.set(t,n)}let u=(e,t=void 0)=>{l?.(),s.delete(n),t!==Lt&&(c.activate(),t?(a.f|=ue,vn(a,t)):(a.f&8388608&&(a.f^=ue),vn(a,e)),c.deactivate())};n.promise.then(u,e=>u(null,e||`unknown`))}),Un(()=>{for(let e of s)e.reject(Lt)}),new Promise(e=>{function t(n){function r(){n===i?e(a):t(i)}n.then(r,r)}t(i)})}function zt(e){let t=It(e);return mr(t),t}function Bt(e){let t=It(e);return t.equals=Le,t}function Vt(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)V(t[n])}}function Ht(e){var t,n=G,r=e.parent;if(!fr&&r!==null&&e.v!==C&&r.f&24576)return Te(),e.v;K(r);try{e.f&=~se,Vt(e),t=Cr(e)}finally{K(n)}return t}function Ut(e){var t=Ht(e);if(!e.equals(t)&&(e.wv=br(),(!j?.is_fork||e.deps===null)&&(j===null?e.v=t:(j.capture(e,t,!0),qt?.capture(e,t,!0)),e.deps===null))){A(e,v);return}fr||(M===null?bt(e):(Hn()||j?.is_fork)&&M.set(e,t))}function Wt(e){if(e.effects!==null)for(let t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac!==null&&At(()=>{t.ac.abort(be),t.ac=null}),t.fn!==null&&(t.teardown=p),Er(t,0),tr(t))}function Gt(e){if(e.effects!==null)for(let t of e.effects)t.teardown&&t.fn!==null&&Dr(t)}var Kt=null,j=null,qt=null,M=null,Jt=null,Yt=!1,Xt=!1,Zt=null,Qt=null,$t=0,en=1,tn=class e{id=en++;#e=!1;linked=!0;#t=null;#n=null;async_deriveds=new Map;current=new Map;previous=new Map;#r=new Set;#i=new Set;#a=0;#o=new Map;#s=null;#c=[];#l=[];#u=new Set;#d=new Set;#f=new Map;#p=new Set;is_fork=!1;#m=!1;constructor(){Kt===null?Kt=this:(Kt.#n=this,this.#t=Kt),Kt=this}#h(){if(this.is_fork)return!0;for(let n of this.#o.keys()){for(var e=n,t=!1;e.parent!==null;){if(this.#f.has(e)){t=!0;break}e=e.parent}if(!t)return!0}return!1}skip_effect(e){this.#f.has(e)||this.#f.set(e,{d:[],m:[]}),this.#p.delete(e)}unskip_effect(e,t=e=>this.schedule(e)){var n=this.#f.get(e);if(n){this.#f.delete(e);for(var r of n.d)A(r,y),t(r);for(r of n.m)A(r,b),t(r)}this.#p.add(e)}#g(){this.#e=!0,$t++>1e3&&(this.#x(),rn());for(let e of this.#u)this.#d.delete(e),A(e,y),this.schedule(e);for(let e of this.#d)A(e,b),this.schedule(e);let t=this.#c;this.#c=[],this.apply();var n=Zt=[],r=[],i=Qt=[];for(let e of t)try{this.#_(e,n,r)}catch(t){throw un(e),this.#h()||this.discard(),t}if(j=null,i.length>0){var a=e.ensure();for(let e of i)a.schedule(e)}if(Zt=null,Qt=null,this.#h()){this.#b(r),this.#b(n);for(let[e,t]of this.#f)ln(e,t);i.length>0&&j.#g();return}let o=this.#v();if(o){this.#b(r),this.#b(n),o.#y(this);return}this.#u.clear(),this.#d.clear();for(let e of this.#r)e(this);this.#r.clear(),qt=this,on(r),on(n),qt=null,this.#s?.resolve();var s=j;if(this.#a===0&&(this.#c.length===0||s!==null)&&this.#x(),this.#c.length>0){if(s!==null){let e=s;e.#c.push(...this.#c.filter(t=>!e.#c.includes(t)))}else s=this}s!==null&&(N.clear(),s.#g())}#_(e,t,n){e.f^=v;for(var r=e.first;r!==null;){var i=r.f,a=!!(i&96);if(!(a&&i&1024||i&8192||this.#f.has(r))&&r.fn!==null){a?r.f^=v:i&4?t.push(r):xr(r)&&(i&16&&this.#d.add(r),Dr(r));var o=r.first;if(o!==null){r=o;continue}}for(;r!==null;){var s=r.next;if(s!==null){r=s;break}r=r.parent}}}#v(){for(var e=this.#t;e!==null;){if(!e.is_fork){for(let[t,[,n]]of this.current)if(e.current.has(t)&&!n)return e}e=e.#t}return null}#y(e){for(let[t,n]of e.current)!this.previous.has(t)&&e.previous.has(t)&&this.previous.set(t,e.previous.get(t)),this.current.set(t,n);for(let[t,n]of e.async_deriveds){let e=this.async_deriveds.get(t);e&&n.promise.then(e.resolve).catch(e.reject)}e.async_deriveds.clear(),this.transfer_effects(e.#u,e.#d);let t=e=>{var n=e.reactions;if(n!==null&&!(e.f&2&&!(e.f&6144)))for(let e of n){var r=e.f;if(r&2)t(e);else{var i=e;r&4194320&&!this.async_deriveds.has(i)&&(this.#d.delete(i),A(i,y),this.schedule(i))}}};for(let e of this.current.keys())t(e);this.oncommit(()=>e.discard()),e.#x(),j=this,this.#g()}#b(e){for(var t=0;t<e.length;t+=1)St(e[t],this.#u,this.#d)}capture(e,t,n=!1){e.v!==C&&!this.previous.has(e)&&this.previous.set(e,e.v),e.f&8388608||(this.current.set(e,[t,n]),M?.set(e,t)),this.is_fork||(e.v=t)}activate(){j=this}deactivate(){j=null,M=null}flush(){try{Xt=!0,j=this,this.#g()}finally{$t=0,Jt=null,Zt=null,Qt=null,Xt=!1,j=null,M=null,N.clear()}}discard(){for(let e of this.#i)e(this);this.#i.clear();for(let e of this.async_deriveds.values())e.reject(Lt);this.#x(),this.#s?.resolve()}register_created_effect(e){this.#l.push(e)}increment(e,t){if(this.#a+=1,e){let e=this.#o.get(t)??0;this.#o.set(t,e+1)}}decrement(e,t){if(--this.#a,e){let e=this.#o.get(t)??0;e===1?this.#o.delete(t):this.#o.set(t,e-1)}this.#m||(this.#m=!0,k(()=>{this.#m=!1,this.linked&&this.flush()}))}transfer_effects(e,t){for(let t of e)this.#u.add(t);for(let e of t)this.#d.add(e);e.clear(),t.clear()}oncommit(e){this.#r.add(e)}ondiscard(e){this.#i.add(e)}settled(){return(this.#s??=h()).promise}static ensure(){if(j===null){let t=j=new e;!Xt&&!Yt&&k(()=>{t.#e||t.flush()})}return j}apply(){M=null}schedule(e){if(Jt=e,e.b?.is_pending&&e.f&16777228&&!(e.f&32768)){e.b.defer_effect(e);return}for(var t=e;t.parent!==null;){t=t.parent;var n=t.f;if(Zt!==null&&t===G&&(H===null||!(H.f&2)))return;if(n&96){if(!(n&1024))return;t.f^=v}}this.#c.push(t)}#x(){if(this.linked){var e=this.#t,t=this.#n;e===null||(e.#n=t),t===null?Kt=e:t.#t=e,this.linked=!1}}};function nn(e){var t=Yt;Yt=!0;try{var n;for(e&&(j!==null&&!j.is_fork&&j.flush(),n=e());;){if(vt(),j===null)return n;j.flush()}}finally{Yt=t}}function rn(){try{Ke()}catch(e){R(e,Jt)}}var an=null;function on(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if(!(r.f&24576)&&xr(r)&&(an=new Set,Dr(r),r.deps===null&&r.first===null&&r.nodes===null&&r.teardown===null&&r.ac===null&&ir(r),an?.size>0)){N.clear();for(let e of an){if(e.f&24576)continue;let t=[e],n=e.parent;for(;n!==null;)an.has(n)&&(an.delete(n),t.push(n)),n=n.parent;for(let e=t.length-1;e>=0;e--){let n=t[e];n.f&24576||Dr(n)}}an.clear()}}an=null}}function sn(e,t){if(e.reactions!==null)for(let n of e.reactions){let e=n.f;e&2?sn(n,t):e&131072&&(A(n,y),t.add(n))}}function cn(e){j.schedule(e)}function ln(e,t){if(!(e.f&32&&e.f&1024)){e.f&2048?t.d.push(e):e.f&4096&&t.m.push(e),A(e,v);for(var n=e.first;n!==null;)ln(n,t),n=n.next}}function un(e){A(e,v);for(var t=e.first;t!==null;)un(t),t=t.next}function dn(e){Re(`fork`),j!==null&&Je();var t=tn.ensure();t.is_fork=!0,M=new Map;var n=!1,r=t.settled();return nn(e),{commit:async()=>{if(n){await r;return}t.linked||qe(),n=!0,t.is_fork=!1;for(var[e,[i]]of t.current)e.v=i,e.wv=br();nn(()=>{var e=new Set;for(var n of t.current.keys())sn(n,e);pn(e),yn()}),t.flush(),await r},discard:()=>{for(var e of t.current.keys())e.wv=br();!n&&t.linked&&t.discard()}}}var fn=new Set,N=new Map;function pn(e){fn=e}var mn=!1;function hn(e,t){return{f:0,v:e,reactions:null,equals:Fe,rv:0,wv:0}}function gn(e,t){let n=hn(e,t);return mr(n),n}function _n(e,t=!1,n=!0){let r=hn(e);return t||(r.equals=Le),r}function P(e,t,n=!1){return H!==null&&(!U||H.f&131072)&&ht()&&H.f&4325394&&(q===null||!q.has(e))&&tt(),vn(e,n?Sn(t):t,Qt)}function vn(e,t,n=null){if(!e.equals(t)){fr?N.set(e,t):N.has(e)||N.set(e,e.v);var r=tn.ensure();if(r.capture(e,t),e.f&2){let t=e;e.f&2048&&Ht(t),M===null&&bt(t)}e.wv=br(),xn(e,y,n),ht()&&G!==null&&G.f&1024&&!(G.f&96)&&(X===null?hr([e]):X.push(e)),!r.is_fork&&fn.size>0&&!mn&&yn()}return t}function yn(){mn=!1;for(let e of fn){e.f&1024&&A(e,b);let t;try{t=xr(e)}catch{t=!0}t&&Dr(e)}fn.clear()}function bn(e){P(e,e.v+1)}function xn(e,t,n){var r=e.reactions;if(r!==null)for(var i=ht(),a=r.length,o=0;o<a;o++){var s=r[o],c=s.f;if(i||s!==G){var l=(c&y)===0;if(l&&A(s,t),c&131072)fn.add(s);else if(c&2){var u=s;M?.delete(u),c&65536||(c&512&&(G===null||!(G.f&2097152))&&(s.f|=se),xn(u,b,n))}else if(l){var d=s;c&16&&an!==null&&an.add(d),n===null?cn(d):n.push(d)}}}}function Sn(e){if(typeof e!=`object`||!e||de in e||fe in e)return e;let t=d(e);if(t!==l&&t!==u)return e;var r=new Map,i=n(e),a=gn(0),o=null,c=vr,f=e=>{if(vr===c)return e();var t=H,n=vr;W(null),yr(c);var r=e();return W(t),yr(n),r};return i&&r.set(`length`,gn(e.length,o)),new Proxy(e,{defineProperty(e,t,n){(!(`value`in n)||n.configurable===!1||n.enumerable===!1||n.writable===!1)&&$e();var i=r.get(t);return i===void 0?f(()=>{var e=gn(n.value,o);return r.set(t,e),e}):P(i,n.value,!0),!0},deleteProperty(e,t){var n=r.get(t);if(n===void 0){if(t in e){let e=f(()=>gn(C,o));r.set(t,e),bn(a)}}else P(n,C),bn(a);return!0},get(t,n,i){if(n===de)return e;var a=r.get(n),c=n in t;if(a===void 0&&(!c||s(t,n)?.writable)&&(a=f(()=>gn(Sn(c?t[n]:C),o)),r.set(n,a)),a!==void 0){var l=Z(a);return l===C?void 0:l}return Reflect.get(t,n,i)},getOwnPropertyDescriptor(e,t){var n=Reflect.getOwnPropertyDescriptor(e,t);if(n&&`value`in n){var i=r.get(t);i&&(n.value=Z(i))}else if(n===void 0){var a=r.get(t),o=a?.v;if(a!==void 0&&o!==C)return{enumerable:!0,configurable:!0,value:o,writable:!0}}return n},has(e,t){if(t===de)return!0;var n=r.get(t),i=n!==void 0&&n.v!==C||Reflect.has(e,t);return(n!==void 0||G!==null&&(!i||s(e,t)?.writable))&&(n===void 0&&(n=f(()=>gn(i?Sn(e[t]):C,o)),r.set(t,n)),Z(n)===C)?!1:i},set(e,t,n,c){var l=r.get(t),u=t in e;if(i&&t===`length`)for(var d=n;d<l.v;d+=1){var p=r.get(d+``);p===void 0?d in e&&(p=f(()=>gn(C,o)),r.set(d+``,p)):P(p,C)}if(l===void 0)(!u||s(e,t)?.writable)&&(l=f(()=>gn(void 0,o)),P(l,Sn(n)),r.set(t,l));else{u=l.v!==C;var m=f(()=>Sn(n));P(l,m)}var h=Reflect.getOwnPropertyDescriptor(e,t);if(h?.set&&h.set.call(c,n),!u){if(i&&typeof t==`string`){var g=r.get(`length`),_=Number(t);Number.isInteger(_)&&_>=g.v&&P(g,_+1)}bn(a)}return!0},ownKeys(e){Z(a);var t=Reflect.ownKeys(e).filter(e=>{var t=r.get(e);return t===void 0||t.v!==C});for(var[n,i]of r)i.v!==C&&!(n in e)&&t.push(n);return t},setPrototypeOf(){et()}})}function Cn(e){try{if(typeof e==`object`&&e&&de in e)return e[de]}catch{}return e}function wn(e,t){return Object.is(Cn(e),Cn(t))}var Tn,En,Dn,On,kn;function An(){if(Tn===void 0){Tn=window,En=document,Dn=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;On=s(t,`firstChild`).get,kn=s(t,`nextSibling`).get,f(e)&&(e[ge]=void 0,e[he]=null,e[_e]=void 0,e.__e=void 0),f(n)&&(n[ve]=void 0)}}function F(e=``){return document.createTextNode(e)}function I(e){return On.call(e)}function L(e){return kn.call(e)}function jn(e,t){if(!w)return I(e);var n=I(E);if(n===null)n=E.appendChild(F());else if(t&&n.nodeType!==3){var r=F();return n?.before(r),D(r),r}return t&&Rn(n),D(n),n}function Mn(e,t=!1){if(!w){var n=I(e);return n instanceof Comment&&n.data===``?L(n):n}if(t){if(E?.nodeType!==3){var r=F();return E?.before(r),D(r),r}Rn(E)}return E}function Nn(e,t=!1){if(!w)return I(e);var n=jn(e,t);return je(e),n}function Pn(e,t=1,n=!1){let r=w?E:e;for(var i;t--;)i=r,r=L(r);if(!w)return r;if(n){if(r?.nodeType!==3){var a=F();return r===null?i?.after(a):r.before(a),D(a),a}Rn(r)}return D(r),r}function Fn(e){e.textContent=``}function In(){return!1}function Ln(e,t,n){return t==null||t===`http://www.w3.org/1999/xhtml`?n?document.createElement(e,{is:n}):document.createElement(e):n?document.createElementNS(t,e,{is:n}):document.createElementNS(t,e)}function Rn(e){if(e.nodeValue.length<65536)return;let t=e.nextSibling;for(;t!==null&&t.nodeType===3;)t.remove(),e.nodeValue+=t.nodeValue,t=e.nextSibling}function zn(e){var t=G;if(t===null)return H.f|=ue,e;if(!(t.f&32768)&&!(t.f&4))throw e;R(e,t)}function R(e,t){if(!(t!==null&&t.f&16384)){for(;t!==null;){if(t.f&128&&!(t.f&33570816)){if(!(t.f&32768))throw e;try{t.b.error(e);return}catch(t){e=t}}t=t.parent}throw e}}function Bn(e){G===null&&(H===null&&Ge(e),We()),fr&&Ue(e)}function Vn(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function z(e,t){var n=G;n!==null&&n.f&8192&&(e|=x);var r={ctx:O,deps:null,nodes:null,f:e|y|512,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,wv:0,ac:null};j?.register_created_effect(r);var i=r;if(e&4)Zt===null?tn.ensure().schedule(r):Zt.push(r);else if(t!==null){try{Dr(r)}catch(e){throw V(r),e}i.deps===null&&i.teardown===null&&i.nodes===null&&i.first===i.last&&!(i.f&524288)&&(i=i.first,e&16&&e&65536&&i!==null&&(i.f|=ne))}if(i!==null&&(i.parent=n,n!==null&&Vn(i,n),H!==null&&H.f&2&&!(e&64))){var a=H;(a.effects??=[]).push(i)}return r}function Hn(){return H!==null&&!U}function Un(e){let t=z(8,null);return A(t,v),t.teardown=e,t}function Wn(e){Bn(`$effect`);var t=G.f;if(!H&&t&32&&O!==null&&!O.i){var n=O;(n.e??=[]).push(e)}else return Gn(e)}function Gn(e){return z(4|ae,e)}function Kn(e){return Bn(`$effect.pre`),z(8|ae,e)}function qn(e){tn.ensure();let t=z(64|ie,e);return(e={})=>new Promise(n=>{e.outro?ar(t,()=>{V(t),n(void 0)}):(V(t),n(void 0))})}function Jn(e){return z(4,e)}function Yn(e){return z(le|ie,e)}function Xn(e,t=0){return z(8|t,e)}function Zn(e,t=[],n=[],r=[]){Mt(r,t,n,t=>{z(8,()=>{e(...t.map(Z))})})}function Qn(e,t=0){return z(16|t,e)}function $n(e,t=0){return z(_|t,e)}function B(e){return z(32|ie,e)}function er(e){var t=e.teardown;if(t!==null){let n=fr,r=H;pr(!0),W(null);try{t.call(null)}catch(t){R(t,e.parent)}finally{pr(n),W(r)}}}function tr(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){let e=n.ac;e!==null&&At(()=>{e.abort(be)});var r=n.next;n.f&64?n.parent=null:V(n,t),n=r}}function nr(e){for(var t=e.first;t!==null;){var n=t.next;t.f&32||V(t),t=n}}function V(e,t=!0){var n=!1;(t||e.f&262144)&&e.nodes!==null&&e.nodes.end!==null&&(rr(e.nodes.start,e.nodes.end),n=!0),e.f|=te,tr(e,t&&!n),Er(e,0);var r=e.nodes&&e.nodes.t;if(r!==null)for(let e of r)e.stop();er(e),e.f^=te,e.f|=S;var i=e.parent;i!==null&&i.first!==null&&ir(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=e.b=null}function rr(e,t){for(;e!==null;){var n=e===t?null:L(e);e.remove(),e=n}}function ir(e){var t=e.parent,n=e.prev,r=e.next;n!==null&&(n.next=r),r!==null&&(r.prev=n),t!==null&&(t.first===e&&(t.first=r),t.last===e&&(t.last=n))}function ar(e,t,n=!0){var r=[];e.f|=256,or(e,r,!0);var i=()=>{n&&V(e),t&&t()},a=r.length;if(a>0){var o=()=>--a||i();for(var s of r)s.out(o)}else i()}function or(e,t,n){if(!(e.f&8192)){e.f^=x;var r=e.nodes&&e.nodes.t;if(r!==null)for(let e of r)(e.is_global||n)&&t.push(e);for(var i=e.first;i!==null;){var a=i.next;if(!(i.f&64)){var o=!!(i.f&65536)||!!(i.f&32)&&!!(e.f&16);or(i,t,o?n:!1)}i=a}}}function sr(e){e.f&=-257,cr(e,!0)}function cr(e,t){if(!(e.f&256)&&e.f&8192){e.f^=x,e.f&1024||(A(e,y),tn.ensure().schedule(e));for(var n=e.first;n!==null;){var r=n.next,i=!!(n.f&65536)||!!(n.f&32);cr(n,i?t:!1),n=r}var a=e.nodes&&e.nodes.t;if(a!==null)for(let e of a)(e.is_global||t)&&e.in()}}function lr(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var i=n===r?null:L(n);t.append(n),n=i}}var ur=null,dr=!1,fr=!1;function pr(e){fr=e}var H=null,U=!1;function W(e){H=e}var G=null;function K(e){G=e}var q=null;function mr(e){H!==null&&(q??=new Set).add(e)}var J=null,Y=0,X=null;function hr(e){X=e}var gr=1,_r=0,vr=_r;function yr(e){vr=e}function br(){return++gr}function xr(e){var t=e.f;if(t&2048)return!0;if(t&2&&(e.f&=~se),t&4096){for(var n=e.deps,r=n.length,i=0;i<r;i++){var a=n[i];if(xr(a)&&Ut(a),a.wv>e.wv)return!0}t&512&&M===null&&A(e,v)}return!1}function Sr(e,t,n=!0){var r=e.reactions;if(r!==null&&!(q!==null&&q.has(e)))for(var i=0;i<r.length;i++){var a=r[i];a.f&2?Sr(a,t,!1):t===a&&(n?A(a,y):a.f&1024&&A(a,b),cn(a))}}function Cr(e){var t=J,n=Y,r=X,i=H,a=q,o=O,s=U,c=vr,l=e.f;J=null,Y=0,X=null,H=l&96?null:e,q=null,ot(e.ctx),U=!1,vr=++_r,e.ac!==null&&(At(()=>{e.ac.abort(be)}),e.ac=null);try{e.f|=ce;var u=e.fn,d=u();e.f|=ee;var f=wr(e);if(ht()&&X!==null&&!U&&f!==null&&!(e.f&6146))for(var p=0;p<X.length;p++)Sr(X[p],e);if(i!==null&&i!==e){if(_r++,i.deps!==null)for(let e=0;e<n;e+=1)i.deps[e].rv=_r;if(t!==null)for(let e of t)e.rv=_r;X!==null&&(r===null?r=X:r.push(...X))}return e.f&8388608&&(e.f^=ue),d}catch(t){return wr(e),zn(t)}finally{e.f^=ce,J=t,Y=n,X=r,H=i,q=a,ot(o),U=s,vr=c}}function wr(e){var t=e.deps,n=j?.is_fork;if(J!==null){var r;if(n||Er(e,Y),t!==null&&Y>0)for(t.length=Y+J.length,r=0;r<J.length;r++)t[Y+r]=J[r];else e.deps=t=J;if(Hn()&&e.f&512)for(r=Y;r<t.length;r++)(t[r].reactions??=[]).push(e)}else!n&&t!==null&&Y<t.length&&(Er(e,Y),t.length=Y);return t}function Tr(e,t){let n=t.reactions;if(n!==null){var a=r.call(n,e);if(a!==-1){var o=n.length-1;o===0?n=t.reactions=null:(n[a]=n[o],n.pop())}}if(n===null&&t.f&2&&(J===null||!i.call(J,t))){var s=t;s.f&512&&(s.f^=512,s.f&=~se),s.v!==C&&bt(s),s.ac!==null&&At(()=>{s.ac.abort(be),s.ac=null,A(s,y)}),Wt(s),Er(s,0)}}function Er(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)Tr(e,n[r])}function Dr(e){var t=e.f;if(!(t&16384)){A(e,v);var n=G,r=dr;G=e,dr=!(t&96);try{t&16777232?nr(e):tr(e),er(e);var i=Cr(e);e.teardown=typeof i==`function`?i:null,e.wv=gr}finally{dr=r,G=n}}}async function Or(){await Promise.resolve(),nn()}function kr(){return tn.ensure().settled()}function Z(e){var t=!!(e.f&2);if(ur?.add(e),H!==null&&!U&&!(G!==null&&G.f&16384)&&(q===null||!q.has(e))){var n=H.deps;if(H.f&2097152)e.rv<_r&&(e.rv=_r,J===null&&n!==null&&n[Y]===e?Y++:J===null?J=[e]:J.push(e));else{H.deps??=[],i.call(H.deps,e)||H.deps.push(e);var r=e.reactions;r===null?e.reactions=[H]:i.call(r,H)||r.push(H)}}if(fr&&N.has(e))return N.get(e);if(t){var a=e;if(fr){var o=a.v;return(!(a.f&1024)&&a.reactions!==null||jr(a))&&(o=Ht(a)),N.set(a,o),o}var s=!(a.f&512)&&!U&&H!==null&&(dr||!!(H.f&512)),c=(a.f&ee)===0;xr(a)&&(s&&(a.f|=512),Ut(a)),s&&!c&&(Gt(a),Ar(a))}if(M?.has(e))return M.get(e);if(e.f&8388608)throw e.v;return e.v}function Ar(e){if(e.f|=512,e.deps!==null)for(let t of e.deps)(t.reactions??=[]).push(e),t.f&2&&!(t.f&512)&&(Gt(t),Ar(t))}function jr(e){if(e.v===C)return!0;if(e.deps===null)return!1;for(let t of e.deps)if(N.has(t)||t.f&2&&jr(t))return!0;return!1}function Q(e){var t=U;try{return U=!0,e()}finally{U=t}}function Mr(e){if(!(typeof e!=`object`||!e||e instanceof EventTarget)){if(de in e)Nr(e);else if(!Array.isArray(e))for(let t in e){let n=e[t];typeof n==`object`&&n&&de in n&&Nr(n)}}}function Nr(e,t=new Set){if(typeof e==`object`&&e&&!(e instanceof EventTarget)&&!t.has(e)){t.add(e),e instanceof Date&&e.getTime();for(let n in e)try{Nr(e[n],t)}catch{}let n=d(e);if(n!==Object.prototype&&n!==Array.prototype&&n!==Map.prototype&&n!==Set.prototype&&n!==Date.prototype){let t=c(n);for(let n in t){let r=t[n].get;if(r)try{r.call(e)}catch{}}}}}function Pr(e){return e.endsWith(`capture`)&&e!==`gotpointercapture`&&e!==`lostpointercapture`}var Fr=[`beforeinput`,`click`,`change`,`dblclick`,`contextmenu`,`focusin`,`focusout`,`input`,`keydown`,`keyup`,`mousedown`,`mousemove`,`mouseout`,`mouseover`,`mouseup`,`pointerdown`,`pointermove`,`pointerout`,`pointerover`,`pointerup`,`touchend`,`touchmove`,`touchstart`];function Ir(e){return Fr.includes(e)}var Lr=`allowfullscreen.async.autofocus.autoplay.checked.controls.default.disabled.formnovalidate.indeterminate.inert.ismap.loop.multiple.muted.nomodule.novalidate.open.playsinline.readonly.required.reversed.seamless.selected.webkitdirectory.defer.disablepictureinpicture.disableremoteplayback`.split(`.`),Rr={formnovalidate:`formNoValidate`,ismap:`isMap`,nomodule:`noModule`,playsinline:`playsInline`,readonly:`readOnly`,defaultvalue:`defaultValue`,defaultchecked:`defaultChecked`,srcobject:`srcObject`,novalidate:`noValidate`,allowfullscreen:`allowFullscreen`,disablepictureinpicture:`disablePictureInPicture`,disableremoteplayback:`disableRemotePlayback`};function zr(e){return e=e.toLowerCase(),Rr[e]??e}[...Lr];var Br=[`touchstart`,`touchmove`];function Vr(e){return Br.includes(e)}var Hr=[`textarea`,`script`,`style`,`title`];function Ur(e){return Hr.includes(e)}var Wr=Symbol(`events`),Gr=new Set,Kr=new Set;function qr(e,t,n,r={}){function i(e){if(r.capture||$r.call(t,e),!e.cancelBubble)return At(()=>n?.call(this,e))}return e.startsWith(`pointer`)||e.startsWith(`touch`)||e===`wheel`?k(()=>{t.addEventListener(e,i,r)}):t.addEventListener(e,i,r),i}function Jr(e,t,n,r,i){var a={capture:r,passive:i},o=qr(e,t,n,a);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&Un(()=>{t.removeEventListener(e,o,a)})}function Yr(e,t,n){(t[Wr]??={})[e]=n}function Xr(e){for(var t=0;t<e.length;t++)Gr.add(e[t]);for(var n of Kr)n(e)}var Zr=null,Qr=!1;function $r(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],a=i[0]||e.target;Zr=e,Qr||(Qr=!0,setTimeout(()=>{Qr=!1,Zr=null}));var s=0,c=Zr===e&&e[Wr];if(c){var l=i.indexOf(c);if(l!==-1&&(t===document||t===window)){e[Wr]=t;return}var u=i.indexOf(t);if(u===-1)return;l<=u&&(s=l)}if(a=i[s]||e.target,a!==t){o(e,`currentTarget`,{configurable:!0,get(){return a||n}});var d=H,f=G;W(null),K(null);try{for(var p,m=[];a!==null&&a!==t;){try{var h=a[Wr]?.[r];h!=null&&(!a.disabled||e.target===a)&&h.call(a,e)}catch(e){p?m.push(e):p=e}if(e.cancelBubble)break;s++,a=s<i.length?i[s]:null}if(p){for(let e of m)queueMicrotask(()=>{throw e});throw p}}finally{e[Wr]=t,delete e.currentTarget,W(d),K(f)}}}var ei=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy(`svelte-trusted-html`,{createHTML:e=>e});function ti(e){return ei?.createHTML(e)??e}function ni(e){var t=Ln(`template`);return t.innerHTML=ti(e.replaceAll(`<!>`,`<!---->`)),t.content}function $(e,t){var n=G;n.nodes===null&&(n.nodes={start:e,end:t,a:null,t:null})}function ri(e,t){var n=!!(t&1),r=!!(t&2),i,a=!e.startsWith(`<!>`);return()=>{if(w)return $(E,null),E;i===void 0&&(i=ni(a?e:`<!>`+e),n||(i=I(i)));var t=r||Dn?document.importNode(i,!0):i.cloneNode(!0);if(n){var o=I(t),s=t.lastChild;$(o,s)}else $(t,t);return t}}function ii(e,t,n=`svg`){var r=!e.startsWith(`<!>`),i=!!(t&1),a=`<${n}>${r?e:`<!>`+e}</${n}>`,o;return()=>{if(w)return $(E,null),E;if(!o){var e=I(ni(a));if(i)for(o=document.createDocumentFragment();I(e);)o.appendChild(I(e));else o=I(e)}var t=o.cloneNode(!0);if(i){var n=I(t),r=t.lastChild;$(n,r)}else $(t,t);return t}}function ai(e,t){return ii(e,t,`svg`)}function oi(e=``){if(!w){var t=F(e+``);return $(t,t),t}var n=E;return n.nodeType===3?Rn(n):(n.before(n=F()),D(n)),$(n,n),n}function si(){if(w)return $(E,null),E;var e=document.createDocumentFragment(),t=document.createComment(``),n=F();return e.append(t,n),$(t,n),e}function ci(e,t){if(w){var n=G;(!(n.f&32768)||n.nodes.end===null)&&(n.nodes.end=E),Ae();return}e!==null&&e.before(t)}function li(e){let t=0,n=hn(0),r;return()=>{Hn()&&(Z(n),Xn(()=>(t===0&&(r=Q(()=>e(()=>bn(n)))),t+=1,()=>{k(()=>{--t,t===0&&(r?.(),r=void 0,bn(n))})})))}}var ui=ne|ie;function di(e,t,n,r){new fi(e,t,n,r)}var fi=class{parent;is_pending=!1;transform_error;#e;#t=w?E:null;#n;#r;#i;#a=null;#o=null;#s=null;#c=null;#l=0;#u=0;#d=!1;#f=new Set;#p=new Set;#m=null;#h=li(()=>(this.#m=hn(this.#l),()=>{this.#m=null}));constructor(e,t,n,r){this.#e=e,this.#n=t,this.#r=e=>{var t=G;t.b=this,t.f|=128,n(e)},this.parent=G.b,this.transform_error=r??this.parent?.transform_error??(e=>e),this.#i=Qn(()=>{if(w){let e=this.#t;Ae();let t=e.data===`[!`;if(e.data.startsWith(`[?`)){let t=JSON.parse(e.data.slice(2));this.#_(t)}else t?this.#y():this.#g()}else this.#b()},ui),w&&(this.#e=E)}#g(){try{this.#a=B(()=>this.#r(this.#e))}catch(e){this.error(e)}}#_(e){let t=this.#n.failed,{reset:n,invoke_onerror:r}=this.#v(e);k(r),t&&(this.#s=B(()=>{t(this.#e,()=>e,()=>n)}))}#v(e){var t=!1,n=!1;let r=()=>{if(t){ke();return}t=!0,n&&nt(),this.#s!==null&&ar(this.#s,()=>{this.#s=null}),this.#S(()=>{this.#b()})};return{reset:r,invoke_onerror:()=>{try{n=!0,this.#n.onerror?.(e,r),n=!1}catch(e){R(e,this.#i&&this.#i.parent)}}}}#y(){let e=this.#n.pending;e&&(this.is_pending=!0,this.#o=B(()=>e(this.#e)),k(()=>{var e=this.#c=document.createDocumentFragment(),t=F(),n=!1;if(e.append(t),this.#a=this.#S(()=>{try{return B(()=>this.#r(t))}catch(e){try{this.error(e),n=!0}catch(e){R(e,this.#i.parent)}return null}}),this.#a===null){this.#c=null,n&&this.#x(j);return}this.#u===0&&(this.#e.before(e),this.#c=null,ar(this.#o,()=>{this.#o=null}),this.#x(j))}))}#b(){try{if(this.is_pending=this.has_pending_snippet(),this.#u=0,this.#l=0,this.#a=B(()=>{this.#r(this.#e)}),this.#u>0){var e=this.#c=document.createDocumentFragment();lr(this.#a,e);let t=this.#n.pending;this.#o=B(()=>t(this.#e))}else this.#x(j)}catch(e){this.error(e)}}#x(e){this.is_pending=!1,e.transfer_effects(this.#f,this.#p)}defer_effect(e){St(e,this.#f,this.#p)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#n.pending}#S(e){var t=G,n=H,r=O;K(this.#i),W(this.#i),ot(this.#i.ctx);try{return tn.ensure(),e()}finally{K(t),W(n),ot(r)}}#C(e,t){if(!this.has_pending_snippet()){this.parent&&this.parent.#C(e,t);return}this.#u+=e,this.#u===0&&(this.#x(t),this.#o&&ar(this.#o,()=>{this.#o=null}),this.#c&&=(this.#e.before(this.#c),null))}update_pending_count(e,t){this.#C(e,t),this.#l+=e,!(!this.#m||this.#d)&&(this.#d=!0,k(()=>{this.#d=!1,this.#m&&vn(this.#m,this.#l)}))}get_effect_pending(){return this.#h(),Z(this.#m)}error(e){if(!this.#n.onerror&&!this.#n.failed)throw e;j?.is_fork?(this.#a&&j.skip_effect(this.#a),this.#o&&j.skip_effect(this.#o),this.#s&&j.skip_effect(this.#s),j.oncommit(()=>{this.#w(e)})):this.#w(e)}#w(e){this.#a&&=(V(this.#a),null),this.#o&&=(V(this.#o),null),this.#s&&=(V(this.#s),null),w&&(D(this.#t),Me(),D(Ne()));let t=this.#n.failed,n=e=>{let{reset:n,invoke_onerror:r}=this.#v(e);r(),t&&(this.#s=this.#S(()=>{try{return B(()=>{var r=G;r.b=this,r.f|=128,t(this.#e,()=>e,()=>n)})}catch(e){return R(e,this.#i.parent),null}}))};k(()=>{var t;try{t=this.transform_error(e)}catch(e){R(e,this.#i&&this.#i.parent);return}typeof t==`object`&&t&&typeof t.then==`function`?t.then(n,e=>R(e,this.#i&&this.#i.parent)):n(t)})}};function pi(e,t){var n=t==null?``:typeof t==`object`?`${t}`:t;n!==(e[ve]??=e.nodeValue)&&(e[ve]=n,e.nodeValue=`${n}`)}function mi(e,t){return _i(e,t)}function hi(e,t){An(),t.intro=t.intro??!1;let n=t.target,r=w,i=E;try{for(var a=I(n);a&&(a.nodeType!==8||a.data!==`[`);)a=L(a);if(!a)throw Se;T(!0),D(a);let r=_i(e,{...t,anchor:a});return T(!1),r}catch(r){if(r instanceof Error&&r.message.split(`
|
|
2
|
+
`).some(e=>e.startsWith(`https://svelte.dev/e/`)))throw r;return r!==Se&&console.warn(`Failed to hydrate: `,r),t.recover===!1&&Xe(),An(),Fn(n),T(!1),mi(e,t)}finally{T(r),D(i)}}var gi=new Map;function _i(e,{target:t,anchor:n,props:r={},events:i,context:o,intro:s=!0,transformError:c}){An();var l=void 0,u=qn(()=>{var s=n??t.appendChild(F());di(s,{pending:()=>{}},t=>{ft({});var n=O;if(o&&(n.c=o),i&&(r.$$events=i),w&&$(t,null),l=e(t,r)||mt(),w&&(G.nodes.end=E,E===null||E.nodeType!==8||E.data!==`]`))throw De(),Se;pt()},c);var u=new Set,d=e=>{for(var n=0;n<e.length;n++){var r=e[n];if(!u.has(r)){u.add(r);var i=Vr(r);for(let e of[t,document]){var a=gi.get(e);a===void 0&&(a=new Map,gi.set(e,a));var o=a.get(r);o===void 0?(e.addEventListener(r,$r,{passive:i}),a.set(r,1)):a.set(r,o+1)}}}};return d(a(Gr)),Kr.add(d),()=>{for(var e of u)for(let n of[t,document]){var r=gi.get(n),i=r.get(e);--i==0?(n.removeEventListener(e,$r),r.delete(e),r.size===0&&gi.delete(n)):r.set(e,i)}Kr.delete(d),s!==n&&s.parentNode?.removeChild(s)}});return vi.set(l,u),l}var vi=new WeakMap;function yi(e,t){let n=vi.get(e);return n?(vi.delete(e),n(t)):Promise.resolve()}var bi=class{anchor;#e=new Map;#t=new Map;#n=new Map;#r=new Set;#i=!0;constructor(e,t=!0){this.anchor=e,this.#i=t}#a=e=>{if(this.#e.has(e)){var t=this.#e.get(e),n=this.#t.get(t);if(n)sr(n),this.#r.delete(t);else{var r=this.#n.get(t);r&&(sr(r.effect),this.#t.set(t,r.effect),this.#n.delete(t),r.fragment.lastChild.remove(),this.anchor.before(r.fragment),n=r.effect)}for(let[t,n]of this.#e){if(this.#e.delete(t),t===e)break;let r=this.#n.get(n);r&&(V(r.effect),this.#n.delete(n))}for(let[e,r]of this.#t){if(e===t||this.#r.has(e))continue;let i=()=>{if(Array.from(this.#e.values()).includes(e)){var t=document.createDocumentFragment();lr(r,t),t.append(F()),this.#n.set(e,{effect:r,fragment:t})}else V(r);this.#r.delete(e),this.#t.delete(e)};this.#i||!n?(this.#r.add(e),ar(r,i,!1)):i()}}};#o=e=>{this.#e.delete(e);let t=Array.from(this.#e.values());for(let[e,n]of this.#n)t.includes(e)||(V(n.effect),this.#n.delete(e))};ensure(e,t){var n=j,r=In();if(t&&!this.#t.has(e)&&!this.#n.has(e)){if(r){var i=document.createDocumentFragment(),a=F();i.append(a),this.#n.set(e,{effect:B(()=>t(a)),fragment:i})}else this.#t.set(e,B(()=>t(this.anchor)))}if(this.#e.set(n,e),r){for(let[t,r]of this.#t)t===e?n.unskip_effect(r):n.skip_effect(r);for(let[t,r]of this.#n)t===e?n.unskip_effect(r.effect):n.skip_effect(r.effect);n.oncommit(this.#a),n.ondiscard(this.#o)}else w&&(this.anchor=E),this.#a(n)}};function xi(e,t,n=!1){var r;w&&(r=E,Ae());var i=new bi(e),a=n?ne:0;function o(e,t){if(w){var n=Pe(r);if(e!==parseInt(n.substring(1))){var a=Ne();D(a),i.anchor=a,T(!1),i.ensure(e,t),T(!0);return}}i.ensure(e,t)}Qn(()=>{var e=!1;t((t,n=0)=>{e=!0,o(n,t)}),e||o(-1,null)},a)}function Si(e,t){return t}function Ci(e,t,n){for(var r=[],i=t.length,o,s=t.length,c=0;c<i;c++){let n=t[c];ar(n,()=>{if(o){if(o.pending.delete(n),o.done.add(n),o.pending.size===0){var t=e.outrogroups;wi(e,a(o.done)),t.delete(o),t.size===0&&(e.outrogroups=null)}}else--s},!1)}if(s===0){var l=r.length===0&&n!==null&&e.pending.size===0;if(l){var u=n,d=u.parentNode;Fn(d),d.append(u),e.items.clear()}wi(e,t,!l)}else o={pending:new Set(t),done:new Set},(e.outrogroups??=new Set).add(o)}function wi(e,t,n=!0){var r;if(e.pending.size>0){r=new Set;for(let t of e.pending.values())for(let n of t)r.add(e.items.get(n).e)}for(var i=0;i<t.length;i++){var a=t[i];r?.has(a)?(a.f|=oe,lr(a,document.createDocumentFragment())):V(t[i],n)}}var Ti;function Ei(e,t,r,i,o,s=null){var c=e,l=new Map;if(t&4){var u=e;c=w?D(I(u)):u.appendChild(F())}w&&Ae();var d=null,f=Bt(()=>{var e=r();return n(e)?e:e==null?[]:a(e)}),p,m=new Map,h=!0;function g(e){v.effect.f&16384||(v.pending.delete(e),v.fallback=d,Oi(v,p,c,t,i),d!==null&&(p.length===0?d.f&33554432?(d.f^=oe,Ai(d,null,c)):sr(d):ar(d,()=>{d=null})))}function _(e){v.pending.delete(e)}var v={effect:Qn(()=>{p=Z(f);var e=p.length;let n=!1;w&&Pe(c)===`[!`!=(e===0)&&(c=Ne(),D(c),T(!1),n=!0);for(var a=new Set,u=j,v=In(),y=0;y<e;y+=1){w&&E.nodeType===8&&E.data===`]`&&(c=E,n=!0,T(!1));var b=p[y],x=i(b,y),S=h?null:l.get(x);S?(S.v&&vn(S.v,b),S.i&&vn(S.i,y),v&&u.unskip_effect(S.e)):(S=ki(l,h?c:Ti??=F(),b,x,y,o,t,r),h||(S.e.f|=oe),l.set(x,S)),a.add(x)}if(e===0&&s&&!d&&(h?d=B(()=>s(c)):(d=B(()=>s(Ti??=F())),d.f|=oe)),e>a.size&&He(``,``,``),w&&e>0&&D(Ne()),!h){if(m.set(u,a),v){for(let[e,t]of l)a.has(e)||u.skip_effect(t.e);u.oncommit(g),u.ondiscard(_)}else g(u)}n&&T(!0),Z(f)}),flags:t,items:l,pending:m,outrogroups:null,fallback:d};h=!1,w&&(c=E)}function Di(e){for(;e!==null&&!(e.f&32);)e=e.next;return e}function Oi(e,t,n,r,i){var o=!!(r&8),s=t.length,c=e.items,l=Di(e.effect.first),u,d=null,f,p=[],m=[],h,g,_,v;if(o)for(v=0;v<s;v+=1)h=t[v],g=i(h,v),_=c.get(g).e,_.f&33554432||(_.nodes?.a?.measure(),(f??=new Set).add(_));for(v=0;v<s;v+=1){if(h=t[v],g=i(h,v),_=c.get(g).e,e.outrogroups!==null)for(let t of e.outrogroups)t.pending.delete(_),t.done.delete(_);if(_.f&8192&&(sr(_),o&&(_.nodes?.a?.unfix(),(f??=new Set).delete(_))),_.f&33554432){if(_.f^=oe,_===l)Ai(_,null,n);else{var y=d?d.next:l;_===e.effect.last&&(e.effect.last=_.prev),_.prev&&(_.prev.next=_.next),_.next&&(_.next.prev=_.prev),ji(e,d,_),ji(e,_,y),Ai(_,y,n),d=_,p=[],m=[],l=Di(d.next);continue}}if(_!==l){if(u!==void 0&&u.has(_)){if(p.length<m.length){var b=m[0],x;d=b.prev;var S=p[0],ee=p[p.length-1];for(x=0;x<p.length;x+=1)Ai(p[x],b,n);for(x=0;x<m.length;x+=1)u.delete(m[x]);ji(e,S.prev,ee.next),ji(e,d,S),ji(e,ee,b),l=b,d=ee,--v,p=[],m=[]}else u.delete(_),Ai(_,l,n),ji(e,_.prev,_.next),ji(e,_,d===null?e.effect.first:d.next),ji(e,d,_),d=_;continue}for(p=[],m=[];l!==null&&l!==_;)(u??=new Set).add(l),m.push(l),l=Di(l.next);if(l===null)continue}_.f&33554432||p.push(_),d=_,l=Di(_.next)}if(e.outrogroups!==null){for(let t of e.outrogroups)t.pending.size===0&&(wi(e,a(t.done)),e.outrogroups?.delete(t));e.outrogroups.size===0&&(e.outrogroups=null)}if(l!==null||u!==void 0){var te=[];if(u!==void 0)for(_ of u)_.f&8192||te.push(_);for(;l!==null;)!(l.f&8192)&&l!==e.fallback&&te.push(l),l=Di(l.next);var ne=te.length;if(ne>0){var re=r&4&&s===0?n:null;if(o){for(v=0;v<ne;v+=1)te[v].nodes?.a?.measure();for(v=0;v<ne;v+=1)te[v].nodes?.a?.fix()}Ci(e,te,re)}}o&&k(()=>{if(f!==void 0)for(_ of f)_.nodes?.a?.apply()})}function ki(e,t,n,r,i,a,o,s){var c=o&1?o&16?hn(n):_n(n,!1,!1):null,l=o&2?hn(i):null;return{v:c,i:l,e:B(()=>(a(t,c??n,l??i,s),()=>{e.delete(r)}))}}function Ai(e,t,n){if(e.nodes)for(var r=e.nodes.start,i=e.nodes.end,a=t&&!(t.f&33554432)?t.nodes.start:n;r!==null;){var o=L(r);if(a.before(r),r===i)return;r=o}}function ji(e,t,n){t===null?e.effect.first=n:t.next=n,n===null?e.effect.last=t:n.prev=t}function Mi(e,t,...n){var r=new bi(e);Qn(()=>{let e=t()??null;r.ensure(e,e&&(t=>e(t,...n)))},ne)}function Ni(e){return(t,...n)=>{var r=e(...n),i;w?(i=E,Ae()):(i=I(ni(r.render().trim())),t.before(i));let a=r.setup?.(i);$(i,i),typeof a==`function`&&Un(a)}}function Pi(e,t,n){var r;w&&(r=E,Ae());var i=new bi(e);Qn(()=>{var e=t()??null;if(w&&Pe(r)===`[`!=(e!==null)){var a=Ne();D(a),i.anchor=a,T(!1),i.ensure(e,e&&(t=>n(t,e))),T(!0);return}i.ensure(e,e&&(t=>n(t,e)))},ne)}function Fi(e,t,n,r,i,a){let o=w;w&&Ae();var s=null;w&&E.nodeType===1&&(s=E,Ae());var c=w?E:e,l=new bi(c,!1);Qn(()=>{let e=t()||null;var a=i?i():n||e===`svg`?we:void 0;if(e===null){l.ensure(null,null);return}return l.ensure(e,t=>{if(e){if(s=w?s:Ln(e,a),$(s,s),r){var n=null;w&&Ur(e)&&s.append(n=document.createComment(``));var i=w?I(s):s.appendChild(F());w&&(i===null?T(!1):D(i)),r(s,i),n?.remove()}G.nodes.end=s,t.before(s)}w&&D(t)}),()=>{}},ne),Un(()=>{}),o&&(T(!0),D(c))}function Ii(e,t){let n=null,r=w;var i;if(w){n=E;for(var a=I(document.head);a!==null&&(a.nodeType!==8||a.data!==e);)a=L(a);if(a===null)T(!1);else{var o=L(a);a.remove(),D(o)}}w||(i=document.head.appendChild(F()));try{Qn(()=>{var e=B(()=>t(i));e.f|=re,w||(e.nodes===null?e.nodes={start:i,end:i,a:null,t:null}:e.nodes.end=i)})}finally{r&&(T(!0),D(n))}}function Li(e,t,n){Jn(()=>{var r=Q(()=>t(e,n?.())||{});if(n&&r?.update){var i=!1,a={};Xn(()=>{var e=n();Mr(e),i&&Ie(a,e)&&(a=e,r.update(e))}),i=!0}if(r?.destroy)return()=>r.destroy()})}function Ri(e,t){var n=void 0,r;$n(()=>{n!==(n=t())&&(r&&=(V(r),null),n&&(r=B(()=>{Jn(()=>n(e))})))})}function zi(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`){if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=zi(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n)}return r}function Bi(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=zi(e))&&(r&&(r+=` `),r+=t);return r}function Vi(e){return typeof e==`object`?Bi(e):e??``}var Hi=[...`
|
|
3
|
+
\r\f\xA0\v`];function Ui(e,t,n){var r=e==null?``:``+e;if(t&&(r=r?r+` `+t:t),n){for(var i of Object.keys(n))if(n[i])r=r?r+` `+i:i;else if(r.length)for(var a=i.length,o=0;(o=r.indexOf(i,o))>=0;){var s=o+a;(o===0||Hi.includes(r[o-1]))&&(s===r.length||Hi.includes(r[s]))?r=(o===0?``:r.substring(0,o))+r.substring(s+1):o=s}}return r===``?null:r}function Wi(e,t=!1){var n=t?` !important;`:`;`,r=``;for(var i of Object.keys(e)){var a=e[i];a!=null&&a!==``&&(r+=` `+i+`: `+a+n)}return r}function Gi(e){return e[0]!==`-`||e[1]!==`-`?e.toLowerCase():e}function Ki(e,t){if(t){var n=``,r,i;if(Array.isArray(t)?(r=t[0],i=t[1]):r=t,e){e=String(e).replaceAll(/\/\*.*?\*\//g,``).trim();var a=!1,o=0,s=!1,c=[];r&&c.push(...Object.keys(r).map(Gi)),i&&c.push(...Object.keys(i).map(Gi));var l=0,u=-1;let t=e.length;for(var d=0;d<t;d++){var f=e[d];if(s?f===`/`&&e[d-1]===`*`&&(s=!1):a?a===f&&(a=!1):f===`/`&&e[d+1]===`*`?s=!0:f===`"`||f===`'`?a=f:f===`(`?o++:f===`)`&&o--,!s&&a===!1&&o===0){if(f===`:`&&u===-1)u=d;else if(f===`;`||d===t-1){if(u!==-1){var p=Gi(e.substring(l,u).trim());if(!c.includes(p)){f!==`;`&&d++;var m=e.substring(l,d).trim();n+=` `+m+`;`}}l=d+1,u=-1}}}}return r&&(n+=Wi(r)),i&&(n+=Wi(i,!0)),n=n.trim(),n===``?null:n}return e==null?null:String(e)}function qi(e,t,n,r,i,a){var o=e[ge];if(w||o!==n||o===void 0){var s=Ui(n,r,a);(!w||s!==e.getAttribute(`class`))&&(s==null?e.removeAttribute(`class`):t?e.className=s:e.setAttribute(`class`,s)),e[ge]=n}else if(a&&i!==a)for(var c in a){var l=!!a[c];(i==null||l!==!!i[c])&&e.classList.toggle(c,l)}return a}function Ji(e,t={},n,r){for(var i in n){var a=n[i];t[i]!==a&&(n[i]==null?e.style.removeProperty(i):e.style.setProperty(i,a,r))}}function Yi(e,t,n,r){var i=e[_e];if(w||i!==t){var a=Ki(t,r);(!w||a!==e.getAttribute(`style`))&&(a==null?e.removeAttribute(`style`):e.style.cssText=a),e[_e]=t}else r&&(Array.isArray(r)?(Ji(e,n?.[0],r[0]),Ji(e,n?.[1],r[1],`important`)):Ji(e,n,r));return r}function Xi(e,t){t?e.hasAttribute(`selected`)||e.setAttribute(`selected`,``):e.removeAttribute(`selected`)}function Zi(e,t){var n=!(`__defaultValue`in e);(n||e.__defaultValue!==t)&&(e.__defaultValue=t,Qi(e,!n||`__value`in e))}function Qi(e,t){var r=e.__defaultValue,i=e.multiple,a=i?r??[]:null;if(!i||n(a)){var o=e.selectedIndex,s=t&&i?new Set(e.selectedOptions):null;for(var c of e.options){var l=ta(c);Xi(c,i?a.includes(l):wn(l,r))}if(t){if(s!==null)for(c of e.options){var u=s.has(c);c.selected!==u&&(c.selected=u)}else e.selectedIndex!==o&&(e.selectedIndex=o)}}}function $i(e,t,r=!1){if(e.multiple){if(t==null)return;if(!n(t))return Oe();for(var i of e.options)i.selected=t.includes(ta(i));return}for(i of e.options)if(wn(ta(i),t)){i.selected=!0;return}(!r||t!==void 0)&&(e.selectedIndex=-1)}function ea(e){var t=new MutationObserver(t=>{t.every(na)||(`__defaultValue`in e&&Qi(e,!1),`__value`in e&&$i(e,e.__value))});t.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[`value`]}),Un(()=>{t.disconnect()})}function ta(e){return`__value`in e?e.__value:e.value}function na(e){if(e.target.closest(`selectedcontent`)!==null)return!0;if(e.type===`childList`){var t=[...e.addedNodes,...e.removedNodes];return t.length>0&&t.every(e=>e.nodeName===`SELECTEDCONTENT`)}return!1}var ra=Symbol(`class`),ia=Symbol(`style`),aa=Symbol(`is custom element`),oa=Symbol(`is html`),sa=xe?`link`:`LINK`,ca=xe?`input`:`INPUT`,la=xe?`option`:`OPTION`,ua=xe?`select`:`SELECT`;function da(e){if(w){var t=!1,n=()=>{if(!t){if(t=!0,e.hasAttribute(`value`)){var n=e.value;pa(e,`value`,null),e.value=n}if(e.hasAttribute(`checked`)){var r=e.checked;pa(e,`checked`,null),e.checked=r}}};e[ye]=n,k(n),kt()}}function fa(e,t){var n=ga(e);n.checked!==(n.checked=t??void 0)&&(e.checked=t)}function pa(e,t,n,r){var i=ga(e);w&&(i[t]=e.getAttribute(t),t===`src`||t===`srcset`||t===`href`&&e.nodeName===sa)||i[t]!==(i[t]=n)&&(t===`loading`&&(e[me]=n),n==null?e.removeAttribute(t):typeof n!=`string`&&va(e).has(t)?e[t]=n:e.setAttribute(t,n))}function ma(e,t,n,r,i=!1,a=!1){w&&i&&e.nodeName===ca&&(`defaultValue`in n||`defaultChecked`in n||da(e));var o=ga(e),s=o[aa],c=!o[oa];let l=w&&s;l&&T(!1);var u=t||{},d=e.nodeName===la,f=e.nodeName===ua;for(var p in t)!(p in n)&&p[0]+p[1]!==`$$`&&(n[p]=null);n.class?n.class=Vi(n.class):(r||n[ra])&&(n.class=null),n[ia]&&(n.style??=null);var m=va(e);if(e.nodeName===ca&&`type`in n&&(`value`in n||`__value`in n)){var h=n.type;(h!==u.type||h===void 0&&e.hasAttribute(`type`))&&(u.type=h,pa(e,`type`,h,a))}for(let i in n){let l=n[i];if(d&&i===`value`&&l==null){e.value=e.__value=``,u[i]=l;continue}if(i===`class`){qi(e,e.namespaceURI===`http://www.w3.org/1999/xhtml`,l,r,t?.[ra],n[ra]),u[i]=l,u[ra]=n[ra];continue}if(i===`style`){Yi(e,l,t?.[ia],n[ia]),u[i]=l,u[ia]=n[ia];continue}var g=u[i];if(l!==g||l===void 0&&e.hasAttribute(i)){u[i]=l;var _=i[0]+i[1];if(_!==`$$`){if(_===`on`){let t={},n=`$$`+i,r=i.slice(2);var v=Ir(r);if(Pr(r)&&(r=r.slice(0,-7),t.capture=!0),!v&&g){if(l!=null)continue;e.removeEventListener(r,u[n],t),u[n]=null}if(v)Yr(r,e,l),Xr([r]);else if(l!=null){function a(e){u[i].call(this,e)}u[n]=qr(r,e,a,t)}}else if(i===`style`)pa(e,i,l);else if(i===`autofocus`)Dt(e,!!l);else if(!s&&(i===`__value`||i===`value`&&l!=null))e.value=e.__value=l;else if(i===`selected`&&d)Xi(e,l);else{var y=i;c||(y=zr(y));var b=y===`defaultValue`||y===`defaultChecked`;if(f&&y===`defaultValue`)continue;if(l==null&&!s&&!b){if(o[i]=null,y===`value`||y===`checked`){let n=e,r=t===void 0;if(y===`value`){let e=n.defaultValue;n.removeAttribute(y),n.defaultValue=e,n.value=n.__value=r?e:null}else{let e=n.defaultChecked;n.removeAttribute(y),n.defaultChecked=e,n.checked=r?e:!1}}else e.removeAttribute(i)}else b||(s||typeof l!=`string`)&&m.has(y)?(e[y]=l,y in o&&(o[y]=C)):typeof l!=`function`&&pa(e,y,l,a)}}}}return l&&T(!0),u}function ha(e,t,n=[],r=[],i=[],a,o=!1,s=!1){Mt(i,n,r,n=>{var r=void 0,i={},c=e.nodeName===ua,l=!1;if($n(()=>{var u=t(...n.map(Z)),d=ma(e,r,u,a,o,s);if(l&&c){var f=e;`defaultValue`in u&&Zi(f,u.defaultValue),`value`in u&&$i(f,u.value)}for(let e of Object.getOwnPropertySymbols(i))u[e]||V(i[e]);for(let t of Object.getOwnPropertySymbols(u)){var p=u[t];t.description===`@attach`&&(!r||p!==r[t])&&(i[t]&&V(i[t]),i[t]=B(()=>Ri(e,()=>p))),d[t]=p}r=d}),c){var u=e;Jn(()=>{var e=r;`defaultValue`in e&&Zi(u,e.defaultValue),$i(u,e.value,!0),ea(u)})}l=!0})}function ga(e){return e[he]??={[aa]:e.nodeName.includes(`-`),[oa]:e.namespaceURI===Ce}}var _a=new Map;function va(e){var t=e.getAttribute(`is`)||e.nodeName,n=_a.get(t);if(n)return n;_a.set(t,n=new Set);for(var r,i=e,a=Element.prototype;a!==i;){for(var o in r=c(i),r)r[o].set&&o!==`innerHTML`&&o!==`textContent`&&o!==`innerText`&&n.add(o);i=d(i)}return n}function ya(e,t,n=t){var r=new WeakSet;jt(e,`input`,async i=>{var a=i?e.defaultValue:e.value;if(a=ba(e)?xa(a):a,n(a),j!==null&&r.add(j),await Or(),a!==(a=t())){var o=e.selectionStart,s=e.selectionEnd,c=e.value.length;if(e.value=a??``,s!==null){var l=e.value.length;o===s&&s===c&&l>c?(e.selectionStart=l,e.selectionEnd=l):(e.selectionStart=o,e.selectionEnd=Math.min(s,l))}}}),(w&&e.defaultValue!==e.value||Q(t)==null&&e.value)&&(n(ba(e)?xa(e.value):e.value),j!==null&&r.add(j)),Xn(()=>{var n=t();if(e===document.activeElement){var i=j;if(r.has(i))return}ba(e)&&n===xa(e.value)||(e.type!==`date`||n||e.value)&&n!==e.value&&(e.value=n??``)})}function ba(e){var t=e.type;return t===`number`||t===`range`}function xa(e){return e===``?null:+e}var Sa=new class e{#e=new WeakMap;#t;#n;static entries=new WeakMap;constructor(e){this.#n=e}observe(e,t){var n=this.#e.get(e)||new Set;return n.add(t),this.#e.set(e,n),this.#r().observe(e,this.#n),()=>{var n=this.#e.get(e);n.delete(t),n.size===0&&(this.#e.delete(e),this.#t.unobserve(e))}}#r(){return this.#t??=new ResizeObserver(t=>{for(var n of t){e.entries.set(n.target,n);for(var r of this.#e.get(n.target)||[])r(n)}})}}({box:`border-box`});function Ca(e,t,n){var r=Sa.observe(e,()=>n(e[t]));Jn(()=>(Q(()=>n(e[t])),r))}function wa(e,t){return e===t||e?.[de]===t}function Ta(e=mt(),t,n,r){var i=O.r,a=G;return Jn(()=>{var o,s;return Xn(()=>{o=s,s=r?.()||[],Q(()=>{wa(n(...s),e)||(t(e,...s),o&&wa(n(...o),e)&&t(null,...o))})}),()=>{let r=a;for(;r!==i&&r.parent!==null&&r.parent.f&33554432;)r=r.parent;let o=()=>{s&&wa(n(...s),e)&&t(null,...s)},c=r.teardown;r.teardown=()=>{o(),c?.()}}}),e}function Ea(e,t,n,r){var i=!0,a=!!(n&8),o=!!(n&16),c=r,l=!0,u=void 0,d=()=>o&&i?(u??=It(r),Z(u)):(l&&(l=!1,c=o?Q(r):r),c);let f;if(a){var p=de in e||pe in e;f=s(e,t)?.set??(p&&t in e?n=>e[t]=n:void 0)}var m,h=!1;a?[m,h]=Et(()=>e[t]):m=e[t],m===void 0&&r!==void 0&&(m=d(),f&&(i&&Qe(t),f(m)));var g=i?()=>{var n=e[t];return n===void 0?d():(l=!0,n)}:()=>{var n=e[t];return n!==void 0&&(c=void 0),n===void 0?c:n};if(i&&!(n&4))return g;if(f){var _=e.$$legacy;return(function(e,t){return arguments.length>0?((!i||!t||_||h)&&f(t?g():e),e):g()})}var v=!1,y=(n&1?It:Bt)(()=>(v=!1,g()));a&&Z(y);var b=G;return(function(e,t){if(arguments.length>0){let n=t?Z(y):i&&a?Sn(e):e;return P(y,n),v=!0,c!==void 0&&(c=n),e}return fr&&v||b.f&16384?y.v:Z(y)})}function Da(e){return class extends Oa{constructor(t){super({component:e,...t})}}}var Oa=class{#e;#t;constructor(e){var t=new Map,n=(e,n)=>{var r=_n(n,!1,!1);return t.set(e,r),r};let r=new Proxy({...e.props||{},$$events:{}},{get(e,r){return Z(t.get(r)??n(r,Reflect.get(e,r)))},has(e,r){return r===pe||(Z(t.get(r)??n(r,Reflect.get(e,r))),Reflect.has(e,r))},set(e,r,i){return P(t.get(r)??n(r,i),i),Reflect.set(e,r,i)}});this.#t=(e.hydrate?hi:mi)(e.component,{target:e.target,anchor:e.anchor,props:r,context:e.context,intro:e.intro??!1,recover:e.recover,transformError:e.transformError}),(!e?.props?.$$host||e.sync===!1)&&nn(),this.#e=r.$$events;for(let e of Object.keys(this.#t))e!==`$set`&&e!==`$destroy`&&e!==`$on`&&o(this,e,{get(){return this.#t[e]},set(t){this.#t[e]=t},enumerable:!0});this.#t.$set=e=>{Object.assign(r,e)},this.#t.$destroy=()=>{yi(this.#t)}}$set(e){this.#t.$set(e)}$on(e,t){this.#e[e]=this.#e[e]||[];let n=(...e)=>t.call(this,...e);return this.#e[e].push(n),()=>{this.#e[e]=this.#e[e].filter(e=>e!==n)}}$destroy(){this.#t.$destroy()}};function ka(e,t){if(Re(`hydratable`),w){let t=window.__svelte?.h;if(t?.has(e))return t.get(e);Ee(e)}return t()}var Aa=t({afterUpdate:()=>La,beforeUpdate:()=>Ia,createContext:()=>st,createEventDispatcher:()=>Fa,createRawSnippet:()=>Ni,flushSync:()=>nn,fork:()=>dn,getAbortSignal:()=>ja,getAllContexts:()=>dt,getContext:()=>ct,hasContext:()=>ut,hydratable:()=>ka,hydrate:()=>hi,mount:()=>mi,onDestroy:()=>Na,onMount:()=>Ma,setContext:()=>lt,settled:()=>kr,tick:()=>Or,unmount:()=>yi,untrack:()=>Q});function ja(){return H===null&&Ye(),(H.ac??=new AbortController).signal}function Ma(e){O===null&&ze(`onMount`),Wn(()=>{let t=Q(e);if(typeof t==`function`)return t})}function Na(e){O===null&&ze(`onDestroy`),Ma(()=>()=>Q(e))}function Pa(e,t,{bubbles:n=!1,cancelable:r=!1}={}){return new CustomEvent(e,{detail:t,bubbles:n,cancelable:r})}function Fa(){let e=O;return e===null&&ze(`createEventDispatcher`),(t,r,i)=>{let a=e.s.$$events?.[t];if(a){let o=n(a)?a.slice():[a],s=Pa(t,r,i);for(let t of o)t.call(e.x,s);return!s.defaultPrevented}return!0}}function Ia(e){O===null&&ze(`beforeUpdate`),O.l===null&&Ze(`beforeUpdate`),Ra(O).b.push(e)}function La(e){O===null&&ze(`afterUpdate`),O.l===null&&Ze(`afterUpdate`),Ra(O).a.push(e)}function Ra(e){var t=e.l;return t.u??={a:[],b:[],m:[]}}export{ct as $,oi as A,Wn as B,Si as C,si as D,ci as E,kr as F,Mn as G,En as H,Or as I,Sn as J,Nn as K,Q as L,Yr as M,Jr as N,ri as O,Z as P,wt as Q,Jn as R,Ei as S,pi as T,Tn as U,Kn as V,jn as W,gn as X,P as Y,zt as Z,Li as _,Ta as a,g as at,Pi as b,ra as c,pa as d,pt as et,fa as f,qi as g,Yi as h,Ea as i,je as it,Xr as j,ai as k,ha as l,$i as m,Ma as n,lt as nt,Ca as o,ea as p,Pn as q,Da as r,Me as rt,ya as s,Aa as t,ft as tt,da as u,Ii as v,xi as w,Mi as x,Fi as y,Zn as z};
|
|
Binary file
|
|
Binary file
|