skillgrid 0.0.34 → 0.0.36

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,12 +1,12 @@
1
1
  import * as Je from "react";
2
- import be, { forwardRef as U, Fragment as Ht, useState as gt, useEffect as ut, useRef as Vt, useCallback as jt, useMemo as Qe, createContext as tr, useContext as er, useLayoutEffect as Br, useImperativeHandle as Ar, useId as me } from "react";
2
+ import me, { forwardRef as U, Fragment as Ht, useState as ft, useEffect as gt, useRef as Vt, useCallback as jt, useMemo as Qe, createContext as tr, useContext as er, useLayoutEffect as rr, useImperativeHandle as Ar, useId as be } from "react";
3
3
  import { clsx as k } from "clsx";
4
- import { useFloating as Or, useTransitionStyles as zr, useDismiss as Pr, useRole as Dr, useInteractions as Fr, useMergeRefs as Wr, FloatingPortal as Hr, FloatingOverlay as Vr, FloatingFocusManager as Zr } from "@floating-ui/react";
5
- import qr from "rc-tooltip";
4
+ import { useFloating as Or, useTransitionStyles as Pr, useDismiss as zr, useRole as Dr, useInteractions as Fr, useMergeRefs as Wr, FloatingPortal as qr, FloatingOverlay as Hr, FloatingFocusManager as Vr } from "@floating-ui/react";
5
+ import Zr from "rc-tooltip";
6
6
  import './index.css';function Xr(t) {
7
7
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
8
8
  }
9
- var Yt = { exports: {} }, Pt = {};
9
+ var Gt = { exports: {} }, zt = {};
10
10
  /**
11
11
  * @license React
12
12
  * react-jsx-runtime.production.min.js
@@ -18,17 +18,17 @@ var Yt = { exports: {} }, Pt = {};
18
18
  */
19
19
  var Me;
20
20
  function Yr() {
21
- if (Me) return Pt;
21
+ if (Me) return zt;
22
22
  Me = 1;
23
- var t = be, r = Symbol.for("react.element"), n = Symbol.for("react.fragment"), a = 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 };
24
- function l(c, u, f) {
25
- var d, g = {}, b = null, h = null;
26
- f !== void 0 && (b = "" + f), u.key !== void 0 && (b = "" + u.key), u.ref !== void 0 && (h = u.ref);
27
- for (d in u) a.call(u, d) && !s.hasOwnProperty(d) && (g[d] = u[d]);
28
- if (c && c.defaultProps) for (d in u = c.defaultProps, u) g[d] === void 0 && (g[d] = u[d]);
29
- return { $$typeof: r, type: c, key: b, ref: h, props: g, _owner: i.current };
23
+ var t = me, r = Symbol.for("react.element"), n = Symbol.for("react.fragment"), a = 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 };
24
+ function l(c, _, f) {
25
+ var d, g = {}, b = null, m = null;
26
+ f !== void 0 && (b = "" + f), _.key !== void 0 && (b = "" + _.key), _.ref !== void 0 && (m = _.ref);
27
+ for (d in _) a.call(_, d) && !s.hasOwnProperty(d) && (g[d] = _[d]);
28
+ if (c && c.defaultProps) for (d in _ = c.defaultProps, _) g[d] === void 0 && (g[d] = _[d]);
29
+ return { $$typeof: r, type: c, key: b, ref: m, props: g, _owner: i.current };
30
30
  }
31
- return Pt.Fragment = n, Pt.jsx = l, Pt.jsxs = l, Pt;
31
+ return zt.Fragment = n, zt.jsx = l, zt.jsxs = l, zt;
32
32
  }
33
33
  var Dt = {};
34
34
  /**
@@ -43,54 +43,54 @@ var Dt = {};
43
43
  var Be;
44
44
  function Gr() {
45
45
  return Be || (Be = 1, process.env.NODE_ENV !== "production" && function() {
46
- var t = be, r = Symbol.for("react.element"), n = Symbol.for("react.portal"), a = 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"), u = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), h = Symbol.for("react.offscreen"), y = Symbol.iterator, C = "@@iterator";
47
- function m(e) {
46
+ var t = me, r = Symbol.for("react.element"), n = Symbol.for("react.portal"), a = 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"), d = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), m = Symbol.for("react.offscreen"), C = Symbol.iterator, y = "@@iterator";
47
+ function h(e) {
48
48
  if (e === null || typeof e != "object")
49
49
  return null;
50
- var _ = y && e[y] || e[C];
51
- return typeof _ == "function" ? _ : null;
50
+ var p = C && e[C] || e[y];
51
+ return typeof p == "function" ? p : null;
52
52
  }
53
53
  var x = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
54
- function p(e) {
54
+ function u(e) {
55
55
  {
56
- for (var _ = arguments.length, v = new Array(_ > 1 ? _ - 1 : 0), j = 1; j < _; j++)
57
- v[j - 1] = arguments[j];
56
+ for (var p = arguments.length, v = new Array(p > 1 ? p - 1 : 0), $ = 1; $ < p; $++)
57
+ v[$ - 1] = arguments[$];
58
58
  w("error", e, v);
59
59
  }
60
60
  }
61
- function w(e, _, v) {
61
+ function w(e, p, v) {
62
62
  {
63
- var j = x.ReactDebugCurrentFrame, O = j.getStackAddendum();
64
- O !== "" && (_ += "%s", v = v.concat([O]));
65
- var P = v.map(function(I) {
66
- return String(I);
63
+ var $ = x.ReactDebugCurrentFrame, P = $.getStackAddendum();
64
+ P !== "" && (p += "%s", v = v.concat([P]));
65
+ var F = v.map(function(B) {
66
+ return String(B);
67
67
  });
68
- P.unshift("Warning: " + _), Function.prototype.apply.call(console[e], console, P);
68
+ F.unshift("Warning: " + p), Function.prototype.apply.call(console[e], console, F);
69
69
  }
70
70
  }
71
- var S = !1, T = !1, $ = !1, E = !1, B = !1, A;
72
- A = Symbol.for("react.module.reference");
73
- function F(e) {
74
- return !!(typeof e == "string" || typeof e == "function" || e === a || e === s || B || e === i || e === f || e === d || E || e === h || S || T || $ || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === g || e.$$typeof === l || e.$$typeof === c || e.$$typeof === u || // This needs to include all possible module reference object
71
+ var S = !1, E = !1, j = !1, N = !1, T = !1, R;
72
+ R = Symbol.for("react.module.reference");
73
+ function O(e) {
74
+ return !!(typeof e == "string" || typeof e == "function" || e === a || e === s || T || e === i || e === f || e === d || N || e === m || S || E || j || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === g || e.$$typeof === l || e.$$typeof === c || e.$$typeof === _ || // This needs to include all possible module reference object
75
75
  // types supported by any Flight configuration anywhere since
76
76
  // we don't know which Flight build this will end up being used
77
77
  // with.
78
- e.$$typeof === A || e.getModuleId !== void 0));
78
+ e.$$typeof === R || e.getModuleId !== void 0));
79
79
  }
80
- function Z(e, _, v) {
81
- var j = e.displayName;
82
- if (j)
83
- return j;
84
- var O = _.displayName || _.name || "";
85
- return O !== "" ? v + "(" + O + ")" : v;
80
+ function D(e, p, v) {
81
+ var $ = e.displayName;
82
+ if ($)
83
+ return $;
84
+ var P = p.displayName || p.name || "";
85
+ return P !== "" ? v + "(" + P + ")" : v;
86
86
  }
87
- function D(e) {
87
+ function W(e) {
88
88
  return e.displayName || "Context";
89
89
  }
90
90
  function L(e) {
91
91
  if (e == null)
92
92
  return null;
93
- if (typeof e.tag == "number" && p("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
93
+ 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")
94
94
  return e.displayName || e.name || null;
95
95
  if (typeof e == "string")
96
96
  return e;
@@ -111,20 +111,20 @@ function Gr() {
111
111
  if (typeof e == "object")
112
112
  switch (e.$$typeof) {
113
113
  case c:
114
- var _ = e;
115
- return D(_) + ".Consumer";
114
+ var p = e;
115
+ return W(p) + ".Consumer";
116
116
  case l:
117
117
  var v = e;
118
- return D(v._context) + ".Provider";
119
- case u:
120
- return Z(e, e.render, "ForwardRef");
118
+ return W(v._context) + ".Provider";
119
+ case _:
120
+ return D(e, e.render, "ForwardRef");
121
121
  case g:
122
- var j = e.displayName || null;
123
- return j !== null ? j : L(e.type) || "Memo";
122
+ var $ = e.displayName || null;
123
+ return $ !== null ? $ : L(e.type) || "Memo";
124
124
  case b: {
125
- var O = e, P = O._payload, I = O._init;
125
+ var P = e, F = P._payload, B = P._init;
126
126
  try {
127
- return L(I(P));
127
+ return L(B(F));
128
128
  } catch {
129
129
  return null;
130
130
  }
@@ -132,14 +132,14 @@ function Gr() {
132
132
  }
133
133
  return null;
134
134
  }
135
- var M = Object.assign, W = 0, H, q, K, ot, rt, J, at;
135
+ var A = Object.assign, q = 0, H, Z, K, ot, rt, J, at;
136
136
  function st() {
137
137
  }
138
138
  st.__reactDisabledLog = !0;
139
139
  function wt() {
140
140
  {
141
- if (W === 0) {
142
- H = console.log, q = console.info, K = console.warn, ot = console.error, rt = console.group, J = console.groupCollapsed, at = console.groupEnd;
141
+ if (q === 0) {
142
+ H = console.log, Z = console.info, K = console.warn, ot = console.error, rt = console.group, J = console.groupCollapsed, at = console.groupEnd;
143
143
  var e = {
144
144
  configurable: !0,
145
145
  enumerable: !0,
@@ -156,164 +156,164 @@ function Gr() {
156
156
  groupEnd: e
157
157
  });
158
158
  }
159
- W++;
159
+ q++;
160
160
  }
161
161
  }
162
- function xt() {
162
+ function yt() {
163
163
  {
164
- if (W--, W === 0) {
164
+ if (q--, q === 0) {
165
165
  var e = {
166
166
  configurable: !0,
167
167
  enumerable: !0,
168
168
  writable: !0
169
169
  };
170
170
  Object.defineProperties(console, {
171
- log: M({}, e, {
171
+ log: A({}, e, {
172
172
  value: H
173
173
  }),
174
- info: M({}, e, {
175
- value: q
174
+ info: A({}, e, {
175
+ value: Z
176
176
  }),
177
- warn: M({}, e, {
177
+ warn: A({}, e, {
178
178
  value: K
179
179
  }),
180
- error: M({}, e, {
180
+ error: A({}, e, {
181
181
  value: ot
182
182
  }),
183
- group: M({}, e, {
183
+ group: A({}, e, {
184
184
  value: rt
185
185
  }),
186
- groupCollapsed: M({}, e, {
186
+ groupCollapsed: A({}, e, {
187
187
  value: J
188
188
  }),
189
- groupEnd: M({}, e, {
189
+ groupEnd: A({}, e, {
190
190
  value: at
191
191
  })
192
192
  });
193
193
  }
194
- W < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
194
+ q < 0 && u("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
195
195
  }
196
196
  }
197
197
  var it = x.ReactCurrentDispatcher, Tt;
198
- function pt(e, _, v) {
198
+ function ut(e, p, v) {
199
199
  {
200
200
  if (Tt === void 0)
201
201
  try {
202
202
  throw Error();
203
- } catch (O) {
204
- var j = O.stack.trim().match(/\n( *(at )?)/);
205
- Tt = j && j[1] || "";
203
+ } catch (P) {
204
+ var $ = P.stack.trim().match(/\n( *(at )?)/);
205
+ Tt = $ && $[1] || "";
206
206
  }
207
207
  return `
208
208
  ` + Tt + e;
209
209
  }
210
210
  }
211
- var Zt = !1, It;
211
+ var Zt = !1, Mt;
212
212
  {
213
- var ee = typeof WeakMap == "function" ? WeakMap : Map;
214
- It = new ee();
213
+ var re = typeof WeakMap == "function" ? WeakMap : Map;
214
+ Mt = new re();
215
215
  }
216
- function qt(e, _) {
216
+ function Xt(e, p) {
217
217
  if (!e || Zt)
218
218
  return "";
219
219
  {
220
- var v = It.get(e);
220
+ var v = Mt.get(e);
221
221
  if (v !== void 0)
222
222
  return v;
223
223
  }
224
- var j;
224
+ var $;
225
225
  Zt = !0;
226
- var O = Error.prepareStackTrace;
226
+ var P = Error.prepareStackTrace;
227
227
  Error.prepareStackTrace = void 0;
228
- var P;
229
- P = it.current, it.current = null, wt();
228
+ var F;
229
+ F = it.current, it.current = null, wt();
230
230
  try {
231
- if (_) {
232
- var I = function() {
231
+ if (p) {
232
+ var B = function() {
233
233
  throw Error();
234
234
  };
235
- if (Object.defineProperty(I.prototype, "props", {
235
+ if (Object.defineProperty(B.prototype, "props", {
236
236
  set: function() {
237
237
  throw Error();
238
238
  }
239
239
  }), typeof Reflect == "object" && Reflect.construct) {
240
240
  try {
241
- Reflect.construct(I, []);
241
+ Reflect.construct(B, []);
242
242
  } catch (lt) {
243
- j = lt;
243
+ $ = lt;
244
244
  }
245
- Reflect.construct(e, [], I);
245
+ Reflect.construct(e, [], B);
246
246
  } else {
247
247
  try {
248
- I.call();
248
+ B.call();
249
249
  } catch (lt) {
250
- j = lt;
250
+ $ = lt;
251
251
  }
252
- e.call(I.prototype);
252
+ e.call(B.prototype);
253
253
  }
254
254
  } else {
255
255
  try {
256
256
  throw Error();
257
257
  } catch (lt) {
258
- j = lt;
258
+ $ = lt;
259
259
  }
260
260
  e();
261
261
  }
262
262
  } catch (lt) {
263
- if (lt && j && typeof lt.stack == "string") {
264
- for (var R = lt.stack.split(`
265
- `), nt = j.stack.split(`
266
- `), X = R.length - 1, Y = nt.length - 1; X >= 1 && Y >= 0 && R[X] !== nt[Y]; )
263
+ if (lt && $ && typeof lt.stack == "string") {
264
+ for (var I = lt.stack.split(`
265
+ `), nt = $.stack.split(`
266
+ `), X = I.length - 1, Y = nt.length - 1; X >= 1 && Y >= 0 && I[X] !== nt[Y]; )
267
267
  Y--;
268
268
  for (; X >= 1 && Y >= 0; X--, Y--)
269
- if (R[X] !== nt[Y]) {
269
+ if (I[X] !== nt[Y]) {
270
270
  if (X !== 1 || Y !== 1)
271
271
  do
272
- if (X--, Y--, Y < 0 || R[X] !== nt[Y]) {
272
+ if (X--, Y--, Y < 0 || I[X] !== nt[Y]) {
273
273
  var ht = `
274
- ` + R[X].replace(" at new ", " at ");
275
- return e.displayName && ht.includes("<anonymous>") && (ht = ht.replace("<anonymous>", e.displayName)), typeof e == "function" && It.set(e, ht), ht;
274
+ ` + I[X].replace(" at new ", " at ");
275
+ return e.displayName && ht.includes("<anonymous>") && (ht = ht.replace("<anonymous>", e.displayName)), typeof e == "function" && Mt.set(e, ht), ht;
276
276
  }
277
277
  while (X >= 1 && Y >= 0);
278
278
  break;
279
279
  }
280
280
  }
281
281
  } finally {
282
- Zt = !1, it.current = P, xt(), Error.prepareStackTrace = O;
282
+ Zt = !1, it.current = F, yt(), Error.prepareStackTrace = P;
283
283
  }
284
- var Bt = e ? e.displayName || e.name : "", Rt = Bt ? pt(Bt) : "";
285
- return typeof e == "function" && It.set(e, Rt), Rt;
284
+ var At = e ? e.displayName || e.name : "", Nt = At ? ut(At) : "";
285
+ return typeof e == "function" && Mt.set(e, Nt), Nt;
286
286
  }
287
- function re(e, _, v) {
288
- return qt(e, !1);
287
+ function ne(e, p, v) {
288
+ return Xt(e, !1);
289
289
  }
290
- function ne(e) {
291
- var _ = e.prototype;
292
- return !!(_ && _.isReactComponent);
290
+ function oe(e) {
291
+ var p = e.prototype;
292
+ return !!(p && p.isReactComponent);
293
293
  }
294
- function Q(e, _, v) {
294
+ function Q(e, p, v) {
295
295
  if (e == null)
296
296
  return "";
297
297
  if (typeof e == "function")
298
- return qt(e, ne(e));
298
+ return Xt(e, oe(e));
299
299
  if (typeof e == "string")
300
- return pt(e);
300
+ return ut(e);
301
301
  switch (e) {
302
302
  case f:
303
- return pt("Suspense");
303
+ return ut("Suspense");
304
304
  case d:
305
- return pt("SuspenseList");
305
+ return ut("SuspenseList");
306
306
  }
307
307
  if (typeof e == "object")
308
308
  switch (e.$$typeof) {
309
- case u:
310
- return re(e.render);
309
+ case _:
310
+ return ne(e.render);
311
311
  case g:
312
- return Q(e.type, _, v);
312
+ return Q(e.type, p, v);
313
313
  case b: {
314
- var j = e, O = j._payload, P = j._init;
314
+ var $ = e, P = $._payload, F = $._init;
315
315
  try {
316
- return Q(P(O), _, v);
316
+ return Q(F(P), p, v);
317
317
  } catch {
318
318
  }
319
319
  }
@@ -321,43 +321,43 @@ function Gr() {
321
321
  return "";
322
322
  }
323
323
  var tt = Object.prototype.hasOwnProperty, vt = {}, ve = x.ReactDebugCurrentFrame;
324
- function Xt(e) {
324
+ function Yt(e) {
325
325
  if (e) {
326
- var _ = e._owner, v = Q(e.type, e._source, _ ? _.type : null);
326
+ var p = e._owner, v = Q(e.type, e._source, p ? p.type : null);
327
327
  ve.setExtraStackFrame(v);
328
328
  } else
329
329
  ve.setExtraStackFrame(null);
330
330
  }
331
- function _r(e, _, v, j, O) {
331
+ function fr(e, p, v, $, P) {
332
332
  {
333
- var P = Function.call.bind(tt);
334
- for (var I in e)
335
- if (P(e, I)) {
336
- var R = void 0;
333
+ var F = Function.call.bind(tt);
334
+ for (var B in e)
335
+ if (F(e, B)) {
336
+ var I = void 0;
337
337
  try {
338
- if (typeof e[I] != "function") {
339
- var nt = Error((j || "React class") + ": " + v + " type `" + I + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[I] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
338
+ if (typeof e[B] != "function") {
339
+ var nt = Error(($ || "React class") + ": " + v + " type `" + B + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[B] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
340
340
  throw nt.name = "Invariant Violation", nt;
341
341
  }
342
- R = e[I](_, I, j, v, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
342
+ I = e[B](p, B, $, v, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
343
343
  } catch (X) {
344
- R = X;
344
+ I = X;
345
345
  }
346
- R && !(R instanceof Error) && (Xt(O), p("%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", v, I, typeof R), Xt(null)), R instanceof Error && !(R.message in vt) && (vt[R.message] = !0, Xt(O), p("Failed %s type: %s", v, R.message), Xt(null));
346
+ I && !(I instanceof Error) && (Yt(P), 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).", $ || "React class", v, B, typeof I), Yt(null)), I instanceof Error && !(I.message in vt) && (vt[I.message] = !0, Yt(P), u("Failed %s type: %s", v, I.message), Yt(null));
347
347
  }
348
348
  }
349
349
  }
350
- var fr = Array.isArray;
351
- function oe(e) {
352
- return fr(e);
350
+ var gr = Array.isArray;
351
+ function ae(e) {
352
+ return gr(e);
353
353
  }
354
- function gr(e) {
354
+ function hr(e) {
355
355
  {
356
- var _ = typeof Symbol == "function" && Symbol.toStringTag, v = _ && e[Symbol.toStringTag] || e.constructor.name || "Object";
356
+ var p = typeof Symbol == "function" && Symbol.toStringTag, v = p && e[Symbol.toStringTag] || e.constructor.name || "Object";
357
357
  return v;
358
358
  }
359
359
  }
360
- function hr(e) {
360
+ function mr(e) {
361
361
  try {
362
362
  return Ce(e), !1;
363
363
  } catch {
@@ -368,38 +368,38 @@ function Gr() {
368
368
  return "" + e;
369
369
  }
370
370
  function we(e) {
371
- if (hr(e))
372
- return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", gr(e)), Ce(e);
371
+ if (mr(e))
372
+ return u("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", hr(e)), Ce(e);
373
373
  }
374
- var Se = x.ReactCurrentOwner, br = {
374
+ var ke = x.ReactCurrentOwner, br = {
375
375
  key: !0,
376
376
  ref: !0,
377
377
  __self: !0,
378
378
  __source: !0
379
- }, ke, Le;
380
- function mr(e) {
379
+ }, Se, Le;
380
+ function xr(e) {
381
381
  if (tt.call(e, "ref")) {
382
- var _ = Object.getOwnPropertyDescriptor(e, "ref").get;
383
- if (_ && _.isReactWarning)
382
+ var p = Object.getOwnPropertyDescriptor(e, "ref").get;
383
+ if (p && p.isReactWarning)
384
384
  return !1;
385
385
  }
386
386
  return e.ref !== void 0;
387
387
  }
388
388
  function yr(e) {
389
389
  if (tt.call(e, "key")) {
390
- var _ = Object.getOwnPropertyDescriptor(e, "key").get;
391
- if (_ && _.isReactWarning)
390
+ var p = Object.getOwnPropertyDescriptor(e, "key").get;
391
+ if (p && p.isReactWarning)
392
392
  return !1;
393
393
  }
394
394
  return e.key !== void 0;
395
395
  }
396
- function xr(e, _) {
397
- typeof e.ref == "string" && Se.current;
396
+ function vr(e, p) {
397
+ typeof e.ref == "string" && ke.current;
398
398
  }
399
- function vr(e, _) {
399
+ function Cr(e, p) {
400
400
  {
401
401
  var v = function() {
402
- ke || (ke = !0, p("%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)", _));
402
+ Se || (Se = !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)", p));
403
403
  };
404
404
  v.isReactWarning = !0, Object.defineProperty(e, "key", {
405
405
  get: v,
@@ -407,10 +407,10 @@ function Gr() {
407
407
  });
408
408
  }
409
409
  }
410
- function Cr(e, _) {
410
+ function wr(e, p) {
411
411
  {
412
412
  var v = function() {
413
- Le || (Le = !0, p("%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)", _));
413
+ Le || (Le = !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)", p));
414
414
  };
415
415
  v.isReactWarning = !0, Object.defineProperty(e, "ref", {
416
416
  get: v,
@@ -418,70 +418,70 @@ function Gr() {
418
418
  });
419
419
  }
420
420
  }
421
- var wr = function(e, _, v, j, O, P, I) {
422
- var R = {
421
+ var kr = function(e, p, v, $, P, F, B) {
422
+ var I = {
423
423
  // This tag allows us to uniquely identify this as a React Element
424
424
  $$typeof: r,
425
425
  // Built-in properties that belong on the element
426
426
  type: e,
427
- key: _,
427
+ key: p,
428
428
  ref: v,
429
- props: I,
429
+ props: B,
430
430
  // Record the component responsible for creating this element.
431
- _owner: P
431
+ _owner: F
432
432
  };
433
- return R._store = {}, Object.defineProperty(R._store, "validated", {
433
+ return I._store = {}, Object.defineProperty(I._store, "validated", {
434
434
  configurable: !1,
435
435
  enumerable: !1,
436
436
  writable: !0,
437
437
  value: !1
438
- }), Object.defineProperty(R, "_self", {
438
+ }), Object.defineProperty(I, "_self", {
439
439
  configurable: !1,
440
440
  enumerable: !1,
441
441
  writable: !1,
442
- value: j
443
- }), Object.defineProperty(R, "_source", {
442
+ value: $
443
+ }), Object.defineProperty(I, "_source", {
444
444
  configurable: !1,
445
445
  enumerable: !1,
446
446
  writable: !1,
447
- value: O
448
- }), Object.freeze && (Object.freeze(R.props), Object.freeze(R)), R;
447
+ value: P
448
+ }), Object.freeze && (Object.freeze(I.props), Object.freeze(I)), I;
449
449
  };
450
- function Sr(e, _, v, j, O) {
450
+ function Sr(e, p, v, $, P) {
451
451
  {
452
- var P, I = {}, R = null, nt = null;
453
- v !== void 0 && (we(v), R = "" + v), yr(_) && (we(_.key), R = "" + _.key), mr(_) && (nt = _.ref, xr(_, O));
454
- for (P in _)
455
- tt.call(_, P) && !br.hasOwnProperty(P) && (I[P] = _[P]);
452
+ var F, B = {}, I = null, nt = null;
453
+ v !== void 0 && (we(v), I = "" + v), yr(p) && (we(p.key), I = "" + p.key), xr(p) && (nt = p.ref, vr(p, P));
454
+ for (F in p)
455
+ tt.call(p, F) && !br.hasOwnProperty(F) && (B[F] = p[F]);
456
456
  if (e && e.defaultProps) {
457
457
  var X = e.defaultProps;
458
- for (P in X)
459
- I[P] === void 0 && (I[P] = X[P]);
458
+ for (F in X)
459
+ B[F] === void 0 && (B[F] = X[F]);
460
460
  }
461
- if (R || nt) {
461
+ if (I || nt) {
462
462
  var Y = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
463
- R && vr(I, Y), nt && Cr(I, Y);
463
+ I && Cr(B, Y), nt && wr(B, Y);
464
464
  }
465
- return wr(e, R, nt, O, j, Se.current, I);
465
+ return kr(e, I, nt, P, $, ke.current, B);
466
466
  }
467
467
  }
468
- var ae = x.ReactCurrentOwner, je = x.ReactDebugCurrentFrame;
469
- function Mt(e) {
468
+ var se = x.ReactCurrentOwner, je = x.ReactDebugCurrentFrame;
469
+ function Bt(e) {
470
470
  if (e) {
471
- var _ = e._owner, v = Q(e.type, e._source, _ ? _.type : null);
471
+ var p = e._owner, v = Q(e.type, e._source, p ? p.type : null);
472
472
  je.setExtraStackFrame(v);
473
473
  } else
474
474
  je.setExtraStackFrame(null);
475
475
  }
476
- var se;
477
- se = !1;
478
- function ie(e) {
476
+ var ie;
477
+ ie = !1;
478
+ function le(e) {
479
479
  return typeof e == "object" && e !== null && e.$$typeof === r;
480
480
  }
481
481
  function $e() {
482
482
  {
483
- if (ae.current) {
484
- var e = L(ae.current.type);
483
+ if (se.current) {
484
+ var e = L(se.current.type);
485
485
  if (e)
486
486
  return `
487
487
 
@@ -490,152 +490,152 @@ Check the render method of \`` + e + "`.";
490
490
  return "";
491
491
  }
492
492
  }
493
- function kr(e) {
493
+ function Lr(e) {
494
494
  return "";
495
495
  }
496
496
  var Te = {};
497
- function Lr(e) {
497
+ function jr(e) {
498
498
  {
499
- var _ = $e();
500
- if (!_) {
499
+ var p = $e();
500
+ if (!p) {
501
501
  var v = typeof e == "string" ? e : e.displayName || e.name;
502
- v && (_ = `
502
+ v && (p = `
503
503
 
504
504
  Check the top-level render call using <` + v + ">.");
505
505
  }
506
- return _;
506
+ return p;
507
507
  }
508
508
  }
509
- function Ee(e, _) {
509
+ function Ee(e, p) {
510
510
  {
511
511
  if (!e._store || e._store.validated || e.key != null)
512
512
  return;
513
513
  e._store.validated = !0;
514
- var v = Lr(_);
514
+ var v = jr(p);
515
515
  if (Te[v])
516
516
  return;
517
517
  Te[v] = !0;
518
- var j = "";
519
- e && e._owner && e._owner !== ae.current && (j = " It was passed a child from " + L(e._owner.type) + "."), Mt(e), p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', v, j), Mt(null);
518
+ var $ = "";
519
+ e && e._owner && e._owner !== se.current && ($ = " It was passed a child from " + L(e._owner.type) + "."), Bt(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.', v, $), Bt(null);
520
520
  }
521
521
  }
522
- function Re(e, _) {
522
+ function Ne(e, p) {
523
523
  {
524
524
  if (typeof e != "object")
525
525
  return;
526
- if (oe(e))
526
+ if (ae(e))
527
527
  for (var v = 0; v < e.length; v++) {
528
- var j = e[v];
529
- ie(j) && Ee(j, _);
528
+ var $ = e[v];
529
+ le($) && Ee($, p);
530
530
  }
531
- else if (ie(e))
531
+ else if (le(e))
532
532
  e._store && (e._store.validated = !0);
533
533
  else if (e) {
534
- var O = m(e);
535
- if (typeof O == "function" && O !== e.entries)
536
- for (var P = O.call(e), I; !(I = P.next()).done; )
537
- ie(I.value) && Ee(I.value, _);
534
+ var P = h(e);
535
+ if (typeof P == "function" && P !== e.entries)
536
+ for (var F = P.call(e), B; !(B = F.next()).done; )
537
+ le(B.value) && Ee(B.value, p);
538
538
  }
539
539
  }
540
540
  }
541
- function jr(e) {
541
+ function $r(e) {
542
542
  {
543
- var _ = e.type;
544
- if (_ == null || typeof _ == "string")
543
+ var p = e.type;
544
+ if (p == null || typeof p == "string")
545
545
  return;
546
546
  var v;
547
- if (typeof _ == "function")
548
- v = _.propTypes;
549
- else if (typeof _ == "object" && (_.$$typeof === u || // Note: Memo only checks outer props here.
547
+ if (typeof p == "function")
548
+ v = p.propTypes;
549
+ else if (typeof p == "object" && (p.$$typeof === _ || // Note: Memo only checks outer props here.
550
550
  // Inner props are checked in the reconciler.
551
- _.$$typeof === g))
552
- v = _.propTypes;
551
+ p.$$typeof === g))
552
+ v = p.propTypes;
553
553
  else
554
554
  return;
555
555
  if (v) {
556
- var j = L(_);
557
- _r(v, e.props, "prop", j, e);
558
- } else if (_.PropTypes !== void 0 && !se) {
559
- se = !0;
560
- var O = L(_);
561
- p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", O || "Unknown");
556
+ var $ = L(p);
557
+ fr(v, e.props, "prop", $, e);
558
+ } else if (p.PropTypes !== void 0 && !ie) {
559
+ ie = !0;
560
+ var P = L(p);
561
+ u("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", P || "Unknown");
562
562
  }
563
- typeof _.getDefaultProps == "function" && !_.getDefaultProps.isReactClassApproved && p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
563
+ typeof p.getDefaultProps == "function" && !p.getDefaultProps.isReactClassApproved && u("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
564
564
  }
565
565
  }
566
- function $r(e) {
566
+ function Tr(e) {
567
567
  {
568
- for (var _ = Object.keys(e.props), v = 0; v < _.length; v++) {
569
- var j = _[v];
570
- if (j !== "children" && j !== "key") {
571
- Mt(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", j), Mt(null);
568
+ for (var p = Object.keys(e.props), v = 0; v < p.length; v++) {
569
+ var $ = p[v];
570
+ if ($ !== "children" && $ !== "key") {
571
+ Bt(e), u("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", $), Bt(null);
572
572
  break;
573
573
  }
574
574
  }
575
- e.ref !== null && (Mt(e), p("Invalid attribute `ref` supplied to `React.Fragment`."), Mt(null));
575
+ e.ref !== null && (Bt(e), u("Invalid attribute `ref` supplied to `React.Fragment`."), Bt(null));
576
576
  }
577
577
  }
578
- var Ne = {};
579
- function Ie(e, _, v, j, O, P) {
578
+ var Re = {};
579
+ function Ie(e, p, v, $, P, F) {
580
580
  {
581
- var I = F(e);
582
- if (!I) {
583
- var R = "";
584
- (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.");
585
- var nt = kr();
586
- nt ? R += nt : R += $e();
581
+ var B = O(e);
582
+ if (!B) {
583
+ var I = "";
584
+ (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (I += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
585
+ var nt = Lr();
586
+ nt ? I += nt : I += $e();
587
587
  var X;
588
- e === null ? X = "null" : oe(e) ? X = "array" : e !== void 0 && e.$$typeof === r ? (X = "<" + (L(e.type) || "Unknown") + " />", R = " Did you accidentally export a JSX literal instead of a component?") : X = typeof e, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", X, R);
588
+ e === null ? X = "null" : ae(e) ? X = "array" : e !== void 0 && e.$$typeof === r ? (X = "<" + (L(e.type) || "Unknown") + " />", I = " Did you accidentally export a JSX literal instead of a component?") : X = 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", X, I);
589
589
  }
590
- var Y = Sr(e, _, v, O, P);
590
+ var Y = Sr(e, p, v, P, F);
591
591
  if (Y == null)
592
592
  return Y;
593
- if (I) {
594
- var ht = _.children;
593
+ if (B) {
594
+ var ht = p.children;
595
595
  if (ht !== void 0)
596
- if (j)
597
- if (oe(ht)) {
598
- for (var Bt = 0; Bt < ht.length; Bt++)
599
- Re(ht[Bt], e);
596
+ if ($)
597
+ if (ae(ht)) {
598
+ for (var At = 0; At < ht.length; At++)
599
+ Ne(ht[At], e);
600
600
  Object.freeze && Object.freeze(ht);
601
601
  } else
602
- p("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
+ 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.");
603
603
  else
604
- Re(ht, e);
604
+ Ne(ht, e);
605
605
  }
606
- if (tt.call(_, "key")) {
607
- var Rt = L(e), lt = Object.keys(_).filter(function(Mr) {
608
- return Mr !== "key";
609
- }), le = lt.length > 0 ? "{key: someKey, " + lt.join(": ..., ") + ": ...}" : "{key: someKey}";
610
- if (!Ne[Rt + le]) {
611
- var Ir = lt.length > 0 ? "{" + lt.join(": ..., ") + ": ...}" : "{}";
612
- p(`A props object containing a "key" prop is being spread into JSX:
606
+ if (tt.call(p, "key")) {
607
+ var Nt = L(e), lt = Object.keys(p).filter(function(Br) {
608
+ return Br !== "key";
609
+ }), ce = lt.length > 0 ? "{key: someKey, " + lt.join(": ..., ") + ": ...}" : "{key: someKey}";
610
+ if (!Re[Nt + ce]) {
611
+ var Mr = lt.length > 0 ? "{" + lt.join(": ..., ") + ": ...}" : "{}";
612
+ u(`A props object containing a "key" prop is being spread into JSX:
613
613
  let props = %s;
614
614
  <%s {...props} />
615
615
  React keys must be passed directly to JSX without using spread:
616
616
  let props = %s;
617
- <%s key={someKey} {...props} />`, le, Rt, Ir, Rt), Ne[Rt + le] = !0;
617
+ <%s key={someKey} {...props} />`, ce, Nt, Mr, Nt), Re[Nt + ce] = !0;
618
618
  }
619
619
  }
620
- return e === a ? $r(Y) : jr(Y), Y;
620
+ return e === a ? Tr(Y) : $r(Y), Y;
621
621
  }
622
622
  }
623
- function Tr(e, _, v) {
624
- return Ie(e, _, v, !0);
623
+ function Er(e, p, v) {
624
+ return Ie(e, p, v, !0);
625
625
  }
626
- function Er(e, _, v) {
627
- return Ie(e, _, v, !1);
626
+ function Nr(e, p, v) {
627
+ return Ie(e, p, v, !1);
628
628
  }
629
- var Rr = Er, Nr = Tr;
630
- Dt.Fragment = a, Dt.jsx = Rr, Dt.jsxs = Nr;
629
+ var Rr = Nr, Ir = Er;
630
+ Dt.Fragment = a, Dt.jsx = Rr, Dt.jsxs = Ir;
631
631
  }()), Dt;
632
632
  }
633
633
  var Ae;
634
634
  function Ur() {
635
- return Ae || (Ae = 1, process.env.NODE_ENV === "production" ? Yt.exports = Yr() : Yt.exports = Gr()), Yt.exports;
635
+ return Ae || (Ae = 1, process.env.NODE_ENV === "production" ? Gt.exports = Yr() : Gt.exports = Gr()), Gt.exports;
636
636
  }
637
637
  var o = Ur();
638
- const Kr = (t) => t.as === "a", Jr = (t) => t.as === void 0 || t.as === "button", Oe = (t) => t.displayAs === void 0 || t.displayAs === "button", Qr = (t) => t.displayAs === "link", tn = "_button_11kkg_1", en = "_link_11kkg_22", rn = "_disabled_11kkg_27", nn = "_loading_11kkg_27", on = "_neutral_11kkg_59", an = "_accent_11kkg_63", sn = "_positive_11kkg_67", ln = "_negative_11kkg_71", cn = "_contrast_11kkg_75", dn = "_primary_11kkg_79", un = "_secondary_11kkg_80", pn = "_tertiary_11kkg_81", _n = "_gray_11kkg_91", fn = "_spaceBetween_11kkg_119", gn = "_rightGroup_11kkg_119", hn = "_withSubcaption_11kkg_127", bn = "_label_11kkg_139", mn = "_icon_11kkg_148", yn = "_labelText_11kkg_153", xn = "_isLink_11kkg_159", vn = "_iconOnly_11kkg_174", Cn = "_stretched_11kkg_190", wn = "_postfix_11kkg_195", Sn = "_underline_11kkg_225", kn = "_backButton_11kkg_428", Ln = "_warning_11kkg_1159", jn = "_subcaption_11kkg_1389", $n = "_content_11kkg_1394", Tn = "_contentHidden_11kkg_1398", En = "_loaderWrapper_11kkg_1402", Rn = "_l_11kkg_22", Nn = "_m_11kkg_1441", In = "_s_11kkg_80", Mn = "_xs_11kkg_1484", Bn = "_noPaddings_11kkg_1506", An = "_iconRight_11kkg_1542", On = "_spin_11kkg_1", z = {
638
+ const Kr = (t) => t.as === "a", Jr = (t) => t.as === void 0 || t.as === "button", Oe = (t) => t.displayAs === void 0 || t.displayAs === "button", Qr = (t) => t.displayAs === "link", tn = "_button_11kkg_1", en = "_link_11kkg_22", rn = "_disabled_11kkg_27", nn = "_loading_11kkg_27", on = "_neutral_11kkg_59", an = "_accent_11kkg_63", sn = "_positive_11kkg_67", ln = "_negative_11kkg_71", cn = "_contrast_11kkg_75", dn = "_primary_11kkg_79", un = "_secondary_11kkg_80", _n = "_tertiary_11kkg_81", pn = "_gray_11kkg_91", fn = "_spaceBetween_11kkg_119", gn = "_rightGroup_11kkg_119", hn = "_withSubcaption_11kkg_127", mn = "_label_11kkg_139", bn = "_icon_11kkg_148", xn = "_labelText_11kkg_153", yn = "_isLink_11kkg_159", vn = "_iconOnly_11kkg_174", Cn = "_stretched_11kkg_190", wn = "_postfix_11kkg_195", kn = "_underline_11kkg_225", Sn = "_backButton_11kkg_428", Ln = "_warning_11kkg_1159", jn = "_subcaption_11kkg_1389", $n = "_content_11kkg_1394", Tn = "_contentHidden_11kkg_1398", En = "_loaderWrapper_11kkg_1402", Nn = "_l_11kkg_22", Rn = "_m_11kkg_1441", In = "_s_11kkg_80", Mn = "_xs_11kkg_1484", Bn = "_noPaddings_11kkg_1506", An = "_iconRight_11kkg_1542", On = "_spin_11kkg_1", z = {
639
639
  button: tn,
640
640
  link: en,
641
641
  disabled: rn,
@@ -647,33 +647,33 @@ const Kr = (t) => t.as === "a", Jr = (t) => t.as === void 0 || t.as === "button"
647
647
  contrast: cn,
648
648
  primary: dn,
649
649
  secondary: un,
650
- tertiary: pn,
651
- gray: _n,
650
+ tertiary: _n,
651
+ gray: pn,
652
652
  spaceBetween: fn,
653
653
  rightGroup: gn,
654
654
  withSubcaption: hn,
655
- label: bn,
656
- icon: mn,
657
- labelText: yn,
658
- isLink: xn,
655
+ label: mn,
656
+ icon: bn,
657
+ labelText: xn,
658
+ isLink: yn,
659
659
  iconOnly: vn,
660
660
  stretched: Cn,
661
661
  postfix: wn,
662
- underline: Sn,
663
- backButton: kn,
662
+ underline: kn,
663
+ backButton: Sn,
664
664
  warning: Ln,
665
665
  subcaption: jn,
666
666
  content: $n,
667
667
  contentHidden: Tn,
668
668
  loaderWrapper: En,
669
- l: Rn,
670
- m: Nn,
669
+ l: Nn,
670
+ m: Rn,
671
671
  s: In,
672
672
  xs: Mn,
673
673
  noPaddings: Bn,
674
674
  iconRight: An,
675
675
  spin: On
676
- }, zn = /* @__PURE__ */ new Set([
676
+ }, Pn = /* @__PURE__ */ new Set([
677
677
  "mode",
678
678
  "size",
679
679
  "buttonStyle",
@@ -692,18 +692,18 @@ const Kr = (t) => t.as === "a", Jr = (t) => t.as === void 0 || t.as === "button"
692
692
  "isExternal",
693
693
  "asBackButton",
694
694
  "paddings"
695
- ]), ze = (t) => {
695
+ ]), Pe = (t) => {
696
696
  const r = {};
697
697
  for (const n in t)
698
- zn.has(n) || (r[n] = t[n]);
698
+ Pn.has(n) || (r[n] = t[n]);
699
699
  return r;
700
- }, Pn = {
700
+ }, zn = {
701
701
  l: "typography-subtitle-1-semibold",
702
702
  m: "typography-label-2-regular",
703
703
  s: "typography-label-3-regular"
704
704
  };
705
705
  function Dn(t) {
706
- return Pn[t] || "typography-label-2-regular";
706
+ return zn[t] || "typography-label-2-regular";
707
707
  }
708
708
  const Fn = (t, r, n) => t ? "gray" : r === "primary" ? {
709
709
  contrast: "neutral",
@@ -732,12 +732,12 @@ const Fn = (t, r, n) => t ? "gray" : r === "primary" ? {
732
732
  "typography-paragraph-2-regular": "_typography-paragraph-2-regular_1lyxn_176",
733
733
  "typography-paragraph-3-regular": "_typography-paragraph-3-regular_1lyxn_185",
734
734
  "typography-paragraph-4-regular": "_typography-paragraph-4-regular_1lyxn_194"
735
- }, Wn = "_loader_isv17_1", Hn = "_spin_isv17_1", Vn = "_accent_isv17_19", Zn = "_neutral_isv17_23", qn = "_positive_isv17_27", Xn = "_negative_isv17_31", Yn = "_gray_isv17_35", Gn = "_special_isv17_39", Un = "_contrast_isv17_43", Kn = "_container_isv17_47", Jn = "_overlay_isv17_57", Wt = {
735
+ }, Wn = "_loader_isv17_1", qn = "_spin_isv17_1", Hn = "_accent_isv17_19", Vn = "_neutral_isv17_23", Zn = "_positive_isv17_27", Xn = "_negative_isv17_31", Yn = "_gray_isv17_35", Gn = "_special_isv17_39", Un = "_contrast_isv17_43", Kn = "_container_isv17_47", Jn = "_overlay_isv17_57", qt = {
736
736
  loader: Wn,
737
- spin: Hn,
738
- accent: Vn,
739
- neutral: Zn,
740
- positive: qn,
737
+ spin: qn,
738
+ accent: Hn,
739
+ neutral: Vn,
740
+ positive: Zn,
741
741
  negative: Xn,
742
742
  gray: Yn,
743
743
  special: Gn,
@@ -750,15 +750,15 @@ const Fn = (t, r, n) => t ? "gray" : r === "primary" ? {
750
750
  "size-64": "_size-64_isv17_84",
751
751
  "size-96": "_size-96_isv17_88"
752
752
  };
753
- var ce = { exports: {} };
753
+ var de = { exports: {} };
754
754
  /*!
755
755
  Copyright (c) 2018 Jed Watson.
756
756
  Licensed under the MIT License (MIT), see
757
757
  http://jedwatson.github.io/classnames
758
758
  */
759
- var Pe;
759
+ var ze;
760
760
  function Qn() {
761
- return Pe || (Pe = 1, function(t) {
761
+ return ze || (ze = 1, function(t) {
762
762
  (function() {
763
763
  var r = {}.hasOwnProperty;
764
764
  function n() {
@@ -787,10 +787,10 @@ function Qn() {
787
787
  }
788
788
  t.exports ? (n.default = n, t.exports = n) : window.classNames = n;
789
789
  })();
790
- }(ce)), ce.exports;
790
+ }(de)), de.exports;
791
791
  }
792
792
  var to = Qn();
793
- const Et = /* @__PURE__ */ Xr(to), rr = U(
793
+ const It = /* @__PURE__ */ Xr(to), nr = U(
794
794
  ({
795
795
  size: t = 24,
796
796
  variant: r = "accent",
@@ -799,10 +799,10 @@ const Et = /* @__PURE__ */ Xr(to), rr = U(
799
799
  style: i,
800
800
  ...s
801
801
  }, l) => {
802
- const c = Et(
803
- Wt.loader,
804
- Wt[r],
805
- Wt[`size-${t}`],
802
+ const c = It(
803
+ qt.loader,
804
+ qt[r],
805
+ qt[`size-${t}`],
806
806
  n
807
807
  );
808
808
  return /* @__PURE__ */ o.jsx(
@@ -836,20 +836,20 @@ const Et = /* @__PURE__ */ Xr(to), rr = U(
836
836
  children: s,
837
837
  className: l,
838
838
  style: c,
839
- "data-testid": u,
839
+ "data-testid": _,
840
840
  ...f
841
- } = t, d = Et(Wt.container, l);
842
- return /* @__PURE__ */ o.jsxs("div", { ref: r, className: d, style: c, "data-testid": u, ...f, children: [
841
+ } = t, d = It(qt.container, l);
842
+ return /* @__PURE__ */ o.jsxs("div", { ref: r, className: d, style: c, "data-testid": _, ...f, children: [
843
843
  s,
844
- n && /* @__PURE__ */ o.jsx("div", { className: Wt.overlay, children: /* @__PURE__ */ o.jsx(rr, { size: a, variant: i, "data-testid": `${u}-spinner` }) })
844
+ n && /* @__PURE__ */ o.jsx("div", { className: qt.overlay, children: /* @__PURE__ */ o.jsx(nr, { size: a, variant: i, "data-testid": `${_}-spinner` }) })
845
845
  ] });
846
- }), nr = U((t, r) => t.children ? /* @__PURE__ */ o.jsx(
846
+ }), or = U((t, r) => t.children ? /* @__PURE__ */ o.jsx(
847
847
  eo,
848
848
  {
849
849
  ref: r,
850
850
  ...t
851
851
  }
852
- ) : /* @__PURE__ */ o.jsx(rr, { ref: r, ...t })), ro = (t) => /* @__PURE__ */ o.jsx(
852
+ ) : /* @__PURE__ */ o.jsx(nr, { ref: r, ...t })), ro = (t) => /* @__PURE__ */ o.jsx(
853
853
  "svg",
854
854
  {
855
855
  width: "100%",
@@ -908,7 +908,7 @@ const Et = /* @__PURE__ */ Xr(to), rr = U(
908
908
  size: s,
909
909
  isAsButton: l
910
910
  }) => {
911
- const c = !!(i && l && s === "l"), u = !!(!n && l && r), f = l && !!(c && !n && a || a && !c);
911
+ const c = !!(i && l && s === "l"), _ = !!(!n && l && r), f = l && !!(c && !n && a || a && !c);
912
912
  return /* @__PURE__ */ o.jsxs(Ht, { children: [
913
913
  c && n && /* @__PURE__ */ o.jsxs(Ht, { children: [
914
914
  /* @__PURE__ */ o.jsx("span", { "data-testid": "button-label", className: k(z.label, z.labelText), children: n }),
@@ -926,7 +926,7 @@ const Et = /* @__PURE__ */ Xr(to), rr = U(
926
926
  /* @__PURE__ */ o.jsx("span", { className: k(z.labelText, { [z.isLink]: !l }), children: n }),
927
927
  !l && t && /* @__PURE__ */ o.jsx("span", { "data-testid": "button-icon", className: k(z.icon, z.iconRight), children: t })
928
928
  ] }),
929
- u && /* @__PURE__ */ o.jsx("span", { "data-testid": "button-icon", className: z.icon, children: l ? r : t }),
929
+ _ && /* @__PURE__ */ o.jsx("span", { "data-testid": "button-icon", className: z.icon, children: l ? r : t }),
930
930
  f && /* @__PURE__ */ o.jsx("div", { "data-testid": "button-right-group", className: z.rightGroup, children: /* @__PURE__ */ o.jsx(
931
931
  "span",
932
932
  {
@@ -936,7 +936,7 @@ const Et = /* @__PURE__ */ Xr(to), rr = U(
936
936
  }
937
937
  ) })
938
938
  ] });
939
- }, ye = U((t, r) => {
939
+ }, xe = U((t, r) => {
940
940
  const {
941
941
  mode: n = "primary",
942
942
  size: a = "m",
@@ -944,61 +944,61 @@ const Et = /* @__PURE__ */ Xr(to), rr = U(
944
944
  disabled: s = !1,
945
945
  className: l,
946
946
  children: c,
947
- tabIndex: u
948
- } = t, f = n === "tertiary", d = Oe(t), g = Qr(t), b = f && "paddings" in t ? t.paddings ?? !0 : !0, h = d ? t.subcaption : void 0, y = d ? t.postfix : void 0, C = d ? t.stretched : void 0, m = !(g && t.size === void 0), x = g && m ? t.iconLeft : void 0, p = g && m ? t.iconRight : void 0, w = !!(d && "loading" in t && t.loading), S = d ? s : s || w, T = !S && !w, $ = d ? t.iconLeft : void 0, E = !!(!c && (d && $ && !y || g && p)), B = typeof C == "object" ? C.justify === "space-between" : void 0, A = ao(a), F = G[A], Z = g ? Dn(t.size ?? "m") : void 0, D = Z ? G[Z] : void 0, L = Fn(S, n, i), M = S || w ? -1 : u, W = k(
947
+ tabIndex: _
948
+ } = t, f = n === "tertiary", d = Oe(t), g = Qr(t), b = f && "paddings" in t ? t.paddings ?? !0 : !0, m = d ? t.subcaption : void 0, C = d ? t.postfix : void 0, y = d ? t.stretched : void 0, h = !(g && t.size === void 0), x = g && h ? t.iconLeft : void 0, u = g && h ? t.iconRight : void 0, w = !!(d && "loading" in t && t.loading), S = d ? s : s || w, E = !S && !w, j = d ? t.iconLeft : void 0, N = !!(!c && (d && j && !C || g && u)), T = typeof y == "object" ? y.justify === "space-between" : void 0, R = ao(a), O = G[R], D = g ? Dn(t.size ?? "m") : void 0, W = D ? G[D] : void 0, L = Fn(S, n, i), A = S || w ? -1 : _, q = k(
949
949
  z.button,
950
950
  z[a],
951
951
  z[n],
952
952
  z[i],
953
- g && D,
954
- d && F,
953
+ g && W,
954
+ d && O,
955
955
  {
956
956
  [z.disabled]: S,
957
957
  [z.loading]: d && "loading" in t && t.loading,
958
- [z.stretched]: C,
959
- [z.spaceBetween]: B,
960
- [z.withSubcaption]: !!(h && a === "l" && c),
961
- [z.iconOnly]: E,
958
+ [z.stretched]: y,
959
+ [z.spaceBetween]: T,
960
+ [z.withSubcaption]: !!(m && a === "l" && c),
961
+ [z.iconOnly]: N,
962
962
  [z.link]: g,
963
963
  [z.underline]: g && "showUnderline" in t && t.showUnderline,
964
964
  [z.noPaddings]: f && d && !b
965
965
  },
966
966
  l
967
967
  ), H = {
968
- iconRight: p,
969
- iconLeft: d ? $ : x,
968
+ iconRight: u,
969
+ iconLeft: d ? j : x,
970
970
  children: c,
971
- postfix: y,
972
- subcaption: h,
971
+ postfix: C,
972
+ subcaption: m,
973
973
  size: a,
974
974
  isAsButton: d
975
975
  };
976
976
  if (Kr(t)) {
977
- const { href: q, onClick: K, style: ot, target: rt, rel: J, "data-testid": at, ...st } = t, wt = ze(st), xt = rt ?? (t.isExternal ? "_blank" : void 0);
977
+ const { href: Z, onClick: K, style: ot, target: rt, rel: J, "data-testid": at, ...st } = t, wt = Pe(st), yt = rt ?? (t.isExternal ? "_blank" : void 0);
978
978
  let it = J;
979
- if (xt === "_blank") {
980
- const pt = new Set((J ?? "").split(/\s+/).filter(Boolean));
981
- pt.add("noopener").add("noreferrer"), it = Array.from(pt).join(" ");
979
+ if (yt === "_blank") {
980
+ const ut = new Set((J ?? "").split(/\s+/).filter(Boolean));
981
+ ut.add("noopener").add("noreferrer"), it = Array.from(ut).join(" ");
982
982
  }
983
- const Tt = (pt) => {
984
- if (!T) {
985
- pt.preventDefault();
983
+ const Tt = (ut) => {
984
+ if (!E) {
985
+ ut.preventDefault();
986
986
  return;
987
987
  }
988
- K == null || K(pt);
988
+ K == null || K(ut);
989
989
  };
990
990
  return /* @__PURE__ */ o.jsx(
991
991
  "a",
992
992
  {
993
993
  ref: r,
994
- className: W,
995
- href: T ? q : void 0,
996
- tabIndex: M,
994
+ className: q,
995
+ href: E ? Z : void 0,
996
+ tabIndex: A,
997
997
  onClick: Tt,
998
998
  "data-testid": at,
999
999
  "aria-disabled": S || w,
1000
1000
  style: ot,
1001
- target: xt,
1001
+ target: yt,
1002
1002
  rel: it,
1003
1003
  ...wt,
1004
1004
  children: /* @__PURE__ */ o.jsx(De, { ...H })
@@ -1006,17 +1006,17 @@ const Et = /* @__PURE__ */ Xr(to), rr = U(
1006
1006
  );
1007
1007
  }
1008
1008
  if (Jr(t)) {
1009
- const { type: q = "button", onClick: K, style: ot, "data-testid": rt, ...J } = t, at = ze(J), st = a === "l" ? 24 : 16, wt = (xt) => {
1010
- T && K && K(xt);
1009
+ const { type: Z = "button", onClick: K, style: ot, "data-testid": rt, ...J } = t, at = Pe(J), st = a === "l" ? 24 : 16, wt = (yt) => {
1010
+ E && K && K(yt);
1011
1011
  };
1012
1012
  return /* @__PURE__ */ o.jsxs(
1013
1013
  "button",
1014
1014
  {
1015
1015
  ref: r,
1016
- type: q,
1017
- className: W,
1016
+ type: Z,
1017
+ className: q,
1018
1018
  disabled: S,
1019
- tabIndex: M,
1019
+ tabIndex: A,
1020
1020
  onClick: wt,
1021
1021
  "data-testid": rt,
1022
1022
  "aria-disabled": S || w,
@@ -1025,7 +1025,7 @@ const Et = /* @__PURE__ */ Xr(to), rr = U(
1025
1025
  children: [
1026
1026
  /* @__PURE__ */ o.jsx("div", { className: k(z.content, { [z.contentHidden]: w }), children: /* @__PURE__ */ o.jsx(De, { ...H }) }),
1027
1027
  w && /* @__PURE__ */ o.jsx("div", { className: z.loaderWrapper, children: /* @__PURE__ */ o.jsx(
1028
- nr,
1028
+ or,
1029
1029
  {
1030
1030
  variant: L,
1031
1031
  "aria-hidden": "true",
@@ -1039,8 +1039,8 @@ const Et = /* @__PURE__ */ Xr(to), rr = U(
1039
1039
  }
1040
1040
  return null;
1041
1041
  });
1042
- ye.displayName = "Button";
1043
- const or = U(
1042
+ xe.displayName = "Button";
1043
+ const ar = U(
1044
1044
  (t, r) => {
1045
1045
  const { iconLeft: n, className: a, ...i } = t, l = {
1046
1046
  ...i,
@@ -1051,20 +1051,20 @@ const or = U(
1051
1051
  iconLeft: n ?? /* @__PURE__ */ o.jsx(no, {}),
1052
1052
  className: k(z.backButton, G["typography-subtitle-1-semibold"], a)
1053
1053
  };
1054
- return /* @__PURE__ */ o.jsx(ye, { ref: r, ...l });
1054
+ return /* @__PURE__ */ o.jsx(xe, { ref: r, ...l });
1055
1055
  }
1056
1056
  );
1057
- or.displayName = "Button.Back";
1058
- const ge = Object.assign(ye, {
1059
- Back: or
1060
- }), so = "_avatar_19ug4_18", io = "_clickable_19ug4_40", lo = "_icon_19ug4_57", co = "_disabled_19ug4_62", uo = "_loading_19ug4_67", po = "_image_19ug4_73", _o = "_name_19ug4_73", Ct = {
1057
+ ar.displayName = "Button.Back";
1058
+ const ge = Object.assign(xe, {
1059
+ Back: ar
1060
+ }), so = "_avatar_19ug4_18", io = "_clickable_19ug4_40", lo = "_icon_19ug4_57", co = "_disabled_19ug4_62", uo = "_loading_19ug4_67", _o = "_image_19ug4_73", po = "_name_19ug4_73", Ct = {
1061
1061
  avatar: so,
1062
1062
  clickable: io,
1063
1063
  icon: lo,
1064
1064
  disabled: co,
1065
1065
  loading: uo,
1066
- image: po,
1067
- name: _o,
1066
+ image: _o,
1067
+ name: po,
1068
1068
  "variant-filled": "_variant-filled_19ug4_125",
1069
1069
  "color-brand": "_color-brand_19ug4_130",
1070
1070
  "color-red": "_color-red_19ug4_134",
@@ -1082,7 +1082,7 @@ const ge = Object.assign(ye, {
1082
1082
  function fo(t) {
1083
1083
  return t < Fe ? `+${t}` : `${Fe}+`;
1084
1084
  }
1085
- function te(t) {
1085
+ function ee(t) {
1086
1086
  const r = typeof t == "string" ? t : JSON.stringify(t);
1087
1087
  let n = 5381;
1088
1088
  for (let a = 0; a < r.length; a++) {
@@ -1100,18 +1100,18 @@ const go = (t, r, n) => Math.min(Math.max(t, r), n), ho = [
1100
1100
  "lightblue",
1101
1101
  "purple"
1102
1102
  ];
1103
- function bo(t, r = ho) {
1103
+ function mo(t, r = ho) {
1104
1104
  if (!t) return "gray";
1105
- const n = te(t), a = Math.abs(n) % r.length;
1105
+ const n = ee(t), a = Math.abs(n) % r.length;
1106
1106
  return r[a];
1107
1107
  }
1108
1108
  const We = 2;
1109
- function mo(t) {
1109
+ function bo(t) {
1110
1110
  if (!t) return "";
1111
1111
  const r = t.trim().split(/\s+/);
1112
1112
  return r.length === 1 ? t.slice(0, We).toUpperCase() : r.map((n) => n[0]).slice(0, We).join("").toUpperCase();
1113
1113
  }
1114
- const yo = {
1114
+ const xo = {
1115
1115
  24: 8,
1116
1116
  32: 12,
1117
1117
  40: 12,
@@ -1122,8 +1122,8 @@ const yo = {
1122
1122
  96: 24,
1123
1123
  208: 8
1124
1124
  };
1125
- function xo(t, r) {
1126
- return r === "circle" ? t / 2 : yo[t] || 12;
1125
+ function yo(t, r) {
1126
+ return r === "circle" ? t / 2 : xo[t] || 12;
1127
1127
  }
1128
1128
  const vo = {
1129
1129
  24: "typography-subtitle-4-semibold",
@@ -1139,12 +1139,12 @@ const vo = {
1139
1139
  function Co(t) {
1140
1140
  return vo[t] || "typography-subtitle-1-semibold";
1141
1141
  }
1142
- const wo = "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", So = "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", ko = "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", Lo = "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", jo = {
1142
+ const wo = "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", ko = "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", So = "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", Lo = "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", jo = {
1143
1143
  male: wo,
1144
- female: So,
1144
+ female: ko,
1145
1145
  org: Lo,
1146
- neutral: ko
1147
- }, Jt = U((t, r) => {
1146
+ neutral: So
1147
+ }, Qt = U((t, r) => {
1148
1148
  const {
1149
1149
  style: n,
1150
1150
  size: a = 40,
@@ -1152,36 +1152,36 @@ const wo = "data:image/svg+xml,%3csvg%20opacity='0.9'%20preserveAspectRatio='xMi
1152
1152
  isDisabled: s = !1,
1153
1153
  shape: l = "circle",
1154
1154
  variant: c = "filled",
1155
- placeholderType: u = "neutral",
1155
+ placeholderType: _ = "neutral",
1156
1156
  name: f,
1157
1157
  imgSrc: d,
1158
1158
  imgAlt: g,
1159
1159
  icon: b,
1160
- imgProps: h,
1161
- colorScheme: y,
1162
- className: C,
1163
- "data-testid": m,
1160
+ imgProps: m,
1161
+ colorScheme: C,
1162
+ className: y,
1163
+ "data-testid": h,
1164
1164
  ...x
1165
- } = t, { onClick: p, onPointerDown: w } = x, T = !s && !i && (!!p || !!w), [$, E] = gt(!1);
1166
- ut(() => {
1167
- d && E(!1);
1165
+ } = t, { onClick: u, onPointerDown: w } = x, E = !s && !i && (!!u || !!w), [j, N] = ft(!1);
1166
+ gt(() => {
1167
+ d && N(!1);
1168
1168
  }, [d]);
1169
- const B = d && !$ ? "image" : b ? "icon" : f ? "name" : "placeholder", A = y || B === "name" && bo(f) || "gray", F = Co(a), Z = xo(a, l), D = k(
1170
- C,
1169
+ const T = d && !j ? "image" : b ? "icon" : f ? "name" : "placeholder", R = C || T === "name" && mo(f) || "gray", O = Co(a), D = yo(a, l), W = k(
1170
+ y,
1171
1171
  Ct.avatar,
1172
1172
  Ct[`variant-${c}`],
1173
- Ct[`color-${A}`],
1174
- G[F],
1173
+ Ct[`color-${R}`],
1174
+ G[O],
1175
1175
  {
1176
1176
  [Ct.disabled]: s,
1177
1177
  [Ct.loading]: i,
1178
- [Ct.clickable]: T
1178
+ [Ct.clickable]: E
1179
1179
  }
1180
1180
  ), L = {
1181
1181
  "--avatar-size": `${a}px`,
1182
- "--avatar-border-radius": `${Z}px`,
1182
+ "--avatar-border-radius": `${D}px`,
1183
1183
  ...n
1184
- }, M = {
1184
+ }, A = {
1185
1185
  icon: () => /* @__PURE__ */ o.jsx("span", { "data-testid": "avatar-icon", title: g || void 0, role: "img", className: Ct.icon, children: b == null ? void 0 : b({}) }),
1186
1186
  name: () => /* @__PURE__ */ o.jsx(
1187
1187
  "span",
@@ -1190,16 +1190,16 @@ const wo = "data:image/svg+xml,%3csvg%20opacity='0.9'%20preserveAspectRatio='xMi
1190
1190
  "data-testid": "avatar-name",
1191
1191
  className: Ct.name,
1192
1192
  title: g || void 0,
1193
- children: mo(f || "")
1193
+ children: bo(f || "")
1194
1194
  }
1195
1195
  ),
1196
1196
  placeholder: () => /* @__PURE__ */ o.jsx(
1197
1197
  "img",
1198
1198
  {
1199
- ...h,
1199
+ ...m,
1200
1200
  "data-testid": "avatar-placeholder",
1201
1201
  className: Ct.image,
1202
- src: jo[u],
1202
+ src: jo[_],
1203
1203
  alt: g || void 0
1204
1204
  }
1205
1205
  ),
@@ -1207,35 +1207,35 @@ const wo = "data:image/svg+xml,%3csvg%20opacity='0.9'%20preserveAspectRatio='xMi
1207
1207
  "img",
1208
1208
  {
1209
1209
  "data-testid": "avatar-image",
1210
- ...h,
1210
+ ...m,
1211
1211
  className: Ct.image,
1212
1212
  src: d || void 0,
1213
1213
  alt: g || void 0,
1214
- onLoad: () => E(!1),
1214
+ onLoad: () => N(!1),
1215
1215
  onError: (H) => {
1216
- var q;
1217
- E(!0), (q = h == null ? void 0 : h.onError) == null || q.call(h, H);
1216
+ var Z;
1217
+ N(!0), (Z = m == null ? void 0 : m.onError) == null || Z.call(m, H);
1218
1218
  }
1219
1219
  }
1220
1220
  )
1221
- }, W = (H) => {
1222
- T && (p == null || p(H));
1221
+ }, q = (H) => {
1222
+ E && (u == null || u(H));
1223
1223
  };
1224
1224
  return /* @__PURE__ */ o.jsx(
1225
1225
  "div",
1226
1226
  {
1227
1227
  ref: r,
1228
- onClick: W,
1229
- className: D,
1228
+ onClick: q,
1229
+ className: W,
1230
1230
  style: L,
1231
- "data-testid": m,
1231
+ "data-testid": h,
1232
1232
  "aria-disabled": s || i,
1233
- children: M[B](null)
1233
+ children: A[T](null)
1234
1234
  }
1235
1235
  );
1236
1236
  }), $o = "_avatarGroup_157g4_1", To = {
1237
1237
  avatarGroup: $o
1238
- }, Eo = (t) => t === "rgba(0, 0, 0, 0)" || t === "transparent" || t.startsWith("rgba") && t.endsWith(", 0)"), Ro = (t) => {
1238
+ }, Eo = (t) => t === "rgba(0, 0, 0, 0)" || t === "transparent" || t.startsWith("rgba") && t.endsWith(", 0)"), No = (t) => {
1239
1239
  if (!t) return null;
1240
1240
  let r = t;
1241
1241
  for (; r; ) {
@@ -1244,32 +1244,32 @@ const wo = "data:image/svg+xml,%3csvg%20opacity='0.9'%20preserveAspectRatio='xMi
1244
1244
  r = r.parentElement;
1245
1245
  }
1246
1246
  return null;
1247
- }, xe = () => {
1248
- const t = Vt(null), [r, n] = gt(null);
1249
- return ut(() => {
1247
+ }, ye = () => {
1248
+ const t = Vt(null), [r, n] = ft(null);
1249
+ return gt(() => {
1250
1250
  if (t.current) {
1251
- const a = Ro(t.current);
1251
+ const a = No(t.current);
1252
1252
  n(a);
1253
1253
  }
1254
1254
  }, []), { ref: t, bgColor: r };
1255
1255
  };
1256
- function He(t, r, n) {
1257
- ut(() => (window.addEventListener(t, r, n), () => window.removeEventListener(t, r, n)), [t, r]);
1256
+ function qe(t, r, n) {
1257
+ gt(() => (window.addEventListener(t, r, n), () => window.removeEventListener(t, r, n)), [t, r]);
1258
1258
  }
1259
- const Ve = {
1259
+ const He = {
1260
1260
  passive: !0
1261
1261
  };
1262
- function No() {
1263
- const [t, r] = gt({
1262
+ function Ro() {
1263
+ const [t, r] = ft({
1264
1264
  width: 0,
1265
1265
  height: 0
1266
1266
  }), n = jt(() => {
1267
1267
  r({ width: window.innerWidth || 0, height: window.innerHeight || 0 });
1268
1268
  }, []);
1269
- return He("resize", n, Ve), He("orientationchange", n, Ve), ut(n, []), t;
1269
+ return qe("resize", n, He), qe("orientationchange", n, He), gt(n, []), t;
1270
1270
  }
1271
1271
  function Io(t = 768) {
1272
- const { width: r } = No();
1272
+ const { width: r } = Ro();
1273
1273
  return Qe(() => r <= t, [r, t]);
1274
1274
  }
1275
1275
  const Mo = 2, Bo = (t) => {
@@ -1281,22 +1281,22 @@ const Mo = 2, Bo = (t) => {
1281
1281
  overflowCount: s = 0,
1282
1282
  overflowProps: l,
1283
1283
  cutoutBackground: c
1284
- } = t, f = -(n * a) + Mo, { ref: d, bgColor: g } = xe(), b = c || g || "#ffffff", h = Et(To.avatarGroup), y = {
1284
+ } = t, f = -(n * a) + Mo, { ref: d, bgColor: g } = ye(), b = c || g || "#ffffff", m = It(To.avatarGroup), C = {
1285
1285
  "--avatar-cutout-bg": b
1286
1286
  };
1287
- return r.length === 0 ? null : /* @__PURE__ */ o.jsxs("div", { className: h, ref: d, style: y, children: [
1288
- r.map((C, m) => {
1289
- if (C.wrapper) {
1290
- const x = C.wrapper;
1287
+ return r.length === 0 ? null : /* @__PURE__ */ o.jsxs("div", { className: m, ref: d, style: C, children: [
1288
+ r.map((y, h) => {
1289
+ if (y.wrapper) {
1290
+ const x = y.wrapper;
1291
1291
  return /* @__PURE__ */ o.jsx(
1292
1292
  "div",
1293
1293
  {
1294
1294
  style: {
1295
1295
  marginRight: f
1296
1296
  },
1297
- children: /* @__PURE__ */ o.jsx(x, { children: /* @__PURE__ */ o.jsx(Jt, { size: n, shape: i, ...C }) })
1297
+ children: /* @__PURE__ */ o.jsx(x, { children: /* @__PURE__ */ o.jsx(Qt, { size: n, shape: i, ...y }) })
1298
1298
  },
1299
- te(C) + m
1299
+ ee(y) + h
1300
1300
  );
1301
1301
  }
1302
1302
  return /* @__PURE__ */ o.jsx(
@@ -1305,13 +1305,13 @@ const Mo = 2, Bo = (t) => {
1305
1305
  style: {
1306
1306
  marginRight: f
1307
1307
  },
1308
- children: /* @__PURE__ */ o.jsx(Jt, { size: n, shape: i, ...C })
1308
+ children: /* @__PURE__ */ o.jsx(Qt, { size: n, shape: i, ...y })
1309
1309
  },
1310
- te(C) + m
1310
+ ee(y) + h
1311
1311
  );
1312
1312
  }),
1313
1313
  s > 0 && /* @__PURE__ */ o.jsx("div", { style: { marginRight: f }, children: /* @__PURE__ */ o.jsx(
1314
- Jt,
1314
+ Qt,
1315
1315
  {
1316
1316
  size: n,
1317
1317
  shape: i,
@@ -1322,11 +1322,11 @@ const Mo = 2, Bo = (t) => {
1322
1322
  }
1323
1323
  ) })
1324
1324
  ] });
1325
- }, Ao = Object.assign(Jt, {
1325
+ }, Ao = Object.assign(Qt, {
1326
1326
  Group: Bo
1327
- }), Oo = "_overlay_g6rp8_6", zo = "_container_g6rp8_20", de = {
1327
+ }), Oo = "_overlay_g6rp8_6", Po = "_container_g6rp8_20", ue = {
1328
1328
  overlay: Oo,
1329
- container: zo,
1329
+ container: Po,
1330
1330
  "placement-default": "_placement-default_g6rp8_34",
1331
1331
  "placement-default-stretched": "_placement-default-stretched_g6rp8_41",
1332
1332
  "placement-center": "_placement-center_g6rp8_48",
@@ -1335,7 +1335,7 @@ const Mo = 2, Bo = (t) => {
1335
1335
  "placement-right-drawer": "_placement-right-drawer_g6rp8_66",
1336
1336
  "placement-mobile": "_placement-mobile_g6rp8_71"
1337
1337
  };
1338
- function Po(t) {
1338
+ function zo(t) {
1339
1339
  switch (t) {
1340
1340
  case "default":
1341
1341
  return "top";
@@ -1384,15 +1384,15 @@ function Fo({
1384
1384
  disableEscapeKey: i = !1
1385
1385
  }) {
1386
1386
  const s = jt(
1387
- (C) => {
1388
- r == null || r(C);
1387
+ (y) => {
1388
+ r == null || r(y);
1389
1389
  },
1390
1390
  [r]
1391
- ), l = Po(n), { context: c, refs: u } = Or({
1391
+ ), l = zo(n), { context: c, refs: _ } = Or({
1392
1392
  open: t,
1393
1393
  onOpenChange: s,
1394
1394
  placement: l
1395
- }), f = Do(n), { isMounted: d, styles: g } = zr(c, {
1395
+ }), f = Do(n), { isMounted: d, styles: g } = Pr(c, {
1396
1396
  duration: 200,
1397
1397
  common: {
1398
1398
  transitionProperty: "opacity, transform",
@@ -1402,11 +1402,11 @@ function Fo({
1402
1402
  opacity: 0
1403
1403
  },
1404
1404
  ...f
1405
- }), b = Pr(c, {
1405
+ }), b = zr(c, {
1406
1406
  outsidePress: !a,
1407
1407
  outsidePressEvent: "mousedown",
1408
1408
  escapeKey: !i
1409
- }), h = Dr(c, { role: "dialog" }), { getFloatingProps: y } = Fr([b, h]);
1409
+ }), m = Dr(c, { role: "dialog" }), { getFloatingProps: C } = Fr([b, m]);
1410
1410
  return Qe(
1411
1411
  () => ({
1412
1412
  /** Состояние для условного рендеринга с поддержкой анимации закрытия. */
@@ -1416,14 +1416,14 @@ function Fo({
1416
1416
  /** Контекст Floating UI. */
1417
1417
  context: c,
1418
1418
  /** Ссылки на элементы для Floating UI. */
1419
- refs: u,
1419
+ refs: _,
1420
1420
  /** Пропсы для плавающего элемента. */
1421
- getFloatingProps: y
1421
+ getFloatingProps: C
1422
1422
  }),
1423
- [d, g, c, u, y]
1423
+ [d, g, c, _, C]
1424
1424
  );
1425
1425
  }
1426
- const ar = U((t, r) => {
1426
+ const sr = U((t, r) => {
1427
1427
  const {
1428
1428
  placement: n = "default",
1429
1429
  open: a,
@@ -1431,7 +1431,7 @@ const ar = U((t, r) => {
1431
1431
  overlayClassName: s,
1432
1432
  children: l,
1433
1433
  disableOutsideClick: c = !1,
1434
- disableEscapeKey: u = !1,
1434
+ disableEscapeKey: _ = !1,
1435
1435
  className: f,
1436
1436
  style: d,
1437
1437
  "data-testid": g,
@@ -1440,50 +1440,50 @@ const ar = U((t, r) => {
1440
1440
  a === void 0 && console.error(
1441
1441
  "Dialog: компонент должен быть контролируемым. Используйте пропсы open и onOpenChange."
1442
1442
  );
1443
- const h = Fo({
1443
+ const m = Fo({
1444
1444
  open: a,
1445
1445
  onOpenChange: i,
1446
1446
  placement: n,
1447
1447
  disableOutsideClick: c,
1448
- disableEscapeKey: u
1449
- }), { isMounted: y, transitionStyles: C } = h, m = Wr([r, h.refs.setFloating]);
1450
- return y ? /* @__PURE__ */ o.jsxs(Hr, { children: [
1448
+ disableEscapeKey: _
1449
+ }), { isMounted: C, transitionStyles: y } = m, h = Wr([r, m.refs.setFloating]);
1450
+ return C ? /* @__PURE__ */ o.jsxs(qr, { children: [
1451
1451
  /* @__PURE__ */ o.jsx(
1452
- Vr,
1452
+ Hr,
1453
1453
  {
1454
1454
  "data-testid": "dialog-overlay",
1455
- className: k(de.overlay, s),
1455
+ className: k(ue.overlay, s),
1456
1456
  lockScroll: !0,
1457
- style: { opacity: C == null ? void 0 : C.opacity, transition: C == null ? void 0 : C.transition }
1457
+ style: { opacity: y == null ? void 0 : y.opacity, transition: y == null ? void 0 : y.transition }
1458
1458
  }
1459
1459
  ),
1460
- /* @__PURE__ */ o.jsx(Zr, { context: h.context, children: /* @__PURE__ */ o.jsx(
1460
+ /* @__PURE__ */ o.jsx(Vr, { context: m.context, children: /* @__PURE__ */ o.jsx(
1461
1461
  "div",
1462
1462
  {
1463
- ref: m,
1463
+ ref: h,
1464
1464
  "aria-modal": "true",
1465
1465
  role: "dialog",
1466
- className: k(f, de.container, de[`placement-${n}`]),
1467
- style: { ...d, ...C },
1466
+ className: k(f, ue.container, ue[`placement-${n}`]),
1467
+ style: { ...d, ...y },
1468
1468
  "data-testid": g,
1469
- ...h.getFloatingProps(b),
1469
+ ...m.getFloatingProps(b),
1470
1470
  children: l
1471
1471
  }
1472
1472
  ) })
1473
1473
  ] }) : null;
1474
- }), Wo = "_container_e56bn_5", Ho = "_header_e56bn_22", Vo = "_title_e56bn_32", Zo = "_subTitle_e56bn_36", qo = "_actions_e56bn_40", Xo = "_content_e56bn_62", Yo = "_footer_e56bn_75", Go = "_divider_e56bn_82", bt = {
1474
+ }), Wo = "_container_e56bn_5", qo = "_header_e56bn_22", Ho = "_title_e56bn_32", Vo = "_subTitle_e56bn_36", Zo = "_actions_e56bn_40", Xo = "_content_e56bn_62", Yo = "_footer_e56bn_75", Go = "_divider_e56bn_82", mt = {
1475
1475
  container: Wo,
1476
- header: Ho,
1477
- title: Vo,
1478
- subTitle: Zo,
1479
- actions: qo,
1476
+ header: qo,
1477
+ title: Ho,
1478
+ subTitle: Vo,
1479
+ actions: Zo,
1480
1480
  "title-text": "_title-text_e56bn_46",
1481
1481
  "description-text": "_description-text_e56bn_54",
1482
1482
  content: Xo,
1483
1483
  "content-for-side-drawer": "_content-for-side-drawer_e56bn_69",
1484
1484
  footer: Yo,
1485
1485
  divider: Go
1486
- }, Uo = "_typography_zt7xg_1", Ko = "_disabled_zt7xg_8", Jo = "_primary_zt7xg_13", Qo = "_secondary_zt7xg_18", ta = "_tertiary_zt7xg_23", ea = "_accent_zt7xg_28", ra = "_positive_zt7xg_38", na = "_negative_zt7xg_48", oa = "_warning_zt7xg_58", aa = "_special_zt7xg_68", sa = "_contrast_zt7xg_78", zt = {
1486
+ }, Uo = "_typography_zt7xg_1", Ko = "_disabled_zt7xg_8", Jo = "_primary_zt7xg_13", Qo = "_secondary_zt7xg_18", ta = "_tertiary_zt7xg_23", ea = "_accent_zt7xg_28", ra = "_positive_zt7xg_38", na = "_negative_zt7xg_48", oa = "_warning_zt7xg_58", aa = "_special_zt7xg_68", sa = "_contrast_zt7xg_78", Pt = {
1487
1487
  typography: Uo,
1488
1488
  disabled: Ko,
1489
1489
  primary: Jo,
@@ -1507,7 +1507,7 @@ const ar = U((t, r) => {
1507
1507
  3: "h3",
1508
1508
  4: "h4",
1509
1509
  5: "h5"
1510
- }, Ze = (t) => {
1510
+ }, Ve = (t) => {
1511
1511
  const r = Je.forwardRef(
1512
1512
  ({
1513
1513
  size: n = 3,
@@ -1516,24 +1516,24 @@ const ar = U((t, r) => {
1516
1516
  "data-testid": s,
1517
1517
  as: l,
1518
1518
  fontWeight: c = "semibold",
1519
- disabled: u = !1,
1519
+ disabled: _ = !1,
1520
1520
  typographyStyle: f = "primary",
1521
1521
  ...d
1522
1522
  }, g) => {
1523
- const b = l || ia[n], h = k(
1524
- zt.typography,
1523
+ const b = l || ia[n], m = k(
1524
+ Pt.typography,
1525
1525
  G[`typography-${t}-${n}-${c}`],
1526
- zt[f],
1526
+ Pt[f],
1527
1527
  {
1528
- [zt.disabled]: u
1528
+ [Pt.disabled]: _
1529
1529
  },
1530
1530
  i
1531
1531
  );
1532
- return a ? /* @__PURE__ */ o.jsx(b, { ref: g, className: h, "data-testid": s, ...d, children: a }) : null;
1532
+ return a ? /* @__PURE__ */ o.jsx(b, { ref: g, className: m, "data-testid": s, ...d, children: a }) : null;
1533
1533
  }
1534
1534
  );
1535
1535
  return r.displayName = `Typography.${t === "title" ? "Title" : "Subtitle"}`, r;
1536
- }, qe = (t) => {
1536
+ }, Ze = (t) => {
1537
1537
  const r = Je.forwardRef(
1538
1538
  ({
1539
1539
  size: n = 3,
@@ -1542,16 +1542,16 @@ const ar = U((t, r) => {
1542
1542
  "data-testid": s,
1543
1543
  as: l = "p",
1544
1544
  fontWeight: c = "regular",
1545
- disabled: u = !1,
1545
+ disabled: _ = !1,
1546
1546
  typographyStyle: f = "primary",
1547
1547
  ...d
1548
1548
  }, g) => {
1549
- const b = l, h = k(
1550
- zt.typography,
1549
+ const b = l, m = k(
1550
+ Pt.typography,
1551
1551
  G[`typography-${t}-${n}-${c}`],
1552
- zt[f],
1552
+ Pt[f],
1553
1553
  {
1554
- [zt.disabled]: u
1554
+ [Pt.disabled]: _
1555
1555
  },
1556
1556
  i
1557
1557
  );
@@ -1559,7 +1559,7 @@ const ar = U((t, r) => {
1559
1559
  b,
1560
1560
  {
1561
1561
  ref: g,
1562
- className: h,
1562
+ className: m,
1563
1563
  "data-testid": s,
1564
1564
  ...d,
1565
1565
  children: a
@@ -1569,10 +1569,10 @@ const ar = U((t, r) => {
1569
1569
  );
1570
1570
  return r.displayName = `Typography.${t.charAt(0).toUpperCase() + t.slice(1)}`, r;
1571
1571
  }, he = {
1572
- Title: Ze("title"),
1573
- Subtitle: Ze("subtitle"),
1574
- Label: qe("label"),
1575
- Paragraph: qe("paragraph")
1572
+ Title: Ve("title"),
1573
+ Subtitle: Ve("subtitle"),
1574
+ Label: Ze("label"),
1575
+ Paragraph: Ze("paragraph")
1576
1576
  }, { Paragraph: la, Title: ca } = he, da = [
1577
1577
  "right-drawer",
1578
1578
  "left-drawer"
@@ -1587,7 +1587,7 @@ const ar = U((t, r) => {
1587
1587
  ...i
1588
1588
  };
1589
1589
  return a ? /* @__PURE__ */ o.jsx(a, { children: /* @__PURE__ */ o.jsx(ge, { ...s }) }) : /* @__PURE__ */ o.jsx(ge, { ...s });
1590
- }, V1 = U((t, r) => {
1590
+ }, gc = U((t, r) => {
1591
1591
  const {
1592
1592
  open: n,
1593
1593
  onOpenChange: a,
@@ -1595,73 +1595,73 @@ const ar = U((t, r) => {
1595
1595
  placement: s = "default",
1596
1596
  showCloseButton: l = !0,
1597
1597
  closeButtonProps: c,
1598
- title: u,
1598
+ title: _,
1599
1599
  subTitle: f,
1600
1600
  actions: d,
1601
1601
  children: g,
1602
1602
  footer: b,
1603
- hideHeaderDivider: h,
1604
- hideFooterDivider: y,
1605
- className: C,
1606
- classNames: m,
1603
+ hideHeaderDivider: m,
1604
+ hideFooterDivider: C,
1605
+ className: y,
1606
+ classNames: h,
1607
1607
  styles: x,
1608
- ...p
1609
- } = t, w = da.includes(s), S = !!(u || f || d);
1608
+ ...u
1609
+ } = t, w = da.includes(s), S = !!(_ || f || d);
1610
1610
  return /* @__PURE__ */ o.jsx(
1611
- ar,
1611
+ sr,
1612
1612
  {
1613
1613
  open: n,
1614
1614
  onOpenChange: a,
1615
1615
  placement: s,
1616
1616
  ref: r,
1617
1617
  style: { width: i },
1618
- ...p,
1618
+ ...u,
1619
1619
  children: /* @__PURE__ */ o.jsxs(
1620
1620
  "div",
1621
1621
  {
1622
- className: k(bt.container, C, m == null ? void 0 : m.container),
1622
+ className: k(mt.container, y, h == null ? void 0 : h.container),
1623
1623
  style: { width: i, ...x == null ? void 0 : x.container },
1624
- "data-testid": p["data-testid"] ? `${p["data-testid"]}-container` : void 0,
1624
+ "data-testid": u["data-testid"] ? `${u["data-testid"]}-container` : void 0,
1625
1625
  children: [
1626
- S && /* @__PURE__ */ o.jsxs("div", { className: bt.header, children: [
1627
- /* @__PURE__ */ o.jsx("div", { className: k(bt.title, m == null ? void 0 : m.title), style: x == null ? void 0 : x.title, children: typeof u == "string" ? /* @__PURE__ */ o.jsx(ca, { size: 5, className: bt["title-text"], children: u }) : u }),
1628
- /* @__PURE__ */ o.jsxs("div", { className: bt.actions, children: [
1626
+ S && /* @__PURE__ */ o.jsxs("div", { className: mt.header, children: [
1627
+ /* @__PURE__ */ o.jsx("div", { className: k(mt.title, h == null ? void 0 : h.title), style: x == null ? void 0 : x.title, children: typeof _ == "string" ? /* @__PURE__ */ o.jsx(ca, { size: 5, className: mt["title-text"], children: _ }) : _ }),
1628
+ /* @__PURE__ */ o.jsxs("div", { className: mt.actions, children: [
1629
1629
  d,
1630
1630
  l && /* @__PURE__ */ o.jsx(ua, { closeButtonProps: c, onOpenChange: a })
1631
1631
  ] }),
1632
- f && /* @__PURE__ */ o.jsx("div", { className: k(bt.subTitle, m == null ? void 0 : m.subTitle), style: x == null ? void 0 : x.subTitle, children: typeof f == "string" ? /* @__PURE__ */ o.jsx(
1632
+ f && /* @__PURE__ */ o.jsx("div", { className: k(mt.subTitle, h == null ? void 0 : h.subTitle), style: x == null ? void 0 : x.subTitle, children: typeof f == "string" ? /* @__PURE__ */ o.jsx(
1633
1633
  la,
1634
1634
  {
1635
1635
  size: 2,
1636
1636
  typographyStyle: "secondary",
1637
- className: bt["description-text"],
1637
+ className: mt["description-text"],
1638
1638
  children: f
1639
1639
  }
1640
1640
  ) : f })
1641
1641
  ] }),
1642
- !h && S && /* @__PURE__ */ o.jsx("hr", { className: bt.divider }),
1642
+ !m && S && /* @__PURE__ */ o.jsx("hr", { className: mt.divider }),
1643
1643
  /* @__PURE__ */ o.jsx(
1644
1644
  "div",
1645
1645
  {
1646
1646
  className: k(
1647
- w ? bt["content-for-side-drawer"] : bt.content,
1648
- m == null ? void 0 : m.content
1647
+ w ? mt["content-for-side-drawer"] : mt.content,
1648
+ h == null ? void 0 : h.content
1649
1649
  ),
1650
1650
  style: {
1651
1651
  ...x == null ? void 0 : x.content
1652
1652
  },
1653
- "data-testid": p["data-testid"] ? `${p["data-testid"]}-content` : void 0,
1653
+ "data-testid": u["data-testid"] ? `${u["data-testid"]}-content` : void 0,
1654
1654
  children: g
1655
1655
  }
1656
1656
  ),
1657
- !y && b && /* @__PURE__ */ o.jsx("hr", { className: bt.divider }),
1658
- b && /* @__PURE__ */ o.jsx("div", { className: k(bt.footer, m == null ? void 0 : m.footer), style: x == null ? void 0 : x.footer, children: b })
1657
+ !C && b && /* @__PURE__ */ o.jsx("hr", { className: mt.divider }),
1658
+ b && /* @__PURE__ */ o.jsx("div", { className: k(mt.footer, h == null ? void 0 : h.footer), style: x == null ? void 0 : x.footer, children: b })
1659
1659
  ]
1660
1660
  }
1661
1661
  )
1662
1662
  }
1663
1663
  );
1664
- }), pa = () => /* @__PURE__ */ o.jsx(
1664
+ }), _a = () => /* @__PURE__ */ o.jsx(
1665
1665
  "svg",
1666
1666
  {
1667
1667
  width: "24",
@@ -1679,7 +1679,7 @@ const ar = U((t, r) => {
1679
1679
  }
1680
1680
  )
1681
1681
  }
1682
- ), _a = () => /* @__PURE__ */ o.jsx(
1682
+ ), pa = () => /* @__PURE__ */ o.jsx(
1683
1683
  "svg",
1684
1684
  {
1685
1685
  width: "23",
@@ -1752,29 +1752,29 @@ const ar = U((t, r) => {
1752
1752
  }
1753
1753
  )
1754
1754
  }
1755
- ), Gt = {
1755
+ ), Ut = {
1756
1756
  avatar: { icon: null, colorScheme: "gray" },
1757
- info: { icon: pa, colorScheme: "gray" },
1757
+ info: { icon: _a, colorScheme: "gray" },
1758
1758
  success: { icon: fa, colorScheme: "green" },
1759
1759
  warning: { icon: ha, colorScheme: "yellow" },
1760
1760
  error: { icon: ga, colorScheme: "red" },
1761
- dialog: { icon: _a, colorScheme: "blue" }
1762
- }, ba = "_container_dd9oq_1", ma = {
1763
- container: ba
1764
- }, ya = "_container_r24j4_1", xa = "_iconContainer_r24j4_11", va = "_textContainer_r24j4_18", Ca = "_title_r24j4_27", wa = "_subtitle_r24j4_27", Ft = {
1765
- container: ya,
1766
- iconContainer: xa,
1761
+ dialog: { icon: pa, colorScheme: "blue" }
1762
+ }, ma = "_container_dd9oq_1", ba = {
1763
+ container: ma
1764
+ }, xa = "_container_r24j4_1", ya = "_iconContainer_r24j4_11", va = "_textContainer_r24j4_18", Ca = "_title_r24j4_27", wa = "_subtitle_r24j4_27", Ft = {
1765
+ container: xa,
1766
+ iconContainer: ya,
1767
1767
  textContainer: va,
1768
1768
  title: Ca,
1769
1769
  subtitle: wa
1770
- }, Ut = {
1770
+ }, Kt = {
1771
1771
  m: { title: "typography-subtitle-1-semibold", subtitle: "typography-paragraph-3-regular" },
1772
1772
  l: { title: "typography-title-5-semibold", subtitle: "typography-paragraph-2-regular" }
1773
1773
  };
1774
- function Sa(t) {
1775
- return (Ut == null ? void 0 : Ut[t]) || Ut.m;
1774
+ function ka(t) {
1775
+ return (Kt == null ? void 0 : Kt[t]) || Kt.m;
1776
1776
  }
1777
- const ka = (t) => {
1777
+ const Sa = (t) => {
1778
1778
  const {
1779
1779
  iconSlot: r,
1780
1780
  title: n,
@@ -1783,11 +1783,11 @@ const ka = (t) => {
1783
1783
  subTitleProps: s,
1784
1784
  className: l,
1785
1785
  children: c,
1786
- "data-testid": u,
1786
+ "data-testid": _,
1787
1787
  size: f = "m",
1788
1788
  style: d
1789
- } = t, g = Sa(f);
1790
- return /* @__PURE__ */ o.jsxs("div", { className: k(Ft.container, l), "data-testid": u, style: d, children: [
1789
+ } = t, g = ka(f);
1790
+ return /* @__PURE__ */ o.jsxs("div", { className: k(Ft.container, l), "data-testid": _, style: d, children: [
1791
1791
  !!r && /* @__PURE__ */ o.jsx("div", { className: Ft.iconContainer, children: r }),
1792
1792
  (n || a) && /* @__PURE__ */ o.jsxs("div", { className: Ft.textContainer, children: [
1793
1793
  n && /* @__PURE__ */ o.jsx(
@@ -1809,7 +1809,7 @@ const ka = (t) => {
1809
1809
  ] }),
1810
1810
  c
1811
1811
  ] });
1812
- }, Z1 = (t) => {
1812
+ }, hc = (t) => {
1813
1813
  const {
1814
1814
  open: r,
1815
1815
  onOpenChange: n,
@@ -1818,14 +1818,14 @@ const ka = (t) => {
1818
1818
  title: s,
1819
1819
  description: l,
1820
1820
  children: c,
1821
- variantAvatarProps: u,
1821
+ variantAvatarProps: _,
1822
1822
  "data-testid": f
1823
- } = t, { icon: d, colorScheme: g } = (Gt == null ? void 0 : Gt[i]) || Gt.info, h = i === "avatar" ? {
1823
+ } = t, { icon: d, colorScheme: g } = (Ut == null ? void 0 : Ut[i]) || Ut.info, m = i === "avatar" ? {
1824
1824
  size: 48,
1825
1825
  colorScheme: "gray",
1826
1826
  variant: "light",
1827
1827
  "data-testid": "alert-avatar",
1828
- ...u
1828
+ ..._
1829
1829
  } : {
1830
1830
  size: 48,
1831
1831
  icon: d,
@@ -1835,64 +1835,64 @@ const ka = (t) => {
1835
1835
  "data-testid": "alert-icon"
1836
1836
  };
1837
1837
  return /* @__PURE__ */ o.jsx(
1838
- ar,
1838
+ sr,
1839
1839
  {
1840
1840
  open: r,
1841
1841
  onOpenChange: n,
1842
1842
  placement: a,
1843
1843
  "data-testid": f,
1844
- className: ma.container,
1844
+ className: ba.container,
1845
1845
  children: /* @__PURE__ */ o.jsx(
1846
- ka,
1846
+ Sa,
1847
1847
  {
1848
1848
  title: s,
1849
1849
  subTitle: l,
1850
1850
  size: "m",
1851
- iconSlot: /* @__PURE__ */ o.jsx(Ao, { ...h }),
1851
+ iconSlot: /* @__PURE__ */ o.jsx(Ao, { ...m }),
1852
1852
  children: c
1853
1853
  }
1854
1854
  )
1855
1855
  }
1856
1856
  );
1857
- }, La = "_wrapper_ecbsu_5", ja = "_badge__container_ecbsu_6", $a = "_badge__content_ecbsu_7", Ta = "_interactive_ecbsu_20", Ea = "_disabled_ecbsu_21", Ra = "_icon_ecbsu_22", St = {
1857
+ }, La = "_wrapper_1mnix_5", ja = "_badge__container_1mnix_6", $a = "_badge__content_1mnix_7", Ta = "_interactive_1mnix_20", Ea = "_disabled_1mnix_21", Na = "_icon_1mnix_22", kt = {
1858
1858
  wrapper: La,
1859
1859
  badge__container: ja,
1860
1860
  badge__content: $a,
1861
1861
  interactive: Ta,
1862
1862
  disabled: Ea,
1863
- icon: Ra,
1864
- "variant-filled": "_variant-filled_ecbsu_102",
1865
- "color-brand": "_color-brand_ecbsu_107",
1866
- "color-red": "_color-red_ecbsu_111",
1867
- "color-orange": "_color-orange_ecbsu_115",
1868
- "color-yellow": "_color-yellow_ecbsu_119",
1869
- "color-green": "_color-green_ecbsu_123",
1870
- "color-blue": "_color-blue_ecbsu_127",
1871
- "color-lightblue": "_color-lightblue_ecbsu_131",
1872
- "color-purple": "_color-purple_ecbsu_135",
1873
- "color-gray": "_color-gray_ecbsu_139",
1874
- "color-contrast": "_color-contrast_ecbsu_143",
1875
- "variant-light": "_variant-light_ecbsu_149",
1876
- "variant-outline": "_variant-outline_ecbsu_221",
1877
- "variant-transparent": "_variant-transparent_ecbsu_295",
1878
- "position-top-left": "_position-top-left_ecbsu_362",
1879
- "position-top-right": "_position-top-right_ecbsu_368",
1880
- "position-bottom-left": "_position-bottom-left_ecbsu_374",
1881
- "position-bottom-right": "_position-bottom-right_ecbsu_380",
1882
- "position-top-center": "_position-top-center_ecbsu_386",
1883
- "position-bottom-center": "_position-bottom-center_ecbsu_392",
1884
- "position-middle-left": "_position-middle-left_ecbsu_398",
1885
- "position-middle-right": "_position-middle-right_ecbsu_404",
1886
- "position-middle-center": "_position-middle-center_ecbsu_410",
1887
- "position-top-left-inside": "_position-top-left-inside_ecbsu_417",
1888
- "position-top-right-inside": "_position-top-right-inside_ecbsu_423",
1889
- "position-bottom-left-inside": "_position-bottom-left-inside_ecbsu_429",
1890
- "position-bottom-right-inside": "_position-bottom-right-inside_ecbsu_435",
1891
- "position-top-center-inside": "_position-top-center-inside_ecbsu_441",
1892
- "position-bottom-center-inside": "_position-bottom-center-inside_ecbsu_447",
1893
- "position-middle-left-inside": "_position-middle-left-inside_ecbsu_453",
1894
- "position-middle-right-inside": "_position-middle-right-inside_ecbsu_459"
1895
- }, Na = U((t, r) => {
1863
+ icon: Na,
1864
+ "variant-filled": "_variant-filled_1mnix_98",
1865
+ "color-brand": "_color-brand_1mnix_103",
1866
+ "color-red": "_color-red_1mnix_111",
1867
+ "color-orange": "_color-orange_1mnix_119",
1868
+ "color-yellow": "_color-yellow_1mnix_127",
1869
+ "color-green": "_color-green_1mnix_135",
1870
+ "color-blue": "_color-blue_1mnix_143",
1871
+ "color-lightblue": "_color-lightblue_1mnix_151",
1872
+ "color-purple": "_color-purple_1mnix_159",
1873
+ "color-gray": "_color-gray_1mnix_167",
1874
+ "color-contrast": "_color-contrast_1mnix_175",
1875
+ "variant-light": "_variant-light_1mnix_184",
1876
+ "variant-outline": "_variant-outline_1mnix_260",
1877
+ "variant-transparent": "_variant-transparent_1mnix_338",
1878
+ "position-top-left": "_position-top-left_1mnix_409",
1879
+ "position-top-right": "_position-top-right_1mnix_415",
1880
+ "position-bottom-left": "_position-bottom-left_1mnix_421",
1881
+ "position-bottom-right": "_position-bottom-right_1mnix_427",
1882
+ "position-top-center": "_position-top-center_1mnix_433",
1883
+ "position-bottom-center": "_position-bottom-center_1mnix_439",
1884
+ "position-middle-left": "_position-middle-left_1mnix_445",
1885
+ "position-middle-right": "_position-middle-right_1mnix_451",
1886
+ "position-middle-center": "_position-middle-center_1mnix_457",
1887
+ "position-top-left-inside": "_position-top-left-inside_1mnix_464",
1888
+ "position-top-right-inside": "_position-top-right-inside_1mnix_470",
1889
+ "position-bottom-left-inside": "_position-bottom-left-inside_1mnix_476",
1890
+ "position-bottom-right-inside": "_position-bottom-right-inside_1mnix_482",
1891
+ "position-top-center-inside": "_position-top-center-inside_1mnix_488",
1892
+ "position-bottom-center-inside": "_position-bottom-center-inside_1mnix_494",
1893
+ "position-middle-left-inside": "_position-middle-left-inside_1mnix_500",
1894
+ "position-middle-right-inside": "_position-middle-right-inside_1mnix_506"
1895
+ }, Ra = U((t, r) => {
1896
1896
  const {
1897
1897
  icon: n,
1898
1898
  children: a,
@@ -1900,61 +1900,62 @@ const ka = (t) => {
1900
1900
  label: s,
1901
1901
  isHidden: l = !1,
1902
1902
  colorScheme: c = "red",
1903
- size: u = 20,
1903
+ size: _ = 20,
1904
1904
  position: f = "top-right",
1905
1905
  positionOffset: d = { x: 0, y: 0 },
1906
1906
  cutoutBackground: g,
1907
1907
  isDisabled: b,
1908
- className: h,
1909
- "data-testid": y = "badge",
1910
- ...C
1911
- } = t, { onClick: m, onPointerDown: x } = C, { ref: p, bgColor: w } = xe(), S = g || w, $ = !b && (!!m || !!x), E = Et(St.badge__container, St[`position-${f}`]), B = Et(
1912
- h,
1913
- St.badge__content,
1914
- St[`color-${c}`],
1915
- St[`variant-${i}`],
1908
+ className: m,
1909
+ "data-testid": C = "badge",
1910
+ ...y
1911
+ } = t, { onClick: h, onPointerDown: x } = y, { ref: u, bgColor: w } = ye(), S = g || w, j = !b && (!!h || !!x), N = It(kt.badge__container, kt[`position-${f}`]), T = It(
1912
+ m,
1913
+ kt.badge__content,
1914
+ kt[`color-${c}`],
1915
+ kt[`variant-${i}`],
1916
1916
  {
1917
- [St.disabled]: b,
1918
- [St.icon]: !!n,
1919
- [St.interactive]: $
1917
+ [kt.disabled]: b,
1918
+ [kt.icon]: !!n,
1919
+ [kt.interactive]: j
1920
1920
  }
1921
- ), A = {
1922
- "--badge-height": `${u}px`,
1921
+ ), R = {
1922
+ "--badge-height": `${_}px`,
1923
1923
  "--badge-offset-x": `${d.x}px`,
1924
1924
  "--badge-offset-y": `${d.y}px`,
1925
1925
  ...S && { "--badge-cutout-bg": S },
1926
1926
  ...i === "transparent" && { "--badge-cutout-bg": "transparent" }
1927
- }, F = (n == null ? void 0 : n({})) || s, Z = (D) => {
1928
- $ && (m == null || m(D));
1927
+ }, O = (n == null ? void 0 : n({})) || s, D = (W) => {
1928
+ j && (h == null || h(W));
1929
1929
  };
1930
- return /* @__PURE__ */ o.jsxs("div", { className: St.wrapper, ref: p, "data-testid": y + "-wrapper", children: [
1930
+ return /* @__PURE__ */ o.jsxs("div", { className: kt.wrapper, ref: u, "data-testid": C + "-wrapper", children: [
1931
1931
  a,
1932
1932
  !l && /* @__PURE__ */ o.jsx(
1933
1933
  "span",
1934
1934
  {
1935
- className: E,
1936
- style: A,
1937
- "data-testid": y + "-container",
1935
+ className: N,
1936
+ style: R,
1937
+ "data-testid": C + "-container",
1938
1938
  children: /* @__PURE__ */ o.jsx(
1939
1939
  "span",
1940
1940
  {
1941
- ...C,
1942
- onClick: Z,
1943
- className: B,
1944
- "data-testid": y + "-content",
1941
+ ...y,
1942
+ onClick: D,
1943
+ className: T,
1944
+ "data-testid": C + "-content",
1945
1945
  ref: r,
1946
1946
  "aria-disabled": b,
1947
- children: F
1947
+ children: O
1948
1948
  }
1949
1949
  )
1950
1950
  }
1951
1951
  )
1952
1952
  ] });
1953
- }), Ia = "_container_op5yl_7", Ma = "_image_op5yl_22", Ba = "_loading_op5yl_34", ue = {
1953
+ }), Ia = "_container_yn8yz_7", Ma = "_loading_yn8yz_17", Ba = "_error_yn8yz_18", Aa = "_image_yn8yz_22", Wt = {
1954
1954
  container: Ia,
1955
- image: Ma,
1956
- loading: Ba
1957
- }, Aa = ({ width: t = 48, height: r = 48, className: n, "data-testid": a }) => /* @__PURE__ */ o.jsx(
1955
+ loading: Ma,
1956
+ error: Ba,
1957
+ image: Aa
1958
+ }, Oa = ({ width: t = 48, height: r = 48, className: n, "data-testid": a }) => /* @__PURE__ */ o.jsx(
1958
1959
  "svg",
1959
1960
  {
1960
1961
  width: t,
@@ -1975,110 +1976,126 @@ const ka = (t) => {
1975
1976
  }
1976
1977
  )
1977
1978
  }
1978
- ), q1 = U((t, r) => {
1979
+ ), mc = U((t, r) => {
1979
1980
  const {
1980
1981
  alt: n = "",
1981
1982
  loading: a = "lazy",
1982
1983
  src: i,
1983
1984
  isLoading: s = !1,
1984
- className: l,
1985
- "data-testid": c = "image",
1986
- onError: u,
1987
- onLoad: f,
1988
- ...d
1989
- } = t, [g, b] = gt("loading"), h = g === "error", y = (s || g === "loading") && !h, C = g === "loaded" && !s, m = Et(
1990
- ue.image,
1985
+ style: l,
1986
+ className: c,
1987
+ containerProps: _,
1988
+ "data-testid": f = "image",
1989
+ onError: d,
1990
+ onLoad: g,
1991
+ ...b
1992
+ } = t, { className: m, ...C } = _ ?? {}, [y, h] = ft("loading"), x = y === "error", u = (s || y === "loading") && !x, w = y === "loaded" && !s, S = k(
1993
+ Wt.container,
1994
+ { [Wt.loading]: u && !w, [Wt.error]: x && !w },
1995
+ m
1996
+ ), E = k(
1997
+ Wt.image,
1991
1998
  {
1992
- [ue.loading]: y
1999
+ [Wt.loading]: u
1993
2000
  },
1994
- l
1995
- ), x = jt(
1996
- (S) => {
1997
- b("loaded"), f == null || f(S);
2001
+ c
2002
+ ), j = jt(
2003
+ (R) => {
2004
+ h("loaded"), g == null || g(R);
1998
2005
  },
1999
- [f]
2000
- ), p = jt(
2001
- (S) => {
2002
- b("error"), u == null || u(S);
2006
+ [g]
2007
+ ), N = jt(
2008
+ (R) => {
2009
+ h("error"), d == null || d(R);
2003
2010
  },
2004
- [u]
2005
- ), w = {
2011
+ [d]
2012
+ ), T = {
2006
2013
  loader: /* @__PURE__ */ o.jsxs(Ht, { children: [
2007
- /* @__PURE__ */ o.jsx(nr, { size: 48, variant: "special", "data-testid": `${c}-loader` }),
2014
+ /* @__PURE__ */ o.jsx(or, { size: 48, variant: "special", "data-testid": `${f}-loader` }),
2008
2015
  /* @__PURE__ */ o.jsx(
2009
2016
  "img",
2010
2017
  {
2011
2018
  alt: n,
2012
2019
  src: i,
2013
- onLoad: x,
2014
- onError: p,
2020
+ onLoad: j,
2021
+ onError: N,
2015
2022
  style: { display: "none" }
2016
2023
  }
2017
2024
  )
2018
2025
  ] }),
2019
- error: /* @__PURE__ */ o.jsx(Aa, { "data-testid": `${c}-fallback` }),
2026
+ error: /* @__PURE__ */ o.jsx(Oa, { "data-testid": `${f}-fallback` }),
2020
2027
  image: /* @__PURE__ */ o.jsx(
2021
2028
  "img",
2022
2029
  {
2023
2030
  ref: r,
2024
2031
  alt: n,
2025
- "data-testid": c,
2032
+ "data-testid": f,
2026
2033
  loading: a,
2027
2034
  src: i,
2028
- className: m
2035
+ className: E,
2036
+ ...b
2029
2037
  }
2030
2038
  )
2031
2039
  };
2032
- return ut(() => {
2040
+ return gt(() => {
2033
2041
  if (!i) {
2034
- b("error");
2042
+ h("error");
2035
2043
  return;
2036
2044
  }
2037
- b("loading");
2038
- }, [i]), /* @__PURE__ */ o.jsxs("div", { className: ue.container, "data-testid": `${c}-container`, ...d, children: [
2039
- y && w.loader,
2040
- h && w.error,
2041
- C && w.image
2042
- ] });
2043
- }), Oa = {}, sr = tr({
2044
- locale: Oa
2045
+ h("loading");
2046
+ }, [i]), /* @__PURE__ */ o.jsxs(
2047
+ "div",
2048
+ {
2049
+ className: S,
2050
+ "data-testid": `${f}-container`,
2051
+ style: l,
2052
+ ...C,
2053
+ children: [
2054
+ u && T.loader,
2055
+ x && T.error,
2056
+ w && T.image
2057
+ ]
2058
+ }
2059
+ );
2060
+ }), Pa = {}, ir = tr({
2061
+ locale: Pa
2045
2062
  }), za = () => {
2046
- const t = er(sr);
2063
+ const t = er(ir);
2047
2064
  if (!t)
2048
2065
  throw new Error("useConfig must be used within a ConfigProvider");
2049
2066
  return t;
2050
- }, X1 = () => {
2067
+ }, bc = () => {
2051
2068
  const { locale: t } = za();
2052
2069
  return t;
2053
- }, Pa = {}, Da = {}, Fa = {}, Wa = {}, Ha = {}, Va = "_base_1p0qo_50", Za = "_content_1p0qo_54", qa = "_background_1p0qo_58", Xa = "_button_1p0qo_62", Ya = "_link_1p0qo_66", Ga = "_input_1p0qo_70", Ua = "_suffix_1p0qo_74", Ka = "_prefix_1p0qo_78", Ja = "_tooltip_1p0qo_82", Qa = "_hint_1p0qo_86", ts = "_dropdown_1p0qo_90", es = "_popover_1p0qo_94", rs = "_modalBackdrop_1p0qo_98", ns = "_modal_1p0qo_98", os = "_overlay_1p0qo_106", as = "_drawer_1p0qo_110", ss = "_notification_1p0qo_114", is = "_alert_1p0qo_118", ls = "_toast_1p0qo_122", cs = "_loading_1p0qo_126", ds = "_error_1p0qo_130", us = "_critical_1p0qo_134", ps = {
2070
+ }, Da = {}, Fa = {}, Wa = {}, qa = {}, Ha = {}, Va = "_base_1p0qo_50", Za = "_content_1p0qo_54", Xa = "_background_1p0qo_58", Ya = "_button_1p0qo_62", Ga = "_link_1p0qo_66", Ua = "_input_1p0qo_70", Ka = "_suffix_1p0qo_74", Ja = "_prefix_1p0qo_78", Qa = "_tooltip_1p0qo_82", ts = "_hint_1p0qo_86", es = "_dropdown_1p0qo_90", rs = "_popover_1p0qo_94", ns = "_modalBackdrop_1p0qo_98", os = "_modal_1p0qo_98", as = "_overlay_1p0qo_106", ss = "_drawer_1p0qo_110", is = "_notification_1p0qo_114", ls = "_alert_1p0qo_118", cs = "_toast_1p0qo_122", ds = "_loading_1p0qo_126", us = "_error_1p0qo_130", _s = "_critical_1p0qo_134", ps = {
2054
2071
  base: Va,
2055
2072
  content: Za,
2056
- background: qa,
2057
- button: Xa,
2058
- link: Ya,
2059
- input: Ga,
2060
- suffix: Ua,
2061
- prefix: Ka,
2062
- tooltip: Ja,
2063
- hint: Qa,
2064
- dropdown: ts,
2065
- popover: es,
2066
- modalBackdrop: rs,
2067
- modal: ns,
2068
- overlay: os,
2069
- drawer: as,
2070
- notification: ss,
2071
- alert: is,
2072
- toast: ls,
2073
- loading: cs,
2074
- error: ds,
2075
- critical: us
2076
- }, Y1 = ({
2073
+ background: Xa,
2074
+ button: Ya,
2075
+ link: Ga,
2076
+ input: Ua,
2077
+ suffix: Ka,
2078
+ prefix: Ja,
2079
+ tooltip: Qa,
2080
+ hint: ts,
2081
+ dropdown: es,
2082
+ popover: rs,
2083
+ modalBackdrop: ns,
2084
+ modal: os,
2085
+ overlay: as,
2086
+ drawer: ss,
2087
+ notification: is,
2088
+ alert: ls,
2089
+ toast: cs,
2090
+ loading: ds,
2091
+ error: us,
2092
+ critical: _s
2093
+ }, xc = ({
2077
2094
  locale: t = {},
2078
2095
  theme: r,
2079
2096
  children: n,
2080
2097
  className: a
2081
- }) => (Br(() => {
2098
+ }) => (rr(() => {
2082
2099
  if (r) {
2083
2100
  const i = document.documentElement;
2084
2101
  Object.entries(r).forEach(([s, l]) => {
@@ -2090,28 +2107,28 @@ const ka = (t) => {
2090
2107
  "div",
2091
2108
  {
2092
2109
  "data-testid": "ConfigProvider-component",
2093
- className: k(Pa, Da, Fa, Wa, Ha, ps, G, a)
2110
+ className: k(Da, Fa, Wa, qa, Ha, ps, G, a)
2094
2111
  }
2095
2112
  ),
2096
- /* @__PURE__ */ o.jsx(sr.Provider, { value: { locale: t }, children: n })
2097
- ] })), G1 = {}, _s = "_tag_1llsi_1", fs = "_label_1llsi_16", gs = "_iconWrapper_1llsi_20", hs = "_medium_1llsi_27", bs = "_large_1llsi_33", ms = "_disabled_1llsi_43", ys = "_neutral_1llsi_47", xs = "_positive_1llsi_53", vs = "_negative_1llsi_59", Cs = "_warning_1llsi_65", ws = "_vivid_1llsi_71", Ss = "_special_1llsi_77", ks = "_accent_1llsi_84", Ls = "_blue_1llsi_90", js = "_lovely_1llsi_96", $s = "_dreamy_1llsi_102", Nt = {
2098
- tag: _s,
2099
- label: fs,
2100
- iconWrapper: gs,
2101
- medium: hs,
2113
+ /* @__PURE__ */ o.jsx(ir.Provider, { value: { locale: t }, children: n })
2114
+ ] })), yc = {}, fs = "_tag_1llsi_1", gs = "_label_1llsi_16", hs = "_iconWrapper_1llsi_20", ms = "_medium_1llsi_27", bs = "_large_1llsi_33", xs = "_disabled_1llsi_43", ys = "_neutral_1llsi_47", vs = "_positive_1llsi_53", Cs = "_negative_1llsi_59", ws = "_warning_1llsi_65", ks = "_vivid_1llsi_71", Ss = "_special_1llsi_77", Ls = "_accent_1llsi_84", js = "_blue_1llsi_90", $s = "_lovely_1llsi_96", Ts = "_dreamy_1llsi_102", Rt = {
2115
+ tag: fs,
2116
+ label: gs,
2117
+ iconWrapper: hs,
2118
+ medium: ms,
2102
2119
  large: bs,
2103
- disabled: ms,
2120
+ disabled: xs,
2104
2121
  neutral: ys,
2105
- positive: xs,
2106
- negative: vs,
2107
- warning: Cs,
2108
- vivid: ws,
2122
+ positive: vs,
2123
+ negative: Cs,
2124
+ warning: ws,
2125
+ vivid: ks,
2109
2126
  special: Ss,
2110
- accent: ks,
2111
- blue: Ls,
2112
- lovely: js,
2113
- dreamy: $s
2114
- }, U1 = U((t, r) => {
2127
+ accent: Ls,
2128
+ blue: js,
2129
+ lovely: $s,
2130
+ dreamy: Ts
2131
+ }, vc = U((t, r) => {
2115
2132
  const {
2116
2133
  className: n,
2117
2134
  children: a,
@@ -2119,21 +2136,22 @@ const ka = (t) => {
2119
2136
  size: s = "medium",
2120
2137
  disabled: l = !1,
2121
2138
  showLabel: c = !!a,
2122
- slotStart: u,
2139
+ slotStart: _,
2123
2140
  slotEnd: f,
2124
2141
  slotStartWrapperProps: d = {},
2125
2142
  slotEndWrapperProps: g = {},
2126
- "data-testid": b
2127
- } = t, { className: h, ...y } = d, { className: C, ...m } = g;
2143
+ "data-testid": b,
2144
+ ...m
2145
+ } = t, { className: C, ...y } = d, { className: h, ...x } = g;
2128
2146
  return /* @__PURE__ */ o.jsxs(
2129
2147
  "div",
2130
2148
  {
2131
2149
  className: k(
2132
- Nt.tag,
2133
- Nt[s],
2134
- Nt[i],
2150
+ Rt.tag,
2151
+ Rt[s],
2152
+ Rt[i],
2135
2153
  {
2136
- [Nt.disabled]: l,
2154
+ [Rt.disabled]: l,
2137
2155
  [G["typography-label-3-regular"]]: s === "medium",
2138
2156
  [G["typography-subtitle-1-semibold"]]: s === "large"
2139
2157
  },
@@ -2141,23 +2159,24 @@ const ka = (t) => {
2141
2159
  ),
2142
2160
  "data-testid": b || "tag-component",
2143
2161
  ref: r,
2162
+ ...m,
2144
2163
  children: [
2145
- u && /* @__PURE__ */ o.jsx("span", { className: k([Nt.iconWrapper, h]), ...y, children: u }),
2146
- c && /* @__PURE__ */ o.jsx("span", { className: k([Nt.label]), children: a }),
2147
- f && /* @__PURE__ */ o.jsx("span", { className: k([Nt.iconWrapper, C]), ...m, children: f })
2164
+ _ && /* @__PURE__ */ o.jsx("span", { className: k([Rt.iconWrapper, C]), ...y, children: _ }),
2165
+ c && /* @__PURE__ */ o.jsx("span", { className: k([Rt.label]), children: a }),
2166
+ f && /* @__PURE__ */ o.jsx("span", { className: k([Rt.iconWrapper, h]), ...x, children: f })
2148
2167
  ]
2149
2168
  }
2150
2169
  );
2151
- }), Ts = "_checkbox_17txq_43", Es = "_input_17txq_64", Rs = "_icon_17txq_72", Ns = "_container_17txq_92", Is = "_error_17txq_143", Ms = "_checkboxWrapper_17txq_156", Bs = "_medium_17txq_211", As = "_large_17txq_216", Os = "_label_17txq_258", Lt = {
2152
- checkbox: Ts,
2153
- input: Es,
2170
+ }), Es = "_checkbox_gtrs6_43", Ns = "_input_gtrs6_64", Rs = "_icon_gtrs6_72", Is = "_container_gtrs6_92", Ms = "_error_gtrs6_143", Bs = "_checkboxWrapper_gtrs6_156", As = "_medium_gtrs6_211", Os = "_large_gtrs6_216", Ps = "_label_gtrs6_258", Lt = {
2171
+ checkbox: Es,
2172
+ input: Ns,
2154
2173
  icon: Rs,
2155
- container: Ns,
2156
- error: Is,
2157
- checkboxWrapper: Ms,
2158
- medium: Bs,
2159
- large: As,
2160
- label: Os
2174
+ container: Is,
2175
+ error: Ms,
2176
+ checkboxWrapper: Bs,
2177
+ medium: As,
2178
+ large: Os,
2179
+ label: Ps
2161
2180
  }, zs = ({
2162
2181
  width: t = 12,
2163
2182
  height: r = 9,
@@ -2184,7 +2203,7 @@ const ka = (t) => {
2184
2203
  }
2185
2204
  )
2186
2205
  }
2187
- ), Ps = ({
2206
+ ), Ds = ({
2188
2207
  width: t = 12,
2189
2208
  height: r = 2,
2190
2209
  className: n = "",
@@ -2210,17 +2229,17 @@ const ka = (t) => {
2210
2229
  }
2211
2230
  )
2212
2231
  }
2213
- ), Ds = {
2232
+ ), Fs = {
2214
2233
  medium: { width: 10.83, height: 7.5 },
2215
2234
  large: { width: 13, height: 9 }
2216
- }, Fs = ({
2235
+ }, Ws = ({
2217
2236
  size: t,
2218
2237
  isChecked: r,
2219
2238
  isDisabled: n,
2220
2239
  indeterminate: a,
2221
2240
  dataTestId: i
2222
2241
  }) => {
2223
- const { width: s, height: l } = Ds[t];
2242
+ const { width: s, height: l } = Fs[t];
2224
2243
  return /* @__PURE__ */ o.jsx(
2225
2244
  "div",
2226
2245
  {
@@ -2229,10 +2248,10 @@ const ka = (t) => {
2229
2248
  "data-checked": r,
2230
2249
  "data-disabled": n,
2231
2250
  "data-indeterminate": a,
2232
- children: a ? /* @__PURE__ */ o.jsx(Ps, { width: s, height: l }) : /* @__PURE__ */ o.jsx(zs, { width: s, height: l })
2251
+ children: a ? /* @__PURE__ */ o.jsx(Ds, { width: s, height: l }) : /* @__PURE__ */ o.jsx(zs, { width: s, height: l })
2233
2252
  }
2234
2253
  );
2235
- }, K1 = U((t, r) => {
2254
+ }, Cc = U((t, r) => {
2236
2255
  const {
2237
2256
  name: n,
2238
2257
  value: a,
@@ -2240,55 +2259,56 @@ const ka = (t) => {
2240
2259
  indeterminate: s = !1,
2241
2260
  loading: l = !1,
2242
2261
  error: c,
2243
- disabled: u = !1,
2262
+ disabled: _ = !1,
2244
2263
  containerClassName: f,
2245
2264
  className: d,
2246
2265
  containerStyle: g,
2247
2266
  style: b,
2248
- children: h,
2249
- clickableLabel: y = !0,
2250
- tabIndex: C,
2251
- onChange: m,
2252
- "data-testid": x = "checkbox"
2253
- } = t, [p, w] = gt(!1), S = a ?? p, T = u || l, $ = !!c, E = S || s, B = k(Lt.container, Lt[i], f), A = k(
2267
+ children: m,
2268
+ clickableLabel: C = !0,
2269
+ tabIndex: y,
2270
+ onChange: h,
2271
+ onClick: x,
2272
+ "data-testid": u = "checkbox"
2273
+ } = t, [w, S] = ft(!1), E = a ?? w, j = _ || l, N = !!c, T = E || s, R = k(Lt.container, Lt[i], f), O = k(
2254
2274
  Lt.checkbox,
2255
2275
  Lt[i],
2256
2276
  {
2257
- [Lt.error]: $
2277
+ [Lt.error]: N
2258
2278
  },
2259
2279
  d
2260
- ), F = (M) => {
2261
- T || (w(M.target.checked), m == null || m(M.target.checked, M));
2262
- }, Z = (M) => {
2263
- if (M.key === "Enter" && !T) {
2264
- M.preventDefault();
2265
- const W = !E;
2266
- w(W), m == null || m(W);
2280
+ ), D = (A) => {
2281
+ j || (S(A.target.checked), h == null || h(A.target.checked, A));
2282
+ }, W = (A) => {
2283
+ if (A.key === "Enter" && !j) {
2284
+ A.preventDefault();
2285
+ const q = !T;
2286
+ S(q), h == null || h(q);
2267
2287
  }
2268
- }, D = (M) => {
2269
- y || M.preventDefault();
2270
- }, L = (M) => M.stopPropagation();
2288
+ }, L = (A) => {
2289
+ C || A.preventDefault(), x == null || x(A);
2290
+ };
2271
2291
  return /* @__PURE__ */ o.jsxs(
2272
2292
  "label",
2273
2293
  {
2274
- className: B,
2294
+ className: R,
2275
2295
  htmlFor: n,
2276
2296
  style: g,
2277
- "data-testid": x,
2278
- "data-clickable-label": y,
2297
+ "data-testid": u,
2298
+ "data-clickable-label": C,
2279
2299
  children: [
2280
2300
  /* @__PURE__ */ o.jsx("div", { className: Lt.checkboxWrapper, children: /* @__PURE__ */ o.jsxs(
2281
2301
  "div",
2282
2302
  {
2283
- tabIndex: C || 0,
2284
- className: A,
2303
+ tabIndex: y || 0,
2304
+ className: O,
2285
2305
  style: b,
2286
- onKeyDown: Z,
2287
- "aria-checked": E,
2288
- "aria-disabled": T,
2289
- "aria-invalid": $,
2306
+ onKeyDown: W,
2307
+ "aria-checked": T,
2308
+ "aria-disabled": j,
2309
+ "aria-invalid": N,
2290
2310
  "aria-describedby": c ? `${n}-error` : void 0,
2291
- "data-testid": `${x}-label`,
2311
+ "data-testid": `${u}-label`,
2292
2312
  children: [
2293
2313
  /* @__PURE__ */ o.jsx(
2294
2314
  "input",
@@ -2297,96 +2317,95 @@ const ka = (t) => {
2297
2317
  type: "checkbox",
2298
2318
  id: n,
2299
2319
  name: n,
2300
- checked: E,
2301
- disabled: T,
2320
+ checked: T,
2321
+ disabled: j,
2302
2322
  className: Lt.input,
2303
- onChange: F,
2304
- onClick: L,
2305
- "aria-checked": E,
2306
- "aria-invalid": $,
2323
+ onChange: D,
2324
+ "aria-checked": T,
2325
+ "aria-invalid": N,
2307
2326
  "aria-describedby": c ? `${n}-error` : void 0,
2308
- "data-testid": `${x}-input`
2327
+ "data-testid": `${u}-input`
2309
2328
  }
2310
2329
  ),
2311
2330
  /* @__PURE__ */ o.jsx(
2312
- Fs,
2331
+ Ws,
2313
2332
  {
2314
2333
  name: n,
2315
2334
  size: i,
2316
- isChecked: E,
2317
- isDisabled: T,
2335
+ isChecked: T,
2336
+ isDisabled: j,
2318
2337
  indeterminate: s,
2319
- dataTestId: x
2338
+ dataTestId: u
2320
2339
  }
2321
2340
  )
2322
2341
  ]
2323
2342
  }
2324
2343
  ) }),
2325
- h && /* @__PURE__ */ o.jsx(
2344
+ m && /* @__PURE__ */ o.jsx(
2326
2345
  "span",
2327
2346
  {
2328
- "data-testid": `${x}-label-text`,
2329
- "data-clickable-label": y,
2347
+ "data-testid": `${u}-label-text`,
2348
+ "data-clickable-label": C,
2330
2349
  className: Lt.label,
2331
- onClick: D,
2332
- children: h
2350
+ onClick: L,
2351
+ children: m
2333
2352
  }
2334
2353
  )
2335
2354
  ]
2336
2355
  }
2337
2356
  );
2338
- }), Ws = "_base_10oxr_1", Hs = "_content_10oxr_1", Vs = "_background_10oxr_1", Zs = "_button_10oxr_1", qs = "_link_10oxr_1", Xs = "_input_10oxr_96", Ys = "_suffix_10oxr_1", Gs = "_prefix_10oxr_1", Us = "_tooltip_10oxr_1", Ks = "_hint_10oxr_794", Js = "_dropdown_10oxr_1", Qs = "_popover_10oxr_1", ti = "_modalBackdrop_10oxr_1", ei = "_modal_10oxr_1", ri = "_overlay_10oxr_1", ni = "_drawer_10oxr_1", oi = "_notification_10oxr_1", ai = "_alert_10oxr_1", si = "_toast_10oxr_1", ii = "_loading_10oxr_291", li = "_error_10oxr_252", ci = "_critical_10oxr_1", di = "_inputBase_10oxr_96", ui = "_wrapper_10oxr_106", pi = "_gripHandle_10oxr_186", _i = "_tabFocused_10oxr_259", fi = "_disabled_10oxr_284", gi = "_label_10oxr_301", hi = "_S_10oxr_315", bi = "_M_10oxr_321", mi = "_XL_10oxr_328", yi = "_leftSection_10oxr_335", xi = "_rightSection_10oxr_347", vi = "_helper_10oxr_385", Ci = "_floatingLabel_10oxr_415", wi = "_focused_10oxr_481", Si = "_filled_10oxr_482", ki = "_L_10oxr_522", Li = "_characterLimit_10oxr_564", ji = "_textarea_10oxr_124", $i = "_truncate_10oxr_707", N = {
2339
- base: Ws,
2357
+ }), qs = "_base_10oxr_1", Hs = "_content_10oxr_1", Vs = "_background_10oxr_1", Zs = "_button_10oxr_1", Xs = "_link_10oxr_1", Ys = "_input_10oxr_96", Gs = "_suffix_10oxr_1", Us = "_prefix_10oxr_1", Ks = "_tooltip_10oxr_1", Js = "_hint_10oxr_794", Qs = "_dropdown_10oxr_1", ti = "_popover_10oxr_1", ei = "_modalBackdrop_10oxr_1", ri = "_modal_10oxr_1", ni = "_overlay_10oxr_1", oi = "_drawer_10oxr_1", ai = "_notification_10oxr_1", si = "_alert_10oxr_1", ii = "_toast_10oxr_1", li = "_loading_10oxr_291", ci = "_error_10oxr_252", di = "_critical_10oxr_1", ui = "_inputBase_10oxr_96", _i = "_wrapper_10oxr_106", pi = "_gripHandle_10oxr_186", fi = "_tabFocused_10oxr_259", gi = "_disabled_10oxr_284", hi = "_label_10oxr_301", mi = "_S_10oxr_315", bi = "_M_10oxr_321", xi = "_XL_10oxr_328", yi = "_leftSection_10oxr_335", vi = "_rightSection_10oxr_347", Ci = "_helper_10oxr_385", wi = "_floatingLabel_10oxr_415", ki = "_focused_10oxr_481", Si = "_filled_10oxr_482", Li = "_L_10oxr_522", ji = "_characterLimit_10oxr_564", $i = "_textarea_10oxr_124", Ti = "_truncate_10oxr_707", M = {
2358
+ base: qs,
2340
2359
  content: Hs,
2341
2360
  background: Vs,
2342
2361
  button: Zs,
2343
- link: qs,
2344
- input: Xs,
2345
- suffix: Ys,
2346
- prefix: Gs,
2347
- tooltip: Us,
2348
- hint: Ks,
2349
- dropdown: Js,
2350
- popover: Qs,
2351
- modalBackdrop: ti,
2352
- modal: ei,
2353
- overlay: ri,
2354
- drawer: ni,
2355
- notification: oi,
2356
- alert: ai,
2357
- toast: si,
2358
- loading: ii,
2359
- error: li,
2360
- critical: ci,
2361
- inputBase: di,
2362
- wrapper: ui,
2362
+ link: Xs,
2363
+ input: Ys,
2364
+ suffix: Gs,
2365
+ prefix: Us,
2366
+ tooltip: Ks,
2367
+ hint: Js,
2368
+ dropdown: Qs,
2369
+ popover: ti,
2370
+ modalBackdrop: ei,
2371
+ modal: ri,
2372
+ overlay: ni,
2373
+ drawer: oi,
2374
+ notification: ai,
2375
+ alert: si,
2376
+ toast: ii,
2377
+ loading: li,
2378
+ error: ci,
2379
+ critical: di,
2380
+ inputBase: ui,
2381
+ wrapper: _i,
2363
2382
  "textarea-wrapper": "_textarea-wrapper_10oxr_124",
2364
2383
  gripHandle: pi,
2365
- tabFocused: _i,
2366
- disabled: fi,
2367
- label: gi,
2368
- S: hi,
2384
+ tabFocused: fi,
2385
+ disabled: gi,
2386
+ label: hi,
2387
+ S: mi,
2369
2388
  M: bi,
2370
- XL: mi,
2389
+ XL: xi,
2371
2390
  leftSection: yi,
2372
- rightSection: xi,
2373
- helper: vi,
2374
- floatingLabel: Ci,
2375
- focused: wi,
2391
+ rightSection: vi,
2392
+ helper: Ci,
2393
+ floatingLabel: wi,
2394
+ focused: ki,
2376
2395
  filled: Si,
2377
- L: ki,
2378
- characterLimit: Li,
2379
- textarea: ji,
2396
+ L: Li,
2397
+ characterLimit: ji,
2398
+ textarea: $i,
2380
2399
  "size-S": "_size-S_10oxr_646",
2381
2400
  "size-M": "_size-M_10oxr_656",
2382
2401
  "size-L": "_size-L_10oxr_662",
2383
2402
  "size-XL": "_size-XL_10oxr_668",
2384
2403
  "with-floating-label": "_with-floating-label_10oxr_675",
2385
- truncate: $i,
2404
+ truncate: Ti,
2386
2405
  "has-hint": "_has-hint_10oxr_815",
2387
2406
  "has-suffix": "_has-suffix_10oxr_821",
2388
2407
  "has-limit": "_has-limit_10oxr_844"
2389
- }, Ti = ({
2408
+ }, Ei = ({
2390
2409
  width: t = 8,
2391
2410
  height: r = 8,
2392
2411
  className: n,
@@ -2410,7 +2429,7 @@ const ka = (t) => {
2410
2429
  }
2411
2430
  )
2412
2431
  }
2413
- ), ir = ({
2432
+ ), lr = ({
2414
2433
  className: t = "",
2415
2434
  style: r,
2416
2435
  size: n = "md",
@@ -2424,7 +2443,7 @@ const ka = (t) => {
2424
2443
  ...{
2425
2444
  xxxs: { width: "8px", height: "8px" },
2426
2445
  xxs: { width: "12px", height: "12px" },
2427
- xs: { width: "16px", height: "16px" },
2446
+ xs: { width: "20px", height: "20px" },
2428
2447
  sm: { width: "24px", height: "24px" },
2429
2448
  md: { width: "32px", height: "32px" },
2430
2449
  lg: { width: "40px", height: "40px" }
@@ -2453,9 +2472,9 @@ const ka = (t) => {
2453
2472
  )
2454
2473
  }
2455
2474
  );
2456
- }, Ei = (t, r) => {
2475
+ }, Ni = (t, r) => {
2457
2476
  const n = Vt(null), a = Vt(null);
2458
- return ut(() => {
2477
+ return gt(() => {
2459
2478
  const i = r === "textarea" ? n.current : a.current;
2460
2479
  i && i.value !== t && (i.value = t || "");
2461
2480
  }, [t, r]), {
@@ -2470,28 +2489,28 @@ const ka = (t) => {
2470
2489
  if (n.current.style.setProperty("height", "auto", "important"), !t) return;
2471
2490
  const s = n.current.scrollHeight + "px";
2472
2491
  n.current.style.setProperty("height", s, "important"), n.current.scrollTop = i;
2473
- const l = n.current.closest(`.${N.wrapper}`);
2492
+ const l = n.current.closest(`.${M.wrapper}`);
2474
2493
  l && (l.setAttribute("data-resize", "hug"), l.setAttribute("data-show-grip", "false"));
2475
2494
  };
2476
- return ut(a, [t, r]), ut(() => {
2495
+ return gt(a, [t, r]), gt(() => {
2477
2496
  r === "hug" && n.current && a();
2478
2497
  }, []), { resizeTextArea: a };
2479
- }, Ni = (t, r, n, a) => ({ handleGripMouseDown: jt(
2498
+ }, Ii = (t, r, n, a) => ({ handleGripMouseDown: jt(
2480
2499
  (s) => {
2481
2500
  if (!t || r || n || !(a === "fixed" || !a)) return;
2482
2501
  s.preventDefault(), s.stopPropagation();
2483
- const l = s.currentTarget.closest(`.${N.wrapper}`);
2502
+ const l = s.currentTarget.closest(`.${M.wrapper}`);
2484
2503
  if (!l) return;
2485
- const c = s.clientY, u = l.clientHeight, f = (g) => {
2486
- const b = g.clientY - c, h = Math.min(100, u), y = Math.max(h, u + b);
2487
- l.style.height = `${y}px`;
2504
+ const c = s.clientY, _ = l.clientHeight, f = (g) => {
2505
+ const b = g.clientY - c, m = Math.min(100, _), C = Math.max(m, _ + b);
2506
+ l.style.height = `${C}px`;
2488
2507
  }, d = () => {
2489
2508
  document.removeEventListener("mousemove", f), document.removeEventListener("mouseup", d);
2490
2509
  };
2491
2510
  document.addEventListener("mousemove", f), document.addEventListener("mouseup", d);
2492
2511
  },
2493
2512
  [t, r, n, a]
2494
- ) }), Xe = 30, Ii = U(
2513
+ ) }), Xe = 30, Mi = U(
2495
2514
  ({
2496
2515
  component: t = "input",
2497
2516
  size: r = "L",
@@ -2501,46 +2520,46 @@ const ka = (t) => {
2501
2520
  loading: s = !1,
2502
2521
  onFocus: l,
2503
2522
  onBlur: c,
2504
- onChange: u,
2523
+ onChange: _,
2505
2524
  onKeyDown: f,
2506
2525
  onKeyUp: d,
2507
2526
  maxLength: g,
2508
2527
  className: b,
2509
- style: h,
2510
- truncate: y = !1,
2511
- shouldShowFloatingLabelClass: C = !1,
2512
- "aria-invalid": m,
2528
+ style: m,
2529
+ truncate: C = !1,
2530
+ shouldShowFloatingLabelClass: y = !1,
2531
+ "aria-invalid": h,
2513
2532
  "aria-errormessage": x,
2514
- id: p,
2533
+ id: u,
2515
2534
  resize: w,
2516
2535
  ...S
2517
- }, T) => {
2518
- const { textareaRef: $, inputRef: E, currentRef: B } = Ei(n, t);
2519
- if (Ri(n, w, $), Ar(T, () => B.current, [B]), t === "textarea")
2536
+ }, E) => {
2537
+ const { textareaRef: j, inputRef: N, currentRef: T } = Ni(n, t);
2538
+ if (Ri(n, w, j), Ar(E, () => T.current, [T]), t === "textarea")
2520
2539
  return /* @__PURE__ */ o.jsx(
2521
2540
  "textarea",
2522
2541
  {
2523
- ref: $,
2524
- id: p,
2542
+ ref: j,
2543
+ id: u,
2525
2544
  value: n,
2526
2545
  placeholder: a,
2527
2546
  disabled: i || s,
2528
2547
  onFocus: l,
2529
2548
  onBlur: c,
2530
- onChange: u,
2549
+ onChange: _,
2531
2550
  onKeyDown: f,
2532
2551
  onKeyUp: d,
2533
2552
  maxLength: g,
2534
2553
  className: k(
2535
- N.textarea,
2536
- N[`size-${r}`],
2537
- C && N["with-floating-label"],
2554
+ M.textarea,
2555
+ M[`size-${r}`],
2556
+ y && M["with-floating-label"],
2538
2557
  b
2539
2558
  ),
2540
- style: h,
2541
- "aria-invalid": m,
2559
+ style: m,
2560
+ "aria-invalid": h,
2542
2561
  "aria-errormessage": x,
2543
- "aria-describedby": x ? `${p}-error` : void 0,
2562
+ "aria-describedby": x ? `${u}-error` : void 0,
2544
2563
  tabIndex: 0,
2545
2564
  "data-resize": w,
2546
2565
  ...S
@@ -2550,28 +2569,28 @@ const ka = (t) => {
2550
2569
  return /* @__PURE__ */ o.jsx(
2551
2570
  "input",
2552
2571
  {
2553
- ref: E,
2554
- id: p,
2572
+ ref: N,
2573
+ id: u,
2555
2574
  value: n,
2556
2575
  placeholder: a,
2557
2576
  disabled: i || s,
2558
2577
  onFocus: l,
2559
2578
  onBlur: c,
2560
- onChange: u,
2579
+ onChange: _,
2561
2580
  onKeyDown: f,
2562
2581
  onKeyUp: d,
2563
2582
  maxLength: g,
2564
2583
  className: k(
2565
- N.input,
2566
- N[`size-${r}`],
2567
- C && N["with-floating-label"],
2568
- y && N.truncate,
2584
+ M.input,
2585
+ M[`size-${r}`],
2586
+ y && M["with-floating-label"],
2587
+ C && M.truncate,
2569
2588
  b
2570
2589
  ),
2571
- style: h,
2572
- "aria-invalid": m,
2590
+ style: m,
2591
+ "aria-invalid": h,
2573
2592
  "aria-errormessage": x,
2574
- "aria-describedby": x ? `${p}-error` : void 0,
2593
+ "aria-describedby": x ? `${u}-error` : void 0,
2575
2594
  tabIndex: 0,
2576
2595
  ...S
2577
2596
  }
@@ -2581,7 +2600,7 @@ const ka = (t) => {
2581
2600
  `[Input] Недопустимое значение prop 'component': "${String(t)}". Допустимые значения: 'input', 'textarea'`
2582
2601
  ), null;
2583
2602
  }
2584
- ), lr = U(
2603
+ ), cr = U(
2585
2604
  ({
2586
2605
  children: t,
2587
2606
  size: r = "L",
@@ -2591,125 +2610,125 @@ const ka = (t) => {
2591
2610
  className: s,
2592
2611
  wrapperProps: l,
2593
2612
  wrapperStyles: c,
2594
- floatingLabelStyles: u,
2613
+ floatingLabelStyles: _,
2595
2614
  prefixStyles: f,
2596
2615
  suffixStyles: d,
2597
2616
  labelProps: g,
2598
2617
  helperProps: b,
2599
- showLimit: h = !1,
2600
- maxLength: y,
2601
- hint: C,
2602
- showHint: m = !1,
2618
+ showLimit: m = !1,
2619
+ maxLength: C,
2620
+ hint: y,
2621
+ showHint: h = !1,
2603
2622
  showHintOnEmpty: x = !1,
2604
- prefix: p,
2623
+ prefix: u,
2605
2624
  suffix: w,
2606
2625
  onSuffixClick: S,
2607
- placeholder: T,
2608
- showLabel: $ = !0,
2609
- labelClassName: E,
2610
- hasValue: B = !1,
2611
- helper: A,
2612
- id: F,
2613
- value: Z = "",
2614
- resize: D,
2626
+ placeholder: E,
2627
+ showLabel: j = !0,
2628
+ labelClassName: N,
2629
+ hasValue: T = !1,
2630
+ helper: R,
2631
+ id: O,
2632
+ value: D = "",
2633
+ resize: W,
2615
2634
  showGrip: L = !1,
2616
- ...M
2617
- }, W) => {
2618
- const H = me(), q = F || H, K = m && C && (B || x), ot = C && C.length > Xe ? C.substring(0, Xe) + "..." : C, rt = k(
2619
- N.wrapper,
2620
- N[`size-${r}`],
2621
- n && N.error,
2622
- a && N.disabled,
2623
- i && N.loading,
2624
- K && N["has-hint"],
2625
- w && N["has-suffix"],
2626
- h && N["has-limit"],
2635
+ ...A
2636
+ }, q) => {
2637
+ const H = be(), Z = O || H, K = h && y && (T || x), ot = y && y.length > Xe ? y.substring(0, Xe) + "..." : y, rt = k(
2638
+ M.wrapper,
2639
+ M[`size-${r}`],
2640
+ n && M.error,
2641
+ a && M.disabled,
2642
+ i && M.loading,
2643
+ K && M["has-hint"],
2644
+ w && M["has-suffix"],
2645
+ m && M["has-limit"],
2627
2646
  s
2628
2647
  ), J = k(
2629
- N.floatingLabel,
2630
- N[r],
2631
- B && N.filled,
2632
- E
2633
- ), { handleGripMouseDown: at } = Ni(L, a, i, D);
2634
- return /* @__PURE__ */ o.jsxs("div", { ref: W, className: N.inputBase, "data-testid": "input-base-wrapper", ...M, children: [
2648
+ M.floatingLabel,
2649
+ M[r],
2650
+ T && M.filled,
2651
+ N
2652
+ ), { handleGripMouseDown: at } = Ii(L, a, i, W);
2653
+ return /* @__PURE__ */ o.jsxs("div", { ref: q, className: M.inputBase, "data-testid": "input-base-wrapper", ...A, children: [
2635
2654
  /* @__PURE__ */ o.jsxs(
2636
2655
  "div",
2637
2656
  {
2638
2657
  className: rt,
2639
2658
  style: c,
2640
- "data-resize": D,
2659
+ "data-resize": W,
2641
2660
  "data-show-grip": L ? "true" : "false",
2642
2661
  ...l,
2643
2662
  children: [
2644
- p && /* @__PURE__ */ o.jsx("label", { htmlFor: q, className: N.leftSection, style: f, children: p }),
2663
+ u && /* @__PURE__ */ o.jsx("label", { htmlFor: Z, className: M.leftSection, style: f, children: u }),
2645
2664
  w && /* @__PURE__ */ o.jsx(
2646
2665
  "label",
2647
2666
  {
2648
- htmlFor: q,
2649
- className: N.rightSection,
2667
+ htmlFor: Z,
2668
+ className: M.rightSection,
2650
2669
  style: d,
2651
2670
  onClick: S,
2652
2671
  children: w
2653
2672
  }
2654
2673
  ),
2655
- T && $ && /* @__PURE__ */ o.jsx(
2674
+ E && j && /* @__PURE__ */ o.jsx(
2656
2675
  "label",
2657
2676
  {
2658
- htmlFor: q,
2677
+ htmlFor: Z,
2659
2678
  className: J,
2660
- style: u,
2679
+ style: _,
2661
2680
  ...g,
2662
- children: T
2681
+ children: E
2663
2682
  }
2664
2683
  ),
2665
2684
  t,
2666
- L && !h && (D === "fixed" || !D) && /* @__PURE__ */ o.jsx(
2685
+ L && !m && (W === "fixed" || !W) && /* @__PURE__ */ o.jsx(
2667
2686
  "div",
2668
2687
  {
2669
- className: N.gripHandle,
2688
+ className: M.gripHandle,
2670
2689
  onMouseDown: at,
2671
2690
  role: "button",
2672
2691
  tabIndex: -1,
2673
2692
  "aria-label": "Изменить размер",
2674
- children: /* @__PURE__ */ o.jsx(Ti, {})
2693
+ children: /* @__PURE__ */ o.jsx(Ei, {})
2675
2694
  }
2676
2695
  ),
2677
2696
  K && /* @__PURE__ */ o.jsx(
2678
2697
  "div",
2679
2698
  {
2680
- className: k(N.hint, B && N.truncate),
2699
+ className: k(M.hint, T && M.truncate),
2681
2700
  "data-disabled": a || i,
2682
2701
  children: ot
2683
2702
  }
2684
2703
  ),
2685
- h && y && /* @__PURE__ */ o.jsxs("div", { className: N.characterLimit, children: [
2686
- (Z || "").length,
2704
+ m && C && /* @__PURE__ */ o.jsxs("div", { className: M.characterLimit, children: [
2705
+ (D || "").length,
2687
2706
  " из ",
2688
- y
2707
+ C
2689
2708
  ] })
2690
2709
  ]
2691
2710
  }
2692
2711
  ),
2693
- A && /* @__PURE__ */ o.jsx(
2712
+ R && /* @__PURE__ */ o.jsx(
2694
2713
  "div",
2695
2714
  {
2696
2715
  className: k(
2697
- N.helper,
2698
- n && N.error,
2699
- (a || i) && N.disabled
2716
+ M.helper,
2717
+ n && M.error,
2718
+ (a || i) && M.disabled
2700
2719
  ),
2701
2720
  ...b,
2702
- id: n ? `${q}-error` : void 0,
2703
- children: A
2721
+ id: n ? `${Z}-error` : void 0,
2722
+ children: R
2704
2723
  }
2705
2724
  )
2706
2725
  ] });
2707
2726
  }
2708
2727
  );
2709
- lr.displayName = "InputWrapperComponent";
2710
- const Ye = Object.assign(Ii, {
2711
- Wrapper: lr
2712
- }), cr = U(
2728
+ cr.displayName = "InputWrapperComponent";
2729
+ const Ye = Object.assign(Mi, {
2730
+ Wrapper: cr
2731
+ }), dr = U(
2713
2732
  ({
2714
2733
  component: t = "input",
2715
2734
  size: r = "L",
@@ -2719,51 +2738,51 @@ const Ye = Object.assign(Ii, {
2719
2738
  loading: s = !1,
2720
2739
  placeholder: l,
2721
2740
  showLabel: c = !0,
2722
- labelClassName: u,
2741
+ labelClassName: _,
2723
2742
  helper: f,
2724
2743
  prefix: d,
2725
2744
  suffix: g,
2726
2745
  id: b,
2727
- onFocus: h,
2728
- onBlur: y,
2729
- onKeyDown: C,
2730
- onSuffixClick: m,
2746
+ onFocus: m,
2747
+ onBlur: C,
2748
+ onKeyDown: y,
2749
+ onSuffixClick: h,
2731
2750
  onChange: x,
2732
- value: p = "",
2751
+ value: u = "",
2733
2752
  wrapperProps: w,
2734
2753
  wrapperStyles: S,
2735
- floatingLabelStyles: T,
2736
- prefixStyles: $,
2737
- suffixStyles: E,
2738
- textareaStyles: B,
2739
- labelProps: A,
2740
- helperProps: F,
2741
- showLimit: Z = !1,
2742
- maxLength: D,
2754
+ floatingLabelStyles: E,
2755
+ prefixStyles: j,
2756
+ suffixStyles: N,
2757
+ textareaStyles: T,
2758
+ labelProps: R,
2759
+ helperProps: O,
2760
+ showLimit: D = !1,
2761
+ maxLength: W,
2743
2762
  inputProps: L,
2744
- hint: M,
2745
- showHint: W = !1,
2763
+ hint: A,
2764
+ showHint: q = !1,
2746
2765
  showHintOnEmpty: H = !1,
2747
- truncate: q = !1,
2766
+ truncate: Z = !1,
2748
2767
  resize: K,
2749
2768
  showGrip: ot = !1,
2750
2769
  ...rt
2751
2770
  }, J) => {
2752
- const at = me(), st = b || at, [wt, xt] = gt(p), it = p !== void 0 ? p : wt, Tt = (it || "").length > 0, pt = it || "", It = c && (r === "XL" || t === "textarea") && !d, ee = jt(
2771
+ const at = be(), st = b || at, [wt, yt] = ft(u), it = u !== void 0 ? u : wt, Tt = (it || "").length > 0, ut = it || "", Mt = c && (r === "XL" || t === "textarea") && !d, re = jt(
2753
2772
  (Q) => {
2754
2773
  var tt;
2755
- i || s || (h == null || h(), (tt = L == null ? void 0 : L.onFocus) == null || tt.call(
2774
+ i || s || (m == null || m(), (tt = L == null ? void 0 : L.onFocus) == null || tt.call(
2756
2775
  L,
2757
2776
  Q
2758
2777
  ));
2759
2778
  },
2760
- [h, L, i, s]
2761
- ), qt = jt(
2779
+ [m, L, i, s]
2780
+ ), Xt = jt(
2762
2781
  (Q) => {
2763
2782
  var tt;
2764
2783
  if (Q.key === "Tab") {
2765
- const vt = Q.target.closest(`.${N.wrapper}`);
2766
- vt && vt.classList.add(N.tabFocused);
2784
+ const vt = Q.target.closest(`.${M.wrapper}`);
2785
+ vt && vt.classList.add(M.tabFocused);
2767
2786
  }
2768
2787
  (tt = L == null ? void 0 : L.onKeyUp) == null || tt.call(
2769
2788
  L,
@@ -2771,31 +2790,31 @@ const Ye = Object.assign(Ii, {
2771
2790
  );
2772
2791
  },
2773
2792
  [L]
2774
- ), re = jt(
2793
+ ), ne = jt(
2775
2794
  (Q) => {
2776
2795
  var vt;
2777
- const tt = Q.target.closest(`.${N.wrapper}`);
2778
- tt && tt.classList.remove(N.tabFocused), y == null || y(), (vt = L == null ? void 0 : L.onBlur) == null || vt.call(
2796
+ const tt = Q.target.closest(`.${M.wrapper}`);
2797
+ tt && tt.classList.remove(M.tabFocused), C == null || C(), (vt = L == null ? void 0 : L.onBlur) == null || vt.call(
2779
2798
  L,
2780
2799
  Q
2781
2800
  );
2782
2801
  },
2783
- [y, L]
2784
- ), ne = jt(
2802
+ [C, L]
2803
+ ), oe = jt(
2785
2804
  (Q) => {
2786
2805
  var vt;
2787
2806
  if (i || s) return;
2788
2807
  const tt = Q.target.value;
2789
- xt(tt), x == null || x(tt, Q), (vt = L == null ? void 0 : L.onChange) == null || vt.call(
2808
+ yt(tt), x == null || x(tt, Q), (vt = L == null ? void 0 : L.onChange) == null || vt.call(
2790
2809
  L,
2791
2810
  Q
2792
2811
  );
2793
2812
  },
2794
2813
  [x, L, i, s]
2795
2814
  );
2796
- return ut(() => {
2797
- xt(p || "");
2798
- }, [p]), /* @__PURE__ */ o.jsx(
2815
+ return gt(() => {
2816
+ yt(u || "");
2817
+ }, [u]), /* @__PURE__ */ o.jsx(
2799
2818
  Ye.Wrapper,
2800
2819
  {
2801
2820
  ref: J,
@@ -2803,29 +2822,29 @@ const Ye = Object.assign(Ii, {
2803
2822
  error: a,
2804
2823
  disabled: i || s,
2805
2824
  loading: s,
2806
- className: k(n, t === "textarea" && N["textarea-wrapper"]),
2825
+ className: k(n, t === "textarea" && M["textarea-wrapper"]),
2807
2826
  wrapperProps: w,
2808
2827
  wrapperStyles: S,
2809
- floatingLabelStyles: T,
2810
- prefixStyles: $,
2811
- suffixStyles: E,
2812
- labelProps: A,
2813
- helperProps: F,
2814
- showLimit: Z,
2815
- maxLength: D,
2816
- hint: M,
2817
- showHint: W,
2828
+ floatingLabelStyles: E,
2829
+ prefixStyles: j,
2830
+ suffixStyles: N,
2831
+ labelProps: R,
2832
+ helperProps: O,
2833
+ showLimit: D,
2834
+ maxLength: W,
2835
+ hint: A,
2836
+ showHint: q,
2818
2837
  showHintOnEmpty: H,
2819
2838
  prefix: d,
2820
2839
  suffix: g,
2821
- onSuffixClick: m,
2840
+ onSuffixClick: h,
2822
2841
  placeholder: l,
2823
2842
  showLabel: c,
2824
- labelClassName: u,
2843
+ labelClassName: _,
2825
2844
  hasValue: Tt,
2826
2845
  helper: f,
2827
2846
  id: st,
2828
- value: pt,
2847
+ value: ut,
2829
2848
  showGrip: ot,
2830
2849
  resize: K,
2831
2850
  ...rt,
@@ -2834,20 +2853,20 @@ const Ye = Object.assign(Ii, {
2834
2853
  {
2835
2854
  component: t,
2836
2855
  size: r,
2837
- value: pt,
2856
+ value: ut,
2838
2857
  placeholder: l,
2839
2858
  disabled: i,
2840
2859
  loading: s,
2841
- onFocus: ee,
2842
- onBlur: re,
2843
- onChange: ne,
2844
- onKeyDown: C,
2845
- onKeyUp: qt,
2846
- maxLength: D,
2847
- truncate: q,
2860
+ onFocus: re,
2861
+ onBlur: ne,
2862
+ onChange: oe,
2863
+ onKeyDown: y,
2864
+ onKeyUp: Xt,
2865
+ maxLength: W,
2866
+ truncate: Z,
2848
2867
  "data-empty": !Tt,
2849
- shouldShowFloatingLabelClass: It,
2850
- style: t === "textarea" ? B : void 0,
2868
+ shouldShowFloatingLabelClass: Mt,
2869
+ style: t === "textarea" ? T : void 0,
2851
2870
  "aria-invalid": !!a,
2852
2871
  "aria-errormessage": a ? `${st}-error` : void 0,
2853
2872
  id: st,
@@ -2863,7 +2882,7 @@ const Ye = Object.assign(Ii, {
2863
2882
  M: "M",
2864
2883
  L: "L",
2865
2884
  XL: "XL"
2866
- }, Mi = (t, r, n, a) => {
2885
+ }, Bi = (t, r, n, a) => {
2867
2886
  switch (t) {
2868
2887
  case V.XL:
2869
2888
  return r && n ? "8px 16px 8px 16px" : "16px 16px 16px 16px";
@@ -2876,7 +2895,7 @@ const Ye = Object.assign(Ii, {
2876
2895
  default:
2877
2896
  return "12px 16px 12px 16px";
2878
2897
  }
2879
- }, Bi = (t) => {
2898
+ }, Ai = (t) => {
2880
2899
  switch (t) {
2881
2900
  case V.XL:
2882
2901
  return "56px";
@@ -2889,7 +2908,7 @@ const Ye = Object.assign(Ii, {
2889
2908
  default:
2890
2909
  return "48px";
2891
2910
  }
2892
- }, Ai = (t) => {
2911
+ }, Oi = (t) => {
2893
2912
  switch (t) {
2894
2913
  case V.S:
2895
2914
  case V.M:
@@ -2900,7 +2919,7 @@ const Ye = Object.assign(Ii, {
2900
2919
  default:
2901
2920
  return 8;
2902
2921
  }
2903
- }, Oi = (t) => {
2922
+ }, Pi = (t) => {
2904
2923
  switch (t) {
2905
2924
  case V.S:
2906
2925
  case V.M:
@@ -2931,7 +2950,7 @@ const Ye = Object.assign(Ii, {
2931
2950
  padding: "6px",
2932
2951
  cursor: "pointer"
2933
2952
  }
2934
- }), Pi = (t, r, n, a) => ({
2953
+ }), Di = (t, r, n, a) => ({
2935
2954
  wrapperStyles: {
2936
2955
  height: t,
2937
2956
  minHeight: t,
@@ -2953,7 +2972,7 @@ const Ye = Object.assign(Ii, {
2953
2972
  padding: "8px",
2954
2973
  cursor: "pointer"
2955
2974
  }
2956
- }), Di = (t, r, n, a) => ({
2975
+ }), Fi = (t, r, n, a) => ({
2957
2976
  wrapperStyles: {
2958
2977
  minHeight: t,
2959
2978
  maxHeight: t,
@@ -2976,7 +2995,7 @@ const Ye = Object.assign(Ii, {
2976
2995
  alignItems: "center",
2977
2996
  justifyContent: "center"
2978
2997
  }
2979
- }), Fi = (t, r, n, a) => ({
2998
+ }), Wi = (t, r, n, a) => ({
2980
2999
  wrapperStyles: {
2981
3000
  minHeight: t,
2982
3001
  maxHeight: t,
@@ -2996,15 +3015,15 @@ const Ye = Object.assign(Ii, {
2996
3015
  padding: "6px",
2997
3016
  cursor: "pointer"
2998
3017
  }
2999
- }), Wi = (t, r, n, a) => {
3000
- const i = Bi(t), s = Mi(t, r, n, a), l = Oi(t), c = Ai(t);
3018
+ }), qi = (t, r, n, a) => {
3019
+ const i = Ai(t), s = Bi(t, r, n, a), l = Pi(t), c = Oi(t);
3001
3020
  switch (t) {
3002
3021
  case V.XL:
3003
- return Pi(i, s, l, c);
3004
- case V.L:
3005
3022
  return Di(i, s, l, c);
3006
- case V.M:
3023
+ case V.L:
3007
3024
  return Fi(i, s, l, c);
3025
+ case V.M:
3026
+ return Wi(i, s, l, c);
3008
3027
  case V.S:
3009
3028
  return zi(i, s, l, c);
3010
3029
  default:
@@ -3015,7 +3034,7 @@ const Ye = Object.assign(Ii, {
3015
3034
  suffixStyles: {}
3016
3035
  };
3017
3036
  }
3018
- }, J1 = U(
3037
+ }, wc = U(
3019
3038
  ({
3020
3039
  value: t = "",
3021
3040
  onChange: r,
@@ -3025,59 +3044,59 @@ const Ye = Object.assign(Ii, {
3025
3044
  minLength: s,
3026
3045
  autoComplete: l,
3027
3046
  autoFocus: c,
3028
- size: u = V.L,
3047
+ size: _ = V.L,
3029
3048
  inputProps: f,
3030
3049
  error: d,
3031
3050
  disabled: g,
3032
3051
  loading: b,
3033
- helper: h,
3034
- prefix: y,
3035
- suffix: C,
3036
- clearable: m = !1,
3052
+ helper: m,
3053
+ prefix: C,
3054
+ suffix: y,
3055
+ clearable: h = !1,
3037
3056
  id: x,
3038
- showLabel: p = !0,
3057
+ showLabel: u = !0,
3039
3058
  onFocus: w,
3040
3059
  onBlur: S,
3041
- onSuffixClick: T,
3042
- onClear: $,
3043
- className: E,
3044
- truncate: B = !0,
3045
- hint: A,
3046
- showHint: F = !1,
3047
- showHintOnEmpty: Z = !1,
3048
- wrapperProps: D,
3060
+ onSuffixClick: E,
3061
+ onClear: j,
3062
+ className: N,
3063
+ truncate: T = !0,
3064
+ hint: R,
3065
+ showHint: O = !1,
3066
+ showHintOnEmpty: D = !1,
3067
+ wrapperProps: W,
3049
3068
  labelProps: L,
3050
- helperProps: M,
3051
- ...W
3069
+ helperProps: A,
3070
+ ...q
3052
3071
  }, H) => {
3053
- const q = (t || "").length > 0, K = u === V.XL, ot = !!y, rt = K && p && !y, J = m && q && !(g || b), at = () => {
3054
- r == null || r(""), $ == null || $();
3072
+ const Z = (t || "").length > 0, K = _ === V.XL, ot = !!C, rt = K && u && !C, J = h && Z && !(g || b), at = () => {
3073
+ r == null || r(""), j == null || j();
3055
3074
  }, st = () => {
3056
- J && at(), T == null || T();
3075
+ J && at(), E == null || E();
3057
3076
  }, wt = J ? /* @__PURE__ */ o.jsx(
3058
- ir,
3077
+ lr,
3059
3078
  {
3060
- size: u === V.S || u === V.M ? "xs" : "sm",
3079
+ size: _ === V.S || _ === V.M ? "xs" : "sm",
3061
3080
  color: "var(--icon-secondary)",
3062
3081
  style: { cursor: "pointer" },
3063
3082
  "data-testid": "x-icon"
3064
3083
  }
3065
- ) : C, xt = {
3084
+ ) : y, yt = {
3066
3085
  type: n,
3067
3086
  minLength: s,
3068
3087
  autoComplete: l,
3069
3088
  autoFocus: c,
3070
3089
  ...f
3071
- }, it = Wi(u, rt, q, ot);
3090
+ }, it = qi(_, rt, Z, ot);
3072
3091
  return /* @__PURE__ */ o.jsx(
3073
- cr,
3092
+ dr,
3074
3093
  {
3075
- size: u,
3094
+ size: _,
3076
3095
  error: d,
3077
3096
  disabled: g || b,
3078
3097
  loading: b,
3079
- helper: h,
3080
- prefix: y,
3098
+ helper: m,
3099
+ prefix: C,
3081
3100
  suffix: wt,
3082
3101
  id: x,
3083
3102
  showLabel: rt,
@@ -3087,44 +3106,44 @@ const Ye = Object.assign(Ii, {
3087
3106
  onChange: r,
3088
3107
  value: t,
3089
3108
  placeholder: a,
3090
- className: E,
3109
+ className: N,
3091
3110
  wrapperStyles: it.wrapperStyles,
3092
3111
  floatingLabelStyles: it.floatingLabelStyles,
3093
3112
  prefixStyles: it.prefixStyles,
3094
3113
  suffixStyles: it.suffixStyles,
3095
- wrapperProps: D,
3114
+ wrapperProps: W,
3096
3115
  labelProps: L,
3097
- helperProps: M,
3116
+ helperProps: A,
3098
3117
  showLimit: !1,
3099
3118
  maxLength: i,
3100
- inputProps: xt,
3101
- hint: A,
3102
- showHint: F,
3103
- showHintOnEmpty: Z,
3104
- truncate: B,
3105
- ...W
3119
+ inputProps: yt,
3120
+ hint: R,
3121
+ showHint: O,
3122
+ showHintOnEmpty: D,
3123
+ truncate: T,
3124
+ ...q
3106
3125
  }
3107
3126
  );
3108
3127
  }
3109
- ), ft = {
3128
+ ), pt = {
3110
3129
  M: "M",
3111
3130
  L: "L"
3112
- }, Qt = {
3131
+ }, te = {
3113
3132
  M: "12px",
3114
3133
  L: "16px"
3115
3134
  }, Hi = {
3116
3135
  M: "xs",
3117
3136
  L: "sm"
3118
- }, Kt = {
3137
+ }, Jt = {
3119
3138
  FILL: "fill",
3120
3139
  FIXED: "fixed"
3121
- }, pe = {
3140
+ }, _e = {
3122
3141
  M: "112px",
3123
3142
  L: "56px"
3124
- }, At = {
3143
+ }, Ot = {
3125
3144
  M: "48px",
3126
3145
  L: "22px"
3127
- }, kt = {
3146
+ }, St = {
3128
3147
  M: "12px 12px 12px 12px",
3129
3148
  L: "16px 16px 16px 16px",
3130
3149
  L_WITH_PREFIX: "12px 16px 12px 16px",
@@ -3134,57 +3153,57 @@ const Ye = Object.assign(Ii, {
3134
3153
  L: 56,
3135
3154
  XL: 112
3136
3155
  }, Vi = (t, r) => {
3137
- if (t === ft.M)
3138
- return pe.M;
3156
+ if (t === pt.M)
3157
+ return _e.M;
3139
3158
  if (r)
3140
3159
  return `${r}px`;
3141
3160
  switch (t) {
3142
- case ft.L:
3143
- return pe.L;
3161
+ case pt.L:
3162
+ return _e.L;
3144
3163
  default:
3145
- return pe.L;
3164
+ return _e.L;
3146
3165
  }
3147
3166
  }, Zi = (t, r) => {
3148
- if (t === ft.M)
3149
- return At.M;
3167
+ if (t === pt.M)
3168
+ return Ot.M;
3150
3169
  if (r)
3151
3170
  switch (r) {
3152
3171
  case $t.M:
3153
3172
  case $t.L:
3154
- return At.L;
3173
+ return Ot.L;
3155
3174
  case $t.XL:
3156
- return At.M;
3175
+ return Ot.M;
3157
3176
  default:
3158
- return At.L;
3177
+ return Ot.L;
3159
3178
  }
3160
3179
  switch (t) {
3161
- case ft.L:
3162
- return At.L;
3180
+ case pt.L:
3181
+ return Ot.L;
3163
3182
  default:
3164
- return At.L;
3183
+ return Ot.L;
3165
3184
  }
3166
- }, qi = (t, r, n) => {
3167
- if (t === ft.M)
3168
- return kt.M;
3185
+ }, Xi = (t, r, n) => {
3186
+ if (t === pt.M)
3187
+ return St.M;
3169
3188
  if (r)
3170
3189
  switch (r) {
3171
3190
  case $t.M:
3172
- return kt.L_WITH_PREFIX;
3191
+ return St.L_WITH_PREFIX;
3173
3192
  case $t.L:
3174
- return n ? kt.L_FLOATING_LABEL : kt.L;
3193
+ return n ? St.L_FLOATING_LABEL : St.L;
3175
3194
  case $t.XL:
3176
- return kt.L;
3195
+ return St.L;
3177
3196
  default:
3178
- return kt.L;
3197
+ return St.L;
3179
3198
  }
3180
3199
  switch (t) {
3181
- case ft.L:
3182
- return n ? kt.L_FLOATING_LABEL : kt.L;
3200
+ case pt.L:
3201
+ return n ? St.L_FLOATING_LABEL : St.L;
3183
3202
  default:
3184
- return kt.L;
3203
+ return St.L;
3185
3204
  }
3186
- }, Xi = (t, r) => {
3187
- if (t === ft.M)
3205
+ }, Yi = (t, r) => {
3206
+ if (t === pt.M)
3188
3207
  return "M";
3189
3208
  if (r)
3190
3209
  switch (r) {
@@ -3198,37 +3217,37 @@ const Ye = Object.assign(Ii, {
3198
3217
  return "L";
3199
3218
  }
3200
3219
  return t;
3201
- }, Yi = (t) => Hi[t], Gi = (t) => Qt[t], Ui = (t, r, n, a) => {
3202
- const i = Vi(t, r), s = Zi(t, r), l = qi(t, r, n);
3220
+ }, Gi = (t) => Hi[t], Ui = (t) => te[t], Ki = (t, r, n, a) => {
3221
+ const i = Vi(t, r), s = Zi(t, r), l = Xi(t, r, n);
3203
3222
  return {
3204
3223
  wrapperStyles: {
3205
3224
  minHeight: i,
3206
3225
  // Для fill resize устанавливаем height: 100%
3207
- ...a === Kt.FILL && { height: "100%" },
3226
+ ...a === Jt.FILL && { height: "100%" },
3208
3227
  // Для fixed resize устанавливаем фиксированную высоту
3209
- ...a === Kt.FIXED && r && { height: i },
3228
+ ...a === Jt.FIXED && r && { height: i },
3210
3229
  boxSizing: "border-box",
3211
3230
  padding: l
3212
3231
  },
3213
3232
  floatingLabelStyles: {
3214
- left: t === ft.M ? Qt.M : Qt.L,
3233
+ left: t === pt.M ? te.M : te.L,
3215
3234
  transformOrigin: "left top",
3216
- top: r === 112 && n && t === ft.L ? Qt.L : void 0
3235
+ top: r === 112 && n && t === pt.L ? te.L : void 0
3217
3236
  },
3218
3237
  suffixStyles: {
3219
- right: Gi(t),
3220
- top: r === 48 && t === ft.L ? "11px" : void 0,
3238
+ right: Ui(t),
3239
+ top: r === 48 && t === pt.L ? "11px" : void 0,
3221
3240
  boxSizing: "border-box"
3222
3241
  },
3223
3242
  textareaStyles: {
3224
3243
  minHeight: s,
3225
3244
  // Для fill resize flex: 1
3226
- ...a === Kt.FILL && { flex: 1, minHeight: 0 },
3245
+ ...a === Jt.FILL && { flex: 1, minHeight: 0 },
3227
3246
  // Для fixed resize фиксированная высота
3228
- ...a === Kt.FIXED && r && { height: s }
3247
+ ...a === Jt.FIXED && r && { height: s }
3229
3248
  }
3230
3249
  };
3231
- }, Q1 = U(
3250
+ }, kc = U(
3232
3251
  ({
3233
3252
  value: t = "",
3234
3253
  onChange: r,
@@ -3236,65 +3255,65 @@ const Ye = Object.assign(Ii, {
3236
3255
  maxLength: a,
3237
3256
  minLength: i,
3238
3257
  autoFocus: s,
3239
- size: l = ft.L,
3258
+ size: l = pt.L,
3240
3259
  textareaProps: c,
3241
- error: u,
3260
+ error: _,
3242
3261
  disabled: f,
3243
3262
  loading: d,
3244
3263
  helper: g,
3245
3264
  suffix: b,
3246
- clearable: h = !1,
3247
- id: y,
3248
- showLabel: C = !0,
3249
- onFocus: m,
3265
+ clearable: m = !1,
3266
+ id: C,
3267
+ showLabel: y = !0,
3268
+ onFocus: h,
3250
3269
  onBlur: x,
3251
- onClear: p,
3270
+ onClear: u,
3252
3271
  onKeyDown: w,
3253
3272
  className: S,
3254
- rows: T = 1,
3255
- showLimit: $ = !1,
3256
- wrapperProps: E,
3257
- labelProps: B,
3258
- helperProps: A,
3259
- showGrip: F,
3260
- minHeight: Z,
3261
- resize: D,
3273
+ rows: E = 1,
3274
+ showLimit: j = !1,
3275
+ wrapperProps: N,
3276
+ labelProps: T,
3277
+ helperProps: R,
3278
+ showGrip: O,
3279
+ minHeight: D,
3280
+ resize: W,
3262
3281
  ...L
3263
- }, M) => {
3264
- const W = (t || "").length > 0, H = C && !!n && (l === ft.M || Z !== 48), q = h && W && !(f || d), K = () => {
3265
- r == null || r(""), p == null || p();
3282
+ }, A) => {
3283
+ const q = (t || "").length > 0, H = y && !!n && (l === pt.M || D !== 48), Z = m && q && !(f || d), K = () => {
3284
+ r == null || r(""), u == null || u();
3266
3285
  }, ot = () => {
3267
- q && K();
3268
- }, rt = q ? /* @__PURE__ */ o.jsx(
3269
- ir,
3286
+ Z && K();
3287
+ }, rt = Z ? /* @__PURE__ */ o.jsx(
3288
+ lr,
3270
3289
  {
3271
- size: Yi(l),
3290
+ size: Gi(l),
3272
3291
  color: "var(--icon-secondary)",
3273
3292
  style: { cursor: "pointer" },
3274
3293
  "data-testid": "x-icon"
3275
3294
  }
3276
- ) : b, J = Ui(l, Z, H && W, D), at = Xi(l, Z), st = {
3277
- rows: T,
3295
+ ) : b, J = Ki(l, D, H && q, W), at = Yi(l, D), st = {
3296
+ rows: E,
3278
3297
  minLength: i,
3279
3298
  autoFocus: s,
3280
- resize: D,
3299
+ resize: W,
3281
3300
  ...c
3282
3301
  };
3283
3302
  return /* @__PURE__ */ o.jsx(
3284
- cr,
3303
+ dr,
3285
3304
  {
3286
- ref: M,
3305
+ ref: A,
3287
3306
  component: "textarea",
3288
3307
  size: at,
3289
- error: u,
3308
+ error: _,
3290
3309
  disabled: f || d,
3291
3310
  loading: d,
3292
3311
  onSuffixClick: ot,
3293
3312
  helper: g,
3294
3313
  suffix: rt,
3295
- id: y,
3314
+ id: C,
3296
3315
  showLabel: H,
3297
- onFocus: m,
3316
+ onFocus: h,
3298
3317
  onBlur: x,
3299
3318
  onKeyDown: w,
3300
3319
  onChange: r,
@@ -3306,23 +3325,23 @@ const Ye = Object.assign(Ii, {
3306
3325
  floatingLabelStyles: J.floatingLabelStyles,
3307
3326
  suffixStyles: J.suffixStyles,
3308
3327
  textareaStyles: J.textareaStyles,
3309
- wrapperProps: E,
3310
- labelProps: B,
3311
- helperProps: A,
3312
- showLimit: $ && (Z === 112 || l === ft.M),
3328
+ wrapperProps: N,
3329
+ labelProps: T,
3330
+ helperProps: R,
3331
+ showLimit: j && (D === 112 || l === pt.M),
3313
3332
  maxLength: a,
3314
3333
  inputProps: st,
3315
- resize: D,
3316
- showGrip: F,
3334
+ resize: W,
3335
+ showGrip: O,
3317
3336
  ...L
3318
3337
  }
3319
3338
  );
3320
3339
  }
3321
- ), Ki = "_helper_1jq7j_16", _e = {
3322
- helper: Ki,
3340
+ ), Ji = "_helper_1jq7j_16", pe = {
3341
+ helper: Ji,
3323
3342
  "helper--error": "_helper--error_1jq7j_28",
3324
3343
  "helper--disabled": "_helper--disabled_1jq7j_33"
3325
- }, tc = ({
3344
+ }, Sc = ({
3326
3345
  title: t,
3327
3346
  error: r,
3328
3347
  className: n = "",
@@ -3332,10 +3351,10 @@ const Ye = Object.assign(Ii, {
3332
3351
  "aria-label": l,
3333
3352
  "aria-describedby": c
3334
3353
  }) => {
3335
- const u = !!r, f = k(
3336
- _e.helper,
3337
- u && _e["helper--error"],
3338
- i && _e["helper--disabled"],
3354
+ const _ = !!r, f = k(
3355
+ pe.helper,
3356
+ _ && pe["helper--error"],
3357
+ i && pe["helper--disabled"],
3339
3358
  n
3340
3359
  ), d = i ? t : r || t;
3341
3360
  return /* @__PURE__ */ o.jsx(
@@ -3349,24 +3368,24 @@ const Ye = Object.assign(Ii, {
3349
3368
  children: /* @__PURE__ */ o.jsx("p", { children: d })
3350
3369
  }
3351
3370
  );
3352
- }, Ji = "_radio_1n8zx_59", Qi = "_checked_1n8zx_80", tl = "_error_1n8zx_85", el = "_disabled_1n8zx_94", rl = "_icon_1n8zx_130", nl = "_small_1n8zx_138", ol = "_medium_1n8zx_145", al = "_large_1n8zx_152", sl = "_label_1n8zx_159", il = "_container_1n8zx_185", ll = "_input_1n8zx_198", cl = "_card_1n8zx_205", dl = "_smallCard_1n8zx_211", ul = "_mediumCard_1n8zx_215", pl = "_largeCard_1n8zx_219", _t = {
3371
+ }, Qi = "_radio_1n8zx_59", tl = "_checked_1n8zx_80", el = "_error_1n8zx_85", rl = "_disabled_1n8zx_94", nl = "_icon_1n8zx_130", ol = "_small_1n8zx_138", al = "_medium_1n8zx_145", sl = "_large_1n8zx_152", il = "_label_1n8zx_159", ll = "_container_1n8zx_185", cl = "_input_1n8zx_198", dl = "_card_1n8zx_205", ul = "_smallCard_1n8zx_211", _l = "_mediumCard_1n8zx_215", pl = "_largeCard_1n8zx_219", _t = {
3353
3372
  default: "_default_1n8zx_53",
3354
- radio: Ji,
3355
- checked: Qi,
3356
- error: tl,
3357
- disabled: el,
3358
- icon: rl,
3359
- small: nl,
3360
- medium: ol,
3361
- large: al,
3362
- label: sl,
3363
- container: il,
3364
- input: ll,
3365
- card: cl,
3366
- smallCard: dl,
3367
- mediumCard: ul,
3373
+ radio: Qi,
3374
+ checked: tl,
3375
+ error: el,
3376
+ disabled: rl,
3377
+ icon: nl,
3378
+ small: ol,
3379
+ medium: al,
3380
+ large: sl,
3381
+ label: il,
3382
+ container: ll,
3383
+ input: cl,
3384
+ card: dl,
3385
+ smallCard: ul,
3386
+ mediumCard: _l,
3368
3387
  largeCard: pl
3369
- }, _l = "radio-container-", fl = "radio-label", dr = U(
3388
+ }, fl = "radio-container-", gl = "radio-label", ur = U(
3370
3389
  (t, r) => {
3371
3390
  const {
3372
3391
  name: n,
@@ -3375,24 +3394,24 @@ const Ye = Object.assign(Ii, {
3375
3394
  size: s = "large",
3376
3395
  loading: l = !1,
3377
3396
  error: c,
3378
- disabled: u = !1,
3397
+ disabled: _ = !1,
3379
3398
  checked: f = !1,
3380
3399
  containerClassName: d,
3381
3400
  className: g,
3382
3401
  children: b,
3383
- clickable: h = "all",
3384
- mode: y = "default",
3385
- tabIndex: C,
3386
- style: m,
3402
+ clickable: m = "all",
3403
+ mode: C = "default",
3404
+ tabIndex: y,
3405
+ style: h,
3387
3406
  containerStyle: x,
3388
- onChange: p,
3407
+ onChange: u,
3389
3408
  "data-testid": w,
3390
3409
  ...S
3391
- } = t, T = !!c, $ = u || l, E = h === "all", B = y === "card", A = _t[`${s}Card`], F = a ?? n, Z = (H) => {
3392
- $ || p == null || p(i, H);
3393
- }, D = (H) => {
3394
- H.key === "Enter" && !$ && (H.preventDefault(), p == null || p(i));
3395
- }, L = (H) => H.stopPropagation(), M = () => /* @__PURE__ */ o.jsxs(
3410
+ } = t, E = !!c, j = _ || l, N = m === "all", T = C === "card", R = _t[`${s}Card`], O = a ?? n, D = (H) => {
3411
+ j || u == null || u(i, H);
3412
+ }, W = (H) => {
3413
+ H.key === "Enter" && !j && (H.preventDefault(), u == null || u(i));
3414
+ }, L = (H) => H.stopPropagation(), A = () => /* @__PURE__ */ o.jsxs(
3396
3415
  "div",
3397
3416
  {
3398
3417
  className: k(
@@ -3400,75 +3419,75 @@ const Ye = Object.assign(Ii, {
3400
3419
  _t[s],
3401
3420
  {
3402
3421
  [_t.checked]: f,
3403
- [_t.disabled]: $,
3404
- [_t.error]: T && !$
3422
+ [_t.disabled]: j,
3423
+ [_t.error]: E && !j
3405
3424
  },
3406
3425
  g
3407
3426
  ),
3408
- style: m,
3409
- tabIndex: C || 1,
3410
- "data-testid": `${_l}${F}`,
3427
+ style: h,
3428
+ tabIndex: y || 1,
3429
+ "data-testid": `${fl}${O}`,
3411
3430
  children: [
3412
3431
  /* @__PURE__ */ o.jsx(
3413
3432
  "input",
3414
3433
  {
3415
3434
  "aria-errormessage": c,
3416
- "aria-invalid": T,
3435
+ "aria-invalid": E,
3417
3436
  checked: f,
3418
3437
  className: _t.input,
3419
- "data-testid": `radio-${F}`,
3420
- disabled: $,
3421
- id: F,
3438
+ "data-testid": `radio-${O}`,
3439
+ disabled: j,
3440
+ id: O,
3422
3441
  name: n,
3423
3442
  ref: r,
3424
3443
  type: "radio",
3425
3444
  value: i,
3426
- onChange: Z,
3445
+ onChange: D,
3427
3446
  onClick: L
3428
3447
  }
3429
3448
  ),
3430
- /* @__PURE__ */ o.jsx("svg", { "data-testid": `radio-icon-${F}`, viewBox: "0 0 8 8", className: _t.icon, children: /* @__PURE__ */ o.jsx("circle", { cx: 4, cy: 4, fill: "current", r: 4 }) })
3449
+ /* @__PURE__ */ o.jsx("svg", { "data-testid": `radio-icon-${O}`, viewBox: "0 0 8 8", className: _t.icon, children: /* @__PURE__ */ o.jsx("circle", { cx: 4, cy: 4, fill: "current", r: 4 }) })
3431
3450
  ]
3432
3451
  }
3433
- ), W = () => /* @__PURE__ */ o.jsxs(
3452
+ ), q = () => /* @__PURE__ */ o.jsxs(
3434
3453
  "label",
3435
3454
  {
3436
3455
  "aria-checked": f,
3437
- "aria-disabled": $,
3438
- "data-testid": E ? w : fl,
3439
- htmlFor: F,
3456
+ "aria-disabled": j,
3457
+ "data-testid": N ? w : gl,
3458
+ htmlFor: O,
3440
3459
  style: x,
3441
3460
  className: k(_t.label, {
3442
- [k(_t.container, _t[y], d)]: E,
3443
- [A]: E && B
3461
+ [k(_t.container, _t[C], d)]: N,
3462
+ [R]: N && T
3444
3463
  }),
3445
- onKeyDown: D,
3464
+ onKeyDown: W,
3446
3465
  ...S,
3447
3466
  children: [
3448
- M(),
3449
- E && b
3467
+ A(),
3468
+ N && b
3450
3469
  ]
3451
3470
  }
3452
3471
  );
3453
- return E ? W() : /* @__PURE__ */ o.jsxs(
3472
+ return N ? q() : /* @__PURE__ */ o.jsxs(
3454
3473
  "div",
3455
3474
  {
3456
- className: k(_t.container, _t[y], d, {
3457
- [A]: B
3475
+ className: k(_t.container, _t[C], d, {
3476
+ [R]: T
3458
3477
  }),
3459
3478
  "data-testid": w,
3460
3479
  children: [
3461
- W(),
3480
+ q(),
3462
3481
  b
3463
3482
  ]
3464
3483
  }
3465
3484
  );
3466
3485
  }
3467
- ), gl = "_group_tnviu_7", hl = "_vertical_tnviu_12", bl = "_horizontal_tnviu_16", Ge = {
3468
- group: gl,
3469
- vertical: hl,
3486
+ ), hl = "_group_tnviu_7", ml = "_vertical_tnviu_12", bl = "_horizontal_tnviu_16", Ge = {
3487
+ group: hl,
3488
+ vertical: ml,
3470
3489
  horizontal: bl
3471
- }, ml = U(
3490
+ }, xl = U(
3472
3491
  (t, r) => {
3473
3492
  const {
3474
3493
  id: n,
@@ -3477,7 +3496,7 @@ const Ye = Object.assign(Ii, {
3477
3496
  options: s,
3478
3497
  className: l,
3479
3498
  radioClassName: c,
3480
- disabled: u = !1,
3499
+ disabled: _ = !1,
3481
3500
  layout: f = "vertical",
3482
3501
  "data-testid": d,
3483
3502
  ...g
@@ -3485,45 +3504,45 @@ const Ye = Object.assign(Ii, {
3485
3504
  return /* @__PURE__ */ o.jsx(
3486
3505
  "div",
3487
3506
  {
3488
- className: Et(Ge.group, Ge[f], l),
3507
+ className: It(Ge.group, Ge[f], l),
3489
3508
  "data-testid": d ?? `radio-group-${a}`,
3490
3509
  id: n,
3491
3510
  ref: r,
3492
- children: s.map(({ label: b, value: h, disabled: y }) => {
3493
- const C = `${a}-${String(h)}`, m = String(h) === String(i);
3511
+ children: s.map(({ label: b, value: m, disabled: C }) => {
3512
+ const y = `${a}-${String(m)}`, h = String(m) === String(i);
3494
3513
  return /* @__PURE__ */ o.jsx(
3495
- dr,
3514
+ ur,
3496
3515
  {
3497
- id: C,
3498
- checked: m,
3499
- "data-testid": C,
3500
- disabled: u || y,
3516
+ id: y,
3517
+ checked: h,
3518
+ "data-testid": y,
3519
+ disabled: _ || C,
3501
3520
  name: a,
3502
- value: h,
3521
+ value: m,
3503
3522
  className: c,
3504
3523
  ...g,
3505
3524
  children: b
3506
3525
  },
3507
- C
3526
+ y
3508
3527
  );
3509
3528
  })
3510
3529
  }
3511
3530
  );
3512
3531
  }
3513
- ), ec = Object.assign(dr, {
3514
- Group: ml
3515
- }), yl = "_root_1jj3e_25", xl = "_unordered_1jj3e_39", vl = "_ordered_1jj3e_43", Cl = "_sm_1jj3e_48", wl = "_md_1jj3e_59", Sl = "_lg_1jj3e_70", kl = "_xl_1jj3e_81", fe = {
3532
+ ), Lc = Object.assign(ur, {
3533
+ Group: xl
3534
+ }), yl = "_root_1jj3e_25", vl = "_unordered_1jj3e_39", Cl = "_ordered_1jj3e_43", wl = "_sm_1jj3e_48", kl = "_md_1jj3e_59", Sl = "_lg_1jj3e_70", Ll = "_xl_1jj3e_81", fe = {
3516
3535
  root: yl,
3517
- unordered: xl,
3518
- ordered: vl,
3519
- sm: Cl,
3520
- md: wl,
3536
+ unordered: vl,
3537
+ ordered: Cl,
3538
+ sm: wl,
3539
+ md: kl,
3521
3540
  lg: Sl,
3522
- xl: kl
3523
- }, Ll = (t) => {
3541
+ xl: Ll
3542
+ }, jl = (t) => {
3524
3543
  const { children: r, className: n, "data-testid": a = "list-item" } = t;
3525
3544
  return /* @__PURE__ */ o.jsx("li", { "data-testid": a, className: n, children: r });
3526
- }, rc = Object.assign(
3545
+ }, jc = Object.assign(
3527
3546
  U((t, r) => {
3528
3547
  const {
3529
3548
  variant: n = "unordered",
@@ -3532,46 +3551,46 @@ const Ye = Object.assign(Ii, {
3532
3551
  size: s = "md",
3533
3552
  "data-testid": l = "list",
3534
3553
  ...c
3535
- } = t, u = n === "ordered" ? "ol" : "ul";
3554
+ } = t, _ = n === "ordered" ? "ol" : "ul";
3536
3555
  return /* @__PURE__ */ o.jsx(
3537
- u,
3556
+ _,
3538
3557
  {
3539
3558
  "data-testid": l,
3540
3559
  ref: r,
3541
- className: Et(fe.root, fe[n], fe[s], a),
3560
+ className: It(fe.root, fe[n], fe[s], a),
3542
3561
  ...n === "ordered" && c,
3543
3562
  children: i
3544
3563
  }
3545
3564
  );
3546
3565
  }),
3547
- { Item: Ll }
3548
- ), jl = "_wrapper_1v8xn_5", $l = "_viewport_1v8xn_12", Tl = "_mask_1v8xn_26", El = "_maskLeft_1v8xn_37", Rl = "_maskRight_1v8xn_42", Nl = "_visible_1v8xn_46", Il = "_control_1v8xn_51", Ml = "_xs_1v8xn_70", Bl = "_sm_1v8xn_73", Al = "_md_1v8xn_76", Ol = "_left_1v8xn_80", zl = "_right_1v8xn_83", ct = {
3549
- wrapper: jl,
3550
- viewport: $l,
3551
- mask: Tl,
3552
- maskLeft: El,
3566
+ { Item: jl }
3567
+ ), $l = "_wrapper_1v8xn_5", Tl = "_viewport_1v8xn_12", El = "_mask_1v8xn_26", Nl = "_maskLeft_1v8xn_37", Rl = "_maskRight_1v8xn_42", Il = "_visible_1v8xn_46", Ml = "_control_1v8xn_51", Bl = "_xs_1v8xn_70", Al = "_sm_1v8xn_73", Ol = "_md_1v8xn_76", Pl = "_left_1v8xn_80", zl = "_right_1v8xn_83", ct = {
3568
+ wrapper: $l,
3569
+ viewport: Tl,
3570
+ mask: El,
3571
+ maskLeft: Nl,
3553
3572
  maskRight: Rl,
3554
- visible: Nl,
3555
- control: Il,
3556
- xs: Ml,
3557
- sm: Bl,
3558
- md: Al,
3559
- left: Ol,
3573
+ visible: Il,
3574
+ control: Ml,
3575
+ xs: Bl,
3576
+ sm: Al,
3577
+ md: Ol,
3578
+ left: Pl,
3560
3579
  right: zl
3561
- }, Pl = "white", Dl = ({
3580
+ }, Dl = "white", Fl = ({
3562
3581
  children: t,
3563
3582
  withControls: r = !0,
3564
3583
  className: n,
3565
3584
  size: a
3566
3585
  }) => {
3567
- const i = Vt(null), [s, l] = gt(!1), [c, u] = gt(!1), { ref: f, bgColor: d } = xe(), g = f ?? { current: null }, b = d ?? Pl, h = r && s, y = r && c, C = ({ direction: p }) => /* @__PURE__ */ o.jsx(
3586
+ const i = Vt(null), [s, l] = ft(!1), [c, _] = ft(!1), { ref: f, bgColor: d } = ye(), g = f ?? { current: null }, b = d ?? Dl, m = r && s, C = r && c, y = ({ direction: u }) => /* @__PURE__ */ o.jsx(
3568
3587
  "svg",
3569
3588
  {
3570
3589
  height: "12px",
3571
3590
  width: "12px",
3572
3591
  viewBox: "0 0 185.343 185.343",
3573
3592
  xmlns: "http://www.w3.org/2000/svg",
3574
- children: /* @__PURE__ */ o.jsx("g", { transform: p === "left" ? "scale(-1,1) translate(-185.343,0)" : void 0, children: /* @__PURE__ */ o.jsx(
3593
+ children: /* @__PURE__ */ o.jsx("g", { transform: u === "left" ? "scale(-1,1) translate(-185.343,0)" : void 0, children: /* @__PURE__ */ o.jsx(
3575
3594
  "path",
3576
3595
  {
3577
3596
  fill: "currentColor",
@@ -3579,33 +3598,33 @@ const Ye = Object.assign(Ii, {
3579
3598
  }
3580
3599
  ) })
3581
3600
  }
3582
- ), m = () => {
3583
- const p = i.current;
3584
- if (!p) return;
3585
- const w = Math.round(p.scrollLeft), S = Math.round(p.scrollLeft + p.clientWidth), T = Math.round(p.scrollWidth);
3586
- l(w > 0), u(S < T);
3587
- }, x = (p) => {
3601
+ ), h = () => {
3602
+ const u = i.current;
3603
+ if (!u) return;
3604
+ const w = Math.round(u.scrollLeft), S = Math.round(u.scrollLeft + u.clientWidth), E = Math.round(u.scrollWidth);
3605
+ l(w > 0), _(S < E);
3606
+ }, x = (u) => {
3588
3607
  const w = i.current;
3589
3608
  if (!w) return;
3590
3609
  const S = w.clientWidth;
3591
- w.scrollBy({ left: p === "left" ? -S : S, behavior: "smooth" });
3610
+ w.scrollBy({ left: u === "left" ? -S : S, behavior: "smooth" });
3592
3611
  };
3593
- return ut(() => {
3594
- const p = i.current;
3595
- if (!p) return;
3612
+ return gt(() => {
3613
+ const u = i.current;
3614
+ if (!u) return;
3596
3615
  const w = (S) => {
3597
- Math.abs(S.deltaX) > Math.abs(S.deltaY) || p.scrollWidth > p.clientWidth && (S.preventDefault(), p.scrollBy({ left: S.deltaY, behavior: "auto" }));
3616
+ Math.abs(S.deltaX) > Math.abs(S.deltaY) || u.scrollWidth > u.clientWidth && (S.preventDefault(), u.scrollBy({ left: S.deltaY, behavior: "auto" }));
3598
3617
  };
3599
- return p.addEventListener("wheel", w, { passive: !1 }), () => p.removeEventListener("wheel", w);
3600
- }, []), ut(() => {
3601
- m();
3602
- const p = i.current;
3603
- if (p)
3604
- return p.addEventListener("scroll", m, { passive: !0 }), window.addEventListener("resize", m), () => {
3605
- p.removeEventListener("scroll", m), window.removeEventListener("resize", m);
3618
+ return u.addEventListener("wheel", w, { passive: !1 }), () => u.removeEventListener("wheel", w);
3619
+ }, []), gt(() => {
3620
+ h();
3621
+ const u = i.current;
3622
+ if (u)
3623
+ return u.addEventListener("scroll", h, { passive: !0 }), window.addEventListener("resize", h), () => {
3624
+ u.removeEventListener("scroll", h), window.removeEventListener("resize", h);
3606
3625
  };
3607
3626
  }, []), /* @__PURE__ */ o.jsxs("div", { ref: g, className: k(ct.wrapper, n), children: [
3608
- h && /* @__PURE__ */ o.jsx(
3627
+ m && /* @__PURE__ */ o.jsx(
3609
3628
  "div",
3610
3629
  {
3611
3630
  className: k(ct.mask, ct.maskLeft, s && ct.visible),
@@ -3614,7 +3633,7 @@ const Ye = Object.assign(Ii, {
3614
3633
  }
3615
3634
  }
3616
3635
  ),
3617
- y && /* @__PURE__ */ o.jsx(
3636
+ C && /* @__PURE__ */ o.jsx(
3618
3637
  "div",
3619
3638
  {
3620
3639
  className: k(ct.mask, ct.maskRight, c && ct.visible),
@@ -3624,7 +3643,7 @@ const Ye = Object.assign(Ii, {
3624
3643
  }
3625
3644
  ),
3626
3645
  /* @__PURE__ */ o.jsx("div", { ref: i, className: ct.viewport, children: t }),
3627
- h && /* @__PURE__ */ o.jsx(
3646
+ m && /* @__PURE__ */ o.jsx(
3628
3647
  "button",
3629
3648
  {
3630
3649
  type: "button",
@@ -3632,10 +3651,10 @@ const Ye = Object.assign(Ii, {
3632
3651
  "aria-hidden": "true",
3633
3652
  className: k(ct.control, ct.left, ct[a]),
3634
3653
  onClick: () => x("left"),
3635
- children: /* @__PURE__ */ o.jsx(C, { direction: "left" })
3654
+ children: /* @__PURE__ */ o.jsx(y, { direction: "left" })
3636
3655
  }
3637
3656
  ),
3638
- y && /* @__PURE__ */ o.jsx(
3657
+ C && /* @__PURE__ */ o.jsx(
3639
3658
  "button",
3640
3659
  {
3641
3660
  type: "button",
@@ -3643,38 +3662,38 @@ const Ye = Object.assign(Ii, {
3643
3662
  "aria-hidden": "true",
3644
3663
  className: k(ct.control, ct.right, ct[a]),
3645
3664
  onClick: () => x("right"),
3646
- children: /* @__PURE__ */ o.jsx(C, { direction: "right" })
3665
+ children: /* @__PURE__ */ o.jsx(y, { direction: "right" })
3647
3666
  }
3648
3667
  )
3649
3668
  ] });
3650
- }, Fl = "_tabBar_1ndpm_82", Wl = "_primary_1ndpm_88", Hl = "_secondary_1ndpm_93", Vl = "_tab_1ndpm_82", Zl = "_md_1ndpm_125", ql = "_sm_1ndpm_129", Xl = "_xs_1ndpm_133", Yl = "_disabled_1ndpm_137", Gl = "_selected_1ndpm_143", Ul = "_tabLabel_1ndpm_222", Kl = "_tabPrefix_1ndpm_234", Jl = "_tabPostfix_1ndpm_270", et = {
3651
- tabBar: Fl,
3652
- primary: Wl,
3669
+ }, Wl = "_tabBar_1ndpm_82", ql = "_primary_1ndpm_88", Hl = "_secondary_1ndpm_93", Vl = "_tab_1ndpm_82", Zl = "_md_1ndpm_125", Xl = "_sm_1ndpm_129", Yl = "_xs_1ndpm_133", Gl = "_disabled_1ndpm_137", Ul = "_selected_1ndpm_143", Kl = "_tabLabel_1ndpm_222", Jl = "_tabPrefix_1ndpm_234", Ql = "_tabPostfix_1ndpm_270", et = {
3670
+ tabBar: Wl,
3671
+ primary: ql,
3653
3672
  secondary: Hl,
3654
3673
  tab: Vl,
3655
3674
  md: Zl,
3656
- sm: ql,
3657
- xs: Xl,
3658
- disabled: Yl,
3659
- selected: Gl,
3660
- tabLabel: Ul,
3661
- tabPrefix: Kl,
3662
- tabPostfix: Jl
3663
- }, Ql = "md", t1 = !1, e1 = 8, r1 = "top-right-inside", ur = tr(null), pr = () => {
3664
- const t = er(ur);
3675
+ sm: Xl,
3676
+ xs: Yl,
3677
+ disabled: Gl,
3678
+ selected: Ul,
3679
+ tabLabel: Kl,
3680
+ tabPrefix: Jl,
3681
+ tabPostfix: Ql
3682
+ }, t1 = "md", e1 = !1, r1 = 8, n1 = "top-right-inside", _r = tr(null), pr = () => {
3683
+ const t = er(_r);
3665
3684
  if (!t) throw new Error("useTabs должен использоваться внутри TabsProvider");
3666
3685
  return t;
3667
- }, n1 = ({
3686
+ }, o1 = ({
3668
3687
  children: t,
3669
3688
  defaultActiveTab: r,
3670
3689
  activeTab: n,
3671
3690
  onChange: a
3672
3691
  }) => {
3673
- const [i, s] = gt(r), l = n !== void 0, c = l ? n : i, u = (f) => {
3692
+ const [i, s] = ft(r), l = n !== void 0, c = l ? n : i, _ = (f) => {
3674
3693
  l || s(f), a && a(f);
3675
3694
  };
3676
- return /* @__PURE__ */ o.jsx(ur.Provider, { value: { activeTab: c, setTab: u }, children: t });
3677
- }, o1 = ({
3695
+ return /* @__PURE__ */ o.jsx(_r.Provider, { value: { activeTab: c, setTab: _ }, children: t });
3696
+ }, a1 = ({
3678
3697
  mode: t,
3679
3698
  item: r,
3680
3699
  isActive: n,
@@ -3685,45 +3704,45 @@ const Ye = Object.assign(Ii, {
3685
3704
  onSelectTab: c
3686
3705
  }) => {
3687
3706
  const {
3688
- value: u,
3707
+ value: _,
3689
3708
  label: f,
3690
3709
  prefix: d,
3691
3710
  prefixWrapperProps: g = {},
3692
3711
  postfix: b,
3693
- postfixWrapperProps: h = {}
3694
- } = r, { className: y, ...C } = g, { className: m, ...x } = h, p = {
3712
+ postfixWrapperProps: m = {}
3713
+ } = r, { className: C, ...y } = g, { className: h, ...x } = m, u = {
3695
3714
  primary: G["typography-label-3-medium"],
3696
3715
  secondary: G["typography-label-3-regular"],
3697
3716
  prefix: G["typography-label-3-medium"],
3698
3717
  postfix: G["typography-label-3-medium"]
3699
3718
  }, w = {
3700
- size: e1,
3701
- position: r1,
3719
+ size: r1,
3720
+ position: n1,
3702
3721
  ...i
3703
3722
  }, S = k(et.tab, et[t], et[s], {
3704
3723
  [et.selected]: n,
3705
3724
  [et.disabled]: l
3706
- }), T = k(
3725
+ }), E = k(
3707
3726
  et.tabPrefix,
3708
- y,
3727
+ C,
3709
3728
  et[t],
3710
- p.prefix,
3729
+ u.prefix,
3711
3730
  {
3712
3731
  [et.selected]: n,
3713
3732
  [et.disabled]: l
3714
3733
  }
3715
- ), $ = k(
3734
+ ), j = k(
3716
3735
  et.tabPostfix,
3717
- m,
3736
+ h,
3718
3737
  et[t],
3719
- p.postfix,
3738
+ u.postfix,
3720
3739
  {
3721
3740
  [et.selected]: n,
3722
3741
  [et.disabled]: l
3723
3742
  }
3724
- ), E = k(et.tabLabel, et[t], p[t]), B = (F) => {
3725
- n || l || (c(u), F.currentTarget.scrollIntoView({ behavior: "smooth", inline: "center", block: "nearest" }));
3726
- }, A = /* @__PURE__ */ o.jsxs(
3743
+ ), N = k(et.tabLabel, et[t], u[t]), T = (O) => {
3744
+ n || l || (c(_), O.currentTarget.scrollIntoView({ behavior: "smooth", inline: "center", block: "nearest" }));
3745
+ }, R = /* @__PURE__ */ o.jsxs(
3727
3746
  "button",
3728
3747
  {
3729
3748
  className: S,
@@ -3731,41 +3750,41 @@ const Ye = Object.assign(Ii, {
3731
3750
  "aria-label": f,
3732
3751
  "aria-selected": n,
3733
3752
  "aria-disabled": l,
3734
- "aria-controls": `tab-panel-${u}`,
3735
- "data-testid": `tab-item-${u}`,
3736
- onClick: B,
3753
+ "aria-controls": `tab-panel-${_}`,
3754
+ "data-testid": `tab-item-${_}`,
3755
+ onClick: T,
3737
3756
  children: [
3738
3757
  d && /* @__PURE__ */ o.jsx(
3739
3758
  "span",
3740
3759
  {
3741
- className: T,
3742
- ...C,
3743
- "data-testid": `tab-prefix-${u}`,
3760
+ className: E,
3761
+ ...y,
3762
+ "data-testid": `tab-prefix-${_}`,
3744
3763
  children: d
3745
3764
  }
3746
3765
  ),
3747
- /* @__PURE__ */ o.jsx("span", { className: E, "data-testid": `tab-label-${u}`, children: f }),
3766
+ /* @__PURE__ */ o.jsx("span", { className: N, "data-testid": `tab-label-${_}`, children: f }),
3748
3767
  b && /* @__PURE__ */ o.jsx(
3749
3768
  "span",
3750
3769
  {
3751
- className: $,
3770
+ className: j,
3752
3771
  ...x,
3753
- "data-testid": `tab-postfix-${u}`,
3772
+ "data-testid": `tab-postfix-${_}`,
3754
3773
  children: b
3755
3774
  }
3756
3775
  )
3757
3776
  ]
3758
3777
  }
3759
3778
  );
3760
- return a ? /* @__PURE__ */ o.jsx(Na, { ...w, "data-testid": `tab-badge-${u}`, children: A }) : A;
3761
- }, a1 = ({
3779
+ return a ? /* @__PURE__ */ o.jsx(Ra, { ...w, "data-testid": `tab-badge-${_}`, children: R }) : R;
3780
+ }, s1 = ({
3762
3781
  mode: t,
3763
3782
  items: r,
3764
- size: n = Ql,
3765
- isAllItemsDisabled: a = t1
3783
+ size: n = t1,
3784
+ isAllItemsDisabled: a = e1
3766
3785
  }) => {
3767
3786
  const { activeTab: i, setTab: s } = pr(), l = Io();
3768
- return /* @__PURE__ */ o.jsx(Dl, { size: n, withControls: l, children: /* @__PURE__ */ o.jsx(
3787
+ return /* @__PURE__ */ o.jsx(Fl, { size: n, withControls: l, children: /* @__PURE__ */ o.jsx(
3769
3788
  "div",
3770
3789
  {
3771
3790
  role: "tablist",
@@ -3773,7 +3792,7 @@ const Ye = Object.assign(Ii, {
3773
3792
  "aria-orientation": "horizontal",
3774
3793
  className: k(et.tabBar, et[t]),
3775
3794
  children: r.map((c) => /* @__PURE__ */ o.jsx(
3776
- o1,
3795
+ a1,
3777
3796
  {
3778
3797
  size: n,
3779
3798
  item: c,
@@ -3788,7 +3807,7 @@ const Ye = Object.assign(Ii, {
3788
3807
  ))
3789
3808
  }
3790
3809
  ) });
3791
- }, s1 = ({ tabValue: t, children: r, ...n }) => /* @__PURE__ */ o.jsx(
3810
+ }, i1 = ({ tabValue: t, children: r, ...n }) => /* @__PURE__ */ o.jsx(
3792
3811
  "div",
3793
3812
  {
3794
3813
  role: "tabpanel",
@@ -3797,32 +3816,32 @@ const Ye = Object.assign(Ii, {
3797
3816
  ...n,
3798
3817
  children: r
3799
3818
  }
3800
- ), i1 = ({ children: t, ...r }) => {
3801
- const { activeTab: n } = pr(), a = Array.isArray(t) ? t : [t], i = (s, l) => be.isValidElement(s) && typeof s.props == "object" && s.props !== null && l in s.props;
3819
+ ), l1 = ({ children: t, ...r }) => {
3820
+ const { activeTab: n } = pr(), a = Array.isArray(t) ? t : [t], i = (s, l) => me.isValidElement(s) && typeof s.props == "object" && s.props !== null && l in s.props;
3802
3821
  return /* @__PURE__ */ o.jsx("div", { "data-testid": "tab-content", ...r, children: a.map((s) => i(s, "tabValue") && String(s.props.tabValue) === n ? s : null) });
3803
- }, nc = {
3804
- Provider: n1,
3805
- Content: i1,
3806
- Panel: s1,
3807
- Bar: a1
3808
- }, l1 = "_root_1fbbw_34", c1 = "_open_1fbbw_51", d1 = "_xs_1fbbw_55", u1 = "_s_1fbbw_61", p1 = "_m_1fbbw_67", _1 = "_neutral_1fbbw_73", f1 = "_contrast_1fbbw_78", g1 = "_accent_1fbbw_84", h1 = "_typography_1fbbw_89", b1 = "_title_1fbbw_89", m1 = "_text_1fbbw_93", y1 = "_mediaWrapper_1fbbw_97", x1 = "_content_1fbbw_112", v1 = "_closeButton_1fbbw_116", C1 = "_hasMedia_1fbbw_142", w1 = "_buttonStack_1fbbw_148", dt = {
3809
- root: l1,
3810
- open: c1,
3811
- xs: d1,
3812
- s: u1,
3822
+ }, $c = {
3823
+ Provider: o1,
3824
+ Content: l1,
3825
+ Panel: i1,
3826
+ Bar: s1
3827
+ }, c1 = "_root_1fbbw_34", d1 = "_open_1fbbw_51", u1 = "_xs_1fbbw_55", _1 = "_s_1fbbw_61", p1 = "_m_1fbbw_67", f1 = "_neutral_1fbbw_73", g1 = "_contrast_1fbbw_78", h1 = "_accent_1fbbw_84", m1 = "_typography_1fbbw_89", b1 = "_title_1fbbw_89", x1 = "_text_1fbbw_93", y1 = "_mediaWrapper_1fbbw_97", v1 = "_content_1fbbw_112", C1 = "_closeButton_1fbbw_116", w1 = "_hasMedia_1fbbw_142", k1 = "_buttonStack_1fbbw_148", dt = {
3828
+ root: c1,
3829
+ open: d1,
3830
+ xs: u1,
3831
+ s: _1,
3813
3832
  m: p1,
3814
- neutral: _1,
3815
- contrast: f1,
3816
- accent: g1,
3817
- typography: h1,
3833
+ neutral: f1,
3834
+ contrast: g1,
3835
+ accent: h1,
3836
+ typography: m1,
3818
3837
  title: b1,
3819
- text: m1,
3838
+ text: x1,
3820
3839
  mediaWrapper: y1,
3821
- content: x1,
3822
- closeButton: v1,
3823
- hasMedia: C1,
3824
- buttonStack: w1
3825
- }, S1 = () => /* @__PURE__ */ o.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", stroke: "currentColor", children: /* @__PURE__ */ o.jsx("path", { d: "M18 6 6 18M6 6l12 12" }) }), k1 = () => /* @__PURE__ */ o.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 9", fill: "currentColor", children: [
3840
+ content: v1,
3841
+ closeButton: C1,
3842
+ hasMedia: w1,
3843
+ buttonStack: k1
3844
+ }, S1 = () => /* @__PURE__ */ o.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", stroke: "currentColor", children: /* @__PURE__ */ o.jsx("path", { d: "M18 6 6 18M6 6l12 12" }) }), L1 = () => /* @__PURE__ */ o.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 9", fill: "currentColor", children: [
3826
3845
  /* @__PURE__ */ o.jsx(
3827
3846
  "path",
3828
3847
  {
@@ -3830,132 +3849,132 @@ const Ye = Object.assign(Ii, {
3830
3849
  }
3831
3850
  ),
3832
3851
  /* @__PURE__ */ o.jsx("path", { d: "M-2 0.000390053L26 0.000390053V-1L-2 -1L-2 0.000390053Z" })
3833
- ] }), mt = {
3852
+ ] }), bt = {
3834
3853
  shiftX: 64,
3835
3854
  adjustY: 1
3836
- }, yt = { adjustX: 1, shiftY: !0 }, L1 = {
3855
+ }, xt = { adjustX: 1, shiftY: !0 }, j1 = {
3837
3856
  left: {
3838
3857
  points: ["cr", "cl"],
3839
- overflow: yt,
3858
+ overflow: xt,
3840
3859
  offset: [-22, 0]
3841
3860
  },
3842
3861
  right: {
3843
3862
  points: ["cl", "cr"],
3844
- overflow: yt,
3863
+ overflow: xt,
3845
3864
  offset: [22, 0]
3846
3865
  },
3847
3866
  top: {
3848
3867
  points: ["bc", "tc"],
3849
- overflow: mt,
3868
+ overflow: bt,
3850
3869
  offset: [0, -22]
3851
3870
  },
3852
3871
  bottom: {
3853
3872
  points: ["tc", "bc"],
3854
- overflow: mt,
3873
+ overflow: bt,
3855
3874
  offset: [0, 22]
3856
3875
  },
3857
3876
  topLeft: {
3858
3877
  points: ["bl", "tl"],
3859
- overflow: mt,
3878
+ overflow: bt,
3860
3879
  offset: [0, -22]
3861
3880
  },
3862
3881
  leftTop: {
3863
3882
  points: ["tr", "tl"],
3864
- overflow: yt,
3883
+ overflow: xt,
3865
3884
  offset: [-22, 0]
3866
3885
  },
3867
3886
  topRight: {
3868
3887
  points: ["br", "tr"],
3869
- overflow: mt,
3888
+ overflow: bt,
3870
3889
  offset: [0, -22]
3871
3890
  },
3872
3891
  rightTop: {
3873
3892
  points: ["tl", "tr"],
3874
- overflow: yt,
3893
+ overflow: xt,
3875
3894
  offset: [22, 0]
3876
3895
  },
3877
3896
  bottomRight: {
3878
3897
  points: ["tr", "br"],
3879
- overflow: mt,
3898
+ overflow: bt,
3880
3899
  offset: [0, 22]
3881
3900
  },
3882
3901
  rightBottom: {
3883
3902
  points: ["bl", "br"],
3884
- overflow: yt,
3903
+ overflow: xt,
3885
3904
  offset: [22, 0]
3886
3905
  },
3887
3906
  bottomLeft: {
3888
3907
  points: ["tl", "bl"],
3889
- overflow: mt,
3908
+ overflow: bt,
3890
3909
  offset: [0, 22]
3891
3910
  },
3892
3911
  leftBottom: {
3893
3912
  points: ["br", "bl"],
3894
- overflow: yt,
3913
+ overflow: xt,
3895
3914
  offset: [-22, 0]
3896
3915
  }
3897
- }, j1 = {
3916
+ }, $1 = {
3898
3917
  left: {
3899
3918
  points: ["cr", "cl"],
3900
- overflow: yt,
3919
+ overflow: xt,
3901
3920
  offset: [-16, 0]
3902
3921
  },
3903
3922
  right: {
3904
3923
  points: ["cl", "cr"],
3905
- overflow: yt,
3924
+ overflow: xt,
3906
3925
  offset: [16, 0]
3907
3926
  },
3908
3927
  top: {
3909
3928
  points: ["bc", "tc"],
3910
- overflow: mt,
3929
+ overflow: bt,
3911
3930
  offset: [0, -16]
3912
3931
  },
3913
3932
  bottom: {
3914
3933
  points: ["tc", "bc"],
3915
- overflow: mt,
3934
+ overflow: bt,
3916
3935
  offset: [0, 16]
3917
3936
  },
3918
3937
  topLeft: {
3919
3938
  points: ["bl", "tl"],
3920
- overflow: mt,
3939
+ overflow: bt,
3921
3940
  offset: [0, -16]
3922
3941
  },
3923
3942
  leftTop: {
3924
3943
  points: ["tr", "tl"],
3925
- overflow: yt,
3944
+ overflow: xt,
3926
3945
  offset: [-16, 0]
3927
3946
  },
3928
3947
  topRight: {
3929
3948
  points: ["br", "tr"],
3930
- overflow: mt,
3949
+ overflow: bt,
3931
3950
  offset: [0, -16]
3932
3951
  },
3933
3952
  rightTop: {
3934
3953
  points: ["tl", "tr"],
3935
- overflow: yt,
3954
+ overflow: xt,
3936
3955
  offset: [16, 0]
3937
3956
  },
3938
3957
  bottomRight: {
3939
3958
  points: ["tr", "br"],
3940
- overflow: mt,
3959
+ overflow: bt,
3941
3960
  offset: [0, 16]
3942
3961
  },
3943
3962
  rightBottom: {
3944
3963
  points: ["bl", "br"],
3945
- overflow: yt,
3964
+ overflow: xt,
3946
3965
  offset: [16, 0]
3947
3966
  },
3948
3967
  bottomLeft: {
3949
3968
  points: ["tl", "bl"],
3950
- overflow: mt,
3969
+ overflow: bt,
3951
3970
  offset: [0, 16]
3952
3971
  },
3953
3972
  leftBottom: {
3954
3973
  points: ["br", "bl"],
3955
- overflow: yt,
3974
+ overflow: xt,
3956
3975
  offset: [-16, 0]
3957
3976
  }
3958
- }, $1 = {
3977
+ }, T1 = {
3959
3978
  neutral: {
3960
3979
  1: [{ mode: "secondary", buttonStyle: "neutral", size: "s" }],
3961
3980
  2: [
@@ -3992,8 +4011,8 @@ const Ye = Object.assign(Ii, {
3992
4011
  { mode: "primary", buttonStyle: "accent", size: "s" }
3993
4012
  ]
3994
4013
  }
3995
- }, T1 = (t, r, n) => ({ ...r, ...n ?? {}, ...t }), E1 = (t, r, n) => {
3996
- const a = go(r, 1, 3), i = $1[n][a];
4014
+ }, E1 = (t, r, n) => ({ ...r, ...n ?? {}, ...t }), N1 = (t, r, n) => {
4015
+ const a = go(r, 1, 3), i = T1[n][a];
3997
4016
  return i[Math.min(t, i.length - 1)];
3998
4017
  }, Ue = ({
3999
4018
  text: t,
@@ -4004,12 +4023,12 @@ const Ye = Object.assign(Ii, {
4004
4023
  classNames: s = {},
4005
4024
  onClose: l,
4006
4025
  buttons: c,
4007
- buttonProps: u,
4026
+ buttonProps: _,
4008
4027
  showClose: f
4009
4028
  }) => {
4010
- const d = ["neutral", "accent"].includes(a) ? "contrast" : "primary", g = i === "m", b = !!(r && g), h = !!(n && g), y = c && !!c.length, C = !!(f && g) || !f && g && !y, m = i === "xs" ? 4 : 3;
4029
+ const d = ["neutral", "accent"].includes(a) ? "contrast" : "primary", g = i === "m", b = !!(r && g), m = !!(n && g), C = c && !!c.length, y = !!(f && g) || !f && g && !C, h = i === "xs" ? 4 : 3;
4011
4030
  return /* @__PURE__ */ o.jsxs("div", { className: dt.content, children: [
4012
- h && /* @__PURE__ */ o.jsx("div", { className: k(dt.mediaWrapper, s.mediaWrapper), children: n }),
4031
+ m && /* @__PURE__ */ o.jsx("div", { className: k(dt.mediaWrapper, s.mediaWrapper), children: n }),
4013
4032
  /* @__PURE__ */ o.jsxs("div", { className: s.textWrapper, children: [
4014
4033
  b && /* @__PURE__ */ o.jsx(
4015
4034
  he.Subtitle,
@@ -4026,17 +4045,17 @@ const Ye = Object.assign(Ii, {
4026
4045
  {
4027
4046
  className: k(dt.typography, dt.text, s.typography),
4028
4047
  typographyStyle: d,
4029
- size: m,
4048
+ size: h,
4030
4049
  children: t
4031
4050
  }
4032
4051
  )
4033
4052
  ] }),
4034
- C && /* @__PURE__ */ o.jsx(
4053
+ y && /* @__PURE__ */ o.jsx(
4035
4054
  "button",
4036
4055
  {
4037
4056
  type: "button",
4038
4057
  className: k(dt.closeButton, dt[a], s.closeButton, {
4039
- [dt.hasMedia]: h
4058
+ [dt.hasMedia]: m
4040
4059
  }),
4041
4060
  onClick: l,
4042
4061
  "aria-label": "Закрыть подсказку",
@@ -4044,15 +4063,15 @@ const Ye = Object.assign(Ii, {
4044
4063
  children: /* @__PURE__ */ o.jsx(S1, {})
4045
4064
  }
4046
4065
  ),
4047
- g && y && /* @__PURE__ */ o.jsx("div", { className: dt.buttonStack, children: c.map((x, p) => {
4048
- const w = E1(p, c.length, a), S = T1(x, w, u), { closeOnClick: T, ...$ } = S, E = (B) => {
4049
- var A;
4050
- (A = $.onClick) == null || A.call($, B), T && (l == null || l());
4066
+ g && C && /* @__PURE__ */ o.jsx("div", { className: dt.buttonStack, children: c.map((x, u) => {
4067
+ const w = N1(u, c.length, a), S = E1(x, w, _), { closeOnClick: E, ...j } = S, N = (T) => {
4068
+ var R;
4069
+ (R = j.onClick) == null || R.call(j, T), E && (l == null || l());
4051
4070
  };
4052
- return /* @__PURE__ */ o.jsx(ge, { ...$, onClick: E }, p);
4071
+ return /* @__PURE__ */ o.jsx(ge, { ...j, onClick: N }, u);
4053
4072
  }) })
4054
4073
  ] });
4055
- }, oc = ({
4074
+ }, Tc = ({
4056
4075
  customContent: t,
4057
4076
  children: r,
4058
4077
  placement: n = "top",
@@ -4061,32 +4080,32 @@ const Ye = Object.assign(Ii, {
4061
4080
  mouseLeaveDelay: s = 0.1,
4062
4081
  showArrow: l = !0,
4063
4082
  showClose: c = !0,
4064
- trigger: u = "hover",
4083
+ trigger: _ = "hover",
4065
4084
  variant: f = "neutral",
4066
4085
  size: d = "s",
4067
4086
  text: g,
4068
4087
  title: b,
4069
- media: h,
4070
- buttons: y,
4071
- buttonProps: C,
4072
- onClose: m,
4088
+ media: m,
4089
+ buttons: C,
4090
+ buttonProps: y,
4091
+ onClose: h,
4073
4092
  ...x
4074
4093
  }) => {
4075
- const [p, w] = gt(!1), [S, T] = gt(!1), $ = d === "m" ? L1 : j1, E = () => {
4076
- w(!1), m == null || m();
4077
- }, B = t || (d === "m" ? /* @__PURE__ */ o.jsx(
4094
+ const [u, w] = ft(!1), [S, E] = ft(!1), j = d === "m" ? j1 : $1, N = () => {
4095
+ w(!1), h == null || h();
4096
+ }, T = t || (d === "m" ? /* @__PURE__ */ o.jsx(
4078
4097
  Ue,
4079
4098
  {
4080
4099
  classNames: a,
4081
4100
  text: g,
4082
4101
  variant: f,
4083
4102
  size: d,
4084
- onClose: E,
4103
+ onClose: N,
4085
4104
  title: b,
4086
- media: h,
4105
+ media: m,
4087
4106
  showClose: c,
4088
- buttons: y,
4089
- buttonProps: C
4107
+ buttons: C,
4108
+ buttonProps: y
4090
4109
  }
4091
4110
  ) : /* @__PURE__ */ o.jsx(
4092
4111
  Ue,
@@ -4095,33 +4114,33 @@ const Ye = Object.assign(Ii, {
4095
4114
  text: g,
4096
4115
  variant: f,
4097
4116
  size: d,
4098
- onClose: E
4117
+ onClose: N
4099
4118
  }
4100
4119
  ));
4101
- return ut(() => {
4102
- if (p) {
4103
- const A = requestAnimationFrame(() => T(!0));
4104
- return () => cancelAnimationFrame(A);
4120
+ return gt(() => {
4121
+ if (u) {
4122
+ const R = requestAnimationFrame(() => E(!0));
4123
+ return () => cancelAnimationFrame(R);
4105
4124
  }
4106
- T(!1);
4107
- }, [p]), /* @__PURE__ */ o.jsx(
4108
- qr,
4125
+ E(!1);
4126
+ }, [u]), /* @__PURE__ */ o.jsx(
4127
+ Zr,
4109
4128
  {
4110
- visible: p,
4129
+ visible: u,
4111
4130
  onVisibleChange: w,
4112
4131
  classNames: {
4113
4132
  root: k(dt.root, dt[f], dt[d], S && dt.open),
4114
4133
  ...x.classNames
4115
4134
  },
4116
4135
  placement: n,
4117
- overlay: () => B,
4118
- trigger: u,
4136
+ overlay: () => T,
4137
+ trigger: _,
4119
4138
  mouseEnterDelay: i,
4120
4139
  mouseLeaveDelay: s,
4121
4140
  motion: { motionName: "tooltipMotion" },
4122
- builtinPlacements: $,
4141
+ builtinPlacements: j,
4123
4142
  showArrow: l ? {
4124
- content: /* @__PURE__ */ o.jsx(k1, {}),
4143
+ content: /* @__PURE__ */ o.jsx(L1, {}),
4125
4144
  className: `tooltipArrow tooltipArrow-${d}`
4126
4145
  } : !1,
4127
4146
  destroyTooltipOnHide: !0,
@@ -4129,22 +4148,45 @@ const Ye = Object.assign(Ii, {
4129
4148
  children: r
4130
4149
  }
4131
4150
  );
4132
- }, R1 = "_segmentedControl_1yvz7_5", N1 = "_segment_1yvz7_5", I1 = "_activeSegmentIndicator_1yvz7_51", M1 = "_stretched_1yvz7_82", B1 = "_s_1yvz7_5", A1 = "_icon_1yvz7_90", O1 = "_label_1yvz7_94", z1 = "_m_1yvz7_98", P1 = "_l_1yvz7_94", Ot = {
4133
- segmentedControl: R1,
4134
- segment: N1,
4135
- activeSegmentIndicator: I1,
4136
- stretched: M1,
4137
- s: B1,
4138
- icon: A1,
4139
- label: O1,
4140
- m: z1,
4141
- l: P1
4151
+ }, R1 = "_base_4dkq5_1", I1 = "_content_4dkq5_1", M1 = "_background_4dkq5_1", B1 = "_button_4dkq5_1", A1 = "_link_4dkq5_1", O1 = "_input_4dkq5_1", P1 = "_suffix_4dkq5_1", z1 = "_prefix_4dkq5_1", D1 = "_tooltip_4dkq5_1", F1 = "_hint_4dkq5_1", W1 = "_dropdown_4dkq5_1", q1 = "_popover_4dkq5_1", H1 = "_modalBackdrop_4dkq5_1", V1 = "_modal_4dkq5_1", Z1 = "_overlay_4dkq5_1", X1 = "_drawer_4dkq5_1", Y1 = "_notification_4dkq5_1", G1 = "_alert_4dkq5_1", U1 = "_toast_4dkq5_1", K1 = "_loading_4dkq5_1", J1 = "_error_4dkq5_1", Q1 = "_critical_4dkq5_1", tc = "_segmentedControl_4dkq5_7", ec = "_segment_4dkq5_7", rc = "_activeSegmentIndicator_4dkq5_61", nc = "_selected_4dkq5_80", oc = "_stretched_4dkq5_89", ac = "_disabled_4dkq5_97", sc = "_s_4dkq5_7", ic = "_icon_4dkq5_110", lc = "_label_4dkq5_114", cc = "_m_4dkq5_1", dc = "_l_4dkq5_114", Et = {
4152
+ base: R1,
4153
+ content: I1,
4154
+ background: M1,
4155
+ button: B1,
4156
+ link: A1,
4157
+ input: O1,
4158
+ suffix: P1,
4159
+ prefix: z1,
4160
+ tooltip: D1,
4161
+ hint: F1,
4162
+ dropdown: W1,
4163
+ popover: q1,
4164
+ modalBackdrop: H1,
4165
+ modal: V1,
4166
+ overlay: Z1,
4167
+ drawer: X1,
4168
+ notification: Y1,
4169
+ alert: G1,
4170
+ toast: U1,
4171
+ loading: K1,
4172
+ error: J1,
4173
+ critical: Q1,
4174
+ segmentedControl: tc,
4175
+ segment: ec,
4176
+ activeSegmentIndicator: rc,
4177
+ selected: nc,
4178
+ stretched: oc,
4179
+ disabled: ac,
4180
+ s: sc,
4181
+ icon: ic,
4182
+ label: lc,
4183
+ m: cc,
4184
+ l: dc
4142
4185
  }, Ke = {
4143
4186
  s: G["typography-label-3-regular"],
4144
4187
  m: G["typography-label-2-regular"],
4145
4188
  l: G["typography-label-2-regular"]
4146
- }, ac = (t) => {
4147
- var p;
4189
+ }, Ec = (t) => {
4148
4190
  const {
4149
4191
  className: r,
4150
4192
  defaultValue: n,
@@ -4152,76 +4194,80 @@ const Ye = Object.assign(Ii, {
4152
4194
  size: i = "m",
4153
4195
  segments: s,
4154
4196
  stretched: l,
4155
- mode: c = "label",
4156
- onChange: u
4157
- } = t, f = me(), [d, g] = gt(n || s[0].value), [b, h] = gt({ width: 0, left: 0 }), y = Vt(null);
4158
- ut(() => {
4159
- a && g(a);
4160
- }, [a]), ut(() => {
4161
- C();
4162
- }, [d, s, i, l, c]);
4163
- const C = () => {
4164
- if (!(y != null && y.current)) return;
4165
- const w = y.current.querySelector(
4197
+ disabled: c = !1,
4198
+ mode: _ = "label",
4199
+ onChange: f,
4200
+ ...d
4201
+ } = t, g = be(), [b, m] = ft(n || s[0].value), [C, y] = ft({ width: 0, left: 0, height: 0 }), h = Vt(null);
4202
+ gt(() => {
4203
+ a != null && m(a);
4204
+ }, [a]), rr(() => {
4205
+ x();
4206
+ }, [b, s, i, l, _]);
4207
+ const x = () => {
4208
+ if (!(h != null && h.current)) return;
4209
+ const w = h.current.querySelector(
4166
4210
  '[data-is-active-segment="true"]'
4167
4211
  );
4168
- w && h({
4212
+ w && y({
4169
4213
  width: w.offsetWidth,
4170
- left: w.offsetLeft
4214
+ left: w.offsetLeft,
4215
+ height: w.offsetHeight
4171
4216
  });
4172
- }, m = (p = s.find((w) => w.value === d)) == null ? void 0 : p.label, x = (w) => {
4173
- g(w), u == null || u(w);
4217
+ }, u = (w) => {
4218
+ c || (m(w), f == null || f(w));
4174
4219
  };
4175
4220
  return (s == null ? void 0 : s.length) === 0 ? null : /* @__PURE__ */ o.jsxs(
4176
- "div",
4221
+ "fieldset",
4177
4222
  {
4178
4223
  className: k(
4179
- Ot.segmentedControl,
4180
- Ot[i],
4181
- Ot[c],
4224
+ Et.segmentedControl,
4225
+ Et[i],
4226
+ Et[_],
4182
4227
  {
4183
- [Ot.stretched]: l
4228
+ [Et.stretched]: l,
4229
+ [Et.disabled]: c
4184
4230
  },
4185
4231
  r
4186
4232
  ),
4187
4233
  "data-testid": "segmented-control-container",
4188
- ref: y,
4234
+ ref: h,
4235
+ disabled: c,
4236
+ ...d,
4189
4237
  children: [
4190
- s == null ? void 0 : s.map(({ label: w, value: S }, T) => {
4191
- const $ = () => x(S);
4238
+ s == null ? void 0 : s.map(({ label: w, value: S, containerProps: E = {} }, j) => {
4239
+ const { className: N, ...T } = E, R = () => u(S), O = JSON.stringify(S), D = b === S;
4192
4240
  return /* @__PURE__ */ o.jsxs(Ht, { children: [
4193
4241
  /* @__PURE__ */ o.jsx(
4194
4242
  "input",
4195
4243
  {
4196
- id: f + JSON.stringify(S),
4197
- value: JSON.stringify(S),
4244
+ id: g + O,
4245
+ value: O,
4198
4246
  type: "radio",
4199
- checked: d === S,
4200
- onClick: $
4247
+ checked: D,
4248
+ readOnly: !0
4201
4249
  }
4202
4250
  ),
4203
4251
  /* @__PURE__ */ o.jsx(
4204
4252
  "label",
4205
4253
  {
4206
- "data-is-active-segment": d === S,
4207
- className: k(Ot.segment, Ke[i]),
4208
- htmlFor: f + JSON.stringify(S),
4254
+ "data-is-active-segment": D,
4255
+ className: k(Et.segment, Ke[i], { [Et.selected]: D }, N),
4256
+ htmlFor: g + O,
4209
4257
  "data-testid": "segmented-control-segment",
4258
+ onClick: R,
4259
+ ...T,
4210
4260
  children: w
4211
4261
  }
4212
4262
  )
4213
- ] }, te(JSON.stringify(S)) + T);
4263
+ ] }, ee(O) + j);
4214
4264
  }),
4215
4265
  /* @__PURE__ */ o.jsx(
4216
4266
  "div",
4217
4267
  {
4218
- className: k(Ot.activeSegmentIndicator, Ke[i]),
4219
- "data-testid": "segmented-control-active-segment",
4220
- style: {
4221
- width: b.width,
4222
- left: b.left
4223
- },
4224
- children: m
4268
+ className: k(Et.activeSegmentIndicator, Ke[i]),
4269
+ "data-testid": "segmented-control-segment-active-indicator",
4270
+ style: C
4225
4271
  }
4226
4272
  )
4227
4273
  ]
@@ -4229,28 +4275,28 @@ const Ye = Object.assign(Ii, {
4229
4275
  );
4230
4276
  };
4231
4277
  export {
4232
- Z1 as Alert,
4278
+ hc as Alert,
4233
4279
  Ao as Avatar,
4234
- Na as Badge,
4280
+ Ra as Badge,
4235
4281
  ge as Button,
4236
- K1 as Checkbox,
4237
- Y1 as ConfigProvider,
4238
- tc as Helper,
4239
- q1 as Image,
4240
- rc as List,
4241
- nr as Loader,
4242
- V1 as Modal,
4243
- ka as Placeholder,
4244
- ec as Radio,
4245
- ac as SegmentedControl,
4246
- nc as Tabs,
4247
- U1 as Tag,
4248
- Q1 as TextArea,
4249
- J1 as TextInput,
4250
- oc as Tooltip,
4282
+ Cc as Checkbox,
4283
+ xc as ConfigProvider,
4284
+ Sc as Helper,
4285
+ mc as Image,
4286
+ jc as List,
4287
+ or as Loader,
4288
+ gc as Modal,
4289
+ Sa as Placeholder,
4290
+ Lc as Radio,
4291
+ Ec as SegmentedControl,
4292
+ $c as Tabs,
4293
+ vc as Tag,
4294
+ kc as TextArea,
4295
+ wc as TextInput,
4296
+ Tc as Tooltip,
4251
4297
  he as Typography,
4252
- Oa as enUS,
4253
- G1 as ruRU,
4298
+ Pa as enUS,
4299
+ yc as ruRU,
4254
4300
  za as useConfig,
4255
- X1 as useLocale
4301
+ bc as useLocale
4256
4302
  };