@abduljebar/text-editor 2.2.3 → 2.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import He, { useRef as be, useState as le, useEffect as ve, useCallback as D } from "react";
1
+ import De, { useRef as be, useState as le, useEffect as ve, useCallback as G } from "react";
2
2
  var ue = { exports: {} }, ie = {};
3
3
  /**
4
4
  * @license React
@@ -9,17 +9,17 @@ var ue = { exports: {} }, ie = {};
9
9
  * This source code is licensed under the MIT license found in the
10
10
  * LICENSE file in the root directory of this source tree.
11
11
  */
12
- var _e;
12
+ var Ce;
13
13
  function $e() {
14
- if (_e) return ie;
15
- _e = 1;
16
- var e = Symbol.for("react.transitional.element"), a = Symbol.for("react.fragment");
17
- function n(t, o, b) {
14
+ if (Ce) return ie;
15
+ Ce = 1;
16
+ var e = Symbol.for("react.transitional.element"), l = Symbol.for("react.fragment");
17
+ function a(t, o, b) {
18
18
  var p = null;
19
19
  if (b !== void 0 && (p = "" + b), o.key !== void 0 && (p = "" + o.key), "key" in o) {
20
20
  b = {};
21
- for (var y in o)
22
- y !== "key" && (b[y] = o[y]);
21
+ for (var w in o)
22
+ w !== "key" && (b[w] = o[w]);
23
23
  } else b = o;
24
24
  return o = b.ref, {
25
25
  $$typeof: e,
@@ -29,7 +29,7 @@ function $e() {
29
29
  props: b
30
30
  };
31
31
  }
32
- return ie.Fragment = a, ie.jsx = n, ie.jsxs = n, ie;
32
+ return ie.Fragment = l, ie.jsx = a, ie.jsxs = a, ie;
33
33
  }
34
34
  var ce = {};
35
35
  /**
@@ -41,24 +41,24 @@ var ce = {};
41
41
  * This source code is licensed under the MIT license found in the
42
42
  * LICENSE file in the root directory of this source tree.
43
43
  */
44
- var Ce;
44
+ var je;
45
45
  function Ve() {
46
- return Ce || (Ce = 1, process.env.NODE_ENV !== "production" && (function() {
46
+ return je || (je = 1, process.env.NODE_ENV !== "production" && (function() {
47
47
  function e(r) {
48
48
  if (r == null) return null;
49
49
  if (typeof r == "function")
50
50
  return r.$$typeof === Q ? null : r.displayName || r.name || null;
51
51
  if (typeof r == "string") return r;
52
52
  switch (r) {
53
- case z:
53
+ case L:
54
54
  return "Fragment";
55
55
  case $:
56
56
  return "Profiler";
57
- case L:
57
+ case I:
58
58
  return "StrictMode";
59
- case F:
59
+ case T:
60
60
  return "Suspense";
61
- case R:
61
+ case A:
62
62
  return "SuspenseList";
63
63
  case X:
64
64
  return "Activity";
@@ -67,53 +67,53 @@ function Ve() {
67
67
  switch (typeof r.tag == "number" && console.error(
68
68
  "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
69
69
  ), r.$$typeof) {
70
- case T:
70
+ case F:
71
71
  return "Portal";
72
- case B:
72
+ case R:
73
73
  return r.displayName || "Context";
74
74
  case U:
75
75
  return (r._context.displayName || "Context") + ".Consumer";
76
- case G:
77
- var g = r.render;
78
- return r = r.displayName, r || (r = g.displayName || g.name || "", r = r !== "" ? "ForwardRef(" + r + ")" : "ForwardRef"), r;
79
- case u:
80
- return g = r.displayName || null, g !== null ? g : e(r.type) || "Memo";
81
- case A:
82
- g = r._payload, r = r._init;
76
+ case O:
77
+ var h = r.render;
78
+ return r = r.displayName, r || (r = h.displayName || h.name || "", r = r !== "" ? "ForwardRef(" + r + ")" : "ForwardRef"), r;
79
+ case m:
80
+ return h = r.displayName || null, h !== null ? h : e(r.type) || "Memo";
81
+ case z:
82
+ h = r._payload, r = r._init;
83
83
  try {
84
- return e(r(g));
84
+ return e(r(h));
85
85
  } catch {
86
86
  }
87
87
  }
88
88
  return null;
89
89
  }
90
- function a(r) {
90
+ function l(r) {
91
91
  return "" + r;
92
92
  }
93
- function n(r) {
93
+ function a(r) {
94
94
  try {
95
- a(r);
96
- var g = !1;
95
+ l(r);
96
+ var h = !1;
97
97
  } catch {
98
- g = !0;
98
+ h = !0;
99
99
  }
100
- if (g) {
101
- g = console;
102
- var f = g.error, w = typeof Symbol == "function" && Symbol.toStringTag && r[Symbol.toStringTag] || r.constructor.name || "Object";
103
- return f.call(
104
- g,
100
+ if (h) {
101
+ h = console;
102
+ var d = h.error, k = typeof Symbol == "function" && Symbol.toStringTag && r[Symbol.toStringTag] || r.constructor.name || "Object";
103
+ return d.call(
104
+ h,
105
105
  "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
106
- w
107
- ), a(r);
106
+ k
107
+ ), l(r);
108
108
  }
109
109
  }
110
110
  function t(r) {
111
- if (r === z) return "<>";
112
- if (typeof r == "object" && r !== null && r.$$typeof === A)
111
+ if (r === L) return "<>";
112
+ if (typeof r == "object" && r !== null && r.$$typeof === z)
113
113
  return "<...>";
114
114
  try {
115
- var g = e(r);
116
- return g ? "<" + g + ">" : "<...>";
115
+ var h = e(r);
116
+ return h ? "<" + h + ">" : "<...>";
117
117
  } catch {
118
118
  return "<...>";
119
119
  }
@@ -127,40 +127,40 @@ function Ve() {
127
127
  }
128
128
  function p(r) {
129
129
  if (K.call(r, "key")) {
130
- var g = Object.getOwnPropertyDescriptor(r, "key").get;
131
- if (g && g.isReactWarning) return !1;
130
+ var h = Object.getOwnPropertyDescriptor(r, "key").get;
131
+ if (h && h.isReactWarning) return !1;
132
132
  }
133
133
  return r.key !== void 0;
134
134
  }
135
- function y(r, g) {
136
- function f() {
137
- M || (M = !0, console.error(
135
+ function w(r, h) {
136
+ function d() {
137
+ P || (P = !0, console.error(
138
138
  "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
139
- g
139
+ h
140
140
  ));
141
141
  }
142
- f.isReactWarning = !0, Object.defineProperty(r, "key", {
143
- get: f,
142
+ d.isReactWarning = !0, Object.defineProperty(r, "key", {
143
+ get: d,
144
144
  configurable: !0
145
145
  });
146
146
  }
147
- function h() {
147
+ function g() {
148
148
  var r = e(this.type);
149
- return O[r] || (O[r] = !0, console.error(
149
+ return B[r] || (B[r] = !0, console.error(
150
150
  "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
151
151
  )), r = this.props.ref, r !== void 0 ? r : null;
152
152
  }
153
- function x(r, g, f, w, W, d) {
154
- var s = f.ref;
153
+ function x(r, h, d, k, q, u) {
154
+ var n = d.ref;
155
155
  return r = {
156
- $$typeof: E,
156
+ $$typeof: _,
157
157
  type: r,
158
- key: g,
159
- props: f,
160
- _owner: w
161
- }, (s !== void 0 ? s : null) !== null ? Object.defineProperty(r, "ref", {
158
+ key: h,
159
+ props: d,
160
+ _owner: k
161
+ }, (n !== void 0 ? n : null) !== null ? Object.defineProperty(r, "ref", {
162
162
  enumerable: !1,
163
- get: h
163
+ get: g
164
164
  }) : Object.defineProperty(r, "ref", { enumerable: !1, value: null }), r._store = {}, Object.defineProperty(r._store, "validated", {
165
165
  configurable: !1,
166
166
  enumerable: !1,
@@ -175,182 +175,182 @@ function Ve() {
175
175
  configurable: !1,
176
176
  enumerable: !1,
177
177
  writable: !0,
178
- value: W
178
+ value: q
179
179
  }), Object.defineProperty(r, "_debugTask", {
180
180
  configurable: !1,
181
181
  enumerable: !1,
182
182
  writable: !0,
183
- value: d
183
+ value: u
184
184
  }), Object.freeze && (Object.freeze(r.props), Object.freeze(r)), r;
185
185
  }
186
- function _(r, g, f, w, W, d) {
187
- var s = g.children;
188
- if (s !== void 0)
189
- if (w)
190
- if (v(s)) {
191
- for (w = 0; w < s.length; w++)
192
- S(s[w]);
193
- Object.freeze && Object.freeze(s);
186
+ function C(r, h, d, k, q, u) {
187
+ var n = h.children;
188
+ if (n !== void 0)
189
+ if (k)
190
+ if (v(n)) {
191
+ for (k = 0; k < n.length; k++)
192
+ S(n[k]);
193
+ Object.freeze && Object.freeze(n);
194
194
  } else
195
195
  console.error(
196
196
  "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
197
197
  );
198
- else S(s);
199
- if (K.call(g, "key")) {
200
- s = e(r);
201
- var j = Object.keys(g).filter(function(q) {
202
- return q !== "key";
198
+ else S(n);
199
+ if (K.call(h, "key")) {
200
+ n = e(r);
201
+ var E = Object.keys(h).filter(function(W) {
202
+ return W !== "key";
203
203
  });
204
- w = 0 < j.length ? "{key: someKey, " + j.join(": ..., ") + ": ...}" : "{key: someKey}", re[s + w] || (j = 0 < j.length ? "{" + j.join(": ..., ") + ": ...}" : "{}", console.error(
204
+ k = 0 < E.length ? "{key: someKey, " + E.join(": ..., ") + ": ...}" : "{key: someKey}", re[n + k] || (E = 0 < E.length ? "{" + E.join(": ..., ") + ": ...}" : "{}", console.error(
205
205
  `A props object containing a "key" prop is being spread into JSX:
206
206
  let props = %s;
207
207
  <%s {...props} />
208
208
  React keys must be passed directly to JSX without using spread:
209
209
  let props = %s;
210
210
  <%s key={someKey} {...props} />`,
211
- w,
212
- s,
213
- j,
214
- s
215
- ), re[s + w] = !0);
211
+ k,
212
+ n,
213
+ E,
214
+ n
215
+ ), re[n + k] = !0);
216
216
  }
217
- if (s = null, f !== void 0 && (n(f), s = "" + f), p(g) && (n(g.key), s = "" + g.key), "key" in g) {
218
- f = {};
219
- for (var N in g)
220
- N !== "key" && (f[N] = g[N]);
221
- } else f = g;
222
- return s && y(
223
- f,
217
+ if (n = null, d !== void 0 && (a(d), n = "" + d), p(h) && (a(h.key), n = "" + h.key), "key" in h) {
218
+ d = {};
219
+ for (var M in h)
220
+ M !== "key" && (d[M] = h[M]);
221
+ } else d = h;
222
+ return n && w(
223
+ d,
224
224
  typeof r == "function" ? r.displayName || r.name || "Unknown" : r
225
225
  ), x(
226
226
  r,
227
- s,
228
- f,
227
+ n,
228
+ d,
229
229
  o(),
230
- W,
231
- d
230
+ q,
231
+ u
232
232
  );
233
233
  }
234
234
  function S(r) {
235
- H(r) ? r._store && (r._store.validated = 1) : typeof r == "object" && r !== null && r.$$typeof === A && (r._payload.status === "fulfilled" ? H(r._payload.value) && r._payload.value._store && (r._payload.value._store.validated = 1) : r._store && (r._store.validated = 1));
235
+ D(r) ? r._store && (r._store.validated = 1) : typeof r == "object" && r !== null && r.$$typeof === z && (r._payload.status === "fulfilled" ? D(r._payload.value) && r._payload.value._store && (r._payload.value._store.validated = 1) : r._store && (r._store.validated = 1));
236
236
  }
237
- function H(r) {
238
- return typeof r == "object" && r !== null && r.$$typeof === E;
237
+ function D(r) {
238
+ return typeof r == "object" && r !== null && r.$$typeof === _;
239
239
  }
240
- var P = He, E = Symbol.for("react.transitional.element"), T = Symbol.for("react.portal"), z = Symbol.for("react.fragment"), L = Symbol.for("react.strict_mode"), $ = Symbol.for("react.profiler"), U = Symbol.for("react.consumer"), B = Symbol.for("react.context"), G = Symbol.for("react.forward_ref"), F = Symbol.for("react.suspense"), R = Symbol.for("react.suspense_list"), u = Symbol.for("react.memo"), A = Symbol.for("react.lazy"), X = Symbol.for("react.activity"), Q = Symbol.for("react.client.reference"), V = P.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, K = Object.prototype.hasOwnProperty, v = Array.isArray, I = console.createTask ? console.createTask : function() {
240
+ var N = De, _ = Symbol.for("react.transitional.element"), F = Symbol.for("react.portal"), L = Symbol.for("react.fragment"), I = Symbol.for("react.strict_mode"), $ = Symbol.for("react.profiler"), U = Symbol.for("react.consumer"), R = Symbol.for("react.context"), O = Symbol.for("react.forward_ref"), T = Symbol.for("react.suspense"), A = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), z = Symbol.for("react.lazy"), X = Symbol.for("react.activity"), Q = Symbol.for("react.client.reference"), V = N.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, K = Object.prototype.hasOwnProperty, v = Array.isArray, H = console.createTask ? console.createTask : function() {
241
241
  return null;
242
242
  };
243
- P = {
243
+ N = {
244
244
  react_stack_bottom_frame: function(r) {
245
245
  return r();
246
246
  }
247
247
  };
248
- var M, O = {}, m = P.react_stack_bottom_frame.bind(
249
- P,
248
+ var P, B = {}, f = N.react_stack_bottom_frame.bind(
249
+ N,
250
250
  b
251
- )(), ee = I(t(b)), re = {};
252
- ce.Fragment = z, ce.jsx = function(r, g, f) {
253
- var w = 1e4 > V.recentlyCreatedOwnerStacks++;
254
- return _(
251
+ )(), ee = H(t(b)), re = {};
252
+ ce.Fragment = L, ce.jsx = function(r, h, d) {
253
+ var k = 1e4 > V.recentlyCreatedOwnerStacks++;
254
+ return C(
255
255
  r,
256
- g,
257
- f,
256
+ h,
257
+ d,
258
258
  !1,
259
- w ? Error("react-stack-top-frame") : m,
260
- w ? I(t(r)) : ee
259
+ k ? Error("react-stack-top-frame") : f,
260
+ k ? H(t(r)) : ee
261
261
  );
262
- }, ce.jsxs = function(r, g, f) {
263
- var w = 1e4 > V.recentlyCreatedOwnerStacks++;
264
- return _(
262
+ }, ce.jsxs = function(r, h, d) {
263
+ var k = 1e4 > V.recentlyCreatedOwnerStacks++;
264
+ return C(
265
265
  r,
266
- g,
267
- f,
266
+ h,
267
+ d,
268
268
  !0,
269
- w ? Error("react-stack-top-frame") : m,
270
- w ? I(t(r)) : ee
269
+ k ? Error("react-stack-top-frame") : f,
270
+ k ? H(t(r)) : ee
271
271
  );
272
272
  };
273
273
  })()), ce;
274
274
  }
275
- var Ee;
276
- function We() {
277
- return Ee || (Ee = 1, process.env.NODE_ENV === "production" ? ue.exports = $e() : ue.exports = Ve()), ue.exports;
275
+ var _e;
276
+ function qe() {
277
+ return _e || (_e = 1, process.env.NODE_ENV === "production" ? ue.exports = $e() : ue.exports = Ve()), ue.exports;
278
278
  }
279
- var c = We();
280
- const ye = "-", qe = (e) => {
281
- const a = Ye(e), {
282
- conflictingClassGroups: n,
279
+ var s = qe();
280
+ const we = "-", We = (e) => {
281
+ const l = Ye(e), {
282
+ conflictingClassGroups: a,
283
283
  conflictingClassGroupModifiers: t
284
284
  } = e;
285
285
  return {
286
286
  getClassGroupId: (p) => {
287
- const y = p.split(ye);
288
- return y[0] === "" && y.length !== 1 && y.shift(), Se(y, a) || Ue(p);
287
+ const w = p.split(we);
288
+ return w[0] === "" && w.length !== 1 && w.shift(), Ae(w, l) || Ue(p);
289
289
  },
290
- getConflictingClassGroupIds: (p, y) => {
291
- const h = n[p] || [];
292
- return y && t[p] ? [...h, ...t[p]] : h;
290
+ getConflictingClassGroupIds: (p, w) => {
291
+ const g = a[p] || [];
292
+ return w && t[p] ? [...g, ...t[p]] : g;
293
293
  }
294
294
  };
295
- }, Se = (e, a) => {
295
+ }, Ae = (e, l) => {
296
296
  if (e.length === 0)
297
- return a.classGroupId;
298
- const n = e[0], t = a.nextPart.get(n), o = t ? Se(e.slice(1), t) : void 0;
297
+ return l.classGroupId;
298
+ const a = e[0], t = l.nextPart.get(a), o = t ? Ae(e.slice(1), t) : void 0;
299
299
  if (o)
300
300
  return o;
301
- if (a.validators.length === 0)
301
+ if (l.validators.length === 0)
302
302
  return;
303
- const b = e.join(ye);
304
- return a.validators.find(({
303
+ const b = e.join(we);
304
+ return l.validators.find(({
305
305
  validator: p
306
306
  }) => p(b))?.classGroupId;
307
- }, je = /^\[(.+)\]$/, Ue = (e) => {
308
- if (je.test(e)) {
309
- const a = je.exec(e)[1], n = a?.substring(0, a.indexOf(":"));
310
- if (n)
311
- return "arbitrary.." + n;
307
+ }, Ee = /^\[(.+)\]$/, Ue = (e) => {
308
+ if (Ee.test(e)) {
309
+ const l = Ee.exec(e)[1], a = l?.substring(0, l.indexOf(":"));
310
+ if (a)
311
+ return "arbitrary.." + a;
312
312
  }
313
313
  }, Ye = (e) => {
314
314
  const {
315
- theme: a,
316
- classGroups: n
315
+ theme: l,
316
+ classGroups: a
317
317
  } = e, t = {
318
318
  nextPart: /* @__PURE__ */ new Map(),
319
319
  validators: []
320
320
  };
321
- for (const o in n)
322
- xe(n[o], t, o, a);
321
+ for (const o in a)
322
+ xe(a[o], t, o, l);
323
323
  return t;
324
- }, xe = (e, a, n, t) => {
324
+ }, xe = (e, l, a, t) => {
325
325
  e.forEach((o) => {
326
326
  if (typeof o == "string") {
327
- const b = o === "" ? a : Te(a, o);
328
- b.classGroupId = n;
327
+ const b = o === "" ? l : Fe(l, o);
328
+ b.classGroupId = a;
329
329
  return;
330
330
  }
331
331
  if (typeof o == "function") {
332
332
  if (Ze(o)) {
333
- xe(o(t), a, n, t);
333
+ xe(o(t), l, a, t);
334
334
  return;
335
335
  }
336
- a.validators.push({
336
+ l.validators.push({
337
337
  validator: o,
338
- classGroupId: n
338
+ classGroupId: a
339
339
  });
340
340
  return;
341
341
  }
342
342
  Object.entries(o).forEach(([b, p]) => {
343
- xe(p, Te(a, b), n, t);
343
+ xe(p, Fe(l, b), a, t);
344
344
  });
345
345
  });
346
- }, Te = (e, a) => {
347
- let n = e;
348
- return a.split(ye).forEach((t) => {
349
- n.nextPart.has(t) || n.nextPart.set(t, {
346
+ }, Fe = (e, l) => {
347
+ let a = e;
348
+ return l.split(we).forEach((t) => {
349
+ a.nextPart.has(t) || a.nextPart.set(t, {
350
350
  nextPart: /* @__PURE__ */ new Map(),
351
351
  validators: []
352
- }), n = n.nextPart.get(t);
353
- }), n;
352
+ }), a = a.nextPart.get(t);
353
+ }), a;
354
354
  }, Ze = (e) => e.isThemeGetter, Je = (e) => {
355
355
  if (e < 1)
356
356
  return {
@@ -359,54 +359,54 @@ const ye = "-", qe = (e) => {
359
359
  set: () => {
360
360
  }
361
361
  };
362
- let a = 0, n = /* @__PURE__ */ new Map(), t = /* @__PURE__ */ new Map();
362
+ let l = 0, a = /* @__PURE__ */ new Map(), t = /* @__PURE__ */ new Map();
363
363
  const o = (b, p) => {
364
- n.set(b, p), a++, a > e && (a = 0, t = n, n = /* @__PURE__ */ new Map());
364
+ a.set(b, p), l++, l > e && (l = 0, t = a, a = /* @__PURE__ */ new Map());
365
365
  };
366
366
  return {
367
367
  get(b) {
368
- let p = n.get(b);
368
+ let p = a.get(b);
369
369
  if (p !== void 0)
370
370
  return p;
371
371
  if ((p = t.get(b)) !== void 0)
372
372
  return o(b, p), p;
373
373
  },
374
374
  set(b, p) {
375
- n.has(b) ? n.set(b, p) : o(b, p);
375
+ a.has(b) ? a.set(b, p) : o(b, p);
376
376
  }
377
377
  };
378
- }, ke = "!", we = ":", Xe = we.length, Qe = (e) => {
378
+ }, ye = "!", ke = ":", Xe = ke.length, Qe = (e) => {
379
379
  const {
380
- prefix: a,
381
- experimentalParseClassName: n
380
+ prefix: l,
381
+ experimentalParseClassName: a
382
382
  } = e;
383
383
  let t = (o) => {
384
384
  const b = [];
385
- let p = 0, y = 0, h = 0, x;
386
- for (let E = 0; E < o.length; E++) {
387
- let T = o[E];
388
- if (p === 0 && y === 0) {
389
- if (T === we) {
390
- b.push(o.slice(h, E)), h = E + Xe;
385
+ let p = 0, w = 0, g = 0, x;
386
+ for (let _ = 0; _ < o.length; _++) {
387
+ let F = o[_];
388
+ if (p === 0 && w === 0) {
389
+ if (F === ke) {
390
+ b.push(o.slice(g, _)), g = _ + Xe;
391
391
  continue;
392
392
  }
393
- if (T === "/") {
394
- x = E;
393
+ if (F === "/") {
394
+ x = _;
395
395
  continue;
396
396
  }
397
397
  }
398
- T === "[" ? p++ : T === "]" ? p-- : T === "(" ? y++ : T === ")" && y--;
398
+ F === "[" ? p++ : F === "]" ? p-- : F === "(" ? w++ : F === ")" && w--;
399
399
  }
400
- const _ = b.length === 0 ? o : o.substring(h), S = Ke(_), H = S !== _, P = x && x > h ? x - h : void 0;
400
+ const C = b.length === 0 ? o : o.substring(g), S = Ke(C), D = S !== C, N = x && x > g ? x - g : void 0;
401
401
  return {
402
402
  modifiers: b,
403
- hasImportantModifier: H,
403
+ hasImportantModifier: D,
404
404
  baseClassName: S,
405
- maybePostfixModifierPosition: P
405
+ maybePostfixModifierPosition: N
406
406
  };
407
407
  };
408
- if (a) {
409
- const o = a + we, b = t;
408
+ if (l) {
409
+ const o = l + ke, b = t;
410
410
  t = (p) => p.startsWith(o) ? b(p.substring(o.length)) : {
411
411
  isExternal: !0,
412
412
  modifiers: [],
@@ -415,122 +415,122 @@ const ye = "-", qe = (e) => {
415
415
  maybePostfixModifierPosition: void 0
416
416
  };
417
417
  }
418
- if (n) {
418
+ if (a) {
419
419
  const o = t;
420
- t = (b) => n({
420
+ t = (b) => a({
421
421
  className: b,
422
422
  parseClassName: o
423
423
  });
424
424
  }
425
425
  return t;
426
- }, Ke = (e) => e.endsWith(ke) ? e.substring(0, e.length - 1) : e.startsWith(ke) ? e.substring(1) : e, er = (e) => {
427
- const a = Object.fromEntries(e.orderSensitiveModifiers.map((t) => [t, !0]));
426
+ }, Ke = (e) => e.endsWith(ye) ? e.substring(0, e.length - 1) : e.startsWith(ye) ? e.substring(1) : e, er = (e) => {
427
+ const l = Object.fromEntries(e.orderSensitiveModifiers.map((t) => [t, !0]));
428
428
  return (t) => {
429
429
  if (t.length <= 1)
430
430
  return t;
431
431
  const o = [];
432
432
  let b = [];
433
433
  return t.forEach((p) => {
434
- p[0] === "[" || a[p] ? (o.push(...b.sort(), p), b = []) : b.push(p);
434
+ p[0] === "[" || l[p] ? (o.push(...b.sort(), p), b = []) : b.push(p);
435
435
  }), o.push(...b.sort()), o;
436
436
  };
437
437
  }, rr = (e) => ({
438
438
  cache: Je(e.cacheSize),
439
439
  parseClassName: Qe(e),
440
440
  sortModifiers: er(e),
441
- ...qe(e)
442
- }), tr = /\s+/, or = (e, a) => {
441
+ ...We(e)
442
+ }), tr = /\s+/, or = (e, l) => {
443
443
  const {
444
- parseClassName: n,
444
+ parseClassName: a,
445
445
  getClassGroupId: t,
446
446
  getConflictingClassGroupIds: o,
447
447
  sortModifiers: b
448
- } = a, p = [], y = e.trim().split(tr);
449
- let h = "";
450
- for (let x = y.length - 1; x >= 0; x -= 1) {
451
- const _ = y[x], {
448
+ } = l, p = [], w = e.trim().split(tr);
449
+ let g = "";
450
+ for (let x = w.length - 1; x >= 0; x -= 1) {
451
+ const C = w[x], {
452
452
  isExternal: S,
453
- modifiers: H,
454
- hasImportantModifier: P,
455
- baseClassName: E,
456
- maybePostfixModifierPosition: T
457
- } = n(_);
453
+ modifiers: D,
454
+ hasImportantModifier: N,
455
+ baseClassName: _,
456
+ maybePostfixModifierPosition: F
457
+ } = a(C);
458
458
  if (S) {
459
- h = _ + (h.length > 0 ? " " + h : h);
459
+ g = C + (g.length > 0 ? " " + g : g);
460
460
  continue;
461
461
  }
462
- let z = !!T, L = t(z ? E.substring(0, T) : E);
463
- if (!L) {
464
- if (!z) {
465
- h = _ + (h.length > 0 ? " " + h : h);
462
+ let L = !!F, I = t(L ? _.substring(0, F) : _);
463
+ if (!I) {
464
+ if (!L) {
465
+ g = C + (g.length > 0 ? " " + g : g);
466
466
  continue;
467
467
  }
468
- if (L = t(E), !L) {
469
- h = _ + (h.length > 0 ? " " + h : h);
468
+ if (I = t(_), !I) {
469
+ g = C + (g.length > 0 ? " " + g : g);
470
470
  continue;
471
471
  }
472
- z = !1;
472
+ L = !1;
473
473
  }
474
- const $ = b(H).join(":"), U = P ? $ + ke : $, B = U + L;
475
- if (p.includes(B))
474
+ const $ = b(D).join(":"), U = N ? $ + ye : $, R = U + I;
475
+ if (p.includes(R))
476
476
  continue;
477
- p.push(B);
478
- const G = o(L, z);
479
- for (let F = 0; F < G.length; ++F) {
480
- const R = G[F];
481
- p.push(U + R);
477
+ p.push(R);
478
+ const O = o(I, L);
479
+ for (let T = 0; T < O.length; ++T) {
480
+ const A = O[T];
481
+ p.push(U + A);
482
482
  }
483
- h = _ + (h.length > 0 ? " " + h : h);
483
+ g = C + (g.length > 0 ? " " + g : g);
484
484
  }
485
- return h;
485
+ return g;
486
486
  };
487
487
  function sr() {
488
- let e = 0, a, n, t = "";
488
+ let e = 0, l, a, t = "";
489
489
  for (; e < arguments.length; )
490
- (a = arguments[e++]) && (n = Ae(a)) && (t && (t += " "), t += n);
490
+ (l = arguments[e++]) && (a = Se(l)) && (t && (t += " "), t += a);
491
491
  return t;
492
492
  }
493
- const Ae = (e) => {
493
+ const Se = (e) => {
494
494
  if (typeof e == "string")
495
495
  return e;
496
- let a, n = "";
496
+ let l, a = "";
497
497
  for (let t = 0; t < e.length; t++)
498
- e[t] && (a = Ae(e[t])) && (n && (n += " "), n += a);
499
- return n;
498
+ e[t] && (l = Se(e[t])) && (a && (a += " "), a += l);
499
+ return a;
500
500
  };
501
- function nr(e, ...a) {
502
- let n, t, o, b = p;
503
- function p(h) {
504
- const x = a.reduce((_, S) => S(_), e());
505
- return n = rr(x), t = n.cache.get, o = n.cache.set, b = y, y(h);
501
+ function nr(e, ...l) {
502
+ let a, t, o, b = p;
503
+ function p(g) {
504
+ const x = l.reduce((C, S) => S(C), e());
505
+ return a = rr(x), t = a.cache.get, o = a.cache.set, b = w, w(g);
506
506
  }
507
- function y(h) {
508
- const x = t(h);
507
+ function w(g) {
508
+ const x = t(g);
509
509
  if (x)
510
510
  return x;
511
- const _ = or(h, n);
512
- return o(h, _), _;
511
+ const C = or(g, a);
512
+ return o(g, C), C;
513
513
  }
514
514
  return function() {
515
515
  return b(sr.apply(null, arguments));
516
516
  };
517
517
  }
518
- const C = (e) => {
519
- const a = (n) => n[e] || [];
520
- return a.isThemeGetter = !0, a;
521
- }, Ne = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Pe = /^\((?:(\w[\w-]*):)?(.+)\)$/i, ar = /^\d+\/\d+$/, lr = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, ir = /\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$/, cr = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, dr = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, ur = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, se = (e) => ar.test(e), k = (e) => !!e && !Number.isNaN(Number(e)), J = (e) => !!e && Number.isInteger(Number(e)), ge = (e) => e.endsWith("%") && k(e.slice(0, -1)), Z = (e) => lr.test(e), mr = () => !0, fr = (e) => (
518
+ const j = (e) => {
519
+ const l = (a) => a[e] || [];
520
+ return l.isThemeGetter = !0, l;
521
+ }, ze = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Me = /^\((?:(\w[\w-]*):)?(.+)\)$/i, ar = /^\d+\/\d+$/, lr = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, ir = /\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$/, cr = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, dr = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, ur = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, se = (e) => ar.test(e), y = (e) => !!e && !Number.isNaN(Number(e)), J = (e) => !!e && Number.isInteger(Number(e)), he = (e) => e.endsWith("%") && y(e.slice(0, -1)), Z = (e) => lr.test(e), mr = () => !0, fr = (e) => (
522
522
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
523
523
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
524
524
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
525
525
  ir.test(e) && !cr.test(e)
526
- ), Me = () => !1, pr = (e) => dr.test(e), br = (e) => ur.test(e), gr = (e) => !l(e) && !i(e), hr = (e) => ne(e, Ie, Me), l = (e) => Ne.test(e), oe = (e) => ne(e, Be, fr), he = (e) => ne(e, vr, k), Fe = (e) => ne(e, ze, Me), xr = (e) => ne(e, Le, br), me = (e) => ne(e, Oe, pr), i = (e) => Pe.test(e), de = (e) => ae(e, Be), kr = (e) => ae(e, _r), Re = (e) => ae(e, ze), wr = (e) => ae(e, Ie), yr = (e) => ae(e, Le), fe = (e) => ae(e, Oe, !0), ne = (e, a, n) => {
527
- const t = Ne.exec(e);
528
- return t ? t[1] ? a(t[1]) : n(t[2]) : !1;
529
- }, ae = (e, a, n = !1) => {
530
- const t = Pe.exec(e);
531
- return t ? t[1] ? a(t[1]) : n : !1;
532
- }, ze = (e) => e === "position" || e === "percentage", Le = (e) => e === "image" || e === "url", Ie = (e) => e === "length" || e === "size" || e === "bg-size", Be = (e) => e === "length", vr = (e) => e === "number", _r = (e) => e === "family-name", Oe = (e) => e === "shadow", Cr = () => {
533
- const e = C("color"), a = C("font"), n = C("text"), t = C("font-weight"), o = C("tracking"), b = C("leading"), p = C("breakpoint"), y = C("container"), h = C("spacing"), x = C("radius"), _ = C("shadow"), S = C("inset-shadow"), H = C("text-shadow"), P = C("drop-shadow"), E = C("blur"), T = C("perspective"), z = C("aspect"), L = C("ease"), $ = C("animate"), U = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], B = () => [
526
+ ), Ne = () => !1, pr = (e) => dr.test(e), br = (e) => ur.test(e), hr = (e) => !i(e) && !c(e), gr = (e) => ne(e, Ie, Ne), i = (e) => ze.test(e), oe = (e) => ne(e, He, fr), ge = (e) => ne(e, vr, y), Te = (e) => ne(e, Pe, Ne), xr = (e) => ne(e, Le, br), me = (e) => ne(e, Be, pr), c = (e) => Me.test(e), de = (e) => ae(e, He), yr = (e) => ae(e, Cr), Re = (e) => ae(e, Pe), kr = (e) => ae(e, Ie), wr = (e) => ae(e, Le), fe = (e) => ae(e, Be, !0), ne = (e, l, a) => {
527
+ const t = ze.exec(e);
528
+ return t ? t[1] ? l(t[1]) : a(t[2]) : !1;
529
+ }, ae = (e, l, a = !1) => {
530
+ const t = Me.exec(e);
531
+ return t ? t[1] ? l(t[1]) : a : !1;
532
+ }, Pe = (e) => e === "position" || e === "percentage", Le = (e) => e === "image" || e === "url", Ie = (e) => e === "length" || e === "size" || e === "bg-size", He = (e) => e === "length", vr = (e) => e === "number", Cr = (e) => e === "family-name", Be = (e) => e === "shadow", jr = () => {
533
+ const e = j("color"), l = j("font"), a = j("text"), t = j("font-weight"), o = j("tracking"), b = j("leading"), p = j("breakpoint"), w = j("container"), g = j("spacing"), x = j("radius"), C = j("shadow"), S = j("inset-shadow"), D = j("text-shadow"), N = j("drop-shadow"), _ = j("blur"), F = j("perspective"), L = j("aspect"), I = j("ease"), $ = j("animate"), U = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], R = () => [
534
534
  "center",
535
535
  "top",
536
536
  "bottom",
@@ -548,30 +548,30 @@ const C = (e) => {
548
548
  "bottom-left",
549
549
  // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
550
550
  "left-bottom"
551
- ], G = () => [...B(), i, l], F = () => ["auto", "hidden", "clip", "visible", "scroll"], R = () => ["auto", "contain", "none"], u = () => [i, l, h], A = () => [se, "full", "auto", ...u()], X = () => [J, "none", "subgrid", i, l], Q = () => ["auto", {
552
- span: ["full", J, i, l]
553
- }, J, i, l], V = () => [J, "auto", i, l], K = () => ["auto", "min", "max", "fr", i, l], v = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], I = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], M = () => ["auto", ...u()], O = () => [se, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...u()], m = () => [e, i, l], ee = () => [...B(), Re, Fe, {
554
- position: [i, l]
551
+ ], O = () => [...R(), c, i], T = () => ["auto", "hidden", "clip", "visible", "scroll"], A = () => ["auto", "contain", "none"], m = () => [c, i, g], z = () => [se, "full", "auto", ...m()], X = () => [J, "none", "subgrid", c, i], Q = () => ["auto", {
552
+ span: ["full", J, c, i]
553
+ }, J, c, i], V = () => [J, "auto", c, i], K = () => ["auto", "min", "max", "fr", c, i], v = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], H = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], P = () => ["auto", ...m()], B = () => [se, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...m()], f = () => [e, c, i], ee = () => [...R(), Re, Te, {
554
+ position: [c, i]
555
555
  }], re = () => ["no-repeat", {
556
556
  repeat: ["", "x", "y", "space", "round"]
557
- }], r = () => ["auto", "cover", "contain", wr, hr, {
558
- size: [i, l]
559
- }], g = () => [ge, de, oe], f = () => [
557
+ }], r = () => ["auto", "cover", "contain", kr, gr, {
558
+ size: [c, i]
559
+ }], h = () => [he, de, oe], d = () => [
560
560
  // Deprecated since Tailwind CSS v4.0.0
561
561
  "",
562
562
  "none",
563
563
  "full",
564
564
  x,
565
- i,
566
- l
567
- ], w = () => ["", k, de, oe], W = () => ["solid", "dashed", "dotted", "double"], d = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], s = () => [k, ge, Re, Fe], j = () => [
565
+ c,
566
+ i
567
+ ], k = () => ["", y, de, oe], q = () => ["solid", "dashed", "dotted", "double"], u = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], n = () => [y, he, Re, Te], E = () => [
568
568
  // Deprecated since Tailwind CSS v4.0.0
569
569
  "",
570
570
  "none",
571
- E,
572
- i,
573
- l
574
- ], N = () => ["none", k, i, l], q = () => ["none", k, i, l], te = () => [k, i, l], Y = () => [se, "full", ...u()];
571
+ _,
572
+ c,
573
+ i
574
+ ], M = () => ["none", y, c, i], W = () => ["none", y, c, i], te = () => [y, c, i], Y = () => [se, "full", ...m()];
575
575
  return {
576
576
  cacheSize: 500,
577
577
  theme: {
@@ -583,14 +583,14 @@ const C = (e) => {
583
583
  container: [Z],
584
584
  "drop-shadow": [Z],
585
585
  ease: ["in", "out", "in-out"],
586
- font: [gr],
586
+ font: [hr],
587
587
  "font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
588
588
  "inset-shadow": [Z],
589
589
  leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
590
590
  perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
591
591
  radius: [Z],
592
592
  shadow: [Z],
593
- spacing: ["px", k],
593
+ spacing: ["px", y],
594
594
  text: [Z],
595
595
  "text-shadow": [Z],
596
596
  tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
@@ -604,7 +604,7 @@ const C = (e) => {
604
604
  * @see https://tailwindcss.com/docs/aspect-ratio
605
605
  */
606
606
  aspect: [{
607
- aspect: ["auto", "square", se, l, i, z]
607
+ aspect: ["auto", "square", se, i, c, L]
608
608
  }],
609
609
  /**
610
610
  * Container
@@ -617,7 +617,7 @@ const C = (e) => {
617
617
  * @see https://tailwindcss.com/docs/columns
618
618
  */
619
619
  columns: [{
620
- columns: [k, l, i, y]
620
+ columns: [y, i, c, w]
621
621
  }],
622
622
  /**
623
623
  * Break After
@@ -695,49 +695,49 @@ const C = (e) => {
695
695
  * @see https://tailwindcss.com/docs/object-position
696
696
  */
697
697
  "object-position": [{
698
- object: G()
698
+ object: O()
699
699
  }],
700
700
  /**
701
701
  * Overflow
702
702
  * @see https://tailwindcss.com/docs/overflow
703
703
  */
704
704
  overflow: [{
705
- overflow: F()
705
+ overflow: T()
706
706
  }],
707
707
  /**
708
708
  * Overflow X
709
709
  * @see https://tailwindcss.com/docs/overflow
710
710
  */
711
711
  "overflow-x": [{
712
- "overflow-x": F()
712
+ "overflow-x": T()
713
713
  }],
714
714
  /**
715
715
  * Overflow Y
716
716
  * @see https://tailwindcss.com/docs/overflow
717
717
  */
718
718
  "overflow-y": [{
719
- "overflow-y": F()
719
+ "overflow-y": T()
720
720
  }],
721
721
  /**
722
722
  * Overscroll Behavior
723
723
  * @see https://tailwindcss.com/docs/overscroll-behavior
724
724
  */
725
725
  overscroll: [{
726
- overscroll: R()
726
+ overscroll: A()
727
727
  }],
728
728
  /**
729
729
  * Overscroll Behavior X
730
730
  * @see https://tailwindcss.com/docs/overscroll-behavior
731
731
  */
732
732
  "overscroll-x": [{
733
- "overscroll-x": R()
733
+ "overscroll-x": A()
734
734
  }],
735
735
  /**
736
736
  * Overscroll Behavior Y
737
737
  * @see https://tailwindcss.com/docs/overscroll-behavior
738
738
  */
739
739
  "overscroll-y": [{
740
- "overscroll-y": R()
740
+ "overscroll-y": A()
741
741
  }],
742
742
  /**
743
743
  * Position
@@ -749,63 +749,63 @@ const C = (e) => {
749
749
  * @see https://tailwindcss.com/docs/top-right-bottom-left
750
750
  */
751
751
  inset: [{
752
- inset: A()
752
+ inset: z()
753
753
  }],
754
754
  /**
755
755
  * Right / Left
756
756
  * @see https://tailwindcss.com/docs/top-right-bottom-left
757
757
  */
758
758
  "inset-x": [{
759
- "inset-x": A()
759
+ "inset-x": z()
760
760
  }],
761
761
  /**
762
762
  * Top / Bottom
763
763
  * @see https://tailwindcss.com/docs/top-right-bottom-left
764
764
  */
765
765
  "inset-y": [{
766
- "inset-y": A()
766
+ "inset-y": z()
767
767
  }],
768
768
  /**
769
769
  * Start
770
770
  * @see https://tailwindcss.com/docs/top-right-bottom-left
771
771
  */
772
772
  start: [{
773
- start: A()
773
+ start: z()
774
774
  }],
775
775
  /**
776
776
  * End
777
777
  * @see https://tailwindcss.com/docs/top-right-bottom-left
778
778
  */
779
779
  end: [{
780
- end: A()
780
+ end: z()
781
781
  }],
782
782
  /**
783
783
  * Top
784
784
  * @see https://tailwindcss.com/docs/top-right-bottom-left
785
785
  */
786
786
  top: [{
787
- top: A()
787
+ top: z()
788
788
  }],
789
789
  /**
790
790
  * Right
791
791
  * @see https://tailwindcss.com/docs/top-right-bottom-left
792
792
  */
793
793
  right: [{
794
- right: A()
794
+ right: z()
795
795
  }],
796
796
  /**
797
797
  * Bottom
798
798
  * @see https://tailwindcss.com/docs/top-right-bottom-left
799
799
  */
800
800
  bottom: [{
801
- bottom: A()
801
+ bottom: z()
802
802
  }],
803
803
  /**
804
804
  * Left
805
805
  * @see https://tailwindcss.com/docs/top-right-bottom-left
806
806
  */
807
807
  left: [{
808
- left: A()
808
+ left: z()
809
809
  }],
810
810
  /**
811
811
  * Visibility
@@ -817,7 +817,7 @@ const C = (e) => {
817
817
  * @see https://tailwindcss.com/docs/z-index
818
818
  */
819
819
  z: [{
820
- z: [J, "auto", i, l]
820
+ z: [J, "auto", c, i]
821
821
  }],
822
822
  // ------------------------
823
823
  // --- Flexbox and Grid ---
@@ -827,7 +827,7 @@ const C = (e) => {
827
827
  * @see https://tailwindcss.com/docs/flex-basis
828
828
  */
829
829
  basis: [{
830
- basis: [se, "full", "auto", y, ...u()]
830
+ basis: [se, "full", "auto", w, ...m()]
831
831
  }],
832
832
  /**
833
833
  * Flex Direction
@@ -848,28 +848,28 @@ const C = (e) => {
848
848
  * @see https://tailwindcss.com/docs/flex
849
849
  */
850
850
  flex: [{
851
- flex: [k, se, "auto", "initial", "none", l]
851
+ flex: [y, se, "auto", "initial", "none", i]
852
852
  }],
853
853
  /**
854
854
  * Flex Grow
855
855
  * @see https://tailwindcss.com/docs/flex-grow
856
856
  */
857
857
  grow: [{
858
- grow: ["", k, i, l]
858
+ grow: ["", y, c, i]
859
859
  }],
860
860
  /**
861
861
  * Flex Shrink
862
862
  * @see https://tailwindcss.com/docs/flex-shrink
863
863
  */
864
864
  shrink: [{
865
- shrink: ["", k, i, l]
865
+ shrink: ["", y, c, i]
866
866
  }],
867
867
  /**
868
868
  * Order
869
869
  * @see https://tailwindcss.com/docs/order
870
870
  */
871
871
  order: [{
872
- order: [J, "first", "last", "none", i, l]
872
+ order: [J, "first", "last", "none", c, i]
873
873
  }],
874
874
  /**
875
875
  * Grid Template Columns
@@ -953,21 +953,21 @@ const C = (e) => {
953
953
  * @see https://tailwindcss.com/docs/gap
954
954
  */
955
955
  gap: [{
956
- gap: u()
956
+ gap: m()
957
957
  }],
958
958
  /**
959
959
  * Gap X
960
960
  * @see https://tailwindcss.com/docs/gap
961
961
  */
962
962
  "gap-x": [{
963
- "gap-x": u()
963
+ "gap-x": m()
964
964
  }],
965
965
  /**
966
966
  * Gap Y
967
967
  * @see https://tailwindcss.com/docs/gap
968
968
  */
969
969
  "gap-y": [{
970
- "gap-y": u()
970
+ "gap-y": m()
971
971
  }],
972
972
  /**
973
973
  * Justify Content
@@ -981,14 +981,14 @@ const C = (e) => {
981
981
  * @see https://tailwindcss.com/docs/justify-items
982
982
  */
983
983
  "justify-items": [{
984
- "justify-items": [...I(), "normal"]
984
+ "justify-items": [...H(), "normal"]
985
985
  }],
986
986
  /**
987
987
  * Justify Self
988
988
  * @see https://tailwindcss.com/docs/justify-self
989
989
  */
990
990
  "justify-self": [{
991
- "justify-self": ["auto", ...I()]
991
+ "justify-self": ["auto", ...H()]
992
992
  }],
993
993
  /**
994
994
  * Align Content
@@ -1002,7 +1002,7 @@ const C = (e) => {
1002
1002
  * @see https://tailwindcss.com/docs/align-items
1003
1003
  */
1004
1004
  "align-items": [{
1005
- items: [...I(), {
1005
+ items: [...H(), {
1006
1006
  baseline: ["", "last"]
1007
1007
  }]
1008
1008
  }],
@@ -1011,7 +1011,7 @@ const C = (e) => {
1011
1011
  * @see https://tailwindcss.com/docs/align-self
1012
1012
  */
1013
1013
  "align-self": [{
1014
- self: ["auto", ...I(), {
1014
+ self: ["auto", ...H(), {
1015
1015
  baseline: ["", "last"]
1016
1016
  }]
1017
1017
  }],
@@ -1027,14 +1027,14 @@ const C = (e) => {
1027
1027
  * @see https://tailwindcss.com/docs/place-items
1028
1028
  */
1029
1029
  "place-items": [{
1030
- "place-items": [...I(), "baseline"]
1030
+ "place-items": [...H(), "baseline"]
1031
1031
  }],
1032
1032
  /**
1033
1033
  * Place Self
1034
1034
  * @see https://tailwindcss.com/docs/place-self
1035
1035
  */
1036
1036
  "place-self": [{
1037
- "place-self": ["auto", ...I()]
1037
+ "place-self": ["auto", ...H()]
1038
1038
  }],
1039
1039
  // Spacing
1040
1040
  /**
@@ -1042,133 +1042,133 @@ const C = (e) => {
1042
1042
  * @see https://tailwindcss.com/docs/padding
1043
1043
  */
1044
1044
  p: [{
1045
- p: u()
1045
+ p: m()
1046
1046
  }],
1047
1047
  /**
1048
1048
  * Padding X
1049
1049
  * @see https://tailwindcss.com/docs/padding
1050
1050
  */
1051
1051
  px: [{
1052
- px: u()
1052
+ px: m()
1053
1053
  }],
1054
1054
  /**
1055
1055
  * Padding Y
1056
1056
  * @see https://tailwindcss.com/docs/padding
1057
1057
  */
1058
1058
  py: [{
1059
- py: u()
1059
+ py: m()
1060
1060
  }],
1061
1061
  /**
1062
1062
  * Padding Start
1063
1063
  * @see https://tailwindcss.com/docs/padding
1064
1064
  */
1065
1065
  ps: [{
1066
- ps: u()
1066
+ ps: m()
1067
1067
  }],
1068
1068
  /**
1069
1069
  * Padding End
1070
1070
  * @see https://tailwindcss.com/docs/padding
1071
1071
  */
1072
1072
  pe: [{
1073
- pe: u()
1073
+ pe: m()
1074
1074
  }],
1075
1075
  /**
1076
1076
  * Padding Top
1077
1077
  * @see https://tailwindcss.com/docs/padding
1078
1078
  */
1079
1079
  pt: [{
1080
- pt: u()
1080
+ pt: m()
1081
1081
  }],
1082
1082
  /**
1083
1083
  * Padding Right
1084
1084
  * @see https://tailwindcss.com/docs/padding
1085
1085
  */
1086
1086
  pr: [{
1087
- pr: u()
1087
+ pr: m()
1088
1088
  }],
1089
1089
  /**
1090
1090
  * Padding Bottom
1091
1091
  * @see https://tailwindcss.com/docs/padding
1092
1092
  */
1093
1093
  pb: [{
1094
- pb: u()
1094
+ pb: m()
1095
1095
  }],
1096
1096
  /**
1097
1097
  * Padding Left
1098
1098
  * @see https://tailwindcss.com/docs/padding
1099
1099
  */
1100
1100
  pl: [{
1101
- pl: u()
1101
+ pl: m()
1102
1102
  }],
1103
1103
  /**
1104
1104
  * Margin
1105
1105
  * @see https://tailwindcss.com/docs/margin
1106
1106
  */
1107
1107
  m: [{
1108
- m: M()
1108
+ m: P()
1109
1109
  }],
1110
1110
  /**
1111
1111
  * Margin X
1112
1112
  * @see https://tailwindcss.com/docs/margin
1113
1113
  */
1114
1114
  mx: [{
1115
- mx: M()
1115
+ mx: P()
1116
1116
  }],
1117
1117
  /**
1118
1118
  * Margin Y
1119
1119
  * @see https://tailwindcss.com/docs/margin
1120
1120
  */
1121
1121
  my: [{
1122
- my: M()
1122
+ my: P()
1123
1123
  }],
1124
1124
  /**
1125
1125
  * Margin Start
1126
1126
  * @see https://tailwindcss.com/docs/margin
1127
1127
  */
1128
1128
  ms: [{
1129
- ms: M()
1129
+ ms: P()
1130
1130
  }],
1131
1131
  /**
1132
1132
  * Margin End
1133
1133
  * @see https://tailwindcss.com/docs/margin
1134
1134
  */
1135
1135
  me: [{
1136
- me: M()
1136
+ me: P()
1137
1137
  }],
1138
1138
  /**
1139
1139
  * Margin Top
1140
1140
  * @see https://tailwindcss.com/docs/margin
1141
1141
  */
1142
1142
  mt: [{
1143
- mt: M()
1143
+ mt: P()
1144
1144
  }],
1145
1145
  /**
1146
1146
  * Margin Right
1147
1147
  * @see https://tailwindcss.com/docs/margin
1148
1148
  */
1149
1149
  mr: [{
1150
- mr: M()
1150
+ mr: P()
1151
1151
  }],
1152
1152
  /**
1153
1153
  * Margin Bottom
1154
1154
  * @see https://tailwindcss.com/docs/margin
1155
1155
  */
1156
1156
  mb: [{
1157
- mb: M()
1157
+ mb: P()
1158
1158
  }],
1159
1159
  /**
1160
1160
  * Margin Left
1161
1161
  * @see https://tailwindcss.com/docs/margin
1162
1162
  */
1163
1163
  ml: [{
1164
- ml: M()
1164
+ ml: P()
1165
1165
  }],
1166
1166
  /**
1167
1167
  * Space Between X
1168
1168
  * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1169
1169
  */
1170
1170
  "space-x": [{
1171
- "space-x": u()
1171
+ "space-x": m()
1172
1172
  }],
1173
1173
  /**
1174
1174
  * Space Between X Reverse
@@ -1180,7 +1180,7 @@ const C = (e) => {
1180
1180
  * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1181
1181
  */
1182
1182
  "space-y": [{
1183
- "space-y": u()
1183
+ "space-y": m()
1184
1184
  }],
1185
1185
  /**
1186
1186
  * Space Between Y Reverse
@@ -1195,14 +1195,14 @@ const C = (e) => {
1195
1195
  * @see https://tailwindcss.com/docs/width#setting-both-width-and-height
1196
1196
  */
1197
1197
  size: [{
1198
- size: O()
1198
+ size: B()
1199
1199
  }],
1200
1200
  /**
1201
1201
  * Width
1202
1202
  * @see https://tailwindcss.com/docs/width
1203
1203
  */
1204
1204
  w: [{
1205
- w: [y, "screen", ...O()]
1205
+ w: [w, "screen", ...B()]
1206
1206
  }],
1207
1207
  /**
1208
1208
  * Min-Width
@@ -1210,11 +1210,11 @@ const C = (e) => {
1210
1210
  */
1211
1211
  "min-w": [{
1212
1212
  "min-w": [
1213
- y,
1213
+ w,
1214
1214
  "screen",
1215
1215
  /** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1216
1216
  "none",
1217
- ...O()
1217
+ ...B()
1218
1218
  ]
1219
1219
  }],
1220
1220
  /**
@@ -1223,7 +1223,7 @@ const C = (e) => {
1223
1223
  */
1224
1224
  "max-w": [{
1225
1225
  "max-w": [
1226
- y,
1226
+ w,
1227
1227
  "screen",
1228
1228
  "none",
1229
1229
  /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
@@ -1232,7 +1232,7 @@ const C = (e) => {
1232
1232
  {
1233
1233
  screen: [p]
1234
1234
  },
1235
- ...O()
1235
+ ...B()
1236
1236
  ]
1237
1237
  }],
1238
1238
  /**
@@ -1240,21 +1240,21 @@ const C = (e) => {
1240
1240
  * @see https://tailwindcss.com/docs/height
1241
1241
  */
1242
1242
  h: [{
1243
- h: ["screen", "lh", ...O()]
1243
+ h: ["screen", "lh", ...B()]
1244
1244
  }],
1245
1245
  /**
1246
1246
  * Min-Height
1247
1247
  * @see https://tailwindcss.com/docs/min-height
1248
1248
  */
1249
1249
  "min-h": [{
1250
- "min-h": ["screen", "lh", "none", ...O()]
1250
+ "min-h": ["screen", "lh", "none", ...B()]
1251
1251
  }],
1252
1252
  /**
1253
1253
  * Max-Height
1254
1254
  * @see https://tailwindcss.com/docs/max-height
1255
1255
  */
1256
1256
  "max-h": [{
1257
- "max-h": ["screen", "lh", ...O()]
1257
+ "max-h": ["screen", "lh", ...B()]
1258
1258
  }],
1259
1259
  // ------------------
1260
1260
  // --- Typography ---
@@ -1264,7 +1264,7 @@ const C = (e) => {
1264
1264
  * @see https://tailwindcss.com/docs/font-size
1265
1265
  */
1266
1266
  "font-size": [{
1267
- text: ["base", n, de, oe]
1267
+ text: ["base", a, de, oe]
1268
1268
  }],
1269
1269
  /**
1270
1270
  * Font Smoothing
@@ -1281,21 +1281,21 @@ const C = (e) => {
1281
1281
  * @see https://tailwindcss.com/docs/font-weight
1282
1282
  */
1283
1283
  "font-weight": [{
1284
- font: [t, i, he]
1284
+ font: [t, c, ge]
1285
1285
  }],
1286
1286
  /**
1287
1287
  * Font Stretch
1288
1288
  * @see https://tailwindcss.com/docs/font-stretch
1289
1289
  */
1290
1290
  "font-stretch": [{
1291
- "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", ge, l]
1291
+ "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", he, i]
1292
1292
  }],
1293
1293
  /**
1294
1294
  * Font Family
1295
1295
  * @see https://tailwindcss.com/docs/font-family
1296
1296
  */
1297
1297
  "font-family": [{
1298
- font: [kr, l, a]
1298
+ font: [yr, i, l]
1299
1299
  }],
1300
1300
  /**
1301
1301
  * Font Variant Numeric
@@ -1332,14 +1332,14 @@ const C = (e) => {
1332
1332
  * @see https://tailwindcss.com/docs/letter-spacing
1333
1333
  */
1334
1334
  tracking: [{
1335
- tracking: [o, i, l]
1335
+ tracking: [o, c, i]
1336
1336
  }],
1337
1337
  /**
1338
1338
  * Line Clamp
1339
1339
  * @see https://tailwindcss.com/docs/line-clamp
1340
1340
  */
1341
1341
  "line-clamp": [{
1342
- "line-clamp": [k, "none", i, he]
1342
+ "line-clamp": [y, "none", c, ge]
1343
1343
  }],
1344
1344
  /**
1345
1345
  * Line Height
@@ -1349,7 +1349,7 @@ const C = (e) => {
1349
1349
  leading: [
1350
1350
  /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1351
1351
  b,
1352
- ...u()
1352
+ ...m()
1353
1353
  ]
1354
1354
  }],
1355
1355
  /**
@@ -1357,7 +1357,7 @@ const C = (e) => {
1357
1357
  * @see https://tailwindcss.com/docs/list-style-image
1358
1358
  */
1359
1359
  "list-image": [{
1360
- "list-image": ["none", i, l]
1360
+ "list-image": ["none", c, i]
1361
1361
  }],
1362
1362
  /**
1363
1363
  * List Style Position
@@ -1371,7 +1371,7 @@ const C = (e) => {
1371
1371
  * @see https://tailwindcss.com/docs/list-style-type
1372
1372
  */
1373
1373
  "list-style-type": [{
1374
- list: ["disc", "decimal", "none", i, l]
1374
+ list: ["disc", "decimal", "none", c, i]
1375
1375
  }],
1376
1376
  /**
1377
1377
  * Text Alignment
@@ -1386,14 +1386,14 @@ const C = (e) => {
1386
1386
  * @see https://v3.tailwindcss.com/docs/placeholder-color
1387
1387
  */
1388
1388
  "placeholder-color": [{
1389
- placeholder: m()
1389
+ placeholder: f()
1390
1390
  }],
1391
1391
  /**
1392
1392
  * Text Color
1393
1393
  * @see https://tailwindcss.com/docs/text-color
1394
1394
  */
1395
1395
  "text-color": [{
1396
- text: m()
1396
+ text: f()
1397
1397
  }],
1398
1398
  /**
1399
1399
  * Text Decoration
@@ -1405,28 +1405,28 @@ const C = (e) => {
1405
1405
  * @see https://tailwindcss.com/docs/text-decoration-style
1406
1406
  */
1407
1407
  "text-decoration-style": [{
1408
- decoration: [...W(), "wavy"]
1408
+ decoration: [...q(), "wavy"]
1409
1409
  }],
1410
1410
  /**
1411
1411
  * Text Decoration Thickness
1412
1412
  * @see https://tailwindcss.com/docs/text-decoration-thickness
1413
1413
  */
1414
1414
  "text-decoration-thickness": [{
1415
- decoration: [k, "from-font", "auto", i, oe]
1415
+ decoration: [y, "from-font", "auto", c, oe]
1416
1416
  }],
1417
1417
  /**
1418
1418
  * Text Decoration Color
1419
1419
  * @see https://tailwindcss.com/docs/text-decoration-color
1420
1420
  */
1421
1421
  "text-decoration-color": [{
1422
- decoration: m()
1422
+ decoration: f()
1423
1423
  }],
1424
1424
  /**
1425
1425
  * Text Underline Offset
1426
1426
  * @see https://tailwindcss.com/docs/text-underline-offset
1427
1427
  */
1428
1428
  "underline-offset": [{
1429
- "underline-offset": [k, "auto", i, l]
1429
+ "underline-offset": [y, "auto", c, i]
1430
1430
  }],
1431
1431
  /**
1432
1432
  * Text Transform
@@ -1450,14 +1450,14 @@ const C = (e) => {
1450
1450
  * @see https://tailwindcss.com/docs/text-indent
1451
1451
  */
1452
1452
  indent: [{
1453
- indent: u()
1453
+ indent: m()
1454
1454
  }],
1455
1455
  /**
1456
1456
  * Vertical Alignment
1457
1457
  * @see https://tailwindcss.com/docs/vertical-align
1458
1458
  */
1459
1459
  "vertical-align": [{
1460
- align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", i, l]
1460
+ align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", c, i]
1461
1461
  }],
1462
1462
  /**
1463
1463
  * Whitespace
@@ -1492,7 +1492,7 @@ const C = (e) => {
1492
1492
  * @see https://tailwindcss.com/docs/content
1493
1493
  */
1494
1494
  content: [{
1495
- content: ["none", i, l]
1495
+ content: ["none", c, i]
1496
1496
  }],
1497
1497
  // -------------------
1498
1498
  // --- Backgrounds ---
@@ -1547,59 +1547,59 @@ const C = (e) => {
1547
1547
  bg: ["none", {
1548
1548
  linear: [{
1549
1549
  to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
1550
- }, J, i, l],
1551
- radial: ["", i, l],
1552
- conic: [J, i, l]
1553
- }, yr, xr]
1550
+ }, J, c, i],
1551
+ radial: ["", c, i],
1552
+ conic: [J, c, i]
1553
+ }, wr, xr]
1554
1554
  }],
1555
1555
  /**
1556
1556
  * Background Color
1557
1557
  * @see https://tailwindcss.com/docs/background-color
1558
1558
  */
1559
1559
  "bg-color": [{
1560
- bg: m()
1560
+ bg: f()
1561
1561
  }],
1562
1562
  /**
1563
1563
  * Gradient Color Stops From Position
1564
1564
  * @see https://tailwindcss.com/docs/gradient-color-stops
1565
1565
  */
1566
1566
  "gradient-from-pos": [{
1567
- from: g()
1567
+ from: h()
1568
1568
  }],
1569
1569
  /**
1570
1570
  * Gradient Color Stops Via Position
1571
1571
  * @see https://tailwindcss.com/docs/gradient-color-stops
1572
1572
  */
1573
1573
  "gradient-via-pos": [{
1574
- via: g()
1574
+ via: h()
1575
1575
  }],
1576
1576
  /**
1577
1577
  * Gradient Color Stops To Position
1578
1578
  * @see https://tailwindcss.com/docs/gradient-color-stops
1579
1579
  */
1580
1580
  "gradient-to-pos": [{
1581
- to: g()
1581
+ to: h()
1582
1582
  }],
1583
1583
  /**
1584
1584
  * Gradient Color Stops From
1585
1585
  * @see https://tailwindcss.com/docs/gradient-color-stops
1586
1586
  */
1587
1587
  "gradient-from": [{
1588
- from: m()
1588
+ from: f()
1589
1589
  }],
1590
1590
  /**
1591
1591
  * Gradient Color Stops Via
1592
1592
  * @see https://tailwindcss.com/docs/gradient-color-stops
1593
1593
  */
1594
1594
  "gradient-via": [{
1595
- via: m()
1595
+ via: f()
1596
1596
  }],
1597
1597
  /**
1598
1598
  * Gradient Color Stops To
1599
1599
  * @see https://tailwindcss.com/docs/gradient-color-stops
1600
1600
  */
1601
1601
  "gradient-to": [{
1602
- to: m()
1602
+ to: f()
1603
1603
  }],
1604
1604
  // ---------------
1605
1605
  // --- Borders ---
@@ -1609,175 +1609,175 @@ const C = (e) => {
1609
1609
  * @see https://tailwindcss.com/docs/border-radius
1610
1610
  */
1611
1611
  rounded: [{
1612
- rounded: f()
1612
+ rounded: d()
1613
1613
  }],
1614
1614
  /**
1615
1615
  * Border Radius Start
1616
1616
  * @see https://tailwindcss.com/docs/border-radius
1617
1617
  */
1618
1618
  "rounded-s": [{
1619
- "rounded-s": f()
1619
+ "rounded-s": d()
1620
1620
  }],
1621
1621
  /**
1622
1622
  * Border Radius End
1623
1623
  * @see https://tailwindcss.com/docs/border-radius
1624
1624
  */
1625
1625
  "rounded-e": [{
1626
- "rounded-e": f()
1626
+ "rounded-e": d()
1627
1627
  }],
1628
1628
  /**
1629
1629
  * Border Radius Top
1630
1630
  * @see https://tailwindcss.com/docs/border-radius
1631
1631
  */
1632
1632
  "rounded-t": [{
1633
- "rounded-t": f()
1633
+ "rounded-t": d()
1634
1634
  }],
1635
1635
  /**
1636
1636
  * Border Radius Right
1637
1637
  * @see https://tailwindcss.com/docs/border-radius
1638
1638
  */
1639
1639
  "rounded-r": [{
1640
- "rounded-r": f()
1640
+ "rounded-r": d()
1641
1641
  }],
1642
1642
  /**
1643
1643
  * Border Radius Bottom
1644
1644
  * @see https://tailwindcss.com/docs/border-radius
1645
1645
  */
1646
1646
  "rounded-b": [{
1647
- "rounded-b": f()
1647
+ "rounded-b": d()
1648
1648
  }],
1649
1649
  /**
1650
1650
  * Border Radius Left
1651
1651
  * @see https://tailwindcss.com/docs/border-radius
1652
1652
  */
1653
1653
  "rounded-l": [{
1654
- "rounded-l": f()
1654
+ "rounded-l": d()
1655
1655
  }],
1656
1656
  /**
1657
1657
  * Border Radius Start Start
1658
1658
  * @see https://tailwindcss.com/docs/border-radius
1659
1659
  */
1660
1660
  "rounded-ss": [{
1661
- "rounded-ss": f()
1661
+ "rounded-ss": d()
1662
1662
  }],
1663
1663
  /**
1664
1664
  * Border Radius Start End
1665
1665
  * @see https://tailwindcss.com/docs/border-radius
1666
1666
  */
1667
1667
  "rounded-se": [{
1668
- "rounded-se": f()
1668
+ "rounded-se": d()
1669
1669
  }],
1670
1670
  /**
1671
1671
  * Border Radius End End
1672
1672
  * @see https://tailwindcss.com/docs/border-radius
1673
1673
  */
1674
1674
  "rounded-ee": [{
1675
- "rounded-ee": f()
1675
+ "rounded-ee": d()
1676
1676
  }],
1677
1677
  /**
1678
1678
  * Border Radius End Start
1679
1679
  * @see https://tailwindcss.com/docs/border-radius
1680
1680
  */
1681
1681
  "rounded-es": [{
1682
- "rounded-es": f()
1682
+ "rounded-es": d()
1683
1683
  }],
1684
1684
  /**
1685
1685
  * Border Radius Top Left
1686
1686
  * @see https://tailwindcss.com/docs/border-radius
1687
1687
  */
1688
1688
  "rounded-tl": [{
1689
- "rounded-tl": f()
1689
+ "rounded-tl": d()
1690
1690
  }],
1691
1691
  /**
1692
1692
  * Border Radius Top Right
1693
1693
  * @see https://tailwindcss.com/docs/border-radius
1694
1694
  */
1695
1695
  "rounded-tr": [{
1696
- "rounded-tr": f()
1696
+ "rounded-tr": d()
1697
1697
  }],
1698
1698
  /**
1699
1699
  * Border Radius Bottom Right
1700
1700
  * @see https://tailwindcss.com/docs/border-radius
1701
1701
  */
1702
1702
  "rounded-br": [{
1703
- "rounded-br": f()
1703
+ "rounded-br": d()
1704
1704
  }],
1705
1705
  /**
1706
1706
  * Border Radius Bottom Left
1707
1707
  * @see https://tailwindcss.com/docs/border-radius
1708
1708
  */
1709
1709
  "rounded-bl": [{
1710
- "rounded-bl": f()
1710
+ "rounded-bl": d()
1711
1711
  }],
1712
1712
  /**
1713
1713
  * Border Width
1714
1714
  * @see https://tailwindcss.com/docs/border-width
1715
1715
  */
1716
1716
  "border-w": [{
1717
- border: w()
1717
+ border: k()
1718
1718
  }],
1719
1719
  /**
1720
1720
  * Border Width X
1721
1721
  * @see https://tailwindcss.com/docs/border-width
1722
1722
  */
1723
1723
  "border-w-x": [{
1724
- "border-x": w()
1724
+ "border-x": k()
1725
1725
  }],
1726
1726
  /**
1727
1727
  * Border Width Y
1728
1728
  * @see https://tailwindcss.com/docs/border-width
1729
1729
  */
1730
1730
  "border-w-y": [{
1731
- "border-y": w()
1731
+ "border-y": k()
1732
1732
  }],
1733
1733
  /**
1734
1734
  * Border Width Start
1735
1735
  * @see https://tailwindcss.com/docs/border-width
1736
1736
  */
1737
1737
  "border-w-s": [{
1738
- "border-s": w()
1738
+ "border-s": k()
1739
1739
  }],
1740
1740
  /**
1741
1741
  * Border Width End
1742
1742
  * @see https://tailwindcss.com/docs/border-width
1743
1743
  */
1744
1744
  "border-w-e": [{
1745
- "border-e": w()
1745
+ "border-e": k()
1746
1746
  }],
1747
1747
  /**
1748
1748
  * Border Width Top
1749
1749
  * @see https://tailwindcss.com/docs/border-width
1750
1750
  */
1751
1751
  "border-w-t": [{
1752
- "border-t": w()
1752
+ "border-t": k()
1753
1753
  }],
1754
1754
  /**
1755
1755
  * Border Width Right
1756
1756
  * @see https://tailwindcss.com/docs/border-width
1757
1757
  */
1758
1758
  "border-w-r": [{
1759
- "border-r": w()
1759
+ "border-r": k()
1760
1760
  }],
1761
1761
  /**
1762
1762
  * Border Width Bottom
1763
1763
  * @see https://tailwindcss.com/docs/border-width
1764
1764
  */
1765
1765
  "border-w-b": [{
1766
- "border-b": w()
1766
+ "border-b": k()
1767
1767
  }],
1768
1768
  /**
1769
1769
  * Border Width Left
1770
1770
  * @see https://tailwindcss.com/docs/border-width
1771
1771
  */
1772
1772
  "border-w-l": [{
1773
- "border-l": w()
1773
+ "border-l": k()
1774
1774
  }],
1775
1775
  /**
1776
1776
  * Divide Width X
1777
1777
  * @see https://tailwindcss.com/docs/border-width#between-children
1778
1778
  */
1779
1779
  "divide-x": [{
1780
- "divide-x": w()
1780
+ "divide-x": k()
1781
1781
  }],
1782
1782
  /**
1783
1783
  * Divide Width X Reverse
@@ -1789,7 +1789,7 @@ const C = (e) => {
1789
1789
  * @see https://tailwindcss.com/docs/border-width#between-children
1790
1790
  */
1791
1791
  "divide-y": [{
1792
- "divide-y": w()
1792
+ "divide-y": k()
1793
1793
  }],
1794
1794
  /**
1795
1795
  * Divide Width Y Reverse
@@ -1801,112 +1801,112 @@ const C = (e) => {
1801
1801
  * @see https://tailwindcss.com/docs/border-style
1802
1802
  */
1803
1803
  "border-style": [{
1804
- border: [...W(), "hidden", "none"]
1804
+ border: [...q(), "hidden", "none"]
1805
1805
  }],
1806
1806
  /**
1807
1807
  * Divide Style
1808
1808
  * @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
1809
1809
  */
1810
1810
  "divide-style": [{
1811
- divide: [...W(), "hidden", "none"]
1811
+ divide: [...q(), "hidden", "none"]
1812
1812
  }],
1813
1813
  /**
1814
1814
  * Border Color
1815
1815
  * @see https://tailwindcss.com/docs/border-color
1816
1816
  */
1817
1817
  "border-color": [{
1818
- border: m()
1818
+ border: f()
1819
1819
  }],
1820
1820
  /**
1821
1821
  * Border Color X
1822
1822
  * @see https://tailwindcss.com/docs/border-color
1823
1823
  */
1824
1824
  "border-color-x": [{
1825
- "border-x": m()
1825
+ "border-x": f()
1826
1826
  }],
1827
1827
  /**
1828
1828
  * Border Color Y
1829
1829
  * @see https://tailwindcss.com/docs/border-color
1830
1830
  */
1831
1831
  "border-color-y": [{
1832
- "border-y": m()
1832
+ "border-y": f()
1833
1833
  }],
1834
1834
  /**
1835
1835
  * Border Color S
1836
1836
  * @see https://tailwindcss.com/docs/border-color
1837
1837
  */
1838
1838
  "border-color-s": [{
1839
- "border-s": m()
1839
+ "border-s": f()
1840
1840
  }],
1841
1841
  /**
1842
1842
  * Border Color E
1843
1843
  * @see https://tailwindcss.com/docs/border-color
1844
1844
  */
1845
1845
  "border-color-e": [{
1846
- "border-e": m()
1846
+ "border-e": f()
1847
1847
  }],
1848
1848
  /**
1849
1849
  * Border Color Top
1850
1850
  * @see https://tailwindcss.com/docs/border-color
1851
1851
  */
1852
1852
  "border-color-t": [{
1853
- "border-t": m()
1853
+ "border-t": f()
1854
1854
  }],
1855
1855
  /**
1856
1856
  * Border Color Right
1857
1857
  * @see https://tailwindcss.com/docs/border-color
1858
1858
  */
1859
1859
  "border-color-r": [{
1860
- "border-r": m()
1860
+ "border-r": f()
1861
1861
  }],
1862
1862
  /**
1863
1863
  * Border Color Bottom
1864
1864
  * @see https://tailwindcss.com/docs/border-color
1865
1865
  */
1866
1866
  "border-color-b": [{
1867
- "border-b": m()
1867
+ "border-b": f()
1868
1868
  }],
1869
1869
  /**
1870
1870
  * Border Color Left
1871
1871
  * @see https://tailwindcss.com/docs/border-color
1872
1872
  */
1873
1873
  "border-color-l": [{
1874
- "border-l": m()
1874
+ "border-l": f()
1875
1875
  }],
1876
1876
  /**
1877
1877
  * Divide Color
1878
1878
  * @see https://tailwindcss.com/docs/divide-color
1879
1879
  */
1880
1880
  "divide-color": [{
1881
- divide: m()
1881
+ divide: f()
1882
1882
  }],
1883
1883
  /**
1884
1884
  * Outline Style
1885
1885
  * @see https://tailwindcss.com/docs/outline-style
1886
1886
  */
1887
1887
  "outline-style": [{
1888
- outline: [...W(), "none", "hidden"]
1888
+ outline: [...q(), "none", "hidden"]
1889
1889
  }],
1890
1890
  /**
1891
1891
  * Outline Offset
1892
1892
  * @see https://tailwindcss.com/docs/outline-offset
1893
1893
  */
1894
1894
  "outline-offset": [{
1895
- "outline-offset": [k, i, l]
1895
+ "outline-offset": [y, c, i]
1896
1896
  }],
1897
1897
  /**
1898
1898
  * Outline Width
1899
1899
  * @see https://tailwindcss.com/docs/outline-width
1900
1900
  */
1901
1901
  "outline-w": [{
1902
- outline: ["", k, de, oe]
1902
+ outline: ["", y, de, oe]
1903
1903
  }],
1904
1904
  /**
1905
1905
  * Outline Color
1906
1906
  * @see https://tailwindcss.com/docs/outline-color
1907
1907
  */
1908
1908
  "outline-color": [{
1909
- outline: m()
1909
+ outline: f()
1910
1910
  }],
1911
1911
  // ---------------
1912
1912
  // --- Effects ---
@@ -1920,7 +1920,7 @@ const C = (e) => {
1920
1920
  // Deprecated since Tailwind CSS v4.0.0
1921
1921
  "",
1922
1922
  "none",
1923
- _,
1923
+ C,
1924
1924
  fe,
1925
1925
  me
1926
1926
  ]
@@ -1930,7 +1930,7 @@ const C = (e) => {
1930
1930
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
1931
1931
  */
1932
1932
  "shadow-color": [{
1933
- shadow: m()
1933
+ shadow: f()
1934
1934
  }],
1935
1935
  /**
1936
1936
  * Inset Box Shadow
@@ -1944,14 +1944,14 @@ const C = (e) => {
1944
1944
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
1945
1945
  */
1946
1946
  "inset-shadow-color": [{
1947
- "inset-shadow": m()
1947
+ "inset-shadow": f()
1948
1948
  }],
1949
1949
  /**
1950
1950
  * Ring Width
1951
1951
  * @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
1952
1952
  */
1953
1953
  "ring-w": [{
1954
- ring: w()
1954
+ ring: k()
1955
1955
  }],
1956
1956
  /**
1957
1957
  * Ring Width Inset
@@ -1965,7 +1965,7 @@ const C = (e) => {
1965
1965
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
1966
1966
  */
1967
1967
  "ring-color": [{
1968
- ring: m()
1968
+ ring: f()
1969
1969
  }],
1970
1970
  /**
1971
1971
  * Ring Offset Width
@@ -1974,7 +1974,7 @@ const C = (e) => {
1974
1974
  * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
1975
1975
  */
1976
1976
  "ring-offset-w": [{
1977
- "ring-offset": [k, oe]
1977
+ "ring-offset": [y, oe]
1978
1978
  }],
1979
1979
  /**
1980
1980
  * Ring Offset Color
@@ -1983,56 +1983,56 @@ const C = (e) => {
1983
1983
  * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
1984
1984
  */
1985
1985
  "ring-offset-color": [{
1986
- "ring-offset": m()
1986
+ "ring-offset": f()
1987
1987
  }],
1988
1988
  /**
1989
1989
  * Inset Ring Width
1990
1990
  * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
1991
1991
  */
1992
1992
  "inset-ring-w": [{
1993
- "inset-ring": w()
1993
+ "inset-ring": k()
1994
1994
  }],
1995
1995
  /**
1996
1996
  * Inset Ring Color
1997
1997
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
1998
1998
  */
1999
1999
  "inset-ring-color": [{
2000
- "inset-ring": m()
2000
+ "inset-ring": f()
2001
2001
  }],
2002
2002
  /**
2003
2003
  * Text Shadow
2004
2004
  * @see https://tailwindcss.com/docs/text-shadow
2005
2005
  */
2006
2006
  "text-shadow": [{
2007
- "text-shadow": ["none", H, fe, me]
2007
+ "text-shadow": ["none", D, fe, me]
2008
2008
  }],
2009
2009
  /**
2010
2010
  * Text Shadow Color
2011
2011
  * @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
2012
2012
  */
2013
2013
  "text-shadow-color": [{
2014
- "text-shadow": m()
2014
+ "text-shadow": f()
2015
2015
  }],
2016
2016
  /**
2017
2017
  * Opacity
2018
2018
  * @see https://tailwindcss.com/docs/opacity
2019
2019
  */
2020
2020
  opacity: [{
2021
- opacity: [k, i, l]
2021
+ opacity: [y, c, i]
2022
2022
  }],
2023
2023
  /**
2024
2024
  * Mix Blend Mode
2025
2025
  * @see https://tailwindcss.com/docs/mix-blend-mode
2026
2026
  */
2027
2027
  "mix-blend": [{
2028
- "mix-blend": [...d(), "plus-darker", "plus-lighter"]
2028
+ "mix-blend": [...u(), "plus-darker", "plus-lighter"]
2029
2029
  }],
2030
2030
  /**
2031
2031
  * Background Blend Mode
2032
2032
  * @see https://tailwindcss.com/docs/background-blend-mode
2033
2033
  */
2034
2034
  "bg-blend": [{
2035
- "bg-blend": d()
2035
+ "bg-blend": u()
2036
2036
  }],
2037
2037
  /**
2038
2038
  * Mask Clip
@@ -2053,106 +2053,106 @@ const C = (e) => {
2053
2053
  * @see https://tailwindcss.com/docs/mask-image
2054
2054
  */
2055
2055
  "mask-image-linear-pos": [{
2056
- "mask-linear": [k]
2056
+ "mask-linear": [y]
2057
2057
  }],
2058
2058
  "mask-image-linear-from-pos": [{
2059
- "mask-linear-from": s()
2059
+ "mask-linear-from": n()
2060
2060
  }],
2061
2061
  "mask-image-linear-to-pos": [{
2062
- "mask-linear-to": s()
2062
+ "mask-linear-to": n()
2063
2063
  }],
2064
2064
  "mask-image-linear-from-color": [{
2065
- "mask-linear-from": m()
2065
+ "mask-linear-from": f()
2066
2066
  }],
2067
2067
  "mask-image-linear-to-color": [{
2068
- "mask-linear-to": m()
2068
+ "mask-linear-to": f()
2069
2069
  }],
2070
2070
  "mask-image-t-from-pos": [{
2071
- "mask-t-from": s()
2071
+ "mask-t-from": n()
2072
2072
  }],
2073
2073
  "mask-image-t-to-pos": [{
2074
- "mask-t-to": s()
2074
+ "mask-t-to": n()
2075
2075
  }],
2076
2076
  "mask-image-t-from-color": [{
2077
- "mask-t-from": m()
2077
+ "mask-t-from": f()
2078
2078
  }],
2079
2079
  "mask-image-t-to-color": [{
2080
- "mask-t-to": m()
2080
+ "mask-t-to": f()
2081
2081
  }],
2082
2082
  "mask-image-r-from-pos": [{
2083
- "mask-r-from": s()
2083
+ "mask-r-from": n()
2084
2084
  }],
2085
2085
  "mask-image-r-to-pos": [{
2086
- "mask-r-to": s()
2086
+ "mask-r-to": n()
2087
2087
  }],
2088
2088
  "mask-image-r-from-color": [{
2089
- "mask-r-from": m()
2089
+ "mask-r-from": f()
2090
2090
  }],
2091
2091
  "mask-image-r-to-color": [{
2092
- "mask-r-to": m()
2092
+ "mask-r-to": f()
2093
2093
  }],
2094
2094
  "mask-image-b-from-pos": [{
2095
- "mask-b-from": s()
2095
+ "mask-b-from": n()
2096
2096
  }],
2097
2097
  "mask-image-b-to-pos": [{
2098
- "mask-b-to": s()
2098
+ "mask-b-to": n()
2099
2099
  }],
2100
2100
  "mask-image-b-from-color": [{
2101
- "mask-b-from": m()
2101
+ "mask-b-from": f()
2102
2102
  }],
2103
2103
  "mask-image-b-to-color": [{
2104
- "mask-b-to": m()
2104
+ "mask-b-to": f()
2105
2105
  }],
2106
2106
  "mask-image-l-from-pos": [{
2107
- "mask-l-from": s()
2107
+ "mask-l-from": n()
2108
2108
  }],
2109
2109
  "mask-image-l-to-pos": [{
2110
- "mask-l-to": s()
2110
+ "mask-l-to": n()
2111
2111
  }],
2112
2112
  "mask-image-l-from-color": [{
2113
- "mask-l-from": m()
2113
+ "mask-l-from": f()
2114
2114
  }],
2115
2115
  "mask-image-l-to-color": [{
2116
- "mask-l-to": m()
2116
+ "mask-l-to": f()
2117
2117
  }],
2118
2118
  "mask-image-x-from-pos": [{
2119
- "mask-x-from": s()
2119
+ "mask-x-from": n()
2120
2120
  }],
2121
2121
  "mask-image-x-to-pos": [{
2122
- "mask-x-to": s()
2122
+ "mask-x-to": n()
2123
2123
  }],
2124
2124
  "mask-image-x-from-color": [{
2125
- "mask-x-from": m()
2125
+ "mask-x-from": f()
2126
2126
  }],
2127
2127
  "mask-image-x-to-color": [{
2128
- "mask-x-to": m()
2128
+ "mask-x-to": f()
2129
2129
  }],
2130
2130
  "mask-image-y-from-pos": [{
2131
- "mask-y-from": s()
2131
+ "mask-y-from": n()
2132
2132
  }],
2133
2133
  "mask-image-y-to-pos": [{
2134
- "mask-y-to": s()
2134
+ "mask-y-to": n()
2135
2135
  }],
2136
2136
  "mask-image-y-from-color": [{
2137
- "mask-y-from": m()
2137
+ "mask-y-from": f()
2138
2138
  }],
2139
2139
  "mask-image-y-to-color": [{
2140
- "mask-y-to": m()
2140
+ "mask-y-to": f()
2141
2141
  }],
2142
2142
  "mask-image-radial": [{
2143
- "mask-radial": [i, l]
2143
+ "mask-radial": [c, i]
2144
2144
  }],
2145
2145
  "mask-image-radial-from-pos": [{
2146
- "mask-radial-from": s()
2146
+ "mask-radial-from": n()
2147
2147
  }],
2148
2148
  "mask-image-radial-to-pos": [{
2149
- "mask-radial-to": s()
2149
+ "mask-radial-to": n()
2150
2150
  }],
2151
2151
  "mask-image-radial-from-color": [{
2152
- "mask-radial-from": m()
2152
+ "mask-radial-from": f()
2153
2153
  }],
2154
2154
  "mask-image-radial-to-color": [{
2155
- "mask-radial-to": m()
2155
+ "mask-radial-to": f()
2156
2156
  }],
2157
2157
  "mask-image-radial-shape": [{
2158
2158
  "mask-radial": ["circle", "ellipse"]
@@ -2164,22 +2164,22 @@ const C = (e) => {
2164
2164
  }]
2165
2165
  }],
2166
2166
  "mask-image-radial-pos": [{
2167
- "mask-radial-at": B()
2167
+ "mask-radial-at": R()
2168
2168
  }],
2169
2169
  "mask-image-conic-pos": [{
2170
- "mask-conic": [k]
2170
+ "mask-conic": [y]
2171
2171
  }],
2172
2172
  "mask-image-conic-from-pos": [{
2173
- "mask-conic-from": s()
2173
+ "mask-conic-from": n()
2174
2174
  }],
2175
2175
  "mask-image-conic-to-pos": [{
2176
- "mask-conic-to": s()
2176
+ "mask-conic-to": n()
2177
2177
  }],
2178
2178
  "mask-image-conic-from-color": [{
2179
- "mask-conic-from": m()
2179
+ "mask-conic-from": f()
2180
2180
  }],
2181
2181
  "mask-image-conic-to-color": [{
2182
- "mask-conic-to": m()
2182
+ "mask-conic-to": f()
2183
2183
  }],
2184
2184
  /**
2185
2185
  * Mask Mode
@@ -2228,7 +2228,7 @@ const C = (e) => {
2228
2228
  * @see https://tailwindcss.com/docs/mask-image
2229
2229
  */
2230
2230
  "mask-image": [{
2231
- mask: ["none", i, l]
2231
+ mask: ["none", c, i]
2232
2232
  }],
2233
2233
  // ---------------
2234
2234
  // --- Filters ---
@@ -2242,8 +2242,8 @@ const C = (e) => {
2242
2242
  // Deprecated since Tailwind CSS v3.0.0
2243
2243
  "",
2244
2244
  "none",
2245
- i,
2246
- l
2245
+ c,
2246
+ i
2247
2247
  ]
2248
2248
  }],
2249
2249
  /**
@@ -2251,21 +2251,21 @@ const C = (e) => {
2251
2251
  * @see https://tailwindcss.com/docs/blur
2252
2252
  */
2253
2253
  blur: [{
2254
- blur: j()
2254
+ blur: E()
2255
2255
  }],
2256
2256
  /**
2257
2257
  * Brightness
2258
2258
  * @see https://tailwindcss.com/docs/brightness
2259
2259
  */
2260
2260
  brightness: [{
2261
- brightness: [k, i, l]
2261
+ brightness: [y, c, i]
2262
2262
  }],
2263
2263
  /**
2264
2264
  * Contrast
2265
2265
  * @see https://tailwindcss.com/docs/contrast
2266
2266
  */
2267
2267
  contrast: [{
2268
- contrast: [k, i, l]
2268
+ contrast: [y, c, i]
2269
2269
  }],
2270
2270
  /**
2271
2271
  * Drop Shadow
@@ -2276,7 +2276,7 @@ const C = (e) => {
2276
2276
  // Deprecated since Tailwind CSS v4.0.0
2277
2277
  "",
2278
2278
  "none",
2279
- P,
2279
+ N,
2280
2280
  fe,
2281
2281
  me
2282
2282
  ]
@@ -2286,42 +2286,42 @@ const C = (e) => {
2286
2286
  * @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
2287
2287
  */
2288
2288
  "drop-shadow-color": [{
2289
- "drop-shadow": m()
2289
+ "drop-shadow": f()
2290
2290
  }],
2291
2291
  /**
2292
2292
  * Grayscale
2293
2293
  * @see https://tailwindcss.com/docs/grayscale
2294
2294
  */
2295
2295
  grayscale: [{
2296
- grayscale: ["", k, i, l]
2296
+ grayscale: ["", y, c, i]
2297
2297
  }],
2298
2298
  /**
2299
2299
  * Hue Rotate
2300
2300
  * @see https://tailwindcss.com/docs/hue-rotate
2301
2301
  */
2302
2302
  "hue-rotate": [{
2303
- "hue-rotate": [k, i, l]
2303
+ "hue-rotate": [y, c, i]
2304
2304
  }],
2305
2305
  /**
2306
2306
  * Invert
2307
2307
  * @see https://tailwindcss.com/docs/invert
2308
2308
  */
2309
2309
  invert: [{
2310
- invert: ["", k, i, l]
2310
+ invert: ["", y, c, i]
2311
2311
  }],
2312
2312
  /**
2313
2313
  * Saturate
2314
2314
  * @see https://tailwindcss.com/docs/saturate
2315
2315
  */
2316
2316
  saturate: [{
2317
- saturate: [k, i, l]
2317
+ saturate: [y, c, i]
2318
2318
  }],
2319
2319
  /**
2320
2320
  * Sepia
2321
2321
  * @see https://tailwindcss.com/docs/sepia
2322
2322
  */
2323
2323
  sepia: [{
2324
- sepia: ["", k, i, l]
2324
+ sepia: ["", y, c, i]
2325
2325
  }],
2326
2326
  /**
2327
2327
  * Backdrop Filter
@@ -2332,8 +2332,8 @@ const C = (e) => {
2332
2332
  // Deprecated since Tailwind CSS v3.0.0
2333
2333
  "",
2334
2334
  "none",
2335
- i,
2336
- l
2335
+ c,
2336
+ i
2337
2337
  ]
2338
2338
  }],
2339
2339
  /**
@@ -2341,63 +2341,63 @@ const C = (e) => {
2341
2341
  * @see https://tailwindcss.com/docs/backdrop-blur
2342
2342
  */
2343
2343
  "backdrop-blur": [{
2344
- "backdrop-blur": j()
2344
+ "backdrop-blur": E()
2345
2345
  }],
2346
2346
  /**
2347
2347
  * Backdrop Brightness
2348
2348
  * @see https://tailwindcss.com/docs/backdrop-brightness
2349
2349
  */
2350
2350
  "backdrop-brightness": [{
2351
- "backdrop-brightness": [k, i, l]
2351
+ "backdrop-brightness": [y, c, i]
2352
2352
  }],
2353
2353
  /**
2354
2354
  * Backdrop Contrast
2355
2355
  * @see https://tailwindcss.com/docs/backdrop-contrast
2356
2356
  */
2357
2357
  "backdrop-contrast": [{
2358
- "backdrop-contrast": [k, i, l]
2358
+ "backdrop-contrast": [y, c, i]
2359
2359
  }],
2360
2360
  /**
2361
2361
  * Backdrop Grayscale
2362
2362
  * @see https://tailwindcss.com/docs/backdrop-grayscale
2363
2363
  */
2364
2364
  "backdrop-grayscale": [{
2365
- "backdrop-grayscale": ["", k, i, l]
2365
+ "backdrop-grayscale": ["", y, c, i]
2366
2366
  }],
2367
2367
  /**
2368
2368
  * Backdrop Hue Rotate
2369
2369
  * @see https://tailwindcss.com/docs/backdrop-hue-rotate
2370
2370
  */
2371
2371
  "backdrop-hue-rotate": [{
2372
- "backdrop-hue-rotate": [k, i, l]
2372
+ "backdrop-hue-rotate": [y, c, i]
2373
2373
  }],
2374
2374
  /**
2375
2375
  * Backdrop Invert
2376
2376
  * @see https://tailwindcss.com/docs/backdrop-invert
2377
2377
  */
2378
2378
  "backdrop-invert": [{
2379
- "backdrop-invert": ["", k, i, l]
2379
+ "backdrop-invert": ["", y, c, i]
2380
2380
  }],
2381
2381
  /**
2382
2382
  * Backdrop Opacity
2383
2383
  * @see https://tailwindcss.com/docs/backdrop-opacity
2384
2384
  */
2385
2385
  "backdrop-opacity": [{
2386
- "backdrop-opacity": [k, i, l]
2386
+ "backdrop-opacity": [y, c, i]
2387
2387
  }],
2388
2388
  /**
2389
2389
  * Backdrop Saturate
2390
2390
  * @see https://tailwindcss.com/docs/backdrop-saturate
2391
2391
  */
2392
2392
  "backdrop-saturate": [{
2393
- "backdrop-saturate": [k, i, l]
2393
+ "backdrop-saturate": [y, c, i]
2394
2394
  }],
2395
2395
  /**
2396
2396
  * Backdrop Sepia
2397
2397
  * @see https://tailwindcss.com/docs/backdrop-sepia
2398
2398
  */
2399
2399
  "backdrop-sepia": [{
2400
- "backdrop-sepia": ["", k, i, l]
2400
+ "backdrop-sepia": ["", y, c, i]
2401
2401
  }],
2402
2402
  // --------------
2403
2403
  // --- Tables ---
@@ -2414,21 +2414,21 @@ const C = (e) => {
2414
2414
  * @see https://tailwindcss.com/docs/border-spacing
2415
2415
  */
2416
2416
  "border-spacing": [{
2417
- "border-spacing": u()
2417
+ "border-spacing": m()
2418
2418
  }],
2419
2419
  /**
2420
2420
  * Border Spacing X
2421
2421
  * @see https://tailwindcss.com/docs/border-spacing
2422
2422
  */
2423
2423
  "border-spacing-x": [{
2424
- "border-spacing-x": u()
2424
+ "border-spacing-x": m()
2425
2425
  }],
2426
2426
  /**
2427
2427
  * Border Spacing Y
2428
2428
  * @see https://tailwindcss.com/docs/border-spacing
2429
2429
  */
2430
2430
  "border-spacing-y": [{
2431
- "border-spacing-y": u()
2431
+ "border-spacing-y": m()
2432
2432
  }],
2433
2433
  /**
2434
2434
  * Table Layout
@@ -2452,7 +2452,7 @@ const C = (e) => {
2452
2452
  * @see https://tailwindcss.com/docs/transition-property
2453
2453
  */
2454
2454
  transition: [{
2455
- transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", i, l]
2455
+ transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", c, i]
2456
2456
  }],
2457
2457
  /**
2458
2458
  * Transition Behavior
@@ -2466,28 +2466,28 @@ const C = (e) => {
2466
2466
  * @see https://tailwindcss.com/docs/transition-duration
2467
2467
  */
2468
2468
  duration: [{
2469
- duration: [k, "initial", i, l]
2469
+ duration: [y, "initial", c, i]
2470
2470
  }],
2471
2471
  /**
2472
2472
  * Transition Timing Function
2473
2473
  * @see https://tailwindcss.com/docs/transition-timing-function
2474
2474
  */
2475
2475
  ease: [{
2476
- ease: ["linear", "initial", L, i, l]
2476
+ ease: ["linear", "initial", I, c, i]
2477
2477
  }],
2478
2478
  /**
2479
2479
  * Transition Delay
2480
2480
  * @see https://tailwindcss.com/docs/transition-delay
2481
2481
  */
2482
2482
  delay: [{
2483
- delay: [k, i, l]
2483
+ delay: [y, c, i]
2484
2484
  }],
2485
2485
  /**
2486
2486
  * Animation
2487
2487
  * @see https://tailwindcss.com/docs/animation
2488
2488
  */
2489
2489
  animate: [{
2490
- animate: ["none", $, i, l]
2490
+ animate: ["none", $, c, i]
2491
2491
  }],
2492
2492
  // ------------------
2493
2493
  // --- Transforms ---
@@ -2504,70 +2504,70 @@ const C = (e) => {
2504
2504
  * @see https://tailwindcss.com/docs/perspective
2505
2505
  */
2506
2506
  perspective: [{
2507
- perspective: [T, i, l]
2507
+ perspective: [F, c, i]
2508
2508
  }],
2509
2509
  /**
2510
2510
  * Perspective Origin
2511
2511
  * @see https://tailwindcss.com/docs/perspective-origin
2512
2512
  */
2513
2513
  "perspective-origin": [{
2514
- "perspective-origin": G()
2514
+ "perspective-origin": O()
2515
2515
  }],
2516
2516
  /**
2517
2517
  * Rotate
2518
2518
  * @see https://tailwindcss.com/docs/rotate
2519
2519
  */
2520
2520
  rotate: [{
2521
- rotate: N()
2521
+ rotate: M()
2522
2522
  }],
2523
2523
  /**
2524
2524
  * Rotate X
2525
2525
  * @see https://tailwindcss.com/docs/rotate
2526
2526
  */
2527
2527
  "rotate-x": [{
2528
- "rotate-x": N()
2528
+ "rotate-x": M()
2529
2529
  }],
2530
2530
  /**
2531
2531
  * Rotate Y
2532
2532
  * @see https://tailwindcss.com/docs/rotate
2533
2533
  */
2534
2534
  "rotate-y": [{
2535
- "rotate-y": N()
2535
+ "rotate-y": M()
2536
2536
  }],
2537
2537
  /**
2538
2538
  * Rotate Z
2539
2539
  * @see https://tailwindcss.com/docs/rotate
2540
2540
  */
2541
2541
  "rotate-z": [{
2542
- "rotate-z": N()
2542
+ "rotate-z": M()
2543
2543
  }],
2544
2544
  /**
2545
2545
  * Scale
2546
2546
  * @see https://tailwindcss.com/docs/scale
2547
2547
  */
2548
2548
  scale: [{
2549
- scale: q()
2549
+ scale: W()
2550
2550
  }],
2551
2551
  /**
2552
2552
  * Scale X
2553
2553
  * @see https://tailwindcss.com/docs/scale
2554
2554
  */
2555
2555
  "scale-x": [{
2556
- "scale-x": q()
2556
+ "scale-x": W()
2557
2557
  }],
2558
2558
  /**
2559
2559
  * Scale Y
2560
2560
  * @see https://tailwindcss.com/docs/scale
2561
2561
  */
2562
2562
  "scale-y": [{
2563
- "scale-y": q()
2563
+ "scale-y": W()
2564
2564
  }],
2565
2565
  /**
2566
2566
  * Scale Z
2567
2567
  * @see https://tailwindcss.com/docs/scale
2568
2568
  */
2569
2569
  "scale-z": [{
2570
- "scale-z": q()
2570
+ "scale-z": W()
2571
2571
  }],
2572
2572
  /**
2573
2573
  * Scale 3D
@@ -2600,14 +2600,14 @@ const C = (e) => {
2600
2600
  * @see https://tailwindcss.com/docs/transform
2601
2601
  */
2602
2602
  transform: [{
2603
- transform: [i, l, "", "none", "gpu", "cpu"]
2603
+ transform: [c, i, "", "none", "gpu", "cpu"]
2604
2604
  }],
2605
2605
  /**
2606
2606
  * Transform Origin
2607
2607
  * @see https://tailwindcss.com/docs/transform-origin
2608
2608
  */
2609
2609
  "transform-origin": [{
2610
- origin: G()
2610
+ origin: O()
2611
2611
  }],
2612
2612
  /**
2613
2613
  * Transform Style
@@ -2657,7 +2657,7 @@ const C = (e) => {
2657
2657
  * @see https://tailwindcss.com/docs/accent-color
2658
2658
  */
2659
2659
  accent: [{
2660
- accent: m()
2660
+ accent: f()
2661
2661
  }],
2662
2662
  /**
2663
2663
  * Appearance
@@ -2671,7 +2671,7 @@ const C = (e) => {
2671
2671
  * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
2672
2672
  */
2673
2673
  "caret-color": [{
2674
- caret: m()
2674
+ caret: f()
2675
2675
  }],
2676
2676
  /**
2677
2677
  * Color Scheme
@@ -2685,7 +2685,7 @@ const C = (e) => {
2685
2685
  * @see https://tailwindcss.com/docs/cursor
2686
2686
  */
2687
2687
  cursor: [{
2688
- 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, l]
2688
+ 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, i]
2689
2689
  }],
2690
2690
  /**
2691
2691
  * Field Sizing
@@ -2720,126 +2720,126 @@ const C = (e) => {
2720
2720
  * @see https://tailwindcss.com/docs/scroll-margin
2721
2721
  */
2722
2722
  "scroll-m": [{
2723
- "scroll-m": u()
2723
+ "scroll-m": m()
2724
2724
  }],
2725
2725
  /**
2726
2726
  * Scroll Margin X
2727
2727
  * @see https://tailwindcss.com/docs/scroll-margin
2728
2728
  */
2729
2729
  "scroll-mx": [{
2730
- "scroll-mx": u()
2730
+ "scroll-mx": m()
2731
2731
  }],
2732
2732
  /**
2733
2733
  * Scroll Margin Y
2734
2734
  * @see https://tailwindcss.com/docs/scroll-margin
2735
2735
  */
2736
2736
  "scroll-my": [{
2737
- "scroll-my": u()
2737
+ "scroll-my": m()
2738
2738
  }],
2739
2739
  /**
2740
2740
  * Scroll Margin Start
2741
2741
  * @see https://tailwindcss.com/docs/scroll-margin
2742
2742
  */
2743
2743
  "scroll-ms": [{
2744
- "scroll-ms": u()
2744
+ "scroll-ms": m()
2745
2745
  }],
2746
2746
  /**
2747
2747
  * Scroll Margin End
2748
2748
  * @see https://tailwindcss.com/docs/scroll-margin
2749
2749
  */
2750
2750
  "scroll-me": [{
2751
- "scroll-me": u()
2751
+ "scroll-me": m()
2752
2752
  }],
2753
2753
  /**
2754
2754
  * Scroll Margin Top
2755
2755
  * @see https://tailwindcss.com/docs/scroll-margin
2756
2756
  */
2757
2757
  "scroll-mt": [{
2758
- "scroll-mt": u()
2758
+ "scroll-mt": m()
2759
2759
  }],
2760
2760
  /**
2761
2761
  * Scroll Margin Right
2762
2762
  * @see https://tailwindcss.com/docs/scroll-margin
2763
2763
  */
2764
2764
  "scroll-mr": [{
2765
- "scroll-mr": u()
2765
+ "scroll-mr": m()
2766
2766
  }],
2767
2767
  /**
2768
2768
  * Scroll Margin Bottom
2769
2769
  * @see https://tailwindcss.com/docs/scroll-margin
2770
2770
  */
2771
2771
  "scroll-mb": [{
2772
- "scroll-mb": u()
2772
+ "scroll-mb": m()
2773
2773
  }],
2774
2774
  /**
2775
2775
  * Scroll Margin Left
2776
2776
  * @see https://tailwindcss.com/docs/scroll-margin
2777
2777
  */
2778
2778
  "scroll-ml": [{
2779
- "scroll-ml": u()
2779
+ "scroll-ml": m()
2780
2780
  }],
2781
2781
  /**
2782
2782
  * Scroll Padding
2783
2783
  * @see https://tailwindcss.com/docs/scroll-padding
2784
2784
  */
2785
2785
  "scroll-p": [{
2786
- "scroll-p": u()
2786
+ "scroll-p": m()
2787
2787
  }],
2788
2788
  /**
2789
2789
  * Scroll Padding X
2790
2790
  * @see https://tailwindcss.com/docs/scroll-padding
2791
2791
  */
2792
2792
  "scroll-px": [{
2793
- "scroll-px": u()
2793
+ "scroll-px": m()
2794
2794
  }],
2795
2795
  /**
2796
2796
  * Scroll Padding Y
2797
2797
  * @see https://tailwindcss.com/docs/scroll-padding
2798
2798
  */
2799
2799
  "scroll-py": [{
2800
- "scroll-py": u()
2800
+ "scroll-py": m()
2801
2801
  }],
2802
2802
  /**
2803
2803
  * Scroll Padding Start
2804
2804
  * @see https://tailwindcss.com/docs/scroll-padding
2805
2805
  */
2806
2806
  "scroll-ps": [{
2807
- "scroll-ps": u()
2807
+ "scroll-ps": m()
2808
2808
  }],
2809
2809
  /**
2810
2810
  * Scroll Padding End
2811
2811
  * @see https://tailwindcss.com/docs/scroll-padding
2812
2812
  */
2813
2813
  "scroll-pe": [{
2814
- "scroll-pe": u()
2814
+ "scroll-pe": m()
2815
2815
  }],
2816
2816
  /**
2817
2817
  * Scroll Padding Top
2818
2818
  * @see https://tailwindcss.com/docs/scroll-padding
2819
2819
  */
2820
2820
  "scroll-pt": [{
2821
- "scroll-pt": u()
2821
+ "scroll-pt": m()
2822
2822
  }],
2823
2823
  /**
2824
2824
  * Scroll Padding Right
2825
2825
  * @see https://tailwindcss.com/docs/scroll-padding
2826
2826
  */
2827
2827
  "scroll-pr": [{
2828
- "scroll-pr": u()
2828
+ "scroll-pr": m()
2829
2829
  }],
2830
2830
  /**
2831
2831
  * Scroll Padding Bottom
2832
2832
  * @see https://tailwindcss.com/docs/scroll-padding
2833
2833
  */
2834
2834
  "scroll-pb": [{
2835
- "scroll-pb": u()
2835
+ "scroll-pb": m()
2836
2836
  }],
2837
2837
  /**
2838
2838
  * Scroll Padding Left
2839
2839
  * @see https://tailwindcss.com/docs/scroll-padding
2840
2840
  */
2841
2841
  "scroll-pl": [{
2842
- "scroll-pl": u()
2842
+ "scroll-pl": m()
2843
2843
  }],
2844
2844
  /**
2845
2845
  * Scroll Snap Align
@@ -2907,7 +2907,7 @@ const C = (e) => {
2907
2907
  * @see https://tailwindcss.com/docs/will-change
2908
2908
  */
2909
2909
  "will-change": [{
2910
- "will-change": ["auto", "scroll", "contents", "transform", i, l]
2910
+ "will-change": ["auto", "scroll", "contents", "transform", c, i]
2911
2911
  }],
2912
2912
  // -----------
2913
2913
  // --- SVG ---
@@ -2917,21 +2917,21 @@ const C = (e) => {
2917
2917
  * @see https://tailwindcss.com/docs/fill
2918
2918
  */
2919
2919
  fill: [{
2920
- fill: ["none", ...m()]
2920
+ fill: ["none", ...f()]
2921
2921
  }],
2922
2922
  /**
2923
2923
  * Stroke Width
2924
2924
  * @see https://tailwindcss.com/docs/stroke-width
2925
2925
  */
2926
2926
  "stroke-w": [{
2927
- stroke: [k, de, oe, he]
2927
+ stroke: [y, de, oe, ge]
2928
2928
  }],
2929
2929
  /**
2930
2930
  * Stroke
2931
2931
  * @see https://tailwindcss.com/docs/stroke
2932
2932
  */
2933
2933
  stroke: [{
2934
- stroke: ["none", ...m()]
2934
+ stroke: ["none", ...f()]
2935
2935
  }],
2936
2936
  // ---------------------
2937
2937
  // --- Accessibility ---
@@ -2999,158 +2999,170 @@ const C = (e) => {
2999
2999
  },
3000
3000
  orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
3001
3001
  };
3002
- }, Er = /* @__PURE__ */ nr(Cr);
3003
- function Ge(e) {
3004
- var a, n, t = "";
3002
+ }, _r = /* @__PURE__ */ nr(jr);
3003
+ function Oe(e) {
3004
+ var l, a, t = "";
3005
3005
  if (typeof e == "string" || typeof e == "number") t += e;
3006
3006
  else if (typeof e == "object") if (Array.isArray(e)) {
3007
3007
  var o = e.length;
3008
- for (a = 0; a < o; a++) e[a] && (n = Ge(e[a])) && (t && (t += " "), t += n);
3009
- } else for (n in e) e[n] && (t && (t += " "), t += n);
3008
+ for (l = 0; l < o; l++) e[l] && (a = Oe(e[l])) && (t && (t += " "), t += a);
3009
+ } else for (a in e) e[a] && (t && (t += " "), t += a);
3010
3010
  return t;
3011
3011
  }
3012
- function jr() {
3013
- for (var e, a, n = 0, t = "", o = arguments.length; n < o; n++) (e = arguments[n]) && (a = Ge(e)) && (t && (t += " "), t += a);
3012
+ function Er() {
3013
+ for (var e, l, a = 0, t = "", o = arguments.length; a < o; a++) (e = arguments[a]) && (l = Oe(e)) && (t && (t += " "), t += l);
3014
3014
  return t;
3015
3015
  }
3016
3016
  function pe(...e) {
3017
- return Er(jr(e));
3017
+ return _r(Er(e));
3018
3018
  }
3019
- const Fr = ({
3019
+ const Tr = ({
3020
3020
  initialContent: e = "",
3021
- onChange: a,
3022
- onSave: n,
3021
+ onChange: l,
3022
+ onSave: a,
3023
3023
  onExport: t,
3024
3024
  readOnly: o = !1,
3025
3025
  showButtons: b = !1,
3026
3026
  showSaveTitle: p = !1,
3027
- showStatusBar: y = !1,
3028
- height: h = "500px"
3027
+ showStatusBar: w = !1,
3028
+ height: g = "500px"
3029
3029
  }) => {
3030
- const x = be(null), _ = be(null), S = be(null), [H, P] = le(!1), [E, T] = le(!1), [z, L] = le(!1), [$, U] = le("Untitled Document"), [B, G] = le({
3030
+ const x = be(null), C = be(null), S = be(null), [D, N] = le(!1), [_, F] = le(!1), [L, I] = le(!1), [$, U] = le("Untitled Document"), [R, O] = le({
3031
3031
  bold: !1,
3032
3032
  italic: !1,
3033
3033
  underline: !1,
3034
- strikeThrough: !1
3034
+ strikeThrough: !1,
3035
+ justifyLeft: !1,
3036
+ justifyCenter: !1,
3037
+ justifyRight: !1,
3038
+ justifyFull: !1
3035
3039
  });
3036
3040
  ve(() => {
3037
- x.current && e && (x.current.innerHTML = e, F());
3041
+ x.current && e && (x.current.innerHTML = e, T());
3038
3042
  }, [e]);
3039
- const F = D(() => {
3043
+ const T = G(() => {
3040
3044
  if (!x.current) return;
3041
- const d = (s) => {
3042
- switch (s.tagName.toLowerCase()) {
3045
+ const u = (n) => {
3046
+ switch (n.tagName.toLowerCase()) {
3043
3047
  case "h1":
3044
- s.classList.add("text-3xl", "font-bold", "mt-6", "mb-4", "text-gray-800", "border-b", "pb-2");
3048
+ n.classList.add("text-3xl", "font-bold", "mt-6", "mb-4", "text-gray-800", "border-b", "pb-2");
3045
3049
  break;
3046
3050
  case "h2":
3047
- s.classList.add("text-2xl", "font-bold", "mt-5", "mb-3", "text-gray-800");
3051
+ n.classList.add("text-2xl", "font-bold", "mt-5", "mb-3", "text-gray-800");
3048
3052
  break;
3049
3053
  case "h3":
3050
- s.classList.add("text-xl", "font-bold", "mt-4", "mb-2", "text-gray-800");
3054
+ n.classList.add("text-xl", "font-bold", "mt-4", "mb-2", "text-gray-800");
3051
3055
  break;
3052
3056
  case "p":
3053
- s.classList.add("mb-4", "text-gray-700", "leading-relaxed");
3057
+ n.classList.add("mb-4", "text-gray-700", "leading-relaxed");
3054
3058
  break;
3055
3059
  case "ul":
3056
- s.classList.add("list-disc", "list-inside", "mb-4", "ml-4", "space-y-1");
3060
+ n.classList.add("list-disc", "list-inside", "mb-4", "ml-4", "space-y-1");
3057
3061
  break;
3058
3062
  case "ol":
3059
- s.classList.add("list-decimal", "list-inside", "mb-4", "ml-4", "space-y-1");
3063
+ n.classList.add("list-decimal", "list-inside", "mb-4", "ml-4", "space-y-1");
3060
3064
  break;
3061
3065
  case "li":
3062
- s.classList.add("mb-1");
3066
+ n.classList.add("mb-1");
3063
3067
  break;
3064
3068
  case "a":
3065
- s.classList.add("text-blue-600", "hover:text-blue-800", "underline", "transition-colors");
3069
+ n.classList.add("text-blue-600", "hover:text-blue-800", "underline", "transition-colors");
3066
3070
  break;
3067
3071
  case "blockquote":
3068
- s.classList.add("border-l-4", "border-blue-500", "pl-4", "italic", "text-gray-600", "my-4");
3072
+ n.classList.add("border-l-4", "border-blue-500", "pl-4", "italic", "text-gray-600", "my-4");
3069
3073
  break;
3070
3074
  case "code":
3071
- s.parentElement?.tagName.toLowerCase() !== "pre" && s.classList.add("bg-gray-100", "px-2", "py-1", "rounded", "text-sm", "font-mono");
3075
+ n.parentElement?.tagName.toLowerCase() !== "pre" && n.classList.add("bg-gray-100", "px-2", "py-1", "rounded", "text-sm", "font-mono");
3072
3076
  break;
3073
3077
  case "pre":
3074
- s.classList.add("bg-gray-800", "text-gray-100", "p-4", "rounded-lg", "overflow-x-auto", "my-4");
3078
+ n.classList.add("bg-gray-800", "text-gray-100", "p-4", "rounded-lg", "overflow-x-auto", "my-4");
3075
3079
  break;
3076
3080
  }
3077
- Array.from(s.children).forEach(d);
3081
+ Array.from(n.children).forEach(u);
3078
3082
  };
3079
- Array.from(x.current.children).forEach(d);
3080
- }, []), R = D(() => {
3083
+ Array.from(x.current.children).forEach(u);
3084
+ }, []), A = G(() => {
3081
3085
  if (!(o || !x.current))
3082
3086
  try {
3083
- const d = window.getSelection();
3084
- d && d.rangeCount > 0 && d.toString().length > 0 ? G({
3087
+ const u = window.getSelection();
3088
+ u && u.rangeCount > 0 ? O({
3085
3089
  bold: document.queryCommandState("bold"),
3086
3090
  italic: document.queryCommandState("italic"),
3087
3091
  underline: document.queryCommandState("underline"),
3088
- strikeThrough: document.queryCommandState("strikeThrough")
3089
- }) : G({
3092
+ strikeThrough: document.queryCommandState("strikeThrough"),
3093
+ justifyLeft: document.queryCommandState("justifyLeft"),
3094
+ justifyCenter: document.queryCommandState("justifyCenter"),
3095
+ justifyRight: document.queryCommandState("justifyRight"),
3096
+ justifyFull: document.queryCommandState("justifyFull")
3097
+ }) : O({
3090
3098
  bold: !1,
3091
3099
  italic: !1,
3092
3100
  underline: !1,
3093
- strikeThrough: !1
3101
+ strikeThrough: !1,
3102
+ justifyLeft: !1,
3103
+ justifyCenter: !1,
3104
+ justifyRight: !1,
3105
+ justifyFull: !1
3094
3106
  });
3095
- } catch (d) {
3096
- console.warn("Format state detection not available:", d);
3107
+ } catch (u) {
3108
+ console.warn("Format state detection not available:", u);
3097
3109
  }
3098
- }, [o]), u = D(() => {
3110
+ }, [o]), m = G(() => {
3099
3111
  if (!x.current) return;
3100
- const d = x.current.innerHTML || "", s = x.current.innerText || "";
3101
- a?.(s, d, $), F(), R();
3102
- }, [a, $, F, R]), A = (d) => {
3103
- const s = d.target.value;
3104
- U(s);
3105
- const j = x.current?.innerHTML || "", N = x.current?.innerText || "";
3106
- a?.(N, j, s);
3107
- }, X = D((d) => {
3112
+ const u = x.current.innerHTML || "", n = x.current.innerText || "";
3113
+ l?.(n, u, $), T(), A();
3114
+ }, [l, $, T, A]), z = (u) => {
3115
+ const n = u.target.value;
3116
+ U(n);
3117
+ const E = x.current?.innerHTML || "", M = x.current?.innerText || "";
3118
+ l?.(M, E, n);
3119
+ }, X = G((u) => {
3108
3120
  if (!(o || !x.current))
3109
3121
  try {
3110
- x.current.focus(), document.execCommand("formatBlock", !1, `<${d}>`), setTimeout(F, 10), u(), R();
3111
- } catch (s) {
3112
- console.warn(`Format block ${d} failed:`, s);
3122
+ x.current.focus(), document.execCommand("formatBlock", !1, `<${u}>`), setTimeout(T, 10), m(), A();
3123
+ } catch (n) {
3124
+ console.warn(`Format block ${u} failed:`, n);
3113
3125
  }
3114
- }, [o, F, u, R]), Q = D((d) => {
3126
+ }, [o, T, m, A]), Q = G((u) => {
3115
3127
  if (!(o || !x.current))
3116
3128
  try {
3117
- x.current.focus(), document.execCommand(d, !1, void 0), setTimeout(F, 10), u(), R();
3118
- } catch (s) {
3119
- console.warn(`List command ${d} failed:`, s);
3129
+ x.current.focus(), document.execCommand(u, !1, void 0), setTimeout(T, 10), m(), A();
3130
+ } catch (n) {
3131
+ console.warn(`List command ${u} failed:`, n);
3120
3132
  }
3121
- }, [o, F, u, R]);
3133
+ }, [o, T, m, A]);
3122
3134
  ve(() => {
3123
- const d = (s) => {
3124
- S.current && !S.current.contains(s.target) && (P(!1), T(!1), L(!1));
3135
+ const u = (n) => {
3136
+ S.current && !S.current.contains(n.target) && (N(!1), F(!1), I(!1));
3125
3137
  };
3126
3138
  if (!o)
3127
- return document.addEventListener("mousedown", d), () => document.removeEventListener("mousedown", d);
3139
+ return document.addEventListener("mousedown", u), () => document.removeEventListener("mousedown", u);
3128
3140
  }, [o]);
3129
3141
  const V = () => {
3130
- o || P(!0);
3142
+ o || N(!0);
3131
3143
  }, K = () => {
3132
- o || setTimeout(() => P(!1), 200);
3133
- }, v = D(
3134
- (d, s) => {
3144
+ o || setTimeout(() => N(!1), 200);
3145
+ }, v = G(
3146
+ (u, n) => {
3135
3147
  if (!o)
3136
3148
  try {
3137
- if (x.current?.focus(), d === "formatBlock") {
3138
- X(s || "p");
3149
+ if (x.current?.focus(), u === "formatBlock") {
3150
+ X(n || "p");
3139
3151
  return;
3140
- } else if (d === "insertUnorderedList" || d === "insertOrderedList") {
3141
- Q(d);
3152
+ } else if (u === "insertUnorderedList" || u === "insertOrderedList") {
3153
+ Q(u);
3142
3154
  return;
3143
3155
  } else
3144
- document.execCommand(d, !1, s);
3145
- u(), R();
3146
- } catch (j) {
3147
- console.warn(`Command ${d} failed:`, j);
3156
+ document.execCommand(u, !1, n);
3157
+ m(), A();
3158
+ } catch (E) {
3159
+ console.warn(`Command ${u} failed:`, E);
3148
3160
  }
3149
3161
  },
3150
- [o, X, Q, u, R]
3151
- ), I = D((d) => (s) => {
3152
- s.preventDefault(), d();
3153
- }, []), M = [
3162
+ [o, X, Q, m, A]
3163
+ ), H = G((u) => (n) => {
3164
+ n.preventDefault(), u();
3165
+ }, []), P = [
3154
3166
  "#000000",
3155
3167
  "#FFFFFF",
3156
3168
  "#FF0000",
@@ -3171,7 +3183,7 @@ const Fr = ({
3171
3183
  "#FFD700",
3172
3184
  "#90EE90",
3173
3185
  "#ADD8E6"
3174
- ], O = [
3186
+ ], B = [
3175
3187
  "#FFFFFF",
3176
3188
  "#000000",
3177
3189
  "#FF0000",
@@ -3197,59 +3209,59 @@ const Fr = ({
3197
3209
  "#F0E68C",
3198
3210
  "#F5DEB3",
3199
3211
  "#D3D3D3"
3200
- ], m = D((d) => {
3201
- v("foreColor", d);
3202
- }, [v]), ee = D((d) => {
3203
- v("hiliteColor", d);
3204
- }, [v]), re = D(() => {
3205
- const d = x.current?.innerHTML || "", s = x.current?.innerText || "";
3206
- n?.(s, d);
3207
- }, [n]), r = D(() => {
3208
- const d = x.current?.innerHTML || "";
3209
- t?.(d);
3210
- }, [t]), g = () => /* @__PURE__ */ c.jsx("div", { className: "w-px h-6 bg-gray-300 mx-1" }), f = ({ onClick: d, title: s, children: j, isActive: N = !1, className: q = "" }) => /* @__PURE__ */ c.jsx(
3212
+ ], f = G((u) => {
3213
+ v("foreColor", u);
3214
+ }, [v]), ee = G((u) => {
3215
+ v("hiliteColor", u);
3216
+ }, [v]), re = G(() => {
3217
+ const u = x.current?.innerHTML || "", n = x.current?.innerText || "";
3218
+ a?.(n, u);
3219
+ }, [a]), r = G(() => {
3220
+ const u = x.current?.innerHTML || "";
3221
+ t?.(u);
3222
+ }, [t]), h = () => /* @__PURE__ */ s.jsx("div", { className: "w-px h-6 bg-gray-300 mx-1" }), d = ({ onClick: u, title: n, children: E, isActive: M = !1, className: W = "" }) => /* @__PURE__ */ s.jsx(
3211
3223
  "button",
3212
3224
  {
3213
3225
  className: pe(
3214
3226
  "w-8 h-8 flex items-center justify-center rounded hover:bg-gray-100 transition-colors",
3215
- N && "bg-blue-100 text-blue-600 border border-blue-300",
3216
- q
3227
+ M && "bg-blue-100 text-blue-600 border border-blue-300",
3228
+ W
3217
3229
  ),
3218
3230
  onMouseDown: (te) => te.preventDefault(),
3219
- onClick: I(d),
3220
- title: s,
3231
+ onClick: H(u),
3232
+ title: n,
3221
3233
  type: "button",
3222
3234
  disabled: o,
3223
- children: j
3235
+ children: E
3224
3236
  }
3225
- ), w = ({ colors: d, onColorSelect: s, isOpen: j, onToggle: N, buttonContent: q, title: te }) => /* @__PURE__ */ c.jsxs("div", { className: "relative", children: [
3226
- /* @__PURE__ */ c.jsxs(
3227
- f,
3237
+ ), k = ({ colors: u, onColorSelect: n, isOpen: E, onToggle: M, buttonContent: W, title: te }) => /* @__PURE__ */ s.jsxs("div", { className: "relative", children: [
3238
+ /* @__PURE__ */ s.jsxs(
3239
+ d,
3228
3240
  {
3229
- onClick: N,
3241
+ onClick: M,
3230
3242
  title: te,
3231
3243
  className: "relative",
3232
3244
  children: [
3233
- q,
3234
- /* @__PURE__ */ c.jsx("span", { className: "absolute -bottom-1 -right-1 text-[8px]", children: "▼" })
3245
+ W,
3246
+ /* @__PURE__ */ s.jsx("span", { className: "absolute -bottom-1 -right-1 text-[8px]", children: "▼" })
3235
3247
  ]
3236
3248
  }
3237
3249
  ),
3238
- j && /* @__PURE__ */ c.jsx("div", { className: "absolute top-full left-0 mt-1 bg-white border border-gray-300 rounded-lg shadow-lg p-2 grid grid-cols-5 gap-1 z-20 min-w-[140px]", children: d.map((Y) => /* @__PURE__ */ c.jsx(
3250
+ E && /* @__PURE__ */ s.jsx("div", { className: "absolute top-full left-0 mt-1 bg-white border border-gray-300 rounded-lg shadow-lg p-2 grid grid-cols-5 gap-1 z-20 min-w-[140px]", children: u.map((Y) => /* @__PURE__ */ s.jsx(
3239
3251
  "button",
3240
3252
  {
3241
3253
  className: "w-5 h-5 rounded border border-gray-300 hover:scale-110 transition-transform",
3242
3254
  style: { backgroundColor: Y },
3243
3255
  title: Y,
3244
- onMouseDown: (De) => De.preventDefault(),
3245
- onClick: I(() => {
3246
- s(Y), N();
3256
+ onMouseDown: (Ge) => Ge.preventDefault(),
3257
+ onClick: H(() => {
3258
+ n(Y), M();
3247
3259
  })
3248
3260
  },
3249
3261
  Y
3250
3262
  )) })
3251
3263
  ] });
3252
- return /* @__PURE__ */ c.jsxs(
3264
+ return /* @__PURE__ */ s.jsxs(
3253
3265
  "div",
3254
3266
  {
3255
3267
  ref: S,
@@ -3258,7 +3270,7 @@ const Fr = ({
3258
3270
  o && "pointer-events-none opacity-80"
3259
3271
  ),
3260
3272
  children: [
3261
- p && /* @__PURE__ */ c.jsx("div", { className: "p-6 border-b border-gray-200 bg-gray-50", children: /* @__PURE__ */ c.jsx(
3273
+ p && /* @__PURE__ */ s.jsx("div", { className: "p-6 border-b border-gray-200 bg-gray-50", children: /* @__PURE__ */ s.jsx(
3262
3274
  "input",
3263
3275
  {
3264
3276
  type: "text",
@@ -3267,13 +3279,13 @@ const Fr = ({
3267
3279
  o && "cursor-default"
3268
3280
  ),
3269
3281
  value: $,
3270
- onChange: A,
3282
+ onChange: z,
3271
3283
  placeholder: "Document Title",
3272
3284
  readOnly: o
3273
3285
  }
3274
3286
  ) }),
3275
- b && /* @__PURE__ */ c.jsxs("div", { className: "border-b border-gray-200 bg-gray-50 px-4 py-2 flex items-center gap-2", children: [
3276
- /* @__PURE__ */ c.jsx(
3287
+ b && /* @__PURE__ */ s.jsxs("div", { className: "border-b border-gray-200 bg-gray-50 px-4 py-2 flex items-center gap-2", children: [
3288
+ /* @__PURE__ */ s.jsx(
3277
3289
  "button",
3278
3290
  {
3279
3291
  onClick: re,
@@ -3282,7 +3294,7 @@ const Fr = ({
3282
3294
  children: "Save"
3283
3295
  }
3284
3296
  ),
3285
- /* @__PURE__ */ c.jsx(
3297
+ /* @__PURE__ */ s.jsx(
3286
3298
  "button",
3287
3299
  {
3288
3300
  onClick: r,
@@ -3291,144 +3303,181 @@ const Fr = ({
3291
3303
  }
3292
3304
  )
3293
3305
  ] }),
3294
- !o && H && /* @__PURE__ */ c.jsxs(
3306
+ !o && D && /* @__PURE__ */ s.jsxs(
3295
3307
  "div",
3296
3308
  {
3297
- ref: _,
3309
+ ref: C,
3298
3310
  className: "border-b border-gray-200 bg-white px-4 py-2 flex items-center gap-1 flex-wrap sticky top-0 z-10",
3299
3311
  children: [
3300
- /* @__PURE__ */ c.jsx(
3301
- f,
3312
+ /* @__PURE__ */ s.jsx(
3313
+ d,
3302
3314
  {
3303
3315
  onClick: () => v("bold"),
3304
3316
  title: "Bold",
3305
- isActive: B.bold,
3306
- children: /* @__PURE__ */ c.jsx("span", { className: "font-bold text-sm", children: "B" })
3317
+ isActive: R.bold,
3318
+ children: /* @__PURE__ */ s.jsx("span", { className: "font-bold text-sm", children: "B" })
3307
3319
  }
3308
3320
  ),
3309
- /* @__PURE__ */ c.jsx(
3310
- f,
3321
+ /* @__PURE__ */ s.jsx(
3322
+ d,
3311
3323
  {
3312
3324
  onClick: () => v("italic"),
3313
3325
  title: "Italic",
3314
- isActive: B.italic,
3315
- children: /* @__PURE__ */ c.jsx("span", { className: "italic text-sm", children: "I" })
3326
+ isActive: R.italic,
3327
+ children: /* @__PURE__ */ s.jsx("span", { className: "italic text-sm", children: "I" })
3316
3328
  }
3317
3329
  ),
3318
- /* @__PURE__ */ c.jsx(
3319
- f,
3330
+ /* @__PURE__ */ s.jsx(
3331
+ d,
3320
3332
  {
3321
3333
  onClick: () => v("underline"),
3322
3334
  title: "Underline",
3323
- isActive: B.underline,
3324
- children: /* @__PURE__ */ c.jsx("span", { className: "underline text-sm", children: "U" })
3335
+ isActive: R.underline,
3336
+ children: /* @__PURE__ */ s.jsx("span", { className: "underline text-sm", children: "U" })
3337
+ }
3338
+ ),
3339
+ /* @__PURE__ */ s.jsx(h, {}),
3340
+ /* @__PURE__ */ s.jsx(
3341
+ d,
3342
+ {
3343
+ onClick: () => v("justifyLeft"),
3344
+ title: "Align Left",
3345
+ isActive: R.justifyLeft,
3346
+ children: /* @__PURE__ */ s.jsx("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ s.jsx("path", { d: "M3 5h18a1 1 0 1 0 0-2H3a1 1 0 1 0 0 2zm0 4h12a1 1 0 1 0 0-2H3a1 1 0 1 0 0 2zm0 4h18a1 1 0 1 0 0-2H3a1 1 0 1 0 0 2zm0 4h12a1 1 0 1 0 0-2H3a1 1 0 1 0 0 2zm0 4h18a1 1 0 1 0 0-2H3a1 1 0 1 0 0 2z" }) })
3347
+ }
3348
+ ),
3349
+ /* @__PURE__ */ s.jsx(
3350
+ d,
3351
+ {
3352
+ onClick: () => v("justifyCenter"),
3353
+ title: "Align Center",
3354
+ isActive: R.justifyCenter,
3355
+ children: /* @__PURE__ */ s.jsx("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ s.jsx("path", { d: "M3 5h18a1 1 0 1 0 0-2H3a1 1 0 1 0 0 2zm3 4h12a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2zm-3 4h18a1 1 0 1 0 0-2H3a1 1 0 1 0 0 2zm3 4h12a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2zm-3 4h18a1 1 0 1 0 0-2H3a1 1 0 1 0 0 2z" }) })
3356
+ }
3357
+ ),
3358
+ /* @__PURE__ */ s.jsx(
3359
+ d,
3360
+ {
3361
+ onClick: () => v("justifyRight"),
3362
+ title: "Align Right",
3363
+ isActive: R.justifyRight,
3364
+ children: /* @__PURE__ */ s.jsx("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ s.jsx("path", { d: "M3 5h18a1 1 0 1 0 0-2H3a1 1 0 1 0 0 2zm9 4h9a1 1 0 1 0 0-2h-9a1 1 0 1 0 0 2zm9 4H3a1 1 0 1 0 0 2h18a1 1 0 1 0 0-2zm-9 4h9a1 1 0 1 0 0-2h-9a1 1 0 1 0 0 2zm9 4H3a1 1 0 1 0 0 2h18a1 1 0 1 0 0-2z" }) })
3365
+ }
3366
+ ),
3367
+ /* @__PURE__ */ s.jsx(
3368
+ d,
3369
+ {
3370
+ onClick: () => v("justifyFull"),
3371
+ title: "Justify",
3372
+ isActive: R.justifyFull,
3373
+ children: /* @__PURE__ */ s.jsx("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ s.jsx("path", { d: "M3 5h18a1 1 0 1 0 0-2H3a1 1 0 1 0 0 2zm0 4h18a1 1 0 1 0 0-2H3a1 1 0 1 0 0 2zm0 4h18a1 1 0 1 0 0-2H3a1 1 0 1 0 0 2zm0 4h18a1 1 0 1 0 0-2H3a1 1 0 1 0 0 2zm0 4h18a1 1 0 1 0 0-2H3a1 1 0 1 0 0 2z" }) })
3325
3374
  }
3326
3375
  ),
3327
- /* @__PURE__ */ c.jsx(g, {}),
3328
- /* @__PURE__ */ c.jsx(
3329
- w,
3376
+ /* @__PURE__ */ s.jsx(h, {}),
3377
+ /* @__PURE__ */ s.jsx(
3378
+ k,
3330
3379
  {
3331
- colors: M,
3332
- onColorSelect: m,
3333
- isOpen: E,
3380
+ colors: P,
3381
+ onColorSelect: f,
3382
+ isOpen: _,
3334
3383
  onToggle: () => {
3335
- T(!E), L(!1);
3384
+ F(!_), I(!1);
3336
3385
  },
3337
- buttonContent: /* @__PURE__ */ c.jsxs("div", { className: "flex flex-col items-center", children: [
3338
- /* @__PURE__ */ c.jsx("span", { className: "text-xs font-bold", children: "A" }),
3339
- /* @__PURE__ */ c.jsx("div", { className: "w-3 h-1 bg-red-500 mt-[-2px]" })
3386
+ buttonContent: /* @__PURE__ */ s.jsxs("div", { className: "flex flex-col items-center", children: [
3387
+ /* @__PURE__ */ s.jsx("span", { className: "text-xs font-bold", children: "A" }),
3388
+ /* @__PURE__ */ s.jsx("div", { className: "w-3 h-1 bg-red-500 mt-[-2px]" })
3340
3389
  ] }),
3341
3390
  title: "Text Color"
3342
3391
  }
3343
3392
  ),
3344
- /* @__PURE__ */ c.jsx(
3345
- w,
3393
+ /* @__PURE__ */ s.jsx(
3394
+ k,
3346
3395
  {
3347
- colors: O,
3396
+ colors: B,
3348
3397
  onColorSelect: ee,
3349
- isOpen: z,
3398
+ isOpen: L,
3350
3399
  onToggle: () => {
3351
- L(!z), T(!1);
3400
+ I(!L), F(!1);
3352
3401
  },
3353
- buttonContent: /* @__PURE__ */ c.jsxs("div", { className: "flex flex-col items-center", children: [
3354
- /* @__PURE__ */ c.jsx("div", { className: "w-4 h-3 border border-gray-400 bg-yellow-200" }),
3355
- /* @__PURE__ */ c.jsx("span", { className: "text-[8px] mt-[-2px]", children: "Bg" })
3402
+ buttonContent: /* @__PURE__ */ s.jsxs("div", { className: "flex flex-col items-center", children: [
3403
+ /* @__PURE__ */ s.jsx("div", { className: "w-4 h-3 border border-gray-400 bg-yellow-200" }),
3404
+ /* @__PURE__ */ s.jsx("span", { className: "text-[8px] mt-[-2px]", children: "Bg" })
3356
3405
  ] }),
3357
3406
  title: "Background Color"
3358
3407
  }
3359
3408
  ),
3360
- /* @__PURE__ */ c.jsx(g, {}),
3361
- /* @__PURE__ */ c.jsx(
3362
- f,
3409
+ /* @__PURE__ */ s.jsx(h, {}),
3410
+ /* @__PURE__ */ s.jsx(
3411
+ d,
3363
3412
  {
3364
3413
  onClick: () => v("insertUnorderedList"),
3365
3414
  title: "Bulleted List",
3366
- children: /* @__PURE__ */ c.jsx("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ c.jsx("path", { d: "M4,3c0,1.1-0.9,2-2,2S0,4.1,0,3s0.9-2,2-2S4,1.9,4,3z M2,9c-1.1,0-2,0.9-2,2s0.9,2,2,2s2-0.9,2-2S3.1,9,2,9z M2,17c-1.1,0-2,0.9-2,2s0.9,2,2,2s2-0.9,2-2S3.1,17,2,17z M24,19c0-0.6-0.4-1-1-1H8c-0.6,0-1,0.4-1,1s0.4,1,1,1h15C23.6,20,24,19.6,24,19z M24,11c0-0.6-0.4-1-1-1H8c-0.6,0-1,0.4-1,1s0.4,1,1,1h15C23.6,12,24,11.6,24,11z M24,3c0-0.6-0.4-1-1-1H8C7.4,2,7,2.4,7,3s0.4,1,1,1h15C23.6,4,24,3.6,24,3z" }) })
3415
+ children: /* @__PURE__ */ s.jsx("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ s.jsx("path", { d: "M4,3c0,1.1-0.9,2-2,2S0,4.1,0,3s0.9-2,2-2S4,1.9,4,3z M2,9c-1.1,0-2,0.9-2,2s0.9,2,2,2s2-0.9,2-2S3.1,9,2,9z M2,17c-1.1,0-2,0.9-2,2s0.9,2,2,2s2-0.9,2-2S3.1,17,2,17z M24,19c0-0.6-0.4-1-1-1H8c-0.6,0-1,0.4-1,1s0.4,1,1,1h15C23.6,20,24,19.6,24,19z M24,11c0-0.6-0.4-1-1-1H8c-0.6,0-1,0.4-1,1s0.4,1,1,1h15C23.6,12,24,11.6,24,11z M24,3c0-0.6-0.4-1-1-1H8C7.4,2,7,2.4,7,3s0.4,1,1,1h15C23.6,4,24,3.6,24,3z" }) })
3367
3416
  }
3368
3417
  ),
3369
- /* @__PURE__ */ c.jsx(
3370
- f,
3418
+ /* @__PURE__ */ s.jsx(
3419
+ d,
3371
3420
  {
3372
3421
  onClick: () => v("insertOrderedList"),
3373
3422
  title: "Numbered List",
3374
- children: /* @__PURE__ */ c.jsx("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ c.jsx("path", { d: "M10 3a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H11a1 1 0 0 1-1-1Zm13 9H11a1 1 0 1 0 0 2h12a1 1 0 1 0 0-2Zm0 10H11a1 1 0 1 0 0 2h12a1 1 0 1 0 0-2ZM4 2.41V9.5a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5V1A1 1 0 0 0 4.669.056L.925 1.37a.499.499 0 0 0-.306.637l.331.944a.5.5 0 0 0 .637.307l2.414-.846H4ZM1 24h6.5a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5H2.287c.556-.938 1.787-1.578 2.532-1.965l.339-.177C6.425 19.195 8 18.372 8 15.813 8 13.971 6.393 12 4 12 1.363 12 .409 14.103.272 15.214c0 0-.039.284-.062.504-.023.22.151.483.416.54.265.055.797.094 1.015.13.218.034.5-.06.537-.387.025-.22.078-.533.078-.533C2.291 15.223 2.543 14 4 14c1.239 0 2 1.056 2 1.813 0 1.293-.542 1.631-1.769 2.272l-.333.174C2.632 18.916 0 20.282 0 23 0 23 0 24 1 24Z" }) })
3423
+ children: /* @__PURE__ */ s.jsx("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ s.jsx("path", { d: "M10 3a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H11a1 1 0 0 1-1-1Zm13 9H11a1 1 0 1 0 0 2h12a1 1 0 1 0 0-2Zm0 10H11a1 1 0 1 0 0 2h12a1 1 0 1 0 0-2ZM4 2.41V9.5a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5V1A1 1 0 0 0 4.669.056L.925 1.37a.499.499 0 0 0-.306.637l.331.944a.5.5 0 0 0 .637.307l2.414-.846H4ZM1 24h6.5a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5H2.287c.556-.938 1.787-1.578 2.532-1.965l.339-.177C6.425 19.195 8 18.372 8 15.813 8 13.971 6.393 12 4 12 1.363 12 .409 14.103.272 15.214c0 0-.039.284-.062.504-.023.22.151.483.416.54.265.055.797.094 1.015.13.218.034.5-.06.537-.387.025-.22.078-.533.078-.533C2.291 15.223 2.543 14 4 14c1.239 0 2 1.056 2 1.813 0 1.293-.542 1.631-1.769 2.272l-.333.174C2.632 18.916 0 20.282 0 23 0 23 0 24 1 24Z" }) })
3375
3424
  }
3376
3425
  ),
3377
- /* @__PURE__ */ c.jsx(g, {}),
3378
- /* @__PURE__ */ c.jsx(
3379
- f,
3426
+ /* @__PURE__ */ s.jsx(h, {}),
3427
+ /* @__PURE__ */ s.jsx(
3428
+ d,
3380
3429
  {
3381
3430
  onClick: () => v("formatBlock", "h1"),
3382
3431
  title: "Heading 1",
3383
- children: /* @__PURE__ */ c.jsx("span", { className: "text-xs font-bold", children: "H1" })
3432
+ children: /* @__PURE__ */ s.jsx("span", { className: "text-xs font-bold", children: "H1" })
3384
3433
  }
3385
3434
  ),
3386
- /* @__PURE__ */ c.jsx(
3387
- f,
3435
+ /* @__PURE__ */ s.jsx(
3436
+ d,
3388
3437
  {
3389
3438
  onClick: () => v("formatBlock", "h2"),
3390
3439
  title: "Heading 2",
3391
- children: /* @__PURE__ */ c.jsx("span", { className: "text-xs font-bold", children: "H2" })
3440
+ children: /* @__PURE__ */ s.jsx("span", { className: "text-xs font-bold", children: "H2" })
3392
3441
  }
3393
3442
  ),
3394
- /* @__PURE__ */ c.jsx(
3395
- f,
3443
+ /* @__PURE__ */ s.jsx(
3444
+ d,
3396
3445
  {
3397
3446
  onClick: () => v("formatBlock", "h3"),
3398
3447
  title: "Heading 3",
3399
- children: /* @__PURE__ */ c.jsx("span", { className: "text-xs font-bold", children: "H3" })
3448
+ children: /* @__PURE__ */ s.jsx("span", { className: "text-xs font-bold", children: "H3" })
3400
3449
  }
3401
3450
  ),
3402
- /* @__PURE__ */ c.jsx(g, {}),
3403
- /* @__PURE__ */ c.jsx(
3404
- f,
3451
+ /* @__PURE__ */ s.jsx(h, {}),
3452
+ /* @__PURE__ */ s.jsx(
3453
+ d,
3405
3454
  {
3406
3455
  onClick: () => v("formatBlock", "blockquote"),
3407
3456
  title: "Quote",
3408
- children: /* @__PURE__ */ c.jsx("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ c.jsx("path", { d: "M2 3v20a1 1 0 1 1-2 0V3a1 1 0 1 1 2 0Zm5 3h12a1 1 0 1 0 0 2H7a1 1 0 1 0 0 2Zm16 6H7a1 1 0 1 0 0 2h16a1 1 0 1 0 0-2Zm-4 8H7a1 1 0 1 0 0 2h12a1 1 0 1 0 0-2Z" }) })
3457
+ children: /* @__PURE__ */ s.jsx("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ s.jsx("path", { d: "M2 3v20a1 1 0 1 1-2 0V3a1 1 0 1 1 2 0Zm5 3h12a1 1 0 1 0 0 2H7a1 1 0 1 0 0 2Zm16 6H7a1 1 0 1 0 0 2h16a1 1 0 1 0 0-2Zm-4 8H7a1 1 0 1 0 0 2h12a1 1 0 1 0 0-2Z" }) })
3409
3458
  }
3410
3459
  ),
3411
- /* @__PURE__ */ c.jsx(
3412
- f,
3460
+ /* @__PURE__ */ s.jsx(
3461
+ d,
3413
3462
  {
3414
3463
  onClick: () => v("formatBlock", "pre"),
3415
3464
  title: "Code Block",
3416
- children: /* @__PURE__ */ c.jsx("svg", { width: "16", height: "16", viewBox: "0 0 32 32", fill: "currentColor", children: /* @__PURE__ */ c.jsx("path", { d: "M32 10v6a1 1 0 1 1-2 0v-6c0-2.206-1.794-4-4-4H6c-2.206 0-4 1.794-4 4v12c0 2.206 1.794 4 4 4h3a1 1 0 1 1 0 2H6c-3.309 0-6-2.691-6-6V10c0-3.309 2.691-6 6-6h20c3.309 0 6 2.691 6 6Zm-13.359 8.232a1 1 0 0 0-1.409.128l-5 6a1 1 0 0 0 0 1.28l5 6a1 1 0 0 0 1.538-1.28L14.303 25l4.467-5.36a1 1 0 0 0-.129-1.408Zm8.128.128a1 1 0 0 0-1.537 1.28L29.699 25l-4.467 5.36a1 1 0 1 0 1.538 1.28l5-6a1 1 0 0 0 0-1.28l-5.001-6Z" }) })
3465
+ children: /* @__PURE__ */ s.jsx("svg", { width: "16", height: "16", viewBox: "0 0 32 32", fill: "currentColor", children: /* @__PURE__ */ s.jsx("path", { d: "M32 10v6a1 1 0 1 1-2 0v-6c0-2.206-1.794-4-4-4H6c-2.206 0-4 1.794-4 4v12c0 2.206 1.794 4 4 4h3a1 1 0 1 1 0 2H6c-3.309 0-6-2.691-6-6V10c0-3.309 2.691-6 6-6h20c3.309 0 6 2.691 6 6Zm-13.359 8.232a1 1 0 0 0-1.409.128l-5 6a1 1 0 0 0 0 1.28l5 6a1 1 0 0 0 1.538-1.28L14.303 25l4.467-5.36a1 1 0 0 0-.129-1.408Zm8.128.128a1 1 0 0 0-1.537 1.28L29.699 25l-4.467 5.36a1 1 0 1 0 1.538 1.28l5-6a1 1 0 0 0 0-1.28l-5.001-6Z" }) })
3417
3466
  }
3418
3467
  ),
3419
- /* @__PURE__ */ c.jsx(g, {}),
3420
- /* @__PURE__ */ c.jsx(f, { onClick: () => v("undo"), title: "Undo", children: /* @__PURE__ */ c.jsxs("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "currentColor", children: [
3421
- /* @__PURE__ */ c.jsx("path", { d: "M7.18 4.8a1 1 0 0 1 .77 1.84A7.8 7.8 0 1 0 16 12a1 1 0 1 1 2 0 9.8 9.8 0 1 1-9.37-9.88 1 1 0 0 1 .55.68Z" }),
3422
- /* @__PURE__ */ c.jsx("path", { d: "M11.29 7.71a1 1 0 0 1 0 1.42L9.41 11H17a1 1 0 1 1 0 2H9.41l1.88 1.88a1 1 0 0 1-1.42 1.41l-3.58-3.59a1 1 0 0 1 0-1.41l3.58-3.59a1 1 0 0 1 1.42 0Z" })
3468
+ /* @__PURE__ */ s.jsx(h, {}),
3469
+ /* @__PURE__ */ s.jsx(d, { onClick: () => v("undo"), title: "Undo", children: /* @__PURE__ */ s.jsxs("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "currentColor", children: [
3470
+ /* @__PURE__ */ s.jsx("path", { d: "M7.18 4.8a1 1 0 0 1 .77 1.84A7.8 7.8 0 1 0 16 12a1 1 0 1 1 2 0 9.8 9.8 0 1 1-9.37-9.88 1 1 0 0 1 .55.68Z" }),
3471
+ /* @__PURE__ */ s.jsx("path", { d: "M11.29 7.71a1 1 0 0 1 0 1.42L9.41 11H17a1 1 0 1 1 0 2H9.41l1.88 1.88a1 1 0 0 1-1.42 1.41l-3.58-3.59a1 1 0 0 1 0-1.41l3.58-3.59a1 1 0 0 1 1.42 0Z" })
3423
3472
  ] }) }),
3424
- /* @__PURE__ */ c.jsx(f, { onClick: () => v("redo"), title: "Redo", children: /* @__PURE__ */ c.jsxs("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "currentColor", children: [
3425
- /* @__PURE__ */ c.jsx("path", { d: "M16.82 4.8a1 1 0 0 0-.77 1.84A7.8 7.8 0 1 1 8 12a1 1 0 1 0-2 0 9.8 9.8 0 1 0 9.37-9.88 1 1 0 0 0-.55.68Z" }),
3426
- /* @__PURE__ */ c.jsx("path", { d: "M12.71 7.71a1 1 0 0 0 0 1.42L14.59 11H7a1 1 0 1 0 0 2h7.59l-1.88 1.88a1 1 0 1 0 1.42 1.41l3.58-3.59a1 1 0 0 0 0-1.41l-3.58-3.59a1 1 0 0 0-1.42 0Z" })
3473
+ /* @__PURE__ */ s.jsx(d, { onClick: () => v("redo"), title: "Redo", children: /* @__PURE__ */ s.jsxs("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "currentColor", children: [
3474
+ /* @__PURE__ */ s.jsx("path", { d: "M16.82 4.8a1 1 0 0 0-.77 1.84A7.8 7.8 0 1 1 8 12a1 1 0 1 0-2 0 9.8 9.8 0 1 0 9.37-9.88 1 1 0 0 0-.55.68Z" }),
3475
+ /* @__PURE__ */ s.jsx("path", { d: "M12.71 7.71a1 1 0 0 0 0 1.42L14.59 11H7a1 1 0 1 0 0 2h7.59l-1.88 1.88a1 1 0 1 0 1.42 1.41l3.58-3.59a1 1 0 0 0 0-1.41l-3.58-3.59a1 1 0 0 0-1.42 0Z" })
3427
3476
  ] }) })
3428
3477
  ]
3429
3478
  }
3430
3479
  ),
3431
- /* @__PURE__ */ c.jsx(
3480
+ /* @__PURE__ */ s.jsx(
3432
3481
  "div",
3433
3482
  {
3434
3483
  ref: x,
@@ -3455,21 +3504,21 @@ const Fr = ({
3455
3504
  suppressContentEditableWarning: !0,
3456
3505
  onFocus: V,
3457
3506
  onBlur: K,
3458
- onInput: u,
3459
- onKeyDown: (d) => {
3460
- d.key === "Tab" && (d.preventDefault(), v("indent"));
3507
+ onInput: m,
3508
+ onKeyDown: (u) => {
3509
+ u.key === "Tab" && (u.preventDefault(), v("indent"));
3461
3510
  },
3462
3511
  "data-placeholder": o ? "" : "Start typing...",
3463
- style: { minHeight: h }
3512
+ style: { minHeight: g }
3464
3513
  }
3465
3514
  ),
3466
- y && /* @__PURE__ */ c.jsxs("div", { className: "px-6 py-3 border-t border-gray-200 bg-gray-50 text-xs text-gray-500 flex justify-between", children: [
3467
- /* @__PURE__ */ c.jsxs("span", { children: [
3515
+ w && /* @__PURE__ */ s.jsxs("div", { className: "px-6 py-3 border-t border-gray-200 bg-gray-50 text-xs text-gray-500 flex justify-between", children: [
3516
+ /* @__PURE__ */ s.jsxs("span", { children: [
3468
3517
  "Words:",
3469
3518
  " ",
3470
- x.current?.innerText?.split(/\s+/).filter((d) => d.length > 0).length || 0
3519
+ x.current?.innerText?.split(/\s+/).filter((u) => u.length > 0).length || 0
3471
3520
  ] }),
3472
- /* @__PURE__ */ c.jsxs("span", { children: [
3521
+ /* @__PURE__ */ s.jsxs("span", { children: [
3473
3522
  "Characters: ",
3474
3523
  x.current?.innerText?.length || 0
3475
3524
  ] })
@@ -3479,5 +3528,5 @@ const Fr = ({
3479
3528
  );
3480
3529
  };
3481
3530
  export {
3482
- Fr as TextEditor
3531
+ Tr as TextEditor
3483
3532
  };