@vezham/react 0.2.2 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,2124 @@
1
+ var kr = (o) => o ? "" : void 0, _r = process.env.NODE_ENV !== "production";
2
+ process.env.NODE_ENV;
3
+ function N(o) {
4
+ return Array.isArray(o);
5
+ }
6
+ function ge(o) {
7
+ return N(o) && o.length === 0;
8
+ }
9
+ function R(o) {
10
+ const c = typeof o;
11
+ return o != null && (c === "object" || c === "function") && !N(o);
12
+ }
13
+ function pe(o) {
14
+ return R(o) && Object.keys(o).length === 0;
15
+ }
16
+ function zr(o) {
17
+ return N(o) ? ge(o) : R(o) ? pe(o) : o == null || o === "";
18
+ }
19
+ function Fr(o) {
20
+ return typeof o == "function";
21
+ }
22
+ var Ar = (o) => o ? "true" : void 0;
23
+ function ie(o) {
24
+ var c, l, p = "";
25
+ if (typeof o == "string" || typeof o == "number")
26
+ p += o;
27
+ else if (typeof o == "object")
28
+ if (Array.isArray(o))
29
+ for (c = 0; c < o.length; c++)
30
+ o[c] && (l = ie(o[c])) && (p && (p += " "), p += l);
31
+ else
32
+ for (c in o)
33
+ o[c] && (p && (p += " "), p += c);
34
+ return p;
35
+ }
36
+ function be(...o) {
37
+ for (var c = 0, l, p, e = ""; c < o.length; )
38
+ (l = o[c++]) && (p = ie(l)) && (e && (e += " "), e += p);
39
+ return e;
40
+ }
41
+ var Er = (o, c) => R(o) ? o instanceof Array ? [...o] : o[c] : o;
42
+ function Mr(o) {
43
+ const c = Object.assign({}, o);
44
+ for (let l in c)
45
+ c[l] === void 0 && delete c[l];
46
+ return c;
47
+ }
48
+ var me = (o) => o?.length <= 4 ? o : o?.slice(0, 3), Or = (o) => {
49
+ const c = o?.trim().split(/[\s\-_.]+/).filter(Boolean).map((l) => l.charAt(0).toUpperCase()).join("") || "";
50
+ return me(c);
51
+ }, jr = (...o) => {
52
+ let c = " ";
53
+ for (const l of o)
54
+ if (typeof l == "string" && l.length > 0) {
55
+ c = l;
56
+ break;
57
+ }
58
+ return c;
59
+ }, $r = (o) => o ? o.charAt(0).toUpperCase() + o.slice(1).toLowerCase() : "";
60
+ function Cr(...o) {
61
+ return function(l) {
62
+ o.some((p) => (p?.(l), l?.defaultPrevented));
63
+ };
64
+ }
65
+ function Dr(o) {
66
+ return `${o}-${Math.floor(Math.random() * 1e6)}`;
67
+ }
68
+ function Tr(o) {
69
+ for (const c in o)
70
+ c.startsWith("on") && delete o[c];
71
+ return o;
72
+ }
73
+ function Lr(o) {
74
+ if (!o || typeof o != "object")
75
+ return "";
76
+ try {
77
+ return JSON.stringify(o);
78
+ } catch {
79
+ return "";
80
+ }
81
+ }
82
+ function qr(o, c = 0) {
83
+ let l;
84
+ return function(...p) {
85
+ const e = () => {
86
+ l = void 0, o.apply(this, p);
87
+ };
88
+ l !== void 0 && clearTimeout(l), l = setTimeout(e, c);
89
+ };
90
+ }
91
+ var ye = (o, c) => {
92
+ const l = Object.assign({}, o);
93
+ return c.forEach((p) => {
94
+ delete l[p];
95
+ }), l;
96
+ }, ve = (o) => o.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase(), we = (o, c) => Object.fromEntries(
97
+ Object.entries(o).map(([l, p]) => [c(p, l), p])
98
+ );
99
+ function Sr(o, c) {
100
+ const l = c - o + 1;
101
+ return Array.from({ length: l }, (p, e) => e + o);
102
+ }
103
+ function Ur(o, c, l) {
104
+ return Math.min(Math.max(o, c), l);
105
+ }
106
+ function Ir(o, c = 100) {
107
+ return Math.min(Math.max(o, 0), c);
108
+ }
109
+ var K = {};
110
+ function Nr(o, c, ...l) {
111
+ const e = `[Hero UI]${c ? ` [${c}]` : " "}: ${o}`;
112
+ if (!(typeof console > "u") && !K[e] && (K[e] = !0, process.env.NODE_ENV !== "production"))
113
+ return console.warn(e, l);
114
+ }
115
+ function Rr(o) {
116
+ switch (o) {
117
+ case "buddhist":
118
+ return 543;
119
+ case "ethiopic":
120
+ case "ethioaa":
121
+ return -8;
122
+ case "coptic":
123
+ return -284;
124
+ case "hebrew":
125
+ return 3760;
126
+ case "indian":
127
+ return -78;
128
+ case "islamic-civil":
129
+ case "islamic-tbla":
130
+ case "islamic-umalqura":
131
+ return -579;
132
+ case "persian":
133
+ return -600;
134
+ case "roc":
135
+ case "japanese":
136
+ case "gregory":
137
+ default:
138
+ return 0;
139
+ }
140
+ }
141
+ var Pr = (o) => /(^|\W)[0-9](\W|$)/.test(o) && !/[^\d\^$\[\]\(\)\*\+\-\.\|]/.test(o);
142
+ function xe(...o) {
143
+ return (...c) => {
144
+ for (let l of o)
145
+ typeof l == "function" && l(...c);
146
+ };
147
+ }
148
+ var B = /* @__PURE__ */ new Map();
149
+ function ke(o, c) {
150
+ if (o === c)
151
+ return o;
152
+ let l = B.get(o);
153
+ if (l)
154
+ return l.forEach((e) => e.current = c), c;
155
+ let p = B.get(c);
156
+ return p ? (p.forEach((e) => e.current = o), o) : c;
157
+ }
158
+ function Vr(...o) {
159
+ let c = { ...o[0] };
160
+ for (let l = 1; l < o.length; l++) {
161
+ let p = o[l];
162
+ for (let e in p) {
163
+ let t = c[e], n = p[e];
164
+ typeof t == "function" && typeof n == "function" && // This is a lot faster than a regex.
165
+ e[0] === "o" && e[1] === "n" && e.charCodeAt(2) >= /* 'A' */
166
+ 65 && e.charCodeAt(2) <= /* 'Z' */
167
+ 90 ? c[e] = xe(t, n) : (e === "className" || e === "UNSAFE_className") && typeof t == "string" && typeof n == "string" ? c[e] = be(t, n) : e === "id" && t && n ? c.id = ke(t, n) : c[e] = n !== void 0 ? n : t;
168
+ }
169
+ }
170
+ return c;
171
+ }
172
+ function Kr(...o) {
173
+ return o.length === 1 && o[0] ? o[0] : (c) => {
174
+ let l = !1;
175
+ const p = o.map((e) => {
176
+ const t = H(e, c);
177
+ return l || (l = typeof t == "function"), t;
178
+ });
179
+ if (l)
180
+ return () => {
181
+ p.forEach((e, t) => {
182
+ typeof e == "function" ? e?.() : H(o[t], null);
183
+ });
184
+ };
185
+ };
186
+ }
187
+ function H(o, c) {
188
+ if (typeof o == "function")
189
+ return () => o(c);
190
+ o != null && "current" in o && (o.current = c);
191
+ }
192
+ var _e = {
193
+ /** Animation Utilities */
194
+ ".spinner-bar-animation": {
195
+ animation: "fade-out 1.2s linear infinite",
196
+ "animation-delay": "calc(-1.2s + (0.1s * var(--bar-index)))",
197
+ transform: "rotate(calc(30deg * var(--bar-index))) translate(140%)"
198
+ },
199
+ ".spinner-dot-animation": {
200
+ "animation-delay": "calc(250ms * var(--dot-index))"
201
+ },
202
+ ".spinner-dot-blink-animation": {
203
+ "animation-delay": "calc(200ms * var(--dot-index))"
204
+ }
205
+ }, ze = {
206
+ /**
207
+ * Custom utilities
208
+ */
209
+ ".leading-inherit": {
210
+ "line-height": "inherit"
211
+ },
212
+ ".bg-img-inherit": {
213
+ "background-image": "inherit"
214
+ },
215
+ ".bg-clip-inherit": {
216
+ "background-clip": "inherit"
217
+ },
218
+ ".text-fill-inherit": {
219
+ "-webkit-text-fill-color": "inherit"
220
+ },
221
+ ".tap-highlight-transparent": {
222
+ "-webkit-tap-highlight-color": "transparent"
223
+ },
224
+ ".input-search-cancel-button-none": {
225
+ "&::-webkit-search-cancel-button": {
226
+ "-webkit-appearance": "none"
227
+ }
228
+ }
229
+ }, Fe = {
230
+ /**
231
+ * Scroll Hide
232
+ */
233
+ ".scrollbar-hide": {
234
+ /* IE and Edge */
235
+ "-ms-overflow-style": "none",
236
+ /* Firefox */
237
+ "scrollbar-width": "none",
238
+ /* Safari and Chrome */
239
+ "&::-webkit-scrollbar": {
240
+ display: "none"
241
+ }
242
+ },
243
+ ".scrollbar-default": {
244
+ /* IE and Edge */
245
+ "-ms-overflow-style": "auto",
246
+ /* Firefox */
247
+ "scrollbar-width": "auto",
248
+ /* Safari and Chrome */
249
+ "&::-webkit-scrollbar": {
250
+ display: "block"
251
+ }
252
+ }
253
+ }, Ae = {
254
+ /**
255
+ * Text utilities
256
+ */
257
+ ".text-tiny": {
258
+ "font-size": "var(--heroui-font-size-tiny)",
259
+ "line-height": "var(--heroui-line-height-tiny)"
260
+ },
261
+ ".text-small": {
262
+ "font-size": "var(--heroui-font-size-small)",
263
+ "line-height": "var(--heroui-line-height-small)"
264
+ },
265
+ ".text-medium": {
266
+ "font-size": "var(--heroui-font-size-medium)",
267
+ "line-height": "var(--heroui-line-height-medium)"
268
+ },
269
+ ".text-large": {
270
+ "font-size": "var(--heroui-font-size-large)",
271
+ "line-height": "var(--heroui-line-height-large)"
272
+ }
273
+ }, _ = "250ms", Ee = {
274
+ /**
275
+ * Transition utilities
276
+ */
277
+ ".transition-background": {
278
+ "transition-property": "background",
279
+ "transition-timing-function": "ease",
280
+ "transition-duration": _
281
+ },
282
+ ".transition-colors-opacity": {
283
+ "transition-property": "color, background-color, border-color, text-decoration-color, fill, stroke, opacity",
284
+ "transition-timing-function": "ease",
285
+ "transition-duration": _
286
+ },
287
+ ".transition-width": {
288
+ "transition-property": "width",
289
+ "transition-timing-function": "ease",
290
+ "transition-duration": _
291
+ },
292
+ ".transition-height": {
293
+ "transition-property": "height",
294
+ "transition-timing-function": "ease",
295
+ "transition-duration": _
296
+ },
297
+ ".transition-size": {
298
+ "transition-property": "width, height",
299
+ "transition-timing-function": "ease",
300
+ "transition-duration": _
301
+ },
302
+ ".transition-left": {
303
+ "transition-property": "left",
304
+ "transition-timing-function": "ease",
305
+ "transition-duration": _
306
+ },
307
+ ".transition-transform-opacity": {
308
+ "transition-property": "transform, scale, opacity rotate",
309
+ "transition-timing-function": "ease",
310
+ "transition-duration": _
311
+ },
312
+ ".transition-transform-background": {
313
+ "transition-property": "transform, scale, background",
314
+ "transition-timing-function": "ease",
315
+ "transition-duration": _
316
+ },
317
+ ".transition-transform-colors": {
318
+ "transition-property": "transform, scale, color, background, background-color, border-color, text-decoration-color, fill, stroke",
319
+ "transition-timing-function": "ease",
320
+ "transition-duration": _
321
+ },
322
+ ".transition-transform-colors-opacity": {
323
+ "transition-property": "transform, scale, color, background, background-color, border-color, text-decoration-color, fill, stroke, opacity",
324
+ "transition-timing-function": "ease",
325
+ "transition-duration": _
326
+ }
327
+ }, Me = {
328
+ ...ze,
329
+ ...Ee,
330
+ ...Fe,
331
+ ...Ae,
332
+ ..._e
333
+ }, Oe = (o) => ({
334
+ color: `hsl(var(--${o}-foreground))`,
335
+ backgroundColor: `hsl(var(--${o}-background))`
336
+ }), Br = [
337
+ "focus-visible:z-10",
338
+ "focus-visible:outline-2",
339
+ "focus-visible:outline-focus",
340
+ "focus-visible:outline-offset-2"
341
+ ], Hr = [
342
+ "outline-solid outline-transparent",
343
+ "data-[focus-visible=true]:z-10",
344
+ "data-[focus-visible=true]:outline-2",
345
+ "data-[focus-visible=true]:outline-focus",
346
+ "data-[focus-visible=true]:outline-offset-2"
347
+ ], Wr = [
348
+ "outline-solid outline-transparent",
349
+ "group-data-[focus-visible=true]:z-10",
350
+ "group-data-[focus-visible=true]:ring-2",
351
+ "group-data-[focus-visible=true]:ring-focus",
352
+ "group-data-[focus-visible=true]:ring-offset-2",
353
+ "group-data-[focus-visible=true]:ring-offset-background"
354
+ ], Xr = [
355
+ "outline-solid outline-transparent",
356
+ "ring-2",
357
+ "ring-focus",
358
+ "ring-offset-2",
359
+ "ring-offset-background"
360
+ ], Gr = [
361
+ "absolute",
362
+ "top-1/2",
363
+ "left-1/2",
364
+ "-translate-x-1/2",
365
+ "-translate-y-1/2"
366
+ ], Jr = ["absolute", "inset-0"], Zr = {
367
+ default: ["[&+.border-medium.border-default]:ms-[calc(var(--heroui-border-width-medium)*-1)]"],
368
+ primary: ["[&+.border-medium.border-primary]:ms-[calc(var(--heroui-border-width-medium)*-1)]"],
369
+ secondary: [
370
+ "[&+.border-medium.border-secondary]:ms-[calc(var(--heroui-border-width-medium)*-1)]"
371
+ ],
372
+ success: ["[&+.border-medium.border-success]:ms-[calc(var(--heroui-border-width-medium)*-1)]"],
373
+ warning: ["[&+.border-medium.border-warning]:ms-[calc(var(--heroui-border-width-medium)*-1)]"],
374
+ danger: ["[&+.border-medium.border-danger]:ms-[calc(var(--heroui-border-width-medium)*-1)]"]
375
+ }, Yr = [
376
+ // Font styles
377
+ "font-inherit",
378
+ "text-[100%]",
379
+ "leading-[1.15]",
380
+ // Reset margins and padding
381
+ "m-0",
382
+ "p-0",
383
+ // Overflow and box-sizing
384
+ "overflow-visible",
385
+ "box-border",
386
+ // Positioning & Hit area
387
+ "absolute",
388
+ "top-0",
389
+ "w-full",
390
+ "h-full",
391
+ // Opacity and z-index
392
+ "opacity-[0.0001]",
393
+ "z-[1]",
394
+ // Cursor
395
+ "cursor-pointer",
396
+ // Disabled state
397
+ "disabled:cursor-default"
398
+ ], je = (o) => o === "light" || o === "dark";
399
+ function A(o) {
400
+ const c = {}, l = Object.keys(o), p = l.length;
401
+ for (let e = 0; e < p / 2; e++) {
402
+ const t = l[e], n = l[p - 1 - e];
403
+ c[t] = o[n], c[n] = o[t];
404
+ }
405
+ if (p % 2 !== 0) {
406
+ const e = l[Math.floor(p / 2)];
407
+ c[e] = o[e];
408
+ }
409
+ return c;
410
+ }
411
+ function $e(o) {
412
+ const c = {};
413
+ for (const l in o) {
414
+ if (l.endsWith("-DEFAULT")) {
415
+ c[l.replace("-DEFAULT", "")] = o[l];
416
+ continue;
417
+ }
418
+ c[l] = o[l];
419
+ }
420
+ return c;
421
+ }
422
+ function Ce(o) {
423
+ return o && o.constructor && typeof o.constructor.isBuffer == "function" && o.constructor.isBuffer(o);
424
+ }
425
+ function De(o) {
426
+ return o;
427
+ }
428
+ function Te(o, c) {
429
+ c = c || {};
430
+ const l = c.delimiter || ".", p = c.maxDepth, e = c.transformKey || De, t = {};
431
+ function n(a, r, i) {
432
+ i = i || 1, Object.keys(a).forEach(function(u) {
433
+ const g = a[u], s = c.safe && Array.isArray(g), f = Object.prototype.toString.call(g), h = Ce(g), d = f === "[object Object]" || f === "[object Array]", b = r ? r + l + e(u) : e(u);
434
+ if (!s && !h && d && Object.keys(g).length && (!c.maxDepth || i < p))
435
+ return n(g, b, i + 1);
436
+ t[b] = g;
437
+ });
438
+ }
439
+ return n(o, null, null), t;
440
+ }
441
+ var Le = (o) => $e(
442
+ Te(o, {
443
+ safe: !0,
444
+ delimiter: "-"
445
+ })
446
+ ), qe = {
447
+ 50: "#fefce8",
448
+ 100: "#fdedd3",
449
+ 200: "#fbdba7",
450
+ 300: "#f9c97c",
451
+ 400: "#f7b750",
452
+ 500: "#f5a524",
453
+ 600: "#c4841d",
454
+ 700: "#936316",
455
+ 800: "#62420e",
456
+ 900: "#312107"
457
+ }, Se = {
458
+ 50: "#fafafa",
459
+ 100: "#f4f4f5",
460
+ 200: "#e4e4e7",
461
+ 300: "#d4d4d8",
462
+ 400: "#a1a1aa",
463
+ 500: "#71717a",
464
+ 600: "#52525b",
465
+ 700: "#3f3f46",
466
+ 800: "#27272a",
467
+ 900: "#18181b"
468
+ }, Ue = {
469
+ 50: "#F0FCFF",
470
+ 100: "#E6FAFE",
471
+ 200: "#D7F8FE",
472
+ 300: "#C3F4FD",
473
+ 400: "#A5EEFD",
474
+ 500: "#7EE7FC",
475
+ 600: "#06B7DB",
476
+ 700: "#09AACD",
477
+ 800: "#0E8AAA",
478
+ 900: "#053B48"
479
+ }, Ie = {
480
+ 50: "#e8faf0",
481
+ 100: "#d1f4e0",
482
+ 200: "#a2e9c1",
483
+ 300: "#74dfa2",
484
+ 400: "#45d483",
485
+ 500: "#17c964",
486
+ 600: "#12a150",
487
+ 700: "#0e793c",
488
+ 800: "#095028",
489
+ 900: "#052814"
490
+ }, Ne = {
491
+ 50: "#ffedfa",
492
+ 100: "#ffdcf5",
493
+ 200: "#ffb8eb",
494
+ 300: "#ff95e1",
495
+ 400: "#ff71d7",
496
+ 500: "#ff4ecd",
497
+ 600: "#cc3ea4",
498
+ 700: "#992f7b",
499
+ 800: "#661f52",
500
+ 900: "#331029"
501
+ }, Re = {
502
+ 50: "#f2eafa",
503
+ 100: "#e4d4f4",
504
+ 200: "#c9a9e9",
505
+ 300: "#ae7ede",
506
+ 400: "#9353d3",
507
+ 500: "#7828c8",
508
+ 600: "#6020a0",
509
+ 700: "#481878",
510
+ 800: "#301050",
511
+ 900: "#180828"
512
+ }, Pe = {
513
+ 50: "#fee7ef",
514
+ 100: "#fdd0df",
515
+ 200: "#faa0bf",
516
+ 300: "#f871a0",
517
+ 400: "#f54180",
518
+ 500: "#f31260",
519
+ 600: "#c20e4d",
520
+ 700: "#920b3a",
521
+ 800: "#610726",
522
+ 900: "#310413"
523
+ }, Ve = {
524
+ 50: "#e6f1fe",
525
+ 100: "#cce3fd",
526
+ 200: "#99c7fb",
527
+ 300: "#66aaf9",
528
+ 400: "#338ef7",
529
+ 500: "#006FEE",
530
+ 600: "#005bc4",
531
+ 700: "#004493",
532
+ 800: "#002e62",
533
+ 900: "#001731"
534
+ }, y = {
535
+ white: "#ffffff",
536
+ black: "#000000",
537
+ blue: Ve,
538
+ green: Ie,
539
+ pink: Ne,
540
+ purple: Re,
541
+ red: Pe,
542
+ yellow: qe,
543
+ cyan: Ue,
544
+ zinc: Se
545
+ };
546
+ function W(o, c, l) {
547
+ return Math.min(Math.max(o, l), c);
548
+ }
549
+ class Ke extends Error {
550
+ constructor(c) {
551
+ super(`Failed to parse color: "${c}"`);
552
+ }
553
+ }
554
+ var M = Ke;
555
+ function Be(o) {
556
+ if (typeof o != "string") throw new M(o);
557
+ if (o.trim().toLowerCase() === "transparent") return [0, 0, 0, 0];
558
+ let c = o.trim();
559
+ c = Qe.test(o) ? Xe(o) : o;
560
+ const l = Ge.exec(c);
561
+ if (l) {
562
+ const n = Array.from(l).slice(1);
563
+ return [...n.slice(0, 3).map((a) => parseInt(O(a, 2), 16)), parseInt(O(n[3] || "f", 2), 16) / 255];
564
+ }
565
+ const p = Je.exec(c);
566
+ if (p) {
567
+ const n = Array.from(p).slice(1);
568
+ return [...n.slice(0, 3).map((a) => parseInt(a, 16)), parseInt(n[3] || "ff", 16) / 255];
569
+ }
570
+ const e = Ze.exec(c);
571
+ if (e) {
572
+ const n = Array.from(e).slice(1);
573
+ return [...n.slice(0, 3).map((a) => parseInt(a, 10)), parseFloat(n[3] || "1")];
574
+ }
575
+ const t = Ye.exec(c);
576
+ if (t) {
577
+ const [n, a, r, i] = Array.from(t).slice(1).map(parseFloat);
578
+ if (W(0, 100, a) !== a) throw new M(o);
579
+ if (W(0, 100, r) !== r) throw new M(o);
580
+ return [...er(n, a, r), Number.isNaN(i) ? 1 : i];
581
+ }
582
+ throw new M(o);
583
+ }
584
+ function He(o) {
585
+ let c = 5381, l = o.length;
586
+ for (; l; )
587
+ c = c * 33 ^ o.charCodeAt(--l);
588
+ return (c >>> 0) % 2341;
589
+ }
590
+ const X = (o) => parseInt(o.replace(/_/g, ""), 36), We = "1q29ehhb 1n09sgk7 1kl1ekf_ _yl4zsno 16z9eiv3 1p29lhp8 _bd9zg04 17u0____ _iw9zhe5 _to73___ _r45e31e _7l6g016 _jh8ouiv _zn3qba8 1jy4zshs 11u87k0u 1ro9yvyo 1aj3xael 1gz9zjz0 _3w8l4xo 1bf1ekf_ _ke3v___ _4rrkb__ 13j776yz _646mbhl _nrjr4__ _le6mbhl 1n37ehkb _m75f91n _qj3bzfz 1939yygw 11i5z6x8 _1k5f8xs 1509441m 15t5lwgf _ae2th1n _tg1ugcv 1lp1ugcv 16e14up_ _h55rw7n _ny9yavn _7a11xb_ 1ih442g9 _pv442g9 1mv16xof 14e6y7tu 1oo9zkds 17d1cisi _4v9y70f _y98m8kc 1019pq0v 12o9zda8 _348j4f4 1et50i2o _8epa8__ _ts6senj 1o350i2o 1mi9eiuo 1259yrp0 1ln80gnw _632xcoy 1cn9zldc _f29edu4 1n490c8q _9f9ziet 1b94vk74 _m49zkct 1kz6s73a 1eu9dtog _q58s1rz 1dy9sjiq __u89jo3 _aj5nkwg _ld89jo3 13h9z6wx _qa9z2ii _l119xgq _bs5arju 1hj4nwk9 1qt4nwk9 1ge6wau6 14j9zlcw 11p1edc_ _ms1zcxe _439shk6 _jt9y70f _754zsow 1la40eju _oq5p___ _x279qkz 1fa5r3rv _yd2d9ip _424tcku _8y1di2_ _zi2uabw _yy7rn9h 12yz980_ __39ljp6 1b59zg0x _n39zfzp 1fy9zest _b33k___ _hp9wq92 1il50hz4 _io472ub _lj9z3eo 19z9ykg0 _8t8iu3a 12b9bl4a 1ak5yw0o _896v4ku _tb8k8lv _s59zi6t _c09ze0p 1lg80oqn 1id9z8wb _238nba5 1kq6wgdi _154zssg _tn3zk49 _da9y6tc 1sg7cv4f _r12jvtt 1gq5fmkz 1cs9rvci _lp9jn1c _xw1tdnb 13f9zje6 16f6973h _vo7ir40 _bt5arjf _rc45e4t _hr4e100 10v4e100 _hc9zke2 _w91egv_ _sj2r1kk 13c87yx8 _vqpds__ _ni8ggk8 _tj9yqfb 1ia2j4r4 _7x9b10u 1fc9ld4j 1eq9zldr _5j9lhpx _ez9zl6o _md61fzm".split(" ").reduce((o, c) => {
591
+ const l = X(c.substring(0, 3)), p = X(c.substring(3)).toString(16);
592
+ let e = "";
593
+ for (let t = 0; t < 6 - p.length; t++)
594
+ e += "0";
595
+ return o[l] = `${e}${p}`, o;
596
+ }, {});
597
+ function Xe(o) {
598
+ const c = o.toLowerCase().trim(), l = We[He(c)];
599
+ if (!l) throw new M(o);
600
+ return `#${l}`;
601
+ }
602
+ const O = (o, c) => Array.from(Array(c)).map(() => o).join(""), Ge = new RegExp(`^#${O("([a-f0-9])", 3)}([a-f0-9])?$`, "i"), Je = new RegExp(`^#${O("([a-f0-9]{2})", 3)}([a-f0-9]{2})?$`, "i"), Ze = new RegExp(`^rgba?\\(\\s*(\\d+)\\s*${O(",\\s*(\\d+)\\s*", 2)}(?:,\\s*([\\d.]+))?\\s*\\)$`, "i"), Ye = /^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i, Qe = /^[a-z]+$/i, G = (o) => Math.round(o * 255), er = (o, c, l) => {
603
+ let p = l / 100;
604
+ if (c === 0)
605
+ return [p, p, p].map(G);
606
+ const e = (o % 360 + 360) % 360 / 60, t = (1 - Math.abs(2 * p - 1)) * (c / 100), n = t * (1 - Math.abs(e % 2 - 1));
607
+ let a = 0, r = 0, i = 0;
608
+ e >= 0 && e < 1 ? (a = t, r = n) : e >= 1 && e < 2 ? (a = n, r = t) : e >= 2 && e < 3 ? (r = t, i = n) : e >= 3 && e < 4 ? (r = n, i = t) : e >= 4 && e < 5 ? (a = n, i = t) : e >= 5 && e < 6 && (a = t, i = n);
609
+ const u = p - t / 2, g = a + u, s = r + u, f = i + u;
610
+ return [g, s, f].map(G);
611
+ };
612
+ function rr(o) {
613
+ if (o === "transparent") return 0;
614
+ function c(t) {
615
+ const n = t / 255;
616
+ return n <= 0.04045 ? n / 12.92 : Math.pow((n + 0.055) / 1.055, 2.4);
617
+ }
618
+ const [l, p, e] = Be(o);
619
+ return 0.2126 * c(l) + 0.7152 * c(p) + 0.0722 * c(e);
620
+ }
621
+ function tr(o) {
622
+ return rr(o) > 0.179;
623
+ }
624
+ function z(o) {
625
+ return tr(o) ? "#000" : "#fff";
626
+ }
627
+ var le = {
628
+ light: {
629
+ background: {
630
+ DEFAULT: "#FFFFFF"
631
+ },
632
+ foreground: {
633
+ ...y.zinc,
634
+ DEFAULT: "#11181C"
635
+ },
636
+ divider: {
637
+ DEFAULT: "rgba(17, 17, 17, 0.15)"
638
+ },
639
+ focus: {
640
+ DEFAULT: y.blue[500]
641
+ },
642
+ overlay: {
643
+ DEFAULT: "#000000"
644
+ },
645
+ content1: {
646
+ DEFAULT: "#FFFFFF",
647
+ foreground: "#11181C"
648
+ },
649
+ content2: {
650
+ DEFAULT: y.zinc[100],
651
+ foreground: y.zinc[800]
652
+ },
653
+ content3: {
654
+ DEFAULT: y.zinc[200],
655
+ foreground: y.zinc[700]
656
+ },
657
+ content4: {
658
+ DEFAULT: y.zinc[300],
659
+ foreground: y.zinc[600]
660
+ }
661
+ },
662
+ dark: {
663
+ background: {
664
+ DEFAULT: "#000000"
665
+ },
666
+ foreground: {
667
+ ...A(y.zinc),
668
+ DEFAULT: "#ECEDEE"
669
+ },
670
+ focus: {
671
+ DEFAULT: y.blue[500]
672
+ },
673
+ overlay: {
674
+ DEFAULT: "#000000"
675
+ },
676
+ divider: {
677
+ DEFAULT: "rgba(255, 255, 255, 0.15)"
678
+ },
679
+ content1: {
680
+ DEFAULT: y.zinc[900],
681
+ foreground: y.zinc[50]
682
+ },
683
+ content2: {
684
+ DEFAULT: y.zinc[800],
685
+ foreground: y.zinc[100]
686
+ },
687
+ content3: {
688
+ DEFAULT: y.zinc[700],
689
+ foreground: y.zinc[200]
690
+ },
691
+ content4: {
692
+ DEFAULT: y.zinc[600],
693
+ foreground: y.zinc[300]
694
+ }
695
+ }
696
+ }, nr = {
697
+ ...le.light,
698
+ default: {
699
+ ...y.zinc,
700
+ foreground: z(y.zinc[300]),
701
+ DEFAULT: y.zinc[300]
702
+ },
703
+ primary: {
704
+ ...y.blue,
705
+ foreground: z(y.blue[500]),
706
+ DEFAULT: y.blue[500]
707
+ },
708
+ secondary: {
709
+ ...y.purple,
710
+ foreground: z(y.purple[500]),
711
+ DEFAULT: y.purple[500]
712
+ },
713
+ success: {
714
+ ...y.green,
715
+ foreground: z(y.green[500]),
716
+ DEFAULT: y.green[500]
717
+ },
718
+ warning: {
719
+ ...y.yellow,
720
+ foreground: z(y.yellow[500]),
721
+ DEFAULT: y.yellow[500]
722
+ },
723
+ danger: {
724
+ ...y.red,
725
+ foreground: y.white,
726
+ DEFAULT: y.red[500]
727
+ }
728
+ }, or = {
729
+ ...le.dark,
730
+ default: {
731
+ ...A(y.zinc),
732
+ foreground: z(y.zinc[700]),
733
+ DEFAULT: y.zinc[700]
734
+ },
735
+ primary: {
736
+ ...A(y.blue),
737
+ foreground: z(y.blue[500]),
738
+ DEFAULT: y.blue[500]
739
+ },
740
+ secondary: {
741
+ ...A(y.purple),
742
+ foreground: z(y.purple[400]),
743
+ DEFAULT: y.purple[400]
744
+ },
745
+ success: {
746
+ ...A(y.green),
747
+ foreground: z(y.green[500]),
748
+ DEFAULT: y.green[500]
749
+ },
750
+ warning: {
751
+ ...A(y.yellow),
752
+ foreground: z(y.yellow[500]),
753
+ DEFAULT: y.yellow[500]
754
+ },
755
+ danger: {
756
+ ...A(y.red),
757
+ foreground: y.white,
758
+ DEFAULT: y.red[500]
759
+ }
760
+ }, j = {
761
+ light: nr,
762
+ dark: or
763
+ }, J = {
764
+ dividerWeight: "1px",
765
+ disabledOpacity: ".5",
766
+ fontSize: {
767
+ tiny: "0.75rem",
768
+ small: "0.875rem",
769
+ medium: "1rem",
770
+ large: "1.125rem"
771
+ },
772
+ lineHeight: {
773
+ tiny: "1rem",
774
+ small: "1.25rem",
775
+ medium: "1.5rem",
776
+ large: "1.75rem"
777
+ },
778
+ radius: {
779
+ small: "8px",
780
+ medium: "12px",
781
+ large: "14px"
782
+ },
783
+ borderWidth: {
784
+ small: "1px",
785
+ medium: "2px",
786
+ large: "3px"
787
+ },
788
+ boxShadow: {
789
+ small: "0px 0px 5px 0px rgb(0 0 0 / 0.02), 0px 2px 10px 0px rgb(0 0 0 / 0.06), 0px 0px 1px 0px rgb(0 0 0 / 0.3)",
790
+ medium: "0px 0px 15px 0px rgb(0 0 0 / 0.03), 0px 2px 30px 0px rgb(0 0 0 / 0.08), 0px 0px 1px 0px rgb(0 0 0 / 0.3)",
791
+ large: "0px 0px 30px 0px rgb(0 0 0 / 0.04), 0px 30px 60px 0px rgb(0 0 0 / 0.12), 0px 0px 1px 0px rgb(0 0 0 / 0.3)"
792
+ }
793
+ }, ar = {
794
+ hoverOpacity: ".8"
795
+ }, sr = {
796
+ hoverOpacity: ".9",
797
+ boxShadow: {
798
+ small: "0px 0px 5px 0px rgb(0 0 0 / 0.05), 0px 2px 10px 0px rgb(0 0 0 / 0.2), inset 0px 0px 1px 0px rgb(255 255 255 / 0.15)",
799
+ medium: "0px 0px 15px 0px rgb(0 0 0 / 0.06), 0px 2px 30px 0px rgb(0 0 0 / 0.22), inset 0px 0px 1px 0px rgb(255 255 255 / 0.15)",
800
+ large: "0px 0px 30px 0px rgb(0 0 0 / 0.07), 0px 30px 60px 0px rgb(0 0 0 / 0.26), inset 0px 0px 1px 0px rgb(255 255 255 / 0.15)"
801
+ }
802
+ }, ir = {
803
+ animation: {
804
+ shimmer: "shimmer 2s infinite",
805
+ "drip-expand": "drip-expand 420ms linear",
806
+ "spinner-ease-spin": "spinner-spin 0.8s ease infinite",
807
+ "spinner-linear-spin": "spinner-spin 0.8s linear infinite",
808
+ sway: "sway 750ms ease infinite",
809
+ blink: "blink 1.4s infinite both",
810
+ "fade-out": "fade-out 1.2s linear 0s infinite normal none running",
811
+ "appearance-in": "appearance-in 250ms ease-out normal both",
812
+ "appearance-out": "appearance-out 60ms ease-in normal both",
813
+ "indeterminate-bar": "indeterminate-bar 1.5s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite normal none running"
814
+ },
815
+ keyframes: {
816
+ shimmer: {
817
+ "100%": {
818
+ transform: "translateX(200%)"
819
+ }
820
+ },
821
+ "spinner-spin": {
822
+ "0%": {
823
+ transform: "rotate(0deg)"
824
+ },
825
+ "100%": {
826
+ transform: "rotate(360deg)"
827
+ }
828
+ },
829
+ "drip-expand": {
830
+ "0%": {
831
+ opacity: "0.2",
832
+ transform: "scale(0)"
833
+ },
834
+ "100%": {
835
+ opacity: "0",
836
+ transform: "scale(2)"
837
+ }
838
+ },
839
+ "appearance-in": {
840
+ "0%": {
841
+ opacity: "0",
842
+ transform: "translateZ(0) scale(0.95)"
843
+ },
844
+ "60%": {
845
+ opacity: "0.75",
846
+ /* Avoid blurriness */
847
+ backfaceVisibility: "hidden",
848
+ webkitFontSmoothing: "antialiased",
849
+ transform: "translateZ(0) scale(1.05)"
850
+ },
851
+ "100%": {
852
+ opacity: "1",
853
+ transform: "translateZ(0) scale(1)"
854
+ }
855
+ },
856
+ "appearance-out": {
857
+ "0%": {
858
+ opacity: "1",
859
+ transform: "scale(1)"
860
+ },
861
+ "100%": {
862
+ opacity: "0",
863
+ transform: "scale(0.85)"
864
+ }
865
+ },
866
+ "indeterminate-bar": {
867
+ "0%": {
868
+ transform: "translateX(-50%) scaleX(0.2)"
869
+ },
870
+ "100%": {
871
+ transform: "translateX(100%) scaleX(1)"
872
+ }
873
+ },
874
+ sway: {
875
+ "0%": {
876
+ transform: "translate(0px, 0px)"
877
+ },
878
+ "50%": {
879
+ transform: "translate(0px, -150%)"
880
+ },
881
+ "100%": {
882
+ transform: "translate(0px, 0px)"
883
+ }
884
+ },
885
+ blink: {
886
+ "0%": {
887
+ opacity: "0.2"
888
+ },
889
+ "20%": {
890
+ opacity: "1"
891
+ },
892
+ "100%": {
893
+ opacity: "0.2"
894
+ }
895
+ },
896
+ "fade-out": {
897
+ "0%": {
898
+ opacity: "1"
899
+ },
900
+ "100%": {
901
+ opacity: "0.15"
902
+ }
903
+ }
904
+ }
905
+ };
906
+ function ce(o) {
907
+ return o && o.__esModule && Object.prototype.hasOwnProperty.call(o, "default") ? o.default : o;
908
+ }
909
+ var $ = { exports: {} }, C, Z;
910
+ function ue() {
911
+ return Z || (Z = 1, C = {
912
+ aliceblue: [240, 248, 255],
913
+ antiquewhite: [250, 235, 215],
914
+ aqua: [0, 255, 255],
915
+ aquamarine: [127, 255, 212],
916
+ azure: [240, 255, 255],
917
+ beige: [245, 245, 220],
918
+ bisque: [255, 228, 196],
919
+ black: [0, 0, 0],
920
+ blanchedalmond: [255, 235, 205],
921
+ blue: [0, 0, 255],
922
+ blueviolet: [138, 43, 226],
923
+ brown: [165, 42, 42],
924
+ burlywood: [222, 184, 135],
925
+ cadetblue: [95, 158, 160],
926
+ chartreuse: [127, 255, 0],
927
+ chocolate: [210, 105, 30],
928
+ coral: [255, 127, 80],
929
+ cornflowerblue: [100, 149, 237],
930
+ cornsilk: [255, 248, 220],
931
+ crimson: [220, 20, 60],
932
+ cyan: [0, 255, 255],
933
+ darkblue: [0, 0, 139],
934
+ darkcyan: [0, 139, 139],
935
+ darkgoldenrod: [184, 134, 11],
936
+ darkgray: [169, 169, 169],
937
+ darkgreen: [0, 100, 0],
938
+ darkgrey: [169, 169, 169],
939
+ darkkhaki: [189, 183, 107],
940
+ darkmagenta: [139, 0, 139],
941
+ darkolivegreen: [85, 107, 47],
942
+ darkorange: [255, 140, 0],
943
+ darkorchid: [153, 50, 204],
944
+ darkred: [139, 0, 0],
945
+ darksalmon: [233, 150, 122],
946
+ darkseagreen: [143, 188, 143],
947
+ darkslateblue: [72, 61, 139],
948
+ darkslategray: [47, 79, 79],
949
+ darkslategrey: [47, 79, 79],
950
+ darkturquoise: [0, 206, 209],
951
+ darkviolet: [148, 0, 211],
952
+ deeppink: [255, 20, 147],
953
+ deepskyblue: [0, 191, 255],
954
+ dimgray: [105, 105, 105],
955
+ dimgrey: [105, 105, 105],
956
+ dodgerblue: [30, 144, 255],
957
+ firebrick: [178, 34, 34],
958
+ floralwhite: [255, 250, 240],
959
+ forestgreen: [34, 139, 34],
960
+ fuchsia: [255, 0, 255],
961
+ gainsboro: [220, 220, 220],
962
+ ghostwhite: [248, 248, 255],
963
+ gold: [255, 215, 0],
964
+ goldenrod: [218, 165, 32],
965
+ gray: [128, 128, 128],
966
+ green: [0, 128, 0],
967
+ greenyellow: [173, 255, 47],
968
+ grey: [128, 128, 128],
969
+ honeydew: [240, 255, 240],
970
+ hotpink: [255, 105, 180],
971
+ indianred: [205, 92, 92],
972
+ indigo: [75, 0, 130],
973
+ ivory: [255, 255, 240],
974
+ khaki: [240, 230, 140],
975
+ lavender: [230, 230, 250],
976
+ lavenderblush: [255, 240, 245],
977
+ lawngreen: [124, 252, 0],
978
+ lemonchiffon: [255, 250, 205],
979
+ lightblue: [173, 216, 230],
980
+ lightcoral: [240, 128, 128],
981
+ lightcyan: [224, 255, 255],
982
+ lightgoldenrodyellow: [250, 250, 210],
983
+ lightgray: [211, 211, 211],
984
+ lightgreen: [144, 238, 144],
985
+ lightgrey: [211, 211, 211],
986
+ lightpink: [255, 182, 193],
987
+ lightsalmon: [255, 160, 122],
988
+ lightseagreen: [32, 178, 170],
989
+ lightskyblue: [135, 206, 250],
990
+ lightslategray: [119, 136, 153],
991
+ lightslategrey: [119, 136, 153],
992
+ lightsteelblue: [176, 196, 222],
993
+ lightyellow: [255, 255, 224],
994
+ lime: [0, 255, 0],
995
+ limegreen: [50, 205, 50],
996
+ linen: [250, 240, 230],
997
+ magenta: [255, 0, 255],
998
+ maroon: [128, 0, 0],
999
+ mediumaquamarine: [102, 205, 170],
1000
+ mediumblue: [0, 0, 205],
1001
+ mediumorchid: [186, 85, 211],
1002
+ mediumpurple: [147, 112, 219],
1003
+ mediumseagreen: [60, 179, 113],
1004
+ mediumslateblue: [123, 104, 238],
1005
+ mediumspringgreen: [0, 250, 154],
1006
+ mediumturquoise: [72, 209, 204],
1007
+ mediumvioletred: [199, 21, 133],
1008
+ midnightblue: [25, 25, 112],
1009
+ mintcream: [245, 255, 250],
1010
+ mistyrose: [255, 228, 225],
1011
+ moccasin: [255, 228, 181],
1012
+ navajowhite: [255, 222, 173],
1013
+ navy: [0, 0, 128],
1014
+ oldlace: [253, 245, 230],
1015
+ olive: [128, 128, 0],
1016
+ olivedrab: [107, 142, 35],
1017
+ orange: [255, 165, 0],
1018
+ orangered: [255, 69, 0],
1019
+ orchid: [218, 112, 214],
1020
+ palegoldenrod: [238, 232, 170],
1021
+ palegreen: [152, 251, 152],
1022
+ paleturquoise: [175, 238, 238],
1023
+ palevioletred: [219, 112, 147],
1024
+ papayawhip: [255, 239, 213],
1025
+ peachpuff: [255, 218, 185],
1026
+ peru: [205, 133, 63],
1027
+ pink: [255, 192, 203],
1028
+ plum: [221, 160, 221],
1029
+ powderblue: [176, 224, 230],
1030
+ purple: [128, 0, 128],
1031
+ rebeccapurple: [102, 51, 153],
1032
+ red: [255, 0, 0],
1033
+ rosybrown: [188, 143, 143],
1034
+ royalblue: [65, 105, 225],
1035
+ saddlebrown: [139, 69, 19],
1036
+ salmon: [250, 128, 114],
1037
+ sandybrown: [244, 164, 96],
1038
+ seagreen: [46, 139, 87],
1039
+ seashell: [255, 245, 238],
1040
+ sienna: [160, 82, 45],
1041
+ silver: [192, 192, 192],
1042
+ skyblue: [135, 206, 235],
1043
+ slateblue: [106, 90, 205],
1044
+ slategray: [112, 128, 144],
1045
+ slategrey: [112, 128, 144],
1046
+ snow: [255, 250, 250],
1047
+ springgreen: [0, 255, 127],
1048
+ steelblue: [70, 130, 180],
1049
+ tan: [210, 180, 140],
1050
+ teal: [0, 128, 128],
1051
+ thistle: [216, 191, 216],
1052
+ tomato: [255, 99, 71],
1053
+ turquoise: [64, 224, 208],
1054
+ violet: [238, 130, 238],
1055
+ wheat: [245, 222, 179],
1056
+ white: [255, 255, 255],
1057
+ whitesmoke: [245, 245, 245],
1058
+ yellow: [255, 255, 0],
1059
+ yellowgreen: [154, 205, 50]
1060
+ }), C;
1061
+ }
1062
+ var D = { exports: {} }, T, Y;
1063
+ function lr() {
1064
+ return Y || (Y = 1, T = function(c) {
1065
+ return !c || typeof c == "string" ? !1 : c instanceof Array || Array.isArray(c) || c.length >= 0 && (c.splice instanceof Function || Object.getOwnPropertyDescriptor(c, c.length - 1) && c.constructor.name !== "String");
1066
+ }), T;
1067
+ }
1068
+ var Q;
1069
+ function cr() {
1070
+ if (Q) return D.exports;
1071
+ Q = 1;
1072
+ var o = lr(), c = Array.prototype.concat, l = Array.prototype.slice, p = D.exports = function(t) {
1073
+ for (var n = [], a = 0, r = t.length; a < r; a++) {
1074
+ var i = t[a];
1075
+ o(i) ? n = c.call(n, l.call(i)) : n.push(i);
1076
+ }
1077
+ return n;
1078
+ };
1079
+ return p.wrap = function(e) {
1080
+ return function() {
1081
+ return e(p(arguments));
1082
+ };
1083
+ }, D.exports;
1084
+ }
1085
+ var ee;
1086
+ function ur() {
1087
+ if (ee) return $.exports;
1088
+ ee = 1;
1089
+ var o = ue(), c = cr(), l = Object.hasOwnProperty, p = /* @__PURE__ */ Object.create(null);
1090
+ for (var e in o)
1091
+ l.call(o, e) && (p[o[e]] = e);
1092
+ var t = $.exports = {
1093
+ to: {},
1094
+ get: {}
1095
+ };
1096
+ t.get = function(r) {
1097
+ var i = r.substring(0, 3).toLowerCase(), u, g;
1098
+ switch (i) {
1099
+ case "hsl":
1100
+ u = t.get.hsl(r), g = "hsl";
1101
+ break;
1102
+ case "hwb":
1103
+ u = t.get.hwb(r), g = "hwb";
1104
+ break;
1105
+ default:
1106
+ u = t.get.rgb(r), g = "rgb";
1107
+ break;
1108
+ }
1109
+ return u ? { model: g, value: u } : null;
1110
+ }, t.get.rgb = function(r) {
1111
+ if (!r)
1112
+ return null;
1113
+ var i = /^#([a-f0-9]{3,4})$/i, u = /^#([a-f0-9]{6})([a-f0-9]{2})?$/i, g = /^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/, s = /^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/, f = /^(\w+)$/, h = [0, 0, 0, 1], d, b, m;
1114
+ if (d = r.match(u)) {
1115
+ for (m = d[2], d = d[1], b = 0; b < 3; b++) {
1116
+ var v = b * 2;
1117
+ h[b] = parseInt(d.slice(v, v + 2), 16);
1118
+ }
1119
+ m && (h[3] = parseInt(m, 16) / 255);
1120
+ } else if (d = r.match(i)) {
1121
+ for (d = d[1], m = d[3], b = 0; b < 3; b++)
1122
+ h[b] = parseInt(d[b] + d[b], 16);
1123
+ m && (h[3] = parseInt(m + m, 16) / 255);
1124
+ } else if (d = r.match(g)) {
1125
+ for (b = 0; b < 3; b++)
1126
+ h[b] = parseInt(d[b + 1], 0);
1127
+ d[4] && (d[5] ? h[3] = parseFloat(d[4]) * 0.01 : h[3] = parseFloat(d[4]));
1128
+ } else if (d = r.match(s)) {
1129
+ for (b = 0; b < 3; b++)
1130
+ h[b] = Math.round(parseFloat(d[b + 1]) * 2.55);
1131
+ d[4] && (d[5] ? h[3] = parseFloat(d[4]) * 0.01 : h[3] = parseFloat(d[4]));
1132
+ } else return (d = r.match(f)) ? d[1] === "transparent" ? [0, 0, 0, 0] : l.call(o, d[1]) ? (h = o[d[1]], h[3] = 1, h) : null : null;
1133
+ for (b = 0; b < 3; b++)
1134
+ h[b] = n(h[b], 0, 255);
1135
+ return h[3] = n(h[3], 0, 1), h;
1136
+ }, t.get.hsl = function(r) {
1137
+ if (!r)
1138
+ return null;
1139
+ var i = /^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/, u = r.match(i);
1140
+ if (u) {
1141
+ var g = parseFloat(u[4]), s = (parseFloat(u[1]) % 360 + 360) % 360, f = n(parseFloat(u[2]), 0, 100), h = n(parseFloat(u[3]), 0, 100), d = n(isNaN(g) ? 1 : g, 0, 1);
1142
+ return [s, f, h, d];
1143
+ }
1144
+ return null;
1145
+ }, t.get.hwb = function(r) {
1146
+ if (!r)
1147
+ return null;
1148
+ var i = /^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/, u = r.match(i);
1149
+ if (u) {
1150
+ var g = parseFloat(u[4]), s = (parseFloat(u[1]) % 360 + 360) % 360, f = n(parseFloat(u[2]), 0, 100), h = n(parseFloat(u[3]), 0, 100), d = n(isNaN(g) ? 1 : g, 0, 1);
1151
+ return [s, f, h, d];
1152
+ }
1153
+ return null;
1154
+ }, t.to.hex = function() {
1155
+ var r = c(arguments);
1156
+ return "#" + a(r[0]) + a(r[1]) + a(r[2]) + (r[3] < 1 ? a(Math.round(r[3] * 255)) : "");
1157
+ }, t.to.rgb = function() {
1158
+ var r = c(arguments);
1159
+ return r.length < 4 || r[3] === 1 ? "rgb(" + Math.round(r[0]) + ", " + Math.round(r[1]) + ", " + Math.round(r[2]) + ")" : "rgba(" + Math.round(r[0]) + ", " + Math.round(r[1]) + ", " + Math.round(r[2]) + ", " + r[3] + ")";
1160
+ }, t.to.rgb.percent = function() {
1161
+ var r = c(arguments), i = Math.round(r[0] / 255 * 100), u = Math.round(r[1] / 255 * 100), g = Math.round(r[2] / 255 * 100);
1162
+ return r.length < 4 || r[3] === 1 ? "rgb(" + i + "%, " + u + "%, " + g + "%)" : "rgba(" + i + "%, " + u + "%, " + g + "%, " + r[3] + ")";
1163
+ }, t.to.hsl = function() {
1164
+ var r = c(arguments);
1165
+ return r.length < 4 || r[3] === 1 ? "hsl(" + r[0] + ", " + r[1] + "%, " + r[2] + "%)" : "hsla(" + r[0] + ", " + r[1] + "%, " + r[2] + "%, " + r[3] + ")";
1166
+ }, t.to.hwb = function() {
1167
+ var r = c(arguments), i = "";
1168
+ return r.length >= 4 && r[3] !== 1 && (i = ", " + r[3]), "hwb(" + r[0] + ", " + r[1] + "%, " + r[2] + "%" + i + ")";
1169
+ }, t.to.keyword = function(r) {
1170
+ return p[r.slice(0, 3)];
1171
+ };
1172
+ function n(r, i, u) {
1173
+ return Math.min(Math.max(i, r), u);
1174
+ }
1175
+ function a(r) {
1176
+ var i = Math.round(r).toString(16).toUpperCase();
1177
+ return i.length < 2 ? "0" + i : i;
1178
+ }
1179
+ return $.exports;
1180
+ }
1181
+ var L, re;
1182
+ function fe() {
1183
+ if (re) return L;
1184
+ re = 1;
1185
+ const o = ue(), c = {};
1186
+ for (const e of Object.keys(o))
1187
+ c[o[e]] = e;
1188
+ const l = {
1189
+ rgb: { channels: 3, labels: "rgb" },
1190
+ hsl: { channels: 3, labels: "hsl" },
1191
+ hsv: { channels: 3, labels: "hsv" },
1192
+ hwb: { channels: 3, labels: "hwb" },
1193
+ cmyk: { channels: 4, labels: "cmyk" },
1194
+ xyz: { channels: 3, labels: "xyz" },
1195
+ lab: { channels: 3, labels: "lab" },
1196
+ lch: { channels: 3, labels: "lch" },
1197
+ hex: { channels: 1, labels: ["hex"] },
1198
+ keyword: { channels: 1, labels: ["keyword"] },
1199
+ ansi16: { channels: 1, labels: ["ansi16"] },
1200
+ ansi256: { channels: 1, labels: ["ansi256"] },
1201
+ hcg: { channels: 3, labels: ["h", "c", "g"] },
1202
+ apple: { channels: 3, labels: ["r16", "g16", "b16"] },
1203
+ gray: { channels: 1, labels: ["gray"] }
1204
+ };
1205
+ L = l;
1206
+ for (const e of Object.keys(l)) {
1207
+ if (!("channels" in l[e]))
1208
+ throw new Error("missing channels property: " + e);
1209
+ if (!("labels" in l[e]))
1210
+ throw new Error("missing channel labels property: " + e);
1211
+ if (l[e].labels.length !== l[e].channels)
1212
+ throw new Error("channel and label counts mismatch: " + e);
1213
+ const { channels: t, labels: n } = l[e];
1214
+ delete l[e].channels, delete l[e].labels, Object.defineProperty(l[e], "channels", { value: t }), Object.defineProperty(l[e], "labels", { value: n });
1215
+ }
1216
+ l.rgb.hsl = function(e) {
1217
+ const t = e[0] / 255, n = e[1] / 255, a = e[2] / 255, r = Math.min(t, n, a), i = Math.max(t, n, a), u = i - r;
1218
+ let g, s;
1219
+ i === r ? g = 0 : t === i ? g = (n - a) / u : n === i ? g = 2 + (a - t) / u : a === i && (g = 4 + (t - n) / u), g = Math.min(g * 60, 360), g < 0 && (g += 360);
1220
+ const f = (r + i) / 2;
1221
+ return i === r ? s = 0 : f <= 0.5 ? s = u / (i + r) : s = u / (2 - i - r), [g, s * 100, f * 100];
1222
+ }, l.rgb.hsv = function(e) {
1223
+ let t, n, a, r, i;
1224
+ const u = e[0] / 255, g = e[1] / 255, s = e[2] / 255, f = Math.max(u, g, s), h = f - Math.min(u, g, s), d = function(b) {
1225
+ return (f - b) / 6 / h + 1 / 2;
1226
+ };
1227
+ return h === 0 ? (r = 0, i = 0) : (i = h / f, t = d(u), n = d(g), a = d(s), u === f ? r = a - n : g === f ? r = 1 / 3 + t - a : s === f && (r = 2 / 3 + n - t), r < 0 ? r += 1 : r > 1 && (r -= 1)), [
1228
+ r * 360,
1229
+ i * 100,
1230
+ f * 100
1231
+ ];
1232
+ }, l.rgb.hwb = function(e) {
1233
+ const t = e[0], n = e[1];
1234
+ let a = e[2];
1235
+ const r = l.rgb.hsl(e)[0], i = 1 / 255 * Math.min(t, Math.min(n, a));
1236
+ return a = 1 - 1 / 255 * Math.max(t, Math.max(n, a)), [r, i * 100, a * 100];
1237
+ }, l.rgb.cmyk = function(e) {
1238
+ const t = e[0] / 255, n = e[1] / 255, a = e[2] / 255, r = Math.min(1 - t, 1 - n, 1 - a), i = (1 - t - r) / (1 - r) || 0, u = (1 - n - r) / (1 - r) || 0, g = (1 - a - r) / (1 - r) || 0;
1239
+ return [i * 100, u * 100, g * 100, r * 100];
1240
+ };
1241
+ function p(e, t) {
1242
+ return (e[0] - t[0]) ** 2 + (e[1] - t[1]) ** 2 + (e[2] - t[2]) ** 2;
1243
+ }
1244
+ return l.rgb.keyword = function(e) {
1245
+ const t = c[e];
1246
+ if (t)
1247
+ return t;
1248
+ let n = 1 / 0, a;
1249
+ for (const r of Object.keys(o)) {
1250
+ const i = o[r], u = p(e, i);
1251
+ u < n && (n = u, a = r);
1252
+ }
1253
+ return a;
1254
+ }, l.keyword.rgb = function(e) {
1255
+ return o[e];
1256
+ }, l.rgb.xyz = function(e) {
1257
+ let t = e[0] / 255, n = e[1] / 255, a = e[2] / 255;
1258
+ t = t > 0.04045 ? ((t + 0.055) / 1.055) ** 2.4 : t / 12.92, n = n > 0.04045 ? ((n + 0.055) / 1.055) ** 2.4 : n / 12.92, a = a > 0.04045 ? ((a + 0.055) / 1.055) ** 2.4 : a / 12.92;
1259
+ const r = t * 0.4124 + n * 0.3576 + a * 0.1805, i = t * 0.2126 + n * 0.7152 + a * 0.0722, u = t * 0.0193 + n * 0.1192 + a * 0.9505;
1260
+ return [r * 100, i * 100, u * 100];
1261
+ }, l.rgb.lab = function(e) {
1262
+ const t = l.rgb.xyz(e);
1263
+ let n = t[0], a = t[1], r = t[2];
1264
+ n /= 95.047, a /= 100, r /= 108.883, n = n > 8856e-6 ? n ** (1 / 3) : 7.787 * n + 16 / 116, a = a > 8856e-6 ? a ** (1 / 3) : 7.787 * a + 16 / 116, r = r > 8856e-6 ? r ** (1 / 3) : 7.787 * r + 16 / 116;
1265
+ const i = 116 * a - 16, u = 500 * (n - a), g = 200 * (a - r);
1266
+ return [i, u, g];
1267
+ }, l.hsl.rgb = function(e) {
1268
+ const t = e[0] / 360, n = e[1] / 100, a = e[2] / 100;
1269
+ let r, i, u;
1270
+ if (n === 0)
1271
+ return u = a * 255, [u, u, u];
1272
+ a < 0.5 ? r = a * (1 + n) : r = a + n - a * n;
1273
+ const g = 2 * a - r, s = [0, 0, 0];
1274
+ for (let f = 0; f < 3; f++)
1275
+ i = t + 1 / 3 * -(f - 1), i < 0 && i++, i > 1 && i--, 6 * i < 1 ? u = g + (r - g) * 6 * i : 2 * i < 1 ? u = r : 3 * i < 2 ? u = g + (r - g) * (2 / 3 - i) * 6 : u = g, s[f] = u * 255;
1276
+ return s;
1277
+ }, l.hsl.hsv = function(e) {
1278
+ const t = e[0];
1279
+ let n = e[1] / 100, a = e[2] / 100, r = n;
1280
+ const i = Math.max(a, 0.01);
1281
+ a *= 2, n *= a <= 1 ? a : 2 - a, r *= i <= 1 ? i : 2 - i;
1282
+ const u = (a + n) / 2, g = a === 0 ? 2 * r / (i + r) : 2 * n / (a + n);
1283
+ return [t, g * 100, u * 100];
1284
+ }, l.hsv.rgb = function(e) {
1285
+ const t = e[0] / 60, n = e[1] / 100;
1286
+ let a = e[2] / 100;
1287
+ const r = Math.floor(t) % 6, i = t - Math.floor(t), u = 255 * a * (1 - n), g = 255 * a * (1 - n * i), s = 255 * a * (1 - n * (1 - i));
1288
+ switch (a *= 255, r) {
1289
+ case 0:
1290
+ return [a, s, u];
1291
+ case 1:
1292
+ return [g, a, u];
1293
+ case 2:
1294
+ return [u, a, s];
1295
+ case 3:
1296
+ return [u, g, a];
1297
+ case 4:
1298
+ return [s, u, a];
1299
+ case 5:
1300
+ return [a, u, g];
1301
+ }
1302
+ }, l.hsv.hsl = function(e) {
1303
+ const t = e[0], n = e[1] / 100, a = e[2] / 100, r = Math.max(a, 0.01);
1304
+ let i, u;
1305
+ u = (2 - n) * a;
1306
+ const g = (2 - n) * r;
1307
+ return i = n * r, i /= g <= 1 ? g : 2 - g, i = i || 0, u /= 2, [t, i * 100, u * 100];
1308
+ }, l.hwb.rgb = function(e) {
1309
+ const t = e[0] / 360;
1310
+ let n = e[1] / 100, a = e[2] / 100;
1311
+ const r = n + a;
1312
+ let i;
1313
+ r > 1 && (n /= r, a /= r);
1314
+ const u = Math.floor(6 * t), g = 1 - a;
1315
+ i = 6 * t - u, (u & 1) !== 0 && (i = 1 - i);
1316
+ const s = n + i * (g - n);
1317
+ let f, h, d;
1318
+ switch (u) {
1319
+ default:
1320
+ case 6:
1321
+ case 0:
1322
+ f = g, h = s, d = n;
1323
+ break;
1324
+ case 1:
1325
+ f = s, h = g, d = n;
1326
+ break;
1327
+ case 2:
1328
+ f = n, h = g, d = s;
1329
+ break;
1330
+ case 3:
1331
+ f = n, h = s, d = g;
1332
+ break;
1333
+ case 4:
1334
+ f = s, h = n, d = g;
1335
+ break;
1336
+ case 5:
1337
+ f = g, h = n, d = s;
1338
+ break;
1339
+ }
1340
+ return [f * 255, h * 255, d * 255];
1341
+ }, l.cmyk.rgb = function(e) {
1342
+ const t = e[0] / 100, n = e[1] / 100, a = e[2] / 100, r = e[3] / 100, i = 1 - Math.min(1, t * (1 - r) + r), u = 1 - Math.min(1, n * (1 - r) + r), g = 1 - Math.min(1, a * (1 - r) + r);
1343
+ return [i * 255, u * 255, g * 255];
1344
+ }, l.xyz.rgb = function(e) {
1345
+ const t = e[0] / 100, n = e[1] / 100, a = e[2] / 100;
1346
+ let r, i, u;
1347
+ return r = t * 3.2406 + n * -1.5372 + a * -0.4986, i = t * -0.9689 + n * 1.8758 + a * 0.0415, u = t * 0.0557 + n * -0.204 + a * 1.057, r = r > 31308e-7 ? 1.055 * r ** (1 / 2.4) - 0.055 : r * 12.92, i = i > 31308e-7 ? 1.055 * i ** (1 / 2.4) - 0.055 : i * 12.92, u = u > 31308e-7 ? 1.055 * u ** (1 / 2.4) - 0.055 : u * 12.92, r = Math.min(Math.max(0, r), 1), i = Math.min(Math.max(0, i), 1), u = Math.min(Math.max(0, u), 1), [r * 255, i * 255, u * 255];
1348
+ }, l.xyz.lab = function(e) {
1349
+ let t = e[0], n = e[1], a = e[2];
1350
+ t /= 95.047, n /= 100, a /= 108.883, t = t > 8856e-6 ? t ** (1 / 3) : 7.787 * t + 16 / 116, n = n > 8856e-6 ? n ** (1 / 3) : 7.787 * n + 16 / 116, a = a > 8856e-6 ? a ** (1 / 3) : 7.787 * a + 16 / 116;
1351
+ const r = 116 * n - 16, i = 500 * (t - n), u = 200 * (n - a);
1352
+ return [r, i, u];
1353
+ }, l.lab.xyz = function(e) {
1354
+ const t = e[0], n = e[1], a = e[2];
1355
+ let r, i, u;
1356
+ i = (t + 16) / 116, r = n / 500 + i, u = i - a / 200;
1357
+ const g = i ** 3, s = r ** 3, f = u ** 3;
1358
+ return i = g > 8856e-6 ? g : (i - 16 / 116) / 7.787, r = s > 8856e-6 ? s : (r - 16 / 116) / 7.787, u = f > 8856e-6 ? f : (u - 16 / 116) / 7.787, r *= 95.047, i *= 100, u *= 108.883, [r, i, u];
1359
+ }, l.lab.lch = function(e) {
1360
+ const t = e[0], n = e[1], a = e[2];
1361
+ let r;
1362
+ r = Math.atan2(a, n) * 360 / 2 / Math.PI, r < 0 && (r += 360);
1363
+ const u = Math.sqrt(n * n + a * a);
1364
+ return [t, u, r];
1365
+ }, l.lch.lab = function(e) {
1366
+ const t = e[0], n = e[1], r = e[2] / 360 * 2 * Math.PI, i = n * Math.cos(r), u = n * Math.sin(r);
1367
+ return [t, i, u];
1368
+ }, l.rgb.ansi16 = function(e, t = null) {
1369
+ const [n, a, r] = e;
1370
+ let i = t === null ? l.rgb.hsv(e)[2] : t;
1371
+ if (i = Math.round(i / 50), i === 0)
1372
+ return 30;
1373
+ let u = 30 + (Math.round(r / 255) << 2 | Math.round(a / 255) << 1 | Math.round(n / 255));
1374
+ return i === 2 && (u += 60), u;
1375
+ }, l.hsv.ansi16 = function(e) {
1376
+ return l.rgb.ansi16(l.hsv.rgb(e), e[2]);
1377
+ }, l.rgb.ansi256 = function(e) {
1378
+ const t = e[0], n = e[1], a = e[2];
1379
+ return t === n && n === a ? t < 8 ? 16 : t > 248 ? 231 : Math.round((t - 8) / 247 * 24) + 232 : 16 + 36 * Math.round(t / 255 * 5) + 6 * Math.round(n / 255 * 5) + Math.round(a / 255 * 5);
1380
+ }, l.ansi16.rgb = function(e) {
1381
+ let t = e % 10;
1382
+ if (t === 0 || t === 7)
1383
+ return e > 50 && (t += 3.5), t = t / 10.5 * 255, [t, t, t];
1384
+ const n = (~~(e > 50) + 1) * 0.5, a = (t & 1) * n * 255, r = (t >> 1 & 1) * n * 255, i = (t >> 2 & 1) * n * 255;
1385
+ return [a, r, i];
1386
+ }, l.ansi256.rgb = function(e) {
1387
+ if (e >= 232) {
1388
+ const i = (e - 232) * 10 + 8;
1389
+ return [i, i, i];
1390
+ }
1391
+ e -= 16;
1392
+ let t;
1393
+ const n = Math.floor(e / 36) / 5 * 255, a = Math.floor((t = e % 36) / 6) / 5 * 255, r = t % 6 / 5 * 255;
1394
+ return [n, a, r];
1395
+ }, l.rgb.hex = function(e) {
1396
+ const n = (((Math.round(e[0]) & 255) << 16) + ((Math.round(e[1]) & 255) << 8) + (Math.round(e[2]) & 255)).toString(16).toUpperCase();
1397
+ return "000000".substring(n.length) + n;
1398
+ }, l.hex.rgb = function(e) {
1399
+ const t = e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);
1400
+ if (!t)
1401
+ return [0, 0, 0];
1402
+ let n = t[0];
1403
+ t[0].length === 3 && (n = n.split("").map((g) => g + g).join(""));
1404
+ const a = parseInt(n, 16), r = a >> 16 & 255, i = a >> 8 & 255, u = a & 255;
1405
+ return [r, i, u];
1406
+ }, l.rgb.hcg = function(e) {
1407
+ const t = e[0] / 255, n = e[1] / 255, a = e[2] / 255, r = Math.max(Math.max(t, n), a), i = Math.min(Math.min(t, n), a), u = r - i;
1408
+ let g, s;
1409
+ return u < 1 ? g = i / (1 - u) : g = 0, u <= 0 ? s = 0 : r === t ? s = (n - a) / u % 6 : r === n ? s = 2 + (a - t) / u : s = 4 + (t - n) / u, s /= 6, s %= 1, [s * 360, u * 100, g * 100];
1410
+ }, l.hsl.hcg = function(e) {
1411
+ const t = e[1] / 100, n = e[2] / 100, a = n < 0.5 ? 2 * t * n : 2 * t * (1 - n);
1412
+ let r = 0;
1413
+ return a < 1 && (r = (n - 0.5 * a) / (1 - a)), [e[0], a * 100, r * 100];
1414
+ }, l.hsv.hcg = function(e) {
1415
+ const t = e[1] / 100, n = e[2] / 100, a = t * n;
1416
+ let r = 0;
1417
+ return a < 1 && (r = (n - a) / (1 - a)), [e[0], a * 100, r * 100];
1418
+ }, l.hcg.rgb = function(e) {
1419
+ const t = e[0] / 360, n = e[1] / 100, a = e[2] / 100;
1420
+ if (n === 0)
1421
+ return [a * 255, a * 255, a * 255];
1422
+ const r = [0, 0, 0], i = t % 1 * 6, u = i % 1, g = 1 - u;
1423
+ let s = 0;
1424
+ switch (Math.floor(i)) {
1425
+ case 0:
1426
+ r[0] = 1, r[1] = u, r[2] = 0;
1427
+ break;
1428
+ case 1:
1429
+ r[0] = g, r[1] = 1, r[2] = 0;
1430
+ break;
1431
+ case 2:
1432
+ r[0] = 0, r[1] = 1, r[2] = u;
1433
+ break;
1434
+ case 3:
1435
+ r[0] = 0, r[1] = g, r[2] = 1;
1436
+ break;
1437
+ case 4:
1438
+ r[0] = u, r[1] = 0, r[2] = 1;
1439
+ break;
1440
+ default:
1441
+ r[0] = 1, r[1] = 0, r[2] = g;
1442
+ }
1443
+ return s = (1 - n) * a, [
1444
+ (n * r[0] + s) * 255,
1445
+ (n * r[1] + s) * 255,
1446
+ (n * r[2] + s) * 255
1447
+ ];
1448
+ }, l.hcg.hsv = function(e) {
1449
+ const t = e[1] / 100, n = e[2] / 100, a = t + n * (1 - t);
1450
+ let r = 0;
1451
+ return a > 0 && (r = t / a), [e[0], r * 100, a * 100];
1452
+ }, l.hcg.hsl = function(e) {
1453
+ const t = e[1] / 100, a = e[2] / 100 * (1 - t) + 0.5 * t;
1454
+ let r = 0;
1455
+ return a > 0 && a < 0.5 ? r = t / (2 * a) : a >= 0.5 && a < 1 && (r = t / (2 * (1 - a))), [e[0], r * 100, a * 100];
1456
+ }, l.hcg.hwb = function(e) {
1457
+ const t = e[1] / 100, n = e[2] / 100, a = t + n * (1 - t);
1458
+ return [e[0], (a - t) * 100, (1 - a) * 100];
1459
+ }, l.hwb.hcg = function(e) {
1460
+ const t = e[1] / 100, a = 1 - e[2] / 100, r = a - t;
1461
+ let i = 0;
1462
+ return r < 1 && (i = (a - r) / (1 - r)), [e[0], r * 100, i * 100];
1463
+ }, l.apple.rgb = function(e) {
1464
+ return [e[0] / 65535 * 255, e[1] / 65535 * 255, e[2] / 65535 * 255];
1465
+ }, l.rgb.apple = function(e) {
1466
+ return [e[0] / 255 * 65535, e[1] / 255 * 65535, e[2] / 255 * 65535];
1467
+ }, l.gray.rgb = function(e) {
1468
+ return [e[0] / 100 * 255, e[0] / 100 * 255, e[0] / 100 * 255];
1469
+ }, l.gray.hsl = function(e) {
1470
+ return [0, 0, e[0]];
1471
+ }, l.gray.hsv = l.gray.hsl, l.gray.hwb = function(e) {
1472
+ return [0, 100, e[0]];
1473
+ }, l.gray.cmyk = function(e) {
1474
+ return [0, 0, 0, e[0]];
1475
+ }, l.gray.lab = function(e) {
1476
+ return [e[0], 0, 0];
1477
+ }, l.gray.hex = function(e) {
1478
+ const t = Math.round(e[0] / 100 * 255) & 255, a = ((t << 16) + (t << 8) + t).toString(16).toUpperCase();
1479
+ return "000000".substring(a.length) + a;
1480
+ }, l.rgb.gray = function(e) {
1481
+ return [(e[0] + e[1] + e[2]) / 3 / 255 * 100];
1482
+ }, L;
1483
+ }
1484
+ var q, te;
1485
+ function fr() {
1486
+ if (te) return q;
1487
+ te = 1;
1488
+ const o = fe();
1489
+ function c() {
1490
+ const t = {}, n = Object.keys(o);
1491
+ for (let a = n.length, r = 0; r < a; r++)
1492
+ t[n[r]] = {
1493
+ // http://jsperf.com/1-vs-infinity
1494
+ // micro-opt, but this is simple.
1495
+ distance: -1,
1496
+ parent: null
1497
+ };
1498
+ return t;
1499
+ }
1500
+ function l(t) {
1501
+ const n = c(), a = [t];
1502
+ for (n[t].distance = 0; a.length; ) {
1503
+ const r = a.pop(), i = Object.keys(o[r]);
1504
+ for (let u = i.length, g = 0; g < u; g++) {
1505
+ const s = i[g], f = n[s];
1506
+ f.distance === -1 && (f.distance = n[r].distance + 1, f.parent = r, a.unshift(s));
1507
+ }
1508
+ }
1509
+ return n;
1510
+ }
1511
+ function p(t, n) {
1512
+ return function(a) {
1513
+ return n(t(a));
1514
+ };
1515
+ }
1516
+ function e(t, n) {
1517
+ const a = [n[t].parent, t];
1518
+ let r = o[n[t].parent][t], i = n[t].parent;
1519
+ for (; n[i].parent; )
1520
+ a.unshift(n[i].parent), r = p(o[n[i].parent][i], r), i = n[i].parent;
1521
+ return r.conversion = a, r;
1522
+ }
1523
+ return q = function(t) {
1524
+ const n = l(t), a = {}, r = Object.keys(n);
1525
+ for (let i = r.length, u = 0; u < i; u++) {
1526
+ const g = r[u];
1527
+ n[g].parent !== null && (a[g] = e(g, n));
1528
+ }
1529
+ return a;
1530
+ }, q;
1531
+ }
1532
+ var S, ne;
1533
+ function hr() {
1534
+ if (ne) return S;
1535
+ ne = 1;
1536
+ const o = fe(), c = fr(), l = {}, p = Object.keys(o);
1537
+ function e(n) {
1538
+ const a = function(...r) {
1539
+ const i = r[0];
1540
+ return i == null ? i : (i.length > 1 && (r = i), n(r));
1541
+ };
1542
+ return "conversion" in n && (a.conversion = n.conversion), a;
1543
+ }
1544
+ function t(n) {
1545
+ const a = function(...r) {
1546
+ const i = r[0];
1547
+ if (i == null)
1548
+ return i;
1549
+ i.length > 1 && (r = i);
1550
+ const u = n(r);
1551
+ if (typeof u == "object")
1552
+ for (let g = u.length, s = 0; s < g; s++)
1553
+ u[s] = Math.round(u[s]);
1554
+ return u;
1555
+ };
1556
+ return "conversion" in n && (a.conversion = n.conversion), a;
1557
+ }
1558
+ return p.forEach((n) => {
1559
+ l[n] = {}, Object.defineProperty(l[n], "channels", { value: o[n].channels }), Object.defineProperty(l[n], "labels", { value: o[n].labels });
1560
+ const a = c(n);
1561
+ Object.keys(a).forEach((i) => {
1562
+ const u = a[i];
1563
+ l[n][i] = t(u), l[n][i].raw = e(u);
1564
+ });
1565
+ }), S = l, S;
1566
+ }
1567
+ var U, oe;
1568
+ function dr() {
1569
+ if (oe) return U;
1570
+ oe = 1;
1571
+ const o = ur(), c = hr(), l = [
1572
+ // To be honest, I don't really feel like keyword belongs in color convert, but eh.
1573
+ "keyword",
1574
+ // Gray conflicts with some method names, and has its own method defined.
1575
+ "gray",
1576
+ // Shouldn't really be in color-convert either...
1577
+ "hex"
1578
+ ], p = {};
1579
+ for (const s of Object.keys(c))
1580
+ p[[...c[s].labels].sort().join("")] = s;
1581
+ const e = {};
1582
+ function t(s, f) {
1583
+ if (!(this instanceof t))
1584
+ return new t(s, f);
1585
+ if (f && f in l && (f = null), f && !(f in c))
1586
+ throw new Error("Unknown model: " + f);
1587
+ let h, d;
1588
+ if (s == null)
1589
+ this.model = "rgb", this.color = [0, 0, 0], this.valpha = 1;
1590
+ else if (s instanceof t)
1591
+ this.model = s.model, this.color = [...s.color], this.valpha = s.valpha;
1592
+ else if (typeof s == "string") {
1593
+ const b = o.get(s);
1594
+ if (b === null)
1595
+ throw new Error("Unable to parse color from string: " + s);
1596
+ this.model = b.model, d = c[this.model].channels, this.color = b.value.slice(0, d), this.valpha = typeof b.value[d] == "number" ? b.value[d] : 1;
1597
+ } else if (s.length > 0) {
1598
+ this.model = f || "rgb", d = c[this.model].channels;
1599
+ const b = Array.prototype.slice.call(s, 0, d);
1600
+ this.color = g(b, d), this.valpha = typeof s[d] == "number" ? s[d] : 1;
1601
+ } else if (typeof s == "number")
1602
+ this.model = "rgb", this.color = [
1603
+ s >> 16 & 255,
1604
+ s >> 8 & 255,
1605
+ s & 255
1606
+ ], this.valpha = 1;
1607
+ else {
1608
+ this.valpha = 1;
1609
+ const b = Object.keys(s);
1610
+ "alpha" in s && (b.splice(b.indexOf("alpha"), 1), this.valpha = typeof s.alpha == "number" ? s.alpha : 0);
1611
+ const m = b.sort().join("");
1612
+ if (!(m in p))
1613
+ throw new Error("Unable to parse color from object: " + JSON.stringify(s));
1614
+ this.model = p[m];
1615
+ const { labels: v } = c[this.model], w = [];
1616
+ for (h = 0; h < v.length; h++)
1617
+ w.push(s[v[h]]);
1618
+ this.color = g(w);
1619
+ }
1620
+ if (e[this.model])
1621
+ for (d = c[this.model].channels, h = 0; h < d; h++) {
1622
+ const b = e[this.model][h];
1623
+ b && (this.color[h] = b(this.color[h]));
1624
+ }
1625
+ this.valpha = Math.max(0, Math.min(1, this.valpha)), Object.freeze && Object.freeze(this);
1626
+ }
1627
+ t.prototype = {
1628
+ toString() {
1629
+ return this.string();
1630
+ },
1631
+ toJSON() {
1632
+ return this[this.model]();
1633
+ },
1634
+ string(s) {
1635
+ let f = this.model in o.to ? this : this.rgb();
1636
+ f = f.round(typeof s == "number" ? s : 1);
1637
+ const h = f.valpha === 1 ? f.color : [...f.color, this.valpha];
1638
+ return o.to[f.model](h);
1639
+ },
1640
+ percentString(s) {
1641
+ const f = this.rgb().round(typeof s == "number" ? s : 1), h = f.valpha === 1 ? f.color : [...f.color, this.valpha];
1642
+ return o.to.rgb.percent(h);
1643
+ },
1644
+ array() {
1645
+ return this.valpha === 1 ? [...this.color] : [...this.color, this.valpha];
1646
+ },
1647
+ object() {
1648
+ const s = {}, { channels: f } = c[this.model], { labels: h } = c[this.model];
1649
+ for (let d = 0; d < f; d++)
1650
+ s[h[d]] = this.color[d];
1651
+ return this.valpha !== 1 && (s.alpha = this.valpha), s;
1652
+ },
1653
+ unitArray() {
1654
+ const s = this.rgb().color;
1655
+ return s[0] /= 255, s[1] /= 255, s[2] /= 255, this.valpha !== 1 && s.push(this.valpha), s;
1656
+ },
1657
+ unitObject() {
1658
+ const s = this.rgb().object();
1659
+ return s.r /= 255, s.g /= 255, s.b /= 255, this.valpha !== 1 && (s.alpha = this.valpha), s;
1660
+ },
1661
+ round(s) {
1662
+ return s = Math.max(s || 0, 0), new t([...this.color.map(a(s)), this.valpha], this.model);
1663
+ },
1664
+ alpha(s) {
1665
+ return s !== void 0 ? new t([...this.color, Math.max(0, Math.min(1, s))], this.model) : this.valpha;
1666
+ },
1667
+ // Rgb
1668
+ red: r("rgb", 0, i(255)),
1669
+ green: r("rgb", 1, i(255)),
1670
+ blue: r("rgb", 2, i(255)),
1671
+ hue: r(["hsl", "hsv", "hsl", "hwb", "hcg"], 0, (s) => (s % 360 + 360) % 360),
1672
+ saturationl: r("hsl", 1, i(100)),
1673
+ lightness: r("hsl", 2, i(100)),
1674
+ saturationv: r("hsv", 1, i(100)),
1675
+ value: r("hsv", 2, i(100)),
1676
+ chroma: r("hcg", 1, i(100)),
1677
+ gray: r("hcg", 2, i(100)),
1678
+ white: r("hwb", 1, i(100)),
1679
+ wblack: r("hwb", 2, i(100)),
1680
+ cyan: r("cmyk", 0, i(100)),
1681
+ magenta: r("cmyk", 1, i(100)),
1682
+ yellow: r("cmyk", 2, i(100)),
1683
+ black: r("cmyk", 3, i(100)),
1684
+ x: r("xyz", 0, i(95.047)),
1685
+ y: r("xyz", 1, i(100)),
1686
+ z: r("xyz", 2, i(108.833)),
1687
+ l: r("lab", 0, i(100)),
1688
+ a: r("lab", 1),
1689
+ b: r("lab", 2),
1690
+ keyword(s) {
1691
+ return s !== void 0 ? new t(s) : c[this.model].keyword(this.color);
1692
+ },
1693
+ hex(s) {
1694
+ return s !== void 0 ? new t(s) : o.to.hex(this.rgb().round().color);
1695
+ },
1696
+ hexa(s) {
1697
+ if (s !== void 0)
1698
+ return new t(s);
1699
+ const f = this.rgb().round().color;
1700
+ let h = Math.round(this.valpha * 255).toString(16).toUpperCase();
1701
+ return h.length === 1 && (h = "0" + h), o.to.hex(f) + h;
1702
+ },
1703
+ rgbNumber() {
1704
+ const s = this.rgb().color;
1705
+ return (s[0] & 255) << 16 | (s[1] & 255) << 8 | s[2] & 255;
1706
+ },
1707
+ luminosity() {
1708
+ const s = this.rgb().color, f = [];
1709
+ for (const [h, d] of s.entries()) {
1710
+ const b = d / 255;
1711
+ f[h] = b <= 0.04045 ? b / 12.92 : ((b + 0.055) / 1.055) ** 2.4;
1712
+ }
1713
+ return 0.2126 * f[0] + 0.7152 * f[1] + 0.0722 * f[2];
1714
+ },
1715
+ contrast(s) {
1716
+ const f = this.luminosity(), h = s.luminosity();
1717
+ return f > h ? (f + 0.05) / (h + 0.05) : (h + 0.05) / (f + 0.05);
1718
+ },
1719
+ level(s) {
1720
+ const f = this.contrast(s);
1721
+ return f >= 7 ? "AAA" : f >= 4.5 ? "AA" : "";
1722
+ },
1723
+ isDark() {
1724
+ const s = this.rgb().color;
1725
+ return (s[0] * 2126 + s[1] * 7152 + s[2] * 722) / 1e4 < 128;
1726
+ },
1727
+ isLight() {
1728
+ return !this.isDark();
1729
+ },
1730
+ negate() {
1731
+ const s = this.rgb();
1732
+ for (let f = 0; f < 3; f++)
1733
+ s.color[f] = 255 - s.color[f];
1734
+ return s;
1735
+ },
1736
+ lighten(s) {
1737
+ const f = this.hsl();
1738
+ return f.color[2] += f.color[2] * s, f;
1739
+ },
1740
+ darken(s) {
1741
+ const f = this.hsl();
1742
+ return f.color[2] -= f.color[2] * s, f;
1743
+ },
1744
+ saturate(s) {
1745
+ const f = this.hsl();
1746
+ return f.color[1] += f.color[1] * s, f;
1747
+ },
1748
+ desaturate(s) {
1749
+ const f = this.hsl();
1750
+ return f.color[1] -= f.color[1] * s, f;
1751
+ },
1752
+ whiten(s) {
1753
+ const f = this.hwb();
1754
+ return f.color[1] += f.color[1] * s, f;
1755
+ },
1756
+ blacken(s) {
1757
+ const f = this.hwb();
1758
+ return f.color[2] += f.color[2] * s, f;
1759
+ },
1760
+ grayscale() {
1761
+ const s = this.rgb().color, f = s[0] * 0.3 + s[1] * 0.59 + s[2] * 0.11;
1762
+ return t.rgb(f, f, f);
1763
+ },
1764
+ fade(s) {
1765
+ return this.alpha(this.valpha - this.valpha * s);
1766
+ },
1767
+ opaquer(s) {
1768
+ return this.alpha(this.valpha + this.valpha * s);
1769
+ },
1770
+ rotate(s) {
1771
+ const f = this.hsl();
1772
+ let h = f.color[0];
1773
+ return h = (h + s) % 360, h = h < 0 ? 360 + h : h, f.color[0] = h, f;
1774
+ },
1775
+ mix(s, f) {
1776
+ if (!s || !s.rgb)
1777
+ throw new Error('Argument to "mix" was not a Color instance, but rather an instance of ' + typeof s);
1778
+ const h = s.rgb(), d = this.rgb(), b = f === void 0 ? 0.5 : f, m = 2 * b - 1, v = h.alpha() - d.alpha(), w = ((m * v === -1 ? m : (m + v) / (1 + m * v)) + 1) / 2, x = 1 - w;
1779
+ return t.rgb(
1780
+ w * h.red() + x * d.red(),
1781
+ w * h.green() + x * d.green(),
1782
+ w * h.blue() + x * d.blue(),
1783
+ h.alpha() * b + d.alpha() * (1 - b)
1784
+ );
1785
+ }
1786
+ };
1787
+ for (const s of Object.keys(c)) {
1788
+ if (l.includes(s))
1789
+ continue;
1790
+ const { channels: f } = c[s];
1791
+ t.prototype[s] = function(...h) {
1792
+ return this.model === s ? new t(this) : h.length > 0 ? new t(h, s) : new t([...u(c[this.model][s].raw(this.color)), this.valpha], s);
1793
+ }, t[s] = function(...h) {
1794
+ let d = h[0];
1795
+ return typeof d == "number" && (d = g(h, f)), new t(d, s);
1796
+ };
1797
+ }
1798
+ function n(s, f) {
1799
+ return Number(s.toFixed(f));
1800
+ }
1801
+ function a(s) {
1802
+ return function(f) {
1803
+ return n(f, s);
1804
+ };
1805
+ }
1806
+ function r(s, f, h) {
1807
+ s = Array.isArray(s) ? s : [s];
1808
+ for (const d of s)
1809
+ (e[d] || (e[d] = []))[f] = h;
1810
+ return s = s[0], function(d) {
1811
+ let b;
1812
+ return d !== void 0 ? (h && (d = h(d)), b = this[s](), b.color[f] = d, b) : (b = this[s]().color[f], h && (b = h(b)), b);
1813
+ };
1814
+ }
1815
+ function i(s) {
1816
+ return function(f) {
1817
+ return Math.max(0, Math.min(s, f));
1818
+ };
1819
+ }
1820
+ function u(s) {
1821
+ return Array.isArray(s) ? s : [s];
1822
+ }
1823
+ function g(s, f) {
1824
+ for (let h = 0; h < f; h++)
1825
+ typeof s[h] != "number" && (s[h] = 0);
1826
+ return s;
1827
+ }
1828
+ return U = t, U;
1829
+ }
1830
+ var gr = /* @__PURE__ */ dr();
1831
+ const pr = /* @__PURE__ */ ce(gr);
1832
+ function he(o, c) {
1833
+ return { handler: o, config: c };
1834
+ }
1835
+ he.withOptions = function(o, c = () => ({})) {
1836
+ function l(p) {
1837
+ return { handler: o(p), config: c(p) };
1838
+ }
1839
+ return l.__isOptionsFunction = !0, l;
1840
+ };
1841
+ var br = he, I, ae;
1842
+ function mr() {
1843
+ if (ae) return I;
1844
+ ae = 1;
1845
+ var o = function(v) {
1846
+ return c(v) && !l(v);
1847
+ };
1848
+ function c(m) {
1849
+ return !!m && typeof m == "object";
1850
+ }
1851
+ function l(m) {
1852
+ var v = Object.prototype.toString.call(m);
1853
+ return v === "[object RegExp]" || v === "[object Date]" || t(m);
1854
+ }
1855
+ var p = typeof Symbol == "function" && Symbol.for, e = p ? Symbol.for("react.element") : 60103;
1856
+ function t(m) {
1857
+ return m.$$typeof === e;
1858
+ }
1859
+ function n(m) {
1860
+ return Array.isArray(m) ? [] : {};
1861
+ }
1862
+ function a(m, v) {
1863
+ return v.clone !== !1 && v.isMergeableObject(m) ? d(n(m), m, v) : m;
1864
+ }
1865
+ function r(m, v, w) {
1866
+ return m.concat(v).map(function(x) {
1867
+ return a(x, w);
1868
+ });
1869
+ }
1870
+ function i(m, v) {
1871
+ if (!v.customMerge)
1872
+ return d;
1873
+ var w = v.customMerge(m);
1874
+ return typeof w == "function" ? w : d;
1875
+ }
1876
+ function u(m) {
1877
+ return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(m).filter(function(v) {
1878
+ return Object.propertyIsEnumerable.call(m, v);
1879
+ }) : [];
1880
+ }
1881
+ function g(m) {
1882
+ return Object.keys(m).concat(u(m));
1883
+ }
1884
+ function s(m, v) {
1885
+ try {
1886
+ return v in m;
1887
+ } catch {
1888
+ return !1;
1889
+ }
1890
+ }
1891
+ function f(m, v) {
1892
+ return s(m, v) && !(Object.hasOwnProperty.call(m, v) && Object.propertyIsEnumerable.call(m, v));
1893
+ }
1894
+ function h(m, v, w) {
1895
+ var x = {};
1896
+ return w.isMergeableObject(m) && g(m).forEach(function(k) {
1897
+ x[k] = a(m[k], w);
1898
+ }), g(v).forEach(function(k) {
1899
+ f(m, k) || (s(m, k) && w.isMergeableObject(v[k]) ? x[k] = i(k, w)(m[k], v[k], w) : x[k] = a(v[k], w));
1900
+ }), x;
1901
+ }
1902
+ function d(m, v, w) {
1903
+ w = w || {}, w.arrayMerge = w.arrayMerge || r, w.isMergeableObject = w.isMergeableObject || o, w.cloneUnlessOtherwiseSpecified = a;
1904
+ var x = Array.isArray(v), k = Array.isArray(m), E = x === k;
1905
+ return E ? x ? w.arrayMerge(m, v, w) : h(m, v, w) : a(v, w);
1906
+ }
1907
+ d.all = function(v, w) {
1908
+ if (!Array.isArray(v))
1909
+ throw new Error("first argument should be an array");
1910
+ return v.reduce(function(x, k) {
1911
+ return d(x, k, w);
1912
+ }, {});
1913
+ };
1914
+ var b = d;
1915
+ return I = b, I;
1916
+ }
1917
+ var yr = mr();
1918
+ const F = /* @__PURE__ */ ce(yr);
1919
+ var vr = "heroui", se = {}, wr = (o = {}, c, l) => {
1920
+ const p = {
1921
+ variants: [],
1922
+ utilities: {},
1923
+ colors: {},
1924
+ baseStyles: {}
1925
+ };
1926
+ for (const [e, { extend: t, layout: n, colors: a }] of Object.entries(o)) {
1927
+ let r = `.${e}`;
1928
+ const i = e === "light" || e === "dark" ? e : t;
1929
+ let u = "";
1930
+ e === c && (u = `:root, [data-theme=${e}]`), u && (p.baseStyles[u] = i ? {
1931
+ "color-scheme": i
1932
+ } : {}), p.utilities[r] = i ? {
1933
+ "color-scheme": i
1934
+ } : {};
1935
+ const g = Le(a), s = n ? we(n, (f, h) => ve(h)) : {};
1936
+ p.variants.push({
1937
+ name: e,
1938
+ definition: [`&.${e}`, `&[data-theme='${e}']`]
1939
+ });
1940
+ for (const [f, h] of Object.entries(g)) {
1941
+ if (!h) return;
1942
+ try {
1943
+ const d = se[h] || pr(h).hsl().round(2).array();
1944
+ se[h] = d;
1945
+ const [b, m, v, w] = d, x = `--${l}-${f}`;
1946
+ p.utilities[r][x] = `${b} ${m}% ${v}%`, u && (p.baseStyles[u][x] = `${b} ${m}% ${v}%`), p.colors[f] = `hsl(var(${x}) / ${w ?? "<alpha-value>"})`;
1947
+ } catch (d) {
1948
+ console.log("error", d?.message);
1949
+ }
1950
+ }
1951
+ for (const [f, h] of Object.entries(s)) {
1952
+ if (!h) return;
1953
+ const d = `--${l}-${f}`;
1954
+ if (typeof h == "object")
1955
+ for (const [b, m] of Object.entries(h)) {
1956
+ const v = `${d}-${b}`;
1957
+ p.utilities[r][v] = m, u && (p.baseStyles[u][v] = m);
1958
+ }
1959
+ else {
1960
+ const b = d.includes("opacity") && typeof h == "number" ? h.toString().replace(/^0\./, ".") : h;
1961
+ p.utilities[r][d] = b, u && (p.baseStyles[u][d] = b);
1962
+ }
1963
+ }
1964
+ }
1965
+ return p;
1966
+ }, xr = (o = {}, c, l, p) => {
1967
+ const e = wr(o, c, l), t = (n, a) => `linear-gradient(45deg, hsl(var(--${l}-${n})) 25%, hsl(var(--${l}-${a})) 25%, hsl(var(--${l}-${a})) 50%, hsl(var(--${l}-${n})) 50%, hsl(var(--${l}-${n})) 75%, hsl(var(--${l}-${a})) 75%, hsl(var(--${l}-${a})))`;
1968
+ return br(
1969
+ ({ addBase: n, addUtilities: a, addVariant: r }) => {
1970
+ n({
1971
+ ":root, [data-theme]": {
1972
+ ...Oe(l)
1973
+ }
1974
+ }), n({ ...e?.baseStyles }), a({ ...e?.utilities, ...Me }), e?.variants.forEach((i) => {
1975
+ r(i.name, i.definition);
1976
+ });
1977
+ },
1978
+ // extend the colors config
1979
+ {
1980
+ theme: {
1981
+ extend: {
1982
+ // @ts-ignore
1983
+ colors: {
1984
+ ...p ? y : {},
1985
+ ...e?.colors
1986
+ },
1987
+ scale: {
1988
+ 80: "0.8",
1989
+ 85: "0.85"
1990
+ },
1991
+ height: {
1992
+ divider: `var(--${l}-divider-weight)`
1993
+ },
1994
+ width: {
1995
+ divider: `var(--${l}-divider-weight)`
1996
+ },
1997
+ borderRadius: {
1998
+ small: `var(--${l}-radius-small)`,
1999
+ medium: `var(--${l}-radius-medium)`,
2000
+ large: `var(--${l}-radius-large)`
2001
+ },
2002
+ opacity: {
2003
+ hover: `var(--${l}-hover-opacity)`,
2004
+ disabled: `var(--${l}-disabled-opacity)`
2005
+ },
2006
+ borderWidth: {
2007
+ small: `var(--${l}-border-width-small)`,
2008
+ medium: `var(--${l}-border-width-medium)`,
2009
+ large: `var(--${l}-border-width-large)`,
2010
+ 1: "1px",
2011
+ 1.5: "1.5px",
2012
+ 3: "3px",
2013
+ 5: "5px"
2014
+ },
2015
+ boxShadow: {
2016
+ small: `var(--${l}-box-shadow-small)`,
2017
+ medium: `var(--${l}-box-shadow-medium)`,
2018
+ large: `var(--${l}-box-shadow-large)`
2019
+ },
2020
+ backgroundSize: {
2021
+ "stripe-size": "1.25rem 1.25rem"
2022
+ },
2023
+ backgroundImage: {
2024
+ "stripe-gradient-default": t("default-200", "default-400"),
2025
+ "stripe-gradient-primary": t("primary-200", "primary"),
2026
+ "stripe-gradient-secondary": t("secondary-200", "secondary"),
2027
+ "stripe-gradient-success": t("success-200", "success"),
2028
+ "stripe-gradient-warning": t("warning-200", "warning"),
2029
+ "stripe-gradient-danger": t("danger-200", "danger")
2030
+ },
2031
+ transitionDuration: {
2032
+ 0: "0ms",
2033
+ 250: "250ms",
2034
+ 400: "400ms"
2035
+ },
2036
+ transitionTimingFunction: {
2037
+ "soft-spring": "cubic-bezier(0.155, 1.105, 0.295, 1.12)"
2038
+ },
2039
+ ...ir
2040
+ }
2041
+ }
2042
+ }
2043
+ );
2044
+ }, Qr = (o = {}) => {
2045
+ var c, l, p, e;
2046
+ const {
2047
+ themes: t = {},
2048
+ defaultTheme: n = "light",
2049
+ layout: a,
2050
+ defaultExtendTheme: r = "light",
2051
+ prefix: i = vr,
2052
+ addCommonColors: u = !1
2053
+ } = o, g = ((c = t?.light) == null ? void 0 : c.colors) || {}, s = ((l = t?.dark) == null ? void 0 : l.colors) || {}, f = a && typeof a == "object" ? F(J, a) : J, h = {
2054
+ light: {
2055
+ ...f,
2056
+ ...ar
2057
+ },
2058
+ dark: {
2059
+ ...f,
2060
+ ...sr
2061
+ }
2062
+ };
2063
+ let d = ye(t, ["light", "dark"]) || {};
2064
+ Object.entries(d).forEach(([w, { extend: x, colors: k, layout: E }]) => {
2065
+ const de = x && je(x) ? x : r, P = j[de];
2066
+ d[w].colors = k && typeof k == "object" ? F(P, k) : P;
2067
+ const V = x ? h[x] : f;
2068
+ d[w].layout = E && typeof E == "object" ? F(V, E) : V;
2069
+ });
2070
+ const b = {
2071
+ layout: F(h.light, ((p = t?.light) == null ? void 0 : p.layout) || {}),
2072
+ colors: F(j.light, g)
2073
+ }, m = {
2074
+ layout: F(h.dark, ((e = t?.dark) == null ? void 0 : e.layout) || {}),
2075
+ colors: F(j.dark, s)
2076
+ }, v = {
2077
+ light: b,
2078
+ dark: m,
2079
+ ...d
2080
+ };
2081
+ return xr(v, n, i, u);
2082
+ };
2083
+ export {
2084
+ kr as A,
2085
+ $r as B,
2086
+ Rr as C,
2087
+ qr as D,
2088
+ Pr as E,
2089
+ Jr as F,
2090
+ Oe as G,
2091
+ sr as H,
2092
+ J as I,
2093
+ Br as J,
2094
+ Qr as K,
2095
+ ar as L,
2096
+ Er as M,
2097
+ _r as _,
2098
+ y as a,
2099
+ Ar as b,
2100
+ Zr as c,
2101
+ Hr as d,
2102
+ Cr as e,
2103
+ xe as f,
2104
+ Wr as g,
2105
+ Yr as h,
2106
+ Fr as i,
2107
+ Or as j,
2108
+ Mr as k,
2109
+ Ur as l,
2110
+ Vr as m,
2111
+ Dr as n,
2112
+ Lr as o,
2113
+ Kr as p,
2114
+ jr as q,
2115
+ Xr as r,
2116
+ j as s,
2117
+ Gr as t,
2118
+ Me as u,
2119
+ Sr as v,
2120
+ Nr as w,
2121
+ Ir as x,
2122
+ zr as y,
2123
+ Tr as z
2124
+ };