skillgrid 0.0.45 → 0.0.47

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
@@ -70,26 +70,26 @@ function b3() {
70
70
  Y.unshift("Warning: " + M), Function.prototype.apply.call(console[a], console, Y);
71
71
  }
72
72
  }
73
- var b = !1, B = !1, x = !1, Z = !1, V = !1, j;
73
+ var b = !1, B = !1, x = !1, V = !1, y = !1, j;
74
74
  j = Symbol.for("react.module.reference");
75
75
  function O(a) {
76
- return !!(typeof a == "string" || typeof a == "function" || a === C || a === l || V || a === s || a === v || a === d || Z || a === h || b || B || x || typeof a == "object" && a !== null && (a.$$typeof === E || a.$$typeof === _ || a.$$typeof === c || a.$$typeof === g || a.$$typeof === L || // This needs to include all possible module reference object
76
+ return !!(typeof a == "string" || typeof a == "function" || a === C || a === l || y || a === s || a === v || a === d || V || a === h || b || B || x || typeof a == "object" && a !== null && (a.$$typeof === E || a.$$typeof === _ || a.$$typeof === c || a.$$typeof === g || a.$$typeof === L || // This needs to include all possible module reference object
77
77
  // types supported by any Flight configuration anywhere since
78
78
  // we don't know which Flight build this will end up being used
79
79
  // with.
80
80
  a.$$typeof === j || a.getModuleId !== void 0));
81
81
  }
82
- function D(a, M, S) {
82
+ function I(a, M, S) {
83
83
  var F = a.displayName;
84
84
  if (F)
85
85
  return F;
86
86
  var q = M.displayName || M.name || "";
87
87
  return q !== "" ? S + "(" + q + ")" : S;
88
88
  }
89
- function A(a) {
89
+ function T(a) {
90
90
  return a.displayName || "Context";
91
91
  }
92
- function y(a) {
92
+ function Z(a) {
93
93
  if (a == null)
94
94
  return null;
95
95
  if (typeof a.tag == "number" && u("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof a == "function")
@@ -114,19 +114,19 @@ function b3() {
114
114
  switch (a.$$typeof) {
115
115
  case g:
116
116
  var M = a;
117
- return A(M) + ".Consumer";
117
+ return T(M) + ".Consumer";
118
118
  case c:
119
119
  var S = a;
120
- return A(S._context) + ".Provider";
120
+ return T(S._context) + ".Provider";
121
121
  case L:
122
- return D(a, a.render, "ForwardRef");
122
+ return I(a, a.render, "ForwardRef");
123
123
  case _:
124
124
  var F = a.displayName || null;
125
- return F !== null ? F : y(a.type) || "Memo";
125
+ return F !== null ? F : Z(a.type) || "Memo";
126
126
  case E: {
127
127
  var q = a, Y = q._payload, G = q._init;
128
128
  try {
129
- return y(G(Y));
129
+ return Z(G(Y));
130
130
  } catch {
131
131
  return null;
132
132
  }
@@ -134,14 +134,14 @@ function b3() {
134
134
  }
135
135
  return null;
136
136
  }
137
- var R = Object.assign, I = 0, T, U, N, n1, K, X, W;
137
+ var R = Object.assign, D = 0, A, U, N, n1, K, X, W;
138
138
  function J() {
139
139
  }
140
140
  J.__reactDisabledLog = !0;
141
141
  function L1() {
142
142
  {
143
- if (I === 0) {
144
- T = console.log, U = console.info, N = console.warn, n1 = console.error, K = console.group, X = console.groupCollapsed, W = console.groupEnd;
143
+ if (D === 0) {
144
+ A = console.log, U = console.info, N = console.warn, n1 = console.error, K = console.group, X = console.groupCollapsed, W = console.groupEnd;
145
145
  var a = {
146
146
  configurable: !0,
147
147
  enumerable: !0,
@@ -158,12 +158,12 @@ function b3() {
158
158
  groupEnd: a
159
159
  });
160
160
  }
161
- I++;
161
+ D++;
162
162
  }
163
163
  }
164
164
  function p1() {
165
165
  {
166
- if (I--, I === 0) {
166
+ if (D--, D === 0) {
167
167
  var a = {
168
168
  configurable: !0,
169
169
  enumerable: !0,
@@ -171,7 +171,7 @@ function b3() {
171
171
  };
172
172
  Object.defineProperties(console, {
173
173
  log: R({}, a, {
174
- value: T
174
+ value: A
175
175
  }),
176
176
  info: R({}, a, {
177
177
  value: U
@@ -193,7 +193,7 @@ function b3() {
193
193
  })
194
194
  });
195
195
  }
196
- I < 0 && u("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
196
+ D < 0 && u("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
197
197
  }
198
198
  }
199
199
  var h1 = w.ReactCurrentDispatcher, O1;
@@ -483,7 +483,7 @@ function b3() {
483
483
  function G2() {
484
484
  {
485
485
  if (M2.current) {
486
- var a = y(M2.current.type);
486
+ var a = Z(M2.current.type);
487
487
  if (a)
488
488
  return `
489
489
 
@@ -518,7 +518,7 @@ Check the top-level render call using <` + S + ">.");
518
518
  return;
519
519
  q2[S] = !0;
520
520
  var F = "";
521
- a && a._owner && a._owner !== M2.current && (F = " It was passed a child from " + y(a._owner.type) + "."), X1(a), u('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', S, F), X1(null);
521
+ a && a._owner && a._owner !== M2.current && (F = " It was passed a child from " + Z(a._owner.type) + "."), X1(a), u('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', S, F), X1(null);
522
522
  }
523
523
  }
524
524
  function Y2(a, M) {
@@ -555,11 +555,11 @@ Check the top-level render call using <` + S + ">.");
555
555
  else
556
556
  return;
557
557
  if (S) {
558
- var F = y(M);
558
+ var F = Z(M);
559
559
  P9(S, a.props, "prop", F, a);
560
560
  } else if (M.PropTypes !== void 0 && !x2) {
561
561
  x2 = !0;
562
- var q = y(M);
562
+ var q = Z(M);
563
563
  u("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", q || "Unknown");
564
564
  }
565
565
  typeof M.getDefaultProps == "function" && !M.getDefaultProps.isReactClassApproved && u("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
@@ -587,7 +587,7 @@ Check the top-level render call using <` + S + ">.");
587
587
  var w1 = e3();
588
588
  w1 ? $ += w1 : $ += G2();
589
589
  var C1;
590
- a === null ? C1 = "null" : k2(a) ? C1 = "array" : a !== void 0 && a.$$typeof === o ? (C1 = "<" + (y(a.type) || "Unknown") + " />", $ = " Did you accidentally export a JSX literal instead of a component?") : C1 = typeof a, u("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", C1, $);
590
+ a === null ? C1 = "null" : k2(a) ? C1 = "array" : a !== void 0 && a.$$typeof === o ? (C1 = "<" + (Z(a.type) || "Unknown") + " />", $ = " Did you accidentally export a JSX literal instead of a component?") : C1 = typeof a, u("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", C1, $);
591
591
  }
592
592
  var a1 = Q9(a, M, S, q, Y);
593
593
  if (a1 == null)
@@ -606,7 +606,7 @@ Check the top-level render call using <` + S + ">.");
606
606
  Y2(Z1, a);
607
607
  }
608
608
  if (l1.call(M, "key")) {
609
- var z1 = y(a), f1 = Object.keys(M).filter(function(s3) {
609
+ var z1 = Z(a), f1 = Object.keys(M).filter(function(s3) {
610
610
  return s3 !== "key";
611
611
  }), b2 = f1.length > 0 ? "{key: someKey, " + f1.join(": ..., ") + ": ...}" : "{key: someKey}";
612
612
  if (!K2[z1 + b2]) {
@@ -948,7 +948,7 @@ const k1 = /* @__PURE__ */ x3(O4), b9 = o1(
948
948
  stretched: _,
949
949
  iconLeft: E,
950
950
  loading: h
951
- } = t, p = i === "tertiary", f = p && "paddings" in t ? t.paddings ?? !0 : !0, m = !!("loading" in t && h), w = !l && !m, u = !!(!g && E && !d), k = typeof _ == "object" ? _.justify === "space-between" : void 0, b = I4(C), B = s1[b], x = f4(l, i, s), Z = l || m ? -1 : L, V = H(
951
+ } = t, p = i === "tertiary", f = p && "paddings" in t ? t.paddings ?? !0 : !0, m = !!("loading" in t && h), w = !l && !m, u = !!(!g && E && !d), k = typeof _ == "object" ? _.justify === "space-between" : void 0, b = I4(C), B = s1[b], x = f4(l, i, s), V = l || m ? -1 : L, y = H(
952
952
  P.button,
953
953
  P[C],
954
954
  P[i],
@@ -972,24 +972,24 @@ const k1 = /* @__PURE__ */ x3(O4), b9 = o1(
972
972
  size: C
973
973
  };
974
974
  if (V3(t)) {
975
- const { href: O, onClick: D, style: A, target: y, rel: R, "data-testid": I, ...T } = t, U = f2(T), N = y ?? (t.isExternal ? "_blank" : void 0), n1 = Z9({ rel: R, target: N }), K = (X) => {
975
+ const { href: O, onClick: I, style: T, target: Z, rel: R, "data-testid": D, ...A } = t, U = f2(A), N = Z ?? (t.isExternal ? "_blank" : void 0), n1 = Z9({ rel: R, target: N }), K = (X) => {
976
976
  if (!w) {
977
977
  X.preventDefault();
978
978
  return;
979
979
  }
980
- D == null || D(X);
980
+ I == null || I(X);
981
981
  };
982
982
  return /* @__PURE__ */ r.jsx(
983
983
  "a",
984
984
  {
985
985
  ref: o,
986
- className: V,
986
+ className: y,
987
987
  href: w ? O : void 0,
988
- tabIndex: Z,
988
+ tabIndex: V,
989
989
  onClick: K,
990
- "data-testid": I,
990
+ "data-testid": D,
991
991
  "aria-disabled": l || m,
992
- style: A,
992
+ style: T,
993
993
  target: N,
994
994
  rel: n1,
995
995
  ...U,
@@ -998,22 +998,22 @@ const k1 = /* @__PURE__ */ x3(O4), b9 = o1(
998
998
  );
999
999
  }
1000
1000
  if (y3(t)) {
1001
- const { type: O = "button", onClick: D, style: A, "data-testid": y, ...R } = t, I = f2(R), T = C === "l" ? 24 : 16, U = (N) => {
1002
- w && D && D(N);
1001
+ const { type: O = "button", onClick: I, style: T, "data-testid": Z, ...R } = t, D = f2(R), A = C === "l" ? 24 : 16, U = (N) => {
1002
+ w && I && I(N);
1003
1003
  };
1004
1004
  return /* @__PURE__ */ r.jsxs(
1005
1005
  "button",
1006
1006
  {
1007
1007
  ref: o,
1008
1008
  type: O,
1009
- className: V,
1009
+ className: y,
1010
1010
  disabled: l,
1011
- tabIndex: Z,
1011
+ tabIndex: V,
1012
1012
  onClick: U,
1013
- "data-testid": y,
1013
+ "data-testid": Z,
1014
1014
  "aria-disabled": l || m,
1015
- style: A,
1016
- ...I,
1015
+ style: T,
1016
+ ...D,
1017
1017
  children: [
1018
1018
  /* @__PURE__ */ r.jsx("div", { className: H(P.content, { [P.contentHidden]: m }), children: /* @__PURE__ */ r.jsx(o9, { ...j }) }),
1019
1019
  m && /* @__PURE__ */ r.jsx("div", { className: P.loaderWrapper, children: /* @__PURE__ */ r.jsx(
@@ -1022,7 +1022,7 @@ const k1 = /* @__PURE__ */ x3(O4), b9 = o1(
1022
1022
  variant: x,
1023
1023
  "aria-hidden": "true",
1024
1024
  "data-testid": "button-loader",
1025
- size: T
1025
+ size: A
1026
1026
  }
1027
1027
  ) })
1028
1028
  ]
@@ -1094,7 +1094,7 @@ const i9 = ({
1094
1094
  showLinkIcons: E
1095
1095
  };
1096
1096
  if (t.as === "a") {
1097
- const { href: y, onClick: R, style: I, target: T, rel: U, "data-testid": N, isExternal: n1, ...K } = t, X = f2(K), W = T ?? (n1 ? "_blank" : void 0), J = Z9({ rel: U, target: W }), L1 = (p1) => {
1097
+ const { href: Z, onClick: R, style: D, target: A, rel: U, "data-testid": N, isExternal: n1, ...K } = t, X = f2(K), W = A ?? (n1 ? "_blank" : void 0), J = Z9({ rel: U, target: W }), L1 = (p1) => {
1098
1098
  if (!f) {
1099
1099
  p1.preventDefault();
1100
1100
  return;
@@ -1106,12 +1106,12 @@ const i9 = ({
1106
1106
  {
1107
1107
  ref: o,
1108
1108
  className: b,
1109
- href: f ? y : void 0,
1109
+ href: f ? Z : void 0,
1110
1110
  tabIndex: k,
1111
1111
  onClick: L1,
1112
1112
  "data-testid": N,
1113
1113
  "aria-disabled": l,
1114
- style: I,
1114
+ style: D,
1115
1115
  target: W,
1116
1116
  rel: J,
1117
1117
  ...X,
@@ -1119,8 +1119,8 @@ const i9 = ({
1119
1119
  }
1120
1120
  );
1121
1121
  }
1122
- const { type: x = "button", onClick: Z, style: V, "data-testid": j, ...O } = t, D = f2(O), A = (y) => {
1123
- f && Z && Z(y);
1122
+ const { type: x = "button", onClick: V, style: y, "data-testid": j, ...O } = t, I = f2(O), T = (Z) => {
1123
+ f && V && V(Z);
1124
1124
  };
1125
1125
  return /* @__PURE__ */ r.jsx(
1126
1126
  "button",
@@ -1130,11 +1130,11 @@ const i9 = ({
1130
1130
  className: b,
1131
1131
  disabled: l,
1132
1132
  tabIndex: k,
1133
- onClick: A,
1133
+ onClick: T,
1134
1134
  "data-testid": j,
1135
1135
  "aria-disabled": l,
1136
- style: V,
1137
- ...D,
1136
+ style: y,
1137
+ ...I,
1138
1138
  children: /* @__PURE__ */ r.jsx(i9, { ...B })
1139
1139
  }
1140
1140
  );
@@ -1249,11 +1249,11 @@ const r6 = "data:image/svg+xml,%3csvg%20opacity='0.9'%20preserveAspectRatio='xMi
1249
1249
  className: f,
1250
1250
  "data-testid": m,
1251
1251
  ...w
1252
- } = t, { onClick: u, onPointerDown: k } = w, B = !l && !s && (!!u || !!k), [x, Z] = d1(!1);
1252
+ } = t, { onClick: u, onPointerDown: k } = w, B = !l && !s && (!!u || !!k), [x, V] = d1(!1);
1253
1253
  Q(() => {
1254
- d && Z(!1);
1254
+ d && V(!1);
1255
1255
  }, [d]);
1256
- const V = d && !x ? "image" : E ? "icon" : v ? "name" : "placeholder", j = p || V === "name" && K4(v) || "gray", O = n6(C), D = e6(C, c), A = H(
1256
+ const y = d && !x ? "image" : E ? "icon" : v ? "name" : "placeholder", j = p || y === "name" && K4(v) || "gray", O = n6(C), I = e6(C, c), T = H(
1257
1257
  f,
1258
1258
  W1.avatar,
1259
1259
  W1[`variant-${g}`],
@@ -1264,9 +1264,9 @@ const r6 = "data:image/svg+xml,%3csvg%20opacity='0.9'%20preserveAspectRatio='xMi
1264
1264
  [W1.loading]: s,
1265
1265
  [W1.clickable]: B
1266
1266
  }
1267
- ), y = {
1267
+ ), Z = {
1268
1268
  "--avatar-size": `${C}px`,
1269
- "--avatar-border-radius": `${D}px`,
1269
+ "--avatar-border-radius": `${I}px`,
1270
1270
  ...i
1271
1271
  }, R = {
1272
1272
  icon: () => /* @__PURE__ */ r.jsx("span", { "data-testid": "avatar-icon", title: _ || void 0, role: "img", className: W1.icon, children: E == null ? void 0 : E({}) }),
@@ -1298,26 +1298,26 @@ const r6 = "data:image/svg+xml,%3csvg%20opacity='0.9'%20preserveAspectRatio='xMi
1298
1298
  className: W1.image,
1299
1299
  src: d || void 0,
1300
1300
  alt: _ || void 0,
1301
- onLoad: () => Z(!1),
1302
- onError: (T) => {
1301
+ onLoad: () => V(!1),
1302
+ onError: (A) => {
1303
1303
  var U;
1304
- Z(!0), (U = h == null ? void 0 : h.onError) == null || U.call(h, T);
1304
+ V(!0), (U = h == null ? void 0 : h.onError) == null || U.call(h, A);
1305
1305
  }
1306
1306
  }
1307
1307
  )
1308
- }, I = (T) => {
1309
- B && (u == null || u(T));
1308
+ }, D = (A) => {
1309
+ B && (u == null || u(A));
1310
1310
  };
1311
1311
  return /* @__PURE__ */ r.jsx(
1312
1312
  "div",
1313
1313
  {
1314
1314
  ref: o,
1315
- onClick: I,
1316
- className: A,
1317
- style: y,
1315
+ onClick: D,
1316
+ className: T,
1317
+ style: Z,
1318
1318
  "data-testid": m,
1319
1319
  "aria-disabled": l || s,
1320
- children: R[V](null)
1320
+ children: R[y](null)
1321
1321
  }
1322
1322
  );
1323
1323
  }), a6 = "_avatarGroup_157g4_1", s6 = {
@@ -1548,34 +1548,34 @@ function x6({
1548
1548
  ), u = x1(
1549
1549
  (x) => {
1550
1550
  if (!d.current.dragging || !m) return;
1551
- const Z = x.clientX - d.current.startX, V = x.clientY - d.current.startY;
1551
+ const V = x.clientX - d.current.startX, y = x.clientY - d.current.startY;
1552
1552
  let j;
1553
1553
  switch (h) {
1554
1554
  case "bottom":
1555
- j = Math.max(0, V);
1555
+ j = Math.max(0, y);
1556
1556
  break;
1557
1557
  case "top":
1558
- j = Math.max(0, -V);
1558
+ j = Math.max(0, -y);
1559
1559
  break;
1560
1560
  case "right":
1561
- j = Math.max(0, Z);
1561
+ j = Math.max(0, V);
1562
1562
  break;
1563
1563
  case "left":
1564
- j = Math.max(0, -Z);
1564
+ j = Math.max(0, -V);
1565
1565
  break;
1566
1566
  default:
1567
- j = f ? V : Z;
1567
+ j = f ? y : V;
1568
1568
  }
1569
1569
  E(j);
1570
1570
  },
1571
1571
  [m, h, f]
1572
1572
  ), k = x1(
1573
1573
  (x) => {
1574
- var Z, V;
1574
+ var V, y;
1575
1575
  if (!(!d.current.dragging || !m)) {
1576
1576
  d.current.dragging = !1;
1577
1577
  try {
1578
- (V = (Z = x.currentTarget).hasPointerCapture) != null && V.call(Z, x.pointerId) && x.currentTarget.releasePointerCapture(x.pointerId);
1578
+ (y = (V = x.currentTarget).hasPointerCapture) != null && y.call(V, x.pointerId) && x.currentTarget.releasePointerCapture(x.pointerId);
1579
1579
  } catch {
1580
1580
  }
1581
1581
  _ >= p ? o(!1) : E(0);
@@ -1587,8 +1587,8 @@ function x6({
1587
1587
  if (d.current.dragging) {
1588
1588
  const x = { ...c, transitionProperty: "none" };
1589
1589
  if (_ > 0) {
1590
- const Z = h === "left" || h === "top" ? -_ : _;
1591
- x.transform = f ? `translateY(${Z}px)` : `translateX(${Z}px)`;
1590
+ const V = h === "left" || h === "top" ? -_ : _;
1591
+ x.transform = f ? `translateY(${V}px)` : `translateX(${V}px)`;
1592
1592
  }
1593
1593
  return x;
1594
1594
  }
@@ -1875,7 +1875,7 @@ const S9 = o1((t, o) => {
1875
1875
  headerTemplate: u,
1876
1876
  "data-testid": k,
1877
1877
  ...b
1878
- } = t, B = l === "bottom-sheet" ? "actions-title-actions" : "title-actions-actions", x = l === "bottom-sheet" ? { direction: "bottom", threshold: 80 } : t == null ? void 0 : t.closeOnDrag, Z = () => C(!1), V = !!(d || _ || L.show || v.show || c.length || g.length), j = d ? `${k || "modal"}-title` : void 0, O = _ ? `${k || "modal"}-subtitle` : void 0;
1878
+ } = t, B = l === "bottom-sheet" ? "actions-title-actions" : "title-actions-actions", x = l === "bottom-sheet" ? { direction: "bottom", threshold: 80 } : t == null ? void 0 : t.closeOnDrag, V = () => C(!1), y = !!(d || _ || L.show || v.show || c.length || g.length), j = d ? `${k || "modal"}-title` : void 0, O = _ ? `${k || "modal"}-subtitle` : void 0;
1879
1879
  return /* @__PURE__ */ r.jsx(
1880
1880
  S9,
1881
1881
  {
@@ -1894,7 +1894,7 @@ const S9 = o1((t, o) => {
1894
1894
  style: { width: s, ...w == null ? void 0 : w.container },
1895
1895
  "data-testid": k ? `${k}-container` : void 0,
1896
1896
  children: [
1897
- V && /* @__PURE__ */ r.jsxs(
1897
+ y && /* @__PURE__ */ r.jsxs(
1898
1898
  "div",
1899
1899
  {
1900
1900
  "data-testid": k ? `${k}-header` : void 0,
@@ -1919,7 +1919,7 @@ const S9 = o1((t, o) => {
1919
1919
  props: {
1920
1920
  iconLeft: /* @__PURE__ */ r.jsx(q6, {}),
1921
1921
  "aria-label": "Back",
1922
- onClick: Z,
1922
+ onClick: V,
1923
1923
  ...v == null ? void 0 : v.props
1924
1924
  }
1925
1925
  }
@@ -1943,7 +1943,7 @@ const S9 = o1((t, o) => {
1943
1943
  props: {
1944
1944
  iconLeft: /* @__PURE__ */ r.jsx(G6, {}),
1945
1945
  "aria-label": "Close modal",
1946
- onClick: Z,
1946
+ onClick: V,
1947
1947
  ...L == null ? void 0 : L.props
1948
1948
  }
1949
1949
  }
@@ -2249,7 +2249,7 @@ const h7 = (t) => {
2249
2249
  className: h,
2250
2250
  "data-testid": p = "badge",
2251
2251
  ...f
2252
- } = t, { onClick: m, onPointerDown: w } = f, { ref: u, bgColor: k } = T2(), b = _ || k, x = !E && (!!m || !!w), Z = k1(F1.badge__container, F1[`position-${v}`]), V = k1(
2252
+ } = t, { onClick: m, onPointerDown: w } = f, { ref: u, bgColor: k } = T2(), b = _ || k, x = !E && (!!m || !!w), V = k1(F1.badge__container, F1[`position-${v}`]), y = k1(
2253
2253
  h,
2254
2254
  F1.badge__content,
2255
2255
  F1[`color-${g}`],
@@ -2265,23 +2265,23 @@ const h7 = (t) => {
2265
2265
  "--badge-offset-y": `${d.y}px`,
2266
2266
  ...b && { "--badge-cutout-bg": b },
2267
2267
  ...s === "transparent" && { "--badge-cutout-bg": "transparent" }
2268
- }, O = (i == null ? void 0 : i({})) || l, D = (A) => {
2269
- x && (m == null || m(A));
2268
+ }, O = (i == null ? void 0 : i({})) || l, I = (T) => {
2269
+ x && (m == null || m(T));
2270
2270
  };
2271
2271
  return /* @__PURE__ */ r.jsxs("div", { className: F1.wrapper, ref: u, "data-testid": p + "-wrapper", children: [
2272
2272
  C,
2273
2273
  !c && /* @__PURE__ */ r.jsx(
2274
2274
  "span",
2275
2275
  {
2276
- className: Z,
2276
+ className: V,
2277
2277
  style: j,
2278
2278
  "data-testid": p + "-container",
2279
2279
  children: /* @__PURE__ */ r.jsx(
2280
2280
  "span",
2281
2281
  {
2282
2282
  ...f,
2283
- onClick: D,
2284
- className: V,
2283
+ onClick: I,
2284
+ className: y,
2285
2285
  "data-testid": p + "-content",
2286
2286
  ref: o,
2287
2287
  "aria-disabled": E,
@@ -2345,12 +2345,12 @@ const h7 = (t) => {
2345
2345
  m("loaded"), _ == null || _(j);
2346
2346
  },
2347
2347
  [_]
2348
- ), Z = x1(
2348
+ ), V = x1(
2349
2349
  (j) => {
2350
2350
  m("error"), d == null || d(j);
2351
2351
  },
2352
2352
  [d]
2353
- ), V = {
2353
+ ), y = {
2354
2354
  loader: /* @__PURE__ */ r.jsxs(q1, { children: [
2355
2355
  /* @__PURE__ */ r.jsx(E2, { size: 48, variant: "gray", "data-testid": `${v}-loader` }),
2356
2356
  /* @__PURE__ */ r.jsx(
@@ -2359,7 +2359,7 @@ const h7 = (t) => {
2359
2359
  alt: i,
2360
2360
  src: s,
2361
2361
  onLoad: x,
2362
- onError: Z,
2362
+ onError: V,
2363
2363
  style: { display: "none" }
2364
2364
  }
2365
2365
  )
@@ -2392,9 +2392,9 @@ const h7 = (t) => {
2392
2392
  style: c,
2393
2393
  ...p,
2394
2394
  children: [
2395
- u && V.loader,
2396
- w && V.error,
2397
- k && V.image
2395
+ u && y.loader,
2396
+ w && y.error,
2397
+ k && y.image
2398
2398
  ]
2399
2399
  }
2400
2400
  );
@@ -2584,16 +2584,16 @@ const h7 = (t) => {
2584
2584
  styles: b,
2585
2585
  tabIndex: B,
2586
2586
  "aria-label": x,
2587
- role: Z
2587
+ role: V
2588
2588
  }) => {
2589
- const [V, j] = d1(!1), O = P1.isValidElement(h), D = t2(() => p ? "disabled" : f ? "loading" : O && V ? "checked" : "default", [p, f, O, V]), A = t === "button" || !!m, y = b && "boxShadow" in b && b.boxShadow !== void 0, R = k1(
2589
+ const [y, j] = d1(!1), O = P1.isValidElement(h), I = t2(() => p ? "disabled" : f ? "loading" : O && y ? "checked" : "default", [p, f, O, y]), T = t === "button" || !!m, Z = b && "boxShadow" in b && b.boxShadow !== void 0, R = k1(
2590
2590
  r1.wrapper,
2591
2591
  // Состояния
2592
2592
  {
2593
2593
  [r1.disabled]: p,
2594
2594
  [r1.loading]: f,
2595
- [r1.interactive]: A && !p && !f,
2596
- [r1.interactiveWithCustomShadow]: A && !p && !f && y,
2595
+ [r1.interactive]: T && !p && !f,
2596
+ [r1.interactiveWithCustomShadow]: T && !p && !f && Z,
2597
2597
  [r1.checked]: h
2598
2598
  },
2599
2599
  // Стили иконки
@@ -2633,7 +2633,7 @@ const h7 = (t) => {
2633
2633
  [r1.shadowIncreasesWhenPressed]: L === "increases-when-pressed"
2634
2634
  },
2635
2635
  k
2636
- ), I = k1(r1.iconWrapper, r1[`iconSize${o}`]), T = t2(() => {
2636
+ ), D = k1(r1.iconWrapper, r1[`iconSize${o}`]), A = t2(() => {
2637
2637
  const e1 = { ...b };
2638
2638
  return c !== !1 && typeof c == "number" && (e1.padding = `${c}px`), typeof _ == "number" && _ !== 50 && (e1.borderRadius = `${_}px`), e1;
2639
2639
  }, [b, _, c]), U = (e1) => {
@@ -2647,16 +2647,16 @@ const h7 = (t) => {
2647
2647
  }, X = E ? E.show && !p : !1;
2648
2648
  return {
2649
2649
  // Состояние
2650
- checkedActive: V,
2650
+ checkedActive: y,
2651
2651
  isCheckedNode: O,
2652
- currentState: D,
2653
- isInteractive: A,
2654
- shouldHideIcon: !!x && A,
2652
+ currentState: I,
2653
+ isInteractive: T,
2654
+ shouldHideIcon: !!x && T,
2655
2655
  // Классы
2656
2656
  wrapperClasses: R,
2657
- iconWrapperClasses: I,
2657
+ iconWrapperClasses: D,
2658
2658
  // Стили
2659
- inlineStyles: T,
2659
+ inlineStyles: A,
2660
2660
  // Обработчики
2661
2661
  handleMouseEnter: U,
2662
2662
  handleMouseLeave: N,
@@ -2667,7 +2667,7 @@ const h7 = (t) => {
2667
2667
  getBadgeSize: () => E && E.size === "extra-small" ? 8 : 16,
2668
2668
  // Accessibility
2669
2669
  getRole: () => {
2670
- if (Z) return Z;
2670
+ if (V) return V;
2671
2671
  if (t !== "button")
2672
2672
  return m ? "button" : "img";
2673
2673
  },
@@ -2709,15 +2709,15 @@ const h7 = (t) => {
2709
2709
  className: b,
2710
2710
  styles: B,
2711
2711
  tabIndex: x,
2712
- "data-testid": Z,
2713
- "aria-label": V,
2712
+ "data-testid": V,
2713
+ "aria-label": y,
2714
2714
  "aria-describedby": j,
2715
2715
  role: O,
2716
- ...D
2717
- }, A) => {
2718
- const y = t || (w ? "button" : "div"), R = c6("icon"), {
2719
- checkedActive: I,
2720
- isCheckedNode: T,
2716
+ ...I
2717
+ }, T) => {
2718
+ const Z = t || (w ? "button" : "div"), R = c6("icon"), {
2719
+ checkedActive: D,
2720
+ isCheckedNode: A,
2721
2721
  currentState: U,
2722
2722
  shouldHideIcon: N,
2723
2723
  wrapperClasses: n1,
@@ -2735,7 +2735,7 @@ const h7 = (t) => {
2735
2735
  buttonSpecificProps: n2,
2736
2736
  iconSize: $1
2737
2737
  } = I0({
2738
- Component: y,
2738
+ Component: Z,
2739
2739
  iconSize: i,
2740
2740
  mode: C,
2741
2741
  style: s,
@@ -2757,7 +2757,7 @@ const h7 = (t) => {
2757
2757
  className: b,
2758
2758
  styles: B,
2759
2759
  tabIndex: x,
2760
- "aria-label": V,
2760
+ "aria-label": y,
2761
2761
  role: O
2762
2762
  }), r2 = () => {
2763
2763
  var u1;
@@ -2769,7 +2769,7 @@ const h7 = (t) => {
2769
2769
  size: N1,
2770
2770
  "aria-hidden": N ? !0 : void 0,
2771
2771
  role: N ? void 0 : "img",
2772
- "aria-label": N ? void 0 : V || R("loading")
2772
+ "aria-label": N ? void 0 : y || R("loading")
2773
2773
  }
2774
2774
  );
2775
2775
  }
@@ -2791,32 +2791,32 @@ const h7 = (t) => {
2791
2791
  fill: "currentColor",
2792
2792
  "aria-hidden": N ? !0 : void 0,
2793
2793
  role: N ? void 0 : "img",
2794
- "aria-label": N ? void 0 : V || R("placeholder"),
2794
+ "aria-label": N ? void 0 : y || R("placeholder"),
2795
2795
  children: /* @__PURE__ */ r.jsx("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z" })
2796
2796
  }
2797
2797
  ) });
2798
- }, o2 = () => T && I ? /* @__PURE__ */ r.jsx("span", { className: w2.checkedOverlay, children: p }) : null, i1 = /* @__PURE__ */ r.jsxs("div", { className: K, style: { position: "relative" }, children: [
2798
+ }, o2 = () => A && D ? /* @__PURE__ */ r.jsx("span", { className: w2.checkedOverlay, children: p }) : null, i1 = /* @__PURE__ */ r.jsxs("div", { className: K, style: { position: "relative" }, children: [
2799
2799
  r2(),
2800
2800
  o2()
2801
2801
  ] }), l1 = {
2802
- ref: A,
2802
+ ref: T,
2803
2803
  className: n1,
2804
2804
  style: X,
2805
2805
  onMouseEnter: W,
2806
2806
  onMouseLeave: J,
2807
2807
  onClick: L1,
2808
2808
  onKeyDown: b1 ? p1 : void 0,
2809
- "data-testid": Z,
2810
- "aria-label": V,
2809
+ "data-testid": V,
2810
+ "aria-label": y,
2811
2811
  "aria-describedby": j,
2812
2812
  // Используем aria-pressed для кнопок с состоянием toggle
2813
- "aria-pressed": T && (y === "button" || w) ? I : void 0,
2813
+ "aria-pressed": A && (Z === "button" || w) ? D : void 0,
2814
2814
  "aria-disabled": f ? !0 : void 0,
2815
2815
  "data-state": U,
2816
2816
  role: R1(),
2817
2817
  tabIndex: e1(),
2818
2818
  ...n2,
2819
- ...D
2819
+ ...I
2820
2820
  };
2821
2821
  if (h1 && L !== !1)
2822
2822
  return /* @__PURE__ */ r.jsx(
@@ -2826,8 +2826,8 @@ const h7 = (t) => {
2826
2826
  size: O1(),
2827
2827
  colorScheme: "red",
2828
2828
  position: "top-right",
2829
- "data-testid": `${Z || "icon"}-badge`,
2830
- children: /* @__PURE__ */ r.jsx(y, { ...l1, children: i1 })
2829
+ "data-testid": `${V || "icon"}-badge`,
2830
+ children: /* @__PURE__ */ r.jsx(Z, { ...l1, children: i1 })
2831
2831
  }
2832
2832
  );
2833
2833
  if (h1 && L === !1) {
@@ -2838,13 +2838,13 @@ const h7 = (t) => {
2838
2838
  size: O1(),
2839
2839
  colorScheme: "red",
2840
2840
  position: "top-right",
2841
- "data-testid": `${Z || "icon"}-badge`,
2841
+ "data-testid": `${V || "icon"}-badge`,
2842
2842
  children: i1
2843
2843
  }
2844
2844
  );
2845
- return /* @__PURE__ */ r.jsx(y, { ...l1, children: u1 });
2845
+ return /* @__PURE__ */ r.jsx(Z, { ...l1, children: u1 });
2846
2846
  }
2847
- return /* @__PURE__ */ r.jsx(y, { ...l1, children: i1 });
2847
+ return /* @__PURE__ */ r.jsx(Z, { ...l1, children: i1 });
2848
2848
  }
2849
2849
  );
2850
2850
  j9.displayName = "Icon";
@@ -3452,22 +3452,22 @@ const bd = {}, xl = "_tag_1llsi_1", Hl = "_label_1llsi_16", bl = "_iconWrapper_1
3452
3452
  onChange: m,
3453
3453
  onClick: w,
3454
3454
  "data-testid": u = "checkbox"
3455
- } = t, [k, b] = d1(!1), B = C ?? k, x = L || c, Z = !!g, V = B || l, j = H(T1.container, T1[s], v), O = H(
3455
+ } = t, [k, b] = d1(!1), B = C ?? k, x = L || c, V = !!g, y = B || l, j = H(T1.container, T1[s], v), O = H(
3456
3456
  T1.checkbox,
3457
3457
  T1[s],
3458
3458
  {
3459
- [T1.error]: Z
3459
+ [T1.error]: V
3460
3460
  },
3461
3461
  d
3462
- ), D = (R) => {
3462
+ ), I = (R) => {
3463
3463
  x || (b(R.target.checked), m == null || m(R.target.checked, R));
3464
- }, A = (R) => {
3464
+ }, T = (R) => {
3465
3465
  if (R.key === "Enter" && !x) {
3466
3466
  R.preventDefault();
3467
- const I = !V;
3468
- b(I), m == null || m(I);
3467
+ const D = !y;
3468
+ b(D), m == null || m(D);
3469
3469
  }
3470
- }, y = (R) => {
3470
+ }, Z = (R) => {
3471
3471
  p || R.preventDefault(), w == null || w(R);
3472
3472
  };
3473
3473
  return /* @__PURE__ */ r.jsxs(
@@ -3485,10 +3485,10 @@ const bd = {}, xl = "_tag_1llsi_1", Hl = "_label_1llsi_16", bl = "_iconWrapper_1
3485
3485
  tabIndex: f || 0,
3486
3486
  className: O,
3487
3487
  style: E,
3488
- onKeyDown: A,
3489
- "aria-checked": V,
3488
+ onKeyDown: T,
3489
+ "aria-checked": y,
3490
3490
  "aria-disabled": x,
3491
- "aria-invalid": Z,
3491
+ "aria-invalid": V,
3492
3492
  "aria-describedby": g ? `${i}-error` : void 0,
3493
3493
  "data-testid": `${u}-label`,
3494
3494
  children: [
@@ -3499,12 +3499,12 @@ const bd = {}, xl = "_tag_1llsi_1", Hl = "_label_1llsi_16", bl = "_iconWrapper_1
3499
3499
  type: "checkbox",
3500
3500
  id: i,
3501
3501
  name: i,
3502
- checked: V,
3502
+ checked: y,
3503
3503
  disabled: x,
3504
3504
  className: T1.input,
3505
- onChange: D,
3506
- "aria-checked": V,
3507
- "aria-invalid": Z,
3505
+ onChange: I,
3506
+ "aria-checked": y,
3507
+ "aria-invalid": V,
3508
3508
  "aria-describedby": g ? `${i}-error` : void 0,
3509
3509
  "data-testid": `${u}-input`
3510
3510
  }
@@ -3514,7 +3514,7 @@ const bd = {}, xl = "_tag_1llsi_1", Hl = "_label_1llsi_16", bl = "_iconWrapper_1
3514
3514
  {
3515
3515
  name: i,
3516
3516
  size: s,
3517
- isChecked: V,
3517
+ isChecked: y,
3518
3518
  isDisabled: x,
3519
3519
  indeterminate: l,
3520
3520
  dataTestId: u
@@ -3529,7 +3529,7 @@ const bd = {}, xl = "_tag_1llsi_1", Hl = "_label_1llsi_16", bl = "_iconWrapper_1
3529
3529
  "data-testid": `${u}-label-text`,
3530
3530
  "data-clickable-label": p,
3531
3531
  className: T1.label,
3532
- onClick: y,
3532
+ onClick: Z,
3533
3533
  children: h
3534
3534
  }
3535
3535
  )
@@ -3716,8 +3716,8 @@ const bd = {}, xl = "_tag_1llsi_1", Hl = "_label_1llsi_16", bl = "_iconWrapper_1
3716
3716
  resize: k,
3717
3717
  ...b
3718
3718
  }, B) => {
3719
- const { textareaRef: x, inputRef: Z, currentRef: V } = PC(i, t);
3720
- if ($C(i, k, x), c3(B, () => V.current, [V]), t === "textarea")
3719
+ const { textareaRef: x, inputRef: V, currentRef: y } = PC(i, t);
3720
+ if ($C(i, k, x), c3(B, () => y.current, [y]), t === "textarea")
3721
3721
  return /* @__PURE__ */ r.jsx(
3722
3722
  "textarea",
3723
3723
  {
@@ -3751,7 +3751,7 @@ const bd = {}, xl = "_tag_1llsi_1", Hl = "_label_1llsi_16", bl = "_iconWrapper_1
3751
3751
  return /* @__PURE__ */ r.jsx(
3752
3752
  "input",
3753
3753
  {
3754
- ref: Z,
3754
+ ref: V,
3755
3755
  id: u,
3756
3756
  value: i,
3757
3757
  placeholder: C,
@@ -3807,16 +3807,16 @@ const bd = {}, xl = "_tag_1llsi_1", Hl = "_label_1llsi_16", bl = "_iconWrapper_1
3807
3807
  onSuffixClick: b,
3808
3808
  placeholder: B,
3809
3809
  showLabel: x = !0,
3810
- labelClassName: Z,
3811
- hasValue: V = !1,
3810
+ labelClassName: V,
3811
+ hasValue: y = !1,
3812
3812
  helper: j,
3813
3813
  id: O,
3814
- value: D = "",
3815
- resize: A,
3816
- showGrip: y = !1,
3814
+ value: I = "",
3815
+ resize: T,
3816
+ showGrip: Z = !1,
3817
3817
  ...R
3818
- }, I) => {
3819
- const T = F2(), U = O || T, N = m && f && (V || w), n1 = f && f.length > m9 ? f.substring(0, m9) + "..." : f, K = H(
3818
+ }, D) => {
3819
+ const A = F2(), U = O || A, N = m && f && (y || w), n1 = f && f.length > m9 ? f.substring(0, m9) + "..." : f, K = H(
3820
3820
  z.wrapper,
3821
3821
  z[`size-${o}`],
3822
3822
  i && z.error,
@@ -3829,17 +3829,17 @@ const bd = {}, xl = "_tag_1llsi_1", Hl = "_label_1llsi_16", bl = "_iconWrapper_1
3829
3829
  ), X = H(
3830
3830
  z.floatingLabel,
3831
3831
  z[o],
3832
- V && z.filled,
3833
- Z
3834
- ), { handleGripMouseDown: W } = NC(y, C, s, A);
3835
- return /* @__PURE__ */ r.jsxs("div", { ref: I, className: z.inputBase, "data-testid": "input-base-wrapper", ...R, children: [
3832
+ y && z.filled,
3833
+ V
3834
+ ), { handleGripMouseDown: W } = NC(Z, C, s, T);
3835
+ return /* @__PURE__ */ r.jsxs("div", { ref: D, className: z.inputBase, "data-testid": "input-base-wrapper", ...R, children: [
3836
3836
  /* @__PURE__ */ r.jsxs(
3837
3837
  "div",
3838
3838
  {
3839
3839
  className: K,
3840
3840
  style: g,
3841
- "data-resize": A,
3842
- "data-show-grip": y ? "true" : "false",
3841
+ "data-resize": T,
3842
+ "data-show-grip": Z ? "true" : "false",
3843
3843
  ...c,
3844
3844
  children: [
3845
3845
  u && /* @__PURE__ */ r.jsx("label", { htmlFor: U, className: z.leftSection, style: v, children: u }),
@@ -3864,7 +3864,7 @@ const bd = {}, xl = "_tag_1llsi_1", Hl = "_label_1llsi_16", bl = "_iconWrapper_1
3864
3864
  }
3865
3865
  ),
3866
3866
  t,
3867
- y && !h && (A === "fixed" || !A) && /* @__PURE__ */ r.jsx(
3867
+ Z && !h && (T === "fixed" || !T) && /* @__PURE__ */ r.jsx(
3868
3868
  "div",
3869
3869
  {
3870
3870
  className: z.gripHandle,
@@ -3878,13 +3878,13 @@ const bd = {}, xl = "_tag_1llsi_1", Hl = "_label_1llsi_16", bl = "_iconWrapper_1
3878
3878
  N && /* @__PURE__ */ r.jsx(
3879
3879
  "div",
3880
3880
  {
3881
- className: H(z.hint, V && z.truncate),
3881
+ className: H(z.hint, y && z.truncate),
3882
3882
  "data-disabled": C || s,
3883
3883
  children: n1
3884
3884
  }
3885
3885
  ),
3886
3886
  h && p && /* @__PURE__ */ r.jsxs("div", { className: z.characterLimit, children: [
3887
- (D || "").length,
3887
+ (I || "").length,
3888
3888
  " из ",
3889
3889
  p
3890
3890
  ] })
@@ -3935,16 +3935,16 @@ const p9 = Object.assign(zC, {
3935
3935
  wrapperStyles: b,
3936
3936
  floatingLabelStyles: B,
3937
3937
  prefixStyles: x,
3938
- suffixStyles: Z,
3939
- textareaStyles: V,
3938
+ suffixStyles: V,
3939
+ textareaStyles: y,
3940
3940
  labelProps: j,
3941
3941
  helperProps: O,
3942
- showLimit: D = !1,
3943
- maxLength: A,
3944
- inputProps: y,
3942
+ showLimit: I = !1,
3943
+ maxLength: T,
3944
+ inputProps: Z,
3945
3945
  hint: R,
3946
- showHint: I = !1,
3947
- showHintOnEmpty: T = !1,
3946
+ showHint: D = !1,
3947
+ showHintOnEmpty: A = !1,
3948
3948
  truncate: U = !1,
3949
3949
  resize: N,
3950
3950
  showGrip: n1 = !1,
@@ -3953,12 +3953,12 @@ const p9 = Object.assign(zC, {
3953
3953
  const W = F2(), J = E || W, [L1, p1] = d1(u), h1 = u !== void 0 ? u : L1, O1 = (h1 || "").length > 0, R1 = h1 || "", b1 = g && (o === "XL" || t === "textarea") && !d, n2 = x1(
3954
3954
  (i1) => {
3955
3955
  var l1;
3956
- s || l || (h == null || h(), (l1 = y == null ? void 0 : y.onFocus) == null || l1.call(
3957
- y,
3956
+ s || l || (h == null || h(), (l1 = Z == null ? void 0 : Z.onFocus) == null || l1.call(
3957
+ Z,
3958
3958
  i1
3959
3959
  ));
3960
3960
  },
3961
- [h, y, s, l]
3961
+ [h, Z, s, l]
3962
3962
  ), $1 = x1(
3963
3963
  (i1) => {
3964
3964
  var l1;
@@ -3966,33 +3966,33 @@ const p9 = Object.assign(zC, {
3966
3966
  const u1 = i1.target.closest(`.${z.wrapper}`);
3967
3967
  u1 && u1.classList.add(z.tabFocused);
3968
3968
  }
3969
- (l1 = y == null ? void 0 : y.onKeyUp) == null || l1.call(
3970
- y,
3969
+ (l1 = Z == null ? void 0 : Z.onKeyUp) == null || l1.call(
3970
+ Z,
3971
3971
  i1
3972
3972
  );
3973
3973
  },
3974
- [y]
3974
+ [Z]
3975
3975
  ), r2 = x1(
3976
3976
  (i1) => {
3977
3977
  var u1;
3978
3978
  const l1 = i1.target.closest(`.${z.wrapper}`);
3979
- l1 && l1.classList.remove(z.tabFocused), p == null || p(), (u1 = y == null ? void 0 : y.onBlur) == null || u1.call(
3980
- y,
3979
+ l1 && l1.classList.remove(z.tabFocused), p == null || p(), (u1 = Z == null ? void 0 : Z.onBlur) == null || u1.call(
3980
+ Z,
3981
3981
  i1
3982
3982
  );
3983
3983
  },
3984
- [p, y]
3984
+ [p, Z]
3985
3985
  ), o2 = x1(
3986
3986
  (i1) => {
3987
3987
  var u1;
3988
3988
  if (s || l) return;
3989
3989
  const l1 = i1.target.value;
3990
- p1(l1), w == null || w(l1, i1), (u1 = y == null ? void 0 : y.onChange) == null || u1.call(
3991
- y,
3990
+ p1(l1), w == null || w(l1, i1), (u1 = Z == null ? void 0 : Z.onChange) == null || u1.call(
3991
+ Z,
3992
3992
  i1
3993
3993
  );
3994
3994
  },
3995
- [w, y, s, l]
3995
+ [w, Z, s, l]
3996
3996
  );
3997
3997
  return Q(() => {
3998
3998
  p1(u || "");
@@ -4009,14 +4009,14 @@ const p9 = Object.assign(zC, {
4009
4009
  wrapperStyles: b,
4010
4010
  floatingLabelStyles: B,
4011
4011
  prefixStyles: x,
4012
- suffixStyles: Z,
4012
+ suffixStyles: V,
4013
4013
  labelProps: j,
4014
4014
  helperProps: O,
4015
- showLimit: D,
4016
- maxLength: A,
4015
+ showLimit: I,
4016
+ maxLength: T,
4017
4017
  hint: R,
4018
- showHint: I,
4019
- showHintOnEmpty: T,
4018
+ showHint: D,
4019
+ showHintOnEmpty: A,
4020
4020
  prefix: d,
4021
4021
  suffix: _,
4022
4022
  onSuffixClick: m,
@@ -4044,16 +4044,16 @@ const p9 = Object.assign(zC, {
4044
4044
  onChange: o2,
4045
4045
  onKeyDown: f,
4046
4046
  onKeyUp: $1,
4047
- maxLength: A,
4047
+ maxLength: T,
4048
4048
  truncate: U,
4049
4049
  "data-empty": !O1,
4050
4050
  shouldShowFloatingLabelClass: b1,
4051
- style: t === "textarea" ? V : void 0,
4051
+ style: t === "textarea" ? y : void 0,
4052
4052
  "aria-invalid": !!C,
4053
4053
  "aria-errormessage": C ? `${J}-error` : void 0,
4054
4054
  id: J,
4055
4055
  resize: N,
4056
- ...y
4056
+ ...Z
4057
4057
  }
4058
4058
  )
4059
4059
  }
@@ -4241,16 +4241,16 @@ const p9 = Object.assign(zC, {
4241
4241
  onBlur: b,
4242
4242
  onSuffixClick: B,
4243
4243
  onClear: x,
4244
- className: Z,
4245
- truncate: V = !0,
4244
+ className: V,
4245
+ truncate: y = !0,
4246
4246
  hint: j,
4247
4247
  showHint: O = !1,
4248
- showHintOnEmpty: D = !1,
4249
- wrapperProps: A,
4250
- labelProps: y,
4248
+ showHintOnEmpty: I = !1,
4249
+ wrapperProps: T,
4250
+ labelProps: Z,
4251
4251
  helperProps: R,
4252
- ...I
4253
- }, T) => {
4252
+ ...D
4253
+ }, A) => {
4254
4254
  const U = (t || "").length > 0, N = L === t1.XL, n1 = !!p, K = N && u && !p, X = m && U && !(_ || E), W = () => {
4255
4255
  o == null || o(""), x == null || x();
4256
4256
  }, J = () => {
@@ -4288,22 +4288,22 @@ const p9 = Object.assign(zC, {
4288
4288
  onChange: o,
4289
4289
  value: t,
4290
4290
  placeholder: C,
4291
- className: Z,
4291
+ className: V,
4292
4292
  wrapperStyles: h1.wrapperStyles,
4293
4293
  floatingLabelStyles: h1.floatingLabelStyles,
4294
4294
  prefixStyles: h1.prefixStyles,
4295
4295
  suffixStyles: h1.suffixStyles,
4296
- wrapperProps: A,
4297
- labelProps: y,
4296
+ wrapperProps: T,
4297
+ labelProps: Z,
4298
4298
  helperProps: R,
4299
4299
  showLimit: !1,
4300
4300
  maxLength: s,
4301
4301
  inputProps: p1,
4302
4302
  hint: j,
4303
4303
  showHint: O,
4304
- showHintOnEmpty: D,
4305
- truncate: V,
4306
- ...I
4304
+ showHintOnEmpty: I,
4305
+ truncate: y,
4306
+ ...D
4307
4307
  }
4308
4308
  );
4309
4309
  }
@@ -4454,15 +4454,15 @@ const p9 = Object.assign(zC, {
4454
4454
  className: b,
4455
4455
  rows: B = 1,
4456
4456
  showLimit: x = !1,
4457
- wrapperProps: Z,
4458
- labelProps: V,
4457
+ wrapperProps: V,
4458
+ labelProps: y,
4459
4459
  helperProps: j,
4460
4460
  showGrip: O,
4461
- minHeight: D,
4462
- resize: A,
4463
- ...y
4461
+ minHeight: I,
4462
+ resize: T,
4463
+ ...Z
4464
4464
  }, R) => {
4465
- const I = (t || "").length > 0, T = f && !!i && (c === H1.M || D !== 48), U = h && I && !(v || d), N = () => {
4465
+ const D = (t || "").length > 0, A = f && !!i && (c === H1.M || I !== 48), U = h && D && !(v || d), N = () => {
4466
4466
  o == null || o(""), u == null || u();
4467
4467
  }, n1 = () => {
4468
4468
  U && N();
@@ -4474,11 +4474,11 @@ const p9 = Object.assign(zC, {
4474
4474
  style: { cursor: "pointer" },
4475
4475
  "data-testid": "x-icon"
4476
4476
  }
4477
- ) : E, X = aa(c, D, T && I, A), W = ia(c, D), J = {
4477
+ ) : E, X = aa(c, I, A && D, T), W = ia(c, I), J = {
4478
4478
  rows: B,
4479
4479
  minLength: s,
4480
4480
  autoFocus: l,
4481
- resize: A,
4481
+ resize: T,
4482
4482
  ...g
4483
4483
  };
4484
4484
  return /* @__PURE__ */ r.jsx(
@@ -4494,7 +4494,7 @@ const p9 = Object.assign(zC, {
4494
4494
  helper: _,
4495
4495
  suffix: K,
4496
4496
  id: p,
4497
- showLabel: T,
4497
+ showLabel: A,
4498
4498
  onFocus: m,
4499
4499
  onBlur: w,
4500
4500
  onKeyDown: k,
@@ -4502,20 +4502,20 @@ const p9 = Object.assign(zC, {
4502
4502
  value: t || "",
4503
4503
  placeholder: i,
4504
4504
  className: b,
4505
- "data-floating-label": T,
4505
+ "data-floating-label": A,
4506
4506
  wrapperStyles: X.wrapperStyles,
4507
4507
  floatingLabelStyles: X.floatingLabelStyles,
4508
4508
  suffixStyles: X.suffixStyles,
4509
4509
  textareaStyles: X.textareaStyles,
4510
- wrapperProps: Z,
4511
- labelProps: V,
4510
+ wrapperProps: V,
4511
+ labelProps: y,
4512
4512
  helperProps: j,
4513
- showLimit: x && (D === 112 || c === H1.M),
4513
+ showLimit: x && (I === 112 || c === H1.M),
4514
4514
  maxLength: C,
4515
4515
  inputProps: J,
4516
- resize: A,
4516
+ resize: T,
4517
4517
  showGrip: O,
4518
- ...y
4518
+ ...Z
4519
4519
  }
4520
4520
  );
4521
4521
  }
@@ -4589,11 +4589,11 @@ const p9 = Object.assign(zC, {
4589
4589
  onChange: u,
4590
4590
  "data-testid": k,
4591
4591
  ...b
4592
- } = t, B = !!g, x = L || c, Z = h === "all", V = p === "card", j = M1[`${l}Card`], O = C ?? i, D = (T) => {
4593
- x || u == null || u(s, T);
4594
- }, A = (T) => {
4595
- T.key === "Enter" && !x && (T.preventDefault(), u == null || u(s));
4596
- }, y = (T) => T.stopPropagation(), R = () => /* @__PURE__ */ r.jsxs(
4592
+ } = t, B = !!g, x = L || c, V = h === "all", y = p === "card", j = M1[`${l}Card`], O = C ?? i, I = (A) => {
4593
+ x || u == null || u(s, A);
4594
+ }, T = (A) => {
4595
+ A.key === "Enter" && !x && (A.preventDefault(), u == null || u(s));
4596
+ }, Z = (A) => A.stopPropagation(), R = () => /* @__PURE__ */ r.jsxs(
4597
4597
  "div",
4598
4598
  {
4599
4599
  className: H(
@@ -4624,42 +4624,42 @@ const p9 = Object.assign(zC, {
4624
4624
  ref: o,
4625
4625
  type: "radio",
4626
4626
  value: s,
4627
- onChange: D,
4628
- onClick: y
4627
+ onChange: I,
4628
+ onClick: Z
4629
4629
  }
4630
4630
  ),
4631
4631
  /* @__PURE__ */ r.jsx("svg", { "data-testid": `radio-icon-${O}`, viewBox: "0 0 8 8", className: M1.icon, children: /* @__PURE__ */ r.jsx("circle", { cx: 4, cy: 4, fill: "current", r: 4 }) })
4632
4632
  ]
4633
4633
  }
4634
- ), I = () => /* @__PURE__ */ r.jsxs(
4634
+ ), D = () => /* @__PURE__ */ r.jsxs(
4635
4635
  "label",
4636
4636
  {
4637
4637
  "aria-checked": v,
4638
4638
  "aria-disabled": x,
4639
- "data-testid": Z ? k : ba,
4639
+ "data-testid": V ? k : ba,
4640
4640
  htmlFor: O,
4641
4641
  style: w,
4642
4642
  className: H(M1.label, {
4643
- [H(M1.container, M1[p], d)]: Z,
4644
- [j]: Z && V
4643
+ [H(M1.container, M1[p], d)]: V,
4644
+ [j]: V && y
4645
4645
  }),
4646
- onKeyDown: A,
4646
+ onKeyDown: T,
4647
4647
  ...b,
4648
4648
  children: [
4649
4649
  R(),
4650
- Z && E
4650
+ V && E
4651
4651
  ]
4652
4652
  }
4653
4653
  );
4654
- return Z ? I() : /* @__PURE__ */ r.jsxs(
4654
+ return V ? D() : /* @__PURE__ */ r.jsxs(
4655
4655
  "div",
4656
4656
  {
4657
4657
  className: H(M1.container, M1[p], d, {
4658
- [j]: V
4658
+ [j]: y
4659
4659
  }),
4660
4660
  "data-testid": k,
4661
4661
  children: [
4662
- I(),
4662
+ D(),
4663
4663
  E
4664
4664
  ]
4665
4665
  }
@@ -4922,7 +4922,7 @@ const p9 = Object.assign(zC, {
4922
4922
  [m1.selected]: i,
4923
4923
  [m1.disabled]: c
4924
4924
  }
4925
- ), Z = H(m1.tabLabel, m1[t], u[t]), V = (O) => {
4925
+ ), V = H(m1.tabLabel, m1[t], u[t]), y = (O) => {
4926
4926
  i || c || (g(L), O.currentTarget.scrollIntoView({ behavior: "smooth", inline: "center", block: "nearest" }));
4927
4927
  }, j = /* @__PURE__ */ r.jsxs(
4928
4928
  "button",
@@ -4934,7 +4934,7 @@ const p9 = Object.assign(zC, {
4934
4934
  "aria-disabled": c,
4935
4935
  "aria-controls": `tab-panel-${L}`,
4936
4936
  "data-testid": `tab-item-${L}`,
4937
- onClick: V,
4937
+ onClick: y,
4938
4938
  children: [
4939
4939
  d && /* @__PURE__ */ r.jsx(
4940
4940
  "span",
@@ -4945,7 +4945,7 @@ const p9 = Object.assign(zC, {
4945
4945
  children: d
4946
4946
  }
4947
4947
  ),
4948
- /* @__PURE__ */ r.jsx("span", { className: Z, "data-testid": `tab-label-${L}`, children: v }),
4948
+ /* @__PURE__ */ r.jsx("span", { className: V, "data-testid": `tab-label-${L}`, children: v }),
4949
4949
  E && /* @__PURE__ */ r.jsx(
4950
4950
  "span",
4951
4951
  {
@@ -5211,7 +5211,7 @@ const p9 = Object.assign(zC, {
5211
5211
  const d = ["neutral", "accent"].includes(C) ? "contrast" : "primary", _ = s === "m", E = !!(o && _), h = !!(i && _), p = g && !!g.length, f = !!(v && _) || !v && _ && !p, m = s === "xs" ? 4 : 3;
5212
5212
  return /* @__PURE__ */ r.jsxs("div", { className: E1.content, children: [
5213
5213
  h && /* @__PURE__ */ r.jsx("div", { className: H(E1.mediaWrapper, l.mediaWrapper), children: i }),
5214
- /* @__PURE__ */ r.jsxs("div", { className: l.textWrapper, children: [
5214
+ /* @__PURE__ */ r.jsxs("div", { className: l == null ? void 0 : l.textWrapper, children: [
5215
5215
  E && /* @__PURE__ */ r.jsx(
5216
5216
  G1.Subtitle,
5217
5217
  {
@@ -5246,11 +5246,11 @@ const p9 = Object.assign(zC, {
5246
5246
  }
5247
5247
  ),
5248
5248
  _ && p && /* @__PURE__ */ r.jsx("div", { className: E1.buttonStack, children: g.map((w, u) => {
5249
- const k = $s(u, g.length, C), b = Ps(w, k, L), { closeOnClick: B, ...x } = b, Z = (V) => {
5249
+ const k = $s(u, g.length, C), b = Ps(w, k, L), { closeOnClick: B, ...x } = b, V = (y) => {
5250
5250
  var j;
5251
- (j = x.onClick) == null || j.call(x, V), B && (c == null || c());
5251
+ (j = x.onClick) == null || j.call(x, y), B && (c == null || c());
5252
5252
  };
5253
- return /* @__PURE__ */ r.jsx(c2, { ...x, onClick: Z }, u);
5253
+ return /* @__PURE__ */ r.jsx(c2, { ...x, onClick: V }, u);
5254
5254
  }) })
5255
5255
  ] });
5256
5256
  }, Rd = ({
@@ -5271,18 +5271,22 @@ const p9 = Object.assign(zC, {
5271
5271
  buttons: p,
5272
5272
  buttonProps: f,
5273
5273
  onClose: m,
5274
- ...w
5274
+ visible: w,
5275
+ onVisibleChange: u,
5276
+ ...k
5275
5277
  }) => {
5276
- const [u, k] = d1(!1), [b, B] = d1(!1), x = d === "m" ? Ts : Ds, Z = () => {
5277
- k(!1), m == null || m();
5278
- }, V = t || (d === "m" ? /* @__PURE__ */ r.jsx(
5278
+ const [b, B] = d1(!!w), x = w !== void 0, [V, y] = d1(!1), j = d === "m" ? Ts : Ds, O = () => {
5279
+ x || B(!1), m == null || m();
5280
+ }, I = (Z) => {
5281
+ x || B(Z), u == null || u(Z);
5282
+ }, T = t || (d === "m" ? /* @__PURE__ */ r.jsx(
5279
5283
  L9,
5280
5284
  {
5281
5285
  classNames: C,
5282
5286
  text: _,
5283
5287
  variant: v,
5284
5288
  size: d,
5285
- onClose: Z,
5289
+ onClose: O,
5286
5290
  title: E,
5287
5291
  media: h,
5288
5292
  showClose: g,
@@ -5296,37 +5300,37 @@ const p9 = Object.assign(zC, {
5296
5300
  text: _,
5297
5301
  variant: v,
5298
5302
  size: d,
5299
- onClose: Z
5303
+ onClose: O
5300
5304
  }
5301
5305
  ));
5302
5306
  return Q(() => {
5303
- if (u) {
5304
- const j = requestAnimationFrame(() => B(!0));
5305
- return () => cancelAnimationFrame(j);
5307
+ if (b) {
5308
+ const Z = requestAnimationFrame(() => y(!0));
5309
+ return () => cancelAnimationFrame(Z);
5306
5310
  }
5307
- B(!1);
5308
- }, [u]), /* @__PURE__ */ r.jsx(
5311
+ y(!1);
5312
+ }, [b]), /* @__PURE__ */ r.jsx(
5309
5313
  M3,
5310
5314
  {
5311
- visible: u,
5312
- onVisibleChange: k,
5315
+ visible: x ? w : b,
5316
+ onVisibleChange: I,
5313
5317
  classNames: {
5314
- root: H(E1.root, E1[v], E1[d], b && E1.open),
5315
- ...w.classNames
5318
+ root: H(E1.root, E1[v], E1[d], V && E1.open),
5319
+ ...k.classNames
5316
5320
  },
5317
5321
  placement: i,
5318
- overlay: () => V,
5322
+ overlay: T,
5319
5323
  trigger: L,
5320
5324
  mouseEnterDelay: s,
5321
5325
  mouseLeaveDelay: l,
5322
5326
  motion: { motionName: "tooltipMotion" },
5323
- builtinPlacements: x,
5327
+ builtinPlacements: j,
5324
5328
  showArrow: c ? {
5325
5329
  content: /* @__PURE__ */ r.jsx(Is, {}),
5326
5330
  className: `tooltipArrow tooltipArrow-${d}`
5327
5331
  } : !1,
5328
5332
  destroyTooltipOnHide: !0,
5329
- ...w,
5333
+ ...k,
5330
5334
  children: o
5331
5335
  }
5332
5336
  );
@@ -5418,7 +5422,7 @@ const p9 = Object.assign(zC, {
5418
5422
  ...d,
5419
5423
  children: [
5420
5424
  l == null ? void 0 : l.map(({ label: k, value: b, containerProps: B = {} }, x) => {
5421
- const { className: Z, ...V } = B, j = () => u(b), O = JSON.stringify(b), D = E === b;
5425
+ const { className: V, ...y } = B, j = () => u(b), O = JSON.stringify(b), I = E === b;
5422
5426
  return /* @__PURE__ */ r.jsxs(q1, { children: [
5423
5427
  /* @__PURE__ */ r.jsx(
5424
5428
  "input",
@@ -5426,19 +5430,19 @@ const p9 = Object.assign(zC, {
5426
5430
  id: _ + O,
5427
5431
  value: O,
5428
5432
  type: "radio",
5429
- checked: D,
5433
+ checked: I,
5430
5434
  readOnly: !0
5431
5435
  }
5432
5436
  ),
5433
5437
  /* @__PURE__ */ r.jsx(
5434
5438
  "label",
5435
5439
  {
5436
- "data-is-active-segment": D,
5437
- className: H(A1.segment, w9[s], { [A1.selected]: D }, Z),
5440
+ "data-is-active-segment": I,
5441
+ className: H(A1.segment, w9[s], { [A1.selected]: I }, V),
5438
5442
  htmlFor: _ + O,
5439
5443
  "data-testid": "segmented-control-segment",
5440
5444
  onClick: j,
5441
- ...V,
5445
+ ...y,
5442
5446
  children: k
5443
5447
  }
5444
5448
  )
@@ -5538,7 +5542,7 @@ const c1 = {
5538
5542
  classNames: h = {},
5539
5543
  styles: p = {}
5540
5544
  }) => {
5541
- const f = !!t, m = !!C, w = !!g, u = l === "applied", k = !!i && (!w || d) || w && !d, b = (w && !d ? g : i) || "", B = w && !d, x = Mc(o, f), Z = m && x === e2.FLOATING, V = x === e2.HIDDEN, j = H(
5545
+ const f = !!t, m = !!C, w = !!g, u = l === "applied", k = !!i && (!w || d) || w && !d, b = (w && !d ? g : i) || "", B = w && !d, x = Mc(o, f), V = m && x === e2.FLOATING, y = x === e2.HIDDEN, j = H(
5542
5546
  c1["trigger-wrapper"],
5543
5547
  { [c1["trigger-stretched"]]: s },
5544
5548
  h.wrapper
@@ -5550,23 +5554,23 @@ const c1 = {
5550
5554
  [c1["trigger-container-applied"]]: u && f,
5551
5555
  [c1["trigger-container-error"]]: w && !d,
5552
5556
  [c1["trigger-container-open"]]: _,
5553
- [c1["trigger-container-floating"]]: Z
5557
+ [c1["trigger-container-floating"]]: V
5554
5558
  },
5555
5559
  h.triggerContainer
5556
- ), D = H(
5560
+ ), I = H(
5557
5561
  c1["trigger-content-container"],
5558
5562
  {
5559
- [c1["trigger-content-container-floating"]]: Z
5563
+ [c1["trigger-content-container-floating"]]: V
5560
5564
  },
5561
5565
  h.triggerContent
5562
- ), A = H(
5566
+ ), T = H(
5563
5567
  c1["trigger-label"],
5564
5568
  {
5565
- [c1["trigger-label-floating"]]: Z,
5566
- [c1["trigger-label-hidden"]]: V
5569
+ [c1["trigger-label-floating"]]: V,
5570
+ [c1["trigger-label-hidden"]]: y
5567
5571
  },
5568
5572
  h.label
5569
- ), y = H(c1["trigger-content"], h.content), R = H(c1["trigger-postfix"], h.postfixTitle), I = H(c1["trigger-chevron-icon"], h.chevronIcon), T = H(
5573
+ ), Z = H(c1["trigger-content"], h.content), R = H(c1["trigger-postfix"], h.postfixTitle), D = H(c1["trigger-chevron-icon"], h.chevronIcon), A = H(
5570
5574
  c1["trigger-prefix-icon"],
5571
5575
  h.prefixIconContainer
5572
5576
  ), U = H(c1["trigger-clear-icon"], h.clearIcon), N = (W) => {
@@ -5586,18 +5590,18 @@ const c1 = {
5586
5590
  disabled: d,
5587
5591
  type: "button",
5588
5592
  children: [
5589
- L && o !== "XL" && /* @__PURE__ */ r.jsx("div", { className: T, style: p.prefixIconContainer, children: L }),
5590
- /* @__PURE__ */ r.jsxs("div", { className: D, style: p.triggerContent, children: [
5593
+ L && o !== "XL" && /* @__PURE__ */ r.jsx("div", { className: A, style: p.prefixIconContainer, children: L }),
5594
+ /* @__PURE__ */ r.jsxs("div", { className: I, style: p.triggerContent, children: [
5591
5595
  m && /* @__PURE__ */ r.jsx(
5592
5596
  G1.Label,
5593
5597
  {
5594
5598
  "data-testid": "trigger-label",
5595
- className: A,
5599
+ className: T,
5596
5600
  style: p.label,
5597
- size: xc(o, Z),
5601
+ size: xc(o, V),
5598
5602
  as: "span",
5599
5603
  disabled: d,
5600
- typographyStyle: Z ? "secondary" : "tertiary",
5604
+ typographyStyle: V ? "secondary" : "tertiary",
5601
5605
  children: C
5602
5606
  }
5603
5607
  ),
@@ -5605,7 +5609,7 @@ const c1 = {
5605
5609
  G1.Label,
5606
5610
  {
5607
5611
  "data-testid": "trigger-content-container",
5608
- className: y,
5612
+ className: Z,
5609
5613
  style: p.content,
5610
5614
  size: v9(o),
5611
5615
  as: "span",
@@ -5642,7 +5646,7 @@ const c1 = {
5642
5646
  {
5643
5647
  "data-testid": "trigger-chevron",
5644
5648
  size: f9(o),
5645
- className: I,
5649
+ className: D,
5646
5650
  color: "#AABBCA",
5647
5651
  style: p.chevronIcon
5648
5652
  }
@@ -5927,33 +5931,33 @@ const Bc = "_stack_1sg4d_1", jc = "_local_1sg4d_19", Oc = "_snackWrapper_1sg4d_2
5927
5931
  linkButtonProps: f,
5928
5932
  closeOnLinkClick: m = !0,
5929
5933
  "data-testid": w = "snackbar"
5930
- } = t, u = v1(null), k = v1(null), [b, B] = d1(!1), [x, Z] = d1(!1), [V, j] = d1(), O = v1(0), D = v1(0), A = v1(0), y = v1(0), R = v1(!1), I = v1(null), T = (W) => {
5931
- clearTimeout(I.current || 0), I.current = null;
5934
+ } = t, u = v1(null), k = v1(null), [b, B] = d1(!1), [x, V] = d1(!1), [y, j] = d1(), O = v1(0), I = v1(0), T = v1(0), Z = v1(0), R = v1(!1), D = v1(null), A = (W) => {
5935
+ clearTimeout(D.current || 0), D.current = null;
5932
5936
  const J = h ? Zc[W] : A9[W];
5933
- W === "swipe" || (Z(!0), j(W)), I.current = setTimeout(() => {
5934
- l == null || l(), Z(!1), j(void 0), I.current = null;
5937
+ W === "swipe" || (V(!0), j(W)), D.current = setTimeout(() => {
5938
+ l == null || l(), V(!1), j(void 0), D.current = null;
5935
5939
  }, J);
5936
5940
  };
5937
5941
  yc({
5938
5942
  ref: k,
5939
5943
  open: i,
5940
- onClose: T,
5941
- setExiting: Z,
5944
+ onClose: A,
5945
+ setExiting: V,
5942
5946
  setExitReason: j,
5943
5947
  swiping: R,
5944
5948
  startX: O,
5945
- startY: D,
5946
- currentX: A,
5947
- currentY: y
5949
+ startY: I,
5950
+ currentX: T,
5951
+ currentY: Z
5948
5952
  }), Q(() => {
5949
- p && T("close");
5953
+ p && A("close");
5950
5954
  }, [p]), Q(() => {
5951
5955
  if (i && !g && C !== "loading") {
5952
- const W = setTimeout(() => T("timeout"), c);
5956
+ const W = setTimeout(() => A("timeout"), c);
5953
5957
  return () => clearTimeout(W);
5954
5958
  }
5955
5959
  }, [i, g, C, c]), Q(() => {
5956
- i && (Z(!1), j(void 0));
5960
+ i && (V(!1), j(void 0));
5957
5961
  }, [i]), Q(() => {
5958
5962
  const W = u.current;
5959
5963
  W && requestAnimationFrame(() => {
@@ -5963,13 +5967,13 @@ const Bc = "_stack_1sg4d_1", jc = "_local_1sg4d_19", Oc = "_snackWrapper_1sg4d_2
5963
5967
  }, [d]), Q(() => {
5964
5968
  if (!i) return;
5965
5969
  const W = (J) => {
5966
- J.key === "Escape" && T("escape");
5970
+ J.key === "Escape" && A("escape");
5967
5971
  };
5968
5972
  return window.addEventListener("keydown", W), () => window.removeEventListener("keydown", W);
5969
5973
  }, [i]), Q(() => () => {
5970
- I.current && (clearTimeout(I.current), I.current = null);
5974
+ D.current && (clearTimeout(D.current), D.current = null);
5971
5975
  }, []);
5972
- const U = x && V && g1[bc[V]];
5976
+ const U = x && y && g1[bc[y]];
5973
5977
  if (!i && !x) return null;
5974
5978
  const N = {
5975
5979
  success: /* @__PURE__ */ r.jsx(id, { className: g1.icon }),
@@ -5979,7 +5983,7 @@ const Bc = "_stack_1sg4d_1", jc = "_local_1sg4d_19", Oc = "_snackWrapper_1sg4d_2
5979
5983
  }, n1 = k1(
5980
5984
  g1.snackbar,
5981
5985
  g1[s],
5982
- { [g1.exiting]: x && V },
5986
+ { [g1.exiting]: x && y },
5983
5987
  { [g1.snackbarVertical]: b },
5984
5988
  _,
5985
5989
  U,
@@ -6027,7 +6031,7 @@ const Bc = "_stack_1sg4d_1", jc = "_local_1sg4d_19", Oc = "_snackWrapper_1sg4d_2
6027
6031
  buttonStyle: "contrast",
6028
6032
  ...f,
6029
6033
  onClick: (W) => {
6030
- X(f.onClick, W), m && T("timeout");
6034
+ X(f.onClick, W), m && A("timeout");
6031
6035
  }
6032
6036
  }
6033
6037
  )
@@ -6041,7 +6045,7 @@ const Bc = "_stack_1sg4d_1", jc = "_local_1sg4d_19", Oc = "_snackWrapper_1sg4d_2
6041
6045
  c2,
6042
6046
  {
6043
6047
  iconLeft: /* @__PURE__ */ r.jsx(nd, {}),
6044
- onClick: () => T("close"),
6048
+ onClick: () => A("close"),
6045
6049
  mode: "tertiary",
6046
6050
  size: "l",
6047
6051
  buttonStyle: "contrast",
@@ -6237,8 +6241,8 @@ const Bc = "_stack_1sg4d_1", jc = "_local_1sg4d_19", Oc = "_snackWrapper_1sg4d_2
6237
6241
  toggle: b,
6238
6242
  drop: B,
6239
6243
  content: x,
6240
- footer: Z
6241
- } = h ?? {}, V = L === "click", j = L === "hover", { refs: O, floatingStyles: D, placement: A, context: y } = E9({
6244
+ footer: V
6245
+ } = h ?? {}, y = L === "click", j = L === "hover", { refs: O, floatingStyles: I, placement: T, context: Z } = E9({
6242
6246
  open: o,
6243
6247
  onOpenChange: i,
6244
6248
  placement: s,
@@ -6267,12 +6271,12 @@ const Bc = "_stack_1sg4d_1", jc = "_local_1sg4d_19", Oc = "_snackWrapper_1sg4d_2
6267
6271
  ],
6268
6272
  whileElementsMounted: u3
6269
6273
  // Для автоматического обновление позиции при скролле/ресайзе
6270
- }), R = _3(y, {
6274
+ }), R = _3(Z, {
6271
6275
  enabled: j,
6272
6276
  // Включен только в режиме hover
6273
6277
  handleClose: E3()
6274
6278
  // Создает зону, по которой курсор может безопасно перемещаться от toggle к drop
6275
- }), { isMounted: I, styles: T } = k9(y, {
6279
+ }), { isMounted: D, styles: A } = k9(Z, {
6276
6280
  initial: {
6277
6281
  opacity: 0
6278
6282
  },
@@ -6284,10 +6288,10 @@ const Bc = "_stack_1sg4d_1", jc = "_local_1sg4d_19", Oc = "_snackWrapper_1sg4d_2
6284
6288
  opacity: 0,
6285
6289
  transition: `opacity ${gd}`
6286
6290
  }
6287
- }), U = M9(y, {
6291
+ }), U = M9(Z, {
6288
6292
  referencePress: !1,
6289
6293
  // Не закрывать при клике на триггер
6290
- outsidePress: c && V,
6294
+ outsidePress: c && y,
6291
6295
  // Закрывать при клике вне дропа
6292
6296
  escapeKey: g,
6293
6297
  // Закрывать по ESC
@@ -6310,24 +6314,24 @@ const Bc = "_stack_1sg4d_1", jc = "_local_1sg4d_19", Oc = "_snackWrapper_1sg4d_2
6310
6314
  tabIndex: 0,
6311
6315
  "data-testid": "drop-toggle",
6312
6316
  className: W,
6313
- onClick: V ? L1 : void 0,
6317
+ onClick: y ? L1 : void 0,
6314
6318
  style: b,
6315
6319
  ...N(),
6316
6320
  children: t
6317
6321
  }
6318
6322
  ),
6319
- I && /* @__PURE__ */ r.jsx(H9, { children: /* @__PURE__ */ r.jsxs(
6323
+ D && /* @__PURE__ */ r.jsx(H9, { children: /* @__PURE__ */ r.jsxs(
6320
6324
  "div",
6321
6325
  {
6322
6326
  "aria-hidden": !o,
6323
6327
  "data-testid": "drop-menu",
6324
6328
  "data-drop-state": o ? "open" : "closed",
6325
- "data-drop-position": A,
6329
+ "data-drop-position": T,
6326
6330
  className: J,
6327
6331
  style: {
6328
6332
  ...B,
6329
- ...D,
6330
- ...T
6333
+ ...I,
6334
+ ...A
6331
6335
  },
6332
6336
  ref: O.setFloating,
6333
6337
  ...n1(),
@@ -6348,7 +6352,7 @@ const Bc = "_stack_1sg4d_1", jc = "_local_1sg4d_19", Oc = "_snackWrapper_1sg4d_2
6348
6352
  {
6349
6353
  footerPadding: d,
6350
6354
  className: u,
6351
- style: Z,
6355
+ style: V,
6352
6356
  children: _
6353
6357
  }
6354
6358
  )