@top-message/ui-lib 2.23.22 → 2.23.24

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.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import "./index.css";
2
2
  import { jsx as h, jsxs as ye, Fragment as f5 } from "react/jsx-runtime";
3
3
  import * as u from "react";
4
- import fe, { useRef as Ee, useState as it, useEffect as ut, version as $E, isValidElement as _E, useContext as Ot, createContext as Zr, useLayoutEffect as eO, forwardRef as tn, useMemo as Lt, Children as tO, createRef as m0, useCallback as s1, useImperativeHandle as n0, cloneElement as nO, memo as ri, Component as zc, Fragment as J7, createElement as et } from "react";
4
+ import fe, { useRef as Ee, useState as it, useEffect as ut, version as $E, isValidElement as _E, useContext as Ot, createContext as Zr, useLayoutEffect as eO, forwardRef as tn, useMemo as Pt, Children as tO, createRef as m0, useCallback as s1, useImperativeHandle as n0, cloneElement as nO, memo as ri, Component as zc, Fragment as J7, createElement as et } from "react";
5
5
  import * as rO from "react-dom";
6
6
  import M2, { createPortal as Ph, unstable_batchedUpdates as Sh, flushSync as To } from "react-dom";
7
7
  const aO = "_wrapper_1gt1b_1", oO = "_inner_1gt1b_8", iO = "_square_1gt1b_14", bs = {
@@ -5255,14 +5255,14 @@ const EA = (e) => {
5255
5255
  token: Je,
5256
5256
  components: Ye,
5257
5257
  cssVar: vt
5258
- } = Ze, Mt = PA(Ze, ["algorithm", "token", "components", "cssVar"]), qt = We && (!Array.isArray(We) || We.length > 0) ? M4(We) : Pb, Jt = {};
5258
+ } = Ze, Lt = PA(Ze, ["algorithm", "token", "components", "cssVar"]), qt = We && (!Array.isArray(We) || We.length > 0) ? M4(We) : Pb, Jt = {};
5259
5259
  Object.entries(Ye || {}).forEach((Ae) => {
5260
5260
  let [dt, ht] = Ae;
5261
5261
  const Ct = Object.assign({}, ht);
5262
5262
  "algorithm" in Ct && (Ct.algorithm === !0 ? Ct.theme = qt : (Array.isArray(Ct.algorithm) || typeof Ct.algorithm == "function") && (Ct.theme = M4(Ct.algorithm)), delete Ct.algorithm), Jt[dt] = Ct;
5263
5263
  });
5264
5264
  const qe = Object.assign(Object.assign({}, b7), Je);
5265
- return Object.assign(Object.assign({}, Mt), {
5265
+ return Object.assign(Object.assign({}, Lt), {
5266
5266
  theme: qt,
5267
5267
  token: qe,
5268
5268
  components: Jt,
@@ -8410,7 +8410,7 @@ const PI = /* @__PURE__ */ fe.forwardRef((e, t) => {
8410
8410
  getPrefixCls: E,
8411
8411
  direction: j,
8412
8412
  button: H
8413
- } = Ot(ft), I = (n = P ?? (H == null ? void 0 : H.autoInsertSpace)) !== null && n !== void 0 ? n : !0, A = E("btn", i), [O, D, N] = gI(A), Z = Ot(Pn), V = d ?? Z, B = Ot(py), R = Lt(() => xI(o), [o]), [G, F] = it(R.loading), [W, J] = it(!1), $ = nn(t, /* @__PURE__ */ m0()), te = tO.count(m) === 1 && !g && !u6(z);
8413
+ } = Ot(ft), I = (n = P ?? (H == null ? void 0 : H.autoInsertSpace)) !== null && n !== void 0 ? n : !0, A = E("btn", i), [O, D, N] = gI(A), Z = Ot(Pn), V = d ?? Z, B = Ot(py), R = Pt(() => xI(o), [o]), [G, F] = it(R.loading), [W, J] = it(!1), $ = nn(t, /* @__PURE__ */ m0()), te = tO.count(m) === 1 && !g && !u6(z);
8414
8414
  ut(() => {
8415
8415
  let Ce = null;
8416
8416
  R.delay > 0 ? Ce = setTimeout(() => {
@@ -8822,7 +8822,7 @@ var Bv = {
8822
8822
  }, /* @__PURE__ */ fe.createElement("div", {
8823
8823
  className: "".concat(n, "-title"),
8824
8824
  id: i
8825
- }, o)) : null, N = Lt(function() {
8825
+ }, o)) : null, N = Pt(function() {
8826
8826
  return nt(l) === "object" && l !== null ? l : l ? {
8827
8827
  closeIcon: c ?? /* @__PURE__ */ fe.createElement("span", {
8828
8828
  className: "".concat(n, "-close-x")
@@ -11052,7 +11052,7 @@ function Ok() {
11052
11052
  t[n] = arguments[n];
11053
11053
  var r = t[0], a = t[1], o = a === void 0 ? {} : a, i = ZI(o) ? {
11054
11054
  form: o
11055
- } : o, s = i.form, l = it(), c = ae(l, 2), f = c[0], v = c[1], d = Lt(function() {
11055
+ } : o, s = i.form, l = it(), c = ae(l, 2), f = c[0], v = c[1], d = Pt(function() {
11056
11056
  return Qv(f);
11057
11057
  }, [f]), C = Ee(d);
11058
11058
  C.current = d;
@@ -11091,7 +11091,7 @@ const Nk = (e) => {
11091
11091
  status: n,
11092
11092
  override: r
11093
11093
  } = e;
11094
- const a = Ot(Sn), o = Lt(() => {
11094
+ const a = Ot(Sn), o = Pt(() => {
11095
11095
  const i = Object.assign({}, a);
11096
11096
  return r && delete i.isFormItemInput, n && (delete i.status, delete i.hasFeedback, delete i.feedbackIcon), i;
11097
11097
  }, [n, r, a]);
@@ -13432,10 +13432,10 @@ function uB(e) {
13432
13432
  function fB(e, t) {
13433
13433
  var n = e.prefixCls, r = n === void 0 ? "rc-overflow" : n, a = e.data, o = a === void 0 ? [] : a, i = e.renderItem, s = e.renderRawItem, l = e.itemKey, c = e.itemWidth, f = c === void 0 ? 10 : c, v = e.ssr, d = e.style, C = e.className, p = e.maxCount, m = e.renderRest, g = e.renderRawRest, b = e.suffix, y = e.component, w = y === void 0 ? "div" : y, M = e.itemComponent, L = e.onVisibleChange, x = mt(e, cB), P = v === "full", S = aB(), z = zi(S, null), E = ae(z, 2), j = E[0], H = E[1], I = j || 0, A = zi(S, /* @__PURE__ */ new Map()), O = ae(A, 2), D = O[0], N = O[1], Z = zi(S, 0), V = ae(Z, 2), B = V[0], R = V[1], G = zi(S, 0), F = ae(G, 2), W = F[0], J = F[1], ne = zi(S, 0), $ = ae(ne, 2), te = $[0], se = $[1], le = it(null), U = ae(le, 2), _ = U[0], oe = U[1], K = it(null), ue = ae(K, 2), X = ue[0], T = ue[1], k = u.useMemo(function() {
13434
13434
  return X === null && P ? Number.MAX_SAFE_INTEGER : X || 0;
13435
- }, [X, j]), q = it(!1), ee = ae(q, 2), ce = ee[0], de = ee[1], ve = "".concat(r, "-item"), Ce = Math.max(B, W), pe = p === sw, Le = o.length && pe, Se = p === lw, Te = Le || typeof p == "number" && o.length > p, Ne = Lt(function() {
13435
+ }, [X, j]), q = it(!1), ee = ae(q, 2), ce = ee[0], de = ee[1], ve = "".concat(r, "-item"), Ce = Math.max(B, W), pe = p === sw, Le = o.length && pe, Se = p === lw, Te = Le || typeof p == "number" && o.length > p, Ne = Pt(function() {
13436
13436
  var rt = o;
13437
13437
  return Le ? j === null && P ? rt = o : rt = o.slice(0, Math.min(o.length, I / f)) : typeof p == "number" && (rt = o.slice(0, p)), rt;
13438
- }, [o, f, j, p, Le]), ze = Lt(function() {
13438
+ }, [o, f, j, p, Le]), ze = Pt(function() {
13439
13439
  return Le ? o.slice(k + 1) : o.slice(Ne.length);
13440
13440
  }, [o, Ne, Le, k]), Be = s1(function(rt, Ve) {
13441
13441
  var pt;
@@ -14118,7 +14118,7 @@ function zB(e, t, n, r, a, o, i) {
14118
14118
  return;
14119
14119
  var pe = D.offset, Le = D.targetOffset, Se = CC(B, pe), Te = ae(Se, 2), Ne = Te[0], ze = Te[1], Be = CC(Z, Le), ke = ae(Be, 2), je = ke[0], ge = ke[1];
14120
14120
  Z.x -= je, Z.y -= ge;
14121
- var Me = D.points || [], he = ae(Me, 2), be = he[0], we = he[1], Oe = gC(we), Ie = gC(be), tt = uo(Z, Oe), Ge = uo(B, Ie), De = Q({}, D), Fe = tt.x - Ge.x + Ne, Re = tt.y - Ge.y + ze, Qe = E1(Fe, Re), rt = E1(Fe, Re, q), Ve = uo(Z, ["t", "l"]), pt = uo(B, ["t", "l"]), yt = uo(Z, ["b", "r"]), Ze = uo(B, ["b", "r"]), We = D.overflow || {}, Je = We.adjustX, Ye = We.adjustY, vt = We.shiftX, Mt = We.shiftY, qt = function(lt) {
14121
+ var Me = D.points || [], he = ae(Me, 2), be = he[0], we = he[1], Oe = gC(we), Ie = gC(be), tt = uo(Z, Oe), Ge = uo(B, Ie), De = Q({}, D), Fe = tt.x - Ge.x + Ne, Re = tt.y - Ge.y + ze, Qe = E1(Fe, Re), rt = E1(Fe, Re, q), Ve = uo(Z, ["t", "l"]), pt = uo(B, ["t", "l"]), yt = uo(Z, ["b", "r"]), Ze = uo(B, ["b", "r"]), We = D.overflow || {}, Je = We.adjustX, Ye = We.adjustY, vt = We.shiftX, Lt = We.shiftY, qt = function(lt) {
14122
14122
  return typeof lt == "boolean" ? lt : lt >= 0;
14123
14123
  }, Jt, qe, Ae, dt;
14124
14124
  Rt();
@@ -14139,18 +14139,18 @@ function zB(e, t, n, r, a, o, i) {
14139
14139
  Ue > Qe || Ue === Qe && (!T || // Choose recommend one
14140
14140
  $e >= rt) ? (C.current.tb = !0, Re = ct, ze = -ze, De.points = [T0(Ie, 0), T0(Oe, 0)]) : C.current.tb = !1;
14141
14141
  }
14142
- var xt = qt(Je), Pt = Ie[1] === Oe[1];
14143
- if (xt && Ie[1] === "l" && (dt > ce.right || C.current.rl)) {
14142
+ var Mt = qt(Je), xt = Ie[1] === Oe[1];
14143
+ if (Mt && Ie[1] === "l" && (dt > ce.right || C.current.rl)) {
14144
14144
  var Dt = Fe;
14145
- Pt ? Dt -= se - U : Dt = Ve.x - Ze.x - Ne;
14145
+ xt ? Dt -= se - U : Dt = Ve.x - Ze.x - Ne;
14146
14146
  var c1 = E1(Dt, Re), d1 = E1(Dt, Re, q);
14147
14147
  // Of course use larger one
14148
14148
  c1 > Qe || c1 === Qe && (!T || // Choose recommend one
14149
14149
  d1 >= rt) ? (C.current.rl = !0, Fe = Dt, Ne = -Ne, De.points = [T0(Ie, 1), T0(Oe, 1)]) : C.current.rl = !1;
14150
14150
  }
14151
- if (xt && Ie[1] === "r" && (Ae < ce.left || C.current.lr)) {
14151
+ if (Mt && Ie[1] === "r" && (Ae < ce.left || C.current.lr)) {
14152
14152
  var Kt = Fe;
14153
- Pt ? Kt += se - U : Kt = yt.x - pt.x - Ne;
14153
+ xt ? Kt += se - U : Kt = yt.x - pt.x - Ne;
14154
14154
  var r1 = E1(Kt, Re), b1 = E1(Kt, Re, q);
14155
14155
  // Of course use larger one
14156
14156
  r1 > Qe || r1 === Qe && (!T || // Choose recommend one
@@ -14159,7 +14159,7 @@ function zB(e, t, n, r, a, o, i) {
14159
14159
  Rt();
14160
14160
  var u1 = vt === !0 ? 0 : vt;
14161
14161
  typeof u1 == "number" && (Ae < q.left && (Fe -= Ae - q.left - Ne, Z.x + U < q.left + u1 && (Fe += Z.x - q.left + U - u1)), dt > q.right && (Fe -= dt - q.right - Ne, Z.x > q.right - u1 && (Fe += Z.x - q.right + u1)));
14162
- var gt = Mt === !0 ? 0 : Mt;
14162
+ var gt = Lt === !0 ? 0 : Lt;
14163
14163
  typeof gt == "number" && (Jt < q.top && (Re -= Jt - q.top - ze, Z.y + le < q.top + gt && (Re += Z.y - q.top + le - gt)), qe > q.bottom && (Re -= qe - q.bottom - ze, Z.y > q.bottom - gt && (Re += Z.y - q.bottom + gt)));
14164
14164
  var zt = B.x + Fe, Yt = zt + se, y1 = B.y + Re, B1 = y1 + te, wn = Z.x, rn = wn + U, R1 = Z.y, kt = R1 + le, jt = Math.max(zt, wn), w1 = Math.min(Yt, rn), L1 = (jt + w1) / 2, Nt = L1 - zt, _e = Math.max(y1, R1), at = Math.min(B1, kt), Gt = (_e + at) / 2, _t = Gt - y1;
14165
14165
  i == null || i(t, De);
@@ -14283,14 +14283,14 @@ function HB() {
14283
14283
  u.useEffect(function() {
14284
14284
  return We;
14285
14285
  }, []);
14286
- var Ye = u.useState(!1), vt = ae(Ye, 2), Mt = vt[0], qt = vt[1];
14286
+ var Ye = u.useState(!1), vt = ae(Ye, 2), Lt = vt[0], qt = vt[1];
14287
14287
  Zt(function(wt) {
14288
14288
  (!wt || Qe) && qt(!0);
14289
14289
  }, [Qe]);
14290
14290
  var Jt = u.useState(null), qe = ae(Jt, 2), Ae = qe[0], dt = qe[1], ht = u.useState([0, 0]), Ct = ae(ht, 2), St = Ct[0], $t = Ct[1], Ke = function(Ft) {
14291
14291
  $t([Ft.clientX, Ft.clientY]);
14292
- }, ct = zB(Qe, Le, G ? St : ke, A, D, N, W), Ue = ae(ct, 11), $e = Ue[0], xt = Ue[1], Pt = Ue[2], Dt = Ue[3], c1 = Ue[4], d1 = Ue[5], Kt = Ue[6], r1 = Ue[7], b1 = Ue[8], u1 = Ue[9], gt = Ue[10], zt = xB(k, l, c, f), Yt = ae(zt, 2), y1 = Yt[0], B1 = Yt[1], wn = y1.has("click"), rn = B1.has("click") || B1.has("contextMenu"), R1 = At(function() {
14293
- Mt || gt();
14292
+ }, ct = zB(Qe, Le, G ? St : ke, A, D, N, W), Ue = ae(ct, 11), $e = Ue[0], Mt = Ue[1], xt = Ue[2], Dt = Ue[3], c1 = Ue[4], d1 = Ue[5], Kt = Ue[6], r1 = Ue[7], b1 = Ue[8], u1 = Ue[9], gt = Ue[10], zt = xB(k, l, c, f), Yt = ae(zt, 2), y1 = Yt[0], B1 = Yt[1], wn = y1.has("click"), rn = B1.has("click") || B1.has("contextMenu"), R1 = At(function() {
14293
+ Lt || gt();
14294
14294
  }), kt = function() {
14295
14295
  Ve.current && G && rn && Je(!1);
14296
14296
  };
@@ -14351,7 +14351,7 @@ function HB() {
14351
14351
  }), Xe("onPointerEnter", !0, m, function(wt) {
14352
14352
  Ke(wt);
14353
14353
  }), M1 = function(Ft) {
14354
- (Qe || Mt) && Le !== null && Le !== void 0 && Le.contains(Ft.target) && Je(!0, m);
14354
+ (Qe || Lt) && Le !== null && Le !== void 0 && Le.contains(Ft.target) && Je(!0, m);
14355
14355
  }, G && (we.onMouseMove = function(wt) {
14356
14356
  var Ft;
14357
14357
  (Ft = be.onMouseMove) === null || Ft === void 0 || Ft.call(be, wt);
@@ -14397,7 +14397,7 @@ function HB() {
14397
14397
  onPointerEnter: M1,
14398
14398
  zIndex: Z,
14399
14399
  open: Qe,
14400
- keepDom: Mt,
14400
+ keepDom: Lt,
14401
14401
  fresh: R,
14402
14402
  onClick: F,
14403
14403
  mask: M,
@@ -14412,8 +14412,8 @@ function HB() {
14412
14412
  arrow: ps,
14413
14413
  arrowPos: va,
14414
14414
  ready: $e,
14415
- offsetX: xt,
14416
- offsetY: Pt,
14415
+ offsetX: Mt,
14416
+ offsetY: xt,
14417
14417
  offsetR: Dt,
14418
14418
  offsetB: c1,
14419
14419
  onAlign: R1,
@@ -14641,7 +14641,7 @@ var ZB = ["id", "prefixCls", "className", "showSearch", "tagRender", "direction"
14641
14641
  `, `\r
14642
14642
  `].includes(kt);
14643
14643
  });
14644
- }, [O]), Je = u.useContext(ou) || {}, Ye = Je.maxCount, vt = Je.rawValues, Mt = function(jt, w1, L1) {
14644
+ }, [O]), Je = u.useContext(ou) || {}, Ye = Je.maxCount, vt = Je.rawValues, Lt = function(jt, w1, L1) {
14645
14645
  if (!(k && C3(Ye) && (vt == null ? void 0 : vt.size) >= Ye)) {
14646
14646
  var Nt = !0, _e = jt;
14647
14647
  z == null || z(null);
@@ -14656,7 +14656,7 @@ var ZB = ["id", "prefixCls", "className", "showSearch", "tagRender", "direction"
14656
14656
  });
14657
14657
  };
14658
14658
  u.useEffect(function() {
14659
- !Ve && !k && g !== "combobox" && Mt("", !1, !1);
14659
+ !Ve && !k && g !== "combobox" && Lt("", !1, !1);
14660
14660
  }, [Ve]), u.useEffect(function() {
14661
14661
  Qe && b && rt(!1), b && !ze.current && ge(!1);
14662
14662
  }, [b]);
@@ -14716,7 +14716,7 @@ var ZB = ["id", "prefixCls", "className", "showSearch", "tagRender", "direction"
14716
14716
  }), $e.splice(0, $e.length);
14717
14717
  };
14718
14718
  }, []);
14719
- var xt = function(jt) {
14719
+ var Mt = function(jt) {
14720
14720
  var w1, L1 = jt.target, Nt = (w1 = Se.current) === null || w1 === void 0 ? void 0 : w1.getPopupElement();
14721
14721
  if (Nt && Nt.contains(L1)) {
14722
14722
  var _e = setTimeout(function() {
@@ -14731,7 +14731,7 @@ var ZB = ["id", "prefixCls", "className", "showSearch", "tagRender", "direction"
14731
14731
  for (var at = arguments.length, Gt = new Array(at > 1 ? at - 1 : 0), _t = 1; _t < at; _t++)
14732
14732
  Gt[_t - 1] = arguments[_t];
14733
14733
  X == null || X.apply(void 0, [jt].concat(Gt));
14734
- }, Pt = u.useState({}), Dt = ae(Pt, 2), c1 = Dt[1];
14734
+ }, xt = u.useState({}), Dt = ae(xt, 2), c1 = Dt[1];
14735
14735
  function d1() {
14736
14736
  c1({});
14737
14737
  }
@@ -14769,7 +14769,7 @@ var ZB = ["id", "prefixCls", "className", "showSearch", "tagRender", "direction"
14769
14769
  m == null || m(), (jt = Te.current) === null || jt === void 0 || jt.focus(), v([], {
14770
14770
  type: "clear",
14771
14771
  values: f
14772
- }), Mt("", !1, !1);
14772
+ }), Lt("", !1, !1);
14773
14773
  }, zt = QZ(a, gt, f, D, Z, b, he, g), Yt = zt.allowClear, y1 = zt.clearIcon, B1 = /* @__PURE__ */ u.createElement(V, {
14774
14774
  ref: Ne
14775
14775
  }), wn = ie(a, o, Y(Y(Y(Y(Y(Y(Y(Y(Y(Y({}, "".concat(a, "-focused"), je), "".concat(a, "-multiple"), k), "".concat(a, "-single"), !k), "".concat(a, "-allow-clear"), D), "".concat(a, "-show-arrow"), b1), "".concat(a, "-disabled"), b), "".concat(a, "-loading"), y), "".concat(a, "-open"), Ve), "".concat(a, "-customize-input"), be), "".concat(a, "-show-search"), q)), rn = /* @__PURE__ */ u.createElement(Cw, {
@@ -14818,7 +14818,7 @@ var ZB = ["id", "prefixCls", "className", "showSearch", "tagRender", "direction"
14818
14818
  onToggleOpen: Ze,
14819
14819
  activeValue: S,
14820
14820
  searchValue: he,
14821
- onSearch: Mt,
14821
+ onSearch: Lt,
14822
14822
  onSearchSubmit: qt,
14823
14823
  onRemove: $t,
14824
14824
  tokenWithEnter: We
@@ -14827,7 +14827,7 @@ var ZB = ["id", "prefixCls", "className", "showSearch", "tagRender", "direction"
14827
14827
  className: wn
14828
14828
  }, ee, {
14829
14829
  ref: pe,
14830
- onMouseDown: xt,
14830
+ onMouseDown: Mt,
14831
14831
  onKeyDown: Ct,
14832
14832
  onKeyUp: St,
14833
14833
  onFocus: ct,
@@ -15286,14 +15286,14 @@ function eR(e, t) {
15286
15286
  offset: void 0
15287
15287
  };
15288
15288
  }
15289
- for (var ct = 0, Ue, $e, xt, Pt = R.length, Dt = 0; Dt < Pt; Dt += 1) {
15289
+ for (var ct = 0, Ue, $e, Mt, xt = R.length, Dt = 0; Dt < xt; Dt += 1) {
15290
15290
  var c1 = R[Dt], d1 = z(c1), Kt = A.get(d1), r1 = ct + (Kt === void 0 ? i : Kt);
15291
- r1 >= $ && Ue === void 0 && (Ue = Dt, $e = ct), r1 > $ + o && xt === void 0 && (xt = Dt), ct = r1;
15291
+ r1 >= $ && Ue === void 0 && (Ue = Dt, $e = ct), r1 > $ + o && Mt === void 0 && (Mt = Dt), ct = r1;
15292
15292
  }
15293
- return Ue === void 0 && (Ue = 0, $e = 0, xt = Math.ceil(o / i)), xt === void 0 && (xt = R.length - 1), xt = Math.min(xt + 1, R.length - 1), {
15293
+ return Ue === void 0 && (Ue = 0, $e = 0, Mt = Math.ceil(o / i)), Mt === void 0 && (Mt = R.length - 1), Mt = Math.min(Mt + 1, R.length - 1), {
15294
15294
  scrollHeight: ct,
15295
15295
  start: Ue,
15296
- end: xt,
15296
+ end: Mt,
15297
15297
  offset: $e
15298
15298
  };
15299
15299
  }, [Z, D, $, R, O, o]), Se = Le.scrollHeight, Te = Le.start, Ne = Le.end, ze = Le.offset;
@@ -15350,7 +15350,7 @@ function eR(e, t) {
15350
15350
  var $e = Ue + Ke;
15351
15351
  return $e;
15352
15352
  });
15353
- }), vt = FB(D, De, Fe, Re, Qe, !!m, Ye), Mt = ae(vt, 2), qt = Mt[0], Jt = Mt[1];
15353
+ }), vt = FB(D, De, Fe, Re, Qe, !!m, Ye), Lt = ae(vt, 2), qt = Lt[0], Jt = Lt[1];
15354
15354
  qB(D, G, function(Ke, ct, Ue) {
15355
15355
  return rt(Ke, ct, Ue) ? !1 : (qt({
15356
15356
  preventDefault: function() {
@@ -15850,17 +15850,17 @@ var yw = /* @__PURE__ */ u.forwardRef(function(e, t) {
15850
15850
  }), se = ae(te, 2), le = se[0], U = se[1], _ = dR(L, P, $, w, M), oe = _.valueOptions, K = _.labelOptions, ue = _.options, X = u.useCallback(function(Ze) {
15851
15851
  var We = au(Ze);
15852
15852
  return We.map(function(Je) {
15853
- var Ye, vt, Mt, qt, Jt;
15853
+ var Ye, vt, Lt, qt, Jt;
15854
15854
  if (pR(Je))
15855
15855
  Ye = Je;
15856
15856
  else {
15857
15857
  var qe;
15858
- Mt = Je.key, vt = Je.label, Ye = (qe = Je.value) !== null && qe !== void 0 ? qe : Mt;
15858
+ Lt = Je.key, vt = Je.label, Ye = (qe = Je.value) !== null && qe !== void 0 ? qe : Lt;
15859
15859
  }
15860
15860
  var Ae = oe.get(Ye);
15861
15861
  if (Ae) {
15862
15862
  var dt;
15863
- if (vt === void 0 && (vt = Ae == null ? void 0 : Ae[M || $.label]), Mt === void 0 && (Mt = (dt = Ae == null ? void 0 : Ae.key) !== null && dt !== void 0 ? dt : Ye), qt = Ae == null ? void 0 : Ae.disabled, Jt = Ae == null ? void 0 : Ae.title, process.env.NODE_ENV !== "production" && !M) {
15863
+ if (vt === void 0 && (vt = Ae == null ? void 0 : Ae[M || $.label]), Lt === void 0 && (Lt = (dt = Ae == null ? void 0 : Ae.key) !== null && dt !== void 0 ? dt : Ye), qt = Ae == null ? void 0 : Ae.disabled, Jt = Ae == null ? void 0 : Ae.title, process.env.NODE_ENV !== "production" && !M) {
15864
15864
  var ht = Ae == null ? void 0 : Ae[$.label];
15865
15865
  ht !== void 0 && !/* @__PURE__ */ u.isValidElement(ht) && !/* @__PURE__ */ u.isValidElement(vt) && ht !== vt && ot(!1, "`label` of `value` is not same as `label` in Select options.");
15866
15866
  }
@@ -15868,7 +15868,7 @@ var yw = /* @__PURE__ */ u.forwardRef(function(e, t) {
15868
15868
  return {
15869
15869
  label: vt,
15870
15870
  value: Ye,
15871
- key: Mt,
15871
+ key: Lt,
15872
15872
  disabled: qt,
15873
15873
  title: Jt
15874
15874
  };
@@ -15936,14 +15936,14 @@ var yw = /* @__PURE__ */ u.forwardRef(function(e, t) {
15936
15936
  }, [ke, $, J]), ge = function(We) {
15937
15937
  var Je = X(We);
15938
15938
  if (ee(Je), B && // Trigger event only when value changed
15939
- (Je.length !== Ce.length || Je.some(function(Mt, qt) {
15939
+ (Je.length !== Ce.length || Je.some(function(Lt, qt) {
15940
15940
  var Jt;
15941
- return ((Jt = Ce[qt]) === null || Jt === void 0 ? void 0 : Jt.value) !== (Mt == null ? void 0 : Mt.value);
15941
+ return ((Jt = Ce[qt]) === null || Jt === void 0 ? void 0 : Jt.value) !== (Lt == null ? void 0 : Lt.value);
15942
15942
  }))) {
15943
- var Ye = V ? Je : Je.map(function(Mt) {
15944
- return Mt.value;
15945
- }), vt = Je.map(function(Mt) {
15946
- return g3(pe(Mt.value));
15943
+ var Ye = V ? Je : Je.map(function(Lt) {
15944
+ return Lt.value;
15945
+ }), vt = Je.map(function(Lt) {
15946
+ return g3(pe(Lt.value));
15947
15947
  });
15948
15948
  B(
15949
15949
  // Value
@@ -15965,7 +15965,7 @@ var yw = /* @__PURE__ */ u.forwardRef(function(e, t) {
15965
15965
  } : We, g3(Ke)];
15966
15966
  };
15967
15967
  if (Je && C) {
15968
- var Mt = vt(), qt = ae(Mt, 2), Jt = qt[0], qe = qt[1];
15968
+ var Lt = vt(), qt = ae(Lt, 2), Jt = qt[0], qe = qt[1];
15969
15969
  C(Jt, qe);
15970
15970
  } else if (!Je && p && Ye !== "clear") {
15971
15971
  var Ae = vt(), dt = ae(Ae, 2), ht = dt[0], Ct = dt[1];
@@ -15979,8 +15979,8 @@ var yw = /* @__PURE__ */ u.forwardRef(function(e, t) {
15979
15979
  }), rt = function(We, Je) {
15980
15980
  ge(We);
15981
15981
  var Ye = Je.type, vt = Je.values;
15982
- (Ye === "remove" || Ye === "clear") && vt.forEach(function(Mt) {
15983
- Re(Mt.value, !1, Ye);
15982
+ (Ye === "remove" || Ye === "clear") && vt.forEach(function(Lt) {
15983
+ Re(Lt.value, !1, Ye);
15984
15984
  });
15985
15985
  }, Ve = function(We, Je) {
15986
15986
  if (U(We), we(null), Je.source === "submit") {
@@ -15995,8 +15995,8 @@ var yw = /* @__PURE__ */ u.forwardRef(function(e, t) {
15995
15995
  }, pt = function(We) {
15996
15996
  var Je = We;
15997
15997
  r !== "tags" && (Je = We.map(function(vt) {
15998
- var Mt = K.get(vt);
15999
- return Mt == null ? void 0 : Mt.value;
15998
+ var Lt = K.get(vt);
15999
+ return Lt == null ? void 0 : Lt.value;
16000
16000
  }).filter(function(vt) {
16001
16001
  return vt !== void 0;
16002
16002
  }));
@@ -16120,7 +16120,7 @@ const Lw = () => {
16120
16120
  borderColor: o,
16121
16121
  shadowColor: i,
16122
16122
  contentColor: s
16123
- } = Lt(() => ({
16123
+ } = Pt(() => ({
16124
16124
  borderColor: new Qt(t).onBackground(a).toHexShortString(),
16125
16125
  shadowColor: new Qt(n).onBackground(a).toHexShortString(),
16126
16126
  contentColor: new Qt(r).onBackground(a).toHexShortString()
@@ -19118,13 +19118,13 @@ const kV = /* @__PURE__ */ u.forwardRef((e, t) => {
19118
19118
  getPrefixCls: E,
19119
19119
  direction: j,
19120
19120
  badge: H
19121
- } = u.useContext(ft), I = E("badge", s), [A, O, D] = EV(I), N = C > p ? `${p}+` : C, Z = N === "0" || N === 0, V = C === null || Z && !S, B = (f != null || d != null) && V, R = m && !Z, G = R ? "" : N, F = Lt(() => (G == null || G === "" || Z && !S) && !R, [G, Z, S, R]), W = Ee(C);
19121
+ } = u.useContext(ft), I = E("badge", s), [A, O, D] = EV(I), N = C > p ? `${p}+` : C, Z = N === "0" || N === 0, V = C === null || Z && !S, B = (f != null || d != null) && V, R = m && !Z, G = R ? "" : N, F = Pt(() => (G == null || G === "" || Z && !S) && !R, [G, Z, S, R]), W = Ee(C);
19122
19122
  F || (W.current = C);
19123
19123
  const J = W.current, ne = Ee(G);
19124
19124
  F || (ne.current = G);
19125
19125
  const $ = ne.current, te = Ee(R);
19126
19126
  F || (te.current = R);
19127
- const se = Lt(() => {
19127
+ const se = Pt(() => {
19128
19128
  if (!y)
19129
19129
  return Object.assign(Object.assign({}, H == null ? void 0 : H.style), w);
19130
19130
  const T = {
@@ -19237,7 +19237,7 @@ function XV(e) {
19237
19237
  }, [t]);
19238
19238
  }
19239
19239
  var GV = /* @__PURE__ */ tn(function(e, t) {
19240
- var n = e.overlay, r = e.arrow, a = e.prefixCls, o = Lt(function() {
19240
+ var n = e.overlay, r = e.arrow, a = e.prefixCls, o = Pt(function() {
19241
19241
  var s;
19242
19242
  return typeof n == "function" ? s = n() : s = n, s;
19243
19243
  }, [n]), i = nn(t, o == null ? void 0 : o.ref);
@@ -20108,7 +20108,7 @@ var SX = ["prefixCls", "rootClassName", "style", "className", "tabIndex", "items
20108
20108
  at ? To(Gt) : Gt();
20109
20109
  }, Ie = u.useState(be), tt = ae(Ie, 2), Ge = tt[0], De = tt[1], Fe = u.useRef(!1), Re = u.useMemo(function() {
20110
20110
  return (b === "inline" || b === "vertical") && y ? ["vertical", y] : [b, !1];
20111
- }, [b, y]), Qe = ae(Re, 2), rt = Qe[0], Ve = Qe[1], pt = rt === "inline", yt = u.useState(rt), Ze = ae(yt, 2), We = Ze[0], Je = Ze[1], Ye = u.useState(Ve), vt = ae(Ye, 2), Mt = vt[0], qt = vt[1];
20111
+ }, [b, y]), Qe = ae(Re, 2), rt = Qe[0], Ve = Qe[1], pt = rt === "inline", yt = u.useState(rt), Ze = ae(yt, 2), We = Ze[0], Je = Ze[1], Ye = u.useState(Ve), vt = ae(Ye, 2), Lt = vt[0], qt = vt[1];
20112
20112
  u.useEffect(function() {
20113
20113
  Je(rt), qt(Ve), Fe.current && (pt ? we(Ge) : Oe(Ca));
20114
20114
  }, [rt, Ve]);
@@ -20120,7 +20120,7 @@ var SX = ["prefixCls", "rootClassName", "style", "className", "tabIndex", "items
20120
20120
  Fe.current = !1;
20121
20121
  };
20122
20122
  }, []);
20123
- var Ct = rX(), St = Ct.registerPath, $t = Ct.unregisterPath, Ke = Ct.refreshOverflowKeys, ct = Ct.isSubPathKey, Ue = Ct.getKeyPath, $e = Ct.getKeys, xt = Ct.getSubPathKeys, Pt = u.useMemo(function() {
20123
+ var Ct = rX(), St = Ct.registerPath, $t = Ct.unregisterPath, Ke = Ct.refreshOverflowKeys, ct = Ct.isSubPathKey, Ue = Ct.getKeyPath, $e = Ct.getKeys, Mt = Ct.getSubPathKeys, xt = u.useMemo(function() {
20124
20124
  return {
20125
20125
  registerPath: St,
20126
20126
  unregisterPath: $t
@@ -20183,7 +20183,7 @@ var SX = ["prefixCls", "rootClassName", "style", "className", "tabIndex", "items
20183
20183
  if (_e)
20184
20184
  at.push(Nt);
20185
20185
  else if (We !== "inline") {
20186
- var Gt = xt(Nt);
20186
+ var Gt = Mt(Nt);
20187
20187
  at = at.filter(function(_t) {
20188
20188
  return !Gt.has(_t);
20189
20189
  });
@@ -20218,7 +20218,7 @@ var SX = ["prefixCls", "rootClassName", "style", "className", "tabIndex", "items
20218
20218
  prefixCls: "".concat(i, "-overflow"),
20219
20219
  component: "ul",
20220
20220
  itemComponent: i8,
20221
- className: ie(i, "".concat(i, "-root"), "".concat(i, "-").concat(We), c, (r = {}, Y(r, "".concat(i, "-inline-collapsed"), Mt), Y(r, "".concat(i, "-rtl"), ge), r), s),
20221
+ className: ie(i, "".concat(i, "-root"), "".concat(i, "-").concat(We), c, (r = {}, Y(r, "".concat(i, "-inline-collapsed"), Lt), Y(r, "".concat(i, "-rtl"), ge), r), s),
20222
20222
  dir: p,
20223
20223
  style: l,
20224
20224
  role: "menu",
@@ -20281,7 +20281,7 @@ var SX = ["prefixCls", "rootClassName", "style", "className", "tabIndex", "items
20281
20281
  },
20282
20282
  "aria-hidden": !0
20283
20283
  }, /* @__PURE__ */ u.createElement(Kw.Provider, {
20284
- value: Pt
20284
+ value: xt
20285
20285
  }, Se)))));
20286
20286
  }), Ci = zX;
20287
20287
  Ci.Item = i8;
@@ -25235,7 +25235,7 @@ function aF(e, t) {
25235
25235
  });
25236
25236
  }, [O, je, Se, he]), Ie = Ut([H, H], {
25237
25237
  value: D
25238
- }), tt = ae(Ie, 2), Ge = tt[0], De = tt[1], Fe = Ge[je] || H, Re = Fe === "date" && Oe ? "datetime" : Fe, Qe = Re === H && Re !== "time", rt = RL(H, Fe, I, A, !0), Ve = BL(a, de, ve, Ce, pe, y, s, ze, T, c), pt = ae(Ve, 2), yt = pt[0], Ze = pt[1], We = OG(Se, y, he, j, E, M), Je = yL(Se, c, w), Ye = ae(Je, 2), vt = Ye[0], Mt = Ye[1], qt = AL(j, E, Se, Ge, T, je, o, Qe, B, R, Oe == null ? void 0 : Oe.defaultOpenValue, G, L, x), Jt = ae(qt, 2), qe = Jt[0], Ae = Jt[1], dt = At(function(Rt, Xe, lt) {
25238
+ }), tt = ae(Ie, 2), Ge = tt[0], De = tt[1], Fe = Ge[je] || H, Re = Fe === "date" && Oe ? "datetime" : Fe, Qe = Re === H && Re !== "time", rt = RL(H, Fe, I, A, !0), Ve = BL(a, de, ve, Ce, pe, y, s, ze, T, c), pt = ae(Ve, 2), yt = pt[0], Ze = pt[1], We = OG(Se, y, he, j, E, M), Je = yL(Se, c, w), Ye = ae(Je, 2), vt = Ye[0], Lt = Ye[1], qt = AL(j, E, Se, Ge, T, je, o, Qe, B, R, Oe == null ? void 0 : Oe.defaultOpenValue, G, L, x), Jt = ae(qt, 2), qe = Jt[0], Ae = Jt[1], dt = At(function(Rt, Xe, lt) {
25239
25239
  var Vt = a7(Ge, je, Xe);
25240
25240
  if ((Vt[0] !== Ge[0] || Vt[1] !== Ge[1]) && De(Vt), N && lt !== !1) {
25241
25241
  var M1 = xe(Se);
@@ -25269,7 +25269,7 @@ function aF(e, t) {
25269
25269
  Ze(null), q(!1, {
25270
25270
  force: !0
25271
25271
  });
25272
- }, Ke = u.useState(null), ct = ae(Ke, 2), Ue = ct[0], $e = ct[1], xt = u.useState(null), Pt = ae(xt, 2), Dt = Pt[0], c1 = Pt[1], d1 = u.useMemo(function() {
25272
+ }, Ke = u.useState(null), ct = ae(Ke, 2), Ue = ct[0], $e = ct[1], Mt = u.useState(null), xt = ae(Mt, 2), Dt = xt[0], c1 = xt[1], d1 = u.useMemo(function() {
25273
25273
  return Dt || Se;
25274
25274
  }, [Se, Dt]);
25275
25275
  u.useEffect(function() {
@@ -25413,7 +25413,7 @@ function aF(e, t) {
25413
25413
  onClick: St,
25414
25414
  onClear: $t,
25415
25415
  invalid: vt,
25416
- onInvalid: Mt,
25416
+ onInvalid: Lt,
25417
25417
  onActiveOffset: u1
25418
25418
  })
25419
25419
  )));
@@ -25590,7 +25590,7 @@ function lF(e, t) {
25590
25590
  return Je.some(function(_e) {
25591
25591
  return _e;
25592
25592
  });
25593
- }, [Je]), Mt = function(at, Gt) {
25593
+ }, [Je]), Lt = function(at, Gt) {
25594
25594
  if (W) {
25595
25595
  var _t = Q(Q({}, Gt), {}, {
25596
25596
  mode: Gt.mode[0]
@@ -25610,7 +25610,7 @@ function lF(e, t) {
25610
25610
  G,
25611
25611
  F,
25612
25612
  Ya(D == null ? void 0 : D.defaultOpenValue),
25613
- Mt,
25613
+ Lt,
25614
25614
  x,
25615
25615
  P
25616
25616
  ), Jt = ae(qt, 2), qe = Jt[0], Ae = Jt[1], dt = At(function(_e, at, Gt) {
@@ -25628,16 +25628,16 @@ function lF(e, t) {
25628
25628
  yt(null), de(!1, {
25629
25629
  force: !0
25630
25630
  });
25631
- }, $t = u.useState(null), Ke = ae($t, 2), ct = Ke[0], Ue = Ke[1], $e = u.useState(null), xt = ae($e, 2), Pt = xt[0], Dt = xt[1], c1 = u.useMemo(function() {
25632
- var _e = [Pt].concat(xe(ke)).filter(function(at) {
25631
+ }, $t = u.useState(null), Ke = ae($t, 2), ct = Ke[0], Ue = Ke[1], $e = u.useState(null), Mt = ae($e, 2), xt = Mt[0], Dt = Mt[1], c1 = u.useMemo(function() {
25632
+ var _e = [xt].concat(xe(ke)).filter(function(at) {
25633
25633
  return at;
25634
25634
  });
25635
25635
  return R ? _e : _e.slice(0, 1);
25636
- }, [ke, Pt, R]), d1 = u.useMemo(function() {
25637
- return !R && Pt ? [Pt] : ke.filter(function(_e) {
25636
+ }, [ke, xt, R]), d1 = u.useMemo(function() {
25637
+ return !R && xt ? [xt] : ke.filter(function(_e) {
25638
25638
  return _e;
25639
25639
  });
25640
- }, [ke, Pt, R]);
25640
+ }, [ke, xt, R]);
25641
25641
  u.useEffect(function() {
25642
25642
  ce || Dt(null);
25643
25643
  }, [ce]);
@@ -25734,8 +25734,8 @@ function lF(e, t) {
25734
25734
  ref: X,
25735
25735
  suffixIcon: ne,
25736
25736
  removeIcon: $,
25737
- activeHelp: !!Pt,
25738
- allHelp: !!Pt && ct === "preset",
25737
+ activeHelp: !!xt,
25738
+ allHelp: !!xt && ct === "preset",
25739
25739
  focused: Me,
25740
25740
  onFocus: jt,
25741
25741
  onBlur: w1,
@@ -28565,7 +28565,7 @@ var GF = function(t) {
28565
28565
  top: 0
28566
28566
  };
28567
28567
  function FF(e, t, n) {
28568
- return Lt(function() {
28568
+ return Pt(function() {
28569
28569
  for (var r, a = /* @__PURE__ */ new Map(), o = t.get((r = e[0]) === null || r === void 0 ? void 0 : r.key) || UC, i = o.left + o.width, s = 0; s < e.length; s += 1) {
28570
28570
  var l = e[s].key, c = t.get(l);
28571
28571
  if (!c) {
@@ -28697,7 +28697,7 @@ var tg = {
28697
28697
  };
28698
28698
  function qF(e, t, n, r, a, o, i) {
28699
28699
  var s = i.tabs, l = i.tabPosition, c = i.rtl, f, v, d;
28700
- return ["top", "bottom"].includes(l) ? (f = "width", v = c ? "right" : "left", d = Math.abs(n)) : (f = "height", v = "top", d = -n), Lt(function() {
28700
+ return ["top", "bottom"].includes(l) ? (f = "width", v = c ? "right" : "left", d = Math.abs(n)) : (f = "height", v = "top", d = -n), Pt(function() {
28701
28701
  if (!s.length)
28702
28702
  return [0, 0];
28703
28703
  for (var C = s.length, p = C, m = 0; m < C; m += 1) {
@@ -29034,11 +29034,11 @@ var $F = function(t) {
29034
29034
  return w.forEach(function(Ct) {
29035
29035
  var St, $t = Ct.key, Ke = (St = S.current) === null || St === void 0 ? void 0 : St.querySelector('[data-node-key="'.concat(lM($t), '"]'));
29036
29036
  if (Ke) {
29037
- var ct = _F(Ke, ht), Ue = ae(ct, 4), $e = Ue[0], xt = Ue[1], Pt = Ue[2], Dt = Ue[3];
29037
+ var ct = _F(Ke, ht), Ue = ae(ct, 4), $e = Ue[0], Mt = Ue[1], xt = Ue[2], Dt = Ue[3];
29038
29038
  dt.set($t, {
29039
29039
  width: $e,
29040
- height: xt,
29041
- left: Pt,
29040
+ height: Mt,
29041
+ left: xt,
29042
29042
  top: Dt
29043
29043
  });
29044
29044
  }
@@ -29070,8 +29070,8 @@ var $F = function(t) {
29070
29070
  }, [i, Te, Ne, ng(yt), ng(ee), j]), ut(function() {
29071
29071
  Qe();
29072
29072
  }, [s]);
29073
- var Je = !!pt.length, Ye = "".concat(y, "-nav-wrap"), vt, Mt, qt, Jt;
29074
- return j ? s ? (Mt = A > 0, vt = A !== Ne) : (vt = A < 0, Mt = A !== Te) : (qt = Z < 0, Jt = Z !== Te), /* @__PURE__ */ u.createElement(sn, {
29073
+ var Je = !!pt.length, Ye = "".concat(y, "-nav-wrap"), vt, Lt, qt, Jt;
29074
+ return j ? s ? (Lt = A > 0, vt = A !== Ne) : (vt = A < 0, Lt = A !== Te) : (qt = Z < 0, Jt = Z !== Te), /* @__PURE__ */ u.createElement(sn, {
29075
29075
  onResize: Qe
29076
29076
  }, /* @__PURE__ */ u.createElement("div", {
29077
29077
  ref: H0(t, M),
@@ -29089,7 +29089,7 @@ var $F = function(t) {
29089
29089
  }), /* @__PURE__ */ u.createElement(sn, {
29090
29090
  onResize: Qe
29091
29091
  }, /* @__PURE__ */ u.createElement("div", {
29092
- className: ie(Ye, Y(Y(Y(Y({}, "".concat(Ye, "-ping-left"), vt), "".concat(Ye, "-ping-right"), Mt), "".concat(Ye, "-ping-top"), qt), "".concat(Ye, "-ping-bottom"), Jt)),
29092
+ className: ie(Ye, Y(Y(Y(Y({}, "".concat(Ye, "-ping-left"), vt), "".concat(Ye, "-ping-right"), Lt), "".concat(Ye, "-ping-top"), qt), "".concat(Ye, "-ping-bottom"), Jt)),
29093
29093
  ref: P
29094
29094
  }, /* @__PURE__ */ u.createElement(sn, {
29095
29095
  onResize: Qe
@@ -32732,7 +32732,7 @@ const bJ = (e) => {
32732
32732
  [`${o}-sm`]: e.size === "small",
32733
32733
  [`${o}-compact`]: e.compact,
32734
32734
  [`${o}-rtl`]: n === "rtl"
32735
- }, l, a), f = Ot(Sn), v = Lt(() => Object.assign(Object.assign({}, f), {
32735
+ }, l, a), f = Ot(Sn), v = Pt(() => Object.assign(Object.assign({}, f), {
32736
32736
  isFormItemInput: !1
32737
32737
  }), [f]);
32738
32738
  return process.env.NODE_ENV !== "production" && Wt("Input.Group").deprecated(!1, "Input.Group", "Space.Compact"), s(/* @__PURE__ */ u.createElement("span", {
@@ -34057,7 +34057,7 @@ function nY(e, t, n, r, a, o) {
34057
34057
  return [l, d];
34058
34058
  }
34059
34059
  function rY(e) {
34060
- return Lt(function() {
34060
+ return Pt(function() {
34061
34061
  if (e === !0 || !e)
34062
34062
  return [!!e, !1, !1, 0];
34063
34063
  var t = e.editable, n = e.draggableTrack, r = e.minCount, a = e.maxCount;
@@ -34077,10 +34077,10 @@ var TM = /* @__PURE__ */ u.forwardRef(function(e, t) {
34077
34077
  return typeof D == "boolean" ? D ? Ne : !1 : D >= 0 ? D : !1;
34078
34078
  }, [D, Ne]), Be = u.useMemo(function() {
34079
34079
  return Object.keys($ || {}).map(function(Ue) {
34080
- var $e = $[Ue], xt = {
34080
+ var $e = $[Ue], Mt = {
34081
34081
  value: Number(Ue)
34082
34082
  };
34083
- return $e && nt($e) === "object" && !/* @__PURE__ */ u.isValidElement($e) && ("label" in $e || "style" in $e) ? (xt.style = $e.style, xt.label = $e.label) : xt.label = $e, xt;
34083
+ return $e && nt($e) === "object" && !/* @__PURE__ */ u.isValidElement($e) && ("label" in $e || "style" in $e) ? (Mt.style = $e.style, Mt.label = $e.label) : Mt.label = $e, Mt;
34084
34084
  }).filter(function(Ue) {
34085
34085
  var $e = Ue.label;
34086
34086
  return $e || typeof $e == "number";
@@ -34090,7 +34090,7 @@ var TM = /* @__PURE__ */ u.forwardRef(function(e, t) {
34090
34090
  }, [$]), ke = nY(Se, Te, Ne, Be, A, ze), je = ae(ke, 2), ge = je[0], Me = je[1], he = Ut(x, {
34091
34091
  value: L
34092
34092
  }), be = ae(he, 2), we = be[0], Oe = be[1], Ie = u.useMemo(function() {
34093
- var Ue = we == null ? [] : Array.isArray(we) ? we : [we], $e = ae(Ue, 1), xt = $e[0], Pt = xt === void 0 ? Se : xt, Dt = we === null ? [] : [Pt];
34093
+ var Ue = we == null ? [] : Array.isArray(we) ? we : [we], $e = ae(Ue, 1), Mt = $e[0], xt = Mt === void 0 ? Se : Mt, Dt = we === null ? [] : [xt];
34094
34094
  if (de) {
34095
34095
  if (Dt = xe(Ue), S || we === void 0) {
34096
34096
  var c1 = S >= 0 ? S + 1 : 2;
@@ -34109,8 +34109,8 @@ var TM = /* @__PURE__ */ u.forwardRef(function(e, t) {
34109
34109
  }, [we, de, Se, S, ge]), tt = function($e) {
34110
34110
  return de ? $e : $e[0];
34111
34111
  }, Ge = At(function(Ue) {
34112
- var $e = xe(Ue).sort(function(xt, Pt) {
34113
- return xt - Pt;
34112
+ var $e = xe(Ue).sort(function(Mt, xt) {
34113
+ return Mt - xt;
34114
34114
  });
34115
34115
  z && !vr($e, Ie, !0) && z(tt($e)), Oe($e);
34116
34116
  }), De = At(function(Ue) {
@@ -34119,30 +34119,30 @@ var TM = /* @__PURE__ */ u.forwardRef(function(e, t) {
34119
34119
  j == null || j($e), ot(!j, "[rc-slider] `onAfterChange` is deprecated. Please use `onChangeComplete` instead."), H == null || H($e);
34120
34120
  }), Fe = function($e) {
34121
34121
  if (!(c || !ve || Ie.length <= pe)) {
34122
- var xt = xe(Ie);
34123
- xt.splice($e, 1), E == null || E(tt(xt)), Ge(xt);
34124
- var Pt = Math.max(0, $e - 1);
34125
- T.current.hideHelp(), T.current.focus(Pt);
34122
+ var Mt = xe(Ie);
34123
+ Mt.splice($e, 1), E == null || E(tt(Mt)), Ge(Mt);
34124
+ var xt = Math.max(0, $e - 1);
34125
+ T.current.hideHelp(), T.current.focus(xt);
34126
34126
  }
34127
- }, Re = tY(k, q, Ie, Se, Te, ge, Ge, De, Me, ve, pe), Qe = ae(Re, 5), rt = Qe[0], Ve = Qe[1], pt = Qe[2], yt = Qe[3], Ze = Qe[4], We = function($e, xt) {
34127
+ }, Re = tY(k, q, Ie, Se, Te, ge, Ge, De, Me, ve, pe), Qe = ae(Re, 5), rt = Qe[0], Ve = Qe[1], pt = Qe[2], yt = Qe[3], Ze = Qe[4], We = function($e, Mt) {
34128
34128
  if (!c) {
34129
- var Pt = xe(Ie), Dt = 0, c1 = 0, d1 = Te - Se;
34129
+ var xt = xe(Ie), Dt = 0, c1 = 0, d1 = Te - Se;
34130
34130
  Ie.forEach(function(gt, zt) {
34131
34131
  var Yt = Math.abs($e - gt);
34132
34132
  Yt <= d1 && (d1 = Yt, Dt = zt), gt < $e && (c1 = zt);
34133
34133
  });
34134
34134
  var Kt = Dt;
34135
- ve && d1 !== 0 && (!Le || Ie.length < Le) ? (Pt.splice(c1 + 1, 0, $e), Kt = c1 + 1) : Pt[Dt] = $e, de && !Ie.length && S === void 0 && Pt.push($e);
34136
- var r1 = tt(Pt);
34137
- if (E == null || E(r1), Ge(Pt), xt) {
34135
+ ve && d1 !== 0 && (!Le || Ie.length < Le) ? (xt.splice(c1 + 1, 0, $e), Kt = c1 + 1) : xt[Dt] = $e, de && !Ie.length && S === void 0 && xt.push($e);
34136
+ var r1 = tt(xt);
34137
+ if (E == null || E(r1), Ge(xt), Mt) {
34138
34138
  var b1, u1;
34139
- (b1 = document.activeElement) === null || b1 === void 0 || (u1 = b1.blur) === null || u1 === void 0 || u1.call(b1), T.current.focus(Kt), Ze(xt, Kt, Pt);
34139
+ (b1 = document.activeElement) === null || b1 === void 0 || (u1 = b1.blur) === null || u1 === void 0 || u1.call(b1), T.current.focus(Kt), Ze(Mt, Kt, xt);
34140
34140
  } else
34141
34141
  j == null || j(r1), ot(!j, "[rc-slider] `onAfterChange` is deprecated. Please use `onChangeComplete` instead."), H == null || H(r1);
34142
34142
  }
34143
34143
  }, Je = function($e) {
34144
34144
  $e.preventDefault();
34145
- var xt = k.current.getBoundingClientRect(), Pt = xt.width, Dt = xt.height, c1 = xt.left, d1 = xt.top, Kt = xt.bottom, r1 = xt.right, b1 = $e.clientX, u1 = $e.clientY, gt;
34145
+ var Mt = k.current.getBoundingClientRect(), xt = Mt.width, Dt = Mt.height, c1 = Mt.left, d1 = Mt.top, Kt = Mt.bottom, r1 = Mt.right, b1 = $e.clientX, u1 = $e.clientY, gt;
34146
34146
  switch (q) {
34147
34147
  case "btt":
34148
34148
  gt = (Kt - u1) / Dt;
@@ -34151,26 +34151,26 @@ var TM = /* @__PURE__ */ u.forwardRef(function(e, t) {
34151
34151
  gt = (u1 - d1) / Dt;
34152
34152
  break;
34153
34153
  case "rtl":
34154
- gt = (r1 - b1) / Pt;
34154
+ gt = (r1 - b1) / xt;
34155
34155
  break;
34156
34156
  default:
34157
- gt = (b1 - c1) / Pt;
34157
+ gt = (b1 - c1) / xt;
34158
34158
  }
34159
34159
  var zt = Se + gt * (Te - Se);
34160
34160
  We(ge(zt), $e);
34161
- }, Ye = u.useState(null), vt = ae(Ye, 2), Mt = vt[0], qt = vt[1], Jt = function($e, xt) {
34161
+ }, Ye = u.useState(null), vt = ae(Ye, 2), Lt = vt[0], qt = vt[1], Jt = function($e, Mt) {
34162
34162
  if (!c) {
34163
- var Pt = Me(Ie, $e, xt);
34164
- E == null || E(tt(Ie)), Ge(Pt.values), qt(Pt.value);
34163
+ var xt = Me(Ie, $e, Mt);
34164
+ E == null || E(tt(Ie)), Ge(xt.values), qt(xt.value);
34165
34165
  }
34166
34166
  };
34167
34167
  u.useEffect(function() {
34168
- if (Mt !== null) {
34169
- var Ue = Ie.indexOf(Mt);
34168
+ if (Lt !== null) {
34169
+ var Ue = Ie.indexOf(Lt);
34170
34170
  Ue >= 0 && T.current.focus(Ue);
34171
34171
  }
34172
34172
  qt(null);
34173
- }, [Mt]);
34173
+ }, [Lt]);
34174
34174
  var qe = u.useMemo(function() {
34175
34175
  return Ce && Ne === null ? (process.env.NODE_ENV !== "production" && ot(!1, "`draggableTrack` is not supported when `step` is `null`."), !1) : Ce;
34176
34176
  }, [Ce, Ne]), Ae = At(function(Ue, $e) {
@@ -34195,8 +34195,8 @@ var TM = /* @__PURE__ */ u.forwardRef(function(e, t) {
34195
34195
  T.current.focus(0);
34196
34196
  },
34197
34197
  blur: function() {
34198
- var $e, xt = document, Pt = xt.activeElement;
34199
- ($e = k.current) !== null && $e !== void 0 && $e.contains(Pt) && (Pt == null || Pt.blur());
34198
+ var $e, Mt = document, xt = Mt.activeElement;
34199
+ ($e = k.current) !== null && $e !== void 0 && $e.contains(xt) && (xt == null || xt.blur());
34200
34200
  }
34201
34201
  };
34202
34202
  }), u.useEffect(function() {
@@ -34820,7 +34820,7 @@ const [yY, wY] = ["week", "WeekPicker"], [LY, MY] = ["month", "MonthPicker"], [x
34820
34820
  type: "primary"
34821
34821
  }, e));
34822
34822
  function VM(e) {
34823
- return Lt(() => Object.assign({
34823
+ return Pt(() => Object.assign({
34824
34824
  button: jY
34825
34825
  }, e), [e]);
34826
34826
  }
@@ -36312,7 +36312,7 @@ const $5 = "float-btn", iq = /* @__PURE__ */ fe.forwardRef((e, t) => {
36312
36312
  direction: C
36313
36313
  } = Ot(ft), p = Ot(Qu), m = d($5, n), g = Z1(m), [b, y, w] = tx(m, g), M = p || i, L = ie(y, w, g, m, r, a, `${m}-${o}`, `${m}-${M}`, {
36314
36314
  [`${m}-rtl`]: C === "rtl"
36315
- }), x = Lt(() => j1(f, ["title", "children", "status", "text"]), [f]), P = Lt(() => ({
36315
+ }), x = Pt(() => j1(f, ["title", "children", "status", "text"]), [f]), P = Pt(() => ({
36316
36316
  prefixCls: m,
36317
36317
  description: l,
36318
36318
  icon: s,
@@ -37157,14 +37157,14 @@ var Sq = ["src", "alt", "onPreviewClose", "prefixCls", "previewPrefixCls", "plac
37157
37157
  fallback: f
37158
37158
  }), _ = ae(U, 3), oe = _[0], K = _[1], ue = _[2], X = it(null), T = ae(X, 2), k = T[0], q = T[1], ee = Ot(g8), ce = !!m, de = function() {
37159
37159
  le(!1), q(null);
37160
- }, ve = ie(i, w, L, Y({}, "".concat(i, "-error"), ue === "error")), Ce = Lt(function() {
37160
+ }, ve = ie(i, w, L, Y({}, "".concat(i, "-error"), ue === "error")), Ce = Pt(function() {
37161
37161
  var Te = {};
37162
37162
  return H3.forEach(function(Ne) {
37163
37163
  t[Ne] !== void 0 && (Te[Ne] = t[Ne]);
37164
37164
  }), Te;
37165
37165
  }, H3.map(function(Te) {
37166
37166
  return t[Te];
37167
- })), pe = Lt(function() {
37167
+ })), pe = Pt(function() {
37168
37168
  return Q(Q({}, Ce), {}, {
37169
37169
  src: ne
37170
37170
  });
@@ -37913,7 +37913,7 @@ var gx = function(t) {
37913
37913
  }, B(C, [C === 0 ? 0 : (X - 1) * _ + 1, X * _ > C ? C : X * _])), Je = null, Ye = ma(void 0, _, C);
37914
37914
  if (w && C <= _)
37915
37915
  return null;
37916
- var vt = [], Mt = {
37916
+ var vt = [], Lt = {
37917
37917
  rootPrefixCls: a,
37918
37918
  onClick: ge,
37919
37919
  onKeyPress: Ge,
@@ -37948,13 +37948,13 @@ var gx = function(t) {
37948
37948
  }, "/"), Ye));
37949
37949
  var Ct = S ? 1 : 2;
37950
37950
  if (Ye <= 3 + Ct * 2) {
37951
- Ye || vt.push(/* @__PURE__ */ fe.createElement(wo, me({}, Mt, {
37951
+ Ye || vt.push(/* @__PURE__ */ fe.createElement(wo, me({}, Lt, {
37952
37952
  key: "noPager",
37953
37953
  page: 1,
37954
37954
  className: "".concat(a, "-item-disabled")
37955
37955
  })));
37956
37956
  for (var St = 1; St <= Ye; St += 1)
37957
- vt.push(/* @__PURE__ */ fe.createElement(wo, me({}, Mt, {
37957
+ vt.push(/* @__PURE__ */ fe.createElement(wo, me({}, Lt, {
37958
37958
  key: St,
37959
37959
  page: St,
37960
37960
  active: X === St
@@ -37976,13 +37976,13 @@ var gx = function(t) {
37976
37976
  onKeyDown: Qe,
37977
37977
  className: ie("".concat(a, "-jump-next"), Y({}, "".concat(a, "-jump-next-custom-icon"), !!ne))
37978
37978
  }, Ue) : null);
37979
- var $e = Math.max(1, X - Ct), xt = Math.min(X + Ct, Ye);
37980
- X - 1 <= Ct && (xt = 1 + Ct * 2), Ye - X <= Ct && ($e = Ye - Ct * 2);
37981
- for (var Pt = $e; Pt <= xt; Pt += 1)
37982
- vt.push(/* @__PURE__ */ fe.createElement(wo, me({}, Mt, {
37983
- key: Pt,
37984
- page: Pt,
37985
- active: X === Pt
37979
+ var $e = Math.max(1, X - Ct), Mt = Math.min(X + Ct, Ye);
37980
+ X - 1 <= Ct && (Mt = 1 + Ct * 2), Ye - X <= Ct && ($e = Ye - Ct * 2);
37981
+ for (var xt = $e; xt <= Mt; xt += 1)
37982
+ vt.push(/* @__PURE__ */ fe.createElement(wo, me({}, Lt, {
37983
+ key: xt,
37984
+ page: xt,
37985
+ active: X === xt
37986
37986
  })));
37987
37987
  if (X - 1 >= Ct * 2 && X !== 3 && (vt[0] = /* @__PURE__ */ fe.cloneElement(vt[0], {
37988
37988
  className: ie("".concat(a, "-item-after-jump-prev"), vt[0].props.className)
@@ -37992,10 +37992,10 @@ var gx = function(t) {
37992
37992
  className: ie("".concat(a, "-item-before-jump-next"), Dt.props.className)
37993
37993
  }), vt.push(Je);
37994
37994
  }
37995
- $e !== 1 && vt.unshift(/* @__PURE__ */ fe.createElement(wo, me({}, Mt, {
37995
+ $e !== 1 && vt.unshift(/* @__PURE__ */ fe.createElement(wo, me({}, Lt, {
37996
37996
  key: 1,
37997
37997
  page: 1
37998
- }))), xt !== Ye && vt.push(/* @__PURE__ */ fe.createElement(wo, me({}, Mt, {
37998
+ }))), Mt !== Ye && vt.push(/* @__PURE__ */ fe.createElement(wo, me({}, Lt, {
37999
37999
  key: Ye,
38000
38000
  page: Ye
38001
38001
  })));
@@ -41260,7 +41260,7 @@ function nP(e) {
41260
41260
  }
41261
41261
  var MU = ["className", "noData", "columns", "flattenColumns", "colWidths", "columCount", "stickyOffsets", "direction", "fixHeader", "stickyTopOffset", "stickyBottomOffset", "stickyClassName", "onScroll", "maxContentScroll", "children"];
41262
41262
  function xU(e, t) {
41263
- return Lt(function() {
41263
+ return Pt(function() {
41264
41264
  for (var n = [], r = 0; r < t; r += 1) {
41265
41265
  var a = e[r];
41266
41266
  if (a !== void 0)
@@ -41304,11 +41304,11 @@ var rP = /* @__PURE__ */ u.forwardRef(function(e, t) {
41304
41304
  className: "".concat(w, "-cell-scrollbar")
41305
41305
  };
41306
41306
  }
41307
- }, A = Lt(function() {
41307
+ }, A = Pt(function() {
41308
41308
  return S ? [].concat(xe(a), [I]) : a;
41309
- }, [S, a]), O = Lt(function() {
41309
+ }, [S, a]), O = Pt(function() {
41310
41310
  return S ? [].concat(xe(o), [I]) : o;
41311
- }, [S, o]), D = Lt(function() {
41311
+ }, [S, o]), D = Pt(function() {
41312
41312
  var Z = l.right, V = l.left;
41313
41313
  return Q(Q({}, l), {}, {
41314
41314
  left: c === "rtl" ? [].concat(xe(V.map(function(B) {
@@ -41692,7 +41692,7 @@ function ZU(e, t) {
41692
41692
  }, [l, a, i, t, v]);
41693
41693
  }
41694
41694
  function BU(e, t, n) {
41695
- var r = Lt(function() {
41695
+ var r = Pt(function() {
41696
41696
  var a = t.length, o = function(c, f, v) {
41697
41697
  for (var d = [], C = 0, p = c; p !== f; p += v)
41698
41698
  d.push(C), t[p].fixed && (C += e[p] || 0);
@@ -41869,7 +41869,7 @@ function WU(e, t) {
41869
41869
  }, [Qe.join("_")]), Ve = BU(rt, ve, d), pt = f && I3(f.y), yt = f && I3(Le) || !!se.fixed, Ze = yt && ve.some(function(Xe) {
41870
41870
  var lt = Xe.fixed;
41871
41871
  return lt;
41872
- }), We = u.useRef(), Je = ZU(I, a), Ye = Je.isSticky, vt = Je.offsetHeader, Mt = Je.offsetSummary, qt = Je.offsetScroll, Jt = Je.stickyClassName, qe = Je.container, Ae = u.useMemo(function() {
41872
+ }), We = u.useRef(), Je = ZU(I, a), Ye = Je.isSticky, vt = Je.offsetHeader, Lt = Je.offsetSummary, qt = Je.offsetScroll, Jt = Je.stickyClassName, qe = Je.container, Ae = u.useMemo(function() {
41873
41873
  return m == null ? void 0 : m(D);
41874
41874
  }, [m, D]), dt = (pt || Ye) && /* @__PURE__ */ u.isValidElement(Ae) && Ae.type === r9 && Ae.props.fixed, ht, Ct, St;
41875
41875
  pt && (Ct = {
@@ -41892,16 +41892,16 @@ function WU(e, t) {
41892
41892
  return Vt;
41893
41893
  });
41894
41894
  }, []), Ke = IU(), ct = ae(Ke, 2), Ue = ct[0], $e = ct[1];
41895
- function xt(Xe, lt) {
41895
+ function Mt(Xe, lt) {
41896
41896
  lt && (typeof lt == "function" ? lt(Xe) : lt.scrollLeft !== Xe && (lt.scrollLeft = Xe, lt.scrollLeft !== Xe && setTimeout(function() {
41897
41897
  lt.scrollLeft = Xe;
41898
41898
  }, 0)));
41899
41899
  }
41900
- var Pt = At(function(Xe) {
41900
+ var xt = At(function(Xe) {
41901
41901
  var lt = Xe.currentTarget, Vt = Xe.scrollLeft, M1 = d === "rtl", I1 = typeof Vt == "number" ? Vt : lt.scrollLeft, ar = lt || GU;
41902
41902
  if (!$e() || $e() === ar) {
41903
41903
  var or;
41904
- Ue(ar), xt(I1, Ne.current), xt(I1, ze.current), xt(I1, ke.current), xt(I1, (or = We.current) === null || or === void 0 ? void 0 : or.setScrollLeft);
41904
+ Ue(ar), Mt(I1, Ne.current), Mt(I1, ze.current), Mt(I1, ke.current), Mt(I1, (or = We.current) === null || or === void 0 ? void 0 : or.setScrollLeft);
41905
41905
  }
41906
41906
  var yr = lt || Ne.current;
41907
41907
  if (yr) {
@@ -41913,9 +41913,9 @@ function WU(e, t) {
41913
41913
  M1 ? (he(-I1 < i0 - va), Ie(-I1 > 0)) : (he(I1 > 0), Ie(I1 < i0 - va));
41914
41914
  }
41915
41915
  }), Dt = At(function(Xe) {
41916
- Pt(Xe), P == null || P(Xe);
41916
+ xt(Xe), P == null || P(Xe);
41917
41917
  }), c1 = function() {
41918
- yt && ze.current ? Pt({
41918
+ yt && ze.current ? xt({
41919
41919
  currentTarget: ze.current
41920
41920
  }) : (he(!1), Ie(!1));
41921
41921
  }, d1 = function(lt) {
@@ -41974,7 +41974,7 @@ function WU(e, t) {
41974
41974
  typeof R == "function" ? (z1 = R(D, {
41975
41975
  scrollbarSize: u1,
41976
41976
  ref: ze,
41977
- onScroll: Pt
41977
+ onScroll: xt
41978
41978
  }), w1.colWidths = ve.map(function(Xe, lt) {
41979
41979
  var Vt = Xe.width, M1 = lt === ve.length - 1 ? Vt - u1 : Vt;
41980
41980
  return typeof M1 == "number" && !Number.isNaN(M1) ? M1 : (process.env.NODE_ENV !== "production" && ot(r.columns.length === 0, "When use `components.body` with render props. Each column should have a fixed `width` value."), 0);
@@ -41997,28 +41997,28 @@ function WU(e, t) {
41997
41997
  }, w1), Se), {}, {
41998
41998
  direction: d,
41999
41999
  stickyClassName: Jt,
42000
- onScroll: Pt
42000
+ onScroll: xt
42001
42001
  });
42002
42002
  jt = /* @__PURE__ */ u.createElement(u.Fragment, null, y !== !1 && /* @__PURE__ */ u.createElement(Tg, me({}, T1, {
42003
42003
  stickyTopOffset: vt,
42004
42004
  className: "".concat(a, "-header"),
42005
42005
  ref: Ne
42006
42006
  }), wn), z1, dt && dt !== "top" && /* @__PURE__ */ u.createElement(Tg, me({}, T1, {
42007
- stickyBottomOffset: Mt,
42007
+ stickyBottomOffset: Lt,
42008
42008
  className: "".concat(a, "-summary"),
42009
42009
  ref: ke
42010
42010
  }), rn), Ye && ze.current && ze.current instanceof Element && /* @__PURE__ */ u.createElement(VU, {
42011
42011
  ref: We,
42012
42012
  offsetScroll: qt,
42013
42013
  scrollBodyRef: ze,
42014
- onScroll: Pt,
42014
+ onScroll: xt,
42015
42015
  container: qe
42016
42016
  }));
42017
42017
  } else
42018
42018
  jt = /* @__PURE__ */ u.createElement("div", {
42019
42019
  style: Q(Q({}, ht), Ct),
42020
42020
  className: ie("".concat(a, "-content")),
42021
- onScroll: Pt,
42021
+ onScroll: xt,
42022
42022
  ref: ze
42023
42023
  }, /* @__PURE__ */ u.createElement(R1, me({
42024
42024
  style: Q(Q({}, St), {}, {
@@ -42858,7 +42858,7 @@ const Jr = {}, R3 = "SELECT_ALL", V3 = "SELECT_INVERT", X3 = "SELECT_NONE", Fg =
42858
42858
  }, [O]);
42859
42859
  const {
42860
42860
  keyEntities: V
42861
- } = Lt(() => {
42861
+ } = Pt(() => {
42862
42862
  if (y)
42863
42863
  return {
42864
42864
  keyEntities: null
@@ -42875,7 +42875,7 @@ const Jr = {}, R3 = "SELECT_ALL", V3 = "SELECT_INVERT", X3 = "SELECT_NONE", Fg =
42875
42875
  externalGetKey: P,
42876
42876
  childrenPropName: z
42877
42877
  });
42878
- }, [M, P, y, z, n]), B = Lt(() => CP(z, L), [z, L]), R = Lt(() => {
42878
+ }, [M, P, y, z, n]), B = Pt(() => CP(z, L), [z, L]), R = Pt(() => {
42879
42879
  const U = /* @__PURE__ */ new Map();
42880
42880
  return B.forEach((_, oe) => {
42881
42881
  const K = P(_, oe), ue = (o ? o(_) : null) || {};
@@ -42884,7 +42884,7 @@ const Jr = {}, R3 = "SELECT_ALL", V3 = "SELECT_INVERT", X3 = "SELECT_NONE", Fg =
42884
42884
  }, [B, P, o]), G = s1((U) => {
42885
42885
  var _;
42886
42886
  return !!(!((_ = R.get(P(U))) === null || _ === void 0) && _.disabled);
42887
- }, [R, P]), [F, W] = Lt(() => {
42887
+ }, [R, P]), [F, W] = Pt(() => {
42888
42888
  if (y)
42889
42889
  return [O || [], []];
42890
42890
  const {
@@ -42892,10 +42892,10 @@ const Jr = {}, R3 = "SELECT_ALL", V3 = "SELECT_INVERT", X3 = "SELECT_NONE", Fg =
42892
42892
  halfCheckedKeys: _
42893
42893
  } = Ho(O, !0, V, G);
42894
42894
  return [U || [], _];
42895
- }, [O, y, V, G]), J = Lt(() => {
42895
+ }, [O, y, V, G]), J = Pt(() => {
42896
42896
  const U = C === "radio" ? F.slice(0, 1) : F;
42897
42897
  return new Set(U);
42898
- }, [F, C]), ne = Lt(() => C === "radio" ? /* @__PURE__ */ new Set() : new Set(W), [W, C]);
42898
+ }, [F, C]), ne = Pt(() => C === "radio" ? /* @__PURE__ */ new Set() : new Set(W), [W, C]);
42899
42899
  u.useEffect(() => {
42900
42900
  t || D(Fg);
42901
42901
  }, [!!t]);
@@ -42913,7 +42913,7 @@ const Jr = {}, R3 = "SELECT_ALL", V3 = "SELECT_INVERT", X3 = "SELECT_NONE", Fg =
42913
42913
  s(x(U), _, ue, K);
42914
42914
  }
42915
42915
  $(oe, "single");
42916
- }, [s, x, $]), se = Lt(() => !p || b ? null : (p === !0 ? [R3, V3, X3] : p).map((_) => _ === R3 ? {
42916
+ }, [s, x, $]), se = Pt(() => !p || b ? null : (p === !0 ? [R3, V3, X3] : p).map((_) => _ === R3 ? {
42917
42917
  key: "all",
42918
42918
  text: E.selectionAll,
42919
42919
  onSelect() {
@@ -47147,7 +47147,7 @@ const U$ = cP((e, t) => {
47147
47147
  [`${U}-wrapper-rtl`]: F === "rtl"
47148
47148
  }, o, i, X), Ye = Object.assign(Object.assign({}, W == null ? void 0 : W.style), s), vt = typeof (I == null ? void 0 : I.emptyText) < "u" ? I.emptyText : (J == null ? void 0 : J("Table")) || /* @__PURE__ */ u.createElement(Pw, {
47149
47149
  componentName: "Table"
47150
- }), Mt = O ? $$ : U$, qt = {}, Jt = u.useMemo(() => {
47150
+ }), Lt = O ? $$ : U$, qt = {}, Jt = u.useMemo(() => {
47151
47151
  const {
47152
47152
  fontSize: qe,
47153
47153
  lineHeight: Ae,
@@ -47170,7 +47170,7 @@ const U$ = cP((e, t) => {
47170
47170
  style: Ye
47171
47171
  }, /* @__PURE__ */ u.createElement(Za, Object.assign({
47172
47172
  spinning: !1
47173
- }, We), yt, /* @__PURE__ */ u.createElement(Mt, Object.assign({}, qt, R, {
47173
+ }, We), yt, /* @__PURE__ */ u.createElement(Lt, Object.assign({}, qt, R, {
47174
47174
  ref: Ce,
47175
47175
  columns: B,
47176
47176
  direction: F,
@@ -50842,7 +50842,7 @@ const Y0 = tn(
50842
50842
  onChangeComplete: i,
50843
50843
  tooltip: s,
50844
50844
  marks: l
50845
- } = e, c = (g = t[0]) == null ? void 0 : g.step, { stepRanges: f } = Lt(() => {
50845
+ } = e, c = (g = t[0]) == null ? void 0 : g.step, { stepRanges: f } = Pt(() => {
50846
50846
  const y = [...t].sort(
50847
50847
  (M, L) => M.min - L.min
50848
50848
  );
@@ -50884,13 +50884,13 @@ const Y0 = tn(
50884
50884
  return w ? w.min + (y - w.calculatedMin) / c * w.step : y;
50885
50885
  },
50886
50886
  [f, n]
50887
- ), C = Lt(
50887
+ ), C = Pt(
50888
50888
  () => l && Object.entries(l).reduce((y, w) => (y[v(Number(w[0])).toString()] = w[1], y), {}),
50889
50889
  [l, v]
50890
- ), p = Lt(
50890
+ ), p = Pt(
50891
50891
  () => v(a),
50892
50892
  [a, v]
50893
- ), m = Lt(
50893
+ ), m = Pt(
50894
50894
  () => v(n),
50895
50895
  [n, v]
50896
50896
  );
@@ -66379,7 +66379,7 @@ const hdt = "_bubble_lxov0_1", bdt = "_content_lxov0_10", ydt = "_header_lxov0_1
66379
66379
  searchable: s,
66380
66380
  searchPlaceholder: l = ""
66381
66381
  }) => {
66382
- const [c, f] = it(""), v = Lt(() => s ? t.filter(
66382
+ const [c, f] = it(""), v = Pt(() => s ? t.filter(
66383
66383
  (d) => {
66384
66384
  var C;
66385
66385
  return ((C = d.searchValue) == null ? void 0 : C.toLowerCase().includes(c.toLowerCase())) ?? !1;
@@ -66457,7 +66457,7 @@ const hdt = "_bubble_lxov0_1", bdt = "_content_lxov0_10", ydt = "_header_lxov0_1
66457
66457
  menuItemsContainerStyle: v,
66458
66458
  hasMenuStyles: d = !0
66459
66459
  }) => {
66460
- const [C, p] = it(""), m = Lt(() => c ? t.filter(
66460
+ const [C, p] = it(""), m = Pt(() => c ? t.filter(
66461
66461
  (g) => {
66462
66462
  var b;
66463
66463
  return ((b = g.searchValue) == null ? void 0 : b.toLowerCase().includes(C.toLowerCase())) ?? !1;
@@ -68541,7 +68541,7 @@ const J9 = {
68541
68541
  }, Smt = ({
68542
68542
  sourceMessage: e
68543
68543
  }) => {
68544
- const { sender: t, text: n, onClick: r, hasMedia: a, mediaSrc: o, mediaType: i } = e, { iconName: s, mediaElement: l } = Lt(() => {
68544
+ const { sender: t, text: n, onClick: r, hasMedia: a, mediaSrc: o, mediaType: i } = e, { iconName: s, mediaElement: l } = Pt(() => {
68545
68545
  let c = "file", f = null;
68546
68546
  if (a)
68547
68547
  switch (i) {
@@ -68639,7 +68639,7 @@ const J9 = {
68639
68639
  ut(() => {
68640
68640
  M.current && x(M.current.clientHeight > 40);
68641
68641
  }, [M]);
68642
- const P = Lt(() => {
68642
+ const P = Pt(() => {
68643
68643
  let j = null;
68644
68644
  if (l && c)
68645
68645
  switch (f) {
@@ -68667,7 +68667,7 @@ const J9 = {
68667
68667
  break;
68668
68668
  }
68669
68669
  return j;
68670
- }, [l, c, f]), { iconName: S, iconColor: z } = Lt(() => {
68670
+ }, [l, c, f]), { iconName: S, iconColor: z } = Pt(() => {
68671
68671
  let j = "", H;
68672
68672
  switch (s) {
68673
68673
  case "sent":
@@ -68689,7 +68689,7 @@ const J9 = {
68689
68689
  break;
68690
68690
  }
68691
68691
  return j || (j = v === "SMS" ? "var(--neutral-400)" : "#9DB294"), { iconColor: j, iconName: H };
68692
- }, [s, v]), E = Lt(() => a ? ept(a) : "", [a]);
68692
+ }, [s, v]), E = Pt(() => a ? ept(a) : "", [a]);
68693
68693
  return /* @__PURE__ */ ye(
68694
68694
  "div",
68695
68695
  {
@@ -69417,7 +69417,7 @@ const bpt = (e) => {
69417
69417
  style: o,
69418
69418
  size: i = "small"
69419
69419
  }) => {
69420
- const s = Lt(() => e.map((l) => ({
69420
+ const s = Pt(() => e.map((l) => ({
69421
69421
  label: /* @__PURE__ */ ye(
69422
69422
  "div",
69423
69423
  {
@@ -69581,7 +69581,7 @@ const bpt = (e) => {
69581
69581
  },
69582
69582
  onEnter: v
69583
69583
  }) => {
69584
- const d = Ee(null), C = Ee(null), p = Lt(() => r.map((b) => ({
69584
+ const d = Ee(null), C = Ee(null), p = Pt(() => r.map((b) => ({
69585
69585
  ...b,
69586
69586
  children: /* @__PURE__ */ h("span", { children: rht(b.children, t) })
69587
69587
  })), [r, t]), m = s1(
@@ -69784,7 +69784,7 @@ const bpt = (e) => {
69784
69784
  unreadTitle: Dht,
69785
69785
  mainContent: Aht,
69786
69786
  noAvatar: Tht
69787
- }, Iht = (e) => Lt(() => {
69787
+ }, Iht = (e) => Pt(() => {
69788
69788
  const t = d9(e), n = (r) => typeof r == "string" ? r : Array.isArray(r) ? r.map((a) => n(a)).join("") : typeof r == "object" && r !== null && "props" in r ? n(r.props.children) : "";
69789
69789
  return n(t);
69790
69790
  }, [e]), ljt = ({
@@ -69802,7 +69802,7 @@ const bpt = (e) => {
69802
69802
  onClick: v,
69803
69803
  status: d
69804
69804
  }) => {
69805
- const C = Lt(() => {
69805
+ const C = Pt(() => {
69806
69806
  switch (a) {
69807
69807
  case "HIGH":
69808
69808
  return {
@@ -69823,7 +69823,7 @@ const bpt = (e) => {
69823
69823
  text: a
69824
69824
  };
69825
69825
  }
69826
- }, [a]), p = Lt(() => {
69826
+ }, [a]), p = Pt(() => {
69827
69827
  switch (d) {
69828
69828
  case "sent":
69829
69829
  return "check";
@@ -69956,7 +69956,7 @@ const bpt = (e) => {
69956
69956
  maxRows: b = 6,
69957
69957
  children: y
69958
69958
  }, w) => {
69959
- const M = Lt(() => !a || t.trim(), [a, t]), L = (E) => {
69959
+ const M = Pt(() => !a || t.trim(), [a, t]), L = (E) => {
69960
69960
  M && E.key === "Enter" && !E.shiftKey && (E.preventDefault(), r == null || r()), v == null || v(E);
69961
69961
  }, x = (E) => {
69962
69962
  E.stopPropagation(), r == null || r();
@@ -70046,7 +70046,7 @@ const bpt = (e) => {
70046
70046
  case "video":
70047
70047
  return "video-filled";
70048
70048
  case "audio":
70049
- return "audio";
70049
+ return "play-filled";
70050
70050
  case "archive":
70051
70051
  return "archive";
70052
70052
  case "unknown":
@@ -70060,7 +70060,7 @@ const bpt = (e) => {
70060
70060
  className: r = "",
70061
70061
  style: a,
70062
70062
  onClick: o,
70063
- preview: i,
70063
+ thumbnail: i,
70064
70064
  showFileName: s = !1,
70065
70065
  disabled: l = !1,
70066
70066
  onRemove: c,
@@ -70068,11 +70068,11 @@ const bpt = (e) => {
70068
70068
  loading: v = !1,
70069
70069
  plainView: d = !1
70070
70070
  }) => {
70071
- const C = Lt(() => fbt(e), [e]), p = Lt(() => e === "image", [e]), m = Lt(() => i && p, [i, p]), g = () => {
70071
+ const C = Pt(() => fbt(e), [e]), p = () => {
70072
70072
  !l && o && o();
70073
- }, b = (L) => {
70074
- L.stopPropagation(), !l && c && c();
70075
- }, y = Lt(
70073
+ }, m = (w) => {
70074
+ w.stopPropagation(), !l && c && c();
70075
+ }, g = Pt(
70076
70076
  () => ({
70077
70077
  small: 16,
70078
70078
  medium: 24,
@@ -70080,7 +70080,7 @@ const bpt = (e) => {
70080
70080
  xlarge: 48
70081
70081
  })[n],
70082
70082
  [n]
70083
- ), w = Lt(
70083
+ ), b = Pt(
70084
70084
  () => ({
70085
70085
  small: 32,
70086
70086
  medium: 48,
@@ -70088,19 +70088,19 @@ const bpt = (e) => {
70088
70088
  xlarge: 96
70089
70089
  })[n],
70090
70090
  [n]
70091
- ), M = m && !v ? /* @__PURE__ */ h(
70091
+ ), y = i && !v ? /* @__PURE__ */ h(
70092
70092
  s1e,
70093
70093
  {
70094
70094
  src: i,
70095
70095
  className: cr.previewImage,
70096
70096
  preview: !1,
70097
- width: w
70097
+ width: b
70098
70098
  }
70099
70099
  ) : /* @__PURE__ */ h(
70100
70100
  "div",
70101
70101
  {
70102
70102
  className: `${cr.thumbnail} ${cr[e] || ""}`,
70103
- style: { width: w, height: w },
70103
+ style: { width: b, height: b },
70104
70104
  children: v ? /* @__PURE__ */ h(
70105
70105
  $dt,
70106
70106
  {
@@ -70112,7 +70112,7 @@ const bpt = (e) => {
70112
70112
  It,
70113
70113
  {
70114
70114
  name: C,
70115
- size: y,
70115
+ size: g,
70116
70116
  className: cr.icon
70117
70117
  }
70118
70118
  )
@@ -70130,13 +70130,13 @@ const bpt = (e) => {
70130
70130
  `,
70131
70131
  title: t,
70132
70132
  style: a,
70133
- onClick: g,
70133
+ onClick: p,
70134
70134
  children: [
70135
70135
  c && /* @__PURE__ */ h(
70136
70136
  $n,
70137
70137
  {
70138
70138
  className: `${cr.removeButton} ${cr[f]}`,
70139
- onClick: b,
70139
+ onClick: m,
70140
70140
  disabled: l,
70141
70141
  type: "minimal",
70142
70142
  size: "xsmall",
@@ -70155,16 +70155,16 @@ const bpt = (e) => {
70155
70155
  border: "1px solid var(--slate-300)"
70156
70156
  },
70157
70157
  bodyStyles: {
70158
- padding: t ? "var(--scale-1) var(--scale-2) var(--scale-1) var(--scale-1)" : "var(--scale-1half)",
70158
+ padding: s && t ? "var(--scale-1) var(--scale-2) var(--scale-1) var(--scale-1)" : "var(--scale-1half)",
70159
70159
  marginTop: 0
70160
70160
  },
70161
70161
  className: cr.card,
70162
70162
  children: [
70163
- M,
70164
- t && /* @__PURE__ */ h("div", { className: cr.fileName, children: t })
70163
+ y,
70164
+ s && t && /* @__PURE__ */ h("div", { className: cr.fileName, children: t })
70165
70165
  ]
70166
70166
  }
70167
- ) : M
70167
+ ) : y
70168
70168
  ]
70169
70169
  }
70170
70170
  );
@@ -93580,7 +93580,7 @@ function Dxt() {
93580
93580
  }
93581
93581
  function uE() {
93582
93582
  var e = Ee({}), t = Ext();
93583
- return Lt(function() {
93583
+ return Pt(function() {
93584
93584
  var n = parseFloat("" + t);
93585
93585
  return !t || Number.isNaN(n) ? e.current : is.reduce(function(r, a) {
93586
93586
  return Txt(a, n) && (r[xn(a)] = !0), r;
@@ -94066,7 +94066,7 @@ function fPt() {
94066
94066
  dPt(), vPt(), CPt(), gPt(), mPt();
94067
94067
  }
94068
94068
  function dPt() {
94069
- var e = K8(), t = ME(), n = Fxt(), r = fa(), a = oo(), o = bE(), i = _xt(), s = ao(), l = Lt(function() {
94069
+ var e = K8(), t = ME(), n = Fxt(), r = fa(), a = oo(), o = bE(), i = _xt(), s = ao(), l = Pt(function() {
94070
94070
  return function(f) {
94071
94071
  var v = f.key;
94072
94072
  switch (i(), v) {
@@ -94089,7 +94089,7 @@ function dPt() {
94089
94089
  }, [e, r, n, l]);
94090
94090
  }
94091
94091
  function vPt() {
94092
- var e = tPt(), t = K8(), n = br(), r = fa(), a = q8(), o = a[1], i = SE(), s = wd(), l = Lt(function() {
94092
+ var e = tPt(), t = K8(), n = br(), r = fa(), a = q8(), o = a[1], i = SE(), s = wd(), l = Pt(function() {
94093
94093
  return function(f) {
94094
94094
  var v = f.key;
94095
94095
  switch (v) {
@@ -94116,7 +94116,7 @@ function vPt() {
94116
94116
  }, [t, r, l]);
94117
94117
  }
94118
94118
  function CPt() {
94119
- var e = hd(), t = oo(), n = fa(), r = SE(), a = q8(), o = a[0], i = a[1], s = PE(), l = wd(), c = Ld(), f = Lt(function() {
94119
+ var e = hd(), t = oo(), n = fa(), r = SE(), a = q8(), o = a[0], i = a[1], s = PE(), l = wd(), c = Ld(), f = Pt(function() {
94120
94120
  return (
94121
94121
  // eslint-disable-next-line complexity
94122
94122
  function(d) {
@@ -94168,7 +94168,7 @@ function CPt() {
94168
94168
  }, [e, n, o, f]);
94169
94169
  }
94170
94170
  function gPt() {
94171
- var e = oo(), t = bd(), n = br(), r = Ld(), a = Lt(function() {
94171
+ var e = oo(), t = bd(), n = br(), r = Ld(), a = Pt(function() {
94172
94172
  return function(i) {
94173
94173
  var s = i.key;
94174
94174
  switch (s) {
@@ -94199,7 +94199,7 @@ function gPt() {
94199
94199
  }, [t, n, a]);
94200
94200
  }
94201
94201
  function mPt() {
94202
- var e = br(), t = pPt(), n = xE(), r = bE(), a = ao(), o = Ld(), i = Lt(function() {
94202
+ var e = br(), t = pPt(), n = xE(), r = bE(), a = ao(), o = Ld(), i = Pt(function() {
94203
94203
  return (
94204
94204
  // eslint-disable-next-line complexity
94205
94205
  function(l) {
@@ -95151,7 +95151,7 @@ function _Pt() {
95151
95151
  }, []), t || f4;
95152
95152
  }
95153
95153
  function eSt(e) {
95154
- var t = e.categoryConfig, n = dE(), r = n[0], a = _Pt(), o = xxt(), i = xi(), s = Lt(
95154
+ var t = e.categoryConfig, n = dE(), r = n[0], a = _Pt(), o = xxt(), i = xi(), s = Pt(
95155
95155
  function() {
95156
95156
  var c;
95157
95157
  return (c = FE(o)) != null ? c : [];
@@ -96214,7 +96214,7 @@ const JSt = "_emojis_ykz7a_1", YSt = {
96214
96214
  setBracketsPopupOpen: s,
96215
96215
  onCustomFieldCreation: l
96216
96216
  }) => {
96217
- const c = Lt(() => {
96217
+ const c = Pt(() => {
96218
96218
  const f = {
96219
96219
  number: "number-symbol",
96220
96220
  Numbers: "number-symbol",
@@ -96290,7 +96290,7 @@ const JSt = "_emojis_ykz7a_1", YSt = {
96290
96290
  unsubscribeDropdownContent: a,
96291
96291
  handleInsertVariable: o
96292
96292
  }) => {
96293
- const i = Lt(() => {
96293
+ const i = Pt(() => {
96294
96294
  const s = (a == null ? void 0 : a.map((l) => ({
96295
96295
  iconName: l.type,
96296
96296
  children: l.name,
@@ -96773,7 +96773,7 @@ const JSt = "_emojis_ykz7a_1", YSt = {
96773
96773
  detailedSecondSet: y,
96774
96774
  openDetails: w
96775
96775
  }) => {
96776
- const [M, L] = it(16), [x, P] = it(null), S = Lt(
96776
+ const [M, L] = it(16), [x, P] = it(null), S = Pt(
96777
96777
  () => (m == null ? void 0 : m.map((H, I) => ({
96778
96778
  ...H,
96779
96779
  key: `${H.key ?? crypto.randomUUID()}-${I}`