Spaces:
Running
Running
Switch between the two benchmarks instead of stacking them
Browse filesBoth leaderboards rendered one under the other, so reaching the verse table
meant scrolling past 107 prose rows and their plot, and the page carried 7,773
elements before a reader had seen either table whole. The two benchmarks are
alternatives, not a sequence.
A switch beside the heading now chooses one. The page falls to 3,480 elements
and 366 KB from 811 KB, and the heading names whichever benchmark is showing.
The table is keyed on the benchmark so a switch starts from that benchmark's
own defaults: a sort field, selected row or composition filter carried over
from the other one would not apply to these tasks.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
- 404.html +14 -14
- _app/immutable/assets/0.B9mOvA1M.css +0 -1
- _app/immutable/assets/0.COjZ1-Fz.css +1 -0
- _app/immutable/chunks/{7ar41ERE.js → 1Jj3lkh-.js} +1 -1
- _app/immutable/chunks/BU129qsK.js +1 -0
- _app/immutable/chunks/CLflRIDg.js +0 -2
- _app/immutable/chunks/{CGlyOndm.js → CYye4kUT.js} +1 -1
- _app/immutable/chunks/{CTfzyGBz.js → DNDc8P0N.js} +1 -1
- _app/immutable/chunks/{Dnoir60M.js → QoSX5tB3.js} +1 -1
- _app/immutable/chunks/T86D3IO_.js +0 -1
- _app/immutable/chunks/UPLOOD0p.js +2 -0
- _app/immutable/chunks/{Cipj2fdW.js → pybtLZpB.js} +1 -1
- _app/immutable/entry/{app.BkZq8UDI.js → app.BbXm3HMx.js} +2 -2
- _app/immutable/entry/{start.DtetovW9.js → start.3RSwzIUB.js} +1 -1
- _app/immutable/nodes/{0.D-ZKqFbp.js → 0.GJXvhF-_.js} +1 -1
- _app/immutable/nodes/{1.y2kQF00u.js → 1.7QgmlAc3.js} +1 -1
- _app/immutable/nodes/{2.Dp-u8xNJ.js → 2.BstrRI_y.js} +0 -0
- _app/version.json +1 -1
- index.html +0 -0
- src/app.css +2 -0
- src/lib/components/LeaderboardTable.svelte +26 -2
- src/routes/+page.svelte +28 -2
404.html
CHANGED
|
@@ -4,32 +4,32 @@
|
|
| 4 |
<meta charset="utf-8" />
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
| 6 |
<meta name="theme-color" content="#f7f5ef" />
|
| 7 |
-
<link href="/_app/immutable/entry/start.
|
| 8 |
-
<link href="/_app/immutable/chunks/
|
| 9 |
-
<link href="/_app/immutable/chunks/
|
| 10 |
-
<link href="/_app/immutable/chunks/
|
| 11 |
-
<link href="/_app/immutable/entry/app.
|
| 12 |
-
<link href="/_app/immutable/chunks/
|
| 13 |
-
<link href="/_app/immutable/chunks/
|
| 14 |
-
<link href="/_app/immutable/chunks/
|
| 15 |
-
<link href="/_app/immutable/chunks/
|
| 16 |
-
<link href="/_app/immutable/nodes/0.
|
| 17 |
|
| 18 |
-
<link href="/_app/immutable/assets/0.
|
| 19 |
</head>
|
| 20 |
<body data-sveltekit-preload-data="hover">
|
| 21 |
<div style="display: contents">
|
| 22 |
<script>
|
| 23 |
{
|
| 24 |
-
|
| 25 |
base: ""
|
| 26 |
};
|
| 27 |
|
| 28 |
const element = document.currentScript.parentElement;
|
| 29 |
|
| 30 |
Promise.all([
|
| 31 |
-
import("/_app/immutable/entry/start.
|
| 32 |
-
import("/_app/immutable/entry/app.
|
| 33 |
]).then(([kit, app]) => {
|
| 34 |
kit.start(app, element);
|
| 35 |
});
|
|
|
|
| 4 |
<meta charset="utf-8" />
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
| 6 |
<meta name="theme-color" content="#f7f5ef" />
|
| 7 |
+
<link href="/_app/immutable/entry/start.3RSwzIUB.js" rel="modulepreload">
|
| 8 |
+
<link href="/_app/immutable/chunks/QoSX5tB3.js" rel="modulepreload">
|
| 9 |
+
<link href="/_app/immutable/chunks/pybtLZpB.js" rel="modulepreload">
|
| 10 |
+
<link href="/_app/immutable/chunks/CYye4kUT.js" rel="modulepreload">
|
| 11 |
+
<link href="/_app/immutable/entry/app.BbXm3HMx.js" rel="modulepreload">
|
| 12 |
+
<link href="/_app/immutable/chunks/UPLOOD0p.js" rel="modulepreload">
|
| 13 |
+
<link href="/_app/immutable/chunks/DNDc8P0N.js" rel="modulepreload">
|
| 14 |
+
<link href="/_app/immutable/chunks/1Jj3lkh-.js" rel="modulepreload">
|
| 15 |
+
<link href="/_app/immutable/chunks/BU129qsK.js" rel="modulepreload">
|
| 16 |
+
<link href="/_app/immutable/nodes/0.GJXvhF-_.js" rel="modulepreload">
|
| 17 |
|
| 18 |
+
<link href="/_app/immutable/assets/0.COjZ1-Fz.css" rel="stylesheet">
|
| 19 |
</head>
|
| 20 |
<body data-sveltekit-preload-data="hover">
|
| 21 |
<div style="display: contents">
|
| 22 |
<script>
|
| 23 |
{
|
| 24 |
+
__sveltekit_uh43yz = {
|
| 25 |
base: ""
|
| 26 |
};
|
| 27 |
|
| 28 |
const element = document.currentScript.parentElement;
|
| 29 |
|
| 30 |
Promise.all([
|
| 31 |
+
import("/_app/immutable/entry/start.3RSwzIUB.js"),
|
| 32 |
+
import("/_app/immutable/entry/app.BbXm3HMx.js")
|
| 33 |
]).then(([kit, app]) => {
|
| 34 |
kit.start(app, element);
|
| 35 |
});
|
_app/immutable/assets/0.B9mOvA1M.css
DELETED
|
@@ -1 +0,0 @@
|
|
| 1 |
-
@import"https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700&display=swap";:root{font-family:Manrope,sans-serif;color:#24231f;background:#f7f5ef;font-synthesis:none;--page: #f7f5ef;--surface: #fffef9;--surface-muted: #efede6;--row-alt: #f8f6f0;--text: #24231f;--text-muted: #67645b;--text-subtle: #928e82;--border: #dedbd1;--border-strong: #c6c1b4;--primary: #255c47;--primary-strong: #174532;--primary-soft: #dfece5;--accent: #d86b3c;--shadow-sm: 0 1px 2px rgb(42 39 31 / 5%);--rep-greberta: #0b6bb0;--rep-kainobert: #3b3fb0;--rep-kainoberta: #4a7c1a;--rep-char: #b0500a;--rep-tfidf: #17724a;--rep-syntax: #7642a8;--rep-burrows: #0d707a;--rep-alm: #ad3468;--rep-metre: #7f6210}:root[data-theme=dark]{color-scheme:dark;--page: #161814;--surface: #1d201b;--surface-muted: #272b24;--row-alt: #22251f;--text: #f2f0e9;--text-muted: #b4b1a7;--text-subtle: #89877f;--border: #383c34;--border-strong: #4b5046;--primary: #7fc4a2;--primary-strong: #a6d9bf;--primary-soft: #253d31;--accent: #ef936d;--shadow-sm: none;--rep-greberta: #74b9e8;--rep-kainobert: #9aa0f0;--rep-kainoberta: #a8d46a;--rep-char: #f0a26c;--rep-tfidf: #6fd0a0;--rep-syntax: #c5a4ea;--rep-burrows: #63cbd4;--rep-alm: #f09bc2;--rep-metre: #dcc06e}*{box-sizing:border-box}html{min-height:100%;scroll-behavior:smooth;background:var(--page)}body{margin:0;min-width:320px;min-height:100vh;background:var(--page);color:var(--text)}button,input{font:inherit}a{color:inherit}.topbar{display:flex;align-items:center;justify-content:space-between;min-height:68px;padding:0 max(24px,calc((100vw - 1400px)/2));border-bottom:1px solid var(--border);background:color-mix(in srgb,var(--page) 92%,transparent)}.brand{display:inline-flex;align-items:center;gap:10px;font-weight:700;text-decoration:none;letter-spacing:-.02em}.brand-mark{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--primary);color:var(--page);font:500 16px DM Mono,monospace}nav{display:flex;align-items:center;gap:24px}nav a{color:var(--text-muted);font-size:13px;font-weight:600;text-decoration:none}nav a:hover{color:var(--text)}.theme-toggle{width:34px;height:34px;border:1px solid var(--border);border-radius:50%;background:var(--surface);color:var(--text);cursor:pointer}main{width:min(100% - 48px,1400px);margin:0 auto}.eyebrow{margin:0 0 14px;color:var(--primary);font:500 11px DM Mono,monospace;letter-spacing:.15em;text-transform:uppercase}.leaderboard-section{padding:46px 0 64px}.leaderboard-section+.leaderboard-section{padding-top:0}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:26px}.section-heading h2{margin:0;font-size:clamp(27px,4vw,40px);font-weight:500;letter-spacing:-.045em}.result-count{color:var(--text-subtle);font:500 11px DM Mono,monospace;text-transform:uppercase}.controls{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:13px}.control-inputs{display:flex;align-items:center;gap:10px}.interaction-hint{margin:0;color:var(--text-subtle);font-size:11px}.search-field{display:flex;align-items:center;gap:8px;width:280px;height:38px;padding:0 11px;border:1px solid var(--border);border-radius:6px;background:var(--surface);color:var(--text-subtle)}.search-field input{min-width:0;width:100%;border:0;outline:0;background:transparent;color:var(--text);font-size:13px}.segments{display:flex;gap:3px;padding:3px;border:1px solid var(--border);border-radius:7px;background:var(--surface-muted)}.segments button{padding:6px 10px;border:0;border-radius:4px;background:transparent;color:var(--text-muted);font-size:11px;font-weight:600;cursor:pointer}.segments button.active{background:var(--surface);color:var(--text);box-shadow:var(--shadow-sm)}.table-scroll{overflow-x:auto;border:1px solid var(--border);border-radius:8px;background:var(--surface);box-shadow:var(--shadow-sm);overscroll-behavior-x:contain}table{min-width:850px;width:100%;border-collapse:separate;border-spacing:0;font-size:12px}th,td{border-bottom:1px solid var(--border);white-space:nowrap;text-align:left}thead th{position:sticky;top:0;z-index:2;padding:0;background:var(--surface-muted);color:var(--text-muted);font-weight:600}.group-row th{border-bottom:1px solid var(--border-strong)}.task-group{padding:8px 12px;text-align:center;color:var(--text-subtle);font:500 10px DM Mono,monospace;letter-spacing:.09em;text-transform:uppercase}tbody th,tbody td{padding:12px}tbody tr:nth-child(2n) :is(th,td){background-color:var(--row-alt)}tbody tr:hover :is(th,td){box-shadow:inset 0 0 0 100vmax color-mix(in srgb,var(--primary) 6%,transparent)}tbody tr.selectable-row{cursor:pointer}tbody tr.selectable-row:focus-visible{outline:2px solid var(--primary);outline-offset:-2px}tbody tr.selected :is(th,td){box-shadow:inset 0 0 0 100vmax color-mix(in srgb,var(--primary) 12%,transparent)}tbody tr:last-child :is(th,td){border-bottom:0}.sticky{position:sticky;z-index:1;background:var(--surface)}thead .sticky{z-index:4;background:var(--surface-muted)}.model-column{left:0;min-width:170px}.dimension-column{min-width:130px;max-width:260px;border-left:1px solid var(--border-strong);font-family:DM Mono,monospace}.dimension-column:not(th){overflow:hidden;text-overflow:ellipsis}tbody tr.selected td.dimension-column{overflow:visible;white-space:normal;text-overflow:clip;line-height:1.5}.classifier-column{min-width:155px;max-width:190px;border-right:1px solid var(--border-strong);overflow:hidden;text-overflow:ellipsis}tbody tr.selected td.classifier-column{overflow:visible;white-space:normal;text-overflow:clip;line-height:1.5}.owner{color:var(--text-subtle);font-weight:400}.model-link{color:var(--text);text-decoration:none}.model-link:hover strong{color:var(--primary-strong);text-decoration:underline;text-underline-offset:3px}.external{margin-left:5px;color:var(--text-subtle);font-size:9px}.score-header{min-width:100px}.score-cell{text-align:right;font:500 12px DM Mono,monospace;background-image:linear-gradient(90deg,color-mix(in srgb,var(--primary) 12%,transparent) var(--score),transparent var(--score))}.score-cell.highest{color:var(--primary-strong);font-weight:700;font-synthesis:weight}.score-cell.missing{color:var(--text-subtle);background-image:none}.status-column{min-width:190px;border-left:1px solid var(--border-strong)}.status-cell{border-left:1px solid var(--border-strong)}.status-badge{padding:4px 7px;border:1px solid color-mix(in srgb,var(--accent) 35%,var(--border));border-radius:4px;background:color-mix(in srgb,var(--accent) 8%,var(--surface));color:var(--text-muted);font-size:10px}.empty{padding:28px;color:var(--text-muted);text-align:center}.sort-header{display:flex;align-items:center;justify-content:flex-end;gap:5px;width:100%;min-height:38px;padding-right:8px;box-sizing:border-box}.sort-header.left{justify-content:flex-start}.sort-button{all:unset;display:inline-flex;align-items:center;justify-content:flex-end;gap:5px;flex:1 1 auto;min-width:0;min-height:38px;padding:7px 4px 7px 10px;box-sizing:border-box;cursor:pointer;transition:background .12s,color .12s}.sort-button.left{justify-content:flex-start}.sort-button:hover{background:var(--primary-soft);color:var(--text)}.sort-button:focus-visible{outline:2px solid var(--primary);outline-offset:-2px}.sort-icon{color:var(--text-subtle);font:500 10px DM Mono,monospace;opacity:.45}.sort-icon.active{color:var(--primary);opacity:1}.tip-wrap{position:relative;display:inline-flex}.info-dot{display:inline-grid;place-items:center;width:15px;height:15px;padding:0;border:1px solid var(--border-strong);border-radius:50%;background:var(--surface);color:var(--text-muted);font:700 9px/1 Manrope,sans-serif;cursor:help}.tooltip{position:fixed;z-index:50;top:var(--tip-y);left:var(--tip-x);display:grid;gap:5px;width:250px;padding:11px 12px;border:1px solid var(--border-strong);border-radius:6px;background:var(--text);color:var(--page);box-shadow:0 12px 30px #0000002e;font-size:11px;font-weight:400;line-height:1.45;white-space:normal;transform:translate(-50%)}.tooltip strong{font-size:11px}.table-caption{display:flex;align-items:center;gap:6px;margin:11px 2px 0;color:var(--text-subtle);font-size:11px}.scheme-note{margin:7px 2px 0;color:var(--text-subtle);font-size:11px}.scheme-note>summary{display:flex;align-items:center;gap:6px;cursor:pointer;list-style:none}.scheme-note>summary::-webkit-details-marker{display:none}.scheme-note>summary:after{content:"›";margin-left:2px;transition:transform .12s}.scheme-note[open]>summary:after{transform:rotate(90deg)}.scheme-note>summary:hover{color:var(--text-muted)}.scheme-note>summary:focus-visible{outline:2px solid var(--text);outline-offset:2px;border-radius:3px}.scheme-note>p{margin:8px 0 0;max-width:78ch;line-height:1.55}.scheme-note .scheme-source{color:var(--text-subtle)}.scheme-note code{font-size:10px}.scheme-table{margin:8px 0 0;border-collapse:collapse;font-variant-numeric:tabular-nums}.scheme-table th,.scheme-table td{padding:3px 12px 3px 0;text-align:right;font-weight:400}.scheme-table thead th{color:var(--text-subtle);font-size:10px;text-transform:uppercase;letter-spacing:.05em}.scheme-table tbody th{text-align:left;color:var(--text-muted)}.accuracy-chart{margin-top:28px;padding:22px;border:1px solid var(--border);border-radius:8px;background:var(--surface);box-shadow:var(--shadow-sm)}.model-score-chart{margin:28px 0 0;padding:22px;border:1px solid var(--border);border-radius:8px;background:var(--surface);box-shadow:var(--shadow-sm)}.model-chart-legend{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:5px 14px;max-width:70%;color:var(--text-muted);font-size:10px}.model-chart-legend span{display:inline-flex;align-items:center;gap:5px}.model-chart-legend svg{flex:0 0 auto;overflow:visible}.model-chart-scroll{overflow-x:auto}.model-chart-scroll svg{display:block;min-width:680px;width:100%;height:auto}.task-guide{stroke:var(--border);stroke-width:1;stroke-dasharray:2 4}.model-line{stroke-width:2;stroke-linejoin:round;stroke-linecap:round;opacity:.8}.model-point{stroke:var(--surface);stroke-width:1.5}.model-series{cursor:pointer;outline:0}.model-series.dimmed{opacity:.14}.model-series:is(.highlighted,:hover,:focus-visible) .model-line{stroke-width:3.5;opacity:1}.model-series:is(.highlighted,:hover,:focus-visible) .model-point{stroke-width:2}.model-series:hover,.model-series:focus-visible{opacity:1}.model-hit{stroke:transparent;stroke-width:16;stroke-linejoin:round;stroke-linecap:round;pointer-events:stroke}.model-chart-legend button{display:inline-flex;align-items:center;gap:5px;padding:2px 5px;border:0;border-radius:4px;background:transparent;color:inherit;font-size:10px;line-height:1.3;text-align:left;cursor:pointer}.model-chart-legend button:hover{background:var(--surface-muted)}.model-chart-legend button.dimmed{opacity:.4}.model-chart-legend button.highlighted{background:color-mix(in srgb,var(--primary) 12%,transparent);color:var(--text);font-weight:600}.chart-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:10px}.chart-heading h3{margin:0 0 5px;font-size:20px;font-weight:600;letter-spacing:-.025em}.chart-heading p:not(.eyebrow){margin:0;color:var(--text-muted);font-size:11px}.chart-legend{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px;color:var(--text-muted);font-size:11px}.chart-legend .legend-toggle{display:inline-flex;align-items:center;gap:6px;padding:3px 8px 3px 6px;border:1px solid transparent;border-radius:999px;background:none;color:inherit;font:inherit;line-height:1.4;cursor:pointer;transition:opacity .12s,border-color .12s,background .12s}.chart-legend .legend-toggle:hover{border-color:var(--border);background:var(--surface-muted)}.chart-legend .legend-toggle:focus-visible{outline:2px solid var(--text);outline-offset:1px}.chart-legend .legend-toggle.hidden{opacity:.5;text-decoration:line-through}.chart-legend .legend-toggle.hidden i{background:transparent;box-shadow:inset 0 0 0 1.5px var(--legend-color)}.chart-legend i{width:10px;height:10px;border-radius:2px;background:var(--legend-color)}.bar-selection{display:flex;align-items:baseline;gap:9px;min-height:19px;margin:0 0 8px;color:var(--text-muted);font-size:11px}.bar-selection strong{color:var(--text)}.bar-selection b{color:var(--primary-strong);font:600 12px DM Mono,monospace}.chart-scroll{overflow-x:auto}.chart-scroll svg{display:block;min-width:920px;width:100%;height:auto}.grid-line{stroke:var(--border);stroke-width:1}.axis-tick,.axis-title,.author-label{fill:var(--text-muted);font-family:DM Mono,monospace;font-size:10px}.axis-title{font-size:11px;font-weight:500}.empty-chart{fill:var(--text-muted);font-family:Manrope,sans-serif;font-size:12px}.accuracy-bar{cursor:pointer;opacity:.66;outline:none;stroke:var(--surface);stroke-width:.7;transition:opacity .12s,stroke-width .12s}.accuracy-bar:hover,.accuracy-bar:focus-visible,.accuracy-bar.selected{opacity:1;stroke:var(--text);stroke-width:2.5}.confusion-section{margin-top:18px;padding:22px;border:1px solid var(--border);border-radius:8px;background:var(--surface);box-shadow:var(--shadow-sm)}.matrix-list{display:grid;grid-template-columns:repeat(3,minmax(520px,1fr));gap:18px;overflow-x:auto;padding-bottom:7px}.matrix-card{min-width:0;margin:0;padding:14px;border:1px solid var(--border);border-radius:6px;background:var(--surface-muted)}.matrix-card figcaption{margin-bottom:12px;color:var(--text);font:600 12px DM Mono,monospace}.matrix-scroll{overflow:visible;padding-top:68px}.confusion-grid{display:grid;grid-template-columns:92px repeat(var(--matrix-size),22px);grid-auto-rows:22px;width:max-content;font:500 7px DM Mono,monospace}.corner{display:flex;align-items:end;padding:0 4px 3px 0;color:var(--text-subtle);font-size:7px;line-height:1.2}.column-label{position:relative;left:11px;align-self:end;width:82px;overflow:hidden;color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;transform:rotate(-58deg);transform-origin:left bottom}.row-label{display:flex;align-items:center;padding-right:6px;overflow:hidden;color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap}.column-label.selected-axis,.row-label.selected-axis{color:var(--text);font-weight:700}.matrix-cell{position:relative;display:grid;place-items:center;border:1px solid color-mix(in srgb,var(--surface) 72%,transparent);background:color-mix(in srgb,var(--accent) var(--intensity),var(--surface));color:color-mix(in srgb,var(--text) 82%,transparent);cursor:default}.matrix-cell.diagonal{background:color-mix(in srgb,var(--primary) var(--intensity),var(--surface))}.matrix-cell.selected-row,.matrix-cell.selected-column{z-index:1;border-color:var(--text);border-width:1.5px}.cell-tip{position:absolute;z-index:20;bottom:calc(100% + 5px);left:50%;display:none;width:max-content;max-width:230px;padding:7px 8px;border-radius:4px;background:var(--text);color:var(--page);font:400 9px Manrope,sans-serif;transform:translate(-50%)}.cell-tip strong{display:block;margin-top:2px}.matrix-cell:hover{outline:2px solid var(--text);z-index:10}.matrix-cell:hover .cell-tip{display:block}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:900px){.controls,.control-inputs{align-items:stretch;flex-direction:column}.search-field{width:100%}.segments{overflow-x:auto}.segments button{flex:0 0 auto}.chart-heading{align-items:start;flex-direction:column}.chart-legend{justify-content:flex-start}.model-chart-legend{justify-content:flex-start;max-width:none}.confusion-section{padding:14px}}@media(max-width:640px){main{width:min(100% - 28px,1400px)}.topbar{padding-inline:14px}nav{gap:12px}nav a{display:none}.leaderboard-section{padding-block:36px 52px}.sticky,thead .sticky{position:static}.model-column{min-width:145px}.classifier-column{min-width:230px}}.rep-name{display:inline}.rep-part{color:var(--rep-colour, var(--text))}.rep-join{color:var(--text-subtle);font-weight:500;padding:0 1px}.rep-legend{display:flex;flex-wrap:wrap;gap:4px 14px;align-items:center;margin:0 0 10px;padding:0;list-style:none;font-size:11px;color:var(--text-muted)}.rep-legend li{display:inline-flex;align-items:center;gap:5px}.rep-legend .swatch{width:9px;height:9px;border-radius:2px;background:var(--rep-colour);flex:none}.rep-legend .rep-legend-lead{color:var(--text-subtle)}.segment-count{margin-left:5px;padding:1px 4px;border-radius:999px;background:color-mix(in srgb,var(--text) 10%,transparent);color:var(--text-muted);font-size:10px;font-variant-numeric:tabular-nums}.segments button.active .segment-count{background:color-mix(in srgb,var(--surface) 30%,transparent);color:inherit}
|
|
|
|
|
|
_app/immutable/assets/0.COjZ1-Fz.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
@import"https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700&display=swap";:root{font-family:Manrope,sans-serif;color:#24231f;background:#f7f5ef;font-synthesis:none;--page: #f7f5ef;--surface: #fffef9;--surface-muted: #efede6;--row-alt: #f8f6f0;--text: #24231f;--text-muted: #67645b;--text-subtle: #928e82;--border: #dedbd1;--border-strong: #c6c1b4;--primary: #255c47;--primary-strong: #174532;--primary-soft: #dfece5;--accent: #d86b3c;--shadow-sm: 0 1px 2px rgb(42 39 31 / 5%);--rep-greberta: #0b6bb0;--rep-kainobert: #3b3fb0;--rep-kainoberta: #4a7c1a;--rep-char: #b0500a;--rep-tfidf: #17724a;--rep-syntax: #7642a8;--rep-burrows: #0d707a;--rep-alm: #ad3468;--rep-metre: #7f6210}:root[data-theme=dark]{color-scheme:dark;--page: #161814;--surface: #1d201b;--surface-muted: #272b24;--row-alt: #22251f;--text: #f2f0e9;--text-muted: #b4b1a7;--text-subtle: #89877f;--border: #383c34;--border-strong: #4b5046;--primary: #7fc4a2;--primary-strong: #a6d9bf;--primary-soft: #253d31;--accent: #ef936d;--shadow-sm: none;--rep-greberta: #74b9e8;--rep-kainobert: #9aa0f0;--rep-kainoberta: #a8d46a;--rep-char: #f0a26c;--rep-tfidf: #6fd0a0;--rep-syntax: #c5a4ea;--rep-burrows: #63cbd4;--rep-alm: #f09bc2;--rep-metre: #dcc06e}*{box-sizing:border-box}html{min-height:100%;scroll-behavior:smooth;background:var(--page)}body{margin:0;min-width:320px;min-height:100vh;background:var(--page);color:var(--text)}button,input{font:inherit}a{color:inherit}.topbar{display:flex;align-items:center;justify-content:space-between;min-height:68px;padding:0 max(24px,calc((100vw - 1400px)/2));border-bottom:1px solid var(--border);background:color-mix(in srgb,var(--page) 92%,transparent)}.brand{display:inline-flex;align-items:center;gap:10px;font-weight:700;text-decoration:none;letter-spacing:-.02em}.brand-mark{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--primary);color:var(--page);font:500 16px DM Mono,monospace}nav{display:flex;align-items:center;gap:24px}nav a{color:var(--text-muted);font-size:13px;font-weight:600;text-decoration:none}nav a:hover{color:var(--text)}.theme-toggle{width:34px;height:34px;border:1px solid var(--border);border-radius:50%;background:var(--surface);color:var(--text);cursor:pointer}main{width:min(100% - 48px,1400px);margin:0 auto}.eyebrow{margin:0 0 14px;color:var(--primary);font:500 11px DM Mono,monospace;letter-spacing:.15em;text-transform:uppercase}.leaderboard-section{padding:46px 0 64px}.leaderboard-section+.leaderboard-section{padding-top:0}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:26px}.section-heading h2{margin:0;font-size:clamp(27px,4vw,40px);font-weight:500;letter-spacing:-.045em}.title-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.benchmark-switch button{padding:7px 13px;font-size:12px}.result-count{color:var(--text-subtle);font:500 11px DM Mono,monospace;text-transform:uppercase}.controls{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:13px}.control-inputs{display:flex;align-items:center;gap:10px}.interaction-hint{margin:0;color:var(--text-subtle);font-size:11px}.search-field{display:flex;align-items:center;gap:8px;width:280px;height:38px;padding:0 11px;border:1px solid var(--border);border-radius:6px;background:var(--surface);color:var(--text-subtle)}.search-field input{min-width:0;width:100%;border:0;outline:0;background:transparent;color:var(--text);font-size:13px}.segments{display:flex;gap:3px;padding:3px;border:1px solid var(--border);border-radius:7px;background:var(--surface-muted)}.segments button{padding:6px 10px;border:0;border-radius:4px;background:transparent;color:var(--text-muted);font-size:11px;font-weight:600;cursor:pointer}.segments button.active{background:var(--surface);color:var(--text);box-shadow:var(--shadow-sm)}.table-scroll{overflow-x:auto;border:1px solid var(--border);border-radius:8px;background:var(--surface);box-shadow:var(--shadow-sm);overscroll-behavior-x:contain}table{min-width:850px;width:100%;border-collapse:separate;border-spacing:0;font-size:12px}th,td{border-bottom:1px solid var(--border);white-space:nowrap;text-align:left}thead th{position:sticky;top:0;z-index:2;padding:0;background:var(--surface-muted);color:var(--text-muted);font-weight:600}.group-row th{border-bottom:1px solid var(--border-strong)}.task-group{padding:8px 12px;text-align:center;color:var(--text-subtle);font:500 10px DM Mono,monospace;letter-spacing:.09em;text-transform:uppercase}tbody th,tbody td{padding:12px}tbody tr:nth-child(2n) :is(th,td){background-color:var(--row-alt)}tbody tr:hover :is(th,td){box-shadow:inset 0 0 0 100vmax color-mix(in srgb,var(--primary) 6%,transparent)}tbody tr.selectable-row{cursor:pointer}tbody tr.selectable-row:focus-visible{outline:2px solid var(--primary);outline-offset:-2px}tbody tr.selected :is(th,td){box-shadow:inset 0 0 0 100vmax color-mix(in srgb,var(--primary) 12%,transparent)}tbody tr:last-child :is(th,td){border-bottom:0}.sticky{position:sticky;z-index:1;background:var(--surface)}thead .sticky{z-index:4;background:var(--surface-muted)}.model-column{left:0;min-width:170px}.dimension-column{min-width:130px;max-width:260px;border-left:1px solid var(--border-strong);font-family:DM Mono,monospace}.dimension-column:not(th){overflow:hidden;text-overflow:ellipsis}tbody tr.selected td.dimension-column{overflow:visible;white-space:normal;text-overflow:clip;line-height:1.5}.classifier-column{min-width:155px;max-width:190px;border-right:1px solid var(--border-strong);overflow:hidden;text-overflow:ellipsis}tbody tr.selected td.classifier-column{overflow:visible;white-space:normal;text-overflow:clip;line-height:1.5}.owner{color:var(--text-subtle);font-weight:400}.model-link{color:var(--text);text-decoration:none}.model-link:hover strong{color:var(--primary-strong);text-decoration:underline;text-underline-offset:3px}.external{margin-left:5px;color:var(--text-subtle);font-size:9px}.score-header{min-width:100px}.score-cell{text-align:right;font:500 12px DM Mono,monospace;background-image:linear-gradient(90deg,color-mix(in srgb,var(--primary) 12%,transparent) var(--score),transparent var(--score))}.score-cell.highest{color:var(--primary-strong);font-weight:700;font-synthesis:weight}.score-cell.missing{color:var(--text-subtle);background-image:none}.status-column{min-width:190px;border-left:1px solid var(--border-strong)}.status-cell{border-left:1px solid var(--border-strong)}.status-badge{padding:4px 7px;border:1px solid color-mix(in srgb,var(--accent) 35%,var(--border));border-radius:4px;background:color-mix(in srgb,var(--accent) 8%,var(--surface));color:var(--text-muted);font-size:10px}.empty{padding:28px;color:var(--text-muted);text-align:center}.sort-header{display:flex;align-items:center;justify-content:flex-end;gap:5px;width:100%;min-height:38px;padding-right:8px;box-sizing:border-box}.sort-header.left{justify-content:flex-start}.sort-button{all:unset;display:inline-flex;align-items:center;justify-content:flex-end;gap:5px;flex:1 1 auto;min-width:0;min-height:38px;padding:7px 4px 7px 10px;box-sizing:border-box;cursor:pointer;transition:background .12s,color .12s}.sort-button.left{justify-content:flex-start}.sort-button:hover{background:var(--primary-soft);color:var(--text)}.sort-button:focus-visible{outline:2px solid var(--primary);outline-offset:-2px}.sort-icon{color:var(--text-subtle);font:500 10px DM Mono,monospace;opacity:.45}.sort-icon.active{color:var(--primary);opacity:1}.tip-wrap{position:relative;display:inline-flex}.info-dot{display:inline-grid;place-items:center;width:15px;height:15px;padding:0;border:1px solid var(--border-strong);border-radius:50%;background:var(--surface);color:var(--text-muted);font:700 9px/1 Manrope,sans-serif;cursor:help}.tooltip{position:fixed;z-index:50;top:var(--tip-y);left:var(--tip-x);display:grid;gap:5px;width:250px;padding:11px 12px;border:1px solid var(--border-strong);border-radius:6px;background:var(--text);color:var(--page);box-shadow:0 12px 30px #0000002e;font-size:11px;font-weight:400;line-height:1.45;white-space:normal;transform:translate(-50%)}.tooltip strong{font-size:11px}.table-caption{display:flex;align-items:center;gap:6px;margin:11px 2px 0;color:var(--text-subtle);font-size:11px}.scheme-note{margin:7px 2px 0;color:var(--text-subtle);font-size:11px}.scheme-note>summary{display:flex;align-items:center;gap:6px;cursor:pointer;list-style:none}.scheme-note>summary::-webkit-details-marker{display:none}.scheme-note>summary:after{content:"›";margin-left:2px;transition:transform .12s}.scheme-note[open]>summary:after{transform:rotate(90deg)}.scheme-note>summary:hover{color:var(--text-muted)}.scheme-note>summary:focus-visible{outline:2px solid var(--text);outline-offset:2px;border-radius:3px}.scheme-note>p{margin:8px 0 0;max-width:78ch;line-height:1.55}.scheme-note .scheme-source{color:var(--text-subtle)}.scheme-note code{font-size:10px}.scheme-table{margin:8px 0 0;border-collapse:collapse;font-variant-numeric:tabular-nums}.scheme-table th,.scheme-table td{padding:3px 12px 3px 0;text-align:right;font-weight:400}.scheme-table thead th{color:var(--text-subtle);font-size:10px;text-transform:uppercase;letter-spacing:.05em}.scheme-table tbody th{text-align:left;color:var(--text-muted)}.accuracy-chart{margin-top:28px;padding:22px;border:1px solid var(--border);border-radius:8px;background:var(--surface);box-shadow:var(--shadow-sm)}.model-score-chart{margin:28px 0 0;padding:22px;border:1px solid var(--border);border-radius:8px;background:var(--surface);box-shadow:var(--shadow-sm)}.model-chart-legend{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:5px 14px;max-width:70%;color:var(--text-muted);font-size:10px}.model-chart-legend span{display:inline-flex;align-items:center;gap:5px}.model-chart-legend svg{flex:0 0 auto;overflow:visible}.model-chart-scroll{overflow-x:auto}.model-chart-scroll svg{display:block;min-width:680px;width:100%;height:auto}.task-guide{stroke:var(--border);stroke-width:1;stroke-dasharray:2 4}.model-line{stroke-width:2;stroke-linejoin:round;stroke-linecap:round;opacity:.8}.model-point{stroke:var(--surface);stroke-width:1.5}.model-series{cursor:pointer;outline:0}.model-series.dimmed{opacity:.14}.model-series:is(.highlighted,:hover,:focus-visible) .model-line{stroke-width:3.5;opacity:1}.model-series:is(.highlighted,:hover,:focus-visible) .model-point{stroke-width:2}.model-series:hover,.model-series:focus-visible{opacity:1}.model-hit{stroke:transparent;stroke-width:16;stroke-linejoin:round;stroke-linecap:round;pointer-events:stroke}.model-chart-legend button{display:inline-flex;align-items:center;gap:5px;padding:2px 5px;border:0;border-radius:4px;background:transparent;color:inherit;font-size:10px;line-height:1.3;text-align:left;cursor:pointer}.model-chart-legend button:hover{background:var(--surface-muted)}.model-chart-legend button.dimmed{opacity:.4}.model-chart-legend button.highlighted{background:color-mix(in srgb,var(--primary) 12%,transparent);color:var(--text);font-weight:600}.chart-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:10px}.chart-heading h3{margin:0 0 5px;font-size:20px;font-weight:600;letter-spacing:-.025em}.chart-heading p:not(.eyebrow){margin:0;color:var(--text-muted);font-size:11px}.chart-legend{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px;color:var(--text-muted);font-size:11px}.chart-legend .legend-toggle{display:inline-flex;align-items:center;gap:6px;padding:3px 8px 3px 6px;border:1px solid transparent;border-radius:999px;background:none;color:inherit;font:inherit;line-height:1.4;cursor:pointer;transition:opacity .12s,border-color .12s,background .12s}.chart-legend .legend-toggle:hover{border-color:var(--border);background:var(--surface-muted)}.chart-legend .legend-toggle:focus-visible{outline:2px solid var(--text);outline-offset:1px}.chart-legend .legend-toggle.hidden{opacity:.5;text-decoration:line-through}.chart-legend .legend-toggle.hidden i{background:transparent;box-shadow:inset 0 0 0 1.5px var(--legend-color)}.chart-legend i{width:10px;height:10px;border-radius:2px;background:var(--legend-color)}.bar-selection{display:flex;align-items:baseline;gap:9px;min-height:19px;margin:0 0 8px;color:var(--text-muted);font-size:11px}.bar-selection strong{color:var(--text)}.bar-selection b{color:var(--primary-strong);font:600 12px DM Mono,monospace}.chart-scroll{overflow-x:auto}.chart-scroll svg{display:block;min-width:920px;width:100%;height:auto}.grid-line{stroke:var(--border);stroke-width:1}.axis-tick,.axis-title,.author-label{fill:var(--text-muted);font-family:DM Mono,monospace;font-size:10px}.axis-title{font-size:11px;font-weight:500}.empty-chart{fill:var(--text-muted);font-family:Manrope,sans-serif;font-size:12px}.accuracy-bar{cursor:pointer;opacity:.66;outline:none;stroke:var(--surface);stroke-width:.7;transition:opacity .12s,stroke-width .12s}.accuracy-bar:hover,.accuracy-bar:focus-visible,.accuracy-bar.selected{opacity:1;stroke:var(--text);stroke-width:2.5}.confusion-section{margin-top:18px;padding:22px;border:1px solid var(--border);border-radius:8px;background:var(--surface);box-shadow:var(--shadow-sm)}.matrix-list{display:grid;grid-template-columns:repeat(3,minmax(520px,1fr));gap:18px;overflow-x:auto;padding-bottom:7px}.matrix-card{min-width:0;margin:0;padding:14px;border:1px solid var(--border);border-radius:6px;background:var(--surface-muted)}.matrix-card figcaption{margin-bottom:12px;color:var(--text);font:600 12px DM Mono,monospace}.matrix-scroll{overflow:visible;padding-top:68px}.confusion-grid{display:grid;grid-template-columns:92px repeat(var(--matrix-size),22px);grid-auto-rows:22px;width:max-content;font:500 7px DM Mono,monospace}.corner{display:flex;align-items:end;padding:0 4px 3px 0;color:var(--text-subtle);font-size:7px;line-height:1.2}.column-label{position:relative;left:11px;align-self:end;width:82px;overflow:hidden;color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;transform:rotate(-58deg);transform-origin:left bottom}.row-label{display:flex;align-items:center;padding-right:6px;overflow:hidden;color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap}.column-label.selected-axis,.row-label.selected-axis{color:var(--text);font-weight:700}.matrix-cell{position:relative;display:grid;place-items:center;border:1px solid color-mix(in srgb,var(--surface) 72%,transparent);background:color-mix(in srgb,var(--accent) var(--intensity),var(--surface));color:color-mix(in srgb,var(--text) 82%,transparent);cursor:default}.matrix-cell.diagonal{background:color-mix(in srgb,var(--primary) var(--intensity),var(--surface))}.matrix-cell.selected-row,.matrix-cell.selected-column{z-index:1;border-color:var(--text);border-width:1.5px}.cell-tip{position:absolute;z-index:20;bottom:calc(100% + 5px);left:50%;display:none;width:max-content;max-width:230px;padding:7px 8px;border-radius:4px;background:var(--text);color:var(--page);font:400 9px Manrope,sans-serif;transform:translate(-50%)}.cell-tip strong{display:block;margin-top:2px}.matrix-cell:hover{outline:2px solid var(--text);z-index:10}.matrix-cell:hover .cell-tip{display:block}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:900px){.controls,.control-inputs{align-items:stretch;flex-direction:column}.search-field{width:100%}.segments{overflow-x:auto}.segments button{flex:0 0 auto}.chart-heading{align-items:start;flex-direction:column}.chart-legend{justify-content:flex-start}.model-chart-legend{justify-content:flex-start;max-width:none}.confusion-section{padding:14px}}@media(max-width:640px){main{width:min(100% - 28px,1400px)}.topbar{padding-inline:14px}nav{gap:12px}nav a{display:none}.leaderboard-section{padding-block:36px 52px}.sticky,thead .sticky{position:static}.model-column{min-width:145px}.classifier-column{min-width:230px}}.rep-name{display:inline}.rep-part{color:var(--rep-colour, var(--text))}.rep-join{color:var(--text-subtle);font-weight:500;padding:0 1px}.rep-legend{display:flex;flex-wrap:wrap;gap:4px 14px;align-items:center;margin:0 0 10px;padding:0;list-style:none;font-size:11px;color:var(--text-muted)}.rep-legend li{display:inline-flex;align-items:center;gap:5px}.rep-legend .swatch{width:9px;height:9px;border-radius:2px;background:var(--rep-colour);flex:none}.rep-legend .rep-legend-lead{color:var(--text-subtle)}.segment-count{margin-left:5px;padding:1px 4px;border-radius:999px;background:color-mix(in srgb,var(--text) 10%,transparent);color:var(--text-muted);font-size:10px;font-variant-numeric:tabular-nums}.segments button.active .segment-count{background:color-mix(in srgb,var(--surface) 30%,transparent);color:inherit}
|
_app/immutable/chunks/{7ar41ERE.js → 1Jj3lkh-.js}
RENAMED
|
@@ -1 +1 @@
|
|
| 1 |
-
import{
|
|
|
|
| 1 |
+
import{h as A,a as x,b as Y,E as p,r as M,c as q,e as C,i as R,j as F,am as G,ak as U,ah as $,ag as O,an as L,ao as j,ap as y,aq as z,ar as V,as as Z,g as b,ai as H,s as J,at as K,V as Q,au as W,av as X,aw as w,N as k,ax as m,L as aa}from"./QoSX5tB3.js";import{B as ra}from"./BU129qsK.js";let S=!1;function ea(a){var e=S;try{return S=!1,[a(),S]}finally{S=e}}function ia(a,e,i=!1){var f;A&&(f=F,x());var _=new ra(a),u=i?p:0;function s(r,n){if(A){var d=M(f);if(r!==parseInt(d.substring(1))){var v=q();C(v),_.anchor=v,R(!1),_.ensure(r,n),R(!0);return}}_.ensure(r,n)}Y(()=>{var r=!1;e((n,d=0)=>{r=!0,s(d,n)}),r||s(-1,null)},u)}function P(a,e){return a===e||a?.[y]===e}function sa(a={},e,i,f){var _=G.r,u=L;return U(()=>{var s,r;return $(()=>{s=r,r=[],O(()=>{P(i(...r),a)||(e(a,...r),s&&P(i(...s),a)&&e(null,...s))})}),()=>{let n=u;for(;n!==_&&n.parent!==null&&n.parent.f&j;)n=n.parent;const d=()=>{r&&P(i(...r),a)&&e(null,...r)},v=n.teardown;n.teardown=()=>{d(),v?.()}}}),a}function fa(a,e,i,f){var _=!0,u=(i&W)!==0,s=(i&m)!==0,r=f,n=!0,d=void 0,v=()=>s&&_?(d??=w(f),b(d)):(n&&(n=!1,r=s?O(f):f),r);let l;if(u){var B=y in a||aa in a;l=z(a,e)?.set??(B&&e in a?t=>a[e]=t:void 0)}var c,I=!1;u?[c,I]=ea(()=>a[e]):c=a[e],c===void 0&&f!==void 0&&(c=v(),l&&(V(),l(c)));var o;if(o=()=>{var t=a[e];return t===void 0?v():(n=!0,t)},(i&Z)===0)return o;if(l){var D=a.$$legacy;return(function(t,h){return arguments.length>0?((!h||D||I)&&l(h?o():t),t):o()})}var E=!1,g=((i&X)!==0?w:k)(()=>(E=!1,o()));u&&b(g);var N=L;return(function(t,h){if(arguments.length>0){const T=h?b(g):u?H(t):t;return J(g,T),E=!0,r!==void 0&&(r=T),t}return K&&E||(N.f&Q)!==0?g.v:b(g)})}export{sa as b,ia as i,fa as p};
|
_app/immutable/chunks/BU129qsK.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
import{W as n,a2 as o,X as u,A as d,I as l,G as m,h as p,j as _,a1 as v,K as k}from"./QoSX5tB3.js";class w{anchor;#t=new Map;#s=new Map;#e=new Map;#i=new Set;#a=!0;constructor(t,s=!0){this.anchor=t,this.#a=s}#f=t=>{if(this.#t.has(t)){var s=this.#t.get(t),e=this.#s.get(s);if(e)n(e),this.#i.delete(s);else{var a=this.#e.get(s);a&&(n(a.effect),this.#s.set(s,a.effect),this.#e.delete(s),a.fragment.lastChild.remove(),this.anchor.before(a.fragment),e=a.effect)}for(const[i,f]of this.#t){if(this.#t.delete(i),i===t)break;const h=this.#e.get(f);h&&(o(h.effect),this.#e.delete(f))}for(const[i,f]of this.#s){if(i===s||this.#i.has(i))continue;const h=()=>{if(Array.from(this.#t.values()).includes(i)){var c=document.createDocumentFragment();v(f,c),c.append(d()),this.#e.set(i,{effect:f,fragment:c})}else o(f);this.#i.delete(i),this.#s.delete(i)};this.#a||!e?(this.#i.add(i),u(f,h,!1)):h()}}};#h=t=>{this.#t.delete(t);const s=Array.from(this.#t.values());for(const[e,a]of this.#e)s.includes(e)||(o(a.effect),this.#e.delete(e))};ensure(t,s){var e=m,a=k();if(s&&!this.#s.has(t)&&!this.#e.has(t))if(a){var i=document.createDocumentFragment(),f=d();i.append(f),this.#e.set(t,{effect:l(()=>s(f)),fragment:i})}else this.#s.set(t,l(()=>s(this.anchor)));if(this.#t.set(e,t),a){for(const[h,r]of this.#s)h===t?e.unskip_effect(r):e.skip_effect(r);for(const[h,r]of this.#e)h===t?e.unskip_effect(r.effect):e.skip_effect(r.effect);e.oncommit(this.#f),e.ondiscard(this.#h)}else p&&(this.anchor=_),this.#f(e)}}export{w as B};
|
_app/immutable/chunks/CLflRIDg.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
| 1 |
-
import{ay as te,g as G,ah as re,R as J,ag as se,az as W,X as m,j as p,h as g,an as b,aA as $,b as ie,a as ne,C as ae,aB as j,K as u,z as K,V as C,I as _,$ as fe,aC as he,aD as D,aE as N,aF as z,aG as oe,aH as le,aI as U,am as X,G as ce,a0 as x,e as O,aj as de,c as ue,aJ as R,E as _e,aK as pe,aL as ge,aM as ve,aN as ye,aO as me,d as be,aP as L,B as Ee,D as Q,H as Te,a3 as we,aQ as M,i as S,aR as ke,_ as Re,aS as Se,a1 as Ae,p as De,F as Ne,aT as Oe,o as Fe,aU as q}from"./Dnoir60M.js";import{d as Ce}from"./CTfzyGBz.js";function xe(r){let e=0,t=J(0),n;return()=>{te()&&(G(t),re(()=>(e===0&&(n=se(()=>r(()=>W(t)))),e+=1,()=>{m(()=>{e-=1,e===0&&(n?.(),n=void 0,W(t))})})))}}var He=_e|pe;function Ie(r,e,t,n){new Le(r,e,t,n)}class Le{parent;is_pending=!1;transform_error;#r;#_=g?p:null;#i;#o;#t;#n=null;#e=null;#s=null;#a=null;#l=0;#h=0;#c=!1;#p=new Set;#g=new Set;#f=null;#E=xe(()=>(this.#f=J(this.#l),()=>{this.#f=null}));constructor(e,t,n,i){this.#r=e,this.#i=t,this.#o=s=>{var a=b;a.b=this,a.f|=$,n(s)},this.parent=b.b,this.transform_error=i??this.parent?.transform_error??(s=>s),this.#t=ie(()=>{if(g){const s=this.#_;ne();const a=s.data===ae;if(s.data.startsWith(j)){const c=JSON.parse(s.data.slice(j.length));this.#w(c)}else a?this.#k():this.#T()}else this.#y()},He),g&&(this.#r=p)}#T(){try{this.#n=u(()=>this.#o(this.#r))}catch(e){this.error(e)}}#w(e){const t=this.#i.failed,{reset:n,invoke_onerror:i}=this.#v(e);m(i),t&&(this.#s=u(()=>{t(this.#r,()=>e,()=>n)}))}#v(e){var t=!1,n=!1;const i=()=>{if(t){ge();return}t=!0,n&&ve(),this.#s!==null&&C(this.#s,()=>{this.#s=null}),this.#u(()=>{this.#y()})};return{reset:i,invoke_onerror:()=>{try{n=!0,this.#i.onerror?.(e,i),n=!1}catch(a){R(a,this.#t&&this.#t.parent)}}}}#k(){const e=this.#i.pending;e&&(this.is_pending=!0,this.#e=u(()=>e(this.#r)),m(()=>{var t=this.#a=document.createDocumentFragment(),n=K();t.append(n),this.#n=this.#u(()=>u(()=>this.#o(n))),this.#h===0&&(this.#r.before(t),this.#a=null,C(this.#e,()=>{this.#e=null}),this.#d(_))}))}#y(){try{if(this.is_pending=this.has_pending_snippet(),this.#h=0,this.#l=0,this.#n=u(()=>{this.#o(this.#r)}),this.#h>0){var e=this.#a=document.createDocumentFragment();fe(this.#n,e);const t=this.#i.pending;this.#e=u(()=>t(this.#r))}else this.#d(_)}catch(t){this.error(t)}}#d(e){this.is_pending=!1,e.transfer_effects(this.#p,this.#g)}defer_effect(e){he(e,this.#p,this.#g)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#i.pending}#u(e){var t=b,n=U,i=X;D(this.#t),N(this.#t),z(this.#t.ctx);try{return oe.ensure(),e()}catch(s){return le(s),null}finally{D(t),N(n),z(i)}}#m(e,t){if(!this.has_pending_snippet()){this.parent&&this.parent.#m(e,t);return}this.#h+=e,this.#h===0&&(this.#d(t),this.#e&&C(this.#e,()=>{this.#e=null}),this.#a&&(this.#r.before(this.#a),this.#a=null))}update_pending_count(e,t){this.#m(e,t),this.#l+=e,!(!this.#f||this.#c)&&(this.#c=!0,m(()=>{this.#c=!1,this.#f&&ce(this.#f,this.#l)}))}get_effect_pending(){return this.#E(),G(this.#f)}error(e){if(!this.#i.onerror&&!this.#i.failed)throw e;_?.is_fork?(this.#n&&_.skip_effect(this.#n),this.#e&&_.skip_effect(this.#e),this.#s&&_.skip_effect(this.#s),_.oncommit(()=>{this.#b(e)})):this.#b(e)}#b(e){this.#n&&(x(this.#n),this.#n=null),this.#e&&(x(this.#e),this.#e=null),this.#s&&(x(this.#s),this.#s=null),g&&(O(this.#_),de(),O(ue()));let t=this.#i.failed;const n=i=>{const{reset:s,invoke_onerror:a}=this.#v(i);a(),t&&(this.#s=this.#u(()=>{try{return u(()=>{var l=b;l.b=this,l.f|=$,t(this.#r,()=>i,()=>s)})}catch(l){return R(l,this.#t.parent),null}}))};m(()=>{var i;try{i=this.transform_error(e)}catch(s){R(s,this.#t&&this.#t.parent);return}i!==null&&typeof i=="object"&&typeof i.then=="function"?i.then(n,s=>R(s,this.#t&&this.#t.parent)):n(i)})}}const w=Symbol("events"),Z=new Set,B=new Set;function Me(r,e,t,n={}){function i(s){if(n.capture||P.call(e,s),!s.cancelBubble)return me(()=>t?.call(this,s))}return r.startsWith("pointer")||r.startsWith("touch")||r==="wheel"?m(()=>{e.addEventListener(r,i,n)}):e.addEventListener(r,i,n),i}function $e(r,e,t,n,i){var s={capture:n,passive:i},a=Me(r,e,t,s);(e===document.body||e===window||e===document||e instanceof HTMLMediaElement)&&ye(()=>{e.removeEventListener(r,a,s)})}function je(r,e,t){(e[w]??={})[r]=t}function ze(r){for(var e=0;e<r.length;e++)Z.add(r[e]);for(var t of B)t(r)}let H=null,I=!1;function P(r){var e=this,t=e.ownerDocument,n=r.type,i=r.composedPath?.()||[],s=i[0]||r.target;H=r,I||(I=!0,setTimeout(()=>{I=!1,H=null}));var a=0,l=H===r&&r[w];if(l){var c=i.indexOf(l);if(c!==-1&&(e===document||e===window)){r[w]=e;return}var k=i.indexOf(e);if(k===-1)return;c<=k&&(a=c)}if(s=i[a]||r.target,s!==e){be(r,"currentTarget",{configurable:!0,get(){return s||t}});var v=U,E=b;N(null),D(null);try{for(var d,h=[];s!==null&&s!==e;){try{var o=s[w]?.[n];o!=null&&(!s.disabled||r.target===s)&&o.call(s,r)}catch(f){d?h.push(f):d=f}if(r.cancelBubble)break;a++,s=a<i.length?i[a]:null}if(d){for(let f of h)queueMicrotask(()=>{throw f});throw d}}finally{r[w]=e,delete r.currentTarget,N(v),D(E)}}}const Be=["touchstart","touchmove"];function Pe(r){return Be.includes(r)}function qe(r,e){var t=e==null?"":typeof e=="object"?`${e}`:e;t!==(r[q]??=r.nodeValue)&&(r[q]=t,r.nodeValue=`${t}`)}function Ve(r,e){return ee(r,e)}function Ge(r,e){L(),e.intro=e.intro??!1;const t=e.target,n=g,i=p;try{for(var s=Ee(t);s&&(s.nodeType!==Q||s.data!==Te);)s=we(s);if(!s)throw M;S(!0),O(s);const a=ee(r,{...e,anchor:s});return S(!1),a}catch(a){if(a instanceof Error&&a.message.split(`
|
| 2 |
-
`).some(l=>l.startsWith("https://svelte.dev/e/")))throw a;return a!==M&&console.warn("Failed to hydrate: ",a),e.recover===!1&&ke(),L(),Re(t),S(!1),Ve(r,e)}finally{S(n),O(i)}}const A=new Map;function ee(r,{target:e,anchor:t,props:n={},events:i,context:s,intro:a=!0,transformError:l}){L();var c=void 0,k=Se(()=>{var v=t??e.appendChild(K());Ie(v,{pending:()=>{}},h=>{De({});var o=X;if(s&&(o.c=s),i&&(n.$$events=i),g&&Ce(h,null),c=r(h,n)||{},g&&(b.nodes.end=p,p===null||p.nodeType!==Q||p.data!==Ne))throw Oe(),M;Fe()},l);var E=new Set,d=h=>{for(var o=0;o<h.length;o++){var f=h[o];if(!E.has(f)){E.add(f);var T=Pe(f);for(const F of[e,document]){var y=A.get(F);y===void 0&&(y=new Map,A.set(F,y));var Y=y.get(f);Y===void 0?(F.addEventListener(f,P,{passive:T}),y.set(f,1)):y.set(f,Y+1)}}}};return d(Ae(Z)),B.add(d),()=>{for(var h of E)for(const T of[e,document]){var o=A.get(T),f=o.get(h);--f==0?(T.removeEventListener(h,P),o.delete(h),o.size===0&&A.delete(T)):o.set(h,f)}B.delete(d),v!==t&&v.parentNode?.removeChild(v)}});return V.set(c,k),c}let V=new WeakMap;function Je(r,e){const t=V.get(r);return t?(V.delete(r),t(e)):Promise.resolve()}export{je as a,ze as d,$e as e,Ge as h,Ve as m,qe as s,Je as u};
|
|
|
|
|
|
|
|
|
_app/immutable/chunks/{CGlyOndm.js → CYye4kUT.js}
RENAMED
|
@@ -1 +1 @@
|
|
| 1 |
-
import{k as o,am as t,ag as c}from"./
|
|
|
|
| 1 |
+
import{k as o,am as t,ag as c}from"./QoSX5tB3.js";function f(e){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}function u(e){t===null&&f(),o(()=>{const n=c(e);if(typeof n=="function")return n})}export{u as o};
|
_app/immutable/chunks/{CTfzyGBz.js → DNDc8P0N.js}
RENAMED
|
@@ -1 +1 @@
|
|
| 1 |
-
import{aV as w,
|
|
|
|
| 1 |
+
import{aV as w,A as m,an as v,z as o,aW as E,aX as p,aY as y,h as l,j as i,aZ as N,a as A,a_ as M,e as x,a$ as C}from"./QoSX5tB3.js";const L=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:e=>e});function b(e){return L?.createHTML(e)??e}function h(e){var a=w("template");return a.innerHTML=b(e.replaceAll("<!>","<!---->")),a.content}function n(e,a){var r=v;r.nodes===null&&(r.nodes={start:e,end:a,a:null,t:null})}function D(e,a){var r=(a&p)!==0,f=(a&y)!==0,s,_=!e.startsWith("<!>");return()=>{if(l)return n(i,null),i;s===void 0&&(s=h(_?e:"<!>"+e),r||(s=o(s)));var t=f||E?document.importNode(s,!0):s.cloneNode(!0);if(r){var c=o(t),d=t.lastChild;n(c,d)}else n(t,t);return t}}function O(e,a,r="svg"){var f=!e.startsWith("<!>"),s=(a&p)!==0,_=`<${r}>${f?e:"<!>"+e}</${r}>`,t;return()=>{if(l)return n(i,null),i;if(!t){var c=h(_),d=o(c);if(s)for(t=document.createDocumentFragment();o(d);)t.appendChild(o(d));else t=o(d)}var u=t.cloneNode(!0);if(s){var T=o(u),g=u.lastChild;n(T,g)}else n(u,u);return u}}function I(e,a){return O(e,a,"svg")}function $(e=""){if(!l){var a=m(e+"");return n(a,a),a}var r=i;return r.nodeType!==M?(r.before(r=m()),x(r)):C(r),n(r,r),r}function F(){if(l)return n(i,null),i;var e=document.createDocumentFragment(),a=document.createComment(""),r=m();return e.append(a,r),n(a,r),e}function H(e,a){if(l){var r=v;((r.f&N)===0||r.nodes.end===null)&&(r.nodes.end=i),A();return}e!==null&&e.before(a)}const P="5";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add(P);export{H as a,I as b,F as c,n as d,D as f,$ as t};
|
_app/immutable/chunks/{Dnoir60M.js → QoSX5tB3.js}
RENAMED
|
@@ -1 +1 @@
|
|
| 1 |
-
const hn=32;const pn=128;const Tn=8192,Rn=16384,Cn=32768,An=33554432,Dn=65536;const Nn=262144,Fn=524288;const wn=33554432;const ve=Symbol("$state"),yn=Symbol("legacy props"),In=Symbol(""),Ct=Symbol("attributes"),At=Symbol("class"),Dt=Symbol("style"),Nt=Symbol("text"),re=Symbol("form reset"),ee=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},gn=!!globalThis.document?.contentType&&globalThis.document.contentType.includes("xml"),_e=3,Ue=8,Ke=!1;var Ft=Array.isArray,wt=Array.prototype.indexOf,le=Array.prototype.includes,mn=Array.from,Sn=Object.defineProperty,Z=Object.getOwnPropertyDescriptor,bn=Object.getOwnPropertyDescriptors,yt=Object.prototype,It=Array.prototype,Ot=Object.getPrototypeOf,Le=Object.isExtensible;const gt=()=>{};function mt(e){for(var t=0;t<e.length;t++)e[t]()}function je(){var e,t,n=new Promise((r,s)=>{e=r,t=s});return{promise:n,resolve:e,reject:t}}function Ge(e){return e===this.v}function St(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function qe(e){return!St(e,this.v)}function bt(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Yn(e,t,n){throw new Error("https://svelte.dev/e/each_key_duplicate")}function Yt(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Lt(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function xt(e){throw new Error("https://svelte.dev/e/effect_orphan")}function kt(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Ln(){throw new Error("https://svelte.dev/e/hydration_failed")}function xn(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function Mt(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Pt(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Bt(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function kn(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}let Vt=!1;const Mn=1,Pn=2,Bn=4,Vn=8,Hn=16,Un=1,Kn=4,jn=8,Gn=16,qn=1,Wn=2,Ht="[",Ut="[!",zn="[?",Kt="]",De={},R=Symbol("uninitialized"),Xn="http://www.w3.org/1999/xhtml";let F=null;function ae(e){F=e}function $n(e,t=!1,n){F={p:F,i:!1,c:null,e:null,s:e,x:null,r:h,l:null}}function Zn(e){var t=F,n=t.e;if(n!==null){t.e=null;for(var r of n)dt(r)}return t.i=!0,F=t.p,{}}function We(){return!0}let P=[];function ze(){var e=P;P=[],mt(e)}function xe(e){if(P.length===0&&!J){var t=P;queueMicrotask(()=>{t===P&&ze()})}P.push(e)}function jt(){for(;P.length>0;)ze()}function Gt(){console.warn("https://svelte.dev/e/derived_inert")}function Ne(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function Jn(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let H=!1;function Qn(e){H=e}let A;function G(e){if(e===null)throw Ne(),De;return A=e}function er(){return G(k(A))}function tr(e){if(H){if(k(A)!==null)throw Ne(),De;A=e}}function nr(e=1){if(H){for(var t=e,n=A;t--;)n=k(n);A=n}}function rr(e=!0){for(var t=0,n=A;;){if(n.nodeType===Ue){var r=n.data;if(r===Kt){if(t===0)return n;t-=1}else(r===Ht||r===Ut||r[0]==="["&&!isNaN(Number(r.slice(1))))&&(t+=1)}var s=k(n);e&&n.remove(),n=s}}function sr(e){if(!e||e.nodeType!==Ue)throw Ne(),De;return e.data}function z(e){if(typeof e!="object"||e===null||ve in e)return e;const t=Ot(e);if(t!==yt&&t!==It)return e;var n=new Map,r=Ft(e),s=b(0),i=V,u=a=>{if(V===i)return a();var l=d,f=V;x(null),He(i);var _=a();return x(l),He(f),_};return r&&n.set("length",b(e.length)),new Proxy(e,{defineProperty(a,l,f){(!("value"in f)||f.configurable===!1||f.enumerable===!1||f.writable===!1)&&Mt();var _=n.get(l);return _===void 0?u(()=>{var o=b(f.value);return n.set(l,o),o}):M(_,f.value,!0),!0},deleteProperty(a,l){var f=n.get(l);if(f===void 0){if(l in a){const _=u(()=>b(R));n.set(l,_),pe(s)}}else M(f,R),pe(s);return!0},get(a,l,f){if(l===ve)return e;var _=n.get(l),o=l in a;if(_===void 0&&(!o||Z(a,l)?.writable)&&(_=u(()=>{var E=z(o?a[l]:R),v=b(E);return v}),n.set(l,_)),_!==void 0){var c=$(_);return c===R?void 0:c}return Reflect.get(a,l,f)},getOwnPropertyDescriptor(a,l){var f=Reflect.getOwnPropertyDescriptor(a,l);if(f&&"value"in f){var _=n.get(l);_&&(f.value=$(_))}else if(f===void 0){var o=n.get(l),c=o?.v;if(o!==void 0&&c!==R)return{enumerable:!0,configurable:!0,value:c,writable:!0}}return f},has(a,l){if(l===ve)return!0;var f=n.get(l),_=f!==void 0&&f.v!==R||Reflect.has(a,l);if(f!==void 0||h!==null&&(!_||Z(a,l)?.writable)){f===void 0&&(f=u(()=>{var c=_?z(a[l]):R,E=b(c);return E}),n.set(l,f));var o=$(f);if(o===R)return!1}return _},set(a,l,f,_){var o=n.get(l),c=l in a;if(r&&l==="length")for(var E=f;E<o.v;E+=1){var v=n.get(E+"");v!==void 0?M(v,R):E in a&&(v=u(()=>b(R)),n.set(E+"",v))}if(o===void 0)(!c||Z(a,l)?.writable)&&(o=u(()=>b(void 0)),M(o,z(f)),n.set(l,o));else{c=o.v!==R;var m=u(()=>z(f));M(o,m)}var be=Reflect.getOwnPropertyDescriptor(a,l);if(be?.set&&be.set.call(_,f),!c){if(r&&typeof l=="string"){var Ye=n.get("length"),Ee=Number(l);Number.isInteger(Ee)&&Ee>=Ye.v&&M(Ye,Ee+1)}pe(s)}return!0},ownKeys(a){$(s);var l=Reflect.ownKeys(a).filter(o=>{var c=n.get(o);return c===void 0||c.v!==R});for(var[f,_]of n)_.v!==R&&!(f in a)&&l.push(f);return l},setPrototypeOf(){Pt()}})}var ke,qt,Wt,Xe,$e;function ir(){if(ke===void 0){ke=window,qt=document,Wt=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;Xe=Z(t,"firstChild").get,$e=Z(t,"nextSibling").get,Le(e)&&(e[At]=void 0,e[Ct]=null,e[Dt]=void 0,e.__e=void 0),Le(n)&&(n[Nt]=void 0)}}function fe(e=""){return document.createTextNode(e)}function Te(e){return Xe.call(e)}function k(e){return $e.call(e)}function lr(e,t){if(!H)return Te(e);var n=Te(A);if(n===null)n=A.appendChild(fe());else if(t&&n.nodeType!==_e){var r=fe();return n?.before(r),G(r),r}return t&&Fe(n),G(n),n}function ar(e,t=!1){if(!H){var n=Te(e);return n instanceof Comment&&n.data===""?k(n):n}if(t){if(A?.nodeType!==_e){var r=fe();return A?.before(r),G(r),r}Fe(A)}return A}function fr(e,t=1,n=!1){let r=H?A:e;for(var s;t--;)s=r,r=k(r);if(!H)return r;if(n){if(r?.nodeType!==_e){var i=fe();return r===null?s?.after(i):r.before(i),G(i),i}Fe(r)}return G(r),r}function ur(e){e.textContent=""}function or(){return!1}function cr(e,t,n){return n?document.createElement(e,{is:n}):document.createElement(e)}function Fe(e){if(e.nodeValue.length<65536)return;let t=e.nextSibling;for(;t!==null&&t.nodeType===_e;)t.remove(),e.nodeValue+=t.nodeValue,t=e.nextSibling}function zt(e){var t=h;if(t===null)return d.f|=8388608,e;if((t.f&32768)===0&&(t.f&4)===0)throw e;ue(e,t)}function ue(e,t){if(!(t!==null&&(t.f&16384)!==0)){for(;t!==null;){if((t.f&128)!==0){if((t.f&32768)===0)throw e;try{t.b.error(e);return}catch(n){e=n}}t=t.parent}throw e}}const Xt=-7169;function T(e,t){e.f=e.f&Xt|t}function we(e){(e.f&512)!==0||e.deps===null?T(e,1024):T(e,4096)}function Ze(e){if(e!==null)for(const t of e)(t.f&2)===0||(t.f&65536)===0||(t.f^=65536,Ze(t.deps))}function $t(e,t,n){(e.f&2048)!==0?t.add(e):(e.f&4096)!==0&&n.add(e),Ze(e.deps),T(e,1024)}let Me=!1;function Zt(){Me||(Me=!0,document.addEventListener("reset",e=>{Promise.resolve().then(()=>{if(!e.defaultPrevented)for(const t of e.target.elements)t[re]?.()})},{capture:!0}))}function te(e){var t=d,n=h;x(null),q(null);try{return e()}finally{x(t),q(n)}}function _r(e,t,n,r=n){e.addEventListener(t,()=>te(n));const s=e[re];s?e[re]=()=>{s(),r(!0)}:e[re]=()=>r(!0),Zt()}function Jt(e,t,n,r){const s=ye;var i=e.filter(E=>!E.settled),u=t.map(s);if(n.length===0&&i.length===0){r(u);return}var a=h,l=Qt(),f=i.length===1?i[0].promise:i.length>1?Promise.all(i.map(E=>E.promise)):null;function _(E){if((a.f&16384)===0){l();try{r([...u,...E])}catch(v){ue(v,a)}oe()}}var o=Je();if(n.length===0){f.then(()=>_([])).finally(o);return}function c(){Promise.all(n.map(E=>en(E))).then(_).catch(E=>ue(E,a)).finally(o)}f?f.then(()=>{l(),c(),oe()}):c()}function Qt(){var e=h,t=d,n=F,r=p;return function(i=!0){q(e),x(t),ae(n),i&&(e.f&16384)===0&&(r?.activate(),r?.apply())}}function oe(e=!0){q(null),x(null),ae(null),e&&p?.deactivate()}function Je(){var e=h,t=e.b,n=p,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 ye(e){var t=2050;return h!==null&&(h.f|=524288),{ctx:F,deps:null,effects:null,equals:Ge,f:t,fn:e,reactions:null,rv:0,v:R,wv:0,parent:h,ac:null}}const X=Symbol("obsolete");function en(e,t,n){let r=h;r===null&&bt();var s=void 0,i=me(R),u=!d,a=new Set;return _n(()=>{var l=h,f=je();s=f.promise;try{Promise.resolve(e()).then(f.resolve,E=>{E!==ee&&f.reject(E)}).finally(oe)}catch(E){f.reject(E),oe()}var _=p;if(u){if((l.f&32768)!==0)var o=Je();if(r.b?.is_rendered())_.async_deriveds.get(l)?.reject(X);else for(const E of a.values())E.reject(X);a.add(f),_.async_deriveds.set(l,f)}const c=(E,v=void 0)=>{o?.(),a.delete(f),v!==X&&(_.activate(),v?(i.f|=8388608,Ae(i,v)):((i.f&8388608)!==0&&(i.f^=8388608),Ae(i,E)),_.deactivate())};f.promise.then(c,E=>c(null,E||"unknown"))}),cn(()=>{for(const l of a)l.reject(X)}),new Promise(l=>{function f(_){function o(){_===s?l(i):f(s)}_.then(o,o)}f(s)})}function Er(e){const t=ye(e);return lt(t),t}function vr(e){const t=ye(e);return t.equals=qe,t}function tn(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)U(t[n])}}function Ie(e){var t,n=h,r=e.parent;if(!L&&r!==null&&e.v!==R&&(r.f&24576)!==0)return Gt(),e.v;q(r);try{e.f&=-65537,tn(e),t=ot(e)}finally{q(n)}return t}function Qe(e){var t=Ie(e);if(!e.equals(t)&&(e.wv=ft(),(!p?.is_fork||e.deps===null)&&(p!==null?(p.capture(e,t,!0),Re?.capture(e,t,!0)):e.v=t,e.deps===null))){T(e,1024);return}L||(w!==null?(vt()||p?.is_fork)&&w.set(e,t):we(e))}function nn(e){if(e.effects!==null)for(const t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac!==null&&te(()=>{t.ac.abort(ee),t.ac=null}),t.fn!==null&&(t.teardown=gt),Q(t,0),Se(t))}function et(e){if(e.effects!==null)for(const t of e.effects)t.teardown&&t.fn!==null&&W(t)}let de=null,K=null,p=null,Re=null,w=null,Ce=null,J=!1,he=!1,j=null,se=null;var Pe=0;let rn=1;class Y{id=rn++;#c=!1;linked=!0;#i=null;#a=null;async_deriveds=new Map;current=new Map;previous=new Map;#_=new Set;#E=new Set;#v=0;#r=new Map;#d=null;#e=[];#p=[];#s=new Set;#t=new Set;#n=new Map;#h=new Set;is_fork=!1;#f=!1;constructor(){K===null?de=K=this:(K.#a=this,this.#i=K),K=this}#T(){if(this.is_fork)return!0;for(const r of this.#r.keys()){for(var t=r,n=!1;t.parent!==null;){if(this.#n.has(t)){n=!0;break}t=t.parent}if(!n)return!0}return!1}skip_effect(t){this.#n.has(t)||this.#n.set(t,{d:[],m:[]}),this.#h.delete(t)}unskip_effect(t,n=r=>this.schedule(r)){var r=this.#n.get(t);if(r){this.#n.delete(t);for(var s of r.d)T(s,2048),n(s);for(s of r.m)T(s,4096),n(s)}this.#h.add(t)}#u(){this.#c=!0,Pe++>1e3&&(this.#o(),ln());for(const l of this.#s)this.#t.delete(l),T(l,2048),this.schedule(l);for(const l of this.#t)T(l,4096),this.schedule(l);const t=this.#e;this.#e=[],this.apply();var n=j=[],r=[],s=se=[];for(const l of t)try{this.#R(l,n,r)}catch(f){throw rt(l),this.#T()||this.discard(),f}if(p=null,s.length>0){var i=Y.ensure();for(const l of s)i.schedule(l)}if(j=null,se=null,this.#T()){this.#l(r),this.#l(n);for(const[l,f]of this.#n)nt(l,f);s.length>0&&p.#u();return}const u=this.#C();if(u){this.#l(r),this.#l(n),u.#A(this);return}this.#s.clear(),this.#t.clear();for(const l of this.#_)l(this);this.#_.clear(),Re=this,Be(r),Be(n),Re=null,this.#d?.resolve();var a=p;if(this.#v===0&&(this.#e.length===0||a!==null)&&this.#o(),this.#e.length>0)if(a!==null){const l=a;l.#e.push(...this.#e.filter(f=>!l.#e.includes(f)))}else a=this;a!==null&&(I.clear(),a.#u())}#R(t,n,r){t.f^=1024;for(var s=t.first;s!==null;){var i=s.f,u=(i&96)!==0,a=u&&(i&1024)!==0,l=a||(i&8192)!==0||this.#n.has(s);if(!l&&s.fn!==null){u?s.f^=1024:(i&4)!==0?n.push(s):ne(s)&&((i&16)!==0&&this.#t.add(s),W(s));var f=s.first;if(f!==null){s=f;continue}}for(;s!==null;){var _=s.next;if(_!==null){s=_;break}s=s.parent}}}#C(){for(var t=this.#i;t!==null;){if(!t.is_fork){for(const[n,[,r]]of this.current)if(t.current.has(n)&&!r)return t}t=t.#i}return null}#A(t){for(const[r,s]of t.current)!this.previous.has(r)&&t.previous.has(r)&&this.previous.set(r,t.previous.get(r)),this.current.set(r,s);for(const[r,s]of t.async_deriveds){const i=this.async_deriveds.get(r);i&&s.promise.then(i.resolve).catch(i.reject)}t.async_deriveds.clear(),this.transfer_effects(t.#s,t.#t);const n=r=>{var s=r.reactions;if(s!==null&&!((r.f&2)!==0&&(r.f&6144)===0))for(const a of s){var i=a.f;if((i&2)!==0)n(a);else{var u=a;i&4194320&&!this.async_deriveds.has(u)&&(this.#t.delete(u),T(u,2048),this.schedule(u))}}};for(const r of this.current.keys())n(r);this.oncommit(()=>t.discard()),t.#o(),p=this,this.#u()}#l(t){for(var n=0;n<t.length;n+=1)$t(t[n],this.#s,this.#t)}capture(t,n,r=!1){t.v!==R&&!this.previous.has(t)&&this.previous.set(t,t.v),(t.f&8388608)===0&&(this.current.set(t,[n,r]),w?.set(t,n)),this.is_fork||(t.v=n)}activate(){p=this}deactivate(){p=null,w=null}flush(){try{he=!0,p=this,this.#u()}finally{Pe=0,Ce=null,j=null,se=null,he=!1,p=null,w=null,I.clear()}}discard(){for(const t of this.#E)t(this);this.#E.clear();for(const t of this.async_deriveds.values())t.reject(X);this.#o(),this.#d?.resolve()}register_created_effect(t){this.#p.push(t)}#D(){for(let o=de;o!==null;o=o.#a){var t=o.id<this.id,n=[];for(const[c,[E,v]]of this.current){if(o.current.has(c)){var r=o.current.get(c)[0];if(t&&E!==r)o.current.set(c,[E,v]);else continue}n.push(c)}if(t)for(const[c,E]of this.async_deriveds){const v=o.async_deriveds.get(c);v&&E.promise.then(v.resolve).catch(v.reject)}var s=[...o.current.keys()].filter(c=>!o.current.get(c)[1]);if(!(!o.#c||s.length===0)){var i=s.filter(c=>!this.current.has(c));if(i.length===0)t&&o.discard();else if(n.length>0){if(t)for(const c of this.#h)o.unskip_effect(c,E=>{(E.f&4194320)!==0?o.schedule(E):o.#l([E])});o.activate();var u=new Set,a=new Map;for(var l of n)tt(l,i,u,a);a=new Map;var f=[...o.current].filter(([c,E])=>{const v=this.current.get(c);return v?v[0]!==E[0]||v[1]!==E[1]:!0}).map(([c])=>c);if(f.length>0)for(const c of this.#p)(c.f&155648)===0&&Oe(c,f,a)&&((c.f&4194320)!==0?(T(c,2048),o.schedule(c)):o.#s.add(c));if(o.#e.length>0&&!o.#f){o.apply();for(var _ of o.#e)o.#R(_,[],[]);o.#e=[]}o.deactivate()}}}}increment(t,n){if(this.#v+=1,t){let r=this.#r.get(n)??0;this.#r.set(n,r+1)}}decrement(t,n){if(this.#v-=1,t){let r=this.#r.get(n)??0;r===1?this.#r.delete(n):this.#r.set(n,r-1)}this.#f||(this.#f=!0,xe(()=>{this.#f=!1,this.linked&&this.flush()}))}transfer_effects(t,n){for(const r of t)this.#s.add(r);for(const r of n)this.#t.add(r);t.clear(),n.clear()}oncommit(t){this.#_.add(t)}ondiscard(t){this.#E.add(t)}settled(){return(this.#d??=je()).promise}static ensure(){if(p===null){const t=p=new Y;!he&&!J&&xe(()=>{t.#c||t.flush()})}return p}apply(){{w=null;return}}schedule(t){if(Ce=t,t.b?.is_pending&&(t.f&16777228)!==0&&(t.f&32768)===0){t.b.defer_effect(t);return}for(var n=t;n.parent!==null;){n=n.parent;var r=n.f;if(j!==null&&n===h&&(d===null||(d.f&2)===0))return;if((r&96)!==0){if((r&1024)===0)return;n.f^=1024}}this.#e.push(n)}#o(){if(this.linked){var t=this.#i,n=this.#a;t===null?de=n:t.#a=n,n===null?K=t:n.#i=t,this.linked=!1}}}function sn(e){var t=J;J=!0;try{for(var n;;){if(jt(),p===null)return n;p.flush()}}finally{J=t}}function ln(){try{kt()}catch(e){ue(e,Ce)}}let S=null;function Be(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&24576)===0&&ne(r)&&(S=new Set,W(r),r.deps===null&&r.first===null&&r.nodes===null&&r.teardown===null&&r.ac===null&&pt(r),S?.size>0)){I.clear();for(const s of S){if((s.f&24576)!==0)continue;const i=[s];let u=s.parent;for(;u!==null;)S.has(u)&&(S.delete(u),i.push(u)),u=u.parent;for(let a=i.length-1;a>=0;a--){const l=i[a];(l.f&24576)===0&&W(l)}}S.clear()}}S=null}}function tt(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(const s of e.reactions){const i=s.f;(i&2)!==0?tt(s,t,n,r):(i&4194320)!==0&&(i&2048)===0&&Oe(s,t,r)&&(T(s,2048),ge(s))}}function Oe(e,t,n){const r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(const s of e.deps){if(le.call(t,s))return!0;if((s.f&2)!==0&&Oe(s,t,n))return n.set(s,!0),!0}return n.set(e,!1),!1}function ge(e){p.schedule(e)}function nt(e,t){if(!((e.f&32)!==0&&(e.f&1024)!==0)){(e.f&2048)!==0?t.d.push(e):(e.f&4096)!==0&&t.m.push(e),T(e,1024);for(var n=e.first;n!==null;)nt(n,t),n=n.next}}function rt(e){T(e,1024);for(var t=e.first;t!==null;)rt(t),t=t.next}let ce=new Set;const I=new Map;let st=!1;function me(e,t){var n={f:0,v:e,reactions:null,equals:Ge,rv:0,wv:0};return n}function b(e,t){const n=me(e);return lt(n),n}function dr(e,t=!1,n=!0){const r=me(e);return t||(r.equals=qe),r}function M(e,t,n=!1){d!==null&&(!y||(d.f&131072)!==0)&&We()&&(d.f&4325394)!==0&&(O===null||!O.has(e))&&Bt();let r=n?z(t):t;return Ae(e,r,se)}function Ae(e,t,n=null){if(!e.equals(t)){L?I.set(e,t):I.has(e)||I.set(e,e.v);var r=Y.ensure();if(r.capture(e,t),(e.f&2)!==0){const s=e;(e.f&2048)!==0&&Ie(s),w===null&&we(s)}e.wv=ft(),it(e,2048,n),h!==null&&(h.f&1024)!==0&&(h.f&96)===0&&(N===null?fn([e]):N.push(e)),!r.is_fork&&ce.size>0&&!st&&an()}return t}function an(){st=!1;for(const e of ce){(e.f&1024)!==0&&T(e,4096);let t;try{t=ne(e)}catch{t=!0}t&&W(e)}ce.clear()}function pe(e){M(e,e.v+1)}function it(e,t,n){var r=e.reactions;if(r!==null)for(var s=r.length,i=0;i<s;i++){var u=r[i],a=u.f,l=(a&2048)===0;if(l&&T(u,t),(a&131072)!==0)ce.add(u);else if((a&2)!==0){var f=u;w?.delete(f),(a&65536)===0&&(a&512&&(h===null||(h.f&2097152)===0)&&(u.f|=65536),it(f,4096,n))}else if(l){var _=u;(a&16)!==0&&S!==null&&S.add(_),n!==null?n.push(_):ge(_)}}}let ie=!1,L=!1;function Ve(e){L=e}let d=null,y=!1;function x(e){d=e}let h=null;function q(e){h=e}let O=null;function lt(e){d!==null&&(O??=new Set).add(e)}let C=null,D=0,N=null;function fn(e){N=e}let at=1,B=0,V=B;function He(e){V=e}function ft(){return++at}function ne(e){var t=e.f;if((t&2048)!==0)return!0;if(t&2&&(e.f&=-65537),(t&4096)!==0){for(var n=e.deps,r=n.length,s=0;s<r;s++){var i=n[s];if(ne(i)&&Qe(i),i.wv>e.wv)return!0}(t&512)!==0&&w===null&&T(e,1024)}return!1}function ut(e,t,n=!0){var r=e.reactions;if(r!==null&&!(O!==null&&O.has(e)))for(var s=0;s<r.length;s++){var i=r[s];(i.f&2)!==0?ut(i,t,!1):t===i&&(n?T(i,2048):(i.f&1024)!==0&&T(i,4096),ge(i))}}function ot(e){var t=C,n=D,r=N,s=d,i=O,u=F,a=y,l=V,f=e.f;C=null,D=0,N=null,d=(f&96)===0?e:null,O=null,ae(e.ctx),y=!1,V=++B,e.ac!==null&&(te(()=>{e.ac.abort(ee)}),e.ac=null);try{e.f|=2097152;var _=e.fn,o=_();e.f|=32768;var c=e.deps,E=p?.is_fork;if(C!==null){var v;if(E||Q(e,D),c!==null&&D>0)for(c.length=D+C.length,v=0;v<C.length;v++)c[D+v]=C[v];else e.deps=c=C;if(vt()&&(e.f&512)!==0)for(v=D;v<c.length;v++)(c[v].reactions??=[]).push(e)}else!E&&c!==null&&D<c.length&&(Q(e,D),c.length=D);if(We()&&N!==null&&!y&&c!==null&&(e.f&6146)===0)for(v=0;v<N.length;v++)ut(N[v],e);if(s!==null&&s!==e){if(B++,s.deps!==null)for(let m=0;m<n;m+=1)s.deps[m].rv=B;if(t!==null)for(const m of t)m.rv=B;N!==null&&(r===null?r=N:r.push(...N))}return(e.f&8388608)!==0&&(e.f^=8388608),o}catch(m){return zt(m)}finally{e.f^=2097152,C=t,D=n,N=r,d=s,O=i,ae(u),y=a,V=l}}function un(e,t){let n=t.reactions;if(n!==null){var r=wt.call(n,e);if(r!==-1){var s=n.length-1;s===0?n=t.reactions=null:(n[r]=n[s],n.pop())}}if(n===null&&(t.f&2)!==0&&(C===null||!le.call(C,t))){var i=t;(i.f&512)!==0&&(i.f^=512,i.f&=-65537),i.v!==R&&we(i),i.ac!==null&&te(()=>{i.ac.abort(ee),i.ac=null,T(i,2048)}),nn(i),Q(i,0)}}function Q(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)un(e,n[r])}function W(e){var t=e.f;if((t&16384)===0){T(e,1024);var n=h,r=ie;h=e,ie=(t&96)===0;try{(t&16777232)!==0?En(e):Se(e),ht(e);var s=ot(e);e.teardown=typeof s=="function"?s:null,e.wv=at;var i;Ke&&Vt&&(e.f&2048)!==0&&e.deps}finally{ie=r,h=n}}}async function hr(){await Promise.resolve(),sn()}function pr(){return Y.ensure().settled()}function $(e){var t=e.f,n=(t&2)!==0;if(d!==null&&!y){var r=h!==null&&(h.f&16384)!==0;if(!r&&(O===null||!O.has(e))){var s=d.deps;if((d.f&2097152)!==0)e.rv<B&&(e.rv=B,C===null&&s!==null&&s[D]===e?D++:C===null?C=[e]:C.push(e));else{d.deps??=[],le.call(d.deps,e)||d.deps.push(e);var i=e.reactions;i===null?e.reactions=[d]:le.call(i,d)||i.push(d)}}}if(L&&I.has(e))return I.get(e);if(n){var u=e;if(L){var a=u.v;return((u.f&1024)===0&&u.reactions!==null||_t(u))&&(a=Ie(u)),I.set(u,a),a}var l=(u.f&512)===0&&!y&&d!==null&&(ie||(d.f&512)!==0),f=(u.f&32768)===0;ne(u)&&(l&&(u.f|=512),Qe(u)),l&&!f&&(et(u),ct(u))}if(w?.has(e))return w.get(e);if((e.f&8388608)!==0)throw e.v;return e.v}function ct(e){if(e.f|=512,e.deps!==null)for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&2)!==0&&(t.f&512)===0&&(et(t),ct(t))}function _t(e){if(e.v===R)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(I.has(t)||(t.f&2)!==0&&_t(t))return!0;return!1}function Tr(e){var t=y;try{return y=!0,e()}finally{y=t}}function Et(e){h===null&&(d===null&&xt(),Lt()),L&&Yt()}function on(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function g(e,t){var n=h;n!==null&&(n.f&8192)!==0&&(e|=8192);var r={ctx:F,deps:null,nodes:null,f:e|2048|512,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,wv:0,ac:null};p?.register_created_effect(r);var s=r;if((e&4)!==0)j!==null?j.push(r):Y.ensure().schedule(r);else if(t!==null){try{W(r)}catch(u){throw U(r),u}s.deps===null&&s.teardown===null&&s.nodes===null&&s.first===s.last&&(s.f&524288)===0&&(s=s.first,(e&16)!==0&&(e&65536)!==0&&s!==null&&(s.f|=65536))}if(s!==null&&(s.parent=n,n!==null&&on(s,n),d!==null&&(d.f&2)!==0&&(e&64)===0)){var i=d;(i.effects??=[]).push(s)}return r}function vt(){return d!==null&&!y}function cn(e){const t=g(8,null);return T(t,1024),t.teardown=e,t}function Rr(e){Et();var t=h.f,n=!d&&(t&32)!==0&&F!==null&&!F.i;if(n){var r=F;(r.e??=[]).push(e)}else return dt(e)}function dt(e){return g(1048580,e)}function Cr(e){return Et(),g(1048584,e)}function Ar(e){Y.ensure();const t=g(524352,e);return(n={})=>new Promise(r=>{n.outro?dn(t,()=>{U(t),r(void 0)}):(U(t),r(void 0))})}function Dr(e){return g(4,e)}function _n(e){return g(4718592,e)}function Nr(e,t=0){return g(8|t,e)}function Fr(e,t=[],n=[],r=[]){Jt(r,t,n,s=>{g(8,()=>{e(...s.map($))})})}function wr(e,t=0){var n=g(16|t,e);return n}function yr(e){return g(524320,e)}function ht(e){var t=e.teardown;if(t!==null){const n=L,r=d;Ve(!0),x(null);try{t.call(null)}finally{Ve(n),x(r)}}}function Se(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const s=n.ac;s!==null&&te(()=>{s.abort(ee)});var r=n.next;(n.f&64)!==0?n.parent=null:U(n,t),n=r}}function En(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&32)===0&&U(t),t=n}}function U(e,t=!0){var n=!1;(t||(e.f&262144)!==0)&&e.nodes!==null&&e.nodes.end!==null&&(vn(e.nodes.start,e.nodes.end),n=!0),e.f|=33554432,Se(e,t&&!n),Q(e,0);var r=e.nodes&&e.nodes.t;if(r!==null)for(const i of r)i.stop();ht(e),e.f^=33554432,e.f|=16384;var s=e.parent;s!==null&&s.first!==null&&pt(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=e.b=null}function vn(e,t){for(;e!==null;){var n=e===t?null:k(e);e.remove(),e=n}}function pt(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 dn(e,t,n=!0){var r=[];Tt(e,r,!0);var s=()=>{n&&U(e),t&&t()},i=r.length;if(i>0){var u=()=>--i||s();for(var a of r)a.out(u)}else s()}function Tt(e,t,n){if((e.f&8192)===0){e.f^=8192;var r=e.nodes&&e.nodes.t;if(r!==null)for(const a of r)(a.is_global||n)&&t.push(a);for(var s=e.first;s!==null;){var i=s.next;if((s.f&64)===0){var u=(s.f&65536)!==0||(s.f&32)!==0&&(e.f&16)!==0;Tt(s,t,u?n:!1)}s=i}}}function Ir(e){Rt(e,!0)}function Rt(e,t){if((e.f&8192)!==0){e.f^=8192,(e.f&1024)===0&&(T(e,2048),Y.ensure().schedule(e));for(var n=e.first;n!==null;){var r=n.next,s=(n.f&65536)!==0||(n.f&32)!==0;Rt(n,s?t:!1),n=r}var i=e.nodes&&e.nodes.t;if(i!==null)for(const u of i)(u.is_global||t)&&u.in()}}function Or(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var s=n===r?null:k(n);t.append(n),n=s}}export{Or as $,Bn as A,Te as B,Ut as C,Ue as D,Dn as E,Kt as F,Ae as G,Ht as H,p as I,wn as J,yr as K,yn as L,Yn as M,or as N,vr as O,Mn as P,Hn as Q,me as R,Pn as S,Rn as T,Ir as U,dn as V,Tn as W,xe as X,hn as Y,Vn as Z,ur as _,er as a,Fe as a$,U as a0,mn as a1,Ft as a2,k as a3,Nn as a4,At as a5,Dt as a6,In as a7,Ct as a8,Xn as a9,pn as aA,zn as aB,$t as aC,q as aD,x as aE,ae as aF,Y as aG,zt as aH,d as aI,ue as aJ,Fn as aK,Jn as aL,kn as aM,cn as aN,te as aO,ir as aP,De as aQ,Ln as aR,Ar as aS,Ne as aT,Nt as aU,cr as aV,Wt as aW,qn as aX,Wn as aY,Cn as aZ,_e as a_,gn as aa,Ot as ab,bn as ac,re as ad,Zt as ae,_r as af,Tr as ag,Nr as ah,z as ai,nr as aj,Dr as ak,qt as al,F as am,h as an,An as ao,ve as ap,Z as aq,xn as ar,Kn as as,L as at,Gn as au,jn as av,Un as aw,ye as ax,vt as ay,pe as az,wr as b,pr as b0,gt as b1,St as b2,rr as c,Sn as d,G as e,sn as f,$ as g,H as h,Qn as i,A as j,Rr as k,ar as l,dr as m,fr as n,Zn as o,$n as p,b as q,sr as r,M as s,hr as t,Cr as u,lr as v,tr as w,Fr as x,Er as y,fe as z};
|
|
|
|
| 1 |
+
const hn=32;const pn=128;const Tn=8192,Rn=16384,Cn=32768,An=33554432,Dn=65536;const Nn=262144,Fn=524288;const wn=33554432;const ve=Symbol("$state"),yn=Symbol("legacy props"),In=Symbol(""),Ct=Symbol("attributes"),At=Symbol("class"),Dt=Symbol("style"),Nt=Symbol("text"),re=Symbol("form reset"),ee=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},gn=!!globalThis.document?.contentType&&globalThis.document.contentType.includes("xml"),_e=3,Ue=8,Ke=!1;var Ft=Array.isArray,wt=Array.prototype.indexOf,le=Array.prototype.includes,mn=Array.from,Sn=Object.defineProperty,Z=Object.getOwnPropertyDescriptor,bn=Object.getOwnPropertyDescriptors,yt=Object.prototype,It=Array.prototype,Ot=Object.getPrototypeOf,Le=Object.isExtensible;const gt=()=>{};function mt(e){for(var t=0;t<e.length;t++)e[t]()}function je(){var e,t,n=new Promise((r,s)=>{e=r,t=s});return{promise:n,resolve:e,reject:t}}function Ge(e){return e===this.v}function St(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function qe(e){return!St(e,this.v)}function bt(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Yn(e,t,n){throw new Error("https://svelte.dev/e/each_key_duplicate")}function Yt(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Lt(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function xt(e){throw new Error("https://svelte.dev/e/effect_orphan")}function kt(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Ln(){throw new Error("https://svelte.dev/e/hydration_failed")}function xn(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function Mt(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Pt(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Bt(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function kn(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}let Vt=!1;const Mn=1,Pn=2,Bn=4,Vn=8,Hn=16,Un=1,Kn=4,jn=8,Gn=16,qn=1,Wn=2,Ht="[",Ut="[!",zn="[?",Kt="]",De={},R=Symbol("uninitialized"),Xn="http://www.w3.org/1999/xhtml";let F=null;function ae(e){F=e}function $n(e,t=!1,n){F={p:F,i:!1,c:null,e:null,s:e,x:null,r:h,l:null}}function Zn(e){var t=F,n=t.e;if(n!==null){t.e=null;for(var r of n)dt(r)}return t.i=!0,F=t.p,{}}function We(){return!0}let P=[];function ze(){var e=P;P=[],mt(e)}function xe(e){if(P.length===0&&!J){var t=P;queueMicrotask(()=>{t===P&&ze()})}P.push(e)}function jt(){for(;P.length>0;)ze()}function Gt(){console.warn("https://svelte.dev/e/derived_inert")}function Ne(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function Jn(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let H=!1;function Qn(e){H=e}let A;function G(e){if(e===null)throw Ne(),De;return A=e}function er(){return G(k(A))}function tr(e){if(H){if(k(A)!==null)throw Ne(),De;A=e}}function nr(e=1){if(H){for(var t=e,n=A;t--;)n=k(n);A=n}}function rr(e=!0){for(var t=0,n=A;;){if(n.nodeType===Ue){var r=n.data;if(r===Kt){if(t===0)return n;t-=1}else(r===Ht||r===Ut||r[0]==="["&&!isNaN(Number(r.slice(1))))&&(t+=1)}var s=k(n);e&&n.remove(),n=s}}function sr(e){if(!e||e.nodeType!==Ue)throw Ne(),De;return e.data}function z(e){if(typeof e!="object"||e===null||ve in e)return e;const t=Ot(e);if(t!==yt&&t!==It)return e;var n=new Map,r=Ft(e),s=b(0),i=V,u=a=>{if(V===i)return a();var l=d,f=V;x(null),He(i);var _=a();return x(l),He(f),_};return r&&n.set("length",b(e.length)),new Proxy(e,{defineProperty(a,l,f){(!("value"in f)||f.configurable===!1||f.enumerable===!1||f.writable===!1)&&Mt();var _=n.get(l);return _===void 0?u(()=>{var o=b(f.value);return n.set(l,o),o}):M(_,f.value,!0),!0},deleteProperty(a,l){var f=n.get(l);if(f===void 0){if(l in a){const _=u(()=>b(R));n.set(l,_),pe(s)}}else M(f,R),pe(s);return!0},get(a,l,f){if(l===ve)return e;var _=n.get(l),o=l in a;if(_===void 0&&(!o||Z(a,l)?.writable)&&(_=u(()=>{var E=z(o?a[l]:R),v=b(E);return v}),n.set(l,_)),_!==void 0){var c=$(_);return c===R?void 0:c}return Reflect.get(a,l,f)},getOwnPropertyDescriptor(a,l){var f=Reflect.getOwnPropertyDescriptor(a,l);if(f&&"value"in f){var _=n.get(l);_&&(f.value=$(_))}else if(f===void 0){var o=n.get(l),c=o?.v;if(o!==void 0&&c!==R)return{enumerable:!0,configurable:!0,value:c,writable:!0}}return f},has(a,l){if(l===ve)return!0;var f=n.get(l),_=f!==void 0&&f.v!==R||Reflect.has(a,l);if(f!==void 0||h!==null&&(!_||Z(a,l)?.writable)){f===void 0&&(f=u(()=>{var c=_?z(a[l]):R,E=b(c);return E}),n.set(l,f));var o=$(f);if(o===R)return!1}return _},set(a,l,f,_){var o=n.get(l),c=l in a;if(r&&l==="length")for(var E=f;E<o.v;E+=1){var v=n.get(E+"");v!==void 0?M(v,R):E in a&&(v=u(()=>b(R)),n.set(E+"",v))}if(o===void 0)(!c||Z(a,l)?.writable)&&(o=u(()=>b(void 0)),M(o,z(f)),n.set(l,o));else{c=o.v!==R;var m=u(()=>z(f));M(o,m)}var be=Reflect.getOwnPropertyDescriptor(a,l);if(be?.set&&be.set.call(_,f),!c){if(r&&typeof l=="string"){var Ye=n.get("length"),Ee=Number(l);Number.isInteger(Ee)&&Ee>=Ye.v&&M(Ye,Ee+1)}pe(s)}return!0},ownKeys(a){$(s);var l=Reflect.ownKeys(a).filter(o=>{var c=n.get(o);return c===void 0||c.v!==R});for(var[f,_]of n)_.v!==R&&!(f in a)&&l.push(f);return l},setPrototypeOf(){Pt()}})}var ke,qt,Wt,Xe,$e;function ir(){if(ke===void 0){ke=window,qt=document,Wt=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;Xe=Z(t,"firstChild").get,$e=Z(t,"nextSibling").get,Le(e)&&(e[At]=void 0,e[Ct]=null,e[Dt]=void 0,e.__e=void 0),Le(n)&&(n[Nt]=void 0)}}function fe(e=""){return document.createTextNode(e)}function Te(e){return Xe.call(e)}function k(e){return $e.call(e)}function lr(e,t){if(!H)return Te(e);var n=Te(A);if(n===null)n=A.appendChild(fe());else if(t&&n.nodeType!==_e){var r=fe();return n?.before(r),G(r),r}return t&&Fe(n),G(n),n}function ar(e,t=!1){if(!H){var n=Te(e);return n instanceof Comment&&n.data===""?k(n):n}if(t){if(A?.nodeType!==_e){var r=fe();return A?.before(r),G(r),r}Fe(A)}return A}function fr(e,t=1,n=!1){let r=H?A:e;for(var s;t--;)s=r,r=k(r);if(!H)return r;if(n){if(r?.nodeType!==_e){var i=fe();return r===null?s?.after(i):r.before(i),G(i),i}Fe(r)}return G(r),r}function ur(e){e.textContent=""}function or(){return!1}function cr(e,t,n){return n?document.createElement(e,{is:n}):document.createElement(e)}function Fe(e){if(e.nodeValue.length<65536)return;let t=e.nextSibling;for(;t!==null&&t.nodeType===_e;)t.remove(),e.nodeValue+=t.nodeValue,t=e.nextSibling}function zt(e){var t=h;if(t===null)return d.f|=8388608,e;if((t.f&32768)===0&&(t.f&4)===0)throw e;ue(e,t)}function ue(e,t){if(!(t!==null&&(t.f&16384)!==0)){for(;t!==null;){if((t.f&128)!==0){if((t.f&32768)===0)throw e;try{t.b.error(e);return}catch(n){e=n}}t=t.parent}throw e}}const Xt=-7169;function T(e,t){e.f=e.f&Xt|t}function we(e){(e.f&512)!==0||e.deps===null?T(e,1024):T(e,4096)}function Ze(e){if(e!==null)for(const t of e)(t.f&2)===0||(t.f&65536)===0||(t.f^=65536,Ze(t.deps))}function $t(e,t,n){(e.f&2048)!==0?t.add(e):(e.f&4096)!==0&&n.add(e),Ze(e.deps),T(e,1024)}let Me=!1;function Zt(){Me||(Me=!0,document.addEventListener("reset",e=>{Promise.resolve().then(()=>{if(!e.defaultPrevented)for(const t of e.target.elements)t[re]?.()})},{capture:!0}))}function te(e){var t=d,n=h;x(null),q(null);try{return e()}finally{x(t),q(n)}}function _r(e,t,n,r=n){e.addEventListener(t,()=>te(n));const s=e[re];s?e[re]=()=>{s(),r(!0)}:e[re]=()=>r(!0),Zt()}function Jt(e,t,n,r){const s=ye;var i=e.filter(E=>!E.settled),u=t.map(s);if(n.length===0&&i.length===0){r(u);return}var a=h,l=Qt(),f=i.length===1?i[0].promise:i.length>1?Promise.all(i.map(E=>E.promise)):null;function _(E){if((a.f&16384)===0){l();try{r([...u,...E])}catch(v){ue(v,a)}oe()}}var o=Je();if(n.length===0){f.then(()=>_([])).finally(o);return}function c(){Promise.all(n.map(E=>en(E))).then(_).catch(E=>ue(E,a)).finally(o)}f?f.then(()=>{l(),c(),oe()}):c()}function Qt(){var e=h,t=d,n=F,r=p;return function(i=!0){q(e),x(t),ae(n),i&&(e.f&16384)===0&&(r?.activate(),r?.apply())}}function oe(e=!0){q(null),x(null),ae(null),e&&p?.deactivate()}function Je(){var e=h,t=e.b,n=p,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 ye(e){var t=2050;return h!==null&&(h.f|=524288),{ctx:F,deps:null,effects:null,equals:Ge,f:t,fn:e,reactions:null,rv:0,v:R,wv:0,parent:h,ac:null}}const X=Symbol("obsolete");function en(e,t,n){let r=h;r===null&&bt();var s=void 0,i=me(R),u=!d,a=new Set;return _n(()=>{var l=h,f=je();s=f.promise;try{Promise.resolve(e()).then(f.resolve,E=>{E!==ee&&f.reject(E)}).finally(oe)}catch(E){f.reject(E),oe()}var _=p;if(u){if((l.f&32768)!==0)var o=Je();if(r.b?.is_rendered())_.async_deriveds.get(l)?.reject(X);else for(const E of a.values())E.reject(X);a.add(f),_.async_deriveds.set(l,f)}const c=(E,v=void 0)=>{o?.(),a.delete(f),v!==X&&(_.activate(),v?(i.f|=8388608,Ae(i,v)):((i.f&8388608)!==0&&(i.f^=8388608),Ae(i,E)),_.deactivate())};f.promise.then(c,E=>c(null,E||"unknown"))}),cn(()=>{for(const l of a)l.reject(X)}),new Promise(l=>{function f(_){function o(){_===s?l(i):f(s)}_.then(o,o)}f(s)})}function Er(e){const t=ye(e);return lt(t),t}function vr(e){const t=ye(e);return t.equals=qe,t}function tn(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)U(t[n])}}function Ie(e){var t,n=h,r=e.parent;if(!L&&r!==null&&e.v!==R&&(r.f&24576)!==0)return Gt(),e.v;q(r);try{e.f&=-65537,tn(e),t=ot(e)}finally{q(n)}return t}function Qe(e){var t=Ie(e);if(!e.equals(t)&&(e.wv=ft(),(!p?.is_fork||e.deps===null)&&(p!==null?(p.capture(e,t,!0),Re?.capture(e,t,!0)):e.v=t,e.deps===null))){T(e,1024);return}L||(w!==null?(vt()||p?.is_fork)&&w.set(e,t):we(e))}function nn(e){if(e.effects!==null)for(const t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac!==null&&te(()=>{t.ac.abort(ee),t.ac=null}),t.fn!==null&&(t.teardown=gt),Q(t,0),Se(t))}function et(e){if(e.effects!==null)for(const t of e.effects)t.teardown&&t.fn!==null&&W(t)}let de=null,K=null,p=null,Re=null,w=null,Ce=null,J=!1,he=!1,j=null,se=null;var Pe=0;let rn=1;class Y{id=rn++;#c=!1;linked=!0;#i=null;#a=null;async_deriveds=new Map;current=new Map;previous=new Map;#_=new Set;#E=new Set;#v=0;#r=new Map;#d=null;#e=[];#p=[];#s=new Set;#t=new Set;#n=new Map;#h=new Set;is_fork=!1;#f=!1;constructor(){K===null?de=K=this:(K.#a=this,this.#i=K),K=this}#T(){if(this.is_fork)return!0;for(const r of this.#r.keys()){for(var t=r,n=!1;t.parent!==null;){if(this.#n.has(t)){n=!0;break}t=t.parent}if(!n)return!0}return!1}skip_effect(t){this.#n.has(t)||this.#n.set(t,{d:[],m:[]}),this.#h.delete(t)}unskip_effect(t,n=r=>this.schedule(r)){var r=this.#n.get(t);if(r){this.#n.delete(t);for(var s of r.d)T(s,2048),n(s);for(s of r.m)T(s,4096),n(s)}this.#h.add(t)}#u(){this.#c=!0,Pe++>1e3&&(this.#o(),ln());for(const l of this.#s)this.#t.delete(l),T(l,2048),this.schedule(l);for(const l of this.#t)T(l,4096),this.schedule(l);const t=this.#e;this.#e=[],this.apply();var n=j=[],r=[],s=se=[];for(const l of t)try{this.#R(l,n,r)}catch(f){throw rt(l),this.#T()||this.discard(),f}if(p=null,s.length>0){var i=Y.ensure();for(const l of s)i.schedule(l)}if(j=null,se=null,this.#T()){this.#l(r),this.#l(n);for(const[l,f]of this.#n)nt(l,f);s.length>0&&p.#u();return}const u=this.#C();if(u){this.#l(r),this.#l(n),u.#A(this);return}this.#s.clear(),this.#t.clear();for(const l of this.#_)l(this);this.#_.clear(),Re=this,Be(r),Be(n),Re=null,this.#d?.resolve();var a=p;if(this.#v===0&&(this.#e.length===0||a!==null)&&this.#o(),this.#e.length>0)if(a!==null){const l=a;l.#e.push(...this.#e.filter(f=>!l.#e.includes(f)))}else a=this;a!==null&&(I.clear(),a.#u())}#R(t,n,r){t.f^=1024;for(var s=t.first;s!==null;){var i=s.f,u=(i&96)!==0,a=u&&(i&1024)!==0,l=a||(i&8192)!==0||this.#n.has(s);if(!l&&s.fn!==null){u?s.f^=1024:(i&4)!==0?n.push(s):ne(s)&&((i&16)!==0&&this.#t.add(s),W(s));var f=s.first;if(f!==null){s=f;continue}}for(;s!==null;){var _=s.next;if(_!==null){s=_;break}s=s.parent}}}#C(){for(var t=this.#i;t!==null;){if(!t.is_fork){for(const[n,[,r]]of this.current)if(t.current.has(n)&&!r)return t}t=t.#i}return null}#A(t){for(const[r,s]of t.current)!this.previous.has(r)&&t.previous.has(r)&&this.previous.set(r,t.previous.get(r)),this.current.set(r,s);for(const[r,s]of t.async_deriveds){const i=this.async_deriveds.get(r);i&&s.promise.then(i.resolve).catch(i.reject)}t.async_deriveds.clear(),this.transfer_effects(t.#s,t.#t);const n=r=>{var s=r.reactions;if(s!==null&&!((r.f&2)!==0&&(r.f&6144)===0))for(const a of s){var i=a.f;if((i&2)!==0)n(a);else{var u=a;i&4194320&&!this.async_deriveds.has(u)&&(this.#t.delete(u),T(u,2048),this.schedule(u))}}};for(const r of this.current.keys())n(r);this.oncommit(()=>t.discard()),t.#o(),p=this,this.#u()}#l(t){for(var n=0;n<t.length;n+=1)$t(t[n],this.#s,this.#t)}capture(t,n,r=!1){t.v!==R&&!this.previous.has(t)&&this.previous.set(t,t.v),(t.f&8388608)===0&&(this.current.set(t,[n,r]),w?.set(t,n)),this.is_fork||(t.v=n)}activate(){p=this}deactivate(){p=null,w=null}flush(){try{he=!0,p=this,this.#u()}finally{Pe=0,Ce=null,j=null,se=null,he=!1,p=null,w=null,I.clear()}}discard(){for(const t of this.#E)t(this);this.#E.clear();for(const t of this.async_deriveds.values())t.reject(X);this.#o(),this.#d?.resolve()}register_created_effect(t){this.#p.push(t)}#D(){for(let o=de;o!==null;o=o.#a){var t=o.id<this.id,n=[];for(const[c,[E,v]]of this.current){if(o.current.has(c)){var r=o.current.get(c)[0];if(t&&E!==r)o.current.set(c,[E,v]);else continue}n.push(c)}if(t)for(const[c,E]of this.async_deriveds){const v=o.async_deriveds.get(c);v&&E.promise.then(v.resolve).catch(v.reject)}var s=[...o.current.keys()].filter(c=>!o.current.get(c)[1]);if(!(!o.#c||s.length===0)){var i=s.filter(c=>!this.current.has(c));if(i.length===0)t&&o.discard();else if(n.length>0){if(t)for(const c of this.#h)o.unskip_effect(c,E=>{(E.f&4194320)!==0?o.schedule(E):o.#l([E])});o.activate();var u=new Set,a=new Map;for(var l of n)tt(l,i,u,a);a=new Map;var f=[...o.current].filter(([c,E])=>{const v=this.current.get(c);return v?v[0]!==E[0]||v[1]!==E[1]:!0}).map(([c])=>c);if(f.length>0)for(const c of this.#p)(c.f&155648)===0&&Oe(c,f,a)&&((c.f&4194320)!==0?(T(c,2048),o.schedule(c)):o.#s.add(c));if(o.#e.length>0&&!o.#f){o.apply();for(var _ of o.#e)o.#R(_,[],[]);o.#e=[]}o.deactivate()}}}}increment(t,n){if(this.#v+=1,t){let r=this.#r.get(n)??0;this.#r.set(n,r+1)}}decrement(t,n){if(this.#v-=1,t){let r=this.#r.get(n)??0;r===1?this.#r.delete(n):this.#r.set(n,r-1)}this.#f||(this.#f=!0,xe(()=>{this.#f=!1,this.linked&&this.flush()}))}transfer_effects(t,n){for(const r of t)this.#s.add(r);for(const r of n)this.#t.add(r);t.clear(),n.clear()}oncommit(t){this.#_.add(t)}ondiscard(t){this.#E.add(t)}settled(){return(this.#d??=je()).promise}static ensure(){if(p===null){const t=p=new Y;!he&&!J&&xe(()=>{t.#c||t.flush()})}return p}apply(){{w=null;return}}schedule(t){if(Ce=t,t.b?.is_pending&&(t.f&16777228)!==0&&(t.f&32768)===0){t.b.defer_effect(t);return}for(var n=t;n.parent!==null;){n=n.parent;var r=n.f;if(j!==null&&n===h&&(d===null||(d.f&2)===0))return;if((r&96)!==0){if((r&1024)===0)return;n.f^=1024}}this.#e.push(n)}#o(){if(this.linked){var t=this.#i,n=this.#a;t===null?de=n:t.#a=n,n===null?K=t:n.#i=t,this.linked=!1}}}function sn(e){var t=J;J=!0;try{for(var n;;){if(jt(),p===null)return n;p.flush()}}finally{J=t}}function ln(){try{kt()}catch(e){ue(e,Ce)}}let S=null;function Be(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&24576)===0&&ne(r)&&(S=new Set,W(r),r.deps===null&&r.first===null&&r.nodes===null&&r.teardown===null&&r.ac===null&&pt(r),S?.size>0)){I.clear();for(const s of S){if((s.f&24576)!==0)continue;const i=[s];let u=s.parent;for(;u!==null;)S.has(u)&&(S.delete(u),i.push(u)),u=u.parent;for(let a=i.length-1;a>=0;a--){const l=i[a];(l.f&24576)===0&&W(l)}}S.clear()}}S=null}}function tt(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(const s of e.reactions){const i=s.f;(i&2)!==0?tt(s,t,n,r):(i&4194320)!==0&&(i&2048)===0&&Oe(s,t,r)&&(T(s,2048),ge(s))}}function Oe(e,t,n){const r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(const s of e.deps){if(le.call(t,s))return!0;if((s.f&2)!==0&&Oe(s,t,n))return n.set(s,!0),!0}return n.set(e,!1),!1}function ge(e){p.schedule(e)}function nt(e,t){if(!((e.f&32)!==0&&(e.f&1024)!==0)){(e.f&2048)!==0?t.d.push(e):(e.f&4096)!==0&&t.m.push(e),T(e,1024);for(var n=e.first;n!==null;)nt(n,t),n=n.next}}function rt(e){T(e,1024);for(var t=e.first;t!==null;)rt(t),t=t.next}let ce=new Set;const I=new Map;let st=!1;function me(e,t){var n={f:0,v:e,reactions:null,equals:Ge,rv:0,wv:0};return n}function b(e,t){const n=me(e);return lt(n),n}function dr(e,t=!1,n=!0){const r=me(e);return t||(r.equals=qe),r}function M(e,t,n=!1){d!==null&&(!y||(d.f&131072)!==0)&&We()&&(d.f&4325394)!==0&&(O===null||!O.has(e))&&Bt();let r=n?z(t):t;return Ae(e,r,se)}function Ae(e,t,n=null){if(!e.equals(t)){L?I.set(e,t):I.has(e)||I.set(e,e.v);var r=Y.ensure();if(r.capture(e,t),(e.f&2)!==0){const s=e;(e.f&2048)!==0&&Ie(s),w===null&&we(s)}e.wv=ft(),it(e,2048,n),h!==null&&(h.f&1024)!==0&&(h.f&96)===0&&(N===null?fn([e]):N.push(e)),!r.is_fork&&ce.size>0&&!st&&an()}return t}function an(){st=!1;for(const e of ce){(e.f&1024)!==0&&T(e,4096);let t;try{t=ne(e)}catch{t=!0}t&&W(e)}ce.clear()}function pe(e){M(e,e.v+1)}function it(e,t,n){var r=e.reactions;if(r!==null)for(var s=r.length,i=0;i<s;i++){var u=r[i],a=u.f,l=(a&2048)===0;if(l&&T(u,t),(a&131072)!==0)ce.add(u);else if((a&2)!==0){var f=u;w?.delete(f),(a&65536)===0&&(a&512&&(h===null||(h.f&2097152)===0)&&(u.f|=65536),it(f,4096,n))}else if(l){var _=u;(a&16)!==0&&S!==null&&S.add(_),n!==null?n.push(_):ge(_)}}}let ie=!1,L=!1;function Ve(e){L=e}let d=null,y=!1;function x(e){d=e}let h=null;function q(e){h=e}let O=null;function lt(e){d!==null&&(O??=new Set).add(e)}let C=null,D=0,N=null;function fn(e){N=e}let at=1,B=0,V=B;function He(e){V=e}function ft(){return++at}function ne(e){var t=e.f;if((t&2048)!==0)return!0;if(t&2&&(e.f&=-65537),(t&4096)!==0){for(var n=e.deps,r=n.length,s=0;s<r;s++){var i=n[s];if(ne(i)&&Qe(i),i.wv>e.wv)return!0}(t&512)!==0&&w===null&&T(e,1024)}return!1}function ut(e,t,n=!0){var r=e.reactions;if(r!==null&&!(O!==null&&O.has(e)))for(var s=0;s<r.length;s++){var i=r[s];(i.f&2)!==0?ut(i,t,!1):t===i&&(n?T(i,2048):(i.f&1024)!==0&&T(i,4096),ge(i))}}function ot(e){var t=C,n=D,r=N,s=d,i=O,u=F,a=y,l=V,f=e.f;C=null,D=0,N=null,d=(f&96)===0?e:null,O=null,ae(e.ctx),y=!1,V=++B,e.ac!==null&&(te(()=>{e.ac.abort(ee)}),e.ac=null);try{e.f|=2097152;var _=e.fn,o=_();e.f|=32768;var c=e.deps,E=p?.is_fork;if(C!==null){var v;if(E||Q(e,D),c!==null&&D>0)for(c.length=D+C.length,v=0;v<C.length;v++)c[D+v]=C[v];else e.deps=c=C;if(vt()&&(e.f&512)!==0)for(v=D;v<c.length;v++)(c[v].reactions??=[]).push(e)}else!E&&c!==null&&D<c.length&&(Q(e,D),c.length=D);if(We()&&N!==null&&!y&&c!==null&&(e.f&6146)===0)for(v=0;v<N.length;v++)ut(N[v],e);if(s!==null&&s!==e){if(B++,s.deps!==null)for(let m=0;m<n;m+=1)s.deps[m].rv=B;if(t!==null)for(const m of t)m.rv=B;N!==null&&(r===null?r=N:r.push(...N))}return(e.f&8388608)!==0&&(e.f^=8388608),o}catch(m){return zt(m)}finally{e.f^=2097152,C=t,D=n,N=r,d=s,O=i,ae(u),y=a,V=l}}function un(e,t){let n=t.reactions;if(n!==null){var r=wt.call(n,e);if(r!==-1){var s=n.length-1;s===0?n=t.reactions=null:(n[r]=n[s],n.pop())}}if(n===null&&(t.f&2)!==0&&(C===null||!le.call(C,t))){var i=t;(i.f&512)!==0&&(i.f^=512,i.f&=-65537),i.v!==R&&we(i),i.ac!==null&&te(()=>{i.ac.abort(ee),i.ac=null,T(i,2048)}),nn(i),Q(i,0)}}function Q(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)un(e,n[r])}function W(e){var t=e.f;if((t&16384)===0){T(e,1024);var n=h,r=ie;h=e,ie=(t&96)===0;try{(t&16777232)!==0?En(e):Se(e),ht(e);var s=ot(e);e.teardown=typeof s=="function"?s:null,e.wv=at;var i;Ke&&Vt&&(e.f&2048)!==0&&e.deps}finally{ie=r,h=n}}}async function hr(){await Promise.resolve(),sn()}function pr(){return Y.ensure().settled()}function $(e){var t=e.f,n=(t&2)!==0;if(d!==null&&!y){var r=h!==null&&(h.f&16384)!==0;if(!r&&(O===null||!O.has(e))){var s=d.deps;if((d.f&2097152)!==0)e.rv<B&&(e.rv=B,C===null&&s!==null&&s[D]===e?D++:C===null?C=[e]:C.push(e));else{d.deps??=[],le.call(d.deps,e)||d.deps.push(e);var i=e.reactions;i===null?e.reactions=[d]:le.call(i,d)||i.push(d)}}}if(L&&I.has(e))return I.get(e);if(n){var u=e;if(L){var a=u.v;return((u.f&1024)===0&&u.reactions!==null||_t(u))&&(a=Ie(u)),I.set(u,a),a}var l=(u.f&512)===0&&!y&&d!==null&&(ie||(d.f&512)!==0),f=(u.f&32768)===0;ne(u)&&(l&&(u.f|=512),Qe(u)),l&&!f&&(et(u),ct(u))}if(w?.has(e))return w.get(e);if((e.f&8388608)!==0)throw e.v;return e.v}function ct(e){if(e.f|=512,e.deps!==null)for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&2)!==0&&(t.f&512)===0&&(et(t),ct(t))}function _t(e){if(e.v===R)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(I.has(t)||(t.f&2)!==0&&_t(t))return!0;return!1}function Tr(e){var t=y;try{return y=!0,e()}finally{y=t}}function Et(e){h===null&&(d===null&&xt(),Lt()),L&&Yt()}function on(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function g(e,t){var n=h;n!==null&&(n.f&8192)!==0&&(e|=8192);var r={ctx:F,deps:null,nodes:null,f:e|2048|512,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,wv:0,ac:null};p?.register_created_effect(r);var s=r;if((e&4)!==0)j!==null?j.push(r):Y.ensure().schedule(r);else if(t!==null){try{W(r)}catch(u){throw U(r),u}s.deps===null&&s.teardown===null&&s.nodes===null&&s.first===s.last&&(s.f&524288)===0&&(s=s.first,(e&16)!==0&&(e&65536)!==0&&s!==null&&(s.f|=65536))}if(s!==null&&(s.parent=n,n!==null&&on(s,n),d!==null&&(d.f&2)!==0&&(e&64)===0)){var i=d;(i.effects??=[]).push(s)}return r}function vt(){return d!==null&&!y}function cn(e){const t=g(8,null);return T(t,1024),t.teardown=e,t}function Rr(e){Et();var t=h.f,n=!d&&(t&32)!==0&&F!==null&&!F.i;if(n){var r=F;(r.e??=[]).push(e)}else return dt(e)}function dt(e){return g(1048580,e)}function Cr(e){return Et(),g(1048584,e)}function Ar(e){Y.ensure();const t=g(524352,e);return(n={})=>new Promise(r=>{n.outro?dn(t,()=>{U(t),r(void 0)}):(U(t),r(void 0))})}function Dr(e){return g(4,e)}function _n(e){return g(4718592,e)}function Nr(e,t=0){return g(8|t,e)}function Fr(e,t=[],n=[],r=[]){Jt(r,t,n,s=>{g(8,()=>{e(...s.map($))})})}function wr(e,t=0){var n=g(16|t,e);return n}function yr(e){return g(524320,e)}function ht(e){var t=e.teardown;if(t!==null){const n=L,r=d;Ve(!0),x(null);try{t.call(null)}finally{Ve(n),x(r)}}}function Se(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const s=n.ac;s!==null&&te(()=>{s.abort(ee)});var r=n.next;(n.f&64)!==0?n.parent=null:U(n,t),n=r}}function En(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&32)===0&&U(t),t=n}}function U(e,t=!0){var n=!1;(t||(e.f&262144)!==0)&&e.nodes!==null&&e.nodes.end!==null&&(vn(e.nodes.start,e.nodes.end),n=!0),e.f|=33554432,Se(e,t&&!n),Q(e,0);var r=e.nodes&&e.nodes.t;if(r!==null)for(const i of r)i.stop();ht(e),e.f^=33554432,e.f|=16384;var s=e.parent;s!==null&&s.first!==null&&pt(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=e.b=null}function vn(e,t){for(;e!==null;){var n=e===t?null:k(e);e.remove(),e=n}}function pt(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 dn(e,t,n=!0){var r=[];Tt(e,r,!0);var s=()=>{n&&U(e),t&&t()},i=r.length;if(i>0){var u=()=>--i||s();for(var a of r)a.out(u)}else s()}function Tt(e,t,n){if((e.f&8192)===0){e.f^=8192;var r=e.nodes&&e.nodes.t;if(r!==null)for(const a of r)(a.is_global||n)&&t.push(a);for(var s=e.first;s!==null;){var i=s.next;if((s.f&64)===0){var u=(s.f&65536)!==0||(s.f&32)!==0&&(e.f&16)!==0;Tt(s,t,u?n:!1)}s=i}}}function Ir(e){Rt(e,!0)}function Rt(e,t){if((e.f&8192)!==0){e.f^=8192,(e.f&1024)===0&&(T(e,2048),Y.ensure().schedule(e));for(var n=e.first;n!==null;){var r=n.next,s=(n.f&65536)!==0||(n.f&32)!==0;Rt(n,s?t:!1),n=r}var i=e.nodes&&e.nodes.t;if(i!==null)for(const u of i)(u.is_global||t)&&u.in()}}function Or(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var s=n===r?null:k(n);t.append(n),n=s}}export{Vn as $,fe as A,Ut as B,Ue as C,Kt as D,Dn as E,Ae as F,p as G,Ht as H,yr as I,Yn as J,or as K,yn as L,Bn as M,vr as N,Ft as O,mn as P,Pn as Q,me as R,Mn as S,Hn as T,wn as U,Rn as V,Ir as W,dn as X,Tn as Y,xe as Z,hn as _,er as a,Fe as a$,ur as a0,Or as a1,U as a2,k as a3,Nn as a4,At as a5,Dt as a6,In as a7,re as a8,Zt as a9,pn as aA,zn as aB,$t as aC,q as aD,x as aE,ae as aF,Y as aG,zt as aH,d as aI,ue as aJ,Fn as aK,Jn as aL,kn as aM,cn as aN,te as aO,ir as aP,De as aQ,Ln as aR,Ar as aS,Ne as aT,Nt as aU,cr as aV,Wt as aW,qn as aX,Wn as aY,Cn as aZ,_e as a_,Ct as aa,Xn as ab,gn as ac,Ot as ad,bn as ae,_r as af,Tr as ag,Nr as ah,z as ai,nr as aj,Dr as ak,qt as al,F as am,h as an,An as ao,ve as ap,Z as aq,xn as ar,Kn as as,L as at,jn as au,Un as av,ye as aw,Gn as ax,vt as ay,pe as az,wr as b,pr as b0,gt as b1,St as b2,rr as c,Sn as d,G as e,sn as f,$ as g,H as h,Qn as i,A as j,Rr as k,ar as l,dr as m,fr as n,Zn as o,$n as p,b as q,sr as r,M as s,hr as t,Cr as u,lr as v,tr as w,Fr as x,Er as y,Te as z};
|
_app/immutable/chunks/T86D3IO_.js
DELETED
|
@@ -1 +0,0 @@
|
|
| 1 |
-
import{U as n,a0 as o,V as u,z as d,K as l,I as m,h as p,j as _,$ as v,N as k}from"./Dnoir60M.js";class w{anchor;#t=new Map;#s=new Map;#e=new Map;#i=new Set;#a=!0;constructor(t,s=!0){this.anchor=t,this.#a=s}#f=t=>{if(this.#t.has(t)){var s=this.#t.get(t),e=this.#s.get(s);if(e)n(e),this.#i.delete(s);else{var a=this.#e.get(s);a&&(n(a.effect),this.#s.set(s,a.effect),this.#e.delete(s),a.fragment.lastChild.remove(),this.anchor.before(a.fragment),e=a.effect)}for(const[i,f]of this.#t){if(this.#t.delete(i),i===t)break;const h=this.#e.get(f);h&&(o(h.effect),this.#e.delete(f))}for(const[i,f]of this.#s){if(i===s||this.#i.has(i))continue;const h=()=>{if(Array.from(this.#t.values()).includes(i)){var c=document.createDocumentFragment();v(f,c),c.append(d()),this.#e.set(i,{effect:f,fragment:c})}else o(f);this.#i.delete(i),this.#s.delete(i)};this.#a||!e?(this.#i.add(i),u(f,h,!1)):h()}}};#h=t=>{this.#t.delete(t);const s=Array.from(this.#t.values());for(const[e,a]of this.#e)s.includes(e)||(o(a.effect),this.#e.delete(e))};ensure(t,s){var e=m,a=k();if(s&&!this.#s.has(t)&&!this.#e.has(t))if(a){var i=document.createDocumentFragment(),f=d();i.append(f),this.#e.set(t,{effect:l(()=>s(f)),fragment:i})}else this.#s.set(t,l(()=>s(this.anchor)));if(this.#t.set(e,t),a){for(const[h,r]of this.#s)h===t?e.unskip_effect(r):e.skip_effect(r);for(const[h,r]of this.#e)h===t?e.unskip_effect(r.effect):e.skip_effect(r.effect);e.oncommit(this.#f),e.ondiscard(this.#h)}else p&&(this.anchor=_),this.#f(e)}}export{w as B};
|
|
|
|
|
|
_app/immutable/chunks/UPLOOD0p.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import{ay as te,g as G,ah as re,R as J,ag as se,Z as m,az as W,j as p,h as g,an as b,aA as j,b as ie,a as ne,B as ae,aB as z,I as u,A as U,X as C,G as _,a1 as fe,aC as he,aD as D,aE as N,aF as $,aG as oe,aH as le,aI as X,am as K,F as ce,a2 as x,e as O,aj as de,c as ue,aJ as R,E as _e,aK as pe,aL as ge,aM as ve,d as ye,aN as me,aO as be,aP as L,z as Ee,C as Q,H as Te,a3 as we,aQ as M,i as S,aR as ke,a0 as Re,aS as Se,P as Ae,p as De,D as Ne,aT as Oe,o as Fe,aU as q}from"./QoSX5tB3.js";import{d as Ce}from"./DNDc8P0N.js";function xe(r){let e=0,t=J(0),n;return()=>{te()&&(G(t),re(()=>(e===0&&(n=se(()=>r(()=>W(t)))),e+=1,()=>{m(()=>{e-=1,e===0&&(n?.(),n=void 0,W(t))})})))}}var He=_e|pe;function Ie(r,e,t,n){new Le(r,e,t,n)}class Le{parent;is_pending=!1;transform_error;#r;#_=g?p:null;#i;#o;#t;#n=null;#e=null;#s=null;#a=null;#l=0;#h=0;#c=!1;#p=new Set;#g=new Set;#f=null;#E=xe(()=>(this.#f=J(this.#l),()=>{this.#f=null}));constructor(e,t,n,i){this.#r=e,this.#i=t,this.#o=s=>{var a=b;a.b=this,a.f|=j,n(s)},this.parent=b.b,this.transform_error=i??this.parent?.transform_error??(s=>s),this.#t=ie(()=>{if(g){const s=this.#_;ne();const a=s.data===ae;if(s.data.startsWith(z)){const c=JSON.parse(s.data.slice(z.length));this.#w(c)}else a?this.#k():this.#T()}else this.#y()},He),g&&(this.#r=p)}#T(){try{this.#n=u(()=>this.#o(this.#r))}catch(e){this.error(e)}}#w(e){const t=this.#i.failed,{reset:n,invoke_onerror:i}=this.#v(e);m(i),t&&(this.#s=u(()=>{t(this.#r,()=>e,()=>n)}))}#v(e){var t=!1,n=!1;const i=()=>{if(t){ge();return}t=!0,n&&ve(),this.#s!==null&&C(this.#s,()=>{this.#s=null}),this.#u(()=>{this.#y()})};return{reset:i,invoke_onerror:()=>{try{n=!0,this.#i.onerror?.(e,i),n=!1}catch(a){R(a,this.#t&&this.#t.parent)}}}}#k(){const e=this.#i.pending;e&&(this.is_pending=!0,this.#e=u(()=>e(this.#r)),m(()=>{var t=this.#a=document.createDocumentFragment(),n=U();t.append(n),this.#n=this.#u(()=>u(()=>this.#o(n))),this.#h===0&&(this.#r.before(t),this.#a=null,C(this.#e,()=>{this.#e=null}),this.#d(_))}))}#y(){try{if(this.is_pending=this.has_pending_snippet(),this.#h=0,this.#l=0,this.#n=u(()=>{this.#o(this.#r)}),this.#h>0){var e=this.#a=document.createDocumentFragment();fe(this.#n,e);const t=this.#i.pending;this.#e=u(()=>t(this.#r))}else this.#d(_)}catch(t){this.error(t)}}#d(e){this.is_pending=!1,e.transfer_effects(this.#p,this.#g)}defer_effect(e){he(e,this.#p,this.#g)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#i.pending}#u(e){var t=b,n=X,i=K;D(this.#t),N(this.#t),$(this.#t.ctx);try{return oe.ensure(),e()}catch(s){return le(s),null}finally{D(t),N(n),$(i)}}#m(e,t){if(!this.has_pending_snippet()){this.parent&&this.parent.#m(e,t);return}this.#h+=e,this.#h===0&&(this.#d(t),this.#e&&C(this.#e,()=>{this.#e=null}),this.#a&&(this.#r.before(this.#a),this.#a=null))}update_pending_count(e,t){this.#m(e,t),this.#l+=e,!(!this.#f||this.#c)&&(this.#c=!0,m(()=>{this.#c=!1,this.#f&&ce(this.#f,this.#l)}))}get_effect_pending(){return this.#E(),G(this.#f)}error(e){if(!this.#i.onerror&&!this.#i.failed)throw e;_?.is_fork?(this.#n&&_.skip_effect(this.#n),this.#e&&_.skip_effect(this.#e),this.#s&&_.skip_effect(this.#s),_.oncommit(()=>{this.#b(e)})):this.#b(e)}#b(e){this.#n&&(x(this.#n),this.#n=null),this.#e&&(x(this.#e),this.#e=null),this.#s&&(x(this.#s),this.#s=null),g&&(O(this.#_),de(),O(ue()));let t=this.#i.failed;const n=i=>{const{reset:s,invoke_onerror:a}=this.#v(i);a(),t&&(this.#s=this.#u(()=>{try{return u(()=>{var l=b;l.b=this,l.f|=j,t(this.#r,()=>i,()=>s)})}catch(l){return R(l,this.#t.parent),null}}))};m(()=>{var i;try{i=this.transform_error(e)}catch(s){R(s,this.#t&&this.#t.parent);return}i!==null&&typeof i=="object"&&typeof i.then=="function"?i.then(n,s=>R(s,this.#t&&this.#t.parent)):n(i)})}}const w=Symbol("events"),Z=new Set,B=new Set;function Me(r,e,t,n={}){function i(s){if(n.capture||P.call(e,s),!s.cancelBubble)return be(()=>t?.call(this,s))}return r.startsWith("pointer")||r.startsWith("touch")||r==="wheel"?m(()=>{e.addEventListener(r,i,n)}):e.addEventListener(r,i,n),i}function je(r,e,t,n,i){var s={capture:n,passive:i},a=Me(r,e,t,s);(e===document.body||e===window||e===document||e instanceof HTMLMediaElement)&&me(()=>{e.removeEventListener(r,a,s)})}function ze(r,e,t){(e[w]??={})[r]=t}function $e(r){for(var e=0;e<r.length;e++)Z.add(r[e]);for(var t of B)t(r)}let H=null,I=!1;function P(r){var e=this,t=e.ownerDocument,n=r.type,i=r.composedPath?.()||[],s=i[0]||r.target;H=r,I||(I=!0,setTimeout(()=>{I=!1,H=null}));var a=0,l=H===r&&r[w];if(l){var c=i.indexOf(l);if(c!==-1&&(e===document||e===window)){r[w]=e;return}var k=i.indexOf(e);if(k===-1)return;c<=k&&(a=c)}if(s=i[a]||r.target,s!==e){ye(r,"currentTarget",{configurable:!0,get(){return s||t}});var v=X,E=b;N(null),D(null);try{for(var d,h=[];s!==null&&s!==e;){try{var o=s[w]?.[n];o!=null&&(!s.disabled||r.target===s)&&o.call(s,r)}catch(f){d?h.push(f):d=f}if(r.cancelBubble)break;a++,s=a<i.length?i[a]:null}if(d){for(let f of h)queueMicrotask(()=>{throw f});throw d}}finally{r[w]=e,delete r.currentTarget,N(v),D(E)}}}const Be=["touchstart","touchmove"];function Pe(r){return Be.includes(r)}function qe(r,e){var t=e==null?"":typeof e=="object"?`${e}`:e;t!==(r[q]??=r.nodeValue)&&(r[q]=t,r.nodeValue=`${t}`)}function Ye(r,e){return ee(r,e)}function Ge(r,e){L(),e.intro=e.intro??!1;const t=e.target,n=g,i=p;try{for(var s=Ee(t);s&&(s.nodeType!==Q||s.data!==Te);)s=we(s);if(!s)throw M;S(!0),O(s);const a=ee(r,{...e,anchor:s});return S(!1),a}catch(a){if(a instanceof Error&&a.message.split(`
|
| 2 |
+
`).some(l=>l.startsWith("https://svelte.dev/e/")))throw a;return a!==M&&console.warn("Failed to hydrate: ",a),e.recover===!1&&ke(),L(),Re(t),S(!1),Ye(r,e)}finally{S(n),O(i)}}const A=new Map;function ee(r,{target:e,anchor:t,props:n={},events:i,context:s,intro:a=!0,transformError:l}){L();var c=void 0,k=Se(()=>{var v=t??e.appendChild(U());Ie(v,{pending:()=>{}},h=>{De({});var o=K;if(s&&(o.c=s),i&&(n.$$events=i),g&&Ce(h,null),c=r(h,n)||{},g&&(b.nodes.end=p,p===null||p.nodeType!==Q||p.data!==Ne))throw Oe(),M;Fe()},l);var E=new Set,d=h=>{for(var o=0;o<h.length;o++){var f=h[o];if(!E.has(f)){E.add(f);var T=Pe(f);for(const F of[e,document]){var y=A.get(F);y===void 0&&(y=new Map,A.set(F,y));var V=y.get(f);V===void 0?(F.addEventListener(f,P,{passive:T}),y.set(f,1)):y.set(f,V+1)}}}};return d(Ae(Z)),B.add(d),()=>{for(var h of E)for(const T of[e,document]){var o=A.get(T),f=o.get(h);--f==0?(T.removeEventListener(h,P),o.delete(h),o.size===0&&A.delete(T)):o.set(h,f)}B.delete(d),v!==t&&v.parentNode?.removeChild(v)}});return Y.set(c,k),c}let Y=new WeakMap;function Je(r,e){const t=Y.get(r);return t?(Y.delete(r),t(e)):Promise.resolve()}export{ze as a,$e as d,je as e,Ge as h,Ye as m,qe as s,Je as u};
|
_app/immutable/chunks/{Cipj2fdW.js → pybtLZpB.js}
RENAMED
|
@@ -1 +1 @@
|
|
| 1 |
-
import{o as
|
|
|
|
| 1 |
+
import{o as m}from"./CYye4kUT.js";import{b1 as p,b2 as N,q as u,g as f,s as d}from"./QoSX5tB3.js";const h=[];function k(e,t=p){let n=null;const s=new Set;function r(o){if(N(e,o)&&(e=o,n)){const c=!h.length;for(const l of s)l[1](),h.push(l,e);if(c){for(let l=0;l<h.length;l+=2)h[l][0](h[l+1]);h.length=0}}}function i(o){r(o(e))}function a(o,c=p){const l=[o,c];return s.add(l),s.size===1&&(n=t(r,i)||p),o(e),()=>{s.delete(l),s.size===0&&n&&(n(),n=null)}}return{set:r,update:i,subscribe:a}}const L="1788944255704",O=globalThis.__sveltekit_uh43yz?.base??"",x=globalThis.__sveltekit_uh43yz?.assets??O??"";new URL("sveltekit-internal://");function H(e,t){return e==="/"||t==="ignore"?e:t==="never"?e.endsWith("/")?e.slice(0,-1):e:t==="always"&&!e.endsWith("/")?e+"/":e}function K(e){return e.split("%25").map(decodeURI).join("%25")}function B(e){for(const t in e)e[t]=decodeURIComponent(e[t]);return e}function D({href:e}){return e.split("#")[0]}function $(){}function q(...e){let t=5381;for(const n of e)if(typeof n=="string"){let s=n.length;for(;s;)t=t*33^n.charCodeAt(--s)}else if(ArrayBuffer.isView(n)){const s=new Uint8Array(n.buffer,n.byteOffset,n.byteLength);let r=s.length;for(;r;)t=t*33^s[--r]}else throw new TypeError("value must be a string or TypedArray");return(t>>>0).toString(36)}new TextEncoder;function C(e){const t=atob(e),n=new Uint8Array(t.length);for(let s=0;s<t.length;s++)n[s]=t.charCodeAt(s);return n}const P=window.fetch;window.fetch=(e,t)=>((e instanceof Request?e.method:t?.method||"GET")!=="GET"&&b.delete(y(e)),P(e,t));const b=new Map;function W(e,t){const n=y(e,t),s=document.querySelector(n);if(s?.textContent){s.remove();let{body:r,...i}=JSON.parse(s.textContent);s.getAttribute("data-b64")!==null&&(r=C(r));const o=s.getAttribute("data-ttl");return o&&b.set(n,{body:r,init:i,ttl:1e3*Number(o)}),Promise.resolve(new Response(r,i))}return window.fetch(e,t)}function X(e,t,n){if(b.size>0){const s=y(e,n),r=b.get(s);if(r){if(performance.now()<r.ttl&&["default","force-cache","only-if-cached",void 0].includes(n?.cache))return new Response(r.body,r.init);b.delete(s)}}return window.fetch(t,n)}function y(e,t){let s=`script[data-sveltekit-fetched][data-url=${JSON.stringify(e instanceof Request?e.url:e)}]`;if(t?.headers||t?.body){const r=[];t.headers&&r.push([...new Headers(t.headers)].join(",")),t.body&&(typeof t.body=="string"||ArrayBuffer.isView(t.body))&&r.push(t.body),s+=`[data-hash="${q(...r)}"]`}return s}const J="sveltekit:snapshot",M="sveltekit:scroll",F="sveltekit:states",Q="sveltekit:pageurl",Z="sveltekit:history",ee="sveltekit:navigation",v={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},E=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...E];const V=new Set([...E]);[...V];const T=location.origin;function te(e){if(e instanceof URL)return e;let t=document.baseURI;if(!t){const n=document.getElementsByTagName("base");t=n.length?n[0].href:document.URL}return new URL(e,t)}function ne(){return{x:pageXOffset,y:pageYOffset}}function g(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const S={...v,"":v.hover};function U(e){let t=e.assignedSlot??e.parentNode;return t?.nodeType===11&&(t=t.host),t}function se(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=U(e)}}function re(e,t,n){let s;try{if(s=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI),n&&s.hash.match(/^#[^/]/)){const o=location.hash.split("#")[1]||"/";s.hash=`#${o}${s.hash}`}}catch{}const r=e instanceof SVGAElement?e.target.baseVal:e.target,i=!s||!!r||j(s,t,n)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),a=s?.origin===T&&e.hasAttribute("download");return{url:s,external:i,target:r,download:a}}function oe(e){let t=null,n=null,s=null,r=null,i=null,a=null,o=e;for(;o&&o!==document.documentElement;)s===null&&(s=g(o,"preload-code")),r===null&&(r=g(o,"preload-data")),t===null&&(t=g(o,"keepfocus")),n===null&&(n=g(o,"noscroll")),i===null&&(i=g(o,"reload")),a===null&&(a=g(o,"replacestate")),o=U(o);function c(l){switch(l){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:S[s??"off"],preload_data:S[r??"off"],keepfocus:c(t),noscroll:c(n),reload:c(i),replace_state:c(a)}}function ae(e){const t=k(e);let n=!0;function s(){n=!0,t.update(a=>a)}function r(a){n=!1,t.set(a)}function i(a){let o;return t.subscribe(c=>{(o===void 0||n&&c!==o)&&a(o=c)})}return{notify:s,set:r,subscribe:i}}const I={v:$};function ie(){const{set:e,subscribe:t}=k(!1);let n;async function s(){clearTimeout(n);try{const r=await fetch(`${x}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!r.ok)return!1;const a=(await r.json()).version!==L;return a&&(e(!0),I.v(),clearTimeout(n)),a}catch{return!1}}return{subscribe:t,check:s}}function j(e,t,n){return e.origin!==T||!e.pathname.startsWith(t)?!0:n?e.pathname!==location.pathname:!1}function le(e){}let w,A,_;const z=m.toString().includes("$$")||/function \w+\(\) \{\}/.test(m.toString()),R="a:";z?(w={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL(R)},A={current:null},_={current:!1}):(w=new class{#e=u({});get data(){return f(this.#e)}set data(t){d(this.#e,t)}#t=u(null);get form(){return f(this.#t)}set form(t){d(this.#t,t)}#n=u(null);get error(){return f(this.#n)}set error(t){d(this.#n,t)}#s=u({});get params(){return f(this.#s)}set params(t){d(this.#s,t)}#r=u({id:null});get route(){return f(this.#r)}set route(t){d(this.#r,t)}#o=u({});get state(){return f(this.#o)}set state(t){d(this.#o,t)}#a=u(-1);get status(){return f(this.#a)}set status(t){d(this.#a,t)}#i=u(new URL(R));get url(){return f(this.#i)}set url(t){d(this.#i,t)}},A=new class{#e=u(null);get current(){return f(this.#e)}set current(t){d(this.#e,t)}},_=new class{#e=u(!1);get current(){return f(this.#e)}set current(t){d(this.#e,t)}},I.v=()=>_.current=!0);function de(e){Object.assign(w,e)}export{Z as H,ee as N,Q as P,F as S,A as a,O as b,oe as c,D as d,B as e,se as f,re as g,H as h,j as i,ie as j,ae as k,v as l,K as m,$ as n,T as o,w as p,J as q,te as r,ne as s,X as t,de as u,W as v,k as w,M as x,le as y};
|
_app/immutable/entry/{app.BkZq8UDI.js → app.BbXm3HMx.js}
RENAMED
|
@@ -1,2 +1,2 @@
|
|
| 1 |
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.
|
| 2 |
-
import{s as k,L as Y,g as f,f as G,d as W,m as z,h as D,a as J,b as K,E as Q,r as X,c as Z,e as $,i as I,H as ee,j as te,p as re,u as se,k as ne,t as ae,l as w,n as oe,o as ce,q as x,v as ie,w as le,x as ue,y as A}from"../chunks/
|
|
|
|
| 1 |
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.GJXvhF-_.js","../chunks/DNDc8P0N.js","../chunks/QoSX5tB3.js","../chunks/BU129qsK.js","../assets/0.COjZ1-Fz.css","../nodes/1.7QgmlAc3.js","../chunks/UPLOOD0p.js","../chunks/pybtLZpB.js","../chunks/CYye4kUT.js","../nodes/2.BstrRI_y.js","../chunks/1Jj3lkh-.js"])))=>i.map(i=>d[i]);
|
| 2 |
+
import{s as k,L as Y,g as f,f as G,d as W,m as z,h as D,a as J,b as K,E as Q,r as X,c as Z,e as $,i as I,H as ee,j as te,p as re,u as se,k as ne,t as ae,l as w,n as oe,o as ce,q as x,v as ie,w as le,x as ue,y as A}from"../chunks/QoSX5tB3.js";import{h as de,m as fe,u as me,s as he}from"../chunks/UPLOOD0p.js";import{a as P,f as V,c as S,t as _e}from"../chunks/DNDc8P0N.js";import{o as ve}from"../chunks/CYye4kUT.js";import{p as T,i as L,b as j}from"../chunks/1Jj3lkh-.js";import{B as ge}from"../chunks/BU129qsK.js";const ye="modulepreload",Ee=function(a,e){return new URL(a,e).href},M={},O=function(e,s,l){let c=Promise.resolve();if(s&&s.length>0){let m=function(o){return Promise.all(o.map(d=>Promise.resolve(d).then(h=>({status:"fulfilled",value:h}),h=>({status:"rejected",reason:h}))))};const r=document.getElementsByTagName("link"),n=document.querySelector("meta[property=csp-nonce]"),E=n?.nonce||n?.getAttribute("nonce");c=m(s.map(o=>{if(o=Ee(o,l),o in M)return;M[o]=!0;const d=o.endsWith(".css"),h=d?'[rel="stylesheet"]':"";if(l)for(let _=r.length-1;_>=0;_--){const i=r[_];if(i.href===o&&(!d||i.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${o}"]${h}`))return;const u=document.createElement("link");if(u.rel=d?"stylesheet":ye,d||(u.as="script"),u.crossOrigin="",u.href=o,E&&u.setAttribute("nonce",E),document.head.appendChild(u),d)return new Promise((_,i)=>{u.addEventListener("load",_),u.addEventListener("error",()=>i(new Error(`Unable to preload CSS for ${o}`)))})}))}function t(r){const n=new Event("vite:preloadError",{cancelable:!0});if(n.payload=r,window.dispatchEvent(n),!n.defaultPrevented)throw r}return c.then(r=>{for(const n of r||[])n.status==="rejected"&&t(n.reason);return e().catch(t)})},Ce={};function be(a){return class extends Pe{constructor(e){super({component:a,...e})}}}class Pe{#t;#e;constructor(e){var s=new Map,l=(t,r)=>{var n=z(r,!1,!1);return s.set(t,n),n};const c=new Proxy({...e.props||{},$$events:{}},{get(t,r){return f(s.get(r)??l(r,Reflect.get(t,r)))},has(t,r){return r===Y?!0:(f(s.get(r)??l(r,Reflect.get(t,r))),Reflect.has(t,r))},set(t,r,n){return k(s.get(r)??l(r,n),n),Reflect.set(t,r,n)}});this.#e=(e.hydrate?de:fe)(e.component,{target:e.target,anchor:e.anchor,props:c,context:e.context,intro:e.intro??!1,recover:e.recover,transformError:e.transformError}),(!e?.props?.$$host||e.sync===!1)&&G(),this.#t=c.$$events;for(const t of Object.keys(this.#e))t==="$set"||t==="$destroy"||t==="$on"||W(this,t,{get(){return this.#e[t]},set(r){this.#e[t]=r},enumerable:!0});this.#e.$set=t=>{Object.assign(c,t)},this.#e.$destroy=()=>{me(this.#e)}}$set(e){this.#e.$set(e)}$on(e,s){this.#t[e]=this.#t[e]||[];const l=(...c)=>s.call(this,...c);return this.#t[e].push(l),()=>{this.#t[e]=this.#t[e].filter(c=>c!==l)}}$destroy(){this.#e.$destroy()}}function C(a,e,s){var l;D&&(l=te,J());var c=new ge(a);K(()=>{var t=e()??null;if(D){var r=X(l),n=r===ee,E=t!==null;if(n!==E){var m=Z();$(m),c.anchor=m,I(!1),c.ensure(t,t&&(o=>s(o,t))),I(!0);return}}c.ensure(t,t&&(o=>s(o,t)))},Q)}var Re=V('<div id="svelte-announcer" aria-live="assertive" aria-atomic="true" style="position: absolute; left: 0; top: 0; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; width: 1px; height: 1px"><!></div>'),pe=V("<!> <!>",1);function we(a,e){re(e,!0);let s=T(e,"components",23,()=>[]),l=T(e,"data_0",3,null),c=T(e,"data_1",3,null);se(()=>e.stores.page.set(e.page)),ne(()=>{e.stores,e.page,e.constructors,s(),e.form,l(),c(),e.stores.page.notify()});let t=x(!1),r=x(!1),n=x(null);ve(()=>{const i=e.stores.page.subscribe(()=>{f(t)&&(k(r,!0),ae().then(()=>{k(n,document.title||"untitled page",!0)}))});return k(t,!0),i});const E=A(()=>e.constructors[1]);var m=pe(),o=w(m);{var d=i=>{const v=A(()=>e.constructors[0]);var g=S(),R=w(g);C(R,()=>f(v),(y,b)=>{j(b(y,{get data(){return l()},get form(){return e.form},get params(){return e.page.params},children:(p,Oe)=>{var N=S(),B=w(N);C(B,()=>f(E),(F,H)=>{j(H(F,{get data(){return c()},get form(){return e.form},get params(){return e.page.params}}),U=>s()[1]=U,()=>s()?.[1])}),P(p,N)},$$slots:{default:!0}}),p=>s()[0]=p,()=>s()?.[0])}),P(i,g)},h=i=>{const v=A(()=>e.constructors[0]);var g=S(),R=w(g);C(R,()=>f(v),(y,b)=>{j(b(y,{get data(){return l()},get form(){return e.form},get params(){return e.page.params}}),p=>s()[0]=p,()=>s()?.[0])}),P(i,g)};L(o,i=>{e.constructors[1]?i(d):i(h,-1)})}var u=oe(o,2);{var _=i=>{var v=Re(),g=ie(v);{var R=y=>{var b=_e();ue(()=>he(b,f(n))),P(y,b)};L(g,y=>{f(r)&&y(R)})}le(v),P(i,v)};L(u,i=>{f(t)&&i(_)})}P(a,m),ce()}const Ne=be(we),De=[()=>O(()=>import("../nodes/0.GJXvhF-_.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url),()=>O(()=>import("../nodes/1.7QgmlAc3.js"),__vite__mapDeps([5,1,2,6,7,8]),import.meta.url),()=>O(()=>import("../nodes/2.BstrRI_y.js"),__vite__mapDeps([9,1,2,6,3,10]),import.meta.url)],Ie=[],Me={"/":[2]},q={handleError:(({error:a})=>{console.error(a)}),reroute:(()=>{}),transport:{}},ke=Object.fromEntries(Object.entries(q.transport).map(([a,e])=>[a,e.decode])),Ve=Object.fromEntries(Object.entries(q.transport).map(([a,e])=>[a,e.encode])),qe=!1,Be=(a,e)=>ke[a](e),Fe=()=>O(()=>import("../chunks/wbPk3Yxo.js"),[],import.meta.url).then(a=>a.default);export{Be as decode,ke as decoders,Me as dictionary,Ve as encoders,Fe as get_error_template,qe as hash,q as hooks,Ce as matchers,De as nodes,Ne as root,Ie as server_loads};
|
_app/immutable/entry/{start.DtetovW9.js → start.3RSwzIUB.js}
RENAMED
|
@@ -1 +1 @@
|
|
| 1 |
-
import{t as Q,b0 as rt}from"../chunks/Dnoir60M.js";import{H as $,N as Y,r as De,n as C,i as we,b as R,s as j,a as pe,f as qe,g as me,c as Z,d as ue,S as Ke,P as ot,p as P,e as st,h as it,u as Me,o as ct,j as lt,w as ft,k as Ie,l as F,m as ut,q as Fe,t as dt,v as ht,x as He}from"../chunks/Cipj2fdW.js";import{y as Jt}from"../chunks/Cipj2fdW.js";const pt=/^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/,mt=/^\/\((?:[^)]+)\)$/;function _t(e){const t=[];return{pattern:e==="/"||mt.test(e)?/^\/$/:new RegExp(`^${vt(e).map(n=>{const o=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(n);if(o)return t.push({name:o[1],matcher:o[2],optional:!1,rest:!0,chained:!0}),"(?:/([^]*))?";const i=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(n);if(i)return t.push({name:i[1],matcher:i[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!n)return;const r=n.split(/\[(.+?)\](?!\])/);return"/"+r.map((c,l)=>{if(l%2){if(c.startsWith("x+"))return de(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return de(String.fromCharCode(...c.slice(2).split("-").map(_=>parseInt(_,16))));const f=pt.exec(c),[,p,v,d,u]=f;return t.push({name:d,matcher:u,optional:!!p,rest:!!v,chained:v?l===1&&r[0]==="":!1}),v?"([^]*?)":p?"([^/]*)?":"([^/]+?)"}return de(c)}).join("")}).join("")}/?$`),params:t}}function gt(e){return e!==""&&!/^\([^)]+\)$/.test(e)}function vt(e){return e.slice(1).split("/").filter(gt)}function wt(e,t,a){const n={},o=e.slice(1),i=o.filter(s=>s!==void 0);let r=0;for(let s=0;s<t.length;s+=1){const c=t[s];let l=o[s-r];if(c.chained&&c.rest&&r&&(l=o.slice(s-r,s+1).filter(f=>f).join("/"),r=0),l===void 0)if(c.rest)l="";else continue;if(!c.matcher||a[c.matcher](l)){n[c.name]=l;const f=t[s+1],p=o[s+1];f&&!f.rest&&f.optional&&p&&c.chained&&(r=0),!f&&!p&&Object.keys(n).length===i.length&&(r=0);continue}if(c.optional&&c.chained){r++;continue}return}if(!r)return n}function de(e){return e.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}class ye{constructor(t,a){this.status=t,typeof a=="string"?this.body={message:a}:a?this.body=a:this.body={message:`Error: ${t}`}}toString(){return JSON.stringify(this.body)}}class be{constructor(t,a){try{new Headers({location:a})}catch{throw new Error(`Invalid redirect location ${JSON.stringify(a)}: this string contains characters that cannot be used in HTTP headers`)}this.status=t,this.location=a}}class Ee extends Error{constructor(t,a,n){super(n),this.status=t,this.text=a}}function yt({nodes:e,server_loads:t,dictionary:a,matchers:n}){const o=new Set(t);return Object.entries(a).map(([s,[c,l,f]])=>{const{pattern:p,params:v}=_t(s),d={id:s,exec:u=>{const _=p.exec(u);if(_)return wt(_,v,n)},errors:[1,...f||[]].map(u=>e[u]),layouts:[0,...l||[]].map(r),leaf:i(c)};return d.errors.length=d.layouts.length=Math.max(d.errors.length,d.layouts.length),d});function i(s){const c=s<0;return c&&(s=~s),[c,e[s]]}function r(s){return s===void 0?s:[o.has(s),e[s]]}}function Be(e,t=JSON.parse){try{return t(sessionStorage[e])}catch{}}function Oe(e,t,a=JSON.stringify){const n=a(t);try{sessionStorage[e]=n}catch{}}function bt(e){return e.filter(t=>t!=null)}function G(e,t){return e+"/"+t}function ke(e){return e instanceof ye||e instanceof Ee?e.status:500}function Et(e){return e instanceof Ee?e.text:"Internal Error"}const kt=new Set(["icon","shortcut icon","apple-touch-icon"]);let H=null;const O=Be(He)??{},z=Be(Fe)??{},I={url:Ie({}),page:Ie({}),navigating:ft(null),updated:lt()};function Se(e){O[e]=j()}function St(e,t){let a=e+1;for(;O[a];)delete O[a],a+=1;for(a=t+1;z[a];)delete z[a],a+=1}function J(e,t=!1){return t?location.replace(e.href):location.href=e.href,new Promise(C)}async function Ve(){if("serviceWorker"in navigator){const e=await navigator.serviceWorker.getRegistration(R||"/");e&&await e.update()}}let xe,_e,ee,L,ge,w;const te=[],ae=[];let S=null;function ne(){S?.fork?.then(e=>e?.discard()),S=null,N={element:void 0,href:void 0}}const X=new Map,Ye=new Set,xt=new Set,V=new Set;let g={branch:[],error:null,url:null},ze=!1,re=!1,Ce=!0,W=!1,B=!1,Je=!1,Re=!1,We,y,x,U;const oe=new Set,je=new Map,Ne=new Map;async function Vt(e,t,a){if(globalThis.__sveltekit_o8xm50.data){const{q:i={},p:r={},l:s={},f:c={}}=globalThis.__sveltekit_o8xm50.data;for(const l in i)i[l];for(const l in s)s[l];for(const l in c)c[l];for(const l in r)r[l]}document.URL!==location.href&&(location.href=location.href),w=e,await e.hooks.init?.(),xe=yt(e),L=document.documentElement,ge=t,_e=e.nodes[0],ee=e.nodes[1],_e(),ee(),y=history.state?.[$],x=history.state?.[Y],y||(y=x=Date.now(),history.replaceState({...history.state,[$]:y,[Y]:x},""));const n=O[y];function o(){n&&(history.scrollRestoration="manual",scrollTo(n.x,n.y))}a?(o(),await qt(ge,a)):(await D({type:"enter",url:De(w.hash?Ft(new URL(location.href)):location.href),replace_state:!0}),o()),Dt()}function Rt(){te.length=0,Re=!1}function Ge(e){ae.some(t=>t?.snapshot)&&(z[e]=ae.map(t=>t?.snapshot?.capture()))}function Xe(e){z[e]?.forEach((t,a)=>{ae[a]?.snapshot?.restore(t)})}function $e(){Se(y),Oe(He,O),Ge(x),Oe(Fe,z)}async function Lt(e,t,a,n){let o,i;t.invalidateAll&&ne(),await D({type:"goto",url:De(e),keepfocus:t.keepFocus,noscroll:t.noScroll,replace_state:t.replaceState,state:t.state,redirect_count:a,nav_token:n,accept:()=>{if(t.invalidateAll){Re=!0,o=new Set;for(const[r,s]of je)for(const[c,l]of s)l.resource?.reset(),o.add(G(r,c));i=new Set;for(const[r,s]of Ne)for(const c of s.keys())i.add(G(r,c))}t.invalidate&&t.invalidate.forEach($t)}}),t.invalidateAll&&Q().then(Q).then(()=>{for(const[r,s]of je)for(const[c,{resource:l}]of s)o?.has(G(r,c))&&l.start();for(const[r,s]of Ne)for(const[c,{resource:l}]of s)i?.has(G(r,c))&&l.reconnect()})}async function Pt(e){if(e.id!==S?.id){ne();const t={};oe.add(t),S={id:e.id,token:t,promise:Ze({...e,preload:t}).then(a=>(oe.delete(t),a.type==="loaded"&&a.state.error&&ne(),a)),fork:null}}return S.promise}async function he(e){const t=(await ce(e,!1))?.route;t&&await Promise.all([...t.layouts,t.leaf].filter(Boolean).map(a=>a[1]()))}async function Qe(e,t,a){const n={params:g.params,route:{id:g.route?.id??null},url:new URL(location.href)};if(g={...e.state,nav:n},Me(e.props.page),We=new w.root({target:t,props:{...e.props,stores:I,components:ae},hydrate:a,sync:!1,transformError:void 0}),await Promise.resolve(),a){const o={from:null,to:{...n,scroll:O[y]??j()},willUnload:!1,type:"enter",complete:Promise.resolve()};V.forEach(i=>i(o))}Xe(x),re=!0}async function se({url:e,params:t,branch:a,errors:n,status:o,error:i,route:r,form:s}){let c="never";if(R&&(e.pathname===R||e.pathname===R+"/"))c="always";else for(const u of a)u?.slash!==void 0&&(c=u.slash);e.pathname=it(e.pathname,c),e.search=e.search;const l={type:"loaded",state:{url:e,params:t,branch:a,error:i,route:r},props:{constructors:bt(a).map(u=>u.node.component),page:Ue(P)}};s!==void 0&&(l.props.form=s);let f={},p=!P,v=0;for(let u=0;u<Math.max(a.length,g.branch.length);u+=1){const _=a[u],m=g.branch[u];_?.data!==m?.data&&(p=!0),_&&(f={...f,..._.data},p&&(l.props[`data_${v}`]=f),v+=1)}return(!g.url||e.href!==g.url.href||g.error!==i||s!==void 0&&s!==P.form||p)&&(l.props.page={error:i,params:t,route:{id:r?.id??null},state:{},status:o,url:new URL(e),form:s??null,data:p?f:P.data}),l}async function Le({loader:e,parent:t,url:a,params:n,route:o,server_data_node:i}){let r=null;const s={dependencies:new Set,params:new Set,parent:!1,route:!1,url:!1,search_params:new Set},c=await e();return{node:c,loader:e,server:i,universal:c.universal?.load?{type:"data",data:r,uses:s}:null,data:r??i?.data??null,slash:c.universal?.trailingSlash??i?.slash}}function Tt(e,t,a){let n=e instanceof Request?e.url:e;const o=new URL(n,a);o.origin===a.origin&&(n=o.href.slice(a.origin.length));const i=re?dt(n,o.href,t):ht(n,t);return{resolved:o,promise:i}}function At(e,t,a,n,o,i){if(Re)return!0;if(!o)return!1;if(o.parent&&e||o.route&&t||o.url&&a)return!0;for(const r of o.search_params)if(n.has(r))return!0;for(const r of o.params)if(i[r]!==g.params[r])return!0;for(const r of o.dependencies)if(te.some(s=>s(new URL(r))))return!0;return!1}function Pe(e,t){return e?.type==="data"?e:e?.type==="skip"?t??null:null}function Ut(e,t){if(!e)return new Set(t.searchParams.keys());const a=new Set([...e.searchParams.keys(),...t.searchParams.keys()]);for(const n of a){const o=e.searchParams.getAll(n),i=t.searchParams.getAll(n);o.every(r=>i.includes(r))&&i.every(r=>o.includes(r))&&a.delete(n)}return a}function It({error:e,url:t,route:a,params:n}){return{type:"loaded",state:{error:e,url:t,route:a,params:n,branch:[]},props:{page:Ue(P),constructors:[]}}}async function Ze({id:e,invalidating:t,url:a,params:n,route:o,preload:i}){if(S?.id===e)return oe.delete(S.token),S.promise;const{errors:r,layouts:s,leaf:c}=o,l=[...s,c];r.forEach(m=>m?.().catch(C)),l.forEach(m=>m?.[1]().catch(C));const f=g.url?e!==ie(g.url):!1,p=g.route?o.id!==g.route.id:!1,v=Ut(g.url,a);let d=!1;const u=l.map(async(m,h)=>{if(!m)return;const b=g.branch[h];return m[1]===b?.loader&&!At(d,p,f,v,b.universal?.uses,n)?b:(d=!0,Le({loader:m[1],url:a,params:n,route:o,parent:async()=>{const T={};for(let A=0;A<h;A+=1)Object.assign(T,(await u[A])?.data);return T},server_data_node:Pe(m[0]?{type:"skip"}:null,m[0]?b?.server:void 0)}))});for(const m of u)m.catch(C);const _=[];for(let m=0;m<l.length;m+=1)if(l[m])try{_.push(await u[m])}catch(h){if(h instanceof be)return{type:"redirect",location:h.location};if(i&&oe.has(i))return It({error:await q(h,{params:n,url:a,route:{id:o.id}}),url:a,params:n,route:o});let b=ke(h),k;if(h instanceof ye)k=h.body;else{if(await I.updated.check())return await Ve(),await J(a);k=await q(h,{params:n,url:a,route:{id:o.id}})}const T=await Ot(m,_,r);return T?se({url:a,params:n,branch:_.slice(0,T.idx).concat(T.node),errors:r,status:b,error:k,route:o}):await tt(a,{id:o.id},k,b)}else _.push(void 0);return se({url:a,params:n,branch:_,errors:r,status:200,error:null,route:o,form:t?void 0:null})}async function Ot(e,t,a){for(;e--;)if(a[e]){let n=e;for(;!t[n];)n-=1;try{return{idx:n+1,node:{node:await a[e](),loader:a[e],data:{},server:null,universal:null}}}catch{continue}}}async function Te({status:e,error:t,url:a,route:n}){const o={};let i=null;try{const r=await Le({loader:_e,url:a,params:o,route:n,parent:()=>Promise.resolve({}),server_data_node:Pe(i)}),s={node:await ee(),loader:ee,universal:null,server:null,data:null};return se({url:a,params:o,branch:[r,s],status:e,error:t,errors:[],route:null})}catch(r){if(r instanceof be){await Lt(new URL(r.location,location.href),{},0);return}const s=await w.get_error_template(),c=await q(r,{url:a,params:o,route:n}),l=String(c?.message??"").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">"),f=s({status:e,message:l}),p=new DOMParser().parseFromString(f,"text/html");throw document.documentElement.replaceChild(document.adoptNode(p.head),document.head),document.documentElement.replaceChild(document.adoptNode(p.body),document.body),r}}async function Ct(e){const t=e.href;if(X.has(t))return X.get(t);let a;try{const n=(async()=>{let o=await w.hooks.reroute({url:new URL(e),fetch:async(i,r)=>Tt(i,r,e).promise})??e;if(typeof o=="string"){const i=new URL(e);w.hash?i.hash=o:i.pathname=o,o=i}return o})();X.set(t,n),a=await n}catch{X.delete(t);return}return a}async function ce(e,t){if(e&&!we(e,R,w.hash)){const a=await Ct(e);if(!a)return;const n=jt(a);for(const o of xe){const i=o.exec(n);if(i)return{id:ie(e),invalidating:t,route:o,params:st(i),url:e}}}}function jt(e){return ut(w.hash?e.hash.replace(/^#/,"").replace(/[?#].+/,""):e.pathname.slice(R.length))||"/"}function ie(e){return(w.hash?e.hash.replace(/^#/,""):e.pathname)+e.search}function et({url:e,type:t,intent:a,delta:n,event:o,scroll:i}){let r=!1;const s=Ae(g,a,e,t,i??null);n!==void 0&&(s.navigation.delta=n),o!==void 0&&(s.navigation.event=o);const c={...s.navigation,cancel:()=>{r=!0,s.reject(new Error("navigation cancelled"))}};return W||Ye.forEach(l=>l(c)),r?null:s}async function D({type:e,url:t,popped:a,keepfocus:n,noscroll:o,replace_state:i,state:r={},redirect_count:s=0,nav_token:c={},accept:l=C,block:f=C,event:p}){const v=U;U=c;const d=await ce(t,!1),u=e==="enter"?Ae(g,d,t,e):et({url:t,type:e,delta:a?.delta,intent:d,scroll:a?.scroll,event:p});if(!u){f(),U===c&&(U=v);return}const _=y,m=x;l(),W=!0,re&&u.navigation.type!=="enter"&&I.navigating.set(pe.current=u.navigation);let h=d&&await Ze(d);if(!h){if(we(t,R,w.hash))return await J(t,i);h=await tt(t,{id:null},await q(new Ee(404,"Not Found",`Not found: ${t.pathname}`),{url:t,params:{},route:{id:null}}),404,i)}if(t=d?.url||t,U!==c){u.reject(new Error("navigation aborted"));return}if(!h)return;if(h.type==="redirect"){if(s<20){await D({type:e,url:new URL(h.location,t),popped:a,keepfocus:n,noscroll:o,replace_state:i,state:r,redirect_count:s+1,nav_token:c}),u.fulfil(void 0);return}if(h=await Te({status:500,error:await q(new Error("Redirect loop"),{url:t,params:{},route:{id:null}}),url:t,route:{id:null}}),!h)return}else if(h.props.page.status>=400&&await I.updated.check())return await Ve(),await J(t,i);if(Rt(),Se(_),Ge(m),h.props.page.url.pathname!==t.pathname&&(t.pathname=h.props.page.url.pathname),r=a?a.state:r,!a){const E=i?0:1,K={[$]:y+=E,[Y]:x+=E,[Ke]:r};(i?history.replaceState:history.pushState).call(history,K,"",t),i||St(y,x)}const b=d&&S?.id===d.id?S.fork:null;S?.fork&&!b?ne():(S=null,N={element:void 0,href:void 0}),h.props.page.state=r;let k;if(re){const E=(await Promise.all(Array.from(xt,M=>M(u.navigation)))).filter(M=>typeof M=="function");if(E.length>0){let M=function(){E.forEach(fe=>{V.delete(fe)})};E.push(M),E.forEach(fe=>{V.add(fe)})}const K=u.navigation.to;g={...h.state,nav:{params:K.params,route:K.route,url:K.url}},h.props.page&&(h.props.page.url=t),!n&&document.activeElement instanceof HTMLElement&&document.activeElement!==document.body&&document.activeElement.blur();const le=b&&await b;le?k=le.commit():(H=null,We.$set(h.props),H&&Object.assign(h.props.page,H),Me(h.props.page),k=rt?.()),Je=!0}else await Qe(h,ge,!1);const{activeElement:T}=document;if(await k,await Q(),await Q(),U!==c){u.reject(new Error("navigation aborted"));return}h.props.page&&H&&Object.assign(h.props.page,H);let A=null;if(Ce){const E=a?a.scroll:o?j():null;E?scrollTo(E.x,E.y):(A=t.hash&&document.getElementById(at(t)))?A.scrollIntoView():scrollTo(0,0)}const nt=document.activeElement!==T&&document.activeElement!==document.body;!n&&!nt&&Mt(t,!A),Ce=!0,W=!1,u.fulfil(void 0),u.navigation.to&&(u.navigation.to.scroll=j()),V.forEach(E=>E(u.navigation)),e==="popstate"&&Xe(x),I.navigating.set(pe.current=null)}async function tt(e,t,a,n,o){return e.origin===ct&&e.pathname===location.pathname&&!ze?await Te({status:n,error:a,url:e,route:t}):await J(e,o)}let N={element:void 0,href:void 0};function Nt(){let e,t;L.addEventListener("mousemove",r=>{const s=r.target;clearTimeout(e),e=setTimeout(()=>{o(s,F.hover)},20)});function a(r){r.defaultPrevented||o(r.composedPath()[0],F.tap)}L.addEventListener("mousedown",a),L.addEventListener("touchstart",a,{passive:!0});const n=new IntersectionObserver(r=>{for(const s of r)s.isIntersecting&&(he(new URL(s.target.href)),n.unobserve(s.target))},{threshold:0});async function o(r,s){const c=qe(r,L),l=c===N.element&&c?.href===N.href&&s>=t;if(!c||l)return;const{url:f,external:p,download:v}=me(c,R,w.hash);if(p||v)return;const d=Z(c),u=f&&ie(g.url)===ie(f);if(!(d.reload||u))if(s<=d.preload_data){N={element:c,href:c.href},t=F.tap;const _=await ce(f,!1);if(!_)return;Pt(_)}else s<=d.preload_code&&(N={element:c,href:c.href},t=s,he(f))}function i(){n.disconnect();for(const r of L.querySelectorAll("a")){const{url:s,external:c,download:l}=me(r,R,w.hash);if(c||l)continue;const f=Z(r);f.reload||(f.preload_code===F.viewport&&n.observe(r),f.preload_code===F.eager&&he(s))}}V.add(i),i()}function q(e,t){if(e instanceof ye)return e.body;const a=ke(e),n=Et(e);return w.hooks.handleError({error:e,event:t,status:a,message:n})??{message:n}}function $t(e){if(typeof e=="function")te.push(e);else{const{href:t}=new URL(e,location.href);te.push(a=>a.href===t)}}function Dt(){history.scrollRestoration="manual",addEventListener("beforeunload",t=>{let a=!1;if($e(),!W){const n=Ae(g,void 0,null,"leave"),o={...n.navigation,cancel:()=>{a=!0,n.reject(new Error("navigation cancelled"))}};Ye.forEach(i=>i(o))}a?(t.preventDefault(),t.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&$e()}),navigator.connection?.saveData||Nt(),L.addEventListener("click",async t=>{if(t.button||t.which!==1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.defaultPrevented)return;const a=qe(t.composedPath()[0],L);if(!a)return;const{url:n,external:o,target:i,download:r}=me(a,R,w.hash);if(!n)return;if(i==="_parent"||i==="_top"){if(window.parent!==window)return}else if(i&&i!=="_self")return;const s=Z(a);if(!(a instanceof SVGAElement)&&n.protocol!==location.protocol&&!(n.protocol==="https:"||n.protocol==="http:")||r)return;const[l,f]=(w.hash?n.hash.replace(/^#/,""):n.href).split("#"),p=l===ue(location);if(o||s.reload&&(!p||!f)){et({url:n,type:"link",event:t})?W=!0:t.preventDefault();return}if(f!==void 0&&p){const[,v]=g.url.href.split("#");if(v===f){if(t.preventDefault(),f===""||f==="top"&&a.ownerDocument.getElementById("top")===null)scrollTo({top:0});else{const d=a.ownerDocument.getElementById(decodeURIComponent(f));d&&(d.scrollIntoView(),d.focus())}return}if(B=!0,Se(y),e(n),!s.replace_state)return;B=!1}t.preventDefault(),await new Promise(v=>{requestAnimationFrame(()=>{setTimeout(v,0)}),setTimeout(v,100)}),await D({type:"link",url:n,keepfocus:s.keepfocus,noscroll:s.noscroll,replace_state:s.replace_state??n.href===location.href,event:t})}),L.addEventListener("submit",t=>{if(t.defaultPrevented)return;const a=HTMLFormElement.prototype.cloneNode.call(t.target),n=t.submitter;if((n?.formTarget||a.target)==="_blank"||(n?.formMethod||a.method)!=="get")return;const r=new URL(n?.hasAttribute("formaction")&&n?.formAction||a.action);if(we(r,R,!1))return;const s=t.target,c=Z(s);if(c.reload)return;t.preventDefault(),t.stopPropagation();const l=new FormData(s,n);r.search=new URLSearchParams(l).toString(),D({type:"form",url:r,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??r.href===location.href,event:t})}),addEventListener("popstate",async t=>{if(!ve){if(t.state?.[$]){const a=t.state[$];if(U={},a===y)return;const n=O[a],o=t.state[Ke]??{},i=new URL(t.state[ot]??location.href),r=t.state[Y],s=g.url?ue(location)===ue(g.url):!1;if(r===x&&(Je||s)){o!==P.state&&(P.state=o),e(i),O[y]=j(),n&&scrollTo(n.x,n.y),y=a;return}const l=a-y;await D({type:"popstate",url:i,popped:{state:o,scroll:n,delta:l},accept:()=>{y=a,x=r},block:()=>{history.go(-l)},nav_token:U,event:t})}else if(!B){const a=new URL(location.href);e(a),w.hash&&location.reload()}}}),addEventListener("hashchange",()=>{B&&(B=!1,history.replaceState({...history.state,[$]:++y,[Y]:x},"",location.href))});for(const t of document.querySelectorAll("link"))kt.has(t.rel)&&(t.href=t.href);addEventListener("pageshow",t=>{t.persisted&&I.navigating.set(pe.current=null)});function e(t){g.url=P.url=t,I.page.set(Ue(P)),I.page.notify()}}async function qt(e,{status:t=200,error:a,node_ids:n,params:o,route:i,server_route:r,data:s,form:c}){ze=!0;const l=new URL(location.href);let f;({params:o={},route:i={id:null}}=await ce(l,!1)||{}),f=xe.find(({id:d})=>d===i.id);let p,v=!0;try{const d=n.map(async(_,m)=>{const h=s[m];return h?.uses&&(h.uses=Kt(h.uses)),Le({loader:w.nodes[_],url:l,params:o,route:i,parent:async()=>{const b={};for(let k=0;k<m;k+=1)Object.assign(b,(await d[k]).data);return b},server_data_node:Pe(h)})}),u=await Promise.all(d);if(f){const _=f.layouts;for(let m=0;m<_.length;m++)_[m]||u.splice(m,0,void 0)}p=await se({url:l,params:o,branch:u,status:t,error:a,errors:f?.errors,form:c,route:f??null})}catch(d){if(d instanceof be)return await J(new URL(d.location,location.href));p=await Te({status:ke(d),error:await q(d,{url:l,params:o,route:i}),url:l,route:i}),e.textContent="",v=!1}p&&(p.props.page&&(p.props.page.state={}),await Qe(p,e,v))}function Kt(e){return{dependencies:new Set(e?.dependencies??[]),params:new Set(e?.params??[]),parent:!!e?.parent,route:!!e?.route,url:!!e?.url,search_params:new Set(e?.search_params??[])}}let ve=!1;function Mt(e,t=!0){const a=document.querySelector("[autofocus]");if(a)a.focus();else{const n=at(e);if(n&&document.getElementById(n)){const{x:i,y:r}=j();setTimeout(()=>{const s=history.state;ve=!0,location.replace(new URL(`#${n}`,location.href)),history.replaceState(s,"",e),t&&scrollTo(i,r),ve=!1})}else{const i=document.body,r=i.getAttribute("tabindex");i.tabIndex=-1,i.focus({preventScroll:!0,focusVisible:!1}),r!==null?i.setAttribute("tabindex",r):i.removeAttribute("tabindex")}const o=getSelection();if(o&&o.type!=="None"){const i=[];for(let r=0;r<o.rangeCount;r+=1)i.push(o.getRangeAt(r));setTimeout(()=>{if(o.rangeCount===i.length){for(let r=0;r<o.rangeCount;r+=1){const s=i[r],c=o.getRangeAt(r);if(s.commonAncestorContainer!==c.commonAncestorContainer||s.startContainer!==c.startContainer||s.endContainer!==c.endContainer||s.startOffset!==c.startOffset||s.endOffset!==c.endOffset)return}o.removeAllRanges()}})}}}function Ae(e,t,a,n,o=null){let i,r;const s=new Promise((l,f)=>{i=l,r=f});return s.catch(C),{navigation:{from:{params:e.params,route:{id:e.route?.id??null},url:e.url,scroll:j()},to:a&&{params:t?.params??null,route:{id:t?.route?.id??null},url:a,scroll:o},willUnload:!t,type:n,complete:s},fulfil:i,reject:r}}function Ue(e){return{data:e.data,error:e.error,form:e.form,params:e.params,route:e.route,state:e.state,status:e.status,url:e.url}}function Ft(e){const t=new URL(e);return t.hash=decodeURIComponent(e.hash),t}function at(e){let t;if(w.hash){const[,,a]=e.hash.split("#",3);t=a??""}else t=e.hash.slice(1);return decodeURIComponent(t)}export{Jt as load_css,Vt as start};
|
|
|
|
| 1 |
+
import{t as Q,b0 as rt}from"../chunks/QoSX5tB3.js";import{H as $,N as V,r as De,n as C,i as we,b as R,s as j,a as pe,f as qe,g as me,c as Z,d as ue,S as Ke,P as ot,p as P,e as st,h as it,u as Me,o as ct,j as lt,w as ft,k as Ie,l as F,m as ut,q as Fe,t as dt,v as ht,x as He}from"../chunks/pybtLZpB.js";import{y as Jt}from"../chunks/pybtLZpB.js";const pt=/^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/,mt=/^\/\((?:[^)]+)\)$/;function _t(e){const t=[];return{pattern:e==="/"||mt.test(e)?/^\/$/:new RegExp(`^${vt(e).map(n=>{const o=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(n);if(o)return t.push({name:o[1],matcher:o[2],optional:!1,rest:!0,chained:!0}),"(?:/([^]*))?";const i=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(n);if(i)return t.push({name:i[1],matcher:i[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!n)return;const r=n.split(/\[(.+?)\](?!\])/);return"/"+r.map((c,l)=>{if(l%2){if(c.startsWith("x+"))return de(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return de(String.fromCharCode(...c.slice(2).split("-").map(_=>parseInt(_,16))));const f=pt.exec(c),[,p,v,d,u]=f;return t.push({name:d,matcher:u,optional:!!p,rest:!!v,chained:v?l===1&&r[0]==="":!1}),v?"([^]*?)":p?"([^/]*)?":"([^/]+?)"}return de(c)}).join("")}).join("")}/?$`),params:t}}function gt(e){return e!==""&&!/^\([^)]+\)$/.test(e)}function vt(e){return e.slice(1).split("/").filter(gt)}function wt(e,t,a){const n={},o=e.slice(1),i=o.filter(s=>s!==void 0);let r=0;for(let s=0;s<t.length;s+=1){const c=t[s];let l=o[s-r];if(c.chained&&c.rest&&r&&(l=o.slice(s-r,s+1).filter(f=>f).join("/"),r=0),l===void 0)if(c.rest)l="";else continue;if(!c.matcher||a[c.matcher](l)){n[c.name]=l;const f=t[s+1],p=o[s+1];f&&!f.rest&&f.optional&&p&&c.chained&&(r=0),!f&&!p&&Object.keys(n).length===i.length&&(r=0);continue}if(c.optional&&c.chained){r++;continue}return}if(!r)return n}function de(e){return e.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}class ye{constructor(t,a){this.status=t,typeof a=="string"?this.body={message:a}:a?this.body=a:this.body={message:`Error: ${t}`}}toString(){return JSON.stringify(this.body)}}class be{constructor(t,a){try{new Headers({location:a})}catch{throw new Error(`Invalid redirect location ${JSON.stringify(a)}: this string contains characters that cannot be used in HTTP headers`)}this.status=t,this.location=a}}class Ee extends Error{constructor(t,a,n){super(n),this.status=t,this.text=a}}function yt({nodes:e,server_loads:t,dictionary:a,matchers:n}){const o=new Set(t);return Object.entries(a).map(([s,[c,l,f]])=>{const{pattern:p,params:v}=_t(s),d={id:s,exec:u=>{const _=p.exec(u);if(_)return wt(_,v,n)},errors:[1,...f||[]].map(u=>e[u]),layouts:[0,...l||[]].map(r),leaf:i(c)};return d.errors.length=d.layouts.length=Math.max(d.errors.length,d.layouts.length),d});function i(s){const c=s<0;return c&&(s=~s),[c,e[s]]}function r(s){return s===void 0?s:[o.has(s),e[s]]}}function ze(e,t=JSON.parse){try{return t(sessionStorage[e])}catch{}}function Oe(e,t,a=JSON.stringify){const n=a(t);try{sessionStorage[e]=n}catch{}}function bt(e){return e.filter(t=>t!=null)}function G(e,t){return e+"/"+t}function ke(e){return e instanceof ye||e instanceof Ee?e.status:500}function Et(e){return e instanceof Ee?e.text:"Internal Error"}const kt=new Set(["icon","shortcut icon","apple-touch-icon"]);let H=null;const O=ze(He)??{},Y=ze(Fe)??{},I={url:Ie({}),page:Ie({}),navigating:ft(null),updated:lt()};function Se(e){O[e]=j()}function St(e,t){let a=e+1;for(;O[a];)delete O[a],a+=1;for(a=t+1;Y[a];)delete Y[a],a+=1}function J(e,t=!1){return t?location.replace(e.href):location.href=e.href,new Promise(C)}async function Be(){if("serviceWorker"in navigator){const e=await navigator.serviceWorker.getRegistration(R||"/");e&&await e.update()}}let xe,_e,ee,L,ge,w;const te=[],ae=[];let S=null;function ne(){S?.fork?.then(e=>e?.discard()),S=null,N={element:void 0,href:void 0}}const X=new Map,Ve=new Set,xt=new Set,B=new Set;let g={branch:[],error:null,url:null},Ye=!1,re=!1,Ce=!0,W=!1,z=!1,Je=!1,Re=!1,We,y,x,U;const oe=new Set,je=new Map,Ne=new Map;async function Bt(e,t,a){if(globalThis.__sveltekit_uh43yz.data){const{q:i={},p:r={},l:s={},f:c={}}=globalThis.__sveltekit_uh43yz.data;for(const l in i)i[l];for(const l in s)s[l];for(const l in c)c[l];for(const l in r)r[l]}document.URL!==location.href&&(location.href=location.href),w=e,await e.hooks.init?.(),xe=yt(e),L=document.documentElement,ge=t,_e=e.nodes[0],ee=e.nodes[1],_e(),ee(),y=history.state?.[$],x=history.state?.[V],y||(y=x=Date.now(),history.replaceState({...history.state,[$]:y,[V]:x},""));const n=O[y];function o(){n&&(history.scrollRestoration="manual",scrollTo(n.x,n.y))}a?(o(),await qt(ge,a)):(await D({type:"enter",url:De(w.hash?Ft(new URL(location.href)):location.href),replace_state:!0}),o()),Dt()}function Rt(){te.length=0,Re=!1}function Ge(e){ae.some(t=>t?.snapshot)&&(Y[e]=ae.map(t=>t?.snapshot?.capture()))}function Xe(e){Y[e]?.forEach((t,a)=>{ae[a]?.snapshot?.restore(t)})}function $e(){Se(y),Oe(He,O),Ge(x),Oe(Fe,Y)}async function Lt(e,t,a,n){let o,i;t.invalidateAll&&ne(),await D({type:"goto",url:De(e),keepfocus:t.keepFocus,noscroll:t.noScroll,replace_state:t.replaceState,state:t.state,redirect_count:a,nav_token:n,accept:()=>{if(t.invalidateAll){Re=!0,o=new Set;for(const[r,s]of je)for(const[c,l]of s)l.resource?.reset(),o.add(G(r,c));i=new Set;for(const[r,s]of Ne)for(const c of s.keys())i.add(G(r,c))}t.invalidate&&t.invalidate.forEach($t)}}),t.invalidateAll&&Q().then(Q).then(()=>{for(const[r,s]of je)for(const[c,{resource:l}]of s)o?.has(G(r,c))&&l.start();for(const[r,s]of Ne)for(const[c,{resource:l}]of s)i?.has(G(r,c))&&l.reconnect()})}async function Pt(e){if(e.id!==S?.id){ne();const t={};oe.add(t),S={id:e.id,token:t,promise:Ze({...e,preload:t}).then(a=>(oe.delete(t),a.type==="loaded"&&a.state.error&&ne(),a)),fork:null}}return S.promise}async function he(e){const t=(await ce(e,!1))?.route;t&&await Promise.all([...t.layouts,t.leaf].filter(Boolean).map(a=>a[1]()))}async function Qe(e,t,a){const n={params:g.params,route:{id:g.route?.id??null},url:new URL(location.href)};if(g={...e.state,nav:n},Me(e.props.page),We=new w.root({target:t,props:{...e.props,stores:I,components:ae},hydrate:a,sync:!1,transformError:void 0}),await Promise.resolve(),a){const o={from:null,to:{...n,scroll:O[y]??j()},willUnload:!1,type:"enter",complete:Promise.resolve()};B.forEach(i=>i(o))}Xe(x),re=!0}async function se({url:e,params:t,branch:a,errors:n,status:o,error:i,route:r,form:s}){let c="never";if(R&&(e.pathname===R||e.pathname===R+"/"))c="always";else for(const u of a)u?.slash!==void 0&&(c=u.slash);e.pathname=it(e.pathname,c),e.search=e.search;const l={type:"loaded",state:{url:e,params:t,branch:a,error:i,route:r},props:{constructors:bt(a).map(u=>u.node.component),page:Ue(P)}};s!==void 0&&(l.props.form=s);let f={},p=!P,v=0;for(let u=0;u<Math.max(a.length,g.branch.length);u+=1){const _=a[u],m=g.branch[u];_?.data!==m?.data&&(p=!0),_&&(f={...f,..._.data},p&&(l.props[`data_${v}`]=f),v+=1)}return(!g.url||e.href!==g.url.href||g.error!==i||s!==void 0&&s!==P.form||p)&&(l.props.page={error:i,params:t,route:{id:r?.id??null},state:{},status:o,url:new URL(e),form:s??null,data:p?f:P.data}),l}async function Le({loader:e,parent:t,url:a,params:n,route:o,server_data_node:i}){let r=null;const s={dependencies:new Set,params:new Set,parent:!1,route:!1,url:!1,search_params:new Set},c=await e();return{node:c,loader:e,server:i,universal:c.universal?.load?{type:"data",data:r,uses:s}:null,data:r??i?.data??null,slash:c.universal?.trailingSlash??i?.slash}}function Tt(e,t,a){let n=e instanceof Request?e.url:e;const o=new URL(n,a);o.origin===a.origin&&(n=o.href.slice(a.origin.length));const i=re?dt(n,o.href,t):ht(n,t);return{resolved:o,promise:i}}function At(e,t,a,n,o,i){if(Re)return!0;if(!o)return!1;if(o.parent&&e||o.route&&t||o.url&&a)return!0;for(const r of o.search_params)if(n.has(r))return!0;for(const r of o.params)if(i[r]!==g.params[r])return!0;for(const r of o.dependencies)if(te.some(s=>s(new URL(r))))return!0;return!1}function Pe(e,t){return e?.type==="data"?e:e?.type==="skip"?t??null:null}function Ut(e,t){if(!e)return new Set(t.searchParams.keys());const a=new Set([...e.searchParams.keys(),...t.searchParams.keys()]);for(const n of a){const o=e.searchParams.getAll(n),i=t.searchParams.getAll(n);o.every(r=>i.includes(r))&&i.every(r=>o.includes(r))&&a.delete(n)}return a}function It({error:e,url:t,route:a,params:n}){return{type:"loaded",state:{error:e,url:t,route:a,params:n,branch:[]},props:{page:Ue(P),constructors:[]}}}async function Ze({id:e,invalidating:t,url:a,params:n,route:o,preload:i}){if(S?.id===e)return oe.delete(S.token),S.promise;const{errors:r,layouts:s,leaf:c}=o,l=[...s,c];r.forEach(m=>m?.().catch(C)),l.forEach(m=>m?.[1]().catch(C));const f=g.url?e!==ie(g.url):!1,p=g.route?o.id!==g.route.id:!1,v=Ut(g.url,a);let d=!1;const u=l.map(async(m,h)=>{if(!m)return;const b=g.branch[h];return m[1]===b?.loader&&!At(d,p,f,v,b.universal?.uses,n)?b:(d=!0,Le({loader:m[1],url:a,params:n,route:o,parent:async()=>{const T={};for(let A=0;A<h;A+=1)Object.assign(T,(await u[A])?.data);return T},server_data_node:Pe(m[0]?{type:"skip"}:null,m[0]?b?.server:void 0)}))});for(const m of u)m.catch(C);const _=[];for(let m=0;m<l.length;m+=1)if(l[m])try{_.push(await u[m])}catch(h){if(h instanceof be)return{type:"redirect",location:h.location};if(i&&oe.has(i))return It({error:await q(h,{params:n,url:a,route:{id:o.id}}),url:a,params:n,route:o});let b=ke(h),k;if(h instanceof ye)k=h.body;else{if(await I.updated.check())return await Be(),await J(a);k=await q(h,{params:n,url:a,route:{id:o.id}})}const T=await Ot(m,_,r);return T?se({url:a,params:n,branch:_.slice(0,T.idx).concat(T.node),errors:r,status:b,error:k,route:o}):await tt(a,{id:o.id},k,b)}else _.push(void 0);return se({url:a,params:n,branch:_,errors:r,status:200,error:null,route:o,form:t?void 0:null})}async function Ot(e,t,a){for(;e--;)if(a[e]){let n=e;for(;!t[n];)n-=1;try{return{idx:n+1,node:{node:await a[e](),loader:a[e],data:{},server:null,universal:null}}}catch{continue}}}async function Te({status:e,error:t,url:a,route:n}){const o={};let i=null;try{const r=await Le({loader:_e,url:a,params:o,route:n,parent:()=>Promise.resolve({}),server_data_node:Pe(i)}),s={node:await ee(),loader:ee,universal:null,server:null,data:null};return se({url:a,params:o,branch:[r,s],status:e,error:t,errors:[],route:null})}catch(r){if(r instanceof be){await Lt(new URL(r.location,location.href),{},0);return}const s=await w.get_error_template(),c=await q(r,{url:a,params:o,route:n}),l=String(c?.message??"").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">"),f=s({status:e,message:l}),p=new DOMParser().parseFromString(f,"text/html");throw document.documentElement.replaceChild(document.adoptNode(p.head),document.head),document.documentElement.replaceChild(document.adoptNode(p.body),document.body),r}}async function Ct(e){const t=e.href;if(X.has(t))return X.get(t);let a;try{const n=(async()=>{let o=await w.hooks.reroute({url:new URL(e),fetch:async(i,r)=>Tt(i,r,e).promise})??e;if(typeof o=="string"){const i=new URL(e);w.hash?i.hash=o:i.pathname=o,o=i}return o})();X.set(t,n),a=await n}catch{X.delete(t);return}return a}async function ce(e,t){if(e&&!we(e,R,w.hash)){const a=await Ct(e);if(!a)return;const n=jt(a);for(const o of xe){const i=o.exec(n);if(i)return{id:ie(e),invalidating:t,route:o,params:st(i),url:e}}}}function jt(e){return ut(w.hash?e.hash.replace(/^#/,"").replace(/[?#].+/,""):e.pathname.slice(R.length))||"/"}function ie(e){return(w.hash?e.hash.replace(/^#/,""):e.pathname)+e.search}function et({url:e,type:t,intent:a,delta:n,event:o,scroll:i}){let r=!1;const s=Ae(g,a,e,t,i??null);n!==void 0&&(s.navigation.delta=n),o!==void 0&&(s.navigation.event=o);const c={...s.navigation,cancel:()=>{r=!0,s.reject(new Error("navigation cancelled"))}};return W||Ve.forEach(l=>l(c)),r?null:s}async function D({type:e,url:t,popped:a,keepfocus:n,noscroll:o,replace_state:i,state:r={},redirect_count:s=0,nav_token:c={},accept:l=C,block:f=C,event:p}){const v=U;U=c;const d=await ce(t,!1),u=e==="enter"?Ae(g,d,t,e):et({url:t,type:e,delta:a?.delta,intent:d,scroll:a?.scroll,event:p});if(!u){f(),U===c&&(U=v);return}const _=y,m=x;l(),W=!0,re&&u.navigation.type!=="enter"&&I.navigating.set(pe.current=u.navigation);let h=d&&await Ze(d);if(!h){if(we(t,R,w.hash))return await J(t,i);h=await tt(t,{id:null},await q(new Ee(404,"Not Found",`Not found: ${t.pathname}`),{url:t,params:{},route:{id:null}}),404,i)}if(t=d?.url||t,U!==c){u.reject(new Error("navigation aborted"));return}if(!h)return;if(h.type==="redirect"){if(s<20){await D({type:e,url:new URL(h.location,t),popped:a,keepfocus:n,noscroll:o,replace_state:i,state:r,redirect_count:s+1,nav_token:c}),u.fulfil(void 0);return}if(h=await Te({status:500,error:await q(new Error("Redirect loop"),{url:t,params:{},route:{id:null}}),url:t,route:{id:null}}),!h)return}else if(h.props.page.status>=400&&await I.updated.check())return await Be(),await J(t,i);if(Rt(),Se(_),Ge(m),h.props.page.url.pathname!==t.pathname&&(t.pathname=h.props.page.url.pathname),r=a?a.state:r,!a){const E=i?0:1,K={[$]:y+=E,[V]:x+=E,[Ke]:r};(i?history.replaceState:history.pushState).call(history,K,"",t),i||St(y,x)}const b=d&&S?.id===d.id?S.fork:null;S?.fork&&!b?ne():(S=null,N={element:void 0,href:void 0}),h.props.page.state=r;let k;if(re){const E=(await Promise.all(Array.from(xt,M=>M(u.navigation)))).filter(M=>typeof M=="function");if(E.length>0){let M=function(){E.forEach(fe=>{B.delete(fe)})};E.push(M),E.forEach(fe=>{B.add(fe)})}const K=u.navigation.to;g={...h.state,nav:{params:K.params,route:K.route,url:K.url}},h.props.page&&(h.props.page.url=t),!n&&document.activeElement instanceof HTMLElement&&document.activeElement!==document.body&&document.activeElement.blur();const le=b&&await b;le?k=le.commit():(H=null,We.$set(h.props),H&&Object.assign(h.props.page,H),Me(h.props.page),k=rt?.()),Je=!0}else await Qe(h,ge,!1);const{activeElement:T}=document;if(await k,await Q(),await Q(),U!==c){u.reject(new Error("navigation aborted"));return}h.props.page&&H&&Object.assign(h.props.page,H);let A=null;if(Ce){const E=a?a.scroll:o?j():null;E?scrollTo(E.x,E.y):(A=t.hash&&document.getElementById(at(t)))?A.scrollIntoView():scrollTo(0,0)}const nt=document.activeElement!==T&&document.activeElement!==document.body;!n&&!nt&&Mt(t,!A),Ce=!0,W=!1,u.fulfil(void 0),u.navigation.to&&(u.navigation.to.scroll=j()),B.forEach(E=>E(u.navigation)),e==="popstate"&&Xe(x),I.navigating.set(pe.current=null)}async function tt(e,t,a,n,o){return e.origin===ct&&e.pathname===location.pathname&&!Ye?await Te({status:n,error:a,url:e,route:t}):await J(e,o)}let N={element:void 0,href:void 0};function Nt(){let e,t;L.addEventListener("mousemove",r=>{const s=r.target;clearTimeout(e),e=setTimeout(()=>{o(s,F.hover)},20)});function a(r){r.defaultPrevented||o(r.composedPath()[0],F.tap)}L.addEventListener("mousedown",a),L.addEventListener("touchstart",a,{passive:!0});const n=new IntersectionObserver(r=>{for(const s of r)s.isIntersecting&&(he(new URL(s.target.href)),n.unobserve(s.target))},{threshold:0});async function o(r,s){const c=qe(r,L),l=c===N.element&&c?.href===N.href&&s>=t;if(!c||l)return;const{url:f,external:p,download:v}=me(c,R,w.hash);if(p||v)return;const d=Z(c),u=f&&ie(g.url)===ie(f);if(!(d.reload||u))if(s<=d.preload_data){N={element:c,href:c.href},t=F.tap;const _=await ce(f,!1);if(!_)return;Pt(_)}else s<=d.preload_code&&(N={element:c,href:c.href},t=s,he(f))}function i(){n.disconnect();for(const r of L.querySelectorAll("a")){const{url:s,external:c,download:l}=me(r,R,w.hash);if(c||l)continue;const f=Z(r);f.reload||(f.preload_code===F.viewport&&n.observe(r),f.preload_code===F.eager&&he(s))}}B.add(i),i()}function q(e,t){if(e instanceof ye)return e.body;const a=ke(e),n=Et(e);return w.hooks.handleError({error:e,event:t,status:a,message:n})??{message:n}}function $t(e){if(typeof e=="function")te.push(e);else{const{href:t}=new URL(e,location.href);te.push(a=>a.href===t)}}function Dt(){history.scrollRestoration="manual",addEventListener("beforeunload",t=>{let a=!1;if($e(),!W){const n=Ae(g,void 0,null,"leave"),o={...n.navigation,cancel:()=>{a=!0,n.reject(new Error("navigation cancelled"))}};Ve.forEach(i=>i(o))}a?(t.preventDefault(),t.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&$e()}),navigator.connection?.saveData||Nt(),L.addEventListener("click",async t=>{if(t.button||t.which!==1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.defaultPrevented)return;const a=qe(t.composedPath()[0],L);if(!a)return;const{url:n,external:o,target:i,download:r}=me(a,R,w.hash);if(!n)return;if(i==="_parent"||i==="_top"){if(window.parent!==window)return}else if(i&&i!=="_self")return;const s=Z(a);if(!(a instanceof SVGAElement)&&n.protocol!==location.protocol&&!(n.protocol==="https:"||n.protocol==="http:")||r)return;const[l,f]=(w.hash?n.hash.replace(/^#/,""):n.href).split("#"),p=l===ue(location);if(o||s.reload&&(!p||!f)){et({url:n,type:"link",event:t})?W=!0:t.preventDefault();return}if(f!==void 0&&p){const[,v]=g.url.href.split("#");if(v===f){if(t.preventDefault(),f===""||f==="top"&&a.ownerDocument.getElementById("top")===null)scrollTo({top:0});else{const d=a.ownerDocument.getElementById(decodeURIComponent(f));d&&(d.scrollIntoView(),d.focus())}return}if(z=!0,Se(y),e(n),!s.replace_state)return;z=!1}t.preventDefault(),await new Promise(v=>{requestAnimationFrame(()=>{setTimeout(v,0)}),setTimeout(v,100)}),await D({type:"link",url:n,keepfocus:s.keepfocus,noscroll:s.noscroll,replace_state:s.replace_state??n.href===location.href,event:t})}),L.addEventListener("submit",t=>{if(t.defaultPrevented)return;const a=HTMLFormElement.prototype.cloneNode.call(t.target),n=t.submitter;if((n?.formTarget||a.target)==="_blank"||(n?.formMethod||a.method)!=="get")return;const r=new URL(n?.hasAttribute("formaction")&&n?.formAction||a.action);if(we(r,R,!1))return;const s=t.target,c=Z(s);if(c.reload)return;t.preventDefault(),t.stopPropagation();const l=new FormData(s,n);r.search=new URLSearchParams(l).toString(),D({type:"form",url:r,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??r.href===location.href,event:t})}),addEventListener("popstate",async t=>{if(!ve){if(t.state?.[$]){const a=t.state[$];if(U={},a===y)return;const n=O[a],o=t.state[Ke]??{},i=new URL(t.state[ot]??location.href),r=t.state[V],s=g.url?ue(location)===ue(g.url):!1;if(r===x&&(Je||s)){o!==P.state&&(P.state=o),e(i),O[y]=j(),n&&scrollTo(n.x,n.y),y=a;return}const l=a-y;await D({type:"popstate",url:i,popped:{state:o,scroll:n,delta:l},accept:()=>{y=a,x=r},block:()=>{history.go(-l)},nav_token:U,event:t})}else if(!z){const a=new URL(location.href);e(a),w.hash&&location.reload()}}}),addEventListener("hashchange",()=>{z&&(z=!1,history.replaceState({...history.state,[$]:++y,[V]:x},"",location.href))});for(const t of document.querySelectorAll("link"))kt.has(t.rel)&&(t.href=t.href);addEventListener("pageshow",t=>{t.persisted&&I.navigating.set(pe.current=null)});function e(t){g.url=P.url=t,I.page.set(Ue(P)),I.page.notify()}}async function qt(e,{status:t=200,error:a,node_ids:n,params:o,route:i,server_route:r,data:s,form:c}){Ye=!0;const l=new URL(location.href);let f;({params:o={},route:i={id:null}}=await ce(l,!1)||{}),f=xe.find(({id:d})=>d===i.id);let p,v=!0;try{const d=n.map(async(_,m)=>{const h=s[m];return h?.uses&&(h.uses=Kt(h.uses)),Le({loader:w.nodes[_],url:l,params:o,route:i,parent:async()=>{const b={};for(let k=0;k<m;k+=1)Object.assign(b,(await d[k]).data);return b},server_data_node:Pe(h)})}),u=await Promise.all(d);if(f){const _=f.layouts;for(let m=0;m<_.length;m++)_[m]||u.splice(m,0,void 0)}p=await se({url:l,params:o,branch:u,status:t,error:a,errors:f?.errors,form:c,route:f??null})}catch(d){if(d instanceof be)return await J(new URL(d.location,location.href));p=await Te({status:ke(d),error:await q(d,{url:l,params:o,route:i}),url:l,route:i}),e.textContent="",v=!1}p&&(p.props.page&&(p.props.page.state={}),await Qe(p,e,v))}function Kt(e){return{dependencies:new Set(e?.dependencies??[]),params:new Set(e?.params??[]),parent:!!e?.parent,route:!!e?.route,url:!!e?.url,search_params:new Set(e?.search_params??[])}}let ve=!1;function Mt(e,t=!0){const a=document.querySelector("[autofocus]");if(a)a.focus();else{const n=at(e);if(n&&document.getElementById(n)){const{x:i,y:r}=j();setTimeout(()=>{const s=history.state;ve=!0,location.replace(new URL(`#${n}`,location.href)),history.replaceState(s,"",e),t&&scrollTo(i,r),ve=!1})}else{const i=document.body,r=i.getAttribute("tabindex");i.tabIndex=-1,i.focus({preventScroll:!0,focusVisible:!1}),r!==null?i.setAttribute("tabindex",r):i.removeAttribute("tabindex")}const o=getSelection();if(o&&o.type!=="None"){const i=[];for(let r=0;r<o.rangeCount;r+=1)i.push(o.getRangeAt(r));setTimeout(()=>{if(o.rangeCount===i.length){for(let r=0;r<o.rangeCount;r+=1){const s=i[r],c=o.getRangeAt(r);if(s.commonAncestorContainer!==c.commonAncestorContainer||s.startContainer!==c.startContainer||s.endContainer!==c.endContainer||s.startOffset!==c.startOffset||s.endOffset!==c.endOffset)return}o.removeAllRanges()}})}}}function Ae(e,t,a,n,o=null){let i,r;const s=new Promise((l,f)=>{i=l,r=f});return s.catch(C),{navigation:{from:{params:e.params,route:{id:e.route?.id??null},url:e.url,scroll:j()},to:a&&{params:t?.params??null,route:{id:t?.route?.id??null},url:a,scroll:o},willUnload:!t,type:n,complete:s},fulfil:i,reject:r}}function Ue(e){return{data:e.data,error:e.error,form:e.form,params:e.params,route:e.route,state:e.state,status:e.status,url:e.url}}function Ft(e){const t=new URL(e);return t.hash=decodeURIComponent(e.hash),t}function at(e){let t;if(w.hash){const[,,a]=e.hash.split("#",3);t=a??""}else t=e.hash.slice(1);return decodeURIComponent(t)}export{Jt as load_css,Bt as start};
|
_app/immutable/nodes/{0.D-ZKqFbp.js → 0.GJXvhF-_.js}
RENAMED
|
@@ -1 +1 @@
|
|
| 1 |
-
import{c as s,a as c}from"../chunks/
|
|
|
|
| 1 |
+
import{c as s,a as c}from"../chunks/DNDc8P0N.js";import{b as l,E as p,l as i}from"../chunks/QoSX5tB3.js";import{B as u}from"../chunks/BU129qsK.js";function m(r,n,...e){var o=new u(r);l(()=>{const t=n()??null;o.ensure(t,t&&(a=>t(a,...e)))},p)}const f=!0,_=!0,g=Object.freeze(Object.defineProperty({__proto__:null,prerender:f,ssr:_},Symbol.toStringTag,{value:"Module"}));function h(r,n){var e=s(),o=i(e);m(o,()=>n.children),c(r,e)}export{h as component,g as universal};
|
_app/immutable/nodes/{1.y2kQF00u.js → 1.7QgmlAc3.js}
RENAMED
|
@@ -1 +1 @@
|
|
| 1 |
-
import{a as g,f as c}from"../chunks/
|
|
|
|
| 1 |
+
import{a as g,f as c}from"../chunks/DNDc8P0N.js";import{p as h,l as v,x as l,o as x,v as e,w as s,n as _}from"../chunks/QoSX5tB3.js";import{s as o}from"../chunks/UPLOOD0p.js";import{p}from"../chunks/pybtLZpB.js";const d={get error(){return p.error},get status(){return p.status}},m=d;var $=c("<h1> </h1> <p> </p>",1);function k(n,f){h(f,!0);var t=$(),r=v(t),i=e(r,!0);s(r);var a=_(r,2),u=e(a,!0);s(a),l(()=>{o(i,m.status),o(u,m.error?.message)}),g(n,t),x()}export{k as component};
|
_app/immutable/nodes/{2.Dp-u8xNJ.js → 2.BstrRI_y.js}
RENAMED
|
The diff for this file is too large to render.
See raw diff
|
|
|
_app/version.json
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
{"version":"
|
|
|
|
| 1 |
+
{"version":"1788944255704"}
|
index.html
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
src/app.css
CHANGED
|
@@ -93,6 +93,8 @@ main { width: min(100% - 48px, 1400px); margin: 0 auto; }
|
|
| 93 |
.leaderboard-section + .leaderboard-section { padding-top: 0; }
|
| 94 |
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
|
| 95 |
.section-heading h2 { margin: 0; font-size: clamp(27px, 4vw, 40px); font-weight: 500; letter-spacing: -0.045em; }
|
|
|
|
|
|
|
| 96 |
.result-count { color: var(--text-subtle); font: 500 11px 'DM Mono', monospace; text-transform: uppercase; }
|
| 97 |
.controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 13px; }
|
| 98 |
.control-inputs { display: flex; align-items: center; gap: 10px; }
|
|
|
|
| 93 |
.leaderboard-section + .leaderboard-section { padding-top: 0; }
|
| 94 |
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
|
| 95 |
.section-heading h2 { margin: 0; font-size: clamp(27px, 4vw, 40px); font-weight: 500; letter-spacing: -0.045em; }
|
| 96 |
+
.title-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
|
| 97 |
+
.benchmark-switch button { padding: 7px 13px; font-size: 12px; }
|
| 98 |
.result-count { color: var(--text-subtle); font: 500 11px 'DM Mono', monospace; text-transform: uppercase; }
|
| 99 |
.controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 13px; }
|
| 100 |
.control-inputs { display: flex; align-items: center; gap: 10px; }
|
src/lib/components/LeaderboardTable.svelte
CHANGED
|
@@ -14,12 +14,19 @@
|
|
| 14 |
title,
|
| 15 |
headingId,
|
| 16 |
rows,
|
| 17 |
-
taskGroups
|
|
|
|
|
|
|
|
|
|
| 18 |
}: {
|
| 19 |
title: string;
|
| 20 |
headingId: string;
|
| 21 |
rows: ResultRow[];
|
| 22 |
taskGroups: TaskGroup[];
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
} = $props();
|
| 24 |
|
| 25 |
let activeGroupIndex = $state(0);
|
|
@@ -104,7 +111,24 @@
|
|
| 104 |
|
| 105 |
<section class="leaderboard-section" aria-labelledby={headingId}>
|
| 106 |
<div class="section-heading">
|
| 107 |
-
<div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 108 |
<p class="result-count">{rows.length ? `${filteredRows.length} ${filteredRows.length === 1 ? 'model' : 'models'}` : 'Awaiting results'}</p>
|
| 109 |
</div>
|
| 110 |
|
|
|
|
| 14 |
title,
|
| 15 |
headingId,
|
| 16 |
rows,
|
| 17 |
+
taskGroups,
|
| 18 |
+
benchmarks,
|
| 19 |
+
activeBenchmark,
|
| 20 |
+
onbenchmark
|
| 21 |
}: {
|
| 22 |
title: string;
|
| 23 |
headingId: string;
|
| 24 |
rows: ResultRow[];
|
| 25 |
taskGroups: TaskGroup[];
|
| 26 |
+
/** Optional switch rendered beside the heading; omit for a single table. */
|
| 27 |
+
benchmarks?: { id: string; label: string }[];
|
| 28 |
+
activeBenchmark?: string;
|
| 29 |
+
onbenchmark?: (id: string) => void;
|
| 30 |
} = $props();
|
| 31 |
|
| 32 |
let activeGroupIndex = $state(0);
|
|
|
|
| 111 |
|
| 112 |
<section class="leaderboard-section" aria-labelledby={headingId}>
|
| 113 |
<div class="section-heading">
|
| 114 |
+
<div>
|
| 115 |
+
<p class="eyebrow">Benchmark results</p>
|
| 116 |
+
<div class="title-row">
|
| 117 |
+
<h2 id={headingId}>{title}</h2>
|
| 118 |
+
{#if benchmarks && benchmarks.length > 1}
|
| 119 |
+
<div class="segments benchmark-switch" role="group" aria-label="Benchmark">
|
| 120 |
+
{#each benchmarks as benchmark}
|
| 121 |
+
<button
|
| 122 |
+
type="button"
|
| 123 |
+
class:active={benchmark.id === activeBenchmark}
|
| 124 |
+
aria-pressed={benchmark.id === activeBenchmark}
|
| 125 |
+
onclick={() => onbenchmark?.(benchmark.id)}
|
| 126 |
+
>{benchmark.label}</button>
|
| 127 |
+
{/each}
|
| 128 |
+
</div>
|
| 129 |
+
{/if}
|
| 130 |
+
</div>
|
| 131 |
+
</div>
|
| 132 |
<p class="result-count">{rows.length ? `${filteredRows.length} ${filteredRows.length === 1 ? 'model' : 'models'}` : 'Awaiting results'}</p>
|
| 133 |
</div>
|
| 134 |
|
src/routes/+page.svelte
CHANGED
|
@@ -2,6 +2,18 @@
|
|
| 2 |
import LeaderboardTable from '$lib/components/LeaderboardTable.svelte';
|
| 3 |
import { metreResults, metreTaskGroups, sphragisResults, sphragisTaskGroups } from '$lib/data';
|
| 4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
let dark = $state(false);
|
| 6 |
|
| 7 |
function toggleTheme(): void {
|
|
@@ -27,6 +39,20 @@
|
|
| 27 |
</header>
|
| 28 |
|
| 29 |
<main>
|
| 30 |
-
<
|
| 31 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
</main>
|
|
|
|
| 2 |
import LeaderboardTable from '$lib/components/LeaderboardTable.svelte';
|
| 3 |
import { metreResults, metreTaskGroups, sphragisResults, sphragisTaskGroups } from '$lib/data';
|
| 4 |
|
| 5 |
+
// One benchmark at a time. Stacking both made the page several screens tall
|
| 6 |
+
// before the second table's first row, and the two are read as alternatives
|
| 7 |
+
// rather than in sequence.
|
| 8 |
+
const benchmarks = [
|
| 9 |
+
{ id: 'sphragis', title: 'Sphragis', label: 'Sphragis', headingId: 'sphragis-heading',
|
| 10 |
+
rows: sphragisResults, taskGroups: sphragisTaskGroups },
|
| 11 |
+
{ id: 'metre', title: 'Sphragis-Metre', label: 'Metre', headingId: 'sphragis-metre-heading',
|
| 12 |
+
rows: metreResults, taskGroups: metreTaskGroups }
|
| 13 |
+
];
|
| 14 |
+
let activeBenchmark = $state('sphragis');
|
| 15 |
+
const active = $derived(benchmarks.find((b) => b.id === activeBenchmark) ?? benchmarks[0]);
|
| 16 |
+
|
| 17 |
let dark = $state(false);
|
| 18 |
|
| 19 |
function toggleTheme(): void {
|
|
|
|
| 39 |
</header>
|
| 40 |
|
| 41 |
<main>
|
| 42 |
+
<!--
|
| 43 |
+
Keyed on the benchmark so switching starts the new table from its own
|
| 44 |
+
defaults: a sort field, selected row or composition filter from the other
|
| 45 |
+
benchmark would not apply to these tasks.
|
| 46 |
+
-->
|
| 47 |
+
{#key active.id}
|
| 48 |
+
<LeaderboardTable
|
| 49 |
+
title={active.title}
|
| 50 |
+
headingId={active.headingId}
|
| 51 |
+
rows={active.rows}
|
| 52 |
+
taskGroups={active.taskGroups}
|
| 53 |
+
benchmarks={benchmarks.map((b) => ({ id: b.id, label: b.label }))}
|
| 54 |
+
{activeBenchmark}
|
| 55 |
+
onbenchmark={(id) => (activeBenchmark = id)}
|
| 56 |
+
/>
|
| 57 |
+
{/key}
|
| 58 |
</main>
|