@clasing/ui 0.1.56 → 0.1.57

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import C, { forwardRef as ue, useState as oe, useEffect as me, createContext as ur, useMemo as zt, useCallback as Se, useRef as Ct, useImperativeHandle as sn, cloneElement as ln, useContext as dn } from "react";
1
+ import C, { forwardRef as ue, useState as ae, useEffect as me, createContext as ur, useMemo as zt, useCallback as Se, useRef as Ct, useImperativeHandle as sn, cloneElement as ln, useContext as dn } from "react";
2
2
  import * as cn from "@tabler/icons-react";
3
3
  import un, { createPortal as bn } from "react-dom";
4
4
  var Gt = { exports: {} }, dt = {};
@@ -48,14 +48,14 @@ function mn() {
48
48
  var w = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
49
49
  function k(l) {
50
50
  {
51
- for (var v = arguments.length, M = new Array(v > 1 ? v - 1 : 0), D = 1; D < v; D++)
52
- M[D - 1] = arguments[D];
51
+ for (var v = arguments.length, M = new Array(v > 1 ? v - 1 : 0), O = 1; O < v; O++)
52
+ M[O - 1] = arguments[O];
53
53
  x("error", l, M);
54
54
  }
55
55
  }
56
56
  function x(l, v, M) {
57
57
  {
58
- var D = w.ReactDebugCurrentFrame, F = D.getStackAddendum();
58
+ var O = w.ReactDebugCurrentFrame, F = O.getStackAddendum();
59
59
  F !== "" && (v += "%s", M = M.concat([F]));
60
60
  var q = M.map(function(_) {
61
61
  return String(_);
@@ -73,16 +73,16 @@ function mn() {
73
73
  l.$$typeof === K || l.getModuleId !== void 0));
74
74
  }
75
75
  function ge(l, v, M) {
76
- var D = l.displayName;
77
- if (D)
78
- return D;
76
+ var O = l.displayName;
77
+ if (O)
78
+ return O;
79
79
  var F = v.displayName || v.name || "";
80
80
  return F !== "" ? M + "(" + F + ")" : M;
81
81
  }
82
82
  function I(l) {
83
83
  return l.displayName || "Context";
84
84
  }
85
- function ae(l) {
85
+ function oe(l) {
86
86
  if (l == null)
87
87
  return null;
88
88
  if (typeof l.tag == "number" && k("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof l == "function")
@@ -114,12 +114,12 @@ function mn() {
114
114
  case d:
115
115
  return ge(l, l.render, "ForwardRef");
116
116
  case b:
117
- var D = l.displayName || null;
118
- return D !== null ? D : ae(l.type) || "Memo";
117
+ var O = l.displayName || null;
118
+ return O !== null ? O : oe(l.type) || "Memo";
119
119
  case g: {
120
120
  var F = l, q = F._payload, _ = F._init;
121
121
  try {
122
- return ae(_(q));
122
+ return oe(_(q));
123
123
  } catch {
124
124
  return null;
125
125
  }
@@ -196,8 +196,8 @@ function mn() {
196
196
  try {
197
197
  throw Error();
198
198
  } catch (F) {
199
- var D = F.stack.trim().match(/\n( *(at )?)/);
200
- _e = D && D[1] || "";
199
+ var O = F.stack.trim().match(/\n( *(at )?)/);
200
+ _e = O && O[1] || "";
201
201
  }
202
202
  return `
203
203
  ` + _e + l;
@@ -216,7 +216,7 @@ function mn() {
216
216
  if (M !== void 0)
217
217
  return M;
218
218
  }
219
- var D;
219
+ var O;
220
220
  ze = !0;
221
221
  var F = Error.prepareStackTrace;
222
222
  Error.prepareStackTrace = void 0;
@@ -235,14 +235,14 @@ function mn() {
235
235
  try {
236
236
  Reflect.construct(_, []);
237
237
  } catch (ye) {
238
- D = ye;
238
+ O = ye;
239
239
  }
240
240
  Reflect.construct(l, [], _);
241
241
  } else {
242
242
  try {
243
243
  _.call();
244
244
  } catch (ye) {
245
- D = ye;
245
+ O = ye;
246
246
  }
247
247
  l.call(_.prototype);
248
248
  }
@@ -250,14 +250,14 @@ function mn() {
250
250
  try {
251
251
  throw Error();
252
252
  } catch (ye) {
253
- D = ye;
253
+ O = ye;
254
254
  }
255
255
  l();
256
256
  }
257
257
  } catch (ye) {
258
- if (ye && D && typeof ye.stack == "string") {
258
+ if (ye && O && typeof ye.stack == "string") {
259
259
  for (var W = ye.stack.split(`
260
- `), fe = D.stack.split(`
260
+ `), fe = O.stack.split(`
261
261
  `), ee = W.length - 1, re = fe.length - 1; ee >= 1 && re >= 0 && W[ee] !== fe[re]; )
262
262
  re--;
263
263
  for (; ee >= 1 && re >= 0; ee--, re--)
@@ -306,7 +306,7 @@ function mn() {
306
306
  case b:
307
307
  return Je(l.type, v, M);
308
308
  case g: {
309
- var D = l, F = D._payload, q = D._init;
309
+ var O = l, F = O._payload, q = O._init;
310
310
  try {
311
311
  return Je(q(F), v, M);
312
312
  } catch {
@@ -323,7 +323,7 @@ function mn() {
323
323
  } else
324
324
  xt.setExtraStackFrame(null);
325
325
  }
326
- function jt(l, v, M, D, F) {
326
+ function jt(l, v, M, O, F) {
327
327
  {
328
328
  var q = Function.call.bind(Ve);
329
329
  for (var _ in l)
@@ -331,22 +331,22 @@ function mn() {
331
331
  var W = void 0;
332
332
  try {
333
333
  if (typeof l[_] != "function") {
334
- var fe = Error((D || "React class") + ": " + M + " type `" + _ + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof l[_] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
334
+ var fe = Error((O || "React class") + ": " + M + " type `" + _ + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof l[_] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
335
335
  throw fe.name = "Invariant Violation", fe;
336
336
  }
337
- W = l[_](v, _, D, M, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
337
+ W = l[_](v, _, O, M, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
338
338
  } catch (ee) {
339
339
  W = ee;
340
340
  }
341
- W && !(W instanceof Error) && (Ke(F), k("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", D || "React class", M, _, typeof W), Ke(null)), W instanceof Error && !(W.message in pt) && (pt[W.message] = !0, Ke(F), k("Failed %s type: %s", M, W.message), Ke(null));
341
+ W && !(W instanceof Error) && (Ke(F), k("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", O || "React class", M, _, typeof W), Ke(null)), W instanceof Error && !(W.message in pt) && (pt[W.message] = !0, Ke(F), k("Failed %s type: %s", M, W.message), Ke(null));
342
342
  }
343
343
  }
344
344
  }
345
- var Dt = Array.isArray;
345
+ var Ot = Array.isArray;
346
346
  function st(l) {
347
- return Dt(l);
347
+ return Ot(l);
348
348
  }
349
- function Ot(l) {
349
+ function Dt(l) {
350
350
  {
351
351
  var v = typeof Symbol == "function" && Symbol.toStringTag, M = v && l[Symbol.toStringTag] || l.constructor.name || "Object";
352
352
  return M;
@@ -364,7 +364,7 @@ function mn() {
364
364
  }
365
365
  function vt(l) {
366
366
  if (Pt(l))
367
- return k("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ot(l)), it(l);
367
+ return k("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Dt(l)), it(l);
368
368
  }
369
369
  var Ge = w.ReactCurrentOwner, Et = {
370
370
  key: !0,
@@ -391,8 +391,8 @@ function mn() {
391
391
  }
392
392
  function _t(l, v) {
393
393
  if (typeof l.ref == "string" && Ge.current && v && Ge.current.stateNode !== v) {
394
- var M = ae(Ge.current.type);
395
- lt[M] || (k('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', ae(Ge.current.type), l.ref), lt[M] = !0);
394
+ var M = oe(Ge.current.type);
395
+ lt[M] || (k('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', oe(Ge.current.type), l.ref), lt[M] = !0);
396
396
  }
397
397
  }
398
398
  function It(l, v) {
@@ -417,7 +417,7 @@ function mn() {
417
417
  });
418
418
  }
419
419
  }
420
- var Rt = function(l, v, M, D, F, q, _) {
420
+ var Rt = function(l, v, M, O, F, q, _) {
421
421
  var W = {
422
422
  // This tag allows us to uniquely identify this as a React Element
423
423
  $$typeof: t,
@@ -438,7 +438,7 @@ function mn() {
438
438
  configurable: !1,
439
439
  enumerable: !1,
440
440
  writable: !1,
441
- value: D
441
+ value: O
442
442
  }), Object.defineProperty(W, "_source", {
443
443
  configurable: !1,
444
444
  enumerable: !1,
@@ -446,7 +446,7 @@ function mn() {
446
446
  value: F
447
447
  }), Object.freeze && (Object.freeze(W.props), Object.freeze(W)), W;
448
448
  };
449
- function z(l, v, M, D, F) {
449
+ function z(l, v, M, O, F) {
450
450
  {
451
451
  var q, _ = {}, W = null, fe = null;
452
452
  M !== void 0 && (vt(M), W = "" + M), Tt(v) && (vt(v.key), W = "" + v.key), Wt(v) && (fe = v.ref, _t(v, F));
@@ -461,7 +461,7 @@ function mn() {
461
461
  var re = typeof l == "function" ? l.displayName || l.name || "Unknown" : l;
462
462
  W && It(_, re), fe && Yt(_, re);
463
463
  }
464
- return Rt(l, W, fe, F, D, Ge.current, _);
464
+ return Rt(l, W, fe, F, O, Ge.current, _);
465
465
  }
466
466
  }
467
467
  var te = w.ReactCurrentOwner, Q = w.ReactDebugCurrentFrame;
@@ -480,7 +480,7 @@ function mn() {
480
480
  function ce() {
481
481
  {
482
482
  if (te.current) {
483
- var l = ae(te.current.type);
483
+ var l = oe(te.current.type);
484
484
  if (l)
485
485
  return `
486
486
 
@@ -514,8 +514,8 @@ Check the top-level render call using <` + M + ">.");
514
514
  if (Z[M])
515
515
  return;
516
516
  Z[M] = !0;
517
- var D = "";
518
- l && l._owner && l._owner !== te.current && (D = " It was passed a child from " + ae(l._owner.type) + "."), Ne(l), k('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', M, D), Ne(null);
517
+ var O = "";
518
+ l && l._owner && l._owner !== te.current && (O = " It was passed a child from " + oe(l._owner.type) + "."), Ne(l), k('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', M, O), Ne(null);
519
519
  }
520
520
  }
521
521
  function Mt(l, v) {
@@ -524,8 +524,8 @@ Check the top-level render call using <` + M + ">.");
524
524
  return;
525
525
  if (st(l))
526
526
  for (var M = 0; M < l.length; M++) {
527
- var D = l[M];
528
- qe(D) && R(D, v);
527
+ var O = l[M];
528
+ qe(O) && R(O, v);
529
529
  }
530
530
  else if (qe(l))
531
531
  l._store && (l._store.validated = !0);
@@ -552,11 +552,11 @@ Check the top-level render call using <` + M + ">.");
552
552
  else
553
553
  return;
554
554
  if (M) {
555
- var D = ae(v);
556
- jt(M, l.props, "prop", D, l);
555
+ var O = oe(v);
556
+ jt(M, l.props, "prop", O, l);
557
557
  } else if (v.PropTypes !== void 0 && !He) {
558
558
  He = !0;
559
- var F = ae(v);
559
+ var F = oe(v);
560
560
  k("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", F || "Unknown");
561
561
  }
562
562
  typeof v.getDefaultProps == "function" && !v.getDefaultProps.isReactClassApproved && k("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
@@ -565,9 +565,9 @@ Check the top-level render call using <` + M + ">.");
565
565
  function At(l) {
566
566
  {
567
567
  for (var v = Object.keys(l.props), M = 0; M < v.length; M++) {
568
- var D = v[M];
569
- if (D !== "children" && D !== "key") {
570
- Ne(l), k("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", D), Ne(null);
568
+ var O = v[M];
569
+ if (O !== "children" && O !== "key") {
570
+ Ne(l), k("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", O), Ne(null);
571
571
  break;
572
572
  }
573
573
  }
@@ -575,7 +575,7 @@ Check the top-level render call using <` + M + ">.");
575
575
  }
576
576
  }
577
577
  var Ue = {};
578
- function Ze(l, v, M, D, F, q) {
578
+ function Ze(l, v, M, O, F, q) {
579
579
  {
580
580
  var _ = U(l);
581
581
  if (!_) {
@@ -584,7 +584,7 @@ Check the top-level render call using <` + M + ">.");
584
584
  var fe = Ie();
585
585
  fe ? W += fe : W += ce();
586
586
  var ee;
587
- l === null ? ee = "null" : st(l) ? ee = "array" : l !== void 0 && l.$$typeof === t ? (ee = "<" + (ae(l.type) || "Unknown") + " />", W = " Did you accidentally export a JSX literal instead of a component?") : ee = typeof l, k("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", ee, W);
587
+ l === null ? ee = "null" : st(l) ? ee = "array" : l !== void 0 && l.$$typeof === t ? (ee = "<" + (oe(l.type) || "Unknown") + " />", W = " Did you accidentally export a JSX literal instead of a component?") : ee = typeof l, k("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", ee, W);
588
588
  }
589
589
  var re = z(l, v, M, F, q);
590
590
  if (re == null)
@@ -592,7 +592,7 @@ Check the top-level render call using <` + M + ">.");
592
592
  if (_) {
593
593
  var ke = v.children;
594
594
  if (ke !== void 0)
595
- if (D)
595
+ if (O)
596
596
  if (st(ke)) {
597
597
  for (var et = 0; et < ke.length; et++)
598
598
  Mt(ke[et], l);
@@ -603,7 +603,7 @@ Check the top-level render call using <` + M + ">.");
603
603
  Mt(ke, l);
604
604
  }
605
605
  if (Ve.call(v, "key")) {
606
- var Xe = ae(l), ye = Object.keys(v).filter(function(an) {
606
+ var Xe = oe(l), ye = Object.keys(v).filter(function(an) {
607
607
  return an !== "key";
608
608
  }), $t = ye.length > 0 ? "{key: someKey, " + ye.join(": ..., ") + ": ...}" : "{key: someKey}";
609
609
  if (!Ue[Xe + $t]) {
@@ -879,7 +879,7 @@ function jn(e, ...t) {
879
879
  const J = (e) => {
880
880
  const t = (r) => r[e] || [];
881
881
  return t.isThemeGetter = !0, t;
882
- }, hr = /^\[(?:([a-z-]+):)?(.+)\]$/i, Dn = /^\d+\/\d+$/, On = /* @__PURE__ */ new Set(["px", "full", "screen"]), Pn = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, En = /\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$/, Wn = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, Tn = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, _n = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, We = (e) => rt(e) || On.has(e) || Dn.test(e), Ye = (e) => at(e, "length", Bn), rt = (e) => !!e && !Number.isNaN(Number(e)), Bt = (e) => at(e, "number", rt), ut = (e) => !!e && Number.isInteger(Number(e)), In = (e) => e.endsWith("%") && rt(e.slice(0, -1)), O = (e) => hr.test(e), Re = (e) => Pn.test(e), Yn = /* @__PURE__ */ new Set(["length", "size", "percentage"]), Rn = (e) => at(e, Yn, yr), Fn = (e) => at(e, "position", yr), An = /* @__PURE__ */ new Set(["image", "url"]), $n = (e) => at(e, An, Gn), zn = (e) => at(e, "", Vn), bt = () => !0, at = (e, t, r) => {
882
+ }, hr = /^\[(?:([a-z-]+):)?(.+)\]$/i, On = /^\d+\/\d+$/, Dn = /* @__PURE__ */ new Set(["px", "full", "screen"]), Pn = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, En = /\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$/, Wn = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, Tn = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, _n = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, We = (e) => rt(e) || Dn.has(e) || On.test(e), Ye = (e) => at(e, "length", Bn), rt = (e) => !!e && !Number.isNaN(Number(e)), Bt = (e) => at(e, "number", rt), ut = (e) => !!e && Number.isInteger(Number(e)), In = (e) => e.endsWith("%") && rt(e.slice(0, -1)), D = (e) => hr.test(e), Re = (e) => Pn.test(e), Yn = /* @__PURE__ */ new Set(["length", "size", "percentage"]), Rn = (e) => at(e, Yn, yr), Fn = (e) => at(e, "position", yr), An = /* @__PURE__ */ new Set(["image", "url"]), $n = (e) => at(e, An, Gn), zn = (e) => at(e, "", Vn), bt = () => !0, at = (e, t, r) => {
883
883
  const n = hr.exec(e);
884
884
  return n ? n[1] ? typeof t == "string" ? n[1] === t : t.has(n[1]) : r(n[2]) : !1;
885
885
  }, Bn = (e) => (
@@ -888,19 +888,19 @@ const J = (e) => {
888
888
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
889
889
  En.test(e) && !Wn.test(e)
890
890
  ), yr = () => !1, Vn = (e) => Tn.test(e), Gn = (e) => _n.test(e), Hn = () => {
891
- const e = J("colors"), t = J("spacing"), r = J("blur"), n = J("brightness"), o = J("borderColor"), a = J("borderRadius"), s = J("borderSpacing"), i = J("borderWidth"), d = J("contrast"), c = J("grayscale"), u = J("hueRotate"), b = J("invert"), g = J("gap"), p = J("gradientColorStops"), y = J("gradientColorStopPositions"), h = J("inset"), m = J("margin"), w = J("opacity"), k = J("padding"), x = J("saturate"), N = J("scale"), S = J("sepia"), E = J("skew"), T = J("space"), $ = J("translate"), K = () => ["auto", "contain", "none"], U = () => ["auto", "hidden", "clip", "visible", "scroll"], ge = () => ["auto", O, t], I = () => [O, t], ae = () => ["", We, Ye], se = () => ["auto", rt, O], ie = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], xe = () => ["solid", "dashed", "dotted", "double", "none"], Pe = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], P = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], H = () => ["", "0", O], be = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], X = () => [rt, O];
891
+ const e = J("colors"), t = J("spacing"), r = J("blur"), n = J("brightness"), o = J("borderColor"), a = J("borderRadius"), s = J("borderSpacing"), i = J("borderWidth"), d = J("contrast"), c = J("grayscale"), u = J("hueRotate"), b = J("invert"), g = J("gap"), p = J("gradientColorStops"), y = J("gradientColorStopPositions"), h = J("inset"), m = J("margin"), w = J("opacity"), k = J("padding"), x = J("saturate"), N = J("scale"), S = J("sepia"), E = J("skew"), T = J("space"), $ = J("translate"), K = () => ["auto", "contain", "none"], U = () => ["auto", "hidden", "clip", "visible", "scroll"], ge = () => ["auto", D, t], I = () => [D, t], oe = () => ["", We, Ye], se = () => ["auto", rt, D], ie = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], xe = () => ["solid", "dashed", "dotted", "double", "none"], Pe = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], P = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], H = () => ["", "0", D], be = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], X = () => [rt, D];
892
892
  return {
893
893
  cacheSize: 500,
894
894
  separator: ":",
895
895
  theme: {
896
896
  colors: [bt],
897
897
  spacing: [We, Ye],
898
- blur: ["none", "", Re, O],
898
+ blur: ["none", "", Re, D],
899
899
  brightness: X(),
900
900
  borderColor: [e],
901
- borderRadius: ["none", "", "full", Re, O],
901
+ borderRadius: ["none", "", "full", Re, D],
902
902
  borderSpacing: I(),
903
- borderWidth: ae(),
903
+ borderWidth: oe(),
904
904
  contrast: X(),
905
905
  grayscale: H(),
906
906
  hueRotate: X(),
@@ -926,7 +926,7 @@ const J = (e) => {
926
926
  * @see https://tailwindcss.com/docs/aspect-ratio
927
927
  */
928
928
  aspect: [{
929
- aspect: ["auto", "square", "video", O]
929
+ aspect: ["auto", "square", "video", D]
930
930
  }],
931
931
  /**
932
932
  * Container
@@ -1011,7 +1011,7 @@ const J = (e) => {
1011
1011
  * @see https://tailwindcss.com/docs/object-position
1012
1012
  */
1013
1013
  "object-position": [{
1014
- object: [...ie(), O]
1014
+ object: [...ie(), D]
1015
1015
  }],
1016
1016
  /**
1017
1017
  * Overflow
@@ -1133,7 +1133,7 @@ const J = (e) => {
1133
1133
  * @see https://tailwindcss.com/docs/z-index
1134
1134
  */
1135
1135
  z: [{
1136
- z: ["auto", ut, O]
1136
+ z: ["auto", ut, D]
1137
1137
  }],
1138
1138
  // Flexbox and Grid
1139
1139
  /**
@@ -1162,7 +1162,7 @@ const J = (e) => {
1162
1162
  * @see https://tailwindcss.com/docs/flex
1163
1163
  */
1164
1164
  flex: [{
1165
- flex: ["1", "auto", "initial", "none", O]
1165
+ flex: ["1", "auto", "initial", "none", D]
1166
1166
  }],
1167
1167
  /**
1168
1168
  * Flex Grow
@@ -1183,7 +1183,7 @@ const J = (e) => {
1183
1183
  * @see https://tailwindcss.com/docs/order
1184
1184
  */
1185
1185
  order: [{
1186
- order: ["first", "last", "none", ut, O]
1186
+ order: ["first", "last", "none", ut, D]
1187
1187
  }],
1188
1188
  /**
1189
1189
  * Grid Template Columns
@@ -1198,8 +1198,8 @@ const J = (e) => {
1198
1198
  */
1199
1199
  "col-start-end": [{
1200
1200
  col: ["auto", {
1201
- span: ["full", ut, O]
1202
- }, O]
1201
+ span: ["full", ut, D]
1202
+ }, D]
1203
1203
  }],
1204
1204
  /**
1205
1205
  * Grid Column Start
@@ -1228,8 +1228,8 @@ const J = (e) => {
1228
1228
  */
1229
1229
  "row-start-end": [{
1230
1230
  row: ["auto", {
1231
- span: [ut, O]
1232
- }, O]
1231
+ span: [ut, D]
1232
+ }, D]
1233
1233
  }],
1234
1234
  /**
1235
1235
  * Grid Row Start
@@ -1257,14 +1257,14 @@ const J = (e) => {
1257
1257
  * @see https://tailwindcss.com/docs/grid-auto-columns
1258
1258
  */
1259
1259
  "auto-cols": [{
1260
- "auto-cols": ["auto", "min", "max", "fr", O]
1260
+ "auto-cols": ["auto", "min", "max", "fr", D]
1261
1261
  }],
1262
1262
  /**
1263
1263
  * Grid Auto Rows
1264
1264
  * @see https://tailwindcss.com/docs/grid-auto-rows
1265
1265
  */
1266
1266
  "auto-rows": [{
1267
- "auto-rows": ["auto", "min", "max", "fr", O]
1267
+ "auto-rows": ["auto", "min", "max", "fr", D]
1268
1268
  }],
1269
1269
  /**
1270
1270
  * Gap
@@ -1507,21 +1507,21 @@ const J = (e) => {
1507
1507
  * @see https://tailwindcss.com/docs/width
1508
1508
  */
1509
1509
  w: [{
1510
- w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw", O, t]
1510
+ w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw", D, t]
1511
1511
  }],
1512
1512
  /**
1513
1513
  * Min-Width
1514
1514
  * @see https://tailwindcss.com/docs/min-width
1515
1515
  */
1516
1516
  "min-w": [{
1517
- "min-w": [O, t, "min", "max", "fit"]
1517
+ "min-w": [D, t, "min", "max", "fit"]
1518
1518
  }],
1519
1519
  /**
1520
1520
  * Max-Width
1521
1521
  * @see https://tailwindcss.com/docs/max-width
1522
1522
  */
1523
1523
  "max-w": [{
1524
- "max-w": [O, t, "none", "full", "min", "max", "fit", "prose", {
1524
+ "max-w": [D, t, "none", "full", "min", "max", "fit", "prose", {
1525
1525
  screen: [Re]
1526
1526
  }, Re]
1527
1527
  }],
@@ -1530,28 +1530,28 @@ const J = (e) => {
1530
1530
  * @see https://tailwindcss.com/docs/height
1531
1531
  */
1532
1532
  h: [{
1533
- h: [O, t, "auto", "min", "max", "fit", "svh", "lvh", "dvh"]
1533
+ h: [D, t, "auto", "min", "max", "fit", "svh", "lvh", "dvh"]
1534
1534
  }],
1535
1535
  /**
1536
1536
  * Min-Height
1537
1537
  * @see https://tailwindcss.com/docs/min-height
1538
1538
  */
1539
1539
  "min-h": [{
1540
- "min-h": [O, t, "min", "max", "fit", "svh", "lvh", "dvh"]
1540
+ "min-h": [D, t, "min", "max", "fit", "svh", "lvh", "dvh"]
1541
1541
  }],
1542
1542
  /**
1543
1543
  * Max-Height
1544
1544
  * @see https://tailwindcss.com/docs/max-height
1545
1545
  */
1546
1546
  "max-h": [{
1547
- "max-h": [O, t, "min", "max", "fit", "svh", "lvh", "dvh"]
1547
+ "max-h": [D, t, "min", "max", "fit", "svh", "lvh", "dvh"]
1548
1548
  }],
1549
1549
  /**
1550
1550
  * Size
1551
1551
  * @see https://tailwindcss.com/docs/size
1552
1552
  */
1553
1553
  size: [{
1554
- size: [O, t, "auto", "min", "max", "fit"]
1554
+ size: [D, t, "auto", "min", "max", "fit"]
1555
1555
  }],
1556
1556
  // Typography
1557
1557
  /**
@@ -1620,7 +1620,7 @@ const J = (e) => {
1620
1620
  * @see https://tailwindcss.com/docs/letter-spacing
1621
1621
  */
1622
1622
  tracking: [{
1623
- tracking: ["tighter", "tight", "normal", "wide", "wider", "widest", O]
1623
+ tracking: ["tighter", "tight", "normal", "wide", "wider", "widest", D]
1624
1624
  }],
1625
1625
  /**
1626
1626
  * Line Clamp
@@ -1634,21 +1634,21 @@ const J = (e) => {
1634
1634
  * @see https://tailwindcss.com/docs/line-height
1635
1635
  */
1636
1636
  leading: [{
1637
- leading: ["none", "tight", "snug", "normal", "relaxed", "loose", We, O]
1637
+ leading: ["none", "tight", "snug", "normal", "relaxed", "loose", We, D]
1638
1638
  }],
1639
1639
  /**
1640
1640
  * List Style Image
1641
1641
  * @see https://tailwindcss.com/docs/list-style-image
1642
1642
  */
1643
1643
  "list-image": [{
1644
- "list-image": ["none", O]
1644
+ "list-image": ["none", D]
1645
1645
  }],
1646
1646
  /**
1647
1647
  * List Style Type
1648
1648
  * @see https://tailwindcss.com/docs/list-style-type
1649
1649
  */
1650
1650
  "list-style-type": [{
1651
- list: ["none", "disc", "decimal", O]
1651
+ list: ["none", "disc", "decimal", D]
1652
1652
  }],
1653
1653
  /**
1654
1654
  * List Style Position
@@ -1717,7 +1717,7 @@ const J = (e) => {
1717
1717
  * @see https://tailwindcss.com/docs/text-underline-offset
1718
1718
  */
1719
1719
  "underline-offset": [{
1720
- "underline-offset": ["auto", We, O]
1720
+ "underline-offset": ["auto", We, D]
1721
1721
  }],
1722
1722
  /**
1723
1723
  * Text Decoration Color
@@ -1755,7 +1755,7 @@ const J = (e) => {
1755
1755
  * @see https://tailwindcss.com/docs/vertical-align
1756
1756
  */
1757
1757
  "vertical-align": [{
1758
- align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", O]
1758
+ align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", D]
1759
1759
  }],
1760
1760
  /**
1761
1761
  * Whitespace
@@ -1783,7 +1783,7 @@ const J = (e) => {
1783
1783
  * @see https://tailwindcss.com/docs/content
1784
1784
  */
1785
1785
  content: [{
1786
- content: ["none", O]
1786
+ content: ["none", D]
1787
1787
  }],
1788
1788
  // Backgrounds
1789
1789
  /**
@@ -2199,7 +2199,7 @@ const J = (e) => {
2199
2199
  * @see https://tailwindcss.com/docs/outline-offset
2200
2200
  */
2201
2201
  "outline-offset": [{
2202
- "outline-offset": [We, O]
2202
+ "outline-offset": [We, D]
2203
2203
  }],
2204
2204
  /**
2205
2205
  * Outline Width
@@ -2220,7 +2220,7 @@ const J = (e) => {
2220
2220
  * @see https://tailwindcss.com/docs/ring-width
2221
2221
  */
2222
2222
  "ring-w": [{
2223
- ring: ae()
2223
+ ring: oe()
2224
2224
  }],
2225
2225
  /**
2226
2226
  * Ring Width Inset
@@ -2326,7 +2326,7 @@ const J = (e) => {
2326
2326
  * @see https://tailwindcss.com/docs/drop-shadow
2327
2327
  */
2328
2328
  "drop-shadow": [{
2329
- "drop-shadow": ["", "none", Re, O]
2329
+ "drop-shadow": ["", "none", Re, D]
2330
2330
  }],
2331
2331
  /**
2332
2332
  * Grayscale
@@ -2483,7 +2483,7 @@ const J = (e) => {
2483
2483
  * @see https://tailwindcss.com/docs/transition-property
2484
2484
  */
2485
2485
  transition: [{
2486
- transition: ["none", "all", "", "colors", "opacity", "shadow", "transform", O]
2486
+ transition: ["none", "all", "", "colors", "opacity", "shadow", "transform", D]
2487
2487
  }],
2488
2488
  /**
2489
2489
  * Transition Duration
@@ -2497,7 +2497,7 @@ const J = (e) => {
2497
2497
  * @see https://tailwindcss.com/docs/transition-timing-function
2498
2498
  */
2499
2499
  ease: [{
2500
- ease: ["linear", "in", "out", "in-out", O]
2500
+ ease: ["linear", "in", "out", "in-out", D]
2501
2501
  }],
2502
2502
  /**
2503
2503
  * Transition Delay
@@ -2511,7 +2511,7 @@ const J = (e) => {
2511
2511
  * @see https://tailwindcss.com/docs/animation
2512
2512
  */
2513
2513
  animate: [{
2514
- animate: ["none", "spin", "ping", "pulse", "bounce", O]
2514
+ animate: ["none", "spin", "ping", "pulse", "bounce", D]
2515
2515
  }],
2516
2516
  // Transforms
2517
2517
  /**
@@ -2547,7 +2547,7 @@ const J = (e) => {
2547
2547
  * @see https://tailwindcss.com/docs/rotate
2548
2548
  */
2549
2549
  rotate: [{
2550
- rotate: [ut, O]
2550
+ rotate: [ut, D]
2551
2551
  }],
2552
2552
  /**
2553
2553
  * Translate X
@@ -2582,7 +2582,7 @@ const J = (e) => {
2582
2582
  * @see https://tailwindcss.com/docs/transform-origin
2583
2583
  */
2584
2584
  "transform-origin": [{
2585
- origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", O]
2585
+ origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", D]
2586
2586
  }],
2587
2587
  // Interactivity
2588
2588
  /**
@@ -2604,7 +2604,7 @@ const J = (e) => {
2604
2604
  * @see https://tailwindcss.com/docs/cursor
2605
2605
  */
2606
2606
  cursor: [{
2607
- cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", O]
2607
+ cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", D]
2608
2608
  }],
2609
2609
  /**
2610
2610
  * Caret Color
@@ -2826,7 +2826,7 @@ const J = (e) => {
2826
2826
  * @see https://tailwindcss.com/docs/will-change
2827
2827
  */
2828
2828
  "will-change": [{
2829
- "will-change": ["auto", "scroll", "contents", "transform", O]
2829
+ "will-change": ["auto", "scroll", "contents", "transform", D]
2830
2830
  }],
2831
2831
  // SVG
2832
2832
  /**
@@ -4118,11 +4118,11 @@ function Mo(e, t) {
4118
4118
  const r = mt(e), n = mt(t);
4119
4119
  return +r == +n;
4120
4120
  }
4121
- function Dr(e) {
4121
+ function Or(e) {
4122
4122
  return e instanceof Date || typeof e == "object" && Object.prototype.toString.call(e) === "[object Date]";
4123
4123
  }
4124
4124
  function Co(e) {
4125
- if (!Dr(e) && typeof e != "number")
4125
+ if (!Or(e) && typeof e != "number")
4126
4126
  return !1;
4127
4127
  const t = Y(e);
4128
4128
  return !isNaN(Number(t));
@@ -4139,11 +4139,11 @@ function jo(e) {
4139
4139
  const t = Y(e);
4140
4140
  return t.setDate(1), t.setHours(0, 0, 0, 0), t;
4141
4141
  }
4142
- function Do(e) {
4142
+ function Oo(e) {
4143
4143
  const t = Y(e), r = t.getFullYear();
4144
4144
  return t.setFullYear(r + 1, 0, 0), t.setHours(23, 59, 59, 999), t;
4145
4145
  }
4146
- function Or(e) {
4146
+ function Dr(e) {
4147
4147
  const t = Y(e), r = ve(e, 0);
4148
4148
  return r.setFullYear(t.getFullYear(), 0, 1), r.setHours(0, 0, 0, 0), r;
4149
4149
  }
@@ -4152,7 +4152,7 @@ function Pr(e, t) {
4152
4152
  const r = gt(), n = (t == null ? void 0 : t.weekStartsOn) ?? ((d = (i = t == null ? void 0 : t.locale) == null ? void 0 : i.options) == null ? void 0 : d.weekStartsOn) ?? r.weekStartsOn ?? ((u = (c = r.locale) == null ? void 0 : c.options) == null ? void 0 : u.weekStartsOn) ?? 0, o = Y(e), a = o.getDay(), s = (a < n ? -7 : 0) + 6 - (a - n);
4153
4153
  return o.setDate(o.getDate() + s), o.setHours(23, 59, 59, 999), o;
4154
4154
  }
4155
- function Oo(e) {
4155
+ function Do(e) {
4156
4156
  return Pr(e, { weekStartsOn: 1 });
4157
4157
  }
4158
4158
  const Po = {
@@ -4264,7 +4264,7 @@ const Eo = {
4264
4264
  nextWeek: "eeee 'at' p",
4265
4265
  other: "P"
4266
4266
  }, Wr = (e, t, r, n) => Io[e];
4267
- function De(e) {
4267
+ function Oe(e) {
4268
4268
  return (t, r) => {
4269
4269
  const n = r != null && r.context ? String(r.context) : "standalone";
4270
4270
  let o;
@@ -4406,31 +4406,31 @@ const Yo = {
4406
4406
  return r + "th";
4407
4407
  }, Tr = {
4408
4408
  ordinalNumber: Bo,
4409
- era: De({
4409
+ era: Oe({
4410
4410
  values: Yo,
4411
4411
  defaultWidth: "wide"
4412
4412
  }),
4413
- quarter: De({
4413
+ quarter: Oe({
4414
4414
  values: Ro,
4415
4415
  defaultWidth: "wide",
4416
4416
  argumentCallback: (e) => e - 1
4417
4417
  }),
4418
- month: De({
4418
+ month: Oe({
4419
4419
  values: Fo,
4420
4420
  defaultWidth: "wide"
4421
4421
  }),
4422
- day: De({
4422
+ day: Oe({
4423
4423
  values: Ao,
4424
4424
  defaultWidth: "wide"
4425
4425
  }),
4426
- dayPeriod: De({
4426
+ dayPeriod: Oe({
4427
4427
  values: $o,
4428
4428
  defaultWidth: "wide",
4429
4429
  formattingValues: zo,
4430
4430
  defaultFormattingWidth: "wide"
4431
4431
  })
4432
4432
  };
4433
- function Oe(e) {
4433
+ function De(e) {
4434
4434
  return (t, r = {}) => {
4435
4435
  const n = r.width, o = n && e.matchPatterns[n] || e.matchPatterns[e.defaultMatchWidth], a = t.match(o);
4436
4436
  if (!a)
@@ -4543,32 +4543,32 @@ const Ho = /^(\d+)(th|st|nd|rd)?/i, qo = /\d+/i, Xo = {
4543
4543
  parsePattern: qo,
4544
4544
  valueCallback: (e) => parseInt(e, 10)
4545
4545
  }),
4546
- era: Oe({
4546
+ era: De({
4547
4547
  matchPatterns: Xo,
4548
4548
  defaultMatchWidth: "wide",
4549
4549
  parsePatterns: Lo,
4550
4550
  defaultParseWidth: "any"
4551
4551
  }),
4552
- quarter: Oe({
4552
+ quarter: De({
4553
4553
  matchPatterns: Qo,
4554
4554
  defaultMatchWidth: "wide",
4555
4555
  parsePatterns: Jo,
4556
4556
  defaultParseWidth: "any",
4557
4557
  valueCallback: (e) => e + 1
4558
4558
  }),
4559
- month: Oe({
4559
+ month: De({
4560
4560
  matchPatterns: Ko,
4561
4561
  defaultMatchWidth: "wide",
4562
4562
  parsePatterns: Uo,
4563
4563
  defaultParseWidth: "any"
4564
4564
  }),
4565
- day: Oe({
4565
+ day: De({
4566
4566
  matchPatterns: Zo,
4567
4567
  defaultMatchWidth: "wide",
4568
4568
  parsePatterns: ea,
4569
4569
  defaultParseWidth: "any"
4570
4570
  }),
4571
- dayPeriod: Oe({
4571
+ dayPeriod: De({
4572
4572
  matchPatterns: ta,
4573
4573
  defaultMatchWidth: "any",
4574
4574
  parsePatterns: ra,
@@ -4588,7 +4588,7 @@ const Ho = /^(\d+)(th|st|nd|rd)?/i, qo = /\d+/i, Xo = {
4588
4588
  };
4589
4589
  function na(e) {
4590
4590
  const t = Y(e);
4591
- return jr(t, Or(t)) + 1;
4591
+ return jr(t, Dr(t)) + 1;
4592
4592
  }
4593
4593
  function Yr(e) {
4594
4594
  const t = Y(e), r = +ft(t) - +po(t);
@@ -5321,12 +5321,12 @@ const ja = {
5321
5321
  long: "d MMMM yyyy",
5322
5322
  medium: "d MMM yyyy",
5323
5323
  short: "dd/MM/yyyy"
5324
- }, Da = {
5324
+ }, Oa = {
5325
5325
  full: "HH:mm:ss zzzz",
5326
5326
  long: "HH:mm:ss z",
5327
5327
  medium: "HH:mm:ss",
5328
5328
  short: "HH:mm"
5329
- }, Oa = {
5329
+ }, Da = {
5330
5330
  full: "{{date}} 'at' {{time}}",
5331
5331
  long: "{{date}} 'at' {{time}}",
5332
5332
  medium: "{{date}}, {{time}}",
@@ -5337,11 +5337,11 @@ const ja = {
5337
5337
  defaultWidth: "full"
5338
5338
  }),
5339
5339
  time: Te({
5340
- formats: Da,
5340
+ formats: Oa,
5341
5341
  defaultWidth: "full"
5342
5342
  }),
5343
5343
  dateTime: Te({
5344
- formats: Oa,
5344
+ formats: Da,
5345
5345
  defaultWidth: "full"
5346
5346
  })
5347
5347
  }, $r = {
@@ -5578,24 +5578,24 @@ const ja = {
5578
5578
  }
5579
5579
  }, qa = (e, t) => Number(e) + "º", Xa = {
5580
5580
  ordinalNumber: qa,
5581
- era: De({
5581
+ era: Oe({
5582
5582
  values: $a,
5583
5583
  defaultWidth: "wide"
5584
5584
  }),
5585
- quarter: De({
5585
+ quarter: Oe({
5586
5586
  values: za,
5587
5587
  defaultWidth: "wide",
5588
5588
  argumentCallback: (e) => Number(e) - 1
5589
5589
  }),
5590
- month: De({
5590
+ month: Oe({
5591
5591
  values: Ba,
5592
5592
  defaultWidth: "wide"
5593
5593
  }),
5594
- day: De({
5594
+ day: Oe({
5595
5595
  values: Va,
5596
5596
  defaultWidth: "wide"
5597
5597
  }),
5598
- dayPeriod: De({
5598
+ dayPeriod: Oe({
5599
5599
  values: Ga,
5600
5600
  defaultWidth: "wide",
5601
5601
  formattingValues: Ha,
@@ -5680,32 +5680,32 @@ const ja = {
5680
5680
  return parseInt(e, 10);
5681
5681
  }
5682
5682
  }),
5683
- era: Oe({
5683
+ era: De({
5684
5684
  matchPatterns: Ja,
5685
5685
  defaultMatchWidth: "wide",
5686
5686
  parsePatterns: Ka,
5687
5687
  defaultParseWidth: "any"
5688
5688
  }),
5689
- quarter: Oe({
5689
+ quarter: De({
5690
5690
  matchPatterns: Ua,
5691
5691
  defaultMatchWidth: "wide",
5692
5692
  parsePatterns: Za,
5693
5693
  defaultParseWidth: "any",
5694
5694
  valueCallback: (e) => e + 1
5695
5695
  }),
5696
- month: Oe({
5696
+ month: De({
5697
5697
  matchPatterns: es,
5698
5698
  defaultMatchWidth: "wide",
5699
5699
  parsePatterns: ts,
5700
5700
  defaultParseWidth: "any"
5701
5701
  }),
5702
- day: Oe({
5702
+ day: De({
5703
5703
  matchPatterns: rs,
5704
5704
  defaultMatchWidth: "wide",
5705
5705
  parsePatterns: ns,
5706
5706
  defaultParseWidth: "any"
5707
5707
  }),
5708
- dayPeriod: Oe({
5708
+ dayPeriod: De({
5709
5709
  matchPatterns: os,
5710
5710
  defaultMatchWidth: "any",
5711
5711
  parsePatterns: as,
@@ -5829,11 +5829,11 @@ function js(e) {
5829
5829
  C.createElement("tr", { ...e })
5830
5830
  );
5831
5831
  }
5832
- function Ds(e) {
5832
+ function Os(e) {
5833
5833
  const { week: t, ...r } = e;
5834
5834
  return C.createElement("td", { ...r });
5835
5835
  }
5836
- function Os(e) {
5836
+ function Ds(e) {
5837
5837
  return C.createElement("th", { ...e });
5838
5838
  }
5839
5839
  const Ps = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -5855,8 +5855,8 @@ const Ps = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5855
5855
  Root: ks,
5856
5856
  Select: Ms,
5857
5857
  Week: Ns,
5858
- WeekNumber: Ds,
5859
- WeekNumberHeader: Os,
5858
+ WeekNumber: Os,
5859
+ WeekNumberHeader: Ds,
5860
5860
  Weekday: Ss,
5861
5861
  Weekdays: js,
5862
5862
  Weeks: Cs
@@ -5887,16 +5887,16 @@ const Me = {
5887
5887
  addYears: vo,
5888
5888
  differenceInCalendarDays: jr,
5889
5889
  differenceInCalendarMonths: No,
5890
- endOfISOWeek: Oo,
5890
+ endOfISOWeek: Do,
5891
5891
  endOfMonth: So,
5892
5892
  endOfWeek: Pr,
5893
- endOfYear: Do,
5893
+ endOfYear: Oo,
5894
5894
  format: je,
5895
5895
  getISOWeek: Yr,
5896
5896
  getWeek: Fr,
5897
5897
  isAfter: wa,
5898
5898
  isBefore: ka,
5899
- isDate: Dr,
5899
+ isDate: Or,
5900
5900
  isSameDay: Mo,
5901
5901
  isSameMonth: Ma,
5902
5902
  isSameYear: Ca,
@@ -5908,7 +5908,7 @@ const Me = {
5908
5908
  startOfISOWeek: ft,
5909
5909
  startOfMonth: jo,
5910
5910
  startOfWeek: ot,
5911
- startOfYear: Or
5911
+ startOfYear: Dr
5912
5912
  };
5913
5913
  function Ts(e) {
5914
5914
  return {
@@ -6195,7 +6195,7 @@ function hi(e) {
6195
6195
  return e.reduce((r, n) => [...r, ...n.weeks], t);
6196
6196
  }
6197
6197
  function yi(e, t) {
6198
- const [r, n] = fi(e, t), { startOfMonth: o, endOfMonth: a } = t, s = Vt(e, t), [i, d] = oe(s);
6198
+ const [r, n] = fi(e, t), { startOfMonth: o, endOfMonth: a } = t, s = Vt(e, t), [i, d] = ae(s);
6199
6199
  me(() => {
6200
6200
  const E = Vt(e, t);
6201
6201
  d(E);
@@ -6306,7 +6306,7 @@ function Lr(e, t, r, n, o, a, s, i = 0) {
6306
6306
  return !c && !u ? g : Lr(e, t, g, n, o, a, s, i + 1);
6307
6307
  }
6308
6308
  function Si(e, t, r, n, o) {
6309
- const { autoFocus: a } = e, [s, i] = oe(), d = xi(t.days, r, n || (() => !1), s), [c, u] = oe(a ? d : void 0);
6309
+ const { autoFocus: a } = e, [s, i] = ae(), d = xi(t.days, r, n || (() => !1), s), [c, u] = ae(a ? d : void 0);
6310
6310
  return {
6311
6311
  isFocusTarget: (h) => !!(d != null && d.isEqualTo(h)),
6312
6312
  setFocused: u,
@@ -6373,7 +6373,7 @@ function ji(e, t, r) {
6373
6373
  };
6374
6374
  };
6375
6375
  }
6376
- function Di(e, t) {
6376
+ function Oi(e, t) {
6377
6377
  const { selected: r, required: n, onSelect: o, mode: a } = e, [s, i] = C.useState(r), { isSameDay: d } = t;
6378
6378
  C.useEffect(() => {
6379
6379
  i(r);
@@ -6394,7 +6394,7 @@ function Di(e, t) {
6394
6394
  isSelected: c
6395
6395
  };
6396
6396
  }
6397
- function Oi(e, t, r = 0, n = 0, o = !1, a = Me) {
6397
+ function Di(e, t, r = 0, n = 0, o = !1, a = Me) {
6398
6398
  const { from: s, to: i } = t || {}, { isSameDay: d, isAfter: c, isBefore: u } = a;
6399
6399
  let b;
6400
6400
  if (!s && !i)
@@ -6429,7 +6429,7 @@ function Pi(e, t) {
6429
6429
  }, [o]), {
6430
6430
  selected: i,
6431
6431
  select: (b, g, p) => {
6432
- const { min: y, max: h } = e, m = b ? Oi(b, i, y, h, a, t) : void 0;
6432
+ const { min: y, max: h } = e, m = b ? Di(b, i, y, h, a, t) : void 0;
6433
6433
  if (m != null && m.from && m.to) {
6434
6434
  let w = m.from;
6435
6435
  for (; t.differenceInCalendarDays(m.to, w) > 0; )
@@ -6457,7 +6457,7 @@ function Ei(e, t) {
6457
6457
  };
6458
6458
  }
6459
6459
  function Wi(e, t) {
6460
- const r = Ei(e, t), n = Di(e, t), o = Pi(e, t);
6460
+ const r = Ei(e, t), n = Oi(e, t), o = Pi(e, t);
6461
6461
  switch (e.mode) {
6462
6462
  case "single":
6463
6463
  return r;
@@ -6490,7 +6490,7 @@ function Qr(e) {
6490
6490
  firstWeekContainsDate: d,
6491
6491
  useAdditionalWeekYearTokens: S,
6492
6492
  useAdditionalDayOfYearTokens: N
6493
- }, $ = T, { formatCaption: K, formatDay: U, formatMonthDropdown: ge, formatWeekNumber: I, formatWeekNumberHeader: ae, formatWeekdayName: se, formatYearDropdown: ie } = r, xe = yi(e, o), { days: Pe, months: P, navStart: H, navEnd: be, previousMonth: X, nextMonth: he, goToMonth: de } = xe, Ce = ji(Pe, e, o), { isSelected: Ae, select: Ee, selected: _e } = Wi(e, o) ?? {}, { blur: $e, focused: ze, isFocusTarget: Qe, moveFocus: yt, setFocused: Be } = Si(e, xe, Ce, Ae ?? (() => !1), o), { labelDayButton: Nt, labelGridcell: St, labelGrid: Je, labelMonthDropdown: Ve, labelNav: pt, labelNext: xt, labelPrevious: Ke, labelWeekday: jt, labelWeekNumber: Dt, labelWeekNumberHeader: st, labelYearDropdown: Ot } = n, Pt = zt(() => qs(a, e.weekStartsOn, e.ISOWeek, o), [o, a, e.ISOWeek, e.weekStartsOn]), it = c !== void 0 || b !== void 0, vt = Se(() => {
6493
+ }, $ = T, { formatCaption: K, formatDay: U, formatMonthDropdown: ge, formatWeekNumber: I, formatWeekNumberHeader: oe, formatWeekdayName: se, formatYearDropdown: ie } = r, xe = yi(e, o), { days: Pe, months: P, navStart: H, navEnd: be, previousMonth: X, nextMonth: he, goToMonth: de } = xe, Ce = ji(Pe, e, o), { isSelected: Ae, select: Ee, selected: _e } = Wi(e, o) ?? {}, { blur: $e, focused: ze, isFocusTarget: Qe, moveFocus: yt, setFocused: Be } = Si(e, xe, Ce, Ae ?? (() => !1), o), { labelDayButton: Nt, labelGridcell: St, labelGrid: Je, labelMonthDropdown: Ve, labelNav: pt, labelNext: xt, labelPrevious: Ke, labelWeekday: jt, labelWeekNumber: Ot, labelWeekNumberHeader: st, labelYearDropdown: Dt } = n, Pt = zt(() => qs(a, e.weekStartsOn, e.ISOWeek, o), [o, a, e.ISOWeek, e.weekStartsOn]), it = c !== void 0 || b !== void 0, vt = Se(() => {
6494
6494
  X && (de(X), w == null || w(X));
6495
6495
  }, [X, de, w]), Ge = Se(() => {
6496
6496
  he && (de(he), m == null || m(he));
@@ -6572,7 +6572,7 @@ function Qr(e) {
6572
6572
  t.DropdownNav,
6573
6573
  { className: s[j.Dropdowns], style: x == null ? void 0 : x[j.Dropdowns] },
6574
6574
  i === "dropdown" || i === "dropdown-months" ? C.createElement(t.Dropdown, { "aria-label": Ve(), classNames: s, components: t, disabled: !!e.disableNavigation, onChange: Q, options: He, style: x == null ? void 0 : x[j.Dropdown], value: z.date.getMonth() }) : C.createElement("span", { role: "status", "aria-live": "polite" }, ge(z.date.getMonth())),
6575
- i === "dropdown" || i === "dropdown-years" ? C.createElement(t.Dropdown, { "aria-label": Ot($), classNames: s, components: t, disabled: !!e.disableNavigation, onChange: Ne, options: qe, style: x == null ? void 0 : x[j.Dropdown], value: z.date.getFullYear() }) : C.createElement("span", { role: "status", "aria-live": "polite" }, ie(z.date.getFullYear()))
6575
+ i === "dropdown" || i === "dropdown-years" ? C.createElement(t.Dropdown, { "aria-label": Dt($), classNames: s, components: t, disabled: !!e.disableNavigation, onChange: Ne, options: qe, style: x == null ? void 0 : x[j.Dropdown], value: z.date.getFullYear() }) : C.createElement("span", { role: "status", "aria-live": "polite" }, ie(z.date.getFullYear()))
6576
6576
  ) : C.createElement(t.CaptionLabel, { className: s[j.CaptionLabel], role: "status", "aria-live": "polite" }, K(z.date, T, o))),
6577
6577
  C.createElement(
6578
6578
  t.MonthGrid,
@@ -6580,13 +6580,13 @@ function Qr(e) {
6580
6580
  !e.hideWeekdays && C.createElement(
6581
6581
  t.Weekdays,
6582
6582
  { className: s[j.Weekdays], role: "row", style: x == null ? void 0 : x[j.Weekdays] },
6583
- k && C.createElement(t.WeekNumberHeader, { "aria-label": st($), className: s[j.WeekNumberHeader], role: "columnheader", style: x == null ? void 0 : x[j.WeekNumberHeader] }, ae()),
6583
+ k && C.createElement(t.WeekNumberHeader, { "aria-label": st($), className: s[j.WeekNumberHeader], role: "columnheader", style: x == null ? void 0 : x[j.WeekNumberHeader] }, oe()),
6584
6584
  Pt.map((ce, Ie) => C.createElement(t.Weekday, { "aria-label": jt(ce, $, o), className: s[j.Weekday], key: Ie, role: "columnheader", style: x == null ? void 0 : x[j.Weekday] }, se(ce, T, o)))
6585
6585
  ),
6586
6586
  C.createElement(t.Weeks, { className: s[j.Weeks], role: "rowgroup", style: x == null ? void 0 : x[j.Weeks] }, z.weeks.map((ce, Ie) => C.createElement(
6587
6587
  t.Week,
6588
6588
  { className: s[j.Week], key: ce.weekNumber, role: "row", style: x == null ? void 0 : x[j.Week], week: ce },
6589
- k && C.createElement(t.WeekNumber, { week: ce, role: "rowheader", style: x == null ? void 0 : x[j.WeekNumber], "aria-label": Dt(ce.weekNumber, {
6589
+ k && C.createElement(t.WeekNumber, { week: ce, role: "rowheader", style: x == null ? void 0 : x[j.WeekNumber], "aria-label": Ot(ce.weekNumber, {
6590
6590
  locale: a
6591
6591
  }), className: s[j.WeekNumber] }, I(ce.weekNumber)),
6592
6592
  ce.days.map((Z) => {
@@ -6678,7 +6678,7 @@ const Ti = {
6678
6678
  onMouseDown: s,
6679
6679
  onMouseUp: i
6680
6680
  }, d) => {
6681
- const [c, u] = oe(r), b = Ct(null), g = Ct(null);
6681
+ const [c, u] = ae(r), b = Ct(null), g = Ct(null);
6682
6682
  me(() => {
6683
6683
  u(r);
6684
6684
  }, [r]), me(() => {
@@ -6751,7 +6751,7 @@ const Ti = {
6751
6751
  maxDate: p,
6752
6752
  ...y
6753
6753
  }, h) => {
6754
- const [m, w] = oe(), k = Ct(null), x = (S) => {
6754
+ const [m, w] = ae(), k = Ct(null), x = (S) => {
6755
6755
  var E;
6756
6756
  w(S), b && b({
6757
6757
  target: {
@@ -6888,7 +6888,7 @@ const Ai = ({ onChange: e, value: t, options: r }) => /* @__PURE__ */ f.jsx(
6888
6888
  maxDate: p,
6889
6889
  ...y
6890
6890
  }, h) => {
6891
- const [m, w] = oe({
6891
+ const [m, w] = ae({
6892
6892
  from: c ? new Date(c) : void 0,
6893
6893
  to: u ? new Date(u) : void 0
6894
6894
  }), k = (N) => {
@@ -7032,7 +7032,7 @@ const Vi = ({ ref: e, handler: t }) => {
7032
7032
  value: y,
7033
7033
  ...h
7034
7034
  }, m) => {
7035
- const [w, k] = oe(!1), [x, N] = oe(s), [S, E] = oe(""), [T, $] = oe(null), [K, U] = oe([]), [ge, I] = oe(!1);
7035
+ const [w, k] = ae(!1), [x, N] = ae(s), [S, E] = ae(""), [T, $] = ae(null), [K, U] = ae([]), [ge, I] = ae(!1);
7036
7036
  me(() => {
7037
7037
  if (s)
7038
7038
  if (p) {
@@ -7051,7 +7051,7 @@ const Vi = ({ ref: e, handler: t }) => {
7051
7051
  )
7052
7052
  );
7053
7053
  }, [S, s]);
7054
- const ae = (P) => {
7054
+ const oe = (P) => {
7055
7055
  var H, be, X, he;
7056
7056
  if (P === null) {
7057
7057
  p ? (U([]), (H = h.onChange) == null || H.call(h, [])) : ($(null), (be = h.onChange) == null || be.call(h, null), k(!1));
@@ -7158,7 +7158,7 @@ const Vi = ({ ref: e, handler: t }) => {
7158
7158
  {
7159
7159
  type: "button",
7160
7160
  className: "w-full rounded-sm border-b-xs border-border-subtle px-3 py-4 text-left text-content-text-subtlest hover:text-content-text-subtle lg:hover:bg-background-neutral",
7161
- onClick: () => ae(null),
7161
+ onClick: () => oe(null),
7162
7162
  tabIndex: w ? 0 : -1,
7163
7163
  children: /* @__PURE__ */ f.jsx(V, { intent: "label-md", children: d })
7164
7164
  }
@@ -7203,7 +7203,7 @@ const Vi = ({ ref: e, handler: t }) => {
7203
7203
  "text-content-text-subtle lg:hover:bg-background-blue-subtle lg:hover:text-content-text-default": !H
7204
7204
  }
7205
7205
  ),
7206
- onClick: () => ae(P),
7206
+ onClick: () => oe(P),
7207
7207
  tabIndex: w ? 0 : -1,
7208
7208
  children: [
7209
7209
  /* @__PURE__ */ f.jsx(
@@ -7252,7 +7252,7 @@ const Hi = ue(
7252
7252
  ...i
7253
7253
  }, d) => {
7254
7254
  typeof t == "string" && (t = { name: t });
7255
- const [c, u] = oe(!1), b = s === "textarea" ? "textarea" : "input";
7255
+ const [c, u] = ae(!1), b = s === "textarea" ? "textarea" : "input";
7256
7256
  return /* @__PURE__ */ f.jsxs("div", { className: "flex flex-col gap-3", children: [
7257
7257
  e && /* @__PURE__ */ f.jsx("label", { htmlFor: i.id, children: /* @__PURE__ */ f.jsx(
7258
7258
  V,
@@ -7584,27 +7584,22 @@ const sl = Kr, il = ({
7584
7584
  setIsOpen: n,
7585
7585
  canClose: o = !0,
7586
7586
  intent: a = "card",
7587
- closeOnClickOutside: s = !0
7587
+ closeOnClickOutside: s = !0,
7588
+ closeButtonAriaLabel: i = "Close"
7588
7589
  }) => {
7589
- const [i, d] = oe(r), [c, u] = oe(!1);
7590
+ const [d, c] = ae(r), u = Se(() => {
7591
+ c(!1), setTimeout(() => n(!1), 80);
7592
+ }, [n, c]);
7590
7593
  me(() => {
7591
- if (r)
7592
- d(!0), u(!0);
7593
- else {
7594
- u(!0);
7595
- const p = setTimeout(() => {
7596
- d(!1), u(!1);
7597
- }, 75);
7598
- return () => clearTimeout(p);
7599
- }
7594
+ r && c(!0);
7600
7595
  }, [r]), me(() => {
7601
7596
  const p = (y) => {
7602
- y.key === "Escape" && n(!1);
7597
+ y.key === "Escape" && u();
7603
7598
  };
7604
7599
  return window.addEventListener("keydown", p), () => {
7605
7600
  window.removeEventListener("keydown", p);
7606
7601
  };
7607
- }, [n]);
7602
+ }, [u]);
7608
7603
  const b = typeof window < "u";
7609
7604
  me(() => {
7610
7605
  if (b) {
@@ -7613,9 +7608,9 @@ const sl = Kr, il = ({
7613
7608
  }
7614
7609
  }, [r, b]);
7615
7610
  const g = (p) => {
7616
- p.target === p.currentTarget && s && o && n(!1);
7611
+ p.target === p.currentTarget && s && o && u();
7617
7612
  };
7618
- return i ? bn(
7613
+ return r ? bn(
7619
7614
  /* @__PURE__ */ f.jsx(
7620
7615
  "div",
7621
7616
  {
@@ -7624,8 +7619,8 @@ const sl = Kr, il = ({
7624
7619
  className: pe(
7625
7620
  `fixed inset-0 z-[999] flex justify-center ${a === "card" ? "items-center" : "items-end"} transition-colors duration-75`,
7626
7621
  {
7627
- "visible bg-background-white/80 backdrop-blur-[2px]": r || c,
7628
- invisible: !r && !c
7622
+ "visible bg-background-white/80 backdrop-blur-[2px]": r,
7623
+ invisible: !r
7629
7624
  }
7630
7625
  ),
7631
7626
  tabIndex: -1,
@@ -7634,22 +7629,24 @@ const sl = Kr, il = ({
7634
7629
  {
7635
7630
  onClick: (p) => p.stopPropagation(),
7636
7631
  className: G(
7637
- `relative w-full bg-background-white p-6 shadow-sm transition-all duration-75 ${a === "card" ? "md:w-fit" : ""}`,
7632
+ `relative w-full bg-background-white p-6 shadow-sm transition-all delay-[50ms] duration-75 ease-in-out ${a === "card" ? "md:w-fit" : ""}`,
7638
7633
  {
7639
- "m-2 scale-100 rounded-lg opacity-100": r && a === "card",
7640
- "m-2 scale-95 rounded-lg opacity-0": !r && c && a === "card",
7641
- "translate-y-0 rounded-xs opacity-100": r && a === "sheet",
7642
- "translate-y-10 rounded-xs opacity-0": !r && c && a === "sheet"
7634
+ "m-2 scale-100 rounded-lg opacity-100": d && a === "card",
7635
+ "m-2 scale-95 rounded-lg opacity-0": !d && a === "card",
7636
+ "translate-y-0 rounded-xs opacity-100": d && a === "sheet",
7637
+ "translate-y-10 rounded-xs opacity-0": !d && a === "sheet"
7643
7638
  },
7644
7639
  e
7645
7640
  ),
7646
7641
  children: [
7647
7642
  o && /* @__PURE__ */ f.jsx(
7648
- A,
7643
+ "button",
7649
7644
  {
7650
- onClick: () => n(!1),
7651
- iconName: "IconX",
7652
- className: "absolute right-4 top-4 cursor-pointer transition-colors lg:hover:text-content-text-subtle"
7645
+ "aria-label": i,
7646
+ type: "button",
7647
+ onClick: u,
7648
+ className: "absolute right-4 top-4 cursor-pointer transition-colors lg:hover:text-content-text-subtle",
7649
+ children: /* @__PURE__ */ f.jsx(A, { iconName: "IconX" })
7653
7650
  }
7654
7651
  ),
7655
7652
  t
@@ -7836,7 +7833,7 @@ const sl = Kr, il = ({
7836
7833
  duration: i,
7837
7834
  ...d
7838
7835
  }, c) => {
7839
- const u = s === "top" || s === "top-left" || s === "top-right" ? "animate-fade-in-top-to-bottom" : "animate-fade-in-bottom-to-top", b = s === "top" || s === "top-left" || s === "top-right" ? "animate-fade-out-bottom-to-top" : "animate-fade-out-top-to-bottom", [g, p] = oe(!1);
7836
+ const u = s === "top" || s === "top-left" || s === "top-right" ? "animate-fade-in-top-to-bottom" : "animate-fade-in-bottom-to-top", b = s === "top" || s === "top-left" || s === "top-right" ? "animate-fade-out-bottom-to-top" : "animate-fade-out-top-to-bottom", [g, p] = ae(!1);
7840
7837
  return me(() => {
7841
7838
  if (i && a) {
7842
7839
  const y = setTimeout(() => {
@@ -7903,7 +7900,7 @@ const Zr = ur(void 0), ul = () => {
7903
7900
  throw new Error("useToasts must be used within a ToastProvider");
7904
7901
  return e;
7905
7902
  }, el = () => `${Date.now()}-${Math.random().toString(36).substr(2, 9)}`, bl = ({ children: e }) => {
7906
- const [t, r] = oe([]), [n, o] = oe(!1), [a, s] = oe(""), i = Se(
7903
+ const [t, r] = ae([]), [n, o] = ae(!1), [a, s] = ae(""), i = Se(
7907
7904
  (c) => {
7908
7905
  r((u) => u.filter((b) => b.id !== c));
7909
7906
  },