fiboui 2.6.0 → 2.6.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.
@@ -2,21 +2,21 @@
2
2
  var kt = Object.defineProperty;
3
3
  var _t = (t, o, e) => o in t ? kt(t, o, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[o] = e;
4
4
  var c = (t, o, e) => _t(t, typeof o != "symbol" ? o + "" : o, e);
5
- import l, { useCallback as ro, useSyncExternalStore as uo, useRef as U, createContext as yo, useContext as Fo, useEffect as Z, useState as G, memo as Fe, cloneElement as St, useMemo as Ct, useLayoutEffect as oe, Component as zt, Suspense as Et } from "react";
6
- import { jsx as W, Fragment as re, jsxs as Po } from "react/jsx-runtime";
7
- class Re {
5
+ import l, { useCallback as ro, useSyncExternalStore as uo, useRef as U, createContext as yo, useContext as Ro, useEffect as q, useState as Y, memo as Re, cloneElement as St, useMemo as Ct, useLayoutEffect as oe, Component as zt, Suspense as Et } from "react";
6
+ import { jsx as H, Fragment as re, jsxs as Po } from "react/jsx-runtime";
7
+ class Ne {
8
8
  constructor() {
9
9
  c(this, "activeEffect", null);
10
10
  }
11
11
  }
12
- const Be = new Re(), Vo = [Be];
12
+ const Be = new Ne(), Vo = [Be];
13
13
  function Ae() {
14
- return new Re();
14
+ return new Ne();
15
15
  }
16
16
  function Le() {
17
17
  return Vo[Vo.length - 1] ?? Be;
18
18
  }
19
- function Do() {
19
+ function Xo() {
20
20
  return Le().activeEffect;
21
21
  }
22
22
  function Pe(t, o) {
@@ -27,7 +27,7 @@ function Pe(t, o) {
27
27
  Vo.pop();
28
28
  }
29
29
  }
30
- function No(t) {
30
+ function $o(t) {
31
31
  const o = Le(), e = o.activeEffect;
32
32
  return o.activeEffect = t, e;
33
33
  }
@@ -38,11 +38,11 @@ class Me {
38
38
  this.fn = o, this.run();
39
39
  }
40
40
  run() {
41
- const o = No(this);
41
+ const o = $o(this);
42
42
  try {
43
43
  this.cleanup(), this.fn();
44
44
  } finally {
45
- No(o);
45
+ $o(o);
46
46
  }
47
47
  }
48
48
  track(o) {
@@ -65,11 +65,11 @@ class Tt {
65
65
  this._onInvalidate = o;
66
66
  }
67
67
  execute(o) {
68
- const e = No(this);
68
+ const e = $o(this);
69
69
  try {
70
70
  return this.cleanup(), o();
71
71
  } finally {
72
- No(e);
72
+ $o(e);
73
73
  }
74
74
  }
75
75
  track(o) {
@@ -93,7 +93,7 @@ class To {
93
93
  this._value = o;
94
94
  }
95
95
  get value() {
96
- const o = Do();
96
+ const o = Xo();
97
97
  return o && o.track(this), this._value;
98
98
  }
99
99
  set value(o) {
@@ -125,7 +125,7 @@ class To {
125
125
  function Ln(t) {
126
126
  return new To(t);
127
127
  }
128
- class $t {
128
+ class It {
129
129
  constructor(o) {
130
130
  c(this, "listeners", /* @__PURE__ */ new Set());
131
131
  c(this, "effects", /* @__PURE__ */ new Set());
@@ -138,13 +138,13 @@ class $t {
138
138
  });
139
139
  }
140
140
  get value() {
141
- const o = Do();
141
+ const o = Xo();
142
142
  if (o && o.track(this), this._dirty) {
143
- const e = No(this.internalEffect);
143
+ const e = $o(this.internalEffect);
144
144
  try {
145
145
  this.internalEffect.cleanup(), this._value = this.fn(), this._dirty = !1;
146
146
  } finally {
147
- No(e);
147
+ $o(e);
148
148
  }
149
149
  }
150
150
  return this._value;
@@ -173,16 +173,16 @@ class $t {
173
173
  }
174
174
  }
175
175
  function Pn(t) {
176
- return new $t(t);
176
+ return new It(t);
177
177
  }
178
- class Nt {
178
+ class $t {
179
179
  constructor(o) {
180
180
  c(this, "listeners", /* @__PURE__ */ new Set());
181
181
  c(this, "effects", /* @__PURE__ */ new Set());
182
182
  this._value = o;
183
183
  }
184
184
  get() {
185
- const o = Do();
185
+ const o = Xo();
186
186
  return o && o.track(this), this._value;
187
187
  }
188
188
  set(o) {
@@ -202,16 +202,16 @@ class Nt {
202
202
  }
203
203
  }
204
204
  function Mn(t) {
205
- return new Nt(t);
205
+ return new $t(t);
206
206
  }
207
- class It {
207
+ class Ft {
208
208
  constructor(o) {
209
209
  c(this, "listeners", /* @__PURE__ */ new Set());
210
210
  c(this, "effects", /* @__PURE__ */ new Set());
211
211
  this.state = o;
212
212
  }
213
213
  getState() {
214
- const o = Do();
214
+ const o = Xo();
215
215
  return o && o.track(this), this.state;
216
216
  }
217
217
  setState(o) {
@@ -232,12 +232,12 @@ class It {
232
232
  }
233
233
  }
234
234
  function On(t) {
235
- return new It(t);
235
+ return new Ft(t);
236
236
  }
237
- const Oe = "FIBO:", Ft = "", We = /\uE000FIBO:(\d+)\uE001/g, jo = [];
238
- function Rt(t) {
237
+ const Oe = "FIBO:", Rt = "", We = /\uE000FIBO:(\d+)\uE001/g, jo = [];
238
+ function Nt(t) {
239
239
  const o = jo.length;
240
- return jo.push(t), `${Oe}${o}${Ft}`;
240
+ return jo.push(t), `${Oe}${o}${Rt}`;
241
241
  }
242
242
  function Bt(t) {
243
243
  return t.includes(Oe);
@@ -264,7 +264,7 @@ class Pt {
264
264
  this.signal = o;
265
265
  }
266
266
  toString() {
267
- return Rt(this.signal);
267
+ return Nt(this.signal);
268
268
  }
269
269
  valueOf() {
270
270
  return this.toString();
@@ -296,11 +296,11 @@ function jn(t) {
296
296
  }
297
297
  const Ot = Ae(), He = yo(Ot);
298
298
  function Ve() {
299
- return Fo(He);
299
+ return Ro(He);
300
300
  }
301
- function Xn({ children: t, scope: o }) {
301
+ function Dn({ children: t, scope: o }) {
302
302
  const e = U(o ?? Ae()).current;
303
- return /* @__PURE__ */ W(He.Provider, { value: e, children: t });
303
+ return /* @__PURE__ */ H(He.Provider, { value: e, children: t });
304
304
  }
305
305
  function Wt({ children: t }) {
306
306
  const o = U(0), e = U(/* @__PURE__ */ new Set()), i = U(null);
@@ -310,7 +310,7 @@ function Wt({ children: t }) {
310
310
  const r = ro((a) => (e.current.add(a), () => {
311
311
  e.current.delete(a);
312
312
  }), []), n = ro(() => o.current, []);
313
- uo(r, n, n), Z(() => () => {
313
+ uo(r, n, n), q(() => () => {
314
314
  var a;
315
315
  (a = i.current) == null || a.dispose();
316
316
  }, []);
@@ -321,17 +321,17 @@ function Wt({ children: t }) {
321
321
  } catch {
322
322
  f = null;
323
323
  }
324
- return /* @__PURE__ */ W(re, { children: f });
324
+ return /* @__PURE__ */ H(re, { children: f });
325
325
  }
326
326
  const Ht = yo(/* @__PURE__ */ new Map()), je = yo(null);
327
- function Dn(t) {
328
- const o = Fo(je);
327
+ function Xn(t) {
328
+ const o = Ro(je);
329
329
  if (!o)
330
330
  throw new Error("useBuilderState must be used under a builder that called .state()");
331
331
  return [o.get(t), (e) => o.set(t, e)];
332
332
  }
333
333
  function Vt({ stateMap: t = /* @__PURE__ */ new Map(), children: o }) {
334
- const [e, i] = G(() => new Map(t)), r = {
334
+ const [e, i] = Y(() => new Map(t)), r = {
335
335
  map: e,
336
336
  get: (n) => e.get(n),
337
337
  set: (n, s) => {
@@ -343,7 +343,7 @@ function Vt({ stateMap: t = /* @__PURE__ */ new Map(), children: o }) {
343
343
  });
344
344
  }
345
345
  };
346
- return /* @__PURE__ */ W(je.Provider, { value: r, children: /* @__PURE__ */ W(Ht.Provider, { value: e, children: o }) });
346
+ return /* @__PURE__ */ H(je.Provider, { value: r, children: /* @__PURE__ */ H(Ht.Provider, { value: e, children: o }) });
347
347
  }
348
348
  function jt({ observables: t, children: o }) {
349
349
  const e = U(0), i = ro((n) => {
@@ -354,9 +354,9 @@ function jt({ observables: t, children: o }) {
354
354
  );
355
355
  return () => s.forEach((f) => f());
356
356
  }, [t]), r = ro(() => e.current, []);
357
- return uo(i, r, r), /* @__PURE__ */ W(re, { children: typeof o == "function" ? o() : o });
357
+ return uo(i, r, r), /* @__PURE__ */ H(re, { children: typeof o == "function" ? o() : o });
358
358
  }
359
- function Xt({ signals: t, children: o }) {
359
+ function Dt({ signals: t, children: o }) {
360
360
  const e = U(0), i = ro((n) => {
361
361
  const s = Array.from(t).map(
362
362
  (f) => f.subscribe(() => {
@@ -365,17 +365,17 @@ function Xt({ signals: t, children: o }) {
365
365
  );
366
366
  return () => s.forEach((f) => f());
367
367
  }, [t]), r = ro(() => e.current, []);
368
- return uo(i, r, r), /* @__PURE__ */ W(re, { children: typeof o == "function" ? o() : o });
368
+ return uo(i, r, r), /* @__PURE__ */ H(re, { children: typeof o == "function" ? o() : o });
369
369
  }
370
- const Xe = yo(/* @__PURE__ */ new Map());
370
+ const De = yo(/* @__PURE__ */ new Map());
371
371
  function Yn(t) {
372
- const o = Fo(Xe);
372
+ const o = Ro(De);
373
373
  return o == null ? void 0 : o.get(t);
374
374
  }
375
- function Dt({ providers: t = /* @__PURE__ */ new Map(), children: o }) {
376
- return /* @__PURE__ */ W(Xe.Provider, { value: t, children: o });
375
+ function Xt({ providers: t = /* @__PURE__ */ new Map(), children: o }) {
376
+ return /* @__PURE__ */ H(De.Provider, { value: t, children: o });
377
377
  }
378
- function De({
378
+ function Xe({
379
379
  compute: t,
380
380
  as: o = "span",
381
381
  className: e,
@@ -383,7 +383,7 @@ function De({
383
383
  ...r
384
384
  }) {
385
385
  const n = Ve(), s = U(null), f = t();
386
- return Z(() => Pe(n, () => {
386
+ return q(() => Pe(n, () => {
387
387
  const a = new Me(() => {
388
388
  const u = t();
389
389
  s.current && s.current.textContent !== u && (s.current.textContent = u);
@@ -392,7 +392,7 @@ function De({
392
392
  }), [t, n]), l.createElement(o, { ref: s, className: e, style: i, ...r }, f);
393
393
  }
394
394
  function Gn(t, o) {
395
- return l.createElement(De, {
395
+ return l.createElement(Xe, {
396
396
  compute: () => String(t.value),
397
397
  as: o
398
398
  });
@@ -426,7 +426,7 @@ function Un(t, o, e) {
426
426
  return i < 768 && o.mobile ? r = { ...r, ...o.mobile } : i >= 768 && i < 1024 && o.tablet ? r = { ...r, ...o.tablet } : i >= 1024 && o.desktop && (r = { ...r, ...o.desktop }), r;
427
427
  }
428
428
  function Kn(t, o) {
429
- const e = Fe(t, o);
429
+ const e = Re(t, o);
430
430
  return (i) => l.createElement(e, i);
431
431
  }
432
432
  const Kt = {
@@ -440,8 +440,8 @@ const Kt = {
440
440
  bounce: (t) => t < 1 / 2.75 ? 7.5625 * t * t : t < 2 / 2.75 ? 7.5625 * (t -= 1.5 / 2.75) * t + 0.75 : t < 2.5 / 2.75 ? 7.5625 * (t -= 2.25 / 2.75) * t + 0.9375 : 7.5625 * (t -= 2.625 / 2.75) * t + 0.984375
441
441
  };
442
442
  function qn(t, o) {
443
- const { duration: e = 300, delay: i = 0, easing: r = Kt.easeOut } = o || {}, [n, s] = G(t), f = U(), a = U(n);
444
- return a.current = n, Z(() => {
443
+ const { duration: e = 300, delay: i = 0, easing: r = Kt.easeOut } = o || {}, [n, s] = Y(t), f = U(), a = U(n);
444
+ return a.current = n, q(() => {
445
445
  f.current && cancelAnimationFrame(f.current);
446
446
  let u = null;
447
447
  const b = a.current, h = (d) => {
@@ -460,8 +460,8 @@ function qn(t, o) {
460
460
  }, [t, e, i]), n;
461
461
  }
462
462
  function Zn(t, o) {
463
- const { stiffness: e = 170, damping: i = 26, mass: r = 1 } = o || {}, [n, s] = G(t), f = U(0), a = U();
464
- return Z(() => {
463
+ const { stiffness: e = 170, damping: i = 26, mass: r = 1 } = o || {}, [n, s] = Y(t), f = U(0), a = U();
464
+ return q(() => {
465
465
  let u = n, b = f.current;
466
466
  const h = () => {
467
467
  const d = -e * (u - t), x = -i * b, m = (d + x) / r;
@@ -473,10 +473,10 @@ function Zn(t, o) {
473
473
  }, [t, e, i, r]), n;
474
474
  }
475
475
  function Jn(t, o = 300) {
476
- const [e, i] = G(t), [r, n] = G(
476
+ const [e, i] = Y(t), [r, n] = Y(
477
477
  t ? "entered" : "exited"
478
478
  );
479
- return Z(() => {
479
+ return q(() => {
480
480
  if (t) {
481
481
  i(!0), n("entering");
482
482
  const s = setTimeout(() => n("entered"), 50);
@@ -508,8 +508,8 @@ function os() {
508
508
  );
509
509
  }
510
510
  function es() {
511
- const [t, o] = G(0);
512
- return Z(() => {
511
+ const [t, o] = Y(0);
512
+ return q(() => {
513
513
  if (typeof window > "u") return;
514
514
  const e = () => {
515
515
  const i = document.documentElement.scrollHeight - window.innerHeight;
@@ -540,8 +540,8 @@ function Ye(t = {}) {
540
540
  b[b.length - 1] !== 1 && b.push(1);
541
541
  const d = Math.max(1, Math.floor((b.length - 1) / 24)), x = [];
542
542
  for (let p = 0; p < b.length; p += d) {
543
- const T = p / (b.length - 1), N = Math.round(b[p] * 1e4) / 1e4;
544
- x.push(p === 0 ? `${N}` : `${N} ${Math.round(T * 1e4) / 100}%`);
543
+ const T = p / (b.length - 1), F = Math.round(b[p] * 1e4) / 1e4;
544
+ x.push(p === 0 ? `${F}` : `${F} ${Math.round(T * 1e4) / 100}%`);
545
545
  }
546
546
  const m = `linear(${x.join(", ")})`;
547
547
  return ue.set(r, m), m;
@@ -911,12 +911,12 @@ function ni(t) {
911
911
  const o = t.match(/oklch\(\s*([\d.]+)\s+([\d.]+)\s+([\d.]+)\s*\)/);
912
912
  if (!o)
913
913
  return t;
914
- const [, e, i, r] = o, n = parseFloat(e), s = parseFloat(i), f = parseFloat(r), a = s * Math.cos(f * Math.PI / 180), u = s * Math.sin(f * Math.PI / 180), b = n + 0.3963377774 * a + 0.2158037573 * u, h = n - 0.1055613458 * a - 0.0638541728 * u, d = n - 0.0894841775 * a - 1.291485548 * u, x = b * b * b, m = h * h * h, p = d * d * d, T = 4.0767416621 * x - 3.3077115913 * m + 0.2309699292 * p, N = -1.2684380046 * x + 2.6097574011 * m - 0.3413193965 * p, M = -0.0041960863 * x - 0.7034186147 * m + 1.707614701 * p, I = (v) => v >= 31308e-7 ? 1.055 * v ** (1 / 2.4) - 0.055 : 12.92 * v, R = Math.max(0, Math.min(1, I(T))), X = Math.max(0, Math.min(1, I(N))), $ = Math.max(0, Math.min(1, I(M))), A = (v) => {
915
- var P;
916
- const z = (P = Math.round(v * 255).toString(16)) == null ? void 0 : P.toUpperCase();
914
+ const [, e, i, r] = o, n = parseFloat(e), s = parseFloat(i), f = parseFloat(r), a = s * Math.cos(f * Math.PI / 180), u = s * Math.sin(f * Math.PI / 180), b = n + 0.3963377774 * a + 0.2158037573 * u, h = n - 0.1055613458 * a - 0.0638541728 * u, d = n - 0.0894841775 * a - 1.291485548 * u, x = b * b * b, m = h * h * h, p = d * d * d, T = 4.0767416621 * x - 3.3077115913 * m + 0.2309699292 * p, F = -1.2684380046 * x + 2.6097574011 * m - 0.3413193965 * p, M = -0.0041960863 * x - 0.7034186147 * m + 1.707614701 * p, R = (g) => g >= 31308e-7 ? 1.055 * g ** (1 / 2.4) - 0.055 : 12.92 * g, B = Math.max(0, Math.min(1, R(T))), D = Math.max(0, Math.min(1, R(F))), I = Math.max(0, Math.min(1, R(M))), $ = (g) => {
915
+ var O;
916
+ const z = (O = Math.round(g * 255).toString(16)) == null ? void 0 : O.toUpperCase();
917
917
  return z.length === 1 ? `0${z}` : z;
918
918
  };
919
- return `#${A(R)}${A(X)}${A($)}`;
919
+ return `#${$(B)}${$(D)}${$(I)}`;
920
920
  }
921
921
  function si(t) {
922
922
  const o = {}, e = {}, i = t.split(`
@@ -1494,10 +1494,10 @@ function hi(t) {
1494
1494
  }), o;
1495
1495
  }
1496
1496
  function di({ animatedProps: t, animationConfig: o, children: e }) {
1497
- const [i, r] = G(
1497
+ const [i, r] = Y(
1498
1498
  () => hi(t)
1499
1499
  );
1500
- Z(() => {
1500
+ q(() => {
1501
1501
  const a = [];
1502
1502
  return t.forEach((u, b) => {
1503
1503
  const h = (d) => {
@@ -3425,7 +3425,7 @@ class no {
3425
3425
  return this.parentBuilder;
3426
3426
  }
3427
3427
  }
3428
- function $i({
3428
+ function Ii({
3429
3429
  preset: t = "fadeUp",
3430
3430
  once: o = !0,
3431
3431
  rootMargin: e = "0px 0px -8% 0px",
@@ -3435,7 +3435,7 @@ function $i({
3435
3435
  children: s
3436
3436
  }) {
3437
3437
  const f = U(null);
3438
- Z(() => {
3438
+ q(() => {
3439
3439
  fo();
3440
3440
  const u = f.current;
3441
3441
  if (!u) return;
@@ -3486,13 +3486,13 @@ function fs(t) {
3486
3486
  function as() {
3487
3487
  return typeof CSS > "u" || typeof CSS.supports != "function" ? !1 : CSS.supports("animation-timeline", "view()");
3488
3488
  }
3489
- function Ni() {
3489
+ function $i() {
3490
3490
  return typeof CSS > "u" || typeof CSS.supports != "function" ? !1 : CSS.supports("animation-timeline", "scroll()");
3491
3491
  }
3492
- function Ii({ children: t }) {
3492
+ function Fi({ children: t }) {
3493
3493
  const o = U(null);
3494
- return Z(() => {
3495
- if (fo(), Ni()) return;
3494
+ return q(() => {
3495
+ if (fo(), $i()) return;
3496
3496
  const e = () => {
3497
3497
  var n, s;
3498
3498
  return ((n = o.current) == null ? void 0 : n.querySelector(".fibo-scroll-progress")) ?? ((s = o.current) == null ? void 0 : s.firstElementChild);
@@ -3511,7 +3511,7 @@ function Ii({ children: t }) {
3511
3511
  t
3512
3512
  );
3513
3513
  }
3514
- function Fi({
3514
+ function Ri({
3515
3515
  signal: t,
3516
3516
  builder: o,
3517
3517
  loading: e,
@@ -3528,7 +3528,7 @@ function Fi({
3528
3528
  ), n = r == null ? void 0 : r.error;
3529
3529
  return n && i ? i(n) : ((r == null ? void 0 : r.isLoading) || (r == null ? void 0 : r.loading)) === !0 && e ? e() : o ? o(r) : null;
3530
3530
  }
3531
- const Ri = Fe(Fi), Bi = {
3531
+ const Ni = Re(Ri), Bi = {
3532
3532
  name: "material",
3533
3533
  colors: {
3534
3534
  primary: "#6750A4",
@@ -3994,6 +3994,11 @@ class ao {
3994
3994
  c(this, "_explicitScrollMargin", !1);
3995
3995
  /** Shrink-wrap: skip the default `w-full` / `self-stretch` on Row and Column. */
3996
3996
  c(this, "_hug", !1);
3997
+ /**
3998
+ * Drop the built-in chrome (padding, border, fill, radius, shadow, fixed height, type size).
3999
+ * Layout (flex, width, gap) stays. Chain `.style()`, `.px()`, `.border()` after this to put back only what you want.
4000
+ */
4001
+ c(this, "_resetStyle", !1);
3997
4002
  // Transition properties
3998
4003
  c(this, "_transitionDuration", 200);
3999
4004
  // ms
@@ -4003,6 +4008,12 @@ class ao {
4003
4008
  c(this, "_transitionProperties", ["all"]);
4004
4009
  c(this, "_childFunction");
4005
4010
  }
4011
+ resetStyle() {
4012
+ return this._resetStyle = !0, this.addClassName("fibo-reset"), this;
4013
+ }
4014
+ isReset() {
4015
+ return this._resetStyle;
4016
+ }
4006
4017
  hug() {
4007
4018
  return this._hug = !0, this;
4008
4019
  }
@@ -4060,11 +4071,36 @@ class ao {
4060
4071
  const e = typeof o == "number" ? `${o}px` : o, i = E.register("margin-top", e), r = E.register("margin-bottom", e);
4061
4072
  return this._classNames.push(i, r), this;
4062
4073
  }
4074
+ /** Inline layout wins over a host that hardcodes flex on the element (Form, Scaffold). */
4075
+ layoutStyle(o) {
4076
+ return this._style = { ...this._style, ...o }, this;
4077
+ }
4063
4078
  flexDirection(o) {
4064
- return this._classNames.push(`flex-${o}`), this;
4079
+ return this.layoutStyle({ flexDirection: o });
4065
4080
  }
4066
4081
  alignItems(o) {
4067
- return this._classNames.push(`items-${o}`), this;
4082
+ const e = {
4083
+ start: "flex-start",
4084
+ center: "center",
4085
+ end: "flex-end",
4086
+ stretch: "stretch",
4087
+ baseline: "baseline"
4088
+ };
4089
+ return this.layoutStyle({ alignItems: e[o] });
4090
+ }
4091
+ alignSelf(o) {
4092
+ const e = {
4093
+ auto: "auto",
4094
+ start: "flex-start",
4095
+ center: "center",
4096
+ end: "flex-end",
4097
+ stretch: "stretch",
4098
+ baseline: "baseline"
4099
+ };
4100
+ return this.layoutStyle({ alignSelf: e[o] });
4101
+ }
4102
+ flexWrap(o) {
4103
+ return this.layoutStyle({ flexWrap: o });
4068
4104
  }
4069
4105
  /**
4070
4106
  * Main-axis distribution. Accepts Tailwind shortcuts (`between`) and CSS/Flutter
@@ -4072,73 +4108,78 @@ class ao {
4072
4108
  */
4073
4109
  justifyContent(o) {
4074
4110
  const e = {
4075
- start: "justify-start",
4076
- center: "justify-center",
4077
- end: "justify-end",
4078
- between: "justify-between",
4079
- around: "justify-around",
4080
- evenly: "justify-evenly",
4081
- "space-between": "justify-between",
4082
- "space-around": "justify-around",
4083
- "space-evenly": "justify-evenly",
4084
- spaceBetween: "justify-between",
4085
- spaceAround: "justify-around",
4086
- spaceEvenly: "justify-evenly"
4111
+ start: "flex-start",
4112
+ center: "center",
4113
+ end: "flex-end",
4114
+ between: "space-between",
4115
+ around: "space-around",
4116
+ evenly: "space-evenly",
4117
+ "space-between": "space-between",
4118
+ "space-around": "space-around",
4119
+ "space-evenly": "space-evenly",
4120
+ spaceBetween: "space-between",
4121
+ spaceAround: "space-around",
4122
+ spaceEvenly: "space-evenly"
4087
4123
  };
4088
- return this._classNames.push(e[o] ?? `justify-${o}`), this;
4124
+ return this.layoutStyle({ justifyContent: e[o] ?? o });
4089
4125
  }
4090
4126
  flex(o) {
4091
- if (this._classNames.push("flex"), o !== void 0)
4092
- if (typeof o == "number") {
4093
- const e = E.register("flex", String(o));
4094
- this._classNames.push(e);
4095
- } else typeof o == "string" && this._classNames.push(`flex-${o}`);
4096
- return this;
4127
+ const i = o === void 0 ? void 0 : typeof o == "number" ? String(o) : {
4128
+ 1: "1 1 0%",
4129
+ auto: "1 1 auto",
4130
+ initial: "0 1 auto",
4131
+ none: "none"
4132
+ }[o] ?? o;
4133
+ return this.layoutStyle({ display: "flex", ...i !== void 0 ? { flex: i } : {} });
4097
4134
  }
4098
4135
  grid() {
4099
- return this._classNames.push("grid"), this;
4136
+ return this.layoutStyle({ display: "grid" });
4100
4137
  }
4101
4138
  inlineFlex() {
4102
- return this._classNames.push("inline-flex"), this;
4139
+ return this.layoutStyle({ display: "inline-flex" });
4103
4140
  }
4104
4141
  inlineGrid() {
4105
- return this._classNames.push("inline-grid"), this;
4142
+ return this.layoutStyle({ display: "inline-grid" });
4106
4143
  }
4107
4144
  block() {
4108
- return this._classNames.push("block"), this;
4145
+ return this.layoutStyle({ display: "block" });
4109
4146
  }
4110
4147
  inlineBlock() {
4111
- return this._classNames.push("inline-block"), this;
4148
+ return this.layoutStyle({ display: "inline-block" });
4112
4149
  }
4113
4150
  hidden() {
4114
- return this._classNames.push("hidden"), this;
4151
+ return this.layoutStyle({ display: "none" });
4115
4152
  }
4116
4153
  center() {
4117
- return this._classNames.push("flex", "items-center", "justify-center"), this;
4154
+ return this.layoutStyle({
4155
+ display: "flex",
4156
+ alignItems: "center",
4157
+ justifyContent: "center"
4158
+ });
4118
4159
  }
4119
4160
  centerX() {
4120
- return this._classNames.push("flex", "justify-center"), this;
4161
+ return this.layoutStyle({ display: "flex", justifyContent: "center" });
4121
4162
  }
4122
4163
  centerY() {
4123
- return this._classNames.push("flex", "items-center"), this;
4164
+ return this.layoutStyle({ display: "flex", alignItems: "center" });
4124
4165
  }
4125
4166
  spaceBetween() {
4126
- return this._classNames.push("justify-between"), this;
4167
+ return this.layoutStyle({ justifyContent: "space-between" });
4127
4168
  }
4128
4169
  spaceAround() {
4129
- return this._classNames.push("justify-around"), this;
4170
+ return this.layoutStyle({ justifyContent: "space-around" });
4130
4171
  }
4131
4172
  spaceEvenly() {
4132
- return this._classNames.push("justify-evenly"), this;
4173
+ return this.layoutStyle({ justifyContent: "space-evenly" });
4133
4174
  }
4134
4175
  fill() {
4135
- return this._classNames.push("w-full", "h-full"), this;
4176
+ return this.layoutStyle({ width: "100%", height: "100%" });
4136
4177
  }
4137
4178
  fillWidth() {
4138
- return this._classNames.push("w-full"), this;
4179
+ return this.layoutStyle({ width: "100%" });
4139
4180
  }
4140
4181
  fillHeight() {
4141
- return this._classNames.push("h-full"), this;
4182
+ return this.layoutStyle({ height: "100%" });
4142
4183
  }
4143
4184
  square(o) {
4144
4185
  const e = typeof o == "number" ? `${o}px` : o, i = E.register("width", e), r = E.register("height", e);
@@ -4409,16 +4450,10 @@ class ao {
4409
4450
  return this;
4410
4451
  }
4411
4452
  gap(o) {
4412
- if (typeof o == "number") {
4413
- const e = E.register("gap", `${o}px`);
4414
- this._classNames.push(e);
4415
- } else if (typeof o == "string" && o.startsWith("gap-"))
4416
- this._classNames.push(o);
4417
- else {
4418
- const e = E.register("gap", o);
4419
- this._classNames.push(e);
4420
- }
4421
- return this;
4453
+ if (typeof o == "string" && o.startsWith("gap-"))
4454
+ return this._classNames.push(o), this;
4455
+ const e = typeof o == "number" ? `${o}px` : o;
4456
+ return this.layoutStyle({ gap: e });
4422
4457
  }
4423
4458
  clean() {
4424
4459
  return this._classNames.push(
@@ -4924,14 +4959,14 @@ const ji = /* @__PURE__ */ new Set([
4924
4959
  "_debugTask",
4925
4960
  "_debugInfo"
4926
4961
  ]);
4927
- function Xi(t) {
4962
+ function Di(t) {
4928
4963
  var e;
4929
4964
  const o = (e = t._props) == null ? void 0 : e.key;
4930
4965
  if (!(o == null || o === ""))
4931
4966
  return o;
4932
4967
  }
4933
- function Di(t) {
4934
- const o = t._isObserver, e = t._signals, i = t._observers, r = t._state, n = t._providers, s = Xi(t), f = () => {
4968
+ function Xi(t) {
4969
+ const o = t._isObserver, e = t._signals, i = t._observers, r = t._state, n = t._providers, s = Di(t), f = () => {
4935
4970
  let d = t.build();
4936
4971
  const x = t._animatedProps, m = t._animationConfig;
4937
4972
  x && x.size > 0 && (d = l.createElement(di, {
@@ -4942,10 +4977,10 @@ function Di(t) {
4942
4977
  }));
4943
4978
  const p = t._reveal;
4944
4979
  if (p) {
4945
- const N = t._style || {}, M = {};
4946
- for (const I of ["--fibo-dur", "--fibo-ease", "--fibo-delay", "--fibo-stagger", "--fibo-from"])
4947
- N[I] != null && (M[I] = N[I]);
4948
- d = l.createElement($i, {
4980
+ const F = t._style || {}, M = {};
4981
+ for (const R of ["--fibo-dur", "--fibo-ease", "--fibo-delay", "--fibo-stagger", "--fibo-from"])
4982
+ F[R] != null && (M[R] = F[R]);
4983
+ d = l.createElement(Ii, {
4949
4984
  key: s,
4950
4985
  preset: p.preset,
4951
4986
  once: p.once,
@@ -4956,7 +4991,7 @@ function Di(t) {
4956
4991
  children: d
4957
4992
  });
4958
4993
  }
4959
- t._scrollProgress && (d = l.createElement(Ii, { key: s, children: d })), t._usesCssMotion && (d = l.createElement(
4994
+ t._scrollProgress && (d = l.createElement(Fi, { key: s, children: d })), t._usesCssMotion && (d = l.createElement(
4960
4995
  l.Fragment,
4961
4996
  { key: s },
4962
4997
  l.createElement(ei),
@@ -4969,7 +5004,7 @@ function Di(t) {
4969
5004
  children: f
4970
5005
  }) : null, b = () => u ?? f();
4971
5006
  let h = b();
4972
- return a && e && e.size > 0 ? h = l.createElement(Xt, {
5007
+ return a && e && e.size > 0 ? h = l.createElement(Dt, {
4973
5008
  key: s,
4974
5009
  signals: e,
4975
5010
  children: b
@@ -4981,7 +5016,7 @@ function Di(t) {
4981
5016
  key: s,
4982
5017
  stateMap: r,
4983
5018
  children: h
4984
- })), a && n && n.size > 0 && (h = l.createElement(Dt, {
5019
+ })), a && n && n.size > 0 && (h = l.createElement(Xt, {
4985
5020
  key: s,
4986
5021
  providers: n,
4987
5022
  children: h
@@ -5006,7 +5041,7 @@ function st(t, o, e) {
5006
5041
  }
5007
5042
  function co(t) {
5008
5043
  return (...o) => {
5009
- const e = new t(...o), i = t.name.replace(/Builder$/, "") || "Fibo", r = () => Di(e);
5044
+ const e = new t(...o), i = t.name.replace(/Builder$/, "") || "Fibo", r = () => Xi(e);
5010
5045
  return st(e, r, i), new Proxy(e, {
5011
5046
  get(n, s, f) {
5012
5047
  var a, u;
@@ -5065,7 +5100,7 @@ class Yi {
5065
5100
  return this._builder = o, this;
5066
5101
  }
5067
5102
  build() {
5068
- return l.createElement(Ri, {
5103
+ return l.createElement(Ni, {
5069
5104
  signal: this._signal,
5070
5105
  builder: this._builder,
5071
5106
  loading: this._loading,
@@ -5099,8 +5134,8 @@ function Zi(t) {
5099
5134
  return Oo(t) ? !!t.value : !!t;
5100
5135
  }
5101
5136
  function Ji(t) {
5102
- const [o, e] = G(() => Zi(t));
5103
- return Z(() => {
5137
+ const [o, e] = Y(() => Zi(t));
5138
+ return q(() => {
5104
5139
  if (!Oo(t)) {
5105
5140
  e(!!t);
5106
5141
  return;
@@ -5116,8 +5151,8 @@ function ft({
5116
5151
  reducedMotion: r = "reduce",
5117
5152
  children: n
5118
5153
  }) {
5119
- const s = Ji(t), [f, a] = G(s), [u, b] = G(s ? "enter" : "idle"), h = r !== "never" && qi();
5120
- if (Z(() => {
5154
+ const s = Ji(t), [f, a] = Y(s), [u, b] = Y(s ? "enter" : "idle"), h = r !== "never" && qi();
5155
+ if (q(() => {
5121
5156
  if (fo(), s) {
5122
5157
  a(!0), b(h ? "idle" : "enter");
5123
5158
  return;
@@ -5200,7 +5235,7 @@ function hs({
5200
5235
  className: e,
5201
5236
  style: i
5202
5237
  }) {
5203
- const r = rr(t), [n, s] = G(r), [f, a] = G(null);
5238
+ const r = rr(t), [n, s] = Y(r), [f, a] = Y(null);
5204
5239
  r !== n && (s(r), a(null));
5205
5240
  const u = et(f ?? t), b = ro((m) => {
5206
5241
  a(m);
@@ -5218,10 +5253,10 @@ function hs({
5218
5253
  fontFamily: u.fontFamily,
5219
5254
  ...i
5220
5255
  };
5221
- return /* @__PURE__ */ W(at.Provider, { value: h, children: /* @__PURE__ */ W("div", { className: d, "data-fibo-theme": u.name, style: x, children: o }) });
5256
+ return /* @__PURE__ */ H(at.Provider, { value: h, children: /* @__PURE__ */ H("div", { className: d, "data-fibo-theme": u.name, style: x, children: o }) });
5222
5257
  }
5223
5258
  function ds() {
5224
- const t = Fo(at);
5259
+ const t = Ro(at);
5225
5260
  if (!t)
5226
5261
  throw new Error("useFiboTheme must be used within a FiboThemeProvider");
5227
5262
  return t;
@@ -5375,7 +5410,7 @@ class fr extends ao {
5375
5410
  };
5376
5411
  if (typeof this._text == "function") {
5377
5412
  const r = this._text;
5378
- return l.createElement(De, {
5413
+ return l.createElement(Xe, {
5379
5414
  compute: r,
5380
5415
  as: e[this._type],
5381
5416
  className: `fibo-text fibo-text-${this._type} min-w-0 ${this.getClassName()}`,
@@ -5395,13 +5430,13 @@ class fr extends ao {
5395
5430
  }
5396
5431
  const ar = co(fr), fe = yo(null);
5397
5432
  function Go() {
5398
- const t = Fo(fe);
5433
+ const t = Ro(fe);
5399
5434
  if (!t)
5400
5435
  throw new Error("useRouter must be used within a Router");
5401
5436
  return t;
5402
5437
  }
5403
5438
  function ps() {
5404
- return Fo(fe);
5439
+ return Ro(fe);
5405
5440
  }
5406
5441
  function xs() {
5407
5442
  const { navigate: t } = Go();
@@ -5425,7 +5460,7 @@ function vs() {
5425
5460
  };
5426
5461
  }
5427
5462
  const cr = l.memo((t) => {
5428
- const { sidebar: o, header: e, children: i, className: r, style: n, ...s } = t, [f, a] = G(!1);
5463
+ const { sidebar: o, header: e, children: i, className: r, style: n, ...s } = t, [f, a] = Y(!1);
5429
5464
  return l.createElement(
5430
5465
  "div",
5431
5466
  {
@@ -5510,7 +5545,7 @@ const ws = co(lr), ur = l.memo((t) => {
5510
5545
  containerHeight: s = 500,
5511
5546
  className: f,
5512
5547
  style: a
5513
- } = t, [u, b] = G(0), h = U(null), d = U(/* @__PURE__ */ new Map()), x = U(/* @__PURE__ */ new Map()), m = o.length, p = e !== void 0, T = (S) => p ? e : x.current.get(S) ?? i, N = (S) => {
5548
+ } = t, [u, b] = Y(0), h = U(null), d = U(/* @__PURE__ */ new Map()), x = U(/* @__PURE__ */ new Map()), m = o.length, p = e !== void 0, T = (S) => p ? e : x.current.get(S) ?? i, F = (S) => {
5514
5549
  if (p)
5515
5550
  return S * e;
5516
5551
  let C = 0;
@@ -5524,39 +5559,39 @@ const ws = co(lr), ur = l.memo((t) => {
5524
5559
  for (let C = 0; C < m; C++)
5525
5560
  S += T(C);
5526
5561
  return S;
5527
- }, R = Math.max(0, ((S) => {
5562
+ }, B = Math.max(0, ((S) => {
5528
5563
  if (p)
5529
5564
  return Math.floor(S / e);
5530
5565
  let C = 0, V = m - 1;
5531
5566
  for (; C < V; ) {
5532
5567
  const y = Math.floor((C + V) / 2);
5533
- N(y) < S ? C = y + 1 : V = y;
5568
+ F(y) < S ? C = y + 1 : V = y;
5534
5569
  }
5535
5570
  return Math.max(0, C - 1);
5536
5571
  })(u) - n);
5537
- let X;
5572
+ let D;
5538
5573
  if (p) {
5539
5574
  const S = Math.ceil(s / e);
5540
- X = Math.min(m, R + S + n * 2);
5575
+ D = Math.min(m, B + S + n * 2);
5541
5576
  } else {
5542
- let S = N(R), C = R;
5577
+ let S = F(B), C = B;
5543
5578
  for (; S < u + s + n * i && C < m; )
5544
5579
  S += T(C), C++;
5545
- X = Math.min(m, C);
5580
+ D = Math.min(m, C);
5546
5581
  }
5547
- const $ = o.slice(R, X), A = N(R), v = M(), [z, P] = G(0);
5582
+ const I = o.slice(B, D), $ = F(B), g = M(), [z, O] = Y(0);
5548
5583
  oe(() => {
5549
5584
  if (!r || p) return;
5550
5585
  let S = !1;
5551
- $.forEach((C, V) => {
5552
- const y = R + V, F = d.current.get(y);
5553
- if (F) {
5554
- const g = F.getBoundingClientRect().height;
5555
- g > 0 && x.current.get(y) !== g && (x.current.set(y, g), S = !0);
5586
+ I.forEach((C, V) => {
5587
+ const y = B + V, N = d.current.get(y);
5588
+ if (N) {
5589
+ const w = N.getBoundingClientRect().height;
5590
+ w > 0 && x.current.get(y) !== w && (x.current.set(y, w), S = !0);
5556
5591
  }
5557
- }), S && P((C) => C + 1);
5558
- }, [$, R, r, p, z]);
5559
- const D = (S) => {
5592
+ }), S && O((C) => C + 1);
5593
+ }, [I, B, r, p, z]);
5594
+ const W = (S) => {
5560
5595
  b(S.currentTarget.scrollTop);
5561
5596
  };
5562
5597
  return l.createElement(
@@ -5570,11 +5605,11 @@ const ws = co(lr), ur = l.memo((t) => {
5570
5605
  position: "relative",
5571
5606
  ...a
5572
5607
  },
5573
- onScroll: D
5608
+ onScroll: W
5574
5609
  },
5575
5610
  l.createElement("div", {
5576
5611
  style: {
5577
- height: `${v}px`,
5612
+ height: `${g}px`,
5578
5613
  width: "1px",
5579
5614
  position: "absolute",
5580
5615
  top: 0,
@@ -5587,12 +5622,12 @@ const ws = co(lr), ur = l.memo((t) => {
5587
5622
  "div",
5588
5623
  {
5589
5624
  style: {
5590
- transform: `translateY(${A}px)`,
5625
+ transform: `translateY(${$}px)`,
5591
5626
  width: "100%"
5592
5627
  }
5593
5628
  },
5594
- $.map((S, C) => {
5595
- const V = R + C;
5629
+ I.map((S, C) => {
5630
+ const V = B + C;
5596
5631
  return l.createElement(
5597
5632
  "div",
5598
5633
  {
@@ -5673,7 +5708,7 @@ class dr extends ao {
5673
5708
  return l.createElement(hr, n);
5674
5709
  }
5675
5710
  }
5676
- const $o = co(dr), pr = (t, o) => {
5711
+ const Io = co(dr), pr = (t, o) => {
5677
5712
  const e = new Array(t.length + o.length);
5678
5713
  for (let i = 0; i < t.length; i++)
5679
5714
  e[i] = t[i];
@@ -5687,7 +5722,7 @@ const $o = co(dr), pr = (t, o) => {
5687
5722
  nextPart: t,
5688
5723
  validators: o,
5689
5724
  classGroupId: e
5690
- }), Xo = "-", ke = [], mr = "arbitrary..", gr = (t) => {
5725
+ }), Do = "-", ke = [], mr = "arbitrary..", gr = (t) => {
5691
5726
  const o = wr(t), {
5692
5727
  conflictingClassGroups: e,
5693
5728
  conflictingClassGroupModifiers: i
@@ -5696,7 +5731,7 @@ const $o = co(dr), pr = (t, o) => {
5696
5731
  getClassGroupId: (s) => {
5697
5732
  if (s.startsWith("[") && s.endsWith("]"))
5698
5733
  return vr(s);
5699
- const f = s.split(Xo), a = f[0] === "" && f.length > 1 ? 1 : 0;
5734
+ const f = s.split(Do), a = f[0] === "" && f.length > 1 ? 1 : 0;
5700
5735
  return ut(f, a, o);
5701
5736
  },
5702
5737
  getConflictingClassGroupIds: (s, f) => {
@@ -5718,7 +5753,7 @@ const $o = co(dr), pr = (t, o) => {
5718
5753
  const s = e.validators;
5719
5754
  if (s === null)
5720
5755
  return;
5721
- const f = o === 0 ? t.join(Xo) : t.slice(o).join(Xo), a = s.length;
5756
+ const f = o === 0 ? t.join(Do) : t.slice(o).join(Do), a = s.length;
5722
5757
  for (let u = 0; u < a; u++) {
5723
5758
  const b = s[u];
5724
5759
  if (b.validator(f))
@@ -5773,7 +5808,7 @@ const $o = co(dr), pr = (t, o) => {
5773
5808
  }
5774
5809
  }, bt = (t, o) => {
5775
5810
  let e = t;
5776
- const i = o.split(Xo), r = i.length;
5811
+ const i = o.split(Do), r = i.length;
5777
5812
  for (let n = 0; n < r; n++) {
5778
5813
  const s = i[n];
5779
5814
  let f = e.nextPart.get(s);
@@ -5810,7 +5845,7 @@ const $o = co(dr), pr = (t, o) => {
5810
5845
  baseClassName: e,
5811
5846
  maybePostfixModifierPosition: i,
5812
5847
  isExternal: r
5813
- }), $r = (t) => {
5848
+ }), Ir = (t) => {
5814
5849
  const {
5815
5850
  prefix: o,
5816
5851
  experimentalParseClassName: e
@@ -5857,7 +5892,7 @@ const $o = co(dr), pr = (t, o) => {
5857
5892
  });
5858
5893
  }
5859
5894
  return i;
5860
- }, Nr = (t) => {
5895
+ }, $r = (t) => {
5861
5896
  const o = /* @__PURE__ */ new Map();
5862
5897
  return t.orderSensitiveModifiers.forEach((e, i) => {
5863
5898
  o.set(e, 1e6 + i);
@@ -5870,18 +5905,18 @@ const $o = co(dr), pr = (t, o) => {
5870
5905
  }
5871
5906
  return r.length > 0 && (r.sort(), i.push(...r)), i;
5872
5907
  };
5873
- }, Ir = (t) => ({
5908
+ }, Fr = (t) => ({
5874
5909
  cache: Er(t.cacheSize),
5875
- parseClassName: $r(t),
5876
- sortModifiers: Nr(t),
5910
+ parseClassName: Ir(t),
5911
+ sortModifiers: $r(t),
5877
5912
  ...gr(t)
5878
- }), Fr = /\s+/, Rr = (t, o) => {
5913
+ }), Rr = /\s+/, Nr = (t, o) => {
5879
5914
  const {
5880
5915
  parseClassName: e,
5881
5916
  getClassGroupId: i,
5882
5917
  getConflictingClassGroupIds: r,
5883
5918
  sortModifiers: n
5884
- } = o, s = [], f = t.trim().split(Fr);
5919
+ } = o, s = [], f = t.trim().split(Rr);
5885
5920
  let a = "";
5886
5921
  for (let u = f.length - 1; u >= 0; u -= 1) {
5887
5922
  const b = f[u], {
@@ -5895,26 +5930,26 @@ const $o = co(dr), pr = (t, o) => {
5895
5930
  a = b + (a.length > 0 ? " " + a : a);
5896
5931
  continue;
5897
5932
  }
5898
- let T = !!p, N = i(T ? m.substring(0, p) : m);
5899
- if (!N) {
5933
+ let T = !!p, F = i(T ? m.substring(0, p) : m);
5934
+ if (!F) {
5900
5935
  if (!T) {
5901
5936
  a = b + (a.length > 0 ? " " + a : a);
5902
5937
  continue;
5903
5938
  }
5904
- if (N = i(m), !N) {
5939
+ if (F = i(m), !F) {
5905
5940
  a = b + (a.length > 0 ? " " + a : a);
5906
5941
  continue;
5907
5942
  }
5908
5943
  T = !1;
5909
5944
  }
5910
- const M = d.length === 0 ? "" : d.length === 1 ? d[0] : n(d).join(":"), I = x ? M + te : M, R = I + N;
5911
- if (s.indexOf(R) > -1)
5945
+ const M = d.length === 0 ? "" : d.length === 1 ? d[0] : n(d).join(":"), R = x ? M + te : M, B = R + F;
5946
+ if (s.indexOf(B) > -1)
5912
5947
  continue;
5913
- s.push(R);
5914
- const X = r(N, T);
5915
- for (let $ = 0; $ < X.length; ++$) {
5916
- const A = X[$];
5917
- s.push(I + A);
5948
+ s.push(B);
5949
+ const D = r(F, T);
5950
+ for (let I = 0; I < D.length; ++I) {
5951
+ const $ = D[I];
5952
+ s.push(R + $);
5918
5953
  }
5919
5954
  a = b + (a.length > 0 ? " " + a : a);
5920
5955
  }
@@ -5935,31 +5970,31 @@ const $o = co(dr), pr = (t, o) => {
5935
5970
  let e, i, r, n;
5936
5971
  const s = (a) => {
5937
5972
  const u = o.reduce((b, h) => h(b), t());
5938
- return e = Ir(u), i = e.cache.get, r = e.cache.set, n = f, f(a);
5973
+ return e = Fr(u), i = e.cache.get, r = e.cache.set, n = f, f(a);
5939
5974
  }, f = (a) => {
5940
5975
  const u = i(a);
5941
5976
  if (u)
5942
5977
  return u;
5943
- const b = Rr(a, e);
5978
+ const b = Nr(a, e);
5944
5979
  return r(a, b), b;
5945
5980
  };
5946
5981
  return n = s, (...a) => n(Br(...a));
5947
5982
  }, Lr = [], oo = (t) => {
5948
5983
  const o = (e) => e[t] || Lr;
5949
5984
  return o.isThemeGetter = !0, o;
5950
- }, dt = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, pt = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Pr = /^\d+\/\d+$/, Mr = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Or = /\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$/, Wr = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Hr = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Vr = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Eo = (t) => Pr.test(t), B = (t) => !!t && !Number.isNaN(Number(t)), xo = (t) => !!t && Number.isInteger(Number(t)), qo = (t) => t.endsWith("%") && B(t.slice(0, -1)), ho = (t) => Mr.test(t), jr = () => !0, Xr = (t) => (
5985
+ }, dt = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, pt = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Pr = /^\d+\/\d+$/, Mr = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Or = /\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$/, Wr = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Hr = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Vr = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Eo = (t) => Pr.test(t), L = (t) => !!t && !Number.isNaN(Number(t)), xo = (t) => !!t && Number.isInteger(Number(t)), qo = (t) => t.endsWith("%") && L(t.slice(0, -1)), ho = (t) => Mr.test(t), jr = () => !0, Dr = (t) => (
5951
5986
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
5952
5987
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
5953
5988
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
5954
5989
  Or.test(t) && !Wr.test(t)
5955
- ), xt = () => !1, Dr = (t) => Hr.test(t), Yr = (t) => Vr.test(t), Gr = (t) => !k(t) && !_(t), Ur = (t) => Ro(t, vt, xt), k = (t) => dt.test(t), vo = (t) => Ro(t, wt, Xr), Zo = (t) => Ro(t, Qr, B), Ce = (t) => Ro(t, mt, xt), Kr = (t) => Ro(t, gt, Yr), Wo = (t) => Ro(t, yt, Dr), _ = (t) => pt.test(t), Lo = (t) => Bo(t, wt), qr = (t) => Bo(t, on), ze = (t) => Bo(t, mt), Zr = (t) => Bo(t, vt), Jr = (t) => Bo(t, gt), Ho = (t) => Bo(t, yt, !0), Ro = (t, o, e) => {
5990
+ ), xt = () => !1, Xr = (t) => Hr.test(t), Yr = (t) => Vr.test(t), Gr = (t) => !k(t) && !_(t), Ur = (t) => No(t, vt, xt), k = (t) => dt.test(t), vo = (t) => No(t, wt, Dr), Zo = (t) => No(t, Qr, L), Ce = (t) => No(t, mt, xt), Kr = (t) => No(t, gt, Yr), Wo = (t) => No(t, yt, Xr), _ = (t) => pt.test(t), Lo = (t) => Bo(t, wt), qr = (t) => Bo(t, on), ze = (t) => Bo(t, mt), Zr = (t) => Bo(t, vt), Jr = (t) => Bo(t, gt), Ho = (t) => Bo(t, yt, !0), No = (t, o, e) => {
5956
5991
  const i = dt.exec(t);
5957
5992
  return i ? i[1] ? o(i[1]) : e(i[2]) : !1;
5958
5993
  }, Bo = (t, o, e = !1) => {
5959
5994
  const i = pt.exec(t);
5960
5995
  return i ? i[1] ? o(i[1]) : e : !1;
5961
5996
  }, mt = (t) => t === "position" || t === "percentage", gt = (t) => t === "image" || t === "url", vt = (t) => t === "length" || t === "size" || t === "bg-size", wt = (t) => t === "length", Qr = (t) => t === "number", on = (t) => t === "family-name", yt = (t) => t === "shadow", en = () => {
5962
- const t = oo("color"), o = oo("font"), e = oo("text"), i = oo("font-weight"), r = oo("tracking"), n = oo("leading"), s = oo("breakpoint"), f = oo("container"), a = oo("spacing"), u = oo("radius"), b = oo("shadow"), h = oo("inset-shadow"), d = oo("text-shadow"), x = oo("drop-shadow"), m = oo("blur"), p = oo("perspective"), T = oo("aspect"), N = oo("ease"), M = oo("animate"), I = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], R = () => [
5997
+ const t = oo("color"), o = oo("font"), e = oo("text"), i = oo("font-weight"), r = oo("tracking"), n = oo("leading"), s = oo("breakpoint"), f = oo("container"), a = oo("spacing"), u = oo("radius"), b = oo("shadow"), h = oo("inset-shadow"), d = oo("text-shadow"), x = oo("drop-shadow"), m = oo("blur"), p = oo("perspective"), T = oo("aspect"), F = oo("ease"), M = oo("animate"), R = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], B = () => [
5963
5998
  "center",
5964
5999
  "top",
5965
6000
  "bottom",
@@ -5977,15 +6012,15 @@ const $o = co(dr), pr = (t, o) => {
5977
6012
  "bottom-left",
5978
6013
  // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
5979
6014
  "left-bottom"
5980
- ], X = () => [...R(), _, k], $ = () => ["auto", "hidden", "clip", "visible", "scroll"], A = () => ["auto", "contain", "none"], v = () => [_, k, a], z = () => [Eo, "full", "auto", ...v()], P = () => [xo, "none", "subgrid", _, k], D = () => ["auto", {
6015
+ ], D = () => [...B(), _, k], I = () => ["auto", "hidden", "clip", "visible", "scroll"], $ = () => ["auto", "contain", "none"], g = () => [_, k, a], z = () => [Eo, "full", "auto", ...g()], O = () => [xo, "none", "subgrid", _, k], W = () => ["auto", {
5981
6016
  span: ["full", xo, _, k]
5982
- }, xo, _, k], S = () => [xo, "auto", _, k], C = () => ["auto", "min", "max", "fr", _, k], V = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], y = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], F = () => ["auto", ...v()], H = () => [Eo, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...v()], g = () => [t, _, k], K = () => [...R(), ze, Ce, {
6017
+ }, xo, _, k], S = () => [xo, "auto", _, k], C = () => ["auto", "min", "max", "fr", _, k], V = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], y = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], N = () => ["auto", ...g()], G = () => [Eo, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...g()], w = () => [t, _, k], Z = () => [...B(), ze, Ce, {
5983
6018
  position: [_, k]
5984
- }], w = () => ["no-repeat", {
6019
+ }], v = () => ["no-repeat", {
5985
6020
  repeat: ["", "x", "y", "space", "round"]
5986
- }], O = () => ["auto", "cover", "contain", Zr, Ur, {
6021
+ }], A = () => ["auto", "cover", "contain", Zr, Ur, {
5987
6022
  size: [_, k]
5988
- }], q = () => [qo, Lo, vo], Y = () => [
6023
+ }], K = () => [qo, Lo, vo], X = () => [
5989
6024
  // Deprecated since Tailwind CSS v4.0.0
5990
6025
  "",
5991
6026
  "none",
@@ -5993,14 +6028,14 @@ const $o = co(dr), pr = (t, o) => {
5993
6028
  u,
5994
6029
  _,
5995
6030
  k
5996
- ], to = () => ["", B, Lo, vo], ko = () => ["solid", "dashed", "dotted", "double"], Ao = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], J = () => [B, qo, ze, Ce], _o = () => [
6031
+ ], to = () => ["", L, Lo, vo], ko = () => ["solid", "dashed", "dotted", "double"], Ao = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], J = () => [L, qo, ze, Ce], _o = () => [
5997
6032
  // Deprecated since Tailwind CSS v4.0.0
5998
6033
  "",
5999
6034
  "none",
6000
6035
  m,
6001
6036
  _,
6002
6037
  k
6003
- ], go = () => ["none", B, _, k], io = () => ["none", B, _, k], So = () => [B, _, k], L = () => [Eo, "full", ...v()];
6038
+ ], go = () => ["none", L, _, k], io = () => ["none", L, _, k], So = () => [L, _, k], P = () => [Eo, "full", ...g()];
6004
6039
  return {
6005
6040
  cacheSize: 500,
6006
6041
  theme: {
@@ -6019,7 +6054,7 @@ const $o = co(dr), pr = (t, o) => {
6019
6054
  perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
6020
6055
  radius: [ho],
6021
6056
  shadow: [ho],
6022
- spacing: ["px", B],
6057
+ spacing: ["px", L],
6023
6058
  text: [ho],
6024
6059
  "text-shadow": [ho],
6025
6060
  tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
@@ -6046,21 +6081,21 @@ const $o = co(dr), pr = (t, o) => {
6046
6081
  * @see https://tailwindcss.com/docs/columns
6047
6082
  */
6048
6083
  columns: [{
6049
- columns: [B, k, _, f]
6084
+ columns: [L, k, _, f]
6050
6085
  }],
6051
6086
  /**
6052
6087
  * Break After
6053
6088
  * @see https://tailwindcss.com/docs/break-after
6054
6089
  */
6055
6090
  "break-after": [{
6056
- "break-after": I()
6091
+ "break-after": R()
6057
6092
  }],
6058
6093
  /**
6059
6094
  * Break Before
6060
6095
  * @see https://tailwindcss.com/docs/break-before
6061
6096
  */
6062
6097
  "break-before": [{
6063
- "break-before": I()
6098
+ "break-before": R()
6064
6099
  }],
6065
6100
  /**
6066
6101
  * Break Inside
@@ -6124,49 +6159,49 @@ const $o = co(dr), pr = (t, o) => {
6124
6159
  * @see https://tailwindcss.com/docs/object-position
6125
6160
  */
6126
6161
  "object-position": [{
6127
- object: X()
6162
+ object: D()
6128
6163
  }],
6129
6164
  /**
6130
6165
  * Overflow
6131
6166
  * @see https://tailwindcss.com/docs/overflow
6132
6167
  */
6133
6168
  overflow: [{
6134
- overflow: $()
6169
+ overflow: I()
6135
6170
  }],
6136
6171
  /**
6137
6172
  * Overflow X
6138
6173
  * @see https://tailwindcss.com/docs/overflow
6139
6174
  */
6140
6175
  "overflow-x": [{
6141
- "overflow-x": $()
6176
+ "overflow-x": I()
6142
6177
  }],
6143
6178
  /**
6144
6179
  * Overflow Y
6145
6180
  * @see https://tailwindcss.com/docs/overflow
6146
6181
  */
6147
6182
  "overflow-y": [{
6148
- "overflow-y": $()
6183
+ "overflow-y": I()
6149
6184
  }],
6150
6185
  /**
6151
6186
  * Overscroll Behavior
6152
6187
  * @see https://tailwindcss.com/docs/overscroll-behavior
6153
6188
  */
6154
6189
  overscroll: [{
6155
- overscroll: A()
6190
+ overscroll: $()
6156
6191
  }],
6157
6192
  /**
6158
6193
  * Overscroll Behavior X
6159
6194
  * @see https://tailwindcss.com/docs/overscroll-behavior
6160
6195
  */
6161
6196
  "overscroll-x": [{
6162
- "overscroll-x": A()
6197
+ "overscroll-x": $()
6163
6198
  }],
6164
6199
  /**
6165
6200
  * Overscroll Behavior Y
6166
6201
  * @see https://tailwindcss.com/docs/overscroll-behavior
6167
6202
  */
6168
6203
  "overscroll-y": [{
6169
- "overscroll-y": A()
6204
+ "overscroll-y": $()
6170
6205
  }],
6171
6206
  /**
6172
6207
  * Position
@@ -6256,7 +6291,7 @@ const $o = co(dr), pr = (t, o) => {
6256
6291
  * @see https://tailwindcss.com/docs/flex-basis
6257
6292
  */
6258
6293
  basis: [{
6259
- basis: [Eo, "full", "auto", f, ...v()]
6294
+ basis: [Eo, "full", "auto", f, ...g()]
6260
6295
  }],
6261
6296
  /**
6262
6297
  * Flex Direction
@@ -6277,21 +6312,21 @@ const $o = co(dr), pr = (t, o) => {
6277
6312
  * @see https://tailwindcss.com/docs/flex
6278
6313
  */
6279
6314
  flex: [{
6280
- flex: [B, Eo, "auto", "initial", "none", k]
6315
+ flex: [L, Eo, "auto", "initial", "none", k]
6281
6316
  }],
6282
6317
  /**
6283
6318
  * Flex Grow
6284
6319
  * @see https://tailwindcss.com/docs/flex-grow
6285
6320
  */
6286
6321
  grow: [{
6287
- grow: ["", B, _, k]
6322
+ grow: ["", L, _, k]
6288
6323
  }],
6289
6324
  /**
6290
6325
  * Flex Shrink
6291
6326
  * @see https://tailwindcss.com/docs/flex-shrink
6292
6327
  */
6293
6328
  shrink: [{
6294
- shrink: ["", B, _, k]
6329
+ shrink: ["", L, _, k]
6295
6330
  }],
6296
6331
  /**
6297
6332
  * Order
@@ -6305,14 +6340,14 @@ const $o = co(dr), pr = (t, o) => {
6305
6340
  * @see https://tailwindcss.com/docs/grid-template-columns
6306
6341
  */
6307
6342
  "grid-cols": [{
6308
- "grid-cols": P()
6343
+ "grid-cols": O()
6309
6344
  }],
6310
6345
  /**
6311
6346
  * Grid Column Start / End
6312
6347
  * @see https://tailwindcss.com/docs/grid-column
6313
6348
  */
6314
6349
  "col-start-end": [{
6315
- col: D()
6350
+ col: W()
6316
6351
  }],
6317
6352
  /**
6318
6353
  * Grid Column Start
@@ -6333,14 +6368,14 @@ const $o = co(dr), pr = (t, o) => {
6333
6368
  * @see https://tailwindcss.com/docs/grid-template-rows
6334
6369
  */
6335
6370
  "grid-rows": [{
6336
- "grid-rows": P()
6371
+ "grid-rows": O()
6337
6372
  }],
6338
6373
  /**
6339
6374
  * Grid Row Start / End
6340
6375
  * @see https://tailwindcss.com/docs/grid-row
6341
6376
  */
6342
6377
  "row-start-end": [{
6343
- row: D()
6378
+ row: W()
6344
6379
  }],
6345
6380
  /**
6346
6381
  * Grid Row Start
@@ -6382,21 +6417,21 @@ const $o = co(dr), pr = (t, o) => {
6382
6417
  * @see https://tailwindcss.com/docs/gap
6383
6418
  */
6384
6419
  gap: [{
6385
- gap: v()
6420
+ gap: g()
6386
6421
  }],
6387
6422
  /**
6388
6423
  * Gap X
6389
6424
  * @see https://tailwindcss.com/docs/gap
6390
6425
  */
6391
6426
  "gap-x": [{
6392
- "gap-x": v()
6427
+ "gap-x": g()
6393
6428
  }],
6394
6429
  /**
6395
6430
  * Gap Y
6396
6431
  * @see https://tailwindcss.com/docs/gap
6397
6432
  */
6398
6433
  "gap-y": [{
6399
- "gap-y": v()
6434
+ "gap-y": g()
6400
6435
  }],
6401
6436
  /**
6402
6437
  * Justify Content
@@ -6471,133 +6506,133 @@ const $o = co(dr), pr = (t, o) => {
6471
6506
  * @see https://tailwindcss.com/docs/padding
6472
6507
  */
6473
6508
  p: [{
6474
- p: v()
6509
+ p: g()
6475
6510
  }],
6476
6511
  /**
6477
6512
  * Padding X
6478
6513
  * @see https://tailwindcss.com/docs/padding
6479
6514
  */
6480
6515
  px: [{
6481
- px: v()
6516
+ px: g()
6482
6517
  }],
6483
6518
  /**
6484
6519
  * Padding Y
6485
6520
  * @see https://tailwindcss.com/docs/padding
6486
6521
  */
6487
6522
  py: [{
6488
- py: v()
6523
+ py: g()
6489
6524
  }],
6490
6525
  /**
6491
6526
  * Padding Start
6492
6527
  * @see https://tailwindcss.com/docs/padding
6493
6528
  */
6494
6529
  ps: [{
6495
- ps: v()
6530
+ ps: g()
6496
6531
  }],
6497
6532
  /**
6498
6533
  * Padding End
6499
6534
  * @see https://tailwindcss.com/docs/padding
6500
6535
  */
6501
6536
  pe: [{
6502
- pe: v()
6537
+ pe: g()
6503
6538
  }],
6504
6539
  /**
6505
6540
  * Padding Top
6506
6541
  * @see https://tailwindcss.com/docs/padding
6507
6542
  */
6508
6543
  pt: [{
6509
- pt: v()
6544
+ pt: g()
6510
6545
  }],
6511
6546
  /**
6512
6547
  * Padding Right
6513
6548
  * @see https://tailwindcss.com/docs/padding
6514
6549
  */
6515
6550
  pr: [{
6516
- pr: v()
6551
+ pr: g()
6517
6552
  }],
6518
6553
  /**
6519
6554
  * Padding Bottom
6520
6555
  * @see https://tailwindcss.com/docs/padding
6521
6556
  */
6522
6557
  pb: [{
6523
- pb: v()
6558
+ pb: g()
6524
6559
  }],
6525
6560
  /**
6526
6561
  * Padding Left
6527
6562
  * @see https://tailwindcss.com/docs/padding
6528
6563
  */
6529
6564
  pl: [{
6530
- pl: v()
6565
+ pl: g()
6531
6566
  }],
6532
6567
  /**
6533
6568
  * Margin
6534
6569
  * @see https://tailwindcss.com/docs/margin
6535
6570
  */
6536
6571
  m: [{
6537
- m: F()
6572
+ m: N()
6538
6573
  }],
6539
6574
  /**
6540
6575
  * Margin X
6541
6576
  * @see https://tailwindcss.com/docs/margin
6542
6577
  */
6543
6578
  mx: [{
6544
- mx: F()
6579
+ mx: N()
6545
6580
  }],
6546
6581
  /**
6547
6582
  * Margin Y
6548
6583
  * @see https://tailwindcss.com/docs/margin
6549
6584
  */
6550
6585
  my: [{
6551
- my: F()
6586
+ my: N()
6552
6587
  }],
6553
6588
  /**
6554
6589
  * Margin Start
6555
6590
  * @see https://tailwindcss.com/docs/margin
6556
6591
  */
6557
6592
  ms: [{
6558
- ms: F()
6593
+ ms: N()
6559
6594
  }],
6560
6595
  /**
6561
6596
  * Margin End
6562
6597
  * @see https://tailwindcss.com/docs/margin
6563
6598
  */
6564
6599
  me: [{
6565
- me: F()
6600
+ me: N()
6566
6601
  }],
6567
6602
  /**
6568
6603
  * Margin Top
6569
6604
  * @see https://tailwindcss.com/docs/margin
6570
6605
  */
6571
6606
  mt: [{
6572
- mt: F()
6607
+ mt: N()
6573
6608
  }],
6574
6609
  /**
6575
6610
  * Margin Right
6576
6611
  * @see https://tailwindcss.com/docs/margin
6577
6612
  */
6578
6613
  mr: [{
6579
- mr: F()
6614
+ mr: N()
6580
6615
  }],
6581
6616
  /**
6582
6617
  * Margin Bottom
6583
6618
  * @see https://tailwindcss.com/docs/margin
6584
6619
  */
6585
6620
  mb: [{
6586
- mb: F()
6621
+ mb: N()
6587
6622
  }],
6588
6623
  /**
6589
6624
  * Margin Left
6590
6625
  * @see https://tailwindcss.com/docs/margin
6591
6626
  */
6592
6627
  ml: [{
6593
- ml: F()
6628
+ ml: N()
6594
6629
  }],
6595
6630
  /**
6596
6631
  * Space Between X
6597
6632
  * @see https://tailwindcss.com/docs/margin#adding-space-between-children
6598
6633
  */
6599
6634
  "space-x": [{
6600
- "space-x": v()
6635
+ "space-x": g()
6601
6636
  }],
6602
6637
  /**
6603
6638
  * Space Between X Reverse
@@ -6609,7 +6644,7 @@ const $o = co(dr), pr = (t, o) => {
6609
6644
  * @see https://tailwindcss.com/docs/margin#adding-space-between-children
6610
6645
  */
6611
6646
  "space-y": [{
6612
- "space-y": v()
6647
+ "space-y": g()
6613
6648
  }],
6614
6649
  /**
6615
6650
  * Space Between Y Reverse
@@ -6624,14 +6659,14 @@ const $o = co(dr), pr = (t, o) => {
6624
6659
  * @see https://tailwindcss.com/docs/width#setting-both-width-and-height
6625
6660
  */
6626
6661
  size: [{
6627
- size: H()
6662
+ size: G()
6628
6663
  }],
6629
6664
  /**
6630
6665
  * Width
6631
6666
  * @see https://tailwindcss.com/docs/width
6632
6667
  */
6633
6668
  w: [{
6634
- w: [f, "screen", ...H()]
6669
+ w: [f, "screen", ...G()]
6635
6670
  }],
6636
6671
  /**
6637
6672
  * Min-Width
@@ -6643,7 +6678,7 @@ const $o = co(dr), pr = (t, o) => {
6643
6678
  "screen",
6644
6679
  /** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
6645
6680
  "none",
6646
- ...H()
6681
+ ...G()
6647
6682
  ]
6648
6683
  }],
6649
6684
  /**
@@ -6661,7 +6696,7 @@ const $o = co(dr), pr = (t, o) => {
6661
6696
  {
6662
6697
  screen: [s]
6663
6698
  },
6664
- ...H()
6699
+ ...G()
6665
6700
  ]
6666
6701
  }],
6667
6702
  /**
@@ -6669,21 +6704,21 @@ const $o = co(dr), pr = (t, o) => {
6669
6704
  * @see https://tailwindcss.com/docs/height
6670
6705
  */
6671
6706
  h: [{
6672
- h: ["screen", "lh", ...H()]
6707
+ h: ["screen", "lh", ...G()]
6673
6708
  }],
6674
6709
  /**
6675
6710
  * Min-Height
6676
6711
  * @see https://tailwindcss.com/docs/min-height
6677
6712
  */
6678
6713
  "min-h": [{
6679
- "min-h": ["screen", "lh", "none", ...H()]
6714
+ "min-h": ["screen", "lh", "none", ...G()]
6680
6715
  }],
6681
6716
  /**
6682
6717
  * Max-Height
6683
6718
  * @see https://tailwindcss.com/docs/max-height
6684
6719
  */
6685
6720
  "max-h": [{
6686
- "max-h": ["screen", "lh", ...H()]
6721
+ "max-h": ["screen", "lh", ...G()]
6687
6722
  }],
6688
6723
  // ------------------
6689
6724
  // --- Typography ---
@@ -6768,7 +6803,7 @@ const $o = co(dr), pr = (t, o) => {
6768
6803
  * @see https://tailwindcss.com/docs/line-clamp
6769
6804
  */
6770
6805
  "line-clamp": [{
6771
- "line-clamp": [B, "none", _, Zo]
6806
+ "line-clamp": [L, "none", _, Zo]
6772
6807
  }],
6773
6808
  /**
6774
6809
  * Line Height
@@ -6778,7 +6813,7 @@ const $o = co(dr), pr = (t, o) => {
6778
6813
  leading: [
6779
6814
  /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
6780
6815
  n,
6781
- ...v()
6816
+ ...g()
6782
6817
  ]
6783
6818
  }],
6784
6819
  /**
@@ -6815,14 +6850,14 @@ const $o = co(dr), pr = (t, o) => {
6815
6850
  * @see https://v3.tailwindcss.com/docs/placeholder-color
6816
6851
  */
6817
6852
  "placeholder-color": [{
6818
- placeholder: g()
6853
+ placeholder: w()
6819
6854
  }],
6820
6855
  /**
6821
6856
  * Text Color
6822
6857
  * @see https://tailwindcss.com/docs/text-color
6823
6858
  */
6824
6859
  "text-color": [{
6825
- text: g()
6860
+ text: w()
6826
6861
  }],
6827
6862
  /**
6828
6863
  * Text Decoration
@@ -6841,21 +6876,21 @@ const $o = co(dr), pr = (t, o) => {
6841
6876
  * @see https://tailwindcss.com/docs/text-decoration-thickness
6842
6877
  */
6843
6878
  "text-decoration-thickness": [{
6844
- decoration: [B, "from-font", "auto", _, vo]
6879
+ decoration: [L, "from-font", "auto", _, vo]
6845
6880
  }],
6846
6881
  /**
6847
6882
  * Text Decoration Color
6848
6883
  * @see https://tailwindcss.com/docs/text-decoration-color
6849
6884
  */
6850
6885
  "text-decoration-color": [{
6851
- decoration: g()
6886
+ decoration: w()
6852
6887
  }],
6853
6888
  /**
6854
6889
  * Text Underline Offset
6855
6890
  * @see https://tailwindcss.com/docs/text-underline-offset
6856
6891
  */
6857
6892
  "underline-offset": [{
6858
- "underline-offset": [B, "auto", _, k]
6893
+ "underline-offset": [L, "auto", _, k]
6859
6894
  }],
6860
6895
  /**
6861
6896
  * Text Transform
@@ -6879,7 +6914,7 @@ const $o = co(dr), pr = (t, o) => {
6879
6914
  * @see https://tailwindcss.com/docs/text-indent
6880
6915
  */
6881
6916
  indent: [{
6882
- indent: v()
6917
+ indent: g()
6883
6918
  }],
6884
6919
  /**
6885
6920
  * Vertical Alignment
@@ -6952,21 +6987,21 @@ const $o = co(dr), pr = (t, o) => {
6952
6987
  * @see https://tailwindcss.com/docs/background-position
6953
6988
  */
6954
6989
  "bg-position": [{
6955
- bg: K()
6990
+ bg: Z()
6956
6991
  }],
6957
6992
  /**
6958
6993
  * Background Repeat
6959
6994
  * @see https://tailwindcss.com/docs/background-repeat
6960
6995
  */
6961
6996
  "bg-repeat": [{
6962
- bg: w()
6997
+ bg: v()
6963
6998
  }],
6964
6999
  /**
6965
7000
  * Background Size
6966
7001
  * @see https://tailwindcss.com/docs/background-size
6967
7002
  */
6968
7003
  "bg-size": [{
6969
- bg: O()
7004
+ bg: A()
6970
7005
  }],
6971
7006
  /**
6972
7007
  * Background Image
@@ -6986,49 +7021,49 @@ const $o = co(dr), pr = (t, o) => {
6986
7021
  * @see https://tailwindcss.com/docs/background-color
6987
7022
  */
6988
7023
  "bg-color": [{
6989
- bg: g()
7024
+ bg: w()
6990
7025
  }],
6991
7026
  /**
6992
7027
  * Gradient Color Stops From Position
6993
7028
  * @see https://tailwindcss.com/docs/gradient-color-stops
6994
7029
  */
6995
7030
  "gradient-from-pos": [{
6996
- from: q()
7031
+ from: K()
6997
7032
  }],
6998
7033
  /**
6999
7034
  * Gradient Color Stops Via Position
7000
7035
  * @see https://tailwindcss.com/docs/gradient-color-stops
7001
7036
  */
7002
7037
  "gradient-via-pos": [{
7003
- via: q()
7038
+ via: K()
7004
7039
  }],
7005
7040
  /**
7006
7041
  * Gradient Color Stops To Position
7007
7042
  * @see https://tailwindcss.com/docs/gradient-color-stops
7008
7043
  */
7009
7044
  "gradient-to-pos": [{
7010
- to: q()
7045
+ to: K()
7011
7046
  }],
7012
7047
  /**
7013
7048
  * Gradient Color Stops From
7014
7049
  * @see https://tailwindcss.com/docs/gradient-color-stops
7015
7050
  */
7016
7051
  "gradient-from": [{
7017
- from: g()
7052
+ from: w()
7018
7053
  }],
7019
7054
  /**
7020
7055
  * Gradient Color Stops Via
7021
7056
  * @see https://tailwindcss.com/docs/gradient-color-stops
7022
7057
  */
7023
7058
  "gradient-via": [{
7024
- via: g()
7059
+ via: w()
7025
7060
  }],
7026
7061
  /**
7027
7062
  * Gradient Color Stops To
7028
7063
  * @see https://tailwindcss.com/docs/gradient-color-stops
7029
7064
  */
7030
7065
  "gradient-to": [{
7031
- to: g()
7066
+ to: w()
7032
7067
  }],
7033
7068
  // ---------------
7034
7069
  // --- Borders ---
@@ -7038,105 +7073,105 @@ const $o = co(dr), pr = (t, o) => {
7038
7073
  * @see https://tailwindcss.com/docs/border-radius
7039
7074
  */
7040
7075
  rounded: [{
7041
- rounded: Y()
7076
+ rounded: X()
7042
7077
  }],
7043
7078
  /**
7044
7079
  * Border Radius Start
7045
7080
  * @see https://tailwindcss.com/docs/border-radius
7046
7081
  */
7047
7082
  "rounded-s": [{
7048
- "rounded-s": Y()
7083
+ "rounded-s": X()
7049
7084
  }],
7050
7085
  /**
7051
7086
  * Border Radius End
7052
7087
  * @see https://tailwindcss.com/docs/border-radius
7053
7088
  */
7054
7089
  "rounded-e": [{
7055
- "rounded-e": Y()
7090
+ "rounded-e": X()
7056
7091
  }],
7057
7092
  /**
7058
7093
  * Border Radius Top
7059
7094
  * @see https://tailwindcss.com/docs/border-radius
7060
7095
  */
7061
7096
  "rounded-t": [{
7062
- "rounded-t": Y()
7097
+ "rounded-t": X()
7063
7098
  }],
7064
7099
  /**
7065
7100
  * Border Radius Right
7066
7101
  * @see https://tailwindcss.com/docs/border-radius
7067
7102
  */
7068
7103
  "rounded-r": [{
7069
- "rounded-r": Y()
7104
+ "rounded-r": X()
7070
7105
  }],
7071
7106
  /**
7072
7107
  * Border Radius Bottom
7073
7108
  * @see https://tailwindcss.com/docs/border-radius
7074
7109
  */
7075
7110
  "rounded-b": [{
7076
- "rounded-b": Y()
7111
+ "rounded-b": X()
7077
7112
  }],
7078
7113
  /**
7079
7114
  * Border Radius Left
7080
7115
  * @see https://tailwindcss.com/docs/border-radius
7081
7116
  */
7082
7117
  "rounded-l": [{
7083
- "rounded-l": Y()
7118
+ "rounded-l": X()
7084
7119
  }],
7085
7120
  /**
7086
7121
  * Border Radius Start Start
7087
7122
  * @see https://tailwindcss.com/docs/border-radius
7088
7123
  */
7089
7124
  "rounded-ss": [{
7090
- "rounded-ss": Y()
7125
+ "rounded-ss": X()
7091
7126
  }],
7092
7127
  /**
7093
7128
  * Border Radius Start End
7094
7129
  * @see https://tailwindcss.com/docs/border-radius
7095
7130
  */
7096
7131
  "rounded-se": [{
7097
- "rounded-se": Y()
7132
+ "rounded-se": X()
7098
7133
  }],
7099
7134
  /**
7100
7135
  * Border Radius End End
7101
7136
  * @see https://tailwindcss.com/docs/border-radius
7102
7137
  */
7103
7138
  "rounded-ee": [{
7104
- "rounded-ee": Y()
7139
+ "rounded-ee": X()
7105
7140
  }],
7106
7141
  /**
7107
7142
  * Border Radius End Start
7108
7143
  * @see https://tailwindcss.com/docs/border-radius
7109
7144
  */
7110
7145
  "rounded-es": [{
7111
- "rounded-es": Y()
7146
+ "rounded-es": X()
7112
7147
  }],
7113
7148
  /**
7114
7149
  * Border Radius Top Left
7115
7150
  * @see https://tailwindcss.com/docs/border-radius
7116
7151
  */
7117
7152
  "rounded-tl": [{
7118
- "rounded-tl": Y()
7153
+ "rounded-tl": X()
7119
7154
  }],
7120
7155
  /**
7121
7156
  * Border Radius Top Right
7122
7157
  * @see https://tailwindcss.com/docs/border-radius
7123
7158
  */
7124
7159
  "rounded-tr": [{
7125
- "rounded-tr": Y()
7160
+ "rounded-tr": X()
7126
7161
  }],
7127
7162
  /**
7128
7163
  * Border Radius Bottom Right
7129
7164
  * @see https://tailwindcss.com/docs/border-radius
7130
7165
  */
7131
7166
  "rounded-br": [{
7132
- "rounded-br": Y()
7167
+ "rounded-br": X()
7133
7168
  }],
7134
7169
  /**
7135
7170
  * Border Radius Bottom Left
7136
7171
  * @see https://tailwindcss.com/docs/border-radius
7137
7172
  */
7138
7173
  "rounded-bl": [{
7139
- "rounded-bl": Y()
7174
+ "rounded-bl": X()
7140
7175
  }],
7141
7176
  /**
7142
7177
  * Border Width
@@ -7244,70 +7279,70 @@ const $o = co(dr), pr = (t, o) => {
7244
7279
  * @see https://tailwindcss.com/docs/border-color
7245
7280
  */
7246
7281
  "border-color": [{
7247
- border: g()
7282
+ border: w()
7248
7283
  }],
7249
7284
  /**
7250
7285
  * Border Color X
7251
7286
  * @see https://tailwindcss.com/docs/border-color
7252
7287
  */
7253
7288
  "border-color-x": [{
7254
- "border-x": g()
7289
+ "border-x": w()
7255
7290
  }],
7256
7291
  /**
7257
7292
  * Border Color Y
7258
7293
  * @see https://tailwindcss.com/docs/border-color
7259
7294
  */
7260
7295
  "border-color-y": [{
7261
- "border-y": g()
7296
+ "border-y": w()
7262
7297
  }],
7263
7298
  /**
7264
7299
  * Border Color S
7265
7300
  * @see https://tailwindcss.com/docs/border-color
7266
7301
  */
7267
7302
  "border-color-s": [{
7268
- "border-s": g()
7303
+ "border-s": w()
7269
7304
  }],
7270
7305
  /**
7271
7306
  * Border Color E
7272
7307
  * @see https://tailwindcss.com/docs/border-color
7273
7308
  */
7274
7309
  "border-color-e": [{
7275
- "border-e": g()
7310
+ "border-e": w()
7276
7311
  }],
7277
7312
  /**
7278
7313
  * Border Color Top
7279
7314
  * @see https://tailwindcss.com/docs/border-color
7280
7315
  */
7281
7316
  "border-color-t": [{
7282
- "border-t": g()
7317
+ "border-t": w()
7283
7318
  }],
7284
7319
  /**
7285
7320
  * Border Color Right
7286
7321
  * @see https://tailwindcss.com/docs/border-color
7287
7322
  */
7288
7323
  "border-color-r": [{
7289
- "border-r": g()
7324
+ "border-r": w()
7290
7325
  }],
7291
7326
  /**
7292
7327
  * Border Color Bottom
7293
7328
  * @see https://tailwindcss.com/docs/border-color
7294
7329
  */
7295
7330
  "border-color-b": [{
7296
- "border-b": g()
7331
+ "border-b": w()
7297
7332
  }],
7298
7333
  /**
7299
7334
  * Border Color Left
7300
7335
  * @see https://tailwindcss.com/docs/border-color
7301
7336
  */
7302
7337
  "border-color-l": [{
7303
- "border-l": g()
7338
+ "border-l": w()
7304
7339
  }],
7305
7340
  /**
7306
7341
  * Divide Color
7307
7342
  * @see https://tailwindcss.com/docs/divide-color
7308
7343
  */
7309
7344
  "divide-color": [{
7310
- divide: g()
7345
+ divide: w()
7311
7346
  }],
7312
7347
  /**
7313
7348
  * Outline Style
@@ -7321,21 +7356,21 @@ const $o = co(dr), pr = (t, o) => {
7321
7356
  * @see https://tailwindcss.com/docs/outline-offset
7322
7357
  */
7323
7358
  "outline-offset": [{
7324
- "outline-offset": [B, _, k]
7359
+ "outline-offset": [L, _, k]
7325
7360
  }],
7326
7361
  /**
7327
7362
  * Outline Width
7328
7363
  * @see https://tailwindcss.com/docs/outline-width
7329
7364
  */
7330
7365
  "outline-w": [{
7331
- outline: ["", B, Lo, vo]
7366
+ outline: ["", L, Lo, vo]
7332
7367
  }],
7333
7368
  /**
7334
7369
  * Outline Color
7335
7370
  * @see https://tailwindcss.com/docs/outline-color
7336
7371
  */
7337
7372
  "outline-color": [{
7338
- outline: g()
7373
+ outline: w()
7339
7374
  }],
7340
7375
  // ---------------
7341
7376
  // --- Effects ---
@@ -7359,7 +7394,7 @@ const $o = co(dr), pr = (t, o) => {
7359
7394
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
7360
7395
  */
7361
7396
  "shadow-color": [{
7362
- shadow: g()
7397
+ shadow: w()
7363
7398
  }],
7364
7399
  /**
7365
7400
  * Inset Box Shadow
@@ -7373,7 +7408,7 @@ const $o = co(dr), pr = (t, o) => {
7373
7408
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
7374
7409
  */
7375
7410
  "inset-shadow-color": [{
7376
- "inset-shadow": g()
7411
+ "inset-shadow": w()
7377
7412
  }],
7378
7413
  /**
7379
7414
  * Ring Width
@@ -7394,7 +7429,7 @@ const $o = co(dr), pr = (t, o) => {
7394
7429
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
7395
7430
  */
7396
7431
  "ring-color": [{
7397
- ring: g()
7432
+ ring: w()
7398
7433
  }],
7399
7434
  /**
7400
7435
  * Ring Offset Width
@@ -7403,7 +7438,7 @@ const $o = co(dr), pr = (t, o) => {
7403
7438
  * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
7404
7439
  */
7405
7440
  "ring-offset-w": [{
7406
- "ring-offset": [B, vo]
7441
+ "ring-offset": [L, vo]
7407
7442
  }],
7408
7443
  /**
7409
7444
  * Ring Offset Color
@@ -7412,7 +7447,7 @@ const $o = co(dr), pr = (t, o) => {
7412
7447
  * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
7413
7448
  */
7414
7449
  "ring-offset-color": [{
7415
- "ring-offset": g()
7450
+ "ring-offset": w()
7416
7451
  }],
7417
7452
  /**
7418
7453
  * Inset Ring Width
@@ -7426,7 +7461,7 @@ const $o = co(dr), pr = (t, o) => {
7426
7461
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
7427
7462
  */
7428
7463
  "inset-ring-color": [{
7429
- "inset-ring": g()
7464
+ "inset-ring": w()
7430
7465
  }],
7431
7466
  /**
7432
7467
  * Text Shadow
@@ -7440,14 +7475,14 @@ const $o = co(dr), pr = (t, o) => {
7440
7475
  * @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
7441
7476
  */
7442
7477
  "text-shadow-color": [{
7443
- "text-shadow": g()
7478
+ "text-shadow": w()
7444
7479
  }],
7445
7480
  /**
7446
7481
  * Opacity
7447
7482
  * @see https://tailwindcss.com/docs/opacity
7448
7483
  */
7449
7484
  opacity: [{
7450
- opacity: [B, _, k]
7485
+ opacity: [L, _, k]
7451
7486
  }],
7452
7487
  /**
7453
7488
  * Mix Blend Mode
@@ -7482,7 +7517,7 @@ const $o = co(dr), pr = (t, o) => {
7482
7517
  * @see https://tailwindcss.com/docs/mask-image
7483
7518
  */
7484
7519
  "mask-image-linear-pos": [{
7485
- "mask-linear": [B]
7520
+ "mask-linear": [L]
7486
7521
  }],
7487
7522
  "mask-image-linear-from-pos": [{
7488
7523
  "mask-linear-from": J()
@@ -7491,10 +7526,10 @@ const $o = co(dr), pr = (t, o) => {
7491
7526
  "mask-linear-to": J()
7492
7527
  }],
7493
7528
  "mask-image-linear-from-color": [{
7494
- "mask-linear-from": g()
7529
+ "mask-linear-from": w()
7495
7530
  }],
7496
7531
  "mask-image-linear-to-color": [{
7497
- "mask-linear-to": g()
7532
+ "mask-linear-to": w()
7498
7533
  }],
7499
7534
  "mask-image-t-from-pos": [{
7500
7535
  "mask-t-from": J()
@@ -7503,10 +7538,10 @@ const $o = co(dr), pr = (t, o) => {
7503
7538
  "mask-t-to": J()
7504
7539
  }],
7505
7540
  "mask-image-t-from-color": [{
7506
- "mask-t-from": g()
7541
+ "mask-t-from": w()
7507
7542
  }],
7508
7543
  "mask-image-t-to-color": [{
7509
- "mask-t-to": g()
7544
+ "mask-t-to": w()
7510
7545
  }],
7511
7546
  "mask-image-r-from-pos": [{
7512
7547
  "mask-r-from": J()
@@ -7515,10 +7550,10 @@ const $o = co(dr), pr = (t, o) => {
7515
7550
  "mask-r-to": J()
7516
7551
  }],
7517
7552
  "mask-image-r-from-color": [{
7518
- "mask-r-from": g()
7553
+ "mask-r-from": w()
7519
7554
  }],
7520
7555
  "mask-image-r-to-color": [{
7521
- "mask-r-to": g()
7556
+ "mask-r-to": w()
7522
7557
  }],
7523
7558
  "mask-image-b-from-pos": [{
7524
7559
  "mask-b-from": J()
@@ -7527,10 +7562,10 @@ const $o = co(dr), pr = (t, o) => {
7527
7562
  "mask-b-to": J()
7528
7563
  }],
7529
7564
  "mask-image-b-from-color": [{
7530
- "mask-b-from": g()
7565
+ "mask-b-from": w()
7531
7566
  }],
7532
7567
  "mask-image-b-to-color": [{
7533
- "mask-b-to": g()
7568
+ "mask-b-to": w()
7534
7569
  }],
7535
7570
  "mask-image-l-from-pos": [{
7536
7571
  "mask-l-from": J()
@@ -7539,10 +7574,10 @@ const $o = co(dr), pr = (t, o) => {
7539
7574
  "mask-l-to": J()
7540
7575
  }],
7541
7576
  "mask-image-l-from-color": [{
7542
- "mask-l-from": g()
7577
+ "mask-l-from": w()
7543
7578
  }],
7544
7579
  "mask-image-l-to-color": [{
7545
- "mask-l-to": g()
7580
+ "mask-l-to": w()
7546
7581
  }],
7547
7582
  "mask-image-x-from-pos": [{
7548
7583
  "mask-x-from": J()
@@ -7551,10 +7586,10 @@ const $o = co(dr), pr = (t, o) => {
7551
7586
  "mask-x-to": J()
7552
7587
  }],
7553
7588
  "mask-image-x-from-color": [{
7554
- "mask-x-from": g()
7589
+ "mask-x-from": w()
7555
7590
  }],
7556
7591
  "mask-image-x-to-color": [{
7557
- "mask-x-to": g()
7592
+ "mask-x-to": w()
7558
7593
  }],
7559
7594
  "mask-image-y-from-pos": [{
7560
7595
  "mask-y-from": J()
@@ -7563,10 +7598,10 @@ const $o = co(dr), pr = (t, o) => {
7563
7598
  "mask-y-to": J()
7564
7599
  }],
7565
7600
  "mask-image-y-from-color": [{
7566
- "mask-y-from": g()
7601
+ "mask-y-from": w()
7567
7602
  }],
7568
7603
  "mask-image-y-to-color": [{
7569
- "mask-y-to": g()
7604
+ "mask-y-to": w()
7570
7605
  }],
7571
7606
  "mask-image-radial": [{
7572
7607
  "mask-radial": [_, k]
@@ -7578,10 +7613,10 @@ const $o = co(dr), pr = (t, o) => {
7578
7613
  "mask-radial-to": J()
7579
7614
  }],
7580
7615
  "mask-image-radial-from-color": [{
7581
- "mask-radial-from": g()
7616
+ "mask-radial-from": w()
7582
7617
  }],
7583
7618
  "mask-image-radial-to-color": [{
7584
- "mask-radial-to": g()
7619
+ "mask-radial-to": w()
7585
7620
  }],
7586
7621
  "mask-image-radial-shape": [{
7587
7622
  "mask-radial": ["circle", "ellipse"]
@@ -7593,10 +7628,10 @@ const $o = co(dr), pr = (t, o) => {
7593
7628
  }]
7594
7629
  }],
7595
7630
  "mask-image-radial-pos": [{
7596
- "mask-radial-at": R()
7631
+ "mask-radial-at": B()
7597
7632
  }],
7598
7633
  "mask-image-conic-pos": [{
7599
- "mask-conic": [B]
7634
+ "mask-conic": [L]
7600
7635
  }],
7601
7636
  "mask-image-conic-from-pos": [{
7602
7637
  "mask-conic-from": J()
@@ -7605,10 +7640,10 @@ const $o = co(dr), pr = (t, o) => {
7605
7640
  "mask-conic-to": J()
7606
7641
  }],
7607
7642
  "mask-image-conic-from-color": [{
7608
- "mask-conic-from": g()
7643
+ "mask-conic-from": w()
7609
7644
  }],
7610
7645
  "mask-image-conic-to-color": [{
7611
- "mask-conic-to": g()
7646
+ "mask-conic-to": w()
7612
7647
  }],
7613
7648
  /**
7614
7649
  * Mask Mode
@@ -7629,21 +7664,21 @@ const $o = co(dr), pr = (t, o) => {
7629
7664
  * @see https://tailwindcss.com/docs/mask-position
7630
7665
  */
7631
7666
  "mask-position": [{
7632
- mask: K()
7667
+ mask: Z()
7633
7668
  }],
7634
7669
  /**
7635
7670
  * Mask Repeat
7636
7671
  * @see https://tailwindcss.com/docs/mask-repeat
7637
7672
  */
7638
7673
  "mask-repeat": [{
7639
- mask: w()
7674
+ mask: v()
7640
7675
  }],
7641
7676
  /**
7642
7677
  * Mask Size
7643
7678
  * @see https://tailwindcss.com/docs/mask-size
7644
7679
  */
7645
7680
  "mask-size": [{
7646
- mask: O()
7681
+ mask: A()
7647
7682
  }],
7648
7683
  /**
7649
7684
  * Mask Type
@@ -7687,14 +7722,14 @@ const $o = co(dr), pr = (t, o) => {
7687
7722
  * @see https://tailwindcss.com/docs/brightness
7688
7723
  */
7689
7724
  brightness: [{
7690
- brightness: [B, _, k]
7725
+ brightness: [L, _, k]
7691
7726
  }],
7692
7727
  /**
7693
7728
  * Contrast
7694
7729
  * @see https://tailwindcss.com/docs/contrast
7695
7730
  */
7696
7731
  contrast: [{
7697
- contrast: [B, _, k]
7732
+ contrast: [L, _, k]
7698
7733
  }],
7699
7734
  /**
7700
7735
  * Drop Shadow
@@ -7715,42 +7750,42 @@ const $o = co(dr), pr = (t, o) => {
7715
7750
  * @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
7716
7751
  */
7717
7752
  "drop-shadow-color": [{
7718
- "drop-shadow": g()
7753
+ "drop-shadow": w()
7719
7754
  }],
7720
7755
  /**
7721
7756
  * Grayscale
7722
7757
  * @see https://tailwindcss.com/docs/grayscale
7723
7758
  */
7724
7759
  grayscale: [{
7725
- grayscale: ["", B, _, k]
7760
+ grayscale: ["", L, _, k]
7726
7761
  }],
7727
7762
  /**
7728
7763
  * Hue Rotate
7729
7764
  * @see https://tailwindcss.com/docs/hue-rotate
7730
7765
  */
7731
7766
  "hue-rotate": [{
7732
- "hue-rotate": [B, _, k]
7767
+ "hue-rotate": [L, _, k]
7733
7768
  }],
7734
7769
  /**
7735
7770
  * Invert
7736
7771
  * @see https://tailwindcss.com/docs/invert
7737
7772
  */
7738
7773
  invert: [{
7739
- invert: ["", B, _, k]
7774
+ invert: ["", L, _, k]
7740
7775
  }],
7741
7776
  /**
7742
7777
  * Saturate
7743
7778
  * @see https://tailwindcss.com/docs/saturate
7744
7779
  */
7745
7780
  saturate: [{
7746
- saturate: [B, _, k]
7781
+ saturate: [L, _, k]
7747
7782
  }],
7748
7783
  /**
7749
7784
  * Sepia
7750
7785
  * @see https://tailwindcss.com/docs/sepia
7751
7786
  */
7752
7787
  sepia: [{
7753
- sepia: ["", B, _, k]
7788
+ sepia: ["", L, _, k]
7754
7789
  }],
7755
7790
  /**
7756
7791
  * Backdrop Filter
@@ -7777,56 +7812,56 @@ const $o = co(dr), pr = (t, o) => {
7777
7812
  * @see https://tailwindcss.com/docs/backdrop-brightness
7778
7813
  */
7779
7814
  "backdrop-brightness": [{
7780
- "backdrop-brightness": [B, _, k]
7815
+ "backdrop-brightness": [L, _, k]
7781
7816
  }],
7782
7817
  /**
7783
7818
  * Backdrop Contrast
7784
7819
  * @see https://tailwindcss.com/docs/backdrop-contrast
7785
7820
  */
7786
7821
  "backdrop-contrast": [{
7787
- "backdrop-contrast": [B, _, k]
7822
+ "backdrop-contrast": [L, _, k]
7788
7823
  }],
7789
7824
  /**
7790
7825
  * Backdrop Grayscale
7791
7826
  * @see https://tailwindcss.com/docs/backdrop-grayscale
7792
7827
  */
7793
7828
  "backdrop-grayscale": [{
7794
- "backdrop-grayscale": ["", B, _, k]
7829
+ "backdrop-grayscale": ["", L, _, k]
7795
7830
  }],
7796
7831
  /**
7797
7832
  * Backdrop Hue Rotate
7798
7833
  * @see https://tailwindcss.com/docs/backdrop-hue-rotate
7799
7834
  */
7800
7835
  "backdrop-hue-rotate": [{
7801
- "backdrop-hue-rotate": [B, _, k]
7836
+ "backdrop-hue-rotate": [L, _, k]
7802
7837
  }],
7803
7838
  /**
7804
7839
  * Backdrop Invert
7805
7840
  * @see https://tailwindcss.com/docs/backdrop-invert
7806
7841
  */
7807
7842
  "backdrop-invert": [{
7808
- "backdrop-invert": ["", B, _, k]
7843
+ "backdrop-invert": ["", L, _, k]
7809
7844
  }],
7810
7845
  /**
7811
7846
  * Backdrop Opacity
7812
7847
  * @see https://tailwindcss.com/docs/backdrop-opacity
7813
7848
  */
7814
7849
  "backdrop-opacity": [{
7815
- "backdrop-opacity": [B, _, k]
7850
+ "backdrop-opacity": [L, _, k]
7816
7851
  }],
7817
7852
  /**
7818
7853
  * Backdrop Saturate
7819
7854
  * @see https://tailwindcss.com/docs/backdrop-saturate
7820
7855
  */
7821
7856
  "backdrop-saturate": [{
7822
- "backdrop-saturate": [B, _, k]
7857
+ "backdrop-saturate": [L, _, k]
7823
7858
  }],
7824
7859
  /**
7825
7860
  * Backdrop Sepia
7826
7861
  * @see https://tailwindcss.com/docs/backdrop-sepia
7827
7862
  */
7828
7863
  "backdrop-sepia": [{
7829
- "backdrop-sepia": ["", B, _, k]
7864
+ "backdrop-sepia": ["", L, _, k]
7830
7865
  }],
7831
7866
  // --------------
7832
7867
  // --- Tables ---
@@ -7843,21 +7878,21 @@ const $o = co(dr), pr = (t, o) => {
7843
7878
  * @see https://tailwindcss.com/docs/border-spacing
7844
7879
  */
7845
7880
  "border-spacing": [{
7846
- "border-spacing": v()
7881
+ "border-spacing": g()
7847
7882
  }],
7848
7883
  /**
7849
7884
  * Border Spacing X
7850
7885
  * @see https://tailwindcss.com/docs/border-spacing
7851
7886
  */
7852
7887
  "border-spacing-x": [{
7853
- "border-spacing-x": v()
7888
+ "border-spacing-x": g()
7854
7889
  }],
7855
7890
  /**
7856
7891
  * Border Spacing Y
7857
7892
  * @see https://tailwindcss.com/docs/border-spacing
7858
7893
  */
7859
7894
  "border-spacing-y": [{
7860
- "border-spacing-y": v()
7895
+ "border-spacing-y": g()
7861
7896
  }],
7862
7897
  /**
7863
7898
  * Table Layout
@@ -7895,21 +7930,21 @@ const $o = co(dr), pr = (t, o) => {
7895
7930
  * @see https://tailwindcss.com/docs/transition-duration
7896
7931
  */
7897
7932
  duration: [{
7898
- duration: [B, "initial", _, k]
7933
+ duration: [L, "initial", _, k]
7899
7934
  }],
7900
7935
  /**
7901
7936
  * Transition Timing Function
7902
7937
  * @see https://tailwindcss.com/docs/transition-timing-function
7903
7938
  */
7904
7939
  ease: [{
7905
- ease: ["linear", "initial", N, _, k]
7940
+ ease: ["linear", "initial", F, _, k]
7906
7941
  }],
7907
7942
  /**
7908
7943
  * Transition Delay
7909
7944
  * @see https://tailwindcss.com/docs/transition-delay
7910
7945
  */
7911
7946
  delay: [{
7912
- delay: [B, _, k]
7947
+ delay: [L, _, k]
7913
7948
  }],
7914
7949
  /**
7915
7950
  * Animation
@@ -7940,7 +7975,7 @@ const $o = co(dr), pr = (t, o) => {
7940
7975
  * @see https://tailwindcss.com/docs/perspective-origin
7941
7976
  */
7942
7977
  "perspective-origin": [{
7943
- "perspective-origin": X()
7978
+ "perspective-origin": D()
7944
7979
  }],
7945
7980
  /**
7946
7981
  * Rotate
@@ -8036,7 +8071,7 @@ const $o = co(dr), pr = (t, o) => {
8036
8071
  * @see https://tailwindcss.com/docs/transform-origin
8037
8072
  */
8038
8073
  "transform-origin": [{
8039
- origin: X()
8074
+ origin: D()
8040
8075
  }],
8041
8076
  /**
8042
8077
  * Transform Style
@@ -8050,28 +8085,28 @@ const $o = co(dr), pr = (t, o) => {
8050
8085
  * @see https://tailwindcss.com/docs/translate
8051
8086
  */
8052
8087
  translate: [{
8053
- translate: L()
8088
+ translate: P()
8054
8089
  }],
8055
8090
  /**
8056
8091
  * Translate X
8057
8092
  * @see https://tailwindcss.com/docs/translate
8058
8093
  */
8059
8094
  "translate-x": [{
8060
- "translate-x": L()
8095
+ "translate-x": P()
8061
8096
  }],
8062
8097
  /**
8063
8098
  * Translate Y
8064
8099
  * @see https://tailwindcss.com/docs/translate
8065
8100
  */
8066
8101
  "translate-y": [{
8067
- "translate-y": L()
8102
+ "translate-y": P()
8068
8103
  }],
8069
8104
  /**
8070
8105
  * Translate Z
8071
8106
  * @see https://tailwindcss.com/docs/translate
8072
8107
  */
8073
8108
  "translate-z": [{
8074
- "translate-z": L()
8109
+ "translate-z": P()
8075
8110
  }],
8076
8111
  /**
8077
8112
  * Translate None
@@ -8086,7 +8121,7 @@ const $o = co(dr), pr = (t, o) => {
8086
8121
  * @see https://tailwindcss.com/docs/accent-color
8087
8122
  */
8088
8123
  accent: [{
8089
- accent: g()
8124
+ accent: w()
8090
8125
  }],
8091
8126
  /**
8092
8127
  * Appearance
@@ -8100,7 +8135,7 @@ const $o = co(dr), pr = (t, o) => {
8100
8135
  * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
8101
8136
  */
8102
8137
  "caret-color": [{
8103
- caret: g()
8138
+ caret: w()
8104
8139
  }],
8105
8140
  /**
8106
8141
  * Color Scheme
@@ -8149,126 +8184,126 @@ const $o = co(dr), pr = (t, o) => {
8149
8184
  * @see https://tailwindcss.com/docs/scroll-margin
8150
8185
  */
8151
8186
  "scroll-m": [{
8152
- "scroll-m": v()
8187
+ "scroll-m": g()
8153
8188
  }],
8154
8189
  /**
8155
8190
  * Scroll Margin X
8156
8191
  * @see https://tailwindcss.com/docs/scroll-margin
8157
8192
  */
8158
8193
  "scroll-mx": [{
8159
- "scroll-mx": v()
8194
+ "scroll-mx": g()
8160
8195
  }],
8161
8196
  /**
8162
8197
  * Scroll Margin Y
8163
8198
  * @see https://tailwindcss.com/docs/scroll-margin
8164
8199
  */
8165
8200
  "scroll-my": [{
8166
- "scroll-my": v()
8201
+ "scroll-my": g()
8167
8202
  }],
8168
8203
  /**
8169
8204
  * Scroll Margin Start
8170
8205
  * @see https://tailwindcss.com/docs/scroll-margin
8171
8206
  */
8172
8207
  "scroll-ms": [{
8173
- "scroll-ms": v()
8208
+ "scroll-ms": g()
8174
8209
  }],
8175
8210
  /**
8176
8211
  * Scroll Margin End
8177
8212
  * @see https://tailwindcss.com/docs/scroll-margin
8178
8213
  */
8179
8214
  "scroll-me": [{
8180
- "scroll-me": v()
8215
+ "scroll-me": g()
8181
8216
  }],
8182
8217
  /**
8183
8218
  * Scroll Margin Top
8184
8219
  * @see https://tailwindcss.com/docs/scroll-margin
8185
8220
  */
8186
8221
  "scroll-mt": [{
8187
- "scroll-mt": v()
8222
+ "scroll-mt": g()
8188
8223
  }],
8189
8224
  /**
8190
8225
  * Scroll Margin Right
8191
8226
  * @see https://tailwindcss.com/docs/scroll-margin
8192
8227
  */
8193
8228
  "scroll-mr": [{
8194
- "scroll-mr": v()
8229
+ "scroll-mr": g()
8195
8230
  }],
8196
8231
  /**
8197
8232
  * Scroll Margin Bottom
8198
8233
  * @see https://tailwindcss.com/docs/scroll-margin
8199
8234
  */
8200
8235
  "scroll-mb": [{
8201
- "scroll-mb": v()
8236
+ "scroll-mb": g()
8202
8237
  }],
8203
8238
  /**
8204
8239
  * Scroll Margin Left
8205
8240
  * @see https://tailwindcss.com/docs/scroll-margin
8206
8241
  */
8207
8242
  "scroll-ml": [{
8208
- "scroll-ml": v()
8243
+ "scroll-ml": g()
8209
8244
  }],
8210
8245
  /**
8211
8246
  * Scroll Padding
8212
8247
  * @see https://tailwindcss.com/docs/scroll-padding
8213
8248
  */
8214
8249
  "scroll-p": [{
8215
- "scroll-p": v()
8250
+ "scroll-p": g()
8216
8251
  }],
8217
8252
  /**
8218
8253
  * Scroll Padding X
8219
8254
  * @see https://tailwindcss.com/docs/scroll-padding
8220
8255
  */
8221
8256
  "scroll-px": [{
8222
- "scroll-px": v()
8257
+ "scroll-px": g()
8223
8258
  }],
8224
8259
  /**
8225
8260
  * Scroll Padding Y
8226
8261
  * @see https://tailwindcss.com/docs/scroll-padding
8227
8262
  */
8228
8263
  "scroll-py": [{
8229
- "scroll-py": v()
8264
+ "scroll-py": g()
8230
8265
  }],
8231
8266
  /**
8232
8267
  * Scroll Padding Start
8233
8268
  * @see https://tailwindcss.com/docs/scroll-padding
8234
8269
  */
8235
8270
  "scroll-ps": [{
8236
- "scroll-ps": v()
8271
+ "scroll-ps": g()
8237
8272
  }],
8238
8273
  /**
8239
8274
  * Scroll Padding End
8240
8275
  * @see https://tailwindcss.com/docs/scroll-padding
8241
8276
  */
8242
8277
  "scroll-pe": [{
8243
- "scroll-pe": v()
8278
+ "scroll-pe": g()
8244
8279
  }],
8245
8280
  /**
8246
8281
  * Scroll Padding Top
8247
8282
  * @see https://tailwindcss.com/docs/scroll-padding
8248
8283
  */
8249
8284
  "scroll-pt": [{
8250
- "scroll-pt": v()
8285
+ "scroll-pt": g()
8251
8286
  }],
8252
8287
  /**
8253
8288
  * Scroll Padding Right
8254
8289
  * @see https://tailwindcss.com/docs/scroll-padding
8255
8290
  */
8256
8291
  "scroll-pr": [{
8257
- "scroll-pr": v()
8292
+ "scroll-pr": g()
8258
8293
  }],
8259
8294
  /**
8260
8295
  * Scroll Padding Bottom
8261
8296
  * @see https://tailwindcss.com/docs/scroll-padding
8262
8297
  */
8263
8298
  "scroll-pb": [{
8264
- "scroll-pb": v()
8299
+ "scroll-pb": g()
8265
8300
  }],
8266
8301
  /**
8267
8302
  * Scroll Padding Left
8268
8303
  * @see https://tailwindcss.com/docs/scroll-padding
8269
8304
  */
8270
8305
  "scroll-pl": [{
8271
- "scroll-pl": v()
8306
+ "scroll-pl": g()
8272
8307
  }],
8273
8308
  /**
8274
8309
  * Scroll Snap Align
@@ -8346,21 +8381,21 @@ const $o = co(dr), pr = (t, o) => {
8346
8381
  * @see https://tailwindcss.com/docs/fill
8347
8382
  */
8348
8383
  fill: [{
8349
- fill: ["none", ...g()]
8384
+ fill: ["none", ...w()]
8350
8385
  }],
8351
8386
  /**
8352
8387
  * Stroke Width
8353
8388
  * @see https://tailwindcss.com/docs/stroke-width
8354
8389
  */
8355
8390
  "stroke-w": [{
8356
- stroke: [B, Lo, vo, Zo]
8391
+ stroke: [L, Lo, vo, Zo]
8357
8392
  }],
8358
8393
  /**
8359
8394
  * Stroke
8360
8395
  * @see https://tailwindcss.com/docs/stroke
8361
8396
  */
8362
8397
  stroke: [{
8363
- stroke: ["none", ...g()]
8398
+ stroke: ["none", ...w()]
8364
8399
  }],
8365
8400
  // ---------------------
8366
8401
  // --- Accessibility ---
@@ -8428,7 +8463,7 @@ const $o = co(dr), pr = (t, o) => {
8428
8463
  },
8429
8464
  orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
8430
8465
  };
8431
- }, Io = /* @__PURE__ */ Ar(en), tn = (t, o) => {
8466
+ }, Fo = /* @__PURE__ */ Ar(en), tn = (t, o) => {
8432
8467
  let e = 0;
8433
8468
  const i = t.replace(/\D/g, "").split("");
8434
8469
  let r = "";
@@ -8447,81 +8482,82 @@ const $o = co(dr), pr = (t, o) => {
8447
8482
  value: m,
8448
8483
  controlled: p,
8449
8484
  rules: T,
8450
- onChange: N,
8485
+ onChange: F,
8451
8486
  onCommit: M,
8452
- leadingIcon: I,
8453
- trailingIcon: R,
8454
- ...X
8455
- } = t, $ = m instanceof To, A = typeof m == "string" ? m : $ ? m.value : "", [v, z] = G(A);
8456
- Z(() => {
8487
+ leadingIcon: R,
8488
+ trailingIcon: B,
8489
+ bare: D,
8490
+ ...I
8491
+ } = t, $ = m instanceof To, g = typeof m == "string" ? m : $ ? m.value : "", [z, O] = Y(g);
8492
+ q(() => {
8457
8493
  if (p) {
8458
8494
  if ($)
8459
- return m.subscribe(z);
8460
- z(typeof m == "string" ? m : "");
8495
+ return m.subscribe(O);
8496
+ O(typeof m == "string" ? m : "");
8461
8497
  }
8462
- }, [p, m, $]), Z(() => p || !$ ? void 0 : m.subscribe((K) => {
8498
+ }, [p, m, $]), q(() => p || !$ ? void 0 : m.subscribe((v) => {
8463
8499
  if (s.current) return;
8464
- const w = n.current;
8465
- w && w.value !== K && (w.value = K);
8500
+ const A = n.current;
8501
+ A && A.value !== v && (A.value = v);
8466
8502
  }), [m, $, p]), l.useEffect(() => {
8467
- const g = n.current;
8468
- if (!g) return;
8469
- T && (g.__fiboRules = T);
8470
- const K = g.closest(".fibo-textfield-container"), w = K == null ? void 0 : K.querySelector(".fibo-field-error");
8471
- K && (K.__fiboShowError = (O) => {
8472
- w && (w.textContent = O ?? "", w.style.display = O ? "" : "none");
8503
+ const Z = n.current;
8504
+ if (!Z) return;
8505
+ T && (Z.__fiboRules = T);
8506
+ const v = Z.closest(".fibo-textfield-container"), A = v == null ? void 0 : v.querySelector(".fibo-field-error");
8507
+ v && (v.__fiboShowError = (K) => {
8508
+ A && (A.textContent = K ?? "", A.style.display = K ? "" : "none");
8473
8509
  });
8474
8510
  }, [T]);
8475
- const P = x === "password", D = P && i ? "text" : x, S = (g) => d ? tn(g, d) : g, H = {
8511
+ const W = x === "password", S = W && i ? "text" : x, C = (Z) => d ? tn(Z, d) : Z, w = {
8476
8512
  key: "input",
8477
8513
  ref: n,
8478
8514
  id: e,
8479
- className: "fibo-textfield-input w-full h-full bg-transparent outline-none py-2.5 text-sm",
8480
- style: { paddingLeft: I ? "2.75rem" : "1rem", paddingRight: R || P ? "2.75rem" : "1rem" },
8481
- type: D,
8482
- onChange: (g) => {
8483
- let K = S(g.target.value);
8484
- d && g.target.value !== K && (g.target.value = K), p && z(K), $ && (s.current = !0, m.value = K, s.current = !1), N == null || N(K);
8515
+ className: D ? "fibo-textfield-input w-full bg-transparent outline-none" : "fibo-textfield-input w-full h-full bg-transparent outline-none py-2.5 text-sm",
8516
+ style: { paddingLeft: D ? 0 : R ? "2.75rem" : "1rem", paddingRight: D ? 0 : B || W ? "2.75rem" : "1rem" },
8517
+ type: S,
8518
+ onChange: (Z) => {
8519
+ let v = C(Z.target.value);
8520
+ d && Z.target.value !== v && (Z.target.value = v), p && O(v), $ && (s.current = !0, m.value = v, s.current = !1), F == null || F(v);
8485
8521
  },
8486
- onBlur: (g) => {
8487
- var K;
8488
- M == null || M(S(g.target.value)), (K = X.onBlur) == null || K.call(X, g);
8522
+ onBlur: (Z) => {
8523
+ var v;
8524
+ M == null || M(C(Z.target.value)), (v = I.onBlur) == null || v.call(I, Z);
8489
8525
  },
8490
- ...X
8526
+ ...I
8491
8527
  };
8492
- return p ? H.value = v : H.defaultValue = A, l.createElement(
8528
+ return p ? w.value = z : w.defaultValue = g, l.createElement(
8493
8529
  "div",
8494
8530
  { className: f, style: a },
8495
8531
  l.createElement(
8496
8532
  "div",
8497
8533
  { className: u || "relative w-full h-14 flex items-center" },
8498
8534
  [
8499
- I && l.createElement(
8535
+ R && l.createElement(
8500
8536
  "div",
8501
8537
  {
8502
8538
  key: "leading-icon",
8503
8539
  className: "absolute left-3 top-1/2 transform -translate-y-1/2 flex items-center justify-center pointer-events-none z-10"
8504
8540
  },
8505
- I
8541
+ R
8506
8542
  ),
8507
- l.createElement("input", H),
8543
+ l.createElement("input", w),
8508
8544
  b && l.createElement(
8509
8545
  "label",
8510
8546
  {
8511
8547
  key: "label",
8512
8548
  htmlFor: e,
8513
8549
  className: "fibo-textfield-label",
8514
- style: { left: I ? "2.75rem" : "1rem" }
8550
+ style: { left: D ? 0 : R ? "2.75rem" : "1rem" }
8515
8551
  },
8516
8552
  b
8517
8553
  ),
8518
- (R || P) && l.createElement(
8554
+ (B || W) && l.createElement(
8519
8555
  "div",
8520
8556
  {
8521
8557
  key: "trailing-icon",
8522
8558
  className: "absolute right-3 top-1/2 transform -translate-y-1/2 flex items-center justify-center z-10"
8523
8559
  },
8524
- P ? l.createElement(
8560
+ W ? l.createElement(
8525
8561
  "button",
8526
8562
  {
8527
8563
  type: "button",
@@ -8562,7 +8598,7 @@ const $o = co(dr), pr = (t, o) => {
8562
8598
  }),
8563
8599
  l.createElement("circle", { cx: 12, cy: 12, r: 3 })
8564
8600
  )
8565
- ) : R
8601
+ ) : B
8566
8602
  )
8567
8603
  ]
8568
8604
  ),
@@ -8653,14 +8689,15 @@ class nn extends ao {
8653
8689
  return this._variant = e, this;
8654
8690
  }
8655
8691
  build() {
8656
- let e = "relative w-full h-14 flex items-center";
8657
- this._variant === "outlined" ? e += " border border-[var(--fibo-outline)] rounded-[4px] bg-transparent" : e += " bg-[var(--fibo-surface-variant)] rounded-t-[4px] border-b border-[var(--fibo-outline)]";
8692
+ let e = this.isReset() ? "relative w-full flex items-center" : "relative w-full h-14 flex items-center";
8693
+ this.isReset() || (this._variant === "outlined" ? e += " border border-[var(--fibo-outline)] rounded-[4px] bg-transparent" : e += " bg-[var(--fibo-surface-variant)] rounded-t-[4px] border-b border-[var(--fibo-outline)]");
8658
8694
  const r = {
8659
- containerClass: Io(
8695
+ containerClass: Fo(
8660
8696
  "fibo-textfield-container w-full flex flex-col",
8661
8697
  ...this._classNames
8662
8698
  ),
8663
8699
  fieldClass: e,
8700
+ bare: this.isReset(),
8664
8701
  containerStyle: this.getStyle(),
8665
8702
  label: this._label,
8666
8703
  error: this._error,
@@ -8696,37 +8733,37 @@ const ks = co(nn), sn = l.memo((t) => {
8696
8733
  className: h,
8697
8734
  style: d,
8698
8735
  id: x
8699
- } = t, m = U(null), p = U(null), T = o, [N, M] = G(T), I = e ? !!o : N, R = I || s;
8700
- Z(() => {
8736
+ } = t, m = U(null), p = U(null), T = o, [F, M] = Y(T), R = e ? !!o : F, B = R || s;
8737
+ q(() => {
8701
8738
  m.current && (m.current.indeterminate = !!s);
8702
- }, [s]), Z(() => {
8739
+ }, [s]), q(() => {
8703
8740
  if (e) return;
8704
- const v = m.current;
8705
- if (!v) return;
8706
- const z = () => M(v.checked), P = () => {
8741
+ const g = m.current;
8742
+ if (!g) return;
8743
+ const z = () => M(g.checked), O = () => {
8707
8744
  requestAnimationFrame(z);
8708
8745
  };
8709
- v.addEventListener("fibo-sync", z);
8710
- const D = v.closest("form");
8711
- return D == null || D.addEventListener("reset", P), () => {
8712
- v.removeEventListener("fibo-sync", z), D == null || D.removeEventListener("reset", P);
8746
+ g.addEventListener("fibo-sync", z);
8747
+ const W = g.closest("form");
8748
+ return W == null || W.addEventListener("reset", O), () => {
8749
+ g.removeEventListener("fibo-sync", z), W == null || W.removeEventListener("reset", O);
8713
8750
  };
8714
- }, [e]), Z(() => {
8715
- const v = m.current, z = p.current;
8716
- if (!v) return;
8717
- u && (v.__fiboRules = u);
8718
- const P = z == null ? void 0 : z.querySelector(".fibo-field-error");
8719
- z && (z.__fiboShowError = (D) => {
8720
- P && (P.textContent = D ?? "", P.style.display = D ? "" : "none");
8751
+ }, [e]), q(() => {
8752
+ const g = m.current, z = p.current;
8753
+ if (!g) return;
8754
+ u && (g.__fiboRules = u);
8755
+ const O = z == null ? void 0 : z.querySelector(".fibo-field-error");
8756
+ z && (z.__fiboShowError = (W) => {
8757
+ O && (O.textContent = W ?? "", O.style.display = W ? "" : "none");
8721
8758
  });
8722
8759
  }, [u]);
8723
- const X = (v) => {
8760
+ const D = (g) => {
8724
8761
  if (n) return;
8725
- const z = v.target.checked;
8762
+ const z = g.target.checked;
8726
8763
  e || M(z), i == null || i(z);
8727
8764
  };
8728
- let $ = null;
8729
- s ? $ = l.createElement("div", { className: "w-[10px] h-[2px] bg-white rounded-[1px]" }) : I && ($ = l.createElement(
8765
+ let I = null;
8766
+ s ? I = l.createElement("div", { className: "w-[10px] h-[2px] bg-white rounded-[1px]" }) : R && (I = l.createElement(
8730
8767
  "svg",
8731
8768
  {
8732
8769
  width: "12",
@@ -8744,7 +8781,7 @@ const ks = co(nn), sn = l.memo((t) => {
8744
8781
  strokeLinejoin: "round"
8745
8782
  })
8746
8783
  ));
8747
- const A = {
8784
+ const $ = {
8748
8785
  ref: m,
8749
8786
  id: x,
8750
8787
  type: "checkbox",
@@ -8752,13 +8789,13 @@ const ks = co(nn), sn = l.memo((t) => {
8752
8789
  value: a,
8753
8790
  disabled: n,
8754
8791
  className: "sr-only",
8755
- onChange: X
8792
+ onChange: D
8756
8793
  };
8757
- return e ? A.checked = !!o : A.defaultChecked = T, l.createElement(
8794
+ return e ? $.checked = !!o : $.defaultChecked = T, l.createElement(
8758
8795
  "div",
8759
8796
  {
8760
8797
  ref: p,
8761
- className: Io("fibo-checkbox-container", h)
8798
+ className: Fo("fibo-checkbox-container", h)
8762
8799
  },
8763
8800
  l.createElement(
8764
8801
  "label",
@@ -8768,18 +8805,18 @@ const ks = co(nn), sn = l.memo((t) => {
8768
8805
  l.createElement(
8769
8806
  "div",
8770
8807
  {
8771
- className: Io(
8808
+ className: Fo(
8772
8809
  "fibo-checkbox-box w-5 h-5 rounded-[6px] border-2 flex items-center justify-center transition-all duration-200",
8773
8810
  n ? "cursor-not-allowed opacity-50" : "cursor-pointer",
8774
- R ? "border-transparent bg-[var(--fibo-primary,#3B82F6)]" : "border-gray-300 bg-transparent"
8811
+ B ? "border-transparent bg-[var(--fibo-primary,#3B82F6)]" : "border-gray-300 bg-transparent"
8775
8812
  ),
8776
8813
  style: d,
8777
8814
  "aria-hidden": !0
8778
8815
  },
8779
- $
8816
+ I
8780
8817
  ),
8781
8818
  r && l.createElement("span", { className: "text-sm text-gray-700 select-none" }, r),
8782
- l.createElement("input", A)
8819
+ l.createElement("input", $)
8783
8820
  ),
8784
8821
  l.createElement(
8785
8822
  "span",
@@ -8865,7 +8902,7 @@ function an(t) {
8865
8902
  return Array.isArray(t) ? t.join(",") : t ?? "";
8866
8903
  }
8867
8904
  const cn = l.memo((t) => {
8868
- const o = l.useId(), e = t.id || o, i = `${e}-listbox`, [r, n] = G(!1), [s, f] = G(0), a = U(null), u = U(null), {
8905
+ const o = l.useId(), e = t.id || o, i = `${e}-listbox`, [r, n] = Y(!1), [s, f] = Y(0), a = U(null), u = U(null), {
8869
8906
  containerClass: b,
8870
8907
  containerStyle: h,
8871
8908
  label: d,
@@ -8873,48 +8910,48 @@ const cn = l.memo((t) => {
8873
8910
  value: m,
8874
8911
  options: p = [],
8875
8912
  placeholder: T,
8876
- onChange: N,
8913
+ onChange: F,
8877
8914
  disabled: M,
8878
- multiple: I,
8879
- name: R,
8880
- controlled: X = !1,
8881
- rules: $
8882
- } = t, [A, v] = G(
8883
- () => m ?? (I ? [] : "")
8884
- ), z = X ? m ?? (I ? [] : "") : A;
8885
- Z(() => {
8886
- const y = (F) => {
8887
- a.current && !a.current.contains(F.target) && n(!1);
8915
+ multiple: R,
8916
+ name: B,
8917
+ controlled: D = !1,
8918
+ rules: I
8919
+ } = t, [$, g] = Y(
8920
+ () => m ?? (R ? [] : "")
8921
+ ), z = D ? m ?? (R ? [] : "") : $;
8922
+ q(() => {
8923
+ const y = (N) => {
8924
+ a.current && !a.current.contains(N.target) && n(!1);
8888
8925
  };
8889
8926
  return document.addEventListener("mousedown", y), () => document.removeEventListener("mousedown", y);
8890
- }, []), Z(() => {
8927
+ }, []), q(() => {
8891
8928
  const y = u.current;
8892
8929
  if (!y) return;
8893
- $ && (y.__fiboRules = $);
8894
- const F = y.closest(".fibo-textfield-container"), H = F == null ? void 0 : F.querySelector(".fibo-field-error");
8895
- F && (F.__fiboShowError = (g) => {
8896
- H && (H.textContent = g ?? "", H.style.display = g ? "" : "none");
8930
+ I && (y.__fiboRules = I);
8931
+ const N = y.closest(".fibo-textfield-container"), G = N == null ? void 0 : N.querySelector(".fibo-field-error");
8932
+ N && (N.__fiboShowError = (w) => {
8933
+ G && (G.textContent = w ?? "", G.style.display = w ? "" : "none");
8897
8934
  });
8898
- }, [$]);
8899
- const P = (y) => I ? Array.isArray(z) && z.includes(y) : z === y;
8900
- let D = "";
8901
- if (I)
8902
- Array.isArray(z) && z.length > 0 && (D = p.filter((y) => z.includes(y.value)).map((y) => y.label).join(", "));
8935
+ }, [I]);
8936
+ const O = (y) => R ? Array.isArray(z) && z.includes(y) : z === y;
8937
+ let W = "";
8938
+ if (R)
8939
+ Array.isArray(z) && z.length > 0 && (W = p.filter((y) => z.includes(y.value)).map((y) => y.label).join(", "));
8903
8940
  else {
8904
- const y = p.find((F) => F.value === z);
8905
- D = y ? y.label : "";
8941
+ const y = p.find((N) => N.value === z);
8942
+ W = y ? y.label : "";
8906
8943
  }
8907
8944
  const S = (y) => {
8908
8945
  if (M) return;
8909
- let F;
8910
- if (I) {
8911
- const H = Array.isArray(z) ? [...z] : [], g = H.indexOf(y);
8912
- g > -1 ? H.splice(g, 1) : H.push(y), F = H;
8946
+ let N;
8947
+ if (R) {
8948
+ const G = Array.isArray(z) ? [...z] : [], w = G.indexOf(y);
8949
+ w > -1 ? G.splice(w, 1) : G.push(y), N = G;
8913
8950
  } else
8914
- F = y, n(!1);
8915
- X || v(F), N == null || N(F);
8951
+ N = y, n(!1);
8952
+ D || g(N), F == null || F(N);
8916
8953
  }, C = (y) => {
8917
- p.length !== 0 && f((F) => (F + y + p.length) % p.length);
8954
+ p.length !== 0 && f((N) => (N + y + p.length) % p.length);
8918
8955
  }, V = (y) => {
8919
8956
  if (!M)
8920
8957
  switch (y.key) {
@@ -8947,11 +8984,11 @@ const cn = l.memo((t) => {
8947
8984
  style: h
8948
8985
  },
8949
8986
  l.createElement("div", { className: "relative w-full h-full" }, [
8950
- R ? l.createElement("input", {
8987
+ B ? l.createElement("input", {
8951
8988
  key: "hidden",
8952
8989
  ref: u,
8953
8990
  type: "hidden",
8954
- name: R,
8991
+ name: B,
8955
8992
  value: an(z)
8956
8993
  }) : null,
8957
8994
  l.createElement("button", {
@@ -8964,11 +9001,11 @@ const cn = l.memo((t) => {
8964
9001
  "aria-controls": i,
8965
9002
  "aria-activedescendant": r && p[s] ? `${i}-opt-${p[s].value}` : void 0,
8966
9003
  disabled: M,
8967
- className: `fibo-textfield-input text-left w-full flex items-center justify-between ${D ? "" : "text-gray-400"}`,
9004
+ className: `fibo-textfield-input text-left w-full flex items-center justify-between ${W ? "" : "text-gray-400"}`,
8968
9005
  onClick: () => !M && n(!r),
8969
9006
  onKeyDown: V
8970
9007
  }, [
8971
- l.createElement("span", { key: "text", className: "truncate" }, D || T || " "),
9008
+ l.createElement("span", { key: "text", className: "truncate" }, W || T || " "),
8972
9009
  l.createElement("svg", {
8973
9010
  key: "icon",
8974
9011
  className: `w-4 h-4 transition-transform ${r ? "rotate-180" : ""}`,
@@ -8991,21 +9028,21 @@ const cn = l.memo((t) => {
8991
9028
  key: "dropdown",
8992
9029
  id: i,
8993
9030
  role: "listbox",
8994
- "aria-multiselectable": I || void 0,
9031
+ "aria-multiselectable": R || void 0,
8995
9032
  className: "absolute z-50 w-full mt-1 bg-[var(--fibo-surface)] border border-[var(--fibo-outline)] rounded-md shadow-lg max-h-60 overflow-auto focus:outline-none"
8996
- }, p.map((y, F) => {
8997
- const H = P(y.value), g = F === s;
9033
+ }, p.map((y, N) => {
9034
+ const G = O(y.value), w = N === s;
8998
9035
  return l.createElement("div", {
8999
9036
  key: y.value,
9000
9037
  id: `${i}-opt-${y.value}`,
9001
9038
  role: "option",
9002
- "aria-selected": H,
9003
- className: `px-4 py-2 cursor-pointer text-sm hover:bg-[var(--fibo-primary-container)] hover:text-[var(--fibo-on-primary-container)] flex items-center justify-between ${H || g ? "bg-[var(--fibo-primary-container)] text-[var(--fibo-on-primary-container)] font-medium" : "text-[var(--fibo-on-surface)]"}`,
9039
+ "aria-selected": G,
9040
+ className: `px-4 py-2 cursor-pointer text-sm hover:bg-[var(--fibo-primary-container)] hover:text-[var(--fibo-on-primary-container)] flex items-center justify-between ${G || w ? "bg-[var(--fibo-primary-container)] text-[var(--fibo-on-primary-container)] font-medium" : "text-[var(--fibo-on-surface)]"}`,
9004
9041
  onClick: () => S(y.value),
9005
- onMouseEnter: () => f(F)
9042
+ onMouseEnter: () => f(N)
9006
9043
  }, [
9007
9044
  l.createElement("span", { key: "label" }, y.label),
9008
- H && l.createElement("svg", {
9045
+ G && l.createElement("svg", {
9009
9046
  key: "check",
9010
9047
  className: "w-4 h-4 text-[var(--fibo-primary)]",
9011
9048
  viewBox: "0 0 20 20",
@@ -9082,7 +9119,7 @@ class ln extends ao {
9082
9119
  }
9083
9120
  build() {
9084
9121
  const i = {
9085
- containerClass: Io("fibo-textfield-container relative", ...this._classNames),
9122
+ containerClass: Fo("fibo-textfield-container relative", ...this._classNames),
9086
9123
  containerStyle: this.getStyle(),
9087
9124
  label: this._label,
9088
9125
  error: this._error,
@@ -9105,84 +9142,84 @@ function un(t) {
9105
9142
  return Array.isArray(t) ? t.join(",") : t ?? "";
9106
9143
  }
9107
9144
  const bn = l.memo((t) => {
9108
- const o = l.useId(), e = t.id || o, i = `${e}-listbox`, [r, n] = G(!1), [s, f] = G(""), [a, u] = G(0), b = U(null), h = U(null), {
9145
+ const o = l.useId(), e = t.id || o, i = `${e}-listbox`, [r, n] = Y(!1), [s, f] = Y(""), [a, u] = Y(0), b = U(null), h = U(null), {
9109
9146
  containerClass: d,
9110
9147
  containerStyle: x,
9111
9148
  label: m,
9112
9149
  error: p,
9113
9150
  value: T,
9114
- options: N = [],
9151
+ options: F = [],
9115
9152
  placeholder: M,
9116
- onChange: I,
9117
- onAdd: R,
9118
- disabled: X,
9119
- multiple: $,
9120
- name: A,
9121
- controlled: v = !1,
9153
+ onChange: R,
9154
+ onAdd: B,
9155
+ disabled: D,
9156
+ multiple: I,
9157
+ name: $,
9158
+ controlled: g = !1,
9122
9159
  rules: z
9123
- } = t, [P, D] = G(
9124
- () => T ?? ($ ? [] : "")
9125
- ), S = v ? T ?? ($ ? [] : "") : P;
9126
- Z(() => {
9127
- if (!$) {
9128
- const w = N.find((O) => O.value === S);
9129
- w && !r && s !== w.label && f(w.label);
9160
+ } = t, [O, W] = Y(
9161
+ () => T ?? (I ? [] : "")
9162
+ ), S = g ? T ?? (I ? [] : "") : O;
9163
+ q(() => {
9164
+ if (!I) {
9165
+ const v = F.find((A) => A.value === S);
9166
+ v && !r && s !== v.label && f(v.label);
9130
9167
  }
9131
- }, [S, N, r, $]);
9132
- const C = N.filter(
9133
- (w) => w.label.toLowerCase().includes(s.toLowerCase())
9168
+ }, [S, F, r, I]);
9169
+ const C = F.filter(
9170
+ (v) => v.label.toLowerCase().includes(s.toLowerCase())
9134
9171
  );
9135
- Z(() => {
9172
+ q(() => {
9136
9173
  u(0);
9137
- }, [s, r]), Z(() => {
9138
- const w = (O) => {
9139
- if (b.current && !b.current.contains(O.target))
9140
- if (n(!1), $)
9174
+ }, [s, r]), q(() => {
9175
+ const v = (A) => {
9176
+ if (b.current && !b.current.contains(A.target))
9177
+ if (n(!1), I)
9141
9178
  f("");
9142
9179
  else {
9143
- const q = N.find((Y) => Y.value === S);
9144
- f(q ? q.label : "");
9180
+ const K = F.find((X) => X.value === S);
9181
+ f(K ? K.label : "");
9145
9182
  }
9146
9183
  };
9147
- return document.addEventListener("mousedown", w), () => document.removeEventListener("mousedown", w);
9148
- }, [S, N, $]), Z(() => {
9149
- const w = h.current;
9150
- if (!w) return;
9151
- z && (w.__fiboRules = z);
9152
- const O = w.closest(".fibo-textfield-container"), q = O == null ? void 0 : O.querySelector(".fibo-field-error");
9153
- O && (O.__fiboShowError = (Y) => {
9154
- q && (q.textContent = Y ?? "", q.style.display = Y ? "" : "none");
9184
+ return document.addEventListener("mousedown", v), () => document.removeEventListener("mousedown", v);
9185
+ }, [S, F, I]), q(() => {
9186
+ const v = h.current;
9187
+ if (!v) return;
9188
+ z && (v.__fiboRules = z);
9189
+ const A = v.closest(".fibo-textfield-container"), K = A == null ? void 0 : A.querySelector(".fibo-field-error");
9190
+ A && (A.__fiboShowError = (X) => {
9191
+ K && (K.textContent = X ?? "", K.style.display = X ? "" : "none");
9155
9192
  });
9156
9193
  }, [z]);
9157
- const V = (w) => {
9158
- v || D(w), I == null || I(w);
9159
- }, y = (w) => {
9160
- if ($) {
9161
- const O = Array.isArray(S) ? [...S] : [];
9162
- O.includes(w.value) || (O.push(w.value), V(O)), f("");
9194
+ const V = (v) => {
9195
+ g || W(v), R == null || R(v);
9196
+ }, y = (v) => {
9197
+ if (I) {
9198
+ const A = Array.isArray(S) ? [...S] : [];
9199
+ A.includes(v.value) || (A.push(v.value), V(A)), f("");
9163
9200
  } else
9164
- f(w.label), V(w.value), n(!1);
9165
- }, F = (w) => {
9166
- if ($ && Array.isArray(S)) {
9167
- const O = S.filter((q) => q !== w);
9168
- V(O);
9201
+ f(v.label), V(v.value), n(!1);
9202
+ }, N = (v) => {
9203
+ if (I && Array.isArray(S)) {
9204
+ const A = S.filter((K) => K !== v);
9205
+ V(A);
9169
9206
  }
9170
- }, H = () => {
9171
- R == null || R(s), $ ? f("") : n(!1);
9172
- }, g = (w) => $ ? Array.isArray(S) && S.includes(w) : S === w, K = (w) => {
9173
- if (!X)
9174
- switch (w.key) {
9207
+ }, G = () => {
9208
+ B == null || B(s), I ? f("") : n(!1);
9209
+ }, w = (v) => I ? Array.isArray(S) && S.includes(v) : S === v, Z = (v) => {
9210
+ if (!D)
9211
+ switch (v.key) {
9175
9212
  case "ArrowDown":
9176
- w.preventDefault(), r ? C.length && u((O) => (O + 1) % C.length) : n(!0);
9213
+ v.preventDefault(), r ? C.length && u((A) => (A + 1) % C.length) : n(!0);
9177
9214
  break;
9178
9215
  case "ArrowUp":
9179
- w.preventDefault(), r ? C.length && u((O) => (O - 1 + C.length) % C.length) : n(!0);
9216
+ v.preventDefault(), r ? C.length && u((A) => (A - 1 + C.length) % C.length) : n(!0);
9180
9217
  break;
9181
9218
  case "Enter":
9182
- w.preventDefault(), C[a] ? y(C[a]) : s && R && H();
9219
+ v.preventDefault(), C[a] ? y(C[a]) : s && B && G();
9183
9220
  break;
9184
9221
  case "Escape":
9185
- w.preventDefault(), n(!1);
9222
+ v.preventDefault(), n(!1);
9186
9223
  break;
9187
9224
  }
9188
9225
  };
@@ -9194,11 +9231,11 @@ const bn = l.memo((t) => {
9194
9231
  style: x
9195
9232
  },
9196
9233
  l.createElement("div", { className: "relative w-full h-full" }, [
9197
- A ? l.createElement("input", {
9234
+ $ ? l.createElement("input", {
9198
9235
  key: "hidden",
9199
9236
  ref: h,
9200
9237
  type: "hidden",
9201
- name: A,
9238
+ name: $,
9202
9239
  value: un(S)
9203
9240
  }) : null,
9204
9241
  l.createElement("div", {
@@ -9206,19 +9243,19 @@ const bn = l.memo((t) => {
9206
9243
  className: `fibo-textfield-input flex flex-wrap items-center gap-1 ${r ? "ring-2 ring-[var(--fibo-primary-container)] border-[var(--fibo-primary)]" : ""}`,
9207
9244
  style: { minHeight: "42px", padding: "4px 8px" }
9208
9245
  }, [
9209
- $ && Array.isArray(S) && S.map((w) => {
9210
- const O = N.find((Y) => Y.value === w), q = O ? O.label : w;
9246
+ I && Array.isArray(S) && S.map((v) => {
9247
+ const A = F.find((X) => X.value === v), K = A ? A.label : v;
9211
9248
  return l.createElement("span", {
9212
- key: w,
9249
+ key: v,
9213
9250
  className: "bg-[var(--fibo-primary-container)] text-[var(--fibo-on-primary-container)] text-xs font-medium px-2 py-1 rounded-md flex items-center"
9214
9251
  }, [
9215
- q,
9252
+ K,
9216
9253
  l.createElement("button", {
9217
9254
  type: "button",
9218
9255
  className: "ml-1 hover:text-[var(--fibo-primary)] focus:outline-none",
9219
- "aria-label": `Remove ${q}`,
9220
- onClick: (Y) => {
9221
- Y.stopPropagation(), F(w);
9256
+ "aria-label": `Remove ${K}`,
9257
+ onClick: (X) => {
9258
+ X.stopPropagation(), N(v);
9222
9259
  }
9223
9260
  }, "×")
9224
9261
  ]);
@@ -9233,13 +9270,13 @@ const bn = l.memo((t) => {
9233
9270
  "aria-activedescendant": r && C[a] ? `${i}-opt-${C[a].value}` : void 0,
9234
9271
  className: "bg-transparent outline-none flex-1 min-w-[60px] text-sm h-8",
9235
9272
  value: s,
9236
- placeholder: $ && Array.isArray(S) && S.length > 0 ? "" : M || " ",
9237
- disabled: X,
9238
- onChange: (w) => {
9239
- f(w.target.value), r || n(!0);
9273
+ placeholder: I && Array.isArray(S) && S.length > 0 ? "" : M || " ",
9274
+ disabled: D,
9275
+ onChange: (v) => {
9276
+ f(v.target.value), r || n(!0);
9240
9277
  },
9241
9278
  onFocus: () => n(!0),
9242
- onKeyDown: K
9279
+ onKeyDown: Z
9243
9280
  })
9244
9281
  ]),
9245
9282
  m && l.createElement(
@@ -9255,27 +9292,27 @@ const bn = l.memo((t) => {
9255
9292
  key: "dropdown",
9256
9293
  id: i,
9257
9294
  role: "listbox",
9258
- "aria-multiselectable": $ || void 0,
9295
+ "aria-multiselectable": I || void 0,
9259
9296
  className: "absolute z-50 w-full mt-1 bg-[var(--fibo-surface)] border border-[var(--fibo-outline)] rounded-md shadow-lg max-h-60 overflow-auto focus:outline-none left-0"
9260
9297
  }, [
9261
- ...C.length > 0 ? C.map((w, O) => {
9262
- const q = g(w.value), Y = O === a;
9298
+ ...C.length > 0 ? C.map((v, A) => {
9299
+ const K = w(v.value), X = A === a;
9263
9300
  return l.createElement("div", {
9264
- key: w.value,
9265
- id: `${i}-opt-${w.value}`,
9301
+ key: v.value,
9302
+ id: `${i}-opt-${v.value}`,
9266
9303
  role: "option",
9267
- "aria-selected": q,
9268
- className: `px-4 py-2 cursor-pointer text-sm hover:bg-[var(--fibo-primary-container)] hover:text-[var(--fibo-on-primary-container)] ${q || Y ? "bg-[var(--fibo-primary-container)] text-[var(--fibo-on-primary-container)] font-medium" : "text-[var(--fibo-on-surface)]"} ${q ? "opacity-50" : ""}`,
9269
- onClick: () => !q && y(w),
9270
- onMouseEnter: () => u(O)
9271
- }, w.label);
9304
+ "aria-selected": K,
9305
+ className: `px-4 py-2 cursor-pointer text-sm hover:bg-[var(--fibo-primary-container)] hover:text-[var(--fibo-on-primary-container)] ${K || X ? "bg-[var(--fibo-primary-container)] text-[var(--fibo-on-primary-container)] font-medium" : "text-[var(--fibo-on-surface)]"} ${K ? "opacity-50" : ""}`,
9306
+ onClick: () => !K && y(v),
9307
+ onMouseEnter: () => u(A)
9308
+ }, v.label);
9272
9309
  }) : [l.createElement("div", { key: "empty", className: "px-4 py-2 text-sm text-gray-500" }, "No results found.")],
9273
- s && !C.some((w) => w.label.toLowerCase() === s.toLowerCase()) && R ? l.createElement("div", {
9310
+ s && !C.some((v) => v.label.toLowerCase() === s.toLowerCase()) && B ? l.createElement("div", {
9274
9311
  key: "add-new",
9275
9312
  role: "option",
9276
9313
  "aria-selected": !1,
9277
9314
  className: "border-t border-[var(--fibo-outline)] px-4 py-2 cursor-pointer text-sm text-[var(--fibo-primary)] hover:bg-[var(--fibo-primary-container)] font-medium flex items-center",
9278
- onClick: H
9315
+ onClick: G
9279
9316
  }, [
9280
9317
  l.createElement("span", { key: "plus", className: "mr-1" }, "+"),
9281
9318
  `Add "${s}"`
@@ -9353,7 +9390,7 @@ class hn extends ao {
9353
9390
  }
9354
9391
  build() {
9355
9392
  const i = {
9356
- containerClass: Io("fibo-textfield-container relative", ...this._classNames),
9393
+ containerClass: Fo("fibo-textfield-container relative", ...this._classNames),
9357
9394
  containerStyle: this.getStyle(),
9358
9395
  label: this._label,
9359
9396
  error: this._error,
@@ -9489,7 +9526,7 @@ function Ee(t, o) {
9489
9526
  function Te(t, o, e) {
9490
9527
  return lo(e ? e(t, o) : t);
9491
9528
  }
9492
- const gn = 100, $e = 60, Ne = 5;
9529
+ const gn = 100, Ie = 60, $e = 5;
9493
9530
  function Qo(t) {
9494
9531
  return t.split(";").map((o) => o.trim()).filter(Boolean).map((o) => /\s!important\s*$/i.test(o) ? o : `${o} !important`).join("; ");
9495
9532
  }
@@ -9511,70 +9548,70 @@ const vn = l.memo((t) => {
9511
9548
  customItemActive: m,
9512
9549
  customItemFocus: p,
9513
9550
  itemStyle: T
9514
- } = t, M = l.useId().replace(/:/g, ""), I = `fibo-list-${M}`, R = `fibo-list-custom-styles-${M}`, [X, $] = G(0), [A, v] = G(0), z = U(null), P = U(/* @__PURE__ */ new Map()), D = U(/* @__PURE__ */ new Map()), S = U(null), C = d === "horizontal", V = o.length, y = V > gn, F = (L) => D.current.get(L) ?? $e, H = (L) => {
9551
+ } = t, M = l.useId().replace(/:/g, ""), R = `fibo-list-${M}`, B = `fibo-list-custom-styles-${M}`, [D, I] = Y(0), [$, g] = Y(0), z = U(null), O = U(/* @__PURE__ */ new Map()), W = U(/* @__PURE__ */ new Map()), S = U(null), C = d === "horizontal", V = o.length, y = V > gn, N = (P) => W.current.get(P) ?? Ie, G = (P) => {
9515
9552
  let j = 0;
9516
- for (let eo = 0; eo < L; eo++)
9517
- j += F(eo);
9553
+ for (let eo = 0; eo < P; eo++)
9554
+ j += N(eo);
9518
9555
  return j;
9519
- }, g = () => {
9520
- let L = 0;
9556
+ }, w = () => {
9557
+ let P = 0;
9521
9558
  for (let j = 0; j < V; j++)
9522
- L += F(j);
9523
- return L;
9524
- }, K = (L) => {
9559
+ P += N(j);
9560
+ return P;
9561
+ }, Z = (P) => {
9525
9562
  let j = 0, eo = V - 1;
9526
9563
  for (; j < eo; ) {
9527
9564
  const so = Math.floor((j + eo) / 2);
9528
- H(so) < L ? j = so + 1 : eo = so;
9565
+ G(so) < P ? j = so + 1 : eo = so;
9529
9566
  }
9530
9567
  return Math.max(0, j - 1);
9531
9568
  };
9532
- let w = 0, O = V, q = 0, Y = 0;
9569
+ let v = 0, A = V, K = 0, X = 0;
9533
9570
  if (y) {
9534
- w = Math.max(0, K(X) - Ne);
9535
- let L = H(w), j = w;
9536
- for (; L < X + b + Ne * $e && j < V; )
9537
- L += F(j), j++;
9538
- O = Math.min(V, j), q = H(w), Y = g();
9571
+ v = Math.max(0, Z(D) - $e);
9572
+ let P = G(v), j = v;
9573
+ for (; P < D + b + $e * Ie && j < V; )
9574
+ P += N(j), j++;
9575
+ A = Math.min(V, j), K = G(v), X = w();
9539
9576
  }
9540
- const to = o.slice(w, O);
9577
+ const to = o.slice(v, A);
9541
9578
  oe(() => {
9542
9579
  if (!y) return;
9543
- let L = !1;
9580
+ let P = !1;
9544
9581
  to.forEach((j, eo) => {
9545
- const so = w + eo, Co = P.current.get(so);
9582
+ const so = v + eo, Co = O.current.get(so);
9546
9583
  if (Co) {
9547
9584
  const ce = Co.getBoundingClientRect(), Uo = C ? ce.width : ce.height;
9548
- Uo > 0 && D.current.get(so) !== Uo && (D.current.set(so, Uo), L = !0);
9585
+ Uo > 0 && W.current.get(so) !== Uo && (W.current.set(so, Uo), P = !0);
9549
9586
  }
9550
- }), L && v((j) => j + 1);
9551
- }, [to, w, y, C, A]), oe(() => {
9587
+ }), P && g((j) => j + 1);
9588
+ }, [to, v, y, C, $]), oe(() => {
9552
9589
  if (!f || n) return;
9553
- const L = new IntersectionObserver(
9590
+ const P = new IntersectionObserver(
9554
9591
  (j) => {
9555
9592
  j[0].isIntersecting && (f == null || f());
9556
9593
  },
9557
9594
  { threshold: s }
9558
9595
  );
9559
- return S.current && L.observe(S.current), () => L.disconnect();
9596
+ return S.current && P.observe(S.current), () => P.disconnect();
9560
9597
  }, [n, o.length, f, s]);
9561
- const ko = (L) => {
9562
- y && $(C ? L.currentTarget.scrollLeft : L.currentTarget.scrollTop);
9598
+ const ko = (P) => {
9599
+ y && I(C ? P.currentTarget.scrollLeft : P.currentTarget.scrollTop);
9563
9600
  };
9564
- Z(() => {
9601
+ q(() => {
9565
9602
  if (typeof document > "u" || !x && !m && !p) return;
9566
- let L = document.getElementById(R);
9567
- L || (L = document.createElement("style"), L.id = R, document.head.appendChild(L));
9603
+ let P = document.getElementById(B);
9604
+ P || (P = document.createElement("style"), P.id = B, document.head.appendChild(P));
9568
9605
  let j = "";
9569
- const eo = `.${I}`;
9606
+ const eo = `.${R}`;
9570
9607
  return x && (j += `${eo} .fibo-list-item-custom-hover:hover { ${Qo(x)} }
9571
9608
  `), m && (j += `${eo} .fibo-list-item-custom-active:active { ${Qo(m)} }
9572
9609
  `), p && (j += `${eo} .fibo-list-item-custom-focus:focus-within { ${Qo(p)} }
9573
- `), L.textContent = j, () => {
9574
- const so = document.getElementById(R);
9610
+ `), P.textContent = j, () => {
9611
+ const so = document.getElementById(B);
9575
9612
  so && so.remove();
9576
9613
  };
9577
- }, [x, m, p, I, R]);
9614
+ }, [x, m, p, R, B]);
9578
9615
  const Ao = {
9579
9616
  default: { gap: "0px" },
9580
9617
  card: { gap: "12px" },
@@ -9619,7 +9656,7 @@ const vn = l.memo((t) => {
9619
9656
  "div",
9620
9657
  {
9621
9658
  ref: z,
9622
- className: `fibo-list fibo-list-virtualized ${I} ${a || ""}`,
9659
+ className: `fibo-list fibo-list-virtualized ${R} ${a || ""}`,
9623
9660
  style: {
9624
9661
  height: C ? void 0 : `${b}px`,
9625
9662
  width: C ? `${b}px` : void 0,
@@ -9635,8 +9672,8 @@ const vn = l.memo((t) => {
9635
9672
  },
9636
9673
  l.createElement("div", {
9637
9674
  style: {
9638
- height: C ? "1px" : `${Y}px`,
9639
- width: C ? `${Y}px` : "1px",
9675
+ height: C ? "1px" : `${X}px`,
9676
+ width: C ? `${X}px` : "1px",
9640
9677
  position: "absolute",
9641
9678
  top: 0,
9642
9679
  left: 0,
@@ -9648,21 +9685,21 @@ const vn = l.memo((t) => {
9648
9685
  "div",
9649
9686
  {
9650
9687
  style: {
9651
- transform: C ? `translateX(${q}px)` : `translateY(${q}px)`,
9688
+ transform: C ? `translateX(${K}px)` : `translateY(${K}px)`,
9652
9689
  width: C ? "auto" : "100%",
9653
9690
  height: C ? "100%" : void 0,
9654
9691
  display: C ? "flex" : void 0,
9655
9692
  flexDirection: C ? "row" : void 0
9656
9693
  }
9657
9694
  },
9658
- to.map((L, j) => {
9659
- const eo = w + j, so = Te(L, eo, e);
9695
+ to.map((P, j) => {
9696
+ const eo = v + j, so = Te(P, eo, e);
9660
9697
  return l.cloneElement(
9661
- $o().style(go[i]).classNames(So[i]).children(so).build(),
9698
+ Io().style(go[i]).classNames(So[i]).children(so).build(),
9662
9699
  {
9663
- key: Ee(L, eo),
9700
+ key: Ee(P, eo),
9664
9701
  ref: (Co) => {
9665
- Co ? P.current.set(eo, Co) : P.current.delete(eo);
9702
+ Co ? O.current.set(eo, Co) : O.current.delete(eo);
9666
9703
  }
9667
9704
  }
9668
9705
  );
@@ -9672,15 +9709,15 @@ const vn = l.memo((t) => {
9672
9709
  ref: S,
9673
9710
  className: "py-4 flex justify-center w-full"
9674
9711
  }, n ? l.createElement("div", { className: "animate-spin rounded-full h-5 w-5 border-2 border-gray-300 border-b-blue-600" }) : l.createElement("div", { style: { height: "20px" } }))
9675
- ) : $o().className(a).classNames(["fibo-list", I, "flex", d === "horizontal" ? "flex-row" : "flex-col", "w-full"]).style({
9712
+ ) : Io().className(a).classNames(["fibo-list", R, "flex", d === "horizontal" ? "flex-row" : "flex-col", "w-full"]).style({
9676
9713
  ...Ao[i],
9677
9714
  ...u
9678
9715
  }).children(
9679
9716
  l.createElement(l.Fragment, {}, [
9680
9717
  ...o.map(
9681
- (L, j) => l.cloneElement(
9682
- $o().style(go[i]).classNames(So[i]).children(Te(L, j, e)).build(),
9683
- { key: Ee(L, j) }
9718
+ (P, j) => l.cloneElement(
9719
+ Io().style(go[i]).classNames(So[i]).children(Te(P, j, e)).build(),
9720
+ { key: Ee(P, j) }
9684
9721
  )
9685
9722
  ),
9686
9723
  f && l.createElement("div", {
@@ -9891,7 +9928,7 @@ const zs = co(wn), yn = () => l.createElement(
9891
9928
  return l.createElement(
9892
9929
  "div",
9893
9930
  {
9894
- className: Io("fibo-list-tile flex flex-row items-center w-full", u),
9931
+ className: Fo("fibo-list-tile flex flex-row items-center w-full", u),
9895
9932
  style: {
9896
9933
  padding: x,
9897
9934
  borderBottom: s ? `1px solid ${f || "#3b3b3b"}` : "none",
@@ -10025,10 +10062,10 @@ class Sn extends ao {
10025
10062
  }
10026
10063
  }
10027
10064
  const Cn = l.memo(({ builder: t }) => {
10028
- const o = l.useId(), e = `${o}-content`, i = t._expanded !== void 0, [r, n] = G(t._defaultExpanded), s = i ? t._expanded : r, f = () => {
10065
+ const o = l.useId(), e = `${o}-content`, i = t._expanded !== void 0, [r, n] = Y(t._defaultExpanded), s = i ? t._expanded : r, f = () => {
10029
10066
  i || n(!s), t._onToggle && t._onToggle(!s);
10030
10067
  };
10031
- return $o().classNames(["w-full", "border", "border-gray-200", "rounded-xl", "overflow-hidden", "bg-white", "transition-all", "duration-300"]).className(t.getClassName()).style(t.getStyle()).children([
10068
+ return Io().classNames(["w-full", "border", "border-gray-200", "rounded-xl", "overflow-hidden", "bg-white", "transition-all", "duration-300"]).className(t.getClassName()).style(t.getStyle()).children([
10032
10069
  l.createElement("button", {
10033
10070
  key: "header",
10034
10071
  type: "button",
@@ -10060,7 +10097,7 @@ const Cn = l.memo(({ builder: t }) => {
10060
10097
  className: "text-gray-400"
10061
10098
  }, l.createElement("polyline", { points: "6 9 12 15 18 9" })))
10062
10099
  ]),
10063
- $o().props({
10100
+ Io().props({
10064
10101
  id: e,
10065
10102
  role: "region",
10066
10103
  "aria-labelledby": o,
@@ -10069,7 +10106,7 @@ const Cn = l.memo(({ builder: t }) => {
10069
10106
  maxHeight: s ? "500px" : "0px",
10070
10107
  opacity: s ? 1 : 0
10071
10108
  }).children(
10072
- $o().classNames(["p-4", "pt-0", "text-gray-600", "text-sm"]).children(t._content).build()
10109
+ Io().classNames(["p-4", "pt-0", "text-gray-600", "text-sm"]).children(t._content).build()
10073
10110
  ).build()
10074
10111
  ]).build();
10075
10112
  }), Ts = co(Sn);
@@ -10135,8 +10172,8 @@ class En extends zt {
10135
10172
  if (this.state.hasError && this.state.error) {
10136
10173
  const { fallback: e } = this.props;
10137
10174
  return typeof e == "function" ? e(this.state.error, this.state.errorInfo) : e || /* @__PURE__ */ Po("div", { style: { padding: "2rem", textAlign: "center" }, children: [
10138
- /* @__PURE__ */ W("h1", { children: "Something went wrong" }),
10139
- /* @__PURE__ */ W("p", { children: this.state.error.message })
10175
+ /* @__PURE__ */ H("h1", { children: "Something went wrong" }),
10176
+ /* @__PURE__ */ H("p", { children: this.state.error.message })
10140
10177
  ] });
10141
10178
  }
10142
10179
  return this.props.children;
@@ -10148,7 +10185,7 @@ const Tn = ({ error: t, onReset: o }) => {
10148
10185
  }, i = () => {
10149
10186
  window.location.reload();
10150
10187
  };
10151
- return /* @__PURE__ */ W(
10188
+ return /* @__PURE__ */ H(
10152
10189
  "div",
10153
10190
  {
10154
10191
  style: {
@@ -10174,7 +10211,7 @@ const Tn = ({ error: t, onReset: o }) => {
10174
10211
  textAlign: "center"
10175
10212
  },
10176
10213
  children: [
10177
- /* @__PURE__ */ W(
10214
+ /* @__PURE__ */ H(
10178
10215
  "div",
10179
10216
  {
10180
10217
  style: {
@@ -10199,15 +10236,15 @@ const Tn = ({ error: t, onReset: o }) => {
10199
10236
  strokeLinecap: "round",
10200
10237
  strokeLinejoin: "round",
10201
10238
  children: [
10202
- /* @__PURE__ */ W("circle", { cx: "12", cy: "12", r: "10" }),
10203
- /* @__PURE__ */ W("line", { x1: "12", y1: "8", x2: "12", y2: "12" }),
10204
- /* @__PURE__ */ W("line", { x1: "12", y1: "16", x2: "12.01", y2: "16" })
10239
+ /* @__PURE__ */ H("circle", { cx: "12", cy: "12", r: "10" }),
10240
+ /* @__PURE__ */ H("line", { x1: "12", y1: "8", x2: "12", y2: "12" }),
10241
+ /* @__PURE__ */ H("line", { x1: "12", y1: "16", x2: "12.01", y2: "16" })
10205
10242
  ]
10206
10243
  }
10207
10244
  )
10208
10245
  }
10209
10246
  ),
10210
- /* @__PURE__ */ W(
10247
+ /* @__PURE__ */ H(
10211
10248
  "h1",
10212
10249
  {
10213
10250
  style: {
@@ -10219,7 +10256,7 @@ const Tn = ({ error: t, onReset: o }) => {
10219
10256
  children: "Oops! Something went wrong"
10220
10257
  }
10221
10258
  ),
10222
- t && /* @__PURE__ */ W(
10259
+ t && /* @__PURE__ */ H(
10223
10260
  "div",
10224
10261
  {
10225
10262
  style: {
@@ -10229,7 +10266,7 @@ const Tn = ({ error: t, onReset: o }) => {
10229
10266
  borderRadius: "8px",
10230
10267
  border: "1px solid #fecaca"
10231
10268
  },
10232
- children: /* @__PURE__ */ W(
10269
+ children: /* @__PURE__ */ H(
10233
10270
  "p",
10234
10271
  {
10235
10272
  style: {
@@ -10244,7 +10281,7 @@ const Tn = ({ error: t, onReset: o }) => {
10244
10281
  )
10245
10282
  }
10246
10283
  ),
10247
- /* @__PURE__ */ W(
10284
+ /* @__PURE__ */ H(
10248
10285
  "p",
10249
10286
  {
10250
10287
  style: {
@@ -10266,7 +10303,7 @@ const Tn = ({ error: t, onReset: o }) => {
10266
10303
  flexWrap: "wrap"
10267
10304
  },
10268
10305
  children: [
10269
- o && /* @__PURE__ */ W(
10306
+ o && /* @__PURE__ */ H(
10270
10307
  "button",
10271
10308
  {
10272
10309
  onClick: o,
@@ -10290,7 +10327,7 @@ const Tn = ({ error: t, onReset: o }) => {
10290
10327
  children: "Try Again"
10291
10328
  }
10292
10329
  ),
10293
- /* @__PURE__ */ W(
10330
+ /* @__PURE__ */ H(
10294
10331
  "button",
10295
10332
  {
10296
10333
  onClick: i,
@@ -10314,7 +10351,7 @@ const Tn = ({ error: t, onReset: o }) => {
10314
10351
  children: "Reload Page"
10315
10352
  }
10316
10353
  ),
10317
- /* @__PURE__ */ W(
10354
+ /* @__PURE__ */ H(
10318
10355
  "button",
10319
10356
  {
10320
10357
  onClick: e,
@@ -10349,7 +10386,7 @@ const Tn = ({ error: t, onReset: o }) => {
10349
10386
  textAlign: "left"
10350
10387
  },
10351
10388
  children: [
10352
- /* @__PURE__ */ W(
10389
+ /* @__PURE__ */ H(
10353
10390
  "summary",
10354
10391
  {
10355
10392
  style: {
@@ -10361,7 +10398,7 @@ const Tn = ({ error: t, onReset: o }) => {
10361
10398
  children: "Stack Trace"
10362
10399
  }
10363
10400
  ),
10364
- /* @__PURE__ */ W(
10401
+ /* @__PURE__ */ H(
10365
10402
  "pre",
10366
10403
  {
10367
10404
  style: {
@@ -10386,16 +10423,16 @@ const Tn = ({ error: t, onReset: o }) => {
10386
10423
  }
10387
10424
  );
10388
10425
  };
10389
- function Ie(t, o) {
10426
+ function Fe(t, o) {
10390
10427
  return o && t.startsWith(o) ? t.slice(o.length) || "/" : t || "/";
10391
10428
  }
10392
- function $n(t) {
10429
+ function In(t) {
10393
10430
  return t ? t.startsWith("?") ? t.slice(1) : t : "";
10394
10431
  }
10395
- function Nn(t) {
10432
+ function $n(t) {
10396
10433
  return t ? t.startsWith("#") ? t : `#${t}` : "";
10397
10434
  }
10398
- const In = yo(null), $s = ({
10435
+ const Fn = yo(null), Is = ({
10399
10436
  routes: t,
10400
10437
  fallback: o,
10401
10438
  loading: e,
@@ -10406,69 +10443,69 @@ const In = yo(null), $s = ({
10406
10443
  errorBoundary: f,
10407
10444
  onError: a
10408
10445
  }) => {
10409
- const [u, b] = G(() => Ie(r, i)), [h, d] = G(() => new URLSearchParams($n(n))), [x, m] = G(() => Nn(s)), { route: p, params: T } = ie(t, u), N = l.useRef(p);
10410
- N.current = p;
10411
- const M = ro(async (A, v = {}) => {
10412
- const z = N.current, { route: P } = ie(t, A);
10413
- if (z != null && z.beforeLeave && P) {
10414
- const S = await z.beforeLeave(P, z);
10446
+ const [u, b] = Y(() => Fe(r, i)), [h, d] = Y(() => new URLSearchParams(In(n))), [x, m] = Y(() => $n(s)), { route: p, params: T } = ie(t, u), F = l.useRef(p);
10447
+ F.current = p;
10448
+ const M = ro(async ($, g = {}) => {
10449
+ const z = F.current, { route: O } = ie(t, $);
10450
+ if (z != null && z.beforeLeave && O) {
10451
+ const S = await z.beforeLeave(O, z);
10415
10452
  if (S === !1)
10416
10453
  return;
10417
10454
  if (typeof S == "string")
10418
- return M(S, v);
10455
+ return M(S, g);
10419
10456
  }
10420
- if (P != null && P.beforeEnter) {
10421
- const S = await P.beforeEnter(P, z);
10457
+ if (O != null && O.beforeEnter) {
10458
+ const S = await O.beforeEnter(O, z);
10422
10459
  if (S === !1)
10423
10460
  return;
10424
- typeof S == "string" && (A = S);
10461
+ typeof S == "string" && ($ = S);
10425
10462
  }
10426
- const D = i + A;
10427
- typeof window < "u" && (v.replace ? window.history.replaceState(v.state || {}, "", D) : window.history.pushState(v.state || {}, "", D), d(new URLSearchParams(window.location.search))), b(A);
10428
- }, [i, t]), I = ro(() => {
10463
+ const W = i + $;
10464
+ typeof window < "u" && (g.replace ? window.history.replaceState(g.state || {}, "", W) : window.history.pushState(g.state || {}, "", W), d(new URLSearchParams(window.location.search))), b($);
10465
+ }, [i, t]), R = ro(() => {
10429
10466
  typeof window < "u" && window.history.back();
10430
- }, []), R = ro((A) => {
10431
- M(A, { replace: !0 });
10467
+ }, []), B = ro(($) => {
10468
+ M($, { replace: !0 });
10432
10469
  }, [M]);
10433
- Z(() => {
10470
+ q(() => {
10434
10471
  if (typeof window > "u") return;
10435
- const A = () => {
10436
- b(Ie(window.location.pathname, i)), d(new URLSearchParams(window.location.search)), m(window.location.hash || "");
10472
+ const $ = () => {
10473
+ b(Fe(window.location.pathname, i)), d(new URLSearchParams(window.location.search)), m(window.location.hash || "");
10437
10474
  };
10438
- return A(), window.addEventListener("popstate", A), () => window.removeEventListener("popstate", A);
10475
+ return $(), window.addEventListener("popstate", $), () => window.removeEventListener("popstate", $);
10439
10476
  }, [i]);
10440
- const X = {
10477
+ const D = {
10441
10478
  currentPath: u,
10442
10479
  basename: i,
10443
10480
  navigate: M,
10444
- goBack: I,
10445
- replace: R,
10481
+ goBack: R,
10482
+ replace: B,
10446
10483
  params: T,
10447
10484
  query: h,
10448
10485
  hash: x
10449
- }, $ = () => {
10486
+ }, I = () => {
10450
10487
  if (!p)
10451
- return o ? /* @__PURE__ */ W(o, {}) : /* @__PURE__ */ W("div", { children: "404 - Page Not Found" });
10452
- const A = p.component, v = /* @__PURE__ */ W(In.Provider, { value: p, children: /* @__PURE__ */ W(A, {}) });
10453
- return /* @__PURE__ */ W(
10488
+ return o ? /* @__PURE__ */ H(o, {}) : /* @__PURE__ */ H("div", { children: "404 - Page Not Found" });
10489
+ const $ = p.component, g = /* @__PURE__ */ H(Fn.Provider, { value: p, children: /* @__PURE__ */ H($, {}) });
10490
+ return /* @__PURE__ */ H(
10454
10491
  En,
10455
10492
  {
10456
- fallback: f || /* @__PURE__ */ W(Tn, {}),
10493
+ fallback: f || /* @__PURE__ */ H(Tn, {}),
10457
10494
  onError: a,
10458
- children: v
10495
+ children: g
10459
10496
  }
10460
10497
  );
10461
10498
  };
10462
- return /* @__PURE__ */ W(fe.Provider, { value: X, children: e ? /* @__PURE__ */ W(Et, { fallback: e, children: $() }) : $() });
10499
+ return /* @__PURE__ */ H(fe.Provider, { value: D, children: e ? /* @__PURE__ */ H(Et, { fallback: e, children: I() }) : I() });
10463
10500
  };
10464
10501
  export {
10465
10502
  ar as $,
10466
10503
  as as A,
10467
- Ni as B,
10468
- $t as C,
10504
+ $i as B,
10505
+ It as C,
10469
10506
  Ye as D,
10470
10507
  Kt as E,
10471
- De as F,
10508
+ Xe as F,
10472
10509
  wo as G,
10473
10510
  xi as H,
10474
10511
  Je as I,
@@ -10477,10 +10514,10 @@ export {
10477
10514
  vi as L,
10478
10515
  be as M,
10479
10516
  wi as N,
10480
- Nt as O,
10481
- Dt as P,
10517
+ $t as O,
10518
+ Xt as P,
10482
10519
  ei as Q,
10483
- Xn as R,
10520
+ Dn as R,
10484
10521
  To as S,
10485
10522
  ns as T,
10486
10523
  ts as U,
@@ -10495,11 +10532,11 @@ export {
10495
10532
  _s as a1,
10496
10533
  Ss as a2,
10497
10534
  Cs as a3,
10498
- $o as a4,
10535
+ Io as a4,
10499
10536
  zs as a5,
10500
10537
  Es as a6,
10501
10538
  Ts as a7,
10502
- $s as a8,
10539
+ Is as a8,
10503
10540
  Go as a9,
10504
10541
  le as aA,
10505
10542
  Wn as aB,
@@ -10535,13 +10572,13 @@ export {
10535
10572
  lo as av,
10536
10573
  Vt as aw,
10537
10574
  Yt as ax,
10538
- Io as ay,
10575
+ Fo as ay,
10539
10576
  Gt as az,
10540
10577
  Ae as b,
10541
10578
  Pn as c,
10542
10579
  Vn as d,
10543
10580
  jn as e,
10544
- Dn as f,
10581
+ Xn as f,
10545
10582
  Le as g,
10546
10583
  Wt as h,
10547
10584
  Yn as i,
@@ -10558,8 +10595,8 @@ export {
10558
10595
  es as t,
10559
10596
  Hn as u,
10560
10597
  er as v,
10561
- $i as w,
10562
- Ii as x,
10598
+ Ii as w,
10599
+ Fi as x,
10563
10600
  ss as y,
10564
10601
  fs as z
10565
10602
  };