@salina-app/media-editor 0.0.1

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.js ADDED
@@ -0,0 +1,3615 @@
1
+ import { jsx as R, jsxs as ot } from "react/jsx-runtime";
2
+ import * as Re from "react";
3
+ import { forwardRef as Le, useState as Y, useEffect as xe, createElement as re } from "react";
4
+ function Oe(e) {
5
+ var t, n, r = "";
6
+ if (typeof e == "string" || typeof e == "number") r += e;
7
+ else if (typeof e == "object") if (Array.isArray(e)) {
8
+ var o = e.length;
9
+ for (t = 0; t < o; t++) e[t] && (n = Oe(e[t])) && (r && (r += " "), r += n);
10
+ } else for (n in e) e[n] && (r && (r += " "), r += n);
11
+ return r;
12
+ }
13
+ function Fe() {
14
+ for (var e, t, n = 0, r = "", o = arguments.length; n < o; n++) (e = arguments[n]) && (t = Oe(e)) && (r && (r += " "), r += t);
15
+ return r;
16
+ }
17
+ const ve = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, we = Fe, Ge = (e, t) => (n) => {
18
+ var r;
19
+ if ((t == null ? void 0 : t.variants) == null) return we(e, n == null ? void 0 : n.class, n == null ? void 0 : n.className);
20
+ const { variants: o, defaultVariants: s } = t, i = Object.keys(o).map((a) => {
21
+ const d = n == null ? void 0 : n[a], f = s == null ? void 0 : s[a];
22
+ if (d === null) return null;
23
+ const p = ve(d) || ve(f);
24
+ return o[a][p];
25
+ }), l = n && Object.entries(n).reduce((a, d) => {
26
+ let [f, p] = d;
27
+ return p === void 0 || (a[f] = p), a;
28
+ }, {}), c = t == null || (r = t.compoundVariants) === null || r === void 0 ? void 0 : r.reduce((a, d) => {
29
+ let { class: f, className: p, ...b } = d;
30
+ return Object.entries(b).every((y) => {
31
+ let [m, u] = y;
32
+ return Array.isArray(u) ? u.includes({
33
+ ...s,
34
+ ...l
35
+ }[m]) : {
36
+ ...s,
37
+ ...l
38
+ }[m] === u;
39
+ }) ? [
40
+ ...a,
41
+ f,
42
+ p
43
+ ] : a;
44
+ }, []);
45
+ return we(e, i, c, n == null ? void 0 : n.class, n == null ? void 0 : n.className);
46
+ }, de = "-", st = (e) => {
47
+ const t = lt(e), {
48
+ conflictingClassGroups: n,
49
+ conflictingClassGroupModifiers: r
50
+ } = e;
51
+ return {
52
+ getClassGroupId: (i) => {
53
+ const l = i.split(de);
54
+ return l[0] === "" && l.length !== 1 && l.shift(), Ve(l, t) || it(i);
55
+ },
56
+ getConflictingClassGroupIds: (i, l) => {
57
+ const c = n[i] || [];
58
+ return l && r[i] ? [...c, ...r[i]] : c;
59
+ }
60
+ };
61
+ }, Ve = (e, t) => {
62
+ var i;
63
+ if (e.length === 0)
64
+ return t.classGroupId;
65
+ const n = e[0], r = t.nextPart.get(n), o = r ? Ve(e.slice(1), r) : void 0;
66
+ if (o)
67
+ return o;
68
+ if (t.validators.length === 0)
69
+ return;
70
+ const s = e.join(de);
71
+ return (i = t.validators.find(({
72
+ validator: l
73
+ }) => l(s))) == null ? void 0 : i.classGroupId;
74
+ }, ke = /^\[(.+)\]$/, it = (e) => {
75
+ if (ke.test(e)) {
76
+ const t = ke.exec(e)[1], n = t == null ? void 0 : t.substring(0, t.indexOf(":"));
77
+ if (n)
78
+ return "arbitrary.." + n;
79
+ }
80
+ }, lt = (e) => {
81
+ const {
82
+ theme: t,
83
+ prefix: n
84
+ } = e, r = {
85
+ nextPart: /* @__PURE__ */ new Map(),
86
+ validators: []
87
+ };
88
+ return at(Object.entries(e.classGroups), n).forEach(([s, i]) => {
89
+ oe(i, r, s, t);
90
+ }), r;
91
+ }, oe = (e, t, n, r) => {
92
+ e.forEach((o) => {
93
+ if (typeof o == "string") {
94
+ const s = o === "" ? t : Ce(t, o);
95
+ s.classGroupId = n;
96
+ return;
97
+ }
98
+ if (typeof o == "function") {
99
+ if (ct(o)) {
100
+ oe(o(r), t, n, r);
101
+ return;
102
+ }
103
+ t.validators.push({
104
+ validator: o,
105
+ classGroupId: n
106
+ });
107
+ return;
108
+ }
109
+ Object.entries(o).forEach(([s, i]) => {
110
+ oe(i, Ce(t, s), n, r);
111
+ });
112
+ });
113
+ }, Ce = (e, t) => {
114
+ let n = e;
115
+ return t.split(de).forEach((r) => {
116
+ n.nextPart.has(r) || n.nextPart.set(r, {
117
+ nextPart: /* @__PURE__ */ new Map(),
118
+ validators: []
119
+ }), n = n.nextPart.get(r);
120
+ }), n;
121
+ }, ct = (e) => e.isThemeGetter, at = (e, t) => t ? e.map(([n, r]) => {
122
+ const o = r.map((s) => typeof s == "string" ? t + s : typeof s == "object" ? Object.fromEntries(Object.entries(s).map(([i, l]) => [t + i, l])) : s);
123
+ return [n, o];
124
+ }) : e, dt = (e) => {
125
+ if (e < 1)
126
+ return {
127
+ get: () => {
128
+ },
129
+ set: () => {
130
+ }
131
+ };
132
+ let t = 0, n = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map();
133
+ const o = (s, i) => {
134
+ n.set(s, i), t++, t > e && (t = 0, r = n, n = /* @__PURE__ */ new Map());
135
+ };
136
+ return {
137
+ get(s) {
138
+ let i = n.get(s);
139
+ if (i !== void 0)
140
+ return i;
141
+ if ((i = r.get(s)) !== void 0)
142
+ return o(s, i), i;
143
+ },
144
+ set(s, i) {
145
+ n.has(s) ? n.set(s, i) : o(s, i);
146
+ }
147
+ };
148
+ }, _e = "!", ut = (e) => {
149
+ const {
150
+ separator: t,
151
+ experimentalParseClassName: n
152
+ } = e, r = t.length === 1, o = t[0], s = t.length, i = (l) => {
153
+ const c = [];
154
+ let a = 0, d = 0, f;
155
+ for (let u = 0; u < l.length; u++) {
156
+ let g = l[u];
157
+ if (a === 0) {
158
+ if (g === o && (r || l.slice(u, u + s) === t)) {
159
+ c.push(l.slice(d, u)), d = u + s;
160
+ continue;
161
+ }
162
+ if (g === "/") {
163
+ f = u;
164
+ continue;
165
+ }
166
+ }
167
+ g === "[" ? a++ : g === "]" && a--;
168
+ }
169
+ const p = c.length === 0 ? l : l.substring(d), b = p.startsWith(_e), y = b ? p.substring(1) : p, m = f && f > d ? f - d : void 0;
170
+ return {
171
+ modifiers: c,
172
+ hasImportantModifier: b,
173
+ baseClassName: y,
174
+ maybePostfixModifierPosition: m
175
+ };
176
+ };
177
+ return n ? (l) => n({
178
+ className: l,
179
+ parseClassName: i
180
+ }) : i;
181
+ }, ft = (e) => {
182
+ if (e.length <= 1)
183
+ return e;
184
+ const t = [];
185
+ let n = [];
186
+ return e.forEach((r) => {
187
+ r[0] === "[" ? (t.push(...n.sort(), r), n = []) : n.push(r);
188
+ }), t.push(...n.sort()), t;
189
+ }, pt = (e) => ({
190
+ cache: dt(e.cacheSize),
191
+ parseClassName: ut(e),
192
+ ...st(e)
193
+ }), gt = /\s+/, ht = (e, t) => {
194
+ const {
195
+ parseClassName: n,
196
+ getClassGroupId: r,
197
+ getConflictingClassGroupIds: o
198
+ } = t, s = [], i = e.trim().split(gt);
199
+ let l = "";
200
+ for (let c = i.length - 1; c >= 0; c -= 1) {
201
+ const a = i[c], {
202
+ modifiers: d,
203
+ hasImportantModifier: f,
204
+ baseClassName: p,
205
+ maybePostfixModifierPosition: b
206
+ } = n(a);
207
+ let y = !!b, m = r(y ? p.substring(0, b) : p);
208
+ if (!m) {
209
+ if (!y) {
210
+ l = a + (l.length > 0 ? " " + l : l);
211
+ continue;
212
+ }
213
+ if (m = r(p), !m) {
214
+ l = a + (l.length > 0 ? " " + l : l);
215
+ continue;
216
+ }
217
+ y = !1;
218
+ }
219
+ const u = ft(d).join(":"), g = f ? u + _e : u, k = g + m;
220
+ if (s.includes(k))
221
+ continue;
222
+ s.push(k);
223
+ const C = o(m, y);
224
+ for (let I = 0; I < C.length; ++I) {
225
+ const T = C[I];
226
+ s.push(g + T);
227
+ }
228
+ l = a + (l.length > 0 ? " " + l : l);
229
+ }
230
+ return l;
231
+ };
232
+ function bt() {
233
+ let e = 0, t, n, r = "";
234
+ for (; e < arguments.length; )
235
+ (t = arguments[e++]) && (n = $e(t)) && (r && (r += " "), r += n);
236
+ return r;
237
+ }
238
+ const $e = (e) => {
239
+ if (typeof e == "string")
240
+ return e;
241
+ let t, n = "";
242
+ for (let r = 0; r < e.length; r++)
243
+ e[r] && (t = $e(e[r])) && (n && (n += " "), n += t);
244
+ return n;
245
+ };
246
+ function mt(e, ...t) {
247
+ let n, r, o, s = i;
248
+ function i(c) {
249
+ const a = t.reduce((d, f) => f(d), e());
250
+ return n = pt(a), r = n.cache.get, o = n.cache.set, s = l, l(c);
251
+ }
252
+ function l(c) {
253
+ const a = r(c);
254
+ if (a)
255
+ return a;
256
+ const d = ht(c, n);
257
+ return o(c, d), d;
258
+ }
259
+ return function() {
260
+ return s(bt.apply(null, arguments));
261
+ };
262
+ }
263
+ const v = (e) => {
264
+ const t = (n) => n[e] || [];
265
+ return t.isThemeGetter = !0, t;
266
+ }, Ue = /^\[(?:([a-z-]+):)?(.+)\]$/i, yt = /^\d+\/\d+$/, xt = /* @__PURE__ */ new Set(["px", "full", "screen"]), vt = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, wt = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, kt = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, Ct = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, It = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, P = (e) => L(e) || xt.has(e) || yt.test(e), M = (e) => F(e, "length", Mt), L = (e) => !!e && !Number.isNaN(Number(e)), ee = (e) => F(e, "number", L), V = (e) => !!e && Number.isInteger(Number(e)), St = (e) => e.endsWith("%") && L(e.slice(0, -1)), h = (e) => Ue.test(e), N = (e) => vt.test(e), jt = /* @__PURE__ */ new Set(["length", "size", "percentage"]), At = (e) => F(e, jt, Be), Pt = (e) => F(e, "position", Be), Tt = /* @__PURE__ */ new Set(["image", "url"]), zt = (e) => F(e, Tt, Rt), Et = (e) => F(e, "", Nt), _ = () => !0, F = (e, t, n) => {
267
+ const r = Ue.exec(e);
268
+ return r ? r[1] ? typeof t == "string" ? r[1] === t : t.has(r[1]) : n(r[2]) : !1;
269
+ }, Mt = (e) => (
270
+ // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
271
+ // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
272
+ // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
273
+ wt.test(e) && !kt.test(e)
274
+ ), Be = () => !1, Nt = (e) => Ct.test(e), Rt = (e) => It.test(e), Lt = () => {
275
+ const e = v("colors"), t = v("spacing"), n = v("blur"), r = v("brightness"), o = v("borderColor"), s = v("borderRadius"), i = v("borderSpacing"), l = v("borderWidth"), c = v("contrast"), a = v("grayscale"), d = v("hueRotate"), f = v("invert"), p = v("gap"), b = v("gradientColorStops"), y = v("gradientColorStopPositions"), m = v("inset"), u = v("margin"), g = v("opacity"), k = v("padding"), C = v("saturate"), I = v("scale"), T = v("sepia"), x = v("skew"), S = v("space"), z = v("translate"), E = () => ["auto", "contain", "none"], j = () => ["auto", "hidden", "clip", "visible", "scroll"], X = () => ["auto", h, t], w = () => [h, t], he = () => ["", P, M], q = () => ["auto", L, h], be = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], H = () => ["solid", "dashed", "dotted", "double", "none"], me = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], Z = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], G = () => ["", "0", h], ye = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], A = () => [L, h];
276
+ return {
277
+ cacheSize: 500,
278
+ separator: ":",
279
+ theme: {
280
+ colors: [_],
281
+ spacing: [P, M],
282
+ blur: ["none", "", N, h],
283
+ brightness: A(),
284
+ borderColor: [e],
285
+ borderRadius: ["none", "", "full", N, h],
286
+ borderSpacing: w(),
287
+ borderWidth: he(),
288
+ contrast: A(),
289
+ grayscale: G(),
290
+ hueRotate: A(),
291
+ invert: G(),
292
+ gap: w(),
293
+ gradientColorStops: [e],
294
+ gradientColorStopPositions: [St, M],
295
+ inset: X(),
296
+ margin: X(),
297
+ opacity: A(),
298
+ padding: w(),
299
+ saturate: A(),
300
+ scale: A(),
301
+ sepia: G(),
302
+ skew: A(),
303
+ space: w(),
304
+ translate: w()
305
+ },
306
+ classGroups: {
307
+ // Layout
308
+ /**
309
+ * Aspect Ratio
310
+ * @see https://tailwindcss.com/docs/aspect-ratio
311
+ */
312
+ aspect: [{
313
+ aspect: ["auto", "square", "video", h]
314
+ }],
315
+ /**
316
+ * Container
317
+ * @see https://tailwindcss.com/docs/container
318
+ */
319
+ container: ["container"],
320
+ /**
321
+ * Columns
322
+ * @see https://tailwindcss.com/docs/columns
323
+ */
324
+ columns: [{
325
+ columns: [N]
326
+ }],
327
+ /**
328
+ * Break After
329
+ * @see https://tailwindcss.com/docs/break-after
330
+ */
331
+ "break-after": [{
332
+ "break-after": ye()
333
+ }],
334
+ /**
335
+ * Break Before
336
+ * @see https://tailwindcss.com/docs/break-before
337
+ */
338
+ "break-before": [{
339
+ "break-before": ye()
340
+ }],
341
+ /**
342
+ * Break Inside
343
+ * @see https://tailwindcss.com/docs/break-inside
344
+ */
345
+ "break-inside": [{
346
+ "break-inside": ["auto", "avoid", "avoid-page", "avoid-column"]
347
+ }],
348
+ /**
349
+ * Box Decoration Break
350
+ * @see https://tailwindcss.com/docs/box-decoration-break
351
+ */
352
+ "box-decoration": [{
353
+ "box-decoration": ["slice", "clone"]
354
+ }],
355
+ /**
356
+ * Box Sizing
357
+ * @see https://tailwindcss.com/docs/box-sizing
358
+ */
359
+ box: [{
360
+ box: ["border", "content"]
361
+ }],
362
+ /**
363
+ * Display
364
+ * @see https://tailwindcss.com/docs/display
365
+ */
366
+ display: ["block", "inline-block", "inline", "flex", "inline-flex", "table", "inline-table", "table-caption", "table-cell", "table-column", "table-column-group", "table-footer-group", "table-header-group", "table-row-group", "table-row", "flow-root", "grid", "inline-grid", "contents", "list-item", "hidden"],
367
+ /**
368
+ * Floats
369
+ * @see https://tailwindcss.com/docs/float
370
+ */
371
+ float: [{
372
+ float: ["right", "left", "none", "start", "end"]
373
+ }],
374
+ /**
375
+ * Clear
376
+ * @see https://tailwindcss.com/docs/clear
377
+ */
378
+ clear: [{
379
+ clear: ["left", "right", "both", "none", "start", "end"]
380
+ }],
381
+ /**
382
+ * Isolation
383
+ * @see https://tailwindcss.com/docs/isolation
384
+ */
385
+ isolation: ["isolate", "isolation-auto"],
386
+ /**
387
+ * Object Fit
388
+ * @see https://tailwindcss.com/docs/object-fit
389
+ */
390
+ "object-fit": [{
391
+ object: ["contain", "cover", "fill", "none", "scale-down"]
392
+ }],
393
+ /**
394
+ * Object Position
395
+ * @see https://tailwindcss.com/docs/object-position
396
+ */
397
+ "object-position": [{
398
+ object: [...be(), h]
399
+ }],
400
+ /**
401
+ * Overflow
402
+ * @see https://tailwindcss.com/docs/overflow
403
+ */
404
+ overflow: [{
405
+ overflow: j()
406
+ }],
407
+ /**
408
+ * Overflow X
409
+ * @see https://tailwindcss.com/docs/overflow
410
+ */
411
+ "overflow-x": [{
412
+ "overflow-x": j()
413
+ }],
414
+ /**
415
+ * Overflow Y
416
+ * @see https://tailwindcss.com/docs/overflow
417
+ */
418
+ "overflow-y": [{
419
+ "overflow-y": j()
420
+ }],
421
+ /**
422
+ * Overscroll Behavior
423
+ * @see https://tailwindcss.com/docs/overscroll-behavior
424
+ */
425
+ overscroll: [{
426
+ overscroll: E()
427
+ }],
428
+ /**
429
+ * Overscroll Behavior X
430
+ * @see https://tailwindcss.com/docs/overscroll-behavior
431
+ */
432
+ "overscroll-x": [{
433
+ "overscroll-x": E()
434
+ }],
435
+ /**
436
+ * Overscroll Behavior Y
437
+ * @see https://tailwindcss.com/docs/overscroll-behavior
438
+ */
439
+ "overscroll-y": [{
440
+ "overscroll-y": E()
441
+ }],
442
+ /**
443
+ * Position
444
+ * @see https://tailwindcss.com/docs/position
445
+ */
446
+ position: ["static", "fixed", "absolute", "relative", "sticky"],
447
+ /**
448
+ * Top / Right / Bottom / Left
449
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
450
+ */
451
+ inset: [{
452
+ inset: [m]
453
+ }],
454
+ /**
455
+ * Right / Left
456
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
457
+ */
458
+ "inset-x": [{
459
+ "inset-x": [m]
460
+ }],
461
+ /**
462
+ * Top / Bottom
463
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
464
+ */
465
+ "inset-y": [{
466
+ "inset-y": [m]
467
+ }],
468
+ /**
469
+ * Start
470
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
471
+ */
472
+ start: [{
473
+ start: [m]
474
+ }],
475
+ /**
476
+ * End
477
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
478
+ */
479
+ end: [{
480
+ end: [m]
481
+ }],
482
+ /**
483
+ * Top
484
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
485
+ */
486
+ top: [{
487
+ top: [m]
488
+ }],
489
+ /**
490
+ * Right
491
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
492
+ */
493
+ right: [{
494
+ right: [m]
495
+ }],
496
+ /**
497
+ * Bottom
498
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
499
+ */
500
+ bottom: [{
501
+ bottom: [m]
502
+ }],
503
+ /**
504
+ * Left
505
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
506
+ */
507
+ left: [{
508
+ left: [m]
509
+ }],
510
+ /**
511
+ * Visibility
512
+ * @see https://tailwindcss.com/docs/visibility
513
+ */
514
+ visibility: ["visible", "invisible", "collapse"],
515
+ /**
516
+ * Z-Index
517
+ * @see https://tailwindcss.com/docs/z-index
518
+ */
519
+ z: [{
520
+ z: ["auto", V, h]
521
+ }],
522
+ // Flexbox and Grid
523
+ /**
524
+ * Flex Basis
525
+ * @see https://tailwindcss.com/docs/flex-basis
526
+ */
527
+ basis: [{
528
+ basis: X()
529
+ }],
530
+ /**
531
+ * Flex Direction
532
+ * @see https://tailwindcss.com/docs/flex-direction
533
+ */
534
+ "flex-direction": [{
535
+ flex: ["row", "row-reverse", "col", "col-reverse"]
536
+ }],
537
+ /**
538
+ * Flex Wrap
539
+ * @see https://tailwindcss.com/docs/flex-wrap
540
+ */
541
+ "flex-wrap": [{
542
+ flex: ["wrap", "wrap-reverse", "nowrap"]
543
+ }],
544
+ /**
545
+ * Flex
546
+ * @see https://tailwindcss.com/docs/flex
547
+ */
548
+ flex: [{
549
+ flex: ["1", "auto", "initial", "none", h]
550
+ }],
551
+ /**
552
+ * Flex Grow
553
+ * @see https://tailwindcss.com/docs/flex-grow
554
+ */
555
+ grow: [{
556
+ grow: G()
557
+ }],
558
+ /**
559
+ * Flex Shrink
560
+ * @see https://tailwindcss.com/docs/flex-shrink
561
+ */
562
+ shrink: [{
563
+ shrink: G()
564
+ }],
565
+ /**
566
+ * Order
567
+ * @see https://tailwindcss.com/docs/order
568
+ */
569
+ order: [{
570
+ order: ["first", "last", "none", V, h]
571
+ }],
572
+ /**
573
+ * Grid Template Columns
574
+ * @see https://tailwindcss.com/docs/grid-template-columns
575
+ */
576
+ "grid-cols": [{
577
+ "grid-cols": [_]
578
+ }],
579
+ /**
580
+ * Grid Column Start / End
581
+ * @see https://tailwindcss.com/docs/grid-column
582
+ */
583
+ "col-start-end": [{
584
+ col: ["auto", {
585
+ span: ["full", V, h]
586
+ }, h]
587
+ }],
588
+ /**
589
+ * Grid Column Start
590
+ * @see https://tailwindcss.com/docs/grid-column
591
+ */
592
+ "col-start": [{
593
+ "col-start": q()
594
+ }],
595
+ /**
596
+ * Grid Column End
597
+ * @see https://tailwindcss.com/docs/grid-column
598
+ */
599
+ "col-end": [{
600
+ "col-end": q()
601
+ }],
602
+ /**
603
+ * Grid Template Rows
604
+ * @see https://tailwindcss.com/docs/grid-template-rows
605
+ */
606
+ "grid-rows": [{
607
+ "grid-rows": [_]
608
+ }],
609
+ /**
610
+ * Grid Row Start / End
611
+ * @see https://tailwindcss.com/docs/grid-row
612
+ */
613
+ "row-start-end": [{
614
+ row: ["auto", {
615
+ span: [V, h]
616
+ }, h]
617
+ }],
618
+ /**
619
+ * Grid Row Start
620
+ * @see https://tailwindcss.com/docs/grid-row
621
+ */
622
+ "row-start": [{
623
+ "row-start": q()
624
+ }],
625
+ /**
626
+ * Grid Row End
627
+ * @see https://tailwindcss.com/docs/grid-row
628
+ */
629
+ "row-end": [{
630
+ "row-end": q()
631
+ }],
632
+ /**
633
+ * Grid Auto Flow
634
+ * @see https://tailwindcss.com/docs/grid-auto-flow
635
+ */
636
+ "grid-flow": [{
637
+ "grid-flow": ["row", "col", "dense", "row-dense", "col-dense"]
638
+ }],
639
+ /**
640
+ * Grid Auto Columns
641
+ * @see https://tailwindcss.com/docs/grid-auto-columns
642
+ */
643
+ "auto-cols": [{
644
+ "auto-cols": ["auto", "min", "max", "fr", h]
645
+ }],
646
+ /**
647
+ * Grid Auto Rows
648
+ * @see https://tailwindcss.com/docs/grid-auto-rows
649
+ */
650
+ "auto-rows": [{
651
+ "auto-rows": ["auto", "min", "max", "fr", h]
652
+ }],
653
+ /**
654
+ * Gap
655
+ * @see https://tailwindcss.com/docs/gap
656
+ */
657
+ gap: [{
658
+ gap: [p]
659
+ }],
660
+ /**
661
+ * Gap X
662
+ * @see https://tailwindcss.com/docs/gap
663
+ */
664
+ "gap-x": [{
665
+ "gap-x": [p]
666
+ }],
667
+ /**
668
+ * Gap Y
669
+ * @see https://tailwindcss.com/docs/gap
670
+ */
671
+ "gap-y": [{
672
+ "gap-y": [p]
673
+ }],
674
+ /**
675
+ * Justify Content
676
+ * @see https://tailwindcss.com/docs/justify-content
677
+ */
678
+ "justify-content": [{
679
+ justify: ["normal", ...Z()]
680
+ }],
681
+ /**
682
+ * Justify Items
683
+ * @see https://tailwindcss.com/docs/justify-items
684
+ */
685
+ "justify-items": [{
686
+ "justify-items": ["start", "end", "center", "stretch"]
687
+ }],
688
+ /**
689
+ * Justify Self
690
+ * @see https://tailwindcss.com/docs/justify-self
691
+ */
692
+ "justify-self": [{
693
+ "justify-self": ["auto", "start", "end", "center", "stretch"]
694
+ }],
695
+ /**
696
+ * Align Content
697
+ * @see https://tailwindcss.com/docs/align-content
698
+ */
699
+ "align-content": [{
700
+ content: ["normal", ...Z(), "baseline"]
701
+ }],
702
+ /**
703
+ * Align Items
704
+ * @see https://tailwindcss.com/docs/align-items
705
+ */
706
+ "align-items": [{
707
+ items: ["start", "end", "center", "baseline", "stretch"]
708
+ }],
709
+ /**
710
+ * Align Self
711
+ * @see https://tailwindcss.com/docs/align-self
712
+ */
713
+ "align-self": [{
714
+ self: ["auto", "start", "end", "center", "stretch", "baseline"]
715
+ }],
716
+ /**
717
+ * Place Content
718
+ * @see https://tailwindcss.com/docs/place-content
719
+ */
720
+ "place-content": [{
721
+ "place-content": [...Z(), "baseline"]
722
+ }],
723
+ /**
724
+ * Place Items
725
+ * @see https://tailwindcss.com/docs/place-items
726
+ */
727
+ "place-items": [{
728
+ "place-items": ["start", "end", "center", "baseline", "stretch"]
729
+ }],
730
+ /**
731
+ * Place Self
732
+ * @see https://tailwindcss.com/docs/place-self
733
+ */
734
+ "place-self": [{
735
+ "place-self": ["auto", "start", "end", "center", "stretch"]
736
+ }],
737
+ // Spacing
738
+ /**
739
+ * Padding
740
+ * @see https://tailwindcss.com/docs/padding
741
+ */
742
+ p: [{
743
+ p: [k]
744
+ }],
745
+ /**
746
+ * Padding X
747
+ * @see https://tailwindcss.com/docs/padding
748
+ */
749
+ px: [{
750
+ px: [k]
751
+ }],
752
+ /**
753
+ * Padding Y
754
+ * @see https://tailwindcss.com/docs/padding
755
+ */
756
+ py: [{
757
+ py: [k]
758
+ }],
759
+ /**
760
+ * Padding Start
761
+ * @see https://tailwindcss.com/docs/padding
762
+ */
763
+ ps: [{
764
+ ps: [k]
765
+ }],
766
+ /**
767
+ * Padding End
768
+ * @see https://tailwindcss.com/docs/padding
769
+ */
770
+ pe: [{
771
+ pe: [k]
772
+ }],
773
+ /**
774
+ * Padding Top
775
+ * @see https://tailwindcss.com/docs/padding
776
+ */
777
+ pt: [{
778
+ pt: [k]
779
+ }],
780
+ /**
781
+ * Padding Right
782
+ * @see https://tailwindcss.com/docs/padding
783
+ */
784
+ pr: [{
785
+ pr: [k]
786
+ }],
787
+ /**
788
+ * Padding Bottom
789
+ * @see https://tailwindcss.com/docs/padding
790
+ */
791
+ pb: [{
792
+ pb: [k]
793
+ }],
794
+ /**
795
+ * Padding Left
796
+ * @see https://tailwindcss.com/docs/padding
797
+ */
798
+ pl: [{
799
+ pl: [k]
800
+ }],
801
+ /**
802
+ * Margin
803
+ * @see https://tailwindcss.com/docs/margin
804
+ */
805
+ m: [{
806
+ m: [u]
807
+ }],
808
+ /**
809
+ * Margin X
810
+ * @see https://tailwindcss.com/docs/margin
811
+ */
812
+ mx: [{
813
+ mx: [u]
814
+ }],
815
+ /**
816
+ * Margin Y
817
+ * @see https://tailwindcss.com/docs/margin
818
+ */
819
+ my: [{
820
+ my: [u]
821
+ }],
822
+ /**
823
+ * Margin Start
824
+ * @see https://tailwindcss.com/docs/margin
825
+ */
826
+ ms: [{
827
+ ms: [u]
828
+ }],
829
+ /**
830
+ * Margin End
831
+ * @see https://tailwindcss.com/docs/margin
832
+ */
833
+ me: [{
834
+ me: [u]
835
+ }],
836
+ /**
837
+ * Margin Top
838
+ * @see https://tailwindcss.com/docs/margin
839
+ */
840
+ mt: [{
841
+ mt: [u]
842
+ }],
843
+ /**
844
+ * Margin Right
845
+ * @see https://tailwindcss.com/docs/margin
846
+ */
847
+ mr: [{
848
+ mr: [u]
849
+ }],
850
+ /**
851
+ * Margin Bottom
852
+ * @see https://tailwindcss.com/docs/margin
853
+ */
854
+ mb: [{
855
+ mb: [u]
856
+ }],
857
+ /**
858
+ * Margin Left
859
+ * @see https://tailwindcss.com/docs/margin
860
+ */
861
+ ml: [{
862
+ ml: [u]
863
+ }],
864
+ /**
865
+ * Space Between X
866
+ * @see https://tailwindcss.com/docs/space
867
+ */
868
+ "space-x": [{
869
+ "space-x": [S]
870
+ }],
871
+ /**
872
+ * Space Between X Reverse
873
+ * @see https://tailwindcss.com/docs/space
874
+ */
875
+ "space-x-reverse": ["space-x-reverse"],
876
+ /**
877
+ * Space Between Y
878
+ * @see https://tailwindcss.com/docs/space
879
+ */
880
+ "space-y": [{
881
+ "space-y": [S]
882
+ }],
883
+ /**
884
+ * Space Between Y Reverse
885
+ * @see https://tailwindcss.com/docs/space
886
+ */
887
+ "space-y-reverse": ["space-y-reverse"],
888
+ // Sizing
889
+ /**
890
+ * Width
891
+ * @see https://tailwindcss.com/docs/width
892
+ */
893
+ w: [{
894
+ w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw", h, t]
895
+ }],
896
+ /**
897
+ * Min-Width
898
+ * @see https://tailwindcss.com/docs/min-width
899
+ */
900
+ "min-w": [{
901
+ "min-w": [h, t, "min", "max", "fit"]
902
+ }],
903
+ /**
904
+ * Max-Width
905
+ * @see https://tailwindcss.com/docs/max-width
906
+ */
907
+ "max-w": [{
908
+ "max-w": [h, t, "none", "full", "min", "max", "fit", "prose", {
909
+ screen: [N]
910
+ }, N]
911
+ }],
912
+ /**
913
+ * Height
914
+ * @see https://tailwindcss.com/docs/height
915
+ */
916
+ h: [{
917
+ h: [h, t, "auto", "min", "max", "fit", "svh", "lvh", "dvh"]
918
+ }],
919
+ /**
920
+ * Min-Height
921
+ * @see https://tailwindcss.com/docs/min-height
922
+ */
923
+ "min-h": [{
924
+ "min-h": [h, t, "min", "max", "fit", "svh", "lvh", "dvh"]
925
+ }],
926
+ /**
927
+ * Max-Height
928
+ * @see https://tailwindcss.com/docs/max-height
929
+ */
930
+ "max-h": [{
931
+ "max-h": [h, t, "min", "max", "fit", "svh", "lvh", "dvh"]
932
+ }],
933
+ /**
934
+ * Size
935
+ * @see https://tailwindcss.com/docs/size
936
+ */
937
+ size: [{
938
+ size: [h, t, "auto", "min", "max", "fit"]
939
+ }],
940
+ // Typography
941
+ /**
942
+ * Font Size
943
+ * @see https://tailwindcss.com/docs/font-size
944
+ */
945
+ "font-size": [{
946
+ text: ["base", N, M]
947
+ }],
948
+ /**
949
+ * Font Smoothing
950
+ * @see https://tailwindcss.com/docs/font-smoothing
951
+ */
952
+ "font-smoothing": ["antialiased", "subpixel-antialiased"],
953
+ /**
954
+ * Font Style
955
+ * @see https://tailwindcss.com/docs/font-style
956
+ */
957
+ "font-style": ["italic", "not-italic"],
958
+ /**
959
+ * Font Weight
960
+ * @see https://tailwindcss.com/docs/font-weight
961
+ */
962
+ "font-weight": [{
963
+ font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", ee]
964
+ }],
965
+ /**
966
+ * Font Family
967
+ * @see https://tailwindcss.com/docs/font-family
968
+ */
969
+ "font-family": [{
970
+ font: [_]
971
+ }],
972
+ /**
973
+ * Font Variant Numeric
974
+ * @see https://tailwindcss.com/docs/font-variant-numeric
975
+ */
976
+ "fvn-normal": ["normal-nums"],
977
+ /**
978
+ * Font Variant Numeric
979
+ * @see https://tailwindcss.com/docs/font-variant-numeric
980
+ */
981
+ "fvn-ordinal": ["ordinal"],
982
+ /**
983
+ * Font Variant Numeric
984
+ * @see https://tailwindcss.com/docs/font-variant-numeric
985
+ */
986
+ "fvn-slashed-zero": ["slashed-zero"],
987
+ /**
988
+ * Font Variant Numeric
989
+ * @see https://tailwindcss.com/docs/font-variant-numeric
990
+ */
991
+ "fvn-figure": ["lining-nums", "oldstyle-nums"],
992
+ /**
993
+ * Font Variant Numeric
994
+ * @see https://tailwindcss.com/docs/font-variant-numeric
995
+ */
996
+ "fvn-spacing": ["proportional-nums", "tabular-nums"],
997
+ /**
998
+ * Font Variant Numeric
999
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1000
+ */
1001
+ "fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
1002
+ /**
1003
+ * Letter Spacing
1004
+ * @see https://tailwindcss.com/docs/letter-spacing
1005
+ */
1006
+ tracking: [{
1007
+ tracking: ["tighter", "tight", "normal", "wide", "wider", "widest", h]
1008
+ }],
1009
+ /**
1010
+ * Line Clamp
1011
+ * @see https://tailwindcss.com/docs/line-clamp
1012
+ */
1013
+ "line-clamp": [{
1014
+ "line-clamp": ["none", L, ee]
1015
+ }],
1016
+ /**
1017
+ * Line Height
1018
+ * @see https://tailwindcss.com/docs/line-height
1019
+ */
1020
+ leading: [{
1021
+ leading: ["none", "tight", "snug", "normal", "relaxed", "loose", P, h]
1022
+ }],
1023
+ /**
1024
+ * List Style Image
1025
+ * @see https://tailwindcss.com/docs/list-style-image
1026
+ */
1027
+ "list-image": [{
1028
+ "list-image": ["none", h]
1029
+ }],
1030
+ /**
1031
+ * List Style Type
1032
+ * @see https://tailwindcss.com/docs/list-style-type
1033
+ */
1034
+ "list-style-type": [{
1035
+ list: ["none", "disc", "decimal", h]
1036
+ }],
1037
+ /**
1038
+ * List Style Position
1039
+ * @see https://tailwindcss.com/docs/list-style-position
1040
+ */
1041
+ "list-style-position": [{
1042
+ list: ["inside", "outside"]
1043
+ }],
1044
+ /**
1045
+ * Placeholder Color
1046
+ * @deprecated since Tailwind CSS v3.0.0
1047
+ * @see https://tailwindcss.com/docs/placeholder-color
1048
+ */
1049
+ "placeholder-color": [{
1050
+ placeholder: [e]
1051
+ }],
1052
+ /**
1053
+ * Placeholder Opacity
1054
+ * @see https://tailwindcss.com/docs/placeholder-opacity
1055
+ */
1056
+ "placeholder-opacity": [{
1057
+ "placeholder-opacity": [g]
1058
+ }],
1059
+ /**
1060
+ * Text Alignment
1061
+ * @see https://tailwindcss.com/docs/text-align
1062
+ */
1063
+ "text-alignment": [{
1064
+ text: ["left", "center", "right", "justify", "start", "end"]
1065
+ }],
1066
+ /**
1067
+ * Text Color
1068
+ * @see https://tailwindcss.com/docs/text-color
1069
+ */
1070
+ "text-color": [{
1071
+ text: [e]
1072
+ }],
1073
+ /**
1074
+ * Text Opacity
1075
+ * @see https://tailwindcss.com/docs/text-opacity
1076
+ */
1077
+ "text-opacity": [{
1078
+ "text-opacity": [g]
1079
+ }],
1080
+ /**
1081
+ * Text Decoration
1082
+ * @see https://tailwindcss.com/docs/text-decoration
1083
+ */
1084
+ "text-decoration": ["underline", "overline", "line-through", "no-underline"],
1085
+ /**
1086
+ * Text Decoration Style
1087
+ * @see https://tailwindcss.com/docs/text-decoration-style
1088
+ */
1089
+ "text-decoration-style": [{
1090
+ decoration: [...H(), "wavy"]
1091
+ }],
1092
+ /**
1093
+ * Text Decoration Thickness
1094
+ * @see https://tailwindcss.com/docs/text-decoration-thickness
1095
+ */
1096
+ "text-decoration-thickness": [{
1097
+ decoration: ["auto", "from-font", P, M]
1098
+ }],
1099
+ /**
1100
+ * Text Underline Offset
1101
+ * @see https://tailwindcss.com/docs/text-underline-offset
1102
+ */
1103
+ "underline-offset": [{
1104
+ "underline-offset": ["auto", P, h]
1105
+ }],
1106
+ /**
1107
+ * Text Decoration Color
1108
+ * @see https://tailwindcss.com/docs/text-decoration-color
1109
+ */
1110
+ "text-decoration-color": [{
1111
+ decoration: [e]
1112
+ }],
1113
+ /**
1114
+ * Text Transform
1115
+ * @see https://tailwindcss.com/docs/text-transform
1116
+ */
1117
+ "text-transform": ["uppercase", "lowercase", "capitalize", "normal-case"],
1118
+ /**
1119
+ * Text Overflow
1120
+ * @see https://tailwindcss.com/docs/text-overflow
1121
+ */
1122
+ "text-overflow": ["truncate", "text-ellipsis", "text-clip"],
1123
+ /**
1124
+ * Text Wrap
1125
+ * @see https://tailwindcss.com/docs/text-wrap
1126
+ */
1127
+ "text-wrap": [{
1128
+ text: ["wrap", "nowrap", "balance", "pretty"]
1129
+ }],
1130
+ /**
1131
+ * Text Indent
1132
+ * @see https://tailwindcss.com/docs/text-indent
1133
+ */
1134
+ indent: [{
1135
+ indent: w()
1136
+ }],
1137
+ /**
1138
+ * Vertical Alignment
1139
+ * @see https://tailwindcss.com/docs/vertical-align
1140
+ */
1141
+ "vertical-align": [{
1142
+ align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", h]
1143
+ }],
1144
+ /**
1145
+ * Whitespace
1146
+ * @see https://tailwindcss.com/docs/whitespace
1147
+ */
1148
+ whitespace: [{
1149
+ whitespace: ["normal", "nowrap", "pre", "pre-line", "pre-wrap", "break-spaces"]
1150
+ }],
1151
+ /**
1152
+ * Word Break
1153
+ * @see https://tailwindcss.com/docs/word-break
1154
+ */
1155
+ break: [{
1156
+ break: ["normal", "words", "all", "keep"]
1157
+ }],
1158
+ /**
1159
+ * Hyphens
1160
+ * @see https://tailwindcss.com/docs/hyphens
1161
+ */
1162
+ hyphens: [{
1163
+ hyphens: ["none", "manual", "auto"]
1164
+ }],
1165
+ /**
1166
+ * Content
1167
+ * @see https://tailwindcss.com/docs/content
1168
+ */
1169
+ content: [{
1170
+ content: ["none", h]
1171
+ }],
1172
+ // Backgrounds
1173
+ /**
1174
+ * Background Attachment
1175
+ * @see https://tailwindcss.com/docs/background-attachment
1176
+ */
1177
+ "bg-attachment": [{
1178
+ bg: ["fixed", "local", "scroll"]
1179
+ }],
1180
+ /**
1181
+ * Background Clip
1182
+ * @see https://tailwindcss.com/docs/background-clip
1183
+ */
1184
+ "bg-clip": [{
1185
+ "bg-clip": ["border", "padding", "content", "text"]
1186
+ }],
1187
+ /**
1188
+ * Background Opacity
1189
+ * @deprecated since Tailwind CSS v3.0.0
1190
+ * @see https://tailwindcss.com/docs/background-opacity
1191
+ */
1192
+ "bg-opacity": [{
1193
+ "bg-opacity": [g]
1194
+ }],
1195
+ /**
1196
+ * Background Origin
1197
+ * @see https://tailwindcss.com/docs/background-origin
1198
+ */
1199
+ "bg-origin": [{
1200
+ "bg-origin": ["border", "padding", "content"]
1201
+ }],
1202
+ /**
1203
+ * Background Position
1204
+ * @see https://tailwindcss.com/docs/background-position
1205
+ */
1206
+ "bg-position": [{
1207
+ bg: [...be(), Pt]
1208
+ }],
1209
+ /**
1210
+ * Background Repeat
1211
+ * @see https://tailwindcss.com/docs/background-repeat
1212
+ */
1213
+ "bg-repeat": [{
1214
+ bg: ["no-repeat", {
1215
+ repeat: ["", "x", "y", "round", "space"]
1216
+ }]
1217
+ }],
1218
+ /**
1219
+ * Background Size
1220
+ * @see https://tailwindcss.com/docs/background-size
1221
+ */
1222
+ "bg-size": [{
1223
+ bg: ["auto", "cover", "contain", At]
1224
+ }],
1225
+ /**
1226
+ * Background Image
1227
+ * @see https://tailwindcss.com/docs/background-image
1228
+ */
1229
+ "bg-image": [{
1230
+ bg: ["none", {
1231
+ "gradient-to": ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
1232
+ }, zt]
1233
+ }],
1234
+ /**
1235
+ * Background Color
1236
+ * @see https://tailwindcss.com/docs/background-color
1237
+ */
1238
+ "bg-color": [{
1239
+ bg: [e]
1240
+ }],
1241
+ /**
1242
+ * Gradient Color Stops From Position
1243
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1244
+ */
1245
+ "gradient-from-pos": [{
1246
+ from: [y]
1247
+ }],
1248
+ /**
1249
+ * Gradient Color Stops Via Position
1250
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1251
+ */
1252
+ "gradient-via-pos": [{
1253
+ via: [y]
1254
+ }],
1255
+ /**
1256
+ * Gradient Color Stops To Position
1257
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1258
+ */
1259
+ "gradient-to-pos": [{
1260
+ to: [y]
1261
+ }],
1262
+ /**
1263
+ * Gradient Color Stops From
1264
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1265
+ */
1266
+ "gradient-from": [{
1267
+ from: [b]
1268
+ }],
1269
+ /**
1270
+ * Gradient Color Stops Via
1271
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1272
+ */
1273
+ "gradient-via": [{
1274
+ via: [b]
1275
+ }],
1276
+ /**
1277
+ * Gradient Color Stops To
1278
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1279
+ */
1280
+ "gradient-to": [{
1281
+ to: [b]
1282
+ }],
1283
+ // Borders
1284
+ /**
1285
+ * Border Radius
1286
+ * @see https://tailwindcss.com/docs/border-radius
1287
+ */
1288
+ rounded: [{
1289
+ rounded: [s]
1290
+ }],
1291
+ /**
1292
+ * Border Radius Start
1293
+ * @see https://tailwindcss.com/docs/border-radius
1294
+ */
1295
+ "rounded-s": [{
1296
+ "rounded-s": [s]
1297
+ }],
1298
+ /**
1299
+ * Border Radius End
1300
+ * @see https://tailwindcss.com/docs/border-radius
1301
+ */
1302
+ "rounded-e": [{
1303
+ "rounded-e": [s]
1304
+ }],
1305
+ /**
1306
+ * Border Radius Top
1307
+ * @see https://tailwindcss.com/docs/border-radius
1308
+ */
1309
+ "rounded-t": [{
1310
+ "rounded-t": [s]
1311
+ }],
1312
+ /**
1313
+ * Border Radius Right
1314
+ * @see https://tailwindcss.com/docs/border-radius
1315
+ */
1316
+ "rounded-r": [{
1317
+ "rounded-r": [s]
1318
+ }],
1319
+ /**
1320
+ * Border Radius Bottom
1321
+ * @see https://tailwindcss.com/docs/border-radius
1322
+ */
1323
+ "rounded-b": [{
1324
+ "rounded-b": [s]
1325
+ }],
1326
+ /**
1327
+ * Border Radius Left
1328
+ * @see https://tailwindcss.com/docs/border-radius
1329
+ */
1330
+ "rounded-l": [{
1331
+ "rounded-l": [s]
1332
+ }],
1333
+ /**
1334
+ * Border Radius Start Start
1335
+ * @see https://tailwindcss.com/docs/border-radius
1336
+ */
1337
+ "rounded-ss": [{
1338
+ "rounded-ss": [s]
1339
+ }],
1340
+ /**
1341
+ * Border Radius Start End
1342
+ * @see https://tailwindcss.com/docs/border-radius
1343
+ */
1344
+ "rounded-se": [{
1345
+ "rounded-se": [s]
1346
+ }],
1347
+ /**
1348
+ * Border Radius End End
1349
+ * @see https://tailwindcss.com/docs/border-radius
1350
+ */
1351
+ "rounded-ee": [{
1352
+ "rounded-ee": [s]
1353
+ }],
1354
+ /**
1355
+ * Border Radius End Start
1356
+ * @see https://tailwindcss.com/docs/border-radius
1357
+ */
1358
+ "rounded-es": [{
1359
+ "rounded-es": [s]
1360
+ }],
1361
+ /**
1362
+ * Border Radius Top Left
1363
+ * @see https://tailwindcss.com/docs/border-radius
1364
+ */
1365
+ "rounded-tl": [{
1366
+ "rounded-tl": [s]
1367
+ }],
1368
+ /**
1369
+ * Border Radius Top Right
1370
+ * @see https://tailwindcss.com/docs/border-radius
1371
+ */
1372
+ "rounded-tr": [{
1373
+ "rounded-tr": [s]
1374
+ }],
1375
+ /**
1376
+ * Border Radius Bottom Right
1377
+ * @see https://tailwindcss.com/docs/border-radius
1378
+ */
1379
+ "rounded-br": [{
1380
+ "rounded-br": [s]
1381
+ }],
1382
+ /**
1383
+ * Border Radius Bottom Left
1384
+ * @see https://tailwindcss.com/docs/border-radius
1385
+ */
1386
+ "rounded-bl": [{
1387
+ "rounded-bl": [s]
1388
+ }],
1389
+ /**
1390
+ * Border Width
1391
+ * @see https://tailwindcss.com/docs/border-width
1392
+ */
1393
+ "border-w": [{
1394
+ border: [l]
1395
+ }],
1396
+ /**
1397
+ * Border Width X
1398
+ * @see https://tailwindcss.com/docs/border-width
1399
+ */
1400
+ "border-w-x": [{
1401
+ "border-x": [l]
1402
+ }],
1403
+ /**
1404
+ * Border Width Y
1405
+ * @see https://tailwindcss.com/docs/border-width
1406
+ */
1407
+ "border-w-y": [{
1408
+ "border-y": [l]
1409
+ }],
1410
+ /**
1411
+ * Border Width Start
1412
+ * @see https://tailwindcss.com/docs/border-width
1413
+ */
1414
+ "border-w-s": [{
1415
+ "border-s": [l]
1416
+ }],
1417
+ /**
1418
+ * Border Width End
1419
+ * @see https://tailwindcss.com/docs/border-width
1420
+ */
1421
+ "border-w-e": [{
1422
+ "border-e": [l]
1423
+ }],
1424
+ /**
1425
+ * Border Width Top
1426
+ * @see https://tailwindcss.com/docs/border-width
1427
+ */
1428
+ "border-w-t": [{
1429
+ "border-t": [l]
1430
+ }],
1431
+ /**
1432
+ * Border Width Right
1433
+ * @see https://tailwindcss.com/docs/border-width
1434
+ */
1435
+ "border-w-r": [{
1436
+ "border-r": [l]
1437
+ }],
1438
+ /**
1439
+ * Border Width Bottom
1440
+ * @see https://tailwindcss.com/docs/border-width
1441
+ */
1442
+ "border-w-b": [{
1443
+ "border-b": [l]
1444
+ }],
1445
+ /**
1446
+ * Border Width Left
1447
+ * @see https://tailwindcss.com/docs/border-width
1448
+ */
1449
+ "border-w-l": [{
1450
+ "border-l": [l]
1451
+ }],
1452
+ /**
1453
+ * Border Opacity
1454
+ * @see https://tailwindcss.com/docs/border-opacity
1455
+ */
1456
+ "border-opacity": [{
1457
+ "border-opacity": [g]
1458
+ }],
1459
+ /**
1460
+ * Border Style
1461
+ * @see https://tailwindcss.com/docs/border-style
1462
+ */
1463
+ "border-style": [{
1464
+ border: [...H(), "hidden"]
1465
+ }],
1466
+ /**
1467
+ * Divide Width X
1468
+ * @see https://tailwindcss.com/docs/divide-width
1469
+ */
1470
+ "divide-x": [{
1471
+ "divide-x": [l]
1472
+ }],
1473
+ /**
1474
+ * Divide Width X Reverse
1475
+ * @see https://tailwindcss.com/docs/divide-width
1476
+ */
1477
+ "divide-x-reverse": ["divide-x-reverse"],
1478
+ /**
1479
+ * Divide Width Y
1480
+ * @see https://tailwindcss.com/docs/divide-width
1481
+ */
1482
+ "divide-y": [{
1483
+ "divide-y": [l]
1484
+ }],
1485
+ /**
1486
+ * Divide Width Y Reverse
1487
+ * @see https://tailwindcss.com/docs/divide-width
1488
+ */
1489
+ "divide-y-reverse": ["divide-y-reverse"],
1490
+ /**
1491
+ * Divide Opacity
1492
+ * @see https://tailwindcss.com/docs/divide-opacity
1493
+ */
1494
+ "divide-opacity": [{
1495
+ "divide-opacity": [g]
1496
+ }],
1497
+ /**
1498
+ * Divide Style
1499
+ * @see https://tailwindcss.com/docs/divide-style
1500
+ */
1501
+ "divide-style": [{
1502
+ divide: H()
1503
+ }],
1504
+ /**
1505
+ * Border Color
1506
+ * @see https://tailwindcss.com/docs/border-color
1507
+ */
1508
+ "border-color": [{
1509
+ border: [o]
1510
+ }],
1511
+ /**
1512
+ * Border Color X
1513
+ * @see https://tailwindcss.com/docs/border-color
1514
+ */
1515
+ "border-color-x": [{
1516
+ "border-x": [o]
1517
+ }],
1518
+ /**
1519
+ * Border Color Y
1520
+ * @see https://tailwindcss.com/docs/border-color
1521
+ */
1522
+ "border-color-y": [{
1523
+ "border-y": [o]
1524
+ }],
1525
+ /**
1526
+ * Border Color S
1527
+ * @see https://tailwindcss.com/docs/border-color
1528
+ */
1529
+ "border-color-s": [{
1530
+ "border-s": [o]
1531
+ }],
1532
+ /**
1533
+ * Border Color E
1534
+ * @see https://tailwindcss.com/docs/border-color
1535
+ */
1536
+ "border-color-e": [{
1537
+ "border-e": [o]
1538
+ }],
1539
+ /**
1540
+ * Border Color Top
1541
+ * @see https://tailwindcss.com/docs/border-color
1542
+ */
1543
+ "border-color-t": [{
1544
+ "border-t": [o]
1545
+ }],
1546
+ /**
1547
+ * Border Color Right
1548
+ * @see https://tailwindcss.com/docs/border-color
1549
+ */
1550
+ "border-color-r": [{
1551
+ "border-r": [o]
1552
+ }],
1553
+ /**
1554
+ * Border Color Bottom
1555
+ * @see https://tailwindcss.com/docs/border-color
1556
+ */
1557
+ "border-color-b": [{
1558
+ "border-b": [o]
1559
+ }],
1560
+ /**
1561
+ * Border Color Left
1562
+ * @see https://tailwindcss.com/docs/border-color
1563
+ */
1564
+ "border-color-l": [{
1565
+ "border-l": [o]
1566
+ }],
1567
+ /**
1568
+ * Divide Color
1569
+ * @see https://tailwindcss.com/docs/divide-color
1570
+ */
1571
+ "divide-color": [{
1572
+ divide: [o]
1573
+ }],
1574
+ /**
1575
+ * Outline Style
1576
+ * @see https://tailwindcss.com/docs/outline-style
1577
+ */
1578
+ "outline-style": [{
1579
+ outline: ["", ...H()]
1580
+ }],
1581
+ /**
1582
+ * Outline Offset
1583
+ * @see https://tailwindcss.com/docs/outline-offset
1584
+ */
1585
+ "outline-offset": [{
1586
+ "outline-offset": [P, h]
1587
+ }],
1588
+ /**
1589
+ * Outline Width
1590
+ * @see https://tailwindcss.com/docs/outline-width
1591
+ */
1592
+ "outline-w": [{
1593
+ outline: [P, M]
1594
+ }],
1595
+ /**
1596
+ * Outline Color
1597
+ * @see https://tailwindcss.com/docs/outline-color
1598
+ */
1599
+ "outline-color": [{
1600
+ outline: [e]
1601
+ }],
1602
+ /**
1603
+ * Ring Width
1604
+ * @see https://tailwindcss.com/docs/ring-width
1605
+ */
1606
+ "ring-w": [{
1607
+ ring: he()
1608
+ }],
1609
+ /**
1610
+ * Ring Width Inset
1611
+ * @see https://tailwindcss.com/docs/ring-width
1612
+ */
1613
+ "ring-w-inset": ["ring-inset"],
1614
+ /**
1615
+ * Ring Color
1616
+ * @see https://tailwindcss.com/docs/ring-color
1617
+ */
1618
+ "ring-color": [{
1619
+ ring: [e]
1620
+ }],
1621
+ /**
1622
+ * Ring Opacity
1623
+ * @see https://tailwindcss.com/docs/ring-opacity
1624
+ */
1625
+ "ring-opacity": [{
1626
+ "ring-opacity": [g]
1627
+ }],
1628
+ /**
1629
+ * Ring Offset Width
1630
+ * @see https://tailwindcss.com/docs/ring-offset-width
1631
+ */
1632
+ "ring-offset-w": [{
1633
+ "ring-offset": [P, M]
1634
+ }],
1635
+ /**
1636
+ * Ring Offset Color
1637
+ * @see https://tailwindcss.com/docs/ring-offset-color
1638
+ */
1639
+ "ring-offset-color": [{
1640
+ "ring-offset": [e]
1641
+ }],
1642
+ // Effects
1643
+ /**
1644
+ * Box Shadow
1645
+ * @see https://tailwindcss.com/docs/box-shadow
1646
+ */
1647
+ shadow: [{
1648
+ shadow: ["", "inner", "none", N, Et]
1649
+ }],
1650
+ /**
1651
+ * Box Shadow Color
1652
+ * @see https://tailwindcss.com/docs/box-shadow-color
1653
+ */
1654
+ "shadow-color": [{
1655
+ shadow: [_]
1656
+ }],
1657
+ /**
1658
+ * Opacity
1659
+ * @see https://tailwindcss.com/docs/opacity
1660
+ */
1661
+ opacity: [{
1662
+ opacity: [g]
1663
+ }],
1664
+ /**
1665
+ * Mix Blend Mode
1666
+ * @see https://tailwindcss.com/docs/mix-blend-mode
1667
+ */
1668
+ "mix-blend": [{
1669
+ "mix-blend": [...me(), "plus-lighter", "plus-darker"]
1670
+ }],
1671
+ /**
1672
+ * Background Blend Mode
1673
+ * @see https://tailwindcss.com/docs/background-blend-mode
1674
+ */
1675
+ "bg-blend": [{
1676
+ "bg-blend": me()
1677
+ }],
1678
+ // Filters
1679
+ /**
1680
+ * Filter
1681
+ * @deprecated since Tailwind CSS v3.0.0
1682
+ * @see https://tailwindcss.com/docs/filter
1683
+ */
1684
+ filter: [{
1685
+ filter: ["", "none"]
1686
+ }],
1687
+ /**
1688
+ * Blur
1689
+ * @see https://tailwindcss.com/docs/blur
1690
+ */
1691
+ blur: [{
1692
+ blur: [n]
1693
+ }],
1694
+ /**
1695
+ * Brightness
1696
+ * @see https://tailwindcss.com/docs/brightness
1697
+ */
1698
+ brightness: [{
1699
+ brightness: [r]
1700
+ }],
1701
+ /**
1702
+ * Contrast
1703
+ * @see https://tailwindcss.com/docs/contrast
1704
+ */
1705
+ contrast: [{
1706
+ contrast: [c]
1707
+ }],
1708
+ /**
1709
+ * Drop Shadow
1710
+ * @see https://tailwindcss.com/docs/drop-shadow
1711
+ */
1712
+ "drop-shadow": [{
1713
+ "drop-shadow": ["", "none", N, h]
1714
+ }],
1715
+ /**
1716
+ * Grayscale
1717
+ * @see https://tailwindcss.com/docs/grayscale
1718
+ */
1719
+ grayscale: [{
1720
+ grayscale: [a]
1721
+ }],
1722
+ /**
1723
+ * Hue Rotate
1724
+ * @see https://tailwindcss.com/docs/hue-rotate
1725
+ */
1726
+ "hue-rotate": [{
1727
+ "hue-rotate": [d]
1728
+ }],
1729
+ /**
1730
+ * Invert
1731
+ * @see https://tailwindcss.com/docs/invert
1732
+ */
1733
+ invert: [{
1734
+ invert: [f]
1735
+ }],
1736
+ /**
1737
+ * Saturate
1738
+ * @see https://tailwindcss.com/docs/saturate
1739
+ */
1740
+ saturate: [{
1741
+ saturate: [C]
1742
+ }],
1743
+ /**
1744
+ * Sepia
1745
+ * @see https://tailwindcss.com/docs/sepia
1746
+ */
1747
+ sepia: [{
1748
+ sepia: [T]
1749
+ }],
1750
+ /**
1751
+ * Backdrop Filter
1752
+ * @deprecated since Tailwind CSS v3.0.0
1753
+ * @see https://tailwindcss.com/docs/backdrop-filter
1754
+ */
1755
+ "backdrop-filter": [{
1756
+ "backdrop-filter": ["", "none"]
1757
+ }],
1758
+ /**
1759
+ * Backdrop Blur
1760
+ * @see https://tailwindcss.com/docs/backdrop-blur
1761
+ */
1762
+ "backdrop-blur": [{
1763
+ "backdrop-blur": [n]
1764
+ }],
1765
+ /**
1766
+ * Backdrop Brightness
1767
+ * @see https://tailwindcss.com/docs/backdrop-brightness
1768
+ */
1769
+ "backdrop-brightness": [{
1770
+ "backdrop-brightness": [r]
1771
+ }],
1772
+ /**
1773
+ * Backdrop Contrast
1774
+ * @see https://tailwindcss.com/docs/backdrop-contrast
1775
+ */
1776
+ "backdrop-contrast": [{
1777
+ "backdrop-contrast": [c]
1778
+ }],
1779
+ /**
1780
+ * Backdrop Grayscale
1781
+ * @see https://tailwindcss.com/docs/backdrop-grayscale
1782
+ */
1783
+ "backdrop-grayscale": [{
1784
+ "backdrop-grayscale": [a]
1785
+ }],
1786
+ /**
1787
+ * Backdrop Hue Rotate
1788
+ * @see https://tailwindcss.com/docs/backdrop-hue-rotate
1789
+ */
1790
+ "backdrop-hue-rotate": [{
1791
+ "backdrop-hue-rotate": [d]
1792
+ }],
1793
+ /**
1794
+ * Backdrop Invert
1795
+ * @see https://tailwindcss.com/docs/backdrop-invert
1796
+ */
1797
+ "backdrop-invert": [{
1798
+ "backdrop-invert": [f]
1799
+ }],
1800
+ /**
1801
+ * Backdrop Opacity
1802
+ * @see https://tailwindcss.com/docs/backdrop-opacity
1803
+ */
1804
+ "backdrop-opacity": [{
1805
+ "backdrop-opacity": [g]
1806
+ }],
1807
+ /**
1808
+ * Backdrop Saturate
1809
+ * @see https://tailwindcss.com/docs/backdrop-saturate
1810
+ */
1811
+ "backdrop-saturate": [{
1812
+ "backdrop-saturate": [C]
1813
+ }],
1814
+ /**
1815
+ * Backdrop Sepia
1816
+ * @see https://tailwindcss.com/docs/backdrop-sepia
1817
+ */
1818
+ "backdrop-sepia": [{
1819
+ "backdrop-sepia": [T]
1820
+ }],
1821
+ // Tables
1822
+ /**
1823
+ * Border Collapse
1824
+ * @see https://tailwindcss.com/docs/border-collapse
1825
+ */
1826
+ "border-collapse": [{
1827
+ border: ["collapse", "separate"]
1828
+ }],
1829
+ /**
1830
+ * Border Spacing
1831
+ * @see https://tailwindcss.com/docs/border-spacing
1832
+ */
1833
+ "border-spacing": [{
1834
+ "border-spacing": [i]
1835
+ }],
1836
+ /**
1837
+ * Border Spacing X
1838
+ * @see https://tailwindcss.com/docs/border-spacing
1839
+ */
1840
+ "border-spacing-x": [{
1841
+ "border-spacing-x": [i]
1842
+ }],
1843
+ /**
1844
+ * Border Spacing Y
1845
+ * @see https://tailwindcss.com/docs/border-spacing
1846
+ */
1847
+ "border-spacing-y": [{
1848
+ "border-spacing-y": [i]
1849
+ }],
1850
+ /**
1851
+ * Table Layout
1852
+ * @see https://tailwindcss.com/docs/table-layout
1853
+ */
1854
+ "table-layout": [{
1855
+ table: ["auto", "fixed"]
1856
+ }],
1857
+ /**
1858
+ * Caption Side
1859
+ * @see https://tailwindcss.com/docs/caption-side
1860
+ */
1861
+ caption: [{
1862
+ caption: ["top", "bottom"]
1863
+ }],
1864
+ // Transitions and Animation
1865
+ /**
1866
+ * Tranisition Property
1867
+ * @see https://tailwindcss.com/docs/transition-property
1868
+ */
1869
+ transition: [{
1870
+ transition: ["none", "all", "", "colors", "opacity", "shadow", "transform", h]
1871
+ }],
1872
+ /**
1873
+ * Transition Duration
1874
+ * @see https://tailwindcss.com/docs/transition-duration
1875
+ */
1876
+ duration: [{
1877
+ duration: A()
1878
+ }],
1879
+ /**
1880
+ * Transition Timing Function
1881
+ * @see https://tailwindcss.com/docs/transition-timing-function
1882
+ */
1883
+ ease: [{
1884
+ ease: ["linear", "in", "out", "in-out", h]
1885
+ }],
1886
+ /**
1887
+ * Transition Delay
1888
+ * @see https://tailwindcss.com/docs/transition-delay
1889
+ */
1890
+ delay: [{
1891
+ delay: A()
1892
+ }],
1893
+ /**
1894
+ * Animation
1895
+ * @see https://tailwindcss.com/docs/animation
1896
+ */
1897
+ animate: [{
1898
+ animate: ["none", "spin", "ping", "pulse", "bounce", h]
1899
+ }],
1900
+ // Transforms
1901
+ /**
1902
+ * Transform
1903
+ * @see https://tailwindcss.com/docs/transform
1904
+ */
1905
+ transform: [{
1906
+ transform: ["", "gpu", "none"]
1907
+ }],
1908
+ /**
1909
+ * Scale
1910
+ * @see https://tailwindcss.com/docs/scale
1911
+ */
1912
+ scale: [{
1913
+ scale: [I]
1914
+ }],
1915
+ /**
1916
+ * Scale X
1917
+ * @see https://tailwindcss.com/docs/scale
1918
+ */
1919
+ "scale-x": [{
1920
+ "scale-x": [I]
1921
+ }],
1922
+ /**
1923
+ * Scale Y
1924
+ * @see https://tailwindcss.com/docs/scale
1925
+ */
1926
+ "scale-y": [{
1927
+ "scale-y": [I]
1928
+ }],
1929
+ /**
1930
+ * Rotate
1931
+ * @see https://tailwindcss.com/docs/rotate
1932
+ */
1933
+ rotate: [{
1934
+ rotate: [V, h]
1935
+ }],
1936
+ /**
1937
+ * Translate X
1938
+ * @see https://tailwindcss.com/docs/translate
1939
+ */
1940
+ "translate-x": [{
1941
+ "translate-x": [z]
1942
+ }],
1943
+ /**
1944
+ * Translate Y
1945
+ * @see https://tailwindcss.com/docs/translate
1946
+ */
1947
+ "translate-y": [{
1948
+ "translate-y": [z]
1949
+ }],
1950
+ /**
1951
+ * Skew X
1952
+ * @see https://tailwindcss.com/docs/skew
1953
+ */
1954
+ "skew-x": [{
1955
+ "skew-x": [x]
1956
+ }],
1957
+ /**
1958
+ * Skew Y
1959
+ * @see https://tailwindcss.com/docs/skew
1960
+ */
1961
+ "skew-y": [{
1962
+ "skew-y": [x]
1963
+ }],
1964
+ /**
1965
+ * Transform Origin
1966
+ * @see https://tailwindcss.com/docs/transform-origin
1967
+ */
1968
+ "transform-origin": [{
1969
+ origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", h]
1970
+ }],
1971
+ // Interactivity
1972
+ /**
1973
+ * Accent Color
1974
+ * @see https://tailwindcss.com/docs/accent-color
1975
+ */
1976
+ accent: [{
1977
+ accent: ["auto", e]
1978
+ }],
1979
+ /**
1980
+ * Appearance
1981
+ * @see https://tailwindcss.com/docs/appearance
1982
+ */
1983
+ appearance: [{
1984
+ appearance: ["none", "auto"]
1985
+ }],
1986
+ /**
1987
+ * Cursor
1988
+ * @see https://tailwindcss.com/docs/cursor
1989
+ */
1990
+ cursor: [{
1991
+ cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", h]
1992
+ }],
1993
+ /**
1994
+ * Caret Color
1995
+ * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
1996
+ */
1997
+ "caret-color": [{
1998
+ caret: [e]
1999
+ }],
2000
+ /**
2001
+ * Pointer Events
2002
+ * @see https://tailwindcss.com/docs/pointer-events
2003
+ */
2004
+ "pointer-events": [{
2005
+ "pointer-events": ["none", "auto"]
2006
+ }],
2007
+ /**
2008
+ * Resize
2009
+ * @see https://tailwindcss.com/docs/resize
2010
+ */
2011
+ resize: [{
2012
+ resize: ["none", "y", "x", ""]
2013
+ }],
2014
+ /**
2015
+ * Scroll Behavior
2016
+ * @see https://tailwindcss.com/docs/scroll-behavior
2017
+ */
2018
+ "scroll-behavior": [{
2019
+ scroll: ["auto", "smooth"]
2020
+ }],
2021
+ /**
2022
+ * Scroll Margin
2023
+ * @see https://tailwindcss.com/docs/scroll-margin
2024
+ */
2025
+ "scroll-m": [{
2026
+ "scroll-m": w()
2027
+ }],
2028
+ /**
2029
+ * Scroll Margin X
2030
+ * @see https://tailwindcss.com/docs/scroll-margin
2031
+ */
2032
+ "scroll-mx": [{
2033
+ "scroll-mx": w()
2034
+ }],
2035
+ /**
2036
+ * Scroll Margin Y
2037
+ * @see https://tailwindcss.com/docs/scroll-margin
2038
+ */
2039
+ "scroll-my": [{
2040
+ "scroll-my": w()
2041
+ }],
2042
+ /**
2043
+ * Scroll Margin Start
2044
+ * @see https://tailwindcss.com/docs/scroll-margin
2045
+ */
2046
+ "scroll-ms": [{
2047
+ "scroll-ms": w()
2048
+ }],
2049
+ /**
2050
+ * Scroll Margin End
2051
+ * @see https://tailwindcss.com/docs/scroll-margin
2052
+ */
2053
+ "scroll-me": [{
2054
+ "scroll-me": w()
2055
+ }],
2056
+ /**
2057
+ * Scroll Margin Top
2058
+ * @see https://tailwindcss.com/docs/scroll-margin
2059
+ */
2060
+ "scroll-mt": [{
2061
+ "scroll-mt": w()
2062
+ }],
2063
+ /**
2064
+ * Scroll Margin Right
2065
+ * @see https://tailwindcss.com/docs/scroll-margin
2066
+ */
2067
+ "scroll-mr": [{
2068
+ "scroll-mr": w()
2069
+ }],
2070
+ /**
2071
+ * Scroll Margin Bottom
2072
+ * @see https://tailwindcss.com/docs/scroll-margin
2073
+ */
2074
+ "scroll-mb": [{
2075
+ "scroll-mb": w()
2076
+ }],
2077
+ /**
2078
+ * Scroll Margin Left
2079
+ * @see https://tailwindcss.com/docs/scroll-margin
2080
+ */
2081
+ "scroll-ml": [{
2082
+ "scroll-ml": w()
2083
+ }],
2084
+ /**
2085
+ * Scroll Padding
2086
+ * @see https://tailwindcss.com/docs/scroll-padding
2087
+ */
2088
+ "scroll-p": [{
2089
+ "scroll-p": w()
2090
+ }],
2091
+ /**
2092
+ * Scroll Padding X
2093
+ * @see https://tailwindcss.com/docs/scroll-padding
2094
+ */
2095
+ "scroll-px": [{
2096
+ "scroll-px": w()
2097
+ }],
2098
+ /**
2099
+ * Scroll Padding Y
2100
+ * @see https://tailwindcss.com/docs/scroll-padding
2101
+ */
2102
+ "scroll-py": [{
2103
+ "scroll-py": w()
2104
+ }],
2105
+ /**
2106
+ * Scroll Padding Start
2107
+ * @see https://tailwindcss.com/docs/scroll-padding
2108
+ */
2109
+ "scroll-ps": [{
2110
+ "scroll-ps": w()
2111
+ }],
2112
+ /**
2113
+ * Scroll Padding End
2114
+ * @see https://tailwindcss.com/docs/scroll-padding
2115
+ */
2116
+ "scroll-pe": [{
2117
+ "scroll-pe": w()
2118
+ }],
2119
+ /**
2120
+ * Scroll Padding Top
2121
+ * @see https://tailwindcss.com/docs/scroll-padding
2122
+ */
2123
+ "scroll-pt": [{
2124
+ "scroll-pt": w()
2125
+ }],
2126
+ /**
2127
+ * Scroll Padding Right
2128
+ * @see https://tailwindcss.com/docs/scroll-padding
2129
+ */
2130
+ "scroll-pr": [{
2131
+ "scroll-pr": w()
2132
+ }],
2133
+ /**
2134
+ * Scroll Padding Bottom
2135
+ * @see https://tailwindcss.com/docs/scroll-padding
2136
+ */
2137
+ "scroll-pb": [{
2138
+ "scroll-pb": w()
2139
+ }],
2140
+ /**
2141
+ * Scroll Padding Left
2142
+ * @see https://tailwindcss.com/docs/scroll-padding
2143
+ */
2144
+ "scroll-pl": [{
2145
+ "scroll-pl": w()
2146
+ }],
2147
+ /**
2148
+ * Scroll Snap Align
2149
+ * @see https://tailwindcss.com/docs/scroll-snap-align
2150
+ */
2151
+ "snap-align": [{
2152
+ snap: ["start", "end", "center", "align-none"]
2153
+ }],
2154
+ /**
2155
+ * Scroll Snap Stop
2156
+ * @see https://tailwindcss.com/docs/scroll-snap-stop
2157
+ */
2158
+ "snap-stop": [{
2159
+ snap: ["normal", "always"]
2160
+ }],
2161
+ /**
2162
+ * Scroll Snap Type
2163
+ * @see https://tailwindcss.com/docs/scroll-snap-type
2164
+ */
2165
+ "snap-type": [{
2166
+ snap: ["none", "x", "y", "both"]
2167
+ }],
2168
+ /**
2169
+ * Scroll Snap Type Strictness
2170
+ * @see https://tailwindcss.com/docs/scroll-snap-type
2171
+ */
2172
+ "snap-strictness": [{
2173
+ snap: ["mandatory", "proximity"]
2174
+ }],
2175
+ /**
2176
+ * Touch Action
2177
+ * @see https://tailwindcss.com/docs/touch-action
2178
+ */
2179
+ touch: [{
2180
+ touch: ["auto", "none", "manipulation"]
2181
+ }],
2182
+ /**
2183
+ * Touch Action X
2184
+ * @see https://tailwindcss.com/docs/touch-action
2185
+ */
2186
+ "touch-x": [{
2187
+ "touch-pan": ["x", "left", "right"]
2188
+ }],
2189
+ /**
2190
+ * Touch Action Y
2191
+ * @see https://tailwindcss.com/docs/touch-action
2192
+ */
2193
+ "touch-y": [{
2194
+ "touch-pan": ["y", "up", "down"]
2195
+ }],
2196
+ /**
2197
+ * Touch Action Pinch Zoom
2198
+ * @see https://tailwindcss.com/docs/touch-action
2199
+ */
2200
+ "touch-pz": ["touch-pinch-zoom"],
2201
+ /**
2202
+ * User Select
2203
+ * @see https://tailwindcss.com/docs/user-select
2204
+ */
2205
+ select: [{
2206
+ select: ["none", "text", "all", "auto"]
2207
+ }],
2208
+ /**
2209
+ * Will Change
2210
+ * @see https://tailwindcss.com/docs/will-change
2211
+ */
2212
+ "will-change": [{
2213
+ "will-change": ["auto", "scroll", "contents", "transform", h]
2214
+ }],
2215
+ // SVG
2216
+ /**
2217
+ * Fill
2218
+ * @see https://tailwindcss.com/docs/fill
2219
+ */
2220
+ fill: [{
2221
+ fill: [e, "none"]
2222
+ }],
2223
+ /**
2224
+ * Stroke Width
2225
+ * @see https://tailwindcss.com/docs/stroke-width
2226
+ */
2227
+ "stroke-w": [{
2228
+ stroke: [P, M, ee]
2229
+ }],
2230
+ /**
2231
+ * Stroke
2232
+ * @see https://tailwindcss.com/docs/stroke
2233
+ */
2234
+ stroke: [{
2235
+ stroke: [e, "none"]
2236
+ }],
2237
+ // Accessibility
2238
+ /**
2239
+ * Screen Readers
2240
+ * @see https://tailwindcss.com/docs/screen-readers
2241
+ */
2242
+ sr: ["sr-only", "not-sr-only"],
2243
+ /**
2244
+ * Forced Color Adjust
2245
+ * @see https://tailwindcss.com/docs/forced-color-adjust
2246
+ */
2247
+ "forced-color-adjust": [{
2248
+ "forced-color-adjust": ["auto", "none"]
2249
+ }]
2250
+ },
2251
+ conflictingClassGroups: {
2252
+ overflow: ["overflow-x", "overflow-y"],
2253
+ overscroll: ["overscroll-x", "overscroll-y"],
2254
+ inset: ["inset-x", "inset-y", "start", "end", "top", "right", "bottom", "left"],
2255
+ "inset-x": ["right", "left"],
2256
+ "inset-y": ["top", "bottom"],
2257
+ flex: ["basis", "grow", "shrink"],
2258
+ gap: ["gap-x", "gap-y"],
2259
+ p: ["px", "py", "ps", "pe", "pt", "pr", "pb", "pl"],
2260
+ px: ["pr", "pl"],
2261
+ py: ["pt", "pb"],
2262
+ m: ["mx", "my", "ms", "me", "mt", "mr", "mb", "ml"],
2263
+ mx: ["mr", "ml"],
2264
+ my: ["mt", "mb"],
2265
+ size: ["w", "h"],
2266
+ "font-size": ["leading"],
2267
+ "fvn-normal": ["fvn-ordinal", "fvn-slashed-zero", "fvn-figure", "fvn-spacing", "fvn-fraction"],
2268
+ "fvn-ordinal": ["fvn-normal"],
2269
+ "fvn-slashed-zero": ["fvn-normal"],
2270
+ "fvn-figure": ["fvn-normal"],
2271
+ "fvn-spacing": ["fvn-normal"],
2272
+ "fvn-fraction": ["fvn-normal"],
2273
+ "line-clamp": ["display", "overflow"],
2274
+ rounded: ["rounded-s", "rounded-e", "rounded-t", "rounded-r", "rounded-b", "rounded-l", "rounded-ss", "rounded-se", "rounded-ee", "rounded-es", "rounded-tl", "rounded-tr", "rounded-br", "rounded-bl"],
2275
+ "rounded-s": ["rounded-ss", "rounded-es"],
2276
+ "rounded-e": ["rounded-se", "rounded-ee"],
2277
+ "rounded-t": ["rounded-tl", "rounded-tr"],
2278
+ "rounded-r": ["rounded-tr", "rounded-br"],
2279
+ "rounded-b": ["rounded-br", "rounded-bl"],
2280
+ "rounded-l": ["rounded-tl", "rounded-bl"],
2281
+ "border-spacing": ["border-spacing-x", "border-spacing-y"],
2282
+ "border-w": ["border-w-s", "border-w-e", "border-w-t", "border-w-r", "border-w-b", "border-w-l"],
2283
+ "border-w-x": ["border-w-r", "border-w-l"],
2284
+ "border-w-y": ["border-w-t", "border-w-b"],
2285
+ "border-color": ["border-color-s", "border-color-e", "border-color-t", "border-color-r", "border-color-b", "border-color-l"],
2286
+ "border-color-x": ["border-color-r", "border-color-l"],
2287
+ "border-color-y": ["border-color-t", "border-color-b"],
2288
+ "scroll-m": ["scroll-mx", "scroll-my", "scroll-ms", "scroll-me", "scroll-mt", "scroll-mr", "scroll-mb", "scroll-ml"],
2289
+ "scroll-mx": ["scroll-mr", "scroll-ml"],
2290
+ "scroll-my": ["scroll-mt", "scroll-mb"],
2291
+ "scroll-p": ["scroll-px", "scroll-py", "scroll-ps", "scroll-pe", "scroll-pt", "scroll-pr", "scroll-pb", "scroll-pl"],
2292
+ "scroll-px": ["scroll-pr", "scroll-pl"],
2293
+ "scroll-py": ["scroll-pt", "scroll-pb"],
2294
+ touch: ["touch-x", "touch-y", "touch-pz"],
2295
+ "touch-x": ["touch"],
2296
+ "touch-y": ["touch"],
2297
+ "touch-pz": ["touch"]
2298
+ },
2299
+ conflictingClassGroupModifiers: {
2300
+ "font-size": ["leading"]
2301
+ }
2302
+ };
2303
+ }, Ot = /* @__PURE__ */ mt(Lt);
2304
+ function se(...e) {
2305
+ return Ot(Fe(e));
2306
+ }
2307
+ const We = Object.freeze(
2308
+ {
2309
+ left: 0,
2310
+ top: 0,
2311
+ width: 16,
2312
+ height: 16
2313
+ }
2314
+ ), J = Object.freeze({
2315
+ rotate: 0,
2316
+ vFlip: !1,
2317
+ hFlip: !1
2318
+ }), ue = Object.freeze({
2319
+ ...We,
2320
+ ...J
2321
+ }), ie = Object.freeze({
2322
+ ...ue,
2323
+ body: "",
2324
+ hidden: !1
2325
+ });
2326
+ function Ft(e, t) {
2327
+ const n = {};
2328
+ !e.hFlip != !t.hFlip && (n.hFlip = !0), !e.vFlip != !t.vFlip && (n.vFlip = !0);
2329
+ const r = ((e.rotate || 0) + (t.rotate || 0)) % 4;
2330
+ return r && (n.rotate = r), n;
2331
+ }
2332
+ function Ie(e, t) {
2333
+ const n = Ft(e, t);
2334
+ for (const r in ie)
2335
+ r in J ? r in e && !(r in n) && (n[r] = J[r]) : r in t ? n[r] = t[r] : r in e && (n[r] = e[r]);
2336
+ return n;
2337
+ }
2338
+ function Gt(e, t) {
2339
+ const n = e.icons, r = e.aliases || /* @__PURE__ */ Object.create(null), o = /* @__PURE__ */ Object.create(null);
2340
+ function s(i) {
2341
+ if (n[i])
2342
+ return o[i] = [];
2343
+ if (!(i in o)) {
2344
+ o[i] = null;
2345
+ const l = r[i] && r[i].parent, c = l && s(l);
2346
+ c && (o[i] = [l].concat(c));
2347
+ }
2348
+ return o[i];
2349
+ }
2350
+ return Object.keys(n).concat(Object.keys(r)).forEach(s), o;
2351
+ }
2352
+ function Vt(e, t, n) {
2353
+ const r = e.icons, o = e.aliases || /* @__PURE__ */ Object.create(null);
2354
+ let s = {};
2355
+ function i(l) {
2356
+ s = Ie(
2357
+ r[l] || o[l],
2358
+ s
2359
+ );
2360
+ }
2361
+ return i(t), n.forEach(i), Ie(e, s);
2362
+ }
2363
+ function qe(e, t) {
2364
+ const n = [];
2365
+ if (typeof e != "object" || typeof e.icons != "object")
2366
+ return n;
2367
+ e.not_found instanceof Array && e.not_found.forEach((o) => {
2368
+ t(o, null), n.push(o);
2369
+ });
2370
+ const r = Gt(e);
2371
+ for (const o in r) {
2372
+ const s = r[o];
2373
+ s && (t(o, Vt(e, o, s)), n.push(o));
2374
+ }
2375
+ return n;
2376
+ }
2377
+ const _t = {
2378
+ provider: "",
2379
+ aliases: {},
2380
+ not_found: {},
2381
+ ...We
2382
+ };
2383
+ function te(e, t) {
2384
+ for (const n in t)
2385
+ if (n in e && typeof e[n] != typeof t[n])
2386
+ return !1;
2387
+ return !0;
2388
+ }
2389
+ function He(e) {
2390
+ if (typeof e != "object" || e === null)
2391
+ return null;
2392
+ const t = e;
2393
+ if (typeof t.prefix != "string" || !e.icons || typeof e.icons != "object" || !te(e, _t))
2394
+ return null;
2395
+ const n = t.icons;
2396
+ for (const o in n) {
2397
+ const s = n[o];
2398
+ if (
2399
+ // Name cannot be empty
2400
+ !o || // Must have body
2401
+ typeof s.body != "string" || // Check other props
2402
+ !te(
2403
+ s,
2404
+ ie
2405
+ )
2406
+ )
2407
+ return null;
2408
+ }
2409
+ const r = t.aliases || /* @__PURE__ */ Object.create(null);
2410
+ for (const o in r) {
2411
+ const s = r[o], i = s.parent;
2412
+ if (
2413
+ // Name cannot be empty
2414
+ !o || // Parent must be set and point to existing icon
2415
+ typeof i != "string" || !n[i] && !r[i] || // Check other props
2416
+ !te(
2417
+ s,
2418
+ ie
2419
+ )
2420
+ )
2421
+ return null;
2422
+ }
2423
+ return t;
2424
+ }
2425
+ const De = /^[a-z0-9]+(-[a-z0-9]+)*$/, K = (e, t, n, r = "") => {
2426
+ const o = e.split(":");
2427
+ if (e.slice(0, 1) === "@") {
2428
+ if (o.length < 2 || o.length > 3)
2429
+ return null;
2430
+ r = o.shift().slice(1);
2431
+ }
2432
+ if (o.length > 3 || !o.length)
2433
+ return null;
2434
+ if (o.length > 1) {
2435
+ const l = o.pop(), c = o.pop(), a = {
2436
+ // Allow provider without '@': "provider:prefix:name"
2437
+ provider: o.length > 0 ? o[0] : r,
2438
+ prefix: c,
2439
+ name: l
2440
+ };
2441
+ return t && !D(a) ? null : a;
2442
+ }
2443
+ const s = o[0], i = s.split("-");
2444
+ if (i.length > 1) {
2445
+ const l = {
2446
+ provider: r,
2447
+ prefix: i.shift(),
2448
+ name: i.join("-")
2449
+ };
2450
+ return t && !D(l) ? null : l;
2451
+ }
2452
+ if (n && r === "") {
2453
+ const l = {
2454
+ provider: r,
2455
+ prefix: "",
2456
+ name: s
2457
+ };
2458
+ return t && !D(l, n) ? null : l;
2459
+ }
2460
+ return null;
2461
+ }, D = (e, t) => e ? !!// Check prefix: cannot be empty, unless allowSimpleName is enabled
2462
+ // Check name: cannot be empty
2463
+ ((t && e.prefix === "" || e.prefix) && e.name) : !1, Se = /* @__PURE__ */ Object.create(null);
2464
+ function $t(e, t) {
2465
+ return {
2466
+ provider: e,
2467
+ prefix: t,
2468
+ icons: /* @__PURE__ */ Object.create(null),
2469
+ missing: /* @__PURE__ */ new Set()
2470
+ };
2471
+ }
2472
+ function O(e, t) {
2473
+ const n = Se[e] || (Se[e] = /* @__PURE__ */ Object.create(null));
2474
+ return n[t] || (n[t] = $t(e, t));
2475
+ }
2476
+ function Qe(e, t) {
2477
+ return He(t) ? qe(t, (n, r) => {
2478
+ r ? e.icons[n] = r : e.missing.add(n);
2479
+ }) : [];
2480
+ }
2481
+ function Ut(e, t, n) {
2482
+ try {
2483
+ if (typeof n.body == "string")
2484
+ return e.icons[t] = { ...n }, !0;
2485
+ } catch {
2486
+ }
2487
+ return !1;
2488
+ }
2489
+ let W = !1;
2490
+ function Je(e) {
2491
+ return typeof e == "boolean" && (W = e), W;
2492
+ }
2493
+ function je(e) {
2494
+ const t = typeof e == "string" ? K(e, !0, W) : e;
2495
+ if (t) {
2496
+ const n = O(t.provider, t.prefix), r = t.name;
2497
+ return n.icons[r] || (n.missing.has(r) ? null : void 0);
2498
+ }
2499
+ }
2500
+ function Bt(e, t) {
2501
+ const n = K(e, !0, W);
2502
+ if (!n)
2503
+ return !1;
2504
+ const r = O(n.provider, n.prefix);
2505
+ return t ? Ut(r, n.name, t) : (r.missing.add(n.name), !0);
2506
+ }
2507
+ function Wt(e, t) {
2508
+ if (typeof e != "object")
2509
+ return !1;
2510
+ if (typeof t != "string" && (t = e.provider || ""), W && !t && !e.prefix) {
2511
+ let o = !1;
2512
+ return He(e) && (e.prefix = "", qe(e, (s, i) => {
2513
+ Bt(s, i) && (o = !0);
2514
+ })), o;
2515
+ }
2516
+ const n = e.prefix;
2517
+ if (!D({
2518
+ provider: t,
2519
+ prefix: n,
2520
+ name: "a"
2521
+ }))
2522
+ return !1;
2523
+ const r = O(t, n);
2524
+ return !!Qe(r, e);
2525
+ }
2526
+ const Ke = Object.freeze({
2527
+ width: null,
2528
+ height: null
2529
+ }), Xe = Object.freeze({
2530
+ // Dimensions
2531
+ ...Ke,
2532
+ // Transformations
2533
+ ...J
2534
+ }), qt = /(-?[0-9.]*[0-9]+[0-9.]*)/g, Ht = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
2535
+ function Ae(e, t, n) {
2536
+ if (t === 1)
2537
+ return e;
2538
+ if (n = n || 100, typeof e == "number")
2539
+ return Math.ceil(e * t * n) / n;
2540
+ if (typeof e != "string")
2541
+ return e;
2542
+ const r = e.split(qt);
2543
+ if (r === null || !r.length)
2544
+ return e;
2545
+ const o = [];
2546
+ let s = r.shift(), i = Ht.test(s);
2547
+ for (; ; ) {
2548
+ if (i) {
2549
+ const l = parseFloat(s);
2550
+ isNaN(l) ? o.push(s) : o.push(Math.ceil(l * t * n) / n);
2551
+ } else
2552
+ o.push(s);
2553
+ if (s = r.shift(), s === void 0)
2554
+ return o.join("");
2555
+ i = !i;
2556
+ }
2557
+ }
2558
+ function Dt(e, t = "defs") {
2559
+ let n = "";
2560
+ const r = e.indexOf("<" + t);
2561
+ for (; r >= 0; ) {
2562
+ const o = e.indexOf(">", r), s = e.indexOf("</" + t);
2563
+ if (o === -1 || s === -1)
2564
+ break;
2565
+ const i = e.indexOf(">", s);
2566
+ if (i === -1)
2567
+ break;
2568
+ n += e.slice(o + 1, s).trim(), e = e.slice(0, r).trim() + e.slice(i + 1);
2569
+ }
2570
+ return {
2571
+ defs: n,
2572
+ content: e
2573
+ };
2574
+ }
2575
+ function Qt(e, t) {
2576
+ return e ? "<defs>" + e + "</defs>" + t : t;
2577
+ }
2578
+ function Jt(e, t, n) {
2579
+ const r = Dt(e);
2580
+ return Qt(r.defs, t + r.content + n);
2581
+ }
2582
+ const Kt = (e) => e === "unset" || e === "undefined" || e === "none";
2583
+ function Xt(e, t) {
2584
+ const n = {
2585
+ ...ue,
2586
+ ...e
2587
+ }, r = {
2588
+ ...Xe,
2589
+ ...t
2590
+ }, o = {
2591
+ left: n.left,
2592
+ top: n.top,
2593
+ width: n.width,
2594
+ height: n.height
2595
+ };
2596
+ let s = n.body;
2597
+ [n, r].forEach((m) => {
2598
+ const u = [], g = m.hFlip, k = m.vFlip;
2599
+ let C = m.rotate;
2600
+ g ? k ? C += 2 : (u.push(
2601
+ "translate(" + (o.width + o.left).toString() + " " + (0 - o.top).toString() + ")"
2602
+ ), u.push("scale(-1 1)"), o.top = o.left = 0) : k && (u.push(
2603
+ "translate(" + (0 - o.left).toString() + " " + (o.height + o.top).toString() + ")"
2604
+ ), u.push("scale(1 -1)"), o.top = o.left = 0);
2605
+ let I;
2606
+ switch (C < 0 && (C -= Math.floor(C / 4) * 4), C = C % 4, C) {
2607
+ case 1:
2608
+ I = o.height / 2 + o.top, u.unshift(
2609
+ "rotate(90 " + I.toString() + " " + I.toString() + ")"
2610
+ );
2611
+ break;
2612
+ case 2:
2613
+ u.unshift(
2614
+ "rotate(180 " + (o.width / 2 + o.left).toString() + " " + (o.height / 2 + o.top).toString() + ")"
2615
+ );
2616
+ break;
2617
+ case 3:
2618
+ I = o.width / 2 + o.left, u.unshift(
2619
+ "rotate(-90 " + I.toString() + " " + I.toString() + ")"
2620
+ );
2621
+ break;
2622
+ }
2623
+ C % 2 === 1 && (o.left !== o.top && (I = o.left, o.left = o.top, o.top = I), o.width !== o.height && (I = o.width, o.width = o.height, o.height = I)), u.length && (s = Jt(
2624
+ s,
2625
+ '<g transform="' + u.join(" ") + '">',
2626
+ "</g>"
2627
+ ));
2628
+ });
2629
+ const i = r.width, l = r.height, c = o.width, a = o.height;
2630
+ let d, f;
2631
+ i === null ? (f = l === null ? "1em" : l === "auto" ? a : l, d = Ae(f, c / a)) : (d = i === "auto" ? c : i, f = l === null ? Ae(d, a / c) : l === "auto" ? a : l);
2632
+ const p = {}, b = (m, u) => {
2633
+ Kt(u) || (p[m] = u.toString());
2634
+ };
2635
+ b("width", d), b("height", f);
2636
+ const y = [o.left, o.top, c, a];
2637
+ return p.viewBox = y.join(" "), {
2638
+ attributes: p,
2639
+ viewBox: y,
2640
+ body: s
2641
+ };
2642
+ }
2643
+ const Zt = /\sid="(\S+)"/g, Yt = "IconifyId" + Date.now().toString(16) + (Math.random() * 16777216 | 0).toString(16);
2644
+ let en = 0;
2645
+ function tn(e, t = Yt) {
2646
+ const n = [];
2647
+ let r;
2648
+ for (; r = Zt.exec(e); )
2649
+ n.push(r[1]);
2650
+ if (!n.length)
2651
+ return e;
2652
+ const o = "suffix" + (Math.random() * 16777216 | Date.now()).toString(16);
2653
+ return n.forEach((s) => {
2654
+ const i = typeof t == "function" ? t(s) : t + (en++).toString(), l = s.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
2655
+ e = e.replace(
2656
+ // Allowed characters before id: [#;"]
2657
+ // Allowed characters after id: [)"], .[a-z]
2658
+ new RegExp('([#;"])(' + l + ')([")]|\\.[a-z])', "g"),
2659
+ "$1" + i + o + "$3"
2660
+ );
2661
+ }), e = e.replace(new RegExp(o, "g"), ""), e;
2662
+ }
2663
+ const le = /* @__PURE__ */ Object.create(null);
2664
+ function nn(e, t) {
2665
+ le[e] = t;
2666
+ }
2667
+ function ce(e) {
2668
+ return le[e] || le[""];
2669
+ }
2670
+ function fe(e) {
2671
+ let t;
2672
+ if (typeof e.resources == "string")
2673
+ t = [e.resources];
2674
+ else if (t = e.resources, !(t instanceof Array) || !t.length)
2675
+ return null;
2676
+ return {
2677
+ // API hosts
2678
+ resources: t,
2679
+ // Root path
2680
+ path: e.path || "/",
2681
+ // URL length limit
2682
+ maxURL: e.maxURL || 500,
2683
+ // Timeout before next host is used.
2684
+ rotate: e.rotate || 750,
2685
+ // Timeout before failing query.
2686
+ timeout: e.timeout || 5e3,
2687
+ // Randomise default API end point.
2688
+ random: e.random === !0,
2689
+ // Start index
2690
+ index: e.index || 0,
2691
+ // Receive data after time out (used if time out kicks in first, then API module sends data anyway).
2692
+ dataAfterTimeout: e.dataAfterTimeout !== !1
2693
+ };
2694
+ }
2695
+ const pe = /* @__PURE__ */ Object.create(null), $ = [
2696
+ "https://api.simplesvg.com",
2697
+ "https://api.unisvg.com"
2698
+ ], Q = [];
2699
+ for (; $.length > 0; )
2700
+ $.length === 1 || Math.random() > 0.5 ? Q.push($.shift()) : Q.push($.pop());
2701
+ pe[""] = fe({
2702
+ resources: ["https://api.iconify.design"].concat(Q)
2703
+ });
2704
+ function rn(e, t) {
2705
+ const n = fe(t);
2706
+ return n === null ? !1 : (pe[e] = n, !0);
2707
+ }
2708
+ function ge(e) {
2709
+ return pe[e];
2710
+ }
2711
+ const on = () => {
2712
+ let e;
2713
+ try {
2714
+ if (e = fetch, typeof e == "function")
2715
+ return e;
2716
+ } catch {
2717
+ }
2718
+ };
2719
+ let Pe = on();
2720
+ function sn(e, t) {
2721
+ const n = ge(e);
2722
+ if (!n)
2723
+ return 0;
2724
+ let r;
2725
+ if (!n.maxURL)
2726
+ r = 0;
2727
+ else {
2728
+ let o = 0;
2729
+ n.resources.forEach((i) => {
2730
+ o = Math.max(o, i.length);
2731
+ });
2732
+ const s = t + ".json?icons=";
2733
+ r = n.maxURL - o - n.path.length - s.length;
2734
+ }
2735
+ return r;
2736
+ }
2737
+ function ln(e) {
2738
+ return e === 404;
2739
+ }
2740
+ const cn = (e, t, n) => {
2741
+ const r = [], o = sn(e, t), s = "icons";
2742
+ let i = {
2743
+ type: s,
2744
+ provider: e,
2745
+ prefix: t,
2746
+ icons: []
2747
+ }, l = 0;
2748
+ return n.forEach((c, a) => {
2749
+ l += c.length + 1, l >= o && a > 0 && (r.push(i), i = {
2750
+ type: s,
2751
+ provider: e,
2752
+ prefix: t,
2753
+ icons: []
2754
+ }, l = c.length), i.icons.push(c);
2755
+ }), r.push(i), r;
2756
+ };
2757
+ function an(e) {
2758
+ if (typeof e == "string") {
2759
+ const t = ge(e);
2760
+ if (t)
2761
+ return t.path;
2762
+ }
2763
+ return "/";
2764
+ }
2765
+ const dn = (e, t, n) => {
2766
+ if (!Pe) {
2767
+ n("abort", 424);
2768
+ return;
2769
+ }
2770
+ let r = an(t.provider);
2771
+ switch (t.type) {
2772
+ case "icons": {
2773
+ const s = t.prefix, l = t.icons.join(","), c = new URLSearchParams({
2774
+ icons: l
2775
+ });
2776
+ r += s + ".json?" + c.toString();
2777
+ break;
2778
+ }
2779
+ case "custom": {
2780
+ const s = t.uri;
2781
+ r += s.slice(0, 1) === "/" ? s.slice(1) : s;
2782
+ break;
2783
+ }
2784
+ default:
2785
+ n("abort", 400);
2786
+ return;
2787
+ }
2788
+ let o = 503;
2789
+ Pe(e + r).then((s) => {
2790
+ const i = s.status;
2791
+ if (i !== 200) {
2792
+ setTimeout(() => {
2793
+ n(ln(i) ? "abort" : "next", i);
2794
+ });
2795
+ return;
2796
+ }
2797
+ return o = 501, s.json();
2798
+ }).then((s) => {
2799
+ if (typeof s != "object" || s === null) {
2800
+ setTimeout(() => {
2801
+ s === 404 ? n("abort", s) : n("next", o);
2802
+ });
2803
+ return;
2804
+ }
2805
+ setTimeout(() => {
2806
+ n("success", s);
2807
+ });
2808
+ }).catch(() => {
2809
+ n("next", o);
2810
+ });
2811
+ }, un = {
2812
+ prepare: cn,
2813
+ send: dn
2814
+ };
2815
+ function fn(e) {
2816
+ const t = {
2817
+ loaded: [],
2818
+ missing: [],
2819
+ pending: []
2820
+ }, n = /* @__PURE__ */ Object.create(null);
2821
+ e.sort((o, s) => o.provider !== s.provider ? o.provider.localeCompare(s.provider) : o.prefix !== s.prefix ? o.prefix.localeCompare(s.prefix) : o.name.localeCompare(s.name));
2822
+ let r = {
2823
+ provider: "",
2824
+ prefix: "",
2825
+ name: ""
2826
+ };
2827
+ return e.forEach((o) => {
2828
+ if (r.name === o.name && r.prefix === o.prefix && r.provider === o.provider)
2829
+ return;
2830
+ r = o;
2831
+ const s = o.provider, i = o.prefix, l = o.name, c = n[s] || (n[s] = /* @__PURE__ */ Object.create(null)), a = c[i] || (c[i] = O(s, i));
2832
+ let d;
2833
+ l in a.icons ? d = t.loaded : i === "" || a.missing.has(l) ? d = t.missing : d = t.pending;
2834
+ const f = {
2835
+ provider: s,
2836
+ prefix: i,
2837
+ name: l
2838
+ };
2839
+ d.push(f);
2840
+ }), t;
2841
+ }
2842
+ function Ze(e, t) {
2843
+ e.forEach((n) => {
2844
+ const r = n.loaderCallbacks;
2845
+ r && (n.loaderCallbacks = r.filter((o) => o.id !== t));
2846
+ });
2847
+ }
2848
+ function pn(e) {
2849
+ e.pendingCallbacksFlag || (e.pendingCallbacksFlag = !0, setTimeout(() => {
2850
+ e.pendingCallbacksFlag = !1;
2851
+ const t = e.loaderCallbacks ? e.loaderCallbacks.slice(0) : [];
2852
+ if (!t.length)
2853
+ return;
2854
+ let n = !1;
2855
+ const r = e.provider, o = e.prefix;
2856
+ t.forEach((s) => {
2857
+ const i = s.icons, l = i.pending.length;
2858
+ i.pending = i.pending.filter((c) => {
2859
+ if (c.prefix !== o)
2860
+ return !0;
2861
+ const a = c.name;
2862
+ if (e.icons[a])
2863
+ i.loaded.push({
2864
+ provider: r,
2865
+ prefix: o,
2866
+ name: a
2867
+ });
2868
+ else if (e.missing.has(a))
2869
+ i.missing.push({
2870
+ provider: r,
2871
+ prefix: o,
2872
+ name: a
2873
+ });
2874
+ else
2875
+ return n = !0, !0;
2876
+ return !1;
2877
+ }), i.pending.length !== l && (n || Ze([e], s.id), s.callback(
2878
+ i.loaded.slice(0),
2879
+ i.missing.slice(0),
2880
+ i.pending.slice(0),
2881
+ s.abort
2882
+ ));
2883
+ });
2884
+ }));
2885
+ }
2886
+ let gn = 0;
2887
+ function hn(e, t, n) {
2888
+ const r = gn++, o = Ze.bind(null, n, r);
2889
+ if (!t.pending.length)
2890
+ return o;
2891
+ const s = {
2892
+ id: r,
2893
+ icons: t,
2894
+ callback: e,
2895
+ abort: o
2896
+ };
2897
+ return n.forEach((i) => {
2898
+ (i.loaderCallbacks || (i.loaderCallbacks = [])).push(s);
2899
+ }), o;
2900
+ }
2901
+ function bn(e, t = !0, n = !1) {
2902
+ const r = [];
2903
+ return e.forEach((o) => {
2904
+ const s = typeof o == "string" ? K(o, t, n) : o;
2905
+ s && r.push(s);
2906
+ }), r;
2907
+ }
2908
+ var mn = {
2909
+ resources: [],
2910
+ index: 0,
2911
+ timeout: 2e3,
2912
+ rotate: 750,
2913
+ random: !1,
2914
+ dataAfterTimeout: !1
2915
+ };
2916
+ function yn(e, t, n, r) {
2917
+ const o = e.resources.length, s = e.random ? Math.floor(Math.random() * o) : e.index;
2918
+ let i;
2919
+ if (e.random) {
2920
+ let x = e.resources.slice(0);
2921
+ for (i = []; x.length > 1; ) {
2922
+ const S = Math.floor(Math.random() * x.length);
2923
+ i.push(x[S]), x = x.slice(0, S).concat(x.slice(S + 1));
2924
+ }
2925
+ i = i.concat(x);
2926
+ } else
2927
+ i = e.resources.slice(s).concat(e.resources.slice(0, s));
2928
+ const l = Date.now();
2929
+ let c = "pending", a = 0, d, f = null, p = [], b = [];
2930
+ typeof r == "function" && b.push(r);
2931
+ function y() {
2932
+ f && (clearTimeout(f), f = null);
2933
+ }
2934
+ function m() {
2935
+ c === "pending" && (c = "aborted"), y(), p.forEach((x) => {
2936
+ x.status === "pending" && (x.status = "aborted");
2937
+ }), p = [];
2938
+ }
2939
+ function u(x, S) {
2940
+ S && (b = []), typeof x == "function" && b.push(x);
2941
+ }
2942
+ function g() {
2943
+ return {
2944
+ startTime: l,
2945
+ payload: t,
2946
+ status: c,
2947
+ queriesSent: a,
2948
+ queriesPending: p.length,
2949
+ subscribe: u,
2950
+ abort: m
2951
+ };
2952
+ }
2953
+ function k() {
2954
+ c = "failed", b.forEach((x) => {
2955
+ x(void 0, d);
2956
+ });
2957
+ }
2958
+ function C() {
2959
+ p.forEach((x) => {
2960
+ x.status === "pending" && (x.status = "aborted");
2961
+ }), p = [];
2962
+ }
2963
+ function I(x, S, z) {
2964
+ const E = S !== "success";
2965
+ switch (p = p.filter((j) => j !== x), c) {
2966
+ case "pending":
2967
+ break;
2968
+ case "failed":
2969
+ if (E || !e.dataAfterTimeout)
2970
+ return;
2971
+ break;
2972
+ default:
2973
+ return;
2974
+ }
2975
+ if (S === "abort") {
2976
+ d = z, k();
2977
+ return;
2978
+ }
2979
+ if (E) {
2980
+ d = z, p.length || (i.length ? T() : k());
2981
+ return;
2982
+ }
2983
+ if (y(), C(), !e.random) {
2984
+ const j = e.resources.indexOf(x.resource);
2985
+ j !== -1 && j !== e.index && (e.index = j);
2986
+ }
2987
+ c = "completed", b.forEach((j) => {
2988
+ j(z);
2989
+ });
2990
+ }
2991
+ function T() {
2992
+ if (c !== "pending")
2993
+ return;
2994
+ y();
2995
+ const x = i.shift();
2996
+ if (x === void 0) {
2997
+ if (p.length) {
2998
+ f = setTimeout(() => {
2999
+ y(), c === "pending" && (C(), k());
3000
+ }, e.timeout);
3001
+ return;
3002
+ }
3003
+ k();
3004
+ return;
3005
+ }
3006
+ const S = {
3007
+ status: "pending",
3008
+ resource: x,
3009
+ callback: (z, E) => {
3010
+ I(S, z, E);
3011
+ }
3012
+ };
3013
+ p.push(S), a++, f = setTimeout(T, e.rotate), n(x, t, S.callback);
3014
+ }
3015
+ return setTimeout(T), g;
3016
+ }
3017
+ function Ye(e) {
3018
+ const t = {
3019
+ ...mn,
3020
+ ...e
3021
+ };
3022
+ let n = [];
3023
+ function r() {
3024
+ n = n.filter((l) => l().status === "pending");
3025
+ }
3026
+ function o(l, c, a) {
3027
+ const d = yn(
3028
+ t,
3029
+ l,
3030
+ c,
3031
+ (f, p) => {
3032
+ r(), a && a(f, p);
3033
+ }
3034
+ );
3035
+ return n.push(d), d;
3036
+ }
3037
+ function s(l) {
3038
+ return n.find((c) => l(c)) || null;
3039
+ }
3040
+ return {
3041
+ query: o,
3042
+ find: s,
3043
+ setIndex: (l) => {
3044
+ t.index = l;
3045
+ },
3046
+ getIndex: () => t.index,
3047
+ cleanup: r
3048
+ };
3049
+ }
3050
+ function Te() {
3051
+ }
3052
+ const ne = /* @__PURE__ */ Object.create(null);
3053
+ function xn(e) {
3054
+ if (!ne[e]) {
3055
+ const t = ge(e);
3056
+ if (!t)
3057
+ return;
3058
+ const n = Ye(t), r = {
3059
+ config: t,
3060
+ redundancy: n
3061
+ };
3062
+ ne[e] = r;
3063
+ }
3064
+ return ne[e];
3065
+ }
3066
+ function vn(e, t, n) {
3067
+ let r, o;
3068
+ if (typeof e == "string") {
3069
+ const s = ce(e);
3070
+ if (!s)
3071
+ return n(void 0, 424), Te;
3072
+ o = s.send;
3073
+ const i = xn(e);
3074
+ i && (r = i.redundancy);
3075
+ } else {
3076
+ const s = fe(e);
3077
+ if (s) {
3078
+ r = Ye(s);
3079
+ const i = e.resources ? e.resources[0] : "", l = ce(i);
3080
+ l && (o = l.send);
3081
+ }
3082
+ }
3083
+ return !r || !o ? (n(void 0, 424), Te) : r.query(t, o, n)().abort;
3084
+ }
3085
+ function wn() {
3086
+ }
3087
+ function kn(e) {
3088
+ e.iconsLoaderFlag || (e.iconsLoaderFlag = !0, setTimeout(() => {
3089
+ e.iconsLoaderFlag = !1, pn(e);
3090
+ }));
3091
+ }
3092
+ function Cn(e) {
3093
+ const t = [], n = [];
3094
+ return e.forEach((r) => {
3095
+ (r.match(De) ? t : n).push(r);
3096
+ }), {
3097
+ valid: t,
3098
+ invalid: n
3099
+ };
3100
+ }
3101
+ function U(e, t, n) {
3102
+ function r() {
3103
+ const o = e.pendingIcons;
3104
+ t.forEach((s) => {
3105
+ o && o.delete(s), e.icons[s] || e.missing.add(s);
3106
+ });
3107
+ }
3108
+ if (n && typeof n == "object")
3109
+ try {
3110
+ if (!Qe(e, n).length) {
3111
+ r();
3112
+ return;
3113
+ }
3114
+ } catch (o) {
3115
+ console.error(o);
3116
+ }
3117
+ r(), kn(e);
3118
+ }
3119
+ function ze(e, t) {
3120
+ e instanceof Promise ? e.then((n) => {
3121
+ t(n);
3122
+ }).catch(() => {
3123
+ t(null);
3124
+ }) : t(e);
3125
+ }
3126
+ function In(e, t) {
3127
+ e.iconsToLoad ? e.iconsToLoad = e.iconsToLoad.concat(t).sort() : e.iconsToLoad = t, e.iconsQueueFlag || (e.iconsQueueFlag = !0, setTimeout(() => {
3128
+ e.iconsQueueFlag = !1;
3129
+ const { provider: n, prefix: r } = e, o = e.iconsToLoad;
3130
+ if (delete e.iconsToLoad, !o || !o.length)
3131
+ return;
3132
+ const s = e.loadIcon;
3133
+ if (e.loadIcons && (o.length > 1 || !s)) {
3134
+ ze(
3135
+ e.loadIcons(o, r, n),
3136
+ (d) => {
3137
+ U(e, o, d);
3138
+ }
3139
+ );
3140
+ return;
3141
+ }
3142
+ if (s) {
3143
+ o.forEach((d) => {
3144
+ const f = s(d, r, n);
3145
+ ze(f, (p) => {
3146
+ const b = p ? {
3147
+ prefix: r,
3148
+ icons: {
3149
+ [d]: p
3150
+ }
3151
+ } : null;
3152
+ U(e, [d], b);
3153
+ });
3154
+ });
3155
+ return;
3156
+ }
3157
+ const { valid: i, invalid: l } = Cn(o);
3158
+ if (l.length && U(e, l, null), !i.length)
3159
+ return;
3160
+ const c = r.match(De) ? ce(n) : null;
3161
+ if (!c) {
3162
+ U(e, i, null);
3163
+ return;
3164
+ }
3165
+ c.prepare(n, r, i).forEach((d) => {
3166
+ vn(n, d, (f) => {
3167
+ U(e, d.icons, f);
3168
+ });
3169
+ });
3170
+ }));
3171
+ }
3172
+ const Sn = (e, t) => {
3173
+ const n = bn(e, !0, Je()), r = fn(n);
3174
+ if (!r.pending.length) {
3175
+ let c = !0;
3176
+ return setTimeout(() => {
3177
+ c && t(
3178
+ r.loaded,
3179
+ r.missing,
3180
+ r.pending,
3181
+ wn
3182
+ );
3183
+ }), () => {
3184
+ c = !1;
3185
+ };
3186
+ }
3187
+ const o = /* @__PURE__ */ Object.create(null), s = [];
3188
+ let i, l;
3189
+ return r.pending.forEach((c) => {
3190
+ const { provider: a, prefix: d } = c;
3191
+ if (d === l && a === i)
3192
+ return;
3193
+ i = a, l = d, s.push(O(a, d));
3194
+ const f = o[a] || (o[a] = /* @__PURE__ */ Object.create(null));
3195
+ f[d] || (f[d] = []);
3196
+ }), r.pending.forEach((c) => {
3197
+ const { provider: a, prefix: d, name: f } = c, p = O(a, d), b = p.pendingIcons || (p.pendingIcons = /* @__PURE__ */ new Set());
3198
+ b.has(f) || (b.add(f), o[a][d].push(f));
3199
+ }), s.forEach((c) => {
3200
+ const a = o[c.provider][c.prefix];
3201
+ a.length && In(c, a);
3202
+ }), hn(t, r, s);
3203
+ };
3204
+ function jn(e, t) {
3205
+ const n = {
3206
+ ...e
3207
+ };
3208
+ for (const r in t) {
3209
+ const o = t[r], s = typeof o;
3210
+ r in Ke ? (o === null || o && (s === "string" || s === "number")) && (n[r] = o) : s === typeof n[r] && (n[r] = r === "rotate" ? o % 4 : o);
3211
+ }
3212
+ return n;
3213
+ }
3214
+ const An = /[\s,]+/;
3215
+ function Pn(e, t) {
3216
+ t.split(An).forEach((n) => {
3217
+ switch (n.trim()) {
3218
+ case "horizontal":
3219
+ e.hFlip = !0;
3220
+ break;
3221
+ case "vertical":
3222
+ e.vFlip = !0;
3223
+ break;
3224
+ }
3225
+ });
3226
+ }
3227
+ function Tn(e, t = 0) {
3228
+ const n = e.replace(/^-?[0-9.]*/, "");
3229
+ function r(o) {
3230
+ for (; o < 0; )
3231
+ o += 4;
3232
+ return o % 4;
3233
+ }
3234
+ if (n === "") {
3235
+ const o = parseInt(e);
3236
+ return isNaN(o) ? 0 : r(o);
3237
+ } else if (n !== e) {
3238
+ let o = 0;
3239
+ switch (n) {
3240
+ case "%":
3241
+ o = 25;
3242
+ break;
3243
+ case "deg":
3244
+ o = 90;
3245
+ }
3246
+ if (o) {
3247
+ let s = parseFloat(e.slice(0, e.length - n.length));
3248
+ return isNaN(s) ? 0 : (s = s / o, s % 1 === 0 ? r(s) : 0);
3249
+ }
3250
+ }
3251
+ return t;
3252
+ }
3253
+ function zn(e, t) {
3254
+ let n = e.indexOf("xlink:") === -1 ? "" : ' xmlns:xlink="http://www.w3.org/1999/xlink"';
3255
+ for (const r in t)
3256
+ n += " " + r + '="' + t[r] + '"';
3257
+ return '<svg xmlns="http://www.w3.org/2000/svg"' + n + ">" + e + "</svg>";
3258
+ }
3259
+ function En(e) {
3260
+ return e.replace(/"/g, "'").replace(/%/g, "%25").replace(/#/g, "%23").replace(/</g, "%3C").replace(/>/g, "%3E").replace(/\s+/g, " ");
3261
+ }
3262
+ function Mn(e) {
3263
+ return "data:image/svg+xml," + En(e);
3264
+ }
3265
+ function Nn(e) {
3266
+ return 'url("' + Mn(e) + '")';
3267
+ }
3268
+ let B;
3269
+ function Rn() {
3270
+ try {
3271
+ B = window.trustedTypes.createPolicy("iconify", {
3272
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-return
3273
+ createHTML: (e) => e
3274
+ });
3275
+ } catch {
3276
+ B = null;
3277
+ }
3278
+ }
3279
+ function Ln(e) {
3280
+ return B === void 0 && Rn(), B ? B.createHTML(e) : e;
3281
+ }
3282
+ const et = {
3283
+ ...Xe,
3284
+ inline: !1
3285
+ }, On = {
3286
+ xmlns: "http://www.w3.org/2000/svg",
3287
+ xmlnsXlink: "http://www.w3.org/1999/xlink",
3288
+ "aria-hidden": !0,
3289
+ role: "img"
3290
+ }, Fn = {
3291
+ display: "inline-block"
3292
+ }, ae = {
3293
+ backgroundColor: "currentColor"
3294
+ }, tt = {
3295
+ backgroundColor: "transparent"
3296
+ }, Ee = {
3297
+ Image: "var(--svg)",
3298
+ Repeat: "no-repeat",
3299
+ Size: "100% 100%"
3300
+ }, Me = {
3301
+ WebkitMask: ae,
3302
+ mask: ae,
3303
+ background: tt
3304
+ };
3305
+ for (const e in Me) {
3306
+ const t = Me[e];
3307
+ for (const n in Ee)
3308
+ t[e + n] = Ee[n];
3309
+ }
3310
+ const Gn = {
3311
+ ...et,
3312
+ inline: !0
3313
+ };
3314
+ function Ne(e) {
3315
+ return e + (e.match(/^[-0-9.]+$/) ? "px" : "");
3316
+ }
3317
+ const Vn = (e, t, n) => {
3318
+ const r = t.inline ? Gn : et, o = jn(r, t), s = t.mode || "svg", i = {}, l = t.style || {}, c = {
3319
+ ...s === "svg" ? On : {}
3320
+ };
3321
+ if (n) {
3322
+ const u = K(n, !1, !0);
3323
+ if (u) {
3324
+ const g = ["iconify"], k = [
3325
+ "provider",
3326
+ "prefix"
3327
+ ];
3328
+ for (const C of k)
3329
+ u[C] && g.push("iconify--" + u[C]);
3330
+ c.className = g.join(" ");
3331
+ }
3332
+ }
3333
+ for (let u in t) {
3334
+ const g = t[u];
3335
+ if (g !== void 0)
3336
+ switch (u) {
3337
+ // Properties to ignore
3338
+ case "icon":
3339
+ case "style":
3340
+ case "children":
3341
+ case "onLoad":
3342
+ case "mode":
3343
+ case "ssr":
3344
+ break;
3345
+ // Forward ref
3346
+ case "_ref":
3347
+ c.ref = g;
3348
+ break;
3349
+ // Merge class names
3350
+ case "className":
3351
+ c[u] = (c[u] ? c[u] + " " : "") + g;
3352
+ break;
3353
+ // Boolean attributes
3354
+ case "inline":
3355
+ case "hFlip":
3356
+ case "vFlip":
3357
+ o[u] = g === !0 || g === "true" || g === 1;
3358
+ break;
3359
+ // Flip as string: 'horizontal,vertical'
3360
+ case "flip":
3361
+ typeof g == "string" && Pn(o, g);
3362
+ break;
3363
+ // Color: copy to style
3364
+ case "color":
3365
+ i.color = g;
3366
+ break;
3367
+ // Rotation as string
3368
+ case "rotate":
3369
+ typeof g == "string" ? o[u] = Tn(g) : typeof g == "number" && (o[u] = g);
3370
+ break;
3371
+ // Remove aria-hidden
3372
+ case "ariaHidden":
3373
+ case "aria-hidden":
3374
+ g !== !0 && g !== "true" && delete c["aria-hidden"];
3375
+ break;
3376
+ // Copy missing property if it does not exist in customisations
3377
+ default:
3378
+ r[u] === void 0 && (c[u] = g);
3379
+ }
3380
+ }
3381
+ const a = Xt(e, o), d = a.attributes;
3382
+ if (o.inline && (i.verticalAlign = "-0.125em"), s === "svg") {
3383
+ c.style = {
3384
+ ...i,
3385
+ ...l
3386
+ }, Object.assign(c, d);
3387
+ let u = 0, g = t.id;
3388
+ return typeof g == "string" && (g = g.replace(/-/g, "_")), c.dangerouslySetInnerHTML = {
3389
+ __html: Ln(tn(a.body, g ? () => g + "ID" + u++ : "iconifyReact"))
3390
+ }, re("svg", c);
3391
+ }
3392
+ const { body: f, width: p, height: b } = e, y = s === "mask" || (s === "bg" ? !1 : f.indexOf("currentColor") !== -1), m = zn(f, {
3393
+ ...d,
3394
+ width: p + "",
3395
+ height: b + ""
3396
+ });
3397
+ return c.style = {
3398
+ ...i,
3399
+ "--svg": Nn(m),
3400
+ width: Ne(d.width),
3401
+ height: Ne(d.height),
3402
+ ...Fn,
3403
+ ...y ? ae : tt,
3404
+ ...l
3405
+ }, re("span", c);
3406
+ };
3407
+ Je(!0);
3408
+ nn("", un);
3409
+ if (typeof document < "u" && typeof window < "u") {
3410
+ const e = window;
3411
+ if (e.IconifyPreload !== void 0) {
3412
+ const t = e.IconifyPreload, n = "Invalid IconifyPreload syntax.";
3413
+ typeof t == "object" && t !== null && (t instanceof Array ? t : [t]).forEach((r) => {
3414
+ try {
3415
+ // Check if item is an object and not null/array
3416
+ (typeof r != "object" || r === null || r instanceof Array || // Check for 'icons' and 'prefix'
3417
+ typeof r.icons != "object" || typeof r.prefix != "string" || // Add icon set
3418
+ !Wt(r)) && console.error(n);
3419
+ } catch {
3420
+ console.error(n);
3421
+ }
3422
+ });
3423
+ }
3424
+ if (e.IconifyProviders !== void 0) {
3425
+ const t = e.IconifyProviders;
3426
+ if (typeof t == "object" && t !== null)
3427
+ for (let n in t) {
3428
+ const r = "IconifyProviders[" + n + "] is invalid.";
3429
+ try {
3430
+ const o = t[n];
3431
+ if (typeof o != "object" || !o || o.resources === void 0)
3432
+ continue;
3433
+ rn(n, o) || console.error(r);
3434
+ } catch {
3435
+ console.error(r);
3436
+ }
3437
+ }
3438
+ }
3439
+ }
3440
+ function nt(e) {
3441
+ const [t, n] = Y(!!e.ssr), [r, o] = Y({});
3442
+ function s(b) {
3443
+ if (b) {
3444
+ const y = e.icon;
3445
+ if (typeof y == "object")
3446
+ return {
3447
+ name: "",
3448
+ data: y
3449
+ };
3450
+ const m = je(y);
3451
+ if (m)
3452
+ return {
3453
+ name: y,
3454
+ data: m
3455
+ };
3456
+ }
3457
+ return {
3458
+ name: ""
3459
+ };
3460
+ }
3461
+ const [i, l] = Y(s(!!e.ssr));
3462
+ function c() {
3463
+ const b = r.callback;
3464
+ b && (b(), o({}));
3465
+ }
3466
+ function a(b) {
3467
+ if (JSON.stringify(i) !== JSON.stringify(b))
3468
+ return c(), l(b), !0;
3469
+ }
3470
+ function d() {
3471
+ var b;
3472
+ const y = e.icon;
3473
+ if (typeof y == "object") {
3474
+ a({
3475
+ name: "",
3476
+ data: y
3477
+ });
3478
+ return;
3479
+ }
3480
+ const m = je(y);
3481
+ if (a({
3482
+ name: y,
3483
+ data: m
3484
+ }))
3485
+ if (m === void 0) {
3486
+ const u = Sn([y], d);
3487
+ o({
3488
+ callback: u
3489
+ });
3490
+ } else m && ((b = e.onLoad) === null || b === void 0 || b.call(e, y));
3491
+ }
3492
+ xe(() => (n(!0), c), []), xe(() => {
3493
+ t && d();
3494
+ }, [e.icon, t]);
3495
+ const { name: f, data: p } = i;
3496
+ return p ? Vn({
3497
+ ...ue,
3498
+ ...p
3499
+ }, e, f) : e.children ? e.children : re("span", {});
3500
+ }
3501
+ const _n = Le((e, t) => nt({
3502
+ ...e,
3503
+ _ref: t
3504
+ }));
3505
+ Le((e, t) => nt({
3506
+ inline: !0,
3507
+ ...e,
3508
+ _ref: t
3509
+ }));
3510
+ const $n = ({
3511
+ color: e,
3512
+ className: t,
3513
+ height: n,
3514
+ width: r
3515
+ }) => /* @__PURE__ */ R(
3516
+ _n,
3517
+ {
3518
+ icon: "svg-spinners:ring-resize",
3519
+ color: e || "white",
3520
+ height: n,
3521
+ width: r,
3522
+ className: t
3523
+ }
3524
+ ), Un = Ge("w-full flex", {
3525
+ variants: {
3526
+ variant: {
3527
+ startCentered: "justify-start items-center",
3528
+ start: "justify-start items-start",
3529
+ endCentered: "justify-end items-center",
3530
+ betweenCentered: "justify-between items-center",
3531
+ centered: "justify-center items-center",
3532
+ centeredStart: "justify-center items-start",
3533
+ centeredEnd: "justify-end items-end"
3534
+ }
3535
+ },
3536
+ defaultVariants: {
3537
+ variant: "centered"
3538
+ }
3539
+ }), rt = Re.forwardRef(
3540
+ ({ className: e, variant: t = "start", ...n }, r) => /* @__PURE__ */ R(
3541
+ "div",
3542
+ {
3543
+ className: se(Un({ variant: t, className: e })),
3544
+ ref: r,
3545
+ ...n
3546
+ }
3547
+ )
3548
+ );
3549
+ rt.displayName = "Flex";
3550
+ const Bn = Ge(
3551
+ " whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-slate-950 disabled:pointer-events-none disabled:opacity-50 dark:focus-visible:ring-slate-300",
3552
+ {
3553
+ variants: {
3554
+ variant: {
3555
+ default: "bg-primary-500 text-slate-50 shadow hover:bg-primary-500/80 dark:bg-slate-50 dark:text-slate-900 dark:hover:bg-slate-50/90",
3556
+ destructive: "bg-red-500 text-slate-50 shadow-sm hover:bg-red-500/90 dark:bg-red-900 dark:text-slate-50 dark:hover:bg-red-900/90",
3557
+ outline: "border border-gray-500 bg-transparent shadow-sm hover:bg-gray-200 hover:text-slate-900 dark:border-slate-800 dark:hover:bg-slate-800 dark:hover:text-slate-50",
3558
+ secondary: "bg-[#01010B] text-white shadow-sm hover:bg-[#01010B]/80 dark:bg-slate-800 dark:text-slate-50 dark:hover:bg-slate-800/80 disabled:bg-[#EBEAE9] disabled:text-[#717171]/60",
3559
+ ghost: "hover:bg-gray-200 hover:text-slate-900 dark:hover:bg-slate-800 dark:hover:text-slate-50",
3560
+ link: "text-slate-900 underline-offset-4 hover:underline dark:text-slate-50"
3561
+ },
3562
+ size: {
3563
+ default: "h-9 px-4 py-0",
3564
+ sm: "h-8 rounded-md px-3 text-xs",
3565
+ lg: "h-10 rounded-md px-8",
3566
+ icon: "h-9 w-9",
3567
+ base: "text-[14px] h-9 px-4 py-2"
3568
+ }
3569
+ },
3570
+ defaultVariants: {
3571
+ variant: "default",
3572
+ size: "default"
3573
+ }
3574
+ }
3575
+ ), Wn = Re.forwardRef(
3576
+ ({
3577
+ className: e,
3578
+ variant: t,
3579
+ size: n,
3580
+ children: r,
3581
+ loading: o,
3582
+ icon: s,
3583
+ childClass: i,
3584
+ loaderWidth: l,
3585
+ loaderHeight: c,
3586
+ loaderColor: a,
3587
+ innerChildClass: d,
3588
+ ...f
3589
+ }, p) => /* @__PURE__ */ R(
3590
+ "button",
3591
+ {
3592
+ children: o || s ? /* @__PURE__ */ ot(rt, { variant: "centered", className: se("flex gap-2", i), children: [
3593
+ o && /* @__PURE__ */ R(
3594
+ $n,
3595
+ {
3596
+ className: "!me-0 flex-shrink-0",
3597
+ color: a,
3598
+ height: c,
3599
+ width: l
3600
+ }
3601
+ ),
3602
+ !o && s,
3603
+ r && /* @__PURE__ */ R("span", { className: d, children: r })
3604
+ ] }) : /* @__PURE__ */ R("span", { className: d, children: r }),
3605
+ className: se(Bn({ variant: t, size: n, className: e })),
3606
+ ref: p,
3607
+ ...f
3608
+ }
3609
+ )
3610
+ );
3611
+ Wn.displayName = "Button";
3612
+ export {
3613
+ Wn as Button,
3614
+ Bn as buttonVariants
3615
+ };