@srimandir/common 2.0.1 → 2.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/common.js CHANGED
@@ -1,14 +1,15 @@
1
- import { jsx as P, jsxs as Ve } from "react/jsx-runtime";
1
+ import { jsx as I, jsxs as Ve } from "react/jsx-runtime";
2
2
  import { useEffect as We, createContext as $e, useContext as Ue } from "react";
3
- const De = "_overlay_1dae1_3", Ke = "_sheet_1dae1_14", He = "_handle_1dae1_66", Je = "_closeBtn_1dae1_75", Ye = "_header_1dae1_94", Ze = "_body_1dae1_25", Xe = "_footer_1dae1_106", j = {
3
+ const De = "_overlay_um2rb_3", Ke = "_sheet_um2rb_14", He = "_handle_um2rb_51", Je = "_closeBtn_um2rb_60", Ye = "_closeBtnOutside_um2rb_79", Ze = "_header_um2rb_85", Xe = "_body_um2rb_90", Qe = "_footer_um2rb_97", N = {
4
4
  overlay: De,
5
5
  sheet: Ke,
6
6
  handle: He,
7
7
  closeBtn: Je,
8
- header: Ye,
9
- body: Ze,
10
- footer: Xe
11
- }, he = (...e) => e.filter(Boolean).join(" "), Qe = () => /* @__PURE__ */ P("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ P(
8
+ closeBtnOutside: Ye,
9
+ header: Ze,
10
+ body: Xe,
11
+ footer: Qe
12
+ }, se = (...e) => e.filter(Boolean).join(" "), qe = () => /* @__PURE__ */ I("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ I(
12
13
  "path",
13
14
  {
14
15
  d: "M12 4L4 12M4 4l8 8",
@@ -16,62 +17,63 @@ const De = "_overlay_1dae1_3", Ke = "_sheet_1dae1_14", He = "_handle_1dae1_66",
16
17
  strokeWidth: "1.8",
17
18
  strokeLinecap: "round"
18
19
  }
19
- ) }), Jo = ({
20
+ ) }), Yo = ({
20
21
  isOpen: e,
21
22
  onClose: r,
22
23
  children: t,
23
24
  header: o,
24
25
  footer: a,
25
26
  showCloseButton: d = !0,
26
- showDragHandle: l = !1,
27
- closeOnBackdropClick: u = !0,
28
- closeOnEscape: b = !0,
29
- lockBodyScroll: m = !0,
30
- ariaLabel: h,
31
- className: x = "",
32
- overlayClassName: T = "",
33
- "data-testid": A
27
+ closeButtonOutside: l = !1,
28
+ showDragHandle: u = !1,
29
+ closeOnBackdropClick: b = !0,
30
+ closeOnEscape: m = !0,
31
+ lockBodyScroll: f = !0,
32
+ ariaLabel: w,
33
+ className: P = "",
34
+ overlayClassName: A = "",
35
+ "data-testid": _
34
36
  }) => (We(() => {
35
37
  if (!e) return;
36
- const L = (v) => {
37
- v.key === "Escape" && r();
38
+ const g = (T) => {
39
+ T.key === "Escape" && r();
38
40
  };
39
- b && document.addEventListener("keydown", L);
40
- const w = document.body.style.overflow;
41
- return m && (document.body.style.overflow = "hidden"), () => {
42
- b && document.removeEventListener("keydown", L), m && (document.body.style.overflow = w);
41
+ m && document.addEventListener("keydown", g);
42
+ const v = document.body.style.overflow;
43
+ return f && (document.body.style.overflow = "hidden"), () => {
44
+ m && document.removeEventListener("keydown", g), f && (document.body.style.overflow = v);
43
45
  };
44
- }, [e, r, b, m]), e ? /* @__PURE__ */ P(
46
+ }, [e, r, m, f]), e ? /* @__PURE__ */ I(
45
47
  "div",
46
48
  {
47
- className: he(j.overlay, T),
49
+ className: se(N.overlay, A),
48
50
  role: "presentation",
49
- onClick: (L) => {
50
- u && L.target === L.currentTarget && r();
51
+ onClick: (g) => {
52
+ b && g.target === g.currentTarget && r();
51
53
  },
52
54
  children: /* @__PURE__ */ Ve(
53
55
  "div",
54
56
  {
55
- className: he(j.sheet, x),
57
+ className: se(N.sheet, P),
56
58
  role: "dialog",
57
59
  "aria-modal": "true",
58
- "aria-label": h,
59
- "data-testid": A,
60
+ "aria-label": w,
61
+ "data-testid": _,
60
62
  children: [
61
- l && /* @__PURE__ */ P("div", { className: j.handle, "aria-hidden": "true" }),
62
- d && /* @__PURE__ */ P(
63
+ u && /* @__PURE__ */ I("div", { className: N.handle, "aria-hidden": "true" }),
64
+ d && /* @__PURE__ */ I(
63
65
  "button",
64
66
  {
65
67
  type: "button",
66
- className: j.closeBtn,
68
+ className: se(N.closeBtn, l && N.closeBtnOutside),
67
69
  onClick: r,
68
70
  "aria-label": "Close",
69
- children: /* @__PURE__ */ P(Qe, {})
71
+ children: /* @__PURE__ */ I(qe, {})
70
72
  }
71
73
  ),
72
- o && /* @__PURE__ */ P("div", { className: j.header, children: o }),
73
- /* @__PURE__ */ P("div", { className: j.body, children: t }),
74
- a && /* @__PURE__ */ P("div", { className: j.footer, children: a })
74
+ o && /* @__PURE__ */ I("div", { className: N.header, children: o }),
75
+ /* @__PURE__ */ I("div", { className: N.body, children: t }),
76
+ a && /* @__PURE__ */ I("div", { className: N.footer, children: a })
75
77
  ]
76
78
  }
77
79
  )
@@ -86,40 +88,40 @@ function ze(e) {
86
88
  } else for (t in e) e[t] && (o && (o += " "), o += t);
87
89
  return o;
88
90
  }
89
- function qe() {
91
+ function eo() {
90
92
  for (var e, r, t = 0, o = "", a = arguments.length; t < a; t++) (e = arguments[t]) && (r = ze(e)) && (o && (o += " "), o += r);
91
93
  return o;
92
94
  }
93
- const eo = (e, r) => {
95
+ const oo = (e, r) => {
94
96
  const t = new Array(e.length + r.length);
95
97
  for (let o = 0; o < e.length; o++)
96
98
  t[o] = e[o];
97
99
  for (let o = 0; o < r.length; o++)
98
100
  t[e.length + o] = r[o];
99
101
  return t;
100
- }, oo = (e, r) => ({
102
+ }, to = (e, r) => ({
101
103
  classGroupId: e,
102
104
  validator: r
103
105
  }), Ae = (e = /* @__PURE__ */ new Map(), r = null, t) => ({
104
106
  nextPart: e,
105
107
  validators: r,
106
108
  classGroupId: t
107
- }), q = "-", xe = [], to = "arbitrary..", ro = (e) => {
108
- const r = so(e), {
109
+ }), q = "-", xe = [], ro = "arbitrary..", no = (e) => {
110
+ const r = ao(e), {
109
111
  conflictingClassGroups: t,
110
112
  conflictingClassGroupModifiers: o
111
113
  } = e;
112
114
  return {
113
115
  getClassGroupId: (l) => {
114
116
  if (l.startsWith("[") && l.endsWith("]"))
115
- return no(l);
117
+ return so(l);
116
118
  const u = l.split(q), b = u[0] === "" && u.length > 1 ? 1 : 0;
117
119
  return Le(u, b, r);
118
120
  },
119
121
  getConflictingClassGroupIds: (l, u) => {
120
122
  if (u) {
121
123
  const b = o[l], m = t[l];
122
- return b ? m ? eo(m, b) : b : m || xe;
124
+ return b ? m ? oo(m, b) : b : m || xe;
123
125
  }
124
126
  return t[l] || xe;
125
127
  }
@@ -137,56 +139,56 @@ const eo = (e, r) => {
137
139
  return;
138
140
  const u = r === 0 ? e.join(q) : e.slice(r).join(q), b = l.length;
139
141
  for (let m = 0; m < b; m++) {
140
- const h = l[m];
141
- if (h.validator(u))
142
- return h.classGroupId;
142
+ const f = l[m];
143
+ if (f.validator(u))
144
+ return f.classGroupId;
143
145
  }
144
- }, no = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
146
+ }, so = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
145
147
  const r = e.slice(1, -1), t = r.indexOf(":"), o = r.slice(0, t);
146
- return o ? to + o : void 0;
147
- })(), so = (e) => {
148
+ return o ? ro + o : void 0;
149
+ })(), ao = (e) => {
148
150
  const {
149
151
  theme: r,
150
152
  classGroups: t
151
153
  } = e;
152
- return ao(t, r);
153
- }, ao = (e, r) => {
154
+ return io(t, r);
155
+ }, io = (e, r) => {
154
156
  const t = Ae();
155
157
  for (const o in e) {
156
158
  const a = e[o];
157
- ie(a, t, o, r);
159
+ le(a, t, o, r);
158
160
  }
159
161
  return t;
160
- }, ie = (e, r, t, o) => {
162
+ }, le = (e, r, t, o) => {
161
163
  const a = e.length;
162
164
  for (let d = 0; d < a; d++) {
163
165
  const l = e[d];
164
- io(l, r, t, o);
166
+ lo(l, r, t, o);
165
167
  }
166
- }, io = (e, r, t, o) => {
168
+ }, lo = (e, r, t, o) => {
167
169
  if (typeof e == "string") {
168
- lo(e, r, t);
170
+ co(e, r, t);
169
171
  return;
170
172
  }
171
173
  if (typeof e == "function") {
172
- co(e, r, t, o);
174
+ mo(e, r, t, o);
173
175
  return;
174
176
  }
175
- mo(e, r, t, o);
176
- }, lo = (e, r, t) => {
177
+ po(e, r, t, o);
178
+ }, co = (e, r, t) => {
177
179
  const o = e === "" ? r : Se(r, e);
178
180
  o.classGroupId = t;
179
- }, co = (e, r, t, o) => {
180
- if (po(e)) {
181
- ie(e(o), r, t, o);
181
+ }, mo = (e, r, t, o) => {
182
+ if (uo(e)) {
183
+ le(e(o), r, t, o);
182
184
  return;
183
185
  }
184
- r.validators === null && (r.validators = []), r.validators.push(oo(t, e));
185
- }, mo = (e, r, t, o) => {
186
+ r.validators === null && (r.validators = []), r.validators.push(to(t, e));
187
+ }, po = (e, r, t, o) => {
186
188
  const a = Object.entries(e), d = a.length;
187
189
  for (let l = 0; l < d; l++) {
188
190
  const [u, b] = a[l];
189
- ie(b, Se(r, u), t, o);
191
+ le(b, Se(r, u), t, o);
190
192
  }
191
193
  }, Se = (e, r) => {
192
194
  let t = e;
@@ -197,7 +199,7 @@ const eo = (e, r) => {
197
199
  u || (u = Ae(), t.nextPart.set(l, u)), t = u;
198
200
  }
199
201
  return t;
200
- }, po = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, uo = (e) => {
202
+ }, uo = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, bo = (e) => {
201
203
  if (e < 1)
202
204
  return {
203
205
  get: () => {
@@ -221,13 +223,13 @@ const eo = (e, r) => {
221
223
  d in t ? t[d] = l : a(d, l);
222
224
  }
223
225
  };
224
- }, ae = "!", we = ":", bo = [], ye = (e, r, t, o, a) => ({
226
+ }, ie = "!", we = ":", fo = [], ye = (e, r, t, o, a) => ({
225
227
  modifiers: e,
226
228
  hasImportantModifier: r,
227
229
  baseClassName: t,
228
230
  maybePostfixModifierPosition: o,
229
231
  isExternal: a
230
- }), fo = (e) => {
232
+ }), go = (e) => {
231
233
  const {
232
234
  prefix: r,
233
235
  experimentalParseClassName: t
@@ -235,36 +237,36 @@ const eo = (e, r) => {
235
237
  let o = (a) => {
236
238
  const d = [];
237
239
  let l = 0, u = 0, b = 0, m;
238
- const h = a.length;
239
- for (let w = 0; w < h; w++) {
240
- const v = a[w];
240
+ const f = a.length;
241
+ for (let g = 0; g < f; g++) {
242
+ const v = a[g];
241
243
  if (l === 0 && u === 0) {
242
244
  if (v === we) {
243
- d.push(a.slice(b, w)), b = w + 1;
245
+ d.push(a.slice(b, g)), b = g + 1;
244
246
  continue;
245
247
  }
246
248
  if (v === "/") {
247
- m = w;
249
+ m = g;
248
250
  continue;
249
251
  }
250
252
  }
251
253
  v === "[" ? l++ : v === "]" ? l-- : v === "(" ? u++ : v === ")" && u--;
252
254
  }
253
- const x = d.length === 0 ? a : a.slice(b);
254
- let T = x, A = !1;
255
- x.endsWith(ae) ? (T = x.slice(0, -1), A = !0) : (
255
+ const w = d.length === 0 ? a : a.slice(b);
256
+ let P = w, A = !1;
257
+ w.endsWith(ie) ? (P = w.slice(0, -1), A = !0) : (
256
258
  /**
257
259
  * In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
258
260
  * @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
259
261
  */
260
- x.startsWith(ae) && (T = x.slice(1), A = !0)
262
+ w.startsWith(ie) && (P = w.slice(1), A = !0)
261
263
  );
262
- const L = m && m > b ? m - b : void 0;
263
- return ye(d, A, T, L);
264
+ const _ = m && m > b ? m - b : void 0;
265
+ return ye(d, A, P, _);
264
266
  };
265
267
  if (r) {
266
268
  const a = r + we, d = o;
267
- o = (l) => l.startsWith(a) ? d(l.slice(a.length)) : ye(bo, !1, l, void 0, !0);
269
+ o = (l) => l.startsWith(a) ? d(l.slice(a.length)) : ye(fo, !1, l, void 0, !0);
268
270
  }
269
271
  if (t) {
270
272
  const a = o;
@@ -274,7 +276,7 @@ const eo = (e, r) => {
274
276
  });
275
277
  }
276
278
  return o;
277
- }, go = (e) => {
279
+ }, ho = (e) => {
278
280
  const r = /* @__PURE__ */ new Map();
279
281
  return e.orderSensitiveModifiers.forEach((t, o) => {
280
282
  r.set(t, 1e6 + o);
@@ -287,71 +289,71 @@ const eo = (e, r) => {
287
289
  }
288
290
  return a.length > 0 && (a.sort(), o.push(...a)), o;
289
291
  };
290
- }, ho = (e) => ({
291
- cache: uo(e.cacheSize),
292
- parseClassName: fo(e),
293
- sortModifiers: go(e),
294
- postfixLookupClassGroupIds: xo(e),
295
- ...ro(e)
296
- }), xo = (e) => {
292
+ }, xo = (e) => ({
293
+ cache: bo(e.cacheSize),
294
+ parseClassName: go(e),
295
+ sortModifiers: ho(e),
296
+ postfixLookupClassGroupIds: wo(e),
297
+ ...no(e)
298
+ }), wo = (e) => {
297
299
  const r = /* @__PURE__ */ Object.create(null), t = e.postfixLookupClassGroups;
298
300
  if (t)
299
301
  for (let o = 0; o < t.length; o++)
300
302
  r[t[o]] = !0;
301
303
  return r;
302
- }, wo = /\s+/, yo = (e, r) => {
304
+ }, yo = /\s+/, ko = (e, r) => {
303
305
  const {
304
306
  parseClassName: t,
305
307
  getClassGroupId: o,
306
308
  getConflictingClassGroupIds: a,
307
309
  sortModifiers: d,
308
310
  postfixLookupClassGroupIds: l
309
- } = r, u = [], b = e.trim().split(wo);
311
+ } = r, u = [], b = e.trim().split(yo);
310
312
  let m = "";
311
- for (let h = b.length - 1; h >= 0; h -= 1) {
312
- const x = b[h], {
313
- isExternal: T,
313
+ for (let f = b.length - 1; f >= 0; f -= 1) {
314
+ const w = b[f], {
315
+ isExternal: P,
314
316
  modifiers: A,
315
- hasImportantModifier: L,
316
- baseClassName: w,
317
+ hasImportantModifier: _,
318
+ baseClassName: g,
317
319
  maybePostfixModifierPosition: v
318
- } = t(x);
319
- if (T) {
320
- m = x + (m.length > 0 ? " " + m : m);
320
+ } = t(w);
321
+ if (P) {
322
+ m = w + (m.length > 0 ? " " + m : m);
321
323
  continue;
322
324
  }
323
- let E = !!v, C;
324
- if (E) {
325
- const M = w.substring(0, v);
325
+ let T = !!v, C;
326
+ if (T) {
327
+ const M = g.substring(0, v);
326
328
  C = o(M);
327
- const i = C && l[C] ? o(w) : void 0;
328
- i && i !== C && (C = i, E = !1);
329
+ const i = C && l[C] ? o(g) : void 0;
330
+ i && i !== C && (C = i, T = !1);
329
331
  } else
330
- C = o(w);
332
+ C = o(g);
331
333
  if (!C) {
332
- if (!E) {
333
- m = x + (m.length > 0 ? " " + m : m);
334
+ if (!T) {
335
+ m = w + (m.length > 0 ? " " + m : m);
334
336
  continue;
335
337
  }
336
- if (C = o(w), !C) {
337
- m = x + (m.length > 0 ? " " + m : m);
338
+ if (C = o(g), !C) {
339
+ m = w + (m.length > 0 ? " " + m : m);
338
340
  continue;
339
341
  }
340
- E = !1;
342
+ T = !1;
341
343
  }
342
- const U = A.length === 0 ? "" : A.length === 1 ? A[0] : d(A).join(":"), O = L ? U + ae : U, V = O + C;
344
+ const U = A.length === 0 ? "" : A.length === 1 ? A[0] : d(A).join(":"), F = _ ? U + ie : U, V = F + C;
343
345
  if (u.indexOf(V) > -1)
344
346
  continue;
345
347
  u.push(V);
346
- const W = a(C, E);
348
+ const W = a(C, T);
347
349
  for (let M = 0; M < W.length; ++M) {
348
350
  const i = W[M];
349
- u.push(O + i);
351
+ u.push(F + i);
350
352
  }
351
- m = x + (m.length > 0 ? " " + m : m);
353
+ m = w + (m.length > 0 ? " " + m : m);
352
354
  }
353
355
  return m;
354
- }, ko = (...e) => {
356
+ }, vo = (...e) => {
355
357
  let r = 0, t, o, a = "";
356
358
  for (; r < e.length; )
357
359
  (t = e[r++]) && (o = Ie(t)) && (a && (a += " "), a += o);
@@ -363,35 +365,35 @@ const eo = (e, r) => {
363
365
  for (let o = 0; o < e.length; o++)
364
366
  e[o] && (r = Ie(e[o])) && (t && (t += " "), t += r);
365
367
  return t;
366
- }, vo = (e, ...r) => {
368
+ }, Co = (e, ...r) => {
367
369
  let t, o, a, d;
368
370
  const l = (b) => {
369
- const m = r.reduce((h, x) => x(h), e());
370
- return t = ho(m), o = t.cache.get, a = t.cache.set, d = u, u(b);
371
+ const m = r.reduce((f, w) => w(f), e());
372
+ return t = xo(m), o = t.cache.get, a = t.cache.set, d = u, u(b);
371
373
  }, u = (b) => {
372
374
  const m = o(b);
373
375
  if (m)
374
376
  return m;
375
- const h = yo(b, t);
376
- return a(b, h), h;
377
+ const f = ko(b, t);
378
+ return a(b, f), f;
377
379
  };
378
- return d = l, (...b) => d(ko(...b));
379
- }, Co = [], f = (e) => {
380
- const r = (t) => t[e] || Co;
380
+ return d = l, (...b) => d(vo(...b));
381
+ }, zo = [], h = (e) => {
382
+ const r = (t) => t[e] || zo;
381
383
  return r.isThemeGetter = !0, r;
382
- }, Pe = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Te = /^\((?:(\w[\w-]*):)?(.+)\)$/i, zo = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Ao = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Lo = /\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$/, So = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Io = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Po = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, N = (e) => zo.test(e), p = (e) => !!e && !Number.isNaN(Number(e)), I = (e) => !!e && Number.isInteger(Number(e)), se = (e) => e.endsWith("%") && p(e.slice(0, -1)), R = (e) => Ao.test(e), Me = () => !0, To = (e) => (
384
+ }, Pe = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Te = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Ao = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Lo = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, So = /\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$/, Io = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Po = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, To = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, G = (e) => Ao.test(e), p = (e) => !!e && !Number.isNaN(Number(e)), S = (e) => !!e && Number.isInteger(Number(e)), ae = (e) => e.endsWith("%") && p(e.slice(0, -1)), R = (e) => Lo.test(e), Me = () => !0, Mo = (e) => (
383
385
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
384
386
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
385
387
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
386
- Lo.test(e) && !So.test(e)
387
- ), le = () => !1, Mo = (e) => Io.test(e), Ro = (e) => Po.test(e), No = (e) => !n(e) && !s(e), Go = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), Eo = (e) => G(e, Ge, le), n = (e) => Pe.test(e), B = (e) => G(e, Ee, To), ke = (e) => G(e, $o, p), _o = (e) => G(e, je, Me), jo = (e) => G(e, _e, le), ve = (e) => G(e, Re, le), Bo = (e) => G(e, Ne, Ro), X = (e) => G(e, Be, Mo), s = (e) => Te.test(e), D = (e) => F(e, Ee), Fo = (e) => F(e, _e), Ce = (e) => F(e, Re), Oo = (e) => F(e, Ge), Vo = (e) => F(e, Ne), Q = (e) => F(e, Be, !0), Wo = (e) => F(e, je, !0), G = (e, r, t) => {
388
+ So.test(e) && !Io.test(e)
389
+ ), ce = () => !1, Ro = (e) => Po.test(e), No = (e) => To.test(e), Go = (e) => !n(e) && !s(e), Eo = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), _o = (e) => E(e, Ge, ce), n = (e) => Pe.test(e), O = (e) => E(e, Ee, Mo), ke = (e) => E(e, Uo, p), Bo = (e) => E(e, Be, Me), Oo = (e) => E(e, _e, ce), ve = (e) => E(e, Re, ce), jo = (e) => E(e, Ne, No), X = (e) => E(e, Oe, Ro), s = (e) => Te.test(e), D = (e) => j(e, Ee), Fo = (e) => j(e, _e), Ce = (e) => j(e, Re), Vo = (e) => j(e, Ge), Wo = (e) => j(e, Ne), Q = (e) => j(e, Oe, !0), $o = (e) => j(e, Be, !0), E = (e, r, t) => {
388
390
  const o = Pe.exec(e);
389
391
  return o ? o[1] ? r(o[1]) : t(o[2]) : !1;
390
- }, F = (e, r, t = !1) => {
392
+ }, j = (e, r, t = !1) => {
391
393
  const o = Te.exec(e);
392
394
  return o ? o[1] ? r(o[1]) : t : !1;
393
- }, Re = (e) => e === "position" || e === "percentage", Ne = (e) => e === "image" || e === "url", Ge = (e) => e === "length" || e === "size" || e === "bg-size", Ee = (e) => e === "length", $o = (e) => e === "number", _e = (e) => e === "family-name", je = (e) => e === "number" || e === "weight", Be = (e) => e === "shadow", Uo = () => {
394
- const e = f("color"), r = f("font"), t = f("text"), o = f("font-weight"), a = f("tracking"), d = f("leading"), l = f("breakpoint"), u = f("container"), b = f("spacing"), m = f("radius"), h = f("shadow"), x = f("inset-shadow"), T = f("text-shadow"), A = f("drop-shadow"), L = f("blur"), w = f("perspective"), v = f("aspect"), E = f("ease"), C = f("animate"), U = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], O = () => [
395
+ }, Re = (e) => e === "position" || e === "percentage", Ne = (e) => e === "image" || e === "url", Ge = (e) => e === "length" || e === "size" || e === "bg-size", Ee = (e) => e === "length", Uo = (e) => e === "number", _e = (e) => e === "family-name", Be = (e) => e === "number" || e === "weight", Oe = (e) => e === "shadow", Do = () => {
396
+ const e = h("color"), r = h("font"), t = h("text"), o = h("font-weight"), a = h("tracking"), d = h("leading"), l = h("breakpoint"), u = h("container"), b = h("spacing"), m = h("radius"), f = h("shadow"), w = h("inset-shadow"), P = h("text-shadow"), A = h("drop-shadow"), _ = h("blur"), g = h("perspective"), v = h("aspect"), T = h("ease"), C = h("animate"), U = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], F = () => [
395
397
  "center",
396
398
  "top",
397
399
  "bottom",
@@ -409,15 +411,15 @@ const eo = (e, r) => {
409
411
  "bottom-left",
410
412
  // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
411
413
  "left-bottom"
412
- ], V = () => [...O(), s, n], W = () => ["auto", "hidden", "clip", "visible", "scroll"], M = () => ["auto", "contain", "none"], i = () => [s, n, b], z = () => [N, "full", "auto", ...i()], ce = () => [I, "none", "subgrid", s, n], de = () => ["auto", {
413
- span: ["full", I, s, n]
414
- }, I, s, n], K = () => [I, "auto", s, n], me = () => ["auto", "min", "max", "fr", s, n], ee = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], $ = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], S = () => ["auto", ...i()], _ = () => [N, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...i()], oe = () => [N, "screen", "full", "dvw", "lvw", "svw", "min", "max", "fit", ...i()], te = () => [N, "screen", "full", "lh", "dvh", "lvh", "svh", "min", "max", "fit", ...i()], c = () => [e, s, n], pe = () => [...O(), Ce, ve, {
414
+ ], V = () => [...F(), s, n], W = () => ["auto", "hidden", "clip", "visible", "scroll"], M = () => ["auto", "contain", "none"], i = () => [s, n, b], z = () => [G, "full", "auto", ...i()], de = () => [S, "none", "subgrid", s, n], me = () => ["auto", {
415
+ span: ["full", S, s, n]
416
+ }, S, s, n], K = () => [S, "auto", s, n], pe = () => ["auto", "min", "max", "fr", s, n], ee = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], $ = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], L = () => ["auto", ...i()], B = () => [G, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...i()], oe = () => [G, "screen", "full", "dvw", "lvw", "svw", "min", "max", "fit", ...i()], te = () => [G, "screen", "full", "lh", "dvh", "lvh", "svh", "min", "max", "fit", ...i()], c = () => [e, s, n], ue = () => [...F(), Ce, ve, {
415
417
  position: [s, n]
416
- }], ue = () => ["no-repeat", {
418
+ }], be = () => ["no-repeat", {
417
419
  repeat: ["", "x", "y", "space", "round"]
418
- }], be = () => ["auto", "cover", "contain", Oo, Eo, {
420
+ }], fe = () => ["auto", "cover", "contain", Vo, _o, {
419
421
  size: [s, n]
420
- }], re = () => [se, D, B], y = () => [
422
+ }], re = () => [ae, D, O], y = () => [
421
423
  // Deprecated since Tailwind CSS v4.0.0
422
424
  "",
423
425
  "none",
@@ -425,14 +427,14 @@ const eo = (e, r) => {
425
427
  m,
426
428
  s,
427
429
  n
428
- ], k = () => ["", p, D, B], H = () => ["solid", "dashed", "dotted", "double"], fe = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], g = () => [p, se, Ce, ve], ge = () => [
430
+ ], k = () => ["", p, D, O], H = () => ["solid", "dashed", "dotted", "double"], ge = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], x = () => [p, ae, Ce, ve], he = () => [
429
431
  // Deprecated since Tailwind CSS v4.0.0
430
432
  "",
431
433
  "none",
432
- L,
434
+ _,
433
435
  s,
434
436
  n
435
- ], J = () => ["none", p, s, n], Y = () => ["none", p, s, n], ne = () => [p, s, n], Z = () => [N, "full", ...i()];
437
+ ], J = () => ["none", p, s, n], Y = () => ["none", p, s, n], ne = () => [p, s, n], Z = () => [G, "full", ...i()];
436
438
  return {
437
439
  cacheSize: 500,
438
440
  theme: {
@@ -444,7 +446,7 @@ const eo = (e, r) => {
444
446
  container: [R],
445
447
  "drop-shadow": [R],
446
448
  ease: ["in", "out", "in-out"],
447
- font: [No],
449
+ font: [Go],
448
450
  "font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
449
451
  "inset-shadow": [R],
450
452
  leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
@@ -465,7 +467,7 @@ const eo = (e, r) => {
465
467
  * @see https://tailwindcss.com/docs/aspect-ratio
466
468
  */
467
469
  aspect: [{
468
- aspect: ["auto", "square", N, n, s, v]
470
+ aspect: ["auto", "square", G, n, s, v]
469
471
  }],
470
472
  /**
471
473
  * Container
@@ -484,7 +486,7 @@ const eo = (e, r) => {
484
486
  * Container Name
485
487
  * @see https://tailwindcss.com/docs/responsive-design#named-containers
486
488
  */
487
- "container-named": [Go],
489
+ "container-named": [Eo],
488
490
  /**
489
491
  * Columns
490
492
  * @see https://tailwindcss.com/docs/columns
@@ -716,7 +718,7 @@ const eo = (e, r) => {
716
718
  * @see https://tailwindcss.com/docs/z-index
717
719
  */
718
720
  z: [{
719
- z: [I, "auto", s, n]
721
+ z: [S, "auto", s, n]
720
722
  }],
721
723
  // ------------------------
722
724
  // --- Flexbox and Grid ---
@@ -726,7 +728,7 @@ const eo = (e, r) => {
726
728
  * @see https://tailwindcss.com/docs/flex-basis
727
729
  */
728
730
  basis: [{
729
- basis: [N, "full", "auto", u, ...i()]
731
+ basis: [G, "full", "auto", u, ...i()]
730
732
  }],
731
733
  /**
732
734
  * Flex Direction
@@ -747,7 +749,7 @@ const eo = (e, r) => {
747
749
  * @see https://tailwindcss.com/docs/flex
748
750
  */
749
751
  flex: [{
750
- flex: [p, N, "auto", "initial", "none", n]
752
+ flex: [p, G, "auto", "initial", "none", n]
751
753
  }],
752
754
  /**
753
755
  * Flex Grow
@@ -768,21 +770,21 @@ const eo = (e, r) => {
768
770
  * @see https://tailwindcss.com/docs/order
769
771
  */
770
772
  order: [{
771
- order: [I, "first", "last", "none", s, n]
773
+ order: [S, "first", "last", "none", s, n]
772
774
  }],
773
775
  /**
774
776
  * Grid Template Columns
775
777
  * @see https://tailwindcss.com/docs/grid-template-columns
776
778
  */
777
779
  "grid-cols": [{
778
- "grid-cols": ce()
780
+ "grid-cols": de()
779
781
  }],
780
782
  /**
781
783
  * Grid Column Start / End
782
784
  * @see https://tailwindcss.com/docs/grid-column
783
785
  */
784
786
  "col-start-end": [{
785
- col: de()
787
+ col: me()
786
788
  }],
787
789
  /**
788
790
  * Grid Column Start
@@ -803,14 +805,14 @@ const eo = (e, r) => {
803
805
  * @see https://tailwindcss.com/docs/grid-template-rows
804
806
  */
805
807
  "grid-rows": [{
806
- "grid-rows": ce()
808
+ "grid-rows": de()
807
809
  }],
808
810
  /**
809
811
  * Grid Row Start / End
810
812
  * @see https://tailwindcss.com/docs/grid-row
811
813
  */
812
814
  "row-start-end": [{
813
- row: de()
815
+ row: me()
814
816
  }],
815
817
  /**
816
818
  * Grid Row Start
@@ -838,14 +840,14 @@ const eo = (e, r) => {
838
840
  * @see https://tailwindcss.com/docs/grid-auto-columns
839
841
  */
840
842
  "auto-cols": [{
841
- "auto-cols": me()
843
+ "auto-cols": pe()
842
844
  }],
843
845
  /**
844
846
  * Grid Auto Rows
845
847
  * @see https://tailwindcss.com/docs/grid-auto-rows
846
848
  */
847
849
  "auto-rows": [{
848
- "auto-rows": me()
850
+ "auto-rows": pe()
849
851
  }],
850
852
  /**
851
853
  * Gap
@@ -1018,77 +1020,77 @@ const eo = (e, r) => {
1018
1020
  * @see https://tailwindcss.com/docs/margin
1019
1021
  */
1020
1022
  m: [{
1021
- m: S()
1023
+ m: L()
1022
1024
  }],
1023
1025
  /**
1024
1026
  * Margin Inline
1025
1027
  * @see https://tailwindcss.com/docs/margin
1026
1028
  */
1027
1029
  mx: [{
1028
- mx: S()
1030
+ mx: L()
1029
1031
  }],
1030
1032
  /**
1031
1033
  * Margin Block
1032
1034
  * @see https://tailwindcss.com/docs/margin
1033
1035
  */
1034
1036
  my: [{
1035
- my: S()
1037
+ my: L()
1036
1038
  }],
1037
1039
  /**
1038
1040
  * Margin Inline Start
1039
1041
  * @see https://tailwindcss.com/docs/margin
1040
1042
  */
1041
1043
  ms: [{
1042
- ms: S()
1044
+ ms: L()
1043
1045
  }],
1044
1046
  /**
1045
1047
  * Margin Inline End
1046
1048
  * @see https://tailwindcss.com/docs/margin
1047
1049
  */
1048
1050
  me: [{
1049
- me: S()
1051
+ me: L()
1050
1052
  }],
1051
1053
  /**
1052
1054
  * Margin Block Start
1053
1055
  * @see https://tailwindcss.com/docs/margin
1054
1056
  */
1055
1057
  mbs: [{
1056
- mbs: S()
1058
+ mbs: L()
1057
1059
  }],
1058
1060
  /**
1059
1061
  * Margin Block End
1060
1062
  * @see https://tailwindcss.com/docs/margin
1061
1063
  */
1062
1064
  mbe: [{
1063
- mbe: S()
1065
+ mbe: L()
1064
1066
  }],
1065
1067
  /**
1066
1068
  * Margin Top
1067
1069
  * @see https://tailwindcss.com/docs/margin
1068
1070
  */
1069
1071
  mt: [{
1070
- mt: S()
1072
+ mt: L()
1071
1073
  }],
1072
1074
  /**
1073
1075
  * Margin Right
1074
1076
  * @see https://tailwindcss.com/docs/margin
1075
1077
  */
1076
1078
  mr: [{
1077
- mr: S()
1079
+ mr: L()
1078
1080
  }],
1079
1081
  /**
1080
1082
  * Margin Bottom
1081
1083
  * @see https://tailwindcss.com/docs/margin
1082
1084
  */
1083
1085
  mb: [{
1084
- mb: S()
1086
+ mb: L()
1085
1087
  }],
1086
1088
  /**
1087
1089
  * Margin Left
1088
1090
  * @see https://tailwindcss.com/docs/margin
1089
1091
  */
1090
1092
  ml: [{
1091
- ml: S()
1093
+ ml: L()
1092
1094
  }],
1093
1095
  /**
1094
1096
  * Space Between X
@@ -1122,7 +1124,7 @@ const eo = (e, r) => {
1122
1124
  * @see https://tailwindcss.com/docs/width#setting-both-width-and-height
1123
1125
  */
1124
1126
  size: [{
1125
- size: _()
1127
+ size: B()
1126
1128
  }],
1127
1129
  /**
1128
1130
  * Inline Size
@@ -1171,7 +1173,7 @@ const eo = (e, r) => {
1171
1173
  * @see https://tailwindcss.com/docs/width
1172
1174
  */
1173
1175
  w: [{
1174
- w: [u, "screen", ..._()]
1176
+ w: [u, "screen", ...B()]
1175
1177
  }],
1176
1178
  /**
1177
1179
  * Min-Width
@@ -1183,7 +1185,7 @@ const eo = (e, r) => {
1183
1185
  "screen",
1184
1186
  /** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1185
1187
  "none",
1186
- ..._()
1188
+ ...B()
1187
1189
  ]
1188
1190
  }],
1189
1191
  /**
@@ -1201,7 +1203,7 @@ const eo = (e, r) => {
1201
1203
  {
1202
1204
  screen: [l]
1203
1205
  },
1204
- ..._()
1206
+ ...B()
1205
1207
  ]
1206
1208
  }],
1207
1209
  /**
@@ -1209,21 +1211,21 @@ const eo = (e, r) => {
1209
1211
  * @see https://tailwindcss.com/docs/height
1210
1212
  */
1211
1213
  h: [{
1212
- h: ["screen", "lh", ..._()]
1214
+ h: ["screen", "lh", ...B()]
1213
1215
  }],
1214
1216
  /**
1215
1217
  * Min-Height
1216
1218
  * @see https://tailwindcss.com/docs/min-height
1217
1219
  */
1218
1220
  "min-h": [{
1219
- "min-h": ["screen", "lh", "none", ..._()]
1221
+ "min-h": ["screen", "lh", "none", ...B()]
1220
1222
  }],
1221
1223
  /**
1222
1224
  * Max-Height
1223
1225
  * @see https://tailwindcss.com/docs/max-height
1224
1226
  */
1225
1227
  "max-h": [{
1226
- "max-h": ["screen", "lh", ..._()]
1228
+ "max-h": ["screen", "lh", ...B()]
1227
1229
  }],
1228
1230
  // ------------------
1229
1231
  // --- Typography ---
@@ -1233,7 +1235,7 @@ const eo = (e, r) => {
1233
1235
  * @see https://tailwindcss.com/docs/font-size
1234
1236
  */
1235
1237
  "font-size": [{
1236
- text: ["base", t, D, B]
1238
+ text: ["base", t, D, O]
1237
1239
  }],
1238
1240
  /**
1239
1241
  * Font Smoothing
@@ -1250,21 +1252,21 @@ const eo = (e, r) => {
1250
1252
  * @see https://tailwindcss.com/docs/font-weight
1251
1253
  */
1252
1254
  "font-weight": [{
1253
- font: [o, Wo, _o]
1255
+ font: [o, $o, Bo]
1254
1256
  }],
1255
1257
  /**
1256
1258
  * Font Stretch
1257
1259
  * @see https://tailwindcss.com/docs/font-stretch
1258
1260
  */
1259
1261
  "font-stretch": [{
1260
- "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", se, n]
1262
+ "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", ae, n]
1261
1263
  }],
1262
1264
  /**
1263
1265
  * Font Family
1264
1266
  * @see https://tailwindcss.com/docs/font-family
1265
1267
  */
1266
1268
  "font-family": [{
1267
- font: [Fo, jo, r]
1269
+ font: [Fo, Oo, r]
1268
1270
  }],
1269
1271
  /**
1270
1272
  * Font Feature Settings
@@ -1388,7 +1390,7 @@ const eo = (e, r) => {
1388
1390
  * @see https://tailwindcss.com/docs/text-decoration-thickness
1389
1391
  */
1390
1392
  "text-decoration-thickness": [{
1391
- decoration: [p, "from-font", "auto", s, B]
1393
+ decoration: [p, "from-font", "auto", s, O]
1392
1394
  }],
1393
1395
  /**
1394
1396
  * Text Decoration Color
@@ -1433,7 +1435,7 @@ const eo = (e, r) => {
1433
1435
  * @see https://tailwindcss.com/docs/tab-size
1434
1436
  */
1435
1437
  "tab-size": [{
1436
- tab: [I, s, n]
1438
+ tab: [S, s, n]
1437
1439
  }],
1438
1440
  /**
1439
1441
  * Vertical Alignment
@@ -1506,21 +1508,21 @@ const eo = (e, r) => {
1506
1508
  * @see https://tailwindcss.com/docs/background-position
1507
1509
  */
1508
1510
  "bg-position": [{
1509
- bg: pe()
1511
+ bg: ue()
1510
1512
  }],
1511
1513
  /**
1512
1514
  * Background Repeat
1513
1515
  * @see https://tailwindcss.com/docs/background-repeat
1514
1516
  */
1515
1517
  "bg-repeat": [{
1516
- bg: ue()
1518
+ bg: be()
1517
1519
  }],
1518
1520
  /**
1519
1521
  * Background Size
1520
1522
  * @see https://tailwindcss.com/docs/background-size
1521
1523
  */
1522
1524
  "bg-size": [{
1523
- bg: be()
1525
+ bg: fe()
1524
1526
  }],
1525
1527
  /**
1526
1528
  * Background Image
@@ -1530,10 +1532,10 @@ const eo = (e, r) => {
1530
1532
  bg: ["none", {
1531
1533
  linear: [{
1532
1534
  to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
1533
- }, I, s, n],
1535
+ }, S, s, n],
1534
1536
  radial: ["", s, n],
1535
- conic: [I, s, n]
1536
- }, Vo, Bo]
1537
+ conic: [S, s, n]
1538
+ }, Wo, jo]
1537
1539
  }],
1538
1540
  /**
1539
1541
  * Background Color
@@ -1910,7 +1912,7 @@ const eo = (e, r) => {
1910
1912
  * @see https://tailwindcss.com/docs/outline-width
1911
1913
  */
1912
1914
  "outline-w": [{
1913
- outline: ["", p, D, B]
1915
+ outline: ["", p, D, O]
1914
1916
  }],
1915
1917
  /**
1916
1918
  * Outline Color
@@ -1931,7 +1933,7 @@ const eo = (e, r) => {
1931
1933
  // Deprecated since Tailwind CSS v4.0.0
1932
1934
  "",
1933
1935
  "none",
1934
- h,
1936
+ f,
1935
1937
  Q,
1936
1938
  X
1937
1939
  ]
@@ -1948,7 +1950,7 @@ const eo = (e, r) => {
1948
1950
  * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
1949
1951
  */
1950
1952
  "inset-shadow": [{
1951
- "inset-shadow": ["none", x, Q, X]
1953
+ "inset-shadow": ["none", w, Q, X]
1952
1954
  }],
1953
1955
  /**
1954
1956
  * Inset Box Shadow Color
@@ -1985,7 +1987,7 @@ const eo = (e, r) => {
1985
1987
  * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
1986
1988
  */
1987
1989
  "ring-offset-w": [{
1988
- "ring-offset": [p, B]
1990
+ "ring-offset": [p, O]
1989
1991
  }],
1990
1992
  /**
1991
1993
  * Ring Offset Color
@@ -2015,7 +2017,7 @@ const eo = (e, r) => {
2015
2017
  * @see https://tailwindcss.com/docs/text-shadow
2016
2018
  */
2017
2019
  "text-shadow": [{
2018
- "text-shadow": ["none", T, Q, X]
2020
+ "text-shadow": ["none", P, Q, X]
2019
2021
  }],
2020
2022
  /**
2021
2023
  * Text Shadow Color
@@ -2036,14 +2038,14 @@ const eo = (e, r) => {
2036
2038
  * @see https://tailwindcss.com/docs/mix-blend-mode
2037
2039
  */
2038
2040
  "mix-blend": [{
2039
- "mix-blend": [...fe(), "plus-darker", "plus-lighter"]
2041
+ "mix-blend": [...ge(), "plus-darker", "plus-lighter"]
2040
2042
  }],
2041
2043
  /**
2042
2044
  * Background Blend Mode
2043
2045
  * @see https://tailwindcss.com/docs/background-blend-mode
2044
2046
  */
2045
2047
  "bg-blend": [{
2046
- "bg-blend": fe()
2048
+ "bg-blend": ge()
2047
2049
  }],
2048
2050
  /**
2049
2051
  * Mask Clip
@@ -2067,10 +2069,10 @@ const eo = (e, r) => {
2067
2069
  "mask-linear": [p]
2068
2070
  }],
2069
2071
  "mask-image-linear-from-pos": [{
2070
- "mask-linear-from": g()
2072
+ "mask-linear-from": x()
2071
2073
  }],
2072
2074
  "mask-image-linear-to-pos": [{
2073
- "mask-linear-to": g()
2075
+ "mask-linear-to": x()
2074
2076
  }],
2075
2077
  "mask-image-linear-from-color": [{
2076
2078
  "mask-linear-from": c()
@@ -2079,10 +2081,10 @@ const eo = (e, r) => {
2079
2081
  "mask-linear-to": c()
2080
2082
  }],
2081
2083
  "mask-image-t-from-pos": [{
2082
- "mask-t-from": g()
2084
+ "mask-t-from": x()
2083
2085
  }],
2084
2086
  "mask-image-t-to-pos": [{
2085
- "mask-t-to": g()
2087
+ "mask-t-to": x()
2086
2088
  }],
2087
2089
  "mask-image-t-from-color": [{
2088
2090
  "mask-t-from": c()
@@ -2091,10 +2093,10 @@ const eo = (e, r) => {
2091
2093
  "mask-t-to": c()
2092
2094
  }],
2093
2095
  "mask-image-r-from-pos": [{
2094
- "mask-r-from": g()
2096
+ "mask-r-from": x()
2095
2097
  }],
2096
2098
  "mask-image-r-to-pos": [{
2097
- "mask-r-to": g()
2099
+ "mask-r-to": x()
2098
2100
  }],
2099
2101
  "mask-image-r-from-color": [{
2100
2102
  "mask-r-from": c()
@@ -2103,10 +2105,10 @@ const eo = (e, r) => {
2103
2105
  "mask-r-to": c()
2104
2106
  }],
2105
2107
  "mask-image-b-from-pos": [{
2106
- "mask-b-from": g()
2108
+ "mask-b-from": x()
2107
2109
  }],
2108
2110
  "mask-image-b-to-pos": [{
2109
- "mask-b-to": g()
2111
+ "mask-b-to": x()
2110
2112
  }],
2111
2113
  "mask-image-b-from-color": [{
2112
2114
  "mask-b-from": c()
@@ -2115,10 +2117,10 @@ const eo = (e, r) => {
2115
2117
  "mask-b-to": c()
2116
2118
  }],
2117
2119
  "mask-image-l-from-pos": [{
2118
- "mask-l-from": g()
2120
+ "mask-l-from": x()
2119
2121
  }],
2120
2122
  "mask-image-l-to-pos": [{
2121
- "mask-l-to": g()
2123
+ "mask-l-to": x()
2122
2124
  }],
2123
2125
  "mask-image-l-from-color": [{
2124
2126
  "mask-l-from": c()
@@ -2127,10 +2129,10 @@ const eo = (e, r) => {
2127
2129
  "mask-l-to": c()
2128
2130
  }],
2129
2131
  "mask-image-x-from-pos": [{
2130
- "mask-x-from": g()
2132
+ "mask-x-from": x()
2131
2133
  }],
2132
2134
  "mask-image-x-to-pos": [{
2133
- "mask-x-to": g()
2135
+ "mask-x-to": x()
2134
2136
  }],
2135
2137
  "mask-image-x-from-color": [{
2136
2138
  "mask-x-from": c()
@@ -2139,10 +2141,10 @@ const eo = (e, r) => {
2139
2141
  "mask-x-to": c()
2140
2142
  }],
2141
2143
  "mask-image-y-from-pos": [{
2142
- "mask-y-from": g()
2144
+ "mask-y-from": x()
2143
2145
  }],
2144
2146
  "mask-image-y-to-pos": [{
2145
- "mask-y-to": g()
2147
+ "mask-y-to": x()
2146
2148
  }],
2147
2149
  "mask-image-y-from-color": [{
2148
2150
  "mask-y-from": c()
@@ -2154,10 +2156,10 @@ const eo = (e, r) => {
2154
2156
  "mask-radial": [s, n]
2155
2157
  }],
2156
2158
  "mask-image-radial-from-pos": [{
2157
- "mask-radial-from": g()
2159
+ "mask-radial-from": x()
2158
2160
  }],
2159
2161
  "mask-image-radial-to-pos": [{
2160
- "mask-radial-to": g()
2162
+ "mask-radial-to": x()
2161
2163
  }],
2162
2164
  "mask-image-radial-from-color": [{
2163
2165
  "mask-radial-from": c()
@@ -2175,16 +2177,16 @@ const eo = (e, r) => {
2175
2177
  }]
2176
2178
  }],
2177
2179
  "mask-image-radial-pos": [{
2178
- "mask-radial-at": O()
2180
+ "mask-radial-at": F()
2179
2181
  }],
2180
2182
  "mask-image-conic-pos": [{
2181
2183
  "mask-conic": [p]
2182
2184
  }],
2183
2185
  "mask-image-conic-from-pos": [{
2184
- "mask-conic-from": g()
2186
+ "mask-conic-from": x()
2185
2187
  }],
2186
2188
  "mask-image-conic-to-pos": [{
2187
- "mask-conic-to": g()
2189
+ "mask-conic-to": x()
2188
2190
  }],
2189
2191
  "mask-image-conic-from-color": [{
2190
2192
  "mask-conic-from": c()
@@ -2211,21 +2213,21 @@ const eo = (e, r) => {
2211
2213
  * @see https://tailwindcss.com/docs/mask-position
2212
2214
  */
2213
2215
  "mask-position": [{
2214
- mask: pe()
2216
+ mask: ue()
2215
2217
  }],
2216
2218
  /**
2217
2219
  * Mask Repeat
2218
2220
  * @see https://tailwindcss.com/docs/mask-repeat
2219
2221
  */
2220
2222
  "mask-repeat": [{
2221
- mask: ue()
2223
+ mask: be()
2222
2224
  }],
2223
2225
  /**
2224
2226
  * Mask Size
2225
2227
  * @see https://tailwindcss.com/docs/mask-size
2226
2228
  */
2227
2229
  "mask-size": [{
2228
- mask: be()
2230
+ mask: fe()
2229
2231
  }],
2230
2232
  /**
2231
2233
  * Mask Type
@@ -2262,7 +2264,7 @@ const eo = (e, r) => {
2262
2264
  * @see https://tailwindcss.com/docs/blur
2263
2265
  */
2264
2266
  blur: [{
2265
- blur: ge()
2267
+ blur: he()
2266
2268
  }],
2267
2269
  /**
2268
2270
  * Brightness
@@ -2352,7 +2354,7 @@ const eo = (e, r) => {
2352
2354
  * @see https://tailwindcss.com/docs/backdrop-blur
2353
2355
  */
2354
2356
  "backdrop-blur": [{
2355
- "backdrop-blur": ge()
2357
+ "backdrop-blur": he()
2356
2358
  }],
2357
2359
  /**
2358
2360
  * Backdrop Brightness
@@ -2484,7 +2486,7 @@ const eo = (e, r) => {
2484
2486
  * @see https://tailwindcss.com/docs/transition-timing-function
2485
2487
  */
2486
2488
  ease: [{
2487
- ease: ["linear", "initial", E, s, n]
2489
+ ease: ["linear", "initial", T, s, n]
2488
2490
  }],
2489
2491
  /**
2490
2492
  * Transition Delay
@@ -2515,7 +2517,7 @@ const eo = (e, r) => {
2515
2517
  * @see https://tailwindcss.com/docs/perspective
2516
2518
  */
2517
2519
  perspective: [{
2518
- perspective: [w, s, n]
2520
+ perspective: [g, s, n]
2519
2521
  }],
2520
2522
  /**
2521
2523
  * Perspective Origin
@@ -2665,7 +2667,7 @@ const eo = (e, r) => {
2665
2667
  * @see https://tailwindcss.com/docs/zoom
2666
2668
  */
2667
2669
  zoom: [{
2668
- zoom: [I, s, n]
2670
+ zoom: [S, s, n]
2669
2671
  }],
2670
2672
  // ---------------------
2671
2673
  // --- Interactivity ---
@@ -2998,7 +3000,7 @@ const eo = (e, r) => {
2998
3000
  * @see https://tailwindcss.com/docs/stroke-width
2999
3001
  */
3000
3002
  "stroke-w": [{
3001
- stroke: [p, D, B, ke]
3003
+ stroke: [p, D, O, ke]
3002
3004
  }],
3003
3005
  /**
3004
3006
  * Stroke
@@ -3075,11 +3077,11 @@ const eo = (e, r) => {
3075
3077
  postfixLookupClassGroups: ["container-type"],
3076
3078
  orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
3077
3079
  };
3078
- }, Do = /* @__PURE__ */ vo(Uo);
3079
- function Yo(...e) {
3080
- return Do(qe(e));
3080
+ }, Ko = /* @__PURE__ */ Co(Do);
3081
+ function Zo(...e) {
3082
+ return Ko(eo(e));
3081
3083
  }
3082
- const Fe = {
3084
+ const je = {
3083
3085
  "+1": {
3084
3086
  pattern: /^[2-9]\d{9}$/,
3085
3087
  minLength: 10,
@@ -3152,19 +3154,19 @@ const Fe = {
3152
3154
  maxLength: 8,
3153
3155
  description: "7-8 digits"
3154
3156
  }
3155
- }, Oe = {
3157
+ }, Fe = {
3156
3158
  pattern: /^\d{6,15}$/,
3157
3159
  maxLength: 15,
3158
3160
  description: "6-15 digits"
3159
- }, Zo = (e, r) => {
3161
+ }, Xo = (e, r) => {
3160
3162
  if (!e)
3161
3163
  return { isValid: !0, error: "" };
3162
- const t = Fe[r] || Oe;
3164
+ const t = je[r] || Fe;
3163
3165
  return t.pattern.test(e) ? { isValid: !0, error: "" } : {
3164
3166
  isValid: !1,
3165
3167
  error: `Please enter a valid phone number (${t.description})`
3166
3168
  };
3167
- }, Xo = (e) => (Fe[e] || Oe).maxLength, Qo = [
3169
+ }, Qo = (e) => (je[e] || Fe).maxLength, qo = [
3168
3170
  { name: "United States", code: "+1", iso: "US" },
3169
3171
  { name: "United Kingdom", code: "+44", iso: "GB" },
3170
3172
  { name: "Australia", code: "+61", iso: "AU" },
@@ -3219,15 +3221,15 @@ const Fe = {
3219
3221
  { name: "Austria", code: "+43", iso: "AT" },
3220
3222
  { name: "Réunion", code: "+262", iso: "RE" },
3221
3223
  { name: "India", code: "+91", iso: "IN" }
3222
- ], qo = (e) => {
3224
+ ], et = (e) => {
3223
3225
  if (!e || e.length !== 2) return "🏳️";
3224
3226
  const r = e.toUpperCase().split("").map((t) => 127397 + t.charCodeAt(0));
3225
3227
  return String.fromCodePoint(...r);
3226
3228
  };
3227
- function et(e) {
3229
+ function ot(e) {
3228
3230
  const r = $e(null), t = ({ locale: a, children: d }) => {
3229
3231
  const u = { locale: a, t: (b) => e[a]?.[b] ?? b };
3230
- return /* @__PURE__ */ P(r.Provider, { value: u, children: d });
3232
+ return /* @__PURE__ */ I(r.Provider, { value: u, children: d });
3231
3233
  };
3232
3234
  function o() {
3233
3235
  return Ue(r);
@@ -3235,12 +3237,12 @@ function et(e) {
3235
3237
  return { I18nProvider: t, useI18n: o };
3236
3238
  }
3237
3239
  export {
3238
- Jo as BottomSheet,
3239
- Qo as DEFAULT_COUNTRIES,
3240
- Yo as cn,
3241
- et as createI18n,
3242
- qo as getFlagEmoji,
3243
- Xo as getMaxLengthForCountry,
3244
- Zo as validatePhoneByCountryCode
3240
+ Yo as BottomSheet,
3241
+ qo as DEFAULT_COUNTRIES,
3242
+ Zo as cn,
3243
+ ot as createI18n,
3244
+ et as getFlagEmoji,
3245
+ Qo as getMaxLengthForCountry,
3246
+ Xo as validatePhoneByCountryCode
3245
3247
  };
3246
3248
  //# sourceMappingURL=common.js.map