glyphsmith 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,239 @@
1
+ ---
2
+ name: glyphsmith-patch
3
+ description: GlyphSmith patch operation guidance for targeted Geometry AST edits, node insert/update/delete/move patterns, path segment edits, groups, text, and patch-based SVG-equivalent drawing. Use when generating patches instead of rewriting documents.
4
+ ---
5
+
6
+ # GlyphSmith Patch
7
+
8
+ Use this skill when creating patch operations for GlyphSmith Geometry AST.
9
+
10
+ ## Patch Principles
11
+
12
+ Prefer targeted patches.
13
+
14
+ During an active GlyphSmith editor/MCP session, apply patches through MCP tools instead of directly editing `.gs.json`. Direct project-file edits are an offline fallback only.
15
+
16
+ ```json
17
+ {
18
+ "op": "update",
19
+ "target": "node-12",
20
+ "changes": {
21
+ "strokeWidth": 3
22
+ }
23
+ }
24
+ ```
25
+
26
+ Avoid replacing a whole document for a local edit.
27
+
28
+ ## Core Operations
29
+
30
+ Create a node with `insert`.
31
+
32
+ ```json
33
+ {
34
+ "op": "insert",
35
+ "parentId": "root",
36
+ "node": {
37
+ "id": "rect-1",
38
+ "type": "rect",
39
+ "x": 120,
40
+ "y": 96,
41
+ "width": 240,
42
+ "height": 160,
43
+ "rx": 12,
44
+ "style": {
45
+ "fill": "#2563eb",
46
+ "stroke": "#dbeafe",
47
+ "strokeWidth": 4
48
+ }
49
+ }
50
+ }
51
+ ```
52
+
53
+ Update geometry or style with `update`.
54
+
55
+ ```json
56
+ {
57
+ "op": "update",
58
+ "target": "rect-1",
59
+ "changes": {
60
+ "width": 280,
61
+ "style": {
62
+ "fill": "#0f172a",
63
+ "stroke": "#38bdf8",
64
+ "strokeWidth": 3
65
+ }
66
+ }
67
+ }
68
+ ```
69
+
70
+ Delete a node with `delete`.
71
+
72
+ ```json
73
+ {
74
+ "op": "delete",
75
+ "target": "rect-1"
76
+ }
77
+ ```
78
+
79
+ Move a node with `move`.
80
+
81
+ ```json
82
+ {
83
+ "op": "move",
84
+ "target": "rect-1",
85
+ "dx": 32,
86
+ "dy": -16
87
+ }
88
+ ```
89
+
90
+ Resize or rename a document with `updateDocument`.
91
+
92
+ ```json
93
+ {
94
+ "op": "updateDocument",
95
+ "changes": {
96
+ "width": 1024,
97
+ "height": 1024,
98
+ "name": "Icon"
99
+ }
100
+ }
101
+ ```
102
+
103
+ ## Drawing Nodes
104
+
105
+ Use stable, unique ids. Prefer descriptive ids such as `sun-body`, `badge-shadow`, or `logo-mark-path`.
106
+
107
+ Rectangle:
108
+
109
+ ```json
110
+ {
111
+ "id": "card-bg",
112
+ "type": "rect",
113
+ "x": 64,
114
+ "y": 64,
115
+ "width": 384,
116
+ "height": 240,
117
+ "rx": 24,
118
+ "ry": 24,
119
+ "style": {
120
+ "fill": "#111827",
121
+ "stroke": "#38bdf8",
122
+ "strokeWidth": 3
123
+ }
124
+ }
125
+ ```
126
+
127
+ Ellipse:
128
+
129
+ ```json
130
+ {
131
+ "id": "orbit",
132
+ "type": "ellipse",
133
+ "cx": 256,
134
+ "cy": 256,
135
+ "rx": 180,
136
+ "ry": 72,
137
+ "style": {
138
+ "fill": "none",
139
+ "stroke": "#a78bfa",
140
+ "strokeWidth": 6
141
+ }
142
+ }
143
+ ```
144
+
145
+ Line:
146
+
147
+ ```json
148
+ {
149
+ "id": "divider",
150
+ "type": "line",
151
+ "x1": 96,
152
+ "y1": 256,
153
+ "x2": 416,
154
+ "y2": 256,
155
+ "style": {
156
+ "stroke": "#f97316",
157
+ "strokeWidth": 8
158
+ }
159
+ }
160
+ ```
161
+
162
+ Text:
163
+
164
+ ```json
165
+ {
166
+ "id": "label",
167
+ "type": "text",
168
+ "x": 256,
169
+ "y": 448,
170
+ "text": "GlyphSmith\nIcon",
171
+ "fill": "#111827",
172
+ "fontFamily": "Inter, system-ui, sans-serif",
173
+ "fontSize": 32,
174
+ "fontWeight": "700",
175
+ "textAnchor": "middle"
176
+ }
177
+ ```
178
+
179
+ Group:
180
+
181
+ ```json
182
+ {
183
+ "id": "mark-group",
184
+ "type": "group",
185
+ "name": "Mark",
186
+ "children": []
187
+ }
188
+ ```
189
+
190
+ Cubic Bezier path:
191
+
192
+ ```json
193
+ {
194
+ "id": "wave",
195
+ "type": "path",
196
+ "start": { "x": 96, "y": 320 },
197
+ "closed": false,
198
+ "segments": [
199
+ {
200
+ "type": "cubic",
201
+ "control1": { "x": 160, "y": 160 },
202
+ "control2": { "x": 320, "y": 480 },
203
+ "to": { "x": 416, "y": 280 }
204
+ }
205
+ ],
206
+ "style": {
207
+ "fill": "none",
208
+ "stroke": "#22c55e",
209
+ "strokeWidth": 10,
210
+ "strokeLinecap": "round",
211
+ "strokeLinejoin": "round"
212
+ }
213
+ }
214
+ ```
215
+
216
+ Closed triangle path:
217
+
218
+ ```json
219
+ {
220
+ "id": "triangle",
221
+ "type": "path",
222
+ "start": { "x": 256, "y": 96 },
223
+ "closed": true,
224
+ "segments": [
225
+ { "type": "line", "to": { "x": 416, "y": 384 } },
226
+ { "type": "line", "to": { "x": 96, "y": 384 } }
227
+ ],
228
+ "style": {
229
+ "fill": "#facc15",
230
+ "stroke": "#78350f",
231
+ "strokeWidth": 6
232
+ }
233
+ }
234
+ ```
235
+
236
+ ## Responsibilities
237
+
238
+ Agents describe intent and patch targets.
239
+ The Geometry Kernel should perform geometry-heavy operations such as moving, scaling, smoothing, mirroring, offsetting, or rounding.
@@ -0,0 +1,2 @@
1
+ /*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */
2
+ @layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--text-base:1rem;--text-base--line-height:calc(1.5 / 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-gs-bg:#202020;--color-gs-chrome:#2b2b2b;--color-gs-panel:#303030;--color-gs-control:#383838;--color-gs-control-hover:#444;--color-gs-workbench:#383838;--color-gs-input:#2a2a2a;--color-gs-border:#4a4a4a;--color-gs-border-muted:#3f3f3f;--color-gs-text:#f2f2f2;--color-gs-text-muted:#b0b0b0;--color-gs-text-subtle:#8a8a8a;--color-gs-text-inverse:#fff;--color-gs-primary:#4f8ef7;--color-gs-primary-hover:#6ea4ff;--color-gs-primary-soft:#243a5f;--color-gs-primary-glow:#4f8ef73d;--color-gs-danger:#ef4444;--color-gs-danger-soft:#3a2024;--color-gs-page-white:#fff;--color-gs-page-gray:#a0a0a0;--color-gs-page-black:#000;--color-gs-page-alpha-light:#fafafa;--color-gs-page-alpha-dark:#b0b0b0}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.contents{display:contents}.hidden{display:none}.resize{resize:both}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.italic{font-style:italic}}:root{color:var(--color-gs-text);background:var(--color-gs-bg);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{min-width:1100px;min-height:100vh;margin:0;overflow:hidden}button,input,textarea{font:inherit}button{cursor:pointer}.app-shell{background:var(--color-gs-bg);grid-template-rows:56px minmax(0,1fr);width:100vw;height:100vh;display:grid}.topbar{border-bottom:1px solid var(--color-gs-border-muted);background:var(--color-gs-chrome);grid-template-columns:auto auto minmax(0,1fr) auto;align-items:center;gap:14px;padding:0 16px;display:grid}.topbar-brand{align-items:center;min-width:0;display:flex}.project-name-shell{min-width:0}.project-name-shell h1{margin:0;font-size:16px;line-height:1.2}.project-name-display{width:100%;min-width:0;max-width:100%;color:var(--color-gs-text);background:0 0;border:0;justify-content:flex-start;align-items:center;gap:8px;padding:0;display:flex}.project-name-display h1{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.project-name-display:hover{color:var(--color-gs-text-inverse)}.project-name-display img{opacity:.72;flex:none;width:16px;height:16px;display:block}.project-name-display:hover img{opacity:1}.project-name-input{border:1px solid var(--color-gs-primary);background:var(--color-gs-input);width:min(420px,100%);min-width:120px;color:var(--color-gs-text);border-radius:5px;outline:none;padding:6px 8px;font-size:16px;line-height:1.2}.toolbar{z-index:5;border:1px solid var(--color-gs-border);background:var(--color-gs-control);border-radius:6px;flex-direction:column;width:42px;max-height:calc(100% - 24px);display:flex;position:absolute;top:50%;left:12px;overflow:hidden auto;transform:translateY(-50%);box-shadow:0 10px 28px #00000038}.toolbar button{border:0;border-bottom:1px solid var(--color-gs-border);width:40px;min-width:40px;height:40px;min-height:40px;color:var(--color-gs-text-muted);white-space:nowrap;background:0 0;place-items:center;padding:0;font-size:12px;display:grid}.toolbar button img{width:20px;height:20px;display:block}.toolbar button:last-child{border-bottom:0}.toolbar button.active{background:var(--color-gs-primary);color:var(--color-gs-text-inverse)}.toolbar-separator{border-bottom:1px solid var(--color-gs-border);background:var(--color-gs-chrome);width:100%;height:7px}.history-controls{gap:6px;display:flex}.topbar-status{color:var(--color-gs-text-muted);font-variant-numeric:tabular-nums;grid-column:4;justify-content:flex-end;align-items:center;gap:6px;font-size:12px;display:flex}.export-menu{position:relative}.history-controls button,.topbar-status button{border:1px solid var(--color-gs-border);background:var(--color-gs-control);min-height:28px;color:var(--color-gs-text);border-radius:6px;padding:0 10px;font-size:12px}.history-controls button:disabled,.topbar-status button:disabled{cursor:default;opacity:.4}.history-controls button{place-items:center;width:32px;padding:0;display:grid}.history-controls button img{width:18px;height:18px;display:block}.export-popover{z-index:40;border:1px solid var(--color-gs-border);background:var(--color-gs-panel);width:340px;color:var(--color-gs-text);text-align:left;border-radius:8px;padding:12px;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 18px 48px #00000059}.export-popover-header,.export-popover-footer{justify-content:space-between;align-items:center;gap:8px;display:flex}.export-popover-header{margin-bottom:10px}.export-popover-header h2{color:var(--color-gs-text-muted);letter-spacing:0;text-transform:uppercase;margin:0;font-size:12px;font-weight:700}.topbar-status .export-popover-header button{width:24px;min-height:24px;color:var(--color-gs-text-subtle);padding:0}.import-popover{gap:10px;width:360px;display:grid}.import-file-button{width:100%}.import-text-field{color:var(--color-gs-text-muted);text-transform:uppercase;gap:6px;font-size:11px;font-weight:700;display:grid}.import-text-field textarea{min-height:180px;color:var(--color-gs-text);text-transform:none}.export-mode-list,.export-page-list{display:grid}.export-mode-list{border:1px solid var(--color-gs-border-muted);background:var(--color-gs-control);border-radius:6px;overflow:hidden}.export-mode-list label{border-bottom:1px solid var(--color-gs-border-muted);color:var(--color-gs-text);grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;padding:8px 9px;font-size:12px;display:grid}.export-mode-list label:last-child{border-bottom:0}.export-mode-list label:has(input:checked){color:var(--color-gs-text-inverse);background:#4f8ef71f}.export-page-list{border-top:1px solid var(--color-gs-border-muted);gap:3px;max-height:min(460px,100vh - 260px);margin-top:8px;padding-top:8px;overflow:auto}.export-page-list label{color:var(--color-gs-text);border-radius:5px;grid-template-columns:auto 44px minmax(0,1fr);align-items:center;gap:9px;padding:6px 7px;font-size:12px;display:grid}.export-page-list label:hover{background:var(--color-gs-control)}.export-page-list label.export-page-select-all{z-index:1;border-bottom:1px solid var(--color-gs-border-muted);background:var(--color-gs-panel);border-radius:0;grid-template-columns:auto minmax(0,1fr);margin-bottom:4px;padding:7px;position:sticky;top:0}.export-page-list label.export-page-select-all:hover{background:var(--color-gs-control)}.export-mode-list input,.export-page-list input{width:14px;height:14px;margin:0}.export-page-thumb{border:1px solid var(--color-gs-border-muted);background:var(--color-gs-workbench);border-radius:5px;width:44px;height:34px;overflow:hidden}.export-page-thumb .page-thumb{border-radius:0;width:100%;height:100%}.export-page-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.export-popover-footer{border-top:1px solid var(--color-gs-border-muted);margin-top:12px;padding-top:10px}.export-popover-footer span{color:var(--color-gs-text-subtle);font-size:11px}.topbar-status .export-popover-footer button{min-height:28px;padding:0 10px}.topbar-status .export-popover-footer button.primary{border-color:var(--color-gs-primary-hover);background:var(--color-gs-primary);color:var(--color-gs-text-inverse)}.workspace{background:var(--color-gs-bg);grid-template-columns:280px minmax(420px,1fr) 320px;min-height:0;display:grid}.sidebar,.inspector{border-color:var(--color-gs-border-muted);background:var(--color-gs-chrome);flex-direction:column;gap:12px;min-height:0;padding:16px;display:flex}.sidebar{border-right:1px solid var(--color-gs-border-muted);overflow-y:auto}.inspector{border-left:1px solid var(--color-gs-border-muted);gap:10px;padding:8px 10px;font-size:12px;overflow-y:auto}.inspector-section{border-bottom:1px solid var(--color-gs-border-muted);padding:0 0 10px}.inspector-section:last-child{border-bottom:0}.inspector-section summary{min-height:30px;color:var(--color-gs-text-muted);cursor:pointer;letter-spacing:0;text-transform:uppercase;-webkit-user-select:none;user-select:none;justify-content:space-between;align-items:center;margin:0 0 8px;font-size:11px;font-weight:700;list-style:none;display:flex}.inspector-section summary::-webkit-details-marker{display:none}.section-chevron{width:16px;height:16px;color:var(--color-gs-text-subtle);flex:none}.inspector-section:not([open]){padding-bottom:0}.inspector-section:not([open]) summary{margin-bottom:0}.section-chevron-closed{display:none}.inspector-section:not([open]) .section-chevron-closed{display:block}.inspector-section:not([open]) .section-chevron-open{display:none}.brand-mark{flex:none;width:36px;height:36px;display:block}.panel{border:1px solid var(--color-gs-border-muted);background:var(--color-gs-panel);border-radius:6px;padding:12px}.panel h2{color:var(--color-gs-text-muted);letter-spacing:0;text-transform:uppercase;margin:0 0 10px;font-size:12px;font-weight:700}.segmented{border:1px solid var(--color-gs-border);background:var(--color-gs-control);border-radius:6px;grid-template-columns:repeat(4,minmax(0,1fr));display:grid;overflow:hidden}.segmented.compact button{min-width:0;min-height:32px}.segmented button{border:0;border-right:1px solid var(--color-gs-border);color:var(--color-gs-text-muted);background:0 0;font-size:12px}.segmented button:last-child{border-right:0}.segmented button.active{background:var(--color-gs-primary);color:var(--color-gs-text-inverse)}.sidebar-title{color:var(--color-gs-text-muted);letter-spacing:0;text-transform:uppercase;margin:0;font-size:11px;font-weight:700}.layer-list{flex-direction:column;gap:4px;min-height:0;display:flex;overflow:visible}.layer-row,.empty-row{border:1px solid var(--color-gs-border-muted);background:var(--color-gs-control);min-height:36px;color:var(--color-gs-text);text-align:left;border-radius:6px;justify-content:flex-start;align-items:center;gap:8px;padding:7px 8px;font-size:13px;display:flex}.layer-row{cursor:grab;margin-left:calc(var(--layer-depth) * 14px);-webkit-user-select:none;user-select:none;width:calc(100% - var(--layer-depth) * 14px);padding-left:8px;position:relative}.layer-row:active{cursor:grabbing}.layer-row.selected{border-color:var(--color-gs-primary-hover);background:var(--color-gs-primary-soft);color:var(--color-gs-text-inverse)}.layer-row.group-row{font-weight:600}.layer-row.expanded-group{border-color:var(--color-gs-border);background:var(--color-gs-panel)}.layer-row.nested-row{border-left:2px solid var(--color-gs-primary);background:var(--color-gs-control-hover)}.layer-row.nested-row:before{background:var(--color-gs-border-muted);content:"";width:1px;position:absolute;top:-5px;bottom:-5px;left:-9px}.layer-row.nested-row.selected{background:var(--color-gs-primary-soft)}.layer-row.dragging{opacity:.48}.layer-row.drop-target{border-color:var(--color-gs-primary);box-shadow:inset 0 2px 0 var(--color-gs-primary)}.layer-disclosure{width:18px;height:18px;color:inherit;background:0 0;border:0;flex:none;place-items:center;font-size:11px;display:grid}.layer-disclosure svg{width:14px;height:14px}.layer-row span{text-overflow:ellipsis;white-space:nowrap;flex:auto;min-width:0;overflow:hidden}.layer-list code{color:var(--color-gs-text-subtle);margin-left:auto;font-size:11px}.empty-row{color:var(--color-gs-text-subtle)}.inspector .empty-row{justify-content:initial;width:100%;min-height:0;padding:8px 9px;font-size:12px;line-height:1.4;display:block}.inspector .field-grid>.empty-row{grid-column:1/-1}.editor-stage{grid-template-rows:minmax(0,1fr) 108px;min-width:0;min-height:0;display:grid}.canvas-shell{background:var(--color-gs-workbench);min-width:0;min-height:0;position:relative}.page-strip{border-top:1px solid var(--color-gs-border-muted);background:var(--color-gs-chrome);align-items:center;min-width:0;padding:8px 10px;display:flex;overflow:hidden}.page-strip-list{flex:auto;gap:10px;min-width:0;max-width:100%;padding-bottom:2px;display:flex;overflow:auto hidden}.page-strip-list button{border:1px solid var(--color-gs-border-muted);width:112px;height:84px;color:var(--color-gs-text);text-align:center;background:0 0;border-radius:6px;flex:none;padding:5px;display:block;position:relative;overflow:hidden}.page-strip-list button.active{border-color:var(--color-gs-primary-hover);background:var(--color-gs-primary-soft);color:var(--color-gs-text-inverse)}.page-strip-list button:hover{border-color:var(--color-gs-border);background:var(--color-gs-control)}.page-thumb{background:0 0;border-radius:3px;width:100%;height:100%;display:block;position:relative;overflow:hidden}.page-thumb-canvas{cursor:pointer;touch-action:auto;width:100%;height:100%;display:block}.page-name{pointer-events:none;color:var(--color-gs-text);text-overflow:ellipsis;white-space:nowrap;background:linear-gradient(#0000,#0000009e);border-radius:0 0 3px 3px;padding:16px 5px 4px;font-size:11px;font-weight:600;line-height:1.1;position:absolute;bottom:5px;left:5px;right:5px;overflow:hidden}.page-add-button{color:var(--color-gs-text-muted);place-items:center;font-size:30px;font-weight:300;display:grid}.page-add-button span{transform:translateY(-1px)}.page-add-button:hover{color:var(--color-gs-text-inverse)}.page-floating-tooltip{z-index:32;max-width:min(260px,100vw - 24px);color:var(--color-gs-text);pointer-events:none;text-overflow:ellipsis;white-space:nowrap;background:#181818eb;border:1px solid #ffffff14;border-radius:5px;padding:5px 8px;font-size:11px;font-weight:600;line-height:1.15;position:fixed;overflow:hidden;transform:translate(-50%,calc(-100% - 8px));box-shadow:0 12px 28px #0000005c}.tool-floating-tooltip{z-index:32;max-width:min(180px,100vw - 24px);color:var(--color-gs-text);pointer-events:none;text-overflow:ellipsis;white-space:nowrap;background:#181818f0;border:1px solid #ffffff14;border-radius:5px;padding:5px 8px;font-size:11px;font-weight:600;line-height:1.15;position:fixed;overflow:hidden;transform:translateY(-50%);box-shadow:0 12px 28px #0000005c}.page-context-menu{z-index:30;border:1px solid var(--color-gs-border);background:var(--color-gs-panel);border-radius:6px;gap:3px;min-width:176px;max-width:min(260px,100vw - 24px);padding:6px;display:grid;position:fixed;transform:translate(-50%,calc(-100% - 8px));box-shadow:0 18px 40px #0000006b}.layer-context-menu{transform:none}.page-context-title{border-bottom:1px solid var(--color-gs-border-muted);gap:2px;margin-bottom:3px;padding:4px 6px 7px;display:grid}.page-context-menu .page-context-name-button,.page-context-menu .page-context-name-input,.page-context-title span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.page-context-menu .page-context-name-button{min-height:0;color:var(--color-gs-text);text-align:left;background:0 0;border:0;border-radius:3px;justify-content:flex-start;padding:0;font-size:12px;font-weight:600}.page-context-menu .page-context-name-button:hover{color:var(--color-gs-text-inverse);background:0 0}.page-context-menu .page-context-name-input{border:1px solid var(--color-gs-primary);background:var(--color-gs-input);width:100%;min-width:0;color:var(--color-gs-text);border-radius:4px;outline:none;padding:4px 5px;font-size:12px;font-weight:600}.page-context-title span{color:var(--color-gs-text-subtle);font-size:11px}.page-context-menu button{min-height:30px;color:var(--color-gs-text);text-align:left;background:0 0;border:0;border-radius:4px;justify-content:flex-start;padding:0 8px;font-size:12px}.page-context-menu button:hover{background:var(--color-gs-control-hover);color:var(--color-gs-text-inverse)}.page-context-menu button.danger{color:var(--color-gs-danger)}.page-context-menu button:disabled{cursor:default;opacity:.4}.page-context-menu button:disabled:hover{color:var(--color-gs-danger);background:0 0}canvas{cursor:crosshair;touch-action:none;width:100%;height:100%;display:block}canvas.space-pan{cursor:grab}canvas.panning{cursor:grabbing}.field-grid{grid-template-columns:72px minmax(0,1fr);align-items:center;gap:8px 10px;margin-bottom:12px;display:grid}.field-grid.compact{margin-bottom:10px}.field-grid label{color:var(--color-gs-text-muted);font-size:13px}.inspector .field-grid{grid-template-columns:56px minmax(0,1fr);gap:6px 8px;margin-bottom:10px}.inspector .field-grid.compact{margin-bottom:8px}.inspector .field-grid label{font-size:11px}.inspector .number-field input,.inspector .text-field{min-height:28px;padding:5px 7px;font-size:12px}.inspector .number-field span{padding:5px 7px;font-size:11px}.inspector .secondary-button,.inspector .inline-button{min-height:30px;font-size:12px}.inspector .paint-field{grid-template-columns:30px minmax(0,1fr) auto;gap:5px}.inspector .paint-field:not(:has(.inline-button)){grid-template-columns:30px minmax(0,1fr)}.inspector .color-field{width:30px;height:30px;padding:2px}.inspector .background-options{gap:6px}.inspector .background-swatch{height:30px}.zoom-row{grid-template-columns:minmax(0,1fr) 54px 46px;gap:6px;display:grid}.inspector .fit-button{width:auto;padding:0 8px}.background-options{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.background-swatch{border:1px solid var(--color-gs-border);background:var(--color-gs-page-white);border-radius:6px;height:34px;position:relative}.background-swatch:hover{border-color:var(--color-gs-primary-hover)}.background-swatch.active{border-color:var(--color-gs-primary);box-shadow:0 0 0 2px var(--color-gs-primary-glow)}.background-swatch.white{background:var(--color-gs-page-white)}.background-swatch.gray{background:var(--color-gs-page-gray)}.background-swatch.black{background:var(--color-gs-page-black)}.background-swatch.alpha{background-color:var(--color-gs-page-alpha-light);background-image:linear-gradient(45deg, var(--color-gs-page-alpha-dark) 25%, transparent 25%), linear-gradient(-45deg, var(--color-gs-page-alpha-dark) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, var(--color-gs-page-alpha-dark) 75%), linear-gradient(-45deg, transparent 75%, var(--color-gs-page-alpha-dark) 75%);background-position:0 0,0 8px,8px -8px,-8px 0;background-size:16px 16px}.number-field{border:1px solid var(--color-gs-border);background:var(--color-gs-input);border-radius:6px;grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid;overflow:hidden}.number-field input{width:100%;min-width:0;color:var(--color-gs-text);font-variant-numeric:tabular-nums;background:0 0;border:0;outline:none;padding:7px 8px}.text-field{border:1px solid var(--color-gs-border);background:var(--color-gs-input);width:100%;min-width:0;color:var(--color-gs-text);border-radius:6px;outline:none;padding:7px 8px}.text-area-field{resize:vertical;border:1px solid var(--color-gs-border);background:var(--color-gs-input);width:100%;min-width:0;min-height:70px;color:var(--color-gs-text);font:inherit;border-radius:6px;outline:none;padding:7px 8px;line-height:1.4}.paint-field{grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:6px;display:grid}.paint-field:not(:has(.inline-button)){grid-template-columns:34px minmax(0,1fr)}.line-style-options{border:1px solid var(--color-gs-border);background:var(--color-gs-control);border-radius:6px;grid-template-columns:repeat(3,minmax(0,1fr));display:grid;overflow:hidden}.line-style-options button{border:0;border-right:1px solid var(--color-gs-border);min-width:0;min-height:30px;color:var(--color-gs-text-muted);text-transform:capitalize;background:0 0;font-size:11px}.line-style-options button:last-child{border-right:0}.line-style-options button:hover{background:var(--color-gs-control-hover);color:var(--color-gs-text)}.line-style-options button.active{background:var(--color-gs-primary);color:var(--color-gs-text-inverse)}.color-field{border:1px solid var(--color-gs-border);background:var(--color-gs-input);cursor:pointer;border-radius:6px;width:34px;height:34px;padding:3px}.color-field::-webkit-color-swatch-wrapper{padding:0}.color-field::-webkit-color-swatch{border:0;border-radius:4px}.color-field::-moz-color-swatch{border:0;border-radius:4px}.inline-button{border:1px solid var(--color-gs-border);background:var(--color-gs-control);min-height:34px;color:var(--color-gs-text);border-radius:6px;padding:0 9px;font-size:12px}.inline-button:hover{border-color:var(--color-gs-primary-hover);background:var(--color-gs-control-hover);color:var(--color-gs-text-inverse)}.number-field span{border-left:1px solid var(--color-gs-border-muted);color:var(--color-gs-text-subtle);padding:7px 8px;font-size:12px}.secondary-button{border:1px solid var(--color-gs-border);background:var(--color-gs-control);width:100%;min-height:34px;color:var(--color-gs-text);border-radius:6px;font-size:13px}.secondary-button:hover{border-color:var(--color-gs-primary-hover);background:var(--color-gs-control-hover);color:var(--color-gs-text-inverse)}.secondary-button:disabled{cursor:default;opacity:.45}.secondary-button.danger:hover{border-color:var(--color-gs-danger);background:var(--color-gs-danger-soft)}dl{margin:0}dl div{border-bottom:1px solid var(--color-gs-border-muted);justify-content:space-between;gap:12px;padding:8px 0;font-size:13px;display:flex}dl div:first-child{padding-top:0}dl div:last-child{border-bottom:0;padding-bottom:0}dt{color:var(--color-gs-text-muted)}dd{color:var(--color-gs-text);font-variant-numeric:tabular-nums;text-align:right;margin:0}textarea{resize:none;border:1px solid var(--color-gs-border);background:var(--color-gs-input);min-height:0;color:var(--color-gs-text-muted);border-radius:6px;flex:1;padding:10px;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:11px;line-height:1.5}.modal-backdrop{z-index:20;background:#0000007a;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.settings-modal{border:1px solid var(--color-gs-border);background:var(--color-gs-panel);border-radius:8px;gap:16px;width:min(560px,100%);max-height:min(720px,100vh - 48px);padding:16px;display:grid;overflow:auto;box-shadow:0 24px 80px #00000059}.modal-header{justify-content:space-between;align-items:center;gap:16px;display:flex}.modal-header h2,.settings-grid h3{color:var(--color-gs-text-muted);letter-spacing:0;text-transform:uppercase;margin:0;font-size:12px;font-weight:700}.modal-header button{border:1px solid var(--color-gs-border);background:var(--color-gs-control);min-height:30px;color:var(--color-gs-text);border-radius:6px;padding:0 10px;font-size:12px}.settings-field{color:var(--color-gs-text-muted);gap:8px;font-size:12px;display:grid}.settings-field textarea{flex:initial;min-height:180px;color:var(--color-gs-text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:13px;line-height:1.45}.settings-grid{grid-template-columns:72px minmax(0,1fr);align-items:center;gap:8px 10px;display:grid}.settings-grid h3{grid-column:1/-1}.settings-grid label{color:var(--color-gs-text-muted);font-size:12px}
@@ -0,0 +1,3 @@
1
+ var e=Object.defineProperty,t=(t,n)=>{let r={};for(var i in t)e(r,i,{get:t[i],enumerable:!0});return n||e(r,Symbol.toStringTag,{value:`Module`}),r},n=Array.isArray,r=Array.prototype.indexOf,i=Array.prototype.includes,a=Array.from,o=Object.defineProperty,s=Object.getOwnPropertyDescriptor,c=Object.getOwnPropertyDescriptors,l=Object.prototype,u=Array.prototype,d=Object.getPrototypeOf,f=Object.isExtensible,p=()=>{};function m(e){for(var t=0;t<e.length;t++)e[t]()}function h(){var e,t;return{promise:new Promise((n,r)=>{e=n,t=r}),resolve:e,reject:t}}var g=1<<24,_=1024,v=2048,y=4096,b=8192,x=16384,S=32768,ee=1<<25,C=65536,te=1<<18,ne=1<<19,re=1<<20,ie=1<<25,ae=65536,oe=1<<21,se=1<<22,ce=1<<23,le=Symbol(`$state`),ue=Symbol(`legacy props`),de=Symbol(``),fe=Symbol(`attributes`),pe=Symbol(`class`),me=Symbol(`style`),he=Symbol(`text`),ge=Symbol(`form reset`),_e=new class extends Error{name=`StaleReactionError`;message="The reaction that called `getAbortSignal()` was re-run or destroyed"},ve=!!globalThis.document?.contentType&&globalThis.document.contentType.includes(`xml`);function ye(e){throw Error(`https://svelte.dev/e/experimental_async_required`)}function be(e){throw Error(`https://svelte.dev/e/lifecycle_outside_component`)}function xe(){throw Error(`https://svelte.dev/e/missing_context`)}function Se(){throw Error(`https://svelte.dev/e/async_derived_orphan`)}function Ce(e,t,n){throw Error(`https://svelte.dev/e/each_key_duplicate`)}function we(e){throw Error(`https://svelte.dev/e/effect_in_teardown`)}function Te(){throw Error(`https://svelte.dev/e/effect_in_unowned_derived`)}function Ee(e){throw Error(`https://svelte.dev/e/effect_orphan`)}function De(){throw Error(`https://svelte.dev/e/effect_update_depth_exceeded`)}function Oe(){throw Error(`https://svelte.dev/e/fork_discarded`)}function ke(){throw Error(`https://svelte.dev/e/fork_timing`)}function Ae(){throw Error(`https://svelte.dev/e/get_abort_signal_outside_reaction`)}function je(){throw Error(`https://svelte.dev/e/hydration_failed`)}function Me(e){throw Error(`https://svelte.dev/e/lifecycle_legacy_only`)}function Ne(e){throw Error(`https://svelte.dev/e/props_invalid_value`)}function Pe(){throw Error(`https://svelte.dev/e/set_context_after_init`)}function Fe(){throw Error(`https://svelte.dev/e/state_descriptors_fixed`)}function Ie(){throw Error(`https://svelte.dev/e/state_prototype_fixed`)}function Le(){throw Error(`https://svelte.dev/e/state_unsafe_mutation`)}function Re(){throw Error(`https://svelte.dev/e/svelte_boundary_reset_onerror`)}var ze={},w=Symbol(`uninitialized`),Be=`http://www.w3.org/1999/xhtml`;function Ve(){console.warn(`https://svelte.dev/e/derived_inert`)}function He(e){console.warn(`https://svelte.dev/e/hydratable_missing_but_expected`)}function Ue(e){console.warn(`https://svelte.dev/e/hydration_mismatch`)}function We(){console.warn(`https://svelte.dev/e/svelte_boundary_reset_noop`)}var T=!1;function E(e){T=e}var D;function O(e){if(e===null)throw Ue(),ze;return D=e}function Ge(){return O(R(D))}function Ke(e){if(T){if(R(D)!==null)throw Ue(),ze;D=e}}function qe(e=1){if(T){for(var t=e,n=D;t--;)n=R(n);D=n}}function Je(e=!0){for(var t=0,n=D;;){if(n.nodeType===8){var r=n.data;if(r===`]`){if(t===0)return n;--t}else (r===`[`||r===`[!`||r[0]===`[`&&!isNaN(Number(r.slice(1))))&&(t+=1)}var i=R(n);e&&n.remove(),n=i}}function Ye(e){if(!e||e.nodeType!==8)throw Ue(),ze;return e.data}function Xe(e){return e===this.v}function Ze(e,t){return e==e?e!==t||typeof e==`object`&&!!e||typeof e==`function`:t==t}function Qe(e){return!Ze(e,this.v)}var k=!1,$e=!1,et=[];function tt(e,t=!1,n=!1){return nt(e,new Map,``,et,null,n)}function nt(e,t,r,i,a=null,o=!1){if(typeof e==`object`&&e){var s=t.get(e);if(s!==void 0)return s;if(e instanceof Map)return new Map(e);if(e instanceof Set)return new Set(e);if(n(e)){var c=Array(e.length);t.set(e,c),a!==null&&t.set(a,c);for(var u=0;u<e.length;u+=1){var f=e[u];u in e&&(c[u]=nt(f,t,r,i,null,o))}return c}if(d(e)===l){c={},t.set(e,c),a!==null&&t.set(a,c);for(var p of Object.keys(e))c[p]=nt(e[p],t,r,i,null,o);return c}if(e instanceof Date)return structuredClone(e);if(typeof e.toJSON==`function`&&!o)return nt(e.toJSON(),t,r,i,e)}if(e instanceof EventTarget)return e;try{return structuredClone(e)}catch{return e}}var A=null;function rt(e){A=e}function it(){let e={};return[()=>(st(e)||xe(),at(e)),t=>ot(e,t)]}function at(e){return ft(`getContext`).get(e)}function ot(e,t){let n=ft(`setContext`);if(k){var r=K.f;!U&&r&32&&!A.i||Pe()}return n.set(e,t),t}function st(e){return ft(`hasContext`).has(e)}function ct(){return ft(`getAllContexts`)}function lt(e,t=!1,n){A={p:A,i:!1,c:null,e:null,s:e,x:null,r:K,l:$e&&!t?{s:null,u:null,$:[]}:null}}function ut(e){var t=A,n=t.e;if(n!==null){t.e=null;for(var r of n)Zn(r)}return e!==void 0&&(t.x=e),t.i=!0,A=t.p,e??{}}function dt(){return!$e||A!==null&&A.l===null}function ft(e){return A===null&&be(e),A.c??=new Map(pt(A)||void 0)}function pt(e){let t=e.p;for(;t!==null;){let e=t.c;if(e!==null)return e;t=t.p}return null}var mt=[];function ht(){var e=mt;mt=[],m(e)}function gt(e){if(mt.length===0&&!Zt){var t=mt;queueMicrotask(()=>{t===mt&&ht()})}mt.push(e)}function _t(){for(;mt.length>0;)ht()}function vt(e){var t=K;if(t===null)return U.f|=ce,e;if(!(t.f&32768)&&!(t.f&4))throw e;yt(e,t)}function yt(e,t){for(;t!==null;){if(t.f&128){if(!(t.f&32768))throw e;try{t.b.error(e);return}catch(t){e=t}}t=t.parent}throw e}var bt=~(v|y|_);function j(e,t){e.f=e.f&bt|t}function xt(e){e.f&512||e.deps===null?j(e,_):j(e,y)}function St(e){if(e!==null)for(let t of e)!(t.f&2)||!(t.f&65536)||(t.f^=ae,St(t.deps))}function Ct(e,t,n){e.f&2048?t.add(e):e.f&4096&&n.add(e),St(e.deps),j(e,_)}var wt=[];function Tt(e,t=p){let n=null,r=new Set;function i(t){if(Ze(e,t)&&(e=t,n)){let t=!wt.length;for(let t of r)t[1](),wt.push(t,e);if(t){for(let e=0;e<wt.length;e+=2)wt[e][0](wt[e+1]);wt.length=0}}}function a(t){i(t(e))}function o(o,s=p){let c=[o,s];return r.add(c),r.size===1&&(n=t(i,a)||p),o(e),()=>{r.delete(c),r.size===0&&n&&(n(),n=null)}}return{set:i,update:a,subscribe:o}}var Et=!1,Dt=!1;function Ot(e){var t=Dt;try{return Dt=!1,[e(),Dt]}finally{Dt=t}}function kt(e){let t=0,n=yn(0),r;return()=>{Jn()&&(Q(n),nr(()=>(t===0&&(r=Ir(()=>e(()=>Tn(n)))),t+=1,()=>{gt(()=>{--t,t===0&&(r?.(),r=void 0,Tn(n))})})))}}var At=C|ne;function jt(e,t,n,r){new Mt(e,t,n,r)}var Mt=class{parent;is_pending=!1;transform_error;#e;#t=T?D:null;#n;#r;#i;#a=null;#o=null;#s=null;#c=null;#l=0;#u=0;#d=!1;#f=new Set;#p=new Set;#m=null;#h=kt(()=>(this.#m=yn(this.#l),()=>{this.#m=null}));constructor(e,t,n,r){this.#e=e,this.#n=t,this.#r=e=>{var t=K;t.b=this,t.f|=128,n(e)},this.parent=K.b,this.transform_error=r??this.parent?.transform_error??(e=>e),this.#i=ir(()=>{if(T){let e=this.#t;Ge();let t=e.data===`[!`;if(e.data.startsWith(`[?`)){let t=JSON.parse(e.data.slice(2));this.#_(t)}else t?this.#v():this.#g()}else this.#y()},At),T&&(this.#e=D)}#g(){try{this.#a=B(()=>this.#r(this.#e))}catch(e){this.error(e)}}#_(e){let t=this.#n.failed;t&&(this.#s=B(()=>{t(this.#e,()=>e,()=>()=>{})}))}#v(){let e=this.#n.pending;e&&(this.is_pending=!0,this.#o=B(()=>e(this.#e)),gt(()=>{var e=this.#c=document.createDocumentFragment(),t=I();e.append(t),this.#a=this.#x(()=>B(()=>this.#r(t))),this.#u===0&&(this.#e.before(e),this.#c=null,dr(this.#o,()=>{this.#o=null}),this.#b(M))}))}#y(){try{if(this.is_pending=this.has_pending_snippet(),this.#u=0,this.#l=0,this.#a=B(()=>{this.#r(this.#e)}),this.#u>0){var e=this.#c=document.createDocumentFragment();hr(this.#a,e);let t=this.#n.pending;this.#o=B(()=>t(this.#e))}else this.#b(M)}catch(e){this.error(e)}}#b(e){this.is_pending=!1,e.transfer_effects(this.#f,this.#p)}defer_effect(e){Ct(e,this.#f,this.#p)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#n.pending}#x(e){var t=K,n=U,r=A;q(this.#i),G(this.#i),rt(this.#i.ctx);try{return rn.ensure(),e()}catch(e){return vt(e),null}finally{q(t),G(n),rt(r)}}#S(e,t){if(!this.has_pending_snippet()){this.parent&&this.parent.#S(e,t);return}this.#u+=e,this.#u===0&&(this.#b(t),this.#o&&dr(this.#o,()=>{this.#o=null}),this.#c&&=(this.#e.before(this.#c),null))}update_pending_count(e,t){this.#S(e,t),this.#l+=e,!(!this.#m||this.#d)&&(this.#d=!0,gt(()=>{this.#d=!1,this.#m&&Sn(this.#m,this.#l)}))}get_effect_pending(){return this.#h(),Q(this.#m)}error(e){if(!this.#n.onerror&&!this.#n.failed)throw e;M?.is_fork?(this.#a&&M.skip_effect(this.#a),this.#o&&M.skip_effect(this.#o),this.#s&&M.skip_effect(this.#s),M.oncommit(()=>{this.#C(e)})):this.#C(e)}#C(e){this.#a&&=(V(this.#a),null),this.#o&&=(V(this.#o),null),this.#s&&=(V(this.#s),null),T&&(O(this.#t),qe(),O(Je()));var t=this.#n.onerror;let n=this.#n.failed;var r=!1,i=!1;let a=()=>{if(r){We();return}r=!0,i&&Re(),this.#s!==null&&dr(this.#s,()=>{this.#s=null}),this.#x(()=>{this.#y()})},o=e=>{try{i=!0,t?.(e,a),i=!1}catch(e){yt(e,this.#i&&this.#i.parent)}n&&(this.#s=this.#x(()=>{try{return B(()=>{var t=K;t.b=this,t.f|=128,n(this.#e,()=>e,()=>a)})}catch(e){return yt(e,this.#i.parent),null}}))};gt(()=>{var t;try{t=this.transform_error(e)}catch(e){yt(e,this.#i&&this.#i.parent);return}typeof t==`object`&&t&&typeof t.then==`function`?t.then(o,e=>yt(e,this.#i&&this.#i.parent)):o(t)})}};function Nt(e,t,n,r){let i=dt()?Lt:Vt;var a=e.filter(e=>!e.settled),o=t.map(i);if(n.length===0&&a.length===0){r(o);return}var s=K,c=Pt(),l=a.length===1?a[0].promise:a.length>1?Promise.all(a.map(e=>e.promise)):null;function u(e){if(!(s.f&16384)){c();try{r([...o,...e])}catch(e){yt(e,s)}Ft()}}var d=It();if(n.length===0){l.then(()=>u([])).finally(d);return}function f(){Promise.all(n.map(e=>zt(e))).then(u).catch(e=>yt(e,s)).finally(d)}l?l.then(()=>{c(),f(),Ft()}):f()}function Pt(){var e=K,t=U,n=A,r=M;return function(i=!0){q(e),G(t),rt(n),i&&!(e.f&16384)&&(r?.activate(),r?.apply())}}function Ft(e=!0){q(null),G(null),rt(null),e&&M?.deactivate()}function It(){var e=K,t=e.b,n=M,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 Lt(e){var t=2|v;return K!==null&&(K.f|=ne),{ctx:A,deps:null,effects:null,equals:Xe,f:t,fn:e,reactions:null,rv:0,v:w,wv:0,parent:K,ac:null}}var Rt=Symbol(`obsolete`);function zt(e,t,n){let r=K;r===null&&Se();var i=void 0,a=yn(w),o=!U,s=new Set;return tr(()=>{var t=K,n=h();i=n.promise;try{Promise.resolve(e()).then(n.resolve,e=>{e!==_e&&n.reject(e)}).finally(Ft)}catch(e){n.reject(e),Ft()}var c=M;if(o){if(t.f&32768)var l=It();if(r.b?.is_rendered())c.async_deriveds.get(t)?.reject(Rt);else for(let e of s.values())e.reject(Rt);s.add(n),c.async_deriveds.set(t,n)}let u=(e,t=void 0)=>{l?.(),s.delete(n),t!==Rt&&(c.activate(),t?(a.f|=ce,Sn(a,t)):(a.f&8388608&&(a.f^=ce),Sn(a,e)),c.deactivate())};n.promise.then(u,e=>u(null,e||`unknown`))}),Yn(()=>{for(let e of s)e.reject(Rt)}),new Promise(e=>{function t(n){function r(){n===i?e(a):t(i)}n.then(r,r)}t(i)})}function Bt(e){let t=Lt(e);return k||yr(t),t}function Vt(e){let t=Lt(e);return t.equals=Qe,t}function Ht(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)V(t[n])}}function Ut(e){var t,n=K,r=e.parent;if(!H&&r!==null&&e.v!==w&&r.f&24576)return Ve(),e.v;q(r);try{e.f&=~ae,Ht(e),t=Or(e)}finally{q(n)}return t}function Wt(e){var t=Ut(e);if(!e.equals(t)&&(e.wv=Tr(),(!M?.is_fork||e.deps===null)&&(M===null?e.v=t:(M.capture(e,t,!0),Yt?.capture(e,t,!0)),e.deps===null))){j(e,_);return}H||(N===null?xt(e):(Jn()||M?.is_fork)&&N.set(e,t))}function Gt(e){if(e.effects!==null)for(let t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac?.abort(_e),t.fn!==null&&(t.teardown=p),t.ac=null,Ar(t,0),sr(t))}function Kt(e){if(e.effects!==null)for(let t of e.effects)t.teardown&&t.fn!==null&&jr(t)}var qt=null,Jt=null,M=null,Yt=null,N=null,Xt=null,Zt=!1,Qt=!1,$t=null,en=null,tn=0,nn=1,rn=class e{id=nn++;#e=!1;linked=!0;#t=null;#n=null;async_deriveds=new Map;current=new Map;previous=new Map;#r=new Set;#i=new Set;#a=0;#o=new Map;#s=null;#c=[];#l=[];#u=new Set;#d=new Set;#f=new Map;#p=new Set;is_fork=!1;#m=!1;constructor(){Jt===null?qt=Jt=this:(Jt.#n=this,this.#t=Jt),Jt=this}#h(){if(this.is_fork)return!0;for(let n of this.#o.keys()){for(var e=n,t=!1;e.parent!==null;){if(this.#f.has(e)){t=!0;break}e=e.parent}if(!t)return!0}return!1}skip_effect(e){this.#f.has(e)||this.#f.set(e,{d:[],m:[]}),this.#p.delete(e)}unskip_effect(e,t=e=>this.schedule(e)){var n=this.#f.get(e);if(n){this.#f.delete(e);for(var r of n.d)j(r,v),t(r);for(r of n.m)j(r,y),t(r)}this.#p.add(e)}#g(){this.#e=!0,tn++>1e3&&(this.#S(),on());for(let e of this.#u)this.#d.delete(e),j(e,v),this.schedule(e);for(let e of this.#d)j(e,y),this.schedule(e);let t=this.#c;this.#c=[],this.apply();var n=$t=[],r=[],i=en=[];for(let e of t)try{this.#_(e,n,r)}catch(t){throw pn(e),this.#h()||this.discard(),t}if(M=null,i.length>0){var a=e.ensure();for(let e of i)a.schedule(e)}if($t=null,en=null,this.#h()){this.#b(r),this.#b(n);for(let[e,t]of this.#f)fn(e,t);i.length>0&&M.#g();return}let o=this.#v();if(o){this.#b(r),this.#b(n),o.#y(this);return}this.#u.clear(),this.#d.clear();for(let e of this.#r)e(this);this.#r.clear(),Yt=this,sn(r),sn(n),Yt=null,this.#s?.resolve();var s=M;if(this.#a===0&&(this.#c.length===0||s!==null)&&(this.#S(),k&&(this.#x(),M=s)),this.#c.length>0)if(s!==null){let e=s;e.#c.push(...this.#c.filter(t=>!e.#c.includes(t)))}else s=this;s!==null&&s.#g()}#_(e,t,n){e.f^=_;for(var r=e.first;r!==null;){var i=r.f,a=(i&96)!=0;if(!(a&&i&1024||i&8192||this.#f.has(r))&&r.fn!==null){a?r.f^=_:i&4?t.push(r):k&&i&16777224?n.push(r):Er(r)&&(i&16&&this.#d.add(r),jr(r));var o=r.first;if(o!==null){r=o;continue}}for(;r!==null;){var s=r.next;if(s!==null){r=s;break}r=r.parent}}}#v(){for(var e=this.#t;e!==null;){if(!e.is_fork){for(let[t,[,n]]of this.current)if(e.current.has(t)&&!n)return e}e=e.#t}return null}#y(e){for(let[t,n]of e.current)!this.previous.has(t)&&e.previous.has(t)&&this.previous.set(t,e.previous.get(t)),this.current.set(t,n);for(let[t,n]of e.async_deriveds){let e=this.async_deriveds.get(t);e&&n.promise.then(e.resolve).catch(e.reject)}e.async_deriveds.clear(),this.transfer_effects(e.#u,e.#d);let t=e=>{var n=e.reactions;if(n!==null)for(let e of n){var r=e.f;if(r&2)t(e);else{var i=e;r&4194320&&!this.async_deriveds.has(i)&&(this.#d.delete(i),j(i,v),this.schedule(i))}}};for(let e of this.current.keys())t(e);this.oncommit(()=>e.discard()),e.#S(),M=this,this.#g()}#b(e){for(var t=0;t<e.length;t+=1)Ct(e[t],this.#u,this.#d)}capture(e,t,n=!1){e.v!==w&&!this.previous.has(e)&&this.previous.set(e,e.v),e.f&8388608||(this.current.set(e,[t,n]),N?.set(e,t)),this.is_fork||(e.v=t)}activate(){M=this}deactivate(){M=null,N=null}flush(){try{Qt=!0,M=this,this.#g()}finally{tn=0,Xt=null,$t=null,en=null,Qt=!1,M=null,N=null,gn.clear()}}discard(){for(let e of this.#i)e(this);this.#i.clear();for(let e of this.async_deriveds.values())e.reject(Rt);this.#S(),this.#s?.resolve()}register_created_effect(e){this.#l.push(e)}#x(){for(let u=qt;u!==null;u=u.#n){var e=u.id<this.id,t=[];for(let[r,[i,a]]of this.current){if(u.current.has(r)){var n=u.current.get(r)[0];if(e&&i!==n)u.current.set(r,[i,a]);else continue}t.push(r)}if(e)for(let[e,t]of this.async_deriveds){let n=u.async_deriveds.get(e);n&&t.promise.then(n.resolve).catch(n.reject)}var r=[...u.current.keys()].filter(e=>!u.current.get(e)[1]);if(!(!u.#e||r.length===0)){var i=r.filter(e=>!this.current.has(e));if(i.length===0)e&&u.discard();else if(t.length>0){if(e)for(let e of this.#p)u.unskip_effect(e,e=>{e.f&4194320?u.schedule(e):u.#b([e])});u.activate();var a=new Set,o=new Map;for(var s of t)cn(s,i,a,o);o=new Map;var c=[...u.current].filter(([e,t])=>{let n=this.current.get(e);return n?n[0]!==t[0]||n[1]!==t[1]:!0}).map(([e])=>e);if(c.length>0)for(let e of this.#l)!(e.f&155648)&&un(e,c,o)&&(e.f&4194320?(j(e,v),u.schedule(e)):u.#u.add(e));if(u.#c.length>0&&!u.#m){u.apply();for(var l of u.#c)u.#_(l,[],[]);u.#c=[]}u.deactivate()}}}}increment(e,t){if(this.#a+=1,e){let e=this.#o.get(t)??0;this.#o.set(t,e+1)}}decrement(e,t){if(--this.#a,e){let e=this.#o.get(t)??0;e===1?this.#o.delete(t):this.#o.set(t,e-1)}this.#m||(this.#m=!0,gt(()=>{this.#m=!1,this.linked&&this.flush()}))}transfer_effects(e,t){for(let t of e)this.#u.add(t);for(let e of t)this.#d.add(e);e.clear(),t.clear()}oncommit(e){this.#r.add(e)}ondiscard(e){this.#i.add(e)}settled(){return(this.#s??=h()).promise}static ensure(){if(M===null){let t=M=new e;!Qt&&!Zt&&gt(()=>{t.#e||t.flush()})}return M}apply(){if(!k||!this.is_fork&&this.#t===null&&this.#n===null){N=null;return}N=new Map;for(let[e,[t]]of this.current)N.set(e,t);for(let t=qt;t!==null;t=t.#n)if(!(t===this||t.is_fork)){var e=!1;if(t.id<this.id){for(let[n,[,r]]of t.current)if(!r&&this.current.has(n)){e=!0;break}}if(!e)for(let[e,n]of t.previous)N.has(e)||N.set(e,n)}}schedule(e){if(Xt=e,e.b?.is_pending&&e.f&16777228&&!(e.f&32768)){e.b.defer_effect(e);return}for(var t=e;t.parent!==null;){t=t.parent;var n=t.f;if($t!==null&&t===K&&(k||(U===null||!(U.f&2))&&!Et))return;if(n&96){if(!(n&1024))return;t.f^=_}}this.#c.push(t)}#S(){if(this.linked){var e=this.#t,t=this.#n;e===null?qt=t:e.#n=t,t===null?Jt=e:t.#t=e,this.linked=!1}}};function an(e){var t=Zt;Zt=!0;try{var n;for(e&&(M!==null&&!M.is_fork&&M.flush(),n=e());;){if(_t(),M===null)return n;M.flush()}}finally{Zt=t}}function on(){try{De()}catch(e){yt(e,Xt)}}var P=null;function sn(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if(!(r.f&24576)&&Er(r)&&(P=new Set,jr(r),r.deps===null&&r.first===null&&r.nodes===null&&r.teardown===null&&r.ac===null&&ur(r),P?.size>0)){gn.clear();for(let e of P){if(e.f&24576)continue;let t=[e],n=e.parent;for(;n!==null;)P.has(n)&&(P.delete(n),t.push(n)),n=n.parent;for(let e=t.length-1;e>=0;e--){let n=t[e];n.f&24576||jr(n)}}P.clear()}}P=null}}function cn(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(let i of e.reactions){let e=i.f;e&2?cn(i,t,n,r):e&4194320&&!(e&2048)&&un(i,t,r)&&(j(i,v),dn(i))}}function ln(e,t){if(e.reactions!==null)for(let n of e.reactions){let e=n.f;e&2?ln(n,t):e&131072&&(j(n,v),t.add(n))}}function un(e,t,n){let r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(let r of e.deps){if(i.call(t,r))return!0;if(r.f&2&&un(r,t,n))return n.set(r,!0),!0}return n.set(e,!1),!1}function dn(e){M.schedule(e)}function fn(e,t){if(!(e.f&32&&e.f&1024)){e.f&2048?t.d.push(e):e.f&4096&&t.m.push(e),j(e,_);for(var n=e.first;n!==null;)fn(n,t),n=n.next}}function pn(e){j(e,_);for(var t=e.first;t!==null;)pn(t),t=t.next}function mn(e){k||ye(`fork`),M!==null&&ke();var t=rn.ensure();t.is_fork=!0,N=new Map;var n=!1,r=t.settled();return an(e),{commit:async()=>{if(n){await r;return}t.linked||Oe(),n=!0,t.is_fork=!1;for(var[e,[i]]of t.current)e.v=i,e.wv=Tr();an(()=>{var e=new Set;for(var n of t.current.keys())ln(n,e);_n(e),Cn()}),t.flush(),await r},discard:()=>{for(var e of t.current.keys())e.wv=Tr();!n&&t.linked&&t.discard()}}}var hn=new Set,gn=new Map;function _n(e){hn=e}var vn=!1;function yn(e,t){return{f:0,v:e,reactions:null,equals:Xe,rv:0,wv:0}}function bn(e,t){let n=yn(e,t);return yr(n),n}function xn(e,t=!1,n=!0){let r=yn(e);return t||(r.equals=Qe),$e&&n&&A!==null&&A.l!==null&&(A.l.s??=[]).push(r),r}function F(e,t,n=!1){return U!==null&&(!W||U.f&131072)&&dt()&&U.f&4325394&&(J===null||!J.has(e))&&Le(),Sn(e,n?Dn(t):t,en)}function Sn(e,t,n=null){if(!e.equals(t)){gn.set(e,H?t:e.v);var r=rn.ensure();if(r.capture(e,t),e.f&2){let t=e;e.f&2048&&Ut(t),N===null&&xt(t)}e.wv=Tr(),En(e,v,n),dt()&&K!==null&&K.f&1024&&!(K.f&96)&&(Z===null?br([e]):Z.push(e)),!r.is_fork&&hn.size>0&&!vn&&Cn()}return t}function Cn(){vn=!1;for(let e of hn){e.f&1024&&j(e,y);let t;try{t=Er(e)}catch{t=!0}t&&jr(e)}hn.clear()}function wn(e,t=1){var n=Q(e),r=t===1?n++:n--;return F(e,n),r}function Tn(e){F(e,e.v+1)}function En(e,t,n){var r=e.reactions;if(r!==null)for(var i=dt(),a=r.length,o=0;o<a;o++){var s=r[o],c=s.f;if(!(!i&&s===K)){var l=(c&v)===0;if(l&&j(s,t),c&131072)hn.add(s);else if(c&2){var u=s;N?.delete(u),c&65536||(c&512&&(K===null||!(K.f&2097152))&&(s.f|=ae),En(u,y,n))}else if(l){var d=s;c&16&&P!==null&&P.add(d),n===null?dn(d):n.push(d)}}}}function Dn(e){if(typeof e!=`object`||!e||le in e)return e;let t=d(e);if(t!==l&&t!==u)return e;var r=new Map,i=n(e),a=bn(0),o=null,c=Cr,f=e=>{if(Cr===c)return e();var t=U,n=Cr;G(null),wr(c);var r=e();return G(t),wr(n),r};return i&&r.set(`length`,bn(e.length,o)),new Proxy(e,{defineProperty(e,t,n){(!(`value`in n)||n.configurable===!1||n.enumerable===!1||n.writable===!1)&&Fe();var i=r.get(t);return i===void 0?f(()=>{var e=bn(n.value,o);return r.set(t,e),e}):F(i,n.value,!0),!0},deleteProperty(e,t){var n=r.get(t);if(n===void 0){if(t in e){let e=f(()=>bn(w,o));r.set(t,e),Tn(a)}}else F(n,w),Tn(a);return!0},get(t,n,i){if(n===le)return e;var a=r.get(n),c=n in t;if(a===void 0&&(!c||s(t,n)?.writable)&&(a=f(()=>bn(Dn(c?t[n]:w),o)),r.set(n,a)),a!==void 0){var l=Q(a);return l===w?void 0:l}return Reflect.get(t,n,i)},getOwnPropertyDescriptor(e,t){var n=Reflect.getOwnPropertyDescriptor(e,t);if(n&&`value`in n){var i=r.get(t);i&&(n.value=Q(i))}else if(n===void 0){var a=r.get(t),o=a?.v;if(a!==void 0&&o!==w)return{enumerable:!0,configurable:!0,value:o,writable:!0}}return n},has(e,t){if(t===le)return!0;var n=r.get(t),i=n!==void 0&&n.v!==w||Reflect.has(e,t);return(n!==void 0||K!==null&&(!i||s(e,t)?.writable))&&(n===void 0&&(n=f(()=>bn(i?Dn(e[t]):w,o)),r.set(t,n)),Q(n)===w)?!1:i},set(e,t,n,c){var l=r.get(t),u=t in e;if(i&&t===`length`)for(var d=n;d<l.v;d+=1){var p=r.get(d+``);p===void 0?d in e&&(p=f(()=>bn(w,o)),r.set(d+``,p)):F(p,w)}if(l===void 0)(!u||s(e,t)?.writable)&&(l=f(()=>bn(void 0,o)),F(l,Dn(n)),r.set(t,l));else{u=l.v!==w;var m=f(()=>Dn(n));F(l,m)}var h=Reflect.getOwnPropertyDescriptor(e,t);if(h?.set&&h.set.call(c,n),!u){if(i&&typeof t==`string`){var g=r.get(`length`),_=Number(t);Number.isInteger(_)&&_>=g.v&&F(g,_+1)}Tn(a)}return!0},ownKeys(e){Q(a);var t=Reflect.ownKeys(e).filter(e=>{var t=r.get(e);return t===void 0||t.v!==w});for(var[n,i]of r)i.v!==w&&!(n in e)&&t.push(n);return t},setPrototypeOf(){Ie()}})}new Set([`copyWithin`,`fill`,`pop`,`push`,`reverse`,`shift`,`sort`,`splice`,`unshift`]);var On,kn,An,jn,Mn;function Nn(){if(On===void 0){On=window,kn=document,An=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;jn=s(t,`firstChild`).get,Mn=s(t,`nextSibling`).get,f(e)&&(e[pe]=void 0,e[fe]=null,e[me]=void 0,e.__e=void 0),f(n)&&(n[he]=void 0)}}function I(e=``){return document.createTextNode(e)}function L(e){return jn.call(e)}function R(e){return Mn.call(e)}function Pn(e,t){if(!T)return L(e);var n=L(D);if(n===null)n=D.appendChild(I());else if(t&&n.nodeType!==3){var r=I();return n?.before(r),O(r),r}return t&&Bn(n),O(n),n}function Fn(e,t=!1){if(!T){var n=L(e);return n instanceof Comment&&n.data===``?R(n):n}if(t){if(D?.nodeType!==3){var r=I();return D?.before(r),O(r),r}Bn(D)}return D}function In(e,t=1,n=!1){let r=T?D:e;for(var i;t--;)i=r,r=R(r);if(!T)return r;if(n){if(r?.nodeType!==3){var a=I();return r===null?i?.after(a):r.before(a),O(a),a}Bn(r)}return O(r),r}function Ln(e){e.textContent=``}function Rn(){return!k||P!==null?!1:(K.f&S)!==0}function zn(e,t,n){return t==null||t===`http://www.w3.org/1999/xhtml`?n?document.createElement(e,{is:n}):document.createElement(e):n?document.createElementNS(t,e,{is:n}):document.createElementNS(t,e)}function Bn(e){if(e.nodeValue.length<65536)return;let t=e.nextSibling;for(;t!==null&&t.nodeType===3;)t.remove(),e.nodeValue+=t.nodeValue,t=e.nextSibling}function Vn(e){T&&L(e)!==null&&Ln(e)}var Hn=!1;function Un(){Hn||(Hn=!0,document.addEventListener(`reset`,e=>{Promise.resolve().then(()=>{if(!e.defaultPrevented)for(let t of e.target.elements)t[ge]?.()})},{capture:!0}))}function Wn(e){var t=U,n=K;G(null),q(null);try{return e()}finally{G(t),q(n)}}function Gn(e,t,n,r=n){e.addEventListener(t,()=>Wn(n));let i=e[ge];i?e[ge]=()=>{i(),r(!0)}:e[ge]=()=>r(!0),Un()}function Kn(e){K===null&&(U===null&&Ee(e),Te()),H&&we(e)}function qn(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function z(e,t){var n=K;n!==null&&n.f&8192&&(e|=b);var r={ctx:A,deps:null,nodes:null,f:e|v|512,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,wv:0,ac:null};M?.register_created_effect(r);var i=r;if(e&4)$t===null?rn.ensure().schedule(r):$t.push(r);else if(t!==null){try{jr(r)}catch(e){throw V(r),e}i.deps===null&&i.teardown===null&&i.nodes===null&&i.first===i.last&&!(i.f&524288)&&(i=i.first,e&16&&e&65536&&i!==null&&(i.f|=C))}if(i!==null&&(i.parent=n,n!==null&&qn(i,n),U!==null&&U.f&2&&!(e&64))){var a=U;(a.effects??=[]).push(i)}return r}function Jn(){return U!==null&&!W}function Yn(e){let t=z(8,null);return j(t,_),t.teardown=e,t}function Xn(e){Kn(`$effect`);var t=K.f;if(!U&&t&32&&A!==null&&!A.i){var n=A;(n.e??=[]).push(e)}else return Zn(e)}function Zn(e){return z(4|re,e)}function Qn(e){return Kn(`$effect.pre`),z(8|re,e)}function $n(e){rn.ensure();let t=z(64|ne,e);return(e={})=>new Promise(n=>{e.outro?dr(t,()=>{V(t),n(void 0)}):(V(t),n(void 0))})}function er(e){return z(4,e)}function tr(e){return z(se|ne,e)}function nr(e,t=0){return z(8|t,e)}function rr(e,t=[],n=[],r=[]){Nt(r,t,n,t=>{z(8,()=>{e(...t.map(Q))})})}function ir(e,t=0){return z(16|t,e)}function ar(e,t=0){return z(g|t,e)}function B(e){return z(32|ne,e)}function or(e){var t=e.teardown;if(t!==null){let e=H,n=U;vr(!0),G(null);try{t.call(null)}finally{vr(e),G(n)}}}function sr(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){let e=n.ac;e!==null&&Wn(()=>{e.abort(_e)});var r=n.next;n.f&64?n.parent=null:V(n,t),n=r}}function cr(e){for(var t=e.first;t!==null;){var n=t.next;t.f&32||V(t),t=n}}function V(e,t=!0){var n=!1;(t||e.f&262144)&&e.nodes!==null&&e.nodes.end!==null&&(lr(e.nodes.start,e.nodes.end),n=!0),e.f|=ee,sr(e,t&&!n),Ar(e,0);var r=e.nodes&&e.nodes.t;if(r!==null)for(let e of r)e.stop();or(e),e.f^=ee,e.f|=x;var i=e.parent;i!==null&&i.first!==null&&ur(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=e.b=null}function lr(e,t){for(;e!==null;){var n=e===t?null:R(e);e.remove(),e=n}}function ur(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 dr(e,t,n=!0){var r=[];fr(e,r,!0);var i=()=>{n&&V(e),t&&t()},a=r.length;if(a>0){var o=()=>--a||i();for(var s of r)s.out(o)}else i()}function fr(e,t,n){if(!(e.f&8192)){e.f^=b;var r=e.nodes&&e.nodes.t;if(r!==null)for(let e of r)(e.is_global||n)&&t.push(e);for(var i=e.first;i!==null;){var a=i.next;if(!(i.f&64)){var o=(i.f&65536)!=0||(i.f&32)!=0&&(e.f&16)!=0;fr(i,t,o?n:!1)}i=a}}}function pr(e){mr(e,!0)}function mr(e,t){if(e.f&8192){e.f^=b,e.f&1024||(j(e,v),rn.ensure().schedule(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&65536)!=0||(n.f&32)!=0;mr(n,i?t:!1),n=r}var a=e.nodes&&e.nodes.t;if(a!==null)for(let e of a)(e.is_global||t)&&e.in()}}function hr(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var i=n===r?null:R(n);t.append(n),n=i}}var gr=null,_r=!1,H=!1;function vr(e){H=e}var U=null,W=!1;function G(e){U=e}var K=null;function q(e){K=e}var J=null;function yr(e){U!==null&&(!k||U.f&2)&&(J??=new Set).add(e)}var Y=null,X=0,Z=null;function br(e){Z=e}var xr=1,Sr=0,Cr=Sr;function wr(e){Cr=e}function Tr(){return++xr}function Er(e){var t=e.f;if(t&2048)return!0;if(t&2&&(e.f&=~ae),t&4096){for(var n=e.deps,r=n.length,i=0;i<r;i++){var a=n[i];if(Er(a)&&Wt(a),a.wv>e.wv)return!0}t&512&&N===null&&j(e,_)}return!1}function Dr(e,t,n=!0){var r=e.reactions;if(r!==null&&!(!k&&J!==null&&J.has(e)))for(var i=0;i<r.length;i++){var a=r[i];a.f&2?Dr(a,t,!1):t===a&&(n?j(a,v):a.f&1024&&j(a,y),dn(a))}}function Or(e){var t=Y,n=X,r=Z,i=U,a=J,o=A,s=W,c=Cr,l=e.f;Y=null,X=0,Z=null,U=l&96?null:e,J=null,rt(e.ctx),W=!1,Cr=++Sr,e.ac!==null&&(Wn(()=>{e.ac.abort(_e)}),e.ac=null);try{e.f|=oe;var u=e.fn,d=u();e.f|=S;var f=e.deps,p=M?.is_fork;if(Y!==null){var m;if(p||Ar(e,X),f!==null&&X>0)for(f.length=X+Y.length,m=0;m<Y.length;m++)f[X+m]=Y[m];else e.deps=f=Y;if(Jn()&&e.f&512)for(m=X;m<f.length;m++)(f[m].reactions??=[]).push(e)}else !p&&f!==null&&X<f.length&&(Ar(e,X),f.length=X);if(dt()&&Z!==null&&!W&&f!==null&&!(e.f&6146))for(m=0;m<Z.length;m++)Dr(Z[m],e);if(i!==null&&i!==e){if(Sr++,i.deps!==null)for(let e=0;e<n;e+=1)i.deps[e].rv=Sr;if(t!==null)for(let e of t)e.rv=Sr;Z!==null&&(r===null?r=Z:r.push(...Z))}return e.f&8388608&&(e.f^=ce),d}catch(e){return vt(e)}finally{e.f^=oe,Y=t,X=n,Z=r,U=i,J=a,rt(o),W=s,Cr=c}}function kr(e,t){let n=t.reactions;if(n!==null){var a=r.call(n,e);if(a!==-1){var o=n.length-1;o===0?n=t.reactions=null:(n[a]=n[o],n.pop())}}if(n===null&&t.f&2&&(Y===null||!i.call(Y,t))){var s=t;s.f&512&&(s.f^=512,s.f&=~ae),s.v!==w&&xt(s),Gt(s),Ar(s,0)}}function Ar(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)kr(e,n[r])}function jr(e){var t=e.f;if(!(t&16384)){j(e,_);var n=K,r=_r;K=e,_r=!0;try{t&16777232?cr(e):sr(e),or(e);var i=Or(e);e.teardown=typeof i==`function`?i:null,e.wv=xr}finally{_r=r,K=n}}}async function Mr(){if(k)return new Promise(e=>{requestAnimationFrame(()=>e()),setTimeout(()=>e())});await Promise.resolve(),an()}function Nr(){return rn.ensure().settled()}function Q(e){var t=(e.f&2)!=0;if(gr?.add(e),U!==null&&!W&&!(K!==null&&K.f&16384)&&(J===null||!J.has(e))){var n=U.deps;if(U.f&2097152)e.rv<Sr&&(e.rv=Sr,Y===null&&n!==null&&n[X]===e?X++:Y===null?Y=[e]:Y.push(e));else{U.deps??=[],i.call(U.deps,e)||U.deps.push(e);var r=e.reactions;r===null?e.reactions=[U]:i.call(r,U)||r.push(U)}}if(H&&gn.has(e))return gn.get(e);if(t){var a=e;if(H){var o=a.v;return(!(a.f&1024)&&a.reactions!==null||Fr(a))&&(o=Ut(a)),gn.set(a,o),o}var s=(a.f&512)==0&&!W&&U!==null&&(_r||(U.f&512)!=0),c=(a.f&S)===0;Er(a)&&(s&&(a.f|=512),Wt(a)),s&&!c&&(Kt(a),Pr(a))}if(N?.has(e))return N.get(e);if(e.f&8388608)throw e.v;return e.v}function Pr(e){if(e.f|=512,e.deps!==null)for(let t of e.deps)(t.reactions??=[]).push(e),t.f&2&&!(t.f&512)&&(Kt(t),Pr(t))}function Fr(e){if(e.v===w)return!0;if(e.deps===null)return!1;for(let t of e.deps)if(gn.has(t)||t.f&2&&Fr(t))return!0;return!1}function Ir(e){var t=W;try{return W=!0,e()}finally{W=t}}[...`allowfullscreen.async.autofocus.autoplay.checked.controls.default.disabled.formnovalidate.indeterminate.inert.ismap.loop.multiple.muted.nomodule.novalidate.open.playsinline.readonly.required.reversed.seamless.selected.webkitdirectory.defer.disablepictureinpicture.disableremoteplayback`.split(`.`)];var Lr=[`touchstart`,`touchmove`];function Rr(e){return Lr.includes(e)}var zr=Symbol(`events`),Br=new Set,Vr=new Set;function Hr(e,t,n,r={}){function i(e){if(r.capture||qr.call(t,e),!e.cancelBubble)return Wn(()=>n?.call(this,e))}return e.startsWith(`pointer`)||e.startsWith(`touch`)||e===`wheel`?gt(()=>{t.addEventListener(e,i,r)}):t.addEventListener(e,i,r),i}function Ur(e,t,n,r,i){var a={capture:r,passive:i},o=Hr(e,t,n,a);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&Yn(()=>{t.removeEventListener(e,o,a)})}function Wr(e,t,n){(t[zr]??={})[e]=n}function Gr(e){for(var t=0;t<e.length;t++)Br.add(e[t]);for(var n of Vr)n(e)}var Kr=null;function qr(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],a=i[0]||e.target;Kr=e;var s=0,c=Kr===e&&e[zr];if(c){var l=i.indexOf(c);if(l!==-1&&(t===document||t===window)){e[zr]=t;return}var u=i.indexOf(t);if(u===-1)return;l<=u&&(s=l)}if(a=i[s]||e.target,a!==t){o(e,`currentTarget`,{configurable:!0,get(){return a||n}});var d=U,f=K;G(null),q(null);try{for(var p,m=[];a!==null&&a!==t;){try{var h=a[zr]?.[r];h!=null&&(!a.disabled||e.target===a)&&h.call(a,e)}catch(e){p?m.push(e):p=e}if(e.cancelBubble)break;s++,a=s<i.length?i[s]:null}if(p){for(let e of m)queueMicrotask(()=>{throw e});throw p}}finally{e[zr]=t,delete e.currentTarget,G(d),q(f)}}}var Jr=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy(`svelte-trusted-html`,{createHTML:e=>e});function Yr(e){return Jr?.createHTML(e)??e}function Xr(e){var t=zn(`template`);return t.innerHTML=Yr(e.replaceAll(`<!>`,`<!---->`)),t.content}function $(e,t){var n=K;n.nodes===null&&(n.nodes={start:e,end:t,a:null,t:null})}function Zr(e,t){var n=(t&1)!=0,r=(t&2)!=0,i,a=!e.startsWith(`<!>`);return()=>{if(T)return $(D,null),D;i===void 0&&(i=Xr(a?e:`<!>`+e),n||(i=L(i)));var t=r||An?document.importNode(i,!0):i.cloneNode(!0);if(n){var o=L(t),s=t.lastChild;$(o,s)}else $(t,t);return t}}function Qr(e,t,n=`svg`){var r=!e.startsWith(`<!>`),i=(t&1)!=0,a=`<${n}>${r?e:`<!>`+e}</${n}>`,o;return()=>{if(T)return $(D,null),D;if(!o){var e=L(Xr(a));if(i)for(o=document.createDocumentFragment();L(e);)o.appendChild(L(e));else o=L(e)}var t=o.cloneNode(!0);if(i){var n=L(t),r=t.lastChild;$(n,r)}else $(t,t);return t}}function $r(e,t){return Qr(e,t,`svg`)}function ei(e=``){if(!T){var t=I(e+``);return $(t,t),t}var n=D;return n.nodeType===3?Bn(n):(n.before(n=I()),O(n)),$(n,n),n}function ti(){if(T)return $(D,null),D;var e=document.createDocumentFragment(),t=document.createComment(``),n=I();return e.append(t,n),$(t,n),e}function ni(e,t){if(T){var n=K;(!(n.f&32768)||n.nodes.end===null)&&(n.nodes.end=D),Ge();return}e!==null&&e.before(t)}function ri(e,t){var n=t==null?``:typeof t==`object`?`${t}`:t;n!==(e[he]??=e.nodeValue)&&(e[he]=n,e.nodeValue=`${n}`)}function ii(e,t){return si(e,t)}function ai(e,t){Nn(),t.intro=t.intro??!1;let n=t.target,r=T,i=D;try{for(var a=L(n);a&&(a.nodeType!==8||a.data!==`[`);)a=R(a);if(!a)throw ze;E(!0),O(a);let r=si(e,{...t,anchor:a});return E(!1),r}catch(r){if(r instanceof Error&&r.message.split(`
2
+ `).some(e=>e.startsWith(`https://svelte.dev/e/`)))throw r;return r!==ze&&console.warn(`Failed to hydrate: `,r),t.recover===!1&&je(),Nn(),Ln(n),E(!1),ii(e,t)}finally{E(r),O(i)}}var oi=new Map;function si(e,{target:t,anchor:n,props:r={},events:i,context:o,intro:s=!0,transformError:c}){Nn();var l=void 0,u=$n(()=>{var s=n??t.appendChild(I());jt(s,{pending:()=>{}},t=>{lt({});var n=A;if(o&&(n.c=o),i&&(r.$$events=i),T&&$(t,null),l=e(t,r)||{},T&&(K.nodes.end=D,D===null||D.nodeType!==8||D.data!==`]`))throw Ue(),ze;ut()},c);var u=new Set,d=e=>{for(var n=0;n<e.length;n++){var r=e[n];if(!u.has(r)){u.add(r);var i=Rr(r);for(let e of[t,document]){var a=oi.get(e);a===void 0&&(a=new Map,oi.set(e,a));var o=a.get(r);o===void 0?(e.addEventListener(r,qr,{passive:i}),a.set(r,1)):a.set(r,o+1)}}}};return d(a(Br)),Vr.add(d),()=>{for(var e of u)for(let n of[t,document]){var r=oi.get(n),i=r.get(e);--i==0?(n.removeEventListener(e,qr),r.delete(e),r.size===0&&oi.delete(n)):r.set(e,i)}Vr.delete(d),s!==n&&s.parentNode?.removeChild(s)}});return ci.set(l,u),l}var ci=new WeakMap;function li(e,t){let n=ci.get(e);return n?(ci.delete(e),n(t)):Promise.resolve()}var ui=class{anchor;#e=new Map;#t=new Map;#n=new Map;#r=new Set;#i=!0;constructor(e,t=!0){this.anchor=e,this.#i=t}#a=e=>{if(this.#e.has(e)){var t=this.#e.get(e),n=this.#t.get(t);if(n)pr(n),this.#r.delete(t);else{var r=this.#n.get(t);r&&(pr(r.effect),this.#t.set(t,r.effect),this.#n.delete(t),r.fragment.lastChild.remove(),this.anchor.before(r.fragment),n=r.effect)}for(let[t,n]of this.#e){if(this.#e.delete(t),t===e)break;let r=this.#n.get(n);r&&(V(r.effect),this.#n.delete(n))}for(let[e,r]of this.#t){if(e===t||this.#r.has(e))continue;let i=()=>{if(Array.from(this.#e.values()).includes(e)){var t=document.createDocumentFragment();hr(r,t),t.append(I()),this.#n.set(e,{effect:r,fragment:t})}else V(r);this.#r.delete(e),this.#t.delete(e)};this.#i||!n?(this.#r.add(e),dr(r,i,!1)):i()}}};#o=e=>{this.#e.delete(e);let t=Array.from(this.#e.values());for(let[e,n]of this.#n)t.includes(e)||(V(n.effect),this.#n.delete(e))};ensure(e,t){var n=M,r=Rn();if(t&&!this.#t.has(e)&&!this.#n.has(e))if(r){var i=document.createDocumentFragment(),a=I();i.append(a),this.#n.set(e,{effect:B(()=>t(a)),fragment:i})}else this.#t.set(e,B(()=>t(this.anchor)));if(this.#e.set(n,e),r){for(let[t,r]of this.#t)t===e?n.unskip_effect(r):n.skip_effect(r);for(let[t,r]of this.#n)t===e?n.unskip_effect(r.effect):n.skip_effect(r.effect);n.oncommit(this.#a),n.ondiscard(this.#o)}else T&&(this.anchor=D),this.#a(n)}};function di(e,t,n=!1){var r;T&&(r=D,Ge());var i=new ui(e),a=n?C:0;function o(e,t){if(T){var n=Ye(r);if(e!==parseInt(n.substring(1))){var a=Je();O(a),i.anchor=a,E(!1),i.ensure(e,t),E(!0);return}}i.ensure(e,t)}ir(()=>{var e=!1;t((t,n=0)=>{e=!0,o(n,t)}),e||o(-1,null)},a)}function fi(e,t){return t}function pi(e,t,n){for(var r=[],i=t.length,o,s=t.length,c=0;c<i;c++){let n=t[c];dr(n,()=>{if(o){if(o.pending.delete(n),o.done.add(n),o.pending.size===0){var t=e.outrogroups;mi(e,a(o.done)),t.delete(o),t.size===0&&(e.outrogroups=null)}}else --s},!1)}if(s===0){var l=r.length===0&&n!==null;if(l){var u=n,d=u.parentNode;Ln(d),d.append(u),e.items.clear()}mi(e,t,!l)}else o={pending:new Set(t),done:new Set},(e.outrogroups??=new Set).add(o)}function mi(e,t,n=!0){var r;if(e.pending.size>0){r=new Set;for(let t of e.pending.values())for(let n of t)r.add(e.items.get(n).e)}for(var i=0;i<t.length;i++){var a=t[i];r?.has(a)?(a.f|=ie,hr(a,document.createDocumentFragment())):V(t[i],n)}}var hi;function gi(e,t,r,i,o,s=null){var c=e,l=new Map;if(t&4){var u=e;c=T?O(L(u)):u.appendChild(I())}T&&Ge();var d=null,f=Vt(()=>{var e=r();return n(e)?e:e==null?[]:a(e)}),p,m=new Map,h=!0;function g(e){v.effect.f&16384||(v.pending.delete(e),v.fallback=d,vi(v,p,c,t,i),d!==null&&(p.length===0?d.f&33554432?(d.f^=ie,bi(d,null,c)):pr(d):dr(d,()=>{d=null})))}function _(e){v.pending.delete(e)}var v={effect:ir(()=>{p=Q(f);var e=p.length;let n=!1;T&&Ye(c)===`[!`!=(e===0)&&(c=Je(),O(c),E(!1),n=!0);for(var a=new Set,u=M,v=Rn(),y=0;y<e;y+=1){T&&D.nodeType===8&&D.data===`]`&&(c=D,n=!0,E(!1));var b=p[y],x=i(b,y),S=h?null:l.get(x);S?(S.v&&Sn(S.v,b),S.i&&Sn(S.i,y),v&&u.unskip_effect(S.e)):(S=yi(l,h?c:hi??=I(),b,x,y,o,t,r),h||(S.e.f|=ie),l.set(x,S)),a.add(x)}if(e===0&&s&&!d&&(h?d=B(()=>s(c)):(d=B(()=>s(hi??=I())),d.f|=ie)),e>a.size&&Ce(``,``,``),T&&e>0&&O(Je()),!h)if(m.set(u,a),v){for(let[e,t]of l)a.has(e)||u.skip_effect(t.e);u.oncommit(g),u.ondiscard(_)}else g(u);n&&E(!0),Q(f)}),flags:t,items:l,pending:m,outrogroups:null,fallback:d};h=!1,T&&(c=D)}function _i(e){for(;e!==null&&!(e.f&32);)e=e.next;return e}function vi(e,t,n,r,i){var o=(r&8)!=0,s=t.length,c=e.items,l=_i(e.effect.first),u,d=null,f,p=[],m=[],h,g,_,v;if(o)for(v=0;v<s;v+=1)h=t[v],g=i(h,v),_=c.get(g).e,_.f&33554432||(_.nodes?.a?.measure(),(f??=new Set).add(_));for(v=0;v<s;v+=1){if(h=t[v],g=i(h,v),_=c.get(g).e,e.outrogroups!==null)for(let t of e.outrogroups)t.pending.delete(_),t.done.delete(_);if(_.f&8192&&(pr(_),o&&(_.nodes?.a?.unfix(),(f??=new Set).delete(_))),_.f&33554432)if(_.f^=ie,_===l)bi(_,null,n);else{var y=d?d.next:l;_===e.effect.last&&(e.effect.last=_.prev),_.prev&&(_.prev.next=_.next),_.next&&(_.next.prev=_.prev),xi(e,d,_),xi(e,_,y),bi(_,y,n),d=_,p=[],m=[],l=_i(d.next);continue}if(_!==l){if(u!==void 0&&u.has(_)){if(p.length<m.length){var b=m[0],x;d=b.prev;var S=p[0],ee=p[p.length-1];for(x=0;x<p.length;x+=1)bi(p[x],b,n);for(x=0;x<m.length;x+=1)u.delete(m[x]);xi(e,S.prev,ee.next),xi(e,d,S),xi(e,ee,b),l=b,d=ee,--v,p=[],m=[]}else u.delete(_),bi(_,l,n),xi(e,_.prev,_.next),xi(e,_,d===null?e.effect.first:d.next),xi(e,d,_),d=_;continue}for(p=[],m=[];l!==null&&l!==_;)(u??=new Set).add(l),m.push(l),l=_i(l.next);if(l===null)continue}_.f&33554432||p.push(_),d=_,l=_i(_.next)}if(e.outrogroups!==null){for(let t of e.outrogroups)t.pending.size===0&&(mi(e,a(t.done)),e.outrogroups?.delete(t));e.outrogroups.size===0&&(e.outrogroups=null)}if(l!==null||u!==void 0){var C=[];if(u!==void 0)for(_ of u)_.f&8192||C.push(_);for(;l!==null;)!(l.f&8192)&&l!==e.fallback&&C.push(l),l=_i(l.next);var te=C.length;if(te>0){var ne=r&4&&s===0?n:null;if(o){for(v=0;v<te;v+=1)C[v].nodes?.a?.measure();for(v=0;v<te;v+=1)C[v].nodes?.a?.fix()}pi(e,C,ne)}}o&&gt(()=>{if(f!==void 0)for(_ of f)_.nodes?.a?.apply()})}function yi(e,t,n,r,i,a,o,s){var c=o&1?o&16?yn(n):xn(n,!1,!1):null,l=o&2?yn(i):null;return{v:c,i:l,e:B(()=>(a(t,c??n,l??i,s),()=>{e.delete(r)}))}}function bi(e,t,n){if(e.nodes)for(var r=e.nodes.start,i=e.nodes.end,a=t&&!(t.f&33554432)?t.nodes.start:n;r!==null;){var o=R(r);if(a.before(r),r===i)return;r=o}}function xi(e,t,n){t===null?e.effect.first=n:t.next=n,n===null?e.effect.last=t:n.prev=t}function Si(e,t,...n){var r=new ui(e);ir(()=>{let e=t()??null;r.ensure(e,e&&(t=>e(t,...n)))},C)}function Ci(e){return(t,...n)=>{var r=e(...n),i;T?(i=D,Ge()):(i=L(Xr(r.render().trim())),t.before(i));let a=r.setup?.(i);$(i,i),typeof a==`function`&&Yn(a)}}function wi(e,t,n){var r;T&&(r=D,Ge());var i=new ui(e);ir(()=>{var e=t()??null;if(T&&Ye(r)===`[`!=(e!==null)){var a=Je();O(a),i.anchor=a,E(!1),i.ensure(e,e&&(t=>n(t,e))),E(!0);return}i.ensure(e,e&&(t=>n(t,e)))},C)}function Ti(e,t){let n=null,r=T;var i;if(T){n=D;for(var a=L(document.head);a!==null&&(a.nodeType!==8||a.data!==e);)a=R(a);if(a===null)E(!1);else{var o=R(a);a.remove(),O(o)}}T||(i=document.head.appendChild(I()));try{ir(()=>{var e=B(()=>t(i));e.f|=te})}finally{r&&(E(!0),O(n))}}function Ei(e,t){var n=void 0,r;ar(()=>{n!==(n=t())&&(r&&=(V(r),null),n&&(r=B(()=>{er(()=>n(e))})))})}var Di=[...`
3
+ \r\f\xA0\v`];function Oi(e,t,n){var r=e==null?``:``+e;if(t&&(r=r?r+` `+t:t),n){for(var i of Object.keys(n))if(n[i])r=r?r+` `+i:i;else if(r.length)for(var a=i.length,o=0;(o=r.indexOf(i,o))>=0;){var s=o+a;(o===0||Di.includes(r[o-1]))&&(s===r.length||Di.includes(r[s]))?r=(o===0?``:r.substring(0,o))+r.substring(s+1):o=s}}return r===``?null:r}function ki(e,t=!1){var n=t?` !important;`:`;`,r=``;for(var i of Object.keys(e)){var a=e[i];a!=null&&a!==``&&(r+=` `+i+`: `+a+n)}return r}function Ai(e){return e[0]!==`-`||e[1]!==`-`?e.toLowerCase():e}function ji(e,t){if(t){var n=``,r,i;if(Array.isArray(t)?(r=t[0],i=t[1]):r=t,e){e=String(e).replaceAll(/\s*\/\*.*?\*\/\s*/g,``).trim();var a=!1,o=0,s=!1,c=[];r&&c.push(...Object.keys(r).map(Ai)),i&&c.push(...Object.keys(i).map(Ai));var l=0,u=-1;let t=e.length;for(var d=0;d<t;d++){var f=e[d];if(s?f===`/`&&e[d-1]===`*`&&(s=!1):a?a===f&&(a=!1):f===`/`&&e[d+1]===`*`?s=!0:f===`"`||f===`'`?a=f:f===`(`?o++:f===`)`&&o--,!s&&a===!1&&o===0){if(f===`:`&&u===-1)u=d;else if(f===`;`||d===t-1){if(u!==-1){var p=Ai(e.substring(l,u).trim());if(!c.includes(p)){f!==`;`&&d++;var m=e.substring(l,d).trim();n+=` `+m+`;`}}l=d+1,u=-1}}}}return r&&(n+=ki(r)),i&&(n+=ki(i,!0)),n=n.trim(),n===``?null:n}return e==null?null:String(e)}function Mi(e,t,n,r,i,a){var o=e[pe];if(T||o!==n||o===void 0){var s=Oi(n,r,a);(!T||s!==e.getAttribute(`class`))&&(s==null?e.removeAttribute(`class`):t?e.className=s:e.setAttribute(`class`,s)),e[pe]=n}else if(a&&i!==a)for(var c in a){var l=!!a[c];(i==null||l!==!!i[c])&&e.classList.toggle(c,l)}return a}function Ni(e,t={},n,r){for(var i in n){var a=n[i];t[i]!==a&&(n[i]==null?e.style.removeProperty(i):e.style.setProperty(i,a,r))}}function Pi(e,t,n,r){var i=e[me];if(T||i!==t){var a=ji(t,r);(!T||a!==e.getAttribute(`style`))&&(a==null?e.removeAttribute(`style`):e.style.cssText=a),e[me]=t}else r&&(Array.isArray(r)?(Ni(e,n?.[0],r[0]),Ni(e,n?.[1],r[1],`important`)):Ni(e,n,r));return r}var Fi=Symbol(`is custom element`),Ii=Symbol(`is html`),Li=ve?`link`:`LINK`,Ri=ve?`progress`:`PROGRESS`;function zi(e){if(T){var t=!1,n=()=>{if(!t){if(t=!0,e.hasAttribute(`value`)){var n=e.value;Hi(e,`value`,null),e.value=n}if(e.hasAttribute(`checked`)){var r=e.checked;Hi(e,`checked`,null),e.checked=r}}};e[ge]=n,gt(n),Un()}}function Bi(e,t){var n=Ui(e);n.value===(n.value=t??void 0)||e.value===t&&(t!==0||e.nodeName!==Ri)||(e.value=t??``)}function Vi(e,t){var n=Ui(e);n.checked!==(n.checked=t??void 0)&&(e.checked=t)}function Hi(e,t,n,r){var i=Ui(e);T&&(i[t]=e.getAttribute(t),t===`src`||t===`srcset`||t===`href`&&e.nodeName===Li)||i[t]!==(i[t]=n)&&(t===`loading`&&(e[de]=n),n==null?e.removeAttribute(t):typeof n!=`string`&&Gi(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function Ui(e){return e[fe]??={[Fi]:e.nodeName.includes(`-`),[Ii]:e.namespaceURI===Be}}var Wi=new Map;function Gi(e){var t=e.getAttribute(`is`)||e.nodeName,n=Wi.get(t);if(n)return n;Wi.set(t,n=[]);for(var r,i=e,a=Element.prototype;a!==i;){for(var o in r=c(i),r)r[o].set&&o!==`innerHTML`&&o!==`textContent`&&o!==`innerText`&&n.push(o);i=d(i)}return n}function Ki(e,t,n=t){var r=new WeakSet;Gn(e,`input`,async i=>{var a=i?e.defaultValue:e.value;if(a=qi(e)?Ji(a):a,n(a),M!==null&&r.add(M),await Mr(),a!==(a=t())){var o=e.selectionStart,s=e.selectionEnd,c=e.value.length;if(e.value=a??``,s!==null){var l=e.value.length;o===s&&s===c&&l>c?(e.selectionStart=l,e.selectionEnd=l):(e.selectionStart=o,e.selectionEnd=Math.min(s,l))}}}),(T&&e.defaultValue!==e.value||Ir(t)==null&&e.value)&&(n(qi(e)?Ji(e.value):e.value),M!==null&&r.add(M)),nr(()=>{var n=t();if(e===document.activeElement){var i=k?Yt:M;if(r.has(i))return}qi(e)&&n===Ji(e.value)||e.type===`date`&&!n&&!e.value||n!==e.value&&(e.value=n??``)})}function qi(e){var t=e.type;return t===`number`||t===`range`}function Ji(e){return e===``?null:+e}function Yi(e,t){return e===t||e?.[le]===t}function Xi(e={},t,n,r){var i=A.r,a=K;return er(()=>{var o,s;return nr(()=>{o=s,s=r?.()||[],Ir(()=>{Yi(n(...s),e)||(t(e,...s),o&&Yi(n(...o),e)&&t(null,...o))})}),()=>{let r=a;for(;r!==i&&r.parent!==null&&r.parent.f&33554432;)r=r.parent;let o=()=>{s&&Yi(n(...s),e)&&t(null,...s)},c=r.teardown;r.teardown=()=>{o(),c?.()}}}),e}function Zi(e,t,n,r){var i=!$e||(n&2)!=0,a=(n&8)!=0,o=(n&16)!=0,c=r,l=!0,u=void 0,d=()=>o&&i?(u??=Lt(r),Q(u)):(l&&(l=!1,c=o?Ir(r):r),c);let f;if(a){var p=le in e||ue in e;f=s(e,t)?.set??(p&&t in e?n=>e[t]=n:void 0)}var m,h=!1;a?[m,h]=Ot(()=>e[t]):m=e[t],m===void 0&&r!==void 0&&(m=d(),f&&(i&&Ne(t),f(m)));var g=i?()=>{var n=e[t];return n===void 0?d():(l=!0,n)}:()=>{var n=e[t];return n!==void 0&&(c=void 0),n===void 0?c:n};if(i&&!(n&4))return g;if(f){var _=e.$$legacy;return(function(e,t){return arguments.length>0?((!i||!t||_||h)&&f(t?g():e),e):g()})}var v=!1,y=(n&1?Lt:Vt)(()=>(v=!1,g()));a&&Q(y);var b=K;return(function(e,t){if(arguments.length>0){let n=t?Q(y):i&&a?Dn(e):e;return F(y,n),v=!0,c!==void 0&&(c=n),e}return H&&v||b.f&16384?y.v:Q(y)})}function Qi(e){return class extends $i{constructor(t){super({component:e,...t})}}}var $i=class{#e;#t;constructor(e){var t=new Map,n=(e,n)=>{var r=xn(n,!1,!1);return t.set(e,r),r};let r=new Proxy({...e.props||{},$$events:{}},{get(e,r){return Q(t.get(r)??n(r,Reflect.get(e,r)))},has(e,r){return r===ue?!0:(Q(t.get(r)??n(r,Reflect.get(e,r))),Reflect.has(e,r))},set(e,r,i){return F(t.get(r)??n(r,i),i),Reflect.set(e,r,i)}});this.#t=(e.hydrate?ai:ii)(e.component,{target:e.target,anchor:e.anchor,props:r,context:e.context,intro:e.intro??!1,recover:e.recover,transformError:e.transformError}),!k&&(!e?.props?.$$host||e.sync===!1)&&an(),this.#e=r.$$events;for(let e of Object.keys(this.#t))e===`$set`||e===`$destroy`||e===`$on`||o(this,e,{get(){return this.#t[e]},set(t){this.#t[e]=t},enumerable:!0});this.#t.$set=e=>{Object.assign(r,e)},this.#t.$destroy=()=>{li(this.#t)}}$set(e){this.#t.$set(e)}$on(e,t){this.#e[e]=this.#e[e]||[];let n=(...e)=>t.call(this,...e);return this.#e[e].push(n),()=>{this.#e[e]=this.#e[e].filter(e=>e!==n)}}$destroy(){this.#t.$destroy()}};function ea(e,t){if(k||ye(`hydratable`),T){let t=window.__svelte?.h;if(t?.has(e))return t.get(e);He(e)}return t()}var ta=t({afterUpdate:()=>ca,beforeUpdate:()=>sa,createContext:()=>it,createEventDispatcher:()=>oa,createRawSnippet:()=>Ci,flushSync:()=>an,fork:()=>mn,getAbortSignal:()=>na,getAllContexts:()=>ct,getContext:()=>at,hasContext:()=>st,hydratable:()=>ea,hydrate:()=>ai,mount:()=>ii,onDestroy:()=>ia,onMount:()=>ra,setContext:()=>ot,settled:()=>Nr,tick:()=>Mr,unmount:()=>li,untrack:()=>Ir});function na(){return U===null&&Ae(),(U.ac??=new AbortController).signal}function ra(e){A===null&&be(`onMount`),$e&&A.l!==null?la(A).m.push(e):Xn(()=>{let t=Ir(e);if(typeof t==`function`)return t})}function ia(e){A===null&&be(`onDestroy`),ra(()=>()=>Ir(e))}function aa(e,t,{bubbles:n=!1,cancelable:r=!1}={}){return new CustomEvent(e,{detail:t,bubbles:n,cancelable:r})}function oa(){let e=A;return e===null&&be(`createEventDispatcher`),(t,r,i)=>{let a=e.s.$$events?.[t];if(a){let o=n(a)?a.slice():[a],s=aa(t,r,i);for(let t of o)t.call(e.x,s);return!s.defaultPrevented}return!0}}function sa(e){A===null&&be(`beforeUpdate`),A.l===null&&Me(`beforeUpdate`),la(A).b.push(e)}function ca(e){A===null&&be(`afterUpdate`),A.l===null&&Me(`afterUpdate`),la(A).a.push(e)}function la(e){var t=e.l;return t.u??={a:[],b:[],m:[]}}export{tt as $,Q as A,Pn as B,ti as C,Gr as D,ei as E,rr as F,bn as G,In as H,Xn as I,Tt as J,wn as K,Qn as L,Mr as M,Ir as N,Wr as O,er as P,ot as Q,Vn as R,ni as S,$r as T,Dn as U,Fn as V,F as W,ut as X,at as Y,lt as Z,Si as _,Zi as a,di as b,zi as c,Bi as d,qe as et,Pi as f,wi as g,Ti as h,Qi as i,Nr as j,Ur as k,Hi as l,Ei as m,ia as n,p as nt,Xi as o,Mi as p,Bt as q,ra as r,Ki as s,ta as t,Ke as tt,Vi as u,gi as v,Zr as w,ri as x,fi as y,kn as z};
@@ -0,0 +1 @@
1
+ import{A as e,G as t,J as n,M as r,W as i,j as a,r as o,t as s}from"./BAVS28_6.js";var c=class{constructor(e,t){this.status=e,typeof t==`string`?this.body={message:t}:t?this.body=t:this.body={message:`Error: ${e}`}}toString(){return JSON.stringify(this.body)}},l=class{constructor(e,t){try{new Headers({location:t})}catch{throw Error(`Invalid redirect location ${JSON.stringify(t)}: this string contains characters that cannot be used in HTTP headers`)}this.status=e,this.location=t}},u=class extends Error{constructor(e,t,n){super(n),this.status=e,this.text=t}};new URL(`sveltekit-internal://`);function d(e,t){return e===`/`||t===`ignore`?e:t===`never`?e.endsWith(`/`)?e.slice(0,-1):e:t===`always`&&!e.endsWith(`/`)?e+`/`:e}function f(e){return e.split(`%25`).map(decodeURI).join(`%25`)}function p(e){for(let t in e)e[t]=decodeURIComponent(e[t]);return e}function m({href:e}){return e.split(`#`)[0]}function h(){}function g(...e){let t=5381;for(let n of e)if(typeof n==`string`){let e=n.length;for(;e;)t=t*33^n.charCodeAt(--e)}else if(ArrayBuffer.isView(n)){let e=new Uint8Array(n.buffer,n.byteOffset,n.byteLength),r=e.length;for(;r;)t=t*33^e[--r]}else throw TypeError(`value must be a string or TypedArray`);return(t>>>0).toString(36)}new TextEncoder;function _(e){let t=atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;e++)n[e]=t.charCodeAt(e);return n}var v=window.fetch;window.fetch=(e,t)=>((e instanceof Request?e.method:t?.method||`GET`)!==`GET`&&y.delete(x(e)),v(e,t));var y=new Map;function ee(e,t){let n=x(e,t),r=document.querySelector(n);if(r?.textContent){r.remove();let{body:e,...t}=JSON.parse(r.textContent),i=r.getAttribute(`data-ttl`);return i&&y.set(n,{body:e,init:t,ttl:1e3*Number(i)}),r.getAttribute(`data-b64`)!==null&&(e=_(e)),Promise.resolve(new Response(e,t))}return window.fetch(e,t)}function b(e,t,n){if(y.size>0){let t=x(e,n),r=y.get(t);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);y.delete(t)}}return window.fetch(t,n)}function x(e,t){let n=`script[data-sveltekit-fetched][data-url=${JSON.stringify(e instanceof Request?e.url:e)}]`;if(t?.headers||t?.body){let e=[];t.headers&&e.push([...new Headers(t.headers)].join(`,`)),t.body&&(typeof t.body==`string`||ArrayBuffer.isView(t.body))&&e.push(t.body),n+=`[data-hash="${g(...e)}"]`}return n}var te=/^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/,ne=/^\/\((?:[^)]+)\)$/;function re(e){let t=[];return{pattern:e===`/`||ne.test(e)?/^\/$/:RegExp(`^${ae(e).map(e=>{let n=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(e);if(n)return t.push({name:n[1],matcher:n[2],optional:!1,rest:!0,chained:!0}),`(?:/([^]*))?`;let r=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(e);if(r)return t.push({name:r[1],matcher:r[2],optional:!0,rest:!1,chained:!0}),`(?:/([^/]+))?`;if(!e)return;let i=e.split(/\[(.+?)\](?!\])/);return`/`+i.map((e,n)=>{if(n%2){if(e.startsWith(`x+`))return se(String.fromCharCode(parseInt(e.slice(2),16)));if(e.startsWith(`u+`))return se(String.fromCharCode(...e.slice(2).split(`-`).map(e=>parseInt(e,16))));let[,r,a,o,s]=te.exec(e);return t.push({name:o,matcher:s,optional:!!r,rest:!!a,chained:a?n===1&&i[0]===``:!1}),a?`([^]*?)`:r?`([^/]*)?`:`([^/]+?)`}return se(e)}).join(``)}).join(``)}/?$`),params:t}}function ie(e){return e!==``&&!/^\([^)]+\)$/.test(e)}function ae(e){return e.slice(1).split(`/`).filter(ie)}function oe(e,t,n){let r={},i=e.slice(1),a=i.filter(e=>e!==void 0),o=0;for(let e=0;e<t.length;e+=1){let s=t[e],c=i[e-o];if(s.chained&&s.rest&&o&&(c=i.slice(e-o,e+1).filter(e=>e).join(`/`),o=0),c===void 0)if(s.rest)c=``;else continue;if(!s.matcher||n[s.matcher](c)){r[s.name]=c;let n=t[e+1],l=i[e+1];n&&!n.rest&&n.optional&&l&&s.chained&&(o=0),!n&&!l&&Object.keys(r).length===a.length&&(o=0);continue}if(s.optional&&s.chained){o++;continue}return}if(!o)return r}function se(e){return e.normalize().replace(/[[\]]/g,`\\$&`).replace(/%/g,`%25`).replace(/\//g,`%2[Ff]`).replace(/\?/g,`%3[Ff]`).replace(/#/g,`%23`).replace(/[.*+?^${}()|\\]/g,`\\$&`)}function ce({nodes:e,server_loads:t,dictionary:n,matchers:r}){let i=new Set(t);return Object.entries(n).map(([t,[n,i,s]])=>{let{pattern:c,params:l}=re(t),u={id:t,exec:e=>{let t=c.exec(e);if(t)return oe(t,l,r)},errors:[1,...s||[]].map(t=>e[t]),layouts:[0,...i||[]].map(o),leaf:a(n)};return u.errors.length=u.layouts.length=Math.max(u.errors.length,u.layouts.length),u});function a(t){let n=t<0;return n&&(t=~t),[n,e[t]]}function o(t){return t===void 0?t:[i.has(t),e[t]]}}function le(e,t=JSON.parse){try{return t(sessionStorage[e])}catch{}}function ue(e,t,n=JSON.stringify){let r=n(t);try{sessionStorage[e]=r}catch{}}var S=globalThis.__sveltekit_ji2duc?.base??``,de=globalThis.__sveltekit_ji2duc?.assets??S??``,fe=`1782116281257`,pe=`sveltekit:snapshot`,me=`sveltekit:scroll`,he=`sveltekit:states`,C=`sveltekit:history`,w=`sveltekit:navigation`,T={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},ge=location.origin;function _e(e){if(e instanceof URL)return e;let t=document.baseURI;if(!t){let e=document.getElementsByTagName(`base`);t=e.length?e[0].href:document.URL}return new URL(e,t)}function E(){return{x:pageXOffset,y:pageYOffset}}function D(e,t){return e.getAttribute(`data-sveltekit-${t}`)}var ve={...T,"":T.hover};function ye(e){let t=e.assignedSlot??e.parentNode;return t?.nodeType===11&&(t=t.host),t}function be(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()===`A`&&e.hasAttribute(`href`))return e;e=ye(e)}}function xe(e,t,n){let r;try{if(r=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI),n&&r.hash.match(/^#[^/]/)){let e=location.hash.split(`#`)[1]||`/`;r.hash=`#${e}${r.hash}`}}catch{}let i=e instanceof SVGAElement?e.target.baseVal:e.target,a=!r||!!i||k(r,t,n)||(e.getAttribute(`rel`)||``).split(/\s+/).includes(`external`),o=r?.origin===ge&&e.hasAttribute(`download`);return{url:r,external:a,target:i,download:o}}function O(e){let t=null,n=null,r=null,i=null,a=null,o=null,s=e;for(;s&&s!==document.documentElement;)r===null&&(r=D(s,`preload-code`)),i===null&&(i=D(s,`preload-data`)),t===null&&(t=D(s,`keepfocus`)),n===null&&(n=D(s,`noscroll`)),a===null&&(a=D(s,`reload`)),o===null&&(o=D(s,`replacestate`)),s=ye(s);function c(e){switch(e){case``:case`true`:return!0;case`off`:case`false`:return!1;default:return}}return{preload_code:ve[r??`off`],preload_data:ve[i??`off`],keepfocus:c(t),noscroll:c(n),reload:c(a),replace_state:c(o)}}function Se(e){let t=n(e),r=!0;function i(){r=!0,t.update(e=>e)}function a(e){r=!1,t.set(e)}function o(e){let n;return t.subscribe(t=>{(n===void 0||r&&t!==n)&&e(n=t)})}return{notify:i,set:a,subscribe:o}}var Ce={v:h};function we(){let{set:e,subscribe:t}=n(!1);async function r(){clearTimeout(void 0);try{let t=await fetch(`${de}/_app/version.json`,{headers:{pragma:`no-cache`,"cache-control":`no-cache`}});if(!t.ok)return!1;let n=(await t.json()).version!==fe;return n&&(e(!0),Ce.v(),clearTimeout(void 0)),n}catch{return!1}}return{subscribe:t,check:r}}function k(e,t,n){return e.origin!==ge||!e.pathname.startsWith(t)?!0:n?e.pathname!==location.pathname:!1}function Te(e){}var Ee=new Set([`load`,`prerender`,`csr`,`ssr`,`trailingSlash`,`config`]);new Set([...Ee,`entries`]);var De=new Set([...Ee]);new Set([...De,`actions`,`entries`]),new Set([`GET`,`POST`,`PATCH`,`PUT`,`DELETE`,`OPTIONS`,`HEAD`,`fallback`,`prerender`,`trailingSlash`,`config`,`entries`]);function Oe(e){return e.filter(e=>e!=null)}function A(e,t){return e+`/`+t}function ke(e){return e instanceof c||e instanceof u?e.status:500}function Ae(e){return e instanceof u?e.text:`Internal Error`}var j,M,N,je=o.toString().includes(`$$`)||/function \w+\(\) \{\}/.test(o.toString()),Me=`a:`;je?(j={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL(Me)},M={current:null},N={current:!1}):(j=new class{#e=t({});get data(){return e(this.#e)}set data(e){i(this.#e,e)}#t=t(null);get form(){return e(this.#t)}set form(e){i(this.#t,e)}#n=t(null);get error(){return e(this.#n)}set error(e){i(this.#n,e)}#r=t({});get params(){return e(this.#r)}set params(e){i(this.#r,e)}#i=t({id:null});get route(){return e(this.#i)}set route(e){i(this.#i,e)}#a=t({});get state(){return e(this.#a)}set state(e){i(this.#a,e)}#o=t(-1);get status(){return e(this.#o)}set status(e){i(this.#o,e)}#s=t(new URL(Me));get url(){return e(this.#s)}set url(e){i(this.#s,e)}},M=new class{#e=t(null);get current(){return e(this.#e)}set current(e){i(this.#e,e)}},N=new class{#e=t(!1);get current(){return e(this.#e)}set current(e){i(this.#e,e)}},Ce.v=()=>N.current=!0);function Ne(e){Object.assign(j,e)}var{onMount:Pe,tick:Fe}=s,Ie=new Set([`icon`,`shortcut icon`,`apple-touch-icon`]),P=null,F=le(`sveltekit:scroll`)??{},I=le(`sveltekit:snapshot`)??{},L={url:Se({}),page:Se({}),navigating:n(null),updated:we()};function Le(e){F[e]=E()}function Re(e,t){let n=e+1;for(;F[n];)delete F[n],n+=1;for(n=t+1;I[n];)delete I[n],n+=1}function R(e,t=!1){return t?location.replace(e.href):location.href=e.href,new Promise(h)}async function ze(){if(`serviceWorker`in navigator){let e=await navigator.serviceWorker.getRegistration(S||`/`);e&&await e.update()}}var Be,Ve,z,B,He,V,Ue=[],H=[],U=null;function We(){U?.fork?.then(e=>e?.discard()),U=null,Q={element:void 0,href:void 0}}var Ge=new Map,Ke=new Set,qe=new Set,W=new Set,G={branch:[],error:null,url:null,nav:null},Je=!1,Ye=!1,Xe=!0,K=!1,q=!1,Ze=!1,Qe=!1,$e,J,Y,X,et=new Set,tt=new Map,nt=new Map;async function rt(e,t,n){globalThis.__sveltekit_ji2duc&&(globalThis.__sveltekit_ji2duc.query,globalThis.__sveltekit_ji2duc.prerender),document.URL!==location.href&&(location.href=location.href),V=e,await e.hooks.init?.(),Be=ce(e),B=document.documentElement,He=t,Ve=e.nodes[0],z=e.nodes[1],Ve(),z(),J=history.state?.[C],Y=history.state?.[w],J||(J=Y=Date.now(),history.replaceState({...history.state,[C]:J,[w]:Y},``));let r=F[J];function i(){r&&(history.scrollRestoration=`manual`,scrollTo(r.x,r.y))}n?(i(),await jt(He,n)):(await Z({type:`enter`,url:_e(V.hash?Lt(new URL(location.href)):location.href),replace_state:!0}),i()),At()}function it(){Ue.length=0,Qe=!1}function at(e){H.some(e=>e?.snapshot)&&(I[e]=H.map(e=>e?.snapshot?.capture()))}function ot(e){I[e]?.forEach((e,t)=>{H[t]?.snapshot?.restore(e)})}function st(){Le(J),ue(me,F),at(Y),ue(pe,I)}async function ct(e,t,n,i){let a,o;t.invalidateAll&&We(),await Z({type:`goto`,url:_e(e),keepfocus:t.keepFocus,noscroll:t.noScroll,replace_state:t.replaceState,state:t.state,redirect_count:n,nav_token:i,accept:()=>{if(t.invalidateAll){Qe=!0,a=new Set;for(let[e,t]of tt)for(let n of t.keys())a.add(A(e,n));o=new Set;for(let[e,t]of nt)for(let n of t.keys())o.add(A(e,n))}t.invalidate&&t.invalidate.forEach(kt)}}),t.invalidateAll&&r().then(r).then(()=>{for(let[e,t]of tt)for(let[n,{resource:r}]of t)a?.has(A(e,n))&&r.refresh();for(let[e,t]of nt)for(let[n,{resource:r}]of t)o?.has(A(e,n))&&r.reconnect()})}async function lt(e){if(e.id!==U?.id){We();let t={};et.add(t),U={id:e.id,token:t,promise:yt({...e,preload:t}).then(e=>(et.delete(t),e.type===`loaded`&&e.state.error&&We(),e)),fork:null}}return U.promise}async function ut(e){let t=(await Ct(e,!1))?.route;t&&await Promise.all([...t.layouts,t.leaf].filter(Boolean).map(e=>e[1]()))}async function dt(e,t,n){let r={params:G.params,route:{id:G.route?.id??null},url:new URL(location.href)};if(G={...e.state,nav:r},Ne(e.props.page),$e=new V.root({target:t,props:{...e.props,stores:L,components:H},hydrate:n,sync:!1,transformError:void 0}),await Promise.resolve(),ot(Y),n){let e={from:null,to:{...r,scroll:F[J]??E()},willUnload:!1,type:`enter`,complete:Promise.resolve()};W.forEach(t=>t(e))}Ye=!0}async function ft({url:e,params:t,branch:n,errors:r,status:i,error:a,route:o,form:s}){let c=`never`;if(S&&(e.pathname===S||e.pathname===S+`/`))c=`always`;else for(let e of n)e?.slash!==void 0&&(c=e.slash);e.pathname=d(e.pathname,c),e.search=e.search;let l={type:`loaded`,state:{url:e,params:t,branch:n,error:a,route:o},props:{constructors:Oe(n).map(e=>e.node.component),page:It(j)}};s!==void 0&&(l.props.form=s);let u={},f=!j,p=0;for(let e=0;e<Math.max(n.length,G.branch.length);e+=1){let t=n[e],r=G.branch[e];t?.data!==r?.data&&(f=!0),t&&(u={...u,...t.data},f&&(l.props[`data_${p}`]=u),p+=1)}return(!G.url||e.href!==G.url.href||G.error!==a||s!==void 0&&s!==j.form||f)&&(l.props.page={error:a,params:t,route:{id:o?.id??null},state:{},status:i,url:new URL(e),form:s??null,data:f?u:j.data}),l}async function pt({loader:e,parent:t,url:n,params:r,route:i,server_data_node:a}){let o={dependencies:new Set,params:new Set,parent:!1,route:!1,url:!1,search_params:new Set},s=await e();return{node:s,loader:e,server:a,universal:s.universal?.load?{type:`data`,data:null,uses:o}:null,data:a?.data??null,slash:s.universal?.trailingSlash??a?.slash}}function mt(e,t,n){let r=e instanceof Request?e.url:e,i=new URL(r,n);return i.origin===n.origin&&(r=i.href.slice(n.origin.length)),{resolved:i,promise:Ye?b(r,i.href,t):ee(r,t)}}function ht(e,t,n,r,i,a){if(Qe)return!0;if(!i)return!1;if(i.parent&&e||i.route&&t||i.url&&n)return!0;for(let e of i.search_params)if(r.has(e))return!0;for(let e of i.params)if(a[e]!==G.params[e])return!0;for(let e of i.dependencies)if(Ue.some(t=>t(new URL(e))))return!0;return!1}function gt(e,t){return e?.type===`data`?e:e?.type===`skip`?t??null:null}function _t(e,t){if(!e)return new Set(t.searchParams.keys());let n=new Set([...e.searchParams.keys(),...t.searchParams.keys()]);for(let r of n){let i=e.searchParams.getAll(r),a=t.searchParams.getAll(r);i.every(e=>a.includes(e))&&a.every(e=>i.includes(e))&&n.delete(r)}return n}function vt({error:e,url:t,route:n,params:r}){return{type:`loaded`,state:{error:e,url:t,route:n,params:r,branch:[]},props:{page:It(j),constructors:[]}}}async function yt({id:e,invalidating:t,url:n,params:r,route:i,preload:a}){if(U?.id===e)return et.delete(U.token),U.promise;let{errors:o,layouts:s,leaf:u}=i,d=[...s,u];o.forEach(e=>e?.().catch(h)),d.forEach(e=>e?.[1]().catch(h));let f=G.url?e!==Tt(G.url):!1,p=G.route?i.id!==G.route.id:!1,m=_t(G.url,n),g=!1,_=d.map(async(e,t)=>{if(!e)return;let a=G.branch[t];return e[1]===a?.loader&&!ht(g,p,f,m,a.universal?.uses,r)?a:(g=!0,pt({loader:e[1],url:n,params:r,route:i,parent:async()=>{let e={};for(let n=0;n<t;n+=1)Object.assign(e,(await _[n])?.data);return e},server_data_node:gt(e[0]?{type:`skip`}:null,e[0]?a?.server:void 0)}))});for(let e of _)e.catch(h);let v=[];for(let e=0;e<d.length;e+=1)if(d[e])try{v.push(await _[e])}catch(t){if(t instanceof l)return{type:`redirect`,location:t.location};if(et.has(a))return vt({error:await $(t,{params:r,url:n,route:{id:i.id}}),url:n,params:r,route:i});let s=ke(t),u;if(t instanceof c)u=t.body;else{if(await L.updated.check())return await ze(),await R(n);u=await $(t,{params:r,url:n,route:{id:i.id}})}let d=await bt(e,v,o);return d?ft({url:n,params:r,branch:v.slice(0,d.idx).concat(d.node),errors:o,status:s,error:u,route:i}):await Dt(n,{id:i.id},u,s)}else v.push(void 0);return ft({url:n,params:r,branch:v,errors:o,status:200,error:null,route:i,form:t?void 0:null})}async function bt(e,t,n){for(;e--;)if(n[e]){let r=e;for(;!t[r];)--r;try{return{idx:r+1,node:{node:await n[e](),loader:n[e],data:{},server:null,universal:null}}}catch{continue}}}async function xt({status:e,error:t,url:n,route:r}){let i={};try{return ft({url:n,params:i,branch:[await pt({loader:Ve,url:n,params:i,route:r,parent:()=>Promise.resolve({}),server_data_node:gt(null)}),{node:await z(),loader:z,universal:null,server:null,data:null}],status:e,error:t,errors:[],route:null})}catch(e){if(e instanceof l)return ct(new URL(e.location,location.href),{},0);throw e}}async function St(e){let t=e.href;if(Ge.has(t))return Ge.get(t);let n;try{let r=(async()=>{let t=await V.hooks.reroute({url:new URL(e),fetch:async(t,n)=>mt(t,n,e).promise})??e;if(typeof t==`string`){let n=new URL(e);V.hash?n.hash=t:n.pathname=t,t=n}return t})();Ge.set(t,r),n=await r}catch{Ge.delete(t);return}return n}async function Ct(e,t){if(e&&!k(e,S,V.hash)){let n=await St(e);if(!n)return;let r=wt(n);for(let n of Be){let i=n.exec(r);if(i)return{id:Tt(e),invalidating:t,route:n,params:p(i),url:e}}}}function wt(e){return f(V.hash?e.hash.replace(/^#/,``).replace(/[?#].+/,``):e.pathname.slice(S.length))||`/`}function Tt(e){return(V.hash?e.hash.replace(/^#/,``):e.pathname)+e.search}function Et({url:e,type:t,intent:n,delta:r,event:i,scroll:a}){let o=!1,s=Ft(G,n,e,t,a??null);r!==void 0&&(s.navigation.delta=r),i!==void 0&&(s.navigation.event=i);let c={...s.navigation,cancel:()=>{o=!0,s.reject(Error(`navigation cancelled`))}};return K||Ke.forEach(e=>e(c)),o?null:s}async function Z({type:e,url:t,popped:n,keepfocus:i,noscroll:o,replace_state:s,state:c={},redirect_count:l=0,nav_token:d={},accept:f=h,block:p=h,event:m}){let g=X;X=d;let _=await Ct(t,!1),v=e===`enter`?Ft(G,_,t,e):Et({url:t,type:e,delta:n?.delta,intent:_,scroll:n?.scroll,event:m});if(!v){p(),X===d&&(X=g);return}let y=J,ee=Y;f(),K=!0,Ye&&v.navigation.type!==`enter`&&L.navigating.set(M.current=v.navigation);let b=_&&await yt(_);if(!b){if(k(t,S,V.hash))return await R(t,s);b=await Dt(t,{id:null},await $(new u(404,`Not Found`,`Not found: ${t.pathname}`),{url:t,params:{},route:{id:null}}),404,s)}if(t=_?.url||t,X!==d)return v.reject(Error(`navigation aborted`)),!1;if(b.type===`redirect`){if(l<20){await Z({type:e,url:new URL(b.location,t),popped:n,keepfocus:i,noscroll:o,replace_state:s,state:c,redirect_count:l+1,nav_token:d}),v.fulfil(void 0);return}b=await xt({status:500,error:await $(Error(`Redirect loop`),{url:t,params:{},route:{id:null}}),url:t,route:{id:null}})}else b.props.page.status>=400&&await L.updated.check()&&(await ze(),await R(t,s));if(it(),Le(y),at(ee),b.props.page.url.pathname!==t.pathname&&(t.pathname=b.props.page.url.pathname),c=n?n.state:c,!n){let e=+!s,n={[C]:J+=e,[w]:Y+=e,[he]:c};(s?history.replaceState:history.pushState).call(history,n,``,t),s||Re(J,Y)}let x=_&&U?.id===_.id?U.fork:null;U?.fork&&!x?We():(U=null,Q={element:void 0,href:void 0}),b.props.page.state=c;let te;if(Ye){let e=(await Promise.all(Array.from(qe,e=>e(v.navigation)))).filter(e=>typeof e==`function`);if(e.length>0){function t(){e.forEach(e=>{W.delete(e)})}e.push(t),e.forEach(e=>{W.add(e)})}let n=v.navigation.to;G={...b.state,nav:{params:n.params,route:n.route,url:n.url}},b.props.page&&(b.props.page.url=t);let r=x&&await x;r?te=r.commit():(P=null,$e.$set(b.props),P&&Object.assign(b.props.page,P),Ne(b.props.page),te=a?.()),Ze=!0}else await dt(b,He,!1);let{activeElement:ne}=document;if(await te,await r(),await r(),X!==d)return v.reject(Error(`navigation aborted`)),!1;b.props.page&&P&&Object.assign(b.props.page,P);let re=null;if(Xe){let e=n?n.scroll:o?E():null;e?scrollTo(e.x,e.y):(re=t.hash&&document.getElementById(Rt(t)))?re.scrollIntoView():scrollTo(0,0)}let ie=document.activeElement!==ne&&document.activeElement!==document.body;!i&&!ie&&Pt(t,!re),Xe=!0,K=!1,e===`popstate`&&ot(Y),v.fulfil(void 0),v.navigation.to&&(v.navigation.to.scroll=E()),W.forEach(e=>e(v.navigation)),L.navigating.set(M.current=null)}async function Dt(e,t,n,r,i){return e.origin===ge&&e.pathname===location.pathname&&!Je?await xt({status:r,error:n,url:e,route:t}):await R(e,i)}var Q={element:void 0,href:void 0};function Ot(){let e,t;B.addEventListener(`mousemove`,t=>{let n=t.target;clearTimeout(e),e=setTimeout(()=>{i(n,T.hover)},20)});function n(e){e.defaultPrevented||i(e.composedPath()[0],T.tap)}B.addEventListener(`mousedown`,n),B.addEventListener(`touchstart`,n,{passive:!0});let r=new IntersectionObserver(e=>{for(let t of e)t.isIntersecting&&(ut(new URL(t.target.href)),r.unobserve(t.target))},{threshold:0});async function i(e,n){let r=be(e,B),i=r===Q.element&&r?.href===Q.href&&n>=t;if(!r||i)return;let{url:a,external:o,download:s}=xe(r,S,V.hash);if(o||s)return;let c=O(r),l=a&&Tt(G.url)===Tt(a);if(!(c.reload||l))if(n<=c.preload_data){Q={element:r,href:r.href},t=T.tap;let e=await Ct(a,!1);if(!e)return;lt(e)}else n<=c.preload_code&&(Q={element:r,href:r.href},t=n,ut(a))}function a(){r.disconnect();for(let e of B.querySelectorAll(`a`)){let{url:t,external:n,download:i}=xe(e,S,V.hash);if(n||i)continue;let a=O(e);a.reload||(a.preload_code===T.viewport&&r.observe(e),a.preload_code===T.eager&&ut(t))}}W.add(a),a()}function $(e,t){if(e instanceof c)return e.body;let n=ke(e),r=Ae(e);return V.hooks.handleError({error:e,event:t,status:n,message:r})??{message:r}}function kt(e){if(typeof e==`function`)Ue.push(e);else{let{href:t}=new URL(e,location.href);Ue.push(e=>e.href===t)}}function At(){history.scrollRestoration=`manual`,addEventListener(`beforeunload`,e=>{let t=!1;if(st(),!K){let e=Ft(G,void 0,null,`leave`),n={...e.navigation,cancel:()=>{t=!0,e.reject(Error(`navigation cancelled`))}};Ke.forEach(e=>e(n))}t?(e.preventDefault(),e.returnValue=``):history.scrollRestoration=`auto`}),addEventListener(`visibilitychange`,()=>{document.visibilityState===`hidden`&&st()}),navigator.connection?.saveData||Ot(),B.addEventListener(`click`,async t=>{if(t.button||t.which!==1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.defaultPrevented)return;let n=be(t.composedPath()[0],B);if(!n)return;let{url:r,external:i,target:a,download:o}=xe(n,S,V.hash);if(!r)return;if(a===`_parent`||a===`_top`){if(window.parent!==window)return}else if(a&&a!==`_self`)return;let s=O(n);if(!(n instanceof SVGAElement)&&r.protocol!==location.protocol&&!(r.protocol===`https:`||r.protocol===`http:`)||o)return;let[c,l]=(V.hash?r.hash.replace(/^#/,``):r.href).split(`#`),u=c===m(location);if(i||s.reload&&(!u||!l)){Et({url:r,type:`link`,event:t})?K=!0:t.preventDefault();return}if(l!==void 0&&u){let[,i]=G.url.href.split(`#`);if(i===l){if(t.preventDefault(),l===``||l===`top`&&n.ownerDocument.getElementById(`top`)===null)scrollTo({top:0});else{let e=n.ownerDocument.getElementById(decodeURIComponent(l));e&&(e.scrollIntoView(),e.focus())}return}if(q=!0,Le(J),e(r),!s.replace_state)return;q=!1}t.preventDefault(),await new Promise(e=>{requestAnimationFrame(()=>{setTimeout(e,0)}),setTimeout(e,100)}),await Z({type:`link`,url:r,keepfocus:s.keepfocus,noscroll:s.noscroll,replace_state:s.replace_state??r.href===location.href,event:t})}),B.addEventListener(`submit`,e=>{if(e.defaultPrevented)return;let t=HTMLFormElement.prototype.cloneNode.call(e.target),n=e.submitter;if((n?.formTarget||t.target)===`_blank`||(n?.formMethod||t.method)!==`get`)return;let r=new URL(n?.hasAttribute(`formaction`)&&n?.formAction||t.action);if(k(r,S,!1))return;let i=e.target,a=O(i);if(a.reload)return;e.preventDefault(),e.stopPropagation();let o=new FormData(i,n);r.search=new URLSearchParams(o).toString(),Z({type:`form`,url:r,keepfocus:a.keepfocus,noscroll:a.noscroll,replace_state:a.replace_state??r.href===location.href,event:e})}),addEventListener(`popstate`,async t=>{if(!Nt)if(t.state?.[`sveltekit:history`]){let n=t.state[C];if(X={},n===J)return;let r=F[n],i=t.state[`sveltekit:states`]??{},a=new URL(t.state[`sveltekit:pageurl`]??location.href),o=t.state[w],s=G.url?m(location)===m(G.url):!1;if(o===Y&&(Ze||s)){i!==j.state&&(j.state=i),e(a),F[J]=E(),r&&scrollTo(r.x,r.y),J=n;return}let c=n-J;await Z({type:`popstate`,url:a,popped:{state:i,scroll:r,delta:c},accept:()=>{J=n,Y=o},block:()=>{history.go(-c)},nav_token:X,event:t})}else q||(e(new URL(location.href)),V.hash&&location.reload())}),addEventListener(`hashchange`,()=>{q&&(q=!1,history.replaceState({...history.state,[C]:++J,[w]:Y},``,location.href))});for(let e of document.querySelectorAll(`link`))Ie.has(e.rel)&&(e.href=e.href);addEventListener(`pageshow`,e=>{e.persisted&&L.navigating.set(M.current=null)});function e(e){G.url=j.url=e,L.page.set(It(j)),L.page.notify()}}async function jt(e,{status:t=200,error:n,node_ids:r,params:i,route:a,server_route:o,data:s,form:c}){Je=!0;let u=new URL(location.href),d;({params:i={},route:a={id:null}}=await Ct(u,!1)||{}),d=Be.find(({id:e})=>e===a.id);let f,p=!0;try{let e=r.map(async(t,n)=>{let r=s[n];return r?.uses&&(r.uses=Mt(r.uses)),pt({loader:V.nodes[t],url:u,params:i,route:a,parent:async()=>{let t={};for(let r=0;r<n;r+=1)Object.assign(t,(await e[r]).data);return t},server_data_node:gt(r)})}),o=await Promise.all(e);if(d){let e=d.layouts;for(let t=0;t<e.length;t++)e[t]||o.splice(t,0,void 0)}f=await ft({url:u,params:i,branch:o,status:t,error:n,errors:d?.errors,form:c,route:d??null})}catch(t){if(t instanceof l){await R(new URL(t.location,location.href));return}f=await xt({status:ke(t),error:await $(t,{url:u,params:i,route:a}),url:u,route:a}),e.textContent=``,p=!1}f.props.page&&(f.props.page.state={}),await dt(f,e,p)}function Mt(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??[])}}var Nt=!1;function Pt(e,t=!0){let n=document.querySelector(`[autofocus]`);if(n)n.focus();else{let n=Rt(e);if(n&&document.getElementById(n)){let{x:r,y:i}=E();setTimeout(()=>{let a=history.state;Nt=!0,location.replace(new URL(`#${n}`,location.href)),history.replaceState(a,``,e),t&&scrollTo(r,i),Nt=!1})}else{let e=document.body,t=e.getAttribute(`tabindex`);e.tabIndex=-1,e.focus({preventScroll:!0,focusVisible:!1}),t===null?e.removeAttribute(`tabindex`):e.setAttribute(`tabindex`,t)}let r=getSelection();if(r&&r.type!==`None`){let e=[];for(let t=0;t<r.rangeCount;t+=1)e.push(r.getRangeAt(t));setTimeout(()=>{if(r.rangeCount===e.length){for(let t=0;t<r.rangeCount;t+=1){let n=e[t],i=r.getRangeAt(t);if(n.commonAncestorContainer!==i.commonAncestorContainer||n.startContainer!==i.startContainer||n.endContainer!==i.endContainer||n.startOffset!==i.startOffset||n.endOffset!==i.endOffset)return}r.removeAllRanges()}})}}}function Ft(e,t,n,r,i=null){let a,o,s=new Promise((e,t)=>{a=e,o=t});return s.catch(h),{navigation:{from:{params:e.params,route:{id:e.route?.id??null},url:e.url,scroll:E()},to:n&&{params:t?.params??null,route:{id:t?.route?.id??null},url:n,scroll:i},willUnload:!t,type:r,complete:s},fulfil:a,reject:o}}function It(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 Lt(e){let t=new URL(e);return t.hash=decodeURIComponent(e.hash),t}function Rt(e){let t;if(V.hash){let[,,n]=e.hash.split(`#`,3);t=n??``}else t=e.hash.slice(1);return decodeURIComponent(t)}export{N as a,j as i,L as n,Te as o,M as r,rt as t};
@@ -0,0 +1 @@
1
+ var e=`modulepreload`,t=function(e,t){return new URL(e,t).href},n={},r=function(r,i,a){let o=Promise.resolve();if(i&&i.length>0){let r=document.getElementsByTagName(`link`),s=document.querySelector(`meta[property=csp-nonce]`),c=s?.nonce||s?.getAttribute(`nonce`);function l(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}o=l(i.map(i=>{if(i=t(i,a),i in n)return;n[i]=!0;let o=i.endsWith(`.css`),s=o?`[rel="stylesheet"]`:``;if(a)for(let e=r.length-1;e>=0;e--){let t=r[e];if(t.href===i&&(!o||t.rel===`stylesheet`))return}else if(document.querySelector(`link[href="${i}"]${s}`))return;let l=document.createElement(`link`);if(l.rel=o?`stylesheet`:e,o||(l.as=`script`),l.crossOrigin=``,l.href=i,c&&l.setAttribute(`nonce`,c),document.head.appendChild(l),o)return new Promise((e,t)=>{l.addEventListener(`load`,e),l.addEventListener(`error`,()=>t(Error(`Unable to preload CSS for ${i}`)))})}))}function s(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return o.then(e=>{for(let t of e||[])t.status===`rejected`&&s(t.reason);return r().catch(s)})};export{r as t};
@@ -0,0 +1 @@
1
+ typeof window<`u`&&((window.__svelte??={}).v??=new Set).add(`5`);
@@ -0,0 +1,2 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.CgyV9l8M.js","../chunks/BAVS28_6.js","../chunks/xihTtKlq.js","../assets/0.6FezuCNY.css","../nodes/1.CVIOxv4y.js","../chunks/BHNkEUd5.js","../nodes/2.DAdKRbM5.js"])))=>i.map(i=>d[i]);
2
+ import{A as e,B as t,C as n,E as r,F as i,G as a,H as o,I as s,L as c,M as l,S as u,V as d,W as f,X as p,Z as m,a as h,b as g,g as _,i as v,o as y,q as b,r as x,tt as S,w as C,x as w}from"../chunks/BAVS28_6.js";import{t as T}from"../chunks/kNaey6uv.js";import"../chunks/xihTtKlq.js";var E={},D=C(`<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>`),O=C(`<!> <!>`,1);function k(v,C){m(C,!0);let T=h(C,`components`,23,()=>[]),E=h(C,`data_0`,3,null),k=h(C,`data_1`,3,null);c(()=>C.stores.page.set(C.page)),s(()=>{C.stores,C.page,C.constructors,T(),C.form,E(),k(),C.stores.page.notify()});let A=a(!1),j=a(!1),M=a(null);x(()=>{let t=C.stores.page.subscribe(()=>{e(A)&&(f(j,!0),l().then(()=>{f(M,document.title||`untitled page`,!0)}))});return f(A,!0),t});let N=b(()=>C.constructors[1]);var P=O(),F=d(P),I=t=>{let r=b(()=>C.constructors[0]);var i=n();_(d(i),()=>e(r),(t,r)=>{y(r(t,{get data(){return E()},get form(){return C.form},get params(){return C.page.params},children:(t,r)=>{var i=n();_(d(i),()=>e(N),(e,t)=>{y(t(e,{get data(){return k()},get form(){return C.form},get params(){return C.page.params}}),e=>T()[1]=e,()=>T()?.[1])}),u(t,i)},$$slots:{default:!0}}),e=>T()[0]=e,()=>T()?.[0])}),u(t,i)},L=t=>{let r=b(()=>C.constructors[0]);var i=n();_(d(i),()=>e(r),(e,t)=>{y(t(e,{get data(){return E()},get form(){return C.form},get params(){return C.page.params}}),e=>T()[0]=e,()=>T()?.[0])}),u(t,i)};g(F,e=>{C.constructors[1]?e(I):e(L,-1)});var R=o(F,2),z=n=>{var a=D(),o=t(a),s=t=>{var n=r();i(()=>w(n,e(M))),u(t,n)};g(o,t=>{e(j)&&t(s)}),S(a),u(n,a)};g(R,t=>{e(A)&&t(z)}),u(v,P),p()}var A=v(k),j=[()=>T(()=>import(`../nodes/0.CgyV9l8M.js`),__vite__mapDeps([0,1,2,3]),import.meta.url),()=>T(()=>import(`../nodes/1.CVIOxv4y.js`),__vite__mapDeps([4,1,5,2]),import.meta.url),()=>T(()=>import(`../nodes/2.DAdKRbM5.js`),__vite__mapDeps([6,1,2]),import.meta.url)],M=[],N={"/":[2]},P={handleError:(({error:e})=>{console.error(e)}),reroute:(()=>{}),transport:{}},F=Object.fromEntries(Object.entries(P.transport).map(([e,t])=>[e,t.decode])),I=Object.fromEntries(Object.entries(P.transport).map(([e,t])=>[e,t.encode])),L=!1,R=(e,t)=>F[e](t);export{R as decode,F as decoders,N as dictionary,I as encoders,L as hash,P as hooks,E as matchers,j as nodes,A as root,M as server_loads};
@@ -0,0 +1 @@
1
+ import{o as e,t}from"../chunks/BHNkEUd5.js";export{e as load_css,t as start};
@@ -0,0 +1 @@
1
+ import{C as e,S as t,V as n,_ as r,h as i,w as a}from"../chunks/BAVS28_6.js";import"../chunks/xihTtKlq.js";var o=a(`<link rel="icon" type="image/svg+xml" href="/icons/App-Icon.svg"/>`);function s(a,s){var c=e();i(`12qhfyh`,e=>{t(e,o())}),r(n(c),()=>s.children),t(a,c)}export{s as component};
@@ -0,0 +1 @@
1
+ import{B as e,F as t,H as n,S as r,V as i,X as a,Z as o,tt as s,w as c,x as l}from"../chunks/BAVS28_6.js";import{i as u,n as d}from"../chunks/BHNkEUd5.js";import"../chunks/xihTtKlq.js";var f={get data(){return u.data},get error(){return u.error},get form(){return u.form},get params(){return u.params},get route(){return u.route},get state(){return u.state},get status(){return u.status},get url(){return u.url}};d.updated.check;var p=f,m=c(`<h1> </h1> <p> </p>`,1);function h(c,u){o(u,!0);var d=m(),f=i(d),h=e(f,!0);s(f);var g=n(f,2),_=e(g,!0);s(g),t(()=>{l(h,p.status),l(_,p.error?.message)}),r(c,d),a()}export{h as component};