skillgrid 0.0.21 → 0.0.22-dev-31782-avatar.1141064

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.
Files changed (51) hide show
  1. package/dist/components/Avatar/Avatar.type.d.ts +5 -2
  2. package/dist/components/Avatar/lib/get-avatar-border-radius-by-size-and-shape.d.ts +5 -0
  3. package/dist/components/Button/Button.d.ts +2 -3
  4. package/dist/components/Checkbox/Checkbox.d.ts +18 -0
  5. package/dist/components/Checkbox/Checkbox.type.d.ts +90 -0
  6. package/dist/components/Checkbox/assets/CheckIcon.d.ts +16 -0
  7. package/dist/components/Checkbox/assets/LineIcon.d.ts +16 -0
  8. package/dist/components/Checkbox/index.d.ts +2 -0
  9. package/dist/components/Helper/Helper.d.ts +7 -0
  10. package/dist/components/Helper/Helper.type.d.ts +17 -0
  11. package/dist/components/Helper/index.d.ts +2 -0
  12. package/dist/components/InputBase/Input.d.ts +9 -0
  13. package/dist/components/InputBase/Input.type.d.ts +138 -0
  14. package/dist/components/InputBase/InputBase.d.ts +6 -0
  15. package/dist/components/InputBase/InputBase.type.d.ts +110 -0
  16. package/dist/components/InputBase/assets/GripIcon.d.ts +8 -0
  17. package/dist/components/InputBase/assets/SearchIcon.d.ts +17 -0
  18. package/dist/components/InputBase/assets/XIcon.d.ts +18 -0
  19. package/dist/components/InputBase/assets/index.d.ts +3 -0
  20. package/dist/components/InputBase/index.d.ts +3 -0
  21. package/dist/components/InputBase/lib/constants.d.ts +4 -0
  22. package/dist/components/InputBase/lib/index.d.ts +4 -0
  23. package/dist/components/InputBase/lib/useGripResize.d.ts +11 -0
  24. package/dist/components/InputBase/lib/useInputSync.d.ts +11 -0
  25. package/dist/components/InputBase/lib/useTextareaResize.d.ts +9 -0
  26. package/dist/components/List/List.d.ts +5 -0
  27. package/dist/components/List/List.type.d.ts +34 -0
  28. package/dist/components/List/ListItem/ListItem.d.ts +9 -0
  29. package/dist/components/List/index.d.ts +2 -0
  30. package/dist/components/TextArea/TextArea.d.ts +6 -0
  31. package/dist/components/TextArea/TextArea.type.d.ts +66 -0
  32. package/dist/components/TextArea/index.d.ts +2 -0
  33. package/dist/components/TextArea/lib/constants.d.ts +65 -0
  34. package/dist/components/TextArea/lib/getters.d.ts +38 -0
  35. package/dist/components/TextArea/lib/index.d.ts +2 -0
  36. package/dist/components/TextInput/TextInput.d.ts +6 -0
  37. package/dist/components/TextInput/TextInput.type.d.ts +72 -0
  38. package/dist/components/TextInput/index.d.ts +2 -0
  39. package/dist/components/TextInput/lib/constants.d.ts +9 -0
  40. package/dist/components/TextInput/lib/getters.d.ts +38 -0
  41. package/dist/components/TextInput/lib/index.d.ts +2 -0
  42. package/dist/components/Typography/Typography.constants.d.ts +2 -0
  43. package/dist/components/Typography/Typography.d.ts +21 -0
  44. package/dist/components/Typography/Typography.type.d.ts +68 -0
  45. package/dist/components/Typography/index.d.ts +1 -0
  46. package/dist/index.cjs.js +11 -11
  47. package/dist/index.css +1 -1
  48. package/dist/index.d.ts +2 -0
  49. package/dist/index.es.js +1208 -886
  50. package/dist/utils/other.d.ts +8 -0
  51. package/package.json +3 -2
package/dist/index.es.js CHANGED
@@ -1,9 +1,10 @@
1
- import nt, { forwardRef as H, useState as Le, useRef as ot, useEffect as st, useCallback as He, Fragment as Nt, createContext as It, useContext as At } from "react";
2
- import { clsx as ae } from "clsx";
3
- import './index.css';function Mt(r) {
4
- return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
1
+ import * as ut from "react";
2
+ import _t, { forwardRef as Q, useState as Re, useEffect as ze, useRef as pt, useCallback as et, Fragment as Bt, createContext as Ft, useContext as Vt } from "react";
3
+ import tt, { clsx as J } from "clsx";
4
+ import './index.css';function Wt(t) {
5
+ return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
5
6
  }
6
- var xe = { exports: {} }, ce = {};
7
+ var $e = { exports: {} }, ue = {};
7
8
  /**
8
9
  * @license React
9
10
  * react-jsx-runtime.production.min.js
@@ -13,21 +14,21 @@ var xe = { exports: {} }, ce = {};
13
14
  * This source code is licensed under the MIT license found in the
14
15
  * LICENSE file in the root directory of this source tree.
15
16
  */
16
- var Je;
17
- function Dt() {
18
- if (Je) return ce;
19
- Je = 1;
20
- var r = nt, s = Symbol.for("react.element"), a = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, d = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
21
- function _(f, c, h) {
22
- var p, g = {}, C = null, w = null;
23
- h !== void 0 && (C = "" + h), c.key !== void 0 && (C = "" + c.key), c.ref !== void 0 && (w = c.ref);
24
- for (p in c) o.call(c, p) && !i.hasOwnProperty(p) && (g[p] = c[p]);
25
- if (f && f.defaultProps) for (p in c = f.defaultProps, c) g[p] === void 0 && (g[p] = c[p]);
26
- return { $$typeof: s, type: f, key: C, ref: w, props: g, _owner: d.current };
17
+ var at;
18
+ function Zt() {
19
+ if (at) return ue;
20
+ at = 1;
21
+ var t = _t, o = Symbol.for("react.element"), r = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, d = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
22
+ function u(_, c, b) {
23
+ var f, g = {}, y = null, v = null;
24
+ b !== void 0 && (y = "" + b), c.key !== void 0 && (y = "" + c.key), c.ref !== void 0 && (v = c.ref);
25
+ for (f in c) n.call(c, f) && !i.hasOwnProperty(f) && (g[f] = c[f]);
26
+ if (_ && _.defaultProps) for (f in c = _.defaultProps, c) g[f] === void 0 && (g[f] = c[f]);
27
+ return { $$typeof: o, type: _, key: y, ref: v, props: g, _owner: d.current };
27
28
  }
28
- return ce.Fragment = a, ce.jsx = _, ce.jsxs = _, ce;
29
+ return ue.Fragment = r, ue.jsx = u, ue.jsxs = u, ue;
29
30
  }
30
- var ue = {};
31
+ var _e = {};
31
32
  /**
32
33
  * @license React
33
34
  * react-jsx-runtime.development.js
@@ -37,91 +38,91 @@ var ue = {};
37
38
  * This source code is licensed under the MIT license found in the
38
39
  * LICENSE file in the root directory of this source tree.
39
40
  */
40
- var Ke;
41
- function Bt() {
42
- return Ke || (Ke = 1, process.env.NODE_ENV !== "production" && function() {
43
- var r = nt, s = Symbol.for("react.element"), a = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), d = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), _ = Symbol.for("react.provider"), f = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), C = Symbol.for("react.lazy"), w = Symbol.for("react.offscreen"), $ = Symbol.iterator, k = "@@iterator";
44
- function L(e) {
41
+ var rt;
42
+ function Ut() {
43
+ return rt || (rt = 1, process.env.NODE_ENV !== "production" && function() {
44
+ var t = _t, o = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), d = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), u = Symbol.for("react.provider"), _ = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), b = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), v = Symbol.for("react.offscreen"), E = Symbol.iterator, S = "@@iterator";
45
+ function k(e) {
45
46
  if (e === null || typeof e != "object")
46
47
  return null;
47
- var t = $ && e[$] || e[k];
48
- return typeof t == "function" ? t : null;
48
+ var a = E && e[E] || e[S];
49
+ return typeof a == "function" ? a : null;
49
50
  }
50
- var S = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
51
- function y(e) {
51
+ var w = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
52
+ function C(e) {
52
53
  {
53
- for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), u = 1; u < t; u++)
54
- n[u - 1] = arguments[u];
55
- T("error", e, n);
54
+ for (var a = arguments.length, l = new Array(a > 1 ? a - 1 : 0), p = 1; p < a; p++)
55
+ l[p - 1] = arguments[p];
56
+ O("error", e, l);
56
57
  }
57
58
  }
58
- function T(e, t, n) {
59
+ function O(e, a, l) {
59
60
  {
60
- var u = S.ReactDebugCurrentFrame, m = u.getStackAddendum();
61
- m !== "" && (t += "%s", n = n.concat([m]));
62
- var x = n.map(function(v) {
63
- return String(v);
61
+ var p = w.ReactDebugCurrentFrame, x = p.getStackAddendum();
62
+ x !== "" && (a += "%s", l = l.concat([x]));
63
+ var $ = l.map(function(m) {
64
+ return String(m);
64
65
  });
65
- x.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, x);
66
+ $.unshift("Warning: " + a), Function.prototype.apply.call(console[e], console, $);
66
67
  }
67
68
  }
68
- var N = !1, U = !1, B = !1, F = !1, z = !1, A;
69
- A = Symbol.for("react.module.reference");
70
- function J(e) {
71
- return !!(typeof e == "string" || typeof e == "function" || e === o || e === i || z || e === d || e === h || e === p || F || e === w || N || U || B || typeof e == "object" && e !== null && (e.$$typeof === C || e.$$typeof === g || e.$$typeof === _ || e.$$typeof === f || e.$$typeof === c || // This needs to include all possible module reference object
69
+ var L = !1, M = !1, z = !1, P = !1, W = !1, D;
70
+ D = Symbol.for("react.module.reference");
71
+ function q(e) {
72
+ return !!(typeof e == "string" || typeof e == "function" || e === n || e === i || W || e === d || e === b || e === f || P || e === v || L || M || z || typeof e == "object" && e !== null && (e.$$typeof === y || e.$$typeof === g || e.$$typeof === u || e.$$typeof === _ || e.$$typeof === c || // This needs to include all possible module reference object
72
73
  // types supported by any Flight configuration anywhere since
73
74
  // we don't know which Flight build this will end up being used
74
75
  // with.
75
- e.$$typeof === A || e.getModuleId !== void 0));
76
+ e.$$typeof === D || e.getModuleId !== void 0));
76
77
  }
77
- function K(e, t, n) {
78
- var u = e.displayName;
79
- if (u)
80
- return u;
81
- var m = t.displayName || t.name || "";
82
- return m !== "" ? n + "(" + m + ")" : n;
78
+ function G(e, a, l) {
79
+ var p = e.displayName;
80
+ if (p)
81
+ return p;
82
+ var x = a.displayName || a.name || "";
83
+ return x !== "" ? l + "(" + x + ")" : l;
83
84
  }
84
- function G(e) {
85
+ function Z(e) {
85
86
  return e.displayName || "Context";
86
87
  }
87
88
  function I(e) {
88
89
  if (e == null)
89
90
  return null;
90
- if (typeof e.tag == "number" && y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
91
+ if (typeof e.tag == "number" && C("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
91
92
  return e.displayName || e.name || null;
92
93
  if (typeof e == "string")
93
94
  return e;
94
95
  switch (e) {
95
- case o:
96
+ case n:
96
97
  return "Fragment";
97
- case a:
98
+ case r:
98
99
  return "Portal";
99
100
  case i:
100
101
  return "Profiler";
101
102
  case d:
102
103
  return "StrictMode";
103
- case h:
104
+ case b:
104
105
  return "Suspense";
105
- case p:
106
+ case f:
106
107
  return "SuspenseList";
107
108
  }
108
109
  if (typeof e == "object")
109
110
  switch (e.$$typeof) {
110
- case f:
111
- var t = e;
112
- return G(t) + ".Consumer";
113
111
  case _:
114
- var n = e;
115
- return G(n._context) + ".Provider";
112
+ var a = e;
113
+ return Z(a) + ".Consumer";
114
+ case u:
115
+ var l = e;
116
+ return Z(l._context) + ".Provider";
116
117
  case c:
117
- return K(e, e.render, "ForwardRef");
118
+ return G(e, e.render, "ForwardRef");
118
119
  case g:
119
- var u = e.displayName || null;
120
- return u !== null ? u : I(e.type) || "Memo";
121
- case C: {
122
- var m = e, x = m._payload, v = m._init;
120
+ var p = e.displayName || null;
121
+ return p !== null ? p : I(e.type) || "Memo";
122
+ case y: {
123
+ var x = e, $ = x._payload, m = x._init;
123
124
  try {
124
- return I(v(x));
125
+ return I(m($));
125
126
  } catch {
126
127
  return null;
127
128
  }
@@ -129,18 +130,18 @@ function Bt() {
129
130
  }
130
131
  return null;
131
132
  }
132
- var V = Object.assign, Q = 0, _e, fe, pe, be, ge, ve, he;
133
- function me() {
133
+ var T = Object.assign, U = 0, fe, ge, be, he, ye, me, ve;
134
+ function Ce() {
134
135
  }
135
- me.__reactDisabledLog = !0;
136
- function we() {
136
+ Ce.__reactDisabledLog = !0;
137
+ function Se() {
137
138
  {
138
- if (Q === 0) {
139
- _e = console.log, fe = console.info, pe = console.warn, be = console.error, ge = console.group, ve = console.groupCollapsed, he = console.groupEnd;
139
+ if (U === 0) {
140
+ fe = console.log, ge = console.info, be = console.warn, he = console.error, ye = console.group, me = console.groupCollapsed, ve = console.groupEnd;
140
141
  var e = {
141
142
  configurable: !0,
142
143
  enumerable: !0,
143
- value: me,
144
+ value: Ce,
144
145
  writable: !0
145
146
  };
146
147
  Object.defineProperties(console, {
@@ -153,332 +154,332 @@ function Bt() {
153
154
  groupEnd: e
154
155
  });
155
156
  }
156
- Q++;
157
+ U++;
157
158
  }
158
159
  }
159
- function Ee() {
160
+ function ke() {
160
161
  {
161
- if (Q--, Q === 0) {
162
+ if (U--, U === 0) {
162
163
  var e = {
163
164
  configurable: !0,
164
165
  enumerable: !0,
165
166
  writable: !0
166
167
  };
167
168
  Object.defineProperties(console, {
168
- log: V({}, e, {
169
- value: _e
170
- }),
171
- info: V({}, e, {
169
+ log: T({}, e, {
172
170
  value: fe
173
171
  }),
174
- warn: V({}, e, {
175
- value: pe
172
+ info: T({}, e, {
173
+ value: ge
176
174
  }),
177
- error: V({}, e, {
175
+ warn: T({}, e, {
178
176
  value: be
179
177
  }),
180
- group: V({}, e, {
181
- value: ge
178
+ error: T({}, e, {
179
+ value: he
182
180
  }),
183
- groupCollapsed: V({}, e, {
184
- value: ve
181
+ group: T({}, e, {
182
+ value: ye
185
183
  }),
186
- groupEnd: V({}, e, {
187
- value: he
184
+ groupCollapsed: T({}, e, {
185
+ value: me
186
+ }),
187
+ groupEnd: T({}, e, {
188
+ value: ve
188
189
  })
189
190
  });
190
191
  }
191
- Q < 0 && y("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
192
+ U < 0 && C("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
192
193
  }
193
194
  }
194
- var se = S.ReactCurrentDispatcher, X;
195
- function Y(e, t, n) {
195
+ var le = w.ReactCurrentDispatcher, te;
196
+ function X(e, a, l) {
196
197
  {
197
- if (X === void 0)
198
+ if (te === void 0)
198
199
  try {
199
200
  throw Error();
200
- } catch (m) {
201
- var u = m.stack.trim().match(/\n( *(at )?)/);
202
- X = u && u[1] || "";
201
+ } catch (x) {
202
+ var p = x.stack.trim().match(/\n( *(at )?)/);
203
+ te = p && p[1] || "";
203
204
  }
204
205
  return `
205
- ` + X + e;
206
+ ` + te + e;
206
207
  }
207
208
  }
208
- var ee = !1, q;
209
+ var ae = !1, ee;
209
210
  {
210
- var ie = typeof WeakMap == "function" ? WeakMap : Map;
211
- q = new ie();
211
+ var ce = typeof WeakMap == "function" ? WeakMap : Map;
212
+ ee = new ce();
212
213
  }
213
- function Ne(e, t) {
214
- if (!e || ee)
214
+ function De(e, a) {
215
+ if (!e || ae)
215
216
  return "";
216
217
  {
217
- var n = q.get(e);
218
- if (n !== void 0)
219
- return n;
218
+ var l = ee.get(e);
219
+ if (l !== void 0)
220
+ return l;
220
221
  }
221
- var u;
222
- ee = !0;
223
- var m = Error.prepareStackTrace;
222
+ var p;
223
+ ae = !0;
224
+ var x = Error.prepareStackTrace;
224
225
  Error.prepareStackTrace = void 0;
225
- var x;
226
- x = se.current, se.current = null, we();
226
+ var $;
227
+ $ = le.current, le.current = null, Se();
227
228
  try {
228
- if (t) {
229
- var v = function() {
229
+ if (a) {
230
+ var m = function() {
230
231
  throw Error();
231
232
  };
232
- if (Object.defineProperty(v.prototype, "props", {
233
+ if (Object.defineProperty(m.prototype, "props", {
233
234
  set: function() {
234
235
  throw Error();
235
236
  }
236
237
  }), typeof Reflect == "object" && Reflect.construct) {
237
238
  try {
238
- Reflect.construct(v, []);
239
- } catch (P) {
240
- u = P;
239
+ Reflect.construct(m, []);
240
+ } catch (B) {
241
+ p = B;
241
242
  }
242
- Reflect.construct(e, [], v);
243
+ Reflect.construct(e, [], m);
243
244
  } else {
244
245
  try {
245
- v.call();
246
- } catch (P) {
247
- u = P;
246
+ m.call();
247
+ } catch (B) {
248
+ p = B;
248
249
  }
249
- e.call(v.prototype);
250
+ e.call(m.prototype);
250
251
  }
251
252
  } else {
252
253
  try {
253
254
  throw Error();
254
- } catch (P) {
255
- u = P;
255
+ } catch (B) {
256
+ p = B;
256
257
  }
257
258
  e();
258
259
  }
259
- } catch (P) {
260
- if (P && u && typeof P.stack == "string") {
261
- for (var b = P.stack.split(`
262
- `), O = u.stack.split(`
263
- `), E = b.length - 1, j = O.length - 1; E >= 1 && j >= 0 && b[E] !== O[j]; )
264
- j--;
265
- for (; E >= 1 && j >= 0; E--, j--)
266
- if (b[E] !== O[j]) {
267
- if (E !== 1 || j !== 1)
260
+ } catch (B) {
261
+ if (B && p && typeof B.stack == "string") {
262
+ for (var h = B.stack.split(`
263
+ `), A = p.stack.split(`
264
+ `), j = h.length - 1, N = A.length - 1; j >= 1 && N >= 0 && h[j] !== A[N]; )
265
+ N--;
266
+ for (; j >= 1 && N >= 0; j--, N--)
267
+ if (h[j] !== A[N]) {
268
+ if (j !== 1 || N !== 1)
268
269
  do
269
- if (E--, j--, j < 0 || b[E] !== O[j]) {
270
- var M = `
271
- ` + b[E].replace(" at new ", " at ");
272
- return e.displayName && M.includes("<anonymous>") && (M = M.replace("<anonymous>", e.displayName)), typeof e == "function" && q.set(e, M), M;
270
+ if (j--, N--, N < 0 || h[j] !== A[N]) {
271
+ var F = `
272
+ ` + h[j].replace(" at new ", " at ");
273
+ return e.displayName && F.includes("<anonymous>") && (F = F.replace("<anonymous>", e.displayName)), typeof e == "function" && ee.set(e, F), F;
273
274
  }
274
- while (E >= 1 && j >= 0);
275
+ while (j >= 1 && N >= 0);
275
276
  break;
276
277
  }
277
278
  }
278
279
  } finally {
279
- ee = !1, se.current = x, Ee(), Error.prepareStackTrace = m;
280
+ ae = !1, le.current = $, ke(), Error.prepareStackTrace = x;
280
281
  }
281
- var oe = e ? e.displayName || e.name : "", te = oe ? Y(oe) : "";
282
- return typeof e == "function" && q.set(e, te), te;
282
+ var se = e ? e.displayName || e.name : "", re = se ? X(se) : "";
283
+ return typeof e == "function" && ee.set(e, re), re;
283
284
  }
284
- function ut(e, t, n) {
285
- return Ne(e, !1);
285
+ function bt(e, a, l) {
286
+ return De(e, !1);
286
287
  }
287
- function dt(e) {
288
- var t = e.prototype;
289
- return !!(t && t.isReactComponent);
288
+ function ht(e) {
289
+ var a = e.prototype;
290
+ return !!(a && a.isReactComponent);
290
291
  }
291
- function Ce(e, t, n) {
292
+ function xe(e, a, l) {
292
293
  if (e == null)
293
294
  return "";
294
295
  if (typeof e == "function")
295
- return Ne(e, dt(e));
296
+ return De(e, ht(e));
296
297
  if (typeof e == "string")
297
- return Y(e);
298
+ return X(e);
298
299
  switch (e) {
299
- case h:
300
- return Y("Suspense");
301
- case p:
302
- return Y("SuspenseList");
300
+ case b:
301
+ return X("Suspense");
302
+ case f:
303
+ return X("SuspenseList");
303
304
  }
304
305
  if (typeof e == "object")
305
306
  switch (e.$$typeof) {
306
307
  case c:
307
- return ut(e.render);
308
+ return bt(e.render);
308
309
  case g:
309
- return Ce(e.type, t, n);
310
- case C: {
311
- var u = e, m = u._payload, x = u._init;
310
+ return xe(e.type, a, l);
311
+ case y: {
312
+ var p = e, x = p._payload, $ = p._init;
312
313
  try {
313
- return Ce(x(m), t, n);
314
+ return xe($(x), a, l);
314
315
  } catch {
315
316
  }
316
317
  }
317
318
  }
318
319
  return "";
319
320
  }
320
- var le = Object.prototype.hasOwnProperty, Ie = {}, Ae = S.ReactDebugCurrentFrame;
321
- function ye(e) {
321
+ var de = Object.prototype.hasOwnProperty, Be = {}, Fe = w.ReactDebugCurrentFrame;
322
+ function we(e) {
322
323
  if (e) {
323
- var t = e._owner, n = Ce(e.type, e._source, t ? t.type : null);
324
- Ae.setExtraStackFrame(n);
324
+ var a = e._owner, l = xe(e.type, e._source, a ? a.type : null);
325
+ Fe.setExtraStackFrame(l);
325
326
  } else
326
- Ae.setExtraStackFrame(null);
327
+ Fe.setExtraStackFrame(null);
327
328
  }
328
- function _t(e, t, n, u, m) {
329
+ function yt(e, a, l, p, x) {
329
330
  {
330
- var x = Function.call.bind(le);
331
- for (var v in e)
332
- if (x(e, v)) {
333
- var b = void 0;
331
+ var $ = Function.call.bind(de);
332
+ for (var m in e)
333
+ if ($(e, m)) {
334
+ var h = void 0;
334
335
  try {
335
- if (typeof e[v] != "function") {
336
- var O = Error((u || "React class") + ": " + n + " type `" + v + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[v] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
337
- throw O.name = "Invariant Violation", O;
336
+ if (typeof e[m] != "function") {
337
+ var A = Error((p || "React class") + ": " + l + " type `" + m + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[m] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
338
+ throw A.name = "Invariant Violation", A;
338
339
  }
339
- b = e[v](t, v, u, n, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
340
- } catch (E) {
341
- b = E;
340
+ h = e[m](a, m, p, l, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
341
+ } catch (j) {
342
+ h = j;
342
343
  }
343
- b && !(b instanceof Error) && (ye(m), y("%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).", u || "React class", n, v, typeof b), ye(null)), b instanceof Error && !(b.message in Ie) && (Ie[b.message] = !0, ye(m), y("Failed %s type: %s", n, b.message), ye(null));
344
+ h && !(h instanceof Error) && (we(x), C("%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).", p || "React class", l, m, typeof h), we(null)), h instanceof Error && !(h.message in Be) && (Be[h.message] = !0, we(x), C("Failed %s type: %s", l, h.message), we(null));
344
345
  }
345
346
  }
346
347
  }
347
- var ft = Array.isArray;
348
- function Re(e) {
349
- return ft(e);
348
+ var mt = Array.isArray;
349
+ function Te(e) {
350
+ return mt(e);
350
351
  }
351
- function pt(e) {
352
+ function vt(e) {
352
353
  {
353
- var t = typeof Symbol == "function" && Symbol.toStringTag, n = t && e[Symbol.toStringTag] || e.constructor.name || "Object";
354
- return n;
354
+ var a = typeof Symbol == "function" && Symbol.toStringTag, l = a && e[Symbol.toStringTag] || e.constructor.name || "Object";
355
+ return l;
355
356
  }
356
357
  }
357
- function bt(e) {
358
+ function Ct(e) {
358
359
  try {
359
- return Me(e), !1;
360
+ return Ve(e), !1;
360
361
  } catch {
361
362
  return !0;
362
363
  }
363
364
  }
364
- function Me(e) {
365
+ function Ve(e) {
365
366
  return "" + e;
366
367
  }
367
- function De(e) {
368
- if (bt(e))
369
- return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", pt(e)), Me(e);
368
+ function We(e) {
369
+ if (Ct(e))
370
+ return C("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", vt(e)), Ve(e);
370
371
  }
371
- var Be = S.ReactCurrentOwner, gt = {
372
+ var Ze = w.ReactCurrentOwner, xt = {
372
373
  key: !0,
373
374
  ref: !0,
374
375
  __self: !0,
375
376
  __source: !0
376
- }, Fe, ze;
377
- function vt(e) {
378
- if (le.call(e, "ref")) {
379
- var t = Object.getOwnPropertyDescriptor(e, "ref").get;
380
- if (t && t.isReactWarning)
377
+ }, Ue, qe;
378
+ function wt(e) {
379
+ if (de.call(e, "ref")) {
380
+ var a = Object.getOwnPropertyDescriptor(e, "ref").get;
381
+ if (a && a.isReactWarning)
381
382
  return !1;
382
383
  }
383
384
  return e.ref !== void 0;
384
385
  }
385
- function ht(e) {
386
- if (le.call(e, "key")) {
387
- var t = Object.getOwnPropertyDescriptor(e, "key").get;
388
- if (t && t.isReactWarning)
386
+ function $t(e) {
387
+ if (de.call(e, "key")) {
388
+ var a = Object.getOwnPropertyDescriptor(e, "key").get;
389
+ if (a && a.isReactWarning)
389
390
  return !1;
390
391
  }
391
392
  return e.key !== void 0;
392
393
  }
393
- function mt(e, t) {
394
- typeof e.ref == "string" && Be.current;
394
+ function Et(e, a) {
395
+ typeof e.ref == "string" && Ze.current;
395
396
  }
396
- function Ct(e, t) {
397
+ function jt(e, a) {
397
398
  {
398
- var n = function() {
399
- Fe || (Fe = !0, y("%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)", t));
399
+ var l = function() {
400
+ Ue || (Ue = !0, C("%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)", a));
400
401
  };
401
- n.isReactWarning = !0, Object.defineProperty(e, "key", {
402
- get: n,
402
+ l.isReactWarning = !0, Object.defineProperty(e, "key", {
403
+ get: l,
403
404
  configurable: !0
404
405
  });
405
406
  }
406
407
  }
407
- function yt(e, t) {
408
+ function Rt(e, a) {
408
409
  {
409
- var n = function() {
410
- ze || (ze = !0, y("%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)", t));
410
+ var l = function() {
411
+ qe || (qe = !0, C("%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)", a));
411
412
  };
412
- n.isReactWarning = !0, Object.defineProperty(e, "ref", {
413
- get: n,
413
+ l.isReactWarning = !0, Object.defineProperty(e, "ref", {
414
+ get: l,
414
415
  configurable: !0
415
416
  });
416
417
  }
417
418
  }
418
- var xt = function(e, t, n, u, m, x, v) {
419
- var b = {
419
+ var St = function(e, a, l, p, x, $, m) {
420
+ var h = {
420
421
  // This tag allows us to uniquely identify this as a React Element
421
- $$typeof: s,
422
+ $$typeof: o,
422
423
  // Built-in properties that belong on the element
423
424
  type: e,
424
- key: t,
425
- ref: n,
426
- props: v,
425
+ key: a,
426
+ ref: l,
427
+ props: m,
427
428
  // Record the component responsible for creating this element.
428
- _owner: x
429
+ _owner: $
429
430
  };
430
- return b._store = {}, Object.defineProperty(b._store, "validated", {
431
+ return h._store = {}, Object.defineProperty(h._store, "validated", {
431
432
  configurable: !1,
432
433
  enumerable: !1,
433
434
  writable: !0,
434
435
  value: !1
435
- }), Object.defineProperty(b, "_self", {
436
+ }), Object.defineProperty(h, "_self", {
436
437
  configurable: !1,
437
438
  enumerable: !1,
438
439
  writable: !1,
439
- value: u
440
- }), Object.defineProperty(b, "_source", {
440
+ value: p
441
+ }), Object.defineProperty(h, "_source", {
441
442
  configurable: !1,
442
443
  enumerable: !1,
443
444
  writable: !1,
444
- value: m
445
- }), Object.freeze && (Object.freeze(b.props), Object.freeze(b)), b;
445
+ value: x
446
+ }), Object.freeze && (Object.freeze(h.props), Object.freeze(h)), h;
446
447
  };
447
- function wt(e, t, n, u, m) {
448
+ function kt(e, a, l, p, x) {
448
449
  {
449
- var x, v = {}, b = null, O = null;
450
- n !== void 0 && (De(n), b = "" + n), ht(t) && (De(t.key), b = "" + t.key), vt(t) && (O = t.ref, mt(t, m));
451
- for (x in t)
452
- le.call(t, x) && !gt.hasOwnProperty(x) && (v[x] = t[x]);
450
+ var $, m = {}, h = null, A = null;
451
+ l !== void 0 && (We(l), h = "" + l), $t(a) && (We(a.key), h = "" + a.key), wt(a) && (A = a.ref, Et(a, x));
452
+ for ($ in a)
453
+ de.call(a, $) && !xt.hasOwnProperty($) && (m[$] = a[$]);
453
454
  if (e && e.defaultProps) {
454
- var E = e.defaultProps;
455
- for (x in E)
456
- v[x] === void 0 && (v[x] = E[x]);
455
+ var j = e.defaultProps;
456
+ for ($ in j)
457
+ m[$] === void 0 && (m[$] = j[$]);
457
458
  }
458
- if (b || O) {
459
- var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
460
- b && Ct(v, j), O && yt(v, j);
459
+ if (h || A) {
460
+ var N = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
461
+ h && jt(m, N), A && Rt(m, N);
461
462
  }
462
- return xt(e, b, O, m, u, Be.current, v);
463
+ return St(e, h, A, x, p, Ze.current, m);
463
464
  }
464
465
  }
465
- var Se = S.ReactCurrentOwner, Ve = S.ReactDebugCurrentFrame;
466
- function ne(e) {
466
+ var Ne = w.ReactCurrentOwner, Ge = w.ReactDebugCurrentFrame;
467
+ function oe(e) {
467
468
  if (e) {
468
- var t = e._owner, n = Ce(e.type, e._source, t ? t.type : null);
469
- Ve.setExtraStackFrame(n);
469
+ var a = e._owner, l = xe(e.type, e._source, a ? a.type : null);
470
+ Ge.setExtraStackFrame(l);
470
471
  } else
471
- Ve.setExtraStackFrame(null);
472
+ Ge.setExtraStackFrame(null);
472
473
  }
473
- var je;
474
- je = !1;
475
- function $e(e) {
476
- return typeof e == "object" && e !== null && e.$$typeof === s;
474
+ var Oe;
475
+ Oe = !1;
476
+ function Le(e) {
477
+ return typeof e == "object" && e !== null && e.$$typeof === o;
477
478
  }
478
- function We() {
479
+ function Ye() {
479
480
  {
480
- if (Se.current) {
481
- var e = I(Se.current.type);
481
+ if (Ne.current) {
482
+ var e = I(Ne.current.type);
482
483
  if (e)
483
484
  return `
484
485
 
@@ -487,442 +488,443 @@ Check the render method of \`` + e + "`.";
487
488
  return "";
488
489
  }
489
490
  }
490
- function Et(e) {
491
+ function Tt(e) {
491
492
  return "";
492
493
  }
493
- var Ze = {};
494
- function Rt(e) {
494
+ var He = {};
495
+ function Nt(e) {
495
496
  {
496
- var t = We();
497
- if (!t) {
498
- var n = typeof e == "string" ? e : e.displayName || e.name;
499
- n && (t = `
497
+ var a = Ye();
498
+ if (!a) {
499
+ var l = typeof e == "string" ? e : e.displayName || e.name;
500
+ l && (a = `
500
501
 
501
- Check the top-level render call using <` + n + ">.");
502
+ Check the top-level render call using <` + l + ">.");
502
503
  }
503
- return t;
504
+ return a;
504
505
  }
505
506
  }
506
- function Ue(e, t) {
507
+ function Je(e, a) {
507
508
  {
508
509
  if (!e._store || e._store.validated || e.key != null)
509
510
  return;
510
511
  e._store.validated = !0;
511
- var n = Rt(t);
512
- if (Ze[n])
512
+ var l = Nt(a);
513
+ if (He[l])
513
514
  return;
514
- Ze[n] = !0;
515
- var u = "";
516
- e && e._owner && e._owner !== Se.current && (u = " It was passed a child from " + I(e._owner.type) + "."), ne(e), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', n, u), ne(null);
515
+ He[l] = !0;
516
+ var p = "";
517
+ e && e._owner && e._owner !== Ne.current && (p = " It was passed a child from " + I(e._owner.type) + "."), oe(e), C('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', l, p), oe(null);
517
518
  }
518
519
  }
519
- function Ge(e, t) {
520
+ function Ke(e, a) {
520
521
  {
521
522
  if (typeof e != "object")
522
523
  return;
523
- if (Re(e))
524
- for (var n = 0; n < e.length; n++) {
525
- var u = e[n];
526
- $e(u) && Ue(u, t);
524
+ if (Te(e))
525
+ for (var l = 0; l < e.length; l++) {
526
+ var p = e[l];
527
+ Le(p) && Je(p, a);
527
528
  }
528
- else if ($e(e))
529
+ else if (Le(e))
529
530
  e._store && (e._store.validated = !0);
530
531
  else if (e) {
531
- var m = L(e);
532
- if (typeof m == "function" && m !== e.entries)
533
- for (var x = m.call(e), v; !(v = x.next()).done; )
534
- $e(v.value) && Ue(v.value, t);
532
+ var x = k(e);
533
+ if (typeof x == "function" && x !== e.entries)
534
+ for (var $ = x.call(e), m; !(m = $.next()).done; )
535
+ Le(m.value) && Je(m.value, a);
535
536
  }
536
537
  }
537
538
  }
538
- function St(e) {
539
+ function Ot(e) {
539
540
  {
540
- var t = e.type;
541
- if (t == null || typeof t == "string")
541
+ var a = e.type;
542
+ if (a == null || typeof a == "string")
542
543
  return;
543
- var n;
544
- if (typeof t == "function")
545
- n = t.propTypes;
546
- else if (typeof t == "object" && (t.$$typeof === c || // Note: Memo only checks outer props here.
544
+ var l;
545
+ if (typeof a == "function")
546
+ l = a.propTypes;
547
+ else if (typeof a == "object" && (a.$$typeof === c || // Note: Memo only checks outer props here.
547
548
  // Inner props are checked in the reconciler.
548
- t.$$typeof === g))
549
- n = t.propTypes;
549
+ a.$$typeof === g))
550
+ l = a.propTypes;
550
551
  else
551
552
  return;
552
- if (n) {
553
- var u = I(t);
554
- _t(n, e.props, "prop", u, e);
555
- } else if (t.PropTypes !== void 0 && !je) {
556
- je = !0;
557
- var m = I(t);
558
- y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", m || "Unknown");
553
+ if (l) {
554
+ var p = I(a);
555
+ yt(l, e.props, "prop", p, e);
556
+ } else if (a.PropTypes !== void 0 && !Oe) {
557
+ Oe = !0;
558
+ var x = I(a);
559
+ C("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", x || "Unknown");
559
560
  }
560
- typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
561
+ typeof a.getDefaultProps == "function" && !a.getDefaultProps.isReactClassApproved && C("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
561
562
  }
562
563
  }
563
- function jt(e) {
564
+ function Lt(e) {
564
565
  {
565
- for (var t = Object.keys(e.props), n = 0; n < t.length; n++) {
566
- var u = t[n];
567
- if (u !== "children" && u !== "key") {
568
- ne(e), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", u), ne(null);
566
+ for (var a = Object.keys(e.props), l = 0; l < a.length; l++) {
567
+ var p = a[l];
568
+ if (p !== "children" && p !== "key") {
569
+ oe(e), C("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", p), oe(null);
569
570
  break;
570
571
  }
571
572
  }
572
- e.ref !== null && (ne(e), y("Invalid attribute `ref` supplied to `React.Fragment`."), ne(null));
573
+ e.ref !== null && (oe(e), C("Invalid attribute `ref` supplied to `React.Fragment`."), oe(null));
573
574
  }
574
575
  }
575
- var Ye = {};
576
- function qe(e, t, n, u, m, x) {
576
+ var Qe = {};
577
+ function Xe(e, a, l, p, x, $) {
577
578
  {
578
- var v = J(e);
579
- if (!v) {
580
- var b = "";
581
- (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (b += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
582
- var O = Et();
583
- O ? b += O : b += We();
584
- var E;
585
- e === null ? E = "null" : Re(e) ? E = "array" : e !== void 0 && e.$$typeof === s ? (E = "<" + (I(e.type) || "Unknown") + " />", b = " Did you accidentally export a JSX literal instead of a component?") : E = typeof e, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", E, b);
579
+ var m = q(e);
580
+ if (!m) {
581
+ var h = "";
582
+ (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (h += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
583
+ var A = Tt();
584
+ A ? h += A : h += Ye();
585
+ var j;
586
+ e === null ? j = "null" : Te(e) ? j = "array" : e !== void 0 && e.$$typeof === o ? (j = "<" + (I(e.type) || "Unknown") + " />", h = " Did you accidentally export a JSX literal instead of a component?") : j = typeof e, C("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", j, h);
586
587
  }
587
- var j = wt(e, t, n, m, x);
588
- if (j == null)
589
- return j;
590
- if (v) {
591
- var M = t.children;
592
- if (M !== void 0)
593
- if (u)
594
- if (Re(M)) {
595
- for (var oe = 0; oe < M.length; oe++)
596
- Ge(M[oe], e);
597
- Object.freeze && Object.freeze(M);
588
+ var N = kt(e, a, l, x, $);
589
+ if (N == null)
590
+ return N;
591
+ if (m) {
592
+ var F = a.children;
593
+ if (F !== void 0)
594
+ if (p)
595
+ if (Te(F)) {
596
+ for (var se = 0; se < F.length; se++)
597
+ Ke(F[se], e);
598
+ Object.freeze && Object.freeze(F);
598
599
  } else
599
- y("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
600
+ C("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
600
601
  else
601
- Ge(M, e);
602
+ Ke(F, e);
602
603
  }
603
- if (le.call(t, "key")) {
604
- var te = I(e), P = Object.keys(t).filter(function(Lt) {
605
- return Lt !== "key";
606
- }), ke = P.length > 0 ? "{key: someKey, " + P.join(": ..., ") + ": ...}" : "{key: someKey}";
607
- if (!Ye[te + ke]) {
608
- var Pt = P.length > 0 ? "{" + P.join(": ..., ") + ": ...}" : "{}";
609
- y(`A props object containing a "key" prop is being spread into JSX:
604
+ if (de.call(a, "key")) {
605
+ var re = I(e), B = Object.keys(a).filter(function(Dt) {
606
+ return Dt !== "key";
607
+ }), Pe = B.length > 0 ? "{key: someKey, " + B.join(": ..., ") + ": ...}" : "{key: someKey}";
608
+ if (!Qe[re + Pe]) {
609
+ var zt = B.length > 0 ? "{" + B.join(": ..., ") + ": ...}" : "{}";
610
+ C(`A props object containing a "key" prop is being spread into JSX:
610
611
  let props = %s;
611
612
  <%s {...props} />
612
613
  React keys must be passed directly to JSX without using spread:
613
614
  let props = %s;
614
- <%s key={someKey} {...props} />`, ke, te, Pt, te), Ye[te + ke] = !0;
615
+ <%s key={someKey} {...props} />`, Pe, re, zt, re), Qe[re + Pe] = !0;
615
616
  }
616
617
  }
617
- return e === o ? jt(j) : St(j), j;
618
+ return e === n ? Lt(N) : Ot(N), N;
618
619
  }
619
620
  }
620
- function $t(e, t, n) {
621
- return qe(e, t, n, !0);
621
+ function Pt(e, a, l) {
622
+ return Xe(e, a, l, !0);
622
623
  }
623
- function kt(e, t, n) {
624
- return qe(e, t, n, !1);
624
+ function It(e, a, l) {
625
+ return Xe(e, a, l, !1);
625
626
  }
626
- var Tt = kt, Ot = $t;
627
- ue.Fragment = o, ue.jsx = Tt, ue.jsxs = Ot;
628
- }()), ue;
627
+ var At = It, Mt = Pt;
628
+ _e.Fragment = n, _e.jsx = At, _e.jsxs = Mt;
629
+ }()), _e;
629
630
  }
630
- var Qe;
631
- function Ft() {
632
- return Qe || (Qe = 1, process.env.NODE_ENV === "production" ? xe.exports = Dt() : xe.exports = Bt()), xe.exports;
631
+ var nt;
632
+ function qt() {
633
+ return nt || (nt = 1, process.env.NODE_ENV === "production" ? $e.exports = Zt() : $e.exports = Ut()), $e.exports;
633
634
  }
634
- var l = Ft();
635
- const zt = (r) => r.as === "a", Vt = (r) => r.as === void 0 || r.as === "button", Wt = "_button_unbux_213", Zt = "_disabled_unbux_237", Ut = "_loading_unbux_237", Gt = "_neutral_unbux_259", Yt = "_accent_unbux_263", qt = "_positive_unbux_267", Ht = "_negative_unbux_271", Jt = "_contrast_unbux_275", Kt = "_special_unbux_279", Qt = "_primary_unbux_284", Xt = "_secondary_unbux_285", e2 = "_tertiary_unbux_286", t2 = "_label_unbux_321", r2 = "_rightGroup_unbux_333", a2 = "_iconOnly_unbux_349", n2 = "_large_unbux_357", o2 = "_medium_unbux_361", s2 = "_small_unbux_365", i2 = "_spaceBetween_unbux_370", l2 = "_stretched_unbux_384", c2 = "_icon_unbux_349", u2 = "_badge_unbux_705", d2 = "_badgeMedium_unbux_721", _2 = "_circular_unbux_738", f2 = "_badgeSmall_unbux_743", p2 = "_badgeExtraSmall_unbux_765", b2 = "_withSubcaption_unbux_784", g2 = "_subcaption_unbux_797", v2 = "_loader_unbux_804", h2 = "_spin_unbux_1", m2 = "_l_unbux_237", C2 = "_m_unbux_361", y2 = "_s_unbux_279", x2 = "_xs_unbux_869", R = {
636
- button: Wt,
637
- disabled: Zt,
638
- loading: Ut,
639
- neutral: Gt,
640
- accent: Yt,
641
- positive: qt,
642
- negative: Ht,
643
- contrast: Jt,
644
- special: Kt,
645
- primary: Qt,
646
- secondary: Xt,
647
- tertiary: e2,
648
- label: t2,
649
- rightGroup: r2,
650
- iconOnly: a2,
651
- large: n2,
652
- medium: o2,
653
- small: s2,
654
- spaceBetween: i2,
655
- stretched: l2,
656
- icon: c2,
657
- badge: u2,
658
- badgeMedium: d2,
659
- circular: _2,
660
- badgeSmall: f2,
661
- badgeExtraSmall: p2,
662
- withSubcaption: b2,
663
- subcaption: g2,
664
- loader: v2,
665
- spin: h2,
666
- l: m2,
667
- m: C2,
668
- s: y2,
669
- xs: x2
670
- }, Xe = ({
671
- isLoading: r,
672
- showBadge: s,
673
- badgeValue: a,
674
- badgeSize: o,
635
+ var s = qt();
636
+ const Gt = (t) => t.as === "a", Yt = (t) => t.as === void 0 || t.as === "button", Ht = "_button_1abee_213", Jt = "_disabled_1abee_237", Kt = "_loading_1abee_237", Qt = "_neutral_1abee_259", Xt = "_accent_1abee_263", ea = "_positive_1abee_267", ta = "_negative_1abee_271", aa = "_contrast_1abee_275", ra = "_special_1abee_279", na = "_primary_1abee_284", oa = "_secondary_1abee_285", sa = "_tertiary_1abee_286", ia = "_label_1abee_321", la = "_rightGroup_1abee_333", ca = "_iconOnly_1abee_349", da = "_large_1abee_357", ua = "_medium_1abee_361", _a = "_small_1abee_365", pa = "_spaceBetween_1abee_370", fa = "_stretched_1abee_384", ga = "_icon_1abee_349", ba = "_badge_1abee_705", ha = "_badgeMedium_1abee_721", ya = "_circular_1abee_738", ma = "_badgeSmall_1abee_743", va = "_badgeExtraSmall_1abee_765", Ca = "_withSubcaption_1abee_784", xa = "_subcaption_1abee_797", wa = "_loader_1abee_804", $a = "_spin_1abee_1", Ea = "_l_1abee_237", ja = "_m_1abee_361", Ra = "_s_1abee_279", Sa = "_xs_1abee_869", R = {
637
+ button: Ht,
638
+ disabled: Jt,
639
+ loading: Kt,
640
+ neutral: Qt,
641
+ accent: Xt,
642
+ positive: ea,
643
+ negative: ta,
644
+ contrast: aa,
645
+ special: ra,
646
+ primary: na,
647
+ secondary: oa,
648
+ tertiary: sa,
649
+ label: ia,
650
+ rightGroup: la,
651
+ iconOnly: ca,
652
+ large: da,
653
+ medium: ua,
654
+ small: _a,
655
+ spaceBetween: pa,
656
+ stretched: fa,
657
+ icon: ga,
658
+ badge: ba,
659
+ badgeMedium: ha,
660
+ circular: ya,
661
+ badgeSmall: ma,
662
+ badgeExtraSmall: va,
663
+ withSubcaption: Ca,
664
+ subcaption: xa,
665
+ loader: wa,
666
+ spin: $a,
667
+ l: Ea,
668
+ m: ja,
669
+ s: Ra,
670
+ xs: Sa
671
+ }, ot = ({
672
+ isLoading: t,
673
+ showBadge: o,
674
+ badgeValue: r,
675
+ badgeSize: n,
675
676
  icon: d,
676
677
  children: i,
677
- postfix: _,
678
- showSubcaption: f,
678
+ postfix: u,
679
+ showSubcaption: _,
679
680
  subcaption: c,
680
- size: h
681
+ size: b
681
682
  }) => {
682
- if (r)
683
- return /* @__PURE__ */ l.jsx("span", { className: R.loader, "data-testid": "button-loader", "aria-hidden": "true" });
684
- const p = o === "extra-small", g = parseInt(String(a), 10), C = !isNaN(g) && g >= 0 && g <= 9;
685
- return /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
686
- s && (a || p) && /* @__PURE__ */ l.jsx(
683
+ if (t)
684
+ return /* @__PURE__ */ s.jsx("span", { className: R.loader, "data-testid": "button-loader", "aria-hidden": "true" });
685
+ const f = n === "extra-small", g = parseInt(String(r), 10), y = !isNaN(g) && g >= 0 && g <= 9;
686
+ return /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
687
+ o && (r || f) && /* @__PURE__ */ s.jsx(
687
688
  "span",
688
689
  {
689
690
  "data-testid": "button-badge",
690
- className: ae(
691
+ className: J(
691
692
  R.badge,
692
- R[`badge${p ? "ExtraSmall" : o === "medium" ? "Medium" : "Small"}`],
693
- { [R.circular]: C && !p }
693
+ R[`badge${f ? "ExtraSmall" : n === "medium" ? "Medium" : "Small"}`],
694
+ { [R.circular]: y && !f }
694
695
  ),
695
- children: !p && a
696
+ children: !f && r
696
697
  }
697
698
  ),
698
- f && h !== "s" && h !== "xs" ? /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
699
- /* @__PURE__ */ l.jsx("span", { "data-testid": "button-label", className: R.label, children: i }),
700
- /* @__PURE__ */ l.jsx("span", { "data-testid": "button-subcaption", className: R.subcaption, children: c })
701
- ] }) : i ? /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
702
- /* @__PURE__ */ l.jsx("span", { "data-testid": "button-label", className: R.label, children: i }),
703
- /* @__PURE__ */ l.jsxs("div", { "data-testid": "button-right-group", className: R.rightGroup, children: [
704
- d && /* @__PURE__ */ l.jsx("span", { "data-testid": "button-icon", className: R.icon, children: d }),
705
- _ && /* @__PURE__ */ l.jsx("span", { "data-testid": "button-postfix", className: R.postfix, children: _ })
699
+ _ && b !== "s" && b !== "xs" ? /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
700
+ /* @__PURE__ */ s.jsx("span", { "data-testid": "button-label", className: R.label, children: i }),
701
+ /* @__PURE__ */ s.jsx("span", { "data-testid": "button-subcaption", className: R.subcaption, children: c })
702
+ ] }) : i ? /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
703
+ /* @__PURE__ */ s.jsx("span", { "data-testid": "button-label", className: R.label, children: i }),
704
+ /* @__PURE__ */ s.jsxs("div", { "data-testid": "button-right-group", className: R.rightGroup, children: [
705
+ d && /* @__PURE__ */ s.jsx("span", { "data-testid": "button-icon", className: R.icon, children: d }),
706
+ u && /* @__PURE__ */ s.jsx("span", { "data-testid": "button-postfix", className: R.postfix, children: u })
706
707
  ] })
707
- ] }) : /* @__PURE__ */ l.jsx("span", { "data-testid": "button-icon", className: R.icon, children: d })
708
+ ] }) : /* @__PURE__ */ s.jsx("span", { "data-testid": "button-icon", className: R.icon, children: d })
708
709
  ] });
709
- }, Zr = H((r, s) => {
710
+ }, wn = Q((t, o) => {
710
711
  const {
711
- mode: a = "primary",
712
- size: o = "m",
712
+ mode: r = "primary",
713
+ size: n = "m",
713
714
  buttonStyle: d = "neutral",
714
715
  loading: i = !1,
715
- disabled: _ = !1,
716
- showBadge: f = !1,
716
+ disabled: u = !1,
717
+ showBadge: _ = !1,
717
718
  badgeSize: c = "small",
718
- badgeValue: h,
719
- showSubcaption: p = !1,
719
+ badgeValue: b,
720
+ showSubcaption: f = !1,
720
721
  subcaption: g,
721
- stretched: C = !1,
722
- spaceBetween: w = !1,
723
- icon: $,
724
- postfix: k,
725
- className: L,
726
- children: S
727
- } = r, y = _, T = i, N = !y && !T, U = !!$ && !S, B = ae(
722
+ stretched: y = !1,
723
+ spaceBetween: v = !1,
724
+ icon: E,
725
+ postfix: S,
726
+ className: k,
727
+ children: w
728
+ } = t, C = u, O = i, L = !C && !O, M = !!E && !w, z = J(
728
729
  R.button,
729
- R[o],
730
- R[a],
730
+ R[n],
731
+ R[r],
731
732
  R[d],
732
733
  {
733
- [R.disabled]: y,
734
- [R.loading]: T,
735
- [R.stretched]: C,
736
- [R.spaceBetween]: w && C,
737
- [R.withSubcaption]: p && g && o !== "s" && o !== "xs",
738
- [R.iconOnly]: U
734
+ [R.disabled]: C,
735
+ [R.loading]: O,
736
+ [R.stretched]: y,
737
+ [R.spaceBetween]: v && y,
738
+ [R.withSubcaption]: f && g && n !== "s" && n !== "xs",
739
+ [R.iconOnly]: M
739
740
  },
740
- L
741
- ), F = {
742
- isLoading: T,
743
- showBadge: f,
744
- badgeValue: h,
741
+ k
742
+ ), P = {
743
+ isLoading: O,
744
+ showBadge: _,
745
+ badgeValue: b,
745
746
  badgeSize: c,
746
- icon: $,
747
- children: S,
748
- postfix: k,
749
- showSubcaption: p,
747
+ icon: E,
748
+ children: w,
749
+ postfix: S,
750
+ showSubcaption: f,
750
751
  subcaption: g,
751
- size: o
752
+ size: n
752
753
  };
753
- if (zt(r)) {
754
+ if (Gt(t)) {
754
755
  const {
755
- href: z,
756
- onClick: A,
757
- mode: J,
758
- size: K,
759
- buttonStyle: G,
756
+ href: W,
757
+ onClick: D,
758
+ mode: q,
759
+ size: G,
760
+ buttonStyle: Z,
760
761
  loading: I,
761
- disabled: V,
762
- showBadge: Q,
763
- badgeSize: _e,
764
- badgeValue: fe,
765
- showSubcaption: pe,
766
- subcaption: be,
767
- stretched: ge,
768
- spaceBetween: ve,
769
- icon: he,
770
- postfix: me,
771
- className: we,
772
- tabIndex: Ee,
773
- children: se,
774
- "data-testid": X,
775
- style: Y,
776
- ...ee
777
- } = r, q = (ie) => {
778
- N && A && A(ie);
762
+ disabled: T,
763
+ showBadge: U,
764
+ badgeSize: fe,
765
+ badgeValue: ge,
766
+ showSubcaption: be,
767
+ subcaption: he,
768
+ stretched: ye,
769
+ spaceBetween: me,
770
+ icon: ve,
771
+ postfix: Ce,
772
+ className: Se,
773
+ tabIndex: ke,
774
+ children: le,
775
+ "data-testid": te,
776
+ style: X,
777
+ ...ae
778
+ } = t, ee = (ce) => {
779
+ L && D && D(ce);
779
780
  };
780
- return /* @__PURE__ */ l.jsx(
781
+ return /* @__PURE__ */ s.jsx(
781
782
  "a",
782
783
  {
783
- ref: s,
784
- className: B,
785
- href: N ? z : void 0,
786
- tabIndex: r.tabIndex,
787
- onClick: q,
788
- "data-testid": X,
789
- "aria-disabled": y || T,
790
- style: Y,
791
- ...ee,
792
- children: /* @__PURE__ */ l.jsx(Xe, { ...F })
784
+ ref: o,
785
+ className: z,
786
+ href: L ? W : void 0,
787
+ tabIndex: t.tabIndex,
788
+ onClick: ee,
789
+ "data-testid": te,
790
+ "aria-disabled": C || O,
791
+ style: X,
792
+ ...ae,
793
+ children: /* @__PURE__ */ s.jsx(ot, { ...P })
793
794
  }
794
795
  );
795
796
  }
796
- if (Vt(r)) {
797
+ if (Yt(t)) {
797
798
  const {
798
- type: z = "button",
799
- onClick: A,
800
- mode: J,
801
- size: K,
802
- buttonStyle: G,
799
+ type: W = "button",
800
+ onClick: D,
801
+ mode: q,
802
+ size: G,
803
+ buttonStyle: Z,
803
804
  loading: I,
804
- disabled: V,
805
- showBadge: Q,
806
- badgeSize: _e,
807
- badgeValue: fe,
808
- showSubcaption: pe,
809
- subcaption: be,
810
- stretched: ge,
811
- spaceBetween: ve,
812
- icon: he,
813
- postfix: me,
814
- className: we,
815
- tabIndex: Ee,
816
- children: se,
817
- "data-testid": X,
818
- style: Y,
819
- ...ee
820
- } = r, q = (ie) => {
821
- N && A && A(ie);
805
+ disabled: T,
806
+ showBadge: U,
807
+ badgeSize: fe,
808
+ badgeValue: ge,
809
+ showSubcaption: be,
810
+ subcaption: he,
811
+ stretched: ye,
812
+ spaceBetween: me,
813
+ icon: ve,
814
+ postfix: Ce,
815
+ className: Se,
816
+ tabIndex: ke,
817
+ children: le,
818
+ "data-testid": te,
819
+ style: X,
820
+ ...ae
821
+ } = t, ee = (ce) => {
822
+ L && D && D(ce);
822
823
  };
823
- return /* @__PURE__ */ l.jsx(
824
+ return /* @__PURE__ */ s.jsx(
824
825
  "button",
825
826
  {
826
- ref: s,
827
- type: z,
828
- className: B,
829
- disabled: y,
830
- tabIndex: r.tabIndex,
831
- onClick: q,
832
- "data-testid": X,
833
- "aria-disabled": y || T,
834
- style: Y,
835
- ...ee,
836
- children: /* @__PURE__ */ l.jsx(Xe, { ...F })
827
+ ref: o,
828
+ type: W,
829
+ className: z,
830
+ disabled: C,
831
+ tabIndex: t.tabIndex,
832
+ onClick: ee,
833
+ "data-testid": te,
834
+ "aria-disabled": C || O,
835
+ style: X,
836
+ ...ae,
837
+ children: /* @__PURE__ */ s.jsx(ot, { ...P })
837
838
  }
838
839
  );
839
840
  }
840
841
  return null;
841
842
  });
842
- var Te = { exports: {} };
843
+ var Ie = { exports: {} };
843
844
  /*!
844
845
  Copyright (c) 2018 Jed Watson.
845
846
  Licensed under the MIT License (MIT), see
846
847
  http://jedwatson.github.io/classnames
847
848
  */
848
- var et;
849
- function w2() {
850
- return et || (et = 1, function(r) {
849
+ var st;
850
+ function ka() {
851
+ return st || (st = 1, function(t) {
851
852
  (function() {
852
- var s = {}.hasOwnProperty;
853
- function a() {
854
- for (var i = "", _ = 0; _ < arguments.length; _++) {
855
- var f = arguments[_];
856
- f && (i = d(i, o(f)));
853
+ var o = {}.hasOwnProperty;
854
+ function r() {
855
+ for (var i = "", u = 0; u < arguments.length; u++) {
856
+ var _ = arguments[u];
857
+ _ && (i = d(i, n(_)));
857
858
  }
858
859
  return i;
859
860
  }
860
- function o(i) {
861
+ function n(i) {
861
862
  if (typeof i == "string" || typeof i == "number")
862
863
  return i;
863
864
  if (typeof i != "object")
864
865
  return "";
865
866
  if (Array.isArray(i))
866
- return a.apply(null, i);
867
+ return r.apply(null, i);
867
868
  if (i.toString !== Object.prototype.toString && !i.toString.toString().includes("[native code]"))
868
869
  return i.toString();
869
- var _ = "";
870
- for (var f in i)
871
- s.call(i, f) && i[f] && (_ = d(_, f));
872
- return _;
870
+ var u = "";
871
+ for (var _ in i)
872
+ o.call(i, _) && i[_] && (u = d(u, _));
873
+ return u;
873
874
  }
874
- function d(i, _) {
875
- return _ ? i ? i + " " + _ : i + _ : i;
875
+ function d(i, u) {
876
+ return u ? i ? i + " " + u : i + u : i;
876
877
  }
877
- r.exports ? (a.default = a, r.exports = a) : window.classNames = a;
878
+ t.exports ? (r.default = r, t.exports = r) : window.classNames = r;
878
879
  })();
879
- }(Te)), Te.exports;
880
+ }(Ie)), Ie.exports;
880
881
  }
881
- var E2 = w2();
882
- const Z = /* @__PURE__ */ Mt(E2), R2 = "_avatar_1ob17_4", S2 = "_clickable_1ob17_23", j2 = "_icon_1ob17_40", $2 = "_disabled_1ob17_45", k2 = "_image_1ob17_51", T2 = "_name_1ob17_51", O2 = "_circle_1ob17_160", P2 = "_square_1ob17_164", D = {
883
- avatar: R2,
884
- clickable: S2,
885
- icon: j2,
886
- disabled: $2,
887
- image: k2,
888
- name: T2,
889
- "size-208": "_size-208_1ob17_104",
890
- "size-96": "_size-96_1ob17_111",
891
- "size-84": "_size-84_1ob17_118",
892
- "size-56": "_size-56_1ob17_125",
893
- "size-48": "_size-48_1ob17_132",
894
- "size-40": "_size-40_1ob17_139",
895
- "size-32": "_size-32_1ob17_146",
896
- "size-24": "_size-24_1ob17_153",
897
- circle: O2,
898
- square: P2,
899
- "variant-filled": "_variant-filled_1ob17_185",
900
- "color-brand": "_color-brand_1ob17_190",
901
- "color-red": "_color-red_1ob17_194",
902
- "color-orange": "_color-orange_1ob17_198",
903
- "color-yellow": "_color-yellow_1ob17_202",
904
- "color-green": "_color-green_1ob17_206",
905
- "color-blue": "_color-blue_1ob17_210",
906
- "color-lightblue": "_color-lightblue_1ob17_214",
907
- "color-purple": "_color-purple_1ob17_218",
908
- "color-gray": "_color-gray_1ob17_222",
909
- "color-contrast": "_color-contrast_1ob17_226",
910
- "variant-light": "_variant-light_1ob17_232",
911
- "variant-outline": "_variant-outline_1ob17_304"
912
- }, tt = 99;
913
- function L2(r) {
914
- return r < tt ? `+${r}` : `${tt}+`;
882
+ var Ta = ka();
883
+ const K = /* @__PURE__ */ Wt(Ta), Na = "_avatar_s7gid_4", Oa = "_clickable_s7gid_23", La = "_icon_s7gid_40", Pa = "_disabled_s7gid_45", Ia = "_loading_s7gid_50", Aa = "_image_s7gid_56", Ma = "_name_s7gid_56", za = "_circle_s7gid_165", Da = "_square_s7gid_169", V = {
884
+ avatar: Na,
885
+ clickable: Oa,
886
+ icon: La,
887
+ disabled: Pa,
888
+ loading: Ia,
889
+ image: Aa,
890
+ name: Ma,
891
+ "size-208": "_size-208_s7gid_109",
892
+ "size-96": "_size-96_s7gid_116",
893
+ "size-84": "_size-84_s7gid_123",
894
+ "size-56": "_size-56_s7gid_130",
895
+ "size-48": "_size-48_s7gid_137",
896
+ "size-40": "_size-40_s7gid_144",
897
+ "size-32": "_size-32_s7gid_151",
898
+ "size-24": "_size-24_s7gid_158",
899
+ circle: za,
900
+ square: Da,
901
+ "variant-filled": "_variant-filled_s7gid_190",
902
+ "color-brand": "_color-brand_s7gid_195",
903
+ "color-red": "_color-red_s7gid_199",
904
+ "color-orange": "_color-orange_s7gid_203",
905
+ "color-yellow": "_color-yellow_s7gid_207",
906
+ "color-green": "_color-green_s7gid_211",
907
+ "color-blue": "_color-blue_s7gid_215",
908
+ "color-lightblue": "_color-lightblue_s7gid_219",
909
+ "color-purple": "_color-purple_s7gid_223",
910
+ "color-gray": "_color-gray_s7gid_227",
911
+ "color-contrast": "_color-contrast_s7gid_231",
912
+ "variant-light": "_variant-light_s7gid_237",
913
+ "variant-outline": "_variant-outline_s7gid_309"
914
+ }, it = 99;
915
+ function Ba(t) {
916
+ return t < it ? `+${t}` : `${it}+`;
915
917
  }
916
- function it(r) {
917
- const s = typeof r == "string" ? r : JSON.stringify(r);
918
- let a = 5381;
919
- for (let o = 0; o < s.length; o++) {
920
- const d = s.charCodeAt(o);
921
- a = (a << 5) + a + d;
918
+ function Me(t) {
919
+ const o = typeof t == "string" ? t : JSON.stringify(t);
920
+ let r = 5381;
921
+ for (let n = 0; n < o.length; n++) {
922
+ const d = o.charCodeAt(n);
923
+ r = (r << 5) + r + d;
922
924
  }
923
- return a >>> 0;
925
+ return r >>> 0;
924
926
  }
925
- const N2 = [
927
+ const Fa = [
926
928
  "red",
927
929
  "orange",
928
930
  "yellow",
@@ -931,182 +933,202 @@ const N2 = [
931
933
  "lightblue",
932
934
  "purple"
933
935
  ];
934
- function I2(r, s = N2) {
935
- const a = it(r), o = Math.abs(a) % s.length;
936
- return s[o];
936
+ function Va(t, o = Fa) {
937
+ const r = Me(t), n = Math.abs(r) % o.length;
938
+ return o[n];
937
939
  }
938
- const rt = 2;
939
- function A2(r) {
940
- const s = r.split(" ");
941
- return s.length === 1 ? r.slice(0, rt).toUpperCase() : s.map((a) => a[0]).slice(0, rt).join("").toUpperCase();
940
+ const lt = 2;
941
+ function Wa(t) {
942
+ if (!t) return "";
943
+ const o = t.trim().split(/\s+/);
944
+ return o.length === 1 ? t.slice(0, lt).toUpperCase() : o.map((r) => r[0]).slice(0, lt).join("").toUpperCase();
942
945
  }
943
- function M2(r, s) {
944
- return s === "circle" ? r / 2 : r === 24 || r === 208 ? 8 : r === 32 || r === 40 || r === 48 ? 12 : r === 56 ? 16 : r === 84 || r === 96 ? 24 : 12;
946
+ function Za(t, o) {
947
+ return o === "circle" ? t / 2 : t === 24 || t === 208 ? 8 : t === 32 || t === 40 || t === 48 ? 12 : t === 56 ? 16 : t === 84 || t === 96 ? 24 : 12;
945
948
  }
946
- const D2 = "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", B2 = "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", F2 = "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", z2 = "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", V2 = {
947
- male: D2,
948
- female: B2,
949
- org: z2,
950
- neutral: F2
951
- }, Pe = H((r, s) => {
949
+ const Ua = "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", qa = "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", Ga = "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", Ya = "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", Ha = {
950
+ male: Ua,
951
+ female: qa,
952
+ org: Ya,
953
+ neutral: Ga
954
+ }, Ee = Q((t, o) => {
952
955
  const {
953
- style: a,
954
- size: o = 40,
956
+ style: r,
957
+ size: n = 40,
955
958
  isLoading: d = !1,
956
959
  isDisabled: i = !1,
957
- shape: _ = "circle",
958
- variant: f = "light",
960
+ shape: u = "circle",
961
+ variant: _ = "light",
959
962
  placeholderType: c = "neutral",
960
- name: h = "",
961
- imgSrc: p,
963
+ name: b = "",
964
+ imgSrc: f,
962
965
  imgAlt: g = "",
963
- icon: C,
964
- imgProps: w,
965
- colorScheme: $,
966
- "data-testid": k,
967
- ...L
968
- } = r, { onClick: S, onPointerDown: y } = L, N = !i && !d && (!!S || !!y), [U, B] = Le(!p), F = p && !U ? "image" : C ? "icon" : h ? "name" : "placeholder", z = F === "name" ? $ || I2(h) : $ || "gray", A = Z(
969
- D.avatar,
970
- D[_],
971
- D[`size-${o}`],
972
- D[`variant-${f}`],
973
- D[`color-${z}`],
966
+ icon: y,
967
+ imgProps: v,
968
+ colorScheme: E,
969
+ "data-testid": S,
970
+ ...k
971
+ } = t, { onClick: w, onPointerDown: C } = k, L = !i && !d && (!!w || !!C), [M, z] = Re(!1);
972
+ ze(() => {
973
+ f && z(!1);
974
+ }, [f]);
975
+ const P = f && !M ? "image" : y ? "icon" : b ? "name" : "placeholder", W = E || P === "name" && Va(b) || "gray", D = K(
976
+ V.avatar,
977
+ V[u],
978
+ V[`size-${n}`],
979
+ V[`variant-${_}`],
980
+ V[`color-${W}`],
974
981
  {
975
- [D.disabled]: i,
976
- [D.loading]: d,
977
- [D.clickable]: N
982
+ [V.disabled]: i,
983
+ [V.loading]: d,
984
+ [V.clickable]: L
978
985
  }
979
- ), J = {
980
- icon: () => /* @__PURE__ */ l.jsx("span", { "data-testid": "avatar-icon", title: g, role: "img", className: Z(D.icon), children: C == null ? void 0 : C({}) }),
981
- name: () => /* @__PURE__ */ l.jsx(
986
+ ), q = {
987
+ icon: () => /* @__PURE__ */ s.jsx("span", { "data-testid": "avatar-icon", title: g, role: "img", className: K(V.icon), children: y == null ? void 0 : y({}) }),
988
+ name: () => /* @__PURE__ */ s.jsx(
982
989
  "span",
983
990
  {
984
991
  role: "textbox",
985
992
  "data-testid": "avatar-name",
986
- className: Z(D.name),
993
+ className: K(V.name),
987
994
  title: g,
988
- children: A2(h)
995
+ children: Wa(b)
989
996
  }
990
997
  ),
991
- placeholder: () => /* @__PURE__ */ l.jsx(
998
+ placeholder: () => /* @__PURE__ */ s.jsx(
992
999
  "img",
993
1000
  {
994
- ...w,
1001
+ ...v,
995
1002
  "data-testid": "avatar-placeholder",
996
- className: D.image,
997
- src: V2[c],
1003
+ className: V.image,
1004
+ src: Ha[c],
998
1005
  alt: g
999
1006
  }
1000
1007
  ),
1001
- image: () => /* @__PURE__ */ l.jsx(
1008
+ image: () => /* @__PURE__ */ s.jsx(
1002
1009
  "img",
1003
1010
  {
1004
1011
  "data-testid": "avatar-image",
1005
- ...w,
1006
- className: D.image,
1007
- src: p,
1012
+ ...v,
1013
+ className: V.image,
1014
+ src: f,
1008
1015
  alt: g,
1009
- onLoad: () => B(!1),
1010
- onError: (G) => {
1016
+ onLoad: () => z(!1),
1017
+ onError: (Z) => {
1011
1018
  var I;
1012
- B(!0), (I = w == null ? void 0 : w.onError) == null || I.call(w, G);
1019
+ z(!0), (I = v == null ? void 0 : v.onError) == null || I.call(v, Z);
1013
1020
  }
1014
1021
  }
1015
1022
  )
1016
- }, K = (G) => {
1017
- N && (S == null || S(G));
1023
+ }, G = (Z) => {
1024
+ L && (w == null || w(Z));
1018
1025
  };
1019
- return /* @__PURE__ */ l.jsx(
1026
+ return /* @__PURE__ */ s.jsx(
1020
1027
  "div",
1021
1028
  {
1022
- ref: s,
1023
- onClick: K,
1024
- className: A,
1025
- style: a,
1026
- "data-testid": k,
1029
+ ref: o,
1030
+ onClick: G,
1031
+ className: D,
1032
+ style: r,
1033
+ "data-testid": S,
1027
1034
  "aria-disabled": i || d,
1028
- children: J[F](null)
1035
+ children: q[P](null)
1029
1036
  }
1030
1037
  );
1031
- }), W2 = "_avatarGroup_157g4_1", Z2 = {
1032
- avatarGroup: W2
1038
+ }), Ja = "_avatarGroup_157g4_1", Ka = {
1039
+ avatarGroup: Ja
1033
1040
  };
1034
- let U2 = (r = 21) => crypto.getRandomValues(new Uint8Array(r)).reduce((s, a) => (a &= 63, a < 36 ? s += a.toString(36) : a < 62 ? s += (a - 26).toString(36).toUpperCase() : a > 62 ? s += "-" : s += "_", s), "");
1035
- function G2(r, s, a, o, d, i, _) {
1036
- const f = Math.min(d, i) / 2, c = Math.min(_, f), h = ["M0,0", `H${r}`, `V${s}`, "H0", "V0", "Z"].join(" "), p = [
1037
- `M${a + c},${o}`,
1038
- `L${a + d - c},${o}`,
1041
+ let Qa = (t = 21) => crypto.getRandomValues(new Uint8Array(t)).reduce((o, r) => (r &= 63, r < 36 ? o += r.toString(36) : r < 62 ? o += (r - 26).toString(36).toUpperCase() : r > 62 ? o += "-" : o += "_", o), "");
1042
+ function Xa(t, o, r, n, d, i, u) {
1043
+ const _ = Math.min(d, i) / 2, c = Math.min(u, _), b = ["M0,0", `H${t}`, `V${o}`, "H0", "V0", "Z"].join(" "), f = [
1044
+ `M${r + c},${n}`,
1045
+ `L${r + d - c},${n}`,
1039
1046
  // Верхний правый угол
1040
- `A${c},${c} 0 0 1 ${a + d},${o + c}`,
1041
- `L${a + d},${o + i - c}`,
1047
+ `A${c},${c} 0 0 1 ${r + d},${n + c}`,
1048
+ `L${r + d},${n + i - c}`,
1042
1049
  // Нижний правый угол
1043
- `A${c},${c} 0 0 1 ${a + d - c},${o + i}`,
1044
- `L${a + c},${o + i}`,
1050
+ `A${c},${c} 0 0 1 ${r + d - c},${n + i}`,
1051
+ `L${r + c},${n + i}`,
1045
1052
  // Нижний левый угол
1046
- `A${c},${c} 0 0 1 ${a},${o + i - c}`,
1047
- `L${a},${o + c}`,
1053
+ `A${c},${c} 0 0 1 ${r},${n + i - c}`,
1054
+ `L${r},${n + c}`,
1048
1055
  // Верхний левый угол
1049
- `A${c},${c} 0 0 1 ${a + c},${o}`,
1056
+ `A${c},${c} 0 0 1 ${r + c},${n}`,
1050
1057
  "Z"
1051
1058
  ].join(" ");
1052
- return `${h} ${p}`;
1059
+ return `${b} ${f}`;
1053
1060
  }
1054
- const Y2 = 2, q2 = (r) => {
1061
+ const er = 2, tr = (t) => {
1055
1062
  const {
1056
- avatars: s = [],
1057
- overflowCount: a = 0,
1058
- size: o = 40,
1063
+ avatars: o = [],
1064
+ overflowCount: r = 0,
1065
+ size: n = 40,
1059
1066
  overlap: d = 0.3,
1060
1067
  shape: i = "circle",
1061
- overflowOnClick: _
1062
- } = r, f = o * d, c = -f + Y2, h = M2(o, i), g = ot(U2()).current.toString(), C = Z(Z2.avatarGroup), w = G2(
1063
- o,
1064
- o,
1065
- o - f,
1068
+ overflowOnClick: u
1069
+ } = t, _ = n * d, c = -_ + er, b = Za(n, i), g = pt(Qa()).current.toString(), y = K(Ka.avatarGroup), v = Xa(
1070
+ n,
1071
+ n,
1072
+ n - _,
1066
1073
  // X-координата начала выреза
1067
1074
  0,
1068
1075
  // Y-координата начала выреза
1069
- o,
1070
- o,
1071
- h
1076
+ n,
1077
+ n,
1078
+ b
1072
1079
  );
1073
- return s.length === 0 ? null : /* @__PURE__ */ l.jsxs("div", { className: C, children: [
1074
- s.map(($, k, L) => {
1075
- const S = k + 1 >= L.length;
1076
- return /* @__PURE__ */ l.jsx(
1080
+ return o.length === 0 ? null : /* @__PURE__ */ s.jsxs("div", { className: y, children: [
1081
+ o.map((E, S, k) => {
1082
+ const w = S + 1 >= k.length;
1083
+ if (E.wrapper) {
1084
+ const C = E.wrapper;
1085
+ return /* @__PURE__ */ s.jsx(
1086
+ "div",
1087
+ {
1088
+ style: {
1089
+ // Для последнего видимого аватара без overflowCount не применяем обрезку
1090
+ clipPath: w && !r ? void 0 : `url(#${g})`,
1091
+ marginRight: c
1092
+ },
1093
+ children: /* @__PURE__ */ s.jsx(C, { children: /* @__PURE__ */ s.jsx(Ee, { size: n, shape: i, ...E }) })
1094
+ },
1095
+ Me(E) + S
1096
+ );
1097
+ }
1098
+ return /* @__PURE__ */ s.jsx(
1077
1099
  "div",
1078
1100
  {
1079
1101
  style: {
1080
1102
  // Для последнего видимого аватара без overflowCount не применяем обрезку
1081
- clipPath: S && !a ? void 0 : `url(#${g})`,
1103
+ clipPath: w && !r ? void 0 : `url(#${g})`,
1082
1104
  marginRight: c
1083
1105
  },
1084
- children: /* @__PURE__ */ l.jsx(Pe, { size: o, shape: i, ...$ })
1106
+ children: /* @__PURE__ */ s.jsx(Ee, { size: n, shape: i, ...E })
1085
1107
  },
1086
- it($) + k
1108
+ Me(E) + S
1087
1109
  );
1088
1110
  }),
1089
- a > 0 && /* @__PURE__ */ l.jsx("div", { style: { marginRight: c }, children: /* @__PURE__ */ l.jsx(
1090
- Pe,
1111
+ r > 0 && /* @__PURE__ */ s.jsx("div", { style: { marginRight: c }, children: /* @__PURE__ */ s.jsx(
1112
+ Ee,
1091
1113
  {
1092
- size: o,
1114
+ size: n,
1093
1115
  shape: i,
1094
- onClick: _,
1095
- icon: () => L2(a),
1116
+ onClick: u,
1117
+ icon: () => Ba(r),
1096
1118
  colorScheme: "gray"
1097
1119
  }
1098
1120
  ) }),
1099
- /* @__PURE__ */ l.jsx("svg", { width: "0", height: "0", children: /* @__PURE__ */ l.jsx("clipPath", { id: `${g}`, children: /* @__PURE__ */ l.jsx("path", { clipPathUnits: "objectBoundingBox", d: w, clipRule: "evenodd" }) }) })
1121
+ /* @__PURE__ */ s.jsx("svg", { width: "0", height: "0", children: /* @__PURE__ */ s.jsx("clipPath", { id: `${g}`, children: /* @__PURE__ */ s.jsx("path", { clipPathUnits: "objectBoundingBox", d: v, clipRule: "evenodd" }) }) })
1100
1122
  ] });
1101
- }, Ur = Object.assign(Pe, {
1102
- Group: q2
1103
- }), H2 = "_wrapper_1ncab_5", J2 = "_badge__container_1ncab_6", K2 = "_badge__content_1ncab_7", Q2 = "_interactive_1ncab_20", X2 = "_disabled_1ncab_21", er = "_icon_1ncab_22", W = {
1104
- wrapper: H2,
1105
- badge__container: J2,
1106
- badge__content: K2,
1107
- interactive: Q2,
1108
- disabled: X2,
1109
- icon: er,
1123
+ }, $n = Object.assign(Ee, {
1124
+ Group: tr
1125
+ }), ar = "_wrapper_1ncab_5", rr = "_badge__container_1ncab_6", nr = "_badge__content_1ncab_7", or = "_interactive_1ncab_20", sr = "_disabled_1ncab_21", ir = "_icon_1ncab_22", Y = {
1126
+ wrapper: ar,
1127
+ badge__container: rr,
1128
+ badge__content: nr,
1129
+ interactive: or,
1130
+ disabled: sr,
1131
+ icon: ir,
1110
1132
  "variant-filled": "_variant-filled_1ncab_101",
1111
1133
  "color-brand": "_color-brand_1ncab_106",
1112
1134
  "color-red": "_color-red_1ncab_110",
@@ -1138,128 +1160,128 @@ const Y2 = 2, q2 = (r) => {
1138
1160
  "position-bottom-center-inside": "_position-bottom-center-inside_1ncab_446",
1139
1161
  "position-middle-left-inside": "_position-middle-left-inside_1ncab_452",
1140
1162
  "position-middle-right-inside": "_position-middle-right-inside_1ncab_458"
1141
- }, tr = (r) => r === "rgba(0, 0, 0, 0)" || r === "transparent" || r.startsWith("rgba") && r.endsWith(", 0)"), rr = (r) => {
1142
- if (!r) return null;
1143
- let s = r;
1144
- for (; s; ) {
1145
- const o = window.getComputedStyle(s).backgroundColor;
1146
- if (!tr(o)) return o;
1147
- s = s.parentElement;
1163
+ }, lr = (t) => t === "rgba(0, 0, 0, 0)" || t === "transparent" || t.startsWith("rgba") && t.endsWith(", 0)"), cr = (t) => {
1164
+ if (!t) return null;
1165
+ let o = t;
1166
+ for (; o; ) {
1167
+ const n = window.getComputedStyle(o).backgroundColor;
1168
+ if (!lr(n)) return n;
1169
+ o = o.parentElement;
1148
1170
  }
1149
1171
  return null;
1150
- }, ar = () => {
1151
- const r = ot(null), [s, a] = Le(null);
1152
- return st(() => {
1153
- if (r.current) {
1154
- const o = rr(r.current);
1155
- a(o);
1172
+ }, dr = () => {
1173
+ const t = pt(null), [o, r] = Re(null);
1174
+ return ze(() => {
1175
+ if (t.current) {
1176
+ const n = cr(t.current);
1177
+ r(n);
1156
1178
  }
1157
- }, []), { ref: r, bgColor: s };
1158
- }, Gr = H((r, s) => {
1179
+ }, []), { ref: t, bgColor: o };
1180
+ }, En = Q((t, o) => {
1159
1181
  const {
1160
- icon: a,
1161
- children: o,
1182
+ icon: r,
1183
+ children: n,
1162
1184
  variant: d = "filled",
1163
1185
  label: i,
1164
- colorScheme: _ = "red",
1165
- size: f = 20,
1186
+ colorScheme: u = "red",
1187
+ size: _ = 20,
1166
1188
  position: c = "top-right",
1167
- positionOffset: h = { x: 0, y: 0 },
1168
- cutoutBackground: p,
1189
+ positionOffset: b = { x: 0, y: 0 },
1190
+ cutoutBackground: f,
1169
1191
  isDisabled: g,
1170
- className: C,
1171
- "data-testid": w = "badge",
1172
- ...$
1173
- } = r, { onClick: k, onPointerDown: L } = $, { ref: S, bgColor: y } = ar(), T = p || y, U = !g && (!!k || !!L), B = Z(W.badge__container, W[`position-${c}`]), F = Z(
1174
- C,
1175
- W.badge__content,
1176
- W[`color-${_}`],
1177
- W[`variant-${d}`],
1192
+ className: y,
1193
+ "data-testid": v = "badge",
1194
+ ...E
1195
+ } = t, { onClick: S, onPointerDown: k } = E, { ref: w, bgColor: C } = dr(), O = f || C, M = !g && (!!S || !!k), z = K(Y.badge__container, Y[`position-${c}`]), P = K(
1196
+ y,
1197
+ Y.badge__content,
1198
+ Y[`color-${u}`],
1199
+ Y[`variant-${d}`],
1178
1200
  {
1179
- [W.icon]: !!a,
1180
- [W.interactive]: U,
1181
- [W.disabled]: g
1201
+ [Y.icon]: !!r,
1202
+ [Y.interactive]: M,
1203
+ [Y.disabled]: g
1182
1204
  }
1183
- ), z = {
1184
- "--badge-height": `${f}px`,
1185
- "--badge-offset-x": `${h.x}px`,
1186
- "--badge-offset-y": `${h.y}px`,
1187
- ...T && { "--badge-cutout-bg": T },
1205
+ ), W = {
1206
+ "--badge-height": `${_}px`,
1207
+ "--badge-offset-x": `${b.x}px`,
1208
+ "--badge-offset-y": `${b.y}px`,
1209
+ ...O && { "--badge-cutout-bg": O },
1188
1210
  ...d === "transparent" && { "--badge-cutout-bg": "transparent" }
1189
- }, A = (a == null ? void 0 : a({})) || i, J = (K) => {
1190
- U && (k == null || k(K));
1211
+ }, D = (r == null ? void 0 : r({})) || i, q = (G) => {
1212
+ M && (S == null || S(G));
1191
1213
  };
1192
- return /* @__PURE__ */ l.jsxs("div", { className: W.wrapper, ref: S, "data-testid": w + "-wrapper", children: [
1193
- o,
1194
- /* @__PURE__ */ l.jsx(
1214
+ return /* @__PURE__ */ s.jsxs("div", { className: Y.wrapper, ref: w, "data-testid": v + "-wrapper", children: [
1215
+ n,
1216
+ /* @__PURE__ */ s.jsx(
1195
1217
  "span",
1196
1218
  {
1197
- className: B,
1198
- style: z,
1199
- "data-testid": w + "-container",
1200
- children: /* @__PURE__ */ l.jsx(
1219
+ className: z,
1220
+ style: W,
1221
+ "data-testid": v + "-container",
1222
+ children: /* @__PURE__ */ s.jsx(
1201
1223
  "span",
1202
1224
  {
1203
- ...$,
1204
- onClick: J,
1205
- className: F,
1206
- "data-testid": w + "-content",
1207
- ref: s,
1225
+ ...E,
1226
+ onClick: q,
1227
+ className: P,
1228
+ "data-testid": v + "-content",
1229
+ ref: o,
1208
1230
  "aria-disabled": g,
1209
- children: A
1231
+ children: D
1210
1232
  }
1211
1233
  )
1212
1234
  }
1213
1235
  )
1214
1236
  ] });
1215
- }), nr = "_container_chiat_7", or = "_image_chiat_19", sr = "_loading_chiat_28", Oe = {
1216
- container: nr,
1217
- image: or,
1218
- loading: sr
1219
- }, ir = "_loader_1tevf_1", lr = "_spin_1tevf_1", cr = "_accent_1tevf_20", ur = "_neutral_1tevf_24", dr = "_positive_1tevf_28", _r = "_negative_1tevf_32", fr = "_gray_1tevf_36", pr = "_special_1tevf_40", br = "_contrast_1tevf_44", gr = "_container_1tevf_48", vr = "_overlay_1tevf_56", de = {
1220
- loader: ir,
1221
- spin: lr,
1222
- accent: cr,
1223
- neutral: ur,
1224
- positive: dr,
1225
- negative: _r,
1226
- gray: fr,
1227
- special: pr,
1228
- contrast: br,
1229
- container: gr,
1230
- overlay: vr,
1237
+ }), ur = "_container_chiat_7", _r = "_image_chiat_19", pr = "_loading_chiat_28", Ae = {
1238
+ container: ur,
1239
+ image: _r,
1240
+ loading: pr
1241
+ }, fr = "_loader_1tevf_1", gr = "_spin_1tevf_1", br = "_accent_1tevf_20", hr = "_neutral_1tevf_24", yr = "_positive_1tevf_28", mr = "_negative_1tevf_32", vr = "_gray_1tevf_36", Cr = "_special_1tevf_40", xr = "_contrast_1tevf_44", wr = "_container_1tevf_48", $r = "_overlay_1tevf_56", pe = {
1242
+ loader: fr,
1243
+ spin: gr,
1244
+ accent: br,
1245
+ neutral: hr,
1246
+ positive: yr,
1247
+ negative: mr,
1248
+ gray: vr,
1249
+ special: Cr,
1250
+ contrast: xr,
1251
+ container: wr,
1252
+ overlay: $r,
1231
1253
  "size-16": "_size-16_1tevf_71",
1232
1254
  "size-24": "_size-24_1tevf_75",
1233
1255
  "size-48": "_size-48_1tevf_79",
1234
1256
  "size-64": "_size-64_1tevf_83",
1235
1257
  "size-96": "_size-96_1tevf_87"
1236
- }, lt = H(
1258
+ }, ft = Q(
1237
1259
  ({
1238
- size: r = 24,
1239
- variant: s = "accent",
1240
- className: a,
1241
- "data-testid": o = "loader",
1260
+ size: t = 24,
1261
+ variant: o = "accent",
1262
+ className: r,
1263
+ "data-testid": n = "loader",
1242
1264
  style: d,
1243
1265
  ...i
1244
- }, _) => {
1245
- const f = Z(
1246
- de.loader,
1247
- de[s],
1248
- de[`size-${r}`],
1249
- a
1266
+ }, u) => {
1267
+ const _ = K(
1268
+ pe.loader,
1269
+ pe[o],
1270
+ pe[`size-${t}`],
1271
+ r
1250
1272
  );
1251
- return /* @__PURE__ */ l.jsx(
1273
+ return /* @__PURE__ */ s.jsx(
1252
1274
  "svg",
1253
1275
  {
1254
- ref: _,
1255
- className: f,
1276
+ ref: u,
1277
+ className: _,
1256
1278
  fill: "none",
1257
1279
  viewBox: "0 0 16 16",
1258
1280
  xmlns: "http://www.w3.org/2000/svg",
1259
- "data-testid": o,
1281
+ "data-testid": n,
1260
1282
  style: d,
1261
1283
  ...i,
1262
- children: /* @__PURE__ */ l.jsx(
1284
+ children: /* @__PURE__ */ s.jsx(
1263
1285
  "path",
1264
1286
  {
1265
1287
  d: "M14 8C14 11.3137 11.3137 14 8 14C4.68629 14 2 11.3137 2 8C2 4.68629 4.68629 2 8 2",
@@ -1271,38 +1293,38 @@ const Y2 = 2, q2 = (r) => {
1271
1293
  }
1272
1294
  );
1273
1295
  }
1274
- ), hr = H((r, s) => {
1296
+ ), Er = Q((t, o) => {
1275
1297
  const {
1276
- loading: a = !1,
1277
- size: o = 24,
1298
+ loading: r = !1,
1299
+ size: n = 24,
1278
1300
  variant: d = "accent",
1279
1301
  children: i,
1280
- className: _,
1281
- style: f,
1302
+ className: u,
1303
+ style: _,
1282
1304
  "data-testid": c,
1283
- ...h
1284
- } = r, p = Z(de.container, _);
1285
- return /* @__PURE__ */ l.jsxs("div", { ref: s, className: p, style: f, "data-testid": c, ...h, children: [
1305
+ ...b
1306
+ } = t, f = K(pe.container, u);
1307
+ return /* @__PURE__ */ s.jsxs("div", { ref: o, className: f, style: _, "data-testid": c, ...b, children: [
1286
1308
  i,
1287
- a && /* @__PURE__ */ l.jsx("div", { className: de.overlay, children: /* @__PURE__ */ l.jsx(lt, { size: o, variant: d, "data-testid": `${c}-spinner` }) })
1309
+ r && /* @__PURE__ */ s.jsx("div", { className: pe.overlay, children: /* @__PURE__ */ s.jsx(ft, { size: n, variant: d, "data-testid": `${c}-spinner` }) })
1288
1310
  ] });
1289
- }), mr = H((r, s) => r.children ? /* @__PURE__ */ l.jsx(
1290
- hr,
1311
+ }), jr = Q((t, o) => t.children ? /* @__PURE__ */ s.jsx(
1312
+ Er,
1291
1313
  {
1292
- ref: s,
1293
- ...r
1314
+ ref: o,
1315
+ ...t
1294
1316
  }
1295
- ) : /* @__PURE__ */ l.jsx(lt, { ref: s, ...r })), Cr = ({ width: r = 48, height: s = 48, className: a, "data-testid": o }) => /* @__PURE__ */ l.jsx(
1317
+ ) : /* @__PURE__ */ s.jsx(ft, { ref: o, ...t })), Rr = ({ width: t = 48, height: o = 48, className: r, "data-testid": n }) => /* @__PURE__ */ s.jsx(
1296
1318
  "svg",
1297
1319
  {
1298
- width: r,
1299
- height: s,
1320
+ width: t,
1321
+ height: o,
1300
1322
  viewBox: "0 0 48 48",
1301
1323
  fill: "none",
1302
1324
  xmlns: "http://www.w3.org/2000/svg",
1303
- className: a,
1304
- "data-testid": o,
1305
- children: /* @__PURE__ */ l.jsx(
1325
+ className: r,
1326
+ "data-testid": n,
1327
+ children: /* @__PURE__ */ s.jsx(
1306
1328
  "path",
1307
1329
  {
1308
1330
  d: "M32.4 42H13.8627C12.6511 42 12.0453 42 11.7648 41.7604C11.5214 41.5525 11.3922 41.2407 11.4173 40.9215C11.4462 40.5538 11.8746 40.1254 12.7314 39.2686L29.7373 22.2627C30.5293 21.4707 30.9253 21.0747 31.382 20.9263C31.7837 20.7958 32.2163 20.7958 32.618 20.9263C33.0747 21.0747 33.4707 21.4707 34.2627 22.2627L42 30V32.4M32.4 42C35.7603 42 37.4405 42 38.7239 41.346C39.8529 40.7708 40.7708 39.8529 41.346 38.7239C42 37.4405 42 35.7603 42 32.4M32.4 42H15.6C12.2397 42 10.5595 42 9.27606 41.346C8.14708 40.7708 7.2292 39.8529 6.65396 38.7239C6 37.4405 6 35.7603 6 32.4V15.6C6 12.2397 6 10.5595 6.65396 9.27606C7.2292 8.14708 8.14708 7.2292 9.27606 6.65396C10.5595 6 12.2397 6 15.6 6H32.4C35.7603 6 37.4405 6 38.7239 6.65396C39.8529 7.2292 40.7708 8.14708 41.346 9.27606C42 10.5595 42 12.2397 42 15.6V32.4M21 17C21 19.2091 19.2091 21 17 21C14.7909 21 13 19.2091 13 17C13 14.7909 14.7909 13 17 13C19.2091 13 21 14.7909 21 17Z",
@@ -1313,170 +1335,470 @@ const Y2 = 2, q2 = (r) => {
1313
1335
  }
1314
1336
  )
1315
1337
  }
1316
- ), Yr = H((r, s) => {
1338
+ ), jn = Q((t, o) => {
1317
1339
  const {
1318
- alt: a = "",
1319
- loading: o = "lazy",
1340
+ alt: r = "",
1341
+ loading: n = "lazy",
1320
1342
  src: d,
1321
1343
  isLoading: i = !1,
1322
- className: _,
1323
- "data-testid": f = "image",
1344
+ className: u,
1345
+ "data-testid": _ = "image",
1324
1346
  onError: c,
1325
- onLoad: h,
1326
- ...p
1327
- } = r, [g, C] = Le("loading"), w = g === "error", $ = (i || g === "loading") && !w, k = g === "loaded" && !i, L = Z(
1328
- Oe.image,
1347
+ onLoad: b,
1348
+ ...f
1349
+ } = t, [g, y] = Re("loading"), v = g === "error", E = (i || g === "loading") && !v, S = g === "loaded" && !i, k = K(
1350
+ Ae.image,
1329
1351
  {
1330
- [Oe.loading]: $
1352
+ [Ae.loading]: E
1331
1353
  },
1332
- _
1333
- ), S = He(
1334
- (N) => {
1335
- C("loaded"), h == null || h(N);
1354
+ u
1355
+ ), w = et(
1356
+ (L) => {
1357
+ y("loaded"), b == null || b(L);
1336
1358
  },
1337
- [h]
1338
- ), y = He(
1339
- (N) => {
1340
- C("error"), c == null || c(N);
1359
+ [b]
1360
+ ), C = et(
1361
+ (L) => {
1362
+ y("error"), c == null || c(L);
1341
1363
  },
1342
1364
  [c]
1343
- ), T = {
1344
- loader: /* @__PURE__ */ l.jsxs(Nt, { children: [
1345
- /* @__PURE__ */ l.jsx(mr, { size: 48, variant: "special", "data-testid": `${f}-loader` }),
1346
- /* @__PURE__ */ l.jsx(
1365
+ ), O = {
1366
+ loader: /* @__PURE__ */ s.jsxs(Bt, { children: [
1367
+ /* @__PURE__ */ s.jsx(jr, { size: 48, variant: "special", "data-testid": `${_}-loader` }),
1368
+ /* @__PURE__ */ s.jsx(
1347
1369
  "img",
1348
1370
  {
1349
- alt: a,
1371
+ alt: r,
1350
1372
  src: d,
1351
- onLoad: S,
1352
- onError: y,
1373
+ onLoad: w,
1374
+ onError: C,
1353
1375
  style: { display: "none" }
1354
1376
  }
1355
1377
  )
1356
1378
  ] }),
1357
- error: /* @__PURE__ */ l.jsx(Cr, { "data-testid": `${f}-fallback` }),
1358
- image: /* @__PURE__ */ l.jsx(
1379
+ error: /* @__PURE__ */ s.jsx(Rr, { "data-testid": `${_}-fallback` }),
1380
+ image: /* @__PURE__ */ s.jsx(
1359
1381
  "img",
1360
1382
  {
1361
- ref: s,
1362
- alt: a,
1363
- "data-testid": f,
1364
- loading: o,
1383
+ ref: o,
1384
+ alt: r,
1385
+ "data-testid": _,
1386
+ loading: n,
1365
1387
  src: d,
1366
- className: L
1388
+ className: k
1367
1389
  }
1368
1390
  )
1369
1391
  };
1370
- return st(() => {
1392
+ return ze(() => {
1371
1393
  if (!d) {
1372
- C("error");
1394
+ y("error");
1373
1395
  return;
1374
1396
  }
1375
- C("loading");
1376
- }, [d]), /* @__PURE__ */ l.jsxs("div", { className: Oe.container, "data-testid": `${f}-container`, ...p, children: [
1377
- $ && T.loader,
1378
- w && T.error,
1379
- k && T.image
1397
+ y("loading");
1398
+ }, [d]), /* @__PURE__ */ s.jsxs("div", { className: Ae.container, "data-testid": `${_}-container`, ...f, children: [
1399
+ E && O.loader,
1400
+ v && O.error,
1401
+ S && O.image
1380
1402
  ] });
1381
- }), yr = {}, ct = It({
1382
- locale: yr
1383
- }), xr = () => {
1384
- const r = At(ct);
1385
- if (!r)
1403
+ }), Sr = {}, gt = Ft({
1404
+ locale: Sr
1405
+ }), kr = () => {
1406
+ const t = Vt(gt);
1407
+ if (!t)
1386
1408
  throw new Error("useConfig must be used within a ConfigProvider");
1387
- return r;
1388
- }, qr = () => {
1389
- const { locale: r } = xr();
1390
- return r;
1391
- }, wr = {}, Er = {}, Rr = {}, Hr = ({
1392
- locale: r = {},
1393
- theme: s,
1394
- children: a,
1395
- className: o
1409
+ return t;
1410
+ }, Rn = () => {
1411
+ const { locale: t } = kr();
1412
+ return t;
1413
+ }, Tr = {}, Nr = {}, Or = {}, Sn = ({
1414
+ locale: t = {},
1415
+ theme: o,
1416
+ children: r,
1417
+ className: n
1396
1418
  }) => {
1397
- const d = s ? { ...Object.fromEntries(Object.entries(s)) } : {};
1398
- return /* @__PURE__ */ l.jsx(
1419
+ const d = o ? { ...Object.fromEntries(Object.entries(o)) } : {};
1420
+ return /* @__PURE__ */ s.jsx(
1399
1421
  "div",
1400
1422
  {
1401
1423
  "data-testid": "ConfigProvider-component",
1402
1424
  style: d,
1403
- className: ae(
1404
- wr,
1405
- Er,
1406
- Rr,
1407
- o
1425
+ className: J(
1426
+ Tr,
1427
+ Nr,
1428
+ Or,
1429
+ n
1408
1430
  ),
1409
- children: /* @__PURE__ */ l.jsx(ct.Provider, { value: { locale: r }, children: a })
1431
+ children: /* @__PURE__ */ s.jsx(gt.Provider, { value: { locale: t }, children: r })
1410
1432
  }
1411
1433
  );
1412
- }, Jr = {}, Sr = "_tag_1llsi_1", jr = "_label_1llsi_16", $r = "_iconWrapper_1llsi_20", kr = "_medium_1llsi_27", Tr = "_large_1llsi_33", Or = "_disabled_1llsi_43", Pr = "_neutral_1llsi_47", Lr = "_positive_1llsi_53", Nr = "_negative_1llsi_59", Ir = "_warning_1llsi_65", Ar = "_vivid_1llsi_71", Mr = "_special_1llsi_77", Dr = "_accent_1llsi_84", Br = "_blue_1llsi_90", Fr = "_lovely_1llsi_96", zr = "_dreamy_1llsi_102", re = {
1413
- tag: Sr,
1414
- label: jr,
1415
- iconWrapper: $r,
1416
- medium: kr,
1417
- large: Tr,
1418
- disabled: Or,
1419
- neutral: Pr,
1420
- positive: Lr,
1421
- negative: Nr,
1422
- warning: Ir,
1423
- vivid: Ar,
1424
- special: Mr,
1425
- accent: Dr,
1426
- blue: Br,
1427
- lovely: Fr,
1428
- dreamy: zr
1429
- }, at = {
1434
+ }, kn = {}, Lr = "_tag_1llsi_1", Pr = "_label_1llsi_16", Ir = "_iconWrapper_1llsi_20", Ar = "_medium_1llsi_27", Mr = "_large_1llsi_33", zr = "_disabled_1llsi_43", Dr = "_neutral_1llsi_47", Br = "_positive_1llsi_53", Fr = "_negative_1llsi_59", Vr = "_warning_1llsi_65", Wr = "_vivid_1llsi_71", Zr = "_special_1llsi_77", Ur = "_accent_1llsi_84", qr = "_blue_1llsi_90", Gr = "_lovely_1llsi_96", Yr = "_dreamy_1llsi_102", ne = {
1435
+ tag: Lr,
1436
+ label: Pr,
1437
+ iconWrapper: Ir,
1438
+ medium: Ar,
1439
+ large: Mr,
1440
+ disabled: zr,
1441
+ neutral: Dr,
1442
+ positive: Br,
1443
+ negative: Fr,
1444
+ warning: Vr,
1445
+ vivid: Wr,
1446
+ special: Zr,
1447
+ accent: Ur,
1448
+ blue: qr,
1449
+ lovely: Gr,
1450
+ dreamy: Yr
1451
+ }, je = {
1452
+ "typography-title-1-semibold": "_typography-title-1-semibold_1lyxn_1",
1453
+ "typography-title-2-semibold": "_typography-title-2-semibold_1lyxn_10",
1454
+ "typography-title-3-semibold": "_typography-title-3-semibold_1lyxn_19",
1455
+ "typography-title-4-semibold": "_typography-title-4-semibold_1lyxn_28",
1456
+ "typography-title-5-semibold": "_typography-title-5-semibold_1lyxn_37",
1430
1457
  "typography-subtitle-1-semibold": "_typography-subtitle-1-semibold_1lyxn_45",
1431
- "typography-label-3-regular": "_typography-label-3-regular_1lyxn_141"
1432
- }, Kr = H((r, s) => {
1458
+ "typography-subtitle-2-semibold": "_typography-subtitle-2-semibold_1lyxn_53",
1459
+ "typography-subtitle-3-semibold": "_typography-subtitle-3-semibold_1lyxn_62",
1460
+ "typography-subtitle-4-semibold": "_typography-subtitle-4-semibold_1lyxn_71",
1461
+ "typography-label-1-medium": "_typography-label-1-medium_1lyxn_80",
1462
+ "typography-label-2-medium": "_typography-label-2-medium_1lyxn_89",
1463
+ "typography-label-3-medium": "_typography-label-3-medium_1lyxn_97",
1464
+ "typography-label-4-medium": "_typography-label-4-medium_1lyxn_106",
1465
+ "typography-label-5-medium": "_typography-label-5-medium_1lyxn_115",
1466
+ "typography-label-1-regular": "_typography-label-1-regular_1lyxn_124",
1467
+ "typography-label-2-regular": "_typography-label-2-regular_1lyxn_133",
1468
+ "typography-label-3-regular": "_typography-label-3-regular_1lyxn_141",
1469
+ "typography-label-4-regular": "_typography-label-4-regular_1lyxn_150",
1470
+ "typography-label-5-regular": "_typography-label-5-regular_1lyxn_159",
1471
+ "typography-paragraph-1-regular": "_typography-paragraph-1-regular_1lyxn_168",
1472
+ "typography-paragraph-2-regular": "_typography-paragraph-2-regular_1lyxn_176",
1473
+ "typography-paragraph-3-regular": "_typography-paragraph-3-regular_1lyxn_185",
1474
+ "typography-paragraph-4-regular": "_typography-paragraph-4-regular_1lyxn_194"
1475
+ }, Tn = Q((t, o) => {
1433
1476
  const {
1434
- className: a,
1435
- children: o,
1477
+ className: r,
1478
+ children: n,
1436
1479
  componentStyle: d = "neutral",
1437
1480
  size: i = "medium",
1438
- disabled: _ = !1,
1439
- showLabel: f = !!o,
1481
+ disabled: u = !1,
1482
+ showLabel: _ = !!n,
1440
1483
  slotStart: c,
1441
- slotEnd: h,
1442
- slotStartWrapperProps: p = {},
1484
+ slotEnd: b,
1485
+ slotStartWrapperProps: f = {},
1443
1486
  slotEndWrapperProps: g = {},
1444
- "data-testid": C
1445
- } = r, { className: w, ...$ } = p, { className: k, ...L } = g;
1446
- return /* @__PURE__ */ l.jsxs(
1487
+ "data-testid": y
1488
+ } = t, { className: v, ...E } = f, { className: S, ...k } = g;
1489
+ return /* @__PURE__ */ s.jsxs(
1447
1490
  "div",
1448
1491
  {
1449
- className: ae(
1450
- re.tag,
1451
- re[i],
1452
- re[d],
1492
+ className: J(
1493
+ ne.tag,
1494
+ ne[i],
1495
+ ne[d],
1453
1496
  {
1454
- [re.disabled]: _,
1455
- [at["typography-label-3-regular"]]: i === "medium",
1456
- [at["typography-subtitle-1-semibold"]]: i === "large"
1497
+ [ne.disabled]: u,
1498
+ [je["typography-label-3-regular"]]: i === "medium",
1499
+ [je["typography-subtitle-1-semibold"]]: i === "large"
1457
1500
  },
1458
- a
1501
+ r
1459
1502
  ),
1460
- "data-testid": C || "tag-component",
1461
- ref: s,
1503
+ "data-testid": y || "tag-component",
1504
+ ref: o,
1462
1505
  children: [
1463
- c && /* @__PURE__ */ l.jsx("span", { className: ae([re.iconWrapper, w]), ...$, children: c }),
1464
- f && /* @__PURE__ */ l.jsx("span", { className: ae([re.label]), children: o }),
1465
- h && /* @__PURE__ */ l.jsx("span", { className: ae([re.iconWrapper, k]), ...L, children: h })
1506
+ c && /* @__PURE__ */ s.jsx("span", { className: J([ne.iconWrapper, v]), ...E, children: c }),
1507
+ _ && /* @__PURE__ */ s.jsx("span", { className: J([ne.label]), children: n }),
1508
+ b && /* @__PURE__ */ s.jsx("span", { className: J([ne.iconWrapper, S]), ...k, children: b })
1466
1509
  ]
1467
1510
  }
1468
1511
  );
1469
- });
1512
+ }), Hr = "_checkbox_qo5f5_43", Jr = "_input_qo5f5_59", Kr = "_icon_qo5f5_67", Qr = "_container_qo5f5_84", Xr = "_error_qo5f5_135", en = "_checkboxWrapper_qo5f5_147", tn = "_medium_qo5f5_201", an = "_large_qo5f5_206", rn = "_label_qo5f5_247", H = {
1513
+ checkbox: Hr,
1514
+ input: Jr,
1515
+ icon: Kr,
1516
+ container: Qr,
1517
+ error: Xr,
1518
+ checkboxWrapper: en,
1519
+ medium: tn,
1520
+ large: an,
1521
+ label: rn
1522
+ }, nn = ({
1523
+ width: t = 12,
1524
+ height: o = 9,
1525
+ className: r = "",
1526
+ color: n = "currentColor",
1527
+ ...d
1528
+ }) => /* @__PURE__ */ s.jsx(
1529
+ "svg",
1530
+ {
1531
+ className: r,
1532
+ width: t,
1533
+ height: o,
1534
+ viewBox: "0 0 14 10",
1535
+ fill: "none",
1536
+ xmlns: "http://www.w3.org/2000/svg",
1537
+ ...d,
1538
+ children: /* @__PURE__ */ s.jsx(
1539
+ "path",
1540
+ {
1541
+ fillRule: "evenodd",
1542
+ clipRule: "evenodd",
1543
+ d: "M13.0001 2.49999C13.3906 2.10946 13.3906 1.4763 13.0001 1.08578C12.6095 0.695251 11.9764 0.695251 11.5859 1.08578L5.29296 7.37867L2.00007 4.08578C1.60954 3.69525 0.976378 3.69525 0.585855 4.08578C0.19533 4.4763 0.19533 5.10946 0.585855 5.49999L4.58585 9.49999C4.97638 9.89051 5.60954 9.89051 6.00007 9.49999L13.0001 2.49999Z",
1544
+ fill: n
1545
+ }
1546
+ )
1547
+ }
1548
+ ), on = ({
1549
+ width: t = 12,
1550
+ height: o = 2,
1551
+ className: r = "",
1552
+ color: n = "currentColor",
1553
+ ...d
1554
+ }) => /* @__PURE__ */ s.jsx(
1555
+ "svg",
1556
+ {
1557
+ className: r,
1558
+ width: t,
1559
+ height: o,
1560
+ viewBox: "0 0 12 2",
1561
+ fill: "none",
1562
+ xmlns: "http://www.w3.org/2000/svg",
1563
+ ...d,
1564
+ children: /* @__PURE__ */ s.jsx(
1565
+ "path",
1566
+ {
1567
+ fillRule: "evenodd",
1568
+ clipRule: "evenodd",
1569
+ d: "M0 1C0 0.447715 0.447715 0 1 0H11C11.5523 0 12 0.447715 12 1C12 1.55228 11.5523 2 11 2H1C0.447715 2 0 1.55228 0 1Z",
1570
+ fill: n
1571
+ }
1572
+ )
1573
+ }
1574
+ ), sn = {
1575
+ medium: { width: 10.83, height: 7.5 },
1576
+ large: { width: 13, height: 9 }
1577
+ }, ln = ({
1578
+ size: t,
1579
+ isChecked: o,
1580
+ isDisabled: r,
1581
+ indeterminate: n,
1582
+ dataTestId: d
1583
+ }) => {
1584
+ const { width: i, height: u } = sn[t];
1585
+ return /* @__PURE__ */ s.jsx(
1586
+ "div",
1587
+ {
1588
+ className: H.icon,
1589
+ "data-testid": `${d}-icon`,
1590
+ "data-checked": o,
1591
+ "data-disabled": r,
1592
+ "data-indeterminate": n,
1593
+ children: n ? /* @__PURE__ */ s.jsx(on, { width: i, height: u }) : /* @__PURE__ */ s.jsx(nn, { width: i, height: u })
1594
+ }
1595
+ );
1596
+ }, Nn = Q((t, o) => {
1597
+ const {
1598
+ name: r,
1599
+ value: n,
1600
+ size: d = "medium",
1601
+ indeterminate: i = !1,
1602
+ loading: u = !1,
1603
+ error: _,
1604
+ disabled: c = !1,
1605
+ containerClassName: b,
1606
+ className: f,
1607
+ containerStyle: g,
1608
+ style: y,
1609
+ children: v,
1610
+ clickableLabel: E = !0,
1611
+ tabIndex: S,
1612
+ onChange: k,
1613
+ "data-testid": w = "checkbox"
1614
+ } = t, [C, O] = Re(!1), L = n ?? C, M = c || u, z = !!_, P = L || i, W = tt(H.container, H[d], b), D = tt(
1615
+ H.checkbox,
1616
+ H[d],
1617
+ {
1618
+ [H.error]: z
1619
+ },
1620
+ f
1621
+ ), q = (T) => {
1622
+ M || (O(T.target.checked), k == null || k(T.target.checked, T));
1623
+ }, G = (T) => {
1624
+ if (T.key === "Enter" && !M) {
1625
+ T.preventDefault();
1626
+ const U = !P;
1627
+ O(U), k == null || k(U);
1628
+ }
1629
+ }, Z = (T) => {
1630
+ E || T.preventDefault();
1631
+ }, I = (T) => T.stopPropagation();
1632
+ return /* @__PURE__ */ s.jsxs(
1633
+ "label",
1634
+ {
1635
+ className: W,
1636
+ htmlFor: r,
1637
+ style: g,
1638
+ "data-testid": w,
1639
+ "data-clickable-label": E,
1640
+ children: [
1641
+ /* @__PURE__ */ s.jsx("div", { className: H.checkboxWrapper, children: /* @__PURE__ */ s.jsxs(
1642
+ "div",
1643
+ {
1644
+ tabIndex: S || 0,
1645
+ className: D,
1646
+ style: y,
1647
+ onKeyDown: G,
1648
+ "aria-checked": P,
1649
+ "aria-disabled": M,
1650
+ "aria-invalid": z,
1651
+ "aria-describedby": _ ? `${r}-error` : void 0,
1652
+ "data-testid": `${w}-label`,
1653
+ children: [
1654
+ /* @__PURE__ */ s.jsx(
1655
+ "input",
1656
+ {
1657
+ ref: o,
1658
+ type: "checkbox",
1659
+ id: r,
1660
+ name: r,
1661
+ checked: P,
1662
+ disabled: M,
1663
+ className: H.input,
1664
+ onChange: q,
1665
+ onClick: I,
1666
+ "aria-checked": P,
1667
+ "aria-invalid": z,
1668
+ "aria-describedby": _ ? `${r}-error` : void 0,
1669
+ "data-testid": `${w}-input`
1670
+ }
1671
+ ),
1672
+ /* @__PURE__ */ s.jsx(
1673
+ ln,
1674
+ {
1675
+ name: r,
1676
+ size: d,
1677
+ isChecked: P,
1678
+ isDisabled: M,
1679
+ indeterminate: i,
1680
+ dataTestId: w
1681
+ }
1682
+ )
1683
+ ]
1684
+ }
1685
+ ) }),
1686
+ v && /* @__PURE__ */ s.jsx(
1687
+ "span",
1688
+ {
1689
+ "data-testid": `${w}-label-text`,
1690
+ "data-clickable-label": E,
1691
+ className: H.label,
1692
+ onClick: Z,
1693
+ children: v
1694
+ }
1695
+ )
1696
+ ]
1697
+ }
1698
+ );
1699
+ }), cn = "_typography_zt7xg_1", dn = "_disabled_zt7xg_8", un = "_primary_zt7xg_13", _n = "_secondary_zt7xg_18", pn = "_tertiary_zt7xg_23", fn = "_accent_zt7xg_28", gn = "_positive_zt7xg_38", bn = "_negative_zt7xg_48", hn = "_warning_zt7xg_58", yn = "_special_zt7xg_68", mn = "_contrast_zt7xg_78", ie = {
1700
+ typography: cn,
1701
+ disabled: dn,
1702
+ primary: un,
1703
+ secondary: _n,
1704
+ tertiary: pn,
1705
+ accent: fn,
1706
+ "accent-secondary": "_accent-secondary_zt7xg_33",
1707
+ positive: gn,
1708
+ "positive-secondary": "_positive-secondary_zt7xg_43",
1709
+ negative: bn,
1710
+ "negative-secondary": "_negative-secondary_zt7xg_53",
1711
+ warning: hn,
1712
+ "warning-secondary": "_warning-secondary_zt7xg_63",
1713
+ special: yn,
1714
+ "special-secondary": "_special-secondary_zt7xg_73",
1715
+ contrast: mn,
1716
+ "contrast-secondary": "_contrast-secondary_zt7xg_83"
1717
+ }, vn = {
1718
+ 1: "h1",
1719
+ 2: "h2",
1720
+ 3: "h3",
1721
+ 4: "h4",
1722
+ 5: "h5"
1723
+ }, ct = (t) => {
1724
+ const o = ut.forwardRef(
1725
+ ({
1726
+ size: r = 3,
1727
+ children: n,
1728
+ className: d,
1729
+ "data-testid": i,
1730
+ as: u,
1731
+ fontWeight: _ = "semibold",
1732
+ disabled: c = !1,
1733
+ typographyStyle: b = "primary",
1734
+ ...f
1735
+ }, g) => {
1736
+ const y = u || vn[r], v = J(
1737
+ ie.typography,
1738
+ je[`typography-${t}-${r}-${_}`],
1739
+ ie[b],
1740
+ {
1741
+ [ie.disabled]: c
1742
+ },
1743
+ d
1744
+ );
1745
+ return n ? /* @__PURE__ */ s.jsx(y, { ref: g, className: v, "data-testid": i, ...f, children: n }) : null;
1746
+ }
1747
+ );
1748
+ return o.displayName = `Typography.${t === "title" ? "Title" : "Subtitle"}`, o;
1749
+ }, dt = (t) => {
1750
+ const o = ut.forwardRef(
1751
+ ({
1752
+ size: r = 3,
1753
+ children: n,
1754
+ className: d,
1755
+ "data-testid": i,
1756
+ as: u = "p",
1757
+ fontWeight: _ = "regular",
1758
+ disabled: c = !1,
1759
+ typographyStyle: b = "primary",
1760
+ ...f
1761
+ }, g) => {
1762
+ const y = u, v = J(
1763
+ ie.typography,
1764
+ je[`typography-${t}-${r}-${_}`],
1765
+ ie[b],
1766
+ {
1767
+ [ie.disabled]: c
1768
+ },
1769
+ d
1770
+ );
1771
+ return n ? /* @__PURE__ */ s.jsx(
1772
+ y,
1773
+ {
1774
+ ref: g,
1775
+ className: v,
1776
+ "data-testid": i,
1777
+ ...f,
1778
+ children: n
1779
+ }
1780
+ ) : null;
1781
+ }
1782
+ );
1783
+ return o.displayName = `Typography.${t.charAt(0).toUpperCase() + t.slice(1)}`, o;
1784
+ }, On = {
1785
+ Title: ct("title"),
1786
+ Subtitle: ct("subtitle"),
1787
+ Label: dt("label"),
1788
+ Paragraph: dt("paragraph")
1789
+ };
1470
1790
  export {
1471
- Ur as Avatar,
1472
- Gr as Badge,
1473
- Zr as Button,
1474
- Hr as ConfigProvider,
1475
- Yr as Image,
1476
- mr as Loader,
1477
- Kr as Tag,
1478
- yr as enUS,
1479
- Jr as ruRU,
1480
- xr as useConfig,
1481
- qr as useLocale
1791
+ $n as Avatar,
1792
+ En as Badge,
1793
+ wn as Button,
1794
+ Nn as Checkbox,
1795
+ Sn as ConfigProvider,
1796
+ jn as Image,
1797
+ jr as Loader,
1798
+ Tn as Tag,
1799
+ On as Typography,
1800
+ Sr as enUS,
1801
+ kn as ruRU,
1802
+ kr as useConfig,
1803
+ Rn as useLocale
1482
1804
  };