@panomc/widget-host 0.0.0-stage → 1.0.0-dev.62
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/runtime/chunks/chunk-9EZydhXt.js +1 -0
- package/dist/runtime/chunks/chunk-BQPllGmY.js +1 -0
- package/dist/runtime/chunks/chunk-CTgT5UYL.js +1 -0
- package/dist/runtime/chunks/chunk-ChRkfjHR.js +1 -0
- package/dist/runtime/chunks/chunk-Cmbb89rp.js +1 -0
- package/dist/runtime/chunks/chunk-CqpY4RsZ.js +1 -0
- package/dist/runtime/chunks/chunk-D7Jd5Dpn.js +1 -0
- package/dist/runtime/chunks/chunk-DNUkGPCL.js +1 -0
- package/dist/runtime/chunks/chunk-DebScgYV.js +1 -0
- package/dist/runtime/chunks/chunk-DgPYxg7o.js +1 -0
- package/dist/runtime/chunks/chunk-DhgH0pN2.js +1 -0
- package/dist/runtime/chunks/chunk-FEL6LDrJ.js +1 -0
- package/dist/runtime/chunks/chunk-RPo0Hd8r.js +1 -0
- package/dist/runtime/chunks/chunk-Xd_2KAhC.js +1 -0
- package/dist/runtime/chunks/chunk-akOtSLvV.js +1 -0
- package/dist/runtime/chunks/chunk-cUxFvg6m.js +1 -0
- package/dist/runtime/css/pano-fallback-icons.css +9 -0
- package/dist/runtime/css/pano-tokens.css +225 -0
- package/dist/runtime/host/components-panel.js +1 -0
- package/dist/runtime/host/components-theme.js +1 -0
- package/dist/runtime/host/controllers.js +1 -0
- package/dist/runtime/host/index.js +1 -0
- package/dist/runtime/host/internal.js +1 -0
- package/dist/runtime/host/svelte.js +1 -0
- package/dist/runtime/host/toasts.js +1 -0
- package/dist/runtime/host/utils-api.js +1 -0
- package/dist/runtime/host/utils-auth.js +1 -0
- package/dist/runtime/host/utils-component.js +1 -0
- package/dist/runtime/host/utils-language.js +1 -0
- package/dist/runtime/host/utils-route.js +1 -0
- package/dist/runtime/host/utils-text.js +1 -0
- package/dist/runtime/host/utils-tooltip.js +1 -0
- package/dist/runtime/host/variables.js +1 -0
- package/dist/runtime/host/views.js +1 -0
- package/dist/runtime/loader.js +1 -0
- package/dist/runtime/runtime.json +104 -0
- package/dist/runtime/svelte/animate.js +1 -0
- package/dist/runtime/svelte/attachments.js +1 -0
- package/dist/runtime/svelte/easing.js +1 -0
- package/dist/runtime/svelte/events.js +1 -0
- package/dist/runtime/svelte/index.js +1 -0
- package/dist/runtime/svelte/internal-client.js +1 -0
- package/dist/runtime/svelte/internal-disclose-version.js +1 -0
- package/dist/runtime/svelte/internal-flags-async.js +1 -0
- package/dist/runtime/svelte/internal-flags-legacy.js +1 -0
- package/dist/runtime/svelte/internal-flags-tracing.js +1 -0
- package/dist/runtime/svelte/internal.js +1 -0
- package/dist/runtime/svelte/legacy.js +1 -0
- package/dist/runtime/svelte/motion.js +1 -0
- package/dist/runtime/svelte/reactivity-window.js +1 -0
- package/dist/runtime/svelte/reactivity.js +1 -0
- package/dist/runtime/svelte/store.js +1 -0
- package/dist/runtime/svelte/transition.js +1 -0
- package/dist/runtime/svelte-i18n.js +1 -0
- package/dist/runtime/webfonts/fa-brands-400.ttf +0 -0
- package/dist/runtime/webfonts/fa-brands-400.woff2 +0 -0
- package/dist/runtime/webfonts/fa-regular-400.ttf +0 -0
- package/dist/runtime/webfonts/fa-regular-400.woff2 +0 -0
- package/dist/runtime/webfonts/fa-solid-900.ttf +0 -0
- package/dist/runtime/webfonts/fa-solid-900.woff2 +0 -0
- package/dist/runtime/webfonts/fa-v4compatibility.ttf +0 -0
- package/dist/runtime/webfonts/fa-v4compatibility.woff2 +0 -0
- package/dist/widget-runtime.zip +0 -0
- package/package.json +63 -4
- package/scripts/build-zip.js +35 -0
- package/scripts/install-local.js +57 -0
- package/scripts/loader.js +169 -0
- package/scripts/runtime-map.js +33 -0
- package/scripts/zip.js +128 -0
- package/src/__tests__/components.test.js +77 -0
- package/src/__tests__/controllers.test.js +188 -0
- package/src/__tests__/define.test.js +276 -0
- package/src/__tests__/env.js +111 -0
- package/src/__tests__/fixtures/Goal.svelte +5 -0
- package/src/__tests__/modules.test.js +251 -0
- package/src/__tests__/parity.test.js +123 -0
- package/src/api.js +144 -0
- package/src/auth.js +2 -0
- package/src/component.js +4 -0
- package/src/components/Date.svelte +38 -0
- package/src/components/NoContent.svelte +13 -0
- package/src/components/PageActions.svelte +22 -0
- package/src/components/PageTitle.svelte +32 -0
- package/src/components/Pagination.svelte +49 -0
- package/src/components/PlayerHead.svelte +39 -0
- package/src/components/Toast.svelte +16 -0
- package/src/components/empty.js +3 -0
- package/src/components/index.js +14 -0
- package/src/components/panel.js +19 -0
- package/src/config.js +100 -0
- package/src/context.js +47 -0
- package/src/controllers.js +313 -0
- package/src/define.js +352 -0
- package/src/index.js +38 -0
- package/src/internal.js +2 -0
- package/src/language.js +181 -0
- package/src/plugin.js +20 -0
- package/src/route.js +4 -0
- package/src/runtime.js +49 -0
- package/src/session.js +72 -0
- package/src/svelte-runtime.js +3 -0
- package/src/svelte.js +72 -0
- package/src/text.js +2 -0
- package/src/toasts.js +75 -0
- package/src/tooltip.js +4 -0
- package/src/variables.js +29 -0
- package/src/views.js +17 -0
- package/README.md +0 -3
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
/* Generated by scripts/build-tokens.js from packages/plugin-kit/src/styles/tokens.map.js. Do not edit. */
|
|
2
|
+
@layer pano-defaults {
|
|
3
|
+
:root,
|
|
4
|
+
[data-bs-theme='light'] {
|
|
5
|
+
--pano-color-bg: #fff;
|
|
6
|
+
--pano-color-surface: #e9ecef;
|
|
7
|
+
--pano-color-surface-raised: #f8f9fa;
|
|
8
|
+
--pano-color-text: #212529;
|
|
9
|
+
--pano-color-text-muted: rgba(33, 37, 41, 0.75);
|
|
10
|
+
--pano-color-text-subtle: rgba(33, 37, 41, 0.5);
|
|
11
|
+
--pano-color-heading: #000;
|
|
12
|
+
--pano-color-border: #dee2e6;
|
|
13
|
+
--pano-color-primary: #044389;
|
|
14
|
+
--pano-color-secondary: #ffc947;
|
|
15
|
+
--pano-color-success: #4ecdc4;
|
|
16
|
+
--pano-color-danger: #ed5565;
|
|
17
|
+
--pano-color-warning: #967adc;
|
|
18
|
+
--pano-color-info: #1e96fc;
|
|
19
|
+
--pano-color-link: #044389;
|
|
20
|
+
--pano-color-link-hover: rgb(1.2549019608%, 21.0196078431%, 42.9803921569%);
|
|
21
|
+
--pano-color-on-primary: #fff;
|
|
22
|
+
--pano-color-on-secondary: #000;
|
|
23
|
+
--pano-radius: 9.6px;
|
|
24
|
+
--pano-radius-sm: 9.6px;
|
|
25
|
+
--pano-radius-lg: 9.6px;
|
|
26
|
+
--pano-radius-pill: 50rem;
|
|
27
|
+
--pano-border-width: 1.5px;
|
|
28
|
+
--pano-shadow-sm: 0 1.5px 0 rgba(10, 25, 49, 0.1);
|
|
29
|
+
--pano-shadow: 0 1.5px 0 rgba(10, 25, 49, 0.1);
|
|
30
|
+
--pano-shadow-lg: 0 4px 0 rgba(10, 25, 49, 0.1);
|
|
31
|
+
--pano-font-body: "Quicksand", sans-serif;
|
|
32
|
+
--pano-font-heading: inherit;
|
|
33
|
+
--pano-font-mono: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
|
34
|
+
--pano-font-size: 1rem;
|
|
35
|
+
--pano-font-weight: 500;
|
|
36
|
+
--pano-font-weight-bold: 600;
|
|
37
|
+
--pano-line-height: 1.5;
|
|
38
|
+
--pano-space: 1rem;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
[data-bs-theme='dark'] {
|
|
42
|
+
--pano-color-bg: #0a1931;
|
|
43
|
+
--pano-color-surface: #112240;
|
|
44
|
+
--pano-color-surface-raised: #162b4e;
|
|
45
|
+
--pano-color-text: #dee2e6;
|
|
46
|
+
--pano-color-text-muted: rgba(204, 209, 217, 0.75);
|
|
47
|
+
--pano-color-text-subtle: rgba(204, 209, 217, 0.5);
|
|
48
|
+
--pano-color-heading: #fff;
|
|
49
|
+
--pano-color-border: rgba(255, 255, 255, 0.1);
|
|
50
|
+
--pano-color-primary: #044389;
|
|
51
|
+
--pano-color-secondary: #ffc947;
|
|
52
|
+
--pano-color-success: #4ecdc4;
|
|
53
|
+
--pano-color-danger: #ed5565;
|
|
54
|
+
--pano-color-warning: #967adc;
|
|
55
|
+
--pano-color-info: #1e96fc;
|
|
56
|
+
--pano-color-link: rgb(40.9411764706%, 55.7647058824%, 72.2352941176%);
|
|
57
|
+
--pano-color-link-hover: rgb(52.7529411765%, 64.6117647059%, 77.7882352941%);
|
|
58
|
+
--pano-color-on-primary: #fff;
|
|
59
|
+
--pano-color-on-secondary: #000;
|
|
60
|
+
--pano-radius: 9.6px;
|
|
61
|
+
--pano-radius-sm: 9.6px;
|
|
62
|
+
--pano-radius-lg: 9.6px;
|
|
63
|
+
--pano-radius-pill: 50rem;
|
|
64
|
+
--pano-border-width: 1.5px;
|
|
65
|
+
--pano-shadow-sm: 0 1.5px 0 rgba(10, 25, 49, 0.1);
|
|
66
|
+
--pano-shadow: 0 1.5px 0 rgba(10, 25, 49, 0.1);
|
|
67
|
+
--pano-shadow-lg: 0 4px 0 rgba(10, 25, 49, 0.1);
|
|
68
|
+
--pano-font-body: "Quicksand", sans-serif;
|
|
69
|
+
--pano-font-heading: inherit;
|
|
70
|
+
--pano-font-mono: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
|
71
|
+
--pano-font-size: 1rem;
|
|
72
|
+
--pano-font-weight: 500;
|
|
73
|
+
--pano-font-weight-bold: 600;
|
|
74
|
+
--pano-line-height: 1.5;
|
|
75
|
+
--pano-space: 1rem;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
[data-bs-theme='copper'] {
|
|
79
|
+
--pano-color-bg: #fff;
|
|
80
|
+
--pano-color-surface: rgb(10.8235294118%, 6.7647058824%, 3%);
|
|
81
|
+
--pano-color-surface-raised: rgb(12.9882352941%, 8.1176470588%, 3.6%);
|
|
82
|
+
--pano-color-text: #dee2e6;
|
|
83
|
+
--pano-color-text-muted: rgba(204, 209, 217, 0.75);
|
|
84
|
+
--pano-color-text-subtle: rgba(204, 209, 217, 0.5);
|
|
85
|
+
--pano-color-heading: #fff;
|
|
86
|
+
--pano-color-border: rgba(255, 255, 255, 0.1);
|
|
87
|
+
--pano-color-primary: #b87333;
|
|
88
|
+
--pano-color-secondary: #44ffd2;
|
|
89
|
+
--pano-color-success: #4ecdc4;
|
|
90
|
+
--pano-color-danger: #ed5565;
|
|
91
|
+
--pano-color-warning: #967adc;
|
|
92
|
+
--pano-color-info: #1e96fc;
|
|
93
|
+
--pano-color-link: #b87333;
|
|
94
|
+
--pano-color-link-hover: rgb(61.3333333333%, 38.3333333333%, 17%);
|
|
95
|
+
--pano-color-on-primary: #000;
|
|
96
|
+
--pano-color-on-secondary: #000;
|
|
97
|
+
--pano-radius: 9.6px;
|
|
98
|
+
--pano-radius-sm: 9.6px;
|
|
99
|
+
--pano-radius-lg: 9.6px;
|
|
100
|
+
--pano-radius-pill: 50rem;
|
|
101
|
+
--pano-border-width: 1.5px;
|
|
102
|
+
--pano-shadow-sm: 0 1.5px 0 rgba(10, 25, 49, 0.1);
|
|
103
|
+
--pano-shadow: 0 1.5px 0 rgba(10, 25, 49, 0.1);
|
|
104
|
+
--pano-shadow-lg: 0 4px 0 rgba(10, 25, 49, 0.1);
|
|
105
|
+
--pano-font-body: "Quicksand", sans-serif;
|
|
106
|
+
--pano-font-heading: inherit;
|
|
107
|
+
--pano-font-mono: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
|
108
|
+
--pano-font-size: 1rem;
|
|
109
|
+
--pano-font-weight: 500;
|
|
110
|
+
--pano-font-weight-bold: 600;
|
|
111
|
+
--pano-line-height: 1.5;
|
|
112
|
+
--pano-space: 1rem;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
[data-bs-theme='emerald'] {
|
|
116
|
+
--pano-color-bg: #fff;
|
|
117
|
+
--pano-color-surface: rgb(0.9411764706%, 10.8823529412%, 7.5882352941%);
|
|
118
|
+
--pano-color-surface-raised: rgb(1.1294117647%, 13.0588235294%, 9.1058823529%);
|
|
119
|
+
--pano-color-text: #dee2e6;
|
|
120
|
+
--pano-color-text-muted: rgba(204, 209, 217, 0.75);
|
|
121
|
+
--pano-color-text-subtle: rgba(204, 209, 217, 0.5);
|
|
122
|
+
--pano-color-heading: #fff;
|
|
123
|
+
--pano-color-border: rgba(255, 255, 255, 0.1);
|
|
124
|
+
--pano-color-primary: #10b981;
|
|
125
|
+
--pano-color-secondary: #60a5fa;
|
|
126
|
+
--pano-color-success: #4ecdc4;
|
|
127
|
+
--pano-color-danger: #ed5565;
|
|
128
|
+
--pano-color-warning: #967adc;
|
|
129
|
+
--pano-color-info: #1e96fc;
|
|
130
|
+
--pano-color-link: #10b981;
|
|
131
|
+
--pano-color-link-hover: rgb(5.3333333333%, 61.6666666667%, 43%);
|
|
132
|
+
--pano-color-on-primary: #000;
|
|
133
|
+
--pano-color-on-secondary: #000;
|
|
134
|
+
--pano-radius: 9.6px;
|
|
135
|
+
--pano-radius-sm: 9.6px;
|
|
136
|
+
--pano-radius-lg: 9.6px;
|
|
137
|
+
--pano-radius-pill: 50rem;
|
|
138
|
+
--pano-border-width: 1.5px;
|
|
139
|
+
--pano-shadow-sm: 0 1.5px 0 rgba(10, 25, 49, 0.1);
|
|
140
|
+
--pano-shadow: 0 1.5px 0 rgba(10, 25, 49, 0.1);
|
|
141
|
+
--pano-shadow-lg: 0 4px 0 rgba(10, 25, 49, 0.1);
|
|
142
|
+
--pano-font-body: "Quicksand", sans-serif;
|
|
143
|
+
--pano-font-heading: inherit;
|
|
144
|
+
--pano-font-mono: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
|
145
|
+
--pano-font-size: 1rem;
|
|
146
|
+
--pano-font-weight: 500;
|
|
147
|
+
--pano-font-weight-bold: 600;
|
|
148
|
+
--pano-line-height: 1.5;
|
|
149
|
+
--pano-space: 1rem;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
[data-bs-theme='midnight'] {
|
|
153
|
+
--pano-color-bg: #fff;
|
|
154
|
+
--pano-color-surface: rgb(8.1764705882%, 5.4117647059%, 14.4705882353%);
|
|
155
|
+
--pano-color-surface-raised: rgb(9.8117647059%, 6.4941176471%, 17.3647058824%);
|
|
156
|
+
--pano-color-text: #dee2e6;
|
|
157
|
+
--pano-color-text-muted: rgba(204, 209, 217, 0.75);
|
|
158
|
+
--pano-color-text-subtle: rgba(204, 209, 217, 0.5);
|
|
159
|
+
--pano-color-heading: #fff;
|
|
160
|
+
--pano-color-border: rgba(255, 255, 255, 0.1);
|
|
161
|
+
--pano-color-primary: #8b5cf6;
|
|
162
|
+
--pano-color-secondary: #ec4899;
|
|
163
|
+
--pano-color-success: #4ecdc4;
|
|
164
|
+
--pano-color-danger: #ed5565;
|
|
165
|
+
--pano-color-warning: #967adc;
|
|
166
|
+
--pano-color-info: #1e96fc;
|
|
167
|
+
--pano-color-link: #8b5cf6;
|
|
168
|
+
--pano-color-link-hover: rgb(46.3333333333%, 30.6666666667%, 82%);
|
|
169
|
+
--pano-color-on-primary: #000;
|
|
170
|
+
--pano-color-on-secondary: #000;
|
|
171
|
+
--pano-radius: 9.6px;
|
|
172
|
+
--pano-radius-sm: 9.6px;
|
|
173
|
+
--pano-radius-lg: 9.6px;
|
|
174
|
+
--pano-radius-pill: 50rem;
|
|
175
|
+
--pano-border-width: 1.5px;
|
|
176
|
+
--pano-shadow-sm: 0 1.5px 0 rgba(10, 25, 49, 0.1);
|
|
177
|
+
--pano-shadow: 0 1.5px 0 rgba(10, 25, 49, 0.1);
|
|
178
|
+
--pano-shadow-lg: 0 4px 0 rgba(10, 25, 49, 0.1);
|
|
179
|
+
--pano-font-body: "Quicksand", sans-serif;
|
|
180
|
+
--pano-font-heading: inherit;
|
|
181
|
+
--pano-font-mono: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
|
182
|
+
--pano-font-size: 1rem;
|
|
183
|
+
--pano-font-weight: 500;
|
|
184
|
+
--pano-font-weight-bold: 600;
|
|
185
|
+
--pano-line-height: 1.5;
|
|
186
|
+
--pano-space: 1rem;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
[data-bs-theme='crimson'] {
|
|
190
|
+
--pano-color-bg: #fff;
|
|
191
|
+
--pano-color-surface: rgb(14.0588235294%, 4%, 4%);
|
|
192
|
+
--pano-color-surface-raised: rgb(16.8705882353%, 4.8%, 4.8%);
|
|
193
|
+
--pano-color-text: #dee2e6;
|
|
194
|
+
--pano-color-text-muted: rgba(204, 209, 217, 0.75);
|
|
195
|
+
--pano-color-text-subtle: rgba(204, 209, 217, 0.5);
|
|
196
|
+
--pano-color-heading: #fff;
|
|
197
|
+
--pano-color-border: rgba(255, 255, 255, 0.1);
|
|
198
|
+
--pano-color-primary: #ef4444;
|
|
199
|
+
--pano-color-secondary: #f59e0b;
|
|
200
|
+
--pano-color-success: #4ecdc4;
|
|
201
|
+
--pano-color-danger: #ed5565;
|
|
202
|
+
--pano-color-warning: #967adc;
|
|
203
|
+
--pano-color-info: #1e96fc;
|
|
204
|
+
--pano-color-link: #ef4444;
|
|
205
|
+
--pano-color-link-hover: rgb(79.6666666667%, 22.6666666667%, 22.6666666667%);
|
|
206
|
+
--pano-color-on-primary: #000;
|
|
207
|
+
--pano-color-on-secondary: #000;
|
|
208
|
+
--pano-radius: 9.6px;
|
|
209
|
+
--pano-radius-sm: 9.6px;
|
|
210
|
+
--pano-radius-lg: 9.6px;
|
|
211
|
+
--pano-radius-pill: 50rem;
|
|
212
|
+
--pano-border-width: 1.5px;
|
|
213
|
+
--pano-shadow-sm: 0 1.5px 0 rgba(10, 25, 49, 0.1);
|
|
214
|
+
--pano-shadow: 0 1.5px 0 rgba(10, 25, 49, 0.1);
|
|
215
|
+
--pano-shadow-lg: 0 4px 0 rgba(10, 25, 49, 0.1);
|
|
216
|
+
--pano-font-body: "Quicksand", sans-serif;
|
|
217
|
+
--pano-font-heading: inherit;
|
|
218
|
+
--pano-font-mono: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
|
219
|
+
--pano-font-size: 1rem;
|
|
220
|
+
--pano-font-weight: 500;
|
|
221
|
+
--pano-font-weight-bold: 600;
|
|
222
|
+
--pano-line-height: 1.5;
|
|
223
|
+
--pano-space: 1rem;
|
|
224
|
+
}
|
|
225
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{E as s}from"../chunks/chunk-RPo0Hd8r.js";export{D as Date,N as NoContent,P as PageActions,a as Pagination,T as Toast}from"../chunks/chunk-RPo0Hd8r.js";const o=s,n=s,t=s,c=s,e=s,r=s,h=s,i=s,k=s,u=s;export{h as CardFilters,i as CardFiltersItem,k as CardHeader,n as DragAndDropZone,o as Editor,c as PageLoader,t as PageLoading,r as PageNav,e as PageNavItem,u as SearchInput};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{E as e}from"../chunks/chunk-RPo0Hd8r.js";export{D as Date,N as NoContent,P as PageActions,a as Pagination,T as Toast}from"../chunks/chunk-RPo0Hd8r.js";import"../svelte/internal-disclose-version.js";import{a1 as t,a2 as s,a3 as n,a4 as r,p as o,g as i,a5 as c,a6 as m,a7 as u,a8 as d,a9 as l,n as h}from"../chunks/chunk-9EZydhXt.js";import{d as b,b as p,f as v,t as k,s as f}from"../chunks/chunk-CTgT5UYL.js";import{p as g,i as j,s as w,a as y}from"../chunks/chunk-DgPYxg7o.js";import"../chunks/chunk-Xd_2KAhC.js";import{g as x}from"../chunks/chunk-Cmbb89rp.js";import{translate as A,currentLanguage as I}from"./utils-language.js";import{s as $}from"../chunks/chunk-akOtSLvV.js";import{h as C}from"../chunks/chunk-FEL6LDrJ.js";var S=v("<img/>"),B=v("<img/>");function E(a,e){r(e,!0);const[u,d]=t();let l=g(e,"width",3,64),h=g(e,"height",3,64),v=g(e,"inGame",3,!1);const k=c(()=>e.lastActivityTime>Date.now()-3e5||v()),f=c(()=>`${x().apiBase}/api/profile/picture/${encodeURIComponent(e.username)}`),T=c(()=>{if(e.banned)return;if(i(k))return A("components.player-head."+(v()?"in-game":"in-website"),v()?"In game":"On the website");const a=m(I,"$currentLanguage",u)?.code??x().locale??void 0;return new Intl.DateTimeFormat(a,{dateStyle:"medium",timeStyle:"short"}).format(new Date(parseInt(e.lastActivityTime)))});var D=b(),P=s(D),$=a=>{var t=S();let s;o(()=>{w(t,"src",i(f)),s=y(t,1,"img-thumbnail rounded d-block m-auto",null,s,{border:e.banned||i(k),"border-3":e.banned||i(k),"border-success":!e.banned&&i(k),"border-danger":e.banned}),w(t,"width",l()),w(t,"height",h()),w(t,"alt",e.username),w(t,"title",i(T))}),p(a,t)},C=a=>{var t=B();let s;o(()=>{w(t,"src",i(f)),s=y(t,1,"rounded d-block m-auto",null,s,{border:e.banned,"border-3":e.banned,"border-danger":e.banned}),w(t,"width",l()),w(t,"height",h()),w(t,"alt",e.username)}),p(a,t)};j(P,a=>{e.lastActivityTime?a($):a(C,-1)}),p(a,D),n(),d()}var F=v('<p class="mb-0 mt-2 opacity-75"><!></p>'),G=v('<div class="text-center"><h1 class="fs-3 mb-0 text-break word-break"><!></h1> <!> <!></div>');function H(a,e){let t=g(e,"title",3,""),n=g(e,"subtitle",3,""),r=g(e,"subtitleHtml",3,!1);const m=c(()=>"function"==typeof t());var v=b(),w=s(v),y=a=>{var c=G(),v=u(c),g=u(v),w=a=>{var e=b(),n=s(e);$(n,t),p(a,e)},y=a=>{var n=b(),r=s(n),i=a=>{var e=b(),n=s(e);C(n,t),p(a,e)},c=a=>{var e=k();o(()=>f(e,t())),p(a,e)};j(r,a=>{e.html?a(i):a(c,-1)}),p(a,n)};j(g,a=>{i(m)?a(w):t()&&a(y,1)}),d(v);var T=l(v,2),D=a=>{var e=F(),t=u(e),i=a=>{var e=b(),t=s(e);C(t,n),p(a,e)},c=a=>{var e=k();o(()=>f(e,n())),p(a,e)};j(t,a=>{r()?a(i):a(c,-1)}),d(e),p(a,e)};j(T,a=>{n()&&a(D)});var x=l(T,2);$(x,()=>e.children??h),d(c),p(a,c)};j(w,a=>{(t()||n())&&a(y)}),p(a,v)}const L=e,O=e;export{H as PageTitle,E as PlayerHead,L as PluginBlock,O as PluginSlot};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"../svelte/index.js";import"../chunks/chunk-9EZydhXt.js";import"../chunks/chunk-ChRkfjHR.js";import"../chunks/chunk-Xd_2KAhC.js";import"../svelte-i18n.js";export{L as LOAD_MEMO_MS,c as clearLoadMemo,a as createLoadMemo,b as createWidgetHost,d as ensureControllerHost,l as loadPluginControllers,p as plugin,r as reactive,C as registry,u as useController}from"../chunks/chunk-DebScgYV.js";import"../chunks/chunk-Cmbb89rp.js";import"./utils-api.js";import"./svelte.js";import"./toasts.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{createViewProxy}from"./views.js";export{getPanoContext,setPanoContext}from"./internal.js";export{viewComponent}from"./utils-component.js";import{c as t}from"../chunks/chunk-ChRkfjHR.js";import{u as e,m as n}from"../chunks/chunk-CTgT5UYL.js";import"../chunks/chunk-Xd_2KAhC.js";import{r as o,g as r,p as i}from"../chunks/chunk-Cmbb89rp.js";export{c as configure}from"../chunks/chunk-Cmbb89rp.js";import{e as u,g as h,l}from"../chunks/chunk-DebScgYV.js";export{L as LOAD_MEMO_MS,c as clearLoadMemo,a as createLoadMemo,b as createWidgetHost,s as setSession}from"../chunks/chunk-DebScgYV.js";import{translate as p,ensureLanguage as d,loadPluginTranslations as _}from"./utils-language.js";import{r as m,u as g,e as f}from"../chunks/chunk-D7Jd5Dpn.js";export{W as WidgetError}from"../chunks/chunk-D7Jd5Dpn.js";class k{static isPanoPlugin=!0;pano;contextApi;context;constructor({pluginId:t}={}){if(!t)throw new Error("[PanoPlugin] pluginId is required");this.contextApi={context:{},set(){},subscribe:()=>()=>{},destroy(){}},this.context=this.contextApi.context,this._unsubscribers=[]}onLoad(t){}onUnload(){}setContext(t){}__destroy(){}}const j=new Set(["PLUGIN_INACTIVE","PLUGIN_NOT_FOUND"]),w=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),v=t=>t.replace(/-([a-z0-9])/g,(t,e)=>e.toUpperCase());function y(t,e){if(null===e)return"boolean"!==t&&void 0;if("number"===t){const t=Number(e);return Number.isNaN(t)?void 0:t}return"boolean"===t?"false"!==e:e}function P(t){const e=document.createElement("link");return e.rel="stylesheet",e.href=t,e}function x(t){if(!t)return;[...document.head.querySelectorAll('link[rel="stylesheet"]')].some(e=>e.getAttribute("href")===t)||document.head.append(P(t))}function E(s,a,c={}){const b=customElements.get(s);if(b)return b;const k=function(t){return(t??[]).map(t=>{const e="string"==typeof t?t:t.name;return{attr:w(e),prop:v(e),type:"string"==typeof t?"string":t.type??"string"}})}(a.attrs),E=new Map(k.map(t=>[t.attr,t])),A=c.session??a.session??"none";class C extends HTMLElement{static get observedAttributes(){return k.map(t=>t.attr)}constructor(){super(),this._gen=0,this._instance=null,this._reactive=null,this._loaded={},this._jsProps={},this._root=null,this._container=null}connectedCallback(){m(this),this._ensureStructure(),this._start(!1)}disconnectedCallback(){this._gen+=1,this._unmount(),g(this)}attributeChangedCallback(){this._instance&&this._reactive?.set(this._currentProps())}reload(){return this._start(!0)}get props(){return{...this._jsProps}}set props(t){Object.assign(this._jsProps,t??{}),this._instance&&this._reactive?.set(this._currentProps())}_ensureStructure(){if(this._container)return;const t=!this.hasAttribute("no-shadow"),e=c.styles??{},s=function(t){const e=t?.fallback;return e?t.hash&&!e.includes("?")?`${e}?v=${t.hash}`:e:null}(e),n=document.createElement("div");if(n.className="pano-fb",n.dataset.panoFb=c.ns??"",t){const t=this.shadowRoot??this.attachShadow({mode:"open"});s&&t.append(P(s)),e.icons&&t.append(P(e.icons)),t.append(n),this._root=t}else x(s),x(e.icons),this.append(n),this._root=this;this._container=n}_attrProps(){const t={};for(const{attr:e,prop:s,type:n}of k){const o=y(n,this.getAttribute(e));void 0!==o&&(t[s]=o)}return t}_currentProps(){return{...this._loaded,...this._attrProps(),...this._jsProps}}_setState(t){this.dataset.panoState=t}_unmount(){if(this._instance)try{e(this._instance)}catch(t){console.warn(`[pano-widgets] ${s} unmount failed`,t)}this._instance=null,this._reactive=null,this._container&&this._container.replaceChildren()}_show(t,e){this._unmount(),this._setState(t),e&&this._container.append(e)}_stateNode(t,e){const s=document.createElement("div");return s.className="pano-widget__state",s.dataset.panoStateView=t,e&&s.setAttribute("role",e),s}_showError(t){const e=t?.code??t?.error?.code??"LOAD_FAILED";if(j.has(e))return void this._show("inactive");const s=this._stateNode("error","alert"),n=document.createElement("span");n.textContent=p("widgets.error","This content could not be loaded.");const o=document.createElement("button");o.type="button",o.dataset.panoRetry="",o.textContent=p("widgets.retry","Retry"),o.addEventListener("click",()=>{this.reload()}),s.append(n," ",o),this._show("error",s),f(this,"pano:error",{code:e})}_showSignIn(){const t=this._stateNode("signin"),e=document.createElement("a");e.href=o(r().urls["auth.login"]?"auth.login":"/login"),e.textContent=p("widgets.sign-in","Sign in"),t.append(e),this._show("signin",t)}async _start(e){const o=this._gen+=1,r=()=>o!==this._gen;if(!1!==c.active){e&&this._instance||(this._show("loading",this._stateNode("loading")),this._container.firstChild?.setAttribute("aria-busy","true"));try{if("none"!==A){if(await u(),r())return;if("required"===A&&!h().user)return void this._showSignIn()}if(await Promise.all([c.pluginId&&c.controllers?l({pluginId:c.pluginId,ns:c.ns??"",url:c.controllers}):null,d().then(()=>c.pluginId?_(c.pluginId):null)]),r())return;const e=this._attrProps(),o="function"==typeof a.load?await a.load({fetch:(...t)=>i(...t),params:e,url:new URL(globalThis.location.href),widget:!0},e):{};if(r())return;if(this._loaded=o&&"object"==typeof o?o:{},this._instance)return void this._reactive?.set(this._currentProps());this._unmount(),this._reactive=function(e){let s={...e},n=null;const o=t(t=>(n=t,()=>{n=null}));return{props:new Proxy({},{get:(t,e)=>(o(),s[e]),has:(t,e)=>(o(),e in s),ownKeys:()=>(o(),Reflect.ownKeys(s)),getOwnPropertyDescriptor:(t,e)=>(o(),e in s?{enumerable:!0,configurable:!0,writable:!0,value:s[e]}:void 0)}),set(t){s={...t},n?.()}}}(this._currentProps()),this._instance=n(a.component,{target:this._container,props:this._reactive.props}),this._setState("ready"),f(this,"pano:ready",{tag:s})}catch(t){if(r())return;this._showError(t)}}else this._show("inactive")}}for(const{attr:t,prop:e}of k)Object.defineProperty(C.prototype,e,{configurable:!0,get(){return e in this._jsProps?this._jsProps[e]:y(E.get(t).type,this.getAttribute(t))},set(t){this._jsProps[e]=t,this._instance&&this._reactive?.set(this._currentProps())}});return customElements.define(s,C),C}const A=Object.freeze({"@panomc/sdk":"index.js","@panomc/sdk/svelte":"svelte.js","@panomc/sdk/views":"views.js","@panomc/sdk/controllers":"controllers.js","@panomc/sdk/toasts":"toasts.js","@panomc/sdk/internal":"internal.js","@panomc/sdk/variables":"variables.js","@panomc/sdk/components/theme":"components/index.js","@panomc/sdk/components/panel":"components/panel.js","@panomc/sdk/utils/api":"api.js","@panomc/sdk/utils/auth":"auth.js","@panomc/sdk/utils/tooltip":"tooltip.js","@panomc/sdk/utils/language":"language.js","@panomc/sdk/utils/component":"component.js","@panomc/sdk/utils/text":"text.js","@panomc/sdk/utils/route":"route.js"});export{k as PanoPlugin,A as SPECIFIER_MODULES,E as defineWidget,d as ensureLanguage,u as ensureSession,r as getConfig,h as getSession,l as loadPluginControllers,_ as loadPluginTranslations,o as resolveUrl};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{o as t,g as e}from"../chunks/chunk-Cmbb89rp.js";const n={context:{isPanel:!1,browser:!0},listeners:[]};function s(){for(const t of[...n.listeners])try{t(n.context)}catch(t){console.error("[pano-widgets] context listener failed",t)}}function o(t){"object"==typeof t&&null!==t?(Object.assign(n.context,t),s()):console.warn("[PanoSDK] setPanoContext expects an object")}function r(){return{context:n.context,subscribe:t=>(n.listeners.push(t),()=>{n.listeners=n.listeners.filter(e=>e!==t)})}}t(t=>{n.context.base=t.siteUrl,n.context.urls={...t.urls},s()}),n.context.base=e().siteUrl,n.context.urls=e().urls;export{r as getPanoContext,o as setPanoContext};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{k as n}from"../chunks/chunk-9EZydhXt.js";import{o as t,g as e,r as o}from"../chunks/chunk-Cmbb89rp.js";import{W as a,e as r,a as s,b as i}from"../chunks/chunk-D7Jd5Dpn.js";const c=!0;let u=e().siteUrl;t(n=>{u=n.siteUrl});const l=n({url:f(),params:{}},n=>{const t=()=>n({url:f(),params:{}});if(t(),"undefined"!=typeof window)return window.addEventListener("popstate",t),()=>window.removeEventListener("popstate",t)}),p=n(null);function f(){try{return new URL(globalThis.location.href)}catch{return new URL("about:blank")}}async function m(n,t){const a=o(String(n));if(!r(i(),"pano:navigate",{url:a},!0))return;const s=e().navigate;"function"!=typeof s?"undefined"!=typeof location&&(t?.replaceState?location.replace(a):location.assign(a)):s(a,{replace:!!t?.replaceState})}function w(n,t){return m(String(t))}function d(n,t){throw new a(Number(n)||500,"string"==typeof t?t:t?.message)}async function h(){const{clearLoadMemo:n}=await(import("./controllers.js"));n(),await Promise.all(s().map(n=>n.reload?.()))}function g(n){return h()}export{u as base,c as browser,d as error,m as goto,g as invalidate,h as invalidateAll,p as navigating,l as page,w as redirect};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{translate as e}from"./utils-language.js";import{e as t,b as n}from"../chunks/chunk-D7Jd5Dpn.js";const s="pano-toasts",o={success:"#198754",danger:"#dc3545",warning:"#b58105"};class r extends("undefined"==typeof HTMLElement?class{}:HTMLElement){connectedCallback(){if(this.shadowRoot)return;const e=this.attachShadow({mode:"open"});e.innerHTML='<style>\n :host { position: fixed; z-index: 2147483000; left: 50%; bottom: 1rem; transform: translateX(-50%); display: flex; flex-direction: column; gap: .5rem; align-items: center; pointer-events: none; font: 14px/1.4 system-ui, sans-serif; }\n .toast { pointer-events: auto; max-width: min(28rem, 92vw); padding: .6rem .9rem; border-radius: .5rem; background: #212529; color: #fff; box-shadow: 0 .25rem 1rem rgba(0,0,0,.3); }\n </style><div part="list"></div>',this._list=e.querySelector("div")}add(e,t){this.connectedCallback();const n=document.createElement("div");return n.className="toast",n.setAttribute("role","status"),n.dataset.variant=t||"",n.textContent=e,t&&o[t]&&(n.style.borderLeft=`4px solid ${o[t]}`),this._list.append(n),setTimeout(()=>n.remove(),4500),n}}async function a(o,a={},i=void 0,d={}){if(!o)return;const c=d?.variant??null,u=e(o,o,a);t(n(),"pano:toast",{key:o,message:u,variant:c,values:a},!0)&&function(){if("undefined"==typeof document||"undefined"==typeof customElements)return null;customElements.get(s)||customElements.define(s,r);let e=document.querySelector(s);return e||(e=document.createElement(s),document.body.append(e)),e}()?.add(u,c)}function i(e){return e.length>32?`${e.substring(0,32)}...`:e}function d(e,t={}){return a(e,t,void 0,{variant:"success"})}function c(e,t={}){return a(e,t,void 0,{variant:"danger"})}export{i as limitTitle,c as showError,d as showSuccess,a as showToast};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{g as e,p as t,a as r}from"../chunks/chunk-Cmbb89rp.js";const o="NETWORK_ERROR",a=Object.freeze({error:Object.freeze({code:o})});function n(e){const t=Object.keys(e??{}).filter(t=>e[t]).map(t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`).join("&");return""===t?"":`?${t}`}async function s(a){const s=String(a?.method??"GET").toUpperCase(),h=function(e){const t=String(e??"");if(/^\/api\/plugins\/[^/?#]+\/(?!_(?:[/?#]|$))[^?#]/.test(t))return t;if(/^\/plugins\/[^/?#]+\/(?!_(?:[/?#]|$))[^?#]/.test(t))return`/api${t}`;const r=String(e??"").replace(/^\/?api(\/v1)?(?=\/|$)/,"");return`/api/v1${r.startsWith("/")||""===r?"":"/"}${r}`}(a?.path);if(a?.blob&&"GET"===s)try{const r=`${e().apiBase}${h}${n(a.query??{})}`,o=await t(r,{method:s,credentials:"include",headers:a.headers,signal:a.signal});return o.ok?await o.blob():{error:{code:"UNKNOWN_ERROR",details:{status:o.status}}}}catch{return{error:{code:o}}}const d=await r().request({method:s,path:h},{query:a?.query,body:a?.body,headers:a?.headers,signal:a?.signal});return d.ok?void 0===d.data||null===d.data?{}:d.data:d.error?.code===o?{error:{code:o}}:{error:d.error}}function h({headers:e,token:t,csrfToken:r}){const o={...e??{}};return t&&(o.Authorization=`Bearer ${t}`),r&&(o["X-CSRF-Token"]=r),o}const d={interceptors:{},get({path:e,query:t,headers:r,csrfToken:o,token:a,blob:n,handler:s}){return this.customRequest({path:e,data:{method:"GET",query:t,headers:r},csrfToken:o,token:a,blob:n,handler:s})},post({path:e,body:t,headers:r,csrfToken:o,token:a,blob:n,handler:s}){return this.customRequest({path:e,data:{method:"POST",body:t,headers:r},csrfToken:o,token:a,blob:n,handler:s})},put({path:e,body:t,headers:r,csrfToken:o,token:a,blob:n,handler:s}){return this.customRequest({path:e,data:{method:"PUT",body:t,headers:r},csrfToken:o,token:a,blob:n,handler:s})},delete({path:e,headers:t,csrfToken:r,token:o,blob:a,handler:n}){return this.customRequest({path:e,data:{method:"DELETE",headers:t},csrfToken:r,token:o,blob:a,handler:n})},customRequest:async({path:e,data:t={},csrfToken:r,token:o,blob:a,handler:n})=>async function(e,t){return t?t(e):e}(await s({method:t.method??"GET",path:e,query:t.query,body:t.body,headers:h({headers:t.headers,token:o,csrfToken:r}),blob:a}),n)},i=/^[A-Za-z0-9][A-Za-z0-9._-]*$/;function u(e){if("string"!=typeof e||!i.test(e))throw new Error(`[pano] createPluginApi needs the full plugin id, got ${JSON.stringify(e)}`);const t=e=>{const t=t=>async(r={})=>{if("string"!=typeof r.path)throw new TypeError("[pano] api path must be a string");const o=r.path.startsWith("/")?r.path:`/${r.path}`;if(!import.meta.env?.PROD&&/^\/api(?:[/?#]|$)/.test(o))throw new Error(`[pano] path must not start with /api: write '${o.replace(/^\/api/,"")||"/"}'`);return d[t]({...r,path:`${e}${o}`})};return{get:t("get"),post:t("post"),put:t("put"),delete:t("delete"),customRequest:t("customRequest")}};return{...t(`/api/plugins/${e}`),panel:t(`/api/plugins/${e}/panel`)}}export{d as ApiUtil,o as NETWORK_ERROR,n as buildQueryParams,u as createPluginApi,d as default,s as hostRequest,a as networkErrorBody};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const o=()=>!1;export{o as hasPermission};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function n(n){return n}export{n as viewComponent};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{init as t,addMessages as n,locale as e,getLocaleFromNavigator as a,_ as o}from"../svelte-i18n.js";import{b as c,w as s}from"../chunks/chunk-9EZydhXt.js";import{g as r,a as l}from"../chunks/chunk-Cmbb89rp.js";const i=s(!1),u=s(null),f=s({}),p="en-US",y=new Map,d=new Map;let m=null,h=!1;function b(t,n="",e={}){for(const a of Object.keys(t??{})){const o=t[a],c=n?`${n}.${a}`:a;o&&"object"==typeof o&&!Array.isArray(o)?b(o,c,e):e[c]=o}return e}async function j(t){const n=await l().request({method:"GET",path:`/api/v1${t}`});return n.ok?n.data:null}async function g(){const t=(n=await j("/locales"),Array.isArray(n)?n:Array.isArray(n?.items)?n.items:Array.isArray(n?.data)?n.data:[]);var n;f.set(Object.fromEntries(t.filter(t=>t?.code).map(t=>[t.code,t])))}function w(t){return Object.values(c(f)).find(n=>n.code===t)??null}function k(t){const n=t?.get?.("accept-language");return n?n.split(",")[0]:""}function A(t){const e=t.code;return y.has(e)||y.set(e,(async()=>{const a=await j(`/locales/${encodeURIComponent(e)}/translations/types/THEME`),o=a&&"object"==typeof a?a.data??a.translations??a:{},{result:c,...s}=o,r=function(t){const n={};for(const[e,a]of Object.entries(t)){const t=e.split(".");t.reduce((n,e,o)=>(o===t.length-1?n[e]=a:n[e]=n[e]&&"object"==typeof n[e]?n[e]:{},n[e]),n)}return n}(b(s));n(e,r);for(const e of t.derivatives??[])n(e,r);return r})().catch(()=>({}))),y.get(e)}function $(t,a=c(e)||r().locale||p){const o=`${t}:${a}`;return d.has(o)||d.set(o,(async()=>{const e=await j(`/plugins/${encodeURIComponent(t)}/_/translations/${encodeURIComponent(a)}`),o=e?.translations;if(!o||"object"!=typeof o)return{};const c=o.plugins?o:{plugins:{[t]:o}};return n(a,c),c})().catch(()=>({}))),d.get(o)}async function v(n){await g();const o=n||r().locale||c(e)||a()||p,s=c(f),l=w(o)??s[p]??{code:o},i=s[p]??{code:p};return await Promise.all([A(i),l.code===i.code?null:A(l)]),u.set(l),t({fallbackLocale:p,initialLocale:l.code}),h=!0,l}function E(){return m||(m=v().catch(()=>(h||(t({fallbackLocale:p,initialLocale:r().locale||p}),h=!0),null))),m}async function L(t){if(c(u)!==t){i.set(!0);try{await A(t),e.set(t.code),u.set(t)}finally{i.set(!1)}}}function O(t,n,e){try{return c(o)(t,{default:n,values:e})}catch{return n}}function U(){y.clear(),d.clear(),m=null,h=!1,u.set(null),f.set({})}export{f as Languages,o as _,L as changeLanguage,u as currentLanguage,E as ensureLanguage,k as getAcceptedLanguage,w as getLanguageByLocale,v as init,i as languageLoading,A as loadLanguage,$ as loadPluginTranslations,U as resetLanguage,O as translate};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function n(n){return n}export{n as route};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=()=>Promise.resolve(!1);export{e as copy};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const t=()=>({update(){},destroy(){}});export{t as default,t as tooltip};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{o as s,g as a}from"../chunks/chunk-Cmbb89rp.js";let o=`${a().apiBase}/api`,p=a().siteUrl,t="",c="",i="https://panomc.com",e="https://api.panomc.com";const n=!1,m="",r="",h="",k="X-CSRF-Token";s(s=>{o=`${s.apiBase}/api`,p=s.siteUrl});const l=s=>{o=s},u=s=>{i=s},B=s=>{e=s};export{o as API_URL,m as COOKIE_PREFIX,k as CSRF_HEADER,r as CSRF_TOKEN_COOKIE_NAME,h as JWT_COOKIE_NAME,t as PANEL_URL,e as PANO_WEBSITE_API_URL,i as PANO_WEBSITE_URL,n as PRERELEASE,c as SETUP_URL,p as UI_URL,l as updateApiUrl,B as updatePanoWebsiteApiUrl,u as updatePanoWebsiteUrl};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{getPanoContext as e}from"./internal.js";const r=(r,t)=>function(n,o){const i=e().context?.views,c=i?.getOverride?.(r),s=c??t;return(i?.wrap?.(r,s,c?"override":"default")??s)(n,o)};export{r as createViewProxy};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e="pano-",t=window,n=import.meta.url,o=/^(.*?)\/api\/v1\/(?:widgets\/)?(?:runtime\/)?[^/]*$/.exec(n),s=new URL(n),i=s.origin===location.origin,a=o?o[1]:null,l={apiBase:null===a?"":i?a.slice(s.origin.length):a,locale:void 0,urls:void 0,navigate:void 0,fetch:void 0,csrf:void 0},c=e=>new URL(e||"/",location.href).href.replace(/\/$/,""),r=()=>`${c(l.apiBase)}/api/v1/`,d=e=>(null===a?n.replace(/[^/?#]*([?#].*)?$/,""):`${r()}widgets/runtime/`)+e,u=[...document.querySelectorAll("script[src]")].find(e=>e.src===n),f=u?.dataset.palette||"light";l.locale=u?.dataset.locale||void 0;let h=null,p=null,g=!1,w=0;const m=new Set,v=new Set;function y(e){if(!e||v.has(e))return;v.add(e);const t=document.createElement("link");t.rel="stylesheet",t.href=e,document.head.append(t)}function $(e,t,n){if(t)return/^[a-z][a-z0-9+.-]*:|^\/\//i.test(t)?t:t.startsWith("/")?new URL(t,c(l.apiBase)+"/").href:`${r()}plugins/${e}/_/ui/${n}${t}`}function b(){return p??=import(d("host/index.js")).then(e=>(B(e),e)),p}function B(e){const{apiBase:t,locale:n,urls:o,navigate:s,fetch:i,csrf:a}=l;e.configure({apiBase:t,siteUrl:h?.site?.url,...n||h?.site?.locale?{locale:n||h.site.locale}:{},...o?{urls:o}:{},...s?{navigate:s}:{},...i?{fetch:i}:{},...a?{csrf:a}:{}})}async function I(e){const t=h.widgets[e],[n,o]=await Promise.all([b(),import($(t.pluginId,t.module,"widgets/"))]),s=t.styles??{};n.defineWidget(e,o,{ns:t.ns,pluginId:t.pluginId,session:t.session,controllers:t.controllers?$(t.pluginId,"controllers.mjs","controllers/"):void 0,styles:{hash:s.hash,fallback:$(t.pluginId,s.fallback,""),icons:$(t.pluginId,s.icons,"")}})}function k(e){e.hasAttribute("data-bs-theme")||e.setAttribute("data-bs-theme",f)}function L(t){const n=w,o=1===t.nodeType&&t.localName.startsWith(e)?[t]:[];t.querySelectorAll&&o.push(...t.querySelectorAll("*"));for(const t of o){const o=t.localName;if(!o.startsWith(e)||!h.widgets[o])continue;if(k(t),m.has(o))continue;m.add(o),y(d("css/pano-tokens.css"));const s=h.widgets[o].styles?.icons;s&&y($(h.widgets[o].pluginId,s,"")),I(o).catch(e=>{n===w&&m.delete(o),console.warn(`[pano-widgets] ${o} failed to load`,e)})}}async function S(){const e=++w;try{const t=await(l.fetch??fetch)(`${r()}widgets/index.json`,{credentials:"omit"});if(!t.ok)throw new Error(`HTTP ${t.status}`);const n=await t.json();if(e!==w)return;h=n}catch(e){return void console.warn("[pano-widgets] could not read the widget index",e)}p&&p.then(B),g||(g=!0,new MutationObserver(e=>{for(const t of e)for(const e of t.addedNodes)1===e.nodeType&&L(e)}).observe(document.documentElement,{childList:!0,subtree:!0})),m.clear(),L(document)}t.PanoWidgets={configure(e={}){const t=void 0!==e.apiBase&&e.apiBase!==l.apiBase;for(const t of Object.keys(l))void 0!==e[t]&&(l[t]=e[t]);return p&&p.then(B),t&&h&&(h=null,p=null,S()),{...l}},host:()=>b()};const j=()=>setTimeout(S,0);"loading"===document.readyState?document.addEventListener("DOMContentLoaded",j,{once:!0}):j();
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
{
|
|
2
|
+
"format": 1,
|
|
3
|
+
"svelte": "5.55.9",
|
|
4
|
+
"hash": "bf5056a5e5dbe6eb",
|
|
5
|
+
"specifiers": {
|
|
6
|
+
"svelte": "svelte/index.js",
|
|
7
|
+
"svelte/animate": "svelte/animate.js",
|
|
8
|
+
"svelte/easing": "svelte/easing.js",
|
|
9
|
+
"svelte/motion": "svelte/motion.js",
|
|
10
|
+
"svelte/store": "svelte/store.js",
|
|
11
|
+
"svelte/transition": "svelte/transition.js",
|
|
12
|
+
"svelte/internal": "svelte/internal.js",
|
|
13
|
+
"svelte/internal/client": "svelte/internal-client.js",
|
|
14
|
+
"svelte/internal/disclose-version": "svelte/internal-disclose-version.js",
|
|
15
|
+
"svelte/internal/flags/legacy": "svelte/internal-flags-legacy.js",
|
|
16
|
+
"svelte/internal/flags/async": "svelte/internal-flags-async.js",
|
|
17
|
+
"svelte/internal/flags/tracing": "svelte/internal-flags-tracing.js",
|
|
18
|
+
"svelte/legacy": "svelte/legacy.js",
|
|
19
|
+
"svelte/events": "svelte/events.js",
|
|
20
|
+
"svelte/attachments": "svelte/attachments.js",
|
|
21
|
+
"svelte/reactivity": "svelte/reactivity.js",
|
|
22
|
+
"svelte/reactivity/window": "svelte/reactivity-window.js",
|
|
23
|
+
"svelte-i18n": "svelte-i18n.js",
|
|
24
|
+
"@panomc/sdk": "host/index.js",
|
|
25
|
+
"@panomc/sdk/components/theme": "host/components-theme.js",
|
|
26
|
+
"@panomc/sdk/components/panel": "host/components-panel.js",
|
|
27
|
+
"@panomc/sdk/toasts": "host/toasts.js",
|
|
28
|
+
"@panomc/sdk/utils/api": "host/utils-api.js",
|
|
29
|
+
"@panomc/sdk/utils/auth": "host/utils-auth.js",
|
|
30
|
+
"@panomc/sdk/utils/tooltip": "host/utils-tooltip.js",
|
|
31
|
+
"@panomc/sdk/utils/language": "host/utils-language.js",
|
|
32
|
+
"@panomc/sdk/utils/component": "host/utils-component.js",
|
|
33
|
+
"@panomc/sdk/utils/text": "host/utils-text.js",
|
|
34
|
+
"@panomc/sdk/variables": "host/variables.js",
|
|
35
|
+
"@panomc/sdk/svelte": "host/svelte.js",
|
|
36
|
+
"@panomc/sdk/internal": "host/internal.js",
|
|
37
|
+
"@panomc/sdk/views": "host/views.js",
|
|
38
|
+
"@panomc/sdk/controllers": "host/controllers.js",
|
|
39
|
+
"@panomc/sdk/utils/route": "host/utils-route.js"
|
|
40
|
+
},
|
|
41
|
+
"files": [
|
|
42
|
+
"chunks/chunk-9EZydhXt.js",
|
|
43
|
+
"chunks/chunk-BQPllGmY.js",
|
|
44
|
+
"chunks/chunk-CTgT5UYL.js",
|
|
45
|
+
"chunks/chunk-ChRkfjHR.js",
|
|
46
|
+
"chunks/chunk-Cmbb89rp.js",
|
|
47
|
+
"chunks/chunk-CqpY4RsZ.js",
|
|
48
|
+
"chunks/chunk-D7Jd5Dpn.js",
|
|
49
|
+
"chunks/chunk-DNUkGPCL.js",
|
|
50
|
+
"chunks/chunk-DebScgYV.js",
|
|
51
|
+
"chunks/chunk-DgPYxg7o.js",
|
|
52
|
+
"chunks/chunk-DhgH0pN2.js",
|
|
53
|
+
"chunks/chunk-FEL6LDrJ.js",
|
|
54
|
+
"chunks/chunk-RPo0Hd8r.js",
|
|
55
|
+
"chunks/chunk-Xd_2KAhC.js",
|
|
56
|
+
"chunks/chunk-akOtSLvV.js",
|
|
57
|
+
"chunks/chunk-cUxFvg6m.js",
|
|
58
|
+
"css/pano-fallback-icons.css",
|
|
59
|
+
"css/pano-tokens.css",
|
|
60
|
+
"host/components-panel.js",
|
|
61
|
+
"host/components-theme.js",
|
|
62
|
+
"host/controllers.js",
|
|
63
|
+
"host/index.js",
|
|
64
|
+
"host/internal.js",
|
|
65
|
+
"host/svelte.js",
|
|
66
|
+
"host/toasts.js",
|
|
67
|
+
"host/utils-api.js",
|
|
68
|
+
"host/utils-auth.js",
|
|
69
|
+
"host/utils-component.js",
|
|
70
|
+
"host/utils-language.js",
|
|
71
|
+
"host/utils-route.js",
|
|
72
|
+
"host/utils-text.js",
|
|
73
|
+
"host/utils-tooltip.js",
|
|
74
|
+
"host/variables.js",
|
|
75
|
+
"host/views.js",
|
|
76
|
+
"loader.js",
|
|
77
|
+
"svelte-i18n.js",
|
|
78
|
+
"svelte/animate.js",
|
|
79
|
+
"svelte/attachments.js",
|
|
80
|
+
"svelte/easing.js",
|
|
81
|
+
"svelte/events.js",
|
|
82
|
+
"svelte/index.js",
|
|
83
|
+
"svelte/internal-client.js",
|
|
84
|
+
"svelte/internal-disclose-version.js",
|
|
85
|
+
"svelte/internal-flags-async.js",
|
|
86
|
+
"svelte/internal-flags-legacy.js",
|
|
87
|
+
"svelte/internal-flags-tracing.js",
|
|
88
|
+
"svelte/internal.js",
|
|
89
|
+
"svelte/legacy.js",
|
|
90
|
+
"svelte/motion.js",
|
|
91
|
+
"svelte/reactivity-window.js",
|
|
92
|
+
"svelte/reactivity.js",
|
|
93
|
+
"svelte/store.js",
|
|
94
|
+
"svelte/transition.js",
|
|
95
|
+
"webfonts/fa-brands-400.ttf",
|
|
96
|
+
"webfonts/fa-brands-400.woff2",
|
|
97
|
+
"webfonts/fa-regular-400.ttf",
|
|
98
|
+
"webfonts/fa-regular-400.woff2",
|
|
99
|
+
"webfonts/fa-solid-900.ttf",
|
|
100
|
+
"webfonts/fa-solid-900.woff2",
|
|
101
|
+
"webfonts/fa-v4compatibility.ttf",
|
|
102
|
+
"webfonts/fa-v4compatibility.woff2"
|
|
103
|
+
]
|
|
104
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{cubicOut as t}from"./easing.js";function e(e,{from:r,to:i},n={}){var{delay:o=0,duration:a=t=>120*Math.sqrt(t),easing:h=t}=n,l=getComputedStyle(e),s="none"===l.transform?"":l.transform,[f,m]=l.transformOrigin.split(" ").map(parseFloat);f/=e.clientWidth,m/=e.clientHeight;var d=function(t){if("currentCSSZoom"in t)return t.currentCSSZoom;var e=t,r=1;for(;null!==e;)r*=+getComputedStyle(e).zoom,e=e.parentElement;return r}(e),g=e.clientWidth/i.width/d,p=e.clientHeight/i.height/d,u=r.left+r.width*f,c=r.top+r.height*m,S=i.left+i.width*f,w=i.top+i.height*m,y=(u-S)*g,$=(c-w)*p,C=r.width/i.width,v=r.height/i.height;return{delay:o,duration:"function"==typeof a?a(Math.sqrt(y*y+$*$)):a,easing:h,css:(t,e)=>`transform: ${s} translate(${e*y}px, ${e*$}px) scale(${t+e*C}, ${t+e*v});`}}export{e as flip};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{n,A as s,u as t,r,t as o}from"../chunks/chunk-9EZydhXt.js";import"../chunks/chunk-Xd_2KAhC.js";function u(){return Symbol(s)}function c(s,u=n){return n=>{const{update:c,destroy:a}=t(()=>s(n,u())??{});if(c){var e=!1;r(()=>{const n=u();e&&c(n)}),e=!0}a&&o(a)}}export{u as createAttachmentKey,c as fromAction};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function t(t){return t}function n(t){const n=2.5949095;return(t*=2)<1?t*t*((n+1)*t-n)*.5:.5*((t-=2)*t*((n+1)*t+n)+2)}function r(t){const n=1.70158;return t*t*((n+1)*t-n)}function u(t){const n=1.70158;return--t*t*((n+1)*t+n)+1}function o(t){const n=t*t;return t<4/11?7.5625*n:t<8/11?9.075*n-9.9*t+3.4:t<.9?4356/361*n-35442/1805*t+16061/1805:10.8*t*t-20.52*t+10.72}function c(t){return t<.5?.5*(1-o(1-2*t)):.5*o(2*t-1)+.5}function i(t){return 1-o(1-t)}function a(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)}function e(t){return 1-Math.sqrt(1-t*t)}function h(t){return Math.sqrt(1- --t*t)}function M(t){return t<.5?4*t*t*t:.5*Math.pow(2*t-2,3)+1}function f(t){return t*t*t}function s(t){const n=t-1;return n*n*n+1}function p(t){return t<.5?.5*Math.sin(13*Math.PI/2*2*t)*Math.pow(2,10*(2*t-1)):.5*Math.sin(-13*Math.PI/2*(2*t-1+1))*Math.pow(2,-10*(2*t-1))+1}function w(t){return Math.sin(13*t*Math.PI/2)*Math.pow(2,10*(t-1))}function I(t){return Math.sin(-13*(t+1)*Math.PI/2)*Math.pow(2,-10*t)+1}function P(t){return 0===t||1===t?t:t<.5?.5*Math.pow(2,20*t-10):-.5*Math.pow(2,10-20*t)+1}function q(t){return 0===t?t:Math.pow(2,10*(t-1))}function b(t){return 1===t?t:1-Math.pow(2,-10*t)}function x(t){return(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1)}function d(t){return t*t}function g(t){return-t*(t-2)}function j(t){return t<.5?8*Math.pow(t,4):-8*Math.pow(t-1,4)+1}function k(t){return Math.pow(t,4)}function l(t){return Math.pow(t-1,3)*(1-t)+1}function m(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)}function v(t){return t*t*t*t*t}function y(t){return--t*t*t*t*t+1}function z(t){return-.5*(Math.cos(Math.PI*t)-1)}function A(t){const n=Math.cos(t*Math.PI*.5);return Math.abs(n)<1e-14?1:1-n}function B(t){return Math.sin(t*Math.PI/2)}export{r as backIn,n as backInOut,u as backOut,i as bounceIn,c as bounceInOut,o as bounceOut,e as circIn,a as circInOut,h as circOut,f as cubicIn,M as cubicInOut,s as cubicOut,w as elasticIn,p as elasticInOut,I as elasticOut,q as expoIn,P as expoInOut,b as expoOut,t as linear,d as quadIn,x as quadInOut,g as quadOut,k as quartIn,j as quartInOut,l as quartOut,v as quintIn,m as quintInOut,y as quintOut,A as sineIn,z as sineInOut,B as sineOut};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{o as on}from"../chunks/chunk-cUxFvg6m.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{L as n,m as t,M as s,O as e,P as a,Q as o,R as l,S as r,d as f,T as i,u as k}from"../chunks/chunk-9EZydhXt.js";export{U as createContext,V as flushSync,W as fork,X as getAllContexts,Y as getContext,Z as hasContext,_ as setContext,$ as settled,a0 as tick}from"../chunks/chunk-9EZydhXt.js";import{c as p,l as b}from"../chunks/chunk-DNUkGPCL.js";export{h as hydrate,m as mount,u as unmount}from"../chunks/chunk-CTgT5UYL.js";export{c as createRawSnippet}from"../chunks/chunk-akOtSLvV.js";import"../chunks/chunk-Xd_2KAhC.js";function x(u,e){if(p||n(),t){const n=window.__svelte?.h;if(n?.has(u))return n.get(u);s()}return e()}function d(){return null===f&&r(),(f.ac??=new AbortController).signal}function C(n){null===e&&a(),b&&null!==e.l?y(e).m.push(n):i(()=>{const t=k(n);if("function"==typeof t)return t})}function j(n){null===e&&a(),C(()=>()=>k(n))}function v(){const n=e;return null===n&&a(),(t,s,u)=>{const e=n.s.$$events?.[t];if(e){const a=l(e)?e.slice():[e],o=function(n,t,{bubbles:s=!1,cancelable:u=!1}={}){return new CustomEvent(n,{detail:t,bubbles:s,cancelable:u})}(t,s,u);for(const t of a)t.call(n.x,o);return!o.defaultPrevented}return!0}}function w(n){null===e&&a(),null===e.l&&o(),y(e).b.push(n)}function g(n){null===e&&a(),null===e.l&&o(),y(e).a.push(n)}function y(n){var t=n.l;return t.u??={a:[],b:[],m:[]}}export{g as afterUpdate,w as beforeUpdate,v as createEventDispatcher,d as getAbortSignal,x as hydratable,j as onDestroy,C as onMount,k as untrack};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{createAttachmentKey as attachment}from"./attachments.js";import{R as _,bz as $,bQ as T,bR as N,d as L,u as O,e as M,bC as R,bN as W,bS as P,bT as V,G as H,bU as Y,bV as I,bW as J,m as K,aQ as Q,C as U,aV as X,a$ as Z,bX as ee,bY as te,bZ as ne,b_ as ae,a as re,an as se,ao as oe,g as ie,ah as ce,b$ as le,h as ue,y as fe,s as de,ad as ve,O as pe,c0 as he,c1 as me,I as be,b2 as ge,c2 as _e,c3 as ye,c4 as we,c5 as ke,r as xe,v as $e,aC as Ce,o as je,bt as Ee,aW as Se,c6 as Te,c7 as Ne,c8 as Le,au as Ae,K as Oe,aA as Me,ai as Be,ay as Re,c9 as ze,ca as De,V as qe,b3 as We,cb as Fe,q as Pe,b8 as Ve,cc as Ge,aH as He,bl as Ye,bM as Ie,n as Je,cd as Ke,ce as Qe,cf as Ue,cg as Xe,t as Ze,N as et,D as tt,ag as nt,z as at,ch as rt,ci as st,cj as ot,aO as it,a8 as lt,ck as ut,bp as ft,a0 as dt,bs as vt,br as pt,cl as ht,b1 as mt,T as bt,cm as gt,cn as _t,bL as yt,co as wt,aq as kt,bD as xt,cp as $t,cq as Ct}from"../chunks/chunk-9EZydhXt.js";export{cr as aborted,cs as add_svelte_meta,ct as async_derived,bB as autofocus,a7 as child,cu as deep_read,cv as deferred_template_effect,a5 as derived,bc as derived_safe_equal,cw as document,cx as eager,i as effect_root,cy as exclude_from_object,cz as fallback,a2 as first_child,cA as for_await_track_reactivity_loss,cB as hydrate_template,cC as invalid_default_snippet,cD as invalidate_inner_signals,cE as invalidate_store,aD as invoke_error_boundary,cF as legacy_pre_effect,cG as legacy_pre_effect_reset,cH as mark_store_binding,cI as mutate,aB as next,a3 as pop,bG as proxy,a4 as push,cJ as remove_textarea_child,cK as run,cL as safe_get,cM as save,a1 as setup_stores,a9 as sibling,aa as state,a6 as store_get,cN as store_mutate,cO as store_set,cP as store_unsub,p as template_effect,cQ as to_array,cR as track_reactivity_loss,bH as update,cS as update_pre,cT as update_pre_store,cU as update_store,cV as wait,cW as window}from"../chunks/chunk-9EZydhXt.js";import{k as jt,l as Et,o as St,a as Tt,p as Nt,q as Lt}from"../chunks/chunk-CTgT5UYL.js";export{b as append,r as boundary,d as comment,f as from_html,v as from_mathml,w as from_svg,x as from_tree,y as once,z as pending,A as preventDefault,B as props_id,C as self,s as set_text,D as stopImmediatePropagation,E as stopPropagation,t as text,F as trusted,G as with_script}from"../chunks/chunk-CTgT5UYL.js";import{B as At}from"../chunks/chunk-akOtSLvV.js";export{p as prevent_snippet_stringification,s as snippet,v as validate_dynamic_element_tag,a as validate_store,b as validate_void_dynamic_element,w as wrap_snippet}from"../chunks/chunk-akOtSLvV.js";import{b as Ot}from"../chunks/chunk-DgPYxg7o.js";export{C as CLASS,S as STYLE,d as attr,f as attribute_effect,g as bind_select_value,c as clsx,e as each,i as if,h as index,j as init_select,l as legacy_rest_props,p as prop,r as remove_input_defaults,k as rest_props,m as select_option,s as set_attribute,n as set_checked,a as set_class,o as set_custom_element_data,q as set_default_checked,t as set_default_value,u as set_selected,v as set_style,w as set_value,x as set_xlink_attribute,y as spread_props,z as update_pre_prop,A as update_prop}from"../chunks/chunk-DgPYxg7o.js";export{h as html}from"../chunks/chunk-FEL6LDrJ.js";import{l as Mt}from"../chunks/chunk-DhgH0pN2.js";export{r as raf}from"../chunks/chunk-DhgH0pN2.js";export{e as apply,d as delegate,a as delegated,f as event,g as replay_events}from"../chunks/chunk-cUxFvg6m.js";import{c as Bt}from"../chunks/chunk-DNUkGPCL.js";export{c as create_custom_element}from"../chunks/chunk-Xd_2KAhC.js";const Rt=[];function zt(e,t=!1,n=!1){return Dt(e,new Map,"",Rt,null,n)}function Dt(e,t,n,a,r=null,s=!1){if("object"==typeof e&&null!==e){var o=t.get(e);if(void 0!==o)return o;if(e instanceof Map)return new Map(e);if(e instanceof Set)return new Set(e);if(_(e)){var i=Array(e.length);t.set(e,i),null!==r&&t.set(r,i);for(var c=0;c<e.length;c+=1){var l=e[c];c in e&&(i[c]=Dt(l,t,n,a,null,s))}return i}if($(e)===T){for(var u of(i={},t.set(e,i),null!==r&&t.set(r,i),Object.keys(e)))i[u]=Dt(e[u],t,n,a,null,s);return i}if(e instanceof Date)return structuredClone(e);if("function"==typeof e.toJSON&&!s)return Dt(e.toJSON(),t,n,a,e)}if(e instanceof EventTarget)return e;try{return structuredClone(e)}catch(t){return e}}let qt=null;function Wt(e,t){const n=e.v;if(n===R)return;const a=function(e){return 0!==(e.f&(P|V))?"$derived":e.label?.startsWith("$")?"store":"$state"}(e),r=L,s=e.wv>r.wv||0===r.wv,o=s?"color: CornflowerBlue; font-weight: bold":"color: grey; font-weight: normal";if(console.groupCollapsed(e.label?`%c${a}%c ${e.label}`:`%c${a}%c`,o,s?"font-weight: normal":o,"object"==typeof n&&null!==n&&W in n?zt(n,!0):n),"$derived"===a){const t=new Set(e.deps);for(const e of t)Wt(e)}if(e.created&&console.log(e.created),s&&e.updated)for(const t of e.updated.values())t.error&&console.log(t.error);if(t)for(var i of t.traces)console.log(i);console.groupEnd()}function Ft(e,t){var n=qt;try{qt={entries:new Map,reaction:L};var a=performance.now(),r=t(),s=(performance.now()-a).toFixed(2),o=O(e);if(M())if(0===qt.entries.size)console.log(`${o} %cno reactive dependencies (${s}ms)`,"color: grey");else{console.group(`${o} %c(${s}ms)`,"color: grey");var i=qt.entries;O(()=>{for(const[e,t]of i)Wt(e,t)}),qt=null,console.groupEnd()}else console.log(`${o} %cran outside of an effect (${s}ms)`,"color: grey");return r}finally{qt=n}}function Pt(e,t){return e.label=t,Vt(e.v,t),e}function Vt(e,t){return e?.[N]?.(t),e}function Gt(e){const t=new Error,n=function(){const e=Error.stackTraceLimit;Error.stackTraceLimit=1/0;const t=(new Error).stack;if(Error.stackTraceLimit=e,!t)return[];const n=t.split("\n"),a=[];for(let e=0;e<n.length;e++){const t=n[e],r=t.replaceAll("\\","/");if("Error"!==t.trim()){if(t.includes("validate_each_keys"))return[];r.includes("svelte/src/internal")||r.includes("node_modules/.vite")||a.push(t)}}return a}();return 0===n.length?null:(n.unshift("\n"),H(t,"stack",{value:n.join("\n")}),H(t,"name",{value:e}),t)}function Ht(e,t,n=!0){try{e===t!=(Y(e)===Y(t))&&I(n?"===":"!==")}catch{}return e===t===n}function Yt(e,t,n=!0){return e==t!=(Y(e)==Y(t))&&I(),e==t===n}function It(e,t,n,a){return e!==t&&"object"==typeof t&&W in t&&J(n,jt(a)),e}function Jt(e,t,n,a,r){return It("="===n?e[t]=a:"&&="===n?e[t]&&=a():"||="===n?e[t]||=a():"??="===n?e[t]??=a():null,O(()=>e[t]),t,r)}async function Kt(e,t,n,a,r){return It("="===n?e[t]=await a:"&&="===n?e[t]&&=await a():"||="===n?e[t]||=await a():"??="===n?e[t]??=await a():null,O(()=>e[t]),t,r)}var Qt=new Map;function Ut(e){var t=Qt.get(e);if(t){for(const e of t)e.remove();Qt.delete(e)}}function Xt(e,t,n){return(...a)=>{const r=e(...a);return en(K?r:r.nodeType===Q?r.firstChild:r,t,n),r}}function Zt(e,t,n){e.__svelte_meta={parent:te,loc:{file:t,line:n[0],column:n[1]}},n[2]&&en(e.firstChild,t,n[2])}function en(e,t,n){for(var a=0,r=0;e&&a<n.length;){if(K&&e.nodeType===U){var s=e;s.data[0]===X?r+=1:s.data[0]===Z&&(r-=1)}0===r&&e.nodeType===ee&&Zt(e,t,n[a++]),e=e.nextSibling}}function tn(e){const t=de(e);function n(e,n){let a,r={},s={},o=!1,i=e;return se(()=>{if(r!==(r=ie(t))){if(a){for(var e in s)delete s[e];ve(a)}a=ce(()=>{i=i[le]??i,o&&Et(!1);var e=new.target?new r(i,n):r(i,n);e&&Object.defineProperties(s,Object.getOwnPropertyDescriptors(e)),o&&Et(!0)}),ue.nodes=a.nodes}},oe),o=!0,K&&(i=fe),s}return n[ne]=e[ne],n[ae]={fn:e,current:t,update:e=>{re(n[ae].current,e[ae].fn),e[ae].current=n[ae].current}},n}function nn(e){const t=pe?.function,n=pe?.p?.function;return{mutation:(a,r,s,o,i)=>{const c=r[0];if(an(e,c)||!n)return s;let l=e;for(let e=0;e<r.length-1;e++)if(l=l[r[e]],!l?.[W])return s;const u=jt(`${t[ne]}:${o}:${i}`);return me(c,u,a,n[ne]),s},binding:(a,r,s)=>{!an(e,a)&&n&&s()?.[W]&&he(t[ne],a,r[ne],n[ne])}}}function an(e,t){const n=W in e||ge in e;return!!be(e,t)?.set||n&&t in e||!(t in e)}function rn(e){e&&_e(e[ne]??"a component",e.name)}function sn(){const e=pe?.function;function t(t){ye(t,e[ne])}return{$destroy:()=>t("$destroy()"),$on:()=>t("$on(...)"),$set:()=>t("$set(...)")}}function on(e,t,n=!1){we();let a=!0,r=R;ke(()=>{r=R;try{var s=e()}catch(e){return void(r=e)}var o=zt(s,!0,!0);O(()=>{if(n){if(t(...o),!a){const e=Gt("$inspect(...)");e&&(console.groupCollapsed("stack trace"),console.log(e),console.groupEnd())}}else t(a?"init":"update",...o)}),a=!1}),xe(()=>{try{e()}catch{}r!==R&&(console.error(r),r=R)})}function cn(e,t=[],n=[],a){var r=K,s=null;if(r&&($e(),s=Ce(!1)),0===n.length&&t.every(e=>e.settled))return a(e),void(r&&je(s));if(r){var o=fe;je(s)}Ee(t,[],n,t=>{r&&(Se(!0),je(o));try{for(const e of t)ie(e);a(e,...t)}finally{r&&Se(!1)}})}function ln(e,...t){"object"==typeof e&&e instanceof Node||Te();for(let e of t)"function"!=typeof e&&Te()}function un(e,t,n,a,r){K&&$e();var s=Ne(),o=R,i=s?de(o):We(o,!1,!1),c=s?de(o):We(o,!1,!1),l=new At(e);se(()=>{var s=Be,o=t(),u=!1;let f=K&&Le(o)===(e.data===Ae);if(f&&(je(Ce()),Se(!1)),Le(o)){var d=Fe(),v=!1;const e=e=>{if(!u){v=!0,d(!1),Be===s&&s.deactivate(),Re.ensure();try{e()}finally{ze(!1),De||qe()}}};o.then(t=>{e(()=>{Me(i,t),l.ensure(1,a&&(e=>a(e,i)))})},t=>{e(()=>{if(Me(c,t),l.ensure(2,r&&(e=>r(e,c))),!r)throw c.v})}),K?l.ensure(0,n):Oe(()=>{v||e(()=>{l.ensure(0,n)})})}else Me(i,o),l.ensure(1,a&&(e=>a(e,i)));return f&&Se(!0),()=>{u=!0}})}const fn=Symbol("NaN");function dn(e,t,n){K&&$e();var a=new At(e),r=!Ne();se(()=>{var e=t();e!=e&&(e=fn),r&&null!==e&&"object"==typeof e&&(e={}),a.ensure(e,n)})}function vn(e,t){K&&je(Pe(e)),xe(()=>{var n=t();for(var a in n){var r=n[a];r?e.style.setProperty(a,r):e.style.removeProperty(a)}})}function pn(e,t,n,a,r){K&&$e();var s=t.$$slots?.[n],o=!1;!0===s&&(s=t["default"===n?"children":n],o=!0),void 0===s?null!==r&&r(e):s(e,o?()=>a:a)}function hn(e){const t={};e.children&&(t.default=!0);for(const n in e.$$slots)t[n]=!0;return t}function mn(e,t,n){var a;K&&(a=fe,$e());var r=new At(e);se(()=>{var e=t()??null;if(K&&Ve(a)===X!==(null!==e)){var s=Ce();return je(s),r.anchor=s,Se(!1),r.ensure(e,e&&(t=>n(t,e))),void Se(!0)}r.ensure(e,e&&(t=>n(t,e)))},oe)}function bn(e,t){Xe(()=>{e.dispatchEvent(new CustomEvent(t))})}function gn(e){if("float"===e)return"cssFloat";if("offset"===e)return"cssOffset";if(e.startsWith("--"))return e;const t=e.split("-");return 1===t.length?t[0]:t[0]+t.slice(1).map(e=>e[0].toUpperCase()+e.slice(1)).join("")}function _n(e){const t={},n=e.split(";");for(const e of n){const[n,a]=e.split(":");if(!n||void 0===a)break;t[gn(n.trim())]=a.trim()}return t}const yn=e=>e;let wn=null;function kn(e){wn=e}function xn(e,t,n){var a,r,s,o=(wn??ue).nodes,i=null;o.a??={element:e,measure(){a=this.element.getBoundingClientRect()},apply(){if(s?.abort(),r=this.element.getBoundingClientRect(),a.left!==r.left||a.right!==r.right||a.top!==r.top||a.bottom!==r.bottom){const e=t()(this.element,{from:a,to:r},n?.());s=Cn(this.element,e,void 0,1,()=>{},()=>{s?.abort(),s=void 0})}},fix(){if(!e.getAnimations().length){var{position:t,width:n,height:r}=getComputedStyle(e);if("absolute"!==t&&"fixed"!==t){var s=e.style;i={position:s.position,width:s.width,height:s.height,transform:s.transform},s.position="absolute",s.width=n,s.height=r;var o=e.getBoundingClientRect();if(a.left!==o.left||a.top!==o.top){var c=`translate(${a.left-o.left}px, ${a.top-o.top}px)`;s.transform=s.transform?`${s.transform} ${c}`:c}}}},unfix(){if(i){var t=e.style;t.position=i.position,t.width=i.width,t.height=i.height,t.transform=i.transform}}},o.a.element=e}function $n(e,t,n,a){var r,s,o,i=0!==(e&Qe),c=0!==(e&Ue),l=0!==(e&Ke),u=i&&c?"both":i?"in":"out",f=t.inert,d=t.style.overflow;function v(){return Xe(()=>r??=n()(t,a?.()??{},{direction:u}))}var p={is_global:l,in(){if(t.inert=f,!i)return o?.abort(),void o?.reset?.();c||s?.abort(),s=Cn(t,v(),o,1,()=>{bn(t,"introstart")},()=>{bn(t,"introend"),s?.abort(),s=r=void 0,t.style.overflow=d})},out(e){if(!c)return e?.(),void(r=void 0);t.inert=!0,o=Cn(t,v(),s,0,()=>{bn(t,"outrostart")},()=>{bn(t,"outroend"),e?.()})},stop:()=>{s?.abort(),o?.abort()}},h=ue;if((h.nodes.t??=[]).push(p),i&&St){var m=l;if(!m){for(var b=h.parent;b&&0!==(b.f&oe);)for(;(b=b.parent)&&0===(b.f&Ge););m=!b||0!==(b.f&He)}m&&Ye(()=>{O(()=>p.in())})}}function Cn(e,t,n,a,r,s){var o=1===a;if(Ie(t)){var i,c=!1;return Oe(()=>{if(!c){var l=t({direction:o?"in":"out"});i=Cn(e,l,n,a,r,s)}}),{abort:()=>{c=!0,i?.abort()},deactivate:()=>i.deactivate(),reset:()=>i.reset(),t:()=>i.t()}}if(n?.deactivate(),!t?.duration&&!t?.delay)return r(),s(),{abort:Je,deactivate:Je,reset:Je,t:()=>a};const{delay:l=0,css:u,tick:f,easing:d=yn}=t;var v=[];if(o&&void 0===n&&(f&&f(0,1),u)){var p=_n(u(0,1));v.push(p,p)}var h=()=>1-a,m=e.animate(v,{duration:l,fill:"forwards"});return m.onfinish=()=>{m.cancel(),r();var o=n?.t()??1-a;n?.abort();var i=a-o,c=t.duration*Math.abs(i),l=[];if(c>0){var v=!1;if(u)for(var p=Math.ceil(c/(1e3/60)),b=0;b<=p;b+=1){var g=o+i*d(b/p),_=_n(u(g,1-g));l.push(_),v||="hidden"===_.overflow}v&&(e.style.overflow="hidden"),h=()=>{var e=m.currentTime;return o+i*d(e/c)},f&&Mt(()=>{if("running"!==m.playState)return!1;var e=h();return f(e,1-e),!0})}(m=e.animate(l,{duration:c,fill:"forwards"})).onfinish=()=>{h=()=>a,f?.(a,1-a),s()}},{abort:()=>{m&&(m.cancel(),m.effect=null,m.onfinish=Je)},deactivate:()=>{s=Je},reset:()=>{0===a&&f?.(1,0)},t:()=>h()}}function jn(e,t,n,a,r,s){let o=K;K&&$e();var i=null;K&&fe.nodeType===ee&&(i=fe,$e());var c=K?fe:e,l=ue,u=new At(c,!1);se(()=>{const e=t()||null;var s=r?r():n||"svg"===e?et:void 0;return null===e?(u.ensure(null,null),void Et(!0)):(u.ensure(e,t=>{if(e){if(i=K?i:tt(e,s),Tt(i,i),a){K&&Nt(e)&&i.append(document.createComment(""));var n=K?Pe(i):i.appendChild(nt());K&&(null===n?Se(!1):je(n)),kn(l),a(i,n),kn(null)}ue.nodes.end=i,t.before(i)}K&&je(t)}),Et(!0),()=>{e&&Et(!1)})},oe),Ze(()=>{Et(!0)}),o&&(Se(!0),je(c))}function En(e,t){let n=null,a=K;var r;if(K){n=fe;for(var s=Pe(document.head);null!==s&&(s.nodeType!==U||s.data!==e);)s=at(s);if(null===s)Se(!1);else{var o=at(s);s.remove(),je(o)}}K||(r=document.head.appendChild(nt()));try{se(()=>{ce(()=>t(r)).f|=rt})}finally{a&&(Se(!0),je(n))}}function Sn(e,t){Ye(()=>{var n=e.getRootNode(),a=n.host?n:n.head??n.ownerDocument.head;if(!a.querySelector("#"+t.hash)){const e=tt("style");e.id=t.hash,e.textContent=t.code,a.appendChild(e)}})}function Tn(e,t,n){Ye(()=>{var a=O(()=>t(e,n?.())||{});if(n&&a?.update){var r=!1,s={};xe(()=>{var e=n();st(e),r&&ot(s,e)&&(s=e,a.update(e))}),r=!0}if(a?.destroy)return()=>a.destroy()})}let Nn=null;function Ln(){if(null===Nn){var e=tt("select");e.innerHTML=Lt("<option><span>t</span></option>"),Nn=1===e.firstChild?.firstChild?.nodeType}return Nn}function An(e,t){Ln()&&Ot(e,()=>()=>{const n=e.closest("select");if(!n)return;const a=new MutationObserver(n=>{var a=!1;for(const t of n){if(t.target===e)return;a||=!!t.target.parentElement?.closest("option")?.selected}a&&(e.replaceWith(e=e.cloneNode(!0)),t(e))});return a.observe(n,{childList:!0,characterData:!0,subtree:!0}),()=>{a.disconnect()}})}function On(e,t){var n=K;Ln()||(Se(!1),e.textContent="",e.append(it("")));try{t()}finally{n&&(K?lt(e):(Se(!0),je(e)))}}function Mn(e){ut(document,["focusin","focusout"],t=>{t&&"focusout"===t.type&&t.relatedTarget||e(document.activeElement)})}function Bn(e,t,n=t){var a=new WeakSet;ft(e,"input",async r=>{var s=r?e.defaultValue:e.value;if(s=Wn(e)?Fn(s):s,n(s),null!==Be&&a.add(Be),await dt(),s!==(s=t())){var o=e.selectionStart,i=e.selectionEnd,c=e.value.length;if(e.value=s??"",null!==i){var l=e.value.length;o===i&&i===c&&l>c?(e.selectionStart=l,e.selectionEnd=l):(e.selectionStart=o,e.selectionEnd=Math.min(i,l))}}}),(K&&e.defaultValue!==e.value||null==O(t)&&e.value)&&(n(Wn(e)?Fn(e.value):e.value),null!==Be&&a.add(Be)),xe(()=>{var n=t();if(e===document.activeElement){var r=Bt?vt:Be;if(a.has(r))return}Wn(e)&&n===Fn(e.value)||("date"!==e.type||n||e.value)&&n!==e.value&&(e.value=n??"")})}const Rn=new Set;function zn(e,t,n,a,r=a){var s="checkbox"===n.getAttribute("type"),o=e;let i=!1;if(null!==t)for(var c of t)o=o[c]??=[];o.push(n),ft(n,"change",()=>{var e=n.__value;s&&(e=qn(o,e,n.checked)),r(e)},()=>r(s?[]:null)),xe(()=>{var e=a();K&&n.defaultChecked!==n.checked?i=!0:s?(e=e||[],n.checked=e.includes(n.__value)):n.checked=pt(n.__value,e)}),Ze(()=>{var e=o.indexOf(n);-1!==e&&o.splice(e,1)}),Rn.has(o)||(Rn.add(o),Oe(()=>{o.sort((e,t)=>4===e.compareDocumentPosition(t)?-1:1),Rn.delete(o)})),Oe(()=>{if(i){var e;if(s)e=qn(o,e,n.checked);else{var t=o.find(e=>e.checked);e=t?.__value}r(e)}})}function Dn(e,t,n=t){ft(e,"change",t=>{var a=t?e.defaultChecked:e.checked;n(a)}),(K&&e.defaultChecked!==e.checked||null==O(t))&&n(e.checked),xe(()=>{var n=t();e.checked=Boolean(n)})}function qn(e,t,n){for(var a=new Set,r=0;r<e.length;r+=1)e[r].checked&&a.add(e[r].__value);return n||a.delete(t),Array.from(a)}function Wn(e){var t=e.type;return"number"===t||"range"===t}function Fn(e){return""===e?null:+e}function Pn(e,t,n=t){ft(e,"change",()=>{n(e.files)}),K&&e.files&&n(e.files),xe(()=>{e.files=t()})}function Vn(e){for(var t=[],n=0;n<e.length;n+=1)t.push({start:e.start(n),end:e.end(n)});return t}function Gn(e,t,n=t){var a,r,s=()=>{cancelAnimationFrame(a),e.paused||(a=requestAnimationFrame(s));var t=e.currentTime;r!==t&&n(r=t)};a=requestAnimationFrame(s),e.addEventListener("timeupdate",s),xe(()=>{var n=Number(t());r===n||isNaN(n)||(e.currentTime=r=n)}),Ze(()=>{cancelAnimationFrame(a),e.removeEventListener("timeupdate",s)})}function Hn(e,t){var n;ut(e,["loadedmetadata","progress","timeupdate","seeking"],()=>{var a=e.buffered;n&&n.length===a.length&&!n.some((e,t)=>a.start(t)!==e.start||a.end(t)!==e.end)||(n=Vn(a),t(n))})}function Yn(e,t){ut(e,["loadedmetadata"],()=>t(Vn(e.seekable)))}function In(e,t){ut(e,["timeupdate"],()=>t(Vn(e.played)))}function Jn(e,t){ut(e,["seeking","seeked"],()=>t(e.seeking))}function Kn(e,t){ut(e,["timeupdate","ended"],()=>t(e.ended))}function Qn(e,t){ut(e,["loadedmetadata","loadeddata","canplay","canplaythrough","playing","waiting","emptied"],()=>t(e.readyState))}function Un(e,t,n=t){Ye(()=>{var n=Number(t());n===e.playbackRate||isNaN(n)||(e.playbackRate=n)}),Ye(()=>{ut(e,["ratechange"],()=>{n(e.playbackRate)})})}function Xn(e,t,n=t){var a=t();ut(e,["play","pause","canplay"],()=>{a!==e.paused&&n(a=e.paused)},null==a),Ye(()=>{(a=!!t())!==e.paused&&(a?e.pause():e.play().catch(e=>{throw n(a=!0),e}))})}function Zn(e,t,n=t){var a=()=>{n(e.volume)};null==t()&&a(),ut(e,["volumechange"],a,!1),xe(()=>{var n=Number(t());n===e.volume||isNaN(n)||(e.volume=n)})}function ea(e,t,n=t){var a=()=>{n(e.muted)};null==t()&&a(),ut(e,["volumechange"],a,!1),xe(()=>{var n=!!t();e.muted!==n&&(e.muted=n)})}function ta(e){ut(window,["online","offline"],()=>{e(navigator.onLine)})}function na(e,t,n){var a=be(e,t);a&&a.set&&(e[t]=n,Ze(()=>{e[t]=null}))}class ra{#e=new WeakMap;#t;#n;static entries=new WeakMap;constructor(e){this.#n=e}observe(e,t){var n=this.#e.get(e)||new Set;return n.add(t),this.#e.set(e,n),this.#a().observe(e,this.#n),()=>{var n=this.#e.get(e);n.delete(t),0===n.size&&(this.#e.delete(e),this.#t.unobserve(e))}}#a(){return this.#t??(this.#t=new ResizeObserver(e=>{for(var t of e)for(var n of(ra.entries.set(t.target,t),this.#e.get(t.target)||[]))n(t)}))}}var sa=new ra({box:"content-box"}),oa=new ra({box:"border-box"}),ia=new ra({box:"device-pixel-content-box"});function ca(e,t,n){var a=("contentRect"===t||"contentBoxSize"===t?sa:"borderBoxSize"===t?oa:ia).observe(e,e=>n(e[t]));Ze(a)}function la(e,t,n){var a=oa.observe(e,()=>n(e[t]));Ye(()=>(O(()=>n(e[t])),a))}function ua(e,t){return e===t||e?.[W]===t}function fa(e={},t,n,a){var r=pe.r,s=ue;return Ye(()=>{var o,i;return xe(()=>{o=i,i=a?.()||[],O(()=>{ua(n(...i),e)||(t(e,...i),o&&ua(n(...o),e)&&t(null,...o))})}),()=>{let a=s;for(;a!==r&&null!==a.parent&&a.parent.f&ht;)a=a.parent;const o=a.teardown;a.teardown=()=>{i&&ua(n(...i),e)&&t(null,...i),o?.()}}}),e}function da(e,t,n,a=n){t.addEventListener("input",()=>{a(t[e])}),xe(()=>{var r=n();if(t[e]!==r)if(null==r){var s=t[e];a(s)}else t[e]=r+""})}function va(e,t,n,a,r){var s=()=>{a(n[e])};n.addEventListener(t,s),r?xe(()=>{n[e]=r()}):s(),n!==document.body&&n!==window&&n!==document||Ze(()=>{n.removeEventListener(t,s)})}function pa(e,t){ut(e,["focus","blur"],()=>{t(e===document.activeElement)})}function ha(e,t,n=t){var a="x"===e,r=()=>Xe(()=>{o=!0,clearTimeout(s),s=setTimeout(i,100),n(window[a?"scrollX":"scrollY"])});addEventListener("scroll",r,{passive:!0});var s,o=!1,i=()=>{o=!1},c=!0;xe(()=>{var e=t();c?c=!1:o||null==e||(o=!0,clearTimeout(s),a?scrollTo(e,window.scrollY):scrollTo(window.scrollX,e),s=setTimeout(i,100))}),Ye(r),Ze(()=>{removeEventListener("scroll",r)})}function ma(e,t){ut(window,["resize"],()=>Xe(()=>t(window[e])))}function ba(e=!1){const t=pe,n=t.l.u;if(!n)return;let a=()=>st(t.s);if(e){let e=0,n={};const r=yt(()=>{let a=!1;const r=t.s;for(const e in r)r[e]!==n[e]&&(n[e]=r[e],a=!0);return a&&e++,e});a=()=>ie(r)}n.b.length&&mt(()=>{ga(t,a),gt(n.b)}),bt(()=>{const e=O(()=>n.m.map(_t));return()=>{for(const t of e)"function"==typeof t&&t()}}),n.a.length&&bt(()=>{ga(t,a),gt(n.a)})}function ga(e,t){if(e.l.s)for(const t of e.l.s)ie(t);t()}function _a(e){var t=de(0);return function(){return 1===arguments.length?(re(t,ie(t)+1),arguments[0]):(ie(t),e())}}function ya(e,t){var n=e.$$events?.[t.type],a=_(n)?n.slice():null==n?[]:[n];for(var r of a)r.call(this,t)}function wa(e,t,n){e.$$events||={},e.$$events[t]||=[],e.$$events[t].push(n)}function ka(e){for(var t in e)t in this&&(this[t]=e[t])}function xa(e,t,n,a,r,s){wt(t,()=>{var e=!1;xe(()=>{if(!e){var[t,r]=xt(n);if(!r){var s=a(),o=!1,i=xe(()=>{o||t[s]});o=!0,null===i.deps&&($t(),e=!0)}}})})}function $a(e,...t){return O(()=>{try{let n=!1;const a=[];for(const e of t)e&&"object"==typeof e&&W in e?(a.push(zt(e,!0)),n=!0):a.push(e);n&&(Ct(e),console.log("%c[snapshot]","color: grey",...a))}catch{}}),t}export{ne as FILENAME,ae as HMR,et as NAMESPACE_SVG,Tn as action,ue as active_effect,wa as add_legacy_event_listener,Xt as add_locations,xn as animation,Sn as append_styles,Jt as assign,Kt as assign_async,cn as async,Ot as attach,un as await,Mn as bind_active_element,Hn as bind_buffered,Dn as bind_checked,da as bind_content_editable,Gn as bind_current_time,la as bind_element_size,Kn as bind_ended,Pn as bind_files,pa as bind_focused,zn as bind_group,ea as bind_muted,ta as bind_online,Xn as bind_paused,Un as bind_playback_rate,In as bind_played,na as bind_prop,va as bind_property,Qn as bind_ready_state,ca as bind_resize_observer,Yn as bind_seekable,Jn as bind_seeking,fa as bind_this,Bn as bind_value,Zn as bind_volume,ha as bind_window_scroll,ma as bind_window_size,ya as bubble_event,rn as check_target,Ut as cleanup_styles,mn as component,nn as create_ownership_validator,vn as css_props,On as customizable_select,st as deep_read_state,Ye as effect,M as effect_tracking,jn as element,Yt as equals,qe as flush,ie as get,En as head,tn as hmr,ba as init,on as inspect,dn as key,sn as legacy_api,$a as log_if_contains_state,We as mutable_source,Je as noop,_a as reactive_import,xe as render_effect,lt as reset,wt as run_after_blockers,hn as sanitize_slots,An as selectedcontent,re as set,pn as slot,zt as snapshot,Ht as strict_equals,Pt as tag,Vt as tag_proxy,dt as tick,Ft as trace,$n as transition,O as untrack,ka as update_legacy_props,bt as user_effect,mt as user_pre_effect,xa as validate_binding,ln as validate_snippet_args};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"undefined"!=typeof window&&((window.__svelte??={}).v??=new Set).add("5");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{e as s}from"../chunks/chunk-DNUkGPCL.js";s();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as s}from"../chunks/chunk-DNUkGPCL.js";s();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as s}from"../chunks/chunk-DNUkGPCL.js";s();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
throw new Error("Your application, or one of its dependencies, imported from 'svelte/internal', which was a private module used by Svelte 4 components that no longer exists in Svelte 5. It is not intended to be public API. If you're a library author and you used 'svelte/internal' deliberately, please raise an issue on https://github.com/sveltejs/svelte/issues detailing your use case.");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"../chunks/chunk-9EZydhXt.js";export{H as asClassComponent,I as createBubbler,c as createClassComponent,J as handlers,K as nonpassive,y as once,L as passive,A as preventDefault,M as run,C as self,D as stopImmediatePropagation,E as stopPropagation,F as trusted}from"../chunks/chunk-CTgT5UYL.js";import"../chunks/chunk-DNUkGPCL.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"../chunks/chunk-Xd_2KAhC.js";import{M as t}from"../chunks/chunk-CqpY4RsZ.js";import{aa as e,r as s,a as r,ab as n,n as i,g as o,w as a}from"../chunks/chunk-9EZydhXt.js";import{r as u,l as c}from"../chunks/chunk-DhgH0pN2.js";import{linear as f}from"./easing.js";function h(t){return"[object Date]"===Object.prototype.toString.call(t)}function m(t,e,s,r){if("number"==typeof s||h(s)){const n=r-s,i=(s-e)/(t.dt||1/60),o=(i+(t.opts.stiffness*n-t.opts.damping*i)*t.inv_mass)*t.dt;return Math.abs(o)<t.opts.precision&&Math.abs(n)<t.opts.precision?r:(t.settled=!1,h(s)?new Date(s.getTime()+o):s+o)}if(Array.isArray(s))return s.map((n,i)=>m(t,e[i],s[i],r[i]));if("object"==typeof s){const n={};for(const i in s)n[i]=m(t,e[i],s[i],r[i]);return n}throw new Error(`Cannot spring ${typeof s} values`)}function p(t,e={}){const s=a(t),{stiffness:r=.15,damping:n=.8,precision:i=.01}=e;let o,f,h,p=t,l=t,d=1,g=0,v=!1;function b(e,r={}){l=e;const n=h={};if(null==t||r.hard||y.stiffness>=1&&y.damping>=1)return v=!0,o=u.now(),p=e,s.set(t=l),Promise.resolve();if(r.soft){const t=!0===r.soft?.5:+r.soft;g=1/(60*t),d=0}return f||(o=u.now(),v=!1,f=c(e=>{if(v)return v=!1,f=null,!1;d=Math.min(d+g,1);const r=Math.min(e-o,1e3/30),n={inv_mass:d,opts:y,settled:!0,dt:60*r/1e3},i=m(n,p,t,l);return o=e,p=t,s.set(t=i),n.settled&&(f=null),!n.settled})),new Promise(t=>{f.promise.then(()=>{n===h&&t()})})}const y={set:b,update:(e,s)=>b(e(l,t),s),subscribe:s.subscribe,stiffness:r,damping:n,precision:i};return y}class l{#t=e(.15);#e=e(.8);#s=e(.01);#r;#n;#i=void 0;#o=0;#a=1;#u=0;#c=null;#f=null;constructor(t,s={}){this.#r=e(t),this.#n=e(t),"number"==typeof s.stiffness&&(this.#t.v=d(s.stiffness,0,1)),"number"==typeof s.damping&&(this.#e.v=d(s.damping,0,1)),"number"==typeof s.precision&&(this.#s.v=s.precision)}static of(t,e){const r=new l(t(),e);return s(()=>{r.set(t())}),r}#h(t){if(r(this.#n,t),this.#r.v??=t,this.#i??=this.#r.v,!this.#c){this.#o=u.now();var e=1e3/(60*this.#u);this.#c??=c(t=>{this.#a=Math.min(this.#a+e,1);const s=Math.min(t-this.#o,1e3/30),n={inv_mass:this.#a,opts:{stiffness:this.#t.v,damping:this.#e.v,precision:this.#s.v},settled:!0,dt:60*s/1e3};var i=m(n,this.#i,this.#r.v,this.#n.v);return this.#i=this.#r.v,this.#o=t,r(this.#r,i),n.settled&&(this.#c=null),!n.settled})}return this.#c.promise}set(t,e){if(this.#f?.reject(new Error("Aborted")),e?.instant||void 0===this.#r.v)return this.#c?.abort(),this.#c=null,r(this.#r,r(this.#n,t)),this.#i=t,Promise.resolve();e?.preserveMomentum&&(this.#a=0,this.#u=e.preserveMomentum);var s=this.#f=n();return s.promise.catch(i),this.#h(t).then(()=>{s===this.#f&&s.resolve(void 0)}),s.promise}get current(){return o(this.#r)}get damping(){return o(this.#e)}set damping(t){r(this.#e,d(t,0,1))}get precision(){return o(this.#s)}set precision(t){r(this.#s,t)}get stiffness(){return o(this.#t)}set stiffness(t){r(this.#t,d(t,0,1))}get target(){return o(this.#n)}set target(t){this.set(t)}}function d(t,e,s){return Math.max(e,Math.min(s,t))}function g(t,e){if(t===e||t!=t)return()=>t;const s=typeof t;if(s!==typeof e||Array.isArray(t)!==Array.isArray(e))throw new Error("Cannot interpolate values of different type");if(Array.isArray(t)){const s=e.map((e,s)=>g(t[s],e));return t=>s.map(e=>e(t))}if("object"===s){if(!t||!e)throw new Error("Object cannot be null");if(h(t)&&h(e)){const s=t.getTime(),r=e.getTime()-s;return t=>new Date(s+t*r)}const s=Object.keys(e),r={};return s.forEach(s=>{r[s]=g(t[s],e[s])}),t=>{const e={};return s.forEach(s=>{e[s]=r[s](t)}),e}}if("number"===s){const s=e-t;return e=>t+e*s}return()=>e}function v(t,e={}){const s=a(t);let r,n=t;function i(i,o){if(n=i,null==t)return s.set(t=i),Promise.resolve();let a=r,h=!1,{delay:m=0,duration:p=400,easing:l=f,interpolate:d=g}={...e,...o};if(0===p)return a&&(a.abort(),a=null),s.set(t=n),Promise.resolve();const v=u.now()+m;let b;return r=c(e=>{if(e<v)return!0;h||(b=d(t,i),"function"==typeof p&&(p=p(t,i)),h=!0),a&&(a.abort(),a=null);const r=e-v;return r>p?(s.set(t=i),!1):(s.set(t=b(l(r/p))),!0)}),r.promise}return{set:i,update:(e,s)=>i(e(n,t),s),subscribe:s.subscribe}}class b{#r;#n;#m;#c=null;constructor(t,s={}){this.#r=e(t),this.#n=e(t),this.#m=s}static of(t,e){const r=new b(t(),e);return s(()=>{r.set(t())}),r}set(t,e){r(this.#n,t);let{delay:s=0,duration:n=400,easing:i=f,interpolate:o=g}={...this.#m,...e};if(0===n)return this.#c?.abort(),r(this.#r,t),Promise.resolve();const a=u.now()+s;let h,m=!1,p=this.#c;return this.#c=c(e=>{if(e<a)return!0;if(!m){m=!0;const e=this.#r.v;h=o(e,t),"function"==typeof n&&(n=n(e,t)),p?.abort()}const s=e-a;return s>n?(r(this.#r,t),!1):(r(this.#r,h(i(s/n))),!0)}),this.#c.promise}get current(){return o(this.#r)}get target(){return o(this.#n)}set target(t){this.set(t)}}const y=new t("(prefers-reduced-motion: reduce)");export{l as Spring,b as Tween,y as prefersReducedMotion,p as spring,v as tweened};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{o as n}from"../chunks/chunk-cUxFvg6m.js";import{R as e}from"../chunks/chunk-BQPllGmY.js";import{s as i,g as o,a as w}from"../chunks/chunk-9EZydhXt.js";import"../chunks/chunk-Xd_2KAhC.js";const r=new e(()=>window.scrollX,e=>n(window,"scroll",e)),t=new e(()=>window.scrollY,e=>n(window,"scroll",e)),s=new e(()=>window.innerWidth,e=>n(window,"resize",e)),d=new e(()=>window.innerHeight,e=>n(window,"resize",e)),c=new e(()=>window.outerWidth,e=>n(window,"resize",e)),a=new e(()=>window.outerHeight,e=>n(window,"resize",e)),u=new e(()=>window.screenLeft,n=>{let e=window.screenLeft,i=requestAnimationFrame(function o(){i=requestAnimationFrame(o),e!==(e=window.screenLeft)&&n()});return()=>{cancelAnimationFrame(i)}}),l=new e(()=>window.screenTop,n=>{let e=window.screenTop,i=requestAnimationFrame(function o(){i=requestAnimationFrame(o),e!==(e=window.screenTop)&&n()});return()=>{cancelAnimationFrame(i)}}),m=new e(()=>navigator.onLine,e=>{const i=n(window,"online",e),o=n(window,"offline",e);return()=>{i(),o()}}),h=new class{#n=i(window.devicePixelRatio);#e(){const e=n(window.matchMedia(`(resolution: ${window.devicePixelRatio}dppx)`),"change",()=>{w(this.#n,window.devicePixelRatio),e(),this.#e()})}constructor(){this.#e()}get current(){return o(this.#n),window.devicePixelRatio}};export{h as devicePixelRatio,d as innerHeight,s as innerWidth,m as online,a as outerHeight,c as outerWidth,u as screenLeft,l as screenTop,r as scrollX,t as scrollY};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{aa as s,d as e,g as r,c as t,a5 as i,a,ar as h,s as u,J as o}from"../chunks/chunk-9EZydhXt.js";import"../chunks/chunk-Xd_2KAhC.js";export{M as MediaQuery}from"../chunks/chunk-CqpY4RsZ.js";export{c as createSubscriber}from"../chunks/chunk-ChRkfjHR.js";var n=!1;class p extends Date{#s=s(super.getTime());#e=new Map;#r=e;constructor(...s){super(...s),n||this.#t()}#t(){n=!0;var s=p.prototype,h=Date.prototype,u=Object.getOwnPropertyNames(h);for(const o of u)(o.startsWith("get")||o.startsWith("to")||"valueOf"===o)&&(s[o]=function(...s){if(s.length>0)return r(this.#s),h[o].apply(this,s);var a=this.#e.get(o);if(void 0===a){const u=e;t(this.#r),a=i(()=>(r(this.#s),h[o].apply(this,s))),this.#e.set(o,a),t(u)}return r(a)}),o.startsWith("set")&&(s[o]=function(...s){var e=h[o].apply(this,s);return a(this.#s,h.getTime.call(this)),e})}}var l=["forEach","isDisjointFrom","isSubsetOf","isSupersetOf"],v=["difference","intersection","symmetricDifference","union"],d=!1;class m extends Set{#i=new Map;#a=s(0);#h=s(0);#u=h||-1;constructor(s){if(super(),s){for(var e of s)super.add(e);this.#h.v=super.size}d||this.#t()}#o(e){return h===this.#u?s(e):u(e)}#t(){d=!0;var s=m.prototype,e=Set.prototype;for(const t of l)s[t]=function(...s){return r(this.#a),e[t].apply(this,s)};for(const t of v)s[t]=function(...s){r(this.#a);var i=e[t].apply(this,s);return new m(i)}}has(s){var e=super.has(s),t=this.#i,i=t.get(s);if(void 0===i){if(!e)return r(this.#a),!1;i=this.#o(!0),t.set(s,i)}return r(i),e}add(s){return super.has(s)||(super.add(s),a(this.#h,super.size),o(this.#a)),this}delete(s){var e=super.delete(s),r=this.#i,t=r.get(s);return void 0!==t&&(r.delete(s),a(t,!1)),e&&(a(this.#h,super.size),o(this.#a)),e}clear(){if(0!==super.size){super.clear();var s=this.#i;for(var e of s.values())a(e,!1);s.clear(),a(this.#h,0),o(this.#a)}}keys(){return this.values()}values(){return r(this.#a),super.values()}entries(){return r(this.#a),super.entries()}[Symbol.iterator](){return this.keys()}get size(){return r(this.#h)}}class f extends Map{#i=new Map;#a=s(0);#h=s(0);#u=h||-1;constructor(s){if(super(),s){for(var[e,r]of s)super.set(e,r);this.#h.v=super.size}}#o(e){return h===this.#u?s(e):u(e)}has(s){var e=this.#i,t=e.get(s);if(void 0===t){if(!super.has(s))return r(this.#a),!1;t=this.#o(0),e.set(s,t)}return r(t),!0}forEach(s,e){this.#n(),super.forEach(s,e)}get(s){var e=this.#i,t=e.get(s);if(void 0===t){if(!super.has(s))return void r(this.#a);t=this.#o(0),e.set(s,t)}return r(t),super.get(s)}set(s,e){var r=this.#i,t=r.get(s),i=super.get(s),h=super.set(s,e),u=this.#a;if(void 0===t)t=this.#o(0),r.set(s,t),a(this.#h,super.size),o(u);else if(i!==e){o(t);var n=null===u.reactions?null:new Set(u.reactions);(null===n||!t.reactions?.every(s=>n.has(s)))&&o(u)}return h}delete(s){var e=this.#i,r=e.get(s),t=super.delete(s);return void 0!==r&&(e.delete(s),a(r,-1)),t&&(a(this.#h,super.size),o(this.#a)),t}clear(){if(0!==super.size){super.clear();var s=this.#i;for(var e of(a(this.#h,0),s.values()))a(e,-1);o(this.#a),s.clear()}}#n(){r(this.#a);var s=this.#i;if(this.#h.v!==s.size)for(var e of super.keys())if(!s.has(e)){var t=this.#o(0);s.set(e,t)}for([,t]of this.#i)r(t)}keys(){return r(this.#a),super.keys()}values(){return this.#n(),super.values()}entries(){return this.#n(),super.entries()}[Symbol.iterator](){return this.entries()}get size(){return r(this.#h),super.size}}const g=Symbol("replace");class z extends URLSearchParams{#a=s(0);#p=function(){return y}();#c=!1;#l(){if(!this.#p||this.#c)return;this.#c=!0;const s=this.toString();this.#p.search=s&&`?${s}`,this.#c=!1}[g](s){if(!this.#c){this.#c=!0;for(const s of[...super.keys()])super.delete(s);for(const[e,r]of s)super.append(e,r);o(this.#a),this.#c=!1}}append(s,e){super.append(s,e),this.#l(),o(this.#a)}delete(s,e){var r=super.has(s,e);super.delete(s,e),r&&(this.#l(),o(this.#a))}get(s){return r(this.#a),super.get(s)}getAll(s){return r(this.#a),super.getAll(s)}has(s,e){return r(this.#a),super.has(s,e)}keys(){return r(this.#a),super.keys()}set(s,e){var r=super.getAll(s).join("");super.set(s,e),r!==super.getAll(s).join("")&&(this.#l(),o(this.#a))}sort(){super.sort(),this.#l(),o(this.#a)}toString(){return r(this.#a),super.toString()}values(){return r(this.#a),super.values()}entries(){return r(this.#a),super.entries()}[Symbol.iterator](){return this.entries()}get size(){return r(this.#a),super.size}}let y=null;class w extends URL{#v=s(super.protocol);#d=s(super.username);#m=s(super.password);#f=s(super.hostname);#g=s(super.port);#z=s(super.pathname);#y=s(super.hash);#w=s(super.search);#k;constructor(s,e){super(s=new URL(s,e)),y=this,this.#k=new z(s.searchParams),y=null}get hash(){return r(this.#y)}set hash(s){super.hash=s,a(this.#y,super.hash)}get host(){return r(this.#f),r(this.#g),super.host}set host(s){super.host=s,a(this.#f,super.hostname),a(this.#g,super.port)}get hostname(){return r(this.#f)}set hostname(s){super.hostname=s,a(this.#f,super.hostname)}get href(){return r(this.#v),r(this.#d),r(this.#m),r(this.#f),r(this.#g),r(this.#z),r(this.#y),r(this.#w),super.href}set href(s){super.href=s,a(this.#v,super.protocol),a(this.#d,super.username),a(this.#m,super.password),a(this.#f,super.hostname),a(this.#g,super.port),a(this.#z,super.pathname),a(this.#y,super.hash),a(this.#w,super.search),this.#k[g](super.searchParams)}get password(){return r(this.#m)}set password(s){super.password=s,a(this.#m,super.password)}get pathname(){return r(this.#z)}set pathname(s){super.pathname=s,a(this.#z,super.pathname)}get port(){return r(this.#g)}set port(s){super.port=s,a(this.#g,super.port)}get protocol(){return r(this.#v)}set protocol(s){super.protocol=s,a(this.#v,super.protocol)}get search(){return r(this.#w)}set search(s){super.search=s,a(this.#w,super.search),this.#k[g](super.searchParams)}get username(){return r(this.#d)}set username(s){super.username=s,a(this.#d,super.username)}get origin(){return r(this.#v),r(this.#f),r(this.#g),super.origin}get searchParams(){return this.#k}toString(){return this.href}toJSON(){return this.href}}export{p as SvelteDate,f as SvelteMap,m as SvelteSet,w as SvelteURL,z as SvelteURLSearchParams};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{e as r,b as s,w as e,c as t,d as n,f as u,h as c,i as a,r as o}from"../chunks/chunk-9EZydhXt.js";export{j as derived,k as readable,l as readonly}from"../chunks/chunk-9EZydhXt.js";import{c as i}from"../chunks/chunk-ChRkfjHR.js";function b(r,s){var i=c,b=n,f=r();const h=e(f,s=>{var e,h=f!==r(),k=n,l=c;t(b),u(i);try{e=a(()=>{o(()=>{const e=r();h&&s(e)})})}finally{t(k),u(l)}return h=!0,e});return s?{set:s,update:e=>s(e(r())),subscribe:h.subscribe}:{subscribe:h.subscribe}}function f(e){let t;const n=i(r=>{let s=!1;const n=e.subscribe(e=>{t=e,s&&r()});return s=!0,n});function u(){return r()?(n(),t):s(e)}return"set"in e?{get current(){return u()},set current(r){e.set(r)}}:{get current(){return u()}}}export{f as fromStore,s as get,b as toStore,e as writable};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const t=t=>t;function n(t){const n=t-1;return n*n*n+1}function e(t){return t<.5?4*t*t*t:.5*Math.pow(2*t-2,3)+1}function a(t){const n="string"==typeof t&&t.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return n?[parseFloat(n[1]),n[2]||"px"]:[t,"px"]}function o(t,{delay:n=0,duration:o=400,easing:r=e,amount:i=5,opacity:s=0}={}){const d=getComputedStyle(t),p=+d.opacity,c="none"===d.filter?"":d.filter,u=p*(1-s),[l,y]=a(i);return{delay:n,duration:o,easing:r,css:(t,n)=>`opacity: ${p-u*n}; filter: ${c} blur(${n*l}${y});`}}function r(n,{delay:e=0,duration:a=400,easing:o=t}={}){const r=+getComputedStyle(n).opacity;return{delay:e,duration:a,easing:o,css:t=>"opacity: "+t*r}}function i(t,{delay:e=0,duration:o=400,easing:r=n,x:i=0,y:s=0,opacity:d=0}={}){const p=getComputedStyle(t),c=+p.opacity,u="none"===p.transform?"":p.transform,l=c*(1-d),[y,$]=a(i),[g,f]=a(s);return{delay:e,duration:o,easing:r,css:(t,n)=>`\n\t\t\ttransform: ${u} translate(${(1-t)*y}${$}, ${(1-t)*g}${f});\n\t\t\topacity: ${c-l*n}`}}function s(t,{delay:e=0,duration:a=400,easing:o=n,axis:r="y"}={}){const i=getComputedStyle(t),s=+i.opacity,d="y"===r?"height":"width",p=parseFloat(i[d]),c="y"===r?["top","bottom"]:["left","right"],u=c.map(t=>`${t[0].toUpperCase()}${t.slice(1)}`),l=parseFloat(i[`padding${u[0]}`]),y=parseFloat(i[`padding${u[1]}`]),$=parseFloat(i[`margin${u[0]}`]),g=parseFloat(i[`margin${u[1]}`]),f=parseFloat(i[`border${u[0]}Width`]),m=parseFloat(i[`border${u[1]}Width`]);return{delay:e,duration:a,easing:o,css:t=>`overflow: hidden;opacity: ${Math.min(20*t,1)*s};${d}: ${t*p}px;padding-${c[0]}: ${t*l}px;padding-${c[1]}: ${t*y}px;margin-${c[0]}: ${t*$}px;margin-${c[1]}: ${t*g}px;border-${c[0]}-width: ${t*f}px;border-${c[1]}-width: ${t*m}px;min-${d}: 0`}}function d(t,{delay:e=0,duration:a=400,easing:o=n,start:r=0,opacity:i=0}={}){const s=getComputedStyle(t),d=+s.opacity,p="none"===s.transform?"":s.transform,c=1-r,u=d*(1-i);return{delay:e,duration:a,easing:o,css:(t,n)=>`\n\t\t\ttransform: ${p} scale(${1-c*n});\n\t\t\topacity: ${d-u*n}\n\t\t`}}function p(t,{delay:n=0,speed:a,duration:o,easing:r=e}={}){let i=t.getTotalLength();const s=getComputedStyle(t);return"butt"!==s.strokeLinecap&&(i+=parseInt(s.strokeWidth)),void 0===o?o=void 0===a?800:i/a:"function"==typeof o&&(o=o(i)),{delay:n,duration:o,easing:r,css:(t,n)=>`\n\t\t\tstroke-dasharray: ${i};\n\t\t\tstroke-dashoffset: ${n*i};\n\t\t`}}function c(t,n){for(const e in n)t[e]=n[e];return t}function u({fallback:t,...e}){const a=new Map,o=new Map;function r(a,o,r){return(i,s)=>(a.set(s.key,i),()=>{if(o.has(s.key)){const t=o.get(s.key);return o.delete(s.key),function(t,a,o){const{delay:r=0,duration:i=t=>30*Math.sqrt(t),easing:s=n}=c(c({},e),o),d=t.getBoundingClientRect(),p=a.getBoundingClientRect(),u=d.left-p.left,l=d.top-p.top,y=d.width/p.width,$=d.height/p.height,g=Math.sqrt(u*u+l*l),f=getComputedStyle(a),m="none"===f.transform?"":f.transform,h=+f.opacity;return{delay:r,duration:"function"==typeof i?i(g):i,easing:s,css:(t,n)=>`\n\t\t\t opacity: ${t*h};\n\t\t\t transform-origin: top left;\n\t\t\t transform: ${m} translate(${n*u}px,${n*l}px) scale(${t+(1-t)*y}, ${t+(1-t)*$});\n\t\t `}}(t,i,s)}return a.delete(s.key),t&&t(i,s,r)})}return[r(o,a,!1),r(a,o,!0)]}export{o as blur,u as crossfade,p as draw,r as fade,i as fly,d as scale,s as slide};
|