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