reactjs-tiptap-editor 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (156) hide show
  1. package/lib/{ActionMenuButton-DgjFjzC8.js → ActionMenuButton-BFepb5pA.js} +11 -11
  2. package/lib/{ActionMenuButton-BRWFTb3V.cjs → ActionMenuButton-BjQpCWBy.cjs} +1 -1
  3. package/lib/Attachment.cjs +1 -1
  4. package/lib/Attachment.js +4 -4
  5. package/lib/Blockquote.cjs +1 -1
  6. package/lib/Blockquote.js +3 -3
  7. package/lib/Bold.cjs +1 -1
  8. package/lib/Bold.js +3 -3
  9. package/lib/BulletList.cjs +1 -1
  10. package/lib/BulletList.js +3 -3
  11. package/lib/Clear.cjs +1 -1
  12. package/lib/Clear.js +2 -2
  13. package/lib/Code.cjs +1 -1
  14. package/lib/Code.js +3 -3
  15. package/lib/CodeBlock.cjs +39 -39
  16. package/lib/CodeBlock.js +841 -949
  17. package/lib/CodeView.cjs +1 -1
  18. package/lib/CodeView.js +3 -3
  19. package/lib/Color.cjs +1 -1
  20. package/lib/Color.js +5 -5
  21. package/lib/Column.cjs +1 -1
  22. package/lib/Column.js +3 -3
  23. package/lib/{Drawer-DNnkwfnI.js → Drawer-CJju6ecy.js} +14 -14
  24. package/lib/{Drawer-1_PmP-H0.cjs → Drawer-CSueBqcB.cjs} +1 -1
  25. package/lib/Drawer.cjs +1 -1
  26. package/lib/Drawer.js +1 -1
  27. package/lib/Emoji.cjs +1 -1
  28. package/lib/Emoji.js +13 -13
  29. package/lib/{Excalidraw-StBAUhjt.js → Excalidraw-C6LNBBPI.js} +19 -19
  30. package/lib/{Excalidraw-DreGyrmJ.cjs → Excalidraw-sf65kOJo.cjs} +1 -1
  31. package/lib/Excalidraw.cjs +1 -1
  32. package/lib/Excalidraw.js +1 -1
  33. package/lib/ExportPdf.cjs +1 -1
  34. package/lib/ExportPdf.js +3 -3
  35. package/lib/ExportWord.cjs +1 -1
  36. package/lib/ExportWord.js +3 -3
  37. package/lib/FontFamily.cjs +1 -1
  38. package/lib/FontFamily.js +5 -5
  39. package/lib/FontSize.cjs +1 -1
  40. package/lib/FontSize.js +5 -5
  41. package/lib/Heading.cjs +1 -1
  42. package/lib/Heading.js +13 -13
  43. package/lib/Highlight.cjs +1 -1
  44. package/lib/Highlight.js +5 -5
  45. package/lib/History.cjs +1 -1
  46. package/lib/History.js +3 -3
  47. package/lib/HorizontalRule.cjs +1 -1
  48. package/lib/HorizontalRule.js +3 -3
  49. package/lib/{Icon-B9hI3gal.cjs → Icon-CJomacaQ.cjs} +1 -1
  50. package/lib/{Icon-D3AdnMCj.js → Icon-CNyAQ70L.js} +1 -1
  51. package/lib/{Iframe-BDm-w-lg.cjs → Iframe-CkoadzVT.cjs} +1 -1
  52. package/lib/{Iframe-BIgQtyZo.js → Iframe-DjIPMesT.js} +11 -11
  53. package/lib/Iframe.cjs +1 -1
  54. package/lib/Iframe.js +1 -1
  55. package/lib/Image.cjs +1 -1
  56. package/lib/Image.js +45 -45
  57. package/lib/ImageGif.cjs +1 -1
  58. package/lib/ImageGif.js +8 -8
  59. package/lib/ImportWord.cjs +2 -2
  60. package/lib/ImportWord.js +8 -8
  61. package/lib/{Indent-BzyTbroV.cjs → Indent-08e09DMj.cjs} +1 -1
  62. package/lib/{Indent-CnPAv7eT.js → Indent-UDnZAurv.js} +3 -3
  63. package/lib/Indent.cjs +1 -1
  64. package/lib/Indent.js +1 -1
  65. package/lib/Italic.cjs +1 -1
  66. package/lib/Italic.js +3 -3
  67. package/lib/{Katex-D-SUWkkU.js → Katex-CXa45tyK.js} +19 -19
  68. package/lib/{Katex-BE_GROI2.cjs → Katex-zmcrp9k1.cjs} +2 -2
  69. package/lib/Katex.cjs +1 -1
  70. package/lib/Katex.js +1 -1
  71. package/lib/LineHeight.cjs +1 -1
  72. package/lib/LineHeight.js +13 -13
  73. package/lib/Link.cjs +1 -1
  74. package/lib/Link.js +1 -1
  75. package/lib/{LinkEditBlock-DcxIMK_D.js → LinkEditBlock-CB8dAmrf.js} +333 -324
  76. package/lib/{LinkEditBlock-5NRB9DRC.cjs → LinkEditBlock-Dif8KmZQ.cjs} +3 -3
  77. package/lib/Mermaid.cjs +2 -2
  78. package/lib/Mermaid.js +21 -20
  79. package/lib/MoreMark.cjs +1 -1
  80. package/lib/MoreMark.js +12 -12
  81. package/lib/OrderedList.cjs +1 -1
  82. package/lib/OrderedList.js +3 -3
  83. package/lib/SearchAndReplace.cjs +1 -1
  84. package/lib/SearchAndReplace.js +16 -16
  85. package/lib/SlashCommand.cjs +1 -1
  86. package/lib/SlashCommand.js +11 -11
  87. package/lib/Strike.cjs +1 -1
  88. package/lib/Strike.js +3 -3
  89. package/lib/{Table-BYg26eMf.cjs → Table-BahHb0Ru.cjs} +1 -1
  90. package/lib/{Table-DtC2-bqx.js → Table-BnhgS_-w.js} +5 -5
  91. package/lib/Table.cjs +1 -1
  92. package/lib/Table.js +1 -1
  93. package/lib/TaskList.cjs +1 -1
  94. package/lib/TaskList.js +3 -3
  95. package/lib/TextAlign.cjs +1 -1
  96. package/lib/TextAlign.js +15 -15
  97. package/lib/TextDirection.cjs +1 -1
  98. package/lib/TextDirection.js +15 -15
  99. package/lib/TextUnderline.cjs +1 -1
  100. package/lib/TextUnderline.js +3 -3
  101. package/lib/{Twitter-DJ6JzZPJ.cjs → Twitter-BWmvba2p.cjs} +1 -1
  102. package/lib/{Twitter-B3n8vc45.js → Twitter-Cb2gasLV.js} +18 -18
  103. package/lib/Twitter.cjs +1 -1
  104. package/lib/Twitter.js +1 -1
  105. package/lib/Video.cjs +1 -1
  106. package/lib/Video.js +23 -23
  107. package/lib/bubble.cjs +4 -4
  108. package/lib/bubble.js +1039 -993
  109. package/lib/{button-DHZeIKzF.js → button-CG4usMxR.js} +1 -1
  110. package/lib/{button-BTnV4TZ7.cjs → button-CIneI3CY.cjs} +1 -1
  111. package/lib/{checkbox-Dm8Nfwg8.js → checkbox-C_n_ksgm.js} +1 -1
  112. package/lib/{checkbox-BoBTXwkF.cjs → checkbox-D71Mb18N.cjs} +1 -1
  113. package/lib/{dialog-DXF2Q8LZ.cjs → dialog-DOqHbj83.cjs} +1 -1
  114. package/lib/{dialog-xrO7nV_z.js → dialog-NJmA61GX.js} +1 -1
  115. package/lib/{dropdown-menu-Bh-wEgI8.cjs → dropdown-menu-C6sUfvGJ.cjs} +1 -1
  116. package/lib/{dropdown-menu-ByeBPPyv.js → dropdown-menu-Lfbfr4dW.js} +1 -1
  117. package/lib/extensions/Link/components/LinkEditBlock.d.ts +1 -0
  118. package/lib/index-B7WkxZXU.cjs +7 -0
  119. package/lib/{index-ClAEwR0V.js → index-BY7ivGJJ.js} +483 -370
  120. package/lib/index-D4d-0Hqh.cjs +1 -0
  121. package/lib/{index-CEbbM7Gx.js → index-DGihe-wH.js} +6 -0
  122. package/lib/index.cjs +1 -1
  123. package/lib/index.js +2 -2
  124. package/lib/{input-U-XBy56K.js → input-BP2Gxw3D.js} +1 -1
  125. package/lib/{input-CadAYBdT.cjs → input-gHDudt4e.cjs} +1 -1
  126. package/lib/{label-C09fAh5p.cjs → label-CVPLC4Zx.cjs} +1 -1
  127. package/lib/{label-23SJWQ49.js → label-DJJuWtqE.js} +1 -1
  128. package/lib/locale-bundle.cjs +1 -1
  129. package/lib/locale-bundle.js +1 -1
  130. package/lib/locales/en.d.ts +1 -0
  131. package/lib/locales/fi.d.ts +1 -0
  132. package/lib/locales/hu.d.ts +1 -0
  133. package/lib/locales/index.d.ts +30 -0
  134. package/lib/locales/pt-br.d.ts +1 -0
  135. package/lib/locales/vi.d.ts +1 -0
  136. package/lib/locales/zh-cn.d.ts +1 -0
  137. package/lib/{popover-ydZ2mHXy.js → popover-BvQjtkQM.js} +1 -1
  138. package/lib/{popover-C64cn4Pd.cjs → popover-MfEQQFJ7.cjs} +1 -1
  139. package/lib/{separator-BoKhvBG9.cjs → separator-BJzi4Ghx.cjs} +1 -1
  140. package/lib/{separator-DqqiRHfY.js → separator-D_v6CJRt.js} +18 -18
  141. package/lib/{store-BPiGnThe.cjs → store-D0HwYEZ6.cjs} +1 -1
  142. package/lib/{store-Cu0gDf4G.js → store-DXwTyDFS.js} +1 -1
  143. package/lib/style.css +1 -1
  144. package/lib/{tabs-BiYU230B.js → tabs-C0zcytw3.js} +1 -1
  145. package/lib/{tabs-DebGjFBg.cjs → tabs-CSLPqYK2.cjs} +1 -1
  146. package/lib/{textarea-BIkB9h_0.cjs → textarea-CoUGzfC4.cjs} +1 -1
  147. package/lib/{textarea--_-Ve3AB.js → textarea-Du5WiLd3.js} +1 -1
  148. package/lib/{toggle-BWfca8kh.cjs → toggle-Bdrb8AZg.cjs} +1 -1
  149. package/lib/{toggle-Crvm3Tcn.js → toggle-DifEFalS.js} +10 -10
  150. package/lib/{tooltip-D_0vo9Xj.js → tooltip-CY18LQet.js} +1 -1
  151. package/lib/{tooltip-9jtsGIcX.cjs → tooltip-nFyTogij.cjs} +1 -1
  152. package/lib/{useButtonProps-DJ51kDtM.cjs → useButtonProps-5aSfh81v.cjs} +1 -1
  153. package/lib/{useButtonProps--5ytUuGi.js → useButtonProps-DEuoHLy_.js} +2 -2
  154. package/package.json +1 -1
  155. package/lib/index-B0fWAhpK.cjs +0 -1
  156. package/lib/index-DM3mpxB-.cjs +0 -7
@@ -1,44 +1,47 @@
1
- import { C as Ee } from "./index-nFjllrEl.js";
2
- import { jsx as M, Fragment as X, jsxs as ze } from "react/jsx-runtime";
3
- import { useCallback as E, useState as Ae, useEffect as k, useRef as Q, createContext as ke, useContext as Re, useSyncExternalStore as Me, memo as Pe } from "react";
4
- import { x as Ne, a as Ge } from "./index-CEbbM7Gx.js";
5
- import { THEME as le } from "./theme.js";
6
- import { l as _, E as W } from "./events.constant-CBPIqO_g.js";
7
- const Z = "-", Te = (e) => {
8
- const r = Le(e), {
1
+ import { jsxs as V, jsx as m, Fragment as te } from "react/jsx-runtime";
2
+ import * as P from "react";
3
+ import { useCallback as N, useState as Me, useEffect as k, useRef as X, createContext as Pe, useContext as Te, useSyncExternalStore as Ge, memo as Le } from "react";
4
+ import * as y from "@radix-ui/react-select";
5
+ import { ChevronDown as xe, ChevronUp as je, Check as Oe } from "lucide-react";
6
+ import { C as $e } from "./index-nFjllrEl.js";
7
+ import { x as _e, a as Be } from "./index-DGihe-wH.js";
8
+ import { THEME as pe } from "./theme.js";
9
+ import { l as W, E as F } from "./events.constant-CBPIqO_g.js";
10
+ const re = "-", Ue = (e) => {
11
+ const r = Fe(e), {
9
12
  conflictingClassGroups: t,
10
13
  conflictingClassGroupModifiers: o
11
14
  } = e;
12
15
  return {
13
16
  getClassGroupId: (a) => {
14
- const s = a.split(Z);
15
- return s[0] === "" && s.length !== 1 && s.shift(), ge(s, r) || Ie(a);
17
+ const s = a.split(re);
18
+ return s[0] === "" && s.length !== 1 && s.shift(), ye(s, r) || We(a);
16
19
  },
17
20
  getConflictingClassGroupIds: (a, s) => {
18
- const c = t[a] || [];
19
- return s && o[a] ? [...c, ...o[a]] : c;
21
+ const l = t[a] || [];
22
+ return s && o[a] ? [...l, ...o[a]] : l;
20
23
  }
21
24
  };
22
- }, ge = (e, r) => {
25
+ }, ye = (e, r) => {
23
26
  var a;
24
27
  if (e.length === 0)
25
28
  return r.classGroupId;
26
- const t = e[0], o = r.nextPart.get(t), i = o ? ge(e.slice(1), o) : void 0;
29
+ const t = e[0], o = r.nextPart.get(t), i = o ? ye(e.slice(1), o) : void 0;
27
30
  if (i)
28
31
  return i;
29
32
  if (r.validators.length === 0)
30
33
  return;
31
- const n = e.join(Z);
34
+ const n = e.join(re);
32
35
  return (a = r.validators.find(({
33
36
  validator: s
34
37
  }) => s(n))) == null ? void 0 : a.classGroupId;
35
- }, ce = /^\[(.+)\]$/, Ie = (e) => {
36
- if (ce.test(e)) {
37
- const r = ce.exec(e)[1], t = r == null ? void 0 : r.substring(0, r.indexOf(":"));
38
+ }, fe = /^\[(.+)\]$/, We = (e) => {
39
+ if (fe.test(e)) {
40
+ const r = fe.exec(e)[1], t = r == null ? void 0 : r.substring(0, r.indexOf(":"));
38
41
  if (t)
39
42
  return "arbitrary.." + t;
40
43
  }
41
- }, Le = (e) => {
44
+ }, Fe = (e) => {
42
45
  const {
43
46
  theme: r,
44
47
  prefix: t
@@ -46,19 +49,19 @@ const Z = "-", Te = (e) => {
46
49
  nextPart: /* @__PURE__ */ new Map(),
47
50
  validators: []
48
51
  };
49
- return Oe(Object.entries(e.classGroups), t).forEach(([n, a]) => {
50
- Y(a, o, n, r);
52
+ return He(Object.entries(e.classGroups), t).forEach(([n, a]) => {
53
+ Z(a, o, n, r);
51
54
  }), o;
52
- }, Y = (e, r, t, o) => {
55
+ }, Z = (e, r, t, o) => {
53
56
  e.forEach((i) => {
54
57
  if (typeof i == "string") {
55
- const n = i === "" ? r : de(r, i);
58
+ const n = i === "" ? r : he(r, i);
56
59
  n.classGroupId = t;
57
60
  return;
58
61
  }
59
62
  if (typeof i == "function") {
60
- if (je(i)) {
61
- Y(i(o), r, t, o);
63
+ if (Ve(i)) {
64
+ Z(i(o), r, t, o);
62
65
  return;
63
66
  }
64
67
  r.validators.push({
@@ -68,21 +71,21 @@ const Z = "-", Te = (e) => {
68
71
  return;
69
72
  }
70
73
  Object.entries(i).forEach(([n, a]) => {
71
- Y(a, de(r, n), t, o);
74
+ Z(a, he(r, n), t, o);
72
75
  });
73
76
  });
74
- }, de = (e, r) => {
77
+ }, he = (e, r) => {
75
78
  let t = e;
76
- return r.split(Z).forEach((o) => {
79
+ return r.split(re).forEach((o) => {
77
80
  t.nextPart.has(o) || t.nextPart.set(o, {
78
81
  nextPart: /* @__PURE__ */ new Map(),
79
82
  validators: []
80
83
  }), t = t.nextPart.get(o);
81
84
  }), t;
82
- }, je = (e) => e.isThemeGetter, Oe = (e, r) => r ? e.map(([t, o]) => {
85
+ }, Ve = (e) => e.isThemeGetter, He = (e, r) => r ? e.map(([t, o]) => {
83
86
  const i = o.map((n) => typeof n == "string" ? r + n : typeof n == "object" ? Object.fromEntries(Object.entries(n).map(([a, s]) => [r + a, s])) : n);
84
87
  return [t, i];
85
- }) : e, $e = (e) => {
88
+ }) : e, qe = (e) => {
86
89
  if (e < 1)
87
90
  return {
88
91
  get: () => {
@@ -106,40 +109,40 @@ const Z = "-", Te = (e) => {
106
109
  t.has(n) ? t.set(n, a) : i(n, a);
107
110
  }
108
111
  };
109
- }, be = "!", _e = (e) => {
112
+ }, we = "!", Je = (e) => {
110
113
  const {
111
114
  separator: r,
112
115
  experimentalParseClassName: t
113
116
  } = e, o = r.length === 1, i = r[0], n = r.length, a = (s) => {
114
- const c = [];
117
+ const l = [];
115
118
  let u = 0, p = 0, f;
116
- for (let h = 0; h < s.length; h++) {
117
- let w = s[h];
119
+ for (let x = 0; x < s.length; x++) {
120
+ let v = s[x];
118
121
  if (u === 0) {
119
- if (w === i && (o || s.slice(h, h + n) === r)) {
120
- c.push(s.slice(p, h)), p = h + n;
122
+ if (v === i && (o || s.slice(x, x + n) === r)) {
123
+ l.push(s.slice(p, x)), p = x + n;
121
124
  continue;
122
125
  }
123
- if (w === "/") {
124
- f = h;
126
+ if (v === "/") {
127
+ f = x;
125
128
  continue;
126
129
  }
127
130
  }
128
- w === "[" ? u++ : w === "]" && u--;
131
+ v === "[" ? u++ : v === "]" && u--;
129
132
  }
130
- const d = c.length === 0 ? s : s.substring(p), m = d.startsWith(be), y = m ? d.substring(1) : d, x = f && f > p ? f - p : void 0;
133
+ const d = l.length === 0 ? s : s.substring(p), b = d.startsWith(we), S = b ? d.substring(1) : d, w = f && f > p ? f - p : void 0;
131
134
  return {
132
- modifiers: c,
133
- hasImportantModifier: m,
134
- baseClassName: y,
135
- maybePostfixModifierPosition: x
135
+ modifiers: l,
136
+ hasImportantModifier: b,
137
+ baseClassName: S,
138
+ maybePostfixModifierPosition: w
136
139
  };
137
140
  };
138
141
  return t ? (s) => t({
139
142
  className: s,
140
143
  parseClassName: a
141
144
  }) : a;
142
- }, We = (e) => {
145
+ }, Qe = (e) => {
143
146
  if (e.length <= 1)
144
147
  return e;
145
148
  const r = [];
@@ -147,122 +150,122 @@ const Z = "-", Te = (e) => {
147
150
  return e.forEach((o) => {
148
151
  o[0] === "[" ? (r.push(...t.sort(), o), t = []) : t.push(o);
149
152
  }), r.push(...t.sort()), r;
150
- }, Fe = (e) => ({
151
- cache: $e(e.cacheSize),
152
- parseClassName: _e(e),
153
- ...Te(e)
154
- }), He = /\s+/, Be = (e, r) => {
153
+ }, Ye = (e) => ({
154
+ cache: qe(e.cacheSize),
155
+ parseClassName: Je(e),
156
+ ...Ue(e)
157
+ }), De = /\s+/, Ke = (e, r) => {
155
158
  const {
156
159
  parseClassName: t,
157
160
  getClassGroupId: o,
158
161
  getConflictingClassGroupIds: i
159
- } = r, n = [], a = e.trim().split(He);
162
+ } = r, n = [], a = e.trim().split(De);
160
163
  let s = "";
161
- for (let c = a.length - 1; c >= 0; c -= 1) {
162
- const u = a[c], {
164
+ for (let l = a.length - 1; l >= 0; l -= 1) {
165
+ const u = a[l], {
163
166
  modifiers: p,
164
167
  hasImportantModifier: f,
165
168
  baseClassName: d,
166
- maybePostfixModifierPosition: m
169
+ maybePostfixModifierPosition: b
167
170
  } = t(u);
168
- let y = !!m, x = o(y ? d.substring(0, m) : d);
169
- if (!x) {
170
- if (!y) {
171
+ let S = !!b, w = o(S ? d.substring(0, b) : d);
172
+ if (!w) {
173
+ if (!S) {
171
174
  s = u + (s.length > 0 ? " " + s : s);
172
175
  continue;
173
176
  }
174
- if (x = o(d), !x) {
177
+ if (w = o(d), !w) {
175
178
  s = u + (s.length > 0 ? " " + s : s);
176
179
  continue;
177
180
  }
178
- y = !1;
181
+ S = !1;
179
182
  }
180
- const h = We(p).join(":"), w = f ? h + be : h, v = w + x;
181
- if (n.includes(v))
183
+ const x = Qe(p).join(":"), v = f ? x + we : x, C = v + w;
184
+ if (n.includes(C))
182
185
  continue;
183
- n.push(v);
184
- const G = i(x, y);
185
- for (let R = 0; R < G.length; ++R) {
186
- const j = G[R];
187
- n.push(w + j);
186
+ n.push(C);
187
+ const L = i(w, S);
188
+ for (let M = 0; M < L.length; ++M) {
189
+ const _ = L[M];
190
+ n.push(v + _);
188
191
  }
189
192
  s = u + (s.length > 0 ? " " + s : s);
190
193
  }
191
194
  return s;
192
195
  };
193
- function Ue() {
196
+ function Xe() {
194
197
  let e = 0, r, t, o = "";
195
198
  for (; e < arguments.length; )
196
- (r = arguments[e++]) && (t = me(r)) && (o && (o += " "), o += t);
199
+ (r = arguments[e++]) && (t = ve(r)) && (o && (o += " "), o += t);
197
200
  return o;
198
201
  }
199
- const me = (e) => {
202
+ const ve = (e) => {
200
203
  if (typeof e == "string")
201
204
  return e;
202
205
  let r, t = "";
203
206
  for (let o = 0; o < e.length; o++)
204
- e[o] && (r = me(e[o])) && (t && (t += " "), t += r);
207
+ e[o] && (r = ve(e[o])) && (t && (t += " "), t += r);
205
208
  return t;
206
209
  };
207
- function Ve(e, ...r) {
210
+ function Ze(e, ...r) {
208
211
  let t, o, i, n = a;
209
- function a(c) {
212
+ function a(l) {
210
213
  const u = r.reduce((p, f) => f(p), e());
211
- return t = Fe(u), o = t.cache.get, i = t.cache.set, n = s, s(c);
214
+ return t = Ye(u), o = t.cache.get, i = t.cache.set, n = s, s(l);
212
215
  }
213
- function s(c) {
214
- const u = o(c);
216
+ function s(l) {
217
+ const u = o(l);
215
218
  if (u)
216
219
  return u;
217
- const p = Be(c, t);
218
- return i(c, p), p;
220
+ const p = Ke(l, t);
221
+ return i(l, p), p;
219
222
  }
220
223
  return function() {
221
- return n(Ue.apply(null, arguments));
224
+ return n(Xe.apply(null, arguments));
222
225
  };
223
226
  }
224
- const g = (e) => {
227
+ const h = (e) => {
225
228
  const r = (t) => t[e] || [];
226
229
  return r.isThemeGetter = !0, r;
227
- }, he = /^\[(?:([a-z-]+):)?(.+)\]$/i, qe = /^\d+\/\d+$/, Je = /* @__PURE__ */ new Set(["px", "full", "screen"]), Qe = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Ye = /\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$/, Ke = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, Xe = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Ze = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, S = (e) => P(e) || Je.has(e) || qe.test(e), z = (e) => N(e, "length", ir), P = (e) => !!e && !Number.isNaN(Number(e)), V = (e) => N(e, "number", P), I = (e) => !!e && Number.isInteger(Number(e)), De = (e) => e.endsWith("%") && P(e.slice(0, -1)), l = (e) => he.test(e), A = (e) => Qe.test(e), er = /* @__PURE__ */ new Set(["length", "size", "percentage"]), rr = (e) => N(e, er, xe), tr = (e) => N(e, "position", xe), or = /* @__PURE__ */ new Set(["image", "url"]), nr = (e) => N(e, or, lr), sr = (e) => N(e, "", ar), L = () => !0, N = (e, r, t) => {
228
- const o = he.exec(e);
230
+ }, Se = /^\[(?:([a-z-]+):)?(.+)\]$/i, et = /^\d+\/\d+$/, tt = /* @__PURE__ */ new Set(["px", "full", "screen"]), rt = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, ot = /\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$/, nt = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, st = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, it = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, z = (e) => T(e) || tt.has(e) || et.test(e), R = (e) => G(e, "length", ht), T = (e) => !!e && !Number.isNaN(Number(e)), Y = (e) => G(e, "number", T), O = (e) => !!e && Number.isInteger(Number(e)), at = (e) => e.endsWith("%") && T(e.slice(0, -1)), c = (e) => Se.test(e), A = (e) => rt.test(e), ct = /* @__PURE__ */ new Set(["length", "size", "percentage"]), lt = (e) => G(e, ct, Ce), dt = (e) => G(e, "position", Ce), ut = /* @__PURE__ */ new Set(["image", "url"]), pt = (e) => G(e, ut, bt), ft = (e) => G(e, "", gt), $ = () => !0, G = (e, r, t) => {
231
+ const o = Se.exec(e);
229
232
  return o ? o[1] ? typeof r == "string" ? o[1] === r : r.has(o[1]) : t(o[2]) : !1;
230
- }, ir = (e) => (
233
+ }, ht = (e) => (
231
234
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
232
235
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
233
236
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
234
- Ye.test(e) && !Ke.test(e)
235
- ), xe = () => !1, ar = (e) => Xe.test(e), lr = (e) => Ze.test(e), cr = () => {
236
- const e = g("colors"), r = g("spacing"), t = g("blur"), o = g("brightness"), i = g("borderColor"), n = g("borderRadius"), a = g("borderSpacing"), s = g("borderWidth"), c = g("contrast"), u = g("grayscale"), p = g("hueRotate"), f = g("invert"), d = g("gap"), m = g("gradientColorStops"), y = g("gradientColorStopPositions"), x = g("inset"), h = g("margin"), w = g("opacity"), v = g("padding"), G = g("saturate"), R = g("scale"), j = g("sepia"), re = g("skew"), te = g("space"), oe = g("translate"), F = () => ["auto", "contain", "none"], H = () => ["auto", "hidden", "clip", "visible", "scroll"], B = () => ["auto", l, r], b = () => [l, r], ne = () => ["", S, z], O = () => ["auto", P, l], se = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], $ = () => ["solid", "dashed", "dotted", "double", "none"], ie = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], U = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], T = () => ["", "0", l], ae = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], C = () => [P, l];
237
+ ot.test(e) && !nt.test(e)
238
+ ), Ce = () => !1, gt = (e) => st.test(e), bt = (e) => it.test(e), mt = () => {
239
+ const e = h("colors"), r = h("spacing"), t = h("blur"), o = h("brightness"), i = h("borderColor"), n = h("borderRadius"), a = h("borderSpacing"), s = h("borderWidth"), l = h("contrast"), u = h("grayscale"), p = h("hueRotate"), f = h("invert"), d = h("gap"), b = h("gradientColorStops"), S = h("gradientColorStopPositions"), w = h("inset"), x = h("margin"), v = h("opacity"), C = h("padding"), L = h("saturate"), M = h("scale"), _ = h("sepia"), se = h("skew"), ie = h("space"), ae = h("translate"), H = () => ["auto", "contain", "none"], q = () => ["auto", "hidden", "clip", "visible", "scroll"], J = () => ["auto", c, r], g = () => [c, r], ce = () => ["", z, R], B = () => ["auto", T, c], le = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], U = () => ["solid", "dashed", "dotted", "double", "none"], de = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], Q = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], j = () => ["", "0", c], ue = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], E = () => [T, c];
237
240
  return {
238
241
  cacheSize: 500,
239
242
  separator: ":",
240
243
  theme: {
241
- colors: [L],
242
- spacing: [S, z],
243
- blur: ["none", "", A, l],
244
- brightness: C(),
244
+ colors: [$],
245
+ spacing: [z, R],
246
+ blur: ["none", "", A, c],
247
+ brightness: E(),
245
248
  borderColor: [e],
246
- borderRadius: ["none", "", "full", A, l],
247
- borderSpacing: b(),
248
- borderWidth: ne(),
249
- contrast: C(),
250
- grayscale: T(),
251
- hueRotate: C(),
252
- invert: T(),
253
- gap: b(),
249
+ borderRadius: ["none", "", "full", A, c],
250
+ borderSpacing: g(),
251
+ borderWidth: ce(),
252
+ contrast: E(),
253
+ grayscale: j(),
254
+ hueRotate: E(),
255
+ invert: j(),
256
+ gap: g(),
254
257
  gradientColorStops: [e],
255
- gradientColorStopPositions: [De, z],
256
- inset: B(),
257
- margin: B(),
258
- opacity: C(),
259
- padding: b(),
260
- saturate: C(),
261
- scale: C(),
262
- sepia: T(),
263
- skew: C(),
264
- space: b(),
265
- translate: b()
258
+ gradientColorStopPositions: [at, R],
259
+ inset: J(),
260
+ margin: J(),
261
+ opacity: E(),
262
+ padding: g(),
263
+ saturate: E(),
264
+ scale: E(),
265
+ sepia: j(),
266
+ skew: E(),
267
+ space: g(),
268
+ translate: g()
266
269
  },
267
270
  classGroups: {
268
271
  // Layout
@@ -271,7 +274,7 @@ const g = (e) => {
271
274
  * @see https://tailwindcss.com/docs/aspect-ratio
272
275
  */
273
276
  aspect: [{
274
- aspect: ["auto", "square", "video", l]
277
+ aspect: ["auto", "square", "video", c]
275
278
  }],
276
279
  /**
277
280
  * Container
@@ -290,14 +293,14 @@ const g = (e) => {
290
293
  * @see https://tailwindcss.com/docs/break-after
291
294
  */
292
295
  "break-after": [{
293
- "break-after": ae()
296
+ "break-after": ue()
294
297
  }],
295
298
  /**
296
299
  * Break Before
297
300
  * @see https://tailwindcss.com/docs/break-before
298
301
  */
299
302
  "break-before": [{
300
- "break-before": ae()
303
+ "break-before": ue()
301
304
  }],
302
305
  /**
303
306
  * Break Inside
@@ -356,49 +359,49 @@ const g = (e) => {
356
359
  * @see https://tailwindcss.com/docs/object-position
357
360
  */
358
361
  "object-position": [{
359
- object: [...se(), l]
362
+ object: [...le(), c]
360
363
  }],
361
364
  /**
362
365
  * Overflow
363
366
  * @see https://tailwindcss.com/docs/overflow
364
367
  */
365
368
  overflow: [{
366
- overflow: H()
369
+ overflow: q()
367
370
  }],
368
371
  /**
369
372
  * Overflow X
370
373
  * @see https://tailwindcss.com/docs/overflow
371
374
  */
372
375
  "overflow-x": [{
373
- "overflow-x": H()
376
+ "overflow-x": q()
374
377
  }],
375
378
  /**
376
379
  * Overflow Y
377
380
  * @see https://tailwindcss.com/docs/overflow
378
381
  */
379
382
  "overflow-y": [{
380
- "overflow-y": H()
383
+ "overflow-y": q()
381
384
  }],
382
385
  /**
383
386
  * Overscroll Behavior
384
387
  * @see https://tailwindcss.com/docs/overscroll-behavior
385
388
  */
386
389
  overscroll: [{
387
- overscroll: F()
390
+ overscroll: H()
388
391
  }],
389
392
  /**
390
393
  * Overscroll Behavior X
391
394
  * @see https://tailwindcss.com/docs/overscroll-behavior
392
395
  */
393
396
  "overscroll-x": [{
394
- "overscroll-x": F()
397
+ "overscroll-x": H()
395
398
  }],
396
399
  /**
397
400
  * Overscroll Behavior Y
398
401
  * @see https://tailwindcss.com/docs/overscroll-behavior
399
402
  */
400
403
  "overscroll-y": [{
401
- "overscroll-y": F()
404
+ "overscroll-y": H()
402
405
  }],
403
406
  /**
404
407
  * Position
@@ -410,63 +413,63 @@ const g = (e) => {
410
413
  * @see https://tailwindcss.com/docs/top-right-bottom-left
411
414
  */
412
415
  inset: [{
413
- inset: [x]
416
+ inset: [w]
414
417
  }],
415
418
  /**
416
419
  * Right / Left
417
420
  * @see https://tailwindcss.com/docs/top-right-bottom-left
418
421
  */
419
422
  "inset-x": [{
420
- "inset-x": [x]
423
+ "inset-x": [w]
421
424
  }],
422
425
  /**
423
426
  * Top / Bottom
424
427
  * @see https://tailwindcss.com/docs/top-right-bottom-left
425
428
  */
426
429
  "inset-y": [{
427
- "inset-y": [x]
430
+ "inset-y": [w]
428
431
  }],
429
432
  /**
430
433
  * Start
431
434
  * @see https://tailwindcss.com/docs/top-right-bottom-left
432
435
  */
433
436
  start: [{
434
- start: [x]
437
+ start: [w]
435
438
  }],
436
439
  /**
437
440
  * End
438
441
  * @see https://tailwindcss.com/docs/top-right-bottom-left
439
442
  */
440
443
  end: [{
441
- end: [x]
444
+ end: [w]
442
445
  }],
443
446
  /**
444
447
  * Top
445
448
  * @see https://tailwindcss.com/docs/top-right-bottom-left
446
449
  */
447
450
  top: [{
448
- top: [x]
451
+ top: [w]
449
452
  }],
450
453
  /**
451
454
  * Right
452
455
  * @see https://tailwindcss.com/docs/top-right-bottom-left
453
456
  */
454
457
  right: [{
455
- right: [x]
458
+ right: [w]
456
459
  }],
457
460
  /**
458
461
  * Bottom
459
462
  * @see https://tailwindcss.com/docs/top-right-bottom-left
460
463
  */
461
464
  bottom: [{
462
- bottom: [x]
465
+ bottom: [w]
463
466
  }],
464
467
  /**
465
468
  * Left
466
469
  * @see https://tailwindcss.com/docs/top-right-bottom-left
467
470
  */
468
471
  left: [{
469
- left: [x]
472
+ left: [w]
470
473
  }],
471
474
  /**
472
475
  * Visibility
@@ -478,7 +481,7 @@ const g = (e) => {
478
481
  * @see https://tailwindcss.com/docs/z-index
479
482
  */
480
483
  z: [{
481
- z: ["auto", I, l]
484
+ z: ["auto", O, c]
482
485
  }],
483
486
  // Flexbox and Grid
484
487
  /**
@@ -486,7 +489,7 @@ const g = (e) => {
486
489
  * @see https://tailwindcss.com/docs/flex-basis
487
490
  */
488
491
  basis: [{
489
- basis: B()
492
+ basis: J()
490
493
  }],
491
494
  /**
492
495
  * Flex Direction
@@ -507,35 +510,35 @@ const g = (e) => {
507
510
  * @see https://tailwindcss.com/docs/flex
508
511
  */
509
512
  flex: [{
510
- flex: ["1", "auto", "initial", "none", l]
513
+ flex: ["1", "auto", "initial", "none", c]
511
514
  }],
512
515
  /**
513
516
  * Flex Grow
514
517
  * @see https://tailwindcss.com/docs/flex-grow
515
518
  */
516
519
  grow: [{
517
- grow: T()
520
+ grow: j()
518
521
  }],
519
522
  /**
520
523
  * Flex Shrink
521
524
  * @see https://tailwindcss.com/docs/flex-shrink
522
525
  */
523
526
  shrink: [{
524
- shrink: T()
527
+ shrink: j()
525
528
  }],
526
529
  /**
527
530
  * Order
528
531
  * @see https://tailwindcss.com/docs/order
529
532
  */
530
533
  order: [{
531
- order: ["first", "last", "none", I, l]
534
+ order: ["first", "last", "none", O, c]
532
535
  }],
533
536
  /**
534
537
  * Grid Template Columns
535
538
  * @see https://tailwindcss.com/docs/grid-template-columns
536
539
  */
537
540
  "grid-cols": [{
538
- "grid-cols": [L]
541
+ "grid-cols": [$]
539
542
  }],
540
543
  /**
541
544
  * Grid Column Start / End
@@ -543,29 +546,29 @@ const g = (e) => {
543
546
  */
544
547
  "col-start-end": [{
545
548
  col: ["auto", {
546
- span: ["full", I, l]
547
- }, l]
549
+ span: ["full", O, c]
550
+ }, c]
548
551
  }],
549
552
  /**
550
553
  * Grid Column Start
551
554
  * @see https://tailwindcss.com/docs/grid-column
552
555
  */
553
556
  "col-start": [{
554
- "col-start": O()
557
+ "col-start": B()
555
558
  }],
556
559
  /**
557
560
  * Grid Column End
558
561
  * @see https://tailwindcss.com/docs/grid-column
559
562
  */
560
563
  "col-end": [{
561
- "col-end": O()
564
+ "col-end": B()
562
565
  }],
563
566
  /**
564
567
  * Grid Template Rows
565
568
  * @see https://tailwindcss.com/docs/grid-template-rows
566
569
  */
567
570
  "grid-rows": [{
568
- "grid-rows": [L]
571
+ "grid-rows": [$]
569
572
  }],
570
573
  /**
571
574
  * Grid Row Start / End
@@ -573,22 +576,22 @@ const g = (e) => {
573
576
  */
574
577
  "row-start-end": [{
575
578
  row: ["auto", {
576
- span: [I, l]
577
- }, l]
579
+ span: [O, c]
580
+ }, c]
578
581
  }],
579
582
  /**
580
583
  * Grid Row Start
581
584
  * @see https://tailwindcss.com/docs/grid-row
582
585
  */
583
586
  "row-start": [{
584
- "row-start": O()
587
+ "row-start": B()
585
588
  }],
586
589
  /**
587
590
  * Grid Row End
588
591
  * @see https://tailwindcss.com/docs/grid-row
589
592
  */
590
593
  "row-end": [{
591
- "row-end": O()
594
+ "row-end": B()
592
595
  }],
593
596
  /**
594
597
  * Grid Auto Flow
@@ -602,14 +605,14 @@ const g = (e) => {
602
605
  * @see https://tailwindcss.com/docs/grid-auto-columns
603
606
  */
604
607
  "auto-cols": [{
605
- "auto-cols": ["auto", "min", "max", "fr", l]
608
+ "auto-cols": ["auto", "min", "max", "fr", c]
606
609
  }],
607
610
  /**
608
611
  * Grid Auto Rows
609
612
  * @see https://tailwindcss.com/docs/grid-auto-rows
610
613
  */
611
614
  "auto-rows": [{
612
- "auto-rows": ["auto", "min", "max", "fr", l]
615
+ "auto-rows": ["auto", "min", "max", "fr", c]
613
616
  }],
614
617
  /**
615
618
  * Gap
@@ -637,7 +640,7 @@ const g = (e) => {
637
640
  * @see https://tailwindcss.com/docs/justify-content
638
641
  */
639
642
  "justify-content": [{
640
- justify: ["normal", ...U()]
643
+ justify: ["normal", ...Q()]
641
644
  }],
642
645
  /**
643
646
  * Justify Items
@@ -658,7 +661,7 @@ const g = (e) => {
658
661
  * @see https://tailwindcss.com/docs/align-content
659
662
  */
660
663
  "align-content": [{
661
- content: ["normal", ...U(), "baseline"]
664
+ content: ["normal", ...Q(), "baseline"]
662
665
  }],
663
666
  /**
664
667
  * Align Items
@@ -679,7 +682,7 @@ const g = (e) => {
679
682
  * @see https://tailwindcss.com/docs/place-content
680
683
  */
681
684
  "place-content": [{
682
- "place-content": [...U(), "baseline"]
685
+ "place-content": [...Q(), "baseline"]
683
686
  }],
684
687
  /**
685
688
  * Place Items
@@ -701,133 +704,133 @@ const g = (e) => {
701
704
  * @see https://tailwindcss.com/docs/padding
702
705
  */
703
706
  p: [{
704
- p: [v]
707
+ p: [C]
705
708
  }],
706
709
  /**
707
710
  * Padding X
708
711
  * @see https://tailwindcss.com/docs/padding
709
712
  */
710
713
  px: [{
711
- px: [v]
714
+ px: [C]
712
715
  }],
713
716
  /**
714
717
  * Padding Y
715
718
  * @see https://tailwindcss.com/docs/padding
716
719
  */
717
720
  py: [{
718
- py: [v]
721
+ py: [C]
719
722
  }],
720
723
  /**
721
724
  * Padding Start
722
725
  * @see https://tailwindcss.com/docs/padding
723
726
  */
724
727
  ps: [{
725
- ps: [v]
728
+ ps: [C]
726
729
  }],
727
730
  /**
728
731
  * Padding End
729
732
  * @see https://tailwindcss.com/docs/padding
730
733
  */
731
734
  pe: [{
732
- pe: [v]
735
+ pe: [C]
733
736
  }],
734
737
  /**
735
738
  * Padding Top
736
739
  * @see https://tailwindcss.com/docs/padding
737
740
  */
738
741
  pt: [{
739
- pt: [v]
742
+ pt: [C]
740
743
  }],
741
744
  /**
742
745
  * Padding Right
743
746
  * @see https://tailwindcss.com/docs/padding
744
747
  */
745
748
  pr: [{
746
- pr: [v]
749
+ pr: [C]
747
750
  }],
748
751
  /**
749
752
  * Padding Bottom
750
753
  * @see https://tailwindcss.com/docs/padding
751
754
  */
752
755
  pb: [{
753
- pb: [v]
756
+ pb: [C]
754
757
  }],
755
758
  /**
756
759
  * Padding Left
757
760
  * @see https://tailwindcss.com/docs/padding
758
761
  */
759
762
  pl: [{
760
- pl: [v]
763
+ pl: [C]
761
764
  }],
762
765
  /**
763
766
  * Margin
764
767
  * @see https://tailwindcss.com/docs/margin
765
768
  */
766
769
  m: [{
767
- m: [h]
770
+ m: [x]
768
771
  }],
769
772
  /**
770
773
  * Margin X
771
774
  * @see https://tailwindcss.com/docs/margin
772
775
  */
773
776
  mx: [{
774
- mx: [h]
777
+ mx: [x]
775
778
  }],
776
779
  /**
777
780
  * Margin Y
778
781
  * @see https://tailwindcss.com/docs/margin
779
782
  */
780
783
  my: [{
781
- my: [h]
784
+ my: [x]
782
785
  }],
783
786
  /**
784
787
  * Margin Start
785
788
  * @see https://tailwindcss.com/docs/margin
786
789
  */
787
790
  ms: [{
788
- ms: [h]
791
+ ms: [x]
789
792
  }],
790
793
  /**
791
794
  * Margin End
792
795
  * @see https://tailwindcss.com/docs/margin
793
796
  */
794
797
  me: [{
795
- me: [h]
798
+ me: [x]
796
799
  }],
797
800
  /**
798
801
  * Margin Top
799
802
  * @see https://tailwindcss.com/docs/margin
800
803
  */
801
804
  mt: [{
802
- mt: [h]
805
+ mt: [x]
803
806
  }],
804
807
  /**
805
808
  * Margin Right
806
809
  * @see https://tailwindcss.com/docs/margin
807
810
  */
808
811
  mr: [{
809
- mr: [h]
812
+ mr: [x]
810
813
  }],
811
814
  /**
812
815
  * Margin Bottom
813
816
  * @see https://tailwindcss.com/docs/margin
814
817
  */
815
818
  mb: [{
816
- mb: [h]
819
+ mb: [x]
817
820
  }],
818
821
  /**
819
822
  * Margin Left
820
823
  * @see https://tailwindcss.com/docs/margin
821
824
  */
822
825
  ml: [{
823
- ml: [h]
826
+ ml: [x]
824
827
  }],
825
828
  /**
826
829
  * Space Between X
827
830
  * @see https://tailwindcss.com/docs/space
828
831
  */
829
832
  "space-x": [{
830
- "space-x": [te]
833
+ "space-x": [ie]
831
834
  }],
832
835
  /**
833
836
  * Space Between X Reverse
@@ -839,7 +842,7 @@ const g = (e) => {
839
842
  * @see https://tailwindcss.com/docs/space
840
843
  */
841
844
  "space-y": [{
842
- "space-y": [te]
845
+ "space-y": [ie]
843
846
  }],
844
847
  /**
845
848
  * Space Between Y Reverse
@@ -852,21 +855,21 @@ const g = (e) => {
852
855
  * @see https://tailwindcss.com/docs/width
853
856
  */
854
857
  w: [{
855
- w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw", l, r]
858
+ w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw", c, r]
856
859
  }],
857
860
  /**
858
861
  * Min-Width
859
862
  * @see https://tailwindcss.com/docs/min-width
860
863
  */
861
864
  "min-w": [{
862
- "min-w": [l, r, "min", "max", "fit"]
865
+ "min-w": [c, r, "min", "max", "fit"]
863
866
  }],
864
867
  /**
865
868
  * Max-Width
866
869
  * @see https://tailwindcss.com/docs/max-width
867
870
  */
868
871
  "max-w": [{
869
- "max-w": [l, r, "none", "full", "min", "max", "fit", "prose", {
872
+ "max-w": [c, r, "none", "full", "min", "max", "fit", "prose", {
870
873
  screen: [A]
871
874
  }, A]
872
875
  }],
@@ -875,28 +878,28 @@ const g = (e) => {
875
878
  * @see https://tailwindcss.com/docs/height
876
879
  */
877
880
  h: [{
878
- h: [l, r, "auto", "min", "max", "fit", "svh", "lvh", "dvh"]
881
+ h: [c, r, "auto", "min", "max", "fit", "svh", "lvh", "dvh"]
879
882
  }],
880
883
  /**
881
884
  * Min-Height
882
885
  * @see https://tailwindcss.com/docs/min-height
883
886
  */
884
887
  "min-h": [{
885
- "min-h": [l, r, "min", "max", "fit", "svh", "lvh", "dvh"]
888
+ "min-h": [c, r, "min", "max", "fit", "svh", "lvh", "dvh"]
886
889
  }],
887
890
  /**
888
891
  * Max-Height
889
892
  * @see https://tailwindcss.com/docs/max-height
890
893
  */
891
894
  "max-h": [{
892
- "max-h": [l, r, "min", "max", "fit", "svh", "lvh", "dvh"]
895
+ "max-h": [c, r, "min", "max", "fit", "svh", "lvh", "dvh"]
893
896
  }],
894
897
  /**
895
898
  * Size
896
899
  * @see https://tailwindcss.com/docs/size
897
900
  */
898
901
  size: [{
899
- size: [l, r, "auto", "min", "max", "fit"]
902
+ size: [c, r, "auto", "min", "max", "fit"]
900
903
  }],
901
904
  // Typography
902
905
  /**
@@ -904,7 +907,7 @@ const g = (e) => {
904
907
  * @see https://tailwindcss.com/docs/font-size
905
908
  */
906
909
  "font-size": [{
907
- text: ["base", A, z]
910
+ text: ["base", A, R]
908
911
  }],
909
912
  /**
910
913
  * Font Smoothing
@@ -921,14 +924,14 @@ const g = (e) => {
921
924
  * @see https://tailwindcss.com/docs/font-weight
922
925
  */
923
926
  "font-weight": [{
924
- font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", V]
927
+ font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", Y]
925
928
  }],
926
929
  /**
927
930
  * Font Family
928
931
  * @see https://tailwindcss.com/docs/font-family
929
932
  */
930
933
  "font-family": [{
931
- font: [L]
934
+ font: [$]
932
935
  }],
933
936
  /**
934
937
  * Font Variant Numeric
@@ -965,35 +968,35 @@ const g = (e) => {
965
968
  * @see https://tailwindcss.com/docs/letter-spacing
966
969
  */
967
970
  tracking: [{
968
- tracking: ["tighter", "tight", "normal", "wide", "wider", "widest", l]
971
+ tracking: ["tighter", "tight", "normal", "wide", "wider", "widest", c]
969
972
  }],
970
973
  /**
971
974
  * Line Clamp
972
975
  * @see https://tailwindcss.com/docs/line-clamp
973
976
  */
974
977
  "line-clamp": [{
975
- "line-clamp": ["none", P, V]
978
+ "line-clamp": ["none", T, Y]
976
979
  }],
977
980
  /**
978
981
  * Line Height
979
982
  * @see https://tailwindcss.com/docs/line-height
980
983
  */
981
984
  leading: [{
982
- leading: ["none", "tight", "snug", "normal", "relaxed", "loose", S, l]
985
+ leading: ["none", "tight", "snug", "normal", "relaxed", "loose", z, c]
983
986
  }],
984
987
  /**
985
988
  * List Style Image
986
989
  * @see https://tailwindcss.com/docs/list-style-image
987
990
  */
988
991
  "list-image": [{
989
- "list-image": ["none", l]
992
+ "list-image": ["none", c]
990
993
  }],
991
994
  /**
992
995
  * List Style Type
993
996
  * @see https://tailwindcss.com/docs/list-style-type
994
997
  */
995
998
  "list-style-type": [{
996
- list: ["none", "disc", "decimal", l]
999
+ list: ["none", "disc", "decimal", c]
997
1000
  }],
998
1001
  /**
999
1002
  * List Style Position
@@ -1015,7 +1018,7 @@ const g = (e) => {
1015
1018
  * @see https://tailwindcss.com/docs/placeholder-opacity
1016
1019
  */
1017
1020
  "placeholder-opacity": [{
1018
- "placeholder-opacity": [w]
1021
+ "placeholder-opacity": [v]
1019
1022
  }],
1020
1023
  /**
1021
1024
  * Text Alignment
@@ -1036,7 +1039,7 @@ const g = (e) => {
1036
1039
  * @see https://tailwindcss.com/docs/text-opacity
1037
1040
  */
1038
1041
  "text-opacity": [{
1039
- "text-opacity": [w]
1042
+ "text-opacity": [v]
1040
1043
  }],
1041
1044
  /**
1042
1045
  * Text Decoration
@@ -1048,21 +1051,21 @@ const g = (e) => {
1048
1051
  * @see https://tailwindcss.com/docs/text-decoration-style
1049
1052
  */
1050
1053
  "text-decoration-style": [{
1051
- decoration: [...$(), "wavy"]
1054
+ decoration: [...U(), "wavy"]
1052
1055
  }],
1053
1056
  /**
1054
1057
  * Text Decoration Thickness
1055
1058
  * @see https://tailwindcss.com/docs/text-decoration-thickness
1056
1059
  */
1057
1060
  "text-decoration-thickness": [{
1058
- decoration: ["auto", "from-font", S, z]
1061
+ decoration: ["auto", "from-font", z, R]
1059
1062
  }],
1060
1063
  /**
1061
1064
  * Text Underline Offset
1062
1065
  * @see https://tailwindcss.com/docs/text-underline-offset
1063
1066
  */
1064
1067
  "underline-offset": [{
1065
- "underline-offset": ["auto", S, l]
1068
+ "underline-offset": ["auto", z, c]
1066
1069
  }],
1067
1070
  /**
1068
1071
  * Text Decoration Color
@@ -1093,14 +1096,14 @@ const g = (e) => {
1093
1096
  * @see https://tailwindcss.com/docs/text-indent
1094
1097
  */
1095
1098
  indent: [{
1096
- indent: b()
1099
+ indent: g()
1097
1100
  }],
1098
1101
  /**
1099
1102
  * Vertical Alignment
1100
1103
  * @see https://tailwindcss.com/docs/vertical-align
1101
1104
  */
1102
1105
  "vertical-align": [{
1103
- align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", l]
1106
+ align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", c]
1104
1107
  }],
1105
1108
  /**
1106
1109
  * Whitespace
@@ -1128,7 +1131,7 @@ const g = (e) => {
1128
1131
  * @see https://tailwindcss.com/docs/content
1129
1132
  */
1130
1133
  content: [{
1131
- content: ["none", l]
1134
+ content: ["none", c]
1132
1135
  }],
1133
1136
  // Backgrounds
1134
1137
  /**
@@ -1151,7 +1154,7 @@ const g = (e) => {
1151
1154
  * @see https://tailwindcss.com/docs/background-opacity
1152
1155
  */
1153
1156
  "bg-opacity": [{
1154
- "bg-opacity": [w]
1157
+ "bg-opacity": [v]
1155
1158
  }],
1156
1159
  /**
1157
1160
  * Background Origin
@@ -1165,7 +1168,7 @@ const g = (e) => {
1165
1168
  * @see https://tailwindcss.com/docs/background-position
1166
1169
  */
1167
1170
  "bg-position": [{
1168
- bg: [...se(), tr]
1171
+ bg: [...le(), dt]
1169
1172
  }],
1170
1173
  /**
1171
1174
  * Background Repeat
@@ -1181,7 +1184,7 @@ const g = (e) => {
1181
1184
  * @see https://tailwindcss.com/docs/background-size
1182
1185
  */
1183
1186
  "bg-size": [{
1184
- bg: ["auto", "cover", "contain", rr]
1187
+ bg: ["auto", "cover", "contain", lt]
1185
1188
  }],
1186
1189
  /**
1187
1190
  * Background Image
@@ -1190,7 +1193,7 @@ const g = (e) => {
1190
1193
  "bg-image": [{
1191
1194
  bg: ["none", {
1192
1195
  "gradient-to": ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
1193
- }, nr]
1196
+ }, pt]
1194
1197
  }],
1195
1198
  /**
1196
1199
  * Background Color
@@ -1204,42 +1207,42 @@ const g = (e) => {
1204
1207
  * @see https://tailwindcss.com/docs/gradient-color-stops
1205
1208
  */
1206
1209
  "gradient-from-pos": [{
1207
- from: [y]
1210
+ from: [S]
1208
1211
  }],
1209
1212
  /**
1210
1213
  * Gradient Color Stops Via Position
1211
1214
  * @see https://tailwindcss.com/docs/gradient-color-stops
1212
1215
  */
1213
1216
  "gradient-via-pos": [{
1214
- via: [y]
1217
+ via: [S]
1215
1218
  }],
1216
1219
  /**
1217
1220
  * Gradient Color Stops To Position
1218
1221
  * @see https://tailwindcss.com/docs/gradient-color-stops
1219
1222
  */
1220
1223
  "gradient-to-pos": [{
1221
- to: [y]
1224
+ to: [S]
1222
1225
  }],
1223
1226
  /**
1224
1227
  * Gradient Color Stops From
1225
1228
  * @see https://tailwindcss.com/docs/gradient-color-stops
1226
1229
  */
1227
1230
  "gradient-from": [{
1228
- from: [m]
1231
+ from: [b]
1229
1232
  }],
1230
1233
  /**
1231
1234
  * Gradient Color Stops Via
1232
1235
  * @see https://tailwindcss.com/docs/gradient-color-stops
1233
1236
  */
1234
1237
  "gradient-via": [{
1235
- via: [m]
1238
+ via: [b]
1236
1239
  }],
1237
1240
  /**
1238
1241
  * Gradient Color Stops To
1239
1242
  * @see https://tailwindcss.com/docs/gradient-color-stops
1240
1243
  */
1241
1244
  "gradient-to": [{
1242
- to: [m]
1245
+ to: [b]
1243
1246
  }],
1244
1247
  // Borders
1245
1248
  /**
@@ -1415,14 +1418,14 @@ const g = (e) => {
1415
1418
  * @see https://tailwindcss.com/docs/border-opacity
1416
1419
  */
1417
1420
  "border-opacity": [{
1418
- "border-opacity": [w]
1421
+ "border-opacity": [v]
1419
1422
  }],
1420
1423
  /**
1421
1424
  * Border Style
1422
1425
  * @see https://tailwindcss.com/docs/border-style
1423
1426
  */
1424
1427
  "border-style": [{
1425
- border: [...$(), "hidden"]
1428
+ border: [...U(), "hidden"]
1426
1429
  }],
1427
1430
  /**
1428
1431
  * Divide Width X
@@ -1453,14 +1456,14 @@ const g = (e) => {
1453
1456
  * @see https://tailwindcss.com/docs/divide-opacity
1454
1457
  */
1455
1458
  "divide-opacity": [{
1456
- "divide-opacity": [w]
1459
+ "divide-opacity": [v]
1457
1460
  }],
1458
1461
  /**
1459
1462
  * Divide Style
1460
1463
  * @see https://tailwindcss.com/docs/divide-style
1461
1464
  */
1462
1465
  "divide-style": [{
1463
- divide: $()
1466
+ divide: U()
1464
1467
  }],
1465
1468
  /**
1466
1469
  * Border Color
@@ -1537,21 +1540,21 @@ const g = (e) => {
1537
1540
  * @see https://tailwindcss.com/docs/outline-style
1538
1541
  */
1539
1542
  "outline-style": [{
1540
- outline: ["", ...$()]
1543
+ outline: ["", ...U()]
1541
1544
  }],
1542
1545
  /**
1543
1546
  * Outline Offset
1544
1547
  * @see https://tailwindcss.com/docs/outline-offset
1545
1548
  */
1546
1549
  "outline-offset": [{
1547
- "outline-offset": [S, l]
1550
+ "outline-offset": [z, c]
1548
1551
  }],
1549
1552
  /**
1550
1553
  * Outline Width
1551
1554
  * @see https://tailwindcss.com/docs/outline-width
1552
1555
  */
1553
1556
  "outline-w": [{
1554
- outline: [S, z]
1557
+ outline: [z, R]
1555
1558
  }],
1556
1559
  /**
1557
1560
  * Outline Color
@@ -1565,7 +1568,7 @@ const g = (e) => {
1565
1568
  * @see https://tailwindcss.com/docs/ring-width
1566
1569
  */
1567
1570
  "ring-w": [{
1568
- ring: ne()
1571
+ ring: ce()
1569
1572
  }],
1570
1573
  /**
1571
1574
  * Ring Width Inset
@@ -1584,14 +1587,14 @@ const g = (e) => {
1584
1587
  * @see https://tailwindcss.com/docs/ring-opacity
1585
1588
  */
1586
1589
  "ring-opacity": [{
1587
- "ring-opacity": [w]
1590
+ "ring-opacity": [v]
1588
1591
  }],
1589
1592
  /**
1590
1593
  * Ring Offset Width
1591
1594
  * @see https://tailwindcss.com/docs/ring-offset-width
1592
1595
  */
1593
1596
  "ring-offset-w": [{
1594
- "ring-offset": [S, z]
1597
+ "ring-offset": [z, R]
1595
1598
  }],
1596
1599
  /**
1597
1600
  * Ring Offset Color
@@ -1606,35 +1609,35 @@ const g = (e) => {
1606
1609
  * @see https://tailwindcss.com/docs/box-shadow
1607
1610
  */
1608
1611
  shadow: [{
1609
- shadow: ["", "inner", "none", A, sr]
1612
+ shadow: ["", "inner", "none", A, ft]
1610
1613
  }],
1611
1614
  /**
1612
1615
  * Box Shadow Color
1613
1616
  * @see https://tailwindcss.com/docs/box-shadow-color
1614
1617
  */
1615
1618
  "shadow-color": [{
1616
- shadow: [L]
1619
+ shadow: [$]
1617
1620
  }],
1618
1621
  /**
1619
1622
  * Opacity
1620
1623
  * @see https://tailwindcss.com/docs/opacity
1621
1624
  */
1622
1625
  opacity: [{
1623
- opacity: [w]
1626
+ opacity: [v]
1624
1627
  }],
1625
1628
  /**
1626
1629
  * Mix Blend Mode
1627
1630
  * @see https://tailwindcss.com/docs/mix-blend-mode
1628
1631
  */
1629
1632
  "mix-blend": [{
1630
- "mix-blend": [...ie(), "plus-lighter", "plus-darker"]
1633
+ "mix-blend": [...de(), "plus-lighter", "plus-darker"]
1631
1634
  }],
1632
1635
  /**
1633
1636
  * Background Blend Mode
1634
1637
  * @see https://tailwindcss.com/docs/background-blend-mode
1635
1638
  */
1636
1639
  "bg-blend": [{
1637
- "bg-blend": ie()
1640
+ "bg-blend": de()
1638
1641
  }],
1639
1642
  // Filters
1640
1643
  /**
@@ -1664,14 +1667,14 @@ const g = (e) => {
1664
1667
  * @see https://tailwindcss.com/docs/contrast
1665
1668
  */
1666
1669
  contrast: [{
1667
- contrast: [c]
1670
+ contrast: [l]
1668
1671
  }],
1669
1672
  /**
1670
1673
  * Drop Shadow
1671
1674
  * @see https://tailwindcss.com/docs/drop-shadow
1672
1675
  */
1673
1676
  "drop-shadow": [{
1674
- "drop-shadow": ["", "none", A, l]
1677
+ "drop-shadow": ["", "none", A, c]
1675
1678
  }],
1676
1679
  /**
1677
1680
  * Grayscale
@@ -1699,14 +1702,14 @@ const g = (e) => {
1699
1702
  * @see https://tailwindcss.com/docs/saturate
1700
1703
  */
1701
1704
  saturate: [{
1702
- saturate: [G]
1705
+ saturate: [L]
1703
1706
  }],
1704
1707
  /**
1705
1708
  * Sepia
1706
1709
  * @see https://tailwindcss.com/docs/sepia
1707
1710
  */
1708
1711
  sepia: [{
1709
- sepia: [j]
1712
+ sepia: [_]
1710
1713
  }],
1711
1714
  /**
1712
1715
  * Backdrop Filter
@@ -1735,7 +1738,7 @@ const g = (e) => {
1735
1738
  * @see https://tailwindcss.com/docs/backdrop-contrast
1736
1739
  */
1737
1740
  "backdrop-contrast": [{
1738
- "backdrop-contrast": [c]
1741
+ "backdrop-contrast": [l]
1739
1742
  }],
1740
1743
  /**
1741
1744
  * Backdrop Grayscale
@@ -1763,21 +1766,21 @@ const g = (e) => {
1763
1766
  * @see https://tailwindcss.com/docs/backdrop-opacity
1764
1767
  */
1765
1768
  "backdrop-opacity": [{
1766
- "backdrop-opacity": [w]
1769
+ "backdrop-opacity": [v]
1767
1770
  }],
1768
1771
  /**
1769
1772
  * Backdrop Saturate
1770
1773
  * @see https://tailwindcss.com/docs/backdrop-saturate
1771
1774
  */
1772
1775
  "backdrop-saturate": [{
1773
- "backdrop-saturate": [G]
1776
+ "backdrop-saturate": [L]
1774
1777
  }],
1775
1778
  /**
1776
1779
  * Backdrop Sepia
1777
1780
  * @see https://tailwindcss.com/docs/backdrop-sepia
1778
1781
  */
1779
1782
  "backdrop-sepia": [{
1780
- "backdrop-sepia": [j]
1783
+ "backdrop-sepia": [_]
1781
1784
  }],
1782
1785
  // Tables
1783
1786
  /**
@@ -1828,35 +1831,35 @@ const g = (e) => {
1828
1831
  * @see https://tailwindcss.com/docs/transition-property
1829
1832
  */
1830
1833
  transition: [{
1831
- transition: ["none", "all", "", "colors", "opacity", "shadow", "transform", l]
1834
+ transition: ["none", "all", "", "colors", "opacity", "shadow", "transform", c]
1832
1835
  }],
1833
1836
  /**
1834
1837
  * Transition Duration
1835
1838
  * @see https://tailwindcss.com/docs/transition-duration
1836
1839
  */
1837
1840
  duration: [{
1838
- duration: C()
1841
+ duration: E()
1839
1842
  }],
1840
1843
  /**
1841
1844
  * Transition Timing Function
1842
1845
  * @see https://tailwindcss.com/docs/transition-timing-function
1843
1846
  */
1844
1847
  ease: [{
1845
- ease: ["linear", "in", "out", "in-out", l]
1848
+ ease: ["linear", "in", "out", "in-out", c]
1846
1849
  }],
1847
1850
  /**
1848
1851
  * Transition Delay
1849
1852
  * @see https://tailwindcss.com/docs/transition-delay
1850
1853
  */
1851
1854
  delay: [{
1852
- delay: C()
1855
+ delay: E()
1853
1856
  }],
1854
1857
  /**
1855
1858
  * Animation
1856
1859
  * @see https://tailwindcss.com/docs/animation
1857
1860
  */
1858
1861
  animate: [{
1859
- animate: ["none", "spin", "ping", "pulse", "bounce", l]
1862
+ animate: ["none", "spin", "ping", "pulse", "bounce", c]
1860
1863
  }],
1861
1864
  // Transforms
1862
1865
  /**
@@ -1871,63 +1874,63 @@ const g = (e) => {
1871
1874
  * @see https://tailwindcss.com/docs/scale
1872
1875
  */
1873
1876
  scale: [{
1874
- scale: [R]
1877
+ scale: [M]
1875
1878
  }],
1876
1879
  /**
1877
1880
  * Scale X
1878
1881
  * @see https://tailwindcss.com/docs/scale
1879
1882
  */
1880
1883
  "scale-x": [{
1881
- "scale-x": [R]
1884
+ "scale-x": [M]
1882
1885
  }],
1883
1886
  /**
1884
1887
  * Scale Y
1885
1888
  * @see https://tailwindcss.com/docs/scale
1886
1889
  */
1887
1890
  "scale-y": [{
1888
- "scale-y": [R]
1891
+ "scale-y": [M]
1889
1892
  }],
1890
1893
  /**
1891
1894
  * Rotate
1892
1895
  * @see https://tailwindcss.com/docs/rotate
1893
1896
  */
1894
1897
  rotate: [{
1895
- rotate: [I, l]
1898
+ rotate: [O, c]
1896
1899
  }],
1897
1900
  /**
1898
1901
  * Translate X
1899
1902
  * @see https://tailwindcss.com/docs/translate
1900
1903
  */
1901
1904
  "translate-x": [{
1902
- "translate-x": [oe]
1905
+ "translate-x": [ae]
1903
1906
  }],
1904
1907
  /**
1905
1908
  * Translate Y
1906
1909
  * @see https://tailwindcss.com/docs/translate
1907
1910
  */
1908
1911
  "translate-y": [{
1909
- "translate-y": [oe]
1912
+ "translate-y": [ae]
1910
1913
  }],
1911
1914
  /**
1912
1915
  * Skew X
1913
1916
  * @see https://tailwindcss.com/docs/skew
1914
1917
  */
1915
1918
  "skew-x": [{
1916
- "skew-x": [re]
1919
+ "skew-x": [se]
1917
1920
  }],
1918
1921
  /**
1919
1922
  * Skew Y
1920
1923
  * @see https://tailwindcss.com/docs/skew
1921
1924
  */
1922
1925
  "skew-y": [{
1923
- "skew-y": [re]
1926
+ "skew-y": [se]
1924
1927
  }],
1925
1928
  /**
1926
1929
  * Transform Origin
1927
1930
  * @see https://tailwindcss.com/docs/transform-origin
1928
1931
  */
1929
1932
  "transform-origin": [{
1930
- origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", l]
1933
+ origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", c]
1931
1934
  }],
1932
1935
  // Interactivity
1933
1936
  /**
@@ -1949,7 +1952,7 @@ const g = (e) => {
1949
1952
  * @see https://tailwindcss.com/docs/cursor
1950
1953
  */
1951
1954
  cursor: [{
1952
- 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", l]
1955
+ 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", c]
1953
1956
  }],
1954
1957
  /**
1955
1958
  * Caret Color
@@ -1984,126 +1987,126 @@ const g = (e) => {
1984
1987
  * @see https://tailwindcss.com/docs/scroll-margin
1985
1988
  */
1986
1989
  "scroll-m": [{
1987
- "scroll-m": b()
1990
+ "scroll-m": g()
1988
1991
  }],
1989
1992
  /**
1990
1993
  * Scroll Margin X
1991
1994
  * @see https://tailwindcss.com/docs/scroll-margin
1992
1995
  */
1993
1996
  "scroll-mx": [{
1994
- "scroll-mx": b()
1997
+ "scroll-mx": g()
1995
1998
  }],
1996
1999
  /**
1997
2000
  * Scroll Margin Y
1998
2001
  * @see https://tailwindcss.com/docs/scroll-margin
1999
2002
  */
2000
2003
  "scroll-my": [{
2001
- "scroll-my": b()
2004
+ "scroll-my": g()
2002
2005
  }],
2003
2006
  /**
2004
2007
  * Scroll Margin Start
2005
2008
  * @see https://tailwindcss.com/docs/scroll-margin
2006
2009
  */
2007
2010
  "scroll-ms": [{
2008
- "scroll-ms": b()
2011
+ "scroll-ms": g()
2009
2012
  }],
2010
2013
  /**
2011
2014
  * Scroll Margin End
2012
2015
  * @see https://tailwindcss.com/docs/scroll-margin
2013
2016
  */
2014
2017
  "scroll-me": [{
2015
- "scroll-me": b()
2018
+ "scroll-me": g()
2016
2019
  }],
2017
2020
  /**
2018
2021
  * Scroll Margin Top
2019
2022
  * @see https://tailwindcss.com/docs/scroll-margin
2020
2023
  */
2021
2024
  "scroll-mt": [{
2022
- "scroll-mt": b()
2025
+ "scroll-mt": g()
2023
2026
  }],
2024
2027
  /**
2025
2028
  * Scroll Margin Right
2026
2029
  * @see https://tailwindcss.com/docs/scroll-margin
2027
2030
  */
2028
2031
  "scroll-mr": [{
2029
- "scroll-mr": b()
2032
+ "scroll-mr": g()
2030
2033
  }],
2031
2034
  /**
2032
2035
  * Scroll Margin Bottom
2033
2036
  * @see https://tailwindcss.com/docs/scroll-margin
2034
2037
  */
2035
2038
  "scroll-mb": [{
2036
- "scroll-mb": b()
2039
+ "scroll-mb": g()
2037
2040
  }],
2038
2041
  /**
2039
2042
  * Scroll Margin Left
2040
2043
  * @see https://tailwindcss.com/docs/scroll-margin
2041
2044
  */
2042
2045
  "scroll-ml": [{
2043
- "scroll-ml": b()
2046
+ "scroll-ml": g()
2044
2047
  }],
2045
2048
  /**
2046
2049
  * Scroll Padding
2047
2050
  * @see https://tailwindcss.com/docs/scroll-padding
2048
2051
  */
2049
2052
  "scroll-p": [{
2050
- "scroll-p": b()
2053
+ "scroll-p": g()
2051
2054
  }],
2052
2055
  /**
2053
2056
  * Scroll Padding X
2054
2057
  * @see https://tailwindcss.com/docs/scroll-padding
2055
2058
  */
2056
2059
  "scroll-px": [{
2057
- "scroll-px": b()
2060
+ "scroll-px": g()
2058
2061
  }],
2059
2062
  /**
2060
2063
  * Scroll Padding Y
2061
2064
  * @see https://tailwindcss.com/docs/scroll-padding
2062
2065
  */
2063
2066
  "scroll-py": [{
2064
- "scroll-py": b()
2067
+ "scroll-py": g()
2065
2068
  }],
2066
2069
  /**
2067
2070
  * Scroll Padding Start
2068
2071
  * @see https://tailwindcss.com/docs/scroll-padding
2069
2072
  */
2070
2073
  "scroll-ps": [{
2071
- "scroll-ps": b()
2074
+ "scroll-ps": g()
2072
2075
  }],
2073
2076
  /**
2074
2077
  * Scroll Padding End
2075
2078
  * @see https://tailwindcss.com/docs/scroll-padding
2076
2079
  */
2077
2080
  "scroll-pe": [{
2078
- "scroll-pe": b()
2081
+ "scroll-pe": g()
2079
2082
  }],
2080
2083
  /**
2081
2084
  * Scroll Padding Top
2082
2085
  * @see https://tailwindcss.com/docs/scroll-padding
2083
2086
  */
2084
2087
  "scroll-pt": [{
2085
- "scroll-pt": b()
2088
+ "scroll-pt": g()
2086
2089
  }],
2087
2090
  /**
2088
2091
  * Scroll Padding Right
2089
2092
  * @see https://tailwindcss.com/docs/scroll-padding
2090
2093
  */
2091
2094
  "scroll-pr": [{
2092
- "scroll-pr": b()
2095
+ "scroll-pr": g()
2093
2096
  }],
2094
2097
  /**
2095
2098
  * Scroll Padding Bottom
2096
2099
  * @see https://tailwindcss.com/docs/scroll-padding
2097
2100
  */
2098
2101
  "scroll-pb": [{
2099
- "scroll-pb": b()
2102
+ "scroll-pb": g()
2100
2103
  }],
2101
2104
  /**
2102
2105
  * Scroll Padding Left
2103
2106
  * @see https://tailwindcss.com/docs/scroll-padding
2104
2107
  */
2105
2108
  "scroll-pl": [{
2106
- "scroll-pl": b()
2109
+ "scroll-pl": g()
2107
2110
  }],
2108
2111
  /**
2109
2112
  * Scroll Snap Align
@@ -2171,7 +2174,7 @@ const g = (e) => {
2171
2174
  * @see https://tailwindcss.com/docs/will-change
2172
2175
  */
2173
2176
  "will-change": [{
2174
- "will-change": ["auto", "scroll", "contents", "transform", l]
2177
+ "will-change": ["auto", "scroll", "contents", "transform", c]
2175
2178
  }],
2176
2179
  // SVG
2177
2180
  /**
@@ -2186,7 +2189,7 @@ const g = (e) => {
2186
2189
  * @see https://tailwindcss.com/docs/stroke-width
2187
2190
  */
2188
2191
  "stroke-w": [{
2189
- stroke: [S, z, V]
2192
+ stroke: [z, R, Y]
2190
2193
  }],
2191
2194
  /**
2192
2195
  * Stroke
@@ -2261,13 +2264,13 @@ const g = (e) => {
2261
2264
  "font-size": ["leading"]
2262
2265
  }
2263
2266
  };
2264
- }, dr = /* @__PURE__ */ Ve(cr);
2265
- function kr(...e) {
2266
- return dr(Ee(e));
2267
+ }, xt = /* @__PURE__ */ Ze(mt);
2268
+ function I(...e) {
2269
+ return xt($e(e));
2267
2270
  }
2268
- const q = typeof window > "u";
2269
- function ue(e, r, t = window) {
2270
- const o = Q(void 0);
2271
+ const D = typeof window > "u";
2272
+ function ge(e, r, t = window) {
2273
+ const o = X(void 0);
2271
2274
  k(() => {
2272
2275
  o.current = r;
2273
2276
  }, [r]), k(() => {
@@ -2280,98 +2283,203 @@ function ue(e, r, t = window) {
2280
2283
  };
2281
2284
  }, [e, t]);
2282
2285
  }
2283
- function J(e, r, t = {}) {
2284
- const { initializeWithValue: o = !0 } = t, i = E(
2286
+ function K(e, r, t = {}) {
2287
+ const { initializeWithValue: o = !0 } = t, i = N(
2285
2288
  (d) => t.serializer ? t.serializer(d) : JSON.stringify(d),
2286
2289
  [t]
2287
- ), n = E(
2290
+ ), n = N(
2288
2291
  (d) => {
2289
2292
  if (t.deserializer)
2290
2293
  return t.deserializer(d);
2291
2294
  if (d === "undefined")
2292
2295
  return;
2293
- const m = r instanceof Function ? r() : r;
2294
- let y;
2296
+ const b = r instanceof Function ? r() : r;
2297
+ let S;
2295
2298
  try {
2296
- y = JSON.parse(d);
2297
- } catch (x) {
2298
- return console.error("Error parsing JSON:", x), m;
2299
+ S = JSON.parse(d);
2300
+ } catch (w) {
2301
+ return console.error("Error parsing JSON:", w), b;
2299
2302
  }
2300
- return y;
2303
+ return S;
2301
2304
  },
2302
2305
  [t, r]
2303
- ), a = E(() => {
2306
+ ), a = N(() => {
2304
2307
  const d = r instanceof Function ? r() : r;
2305
- if (q)
2308
+ if (D)
2306
2309
  return d;
2307
2310
  try {
2308
- const m = window.localStorage.getItem(e);
2309
- return m ? n(m) : d;
2310
- } catch (m) {
2311
+ const b = window.localStorage.getItem(e);
2312
+ return b ? n(b) : d;
2313
+ } catch (b) {
2311
2314
  return console.warn(
2312
2315
  `Error reading localStorage key “${e}”:`,
2313
- m
2316
+ b
2314
2317
  ), d;
2315
2318
  }
2316
- }, [r, e, n]), [s, c] = Ae(() => o ? a() : r instanceof Function ? r() : r), u = E((d) => {
2317
- q && console.warn(
2319
+ }, [r, e, n]), [s, l] = Me(() => o ? a() : r instanceof Function ? r() : r), u = N((d) => {
2320
+ D && console.warn(
2318
2321
  `Tried setting localStorage key “${e}” even though environment is not a client`
2319
2322
  );
2320
2323
  try {
2321
- const m = d instanceof Function ? d(a()) : d;
2322
- window.localStorage.setItem(e, i(m)), c(m), window.dispatchEvent(
2324
+ const b = d instanceof Function ? d(a()) : d;
2325
+ window.localStorage.setItem(e, i(b)), l(b), window.dispatchEvent(
2323
2326
  new StorageEvent("local-storage", {
2324
2327
  key: e
2325
2328
  })
2326
2329
  );
2327
- } catch (m) {
2330
+ } catch (b) {
2328
2331
  console.warn(
2329
2332
  `Error setting localStorage key “${e}”:`,
2330
- m
2333
+ b
2331
2334
  );
2332
2335
  }
2333
- }, [e, i, a]), p = E(() => {
2334
- q && console.warn(
2336
+ }, [e, i, a]), p = N(() => {
2337
+ D && console.warn(
2335
2338
  `Tried removing localStorage key “${e}” even though environment is not a client`
2336
2339
  );
2337
2340
  const d = r instanceof Function ? r() : r;
2338
- window.localStorage.removeItem(e), c(d), window.dispatchEvent(
2341
+ window.localStorage.removeItem(e), l(d), window.dispatchEvent(
2339
2342
  new StorageEvent("local-storage", {
2340
2343
  key: e
2341
2344
  })
2342
2345
  );
2343
2346
  }, [e, r]);
2344
2347
  k(() => {
2345
- c(a());
2348
+ l(a());
2346
2349
  }, [e]);
2347
- const f = E(
2350
+ const f = N(
2348
2351
  (d) => {
2349
- d.key && d.key !== e || c(a());
2352
+ d.key && d.key !== e || l(a());
2350
2353
  },
2351
2354
  [e, a]
2352
2355
  );
2353
- return ue("storage", f), ue("local-storage", f), [s, u, p];
2356
+ return ge("storage", f), ge("local-storage", f), [s, u, p];
2354
2357
  }
2355
- function D(e) {
2358
+ const Ut = y.Root, Wt = y.Value, yt = P.forwardRef(({ className: e, children: r, ...t }, o) => /* @__PURE__ */ V(
2359
+ y.Trigger,
2360
+ {
2361
+ ref: o,
2362
+ className: I(
2363
+ "richtext-flex richtext-h-10 richtext-w-full richtext-items-center richtext-justify-between richtext-rounded-md richtext-border richtext-border-input richtext-bg-background richtext-px-3 richtext-py-2 richtext-text-sm richtext-ring-offset-background placeholder:richtext-text-muted-foreground focus:richtext-outline-none focus:richtext-ring-2 focus:richtext-ring-ring focus:richtext-ring-offset-1 disabled:richtext-cursor-not-allowed disabled:richtext-opacity-50 [&>span]:richtext-line-clamp-1",
2364
+ e
2365
+ ),
2366
+ ...t,
2367
+ children: [
2368
+ r,
2369
+ /* @__PURE__ */ m(y.Icon, { asChild: !0, children: /* @__PURE__ */ m(xe, { className: "richtext-size-4 richtext-opacity-50" }) })
2370
+ ]
2371
+ }
2372
+ ));
2373
+ yt.displayName = y.Trigger.displayName;
2374
+ const Ee = P.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ m(
2375
+ y.ScrollUpButton,
2376
+ {
2377
+ ref: t,
2378
+ className: I(
2379
+ "richtext-flex richtext-cursor-default richtext-items-center richtext-justify-center richtext-py-1",
2380
+ e
2381
+ ),
2382
+ ...r,
2383
+ children: /* @__PURE__ */ m(je, { className: "richtext-size-4" })
2384
+ }
2385
+ ));
2386
+ Ee.displayName = y.ScrollUpButton.displayName;
2387
+ const ze = P.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ m(
2388
+ y.ScrollDownButton,
2389
+ {
2390
+ ref: t,
2391
+ className: I(
2392
+ "richtext-flex richtext-cursor-default richtext-items-center richtext-justify-center richtext-py-1",
2393
+ e
2394
+ ),
2395
+ ...r,
2396
+ children: /* @__PURE__ */ m(xe, { className: "richtext-size-4" })
2397
+ }
2398
+ ));
2399
+ ze.displayName = y.ScrollDownButton.displayName;
2400
+ const wt = P.forwardRef(({ className: e, children: r, position: t = "popper", ...o }, i) => /* @__PURE__ */ m(y.Portal, { children: /* @__PURE__ */ V(
2401
+ y.Content,
2402
+ {
2403
+ "data-richtext-portal": !0,
2404
+ position: t,
2405
+ ref: i,
2406
+ className: I(
2407
+ "richtext-relative richtext-z-50 richtext-max-h-60 richtext-overflow-y-auto richtext-min-w-[8rem] richtext-overflow-hidden richtext-rounded-md richtext-border !richtext-border-border richtext-bg-popover richtext-text-popover-foreground richtext-shadow-md data-[state=open]:richtext-animate-in data-[state=closed]:richtext-animate-out data-[state=closed]:richtext-fade-out-0 data-[state=open]:richtext-fade-in-0 data-[state=closed]:richtext-zoom-out-95 data-[state=open]:richtext-zoom-in-95 data-[side=bottom]:richtext-slide-in-from-top-2 data-[side=left]:richtext-slide-in-from-right-2 data-[side=right]:richtext-slide-in-from-left-2 data-[side=top]:richtext-slide-in-from-bottom-2",
2408
+ t === "popper" && "data-[side=bottom]:richtext-translate-y-1 data-[side=left]:richtext--translate-x-1 data-[side=right]:richtext-translate-x-1 data-[side=top]:richtext--translate-y-1",
2409
+ e
2410
+ ),
2411
+ ...o,
2412
+ children: [
2413
+ /* @__PURE__ */ m(Ee, {}),
2414
+ /* @__PURE__ */ m(
2415
+ y.Viewport,
2416
+ {
2417
+ className: I(
2418
+ "richtext-p-1",
2419
+ t === "popper" && "richtext-h-[var(--radix-select-trigger-height)] richtext-w-full richtext-min-w-[var(--radix-select-trigger-width)]"
2420
+ ),
2421
+ children: r
2422
+ }
2423
+ ),
2424
+ /* @__PURE__ */ m(ze, {})
2425
+ ]
2426
+ }
2427
+ ) }));
2428
+ wt.displayName = y.Content.displayName;
2429
+ const vt = P.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ m(
2430
+ y.Label,
2431
+ {
2432
+ className: I("richtext-py-1.5 richtext-pl-8 richtext-pr-2 richtext-text-sm richtext-font-semibold", e),
2433
+ ref: t,
2434
+ ...r
2435
+ }
2436
+ ));
2437
+ vt.displayName = y.Label.displayName;
2438
+ const St = P.forwardRef(({ className: e, children: r, ...t }, o) => /* @__PURE__ */ V(
2439
+ y.Item,
2440
+ {
2441
+ ref: o,
2442
+ className: I(
2443
+ "richtext-relative richtext-flex richtext-w-full richtext-cursor-default richtext-select-none richtext-items-center richtext-rounded-sm richtext-py-1.5 richtext-pl-8 richtext-pr-2 richtext-text-sm richtext-outline-none focus:richtext-bg-accent focus:richtext-text-accent-foreground data-[disabled]:richtext-pointer-events-none data-[disabled]:richtext-opacity-50",
2444
+ e
2445
+ ),
2446
+ ...t,
2447
+ children: [
2448
+ /* @__PURE__ */ m("span", { className: "richtext-absolute richtext-left-2 richtext-flex richtext-size-3.5 richtext-items-center richtext-justify-center", children: /* @__PURE__ */ m(y.ItemIndicator, { children: /* @__PURE__ */ m(Oe, { className: "richtext-size-4" }) }) }),
2449
+ /* @__PURE__ */ m(y.ItemText, { children: r })
2450
+ ]
2451
+ }
2452
+ ));
2453
+ St.displayName = y.Item.displayName;
2454
+ const Ct = P.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ m(
2455
+ y.Separator,
2456
+ {
2457
+ className: I("richtext--mx-1 richtext-my-1 richtext-h-px richtext-bg-muted", e),
2458
+ ref: t,
2459
+ ...r
2460
+ }
2461
+ ));
2462
+ Ct.displayName = y.Separator.displayName;
2463
+ function oe(e) {
2356
2464
  function r() {
2357
- const n = Q(e), a = E(() => n.current, []), s = Q(/* @__PURE__ */ new Set()), c = E((p) => {
2465
+ const n = X(e), a = N(() => n.current, []), s = X(/* @__PURE__ */ new Set()), l = N((p) => {
2358
2466
  n.current = { ...n.current, ...p }, s.current.forEach((f) => f());
2359
- }, []), u = E((p) => (s.current.add(p), () => s.current.delete(p)), []);
2467
+ }, []), u = N((p) => (s.current.add(p), () => s.current.delete(p)), []);
2360
2468
  return {
2361
2469
  get: a,
2362
- set: c,
2470
+ set: l,
2363
2471
  subscribe: u
2364
2472
  };
2365
2473
  }
2366
- const t = ke(null);
2474
+ const t = Pe(null);
2367
2475
  function o({ children: n }) {
2368
- return /* @__PURE__ */ M(t.Provider, { value: r(), children: n });
2476
+ return /* @__PURE__ */ m(t.Provider, { value: r(), children: n });
2369
2477
  }
2370
2478
  function i(n) {
2371
- const a = Re(t);
2479
+ const a = Te(t);
2372
2480
  if (!a)
2373
2481
  throw new Error("Store not found");
2374
- return [Me(
2482
+ return [Ge(
2375
2483
  a.subscribe,
2376
2484
  () => n(a.get()),
2377
2485
  () => n(e)
@@ -2382,21 +2490,21 @@ function D(e) {
2382
2490
  useStore: i
2383
2491
  };
2384
2492
  }
2385
- D({
2493
+ oe({
2386
2494
  value: !1
2387
2495
  });
2388
- D({
2496
+ oe({
2389
2497
  value: !1
2390
2498
  });
2391
- const { Provider: ur, useStore: we } = D({
2499
+ const { Provider: Et, useStore: Ne } = oe({
2392
2500
  value: !1
2393
2501
  });
2394
- function Rr() {
2395
- const [e] = we((r) => r.value);
2502
+ function Ft() {
2503
+ const [e] = Ne((r) => r.value);
2396
2504
  return e;
2397
2505
  }
2398
- const pe = "data-rc-order", fe = "data-rc-priority", pr = "rc-util-key", K = /* @__PURE__ */ new Map();
2399
- function fr(e, r) {
2506
+ const be = "data-rc-order", me = "data-rc-priority", zt = "rc-util-key", ee = /* @__PURE__ */ new Map();
2507
+ function Nt(e, r) {
2400
2508
  if (!e)
2401
2509
  return !1;
2402
2510
  if (e.contains)
@@ -2409,67 +2517,67 @@ function fr(e, r) {
2409
2517
  }
2410
2518
  return !1;
2411
2519
  }
2412
- function ye({ mark: e } = {}) {
2413
- return e ? e.startsWith("data-") ? e : `data-${e}` : pr;
2520
+ function Re({ mark: e } = {}) {
2521
+ return e ? e.startsWith("data-") ? e : `data-${e}` : zt;
2414
2522
  }
2415
- function ee(e) {
2523
+ function ne(e) {
2416
2524
  return e.attachTo ? e.attachTo : document.querySelector("head") || document.body;
2417
2525
  }
2418
- function gr(e) {
2526
+ function Rt(e) {
2419
2527
  return e === "queue" ? "prependQueue" : e ? "prepend" : "append";
2420
2528
  }
2421
- function ve(e) {
2422
- return [...(K.get(e) || e).children].filter(
2529
+ function Ae(e) {
2530
+ return [...(ee.get(e) || e).children].filter(
2423
2531
  (r) => r.tagName === "STYLE"
2424
2532
  );
2425
2533
  }
2426
- function Ce(e, r = {}) {
2427
- const { csp: t, prepend: o, priority: i = 0 } = r, n = gr(o), a = n === "prependQueue", s = document.createElement("style");
2428
- s.setAttribute(pe, n), a && i && s.setAttribute(fe, `${i}`), t != null && t.nonce && (s.nonce = t == null ? void 0 : t.nonce), s.innerHTML = e;
2429
- const c = ee(r), { firstChild: u } = c;
2534
+ function ke(e, r = {}) {
2535
+ const { csp: t, prepend: o, priority: i = 0 } = r, n = Rt(o), a = n === "prependQueue", s = document.createElement("style");
2536
+ s.setAttribute(be, n), a && i && s.setAttribute(me, `${i}`), t != null && t.nonce && (s.nonce = t == null ? void 0 : t.nonce), s.innerHTML = e;
2537
+ const l = ne(r), { firstChild: u } = l;
2430
2538
  if (o) {
2431
2539
  if (a) {
2432
- const p = ve(c).filter((f) => {
2433
- if (!["prepend", "prependQueue"].includes(f.getAttribute(pe)))
2540
+ const p = Ae(l).filter((f) => {
2541
+ if (!["prepend", "prependQueue"].includes(f.getAttribute(be)))
2434
2542
  return !1;
2435
- const d = Number(f.getAttribute(fe) || 0);
2543
+ const d = Number(f.getAttribute(me) || 0);
2436
2544
  return i >= d;
2437
2545
  });
2438
2546
  if (p.length > 0)
2439
- return c.insertBefore(s, p.at(-1).nextSibling), s;
2547
+ return l.insertBefore(s, p.at(-1).nextSibling), s;
2440
2548
  }
2441
2549
  u.before(s);
2442
2550
  } else
2443
- c.append(s);
2551
+ l.append(s);
2444
2552
  return s;
2445
2553
  }
2446
- function Se(e, r = {}) {
2447
- const t = ee(r);
2448
- return ve(t).find((o) => o.getAttribute(ye(r)) === e);
2554
+ function Ie(e, r = {}) {
2555
+ const t = ne(r);
2556
+ return Ae(t).find((o) => o.getAttribute(Re(r)) === e);
2449
2557
  }
2450
- function br(e, r = {}) {
2451
- const t = Se(e, r);
2558
+ function At(e, r = {}) {
2559
+ const t = Ie(e, r);
2452
2560
  t && t.remove();
2453
2561
  }
2454
- function mr(e, r) {
2455
- const t = K.get(e);
2456
- if (!t || !fr(document, t)) {
2457
- const o = Ce("", r), { parentNode: i } = o;
2458
- K.set(e, i), o.remove();
2562
+ function kt(e, r) {
2563
+ const t = ee.get(e);
2564
+ if (!t || !Nt(document, t)) {
2565
+ const o = ke("", r), { parentNode: i } = o;
2566
+ ee.set(e, i), o.remove();
2459
2567
  }
2460
2568
  }
2461
- function hr(e, r, t = {}) {
2462
- var a, s, c;
2463
- const o = ee(t);
2464
- mr(o, t);
2465
- const i = Se(r, t);
2569
+ function It(e, r, t = {}) {
2570
+ var a, s, l;
2571
+ const o = ne(t);
2572
+ kt(o, t);
2573
+ const i = Ie(r, t);
2466
2574
  if (i)
2467
- return (a = t.csp) != null && a.nonce && i.nonce !== ((s = t.csp) == null ? void 0 : s.nonce) && (i.nonce = (c = t.csp) == null ? void 0 : c.nonce), i.innerHTML !== e && (i.innerHTML = e), i;
2468
- const n = Ce(e, t);
2469
- return n.setAttribute(ye(t), r), n;
2575
+ return (a = t.csp) != null && a.nonce && i.nonce !== ((s = t.csp) == null ? void 0 : s.nonce) && (i.nonce = (l = t.csp) == null ? void 0 : l.nonce), i.innerHTML !== e && (i.innerHTML = e), i;
2576
+ const n = ke(e, t);
2577
+ return n.setAttribute(Re(t), r), n;
2470
2578
  }
2471
- const xr = Pe(({ editor: e, children: r }) => {
2472
- const [, t] = we((i) => i.value);
2579
+ const Mt = Le(({ editor: e, children: r }) => {
2580
+ const [, t] = Ne((i) => i.value);
2473
2581
  k(() => {
2474
2582
  t({
2475
2583
  value: e == null ? void 0 : e.isEditable
@@ -2482,76 +2590,81 @@ const xr = Pe(({ editor: e, children: r }) => {
2482
2590
  };
2483
2591
  return k(() => (e && e.on("update", o), () => {
2484
2592
  e && e.off("update", o);
2485
- }), [e]), /* @__PURE__ */ M(X, { children: r });
2593
+ }), [e]), /* @__PURE__ */ m(te, { children: r });
2486
2594
  });
2487
- function wr() {
2488
- const [e, r] = Ne(Ge), t = (o) => {
2595
+ function Pt() {
2596
+ const [e, r] = _e(Be), t = (o) => {
2489
2597
  r({
2490
2598
  ...e,
2491
2599
  currentLang: o.detail
2492
2600
  });
2493
2601
  };
2494
2602
  return k(() => {
2495
- const o = _(W.CHANGE_LANGUAGE, t);
2603
+ const o = W(F.CHANGE_LANGUAGE, t);
2496
2604
  return () => {
2497
2605
  o();
2498
2606
  };
2499
- }, []), /* @__PURE__ */ M(X, {});
2607
+ }, []), /* @__PURE__ */ m(te, {});
2500
2608
  }
2501
- function yr() {
2502
- const [e, r] = J("richtext-theme", "light"), [t, o] = J("richtext-color", "default"), [i, n] = J("richtext-border-radius", "0.65rem");
2609
+ function Tt() {
2610
+ const [e, r] = K("richtext-theme", "light"), [t, o] = K("richtext-color", "default"), [i, n] = K("richtext-border-radius", "0.65rem");
2503
2611
  k(() => {
2504
2612
  const u = e || "light", p = t || "default";
2505
- let f = le[u][p];
2613
+ let f = pe[u][p];
2506
2614
  if (!f) {
2507
- f = le.light.default;
2615
+ f = pe.light.default;
2508
2616
  return;
2509
2617
  }
2510
- return hr(`
2618
+ return It(`
2511
2619
  .reactjs-tiptap-editor, .reactjs-tiptap-editor *,
2512
2620
  div[data-richtext-portal], div[data-richtext-portal] * {
2513
- ${Object.entries(f).map(([d, m]) => typeof i == "string" && d === "radius" ? `--${d}: ${i};` : `--${d}: ${m};`).join(`
2621
+ ${Object.entries(f).map(([d, b]) => typeof i == "string" && d === "radius" ? `--${d}: ${i};` : `--${d}: ${b};`).join(`
2514
2622
  `)}
2515
2623
  }
2516
2624
  `, "richtext-theme", {
2517
2625
  priority: 50
2518
2626
  }), () => {
2519
- br("richtext-theme");
2627
+ At("richtext-theme");
2520
2628
  };
2521
2629
  }, [e, t, i]);
2522
2630
  const a = (u) => {
2523
2631
  r(u.detail);
2524
2632
  }, s = (u) => {
2525
2633
  o(u.detail);
2526
- }, c = (u) => {
2634
+ }, l = (u) => {
2527
2635
  n(u.detail);
2528
2636
  };
2529
2637
  return k(() => {
2530
- const u = _(W.CHANGE_THEME, a), p = _(W.CHANGE_COLOR, s), f = _(W.CHANGE_BORDER_RADIUS, c);
2638
+ const u = W(F.CHANGE_THEME, a), p = W(F.CHANGE_COLOR, s), f = W(F.CHANGE_BORDER_RADIUS, l);
2531
2639
  return () => {
2532
2640
  u(), p(), f();
2533
2641
  };
2534
- }, []), /* @__PURE__ */ M(X, {});
2642
+ }, []), /* @__PURE__ */ m(te, {});
2535
2643
  }
2536
- function Mr({ editor: e, children: r, id: t }) {
2537
- return /* @__PURE__ */ ze(ur, { children: [
2538
- /* @__PURE__ */ M(
2539
- xr,
2644
+ function Vt({ editor: e, children: r, id: t }) {
2645
+ return /* @__PURE__ */ V(Et, { children: [
2646
+ /* @__PURE__ */ m(
2647
+ Mt,
2540
2648
  {
2541
2649
  editor: e,
2542
2650
  id: t,
2543
2651
  children: r
2544
2652
  }
2545
2653
  ),
2546
- /* @__PURE__ */ M(wr, {}),
2547
- /* @__PURE__ */ M(yr, {})
2654
+ /* @__PURE__ */ m(Pt, {}),
2655
+ /* @__PURE__ */ m(Tt, {})
2548
2656
  ] });
2549
2657
  }
2550
2658
  export {
2551
- Mr as P,
2552
- J as a,
2553
- Rr as b,
2554
- kr as c,
2555
- br as r,
2556
- hr as u
2659
+ Vt as P,
2660
+ Ut as S,
2661
+ K as a,
2662
+ Ft as b,
2663
+ I as c,
2664
+ yt as d,
2665
+ Wt as e,
2666
+ wt as f,
2667
+ St as g,
2668
+ At as r,
2669
+ It as u
2557
2670
  };