@netlify/spark-ui 1.5.0-alpha.8 → 1.5.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.
- package/dist/assets/SearchHeading.css +1 -1
- package/dist/assets/SearchLink.css +1 -1
- package/dist/assets/SearchModal.css +1 -1
- package/dist/chunks/compat.module.DJD78v1z.js +175 -0
- package/dist/chunks/hooks.module.D9IrxdEh.js +138 -0
- package/dist/chunks/{useTimeout.Cq4aqnDe.js → useTimeout.YR4eKwj7.js} +1 -1
- package/dist/components/index.d.ts +0 -1
- package/dist/components/preact/Icon/index.d.ts +2 -2
- package/dist/components/preact/Icon/index.js +75 -87
- package/dist/components/preact/Modal/Modal.js +1 -1
- package/dist/components/preact/SearchModal/components/SearchInput.d.ts +0 -2
- package/dist/components/preact/SearchModal/components/SearchInput.js +2 -2
- package/dist/components/preact/SearchModal/components/SearchLink/SearchLink.d.ts +1 -1
- package/dist/components/preact/SearchModal/components/SearchLink/SearchLink.js +17 -35
- package/dist/components/preact/SearchModal/components/SearchModal/SearchModal.js +49 -72
- package/dist/components/preact/SearchModal/components/SearchToggle/SearchToggle.js +1 -1
- package/dist/components/preact/SearchModal/components/SearchWindow.d.ts +1 -1
- package/dist/components/preact/SearchModal/components/SearchWindow.js +30 -49
- package/dist/components/preact/SearchModal/hooks/useKeyboardNav.js +6 -6
- package/dist/components/preact/SearchModal/hooks/useSearch.js +2 -2
- package/dist/components/preact/SearchModal/hooks/useSearchHotkeys.js +1 -1
- package/dist/components/preact/SearchModal/hooks/useSearchLogger.js +1 -1
- package/dist/components/preact/SearchModal/hooks/useSearchParams.js +1 -1
- package/dist/components/preact/SearchModal/hooks/useSearchToggles.d.ts +1 -3
- package/dist/components/preact/SearchModal/hooks/useSearchToggles.js +10 -13
- package/dist/components/preact/SearchModal/types/search.types.d.ts +1 -6
- package/dist/components/preact/index.d.ts +0 -1
- package/dist/components/preact/index.js +5 -7
- package/package.json +3 -5
- package/packages/assets/icons/ai.svg +22 -0
- package/packages/assets/icons/dev.svg +8 -0
- package/packages/assets/icons/ecommerce.svg +16 -0
- package/packages/assets/icons/marketing.svg +20 -0
- package/packages/components/CodeBlock.astro +4 -1
- package/packages/components/SectionTabbedContent.astro +185 -0
- package/packages/components/Tab.astro +12 -0
- package/packages/components/TabList.astro +7 -0
- package/packages/components/TabPanel.astro +13 -0
- package/packages/components/TabPanelGroup.astro +45 -0
- package/packages/components/TabbedContent.astro +72 -0
- package/packages/components/Tabs.astro +0 -2
- package/packages/components/Testimonial.astro +0 -0
- package/packages/components/index.ts +0 -1
- package/packages/components/preact/Icon/index.tsx +55 -56
- package/packages/components/preact/SearchModal/components/SearchHeading/SearchHeading.css +4 -5
- package/packages/components/preact/SearchModal/components/SearchInput.tsx +7 -9
- package/packages/components/preact/SearchModal/components/SearchLink/SearchLink.css +9 -14
- package/packages/components/preact/SearchModal/components/SearchLink/SearchLink.tsx +7 -27
- package/packages/components/preact/SearchModal/components/SearchModal/SearchModal.css +29 -67
- package/packages/components/preact/SearchModal/components/SearchModal/SearchModal.tsx +30 -60
- package/packages/components/preact/SearchModal/components/SearchWindow.tsx +18 -32
- package/packages/components/preact/SearchModal/hooks/useKeyboardNav.ts +2 -2
- package/packages/components/preact/SearchModal/hooks/useSearchToggles.ts +3 -11
- package/packages/components/preact/SearchModal/types/search.types.tsx +2 -5
- package/packages/components/preact/index.ts +0 -1
- package/packages/styles/code-block.css +22 -23
- package/packages/styles/fonts.css +8 -3
- package/packages/styles/layout.css +33 -0
- package/packages/styles/tokens.css +22 -36
- package/packages/themes/poimandres.json +6 -19
- package/dist/assets/AskNetlify.css +0 -1
- package/dist/assets/Orb.css +0 -1
- package/dist/chunks/compat.module.BNbXPLVY.js +0 -298
- package/dist/chunks/hooks.module.DGkdD5n9.js +0 -177
- package/dist/components/preact/AskNetlify/AskNetlify.d.ts +0 -7
- package/dist/components/preact/AskNetlify/AskNetlify.js +0 -5778
- package/dist/components/preact/Orb/Orb.d.ts +0 -2
- package/dist/components/preact/Orb/Orb.js +0 -5
- package/dist/components/preact/SpriteIcon/index.d.ts +0 -7
- package/dist/components/preact/SpriteIcon/index.js +0 -7
- package/dist/components/preact/icons/AskNetlify.d.ts +0 -5
- package/dist/components/preact/icons/AskNetlify.js +0 -69
- package/dist/components/preact/icons/Book.d.ts +0 -5
- package/dist/components/preact/icons/Book.js +0 -23
- package/dist/components/preact/icons/CircleQuestion.d.ts +0 -5
- package/dist/components/preact/icons/CircleQuestion.js +0 -25
- package/dist/components/preact/icons/Comment.d.ts +0 -5
- package/dist/components/preact/icons/Comment.js +0 -23
- package/dist/components/preact/icons/Lightbulb.d.ts +0 -5
- package/dist/components/preact/icons/Lightbulb.js +0 -34
- package/dist/components/preact/icons/MagnifyingGlass.d.ts +0 -5
- package/dist/components/preact/icons/MagnifyingGlass.js +0 -23
- package/dist/utils/theme.d.ts +0 -3
- package/packages/assets/icons/AskNetlify.svg +0 -23
- package/packages/assets/icons/icons.svg +0 -10
- package/packages/assets/icons/lightbulb.svg +0 -4
- package/packages/components/preact/AskNetlify/AskNetlify.css +0 -224
- package/packages/components/preact/AskNetlify/AskNetlify.tsx +0 -163
- package/packages/components/preact/Orb/Orb.css +0 -94
- package/packages/components/preact/Orb/Orb.tsx +0 -7
- package/packages/components/preact/SpriteIcon/index.tsx +0 -13
- package/packages/components/preact/icons/AskNetlify.tsx +0 -46
- package/packages/components/preact/icons/Book.tsx +0 -20
- package/packages/components/preact/icons/CircleQuestion.tsx +0 -22
- package/packages/components/preact/icons/Comment.tsx +0 -20
- package/packages/components/preact/icons/Lightbulb.tsx +0 -26
- package/packages/components/preact/icons/MagnifyingGlass.tsx +0 -20
- package/packages/utils/theme.ts +0 -12
|
@@ -3,10 +3,6 @@
|
|
|
3
3
|
* ------------------------------------------- */
|
|
4
4
|
|
|
5
5
|
:root {
|
|
6
|
-
--active-switcher-tab-bg-color: color(srgb 0.047058823529411764 0.16470588235294117 0.16470588235294117 / 0.047058823529411764);
|
|
7
|
-
--badge-bg-color: var(--neutral-100);
|
|
8
|
-
--badge-border-color: var(--neutral-300);
|
|
9
|
-
--badge-text-color: var(--neutral-500);
|
|
10
6
|
--blue-000: color(srgb 0.9294117647058824 0.9568627450980393 1);
|
|
11
7
|
--blue-100: color(srgb 0.803921568627451 0.8862745098039215 1);
|
|
12
8
|
--blue-200: color(srgb 0.7098039215686275 0.8235294117647058 0.984313725490196);
|
|
@@ -156,12 +152,8 @@
|
|
|
156
152
|
--red-700: color(srgb 0.6862745098039216 0.1450980392156863 0.21176470588235294);
|
|
157
153
|
--red-800: color(srgb 0.5019607843137255 0.0392156862745098 0.12549019607843137);
|
|
158
154
|
--red-900: color(srgb 0.23921568627450981 0.10980392156862745 0.10588235294117647);
|
|
159
|
-
--search-answer-message-color: var(--neutral-200);
|
|
160
|
-
--search-back-btn-bg-color: var(--neutral-100);
|
|
161
155
|
--search-bg-color: var(--neutral-000);
|
|
162
156
|
--search-highlight-color: var(--teal-000);
|
|
163
|
-
--search-loading-color: var(--blue-700);
|
|
164
|
-
--search-user-message-color: var(--blue-100);
|
|
165
157
|
--shadow-deep: 0 16px 24px 0 color(srgb 0 0 0 / 0.07), 0 6px 30px 0 color(srgb 0 0 0 / 0.06), 0 8px 10px 0 color(srgb 0 0 0 / 0.1);
|
|
166
158
|
--shadow-heavy: -10px 10px 80px 0 color(srgb 0 0 0 / 0.1);
|
|
167
159
|
--shadow-hover: 0 4px 12px 0 color(srgb 0 0 0 / 0.25);
|
|
@@ -176,7 +168,11 @@
|
|
|
176
168
|
--space-s: 1rem;
|
|
177
169
|
--space-xl: 3rem;
|
|
178
170
|
--space-xs: 0.75rem;
|
|
179
|
-
--
|
|
171
|
+
--tabbed-content-bg-color: var(--neutral-000);
|
|
172
|
+
--tabbed-content-bg-color-active: var(--neutral-000);
|
|
173
|
+
--tabbed-content-border-color: var(--color-icon);
|
|
174
|
+
--tabbed-content-code-bg-color: var(--neutral-900);
|
|
175
|
+
--tabbed-content-tab-text-color-active: var(--color-icon);
|
|
180
176
|
--teal-000: color(srgb 0.8705882352941177 1 0.996078431372549);
|
|
181
177
|
--teal-100: color(srgb 0.5568627450980392 0.984313725490196 0.9686274509803922);
|
|
182
178
|
--teal-200: color(srgb 0.19607843137254902 0.9019607843137255 0.8862745098039215);
|
|
@@ -192,10 +188,6 @@
|
|
|
192
188
|
|
|
193
189
|
@media (prefers-color-scheme: dark) {
|
|
194
190
|
:root {
|
|
195
|
-
--active-switcher-tab-bg-color: color(srgb 0.047058823529411764 0.16470588235294117 0.16470588235294117);
|
|
196
|
-
--badge-bg-color: var(--neutral-700);
|
|
197
|
-
--badge-border-color: var(--neutral-600);
|
|
198
|
-
--badge-text-color: var(--neutral-100);
|
|
199
191
|
--button-outline-bg-color: color(srgb 0 0 0 / 0);
|
|
200
192
|
--button-outline-bg-color-hover: color(srgb 0.6509803921568628 1 0.9921568627450981 / 0.09803921568627451);
|
|
201
193
|
--button-outline-stroke-color: var(--teal-200);
|
|
@@ -243,6 +235,7 @@
|
|
|
243
235
|
--color-warning-text: var(--gold-900);
|
|
244
236
|
--eyebrow-text-color: var(--teal-200);
|
|
245
237
|
--heading-text-color: var(--neutral-100);
|
|
238
|
+
--neutral-000: color(srgb 0 0 0);
|
|
246
239
|
--neutral-100: color(srgb 0.9019607843137255 0.9254901960784314 0.9490196078431372);
|
|
247
240
|
--neutral-200: color(srgb 0.6705882352941176 0.7098039215686275 0.7490196078431373);
|
|
248
241
|
--neutral-300: color(srgb 0.49411764705882355 0.5294117647058824 0.5725490196078431);
|
|
@@ -252,22 +245,18 @@
|
|
|
252
245
|
--neutral-700: color(srgb 0.11764705882352941 0.1411764705882353 0.17254901960784313);
|
|
253
246
|
--neutral-800: color(srgb 0.07058823529411765 0.09411764705882353 0.12156862745098039);
|
|
254
247
|
--neutral-900: color(srgb 0.023529411764705882 0.043137254901960784 0.06274509803921569);
|
|
255
|
-
--search-answer-message-color: var(--neutral-600);
|
|
256
|
-
--search-back-btn-bg-color: var(--neutral-500);
|
|
257
248
|
--search-bg-color: var(--neutral-700);
|
|
258
249
|
--search-highlight-color: var(--teal-800);
|
|
259
|
-
--
|
|
260
|
-
--
|
|
261
|
-
--
|
|
250
|
+
--tabbed-content-bg-color: color(srgb 0.047058823529411764 0.16470588235294117 0.16470588235294117 / 0.2);
|
|
251
|
+
--tabbed-content-bg-color-active: var(--teal-900);
|
|
252
|
+
--tabbed-content-border-color: var(--color-icon);
|
|
253
|
+
--tabbed-content-code-bg-color: var(--neutral-900);
|
|
254
|
+
--tabbed-content-tab-text-color-active: var(--color-icon);
|
|
262
255
|
--title-text-color: color(srgb 0.8352941176470589 1 0.996078431372549 / 0.7490196078431373);
|
|
263
256
|
}
|
|
264
257
|
}
|
|
265
258
|
|
|
266
259
|
[data-theme="dark"] {
|
|
267
|
-
--active-switcher-tab-bg-color: color(srgb 0.047058823529411764 0.16470588235294117 0.16470588235294117);
|
|
268
|
-
--badge-bg-color: var(--neutral-700);
|
|
269
|
-
--badge-border-color: var(--neutral-600);
|
|
270
|
-
--badge-text-color: var(--neutral-100);
|
|
271
260
|
--button-outline-bg-color: color(srgb 0 0 0 / 0);
|
|
272
261
|
--button-outline-bg-color-hover: color(srgb 0.6509803921568628 1 0.9921568627450981 / 0.09803921568627451);
|
|
273
262
|
--button-outline-stroke-color: var(--teal-200);
|
|
@@ -315,6 +304,7 @@
|
|
|
315
304
|
--color-warning-text: var(--gold-900);
|
|
316
305
|
--eyebrow-text-color: var(--teal-200);
|
|
317
306
|
--heading-text-color: var(--neutral-100);
|
|
307
|
+
--neutral-000: color(srgb 0 0 0);
|
|
318
308
|
--neutral-100: color(srgb 0.9019607843137255 0.9254901960784314 0.9490196078431372);
|
|
319
309
|
--neutral-200: color(srgb 0.6705882352941176 0.7098039215686275 0.7490196078431373);
|
|
320
310
|
--neutral-300: color(srgb 0.49411764705882355 0.5294117647058824 0.5725490196078431);
|
|
@@ -324,21 +314,17 @@
|
|
|
324
314
|
--neutral-700: color(srgb 0.11764705882352941 0.1411764705882353 0.17254901960784313);
|
|
325
315
|
--neutral-800: color(srgb 0.07058823529411765 0.09411764705882353 0.12156862745098039);
|
|
326
316
|
--neutral-900: color(srgb 0.023529411764705882 0.043137254901960784 0.06274509803921569);
|
|
327
|
-
--search-answer-message-color: var(--neutral-600);
|
|
328
|
-
--search-back-btn-bg-color: var(--neutral-500);
|
|
329
317
|
--search-bg-color: var(--neutral-700);
|
|
330
318
|
--search-highlight-color: var(--teal-800);
|
|
331
|
-
--
|
|
332
|
-
--
|
|
333
|
-
--
|
|
319
|
+
--tabbed-content-bg-color: color(srgb 0.047058823529411764 0.16470588235294117 0.16470588235294117 / 0.2);
|
|
320
|
+
--tabbed-content-bg-color-active: var(--teal-900);
|
|
321
|
+
--tabbed-content-border-color: var(--color-icon);
|
|
322
|
+
--tabbed-content-code-bg-color: var(--neutral-900);
|
|
323
|
+
--tabbed-content-tab-text-color-active: var(--color-icon);
|
|
334
324
|
--title-text-color: color(srgb 0.8352941176470589 1 0.996078431372549 / 0.7490196078431373);
|
|
335
325
|
}
|
|
336
326
|
|
|
337
327
|
[data-theme="light"] {
|
|
338
|
-
--active-switcher-tab-bg-color: color(srgb 0.047058823529411764 0.16470588235294117 0.16470588235294117 / 0.047058823529411764);
|
|
339
|
-
--badge-bg-color: var(--neutral-100);
|
|
340
|
-
--badge-border-color: var(--neutral-300);
|
|
341
|
-
--badge-text-color: var(--neutral-500);
|
|
342
328
|
--button-outline-bg-color: color(srgb 0 0 0 / 0);
|
|
343
329
|
--button-outline-bg-color-hover: color(srgb 0.19607843137254902 0.9019607843137255 0.8862745098039215 / 0.2);
|
|
344
330
|
--button-outline-stroke-color: var(--neutral-800);
|
|
@@ -395,13 +381,13 @@
|
|
|
395
381
|
--neutral-600: color(srgb 0.32941176470588235 0.35294117647058826 0.3803921568627451);
|
|
396
382
|
--neutral-700: color(srgb 0.20784313725490197 0.22745098039215686 0.24313725490196078);
|
|
397
383
|
--neutral-800: color(srgb 0.09411764705882353 0.10196078431372549 0.10980392156862745);
|
|
398
|
-
--search-answer-message-color: var(--neutral-200);
|
|
399
|
-
--search-back-btn-bg-color: var(--neutral-100);
|
|
400
384
|
--search-bg-color: var(--neutral-000);
|
|
401
385
|
--search-highlight-color: var(--teal-000);
|
|
402
|
-
--
|
|
403
|
-
--
|
|
404
|
-
--
|
|
386
|
+
--tabbed-content-bg-color: var(--neutral-000);
|
|
387
|
+
--tabbed-content-bg-color-active: var(--neutral-000);
|
|
388
|
+
--tabbed-content-border-color: var(--color-icon);
|
|
389
|
+
--tabbed-content-code-bg-color: var(--neutral-900);
|
|
390
|
+
--tabbed-content-tab-text-color-active: var(--color-icon);
|
|
405
391
|
--title-text-color: color(srgb 0.32941176470588235 0.35294117647058826 0.3803921568627451 / 0.7490196078431373);
|
|
406
392
|
}
|
|
407
393
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "poimandres",
|
|
3
3
|
"type": "dark",
|
|
4
4
|
"colors": {
|
|
5
|
-
"editor.background": "
|
|
5
|
+
"editor.background": "transparent",
|
|
6
6
|
"editor.foreground": "#e4f0fb",
|
|
7
7
|
"editorCursor.foreground": "#add7ff",
|
|
8
8
|
"editorIndentGuide.background": "#303340",
|
|
@@ -71,11 +71,7 @@
|
|
|
71
71
|
},
|
|
72
72
|
{
|
|
73
73
|
"name": "Tag",
|
|
74
|
-
"scope": [
|
|
75
|
-
"entity.name.tag",
|
|
76
|
-
"meta.tag.sgml",
|
|
77
|
-
"markup.deleted.git_gutter"
|
|
78
|
-
],
|
|
74
|
+
"scope": ["entity.name.tag", "meta.tag.sgml", "markup.deleted.git_gutter"],
|
|
79
75
|
"settings": {
|
|
80
76
|
"foreground": "#5de4c7"
|
|
81
77
|
}
|
|
@@ -177,11 +173,7 @@
|
|
|
177
173
|
},
|
|
178
174
|
{
|
|
179
175
|
"name": "Sub-methods",
|
|
180
|
-
"scope": [
|
|
181
|
-
"entity.name.module.js",
|
|
182
|
-
"variable.import.parameter.js",
|
|
183
|
-
"variable.other.class.js"
|
|
184
|
-
],
|
|
176
|
+
"scope": ["entity.name.module.js", "variable.import.parameter.js", "variable.other.class.js"],
|
|
185
177
|
"settings": {
|
|
186
178
|
"foreground": "#f95c5b"
|
|
187
179
|
}
|
|
@@ -204,10 +196,7 @@
|
|
|
204
196
|
},
|
|
205
197
|
{
|
|
206
198
|
"name": "meta.method.js",
|
|
207
|
-
"scope": [
|
|
208
|
-
"meta.class-method.js entity.name.function.js",
|
|
209
|
-
"variable.function.constructor"
|
|
210
|
-
],
|
|
199
|
+
"scope": ["meta.class-method.js entity.name.function.js", "variable.function.constructor"],
|
|
211
200
|
"settings": {
|
|
212
201
|
"foreground": "#5fb3ff"
|
|
213
202
|
}
|
|
@@ -299,13 +288,11 @@
|
|
|
299
288
|
},
|
|
300
289
|
{
|
|
301
290
|
"name": "ES7 Bind Operator",
|
|
302
|
-
"scope": [
|
|
303
|
-
"source.js constant.other.object.key.js string.unquoted.label.js"
|
|
304
|
-
],
|
|
291
|
+
"scope": ["source.js constant.other.object.key.js string.unquoted.label.js"],
|
|
305
292
|
"settings": {
|
|
306
293
|
"fontStyle": "italic",
|
|
307
294
|
"foreground": "#f95c5b"
|
|
308
295
|
}
|
|
309
296
|
}
|
|
310
297
|
]
|
|
311
|
-
}
|
|
298
|
+
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.chat-container{opacity:0;animation:appearContainer .12s ease-in-out forwards;animation-delay:.14s}@keyframes appearContainer{0%{opacity:0}to{opacity:1}}.conversation{height:calc(var(--n-search-container-height) + var(--n-search-footer-height));padding:var(--n-search-padding-inline);scroll-behavior:smooth;overflow-y:auto;display:grid;align-items:flex-end;gap:var(--space-s)}.question{border:none;color:var(--color-text-1);font-weight:var(--font-weight-regular);font-size:var(--step--1);border-radius:var(--radius-pill);transform:translate(-.75rem);text-wrap:pretty;text-align:left}.question-list li{opacity:0;transform:translateY(10px);animation:fadeInUp .5s forwards}.question-list li:nth-child(1){animation-delay:.5s}.question-list li:nth-child(2){animation-delay:.3s}.question-list li:nth-child(3){animation-delay:.1s}@keyframes fadeInUp{to{opacity:1;transform:translateY(0)}}.message{display:grid;gap:var(--space-s);margin-block-start:var(--space-2xl)}.message-bubble{padding:var(--space-xs) var(--space-s);background:var(--search-answer-message-color);border-radius:var(--radius-l);width:fit-content;max-width:85%;font-size:var(--step-0)}.prose{font-size:var(--step--0)}.prose>*+*{margin-top:var(--flow-space, var(--space-s))}.prose :where(ol,ul,li)>*+*{margin-top:var(--flow-space, var(--space-3xs))}.prose h1,.prose h2,.prose h3{font-size:var(--step-1)}.prose h4,.prose h5,.prose h6{font-size:var(--step-0)}.prose pre{background:var(--neutral-light-700);border-radius:var(--radius-m);max-width:100%;box-sizing:border-box;padding:var(--space-s);color:var(--neutral-100);overflow-x:auto}.prose code{overflow-x:auto}.prose code[class*=language-],.prose pre[class*=language-]{display:block;font-size:var(--font-size-text-xs)}.user-message{margin-inline-start:auto;background:var(--search-user-message-color)}.form-wrapper{display:flex;align-items:center;position:relative;height:var(--n-search-input-height)}.form-wrapper:after{content:"";display:block;width:100%;height:1px;background:var(--color-bg-3);position:absolute;top:0;left:0}.form-input{border:none;outline:none;padding-inline:var(--n-search-padding-inline)}.form-submit{padding:.7rem;border-radius:var(--radius-pill);margin-inline-end:var(--space-2xs);border:none;background:var(--color-link-1);color:var(--neutral-000);transition:background-color .15s ease-out}.form-submit>svg{width:1rem;height:auto;aspect-ratio:1 / 1;border-radius:1.5px;transition:opacity .15s ease-out}.form-submit[disabled]{background:var(--neutral-500)}.form-submit[disabled]>*{opacity:.5}.button-back{width:fit-content;background:transparent;position:absolute;z-index:1;padding:.5rem 1rem;background:var(--search-back-btn-bg-color);margin:1rem;border:2px solid var(--color-bg-3);border-radius:var(--radius-pill);font-size:var(--step--1);border:1px solid;cursor:pointer;border-color:var(--color-bg-3);color:var(--color-text-1);border-width:.5px}.message-loader{width:43px;height:auto;display:block;color:var(--search-loading-color)}.message-loader :where(#ask-netlify-tick-1,#ask-netlify-tick-2,#ask-netlify-tick-3){opacity:0;animation:tickFlicker .8s ease-in-out infinite}#ask-netlify-tick-1{animation-delay:.1s}#ask-netlify-tick-2{animation-delay:.2s}#ask-netlify-tick-3{animation-delay:.3s}@keyframes tickFlicker{0%{opacity:0}to{opacity:1}}
|
package/dist/assets/Orb.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@property --angle{syntax: "<angle>"; inherits: false; initial-value: 0deg;}:root{--bg: oklch(12.9% .042 264.695);--c1: oklch(44.4% .177 26.899);--c2: oklch(85.2% .199 91.936);--c3: oklch(58.8% .158 241.966)}.orb{display:grid;grid-template-areas:"stack";inline-size:min(80vmin,100%);aspect-ratio:1;overflow:hidden;border-radius:50%}.orb:before,.orb:after{content:"";display:block;grid-area:stack;width:100%;height:100%;border-radius:50%;transform:translateZ(0)}.orb:before{background:conic-gradient(from calc(var(--angle) * 2) at 25% 70%,var(--c3),transparent 20% 80%,var(--c3)),conic-gradient(from calc(var(--angle) * 2) at 45% 75%,var(--c2),transparent 30% 60%,var(--c2)),conic-gradient(from calc(var(--angle) * -3) at 80% 20%,var(--c1),transparent 40% 60%,var(--c1)),conic-gradient(from calc(var(--angle) * 2) at 15% 5%,var(--c2),transparent 10% 90%,var(--c2)),conic-gradient(from calc(var(--angle) * 1) at 20% 80%,var(--c1),transparent 10% 90%,var(--c1)),conic-gradient(from calc(var(--angle) * -2) at 85% 10%,var(--c3),transparent 20% 80%,var(--c3));box-shadow:inset var(--bg) 0 0 5vmin 1vmin;filter:blur(3vmin) contrast(5);animation:rotate 20s linear infinite}.orb:after{--dot: 1.5px;background-image:radial-gradient(circle at center,var(--bg) var(--dot),transparent var(--dot));background-size:calc(var(--dot) * 2) calc(var(--dot) * 2);-webkit-mask-image:radial-gradient(black 25%,transparent 75%);mask-image:radial-gradient(black 25%,transparent 75%);-webkit-backdrop-filter:blur(8vmin) contrast(10);backdrop-filter:blur(8vmin) contrast(10);mix-blend-mode:overlay}@keyframes rotate{to{--angle: 360deg}}
|
|
@@ -1,298 +0,0 @@
|
|
|
1
|
-
import { Component as p, options as i, createElement as f, Fragment as v, toChildArray as s, createRef as Q, createContext as X, cloneElement as ee, render as m, hydrate as te } from "preact";
|
|
2
|
-
import { x as T, d as N, A as D, h as I, T as L, _ as y, F as M, g as V, y as S, P as F, q as W } from "./hooks.module.DGkdD5n9.js";
|
|
3
|
-
function H(e, t) {
|
|
4
|
-
for (var n in t) e[n] = t[n];
|
|
5
|
-
return e;
|
|
6
|
-
}
|
|
7
|
-
function g(e, t) {
|
|
8
|
-
for (var n in e) if (n !== "__source" && !(n in t)) return !0;
|
|
9
|
-
for (var r in t) if (r !== "__source" && e[r] !== t[r]) return !0;
|
|
10
|
-
return !1;
|
|
11
|
-
}
|
|
12
|
-
function B(e, t) {
|
|
13
|
-
var n = t(), r = N({ t: { __: n, u: t } }), o = r[0].t, a = r[1];
|
|
14
|
-
return y(function() {
|
|
15
|
-
o.__ = n, o.u = t, C(o) && a({ t: o });
|
|
16
|
-
}, [e, n, t]), S(function() {
|
|
17
|
-
return C(o) && a({ t: o }), e(function() {
|
|
18
|
-
C(o) && a({ t: o });
|
|
19
|
-
});
|
|
20
|
-
}, [e]), n;
|
|
21
|
-
}
|
|
22
|
-
function C(e) {
|
|
23
|
-
var t, n, r = e.u, o = e.__;
|
|
24
|
-
try {
|
|
25
|
-
var a = r();
|
|
26
|
-
return !((t = o) === (n = a) && (t !== 0 || 1 / t == 1 / n) || t != t && n != n);
|
|
27
|
-
} catch {
|
|
28
|
-
return !0;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
function z(e) {
|
|
32
|
-
e();
|
|
33
|
-
}
|
|
34
|
-
function j(e) {
|
|
35
|
-
return e;
|
|
36
|
-
}
|
|
37
|
-
function q() {
|
|
38
|
-
return [!1, z];
|
|
39
|
-
}
|
|
40
|
-
var Z = y;
|
|
41
|
-
function E(e, t) {
|
|
42
|
-
this.props = e, this.context = t;
|
|
43
|
-
}
|
|
44
|
-
function ne(e, t) {
|
|
45
|
-
function n(o) {
|
|
46
|
-
var a = this.props.ref, u = a == o.ref;
|
|
47
|
-
return !u && a && (a.call ? a(null) : a.current = null), t ? !t(this.props, o) || !u : g(this.props, o);
|
|
48
|
-
}
|
|
49
|
-
function r(o) {
|
|
50
|
-
return this.shouldComponentUpdate = n, f(e, o);
|
|
51
|
-
}
|
|
52
|
-
return r.displayName = "Memo(" + (e.displayName || e.name) + ")", r.prototype.isReactComponent = !0, r.__f = !0, r;
|
|
53
|
-
}
|
|
54
|
-
(E.prototype = new p()).isPureReactComponent = !0, E.prototype.shouldComponentUpdate = function(e, t) {
|
|
55
|
-
return g(this.props, e) || g(this.state, t);
|
|
56
|
-
};
|
|
57
|
-
var x = i.__b;
|
|
58
|
-
i.__b = function(e) {
|
|
59
|
-
e.type && e.type.__f && e.ref && (e.props.ref = e.ref, e.ref = null), x && x(e);
|
|
60
|
-
};
|
|
61
|
-
var re = typeof Symbol < "u" && Symbol.for && Symbol.for("react.forward_ref") || 3911;
|
|
62
|
-
function oe(e) {
|
|
63
|
-
function t(n) {
|
|
64
|
-
var r = H({}, n);
|
|
65
|
-
return delete r.ref, e(r, n.ref || null);
|
|
66
|
-
}
|
|
67
|
-
return t.$$typeof = re, t.render = t, t.prototype.isReactComponent = t.__f = !0, t.displayName = "ForwardRef(" + (e.displayName || e.name) + ")", t;
|
|
68
|
-
}
|
|
69
|
-
var R = function(e, t) {
|
|
70
|
-
return e == null ? null : s(s(e).map(t));
|
|
71
|
-
}, ue = { map: R, forEach: R, count: function(e) {
|
|
72
|
-
return e ? s(e).length : 0;
|
|
73
|
-
}, only: function(e) {
|
|
74
|
-
var t = s(e);
|
|
75
|
-
if (t.length !== 1) throw "Children.only";
|
|
76
|
-
return t[0];
|
|
77
|
-
}, toArray: s }, ae = i.__e;
|
|
78
|
-
i.__e = function(e, t, n, r) {
|
|
79
|
-
if (e.then) {
|
|
80
|
-
for (var o, a = t; a = a.__; ) if ((o = a.__c) && o.__c) return t.__e == null && (t.__e = n.__e, t.__k = n.__k), o.__c(e, t);
|
|
81
|
-
}
|
|
82
|
-
ae(e, t, n, r);
|
|
83
|
-
};
|
|
84
|
-
var O = i.unmount;
|
|
85
|
-
function Y(e, t, n) {
|
|
86
|
-
return e && (e.__c && e.__c.__H && (e.__c.__H.__.forEach(function(r) {
|
|
87
|
-
typeof r.__c == "function" && r.__c();
|
|
88
|
-
}), e.__c.__H = null), (e = H({}, e)).__c != null && (e.__c.__P === n && (e.__c.__P = t), e.__c.__e = !0, e.__c = null), e.__k = e.__k && e.__k.map(function(r) {
|
|
89
|
-
return Y(r, t, n);
|
|
90
|
-
})), e;
|
|
91
|
-
}
|
|
92
|
-
function G(e, t, n) {
|
|
93
|
-
return e && n && (e.__v = null, e.__k = e.__k && e.__k.map(function(r) {
|
|
94
|
-
return G(r, t, n);
|
|
95
|
-
}), e.__c && e.__c.__P === t && (e.__e && n.appendChild(e.__e), e.__c.__e = !0, e.__c.__P = n)), e;
|
|
96
|
-
}
|
|
97
|
-
function h() {
|
|
98
|
-
this.__u = 0, this.o = null, this.__b = null;
|
|
99
|
-
}
|
|
100
|
-
function J(e) {
|
|
101
|
-
var t = e.__.__c;
|
|
102
|
-
return t && t.__a && t.__a(e);
|
|
103
|
-
}
|
|
104
|
-
function le(e) {
|
|
105
|
-
var t, n, r;
|
|
106
|
-
function o(a) {
|
|
107
|
-
if (t || (t = e()).then(function(u) {
|
|
108
|
-
n = u.default || u;
|
|
109
|
-
}, function(u) {
|
|
110
|
-
r = u;
|
|
111
|
-
}), r) throw r;
|
|
112
|
-
if (!n) throw t;
|
|
113
|
-
return f(n, a);
|
|
114
|
-
}
|
|
115
|
-
return o.displayName = "Lazy", o.__f = !0, o;
|
|
116
|
-
}
|
|
117
|
-
function d() {
|
|
118
|
-
this.i = null, this.l = null;
|
|
119
|
-
}
|
|
120
|
-
i.unmount = function(e) {
|
|
121
|
-
var t = e.__c;
|
|
122
|
-
t && t.__R && t.__R(), t && 32 & e.__u && (e.type = null), O && O(e);
|
|
123
|
-
}, (h.prototype = new p()).__c = function(e, t) {
|
|
124
|
-
var n = t.__c, r = this;
|
|
125
|
-
r.o == null && (r.o = []), r.o.push(n);
|
|
126
|
-
var o = J(r.__v), a = !1, u = function() {
|
|
127
|
-
a || (a = !0, n.__R = null, o ? o(_) : _());
|
|
128
|
-
};
|
|
129
|
-
n.__R = u;
|
|
130
|
-
var _ = function() {
|
|
131
|
-
if (!--r.__u) {
|
|
132
|
-
if (r.state.__a) {
|
|
133
|
-
var l = r.state.__a;
|
|
134
|
-
r.__v.__k[0] = G(l, l.__c.__P, l.__c.__O);
|
|
135
|
-
}
|
|
136
|
-
var c;
|
|
137
|
-
for (r.setState({ __a: r.__b = null }); c = r.o.pop(); ) c.forceUpdate();
|
|
138
|
-
}
|
|
139
|
-
};
|
|
140
|
-
r.__u++ || 32 & t.__u || r.setState({ __a: r.__b = r.__v.__k[0] }), e.then(u, u);
|
|
141
|
-
}, h.prototype.componentWillUnmount = function() {
|
|
142
|
-
this.o = [];
|
|
143
|
-
}, h.prototype.render = function(e, t) {
|
|
144
|
-
if (this.__b) {
|
|
145
|
-
if (this.__v.__k) {
|
|
146
|
-
var n = document.createElement("div"), r = this.__v.__k[0].__c;
|
|
147
|
-
this.__v.__k[0] = Y(this.__b, n, r.__O = r.__P);
|
|
148
|
-
}
|
|
149
|
-
this.__b = null;
|
|
150
|
-
}
|
|
151
|
-
var o = t.__a && f(v, null, e.fallback);
|
|
152
|
-
return o && (o.__u &= -33), [f(v, null, t.__a ? null : e.children), o];
|
|
153
|
-
};
|
|
154
|
-
var P = function(e, t, n) {
|
|
155
|
-
if (++n[1] === n[0] && e.l.delete(t), e.props.revealOrder && (e.props.revealOrder[0] !== "t" || !e.l.size)) for (n = e.i; n; ) {
|
|
156
|
-
for (; n.length > 3; ) n.pop()();
|
|
157
|
-
if (n[1] < n[0]) break;
|
|
158
|
-
e.i = n = n[2];
|
|
159
|
-
}
|
|
160
|
-
};
|
|
161
|
-
function ie(e) {
|
|
162
|
-
return this.getChildContext = function() {
|
|
163
|
-
return e.context;
|
|
164
|
-
}, e.children;
|
|
165
|
-
}
|
|
166
|
-
function _e(e) {
|
|
167
|
-
var t = this, n = e.h;
|
|
168
|
-
if (t.componentWillUnmount = function() {
|
|
169
|
-
m(null, t.v), t.v = null, t.h = null;
|
|
170
|
-
}, t.h && t.h !== n && t.componentWillUnmount(), !t.v) {
|
|
171
|
-
for (var r = t.__v; r !== null && !r.__m && r.__ !== null; ) r = r.__;
|
|
172
|
-
t.h = n, t.v = { nodeType: 1, parentNode: n, childNodes: [], __k: { __m: r.__m }, contains: function() {
|
|
173
|
-
return !0;
|
|
174
|
-
}, insertBefore: function(o, a) {
|
|
175
|
-
this.childNodes.push(o), t.h.insertBefore(o, a);
|
|
176
|
-
}, removeChild: function(o) {
|
|
177
|
-
this.childNodes.splice(this.childNodes.indexOf(o) >>> 1, 1), t.h.removeChild(o);
|
|
178
|
-
} };
|
|
179
|
-
}
|
|
180
|
-
m(f(ie, { context: t.context }, e.__v), t.v);
|
|
181
|
-
}
|
|
182
|
-
function ce(e, t) {
|
|
183
|
-
var n = f(_e, { __v: e, h: t });
|
|
184
|
-
return n.containerInfo = t, n;
|
|
185
|
-
}
|
|
186
|
-
(d.prototype = new p()).__a = function(e) {
|
|
187
|
-
var t = this, n = J(t.__v), r = t.l.get(e);
|
|
188
|
-
return r[0]++, function(o) {
|
|
189
|
-
var a = function() {
|
|
190
|
-
t.props.revealOrder ? (r.push(o), P(t, e, r)) : o();
|
|
191
|
-
};
|
|
192
|
-
n ? n(a) : a();
|
|
193
|
-
};
|
|
194
|
-
}, d.prototype.render = function(e) {
|
|
195
|
-
this.i = null, this.l = /* @__PURE__ */ new Map();
|
|
196
|
-
var t = s(e.children);
|
|
197
|
-
e.revealOrder && e.revealOrder[0] === "b" && t.reverse();
|
|
198
|
-
for (var n = t.length; n--; ) this.l.set(t[n], this.i = [1, 0, this.i]);
|
|
199
|
-
return e.children;
|
|
200
|
-
}, d.prototype.componentDidUpdate = d.prototype.componentDidMount = function() {
|
|
201
|
-
var e = this;
|
|
202
|
-
this.l.forEach(function(t, n) {
|
|
203
|
-
P(e, n, t);
|
|
204
|
-
});
|
|
205
|
-
};
|
|
206
|
-
var K = typeof Symbol < "u" && Symbol.for && Symbol.for("react.element") || 60103, se = /^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/, fe = /^on(Ani|Tra|Tou|BeforeInp|Compo)/, pe = /[A-Z0-9]/g, de = typeof document < "u", ve = function(e) {
|
|
207
|
-
return (typeof Symbol < "u" && typeof Symbol() == "symbol" ? /fil|che|rad/ : /fil|che|ra/).test(e);
|
|
208
|
-
};
|
|
209
|
-
function he(e, t, n) {
|
|
210
|
-
return t.__k == null && (t.textContent = ""), m(e, t), typeof n == "function" && n(), e ? e.__c : null;
|
|
211
|
-
}
|
|
212
|
-
function me(e, t, n) {
|
|
213
|
-
return te(e, t), typeof n == "function" && n(), e ? e.__c : null;
|
|
214
|
-
}
|
|
215
|
-
p.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceiveProps", "componentWillUpdate"].forEach(function(e) {
|
|
216
|
-
Object.defineProperty(p.prototype, e, { configurable: !0, get: function() {
|
|
217
|
-
return this["UNSAFE_" + e];
|
|
218
|
-
}, set: function(t) {
|
|
219
|
-
Object.defineProperty(this, e, { configurable: !0, writable: !0, value: t });
|
|
220
|
-
} });
|
|
221
|
-
});
|
|
222
|
-
var w = i.event;
|
|
223
|
-
function ye() {
|
|
224
|
-
}
|
|
225
|
-
function be() {
|
|
226
|
-
return this.cancelBubble;
|
|
227
|
-
}
|
|
228
|
-
function Ce() {
|
|
229
|
-
return this.defaultPrevented;
|
|
230
|
-
}
|
|
231
|
-
i.event = function(e) {
|
|
232
|
-
return w && (e = w(e)), e.persist = ye, e.isPropagationStopped = be, e.isDefaultPrevented = Ce, e.nativeEvent = e;
|
|
233
|
-
};
|
|
234
|
-
var k, ge = { enumerable: !1, configurable: !0, get: function() {
|
|
235
|
-
return this.class;
|
|
236
|
-
} }, U = i.vnode;
|
|
237
|
-
i.vnode = function(e) {
|
|
238
|
-
typeof e.type == "string" && function(t) {
|
|
239
|
-
var n = t.props, r = t.type, o = {}, a = r.indexOf("-") === -1;
|
|
240
|
-
for (var u in n) {
|
|
241
|
-
var _ = n[u];
|
|
242
|
-
if (!(u === "value" && "defaultValue" in n && _ == null || de && u === "children" && r === "noscript" || u === "class" || u === "className")) {
|
|
243
|
-
var l = u.toLowerCase();
|
|
244
|
-
u === "defaultValue" && "value" in n && n.value == null ? u = "value" : u === "download" && _ === !0 ? _ = "" : l === "translate" && _ === "no" ? _ = !1 : l[0] === "o" && l[1] === "n" ? l === "ondoubleclick" ? u = "ondblclick" : l !== "onchange" || r !== "input" && r !== "textarea" || ve(n.type) ? l === "onfocus" ? u = "onfocusin" : l === "onblur" ? u = "onfocusout" : fe.test(u) && (u = l) : l = u = "oninput" : a && se.test(u) ? u = u.replace(pe, "-$&").toLowerCase() : _ === null && (_ = void 0), l === "oninput" && o[u = l] && (u = "oninputCapture"), o[u] = _;
|
|
245
|
-
}
|
|
246
|
-
}
|
|
247
|
-
r == "select" && o.multiple && Array.isArray(o.value) && (o.value = s(n.children).forEach(function(c) {
|
|
248
|
-
c.props.selected = o.value.indexOf(c.props.value) != -1;
|
|
249
|
-
})), r == "select" && o.defaultValue != null && (o.value = s(n.children).forEach(function(c) {
|
|
250
|
-
c.props.selected = o.multiple ? o.defaultValue.indexOf(c.props.value) != -1 : o.defaultValue == c.props.value;
|
|
251
|
-
})), n.class && !n.className ? (o.class = n.class, Object.defineProperty(o, "className", ge)) : (n.className && !n.class || n.class && n.className) && (o.class = o.className = n.className), t.props = o;
|
|
252
|
-
}(e), e.$$typeof = K, U && U(e);
|
|
253
|
-
};
|
|
254
|
-
var $ = i.__r;
|
|
255
|
-
i.__r = function(e) {
|
|
256
|
-
$ && $(e), k = e.__c;
|
|
257
|
-
};
|
|
258
|
-
var A = i.diffed;
|
|
259
|
-
i.diffed = function(e) {
|
|
260
|
-
A && A(e);
|
|
261
|
-
var t = e.props, n = e.__e;
|
|
262
|
-
n != null && e.type === "textarea" && "value" in t && t.value !== n.value && (n.value = t.value == null ? "" : t.value), k = null;
|
|
263
|
-
};
|
|
264
|
-
var Ee = { ReactCurrentDispatcher: { current: { readContext: function(e) {
|
|
265
|
-
return k.__n[e.__c].props.value;
|
|
266
|
-
}, useCallback: W, useContext: T, useDebugValue: F, useDeferredValue: j, useEffect: S, useId: V, useImperativeHandle: M, useInsertionEffect: Z, useLayoutEffect: y, useMemo: L, useReducer: I, useRef: D, useState: N, useSyncExternalStore: B, useTransition: q } } };
|
|
267
|
-
function Ne(e) {
|
|
268
|
-
return f.bind(null, e);
|
|
269
|
-
}
|
|
270
|
-
function b(e) {
|
|
271
|
-
return !!e && e.$$typeof === K;
|
|
272
|
-
}
|
|
273
|
-
function Se(e) {
|
|
274
|
-
return b(e) && e.type === v;
|
|
275
|
-
}
|
|
276
|
-
function ke(e) {
|
|
277
|
-
return !!e && !!e.displayName && (typeof e.displayName == "string" || e.displayName instanceof String) && e.displayName.startsWith("Memo(");
|
|
278
|
-
}
|
|
279
|
-
function xe(e) {
|
|
280
|
-
return b(e) ? ee.apply(null, arguments) : e;
|
|
281
|
-
}
|
|
282
|
-
function Re(e) {
|
|
283
|
-
return !!e.__k && (m(null, e), !0);
|
|
284
|
-
}
|
|
285
|
-
function Oe(e) {
|
|
286
|
-
return e && (e.base || e.nodeType === 1 && e) || null;
|
|
287
|
-
}
|
|
288
|
-
var Pe = function(e, t) {
|
|
289
|
-
return e(t);
|
|
290
|
-
}, we = function(e, t) {
|
|
291
|
-
return e(t);
|
|
292
|
-
}, Ue = v, $e = b, De = { useState: N, useId: V, useReducer: I, useEffect: S, useLayoutEffect: y, useInsertionEffect: Z, useTransition: q, useDeferredValue: j, useSyncExternalStore: B, startTransition: z, useRef: D, useImperativeHandle: M, useMemo: L, useCallback: W, useContext: T, useDebugValue: F, version: "18.3.1", Children: ue, render: he, hydrate: me, unmountComponentAtNode: Re, createPortal: ce, createElement: f, createContext: X, createFactory: Ne, cloneElement: xe, createRef: Q, Fragment: v, isValidElement: b, isElement: $e, isFragment: Se, isMemo: ke, findDOMNode: Oe, Component: p, PureComponent: E, memo: ne, forwardRef: oe, flushSync: we, unstable_batchedUpdates: Pe, StrictMode: Ue, Suspense: h, SuspenseList: d, lazy: le, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Ee };
|
|
293
|
-
export {
|
|
294
|
-
B as C,
|
|
295
|
-
oe as D,
|
|
296
|
-
De as R,
|
|
297
|
-
xe as _
|
|
298
|
-
};
|
|
@@ -1,177 +0,0 @@
|
|
|
1
|
-
import { options as V } from "preact";
|
|
2
|
-
var a, r, H, g, v = 0, x = [], o = V, A = o.__b, F = o.__r, b = o.diffed, q = o.__c, k = o.unmount, T = o.__;
|
|
3
|
-
function m(_, t) {
|
|
4
|
-
o.__h && o.__h(r, _, v || t), v = 0;
|
|
5
|
-
var u = r.__H || (r.__H = { __: [], __h: [] });
|
|
6
|
-
return _ >= u.__.length && u.__.push({}), u.__[_];
|
|
7
|
-
}
|
|
8
|
-
function S(_) {
|
|
9
|
-
return v = 1, W(D, _);
|
|
10
|
-
}
|
|
11
|
-
function W(_, t, u) {
|
|
12
|
-
var n = m(a++, 2);
|
|
13
|
-
if (n.t = _, !n.__c && (n.__ = [u ? u(t) : D(void 0, t), function(e) {
|
|
14
|
-
var c = n.__N ? n.__N[0] : n.__[0], f = n.t(c, e);
|
|
15
|
-
c !== f && (n.__N = [f, n.__[1]], n.__c.setState({}));
|
|
16
|
-
}], n.__c = r, !r.__f)) {
|
|
17
|
-
var h = function(e, c, f) {
|
|
18
|
-
if (!n.__c.__H) return !0;
|
|
19
|
-
var s = n.__c.__H.__.filter(function(i) {
|
|
20
|
-
return !!i.__c;
|
|
21
|
-
});
|
|
22
|
-
if (s.every(function(i) {
|
|
23
|
-
return !i.__N;
|
|
24
|
-
})) return !l || l.call(this, e, c, f);
|
|
25
|
-
var E = n.__c.props !== e;
|
|
26
|
-
return s.forEach(function(i) {
|
|
27
|
-
if (i.__N) {
|
|
28
|
-
var P = i.__[0];
|
|
29
|
-
i.__ = i.__N, i.__N = void 0, P !== i.__[0] && (E = !0);
|
|
30
|
-
}
|
|
31
|
-
}), l && l.call(this, e, c, f) || E;
|
|
32
|
-
};
|
|
33
|
-
r.__f = !0;
|
|
34
|
-
var l = r.shouldComponentUpdate, y = r.componentWillUpdate;
|
|
35
|
-
r.componentWillUpdate = function(e, c, f) {
|
|
36
|
-
if (this.__e) {
|
|
37
|
-
var s = l;
|
|
38
|
-
l = void 0, h(e, c, f), l = s;
|
|
39
|
-
}
|
|
40
|
-
y && y.call(this, e, c, f);
|
|
41
|
-
}, r.shouldComponentUpdate = h;
|
|
42
|
-
}
|
|
43
|
-
return n.__N || n.__;
|
|
44
|
-
}
|
|
45
|
-
function G(_, t) {
|
|
46
|
-
var u = m(a++, 3);
|
|
47
|
-
!o.__s && N(u.__H, t) && (u.__ = _, u.u = t, r.__H.__h.push(u));
|
|
48
|
-
}
|
|
49
|
-
function j(_, t) {
|
|
50
|
-
var u = m(a++, 4);
|
|
51
|
-
!o.__s && N(u.__H, t) && (u.__ = _, u.u = t, r.__h.push(u));
|
|
52
|
-
}
|
|
53
|
-
function I(_) {
|
|
54
|
-
return v = 5, C(function() {
|
|
55
|
-
return { current: _ };
|
|
56
|
-
}, []);
|
|
57
|
-
}
|
|
58
|
-
function J(_, t, u) {
|
|
59
|
-
v = 6, j(function() {
|
|
60
|
-
if (typeof _ == "function") {
|
|
61
|
-
var n = _(t());
|
|
62
|
-
return function() {
|
|
63
|
-
_(null), n && typeof n == "function" && n();
|
|
64
|
-
};
|
|
65
|
-
}
|
|
66
|
-
if (_) return _.current = t(), function() {
|
|
67
|
-
return _.current = null;
|
|
68
|
-
};
|
|
69
|
-
}, u == null ? u : u.concat(_));
|
|
70
|
-
}
|
|
71
|
-
function C(_, t) {
|
|
72
|
-
var u = m(a++, 7);
|
|
73
|
-
return N(u.__H, t) && (u.__ = _(), u.__H = t, u.__h = _), u.__;
|
|
74
|
-
}
|
|
75
|
-
function K(_, t) {
|
|
76
|
-
return v = 8, C(function() {
|
|
77
|
-
return _;
|
|
78
|
-
}, t);
|
|
79
|
-
}
|
|
80
|
-
function L(_) {
|
|
81
|
-
var t = r.context[_.__c], u = m(a++, 9);
|
|
82
|
-
return u.c = _, t ? (u.__ == null && (u.__ = !0, t.sub(r)), t.props.value) : _.__;
|
|
83
|
-
}
|
|
84
|
-
function M(_, t) {
|
|
85
|
-
o.useDebugValue && o.useDebugValue(t ? t(_) : _);
|
|
86
|
-
}
|
|
87
|
-
function O() {
|
|
88
|
-
var _ = m(a++, 11);
|
|
89
|
-
if (!_.__) {
|
|
90
|
-
for (var t = r.__v; t !== null && !t.__m && t.__ !== null; ) t = t.__;
|
|
91
|
-
var u = t.__m || (t.__m = [0, 0]);
|
|
92
|
-
_.__ = "P" + u[0] + "-" + u[1]++;
|
|
93
|
-
}
|
|
94
|
-
return _.__;
|
|
95
|
-
}
|
|
96
|
-
function w() {
|
|
97
|
-
for (var _; _ = x.shift(); ) if (_.__P && _.__H) try {
|
|
98
|
-
_.__H.__h.forEach(p), _.__H.__h.forEach(d), _.__H.__h = [];
|
|
99
|
-
} catch (t) {
|
|
100
|
-
_.__H.__h = [], o.__e(t, _.__v);
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
o.__b = function(_) {
|
|
104
|
-
r = null, A && A(_);
|
|
105
|
-
}, o.__ = function(_, t) {
|
|
106
|
-
_ && t.__k && t.__k.__m && (_.__m = t.__k.__m), T && T(_, t);
|
|
107
|
-
}, o.__r = function(_) {
|
|
108
|
-
F && F(_), a = 0;
|
|
109
|
-
var t = (r = _.__c).__H;
|
|
110
|
-
t && (H === r ? (t.__h = [], r.__h = [], t.__.forEach(function(u) {
|
|
111
|
-
u.__N && (u.__ = u.__N), u.u = u.__N = void 0;
|
|
112
|
-
})) : (t.__h.forEach(p), t.__h.forEach(d), t.__h = [], a = 0)), H = r;
|
|
113
|
-
}, o.diffed = function(_) {
|
|
114
|
-
b && b(_);
|
|
115
|
-
var t = _.__c;
|
|
116
|
-
t && t.__H && (t.__H.__h.length && (x.push(t) !== 1 && g === o.requestAnimationFrame || ((g = o.requestAnimationFrame) || z)(w)), t.__H.__.forEach(function(u) {
|
|
117
|
-
u.u && (u.__H = u.u), u.u = void 0;
|
|
118
|
-
})), H = r = null;
|
|
119
|
-
}, o.__c = function(_, t) {
|
|
120
|
-
t.some(function(u) {
|
|
121
|
-
try {
|
|
122
|
-
u.__h.forEach(p), u.__h = u.__h.filter(function(n) {
|
|
123
|
-
return !n.__ || d(n);
|
|
124
|
-
});
|
|
125
|
-
} catch (n) {
|
|
126
|
-
t.some(function(h) {
|
|
127
|
-
h.__h && (h.__h = []);
|
|
128
|
-
}), t = [], o.__e(n, u.__v);
|
|
129
|
-
}
|
|
130
|
-
}), q && q(_, t);
|
|
131
|
-
}, o.unmount = function(_) {
|
|
132
|
-
k && k(_);
|
|
133
|
-
var t, u = _.__c;
|
|
134
|
-
u && u.__H && (u.__H.__.forEach(function(n) {
|
|
135
|
-
try {
|
|
136
|
-
p(n);
|
|
137
|
-
} catch (h) {
|
|
138
|
-
t = h;
|
|
139
|
-
}
|
|
140
|
-
}), u.__H = void 0, t && o.__e(t, u.__v));
|
|
141
|
-
};
|
|
142
|
-
var U = typeof requestAnimationFrame == "function";
|
|
143
|
-
function z(_) {
|
|
144
|
-
var t, u = function() {
|
|
145
|
-
clearTimeout(n), U && cancelAnimationFrame(t), setTimeout(_);
|
|
146
|
-
}, n = setTimeout(u, 35);
|
|
147
|
-
U && (t = requestAnimationFrame(u));
|
|
148
|
-
}
|
|
149
|
-
function p(_) {
|
|
150
|
-
var t = r, u = _.__c;
|
|
151
|
-
typeof u == "function" && (_.__c = void 0, u()), r = t;
|
|
152
|
-
}
|
|
153
|
-
function d(_) {
|
|
154
|
-
var t = r;
|
|
155
|
-
_.__c = _.__(), r = t;
|
|
156
|
-
}
|
|
157
|
-
function N(_, t) {
|
|
158
|
-
return !_ || _.length !== t.length || t.some(function(u, n) {
|
|
159
|
-
return u !== _[n];
|
|
160
|
-
});
|
|
161
|
-
}
|
|
162
|
-
function D(_, t) {
|
|
163
|
-
return typeof t == "function" ? t(_) : t;
|
|
164
|
-
}
|
|
165
|
-
export {
|
|
166
|
-
I as A,
|
|
167
|
-
J as F,
|
|
168
|
-
M as P,
|
|
169
|
-
C as T,
|
|
170
|
-
j as _,
|
|
171
|
-
S as d,
|
|
172
|
-
O as g,
|
|
173
|
-
W as h,
|
|
174
|
-
K as q,
|
|
175
|
-
L as x,
|
|
176
|
-
G as y
|
|
177
|
-
};
|