skillgrid 0.0.2 → 0.0.3

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 (100) hide show
  1. package/dist/index.cjs.js +34 -1
  2. package/dist/index.css +1 -0
  3. package/dist/index.d.ts +3 -0
  4. package/dist/index.es.js +1407 -19
  5. package/package.json +7 -4
  6. package/dist/index.cjs10.js +0 -1
  7. package/dist/index.cjs11.js +0 -1
  8. package/dist/index.cjs12.js +0 -1
  9. package/dist/index.cjs13.js +0 -1
  10. package/dist/index.cjs14.js +0 -1
  11. package/dist/index.cjs15.js +0 -1
  12. package/dist/index.cjs16.js +0 -1
  13. package/dist/index.cjs17.js +0 -1
  14. package/dist/index.cjs18.js +0 -1
  15. package/dist/index.cjs19.js +0 -1
  16. package/dist/index.cjs2.js +0 -1
  17. package/dist/index.cjs20.js +0 -1
  18. package/dist/index.cjs21.js +0 -1
  19. package/dist/index.cjs22.js +0 -1
  20. package/dist/index.cjs23.js +0 -1
  21. package/dist/index.cjs24.js +0 -1
  22. package/dist/index.cjs25.js +0 -1
  23. package/dist/index.cjs26.js +0 -1
  24. package/dist/index.cjs27.js +0 -1
  25. package/dist/index.cjs28.js +0 -1
  26. package/dist/index.cjs29.js +0 -1
  27. package/dist/index.cjs3.js +0 -1
  28. package/dist/index.cjs30.js +0 -1
  29. package/dist/index.cjs31.js +0 -1
  30. package/dist/index.cjs32.js +0 -1
  31. package/dist/index.cjs33.js +0 -1
  32. package/dist/index.cjs34.js +0 -1
  33. package/dist/index.cjs35.js +0 -9
  34. package/dist/index.cjs36.js +0 -22
  35. package/dist/index.cjs37.js +0 -5
  36. package/dist/index.cjs38.js +0 -1
  37. package/dist/index.cjs39.js +0 -1
  38. package/dist/index.cjs4.js +0 -1
  39. package/dist/index.cjs40.js +0 -1
  40. package/dist/index.cjs41.js +0 -1
  41. package/dist/index.cjs42.js +0 -1
  42. package/dist/index.cjs43.js +0 -1
  43. package/dist/index.cjs44.js +0 -1
  44. package/dist/index.cjs45.js +0 -1
  45. package/dist/index.cjs5.js +0 -1
  46. package/dist/index.cjs6.js +0 -1
  47. package/dist/index.cjs7.js +0 -1
  48. package/dist/index.cjs8.js +0 -1
  49. package/dist/index.cjs9.js +0 -1
  50. package/dist/index.es10.js +0 -18
  51. package/dist/index.es11.js +0 -61
  52. package/dist/index.es12.js +0 -82
  53. package/dist/index.es13.js +0 -5
  54. package/dist/index.es14.js +0 -7
  55. package/dist/index.es15.js +0 -48
  56. package/dist/index.es16.js +0 -22
  57. package/dist/index.es17.js +0 -5
  58. package/dist/index.es18.js +0 -73
  59. package/dist/index.es19.js +0 -11
  60. package/dist/index.es2.js +0 -8
  61. package/dist/index.es20.js +0 -26
  62. package/dist/index.es21.js +0 -7
  63. package/dist/index.es22.js +0 -32
  64. package/dist/index.es23.js +0 -7
  65. package/dist/index.es24.js +0 -12
  66. package/dist/index.es25.js +0 -4
  67. package/dist/index.es26.js +0 -6
  68. package/dist/index.es27.js +0 -22
  69. package/dist/index.es28.js +0 -6
  70. package/dist/index.es29.js +0 -42
  71. package/dist/index.es3.js +0 -4
  72. package/dist/index.es30.js +0 -13
  73. package/dist/index.es31.js +0 -17
  74. package/dist/index.es32.js +0 -7
  75. package/dist/index.es33.js +0 -10
  76. package/dist/index.es34.js +0 -4
  77. package/dist/index.es35.js +0 -28
  78. package/dist/index.es36.js +0 -604
  79. package/dist/index.es37.js +0 -42
  80. package/dist/index.es38.js +0 -4
  81. package/dist/index.es39.js +0 -4
  82. package/dist/index.es4.js +0 -4
  83. package/dist/index.es40.js +0 -4
  84. package/dist/index.es41.js +0 -6
  85. package/dist/index.es42.js +0 -4
  86. package/dist/index.es43.js +0 -4
  87. package/dist/index.es44.js +0 -4
  88. package/dist/index.es45.js +0 -4
  89. package/dist/index.es5.js +0 -66
  90. package/dist/index.es6.js +0 -180
  91. package/dist/index.es7.js +0 -75
  92. package/dist/index.es8.js +0 -67
  93. package/dist/index.es9.js +0 -24
  94. package/dist/src/components/Avatar/Avatar.module.css +0 -1
  95. package/dist/src/components/Avatar/AvatarGroup/AvatarGroup.module.css +0 -1
  96. package/dist/src/components/Badge/Badge.module.css +0 -1
  97. package/dist/src/components/Button/Button.module.css +0 -1
  98. package/dist/src/components/ConfigProvider/ConfigProvider.module.css +0 -1
  99. package/dist/src/components/Image/Image.module.css +0 -1
  100. package/dist/src/components/Loader/Loader.module.css +0 -1
package/dist/index.es.js CHANGED
@@ -1,21 +1,1409 @@
1
- import { Avatar as e } from "./index.es2.js";
2
- import { default as f } from "./index.es3.js";
3
- import { default as m } from "./index.es4.js";
4
- import { Badge as x } from "./index.es5.js";
5
- import { Button as d } from "./index.es6.js";
6
- import { Image as n } from "./index.es7.js";
7
- import { Loader as i } from "./index.es8.js";
8
- import { ConfigProvider as v } from "./index.es9.js";
9
- import { useConfig as C, useLocale as L } from "./index.es10.js";
1
+ import tt, { forwardRef as te, useState as Te, useRef as rt, useEffect as at, useCallback as Ye, Fragment as Tt, createContext as Pt, useContext as Lt } from "react";
2
+ import './index.css';function Nt(r) {
3
+ return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
4
+ }
5
+ var Ce = { exports: {} }, se = {};
6
+ /**
7
+ * @license React
8
+ * react-jsx-runtime.production.min.js
9
+ *
10
+ * Copyright (c) Facebook, Inc. and its affiliates.
11
+ *
12
+ * This source code is licensed under the MIT license found in the
13
+ * LICENSE file in the root directory of this source tree.
14
+ */
15
+ var qe;
16
+ function At() {
17
+ if (qe) return se;
18
+ qe = 1;
19
+ var r = tt, i = Symbol.for("react.element"), n = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, d = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, s = { key: !0, ref: !0, __self: !0, __source: !0 };
20
+ function f(_, c, m) {
21
+ var b, v = {}, y = null, w = null;
22
+ m !== void 0 && (y = "" + m), c.key !== void 0 && (y = "" + c.key), c.ref !== void 0 && (w = c.ref);
23
+ for (b in c) o.call(c, b) && !s.hasOwnProperty(b) && (v[b] = c[b]);
24
+ if (_ && _.defaultProps) for (b in c = _.defaultProps, c) v[b] === void 0 && (v[b] = c[b]);
25
+ return { $$typeof: i, type: _, key: y, ref: w, props: v, _owner: d.current };
26
+ }
27
+ return se.Fragment = n, se.jsx = f, se.jsxs = f, se;
28
+ }
29
+ var ce = {};
30
+ /**
31
+ * @license React
32
+ * react-jsx-runtime.development.js
33
+ *
34
+ * Copyright (c) Facebook, Inc. and its affiliates.
35
+ *
36
+ * This source code is licensed under the MIT license found in the
37
+ * LICENSE file in the root directory of this source tree.
38
+ */
39
+ var He;
40
+ function Mt() {
41
+ return He || (He = 1, process.env.NODE_ENV !== "production" && function() {
42
+ var r = tt, i = Symbol.for("react.element"), n = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), d = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), f = Symbol.for("react.provider"), _ = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), m = Symbol.for("react.suspense"), b = Symbol.for("react.suspense_list"), v = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), w = Symbol.for("react.offscreen"), $ = Symbol.iterator, k = "@@iterator";
43
+ function B(e) {
44
+ if (e === null || typeof e != "object")
45
+ return null;
46
+ var t = $ && e[$] || e[k];
47
+ return typeof t == "function" ? t : null;
48
+ }
49
+ var S = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
50
+ function C(e) {
51
+ {
52
+ for (var t = arguments.length, a = new Array(t > 1 ? t - 1 : 0), u = 1; u < t; u++)
53
+ a[u - 1] = arguments[u];
54
+ O("error", e, a);
55
+ }
56
+ }
57
+ function O(e, t, a) {
58
+ {
59
+ var u = S.ReactDebugCurrentFrame, h = u.getStackAddendum();
60
+ h !== "" && (t += "%s", a = a.concat([h]));
61
+ var x = a.map(function(g) {
62
+ return String(g);
63
+ });
64
+ x.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, x);
65
+ }
66
+ }
67
+ var L = !1, U = !1, F = !1, z = !1, V = !1, A;
68
+ A = Symbol.for("react.module.reference");
69
+ function H(e) {
70
+ return !!(typeof e == "string" || typeof e == "function" || e === o || e === s || V || e === d || e === m || e === b || z || e === w || L || U || F || typeof e == "object" && e !== null && (e.$$typeof === y || e.$$typeof === v || e.$$typeof === f || e.$$typeof === _ || e.$$typeof === c || // This needs to include all possible module reference object
71
+ // types supported by any Flight configuration anywhere since
72
+ // we don't know which Flight build this will end up being used
73
+ // with.
74
+ e.$$typeof === A || e.getModuleId !== void 0));
75
+ }
76
+ function J(e, t, a) {
77
+ var u = e.displayName;
78
+ if (u)
79
+ return u;
80
+ var h = t.displayName || t.name || "";
81
+ return h !== "" ? a + "(" + h + ")" : a;
82
+ }
83
+ function G(e) {
84
+ return e.displayName || "Context";
85
+ }
86
+ function N(e) {
87
+ if (e == null)
88
+ return null;
89
+ 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")
90
+ return e.displayName || e.name || null;
91
+ if (typeof e == "string")
92
+ return e;
93
+ switch (e) {
94
+ case o:
95
+ return "Fragment";
96
+ case n:
97
+ return "Portal";
98
+ case s:
99
+ return "Profiler";
100
+ case d:
101
+ return "StrictMode";
102
+ case m:
103
+ return "Suspense";
104
+ case b:
105
+ return "SuspenseList";
106
+ }
107
+ if (typeof e == "object")
108
+ switch (e.$$typeof) {
109
+ case _:
110
+ var t = e;
111
+ return G(t) + ".Consumer";
112
+ case f:
113
+ var a = e;
114
+ return G(a._context) + ".Provider";
115
+ case c:
116
+ return J(e, e.render, "ForwardRef");
117
+ case v:
118
+ var u = e.displayName || null;
119
+ return u !== null ? u : N(e.type) || "Memo";
120
+ case y: {
121
+ var h = e, x = h._payload, g = h._init;
122
+ try {
123
+ return N(g(x));
124
+ } catch {
125
+ return null;
126
+ }
127
+ }
128
+ }
129
+ return null;
130
+ }
131
+ var W = Object.assign, K = 0, ue, de, fe, _e, pe, be, ge;
132
+ function ve() {
133
+ }
134
+ ve.__reactDisabledLog = !0;
135
+ function xe() {
136
+ {
137
+ if (K === 0) {
138
+ ue = console.log, de = console.info, fe = console.warn, _e = console.error, pe = console.group, be = console.groupCollapsed, ge = console.groupEnd;
139
+ var e = {
140
+ configurable: !0,
141
+ enumerable: !0,
142
+ value: ve,
143
+ writable: !0
144
+ };
145
+ Object.defineProperties(console, {
146
+ info: e,
147
+ log: e,
148
+ warn: e,
149
+ error: e,
150
+ group: e,
151
+ groupCollapsed: e,
152
+ groupEnd: e
153
+ });
154
+ }
155
+ K++;
156
+ }
157
+ }
158
+ function ye() {
159
+ {
160
+ if (K--, K === 0) {
161
+ var e = {
162
+ configurable: !0,
163
+ enumerable: !0,
164
+ writable: !0
165
+ };
166
+ Object.defineProperties(console, {
167
+ log: W({}, e, {
168
+ value: ue
169
+ }),
170
+ info: W({}, e, {
171
+ value: de
172
+ }),
173
+ warn: W({}, e, {
174
+ value: fe
175
+ }),
176
+ error: W({}, e, {
177
+ value: _e
178
+ }),
179
+ group: W({}, e, {
180
+ value: pe
181
+ }),
182
+ groupCollapsed: W({}, e, {
183
+ value: be
184
+ }),
185
+ groupEnd: W({}, e, {
186
+ value: ge
187
+ })
188
+ });
189
+ }
190
+ K < 0 && C("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
191
+ }
192
+ }
193
+ var ne = S.ReactCurrentDispatcher, Q;
194
+ function Y(e, t, a) {
195
+ {
196
+ if (Q === void 0)
197
+ try {
198
+ throw Error();
199
+ } catch (h) {
200
+ var u = h.stack.trim().match(/\n( *(at )?)/);
201
+ Q = u && u[1] || "";
202
+ }
203
+ return `
204
+ ` + Q + e;
205
+ }
206
+ }
207
+ var X = !1, q;
208
+ {
209
+ var oe = typeof WeakMap == "function" ? WeakMap : Map;
210
+ q = new oe();
211
+ }
212
+ function Pe(e, t) {
213
+ if (!e || X)
214
+ return "";
215
+ {
216
+ var a = q.get(e);
217
+ if (a !== void 0)
218
+ return a;
219
+ }
220
+ var u;
221
+ X = !0;
222
+ var h = Error.prepareStackTrace;
223
+ Error.prepareStackTrace = void 0;
224
+ var x;
225
+ x = ne.current, ne.current = null, xe();
226
+ try {
227
+ if (t) {
228
+ var g = function() {
229
+ throw Error();
230
+ };
231
+ if (Object.defineProperty(g.prototype, "props", {
232
+ set: function() {
233
+ throw Error();
234
+ }
235
+ }), typeof Reflect == "object" && Reflect.construct) {
236
+ try {
237
+ Reflect.construct(g, []);
238
+ } catch (P) {
239
+ u = P;
240
+ }
241
+ Reflect.construct(e, [], g);
242
+ } else {
243
+ try {
244
+ g.call();
245
+ } catch (P) {
246
+ u = P;
247
+ }
248
+ e.call(g.prototype);
249
+ }
250
+ } else {
251
+ try {
252
+ throw Error();
253
+ } catch (P) {
254
+ u = P;
255
+ }
256
+ e();
257
+ }
258
+ } catch (P) {
259
+ if (P && u && typeof P.stack == "string") {
260
+ for (var p = P.stack.split(`
261
+ `), T = u.stack.split(`
262
+ `), E = p.length - 1, j = T.length - 1; E >= 1 && j >= 0 && p[E] !== T[j]; )
263
+ j--;
264
+ for (; E >= 1 && j >= 0; E--, j--)
265
+ if (p[E] !== T[j]) {
266
+ if (E !== 1 || j !== 1)
267
+ do
268
+ if (E--, j--, j < 0 || p[E] !== T[j]) {
269
+ var M = `
270
+ ` + p[E].replace(" at new ", " at ");
271
+ return e.displayName && M.includes("<anonymous>") && (M = M.replace("<anonymous>", e.displayName)), typeof e == "function" && q.set(e, M), M;
272
+ }
273
+ while (E >= 1 && j >= 0);
274
+ break;
275
+ }
276
+ }
277
+ } finally {
278
+ X = !1, ne.current = x, ye(), Error.prepareStackTrace = h;
279
+ }
280
+ var ae = e ? e.displayName || e.name : "", ee = ae ? Y(ae) : "";
281
+ return typeof e == "function" && q.set(e, ee), ee;
282
+ }
283
+ function st(e, t, a) {
284
+ return Pe(e, !1);
285
+ }
286
+ function ct(e) {
287
+ var t = e.prototype;
288
+ return !!(t && t.isReactComponent);
289
+ }
290
+ function he(e, t, a) {
291
+ if (e == null)
292
+ return "";
293
+ if (typeof e == "function")
294
+ return Pe(e, ct(e));
295
+ if (typeof e == "string")
296
+ return Y(e);
297
+ switch (e) {
298
+ case m:
299
+ return Y("Suspense");
300
+ case b:
301
+ return Y("SuspenseList");
302
+ }
303
+ if (typeof e == "object")
304
+ switch (e.$$typeof) {
305
+ case c:
306
+ return st(e.render);
307
+ case v:
308
+ return he(e.type, t, a);
309
+ case y: {
310
+ var u = e, h = u._payload, x = u._init;
311
+ try {
312
+ return he(x(h), t, a);
313
+ } catch {
314
+ }
315
+ }
316
+ }
317
+ return "";
318
+ }
319
+ var ie = Object.prototype.hasOwnProperty, Le = {}, Ne = S.ReactDebugCurrentFrame;
320
+ function me(e) {
321
+ if (e) {
322
+ var t = e._owner, a = he(e.type, e._source, t ? t.type : null);
323
+ Ne.setExtraStackFrame(a);
324
+ } else
325
+ Ne.setExtraStackFrame(null);
326
+ }
327
+ function lt(e, t, a, u, h) {
328
+ {
329
+ var x = Function.call.bind(ie);
330
+ for (var g in e)
331
+ if (x(e, g)) {
332
+ var p = void 0;
333
+ try {
334
+ if (typeof e[g] != "function") {
335
+ var T = Error((u || "React class") + ": " + a + " type `" + g + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[g] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
336
+ throw T.name = "Invariant Violation", T;
337
+ }
338
+ p = e[g](t, g, u, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
339
+ } catch (E) {
340
+ p = E;
341
+ }
342
+ p && !(p instanceof Error) && (me(h), 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).", u || "React class", a, g, typeof p), me(null)), p instanceof Error && !(p.message in Le) && (Le[p.message] = !0, me(h), C("Failed %s type: %s", a, p.message), me(null));
343
+ }
344
+ }
345
+ }
346
+ var ut = Array.isArray;
347
+ function we(e) {
348
+ return ut(e);
349
+ }
350
+ function dt(e) {
351
+ {
352
+ var t = typeof Symbol == "function" && Symbol.toStringTag, a = t && e[Symbol.toStringTag] || e.constructor.name || "Object";
353
+ return a;
354
+ }
355
+ }
356
+ function ft(e) {
357
+ try {
358
+ return Ae(e), !1;
359
+ } catch {
360
+ return !0;
361
+ }
362
+ }
363
+ function Ae(e) {
364
+ return "" + e;
365
+ }
366
+ function Me(e) {
367
+ if (ft(e))
368
+ return C("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", dt(e)), Ae(e);
369
+ }
370
+ var Ie = S.ReactCurrentOwner, _t = {
371
+ key: !0,
372
+ ref: !0,
373
+ __self: !0,
374
+ __source: !0
375
+ }, De, Be;
376
+ function pt(e) {
377
+ if (ie.call(e, "ref")) {
378
+ var t = Object.getOwnPropertyDescriptor(e, "ref").get;
379
+ if (t && t.isReactWarning)
380
+ return !1;
381
+ }
382
+ return e.ref !== void 0;
383
+ }
384
+ function bt(e) {
385
+ if (ie.call(e, "key")) {
386
+ var t = Object.getOwnPropertyDescriptor(e, "key").get;
387
+ if (t && t.isReactWarning)
388
+ return !1;
389
+ }
390
+ return e.key !== void 0;
391
+ }
392
+ function gt(e, t) {
393
+ typeof e.ref == "string" && Ie.current;
394
+ }
395
+ function vt(e, t) {
396
+ {
397
+ var a = function() {
398
+ De || (De = !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)", t));
399
+ };
400
+ a.isReactWarning = !0, Object.defineProperty(e, "key", {
401
+ get: a,
402
+ configurable: !0
403
+ });
404
+ }
405
+ }
406
+ function ht(e, t) {
407
+ {
408
+ var a = function() {
409
+ Be || (Be = !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)", t));
410
+ };
411
+ a.isReactWarning = !0, Object.defineProperty(e, "ref", {
412
+ get: a,
413
+ configurable: !0
414
+ });
415
+ }
416
+ }
417
+ var mt = function(e, t, a, u, h, x, g) {
418
+ var p = {
419
+ // This tag allows us to uniquely identify this as a React Element
420
+ $$typeof: i,
421
+ // Built-in properties that belong on the element
422
+ type: e,
423
+ key: t,
424
+ ref: a,
425
+ props: g,
426
+ // Record the component responsible for creating this element.
427
+ _owner: x
428
+ };
429
+ return p._store = {}, Object.defineProperty(p._store, "validated", {
430
+ configurable: !1,
431
+ enumerable: !1,
432
+ writable: !0,
433
+ value: !1
434
+ }), Object.defineProperty(p, "_self", {
435
+ configurable: !1,
436
+ enumerable: !1,
437
+ writable: !1,
438
+ value: u
439
+ }), Object.defineProperty(p, "_source", {
440
+ configurable: !1,
441
+ enumerable: !1,
442
+ writable: !1,
443
+ value: h
444
+ }), Object.freeze && (Object.freeze(p.props), Object.freeze(p)), p;
445
+ };
446
+ function Ct(e, t, a, u, h) {
447
+ {
448
+ var x, g = {}, p = null, T = null;
449
+ a !== void 0 && (Me(a), p = "" + a), bt(t) && (Me(t.key), p = "" + t.key), pt(t) && (T = t.ref, gt(t, h));
450
+ for (x in t)
451
+ ie.call(t, x) && !_t.hasOwnProperty(x) && (g[x] = t[x]);
452
+ if (e && e.defaultProps) {
453
+ var E = e.defaultProps;
454
+ for (x in E)
455
+ g[x] === void 0 && (g[x] = E[x]);
456
+ }
457
+ if (p || T) {
458
+ var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
459
+ p && vt(g, j), T && ht(g, j);
460
+ }
461
+ return mt(e, p, T, h, u, Ie.current, g);
462
+ }
463
+ }
464
+ var Ee = S.ReactCurrentOwner, Fe = S.ReactDebugCurrentFrame;
465
+ function re(e) {
466
+ if (e) {
467
+ var t = e._owner, a = he(e.type, e._source, t ? t.type : null);
468
+ Fe.setExtraStackFrame(a);
469
+ } else
470
+ Fe.setExtraStackFrame(null);
471
+ }
472
+ var Re;
473
+ Re = !1;
474
+ function Se(e) {
475
+ return typeof e == "object" && e !== null && e.$$typeof === i;
476
+ }
477
+ function ze() {
478
+ {
479
+ if (Ee.current) {
480
+ var e = N(Ee.current.type);
481
+ if (e)
482
+ return `
483
+
484
+ Check the render method of \`` + e + "`.";
485
+ }
486
+ return "";
487
+ }
488
+ }
489
+ function xt(e) {
490
+ return "";
491
+ }
492
+ var Ve = {};
493
+ function yt(e) {
494
+ {
495
+ var t = ze();
496
+ if (!t) {
497
+ var a = typeof e == "string" ? e : e.displayName || e.name;
498
+ a && (t = `
499
+
500
+ Check the top-level render call using <` + a + ">.");
501
+ }
502
+ return t;
503
+ }
504
+ }
505
+ function We(e, t) {
506
+ {
507
+ if (!e._store || e._store.validated || e.key != null)
508
+ return;
509
+ e._store.validated = !0;
510
+ var a = yt(t);
511
+ if (Ve[a])
512
+ return;
513
+ Ve[a] = !0;
514
+ var u = "";
515
+ e && e._owner && e._owner !== Ee.current && (u = " It was passed a child from " + N(e._owner.type) + "."), re(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.', a, u), re(null);
516
+ }
517
+ }
518
+ function Ze(e, t) {
519
+ {
520
+ if (typeof e != "object")
521
+ return;
522
+ if (we(e))
523
+ for (var a = 0; a < e.length; a++) {
524
+ var u = e[a];
525
+ Se(u) && We(u, t);
526
+ }
527
+ else if (Se(e))
528
+ e._store && (e._store.validated = !0);
529
+ else if (e) {
530
+ var h = B(e);
531
+ if (typeof h == "function" && h !== e.entries)
532
+ for (var x = h.call(e), g; !(g = x.next()).done; )
533
+ Se(g.value) && We(g.value, t);
534
+ }
535
+ }
536
+ }
537
+ function wt(e) {
538
+ {
539
+ var t = e.type;
540
+ if (t == null || typeof t == "string")
541
+ return;
542
+ var a;
543
+ if (typeof t == "function")
544
+ a = t.propTypes;
545
+ else if (typeof t == "object" && (t.$$typeof === c || // Note: Memo only checks outer props here.
546
+ // Inner props are checked in the reconciler.
547
+ t.$$typeof === v))
548
+ a = t.propTypes;
549
+ else
550
+ return;
551
+ if (a) {
552
+ var u = N(t);
553
+ lt(a, e.props, "prop", u, e);
554
+ } else if (t.PropTypes !== void 0 && !Re) {
555
+ Re = !0;
556
+ var h = N(t);
557
+ C("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", h || "Unknown");
558
+ }
559
+ typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && C("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
560
+ }
561
+ }
562
+ function Et(e) {
563
+ {
564
+ for (var t = Object.keys(e.props), a = 0; a < t.length; a++) {
565
+ var u = t[a];
566
+ if (u !== "children" && u !== "key") {
567
+ re(e), C("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", u), re(null);
568
+ break;
569
+ }
570
+ }
571
+ e.ref !== null && (re(e), C("Invalid attribute `ref` supplied to `React.Fragment`."), re(null));
572
+ }
573
+ }
574
+ var Ue = {};
575
+ function Ge(e, t, a, u, h, x) {
576
+ {
577
+ var g = H(e);
578
+ if (!g) {
579
+ var p = "";
580
+ (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (p += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
581
+ var T = xt();
582
+ T ? p += T : p += ze();
583
+ var E;
584
+ e === null ? E = "null" : we(e) ? E = "array" : e !== void 0 && e.$$typeof === i ? (E = "<" + (N(e.type) || "Unknown") + " />", p = " Did you accidentally export a JSX literal instead of a component?") : E = 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", E, p);
585
+ }
586
+ var j = Ct(e, t, a, h, x);
587
+ if (j == null)
588
+ return j;
589
+ if (g) {
590
+ var M = t.children;
591
+ if (M !== void 0)
592
+ if (u)
593
+ if (we(M)) {
594
+ for (var ae = 0; ae < M.length; ae++)
595
+ Ze(M[ae], e);
596
+ Object.freeze && Object.freeze(M);
597
+ } else
598
+ 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.");
599
+ else
600
+ Ze(M, e);
601
+ }
602
+ if (ie.call(t, "key")) {
603
+ var ee = N(e), P = Object.keys(t).filter(function(Ot) {
604
+ return Ot !== "key";
605
+ }), je = P.length > 0 ? "{key: someKey, " + P.join(": ..., ") + ": ...}" : "{key: someKey}";
606
+ if (!Ue[ee + je]) {
607
+ var kt = P.length > 0 ? "{" + P.join(": ..., ") + ": ...}" : "{}";
608
+ C(`A props object containing a "key" prop is being spread into JSX:
609
+ let props = %s;
610
+ <%s {...props} />
611
+ React keys must be passed directly to JSX without using spread:
612
+ let props = %s;
613
+ <%s key={someKey} {...props} />`, je, ee, kt, ee), Ue[ee + je] = !0;
614
+ }
615
+ }
616
+ return e === o ? Et(j) : wt(j), j;
617
+ }
618
+ }
619
+ function Rt(e, t, a) {
620
+ return Ge(e, t, a, !0);
621
+ }
622
+ function St(e, t, a) {
623
+ return Ge(e, t, a, !1);
624
+ }
625
+ var jt = St, $t = Rt;
626
+ ce.Fragment = o, ce.jsx = jt, ce.jsxs = $t;
627
+ }()), ce;
628
+ }
629
+ var Je;
630
+ function It() {
631
+ return Je || (Je = 1, process.env.NODE_ENV === "production" ? Ce.exports = At() : Ce.exports = Mt()), Ce.exports;
632
+ }
633
+ var l = It(), $e = { exports: {} };
634
+ /*!
635
+ Copyright (c) 2018 Jed Watson.
636
+ Licensed under the MIT License (MIT), see
637
+ http://jedwatson.github.io/classnames
638
+ */
639
+ var Ke;
640
+ function Dt() {
641
+ return Ke || (Ke = 1, function(r) {
642
+ (function() {
643
+ var i = {}.hasOwnProperty;
644
+ function n() {
645
+ for (var s = "", f = 0; f < arguments.length; f++) {
646
+ var _ = arguments[f];
647
+ _ && (s = d(s, o(_)));
648
+ }
649
+ return s;
650
+ }
651
+ function o(s) {
652
+ if (typeof s == "string" || typeof s == "number")
653
+ return s;
654
+ if (typeof s != "object")
655
+ return "";
656
+ if (Array.isArray(s))
657
+ return n.apply(null, s);
658
+ if (s.toString !== Object.prototype.toString && !s.toString.toString().includes("[native code]"))
659
+ return s.toString();
660
+ var f = "";
661
+ for (var _ in s)
662
+ i.call(s, _) && s[_] && (f = d(f, _));
663
+ return f;
664
+ }
665
+ function d(s, f) {
666
+ return f ? s ? s + " " + f : s + f : s;
667
+ }
668
+ r.exports ? (n.default = n, r.exports = n) : window.classNames = n;
669
+ })();
670
+ }($e)), $e.exports;
671
+ }
672
+ var Bt = Dt();
673
+ const D = /* @__PURE__ */ Nt(Bt), Ft = "_avatar_1ob17_4", zt = "_clickable_1ob17_23", Vt = "_icon_1ob17_40", Wt = "_disabled_1ob17_45", Zt = "_image_1ob17_51", Ut = "_name_1ob17_51", Gt = "_circle_1ob17_160", Yt = "_square_1ob17_164", I = {
674
+ avatar: Ft,
675
+ clickable: zt,
676
+ icon: Vt,
677
+ disabled: Wt,
678
+ image: Zt,
679
+ name: Ut,
680
+ "size-208": "_size-208_1ob17_104",
681
+ "size-96": "_size-96_1ob17_111",
682
+ "size-84": "_size-84_1ob17_118",
683
+ "size-56": "_size-56_1ob17_125",
684
+ "size-48": "_size-48_1ob17_132",
685
+ "size-40": "_size-40_1ob17_139",
686
+ "size-32": "_size-32_1ob17_146",
687
+ "size-24": "_size-24_1ob17_153",
688
+ circle: Gt,
689
+ square: Yt,
690
+ "variant-filled": "_variant-filled_1ob17_185",
691
+ "color-brand": "_color-brand_1ob17_190",
692
+ "color-red": "_color-red_1ob17_194",
693
+ "color-orange": "_color-orange_1ob17_198",
694
+ "color-yellow": "_color-yellow_1ob17_202",
695
+ "color-green": "_color-green_1ob17_206",
696
+ "color-blue": "_color-blue_1ob17_210",
697
+ "color-lightblue": "_color-lightblue_1ob17_214",
698
+ "color-purple": "_color-purple_1ob17_218",
699
+ "color-gray": "_color-gray_1ob17_222",
700
+ "color-contrast": "_color-contrast_1ob17_226",
701
+ "variant-light": "_variant-light_1ob17_232",
702
+ "variant-outline": "_variant-outline_1ob17_304"
703
+ }, Qe = 99;
704
+ function qt(r) {
705
+ return r < Qe ? `+${r}` : `${Qe}+`;
706
+ }
707
+ function nt(r) {
708
+ const i = typeof r == "string" ? r : JSON.stringify(r);
709
+ let n = 5381;
710
+ for (let o = 0; o < i.length; o++) {
711
+ const d = i.charCodeAt(o);
712
+ n = (n << 5) + n + d;
713
+ }
714
+ return n >>> 0;
715
+ }
716
+ const Ht = [
717
+ "red",
718
+ "orange",
719
+ "yellow",
720
+ "green",
721
+ "blue",
722
+ "lightblue",
723
+ "purple"
724
+ ];
725
+ function Jt(r, i = Ht) {
726
+ const n = nt(r), o = Math.abs(n) % i.length;
727
+ return i[o];
728
+ }
729
+ const Xe = 2;
730
+ function Kt(r) {
731
+ const i = r.split(" ");
732
+ return i.length === 1 ? r.slice(0, Xe).toUpperCase() : i.map((n) => n[0]).slice(0, Xe).join("").toUpperCase();
733
+ }
734
+ function Qt(r, i) {
735
+ return i === "circle" ? r / 2 : r === 24 || r === 208 ? 8 : r === 32 || r === 40 || r === 48 ? 12 : r === 56 ? 16 : r === 84 || r === 96 ? 24 : 12;
736
+ }
737
+ const Xt = "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", e2 = "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", t2 = "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", r2 = "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", a2 = {
738
+ male: Xt,
739
+ female: e2,
740
+ org: r2,
741
+ neutral: t2
742
+ }, Oe = te((r, i) => {
743
+ const {
744
+ style: n,
745
+ size: o = 40,
746
+ isLoading: d = !1,
747
+ isDisabled: s = !1,
748
+ shape: f = "circle",
749
+ variant: _ = "light",
750
+ placeholderType: c = "neutral",
751
+ name: m = "",
752
+ imgSrc: b,
753
+ imgAlt: v = "",
754
+ icon: y,
755
+ imgProps: w,
756
+ colorScheme: $,
757
+ "data-testid": k,
758
+ ...B
759
+ } = r, { onClick: S, onPointerDown: C } = B, L = !s && !d && (!!S || !!C), [U, F] = Te(!b), z = b && !U ? "image" : y ? "icon" : m ? "name" : "placeholder", V = z === "name" ? $ || Jt(m) : $ || "gray", A = D(
760
+ I.avatar,
761
+ I[f],
762
+ I[`size-${o}`],
763
+ I[`variant-${_}`],
764
+ I[`color-${V}`],
765
+ {
766
+ [I.disabled]: s,
767
+ [I.loading]: d,
768
+ [I.clickable]: L
769
+ }
770
+ ), H = {
771
+ icon: () => /* @__PURE__ */ l.jsx("span", { "data-testid": "avatar-icon", title: v, role: "img", className: D(I.icon), children: y == null ? void 0 : y({}) }),
772
+ name: () => /* @__PURE__ */ l.jsx("span", { role: "textbox", "data-testid": "avatar-name", className: D(I.name), title: v, children: Kt(m) }),
773
+ placeholder: () => /* @__PURE__ */ l.jsx(
774
+ "img",
775
+ {
776
+ ...w,
777
+ "data-testid": "avatar-placeholder",
778
+ className: I.image,
779
+ src: a2[c],
780
+ alt: v
781
+ }
782
+ ),
783
+ image: () => /* @__PURE__ */ l.jsx(
784
+ "img",
785
+ {
786
+ "data-testid": "avatar-image",
787
+ ...w,
788
+ className: I.image,
789
+ src: b,
790
+ alt: v,
791
+ onLoad: () => F(!1),
792
+ onError: (G) => {
793
+ var N;
794
+ F(!0), (N = w == null ? void 0 : w.onError) == null || N.call(w, G);
795
+ }
796
+ }
797
+ )
798
+ }, J = (G) => {
799
+ L && (S == null || S(G));
800
+ };
801
+ return /* @__PURE__ */ l.jsx(
802
+ "div",
803
+ {
804
+ ref: i,
805
+ onClick: J,
806
+ className: A,
807
+ style: n,
808
+ "data-testid": k,
809
+ "aria-disabled": s || d,
810
+ children: H[z](null)
811
+ }
812
+ );
813
+ }), n2 = "_avatarGroup_157g4_1", o2 = {
814
+ avatarGroup: n2
815
+ };
816
+ let i2 = (r = 21) => crypto.getRandomValues(new Uint8Array(r)).reduce((i, n) => (n &= 63, n < 36 ? i += n.toString(36) : n < 62 ? i += (n - 26).toString(36).toUpperCase() : n > 62 ? i += "-" : i += "_", i), "");
817
+ function s2(r, i, n, o, d, s, f) {
818
+ const _ = Math.min(d, s) / 2, c = Math.min(f, _), m = ["M0,0", `H${r}`, `V${i}`, "H0", "V0", "Z"].join(" "), b = [
819
+ `M${n + c},${o}`,
820
+ `L${n + d - c},${o}`,
821
+ // Верхний правый угол
822
+ `A${c},${c} 0 0 1 ${n + d},${o + c}`,
823
+ `L${n + d},${o + s - c}`,
824
+ // Нижний правый угол
825
+ `A${c},${c} 0 0 1 ${n + d - c},${o + s}`,
826
+ `L${n + c},${o + s}`,
827
+ // Нижний левый угол
828
+ `A${c},${c} 0 0 1 ${n},${o + s - c}`,
829
+ `L${n},${o + c}`,
830
+ // Верхний левый угол
831
+ `A${c},${c} 0 0 1 ${n + c},${o}`,
832
+ "Z"
833
+ ].join(" ");
834
+ return `${m} ${b}`;
835
+ }
836
+ const c2 = 2, l2 = (r) => {
837
+ const {
838
+ avatars: i = [],
839
+ overflowCount: n = 0,
840
+ size: o = 40,
841
+ overlap: d = 0.3,
842
+ shape: s = "circle",
843
+ overflowOnClick: f
844
+ } = r, _ = o * d, c = -_ + c2, m = Qt(o, s), v = rt(i2()).current.toString(), y = D(o2.avatarGroup), w = s2(
845
+ o,
846
+ o,
847
+ o - _,
848
+ // X-координата начала выреза
849
+ 0,
850
+ // Y-координата начала выреза
851
+ o,
852
+ o,
853
+ m
854
+ );
855
+ return i.length === 0 ? null : /* @__PURE__ */ l.jsxs("div", { className: y, children: [
856
+ i.map(($, k, B) => {
857
+ const S = k + 1 >= B.length;
858
+ return /* @__PURE__ */ l.jsx(
859
+ "div",
860
+ {
861
+ style: {
862
+ // Для последнего видимого аватара без overflowCount не применяем обрезку
863
+ clipPath: S && !n ? void 0 : `url(#${v})`,
864
+ marginRight: c
865
+ },
866
+ children: /* @__PURE__ */ l.jsx(Oe, { size: o, shape: s, ...$ })
867
+ },
868
+ nt($) + k
869
+ );
870
+ }),
871
+ n > 0 && /* @__PURE__ */ l.jsx("div", { style: { marginRight: c }, children: /* @__PURE__ */ l.jsx(
872
+ Oe,
873
+ {
874
+ size: o,
875
+ shape: s,
876
+ onClick: f,
877
+ icon: () => qt(n),
878
+ colorScheme: "gray"
879
+ }
880
+ ) }),
881
+ /* @__PURE__ */ l.jsx("svg", { width: "0", height: "0", children: /* @__PURE__ */ l.jsx("clipPath", { id: `${v}`, children: /* @__PURE__ */ l.jsx("path", { clipPathUnits: "objectBoundingBox", d: w, clipRule: "evenodd" }) }) })
882
+ ] });
883
+ }, wr = Object.assign(Oe, {
884
+ Group: l2
885
+ }), u2 = "_wrapper_1ncab_5", d2 = "_badge__container_1ncab_6", f2 = "_badge__content_1ncab_7", _2 = "_interactive_1ncab_20", p2 = "_disabled_1ncab_21", b2 = "_icon_1ncab_22", Z = {
886
+ wrapper: u2,
887
+ badge__container: d2,
888
+ badge__content: f2,
889
+ interactive: _2,
890
+ disabled: p2,
891
+ icon: b2,
892
+ "variant-filled": "_variant-filled_1ncab_101",
893
+ "color-brand": "_color-brand_1ncab_106",
894
+ "color-red": "_color-red_1ncab_110",
895
+ "color-orange": "_color-orange_1ncab_114",
896
+ "color-yellow": "_color-yellow_1ncab_118",
897
+ "color-green": "_color-green_1ncab_122",
898
+ "color-blue": "_color-blue_1ncab_126",
899
+ "color-lightblue": "_color-lightblue_1ncab_130",
900
+ "color-purple": "_color-purple_1ncab_134",
901
+ "color-gray": "_color-gray_1ncab_138",
902
+ "color-contrast": "_color-contrast_1ncab_142",
903
+ "variant-light": "_variant-light_1ncab_148",
904
+ "variant-outline": "_variant-outline_1ncab_220",
905
+ "variant-transparent": "_variant-transparent_1ncab_294",
906
+ "position-top-left": "_position-top-left_1ncab_361",
907
+ "position-top-right": "_position-top-right_1ncab_367",
908
+ "position-bottom-left": "_position-bottom-left_1ncab_373",
909
+ "position-bottom-right": "_position-bottom-right_1ncab_379",
910
+ "position-top-center": "_position-top-center_1ncab_385",
911
+ "position-bottom-center": "_position-bottom-center_1ncab_391",
912
+ "position-middle-left": "_position-middle-left_1ncab_397",
913
+ "position-middle-right": "_position-middle-right_1ncab_403",
914
+ "position-middle-center": "_position-middle-center_1ncab_409",
915
+ "position-top-left-inside": "_position-top-left-inside_1ncab_416",
916
+ "position-top-right-inside": "_position-top-right-inside_1ncab_422",
917
+ "position-bottom-left-inside": "_position-bottom-left-inside_1ncab_428",
918
+ "position-bottom-right-inside": "_position-bottom-right-inside_1ncab_434",
919
+ "position-top-center-inside": "_position-top-center-inside_1ncab_440",
920
+ "position-bottom-center-inside": "_position-bottom-center-inside_1ncab_446",
921
+ "position-middle-left-inside": "_position-middle-left-inside_1ncab_452",
922
+ "position-middle-right-inside": "_position-middle-right-inside_1ncab_458"
923
+ }, g2 = (r) => r === "rgba(0, 0, 0, 0)" || r === "transparent" || r.startsWith("rgba") && r.endsWith(", 0)"), v2 = (r) => {
924
+ if (!r) return null;
925
+ let i = r;
926
+ for (; i; ) {
927
+ const o = window.getComputedStyle(i).backgroundColor;
928
+ if (!g2(o)) return o;
929
+ i = i.parentElement;
930
+ }
931
+ return null;
932
+ }, h2 = () => {
933
+ const r = rt(null), [i, n] = Te(null);
934
+ return at(() => {
935
+ if (r.current) {
936
+ const o = v2(r.current);
937
+ n(o);
938
+ }
939
+ }, []), { ref: r, bgColor: i };
940
+ }, Er = te((r, i) => {
941
+ const {
942
+ icon: n,
943
+ children: o,
944
+ variant: d = "filled",
945
+ label: s,
946
+ colorScheme: f = "red",
947
+ size: _ = 20,
948
+ position: c = "top-right",
949
+ positionOffset: m = { x: 0, y: 0 },
950
+ cutoutBackground: b,
951
+ isDisabled: v,
952
+ className: y,
953
+ "data-testid": w = "badge",
954
+ ...$
955
+ } = r, { onClick: k, onPointerDown: B } = $, { ref: S, bgColor: C } = h2(), O = b || C, U = !v && (!!k || !!B), F = D(Z.badge__container, Z[`position-${c}`]), z = D(
956
+ y,
957
+ Z.badge__content,
958
+ Z[`color-${f}`],
959
+ Z[`variant-${d}`],
960
+ {
961
+ [Z.icon]: !!n,
962
+ [Z.interactive]: U,
963
+ [Z.disabled]: v
964
+ }
965
+ ), V = {
966
+ "--badge-height": `${_}px`,
967
+ "--badge-offset-x": `${m.x}px`,
968
+ "--badge-offset-y": `${m.y}px`,
969
+ ...O && { "--badge-cutout-bg": O },
970
+ ...d === "transparent" && { "--badge-cutout-bg": "transparent" }
971
+ }, A = (n == null ? void 0 : n({})) || s, H = (J) => {
972
+ U && (k == null || k(J));
973
+ };
974
+ return /* @__PURE__ */ l.jsxs("div", { className: Z.wrapper, ref: S, "data-testid": w + "-wrapper", children: [
975
+ o,
976
+ /* @__PURE__ */ l.jsx(
977
+ "span",
978
+ {
979
+ className: F,
980
+ style: V,
981
+ "data-testid": w + "-container",
982
+ children: /* @__PURE__ */ l.jsx(
983
+ "span",
984
+ {
985
+ ...$,
986
+ onClick: H,
987
+ className: z,
988
+ "data-testid": w + "-content",
989
+ ref: i,
990
+ "aria-disabled": v,
991
+ children: A
992
+ }
993
+ )
994
+ }
995
+ )
996
+ ] });
997
+ }), m2 = (r) => r.as === "a", C2 = (r) => r.as === void 0 || r.as === "button", x2 = "_button_unbux_213", y2 = "_disabled_unbux_237", w2 = "_loading_unbux_237", E2 = "_neutral_unbux_259", R2 = "_accent_unbux_263", S2 = "_positive_unbux_267", j2 = "_negative_unbux_271", $2 = "_contrast_unbux_275", k2 = "_special_unbux_279", O2 = "_primary_unbux_284", T2 = "_secondary_unbux_285", P2 = "_tertiary_unbux_286", L2 = "_label_unbux_321", N2 = "_rightGroup_unbux_333", A2 = "_iconOnly_unbux_349", M2 = "_large_unbux_357", I2 = "_medium_unbux_361", D2 = "_small_unbux_365", B2 = "_spaceBetween_unbux_370", F2 = "_stretched_unbux_384", z2 = "_icon_unbux_349", V2 = "_badge_unbux_705", W2 = "_badgeMedium_unbux_721", Z2 = "_circular_unbux_738", U2 = "_badgeSmall_unbux_743", G2 = "_badgeExtraSmall_unbux_765", Y2 = "_withSubcaption_unbux_784", q2 = "_subcaption_unbux_797", H2 = "_loader_unbux_804", J2 = "_spin_unbux_1", K2 = "_l_unbux_237", Q2 = "_m_unbux_361", X2 = "_s_unbux_279", er = "_xs_unbux_869", R = {
998
+ button: x2,
999
+ disabled: y2,
1000
+ loading: w2,
1001
+ neutral: E2,
1002
+ accent: R2,
1003
+ positive: S2,
1004
+ negative: j2,
1005
+ contrast: $2,
1006
+ special: k2,
1007
+ primary: O2,
1008
+ secondary: T2,
1009
+ tertiary: P2,
1010
+ label: L2,
1011
+ rightGroup: N2,
1012
+ iconOnly: A2,
1013
+ large: M2,
1014
+ medium: I2,
1015
+ small: D2,
1016
+ spaceBetween: B2,
1017
+ stretched: F2,
1018
+ icon: z2,
1019
+ badge: V2,
1020
+ badgeMedium: W2,
1021
+ circular: Z2,
1022
+ badgeSmall: U2,
1023
+ badgeExtraSmall: G2,
1024
+ withSubcaption: Y2,
1025
+ subcaption: q2,
1026
+ loader: H2,
1027
+ spin: J2,
1028
+ l: K2,
1029
+ m: Q2,
1030
+ s: X2,
1031
+ xs: er
1032
+ }, et = ({
1033
+ isLoading: r,
1034
+ showBadge: i,
1035
+ badgeValue: n,
1036
+ badgeSize: o,
1037
+ icon: d,
1038
+ children: s,
1039
+ postfix: f,
1040
+ showSubcaption: _,
1041
+ subcaption: c,
1042
+ size: m
1043
+ }) => {
1044
+ if (r)
1045
+ return /* @__PURE__ */ l.jsx("span", { className: R.loader, "data-testid": "button-loader", "aria-hidden": "true" });
1046
+ const b = o === "extra-small", v = parseInt(String(n), 10), y = !isNaN(v) && v >= 0 && v <= 9;
1047
+ return /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
1048
+ i && (n || b) && /* @__PURE__ */ l.jsx(
1049
+ "span",
1050
+ {
1051
+ "data-testid": "button-badge",
1052
+ className: D(
1053
+ R.badge,
1054
+ R[`badge${b ? "ExtraSmall" : o === "medium" ? "Medium" : "Small"}`],
1055
+ { [R.circular]: y && !b }
1056
+ ),
1057
+ children: !b && n
1058
+ }
1059
+ ),
1060
+ _ && m !== "s" && m !== "xs" ? /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
1061
+ /* @__PURE__ */ l.jsx("span", { "data-testid": "button-label", className: R.label, children: s }),
1062
+ /* @__PURE__ */ l.jsx("span", { "data-testid": "button-subcaption", className: R.subcaption, children: c })
1063
+ ] }) : s ? /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
1064
+ /* @__PURE__ */ l.jsx("span", { "data-testid": "button-label", className: R.label, children: s }),
1065
+ /* @__PURE__ */ l.jsxs("div", { "data-testid": "button-right-group", className: R.rightGroup, children: [
1066
+ d && /* @__PURE__ */ l.jsx("span", { "data-testid": "button-icon", className: R.icon, children: d }),
1067
+ f && /* @__PURE__ */ l.jsx("span", { "data-testid": "button-postfix", className: R.postfix, children: f })
1068
+ ] })
1069
+ ] }) : /* @__PURE__ */ l.jsx("span", { "data-testid": "button-icon", className: R.icon, children: d })
1070
+ ] });
1071
+ }, Rr = te((r, i) => {
1072
+ const {
1073
+ mode: n = "primary",
1074
+ size: o = "m",
1075
+ buttonStyle: d = "neutral",
1076
+ loading: s = !1,
1077
+ disabled: f = !1,
1078
+ showBadge: _ = !1,
1079
+ badgeSize: c = "small",
1080
+ badgeValue: m,
1081
+ showSubcaption: b = !1,
1082
+ subcaption: v,
1083
+ stretched: y = !1,
1084
+ spaceBetween: w = !1,
1085
+ icon: $,
1086
+ postfix: k,
1087
+ className: B,
1088
+ children: S
1089
+ } = r, C = f, O = s, L = !C && !O, U = !!$ && !S, F = D(
1090
+ R.button,
1091
+ R[o],
1092
+ R[n],
1093
+ R[d],
1094
+ {
1095
+ [R.disabled]: C,
1096
+ [R.loading]: O,
1097
+ [R.stretched]: y,
1098
+ [R.spaceBetween]: w && y,
1099
+ [R.withSubcaption]: b && v && o !== "s" && o !== "xs",
1100
+ [R.iconOnly]: U
1101
+ },
1102
+ B
1103
+ ), z = {
1104
+ isLoading: O,
1105
+ showBadge: _,
1106
+ badgeValue: m,
1107
+ badgeSize: c,
1108
+ icon: $,
1109
+ children: S,
1110
+ postfix: k,
1111
+ showSubcaption: b,
1112
+ subcaption: v,
1113
+ size: o
1114
+ };
1115
+ if (m2(r)) {
1116
+ const {
1117
+ href: V,
1118
+ onClick: A,
1119
+ mode: H,
1120
+ size: J,
1121
+ buttonStyle: G,
1122
+ loading: N,
1123
+ disabled: W,
1124
+ showBadge: K,
1125
+ badgeSize: ue,
1126
+ badgeValue: de,
1127
+ showSubcaption: fe,
1128
+ subcaption: _e,
1129
+ stretched: pe,
1130
+ spaceBetween: be,
1131
+ icon: ge,
1132
+ postfix: ve,
1133
+ className: xe,
1134
+ tabIndex: ye,
1135
+ children: ne,
1136
+ "data-testid": Q,
1137
+ style: Y,
1138
+ ...X
1139
+ } = r, q = (oe) => {
1140
+ L && A && A(oe);
1141
+ };
1142
+ return /* @__PURE__ */ l.jsx(
1143
+ "a",
1144
+ {
1145
+ ref: i,
1146
+ className: F,
1147
+ href: L ? V : void 0,
1148
+ tabIndex: r.tabIndex,
1149
+ onClick: q,
1150
+ "data-testid": Q,
1151
+ "aria-disabled": C || O,
1152
+ style: Y,
1153
+ ...X,
1154
+ children: /* @__PURE__ */ l.jsx(et, { ...z })
1155
+ }
1156
+ );
1157
+ }
1158
+ if (C2(r)) {
1159
+ const {
1160
+ type: V = "button",
1161
+ onClick: A,
1162
+ mode: H,
1163
+ size: J,
1164
+ buttonStyle: G,
1165
+ loading: N,
1166
+ disabled: W,
1167
+ showBadge: K,
1168
+ badgeSize: ue,
1169
+ badgeValue: de,
1170
+ showSubcaption: fe,
1171
+ subcaption: _e,
1172
+ stretched: pe,
1173
+ spaceBetween: be,
1174
+ icon: ge,
1175
+ postfix: ve,
1176
+ className: xe,
1177
+ tabIndex: ye,
1178
+ children: ne,
1179
+ "data-testid": Q,
1180
+ style: Y,
1181
+ ...X
1182
+ } = r, q = (oe) => {
1183
+ L && A && A(oe);
1184
+ };
1185
+ return /* @__PURE__ */ l.jsx(
1186
+ "button",
1187
+ {
1188
+ ref: i,
1189
+ type: V,
1190
+ className: F,
1191
+ disabled: C,
1192
+ tabIndex: r.tabIndex,
1193
+ onClick: q,
1194
+ "data-testid": Q,
1195
+ "aria-disabled": C || O,
1196
+ style: Y,
1197
+ ...X,
1198
+ children: /* @__PURE__ */ l.jsx(et, { ...z })
1199
+ }
1200
+ );
1201
+ }
1202
+ return null;
1203
+ }), tr = "_container_chiat_7", rr = "_image_chiat_19", ar = "_loading_chiat_28", ke = {
1204
+ container: tr,
1205
+ image: rr,
1206
+ loading: ar
1207
+ }, nr = "_loader_1tevf_1", or = "_spin_1tevf_1", ir = "_accent_1tevf_20", sr = "_neutral_1tevf_24", cr = "_positive_1tevf_28", lr = "_negative_1tevf_32", ur = "_gray_1tevf_36", dr = "_special_1tevf_40", fr = "_contrast_1tevf_44", _r = "_container_1tevf_48", pr = "_overlay_1tevf_56", le = {
1208
+ loader: nr,
1209
+ spin: or,
1210
+ accent: ir,
1211
+ neutral: sr,
1212
+ positive: cr,
1213
+ negative: lr,
1214
+ gray: ur,
1215
+ special: dr,
1216
+ contrast: fr,
1217
+ container: _r,
1218
+ overlay: pr,
1219
+ "size-16": "_size-16_1tevf_71",
1220
+ "size-24": "_size-24_1tevf_75",
1221
+ "size-48": "_size-48_1tevf_79",
1222
+ "size-64": "_size-64_1tevf_83",
1223
+ "size-96": "_size-96_1tevf_87"
1224
+ }, ot = te(
1225
+ ({
1226
+ size: r = 24,
1227
+ variant: i = "accent",
1228
+ className: n,
1229
+ "data-testid": o = "loader",
1230
+ style: d,
1231
+ ...s
1232
+ }, f) => {
1233
+ const _ = D(
1234
+ le.loader,
1235
+ le[i],
1236
+ le[`size-${r}`],
1237
+ n
1238
+ );
1239
+ return /* @__PURE__ */ l.jsx(
1240
+ "svg",
1241
+ {
1242
+ ref: f,
1243
+ className: _,
1244
+ fill: "none",
1245
+ viewBox: "0 0 16 16",
1246
+ xmlns: "http://www.w3.org/2000/svg",
1247
+ "data-testid": o,
1248
+ style: d,
1249
+ ...s,
1250
+ children: /* @__PURE__ */ l.jsx(
1251
+ "path",
1252
+ {
1253
+ d: "M14 8C14 11.3137 11.3137 14 8 14C4.68629 14 2 11.3137 2 8C2 4.68629 4.68629 2 8 2",
1254
+ stroke: "currentColor",
1255
+ strokeLinecap: "round",
1256
+ strokeWidth: "1.33333"
1257
+ }
1258
+ )
1259
+ }
1260
+ );
1261
+ }
1262
+ ), br = te((r, i) => {
1263
+ const {
1264
+ loading: n = !1,
1265
+ size: o = 24,
1266
+ variant: d = "accent",
1267
+ children: s,
1268
+ className: f,
1269
+ style: _,
1270
+ "data-testid": c,
1271
+ ...m
1272
+ } = r, b = D(le.container, f);
1273
+ return /* @__PURE__ */ l.jsxs("div", { ref: i, className: b, style: _, "data-testid": c, ...m, children: [
1274
+ s,
1275
+ n && /* @__PURE__ */ l.jsx("div", { className: le.overlay, children: /* @__PURE__ */ l.jsx(ot, { size: o, variant: d, "data-testid": `${c}-spinner` }) })
1276
+ ] });
1277
+ }), gr = te((r, i) => r.children ? /* @__PURE__ */ l.jsx(
1278
+ br,
1279
+ {
1280
+ ref: i,
1281
+ ...r
1282
+ }
1283
+ ) : /* @__PURE__ */ l.jsx(ot, { ref: i, ...r })), vr = ({ width: r = 48, height: i = 48, className: n, "data-testid": o }) => /* @__PURE__ */ l.jsx(
1284
+ "svg",
1285
+ {
1286
+ width: r,
1287
+ height: i,
1288
+ viewBox: "0 0 48 48",
1289
+ fill: "none",
1290
+ xmlns: "http://www.w3.org/2000/svg",
1291
+ className: n,
1292
+ "data-testid": o,
1293
+ children: /* @__PURE__ */ l.jsx(
1294
+ "path",
1295
+ {
1296
+ 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",
1297
+ stroke: "#AABBCA",
1298
+ strokeWidth: "4",
1299
+ strokeLinecap: "round",
1300
+ strokeLinejoin: "round"
1301
+ }
1302
+ )
1303
+ }
1304
+ ), Sr = te((r, i) => {
1305
+ const {
1306
+ alt: n = "",
1307
+ loading: o = "lazy",
1308
+ src: d,
1309
+ isLoading: s = !1,
1310
+ className: f,
1311
+ "data-testid": _ = "image",
1312
+ onError: c,
1313
+ onLoad: m,
1314
+ ...b
1315
+ } = r, [v, y] = Te("loading"), w = v === "error", $ = (s || v === "loading") && !w, k = v === "loaded" && !s, B = D(
1316
+ ke.image,
1317
+ {
1318
+ [ke.loading]: $
1319
+ },
1320
+ f
1321
+ ), S = Ye(
1322
+ (L) => {
1323
+ y("loaded"), m == null || m(L);
1324
+ },
1325
+ [m]
1326
+ ), C = Ye(
1327
+ (L) => {
1328
+ y("error"), c == null || c(L);
1329
+ },
1330
+ [c]
1331
+ ), O = {
1332
+ loader: /* @__PURE__ */ l.jsxs(Tt, { children: [
1333
+ /* @__PURE__ */ l.jsx(gr, { size: 48, variant: "special", "data-testid": `${_}-loader` }),
1334
+ /* @__PURE__ */ l.jsx(
1335
+ "img",
1336
+ {
1337
+ alt: n,
1338
+ src: d,
1339
+ onLoad: S,
1340
+ onError: C,
1341
+ style: { display: "none" }
1342
+ }
1343
+ )
1344
+ ] }),
1345
+ error: /* @__PURE__ */ l.jsx(vr, { "data-testid": `${_}-fallback` }),
1346
+ image: /* @__PURE__ */ l.jsx(
1347
+ "img",
1348
+ {
1349
+ ref: i,
1350
+ alt: n,
1351
+ "data-testid": _,
1352
+ loading: o,
1353
+ src: d,
1354
+ className: B
1355
+ }
1356
+ )
1357
+ };
1358
+ return at(() => {
1359
+ if (!d) {
1360
+ y("error");
1361
+ return;
1362
+ }
1363
+ y("loading");
1364
+ }, [d]), /* @__PURE__ */ l.jsxs("div", { className: ke.container, "data-testid": `${_}-container`, ...b, children: [
1365
+ $ && O.loader,
1366
+ w && O.error,
1367
+ k && O.image
1368
+ ] });
1369
+ }), hr = {}, it = Pt({
1370
+ locale: hr
1371
+ }), mr = () => {
1372
+ const r = Lt(it);
1373
+ if (!r)
1374
+ throw new Error("useConfig must be used within a ConfigProvider");
1375
+ return r;
1376
+ }, jr = () => {
1377
+ const { locale: r } = mr();
1378
+ return r;
1379
+ }, Cr = "_wrapper_1ukzl_1", xr = {
1380
+ wrapper: Cr
1381
+ }, $r = ({
1382
+ locale: r = {},
1383
+ theme: i,
1384
+ children: n,
1385
+ className: o
1386
+ }) => {
1387
+ const d = i ? { ...Object.fromEntries(Object.entries(i)) } : {};
1388
+ return /* @__PURE__ */ l.jsx(
1389
+ "div",
1390
+ {
1391
+ "data-testid": "ConfigProvider-component",
1392
+ style: d,
1393
+ className: D(xr.wrapper, o),
1394
+ children: /* @__PURE__ */ l.jsx(it.Provider, { value: { locale: r }, children: n })
1395
+ }
1396
+ );
1397
+ }, kr = {};
10
1398
  export {
11
- e as Avatar,
12
- x as Badge,
13
- d as Button,
14
- v as ConfigProvider,
15
- n as Image,
16
- i as Loader,
17
- f as enUS,
18
- m as ruRU,
19
- C as useConfig,
20
- L as useLocale
1399
+ wr as Avatar,
1400
+ Er as Badge,
1401
+ Rr as Button,
1402
+ $r as ConfigProvider,
1403
+ Sr as Image,
1404
+ gr as Loader,
1405
+ hr as enUS,
1406
+ kr as ruRU,
1407
+ mr as useConfig,
1408
+ jr as useLocale
21
1409
  };