border-beam 1.3.0 → 1.4.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/index.cjs.js +160 -159
- package/dist/index.d.ts +21 -1
- package/dist/index.es.js +852 -471
- package/package.json +7 -4
package/dist/index.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
const
|
|
1
|
+
import { jsxs as ve, Fragment as Ie, jsx as We } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as Le, useId as Be, useRef as Pe, useState as E, useEffect as A, useCallback as He, useMemo as Xe } from "react";
|
|
3
|
+
const Ee = {
|
|
4
4
|
sm: {
|
|
5
5
|
borderRadius: 32,
|
|
6
6
|
borderWidth: 1,
|
|
@@ -23,7 +23,7 @@ const Le = {
|
|
|
23
23
|
borderRadius: 16,
|
|
24
24
|
borderWidth: 1
|
|
25
25
|
}
|
|
26
|
-
},
|
|
26
|
+
}, pe = {
|
|
27
27
|
sm: {
|
|
28
28
|
dark: {
|
|
29
29
|
strokeOpacity: 0.46,
|
|
@@ -116,10 +116,10 @@ const Le = {
|
|
|
116
116
|
brightness: 1.3
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
|
-
},
|
|
120
|
-
dark: { ...
|
|
121
|
-
light: { ...
|
|
122
|
-
},
|
|
119
|
+
}, vo = {
|
|
120
|
+
dark: { ...pe.md.dark },
|
|
121
|
+
light: { ...pe.md.light }
|
|
122
|
+
}, G = {
|
|
123
123
|
colorful: {
|
|
124
124
|
border: [
|
|
125
125
|
{ color: "rgb(255, 50, 100)", pos: "33% -7.4%", size: "70px 40px" },
|
|
@@ -179,8 +179,68 @@ const Le = {
|
|
|
179
179
|
],
|
|
180
180
|
spike: { primary: "rgb(255, 140, 80)", secondary: "rgba(255, 100, 60, 0.98)" },
|
|
181
181
|
spikeLt: { primary: "rgb(200, 80, 40)", secondary: "rgb(220, 120, 30)" }
|
|
182
|
+
},
|
|
183
|
+
forest: {
|
|
184
|
+
border: [
|
|
185
|
+
{ color: "rgb(46, 160, 90)", pos: "33% -7.4%", size: "70px 40px" },
|
|
186
|
+
{ color: "rgb(30, 190, 120)", pos: "12% -5%", size: "60px 35px" },
|
|
187
|
+
{ color: "rgb(70, 180, 70)", pos: "2.1% 68.3%", size: "40px 70px" },
|
|
188
|
+
{ color: "rgb(20, 150, 130)", pos: "2.1% 68.3%", size: "20px 35px" },
|
|
189
|
+
{ color: "rgb(90, 200, 80)", pos: "74.4% 100%", size: "180px 32px" },
|
|
190
|
+
{ color: "rgb(40, 170, 110)", pos: "55% 100%", size: "85px 26px" },
|
|
191
|
+
{ color: "rgb(120, 210, 70)", pos: "93.9% 0%", size: "74px 32px" },
|
|
192
|
+
{ color: "rgb(35, 145, 100)", pos: "100% 27.1%", size: "26px 42px" },
|
|
193
|
+
{ color: "rgb(60, 195, 140)", pos: "100% 27.1%", size: "52px 48px" }
|
|
194
|
+
],
|
|
195
|
+
spike: { primary: "rgb(46, 160, 90)", secondary: "rgba(30, 190, 120,, 0.98)" },
|
|
196
|
+
spikeLt: { primary: "rgb(33, 115, 65)", secondary: "rgb(22, 137, 86)" }
|
|
197
|
+
},
|
|
198
|
+
candy: {
|
|
199
|
+
border: [
|
|
200
|
+
{ color: "rgb(240, 70, 170)", pos: "33% -7.4%", size: "70px 40px" },
|
|
201
|
+
{ color: "rgb(255, 90, 140)", pos: "12% -5%", size: "60px 35px" },
|
|
202
|
+
{ color: "rgb(215, 60, 200)", pos: "2.1% 68.3%", size: "40px 70px" },
|
|
203
|
+
{ color: "rgb(255, 110, 180)", pos: "2.1% 68.3%", size: "20px 35px" },
|
|
204
|
+
{ color: "rgb(200, 80, 240)", pos: "74.4% 100%", size: "180px 32px" },
|
|
205
|
+
{ color: "rgb(250, 60, 150)", pos: "55% 100%", size: "85px 26px" },
|
|
206
|
+
{ color: "rgb(230, 120, 220)", pos: "93.9% 0%", size: "74px 32px" },
|
|
207
|
+
{ color: "rgb(245, 85, 165)", pos: "100% 27.1%", size: "26px 42px" },
|
|
208
|
+
{ color: "rgb(210, 70, 230)", pos: "100% 27.1%", size: "52px 48px" }
|
|
209
|
+
],
|
|
210
|
+
spike: { primary: "rgb(240, 70, 170)", secondary: "rgba(255, 90, 140,, 0.98)" },
|
|
211
|
+
spikeLt: { primary: "rgb(173, 50, 122)", secondary: "rgb(184, 65, 101)" }
|
|
212
|
+
},
|
|
213
|
+
ice: {
|
|
214
|
+
border: [
|
|
215
|
+
{ color: "rgb(90, 200, 240)", pos: "33% -7.4%", size: "70px 40px" },
|
|
216
|
+
{ color: "rgb(60, 175, 230)", pos: "12% -5%", size: "60px 35px" },
|
|
217
|
+
{ color: "rgb(130, 220, 250)", pos: "2.1% 68.3%", size: "40px 70px" },
|
|
218
|
+
{ color: "rgb(70, 190, 215)", pos: "2.1% 68.3%", size: "20px 35px" },
|
|
219
|
+
{ color: "rgb(110, 210, 255)", pos: "74.4% 100%", size: "180px 32px" },
|
|
220
|
+
{ color: "rgb(50, 165, 220)", pos: "55% 100%", size: "85px 26px" },
|
|
221
|
+
{ color: "rgb(150, 230, 250)", pos: "93.9% 0%", size: "74px 32px" },
|
|
222
|
+
{ color: "rgb(85, 195, 235)", pos: "100% 27.1%", size: "26px 42px" },
|
|
223
|
+
{ color: "rgb(65, 180, 245)", pos: "100% 27.1%", size: "52px 48px" }
|
|
224
|
+
],
|
|
225
|
+
spike: { primary: "rgb(90, 200, 240)", secondary: "rgba(60, 175, 230,, 0.98)" },
|
|
226
|
+
spikeLt: { primary: "rgb(65, 144, 173)", secondary: "rgb(43, 126, 166)" }
|
|
227
|
+
},
|
|
228
|
+
gold: {
|
|
229
|
+
border: [
|
|
230
|
+
{ color: "rgb(240, 190, 60)", pos: "33% -7.4%", size: "70px 40px" },
|
|
231
|
+
{ color: "rgb(255, 210, 90)", pos: "12% -5%", size: "60px 35px" },
|
|
232
|
+
{ color: "rgb(225, 165, 40)", pos: "2.1% 68.3%", size: "40px 70px" },
|
|
233
|
+
{ color: "rgb(250, 200, 70)", pos: "2.1% 68.3%", size: "20px 35px" },
|
|
234
|
+
{ color: "rgb(255, 225, 120)", pos: "74.4% 100%", size: "180px 32px" },
|
|
235
|
+
{ color: "rgb(230, 175, 50)", pos: "55% 100%", size: "85px 26px" },
|
|
236
|
+
{ color: "rgb(245, 205, 85)", pos: "93.9% 0%", size: "74px 32px" },
|
|
237
|
+
{ color: "rgb(215, 155, 35)", pos: "100% 27.1%", size: "26px 42px" },
|
|
238
|
+
{ color: "rgb(255, 215, 100)", pos: "100% 27.1%", size: "52px 48px" }
|
|
239
|
+
],
|
|
240
|
+
spike: { primary: "rgb(240, 190, 60)", secondary: "rgba(255, 210, 90,, 0.98)" },
|
|
241
|
+
spikeLt: { primary: "rgb(173, 137, 43)", secondary: "rgb(184, 151, 65)" }
|
|
182
242
|
}
|
|
183
|
-
},
|
|
243
|
+
}, Se = {
|
|
184
244
|
colorful: {
|
|
185
245
|
border: [
|
|
186
246
|
{ color: "rgb(50, 200, 80)", pos: "2% 68%", size: "9px 18px" },
|
|
@@ -268,36 +328,124 @@ const Le = {
|
|
|
268
328
|
{ color: "rgba(255, 200, 50, 0.3)", pos: "100% 27%", size: "5px 10px" },
|
|
269
329
|
{ color: "rgba(255, 90, 70, 0.3)", pos: "100% 27%", size: "11px 12px" }
|
|
270
330
|
]
|
|
331
|
+
},
|
|
332
|
+
forest: {
|
|
333
|
+
border: [
|
|
334
|
+
{ color: "rgb(46, 160, 90)", pos: "2% 68%", size: "9px 18px" },
|
|
335
|
+
{ color: "rgb(30, 190, 120)", pos: "2% 68%", size: "4px 8px" },
|
|
336
|
+
{ color: "rgb(70, 180, 70)", pos: "72% -3%", size: "59px 9px" },
|
|
337
|
+
{ color: "rgb(20, 150, 130)", pos: "74% 100%", size: "42px 7px" },
|
|
338
|
+
{ color: "rgb(90, 200, 80)", pos: "100% 27%", size: "10px 17px" },
|
|
339
|
+
{ color: "rgb(40, 170, 110)", pos: "100% 27%", size: "10px 18px" },
|
|
340
|
+
{ color: "rgb(120, 210, 70)", pos: "100% 27%", size: "5px 10px" },
|
|
341
|
+
{ color: "rgb(35, 145, 100)", pos: "100% 27%", size: "11px 12px" }
|
|
342
|
+
],
|
|
343
|
+
inner: [
|
|
344
|
+
{ color: "rgba(60, 195, 140,, 0.5)", pos: "2% 68%", size: "9px 18px" },
|
|
345
|
+
{ color: "rgba(46, 160, 90,, 0.45)", pos: "2% 68%", size: "4px 8px" },
|
|
346
|
+
{ color: "rgba(30, 190, 120,, 0.35)", pos: "72% -3%", size: "59px 9px" },
|
|
347
|
+
{ color: "rgba(70, 180, 70,, 0.35)", pos: "74% 100%", size: "42px 7px" },
|
|
348
|
+
{ color: "rgba(20, 150, 130,, 0.3)", pos: "100% 27%", size: "10px 17px" },
|
|
349
|
+
{ color: "rgba(90, 200, 80,, 0.4)", pos: "100% 27%", size: "10px 18px" },
|
|
350
|
+
{ color: "rgba(40, 170, 110,, 0.3)", pos: "100% 27%", size: "5px 10px" },
|
|
351
|
+
{ color: "rgba(120, 210, 70,, 0.3)", pos: "100% 27%", size: "11px 12px" }
|
|
352
|
+
]
|
|
353
|
+
},
|
|
354
|
+
candy: {
|
|
355
|
+
border: [
|
|
356
|
+
{ color: "rgb(240, 70, 170)", pos: "2% 68%", size: "9px 18px" },
|
|
357
|
+
{ color: "rgb(255, 90, 140)", pos: "2% 68%", size: "4px 8px" },
|
|
358
|
+
{ color: "rgb(215, 60, 200)", pos: "72% -3%", size: "59px 9px" },
|
|
359
|
+
{ color: "rgb(255, 110, 180)", pos: "74% 100%", size: "42px 7px" },
|
|
360
|
+
{ color: "rgb(200, 80, 240)", pos: "100% 27%", size: "10px 17px" },
|
|
361
|
+
{ color: "rgb(250, 60, 150)", pos: "100% 27%", size: "10px 18px" },
|
|
362
|
+
{ color: "rgb(230, 120, 220)", pos: "100% 27%", size: "5px 10px" },
|
|
363
|
+
{ color: "rgb(245, 85, 165)", pos: "100% 27%", size: "11px 12px" }
|
|
364
|
+
],
|
|
365
|
+
inner: [
|
|
366
|
+
{ color: "rgba(210, 70, 230,, 0.5)", pos: "2% 68%", size: "9px 18px" },
|
|
367
|
+
{ color: "rgba(240, 70, 170,, 0.45)", pos: "2% 68%", size: "4px 8px" },
|
|
368
|
+
{ color: "rgba(255, 90, 140,, 0.35)", pos: "72% -3%", size: "59px 9px" },
|
|
369
|
+
{ color: "rgba(215, 60, 200,, 0.35)", pos: "74% 100%", size: "42px 7px" },
|
|
370
|
+
{ color: "rgba(255, 110, 180,, 0.3)", pos: "100% 27%", size: "10px 17px" },
|
|
371
|
+
{ color: "rgba(200, 80, 240,, 0.4)", pos: "100% 27%", size: "10px 18px" },
|
|
372
|
+
{ color: "rgba(250, 60, 150,, 0.3)", pos: "100% 27%", size: "5px 10px" },
|
|
373
|
+
{ color: "rgba(230, 120, 220,, 0.3)", pos: "100% 27%", size: "11px 12px" }
|
|
374
|
+
]
|
|
375
|
+
},
|
|
376
|
+
ice: {
|
|
377
|
+
border: [
|
|
378
|
+
{ color: "rgb(90, 200, 240)", pos: "2% 68%", size: "9px 18px" },
|
|
379
|
+
{ color: "rgb(60, 175, 230)", pos: "2% 68%", size: "4px 8px" },
|
|
380
|
+
{ color: "rgb(130, 220, 250)", pos: "72% -3%", size: "59px 9px" },
|
|
381
|
+
{ color: "rgb(70, 190, 215)", pos: "74% 100%", size: "42px 7px" },
|
|
382
|
+
{ color: "rgb(110, 210, 255)", pos: "100% 27%", size: "10px 17px" },
|
|
383
|
+
{ color: "rgb(50, 165, 220)", pos: "100% 27%", size: "10px 18px" },
|
|
384
|
+
{ color: "rgb(150, 230, 250)", pos: "100% 27%", size: "5px 10px" },
|
|
385
|
+
{ color: "rgb(85, 195, 235)", pos: "100% 27%", size: "11px 12px" }
|
|
386
|
+
],
|
|
387
|
+
inner: [
|
|
388
|
+
{ color: "rgba(65, 180, 245,, 0.5)", pos: "2% 68%", size: "9px 18px" },
|
|
389
|
+
{ color: "rgba(90, 200, 240,, 0.45)", pos: "2% 68%", size: "4px 8px" },
|
|
390
|
+
{ color: "rgba(60, 175, 230,, 0.35)", pos: "72% -3%", size: "59px 9px" },
|
|
391
|
+
{ color: "rgba(130, 220, 250,, 0.35)", pos: "74% 100%", size: "42px 7px" },
|
|
392
|
+
{ color: "rgba(70, 190, 215,, 0.3)", pos: "100% 27%", size: "10px 17px" },
|
|
393
|
+
{ color: "rgba(110, 210, 255,, 0.4)", pos: "100% 27%", size: "10px 18px" },
|
|
394
|
+
{ color: "rgba(50, 165, 220,, 0.3)", pos: "100% 27%", size: "5px 10px" },
|
|
395
|
+
{ color: "rgba(150, 230, 250,, 0.3)", pos: "100% 27%", size: "11px 12px" }
|
|
396
|
+
]
|
|
397
|
+
},
|
|
398
|
+
gold: {
|
|
399
|
+
border: [
|
|
400
|
+
{ color: "rgb(240, 190, 60)", pos: "2% 68%", size: "9px 18px" },
|
|
401
|
+
{ color: "rgb(255, 210, 90)", pos: "2% 68%", size: "4px 8px" },
|
|
402
|
+
{ color: "rgb(225, 165, 40)", pos: "72% -3%", size: "59px 9px" },
|
|
403
|
+
{ color: "rgb(250, 200, 70)", pos: "74% 100%", size: "42px 7px" },
|
|
404
|
+
{ color: "rgb(255, 225, 120)", pos: "100% 27%", size: "10px 17px" },
|
|
405
|
+
{ color: "rgb(230, 175, 50)", pos: "100% 27%", size: "10px 18px" },
|
|
406
|
+
{ color: "rgb(245, 205, 85)", pos: "100% 27%", size: "5px 10px" },
|
|
407
|
+
{ color: "rgb(215, 155, 35)", pos: "100% 27%", size: "11px 12px" }
|
|
408
|
+
],
|
|
409
|
+
inner: [
|
|
410
|
+
{ color: "rgba(255, 215, 100,, 0.5)", pos: "2% 68%", size: "9px 18px" },
|
|
411
|
+
{ color: "rgba(240, 190, 60,, 0.45)", pos: "2% 68%", size: "4px 8px" },
|
|
412
|
+
{ color: "rgba(255, 210, 90,, 0.35)", pos: "72% -3%", size: "59px 9px" },
|
|
413
|
+
{ color: "rgba(225, 165, 40,, 0.35)", pos: "74% 100%", size: "42px 7px" },
|
|
414
|
+
{ color: "rgba(250, 200, 70,, 0.3)", pos: "100% 27%", size: "10px 17px" },
|
|
415
|
+
{ color: "rgba(255, 225, 120,, 0.4)", pos: "100% 27%", size: "10px 18px" },
|
|
416
|
+
{ color: "rgba(230, 175, 50,, 0.3)", pos: "100% 27%", size: "5px 10px" },
|
|
417
|
+
{ color: "rgba(245, 205, 85,, 0.3)", pos: "100% 27%", size: "11px 12px" }
|
|
418
|
+
]
|
|
271
419
|
}
|
|
272
420
|
};
|
|
273
|
-
function
|
|
274
|
-
return
|
|
421
|
+
function Ae(a) {
|
|
422
|
+
return Se[a].border.map((o) => `radial-gradient(ellipse ${o.size} at ${o.pos}, ${o.color}, transparent)`).join(`,
|
|
275
423
|
`);
|
|
276
424
|
}
|
|
277
|
-
function
|
|
278
|
-
return
|
|
425
|
+
function _e(a) {
|
|
426
|
+
return Se[a].inner.map((o) => `radial-gradient(ellipse ${o.size} at ${o.pos}, ${o.color}, transparent)`).join(`,
|
|
279
427
|
`);
|
|
280
428
|
}
|
|
281
|
-
function
|
|
282
|
-
return
|
|
429
|
+
function je(a) {
|
|
430
|
+
return G[a].border.map((o) => `radial-gradient(ellipse ${o.size} at ${o.pos}, ${o.color}, transparent)`).join(`,
|
|
283
431
|
`);
|
|
284
432
|
}
|
|
285
|
-
function
|
|
286
|
-
const e =
|
|
433
|
+
function Te(a) {
|
|
434
|
+
const e = G[a], o = a === "mono" ? 0.225 : 0.45;
|
|
287
435
|
return e.border.map((r) => {
|
|
288
|
-
const
|
|
436
|
+
const t = r.color.replace("rgb(", "rgba(").replace(")", `, ${o})`);
|
|
289
437
|
return `radial-gradient(ellipse ${r.size.split(" ").map((i) => {
|
|
290
438
|
const c = parseInt(i);
|
|
291
439
|
return `${Math.round(c * 0.9)}px`;
|
|
292
|
-
}).join(" ")} at ${r.pos}, ${
|
|
440
|
+
}).join(" ")} at ${r.pos}, ${t}, transparent)`;
|
|
293
441
|
}).join(`,
|
|
294
442
|
`);
|
|
295
443
|
}
|
|
296
|
-
function
|
|
297
|
-
const
|
|
298
|
-
return e ?
|
|
444
|
+
function Ne(a, e) {
|
|
445
|
+
const o = G[a];
|
|
446
|
+
return e ? o.spike : o.spikeLt;
|
|
299
447
|
}
|
|
300
|
-
const
|
|
448
|
+
const Ve = {
|
|
301
449
|
colorful: {
|
|
302
450
|
dark: [
|
|
303
451
|
{ color: "rgb(255, 50, 100)", sizeW: 36, sizeH: 36, offsetX: 0, offsetY: 2 },
|
|
@@ -393,16 +541,112 @@ const je = {
|
|
|
393
541
|
{ color: "rgb(190, 70, 50)", sizeW: 35, sizeH: 28, offsetX: 110, offsetY: 1 },
|
|
394
542
|
{ color: "rgb(180, 50, 50)", sizeW: 30, sizeH: 30, offsetX: -110, offsetY: -1 }
|
|
395
543
|
]
|
|
544
|
+
},
|
|
545
|
+
forest: {
|
|
546
|
+
dark: [
|
|
547
|
+
{ color: "rgb(46, 160, 90)", sizeW: 36, sizeH: 36, offsetX: 0, offsetY: 2 },
|
|
548
|
+
{ color: "rgb(30, 190, 120)", sizeW: 30, sizeH: 32, offsetX: 39, offsetY: 0 },
|
|
549
|
+
{ color: "rgb(70, 180, 70)", sizeW: 33, sizeH: 28, offsetX: -36, offsetY: 2 },
|
|
550
|
+
{ color: "rgb(20, 150, 130)", sizeW: 29, sizeH: 34, offsetX: -54, offsetY: 0 },
|
|
551
|
+
{ color: "rgb(90, 200, 80)", sizeW: 27, sizeH: 30, offsetX: 51, offsetY: -1 },
|
|
552
|
+
{ color: "rgb(40, 170, 110)", sizeW: 36, sizeH: 24, offsetX: 21, offsetY: 1 },
|
|
553
|
+
{ color: "rgb(120, 210, 70)", sizeW: 30, sizeH: 22, offsetX: -21, offsetY: 0 },
|
|
554
|
+
{ color: "rgb(35, 145, 100)", sizeW: 25, sizeH: 28, offsetX: 66, offsetY: 1 },
|
|
555
|
+
{ color: "rgb(60, 195, 140)", sizeW: 23, sizeH: 30, offsetX: -66, offsetY: -1 }
|
|
556
|
+
],
|
|
557
|
+
light: [
|
|
558
|
+
{ color: "rgb(33, 115, 65)", sizeW: 45, sizeH: 36, offsetX: 0, offsetY: 2 },
|
|
559
|
+
{ color: "rgb(22, 137, 86)", sizeW: 35, sizeH: 32, offsetX: 65, offsetY: 0 },
|
|
560
|
+
{ color: "rgb(50, 130, 50)", sizeW: 40, sizeH: 28, offsetX: -60, offsetY: 2 },
|
|
561
|
+
{ color: "rgb(14, 108, 94)", sizeW: 35, sizeH: 34, offsetX: -90, offsetY: 0 },
|
|
562
|
+
{ color: "rgb(65, 144, 58)", sizeW: 38, sizeH: 30, offsetX: 85, offsetY: -1 },
|
|
563
|
+
{ color: "rgb(29, 122, 79)", sizeW: 50, sizeH: 24, offsetX: 35, offsetY: 1 },
|
|
564
|
+
{ color: "rgb(86, 151, 50)", sizeW: 40, sizeH: 22, offsetX: -35, offsetY: 0 },
|
|
565
|
+
{ color: "rgb(25, 104, 72)", sizeW: 35, sizeH: 28, offsetX: 110, offsetY: 1 },
|
|
566
|
+
{ color: "rgb(43, 140, 101)", sizeW: 30, sizeH: 30, offsetX: -110, offsetY: -1 }
|
|
567
|
+
]
|
|
568
|
+
},
|
|
569
|
+
candy: {
|
|
570
|
+
dark: [
|
|
571
|
+
{ color: "rgb(240, 70, 170)", sizeW: 36, sizeH: 36, offsetX: 0, offsetY: 2 },
|
|
572
|
+
{ color: "rgb(255, 90, 140)", sizeW: 30, sizeH: 32, offsetX: 39, offsetY: 0 },
|
|
573
|
+
{ color: "rgb(215, 60, 200)", sizeW: 33, sizeH: 28, offsetX: -36, offsetY: 2 },
|
|
574
|
+
{ color: "rgb(255, 110, 180)", sizeW: 29, sizeH: 34, offsetX: -54, offsetY: 0 },
|
|
575
|
+
{ color: "rgb(200, 80, 240)", sizeW: 27, sizeH: 30, offsetX: 51, offsetY: -1 },
|
|
576
|
+
{ color: "rgb(250, 60, 150)", sizeW: 36, sizeH: 24, offsetX: 21, offsetY: 1 },
|
|
577
|
+
{ color: "rgb(230, 120, 220)", sizeW: 30, sizeH: 22, offsetX: -21, offsetY: 0 },
|
|
578
|
+
{ color: "rgb(245, 85, 165)", sizeW: 25, sizeH: 28, offsetX: 66, offsetY: 1 },
|
|
579
|
+
{ color: "rgb(210, 70, 230)", sizeW: 23, sizeH: 30, offsetX: -66, offsetY: -1 }
|
|
580
|
+
],
|
|
581
|
+
light: [
|
|
582
|
+
{ color: "rgb(173, 50, 122)", sizeW: 45, sizeH: 36, offsetX: 0, offsetY: 2 },
|
|
583
|
+
{ color: "rgb(184, 65, 101)", sizeW: 35, sizeH: 32, offsetX: 65, offsetY: 0 },
|
|
584
|
+
{ color: "rgb(155, 43, 144)", sizeW: 40, sizeH: 28, offsetX: -60, offsetY: 2 },
|
|
585
|
+
{ color: "rgb(184, 79, 130)", sizeW: 35, sizeH: 34, offsetX: -90, offsetY: 0 },
|
|
586
|
+
{ color: "rgb(144, 58, 173)", sizeW: 38, sizeH: 30, offsetX: 85, offsetY: -1 },
|
|
587
|
+
{ color: "rgb(180, 43, 108)", sizeW: 50, sizeH: 24, offsetX: 35, offsetY: 1 },
|
|
588
|
+
{ color: "rgb(166, 86, 158)", sizeW: 40, sizeH: 22, offsetX: -35, offsetY: 0 },
|
|
589
|
+
{ color: "rgb(176, 61, 119)", sizeW: 35, sizeH: 28, offsetX: 110, offsetY: 1 },
|
|
590
|
+
{ color: "rgb(151, 50, 166)", sizeW: 30, sizeH: 30, offsetX: -110, offsetY: -1 }
|
|
591
|
+
]
|
|
592
|
+
},
|
|
593
|
+
ice: {
|
|
594
|
+
dark: [
|
|
595
|
+
{ color: "rgb(90, 200, 240)", sizeW: 36, sizeH: 36, offsetX: 0, offsetY: 2 },
|
|
596
|
+
{ color: "rgb(60, 175, 230)", sizeW: 30, sizeH: 32, offsetX: 39, offsetY: 0 },
|
|
597
|
+
{ color: "rgb(130, 220, 250)", sizeW: 33, sizeH: 28, offsetX: -36, offsetY: 2 },
|
|
598
|
+
{ color: "rgb(70, 190, 215)", sizeW: 29, sizeH: 34, offsetX: -54, offsetY: 0 },
|
|
599
|
+
{ color: "rgb(110, 210, 255)", sizeW: 27, sizeH: 30, offsetX: 51, offsetY: -1 },
|
|
600
|
+
{ color: "rgb(50, 165, 220)", sizeW: 36, sizeH: 24, offsetX: 21, offsetY: 1 },
|
|
601
|
+
{ color: "rgb(150, 230, 250)", sizeW: 30, sizeH: 22, offsetX: -21, offsetY: 0 },
|
|
602
|
+
{ color: "rgb(85, 195, 235)", sizeW: 25, sizeH: 28, offsetX: 66, offsetY: 1 },
|
|
603
|
+
{ color: "rgb(65, 180, 245)", sizeW: 23, sizeH: 30, offsetX: -66, offsetY: -1 }
|
|
604
|
+
],
|
|
605
|
+
light: [
|
|
606
|
+
{ color: "rgb(65, 144, 173)", sizeW: 45, sizeH: 36, offsetX: 0, offsetY: 2 },
|
|
607
|
+
{ color: "rgb(43, 126, 166)", sizeW: 35, sizeH: 32, offsetX: 65, offsetY: 0 },
|
|
608
|
+
{ color: "rgb(94, 158, 180)", sizeW: 40, sizeH: 28, offsetX: -60, offsetY: 2 },
|
|
609
|
+
{ color: "rgb(50, 137, 155)", sizeW: 35, sizeH: 34, offsetX: -90, offsetY: 0 },
|
|
610
|
+
{ color: "rgb(79, 151, 184)", sizeW: 38, sizeH: 30, offsetX: 85, offsetY: -1 },
|
|
611
|
+
{ color: "rgb(36, 119, 158)", sizeW: 50, sizeH: 24, offsetX: 35, offsetY: 1 },
|
|
612
|
+
{ color: "rgb(108, 166, 180)", sizeW: 40, sizeH: 22, offsetX: -35, offsetY: 0 },
|
|
613
|
+
{ color: "rgb(61, 140, 169)", sizeW: 35, sizeH: 28, offsetX: 110, offsetY: 1 },
|
|
614
|
+
{ color: "rgb(47, 130, 176)", sizeW: 30, sizeH: 30, offsetX: -110, offsetY: -1 }
|
|
615
|
+
]
|
|
616
|
+
},
|
|
617
|
+
gold: {
|
|
618
|
+
dark: [
|
|
619
|
+
{ color: "rgb(240, 190, 60)", sizeW: 36, sizeH: 36, offsetX: 0, offsetY: 2 },
|
|
620
|
+
{ color: "rgb(255, 210, 90)", sizeW: 30, sizeH: 32, offsetX: 39, offsetY: 0 },
|
|
621
|
+
{ color: "rgb(225, 165, 40)", sizeW: 33, sizeH: 28, offsetX: -36, offsetY: 2 },
|
|
622
|
+
{ color: "rgb(250, 200, 70)", sizeW: 29, sizeH: 34, offsetX: -54, offsetY: 0 },
|
|
623
|
+
{ color: "rgb(255, 225, 120)", sizeW: 27, sizeH: 30, offsetX: 51, offsetY: -1 },
|
|
624
|
+
{ color: "rgb(230, 175, 50)", sizeW: 36, sizeH: 24, offsetX: 21, offsetY: 1 },
|
|
625
|
+
{ color: "rgb(245, 205, 85)", sizeW: 30, sizeH: 22, offsetX: -21, offsetY: 0 },
|
|
626
|
+
{ color: "rgb(215, 155, 35)", sizeW: 25, sizeH: 28, offsetX: 66, offsetY: 1 },
|
|
627
|
+
{ color: "rgb(255, 215, 100)", sizeW: 23, sizeH: 30, offsetX: -66, offsetY: -1 }
|
|
628
|
+
],
|
|
629
|
+
light: [
|
|
630
|
+
{ color: "rgb(173, 137, 43)", sizeW: 45, sizeH: 36, offsetX: 0, offsetY: 2 },
|
|
631
|
+
{ color: "rgb(184, 151, 65)", sizeW: 35, sizeH: 32, offsetX: 65, offsetY: 0 },
|
|
632
|
+
{ color: "rgb(162, 119, 29)", sizeW: 40, sizeH: 28, offsetX: -60, offsetY: 2 },
|
|
633
|
+
{ color: "rgb(180, 144, 50)", sizeW: 35, sizeH: 34, offsetX: -90, offsetY: 0 },
|
|
634
|
+
{ color: "rgb(184, 162, 86)", sizeW: 38, sizeH: 30, offsetX: 85, offsetY: -1 },
|
|
635
|
+
{ color: "rgb(166, 126, 36)", sizeW: 50, sizeH: 24, offsetX: 35, offsetY: 1 },
|
|
636
|
+
{ color: "rgb(176, 148, 61)", sizeW: 40, sizeH: 22, offsetX: -35, offsetY: 0 },
|
|
637
|
+
{ color: "rgb(155, 112, 25)", sizeW: 35, sizeH: 28, offsetX: 110, offsetY: 1 },
|
|
638
|
+
{ color: "rgb(184, 155, 72)", sizeW: 30, sizeH: 30, offsetX: -110, offsetY: -1 }
|
|
639
|
+
]
|
|
396
640
|
}
|
|
397
641
|
};
|
|
398
|
-
function
|
|
399
|
-
return
|
|
400
|
-
const s =
|
|
401
|
-
return `radial-gradient(ellipse calc(${
|
|
642
|
+
function De(a, e, o) {
|
|
643
|
+
return Ve[a][e ? "dark" : "light"].map((t) => {
|
|
644
|
+
const s = t.offsetX === 0 ? "" : t.offsetX > 0 ? ` + ${t.offsetX}px` : ` - ${Math.abs(t.offsetX)}px`, i = t.offsetY === 0 ? "" : t.offsetY > 0 ? ` + ${t.offsetY}px` : ` - ${Math.abs(t.offsetY)}px`;
|
|
645
|
+
return `radial-gradient(ellipse calc(${t.sizeW}px * var(--beam-w-${o})) calc(${t.sizeH}px * var(--beam-h-${o})) at calc(var(--beam-x-${o}) * 100%${s}) calc(100%${i}), ${t.color}, transparent)`;
|
|
402
646
|
}).join(`,
|
|
403
647
|
`);
|
|
404
648
|
}
|
|
405
|
-
const
|
|
649
|
+
const Ue = {
|
|
406
650
|
colorful: [
|
|
407
651
|
{ color: "rgba(255, 50, 100, 0.48)", sizeW: 33, sizeH: 30, offsetX: 0, offsetY: 0 },
|
|
408
652
|
{ color: "rgba(40, 180, 220, 0.42)", sizeW: 24, sizeH: 26, offsetX: 39, offsetY: -3 },
|
|
@@ -446,16 +690,60 @@ const Ne = {
|
|
|
446
690
|
{ color: "rgba(255, 160, 80, 0.40)", sizeW: 25, sizeH: 18, offsetX: -21, offsetY: -2 },
|
|
447
691
|
{ color: "rgba(255, 90, 60, 0.45)", sizeW: 21, sizeH: 24, offsetX: 66, offsetY: 0 },
|
|
448
692
|
{ color: "rgba(255, 70, 70, 0.52)", sizeW: 18, sizeH: 26, offsetX: -66, offsetY: -1 }
|
|
693
|
+
],
|
|
694
|
+
forest: [
|
|
695
|
+
{ color: "rgba(46, 160, 90,, 0.48)", sizeW: 33, sizeH: 30, offsetX: 0, offsetY: 0 },
|
|
696
|
+
{ color: "rgba(30, 190, 120,, 0.42)", sizeW: 24, sizeH: 26, offsetX: 39, offsetY: -3 },
|
|
697
|
+
{ color: "rgba(70, 180, 70,, 0.48)", sizeW: 27, sizeH: 24, offsetX: -36, offsetY: 0 },
|
|
698
|
+
{ color: "rgba(20, 150, 130,, 0.42)", sizeW: 23, sizeH: 28, offsetX: -54, offsetY: -2 },
|
|
699
|
+
{ color: "rgba(90, 200, 80,, 0.50)", sizeW: 24, sizeH: 24, offsetX: 51, offsetY: -1 },
|
|
700
|
+
{ color: "rgba(40, 170, 110,, 0.45)", sizeW: 30, sizeH: 20, offsetX: 21, offsetY: 0 },
|
|
701
|
+
{ color: "rgba(120, 210, 70,, 0.40)", sizeW: 25, sizeH: 18, offsetX: -21, offsetY: -2 },
|
|
702
|
+
{ color: "rgba(35, 145, 100,, 0.45)", sizeW: 21, sizeH: 24, offsetX: 66, offsetY: 0 },
|
|
703
|
+
{ color: "rgba(60, 195, 140,, 0.52)", sizeW: 18, sizeH: 26, offsetX: -66, offsetY: -1 }
|
|
704
|
+
],
|
|
705
|
+
candy: [
|
|
706
|
+
{ color: "rgba(240, 70, 170,, 0.48)", sizeW: 33, sizeH: 30, offsetX: 0, offsetY: 0 },
|
|
707
|
+
{ color: "rgba(255, 90, 140,, 0.42)", sizeW: 24, sizeH: 26, offsetX: 39, offsetY: -3 },
|
|
708
|
+
{ color: "rgba(215, 60, 200,, 0.48)", sizeW: 27, sizeH: 24, offsetX: -36, offsetY: 0 },
|
|
709
|
+
{ color: "rgba(255, 110, 180,, 0.42)", sizeW: 23, sizeH: 28, offsetX: -54, offsetY: -2 },
|
|
710
|
+
{ color: "rgba(200, 80, 240,, 0.50)", sizeW: 24, sizeH: 24, offsetX: 51, offsetY: -1 },
|
|
711
|
+
{ color: "rgba(250, 60, 150,, 0.45)", sizeW: 30, sizeH: 20, offsetX: 21, offsetY: 0 },
|
|
712
|
+
{ color: "rgba(230, 120, 220,, 0.40)", sizeW: 25, sizeH: 18, offsetX: -21, offsetY: -2 },
|
|
713
|
+
{ color: "rgba(245, 85, 165,, 0.45)", sizeW: 21, sizeH: 24, offsetX: 66, offsetY: 0 },
|
|
714
|
+
{ color: "rgba(210, 70, 230,, 0.52)", sizeW: 18, sizeH: 26, offsetX: -66, offsetY: -1 }
|
|
715
|
+
],
|
|
716
|
+
ice: [
|
|
717
|
+
{ color: "rgba(90, 200, 240,, 0.48)", sizeW: 33, sizeH: 30, offsetX: 0, offsetY: 0 },
|
|
718
|
+
{ color: "rgba(60, 175, 230,, 0.42)", sizeW: 24, sizeH: 26, offsetX: 39, offsetY: -3 },
|
|
719
|
+
{ color: "rgba(130, 220, 250,, 0.48)", sizeW: 27, sizeH: 24, offsetX: -36, offsetY: 0 },
|
|
720
|
+
{ color: "rgba(70, 190, 215,, 0.42)", sizeW: 23, sizeH: 28, offsetX: -54, offsetY: -2 },
|
|
721
|
+
{ color: "rgba(110, 210, 255,, 0.50)", sizeW: 24, sizeH: 24, offsetX: 51, offsetY: -1 },
|
|
722
|
+
{ color: "rgba(50, 165, 220,, 0.45)", sizeW: 30, sizeH: 20, offsetX: 21, offsetY: 0 },
|
|
723
|
+
{ color: "rgba(150, 230, 250,, 0.40)", sizeW: 25, sizeH: 18, offsetX: -21, offsetY: -2 },
|
|
724
|
+
{ color: "rgba(85, 195, 235,, 0.45)", sizeW: 21, sizeH: 24, offsetX: 66, offsetY: 0 },
|
|
725
|
+
{ color: "rgba(65, 180, 245,, 0.52)", sizeW: 18, sizeH: 26, offsetX: -66, offsetY: -1 }
|
|
726
|
+
],
|
|
727
|
+
gold: [
|
|
728
|
+
{ color: "rgba(240, 190, 60,, 0.48)", sizeW: 33, sizeH: 30, offsetX: 0, offsetY: 0 },
|
|
729
|
+
{ color: "rgba(255, 210, 90,, 0.42)", sizeW: 24, sizeH: 26, offsetX: 39, offsetY: -3 },
|
|
730
|
+
{ color: "rgba(225, 165, 40,, 0.48)", sizeW: 27, sizeH: 24, offsetX: -36, offsetY: 0 },
|
|
731
|
+
{ color: "rgba(250, 200, 70,, 0.42)", sizeW: 23, sizeH: 28, offsetX: -54, offsetY: -2 },
|
|
732
|
+
{ color: "rgba(255, 225, 120,, 0.50)", sizeW: 24, sizeH: 24, offsetX: 51, offsetY: -1 },
|
|
733
|
+
{ color: "rgba(230, 175, 50,, 0.45)", sizeW: 30, sizeH: 20, offsetX: 21, offsetY: 0 },
|
|
734
|
+
{ color: "rgba(245, 205, 85,, 0.40)", sizeW: 25, sizeH: 18, offsetX: -21, offsetY: -2 },
|
|
735
|
+
{ color: "rgba(215, 155, 35,, 0.45)", sizeW: 21, sizeH: 24, offsetX: 66, offsetY: 0 },
|
|
736
|
+
{ color: "rgba(255, 215, 100,, 0.52)", sizeW: 18, sizeH: 26, offsetX: -66, offsetY: -1 }
|
|
449
737
|
]
|
|
450
738
|
};
|
|
451
|
-
function
|
|
452
|
-
return
|
|
453
|
-
const
|
|
454
|
-
return `radial-gradient(ellipse calc(${r.sizeW}px * var(--beam-w-${e})) calc(${r.sizeH}px * var(--beam-h-${e})) at calc(var(--beam-x-${e}) * 100%${
|
|
739
|
+
function Ke(a, e) {
|
|
740
|
+
return Ue[a].map((r) => {
|
|
741
|
+
const t = r.offsetX === 0 ? "" : r.offsetX > 0 ? ` + ${r.offsetX}px` : ` - ${Math.abs(r.offsetX)}px`, s = r.offsetY === 0 ? "" : ` - ${Math.abs(r.offsetY)}px`;
|
|
742
|
+
return `radial-gradient(ellipse calc(${r.sizeW}px * var(--beam-w-${e})) calc(${r.sizeH}px * var(--beam-h-${e})) at calc(var(--beam-x-${e}) * 100%${t}) calc(100%${s}), ${r.color}, transparent)`;
|
|
455
743
|
}).join(`,
|
|
456
744
|
`);
|
|
457
745
|
}
|
|
458
|
-
const
|
|
746
|
+
const Qe = {
|
|
459
747
|
colorful: {
|
|
460
748
|
dark: {
|
|
461
749
|
spikes: [
|
|
@@ -545,47 +833,127 @@ const De = {
|
|
|
545
833
|
{ color1: "rgb(190, 70, 30)", color2: "rgba(190, 70, 30, 0.78)" }
|
|
546
834
|
]
|
|
547
835
|
}
|
|
836
|
+
},
|
|
837
|
+
forest: {
|
|
838
|
+
dark: {
|
|
839
|
+
spikes: [
|
|
840
|
+
{ color1: "rgb(46, 160, 90)", color2: "rgb(30, 190, 120)" },
|
|
841
|
+
{ color1: "rgba(70, 180, 70,, 0.59)", color2: "rgba(20, 150, 130,, 0.29)" },
|
|
842
|
+
{ color1: "rgb(90, 200, 80)", color2: "rgb(40, 170, 110)" },
|
|
843
|
+
{ color1: "rgba(120, 210, 70,, 0.91)", color2: "rgba(35, 145, 100,, 0.45)" },
|
|
844
|
+
{ color1: "rgb(60, 195, 140)", color2: "rgb(46, 160, 90)" }
|
|
845
|
+
]
|
|
846
|
+
},
|
|
847
|
+
light: {
|
|
848
|
+
spikes: [
|
|
849
|
+
{ color1: "rgb(33, 115, 65)", color2: "rgba(22, 137, 86,, 0.8)" },
|
|
850
|
+
{ color1: "rgba(50, 130, 50,, 0.7)", color2: "rgba(14, 108, 94,, 0.46)" },
|
|
851
|
+
{ color1: "rgb(65, 144, 58)", color2: "rgba(29, 122, 79,, 0.82)" },
|
|
852
|
+
{ color1: "rgb(86, 151, 50)", color2: "rgba(25, 104, 72,, 0.7)" },
|
|
853
|
+
{ color1: "rgb(43, 140, 101)", color2: "rgba(33, 115, 65,, 0.78)" }
|
|
854
|
+
]
|
|
855
|
+
}
|
|
856
|
+
},
|
|
857
|
+
candy: {
|
|
858
|
+
dark: {
|
|
859
|
+
spikes: [
|
|
860
|
+
{ color1: "rgb(240, 70, 170)", color2: "rgb(255, 90, 140)" },
|
|
861
|
+
{ color1: "rgba(215, 60, 200,, 0.59)", color2: "rgba(255, 110, 180,, 0.29)" },
|
|
862
|
+
{ color1: "rgb(200, 80, 240)", color2: "rgb(250, 60, 150)" },
|
|
863
|
+
{ color1: "rgba(230, 120, 220,, 0.91)", color2: "rgba(245, 85, 165,, 0.45)" },
|
|
864
|
+
{ color1: "rgb(210, 70, 230)", color2: "rgb(240, 70, 170)" }
|
|
865
|
+
]
|
|
866
|
+
},
|
|
867
|
+
light: {
|
|
868
|
+
spikes: [
|
|
869
|
+
{ color1: "rgb(173, 50, 122)", color2: "rgba(184, 65, 101,, 0.8)" },
|
|
870
|
+
{ color1: "rgba(155, 43, 144,, 0.7)", color2: "rgba(184, 79, 130,, 0.46)" },
|
|
871
|
+
{ color1: "rgb(144, 58, 173)", color2: "rgba(180, 43, 108,, 0.82)" },
|
|
872
|
+
{ color1: "rgb(166, 86, 158)", color2: "rgba(176, 61, 119,, 0.7)" },
|
|
873
|
+
{ color1: "rgb(151, 50, 166)", color2: "rgba(173, 50, 122,, 0.78)" }
|
|
874
|
+
]
|
|
875
|
+
}
|
|
876
|
+
},
|
|
877
|
+
ice: {
|
|
878
|
+
dark: {
|
|
879
|
+
spikes: [
|
|
880
|
+
{ color1: "rgb(90, 200, 240)", color2: "rgb(60, 175, 230)" },
|
|
881
|
+
{ color1: "rgba(130, 220, 250,, 0.59)", color2: "rgba(70, 190, 215,, 0.29)" },
|
|
882
|
+
{ color1: "rgb(110, 210, 255)", color2: "rgb(50, 165, 220)" },
|
|
883
|
+
{ color1: "rgba(150, 230, 250,, 0.91)", color2: "rgba(85, 195, 235,, 0.45)" },
|
|
884
|
+
{ color1: "rgb(65, 180, 245)", color2: "rgb(90, 200, 240)" }
|
|
885
|
+
]
|
|
886
|
+
},
|
|
887
|
+
light: {
|
|
888
|
+
spikes: [
|
|
889
|
+
{ color1: "rgb(65, 144, 173)", color2: "rgba(43, 126, 166,, 0.8)" },
|
|
890
|
+
{ color1: "rgba(94, 158, 180,, 0.7)", color2: "rgba(50, 137, 155,, 0.46)" },
|
|
891
|
+
{ color1: "rgb(79, 151, 184)", color2: "rgba(36, 119, 158,, 0.82)" },
|
|
892
|
+
{ color1: "rgb(108, 166, 180)", color2: "rgba(61, 140, 169,, 0.7)" },
|
|
893
|
+
{ color1: "rgb(47, 130, 176)", color2: "rgba(65, 144, 173,, 0.78)" }
|
|
894
|
+
]
|
|
895
|
+
}
|
|
896
|
+
},
|
|
897
|
+
gold: {
|
|
898
|
+
dark: {
|
|
899
|
+
spikes: [
|
|
900
|
+
{ color1: "rgb(240, 190, 60)", color2: "rgb(255, 210, 90)" },
|
|
901
|
+
{ color1: "rgba(225, 165, 40,, 0.59)", color2: "rgba(250, 200, 70,, 0.29)" },
|
|
902
|
+
{ color1: "rgb(255, 225, 120)", color2: "rgb(230, 175, 50)" },
|
|
903
|
+
{ color1: "rgba(245, 205, 85,, 0.91)", color2: "rgba(215, 155, 35,, 0.45)" },
|
|
904
|
+
{ color1: "rgb(255, 215, 100)", color2: "rgb(240, 190, 60)" }
|
|
905
|
+
]
|
|
906
|
+
},
|
|
907
|
+
light: {
|
|
908
|
+
spikes: [
|
|
909
|
+
{ color1: "rgb(173, 137, 43)", color2: "rgba(184, 151, 65,, 0.8)" },
|
|
910
|
+
{ color1: "rgba(162, 119, 29,, 0.7)", color2: "rgba(180, 144, 50,, 0.46)" },
|
|
911
|
+
{ color1: "rgb(184, 162, 86)", color2: "rgba(166, 126, 36,, 0.82)" },
|
|
912
|
+
{ color1: "rgb(176, 148, 61)", color2: "rgba(155, 112, 25,, 0.7)" },
|
|
913
|
+
{ color1: "rgb(184, 155, 72)", color2: "rgba(173, 137, 43,, 0.78)" }
|
|
914
|
+
]
|
|
915
|
+
}
|
|
548
916
|
}
|
|
549
917
|
};
|
|
550
|
-
function
|
|
551
|
-
const
|
|
552
|
-
if (
|
|
553
|
-
const r =
|
|
554
|
-
return r ? `rgba(${r[1]}, ${r[2]}, ${r[3]}, ${e})` :
|
|
555
|
-
}
|
|
556
|
-
function q(
|
|
557
|
-
const
|
|
558
|
-
if (
|
|
559
|
-
const r =
|
|
560
|
-
return r ? `rgba(${r[1]}, ${r[2]}, ${r[3]}, ${e.toFixed(2)})` :
|
|
561
|
-
}
|
|
562
|
-
function
|
|
563
|
-
const r =
|
|
564
|
-
(
|
|
565
|
-
), l = s ? "12px" : "0.8px",
|
|
918
|
+
function J(a, e) {
|
|
919
|
+
const o = a.match(/^rgba\(\s*([\d.]+)\s*,\s*([\d.]+)\s*,\s*([\d.]+)\s*,\s*[\d.]+\s*\)$/);
|
|
920
|
+
if (o) return `rgba(${o[1]}, ${o[2]}, ${o[3]}, ${e})`;
|
|
921
|
+
const r = a.match(/^rgb\(\s*([\d.]+)\s*,\s*([\d.]+)\s*,\s*([\d.]+)\s*\)$/);
|
|
922
|
+
return r ? `rgba(${r[1]}, ${r[2]}, ${r[3]}, ${e})` : a;
|
|
923
|
+
}
|
|
924
|
+
function q(a, e) {
|
|
925
|
+
const o = a.match(/^rgba\(\s*([\d.]+)\s*,\s*([\d.]+)\s*,\s*([\d.]+)\s*,\s*([\d.]+)\s*\)$/);
|
|
926
|
+
if (o) return `rgba(${o[1]}, ${o[2]}, ${o[3]}, ${(parseFloat(o[4]) * e).toFixed(2)})`;
|
|
927
|
+
const r = a.match(/^rgb\(\s*([\d.]+)\s*,\s*([\d.]+)\s*,\s*([\d.]+)\s*\)$/);
|
|
928
|
+
return r ? `rgba(${r[1]}, ${r[2]}, ${r[3]}, ${e.toFixed(2)})` : a;
|
|
929
|
+
}
|
|
930
|
+
function Ze(a, e, o) {
|
|
931
|
+
const r = Ne(a, e), t = Qe[a][e ? "dark" : "light"], s = a === "mono", i = s ? 0.14 : 1, c = s ? q(r.primary, 0.14) : r.primary, p = s ? q(r.primary, 0.09) : r.primary, b = s ? q(r.secondary, 0.12) : r.secondary, g = s ? J(r.secondary, 0.06) : J(r.secondary, 0.49), n = t.spikes.map(
|
|
932
|
+
(k) => s ? { color1: q(k.color1, i), color2: q(k.color2, i * 0.7) } : k
|
|
933
|
+
), l = s ? "12px" : "0.8px", f = s ? "14px" : "2px", W = s ? "12px" : "1.2px", y = s ? "10px" : "0.6px", d = s ? "42px" : "92px", m = s ? "38px" : "72px", H = s ? "40px" : "85px", X = s ? "32px" : "60px", O = s ? "12px" : "1px", $ = s ? "rgba(255, 255, 255, 0.5)" : "rgba(255, 255, 255, 1)", Y = s ? "rgba(255, 255, 255, 0.45)" : "rgba(255, 255, 255, 0.9)", x = s ? "rgba(255, 255, 255, 0.25)" : "rgba(255, 255, 255, 0.5)", w = s ? "rgba(255, 255, 255, 0.15)" : "rgba(255, 255, 255, 0.3)", v = s ? "rgba(255, 255, 255, 0.06)" : "rgba(255, 255, 255, 0.12)", u = s ? "rgba(255, 255, 255, 0.015)" : "rgba(255, 255, 255, 0.03)";
|
|
566
934
|
if (e)
|
|
567
|
-
return `radial-gradient(ellipse calc(${l} * var(--beam-spike-${
|
|
568
|
-
radial-gradient(ellipse calc(10px * var(--beam-spike2-${
|
|
569
|
-
radial-gradient(ellipse calc(${
|
|
570
|
-
radial-gradient(ellipse calc(14px * var(--beam-spike2-${
|
|
571
|
-
radial-gradient(ellipse calc(${
|
|
572
|
-
radial-gradient(ellipse calc(7px * var(--beam-spike-${
|
|
573
|
-
radial-gradient(ellipse calc(${
|
|
574
|
-
radial-gradient(ellipse calc(21px * var(--beam-spike-${
|
|
575
|
-
radial-gradient(ellipse calc(42px * var(--beam-w-${
|
|
935
|
+
return `radial-gradient(ellipse calc(${l} * var(--beam-spike-${o}) * var(--beam-spike-mul, 1)) calc(${d} * var(--beam-h-${o}) * var(--beam-spike-mul, 1)) at 8% calc(100% - 2px), ${c}, ${p} 30%, transparent 88%),
|
|
936
|
+
radial-gradient(ellipse calc(10px * var(--beam-spike2-${o}) * var(--beam-spike-mul, 1)) calc(35px * var(--beam-h-${o}) * var(--beam-spike-mul, 1)) at 22% calc(100% - 4px), ${b}, ${g} 50%, transparent 95%),
|
|
937
|
+
radial-gradient(ellipse calc(${f} * (2 - var(--beam-spike-${o})) * var(--beam-spike-mul, 1)) calc(${m} * var(--beam-h-${o}) * var(--beam-spike-mul, 1)) at 36% calc(100% - 3px), ${n[0].color1}, ${n[0].color2} 40%, transparent 90%),
|
|
938
|
+
radial-gradient(ellipse calc(14px * var(--beam-spike2-${o}) * var(--beam-spike-mul, 1)) calc(28px * var(--beam-h-${o}) * var(--beam-spike-mul, 1)) at 50% calc(100% - 2px), ${n[1].color1}, ${n[1].color2} 55%, transparent 96%),
|
|
939
|
+
radial-gradient(ellipse calc(${W} * (2 - var(--beam-spike2-${o})) * var(--beam-spike-mul, 1)) calc(${H} * var(--beam-h-${o}) * var(--beam-spike-mul, 1)) at 64% calc(100% - 4px), ${n[2].color1}, ${n[2].color2} 35%, transparent 89%),
|
|
940
|
+
radial-gradient(ellipse calc(7px * var(--beam-spike-${o}) * var(--beam-spike-mul, 1)) calc(45px * var(--beam-h-${o}) * var(--beam-spike-mul, 1)) at 78% calc(100% - 2px), ${n[3].color1}, ${n[3].color2} 48%, transparent 94%),
|
|
941
|
+
radial-gradient(ellipse calc(${y} * (2 - var(--beam-spike-${o})) * var(--beam-spike-mul, 1)) calc(${X} * var(--beam-h-${o}) * var(--beam-spike-mul, 1)) at 92% calc(100% - 3px), ${n[4].color1}, ${n[4].color2} 42%, transparent 91%),
|
|
942
|
+
radial-gradient(ellipse calc(21px * var(--beam-spike-${o})) calc(15px * var(--beam-spike2-${o})) at calc(var(--beam-x-${o}) * 100%) calc(100% + 1px), ${$} 0%, ${Y} 20%, ${x} 50%, transparent 100%),
|
|
943
|
+
radial-gradient(ellipse calc(42px * var(--beam-w-${o})) calc(40px * var(--beam-h-${o})) at calc(var(--beam-x-${o}) * 100%) 100%, ${w} 0%, ${v} 25%, ${u} 55%, transparent 80%)`;
|
|
576
944
|
{
|
|
577
|
-
const
|
|
578
|
-
return `radial-gradient(ellipse calc(${l} * var(--beam-spike-${
|
|
579
|
-
radial-gradient(ellipse calc(10px * var(--beam-spike2-${
|
|
580
|
-
radial-gradient(ellipse calc(${
|
|
581
|
-
radial-gradient(ellipse calc(14px * var(--beam-spike2-${
|
|
582
|
-
radial-gradient(ellipse calc(${
|
|
583
|
-
radial-gradient(ellipse calc(7px * var(--beam-spike-${
|
|
584
|
-
radial-gradient(ellipse calc(${
|
|
585
|
-
radial-gradient(ellipse calc(50px * var(--beam-w-${
|
|
945
|
+
const k = s ? q(r.primary, 0.11) : J(r.primary, 0.85), z = s ? q(r.secondary, 0.09) : J(r.secondary, 0.7);
|
|
946
|
+
return `radial-gradient(ellipse calc(${l} * var(--beam-spike-${o}) * var(--beam-spike-mul, 1)) calc(${d} * var(--beam-h-${o}) * var(--beam-spike-mul, 1)) at 8% calc(100% - 2px), ${c}, ${k} 30%, transparent 88%),
|
|
947
|
+
radial-gradient(ellipse calc(10px * var(--beam-spike2-${o}) * var(--beam-spike-mul, 1)) calc(35px * var(--beam-h-${o}) * var(--beam-spike-mul, 1)) at 22% calc(100% - 4px), ${b}, ${z} 50%, transparent 95%),
|
|
948
|
+
radial-gradient(ellipse calc(${f} * (2 - var(--beam-spike-${o})) * var(--beam-spike-mul, 1)) calc(${m} * var(--beam-h-${o}) * var(--beam-spike-mul, 1)) at 36% calc(100% - 3px), ${n[0].color1}, ${n[0].color2} 40%, transparent 90%),
|
|
949
|
+
radial-gradient(ellipse calc(14px * var(--beam-spike2-${o}) * var(--beam-spike-mul, 1)) calc(28px * var(--beam-h-${o}) * var(--beam-spike-mul, 1)) at 50% calc(100% - 2px), ${n[1].color1}, ${n[1].color2} 55%, transparent 96%),
|
|
950
|
+
radial-gradient(ellipse calc(${W} * (2 - var(--beam-spike2-${o})) * var(--beam-spike-mul, 1)) calc(${H} * var(--beam-h-${o}) * var(--beam-spike-mul, 1)) at 64% calc(100% - 4px), ${n[2].color1}, ${n[2].color2} 35%, transparent 89%),
|
|
951
|
+
radial-gradient(ellipse calc(7px * var(--beam-spike-${o}) * var(--beam-spike-mul, 1)) calc(45px * var(--beam-h-${o}) * var(--beam-spike-mul, 1)) at 78% calc(100% - 2px), ${n[3].color1}, ${n[3].color2} 48%, transparent 94%),
|
|
952
|
+
radial-gradient(ellipse calc(${O} * (2 - var(--beam-spike-${o})) * var(--beam-spike-mul, 1)) calc(${X} * var(--beam-h-${o}) * var(--beam-spike-mul, 1)) at 92% calc(100% - 3px), ${n[4].color1}, ${n[4].color2} 42%, transparent 91%),
|
|
953
|
+
radial-gradient(ellipse calc(50px * var(--beam-w-${o})) calc(32px * var(--beam-h-${o})) at calc(var(--beam-x-${o}) * 100%) calc(100%), rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.18) 30%, rgba(0, 0, 0, 0.03) 60%, transparent 85%)`;
|
|
586
954
|
}
|
|
587
955
|
}
|
|
588
|
-
const
|
|
956
|
+
const Fe = [
|
|
589
957
|
{ region: 1, quad: "tl" },
|
|
590
958
|
{ region: 2, quad: "tl" },
|
|
591
959
|
{ region: 3, quad: "bl" },
|
|
@@ -595,7 +963,7 @@ const Xe = [
|
|
|
595
963
|
{ region: 1, quad: "tr" },
|
|
596
964
|
{ region: 2, quad: "tr" },
|
|
597
965
|
{ region: 3, quad: "tr" }
|
|
598
|
-
],
|
|
966
|
+
], Je = [
|
|
599
967
|
[65, 35],
|
|
600
968
|
[55, 30],
|
|
601
969
|
[35, 65],
|
|
@@ -605,7 +973,7 @@ const Xe = [
|
|
|
605
973
|
[69, 28],
|
|
606
974
|
[22, 38],
|
|
607
975
|
[47, 44]
|
|
608
|
-
],
|
|
976
|
+
], eo = [
|
|
609
977
|
{ ci: 0, region: 1, quad: "tl", w: 84, h: 48 },
|
|
610
978
|
{ ci: 1, region: 2, quad: "tl", w: 72, h: 42 },
|
|
611
979
|
{ ci: 2, region: 3, quad: "bl", w: 48, h: 84 },
|
|
@@ -613,7 +981,7 @@ const Xe = [
|
|
|
613
981
|
{ ci: 5, region: 3, quad: "br", w: 102, h: 31 },
|
|
614
982
|
{ ci: 6, region: 1, quad: "tr", w: 89, h: 38 },
|
|
615
983
|
{ ci: 8, region: 3, quad: "tr", w: 62, h: 58 }
|
|
616
|
-
],
|
|
984
|
+
], Ye = [
|
|
617
985
|
{ ci: 0, region: 1, quad: "tl", w: 80, h: 19, x: "27%", y: "0%" },
|
|
618
986
|
{ ci: 6, region: 2, quad: "tr", w: 74, h: 11, x: "73%", y: "-1%" },
|
|
619
987
|
{ ci: 7, region: 3, quad: "tr", w: 15, h: 44, x: "100%", y: "33%" },
|
|
@@ -622,7 +990,7 @@ const Xe = [
|
|
|
622
990
|
{ ci: 1, region: 3, quad: "bl", w: 60, h: 21, x: "24%", y: "101%" },
|
|
623
991
|
{ ci: 2, region: 1, quad: "bl", w: 17, h: 40, x: "0%", y: "60%" },
|
|
624
992
|
{ ci: 3, region: 2, quad: "tl", w: 13, h: 32, x: "-1%", y: "28%" }
|
|
625
|
-
],
|
|
993
|
+
], oo = [
|
|
626
994
|
{ ci: 0, region: 1, quad: "tl", w: 110, h: 30, x: "27%", y: "3%" },
|
|
627
995
|
{ ci: 6, region: 2, quad: "tr", w: 100, h: 20, x: "73%", y: "1%" },
|
|
628
996
|
{ ci: 7, region: 3, quad: "tr", w: 26, h: 62, x: "100%", y: "33%" },
|
|
@@ -631,71 +999,71 @@ const Xe = [
|
|
|
631
999
|
{ ci: 1, region: 3, quad: "bl", w: 88, h: 32, x: "24%", y: "99%" },
|
|
632
1000
|
{ ci: 2, region: 1, quad: "bl", w: 28, h: 58, x: "0%", y: "60%" }
|
|
633
1001
|
];
|
|
634
|
-
function
|
|
635
|
-
const r =
|
|
636
|
-
return `rgba(${r ? `${r[1]}, ${r[2]}, ${r[3]}` : "255, 255, 255"}, var(--bop-${e}-${
|
|
1002
|
+
function ro(a, e, o) {
|
|
1003
|
+
const r = a.match(/^rgb\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)$/);
|
|
1004
|
+
return `rgba(${r ? `${r[1]}, ${r[2]}, ${r[3]}` : "255, 255, 255"}, var(--bop-${e}-${o}))`;
|
|
637
1005
|
}
|
|
638
|
-
function
|
|
639
|
-
return `radial-gradient(ellipse calc(${e}px * var(--bw${r}-${c}) * var(--pulse-glow-sx, 1) * var(--pulse-glow-boost, 1)) calc(${
|
|
1006
|
+
function fe(a, e, o, r, t, s, i, c) {
|
|
1007
|
+
return `radial-gradient(ellipse calc(${e}px * var(--bw${r}-${c}) * var(--pulse-glow-sx, 1) * var(--pulse-glow-boost, 1)) calc(${o}px * var(--bh${r}-${c}) * var(--bgh-${c}) * var(--pulse-glow-sy, 1) * var(--pulse-glow-boost, 1)) at calc(${s} + var(--bx${r}-${c})) calc(${i} + var(--by${r}-${c})), ${ro(a, t, c)}, transparent)`;
|
|
640
1008
|
}
|
|
641
|
-
function
|
|
642
|
-
return
|
|
643
|
-
const { region:
|
|
644
|
-
return
|
|
1009
|
+
function ao(a, e) {
|
|
1010
|
+
return G[a].border.map((o, r) => {
|
|
1011
|
+
const { region: t, quad: s } = Fe[r], [i, c] = o.pos.split(" "), [p, b] = o.size.split(" ").map(parseFloat);
|
|
1012
|
+
return fe(o.color, p, b, t, s, i, c, e);
|
|
645
1013
|
}).join(`,
|
|
646
1014
|
`);
|
|
647
1015
|
}
|
|
648
|
-
function
|
|
649
|
-
const
|
|
650
|
-
const { region: n, quad: l } =
|
|
651
|
-
return
|
|
652
|
-
}), s =
|
|
1016
|
+
function to(a, e, o) {
|
|
1017
|
+
const t = G[a].border.map((b, g) => {
|
|
1018
|
+
const { region: n, quad: l } = Fe[g], [f, W] = b.pos.split(" "), [y, d] = Je[g];
|
|
1019
|
+
return fe(b.color, y, d, n, l, f, W, e);
|
|
1020
|
+
}), s = o ? "255, 255, 255" : "0, 0, 0", i = o ? 0.18 : 0.08, p = [
|
|
653
1021
|
["0%", "0%", "tl"],
|
|
654
1022
|
["100%", "0%", "tr"],
|
|
655
1023
|
["0%", "100%", "bl"],
|
|
656
1024
|
["100%", "100%", "br"]
|
|
657
1025
|
].map(
|
|
658
|
-
([b,
|
|
1026
|
+
([b, g, n]) => `radial-gradient(ellipse 60px 60px at ${b} ${g}, rgba(${s}, calc(${i} * var(--bop-${n}-${e}))), transparent 70%)`
|
|
659
1027
|
);
|
|
660
|
-
return [...
|
|
1028
|
+
return [...t, ...p].join(`,
|
|
661
1029
|
`);
|
|
662
1030
|
}
|
|
663
|
-
function we(
|
|
664
|
-
const r =
|
|
665
|
-
return
|
|
666
|
-
const s = r[
|
|
667
|
-
return
|
|
1031
|
+
function we(a, e, o) {
|
|
1032
|
+
const r = G[e].border;
|
|
1033
|
+
return a.map((t) => {
|
|
1034
|
+
const s = r[t.ci], [i, c] = s.pos.split(" ");
|
|
1035
|
+
return fe(s.color, t.w, t.h, t.region, t.quad, t.x ?? i, t.y ?? c, o);
|
|
668
1036
|
}).join(`,
|
|
669
1037
|
`);
|
|
670
1038
|
}
|
|
671
|
-
function
|
|
672
|
-
const r =
|
|
673
|
-
return
|
|
674
|
-
const i = r[s.ci], [c, p] = i.pos.split(" "), b = s.x ?? c,
|
|
675
|
-
return `radial-gradient(ellipse calc(${s.w}px * var(--pulse-glow-sx, 1) * var(--pulse-glow-boost, 1)) calc(${s.h}px * var(--pulse-glow-sy, 1) * var(--pulse-glow-boost, 1)) at ${b} ${
|
|
1039
|
+
function Re(a, e, o) {
|
|
1040
|
+
const r = G[e].border, t = +o.toFixed(3);
|
|
1041
|
+
return a.map((s) => {
|
|
1042
|
+
const i = r[s.ci], [c, p] = i.pos.split(" "), b = s.x ?? c, g = s.y ?? p, n = i.color.match(/^rgb\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)$/), l = n ? `${n[1]}, ${n[2]}, ${n[3]}` : "255, 255, 255";
|
|
1043
|
+
return `radial-gradient(ellipse calc(${s.w}px * var(--pulse-glow-sx, 1) * var(--pulse-glow-boost, 1)) calc(${s.h}px * var(--pulse-glow-sy, 1) * var(--pulse-glow-boost, 1)) at ${b} ${g}, rgba(${l}, ${t}), transparent)`;
|
|
676
1044
|
}).join(`,
|
|
677
1045
|
`);
|
|
678
1046
|
}
|
|
679
|
-
function
|
|
1047
|
+
function N(a) {
|
|
680
1048
|
return `
|
|
681
|
-
[data-beam="${
|
|
682
|
-
[data-beam="${
|
|
683
|
-
[data-beam="${
|
|
684
|
-
[data-beam="${
|
|
1049
|
+
[data-beam="${a}"][data-paused],
|
|
1050
|
+
[data-beam="${a}"][data-paused]::after,
|
|
1051
|
+
[data-beam="${a}"][data-paused]::before,
|
|
1052
|
+
[data-beam="${a}"][data-paused] [data-beam-bloom] {
|
|
685
1053
|
animation-play-state: paused !important;
|
|
686
1054
|
}`;
|
|
687
1055
|
}
|
|
688
|
-
function
|
|
689
|
-
const e = ["bw1", "bh1", "bw2", "bh2", "bw3", "bh3", "bgh", "bop-tl", "bop-tr", "bop-bl", "bop-br"],
|
|
690
|
-
(s) => `@property --${s}-${
|
|
1056
|
+
function Me(a) {
|
|
1057
|
+
const e = ["bw1", "bh1", "bw2", "bh2", "bw3", "bh3", "bgh", "bop-tl", "bop-tr", "bop-bl", "bop-br"], o = ["bx1", "by1", "bx2", "by2", "bx3", "by3"], r = e.map(
|
|
1058
|
+
(s) => `@property --${s}-${a} {
|
|
691
1059
|
syntax: "<number>";
|
|
692
1060
|
initial-value: 1;
|
|
693
1061
|
inherits: true;
|
|
694
1062
|
}`
|
|
695
1063
|
).join(`
|
|
696
1064
|
|
|
697
|
-
`),
|
|
698
|
-
(s) => `@property --${s}-${
|
|
1065
|
+
`), t = o.map(
|
|
1066
|
+
(s) => `@property --${s}-${a} {
|
|
699
1067
|
syntax: "<length>";
|
|
700
1068
|
initial-value: 0px;
|
|
701
1069
|
inherits: true;
|
|
@@ -705,30 +1073,30 @@ function Oe(t) {
|
|
|
705
1073
|
`);
|
|
706
1074
|
return `${r}
|
|
707
1075
|
|
|
708
|
-
${
|
|
1076
|
+
${t}
|
|
709
1077
|
|
|
710
|
-
@property --beam-opacity-${
|
|
1078
|
+
@property --beam-opacity-${a} {
|
|
711
1079
|
syntax: "<number>";
|
|
712
1080
|
initial-value: 0;
|
|
713
1081
|
inherits: true;
|
|
714
1082
|
}
|
|
715
1083
|
|
|
716
|
-
@property --beam-hue-${
|
|
1084
|
+
@property --beam-hue-${a} {
|
|
717
1085
|
syntax: "<angle>";
|
|
718
1086
|
initial-value: 0deg;
|
|
719
1087
|
inherits: true;
|
|
720
1088
|
}`;
|
|
721
1089
|
}
|
|
722
|
-
function
|
|
723
|
-
const r = e === "dark",
|
|
724
|
-
return
|
|
1090
|
+
function ge(a, e, o) {
|
|
1091
|
+
const r = e === "dark", t = o / 2.3;
|
|
1092
|
+
return a === "pulse-inner" ? {
|
|
725
1093
|
sp: 0.28,
|
|
726
1094
|
dr: r ? 33 : 40,
|
|
727
1095
|
op: r ? 0.48 : 0.45,
|
|
728
1096
|
gh: r ? 0.34 : 0.22,
|
|
729
|
-
bs: (r ? 1.9 : 2.6) *
|
|
730
|
-
ss: (r ? 2.6 : 4.6) *
|
|
731
|
-
ghs: (r ? 2.4 : 5.5) *
|
|
1097
|
+
bs: (r ? 1.9 : 2.6) * t,
|
|
1098
|
+
ss: (r ? 2.6 : 4.6) * t,
|
|
1099
|
+
ghs: (r ? 2.4 : 5.5) * t,
|
|
732
1100
|
// Full hue revolution period (seconds) — colors continuously cycle.
|
|
733
1101
|
huePeriod: 16
|
|
734
1102
|
} : {
|
|
@@ -736,74 +1104,78 @@ function pe(t, e, a) {
|
|
|
736
1104
|
dr: r ? 14 : 19,
|
|
737
1105
|
op: r ? 0.46 : 0,
|
|
738
1106
|
gh: r ? 0.16 : 0.58,
|
|
739
|
-
bs: (r ? 2.3 : 3.7) *
|
|
740
|
-
ss: (r ? 6.4 : 4.6) *
|
|
741
|
-
ghs: (r ? 2.4 : 3.8) *
|
|
1107
|
+
bs: (r ? 2.3 : 3.7) * t,
|
|
1108
|
+
ss: (r ? 6.4 : 4.6) * t,
|
|
1109
|
+
ghs: (r ? 2.4 : 3.8) * t,
|
|
742
1110
|
// Full hue revolution period (seconds) — colors continuously cycle.
|
|
743
1111
|
huePeriod: 14
|
|
744
1112
|
};
|
|
745
1113
|
}
|
|
746
|
-
function
|
|
747
|
-
const { sp:
|
|
1114
|
+
function so(a, e) {
|
|
1115
|
+
const { sp: o, dr: r, op: t, gh: s, bs: i, ss: c, ghs: p } = e;
|
|
748
1116
|
return [
|
|
749
|
-
{ prop: `--bw1-${
|
|
750
|
-
{ prop: `--bh1-${
|
|
751
|
-
{ prop: `--bx1-${
|
|
752
|
-
{ prop: `--by1-${
|
|
753
|
-
{ prop: `--bw2-${
|
|
754
|
-
{ prop: `--bh2-${
|
|
755
|
-
{ prop: `--bx2-${
|
|
756
|
-
{ prop: `--by2-${
|
|
757
|
-
{ prop: `--bw3-${
|
|
758
|
-
{ prop: `--bh3-${
|
|
759
|
-
{ prop: `--bx3-${
|
|
760
|
-
{ prop: `--by3-${
|
|
761
|
-
{ prop: `--bgh-${
|
|
762
|
-
{ prop: `--bop-tl-${
|
|
763
|
-
{ prop: `--bop-tr-${
|
|
764
|
-
{ prop: `--bop-bl-${
|
|
765
|
-
{ prop: `--bop-br-${
|
|
1117
|
+
{ prop: `--bw1-${a}`, a: 1 - o, b: 1 + o * 1.1, period: c * 0.9, delay: 0, unit: "" },
|
|
1118
|
+
{ prop: `--bh1-${a}`, a: 1 + o * 0.9, b: 1 - o * 0.85, period: c * 1.26, delay: 0, unit: "" },
|
|
1119
|
+
{ prop: `--bx1-${a}`, a: -r, b: r * 0.9, period: i * 1.6, delay: 0, unit: "px" },
|
|
1120
|
+
{ prop: `--by1-${a}`, a: r * 0.55, b: -r * 0.7, period: i * 1.6, delay: 0, unit: "px" },
|
|
1121
|
+
{ prop: `--bw2-${a}`, a: 1 + o, b: 1 - o * 0.85, period: c * 1.1, delay: 0, unit: "" },
|
|
1122
|
+
{ prop: `--bh2-${a}`, a: 1 - o * 0.8, b: 1 + o * 1.05, period: c * 0.81, delay: 0, unit: "" },
|
|
1123
|
+
{ prop: `--bx2-${a}`, a: r * 0.8, b: -r * 0.9, period: i * 1.88, delay: 0, unit: "px" },
|
|
1124
|
+
{ prop: `--by2-${a}`, a: -r, b: r * 0.65, period: i * 1.88, delay: 0, unit: "px" },
|
|
1125
|
+
{ prop: `--bw3-${a}`, a: 1 - o * 0.6, b: 1 + o * 1.15, period: c * 0.98, delay: 0, unit: "" },
|
|
1126
|
+
{ prop: `--bh3-${a}`, a: 1 + o * 0.75, b: 1 - o, period: c * 1.4, delay: 0, unit: "" },
|
|
1127
|
+
{ prop: `--bx3-${a}`, a: -r * 0.6, b: r, period: i * 1.45, delay: 0, unit: "px" },
|
|
1128
|
+
{ prop: `--by3-${a}`, a: -r * 0.85, b: r * 0.45, period: i * 1.45, delay: 0, unit: "px" },
|
|
1129
|
+
{ prop: `--bgh-${a}`, a: 1 - s, b: 1 + s, period: p, delay: 0, unit: "" },
|
|
1130
|
+
{ prop: `--bop-tl-${a}`, a: 1 - t, b: 1, period: i, delay: 0, unit: "" },
|
|
1131
|
+
{ prop: `--bop-tr-${a}`, a: 1 - t, b: 1, period: i * 1.32, delay: i * 0.28, unit: "" },
|
|
1132
|
+
{ prop: `--bop-bl-${a}`, a: 1 - t, b: 1, period: i * 0.84, delay: i * 0.55, unit: "" },
|
|
1133
|
+
{ prop: `--bop-br-${a}`, a: 1 - t, b: 1, period: i * 1.58, delay: i * 0.83, unit: "" }
|
|
766
1134
|
];
|
|
767
1135
|
}
|
|
768
|
-
function
|
|
769
|
-
if (
|
|
770
|
-
const i =
|
|
1136
|
+
function io(a, e, o, r, t, s) {
|
|
1137
|
+
if (a !== "pulse-inner" && a !== "pulse-outside") return null;
|
|
1138
|
+
const i = ge(a, e, o);
|
|
771
1139
|
return {
|
|
772
|
-
oscillators:
|
|
1140
|
+
oscillators: so(s, i),
|
|
773
1141
|
// Pulse colors continuously rotate a full hue circle so the palette is never
|
|
774
1142
|
// pinned to fixed edges (no more "always red top-right / green left").
|
|
775
|
-
hue:
|
|
1143
|
+
hue: t ? null : { prop: `--beam-hue-${s}`, range: 360, period: i.huePeriod, continuous: !0 }
|
|
776
1144
|
};
|
|
777
1145
|
}
|
|
778
|
-
function
|
|
779
|
-
return ` animation: ${e}-${
|
|
1146
|
+
function ee(a, e, o) {
|
|
1147
|
+
return ` animation: ${e}-${a} ${o}s ease forwards;`;
|
|
1148
|
+
}
|
|
1149
|
+
function R(a, e = 1) {
|
|
1150
|
+
return Math.max(0.5, Math.round(a * e * 100) / 100);
|
|
780
1151
|
}
|
|
781
|
-
function
|
|
782
|
-
const { size: e } =
|
|
783
|
-
return e === "line" ?
|
|
1152
|
+
function no(a) {
|
|
1153
|
+
const { size: e } = a;
|
|
1154
|
+
return e === "line" ? fo(a) : e === "sm" ? co(a) : e === "pulse-inner" ? po(a) : e === "pulse-outside" ? lo(a) : bo(a);
|
|
784
1155
|
}
|
|
785
|
-
function
|
|
1156
|
+
function co(a) {
|
|
786
1157
|
const {
|
|
787
1158
|
id: e,
|
|
788
|
-
borderRadius:
|
|
1159
|
+
borderRadius: o,
|
|
789
1160
|
borderWidth: r,
|
|
790
|
-
duration:
|
|
1161
|
+
duration: t,
|
|
791
1162
|
strokeOpacity: s,
|
|
792
1163
|
innerOpacity: i,
|
|
793
1164
|
bloomOpacity: c,
|
|
794
1165
|
innerShadow: p,
|
|
795
1166
|
colorVariant: b,
|
|
796
|
-
staticColors:
|
|
1167
|
+
staticColors: g,
|
|
797
1168
|
brightness: n,
|
|
798
1169
|
saturation: l,
|
|
799
|
-
hueRange:
|
|
800
|
-
theme:
|
|
801
|
-
|
|
1170
|
+
hueRange: f,
|
|
1171
|
+
theme: W,
|
|
1172
|
+
glowSize: y = 1
|
|
1173
|
+
} = a, d = Math.max(0, o - r), m = b === "mono" ? 0.5 : 1, H = s * m, X = i * m, O = c * m, $ = g ? "" : `animation: beam-hue-shift-${e} 12s ease-in-out infinite;`, Y = g ? "" : `
|
|
802
1174
|
@keyframes beam-hue-shift-${e} {
|
|
803
|
-
0% { filter: hue-rotate(calc(var(--beam-hue-base, 0deg) - ${
|
|
804
|
-
50% { filter: hue-rotate(calc(var(--beam-hue-base, 0deg) + ${
|
|
805
|
-
100% { filter: hue-rotate(calc(var(--beam-hue-base, 0deg) - ${
|
|
806
|
-
}`,
|
|
1175
|
+
0% { filter: hue-rotate(calc(var(--beam-hue-base, 0deg) - ${f}deg)) brightness(${n.toFixed(2)}) saturate(${l.toFixed(2)}); }
|
|
1176
|
+
50% { filter: hue-rotate(calc(var(--beam-hue-base, 0deg) + ${f}deg)) brightness(${n.toFixed(2)}) saturate(${l.toFixed(2)}); }
|
|
1177
|
+
100% { filter: hue-rotate(calc(var(--beam-hue-base, 0deg) - ${f}deg)) brightness(${n.toFixed(2)}) saturate(${l.toFixed(2)}); }
|
|
1178
|
+
}`, x = W === "dark", w = x ? `conic-gradient(
|
|
807
1179
|
from var(--beam-angle-${e}),
|
|
808
1180
|
transparent 0%, transparent 54%,
|
|
809
1181
|
rgba(255, 255, 255, 0.1) 57%,
|
|
@@ -825,7 +1197,7 @@ function sa(t) {
|
|
|
825
1197
|
rgba(0, 0, 0, 0.2) 72%,
|
|
826
1198
|
rgba(0, 0, 0, 0.08) 75%,
|
|
827
1199
|
transparent 78%, transparent 100%
|
|
828
|
-
)`,
|
|
1200
|
+
)`, v = Ae(b), u = _e(b), k = x ? `conic-gradient(
|
|
829
1201
|
from var(--beam-angle-${e}),
|
|
830
1202
|
transparent 0%, transparent 58%,
|
|
831
1203
|
rgba(255, 255, 255, 0.03) 62%,
|
|
@@ -853,7 +1225,7 @@ function sa(t) {
|
|
|
853
1225
|
rgba(0, 0, 0, 0.08) 75%,
|
|
854
1226
|
rgba(0, 0, 0, 0.02) 78%,
|
|
855
1227
|
transparent 82%
|
|
856
|
-
)`,
|
|
1228
|
+
)`, z = `conic-gradient(
|
|
857
1229
|
from var(--beam-angle-${e}),
|
|
858
1230
|
transparent 0%, transparent 22%,
|
|
859
1231
|
rgba(255, 255, 255, 0.12) 28%, rgba(255, 255, 255, 0.4) 36%,
|
|
@@ -876,19 +1248,19 @@ function sa(t) {
|
|
|
876
1248
|
|
|
877
1249
|
[data-beam="${e}"] {
|
|
878
1250
|
position: relative;
|
|
879
|
-
border-radius: ${
|
|
1251
|
+
border-radius: ${o}px;
|
|
880
1252
|
overflow: hidden;
|
|
881
1253
|
}
|
|
882
1254
|
|
|
883
1255
|
[data-beam="${e}"][data-active] {
|
|
884
1256
|
animation:
|
|
885
|
-
beam-spin-${e} ${
|
|
1257
|
+
beam-spin-${e} ${t}s linear infinite,
|
|
886
1258
|
beam-fade-in-${e} 0.6s ease forwards;
|
|
887
1259
|
}
|
|
888
1260
|
|
|
889
1261
|
[data-beam="${e}"][data-fading] {
|
|
890
1262
|
animation:
|
|
891
|
-
beam-spin-${e} ${
|
|
1263
|
+
beam-spin-${e} ${t}s linear infinite,
|
|
892
1264
|
beam-fade-out-${e} 0.5s ease forwards;
|
|
893
1265
|
}
|
|
894
1266
|
|
|
@@ -897,10 +1269,10 @@ function sa(t) {
|
|
|
897
1269
|
content: "";
|
|
898
1270
|
position: absolute;
|
|
899
1271
|
inset: 0;
|
|
900
|
-
border-radius: ${
|
|
1272
|
+
border-radius: ${d}px;
|
|
901
1273
|
padding: ${r}px;
|
|
902
|
-
clip-path: inset(0 round ${
|
|
903
|
-
background: ${
|
|
1274
|
+
clip-path: inset(0 round ${o}px);
|
|
1275
|
+
background: ${w},${v};
|
|
904
1276
|
-webkit-mask:
|
|
905
1277
|
conic-gradient(
|
|
906
1278
|
from var(--beam-angle-${e}),
|
|
@@ -927,8 +1299,8 @@ function sa(t) {
|
|
|
927
1299
|
mask-composite: intersect, exclude;
|
|
928
1300
|
pointer-events: none;
|
|
929
1301
|
z-index: 2;
|
|
930
|
-
opacity: calc(var(--beam-opacity-${e}) * ${
|
|
931
|
-
${
|
|
1302
|
+
opacity: calc(var(--beam-opacity-${e}) * ${H.toFixed(2)} * var(--beam-stroke-opacity, 1) * var(--beam-strength, 1));
|
|
1303
|
+
${$}
|
|
932
1304
|
}
|
|
933
1305
|
|
|
934
1306
|
[data-beam="${e}"][data-active]::before,
|
|
@@ -936,33 +1308,33 @@ function sa(t) {
|
|
|
936
1308
|
content: "";
|
|
937
1309
|
position: absolute;
|
|
938
1310
|
inset: 0;
|
|
939
|
-
border-radius: ${
|
|
940
|
-
clip-path: inset(0 round ${
|
|
941
|
-
background: ${
|
|
1311
|
+
border-radius: ${o}px;
|
|
1312
|
+
clip-path: inset(0 round ${o}px);
|
|
1313
|
+
background: ${u};
|
|
942
1314
|
box-shadow: inset 0 0 5px 1px ${p};
|
|
943
|
-
-webkit-mask-image: ${
|
|
1315
|
+
-webkit-mask-image: ${z};
|
|
944
1316
|
-webkit-mask-composite: source-over;
|
|
945
|
-
mask-image: ${
|
|
1317
|
+
mask-image: ${z};
|
|
946
1318
|
mask-composite: add;
|
|
947
1319
|
pointer-events: none;
|
|
948
1320
|
z-index: 1;
|
|
949
|
-
opacity: calc(var(--beam-opacity-${e}) * ${
|
|
950
|
-
${
|
|
1321
|
+
opacity: calc(var(--beam-opacity-${e}) * ${X.toFixed(2)} * var(--beam-inner-opacity, 1) * var(--beam-strength, 1));
|
|
1322
|
+
${$}
|
|
951
1323
|
}
|
|
952
1324
|
|
|
953
1325
|
[data-beam="${e}"] [data-beam-bloom] {
|
|
954
1326
|
display: none;
|
|
955
1327
|
position: absolute;
|
|
956
1328
|
inset: 0;
|
|
957
|
-
border-radius: ${
|
|
958
|
-
clip-path: inset(0 round ${
|
|
959
|
-
background: ${
|
|
1329
|
+
border-radius: ${d}px;
|
|
1330
|
+
clip-path: inset(0 round ${o}px);
|
|
1331
|
+
background: ${k};
|
|
960
1332
|
-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
|
|
961
1333
|
-webkit-mask-composite: xor;
|
|
962
1334
|
mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
|
|
963
1335
|
mask-composite: exclude;
|
|
964
1336
|
padding: ${r}px;
|
|
965
|
-
filter: blur(
|
|
1337
|
+
filter: blur(${R(8, y)}px) brightness(${n.toFixed(2)}) saturate(${l.toFixed(2)});
|
|
966
1338
|
pointer-events: none;
|
|
967
1339
|
z-index: 3;
|
|
968
1340
|
opacity: 0;
|
|
@@ -971,7 +1343,7 @@ function sa(t) {
|
|
|
971
1343
|
[data-beam="${e}"][data-active] [data-beam-bloom],
|
|
972
1344
|
[data-beam="${e}"][data-fading] [data-beam-bloom] {
|
|
973
1345
|
display: block;
|
|
974
|
-
opacity: calc(var(--beam-opacity-${e}) * ${
|
|
1346
|
+
opacity: calc(var(--beam-opacity-${e}) * ${O.toFixed(2)} * var(--beam-bloom-opacity, 1) * var(--beam-strength, 1));
|
|
975
1347
|
}
|
|
976
1348
|
|
|
977
1349
|
@keyframes beam-spin-${e} {
|
|
@@ -986,32 +1358,33 @@ function sa(t) {
|
|
|
986
1358
|
from { --beam-opacity-${e}: 1; }
|
|
987
1359
|
to { --beam-opacity-${e}: 0; }
|
|
988
1360
|
}
|
|
989
|
-
${
|
|
990
|
-
${
|
|
1361
|
+
${Y}
|
|
1362
|
+
${N(e)}
|
|
991
1363
|
`;
|
|
992
1364
|
}
|
|
993
|
-
function
|
|
1365
|
+
function bo(a) {
|
|
994
1366
|
const {
|
|
995
1367
|
id: e,
|
|
996
|
-
borderRadius:
|
|
1368
|
+
borderRadius: o,
|
|
997
1369
|
borderWidth: r,
|
|
998
|
-
duration:
|
|
1370
|
+
duration: t,
|
|
999
1371
|
strokeOpacity: s,
|
|
1000
1372
|
innerOpacity: i,
|
|
1001
1373
|
bloomOpacity: c,
|
|
1002
1374
|
innerShadow: p,
|
|
1003
1375
|
colorVariant: b,
|
|
1004
|
-
staticColors:
|
|
1376
|
+
staticColors: g,
|
|
1005
1377
|
brightness: n,
|
|
1006
1378
|
saturation: l,
|
|
1007
|
-
hueRange:
|
|
1008
|
-
theme:
|
|
1009
|
-
|
|
1379
|
+
hueRange: f,
|
|
1380
|
+
theme: W,
|
|
1381
|
+
glowSize: y = 1
|
|
1382
|
+
} = a, d = Math.max(0, o - r), m = b === "mono" ? 0.5 : 1, H = s * m, X = i * m, O = c * m, $ = g ? "" : `animation: beam-hue-shift-${e} 12s ease-in-out infinite;`, Y = g ? "" : `
|
|
1010
1383
|
@keyframes beam-hue-shift-${e} {
|
|
1011
|
-
0% { filter: hue-rotate(calc(var(--beam-hue-base, 0deg) - ${
|
|
1012
|
-
50% { filter: hue-rotate(calc(var(--beam-hue-base, 0deg) + ${
|
|
1013
|
-
100% { filter: hue-rotate(calc(var(--beam-hue-base, 0deg) - ${
|
|
1014
|
-
}`,
|
|
1384
|
+
0% { filter: hue-rotate(calc(var(--beam-hue-base, 0deg) - ${f}deg)) brightness(${n.toFixed(2)}) saturate(${l.toFixed(2)}); }
|
|
1385
|
+
50% { filter: hue-rotate(calc(var(--beam-hue-base, 0deg) + ${f}deg)) brightness(${n.toFixed(2)}) saturate(${l.toFixed(2)}); }
|
|
1386
|
+
100% { filter: hue-rotate(calc(var(--beam-hue-base, 0deg) - ${f}deg)) brightness(${n.toFixed(2)}) saturate(${l.toFixed(2)}); }
|
|
1387
|
+
}`, x = W === "dark", w = x ? `conic-gradient(
|
|
1015
1388
|
from var(--beam-angle-${e}),
|
|
1016
1389
|
transparent 0%, transparent 54%,
|
|
1017
1390
|
rgba(255, 255, 255, 0.1) 57%,
|
|
@@ -1033,7 +1406,7 @@ function ia(t) {
|
|
|
1033
1406
|
rgba(0, 0, 0, 0.2) 72%,
|
|
1034
1407
|
rgba(0, 0, 0, 0.08) 75%,
|
|
1035
1408
|
transparent 78%, transparent 100%
|
|
1036
|
-
)`,
|
|
1409
|
+
)`, v = je(b), u = Te(b), k = x ? `conic-gradient(
|
|
1037
1410
|
from var(--beam-angle-${e}),
|
|
1038
1411
|
transparent 0%, transparent 58%,
|
|
1039
1412
|
rgba(255, 255, 255, 0.03) 62%,
|
|
@@ -1077,19 +1450,19 @@ function ia(t) {
|
|
|
1077
1450
|
|
|
1078
1451
|
[data-beam="${e}"] {
|
|
1079
1452
|
position: relative;
|
|
1080
|
-
border-radius: ${
|
|
1453
|
+
border-radius: ${o}px;
|
|
1081
1454
|
overflow: hidden;
|
|
1082
1455
|
}
|
|
1083
1456
|
|
|
1084
1457
|
[data-beam="${e}"][data-active] {
|
|
1085
1458
|
animation:
|
|
1086
|
-
beam-spin-${e} ${
|
|
1459
|
+
beam-spin-${e} ${t}s linear infinite,
|
|
1087
1460
|
beam-fade-in-${e} 0.6s ease forwards;
|
|
1088
1461
|
}
|
|
1089
1462
|
|
|
1090
1463
|
[data-beam="${e}"][data-fading] {
|
|
1091
1464
|
animation:
|
|
1092
|
-
beam-spin-${e} ${
|
|
1465
|
+
beam-spin-${e} ${t}s linear infinite,
|
|
1093
1466
|
beam-fade-out-${e} 0.5s ease forwards;
|
|
1094
1467
|
}
|
|
1095
1468
|
|
|
@@ -1098,10 +1471,10 @@ function ia(t) {
|
|
|
1098
1471
|
content: "";
|
|
1099
1472
|
position: absolute;
|
|
1100
1473
|
inset: 0;
|
|
1101
|
-
border-radius: ${
|
|
1474
|
+
border-radius: ${d}px;
|
|
1102
1475
|
padding: ${r}px;
|
|
1103
|
-
clip-path: inset(0 round ${
|
|
1104
|
-
background: ${
|
|
1476
|
+
clip-path: inset(0 round ${o}px);
|
|
1477
|
+
background: ${w},${v};
|
|
1105
1478
|
-webkit-mask:
|
|
1106
1479
|
conic-gradient(
|
|
1107
1480
|
from var(--beam-angle-${e}),
|
|
@@ -1128,8 +1501,8 @@ function ia(t) {
|
|
|
1128
1501
|
mask-composite: intersect, exclude;
|
|
1129
1502
|
pointer-events: none;
|
|
1130
1503
|
z-index: 2;
|
|
1131
|
-
opacity: calc(var(--beam-opacity-${e}) * ${
|
|
1132
|
-
${
|
|
1504
|
+
opacity: calc(var(--beam-opacity-${e}) * ${H.toFixed(2)} * var(--beam-stroke-opacity, 1) * var(--beam-strength, 1));
|
|
1505
|
+
${$}
|
|
1133
1506
|
}
|
|
1134
1507
|
|
|
1135
1508
|
[data-beam="${e}"][data-active]::before,
|
|
@@ -1137,8 +1510,8 @@ function ia(t) {
|
|
|
1137
1510
|
content: "";
|
|
1138
1511
|
position: absolute;
|
|
1139
1512
|
inset: 0;
|
|
1140
|
-
border-radius: ${
|
|
1141
|
-
background: ${
|
|
1513
|
+
border-radius: ${o}px;
|
|
1514
|
+
background: ${u};
|
|
1142
1515
|
box-shadow: inset 0 0 9px 1px ${p};
|
|
1143
1516
|
-webkit-mask-image:
|
|
1144
1517
|
conic-gradient(
|
|
@@ -1166,24 +1539,24 @@ function ia(t) {
|
|
|
1166
1539
|
mask-composite: intersect, add;
|
|
1167
1540
|
pointer-events: none;
|
|
1168
1541
|
z-index: 1;
|
|
1169
|
-
opacity: calc(var(--beam-opacity-${e}) * ${
|
|
1170
|
-
clip-path: inset(0 round ${
|
|
1171
|
-
${
|
|
1542
|
+
opacity: calc(var(--beam-opacity-${e}) * ${X.toFixed(2)} * var(--beam-inner-opacity, 1) * var(--beam-strength, 1));
|
|
1543
|
+
clip-path: inset(0 round ${o}px);
|
|
1544
|
+
${$}
|
|
1172
1545
|
}
|
|
1173
1546
|
|
|
1174
1547
|
[data-beam="${e}"] [data-beam-bloom] {
|
|
1175
1548
|
display: none;
|
|
1176
1549
|
position: absolute;
|
|
1177
1550
|
inset: 0;
|
|
1178
|
-
border-radius: ${
|
|
1179
|
-
clip-path: inset(0 round ${
|
|
1180
|
-
background: ${
|
|
1551
|
+
border-radius: ${d}px;
|
|
1552
|
+
clip-path: inset(0 round ${o}px);
|
|
1553
|
+
background: ${k};
|
|
1181
1554
|
-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
|
|
1182
1555
|
-webkit-mask-composite: xor;
|
|
1183
1556
|
mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
|
|
1184
1557
|
mask-composite: exclude;
|
|
1185
1558
|
padding: ${r}px;
|
|
1186
|
-
filter: blur(
|
|
1559
|
+
filter: blur(${R(8, y)}px) brightness(${n.toFixed(2)}) saturate(${l.toFixed(2)});
|
|
1187
1560
|
pointer-events: none;
|
|
1188
1561
|
z-index: 3;
|
|
1189
1562
|
opacity: 0;
|
|
@@ -1192,7 +1565,7 @@ function ia(t) {
|
|
|
1192
1565
|
[data-beam="${e}"][data-active] [data-beam-bloom],
|
|
1193
1566
|
[data-beam="${e}"][data-fading] [data-beam-bloom] {
|
|
1194
1567
|
display: block;
|
|
1195
|
-
opacity: calc(var(--beam-opacity-${e}) * ${
|
|
1568
|
+
opacity: calc(var(--beam-opacity-${e}) * ${O.toFixed(2)} * var(--beam-bloom-opacity, 1) * var(--beam-strength, 1));
|
|
1196
1569
|
}
|
|
1197
1570
|
|
|
1198
1571
|
@keyframes beam-spin-${e} {
|
|
@@ -1207,42 +1580,43 @@ function ia(t) {
|
|
|
1207
1580
|
from { --beam-opacity-${e}: 1; }
|
|
1208
1581
|
to { --beam-opacity-${e}: 0; }
|
|
1209
1582
|
}
|
|
1210
|
-
${
|
|
1211
|
-
${
|
|
1583
|
+
${Y}
|
|
1584
|
+
${N(e)}
|
|
1212
1585
|
`;
|
|
1213
1586
|
}
|
|
1214
|
-
function
|
|
1587
|
+
function po(a) {
|
|
1215
1588
|
const {
|
|
1216
1589
|
id: e,
|
|
1217
|
-
borderRadius:
|
|
1590
|
+
borderRadius: o,
|
|
1218
1591
|
borderWidth: r,
|
|
1219
|
-
duration:
|
|
1592
|
+
duration: t,
|
|
1220
1593
|
strokeOpacity: s,
|
|
1221
1594
|
innerOpacity: i,
|
|
1222
1595
|
bloomOpacity: c,
|
|
1223
1596
|
colorVariant: p,
|
|
1224
1597
|
staticColors: b,
|
|
1225
|
-
brightness:
|
|
1598
|
+
brightness: g,
|
|
1226
1599
|
saturation: n,
|
|
1227
1600
|
hueRange: l,
|
|
1228
|
-
theme:
|
|
1229
|
-
|
|
1601
|
+
theme: f,
|
|
1602
|
+
glowSize: W = 1
|
|
1603
|
+
} = a, y = f === "dark", d = p === "mono" ? 0.5 : 1, m = (s * d).toFixed(2), H = (i * d).toFixed(2), X = (c * d).toFixed(2), { op: O } = ge("pulse-inner", f, t), $ = R(8, W), Y = g.toFixed(2), x = n.toFixed(2), w = b ? `filter: brightness(${Y}) saturate(${x});` : `filter: hue-rotate(calc(var(--beam-hue-base, 0deg) + var(--beam-hue-${e}))) brightness(${Y}) saturate(${x});`, v = b ? `filter: blur(${$}px) brightness(${Y}) saturate(${x});` : `filter: blur(${$}px) hue-rotate(calc(var(--beam-hue-base, 0deg) + var(--beam-hue-${e}))) brightness(${Y}) saturate(${x});`, u = ao(p, e), k = to(p, e, y), z = Re(eo, p, 1 - O * 0.5);
|
|
1230
1604
|
return `
|
|
1231
|
-
${
|
|
1605
|
+
${Me(e)}
|
|
1232
1606
|
|
|
1233
1607
|
[data-beam="${e}"] {
|
|
1234
1608
|
position: relative;
|
|
1235
|
-
border-radius: ${
|
|
1609
|
+
border-radius: ${o}px;
|
|
1236
1610
|
overflow: hidden;
|
|
1237
1611
|
isolation: isolate;
|
|
1238
1612
|
}
|
|
1239
1613
|
|
|
1240
1614
|
[data-beam="${e}"][data-active] {
|
|
1241
|
-
${
|
|
1615
|
+
${ee(e, "beam-fade-in", 0.6)}
|
|
1242
1616
|
}
|
|
1243
1617
|
|
|
1244
1618
|
[data-beam="${e}"][data-fading] {
|
|
1245
|
-
${
|
|
1619
|
+
${ee(e, "beam-fade-out", 0.5)}
|
|
1246
1620
|
}
|
|
1247
1621
|
|
|
1248
1622
|
[data-beam="${e}"][data-active]::after,
|
|
@@ -1250,10 +1624,10 @@ ${Q(e, "beam-fade-out", 0.5)}
|
|
|
1250
1624
|
content: "";
|
|
1251
1625
|
position: absolute;
|
|
1252
1626
|
inset: 0;
|
|
1253
|
-
border-radius: ${
|
|
1627
|
+
border-radius: ${o}px;
|
|
1254
1628
|
padding: ${r}px;
|
|
1255
|
-
clip-path: inset(0 round ${
|
|
1256
|
-
background: ${
|
|
1629
|
+
clip-path: inset(0 round ${o}px);
|
|
1630
|
+
background: ${u};
|
|
1257
1631
|
-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
|
|
1258
1632
|
-webkit-mask-composite: xor;
|
|
1259
1633
|
mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
|
|
@@ -1261,8 +1635,8 @@ ${Q(e, "beam-fade-out", 0.5)}
|
|
|
1261
1635
|
pointer-events: none;
|
|
1262
1636
|
z-index: 2;
|
|
1263
1637
|
will-change: opacity, filter;
|
|
1264
|
-
opacity: calc(var(--beam-opacity-${e}) * ${
|
|
1265
|
-
${
|
|
1638
|
+
opacity: calc(var(--beam-opacity-${e}) * ${m} * var(--beam-stroke-opacity, 1) * var(--beam-strength, 1));
|
|
1639
|
+
${w}
|
|
1266
1640
|
}
|
|
1267
1641
|
|
|
1268
1642
|
[data-beam="${e}"][data-active]::before,
|
|
@@ -1270,9 +1644,9 @@ ${Q(e, "beam-fade-out", 0.5)}
|
|
|
1270
1644
|
content: "";
|
|
1271
1645
|
position: absolute;
|
|
1272
1646
|
inset: 0;
|
|
1273
|
-
border-radius: ${
|
|
1274
|
-
clip-path: inset(0 round ${
|
|
1275
|
-
background: ${
|
|
1647
|
+
border-radius: ${o}px;
|
|
1648
|
+
clip-path: inset(0 round ${o}px);
|
|
1649
|
+
background: ${k};
|
|
1276
1650
|
-webkit-mask-image:
|
|
1277
1651
|
linear-gradient(white, transparent 28px, transparent calc(100% - 28px), white),
|
|
1278
1652
|
linear-gradient(to right, white, transparent 28px, transparent calc(100% - 28px), white);
|
|
@@ -1284,17 +1658,17 @@ ${Q(e, "beam-fade-out", 0.5)}
|
|
|
1284
1658
|
pointer-events: none;
|
|
1285
1659
|
z-index: 1;
|
|
1286
1660
|
will-change: opacity, filter;
|
|
1287
|
-
opacity: calc(var(--beam-opacity-${e}) * ${
|
|
1288
|
-
${
|
|
1661
|
+
opacity: calc(var(--beam-opacity-${e}) * ${H} * var(--beam-inner-opacity, 1) * var(--beam-strength, 1));
|
|
1662
|
+
${w}
|
|
1289
1663
|
}
|
|
1290
1664
|
|
|
1291
1665
|
[data-beam="${e}"] [data-beam-bloom] {
|
|
1292
1666
|
display: none;
|
|
1293
1667
|
position: absolute;
|
|
1294
1668
|
inset: 0;
|
|
1295
|
-
border-radius: ${
|
|
1296
|
-
clip-path: inset(0 round ${
|
|
1297
|
-
background: ${
|
|
1669
|
+
border-radius: ${o}px;
|
|
1670
|
+
clip-path: inset(0 round ${o}px);
|
|
1671
|
+
background: ${z};
|
|
1298
1672
|
-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
|
|
1299
1673
|
-webkit-mask-composite: xor;
|
|
1300
1674
|
mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
|
|
@@ -1309,13 +1683,13 @@ ${Q(e, "beam-fade-out", 0.5)}
|
|
|
1309
1683
|
[data-beam="${e}"][data-active] [data-beam-bloom],
|
|
1310
1684
|
[data-beam="${e}"][data-fading] [data-beam-bloom] {
|
|
1311
1685
|
display: block;
|
|
1312
|
-
opacity: calc(var(--beam-opacity-${e}) * ${
|
|
1313
|
-
${
|
|
1686
|
+
opacity: calc(var(--beam-opacity-${e}) * ${X} * var(--beam-bloom-opacity, 1) * var(--beam-strength, 1));
|
|
1687
|
+
${v}
|
|
1314
1688
|
}
|
|
1315
1689
|
|
|
1316
1690
|
@keyframes beam-fade-in-${e} { to { --beam-opacity-${e}: 1; } }
|
|
1317
1691
|
@keyframes beam-fade-out-${e} { from { --beam-opacity-${e}: 1; } to { --beam-opacity-${e}: 0; } }
|
|
1318
|
-
${
|
|
1692
|
+
${N(e)}
|
|
1319
1693
|
|
|
1320
1694
|
@media (prefers-reduced-motion: reduce) {
|
|
1321
1695
|
[data-beam="${e}"][data-active],
|
|
@@ -1331,51 +1705,52 @@ ${_(e)}
|
|
|
1331
1705
|
}
|
|
1332
1706
|
`;
|
|
1333
1707
|
}
|
|
1334
|
-
function
|
|
1708
|
+
function lo(a) {
|
|
1335
1709
|
const {
|
|
1336
1710
|
id: e,
|
|
1337
|
-
borderRadius:
|
|
1711
|
+
borderRadius: o,
|
|
1338
1712
|
duration: r,
|
|
1339
|
-
strokeOpacity:
|
|
1713
|
+
strokeOpacity: t,
|
|
1340
1714
|
innerOpacity: s,
|
|
1341
1715
|
bloomOpacity: i,
|
|
1342
1716
|
colorVariant: c,
|
|
1343
1717
|
staticColors: p,
|
|
1344
1718
|
brightness: b,
|
|
1345
|
-
saturation:
|
|
1719
|
+
saturation: g,
|
|
1346
1720
|
hueRange: n,
|
|
1347
1721
|
theme: l,
|
|
1348
|
-
hairlineOpacity:
|
|
1349
|
-
|
|
1350
|
-
|
|
1722
|
+
hairlineOpacity: f = 0,
|
|
1723
|
+
glowSize: W = 1
|
|
1724
|
+
} = a, y = l === "dark", d = c === "mono" ? 0.5 : 1, m = (t * d).toFixed(2), H = (s * d).toFixed(2), X = (i * d).toFixed(2), O = y ? "70, 70, 70" : "0, 0, 0", $ = f.toFixed(2), Y = `linear-gradient(rgba(${O}, ${$}), rgba(${O}, ${$}))`, { op: x } = ge("pulse-outside", l, r), w = 0.95, v = 0.9, u = R(y ? 3 : 6, W), k = R(y ? 22.5 : 15, W), z = b.toFixed(2), C = g.toFixed(2), j = p ? `filter: brightness(${z}) saturate(${C});` : `filter: hue-rotate(calc(var(--beam-hue-base, 0deg) + var(--beam-hue-${e}))) brightness(${z}) saturate(${C});`, I = `brightness(var(--beam-glow-brightness, ${z})) saturate(var(--beam-glow-saturate, ${C}))`, re = p ? `filter: blur(var(--beam-core-blur, ${u}px)) ${I};` : `filter: blur(var(--beam-core-blur, ${u}px)) hue-rotate(calc(var(--beam-hue-base, 0deg) + var(--beam-hue-${e}))) ${I};`, ae = p ? `filter: blur(var(--beam-bloom-blur, ${k}px)) ${I};` : `filter: blur(var(--beam-bloom-blur, ${k}px)) hue-rotate(calc(var(--beam-hue-base, 0deg) + var(--beam-hue-${e}))) ${I};`, T = we(Ye, c, e), V = we(Ye, c, e), te = Re(oo, c, 1 - x * 0.5), M = f > 0 ? `${T},
|
|
1725
|
+
${Y}` : T;
|
|
1351
1726
|
return `
|
|
1352
|
-
${
|
|
1727
|
+
${Me(e)}
|
|
1353
1728
|
|
|
1354
1729
|
[data-beam="${e}"] {
|
|
1355
1730
|
position: relative;
|
|
1356
|
-
border-radius: ${
|
|
1731
|
+
border-radius: ${o}px;
|
|
1357
1732
|
overflow: visible;
|
|
1358
1733
|
isolation: isolate;
|
|
1359
1734
|
}
|
|
1360
1735
|
|
|
1361
1736
|
[data-beam="${e}"][data-active] {
|
|
1362
|
-
${
|
|
1737
|
+
${ee(e, "beam-fade-in", 0.6)}
|
|
1363
1738
|
}
|
|
1364
1739
|
|
|
1365
1740
|
[data-beam="${e}"][data-fading] {
|
|
1366
|
-
${
|
|
1741
|
+
${ee(e, "beam-fade-out", 0.5)}
|
|
1367
1742
|
}
|
|
1368
|
-
${
|
|
1743
|
+
${f > 0 ? `
|
|
1369
1744
|
/* Idle hairline — painted above the (opaque) child in the inner 1px edge ring so
|
|
1370
1745
|
it overlaps a standard inset component border exactly. */
|
|
1371
1746
|
[data-beam="${e}"]::after {
|
|
1372
1747
|
content: "";
|
|
1373
1748
|
position: absolute;
|
|
1374
1749
|
inset: 0;
|
|
1375
|
-
border-radius: ${
|
|
1750
|
+
border-radius: ${o}px;
|
|
1376
1751
|
padding: 1px;
|
|
1377
|
-
clip-path: inset(0 round ${
|
|
1378
|
-
background: ${
|
|
1752
|
+
clip-path: inset(0 round ${o}px);
|
|
1753
|
+
background: ${Y};
|
|
1379
1754
|
-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
|
|
1380
1755
|
-webkit-mask-composite: xor;
|
|
1381
1756
|
mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
|
|
@@ -1389,10 +1764,10 @@ ${d > 0 ? `
|
|
|
1389
1764
|
content: "";
|
|
1390
1765
|
position: absolute;
|
|
1391
1766
|
inset: 0;
|
|
1392
|
-
border-radius: ${
|
|
1767
|
+
border-radius: ${o}px;
|
|
1393
1768
|
padding: 1px;
|
|
1394
|
-
clip-path: inset(0 round ${
|
|
1395
|
-
background: ${
|
|
1769
|
+
clip-path: inset(0 round ${o}px);
|
|
1770
|
+
background: ${M};
|
|
1396
1771
|
-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
|
|
1397
1772
|
-webkit-mask-composite: xor;
|
|
1398
1773
|
mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
|
|
@@ -1400,8 +1775,8 @@ ${d > 0 ? `
|
|
|
1400
1775
|
pointer-events: none;
|
|
1401
1776
|
z-index: 2;
|
|
1402
1777
|
will-change: opacity, filter;
|
|
1403
|
-
opacity: calc(var(--beam-opacity-${e}) * ${
|
|
1404
|
-
${
|
|
1778
|
+
opacity: calc(var(--beam-opacity-${e}) * ${m} * var(--beam-stroke-opacity, 1) * var(--beam-strength, 1));
|
|
1779
|
+
${j}
|
|
1405
1780
|
}
|
|
1406
1781
|
|
|
1407
1782
|
[data-beam="${e}"][data-active]::before,
|
|
@@ -1410,13 +1785,13 @@ ${d > 0 ? `
|
|
|
1410
1785
|
position: absolute;
|
|
1411
1786
|
inset: -10px;
|
|
1412
1787
|
z-index: -1;
|
|
1413
|
-
border-radius: ${
|
|
1414
|
-
background: ${
|
|
1415
|
-
transform: scale(${
|
|
1788
|
+
border-radius: ${o + 10}px;
|
|
1789
|
+
background: ${V};
|
|
1790
|
+
transform: scale(${w}, ${v});
|
|
1416
1791
|
pointer-events: none;
|
|
1417
1792
|
will-change: opacity, filter;
|
|
1418
|
-
opacity: calc(var(--beam-opacity-${e}) * ${
|
|
1419
|
-
${
|
|
1793
|
+
opacity: calc(var(--beam-opacity-${e}) * ${H} * var(--beam-inner-opacity, 1) * var(--beam-strength, 1));
|
|
1794
|
+
${re}
|
|
1420
1795
|
}
|
|
1421
1796
|
|
|
1422
1797
|
[data-beam="${e}"] [data-beam-bloom] {
|
|
@@ -1424,9 +1799,9 @@ ${d > 0 ? `
|
|
|
1424
1799
|
position: absolute;
|
|
1425
1800
|
inset: -30px;
|
|
1426
1801
|
z-index: -1;
|
|
1427
|
-
border-radius: ${
|
|
1428
|
-
background: ${
|
|
1429
|
-
transform: scale(${
|
|
1802
|
+
border-radius: ${o + 30}px;
|
|
1803
|
+
background: ${te};
|
|
1804
|
+
transform: scale(${w}, ${v});
|
|
1430
1805
|
pointer-events: none;
|
|
1431
1806
|
will-change: transform;
|
|
1432
1807
|
opacity: 0;
|
|
@@ -1435,13 +1810,13 @@ ${d > 0 ? `
|
|
|
1435
1810
|
[data-beam="${e}"][data-active] [data-beam-bloom],
|
|
1436
1811
|
[data-beam="${e}"][data-fading] [data-beam-bloom] {
|
|
1437
1812
|
display: block;
|
|
1438
|
-
opacity: calc(var(--beam-opacity-${e}) * ${
|
|
1439
|
-
${
|
|
1813
|
+
opacity: calc(var(--beam-opacity-${e}) * ${X} * var(--beam-bloom-opacity, 1) * var(--beam-strength, 1));
|
|
1814
|
+
${ae}
|
|
1440
1815
|
}
|
|
1441
1816
|
|
|
1442
1817
|
@keyframes beam-fade-in-${e} { to { --beam-opacity-${e}: 1; } }
|
|
1443
1818
|
@keyframes beam-fade-out-${e} { from { --beam-opacity-${e}: 1; } to { --beam-opacity-${e}: 0; } }
|
|
1444
|
-
${
|
|
1819
|
+
${N(e)}
|
|
1445
1820
|
|
|
1446
1821
|
@media (prefers-reduced-motion: reduce) {
|
|
1447
1822
|
[data-beam="${e}"][data-active],
|
|
@@ -1457,34 +1832,35 @@ ${_(e)}
|
|
|
1457
1832
|
}
|
|
1458
1833
|
`;
|
|
1459
1834
|
}
|
|
1460
|
-
function
|
|
1835
|
+
function fo(a) {
|
|
1461
1836
|
const {
|
|
1462
1837
|
id: e,
|
|
1463
|
-
borderRadius:
|
|
1838
|
+
borderRadius: o,
|
|
1464
1839
|
borderWidth: r,
|
|
1465
|
-
duration:
|
|
1840
|
+
duration: t,
|
|
1466
1841
|
strokeOpacity: s,
|
|
1467
1842
|
innerOpacity: i,
|
|
1468
1843
|
bloomOpacity: c,
|
|
1469
1844
|
innerShadow: p,
|
|
1470
1845
|
colorVariant: b,
|
|
1471
|
-
staticColors:
|
|
1846
|
+
staticColors: g,
|
|
1472
1847
|
brightness: n,
|
|
1473
1848
|
saturation: l,
|
|
1474
|
-
hueRange:
|
|
1475
|
-
theme:
|
|
1476
|
-
|
|
1849
|
+
hueRange: f,
|
|
1850
|
+
theme: W,
|
|
1851
|
+
glowSize: y = 1
|
|
1852
|
+
} = a, d = Math.max(0, o - r), m = W === "dark", H = s, X = i, O = c, $ = g ? "" : `animation: beam-hue-shift-${e} 12s ease-in-out infinite;`, Y = g ? "" : `animation: beam-hue-shift-bloom-${e} 8s ease-in-out infinite;`, x = g ? "" : `
|
|
1477
1853
|
@keyframes beam-hue-shift-${e} {
|
|
1478
|
-
0% { filter: hue-rotate(calc(var(--beam-hue-base, 0deg) - ${
|
|
1479
|
-
50% { filter: hue-rotate(calc(var(--beam-hue-base, 0deg) + ${
|
|
1480
|
-
100% { filter: hue-rotate(calc(var(--beam-hue-base, 0deg) - ${
|
|
1854
|
+
0% { filter: hue-rotate(calc(var(--beam-hue-base, 0deg) - ${f}deg)) brightness(${n.toFixed(2)}) saturate(${l.toFixed(2)}); }
|
|
1855
|
+
50% { filter: hue-rotate(calc(var(--beam-hue-base, 0deg) + ${f}deg)) brightness(${n.toFixed(2)}) saturate(${l.toFixed(2)}); }
|
|
1856
|
+
100% { filter: hue-rotate(calc(var(--beam-hue-base, 0deg) - ${f}deg)) brightness(${n.toFixed(2)}) saturate(${l.toFixed(2)}); }
|
|
1481
1857
|
}
|
|
1482
1858
|
|
|
1483
1859
|
@keyframes beam-hue-shift-bloom-${e} {
|
|
1484
|
-
0% { filter: blur(
|
|
1485
|
-
50% { filter: blur(
|
|
1486
|
-
100% { filter: blur(
|
|
1487
|
-
}`,
|
|
1860
|
+
0% { filter: blur(${R(8, y)}px) hue-rotate(calc(var(--beam-hue-base, 0deg) - ${f + 10}deg)) brightness(${n.toFixed(2)}) saturate(${l.toFixed(2)}); }
|
|
1861
|
+
50% { filter: blur(${R(8, y)}px) hue-rotate(calc(var(--beam-hue-base, 0deg) + ${f + 10}deg)) brightness(${n.toFixed(2)}) saturate(${l.toFixed(2)}); }
|
|
1862
|
+
100% { filter: blur(${R(8, y)}px) hue-rotate(calc(var(--beam-hue-base, 0deg) - ${f + 10}deg)) brightness(${n.toFixed(2)}) saturate(${l.toFixed(2)}); }
|
|
1863
|
+
}`, w = m ? `radial-gradient(
|
|
1488
1864
|
ellipse calc(24px * var(--beam-w-${e})) calc(28px * var(--beam-h-${e})) at calc(var(--beam-x-${e}) * 100%) calc(100% + 2px),
|
|
1489
1865
|
rgba(255, 255, 255, 0.38) 0%,
|
|
1490
1866
|
rgba(255, 255, 255, 0.12) 30%,
|
|
@@ -1494,7 +1870,7 @@ function ba(t) {
|
|
|
1494
1870
|
rgba(0, 0, 0, 0.6) 0%,
|
|
1495
1871
|
rgba(0, 0, 0, 0.25) 35%,
|
|
1496
1872
|
transparent 70%
|
|
1497
|
-
)`,
|
|
1873
|
+
)`, v = De(b, m, e), u = Ke(b, e), k = Ze(b, m, e), z = b === "mono" ? "filter: blur(6px);" : "";
|
|
1498
1874
|
return `
|
|
1499
1875
|
@property --beam-x-${e} {
|
|
1500
1876
|
syntax: "<number>";
|
|
@@ -1540,27 +1916,27 @@ function ba(t) {
|
|
|
1540
1916
|
|
|
1541
1917
|
[data-beam="${e}"] {
|
|
1542
1918
|
position: relative;
|
|
1543
|
-
border-radius: ${
|
|
1919
|
+
border-radius: ${o}px;
|
|
1544
1920
|
overflow: hidden;
|
|
1545
1921
|
}
|
|
1546
1922
|
|
|
1547
1923
|
[data-beam="${e}"][data-active] {
|
|
1548
1924
|
animation:
|
|
1549
|
-
beam-travel-${e} ${
|
|
1550
|
-
beam-edge-fade-${e} ${
|
|
1551
|
-
beam-breathe-${e} ${(
|
|
1552
|
-
beam-spike-${e} ${(
|
|
1553
|
-
beam-spike2-${e} ${(
|
|
1925
|
+
beam-travel-${e} ${t}s linear infinite,
|
|
1926
|
+
beam-edge-fade-${e} ${t}s linear infinite,
|
|
1927
|
+
beam-breathe-${e} ${(t * 1.3).toFixed(1)}s ease-in-out infinite,
|
|
1928
|
+
beam-spike-${e} ${(t * 1.33).toFixed(1)}s ease-in-out infinite,
|
|
1929
|
+
beam-spike2-${e} ${(t * 1.7).toFixed(1)}s ease-in-out infinite,
|
|
1554
1930
|
beam-fade-in-${e} 0.6s ease forwards;
|
|
1555
1931
|
}
|
|
1556
1932
|
|
|
1557
1933
|
[data-beam="${e}"][data-fading] {
|
|
1558
1934
|
animation:
|
|
1559
|
-
beam-travel-${e} ${
|
|
1560
|
-
beam-edge-fade-${e} ${
|
|
1561
|
-
beam-breathe-${e} ${(
|
|
1562
|
-
beam-spike-${e} ${(
|
|
1563
|
-
beam-spike2-${e} ${(
|
|
1935
|
+
beam-travel-${e} ${t}s linear infinite,
|
|
1936
|
+
beam-edge-fade-${e} ${t}s linear infinite,
|
|
1937
|
+
beam-breathe-${e} ${(t * 1.3).toFixed(1)}s ease-in-out infinite,
|
|
1938
|
+
beam-spike-${e} ${(t * 1.33).toFixed(1)}s ease-in-out infinite,
|
|
1939
|
+
beam-spike2-${e} ${(t * 1.7).toFixed(1)}s ease-in-out infinite,
|
|
1564
1940
|
beam-fade-out-${e} 0.5s ease forwards;
|
|
1565
1941
|
}
|
|
1566
1942
|
|
|
@@ -1569,10 +1945,10 @@ function ba(t) {
|
|
|
1569
1945
|
content: "";
|
|
1570
1946
|
position: absolute;
|
|
1571
1947
|
inset: 0;
|
|
1572
|
-
border-radius: ${
|
|
1948
|
+
border-radius: ${d}px;
|
|
1573
1949
|
padding: ${r}px;
|
|
1574
|
-
clip-path: inset(0 round ${
|
|
1575
|
-
background: ${
|
|
1950
|
+
clip-path: inset(0 round ${o}px);
|
|
1951
|
+
background: ${w}, ${v};
|
|
1576
1952
|
-webkit-mask:
|
|
1577
1953
|
radial-gradient(
|
|
1578
1954
|
ellipse calc(78px * var(--beam-w-${e})) calc(60px * var(--beam-h-${e})) at calc(var(--beam-x-${e}) * 100%) 100%,
|
|
@@ -1591,8 +1967,8 @@ function ba(t) {
|
|
|
1591
1967
|
mask-composite: intersect, exclude;
|
|
1592
1968
|
pointer-events: none;
|
|
1593
1969
|
z-index: 2;
|
|
1594
|
-
opacity: calc(var(--beam-opacity-${e}) * var(--beam-edge-${e}) * ${
|
|
1595
|
-
${
|
|
1970
|
+
opacity: calc(var(--beam-opacity-${e}) * var(--beam-edge-${e}) * ${H.toFixed(2)} * var(--beam-stroke-opacity, 1) * var(--beam-strength, 1));
|
|
1971
|
+
${$}
|
|
1596
1972
|
}
|
|
1597
1973
|
|
|
1598
1974
|
[data-beam="${e}"][data-active]::before,
|
|
@@ -1600,8 +1976,8 @@ function ba(t) {
|
|
|
1600
1976
|
content: "";
|
|
1601
1977
|
position: absolute;
|
|
1602
1978
|
inset: 0;
|
|
1603
|
-
border-radius: ${
|
|
1604
|
-
background: ${
|
|
1979
|
+
border-radius: ${o}px;
|
|
1980
|
+
background: ${u};
|
|
1605
1981
|
box-shadow: inset 0 0 9px 1px ${p};
|
|
1606
1982
|
-webkit-mask-image:
|
|
1607
1983
|
radial-gradient(
|
|
@@ -1621,17 +1997,17 @@ function ba(t) {
|
|
|
1621
1997
|
mask-composite: intersect, add;
|
|
1622
1998
|
pointer-events: none;
|
|
1623
1999
|
z-index: 1;
|
|
1624
|
-
opacity: calc(var(--beam-opacity-${e}) * var(--beam-edge-${e}) * ${
|
|
1625
|
-
clip-path: inset(0 round ${
|
|
1626
|
-
${
|
|
2000
|
+
opacity: calc(var(--beam-opacity-${e}) * var(--beam-edge-${e}) * ${X.toFixed(2)} * var(--beam-inner-opacity, 1) * var(--beam-strength, 1));
|
|
2001
|
+
clip-path: inset(0 round ${o}px);
|
|
2002
|
+
${$}
|
|
1627
2003
|
}
|
|
1628
2004
|
|
|
1629
2005
|
[data-beam="${e}"] [data-beam-bloom] {
|
|
1630
2006
|
display: none;
|
|
1631
2007
|
position: absolute;
|
|
1632
2008
|
inset: 0;
|
|
1633
|
-
border-radius: ${
|
|
1634
|
-
clip-path: inset(0 round ${
|
|
2009
|
+
border-radius: ${d}px;
|
|
2010
|
+
clip-path: inset(0 round ${o}px);
|
|
1635
2011
|
padding: 0;
|
|
1636
2012
|
-webkit-mask: radial-gradient(
|
|
1637
2013
|
ellipse calc(84px * var(--beam-w-${e})) calc(110px * var(--beam-h-${e})) at calc(var(--beam-x-${e}) * 100%) 100%,
|
|
@@ -1643,8 +2019,8 @@ function ba(t) {
|
|
|
1643
2019
|
white 0%, rgba(255, 255, 255, 0.5) 35%, transparent 100%
|
|
1644
2020
|
);
|
|
1645
2021
|
mask-composite: add;
|
|
1646
|
-
background: ${
|
|
1647
|
-
${
|
|
2022
|
+
background: ${k};
|
|
2023
|
+
${z}
|
|
1648
2024
|
pointer-events: none;
|
|
1649
2025
|
z-index: 3;
|
|
1650
2026
|
opacity: 0;
|
|
@@ -1653,8 +2029,8 @@ function ba(t) {
|
|
|
1653
2029
|
[data-beam="${e}"][data-active] [data-beam-bloom],
|
|
1654
2030
|
[data-beam="${e}"][data-fading] [data-beam-bloom] {
|
|
1655
2031
|
display: block;
|
|
1656
|
-
opacity: calc(var(--beam-opacity-${e}) * var(--beam-edge-${e}) * ${
|
|
1657
|
-
${
|
|
2032
|
+
opacity: calc(var(--beam-opacity-${e}) * var(--beam-edge-${e}) * ${O.toFixed(2)} * var(--beam-bloom-opacity, 1) * var(--beam-strength, 1));
|
|
2033
|
+
${Y}
|
|
1658
2034
|
}
|
|
1659
2035
|
|
|
1660
2036
|
@keyframes beam-travel-${e} {
|
|
@@ -1711,209 +2087,214 @@ function ba(t) {
|
|
|
1711
2087
|
from { --beam-opacity-${e}: 1; }
|
|
1712
2088
|
to { --beam-opacity-${e}: 0; }
|
|
1713
2089
|
}
|
|
1714
|
-
${
|
|
1715
|
-
${
|
|
2090
|
+
${x}
|
|
2091
|
+
${N(e)}
|
|
1716
2092
|
`;
|
|
1717
2093
|
}
|
|
1718
|
-
const
|
|
1719
|
-
let
|
|
1720
|
-
const
|
|
1721
|
-
function
|
|
1722
|
-
return (1 - Math.cos(
|
|
1723
|
-
}
|
|
1724
|
-
function
|
|
1725
|
-
if (
|
|
1726
|
-
|
|
1727
|
-
const e =
|
|
1728
|
-
|
|
1729
|
-
for (const
|
|
1730
|
-
const s = (e -
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
2094
|
+
const oe = /* @__PURE__ */ new Set();
|
|
2095
|
+
let _ = null, le = 0;
|
|
2096
|
+
const go = 1e3 / 30 - 2, mo = Math.PI * 2;
|
|
2097
|
+
function Oe(a) {
|
|
2098
|
+
return (1 - Math.cos(mo * a)) / 2;
|
|
2099
|
+
}
|
|
2100
|
+
function qe(a) {
|
|
2101
|
+
if (_ = requestAnimationFrame(qe), a - le < go) return;
|
|
2102
|
+
le = a;
|
|
2103
|
+
const e = a / 1e3;
|
|
2104
|
+
oe.forEach(({ el: o, config: r }) => {
|
|
2105
|
+
for (const t of r.oscillators) {
|
|
2106
|
+
const s = (e - t.delay) / t.period, i = t.a + (t.b - t.a) * Oe(s);
|
|
2107
|
+
o.style.setProperty(
|
|
2108
|
+
t.prop,
|
|
2109
|
+
t.unit === "px" ? `${i.toFixed(2)}px` : i.toFixed(4)
|
|
1734
2110
|
);
|
|
1735
2111
|
}
|
|
1736
2112
|
if (r.hue) {
|
|
1737
|
-
const { prop:
|
|
1738
|
-
|
|
2113
|
+
const { prop: t, range: s, period: i, continuous: c } = r.hue, p = c ? e / i % 1 * s : -s + 2 * s * Oe(e / i);
|
|
2114
|
+
o.style.setProperty(t, `${p.toFixed(2)}deg`);
|
|
1739
2115
|
}
|
|
1740
2116
|
});
|
|
1741
2117
|
}
|
|
1742
|
-
function
|
|
1743
|
-
|
|
2118
|
+
function xo() {
|
|
2119
|
+
_ == null && (le = 0, _ = requestAnimationFrame(qe));
|
|
1744
2120
|
}
|
|
1745
|
-
function
|
|
1746
|
-
|
|
2121
|
+
function $o() {
|
|
2122
|
+
oe.size === 0 && _ != null && (cancelAnimationFrame(_), _ = null);
|
|
1747
2123
|
}
|
|
1748
|
-
function
|
|
1749
|
-
const
|
|
1750
|
-
return
|
|
1751
|
-
|
|
2124
|
+
function zo(a, e) {
|
|
2125
|
+
const o = { el: a, config: e };
|
|
2126
|
+
return oe.add(o), xo(), () => {
|
|
2127
|
+
oe.delete(o), $o();
|
|
1752
2128
|
};
|
|
1753
2129
|
}
|
|
1754
|
-
function
|
|
1755
|
-
const [
|
|
1756
|
-
return
|
|
2130
|
+
function uo() {
|
|
2131
|
+
const [a, e] = E(() => typeof window > "u" || window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light");
|
|
2132
|
+
return A(() => {
|
|
1757
2133
|
if (typeof window > "u") return;
|
|
1758
|
-
const
|
|
1759
|
-
e(
|
|
2134
|
+
const o = window.matchMedia("(prefers-color-scheme: dark)"), r = (t) => {
|
|
2135
|
+
e(t.matches ? "dark" : "light");
|
|
1760
2136
|
};
|
|
1761
|
-
return
|
|
1762
|
-
}, []),
|
|
2137
|
+
return o.addEventListener("change", r), () => o.removeEventListener("change", r);
|
|
2138
|
+
}, []), a;
|
|
1763
2139
|
}
|
|
1764
|
-
function
|
|
1765
|
-
return
|
|
2140
|
+
function ho(a, e) {
|
|
2141
|
+
return a === "auto" ? e : a;
|
|
1766
2142
|
}
|
|
1767
|
-
const
|
|
2143
|
+
const Wo = Le(
|
|
1768
2144
|
function({
|
|
1769
2145
|
children: e,
|
|
1770
|
-
size:
|
|
2146
|
+
size: o = "md",
|
|
1771
2147
|
colorVariant: r = "colorful",
|
|
1772
|
-
theme:
|
|
2148
|
+
theme: t = "dark",
|
|
1773
2149
|
staticColors: s = !1,
|
|
1774
2150
|
duration: i,
|
|
1775
2151
|
active: c = !0,
|
|
1776
2152
|
borderRadius: p,
|
|
1777
2153
|
brightness: b,
|
|
1778
|
-
saturation:
|
|
2154
|
+
saturation: g,
|
|
1779
2155
|
hueRange: n = 30,
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
2156
|
+
glowSize: l = 1,
|
|
2157
|
+
strength: f = 1,
|
|
2158
|
+
className: W,
|
|
2159
|
+
style: y,
|
|
2160
|
+
css: d,
|
|
2161
|
+
onActivate: m,
|
|
2162
|
+
onDeactivate: H,
|
|
2163
|
+
onAnimationEnd: X,
|
|
2164
|
+
...O
|
|
2165
|
+
}, $) {
|
|
2166
|
+
const x = Be().replace(/:/g, "-"), w = uo(), v = Pe(null), [u, k] = E(c), [z, C] = E(!1), [j, I] = E(!0), [re, ae] = E(null), [T, V] = E({ x: 1, y: 1 });
|
|
2167
|
+
A(() => {
|
|
1790
2168
|
if (p != null) return;
|
|
1791
|
-
const h =
|
|
2169
|
+
const h = v.current;
|
|
1792
2170
|
if (!h) return;
|
|
1793
|
-
const
|
|
1794
|
-
const
|
|
1795
|
-
if (!
|
|
1796
|
-
const
|
|
1797
|
-
!isNaN(
|
|
2171
|
+
const S = () => {
|
|
2172
|
+
const B = h.firstElementChild;
|
|
2173
|
+
if (!B) return;
|
|
2174
|
+
const ce = getComputedStyle(B), P = parseFloat(ce.borderTopLeftRadius);
|
|
2175
|
+
!isNaN(P) && P > 0 && ae(P);
|
|
1798
2176
|
};
|
|
1799
|
-
|
|
1800
|
-
const
|
|
1801
|
-
return
|
|
1802
|
-
}, [p, e]),
|
|
1803
|
-
c && !
|
|
1804
|
-
}, [c,
|
|
1805
|
-
const h =
|
|
2177
|
+
S();
|
|
2178
|
+
const L = new MutationObserver(S);
|
|
2179
|
+
return L.observe(h, { childList: !0, subtree: !1 }), () => L.disconnect();
|
|
2180
|
+
}, [p, e]), A(() => {
|
|
2181
|
+
c && !u && !z ? k(!0) : !c && u && !z && C(!0);
|
|
2182
|
+
}, [c, u, z]), A(() => {
|
|
2183
|
+
const h = v.current;
|
|
1806
2184
|
if (!h || typeof IntersectionObserver > "u") return;
|
|
1807
|
-
const
|
|
1808
|
-
(
|
|
1809
|
-
for (const
|
|
2185
|
+
const S = new IntersectionObserver(
|
|
2186
|
+
(L) => {
|
|
2187
|
+
for (const B of L) I(B.isIntersecting);
|
|
1810
2188
|
},
|
|
1811
2189
|
// Start animating slightly before the element scrolls into view.
|
|
1812
2190
|
{ rootMargin: "256px" }
|
|
1813
2191
|
);
|
|
1814
|
-
return
|
|
1815
|
-
}, []),
|
|
1816
|
-
if (
|
|
1817
|
-
|
|
2192
|
+
return S.observe(h), () => S.disconnect();
|
|
2193
|
+
}, []), A(() => {
|
|
2194
|
+
if (o !== "pulse-outside") {
|
|
2195
|
+
V({ x: 1, y: 1 });
|
|
1818
2196
|
return;
|
|
1819
2197
|
}
|
|
1820
|
-
const h =
|
|
2198
|
+
const h = v.current;
|
|
1821
2199
|
if (!h) return;
|
|
1822
|
-
const
|
|
1823
|
-
const
|
|
1824
|
-
if (!
|
|
1825
|
-
const
|
|
1826
|
-
if (!
|
|
1827
|
-
const
|
|
1828
|
-
|
|
2200
|
+
const S = 350, L = 140, B = 0.35, ce = 4, P = (Q) => Math.max(B, Math.min(ce, Q)), ze = () => {
|
|
2201
|
+
const Q = h.firstElementChild;
|
|
2202
|
+
if (!Q) return;
|
|
2203
|
+
const Z = Q.getBoundingClientRect();
|
|
2204
|
+
if (!Z.width || !Z.height) return;
|
|
2205
|
+
const ye = +P(Z.width / S).toFixed(3), ke = +P(Z.height / L).toFixed(3);
|
|
2206
|
+
V((be) => be.x === ye && be.y === ke ? be : { x: ye, y: ke });
|
|
1829
2207
|
};
|
|
1830
|
-
if (
|
|
1831
|
-
const
|
|
1832
|
-
if (!
|
|
1833
|
-
const
|
|
1834
|
-
return
|
|
1835
|
-
}, [
|
|
1836
|
-
const
|
|
2208
|
+
if (ze(), typeof ResizeObserver > "u") return;
|
|
2209
|
+
const ue = h.firstElementChild;
|
|
2210
|
+
if (!ue) return;
|
|
2211
|
+
const he = new ResizeObserver(ze);
|
|
2212
|
+
return he.observe(ue), () => he.disconnect();
|
|
2213
|
+
}, [o, e]);
|
|
2214
|
+
const te = He(
|
|
1837
2215
|
(h) => {
|
|
1838
|
-
const
|
|
1839
|
-
|
|
2216
|
+
const S = h.animationName;
|
|
2217
|
+
S.includes("fade-out") ? (k(!1), C(!1), H == null || H()) : S.includes("fade-in") && (m == null || m()), X == null || X(h);
|
|
1840
2218
|
},
|
|
1841
|
-
[
|
|
1842
|
-
),
|
|
1843
|
-
() =>
|
|
1844
|
-
id:
|
|
1845
|
-
borderRadius:
|
|
1846
|
-
borderWidth:
|
|
1847
|
-
duration:
|
|
1848
|
-
strokeOpacity:
|
|
1849
|
-
innerOpacity:
|
|
1850
|
-
bloomOpacity:
|
|
1851
|
-
innerShadow:
|
|
1852
|
-
size:
|
|
2219
|
+
[m, H, X]
|
|
2220
|
+
), M = ho(t, w), F = pe[o][M], se = Ee[o], ie = o === "pulse-inner" || o === "pulse-outside", de = p ?? re ?? se.borderRadius, D = i ?? (o === "line" ? 3.1 : ie ? 2.3 : 1.96), me = g ?? F.saturation, xe = b ?? F.brightness ?? 1.3, U = o === "line" ? Math.min(n, 13) : n, K = r === "mono" ? !0 : s, $e = Xe(
|
|
2221
|
+
() => no({
|
|
2222
|
+
id: x,
|
|
2223
|
+
borderRadius: de,
|
|
2224
|
+
borderWidth: se.borderWidth,
|
|
2225
|
+
duration: D,
|
|
2226
|
+
strokeOpacity: F.strokeOpacity,
|
|
2227
|
+
innerOpacity: F.innerOpacity,
|
|
2228
|
+
bloomOpacity: F.bloomOpacity,
|
|
2229
|
+
innerShadow: F.innerShadow,
|
|
2230
|
+
size: o,
|
|
1853
2231
|
colorVariant: r,
|
|
1854
|
-
staticColors:
|
|
1855
|
-
brightness:
|
|
1856
|
-
saturation:
|
|
1857
|
-
hueRange:
|
|
1858
|
-
theme:
|
|
1859
|
-
hairlineOpacity:
|
|
2232
|
+
staticColors: K,
|
|
2233
|
+
brightness: xe,
|
|
2234
|
+
saturation: me,
|
|
2235
|
+
hueRange: U,
|
|
2236
|
+
theme: M,
|
|
2237
|
+
hairlineOpacity: F.hairlineOpacity,
|
|
2238
|
+
glowSize: l
|
|
1860
2239
|
}),
|
|
1861
2240
|
[
|
|
1862
|
-
|
|
1863
|
-
le,
|
|
1864
|
-
re.borderWidth,
|
|
1865
|
-
T,
|
|
1866
|
-
O.strokeOpacity,
|
|
1867
|
-
O.innerOpacity,
|
|
1868
|
-
O.bloomOpacity,
|
|
1869
|
-
O.innerShadow,
|
|
1870
|
-
O.hairlineOpacity,
|
|
1871
|
-
a,
|
|
1872
|
-
r,
|
|
1873
|
-
V,
|
|
1874
|
-
fe,
|
|
2241
|
+
x,
|
|
1875
2242
|
de,
|
|
1876
|
-
|
|
1877
|
-
|
|
2243
|
+
se.borderWidth,
|
|
2244
|
+
D,
|
|
2245
|
+
F.strokeOpacity,
|
|
2246
|
+
F.innerOpacity,
|
|
2247
|
+
F.bloomOpacity,
|
|
2248
|
+
F.innerShadow,
|
|
2249
|
+
F.hairlineOpacity,
|
|
2250
|
+
o,
|
|
2251
|
+
r,
|
|
2252
|
+
K,
|
|
2253
|
+
xe,
|
|
2254
|
+
me,
|
|
2255
|
+
U,
|
|
2256
|
+
l,
|
|
2257
|
+
M
|
|
1878
2258
|
]
|
|
1879
|
-
),
|
|
1880
|
-
() =>
|
|
1881
|
-
[
|
|
2259
|
+
), ne = Xe(
|
|
2260
|
+
() => ie ? io(o, M, D, U, K, x) : null,
|
|
2261
|
+
[ie, o, M, D, U, K, x]
|
|
1882
2262
|
);
|
|
1883
|
-
|
|
1884
|
-
var
|
|
1885
|
-
if (!
|
|
1886
|
-
const h =
|
|
1887
|
-
if (h && !(typeof window < "u" && ((
|
|
1888
|
-
return
|
|
1889
|
-
}, [
|
|
1890
|
-
const
|
|
2263
|
+
A(() => {
|
|
2264
|
+
var S;
|
|
2265
|
+
if (!ne || !(u || z) || !j) return;
|
|
2266
|
+
const h = v.current;
|
|
2267
|
+
if (h && !(typeof window < "u" && ((S = window.matchMedia) != null && S.call(window, "(prefers-reduced-motion: reduce)").matches)))
|
|
2268
|
+
return zo(h, ne);
|
|
2269
|
+
}, [ne, u, z, j]);
|
|
2270
|
+
const Ge = He(
|
|
1891
2271
|
(h) => {
|
|
1892
|
-
|
|
2272
|
+
v.current = h, typeof $ == "function" ? $(h) : $ && ($.current = h);
|
|
1893
2273
|
},
|
|
1894
|
-
[
|
|
1895
|
-
),
|
|
1896
|
-
...
|
|
1897
|
-
"--beam-strength": Math.max(0, Math.min(1,
|
|
1898
|
-
...
|
|
2274
|
+
[$]
|
|
2275
|
+
), Ce = {
|
|
2276
|
+
...y ?? {},
|
|
2277
|
+
"--beam-strength": Math.max(0, Math.min(1, f)),
|
|
2278
|
+
...o === "pulse-outside" ? { "--pulse-glow-sx": T.x, "--pulse-glow-sy": T.y } : {}
|
|
1899
2279
|
};
|
|
1900
|
-
return /* @__PURE__ */
|
|
1901
|
-
/* @__PURE__ */
|
|
1902
|
-
|
|
2280
|
+
return /* @__PURE__ */ ve(Ie, { children: [
|
|
2281
|
+
/* @__PURE__ */ We("style", { children: d ? `${$e}
|
|
2282
|
+
${d.split("{id}").join(x)}` : $e }),
|
|
2283
|
+
/* @__PURE__ */ ve(
|
|
1903
2284
|
"div",
|
|
1904
2285
|
{
|
|
1905
|
-
...
|
|
1906
|
-
ref:
|
|
1907
|
-
"data-beam":
|
|
1908
|
-
"data-active":
|
|
1909
|
-
"data-fading":
|
|
1910
|
-
"data-paused":
|
|
1911
|
-
className:
|
|
1912
|
-
style:
|
|
1913
|
-
onAnimationEnd:
|
|
2286
|
+
...O,
|
|
2287
|
+
ref: Ge,
|
|
2288
|
+
"data-beam": x,
|
|
2289
|
+
"data-active": u && !z ? "" : void 0,
|
|
2290
|
+
"data-fading": z ? "" : void 0,
|
|
2291
|
+
"data-paused": u && !z && !j ? "" : void 0,
|
|
2292
|
+
className: W,
|
|
2293
|
+
style: Ce,
|
|
2294
|
+
onAnimationEnd: te,
|
|
1914
2295
|
children: [
|
|
1915
2296
|
e,
|
|
1916
|
-
/* @__PURE__ */
|
|
2297
|
+
/* @__PURE__ */ We("div", { "data-beam-bloom": !0 })
|
|
1917
2298
|
]
|
|
1918
2299
|
}
|
|
1919
2300
|
)
|
|
@@ -1921,9 +2302,9 @@ const za = Ge(
|
|
|
1921
2302
|
}
|
|
1922
2303
|
);
|
|
1923
2304
|
export {
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
2305
|
+
Wo as BorderBeam,
|
|
2306
|
+
Wo as default,
|
|
2307
|
+
Ee as sizePresets,
|
|
2308
|
+
pe as sizeThemePresets,
|
|
2309
|
+
vo as themeColors
|
|
1929
2310
|
};
|