@x4b/design-system 28.5.0 → 28.7.0

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.
@@ -13,12 +13,12 @@ function zr(r) {
13
13
  r[t] && (n && (n += " "), n += t);
14
14
  return n;
15
15
  }
16
- function F() {
16
+ function I() {
17
17
  for (var r, t, a = 0, n = ""; a < arguments.length; )
18
18
  (r = arguments[a++]) && (t = zr(r)) && (n && (n += " "), n += t);
19
19
  return n;
20
20
  }
21
- var Q = { exports: {} }, L = {};
21
+ var Q = { exports: {} }, $ = {};
22
22
  /**
23
23
  * @license React
24
24
  * react-jsx-runtime.production.min.js
@@ -31,22 +31,22 @@ var Q = { exports: {} }, L = {};
31
31
  var Vr;
32
32
  function Ie() {
33
33
  if (Vr)
34
- return L;
34
+ return $;
35
35
  Vr = 1;
36
36
  var r = K, t = Symbol.for("react.element"), a = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, s = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, c = { key: !0, ref: !0, __self: !0, __source: !0 };
37
37
  function p(m, v, E) {
38
- var b, y = {}, O = null, h = null;
39
- E !== void 0 && (O = "" + E), v.key !== void 0 && (O = "" + v.key), v.ref !== void 0 && (h = v.ref);
40
- for (b in v)
41
- n.call(v, b) && !c.hasOwnProperty(b) && (y[b] = v[b]);
38
+ var h, y = {}, O = null, k = null;
39
+ E !== void 0 && (O = "" + E), v.key !== void 0 && (O = "" + v.key), v.ref !== void 0 && (k = v.ref);
40
+ for (h in v)
41
+ n.call(v, h) && !c.hasOwnProperty(h) && (y[h] = v[h]);
42
42
  if (m && m.defaultProps)
43
- for (b in v = m.defaultProps, v)
44
- y[b] === void 0 && (y[b] = v[b]);
45
- return { $$typeof: t, type: m, key: O, ref: h, props: y, _owner: s.current };
43
+ for (h in v = m.defaultProps, v)
44
+ y[h] === void 0 && (y[h] = v[h]);
45
+ return { $$typeof: t, type: m, key: O, ref: k, props: y, _owner: s.current };
46
46
  }
47
- return L.Fragment = a, L.jsx = p, L.jsxs = p, L;
47
+ return $.Fragment = a, $.jsx = p, $.jsxs = p, $;
48
48
  }
49
- var $ = {};
49
+ var B = {};
50
50
  /**
51
51
  * @license React
52
52
  * react-jsx-runtime.development.js
@@ -59,14 +59,14 @@ var $ = {};
59
59
  var Yr;
60
60
  function De() {
61
61
  return Yr || (Yr = 1, process.env.NODE_ENV !== "production" && function() {
62
- var r = K, t = Symbol.for("react.element"), a = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), p = Symbol.for("react.provider"), m = Symbol.for("react.context"), v = Symbol.for("react.forward_ref"), E = Symbol.for("react.suspense"), b = Symbol.for("react.suspense_list"), y = Symbol.for("react.memo"), O = Symbol.for("react.lazy"), h = Symbol.for("react.offscreen"), B = Symbol.iterator, Z = "@@iterator";
62
+ var r = K, t = Symbol.for("react.element"), a = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), p = Symbol.for("react.provider"), m = Symbol.for("react.context"), v = Symbol.for("react.forward_ref"), E = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), y = Symbol.for("react.memo"), O = Symbol.for("react.lazy"), k = Symbol.for("react.offscreen"), b = Symbol.iterator, Z = "@@iterator";
63
63
  function rr(e) {
64
64
  if (e === null || typeof e != "object")
65
65
  return null;
66
- var i = B && e[B] || e[Z];
66
+ var i = b && e[b] || e[Z];
67
67
  return typeof i == "function" ? i : null;
68
68
  }
69
- var I = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
69
+ var D = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
70
70
  function R(e) {
71
71
  {
72
72
  for (var i = arguments.length, o = new Array(i > 1 ? i - 1 : 0), u = 1; u < i; u++)
@@ -76,7 +76,7 @@ function De() {
76
76
  }
77
77
  function ee(e, i, o) {
78
78
  {
79
- var u = I.ReactDebugCurrentFrame, d = u.getStackAddendum();
79
+ var u = D.ReactDebugCurrentFrame, d = u.getStackAddendum();
80
80
  d !== "" && (i += "%s", o = o.concat([d]));
81
81
  var g = o.map(function(f) {
82
82
  return String(f);
@@ -87,7 +87,7 @@ function De() {
87
87
  var te = !1, ae = !1, ne = !1, ie = !1, oe = !1, vr;
88
88
  vr = Symbol.for("react.module.reference");
89
89
  function se(e) {
90
- return !!(typeof e == "string" || typeof e == "function" || e === n || e === c || oe || e === s || e === E || e === b || ie || e === h || te || ae || ne || typeof e == "object" && e !== null && (e.$$typeof === O || e.$$typeof === y || e.$$typeof === p || e.$$typeof === m || e.$$typeof === v || e.$$typeof === vr || e.getModuleId !== void 0));
90
+ return !!(typeof e == "string" || typeof e == "function" || e === n || e === c || oe || e === s || e === E || e === h || ie || e === k || te || ae || ne || typeof e == "object" && e !== null && (e.$$typeof === O || e.$$typeof === y || e.$$typeof === p || e.$$typeof === m || e.$$typeof === v || e.$$typeof === vr || e.getModuleId !== void 0));
91
91
  }
92
92
  function ue(e, i, o) {
93
93
  var u = e.displayName;
@@ -117,7 +117,7 @@ function De() {
117
117
  return "StrictMode";
118
118
  case E:
119
119
  return "Suspense";
120
- case b:
120
+ case h:
121
121
  return "SuspenseList";
122
122
  }
123
123
  if (typeof e == "object")
@@ -144,13 +144,13 @@ function De() {
144
144
  }
145
145
  return null;
146
146
  }
147
- var N = Object.assign, Y = 0, pr, mr, hr, br, wr, yr, xr;
147
+ var F = Object.assign, U = 0, pr, mr, hr, br, wr, yr, xr;
148
148
  function Er() {
149
149
  }
150
150
  Er.__reactDisabledLog = !0;
151
151
  function ce() {
152
152
  {
153
- if (Y === 0) {
153
+ if (U === 0) {
154
154
  pr = console.log, mr = console.info, hr = console.warn, br = console.error, wr = console.group, yr = console.groupCollapsed, xr = console.groupEnd;
155
155
  var e = {
156
156
  configurable: !0,
@@ -168,45 +168,45 @@ function De() {
168
168
  groupEnd: e
169
169
  });
170
170
  }
171
- Y++;
171
+ U++;
172
172
  }
173
173
  }
174
174
  function le() {
175
175
  {
176
- if (Y--, Y === 0) {
176
+ if (U--, U === 0) {
177
177
  var e = {
178
178
  configurable: !0,
179
179
  enumerable: !0,
180
180
  writable: !0
181
181
  };
182
182
  Object.defineProperties(console, {
183
- log: N({}, e, {
183
+ log: F({}, e, {
184
184
  value: pr
185
185
  }),
186
- info: N({}, e, {
186
+ info: F({}, e, {
187
187
  value: mr
188
188
  }),
189
- warn: N({}, e, {
189
+ warn: F({}, e, {
190
190
  value: hr
191
191
  }),
192
- error: N({}, e, {
192
+ error: F({}, e, {
193
193
  value: br
194
194
  }),
195
- group: N({}, e, {
195
+ group: F({}, e, {
196
196
  value: wr
197
197
  }),
198
- groupCollapsed: N({}, e, {
198
+ groupCollapsed: F({}, e, {
199
199
  value: yr
200
200
  }),
201
- groupEnd: N({}, e, {
201
+ groupEnd: F({}, e, {
202
202
  value: xr
203
203
  })
204
204
  });
205
205
  }
206
- Y < 0 && R("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
206
+ U < 0 && R("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
207
207
  }
208
208
  }
209
- var er = I.ReactCurrentDispatcher, tr;
209
+ var er = D.ReactCurrentDispatcher, tr;
210
210
  function M(e, i, o) {
211
211
  {
212
212
  if (tr === void 0)
@@ -293,7 +293,7 @@ function De() {
293
293
  } finally {
294
294
  ar = !1, er.current = g, le(), Error.prepareStackTrace = d;
295
295
  }
296
- var j = e ? e.displayName || e.name : "", jr = j ? M(j) : "";
296
+ var V = e ? e.displayName || e.name : "", jr = V ? M(V) : "";
297
297
  return typeof e == "function" && W.set(e, jr), jr;
298
298
  }
299
299
  function de(e, i, o) {
@@ -313,7 +313,7 @@ function De() {
313
313
  switch (e) {
314
314
  case E:
315
315
  return M("Suspense");
316
- case b:
316
+ case h:
317
317
  return M("SuspenseList");
318
318
  }
319
319
  if (typeof e == "object")
@@ -332,7 +332,7 @@ function De() {
332
332
  }
333
333
  return "";
334
334
  }
335
- var G = Object.prototype.hasOwnProperty, _r = {}, Tr = I.ReactDebugCurrentFrame;
335
+ var G = Object.prototype.hasOwnProperty, _r = {}, Tr = D.ReactDebugCurrentFrame;
336
336
  function z(e) {
337
337
  if (e) {
338
338
  var i = e._owner, o = q(e.type, e._source, i ? i.type : null);
@@ -383,7 +383,7 @@ function De() {
383
383
  if (he(e))
384
384
  return R("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", me(e)), Or(e);
385
385
  }
386
- var U = I.ReactCurrentOwner, be = {
386
+ var L = D.ReactCurrentOwner, be = {
387
387
  key: !0,
388
388
  ref: !0,
389
389
  __self: !0,
@@ -407,9 +407,9 @@ function De() {
407
407
  return e.key !== void 0;
408
408
  }
409
409
  function xe(e, i) {
410
- if (typeof e.ref == "string" && U.current && i && U.current.stateNode !== i) {
411
- var o = C(U.current.type);
412
- ir[o] || (R('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', C(U.current.type), e.ref), ir[o] = !0);
410
+ if (typeof e.ref == "string" && L.current && i && L.current.stateNode !== i) {
411
+ var o = C(L.current.type);
412
+ ir[o] || (R('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', C(L.current.type), e.ref), ir[o] = !0);
413
413
  }
414
414
  }
415
415
  function Ee(e, i) {
@@ -475,11 +475,11 @@ function De() {
475
475
  var x = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
476
476
  l && Ee(f, x), _ && Re(f, x);
477
477
  }
478
- return _e(e, l, _, d, u, U.current, f);
478
+ return _e(e, l, _, d, u, L.current, f);
479
479
  }
480
480
  }
481
- var or = I.ReactCurrentOwner, Pr = I.ReactDebugCurrentFrame;
482
- function D(e) {
481
+ var or = D.ReactCurrentOwner, Pr = D.ReactDebugCurrentFrame;
482
+ function j(e) {
483
483
  if (e) {
484
484
  var i = e._owner, o = q(e.type, e._source, i ? i.type : null);
485
485
  Pr.setExtraStackFrame(o);
@@ -537,7 +537,7 @@ Check the top-level render call using <` + o + ">.");
537
537
  return;
538
538
  Nr[o] = !0;
539
539
  var u = "";
540
- e && e._owner && e._owner !== or.current && (u = " It was passed a child from " + C(e._owner.type) + "."), D(e), R('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', o, u), D(null);
540
+ e && e._owner && e._owner !== or.current && (u = " It was passed a child from " + C(e._owner.type) + "."), j(e), R('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', o, u), j(null);
541
541
  }
542
542
  }
543
543
  function Ir(e, i) {
@@ -587,11 +587,11 @@ Check the top-level render call using <` + o + ">.");
587
587
  for (var i = Object.keys(e.props), o = 0; o < i.length; o++) {
588
588
  var u = i[o];
589
589
  if (u !== "children" && u !== "key") {
590
- D(e), R("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", u), D(null);
590
+ j(e), R("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", u), j(null);
591
591
  break;
592
592
  }
593
593
  }
594
- e.ref !== null && (D(e), R("Invalid attribute `ref` supplied to `React.Fragment`."), D(null));
594
+ e.ref !== null && (j(e), R("Invalid attribute `ref` supplied to `React.Fragment`."), j(null));
595
595
  }
596
596
  }
597
597
  function Dr(e, i, o, u, d, g) {
@@ -613,8 +613,8 @@ Check the top-level render call using <` + o + ">.");
613
613
  if (S !== void 0)
614
614
  if (u)
615
615
  if (nr(S)) {
616
- for (var j = 0; j < S.length; j++)
617
- Ir(S[j], e);
616
+ for (var V = 0; V < S.length; V++)
617
+ Ir(S[V], e);
618
618
  Object.freeze && Object.freeze(S);
619
619
  } else
620
620
  R("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
@@ -631,8 +631,8 @@ Check the top-level render call using <` + o + ">.");
631
631
  return Dr(e, i, o, !1);
632
632
  }
633
633
  var Ne = ke, Fe = Pe;
634
- $.Fragment = n, $.jsx = Ne, $.jsxs = Fe;
635
- }()), $;
634
+ B.Fragment = n, B.jsx = Ne, B.jsxs = Fe;
635
+ }()), B;
636
636
  }
637
637
  (function(r) {
638
638
  process.env.NODE_ENV === "production" ? r.exports = Ie() : r.exports = De();
@@ -645,7 +645,7 @@ function je({
645
645
  }) {
646
646
  return /* @__PURE__ */ A("div", {
647
647
  ...a,
648
- className: F("tw-inline-block tw-h-[1em] tw-w-[1em] tw-animate-spin tw-rounded-full tw-border-2 tw-border-solid tw-border-current tw-border-b-trnsparent tw-border-l-transparent", t),
648
+ className: I("tw-inline-block tw-h-[1em] tw-w-[1em] tw-animate-spin tw-rounded-full tw-border-2 tw-border-solid tw-border-current tw-border-b-trnsparent tw-border-l-transparent", t),
649
649
  children: /* @__PURE__ */ A("p", {
650
650
  className: "tw-sr-only",
651
651
  children: r
@@ -663,14 +663,15 @@ const Ve = K.forwardRef(({
663
663
  children: m,
664
664
  className: v,
665
665
  as: E,
666
- ...b
667
- }, y) => {
668
- const O = E || "button", h = t;
669
- return /* @__PURE__ */ A(O, {
670
- ref: y,
671
- disabled: h,
672
- className: F("svg-block tw-relative tw-inline-block tw-font-sans tw-leading-normal tw-no-underline tw-transition-colors tw-duration-500 hover:tw-duration-150 focus:tw-outline-none", n === "sm" && "tw-text-sm", n === "base" && "tw-text-base", n === "lg" && "tw-text-base lg:tw-text-lg", n === "xl" && "tw-text-base lg:tw-text-lg xl:tw-text-xl", c ? "tw-px-3" : s ? "tw-px-2" : "tw-px-4", c ? "tw-rounded-full tw-py-3" : "tw-rounded-lg tw-py-2", h ? "tw-cursor-default tw-opacity-40" : "tw-cursor-pointer", r === "solid" && ["tw-rounded-lg tw-border tw-border-solid tw-py-2 tw-font-semibold focus-visible:tw-ring", a === "primary" && ["tw-bg-primary-600 tw-border-primary-600 focus-visible:tw-ring-primary-300 tw-text-white", !h && "hover:tw-bg-primary-700 hover:tw-border-primary-700"], a === "accent" && ["tw-bg-accent-800 tw-border-accent-800 focus-visible:tw-ring-accent-300 tw-text-white", !h && "hover:tw-bg-accent-900 hover:tw-border-accent-900"], a === "gray" && ["tw-border-gray-100 tw-bg-gray-100 tw-text-gray-700 focus-visible:tw-ring-gray-300 ", !h && "hover:tw-border-gray-200 hover:tw-bg-gray-200 hover:tw-text-gray-900"], a === "red" && ["tw-border-red-700 tw-bg-red-700 tw-text-white focus-visible:tw-ring-red-300", !h && "hover:tw-border-red-800 hover:tw-bg-red-800"], a === "green" && ["tw-border-green-700 tw-bg-green-700 tw-text-white focus-visible:tw-ring-green-300", !h && "hover:tw-border-green-800 hover:tw-bg-green-800"]], r === "outline" && ["tw-border tw-border-solid tw-bg-transparent tw-py-2 tw-font-medium focus:tw-outline-none focus-visible:tw-ring", a === "primary" && ["tw-border-primary-600 tw-text-primary-600 focus-visible:tw-ring-primary-300", !h && "hover:tw-text-primary-700 hover:tw-bg-primary-50 hover:tw-border-primary-700"], a === "accent" && ["tw-border-accent-800 tw-text-accent-800 focus-visible:tw-ring-accent-300", !h && "hover:tw-text-accent-800 hover:tw-border-accent-800 hover:tw-bg-accent-50"], a === "gray" && ["tw-border-gray-700 tw-text-gray-700 focus-visible:tw-ring-gray-300", !h && "hover:tw-border-gray-700 hover:tw-bg-gray-100 hover:tw-text-gray-700"], a === "red" && ["tw-border-red-800 tw-text-red-800 focus-visible:tw-ring-red-300", !h && "hover:tw-border-red-800 hover:tw-bg-red-100 hover:tw-text-red-800"], a === "green" && ["tw-border-green-800 tw-text-green-800 focus-visible:tw-ring-green-300", !h && "hover:tw-border-green-800 hover:tw-bg-green-100 hover:tw-text-green-800"]], r === "ghost" && ["tw-border tw-border-solid tw-border-transparent tw-bg-transparent tw-py-2 tw-font-medium focus:tw-outline-none focus-visible:tw-ring", a === "primary" && ["tw-text-primary-600 focus-visible:tw-ring-primary-300", !h && "hover:tw-text-primary-700 hover:tw-bg-primary-100 hover:tw-border-primary-100"], a === "accent" && ["tw-text-accent-800 focus-visible:tw-ring-accent-300", !h && "hover:tw-text-accent-800 hover:tw-border-accent-50 hover:tw-bg-accent-50"], a === "gray" && ["tw-text-gray-700 focus-visible:tw-ring-gray-300", !h && "hover:tw-border-gray-100 hover:tw-bg-gray-100 hover:tw-text-gray-700"], a === "red" && ["tw-text-red-800 focus-visible:tw-ring-red-300", !h && "hover:tw-border-red-100 hover:tw-bg-red-100 hover:tw-text-red-900"], a === "green" && ["tw-text-green-800 focus-visible:tw-ring-green-300", !h && "hover:tw-border-green-100 hover:tw-bg-green-100 hover:tw-text-green-800"]], r === "link" && ["tw-border tw-border-solid tw-border-transparent tw-bg-transparent !tw-px-0 !tw-py-0 tw-font-medium hover:tw-underline focus:tw-outline-none focus-visible:tw-ring focus-visible:tw-ring-offset-2", a === "primary" && ["focus-visible:tw-ring-primary-300 tw-text-primary-700"], a === "gray" && ["tw-text-gray-700 focus-visible:tw-ring-gray-300"]], v),
673
- ...b,
666
+ disabled: h,
667
+ ...y
668
+ }, O) => {
669
+ const k = E || "button", b = h || t;
670
+ return /* @__PURE__ */ A(k, {
671
+ ref: O,
672
+ disabled: b,
673
+ className: I("svg-block tw-relative tw-inline-block tw-font-sans tw-leading-normal tw-no-underline tw-transition-colors tw-duration-500 hover:tw-duration-150 focus:tw-outline-none", n === "sm" && "tw-text-sm", n === "base" && "tw-text-base", n === "lg" && "tw-text-base lg:tw-text-lg", n === "xl" && "tw-text-base lg:tw-text-lg xl:tw-text-xl", c ? "tw-px-3" : s ? "tw-px-2" : "tw-px-4", c ? "tw-rounded-full tw-py-3" : "tw-rounded-lg tw-py-2", b ? "tw-cursor-default tw-opacity-40" : "tw-cursor-pointer", r === "solid" && ["tw-rounded-lg tw-border tw-border-solid tw-py-2 tw-font-semibold focus-visible:tw-ring", a === "primary" && ["tw-bg-primary-600 tw-border-primary-600 focus-visible:tw-ring-primary-300 tw-text-white", !b && "hover:tw-bg-primary-700 hover:tw-border-primary-700"], a === "accent" && ["tw-bg-accent-800 tw-border-accent-800 focus-visible:tw-ring-accent-300 tw-text-white", !b && "hover:tw-bg-accent-900 hover:tw-border-accent-900"], a === "gray" && ["tw-border-gray-100 tw-bg-gray-100 tw-text-gray-700 focus-visible:tw-ring-gray-300 ", !b && "hover:tw-border-gray-200 hover:tw-bg-gray-200 hover:tw-text-gray-900"], a === "red" && ["tw-border-red-700 tw-bg-red-700 tw-text-white focus-visible:tw-ring-red-300", !b && "hover:tw-border-red-800 hover:tw-bg-red-800"], a === "green" && ["tw-border-green-700 tw-bg-green-700 tw-text-white focus-visible:tw-ring-green-300", !b && "hover:tw-border-green-800 hover:tw-bg-green-800"]], r === "outline" && ["tw-border tw-border-solid tw-bg-transparent tw-py-2 tw-font-medium focus:tw-outline-none focus-visible:tw-ring", a === "primary" && ["tw-border-primary-600 tw-text-primary-600 focus-visible:tw-ring-primary-300", !b && "hover:tw-text-primary-700 hover:tw-bg-primary-50 hover:tw-border-primary-700"], a === "accent" && ["tw-border-accent-800 tw-text-accent-800 focus-visible:tw-ring-accent-300", !b && "hover:tw-text-accent-800 hover:tw-border-accent-800 hover:tw-bg-accent-50"], a === "gray" && ["tw-border-gray-700 tw-text-gray-700 focus-visible:tw-ring-gray-300", !b && "hover:tw-border-gray-700 hover:tw-bg-gray-100 hover:tw-text-gray-700"], a === "red" && ["tw-border-red-800 tw-text-red-800 focus-visible:tw-ring-red-300", !b && "hover:tw-border-red-800 hover:tw-bg-red-100 hover:tw-text-red-800"], a === "green" && ["tw-border-green-800 tw-text-green-800 focus-visible:tw-ring-green-300", !b && "hover:tw-border-green-800 hover:tw-bg-green-100 hover:tw-text-green-800"]], r === "ghost" && ["tw-border tw-border-solid tw-border-transparent tw-bg-transparent tw-py-2 tw-font-medium focus:tw-outline-none focus-visible:tw-ring", a === "primary" && ["tw-text-primary-600 focus-visible:tw-ring-primary-300", !b && "hover:tw-text-primary-700 hover:tw-bg-primary-100 hover:tw-border-primary-100"], a === "accent" && ["tw-text-accent-800 focus-visible:tw-ring-accent-300", !b && "hover:tw-text-accent-800 hover:tw-border-accent-50 hover:tw-bg-accent-50"], a === "gray" && ["tw-text-gray-700 focus-visible:tw-ring-gray-300", !b && "hover:tw-border-gray-100 hover:tw-bg-gray-100 hover:tw-text-gray-700"], a === "red" && ["tw-text-red-800 focus-visible:tw-ring-red-300", !b && "hover:tw-border-red-100 hover:tw-bg-red-100 hover:tw-text-red-900"], a === "green" && ["tw-text-green-800 focus-visible:tw-ring-green-300", !b && "hover:tw-border-green-100 hover:tw-bg-green-100 hover:tw-text-green-800"]], r === "link" && ["tw-border tw-border-solid tw-border-transparent tw-bg-transparent !tw-px-0 !tw-py-0 tw-font-medium hover:tw-underline focus:tw-outline-none focus-visible:tw-ring focus-visible:tw-ring-offset-2", a === "primary" && ["focus-visible:tw-ring-primary-300 tw-text-primary-700"], a === "gray" && ["tw-text-gray-700 focus-visible:tw-ring-gray-300"]], v),
674
+ ...y,
674
675
  children: /* @__PURE__ */ A(Ye, {
675
676
  isLoading: t,
676
677
  loadingLabel: p,
@@ -685,7 +686,7 @@ function Ye({
685
686
  }) {
686
687
  return /* @__PURE__ */ X(Hr, {
687
688
  children: [/* @__PURE__ */ A("div", {
688
- className: F("tw-block tw-transition-opacity", {
689
+ className: I("tw-block tw-transition-opacity", {
689
690
  "tw-opacity-0": r,
690
691
  "tw-opacity-100": !r
691
692
  }),
@@ -705,7 +706,7 @@ function It({
705
706
  const s = r || "a";
706
707
  return /* @__PURE__ */ A(Ve, {
707
708
  ...n,
708
- className: F("tw-group", n.className),
709
+ className: I("tw-group", n.className),
709
710
  as: s,
710
711
  variant: "link",
711
712
  colorScheme: "primary",
@@ -750,7 +751,7 @@ function Dt({
750
751
  }, []);
751
752
  const p = H.cloneElement(r, {
752
753
  ref: c,
753
- className: F(r.props.className, "tw-transition-opacity", {
754
+ className: I(r.props.className, "tw-transition-opacity", {
754
755
  "tw-opacity-0": !n
755
756
  })
756
757
  });
@@ -762,7 +763,7 @@ function Dt({
762
763
  className: r.props.className,
763
764
  alt: r.props.alt
764
765
  }, t), /* @__PURE__ */ A("div", {
765
- className: F(r.props.className, "tw-backdrop-blur-xl")
766
+ className: I(r.props.className, "tw-backdrop-blur-xl")
766
767
  })]
767
768
  }) : void 0, p, /* @__PURE__ */ A("noscript", {
768
769
  children: r
@@ -895,7 +896,7 @@ const jt = "var(--x4b-font-family, 'Open Sans', sans-serif)", Le = {
895
896
  function qe(r) {
896
897
  return /* @__PURE__ */ A("svg", {
897
898
  ...r,
898
- className: F("tw-block", r.className),
899
+ className: I("tw-block", r.className),
899
900
  viewBox: "0 0 12 12",
900
901
  fill: "none",
901
902
  xmlns: "http://www.w3.org/2000/svg",
@@ -1076,7 +1077,7 @@ var Ge = {
1076
1077
  return r.replace(t, function(a, n, s) {
1077
1078
  return r[s - 1] === Jr ? a : Xr[a];
1078
1079
  });
1079
- }, V = function(r) {
1080
+ }, Y = function(r) {
1080
1081
  return isNaN(r) ? dr(r) : r;
1081
1082
  }, dr = function(r) {
1082
1083
  if (!r)
@@ -1119,7 +1120,7 @@ var Ge = {
1119
1120
  var t = r.start ? "so_" + r.start : "", a = r.end ? "eo_" + r.end : "", n = r.duration ? "du_" + r.duration : "";
1120
1121
  return [t, a, n].filter(Boolean).join(",");
1121
1122
  }, dt = function(r) {
1122
- var t = r.type, a = r.width, n = r.height, s = r.aspectRatio, c = a ? "w_" + V(a) : "", p = n ? "h_" + V(n) : "", m = t ? "c_" + t : "", v = s ? "ar_" + V(s) : "";
1123
+ var t = r.type, a = r.width, n = r.height, s = r.aspectRatio, c = a ? "w_" + Y(a) : "", p = n ? "h_" + Y(n) : "", m = t ? "c_" + t : "", v = s ? "ar_" + Y(s) : "";
1123
1124
  return [m, c, p, v].filter(Boolean).join();
1124
1125
  }, vt = function(r) {
1125
1126
  var t = r.type, a = t === void 0 ? "solid" : t, n = r.color, s = n === void 0 ? "black" : n, c = r.width;
@@ -1128,7 +1129,7 @@ var Ge = {
1128
1129
  var p = isNaN(c) ? dr(c) : c + "px";
1129
1130
  return "bo_" + p + "_" + a + "_" + s;
1130
1131
  }, gt = function(r) {
1131
- var t = r.x, a = r.y, n = t ? "x_" + V(t) : "", s = a ? "y_" + V(a) : "";
1132
+ var t = r.x, a = r.y, n = t ? "x_" + Y(t) : "", s = a ? "y_" + Y(a) : "";
1132
1133
  return [n, s].filter(Boolean).join();
1133
1134
  }, pt = function(r) {
1134
1135
  var t = r.resize || r.width || r.height || r.aspectRatio;
@@ -1147,7 +1148,7 @@ var Ge = {
1147
1148
  var n = r[a], s = He[a];
1148
1149
  if (!(!s || !n)) {
1149
1150
  var c = Ke.includes(a);
1150
- t.push(s + "_" + (c ? V(n) : n));
1151
+ t.push(s + "_" + (c ? Y(n) : n));
1151
1152
  }
1152
1153
  }
1153
1154
  return t.push(et(r.effect)), t.push(ot(r.flags)), t.push(st(r.rawTransformation)), t.push(rt(r.condition)), t.filter(Boolean);
@@ -1192,14 +1193,14 @@ var Ge = {
1192
1193
  var a = t.cdnSubdomain, n = a === void 0 ? !1 : a, s = t.cname;
1193
1194
  return s ? n ? "a" + r + "." : "" : "res" + (n ? "-" + r : "");
1194
1195
  }, Tt = function(r, t) {
1195
- var a = t.cloudName, n = t.privateCdn, s = n === void 0 ? !1 : n, c = t.cdnSubdomain, p = c === void 0 ? !1 : c, m = t.secureDistribution, v = t.cname, E = t.secure, b = E === void 0 ? !0 : E, y = b && m && !bt.includes(m), O = "http" + (b ? "s" : "") + "://", h = s && !y ? a + "-" : "", B = s ? "" : "/" + a, Z = y ? "" : _t(r, { cdnSubdomain: p, cname: v }), rr = y ? m : v || ".cloudinary.com";
1196
- return "" + O + h + Z + rr + B;
1196
+ var a = t.cloudName, n = t.privateCdn, s = n === void 0 ? !1 : n, c = t.cdnSubdomain, p = c === void 0 ? !1 : c, m = t.secureDistribution, v = t.cname, E = t.secure, h = E === void 0 ? !0 : E, y = h && m && !bt.includes(m), O = "http" + (h ? "s" : "") + "://", k = s && !y ? a + "-" : "", b = s ? "" : "/" + a, Z = y ? "" : _t(r, { cdnSubdomain: p, cname: v }), rr = y ? m : v || ".cloudinary.com";
1197
+ return "" + O + k + Z + rr + b;
1197
1198
  }, Ot = function(r) {
1198
- var t = r.resourceType, a = t === void 0 ? lr.IMAGE : t, n = r.storageType, s = n === void 0 ? Lr.UPLOAD : n, c = r.urlSuffix, p = r.useRootPath, m = r.shortern, v = a === lr.IMAGE && s === Lr.UPLOAD, E = p && !v, b = m && v, y = a + "/" + s;
1199
+ var t = r.resourceType, a = t === void 0 ? lr.IMAGE : t, n = r.storageType, s = n === void 0 ? Lr.UPLOAD : n, c = r.urlSuffix, p = r.useRootPath, m = r.shortern, v = a === lr.IMAGE && s === Lr.UPLOAD, E = p && !v, h = m && v, y = a + "/" + s;
1199
1200
  if (E)
1200
1201
  throw new Error("Root path only supported for image/upload");
1201
1202
  if (p)
1202
- return b ? "iu" : "";
1203
+ return h ? "iu" : "";
1203
1204
  if (c) {
1204
1205
  var O = $r[y];
1205
1206
  if (O)
@@ -1218,26 +1219,26 @@ var Ge = {
1218
1219
  }, St = function(r, t, a) {
1219
1220
  if (t === void 0 && (t = { cloudName: "" }), !t.cloudName)
1220
1221
  throw Error("cloudName is required!");
1221
- var n = re(r) ? yt(r) : r, s = Rt(n, t), c = Tt(n, t), p = xt(t.signature), m = Ot(t), v = At(n, { urlSuffix: t.urlSuffix }), E = a.fetchFormat || a.format || "auto", b = J(J({ quality: "auto" }, a), { format: E }), y = Zr(Qr(b));
1222
+ var n = re(r) ? yt(r) : r, s = Rt(n, t), c = Tt(n, t), p = xt(t.signature), m = Ot(t), v = At(n, { urlSuffix: t.urlSuffix }), E = a.fetchFormat || a.format || "auto", h = J(J({ quality: "auto" }, a), { format: E }), y = Zr(Qr(h));
1222
1223
  return [c, m, p, y, s, v].filter(Boolean).join("/").replace(" ", "%20");
1223
- }, k = globalThis && globalThis.__assign || function() {
1224
- return k = Object.assign || function(r) {
1224
+ }, N = globalThis && globalThis.__assign || function() {
1225
+ return N = Object.assign || function(r) {
1225
1226
  for (var t, a = 1, n = arguments.length; a < n; a++) {
1226
1227
  t = arguments[a];
1227
1228
  for (var s in t)
1228
1229
  Object.prototype.hasOwnProperty.call(t, s) && (r[s] = t[s]);
1229
1230
  }
1230
1231
  return r;
1231
- }, k.apply(this, arguments);
1232
+ }, N.apply(this, arguments);
1232
1233
  }, fr = {}, Ct = function(r) {
1233
- return fr = k(k({}, fr), r);
1234
+ return fr = N(N({}, fr), r);
1234
1235
  }, Pt = function(r, t) {
1235
- var a = t.cloud, n = a === void 0 ? {} : a, s = t.transformations, c = s === void 0 ? {} : s, p = k(k({}, fr), n);
1236
+ var a = t.cloud, n = a === void 0 ? {} : a, s = t.transformations, c = s === void 0 ? {} : s, p = N(N({}, fr), n);
1236
1237
  return St(r, p, c);
1237
1238
  }, kt = function(r, t) {
1238
1239
  var a = t.cloud, n = a === void 0 ? {} : a, s = t.transformations, c = s === void 0 ? {} : s;
1239
1240
  return Pt(r, {
1240
- cloud: k(k({}, n), { resourceType: lr.IMAGE }),
1241
+ cloud: N(N({}, n), { resourceType: lr.IMAGE }),
1241
1242
  transformations: c
1242
1243
  });
1243
1244
  };