beesoft-components 0.7.1-4 → 0.7.1-5

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
@@ -56,7 +56,7 @@ function ja() {
56
56
  return typeof y == "function" ? y : null;
57
57
  }
58
58
  var E = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
59
- function $(u) {
59
+ function L(u) {
60
60
  {
61
61
  for (var y = arguments.length, O = new Array(y > 1 ? y - 1 : 0), z = 1; z < y; z++)
62
62
  O[z - 1] = arguments[z];
@@ -73,14 +73,14 @@ function ja() {
73
73
  he.unshift("Warning: " + y), Function.prototype.apply.call(console[u], console, he);
74
74
  }
75
75
  }
76
- var j = !1, b = !1, L = !1, R = !1, H = !1, A;
77
- A = Symbol.for("react.module.reference");
76
+ var j = !1, b = !1, A = !1, R = !1, H = !1, $;
77
+ $ = Symbol.for("react.module.reference");
78
78
  function te(u) {
79
- return !!(typeof u == "string" || typeof u == "function" || u === n || u === a || H || u === s || u === l || u === d || R || u === w || j || b || L || typeof u == "object" && u !== null && (u.$$typeof === x || u.$$typeof === m || u.$$typeof === o || u.$$typeof === i || u.$$typeof === c || // This needs to include all possible module reference object
79
+ return !!(typeof u == "string" || typeof u == "function" || u === n || u === a || H || u === s || u === l || u === d || R || u === w || j || b || A || typeof u == "object" && u !== null && (u.$$typeof === x || u.$$typeof === m || u.$$typeof === o || u.$$typeof === i || u.$$typeof === c || // This needs to include all possible module reference object
80
80
  // types supported by any Flight configuration anywhere since
81
81
  // we don't know which Flight build this will end up being used
82
82
  // with.
83
- u.$$typeof === A || u.getModuleId !== void 0));
83
+ u.$$typeof === $ || u.getModuleId !== void 0));
84
84
  }
85
85
  function J(u, y, O) {
86
86
  var z = u.displayName;
@@ -95,7 +95,7 @@ function ja() {
95
95
  function P(u) {
96
96
  if (u == null)
97
97
  return null;
98
- if (typeof u.tag == "number" && $("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof u == "function")
98
+ if (typeof u.tag == "number" && L("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof u == "function")
99
99
  return u.displayName || u.name || null;
100
100
  if (typeof u == "string")
101
101
  return u;
@@ -196,7 +196,7 @@ function ja() {
196
196
  })
197
197
  });
198
198
  }
199
- Y < 0 && $("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
199
+ Y < 0 && L("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
200
200
  }
201
201
  }
202
202
  var _ = E.ReactCurrentDispatcher, M;
@@ -348,7 +348,7 @@ function ja() {
348
348
  } catch (Se) {
349
349
  re = Se;
350
350
  }
351
- re && !(re instanceof Error) && (Be(ae), $("%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).", z || "React class", O, se, typeof re), Be(null)), re instanceof Error && !(re.message in Ct) && (Ct[re.message] = !0, Be(ae), $("Failed %s type: %s", O, re.message), Be(null));
351
+ re && !(re instanceof Error) && (Be(ae), L("%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).", z || "React class", O, se, typeof re), Be(null)), re instanceof Error && !(re.message in Ct) && (Ct[re.message] = !0, Be(ae), L("Failed %s type: %s", O, re.message), Be(null));
352
352
  }
353
353
  }
354
354
  }
@@ -374,7 +374,7 @@ function ja() {
374
374
  }
375
375
  function Dt(u) {
376
376
  if (Zt(u))
377
- return $("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", qt(u)), Pr(u);
377
+ return L("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", qt(u)), Pr(u);
378
378
  }
379
379
  var ze = E.ReactCurrentOwner, G = {
380
380
  key: !0,
@@ -402,13 +402,13 @@ function ja() {
402
402
  function Kt(u, y) {
403
403
  if (typeof u.ref == "string" && ze.current && y && ze.current.stateNode !== y) {
404
404
  var O = P(ze.current.type);
405
- lt[O] || ($('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', P(ze.current.type), u.ref), lt[O] = !0);
405
+ lt[O] || (L('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', P(ze.current.type), u.ref), lt[O] = !0);
406
406
  }
407
407
  }
408
408
  function Xt(u, y) {
409
409
  {
410
410
  var O = function() {
411
- ce || (ce = !0, $("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", y));
411
+ ce || (ce = !0, L("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", y));
412
412
  };
413
413
  O.isReactWarning = !0, Object.defineProperty(u, "key", {
414
414
  get: O,
@@ -419,7 +419,7 @@ function ja() {
419
419
  function Jt(u, y) {
420
420
  {
421
421
  var O = function() {
422
- Ie || (Ie = !0, $("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", y));
422
+ Ie || (Ie = !0, L("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", y));
423
423
  };
424
424
  O.isReactWarning = !0, Object.defineProperty(u, "ref", {
425
425
  get: O,
@@ -533,7 +533,7 @@ Check the top-level render call using <` + O + ">.");
533
533
  return;
534
534
  pn[O] = !0;
535
535
  var z = "";
536
- u && u._owner && u._owner !== ft.current && (z = " It was passed a child from " + P(u._owner.type) + "."), dt(u), $('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', O, z), dt(null);
536
+ u && u._owner && u._owner !== ft.current && (z = " It was passed a child from " + P(u._owner.type) + "."), dt(u), L('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', O, z), dt(null);
537
537
  }
538
538
  }
539
539
  function gn(u, y) {
@@ -575,9 +575,9 @@ Check the top-level render call using <` + O + ">.");
575
575
  } else if (y.PropTypes !== void 0 && !Er) {
576
576
  Er = !0;
577
577
  var ae = P(y);
578
- $("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", ae || "Unknown");
578
+ L("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", ae || "Unknown");
579
579
  }
580
- typeof y.getDefaultProps == "function" && !y.getDefaultProps.isReactClassApproved && $("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
580
+ typeof y.getDefaultProps == "function" && !y.getDefaultProps.isReactClassApproved && L("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
581
581
  }
582
582
  }
583
583
  function Pa(u) {
@@ -585,11 +585,11 @@ Check the top-level render call using <` + O + ">.");
585
585
  for (var y = Object.keys(u.props), O = 0; O < y.length; O++) {
586
586
  var z = y[O];
587
587
  if (z !== "children" && z !== "key") {
588
- dt(u), $("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", z), dt(null);
588
+ dt(u), L("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", z), dt(null);
589
589
  break;
590
590
  }
591
591
  }
592
- u.ref !== null && (dt(u), $("Invalid attribute `ref` supplied to `React.Fragment`."), dt(null));
592
+ u.ref !== null && (dt(u), L("Invalid attribute `ref` supplied to `React.Fragment`."), dt(null));
593
593
  }
594
594
  }
595
595
  function bn(u, y, O, z, ae, he) {
@@ -601,7 +601,7 @@ Check the top-level render call using <` + O + ">.");
601
601
  var _e = xa(ae);
602
602
  _e ? re += _e : re += hn();
603
603
  var Se;
604
- u === null ? Se = "null" : Ue(u) ? Se = "array" : u !== void 0 && u.$$typeof === r ? (Se = "<" + (P(u.type) || "Unknown") + " />", re = " Did you accidentally export a JSX literal instead of a component?") : Se = typeof u, $("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Se, re);
604
+ u === null ? Se = "null" : Ue(u) ? Se = "array" : u !== void 0 && u.$$typeof === r ? (Se = "<" + (P(u.type) || "Unknown") + " />", re = " Did you accidentally export a JSX literal instead of a component?") : Se = typeof u, L("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Se, re);
605
605
  }
606
606
  var ke = tr(u, y, O, ae, he);
607
607
  if (ke == null)
@@ -615,7 +615,7 @@ Check the top-level render call using <` + O + ">.");
615
615
  gn(Me[ht], u);
616
616
  Object.freeze && Object.freeze(Me);
617
617
  } else
618
- $("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
618
+ L("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
619
619
  else
620
620
  gn(Me, u);
621
621
  }
@@ -883,7 +883,9 @@ const Xa = (e, r) => {
883
883
  partial: !1
884
884
  });
885
885
  console.log("name", t, "checked", o, "partial", i);
886
- const E = wn(o), $ = wn(i), V = Ra(), j = hs();
886
+ const E = wn(o), L = wn(i);
887
+ console.log("name", t, "checked property", E), console.log("name", t, "partial property", L);
888
+ const V = Ra(), j = hs();
887
889
  we(() => (console.log("name", t, "component created"), () => {
888
890
  console.log("name", t, "component destroyed");
889
891
  }), []), we(() => {
@@ -895,8 +897,8 @@ const Xa = (e, r) => {
895
897
  partial: i
896
898
  });
897
899
  else {
898
- console.log("name", t, "checked property", E), console.log("name", t, "partial property", $);
899
- const P = E.changed ? o : v.value.checked, T = $.changed ? i : v.value.partial;
900
+ console.log("name", t, "useEffect checked property", E), console.log("name", t, "useEffect partial property", L);
901
+ const P = E.changed ? o : v.value.checked, T = L.changed ? i : v.value.partial;
900
902
  console.log("name", t, "new checked", P), console.log("name", t, "new partial", T), S({
901
903
  checked: T ? !0 : P,
902
904
  partial: T
@@ -915,7 +917,7 @@ const Xa = (e, r) => {
915
917
  value: s,
916
918
  checked: T
917
919
  });
918
- }, L = (P) => {
920
+ }, A = (P) => {
919
921
  var Y;
920
922
  const T = {
921
923
  checked: P ? !0 : ((Y = N.current) == null ? void 0 : Y.value.checked) || !1,
@@ -929,7 +931,7 @@ const Xa = (e, r) => {
929
931
  });
930
932
  };
931
933
  mr(r, () => ({
932
- setPartiallyChecked: L,
934
+ setPartiallyChecked: A,
933
935
  setChecked: R
934
936
  }));
935
937
  const H = Te(
@@ -938,7 +940,7 @@ const Xa = (e, r) => {
938
940
  "bsc-pointer-events-none bsc-text-gray-2 dark:bsc-text-mono-light-3": a
939
941
  },
940
942
  l
941
- ), A = Te("bc-checkbox-label bsc-cursor-pointer", {
943
+ ), $ = Te("bc-checkbox-label bsc-cursor-pointer", {
942
944
  "bsc-ml-2": c === mt.Right,
943
945
  "bsc-mr-2": c === mt.Left
944
946
  }), te = Te(
@@ -962,7 +964,7 @@ const Xa = (e, r) => {
962
964
  }
963
965
  );
964
966
  return console.log("name", t, "checked state", JSON.stringify(v)), /* @__PURE__ */ f.jsxs("div", { className: H, children: [
965
- n && c === mt.Left && /* @__PURE__ */ f.jsx(fr, { label: n, htmlFor: V, readOnly: a, className: A }),
967
+ n && c === mt.Left && /* @__PURE__ */ f.jsx(fr, { label: n, htmlFor: V, readOnly: a, className: $ }),
966
968
  /* @__PURE__ */ f.jsxs("label", { className: te, children: [
967
969
  /* @__PURE__ */ f.jsx(
968
970
  "input",
@@ -977,7 +979,7 @@ const Xa = (e, r) => {
977
979
  ),
978
980
  /* @__PURE__ */ f.jsx("svg", { viewBox: "0 0 21 21", className: X, children: v.value.partial ? /* @__PURE__ */ f.jsx("polyline", { points: "6 10.5 16 10.5" }) : /* @__PURE__ */ f.jsx("polyline", { points: "5 10.75 8.5 14.25 16 6" }) })
979
981
  ] }),
980
- n && c === mt.Right && /* @__PURE__ */ f.jsx(fr, { label: n, htmlFor: V, readOnly: a, className: A })
982
+ n && c === mt.Right && /* @__PURE__ */ f.jsx(fr, { label: n, htmlFor: V, readOnly: a, className: $ })
981
983
  ] });
982
984
  }, Ja = pr(Xa), Uh = ({
983
985
  name: e,
@@ -995,20 +997,20 @@ const Xa = (e, r) => {
995
997
  we(() => {
996
998
  m(t ?? []);
997
999
  }, [t]);
998
- const w = ($) => {
999
- const { value: V, checked: j } = $;
1000
+ const w = (L) => {
1001
+ const { value: V, checked: j } = L;
1000
1002
  let b;
1001
- j ? b = [...d, V] : b = d.filter((L) => L !== V), m(b), l == null || l({
1003
+ j ? b = [...d, V] : b = d.filter((A) => A !== V), m(b), l == null || l({
1002
1004
  name: e,
1003
1005
  value: b
1004
1006
  });
1005
- }, v = ($, V) => /* @__PURE__ */ f.jsx(
1007
+ }, v = (L, V) => /* @__PURE__ */ f.jsx(
1006
1008
  Ja,
1007
1009
  {
1008
1010
  name: e,
1009
- label: $[s],
1010
- value: $[a],
1011
- checked: d.some((j) => j === $[a]),
1011
+ label: L[s],
1012
+ value: L[a],
1013
+ checked: d.some((j) => j === L[a]),
1012
1014
  readOnly: o,
1013
1015
  onChange: (j) => j && w(j),
1014
1016
  className: "bsc-mr-3"
@@ -1016,7 +1018,7 @@ const Xa = (e, r) => {
1016
1018
  `${e}_checkbox_${V}`
1017
1019
  ), S = Te("bsc-flex bsc-flex-col bsc-gap-1", c), N = Te("bsc-flex bsc-gap-1", {
1018
1020
  "bsc-flex-col": i === Fr.Vertical
1019
- }), E = ($) => /* @__PURE__ */ f.jsx("div", { className: N, children: $.map(v) });
1021
+ }), E = (L) => /* @__PURE__ */ f.jsx("div", { className: N, children: L.map(v) });
1020
1022
  return /* @__PURE__ */ f.jsxs("div", { className: S, children: [
1021
1023
  r && /* @__PURE__ */ f.jsx(fr, { label: r, readOnly: o }),
1022
1024
  x && E(x)
@@ -1669,39 +1671,39 @@ function Vt(e, r, t) {
1669
1671
  if (typeof e != "function")
1670
1672
  throw new TypeError(dl);
1671
1673
  r = En(r) || 0, Ge(t) && (d = !!t.leading, m = "maxWait" in t, a = m ? hl(En(t.maxWait) || 0, r) : a, x = "trailing" in t ? !!t.trailing : x);
1672
- function w(L) {
1674
+ function w(A) {
1673
1675
  var R = n, H = s;
1674
- return n = s = void 0, l = L, o = e.apply(H, R), o;
1676
+ return n = s = void 0, l = A, o = e.apply(H, R), o;
1675
1677
  }
1676
- function v(L) {
1677
- return l = L, i = setTimeout(E, r), d ? w(L) : o;
1678
+ function v(A) {
1679
+ return l = A, i = setTimeout(E, r), d ? w(A) : o;
1678
1680
  }
1679
- function S(L) {
1680
- var R = L - c, H = L - l, A = r - R;
1681
- return m ? pl(A, a - H) : A;
1681
+ function S(A) {
1682
+ var R = A - c, H = A - l, $ = r - R;
1683
+ return m ? pl($, a - H) : $;
1682
1684
  }
1683
- function N(L) {
1684
- var R = L - c, H = L - l;
1685
+ function N(A) {
1686
+ var R = A - c, H = A - l;
1685
1687
  return c === void 0 || R >= r || R < 0 || m && H >= a;
1686
1688
  }
1687
1689
  function E() {
1688
- var L = kr();
1689
- if (N(L))
1690
- return $(L);
1691
- i = setTimeout(E, S(L));
1690
+ var A = kr();
1691
+ if (N(A))
1692
+ return L(A);
1693
+ i = setTimeout(E, S(A));
1692
1694
  }
1693
- function $(L) {
1694
- return i = void 0, x && n ? w(L) : (n = s = void 0, o);
1695
+ function L(A) {
1696
+ return i = void 0, x && n ? w(A) : (n = s = void 0, o);
1695
1697
  }
1696
1698
  function V() {
1697
1699
  i !== void 0 && clearTimeout(i), l = 0, n = c = s = i = void 0;
1698
1700
  }
1699
1701
  function j() {
1700
- return i === void 0 ? o : $(kr());
1702
+ return i === void 0 ? o : L(kr());
1701
1703
  }
1702
1704
  function b() {
1703
- var L = kr(), R = N(L);
1704
- if (n = arguments, s = this, c = L, R) {
1705
+ var A = kr(), R = N(A);
1706
+ if (n = arguments, s = this, c = A, R) {
1705
1707
  if (i === void 0)
1706
1708
  return v(c);
1707
1709
  if (m)
@@ -1740,12 +1742,12 @@ const bl = (e, r) => {
1740
1742
  onFocus: S,
1741
1743
  onBlur: N,
1742
1744
  onInput: E,
1743
- onInnerTextChange: $,
1745
+ onInnerTextChange: L,
1744
1746
  onInnerHTMLChange: V,
1745
1747
  onElementCreate: j,
1746
1748
  onLeftElementClick: b,
1747
- onRightElementClick: L
1748
- } = e, R = Q("bsc-flex-grow focus:bsc-outline-none"), H = Q("bsc-text-gray-4"), A = Q(), te = je(
1749
+ onRightElementClick: A
1750
+ } = e, R = Q("bsc-flex-grow focus:bsc-outline-none"), H = Q("bsc-text-gray-4"), $ = Q(), te = je(
1749
1751
  (h) => {
1750
1752
  const D = h.target, B = D.innerHTML;
1751
1753
  D.className = `${R.current}`, v && B === v && (D.innerHTML = ""), S == null || S(h);
@@ -1764,7 +1766,7 @@ const bl = (e, r) => {
1764
1766
  ), X = je(
1765
1767
  (h) => {
1766
1768
  var D, B;
1767
- (D = A.current) == null || D.removeEventListener("focus", te), (B = A.current) == null || B.removeEventListener("blur", J), v && h && h !== document.activeElement && h.innerHTML === "" && (h.innerHTML = v, h.className = `${R.current} ${H.current}`), h.addEventListener("focus", te), h.addEventListener("blur", J), A.current = h;
1769
+ (D = $.current) == null || D.removeEventListener("focus", te), (B = $.current) == null || B.removeEventListener("blur", J), v && h && h !== document.activeElement && h.innerHTML === "" && (h.innerHTML = v, h.className = `${R.current} ${H.current}`), h.addEventListener("focus", te), h.addEventListener("blur", J), $.current = h;
1768
1770
  },
1769
1771
  [v]
1770
1772
  ), P = je(
@@ -1775,19 +1777,19 @@ const bl = (e, r) => {
1775
1777
  ), T = (h) => {
1776
1778
  b == null || b(h);
1777
1779
  }, Y = (h) => {
1778
- L == null || L(h);
1780
+ A == null || A(h);
1779
1781
  }, F = Vt((h) => {
1780
- E == null || E(h), $ == null || $(h.target.innerText), V == null || V(h.target.innerHTML);
1782
+ E == null || E(h), L == null || L(h.target.innerText), V == null || V(h.target.innerHTML);
1781
1783
  }, s), ne = je((h) => {
1782
- A.current && (A.current.innerText = h);
1784
+ $.current && ($.current.innerText = h);
1783
1785
  }, []), I = je((h) => {
1784
- A.current && (A.current.innerHTML = h);
1786
+ $.current && ($.current.innerHTML = h);
1785
1787
  }, []), fe = je(() => {
1786
1788
  var h;
1787
- (h = A.current) == null || h.focus();
1789
+ (h = $.current) == null || h.focus();
1788
1790
  }, []);
1789
1791
  mr(r, () => ({
1790
- inputElement: A.current,
1792
+ inputElement: $.current,
1791
1793
  setInnerText: ne,
1792
1794
  setInnerHTML: I,
1793
1795
  focus: fe
@@ -3935,8 +3937,8 @@ const ad = {
3935
3937
  T: new sd()
3936
3938
  }, od = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, id = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, cd = /^'([^]*?)'?$/, ud = /''/g, ld = /\S/, fd = /[a-zA-Z]/;
3937
3939
  function Fe(e, r, t, n) {
3938
- var S, N, E, $, V, j, b, L;
3939
- const s = mf(), a = (n == null ? void 0 : n.locale) ?? s.locale ?? nf, o = (n == null ? void 0 : n.firstWeekContainsDate) ?? ((N = (S = n == null ? void 0 : n.locale) == null ? void 0 : S.options) == null ? void 0 : N.firstWeekContainsDate) ?? s.firstWeekContainsDate ?? (($ = (E = s.locale) == null ? void 0 : E.options) == null ? void 0 : $.firstWeekContainsDate) ?? 1, i = (n == null ? void 0 : n.weekStartsOn) ?? ((j = (V = n == null ? void 0 : n.locale) == null ? void 0 : V.options) == null ? void 0 : j.weekStartsOn) ?? s.weekStartsOn ?? ((L = (b = s.locale) == null ? void 0 : b.options) == null ? void 0 : L.weekStartsOn) ?? 0;
3940
+ var S, N, E, L, V, j, b, A;
3941
+ const s = mf(), a = (n == null ? void 0 : n.locale) ?? s.locale ?? nf, o = (n == null ? void 0 : n.firstWeekContainsDate) ?? ((N = (S = n == null ? void 0 : n.locale) == null ? void 0 : S.options) == null ? void 0 : N.firstWeekContainsDate) ?? s.firstWeekContainsDate ?? ((L = (E = s.locale) == null ? void 0 : E.options) == null ? void 0 : L.firstWeekContainsDate) ?? 1, i = (n == null ? void 0 : n.weekStartsOn) ?? ((j = (V = n == null ? void 0 : n.locale) == null ? void 0 : V.options) == null ? void 0 : j.weekStartsOn) ?? s.weekStartsOn ?? ((A = (b = s.locale) == null ? void 0 : b.options) == null ? void 0 : A.weekStartsOn) ?? 0;
3940
3942
  if (r === "")
3941
3943
  return e === "" ? oe(t) : me(t, NaN);
3942
3944
  const c = {
@@ -3946,16 +3948,16 @@ function Fe(e, r, t, n) {
3946
3948
  }, l = [new Tf()], d = r.match(id).map((R) => {
3947
3949
  const H = R[0];
3948
3950
  if (H in Zn) {
3949
- const A = Zn[H];
3950
- return A(R, a.formatLong);
3951
+ const $ = Zn[H];
3952
+ return $(R, a.formatLong);
3951
3953
  }
3952
3954
  return R;
3953
3955
  }).join("").match(od), m = [];
3954
3956
  for (let R of d) {
3955
3957
  !(n != null && n.useAdditionalWeekYearTokens) && hf(R) && Gn(R, r, e), !(n != null && n.useAdditionalDayOfYearTokens) && df(R) && Gn(R, r, e);
3956
- const H = R[0], A = ad[H];
3957
- if (A) {
3958
- const { incompatibleTokens: te } = A;
3958
+ const H = R[0], $ = ad[H];
3959
+ if ($) {
3960
+ const { incompatibleTokens: te } = $;
3959
3961
  if (Array.isArray(te)) {
3960
3962
  const X = m.find(
3961
3963
  (P) => te.includes(P.token) || P.token === H
@@ -3964,12 +3966,12 @@ function Fe(e, r, t, n) {
3964
3966
  throw new RangeError(
3965
3967
  `The format string mustn't contain \`${X.fullToken}\` and \`${R}\` at the same time`
3966
3968
  );
3967
- } else if (A.incompatibleTokens === "*" && m.length > 0)
3969
+ } else if ($.incompatibleTokens === "*" && m.length > 0)
3968
3970
  throw new RangeError(
3969
3971
  `The format string mustn't contain \`${R}\` and any other token at the same time`
3970
3972
  );
3971
3973
  m.push({ token: H, fullToken: R });
3972
- const J = A.run(
3974
+ const J = $.run(
3973
3975
  e,
3974
3976
  R,
3975
3977
  a.match,
@@ -3991,8 +3993,8 @@ function Fe(e, r, t, n) {
3991
3993
  }
3992
3994
  if (e.length > 0 && ld.test(e))
3993
3995
  return me(t, NaN);
3994
- const x = l.map((R) => R.priority).sort((R, H) => H - R).filter((R, H, A) => A.indexOf(R) === H).map(
3995
- (R) => l.filter((H) => H.priority === R).sort((H, A) => A.subPriority - H.subPriority)
3996
+ const x = l.map((R) => R.priority).sort((R, H) => H - R).filter((R, H, $) => $.indexOf(R) === H).map(
3997
+ (R) => l.filter((H) => H.priority === R).sort((H, $) => $.subPriority - H.subPriority)
3996
3998
  ).map((R) => R[0]);
3997
3999
  let w = oe(t);
3998
4000
  if (isNaN(w.getTime()))
@@ -4491,11 +4493,11 @@ function Kd() {
4491
4493
  if (Kn)
4492
4494
  return ue;
4493
4495
  Kn = 1;
4494
- 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, m = e ? Symbol.for("react.suspense") : 60113, x = e ? Symbol.for("react.suspense_list") : 60120, w = e ? Symbol.for("react.memo") : 60115, v = e ? Symbol.for("react.lazy") : 60116, S = e ? Symbol.for("react.block") : 60121, N = e ? Symbol.for("react.fundamental") : 60117, E = e ? Symbol.for("react.responder") : 60118, $ = e ? Symbol.for("react.scope") : 60119;
4496
+ 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, m = e ? Symbol.for("react.suspense") : 60113, x = e ? Symbol.for("react.suspense_list") : 60120, w = e ? Symbol.for("react.memo") : 60115, v = e ? Symbol.for("react.lazy") : 60116, S = e ? Symbol.for("react.block") : 60121, N = e ? Symbol.for("react.fundamental") : 60117, E = e ? Symbol.for("react.responder") : 60118, L = e ? Symbol.for("react.scope") : 60119;
4495
4497
  function V(b) {
4496
4498
  if (typeof b == "object" && b !== null) {
4497
- var L = b.$$typeof;
4498
- switch (L) {
4499
+ var A = b.$$typeof;
4500
+ switch (A) {
4499
4501
  case r:
4500
4502
  switch (b = b.type, b) {
4501
4503
  case c:
@@ -4514,11 +4516,11 @@ function Kd() {
4514
4516
  case o:
4515
4517
  return b;
4516
4518
  default:
4517
- return L;
4519
+ return A;
4518
4520
  }
4519
4521
  }
4520
4522
  case t:
4521
- return L;
4523
+ return A;
4522
4524
  }
4523
4525
  }
4524
4526
  }
@@ -4550,7 +4552,7 @@ function Kd() {
4550
4552
  }, ue.isSuspense = function(b) {
4551
4553
  return V(b) === m;
4552
4554
  }, ue.isValidElementType = function(b) {
4553
- return typeof b == "string" || typeof b == "function" || b === n || b === l || b === a || b === s || b === m || b === x || typeof b == "object" && b !== null && (b.$$typeof === v || b.$$typeof === w || b.$$typeof === o || b.$$typeof === i || b.$$typeof === d || b.$$typeof === N || b.$$typeof === E || b.$$typeof === $ || b.$$typeof === S);
4555
+ return typeof b == "string" || typeof b == "function" || b === n || b === l || b === a || b === s || b === m || b === x || typeof b == "object" && b !== null && (b.$$typeof === v || b.$$typeof === w || b.$$typeof === o || b.$$typeof === i || b.$$typeof === d || b.$$typeof === N || b.$$typeof === E || b.$$typeof === L || b.$$typeof === S);
4554
4556
  }, ue.typeOf = V, ue;
4555
4557
  }
4556
4558
  var le = {};
@@ -4565,10 +4567,10 @@ var le = {};
4565
4567
  var Xn;
4566
4568
  function Xd() {
4567
4569
  return Xn || (Xn = 1, process.env.NODE_ENV !== "production" && function() {
4568
- 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, m = e ? Symbol.for("react.suspense") : 60113, x = e ? Symbol.for("react.suspense_list") : 60120, w = e ? Symbol.for("react.memo") : 60115, v = e ? Symbol.for("react.lazy") : 60116, S = e ? Symbol.for("react.block") : 60121, N = e ? Symbol.for("react.fundamental") : 60117, E = e ? Symbol.for("react.responder") : 60118, $ = e ? Symbol.for("react.scope") : 60119;
4570
+ 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, m = e ? Symbol.for("react.suspense") : 60113, x = e ? Symbol.for("react.suspense_list") : 60120, w = e ? Symbol.for("react.memo") : 60115, v = e ? Symbol.for("react.lazy") : 60116, S = e ? Symbol.for("react.block") : 60121, N = e ? Symbol.for("react.fundamental") : 60117, E = e ? Symbol.for("react.responder") : 60118, L = e ? Symbol.for("react.scope") : 60119;
4569
4571
  function V(k) {
4570
4572
  return typeof k == "string" || typeof k == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
4571
- k === n || k === l || k === a || k === s || k === m || k === x || typeof k == "object" && k !== null && (k.$$typeof === v || k.$$typeof === w || k.$$typeof === o || k.$$typeof === i || k.$$typeof === d || k.$$typeof === N || k.$$typeof === E || k.$$typeof === $ || k.$$typeof === S);
4573
+ k === n || k === l || k === a || k === s || k === m || k === x || typeof k == "object" && k !== null && (k.$$typeof === v || k.$$typeof === w || k.$$typeof === o || k.$$typeof === i || k.$$typeof === d || k.$$typeof === N || k.$$typeof === E || k.$$typeof === L || k.$$typeof === S);
4572
4574
  }
4573
4575
  function j(k) {
4574
4576
  if (typeof k == "object" && k !== null) {
@@ -4602,7 +4604,7 @@ function Xd() {
4602
4604
  }
4603
4605
  }
4604
4606
  }
4605
- var b = c, L = l, R = i, H = o, A = r, te = d, J = n, X = v, P = w, T = t, Y = a, F = s, ne = m, I = !1;
4607
+ var b = c, A = l, R = i, H = o, $ = r, te = d, J = n, X = v, P = w, T = t, Y = a, F = s, ne = m, I = !1;
4606
4608
  function fe(k) {
4607
4609
  return I || (I = !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(k) || j(k) === c;
4608
4610
  }
@@ -4642,7 +4644,7 @@ function Xd() {
4642
4644
  function Ee(k) {
4643
4645
  return j(k) === m;
4644
4646
  }
4645
- le.AsyncMode = b, le.ConcurrentMode = L, le.ContextConsumer = R, le.ContextProvider = H, le.Element = A, le.ForwardRef = te, le.Fragment = J, le.Lazy = X, le.Memo = P, le.Portal = T, le.Profiler = Y, le.StrictMode = F, le.Suspense = ne, le.isAsyncMode = fe, le.isConcurrentMode = g, le.isContextConsumer = C, le.isContextProvider = U, le.isElement = h, le.isForwardRef = D, le.isFragment = B, le.isLazy = _, le.isMemo = M, le.isPortal = W, le.isProfiler = Z, le.isStrictMode = q, le.isSuspense = Ee, le.isValidElementType = V, le.typeOf = j;
4647
+ le.AsyncMode = b, le.ConcurrentMode = A, le.ContextConsumer = R, le.ContextProvider = H, le.Element = $, le.ForwardRef = te, le.Fragment = J, le.Lazy = X, le.Memo = P, le.Portal = T, le.Profiler = Y, le.StrictMode = F, le.Suspense = ne, le.isAsyncMode = fe, le.isConcurrentMode = g, le.isContextConsumer = C, le.isContextProvider = U, le.isElement = h, le.isForwardRef = D, le.isFragment = B, le.isLazy = _, le.isMemo = M, le.isPortal = W, le.isProfiler = Z, le.isStrictMode = q, le.isSuspense = Ee, le.isValidElementType = V, le.typeOf = j;
4646
4648
  }()), le;
4647
4649
  }
4648
4650
  var Jn;
@@ -4797,15 +4799,15 @@ function th() {
4797
4799
  object: E("object"),
4798
4800
  string: E("string"),
4799
4801
  symbol: E("symbol"),
4800
- any: $(),
4802
+ any: L(),
4801
4803
  arrayOf: V,
4802
4804
  element: j(),
4803
4805
  elementType: b(),
4804
- instanceOf: L,
4806
+ instanceOf: A,
4805
4807
  node: te(),
4806
4808
  objectOf: H,
4807
4809
  oneOf: R,
4808
- oneOfType: A,
4810
+ oneOfType: $,
4809
4811
  shape: X,
4810
4812
  exact: P
4811
4813
  };
@@ -4853,7 +4855,7 @@ function th() {
4853
4855
  }
4854
4856
  return N(C);
4855
4857
  }
4856
- function $() {
4858
+ function L() {
4857
4859
  return N(o);
4858
4860
  }
4859
4861
  function V(g) {
@@ -4896,7 +4898,7 @@ function th() {
4896
4898
  }
4897
4899
  return N(g);
4898
4900
  }
4899
- function L(g) {
4901
+ function A(g) {
4900
4902
  function C(U, h, D, B, _) {
4901
4903
  if (!(U[h] instanceof g)) {
4902
4904
  var M = g.name || x, W = fe(U[h]);
@@ -4940,7 +4942,7 @@ function th() {
4940
4942
  }
4941
4943
  return N(C);
4942
4944
  }
4943
- function A(g) {
4945
+ function $(g) {
4944
4946
  if (!Array.isArray(g))
4945
4947
  return process.env.NODE_ENV !== "production" && a("Invalid argument supplied to oneOfType, expected an instance of array."), o;
4946
4948
  for (var C = 0; C < g.length; C++) {
@@ -5544,17 +5546,17 @@ const uh = ({
5544
5546
  isClickedWithin: d,
5545
5547
  children: m
5546
5548
  }) => {
5547
- const [x, w] = xe(-1), [v, S] = xe(-1), [N, E] = xe(e), $ = Q(100), V = Q(101), j = Q(), b = Q(), L = Q();
5549
+ const [x, w] = xe(-1), [v, S] = xe(-1), [N, E] = xe(e), L = Q(100), V = Q(101), j = Q(), b = Q(), A = Q();
5548
5550
  we(() => {
5549
5551
  r && (j.current = ha(r));
5550
5552
  const P = sa("zIndex", (T) => T === "auto" || T === "-1" ? !1 : parseInt(T) > 100).map((T) => parseInt(T, 10));
5551
- P.length > 0 && ($.current = Math.max(...P) + 1, V.current = Math.max(...P) + 2), E(e);
5553
+ P.length > 0 && (L.current = Math.max(...P) + 1, V.current = Math.max(...P) + 2), E(e);
5552
5554
  }, [e, r]);
5553
5555
  const R = (P) => {
5554
5556
  b.current = P;
5555
5557
  }, H = () => {
5556
- S($.current), w(V.current);
5557
- }, A = () => {
5558
+ S(L.current), w(V.current);
5559
+ }, $ = () => {
5558
5560
  if (!b.current)
5559
5561
  return;
5560
5562
  c == null || c();
@@ -5563,9 +5565,9 @@ const uh = ({
5563
5565
  const T = (Y) => {
5564
5566
  Y ? d == null || d() : E(!1);
5565
5567
  };
5566
- L.current = ia(b.current, T, P);
5568
+ A.current = ia(b.current, T, P);
5567
5569
  }, te = () => {
5568
- L.current && ca(L.current);
5570
+ A.current && ca(A.current);
5569
5571
  }, J = () => {
5570
5572
  S(-1), w(-1), l == null || l();
5571
5573
  }, X = {
@@ -5581,7 +5583,7 @@ const uh = ({
5581
5583
  showTransitionOptions: a,
5582
5584
  hideTransitionOptions: o,
5583
5585
  onEntering: H,
5584
- onEntered: A,
5586
+ onEntered: $,
5585
5587
  onExit: te,
5586
5588
  onExited: J,
5587
5589
  unmountOnExit: n,
@@ -5802,7 +5804,7 @@ const lh = ({
5802
5804
  markupCreated: N,
5803
5805
  children: E
5804
5806
  }) => {
5805
- const [$, V] = xe(-1), [j, b] = xe(e), [L, R] = xe(!1), H = Q(!1), A = Q(100), te = Q({
5807
+ const [L, V] = xe(-1), [j, b] = xe(e), [A, R] = xe(!1), H = Q(!1), $ = Q(100), te = Q({
5806
5808
  left: 0,
5807
5809
  top: 0,
5808
5810
  width: 0
@@ -5826,7 +5828,7 @@ const lh = ({
5826
5828
  }
5827
5829
  if (i) {
5828
5830
  const _ = sa("zIndex", (M) => parseInt(M) >= 100).map((M) => parseInt(M));
5829
- _.length > 0 && (A.current = Math.max(..._) + 1);
5831
+ _.length > 0 && ($.current = Math.max(..._) + 1);
5830
5832
  }
5831
5833
  e !== void 0 && b(e);
5832
5834
  }, [r, e, o, i]);
@@ -5853,7 +5855,7 @@ const lh = ({
5853
5855
  }, fe = Vt(() => {
5854
5856
  H.current = !H.current, R(H.current);
5855
5857
  }, 20), g = () => {
5856
- V(A.current);
5858
+ V($.current);
5857
5859
  }, C = () => {
5858
5860
  if (!X.current)
5859
5861
  return;
@@ -5890,10 +5892,10 @@ const lh = ({
5890
5892
  const _ = {
5891
5893
  top: `${te.current.top}px`,
5892
5894
  left: `${te.current.left}px`,
5893
- zIndex: $
5895
+ zIndex: L
5894
5896
  };
5895
5897
  return a && (_.width = `${te.current.width}px`), _;
5896
- }, [L, $, a]);
5898
+ }, [A, L, a]);
5897
5899
  return /* @__PURE__ */ f.jsx(
5898
5900
  da,
5899
5901
  {
@@ -6576,43 +6578,43 @@ const Ph = (e, r) => {
6576
6578
  onChange: S,
6577
6579
  onFocus: N,
6578
6580
  onBlur: E,
6579
- onElementCreate: $,
6581
+ onElementCreate: L,
6580
6582
  onLeftElementClick: V,
6581
6583
  onRightElementClick: j
6582
- } = e, [b, L] = xe(!0), R = Q(), H = Q(), A = Q();
6584
+ } = e, [b, A] = xe(!0), R = Q(), H = Q(), $ = Q();
6583
6585
  we(() => () => {
6584
6586
  var I;
6585
- (I = A.current) == null || I.dispose();
6587
+ (I = $.current) == null || I.dispose();
6586
6588
  }, []), we(() => {
6587
6589
  var I;
6588
- (I = A.current) == null || I.inputValuePassed(t);
6590
+ (I = $.current) == null || I.inputValuePassed(t);
6589
6591
  }, [t]), we(() => {
6590
6592
  var I, fe, g;
6591
- (I = A.current) == null || I.dispose(), n && (A.current = new Th(n, t), H.current && ((fe = A.current) == null || fe.inputElementCreated(H.current)), (g = A.current) == null || g.registerFormatChangeEvent(te));
6593
+ (I = $.current) == null || I.dispose(), n && ($.current = new Th(n, t), H.current && ((fe = $.current) == null || fe.inputElementCreated(H.current)), (g = $.current) == null || g.registerFormatChangeEvent(te));
6592
6594
  }, [n]);
6593
6595
  const te = je(
6594
6596
  (I) => {
6595
- v ? v(I) ? (L(!0), S == null || S(I)) : L(!1) : S == null || S(I);
6597
+ v ? v(I) ? (A(!0), S == null || S(I)) : A(!1) : S == null || S(I);
6596
6598
  },
6597
6599
  [S]
6598
6600
  ), J = je(
6599
6601
  (I) => {
6600
6602
  var fe;
6601
- (fe = A.current) == null || fe.inputFocused(), N == null || N(I);
6603
+ (fe = $.current) == null || fe.inputFocused(), N == null || N(I);
6602
6604
  },
6603
6605
  [N]
6604
6606
  ), X = je(
6605
6607
  (I) => {
6606
6608
  var fe;
6607
- (fe = A.current) == null || fe.inputBlurred(), E == null || E(I);
6609
+ (fe = $.current) == null || fe.inputBlurred(), E == null || E(I);
6608
6610
  },
6609
6611
  [E]
6610
6612
  ), P = je(() => {
6611
6613
  var I;
6612
- (I = A.current) == null || I.mouseUpHandler();
6614
+ (I = $.current) == null || I.mouseUpHandler();
6613
6615
  }, []), T = je((I) => {
6614
6616
  var fe;
6615
- (fe = A.current) == null || fe.keyDownHandler(I);
6617
+ (fe = $.current) == null || fe.keyDownHandler(I);
6616
6618
  }, []), Y = je((I) => {
6617
6619
  var fe, g, C, U, h, D, B, _, M;
6618
6620
  (g = (fe = R.current) == null ? void 0 : fe.inputElement) == null || g.removeEventListener("keydown", T), (U = (C = R.current) == null ? void 0 : C.inputElement) == null || U.removeEventListener("mouseup", P), R.current = I, (D = (h = R.current) == null ? void 0 : h.inputElement) == null || D.addEventListener("keydown", T), (_ = (B = R.current) == null ? void 0 : B.inputElement) == null || _.addEventListener("mouseup", P), H.current = (M = R.current) == null ? void 0 : M.inputElement;
@@ -6642,7 +6644,7 @@ const Ph = (e, r) => {
6642
6644
  allowSingleLineScroll: w,
6643
6645
  onFocus: J,
6644
6646
  onBlur: X,
6645
- onElementCreate: $,
6647
+ onElementCreate: L,
6646
6648
  onLeftElementClick: V,
6647
6649
  onRightElementClick: j
6648
6650
  }
@@ -7122,7 +7124,7 @@ const ur = ({
7122
7124
  dispatcher: l
7123
7125
  }) => {
7124
7126
  var Y;
7125
- const [d, m] = xe(!1), [x, w] = xe(), [v, S] = xe(), [N, E] = xe(), [$, V] = xe(), j = Q(), b = Q(), L = Gr(dn), R = Yt(() => L.calendarTemplate, [L.calendarTemplate]), H = async () => a || await va(ra());
7127
+ const [d, m] = xe(!1), [x, w] = xe(), [v, S] = xe(), [N, E] = xe(), [L, V] = xe(), j = Q(), b = Q(), A = Gr(dn), R = Yt(() => A.calendarTemplate, [A.calendarTemplate]), H = async () => a || await va(ra());
7126
7128
  we(() => {
7127
7129
  H().then((F) => {
7128
7130
  j.current = F, b.current = Ch(j.current), m(!0);
@@ -7154,7 +7156,7 @@ const ur = ({
7154
7156
  }, [t, n]), we(() => {
7155
7157
  j.current && a && (j.current = a, E(cs(e, j.current, s === Xe.Normal)));
7156
7158
  }, [a]);
7157
- const A = (F) => {
7159
+ const $ = (F) => {
7158
7160
  if (s === Xe.Normal)
7159
7161
  l == null || l({
7160
7162
  type: K.SetSelectedDate,
@@ -7166,7 +7168,7 @@ const ur = ({
7166
7168
  throw new Error("Range selection mode requires onDateSelected to be set");
7167
7169
  !t || yf(F, t) ? o(F) : t && !n ? o(F, { setEndDate: !0 }) : t && n && o(F);
7168
7170
  }
7169
- }, te = (F) => ($ == null ? void 0 : $.toLocaleDateString()) === F.toLocaleDateString(), J = (F) => {
7171
+ }, te = (F) => (L == null ? void 0 : L.toLocaleDateString()) === F.toLocaleDateString(), J = (F) => {
7170
7172
  if (x && v) {
7171
7173
  const ne = F.getTime();
7172
7174
  return ne >= x && ne <= v;
@@ -7183,7 +7185,7 @@ const ur = ({
7183
7185
  monthMatrix: N,
7184
7186
  selectableDate: i,
7185
7187
  isValidDate: c,
7186
- onDateClicked: A,
7188
+ onDateClicked: $,
7187
7189
  isSelectedDate: te,
7188
7190
  isInSelectedDateRange: J
7189
7191
  }, T = R || ((F, ne) => /* @__PURE__ */ f.jsx("div", { className: "bc-dt-calendar bsc-w-full", children: ne }));
@@ -7196,7 +7198,7 @@ const ur = ({
7196
7198
  "bsc-text-center bsc-py-1",
7197
7199
  {
7198
7200
  "bsc-text-gray-3": !I.isCurrent,
7199
- "bsc-bg-primary-3 dark:bsc-bg-mono-light-1 dark:bsc-text-mono-dark-1": I && I.dayValue && ($ && te(I.dayValue) || x && !v && Bs(x, I.dayValue) || x && v && J(I.dayValue)),
7201
+ "bsc-bg-primary-3 dark:bsc-bg-mono-light-1 dark:bsc-text-mono-dark-1": I && I.dayValue && (L && te(I.dayValue) || x && !v && Bs(x, I.dayValue) || x && v && J(I.dayValue)),
7200
7202
  "bsc-cursor-pointer": g,
7201
7203
  "bsc-text-error bsc-cursor-not-allowed": !g,
7202
7204
  "bsc-bg-primary-5 dark:bsc-bg-mono-light-3 dark:bsc-text-mono-dark-1": I.dayValue && hd(I.dayValue) && !(te(I.dayValue) || J(I.dayValue))
@@ -7207,7 +7209,7 @@ const ur = ({
7207
7209
  "div",
7208
7210
  {
7209
7211
  className: C,
7210
- onClick: () => I && I.dayValue && g && (c === void 0 || c(I.dayValue)) && A(I.dayValue),
7212
+ onClick: () => I && I.dayValue && g && (c === void 0 || c(I.dayValue)) && $(I.dayValue),
7211
7213
  children: (h = I.dayValue) == null ? void 0 : h.getDate().toLocaleString((U = j.current) == null ? void 0 : U.code)
7212
7214
  },
7213
7215
  ne.toString() + fe.toString()
@@ -7479,34 +7481,34 @@ const ur = ({
7479
7481
  "22",
7480
7482
  "23"
7481
7483
  ]
7482
- ), l = Q(Id(0, 59, (P) => P.toString().padStart(2, "0"))), d = Q(["AM", "PM"]), m = Q(ll(e)), x = (P) => P > 11 ? P - 12 : P, [w, v] = xe(x(e.getHours())), [S, N] = xe(e.getMinutes()), [E, $] = xe(e.getHours() <= 12 ? 0 : 1), V = Q(e.toLocaleDateString(t.code));
7484
+ ), l = Q(Id(0, 59, (P) => P.toString().padStart(2, "0"))), d = Q(["AM", "PM"]), m = Q(ll(e)), x = (P) => P > 11 ? P - 12 : P, [w, v] = xe(x(e.getHours())), [S, N] = xe(e.getMinutes()), [E, L] = xe(e.getHours() <= 12 ? 0 : 1), V = Q(e.toLocaleDateString(t.code));
7483
7485
  we(() => {
7484
7486
  const P = e.getHours(), T = e.getMinutes();
7485
7487
  if (P !== w && v(n === ve.TwelveHour ? x(P) : P), T !== S && N(T), n === ve.TwelveHour) {
7486
7488
  const Y = P <= 11 ? 0 : 1;
7487
- Y !== E && $(Y);
7489
+ Y !== E && L(Y);
7488
7490
  }
7489
7491
  }, [e]);
7490
7492
  const j = () => {
7491
7493
  var Y;
7492
7494
  const P = ((Y = s == null ? void 0 : s.hours) == null ? void 0 : Y.step) || 1, T = w < i.current ? w + P : 0;
7493
- v(T), A(T, S, E);
7495
+ v(T), $(T, S, E);
7494
7496
  }, b = () => {
7495
7497
  var Y;
7496
7498
  const P = ((Y = s == null ? void 0 : s.hours) == null ? void 0 : Y.step) || 1, T = w > 0 ? w - P : i.current;
7497
- v(T), A(T, S, E);
7498
- }, L = () => {
7499
+ v(T), $(T, S, E);
7500
+ }, A = () => {
7499
7501
  var Y, F, ne;
7500
7502
  const P = ((Y = s == null ? void 0 : s.minutes) == null ? void 0 : Y.step) || 1, T = S + P < (((F = s == null ? void 0 : s.minutes) == null ? void 0 : F.max) || 59) ? S + P : ((ne = s == null ? void 0 : s.minutes) == null ? void 0 : ne.min) || 0;
7501
- N(T), A(w, T, E);
7503
+ N(T), $(w, T, E);
7502
7504
  }, R = () => {
7503
7505
  var Y, F, ne;
7504
7506
  const P = ((Y = s == null ? void 0 : s.minutes) == null ? void 0 : Y.step) || 1, T = S - P >= (((F = s == null ? void 0 : s.minutes) == null ? void 0 : F.min) || 0) ? S - P : (((ne = s == null ? void 0 : s.minutes) == null ? void 0 : ne.max) || 60) - P;
7505
- N(T), A(w, T, E);
7507
+ N(T), $(w, T, E);
7506
7508
  }, H = () => {
7507
7509
  const P = E === 0 ? 1 : 0;
7508
- $(P), A(w, S, P);
7509
- }, A = (P, T, Y) => {
7510
+ L(P), $(w, S, P);
7511
+ }, $ = (P, T, Y) => {
7510
7512
  const F = n === ve.TwelveHour && Y === 1 ? P + 12 : P;
7511
7513
  m.current.setHours(F, T), o({
7512
7514
  type: K.SetSelectedDate,
@@ -7536,7 +7538,7 @@ const ur = ({
7536
7538
  r && /* @__PURE__ */ f.jsx("div", { className: X, onClick: te, children: V.current }),
7537
7539
  /* @__PURE__ */ f.jsx("div", { className: "bc-dt-time-hour-increase bsc-cursor-pointer bsc-text-center", children: /* @__PURE__ */ f.jsx(Ze, { className: "bsc-bg-transparent bsc-p-2 focus:bsc-outline-none", onClick: j, children: /* @__PURE__ */ f.jsx(Le, { icon: "chevronUp", size: Re.Regular }) }) }),
7538
7540
  /* @__PURE__ */ f.jsx("div", {}),
7539
- /* @__PURE__ */ f.jsx("div", { className: "bc-dt-time-minute-increase bsc-cursor-pointer bsc-text-center", children: /* @__PURE__ */ f.jsx(Ze, { className: "bsc-bg-transparent bsc-p-2 focus:bsc-outline-none", onClick: L, children: /* @__PURE__ */ f.jsx(Le, { icon: "chevronUp", size: Re.Regular }) }) }),
7541
+ /* @__PURE__ */ f.jsx("div", { className: "bc-dt-time-minute-increase bsc-cursor-pointer bsc-text-center", children: /* @__PURE__ */ f.jsx(Ze, { className: "bsc-bg-transparent bsc-p-2 focus:bsc-outline-none", onClick: A, children: /* @__PURE__ */ f.jsx(Le, { icon: "chevronUp", size: Re.Regular }) }) }),
7540
7542
  n === ve.TwelveHour && /* @__PURE__ */ f.jsx("div", { className: "bc-dt-time-meridian-increase bsc-cursor-pointer bsc-text-center", children: /* @__PURE__ */ f.jsx(Ze, { className: "bsc-bg-transparent bsc-p-2 focus:bsc-outline-none", onClick: H, children: /* @__PURE__ */ f.jsx(Le, { icon: "chevronUp", size: Re.Regular }) }) }),
7541
7543
  /* @__PURE__ */ f.jsx("div", { className: "bc-dt-time-hour-value bsc-text-center", children: c.current[w] }),
7542
7544
  /* @__PURE__ */ f.jsx("div", { className: "bc-dt-time-separator bsc-text-center", children: ":" }),
@@ -7851,12 +7853,12 @@ const Yh = (e, r) => {
7851
7853
  selectableDate: S,
7852
7854
  isValidDate: N,
7853
7855
  onChange: E,
7854
- calendarTemplate: $,
7856
+ calendarTemplate: L,
7855
7857
  dateScrollerTemplate: V,
7856
7858
  inputTemplate: j
7857
7859
  }) => {
7858
- const [b, L] = xe(!1), [R, H] = xe(), [A, te] = xe(), J = Q(), X = Q(!1), P = Q(i || ra()), T = Q(), Y = Q(), F = Q(), [ne, I] = Yh(l, R), fe = Q({
7859
- calendarTemplate: $,
7860
+ const [b, A] = xe(!1), [R, H] = xe(), [$, te] = xe(), J = Q(), X = Q(!1), P = Q(i || ra()), T = Q(), Y = Q(), F = Q(), [ne, I] = Yh(l, R), fe = Q({
7861
+ calendarTemplate: L,
7860
7862
  dateScrollerTemplate: V
7861
7863
  });
7862
7864
  we(() => {
@@ -7903,10 +7905,10 @@ const Yh = (e, r) => {
7903
7905
  timeFormat: ve.TwelveHour,
7904
7906
  dateInitialized: !1
7905
7907
  }, [h, D] = Na(_h, U), B = () => {
7906
- et(), L(!0);
7908
+ et(), A(!0);
7907
7909
  }, _ = Yt(
7908
7910
  () => Vt(() => {
7909
- L(!1);
7911
+ A(!1);
7910
7912
  }, 250),
7911
7913
  []
7912
7914
  ), M = Yt(
@@ -7946,19 +7948,19 @@ const Yh = (e, r) => {
7946
7948
  type: K.ClearDates
7947
7949
  }), E == null || E());
7948
7950
  }, k = (G) => {
7949
- l === de.DateOnly && o === !0 && L(!1), E == null || E(G);
7951
+ l === de.DateOnly && o === !0 && A(!1), E == null || E(G);
7950
7952
  }, Ne = () => {
7951
- et(), L(!b);
7953
+ et(), A(!b);
7952
7954
  }, Ve = () => {
7953
7955
  D({
7954
7956
  type: K.ClearDates
7955
- }), L(!1), E == null || E();
7957
+ }), A(!1), E == null || E();
7956
7958
  }, Ae = (G, ce) => {
7957
7959
  (!Y.current || J.current !== ce) && (Y.current = G, J.current = ce, X.current = !0);
7958
7960
  }, et = () => {
7959
7961
  (!F.current || X.current) && Y.current && (F.current = Y.current, te(Y.current), X.current = !1);
7960
7962
  }, Ct = () => {
7961
- L(!1), D({
7963
+ A(!1), D({
7962
7964
  type: l === de.TimeOnly ? K.TimeSelector : l === de.DateTime || l === de.DateOnly ? K.DaySelector : K.DateRangeSelector
7963
7965
  });
7964
7966
  }, zt = () => {
@@ -8144,7 +8146,7 @@ const Yh = (e, r) => {
8144
8146
  uh,
8145
8147
  {
8146
8148
  visible: b,
8147
- target: A,
8149
+ target: $,
8148
8150
  hidden: Ct,
8149
8151
  unmountWhenHidden: !0,
8150
8152
  children: qt()
@@ -8183,7 +8185,7 @@ const Yh = (e, r) => {
8183
8185
  lh,
8184
8186
  {
8185
8187
  visible: b,
8186
- target: A,
8188
+ target: $,
8187
8189
  shouldTargetCloseOverlay: !1,
8188
8190
  shouldScrollCloseOverlay: !0,
8189
8191
  shouldCheckZIndex: !0,