beesoft-components 0.9.1-0 → 0.9.1-2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -48,11 +48,11 @@ var Yt = {};
48
48
  var An;
49
49
  function Ga() {
50
50
  return An || (An = 1, process.env.NODE_ENV !== "production" && function() {
51
- var e = ut, r = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), o = Symbol.for("react.provider"), i = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), v = Symbol.for("react.offscreen"), x = Symbol.iterator, k = "@@iterator";
52
- function C(u) {
51
+ var e = ut, r = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), o = Symbol.for("react.provider"), i = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), v = Symbol.for("react.offscreen"), x = Symbol.iterator, S = "@@iterator";
52
+ function O(u) {
53
53
  if (u === null || typeof u != "object")
54
54
  return null;
55
- var w = x && u[x] || u[k];
55
+ var w = x && u[x] || u[S];
56
56
  return typeof w == "function" ? w : null;
57
57
  }
58
58
  var T = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
@@ -137,14 +137,14 @@ function Ga() {
137
137
  }
138
138
  return null;
139
139
  }
140
- var P = Object.assign, N = 0, S, q, O, ne, g, D, W;
140
+ var P = Object.assign, N = 0, k, q, C, ne, g, D, W;
141
141
  function h() {
142
142
  }
143
143
  h.__reactDisabledLog = !0;
144
144
  function _() {
145
145
  {
146
146
  if (N === 0) {
147
- S = console.log, q = console.info, O = console.warn, ne = console.error, g = console.group, D = console.groupCollapsed, W = console.groupEnd;
147
+ k = console.log, q = console.info, C = console.warn, ne = console.error, g = console.group, D = console.groupCollapsed, W = console.groupEnd;
148
148
  var u = {
149
149
  configurable: !0,
150
150
  enumerable: !0,
@@ -174,13 +174,13 @@ function Ga() {
174
174
  };
175
175
  Object.defineProperties(console, {
176
176
  log: P({}, u, {
177
- value: S
177
+ value: k
178
178
  }),
179
179
  info: P({}, u, {
180
180
  value: q
181
181
  }),
182
182
  warn: P({}, u, {
183
- value: O
183
+ value: C
184
184
  }),
185
185
  error: P({}, u, {
186
186
  value: ne
@@ -548,7 +548,7 @@ Check the top-level render call using <` + j + ">.");
548
548
  else if (Fr(u))
549
549
  u._store && (u._store.validated = !0);
550
550
  else if (u) {
551
- var ce = C(u);
551
+ var ce = O(u);
552
552
  if (typeof ce == "function" && ce !== u.entries)
553
553
  for (var me = ce.call(u), ae; !(ae = me.next()).done; )
554
554
  Fr(ae.value) && Nn(ae.value, w);
@@ -710,13 +710,13 @@ const Cr = (e = 1) => Tt(() => ie("dark:bsc-ring-mono-light-2 dark:bsc-ring-offs
710
710
  } = e, y = () => {
711
711
  l == null || l();
712
712
  }, v = () => {
713
- var C;
714
- (C = t.current) == null || C.click();
713
+ var O;
714
+ (O = t.current) == null || O.click();
715
715
  };
716
716
  kr(r, () => ({
717
717
  click: v
718
718
  }));
719
- const x = Cr(Jt.Focus), k = ie(
719
+ const x = Cr(Jt.Focus), S = ie(
720
720
  "bc-button max-sm:bsc-p-4 md:bsc-p-2 dark:bsc-bg-mono-light-1 dark:hover:bsc-bg-mono-light-2 dark:bsc-text-mono-dark-1",
721
721
  x,
722
722
  {
@@ -741,7 +741,7 @@ const Cr = (e = 1) => Tt(() => ie("dark:bsc-ring-mono-light-2 dark:bsc-ring-offs
741
741
  onClick: y,
742
742
  disabled: o,
743
743
  form: i,
744
- className: k,
744
+ className: S,
745
745
  children: p
746
746
  }
747
747
  );
@@ -898,8 +898,8 @@ const js = /* @__PURE__ */ oo(io), co = (e, r) => {
898
898
  } = e, [y, v, x] = fo({
899
899
  checked: !1,
900
900
  partial: !1
901
- }), k = Ln(o), C = Ln(i);
902
- console.log("checked property", k, "partial property", C);
901
+ }), S = Ln(o), O = Ln(i);
902
+ console.log("checked property", JSON.stringify(S));
903
903
  const T = Dr(), M = hn(d);
904
904
  we(() => {
905
905
  if (y.initial)
@@ -908,8 +908,9 @@ const js = /* @__PURE__ */ oo(io), co = (e, r) => {
908
908
  partial: i
909
909
  });
910
910
  else {
911
- const B = k.changed ? o : y.value.checked, E = C.changed ? i : y.value.partial;
912
- console.log("new checked", B, "new partial", E), v({
911
+ console.log("check changed", S.changed, "check property", o);
912
+ const B = S.changed ? o : y.value.checked, E = O.changed ? i : y.value.partial;
913
+ console.log("new checked", B), v({
913
914
  checked: E ? !0 : B,
914
915
  partial: E
915
916
  });
@@ -1027,10 +1028,10 @@ const js = /* @__PURE__ */ oo(io), co = (e, r) => {
1027
1028
  className: "bsc-mr-3"
1028
1029
  },
1029
1030
  `${e}_checkbox_${V}`
1030
- ), k = ie("bsc-flex bsc-flex-col bsc-gap-1", c), C = ie("bsc-flex bsc-gap-1", {
1031
+ ), S = ie("bsc-flex bsc-flex-col bsc-gap-1", c), O = ie("bsc-flex bsc-gap-1", {
1031
1032
  "bsc-flex-col": i === Me.Vertical
1032
- }), T = (M) => /* @__PURE__ */ f.jsx("div", { className: C, children: M.map(x) });
1033
- return /* @__PURE__ */ f.jsxs("div", { className: k, children: [
1033
+ }), T = (M) => /* @__PURE__ */ f.jsx("div", { className: O, children: M.map(x) });
1034
+ return /* @__PURE__ */ f.jsxs("div", { className: S, children: [
1034
1035
  r && /* @__PURE__ */ f.jsx(Je, { label: r, readOnly: o }),
1035
1036
  y && T(y)
1036
1037
  ] });
@@ -1658,14 +1659,14 @@ function mr(e, r, t, n, s, a) {
1658
1659
  var v = a.get(e);
1659
1660
  if (v)
1660
1661
  return v;
1661
- a.set(e, o), Qu(e) ? e.forEach(function(C) {
1662
- o.add(mr(C, r, t, C, e, a));
1663
- }) : Uu(e) && e.forEach(function(C, T) {
1664
- o.set(T, mr(C, r, t, T, e, a));
1662
+ a.set(e, o), Qu(e) ? e.forEach(function(O) {
1663
+ o.add(mr(O, r, t, O, e, a));
1664
+ }) : Uu(e) && e.forEach(function(O, T) {
1665
+ o.set(T, mr(O, r, t, T, e, a));
1665
1666
  });
1666
- var x = l ? c ? nu : ru : c ? yn : gn, k = d ? void 0 : x(e);
1667
- return ii(k || e, function(C, T) {
1668
- k && (T = C, C = e[T]), Ys(o, T, mr(C, r, t, T, e, a));
1667
+ var x = l ? c ? nu : ru : c ? yn : gn, S = d ? void 0 : x(e);
1668
+ return ii(S || e, function(O, T) {
1669
+ S && (T = O, O = e[T]), Ys(o, T, mr(O, r, t, T, e, a));
1669
1670
  }), o;
1670
1671
  }
1671
1672
  var Pl = 1, El = 4;
@@ -1689,19 +1690,19 @@ function Xt(e, r, t) {
1689
1690
  function x(L) {
1690
1691
  return l = L, i = setTimeout(T, r), d ? v(L) : o;
1691
1692
  }
1692
- function k(L) {
1693
+ function S(L) {
1693
1694
  var R = L - c, H = L - l, F = r - R;
1694
1695
  return p ? Ol(F, a - H) : F;
1695
1696
  }
1696
- function C(L) {
1697
+ function O(L) {
1697
1698
  var R = L - c, H = L - l;
1698
1699
  return c === void 0 || R >= r || R < 0 || p && H >= a;
1699
1700
  }
1700
1701
  function T() {
1701
1702
  var L = Wr();
1702
- if (C(L))
1703
+ if (O(L))
1703
1704
  return M(L);
1704
- i = setTimeout(T, k(L));
1705
+ i = setTimeout(T, S(L));
1705
1706
  }
1706
1707
  function M(L) {
1707
1708
  return i = void 0, y && n ? v(L) : (n = s = void 0, o);
@@ -1713,7 +1714,7 @@ function Xt(e, r, t) {
1713
1714
  return i === void 0 ? o : M(Wr());
1714
1715
  }
1715
1716
  function b() {
1716
- var L = Wr(), R = C(L);
1717
+ var L = Wr(), R = O(L);
1717
1718
  if (n = arguments, s = this, c = L, R) {
1718
1719
  if (i === void 0)
1719
1720
  return x(c);
@@ -1750,8 +1751,8 @@ const _l = (e, r) => {
1750
1751
  allowSingleLineScroll: y = !1,
1751
1752
  inputMode: v,
1752
1753
  placeholder: x,
1753
- onFocus: k,
1754
- onBlur: C,
1754
+ onFocus: S,
1755
+ onBlur: O,
1755
1756
  onInput: T,
1756
1757
  onInnerTextChange: M,
1757
1758
  onInnerHTMLChange: V,
@@ -1761,9 +1762,9 @@ const _l = (e, r) => {
1761
1762
  } = e, R = X("bsc-flex-grow focus:bsc-outline-none"), H = X("bsc-text-gray-4"), F = X(), te = Ne(
1762
1763
  (h) => {
1763
1764
  const _ = h.target, U = _.innerHTML;
1764
- _.className = `${R.current}`, x && U === x && (_.innerHTML = ""), k == null || k(h);
1765
+ _.className = `${R.current}`, x && U === x && (_.innerHTML = ""), S == null || S(h);
1765
1766
  },
1766
- [x, k]
1767
+ [x, S]
1767
1768
  ), J = Ne(
1768
1769
  (h) => {
1769
1770
  const _ = h.target.innerHTML;
@@ -1771,9 +1772,9 @@ const _l = (e, r) => {
1771
1772
  const U = h.target;
1772
1773
  U.innerHTML = x, U.className = `${R.current} ${H.current}`;
1773
1774
  }
1774
- C == null || C(h);
1775
+ O == null || O(h);
1775
1776
  },
1776
- [x, C]
1777
+ [x, O]
1777
1778
  ), B = Ne(
1778
1779
  (h) => {
1779
1780
  var _, U;
@@ -1789,11 +1790,11 @@ const _l = (e, r) => {
1789
1790
  b == null || b(h);
1790
1791
  }, N = (h) => {
1791
1792
  L == null || L(h);
1792
- }, S = Xt((h) => {
1793
+ }, k = Xt((h) => {
1793
1794
  T == null || T(h), M == null || M(h.target.innerText), V == null || V(h.target.innerHTML);
1794
1795
  }, s), q = Ne((h) => {
1795
1796
  F.current && (F.current.innerText = h);
1796
- }, []), O = Ne((h) => {
1797
+ }, []), C = Ne((h) => {
1797
1798
  F.current && (F.current.innerHTML = h);
1798
1799
  }, []), ne = Ne(() => {
1799
1800
  var h;
@@ -1802,7 +1803,7 @@ const _l = (e, r) => {
1802
1803
  kr(r, () => ({
1803
1804
  inputElement: F.current,
1804
1805
  setInnerText: q,
1805
- setInnerHTML: O,
1806
+ setInnerHTML: C,
1806
1807
  focus: ne
1807
1808
  }));
1808
1809
  const g = ie(
@@ -1824,7 +1825,7 @@ const _l = (e, r) => {
1824
1825
  contentEditable: !n,
1825
1826
  suppressContentEditableWarning: !0,
1826
1827
  inputMode: v,
1827
- onInput: S,
1828
+ onInput: k,
1828
1829
  children: t
1829
1830
  }
1830
1831
  ),
@@ -3948,8 +3949,8 @@ const xd = {
3948
3949
  T: new vd()
3949
3950
  }, wd = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Td = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Pd = /^'([^]*?)'?$/, Ed = /''/g, Sd = /\S/, kd = /[a-zA-Z]/;
3950
3951
  function Ve(e, r, t, n) {
3951
- var k, C, T, M, V, $, b, L;
3952
- const s = Rf(), a = (n == null ? void 0 : n.locale) ?? s.locale ?? vf, o = (n == null ? void 0 : n.firstWeekContainsDate) ?? ((C = (k = n == null ? void 0 : n.locale) == null ? void 0 : k.options) == null ? void 0 : C.firstWeekContainsDate) ?? s.firstWeekContainsDate ?? ((M = (T = s.locale) == null ? void 0 : T.options) == null ? void 0 : M.firstWeekContainsDate) ?? 1, i = (n == null ? void 0 : n.weekStartsOn) ?? (($ = (V = n == null ? void 0 : n.locale) == null ? void 0 : V.options) == null ? void 0 : $.weekStartsOn) ?? s.weekStartsOn ?? ((L = (b = s.locale) == null ? void 0 : b.options) == null ? void 0 : L.weekStartsOn) ?? 0;
3952
+ var S, O, T, M, V, $, b, L;
3953
+ const s = Rf(), a = (n == null ? void 0 : n.locale) ?? s.locale ?? vf, o = (n == null ? void 0 : n.firstWeekContainsDate) ?? ((O = (S = n == null ? void 0 : n.locale) == null ? void 0 : S.options) == null ? void 0 : O.firstWeekContainsDate) ?? s.firstWeekContainsDate ?? ((M = (T = s.locale) == null ? void 0 : T.options) == null ? void 0 : M.firstWeekContainsDate) ?? 1, i = (n == null ? void 0 : n.weekStartsOn) ?? (($ = (V = n == null ? void 0 : n.locale) == null ? void 0 : V.options) == null ? void 0 : $.weekStartsOn) ?? s.weekStartsOn ?? ((L = (b = s.locale) == null ? void 0 : b.options) == null ? void 0 : L.weekStartsOn) ?? 0;
3953
3954
  if (r === "")
3954
3955
  return e === "" ? ue(t) : ge(t, NaN);
3955
3956
  const c = {
@@ -4504,7 +4505,7 @@ function dh() {
4504
4505
  if (hs)
4505
4506
  return de;
4506
4507
  hs = 1;
4507
- var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, s = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, o = e ? Symbol.for("react.provider") : 60109, i = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, y = e ? Symbol.for("react.suspense_list") : 60120, v = e ? Symbol.for("react.memo") : 60115, x = e ? Symbol.for("react.lazy") : 60116, k = e ? Symbol.for("react.block") : 60121, C = e ? Symbol.for("react.fundamental") : 60117, T = e ? Symbol.for("react.responder") : 60118, M = e ? Symbol.for("react.scope") : 60119;
4508
+ var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, s = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, o = e ? Symbol.for("react.provider") : 60109, i = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, y = e ? Symbol.for("react.suspense_list") : 60120, v = e ? Symbol.for("react.memo") : 60115, x = e ? Symbol.for("react.lazy") : 60116, S = e ? Symbol.for("react.block") : 60121, O = e ? Symbol.for("react.fundamental") : 60117, T = e ? Symbol.for("react.responder") : 60118, M = e ? Symbol.for("react.scope") : 60119;
4508
4509
  function V(b) {
4509
4510
  if (typeof b == "object" && b !== null) {
4510
4511
  var L = b.$$typeof;
@@ -4563,7 +4564,7 @@ function dh() {
4563
4564
  }, de.isSuspense = function(b) {
4564
4565
  return V(b) === p;
4565
4566
  }, de.isValidElementType = function(b) {
4566
- return typeof b == "string" || typeof b == "function" || b === n || b === l || b === a || b === s || b === p || b === y || typeof b == "object" && b !== null && (b.$$typeof === x || b.$$typeof === v || b.$$typeof === o || b.$$typeof === i || b.$$typeof === d || b.$$typeof === C || b.$$typeof === T || b.$$typeof === M || b.$$typeof === k);
4567
+ return typeof b == "string" || typeof b == "function" || b === n || b === l || b === a || b === s || b === p || b === y || typeof b == "object" && b !== null && (b.$$typeof === x || b.$$typeof === v || b.$$typeof === o || b.$$typeof === i || b.$$typeof === d || b.$$typeof === O || b.$$typeof === T || b.$$typeof === M || b.$$typeof === S);
4567
4568
  }, de.typeOf = V, de;
4568
4569
  }
4569
4570
  var he = {};
@@ -4578,10 +4579,10 @@ var he = {};
4578
4579
  var ps;
4579
4580
  function hh() {
4580
4581
  return ps || (ps = 1, process.env.NODE_ENV !== "production" && function() {
4581
- var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, s = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, o = e ? Symbol.for("react.provider") : 60109, i = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, y = e ? Symbol.for("react.suspense_list") : 60120, v = e ? Symbol.for("react.memo") : 60115, x = e ? Symbol.for("react.lazy") : 60116, k = e ? Symbol.for("react.block") : 60121, C = e ? Symbol.for("react.fundamental") : 60117, T = e ? Symbol.for("react.responder") : 60118, M = e ? Symbol.for("react.scope") : 60119;
4582
+ var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, s = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, o = e ? Symbol.for("react.provider") : 60109, i = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, y = e ? Symbol.for("react.suspense_list") : 60120, v = e ? Symbol.for("react.memo") : 60115, x = e ? Symbol.for("react.lazy") : 60116, S = e ? Symbol.for("react.block") : 60121, O = e ? Symbol.for("react.fundamental") : 60117, T = e ? Symbol.for("react.responder") : 60118, M = e ? Symbol.for("react.scope") : 60119;
4582
4583
  function V(I) {
4583
4584
  return typeof I == "string" || typeof I == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
4584
- I === n || I === l || I === a || I === s || I === p || I === y || typeof I == "object" && I !== null && (I.$$typeof === x || I.$$typeof === v || I.$$typeof === o || I.$$typeof === i || I.$$typeof === d || I.$$typeof === C || I.$$typeof === T || I.$$typeof === M || I.$$typeof === k);
4585
+ I === n || I === l || I === a || I === s || I === p || I === y || typeof I == "object" && I !== null && (I.$$typeof === x || I.$$typeof === v || I.$$typeof === o || I.$$typeof === i || I.$$typeof === d || I.$$typeof === O || I.$$typeof === T || I.$$typeof === M || I.$$typeof === S);
4585
4586
  }
4586
4587
  function $(I) {
4587
4588
  if (typeof I == "object" && I !== null) {
@@ -4615,9 +4616,9 @@ function hh() {
4615
4616
  }
4616
4617
  }
4617
4618
  }
4618
- var b = c, L = l, R = i, H = o, F = r, te = d, J = n, B = x, E = v, P = t, N = a, S = s, q = p, O = !1;
4619
+ var b = c, L = l, R = i, H = o, F = r, te = d, J = n, B = x, E = v, P = t, N = a, k = s, q = p, C = !1;
4619
4620
  function ne(I) {
4620
- return O || (O = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), g(I) || $(I) === c;
4621
+ return C || (C = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), g(I) || $(I) === c;
4621
4622
  }
4622
4623
  function g(I) {
4623
4624
  return $(I) === l;
@@ -4655,7 +4656,7 @@ function hh() {
4655
4656
  function Se(I) {
4656
4657
  return $(I) === p;
4657
4658
  }
4658
- he.AsyncMode = b, he.ConcurrentMode = L, he.ContextConsumer = R, he.ContextProvider = H, he.Element = F, he.ForwardRef = te, he.Fragment = J, he.Lazy = B, he.Memo = E, he.Portal = P, he.Profiler = N, he.StrictMode = S, he.Suspense = q, he.isAsyncMode = ne, he.isConcurrentMode = g, he.isContextConsumer = D, he.isContextProvider = W, he.isElement = h, he.isForwardRef = _, he.isFragment = U, he.isLazy = A, he.isMemo = Y, he.isPortal = z, he.isProfiler = Q, he.isStrictMode = Z, he.isSuspense = Se, he.isValidElementType = V, he.typeOf = $;
4659
+ he.AsyncMode = b, he.ConcurrentMode = L, he.ContextConsumer = R, he.ContextProvider = H, he.Element = F, he.ForwardRef = te, he.Fragment = J, he.Lazy = B, he.Memo = E, he.Portal = P, he.Profiler = N, he.StrictMode = k, he.Suspense = q, he.isAsyncMode = ne, he.isConcurrentMode = g, he.isContextConsumer = D, he.isContextProvider = W, he.isElement = h, he.isForwardRef = _, he.isFragment = U, he.isLazy = A, he.isMemo = Y, he.isPortal = z, he.isProfiler = Q, he.isStrictMode = Z, he.isSuspense = Se, he.isValidElementType = V, he.typeOf = $;
4659
4660
  }()), he;
4660
4661
  }
4661
4662
  var ms;
@@ -4825,11 +4826,11 @@ function bh() {
4825
4826
  function x(g, D) {
4826
4827
  return g === D ? g !== 0 || 1 / g === 1 / D : g !== g && D !== D;
4827
4828
  }
4828
- function k(g, D) {
4829
+ function S(g, D) {
4829
4830
  this.message = g, this.data = D && typeof D == "object" ? D : {}, this.stack = "";
4830
4831
  }
4831
- k.prototype = Error.prototype;
4832
- function C(g) {
4832
+ S.prototype = Error.prototype;
4833
+ function O(g) {
4833
4834
  if (process.env.NODE_ENV !== "production")
4834
4835
  var D = {}, W = 0;
4835
4836
  function h(U, A, Y, z, Q, Z, Se) {
@@ -4847,36 +4848,36 @@ function bh() {
4847
4848
  ), D[Ie] = !0, W++);
4848
4849
  }
4849
4850
  }
4850
- return A[Y] == null ? U ? A[Y] === null ? new k("The " + Q + " `" + Z + "` is marked as required " + ("in `" + z + "`, but its value is `null`.")) : new k("The " + Q + " `" + Z + "` is marked as required in " + ("`" + z + "`, but its value is `undefined`.")) : null : g(A, Y, z, Q, Z);
4851
+ return A[Y] == null ? U ? A[Y] === null ? new S("The " + Q + " `" + Z + "` is marked as required " + ("in `" + z + "`, but its value is `null`.")) : new S("The " + Q + " `" + Z + "` is marked as required in " + ("`" + z + "`, but its value is `undefined`.")) : null : g(A, Y, z, Q, Z);
4851
4852
  }
4852
4853
  var _ = h.bind(null, !1);
4853
4854
  return _.isRequired = h.bind(null, !0), _;
4854
4855
  }
4855
4856
  function T(g) {
4856
4857
  function D(W, h, _, U, A, Y) {
4857
- var z = W[h], Q = S(z);
4858
+ var z = W[h], Q = k(z);
4858
4859
  if (Q !== g) {
4859
4860
  var Z = q(z);
4860
- return new k(
4861
+ return new S(
4861
4862
  "Invalid " + U + " `" + A + "` of type " + ("`" + Z + "` supplied to `" + _ + "`, expected ") + ("`" + g + "`."),
4862
4863
  { expectedType: g }
4863
4864
  );
4864
4865
  }
4865
4866
  return null;
4866
4867
  }
4867
- return C(D);
4868
+ return O(D);
4868
4869
  }
4869
4870
  function M() {
4870
- return C(o);
4871
+ return O(o);
4871
4872
  }
4872
4873
  function V(g) {
4873
4874
  function D(W, h, _, U, A) {
4874
4875
  if (typeof g != "function")
4875
- return new k("Property `" + A + "` of component `" + _ + "` has invalid PropType notation inside arrayOf.");
4876
+ return new S("Property `" + A + "` of component `" + _ + "` has invalid PropType notation inside arrayOf.");
4876
4877
  var Y = W[h];
4877
4878
  if (!Array.isArray(Y)) {
4878
- var z = S(Y);
4879
- return new k("Invalid " + U + " `" + A + "` of type " + ("`" + z + "` supplied to `" + _ + "`, expected an array."));
4879
+ var z = k(Y);
4880
+ return new S("Invalid " + U + " `" + A + "` of type " + ("`" + z + "` supplied to `" + _ + "`, expected an array."));
4880
4881
  }
4881
4882
  for (var Q = 0; Q < Y.length; Q++) {
4882
4883
  var Z = g(Y, Q, _, U, A + "[" + Q + "]", t);
@@ -4885,39 +4886,39 @@ function bh() {
4885
4886
  }
4886
4887
  return null;
4887
4888
  }
4888
- return C(D);
4889
+ return O(D);
4889
4890
  }
4890
4891
  function $() {
4891
4892
  function g(D, W, h, _, U) {
4892
4893
  var A = D[W];
4893
4894
  if (!i(A)) {
4894
- var Y = S(A);
4895
- return new k("Invalid " + _ + " `" + U + "` of type " + ("`" + Y + "` supplied to `" + h + "`, expected a single ReactElement."));
4895
+ var Y = k(A);
4896
+ return new S("Invalid " + _ + " `" + U + "` of type " + ("`" + Y + "` supplied to `" + h + "`, expected a single ReactElement."));
4896
4897
  }
4897
4898
  return null;
4898
4899
  }
4899
- return C(g);
4900
+ return O(g);
4900
4901
  }
4901
4902
  function b() {
4902
4903
  function g(D, W, h, _, U) {
4903
4904
  var A = D[W];
4904
4905
  if (!e.isValidElementType(A)) {
4905
- var Y = S(A);
4906
- return new k("Invalid " + _ + " `" + U + "` of type " + ("`" + Y + "` supplied to `" + h + "`, expected a single ReactElement type."));
4906
+ var Y = k(A);
4907
+ return new S("Invalid " + _ + " `" + U + "` of type " + ("`" + Y + "` supplied to `" + h + "`, expected a single ReactElement type."));
4907
4908
  }
4908
4909
  return null;
4909
4910
  }
4910
- return C(g);
4911
+ return O(g);
4911
4912
  }
4912
4913
  function L(g) {
4913
4914
  function D(W, h, _, U, A) {
4914
4915
  if (!(W[h] instanceof g)) {
4915
4916
  var Y = g.name || y, z = ne(W[h]);
4916
- return new k("Invalid " + U + " `" + A + "` of type " + ("`" + z + "` supplied to `" + _ + "`, expected ") + ("instance of `" + Y + "`."));
4917
+ return new S("Invalid " + U + " `" + A + "` of type " + ("`" + z + "` supplied to `" + _ + "`, expected ") + ("instance of `" + Y + "`."));
4917
4918
  }
4918
4919
  return null;
4919
4920
  }
4920
- return C(D);
4921
+ return O(D);
4921
4922
  }
4922
4923
  function R(g) {
4923
4924
  if (!Array.isArray(g))
@@ -4932,17 +4933,17 @@ function bh() {
4932
4933
  var Ie = q(I);
4933
4934
  return Ie === "symbol" ? String(I) : I;
4934
4935
  });
4935
- return new k("Invalid " + U + " `" + A + "` of value `" + String(Y) + "` " + ("supplied to `" + _ + "`, expected one of " + Q + "."));
4936
+ return new S("Invalid " + U + " `" + A + "` of value `" + String(Y) + "` " + ("supplied to `" + _ + "`, expected one of " + Q + "."));
4936
4937
  }
4937
- return C(D);
4938
+ return O(D);
4938
4939
  }
4939
4940
  function H(g) {
4940
4941
  function D(W, h, _, U, A) {
4941
4942
  if (typeof g != "function")
4942
- return new k("Property `" + A + "` of component `" + _ + "` has invalid PropType notation inside objectOf.");
4943
- var Y = W[h], z = S(Y);
4943
+ return new S("Property `" + A + "` of component `" + _ + "` has invalid PropType notation inside objectOf.");
4944
+ var Y = W[h], z = k(Y);
4944
4945
  if (z !== "object")
4945
- return new k("Invalid " + U + " `" + A + "` of type " + ("`" + z + "` supplied to `" + _ + "`, expected an object."));
4946
+ return new S("Invalid " + U + " `" + A + "` of type " + ("`" + z + "` supplied to `" + _ + "`, expected an object."));
4946
4947
  for (var Q in Y)
4947
4948
  if (n(Y, Q)) {
4948
4949
  var Z = g(Y, Q, _, U, A + "." + Q, t);
@@ -4951,7 +4952,7 @@ function bh() {
4951
4952
  }
4952
4953
  return null;
4953
4954
  }
4954
- return C(D);
4955
+ return O(D);
4955
4956
  }
4956
4957
  function F(g) {
4957
4958
  if (!Array.isArray(g))
@@ -4960,7 +4961,7 @@ function bh() {
4960
4961
  var W = g[D];
4961
4962
  if (typeof W != "function")
4962
4963
  return a(
4963
- "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + O(W) + " at index " + D + "."
4964
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + C(W) + " at index " + D + "."
4964
4965
  ), o;
4965
4966
  }
4966
4967
  function h(_, U, A, Y, z) {
@@ -4971,26 +4972,26 @@ function bh() {
4971
4972
  I.data && n(I.data, "expectedType") && Q.push(I.data.expectedType);
4972
4973
  }
4973
4974
  var Ie = Q.length > 0 ? ", expected one of type [" + Q.join(", ") + "]" : "";
4974
- return new k("Invalid " + Y + " `" + z + "` supplied to " + ("`" + A + "`" + Ie + "."));
4975
+ return new S("Invalid " + Y + " `" + z + "` supplied to " + ("`" + A + "`" + Ie + "."));
4975
4976
  }
4976
- return C(h);
4977
+ return O(h);
4977
4978
  }
4978
4979
  function te() {
4979
4980
  function g(D, W, h, _, U) {
4980
- return P(D[W]) ? null : new k("Invalid " + _ + " `" + U + "` supplied to " + ("`" + h + "`, expected a ReactNode."));
4981
+ return P(D[W]) ? null : new S("Invalid " + _ + " `" + U + "` supplied to " + ("`" + h + "`, expected a ReactNode."));
4981
4982
  }
4982
- return C(g);
4983
+ return O(g);
4983
4984
  }
4984
4985
  function J(g, D, W, h, _) {
4985
- return new k(
4986
+ return new S(
4986
4987
  (g || "React class") + ": " + D + " type `" + W + "." + h + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + _ + "`."
4987
4988
  );
4988
4989
  }
4989
4990
  function B(g) {
4990
4991
  function D(W, h, _, U, A) {
4991
- var Y = W[h], z = S(Y);
4992
+ var Y = W[h], z = k(Y);
4992
4993
  if (z !== "object")
4993
- return new k("Invalid " + U + " `" + A + "` of type `" + z + "` " + ("supplied to `" + _ + "`, expected `object`."));
4994
+ return new S("Invalid " + U + " `" + A + "` of type `" + z + "` " + ("supplied to `" + _ + "`, expected `object`."));
4994
4995
  for (var Q in g) {
4995
4996
  var Z = g[Q];
4996
4997
  if (typeof Z != "function")
@@ -5001,20 +5002,20 @@ function bh() {
5001
5002
  }
5002
5003
  return null;
5003
5004
  }
5004
- return C(D);
5005
+ return O(D);
5005
5006
  }
5006
5007
  function E(g) {
5007
5008
  function D(W, h, _, U, A) {
5008
- var Y = W[h], z = S(Y);
5009
+ var Y = W[h], z = k(Y);
5009
5010
  if (z !== "object")
5010
- return new k("Invalid " + U + " `" + A + "` of type `" + z + "` " + ("supplied to `" + _ + "`, expected `object`."));
5011
+ return new S("Invalid " + U + " `" + A + "` of type `" + z + "` " + ("supplied to `" + _ + "`, expected `object`."));
5011
5012
  var Q = r({}, W[h], g);
5012
5013
  for (var Z in Q) {
5013
5014
  var Se = g[Z];
5014
5015
  if (n(g, Z) && typeof Se != "function")
5015
5016
  return J(_, U, A, Z, q(Se));
5016
5017
  if (!Se)
5017
- return new k(
5018
+ return new S(
5018
5019
  "Invalid " + U + " `" + A + "` key `" + Z + "` supplied to `" + _ + "`.\nBad object: " + JSON.stringify(W[h], null, " ") + `
5019
5020
  Valid keys: ` + JSON.stringify(Object.keys(g), null, " ")
5020
5021
  );
@@ -5024,7 +5025,7 @@ Valid keys: ` + JSON.stringify(Object.keys(g), null, " ")
5024
5025
  }
5025
5026
  return null;
5026
5027
  }
5027
- return C(D);
5028
+ return O(D);
5028
5029
  }
5029
5030
  function P(g) {
5030
5031
  switch (typeof g) {
@@ -5062,14 +5063,14 @@ Valid keys: ` + JSON.stringify(Object.keys(g), null, " ")
5062
5063
  function N(g, D) {
5063
5064
  return g === "symbol" ? !0 : D ? D["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && D instanceof Symbol : !1;
5064
5065
  }
5065
- function S(g) {
5066
+ function k(g) {
5066
5067
  var D = typeof g;
5067
5068
  return Array.isArray(g) ? "array" : g instanceof RegExp ? "object" : N(D, g) ? "symbol" : D;
5068
5069
  }
5069
5070
  function q(g) {
5070
5071
  if (typeof g > "u" || g === null)
5071
5072
  return "" + g;
5072
- var D = S(g);
5073
+ var D = k(g);
5073
5074
  if (D === "object") {
5074
5075
  if (g instanceof Date)
5075
5076
  return "date";
@@ -5078,7 +5079,7 @@ Valid keys: ` + JSON.stringify(Object.keys(g), null, " ")
5078
5079
  }
5079
5080
  return D;
5080
5081
  }
5081
- function O(g) {
5082
+ function C(g) {
5082
5083
  var D = q(g);
5083
5084
  switch (D) {
5084
5085
  case "array":
@@ -5557,7 +5558,7 @@ const Eh = ({
5557
5558
  isClickedWithin: d,
5558
5559
  children: p
5559
5560
  }) => {
5560
- const [y, v] = ye(-1), [x, k] = ye(-1), [C, T] = ye(e), M = X(100), V = X(101), $ = X(), b = X(), L = X();
5561
+ const [y, v] = ye(-1), [x, S] = ye(-1), [O, T] = ye(e), M = X(100), V = X(101), $ = X(), b = X(), L = X();
5561
5562
  we(() => {
5562
5563
  r && ($.current = Oa(r));
5563
5564
  const E = xa("zIndex", (P) => P === "auto" || P === "-1" ? !1 : parseInt(P) > 100).map((P) => parseInt(P, 10));
@@ -5566,7 +5567,7 @@ const Eh = ({
5566
5567
  const R = (E) => {
5567
5568
  b.current = E;
5568
5569
  }, H = () => {
5569
- k(M.current), v(V.current);
5570
+ S(M.current), v(V.current);
5570
5571
  }, F = () => {
5571
5572
  if (!b.current)
5572
5573
  return;
@@ -5580,7 +5581,7 @@ const Eh = ({
5580
5581
  }, te = () => {
5581
5582
  L.current && Ea(L.current);
5582
5583
  }, J = () => {
5583
- k(-1), v(-1), l == null || l();
5584
+ S(-1), v(-1), l == null || l();
5584
5585
  }, B = {
5585
5586
  entering: { opacity: 0.5 },
5586
5587
  entered: { opacity: 0.5 }
@@ -5589,7 +5590,7 @@ const Eh = ({
5589
5590
  /* @__PURE__ */ f.jsx(
5590
5591
  Ca,
5591
5592
  {
5592
- start: C,
5593
+ start: O,
5593
5594
  timeout: s,
5594
5595
  showTransitionOptions: a,
5595
5596
  hideTransitionOptions: o,
@@ -5598,7 +5599,7 @@ const Eh = ({
5598
5599
  onExit: te,
5599
5600
  onExited: J,
5600
5601
  unmountOnExit: n,
5601
- children: ({ state: E, defaultStyle: P, transitionStyles: N }) => /* @__PURE__ */ f.jsxs("div", { ref: (S) => S && R(S), children: [
5602
+ children: ({ state: E, defaultStyle: P, transitionStyles: N }) => /* @__PURE__ */ f.jsxs("div", { ref: (k) => k && R(k), children: [
5602
5603
  /* @__PURE__ */ f.jsx(
5603
5604
  "div",
5604
5605
  {
@@ -5811,18 +5812,18 @@ const Sh = ({
5811
5812
  hideTransitionOptions: y = "linear",
5812
5813
  shown: v,
5813
5814
  hidden: x,
5814
- isClickedWithin: k,
5815
- markupCreated: C,
5815
+ isClickedWithin: S,
5816
+ markupCreated: O,
5816
5817
  children: T
5817
5818
  }) => {
5818
5819
  const [M, V] = ye(-1), [$, b] = ye(e), [L, R] = ye(!1), H = X(!1), F = X(100), te = X({
5819
5820
  left: 0,
5820
5821
  top: 0,
5821
5822
  width: 0
5822
- }), J = X(), B = X(), E = X(), P = X(), N = X(), S = X(), q = Os();
5823
- we(() => (c === !0 && (S.current = new ResizeObserver(O)), () => {
5823
+ }), J = X(), B = X(), E = X(), P = X(), N = X(), k = X(), q = Os();
5824
+ we(() => (c === !0 && (k.current = new ResizeObserver(C)), () => {
5824
5825
  var A, Y;
5825
- c === !0 && (B.current && ((A = S.current) == null || A.unobserve(B.current)), (Y = S.current) == null || Y.disconnect());
5826
+ c === !0 && (B.current && ((A = k.current) == null || A.unobserve(B.current)), (Y = k.current) == null || Y.disconnect());
5826
5827
  }), []), we(() => {
5827
5828
  if (r && (J.current = Oa(r), o)) {
5828
5829
  const A = q == null ? void 0 : q.isValidScrollableElement;
@@ -5843,7 +5844,7 @@ const Sh = ({
5843
5844
  }
5844
5845
  e !== void 0 && b(e);
5845
5846
  }, [r, e, o, i]);
5846
- const O = (A) => {
5847
+ const C = (A) => {
5847
5848
  if (B.current) {
5848
5849
  const Y = xe.getScreenDimensions(), z = A[A.length - 1].target, Q = z.getBoundingClientRect(), Z = xe.determineOffScreenLocation(Q);
5849
5850
  if (Z) {
@@ -5874,7 +5875,7 @@ const Sh = ({
5874
5875
  let A;
5875
5876
  !s && J.current && (A = [J.current]);
5876
5877
  const Y = (z) => {
5877
- z ? k == null || k() : b(!1);
5878
+ z ? S == null || S() : b(!1);
5878
5879
  };
5879
5880
  P.current = Pa(B.current, Y, A), o && (N.current = Nl(
5880
5881
  (z) => B.current && Qd(z, B.current) && b(!1),
@@ -5887,7 +5888,7 @@ const Sh = ({
5887
5888
  V(-1), x == null || x();
5888
5889
  }, _ = (A) => {
5889
5890
  var Y, z;
5890
- if (c === !0 && B.current && ((Y = S.current) == null || Y.unobserve(B.current)), B.current = A, C == null || C(A), J.current) {
5891
+ if (c === !0 && B.current && ((Y = k.current) == null || Y.unobserve(B.current)), B.current = A, O == null || O(A), J.current) {
5891
5892
  const Q = xe.positionElementToTarget(
5892
5893
  B.current,
5893
5894
  J.current,
@@ -5897,7 +5898,7 @@ const Sh = ({
5897
5898
  te.current = {
5898
5899
  ...Q,
5899
5900
  width: J.current.offsetWidth
5900
- }, c === !0 && (xe.canPositionElementOnScreenWithTarget(B.current, J.current) || xe.canPositionElementOnScreen(B.current)) && ((z = S.current) == null || z.observe(B.current));
5901
+ }, c === !0 && (xe.canPositionElementOnScreenWithTarget(B.current, J.current) || xe.canPositionElementOnScreen(B.current)) && ((z = k.current) == null || z.observe(B.current));
5901
5902
  }
5902
5903
  }, U = Tt(() => {
5903
5904
  const A = {
@@ -6586,55 +6587,55 @@ const $h = (e, r) => {
6586
6587
  isSingleLine: y = !1,
6587
6588
  allowSingleLineScroll: v = !1,
6588
6589
  isInputValid: x,
6589
- onChange: k,
6590
- onFocus: C,
6590
+ onChange: S,
6591
+ onFocus: O,
6591
6592
  onBlur: T,
6592
6593
  onElementCreate: M,
6593
6594
  onLeftElementClick: V,
6594
6595
  onRightElementClick: $
6595
6596
  } = e, [b, L] = ye(!0), R = X(), H = X(), F = X();
6596
6597
  we(() => () => {
6597
- var O;
6598
- (O = F.current) == null || O.dispose();
6598
+ var C;
6599
+ (C = F.current) == null || C.dispose();
6599
6600
  }, []), we(() => {
6600
- var O;
6601
- (O = F.current) == null || O.inputValuePassed(t);
6601
+ var C;
6602
+ (C = F.current) == null || C.inputValuePassed(t);
6602
6603
  }, [t]), we(() => {
6603
- var O, ne, g;
6604
- (O = F.current) == null || O.dispose(), n && (F.current = new Lh(n, t), H.current && ((ne = F.current) == null || ne.inputElementCreated(H.current)), (g = F.current) == null || g.registerFormatChangeEvent(te));
6604
+ var C, ne, g;
6605
+ (C = F.current) == null || C.dispose(), n && (F.current = new Lh(n, t), H.current && ((ne = F.current) == null || ne.inputElementCreated(H.current)), (g = F.current) == null || g.registerFormatChangeEvent(te));
6605
6606
  }, [n]);
6606
6607
  const te = Ne(
6607
- (O) => {
6608
- x ? x(O) ? (L(!0), k == null || k(O)) : L(!1) : k == null || k(O);
6608
+ (C) => {
6609
+ x ? x(C) ? (L(!0), S == null || S(C)) : L(!1) : S == null || S(C);
6609
6610
  },
6610
- [k]
6611
+ [S]
6611
6612
  ), J = Ne(
6612
- (O) => {
6613
+ (C) => {
6613
6614
  var ne;
6614
- (ne = F.current) == null || ne.inputFocused(), C == null || C(O);
6615
+ (ne = F.current) == null || ne.inputFocused(), O == null || O(C);
6615
6616
  },
6616
- [C]
6617
+ [O]
6617
6618
  ), B = Ne(
6618
- (O) => {
6619
+ (C) => {
6619
6620
  var ne;
6620
- (ne = F.current) == null || ne.inputBlurred(), T == null || T(O);
6621
+ (ne = F.current) == null || ne.inputBlurred(), T == null || T(C);
6621
6622
  },
6622
6623
  [T]
6623
6624
  ), E = Ne(() => {
6624
- var O;
6625
- (O = F.current) == null || O.mouseUpHandler();
6626
- }, []), P = Ne((O) => {
6625
+ var C;
6626
+ (C = F.current) == null || C.mouseUpHandler();
6627
+ }, []), P = Ne((C) => {
6627
6628
  var ne;
6628
- (ne = F.current) == null || ne.keyDownHandler(O);
6629
- }, []), N = Ne((O) => {
6629
+ (ne = F.current) == null || ne.keyDownHandler(C);
6630
+ }, []), N = Ne((C) => {
6630
6631
  var ne, g, D, W, h, _, U, A, Y;
6631
- (g = (ne = R.current) == null ? void 0 : ne.inputElement) == null || g.removeEventListener("keydown", P), (W = (D = R.current) == null ? void 0 : D.inputElement) == null || W.removeEventListener("mouseup", E), R.current = O, (_ = (h = R.current) == null ? void 0 : h.inputElement) == null || _.addEventListener("keydown", P), (A = (U = R.current) == null ? void 0 : U.inputElement) == null || A.addEventListener("mouseup", E), H.current = (Y = R.current) == null ? void 0 : Y.inputElement;
6632
- }, []), S = Ne(() => {
6633
- var O;
6634
- (O = R.current) == null || O.focus();
6632
+ (g = (ne = R.current) == null ? void 0 : ne.inputElement) == null || g.removeEventListener("keydown", P), (W = (D = R.current) == null ? void 0 : D.inputElement) == null || W.removeEventListener("mouseup", E), R.current = C, (_ = (h = R.current) == null ? void 0 : h.inputElement) == null || _.addEventListener("keydown", P), (A = (U = R.current) == null ? void 0 : U.inputElement) == null || A.addEventListener("mouseup", E), H.current = (Y = R.current) == null ? void 0 : Y.inputElement;
6633
+ }, []), k = Ne(() => {
6634
+ var C;
6635
+ (C = R.current) == null || C.focus();
6635
6636
  }, []);
6636
6637
  kr(r, () => ({
6637
- focus: S
6638
+ focus: k
6638
6639
  }));
6639
6640
  const q = ie(l, {
6640
6641
  "!bsc-border-error": !b
@@ -6642,7 +6643,7 @@ const $h = (e, r) => {
6642
6643
  return /* @__PURE__ */ f.jsx(
6643
6644
  nn,
6644
6645
  {
6645
- ref: (O) => O && N(O),
6646
+ ref: (C) => C && N(C),
6646
6647
  readOnly: s,
6647
6648
  debounceTime: a,
6648
6649
  fillContainer: o,
@@ -6674,10 +6675,10 @@ function Es(e, r, t = !0) {
6674
6675
  isCurrent: !0
6675
6676
  });
6676
6677
  let p = 1;
6677
- for (let x = 0, k = l; x < k; x++) {
6678
- for (let C = x > 0 ? 0 : o; C < 7; C++) {
6678
+ for (let x = 0, S = l; x < S; x++) {
6679
+ for (let O = x > 0 ? 0 : o; O < 7; O++) {
6679
6680
  const T = c[p - 1];
6680
- if (T.setHours(e.getHours(), e.getMinutes(), e.getSeconds()), d[x][C].dayValue = T, ++p > n)
6681
+ if (T.setHours(e.getHours(), e.getMinutes(), e.getSeconds()), d[x][O].dayValue = T, ++p > n)
6681
6682
  break;
6682
6683
  }
6683
6684
  if (p > n)
@@ -7135,11 +7136,11 @@ const vr = ({
7135
7136
  dispatcher: l
7136
7137
  }) => {
7137
7138
  var N;
7138
- const [d, p] = ye(!1), [y, v] = ye(), [x, k] = ye(), [C, T] = ye(), [M, V] = ye(), $ = X(), b = X(), L = un(Cn), R = Tt(() => L.calendarTemplate, [L.calendarTemplate]), H = async () => a || await Ma(ya());
7139
+ const [d, p] = ye(!1), [y, v] = ye(), [x, S] = ye(), [O, T] = ye(), [M, V] = ye(), $ = X(), b = X(), L = un(Cn), R = Tt(() => L.calendarTemplate, [L.calendarTemplate]), H = async () => a || await Ma(ya());
7139
7140
  we(() => {
7140
- H().then((S) => {
7141
- $.current = S, b.current = Hh($.current), p(!0);
7142
- }).catch((S) => console.error(S));
7141
+ H().then((k) => {
7142
+ $.current = k, b.current = Hh($.current), p(!0);
7143
+ }).catch((k) => console.error(k));
7143
7144
  }, []), we(() => {
7144
7145
  e && $.current && T(Es(e, $.current, s === nt.Normal));
7145
7146
  }, [e, d]), we(() => {
@@ -7154,7 +7155,7 @@ const vr = ({
7154
7155
  0,
7155
7156
  0
7156
7157
  ).getTime() : void 0
7157
- ), k(
7158
+ ), S(
7158
7159
  n ? new Date(
7159
7160
  n.getFullYear(),
7160
7161
  n.getMonth(),
@@ -7167,21 +7168,21 @@ const vr = ({
7167
7168
  }, [t, n]), we(() => {
7168
7169
  $.current && a && ($.current = a, T(Es(e, $.current, s === nt.Normal)));
7169
7170
  }, [a]);
7170
- const F = (S) => {
7171
+ const F = (k) => {
7171
7172
  if (s === nt.Normal)
7172
7173
  l == null || l({
7173
7174
  type: ee.SetSelectedDate,
7174
- selectedDate: S,
7175
- viewDate: S
7176
- }), o == null || o(S);
7175
+ selectedDate: k,
7176
+ viewDate: k
7177
+ }), o == null || o(k);
7177
7178
  else {
7178
7179
  if (!o)
7179
7180
  throw new Error("Range selection mode requires onDateSelected to be set");
7180
- !t || If(S, t) ? o(S) : t && !n ? o(S, { setEndDate: !0 }) : t && n && o(S);
7181
+ !t || If(k, t) ? o(k) : t && !n ? o(k, { setEndDate: !0 }) : t && n && o(k);
7181
7182
  }
7182
- }, te = (S) => (M == null ? void 0 : M.toLocaleDateString()) === S.toLocaleDateString(), J = (S) => {
7183
+ }, te = (k) => (M == null ? void 0 : M.toLocaleDateString()) === k.toLocaleDateString(), J = (k) => {
7183
7184
  if (y && x) {
7184
- const q = S.getTime();
7185
+ const q = k.getTime();
7185
7186
  return q >= y && q <= x;
7186
7187
  }
7187
7188
  return !1;
@@ -7193,26 +7194,26 @@ const vr = ({
7193
7194
  selectionMode: s,
7194
7195
  locale: a,
7195
7196
  weekDays: b.current,
7196
- monthMatrix: C,
7197
+ monthMatrix: O,
7197
7198
  selectableDate: i,
7198
7199
  isValidDate: c,
7199
7200
  onDateClicked: F,
7200
7201
  isSelectedDate: te,
7201
7202
  isInSelectedDateRange: J
7202
- }, P = R || ((S, q) => /* @__PURE__ */ f.jsx("div", { className: "bc-dt-calendar bsc-w-full", children: q }));
7203
+ }, P = R || ((k, q) => /* @__PURE__ */ f.jsx("div", { className: "bc-dt-calendar bsc-w-full", children: q }));
7203
7204
  return /* @__PURE__ */ f.jsx(kt, { props: B, template: P, children: /* @__PURE__ */ f.jsxs("div", { className: "bc-dt-day-row bsc-grid bsc-min-w-[329px] bsc-grid-cols-7 bsc-gap-3", children: [
7204
- (N = b.current) == null ? void 0 : N.map((S, q) => /* @__PURE__ */ f.jsx("div", { className: "bc-dt-day-cell bsc-text-center bsc-font-bold", children: S }, q)),
7205
- C == null ? void 0 : C.map(
7206
- (S, q) => S.map((O, ne) => {
7205
+ (N = b.current) == null ? void 0 : N.map((k, q) => /* @__PURE__ */ f.jsx("div", { className: "bc-dt-day-cell bsc-text-center bsc-font-bold", children: k }, q)),
7206
+ O == null ? void 0 : O.map(
7207
+ (k, q) => k.map((C, ne) => {
7207
7208
  var W, h;
7208
- const g = O.dayValue !== null && (i === void 0 || i(O.dayValue)), D = ie(
7209
+ const g = C.dayValue !== null && (i === void 0 || i(C.dayValue)), D = ie(
7209
7210
  "bsc-text-center bsc-py-1",
7210
7211
  {
7211
- "bsc-text-gray-3": !O.isCurrent,
7212
- "bsc-bg-primary-3 dark:bsc-bg-mono-light-1 dark:bsc-text-mono-dark-1": O && O.dayValue && (M && te(O.dayValue) || y && !x && oa(y, O.dayValue) || y && x && J(O.dayValue)),
7212
+ "bsc-text-gray-3": !C.isCurrent,
7213
+ "bsc-bg-primary-3 dark:bsc-bg-mono-light-1 dark:bsc-text-mono-dark-1": C && C.dayValue && (M && te(C.dayValue) || y && !x && oa(y, C.dayValue) || y && x && J(C.dayValue)),
7213
7214
  "bsc-cursor-pointer": g,
7214
7215
  "bsc-text-error bsc-cursor-not-allowed": !g,
7215
- "bsc-bg-primary-5 dark:bsc-bg-mono-light-3 dark:bsc-text-mono-dark-1": O.dayValue && Cd(O.dayValue) && !(te(O.dayValue) || J(O.dayValue))
7216
+ "bsc-bg-primary-5 dark:bsc-bg-mono-light-3 dark:bsc-text-mono-dark-1": C.dayValue && Cd(C.dayValue) && !(te(C.dayValue) || J(C.dayValue))
7216
7217
  },
7217
7218
  "bc-dt-date-cell"
7218
7219
  );
@@ -7220,8 +7221,8 @@ const vr = ({
7220
7221
  "div",
7221
7222
  {
7222
7223
  className: D,
7223
- onClick: () => O && O.dayValue && g && (c === void 0 || c(O.dayValue)) && F(O.dayValue),
7224
- children: (h = O.dayValue) == null ? void 0 : h.getDate().toLocaleString((W = $.current) == null ? void 0 : W.code)
7224
+ onClick: () => C && C.dayValue && g && (c === void 0 || c(C.dayValue)) && F(C.dayValue),
7225
+ children: (h = C.dayValue) == null ? void 0 : h.getDate().toLocaleString((W = $.current) == null ? void 0 : W.code)
7225
7226
  },
7226
7227
  q.toString() + ne.toString()
7227
7228
  );
@@ -7492,10 +7493,10 @@ const vr = ({
7492
7493
  "22",
7493
7494
  "23"
7494
7495
  ]
7495
- ), l = X(Zd(0, 59, (E) => E.toString().padStart(2, "0"))), d = X(["AM", "PM"]), p = X(Sl(e)), y = (E) => E > 11 ? E - 12 : E, [v, x] = ye(y(e.getHours())), [k, C] = ye(e.getMinutes()), [T, M] = ye(e.getHours() <= 12 ? 0 : 1), V = X(e.toLocaleDateString(t.code));
7496
+ ), l = X(Zd(0, 59, (E) => E.toString().padStart(2, "0"))), d = X(["AM", "PM"]), p = X(Sl(e)), y = (E) => E > 11 ? E - 12 : E, [v, x] = ye(y(e.getHours())), [S, O] = ye(e.getMinutes()), [T, M] = ye(e.getHours() <= 12 ? 0 : 1), V = X(e.toLocaleDateString(t.code));
7496
7497
  we(() => {
7497
7498
  const E = e.getHours(), P = e.getMinutes();
7498
- if (E !== v && x(n === Pe.TwelveHour ? y(E) : E), P !== k && C(P), n === Pe.TwelveHour) {
7499
+ if (E !== v && x(n === Pe.TwelveHour ? y(E) : E), P !== S && O(P), n === Pe.TwelveHour) {
7499
7500
  const N = E <= 11 ? 0 : 1;
7500
7501
  N !== T && M(N);
7501
7502
  }
@@ -7503,25 +7504,25 @@ const vr = ({
7503
7504
  const $ = () => {
7504
7505
  var N;
7505
7506
  const E = ((N = s == null ? void 0 : s.hours) == null ? void 0 : N.step) || 1, P = v < i.current ? v + E : 0;
7506
- x(P), F(P, k, T);
7507
+ x(P), F(P, S, T);
7507
7508
  }, b = () => {
7508
7509
  var N;
7509
7510
  const E = ((N = s == null ? void 0 : s.hours) == null ? void 0 : N.step) || 1, P = v > 0 ? v - E : i.current;
7510
- x(P), F(P, k, T);
7511
+ x(P), F(P, S, T);
7511
7512
  }, L = () => {
7512
- var N, S, q;
7513
- const E = ((N = s == null ? void 0 : s.minutes) == null ? void 0 : N.step) || 1, P = k + E < (((S = s == null ? void 0 : s.minutes) == null ? void 0 : S.max) || 59) ? k + E : ((q = s == null ? void 0 : s.minutes) == null ? void 0 : q.min) || 0;
7514
- C(P), F(v, P, T);
7513
+ var N, k, q;
7514
+ const E = ((N = s == null ? void 0 : s.minutes) == null ? void 0 : N.step) || 1, P = S + E < (((k = s == null ? void 0 : s.minutes) == null ? void 0 : k.max) || 59) ? S + E : ((q = s == null ? void 0 : s.minutes) == null ? void 0 : q.min) || 0;
7515
+ O(P), F(v, P, T);
7515
7516
  }, R = () => {
7516
- var N, S, q;
7517
- const E = ((N = s == null ? void 0 : s.minutes) == null ? void 0 : N.step) || 1, P = k - E >= (((S = s == null ? void 0 : s.minutes) == null ? void 0 : S.min) || 0) ? k - E : (((q = s == null ? void 0 : s.minutes) == null ? void 0 : q.max) || 60) - E;
7518
- C(P), F(v, P, T);
7517
+ var N, k, q;
7518
+ const E = ((N = s == null ? void 0 : s.minutes) == null ? void 0 : N.step) || 1, P = S - E >= (((k = s == null ? void 0 : s.minutes) == null ? void 0 : k.min) || 0) ? S - E : (((q = s == null ? void 0 : s.minutes) == null ? void 0 : q.max) || 60) - E;
7519
+ O(P), F(v, P, T);
7519
7520
  }, H = () => {
7520
7521
  const E = T === 0 ? 1 : 0;
7521
- M(E), F(v, k, E);
7522
+ M(E), F(v, S, E);
7522
7523
  }, F = (E, P, N) => {
7523
- const S = n === Pe.TwelveHour && N === 1 ? E + 12 : E;
7524
- p.current.setHours(S, P), o({
7524
+ const k = n === Pe.TwelveHour && N === 1 ? E + 12 : E;
7525
+ p.current.setHours(k, P), o({
7525
7526
  type: ee.SetSelectedDate,
7526
7527
  selectedDate: p.current,
7527
7528
  viewDate: p.current
@@ -7553,7 +7554,7 @@ const vr = ({
7553
7554
  n === Pe.TwelveHour && /* @__PURE__ */ f.jsx("div", { className: "bc-dt-time-meridian-increase bsc-cursor-pointer bsc-text-center", children: /* @__PURE__ */ f.jsx(Xe, { className: "bsc-bg-transparent bsc-p-2 focus:bsc-outline-none", onClick: H, children: /* @__PURE__ */ f.jsx($e, { icon: "chevronUp", size: _e.Regular }) }) }),
7554
7555
  /* @__PURE__ */ f.jsx("div", { className: "bc-dt-time-hour-value bsc-text-center", children: c.current[v] }),
7555
7556
  /* @__PURE__ */ f.jsx("div", { className: "bc-dt-time-separator bsc-text-center", children: ":" }),
7556
- /* @__PURE__ */ f.jsx("div", { className: "bc-dt-time-minute-value bsc-text-center", children: l.current[k] }),
7557
+ /* @__PURE__ */ f.jsx("div", { className: "bc-dt-time-minute-value bsc-text-center", children: l.current[S] }),
7557
7558
  n === Pe.TwelveHour && /* @__PURE__ */ f.jsx("div", { className: "bc-dt-time-meridian-value bsc-text-center", children: d.current[T] }),
7558
7559
  /* @__PURE__ */ f.jsx("div", { className: "bc-dt-time-hour-decrease bsc-cursor-pointer bsc-text-center", children: /* @__PURE__ */ f.jsx(Xe, { className: "bsc-bg-transparent bsc-p-2 focus:bsc-outline-none", onClick: b, children: /* @__PURE__ */ f.jsx($e, { icon: "chevronDown", size: _e.Regular }) }) }),
7559
7560
  /* @__PURE__ */ f.jsx("div", {}),
@@ -7861,14 +7862,14 @@ const tp = (e, r) => {
7861
7862
  icon: y,
7862
7863
  iconPosition: v = yr.Right,
7863
7864
  inputElement: x,
7864
- selectableDate: k,
7865
- isValidDate: C,
7865
+ selectableDate: S,
7866
+ isValidDate: O,
7866
7867
  onChange: T,
7867
7868
  calendarTemplate: M,
7868
7869
  dateScrollerTemplate: V,
7869
7870
  inputTemplate: $
7870
7871
  }) => {
7871
- const [b, L] = ye(!1), [R, H] = ye(), [F, te] = ye(), J = X(), B = X(!1), E = X(i || ya()), P = X(), N = X(), S = X(), [q, O] = tp(l, R), ne = X({
7872
+ const [b, L] = ye(!1), [R, H] = ye(), [F, te] = ye(), J = X(), B = X(!1), E = X(i || ya()), P = X(), N = X(), k = X(), [q, C] = tp(l, R), ne = X({
7872
7873
  calendarTemplate: M,
7873
7874
  dateScrollerTemplate: V
7874
7875
  });
@@ -7888,11 +7889,11 @@ const tp = (e, r) => {
7888
7889
  type: ee.ClearDates
7889
7890
  });
7890
7891
  }, [e, P.current]), we(() => {
7891
- O && _({
7892
+ C && _({
7892
7893
  type: ee.SetTimeFormat,
7893
- timeFormat: O ? Pe.TwentyFourHour : Pe.TwelveHour
7894
+ timeFormat: C ? Pe.TwentyFourHour : Pe.TwelveHour
7894
7895
  });
7895
- }, [O]), we(() => {
7896
+ }, [C]), we(() => {
7896
7897
  x && (N.current = x);
7897
7898
  }, [x]);
7898
7899
  const g = (K) => {
@@ -7933,7 +7934,7 @@ const tp = (e, r) => {
7933
7934
  }, Q = (K) => {
7934
7935
  if (K) {
7935
7936
  const fe = Zt(K, P.current);
7936
- return fe ? C ? C(fe) : !0 : !1;
7937
+ return fe ? O ? O(fe) : !0 : !1;
7937
7938
  } else
7938
7939
  return !0;
7939
7940
  }, Z = (K) => {
@@ -7969,7 +7970,7 @@ const tp = (e, r) => {
7969
7970
  }, Ye = (K, fe) => {
7970
7971
  (!N.current || J.current !== fe) && (N.current = K, J.current = fe, B.current = !0);
7971
7972
  }, at = () => {
7972
- (!S.current || B.current) && N.current && (S.current = N.current, te(N.current), B.current = !1);
7973
+ (!k.current || B.current) && N.current && (k.current = N.current, te(N.current), B.current = !1);
7973
7974
  }, Mt = () => {
7974
7975
  L(!1), _({
7975
7976
  type: l === pe.TimeOnly ? ee.TimeSelector : l === pe.DateTime || l === pe.DateOnly ? ee.DaySelector : ee.DateRangeSelector
@@ -8071,8 +8072,8 @@ const tp = (e, r) => {
8071
8072
  viewDate: h.currentViewDate,
8072
8073
  locale: P.current,
8073
8074
  showTimeSelector: l === pe.DateTime,
8074
- selectableDate: k,
8075
- isValidDate: C,
8075
+ selectableDate: S,
8076
+ isValidDate: O,
8076
8077
  dispatcher: _,
8077
8078
  onChange: I
8078
8079
  }
@@ -8447,42 +8448,42 @@ const Er = /* @__PURE__ */ ln(op), ip = ({
8447
8448
  onChange: d,
8448
8449
  itemTemplate: p
8449
8450
  }) => {
8450
- const [y, v] = ye(), [x, k] = ye([]), C = dn(() => n, [n]), T = Dr();
8451
+ const [y, v] = ye(), [x, S] = ye([]), O = dn(() => n, [n]), T = Dr();
8451
8452
  we(() => {
8452
8453
  if (c) {
8453
- const N = Array.isArray(t) ? t.map((S) => S.toString()) : t ? [String(t)] : void 0;
8454
- k(N ?? []);
8454
+ const N = Array.isArray(t) ? t.map((k) => k.toString()) : t ? [String(t)] : void 0;
8455
+ S(N ?? []);
8455
8456
  } else
8456
8457
  t && v(t.toString());
8457
8458
  }, [t]);
8458
- const M = (N) => c ? x.findIndex((S) => S === N) > -1 : y === N, V = (N) => {
8459
- const S = N.toString();
8459
+ const M = (N) => c ? x.findIndex((k) => k === N) > -1 : y === N, V = (N) => {
8460
+ const k = N.toString();
8460
8461
  if (c) {
8461
- const q = M(S);
8462
- let O;
8463
- q ? O = x.filter((ne) => ne != S) : O = [...x, S], k(O), d == null || d({
8462
+ const q = M(k);
8463
+ let C;
8464
+ q ? C = x.filter((ne) => ne != k) : C = [...x, k], S(C), d == null || d({
8464
8465
  name: e,
8465
- value: O
8466
+ value: C
8466
8467
  });
8467
8468
  } else
8468
- S !== y && (v(S), d == null || d({
8469
+ k !== y && (v(k), d == null || d({
8469
8470
  name: e,
8470
- value: S
8471
+ value: k
8471
8472
  }));
8472
8473
  }, $ = (N) => {
8473
- const { value: S } = N.target;
8474
- v(S), d == null || d({
8474
+ const { value: k } = N.target;
8475
+ v(k), d == null || d({
8475
8476
  name: e,
8476
- value: S
8477
+ value: k
8477
8478
  });
8478
8479
  }, b = (N) => {
8479
- const { value: S, checked: q } = N.target;
8480
- let O;
8481
- q ? O = [...x, S] : O = x.filter((ne) => ne != S), k(O), d == null || d({
8480
+ const { value: k, checked: q } = N.target;
8481
+ let C;
8482
+ q ? C = [...x, k] : C = x.filter((ne) => ne != k), S(C), d == null || d({
8482
8483
  name: e,
8483
- value: O
8484
+ value: C
8484
8485
  });
8485
- }, L = (N, S, q, O) => /* @__PURE__ */ f.jsxs("label", { htmlFor: N, className: O, children: [
8486
+ }, L = (N, k, q, C) => /* @__PURE__ */ f.jsxs("label", { htmlFor: N, className: C, children: [
8486
8487
  /* @__PURE__ */ f.jsx(
8487
8488
  "input",
8488
8489
  {
@@ -8495,8 +8496,8 @@ const Er = /* @__PURE__ */ ln(op), ip = ({
8495
8496
  className: "bsc-appearance-none"
8496
8497
  }
8497
8498
  ),
8498
- S
8499
- ] }, N), R = (N, S, q, O) => /* @__PURE__ */ f.jsxs("label", { htmlFor: N, className: O, children: [
8499
+ k
8500
+ ] }, N), R = (N, k, q, C) => /* @__PURE__ */ f.jsxs("label", { htmlFor: N, className: C, children: [
8500
8501
  /* @__PURE__ */ f.jsx(
8501
8502
  "input",
8502
8503
  {
@@ -8509,12 +8510,12 @@ const Er = /* @__PURE__ */ ln(op), ip = ({
8509
8510
  className: "bsc-appearance-none"
8510
8511
  }
8511
8512
  ),
8512
- S
8513
+ k
8513
8514
  ] }, N), H = Cr(Jt.FocusWithin), F = Ne(
8514
- (N, S) => /* @__PURE__ */ f.jsx(f.Fragment, { children: S }),
8515
+ (N, k) => /* @__PURE__ */ f.jsx(f.Fragment, { children: k }),
8515
8516
  []
8516
- ), te = p || F, J = (N, S, q) => {
8517
- const O = `element_${T}_${S}`, ne = Er.pick(s, N), g = String(Er.pick(a, N)), D = S === 0, W = S === q.length - 1, h = ie(
8517
+ ), te = p || F, J = (N, k, q) => {
8518
+ const C = `element_${T}_${k}`, ne = Er.pick(s, N), g = String(Er.pick(a, N)), D = k === 0, W = k === q.length - 1, h = ie(
8518
8519
  "bc-group-button-item bsc-cursor-pointer bsc-border-solid bsc-p-2 bsc-font-medium",
8519
8520
  {
8520
8521
  "has-[:checked]:bsc-bg-primary-1 has-[:checked]:dark:bsc-bg-mono-light-1 has-[:checked]:bsc-text-white has-[:checked]:dark:bsc-text-mono-dark-1 dark:bsc-text-mono-light-1 bsc-text-gray-2 bsc-border-gray-3 dark:bsc-border-mono-light-2": !o,
@@ -8529,7 +8530,7 @@ const Er = /* @__PURE__ */ ln(op), ip = ({
8529
8530
  },
8530
8531
  H
8531
8532
  ), _ = {
8532
- itemId: O,
8533
+ itemId: C,
8533
8534
  selectedValue: c ? x : y,
8534
8535
  itemText: ne,
8535
8536
  itemValue: g,
@@ -8540,13 +8541,13 @@ const Er = /* @__PURE__ */ ln(op), ip = ({
8540
8541
  isLastItem: W,
8541
8542
  onItemChanged: V
8542
8543
  };
8543
- return c ? /* @__PURE__ */ f.jsx(kt, { props: _, template: te, children: L(O, ne, g, h) }) : /* @__PURE__ */ f.jsx(kt, { props: _, template: te, children: R(O, ne, g, h) });
8544
+ return c ? /* @__PURE__ */ f.jsx(kt, { props: _, template: te, children: L(C, ne, g, h) }) : /* @__PURE__ */ f.jsx(kt, { props: _, template: te, children: R(C, ne, g, h) });
8544
8545
  }, B = ie("bsc-flex bsc-flex-col bsc-gap-2", l), E = ie("bsc-flex", {
8545
8546
  "bsc-flex-col [width:max-content]": i === Me.Vertical
8546
8547
  }), P = (N) => /* @__PURE__ */ f.jsx("div", { className: E, children: N.map(J) });
8547
8548
  return /* @__PURE__ */ f.jsxs("div", { className: B, children: [
8548
8549
  r && /* @__PURE__ */ f.jsx(Je, { label: r, readOnly: o }),
8549
- C && P(C)
8550
+ O && P(O)
8550
8551
  ] });
8551
8552
  }, xp = Ct(ip), cp = ({
8552
8553
  id: e,
@@ -8606,7 +8607,7 @@ const Er = /* @__PURE__ */ ln(op), ip = ({
8606
8607
  useAnimation: d,
8607
8608
  onChange: p
8608
8609
  }) => {
8609
- const [y, v] = ye(t), x = dn(() => n, [n]), k = Dr(), C = Ne((b) => {
8610
+ const [y, v] = ye(t), x = dn(() => n, [n]), S = Dr(), O = Ne((b) => {
8610
8611
  const L = b.target.value;
8611
8612
  v(L), p == null || p({
8612
8613
  name: e,
@@ -8614,7 +8615,7 @@ const Er = /* @__PURE__ */ ln(op), ip = ({
8614
8615
  originalEvent: b
8615
8616
  });
8616
8617
  }, [e]), T = (b, L) => {
8617
- const R = `${k}_radio_${L}`, H = Er.pick(a, b);
8618
+ const R = `${S}_radio_${L}`, H = Er.pick(a, b);
8618
8619
  return /* @__PURE__ */ f.jsx(
8619
8620
  up,
8620
8621
  {
@@ -8626,7 +8627,7 @@ const Er = /* @__PURE__ */ ln(op), ip = ({
8626
8627
  labelLocation: i,
8627
8628
  readOnly: o,
8628
8629
  useAnimation: d,
8629
- onChange: C
8630
+ onChange: O
8630
8631
  },
8631
8632
  R
8632
8633
  );
@@ -8660,14 +8661,14 @@ const Er = /* @__PURE__ */ ln(op), ip = ({
8660
8661
  value: t || T.target.value,
8661
8662
  checked: M
8662
8663
  });
8663
- }, v = ie("bc-toggle-wrapper bsc-flex bsc-flex-col", o), x = Cr(Jt.FocusWithin), k = ie(
8664
+ }, v = ie("bc-toggle-wrapper bsc-flex bsc-flex-col", o), x = Cr(Jt.FocusWithin), S = ie(
8664
8665
  "bc-toggle-container bsc-toggle-switch bsc-flex bsc-mt-0.5 bsc-relative bsc-w-[70px] bsc-h-[30px] bsc-rounded-full [transition:background-color_1s]",
8665
8666
  {
8666
8667
  "bsc-cursor-pointer bsc-bg-gray-3 dark:bsc-bg-mono-dark-3 has-[:checked]:bsc-bg-primary-1 has-[:checked]:dark:bsc-bg-mono-light-2": !s,
8667
8668
  "bc-read-only bsc-pointer-events-none bsc-bg-gray-4 dark:bsc-bg-mono-dark-2 has-[:checked]:bsc-bg-primary-4 has-[:checked]:dark:bsc-bg-mono-light-3": s
8668
8669
  },
8669
8670
  x
8670
- ), C = ie(
8671
+ ), O = ie(
8671
8672
  "bc-toggle-switch bsc-absolute bsc-rounded-full dark:bsc-border dark:bsc-border-solid dark:bsc-border-mono-dark-1 bsc-w-[22px] bsc-h-[22px] bsc-top-[4px] bsc-left-[4px]",
8672
8673
  {
8673
8674
  "bsc-bg-white bsc-cursor-pointer": !s,
@@ -8677,7 +8678,7 @@ const Er = /* @__PURE__ */ ln(op), ip = ({
8677
8678
  );
8678
8679
  return /* @__PURE__ */ f.jsxs("div", { className: v, children: [
8679
8680
  r && /* @__PURE__ */ f.jsx(Je, { label: r, htmlFor: d, readOnly: s }),
8680
- /* @__PURE__ */ f.jsxs("label", { className: k, children: [
8681
+ /* @__PURE__ */ f.jsxs("label", { className: S, children: [
8681
8682
  /* @__PURE__ */ f.jsx(
8682
8683
  "input",
8683
8684
  {
@@ -8690,7 +8691,7 @@ const Er = /* @__PURE__ */ ln(op), ip = ({
8690
8691
  className: "bsc-appearance-none"
8691
8692
  }
8692
8693
  ),
8693
- /* @__PURE__ */ f.jsx("div", { id: "switch", className: C })
8694
+ /* @__PURE__ */ f.jsx("div", { id: "switch", className: O })
8694
8695
  ] })
8695
8696
  ] });
8696
8697
  }, Tp = Ct(fp);