skillgrid 0.0.30-dev-41308-avatar-group.1187879 → 0.0.31-dev-39184-segmented-control-and-tag-updates.1188117

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
@@ -1,11 +1,11 @@
1
- import * as Xe from "react";
2
- import _e, { forwardRef as K, Fragment as Pt, useState as _t, useEffect as lt, useRef as qt, useCallback as St, useMemo as Lr, createContext as Ye, useContext as Ze, useLayoutEffect as jr, useImperativeHandle as kr, useId as pe } from "react";
1
+ import * as Xt from "react";
2
+ import _t, { forwardRef as K, Fragment as Pe, useState as ue, useEffect as _e, useRef as Fe, useCallback as Le, useMemo as jr, createContext as Yt, useContext as Zt, useLayoutEffect as Gt, useImperativeHandle as kr, useId as pt } from "react";
3
3
  import { clsx as $ } from "clsx";
4
4
  import $r from "rc-tooltip";
5
- import './index.css';function Er(t) {
6
- return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
5
+ import './index.css';function Er(e) {
6
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
7
7
  }
8
- var Yt = { exports: {} }, Dt = {};
8
+ var Ye = { exports: {} }, ze = {};
9
9
  /**
10
10
  * @license React
11
11
  * react-jsx-runtime.production.min.js
@@ -15,21 +15,21 @@ var Yt = { exports: {} }, Dt = {};
15
15
  * This source code is licensed under the MIT license found in the
16
16
  * LICENSE file in the root directory of this source tree.
17
17
  */
18
- var $e;
18
+ var $t;
19
19
  function Tr() {
20
- if ($e) return Dt;
21
- $e = 1;
22
- var t = _e, r = Symbol.for("react.element"), a = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, i = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, s = { key: !0, ref: !0, __self: !0, __source: !0 };
23
- function l(c, _, f) {
24
- var p, h = {}, m = null, g = null;
25
- f !== void 0 && (m = "" + f), _.key !== void 0 && (m = "" + _.key), _.ref !== void 0 && (g = _.ref);
26
- for (p in _) o.call(_, p) && !s.hasOwnProperty(p) && (h[p] = _[p]);
27
- if (c && c.defaultProps) for (p in _ = c.defaultProps, _) h[p] === void 0 && (h[p] = _[p]);
20
+ if ($t) return ze;
21
+ $t = 1;
22
+ var e = _t, r = Symbol.for("react.element"), a = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, i = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, s = { key: !0, ref: !0, __self: !0, __source: !0 };
23
+ function l(c, _, p) {
24
+ var f, h = {}, m = null, g = null;
25
+ p !== void 0 && (m = "" + p), _.key !== void 0 && (m = "" + _.key), _.ref !== void 0 && (g = _.ref);
26
+ for (f in _) o.call(_, f) && !s.hasOwnProperty(f) && (h[f] = _[f]);
27
+ if (c && c.defaultProps) for (f in _ = c.defaultProps, _) h[f] === void 0 && (h[f] = _[f]);
28
28
  return { $$typeof: r, type: c, key: m, ref: g, props: h, _owner: i.current };
29
29
  }
30
- return Dt.Fragment = a, Dt.jsx = l, Dt.jsxs = l, Dt;
30
+ return ze.Fragment = a, ze.jsx = l, ze.jsxs = l, ze;
31
31
  }
32
- var Wt = {};
32
+ var qe = {};
33
33
  /**
34
34
  * @license React
35
35
  * react-jsx-runtime.development.js
@@ -39,61 +39,61 @@ var Wt = {};
39
39
  * This source code is licensed under the MIT license found in the
40
40
  * LICENSE file in the root directory of this source tree.
41
41
  */
42
- var Ee;
42
+ var Et;
43
43
  function Rr() {
44
- return Ee || (Ee = 1, process.env.NODE_ENV !== "production" && function() {
45
- var t = _e, r = Symbol.for("react.element"), a = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), c = Symbol.for("react.context"), _ = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), g = Symbol.for("react.offscreen"), y = Symbol.iterator, C = "@@iterator";
46
- function x(e) {
47
- if (e === null || typeof e != "object")
44
+ return Et || (Et = 1, process.env.NODE_ENV !== "production" && function() {
45
+ var e = _t, r = Symbol.for("react.element"), a = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), c = Symbol.for("react.context"), _ = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), g = Symbol.for("react.offscreen"), x = Symbol.iterator, C = "@@iterator";
46
+ function y(t) {
47
+ if (t === null || typeof t != "object")
48
48
  return null;
49
- var d = y && e[y] || e[C];
49
+ var d = x && t[x] || t[C];
50
50
  return typeof d == "function" ? d : null;
51
51
  }
52
- var v = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
53
- function u(e) {
52
+ var v = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
53
+ function u(t) {
54
54
  {
55
55
  for (var d = arguments.length, b = new Array(d > 1 ? d - 1 : 0), j = 1; j < d; j++)
56
56
  b[j - 1] = arguments[j];
57
- w("error", e, b);
57
+ w("error", t, b);
58
58
  }
59
59
  }
60
- function w(e, d, b) {
60
+ function w(t, d, b) {
61
61
  {
62
- var j = v.ReactDebugCurrentFrame, B = j.getStackAddendum();
63
- B !== "" && (d += "%s", b = b.concat([B]));
64
- var D = b.map(function(M) {
65
- return String(M);
62
+ var j = v.ReactDebugCurrentFrame, D = j.getStackAddendum();
63
+ D !== "" && (d += "%s", b = b.concat([D]));
64
+ var q = b.map(function(O) {
65
+ return String(O);
66
66
  });
67
- D.unshift("Warning: " + d), Function.prototype.apply.call(console[e], console, D);
67
+ q.unshift("Warning: " + d), Function.prototype.apply.call(console[t], console, q);
68
68
  }
69
69
  }
70
- var L = !1, E = !1, k = !1, T = !1, O = !1, A;
70
+ var L = !1, E = !1, k = !1, T = !1, N = !1, A;
71
71
  A = Symbol.for("react.module.reference");
72
- function W(e) {
73
- return !!(typeof e == "string" || typeof e == "function" || e === o || e === s || O || e === i || e === f || e === p || T || e === g || L || E || k || typeof e == "object" && e !== null && (e.$$typeof === m || e.$$typeof === h || e.$$typeof === l || e.$$typeof === c || e.$$typeof === _ || // This needs to include all possible module reference object
72
+ function B(t) {
73
+ return !!(typeof t == "string" || typeof t == "function" || t === o || t === s || N || t === i || t === p || t === f || T || t === g || L || E || k || typeof t == "object" && t !== null && (t.$$typeof === m || t.$$typeof === h || t.$$typeof === l || t.$$typeof === c || t.$$typeof === _ || // This needs to include all possible module reference object
74
74
  // types supported by any Flight configuration anywhere since
75
75
  // we don't know which Flight build this will end up being used
76
76
  // with.
77
- e.$$typeof === A || e.getModuleId !== void 0));
77
+ t.$$typeof === A || t.getModuleId !== void 0));
78
78
  }
79
- function q(e, d, b) {
80
- var j = e.displayName;
79
+ function F(t, d, b) {
80
+ var j = t.displayName;
81
81
  if (j)
82
82
  return j;
83
- var B = d.displayName || d.name || "";
84
- return B !== "" ? b + "(" + B + ")" : b;
83
+ var D = d.displayName || d.name || "";
84
+ return D !== "" ? b + "(" + D + ")" : b;
85
85
  }
86
- function P(e) {
87
- return e.displayName || "Context";
86
+ function P(t) {
87
+ return t.displayName || "Context";
88
88
  }
89
- function S(e) {
90
- if (e == null)
89
+ function S(t) {
90
+ if (t == null)
91
91
  return null;
92
- if (typeof e.tag == "number" && u("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
93
- return e.displayName || e.name || null;
94
- if (typeof e == "string")
95
- return e;
96
- switch (e) {
92
+ if (typeof t.tag == "number" && u("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof t == "function")
93
+ return t.displayName || t.name || null;
94
+ if (typeof t == "string")
95
+ return t;
96
+ switch (t) {
97
97
  case o:
98
98
  return "Fragment";
99
99
  case a:
@@ -102,28 +102,28 @@ function Rr() {
102
102
  return "Profiler";
103
103
  case i:
104
104
  return "StrictMode";
105
- case f:
106
- return "Suspense";
107
105
  case p:
106
+ return "Suspense";
107
+ case f:
108
108
  return "SuspenseList";
109
109
  }
110
- if (typeof e == "object")
111
- switch (e.$$typeof) {
110
+ if (typeof t == "object")
111
+ switch (t.$$typeof) {
112
112
  case c:
113
- var d = e;
113
+ var d = t;
114
114
  return P(d) + ".Consumer";
115
115
  case l:
116
- var b = e;
116
+ var b = t;
117
117
  return P(b._context) + ".Provider";
118
118
  case _:
119
- return q(e, e.render, "ForwardRef");
119
+ return F(t, t.render, "ForwardRef");
120
120
  case h:
121
- var j = e.displayName || null;
122
- return j !== null ? j : S(e.type) || "Memo";
121
+ var j = t.displayName || null;
122
+ return j !== null ? j : S(t.type) || "Memo";
123
123
  case m: {
124
- var B = e, D = B._payload, M = B._init;
124
+ var D = t, q = D._payload, O = D._init;
125
125
  try {
126
- return S(M(D));
126
+ return S(O(q));
127
127
  } catch {
128
128
  return null;
129
129
  }
@@ -131,303 +131,303 @@ function Rr() {
131
131
  }
132
132
  return null;
133
133
  }
134
- var I = Object.assign, z = 0, F, X, Q, ct, at, tt, et;
135
- function mt() {
134
+ var M = Object.assign, z = 0, W, X, Q, le, ae, ee, te;
135
+ function me() {
136
136
  }
137
- mt.__reactDisabledLog = !0;
138
- function zt() {
137
+ me.__reactDisabledLog = !0;
138
+ function De() {
139
139
  {
140
140
  if (z === 0) {
141
- F = console.log, X = console.info, Q = console.warn, ct = console.error, at = console.group, tt = console.groupCollapsed, et = console.groupEnd;
142
- var e = {
141
+ W = console.log, X = console.info, Q = console.warn, le = console.error, ae = console.group, ee = console.groupCollapsed, te = console.groupEnd;
142
+ var t = {
143
143
  configurable: !0,
144
144
  enumerable: !0,
145
- value: mt,
145
+ value: me,
146
146
  writable: !0
147
147
  };
148
148
  Object.defineProperties(console, {
149
- info: e,
150
- log: e,
151
- warn: e,
152
- error: e,
153
- group: e,
154
- groupCollapsed: e,
155
- groupEnd: e
149
+ info: t,
150
+ log: t,
151
+ warn: t,
152
+ error: t,
153
+ group: t,
154
+ groupCollapsed: t,
155
+ groupEnd: t
156
156
  });
157
157
  }
158
158
  z++;
159
159
  }
160
160
  }
161
- function Et() {
161
+ function Te() {
162
162
  {
163
163
  if (z--, z === 0) {
164
- var e = {
164
+ var t = {
165
165
  configurable: !0,
166
166
  enumerable: !0,
167
167
  writable: !0
168
168
  };
169
169
  Object.defineProperties(console, {
170
- log: I({}, e, {
171
- value: F
170
+ log: M({}, t, {
171
+ value: W
172
172
  }),
173
- info: I({}, e, {
173
+ info: M({}, t, {
174
174
  value: X
175
175
  }),
176
- warn: I({}, e, {
176
+ warn: M({}, t, {
177
177
  value: Q
178
178
  }),
179
- error: I({}, e, {
180
- value: ct
179
+ error: M({}, t, {
180
+ value: le
181
181
  }),
182
- group: I({}, e, {
183
- value: at
182
+ group: M({}, t, {
183
+ value: ae
184
184
  }),
185
- groupCollapsed: I({}, e, {
186
- value: tt
185
+ groupCollapsed: M({}, t, {
186
+ value: ee
187
187
  }),
188
- groupEnd: I({}, e, {
189
- value: et
188
+ groupEnd: M({}, t, {
189
+ value: te
190
190
  })
191
191
  });
192
192
  }
193
193
  z < 0 && u("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
194
194
  }
195
195
  }
196
- var bt = v.ReactCurrentDispatcher, Tt;
197
- function jt(e, d, b) {
196
+ var be = v.ReactCurrentDispatcher, Re;
197
+ function ke(t, d, b) {
198
198
  {
199
- if (Tt === void 0)
199
+ if (Re === void 0)
200
200
  try {
201
201
  throw Error();
202
- } catch (B) {
203
- var j = B.stack.trim().match(/\n( *(at )?)/);
204
- Tt = j && j[1] || "";
202
+ } catch (D) {
203
+ var j = D.stack.trim().match(/\n( *(at )?)/);
204
+ Re = j && j[1] || "";
205
205
  }
206
206
  return `
207
- ` + Tt + e;
207
+ ` + Re + t;
208
208
  }
209
209
  }
210
- var Ht = !1, Rt;
210
+ var He = !1, Ne;
211
211
  {
212
- var Kt = typeof WeakMap == "function" ? WeakMap : Map;
213
- Rt = new Kt();
212
+ var Ke = typeof WeakMap == "function" ? WeakMap : Map;
213
+ Ne = new Ke();
214
214
  }
215
- function Vt(e, d) {
216
- if (!e || Ht)
215
+ function Ve(t, d) {
216
+ if (!t || He)
217
217
  return "";
218
218
  {
219
- var b = Rt.get(e);
219
+ var b = Ne.get(t);
220
220
  if (b !== void 0)
221
221
  return b;
222
222
  }
223
223
  var j;
224
- Ht = !0;
225
- var B = Error.prepareStackTrace;
224
+ He = !0;
225
+ var D = Error.prepareStackTrace;
226
226
  Error.prepareStackTrace = void 0;
227
- var D;
228
- D = bt.current, bt.current = null, zt();
227
+ var q;
228
+ q = be.current, be.current = null, De();
229
229
  try {
230
230
  if (d) {
231
- var M = function() {
231
+ var O = function() {
232
232
  throw Error();
233
233
  };
234
- if (Object.defineProperty(M.prototype, "props", {
234
+ if (Object.defineProperty(O.prototype, "props", {
235
235
  set: function() {
236
236
  throw Error();
237
237
  }
238
238
  }), typeof Reflect == "object" && Reflect.construct) {
239
239
  try {
240
- Reflect.construct(M, []);
241
- } catch (ot) {
242
- j = ot;
240
+ Reflect.construct(O, []);
241
+ } catch (oe) {
242
+ j = oe;
243
243
  }
244
- Reflect.construct(e, [], M);
244
+ Reflect.construct(t, [], O);
245
245
  } else {
246
246
  try {
247
- M.call();
248
- } catch (ot) {
249
- j = ot;
247
+ O.call();
248
+ } catch (oe) {
249
+ j = oe;
250
250
  }
251
- e.call(M.prototype);
251
+ t.call(O.prototype);
252
252
  }
253
253
  } else {
254
254
  try {
255
255
  throw Error();
256
- } catch (ot) {
257
- j = ot;
256
+ } catch (oe) {
257
+ j = oe;
258
258
  }
259
- e();
259
+ t();
260
260
  }
261
- } catch (ot) {
262
- if (ot && j && typeof ot.stack == "string") {
263
- for (var R = ot.stack.split(`
264
- `), rt = j.stack.split(`
265
- `), Y = R.length - 1, Z = rt.length - 1; Y >= 1 && Z >= 0 && R[Y] !== rt[Z]; )
261
+ } catch (oe) {
262
+ if (oe && j && typeof oe.stack == "string") {
263
+ for (var R = oe.stack.split(`
264
+ `), re = j.stack.split(`
265
+ `), Y = R.length - 1, Z = re.length - 1; Y >= 1 && Z >= 0 && R[Y] !== re[Z]; )
266
266
  Z--;
267
267
  for (; Y >= 1 && Z >= 0; Y--, Z--)
268
- if (R[Y] !== rt[Z]) {
268
+ if (R[Y] !== re[Z]) {
269
269
  if (Y !== 1 || Z !== 1)
270
270
  do
271
- if (Y--, Z--, Z < 0 || R[Y] !== rt[Z]) {
272
- var pt = `
271
+ if (Y--, Z--, Z < 0 || R[Y] !== re[Z]) {
272
+ var pe = `
273
273
  ` + R[Y].replace(" at new ", " at ");
274
- return e.displayName && pt.includes("<anonymous>") && (pt = pt.replace("<anonymous>", e.displayName)), typeof e == "function" && Rt.set(e, pt), pt;
274
+ return t.displayName && pe.includes("<anonymous>") && (pe = pe.replace("<anonymous>", t.displayName)), typeof t == "function" && Ne.set(t, pe), pe;
275
275
  }
276
276
  while (Y >= 1 && Z >= 0);
277
277
  break;
278
278
  }
279
279
  }
280
280
  } finally {
281
- Ht = !1, bt.current = D, Et(), Error.prepareStackTrace = B;
281
+ He = !1, be.current = q, Te(), Error.prepareStackTrace = D;
282
282
  }
283
- var It = e ? e.displayName || e.name : "", kt = It ? jt(It) : "";
284
- return typeof e == "function" && Rt.set(e, kt), kt;
283
+ var Me = t ? t.displayName || t.name : "", $e = Me ? ke(Me) : "";
284
+ return typeof t == "function" && Ne.set(t, $e), $e;
285
285
  }
286
- function Qt(e, d, b) {
287
- return Vt(e, !1);
286
+ function Qe(t, d, b) {
287
+ return Ve(t, !1);
288
288
  }
289
- function te(e) {
290
- var d = e.prototype;
289
+ function et(t) {
290
+ var d = t.prototype;
291
291
  return !!(d && d.isReactComponent);
292
292
  }
293
- function G(e, d, b) {
294
- if (e == null)
293
+ function G(t, d, b) {
294
+ if (t == null)
295
295
  return "";
296
- if (typeof e == "function")
297
- return Vt(e, te(e));
298
- if (typeof e == "string")
299
- return jt(e);
300
- switch (e) {
301
- case f:
302
- return jt("Suspense");
296
+ if (typeof t == "function")
297
+ return Ve(t, et(t));
298
+ if (typeof t == "string")
299
+ return ke(t);
300
+ switch (t) {
303
301
  case p:
304
- return jt("SuspenseList");
302
+ return ke("Suspense");
303
+ case f:
304
+ return ke("SuspenseList");
305
305
  }
306
- if (typeof e == "object")
307
- switch (e.$$typeof) {
306
+ if (typeof t == "object")
307
+ switch (t.$$typeof) {
308
308
  case _:
309
- return Qt(e.render);
309
+ return Qe(t.render);
310
310
  case h:
311
- return G(e.type, d, b);
311
+ return G(t.type, d, b);
312
312
  case m: {
313
- var j = e, B = j._payload, D = j._init;
313
+ var j = t, D = j._payload, q = j._init;
314
314
  try {
315
- return G(D(B), d, b);
315
+ return G(q(D), d, b);
316
316
  } catch {
317
317
  }
318
318
  }
319
319
  }
320
320
  return "";
321
321
  }
322
- var U = Object.prototype.hasOwnProperty, ht = {}, ge = v.ReactDebugCurrentFrame;
323
- function Xt(e) {
324
- if (e) {
325
- var d = e._owner, b = G(e.type, e._source, d ? d.type : null);
326
- ge.setExtraStackFrame(b);
322
+ var U = Object.prototype.hasOwnProperty, he = {}, gt = v.ReactDebugCurrentFrame;
323
+ function Xe(t) {
324
+ if (t) {
325
+ var d = t._owner, b = G(t.type, t._source, d ? d.type : null);
326
+ gt.setExtraStackFrame(b);
327
327
  } else
328
- ge.setExtraStackFrame(null);
328
+ gt.setExtraStackFrame(null);
329
329
  }
330
- function ar(e, d, b, j, B) {
330
+ function or(t, d, b, j, D) {
331
331
  {
332
- var D = Function.call.bind(U);
333
- for (var M in e)
334
- if (D(e, M)) {
332
+ var q = Function.call.bind(U);
333
+ for (var O in t)
334
+ if (q(t, O)) {
335
335
  var R = void 0;
336
336
  try {
337
- if (typeof e[M] != "function") {
338
- var rt = Error((j || "React class") + ": " + b + " type `" + M + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[M] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
339
- throw rt.name = "Invariant Violation", rt;
337
+ if (typeof t[O] != "function") {
338
+ var re = Error((j || "React class") + ": " + b + " type `" + O + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[O] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
339
+ throw re.name = "Invariant Violation", re;
340
340
  }
341
- R = e[M](d, M, j, b, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
341
+ R = t[O](d, O, j, b, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
342
342
  } catch (Y) {
343
343
  R = Y;
344
344
  }
345
- R && !(R instanceof Error) && (Xt(B), u("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", j || "React class", b, M, typeof R), Xt(null)), R instanceof Error && !(R.message in ht) && (ht[R.message] = !0, Xt(B), u("Failed %s type: %s", b, R.message), Xt(null));
345
+ R && !(R instanceof Error) && (Xe(D), u("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", j || "React class", b, O, typeof R), Xe(null)), R instanceof Error && !(R.message in he) && (he[R.message] = !0, Xe(D), u("Failed %s type: %s", b, R.message), Xe(null));
346
346
  }
347
347
  }
348
348
  }
349
- var or = Array.isArray;
350
- function ee(e) {
351
- return or(e);
349
+ var nr = Array.isArray;
350
+ function tt(t) {
351
+ return nr(t);
352
352
  }
353
- function nr(e) {
353
+ function sr(t) {
354
354
  {
355
- var d = typeof Symbol == "function" && Symbol.toStringTag, b = d && e[Symbol.toStringTag] || e.constructor.name || "Object";
355
+ var d = typeof Symbol == "function" && Symbol.toStringTag, b = d && t[Symbol.toStringTag] || t.constructor.name || "Object";
356
356
  return b;
357
357
  }
358
358
  }
359
- function sr(e) {
359
+ function ir(t) {
360
360
  try {
361
- return be(e), !1;
361
+ return bt(t), !1;
362
362
  } catch {
363
363
  return !0;
364
364
  }
365
365
  }
366
- function be(e) {
367
- return "" + e;
366
+ function bt(t) {
367
+ return "" + t;
368
368
  }
369
- function he(e) {
370
- if (sr(e))
371
- return u("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", nr(e)), be(e);
369
+ function ht(t) {
370
+ if (ir(t))
371
+ return u("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", sr(t)), bt(t);
372
372
  }
373
- var me = v.ReactCurrentOwner, ir = {
373
+ var mt = v.ReactCurrentOwner, lr = {
374
374
  key: !0,
375
375
  ref: !0,
376
376
  __self: !0,
377
377
  __source: !0
378
- }, ye, xe;
379
- function lr(e) {
380
- if (U.call(e, "ref")) {
381
- var d = Object.getOwnPropertyDescriptor(e, "ref").get;
378
+ }, yt, xt;
379
+ function cr(t) {
380
+ if (U.call(t, "ref")) {
381
+ var d = Object.getOwnPropertyDescriptor(t, "ref").get;
382
382
  if (d && d.isReactWarning)
383
383
  return !1;
384
384
  }
385
- return e.ref !== void 0;
385
+ return t.ref !== void 0;
386
386
  }
387
- function cr(e) {
388
- if (U.call(e, "key")) {
389
- var d = Object.getOwnPropertyDescriptor(e, "key").get;
387
+ function dr(t) {
388
+ if (U.call(t, "key")) {
389
+ var d = Object.getOwnPropertyDescriptor(t, "key").get;
390
390
  if (d && d.isReactWarning)
391
391
  return !1;
392
392
  }
393
- return e.key !== void 0;
393
+ return t.key !== void 0;
394
394
  }
395
- function dr(e, d) {
396
- typeof e.ref == "string" && me.current;
395
+ function ur(t, d) {
396
+ typeof t.ref == "string" && mt.current;
397
397
  }
398
- function ur(e, d) {
398
+ function _r(t, d) {
399
399
  {
400
400
  var b = function() {
401
- ye || (ye = !0, u("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", d));
401
+ yt || (yt = !0, u("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", d));
402
402
  };
403
- b.isReactWarning = !0, Object.defineProperty(e, "key", {
403
+ b.isReactWarning = !0, Object.defineProperty(t, "key", {
404
404
  get: b,
405
405
  configurable: !0
406
406
  });
407
407
  }
408
408
  }
409
- function _r(e, d) {
409
+ function pr(t, d) {
410
410
  {
411
411
  var b = function() {
412
- xe || (xe = !0, u("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", d));
412
+ xt || (xt = !0, u("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", d));
413
413
  };
414
- b.isReactWarning = !0, Object.defineProperty(e, "ref", {
414
+ b.isReactWarning = !0, Object.defineProperty(t, "ref", {
415
415
  get: b,
416
416
  configurable: !0
417
417
  });
418
418
  }
419
419
  }
420
- var pr = function(e, d, b, j, B, D, M) {
420
+ var fr = function(t, d, b, j, D, q, O) {
421
421
  var R = {
422
422
  // This tag allows us to uniquely identify this as a React Element
423
423
  $$typeof: r,
424
424
  // Built-in properties that belong on the element
425
- type: e,
425
+ type: t,
426
426
  key: d,
427
427
  ref: b,
428
- props: M,
428
+ props: O,
429
429
  // Record the component responsible for creating this element.
430
- _owner: D
430
+ _owner: q
431
431
  };
432
432
  return R._store = {}, Object.defineProperty(R._store, "validated", {
433
433
  configurable: !1,
@@ -443,61 +443,61 @@ function Rr() {
443
443
  configurable: !1,
444
444
  enumerable: !1,
445
445
  writable: !1,
446
- value: B
446
+ value: D
447
447
  }), Object.freeze && (Object.freeze(R.props), Object.freeze(R)), R;
448
448
  };
449
- function fr(e, d, b, j, B) {
449
+ function gr(t, d, b, j, D) {
450
450
  {
451
- var D, M = {}, R = null, rt = null;
452
- b !== void 0 && (he(b), R = "" + b), cr(d) && (he(d.key), R = "" + d.key), lr(d) && (rt = d.ref, dr(d, B));
453
- for (D in d)
454
- U.call(d, D) && !ir.hasOwnProperty(D) && (M[D] = d[D]);
455
- if (e && e.defaultProps) {
456
- var Y = e.defaultProps;
457
- for (D in Y)
458
- M[D] === void 0 && (M[D] = Y[D]);
451
+ var q, O = {}, R = null, re = null;
452
+ b !== void 0 && (ht(b), R = "" + b), dr(d) && (ht(d.key), R = "" + d.key), cr(d) && (re = d.ref, ur(d, D));
453
+ for (q in d)
454
+ U.call(d, q) && !lr.hasOwnProperty(q) && (O[q] = d[q]);
455
+ if (t && t.defaultProps) {
456
+ var Y = t.defaultProps;
457
+ for (q in Y)
458
+ O[q] === void 0 && (O[q] = Y[q]);
459
459
  }
460
- if (R || rt) {
461
- var Z = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
462
- R && ur(M, Z), rt && _r(M, Z);
460
+ if (R || re) {
461
+ var Z = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
462
+ R && _r(O, Z), re && pr(O, Z);
463
463
  }
464
- return pr(e, R, rt, B, j, me.current, M);
464
+ return fr(t, R, re, D, j, mt.current, O);
465
465
  }
466
466
  }
467
- var re = v.ReactCurrentOwner, ve = v.ReactDebugCurrentFrame;
468
- function Nt(e) {
469
- if (e) {
470
- var d = e._owner, b = G(e.type, e._source, d ? d.type : null);
471
- ve.setExtraStackFrame(b);
467
+ var rt = v.ReactCurrentOwner, vt = v.ReactDebugCurrentFrame;
468
+ function Ie(t) {
469
+ if (t) {
470
+ var d = t._owner, b = G(t.type, t._source, d ? d.type : null);
471
+ vt.setExtraStackFrame(b);
472
472
  } else
473
- ve.setExtraStackFrame(null);
473
+ vt.setExtraStackFrame(null);
474
474
  }
475
- var ae;
476
- ae = !1;
477
- function oe(e) {
478
- return typeof e == "object" && e !== null && e.$$typeof === r;
475
+ var at;
476
+ at = !1;
477
+ function ot(t) {
478
+ return typeof t == "object" && t !== null && t.$$typeof === r;
479
479
  }
480
- function we() {
480
+ function wt() {
481
481
  {
482
- if (re.current) {
483
- var e = S(re.current.type);
484
- if (e)
482
+ if (rt.current) {
483
+ var t = S(rt.current.type);
484
+ if (t)
485
485
  return `
486
486
 
487
- Check the render method of \`` + e + "`.";
487
+ Check the render method of \`` + t + "`.";
488
488
  }
489
489
  return "";
490
490
  }
491
491
  }
492
- function gr(e) {
492
+ function br(t) {
493
493
  return "";
494
494
  }
495
- var Ce = {};
496
- function br(e) {
495
+ var Ct = {};
496
+ function hr(t) {
497
497
  {
498
- var d = we();
498
+ var d = wt();
499
499
  if (!d) {
500
- var b = typeof e == "string" ? e : e.displayName || e.name;
500
+ var b = typeof t == "string" ? t : t.displayName || t.name;
501
501
  b && (d = `
502
502
 
503
503
  Check the top-level render call using <` + b + ">.");
@@ -505,41 +505,41 @@ Check the top-level render call using <` + b + ">.");
505
505
  return d;
506
506
  }
507
507
  }
508
- function Se(e, d) {
508
+ function St(t, d) {
509
509
  {
510
- if (!e._store || e._store.validated || e.key != null)
510
+ if (!t._store || t._store.validated || t.key != null)
511
511
  return;
512
- e._store.validated = !0;
513
- var b = br(d);
514
- if (Ce[b])
512
+ t._store.validated = !0;
513
+ var b = hr(d);
514
+ if (Ct[b])
515
515
  return;
516
- Ce[b] = !0;
516
+ Ct[b] = !0;
517
517
  var j = "";
518
- e && e._owner && e._owner !== re.current && (j = " It was passed a child from " + S(e._owner.type) + "."), Nt(e), u('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', b, j), Nt(null);
518
+ t && t._owner && t._owner !== rt.current && (j = " It was passed a child from " + S(t._owner.type) + "."), Ie(t), u('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', b, j), Ie(null);
519
519
  }
520
520
  }
521
- function Le(e, d) {
521
+ function Lt(t, d) {
522
522
  {
523
- if (typeof e != "object")
523
+ if (typeof t != "object")
524
524
  return;
525
- if (ee(e))
526
- for (var b = 0; b < e.length; b++) {
527
- var j = e[b];
528
- oe(j) && Se(j, d);
525
+ if (tt(t))
526
+ for (var b = 0; b < t.length; b++) {
527
+ var j = t[b];
528
+ ot(j) && St(j, d);
529
529
  }
530
- else if (oe(e))
531
- e._store && (e._store.validated = !0);
532
- else if (e) {
533
- var B = x(e);
534
- if (typeof B == "function" && B !== e.entries)
535
- for (var D = B.call(e), M; !(M = D.next()).done; )
536
- oe(M.value) && Se(M.value, d);
530
+ else if (ot(t))
531
+ t._store && (t._store.validated = !0);
532
+ else if (t) {
533
+ var D = y(t);
534
+ if (typeof D == "function" && D !== t.entries)
535
+ for (var q = D.call(t), O; !(O = q.next()).done; )
536
+ ot(O.value) && St(O.value, d);
537
537
  }
538
538
  }
539
539
  }
540
- function hr(e) {
540
+ function mr(t) {
541
541
  {
542
- var d = e.type;
542
+ var d = t.type;
543
543
  if (d == null || typeof d == "string")
544
544
  return;
545
545
  var b;
@@ -553,97 +553,97 @@ Check the top-level render call using <` + b + ">.");
553
553
  return;
554
554
  if (b) {
555
555
  var j = S(d);
556
- ar(b, e.props, "prop", j, e);
557
- } else if (d.PropTypes !== void 0 && !ae) {
558
- ae = !0;
559
- var B = S(d);
560
- u("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", B || "Unknown");
556
+ or(b, t.props, "prop", j, t);
557
+ } else if (d.PropTypes !== void 0 && !at) {
558
+ at = !0;
559
+ var D = S(d);
560
+ u("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", D || "Unknown");
561
561
  }
562
562
  typeof d.getDefaultProps == "function" && !d.getDefaultProps.isReactClassApproved && u("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
563
563
  }
564
564
  }
565
- function mr(e) {
565
+ function yr(t) {
566
566
  {
567
- for (var d = Object.keys(e.props), b = 0; b < d.length; b++) {
567
+ for (var d = Object.keys(t.props), b = 0; b < d.length; b++) {
568
568
  var j = d[b];
569
569
  if (j !== "children" && j !== "key") {
570
- Nt(e), u("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", j), Nt(null);
570
+ Ie(t), u("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", j), Ie(null);
571
571
  break;
572
572
  }
573
573
  }
574
- e.ref !== null && (Nt(e), u("Invalid attribute `ref` supplied to `React.Fragment`."), Nt(null));
574
+ t.ref !== null && (Ie(t), u("Invalid attribute `ref` supplied to `React.Fragment`."), Ie(null));
575
575
  }
576
576
  }
577
- var je = {};
578
- function ke(e, d, b, j, B, D) {
577
+ var jt = {};
578
+ function kt(t, d, b, j, D, q) {
579
579
  {
580
- var M = W(e);
581
- if (!M) {
580
+ var O = B(t);
581
+ if (!O) {
582
582
  var R = "";
583
- (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (R += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
584
- var rt = gr();
585
- rt ? R += rt : R += we();
583
+ (t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (R += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
584
+ var re = br();
585
+ re ? R += re : R += wt();
586
586
  var Y;
587
- e === null ? Y = "null" : ee(e) ? Y = "array" : e !== void 0 && e.$$typeof === r ? (Y = "<" + (S(e.type) || "Unknown") + " />", R = " Did you accidentally export a JSX literal instead of a component?") : Y = typeof e, u("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Y, R);
587
+ t === null ? Y = "null" : tt(t) ? Y = "array" : t !== void 0 && t.$$typeof === r ? (Y = "<" + (S(t.type) || "Unknown") + " />", R = " Did you accidentally export a JSX literal instead of a component?") : Y = typeof t, u("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Y, R);
588
588
  }
589
- var Z = fr(e, d, b, B, D);
589
+ var Z = gr(t, d, b, D, q);
590
590
  if (Z == null)
591
591
  return Z;
592
- if (M) {
593
- var pt = d.children;
594
- if (pt !== void 0)
592
+ if (O) {
593
+ var pe = d.children;
594
+ if (pe !== void 0)
595
595
  if (j)
596
- if (ee(pt)) {
597
- for (var It = 0; It < pt.length; It++)
598
- Le(pt[It], e);
599
- Object.freeze && Object.freeze(pt);
596
+ if (tt(pe)) {
597
+ for (var Me = 0; Me < pe.length; Me++)
598
+ Lt(pe[Me], t);
599
+ Object.freeze && Object.freeze(pe);
600
600
  } else
601
601
  u("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
602
602
  else
603
- Le(pt, e);
603
+ Lt(pe, t);
604
604
  }
605
605
  if (U.call(d, "key")) {
606
- var kt = S(e), ot = Object.keys(d).filter(function(Sr) {
607
- return Sr !== "key";
608
- }), ne = ot.length > 0 ? "{key: someKey, " + ot.join(": ..., ") + ": ...}" : "{key: someKey}";
609
- if (!je[kt + ne]) {
610
- var Cr = ot.length > 0 ? "{" + ot.join(": ..., ") + ": ...}" : "{}";
606
+ var $e = S(t), oe = Object.keys(d).filter(function(Lr) {
607
+ return Lr !== "key";
608
+ }), nt = oe.length > 0 ? "{key: someKey, " + oe.join(": ..., ") + ": ...}" : "{key: someKey}";
609
+ if (!jt[$e + nt]) {
610
+ var Sr = oe.length > 0 ? "{" + oe.join(": ..., ") + ": ...}" : "{}";
611
611
  u(`A props object containing a "key" prop is being spread into JSX:
612
612
  let props = %s;
613
613
  <%s {...props} />
614
614
  React keys must be passed directly to JSX without using spread:
615
615
  let props = %s;
616
- <%s key={someKey} {...props} />`, ne, kt, Cr, kt), je[kt + ne] = !0;
616
+ <%s key={someKey} {...props} />`, nt, $e, Sr, $e), jt[$e + nt] = !0;
617
617
  }
618
618
  }
619
- return e === o ? mr(Z) : hr(Z), Z;
619
+ return t === o ? yr(Z) : mr(Z), Z;
620
620
  }
621
621
  }
622
- function yr(e, d, b) {
623
- return ke(e, d, b, !0);
622
+ function xr(t, d, b) {
623
+ return kt(t, d, b, !0);
624
624
  }
625
- function xr(e, d, b) {
626
- return ke(e, d, b, !1);
625
+ function vr(t, d, b) {
626
+ return kt(t, d, b, !1);
627
627
  }
628
- var vr = xr, wr = yr;
629
- Wt.Fragment = o, Wt.jsx = vr, Wt.jsxs = wr;
630
- }()), Wt;
628
+ var wr = vr, Cr = xr;
629
+ qe.Fragment = o, qe.jsx = wr, qe.jsxs = Cr;
630
+ }()), qe;
631
631
  }
632
- var Te;
632
+ var Tt;
633
633
  function Nr() {
634
- return Te || (Te = 1, process.env.NODE_ENV === "production" ? Yt.exports = Tr() : Yt.exports = Rr()), Yt.exports;
634
+ return Tt || (Tt = 1, process.env.NODE_ENV === "production" ? Ye.exports = Tr() : Ye.exports = Rr()), Ye.exports;
635
635
  }
636
636
  var n = Nr();
637
- const Ir = (t) => t.as === "a", Mr = (t) => t.as === void 0 || t.as === "button", Mt = (t) => t.displayAs === void 0 || t.displayAs === "button", se = (t) => t.displayAs === "link", Or = "_button_6bymk_1", Ar = "_link_6bymk_17", Pr = "_disabled_6bymk_22", Br = "_loading_6bymk_22", zr = "_neutral_6bymk_50", Dr = "_accent_6bymk_54", Wr = "_positive_6bymk_58", Fr = "_negative_6bymk_62", qr = "_contrast_6bymk_66", Hr = "_special_6bymk_70", Vr = "_primary_6bymk_74", Xr = "_secondary_6bymk_75", Yr = "_tertiary_6bymk_76", Zr = "_spaceBetween_6bymk_116", Gr = "_rightGroup_6bymk_116", Ur = "_label_6bymk_136", Jr = "_iconOnly_6bymk_155", Kr = "_stretched_6bymk_171", Qr = "_icon_6bymk_155", ta = "_postfix_6bymk_176", ea = "_underline_6bymk_202", ra = "_warning_6bymk_1082", aa = "_withSubcaption_6bymk_1268", oa = "_subcaption_6bymk_1273", na = "_loader_6bymk_1279", sa = "_spin_6bymk_1", ia = "_l_6bymk_17", la = "_m_6bymk_1318", ca = "_s_6bymk_70", da = "_xs_6bymk_1364", ua = "_iconRight_6bymk_1410", V = {
637
+ const Ir = (e) => e.as === "a", Mr = (e) => e.as === void 0 || e.as === "button", Oe = (e) => e.displayAs === void 0 || e.displayAs === "button", st = (e) => e.displayAs === "link", Or = "_button_6bymk_1", Ar = "_link_6bymk_17", Pr = "_disabled_6bymk_22", Br = "_loading_6bymk_22", Dr = "_neutral_6bymk_50", zr = "_accent_6bymk_54", qr = "_positive_6bymk_58", Wr = "_negative_6bymk_62", Fr = "_contrast_6bymk_66", Hr = "_special_6bymk_70", Vr = "_primary_6bymk_74", Xr = "_secondary_6bymk_75", Yr = "_tertiary_6bymk_76", Zr = "_spaceBetween_6bymk_116", Gr = "_rightGroup_6bymk_116", Ur = "_label_6bymk_136", Jr = "_iconOnly_6bymk_155", Kr = "_stretched_6bymk_171", Qr = "_icon_6bymk_155", ea = "_postfix_6bymk_176", ta = "_underline_6bymk_202", ra = "_warning_6bymk_1082", aa = "_withSubcaption_6bymk_1268", oa = "_subcaption_6bymk_1273", na = "_loader_6bymk_1279", sa = "_spin_6bymk_1", ia = "_l_6bymk_17", la = "_m_6bymk_1318", ca = "_s_6bymk_70", da = "_xs_6bymk_1364", ua = "_iconRight_6bymk_1410", V = {
638
638
  button: Or,
639
639
  link: Ar,
640
640
  disabled: Pr,
641
641
  loading: Br,
642
- neutral: zr,
643
- accent: Dr,
644
- positive: Wr,
645
- negative: Fr,
646
- contrast: qr,
642
+ neutral: Dr,
643
+ accent: zr,
644
+ positive: qr,
645
+ negative: Wr,
646
+ contrast: Fr,
647
647
  special: Hr,
648
648
  primary: Vr,
649
649
  secondary: Xr,
@@ -654,8 +654,8 @@ const Ir = (t) => t.as === "a", Mr = (t) => t.as === void 0 || t.as === "button"
654
654
  iconOnly: Jr,
655
655
  stretched: Kr,
656
656
  icon: Qr,
657
- postfix: ta,
658
- underline: ea,
657
+ postfix: ea,
658
+ underline: ta,
659
659
  warning: ra,
660
660
  withSubcaption: aa,
661
661
  subcaption: oa,
@@ -683,20 +683,20 @@ const Ir = (t) => t.as === "a", Mr = (t) => t.as === void 0 || t.as === "button"
683
683
  "as",
684
684
  "showUnderline",
685
685
  "isExternal"
686
- ]), Re = (t) => {
686
+ ]), Rt = (e) => {
687
687
  const r = {};
688
- for (const a in t)
689
- _a.has(a) || (r[a] = t[a]);
688
+ for (const a in e)
689
+ _a.has(a) || (r[a] = e[a]);
690
690
  return r;
691
691
  }, pa = {
692
692
  l: "typography-subtitle-1-semibold",
693
693
  m: "typography-label-2-regular",
694
694
  s: "typography-label-3-regular"
695
695
  };
696
- function fa(t) {
697
- return pa[t] || "typography-label-2-regular";
696
+ function fa(e) {
697
+ return pa[e] || "typography-label-2-regular";
698
698
  }
699
- const it = {
699
+ const ie = {
700
700
  "typography-title-1-semibold": "_typography-title-1-semibold_1lyxn_1",
701
701
  "typography-title-2-semibold": "_typography-title-2-semibold_1lyxn_10",
702
702
  "typography-title-3-semibold": "_typography-title-3-semibold_1lyxn_19",
@@ -720,8 +720,8 @@ const it = {
720
720
  "typography-paragraph-2-regular": "_typography-paragraph-2-regular_1lyxn_176",
721
721
  "typography-paragraph-3-regular": "_typography-paragraph-3-regular_1lyxn_185",
722
722
  "typography-paragraph-4-regular": "_typography-paragraph-4-regular_1lyxn_194"
723
- }, Ne = ({
724
- isLoading: t,
723
+ }, Nt = ({
724
+ isLoading: e,
725
725
  iconRight: r,
726
726
  iconLeft: a,
727
727
  children: o,
@@ -730,15 +730,15 @@ const it = {
730
730
  size: l,
731
731
  isAsButton: c
732
732
  }) => {
733
- if (t && c)
733
+ if (e && c)
734
734
  return /* @__PURE__ */ n.jsx("span", { className: V.loader, "data-testid": "button-loader", "aria-hidden": "true" });
735
- const _ = r && c || r && !c && l, f = s && c && l !== "s" && l !== "xs";
736
- return /* @__PURE__ */ n.jsxs(Pt, { children: [
737
- f && /* @__PURE__ */ n.jsxs(Pt, { children: [
735
+ const _ = r && c || r && !c && l, p = s && c && l !== "s" && l !== "xs";
736
+ return /* @__PURE__ */ n.jsxs(Pe, { children: [
737
+ p && /* @__PURE__ */ n.jsxs(Pe, { children: [
738
738
  /* @__PURE__ */ n.jsx("span", { "data-testid": "button-label", className: V.label, children: o }),
739
739
  /* @__PURE__ */ n.jsx("span", { "data-testid": "button-subcaption", className: V.subcaption, children: s })
740
740
  ] }),
741
- !f && o && /* @__PURE__ */ n.jsxs(Pt, { children: [
741
+ !p && o && /* @__PURE__ */ n.jsxs(Pe, { children: [
742
742
  /* @__PURE__ */ n.jsxs("span", { "data-testid": "button-label", className: V.label, children: [
743
743
  !c && a && /* @__PURE__ */ n.jsx("span", { "data-testid": "button-left-icon", className: V.icon, children: a }),
744
744
  o,
@@ -749,20 +749,20 @@ const it = {
749
749
  i && c && /* @__PURE__ */ n.jsx("span", { "data-testid": "button-postfix", className: V.postfix, children: i })
750
750
  ] })
751
751
  ] }),
752
- !f && !o && /* @__PURE__ */ n.jsx("span", { "data-testid": "button-icon", className: V.icon, children: r })
752
+ !p && !o && /* @__PURE__ */ n.jsx("span", { "data-testid": "button-icon", className: V.icon, children: r })
753
753
  ] });
754
- }, ga = K((t, r) => {
754
+ }, ga = K((e, r) => {
755
755
  const {
756
756
  mode: a = "primary",
757
757
  size: o = "m",
758
- buttonStyle: i = Mt(t) ? "neutral" : "accent",
758
+ buttonStyle: i = Oe(e) ? "neutral" : "accent",
759
759
  disabled: s = !1,
760
760
  displayAs: l = "button",
761
761
  iconRight: c,
762
762
  className: _,
763
- children: f,
764
- tabIndex: p
765
- } = t, h = Mt(t) ? t.subcaption : void 0, m = Mt(t) ? t.postfix : void 0, g = Mt(t) ? t.stretched : void 0, y = !(se(t) && t.size === void 0), C = se(t) && y ? t.iconLeft : void 0, x = !!(l === "button" && "loading" in t && t.loading), v = Mt(t) ? s : s || x, u = !v && !x, w = y ? c : void 0, L = !!(w && !f), E = typeof g == "object" ? g.justify === "space-between" : void 0, k = se(t) ? fa(t.size ?? "m") : void 0, T = k ? it[k] : void 0, O = v || x ? -1 : p, A = $(
763
+ children: p,
764
+ tabIndex: f
765
+ } = e, h = Oe(e) ? e.subcaption : void 0, m = Oe(e) ? e.postfix : void 0, g = Oe(e) ? e.stretched : void 0, x = !(st(e) && e.size === void 0), C = st(e) && x ? e.iconLeft : void 0, y = !!(l === "button" && "loading" in e && e.loading), v = Oe(e) ? s : s || y, u = !v && !y, w = x ? c : void 0, L = !!(w && !p), E = typeof g == "object" ? g.justify === "space-between" : void 0, k = st(e) ? fa(e.size ?? "m") : void 0, T = k ? ie[k] : void 0, N = v || y ? -1 : f, A = $(
766
766
  V.button,
767
767
  V[o],
768
768
  V[a],
@@ -770,89 +770,89 @@ const it = {
770
770
  T,
771
771
  {
772
772
  [V.disabled]: v,
773
- [V.loading]: l === "button" && "loading" in t && t.loading,
773
+ [V.loading]: l === "button" && "loading" in e && e.loading,
774
774
  [V.stretched]: g,
775
775
  [V.spaceBetween]: E,
776
776
  [V.withSubcaption]: h && o !== "s" && o !== "xs",
777
777
  [V.iconOnly]: L,
778
778
  [V.link]: l === "link",
779
- [V.underline]: l === "link" && "showUnderline" in t && t.showUnderline
779
+ [V.underline]: l === "link" && "showUnderline" in e && e.showUnderline
780
780
  },
781
781
  _
782
- ), W = {
783
- isLoading: x,
782
+ ), B = {
783
+ isLoading: y,
784
784
  iconRight: w,
785
785
  iconLeft: C,
786
- children: f,
786
+ children: p,
787
787
  postfix: m,
788
788
  subcaption: h,
789
789
  size: o,
790
- isAsButton: Mt(t)
790
+ isAsButton: Oe(e)
791
791
  };
792
- if (Ir(t)) {
793
- const { href: q, onClick: P, style: S, target: I, rel: z, "data-testid": F, ...X } = t, Q = Re(X), ct = I ?? (t.isExternal ? "_blank" : void 0);
794
- let at = z;
795
- if (ct === "_blank") {
796
- const et = new Set((z ?? "").split(/\s+/).filter(Boolean));
797
- et.add("noopener").add("noreferrer"), at = Array.from(et).join(" ");
798
- }
799
- const tt = (et) => {
792
+ if (Ir(e)) {
793
+ const { href: F, onClick: P, style: S, target: M, rel: z, "data-testid": W, ...X } = e, Q = Rt(X), le = M ?? (e.isExternal ? "_blank" : void 0);
794
+ let ae = z;
795
+ if (le === "_blank") {
796
+ const te = new Set((z ?? "").split(/\s+/).filter(Boolean));
797
+ te.add("noopener").add("noreferrer"), ae = Array.from(te).join(" ");
798
+ }
799
+ const ee = (te) => {
800
800
  if (!u) {
801
- et.preventDefault();
801
+ te.preventDefault();
802
802
  return;
803
803
  }
804
- P == null || P(et);
804
+ P == null || P(te);
805
805
  };
806
806
  return /* @__PURE__ */ n.jsx(
807
807
  "a",
808
808
  {
809
809
  ref: r,
810
810
  className: A,
811
- href: u ? q : void 0,
812
- tabIndex: O,
813
- onClick: tt,
814
- "data-testid": F,
815
- "aria-disabled": v || x,
811
+ href: u ? F : void 0,
812
+ tabIndex: N,
813
+ onClick: ee,
814
+ "data-testid": W,
815
+ "aria-disabled": v || y,
816
816
  style: S,
817
- target: ct,
818
- rel: at,
817
+ target: le,
818
+ rel: ae,
819
819
  ...Q,
820
- children: /* @__PURE__ */ n.jsx(Ne, { ...W })
820
+ children: /* @__PURE__ */ n.jsx(Nt, { ...B })
821
821
  }
822
822
  );
823
823
  }
824
- if (Mr(t)) {
825
- const { type: q = "button", onClick: P, style: S, "data-testid": I, ...z } = t, F = Re(z), X = (Q) => {
824
+ if (Mr(e)) {
825
+ const { type: F = "button", onClick: P, style: S, "data-testid": M, ...z } = e, W = Rt(z), X = (Q) => {
826
826
  u && P && P(Q);
827
827
  };
828
828
  return /* @__PURE__ */ n.jsx(
829
829
  "button",
830
830
  {
831
831
  ref: r,
832
- type: q,
832
+ type: F,
833
833
  className: A,
834
834
  disabled: v,
835
- tabIndex: O,
835
+ tabIndex: N,
836
836
  onClick: X,
837
- "data-testid": I,
838
- "aria-disabled": v || x,
837
+ "data-testid": M,
838
+ "aria-disabled": v || y,
839
839
  style: S,
840
- ...F,
841
- children: /* @__PURE__ */ n.jsx(Ne, { ...W })
840
+ ...W,
841
+ children: /* @__PURE__ */ n.jsx(Nt, { ...B })
842
842
  }
843
843
  );
844
844
  }
845
845
  return null;
846
846
  });
847
- var ie = { exports: {} };
847
+ var it = { exports: {} };
848
848
  /*!
849
849
  Copyright (c) 2018 Jed Watson.
850
850
  Licensed under the MIT License (MIT), see
851
851
  http://jedwatson.github.io/classnames
852
852
  */
853
- var Ie;
853
+ var It;
854
854
  function ba() {
855
- return Ie || (Ie = 1, function(t) {
855
+ return It || (It = 1, function(e) {
856
856
  (function() {
857
857
  var r = {}.hasOwnProperty;
858
858
  function a() {
@@ -879,12 +879,12 @@ function ba() {
879
879
  function i(s, l) {
880
880
  return l ? s ? s + " " + l : s + l : s;
881
881
  }
882
- t.exports ? (a.default = a, t.exports = a) : window.classNames = a;
882
+ e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
883
883
  })();
884
- }(ie)), ie.exports;
884
+ }(it)), it.exports;
885
885
  }
886
886
  var ha = ba();
887
- const Lt = /* @__PURE__ */ Er(ha), ma = "_avatar_47gdj_18", ya = "_clickable_47gdj_42", xa = "_icon_47gdj_59", va = "_disabled_47gdj_64", wa = "_loading_47gdj_69", Ca = "_image_47gdj_75", Sa = "_name_47gdj_75", yt = {
887
+ const je = /* @__PURE__ */ Er(ha), ma = "_avatar_19ug4_18", ya = "_clickable_19ug4_40", xa = "_icon_19ug4_57", va = "_disabled_19ug4_62", wa = "_loading_19ug4_67", Ca = "_image_19ug4_73", Sa = "_name_19ug4_73", ye = {
888
888
  avatar: ma,
889
889
  clickable: ya,
890
890
  icon: xa,
@@ -892,25 +892,25 @@ const Lt = /* @__PURE__ */ Er(ha), ma = "_avatar_47gdj_18", ya = "_clickable_47g
892
892
  loading: wa,
893
893
  image: Ca,
894
894
  name: Sa,
895
- "variant-filled": "_variant-filled_47gdj_127",
896
- "color-brand": "_color-brand_47gdj_132",
897
- "color-red": "_color-red_47gdj_136",
898
- "color-orange": "_color-orange_47gdj_140",
899
- "color-yellow": "_color-yellow_47gdj_144",
900
- "color-green": "_color-green_47gdj_148",
901
- "color-blue": "_color-blue_47gdj_152",
902
- "color-lightblue": "_color-lightblue_47gdj_156",
903
- "color-purple": "_color-purple_47gdj_160",
904
- "color-gray": "_color-gray_47gdj_164",
905
- "color-contrast": "_color-contrast_47gdj_168",
906
- "variant-light": "_variant-light_47gdj_174",
907
- "variant-outline": "_variant-outline_47gdj_246"
908
- }, Me = 99;
909
- function La(t) {
910
- return t < Me ? `+${t}` : `${Me}+`;
895
+ "variant-filled": "_variant-filled_19ug4_125",
896
+ "color-brand": "_color-brand_19ug4_130",
897
+ "color-red": "_color-red_19ug4_134",
898
+ "color-orange": "_color-orange_19ug4_138",
899
+ "color-yellow": "_color-yellow_19ug4_142",
900
+ "color-green": "_color-green_19ug4_146",
901
+ "color-blue": "_color-blue_19ug4_150",
902
+ "color-lightblue": "_color-lightblue_19ug4_154",
903
+ "color-purple": "_color-purple_19ug4_158",
904
+ "color-gray": "_color-gray_19ug4_162",
905
+ "color-contrast": "_color-contrast_19ug4_166",
906
+ "variant-light": "_variant-light_19ug4_172",
907
+ "variant-outline": "_variant-outline_19ug4_244"
908
+ }, Mt = 99;
909
+ function La(e) {
910
+ return e < Mt ? `+${e}` : `${Mt}+`;
911
911
  }
912
- function Jt(t) {
913
- const r = typeof t == "string" ? t : JSON.stringify(t);
912
+ function Je(e) {
913
+ const r = typeof e == "string" ? e : JSON.stringify(e);
914
914
  let a = 5381;
915
915
  for (let o = 0; o < r.length; o++) {
916
916
  const i = r.charCodeAt(o);
@@ -918,7 +918,7 @@ function Jt(t) {
918
918
  }
919
919
  return a >>> 0;
920
920
  }
921
- const ja = (t, r, a) => Math.min(Math.max(t, r), a), ka = [
921
+ const ja = (e, r, a) => Math.min(Math.max(e, r), a), ka = [
922
922
  "red",
923
923
  "orange",
924
924
  "yellow",
@@ -927,16 +927,16 @@ const ja = (t, r, a) => Math.min(Math.max(t, r), a), ka = [
927
927
  "lightblue",
928
928
  "purple"
929
929
  ];
930
- function $a(t, r = ka) {
931
- if (!t) return "gray";
932
- const a = Jt(t), o = Math.abs(a) % r.length;
930
+ function $a(e, r = ka) {
931
+ if (!e) return "gray";
932
+ const a = Je(e), o = Math.abs(a) % r.length;
933
933
  return r[o];
934
934
  }
935
- const Oe = 2;
936
- function Ea(t) {
937
- if (!t) return "";
938
- const r = t.trim().split(/\s+/);
939
- return r.length === 1 ? t.slice(0, Oe).toUpperCase() : r.map((a) => a[0]).slice(0, Oe).join("").toUpperCase();
935
+ const Ot = 2;
936
+ function Ea(e) {
937
+ if (!e) return "";
938
+ const r = e.trim().split(/\s+/);
939
+ return r.length === 1 ? e.slice(0, Ot).toUpperCase() : r.map((a) => a[0]).slice(0, Ot).join("").toUpperCase();
940
940
  }
941
941
  const Ta = {
942
942
  24: 8,
@@ -949,8 +949,8 @@ const Ta = {
949
949
  96: 24,
950
950
  208: 8
951
951
  };
952
- function Ra(t, r) {
953
- return r === "circle" ? t / 2 : Ta[t] || 12;
952
+ function Ra(e, r) {
953
+ return r === "circle" ? e / 2 : Ta[e] || 12;
954
954
  }
955
955
  const Na = {
956
956
  24: "typography-subtitle-4-semibold",
@@ -963,15 +963,15 @@ const Na = {
963
963
  96: "typography-title-3-semibold",
964
964
  208: "typography-title-1-semibold"
965
965
  };
966
- function Ia(t) {
967
- return Na[t] || "typography-subtitle-1-semibold";
966
+ function Ia(e) {
967
+ return Na[e] || "typography-subtitle-1-semibold";
968
968
  }
969
969
  const Ma = "data:image/svg+xml,%3csvg%20opacity='0.9'%20preserveAspectRatio='xMinYMin%20meet'%20viewBox='0%200%20208%20208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cdefs%3e%3cfilter%20id='shadowW'%20filterUnits='userSpaceOnUse'%3e%3cfeDropShadow%20dx='-2'%20dy='-1'%20stdDeviation='5'%20flood-color='rgba(0,0,0,0.5)'/%3e%3c/filter%3e%3c/defs%3e%3cg%20filter='url(%23shadowW)'%3e%3cpath%20d='M23.9835%20174.59L113.41%20157.735L225.224%20191.671C225.224%20191.671%20250.259%20479.463%20243.525%20478.31C236.655%20477.167%20-7.79434%20482.039%20-8.17876%20476.943C-8.56308%20471.849%20-34.4445%20341.701%20-34.4445%20341.701L23.9835%20174.59Z'%20fill='darkgrey'/%3e%3cpath%20d='M-54.5558%20212.781C-85.688%20282.842%20-94.2122%20303.839%20-94.2122%20303.839L-213.504%20213.002C-214.953%20197.465%20-218.637%20181.68%20-225.636%20167.806C-234.412%20150.606%20-246.154%20149.138%20-259.595%20136.166C-267.368%20128.583%20-275.073%20140.242%20-267.3%20147.825L-259.338%20156.087C-258.869%20160.482%20-255.518%20171.861%20-254.634%20176.226C-267.475%20165.702%20-284.704%20150.246%20-300.665%20144.25C-305.079%20142.644%20-308.958%20144.46%20-311.08%20147.528C-314.628%20148.211%20-317.292%20151.458%20-317.858%20154.963C-321.103%20157.839%20-322.625%20163.354%20-319.254%20167.67C-321.407%20170.323%20-322.376%20173.998%20-320.433%20177.728C-320.274%20177.993%20-320.127%20178.12%20-320.106%20178.395C-320.997%20179.432%20-319.498%20182.78%20-320.337%20184.506C-324.035%20192.401%20-309.357%20221.757%20-285.221%20235.167C-277.291%20250.355%20-262.477%20259.485%20-261.354%20259.677C-234.512%20290.608%20-141.301%20400.999%20-97.2451%20436.169C-47.2868%20476.158%20-12.9855%20418.735%2010.6424%20317.115C34.2598%20215.358%2037.6457%20181.315%2037.6457%20181.315L116.374%20158.482C14.4423%20160.079%20-23.2964%20142.572%20-54.5558%20212.781Z'%20fill='darkgrey'/%3e%3cpath%20d='M116.781%20158.313L114.885%20158.871L61.4974%20174.391L38.0516%20181.145C38.0516%20181.145%2034.6758%20215.325%2011.0481%20316.945C9.47097%20323.572%207.88344%20330.061%206.27525%20336.275C-22.5942%20315.191%20-52.217%20295.131%20-82.0946%20275.368C-75.9632%20261.197%20-67.1116%20240.867%20-54.4359%20212.493C-30.4015%20158.477%20-2.57835%20156.516%2055.793%20157.512C72.5674%20157.77%2091.7239%20158.403%20114.133%20158.096C114.98%20158.309%20115.807%20158.247%20116.781%20158.313Z'%20fill='darkgrey'/%3e%3cpath%20d='M113.269%20157.745C175.26%20159.023%20252.771%20143.897%20266.382%20199.504C279.867%20255.26%20288.576%20280.774%20295.899%20320.932C303.221%20361.091%20322.043%20408.689%20271.897%20417.595C221.75%20426.502%20106.238%20444.495%20106.238%20444.495L78.8767%20384.662C78.8767%20384.662%20170.648%20343.813%20200.242%20332.303L185.17%20211.448L113.269%20157.745Z'%20fill='darkgrey'/%3e%3cpath%20d='M292.122%20302.108C260.506%20305.187%20228.942%20308.953%20198.219%20316.533L185.178%20211.585L140.855%20178.374L114.874%20158.871L114.144%20158.372L113.266%20157.746C127.138%20158.084%20141.774%20157.534%20156.283%20157.131C206.726%20155.818%20255.78%20156.271%20266.252%20199.654C277.643%20246.012%20285.665%20271.578%20292.122%20302.108Z'%20fill='darkgrey'/%3e%3cpath%20d='M108.001%20172.269C119.623%20168.485%20130.939%20164.308%20142.395%20160.12L112.224%20101.608L68.8441%20124.959C69.7222%20125.585%2079.0944%20154.372%2086.547%20177.904C93.7406%20175.977%20100.965%20174.463%20108.001%20172.269Z'%20fill='white'/%3e%3cpath%20d='M99.3655%20112.96C99.0934%20111.18%2098.8213%20109.401%2098.2722%20107.642L68.9864%20125.083C69.5682%20125.455%2073.8492%20138.148%2078.7406%20153.426C89.4856%20141.676%2097.5757%20127.773%2099.3655%20112.96Z'%20fill='darkgrey'/%3e%3cpath%20d='M144.524%2069.1209C143.075%2053.5829%20118.601%2039.3668%2099.9856%2038.5556C91.9262%2038.1943%2089.5107%2031.8684%2086.0605%2037.5291C77.5782%2051.7392%2049.6837%2094.9694%2052.2654%20110.837C56.0862%20133.951%2084.5691%20137.063%20102.228%20127.008C120.022%20116.942%20146.6%2091.1195%20144.524%2069.1209Z'%20fill='white'/%3e%3cpath%20d='M145.753%2072.4915C147.93%2068.3116%20146.317%2063.4483%20142.804%2060.944C142.656%2060.8166%20142.656%2060.8166%20142.507%2060.6894C143.028%2052.8957%20136.915%2047.1257%20129.979%2046.9567C129.007%2045.0914%20127.379%2043.691%20125.24%2042.883C124.903%2042.0778%20124.575%2041.4101%20123.982%2040.9009C122.651%2039.7551%20121.095%2039.3187%20119.441%2039.4435C118.081%2036.0843%20115.925%2033.2005%20112.495%2031.7977C110.348%2030.8519%20108.027%2031.304%20106.311%2032.4027C102.006%2028.5734%2096.789%2025.5051%2091.8112%2025.6038C89.736%2025.6218%2085.678%2026.8973%2084.2724%2032.1268C82.1968%2032.1449%2080.3522%2033.3917%2079.5546%2035.6676C78.427%2039.0759%2080.339%2042.3935%2083.1109%2044.2613C84.719%2045.3863%2086.9841%2046.0462%2089.0391%2045.7526C95.9026%2052.2969%20114.028%2063.1149%20118.148%2062.6657C115.532%2070.202%20113.218%2087.2698%20122.007%2088.1299C124.21%2095.3028%20116.99%20107.894%20121.368%20112.688C129.639%20104.863%20137.246%2095.5655%20141.359%2085.8391C141.496%2085.8288%20141.772%2085.808%20142.047%2085.7872C148.14%2083.9429%20149.527%2076.6377%20145.753%2072.4915Z'%20fill='darkgrey'/%3e%3cpath%20d='M140.151%20104.76C141.594%2096.3432%20132.67%2086.3542%20121.049%2088.3387C116.251%2096.3166%20111.305%20104.167%20106.21%20111.89C109.317%20116.364%20118.141%20121.376%20125.535%20120.264C133.872%20118.804%20138.613%20113.738%20140.151%20104.76Z'%20fill='white'/%3e%3cpath%20d='M156.755%20156.883C153.217%20165.043%20147.805%20172.237%20141.188%20178.136C133.925%20184.639%20125.011%20189.465%20114.809%20191.896C95.2214%20196.558%2072.2825%20189.842%2061.6836%20174.164C58.5559%20169.414%2056.4778%20163.894%2056%20157.561C72.7744%20157.818%2091.9311%20158.451%20114.34%20158.144L113.462%20157.519C127.463%20157.709%20142.098%20157.159%20156.755%20156.883Z'%20fill='white'/%3e%3c/g%3e%3c/svg%3e", Oa = "data:image/svg+xml,%3csvg%20viewBox='0%200%20208%20208'%20opacity='0.9'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23shadow)'%3e%3cpath%20filter='url(%23shadow)'%20d='M127.173%2079.8894C127.189%2079.1933%20128.026%2079.1201%20128.436%2079.4316C128.754%2079.6091%20128.895%2080.1021%20128.809%2080.5518C129.241%2083.1982%20129.581%2085.7106%20130.013%2088.357C136.835%2079.7558%20149.235%2076.9989%20158.979%2083.174C168.086%2088.9941%20171.001%20111.745%20135.501%20120.502C131.5%20123.502%20117%20125.002%20111.753%20103.279C111.682%2093.2427%20118.526%2084.529%20127.173%2079.8894Z'%20fill='darkgrey'/%3e%3cpath%20d='M28.0441%20167.788C21.826%20195.052%2018.7311%20223.361%2014.1881%20250.885C9.42226%20279.982%204.68042%20308.967%20-0.0853729%20338.064L-1.00047%20342.848C14.5039%20346.419%2030.8401%20350.407%2046.3671%20353.868C90.9428%20363.918%20134.837%20376.598%20179.293%20387.201C200.345%20337.142%20219.778%20286.027%20235.82%20234.041C243.806%20208.213%20244.758%20181.282%20225.443%20160.043C216.099%20149.841%20204.347%20143.858%20191.629%20140.212C188.924%20139.377%20186.108%20138.517%20183.355%20137.905C179.635%20136.959%20175.781%20136.1%20171.989%20135.487C167.45%20134.592%20162.753%20133.893%20158.277%20133.243L127.871%20128.671L116.251%20126.895C115.457%20126.833%20114.686%20126.662%20113.915%20126.49C102.87%20124.724%2091.7381%20122.824%2080.6188%20123.013C69.1682%20123.13%2056.9012%20125.964%2047.8363%20133.224C36.9821%20141.825%2031.1109%20154.087%2028.0441%20167.788Z'%20fill='darkgrey'/%3e%3cpath%20d='M103.74%20123.732L95.6984%20197.532C95.6984%20197.532%20137.13%20157.315%20158.742%20133.268C155.051%20132.316%20151.227%20131.449%20147.465%20130.831C142.962%20129.929%20138.302%20129.224%20133.861%20128.569L103.74%20123.732Z'%20fill='white'/%3e%3cpath%20d='M97.8143%20115.298C99.0227%20116.625%20108.229%20179.332%20108.229%20179.332L148.012%20142.157L129%20100L97.8143%20115.298Z'%20fill='white'/%3e%3cpath%20d='M101.71%20148.534C100.068%20137.868%2098.402%20127.706%2098.0001%20127.274L112.673%20122C113.831%20131.449%20108.467%20141.173%20101.71%20148.534Z'%20fill='grey'/%3e%3cpath%20d='M121.545%2040.7383C111.161%2030.599%2085.3871%2035.4814%2071.93%2046.2862C66.0912%2051.0172%2060.5415%2047.9025%2061.6427%2054.0842C64.3767%2069.3597%2074.0239%20120.283%2082.7631%20126.794C100.374%20139.728%20121.191%20125.699%20127.329%20107.658C133.554%2089.7517%20136.293%2055.2372%20121.545%2040.7383Z'%20fill='white'/%3e%3cpath%20d='M56.0176%2041.9837C61.9834%2036.7831%2074.9427%2037.4243%2081.3074%2039.639C95.1733%2033.9235%20112.672%2032.6801%20120.968%2040.1438C131.22%2049.4771%20133.446%2067.5345%20132.042%2083.8281C125.848%2083.0025%20122.779%2078.6471%20116.718%2075.0286C97.7466%2073.2611%2084.9353%2061.0313%2082.042%2054.2301C78.3492%2058.2067%2063.3398%2059.3993%2058.12%2055.1646C51.1278%2048.7596%2054.1283%2043.6248%2056.0176%2041.9837Z'%20fill='darkgrey'/%3e%3cpath%20d='M142.838%2074.8316C138.561%2067.841%20123.674%2066.785%20116.5%2075.5006C118.078%2084.3219%20121.503%2092.5524%20122.726%20101.41C127.77%20102.657%20137.388%20100.869%20141.908%2095.386C147.168%2089.1414%20147.462%2082.3637%20142.838%2074.8316Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='shadow'%3e%3cfeDropShadow%20dx='0'%20dy='0'%20stdDeviation='3'%20flood-color='rgba(0,0,0,0.3)'/%3e%3c/filter%3e%3c/defs%3e%3c/svg%3e", Aa = "data:image/svg+xml,%3csvg%20opacity='0.9'%20viewBox='0%200%20208%20208'%20fill='currentColor'%20xmlns='http://www.w3.org/2000/svg'%3e%3cdefs%3e%3cmask%20id='hole'%3e%3crect%20width='100%25'%20height='100%25'%20fill='white'/%3e%3ccircle%20cx='121.333'%20cy='121.333'%20r='52'%20fill='black'/%3e%3c/mask%3e%3cfilter%20id='shadow'%3e%3cfeDropShadow%20dx='-2'%20dy='-1'%20stdDeviation='10'%20flood-color='rgba(0,0,0,0.2)'/%3e%3c/filter%3e%3c/defs%3e%3cg%20filter='url(%23shadow)'%3e%3ccircle%20cx='104'%20cy='225.333'%20r='95.3333'%20fill='darkgray'/%3e%3ccircle%20cx='104'%20cy='225.333'%20r='95.3333'%20fill='white'%20mask='url(%23hole)'/%3e%3ccircle%20cx='104'%20cy='86.6666'%20r='52'%20fill='white'/%3e%3c/g%3e%3c/svg%3e", Pa = "data:image/svg+xml,%3csvg%20opacity='0.9'%20viewBox='0%200%20208%20208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23shadow)'%3e%3cpath%20d='M168%20208V118.053C168%20113.824%20165.34%20110.052%20161.356%20108.633L134%2098.885V208H168Z'%20fill='darkgrey'/%3e%3cpath%20d='M40%2072.3726C40%2070.7381%2040.9944%2069.268%2042.5116%2068.6598L111.951%2040.8215C113.226%2040.3102%20114.675%2040.4893%20115.787%2041.2958L129.87%2051.5056C132.464%2053.3866%20134%2056.397%20134%2059.6017V208H40V72.3726Z'%20fill='white'/%3e%3cpath%20d='M114%2047.5001L126.325%2056.3036C127.376%2057.0544%20128%2058.2667%20128%2059.5585V208H114V47.5001Z'%20fill='darkgrey'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='shadow'%3e%3cfeDropShadow%20dx='-2'%20dy='-1'%20stdDeviation='7'%20flood-color='rgba(0,0,0,0.2)'/%3e%3c/filter%3e%3c/defs%3e%3c/svg%3e", Ba = {
970
970
  male: Ma,
971
971
  female: Oa,
972
972
  org: Pa,
973
973
  neutral: Aa
974
- }, Gt = K((t, r) => {
974
+ }, Ge = K((e, r) => {
975
975
  const {
976
976
  style: a,
977
977
  size: o = 40,
@@ -980,44 +980,44 @@ const Ma = "data:image/svg+xml,%3csvg%20opacity='0.9'%20preserveAspectRatio='xMi
980
980
  shape: l = "circle",
981
981
  variant: c = "filled",
982
982
  placeholderType: _ = "neutral",
983
- name: f,
984
- imgSrc: p,
983
+ name: p,
984
+ imgSrc: f,
985
985
  imgAlt: h,
986
986
  icon: m,
987
987
  imgProps: g,
988
- colorScheme: y,
988
+ colorScheme: x,
989
989
  className: C,
990
- "data-testid": x,
990
+ "data-testid": y,
991
991
  ...v
992
- } = t, { onClick: u, onPointerDown: w } = v, E = !s && !i && (!!u || !!w), [k, T] = _t(!1);
993
- lt(() => {
994
- p && T(!1);
995
- }, [p]);
996
- const O = p && !k ? "image" : m ? "icon" : f ? "name" : "placeholder", A = y || O === "name" && $a(f) || "gray", W = Ia(o), q = Ra(o, l), P = $(
992
+ } = e, { onClick: u, onPointerDown: w } = v, E = !s && !i && (!!u || !!w), [k, T] = ue(!1);
993
+ _e(() => {
994
+ f && T(!1);
995
+ }, [f]);
996
+ const N = f && !k ? "image" : m ? "icon" : p ? "name" : "placeholder", A = x || N === "name" && $a(p) || "gray", B = Ia(o), F = Ra(o, l), P = $(
997
997
  C,
998
- yt.avatar,
999
- yt[`variant-${c}`],
1000
- yt[`color-${A}`],
1001
- it[W],
998
+ ye.avatar,
999
+ ye[`variant-${c}`],
1000
+ ye[`color-${A}`],
1001
+ ie[B],
1002
1002
  {
1003
- [yt.disabled]: s,
1004
- [yt.loading]: i,
1005
- [yt.clickable]: E
1003
+ [ye.disabled]: s,
1004
+ [ye.loading]: i,
1005
+ [ye.clickable]: E
1006
1006
  }
1007
1007
  ), S = {
1008
1008
  "--avatar-size": `${o}px`,
1009
- "--avatar-border-radius": `${q}px`,
1009
+ "--avatar-border-radius": `${F}px`,
1010
1010
  ...a
1011
- }, I = {
1012
- icon: () => /* @__PURE__ */ n.jsx("span", { "data-testid": "avatar-icon", title: h || void 0, role: "img", className: yt.icon, children: m == null ? void 0 : m({}) }),
1011
+ }, M = {
1012
+ icon: () => /* @__PURE__ */ n.jsx("span", { "data-testid": "avatar-icon", title: h || void 0, role: "img", className: ye.icon, children: m == null ? void 0 : m({}) }),
1013
1013
  name: () => /* @__PURE__ */ n.jsx(
1014
1014
  "span",
1015
1015
  {
1016
1016
  role: "textbox",
1017
1017
  "data-testid": "avatar-name",
1018
- className: yt.name,
1018
+ className: ye.name,
1019
1019
  title: h || void 0,
1020
- children: Ea(f || "")
1020
+ children: Ea(p || "")
1021
1021
  }
1022
1022
  ),
1023
1023
  placeholder: () => /* @__PURE__ */ n.jsx(
@@ -1025,7 +1025,7 @@ const Ma = "data:image/svg+xml,%3csvg%20opacity='0.9'%20preserveAspectRatio='xMi
1025
1025
  {
1026
1026
  ...g,
1027
1027
  "data-testid": "avatar-placeholder",
1028
- className: yt.image,
1028
+ className: ye.image,
1029
1029
  src: Ba[_],
1030
1030
  alt: h || void 0
1031
1031
  }
@@ -1035,18 +1035,18 @@ const Ma = "data:image/svg+xml,%3csvg%20opacity='0.9'%20preserveAspectRatio='xMi
1035
1035
  {
1036
1036
  "data-testid": "avatar-image",
1037
1037
  ...g,
1038
- className: yt.image,
1039
- src: p || void 0,
1038
+ className: ye.image,
1039
+ src: f || void 0,
1040
1040
  alt: h || void 0,
1041
1041
  onLoad: () => T(!1),
1042
- onError: (F) => {
1042
+ onError: (W) => {
1043
1043
  var X;
1044
- T(!0), (X = g == null ? void 0 : g.onError) == null || X.call(g, F);
1044
+ T(!0), (X = g == null ? void 0 : g.onError) == null || X.call(g, W);
1045
1045
  }
1046
1046
  }
1047
1047
  )
1048
- }, z = (F) => {
1049
- E && (u == null || u(F));
1048
+ }, z = (W) => {
1049
+ E && (u == null || u(W));
1050
1050
  };
1051
1051
  return /* @__PURE__ */ n.jsx(
1052
1052
  "div",
@@ -1055,51 +1055,51 @@ const Ma = "data:image/svg+xml,%3csvg%20opacity='0.9'%20preserveAspectRatio='xMi
1055
1055
  onClick: z,
1056
1056
  className: P,
1057
1057
  style: S,
1058
- "data-testid": x,
1058
+ "data-testid": y,
1059
1059
  "aria-disabled": s || i,
1060
- children: I[O](null)
1060
+ children: M[N](null)
1061
1061
  }
1062
1062
  );
1063
- }), za = "_avatarGroup_157g4_1", Da = {
1064
- avatarGroup: za
1065
- }, Wa = (t) => t === "rgba(0, 0, 0, 0)" || t === "transparent" || t.startsWith("rgba") && t.endsWith(", 0)"), Fa = (t) => {
1066
- if (!t) return null;
1067
- let r = t;
1063
+ }), Da = "_avatarGroup_157g4_1", za = {
1064
+ avatarGroup: Da
1065
+ }, qa = (e) => e === "rgba(0, 0, 0, 0)" || e === "transparent" || e.startsWith("rgba") && e.endsWith(", 0)"), Wa = (e) => {
1066
+ if (!e) return null;
1067
+ let r = e;
1068
1068
  for (; r; ) {
1069
1069
  const o = window.getComputedStyle(r).backgroundColor;
1070
- if (!Wa(o)) return o;
1070
+ if (!qa(o)) return o;
1071
1071
  r = r.parentElement;
1072
1072
  }
1073
1073
  return null;
1074
- }, fe = () => {
1075
- const t = qt(null), [r, a] = _t(null);
1076
- return lt(() => {
1077
- if (t.current) {
1078
- const o = Fa(t.current);
1074
+ }, ft = () => {
1075
+ const e = Fe(null), [r, a] = ue(null);
1076
+ return _e(() => {
1077
+ if (e.current) {
1078
+ const o = Wa(e.current);
1079
1079
  a(o);
1080
1080
  }
1081
- }, []), { ref: t, bgColor: r };
1081
+ }, []), { ref: e, bgColor: r };
1082
1082
  };
1083
- function Ae(t, r, a) {
1084
- lt(() => (window.addEventListener(t, r, a), () => window.removeEventListener(t, r, a)), [t, r]);
1083
+ function At(e, r, a) {
1084
+ _e(() => (window.addEventListener(e, r, a), () => window.removeEventListener(e, r, a)), [e, r]);
1085
1085
  }
1086
- const Pe = {
1086
+ const Pt = {
1087
1087
  passive: !0
1088
1088
  };
1089
- function qa() {
1090
- const [t, r] = _t({
1089
+ function Fa() {
1090
+ const [e, r] = ue({
1091
1091
  width: 0,
1092
1092
  height: 0
1093
- }), a = St(() => {
1093
+ }), a = Le(() => {
1094
1094
  r({ width: window.innerWidth || 0, height: window.innerHeight || 0 });
1095
1095
  }, []);
1096
- return Ae("resize", a, Pe), Ae("orientationchange", a, Pe), lt(a, []), t;
1096
+ return At("resize", a, Pt), At("orientationchange", a, Pt), _e(a, []), e;
1097
1097
  }
1098
- function Ha(t = 768) {
1099
- const { width: r } = qa();
1100
- return Lr(() => r <= t, [r, t]);
1098
+ function Ha(e = 768) {
1099
+ const { width: r } = Fa();
1100
+ return jr(() => r <= e, [r, e]);
1101
1101
  }
1102
- const Va = 2, Xa = (t) => {
1102
+ const Va = 2, Xa = (e) => {
1103
1103
  const {
1104
1104
  avatars: r = [],
1105
1105
  size: a = 40,
@@ -1108,37 +1108,37 @@ const Va = 2, Xa = (t) => {
1108
1108
  overflowCount: s = 0,
1109
1109
  overflowProps: l,
1110
1110
  cutoutBackground: c
1111
- } = t, f = -(a * o) + Va, { ref: p, bgColor: h } = fe(), m = c || h || "#ffffff", g = Lt(Da.avatarGroup), y = {
1111
+ } = e, p = -(a * o) + Va, { ref: f, bgColor: h } = ft(), m = c || h || "#ffffff", g = je(za.avatarGroup), x = {
1112
1112
  "--avatar-cutout-bg": m
1113
1113
  };
1114
- return r.length === 0 ? null : /* @__PURE__ */ n.jsxs("div", { className: g, ref: p, style: y, children: [
1115
- r.map((C, x) => {
1114
+ return r.length === 0 ? null : /* @__PURE__ */ n.jsxs("div", { className: g, ref: f, style: x, children: [
1115
+ r.map((C, y) => {
1116
1116
  if (C.wrapper) {
1117
1117
  const v = C.wrapper;
1118
1118
  return /* @__PURE__ */ n.jsx(
1119
1119
  "div",
1120
1120
  {
1121
1121
  style: {
1122
- marginRight: f
1122
+ marginRight: p
1123
1123
  },
1124
- children: /* @__PURE__ */ n.jsx(v, { children: /* @__PURE__ */ n.jsx(Gt, { size: a, shape: i, ...C }) })
1124
+ children: /* @__PURE__ */ n.jsx(v, { children: /* @__PURE__ */ n.jsx(Ge, { size: a, shape: i, ...C }) })
1125
1125
  },
1126
- Jt(C) + x
1126
+ Je(C) + y
1127
1127
  );
1128
1128
  }
1129
1129
  return /* @__PURE__ */ n.jsx(
1130
1130
  "div",
1131
1131
  {
1132
1132
  style: {
1133
- marginRight: f
1133
+ marginRight: p
1134
1134
  },
1135
- children: /* @__PURE__ */ n.jsx(Gt, { size: a, shape: i, ...C })
1135
+ children: /* @__PURE__ */ n.jsx(Ge, { size: a, shape: i, ...C })
1136
1136
  },
1137
- Jt(C) + x
1137
+ Je(C) + y
1138
1138
  );
1139
1139
  }),
1140
- s > 0 && /* @__PURE__ */ n.jsx("div", { style: { marginRight: f }, children: /* @__PURE__ */ n.jsx(
1141
- Gt,
1140
+ s > 0 && /* @__PURE__ */ n.jsx("div", { style: { marginRight: p }, children: /* @__PURE__ */ n.jsx(
1141
+ Ge,
1142
1142
  {
1143
1143
  size: a,
1144
1144
  shape: i,
@@ -1149,9 +1149,9 @@ const Va = 2, Xa = (t) => {
1149
1149
  }
1150
1150
  ) })
1151
1151
  ] });
1152
- }, Al = Object.assign(Gt, {
1152
+ }, Bl = Object.assign(Ge, {
1153
1153
  Group: Xa
1154
- }), Ya = "_wrapper_ecbsu_5", Za = "_badge__container_ecbsu_6", Ga = "_badge__content_ecbsu_7", Ua = "_interactive_ecbsu_20", Ja = "_disabled_ecbsu_21", Ka = "_icon_ecbsu_22", xt = {
1154
+ }), Ya = "_wrapper_ecbsu_5", Za = "_badge__container_ecbsu_6", Ga = "_badge__content_ecbsu_7", Ua = "_interactive_ecbsu_20", Ja = "_disabled_ecbsu_21", Ka = "_icon_ecbsu_22", xe = {
1155
1155
  wrapper: Ya,
1156
1156
  badge__container: Za,
1157
1157
  badge__content: Ga,
@@ -1189,7 +1189,7 @@ const Va = 2, Xa = (t) => {
1189
1189
  "position-bottom-center-inside": "_position-bottom-center-inside_ecbsu_447",
1190
1190
  "position-middle-left-inside": "_position-middle-left-inside_ecbsu_453",
1191
1191
  "position-middle-right-inside": "_position-middle-right-inside_ecbsu_459"
1192
- }, Qa = K((t, r) => {
1192
+ }, Qa = K((e, r) => {
1193
1193
  const {
1194
1194
  icon: a,
1195
1195
  children: o,
@@ -1198,60 +1198,60 @@ const Va = 2, Xa = (t) => {
1198
1198
  isHidden: l = !1,
1199
1199
  colorScheme: c = "red",
1200
1200
  size: _ = 20,
1201
- position: f = "top-right",
1202
- positionOffset: p = { x: 0, y: 0 },
1201
+ position: p = "top-right",
1202
+ positionOffset: f = { x: 0, y: 0 },
1203
1203
  cutoutBackground: h,
1204
1204
  isDisabled: m,
1205
1205
  className: g,
1206
- "data-testid": y = "badge",
1206
+ "data-testid": x = "badge",
1207
1207
  ...C
1208
- } = t, { onClick: x, onPointerDown: v } = C, { ref: u, bgColor: w } = fe(), L = h || w, k = !m && (!!x || !!v), T = Lt(xt.badge__container, xt[`position-${f}`]), O = Lt(
1208
+ } = e, { onClick: y, onPointerDown: v } = C, { ref: u, bgColor: w } = ft(), L = h || w, k = !m && (!!y || !!v), T = je(xe.badge__container, xe[`position-${p}`]), N = je(
1209
1209
  g,
1210
- xt.badge__content,
1211
- xt[`color-${c}`],
1212
- xt[`variant-${i}`],
1210
+ xe.badge__content,
1211
+ xe[`color-${c}`],
1212
+ xe[`variant-${i}`],
1213
1213
  {
1214
- [xt.disabled]: m,
1215
- [xt.icon]: !!a,
1216
- [xt.interactive]: k
1214
+ [xe.disabled]: m,
1215
+ [xe.icon]: !!a,
1216
+ [xe.interactive]: k
1217
1217
  }
1218
1218
  ), A = {
1219
1219
  "--badge-height": `${_}px`,
1220
- "--badge-offset-x": `${p.x}px`,
1221
- "--badge-offset-y": `${p.y}px`,
1220
+ "--badge-offset-x": `${f.x}px`,
1221
+ "--badge-offset-y": `${f.y}px`,
1222
1222
  ...L && { "--badge-cutout-bg": L },
1223
1223
  ...i === "transparent" && { "--badge-cutout-bg": "transparent" }
1224
- }, W = (a == null ? void 0 : a({})) || s, q = (P) => {
1225
- k && (x == null || x(P));
1224
+ }, B = (a == null ? void 0 : a({})) || s, F = (P) => {
1225
+ k && (y == null || y(P));
1226
1226
  };
1227
- return /* @__PURE__ */ n.jsxs("div", { className: xt.wrapper, ref: u, "data-testid": y + "-wrapper", children: [
1227
+ return /* @__PURE__ */ n.jsxs("div", { className: xe.wrapper, ref: u, "data-testid": x + "-wrapper", children: [
1228
1228
  o,
1229
1229
  !l && /* @__PURE__ */ n.jsx(
1230
1230
  "span",
1231
1231
  {
1232
1232
  className: T,
1233
1233
  style: A,
1234
- "data-testid": y + "-container",
1234
+ "data-testid": x + "-container",
1235
1235
  children: /* @__PURE__ */ n.jsx(
1236
1236
  "span",
1237
1237
  {
1238
1238
  ...C,
1239
- onClick: q,
1240
- className: O,
1241
- "data-testid": y + "-content",
1239
+ onClick: F,
1240
+ className: N,
1241
+ "data-testid": x + "-content",
1242
1242
  ref: r,
1243
1243
  "aria-disabled": m,
1244
- children: W
1244
+ children: B
1245
1245
  }
1246
1246
  )
1247
1247
  }
1248
1248
  )
1249
1249
  ] });
1250
- }), to = "_container_op5yl_7", eo = "_image_op5yl_22", ro = "_loading_op5yl_34", le = {
1251
- container: to,
1252
- image: eo,
1250
+ }), eo = "_container_op5yl_7", to = "_image_op5yl_22", ro = "_loading_op5yl_34", lt = {
1251
+ container: eo,
1252
+ image: to,
1253
1253
  loading: ro
1254
- }, ao = "_loader_isv17_1", oo = "_spin_isv17_1", no = "_accent_isv17_19", so = "_neutral_isv17_23", io = "_positive_isv17_27", lo = "_negative_isv17_31", co = "_gray_isv17_35", uo = "_special_isv17_39", _o = "_contrast_isv17_43", po = "_container_isv17_47", fo = "_overlay_isv17_57", Ft = {
1254
+ }, ao = "_loader_isv17_1", oo = "_spin_isv17_1", no = "_accent_isv17_19", so = "_neutral_isv17_23", io = "_positive_isv17_27", lo = "_negative_isv17_31", co = "_gray_isv17_35", uo = "_special_isv17_39", _o = "_contrast_isv17_43", po = "_container_isv17_47", fo = "_overlay_isv17_57", We = {
1255
1255
  loader: ao,
1256
1256
  spin: oo,
1257
1257
  accent: no,
@@ -1268,19 +1268,19 @@ const Va = 2, Xa = (t) => {
1268
1268
  "size-48": "_size-48_isv17_80",
1269
1269
  "size-64": "_size-64_isv17_84",
1270
1270
  "size-96": "_size-96_isv17_88"
1271
- }, Ge = K(
1271
+ }, Ut = K(
1272
1272
  ({
1273
- size: t = 24,
1273
+ size: e = 24,
1274
1274
  variant: r = "accent",
1275
1275
  className: a,
1276
1276
  "data-testid": o = "loader",
1277
1277
  style: i,
1278
1278
  ...s
1279
1279
  }, l) => {
1280
- const c = Lt(
1281
- Ft.loader,
1282
- Ft[r],
1283
- Ft[`size-${t}`],
1280
+ const c = je(
1281
+ We.loader,
1282
+ We[r],
1283
+ We[`size-${e}`],
1284
1284
  a
1285
1285
  );
1286
1286
  return /* @__PURE__ */ n.jsx(
@@ -1306,7 +1306,7 @@ const Va = 2, Xa = (t) => {
1306
1306
  }
1307
1307
  );
1308
1308
  }
1309
- ), go = K((t, r) => {
1309
+ ), go = K((e, r) => {
1310
1310
  const {
1311
1311
  loading: a = !1,
1312
1312
  size: o = 24,
@@ -1315,22 +1315,22 @@ const Va = 2, Xa = (t) => {
1315
1315
  className: l,
1316
1316
  style: c,
1317
1317
  "data-testid": _,
1318
- ...f
1319
- } = t, p = Lt(Ft.container, l);
1320
- return /* @__PURE__ */ n.jsxs("div", { ref: r, className: p, style: c, "data-testid": _, ...f, children: [
1318
+ ...p
1319
+ } = e, f = je(We.container, l);
1320
+ return /* @__PURE__ */ n.jsxs("div", { ref: r, className: f, style: c, "data-testid": _, ...p, children: [
1321
1321
  s,
1322
- a && /* @__PURE__ */ n.jsx("div", { className: Ft.overlay, children: /* @__PURE__ */ n.jsx(Ge, { size: o, variant: i, "data-testid": `${_}-spinner` }) })
1322
+ a && /* @__PURE__ */ n.jsx("div", { className: We.overlay, children: /* @__PURE__ */ n.jsx(Ut, { size: o, variant: i, "data-testid": `${_}-spinner` }) })
1323
1323
  ] });
1324
- }), bo = K((t, r) => t.children ? /* @__PURE__ */ n.jsx(
1324
+ }), bo = K((e, r) => e.children ? /* @__PURE__ */ n.jsx(
1325
1325
  go,
1326
1326
  {
1327
1327
  ref: r,
1328
- ...t
1328
+ ...e
1329
1329
  }
1330
- ) : /* @__PURE__ */ n.jsx(Ge, { ref: r, ...t })), ho = ({ width: t = 48, height: r = 48, className: a, "data-testid": o }) => /* @__PURE__ */ n.jsx(
1330
+ ) : /* @__PURE__ */ n.jsx(Ut, { ref: r, ...e })), ho = ({ width: e = 48, height: r = 48, className: a, "data-testid": o }) => /* @__PURE__ */ n.jsx(
1331
1331
  "svg",
1332
1332
  {
1333
- width: t,
1333
+ width: e,
1334
1334
  height: r,
1335
1335
  viewBox: "0 0 48 48",
1336
1336
  fill: "none",
@@ -1348,7 +1348,7 @@ const Va = 2, Xa = (t) => {
1348
1348
  }
1349
1349
  )
1350
1350
  }
1351
- ), Pl = K((t, r) => {
1351
+ ), Dl = K((e, r) => {
1352
1352
  const {
1353
1353
  alt: a = "",
1354
1354
  loading: o = "lazy",
@@ -1357,26 +1357,26 @@ const Va = 2, Xa = (t) => {
1357
1357
  className: l,
1358
1358
  "data-testid": c = "image",
1359
1359
  onError: _,
1360
- onLoad: f,
1361
- ...p
1362
- } = t, [h, m] = _t("loading"), g = h === "error", y = (s || h === "loading") && !g, C = h === "loaded" && !s, x = Lt(
1363
- le.image,
1360
+ onLoad: p,
1361
+ ...f
1362
+ } = e, [h, m] = ue("loading"), g = h === "error", x = (s || h === "loading") && !g, C = h === "loaded" && !s, y = je(
1363
+ lt.image,
1364
1364
  {
1365
- [le.loading]: y
1365
+ [lt.loading]: x
1366
1366
  },
1367
1367
  l
1368
- ), v = St(
1368
+ ), v = Le(
1369
1369
  (L) => {
1370
- m("loaded"), f == null || f(L);
1370
+ m("loaded"), p == null || p(L);
1371
1371
  },
1372
- [f]
1373
- ), u = St(
1372
+ [p]
1373
+ ), u = Le(
1374
1374
  (L) => {
1375
1375
  m("error"), _ == null || _(L);
1376
1376
  },
1377
1377
  [_]
1378
1378
  ), w = {
1379
- loader: /* @__PURE__ */ n.jsxs(Pt, { children: [
1379
+ loader: /* @__PURE__ */ n.jsxs(Pe, { children: [
1380
1380
  /* @__PURE__ */ n.jsx(bo, { size: 48, variant: "special", "data-testid": `${c}-loader` }),
1381
1381
  /* @__PURE__ */ n.jsx(
1382
1382
  "img",
@@ -1398,32 +1398,32 @@ const Va = 2, Xa = (t) => {
1398
1398
  "data-testid": c,
1399
1399
  loading: o,
1400
1400
  src: i,
1401
- className: x
1401
+ className: y
1402
1402
  }
1403
1403
  )
1404
1404
  };
1405
- return lt(() => {
1405
+ return _e(() => {
1406
1406
  if (!i) {
1407
1407
  m("error");
1408
1408
  return;
1409
1409
  }
1410
1410
  m("loading");
1411
- }, [i]), /* @__PURE__ */ n.jsxs("div", { className: le.container, "data-testid": `${c}-container`, ...p, children: [
1412
- y && w.loader,
1411
+ }, [i]), /* @__PURE__ */ n.jsxs("div", { className: lt.container, "data-testid": `${c}-container`, ...f, children: [
1412
+ x && w.loader,
1413
1413
  g && w.error,
1414
1414
  C && w.image
1415
1415
  ] });
1416
- }), mo = {}, Ue = Ye({
1416
+ }), mo = {}, Jt = Yt({
1417
1417
  locale: mo
1418
1418
  }), yo = () => {
1419
- const t = Ze(Ue);
1420
- if (!t)
1419
+ const e = Zt(Jt);
1420
+ if (!e)
1421
1421
  throw new Error("useConfig must be used within a ConfigProvider");
1422
- return t;
1423
- }, Bl = () => {
1424
- const { locale: t } = yo();
1425
- return t;
1426
- }, xo = {}, vo = {}, wo = {}, Co = {}, So = {}, Lo = "_base_1p0qo_50", jo = "_content_1p0qo_54", ko = "_background_1p0qo_58", $o = "_button_1p0qo_62", Eo = "_link_1p0qo_66", To = "_input_1p0qo_70", Ro = "_suffix_1p0qo_74", No = "_prefix_1p0qo_78", Io = "_tooltip_1p0qo_82", Mo = "_hint_1p0qo_86", Oo = "_dropdown_1p0qo_90", Ao = "_popover_1p0qo_94", Po = "_modalBackdrop_1p0qo_98", Bo = "_modal_1p0qo_98", zo = "_overlay_1p0qo_106", Do = "_drawer_1p0qo_110", Wo = "_notification_1p0qo_114", Fo = "_alert_1p0qo_118", qo = "_toast_1p0qo_122", Ho = "_loading_1p0qo_126", Vo = "_error_1p0qo_130", Xo = "_critical_1p0qo_134", Yo = {
1422
+ return e;
1423
+ }, zl = () => {
1424
+ const { locale: e } = yo();
1425
+ return e;
1426
+ }, xo = {}, vo = {}, wo = {}, Co = {}, So = {}, Lo = "_base_1p0qo_50", jo = "_content_1p0qo_54", ko = "_background_1p0qo_58", $o = "_button_1p0qo_62", Eo = "_link_1p0qo_66", To = "_input_1p0qo_70", Ro = "_suffix_1p0qo_74", No = "_prefix_1p0qo_78", Io = "_tooltip_1p0qo_82", Mo = "_hint_1p0qo_86", Oo = "_dropdown_1p0qo_90", Ao = "_popover_1p0qo_94", Po = "_modalBackdrop_1p0qo_98", Bo = "_modal_1p0qo_98", Do = "_overlay_1p0qo_106", zo = "_drawer_1p0qo_110", qo = "_notification_1p0qo_114", Wo = "_alert_1p0qo_118", Fo = "_toast_1p0qo_122", Ho = "_loading_1p0qo_126", Vo = "_error_1p0qo_130", Xo = "_critical_1p0qo_134", Yo = {
1427
1427
  base: Lo,
1428
1428
  content: jo,
1429
1429
  background: ko,
@@ -1438,44 +1438,44 @@ const Va = 2, Xa = (t) => {
1438
1438
  popover: Ao,
1439
1439
  modalBackdrop: Po,
1440
1440
  modal: Bo,
1441
- overlay: zo,
1442
- drawer: Do,
1443
- notification: Wo,
1444
- alert: Fo,
1445
- toast: qo,
1441
+ overlay: Do,
1442
+ drawer: zo,
1443
+ notification: qo,
1444
+ alert: Wo,
1445
+ toast: Fo,
1446
1446
  loading: Ho,
1447
1447
  error: Vo,
1448
1448
  critical: Xo
1449
- }, zl = ({
1450
- locale: t = {},
1449
+ }, ql = ({
1450
+ locale: e = {},
1451
1451
  theme: r,
1452
1452
  children: a,
1453
1453
  className: o
1454
- }) => (jr(() => {
1454
+ }) => (Gt(() => {
1455
1455
  if (r) {
1456
1456
  const i = document.documentElement;
1457
1457
  Object.entries(r).forEach(([s, l]) => {
1458
1458
  i.style.setProperty(s, l);
1459
1459
  });
1460
1460
  }
1461
- }, [r]), /* @__PURE__ */ n.jsxs(Pt, { children: [
1461
+ }, [r]), /* @__PURE__ */ n.jsxs(Pe, { children: [
1462
1462
  /* @__PURE__ */ n.jsx(
1463
1463
  "div",
1464
1464
  {
1465
1465
  "data-testid": "ConfigProvider-component",
1466
- className: $(xo, vo, wo, Co, So, Yo, it, o)
1466
+ className: $(xo, vo, wo, Co, So, Yo, ie, o)
1467
1467
  }
1468
1468
  ),
1469
- /* @__PURE__ */ n.jsx(Ue.Provider, { value: { locale: t }, children: a })
1470
- ] })), Dl = {}, Zo = "_tag_1llsi_1", Go = "_label_1llsi_16", Uo = "_iconWrapper_1llsi_20", Jo = "_medium_1llsi_27", Ko = "_large_1llsi_33", Qo = "_disabled_1llsi_43", tn = "_neutral_1llsi_47", en = "_positive_1llsi_53", rn = "_negative_1llsi_59", an = "_warning_1llsi_65", on = "_vivid_1llsi_71", nn = "_special_1llsi_77", sn = "_accent_1llsi_84", ln = "_blue_1llsi_90", cn = "_lovely_1llsi_96", dn = "_dreamy_1llsi_102", $t = {
1469
+ /* @__PURE__ */ n.jsx(Jt.Provider, { value: { locale: e }, children: a })
1470
+ ] })), Wl = {}, Zo = "_tag_1llsi_1", Go = "_label_1llsi_16", Uo = "_iconWrapper_1llsi_20", Jo = "_medium_1llsi_27", Ko = "_large_1llsi_33", Qo = "_disabled_1llsi_43", en = "_neutral_1llsi_47", tn = "_positive_1llsi_53", rn = "_negative_1llsi_59", an = "_warning_1llsi_65", on = "_vivid_1llsi_71", nn = "_special_1llsi_77", sn = "_accent_1llsi_84", ln = "_blue_1llsi_90", cn = "_lovely_1llsi_96", dn = "_dreamy_1llsi_102", Ee = {
1471
1471
  tag: Zo,
1472
1472
  label: Go,
1473
1473
  iconWrapper: Uo,
1474
1474
  medium: Jo,
1475
1475
  large: Ko,
1476
1476
  disabled: Qo,
1477
- neutral: tn,
1478
- positive: en,
1477
+ neutral: en,
1478
+ positive: tn,
1479
1479
  negative: rn,
1480
1480
  warning: an,
1481
1481
  vivid: on,
@@ -1484,7 +1484,7 @@ const Va = 2, Xa = (t) => {
1484
1484
  blue: ln,
1485
1485
  lovely: cn,
1486
1486
  dreamy: dn
1487
- }, Wl = K((t, r) => {
1487
+ }, Fl = K((e, r) => {
1488
1488
  const {
1489
1489
  className: a,
1490
1490
  children: o,
@@ -1493,35 +1493,37 @@ const Va = 2, Xa = (t) => {
1493
1493
  disabled: l = !1,
1494
1494
  showLabel: c = !!o,
1495
1495
  slotStart: _,
1496
- slotEnd: f,
1497
- slotStartWrapperProps: p = {},
1496
+ slotEnd: p,
1497
+ slotStartWrapperProps: f = {},
1498
1498
  slotEndWrapperProps: h = {},
1499
- "data-testid": m
1500
- } = t, { className: g, ...y } = p, { className: C, ...x } = h;
1499
+ "data-testid": m,
1500
+ ...g
1501
+ } = e, { className: x, ...C } = f, { className: y, ...v } = h;
1501
1502
  return /* @__PURE__ */ n.jsxs(
1502
1503
  "div",
1503
1504
  {
1504
1505
  className: $(
1505
- $t.tag,
1506
- $t[s],
1507
- $t[i],
1506
+ Ee.tag,
1507
+ Ee[s],
1508
+ Ee[i],
1508
1509
  {
1509
- [$t.disabled]: l,
1510
- [it["typography-label-3-regular"]]: s === "medium",
1511
- [it["typography-subtitle-1-semibold"]]: s === "large"
1510
+ [Ee.disabled]: l,
1511
+ [ie["typography-label-3-regular"]]: s === "medium",
1512
+ [ie["typography-subtitle-1-semibold"]]: s === "large"
1512
1513
  },
1513
1514
  a
1514
1515
  ),
1515
1516
  "data-testid": m || "tag-component",
1516
1517
  ref: r,
1518
+ ...g,
1517
1519
  children: [
1518
- _ && /* @__PURE__ */ n.jsx("span", { className: $([$t.iconWrapper, g]), ...y, children: _ }),
1519
- c && /* @__PURE__ */ n.jsx("span", { className: $([$t.label]), children: o }),
1520
- f && /* @__PURE__ */ n.jsx("span", { className: $([$t.iconWrapper, C]), ...x, children: f })
1520
+ _ && /* @__PURE__ */ n.jsx("span", { className: $([Ee.iconWrapper, x]), ...C, children: _ }),
1521
+ c && /* @__PURE__ */ n.jsx("span", { className: $([Ee.label]), children: o }),
1522
+ p && /* @__PURE__ */ n.jsx("span", { className: $([Ee.iconWrapper, y]), ...v, children: p })
1521
1523
  ]
1522
1524
  }
1523
1525
  );
1524
- }), un = "_checkbox_17txq_43", _n = "_input_17txq_64", pn = "_icon_17txq_72", fn = "_container_17txq_92", gn = "_error_17txq_143", bn = "_checkboxWrapper_17txq_156", hn = "_medium_17txq_211", mn = "_large_17txq_216", yn = "_label_17txq_258", wt = {
1526
+ }), un = "_checkbox_17txq_43", _n = "_input_17txq_64", pn = "_icon_17txq_72", fn = "_container_17txq_92", gn = "_error_17txq_143", bn = "_checkboxWrapper_17txq_156", hn = "_medium_17txq_211", mn = "_large_17txq_216", yn = "_label_17txq_258", we = {
1525
1527
  checkbox: un,
1526
1528
  input: _n,
1527
1529
  icon: pn,
@@ -1532,7 +1534,7 @@ const Va = 2, Xa = (t) => {
1532
1534
  large: mn,
1533
1535
  label: yn
1534
1536
  }, xn = ({
1535
- width: t = 12,
1537
+ width: e = 12,
1536
1538
  height: r = 9,
1537
1539
  className: a = "",
1538
1540
  color: o = "currentColor",
@@ -1541,7 +1543,7 @@ const Va = 2, Xa = (t) => {
1541
1543
  "svg",
1542
1544
  {
1543
1545
  className: a,
1544
- width: t,
1546
+ width: e,
1545
1547
  height: r,
1546
1548
  viewBox: "0 0 14 10",
1547
1549
  fill: "none",
@@ -1558,7 +1560,7 @@ const Va = 2, Xa = (t) => {
1558
1560
  )
1559
1561
  }
1560
1562
  ), vn = ({
1561
- width: t = 12,
1563
+ width: e = 12,
1562
1564
  height: r = 2,
1563
1565
  className: a = "",
1564
1566
  color: o = "currentColor",
@@ -1567,7 +1569,7 @@ const Va = 2, Xa = (t) => {
1567
1569
  "svg",
1568
1570
  {
1569
1571
  className: a,
1570
- width: t,
1572
+ width: e,
1571
1573
  height: r,
1572
1574
  viewBox: "0 0 12 2",
1573
1575
  fill: "none",
@@ -1587,17 +1589,17 @@ const Va = 2, Xa = (t) => {
1587
1589
  medium: { width: 10.83, height: 7.5 },
1588
1590
  large: { width: 13, height: 9 }
1589
1591
  }, Cn = ({
1590
- size: t,
1592
+ size: e,
1591
1593
  isChecked: r,
1592
1594
  isDisabled: a,
1593
1595
  indeterminate: o,
1594
1596
  dataTestId: i
1595
1597
  }) => {
1596
- const { width: s, height: l } = wn[t];
1598
+ const { width: s, height: l } = wn[e];
1597
1599
  return /* @__PURE__ */ n.jsx(
1598
1600
  "div",
1599
1601
  {
1600
- className: wt.icon,
1602
+ className: we.icon,
1601
1603
  "data-testid": `${i}-icon`,
1602
1604
  "data-checked": r,
1603
1605
  "data-disabled": a,
@@ -1605,7 +1607,7 @@ const Va = 2, Xa = (t) => {
1605
1607
  children: o ? /* @__PURE__ */ n.jsx(vn, { width: s, height: l }) : /* @__PURE__ */ n.jsx(xn, { width: s, height: l })
1606
1608
  }
1607
1609
  );
1608
- }, Fl = K((t, r) => {
1610
+ }, Hl = K((e, r) => {
1609
1611
  const {
1610
1612
  name: a,
1611
1613
  value: o,
@@ -1614,49 +1616,49 @@ const Va = 2, Xa = (t) => {
1614
1616
  loading: l = !1,
1615
1617
  error: c,
1616
1618
  disabled: _ = !1,
1617
- containerClassName: f,
1618
- className: p,
1619
+ containerClassName: p,
1620
+ className: f,
1619
1621
  containerStyle: h,
1620
1622
  style: m,
1621
1623
  children: g,
1622
- clickableLabel: y = !0,
1624
+ clickableLabel: x = !0,
1623
1625
  tabIndex: C,
1624
- onChange: x,
1626
+ onChange: y,
1625
1627
  "data-testid": v = "checkbox"
1626
- } = t, [u, w] = _t(!1), L = o ?? u, E = _ || l, k = !!c, T = L || s, O = $(wt.container, wt[i], f), A = $(
1627
- wt.checkbox,
1628
- wt[i],
1628
+ } = e, [u, w] = ue(!1), L = o ?? u, E = _ || l, k = !!c, T = L || s, N = $(we.container, we[i], p), A = $(
1629
+ we.checkbox,
1630
+ we[i],
1629
1631
  {
1630
- [wt.error]: k
1632
+ [we.error]: k
1631
1633
  },
1632
- p
1633
- ), W = (I) => {
1634
- E || (w(I.target.checked), x == null || x(I.target.checked, I));
1635
- }, q = (I) => {
1636
- if (I.key === "Enter" && !E) {
1637
- I.preventDefault();
1634
+ f
1635
+ ), B = (M) => {
1636
+ E || (w(M.target.checked), y == null || y(M.target.checked, M));
1637
+ }, F = (M) => {
1638
+ if (M.key === "Enter" && !E) {
1639
+ M.preventDefault();
1638
1640
  const z = !T;
1639
- w(z), x == null || x(z);
1641
+ w(z), y == null || y(z);
1640
1642
  }
1641
- }, P = (I) => {
1642
- y || I.preventDefault();
1643
- }, S = (I) => I.stopPropagation();
1643
+ }, P = (M) => {
1644
+ x || M.preventDefault();
1645
+ }, S = (M) => M.stopPropagation();
1644
1646
  return /* @__PURE__ */ n.jsxs(
1645
1647
  "label",
1646
1648
  {
1647
- className: O,
1649
+ className: N,
1648
1650
  htmlFor: a,
1649
1651
  style: h,
1650
1652
  "data-testid": v,
1651
- "data-clickable-label": y,
1653
+ "data-clickable-label": x,
1652
1654
  children: [
1653
- /* @__PURE__ */ n.jsx("div", { className: wt.checkboxWrapper, children: /* @__PURE__ */ n.jsxs(
1655
+ /* @__PURE__ */ n.jsx("div", { className: we.checkboxWrapper, children: /* @__PURE__ */ n.jsxs(
1654
1656
  "div",
1655
1657
  {
1656
1658
  tabIndex: C || 0,
1657
1659
  className: A,
1658
1660
  style: m,
1659
- onKeyDown: q,
1661
+ onKeyDown: F,
1660
1662
  "aria-checked": T,
1661
1663
  "aria-disabled": E,
1662
1664
  "aria-invalid": k,
@@ -1672,8 +1674,8 @@ const Va = 2, Xa = (t) => {
1672
1674
  name: a,
1673
1675
  checked: T,
1674
1676
  disabled: E,
1675
- className: wt.input,
1676
- onChange: W,
1677
+ className: we.input,
1678
+ onChange: B,
1677
1679
  onClick: S,
1678
1680
  "aria-checked": T,
1679
1681
  "aria-invalid": k,
@@ -1699,8 +1701,8 @@ const Va = 2, Xa = (t) => {
1699
1701
  "span",
1700
1702
  {
1701
1703
  "data-testid": `${v}-label-text`,
1702
- "data-clickable-label": y,
1703
- className: wt.label,
1704
+ "data-clickable-label": x,
1705
+ className: we.label,
1704
1706
  onClick: P,
1705
1707
  children: g
1706
1708
  }
@@ -1708,7 +1710,7 @@ const Va = 2, Xa = (t) => {
1708
1710
  ]
1709
1711
  }
1710
1712
  );
1711
- }), Sn = "_typography_zt7xg_1", Ln = "_disabled_zt7xg_8", jn = "_primary_zt7xg_13", kn = "_secondary_zt7xg_18", $n = "_tertiary_zt7xg_23", En = "_accent_zt7xg_28", Tn = "_positive_zt7xg_38", Rn = "_negative_zt7xg_48", Nn = "_warning_zt7xg_58", In = "_special_zt7xg_68", Mn = "_contrast_zt7xg_78", Bt = {
1713
+ }), Sn = "_typography_zt7xg_1", Ln = "_disabled_zt7xg_8", jn = "_primary_zt7xg_13", kn = "_secondary_zt7xg_18", $n = "_tertiary_zt7xg_23", En = "_accent_zt7xg_28", Tn = "_positive_zt7xg_38", Rn = "_negative_zt7xg_48", Nn = "_warning_zt7xg_58", In = "_special_zt7xg_68", Mn = "_contrast_zt7xg_78", Be = {
1712
1714
  typography: Sn,
1713
1715
  disabled: Ln,
1714
1716
  primary: jn,
@@ -1732,8 +1734,8 @@ const Va = 2, Xa = (t) => {
1732
1734
  3: "h3",
1733
1735
  4: "h4",
1734
1736
  5: "h5"
1735
- }, Be = (t) => {
1736
- const r = Xe.forwardRef(
1737
+ }, Bt = (e) => {
1738
+ const r = Xt.forwardRef(
1737
1739
  ({
1738
1740
  size: a = 3,
1739
1741
  children: o,
@@ -1742,24 +1744,24 @@ const Va = 2, Xa = (t) => {
1742
1744
  as: l,
1743
1745
  fontWeight: c = "semibold",
1744
1746
  disabled: _ = !1,
1745
- typographyStyle: f = "primary",
1746
- ...p
1747
+ typographyStyle: p = "primary",
1748
+ ...f
1747
1749
  }, h) => {
1748
1750
  const m = l || On[a], g = $(
1749
- Bt.typography,
1750
- it[`typography-${t}-${a}-${c}`],
1751
- Bt[f],
1751
+ Be.typography,
1752
+ ie[`typography-${e}-${a}-${c}`],
1753
+ Be[p],
1752
1754
  {
1753
- [Bt.disabled]: _
1755
+ [Be.disabled]: _
1754
1756
  },
1755
1757
  i
1756
1758
  );
1757
- return o ? /* @__PURE__ */ n.jsx(m, { ref: h, className: g, "data-testid": s, ...p, children: o }) : null;
1759
+ return o ? /* @__PURE__ */ n.jsx(m, { ref: h, className: g, "data-testid": s, ...f, children: o }) : null;
1758
1760
  }
1759
1761
  );
1760
- return r.displayName = `Typography.${t === "title" ? "Title" : "Subtitle"}`, r;
1761
- }, ze = (t) => {
1762
- const r = Xe.forwardRef(
1762
+ return r.displayName = `Typography.${e === "title" ? "Title" : "Subtitle"}`, r;
1763
+ }, Dt = (e) => {
1764
+ const r = Xt.forwardRef(
1763
1765
  ({
1764
1766
  size: a = 3,
1765
1767
  children: o,
@@ -1768,15 +1770,15 @@ const Va = 2, Xa = (t) => {
1768
1770
  as: l = "p",
1769
1771
  fontWeight: c = "regular",
1770
1772
  disabled: _ = !1,
1771
- typographyStyle: f = "primary",
1772
- ...p
1773
+ typographyStyle: p = "primary",
1774
+ ...f
1773
1775
  }, h) => {
1774
1776
  const m = l, g = $(
1775
- Bt.typography,
1776
- it[`typography-${t}-${a}-${c}`],
1777
- Bt[f],
1777
+ Be.typography,
1778
+ ie[`typography-${e}-${a}-${c}`],
1779
+ Be[p],
1778
1780
  {
1779
- [Bt.disabled]: _
1781
+ [Be.disabled]: _
1780
1782
  },
1781
1783
  i
1782
1784
  );
@@ -1786,27 +1788,27 @@ const Va = 2, Xa = (t) => {
1786
1788
  ref: h,
1787
1789
  className: g,
1788
1790
  "data-testid": s,
1789
- ...p,
1791
+ ...f,
1790
1792
  children: o
1791
1793
  }
1792
1794
  ) : null;
1793
1795
  }
1794
1796
  );
1795
- return r.displayName = `Typography.${t.charAt(0).toUpperCase() + t.slice(1)}`, r;
1796
- }, De = {
1797
- Title: Be("title"),
1798
- Subtitle: Be("subtitle"),
1799
- Label: ze("label"),
1800
- Paragraph: ze("paragraph")
1801
- }, An = "_base_10oxr_1", Pn = "_content_10oxr_1", Bn = "_background_10oxr_1", zn = "_button_10oxr_1", Dn = "_link_10oxr_1", Wn = "_input_10oxr_96", Fn = "_suffix_10oxr_1", qn = "_prefix_10oxr_1", Hn = "_tooltip_10oxr_1", Vn = "_hint_10oxr_794", Xn = "_dropdown_10oxr_1", Yn = "_popover_10oxr_1", Zn = "_modalBackdrop_10oxr_1", Gn = "_modal_10oxr_1", Un = "_overlay_10oxr_1", Jn = "_drawer_10oxr_1", Kn = "_notification_10oxr_1", Qn = "_alert_10oxr_1", ts = "_toast_10oxr_1", es = "_loading_10oxr_291", rs = "_error_10oxr_252", as = "_critical_10oxr_1", os = "_inputBase_10oxr_96", ns = "_wrapper_10oxr_106", ss = "_gripHandle_10oxr_186", is = "_tabFocused_10oxr_259", ls = "_disabled_10oxr_284", cs = "_label_10oxr_301", ds = "_S_10oxr_315", us = "_M_10oxr_321", _s = "_XL_10oxr_328", ps = "_leftSection_10oxr_335", fs = "_rightSection_10oxr_347", gs = "_helper_10oxr_385", bs = "_floatingLabel_10oxr_415", hs = "_focused_10oxr_481", ms = "_filled_10oxr_482", ys = "_L_10oxr_522", xs = "_characterLimit_10oxr_564", vs = "_textarea_10oxr_124", ws = "_truncate_10oxr_707", N = {
1797
+ return r.displayName = `Typography.${e.charAt(0).toUpperCase() + e.slice(1)}`, r;
1798
+ }, zt = {
1799
+ Title: Bt("title"),
1800
+ Subtitle: Bt("subtitle"),
1801
+ Label: Dt("label"),
1802
+ Paragraph: Dt("paragraph")
1803
+ }, An = "_base_10oxr_1", Pn = "_content_10oxr_1", Bn = "_background_10oxr_1", Dn = "_button_10oxr_1", zn = "_link_10oxr_1", qn = "_input_10oxr_96", Wn = "_suffix_10oxr_1", Fn = "_prefix_10oxr_1", Hn = "_tooltip_10oxr_1", Vn = "_hint_10oxr_794", Xn = "_dropdown_10oxr_1", Yn = "_popover_10oxr_1", Zn = "_modalBackdrop_10oxr_1", Gn = "_modal_10oxr_1", Un = "_overlay_10oxr_1", Jn = "_drawer_10oxr_1", Kn = "_notification_10oxr_1", Qn = "_alert_10oxr_1", es = "_toast_10oxr_1", ts = "_loading_10oxr_291", rs = "_error_10oxr_252", as = "_critical_10oxr_1", os = "_inputBase_10oxr_96", ns = "_wrapper_10oxr_106", ss = "_gripHandle_10oxr_186", is = "_tabFocused_10oxr_259", ls = "_disabled_10oxr_284", cs = "_label_10oxr_301", ds = "_S_10oxr_315", us = "_M_10oxr_321", _s = "_XL_10oxr_328", ps = "_leftSection_10oxr_335", fs = "_rightSection_10oxr_347", gs = "_helper_10oxr_385", bs = "_floatingLabel_10oxr_415", hs = "_focused_10oxr_481", ms = "_filled_10oxr_482", ys = "_L_10oxr_522", xs = "_characterLimit_10oxr_564", vs = "_textarea_10oxr_124", ws = "_truncate_10oxr_707", I = {
1802
1804
  base: An,
1803
1805
  content: Pn,
1804
1806
  background: Bn,
1805
- button: zn,
1806
- link: Dn,
1807
- input: Wn,
1808
- suffix: Fn,
1809
- prefix: qn,
1807
+ button: Dn,
1808
+ link: zn,
1809
+ input: qn,
1810
+ suffix: Wn,
1811
+ prefix: Fn,
1810
1812
  tooltip: Hn,
1811
1813
  hint: Vn,
1812
1814
  dropdown: Xn,
@@ -1817,8 +1819,8 @@ const Va = 2, Xa = (t) => {
1817
1819
  drawer: Jn,
1818
1820
  notification: Kn,
1819
1821
  alert: Qn,
1820
- toast: ts,
1821
- loading: es,
1822
+ toast: es,
1823
+ loading: ts,
1822
1824
  error: rs,
1823
1825
  critical: as,
1824
1826
  inputBase: os,
@@ -1850,14 +1852,14 @@ const Va = 2, Xa = (t) => {
1850
1852
  "has-suffix": "_has-suffix_10oxr_821",
1851
1853
  "has-limit": "_has-limit_10oxr_844"
1852
1854
  }, Cs = ({
1853
- width: t = 8,
1855
+ width: e = 8,
1854
1856
  height: r = 8,
1855
1857
  className: a,
1856
1858
  color: o = "#AABBCA"
1857
1859
  }) => /* @__PURE__ */ n.jsx(
1858
1860
  "svg",
1859
1861
  {
1860
- width: t,
1862
+ width: e,
1861
1863
  height: r,
1862
1864
  viewBox: "0 0 8 8",
1863
1865
  fill: "none",
@@ -1873,8 +1875,8 @@ const Va = 2, Xa = (t) => {
1873
1875
  }
1874
1876
  )
1875
1877
  }
1876
- ), Je = ({
1877
- className: t = "",
1878
+ ), Kt = ({
1879
+ className: e = "",
1878
1880
  style: r,
1879
1881
  size: a = "md",
1880
1882
  color: o = "currentColor",
@@ -1897,7 +1899,7 @@ const Va = 2, Xa = (t) => {
1897
1899
  return /* @__PURE__ */ n.jsx(
1898
1900
  "svg",
1899
1901
  {
1900
- className: t,
1902
+ className: e,
1901
1903
  style: c,
1902
1904
  viewBox: "0 0 16 16",
1903
1905
  fill: "none",
@@ -1916,47 +1918,47 @@ const Va = 2, Xa = (t) => {
1916
1918
  )
1917
1919
  }
1918
1920
  );
1919
- }, Ss = (t, r) => {
1920
- const a = qt(null), o = qt(null);
1921
- return lt(() => {
1921
+ }, Ss = (e, r) => {
1922
+ const a = Fe(null), o = Fe(null);
1923
+ return _e(() => {
1922
1924
  const i = r === "textarea" ? a.current : o.current;
1923
- i && i.value !== t && (i.value = t || "");
1924
- }, [t, r]), {
1925
+ i && i.value !== e && (i.value = e || "");
1926
+ }, [e, r]), {
1925
1927
  textareaRef: a,
1926
1928
  inputRef: o,
1927
1929
  currentRef: r === "textarea" ? a : o
1928
1930
  };
1929
- }, Ls = (t, r, a) => {
1931
+ }, Ls = (e, r, a) => {
1930
1932
  const o = () => {
1931
1933
  if (!a.current || r !== "hug") return;
1932
1934
  const i = a.current.scrollTop;
1933
- if (a.current.style.setProperty("height", "auto", "important"), !t) return;
1935
+ if (a.current.style.setProperty("height", "auto", "important"), !e) return;
1934
1936
  const s = a.current.scrollHeight + "px";
1935
1937
  a.current.style.setProperty("height", s, "important"), a.current.scrollTop = i;
1936
- const l = a.current.closest(`.${N.wrapper}`);
1938
+ const l = a.current.closest(`.${I.wrapper}`);
1937
1939
  l && (l.setAttribute("data-resize", "hug"), l.setAttribute("data-show-grip", "false"));
1938
1940
  };
1939
- return lt(o, [t, r]), lt(() => {
1941
+ return _e(o, [e, r]), _e(() => {
1940
1942
  r === "hug" && a.current && o();
1941
1943
  }, []), { resizeTextArea: o };
1942
- }, js = (t, r, a, o) => ({ handleGripMouseDown: St(
1944
+ }, js = (e, r, a, o) => ({ handleGripMouseDown: Le(
1943
1945
  (s) => {
1944
- if (!t || r || a || !(o === "fixed" || !o)) return;
1946
+ if (!e || r || a || !(o === "fixed" || !o)) return;
1945
1947
  s.preventDefault(), s.stopPropagation();
1946
- const l = s.currentTarget.closest(`.${N.wrapper}`);
1948
+ const l = s.currentTarget.closest(`.${I.wrapper}`);
1947
1949
  if (!l) return;
1948
- const c = s.clientY, _ = l.clientHeight, f = (h) => {
1949
- const m = h.clientY - c, g = Math.min(100, _), y = Math.max(g, _ + m);
1950
- l.style.height = `${y}px`;
1951
- }, p = () => {
1952
- document.removeEventListener("mousemove", f), document.removeEventListener("mouseup", p);
1950
+ const c = s.clientY, _ = l.clientHeight, p = (h) => {
1951
+ const m = h.clientY - c, g = Math.min(100, _), x = Math.max(g, _ + m);
1952
+ l.style.height = `${x}px`;
1953
+ }, f = () => {
1954
+ document.removeEventListener("mousemove", p), document.removeEventListener("mouseup", f);
1953
1955
  };
1954
- document.addEventListener("mousemove", f), document.addEventListener("mouseup", p);
1956
+ document.addEventListener("mousemove", p), document.addEventListener("mouseup", f);
1955
1957
  },
1956
- [t, r, a, o]
1957
- ) }), We = 30, ks = K(
1958
+ [e, r, a, o]
1959
+ ) }), qt = 30, ks = K(
1958
1960
  ({
1959
- component: t = "input",
1961
+ component: e = "input",
1960
1962
  size: r = "L",
1961
1963
  value: a = "",
1962
1964
  placeholder: o,
@@ -1965,21 +1967,21 @@ const Va = 2, Xa = (t) => {
1965
1967
  onFocus: l,
1966
1968
  onBlur: c,
1967
1969
  onChange: _,
1968
- onKeyDown: f,
1969
- onKeyUp: p,
1970
+ onKeyDown: p,
1971
+ onKeyUp: f,
1970
1972
  maxLength: h,
1971
1973
  className: m,
1972
1974
  style: g,
1973
- truncate: y = !1,
1975
+ truncate: x = !1,
1974
1976
  shouldShowFloatingLabelClass: C = !1,
1975
- "aria-invalid": x,
1977
+ "aria-invalid": y,
1976
1978
  "aria-errormessage": v,
1977
1979
  id: u,
1978
1980
  resize: w,
1979
1981
  ...L
1980
1982
  }, E) => {
1981
- const { textareaRef: k, inputRef: T, currentRef: O } = Ss(a, t);
1982
- if (Ls(a, w, k), kr(E, () => O.current, [O]), t === "textarea")
1983
+ const { textareaRef: k, inputRef: T, currentRef: N } = Ss(a, e);
1984
+ if (Ls(a, w, k), kr(E, () => N.current, [N]), e === "textarea")
1983
1985
  return /* @__PURE__ */ n.jsx(
1984
1986
  "textarea",
1985
1987
  {
@@ -1991,17 +1993,17 @@ const Va = 2, Xa = (t) => {
1991
1993
  onFocus: l,
1992
1994
  onBlur: c,
1993
1995
  onChange: _,
1994
- onKeyDown: f,
1995
- onKeyUp: p,
1996
+ onKeyDown: p,
1997
+ onKeyUp: f,
1996
1998
  maxLength: h,
1997
1999
  className: $(
1998
- N.textarea,
1999
- N[`size-${r}`],
2000
- C && N["with-floating-label"],
2000
+ I.textarea,
2001
+ I[`size-${r}`],
2002
+ C && I["with-floating-label"],
2001
2003
  m
2002
2004
  ),
2003
2005
  style: g,
2004
- "aria-invalid": x,
2006
+ "aria-invalid": y,
2005
2007
  "aria-errormessage": v,
2006
2008
  "aria-describedby": v ? `${u}-error` : void 0,
2007
2009
  tabIndex: 0,
@@ -2009,7 +2011,7 @@ const Va = 2, Xa = (t) => {
2009
2011
  ...L
2010
2012
  }
2011
2013
  );
2012
- if (t === "input")
2014
+ if (e === "input")
2013
2015
  return /* @__PURE__ */ n.jsx(
2014
2016
  "input",
2015
2017
  {
@@ -2021,32 +2023,32 @@ const Va = 2, Xa = (t) => {
2021
2023
  onFocus: l,
2022
2024
  onBlur: c,
2023
2025
  onChange: _,
2024
- onKeyDown: f,
2025
- onKeyUp: p,
2026
+ onKeyDown: p,
2027
+ onKeyUp: f,
2026
2028
  maxLength: h,
2027
2029
  className: $(
2028
- N.input,
2029
- N[`size-${r}`],
2030
- C && N["with-floating-label"],
2031
- y && N.truncate,
2030
+ I.input,
2031
+ I[`size-${r}`],
2032
+ C && I["with-floating-label"],
2033
+ x && I.truncate,
2032
2034
  m
2033
2035
  ),
2034
2036
  style: g,
2035
- "aria-invalid": x,
2037
+ "aria-invalid": y,
2036
2038
  "aria-errormessage": v,
2037
2039
  "aria-describedby": v ? `${u}-error` : void 0,
2038
2040
  tabIndex: 0,
2039
2041
  ...L
2040
2042
  }
2041
2043
  );
2042
- if (t !== "input" && t !== "textarea")
2044
+ if (e !== "input" && e !== "textarea")
2043
2045
  return console.error(
2044
- `[Input] Недопустимое значение prop 'component': "${String(t)}". Допустимые значения: 'input', 'textarea'`
2046
+ `[Input] Недопустимое значение prop 'component': "${String(e)}". Допустимые значения: 'input', 'textarea'`
2045
2047
  ), null;
2046
2048
  }
2047
- ), Ke = K(
2049
+ ), Qt = K(
2048
2050
  ({
2049
- children: t,
2051
+ children: e,
2050
2052
  size: r = "L",
2051
2053
  error: a = !1,
2052
2054
  disabled: o = !1,
@@ -2055,14 +2057,14 @@ const Va = 2, Xa = (t) => {
2055
2057
  wrapperProps: l,
2056
2058
  wrapperStyles: c,
2057
2059
  floatingLabelStyles: _,
2058
- prefixStyles: f,
2059
- suffixStyles: p,
2060
+ prefixStyles: p,
2061
+ suffixStyles: f,
2060
2062
  labelProps: h,
2061
2063
  helperProps: m,
2062
2064
  showLimit: g = !1,
2063
- maxLength: y,
2065
+ maxLength: x,
2064
2066
  hint: C,
2065
- showHint: x = !1,
2067
+ showHint: y = !1,
2066
2068
  showHintOnEmpty: v = !1,
2067
2069
  prefix: u,
2068
2070
  suffix: w,
@@ -2070,47 +2072,47 @@ const Va = 2, Xa = (t) => {
2070
2072
  placeholder: E,
2071
2073
  showLabel: k = !0,
2072
2074
  labelClassName: T,
2073
- hasValue: O = !1,
2075
+ hasValue: N = !1,
2074
2076
  helper: A,
2075
- id: W,
2076
- value: q = "",
2077
+ id: B,
2078
+ value: F = "",
2077
2079
  resize: P,
2078
2080
  showGrip: S = !1,
2079
- ...I
2081
+ ...M
2080
2082
  }, z) => {
2081
- const F = pe(), X = W || F, Q = x && C && (O || v), ct = C && C.length > We ? C.substring(0, We) + "..." : C, at = $(
2082
- N.wrapper,
2083
- N[`size-${r}`],
2084
- a && N.error,
2085
- o && N.disabled,
2086
- i && N.loading,
2087
- Q && N["has-hint"],
2088
- w && N["has-suffix"],
2089
- g && N["has-limit"],
2083
+ const W = pt(), X = B || W, Q = y && C && (N || v), le = C && C.length > qt ? C.substring(0, qt) + "..." : C, ae = $(
2084
+ I.wrapper,
2085
+ I[`size-${r}`],
2086
+ a && I.error,
2087
+ o && I.disabled,
2088
+ i && I.loading,
2089
+ Q && I["has-hint"],
2090
+ w && I["has-suffix"],
2091
+ g && I["has-limit"],
2090
2092
  s
2091
- ), tt = $(
2092
- N.floatingLabel,
2093
- N[r],
2094
- O && N.filled,
2093
+ ), ee = $(
2094
+ I.floatingLabel,
2095
+ I[r],
2096
+ N && I.filled,
2095
2097
  T
2096
- ), { handleGripMouseDown: et } = js(S, o, i, P);
2097
- return /* @__PURE__ */ n.jsxs("div", { ref: z, className: N.inputBase, "data-testid": "input-base-wrapper", ...I, children: [
2098
+ ), { handleGripMouseDown: te } = js(S, o, i, P);
2099
+ return /* @__PURE__ */ n.jsxs("div", { ref: z, className: I.inputBase, "data-testid": "input-base-wrapper", ...M, children: [
2098
2100
  /* @__PURE__ */ n.jsxs(
2099
2101
  "div",
2100
2102
  {
2101
- className: at,
2103
+ className: ae,
2102
2104
  style: c,
2103
2105
  "data-resize": P,
2104
2106
  "data-show-grip": S ? "true" : "false",
2105
2107
  ...l,
2106
2108
  children: [
2107
- u && /* @__PURE__ */ n.jsx("label", { htmlFor: X, className: N.leftSection, style: f, children: u }),
2109
+ u && /* @__PURE__ */ n.jsx("label", { htmlFor: X, className: I.leftSection, style: p, children: u }),
2108
2110
  w && /* @__PURE__ */ n.jsx(
2109
2111
  "label",
2110
2112
  {
2111
2113
  htmlFor: X,
2112
- className: N.rightSection,
2113
- style: p,
2114
+ className: I.rightSection,
2115
+ style: f,
2114
2116
  onClick: L,
2115
2117
  children: w
2116
2118
  }
@@ -2119,18 +2121,18 @@ const Va = 2, Xa = (t) => {
2119
2121
  "label",
2120
2122
  {
2121
2123
  htmlFor: X,
2122
- className: tt,
2124
+ className: ee,
2123
2125
  style: _,
2124
2126
  ...h,
2125
2127
  children: E
2126
2128
  }
2127
2129
  ),
2128
- t,
2130
+ e,
2129
2131
  S && !g && (P === "fixed" || !P) && /* @__PURE__ */ n.jsx(
2130
2132
  "div",
2131
2133
  {
2132
- className: N.gripHandle,
2133
- onMouseDown: et,
2134
+ className: I.gripHandle,
2135
+ onMouseDown: te,
2134
2136
  role: "button",
2135
2137
  tabIndex: -1,
2136
2138
  "aria-label": "Изменить размер",
@@ -2140,15 +2142,15 @@ const Va = 2, Xa = (t) => {
2140
2142
  Q && /* @__PURE__ */ n.jsx(
2141
2143
  "div",
2142
2144
  {
2143
- className: $(N.hint, O && N.truncate),
2145
+ className: $(I.hint, N && I.truncate),
2144
2146
  "data-disabled": o || i,
2145
- children: ct
2147
+ children: le
2146
2148
  }
2147
2149
  ),
2148
- g && y && /* @__PURE__ */ n.jsxs("div", { className: N.characterLimit, children: [
2149
- (q || "").length,
2150
+ g && x && /* @__PURE__ */ n.jsxs("div", { className: I.characterLimit, children: [
2151
+ (F || "").length,
2150
2152
  " из ",
2151
- y
2153
+ x
2152
2154
  ] })
2153
2155
  ]
2154
2156
  }
@@ -2157,9 +2159,9 @@ const Va = 2, Xa = (t) => {
2157
2159
  "div",
2158
2160
  {
2159
2161
  className: $(
2160
- N.helper,
2161
- a && N.error,
2162
- (o || i) && N.disabled
2162
+ I.helper,
2163
+ a && I.error,
2164
+ (o || i) && I.disabled
2163
2165
  ),
2164
2166
  ...m,
2165
2167
  id: a ? `${X}-error` : void 0,
@@ -2169,12 +2171,12 @@ const Va = 2, Xa = (t) => {
2169
2171
  ] });
2170
2172
  }
2171
2173
  );
2172
- Ke.displayName = "InputWrapperComponent";
2173
- const Fe = Object.assign(ks, {
2174
- Wrapper: Ke
2175
- }), Qe = K(
2174
+ Qt.displayName = "InputWrapperComponent";
2175
+ const Wt = Object.assign(ks, {
2176
+ Wrapper: Qt
2177
+ }), er = K(
2176
2178
  ({
2177
- component: t = "input",
2179
+ component: e = "input",
2178
2180
  size: r = "L",
2179
2181
  className: a,
2180
2182
  error: o = !1,
@@ -2183,14 +2185,14 @@ const Fe = Object.assign(ks, {
2183
2185
  placeholder: l,
2184
2186
  showLabel: c = !0,
2185
2187
  labelClassName: _,
2186
- helper: f,
2187
- prefix: p,
2188
+ helper: p,
2189
+ prefix: f,
2188
2190
  suffix: h,
2189
2191
  id: m,
2190
2192
  onFocus: g,
2191
- onBlur: y,
2193
+ onBlur: x,
2192
2194
  onKeyDown: C,
2193
- onSuffixClick: x,
2195
+ onSuffixClick: y,
2194
2196
  onChange: v,
2195
2197
  value: u = "",
2196
2198
  wrapperProps: w,
@@ -2198,21 +2200,21 @@ const Fe = Object.assign(ks, {
2198
2200
  floatingLabelStyles: E,
2199
2201
  prefixStyles: k,
2200
2202
  suffixStyles: T,
2201
- textareaStyles: O,
2203
+ textareaStyles: N,
2202
2204
  labelProps: A,
2203
- helperProps: W,
2204
- showLimit: q = !1,
2205
+ helperProps: B,
2206
+ showLimit: F = !1,
2205
2207
  maxLength: P,
2206
2208
  inputProps: S,
2207
- hint: I,
2209
+ hint: M,
2208
2210
  showHint: z = !1,
2209
- showHintOnEmpty: F = !1,
2211
+ showHintOnEmpty: W = !1,
2210
2212
  truncate: X = !1,
2211
2213
  resize: Q,
2212
- showGrip: ct = !1,
2213
- ...at
2214
- }, tt) => {
2215
- const et = pe(), mt = m || et, [zt, Et] = _t(u), bt = u !== void 0 ? u : zt, Tt = (bt || "").length > 0, jt = bt || "", Rt = c && (r === "XL" || t === "textarea") && !p, Kt = St(
2214
+ showGrip: le = !1,
2215
+ ...ae
2216
+ }, ee) => {
2217
+ const te = pt(), me = m || te, [De, Te] = ue(u), be = u !== void 0 ? u : De, Re = (be || "").length > 0, ke = be || "", Ne = c && (r === "XL" || e === "textarea") && !f, Ke = Le(
2216
2218
  (G) => {
2217
2219
  var U;
2218
2220
  i || s || (g == null || g(), (U = S == null ? void 0 : S.onFocus) == null || U.call(
@@ -2221,12 +2223,12 @@ const Fe = Object.assign(ks, {
2221
2223
  ));
2222
2224
  },
2223
2225
  [g, S, i, s]
2224
- ), Vt = St(
2226
+ ), Ve = Le(
2225
2227
  (G) => {
2226
2228
  var U;
2227
2229
  if (G.key === "Tab") {
2228
- const ht = G.target.closest(`.${N.wrapper}`);
2229
- ht && ht.classList.add(N.tabFocused);
2230
+ const he = G.target.closest(`.${I.wrapper}`);
2231
+ he && he.classList.add(I.tabFocused);
2230
2232
  }
2231
2233
  (U = S == null ? void 0 : S.onKeyUp) == null || U.call(
2232
2234
  S,
@@ -2234,86 +2236,86 @@ const Fe = Object.assign(ks, {
2234
2236
  );
2235
2237
  },
2236
2238
  [S]
2237
- ), Qt = St(
2239
+ ), Qe = Le(
2238
2240
  (G) => {
2239
- var ht;
2240
- const U = G.target.closest(`.${N.wrapper}`);
2241
- U && U.classList.remove(N.tabFocused), y == null || y(), (ht = S == null ? void 0 : S.onBlur) == null || ht.call(
2241
+ var he;
2242
+ const U = G.target.closest(`.${I.wrapper}`);
2243
+ U && U.classList.remove(I.tabFocused), x == null || x(), (he = S == null ? void 0 : S.onBlur) == null || he.call(
2242
2244
  S,
2243
2245
  G
2244
2246
  );
2245
2247
  },
2246
- [y, S]
2247
- ), te = St(
2248
+ [x, S]
2249
+ ), et = Le(
2248
2250
  (G) => {
2249
- var ht;
2251
+ var he;
2250
2252
  if (i || s) return;
2251
2253
  const U = G.target.value;
2252
- Et(U), v == null || v(U, G), (ht = S == null ? void 0 : S.onChange) == null || ht.call(
2254
+ Te(U), v == null || v(U, G), (he = S == null ? void 0 : S.onChange) == null || he.call(
2253
2255
  S,
2254
2256
  G
2255
2257
  );
2256
2258
  },
2257
2259
  [v, S, i, s]
2258
2260
  );
2259
- return lt(() => {
2260
- Et(u || "");
2261
+ return _e(() => {
2262
+ Te(u || "");
2261
2263
  }, [u]), /* @__PURE__ */ n.jsx(
2262
- Fe.Wrapper,
2264
+ Wt.Wrapper,
2263
2265
  {
2264
- ref: tt,
2266
+ ref: ee,
2265
2267
  size: r,
2266
2268
  error: o,
2267
2269
  disabled: i || s,
2268
2270
  loading: s,
2269
- className: $(a, t === "textarea" && N["textarea-wrapper"]),
2271
+ className: $(a, e === "textarea" && I["textarea-wrapper"]),
2270
2272
  wrapperProps: w,
2271
2273
  wrapperStyles: L,
2272
2274
  floatingLabelStyles: E,
2273
2275
  prefixStyles: k,
2274
2276
  suffixStyles: T,
2275
2277
  labelProps: A,
2276
- helperProps: W,
2277
- showLimit: q,
2278
+ helperProps: B,
2279
+ showLimit: F,
2278
2280
  maxLength: P,
2279
- hint: I,
2281
+ hint: M,
2280
2282
  showHint: z,
2281
- showHintOnEmpty: F,
2282
- prefix: p,
2283
+ showHintOnEmpty: W,
2284
+ prefix: f,
2283
2285
  suffix: h,
2284
- onSuffixClick: x,
2286
+ onSuffixClick: y,
2285
2287
  placeholder: l,
2286
2288
  showLabel: c,
2287
2289
  labelClassName: _,
2288
- hasValue: Tt,
2289
- helper: f,
2290
- id: mt,
2291
- value: jt,
2292
- showGrip: ct,
2290
+ hasValue: Re,
2291
+ helper: p,
2292
+ id: me,
2293
+ value: ke,
2294
+ showGrip: le,
2293
2295
  resize: Q,
2294
- ...at,
2296
+ ...ae,
2295
2297
  children: /* @__PURE__ */ n.jsx(
2296
- Fe,
2298
+ Wt,
2297
2299
  {
2298
- component: t,
2300
+ component: e,
2299
2301
  size: r,
2300
- value: jt,
2302
+ value: ke,
2301
2303
  placeholder: l,
2302
2304
  disabled: i,
2303
2305
  loading: s,
2304
- onFocus: Kt,
2305
- onBlur: Qt,
2306
- onChange: te,
2306
+ onFocus: Ke,
2307
+ onBlur: Qe,
2308
+ onChange: et,
2307
2309
  onKeyDown: C,
2308
- onKeyUp: Vt,
2310
+ onKeyUp: Ve,
2309
2311
  maxLength: P,
2310
2312
  truncate: X,
2311
- "data-empty": !Tt,
2312
- shouldShowFloatingLabelClass: Rt,
2313
- style: t === "textarea" ? O : void 0,
2313
+ "data-empty": !Re,
2314
+ shouldShowFloatingLabelClass: Ne,
2315
+ style: e === "textarea" ? N : void 0,
2314
2316
  "aria-invalid": !!o,
2315
- "aria-errormessage": o ? `${mt}-error` : void 0,
2316
- id: mt,
2317
+ "aria-errormessage": o ? `${me}-error` : void 0,
2318
+ id: me,
2317
2319
  resize: Q,
2318
2320
  ...S
2319
2321
  }
@@ -2326,8 +2328,8 @@ const Fe = Object.assign(ks, {
2326
2328
  M: "M",
2327
2329
  L: "L",
2328
2330
  XL: "XL"
2329
- }, $s = (t, r, a, o) => {
2330
- switch (t) {
2331
+ }, $s = (e, r, a, o) => {
2332
+ switch (e) {
2331
2333
  case H.XL:
2332
2334
  return r && a ? "8px 16px 8px 16px" : "16px 16px 16px 16px";
2333
2335
  case H.L:
@@ -2339,8 +2341,8 @@ const Fe = Object.assign(ks, {
2339
2341
  default:
2340
2342
  return "12px 16px 12px 16px";
2341
2343
  }
2342
- }, Es = (t) => {
2343
- switch (t) {
2344
+ }, Es = (e) => {
2345
+ switch (e) {
2344
2346
  case H.XL:
2345
2347
  return "56px";
2346
2348
  case H.L:
@@ -2352,8 +2354,8 @@ const Fe = Object.assign(ks, {
2352
2354
  default:
2353
2355
  return "48px";
2354
2356
  }
2355
- }, Ts = (t) => {
2356
- switch (t) {
2357
+ }, Ts = (e) => {
2358
+ switch (e) {
2357
2359
  case H.S:
2358
2360
  case H.M:
2359
2361
  case H.L:
@@ -2363,8 +2365,8 @@ const Fe = Object.assign(ks, {
2363
2365
  default:
2364
2366
  return 8;
2365
2367
  }
2366
- }, Rs = (t) => {
2367
- switch (t) {
2368
+ }, Rs = (e) => {
2369
+ switch (e) {
2368
2370
  case H.S:
2369
2371
  case H.M:
2370
2372
  return 8;
@@ -2374,10 +2376,10 @@ const Fe = Object.assign(ks, {
2374
2376
  default:
2375
2377
  return 12;
2376
2378
  }
2377
- }, Ns = (t, r, a, o) => ({
2379
+ }, Ns = (e, r, a, o) => ({
2378
2380
  wrapperStyles: {
2379
- minHeight: t,
2380
- maxHeight: t,
2381
+ minHeight: e,
2382
+ maxHeight: e,
2381
2383
  boxSizing: "border-box",
2382
2384
  padding: r
2383
2385
  },
@@ -2394,11 +2396,11 @@ const Fe = Object.assign(ks, {
2394
2396
  padding: "6px",
2395
2397
  cursor: "pointer"
2396
2398
  }
2397
- }), Is = (t, r, a, o) => ({
2399
+ }), Is = (e, r, a, o) => ({
2398
2400
  wrapperStyles: {
2399
- height: t,
2400
- minHeight: t,
2401
- maxHeight: t,
2401
+ height: e,
2402
+ minHeight: e,
2403
+ maxHeight: e,
2402
2404
  boxSizing: "border-box",
2403
2405
  padding: r
2404
2406
  },
@@ -2416,10 +2418,10 @@ const Fe = Object.assign(ks, {
2416
2418
  padding: "8px",
2417
2419
  cursor: "pointer"
2418
2420
  }
2419
- }), Ms = (t, r, a, o) => ({
2421
+ }), Ms = (e, r, a, o) => ({
2420
2422
  wrapperStyles: {
2421
- minHeight: t,
2422
- maxHeight: t,
2423
+ minHeight: e,
2424
+ maxHeight: e,
2423
2425
  boxSizing: "border-box",
2424
2426
  padding: r
2425
2427
  },
@@ -2439,10 +2441,10 @@ const Fe = Object.assign(ks, {
2439
2441
  alignItems: "center",
2440
2442
  justifyContent: "center"
2441
2443
  }
2442
- }), Os = (t, r, a, o) => ({
2444
+ }), Os = (e, r, a, o) => ({
2443
2445
  wrapperStyles: {
2444
- minHeight: t,
2445
- maxHeight: t,
2446
+ minHeight: e,
2447
+ maxHeight: e,
2446
2448
  boxSizing: "border-box",
2447
2449
  padding: r
2448
2450
  },
@@ -2459,9 +2461,9 @@ const Fe = Object.assign(ks, {
2459
2461
  padding: "6px",
2460
2462
  cursor: "pointer"
2461
2463
  }
2462
- }), As = (t, r, a, o) => {
2463
- const i = Es(t), s = $s(t, r, a, o), l = Rs(t), c = Ts(t);
2464
- switch (t) {
2464
+ }), As = (e, r, a, o) => {
2465
+ const i = Es(e), s = $s(e, r, a, o), l = Rs(e), c = Ts(e);
2466
+ switch (e) {
2465
2467
  case H.XL:
2466
2468
  return Is(i, s, l, c);
2467
2469
  case H.L:
@@ -2478,9 +2480,9 @@ const Fe = Object.assign(ks, {
2478
2480
  suffixStyles: {}
2479
2481
  };
2480
2482
  }
2481
- }, ql = K(
2483
+ }, Vl = K(
2482
2484
  ({
2483
- value: t = "",
2485
+ value: e = "",
2484
2486
  onChange: r,
2485
2487
  type: a = "text",
2486
2488
  placeholder: o,
@@ -2489,14 +2491,14 @@ const Fe = Object.assign(ks, {
2489
2491
  autoComplete: l,
2490
2492
  autoFocus: c,
2491
2493
  size: _ = H.L,
2492
- inputProps: f,
2493
- error: p,
2494
+ inputProps: p,
2495
+ error: f,
2494
2496
  disabled: h,
2495
2497
  loading: m,
2496
2498
  helper: g,
2497
- prefix: y,
2499
+ prefix: x,
2498
2500
  suffix: C,
2499
- clearable: x = !1,
2501
+ clearable: y = !1,
2500
2502
  id: v,
2501
2503
  showLabel: u = !0,
2502
2504
  onFocus: w,
@@ -2504,212 +2506,212 @@ const Fe = Object.assign(ks, {
2504
2506
  onSuffixClick: E,
2505
2507
  onClear: k,
2506
2508
  className: T,
2507
- truncate: O = !0,
2509
+ truncate: N = !0,
2508
2510
  hint: A,
2509
- showHint: W = !1,
2510
- showHintOnEmpty: q = !1,
2511
+ showHint: B = !1,
2512
+ showHintOnEmpty: F = !1,
2511
2513
  wrapperProps: P,
2512
2514
  labelProps: S,
2513
- helperProps: I,
2515
+ helperProps: M,
2514
2516
  ...z
2515
- }, F) => {
2516
- const X = (t || "").length > 0, Q = _ === H.XL, ct = !!y, at = Q && u && !y, tt = x && X && !(h || m), et = () => {
2517
+ }, W) => {
2518
+ const X = (e || "").length > 0, Q = _ === H.XL, le = !!x, ae = Q && u && !x, ee = y && X && !(h || m), te = () => {
2517
2519
  r == null || r(""), k == null || k();
2518
- }, mt = () => {
2519
- tt && et(), E == null || E();
2520
- }, zt = tt ? /* @__PURE__ */ n.jsx(
2521
- Je,
2520
+ }, me = () => {
2521
+ ee && te(), E == null || E();
2522
+ }, De = ee ? /* @__PURE__ */ n.jsx(
2523
+ Kt,
2522
2524
  {
2523
2525
  size: _ === H.S || _ === H.M ? "xs" : "sm",
2524
2526
  color: "var(--icon-secondary)",
2525
2527
  style: { cursor: "pointer" },
2526
2528
  "data-testid": "x-icon"
2527
2529
  }
2528
- ) : C, Et = {
2530
+ ) : C, Te = {
2529
2531
  type: a,
2530
2532
  minLength: s,
2531
2533
  autoComplete: l,
2532
2534
  autoFocus: c,
2533
- ...f
2534
- }, bt = As(_, at, X, ct);
2535
+ ...p
2536
+ }, be = As(_, ae, X, le);
2535
2537
  return /* @__PURE__ */ n.jsx(
2536
- Qe,
2538
+ er,
2537
2539
  {
2538
2540
  size: _,
2539
- error: p,
2541
+ error: f,
2540
2542
  disabled: h || m,
2541
2543
  loading: m,
2542
2544
  helper: g,
2543
- prefix: y,
2544
- suffix: zt,
2545
+ prefix: x,
2546
+ suffix: De,
2545
2547
  id: v,
2546
- showLabel: at,
2548
+ showLabel: ae,
2547
2549
  onFocus: w,
2548
2550
  onBlur: L,
2549
- onSuffixClick: mt,
2551
+ onSuffixClick: me,
2550
2552
  onChange: r,
2551
- value: t,
2553
+ value: e,
2552
2554
  placeholder: o,
2553
2555
  className: T,
2554
- wrapperStyles: bt.wrapperStyles,
2555
- floatingLabelStyles: bt.floatingLabelStyles,
2556
- prefixStyles: bt.prefixStyles,
2557
- suffixStyles: bt.suffixStyles,
2556
+ wrapperStyles: be.wrapperStyles,
2557
+ floatingLabelStyles: be.floatingLabelStyles,
2558
+ prefixStyles: be.prefixStyles,
2559
+ suffixStyles: be.suffixStyles,
2558
2560
  wrapperProps: P,
2559
2561
  labelProps: S,
2560
- helperProps: I,
2562
+ helperProps: M,
2561
2563
  showLimit: !1,
2562
2564
  maxLength: i,
2563
- inputProps: Et,
2565
+ inputProps: Te,
2564
2566
  hint: A,
2565
- showHint: W,
2566
- showHintOnEmpty: q,
2567
- truncate: O,
2567
+ showHint: B,
2568
+ showHintOnEmpty: F,
2569
+ truncate: N,
2568
2570
  ...z
2569
2571
  }
2570
2572
  );
2571
2573
  }
2572
- ), ut = {
2574
+ ), de = {
2573
2575
  M: "M",
2574
2576
  L: "L"
2575
- }, Ut = {
2577
+ }, Ue = {
2576
2578
  M: "12px",
2577
2579
  L: "16px"
2578
2580
  }, Ps = {
2579
2581
  M: "xs",
2580
2582
  L: "sm"
2581
- }, Zt = {
2583
+ }, Ze = {
2582
2584
  FILL: "fill",
2583
2585
  FIXED: "fixed"
2584
- }, ce = {
2586
+ }, ct = {
2585
2587
  M: "112px",
2586
2588
  L: "56px"
2587
- }, Ot = {
2589
+ }, Ae = {
2588
2590
  M: "48px",
2589
2591
  L: "22px"
2590
- }, vt = {
2592
+ }, ve = {
2591
2593
  M: "12px 12px 12px 12px",
2592
2594
  L: "16px 16px 16px 16px",
2593
2595
  L_WITH_PREFIX: "12px 16px 12px 16px",
2594
2596
  L_FLOATING_LABEL: "8px 16px 8px 16px"
2595
- }, Ct = {
2597
+ }, Ce = {
2596
2598
  M: 48,
2597
2599
  L: 56,
2598
2600
  XL: 112
2599
- }, Bs = (t, r) => {
2600
- if (t === ut.M)
2601
- return ce.M;
2601
+ }, Bs = (e, r) => {
2602
+ if (e === de.M)
2603
+ return ct.M;
2602
2604
  if (r)
2603
2605
  return `${r}px`;
2604
- switch (t) {
2605
- case ut.L:
2606
- return ce.L;
2606
+ switch (e) {
2607
+ case de.L:
2608
+ return ct.L;
2607
2609
  default:
2608
- return ce.L;
2610
+ return ct.L;
2609
2611
  }
2610
- }, zs = (t, r) => {
2611
- if (t === ut.M)
2612
- return Ot.M;
2612
+ }, Ds = (e, r) => {
2613
+ if (e === de.M)
2614
+ return Ae.M;
2613
2615
  if (r)
2614
2616
  switch (r) {
2615
- case Ct.M:
2616
- case Ct.L:
2617
- return Ot.L;
2618
- case Ct.XL:
2619
- return Ot.M;
2617
+ case Ce.M:
2618
+ case Ce.L:
2619
+ return Ae.L;
2620
+ case Ce.XL:
2621
+ return Ae.M;
2620
2622
  default:
2621
- return Ot.L;
2623
+ return Ae.L;
2622
2624
  }
2623
- switch (t) {
2624
- case ut.L:
2625
- return Ot.L;
2625
+ switch (e) {
2626
+ case de.L:
2627
+ return Ae.L;
2626
2628
  default:
2627
- return Ot.L;
2629
+ return Ae.L;
2628
2630
  }
2629
- }, Ds = (t, r, a) => {
2630
- if (t === ut.M)
2631
- return vt.M;
2631
+ }, zs = (e, r, a) => {
2632
+ if (e === de.M)
2633
+ return ve.M;
2632
2634
  if (r)
2633
2635
  switch (r) {
2634
- case Ct.M:
2635
- return vt.L_WITH_PREFIX;
2636
- case Ct.L:
2637
- return a ? vt.L_FLOATING_LABEL : vt.L;
2638
- case Ct.XL:
2639
- return vt.L;
2636
+ case Ce.M:
2637
+ return ve.L_WITH_PREFIX;
2638
+ case Ce.L:
2639
+ return a ? ve.L_FLOATING_LABEL : ve.L;
2640
+ case Ce.XL:
2641
+ return ve.L;
2640
2642
  default:
2641
- return vt.L;
2643
+ return ve.L;
2642
2644
  }
2643
- switch (t) {
2644
- case ut.L:
2645
- return a ? vt.L_FLOATING_LABEL : vt.L;
2645
+ switch (e) {
2646
+ case de.L:
2647
+ return a ? ve.L_FLOATING_LABEL : ve.L;
2646
2648
  default:
2647
- return vt.L;
2649
+ return ve.L;
2648
2650
  }
2649
- }, Ws = (t, r) => {
2650
- if (t === ut.M)
2651
+ }, qs = (e, r) => {
2652
+ if (e === de.M)
2651
2653
  return "M";
2652
2654
  if (r)
2653
2655
  switch (r) {
2654
- case Ct.M:
2656
+ case Ce.M:
2655
2657
  return "M";
2656
- case Ct.L:
2658
+ case Ce.L:
2657
2659
  return "L";
2658
- case Ct.XL:
2660
+ case Ce.XL:
2659
2661
  return "L";
2660
2662
  default:
2661
2663
  return "L";
2662
2664
  }
2663
- return t;
2664
- }, Fs = (t) => Ps[t], qs = (t) => Ut[t], Hs = (t, r, a, o) => {
2665
- const i = Bs(t, r), s = zs(t, r), l = Ds(t, r, a);
2665
+ return e;
2666
+ }, Ws = (e) => Ps[e], Fs = (e) => Ue[e], Hs = (e, r, a, o) => {
2667
+ const i = Bs(e, r), s = Ds(e, r), l = zs(e, r, a);
2666
2668
  return {
2667
2669
  wrapperStyles: {
2668
2670
  minHeight: i,
2669
2671
  // Для fill resize устанавливаем height: 100%
2670
- ...o === Zt.FILL && { height: "100%" },
2672
+ ...o === Ze.FILL && { height: "100%" },
2671
2673
  // Для fixed resize устанавливаем фиксированную высоту
2672
- ...o === Zt.FIXED && r && { height: i },
2674
+ ...o === Ze.FIXED && r && { height: i },
2673
2675
  boxSizing: "border-box",
2674
2676
  padding: l
2675
2677
  },
2676
2678
  floatingLabelStyles: {
2677
- left: t === ut.M ? Ut.M : Ut.L,
2679
+ left: e === de.M ? Ue.M : Ue.L,
2678
2680
  transformOrigin: "left top",
2679
- top: r === 112 && a && t === ut.L ? Ut.L : void 0
2681
+ top: r === 112 && a && e === de.L ? Ue.L : void 0
2680
2682
  },
2681
2683
  suffixStyles: {
2682
- right: qs(t),
2683
- top: r === 48 && t === ut.L ? "11px" : void 0,
2684
+ right: Fs(e),
2685
+ top: r === 48 && e === de.L ? "11px" : void 0,
2684
2686
  boxSizing: "border-box"
2685
2687
  },
2686
2688
  textareaStyles: {
2687
2689
  minHeight: s,
2688
2690
  // Для fill resize flex: 1
2689
- ...o === Zt.FILL && { flex: 1, minHeight: 0 },
2691
+ ...o === Ze.FILL && { flex: 1, minHeight: 0 },
2690
2692
  // Для fixed resize фиксированная высота
2691
- ...o === Zt.FIXED && r && { height: s }
2693
+ ...o === Ze.FIXED && r && { height: s }
2692
2694
  }
2693
2695
  };
2694
- }, Hl = K(
2696
+ }, Xl = K(
2695
2697
  ({
2696
- value: t = "",
2698
+ value: e = "",
2697
2699
  onChange: r,
2698
2700
  placeholder: a,
2699
2701
  maxLength: o,
2700
2702
  minLength: i,
2701
2703
  autoFocus: s,
2702
- size: l = ut.L,
2704
+ size: l = de.L,
2703
2705
  textareaProps: c,
2704
2706
  error: _,
2705
- disabled: f,
2706
- loading: p,
2707
+ disabled: p,
2708
+ loading: f,
2707
2709
  helper: h,
2708
2710
  suffix: m,
2709
2711
  clearable: g = !1,
2710
- id: y,
2712
+ id: x,
2711
2713
  showLabel: C = !0,
2712
- onFocus: x,
2714
+ onFocus: y,
2713
2715
  onBlur: v,
2714
2716
  onClear: u,
2715
2717
  onKeyDown: w,
@@ -2717,26 +2719,26 @@ const Fe = Object.assign(ks, {
2717
2719
  rows: E = 1,
2718
2720
  showLimit: k = !1,
2719
2721
  wrapperProps: T,
2720
- labelProps: O,
2722
+ labelProps: N,
2721
2723
  helperProps: A,
2722
- showGrip: W,
2723
- minHeight: q,
2724
+ showGrip: B,
2725
+ minHeight: F,
2724
2726
  resize: P,
2725
2727
  ...S
2726
- }, I) => {
2727
- const z = (t || "").length > 0, F = C && !!a && (l === ut.M || q !== 48), X = g && z && !(f || p), Q = () => {
2728
+ }, M) => {
2729
+ const z = (e || "").length > 0, W = C && !!a && (l === de.M || F !== 48), X = g && z && !(p || f), Q = () => {
2728
2730
  r == null || r(""), u == null || u();
2729
- }, ct = () => {
2731
+ }, le = () => {
2730
2732
  X && Q();
2731
- }, at = X ? /* @__PURE__ */ n.jsx(
2732
- Je,
2733
+ }, ae = X ? /* @__PURE__ */ n.jsx(
2734
+ Kt,
2733
2735
  {
2734
- size: Fs(l),
2736
+ size: Ws(l),
2735
2737
  color: "var(--icon-secondary)",
2736
2738
  style: { cursor: "pointer" },
2737
2739
  "data-testid": "x-icon"
2738
2740
  }
2739
- ) : m, tt = Hs(l, q, F && z, P), et = Ws(l, q), mt = {
2741
+ ) : m, ee = Hs(l, F, W && z, P), te = qs(l, F), me = {
2740
2742
  rows: E,
2741
2743
  minLength: i,
2742
2744
  autoFocus: s,
@@ -2744,49 +2746,49 @@ const Fe = Object.assign(ks, {
2744
2746
  ...c
2745
2747
  };
2746
2748
  return /* @__PURE__ */ n.jsx(
2747
- Qe,
2749
+ er,
2748
2750
  {
2749
- ref: I,
2751
+ ref: M,
2750
2752
  component: "textarea",
2751
- size: et,
2753
+ size: te,
2752
2754
  error: _,
2753
- disabled: f || p,
2754
- loading: p,
2755
- onSuffixClick: ct,
2755
+ disabled: p || f,
2756
+ loading: f,
2757
+ onSuffixClick: le,
2756
2758
  helper: h,
2757
- suffix: at,
2758
- id: y,
2759
- showLabel: F,
2760
- onFocus: x,
2759
+ suffix: ae,
2760
+ id: x,
2761
+ showLabel: W,
2762
+ onFocus: y,
2761
2763
  onBlur: v,
2762
2764
  onKeyDown: w,
2763
2765
  onChange: r,
2764
- value: t || "",
2766
+ value: e || "",
2765
2767
  placeholder: a,
2766
2768
  className: L,
2767
- "data-floating-label": F,
2768
- wrapperStyles: tt.wrapperStyles,
2769
- floatingLabelStyles: tt.floatingLabelStyles,
2770
- suffixStyles: tt.suffixStyles,
2771
- textareaStyles: tt.textareaStyles,
2769
+ "data-floating-label": W,
2770
+ wrapperStyles: ee.wrapperStyles,
2771
+ floatingLabelStyles: ee.floatingLabelStyles,
2772
+ suffixStyles: ee.suffixStyles,
2773
+ textareaStyles: ee.textareaStyles,
2772
2774
  wrapperProps: T,
2773
- labelProps: O,
2775
+ labelProps: N,
2774
2776
  helperProps: A,
2775
- showLimit: k && (q === 112 || l === ut.M),
2777
+ showLimit: k && (F === 112 || l === de.M),
2776
2778
  maxLength: o,
2777
- inputProps: mt,
2779
+ inputProps: me,
2778
2780
  resize: P,
2779
- showGrip: W,
2781
+ showGrip: B,
2780
2782
  ...S
2781
2783
  }
2782
2784
  );
2783
2785
  }
2784
- ), Vs = "_helper_1jq7j_16", de = {
2786
+ ), Vs = "_helper_1jq7j_16", dt = {
2785
2787
  helper: Vs,
2786
2788
  "helper--error": "_helper--error_1jq7j_28",
2787
2789
  "helper--disabled": "_helper--disabled_1jq7j_33"
2788
- }, Vl = ({
2789
- title: t,
2790
+ }, Yl = ({
2791
+ title: e,
2790
2792
  error: r,
2791
2793
  className: a = "",
2792
2794
  style: o,
@@ -2795,24 +2797,24 @@ const Fe = Object.assign(ks, {
2795
2797
  "aria-label": l,
2796
2798
  "aria-describedby": c
2797
2799
  }) => {
2798
- const _ = !!r, f = $(
2799
- de.helper,
2800
- _ && de["helper--error"],
2801
- i && de["helper--disabled"],
2800
+ const _ = !!r, p = $(
2801
+ dt.helper,
2802
+ _ && dt["helper--error"],
2803
+ i && dt["helper--disabled"],
2802
2804
  a
2803
- ), p = i ? t : r || t;
2805
+ ), f = i ? e : r || e;
2804
2806
  return /* @__PURE__ */ n.jsx(
2805
2807
  "div",
2806
2808
  {
2807
- className: f,
2809
+ className: p,
2808
2810
  style: o,
2809
2811
  "data-testid": s,
2810
2812
  "aria-label": l,
2811
2813
  "aria-describedby": c,
2812
- children: /* @__PURE__ */ n.jsx("p", { children: p })
2814
+ children: /* @__PURE__ */ n.jsx("p", { children: f })
2813
2815
  }
2814
2816
  );
2815
- }, Xs = "_radio_1q34w_54", Ys = "_checked_1q34w_75", Zs = "_error_1q34w_80", Gs = "_disabled_1q34w_89", Us = "_icon_1q34w_125", Js = "_small_1q34w_133", Ks = "_medium_1q34w_140", Qs = "_large_1q34w_147", ti = "_label_1q34w_154", ei = "_container_1q34w_180", ri = "_input_1q34w_193", ai = "_card_1q34w_200", oi = "_smallCard_1q34w_206", ni = "_mediumCard_1q34w_210", si = "_largeCard_1q34w_214", dt = {
2817
+ }, Xs = "_radio_1q34w_54", Ys = "_checked_1q34w_75", Zs = "_error_1q34w_80", Gs = "_disabled_1q34w_89", Us = "_icon_1q34w_125", Js = "_small_1q34w_133", Ks = "_medium_1q34w_140", Qs = "_large_1q34w_147", ei = "_label_1q34w_154", ti = "_container_1q34w_180", ri = "_input_1q34w_193", ai = "_card_1q34w_200", oi = "_smallCard_1q34w_206", ni = "_mediumCard_1q34w_210", si = "_largeCard_1q34w_214", ce = {
2816
2818
  radio: Xs,
2817
2819
  checked: Ys,
2818
2820
  error: Zs,
@@ -2821,15 +2823,15 @@ const Fe = Object.assign(ks, {
2821
2823
  small: Js,
2822
2824
  medium: Ks,
2823
2825
  large: Qs,
2824
- label: ti,
2825
- container: ei,
2826
+ label: ei,
2827
+ container: ti,
2826
2828
  input: ri,
2827
2829
  card: ai,
2828
2830
  smallCard: oi,
2829
2831
  mediumCard: ni,
2830
2832
  largeCard: si
2831
2833
  }, ii = "radio-container-", li = "radio-label", tr = K(
2832
- (t, r) => {
2834
+ (e, r) => {
2833
2835
  const {
2834
2836
  name: a,
2835
2837
  id: o,
@@ -2838,76 +2840,76 @@ const Fe = Object.assign(ks, {
2838
2840
  loading: l = !1,
2839
2841
  error: c,
2840
2842
  disabled: _ = !1,
2841
- checked: f = !1,
2842
- containerClassName: p,
2843
+ checked: p = !1,
2844
+ containerClassName: f,
2843
2845
  className: h,
2844
2846
  children: m,
2845
2847
  clickable: g = "all",
2846
- mode: y = "default",
2848
+ mode: x = "default",
2847
2849
  tabIndex: C,
2848
- style: x,
2850
+ style: y,
2849
2851
  containerStyle: v,
2850
2852
  onChange: u,
2851
2853
  "data-testid": w,
2852
2854
  ...L
2853
- } = t, E = !!c, k = _ || l, T = g === "all", O = y === "card", A = dt[`${s}Card`], W = o ?? a, q = (F) => {
2854
- k || u == null || u(i, F);
2855
- }, P = (F) => {
2856
- F.key === "Enter" && !k && (F.preventDefault(), u == null || u(i));
2857
- }, S = (F) => F.stopPropagation(), I = () => /* @__PURE__ */ n.jsxs(
2855
+ } = e, E = !!c, k = _ || l, T = g === "all", N = x === "card", A = ce[`${s}Card`], B = o ?? a, F = (W) => {
2856
+ k || u == null || u(i, W);
2857
+ }, P = (W) => {
2858
+ W.key === "Enter" && !k && (W.preventDefault(), u == null || u(i));
2859
+ }, S = (W) => W.stopPropagation(), M = () => /* @__PURE__ */ n.jsxs(
2858
2860
  "div",
2859
2861
  {
2860
2862
  className: $(
2861
- dt.radio,
2862
- dt[s],
2863
+ ce.radio,
2864
+ ce[s],
2863
2865
  {
2864
- [dt.checked]: f,
2865
- [dt.disabled]: k,
2866
- [dt.error]: E && !k
2866
+ [ce.checked]: p,
2867
+ [ce.disabled]: k,
2868
+ [ce.error]: E && !k
2867
2869
  },
2868
2870
  h
2869
2871
  ),
2870
- style: x,
2872
+ style: y,
2871
2873
  tabIndex: C || 1,
2872
- "data-testid": `${ii}${W}`,
2874
+ "data-testid": `${ii}${B}`,
2873
2875
  children: [
2874
2876
  /* @__PURE__ */ n.jsx(
2875
2877
  "input",
2876
2878
  {
2877
2879
  "aria-errormessage": c,
2878
2880
  "aria-invalid": E,
2879
- checked: f,
2880
- className: dt.input,
2881
- "data-testid": `radio-${W}`,
2881
+ checked: p,
2882
+ className: ce.input,
2883
+ "data-testid": `radio-${B}`,
2882
2884
  disabled: k,
2883
- id: W,
2885
+ id: B,
2884
2886
  name: a,
2885
2887
  ref: r,
2886
2888
  type: "radio",
2887
2889
  value: i,
2888
- onChange: q,
2890
+ onChange: F,
2889
2891
  onClick: S
2890
2892
  }
2891
2893
  ),
2892
- /* @__PURE__ */ n.jsx("svg", { "data-testid": `radio-icon-${W}`, viewBox: "0 0 8 8", className: dt.icon, children: /* @__PURE__ */ n.jsx("circle", { cx: 4, cy: 4, fill: "current", r: 4 }) })
2894
+ /* @__PURE__ */ n.jsx("svg", { "data-testid": `radio-icon-${B}`, viewBox: "0 0 8 8", className: ce.icon, children: /* @__PURE__ */ n.jsx("circle", { cx: 4, cy: 4, fill: "current", r: 4 }) })
2893
2895
  ]
2894
2896
  }
2895
2897
  ), z = () => /* @__PURE__ */ n.jsxs(
2896
2898
  "label",
2897
2899
  {
2898
- "aria-checked": f,
2900
+ "aria-checked": p,
2899
2901
  "aria-disabled": k,
2900
2902
  "data-testid": T ? w : li,
2901
- htmlFor: W,
2903
+ htmlFor: B,
2902
2904
  style: v,
2903
- className: $(dt.label, {
2904
- [$(dt.container, dt[y], p)]: T,
2905
- [A]: T && O
2905
+ className: $(ce.label, {
2906
+ [$(ce.container, ce[x], f)]: T,
2907
+ [A]: T && N
2906
2908
  }),
2907
2909
  onKeyDown: P,
2908
2910
  ...L,
2909
2911
  children: [
2910
- I(),
2912
+ M(),
2911
2913
  T && m
2912
2914
  ]
2913
2915
  }
@@ -2915,8 +2917,8 @@ const Fe = Object.assign(ks, {
2915
2917
  return T ? z() : /* @__PURE__ */ n.jsxs(
2916
2918
  "div",
2917
2919
  {
2918
- className: $(dt.container, dt[y], p, {
2919
- [A]: O
2920
+ className: $(ce.container, ce[x], f, {
2921
+ [A]: N
2920
2922
  }),
2921
2923
  "data-testid": w,
2922
2924
  children: [
@@ -2926,12 +2928,12 @@ const Fe = Object.assign(ks, {
2926
2928
  }
2927
2929
  );
2928
2930
  }
2929
- ), ci = "_group_o6mjt_7", di = "_vertical_o6mjt_12", ui = "_horizontal_o6mjt_16", qe = {
2931
+ ), ci = "_group_o6mjt_7", di = "_vertical_o6mjt_12", ui = "_horizontal_o6mjt_16", Ft = {
2930
2932
  group: ci,
2931
2933
  vertical: di,
2932
2934
  horizontal: ui
2933
2935
  }, _i = K(
2934
- (t, r) => {
2936
+ (e, r) => {
2935
2937
  const {
2936
2938
  id: a,
2937
2939
  name: o,
@@ -2940,26 +2942,26 @@ const Fe = Object.assign(ks, {
2940
2942
  className: l,
2941
2943
  radioClassName: c,
2942
2944
  disabled: _ = !1,
2943
- layout: f = "vertical",
2944
- "data-testid": p,
2945
+ layout: p = "vertical",
2946
+ "data-testid": f,
2945
2947
  ...h
2946
- } = t;
2948
+ } = e;
2947
2949
  return /* @__PURE__ */ n.jsx(
2948
2950
  "div",
2949
2951
  {
2950
- className: Lt(qe.group, qe[f], l),
2951
- "data-testid": p ?? `radio-group-${o}`,
2952
+ className: je(Ft.group, Ft[p], l),
2953
+ "data-testid": f ?? `radio-group-${o}`,
2952
2954
  id: a,
2953
2955
  ref: r,
2954
- children: s.map(({ label: m, value: g, disabled: y }) => {
2955
- const C = `${o}-${String(g)}`, x = String(g) === String(i);
2956
+ children: s.map(({ label: m, value: g, disabled: x }) => {
2957
+ const C = `${o}-${String(g)}`, y = String(g) === String(i);
2956
2958
  return /* @__PURE__ */ n.jsx(
2957
2959
  tr,
2958
2960
  {
2959
2961
  id: C,
2960
- checked: x,
2962
+ checked: y,
2961
2963
  "data-testid": C,
2962
- disabled: _ || y,
2964
+ disabled: _ || x,
2963
2965
  name: o,
2964
2966
  value: g,
2965
2967
  className: c,
@@ -2972,9 +2974,9 @@ const Fe = Object.assign(ks, {
2972
2974
  }
2973
2975
  );
2974
2976
  }
2975
- ), Xl = Object.assign(tr, {
2977
+ ), Zl = Object.assign(tr, {
2976
2978
  Group: _i
2977
- }), pi = "_root_1jj3e_25", fi = "_unordered_1jj3e_39", gi = "_ordered_1jj3e_43", bi = "_sm_1jj3e_48", hi = "_md_1jj3e_59", mi = "_lg_1jj3e_70", yi = "_xl_1jj3e_81", ue = {
2979
+ }), pi = "_root_1jj3e_25", fi = "_unordered_1jj3e_39", gi = "_ordered_1jj3e_43", bi = "_sm_1jj3e_48", hi = "_md_1jj3e_59", mi = "_lg_1jj3e_70", yi = "_xl_1jj3e_81", ut = {
2978
2980
  root: pi,
2979
2981
  unordered: fi,
2980
2982
  ordered: gi,
@@ -2982,11 +2984,11 @@ const Fe = Object.assign(ks, {
2982
2984
  md: hi,
2983
2985
  lg: mi,
2984
2986
  xl: yi
2985
- }, xi = (t) => {
2986
- const { children: r, className: a, "data-testid": o = "list-item" } = t;
2987
+ }, xi = (e) => {
2988
+ const { children: r, className: a, "data-testid": o = "list-item" } = e;
2987
2989
  return /* @__PURE__ */ n.jsx("li", { "data-testid": o, className: a, children: r });
2988
- }, Yl = Object.assign(
2989
- K((t, r) => {
2990
+ }, Gl = Object.assign(
2991
+ K((e, r) => {
2990
2992
  const {
2991
2993
  variant: a = "unordered",
2992
2994
  className: o,
@@ -2994,20 +2996,20 @@ const Fe = Object.assign(ks, {
2994
2996
  size: s = "md",
2995
2997
  "data-testid": l = "list",
2996
2998
  ...c
2997
- } = t, _ = a === "ordered" ? "ol" : "ul";
2999
+ } = e, _ = a === "ordered" ? "ol" : "ul";
2998
3000
  return /* @__PURE__ */ n.jsx(
2999
3001
  _,
3000
3002
  {
3001
3003
  "data-testid": l,
3002
3004
  ref: r,
3003
- className: Lt(ue.root, ue[a], ue[s], o),
3005
+ className: je(ut.root, ut[a], ut[s], o),
3004
3006
  ...a === "ordered" && c,
3005
3007
  children: i
3006
3008
  }
3007
3009
  );
3008
3010
  }),
3009
3011
  { Item: xi }
3010
- ), vi = "_wrapper_1v8xn_5", wi = "_viewport_1v8xn_12", Ci = "_mask_1v8xn_26", Si = "_maskLeft_1v8xn_37", Li = "_maskRight_1v8xn_42", ji = "_visible_1v8xn_46", ki = "_control_1v8xn_51", $i = "_xs_1v8xn_70", Ei = "_sm_1v8xn_73", Ti = "_md_1v8xn_76", Ri = "_left_1v8xn_80", Ni = "_right_1v8xn_83", nt = {
3012
+ ), vi = "_wrapper_1v8xn_5", wi = "_viewport_1v8xn_12", Ci = "_mask_1v8xn_26", Si = "_maskLeft_1v8xn_37", Li = "_maskRight_1v8xn_42", ji = "_visible_1v8xn_46", ki = "_control_1v8xn_51", $i = "_xs_1v8xn_70", Ei = "_sm_1v8xn_73", Ti = "_md_1v8xn_76", Ri = "_left_1v8xn_80", Ni = "_right_1v8xn_83", ne = {
3011
3013
  wrapper: vi,
3012
3014
  viewport: wi,
3013
3015
  mask: Ci,
@@ -3021,12 +3023,12 @@ const Fe = Object.assign(ks, {
3021
3023
  left: Ri,
3022
3024
  right: Ni
3023
3025
  }, Ii = "white", Mi = ({
3024
- children: t,
3026
+ children: e,
3025
3027
  withControls: r = !0,
3026
3028
  className: a,
3027
3029
  size: o
3028
3030
  }) => {
3029
- const i = qt(null), [s, l] = _t(!1), [c, _] = _t(!1), { ref: f, bgColor: p } = fe(), h = f ?? { current: null }, m = p ?? Ii, g = r && s, y = r && c, C = ({ direction: u }) => /* @__PURE__ */ n.jsx(
3031
+ const i = Fe(null), [s, l] = ue(!1), [c, _] = ue(!1), { ref: p, bgColor: f } = ft(), h = p ?? { current: null }, m = f ?? Ii, g = r && s, x = r && c, C = ({ direction: u }) => /* @__PURE__ */ n.jsx(
3030
3032
  "svg",
3031
3033
  {
3032
3034
  height: "12px",
@@ -3041,7 +3043,7 @@ const Fe = Object.assign(ks, {
3041
3043
  }
3042
3044
  ) })
3043
3045
  }
3044
- ), x = () => {
3046
+ ), y = () => {
3045
3047
  const u = i.current;
3046
3048
  if (!u) return;
3047
3049
  const w = Math.round(u.scrollLeft), L = Math.round(u.scrollLeft + u.clientWidth), E = Math.round(u.scrollWidth);
@@ -3052,92 +3054,92 @@ const Fe = Object.assign(ks, {
3052
3054
  const L = w.clientWidth;
3053
3055
  w.scrollBy({ left: u === "left" ? -L : L, behavior: "smooth" });
3054
3056
  };
3055
- return lt(() => {
3057
+ return _e(() => {
3056
3058
  const u = i.current;
3057
3059
  if (!u) return;
3058
3060
  const w = (L) => {
3059
3061
  Math.abs(L.deltaX) > Math.abs(L.deltaY) || u.scrollWidth > u.clientWidth && (L.preventDefault(), u.scrollBy({ left: L.deltaY, behavior: "auto" }));
3060
3062
  };
3061
3063
  return u.addEventListener("wheel", w, { passive: !1 }), () => u.removeEventListener("wheel", w);
3062
- }, []), lt(() => {
3063
- x();
3064
+ }, []), _e(() => {
3065
+ y();
3064
3066
  const u = i.current;
3065
3067
  if (u)
3066
- return u.addEventListener("scroll", x, { passive: !0 }), window.addEventListener("resize", x), () => {
3067
- u.removeEventListener("scroll", x), window.removeEventListener("resize", x);
3068
+ return u.addEventListener("scroll", y, { passive: !0 }), window.addEventListener("resize", y), () => {
3069
+ u.removeEventListener("scroll", y), window.removeEventListener("resize", y);
3068
3070
  };
3069
- }, []), /* @__PURE__ */ n.jsxs("div", { ref: h, className: $(nt.wrapper, a), children: [
3071
+ }, []), /* @__PURE__ */ n.jsxs("div", { ref: h, className: $(ne.wrapper, a), children: [
3070
3072
  g && /* @__PURE__ */ n.jsx(
3071
3073
  "div",
3072
3074
  {
3073
- className: $(nt.mask, nt.maskLeft, s && nt.visible),
3075
+ className: $(ne.mask, ne.maskLeft, s && ne.visible),
3074
3076
  style: {
3075
3077
  background: `linear-gradient(to right, ${m} 17%, transparent 80%)`
3076
3078
  }
3077
3079
  }
3078
3080
  ),
3079
- y && /* @__PURE__ */ n.jsx(
3081
+ x && /* @__PURE__ */ n.jsx(
3080
3082
  "div",
3081
3083
  {
3082
- className: $(nt.mask, nt.maskRight, c && nt.visible),
3084
+ className: $(ne.mask, ne.maskRight, c && ne.visible),
3083
3085
  style: {
3084
3086
  background: `linear-gradient(to left, ${m} 17%, transparent 80%)`
3085
3087
  }
3086
3088
  }
3087
3089
  ),
3088
- /* @__PURE__ */ n.jsx("div", { ref: i, className: nt.viewport, children: t }),
3090
+ /* @__PURE__ */ n.jsx("div", { ref: i, className: ne.viewport, children: e }),
3089
3091
  g && /* @__PURE__ */ n.jsx(
3090
3092
  "button",
3091
3093
  {
3092
3094
  type: "button",
3093
3095
  tabIndex: -1,
3094
3096
  "aria-hidden": "true",
3095
- className: $(nt.control, nt.left, nt[o]),
3097
+ className: $(ne.control, ne.left, ne[o]),
3096
3098
  onClick: () => v("left"),
3097
3099
  children: /* @__PURE__ */ n.jsx(C, { direction: "left" })
3098
3100
  }
3099
3101
  ),
3100
- y && /* @__PURE__ */ n.jsx(
3102
+ x && /* @__PURE__ */ n.jsx(
3101
3103
  "button",
3102
3104
  {
3103
3105
  type: "button",
3104
3106
  tabIndex: -1,
3105
3107
  "aria-hidden": "true",
3106
- className: $(nt.control, nt.right, nt[o]),
3108
+ className: $(ne.control, ne.right, ne[o]),
3107
3109
  onClick: () => v("right"),
3108
3110
  children: /* @__PURE__ */ n.jsx(C, { direction: "right" })
3109
3111
  }
3110
3112
  )
3111
3113
  ] });
3112
- }, Oi = "_tabBar_1ndpm_82", Ai = "_primary_1ndpm_88", Pi = "_secondary_1ndpm_93", Bi = "_tab_1ndpm_82", zi = "_md_1ndpm_125", Di = "_sm_1ndpm_129", Wi = "_xs_1ndpm_133", Fi = "_disabled_1ndpm_137", qi = "_selected_1ndpm_143", Hi = "_tabLabel_1ndpm_222", Vi = "_tabPrefix_1ndpm_234", Xi = "_tabPostfix_1ndpm_270", J = {
3114
+ }, Oi = "_tabBar_1ndpm_82", Ai = "_primary_1ndpm_88", Pi = "_secondary_1ndpm_93", Bi = "_tab_1ndpm_82", Di = "_md_1ndpm_125", zi = "_sm_1ndpm_129", qi = "_xs_1ndpm_133", Wi = "_disabled_1ndpm_137", Fi = "_selected_1ndpm_143", Hi = "_tabLabel_1ndpm_222", Vi = "_tabPrefix_1ndpm_234", Xi = "_tabPostfix_1ndpm_270", J = {
3113
3115
  tabBar: Oi,
3114
3116
  primary: Ai,
3115
3117
  secondary: Pi,
3116
3118
  tab: Bi,
3117
- md: zi,
3118
- sm: Di,
3119
- xs: Wi,
3120
- disabled: Fi,
3121
- selected: qi,
3119
+ md: Di,
3120
+ sm: zi,
3121
+ xs: qi,
3122
+ disabled: Wi,
3123
+ selected: Fi,
3122
3124
  tabLabel: Hi,
3123
3125
  tabPrefix: Vi,
3124
3126
  tabPostfix: Xi
3125
- }, Yi = "md", Zi = !1, Gi = 8, Ui = "top-right-inside", er = Ye(null), rr = () => {
3126
- const t = Ze(er);
3127
- if (!t) throw new Error("useTabs должен использоваться внутри TabsProvider");
3128
- return t;
3127
+ }, Yi = "md", Zi = !1, Gi = 8, Ui = "top-right-inside", rr = Yt(null), ar = () => {
3128
+ const e = Zt(rr);
3129
+ if (!e) throw new Error("useTabs должен использоваться внутри TabsProvider");
3130
+ return e;
3129
3131
  }, Ji = ({
3130
- children: t,
3132
+ children: e,
3131
3133
  defaultActiveTab: r,
3132
3134
  activeTab: a,
3133
3135
  onChange: o
3134
3136
  }) => {
3135
- const [i, s] = _t(r), l = a !== void 0, c = l ? a : i, _ = (f) => {
3136
- l || s(f), o && o(f);
3137
+ const [i, s] = ue(r), l = a !== void 0, c = l ? a : i, _ = (p) => {
3138
+ l || s(p), o && o(p);
3137
3139
  };
3138
- return /* @__PURE__ */ n.jsx(er.Provider, { value: { activeTab: c, setTab: _ }, children: t });
3140
+ return /* @__PURE__ */ n.jsx(rr.Provider, { value: { activeTab: c, setTab: _ }, children: e });
3139
3141
  }, Ki = ({
3140
- mode: t,
3142
+ mode: e,
3141
3143
  item: r,
3142
3144
  isActive: a,
3143
3145
  showBadge: o,
@@ -3148,27 +3150,27 @@ const Fe = Object.assign(ks, {
3148
3150
  }) => {
3149
3151
  const {
3150
3152
  value: _,
3151
- label: f,
3152
- prefix: p,
3153
+ label: p,
3154
+ prefix: f,
3153
3155
  prefixWrapperProps: h = {},
3154
3156
  postfix: m,
3155
3157
  postfixWrapperProps: g = {}
3156
- } = r, { className: y, ...C } = h, { className: x, ...v } = g, u = {
3157
- primary: it["typography-label-3-medium"],
3158
- secondary: it["typography-label-3-regular"],
3159
- prefix: it["typography-label-3-medium"],
3160
- postfix: it["typography-label-3-medium"]
3158
+ } = r, { className: x, ...C } = h, { className: y, ...v } = g, u = {
3159
+ primary: ie["typography-label-3-medium"],
3160
+ secondary: ie["typography-label-3-regular"],
3161
+ prefix: ie["typography-label-3-medium"],
3162
+ postfix: ie["typography-label-3-medium"]
3161
3163
  }, w = {
3162
3164
  size: Gi,
3163
3165
  position: Ui,
3164
3166
  ...i
3165
- }, L = $(J.tab, J[t], J[s], {
3167
+ }, L = $(J.tab, J[e], J[s], {
3166
3168
  [J.selected]: a,
3167
3169
  [J.disabled]: l
3168
3170
  }), E = $(
3169
3171
  J.tabPrefix,
3170
- y,
3171
- J[t],
3172
+ x,
3173
+ J[e],
3172
3174
  u.prefix,
3173
3175
  {
3174
3176
  [J.selected]: a,
@@ -3176,37 +3178,37 @@ const Fe = Object.assign(ks, {
3176
3178
  }
3177
3179
  ), k = $(
3178
3180
  J.tabPostfix,
3179
- x,
3180
- J[t],
3181
+ y,
3182
+ J[e],
3181
3183
  u.postfix,
3182
3184
  {
3183
3185
  [J.selected]: a,
3184
3186
  [J.disabled]: l
3185
3187
  }
3186
- ), T = $(J.tabLabel, J[t], u[t]), O = (W) => {
3187
- a || l || (c(_), W.currentTarget.scrollIntoView({ behavior: "smooth", inline: "center", block: "nearest" }));
3188
+ ), T = $(J.tabLabel, J[e], u[e]), N = (B) => {
3189
+ a || l || (c(_), B.currentTarget.scrollIntoView({ behavior: "smooth", inline: "center", block: "nearest" }));
3188
3190
  }, A = /* @__PURE__ */ n.jsxs(
3189
3191
  "button",
3190
3192
  {
3191
3193
  className: L,
3192
3194
  role: "tab",
3193
- "aria-label": f,
3195
+ "aria-label": p,
3194
3196
  "aria-selected": a,
3195
3197
  "aria-disabled": l,
3196
3198
  "aria-controls": `tab-panel-${_}`,
3197
3199
  "data-testid": `tab-item-${_}`,
3198
- onClick: O,
3200
+ onClick: N,
3199
3201
  children: [
3200
- p && /* @__PURE__ */ n.jsx(
3202
+ f && /* @__PURE__ */ n.jsx(
3201
3203
  "span",
3202
3204
  {
3203
3205
  className: E,
3204
3206
  ...C,
3205
3207
  "data-testid": `tab-prefix-${_}`,
3206
- children: p
3208
+ children: f
3207
3209
  }
3208
3210
  ),
3209
- /* @__PURE__ */ n.jsx("span", { className: T, "data-testid": `tab-label-${_}`, children: f }),
3211
+ /* @__PURE__ */ n.jsx("span", { className: T, "data-testid": `tab-label-${_}`, children: p }),
3210
3212
  m && /* @__PURE__ */ n.jsx(
3211
3213
  "span",
3212
3214
  {
@@ -3221,25 +3223,25 @@ const Fe = Object.assign(ks, {
3221
3223
  );
3222
3224
  return o ? /* @__PURE__ */ n.jsx(Qa, { ...w, "data-testid": `tab-badge-${_}`, children: A }) : A;
3223
3225
  }, Qi = ({
3224
- mode: t,
3226
+ mode: e,
3225
3227
  items: r,
3226
3228
  size: a = Yi,
3227
3229
  isAllItemsDisabled: o = Zi
3228
3230
  }) => {
3229
- const { activeTab: i, setTab: s } = rr(), l = Ha();
3231
+ const { activeTab: i, setTab: s } = ar(), l = Ha();
3230
3232
  return /* @__PURE__ */ n.jsx(Mi, { size: a, withControls: l, children: /* @__PURE__ */ n.jsx(
3231
3233
  "div",
3232
3234
  {
3233
3235
  role: "tablist",
3234
3236
  "data-testid": "tabs-bar",
3235
3237
  "aria-orientation": "horizontal",
3236
- className: $(J.tabBar, J[t]),
3238
+ className: $(J.tabBar, J[e]),
3237
3239
  children: r.map((c) => /* @__PURE__ */ n.jsx(
3238
3240
  Ki,
3239
3241
  {
3240
3242
  size: a,
3241
3243
  item: c,
3242
- mode: t,
3244
+ mode: e,
3243
3245
  showBadge: c.showBadge,
3244
3246
  badgeProps: c.badgeProps,
3245
3247
  isActive: i === c.value,
@@ -3250,24 +3252,24 @@ const Fe = Object.assign(ks, {
3250
3252
  ))
3251
3253
  }
3252
3254
  ) });
3253
- }, tl = ({ tabValue: t, children: r, ...a }) => /* @__PURE__ */ n.jsx(
3255
+ }, el = ({ tabValue: e, children: r, ...a }) => /* @__PURE__ */ n.jsx(
3254
3256
  "div",
3255
3257
  {
3256
3258
  role: "tabpanel",
3257
- "data-testid": `tab-panel-${t}`,
3258
- "aria-labelledby": `tab-item-${t}`,
3259
+ "data-testid": `tab-panel-${e}`,
3260
+ "aria-labelledby": `tab-item-${e}`,
3259
3261
  ...a,
3260
3262
  children: r
3261
3263
  }
3262
- ), el = ({ children: t, ...r }) => {
3263
- const { activeTab: a } = rr(), o = Array.isArray(t) ? t : [t], i = (s, l) => _e.isValidElement(s) && typeof s.props == "object" && s.props !== null && l in s.props;
3264
+ ), tl = ({ children: e, ...r }) => {
3265
+ const { activeTab: a } = ar(), o = Array.isArray(e) ? e : [e], i = (s, l) => _t.isValidElement(s) && typeof s.props == "object" && s.props !== null && l in s.props;
3264
3266
  return /* @__PURE__ */ n.jsx("div", { "data-testid": "tab-content", ...r, children: o.map((s) => i(s, "tabValue") && String(s.props.tabValue) === a ? s : null) });
3265
- }, Zl = {
3267
+ }, Ul = {
3266
3268
  Provider: Ji,
3267
- Content: el,
3268
- Panel: tl,
3269
+ Content: tl,
3270
+ Panel: el,
3269
3271
  Bar: Qi
3270
- }, rl = "_root_1fbbw_34", al = "_open_1fbbw_51", ol = "_xs_1fbbw_55", nl = "_s_1fbbw_61", sl = "_m_1fbbw_67", il = "_neutral_1fbbw_73", ll = "_contrast_1fbbw_78", cl = "_accent_1fbbw_84", dl = "_typography_1fbbw_89", ul = "_title_1fbbw_89", _l = "_text_1fbbw_93", pl = "_mediaWrapper_1fbbw_97", fl = "_content_1fbbw_112", gl = "_closeButton_1fbbw_116", bl = "_hasMedia_1fbbw_142", hl = "_buttonStack_1fbbw_148", st = {
3272
+ }, rl = "_root_1fbbw_34", al = "_open_1fbbw_51", ol = "_xs_1fbbw_55", nl = "_s_1fbbw_61", sl = "_m_1fbbw_67", il = "_neutral_1fbbw_73", ll = "_contrast_1fbbw_78", cl = "_accent_1fbbw_84", dl = "_typography_1fbbw_89", ul = "_title_1fbbw_89", _l = "_text_1fbbw_93", pl = "_mediaWrapper_1fbbw_97", fl = "_content_1fbbw_112", gl = "_closeButton_1fbbw_116", bl = "_hasMedia_1fbbw_142", hl = "_buttonStack_1fbbw_148", se = {
3271
3273
  root: rl,
3272
3274
  open: al,
3273
3275
  xs: ol,
@@ -3292,129 +3294,129 @@ const Fe = Object.assign(ks, {
3292
3294
  }
3293
3295
  ),
3294
3296
  /* @__PURE__ */ n.jsx("path", { d: "M-2 0.000390053L26 0.000390053V-1L-2 -1L-2 0.000390053Z" })
3295
- ] }), ft = {
3297
+ ] }), fe = {
3296
3298
  shiftX: 64,
3297
3299
  adjustY: 1
3298
- }, gt = { adjustX: 1, shiftY: !0 }, xl = {
3300
+ }, ge = { adjustX: 1, shiftY: !0 }, xl = {
3299
3301
  left: {
3300
3302
  points: ["cr", "cl"],
3301
- overflow: gt,
3303
+ overflow: ge,
3302
3304
  offset: [-22, 0]
3303
3305
  },
3304
3306
  right: {
3305
3307
  points: ["cl", "cr"],
3306
- overflow: gt,
3308
+ overflow: ge,
3307
3309
  offset: [22, 0]
3308
3310
  },
3309
3311
  top: {
3310
3312
  points: ["bc", "tc"],
3311
- overflow: ft,
3313
+ overflow: fe,
3312
3314
  offset: [0, -22]
3313
3315
  },
3314
3316
  bottom: {
3315
3317
  points: ["tc", "bc"],
3316
- overflow: ft,
3318
+ overflow: fe,
3317
3319
  offset: [0, 22]
3318
3320
  },
3319
3321
  topLeft: {
3320
3322
  points: ["bl", "tl"],
3321
- overflow: ft,
3323
+ overflow: fe,
3322
3324
  offset: [0, -22]
3323
3325
  },
3324
3326
  leftTop: {
3325
3327
  points: ["tr", "tl"],
3326
- overflow: gt,
3328
+ overflow: ge,
3327
3329
  offset: [-22, 0]
3328
3330
  },
3329
3331
  topRight: {
3330
3332
  points: ["br", "tr"],
3331
- overflow: ft,
3333
+ overflow: fe,
3332
3334
  offset: [0, -22]
3333
3335
  },
3334
3336
  rightTop: {
3335
3337
  points: ["tl", "tr"],
3336
- overflow: gt,
3338
+ overflow: ge,
3337
3339
  offset: [22, 0]
3338
3340
  },
3339
3341
  bottomRight: {
3340
3342
  points: ["tr", "br"],
3341
- overflow: ft,
3343
+ overflow: fe,
3342
3344
  offset: [0, 22]
3343
3345
  },
3344
3346
  rightBottom: {
3345
3347
  points: ["bl", "br"],
3346
- overflow: gt,
3348
+ overflow: ge,
3347
3349
  offset: [22, 0]
3348
3350
  },
3349
3351
  bottomLeft: {
3350
3352
  points: ["tl", "bl"],
3351
- overflow: ft,
3353
+ overflow: fe,
3352
3354
  offset: [0, 22]
3353
3355
  },
3354
3356
  leftBottom: {
3355
3357
  points: ["br", "bl"],
3356
- overflow: gt,
3358
+ overflow: ge,
3357
3359
  offset: [-22, 0]
3358
3360
  }
3359
3361
  }, vl = {
3360
3362
  left: {
3361
3363
  points: ["cr", "cl"],
3362
- overflow: gt,
3364
+ overflow: ge,
3363
3365
  offset: [-16, 0]
3364
3366
  },
3365
3367
  right: {
3366
3368
  points: ["cl", "cr"],
3367
- overflow: gt,
3369
+ overflow: ge,
3368
3370
  offset: [16, 0]
3369
3371
  },
3370
3372
  top: {
3371
3373
  points: ["bc", "tc"],
3372
- overflow: ft,
3374
+ overflow: fe,
3373
3375
  offset: [0, -16]
3374
3376
  },
3375
3377
  bottom: {
3376
3378
  points: ["tc", "bc"],
3377
- overflow: ft,
3379
+ overflow: fe,
3378
3380
  offset: [0, 16]
3379
3381
  },
3380
3382
  topLeft: {
3381
3383
  points: ["bl", "tl"],
3382
- overflow: ft,
3384
+ overflow: fe,
3383
3385
  offset: [0, -16]
3384
3386
  },
3385
3387
  leftTop: {
3386
3388
  points: ["tr", "tl"],
3387
- overflow: gt,
3389
+ overflow: ge,
3388
3390
  offset: [-16, 0]
3389
3391
  },
3390
3392
  topRight: {
3391
3393
  points: ["br", "tr"],
3392
- overflow: ft,
3394
+ overflow: fe,
3393
3395
  offset: [0, -16]
3394
3396
  },
3395
3397
  rightTop: {
3396
3398
  points: ["tl", "tr"],
3397
- overflow: gt,
3399
+ overflow: ge,
3398
3400
  offset: [16, 0]
3399
3401
  },
3400
3402
  bottomRight: {
3401
3403
  points: ["tr", "br"],
3402
- overflow: ft,
3404
+ overflow: fe,
3403
3405
  offset: [0, 16]
3404
3406
  },
3405
3407
  rightBottom: {
3406
3408
  points: ["bl", "br"],
3407
- overflow: gt,
3409
+ overflow: ge,
3408
3410
  offset: [16, 0]
3409
3411
  },
3410
3412
  bottomLeft: {
3411
3413
  points: ["tl", "bl"],
3412
- overflow: ft,
3414
+ overflow: fe,
3413
3415
  offset: [0, 16]
3414
3416
  },
3415
3417
  leftBottom: {
3416
3418
  points: ["br", "bl"],
3417
- overflow: gt,
3419
+ overflow: ge,
3418
3420
  offset: [-16, 0]
3419
3421
  }
3420
3422
  }, wl = {
@@ -3454,11 +3456,11 @@ const Fe = Object.assign(ks, {
3454
3456
  { mode: "primary", buttonStyle: "accent", size: "s" }
3455
3457
  ]
3456
3458
  }
3457
- }, Cl = (t, r, a) => {
3459
+ }, Cl = (e, r, a) => {
3458
3460
  const o = ja(r, 1, 3), i = wl[a][o];
3459
- return i[Math.min(t, i.length - 1)];
3460
- }, He = ({
3461
- text: t,
3461
+ return i[Math.min(e, i.length - 1)];
3462
+ }, Ht = ({
3463
+ text: e,
3462
3464
  title: r,
3463
3465
  media: a,
3464
3466
  variant: o = "neutral",
@@ -3467,29 +3469,29 @@ const Fe = Object.assign(ks, {
3467
3469
  onClose: l,
3468
3470
  buttons: c,
3469
3471
  buttonProps: _,
3470
- showClose: f
3472
+ showClose: p
3471
3473
  }) => {
3472
- const p = ["neutral", "accent"].includes(o) ? "contrast" : "primary", h = i === "m", m = !!(r && h), g = !!(a && h), y = c && !!c.length, C = !!(f && h) || !f && h && !y, x = i === "xs" ? 4 : 3;
3473
- return /* @__PURE__ */ n.jsxs("div", { className: st.content, children: [
3474
- g && /* @__PURE__ */ n.jsx("div", { className: $(st.mediaWrapper, s.mediaWrapper), children: a }),
3474
+ const f = ["neutral", "accent"].includes(o) ? "contrast" : "primary", h = i === "m", m = !!(r && h), g = !!(a && h), x = c && !!c.length, C = !!(p && h) || !p && h && !x, y = i === "xs" ? 4 : 3;
3475
+ return /* @__PURE__ */ n.jsxs("div", { className: se.content, children: [
3476
+ g && /* @__PURE__ */ n.jsx("div", { className: $(se.mediaWrapper, s.mediaWrapper), children: a }),
3475
3477
  /* @__PURE__ */ n.jsxs("div", { className: s.textWrapper, children: [
3476
3478
  m && /* @__PURE__ */ n.jsx(
3477
- De.Subtitle,
3479
+ zt.Subtitle,
3478
3480
  {
3479
- className: $(st.typography, st.title, s.typography),
3481
+ className: $(se.typography, se.title, s.typography),
3480
3482
  size: 1,
3481
3483
  as: "h3",
3482
- typographyStyle: p,
3484
+ typographyStyle: f,
3483
3485
  children: r
3484
3486
  }
3485
3487
  ),
3486
3488
  /* @__PURE__ */ n.jsx(
3487
- De.Label,
3489
+ zt.Label,
3488
3490
  {
3489
- className: $(st.typography, st.text, s.typography),
3490
- typographyStyle: p,
3491
- size: x,
3492
- children: t
3491
+ className: $(se.typography, se.text, s.typography),
3492
+ typographyStyle: f,
3493
+ size: y,
3494
+ children: e
3493
3495
  }
3494
3496
  )
3495
3497
  ] }),
@@ -3497,8 +3499,8 @@ const Fe = Object.assign(ks, {
3497
3499
  "button",
3498
3500
  {
3499
3501
  type: "button",
3500
- className: $(st.closeButton, st[o], s.closeButton, {
3501
- [st.hasMedia]: g
3502
+ className: $(se.closeButton, se[o], s.closeButton, {
3503
+ [se.hasMedia]: g
3502
3504
  }),
3503
3505
  onClick: l,
3504
3506
  "aria-label": "Закрыть подсказку",
@@ -3506,20 +3508,20 @@ const Fe = Object.assign(ks, {
3506
3508
  children: /* @__PURE__ */ n.jsx(ml, {})
3507
3509
  }
3508
3510
  ),
3509
- h && y && /* @__PURE__ */ n.jsx("div", { className: st.buttonStack, children: c.map((v, u) => {
3511
+ h && x && /* @__PURE__ */ n.jsx("div", { className: se.buttonStack, children: c.map((v, u) => {
3510
3512
  const L = {
3511
3513
  ...Cl(u, c.length, o),
3512
3514
  ..._,
3513
3515
  ...v
3514
- }, { closeOnClick: E, ...k } = L, T = (O) => {
3516
+ }, { closeOnClick: E, ...k } = L, T = (N) => {
3515
3517
  var A;
3516
- (A = k.onClick) == null || A.call(k, O), E && (l == null || l());
3518
+ (A = k.onClick) == null || A.call(k, N), E && (l == null || l());
3517
3519
  };
3518
3520
  return /* @__PURE__ */ n.jsx(ga, { ...k, onClick: T }, u);
3519
3521
  }) })
3520
3522
  ] });
3521
- }, Gl = ({
3522
- customContent: t,
3523
+ }, Jl = ({
3524
+ customContent: e,
3523
3525
  children: r,
3524
3526
  placement: a = "top",
3525
3527
  contentClassNames: o,
@@ -3528,43 +3530,43 @@ const Fe = Object.assign(ks, {
3528
3530
  showArrow: l = !0,
3529
3531
  showClose: c = !0,
3530
3532
  trigger: _ = "hover",
3531
- variant: f = "neutral",
3532
- size: p = "s",
3533
+ variant: p = "neutral",
3534
+ size: f = "s",
3533
3535
  text: h,
3534
3536
  title: m,
3535
3537
  media: g,
3536
- buttons: y,
3538
+ buttons: x,
3537
3539
  buttonProps: C,
3538
- onClose: x,
3540
+ onClose: y,
3539
3541
  ...v
3540
3542
  }) => {
3541
- const [u, w] = _t(!1), [L, E] = _t(!1), k = p === "m" ? xl : vl, T = () => {
3542
- w(!1), x == null || x();
3543
- }, O = t || (p === "m" ? /* @__PURE__ */ n.jsx(
3544
- He,
3543
+ const [u, w] = ue(!1), [L, E] = ue(!1), k = f === "m" ? xl : vl, T = () => {
3544
+ w(!1), y == null || y();
3545
+ }, N = e || (f === "m" ? /* @__PURE__ */ n.jsx(
3546
+ Ht,
3545
3547
  {
3546
3548
  classNames: o,
3547
3549
  text: h,
3548
- variant: f,
3549
- size: p,
3550
+ variant: p,
3551
+ size: f,
3550
3552
  onClose: T,
3551
3553
  title: m,
3552
3554
  media: g,
3553
3555
  showClose: c,
3554
- buttons: y,
3556
+ buttons: x,
3555
3557
  buttonProps: C
3556
3558
  }
3557
3559
  ) : /* @__PURE__ */ n.jsx(
3558
- He,
3560
+ Ht,
3559
3561
  {
3560
3562
  classNames: o,
3561
3563
  text: h,
3562
- variant: f,
3563
- size: p,
3564
+ variant: p,
3565
+ size: f,
3564
3566
  onClose: T
3565
3567
  }
3566
3568
  ));
3567
- return lt(() => {
3569
+ return _e(() => {
3568
3570
  if (u) {
3569
3571
  const A = requestAnimationFrame(() => E(!0));
3570
3572
  return () => cancelAnimationFrame(A);
@@ -3576,11 +3578,11 @@ const Fe = Object.assign(ks, {
3576
3578
  visible: u,
3577
3579
  onVisibleChange: w,
3578
3580
  classNames: {
3579
- root: $(st.root, st[f], st[p], L && st.open),
3581
+ root: $(se.root, se[p], se[f], L && se.open),
3580
3582
  ...v.classNames
3581
3583
  },
3582
3584
  placement: a,
3583
- overlay: () => O,
3585
+ overlay: () => N,
3584
3586
  trigger: _,
3585
3587
  mouseEnterDelay: i,
3586
3588
  mouseLeaveDelay: s,
@@ -3588,29 +3590,30 @@ const Fe = Object.assign(ks, {
3588
3590
  builtinPlacements: k,
3589
3591
  showArrow: l ? {
3590
3592
  content: /* @__PURE__ */ n.jsx(yl, {}),
3591
- className: `tooltipArrow tooltipArrow-${p}`
3593
+ className: `tooltipArrow tooltipArrow-${f}`
3592
3594
  } : !1,
3593
3595
  destroyTooltipOnHide: !0,
3594
3596
  ...v,
3595
3597
  children: r
3596
3598
  }
3597
3599
  );
3598
- }, Sl = "_segmentedControl_1yvz7_5", Ll = "_segment_1yvz7_5", jl = "_activeSegmentIndicator_1yvz7_51", kl = "_stretched_1yvz7_82", $l = "_s_1yvz7_5", El = "_icon_1yvz7_90", Tl = "_label_1yvz7_94", Rl = "_m_1yvz7_98", Nl = "_l_1yvz7_94", At = {
3600
+ }, Sl = "_segmentedControl_1qgwg_5", Ll = "_segment_1qgwg_5", jl = "_activeSegmentIndicator_1qgwg_56", kl = "_selected_1qgwg_80", $l = "_stretched_1qgwg_89", El = "_disabled_1qgwg_97", Tl = "_s_1qgwg_5", Rl = "_icon_1qgwg_110", Nl = "_label_1qgwg_114", Il = "_m_1qgwg_118", Ml = "_l_1qgwg_114", Se = {
3599
3601
  segmentedControl: Sl,
3600
3602
  segment: Ll,
3601
3603
  activeSegmentIndicator: jl,
3602
- stretched: kl,
3603
- s: $l,
3604
- icon: El,
3605
- label: Tl,
3606
- m: Rl,
3607
- l: Nl
3608
- }, Ve = {
3609
- s: it["typography-label-3-regular"],
3610
- m: it["typography-label-2-regular"],
3611
- l: it["typography-label-2-regular"]
3612
- }, Ul = (t) => {
3613
- var u;
3604
+ selected: kl,
3605
+ stretched: $l,
3606
+ disabled: El,
3607
+ s: Tl,
3608
+ icon: Rl,
3609
+ label: Nl,
3610
+ m: Il,
3611
+ l: Ml
3612
+ }, Vt = {
3613
+ s: ie["typography-label-3-regular"],
3614
+ m: ie["typography-label-2-regular"],
3615
+ l: ie["typography-label-2-regular"]
3616
+ }, Kl = (e) => {
3614
3617
  const {
3615
3618
  className: r,
3616
3619
  defaultValue: a,
@@ -3618,76 +3621,83 @@ const Fe = Object.assign(ks, {
3618
3621
  size: i = "m",
3619
3622
  segments: s,
3620
3623
  stretched: l,
3621
- mode: c = "label",
3622
- onChange: _
3623
- } = t, f = pe(), [p, h] = _t(a || s[0].value), [m, g] = _t({ width: 0, left: 0 }), y = qt(null);
3624
- lt(() => {
3625
- o && h(o);
3626
- }, [o]), lt(() => {
3627
- C();
3628
- }, [p, s, i, l, c]);
3629
- const C = () => {
3624
+ disabled: c = !1,
3625
+ mode: _ = "label",
3626
+ onChange: p,
3627
+ ...f
3628
+ } = e, h = pt(), [m, g] = ue(a || s[0].value), [x, C] = ue({ width: 0, left: 0, height: 0 }), y = Fe(null);
3629
+ _e(() => {
3630
+ o && g(o);
3631
+ }, [o]), Gt(() => {
3632
+ v();
3633
+ }, [m, s, i, l, _]);
3634
+ const v = () => {
3630
3635
  if (!(y != null && y.current)) return;
3631
3636
  const w = y.current.querySelector(
3632
3637
  '[data-is-active-segment="true"]'
3633
3638
  );
3634
- w && g({
3639
+ w && C({
3635
3640
  width: w.offsetWidth,
3636
- left: w.offsetLeft
3641
+ left: w.offsetLeft,
3642
+ height: w.offsetHeight
3637
3643
  });
3638
- }, x = (u = s.find((w) => w.value === p)) == null ? void 0 : u.label, v = (w) => {
3639
- h(w), _ == null || _(w);
3644
+ }, u = (w) => {
3645
+ c || (g(w), p == null || p(w));
3640
3646
  };
3641
3647
  return (s == null ? void 0 : s.length) === 0 ? null : /* @__PURE__ */ n.jsxs(
3642
3648
  "div",
3643
3649
  {
3644
3650
  className: $(
3645
- At.segmentedControl,
3646
- At[i],
3647
- At[c],
3651
+ Se.segmentedControl,
3652
+ Se[i],
3653
+ Se[_],
3648
3654
  {
3649
- [At.stretched]: l
3655
+ [Se.stretched]: l,
3656
+ [Se.disabled]: c
3650
3657
  },
3651
3658
  r
3652
3659
  ),
3653
3660
  "data-testid": "segmented-control-container",
3654
3661
  ref: y,
3662
+ ...f,
3655
3663
  children: [
3656
- s == null ? void 0 : s.map(({ label: w, value: L }, E) => {
3657
- const k = () => v(L);
3658
- return /* @__PURE__ */ n.jsxs(Pt, { children: [
3664
+ s == null ? void 0 : s.map(({ label: w, value: L, containerProps: E = {} }, k) => {
3665
+ const { className: T, ...N } = E, A = () => u(L), B = m === L;
3666
+ return /* @__PURE__ */ n.jsxs(Pe, { children: [
3659
3667
  /* @__PURE__ */ n.jsx(
3660
3668
  "input",
3661
3669
  {
3662
- id: f + JSON.stringify(L),
3670
+ id: h + JSON.stringify(L),
3663
3671
  value: JSON.stringify(L),
3664
3672
  type: "radio",
3665
- checked: p === L,
3666
- onClick: k
3673
+ checked: B,
3674
+ readOnly: !0
3667
3675
  }
3668
3676
  ),
3669
3677
  /* @__PURE__ */ n.jsx(
3670
3678
  "label",
3671
3679
  {
3672
- "data-is-active-segment": p === L,
3673
- className: $(At.segment, Ve[i]),
3674
- htmlFor: f + JSON.stringify(L),
3680
+ "data-is-active-segment": B,
3681
+ className: $(Se.segment, Vt[i], { [Se.selected]: B }, T),
3682
+ htmlFor: h + JSON.stringify(L),
3675
3683
  "data-testid": "segmented-control-segment",
3684
+ onClick: A,
3685
+ ...N,
3676
3686
  children: w
3677
3687
  }
3678
3688
  )
3679
- ] }, Jt(JSON.stringify(L)) + E);
3689
+ ] }, Je(JSON.stringify(L)) + k);
3680
3690
  }),
3681
3691
  /* @__PURE__ */ n.jsx(
3682
3692
  "div",
3683
3693
  {
3684
- className: $(At.activeSegmentIndicator, Ve[i]),
3685
- "data-testid": "segmented-control-active-segment",
3694
+ className: $(Se.activeSegmentIndicator, Vt[i]),
3695
+ "data-testid": "segmented-control-segment-active-indicator",
3686
3696
  style: {
3687
- width: m.width,
3688
- left: m.left
3689
- },
3690
- children: x
3697
+ width: x.width,
3698
+ left: x.left,
3699
+ height: x.height
3700
+ }
3691
3701
  }
3692
3702
  )
3693
3703
  ]
@@ -3695,25 +3705,25 @@ const Fe = Object.assign(ks, {
3695
3705
  );
3696
3706
  };
3697
3707
  export {
3698
- Al as Avatar,
3708
+ Bl as Avatar,
3699
3709
  Qa as Badge,
3700
3710
  ga as Button,
3701
- Fl as Checkbox,
3702
- zl as ConfigProvider,
3703
- Vl as Helper,
3704
- Pl as Image,
3705
- Yl as List,
3711
+ Hl as Checkbox,
3712
+ ql as ConfigProvider,
3713
+ Yl as Helper,
3714
+ Dl as Image,
3715
+ Gl as List,
3706
3716
  bo as Loader,
3707
- Xl as Radio,
3708
- Ul as SegmentedControl,
3709
- Zl as Tabs,
3710
- Wl as Tag,
3711
- Hl as TextArea,
3712
- ql as TextInput,
3713
- Gl as Tooltip,
3714
- De as Typography,
3717
+ Zl as Radio,
3718
+ Kl as SegmentedControl,
3719
+ Ul as Tabs,
3720
+ Fl as Tag,
3721
+ Xl as TextArea,
3722
+ Vl as TextInput,
3723
+ Jl as Tooltip,
3724
+ zt as Typography,
3715
3725
  mo as enUS,
3716
- Dl as ruRU,
3726
+ Wl as ruRU,
3717
3727
  yo as useConfig,
3718
- Bl as useLocale
3728
+ zl as useLocale
3719
3729
  };