@plyaz/ui 0.7.0 → 0.7.2

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.
Files changed (150) hide show
  1. package/dist/client.cjs.js +73 -31
  2. package/dist/client.es.js +18380 -4034
  3. package/dist/fonts/GeneralSans-Bold.woff2 +0 -0
  4. package/dist/fonts/GeneralSans-Medium.woff2 +0 -0
  5. package/dist/fonts/GeneralSans-Regular.woff2 +0 -0
  6. package/dist/fonts/GeneralSans-Semibold.woff2 +0 -0
  7. package/dist/{constant-BgZiatEy.js → index-BFruSSsn.js} +1162 -544
  8. package/dist/index-Cs64egIu.cjs +37 -0
  9. package/dist/index.cjs.js +7 -13
  10. package/dist/index.es.js +792 -583
  11. package/dist/types/App.d.ts.map +1 -1
  12. package/dist/types/components/Accordion/Accordion.d.ts +8 -0
  13. package/dist/types/components/Accordion/Accordion.d.ts.map +1 -0
  14. package/dist/types/components/Accordion/Accordion.stories.d.ts +44 -0
  15. package/dist/types/components/Accordion/Accordion.stories.d.ts.map +1 -0
  16. package/dist/types/components/Alert/Alert.d.ts +10 -0
  17. package/dist/types/components/Alert/Alert.d.ts.map +1 -0
  18. package/dist/types/components/Alert/Alert.stories.d.ts +33 -0
  19. package/dist/types/components/Alert/Alert.stories.d.ts.map +1 -0
  20. package/dist/types/components/AlertDialog/AlertDialog.stories.d.ts.map +1 -1
  21. package/dist/types/components/Avatar/Avatar.d.ts +7 -0
  22. package/dist/types/components/Avatar/Avatar.d.ts.map +1 -0
  23. package/dist/types/components/Avatar/Avatar.stories.d.ts +22 -0
  24. package/dist/types/components/Avatar/Avatar.stories.d.ts.map +1 -0
  25. package/dist/types/components/Badge/Badge.stories.d.ts +7 -12
  26. package/dist/types/components/Badge/Badge.stories.d.ts.map +1 -1
  27. package/dist/types/components/Breadcrumb/Breadcrumb.d.ts +12 -0
  28. package/dist/types/components/Breadcrumb/Breadcrumb.d.ts.map +1 -0
  29. package/dist/types/components/Breadcrumb/Breadcrumb.stories.d.ts +27 -0
  30. package/dist/types/components/Breadcrumb/Breadcrumb.stories.d.ts.map +1 -0
  31. package/dist/types/components/Calendar/Calendar.d.ts +9 -0
  32. package/dist/types/components/Calendar/Calendar.d.ts.map +1 -0
  33. package/dist/types/components/Carousel/Carousel.d.ts +20 -0
  34. package/dist/types/components/Carousel/Carousel.d.ts.map +1 -0
  35. package/dist/types/components/Carousel/Carousel.stories.d.ts +18 -0
  36. package/dist/types/components/Carousel/Carousel.stories.d.ts.map +1 -0
  37. package/dist/types/components/Checkbox/Checkbox.d.ts +5 -0
  38. package/dist/types/components/Checkbox/Checkbox.d.ts.map +1 -0
  39. package/dist/types/components/Checkbox/Checkbox.stories.d.ts +18 -0
  40. package/dist/types/components/Checkbox/Checkbox.stories.d.ts.map +1 -0
  41. package/dist/types/components/Combobox/Combobox.d.ts +24 -0
  42. package/dist/types/components/Combobox/Combobox.d.ts.map +1 -0
  43. package/dist/types/components/Combobox/Combobox.stories.d.ts +17 -0
  44. package/dist/types/components/Combobox/Combobox.stories.d.ts.map +1 -0
  45. package/dist/types/components/Command/Command.d.ts +19 -0
  46. package/dist/types/components/Command/Command.d.ts.map +1 -0
  47. package/dist/types/components/Command/Command.stories.d.ts +42 -0
  48. package/dist/types/components/Command/Command.stories.d.ts.map +1 -0
  49. package/dist/types/components/ContextMenu/ContextMenu.d.ts +26 -0
  50. package/dist/types/components/ContextMenu/ContextMenu.d.ts.map +1 -0
  51. package/dist/types/components/ContextMenu/ContextMenu.stories.d.ts +41 -0
  52. package/dist/types/components/ContextMenu/ContextMenu.stories.d.ts.map +1 -0
  53. package/dist/types/components/Dialog/Dialog.d.ts +16 -0
  54. package/dist/types/components/Dialog/Dialog.d.ts.map +1 -0
  55. package/dist/types/components/Dialog/Dialog.stories.d.ts +26 -0
  56. package/dist/types/components/Dialog/Dialog.stories.d.ts.map +1 -0
  57. package/dist/types/components/Drawer/Drawer.d.ts +14 -0
  58. package/dist/types/components/Drawer/Drawer.d.ts.map +1 -0
  59. package/dist/types/components/DropdownMenu/DropdownMenu.d.ts +26 -0
  60. package/dist/types/components/DropdownMenu/DropdownMenu.d.ts.map +1 -0
  61. package/dist/types/components/DropdownMenu/DropdownMenu.stories.d.ts +40 -0
  62. package/dist/types/components/DropdownMenu/DropdownMenu.stories.d.ts.map +1 -0
  63. package/dist/types/components/HoverCard/HoverCard.d.ts +7 -0
  64. package/dist/types/components/HoverCard/HoverCard.d.ts.map +1 -0
  65. package/dist/types/components/HoverCard/HoverCard.stories.d.ts +29 -0
  66. package/dist/types/components/HoverCard/HoverCard.stories.d.ts.map +1 -0
  67. package/dist/types/components/InputOTP/InputOTP.d.ts +12 -0
  68. package/dist/types/components/InputOTP/InputOTP.d.ts.map +1 -0
  69. package/dist/types/components/Label/Label.d.ts +5 -0
  70. package/dist/types/components/Label/Label.d.ts.map +1 -0
  71. package/dist/types/components/Label/Label.stories.d.ts +28 -0
  72. package/dist/types/components/Label/Label.stories.d.ts.map +1 -0
  73. package/dist/types/components/MenuBar/Menubar.stories.d.ts +30 -6
  74. package/dist/types/components/MenuBar/Menubar.stories.d.ts.map +1 -1
  75. package/dist/types/components/Pagination/Pagination.d.ts +14 -0
  76. package/dist/types/components/Pagination/Pagination.d.ts.map +1 -0
  77. package/dist/types/components/Pagination/Pagination.stories.d.ts +22 -0
  78. package/dist/types/components/Pagination/Pagination.stories.d.ts.map +1 -0
  79. package/dist/types/components/Popover/Popover.d.ts +8 -0
  80. package/dist/types/components/Popover/Popover.d.ts.map +1 -0
  81. package/dist/types/components/Popover/Popover.stories.d.ts +23 -0
  82. package/dist/types/components/Popover/Popover.stories.d.ts.map +1 -0
  83. package/dist/types/components/Progress/Progress.d.ts +5 -0
  84. package/dist/types/components/Progress/Progress.d.ts.map +1 -0
  85. package/dist/types/components/Progress/Progress.stories.d.ts +32 -0
  86. package/dist/types/components/Progress/Progress.stories.d.ts.map +1 -0
  87. package/dist/types/components/RadioGroup/RadioGroup.d.ts +6 -0
  88. package/dist/types/components/RadioGroup/RadioGroup.d.ts.map +1 -0
  89. package/dist/types/components/RadioGroup/RadioGroup.stories.d.ts +25 -0
  90. package/dist/types/components/RadioGroup/RadioGroup.stories.d.ts.map +1 -0
  91. package/dist/types/components/ScrollArea/ScrollArea.d.ts +6 -0
  92. package/dist/types/components/ScrollArea/ScrollArea.d.ts.map +1 -0
  93. package/dist/types/components/ScrollArea/ScrollArea.stories.d.ts +42 -0
  94. package/dist/types/components/ScrollArea/ScrollArea.stories.d.ts.map +1 -0
  95. package/dist/types/components/Separator/Separator.d.ts +5 -0
  96. package/dist/types/components/Separator/Separator.d.ts.map +1 -0
  97. package/dist/types/components/Separator/Separator.stories.d.ts +22 -0
  98. package/dist/types/components/Separator/Separator.stories.d.ts.map +1 -0
  99. package/dist/types/components/Sheet/Sheet.d.ts +14 -0
  100. package/dist/types/components/Sheet/Sheet.d.ts.map +1 -0
  101. package/dist/types/components/Sheet/Sheet.stories.d.ts +17 -0
  102. package/dist/types/components/Sheet/Sheet.stories.d.ts.map +1 -0
  103. package/dist/types/components/Skeleton/Skeleton.d.ts +4 -0
  104. package/dist/types/components/Skeleton/Skeleton.d.ts.map +1 -0
  105. package/dist/types/components/Skeleton/Skeleton.stories.d.ts +21 -0
  106. package/dist/types/components/Skeleton/Skeleton.stories.d.ts.map +1 -0
  107. package/dist/types/components/Slider/Slider.d.ts +5 -0
  108. package/dist/types/components/Slider/Slider.d.ts.map +1 -0
  109. package/dist/types/components/Slider/Slider.stories.d.ts +18 -0
  110. package/dist/types/components/Slider/Slider.stories.d.ts.map +1 -0
  111. package/dist/types/components/Switch/Switch.d.ts +5 -0
  112. package/dist/types/components/Switch/Switch.d.ts.map +1 -0
  113. package/dist/types/components/Switch/Switch.stories.d.ts +27 -0
  114. package/dist/types/components/Switch/Switch.stories.d.ts.map +1 -0
  115. package/dist/types/components/Table/Table.d.ts +11 -0
  116. package/dist/types/components/Table/Table.d.ts.map +1 -0
  117. package/dist/types/components/Table/Table.stories.d.ts +19 -0
  118. package/dist/types/components/Table/Table.stories.d.ts.map +1 -0
  119. package/dist/types/components/Tabs/Tabs.d.ts +8 -0
  120. package/dist/types/components/Tabs/Tabs.d.ts.map +1 -0
  121. package/dist/types/components/Tabs/Tabs.stories.d.ts +28 -0
  122. package/dist/types/components/Tabs/Tabs.stories.d.ts.map +1 -0
  123. package/dist/types/components/Textarea/Textarea.d.ts +4 -0
  124. package/dist/types/components/Textarea/Textarea.d.ts.map +1 -0
  125. package/dist/types/components/Textarea/Textarea.stories.d.ts +41 -0
  126. package/dist/types/components/Textarea/Textarea.stories.d.ts.map +1 -0
  127. package/dist/types/components/Toaster/Toaster.d.ts +4 -0
  128. package/dist/types/components/Toaster/Toaster.d.ts.map +1 -0
  129. package/dist/types/components/Toaster/Toaster.stories.d.ts +15 -0
  130. package/dist/types/components/Toaster/Toaster.stories.d.ts.map +1 -0
  131. package/dist/types/components/Toggle/Toggle.d.ts +7 -0
  132. package/dist/types/components/Toggle/Toggle.d.ts.map +1 -0
  133. package/dist/types/components/Toggle/Toggle.stories.d.ts +36 -0
  134. package/dist/types/components/Toggle/Toggle.stories.d.ts.map +1 -0
  135. package/dist/types/components/Tooltip/Tooltip.d.ts +8 -0
  136. package/dist/types/components/Tooltip/Tooltip.d.ts.map +1 -0
  137. package/dist/types/components/Tooltip/Tooltip.stories.d.ts +27 -0
  138. package/dist/types/components/Tooltip/Tooltip.stories.d.ts.map +1 -0
  139. package/dist/types/components/client.d.ts +25 -0
  140. package/dist/types/components/client.d.ts.map +1 -1
  141. package/dist/types/components/index.d.ts +10 -0
  142. package/dist/types/components/index.d.ts.map +1 -1
  143. package/dist/types/constants/constant.d.ts +3 -0
  144. package/dist/types/constants/constant.d.ts.map +1 -1
  145. package/dist/types/constants/toggle-variants.d.ts +5 -0
  146. package/dist/types/constants/toggle-variants.d.ts.map +1 -0
  147. package/dist/ui.css +1 -1
  148. package/package.json +29 -2
  149. package/styles/main.css +65 -28
  150. package/dist/constant-B-tpIxtm.cjs +0 -31
@@ -1,80 +1,88 @@
1
- import { clsx as ye } from "clsx";
2
- const ne = "-", Ge = (e) => {
3
- const n = Te(e), {
4
- conflictingClassGroups: o,
5
- conflictingClassGroupModifiers: s
1
+ var yt = Object.defineProperty;
2
+ var Rt = (e, t, r) => t in e ? yt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
+ var E = (e, t, r) => Rt(e, typeof t != "symbol" ? t + "" : t, r);
4
+ import { jsx as de, jsxs as At } from "react/jsx-runtime";
5
+ import { Slot as Et, createSlot as St } from "@radix-ui/react-slot";
6
+ import { clsx as rt } from "clsx";
7
+ import * as Nt from "react";
8
+ import { memo as It } from "react";
9
+ import * as Ot from "react-dom";
10
+ const Se = "-", Ct = (e) => {
11
+ const t = Lt(e), {
12
+ conflictingClassGroups: r,
13
+ conflictingClassGroupModifiers: o
6
14
  } = e;
7
15
  return {
8
- getClassGroupId: (i) => {
9
- const p = i.split(ne);
10
- return p[0] === "" && p.length !== 1 && p.shift(), ve(p, n) || Ee(i);
16
+ getClassGroupId: (l) => {
17
+ const g = l.split(Se);
18
+ return g[0] === "" && g.length !== 1 && g.shift(), ot(g, t) || Tt(l);
11
19
  },
12
- getConflictingClassGroupIds: (i, p) => {
13
- const u = o[i] || [];
14
- return p && s[i] ? [...u, ...s[i]] : u;
20
+ getConflictingClassGroupIds: (l, g) => {
21
+ const d = r[l] || [];
22
+ return g && o[l] ? [...d, ...o[l]] : d;
15
23
  }
16
24
  };
17
- }, ve = (e, n) => {
18
- var i;
25
+ }, ot = (e, t) => {
26
+ var l;
19
27
  if (e.length === 0)
20
- return n.classGroupId;
21
- const o = e[0], s = n.nextPart.get(o), l = s ? ve(e.slice(1), s) : void 0;
22
- if (l)
23
- return l;
24
- if (n.validators.length === 0)
28
+ return t.classGroupId;
29
+ const r = e[0], o = t.nextPart.get(r), n = o ? ot(e.slice(1), o) : void 0;
30
+ if (n)
31
+ return n;
32
+ if (t.validators.length === 0)
25
33
  return;
26
- const c = e.join(ne);
27
- return (i = n.validators.find(({
28
- validator: p
29
- }) => p(c))) == null ? void 0 : i.classGroupId;
30
- }, ge = /^\[(.+)\]$/, Ee = (e) => {
31
- if (ge.test(e)) {
32
- const n = ge.exec(e)[1], o = n == null ? void 0 : n.substring(0, n.indexOf(":"));
33
- if (o)
34
- return "arbitrary.." + o;
34
+ const a = e.join(Se);
35
+ return (l = t.validators.find(({
36
+ validator: g
37
+ }) => g(a))) == null ? void 0 : l.classGroupId;
38
+ }, Fe = /^\[(.+)\]$/, Tt = (e) => {
39
+ if (Fe.test(e)) {
40
+ const t = Fe.exec(e)[1], r = t == null ? void 0 : t.substring(0, t.indexOf(":"));
41
+ if (r)
42
+ return "arbitrary.." + r;
35
43
  }
36
- }, Te = (e) => {
44
+ }, Lt = (e) => {
37
45
  const {
38
- theme: n,
39
- classGroups: o
40
- } = e, s = {
46
+ theme: t,
47
+ classGroups: r
48
+ } = e, o = {
41
49
  nextPart: /* @__PURE__ */ new Map(),
42
50
  validators: []
43
51
  };
44
- for (const l in o)
45
- re(o[l], s, l, n);
46
- return s;
47
- }, re = (e, n, o, s) => {
48
- e.forEach((l) => {
49
- if (typeof l == "string") {
50
- const c = l === "" ? n : fe(n, l);
51
- c.classGroupId = o;
52
+ for (const n in r)
53
+ ke(r[n], o, n, t);
54
+ return o;
55
+ }, ke = (e, t, r, o) => {
56
+ e.forEach((n) => {
57
+ if (typeof n == "string") {
58
+ const a = n === "" ? t : Ge(t, n);
59
+ a.classGroupId = r;
52
60
  return;
53
61
  }
54
- if (typeof l == "function") {
55
- if (Ne(l)) {
56
- re(l(s), n, o, s);
62
+ if (typeof n == "function") {
63
+ if (zt(n)) {
64
+ ke(n(o), t, r, o);
57
65
  return;
58
66
  }
59
- n.validators.push({
60
- validator: l,
61
- classGroupId: o
67
+ t.validators.push({
68
+ validator: n,
69
+ classGroupId: r
62
70
  });
63
71
  return;
64
72
  }
65
- Object.entries(l).forEach(([c, i]) => {
66
- re(i, fe(n, c), o, s);
73
+ Object.entries(n).forEach(([a, l]) => {
74
+ ke(l, Ge(t, a), r, o);
67
75
  });
68
76
  });
69
- }, fe = (e, n) => {
70
- let o = e;
71
- return n.split(ne).forEach((s) => {
72
- o.nextPart.has(s) || o.nextPart.set(s, {
77
+ }, Ge = (e, t) => {
78
+ let r = e;
79
+ return t.split(Se).forEach((o) => {
80
+ r.nextPart.has(o) || r.nextPart.set(o, {
73
81
  nextPart: /* @__PURE__ */ new Map(),
74
82
  validators: []
75
- }), o = o.nextPart.get(s);
76
- }), o;
77
- }, Ne = (e) => e.isThemeGetter, Ve = (e) => {
83
+ }), r = r.nextPart.get(o);
84
+ }), r;
85
+ }, zt = (e) => e.isThemeGetter, Mt = (e) => {
78
86
  if (e < 1)
79
87
  return {
80
88
  get: () => {
@@ -82,178 +90,178 @@ const ne = "-", Ge = (e) => {
82
90
  set: () => {
83
91
  }
84
92
  };
85
- let n = 0, o = /* @__PURE__ */ new Map(), s = /* @__PURE__ */ new Map();
86
- const l = (c, i) => {
87
- o.set(c, i), n++, n > e && (n = 0, s = o, o = /* @__PURE__ */ new Map());
93
+ let t = 0, r = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map();
94
+ const n = (a, l) => {
95
+ r.set(a, l), t++, t > e && (t = 0, o = r, r = /* @__PURE__ */ new Map());
88
96
  };
89
97
  return {
90
- get(c) {
91
- let i = o.get(c);
92
- if (i !== void 0)
93
- return i;
94
- if ((i = s.get(c)) !== void 0)
95
- return l(c, i), i;
98
+ get(a) {
99
+ let l = r.get(a);
100
+ if (l !== void 0)
101
+ return l;
102
+ if ((l = o.get(a)) !== void 0)
103
+ return n(a, l), l;
96
104
  },
97
- set(c, i) {
98
- o.has(c) ? o.set(c, i) : l(c, i);
105
+ set(a, l) {
106
+ r.has(a) ? r.set(a, l) : n(a, l);
99
107
  }
100
108
  };
101
- }, te = "!", se = ":", je = se.length, _e = (e) => {
109
+ }, we = "!", ye = ":", Pt = ye.length, Dt = (e) => {
102
110
  const {
103
- prefix: n,
104
- experimentalParseClassName: o
111
+ prefix: t,
112
+ experimentalParseClassName: r
105
113
  } = e;
106
- let s = (l) => {
107
- const c = [];
108
- let i = 0, p = 0, u = 0, g;
109
- for (let y = 0; y < l.length; y++) {
110
- let v = l[y];
111
- if (i === 0 && p === 0) {
112
- if (v === se) {
113
- c.push(l.slice(u, y)), u = y + je;
114
+ let o = (n) => {
115
+ const a = [];
116
+ let l = 0, g = 0, d = 0, p;
117
+ for (let k = 0; k < n.length; k++) {
118
+ let w = n[k];
119
+ if (l === 0 && g === 0) {
120
+ if (w === ye) {
121
+ a.push(n.slice(d, k)), d = k + Pt;
114
122
  continue;
115
123
  }
116
- if (v === "/") {
117
- g = y;
124
+ if (w === "/") {
125
+ p = k;
118
126
  continue;
119
127
  }
120
128
  }
121
- v === "[" ? i++ : v === "]" ? i-- : v === "(" ? p++ : v === ")" && p--;
129
+ w === "[" ? l++ : w === "]" ? l-- : w === "(" ? g++ : w === ")" && g--;
122
130
  }
123
- const f = c.length === 0 ? l : l.substring(u), w = Le(f), z = w !== f, R = g && g > u ? g - u : void 0;
131
+ const b = a.length === 0 ? n : n.substring(d), x = Vt(b), A = x !== b, L = p && p > d ? p - d : void 0;
124
132
  return {
125
- modifiers: c,
126
- hasImportantModifier: z,
127
- baseClassName: w,
128
- maybePostfixModifierPosition: R
133
+ modifiers: a,
134
+ hasImportantModifier: A,
135
+ baseClassName: x,
136
+ maybePostfixModifierPosition: L
129
137
  };
130
138
  };
131
- if (n) {
132
- const l = n + se, c = s;
133
- s = (i) => i.startsWith(l) ? c(i.substring(l.length)) : {
139
+ if (t) {
140
+ const n = t + ye, a = o;
141
+ o = (l) => l.startsWith(n) ? a(l.substring(n.length)) : {
134
142
  isExternal: !0,
135
143
  modifiers: [],
136
144
  hasImportantModifier: !1,
137
- baseClassName: i,
145
+ baseClassName: l,
138
146
  maybePostfixModifierPosition: void 0
139
147
  };
140
148
  }
141
- if (o) {
142
- const l = s;
143
- s = (c) => o({
144
- className: c,
145
- parseClassName: l
149
+ if (r) {
150
+ const n = o;
151
+ o = (a) => r({
152
+ className: a,
153
+ parseClassName: n
146
154
  });
147
155
  }
148
- return s;
149
- }, Le = (e) => e.endsWith(te) ? e.substring(0, e.length - 1) : e.startsWith(te) ? e.substring(1) : e, Oe = (e) => {
150
- const n = Object.fromEntries(e.orderSensitiveModifiers.map((s) => [s, !0]));
151
- return (s) => {
152
- if (s.length <= 1)
153
- return s;
154
- const l = [];
155
- let c = [];
156
- return s.forEach((i) => {
157
- i[0] === "[" || n[i] ? (l.push(...c.sort(), i), c = []) : c.push(i);
158
- }), l.push(...c.sort()), l;
156
+ return o;
157
+ }, Vt = (e) => e.endsWith(we) ? e.substring(0, e.length - 1) : e.startsWith(we) ? e.substring(1) : e, Ft = (e) => {
158
+ const t = Object.fromEntries(e.orderSensitiveModifiers.map((o) => [o, !0]));
159
+ return (o) => {
160
+ if (o.length <= 1)
161
+ return o;
162
+ const n = [];
163
+ let a = [];
164
+ return o.forEach((l) => {
165
+ l[0] === "[" || t[l] ? (n.push(...a.sort(), l), a = []) : a.push(l);
166
+ }), n.push(...a.sort()), n;
159
167
  };
160
- }, Fe = (e) => ({
161
- cache: Ve(e.cacheSize),
162
- parseClassName: _e(e),
163
- sortModifiers: Oe(e),
164
- ...Ge(e)
165
- }), Be = /\s+/, Ue = (e, n) => {
168
+ }, Gt = (e) => ({
169
+ cache: Mt(e.cacheSize),
170
+ parseClassName: Dt(e),
171
+ sortModifiers: Ft(e),
172
+ ...Ct(e)
173
+ }), Ut = /\s+/, Bt = (e, t) => {
166
174
  const {
167
- parseClassName: o,
168
- getClassGroupId: s,
169
- getConflictingClassGroupIds: l,
170
- sortModifiers: c
171
- } = n, i = [], p = e.trim().split(Be);
172
- let u = "";
173
- for (let g = p.length - 1; g >= 0; g -= 1) {
174
- const f = p[g], {
175
- isExternal: w,
176
- modifiers: z,
177
- hasImportantModifier: R,
178
- baseClassName: y,
179
- maybePostfixModifierPosition: v
180
- } = o(f);
181
- if (w) {
182
- u = f + (u.length > 0 ? " " + u : u);
175
+ parseClassName: r,
176
+ getClassGroupId: o,
177
+ getConflictingClassGroupIds: n,
178
+ sortModifiers: a
179
+ } = t, l = [], g = e.trim().split(Ut);
180
+ let d = "";
181
+ for (let p = g.length - 1; p >= 0; p -= 1) {
182
+ const b = g[p], {
183
+ isExternal: x,
184
+ modifiers: A,
185
+ hasImportantModifier: L,
186
+ baseClassName: k,
187
+ maybePostfixModifierPosition: w
188
+ } = r(b);
189
+ if (x) {
190
+ d = b + (d.length > 0 ? " " + d : d);
183
191
  continue;
184
192
  }
185
- let A = !!v, I = s(A ? y.substring(0, v) : y);
186
- if (!I) {
187
- if (!A) {
188
- u = f + (u.length > 0 ? " " + u : u);
193
+ let N = !!w, z = o(N ? k.substring(0, w) : k);
194
+ if (!z) {
195
+ if (!N) {
196
+ d = b + (d.length > 0 ? " " + d : d);
189
197
  continue;
190
198
  }
191
- if (I = s(y), !I) {
192
- u = f + (u.length > 0 ? " " + u : u);
199
+ if (z = o(k), !z) {
200
+ d = b + (d.length > 0 ? " " + d : d);
193
201
  continue;
194
202
  }
195
- A = !1;
203
+ N = !1;
196
204
  }
197
- const W = c(z).join(":"), F = R ? W + te : W, N = F + I;
198
- if (i.includes(N))
205
+ const re = a(A).join(":"), Z = L ? re + we : re, G = Z + z;
206
+ if (l.includes(G))
199
207
  continue;
200
- i.push(N);
201
- const V = l(I, A);
202
- for (let G = 0; G < V.length; ++G) {
203
- const B = V[G];
204
- i.push(F + B);
208
+ l.push(G);
209
+ const U = n(z, N);
210
+ for (let M = 0; M < U.length; ++M) {
211
+ const ee = U[M];
212
+ l.push(Z + ee);
205
213
  }
206
- u = f + (u.length > 0 ? " " + u : u);
214
+ d = b + (d.length > 0 ? " " + d : d);
207
215
  }
208
- return u;
216
+ return d;
209
217
  };
210
- function We() {
211
- let e = 0, n, o, s = "";
218
+ function jt() {
219
+ let e = 0, t, r, o = "";
212
220
  for (; e < arguments.length; )
213
- (n = arguments[e++]) && (o = ke(n)) && (s && (s += " "), s += o);
214
- return s;
221
+ (t = arguments[e++]) && (r = nt(t)) && (o && (o += " "), o += r);
222
+ return o;
215
223
  }
216
- const ke = (e) => {
224
+ const nt = (e) => {
217
225
  if (typeof e == "string")
218
226
  return e;
219
- let n, o = "";
220
- for (let s = 0; s < e.length; s++)
221
- e[s] && (n = ke(e[s])) && (o && (o += " "), o += n);
222
- return o;
227
+ let t, r = "";
228
+ for (let o = 0; o < e.length; o++)
229
+ e[o] && (t = nt(e[o])) && (r && (r += " "), r += t);
230
+ return r;
223
231
  };
224
- function $e(e, ...n) {
225
- let o, s, l, c = i;
226
- function i(u) {
227
- const g = n.reduce((f, w) => w(f), e());
228
- return o = Fe(g), s = o.cache.get, l = o.cache.set, c = p, p(u);
232
+ function Kt(e, ...t) {
233
+ let r, o, n, a = l;
234
+ function l(d) {
235
+ const p = t.reduce((b, x) => x(b), e());
236
+ return r = Gt(p), o = r.cache.get, n = r.cache.set, a = g, g(d);
229
237
  }
230
- function p(u) {
231
- const g = s(u);
232
- if (g)
233
- return g;
234
- const f = Ue(u, o);
235
- return l(u, f), f;
238
+ function g(d) {
239
+ const p = o(d);
240
+ if (p)
241
+ return p;
242
+ const b = Bt(d, r);
243
+ return n(d, b), b;
236
244
  }
237
245
  return function() {
238
- return c(We.apply(null, arguments));
246
+ return a(jt.apply(null, arguments));
239
247
  };
240
248
  }
241
- const b = (e) => {
242
- const n = (o) => o[e] || [];
243
- return n.isThemeGetter = !0, n;
244
- }, ze = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Ae = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Je = /^\d+\/\d+$/, qe = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, He = /\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$/, Xe = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Ke = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Ye = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, _ = (e) => Je.test(e), m = (e) => !!e && !Number.isNaN(Number(e)), P = (e) => !!e && Number.isInteger(Number(e)), ee = (e) => e.endsWith("%") && m(e.slice(0, -1)), S = (e) => qe.test(e), Ze = () => !0, De = (e) => (
249
+ const h = (e) => {
250
+ const t = (r) => r[e] || [];
251
+ return t.isThemeGetter = !0, t;
252
+ }, at = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, st = /^\((?:(\w[\w-]*):)?(.+)\)$/i, $t = /^\d+\/\d+$/, Ht = /^(\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$/, Yt = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, qt = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Jt = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, j = (e) => $t.test(e), f = (e) => !!e && !Number.isNaN(Number(e)), T = (e) => !!e && Number.isInteger(Number(e)), be = (e) => e.endsWith("%") && f(e.slice(0, -1)), C = (e) => Ht.test(e), Xt = () => !0, Qt = (e) => (
245
253
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
246
254
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
247
255
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
248
- He.test(e) && !Xe.test(e)
249
- ), Me = () => !1, Qe = (e) => Ke.test(e), eo = (e) => Ye.test(e), oo = (e) => !r(e) && !t(e), ro = (e) => L(e, Pe, Me), r = (e) => ze.test(e), T = (e) => L(e, Re, De), oe = (e) => L(e, io, m), be = (e) => L(e, Ce, Me), to = (e) => L(e, Se, eo), K = (e) => L(e, Ie, Qe), t = (e) => Ae.test(e), U = (e) => O(e, Re), so = (e) => O(e, lo), he = (e) => O(e, Ce), no = (e) => O(e, Pe), ao = (e) => O(e, Se), Y = (e) => O(e, Ie, !0), L = (e, n, o) => {
250
- const s = ze.exec(e);
251
- return s ? s[1] ? n(s[1]) : o(s[2]) : !1;
252
- }, O = (e, n, o = !1) => {
253
- const s = Ae.exec(e);
254
- return s ? s[1] ? n(s[1]) : o : !1;
255
- }, Ce = (e) => e === "position" || e === "percentage", Se = (e) => e === "image" || e === "url", Pe = (e) => e === "length" || e === "size" || e === "bg-size", Re = (e) => e === "length", io = (e) => e === "number", lo = (e) => e === "family-name", Ie = (e) => e === "shadow", co = () => {
256
- const e = b("color"), n = b("font"), o = b("text"), s = b("font-weight"), l = b("tracking"), c = b("leading"), i = b("breakpoint"), p = b("container"), u = b("spacing"), g = b("radius"), f = b("shadow"), w = b("inset-shadow"), z = b("text-shadow"), R = b("drop-shadow"), y = b("blur"), v = b("perspective"), A = b("aspect"), I = b("ease"), W = b("animate"), F = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], N = () => [
256
+ Wt.test(e) && !Yt.test(e)
257
+ ), it = () => !1, Zt = (e) => qt.test(e), er = (e) => Jt.test(e), tr = (e) => !s(e) && !i(e), rr = (e) => X(e, dt, it), s = (e) => at.test(e), D = (e) => X(e, ut, Qt), he = (e) => X(e, ir, f), Ue = (e) => X(e, lt, it), or = (e) => X(e, ct, er), le = (e) => X(e, mt, Zt), i = (e) => st.test(e), te = (e) => Q(e, ut), nr = (e) => Q(e, lr), Be = (e) => Q(e, lt), ar = (e) => Q(e, dt), sr = (e) => Q(e, ct), ce = (e) => Q(e, mt, !0), X = (e, t, r) => {
258
+ const o = at.exec(e);
259
+ return o ? o[1] ? t(o[1]) : r(o[2]) : !1;
260
+ }, Q = (e, t, r = !1) => {
261
+ const o = st.exec(e);
262
+ return o ? o[1] ? t(o[1]) : r : !1;
263
+ }, lt = (e) => e === "position" || e === "percentage", ct = (e) => e === "image" || e === "url", dt = (e) => e === "length" || e === "size" || e === "bg-size", ut = (e) => e === "length", ir = (e) => e === "number", lr = (e) => e === "family-name", mt = (e) => e === "shadow", cr = () => {
264
+ const e = h("color"), t = h("font"), r = h("text"), o = h("font-weight"), n = h("tracking"), a = h("leading"), l = h("breakpoint"), g = h("container"), d = h("spacing"), p = h("radius"), b = h("shadow"), x = h("inset-shadow"), A = h("text-shadow"), L = h("drop-shadow"), k = h("blur"), w = h("perspective"), N = h("aspect"), z = h("ease"), re = h("animate"), Z = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], G = () => [
257
265
  "center",
258
266
  "top",
259
267
  "bottom",
@@ -271,51 +279,51 @@ const b = (e) => {
271
279
  "bottom-left",
272
280
  // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
273
281
  "left-bottom"
274
- ], V = () => [...N(), t, r], G = () => ["auto", "hidden", "clip", "visible", "scroll"], B = () => ["auto", "contain", "none"], d = () => [t, r, u], M = () => [_, "full", "auto", ...d()], ae = () => [P, "none", "subgrid", t, r], ie = () => ["auto", {
275
- span: ["full", P, t, r]
276
- }, P, t, r], $ = () => [P, "auto", t, r], le = () => ["auto", "min", "max", "fr", t, r], Z = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], j = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], C = () => ["auto", ...d()], E = () => [_, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...d()], a = () => [e, t, r], ce = () => [...N(), he, be, {
277
- position: [t, r]
278
- }], de = () => ["no-repeat", {
282
+ ], U = () => [...G(), i, s], M = () => ["auto", "hidden", "clip", "visible", "scroll"], ee = () => ["auto", "contain", "none"], u = () => [i, s, d], I = () => [j, "full", "auto", ...u()], Ce = () => [T, "none", "subgrid", i, s], Te = () => ["auto", {
283
+ span: ["full", T, i, s]
284
+ }, T, i, s], oe = () => [T, "auto", i, s], Le = () => ["auto", "min", "max", "fr", i, s], fe = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], B = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], O = () => ["auto", ...u()], P = () => [j, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...u()], c = () => [e, i, s], ze = () => [...G(), Be, Ue, {
285
+ position: [i, s]
286
+ }], Me = () => ["no-repeat", {
279
287
  repeat: ["", "x", "y", "space", "round"]
280
- }], me = () => ["auto", "cover", "contain", no, ro, {
281
- size: [t, r]
282
- }], D = () => [ee, U, T], x = () => [
288
+ }], Pe = () => ["auto", "cover", "contain", ar, rr, {
289
+ size: [i, s]
290
+ }], ge = () => [be, te, D], _ = () => [
283
291
  // Deprecated since Tailwind CSS v4.0.0
284
292
  "",
285
293
  "none",
286
294
  "full",
287
- g,
288
- t,
289
- r
290
- ], k = () => ["", m, U, T], J = () => ["solid", "dashed", "dotted", "double"], ue = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], h = () => [m, ee, he, be], pe = () => [
295
+ p,
296
+ i,
297
+ s
298
+ ], y = () => ["", f, te, D], ne = () => ["solid", "dashed", "dotted", "double"], De = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], v = () => [f, be, Be, Ue], Ve = () => [
291
299
  // Deprecated since Tailwind CSS v4.0.0
292
300
  "",
293
301
  "none",
294
- y,
295
- t,
296
- r
297
- ], q = () => ["none", m, t, r], H = () => ["none", m, t, r], Q = () => [m, t, r], X = () => [_, "full", ...d()];
302
+ k,
303
+ i,
304
+ s
305
+ ], ae = () => ["none", f, i, s], se = () => ["none", f, i, s], pe = () => [f, i, s], ie = () => [j, "full", ...u()];
298
306
  return {
299
307
  cacheSize: 500,
300
308
  theme: {
301
309
  animate: ["spin", "ping", "pulse", "bounce"],
302
310
  aspect: ["video"],
303
- blur: [S],
304
- breakpoint: [S],
305
- color: [Ze],
306
- container: [S],
307
- "drop-shadow": [S],
311
+ blur: [C],
312
+ breakpoint: [C],
313
+ color: [Xt],
314
+ container: [C],
315
+ "drop-shadow": [C],
308
316
  ease: ["in", "out", "in-out"],
309
- font: [oo],
317
+ font: [tr],
310
318
  "font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
311
- "inset-shadow": [S],
319
+ "inset-shadow": [C],
312
320
  leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
313
321
  perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
314
- radius: [S],
315
- shadow: [S],
316
- spacing: ["px", m],
317
- text: [S],
318
- "text-shadow": [S],
322
+ radius: [C],
323
+ shadow: [C],
324
+ spacing: ["px", f],
325
+ text: [C],
326
+ "text-shadow": [C],
319
327
  tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
320
328
  },
321
329
  classGroups: {
@@ -327,7 +335,7 @@ const b = (e) => {
327
335
  * @see https://tailwindcss.com/docs/aspect-ratio
328
336
  */
329
337
  aspect: [{
330
- aspect: ["auto", "square", _, r, t, A]
338
+ aspect: ["auto", "square", j, s, i, N]
331
339
  }],
332
340
  /**
333
341
  * Container
@@ -340,21 +348,21 @@ const b = (e) => {
340
348
  * @see https://tailwindcss.com/docs/columns
341
349
  */
342
350
  columns: [{
343
- columns: [m, r, t, p]
351
+ columns: [f, s, i, g]
344
352
  }],
345
353
  /**
346
354
  * Break After
347
355
  * @see https://tailwindcss.com/docs/break-after
348
356
  */
349
357
  "break-after": [{
350
- "break-after": F()
358
+ "break-after": Z()
351
359
  }],
352
360
  /**
353
361
  * Break Before
354
362
  * @see https://tailwindcss.com/docs/break-before
355
363
  */
356
364
  "break-before": [{
357
- "break-before": F()
365
+ "break-before": Z()
358
366
  }],
359
367
  /**
360
368
  * Break Inside
@@ -418,49 +426,49 @@ const b = (e) => {
418
426
  * @see https://tailwindcss.com/docs/object-position
419
427
  */
420
428
  "object-position": [{
421
- object: V()
429
+ object: U()
422
430
  }],
423
431
  /**
424
432
  * Overflow
425
433
  * @see https://tailwindcss.com/docs/overflow
426
434
  */
427
435
  overflow: [{
428
- overflow: G()
436
+ overflow: M()
429
437
  }],
430
438
  /**
431
439
  * Overflow X
432
440
  * @see https://tailwindcss.com/docs/overflow
433
441
  */
434
442
  "overflow-x": [{
435
- "overflow-x": G()
443
+ "overflow-x": M()
436
444
  }],
437
445
  /**
438
446
  * Overflow Y
439
447
  * @see https://tailwindcss.com/docs/overflow
440
448
  */
441
449
  "overflow-y": [{
442
- "overflow-y": G()
450
+ "overflow-y": M()
443
451
  }],
444
452
  /**
445
453
  * Overscroll Behavior
446
454
  * @see https://tailwindcss.com/docs/overscroll-behavior
447
455
  */
448
456
  overscroll: [{
449
- overscroll: B()
457
+ overscroll: ee()
450
458
  }],
451
459
  /**
452
460
  * Overscroll Behavior X
453
461
  * @see https://tailwindcss.com/docs/overscroll-behavior
454
462
  */
455
463
  "overscroll-x": [{
456
- "overscroll-x": B()
464
+ "overscroll-x": ee()
457
465
  }],
458
466
  /**
459
467
  * Overscroll Behavior Y
460
468
  * @see https://tailwindcss.com/docs/overscroll-behavior
461
469
  */
462
470
  "overscroll-y": [{
463
- "overscroll-y": B()
471
+ "overscroll-y": ee()
464
472
  }],
465
473
  /**
466
474
  * Position
@@ -472,63 +480,63 @@ const b = (e) => {
472
480
  * @see https://tailwindcss.com/docs/top-right-bottom-left
473
481
  */
474
482
  inset: [{
475
- inset: M()
483
+ inset: I()
476
484
  }],
477
485
  /**
478
486
  * Right / Left
479
487
  * @see https://tailwindcss.com/docs/top-right-bottom-left
480
488
  */
481
489
  "inset-x": [{
482
- "inset-x": M()
490
+ "inset-x": I()
483
491
  }],
484
492
  /**
485
493
  * Top / Bottom
486
494
  * @see https://tailwindcss.com/docs/top-right-bottom-left
487
495
  */
488
496
  "inset-y": [{
489
- "inset-y": M()
497
+ "inset-y": I()
490
498
  }],
491
499
  /**
492
500
  * Start
493
501
  * @see https://tailwindcss.com/docs/top-right-bottom-left
494
502
  */
495
503
  start: [{
496
- start: M()
504
+ start: I()
497
505
  }],
498
506
  /**
499
507
  * End
500
508
  * @see https://tailwindcss.com/docs/top-right-bottom-left
501
509
  */
502
510
  end: [{
503
- end: M()
511
+ end: I()
504
512
  }],
505
513
  /**
506
514
  * Top
507
515
  * @see https://tailwindcss.com/docs/top-right-bottom-left
508
516
  */
509
517
  top: [{
510
- top: M()
518
+ top: I()
511
519
  }],
512
520
  /**
513
521
  * Right
514
522
  * @see https://tailwindcss.com/docs/top-right-bottom-left
515
523
  */
516
524
  right: [{
517
- right: M()
525
+ right: I()
518
526
  }],
519
527
  /**
520
528
  * Bottom
521
529
  * @see https://tailwindcss.com/docs/top-right-bottom-left
522
530
  */
523
531
  bottom: [{
524
- bottom: M()
532
+ bottom: I()
525
533
  }],
526
534
  /**
527
535
  * Left
528
536
  * @see https://tailwindcss.com/docs/top-right-bottom-left
529
537
  */
530
538
  left: [{
531
- left: M()
539
+ left: I()
532
540
  }],
533
541
  /**
534
542
  * Visibility
@@ -540,7 +548,7 @@ const b = (e) => {
540
548
  * @see https://tailwindcss.com/docs/z-index
541
549
  */
542
550
  z: [{
543
- z: [P, "auto", t, r]
551
+ z: [T, "auto", i, s]
544
552
  }],
545
553
  // ------------------------
546
554
  // --- Flexbox and Grid ---
@@ -550,7 +558,7 @@ const b = (e) => {
550
558
  * @see https://tailwindcss.com/docs/flex-basis
551
559
  */
552
560
  basis: [{
553
- basis: [_, "full", "auto", p, ...d()]
561
+ basis: [j, "full", "auto", g, ...u()]
554
562
  }],
555
563
  /**
556
564
  * Flex Direction
@@ -571,84 +579,84 @@ const b = (e) => {
571
579
  * @see https://tailwindcss.com/docs/flex
572
580
  */
573
581
  flex: [{
574
- flex: [m, _, "auto", "initial", "none", r]
582
+ flex: [f, j, "auto", "initial", "none", s]
575
583
  }],
576
584
  /**
577
585
  * Flex Grow
578
586
  * @see https://tailwindcss.com/docs/flex-grow
579
587
  */
580
588
  grow: [{
581
- grow: ["", m, t, r]
589
+ grow: ["", f, i, s]
582
590
  }],
583
591
  /**
584
592
  * Flex Shrink
585
593
  * @see https://tailwindcss.com/docs/flex-shrink
586
594
  */
587
595
  shrink: [{
588
- shrink: ["", m, t, r]
596
+ shrink: ["", f, i, s]
589
597
  }],
590
598
  /**
591
599
  * Order
592
600
  * @see https://tailwindcss.com/docs/order
593
601
  */
594
602
  order: [{
595
- order: [P, "first", "last", "none", t, r]
603
+ order: [T, "first", "last", "none", i, s]
596
604
  }],
597
605
  /**
598
606
  * Grid Template Columns
599
607
  * @see https://tailwindcss.com/docs/grid-template-columns
600
608
  */
601
609
  "grid-cols": [{
602
- "grid-cols": ae()
610
+ "grid-cols": Ce()
603
611
  }],
604
612
  /**
605
613
  * Grid Column Start / End
606
614
  * @see https://tailwindcss.com/docs/grid-column
607
615
  */
608
616
  "col-start-end": [{
609
- col: ie()
617
+ col: Te()
610
618
  }],
611
619
  /**
612
620
  * Grid Column Start
613
621
  * @see https://tailwindcss.com/docs/grid-column
614
622
  */
615
623
  "col-start": [{
616
- "col-start": $()
624
+ "col-start": oe()
617
625
  }],
618
626
  /**
619
627
  * Grid Column End
620
628
  * @see https://tailwindcss.com/docs/grid-column
621
629
  */
622
630
  "col-end": [{
623
- "col-end": $()
631
+ "col-end": oe()
624
632
  }],
625
633
  /**
626
634
  * Grid Template Rows
627
635
  * @see https://tailwindcss.com/docs/grid-template-rows
628
636
  */
629
637
  "grid-rows": [{
630
- "grid-rows": ae()
638
+ "grid-rows": Ce()
631
639
  }],
632
640
  /**
633
641
  * Grid Row Start / End
634
642
  * @see https://tailwindcss.com/docs/grid-row
635
643
  */
636
644
  "row-start-end": [{
637
- row: ie()
645
+ row: Te()
638
646
  }],
639
647
  /**
640
648
  * Grid Row Start
641
649
  * @see https://tailwindcss.com/docs/grid-row
642
650
  */
643
651
  "row-start": [{
644
- "row-start": $()
652
+ "row-start": oe()
645
653
  }],
646
654
  /**
647
655
  * Grid Row End
648
656
  * @see https://tailwindcss.com/docs/grid-row
649
657
  */
650
658
  "row-end": [{
651
- "row-end": $()
659
+ "row-end": oe()
652
660
  }],
653
661
  /**
654
662
  * Grid Auto Flow
@@ -662,70 +670,70 @@ const b = (e) => {
662
670
  * @see https://tailwindcss.com/docs/grid-auto-columns
663
671
  */
664
672
  "auto-cols": [{
665
- "auto-cols": le()
673
+ "auto-cols": Le()
666
674
  }],
667
675
  /**
668
676
  * Grid Auto Rows
669
677
  * @see https://tailwindcss.com/docs/grid-auto-rows
670
678
  */
671
679
  "auto-rows": [{
672
- "auto-rows": le()
680
+ "auto-rows": Le()
673
681
  }],
674
682
  /**
675
683
  * Gap
676
684
  * @see https://tailwindcss.com/docs/gap
677
685
  */
678
686
  gap: [{
679
- gap: d()
687
+ gap: u()
680
688
  }],
681
689
  /**
682
690
  * Gap X
683
691
  * @see https://tailwindcss.com/docs/gap
684
692
  */
685
693
  "gap-x": [{
686
- "gap-x": d()
694
+ "gap-x": u()
687
695
  }],
688
696
  /**
689
697
  * Gap Y
690
698
  * @see https://tailwindcss.com/docs/gap
691
699
  */
692
700
  "gap-y": [{
693
- "gap-y": d()
701
+ "gap-y": u()
694
702
  }],
695
703
  /**
696
704
  * Justify Content
697
705
  * @see https://tailwindcss.com/docs/justify-content
698
706
  */
699
707
  "justify-content": [{
700
- justify: [...Z(), "normal"]
708
+ justify: [...fe(), "normal"]
701
709
  }],
702
710
  /**
703
711
  * Justify Items
704
712
  * @see https://tailwindcss.com/docs/justify-items
705
713
  */
706
714
  "justify-items": [{
707
- "justify-items": [...j(), "normal"]
715
+ "justify-items": [...B(), "normal"]
708
716
  }],
709
717
  /**
710
718
  * Justify Self
711
719
  * @see https://tailwindcss.com/docs/justify-self
712
720
  */
713
721
  "justify-self": [{
714
- "justify-self": ["auto", ...j()]
722
+ "justify-self": ["auto", ...B()]
715
723
  }],
716
724
  /**
717
725
  * Align Content
718
726
  * @see https://tailwindcss.com/docs/align-content
719
727
  */
720
728
  "align-content": [{
721
- content: ["normal", ...Z()]
729
+ content: ["normal", ...fe()]
722
730
  }],
723
731
  /**
724
732
  * Align Items
725
733
  * @see https://tailwindcss.com/docs/align-items
726
734
  */
727
735
  "align-items": [{
728
- items: [...j(), {
736
+ items: [...B(), {
729
737
  baseline: ["", "last"]
730
738
  }]
731
739
  }],
@@ -734,7 +742,7 @@ const b = (e) => {
734
742
  * @see https://tailwindcss.com/docs/align-self
735
743
  */
736
744
  "align-self": [{
737
- self: ["auto", ...j(), {
745
+ self: ["auto", ...B(), {
738
746
  baseline: ["", "last"]
739
747
  }]
740
748
  }],
@@ -743,21 +751,21 @@ const b = (e) => {
743
751
  * @see https://tailwindcss.com/docs/place-content
744
752
  */
745
753
  "place-content": [{
746
- "place-content": Z()
754
+ "place-content": fe()
747
755
  }],
748
756
  /**
749
757
  * Place Items
750
758
  * @see https://tailwindcss.com/docs/place-items
751
759
  */
752
760
  "place-items": [{
753
- "place-items": [...j(), "baseline"]
761
+ "place-items": [...B(), "baseline"]
754
762
  }],
755
763
  /**
756
764
  * Place Self
757
765
  * @see https://tailwindcss.com/docs/place-self
758
766
  */
759
767
  "place-self": [{
760
- "place-self": ["auto", ...j()]
768
+ "place-self": ["auto", ...B()]
761
769
  }],
762
770
  // Spacing
763
771
  /**
@@ -765,133 +773,133 @@ const b = (e) => {
765
773
  * @see https://tailwindcss.com/docs/padding
766
774
  */
767
775
  p: [{
768
- p: d()
776
+ p: u()
769
777
  }],
770
778
  /**
771
779
  * Padding X
772
780
  * @see https://tailwindcss.com/docs/padding
773
781
  */
774
782
  px: [{
775
- px: d()
783
+ px: u()
776
784
  }],
777
785
  /**
778
786
  * Padding Y
779
787
  * @see https://tailwindcss.com/docs/padding
780
788
  */
781
789
  py: [{
782
- py: d()
790
+ py: u()
783
791
  }],
784
792
  /**
785
793
  * Padding Start
786
794
  * @see https://tailwindcss.com/docs/padding
787
795
  */
788
796
  ps: [{
789
- ps: d()
797
+ ps: u()
790
798
  }],
791
799
  /**
792
800
  * Padding End
793
801
  * @see https://tailwindcss.com/docs/padding
794
802
  */
795
803
  pe: [{
796
- pe: d()
804
+ pe: u()
797
805
  }],
798
806
  /**
799
807
  * Padding Top
800
808
  * @see https://tailwindcss.com/docs/padding
801
809
  */
802
810
  pt: [{
803
- pt: d()
811
+ pt: u()
804
812
  }],
805
813
  /**
806
814
  * Padding Right
807
815
  * @see https://tailwindcss.com/docs/padding
808
816
  */
809
817
  pr: [{
810
- pr: d()
818
+ pr: u()
811
819
  }],
812
820
  /**
813
821
  * Padding Bottom
814
822
  * @see https://tailwindcss.com/docs/padding
815
823
  */
816
824
  pb: [{
817
- pb: d()
825
+ pb: u()
818
826
  }],
819
827
  /**
820
828
  * Padding Left
821
829
  * @see https://tailwindcss.com/docs/padding
822
830
  */
823
831
  pl: [{
824
- pl: d()
832
+ pl: u()
825
833
  }],
826
834
  /**
827
835
  * Margin
828
836
  * @see https://tailwindcss.com/docs/margin
829
837
  */
830
838
  m: [{
831
- m: C()
839
+ m: O()
832
840
  }],
833
841
  /**
834
842
  * Margin X
835
843
  * @see https://tailwindcss.com/docs/margin
836
844
  */
837
845
  mx: [{
838
- mx: C()
846
+ mx: O()
839
847
  }],
840
848
  /**
841
849
  * Margin Y
842
850
  * @see https://tailwindcss.com/docs/margin
843
851
  */
844
852
  my: [{
845
- my: C()
853
+ my: O()
846
854
  }],
847
855
  /**
848
856
  * Margin Start
849
857
  * @see https://tailwindcss.com/docs/margin
850
858
  */
851
859
  ms: [{
852
- ms: C()
860
+ ms: O()
853
861
  }],
854
862
  /**
855
863
  * Margin End
856
864
  * @see https://tailwindcss.com/docs/margin
857
865
  */
858
866
  me: [{
859
- me: C()
867
+ me: O()
860
868
  }],
861
869
  /**
862
870
  * Margin Top
863
871
  * @see https://tailwindcss.com/docs/margin
864
872
  */
865
873
  mt: [{
866
- mt: C()
874
+ mt: O()
867
875
  }],
868
876
  /**
869
877
  * Margin Right
870
878
  * @see https://tailwindcss.com/docs/margin
871
879
  */
872
880
  mr: [{
873
- mr: C()
881
+ mr: O()
874
882
  }],
875
883
  /**
876
884
  * Margin Bottom
877
885
  * @see https://tailwindcss.com/docs/margin
878
886
  */
879
887
  mb: [{
880
- mb: C()
888
+ mb: O()
881
889
  }],
882
890
  /**
883
891
  * Margin Left
884
892
  * @see https://tailwindcss.com/docs/margin
885
893
  */
886
894
  ml: [{
887
- ml: C()
895
+ ml: O()
888
896
  }],
889
897
  /**
890
898
  * Space Between X
891
899
  * @see https://tailwindcss.com/docs/margin#adding-space-between-children
892
900
  */
893
901
  "space-x": [{
894
- "space-x": d()
902
+ "space-x": u()
895
903
  }],
896
904
  /**
897
905
  * Space Between X Reverse
@@ -903,7 +911,7 @@ const b = (e) => {
903
911
  * @see https://tailwindcss.com/docs/margin#adding-space-between-children
904
912
  */
905
913
  "space-y": [{
906
- "space-y": d()
914
+ "space-y": u()
907
915
  }],
908
916
  /**
909
917
  * Space Between Y Reverse
@@ -918,14 +926,14 @@ const b = (e) => {
918
926
  * @see https://tailwindcss.com/docs/width#setting-both-width-and-height
919
927
  */
920
928
  size: [{
921
- size: E()
929
+ size: P()
922
930
  }],
923
931
  /**
924
932
  * Width
925
933
  * @see https://tailwindcss.com/docs/width
926
934
  */
927
935
  w: [{
928
- w: [p, "screen", ...E()]
936
+ w: [g, "screen", ...P()]
929
937
  }],
930
938
  /**
931
939
  * Min-Width
@@ -933,11 +941,11 @@ const b = (e) => {
933
941
  */
934
942
  "min-w": [{
935
943
  "min-w": [
936
- p,
944
+ g,
937
945
  "screen",
938
946
  /** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
939
947
  "none",
940
- ...E()
948
+ ...P()
941
949
  ]
942
950
  }],
943
951
  /**
@@ -946,16 +954,16 @@ const b = (e) => {
946
954
  */
947
955
  "max-w": [{
948
956
  "max-w": [
949
- p,
957
+ g,
950
958
  "screen",
951
959
  "none",
952
960
  /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
953
961
  "prose",
954
962
  /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
955
963
  {
956
- screen: [i]
964
+ screen: [l]
957
965
  },
958
- ...E()
966
+ ...P()
959
967
  ]
960
968
  }],
961
969
  /**
@@ -963,21 +971,21 @@ const b = (e) => {
963
971
  * @see https://tailwindcss.com/docs/height
964
972
  */
965
973
  h: [{
966
- h: ["screen", "lh", ...E()]
974
+ h: ["screen", "lh", ...P()]
967
975
  }],
968
976
  /**
969
977
  * Min-Height
970
978
  * @see https://tailwindcss.com/docs/min-height
971
979
  */
972
980
  "min-h": [{
973
- "min-h": ["screen", "lh", "none", ...E()]
981
+ "min-h": ["screen", "lh", "none", ...P()]
974
982
  }],
975
983
  /**
976
984
  * Max-Height
977
985
  * @see https://tailwindcss.com/docs/max-height
978
986
  */
979
987
  "max-h": [{
980
- "max-h": ["screen", "lh", ...E()]
988
+ "max-h": ["screen", "lh", ...P()]
981
989
  }],
982
990
  // ------------------
983
991
  // --- Typography ---
@@ -987,7 +995,7 @@ const b = (e) => {
987
995
  * @see https://tailwindcss.com/docs/font-size
988
996
  */
989
997
  "font-size": [{
990
- text: ["base", o, U, T]
998
+ text: ["base", r, te, D]
991
999
  }],
992
1000
  /**
993
1001
  * Font Smoothing
@@ -1004,21 +1012,21 @@ const b = (e) => {
1004
1012
  * @see https://tailwindcss.com/docs/font-weight
1005
1013
  */
1006
1014
  "font-weight": [{
1007
- font: [s, t, oe]
1015
+ font: [o, i, he]
1008
1016
  }],
1009
1017
  /**
1010
1018
  * Font Stretch
1011
1019
  * @see https://tailwindcss.com/docs/font-stretch
1012
1020
  */
1013
1021
  "font-stretch": [{
1014
- "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", ee, r]
1022
+ "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", be, s]
1015
1023
  }],
1016
1024
  /**
1017
1025
  * Font Family
1018
1026
  * @see https://tailwindcss.com/docs/font-family
1019
1027
  */
1020
1028
  "font-family": [{
1021
- font: [so, r, n]
1029
+ font: [nr, s, t]
1022
1030
  }],
1023
1031
  /**
1024
1032
  * Font Variant Numeric
@@ -1055,14 +1063,14 @@ const b = (e) => {
1055
1063
  * @see https://tailwindcss.com/docs/letter-spacing
1056
1064
  */
1057
1065
  tracking: [{
1058
- tracking: [l, t, r]
1066
+ tracking: [n, i, s]
1059
1067
  }],
1060
1068
  /**
1061
1069
  * Line Clamp
1062
1070
  * @see https://tailwindcss.com/docs/line-clamp
1063
1071
  */
1064
1072
  "line-clamp": [{
1065
- "line-clamp": [m, "none", t, oe]
1073
+ "line-clamp": [f, "none", i, he]
1066
1074
  }],
1067
1075
  /**
1068
1076
  * Line Height
@@ -1071,8 +1079,8 @@ const b = (e) => {
1071
1079
  leading: [{
1072
1080
  leading: [
1073
1081
  /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1074
- c,
1075
- ...d()
1082
+ a,
1083
+ ...u()
1076
1084
  ]
1077
1085
  }],
1078
1086
  /**
@@ -1080,7 +1088,7 @@ const b = (e) => {
1080
1088
  * @see https://tailwindcss.com/docs/list-style-image
1081
1089
  */
1082
1090
  "list-image": [{
1083
- "list-image": ["none", t, r]
1091
+ "list-image": ["none", i, s]
1084
1092
  }],
1085
1093
  /**
1086
1094
  * List Style Position
@@ -1094,7 +1102,7 @@ const b = (e) => {
1094
1102
  * @see https://tailwindcss.com/docs/list-style-type
1095
1103
  */
1096
1104
  "list-style-type": [{
1097
- list: ["disc", "decimal", "none", t, r]
1105
+ list: ["disc", "decimal", "none", i, s]
1098
1106
  }],
1099
1107
  /**
1100
1108
  * Text Alignment
@@ -1109,14 +1117,14 @@ const b = (e) => {
1109
1117
  * @see https://v3.tailwindcss.com/docs/placeholder-color
1110
1118
  */
1111
1119
  "placeholder-color": [{
1112
- placeholder: a()
1120
+ placeholder: c()
1113
1121
  }],
1114
1122
  /**
1115
1123
  * Text Color
1116
1124
  * @see https://tailwindcss.com/docs/text-color
1117
1125
  */
1118
1126
  "text-color": [{
1119
- text: a()
1127
+ text: c()
1120
1128
  }],
1121
1129
  /**
1122
1130
  * Text Decoration
@@ -1128,28 +1136,28 @@ const b = (e) => {
1128
1136
  * @see https://tailwindcss.com/docs/text-decoration-style
1129
1137
  */
1130
1138
  "text-decoration-style": [{
1131
- decoration: [...J(), "wavy"]
1139
+ decoration: [...ne(), "wavy"]
1132
1140
  }],
1133
1141
  /**
1134
1142
  * Text Decoration Thickness
1135
1143
  * @see https://tailwindcss.com/docs/text-decoration-thickness
1136
1144
  */
1137
1145
  "text-decoration-thickness": [{
1138
- decoration: [m, "from-font", "auto", t, T]
1146
+ decoration: [f, "from-font", "auto", i, D]
1139
1147
  }],
1140
1148
  /**
1141
1149
  * Text Decoration Color
1142
1150
  * @see https://tailwindcss.com/docs/text-decoration-color
1143
1151
  */
1144
1152
  "text-decoration-color": [{
1145
- decoration: a()
1153
+ decoration: c()
1146
1154
  }],
1147
1155
  /**
1148
1156
  * Text Underline Offset
1149
1157
  * @see https://tailwindcss.com/docs/text-underline-offset
1150
1158
  */
1151
1159
  "underline-offset": [{
1152
- "underline-offset": [m, "auto", t, r]
1160
+ "underline-offset": [f, "auto", i, s]
1153
1161
  }],
1154
1162
  /**
1155
1163
  * Text Transform
@@ -1173,14 +1181,14 @@ const b = (e) => {
1173
1181
  * @see https://tailwindcss.com/docs/text-indent
1174
1182
  */
1175
1183
  indent: [{
1176
- indent: d()
1184
+ indent: u()
1177
1185
  }],
1178
1186
  /**
1179
1187
  * Vertical Alignment
1180
1188
  * @see https://tailwindcss.com/docs/vertical-align
1181
1189
  */
1182
1190
  "vertical-align": [{
1183
- align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", t, r]
1191
+ align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", i, s]
1184
1192
  }],
1185
1193
  /**
1186
1194
  * Whitespace
@@ -1215,7 +1223,7 @@ const b = (e) => {
1215
1223
  * @see https://tailwindcss.com/docs/content
1216
1224
  */
1217
1225
  content: [{
1218
- content: ["none", t, r]
1226
+ content: ["none", i, s]
1219
1227
  }],
1220
1228
  // -------------------
1221
1229
  // --- Backgrounds ---
@@ -1246,21 +1254,21 @@ const b = (e) => {
1246
1254
  * @see https://tailwindcss.com/docs/background-position
1247
1255
  */
1248
1256
  "bg-position": [{
1249
- bg: ce()
1257
+ bg: ze()
1250
1258
  }],
1251
1259
  /**
1252
1260
  * Background Repeat
1253
1261
  * @see https://tailwindcss.com/docs/background-repeat
1254
1262
  */
1255
1263
  "bg-repeat": [{
1256
- bg: de()
1264
+ bg: Me()
1257
1265
  }],
1258
1266
  /**
1259
1267
  * Background Size
1260
1268
  * @see https://tailwindcss.com/docs/background-size
1261
1269
  */
1262
1270
  "bg-size": [{
1263
- bg: me()
1271
+ bg: Pe()
1264
1272
  }],
1265
1273
  /**
1266
1274
  * Background Image
@@ -1270,59 +1278,59 @@ const b = (e) => {
1270
1278
  bg: ["none", {
1271
1279
  linear: [{
1272
1280
  to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
1273
- }, P, t, r],
1274
- radial: ["", t, r],
1275
- conic: [P, t, r]
1276
- }, ao, to]
1281
+ }, T, i, s],
1282
+ radial: ["", i, s],
1283
+ conic: [T, i, s]
1284
+ }, sr, or]
1277
1285
  }],
1278
1286
  /**
1279
1287
  * Background Color
1280
1288
  * @see https://tailwindcss.com/docs/background-color
1281
1289
  */
1282
1290
  "bg-color": [{
1283
- bg: a()
1291
+ bg: c()
1284
1292
  }],
1285
1293
  /**
1286
1294
  * Gradient Color Stops From Position
1287
1295
  * @see https://tailwindcss.com/docs/gradient-color-stops
1288
1296
  */
1289
1297
  "gradient-from-pos": [{
1290
- from: D()
1298
+ from: ge()
1291
1299
  }],
1292
1300
  /**
1293
1301
  * Gradient Color Stops Via Position
1294
1302
  * @see https://tailwindcss.com/docs/gradient-color-stops
1295
1303
  */
1296
1304
  "gradient-via-pos": [{
1297
- via: D()
1305
+ via: ge()
1298
1306
  }],
1299
1307
  /**
1300
1308
  * Gradient Color Stops To Position
1301
1309
  * @see https://tailwindcss.com/docs/gradient-color-stops
1302
1310
  */
1303
1311
  "gradient-to-pos": [{
1304
- to: D()
1312
+ to: ge()
1305
1313
  }],
1306
1314
  /**
1307
1315
  * Gradient Color Stops From
1308
1316
  * @see https://tailwindcss.com/docs/gradient-color-stops
1309
1317
  */
1310
1318
  "gradient-from": [{
1311
- from: a()
1319
+ from: c()
1312
1320
  }],
1313
1321
  /**
1314
1322
  * Gradient Color Stops Via
1315
1323
  * @see https://tailwindcss.com/docs/gradient-color-stops
1316
1324
  */
1317
1325
  "gradient-via": [{
1318
- via: a()
1326
+ via: c()
1319
1327
  }],
1320
1328
  /**
1321
1329
  * Gradient Color Stops To
1322
1330
  * @see https://tailwindcss.com/docs/gradient-color-stops
1323
1331
  */
1324
1332
  "gradient-to": [{
1325
- to: a()
1333
+ to: c()
1326
1334
  }],
1327
1335
  // ---------------
1328
1336
  // --- Borders ---
@@ -1332,175 +1340,175 @@ const b = (e) => {
1332
1340
  * @see https://tailwindcss.com/docs/border-radius
1333
1341
  */
1334
1342
  rounded: [{
1335
- rounded: x()
1343
+ rounded: _()
1336
1344
  }],
1337
1345
  /**
1338
1346
  * Border Radius Start
1339
1347
  * @see https://tailwindcss.com/docs/border-radius
1340
1348
  */
1341
1349
  "rounded-s": [{
1342
- "rounded-s": x()
1350
+ "rounded-s": _()
1343
1351
  }],
1344
1352
  /**
1345
1353
  * Border Radius End
1346
1354
  * @see https://tailwindcss.com/docs/border-radius
1347
1355
  */
1348
1356
  "rounded-e": [{
1349
- "rounded-e": x()
1357
+ "rounded-e": _()
1350
1358
  }],
1351
1359
  /**
1352
1360
  * Border Radius Top
1353
1361
  * @see https://tailwindcss.com/docs/border-radius
1354
1362
  */
1355
1363
  "rounded-t": [{
1356
- "rounded-t": x()
1364
+ "rounded-t": _()
1357
1365
  }],
1358
1366
  /**
1359
1367
  * Border Radius Right
1360
1368
  * @see https://tailwindcss.com/docs/border-radius
1361
1369
  */
1362
1370
  "rounded-r": [{
1363
- "rounded-r": x()
1371
+ "rounded-r": _()
1364
1372
  }],
1365
1373
  /**
1366
1374
  * Border Radius Bottom
1367
1375
  * @see https://tailwindcss.com/docs/border-radius
1368
1376
  */
1369
1377
  "rounded-b": [{
1370
- "rounded-b": x()
1378
+ "rounded-b": _()
1371
1379
  }],
1372
1380
  /**
1373
1381
  * Border Radius Left
1374
1382
  * @see https://tailwindcss.com/docs/border-radius
1375
1383
  */
1376
1384
  "rounded-l": [{
1377
- "rounded-l": x()
1385
+ "rounded-l": _()
1378
1386
  }],
1379
1387
  /**
1380
1388
  * Border Radius Start Start
1381
1389
  * @see https://tailwindcss.com/docs/border-radius
1382
1390
  */
1383
1391
  "rounded-ss": [{
1384
- "rounded-ss": x()
1392
+ "rounded-ss": _()
1385
1393
  }],
1386
1394
  /**
1387
1395
  * Border Radius Start End
1388
1396
  * @see https://tailwindcss.com/docs/border-radius
1389
1397
  */
1390
1398
  "rounded-se": [{
1391
- "rounded-se": x()
1399
+ "rounded-se": _()
1392
1400
  }],
1393
1401
  /**
1394
1402
  * Border Radius End End
1395
1403
  * @see https://tailwindcss.com/docs/border-radius
1396
1404
  */
1397
1405
  "rounded-ee": [{
1398
- "rounded-ee": x()
1406
+ "rounded-ee": _()
1399
1407
  }],
1400
1408
  /**
1401
1409
  * Border Radius End Start
1402
1410
  * @see https://tailwindcss.com/docs/border-radius
1403
1411
  */
1404
1412
  "rounded-es": [{
1405
- "rounded-es": x()
1413
+ "rounded-es": _()
1406
1414
  }],
1407
1415
  /**
1408
1416
  * Border Radius Top Left
1409
1417
  * @see https://tailwindcss.com/docs/border-radius
1410
1418
  */
1411
1419
  "rounded-tl": [{
1412
- "rounded-tl": x()
1420
+ "rounded-tl": _()
1413
1421
  }],
1414
1422
  /**
1415
1423
  * Border Radius Top Right
1416
1424
  * @see https://tailwindcss.com/docs/border-radius
1417
1425
  */
1418
1426
  "rounded-tr": [{
1419
- "rounded-tr": x()
1427
+ "rounded-tr": _()
1420
1428
  }],
1421
1429
  /**
1422
1430
  * Border Radius Bottom Right
1423
1431
  * @see https://tailwindcss.com/docs/border-radius
1424
1432
  */
1425
1433
  "rounded-br": [{
1426
- "rounded-br": x()
1434
+ "rounded-br": _()
1427
1435
  }],
1428
1436
  /**
1429
1437
  * Border Radius Bottom Left
1430
1438
  * @see https://tailwindcss.com/docs/border-radius
1431
1439
  */
1432
1440
  "rounded-bl": [{
1433
- "rounded-bl": x()
1441
+ "rounded-bl": _()
1434
1442
  }],
1435
1443
  /**
1436
1444
  * Border Width
1437
1445
  * @see https://tailwindcss.com/docs/border-width
1438
1446
  */
1439
1447
  "border-w": [{
1440
- border: k()
1448
+ border: y()
1441
1449
  }],
1442
1450
  /**
1443
1451
  * Border Width X
1444
1452
  * @see https://tailwindcss.com/docs/border-width
1445
1453
  */
1446
1454
  "border-w-x": [{
1447
- "border-x": k()
1455
+ "border-x": y()
1448
1456
  }],
1449
1457
  /**
1450
1458
  * Border Width Y
1451
1459
  * @see https://tailwindcss.com/docs/border-width
1452
1460
  */
1453
1461
  "border-w-y": [{
1454
- "border-y": k()
1462
+ "border-y": y()
1455
1463
  }],
1456
1464
  /**
1457
1465
  * Border Width Start
1458
1466
  * @see https://tailwindcss.com/docs/border-width
1459
1467
  */
1460
1468
  "border-w-s": [{
1461
- "border-s": k()
1469
+ "border-s": y()
1462
1470
  }],
1463
1471
  /**
1464
1472
  * Border Width End
1465
1473
  * @see https://tailwindcss.com/docs/border-width
1466
1474
  */
1467
1475
  "border-w-e": [{
1468
- "border-e": k()
1476
+ "border-e": y()
1469
1477
  }],
1470
1478
  /**
1471
1479
  * Border Width Top
1472
1480
  * @see https://tailwindcss.com/docs/border-width
1473
1481
  */
1474
1482
  "border-w-t": [{
1475
- "border-t": k()
1483
+ "border-t": y()
1476
1484
  }],
1477
1485
  /**
1478
1486
  * Border Width Right
1479
1487
  * @see https://tailwindcss.com/docs/border-width
1480
1488
  */
1481
1489
  "border-w-r": [{
1482
- "border-r": k()
1490
+ "border-r": y()
1483
1491
  }],
1484
1492
  /**
1485
1493
  * Border Width Bottom
1486
1494
  * @see https://tailwindcss.com/docs/border-width
1487
1495
  */
1488
1496
  "border-w-b": [{
1489
- "border-b": k()
1497
+ "border-b": y()
1490
1498
  }],
1491
1499
  /**
1492
1500
  * Border Width Left
1493
1501
  * @see https://tailwindcss.com/docs/border-width
1494
1502
  */
1495
1503
  "border-w-l": [{
1496
- "border-l": k()
1504
+ "border-l": y()
1497
1505
  }],
1498
1506
  /**
1499
1507
  * Divide Width X
1500
1508
  * @see https://tailwindcss.com/docs/border-width#between-children
1501
1509
  */
1502
1510
  "divide-x": [{
1503
- "divide-x": k()
1511
+ "divide-x": y()
1504
1512
  }],
1505
1513
  /**
1506
1514
  * Divide Width X Reverse
@@ -1512,7 +1520,7 @@ const b = (e) => {
1512
1520
  * @see https://tailwindcss.com/docs/border-width#between-children
1513
1521
  */
1514
1522
  "divide-y": [{
1515
- "divide-y": k()
1523
+ "divide-y": y()
1516
1524
  }],
1517
1525
  /**
1518
1526
  * Divide Width Y Reverse
@@ -1524,112 +1532,112 @@ const b = (e) => {
1524
1532
  * @see https://tailwindcss.com/docs/border-style
1525
1533
  */
1526
1534
  "border-style": [{
1527
- border: [...J(), "hidden", "none"]
1535
+ border: [...ne(), "hidden", "none"]
1528
1536
  }],
1529
1537
  /**
1530
1538
  * Divide Style
1531
1539
  * @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
1532
1540
  */
1533
1541
  "divide-style": [{
1534
- divide: [...J(), "hidden", "none"]
1542
+ divide: [...ne(), "hidden", "none"]
1535
1543
  }],
1536
1544
  /**
1537
1545
  * Border Color
1538
1546
  * @see https://tailwindcss.com/docs/border-color
1539
1547
  */
1540
1548
  "border-color": [{
1541
- border: a()
1549
+ border: c()
1542
1550
  }],
1543
1551
  /**
1544
1552
  * Border Color X
1545
1553
  * @see https://tailwindcss.com/docs/border-color
1546
1554
  */
1547
1555
  "border-color-x": [{
1548
- "border-x": a()
1556
+ "border-x": c()
1549
1557
  }],
1550
1558
  /**
1551
1559
  * Border Color Y
1552
1560
  * @see https://tailwindcss.com/docs/border-color
1553
1561
  */
1554
1562
  "border-color-y": [{
1555
- "border-y": a()
1563
+ "border-y": c()
1556
1564
  }],
1557
1565
  /**
1558
1566
  * Border Color S
1559
1567
  * @see https://tailwindcss.com/docs/border-color
1560
1568
  */
1561
1569
  "border-color-s": [{
1562
- "border-s": a()
1570
+ "border-s": c()
1563
1571
  }],
1564
1572
  /**
1565
1573
  * Border Color E
1566
1574
  * @see https://tailwindcss.com/docs/border-color
1567
1575
  */
1568
1576
  "border-color-e": [{
1569
- "border-e": a()
1577
+ "border-e": c()
1570
1578
  }],
1571
1579
  /**
1572
1580
  * Border Color Top
1573
1581
  * @see https://tailwindcss.com/docs/border-color
1574
1582
  */
1575
1583
  "border-color-t": [{
1576
- "border-t": a()
1584
+ "border-t": c()
1577
1585
  }],
1578
1586
  /**
1579
1587
  * Border Color Right
1580
1588
  * @see https://tailwindcss.com/docs/border-color
1581
1589
  */
1582
1590
  "border-color-r": [{
1583
- "border-r": a()
1591
+ "border-r": c()
1584
1592
  }],
1585
1593
  /**
1586
1594
  * Border Color Bottom
1587
1595
  * @see https://tailwindcss.com/docs/border-color
1588
1596
  */
1589
1597
  "border-color-b": [{
1590
- "border-b": a()
1598
+ "border-b": c()
1591
1599
  }],
1592
1600
  /**
1593
1601
  * Border Color Left
1594
1602
  * @see https://tailwindcss.com/docs/border-color
1595
1603
  */
1596
1604
  "border-color-l": [{
1597
- "border-l": a()
1605
+ "border-l": c()
1598
1606
  }],
1599
1607
  /**
1600
1608
  * Divide Color
1601
1609
  * @see https://tailwindcss.com/docs/divide-color
1602
1610
  */
1603
1611
  "divide-color": [{
1604
- divide: a()
1612
+ divide: c()
1605
1613
  }],
1606
1614
  /**
1607
1615
  * Outline Style
1608
1616
  * @see https://tailwindcss.com/docs/outline-style
1609
1617
  */
1610
1618
  "outline-style": [{
1611
- outline: [...J(), "none", "hidden"]
1619
+ outline: [...ne(), "none", "hidden"]
1612
1620
  }],
1613
1621
  /**
1614
1622
  * Outline Offset
1615
1623
  * @see https://tailwindcss.com/docs/outline-offset
1616
1624
  */
1617
1625
  "outline-offset": [{
1618
- "outline-offset": [m, t, r]
1626
+ "outline-offset": [f, i, s]
1619
1627
  }],
1620
1628
  /**
1621
1629
  * Outline Width
1622
1630
  * @see https://tailwindcss.com/docs/outline-width
1623
1631
  */
1624
1632
  "outline-w": [{
1625
- outline: ["", m, U, T]
1633
+ outline: ["", f, te, D]
1626
1634
  }],
1627
1635
  /**
1628
1636
  * Outline Color
1629
1637
  * @see https://tailwindcss.com/docs/outline-color
1630
1638
  */
1631
1639
  "outline-color": [{
1632
- outline: a()
1640
+ outline: c()
1633
1641
  }],
1634
1642
  // ---------------
1635
1643
  // --- Effects ---
@@ -1643,9 +1651,9 @@ const b = (e) => {
1643
1651
  // Deprecated since Tailwind CSS v4.0.0
1644
1652
  "",
1645
1653
  "none",
1646
- f,
1647
- Y,
1648
- K
1654
+ b,
1655
+ ce,
1656
+ le
1649
1657
  ]
1650
1658
  }],
1651
1659
  /**
@@ -1653,28 +1661,28 @@ const b = (e) => {
1653
1661
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
1654
1662
  */
1655
1663
  "shadow-color": [{
1656
- shadow: a()
1664
+ shadow: c()
1657
1665
  }],
1658
1666
  /**
1659
1667
  * Inset Box Shadow
1660
1668
  * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
1661
1669
  */
1662
1670
  "inset-shadow": [{
1663
- "inset-shadow": ["none", w, Y, K]
1671
+ "inset-shadow": ["none", x, ce, le]
1664
1672
  }],
1665
1673
  /**
1666
1674
  * Inset Box Shadow Color
1667
1675
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
1668
1676
  */
1669
1677
  "inset-shadow-color": [{
1670
- "inset-shadow": a()
1678
+ "inset-shadow": c()
1671
1679
  }],
1672
1680
  /**
1673
1681
  * Ring Width
1674
1682
  * @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
1675
1683
  */
1676
1684
  "ring-w": [{
1677
- ring: k()
1685
+ ring: y()
1678
1686
  }],
1679
1687
  /**
1680
1688
  * Ring Width Inset
@@ -1688,7 +1696,7 @@ const b = (e) => {
1688
1696
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
1689
1697
  */
1690
1698
  "ring-color": [{
1691
- ring: a()
1699
+ ring: c()
1692
1700
  }],
1693
1701
  /**
1694
1702
  * Ring Offset Width
@@ -1697,7 +1705,7 @@ const b = (e) => {
1697
1705
  * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
1698
1706
  */
1699
1707
  "ring-offset-w": [{
1700
- "ring-offset": [m, T]
1708
+ "ring-offset": [f, D]
1701
1709
  }],
1702
1710
  /**
1703
1711
  * Ring Offset Color
@@ -1706,56 +1714,56 @@ const b = (e) => {
1706
1714
  * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
1707
1715
  */
1708
1716
  "ring-offset-color": [{
1709
- "ring-offset": a()
1717
+ "ring-offset": c()
1710
1718
  }],
1711
1719
  /**
1712
1720
  * Inset Ring Width
1713
1721
  * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
1714
1722
  */
1715
1723
  "inset-ring-w": [{
1716
- "inset-ring": k()
1724
+ "inset-ring": y()
1717
1725
  }],
1718
1726
  /**
1719
1727
  * Inset Ring Color
1720
1728
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
1721
1729
  */
1722
1730
  "inset-ring-color": [{
1723
- "inset-ring": a()
1731
+ "inset-ring": c()
1724
1732
  }],
1725
1733
  /**
1726
1734
  * Text Shadow
1727
1735
  * @see https://tailwindcss.com/docs/text-shadow
1728
1736
  */
1729
1737
  "text-shadow": [{
1730
- "text-shadow": ["none", z, Y, K]
1738
+ "text-shadow": ["none", A, ce, le]
1731
1739
  }],
1732
1740
  /**
1733
1741
  * Text Shadow Color
1734
1742
  * @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
1735
1743
  */
1736
1744
  "text-shadow-color": [{
1737
- "text-shadow": a()
1745
+ "text-shadow": c()
1738
1746
  }],
1739
1747
  /**
1740
1748
  * Opacity
1741
1749
  * @see https://tailwindcss.com/docs/opacity
1742
1750
  */
1743
1751
  opacity: [{
1744
- opacity: [m, t, r]
1752
+ opacity: [f, i, s]
1745
1753
  }],
1746
1754
  /**
1747
1755
  * Mix Blend Mode
1748
1756
  * @see https://tailwindcss.com/docs/mix-blend-mode
1749
1757
  */
1750
1758
  "mix-blend": [{
1751
- "mix-blend": [...ue(), "plus-darker", "plus-lighter"]
1759
+ "mix-blend": [...De(), "plus-darker", "plus-lighter"]
1752
1760
  }],
1753
1761
  /**
1754
1762
  * Background Blend Mode
1755
1763
  * @see https://tailwindcss.com/docs/background-blend-mode
1756
1764
  */
1757
1765
  "bg-blend": [{
1758
- "bg-blend": ue()
1766
+ "bg-blend": De()
1759
1767
  }],
1760
1768
  /**
1761
1769
  * Mask Clip
@@ -1776,106 +1784,106 @@ const b = (e) => {
1776
1784
  * @see https://tailwindcss.com/docs/mask-image
1777
1785
  */
1778
1786
  "mask-image-linear-pos": [{
1779
- "mask-linear": [m]
1787
+ "mask-linear": [f]
1780
1788
  }],
1781
1789
  "mask-image-linear-from-pos": [{
1782
- "mask-linear-from": h()
1790
+ "mask-linear-from": v()
1783
1791
  }],
1784
1792
  "mask-image-linear-to-pos": [{
1785
- "mask-linear-to": h()
1793
+ "mask-linear-to": v()
1786
1794
  }],
1787
1795
  "mask-image-linear-from-color": [{
1788
- "mask-linear-from": a()
1796
+ "mask-linear-from": c()
1789
1797
  }],
1790
1798
  "mask-image-linear-to-color": [{
1791
- "mask-linear-to": a()
1799
+ "mask-linear-to": c()
1792
1800
  }],
1793
1801
  "mask-image-t-from-pos": [{
1794
- "mask-t-from": h()
1802
+ "mask-t-from": v()
1795
1803
  }],
1796
1804
  "mask-image-t-to-pos": [{
1797
- "mask-t-to": h()
1805
+ "mask-t-to": v()
1798
1806
  }],
1799
1807
  "mask-image-t-from-color": [{
1800
- "mask-t-from": a()
1808
+ "mask-t-from": c()
1801
1809
  }],
1802
1810
  "mask-image-t-to-color": [{
1803
- "mask-t-to": a()
1811
+ "mask-t-to": c()
1804
1812
  }],
1805
1813
  "mask-image-r-from-pos": [{
1806
- "mask-r-from": h()
1814
+ "mask-r-from": v()
1807
1815
  }],
1808
1816
  "mask-image-r-to-pos": [{
1809
- "mask-r-to": h()
1817
+ "mask-r-to": v()
1810
1818
  }],
1811
1819
  "mask-image-r-from-color": [{
1812
- "mask-r-from": a()
1820
+ "mask-r-from": c()
1813
1821
  }],
1814
1822
  "mask-image-r-to-color": [{
1815
- "mask-r-to": a()
1823
+ "mask-r-to": c()
1816
1824
  }],
1817
1825
  "mask-image-b-from-pos": [{
1818
- "mask-b-from": h()
1826
+ "mask-b-from": v()
1819
1827
  }],
1820
1828
  "mask-image-b-to-pos": [{
1821
- "mask-b-to": h()
1829
+ "mask-b-to": v()
1822
1830
  }],
1823
1831
  "mask-image-b-from-color": [{
1824
- "mask-b-from": a()
1832
+ "mask-b-from": c()
1825
1833
  }],
1826
1834
  "mask-image-b-to-color": [{
1827
- "mask-b-to": a()
1835
+ "mask-b-to": c()
1828
1836
  }],
1829
1837
  "mask-image-l-from-pos": [{
1830
- "mask-l-from": h()
1838
+ "mask-l-from": v()
1831
1839
  }],
1832
1840
  "mask-image-l-to-pos": [{
1833
- "mask-l-to": h()
1841
+ "mask-l-to": v()
1834
1842
  }],
1835
1843
  "mask-image-l-from-color": [{
1836
- "mask-l-from": a()
1844
+ "mask-l-from": c()
1837
1845
  }],
1838
1846
  "mask-image-l-to-color": [{
1839
- "mask-l-to": a()
1847
+ "mask-l-to": c()
1840
1848
  }],
1841
1849
  "mask-image-x-from-pos": [{
1842
- "mask-x-from": h()
1850
+ "mask-x-from": v()
1843
1851
  }],
1844
1852
  "mask-image-x-to-pos": [{
1845
- "mask-x-to": h()
1853
+ "mask-x-to": v()
1846
1854
  }],
1847
1855
  "mask-image-x-from-color": [{
1848
- "mask-x-from": a()
1856
+ "mask-x-from": c()
1849
1857
  }],
1850
1858
  "mask-image-x-to-color": [{
1851
- "mask-x-to": a()
1859
+ "mask-x-to": c()
1852
1860
  }],
1853
1861
  "mask-image-y-from-pos": [{
1854
- "mask-y-from": h()
1862
+ "mask-y-from": v()
1855
1863
  }],
1856
1864
  "mask-image-y-to-pos": [{
1857
- "mask-y-to": h()
1865
+ "mask-y-to": v()
1858
1866
  }],
1859
1867
  "mask-image-y-from-color": [{
1860
- "mask-y-from": a()
1868
+ "mask-y-from": c()
1861
1869
  }],
1862
1870
  "mask-image-y-to-color": [{
1863
- "mask-y-to": a()
1871
+ "mask-y-to": c()
1864
1872
  }],
1865
1873
  "mask-image-radial": [{
1866
- "mask-radial": [t, r]
1874
+ "mask-radial": [i, s]
1867
1875
  }],
1868
1876
  "mask-image-radial-from-pos": [{
1869
- "mask-radial-from": h()
1877
+ "mask-radial-from": v()
1870
1878
  }],
1871
1879
  "mask-image-radial-to-pos": [{
1872
- "mask-radial-to": h()
1880
+ "mask-radial-to": v()
1873
1881
  }],
1874
1882
  "mask-image-radial-from-color": [{
1875
- "mask-radial-from": a()
1883
+ "mask-radial-from": c()
1876
1884
  }],
1877
1885
  "mask-image-radial-to-color": [{
1878
- "mask-radial-to": a()
1886
+ "mask-radial-to": c()
1879
1887
  }],
1880
1888
  "mask-image-radial-shape": [{
1881
1889
  "mask-radial": ["circle", "ellipse"]
@@ -1887,22 +1895,22 @@ const b = (e) => {
1887
1895
  }]
1888
1896
  }],
1889
1897
  "mask-image-radial-pos": [{
1890
- "mask-radial-at": N()
1898
+ "mask-radial-at": G()
1891
1899
  }],
1892
1900
  "mask-image-conic-pos": [{
1893
- "mask-conic": [m]
1901
+ "mask-conic": [f]
1894
1902
  }],
1895
1903
  "mask-image-conic-from-pos": [{
1896
- "mask-conic-from": h()
1904
+ "mask-conic-from": v()
1897
1905
  }],
1898
1906
  "mask-image-conic-to-pos": [{
1899
- "mask-conic-to": h()
1907
+ "mask-conic-to": v()
1900
1908
  }],
1901
1909
  "mask-image-conic-from-color": [{
1902
- "mask-conic-from": a()
1910
+ "mask-conic-from": c()
1903
1911
  }],
1904
1912
  "mask-image-conic-to-color": [{
1905
- "mask-conic-to": a()
1913
+ "mask-conic-to": c()
1906
1914
  }],
1907
1915
  /**
1908
1916
  * Mask Mode
@@ -1923,21 +1931,21 @@ const b = (e) => {
1923
1931
  * @see https://tailwindcss.com/docs/mask-position
1924
1932
  */
1925
1933
  "mask-position": [{
1926
- mask: ce()
1934
+ mask: ze()
1927
1935
  }],
1928
1936
  /**
1929
1937
  * Mask Repeat
1930
1938
  * @see https://tailwindcss.com/docs/mask-repeat
1931
1939
  */
1932
1940
  "mask-repeat": [{
1933
- mask: de()
1941
+ mask: Me()
1934
1942
  }],
1935
1943
  /**
1936
1944
  * Mask Size
1937
1945
  * @see https://tailwindcss.com/docs/mask-size
1938
1946
  */
1939
1947
  "mask-size": [{
1940
- mask: me()
1948
+ mask: Pe()
1941
1949
  }],
1942
1950
  /**
1943
1951
  * Mask Type
@@ -1951,7 +1959,7 @@ const b = (e) => {
1951
1959
  * @see https://tailwindcss.com/docs/mask-image
1952
1960
  */
1953
1961
  "mask-image": [{
1954
- mask: ["none", t, r]
1962
+ mask: ["none", i, s]
1955
1963
  }],
1956
1964
  // ---------------
1957
1965
  // --- Filters ---
@@ -1965,8 +1973,8 @@ const b = (e) => {
1965
1973
  // Deprecated since Tailwind CSS v3.0.0
1966
1974
  "",
1967
1975
  "none",
1968
- t,
1969
- r
1976
+ i,
1977
+ s
1970
1978
  ]
1971
1979
  }],
1972
1980
  /**
@@ -1974,21 +1982,21 @@ const b = (e) => {
1974
1982
  * @see https://tailwindcss.com/docs/blur
1975
1983
  */
1976
1984
  blur: [{
1977
- blur: pe()
1985
+ blur: Ve()
1978
1986
  }],
1979
1987
  /**
1980
1988
  * Brightness
1981
1989
  * @see https://tailwindcss.com/docs/brightness
1982
1990
  */
1983
1991
  brightness: [{
1984
- brightness: [m, t, r]
1992
+ brightness: [f, i, s]
1985
1993
  }],
1986
1994
  /**
1987
1995
  * Contrast
1988
1996
  * @see https://tailwindcss.com/docs/contrast
1989
1997
  */
1990
1998
  contrast: [{
1991
- contrast: [m, t, r]
1999
+ contrast: [f, i, s]
1992
2000
  }],
1993
2001
  /**
1994
2002
  * Drop Shadow
@@ -1999,9 +2007,9 @@ const b = (e) => {
1999
2007
  // Deprecated since Tailwind CSS v4.0.0
2000
2008
  "",
2001
2009
  "none",
2002
- R,
2003
- Y,
2004
- K
2010
+ L,
2011
+ ce,
2012
+ le
2005
2013
  ]
2006
2014
  }],
2007
2015
  /**
@@ -2009,42 +2017,42 @@ const b = (e) => {
2009
2017
  * @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
2010
2018
  */
2011
2019
  "drop-shadow-color": [{
2012
- "drop-shadow": a()
2020
+ "drop-shadow": c()
2013
2021
  }],
2014
2022
  /**
2015
2023
  * Grayscale
2016
2024
  * @see https://tailwindcss.com/docs/grayscale
2017
2025
  */
2018
2026
  grayscale: [{
2019
- grayscale: ["", m, t, r]
2027
+ grayscale: ["", f, i, s]
2020
2028
  }],
2021
2029
  /**
2022
2030
  * Hue Rotate
2023
2031
  * @see https://tailwindcss.com/docs/hue-rotate
2024
2032
  */
2025
2033
  "hue-rotate": [{
2026
- "hue-rotate": [m, t, r]
2034
+ "hue-rotate": [f, i, s]
2027
2035
  }],
2028
2036
  /**
2029
2037
  * Invert
2030
2038
  * @see https://tailwindcss.com/docs/invert
2031
2039
  */
2032
2040
  invert: [{
2033
- invert: ["", m, t, r]
2041
+ invert: ["", f, i, s]
2034
2042
  }],
2035
2043
  /**
2036
2044
  * Saturate
2037
2045
  * @see https://tailwindcss.com/docs/saturate
2038
2046
  */
2039
2047
  saturate: [{
2040
- saturate: [m, t, r]
2048
+ saturate: [f, i, s]
2041
2049
  }],
2042
2050
  /**
2043
2051
  * Sepia
2044
2052
  * @see https://tailwindcss.com/docs/sepia
2045
2053
  */
2046
2054
  sepia: [{
2047
- sepia: ["", m, t, r]
2055
+ sepia: ["", f, i, s]
2048
2056
  }],
2049
2057
  /**
2050
2058
  * Backdrop Filter
@@ -2055,8 +2063,8 @@ const b = (e) => {
2055
2063
  // Deprecated since Tailwind CSS v3.0.0
2056
2064
  "",
2057
2065
  "none",
2058
- t,
2059
- r
2066
+ i,
2067
+ s
2060
2068
  ]
2061
2069
  }],
2062
2070
  /**
@@ -2064,63 +2072,63 @@ const b = (e) => {
2064
2072
  * @see https://tailwindcss.com/docs/backdrop-blur
2065
2073
  */
2066
2074
  "backdrop-blur": [{
2067
- "backdrop-blur": pe()
2075
+ "backdrop-blur": Ve()
2068
2076
  }],
2069
2077
  /**
2070
2078
  * Backdrop Brightness
2071
2079
  * @see https://tailwindcss.com/docs/backdrop-brightness
2072
2080
  */
2073
2081
  "backdrop-brightness": [{
2074
- "backdrop-brightness": [m, t, r]
2082
+ "backdrop-brightness": [f, i, s]
2075
2083
  }],
2076
2084
  /**
2077
2085
  * Backdrop Contrast
2078
2086
  * @see https://tailwindcss.com/docs/backdrop-contrast
2079
2087
  */
2080
2088
  "backdrop-contrast": [{
2081
- "backdrop-contrast": [m, t, r]
2089
+ "backdrop-contrast": [f, i, s]
2082
2090
  }],
2083
2091
  /**
2084
2092
  * Backdrop Grayscale
2085
2093
  * @see https://tailwindcss.com/docs/backdrop-grayscale
2086
2094
  */
2087
2095
  "backdrop-grayscale": [{
2088
- "backdrop-grayscale": ["", m, t, r]
2096
+ "backdrop-grayscale": ["", f, i, s]
2089
2097
  }],
2090
2098
  /**
2091
2099
  * Backdrop Hue Rotate
2092
2100
  * @see https://tailwindcss.com/docs/backdrop-hue-rotate
2093
2101
  */
2094
2102
  "backdrop-hue-rotate": [{
2095
- "backdrop-hue-rotate": [m, t, r]
2103
+ "backdrop-hue-rotate": [f, i, s]
2096
2104
  }],
2097
2105
  /**
2098
2106
  * Backdrop Invert
2099
2107
  * @see https://tailwindcss.com/docs/backdrop-invert
2100
2108
  */
2101
2109
  "backdrop-invert": [{
2102
- "backdrop-invert": ["", m, t, r]
2110
+ "backdrop-invert": ["", f, i, s]
2103
2111
  }],
2104
2112
  /**
2105
2113
  * Backdrop Opacity
2106
2114
  * @see https://tailwindcss.com/docs/backdrop-opacity
2107
2115
  */
2108
2116
  "backdrop-opacity": [{
2109
- "backdrop-opacity": [m, t, r]
2117
+ "backdrop-opacity": [f, i, s]
2110
2118
  }],
2111
2119
  /**
2112
2120
  * Backdrop Saturate
2113
2121
  * @see https://tailwindcss.com/docs/backdrop-saturate
2114
2122
  */
2115
2123
  "backdrop-saturate": [{
2116
- "backdrop-saturate": [m, t, r]
2124
+ "backdrop-saturate": [f, i, s]
2117
2125
  }],
2118
2126
  /**
2119
2127
  * Backdrop Sepia
2120
2128
  * @see https://tailwindcss.com/docs/backdrop-sepia
2121
2129
  */
2122
2130
  "backdrop-sepia": [{
2123
- "backdrop-sepia": ["", m, t, r]
2131
+ "backdrop-sepia": ["", f, i, s]
2124
2132
  }],
2125
2133
  // --------------
2126
2134
  // --- Tables ---
@@ -2137,21 +2145,21 @@ const b = (e) => {
2137
2145
  * @see https://tailwindcss.com/docs/border-spacing
2138
2146
  */
2139
2147
  "border-spacing": [{
2140
- "border-spacing": d()
2148
+ "border-spacing": u()
2141
2149
  }],
2142
2150
  /**
2143
2151
  * Border Spacing X
2144
2152
  * @see https://tailwindcss.com/docs/border-spacing
2145
2153
  */
2146
2154
  "border-spacing-x": [{
2147
- "border-spacing-x": d()
2155
+ "border-spacing-x": u()
2148
2156
  }],
2149
2157
  /**
2150
2158
  * Border Spacing Y
2151
2159
  * @see https://tailwindcss.com/docs/border-spacing
2152
2160
  */
2153
2161
  "border-spacing-y": [{
2154
- "border-spacing-y": d()
2162
+ "border-spacing-y": u()
2155
2163
  }],
2156
2164
  /**
2157
2165
  * Table Layout
@@ -2175,7 +2183,7 @@ const b = (e) => {
2175
2183
  * @see https://tailwindcss.com/docs/transition-property
2176
2184
  */
2177
2185
  transition: [{
2178
- transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", t, r]
2186
+ transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", i, s]
2179
2187
  }],
2180
2188
  /**
2181
2189
  * Transition Behavior
@@ -2189,28 +2197,28 @@ const b = (e) => {
2189
2197
  * @see https://tailwindcss.com/docs/transition-duration
2190
2198
  */
2191
2199
  duration: [{
2192
- duration: [m, "initial", t, r]
2200
+ duration: [f, "initial", i, s]
2193
2201
  }],
2194
2202
  /**
2195
2203
  * Transition Timing Function
2196
2204
  * @see https://tailwindcss.com/docs/transition-timing-function
2197
2205
  */
2198
2206
  ease: [{
2199
- ease: ["linear", "initial", I, t, r]
2207
+ ease: ["linear", "initial", z, i, s]
2200
2208
  }],
2201
2209
  /**
2202
2210
  * Transition Delay
2203
2211
  * @see https://tailwindcss.com/docs/transition-delay
2204
2212
  */
2205
2213
  delay: [{
2206
- delay: [m, t, r]
2214
+ delay: [f, i, s]
2207
2215
  }],
2208
2216
  /**
2209
2217
  * Animation
2210
2218
  * @see https://tailwindcss.com/docs/animation
2211
2219
  */
2212
2220
  animate: [{
2213
- animate: ["none", W, t, r]
2221
+ animate: ["none", re, i, s]
2214
2222
  }],
2215
2223
  // ------------------
2216
2224
  // --- Transforms ---
@@ -2227,70 +2235,70 @@ const b = (e) => {
2227
2235
  * @see https://tailwindcss.com/docs/perspective
2228
2236
  */
2229
2237
  perspective: [{
2230
- perspective: [v, t, r]
2238
+ perspective: [w, i, s]
2231
2239
  }],
2232
2240
  /**
2233
2241
  * Perspective Origin
2234
2242
  * @see https://tailwindcss.com/docs/perspective-origin
2235
2243
  */
2236
2244
  "perspective-origin": [{
2237
- "perspective-origin": V()
2245
+ "perspective-origin": U()
2238
2246
  }],
2239
2247
  /**
2240
2248
  * Rotate
2241
2249
  * @see https://tailwindcss.com/docs/rotate
2242
2250
  */
2243
2251
  rotate: [{
2244
- rotate: q()
2252
+ rotate: ae()
2245
2253
  }],
2246
2254
  /**
2247
2255
  * Rotate X
2248
2256
  * @see https://tailwindcss.com/docs/rotate
2249
2257
  */
2250
2258
  "rotate-x": [{
2251
- "rotate-x": q()
2259
+ "rotate-x": ae()
2252
2260
  }],
2253
2261
  /**
2254
2262
  * Rotate Y
2255
2263
  * @see https://tailwindcss.com/docs/rotate
2256
2264
  */
2257
2265
  "rotate-y": [{
2258
- "rotate-y": q()
2266
+ "rotate-y": ae()
2259
2267
  }],
2260
2268
  /**
2261
2269
  * Rotate Z
2262
2270
  * @see https://tailwindcss.com/docs/rotate
2263
2271
  */
2264
2272
  "rotate-z": [{
2265
- "rotate-z": q()
2273
+ "rotate-z": ae()
2266
2274
  }],
2267
2275
  /**
2268
2276
  * Scale
2269
2277
  * @see https://tailwindcss.com/docs/scale
2270
2278
  */
2271
2279
  scale: [{
2272
- scale: H()
2280
+ scale: se()
2273
2281
  }],
2274
2282
  /**
2275
2283
  * Scale X
2276
2284
  * @see https://tailwindcss.com/docs/scale
2277
2285
  */
2278
2286
  "scale-x": [{
2279
- "scale-x": H()
2287
+ "scale-x": se()
2280
2288
  }],
2281
2289
  /**
2282
2290
  * Scale Y
2283
2291
  * @see https://tailwindcss.com/docs/scale
2284
2292
  */
2285
2293
  "scale-y": [{
2286
- "scale-y": H()
2294
+ "scale-y": se()
2287
2295
  }],
2288
2296
  /**
2289
2297
  * Scale Z
2290
2298
  * @see https://tailwindcss.com/docs/scale
2291
2299
  */
2292
2300
  "scale-z": [{
2293
- "scale-z": H()
2301
+ "scale-z": se()
2294
2302
  }],
2295
2303
  /**
2296
2304
  * Scale 3D
@@ -2302,35 +2310,35 @@ const b = (e) => {
2302
2310
  * @see https://tailwindcss.com/docs/skew
2303
2311
  */
2304
2312
  skew: [{
2305
- skew: Q()
2313
+ skew: pe()
2306
2314
  }],
2307
2315
  /**
2308
2316
  * Skew X
2309
2317
  * @see https://tailwindcss.com/docs/skew
2310
2318
  */
2311
2319
  "skew-x": [{
2312
- "skew-x": Q()
2320
+ "skew-x": pe()
2313
2321
  }],
2314
2322
  /**
2315
2323
  * Skew Y
2316
2324
  * @see https://tailwindcss.com/docs/skew
2317
2325
  */
2318
2326
  "skew-y": [{
2319
- "skew-y": Q()
2327
+ "skew-y": pe()
2320
2328
  }],
2321
2329
  /**
2322
2330
  * Transform
2323
2331
  * @see https://tailwindcss.com/docs/transform
2324
2332
  */
2325
2333
  transform: [{
2326
- transform: [t, r, "", "none", "gpu", "cpu"]
2334
+ transform: [i, s, "", "none", "gpu", "cpu"]
2327
2335
  }],
2328
2336
  /**
2329
2337
  * Transform Origin
2330
2338
  * @see https://tailwindcss.com/docs/transform-origin
2331
2339
  */
2332
2340
  "transform-origin": [{
2333
- origin: V()
2341
+ origin: U()
2334
2342
  }],
2335
2343
  /**
2336
2344
  * Transform Style
@@ -2344,28 +2352,28 @@ const b = (e) => {
2344
2352
  * @see https://tailwindcss.com/docs/translate
2345
2353
  */
2346
2354
  translate: [{
2347
- translate: X()
2355
+ translate: ie()
2348
2356
  }],
2349
2357
  /**
2350
2358
  * Translate X
2351
2359
  * @see https://tailwindcss.com/docs/translate
2352
2360
  */
2353
2361
  "translate-x": [{
2354
- "translate-x": X()
2362
+ "translate-x": ie()
2355
2363
  }],
2356
2364
  /**
2357
2365
  * Translate Y
2358
2366
  * @see https://tailwindcss.com/docs/translate
2359
2367
  */
2360
2368
  "translate-y": [{
2361
- "translate-y": X()
2369
+ "translate-y": ie()
2362
2370
  }],
2363
2371
  /**
2364
2372
  * Translate Z
2365
2373
  * @see https://tailwindcss.com/docs/translate
2366
2374
  */
2367
2375
  "translate-z": [{
2368
- "translate-z": X()
2376
+ "translate-z": ie()
2369
2377
  }],
2370
2378
  /**
2371
2379
  * Translate None
@@ -2380,7 +2388,7 @@ const b = (e) => {
2380
2388
  * @see https://tailwindcss.com/docs/accent-color
2381
2389
  */
2382
2390
  accent: [{
2383
- accent: a()
2391
+ accent: c()
2384
2392
  }],
2385
2393
  /**
2386
2394
  * Appearance
@@ -2394,7 +2402,7 @@ const b = (e) => {
2394
2402
  * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
2395
2403
  */
2396
2404
  "caret-color": [{
2397
- caret: a()
2405
+ caret: c()
2398
2406
  }],
2399
2407
  /**
2400
2408
  * Color Scheme
@@ -2408,7 +2416,7 @@ const b = (e) => {
2408
2416
  * @see https://tailwindcss.com/docs/cursor
2409
2417
  */
2410
2418
  cursor: [{
2411
- 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", t, r]
2419
+ 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", i, s]
2412
2420
  }],
2413
2421
  /**
2414
2422
  * Field Sizing
@@ -2443,126 +2451,126 @@ const b = (e) => {
2443
2451
  * @see https://tailwindcss.com/docs/scroll-margin
2444
2452
  */
2445
2453
  "scroll-m": [{
2446
- "scroll-m": d()
2454
+ "scroll-m": u()
2447
2455
  }],
2448
2456
  /**
2449
2457
  * Scroll Margin X
2450
2458
  * @see https://tailwindcss.com/docs/scroll-margin
2451
2459
  */
2452
2460
  "scroll-mx": [{
2453
- "scroll-mx": d()
2461
+ "scroll-mx": u()
2454
2462
  }],
2455
2463
  /**
2456
2464
  * Scroll Margin Y
2457
2465
  * @see https://tailwindcss.com/docs/scroll-margin
2458
2466
  */
2459
2467
  "scroll-my": [{
2460
- "scroll-my": d()
2468
+ "scroll-my": u()
2461
2469
  }],
2462
2470
  /**
2463
2471
  * Scroll Margin Start
2464
2472
  * @see https://tailwindcss.com/docs/scroll-margin
2465
2473
  */
2466
2474
  "scroll-ms": [{
2467
- "scroll-ms": d()
2475
+ "scroll-ms": u()
2468
2476
  }],
2469
2477
  /**
2470
2478
  * Scroll Margin End
2471
2479
  * @see https://tailwindcss.com/docs/scroll-margin
2472
2480
  */
2473
2481
  "scroll-me": [{
2474
- "scroll-me": d()
2482
+ "scroll-me": u()
2475
2483
  }],
2476
2484
  /**
2477
2485
  * Scroll Margin Top
2478
2486
  * @see https://tailwindcss.com/docs/scroll-margin
2479
2487
  */
2480
2488
  "scroll-mt": [{
2481
- "scroll-mt": d()
2489
+ "scroll-mt": u()
2482
2490
  }],
2483
2491
  /**
2484
2492
  * Scroll Margin Right
2485
2493
  * @see https://tailwindcss.com/docs/scroll-margin
2486
2494
  */
2487
2495
  "scroll-mr": [{
2488
- "scroll-mr": d()
2496
+ "scroll-mr": u()
2489
2497
  }],
2490
2498
  /**
2491
2499
  * Scroll Margin Bottom
2492
2500
  * @see https://tailwindcss.com/docs/scroll-margin
2493
2501
  */
2494
2502
  "scroll-mb": [{
2495
- "scroll-mb": d()
2503
+ "scroll-mb": u()
2496
2504
  }],
2497
2505
  /**
2498
2506
  * Scroll Margin Left
2499
2507
  * @see https://tailwindcss.com/docs/scroll-margin
2500
2508
  */
2501
2509
  "scroll-ml": [{
2502
- "scroll-ml": d()
2510
+ "scroll-ml": u()
2503
2511
  }],
2504
2512
  /**
2505
2513
  * Scroll Padding
2506
2514
  * @see https://tailwindcss.com/docs/scroll-padding
2507
2515
  */
2508
2516
  "scroll-p": [{
2509
- "scroll-p": d()
2517
+ "scroll-p": u()
2510
2518
  }],
2511
2519
  /**
2512
2520
  * Scroll Padding X
2513
2521
  * @see https://tailwindcss.com/docs/scroll-padding
2514
2522
  */
2515
2523
  "scroll-px": [{
2516
- "scroll-px": d()
2524
+ "scroll-px": u()
2517
2525
  }],
2518
2526
  /**
2519
2527
  * Scroll Padding Y
2520
2528
  * @see https://tailwindcss.com/docs/scroll-padding
2521
2529
  */
2522
2530
  "scroll-py": [{
2523
- "scroll-py": d()
2531
+ "scroll-py": u()
2524
2532
  }],
2525
2533
  /**
2526
2534
  * Scroll Padding Start
2527
2535
  * @see https://tailwindcss.com/docs/scroll-padding
2528
2536
  */
2529
2537
  "scroll-ps": [{
2530
- "scroll-ps": d()
2538
+ "scroll-ps": u()
2531
2539
  }],
2532
2540
  /**
2533
2541
  * Scroll Padding End
2534
2542
  * @see https://tailwindcss.com/docs/scroll-padding
2535
2543
  */
2536
2544
  "scroll-pe": [{
2537
- "scroll-pe": d()
2545
+ "scroll-pe": u()
2538
2546
  }],
2539
2547
  /**
2540
2548
  * Scroll Padding Top
2541
2549
  * @see https://tailwindcss.com/docs/scroll-padding
2542
2550
  */
2543
2551
  "scroll-pt": [{
2544
- "scroll-pt": d()
2552
+ "scroll-pt": u()
2545
2553
  }],
2546
2554
  /**
2547
2555
  * Scroll Padding Right
2548
2556
  * @see https://tailwindcss.com/docs/scroll-padding
2549
2557
  */
2550
2558
  "scroll-pr": [{
2551
- "scroll-pr": d()
2559
+ "scroll-pr": u()
2552
2560
  }],
2553
2561
  /**
2554
2562
  * Scroll Padding Bottom
2555
2563
  * @see https://tailwindcss.com/docs/scroll-padding
2556
2564
  */
2557
2565
  "scroll-pb": [{
2558
- "scroll-pb": d()
2566
+ "scroll-pb": u()
2559
2567
  }],
2560
2568
  /**
2561
2569
  * Scroll Padding Left
2562
2570
  * @see https://tailwindcss.com/docs/scroll-padding
2563
2571
  */
2564
2572
  "scroll-pl": [{
2565
- "scroll-pl": d()
2573
+ "scroll-pl": u()
2566
2574
  }],
2567
2575
  /**
2568
2576
  * Scroll Snap Align
@@ -2630,7 +2638,7 @@ const b = (e) => {
2630
2638
  * @see https://tailwindcss.com/docs/will-change
2631
2639
  */
2632
2640
  "will-change": [{
2633
- "will-change": ["auto", "scroll", "contents", "transform", t, r]
2641
+ "will-change": ["auto", "scroll", "contents", "transform", i, s]
2634
2642
  }],
2635
2643
  // -----------
2636
2644
  // --- SVG ---
@@ -2640,21 +2648,21 @@ const b = (e) => {
2640
2648
  * @see https://tailwindcss.com/docs/fill
2641
2649
  */
2642
2650
  fill: [{
2643
- fill: ["none", ...a()]
2651
+ fill: ["none", ...c()]
2644
2652
  }],
2645
2653
  /**
2646
2654
  * Stroke Width
2647
2655
  * @see https://tailwindcss.com/docs/stroke-width
2648
2656
  */
2649
2657
  "stroke-w": [{
2650
- stroke: [m, U, T, oe]
2658
+ stroke: [f, te, D, he]
2651
2659
  }],
2652
2660
  /**
2653
2661
  * Stroke
2654
2662
  * @see https://tailwindcss.com/docs/stroke
2655
2663
  */
2656
2664
  stroke: [{
2657
- stroke: ["none", ...a()]
2665
+ stroke: ["none", ...c()]
2658
2666
  }],
2659
2667
  // ---------------------
2660
2668
  // --- Accessibility ---
@@ -2722,40 +2730,40 @@ const b = (e) => {
2722
2730
  },
2723
2731
  orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
2724
2732
  };
2725
- }, mo = /* @__PURE__ */ $e(co);
2726
- function go(...e) {
2727
- return mo(ye(e));
2733
+ }, dr = /* @__PURE__ */ Kt(cr);
2734
+ function ur(...e) {
2735
+ return dr(rt(e));
2728
2736
  }
2729
- const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, we = ye, uo = (e, n) => (o) => {
2730
- var s;
2731
- if ((n == null ? void 0 : n.variants) == null) return we(e, o == null ? void 0 : o.class, o == null ? void 0 : o.className);
2732
- const { variants: l, defaultVariants: c } = n, i = Object.keys(l).map((g) => {
2733
- const f = o == null ? void 0 : o[g], w = c == null ? void 0 : c[g];
2734
- if (f === null) return null;
2735
- const z = xe(f) || xe(w);
2736
- return l[g][z];
2737
- }), p = o && Object.entries(o).reduce((g, f) => {
2738
- let [w, z] = f;
2739
- return z === void 0 || (g[w] = z), g;
2740
- }, {}), u = n == null || (s = n.compoundVariants) === null || s === void 0 ? void 0 : s.reduce((g, f) => {
2741
- let { class: w, className: z, ...R } = f;
2742
- return Object.entries(R).every((y) => {
2743
- let [v, A] = y;
2744
- return Array.isArray(A) ? A.includes({
2745
- ...c,
2746
- ...p
2747
- }[v]) : {
2748
- ...c,
2749
- ...p
2750
- }[v] === A;
2737
+ const je = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ke = rt, ft = (e, t) => (r) => {
2738
+ var o;
2739
+ if ((t == null ? void 0 : t.variants) == null) return Ke(e, r == null ? void 0 : r.class, r == null ? void 0 : r.className);
2740
+ const { variants: n, defaultVariants: a } = t, l = Object.keys(n).map((p) => {
2741
+ const b = r == null ? void 0 : r[p], x = a == null ? void 0 : a[p];
2742
+ if (b === null) return null;
2743
+ const A = je(b) || je(x);
2744
+ return n[p][A];
2745
+ }), g = r && Object.entries(r).reduce((p, b) => {
2746
+ let [x, A] = b;
2747
+ return A === void 0 || (p[x] = A), p;
2748
+ }, {}), d = t == null || (o = t.compoundVariants) === null || o === void 0 ? void 0 : o.reduce((p, b) => {
2749
+ let { class: x, className: A, ...L } = b;
2750
+ return Object.entries(L).every((k) => {
2751
+ let [w, N] = k;
2752
+ return Array.isArray(N) ? N.includes({
2753
+ ...a,
2754
+ ...g
2755
+ }[w]) : {
2756
+ ...a,
2757
+ ...g
2758
+ }[w] === N;
2751
2759
  }) ? [
2752
- ...g,
2753
- w,
2754
- z
2755
- ] : g;
2760
+ ...p,
2761
+ x,
2762
+ A
2763
+ ] : p;
2756
2764
  }, []);
2757
- return we(e, i, u, o == null ? void 0 : o.class, o == null ? void 0 : o.className);
2758
- }, fo = {
2765
+ return Ke(e, l, d, r == null ? void 0 : r.class, r == null ? void 0 : r.className);
2766
+ }, jr = {
2759
2767
  start: "justify-start",
2760
2768
  end: "justify-end",
2761
2769
  center: "justify-center",
@@ -2763,17 +2771,17 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, we = ye, u
2763
2771
  around: "justify-around",
2764
2772
  evenly: "justify-evenly",
2765
2773
  stretch: "justify-stretch"
2766
- }, bo = {
2774
+ }, Kr = {
2767
2775
  start: "items-start",
2768
2776
  end: "items-end",
2769
2777
  center: "items-center",
2770
2778
  baseline: "items-baseline",
2771
2779
  stretch: "items-stretch"
2772
- }, ho = {
2780
+ }, $r = {
2773
2781
  body: "font-general",
2774
2782
  heading: "font-general",
2775
2783
  caption: "font-general"
2776
- }, xo = {
2784
+ }, Hr = {
2777
2785
  xs: "text-xs",
2778
2786
  sm: "text-sm",
2779
2787
  base: "text-base",
@@ -2787,13 +2795,13 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, we = ye, u
2787
2795
  "7xl": "text-7xl",
2788
2796
  "8xl": "text-8xl",
2789
2797
  "9xl": "text-9xl"
2790
- }, wo = {
2798
+ }, Wr = {
2791
2799
  normal: "font-normal",
2792
2800
  medium: "font-medium",
2793
2801
  semibold: "font-semibold",
2794
2802
  bold: "font-bold",
2795
2803
  light: "font-light"
2796
- }, yo = {
2804
+ }, Yr = {
2797
2805
  1: "grid-cols-1",
2798
2806
  2: "grid-cols-2",
2799
2807
  3: "grid-cols-3",
@@ -2803,7 +2811,7 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, we = ye, u
2803
2811
  7: "grid-cols-7",
2804
2812
  8: "grid-cols-8",
2805
2813
  9: "grid-cols-9"
2806
- }, vo = {
2814
+ }, qr = {
2807
2815
  1: "grid-rows-1",
2808
2816
  2: "grid-rows-2",
2809
2817
  3: "grid-rows-3",
@@ -2813,7 +2821,7 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, we = ye, u
2813
2821
  7: "grid-rows-7",
2814
2822
  8: "grid-rows-8",
2815
2823
  9: "grid-rows-9"
2816
- }, ko = {
2824
+ }, Jr = {
2817
2825
  1: "gap-1",
2818
2826
  2: "gap-2",
2819
2827
  3: "gap-3",
@@ -2823,7 +2831,7 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, we = ye, u
2823
2831
  7: "gap-7",
2824
2832
  8: "gap-8",
2825
2833
  9: "gap-9"
2826
- }, zo = uo(
2834
+ }, mr = ft(
2827
2835
  "inline-flex justify-center items-center gap-2 disabled:opacity-50 aria-invalid:border-destructive focus-visible:border-ring rounded-md outline-none aria-invalid:ring-destructive/20 focus-visible:ring-[3px] focus-visible:ring-ring/50 dark:aria-invalid:ring-destructive/40 [&_svg:not([class*='size-'])]:size-4 font-medium text-sm whitespace-nowrap transition-all [&_svg]:pointer-events-none disabled:pointer-events-none shrink-0 [&_svg]:shrink-0",
2828
2836
  {
2829
2837
  variants: {
@@ -2877,16 +2885,626 @@ const xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, we = ye, u
2877
2885
  size: "default"
2878
2886
  }
2879
2887
  }
2888
+ ), Xr = ft(
2889
+ "inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",
2890
+ {
2891
+ variants: {
2892
+ variant: {
2893
+ default: "border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",
2894
+ secondary: "border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",
2895
+ destructive: "border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",
2896
+ outline: "text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"
2897
+ }
2898
+ },
2899
+ defaultVariants: {
2900
+ variant: "default"
2901
+ }
2902
+ }
2880
2903
  );
2904
+ function Qr({
2905
+ className: e,
2906
+ variant: t,
2907
+ size: r,
2908
+ asChild: o = !1,
2909
+ ...n
2910
+ }) {
2911
+ return /* @__PURE__ */ de(
2912
+ o ? Et : "button",
2913
+ {
2914
+ "data-slot": "button",
2915
+ className: ur(mr({ variant: t, size: r, className: e })),
2916
+ ...n,
2917
+ "data-testid": "button"
2918
+ }
2919
+ );
2920
+ }
2921
+ const fr = 10, gr = It(
2922
+ ({
2923
+ children: e,
2924
+ className: t = "",
2925
+ colors: r = ["#FF0080", "#7928CA", "#0070F3", "#38bdf8"],
2926
+ speed: o = 1
2927
+ }) => {
2928
+ const n = {
2929
+ backgroundImage: `linear-gradient(135deg, ${r.join(", ")}, ${r[0]})`,
2930
+ WebkitBackgroundClip: "text",
2931
+ WebkitTextFillColor: "transparent",
2932
+ animationDuration: `${fr / o}s`
2933
+ };
2934
+ return /* @__PURE__ */ At(
2935
+ "span",
2936
+ {
2937
+ className: `
2938
+ relative inline-block
2939
+ ${t}
2940
+ `,
2941
+ "data-testid": "auroraText",
2942
+ children: [
2943
+ /* @__PURE__ */ de("span", { className: "sr-only", children: e }),
2944
+ /* @__PURE__ */ de(
2945
+ "span",
2946
+ {
2947
+ className: `
2948
+ relative animate-aurora bg-clip-text text-transparent
2949
+ bg-[length:200%_auto]
2950
+ `,
2951
+ style: n,
2952
+ "aria-hidden": "true",
2953
+ children: e
2954
+ }
2955
+ )
2956
+ ]
2957
+ }
2958
+ );
2959
+ }
2960
+ );
2961
+ gr.displayName = "AuroraText";
2962
+ var pr = Object.defineProperty, m = (e, t) => pr(e, "name", { value: t, configurable: !0 }), ve = /* @__PURE__ */ new Map(), _e = /* @__PURE__ */ new Map();
2963
+ function Ne(e, t) {
2964
+ return `${e}:${JSON.stringify(t ?? {})}`;
2965
+ }
2966
+ m(Ne, "getFormatterKey");
2967
+ function gt(e) {
2968
+ const t = typeof e == "string" || typeof e == "number" ? new Date(e) : e;
2969
+ return t instanceof Date && !Number.isNaN(t.getTime()) ? t : null;
2970
+ }
2971
+ m(gt, "parseDate");
2972
+ function br(e, t = "en", r) {
2973
+ var a;
2974
+ const o = gt(e);
2975
+ if (!o)
2976
+ return "";
2977
+ const n = Ne(t, r);
2978
+ return ve.has(n) || ve.set(n, new Intl.DateTimeFormat(t, r)), ((a = ve.get(n)) == null ? void 0 : a.format(o)) ?? "";
2979
+ }
2980
+ m(br, "formatDate");
2981
+ function hr(e, t = "en", r) {
2982
+ var n;
2983
+ if (typeof e != "number" || Number.isNaN(e))
2984
+ return "";
2985
+ const o = Ne(t, r);
2986
+ return _e.has(o) || _e.set(o, new Intl.NumberFormat(t, r)), ((n = _e.get(o)) == null ? void 0 : n.format(e)) ?? "";
2987
+ }
2988
+ m(hr, "formatNumber");
2989
+ var me = {
2990
+ defaultLocale: "en",
2991
+ supportedLocales: ["en", "es", "fr", "it", "pt-BR", "pt-PT"],
2992
+ fallbackLocale: "en"
2993
+ };
2994
+ function vr() {
2995
+ return me.supportedLocales;
2996
+ }
2997
+ m(vr, "getSupportedLanguages");
2998
+ function _r() {
2999
+ return me.defaultLocale;
3000
+ }
3001
+ m(_r, "getDefaultLanguage");
3002
+ function xr() {
3003
+ return me.fallbackLocale;
3004
+ }
3005
+ m(xr, "getFallbackLanguage");
3006
+ function kr(e) {
3007
+ return me.supportedLocales.includes(e);
3008
+ }
3009
+ m(kr, "isSupportedLanguage");
3010
+ var V = /* @__PURE__ */ new Map();
3011
+ function wr({
3012
+ value: e,
3013
+ forms: t,
3014
+ lang: r,
3015
+ type: o = "cardinal"
3016
+ }) {
3017
+ if (!bt(e, t))
3018
+ return "";
3019
+ if (e === 0 && t.zero)
3020
+ return Re(t.zero, e);
3021
+ const a = ht(r, o).select(e), l = pt(t, a) ?? t.other ?? Object.values(t)[0];
3022
+ return l ? Re(l, e) : "";
3023
+ }
3024
+ m(wr, "pluralize");
3025
+ function Ie(e, t) {
3026
+ return `${e}:${t}`;
3027
+ }
3028
+ m(Ie, "getPluralRulesKey");
3029
+ var yr = /{count}|#/g;
3030
+ function pt(e, t) {
3031
+ switch (t) {
3032
+ case "zero":
3033
+ return e.zero;
3034
+ case "one":
3035
+ return e.one;
3036
+ case "two":
3037
+ return e.two;
3038
+ case "few":
3039
+ return e.few;
3040
+ case "many":
3041
+ return e.many;
3042
+ case "other":
3043
+ return e.other;
3044
+ default:
3045
+ return;
3046
+ }
3047
+ }
3048
+ m(pt, "selectTemplate");
3049
+ function bt(e, t) {
3050
+ return typeof e == "number" && t && typeof t == "object";
3051
+ }
3052
+ m(bt, "isValidInput");
3053
+ function Re(e, t) {
3054
+ return e.replaceAll(yr, t.toString());
3055
+ }
3056
+ m(Re, "replacePlaceholders");
3057
+ function ht(e, t) {
3058
+ const r = Ie(e, t);
3059
+ if (!V.has(r))
3060
+ try {
3061
+ V.set(r, new Intl.PluralRules(e, { type: t }));
3062
+ } catch {
3063
+ return ue(r, t);
3064
+ }
3065
+ return V.get(r) ?? ue(r, t);
3066
+ }
3067
+ m(ht, "getPluralRules");
3068
+ function ue(e, t) {
3069
+ const r = Ie("en", t);
3070
+ V.has(r) || V.set(r, new Intl.PluralRules("en", { type: t }));
3071
+ const o = V.get(r) ?? ue(r, t);
3072
+ return V.set(e, o), o;
3073
+ }
3074
+ m(ue, "getFallbackPluralRules");
3075
+ var Ae = null;
3076
+ function Rr(e) {
3077
+ Ae = e;
3078
+ }
3079
+ m(Rr, "setTranslationService");
3080
+ function Ee() {
3081
+ if (!Ae)
3082
+ throw new Error(
3083
+ "Translation service not initialized. Make sure to call setTranslationService() first."
3084
+ );
3085
+ return Ae;
3086
+ }
3087
+ m(Ee, "getTranslationService");
3088
+ function vt(e, t) {
3089
+ return t ? e.replace(/\{(\w+)\}/g, (r, o) => t[o] !== void 0 ? String(t[o]) : r) : e;
3090
+ }
3091
+ m(vt, "format");
3092
+ var _t = /* @__PURE__ */ ((e) => (e.AUTH_INVALID_CREDENTIALS = "auth.invalid_credentials", e.AUTH_ACCOUNT_LOCKED = "auth.account_locked", e.AUTH_EMAIL_NOT_VERIFIED = "auth.email_not_verified", e.AUTH_TOKEN_EXPIRED = "auth.token_expired", e.AUTH_TOKEN_INVALID = "auth.token_invalid", e.AUTH_INSUFFICIENT_PERMISSIONS = "auth.insufficient_permissions", e.AUTH_EMAIL_TAKEN = "auth.email_taken", e.AUTH_USERNAME_TAKEN = "auth.username_taken", e.AUTH_WALLET_SIGNATURE_INVALID = "auth.wallet_signature_invalid", e.VALIDATION_ERROR = "validation.error", e.REQUIRED_FIELD_MISSING = "validation.required_field_missing", e.INVALID_FORMAT = "validation.invalid_format", e.INVALID_ENUM_VALUE = "validation.invalid_enum_value", e.STRING_TOO_SHORT = "validation.string_too_short", e.STRING_TOO_LONG = "validation.string_too_long", e.NUMBER_TOO_SMALL = "validation.number_too_small", e.NUMBER_TOO_LARGE = "validation.number_too_large", e.ARRAY_TOO_SHORT = "validation.array_too_short", e.ARRAY_TOO_LONG = "validation.array_too_long", e.FILE_TOO_LARGE = "validation.file_too_large", e.UNSUPPORTED_FILE_TYPE = "validation.unsupported_file_type", e.DB_ENTITY_NOT_FOUND = "database.entity_not_found", e.DB_DUPLICATE_ENTRY = "database.duplicate_entry", e.DB_RELATION_VIOLATION = "database.relation_violation", e.DB_CONNECTION_ERROR = "database.connection_error", e.DB_TRANSACTION_FAILED = "database.transaction_failed", e.BLOCKCHAIN_CONNECTION_ERROR = "blockchain.connection_error", e.TRANSACTION_FAILED = "blockchain.transaction_failed", e.WALLET_CONNECTION_ERROR = "blockchain.wallet_connection_error", e.CONTRACT_INTERACTION_ERROR = "blockchain.contract_interaction_error", e.INSUFFICIENT_FUNDS = "blockchain.insufficient_funds", e.INTERNAL_SERVER_ERROR = "system.internal_server_error", e.SERVICE_UNAVAILABLE = "system.service_unavailable", e.EXTERNAL_SERVICE_ERROR = "system.external_service_error", e.RATE_LIMIT_EXCEEDED = "system.rate_limit_exceeded", e.FEATURE_DISABLED = "system.feature_disabled", e.GENERIC_ERROR = "generic.error", e.NOT_FOUND = "generic.not_found", e.CONFLICT = "generic.conflict", e.TIMEOUT = "generic.timeout", e))(_t || {}), $e = {
3093
+ "auth.invalid_credentials": "errors.auth.invalid_credentials",
3094
+ "auth.account_locked": "errors.auth.account_locked",
3095
+ "auth.email_not_verified": "errors.auth.email_not_verified",
3096
+ "auth.token_expired": "errors.auth.token_expired",
3097
+ "auth.token_invalid": "errors.auth.token_invalid",
3098
+ "auth.insufficient_permissions": "errors.auth.insufficient_permissions",
3099
+ "auth.email_taken": "errors.auth.email_taken",
3100
+ "auth.username_taken": "errors.auth.username_taken",
3101
+ "auth.wallet_signature_invalid": "errors.auth.wallet_signature_invalid"
3102
+ }, He = {
3103
+ "validation.error": "errors.validation.error",
3104
+ "validation.required_field_missing": "errors.validation.required_field_missing",
3105
+ "validation.invalid_format": "errors.validation.invalid_format",
3106
+ "validation.invalid_enum_value": "errors.validation.invalid_enum_value",
3107
+ "validation.string_too_short": "errors.validation.string_too_short",
3108
+ "validation.string_too_long": "errors.validation.string_too_long",
3109
+ "validation.number_too_small": "errors.validation.number_too_small",
3110
+ "validation.number_too_large": "errors.validation.number_too_large",
3111
+ "validation.array_too_short": "errors.validation.array_too_short",
3112
+ "validation.array_too_long": "errors.validation.array_too_long",
3113
+ "validation.file_too_large": "errors.validation.file_too_large",
3114
+ "validation.unsupported_file_type": "errors.validation.unsupported_file_type"
3115
+ }, We = {
3116
+ "database.entity_not_found": "errors.database.entity_not_found",
3117
+ "database.duplicate_entry": "errors.database.duplicate_entry",
3118
+ "database.relation_violation": "errors.database.relation_violation",
3119
+ "database.connection_error": "errors.database.connection_error",
3120
+ "database.transaction_failed": "errors.database.transaction_failed"
3121
+ }, Ye = {
3122
+ "blockchain.connection_error": "errors.blockchain.connection_error",
3123
+ "blockchain.transaction_failed": "errors.blockchain.transaction_failed",
3124
+ "blockchain.wallet_connection_error": "errors.blockchain.wallet_connection_error",
3125
+ "blockchain.contract_interaction_error": "errors.blockchain.contract_interaction_error",
3126
+ "blockchain.insufficient_funds": "errors.blockchain.insufficient_funds"
3127
+ }, qe = {
3128
+ "system.internal_server_error": "errors.system.internal_server_error",
3129
+ "system.service_unavailable": "errors.system.service_unavailable",
3130
+ "system.external_service_error": "errors.system.external_service_error",
3131
+ "system.rate_limit_exceeded": "errors.system.rate_limit_exceeded",
3132
+ "system.feature_disabled": "errors.system.feature_disabled"
3133
+ }, Je = {
3134
+ "generic.error": "errors.general.internal_error",
3135
+ "generic.not_found": "errors.general.not_found",
3136
+ "generic.conflict": "errors.general.conflict",
3137
+ "generic.timeout": "errors.general.timeout"
3138
+ }, Xe = {
3139
+ "auth.invalid_credentials": 401,
3140
+ "auth.account_locked": 423,
3141
+ "auth.email_not_verified": 403,
3142
+ "auth.token_expired": 401,
3143
+ "auth.token_invalid": 401,
3144
+ "auth.insufficient_permissions": 403,
3145
+ "auth.email_taken": 409,
3146
+ "auth.username_taken": 409,
3147
+ "auth.wallet_signature_invalid": 401
3148
+ }, Qe = {
3149
+ "validation.error": 400,
3150
+ "validation.required_field_missing": 400,
3151
+ "validation.invalid_format": 400,
3152
+ "validation.invalid_enum_value": 400,
3153
+ "validation.string_too_short": 400,
3154
+ "validation.string_too_long": 400,
3155
+ "validation.number_too_small": 400,
3156
+ "validation.number_too_large": 400,
3157
+ "validation.array_too_short": 400,
3158
+ "validation.array_too_long": 400,
3159
+ "validation.file_too_large": 400,
3160
+ "validation.unsupported_file_type": 400
3161
+ }, Ze = {
3162
+ "database.entity_not_found": 404,
3163
+ "database.duplicate_entry": 409,
3164
+ "database.relation_violation": 400,
3165
+ "database.connection_error": 503,
3166
+ "database.transaction_failed": 500
3167
+ }, et = {
3168
+ "blockchain.connection_error": 503,
3169
+ "blockchain.transaction_failed": 400,
3170
+ "blockchain.wallet_connection_error": 503,
3171
+ "blockchain.contract_interaction_error": 400,
3172
+ "blockchain.insufficient_funds": 400
3173
+ }, tt = {
3174
+ "system.internal_server_error": 500,
3175
+ "system.service_unavailable": 503,
3176
+ "system.external_service_error": 502,
3177
+ "system.rate_limit_exceeded": 429,
3178
+ "system.feature_disabled": 503
3179
+ }, xe = {
3180
+ "generic.error": 500,
3181
+ "generic.not_found": 404,
3182
+ "generic.conflict": 409,
3183
+ "generic.timeout": 408
3184
+ }, F, R = (F = class extends Error {
3185
+ constructor(r, o = {}) {
3186
+ const { locale: n = "en", params: a, details: l, cause: g } = o, d = Oe(r, n, a);
3187
+ super(d);
3188
+ E(this, "name");
3189
+ E(this, "type");
3190
+ E(this, "code");
3191
+ E(this, "statusCode");
3192
+ E(this, "timestamp");
3193
+ E(this, "details");
3194
+ E(this, "cause");
3195
+ E(this, "correlationId");
3196
+ this.name = this.constructor.name, this.type = r, this.message = d, this.code = r.replace(/\./g, "_").toUpperCase(), this.statusCode = kt(r), this.timestamp = (/* @__PURE__ */ new Date()).toISOString(), this.details = l, this.cause = g, Error.captureStackTrace && Error.captureStackTrace(this, this.constructor);
3197
+ }
3198
+ // Serialization methods
3199
+ toJSON() {
3200
+ return {
3201
+ name: this.name,
3202
+ message: this.message,
3203
+ type: this.type,
3204
+ code: this.code,
3205
+ statusCode: this.statusCode,
3206
+ timestamp: this.timestamp,
3207
+ details: this.details,
3208
+ correlationId: this.correlationId
3209
+ };
3210
+ }
3211
+ // Factory method for creating error from plain object
3212
+ static fromJSON(r) {
3213
+ const o = new F(r.type);
3214
+ return Object.assign(o, r), o;
3215
+ }
3216
+ }, m(F, "BaseError"), F), K, Ar = (K = class extends R {
3217
+ constructor(t, r = {}) {
3218
+ super(t, r);
3219
+ }
3220
+ }, m(K, "ValidationError"), K), $, Er = ($ = class extends R {
3221
+ constructor(t, r = {}) {
3222
+ super(t, r);
3223
+ }
3224
+ }, m($, "AuthError"), $), H;
3225
+ H = class extends R {
3226
+ constructor(t, r = {}) {
3227
+ super(t, r);
3228
+ }
3229
+ }, m(H, "ApiError");
3230
+ var W;
3231
+ W = class extends R {
3232
+ constructor(t, r = {}) {
3233
+ super(t, r);
3234
+ }
3235
+ }, m(W, "BusinessError");
3236
+ var Y, Sr = (Y = class extends R {
3237
+ constructor(t, r = {}) {
3238
+ super(t, r);
3239
+ }
3240
+ }, m(Y, "BlockchainError"), Y), q;
3241
+ q = class extends R {
3242
+ constructor(t = "generic.error", r = {}) {
3243
+ super(t, r);
3244
+ }
3245
+ }, m(q, "GenericError");
3246
+ function Oe(e, t = "en", r) {
3247
+ try {
3248
+ const o = xt(e);
3249
+ return Ee().t(o, {
3250
+ lang: t,
3251
+ interpolation: r,
3252
+ defaultValue: `Error: ${e}`
3253
+ });
3254
+ } catch {
3255
+ return Ee().t("errors.general.internal_error", {
3256
+ lang: t,
3257
+ interpolation: r,
3258
+ defaultValue: "An internal server error occurred"
3259
+ });
3260
+ }
3261
+ }
3262
+ m(Oe, "translateError");
3263
+ function xt(e) {
3264
+ return e in $e ? $e[e] : e in He ? He[e] : e in We ? We[e] : e in Ye ? Ye[e] : e in qe ? qe[e] : e in Je ? Je[e] : "errors.general.internal_error";
3265
+ }
3266
+ m(xt, "getTranslationKeyForErrorType");
3267
+ function kt(e) {
3268
+ return e in Xe ? Xe[e] : e in Qe ? Qe[e] : e in Ze ? Ze[e] : e in et ? et[e] : e in tt ? tt[e] : e in xe ? xe[e] : xe[
3269
+ "system.internal_server_error"
3270
+ /* INTERNAL_SERVER_ERROR */
3271
+ ];
3272
+ }
3273
+ m(kt, "getStatusCodeForType");
3274
+ function Nr(e, t = "en", r) {
3275
+ if (typeof e == "string")
3276
+ return vt(e, r);
3277
+ if (e instanceof R)
3278
+ return e.message;
3279
+ const o = e;
3280
+ return o.type && Object.values(_t).includes(o.type) ? Oe(o.type, t, r) : e.message || "An unknown error occurred";
3281
+ }
3282
+ m(Nr, "formatErrorMessage");
3283
+ function Ir(e, t) {
3284
+ const r = (/* @__PURE__ */ new Date()).toISOString();
3285
+ return e instanceof R ? {
3286
+ statusCode: e.statusCode,
3287
+ errorCode: e.code,
3288
+ message: e.message,
3289
+ correlationId: t ?? e.correlationId,
3290
+ timestamp: e.timestamp || r
3291
+ } : {
3292
+ statusCode: 500,
3293
+ errorCode: "INTERNAL_SERVER_ERROR",
3294
+ message: e.message || "An internal server error occurred",
3295
+ correlationId: t,
3296
+ timestamp: r
3297
+ };
3298
+ }
3299
+ m(Ir, "createErrorResponse");
3300
+ function Or(e, t) {
3301
+ return e instanceof R && e.type === t;
3302
+ }
3303
+ m(Or, "isErrorType");
3304
+ function Cr(e) {
3305
+ return e instanceof Ar || e instanceof R && e.type.startsWith("validation.");
3306
+ }
3307
+ m(Cr, "isValidationError");
3308
+ function Tr(e) {
3309
+ return e instanceof Er || e instanceof R && e.type.startsWith("auth.");
3310
+ }
3311
+ m(Tr, "isAuthError");
3312
+ function Lr(e) {
3313
+ return e instanceof Sr || e instanceof R && e.type.startsWith("blockchain.");
3314
+ }
3315
+ m(Lr, "isBlockchainError");
3316
+ function zr(e) {
3317
+ return e.toJSON();
3318
+ }
3319
+ m(zr, "serializeError");
3320
+ function Mr(e) {
3321
+ return R.fromJSON(e);
3322
+ }
3323
+ m(Mr, "deserializeError");
3324
+ function Pr(e) {
3325
+ return e.map((t) => ({
3326
+ field: t.field,
3327
+ message: t.message,
3328
+ errorCode: "VALIDATION_ERROR",
3329
+ context: {
3330
+ valueGiven: t.value,
3331
+ constraints: t.constraints
3332
+ }
3333
+ }));
3334
+ }
3335
+ m(Pr, "createValidationErrorDetails");
3336
+ var S;
3337
+ S = class {
3338
+ constructor() {
3339
+ E(this, "fallbackLocale");
3340
+ this.fallbackLocale = "en";
3341
+ }
3342
+ /**
3343
+ * Get the singleton instance of LocaleDetector.
3344
+ * @returns {LocaleDetector} The singleton instance.
3345
+ */
3346
+ static getInstance() {
3347
+ return S.instance || (S.instance = new S()), S.instance;
3348
+ }
3349
+ /**
3350
+ * Detect locale using server-side request or client-side settings.
3351
+ * @param {any} [request] - Optional server request object.
3352
+ * @returns {string} Detected locale string.
3353
+ */
3354
+ detectLocale(t) {
3355
+ return t ? this.detectFromRequest(t) : this.fallbackLocale;
3356
+ }
3357
+ /**
3358
+ * Detect locale from a server request (query, headers, cookies).
3359
+ * @param {any} request - Server request object.
3360
+ * @returns {string} Detected locale string.
3361
+ * @private
3362
+ */
3363
+ detectFromRequest(t) {
3364
+ var a, l, g;
3365
+ const r = (a = t.url.split("?")[1]) == null ? void 0 : a.split("=")[1], o = t.headers.get("accept-language"), n = (g = (l = t.headers.get("cookie")) == null ? void 0 : l.split("; ").find((d) => d.startsWith("locale="))) == null ? void 0 : g.split("=")[1];
3366
+ return r ?? n ?? this.parseAcceptLanguage(o ?? "") ?? this.fallbackLocale;
3367
+ }
3368
+ /**
3369
+ * Parse Accept-Language header and return the highest priority language.
3370
+ * @param {string} header - Accept-Language header value.
3371
+ * @returns {string|null} Best language or null.
3372
+ * @private
3373
+ */
3374
+ parseAcceptLanguage(t) {
3375
+ if (!t)
3376
+ return null;
3377
+ let r = null, o = 0;
3378
+ for (const n of t.split(",")) {
3379
+ const { lang: a, q: l } = this.parseLangAndQ(n.trim());
3380
+ if (l > o && (o = l, r = a, l === 1))
3381
+ break;
3382
+ }
3383
+ return r;
3384
+ }
3385
+ parseLangAndQ(t) {
3386
+ const r = t.indexOf(";"), o = r === -1 ? t : t.slice(0, Math.max(0, r));
3387
+ let n = 1;
3388
+ if (r !== -1) {
3389
+ const a = /q=(?<q>[\d.]+)/.exec(t.slice(r + 1));
3390
+ n = a != null && a.groups ? Number.parseFloat(a.groups.q) || 0 : 1;
3391
+ }
3392
+ return { lang: o, q: n };
3393
+ }
3394
+ /**
3395
+ * Set the fallback locale.
3396
+ * @param {string} locale - Fallback locale string.
3397
+ * @internal
3398
+ */
3399
+ setFallbackLocale(t) {
3400
+ this.fallbackLocale = t;
3401
+ }
3402
+ }, m(S, "LocaleDetector"), E(S, "instance");
3403
+ var J;
3404
+ J = class {
3405
+ constructor(t) {
3406
+ E(this, "namespaces");
3407
+ this.namespaces = t ? new Map(t) : /* @__PURE__ */ new Map();
3408
+ }
3409
+ /**
3410
+ * Add a namespace with its translations.
3411
+ * @param {string} name - Namespace name.
3412
+ * @param {Record<string, string>} translations - Translation key-value pairs.
3413
+ * @throws {Error} If the namespace name is invalid.
3414
+ */
3415
+ addNamespace(t, r) {
3416
+ if (!wt(t))
3417
+ throw new Error("Invalid namespace name");
3418
+ this.namespaces.set(t, r);
3419
+ }
3420
+ /**
3421
+ * Get a namespace by name.
3422
+ * @param {string} name - Namespace name.
3423
+ * @returns {Record<string, string> | undefined} Namespace translations or undefined.
3424
+ */
3425
+ getNamespace(t) {
3426
+ return this.namespaces.get(t);
3427
+ }
3428
+ /**
3429
+ * Get all namespace names.
3430
+ * @returns {string[]} Array of namespace names.
3431
+ */
3432
+ getAllNamespaces() {
3433
+ return [...this.namespaces.keys()];
3434
+ }
3435
+ /**
3436
+ * Merge two namespaces into the target.
3437
+ * @param {string} target - Target namespace name.
3438
+ * @param {string} source - Source namespace name.
3439
+ */
3440
+ mergeNamespaces(t, r) {
3441
+ const o = this.namespaces.get(t) ?? {}, n = this.namespaces.get(r) ?? {};
3442
+ this.namespaces.set(t, { ...o, ...n });
3443
+ }
3444
+ /**
3445
+ * Validate a namespace against a schema.
3446
+ * @param {string} name - Namespace name.
3447
+ * @param {Record<string, string>} [schema] - Optional schema to validate against.
3448
+ * @returns {boolean} True if valid, false otherwise.
3449
+ */
3450
+ validateNamespace(t, r) {
3451
+ const o = this.namespaces.get(t);
3452
+ return o ? r ? Object.entries(r).every(([n, a]) => {
3453
+ var g;
3454
+ const l = (g = Object.getOwnPropertyDescriptor(o, n)) == null ? void 0 : g.value;
3455
+ return l !== void 0 && typeof l === a;
3456
+ }) : !0 : !1;
3457
+ }
3458
+ }, m(J, "NamespaceManager");
3459
+ function wt(e) {
3460
+ return /^\w+$/.test(e);
3461
+ }
3462
+ m(wt, "isSafeKey");
3463
+ var Dr = [
3464
+ "a",
3465
+ "button",
3466
+ "div",
3467
+ "form",
3468
+ "h2",
3469
+ "h3",
3470
+ "img",
3471
+ "input",
3472
+ "label",
3473
+ "li",
3474
+ "nav",
3475
+ "ol",
3476
+ "p",
3477
+ "select",
3478
+ "span",
3479
+ "svg",
3480
+ "ul"
3481
+ ], Zr = Dr.reduce((e, t) => {
3482
+ const r = St(`Primitive.${t}`), o = Nt.forwardRef((n, a) => {
3483
+ const { asChild: l, ...g } = n, d = l ? r : t;
3484
+ return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ de(d, { ...g, ref: a });
3485
+ });
3486
+ return o.displayName = `Primitive.${t}`, { ...e, [t]: o };
3487
+ }, {});
3488
+ function eo(e, t) {
3489
+ e && Ot.flushSync(() => e.dispatchEvent(t));
3490
+ }
2881
3491
  export {
2882
- bo as A,
2883
- yo as C,
2884
- ko as G,
2885
- fo as J,
2886
- vo as R,
2887
- xo as S,
2888
- wo as T,
2889
- ho as V,
2890
- zo as b,
2891
- go as c
3492
+ Kr as A,
3493
+ Qr as B,
3494
+ Yr as C,
3495
+ Jr as G,
3496
+ jr as J,
3497
+ Zr as P,
3498
+ qr as R,
3499
+ Hr as S,
3500
+ Wr as T,
3501
+ $r as V,
3502
+ hr as a,
3503
+ ft as b,
3504
+ ur as c,
3505
+ Xr as d,
3506
+ mr as e,
3507
+ br as f,
3508
+ gr as g,
3509
+ eo as h
2892
3510
  };