skillgrid 0.0.22-dev-31782-avatar.1141064 → 0.0.22-test-putnik.1126563
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.type.d.ts +2 -5
- package/dist/components/Avatar/lib/get-avatar-border-radius-by-size-and-shape.d.ts +0 -5
- package/dist/components/Button/Button.d.ts +3 -2
- package/dist/index.cjs.js +11 -11
- package/dist/index.css +1 -1
- package/dist/index.d.ts +0 -2
- package/dist/index.es.js +886 -1208
- package/package.json +1 -2
- package/dist/components/Checkbox/Checkbox.d.ts +0 -18
- package/dist/components/Checkbox/Checkbox.type.d.ts +0 -90
- package/dist/components/Checkbox/assets/CheckIcon.d.ts +0 -16
- package/dist/components/Checkbox/assets/LineIcon.d.ts +0 -16
- package/dist/components/Checkbox/index.d.ts +0 -2
- package/dist/components/Helper/Helper.d.ts +0 -7
- package/dist/components/Helper/Helper.type.d.ts +0 -17
- package/dist/components/Helper/index.d.ts +0 -2
- package/dist/components/InputBase/Input.d.ts +0 -9
- package/dist/components/InputBase/Input.type.d.ts +0 -138
- package/dist/components/InputBase/InputBase.d.ts +0 -6
- package/dist/components/InputBase/InputBase.type.d.ts +0 -110
- package/dist/components/InputBase/assets/GripIcon.d.ts +0 -8
- package/dist/components/InputBase/assets/SearchIcon.d.ts +0 -17
- package/dist/components/InputBase/assets/XIcon.d.ts +0 -18
- package/dist/components/InputBase/assets/index.d.ts +0 -3
- package/dist/components/InputBase/index.d.ts +0 -3
- package/dist/components/InputBase/lib/constants.d.ts +0 -4
- package/dist/components/InputBase/lib/index.d.ts +0 -4
- package/dist/components/InputBase/lib/useGripResize.d.ts +0 -11
- package/dist/components/InputBase/lib/useInputSync.d.ts +0 -11
- package/dist/components/InputBase/lib/useTextareaResize.d.ts +0 -9
- package/dist/components/List/List.d.ts +0 -5
- package/dist/components/List/List.type.d.ts +0 -34
- package/dist/components/List/ListItem/ListItem.d.ts +0 -9
- package/dist/components/List/index.d.ts +0 -2
- package/dist/components/TextArea/TextArea.d.ts +0 -6
- package/dist/components/TextArea/TextArea.type.d.ts +0 -66
- package/dist/components/TextArea/index.d.ts +0 -2
- package/dist/components/TextArea/lib/constants.d.ts +0 -65
- package/dist/components/TextArea/lib/getters.d.ts +0 -38
- package/dist/components/TextArea/lib/index.d.ts +0 -2
- package/dist/components/TextInput/TextInput.d.ts +0 -6
- package/dist/components/TextInput/TextInput.type.d.ts +0 -72
- package/dist/components/TextInput/index.d.ts +0 -2
- package/dist/components/TextInput/lib/constants.d.ts +0 -9
- package/dist/components/TextInput/lib/getters.d.ts +0 -38
- package/dist/components/TextInput/lib/index.d.ts +0 -2
- package/dist/components/Typography/Typography.constants.d.ts +0 -2
- package/dist/components/Typography/Typography.d.ts +0 -21
- package/dist/components/Typography/Typography.type.d.ts +0 -68
- package/dist/components/Typography/index.d.ts +0 -1
- package/dist/utils/other.d.ts +0 -8
package/dist/index.es.js
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
1
|
+
import nt, { forwardRef as H, useState as Le, useRef as ot, useEffect as st, useCallback as He, Fragment as Nt, createContext as It, useContext as At } from "react";
|
|
2
|
+
import { clsx as ae } from "clsx";
|
|
3
|
+
import './index.css';function Mt(r) {
|
|
4
|
+
return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
|
|
6
5
|
}
|
|
7
|
-
var
|
|
6
|
+
var xe = { exports: {} }, ce = {};
|
|
8
7
|
/**
|
|
9
8
|
* @license React
|
|
10
9
|
* react-jsx-runtime.production.min.js
|
|
@@ -14,21 +13,21 @@ var $e = { exports: {} }, ue = {};
|
|
|
14
13
|
* This source code is licensed under the MIT license found in the
|
|
15
14
|
* LICENSE file in the root directory of this source tree.
|
|
16
15
|
*/
|
|
17
|
-
var
|
|
18
|
-
function
|
|
19
|
-
if (
|
|
20
|
-
|
|
21
|
-
var
|
|
22
|
-
function
|
|
23
|
-
var
|
|
24
|
-
|
|
25
|
-
for (
|
|
26
|
-
if (
|
|
27
|
-
return { $$typeof:
|
|
16
|
+
var Je;
|
|
17
|
+
function Dt() {
|
|
18
|
+
if (Je) return ce;
|
|
19
|
+
Je = 1;
|
|
20
|
+
var r = nt, s = Symbol.for("react.element"), a = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, d = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
21
|
+
function _(f, c, h) {
|
|
22
|
+
var p, g = {}, C = null, w = null;
|
|
23
|
+
h !== void 0 && (C = "" + h), c.key !== void 0 && (C = "" + c.key), c.ref !== void 0 && (w = c.ref);
|
|
24
|
+
for (p in c) o.call(c, p) && !i.hasOwnProperty(p) && (g[p] = c[p]);
|
|
25
|
+
if (f && f.defaultProps) for (p in c = f.defaultProps, c) g[p] === void 0 && (g[p] = c[p]);
|
|
26
|
+
return { $$typeof: s, type: f, key: C, ref: w, props: g, _owner: d.current };
|
|
28
27
|
}
|
|
29
|
-
return
|
|
28
|
+
return ce.Fragment = a, ce.jsx = _, ce.jsxs = _, ce;
|
|
30
29
|
}
|
|
31
|
-
var
|
|
30
|
+
var ue = {};
|
|
32
31
|
/**
|
|
33
32
|
* @license React
|
|
34
33
|
* react-jsx-runtime.development.js
|
|
@@ -38,91 +37,91 @@ var _e = {};
|
|
|
38
37
|
* This source code is licensed under the MIT license found in the
|
|
39
38
|
* LICENSE file in the root directory of this source tree.
|
|
40
39
|
*/
|
|
41
|
-
var
|
|
42
|
-
function
|
|
43
|
-
return
|
|
44
|
-
var
|
|
45
|
-
function
|
|
40
|
+
var Ke;
|
|
41
|
+
function Bt() {
|
|
42
|
+
return Ke || (Ke = 1, process.env.NODE_ENV !== "production" && function() {
|
|
43
|
+
var r = nt, s = Symbol.for("react.element"), a = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), d = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), _ = Symbol.for("react.provider"), f = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), C = Symbol.for("react.lazy"), w = Symbol.for("react.offscreen"), $ = Symbol.iterator, k = "@@iterator";
|
|
44
|
+
function L(e) {
|
|
46
45
|
if (e === null || typeof e != "object")
|
|
47
46
|
return null;
|
|
48
|
-
var
|
|
49
|
-
return typeof
|
|
47
|
+
var t = $ && e[$] || e[k];
|
|
48
|
+
return typeof t == "function" ? t : null;
|
|
50
49
|
}
|
|
51
|
-
var
|
|
52
|
-
function
|
|
50
|
+
var S = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
51
|
+
function y(e) {
|
|
53
52
|
{
|
|
54
|
-
for (var
|
|
55
|
-
|
|
56
|
-
|
|
53
|
+
for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), u = 1; u < t; u++)
|
|
54
|
+
n[u - 1] = arguments[u];
|
|
55
|
+
T("error", e, n);
|
|
57
56
|
}
|
|
58
57
|
}
|
|
59
|
-
function
|
|
58
|
+
function T(e, t, n) {
|
|
60
59
|
{
|
|
61
|
-
var
|
|
62
|
-
|
|
63
|
-
var
|
|
64
|
-
return String(
|
|
60
|
+
var u = S.ReactDebugCurrentFrame, m = u.getStackAddendum();
|
|
61
|
+
m !== "" && (t += "%s", n = n.concat([m]));
|
|
62
|
+
var x = n.map(function(v) {
|
|
63
|
+
return String(v);
|
|
65
64
|
});
|
|
66
|
-
|
|
65
|
+
x.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, x);
|
|
67
66
|
}
|
|
68
67
|
}
|
|
69
|
-
var
|
|
70
|
-
|
|
71
|
-
function
|
|
72
|
-
return !!(typeof e == "string" || typeof e == "function" || e ===
|
|
68
|
+
var N = !1, U = !1, B = !1, F = !1, z = !1, A;
|
|
69
|
+
A = Symbol.for("react.module.reference");
|
|
70
|
+
function J(e) {
|
|
71
|
+
return !!(typeof e == "string" || typeof e == "function" || e === o || e === i || z || e === d || e === h || e === p || F || e === w || N || U || B || typeof e == "object" && e !== null && (e.$$typeof === C || e.$$typeof === g || e.$$typeof === _ || e.$$typeof === f || e.$$typeof === c || // This needs to include all possible module reference object
|
|
73
72
|
// types supported by any Flight configuration anywhere since
|
|
74
73
|
// we don't know which Flight build this will end up being used
|
|
75
74
|
// with.
|
|
76
|
-
e.$$typeof ===
|
|
75
|
+
e.$$typeof === A || e.getModuleId !== void 0));
|
|
77
76
|
}
|
|
78
|
-
function
|
|
79
|
-
var
|
|
80
|
-
if (
|
|
81
|
-
return
|
|
82
|
-
var
|
|
83
|
-
return
|
|
77
|
+
function K(e, t, n) {
|
|
78
|
+
var u = e.displayName;
|
|
79
|
+
if (u)
|
|
80
|
+
return u;
|
|
81
|
+
var m = t.displayName || t.name || "";
|
|
82
|
+
return m !== "" ? n + "(" + m + ")" : n;
|
|
84
83
|
}
|
|
85
|
-
function
|
|
84
|
+
function G(e) {
|
|
86
85
|
return e.displayName || "Context";
|
|
87
86
|
}
|
|
88
87
|
function I(e) {
|
|
89
88
|
if (e == null)
|
|
90
89
|
return null;
|
|
91
|
-
if (typeof e.tag == "number" &&
|
|
90
|
+
if (typeof e.tag == "number" && y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
92
91
|
return e.displayName || e.name || null;
|
|
93
92
|
if (typeof e == "string")
|
|
94
93
|
return e;
|
|
95
94
|
switch (e) {
|
|
96
|
-
case
|
|
95
|
+
case o:
|
|
97
96
|
return "Fragment";
|
|
98
|
-
case
|
|
97
|
+
case a:
|
|
99
98
|
return "Portal";
|
|
100
99
|
case i:
|
|
101
100
|
return "Profiler";
|
|
102
101
|
case d:
|
|
103
102
|
return "StrictMode";
|
|
104
|
-
case
|
|
103
|
+
case h:
|
|
105
104
|
return "Suspense";
|
|
106
|
-
case
|
|
105
|
+
case p:
|
|
107
106
|
return "SuspenseList";
|
|
108
107
|
}
|
|
109
108
|
if (typeof e == "object")
|
|
110
109
|
switch (e.$$typeof) {
|
|
110
|
+
case f:
|
|
111
|
+
var t = e;
|
|
112
|
+
return G(t) + ".Consumer";
|
|
111
113
|
case _:
|
|
112
|
-
var
|
|
113
|
-
return
|
|
114
|
-
case u:
|
|
115
|
-
var l = e;
|
|
116
|
-
return Z(l._context) + ".Provider";
|
|
114
|
+
var n = e;
|
|
115
|
+
return G(n._context) + ".Provider";
|
|
117
116
|
case c:
|
|
118
|
-
return
|
|
117
|
+
return K(e, e.render, "ForwardRef");
|
|
119
118
|
case g:
|
|
120
|
-
var
|
|
121
|
-
return
|
|
122
|
-
case
|
|
123
|
-
var
|
|
119
|
+
var u = e.displayName || null;
|
|
120
|
+
return u !== null ? u : I(e.type) || "Memo";
|
|
121
|
+
case C: {
|
|
122
|
+
var m = e, x = m._payload, v = m._init;
|
|
124
123
|
try {
|
|
125
|
-
return I(
|
|
124
|
+
return I(v(x));
|
|
126
125
|
} catch {
|
|
127
126
|
return null;
|
|
128
127
|
}
|
|
@@ -130,18 +129,18 @@ function Ut() {
|
|
|
130
129
|
}
|
|
131
130
|
return null;
|
|
132
131
|
}
|
|
133
|
-
var
|
|
134
|
-
function
|
|
132
|
+
var V = Object.assign, Q = 0, _e, fe, pe, be, ge, ve, he;
|
|
133
|
+
function me() {
|
|
135
134
|
}
|
|
136
|
-
|
|
137
|
-
function
|
|
135
|
+
me.__reactDisabledLog = !0;
|
|
136
|
+
function we() {
|
|
138
137
|
{
|
|
139
|
-
if (
|
|
140
|
-
|
|
138
|
+
if (Q === 0) {
|
|
139
|
+
_e = console.log, fe = console.info, pe = console.warn, be = console.error, ge = console.group, ve = console.groupCollapsed, he = console.groupEnd;
|
|
141
140
|
var e = {
|
|
142
141
|
configurable: !0,
|
|
143
142
|
enumerable: !0,
|
|
144
|
-
value:
|
|
143
|
+
value: me,
|
|
145
144
|
writable: !0
|
|
146
145
|
};
|
|
147
146
|
Object.defineProperties(console, {
|
|
@@ -154,332 +153,332 @@ function Ut() {
|
|
|
154
153
|
groupEnd: e
|
|
155
154
|
});
|
|
156
155
|
}
|
|
157
|
-
|
|
156
|
+
Q++;
|
|
158
157
|
}
|
|
159
158
|
}
|
|
160
|
-
function
|
|
159
|
+
function Ee() {
|
|
161
160
|
{
|
|
162
|
-
if (
|
|
161
|
+
if (Q--, Q === 0) {
|
|
163
162
|
var e = {
|
|
164
163
|
configurable: !0,
|
|
165
164
|
enumerable: !0,
|
|
166
165
|
writable: !0
|
|
167
166
|
};
|
|
168
167
|
Object.defineProperties(console, {
|
|
169
|
-
log:
|
|
168
|
+
log: V({}, e, {
|
|
169
|
+
value: _e
|
|
170
|
+
}),
|
|
171
|
+
info: V({}, e, {
|
|
170
172
|
value: fe
|
|
171
173
|
}),
|
|
172
|
-
|
|
173
|
-
value:
|
|
174
|
+
warn: V({}, e, {
|
|
175
|
+
value: pe
|
|
174
176
|
}),
|
|
175
|
-
|
|
177
|
+
error: V({}, e, {
|
|
176
178
|
value: be
|
|
177
179
|
}),
|
|
178
|
-
|
|
179
|
-
value:
|
|
180
|
-
}),
|
|
181
|
-
group: T({}, e, {
|
|
182
|
-
value: ye
|
|
183
|
-
}),
|
|
184
|
-
groupCollapsed: T({}, e, {
|
|
185
|
-
value: me
|
|
180
|
+
group: V({}, e, {
|
|
181
|
+
value: ge
|
|
186
182
|
}),
|
|
187
|
-
|
|
183
|
+
groupCollapsed: V({}, e, {
|
|
188
184
|
value: ve
|
|
185
|
+
}),
|
|
186
|
+
groupEnd: V({}, e, {
|
|
187
|
+
value: he
|
|
189
188
|
})
|
|
190
189
|
});
|
|
191
190
|
}
|
|
192
|
-
|
|
191
|
+
Q < 0 && y("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
193
192
|
}
|
|
194
193
|
}
|
|
195
|
-
var
|
|
196
|
-
function
|
|
194
|
+
var se = S.ReactCurrentDispatcher, X;
|
|
195
|
+
function Y(e, t, n) {
|
|
197
196
|
{
|
|
198
|
-
if (
|
|
197
|
+
if (X === void 0)
|
|
199
198
|
try {
|
|
200
199
|
throw Error();
|
|
201
|
-
} catch (
|
|
202
|
-
var
|
|
203
|
-
|
|
200
|
+
} catch (m) {
|
|
201
|
+
var u = m.stack.trim().match(/\n( *(at )?)/);
|
|
202
|
+
X = u && u[1] || "";
|
|
204
203
|
}
|
|
205
204
|
return `
|
|
206
|
-
` +
|
|
205
|
+
` + X + e;
|
|
207
206
|
}
|
|
208
207
|
}
|
|
209
|
-
var
|
|
208
|
+
var ee = !1, q;
|
|
210
209
|
{
|
|
211
|
-
var
|
|
212
|
-
|
|
210
|
+
var ie = typeof WeakMap == "function" ? WeakMap : Map;
|
|
211
|
+
q = new ie();
|
|
213
212
|
}
|
|
214
|
-
function
|
|
215
|
-
if (!e ||
|
|
213
|
+
function Ne(e, t) {
|
|
214
|
+
if (!e || ee)
|
|
216
215
|
return "";
|
|
217
216
|
{
|
|
218
|
-
var
|
|
219
|
-
if (
|
|
220
|
-
return
|
|
217
|
+
var n = q.get(e);
|
|
218
|
+
if (n !== void 0)
|
|
219
|
+
return n;
|
|
221
220
|
}
|
|
222
|
-
var
|
|
223
|
-
|
|
224
|
-
var
|
|
221
|
+
var u;
|
|
222
|
+
ee = !0;
|
|
223
|
+
var m = Error.prepareStackTrace;
|
|
225
224
|
Error.prepareStackTrace = void 0;
|
|
226
|
-
var
|
|
227
|
-
|
|
225
|
+
var x;
|
|
226
|
+
x = se.current, se.current = null, we();
|
|
228
227
|
try {
|
|
229
|
-
if (
|
|
230
|
-
var
|
|
228
|
+
if (t) {
|
|
229
|
+
var v = function() {
|
|
231
230
|
throw Error();
|
|
232
231
|
};
|
|
233
|
-
if (Object.defineProperty(
|
|
232
|
+
if (Object.defineProperty(v.prototype, "props", {
|
|
234
233
|
set: function() {
|
|
235
234
|
throw Error();
|
|
236
235
|
}
|
|
237
236
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
238
237
|
try {
|
|
239
|
-
Reflect.construct(
|
|
240
|
-
} catch (
|
|
241
|
-
|
|
238
|
+
Reflect.construct(v, []);
|
|
239
|
+
} catch (P) {
|
|
240
|
+
u = P;
|
|
242
241
|
}
|
|
243
|
-
Reflect.construct(e, [],
|
|
242
|
+
Reflect.construct(e, [], v);
|
|
244
243
|
} else {
|
|
245
244
|
try {
|
|
246
|
-
|
|
247
|
-
} catch (
|
|
248
|
-
|
|
245
|
+
v.call();
|
|
246
|
+
} catch (P) {
|
|
247
|
+
u = P;
|
|
249
248
|
}
|
|
250
|
-
e.call(
|
|
249
|
+
e.call(v.prototype);
|
|
251
250
|
}
|
|
252
251
|
} else {
|
|
253
252
|
try {
|
|
254
253
|
throw Error();
|
|
255
|
-
} catch (
|
|
256
|
-
|
|
254
|
+
} catch (P) {
|
|
255
|
+
u = P;
|
|
257
256
|
}
|
|
258
257
|
e();
|
|
259
258
|
}
|
|
260
|
-
} catch (
|
|
261
|
-
if (
|
|
262
|
-
for (var
|
|
263
|
-
`),
|
|
264
|
-
`),
|
|
265
|
-
|
|
266
|
-
for (;
|
|
267
|
-
if (
|
|
268
|
-
if (
|
|
259
|
+
} catch (P) {
|
|
260
|
+
if (P && u && typeof P.stack == "string") {
|
|
261
|
+
for (var b = P.stack.split(`
|
|
262
|
+
`), O = u.stack.split(`
|
|
263
|
+
`), E = b.length - 1, j = O.length - 1; E >= 1 && j >= 0 && b[E] !== O[j]; )
|
|
264
|
+
j--;
|
|
265
|
+
for (; E >= 1 && j >= 0; E--, j--)
|
|
266
|
+
if (b[E] !== O[j]) {
|
|
267
|
+
if (E !== 1 || j !== 1)
|
|
269
268
|
do
|
|
270
|
-
if (
|
|
271
|
-
var
|
|
272
|
-
` +
|
|
273
|
-
return e.displayName &&
|
|
269
|
+
if (E--, j--, j < 0 || b[E] !== O[j]) {
|
|
270
|
+
var M = `
|
|
271
|
+
` + b[E].replace(" at new ", " at ");
|
|
272
|
+
return e.displayName && M.includes("<anonymous>") && (M = M.replace("<anonymous>", e.displayName)), typeof e == "function" && q.set(e, M), M;
|
|
274
273
|
}
|
|
275
|
-
while (
|
|
274
|
+
while (E >= 1 && j >= 0);
|
|
276
275
|
break;
|
|
277
276
|
}
|
|
278
277
|
}
|
|
279
278
|
} finally {
|
|
280
|
-
|
|
279
|
+
ee = !1, se.current = x, Ee(), Error.prepareStackTrace = m;
|
|
281
280
|
}
|
|
282
|
-
var
|
|
283
|
-
return typeof e == "function" &&
|
|
281
|
+
var oe = e ? e.displayName || e.name : "", te = oe ? Y(oe) : "";
|
|
282
|
+
return typeof e == "function" && q.set(e, te), te;
|
|
284
283
|
}
|
|
285
|
-
function
|
|
286
|
-
return
|
|
284
|
+
function ut(e, t, n) {
|
|
285
|
+
return Ne(e, !1);
|
|
287
286
|
}
|
|
288
|
-
function
|
|
289
|
-
var
|
|
290
|
-
return !!(
|
|
287
|
+
function dt(e) {
|
|
288
|
+
var t = e.prototype;
|
|
289
|
+
return !!(t && t.isReactComponent);
|
|
291
290
|
}
|
|
292
|
-
function
|
|
291
|
+
function Ce(e, t, n) {
|
|
293
292
|
if (e == null)
|
|
294
293
|
return "";
|
|
295
294
|
if (typeof e == "function")
|
|
296
|
-
return
|
|
295
|
+
return Ne(e, dt(e));
|
|
297
296
|
if (typeof e == "string")
|
|
298
|
-
return
|
|
297
|
+
return Y(e);
|
|
299
298
|
switch (e) {
|
|
300
|
-
case
|
|
301
|
-
return
|
|
302
|
-
case
|
|
303
|
-
return
|
|
299
|
+
case h:
|
|
300
|
+
return Y("Suspense");
|
|
301
|
+
case p:
|
|
302
|
+
return Y("SuspenseList");
|
|
304
303
|
}
|
|
305
304
|
if (typeof e == "object")
|
|
306
305
|
switch (e.$$typeof) {
|
|
307
306
|
case c:
|
|
308
|
-
return
|
|
307
|
+
return ut(e.render);
|
|
309
308
|
case g:
|
|
310
|
-
return
|
|
311
|
-
case
|
|
312
|
-
var
|
|
309
|
+
return Ce(e.type, t, n);
|
|
310
|
+
case C: {
|
|
311
|
+
var u = e, m = u._payload, x = u._init;
|
|
313
312
|
try {
|
|
314
|
-
return
|
|
313
|
+
return Ce(x(m), t, n);
|
|
315
314
|
} catch {
|
|
316
315
|
}
|
|
317
316
|
}
|
|
318
317
|
}
|
|
319
318
|
return "";
|
|
320
319
|
}
|
|
321
|
-
var
|
|
322
|
-
function
|
|
320
|
+
var le = Object.prototype.hasOwnProperty, Ie = {}, Ae = S.ReactDebugCurrentFrame;
|
|
321
|
+
function ye(e) {
|
|
323
322
|
if (e) {
|
|
324
|
-
var
|
|
325
|
-
|
|
323
|
+
var t = e._owner, n = Ce(e.type, e._source, t ? t.type : null);
|
|
324
|
+
Ae.setExtraStackFrame(n);
|
|
326
325
|
} else
|
|
327
|
-
|
|
326
|
+
Ae.setExtraStackFrame(null);
|
|
328
327
|
}
|
|
329
|
-
function
|
|
328
|
+
function _t(e, t, n, u, m) {
|
|
330
329
|
{
|
|
331
|
-
var
|
|
332
|
-
for (var
|
|
333
|
-
if (
|
|
334
|
-
var
|
|
330
|
+
var x = Function.call.bind(le);
|
|
331
|
+
for (var v in e)
|
|
332
|
+
if (x(e, v)) {
|
|
333
|
+
var b = void 0;
|
|
335
334
|
try {
|
|
336
|
-
if (typeof e[
|
|
337
|
-
var
|
|
338
|
-
throw
|
|
335
|
+
if (typeof e[v] != "function") {
|
|
336
|
+
var O = Error((u || "React class") + ": " + n + " type `" + v + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[v] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
337
|
+
throw O.name = "Invariant Violation", O;
|
|
339
338
|
}
|
|
340
|
-
|
|
341
|
-
} catch (
|
|
342
|
-
|
|
339
|
+
b = e[v](t, v, u, n, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
340
|
+
} catch (E) {
|
|
341
|
+
b = E;
|
|
343
342
|
}
|
|
344
|
-
|
|
343
|
+
b && !(b instanceof Error) && (ye(m), y("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", u || "React class", n, v, typeof b), ye(null)), b instanceof Error && !(b.message in Ie) && (Ie[b.message] = !0, ye(m), y("Failed %s type: %s", n, b.message), ye(null));
|
|
345
344
|
}
|
|
346
345
|
}
|
|
347
346
|
}
|
|
348
|
-
var
|
|
349
|
-
function
|
|
350
|
-
return
|
|
347
|
+
var ft = Array.isArray;
|
|
348
|
+
function Re(e) {
|
|
349
|
+
return ft(e);
|
|
351
350
|
}
|
|
352
|
-
function
|
|
351
|
+
function pt(e) {
|
|
353
352
|
{
|
|
354
|
-
var
|
|
355
|
-
return
|
|
353
|
+
var t = typeof Symbol == "function" && Symbol.toStringTag, n = t && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
354
|
+
return n;
|
|
356
355
|
}
|
|
357
356
|
}
|
|
358
|
-
function
|
|
357
|
+
function bt(e) {
|
|
359
358
|
try {
|
|
360
|
-
return
|
|
359
|
+
return Me(e), !1;
|
|
361
360
|
} catch {
|
|
362
361
|
return !0;
|
|
363
362
|
}
|
|
364
363
|
}
|
|
365
|
-
function
|
|
364
|
+
function Me(e) {
|
|
366
365
|
return "" + e;
|
|
367
366
|
}
|
|
368
|
-
function
|
|
369
|
-
if (
|
|
370
|
-
return
|
|
367
|
+
function De(e) {
|
|
368
|
+
if (bt(e))
|
|
369
|
+
return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", pt(e)), Me(e);
|
|
371
370
|
}
|
|
372
|
-
var
|
|
371
|
+
var Be = S.ReactCurrentOwner, gt = {
|
|
373
372
|
key: !0,
|
|
374
373
|
ref: !0,
|
|
375
374
|
__self: !0,
|
|
376
375
|
__source: !0
|
|
377
|
-
},
|
|
378
|
-
function
|
|
379
|
-
if (
|
|
380
|
-
var
|
|
381
|
-
if (
|
|
376
|
+
}, Fe, ze;
|
|
377
|
+
function vt(e) {
|
|
378
|
+
if (le.call(e, "ref")) {
|
|
379
|
+
var t = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
380
|
+
if (t && t.isReactWarning)
|
|
382
381
|
return !1;
|
|
383
382
|
}
|
|
384
383
|
return e.ref !== void 0;
|
|
385
384
|
}
|
|
386
|
-
function
|
|
387
|
-
if (
|
|
388
|
-
var
|
|
389
|
-
if (
|
|
385
|
+
function ht(e) {
|
|
386
|
+
if (le.call(e, "key")) {
|
|
387
|
+
var t = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
388
|
+
if (t && t.isReactWarning)
|
|
390
389
|
return !1;
|
|
391
390
|
}
|
|
392
391
|
return e.key !== void 0;
|
|
393
392
|
}
|
|
394
|
-
function
|
|
395
|
-
typeof e.ref == "string" &&
|
|
393
|
+
function mt(e, t) {
|
|
394
|
+
typeof e.ref == "string" && Be.current;
|
|
396
395
|
}
|
|
397
|
-
function
|
|
396
|
+
function Ct(e, t) {
|
|
398
397
|
{
|
|
399
|
-
var
|
|
400
|
-
|
|
398
|
+
var n = function() {
|
|
399
|
+
Fe || (Fe = !0, y("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
401
400
|
};
|
|
402
|
-
|
|
403
|
-
get:
|
|
401
|
+
n.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
402
|
+
get: n,
|
|
404
403
|
configurable: !0
|
|
405
404
|
});
|
|
406
405
|
}
|
|
407
406
|
}
|
|
408
|
-
function
|
|
407
|
+
function yt(e, t) {
|
|
409
408
|
{
|
|
410
|
-
var
|
|
411
|
-
|
|
409
|
+
var n = function() {
|
|
410
|
+
ze || (ze = !0, y("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
|
|
412
411
|
};
|
|
413
|
-
|
|
414
|
-
get:
|
|
412
|
+
n.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
413
|
+
get: n,
|
|
415
414
|
configurable: !0
|
|
416
415
|
});
|
|
417
416
|
}
|
|
418
417
|
}
|
|
419
|
-
var
|
|
420
|
-
var
|
|
418
|
+
var xt = function(e, t, n, u, m, x, v) {
|
|
419
|
+
var b = {
|
|
421
420
|
// This tag allows us to uniquely identify this as a React Element
|
|
422
|
-
$$typeof:
|
|
421
|
+
$$typeof: s,
|
|
423
422
|
// Built-in properties that belong on the element
|
|
424
423
|
type: e,
|
|
425
|
-
key:
|
|
426
|
-
ref:
|
|
427
|
-
props:
|
|
424
|
+
key: t,
|
|
425
|
+
ref: n,
|
|
426
|
+
props: v,
|
|
428
427
|
// Record the component responsible for creating this element.
|
|
429
|
-
_owner:
|
|
428
|
+
_owner: x
|
|
430
429
|
};
|
|
431
|
-
return
|
|
430
|
+
return b._store = {}, Object.defineProperty(b._store, "validated", {
|
|
432
431
|
configurable: !1,
|
|
433
432
|
enumerable: !1,
|
|
434
433
|
writable: !0,
|
|
435
434
|
value: !1
|
|
436
|
-
}), Object.defineProperty(
|
|
435
|
+
}), Object.defineProperty(b, "_self", {
|
|
437
436
|
configurable: !1,
|
|
438
437
|
enumerable: !1,
|
|
439
438
|
writable: !1,
|
|
440
|
-
value:
|
|
441
|
-
}), Object.defineProperty(
|
|
439
|
+
value: u
|
|
440
|
+
}), Object.defineProperty(b, "_source", {
|
|
442
441
|
configurable: !1,
|
|
443
442
|
enumerable: !1,
|
|
444
443
|
writable: !1,
|
|
445
|
-
value:
|
|
446
|
-
}), Object.freeze && (Object.freeze(
|
|
444
|
+
value: m
|
|
445
|
+
}), Object.freeze && (Object.freeze(b.props), Object.freeze(b)), b;
|
|
447
446
|
};
|
|
448
|
-
function
|
|
447
|
+
function wt(e, t, n, u, m) {
|
|
449
448
|
{
|
|
450
|
-
var
|
|
451
|
-
|
|
452
|
-
for (
|
|
453
|
-
|
|
449
|
+
var x, v = {}, b = null, O = null;
|
|
450
|
+
n !== void 0 && (De(n), b = "" + n), ht(t) && (De(t.key), b = "" + t.key), vt(t) && (O = t.ref, mt(t, m));
|
|
451
|
+
for (x in t)
|
|
452
|
+
le.call(t, x) && !gt.hasOwnProperty(x) && (v[x] = t[x]);
|
|
454
453
|
if (e && e.defaultProps) {
|
|
455
|
-
var
|
|
456
|
-
for (
|
|
457
|
-
|
|
454
|
+
var E = e.defaultProps;
|
|
455
|
+
for (x in E)
|
|
456
|
+
v[x] === void 0 && (v[x] = E[x]);
|
|
458
457
|
}
|
|
459
|
-
if (
|
|
460
|
-
var
|
|
461
|
-
|
|
458
|
+
if (b || O) {
|
|
459
|
+
var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
460
|
+
b && Ct(v, j), O && yt(v, j);
|
|
462
461
|
}
|
|
463
|
-
return
|
|
462
|
+
return xt(e, b, O, m, u, Be.current, v);
|
|
464
463
|
}
|
|
465
464
|
}
|
|
466
|
-
var
|
|
467
|
-
function
|
|
465
|
+
var Se = S.ReactCurrentOwner, Ve = S.ReactDebugCurrentFrame;
|
|
466
|
+
function ne(e) {
|
|
468
467
|
if (e) {
|
|
469
|
-
var
|
|
470
|
-
|
|
468
|
+
var t = e._owner, n = Ce(e.type, e._source, t ? t.type : null);
|
|
469
|
+
Ve.setExtraStackFrame(n);
|
|
471
470
|
} else
|
|
472
|
-
|
|
471
|
+
Ve.setExtraStackFrame(null);
|
|
473
472
|
}
|
|
474
|
-
var
|
|
475
|
-
|
|
476
|
-
function
|
|
477
|
-
return typeof e == "object" && e !== null && e.$$typeof ===
|
|
473
|
+
var je;
|
|
474
|
+
je = !1;
|
|
475
|
+
function $e(e) {
|
|
476
|
+
return typeof e == "object" && e !== null && e.$$typeof === s;
|
|
478
477
|
}
|
|
479
|
-
function
|
|
478
|
+
function We() {
|
|
480
479
|
{
|
|
481
|
-
if (
|
|
482
|
-
var e = I(
|
|
480
|
+
if (Se.current) {
|
|
481
|
+
var e = I(Se.current.type);
|
|
483
482
|
if (e)
|
|
484
483
|
return `
|
|
485
484
|
|
|
@@ -488,443 +487,442 @@ Check the render method of \`` + e + "`.";
|
|
|
488
487
|
return "";
|
|
489
488
|
}
|
|
490
489
|
}
|
|
491
|
-
function
|
|
490
|
+
function Et(e) {
|
|
492
491
|
return "";
|
|
493
492
|
}
|
|
494
|
-
var
|
|
495
|
-
function
|
|
493
|
+
var Ze = {};
|
|
494
|
+
function Rt(e) {
|
|
496
495
|
{
|
|
497
|
-
var
|
|
498
|
-
if (!
|
|
499
|
-
var
|
|
500
|
-
|
|
496
|
+
var t = We();
|
|
497
|
+
if (!t) {
|
|
498
|
+
var n = typeof e == "string" ? e : e.displayName || e.name;
|
|
499
|
+
n && (t = `
|
|
501
500
|
|
|
502
|
-
Check the top-level render call using <` +
|
|
501
|
+
Check the top-level render call using <` + n + ">.");
|
|
503
502
|
}
|
|
504
|
-
return
|
|
503
|
+
return t;
|
|
505
504
|
}
|
|
506
505
|
}
|
|
507
|
-
function
|
|
506
|
+
function Ue(e, t) {
|
|
508
507
|
{
|
|
509
508
|
if (!e._store || e._store.validated || e.key != null)
|
|
510
509
|
return;
|
|
511
510
|
e._store.validated = !0;
|
|
512
|
-
var
|
|
513
|
-
if (
|
|
511
|
+
var n = Rt(t);
|
|
512
|
+
if (Ze[n])
|
|
514
513
|
return;
|
|
515
|
-
|
|
516
|
-
var
|
|
517
|
-
e && e._owner && e._owner !==
|
|
514
|
+
Ze[n] = !0;
|
|
515
|
+
var u = "";
|
|
516
|
+
e && e._owner && e._owner !== Se.current && (u = " It was passed a child from " + I(e._owner.type) + "."), ne(e), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', n, u), ne(null);
|
|
518
517
|
}
|
|
519
518
|
}
|
|
520
|
-
function
|
|
519
|
+
function Ge(e, t) {
|
|
521
520
|
{
|
|
522
521
|
if (typeof e != "object")
|
|
523
522
|
return;
|
|
524
|
-
if (
|
|
525
|
-
for (var
|
|
526
|
-
var
|
|
527
|
-
|
|
523
|
+
if (Re(e))
|
|
524
|
+
for (var n = 0; n < e.length; n++) {
|
|
525
|
+
var u = e[n];
|
|
526
|
+
$e(u) && Ue(u, t);
|
|
528
527
|
}
|
|
529
|
-
else if (
|
|
528
|
+
else if ($e(e))
|
|
530
529
|
e._store && (e._store.validated = !0);
|
|
531
530
|
else if (e) {
|
|
532
|
-
var
|
|
533
|
-
if (typeof
|
|
534
|
-
for (var
|
|
535
|
-
|
|
531
|
+
var m = L(e);
|
|
532
|
+
if (typeof m == "function" && m !== e.entries)
|
|
533
|
+
for (var x = m.call(e), v; !(v = x.next()).done; )
|
|
534
|
+
$e(v.value) && Ue(v.value, t);
|
|
536
535
|
}
|
|
537
536
|
}
|
|
538
537
|
}
|
|
539
|
-
function
|
|
538
|
+
function St(e) {
|
|
540
539
|
{
|
|
541
|
-
var
|
|
542
|
-
if (
|
|
540
|
+
var t = e.type;
|
|
541
|
+
if (t == null || typeof t == "string")
|
|
543
542
|
return;
|
|
544
|
-
var
|
|
545
|
-
if (typeof
|
|
546
|
-
|
|
547
|
-
else if (typeof
|
|
543
|
+
var n;
|
|
544
|
+
if (typeof t == "function")
|
|
545
|
+
n = t.propTypes;
|
|
546
|
+
else if (typeof t == "object" && (t.$$typeof === c || // Note: Memo only checks outer props here.
|
|
548
547
|
// Inner props are checked in the reconciler.
|
|
549
|
-
|
|
550
|
-
|
|
548
|
+
t.$$typeof === g))
|
|
549
|
+
n = t.propTypes;
|
|
551
550
|
else
|
|
552
551
|
return;
|
|
553
|
-
if (
|
|
554
|
-
var
|
|
555
|
-
|
|
556
|
-
} else if (
|
|
557
|
-
|
|
558
|
-
var
|
|
559
|
-
|
|
552
|
+
if (n) {
|
|
553
|
+
var u = I(t);
|
|
554
|
+
_t(n, e.props, "prop", u, e);
|
|
555
|
+
} else if (t.PropTypes !== void 0 && !je) {
|
|
556
|
+
je = !0;
|
|
557
|
+
var m = I(t);
|
|
558
|
+
y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", m || "Unknown");
|
|
560
559
|
}
|
|
561
|
-
typeof
|
|
560
|
+
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
562
561
|
}
|
|
563
562
|
}
|
|
564
|
-
function
|
|
563
|
+
function jt(e) {
|
|
565
564
|
{
|
|
566
|
-
for (var
|
|
567
|
-
var
|
|
568
|
-
if (
|
|
569
|
-
|
|
565
|
+
for (var t = Object.keys(e.props), n = 0; n < t.length; n++) {
|
|
566
|
+
var u = t[n];
|
|
567
|
+
if (u !== "children" && u !== "key") {
|
|
568
|
+
ne(e), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", u), ne(null);
|
|
570
569
|
break;
|
|
571
570
|
}
|
|
572
571
|
}
|
|
573
|
-
e.ref !== null && (
|
|
572
|
+
e.ref !== null && (ne(e), y("Invalid attribute `ref` supplied to `React.Fragment`."), ne(null));
|
|
574
573
|
}
|
|
575
574
|
}
|
|
576
|
-
var
|
|
577
|
-
function
|
|
575
|
+
var Ye = {};
|
|
576
|
+
function qe(e, t, n, u, m, x) {
|
|
578
577
|
{
|
|
579
|
-
var
|
|
580
|
-
if (!
|
|
581
|
-
var
|
|
582
|
-
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (
|
|
583
|
-
var
|
|
584
|
-
|
|
585
|
-
var
|
|
586
|
-
e === null ?
|
|
578
|
+
var v = J(e);
|
|
579
|
+
if (!v) {
|
|
580
|
+
var b = "";
|
|
581
|
+
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (b += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
582
|
+
var O = Et();
|
|
583
|
+
O ? b += O : b += We();
|
|
584
|
+
var E;
|
|
585
|
+
e === null ? E = "null" : Re(e) ? E = "array" : e !== void 0 && e.$$typeof === s ? (E = "<" + (I(e.type) || "Unknown") + " />", b = " Did you accidentally export a JSX literal instead of a component?") : E = typeof e, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", E, b);
|
|
587
586
|
}
|
|
588
|
-
var
|
|
589
|
-
if (
|
|
590
|
-
return
|
|
591
|
-
if (
|
|
592
|
-
var
|
|
593
|
-
if (
|
|
594
|
-
if (
|
|
595
|
-
if (
|
|
596
|
-
for (var
|
|
597
|
-
|
|
598
|
-
Object.freeze && Object.freeze(
|
|
587
|
+
var j = wt(e, t, n, m, x);
|
|
588
|
+
if (j == null)
|
|
589
|
+
return j;
|
|
590
|
+
if (v) {
|
|
591
|
+
var M = t.children;
|
|
592
|
+
if (M !== void 0)
|
|
593
|
+
if (u)
|
|
594
|
+
if (Re(M)) {
|
|
595
|
+
for (var oe = 0; oe < M.length; oe++)
|
|
596
|
+
Ge(M[oe], e);
|
|
597
|
+
Object.freeze && Object.freeze(M);
|
|
599
598
|
} else
|
|
600
|
-
|
|
599
|
+
y("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
601
600
|
else
|
|
602
|
-
|
|
601
|
+
Ge(M, e);
|
|
603
602
|
}
|
|
604
|
-
if (
|
|
605
|
-
var
|
|
606
|
-
return
|
|
607
|
-
}),
|
|
608
|
-
if (!
|
|
609
|
-
var
|
|
610
|
-
|
|
603
|
+
if (le.call(t, "key")) {
|
|
604
|
+
var te = I(e), P = Object.keys(t).filter(function(Lt) {
|
|
605
|
+
return Lt !== "key";
|
|
606
|
+
}), ke = P.length > 0 ? "{key: someKey, " + P.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
607
|
+
if (!Ye[te + ke]) {
|
|
608
|
+
var Pt = P.length > 0 ? "{" + P.join(": ..., ") + ": ...}" : "{}";
|
|
609
|
+
y(`A props object containing a "key" prop is being spread into JSX:
|
|
611
610
|
let props = %s;
|
|
612
611
|
<%s {...props} />
|
|
613
612
|
React keys must be passed directly to JSX without using spread:
|
|
614
613
|
let props = %s;
|
|
615
|
-
<%s key={someKey} {...props} />`,
|
|
614
|
+
<%s key={someKey} {...props} />`, ke, te, Pt, te), Ye[te + ke] = !0;
|
|
616
615
|
}
|
|
617
616
|
}
|
|
618
|
-
return e ===
|
|
617
|
+
return e === o ? jt(j) : St(j), j;
|
|
619
618
|
}
|
|
620
619
|
}
|
|
621
|
-
function
|
|
622
|
-
return
|
|
620
|
+
function $t(e, t, n) {
|
|
621
|
+
return qe(e, t, n, !0);
|
|
623
622
|
}
|
|
624
|
-
function
|
|
625
|
-
return
|
|
623
|
+
function kt(e, t, n) {
|
|
624
|
+
return qe(e, t, n, !1);
|
|
626
625
|
}
|
|
627
|
-
var
|
|
628
|
-
|
|
629
|
-
}()),
|
|
626
|
+
var Tt = kt, Ot = $t;
|
|
627
|
+
ue.Fragment = o, ue.jsx = Tt, ue.jsxs = Ot;
|
|
628
|
+
}()), ue;
|
|
630
629
|
}
|
|
631
|
-
var
|
|
632
|
-
function
|
|
633
|
-
return
|
|
630
|
+
var Qe;
|
|
631
|
+
function Ft() {
|
|
632
|
+
return Qe || (Qe = 1, process.env.NODE_ENV === "production" ? xe.exports = Dt() : xe.exports = Bt()), xe.exports;
|
|
634
633
|
}
|
|
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:
|
|
667
|
-
l:
|
|
668
|
-
m:
|
|
669
|
-
s:
|
|
670
|
-
xs:
|
|
671
|
-
},
|
|
672
|
-
isLoading:
|
|
673
|
-
showBadge:
|
|
674
|
-
badgeValue:
|
|
675
|
-
badgeSize:
|
|
634
|
+
var l = Ft();
|
|
635
|
+
const zt = (r) => r.as === "a", Vt = (r) => r.as === void 0 || r.as === "button", Wt = "_button_unbux_213", Zt = "_disabled_unbux_237", Ut = "_loading_unbux_237", Gt = "_neutral_unbux_259", Yt = "_accent_unbux_263", qt = "_positive_unbux_267", Ht = "_negative_unbux_271", Jt = "_contrast_unbux_275", Kt = "_special_unbux_279", Qt = "_primary_unbux_284", Xt = "_secondary_unbux_285", e2 = "_tertiary_unbux_286", t2 = "_label_unbux_321", r2 = "_rightGroup_unbux_333", a2 = "_iconOnly_unbux_349", n2 = "_large_unbux_357", o2 = "_medium_unbux_361", s2 = "_small_unbux_365", i2 = "_spaceBetween_unbux_370", l2 = "_stretched_unbux_384", c2 = "_icon_unbux_349", u2 = "_badge_unbux_705", d2 = "_badgeMedium_unbux_721", _2 = "_circular_unbux_738", f2 = "_badgeSmall_unbux_743", p2 = "_badgeExtraSmall_unbux_765", b2 = "_withSubcaption_unbux_784", g2 = "_subcaption_unbux_797", v2 = "_loader_unbux_804", h2 = "_spin_unbux_1", m2 = "_l_unbux_237", C2 = "_m_unbux_361", y2 = "_s_unbux_279", x2 = "_xs_unbux_869", R = {
|
|
636
|
+
button: Wt,
|
|
637
|
+
disabled: Zt,
|
|
638
|
+
loading: Ut,
|
|
639
|
+
neutral: Gt,
|
|
640
|
+
accent: Yt,
|
|
641
|
+
positive: qt,
|
|
642
|
+
negative: Ht,
|
|
643
|
+
contrast: Jt,
|
|
644
|
+
special: Kt,
|
|
645
|
+
primary: Qt,
|
|
646
|
+
secondary: Xt,
|
|
647
|
+
tertiary: e2,
|
|
648
|
+
label: t2,
|
|
649
|
+
rightGroup: r2,
|
|
650
|
+
iconOnly: a2,
|
|
651
|
+
large: n2,
|
|
652
|
+
medium: o2,
|
|
653
|
+
small: s2,
|
|
654
|
+
spaceBetween: i2,
|
|
655
|
+
stretched: l2,
|
|
656
|
+
icon: c2,
|
|
657
|
+
badge: u2,
|
|
658
|
+
badgeMedium: d2,
|
|
659
|
+
circular: _2,
|
|
660
|
+
badgeSmall: f2,
|
|
661
|
+
badgeExtraSmall: p2,
|
|
662
|
+
withSubcaption: b2,
|
|
663
|
+
subcaption: g2,
|
|
664
|
+
loader: v2,
|
|
665
|
+
spin: h2,
|
|
666
|
+
l: m2,
|
|
667
|
+
m: C2,
|
|
668
|
+
s: y2,
|
|
669
|
+
xs: x2
|
|
670
|
+
}, Xe = ({
|
|
671
|
+
isLoading: r,
|
|
672
|
+
showBadge: s,
|
|
673
|
+
badgeValue: a,
|
|
674
|
+
badgeSize: o,
|
|
676
675
|
icon: d,
|
|
677
676
|
children: i,
|
|
678
|
-
postfix:
|
|
679
|
-
showSubcaption:
|
|
677
|
+
postfix: _,
|
|
678
|
+
showSubcaption: f,
|
|
680
679
|
subcaption: c,
|
|
681
|
-
size:
|
|
680
|
+
size: h
|
|
682
681
|
}) => {
|
|
683
|
-
if (
|
|
684
|
-
return /* @__PURE__ */
|
|
685
|
-
const
|
|
686
|
-
return /* @__PURE__ */
|
|
687
|
-
|
|
682
|
+
if (r)
|
|
683
|
+
return /* @__PURE__ */ l.jsx("span", { className: R.loader, "data-testid": "button-loader", "aria-hidden": "true" });
|
|
684
|
+
const p = o === "extra-small", g = parseInt(String(a), 10), C = !isNaN(g) && g >= 0 && g <= 9;
|
|
685
|
+
return /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
686
|
+
s && (a || p) && /* @__PURE__ */ l.jsx(
|
|
688
687
|
"span",
|
|
689
688
|
{
|
|
690
689
|
"data-testid": "button-badge",
|
|
691
|
-
className:
|
|
690
|
+
className: ae(
|
|
692
691
|
R.badge,
|
|
693
|
-
R[`badge${
|
|
694
|
-
{ [R.circular]:
|
|
692
|
+
R[`badge${p ? "ExtraSmall" : o === "medium" ? "Medium" : "Small"}`],
|
|
693
|
+
{ [R.circular]: C && !p }
|
|
695
694
|
),
|
|
696
|
-
children: !
|
|
695
|
+
children: !p && a
|
|
697
696
|
}
|
|
698
697
|
),
|
|
699
|
-
|
|
700
|
-
/* @__PURE__ */
|
|
701
|
-
/* @__PURE__ */
|
|
702
|
-
] }) : i ? /* @__PURE__ */
|
|
703
|
-
/* @__PURE__ */
|
|
704
|
-
/* @__PURE__ */
|
|
705
|
-
d && /* @__PURE__ */
|
|
706
|
-
|
|
698
|
+
f && h !== "s" && h !== "xs" ? /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
699
|
+
/* @__PURE__ */ l.jsx("span", { "data-testid": "button-label", className: R.label, children: i }),
|
|
700
|
+
/* @__PURE__ */ l.jsx("span", { "data-testid": "button-subcaption", className: R.subcaption, children: c })
|
|
701
|
+
] }) : i ? /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
702
|
+
/* @__PURE__ */ l.jsx("span", { "data-testid": "button-label", className: R.label, children: i }),
|
|
703
|
+
/* @__PURE__ */ l.jsxs("div", { "data-testid": "button-right-group", className: R.rightGroup, children: [
|
|
704
|
+
d && /* @__PURE__ */ l.jsx("span", { "data-testid": "button-icon", className: R.icon, children: d }),
|
|
705
|
+
_ && /* @__PURE__ */ l.jsx("span", { "data-testid": "button-postfix", className: R.postfix, children: _ })
|
|
707
706
|
] })
|
|
708
|
-
] }) : /* @__PURE__ */
|
|
707
|
+
] }) : /* @__PURE__ */ l.jsx("span", { "data-testid": "button-icon", className: R.icon, children: d })
|
|
709
708
|
] });
|
|
710
|
-
},
|
|
709
|
+
}, Zr = H((r, s) => {
|
|
711
710
|
const {
|
|
712
|
-
mode:
|
|
713
|
-
size:
|
|
711
|
+
mode: a = "primary",
|
|
712
|
+
size: o = "m",
|
|
714
713
|
buttonStyle: d = "neutral",
|
|
715
714
|
loading: i = !1,
|
|
716
|
-
disabled:
|
|
717
|
-
showBadge:
|
|
715
|
+
disabled: _ = !1,
|
|
716
|
+
showBadge: f = !1,
|
|
718
717
|
badgeSize: c = "small",
|
|
719
|
-
badgeValue:
|
|
720
|
-
showSubcaption:
|
|
718
|
+
badgeValue: h,
|
|
719
|
+
showSubcaption: p = !1,
|
|
721
720
|
subcaption: g,
|
|
722
|
-
stretched:
|
|
723
|
-
spaceBetween:
|
|
724
|
-
icon:
|
|
725
|
-
postfix:
|
|
726
|
-
className:
|
|
727
|
-
children:
|
|
728
|
-
} =
|
|
721
|
+
stretched: C = !1,
|
|
722
|
+
spaceBetween: w = !1,
|
|
723
|
+
icon: $,
|
|
724
|
+
postfix: k,
|
|
725
|
+
className: L,
|
|
726
|
+
children: S
|
|
727
|
+
} = r, y = _, T = i, N = !y && !T, U = !!$ && !S, B = ae(
|
|
729
728
|
R.button,
|
|
730
|
-
R[
|
|
731
|
-
R[
|
|
729
|
+
R[o],
|
|
730
|
+
R[a],
|
|
732
731
|
R[d],
|
|
733
732
|
{
|
|
734
|
-
[R.disabled]:
|
|
735
|
-
[R.loading]:
|
|
736
|
-
[R.stretched]:
|
|
737
|
-
[R.spaceBetween]:
|
|
738
|
-
[R.withSubcaption]:
|
|
739
|
-
[R.iconOnly]:
|
|
733
|
+
[R.disabled]: y,
|
|
734
|
+
[R.loading]: T,
|
|
735
|
+
[R.stretched]: C,
|
|
736
|
+
[R.spaceBetween]: w && C,
|
|
737
|
+
[R.withSubcaption]: p && g && o !== "s" && o !== "xs",
|
|
738
|
+
[R.iconOnly]: U
|
|
740
739
|
},
|
|
741
|
-
|
|
742
|
-
),
|
|
743
|
-
isLoading:
|
|
744
|
-
showBadge:
|
|
745
|
-
badgeValue:
|
|
740
|
+
L
|
|
741
|
+
), F = {
|
|
742
|
+
isLoading: T,
|
|
743
|
+
showBadge: f,
|
|
744
|
+
badgeValue: h,
|
|
746
745
|
badgeSize: c,
|
|
747
|
-
icon:
|
|
748
|
-
children:
|
|
749
|
-
postfix:
|
|
750
|
-
showSubcaption:
|
|
746
|
+
icon: $,
|
|
747
|
+
children: S,
|
|
748
|
+
postfix: k,
|
|
749
|
+
showSubcaption: p,
|
|
751
750
|
subcaption: g,
|
|
752
|
-
size:
|
|
751
|
+
size: o
|
|
753
752
|
};
|
|
754
|
-
if (
|
|
753
|
+
if (zt(r)) {
|
|
755
754
|
const {
|
|
756
|
-
href:
|
|
757
|
-
onClick:
|
|
758
|
-
mode:
|
|
759
|
-
size:
|
|
760
|
-
buttonStyle:
|
|
755
|
+
href: z,
|
|
756
|
+
onClick: A,
|
|
757
|
+
mode: J,
|
|
758
|
+
size: K,
|
|
759
|
+
buttonStyle: G,
|
|
761
760
|
loading: I,
|
|
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
|
-
} =
|
|
779
|
-
|
|
761
|
+
disabled: V,
|
|
762
|
+
showBadge: Q,
|
|
763
|
+
badgeSize: _e,
|
|
764
|
+
badgeValue: fe,
|
|
765
|
+
showSubcaption: pe,
|
|
766
|
+
subcaption: be,
|
|
767
|
+
stretched: ge,
|
|
768
|
+
spaceBetween: ve,
|
|
769
|
+
icon: he,
|
|
770
|
+
postfix: me,
|
|
771
|
+
className: we,
|
|
772
|
+
tabIndex: Ee,
|
|
773
|
+
children: se,
|
|
774
|
+
"data-testid": X,
|
|
775
|
+
style: Y,
|
|
776
|
+
...ee
|
|
777
|
+
} = r, q = (ie) => {
|
|
778
|
+
N && A && A(ie);
|
|
780
779
|
};
|
|
781
|
-
return /* @__PURE__ */
|
|
780
|
+
return /* @__PURE__ */ l.jsx(
|
|
782
781
|
"a",
|
|
783
782
|
{
|
|
784
|
-
ref:
|
|
785
|
-
className:
|
|
786
|
-
href:
|
|
787
|
-
tabIndex:
|
|
788
|
-
onClick:
|
|
789
|
-
"data-testid":
|
|
790
|
-
"aria-disabled":
|
|
791
|
-
style:
|
|
792
|
-
...
|
|
793
|
-
children: /* @__PURE__ */
|
|
783
|
+
ref: s,
|
|
784
|
+
className: B,
|
|
785
|
+
href: N ? z : void 0,
|
|
786
|
+
tabIndex: r.tabIndex,
|
|
787
|
+
onClick: q,
|
|
788
|
+
"data-testid": X,
|
|
789
|
+
"aria-disabled": y || T,
|
|
790
|
+
style: Y,
|
|
791
|
+
...ee,
|
|
792
|
+
children: /* @__PURE__ */ l.jsx(Xe, { ...F })
|
|
794
793
|
}
|
|
795
794
|
);
|
|
796
795
|
}
|
|
797
|
-
if (
|
|
796
|
+
if (Vt(r)) {
|
|
798
797
|
const {
|
|
799
|
-
type:
|
|
800
|
-
onClick:
|
|
801
|
-
mode:
|
|
802
|
-
size:
|
|
803
|
-
buttonStyle:
|
|
798
|
+
type: z = "button",
|
|
799
|
+
onClick: A,
|
|
800
|
+
mode: J,
|
|
801
|
+
size: K,
|
|
802
|
+
buttonStyle: G,
|
|
804
803
|
loading: I,
|
|
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
|
-
} =
|
|
822
|
-
|
|
804
|
+
disabled: V,
|
|
805
|
+
showBadge: Q,
|
|
806
|
+
badgeSize: _e,
|
|
807
|
+
badgeValue: fe,
|
|
808
|
+
showSubcaption: pe,
|
|
809
|
+
subcaption: be,
|
|
810
|
+
stretched: ge,
|
|
811
|
+
spaceBetween: ve,
|
|
812
|
+
icon: he,
|
|
813
|
+
postfix: me,
|
|
814
|
+
className: we,
|
|
815
|
+
tabIndex: Ee,
|
|
816
|
+
children: se,
|
|
817
|
+
"data-testid": X,
|
|
818
|
+
style: Y,
|
|
819
|
+
...ee
|
|
820
|
+
} = r, q = (ie) => {
|
|
821
|
+
N && A && A(ie);
|
|
823
822
|
};
|
|
824
|
-
return /* @__PURE__ */
|
|
823
|
+
return /* @__PURE__ */ l.jsx(
|
|
825
824
|
"button",
|
|
826
825
|
{
|
|
827
|
-
ref:
|
|
828
|
-
type:
|
|
829
|
-
className:
|
|
830
|
-
disabled:
|
|
831
|
-
tabIndex:
|
|
832
|
-
onClick:
|
|
833
|
-
"data-testid":
|
|
834
|
-
"aria-disabled":
|
|
835
|
-
style:
|
|
836
|
-
...
|
|
837
|
-
children: /* @__PURE__ */
|
|
826
|
+
ref: s,
|
|
827
|
+
type: z,
|
|
828
|
+
className: B,
|
|
829
|
+
disabled: y,
|
|
830
|
+
tabIndex: r.tabIndex,
|
|
831
|
+
onClick: q,
|
|
832
|
+
"data-testid": X,
|
|
833
|
+
"aria-disabled": y || T,
|
|
834
|
+
style: Y,
|
|
835
|
+
...ee,
|
|
836
|
+
children: /* @__PURE__ */ l.jsx(Xe, { ...F })
|
|
838
837
|
}
|
|
839
838
|
);
|
|
840
839
|
}
|
|
841
840
|
return null;
|
|
842
841
|
});
|
|
843
|
-
var
|
|
842
|
+
var Te = { exports: {} };
|
|
844
843
|
/*!
|
|
845
844
|
Copyright (c) 2018 Jed Watson.
|
|
846
845
|
Licensed under the MIT License (MIT), see
|
|
847
846
|
http://jedwatson.github.io/classnames
|
|
848
847
|
*/
|
|
849
|
-
var
|
|
850
|
-
function
|
|
851
|
-
return
|
|
848
|
+
var et;
|
|
849
|
+
function w2() {
|
|
850
|
+
return et || (et = 1, function(r) {
|
|
852
851
|
(function() {
|
|
853
|
-
var
|
|
854
|
-
function
|
|
855
|
-
for (var i = "",
|
|
856
|
-
var
|
|
857
|
-
|
|
852
|
+
var s = {}.hasOwnProperty;
|
|
853
|
+
function a() {
|
|
854
|
+
for (var i = "", _ = 0; _ < arguments.length; _++) {
|
|
855
|
+
var f = arguments[_];
|
|
856
|
+
f && (i = d(i, o(f)));
|
|
858
857
|
}
|
|
859
858
|
return i;
|
|
860
859
|
}
|
|
861
|
-
function
|
|
860
|
+
function o(i) {
|
|
862
861
|
if (typeof i == "string" || typeof i == "number")
|
|
863
862
|
return i;
|
|
864
863
|
if (typeof i != "object")
|
|
865
864
|
return "";
|
|
866
865
|
if (Array.isArray(i))
|
|
867
|
-
return
|
|
866
|
+
return a.apply(null, i);
|
|
868
867
|
if (i.toString !== Object.prototype.toString && !i.toString.toString().includes("[native code]"))
|
|
869
868
|
return i.toString();
|
|
870
|
-
var
|
|
871
|
-
for (var
|
|
872
|
-
|
|
873
|
-
return
|
|
869
|
+
var _ = "";
|
|
870
|
+
for (var f in i)
|
|
871
|
+
s.call(i, f) && i[f] && (_ = d(_, f));
|
|
872
|
+
return _;
|
|
874
873
|
}
|
|
875
|
-
function d(i,
|
|
876
|
-
return
|
|
874
|
+
function d(i, _) {
|
|
875
|
+
return _ ? i ? i + " " + _ : i + _ : i;
|
|
877
876
|
}
|
|
878
|
-
|
|
877
|
+
r.exports ? (a.default = a, r.exports = a) : window.classNames = a;
|
|
879
878
|
})();
|
|
880
|
-
}(
|
|
879
|
+
}(Te)), Te.exports;
|
|
881
880
|
}
|
|
882
|
-
var
|
|
883
|
-
const
|
|
884
|
-
avatar:
|
|
885
|
-
clickable:
|
|
886
|
-
icon:
|
|
887
|
-
disabled:
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
"size-
|
|
892
|
-
"size-
|
|
893
|
-
"size-
|
|
894
|
-
"size-
|
|
895
|
-
"size-
|
|
896
|
-
"size-
|
|
897
|
-
"size-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
"
|
|
902
|
-
"color-
|
|
903
|
-
"color-
|
|
904
|
-
"color-
|
|
905
|
-
"color-
|
|
906
|
-
"color-
|
|
907
|
-
"color-
|
|
908
|
-
"color-
|
|
909
|
-
"color-
|
|
910
|
-
"color-
|
|
911
|
-
"
|
|
912
|
-
"variant-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
return t < it ? `+${t}` : `${it}+`;
|
|
881
|
+
var E2 = w2();
|
|
882
|
+
const Z = /* @__PURE__ */ Mt(E2), R2 = "_avatar_1ob17_4", S2 = "_clickable_1ob17_23", j2 = "_icon_1ob17_40", $2 = "_disabled_1ob17_45", k2 = "_image_1ob17_51", T2 = "_name_1ob17_51", O2 = "_circle_1ob17_160", P2 = "_square_1ob17_164", D = {
|
|
883
|
+
avatar: R2,
|
|
884
|
+
clickable: S2,
|
|
885
|
+
icon: j2,
|
|
886
|
+
disabled: $2,
|
|
887
|
+
image: k2,
|
|
888
|
+
name: T2,
|
|
889
|
+
"size-208": "_size-208_1ob17_104",
|
|
890
|
+
"size-96": "_size-96_1ob17_111",
|
|
891
|
+
"size-84": "_size-84_1ob17_118",
|
|
892
|
+
"size-56": "_size-56_1ob17_125",
|
|
893
|
+
"size-48": "_size-48_1ob17_132",
|
|
894
|
+
"size-40": "_size-40_1ob17_139",
|
|
895
|
+
"size-32": "_size-32_1ob17_146",
|
|
896
|
+
"size-24": "_size-24_1ob17_153",
|
|
897
|
+
circle: O2,
|
|
898
|
+
square: P2,
|
|
899
|
+
"variant-filled": "_variant-filled_1ob17_185",
|
|
900
|
+
"color-brand": "_color-brand_1ob17_190",
|
|
901
|
+
"color-red": "_color-red_1ob17_194",
|
|
902
|
+
"color-orange": "_color-orange_1ob17_198",
|
|
903
|
+
"color-yellow": "_color-yellow_1ob17_202",
|
|
904
|
+
"color-green": "_color-green_1ob17_206",
|
|
905
|
+
"color-blue": "_color-blue_1ob17_210",
|
|
906
|
+
"color-lightblue": "_color-lightblue_1ob17_214",
|
|
907
|
+
"color-purple": "_color-purple_1ob17_218",
|
|
908
|
+
"color-gray": "_color-gray_1ob17_222",
|
|
909
|
+
"color-contrast": "_color-contrast_1ob17_226",
|
|
910
|
+
"variant-light": "_variant-light_1ob17_232",
|
|
911
|
+
"variant-outline": "_variant-outline_1ob17_304"
|
|
912
|
+
}, tt = 99;
|
|
913
|
+
function L2(r) {
|
|
914
|
+
return r < tt ? `+${r}` : `${tt}+`;
|
|
917
915
|
}
|
|
918
|
-
function
|
|
919
|
-
const
|
|
920
|
-
let
|
|
921
|
-
for (let
|
|
922
|
-
const d =
|
|
923
|
-
|
|
916
|
+
function it(r) {
|
|
917
|
+
const s = typeof r == "string" ? r : JSON.stringify(r);
|
|
918
|
+
let a = 5381;
|
|
919
|
+
for (let o = 0; o < s.length; o++) {
|
|
920
|
+
const d = s.charCodeAt(o);
|
|
921
|
+
a = (a << 5) + a + d;
|
|
924
922
|
}
|
|
925
|
-
return
|
|
923
|
+
return a >>> 0;
|
|
926
924
|
}
|
|
927
|
-
const
|
|
925
|
+
const N2 = [
|
|
928
926
|
"red",
|
|
929
927
|
"orange",
|
|
930
928
|
"yellow",
|
|
@@ -933,202 +931,182 @@ const Fa = [
|
|
|
933
931
|
"lightblue",
|
|
934
932
|
"purple"
|
|
935
933
|
];
|
|
936
|
-
function
|
|
937
|
-
const
|
|
938
|
-
return o
|
|
934
|
+
function I2(r, s = N2) {
|
|
935
|
+
const a = it(r), o = Math.abs(a) % s.length;
|
|
936
|
+
return s[o];
|
|
939
937
|
}
|
|
940
|
-
const
|
|
941
|
-
function
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
return o.length === 1 ? t.slice(0, lt).toUpperCase() : o.map((r) => r[0]).slice(0, lt).join("").toUpperCase();
|
|
938
|
+
const rt = 2;
|
|
939
|
+
function A2(r) {
|
|
940
|
+
const s = r.split(" ");
|
|
941
|
+
return s.length === 1 ? r.slice(0, rt).toUpperCase() : s.map((a) => a[0]).slice(0, rt).join("").toUpperCase();
|
|
945
942
|
}
|
|
946
|
-
function
|
|
947
|
-
return
|
|
943
|
+
function M2(r, s) {
|
|
944
|
+
return s === "circle" ? r / 2 : r === 24 || r === 208 ? 8 : r === 32 || r === 40 || r === 48 ? 12 : r === 56 ? 16 : r === 84 || r === 96 ? 24 : 12;
|
|
948
945
|
}
|
|
949
|
-
const Ua = "data:image/svg+xml,%3csvg%20opacity='0.9'%20preserveAspectRatio='xMinYMin%20meet'%20viewBox='0%200%20208%20208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cdefs%3e%3cfilter%20id='shadowW'%20filterUnits='userSpaceOnUse'%3e%3cfeDropShadow%20dx='-2'%20dy='-1'%20stdDeviation='5'%20flood-color='rgba(0,0,0,0.5)'/%3e%3c/filter%3e%3c/defs%3e%3cg%20filter='url(%23shadowW)'%3e%3cpath%20d='M23.9835%20174.59L113.41%20157.735L225.224%20191.671C225.224%20191.671%20250.259%20479.463%20243.525%20478.31C236.655%20477.167%20-7.79434%20482.039%20-8.17876%20476.943C-8.56308%20471.849%20-34.4445%20341.701%20-34.4445%20341.701L23.9835%20174.59Z'%20fill='darkgrey'/%3e%3cpath%20d='M-54.5558%20212.781C-85.688%20282.842%20-94.2122%20303.839%20-94.2122%20303.839L-213.504%20213.002C-214.953%20197.465%20-218.637%20181.68%20-225.636%20167.806C-234.412%20150.606%20-246.154%20149.138%20-259.595%20136.166C-267.368%20128.583%20-275.073%20140.242%20-267.3%20147.825L-259.338%20156.087C-258.869%20160.482%20-255.518%20171.861%20-254.634%20176.226C-267.475%20165.702%20-284.704%20150.246%20-300.665%20144.25C-305.079%20142.644%20-308.958%20144.46%20-311.08%20147.528C-314.628%20148.211%20-317.292%20151.458%20-317.858%20154.963C-321.103%20157.839%20-322.625%20163.354%20-319.254%20167.67C-321.407%20170.323%20-322.376%20173.998%20-320.433%20177.728C-320.274%20177.993%20-320.127%20178.12%20-320.106%20178.395C-320.997%20179.432%20-319.498%20182.78%20-320.337%20184.506C-324.035%20192.401%20-309.357%20221.757%20-285.221%20235.167C-277.291%20250.355%20-262.477%20259.485%20-261.354%20259.677C-234.512%20290.608%20-141.301%20400.999%20-97.2451%20436.169C-47.2868%20476.158%20-12.9855%20418.735%2010.6424%20317.115C34.2598%20215.358%2037.6457%20181.315%2037.6457%20181.315L116.374%20158.482C14.4423%20160.079%20-23.2964%20142.572%20-54.5558%20212.781Z'%20fill='darkgrey'/%3e%3cpath%20d='M116.781%20158.313L114.885%20158.871L61.4974%20174.391L38.0516%20181.145C38.0516%20181.145%2034.6758%20215.325%2011.0481%20316.945C9.47097%20323.572%207.88344%20330.061%206.27525%20336.275C-22.5942%20315.191%20-52.217%20295.131%20-82.0946%20275.368C-75.9632%20261.197%20-67.1116%20240.867%20-54.4359%20212.493C-30.4015%20158.477%20-2.57835%20156.516%2055.793%20157.512C72.5674%20157.77%2091.7239%20158.403%20114.133%20158.096C114.98%20158.309%20115.807%20158.247%20116.781%20158.313Z'%20fill='darkgrey'/%3e%3cpath%20d='M113.269%20157.745C175.26%20159.023%20252.771%20143.897%20266.382%20199.504C279.867%20255.26%20288.576%20280.774%20295.899%20320.932C303.221%20361.091%20322.043%20408.689%20271.897%20417.595C221.75%20426.502%20106.238%20444.495%20106.238%20444.495L78.8767%20384.662C78.8767%20384.662%20170.648%20343.813%20200.242%20332.303L185.17%20211.448L113.269%20157.745Z'%20fill='darkgrey'/%3e%3cpath%20d='M292.122%20302.108C260.506%20305.187%20228.942%20308.953%20198.219%20316.533L185.178%20211.585L140.855%20178.374L114.874%20158.871L114.144%20158.372L113.266%20157.746C127.138%20158.084%20141.774%20157.534%20156.283%20157.131C206.726%20155.818%20255.78%20156.271%20266.252%20199.654C277.643%20246.012%20285.665%20271.578%20292.122%20302.108Z'%20fill='darkgrey'/%3e%3cpath%20d='M108.001%20172.269C119.623%20168.485%20130.939%20164.308%20142.395%20160.12L112.224%20101.608L68.8441%20124.959C69.7222%20125.585%2079.0944%20154.372%2086.547%20177.904C93.7406%20175.977%20100.965%20174.463%20108.001%20172.269Z'%20fill='white'/%3e%3cpath%20d='M99.3655%20112.96C99.0934%20111.18%2098.8213%20109.401%2098.2722%20107.642L68.9864%20125.083C69.5682%20125.455%2073.8492%20138.148%2078.7406%20153.426C89.4856%20141.676%2097.5757%20127.773%2099.3655%20112.96Z'%20fill='darkgrey'/%3e%3cpath%20d='M144.524%2069.1209C143.075%2053.5829%20118.601%2039.3668%2099.9856%2038.5556C91.9262%2038.1943%2089.5107%2031.8684%2086.0605%2037.5291C77.5782%2051.7392%2049.6837%2094.9694%2052.2654%20110.837C56.0862%20133.951%2084.5691%20137.063%20102.228%20127.008C120.022%20116.942%20146.6%2091.1195%20144.524%2069.1209Z'%20fill='white'/%3e%3cpath%20d='M145.753%2072.4915C147.93%2068.3116%20146.317%2063.4483%20142.804%2060.944C142.656%2060.8166%20142.656%2060.8166%20142.507%2060.6894C143.028%2052.8957%20136.915%2047.1257%20129.979%2046.9567C129.007%2045.0914%20127.379%2043.691%20125.24%2042.883C124.903%2042.0778%20124.575%2041.4101%20123.982%2040.9009C122.651%2039.7551%20121.095%2039.3187%20119.441%2039.4435C118.081%2036.0843%20115.925%2033.2005%20112.495%2031.7977C110.348%2030.8519%20108.027%2031.304%20106.311%2032.4027C102.006%2028.5734%2096.789%2025.5051%2091.8112%2025.6038C89.736%2025.6218%2085.678%2026.8973%2084.2724%2032.1268C82.1968%2032.1449%2080.3522%2033.3917%2079.5546%2035.6676C78.427%2039.0759%2080.339%2042.3935%2083.1109%2044.2613C84.719%2045.3863%2086.9841%2046.0462%2089.0391%2045.7526C95.9026%2052.2969%20114.028%2063.1149%20118.148%2062.6657C115.532%2070.202%20113.218%2087.2698%20122.007%2088.1299C124.21%2095.3028%20116.99%20107.894%20121.368%20112.688C129.639%20104.863%20137.246%2095.5655%20141.359%2085.8391C141.496%2085.8288%20141.772%2085.808%20142.047%2085.7872C148.14%2083.9429%20149.527%2076.6377%20145.753%2072.4915Z'%20fill='darkgrey'/%3e%3cpath%20d='M140.151%20104.76C141.594%2096.3432%20132.67%2086.3542%20121.049%2088.3387C116.251%2096.3166%20111.305%20104.167%20106.21%20111.89C109.317%20116.364%20118.141%20121.376%20125.535%20120.264C133.872%20118.804%20138.613%20113.738%20140.151%20104.76Z'%20fill='white'/%3e%3cpath%20d='M156.755%20156.883C153.217%20165.043%20147.805%20172.237%20141.188%20178.136C133.925%20184.639%20125.011%20189.465%20114.809%20191.896C95.2214%20196.558%2072.2825%20189.842%2061.6836%20174.164C58.5559%20169.414%2056.4778%20163.894%2056%20157.561C72.7744%20157.818%2091.9311%20158.451%20114.34%20158.144L113.462%20157.519C127.463%20157.709%20142.098%20157.159%20156.755%20156.883Z'%20fill='white'/%3e%3c/g%3e%3c/svg%3e", qa = "data:image/svg+xml,%3csvg%20viewBox='0%200%20208%20208'%20opacity='0.9'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23shadow)'%3e%3cpath%20filter='url(%23shadow)'%20d='M127.173%2079.8894C127.189%2079.1933%20128.026%2079.1201%20128.436%2079.4316C128.754%2079.6091%20128.895%2080.1021%20128.809%2080.5518C129.241%2083.1982%20129.581%2085.7106%20130.013%2088.357C136.835%2079.7558%20149.235%2076.9989%20158.979%2083.174C168.086%2088.9941%20171.001%20111.745%20135.501%20120.502C131.5%20123.502%20117%20125.002%20111.753%20103.279C111.682%2093.2427%20118.526%2084.529%20127.173%2079.8894Z'%20fill='darkgrey'/%3e%3cpath%20d='M28.0441%20167.788C21.826%20195.052%2018.7311%20223.361%2014.1881%20250.885C9.42226%20279.982%204.68042%20308.967%20-0.0853729%20338.064L-1.00047%20342.848C14.5039%20346.419%2030.8401%20350.407%2046.3671%20353.868C90.9428%20363.918%20134.837%20376.598%20179.293%20387.201C200.345%20337.142%20219.778%20286.027%20235.82%20234.041C243.806%20208.213%20244.758%20181.282%20225.443%20160.043C216.099%20149.841%20204.347%20143.858%20191.629%20140.212C188.924%20139.377%20186.108%20138.517%20183.355%20137.905C179.635%20136.959%20175.781%20136.1%20171.989%20135.487C167.45%20134.592%20162.753%20133.893%20158.277%20133.243L127.871%20128.671L116.251%20126.895C115.457%20126.833%20114.686%20126.662%20113.915%20126.49C102.87%20124.724%2091.7381%20122.824%2080.6188%20123.013C69.1682%20123.13%2056.9012%20125.964%2047.8363%20133.224C36.9821%20141.825%2031.1109%20154.087%2028.0441%20167.788Z'%20fill='darkgrey'/%3e%3cpath%20d='M103.74%20123.732L95.6984%20197.532C95.6984%20197.532%20137.13%20157.315%20158.742%20133.268C155.051%20132.316%20151.227%20131.449%20147.465%20130.831C142.962%20129.929%20138.302%20129.224%20133.861%20128.569L103.74%20123.732Z'%20fill='white'/%3e%3cpath%20d='M97.8143%20115.298C99.0227%20116.625%20108.229%20179.332%20108.229%20179.332L148.012%20142.157L129%20100L97.8143%20115.298Z'%20fill='white'/%3e%3cpath%20d='M101.71%20148.534C100.068%20137.868%2098.402%20127.706%2098.0001%20127.274L112.673%20122C113.831%20131.449%20108.467%20141.173%20101.71%20148.534Z'%20fill='grey'/%3e%3cpath%20d='M121.545%2040.7383C111.161%2030.599%2085.3871%2035.4814%2071.93%2046.2862C66.0912%2051.0172%2060.5415%2047.9025%2061.6427%2054.0842C64.3767%2069.3597%2074.0239%20120.283%2082.7631%20126.794C100.374%20139.728%20121.191%20125.699%20127.329%20107.658C133.554%2089.7517%20136.293%2055.2372%20121.545%2040.7383Z'%20fill='white'/%3e%3cpath%20d='M56.0176%2041.9837C61.9834%2036.7831%2074.9427%2037.4243%2081.3074%2039.639C95.1733%2033.9235%20112.672%2032.6801%20120.968%2040.1438C131.22%2049.4771%20133.446%2067.5345%20132.042%2083.8281C125.848%2083.0025%20122.779%2078.6471%20116.718%2075.0286C97.7466%2073.2611%2084.9353%2061.0313%2082.042%2054.2301C78.3492%2058.2067%2063.3398%2059.3993%2058.12%2055.1646C51.1278%2048.7596%2054.1283%2043.6248%2056.0176%2041.9837Z'%20fill='darkgrey'/%3e%3cpath%20d='M142.838%2074.8316C138.561%2067.841%20123.674%2066.785%20116.5%2075.5006C118.078%2084.3219%20121.503%2092.5524%20122.726%20101.41C127.77%20102.657%20137.388%20100.869%20141.908%2095.386C147.168%2089.1414%20147.462%2082.3637%20142.838%2074.8316Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='shadow'%3e%3cfeDropShadow%20dx='0'%20dy='0'%20stdDeviation='3'%20flood-color='rgba(0,0,0,0.3)'/%3e%3c/filter%3e%3c/defs%3e%3c/svg%3e", Ga = "data:image/svg+xml,%3csvg%20opacity='0.9'%20viewBox='0%200%20208%20208'%20fill='currentColor'%20xmlns='http://www.w3.org/2000/svg'%3e%3cdefs%3e%3cmask%20id='hole'%3e%3crect%20width='100%25'%20height='100%25'%20fill='white'/%3e%3ccircle%20cx='121.333'%20cy='121.333'%20r='52'%20fill='black'/%3e%3c/mask%3e%3cfilter%20id='shadow'%3e%3cfeDropShadow%20dx='-2'%20dy='-1'%20stdDeviation='10'%20flood-color='rgba(0,0,0,0.2)'/%3e%3c/filter%3e%3c/defs%3e%3cg%20filter='url(%23shadow)'%3e%3ccircle%20cx='104'%20cy='225.333'%20r='95.3333'%20fill='darkgray'/%3e%3ccircle%20cx='104'%20cy='225.333'%20r='95.3333'%20fill='white'%20mask='url(%23hole)'/%3e%3ccircle%20cx='104'%20cy='86.6666'%20r='52'%20fill='white'/%3e%3c/g%3e%3c/svg%3e", Ya = "data:image/svg+xml,%3csvg%20opacity='0.9'%20viewBox='0%200%20208%20208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23shadow)'%3e%3cpath%20d='M168%20208V118.053C168%20113.824%20165.34%20110.052%20161.356%20108.633L134%2098.885V208H168Z'%20fill='darkgrey'/%3e%3cpath%20d='M40%2072.3726C40%2070.7381%2040.9944%2069.268%2042.5116%2068.6598L111.951%2040.8215C113.226%2040.3102%20114.675%2040.4893%20115.787%2041.2958L129.87%2051.5056C132.464%2053.3866%20134%2056.397%20134%2059.6017V208H40V72.3726Z'%20fill='white'/%3e%3cpath%20d='M114%2047.5001L126.325%2056.3036C127.376%2057.0544%20128%2058.2667%20128%2059.5585V208H114V47.5001Z'%20fill='darkgrey'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='shadow'%3e%3cfeDropShadow%20dx='-2'%20dy='-1'%20stdDeviation='7'%20flood-color='rgba(0,0,0,0.2)'/%3e%3c/filter%3e%3c/defs%3e%3c/svg%3e", Ha = {
|
|
950
|
-
male:
|
|
951
|
-
female:
|
|
952
|
-
org:
|
|
953
|
-
neutral:
|
|
954
|
-
},
|
|
946
|
+
const D2 = "data:image/svg+xml,%3csvg%20opacity='0.9'%20preserveAspectRatio='xMinYMin%20meet'%20viewBox='0%200%20208%20208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cdefs%3e%3cfilter%20id='shadowW'%20filterUnits='userSpaceOnUse'%3e%3cfeDropShadow%20dx='-2'%20dy='-1'%20stdDeviation='5'%20flood-color='rgba(0,0,0,0.5)'/%3e%3c/filter%3e%3c/defs%3e%3cg%20filter='url(%23shadowW)'%3e%3cpath%20d='M23.9835%20174.59L113.41%20157.735L225.224%20191.671C225.224%20191.671%20250.259%20479.463%20243.525%20478.31C236.655%20477.167%20-7.79434%20482.039%20-8.17876%20476.943C-8.56308%20471.849%20-34.4445%20341.701%20-34.4445%20341.701L23.9835%20174.59Z'%20fill='darkgrey'/%3e%3cpath%20d='M-54.5558%20212.781C-85.688%20282.842%20-94.2122%20303.839%20-94.2122%20303.839L-213.504%20213.002C-214.953%20197.465%20-218.637%20181.68%20-225.636%20167.806C-234.412%20150.606%20-246.154%20149.138%20-259.595%20136.166C-267.368%20128.583%20-275.073%20140.242%20-267.3%20147.825L-259.338%20156.087C-258.869%20160.482%20-255.518%20171.861%20-254.634%20176.226C-267.475%20165.702%20-284.704%20150.246%20-300.665%20144.25C-305.079%20142.644%20-308.958%20144.46%20-311.08%20147.528C-314.628%20148.211%20-317.292%20151.458%20-317.858%20154.963C-321.103%20157.839%20-322.625%20163.354%20-319.254%20167.67C-321.407%20170.323%20-322.376%20173.998%20-320.433%20177.728C-320.274%20177.993%20-320.127%20178.12%20-320.106%20178.395C-320.997%20179.432%20-319.498%20182.78%20-320.337%20184.506C-324.035%20192.401%20-309.357%20221.757%20-285.221%20235.167C-277.291%20250.355%20-262.477%20259.485%20-261.354%20259.677C-234.512%20290.608%20-141.301%20400.999%20-97.2451%20436.169C-47.2868%20476.158%20-12.9855%20418.735%2010.6424%20317.115C34.2598%20215.358%2037.6457%20181.315%2037.6457%20181.315L116.374%20158.482C14.4423%20160.079%20-23.2964%20142.572%20-54.5558%20212.781Z'%20fill='darkgrey'/%3e%3cpath%20d='M116.781%20158.313L114.885%20158.871L61.4974%20174.391L38.0516%20181.145C38.0516%20181.145%2034.6758%20215.325%2011.0481%20316.945C9.47097%20323.572%207.88344%20330.061%206.27525%20336.275C-22.5942%20315.191%20-52.217%20295.131%20-82.0946%20275.368C-75.9632%20261.197%20-67.1116%20240.867%20-54.4359%20212.493C-30.4015%20158.477%20-2.57835%20156.516%2055.793%20157.512C72.5674%20157.77%2091.7239%20158.403%20114.133%20158.096C114.98%20158.309%20115.807%20158.247%20116.781%20158.313Z'%20fill='darkgrey'/%3e%3cpath%20d='M113.269%20157.745C175.26%20159.023%20252.771%20143.897%20266.382%20199.504C279.867%20255.26%20288.576%20280.774%20295.899%20320.932C303.221%20361.091%20322.043%20408.689%20271.897%20417.595C221.75%20426.502%20106.238%20444.495%20106.238%20444.495L78.8767%20384.662C78.8767%20384.662%20170.648%20343.813%20200.242%20332.303L185.17%20211.448L113.269%20157.745Z'%20fill='darkgrey'/%3e%3cpath%20d='M292.122%20302.108C260.506%20305.187%20228.942%20308.953%20198.219%20316.533L185.178%20211.585L140.855%20178.374L114.874%20158.871L114.144%20158.372L113.266%20157.746C127.138%20158.084%20141.774%20157.534%20156.283%20157.131C206.726%20155.818%20255.78%20156.271%20266.252%20199.654C277.643%20246.012%20285.665%20271.578%20292.122%20302.108Z'%20fill='darkgrey'/%3e%3cpath%20d='M108.001%20172.269C119.623%20168.485%20130.939%20164.308%20142.395%20160.12L112.224%20101.608L68.8441%20124.959C69.7222%20125.585%2079.0944%20154.372%2086.547%20177.904C93.7406%20175.977%20100.965%20174.463%20108.001%20172.269Z'%20fill='white'/%3e%3cpath%20d='M99.3655%20112.96C99.0934%20111.18%2098.8213%20109.401%2098.2722%20107.642L68.9864%20125.083C69.5682%20125.455%2073.8492%20138.148%2078.7406%20153.426C89.4856%20141.676%2097.5757%20127.773%2099.3655%20112.96Z'%20fill='darkgrey'/%3e%3cpath%20d='M144.524%2069.1209C143.075%2053.5829%20118.601%2039.3668%2099.9856%2038.5556C91.9262%2038.1943%2089.5107%2031.8684%2086.0605%2037.5291C77.5782%2051.7392%2049.6837%2094.9694%2052.2654%20110.837C56.0862%20133.951%2084.5691%20137.063%20102.228%20127.008C120.022%20116.942%20146.6%2091.1195%20144.524%2069.1209Z'%20fill='white'/%3e%3cpath%20d='M145.753%2072.4915C147.93%2068.3116%20146.317%2063.4483%20142.804%2060.944C142.656%2060.8166%20142.656%2060.8166%20142.507%2060.6894C143.028%2052.8957%20136.915%2047.1257%20129.979%2046.9567C129.007%2045.0914%20127.379%2043.691%20125.24%2042.883C124.903%2042.0778%20124.575%2041.4101%20123.982%2040.9009C122.651%2039.7551%20121.095%2039.3187%20119.441%2039.4435C118.081%2036.0843%20115.925%2033.2005%20112.495%2031.7977C110.348%2030.8519%20108.027%2031.304%20106.311%2032.4027C102.006%2028.5734%2096.789%2025.5051%2091.8112%2025.6038C89.736%2025.6218%2085.678%2026.8973%2084.2724%2032.1268C82.1968%2032.1449%2080.3522%2033.3917%2079.5546%2035.6676C78.427%2039.0759%2080.339%2042.3935%2083.1109%2044.2613C84.719%2045.3863%2086.9841%2046.0462%2089.0391%2045.7526C95.9026%2052.2969%20114.028%2063.1149%20118.148%2062.6657C115.532%2070.202%20113.218%2087.2698%20122.007%2088.1299C124.21%2095.3028%20116.99%20107.894%20121.368%20112.688C129.639%20104.863%20137.246%2095.5655%20141.359%2085.8391C141.496%2085.8288%20141.772%2085.808%20142.047%2085.7872C148.14%2083.9429%20149.527%2076.6377%20145.753%2072.4915Z'%20fill='darkgrey'/%3e%3cpath%20d='M140.151%20104.76C141.594%2096.3432%20132.67%2086.3542%20121.049%2088.3387C116.251%2096.3166%20111.305%20104.167%20106.21%20111.89C109.317%20116.364%20118.141%20121.376%20125.535%20120.264C133.872%20118.804%20138.613%20113.738%20140.151%20104.76Z'%20fill='white'/%3e%3cpath%20d='M156.755%20156.883C153.217%20165.043%20147.805%20172.237%20141.188%20178.136C133.925%20184.639%20125.011%20189.465%20114.809%20191.896C95.2214%20196.558%2072.2825%20189.842%2061.6836%20174.164C58.5559%20169.414%2056.4778%20163.894%2056%20157.561C72.7744%20157.818%2091.9311%20158.451%20114.34%20158.144L113.462%20157.519C127.463%20157.709%20142.098%20157.159%20156.755%20156.883Z'%20fill='white'/%3e%3c/g%3e%3c/svg%3e", B2 = "data:image/svg+xml,%3csvg%20viewBox='0%200%20208%20208'%20opacity='0.9'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23shadow)'%3e%3cpath%20filter='url(%23shadow)'%20d='M127.173%2079.8894C127.189%2079.1933%20128.026%2079.1201%20128.436%2079.4316C128.754%2079.6091%20128.895%2080.1021%20128.809%2080.5518C129.241%2083.1982%20129.581%2085.7106%20130.013%2088.357C136.835%2079.7558%20149.235%2076.9989%20158.979%2083.174C168.086%2088.9941%20171.001%20111.745%20135.501%20120.502C131.5%20123.502%20117%20125.002%20111.753%20103.279C111.682%2093.2427%20118.526%2084.529%20127.173%2079.8894Z'%20fill='darkgrey'/%3e%3cpath%20d='M28.0441%20167.788C21.826%20195.052%2018.7311%20223.361%2014.1881%20250.885C9.42226%20279.982%204.68042%20308.967%20-0.0853729%20338.064L-1.00047%20342.848C14.5039%20346.419%2030.8401%20350.407%2046.3671%20353.868C90.9428%20363.918%20134.837%20376.598%20179.293%20387.201C200.345%20337.142%20219.778%20286.027%20235.82%20234.041C243.806%20208.213%20244.758%20181.282%20225.443%20160.043C216.099%20149.841%20204.347%20143.858%20191.629%20140.212C188.924%20139.377%20186.108%20138.517%20183.355%20137.905C179.635%20136.959%20175.781%20136.1%20171.989%20135.487C167.45%20134.592%20162.753%20133.893%20158.277%20133.243L127.871%20128.671L116.251%20126.895C115.457%20126.833%20114.686%20126.662%20113.915%20126.49C102.87%20124.724%2091.7381%20122.824%2080.6188%20123.013C69.1682%20123.13%2056.9012%20125.964%2047.8363%20133.224C36.9821%20141.825%2031.1109%20154.087%2028.0441%20167.788Z'%20fill='darkgrey'/%3e%3cpath%20d='M103.74%20123.732L95.6984%20197.532C95.6984%20197.532%20137.13%20157.315%20158.742%20133.268C155.051%20132.316%20151.227%20131.449%20147.465%20130.831C142.962%20129.929%20138.302%20129.224%20133.861%20128.569L103.74%20123.732Z'%20fill='white'/%3e%3cpath%20d='M97.8143%20115.298C99.0227%20116.625%20108.229%20179.332%20108.229%20179.332L148.012%20142.157L129%20100L97.8143%20115.298Z'%20fill='white'/%3e%3cpath%20d='M101.71%20148.534C100.068%20137.868%2098.402%20127.706%2098.0001%20127.274L112.673%20122C113.831%20131.449%20108.467%20141.173%20101.71%20148.534Z'%20fill='grey'/%3e%3cpath%20d='M121.545%2040.7383C111.161%2030.599%2085.3871%2035.4814%2071.93%2046.2862C66.0912%2051.0172%2060.5415%2047.9025%2061.6427%2054.0842C64.3767%2069.3597%2074.0239%20120.283%2082.7631%20126.794C100.374%20139.728%20121.191%20125.699%20127.329%20107.658C133.554%2089.7517%20136.293%2055.2372%20121.545%2040.7383Z'%20fill='white'/%3e%3cpath%20d='M56.0176%2041.9837C61.9834%2036.7831%2074.9427%2037.4243%2081.3074%2039.639C95.1733%2033.9235%20112.672%2032.6801%20120.968%2040.1438C131.22%2049.4771%20133.446%2067.5345%20132.042%2083.8281C125.848%2083.0025%20122.779%2078.6471%20116.718%2075.0286C97.7466%2073.2611%2084.9353%2061.0313%2082.042%2054.2301C78.3492%2058.2067%2063.3398%2059.3993%2058.12%2055.1646C51.1278%2048.7596%2054.1283%2043.6248%2056.0176%2041.9837Z'%20fill='darkgrey'/%3e%3cpath%20d='M142.838%2074.8316C138.561%2067.841%20123.674%2066.785%20116.5%2075.5006C118.078%2084.3219%20121.503%2092.5524%20122.726%20101.41C127.77%20102.657%20137.388%20100.869%20141.908%2095.386C147.168%2089.1414%20147.462%2082.3637%20142.838%2074.8316Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='shadow'%3e%3cfeDropShadow%20dx='0'%20dy='0'%20stdDeviation='3'%20flood-color='rgba(0,0,0,0.3)'/%3e%3c/filter%3e%3c/defs%3e%3c/svg%3e", F2 = "data:image/svg+xml,%3csvg%20opacity='0.9'%20viewBox='0%200%20208%20208'%20fill='currentColor'%20xmlns='http://www.w3.org/2000/svg'%3e%3cdefs%3e%3cmask%20id='hole'%3e%3crect%20width='100%25'%20height='100%25'%20fill='white'/%3e%3ccircle%20cx='121.333'%20cy='121.333'%20r='52'%20fill='black'/%3e%3c/mask%3e%3cfilter%20id='shadow'%3e%3cfeDropShadow%20dx='-2'%20dy='-1'%20stdDeviation='10'%20flood-color='rgba(0,0,0,0.2)'/%3e%3c/filter%3e%3c/defs%3e%3cg%20filter='url(%23shadow)'%3e%3ccircle%20cx='104'%20cy='225.333'%20r='95.3333'%20fill='darkgray'/%3e%3ccircle%20cx='104'%20cy='225.333'%20r='95.3333'%20fill='white'%20mask='url(%23hole)'/%3e%3ccircle%20cx='104'%20cy='86.6666'%20r='52'%20fill='white'/%3e%3c/g%3e%3c/svg%3e", z2 = "data:image/svg+xml,%3csvg%20opacity='0.9'%20viewBox='0%200%20208%20208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23shadow)'%3e%3cpath%20d='M168%20208V118.053C168%20113.824%20165.34%20110.052%20161.356%20108.633L134%2098.885V208H168Z'%20fill='darkgrey'/%3e%3cpath%20d='M40%2072.3726C40%2070.7381%2040.9944%2069.268%2042.5116%2068.6598L111.951%2040.8215C113.226%2040.3102%20114.675%2040.4893%20115.787%2041.2958L129.87%2051.5056C132.464%2053.3866%20134%2056.397%20134%2059.6017V208H40V72.3726Z'%20fill='white'/%3e%3cpath%20d='M114%2047.5001L126.325%2056.3036C127.376%2057.0544%20128%2058.2667%20128%2059.5585V208H114V47.5001Z'%20fill='darkgrey'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='shadow'%3e%3cfeDropShadow%20dx='-2'%20dy='-1'%20stdDeviation='7'%20flood-color='rgba(0,0,0,0.2)'/%3e%3c/filter%3e%3c/defs%3e%3c/svg%3e", V2 = {
|
|
947
|
+
male: D2,
|
|
948
|
+
female: B2,
|
|
949
|
+
org: z2,
|
|
950
|
+
neutral: F2
|
|
951
|
+
}, Pe = H((r, s) => {
|
|
955
952
|
const {
|
|
956
|
-
style:
|
|
957
|
-
size:
|
|
953
|
+
style: a,
|
|
954
|
+
size: o = 40,
|
|
958
955
|
isLoading: d = !1,
|
|
959
956
|
isDisabled: i = !1,
|
|
960
|
-
shape:
|
|
961
|
-
variant:
|
|
957
|
+
shape: _ = "circle",
|
|
958
|
+
variant: f = "light",
|
|
962
959
|
placeholderType: c = "neutral",
|
|
963
|
-
name:
|
|
964
|
-
imgSrc:
|
|
960
|
+
name: h = "",
|
|
961
|
+
imgSrc: p,
|
|
965
962
|
imgAlt: g = "",
|
|
966
|
-
icon:
|
|
967
|
-
imgProps:
|
|
968
|
-
colorScheme:
|
|
969
|
-
"data-testid":
|
|
970
|
-
...
|
|
971
|
-
} =
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
V[u],
|
|
978
|
-
V[`size-${n}`],
|
|
979
|
-
V[`variant-${_}`],
|
|
980
|
-
V[`color-${W}`],
|
|
963
|
+
icon: C,
|
|
964
|
+
imgProps: w,
|
|
965
|
+
colorScheme: $,
|
|
966
|
+
"data-testid": k,
|
|
967
|
+
...L
|
|
968
|
+
} = r, { onClick: S, onPointerDown: y } = L, N = !i && !d && (!!S || !!y), [U, B] = Le(!p), F = p && !U ? "image" : C ? "icon" : h ? "name" : "placeholder", z = F === "name" ? $ || I2(h) : $ || "gray", A = Z(
|
|
969
|
+
D.avatar,
|
|
970
|
+
D[_],
|
|
971
|
+
D[`size-${o}`],
|
|
972
|
+
D[`variant-${f}`],
|
|
973
|
+
D[`color-${z}`],
|
|
981
974
|
{
|
|
982
|
-
[
|
|
983
|
-
[
|
|
984
|
-
[
|
|
975
|
+
[D.disabled]: i,
|
|
976
|
+
[D.loading]: d,
|
|
977
|
+
[D.clickable]: N
|
|
985
978
|
}
|
|
986
|
-
),
|
|
987
|
-
icon: () => /* @__PURE__ */
|
|
988
|
-
name: () => /* @__PURE__ */
|
|
979
|
+
), J = {
|
|
980
|
+
icon: () => /* @__PURE__ */ l.jsx("span", { "data-testid": "avatar-icon", title: g, role: "img", className: Z(D.icon), children: C == null ? void 0 : C({}) }),
|
|
981
|
+
name: () => /* @__PURE__ */ l.jsx(
|
|
989
982
|
"span",
|
|
990
983
|
{
|
|
991
984
|
role: "textbox",
|
|
992
985
|
"data-testid": "avatar-name",
|
|
993
|
-
className:
|
|
986
|
+
className: Z(D.name),
|
|
994
987
|
title: g,
|
|
995
|
-
children:
|
|
988
|
+
children: A2(h)
|
|
996
989
|
}
|
|
997
990
|
),
|
|
998
|
-
placeholder: () => /* @__PURE__ */
|
|
991
|
+
placeholder: () => /* @__PURE__ */ l.jsx(
|
|
999
992
|
"img",
|
|
1000
993
|
{
|
|
1001
|
-
...
|
|
994
|
+
...w,
|
|
1002
995
|
"data-testid": "avatar-placeholder",
|
|
1003
|
-
className:
|
|
1004
|
-
src:
|
|
996
|
+
className: D.image,
|
|
997
|
+
src: V2[c],
|
|
1005
998
|
alt: g
|
|
1006
999
|
}
|
|
1007
1000
|
),
|
|
1008
|
-
image: () => /* @__PURE__ */
|
|
1001
|
+
image: () => /* @__PURE__ */ l.jsx(
|
|
1009
1002
|
"img",
|
|
1010
1003
|
{
|
|
1011
1004
|
"data-testid": "avatar-image",
|
|
1012
|
-
...
|
|
1013
|
-
className:
|
|
1014
|
-
src:
|
|
1005
|
+
...w,
|
|
1006
|
+
className: D.image,
|
|
1007
|
+
src: p,
|
|
1015
1008
|
alt: g,
|
|
1016
|
-
onLoad: () =>
|
|
1017
|
-
onError: (
|
|
1009
|
+
onLoad: () => B(!1),
|
|
1010
|
+
onError: (G) => {
|
|
1018
1011
|
var I;
|
|
1019
|
-
|
|
1012
|
+
B(!0), (I = w == null ? void 0 : w.onError) == null || I.call(w, G);
|
|
1020
1013
|
}
|
|
1021
1014
|
}
|
|
1022
1015
|
)
|
|
1023
|
-
},
|
|
1024
|
-
|
|
1016
|
+
}, K = (G) => {
|
|
1017
|
+
N && (S == null || S(G));
|
|
1025
1018
|
};
|
|
1026
|
-
return /* @__PURE__ */
|
|
1019
|
+
return /* @__PURE__ */ l.jsx(
|
|
1027
1020
|
"div",
|
|
1028
1021
|
{
|
|
1029
|
-
ref:
|
|
1030
|
-
onClick:
|
|
1031
|
-
className:
|
|
1032
|
-
style:
|
|
1033
|
-
"data-testid":
|
|
1022
|
+
ref: s,
|
|
1023
|
+
onClick: K,
|
|
1024
|
+
className: A,
|
|
1025
|
+
style: a,
|
|
1026
|
+
"data-testid": k,
|
|
1034
1027
|
"aria-disabled": i || d,
|
|
1035
|
-
children:
|
|
1028
|
+
children: J[F](null)
|
|
1036
1029
|
}
|
|
1037
1030
|
);
|
|
1038
|
-
}),
|
|
1039
|
-
avatarGroup:
|
|
1031
|
+
}), W2 = "_avatarGroup_157g4_1", Z2 = {
|
|
1032
|
+
avatarGroup: W2
|
|
1040
1033
|
};
|
|
1041
|
-
let
|
|
1042
|
-
function
|
|
1043
|
-
const
|
|
1044
|
-
`M${
|
|
1045
|
-
`L${
|
|
1034
|
+
let U2 = (r = 21) => crypto.getRandomValues(new Uint8Array(r)).reduce((s, a) => (a &= 63, a < 36 ? s += a.toString(36) : a < 62 ? s += (a - 26).toString(36).toUpperCase() : a > 62 ? s += "-" : s += "_", s), "");
|
|
1035
|
+
function G2(r, s, a, o, d, i, _) {
|
|
1036
|
+
const f = Math.min(d, i) / 2, c = Math.min(_, f), h = ["M0,0", `H${r}`, `V${s}`, "H0", "V0", "Z"].join(" "), p = [
|
|
1037
|
+
`M${a + c},${o}`,
|
|
1038
|
+
`L${a + d - c},${o}`,
|
|
1046
1039
|
// Верхний правый угол
|
|
1047
|
-
`A${c},${c} 0 0 1 ${
|
|
1048
|
-
`L${
|
|
1040
|
+
`A${c},${c} 0 0 1 ${a + d},${o + c}`,
|
|
1041
|
+
`L${a + d},${o + i - c}`,
|
|
1049
1042
|
// Нижний правый угол
|
|
1050
|
-
`A${c},${c} 0 0 1 ${
|
|
1051
|
-
`L${
|
|
1043
|
+
`A${c},${c} 0 0 1 ${a + d - c},${o + i}`,
|
|
1044
|
+
`L${a + c},${o + i}`,
|
|
1052
1045
|
// Нижний левый угол
|
|
1053
|
-
`A${c},${c} 0 0 1 ${
|
|
1054
|
-
`L${
|
|
1046
|
+
`A${c},${c} 0 0 1 ${a},${o + i - c}`,
|
|
1047
|
+
`L${a},${o + c}`,
|
|
1055
1048
|
// Верхний левый угол
|
|
1056
|
-
`A${c},${c} 0 0 1 ${
|
|
1049
|
+
`A${c},${c} 0 0 1 ${a + c},${o}`,
|
|
1057
1050
|
"Z"
|
|
1058
1051
|
].join(" ");
|
|
1059
|
-
return `${
|
|
1052
|
+
return `${h} ${p}`;
|
|
1060
1053
|
}
|
|
1061
|
-
const
|
|
1054
|
+
const Y2 = 2, q2 = (r) => {
|
|
1062
1055
|
const {
|
|
1063
|
-
avatars:
|
|
1064
|
-
overflowCount:
|
|
1065
|
-
size:
|
|
1056
|
+
avatars: s = [],
|
|
1057
|
+
overflowCount: a = 0,
|
|
1058
|
+
size: o = 40,
|
|
1066
1059
|
overlap: d = 0.3,
|
|
1067
1060
|
shape: i = "circle",
|
|
1068
|
-
overflowOnClick:
|
|
1069
|
-
} =
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1061
|
+
overflowOnClick: _
|
|
1062
|
+
} = r, f = o * d, c = -f + Y2, h = M2(o, i), g = ot(U2()).current.toString(), C = Z(Z2.avatarGroup), w = G2(
|
|
1063
|
+
o,
|
|
1064
|
+
o,
|
|
1065
|
+
o - f,
|
|
1073
1066
|
// X-координата начала выреза
|
|
1074
1067
|
0,
|
|
1075
1068
|
// Y-координата начала выреза
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1069
|
+
o,
|
|
1070
|
+
o,
|
|
1071
|
+
h
|
|
1079
1072
|
);
|
|
1080
|
-
return
|
|
1081
|
-
|
|
1082
|
-
const
|
|
1083
|
-
|
|
1084
|
-
const C = E.wrapper;
|
|
1085
|
-
return /* @__PURE__ */ s.jsx(
|
|
1086
|
-
"div",
|
|
1087
|
-
{
|
|
1088
|
-
style: {
|
|
1089
|
-
// Для последнего видимого аватара без overflowCount не применяем обрезку
|
|
1090
|
-
clipPath: w && !r ? void 0 : `url(#${g})`,
|
|
1091
|
-
marginRight: c
|
|
1092
|
-
},
|
|
1093
|
-
children: /* @__PURE__ */ s.jsx(C, { children: /* @__PURE__ */ s.jsx(Ee, { size: n, shape: i, ...E }) })
|
|
1094
|
-
},
|
|
1095
|
-
Me(E) + S
|
|
1096
|
-
);
|
|
1097
|
-
}
|
|
1098
|
-
return /* @__PURE__ */ s.jsx(
|
|
1073
|
+
return s.length === 0 ? null : /* @__PURE__ */ l.jsxs("div", { className: C, children: [
|
|
1074
|
+
s.map(($, k, L) => {
|
|
1075
|
+
const S = k + 1 >= L.length;
|
|
1076
|
+
return /* @__PURE__ */ l.jsx(
|
|
1099
1077
|
"div",
|
|
1100
1078
|
{
|
|
1101
1079
|
style: {
|
|
1102
1080
|
// Для последнего видимого аватара без overflowCount не применяем обрезку
|
|
1103
|
-
clipPath:
|
|
1081
|
+
clipPath: S && !a ? void 0 : `url(#${g})`,
|
|
1104
1082
|
marginRight: c
|
|
1105
1083
|
},
|
|
1106
|
-
children: /* @__PURE__ */
|
|
1084
|
+
children: /* @__PURE__ */ l.jsx(Pe, { size: o, shape: i, ...$ })
|
|
1107
1085
|
},
|
|
1108
|
-
|
|
1086
|
+
it($) + k
|
|
1109
1087
|
);
|
|
1110
1088
|
}),
|
|
1111
|
-
|
|
1112
|
-
|
|
1089
|
+
a > 0 && /* @__PURE__ */ l.jsx("div", { style: { marginRight: c }, children: /* @__PURE__ */ l.jsx(
|
|
1090
|
+
Pe,
|
|
1113
1091
|
{
|
|
1114
|
-
size:
|
|
1092
|
+
size: o,
|
|
1115
1093
|
shape: i,
|
|
1116
|
-
onClick:
|
|
1117
|
-
icon: () =>
|
|
1094
|
+
onClick: _,
|
|
1095
|
+
icon: () => L2(a),
|
|
1118
1096
|
colorScheme: "gray"
|
|
1119
1097
|
}
|
|
1120
1098
|
) }),
|
|
1121
|
-
/* @__PURE__ */
|
|
1099
|
+
/* @__PURE__ */ l.jsx("svg", { width: "0", height: "0", children: /* @__PURE__ */ l.jsx("clipPath", { id: `${g}`, children: /* @__PURE__ */ l.jsx("path", { clipPathUnits: "objectBoundingBox", d: w, clipRule: "evenodd" }) }) })
|
|
1122
1100
|
] });
|
|
1123
|
-
},
|
|
1124
|
-
Group:
|
|
1125
|
-
}),
|
|
1126
|
-
wrapper:
|
|
1127
|
-
badge__container:
|
|
1128
|
-
badge__content:
|
|
1129
|
-
interactive:
|
|
1130
|
-
disabled:
|
|
1131
|
-
icon:
|
|
1101
|
+
}, Ur = Object.assign(Pe, {
|
|
1102
|
+
Group: q2
|
|
1103
|
+
}), H2 = "_wrapper_1ncab_5", J2 = "_badge__container_1ncab_6", K2 = "_badge__content_1ncab_7", Q2 = "_interactive_1ncab_20", X2 = "_disabled_1ncab_21", er = "_icon_1ncab_22", W = {
|
|
1104
|
+
wrapper: H2,
|
|
1105
|
+
badge__container: J2,
|
|
1106
|
+
badge__content: K2,
|
|
1107
|
+
interactive: Q2,
|
|
1108
|
+
disabled: X2,
|
|
1109
|
+
icon: er,
|
|
1132
1110
|
"variant-filled": "_variant-filled_1ncab_101",
|
|
1133
1111
|
"color-brand": "_color-brand_1ncab_106",
|
|
1134
1112
|
"color-red": "_color-red_1ncab_110",
|
|
@@ -1160,128 +1138,128 @@ const er = 2, tr = (t) => {
|
|
|
1160
1138
|
"position-bottom-center-inside": "_position-bottom-center-inside_1ncab_446",
|
|
1161
1139
|
"position-middle-left-inside": "_position-middle-left-inside_1ncab_452",
|
|
1162
1140
|
"position-middle-right-inside": "_position-middle-right-inside_1ncab_458"
|
|
1163
|
-
},
|
|
1164
|
-
if (!
|
|
1165
|
-
let
|
|
1166
|
-
for (;
|
|
1167
|
-
const
|
|
1168
|
-
if (!
|
|
1169
|
-
|
|
1141
|
+
}, tr = (r) => r === "rgba(0, 0, 0, 0)" || r === "transparent" || r.startsWith("rgba") && r.endsWith(", 0)"), rr = (r) => {
|
|
1142
|
+
if (!r) return null;
|
|
1143
|
+
let s = r;
|
|
1144
|
+
for (; s; ) {
|
|
1145
|
+
const o = window.getComputedStyle(s).backgroundColor;
|
|
1146
|
+
if (!tr(o)) return o;
|
|
1147
|
+
s = s.parentElement;
|
|
1170
1148
|
}
|
|
1171
1149
|
return null;
|
|
1172
|
-
},
|
|
1173
|
-
const
|
|
1174
|
-
return
|
|
1175
|
-
if (
|
|
1176
|
-
const
|
|
1177
|
-
|
|
1150
|
+
}, ar = () => {
|
|
1151
|
+
const r = ot(null), [s, a] = Le(null);
|
|
1152
|
+
return st(() => {
|
|
1153
|
+
if (r.current) {
|
|
1154
|
+
const o = rr(r.current);
|
|
1155
|
+
a(o);
|
|
1178
1156
|
}
|
|
1179
|
-
}, []), { ref:
|
|
1180
|
-
},
|
|
1157
|
+
}, []), { ref: r, bgColor: s };
|
|
1158
|
+
}, Gr = H((r, s) => {
|
|
1181
1159
|
const {
|
|
1182
|
-
icon:
|
|
1183
|
-
children:
|
|
1160
|
+
icon: a,
|
|
1161
|
+
children: o,
|
|
1184
1162
|
variant: d = "filled",
|
|
1185
1163
|
label: i,
|
|
1186
|
-
colorScheme:
|
|
1187
|
-
size:
|
|
1164
|
+
colorScheme: _ = "red",
|
|
1165
|
+
size: f = 20,
|
|
1188
1166
|
position: c = "top-right",
|
|
1189
|
-
positionOffset:
|
|
1190
|
-
cutoutBackground:
|
|
1167
|
+
positionOffset: h = { x: 0, y: 0 },
|
|
1168
|
+
cutoutBackground: p,
|
|
1191
1169
|
isDisabled: g,
|
|
1192
|
-
className:
|
|
1193
|
-
"data-testid":
|
|
1194
|
-
|
|
1195
|
-
} =
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1170
|
+
className: C,
|
|
1171
|
+
"data-testid": w = "badge",
|
|
1172
|
+
...$
|
|
1173
|
+
} = r, { onClick: k, onPointerDown: L } = $, { ref: S, bgColor: y } = ar(), T = p || y, U = !g && (!!k || !!L), B = Z(W.badge__container, W[`position-${c}`]), F = Z(
|
|
1174
|
+
C,
|
|
1175
|
+
W.badge__content,
|
|
1176
|
+
W[`color-${_}`],
|
|
1177
|
+
W[`variant-${d}`],
|
|
1200
1178
|
{
|
|
1201
|
-
[
|
|
1202
|
-
[
|
|
1203
|
-
[
|
|
1179
|
+
[W.icon]: !!a,
|
|
1180
|
+
[W.interactive]: U,
|
|
1181
|
+
[W.disabled]: g
|
|
1204
1182
|
}
|
|
1205
|
-
),
|
|
1206
|
-
"--badge-height": `${
|
|
1207
|
-
"--badge-offset-x": `${
|
|
1208
|
-
"--badge-offset-y": `${
|
|
1209
|
-
...
|
|
1183
|
+
), z = {
|
|
1184
|
+
"--badge-height": `${f}px`,
|
|
1185
|
+
"--badge-offset-x": `${h.x}px`,
|
|
1186
|
+
"--badge-offset-y": `${h.y}px`,
|
|
1187
|
+
...T && { "--badge-cutout-bg": T },
|
|
1210
1188
|
...d === "transparent" && { "--badge-cutout-bg": "transparent" }
|
|
1211
|
-
},
|
|
1212
|
-
|
|
1189
|
+
}, A = (a == null ? void 0 : a({})) || i, J = (K) => {
|
|
1190
|
+
U && (k == null || k(K));
|
|
1213
1191
|
};
|
|
1214
|
-
return /* @__PURE__ */
|
|
1215
|
-
|
|
1216
|
-
/* @__PURE__ */
|
|
1192
|
+
return /* @__PURE__ */ l.jsxs("div", { className: W.wrapper, ref: S, "data-testid": w + "-wrapper", children: [
|
|
1193
|
+
o,
|
|
1194
|
+
/* @__PURE__ */ l.jsx(
|
|
1217
1195
|
"span",
|
|
1218
1196
|
{
|
|
1219
|
-
className:
|
|
1220
|
-
style:
|
|
1221
|
-
"data-testid":
|
|
1222
|
-
children: /* @__PURE__ */
|
|
1197
|
+
className: B,
|
|
1198
|
+
style: z,
|
|
1199
|
+
"data-testid": w + "-container",
|
|
1200
|
+
children: /* @__PURE__ */ l.jsx(
|
|
1223
1201
|
"span",
|
|
1224
1202
|
{
|
|
1225
|
-
|
|
1226
|
-
onClick:
|
|
1227
|
-
className:
|
|
1228
|
-
"data-testid":
|
|
1229
|
-
ref:
|
|
1203
|
+
...$,
|
|
1204
|
+
onClick: J,
|
|
1205
|
+
className: F,
|
|
1206
|
+
"data-testid": w + "-content",
|
|
1207
|
+
ref: s,
|
|
1230
1208
|
"aria-disabled": g,
|
|
1231
|
-
children:
|
|
1209
|
+
children: A
|
|
1232
1210
|
}
|
|
1233
1211
|
)
|
|
1234
1212
|
}
|
|
1235
1213
|
)
|
|
1236
1214
|
] });
|
|
1237
|
-
}),
|
|
1238
|
-
container:
|
|
1239
|
-
image:
|
|
1240
|
-
loading:
|
|
1241
|
-
},
|
|
1242
|
-
loader:
|
|
1243
|
-
spin:
|
|
1244
|
-
accent:
|
|
1245
|
-
neutral:
|
|
1246
|
-
positive:
|
|
1247
|
-
negative:
|
|
1248
|
-
gray:
|
|
1249
|
-
special:
|
|
1250
|
-
contrast:
|
|
1251
|
-
container:
|
|
1252
|
-
overlay:
|
|
1215
|
+
}), nr = "_container_chiat_7", or = "_image_chiat_19", sr = "_loading_chiat_28", Oe = {
|
|
1216
|
+
container: nr,
|
|
1217
|
+
image: or,
|
|
1218
|
+
loading: sr
|
|
1219
|
+
}, ir = "_loader_1tevf_1", lr = "_spin_1tevf_1", cr = "_accent_1tevf_20", ur = "_neutral_1tevf_24", dr = "_positive_1tevf_28", _r = "_negative_1tevf_32", fr = "_gray_1tevf_36", pr = "_special_1tevf_40", br = "_contrast_1tevf_44", gr = "_container_1tevf_48", vr = "_overlay_1tevf_56", de = {
|
|
1220
|
+
loader: ir,
|
|
1221
|
+
spin: lr,
|
|
1222
|
+
accent: cr,
|
|
1223
|
+
neutral: ur,
|
|
1224
|
+
positive: dr,
|
|
1225
|
+
negative: _r,
|
|
1226
|
+
gray: fr,
|
|
1227
|
+
special: pr,
|
|
1228
|
+
contrast: br,
|
|
1229
|
+
container: gr,
|
|
1230
|
+
overlay: vr,
|
|
1253
1231
|
"size-16": "_size-16_1tevf_71",
|
|
1254
1232
|
"size-24": "_size-24_1tevf_75",
|
|
1255
1233
|
"size-48": "_size-48_1tevf_79",
|
|
1256
1234
|
"size-64": "_size-64_1tevf_83",
|
|
1257
1235
|
"size-96": "_size-96_1tevf_87"
|
|
1258
|
-
},
|
|
1236
|
+
}, lt = H(
|
|
1259
1237
|
({
|
|
1260
|
-
size:
|
|
1261
|
-
variant:
|
|
1262
|
-
className:
|
|
1263
|
-
"data-testid":
|
|
1238
|
+
size: r = 24,
|
|
1239
|
+
variant: s = "accent",
|
|
1240
|
+
className: a,
|
|
1241
|
+
"data-testid": o = "loader",
|
|
1264
1242
|
style: d,
|
|
1265
1243
|
...i
|
|
1266
|
-
},
|
|
1267
|
-
const
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1244
|
+
}, _) => {
|
|
1245
|
+
const f = Z(
|
|
1246
|
+
de.loader,
|
|
1247
|
+
de[s],
|
|
1248
|
+
de[`size-${r}`],
|
|
1249
|
+
a
|
|
1272
1250
|
);
|
|
1273
|
-
return /* @__PURE__ */
|
|
1251
|
+
return /* @__PURE__ */ l.jsx(
|
|
1274
1252
|
"svg",
|
|
1275
1253
|
{
|
|
1276
|
-
ref:
|
|
1277
|
-
className:
|
|
1254
|
+
ref: _,
|
|
1255
|
+
className: f,
|
|
1278
1256
|
fill: "none",
|
|
1279
1257
|
viewBox: "0 0 16 16",
|
|
1280
1258
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1281
|
-
"data-testid":
|
|
1259
|
+
"data-testid": o,
|
|
1282
1260
|
style: d,
|
|
1283
1261
|
...i,
|
|
1284
|
-
children: /* @__PURE__ */
|
|
1262
|
+
children: /* @__PURE__ */ l.jsx(
|
|
1285
1263
|
"path",
|
|
1286
1264
|
{
|
|
1287
1265
|
d: "M14 8C14 11.3137 11.3137 14 8 14C4.68629 14 2 11.3137 2 8C2 4.68629 4.68629 2 8 2",
|
|
@@ -1293,38 +1271,38 @@ const er = 2, tr = (t) => {
|
|
|
1293
1271
|
}
|
|
1294
1272
|
);
|
|
1295
1273
|
}
|
|
1296
|
-
),
|
|
1274
|
+
), hr = H((r, s) => {
|
|
1297
1275
|
const {
|
|
1298
|
-
loading:
|
|
1299
|
-
size:
|
|
1276
|
+
loading: a = !1,
|
|
1277
|
+
size: o = 24,
|
|
1300
1278
|
variant: d = "accent",
|
|
1301
1279
|
children: i,
|
|
1302
|
-
className:
|
|
1303
|
-
style:
|
|
1280
|
+
className: _,
|
|
1281
|
+
style: f,
|
|
1304
1282
|
"data-testid": c,
|
|
1305
|
-
...
|
|
1306
|
-
} =
|
|
1307
|
-
return /* @__PURE__ */
|
|
1283
|
+
...h
|
|
1284
|
+
} = r, p = Z(de.container, _);
|
|
1285
|
+
return /* @__PURE__ */ l.jsxs("div", { ref: s, className: p, style: f, "data-testid": c, ...h, children: [
|
|
1308
1286
|
i,
|
|
1309
|
-
|
|
1287
|
+
a && /* @__PURE__ */ l.jsx("div", { className: de.overlay, children: /* @__PURE__ */ l.jsx(lt, { size: o, variant: d, "data-testid": `${c}-spinner` }) })
|
|
1310
1288
|
] });
|
|
1311
|
-
}),
|
|
1312
|
-
|
|
1289
|
+
}), mr = H((r, s) => r.children ? /* @__PURE__ */ l.jsx(
|
|
1290
|
+
hr,
|
|
1313
1291
|
{
|
|
1314
|
-
ref:
|
|
1315
|
-
...
|
|
1292
|
+
ref: s,
|
|
1293
|
+
...r
|
|
1316
1294
|
}
|
|
1317
|
-
) : /* @__PURE__ */
|
|
1295
|
+
) : /* @__PURE__ */ l.jsx(lt, { ref: s, ...r })), Cr = ({ width: r = 48, height: s = 48, className: a, "data-testid": o }) => /* @__PURE__ */ l.jsx(
|
|
1318
1296
|
"svg",
|
|
1319
1297
|
{
|
|
1320
|
-
width:
|
|
1321
|
-
height:
|
|
1298
|
+
width: r,
|
|
1299
|
+
height: s,
|
|
1322
1300
|
viewBox: "0 0 48 48",
|
|
1323
1301
|
fill: "none",
|
|
1324
1302
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1325
|
-
className:
|
|
1326
|
-
"data-testid":
|
|
1327
|
-
children: /* @__PURE__ */
|
|
1303
|
+
className: a,
|
|
1304
|
+
"data-testid": o,
|
|
1305
|
+
children: /* @__PURE__ */ l.jsx(
|
|
1328
1306
|
"path",
|
|
1329
1307
|
{
|
|
1330
1308
|
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",
|
|
@@ -1335,470 +1313,170 @@ const er = 2, tr = (t) => {
|
|
|
1335
1313
|
}
|
|
1336
1314
|
)
|
|
1337
1315
|
}
|
|
1338
|
-
),
|
|
1316
|
+
), Yr = H((r, s) => {
|
|
1339
1317
|
const {
|
|
1340
|
-
alt:
|
|
1341
|
-
loading:
|
|
1318
|
+
alt: a = "",
|
|
1319
|
+
loading: o = "lazy",
|
|
1342
1320
|
src: d,
|
|
1343
1321
|
isLoading: i = !1,
|
|
1344
|
-
className:
|
|
1345
|
-
"data-testid":
|
|
1322
|
+
className: _,
|
|
1323
|
+
"data-testid": f = "image",
|
|
1346
1324
|
onError: c,
|
|
1347
|
-
onLoad:
|
|
1348
|
-
...
|
|
1349
|
-
} =
|
|
1350
|
-
|
|
1325
|
+
onLoad: h,
|
|
1326
|
+
...p
|
|
1327
|
+
} = r, [g, C] = Le("loading"), w = g === "error", $ = (i || g === "loading") && !w, k = g === "loaded" && !i, L = Z(
|
|
1328
|
+
Oe.image,
|
|
1351
1329
|
{
|
|
1352
|
-
[
|
|
1330
|
+
[Oe.loading]: $
|
|
1353
1331
|
},
|
|
1354
|
-
|
|
1355
|
-
),
|
|
1356
|
-
(
|
|
1357
|
-
|
|
1332
|
+
_
|
|
1333
|
+
), S = He(
|
|
1334
|
+
(N) => {
|
|
1335
|
+
C("loaded"), h == null || h(N);
|
|
1358
1336
|
},
|
|
1359
|
-
[
|
|
1360
|
-
),
|
|
1361
|
-
(
|
|
1362
|
-
|
|
1337
|
+
[h]
|
|
1338
|
+
), y = He(
|
|
1339
|
+
(N) => {
|
|
1340
|
+
C("error"), c == null || c(N);
|
|
1363
1341
|
},
|
|
1364
1342
|
[c]
|
|
1365
|
-
),
|
|
1366
|
-
loader: /* @__PURE__ */
|
|
1367
|
-
/* @__PURE__ */
|
|
1368
|
-
/* @__PURE__ */
|
|
1343
|
+
), T = {
|
|
1344
|
+
loader: /* @__PURE__ */ l.jsxs(Nt, { children: [
|
|
1345
|
+
/* @__PURE__ */ l.jsx(mr, { size: 48, variant: "special", "data-testid": `${f}-loader` }),
|
|
1346
|
+
/* @__PURE__ */ l.jsx(
|
|
1369
1347
|
"img",
|
|
1370
1348
|
{
|
|
1371
|
-
alt:
|
|
1349
|
+
alt: a,
|
|
1372
1350
|
src: d,
|
|
1373
|
-
onLoad:
|
|
1374
|
-
onError:
|
|
1351
|
+
onLoad: S,
|
|
1352
|
+
onError: y,
|
|
1375
1353
|
style: { display: "none" }
|
|
1376
1354
|
}
|
|
1377
1355
|
)
|
|
1378
1356
|
] }),
|
|
1379
|
-
error: /* @__PURE__ */
|
|
1380
|
-
image: /* @__PURE__ */
|
|
1357
|
+
error: /* @__PURE__ */ l.jsx(Cr, { "data-testid": `${f}-fallback` }),
|
|
1358
|
+
image: /* @__PURE__ */ l.jsx(
|
|
1381
1359
|
"img",
|
|
1382
1360
|
{
|
|
1383
|
-
ref:
|
|
1384
|
-
alt:
|
|
1385
|
-
"data-testid":
|
|
1386
|
-
loading:
|
|
1361
|
+
ref: s,
|
|
1362
|
+
alt: a,
|
|
1363
|
+
"data-testid": f,
|
|
1364
|
+
loading: o,
|
|
1387
1365
|
src: d,
|
|
1388
|
-
className:
|
|
1366
|
+
className: L
|
|
1389
1367
|
}
|
|
1390
1368
|
)
|
|
1391
1369
|
};
|
|
1392
|
-
return
|
|
1370
|
+
return st(() => {
|
|
1393
1371
|
if (!d) {
|
|
1394
|
-
|
|
1372
|
+
C("error");
|
|
1395
1373
|
return;
|
|
1396
1374
|
}
|
|
1397
|
-
|
|
1398
|
-
}, [d]), /* @__PURE__ */
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1375
|
+
C("loading");
|
|
1376
|
+
}, [d]), /* @__PURE__ */ l.jsxs("div", { className: Oe.container, "data-testid": `${f}-container`, ...p, children: [
|
|
1377
|
+
$ && T.loader,
|
|
1378
|
+
w && T.error,
|
|
1379
|
+
k && T.image
|
|
1402
1380
|
] });
|
|
1403
|
-
}),
|
|
1404
|
-
locale:
|
|
1405
|
-
}),
|
|
1406
|
-
const
|
|
1407
|
-
if (!
|
|
1381
|
+
}), yr = {}, ct = It({
|
|
1382
|
+
locale: yr
|
|
1383
|
+
}), xr = () => {
|
|
1384
|
+
const r = At(ct);
|
|
1385
|
+
if (!r)
|
|
1408
1386
|
throw new Error("useConfig must be used within a ConfigProvider");
|
|
1409
|
-
return
|
|
1410
|
-
},
|
|
1411
|
-
const { locale:
|
|
1412
|
-
return
|
|
1413
|
-
},
|
|
1414
|
-
locale:
|
|
1415
|
-
theme:
|
|
1416
|
-
children:
|
|
1417
|
-
className:
|
|
1387
|
+
return r;
|
|
1388
|
+
}, qr = () => {
|
|
1389
|
+
const { locale: r } = xr();
|
|
1390
|
+
return r;
|
|
1391
|
+
}, wr = {}, Er = {}, Rr = {}, Hr = ({
|
|
1392
|
+
locale: r = {},
|
|
1393
|
+
theme: s,
|
|
1394
|
+
children: a,
|
|
1395
|
+
className: o
|
|
1418
1396
|
}) => {
|
|
1419
|
-
const d =
|
|
1420
|
-
return /* @__PURE__ */
|
|
1397
|
+
const d = s ? { ...Object.fromEntries(Object.entries(s)) } : {};
|
|
1398
|
+
return /* @__PURE__ */ l.jsx(
|
|
1421
1399
|
"div",
|
|
1422
1400
|
{
|
|
1423
1401
|
"data-testid": "ConfigProvider-component",
|
|
1424
1402
|
style: d,
|
|
1425
|
-
className:
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1403
|
+
className: ae(
|
|
1404
|
+
wr,
|
|
1405
|
+
Er,
|
|
1406
|
+
Rr,
|
|
1407
|
+
o
|
|
1430
1408
|
),
|
|
1431
|
-
children: /* @__PURE__ */
|
|
1409
|
+
children: /* @__PURE__ */ l.jsx(ct.Provider, { value: { locale: r }, children: a })
|
|
1432
1410
|
}
|
|
1433
1411
|
);
|
|
1434
|
-
},
|
|
1435
|
-
tag:
|
|
1436
|
-
label:
|
|
1437
|
-
iconWrapper:
|
|
1438
|
-
medium:
|
|
1439
|
-
large:
|
|
1440
|
-
disabled:
|
|
1441
|
-
neutral:
|
|
1442
|
-
positive:
|
|
1443
|
-
negative:
|
|
1444
|
-
warning:
|
|
1445
|
-
vivid:
|
|
1446
|
-
special:
|
|
1447
|
-
accent:
|
|
1448
|
-
blue:
|
|
1449
|
-
lovely:
|
|
1450
|
-
dreamy:
|
|
1451
|
-
},
|
|
1452
|
-
"typography-title-1-semibold": "_typography-title-1-semibold_1lyxn_1",
|
|
1453
|
-
"typography-title-2-semibold": "_typography-title-2-semibold_1lyxn_10",
|
|
1454
|
-
"typography-title-3-semibold": "_typography-title-3-semibold_1lyxn_19",
|
|
1455
|
-
"typography-title-4-semibold": "_typography-title-4-semibold_1lyxn_28",
|
|
1456
|
-
"typography-title-5-semibold": "_typography-title-5-semibold_1lyxn_37",
|
|
1412
|
+
}, Jr = {}, Sr = "_tag_1llsi_1", jr = "_label_1llsi_16", $r = "_iconWrapper_1llsi_20", kr = "_medium_1llsi_27", Tr = "_large_1llsi_33", Or = "_disabled_1llsi_43", Pr = "_neutral_1llsi_47", Lr = "_positive_1llsi_53", Nr = "_negative_1llsi_59", Ir = "_warning_1llsi_65", Ar = "_vivid_1llsi_71", Mr = "_special_1llsi_77", Dr = "_accent_1llsi_84", Br = "_blue_1llsi_90", Fr = "_lovely_1llsi_96", zr = "_dreamy_1llsi_102", re = {
|
|
1413
|
+
tag: Sr,
|
|
1414
|
+
label: jr,
|
|
1415
|
+
iconWrapper: $r,
|
|
1416
|
+
medium: kr,
|
|
1417
|
+
large: Tr,
|
|
1418
|
+
disabled: Or,
|
|
1419
|
+
neutral: Pr,
|
|
1420
|
+
positive: Lr,
|
|
1421
|
+
negative: Nr,
|
|
1422
|
+
warning: Ir,
|
|
1423
|
+
vivid: Ar,
|
|
1424
|
+
special: Mr,
|
|
1425
|
+
accent: Dr,
|
|
1426
|
+
blue: Br,
|
|
1427
|
+
lovely: Fr,
|
|
1428
|
+
dreamy: zr
|
|
1429
|
+
}, at = {
|
|
1457
1430
|
"typography-subtitle-1-semibold": "_typography-subtitle-1-semibold_1lyxn_45",
|
|
1458
|
-
"typography-
|
|
1459
|
-
|
|
1460
|
-
"typography-subtitle-4-semibold": "_typography-subtitle-4-semibold_1lyxn_71",
|
|
1461
|
-
"typography-label-1-medium": "_typography-label-1-medium_1lyxn_80",
|
|
1462
|
-
"typography-label-2-medium": "_typography-label-2-medium_1lyxn_89",
|
|
1463
|
-
"typography-label-3-medium": "_typography-label-3-medium_1lyxn_97",
|
|
1464
|
-
"typography-label-4-medium": "_typography-label-4-medium_1lyxn_106",
|
|
1465
|
-
"typography-label-5-medium": "_typography-label-5-medium_1lyxn_115",
|
|
1466
|
-
"typography-label-1-regular": "_typography-label-1-regular_1lyxn_124",
|
|
1467
|
-
"typography-label-2-regular": "_typography-label-2-regular_1lyxn_133",
|
|
1468
|
-
"typography-label-3-regular": "_typography-label-3-regular_1lyxn_141",
|
|
1469
|
-
"typography-label-4-regular": "_typography-label-4-regular_1lyxn_150",
|
|
1470
|
-
"typography-label-5-regular": "_typography-label-5-regular_1lyxn_159",
|
|
1471
|
-
"typography-paragraph-1-regular": "_typography-paragraph-1-regular_1lyxn_168",
|
|
1472
|
-
"typography-paragraph-2-regular": "_typography-paragraph-2-regular_1lyxn_176",
|
|
1473
|
-
"typography-paragraph-3-regular": "_typography-paragraph-3-regular_1lyxn_185",
|
|
1474
|
-
"typography-paragraph-4-regular": "_typography-paragraph-4-regular_1lyxn_194"
|
|
1475
|
-
}, Tn = Q((t, o) => {
|
|
1431
|
+
"typography-label-3-regular": "_typography-label-3-regular_1lyxn_141"
|
|
1432
|
+
}, Kr = H((r, s) => {
|
|
1476
1433
|
const {
|
|
1477
|
-
className:
|
|
1478
|
-
children:
|
|
1434
|
+
className: a,
|
|
1435
|
+
children: o,
|
|
1479
1436
|
componentStyle: d = "neutral",
|
|
1480
1437
|
size: i = "medium",
|
|
1481
|
-
disabled:
|
|
1482
|
-
showLabel:
|
|
1438
|
+
disabled: _ = !1,
|
|
1439
|
+
showLabel: f = !!o,
|
|
1483
1440
|
slotStart: c,
|
|
1484
|
-
slotEnd:
|
|
1485
|
-
slotStartWrapperProps:
|
|
1441
|
+
slotEnd: h,
|
|
1442
|
+
slotStartWrapperProps: p = {},
|
|
1486
1443
|
slotEndWrapperProps: g = {},
|
|
1487
|
-
"data-testid":
|
|
1488
|
-
} =
|
|
1489
|
-
return /* @__PURE__ */
|
|
1444
|
+
"data-testid": C
|
|
1445
|
+
} = r, { className: w, ...$ } = p, { className: k, ...L } = g;
|
|
1446
|
+
return /* @__PURE__ */ l.jsxs(
|
|
1490
1447
|
"div",
|
|
1491
1448
|
{
|
|
1492
|
-
className:
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1449
|
+
className: ae(
|
|
1450
|
+
re.tag,
|
|
1451
|
+
re[i],
|
|
1452
|
+
re[d],
|
|
1496
1453
|
{
|
|
1497
|
-
[
|
|
1498
|
-
[
|
|
1499
|
-
[
|
|
1454
|
+
[re.disabled]: _,
|
|
1455
|
+
[at["typography-label-3-regular"]]: i === "medium",
|
|
1456
|
+
[at["typography-subtitle-1-semibold"]]: i === "large"
|
|
1500
1457
|
},
|
|
1501
|
-
|
|
1458
|
+
a
|
|
1502
1459
|
),
|
|
1503
|
-
"data-testid":
|
|
1504
|
-
ref:
|
|
1460
|
+
"data-testid": C || "tag-component",
|
|
1461
|
+
ref: s,
|
|
1505
1462
|
children: [
|
|
1506
|
-
c && /* @__PURE__ */
|
|
1507
|
-
|
|
1508
|
-
|
|
1463
|
+
c && /* @__PURE__ */ l.jsx("span", { className: ae([re.iconWrapper, w]), ...$, children: c }),
|
|
1464
|
+
f && /* @__PURE__ */ l.jsx("span", { className: ae([re.label]), children: o }),
|
|
1465
|
+
h && /* @__PURE__ */ l.jsx("span", { className: ae([re.iconWrapper, k]), ...L, children: h })
|
|
1509
1466
|
]
|
|
1510
1467
|
}
|
|
1511
1468
|
);
|
|
1512
|
-
})
|
|
1513
|
-
checkbox: Hr,
|
|
1514
|
-
input: Jr,
|
|
1515
|
-
icon: Kr,
|
|
1516
|
-
container: Qr,
|
|
1517
|
-
error: Xr,
|
|
1518
|
-
checkboxWrapper: en,
|
|
1519
|
-
medium: tn,
|
|
1520
|
-
large: an,
|
|
1521
|
-
label: rn
|
|
1522
|
-
}, nn = ({
|
|
1523
|
-
width: t = 12,
|
|
1524
|
-
height: o = 9,
|
|
1525
|
-
className: r = "",
|
|
1526
|
-
color: n = "currentColor",
|
|
1527
|
-
...d
|
|
1528
|
-
}) => /* @__PURE__ */ s.jsx(
|
|
1529
|
-
"svg",
|
|
1530
|
-
{
|
|
1531
|
-
className: r,
|
|
1532
|
-
width: t,
|
|
1533
|
-
height: o,
|
|
1534
|
-
viewBox: "0 0 14 10",
|
|
1535
|
-
fill: "none",
|
|
1536
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1537
|
-
...d,
|
|
1538
|
-
children: /* @__PURE__ */ s.jsx(
|
|
1539
|
-
"path",
|
|
1540
|
-
{
|
|
1541
|
-
fillRule: "evenodd",
|
|
1542
|
-
clipRule: "evenodd",
|
|
1543
|
-
d: "M13.0001 2.49999C13.3906 2.10946 13.3906 1.4763 13.0001 1.08578C12.6095 0.695251 11.9764 0.695251 11.5859 1.08578L5.29296 7.37867L2.00007 4.08578C1.60954 3.69525 0.976378 3.69525 0.585855 4.08578C0.19533 4.4763 0.19533 5.10946 0.585855 5.49999L4.58585 9.49999C4.97638 9.89051 5.60954 9.89051 6.00007 9.49999L13.0001 2.49999Z",
|
|
1544
|
-
fill: n
|
|
1545
|
-
}
|
|
1546
|
-
)
|
|
1547
|
-
}
|
|
1548
|
-
), on = ({
|
|
1549
|
-
width: t = 12,
|
|
1550
|
-
height: o = 2,
|
|
1551
|
-
className: r = "",
|
|
1552
|
-
color: n = "currentColor",
|
|
1553
|
-
...d
|
|
1554
|
-
}) => /* @__PURE__ */ s.jsx(
|
|
1555
|
-
"svg",
|
|
1556
|
-
{
|
|
1557
|
-
className: r,
|
|
1558
|
-
width: t,
|
|
1559
|
-
height: o,
|
|
1560
|
-
viewBox: "0 0 12 2",
|
|
1561
|
-
fill: "none",
|
|
1562
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1563
|
-
...d,
|
|
1564
|
-
children: /* @__PURE__ */ s.jsx(
|
|
1565
|
-
"path",
|
|
1566
|
-
{
|
|
1567
|
-
fillRule: "evenodd",
|
|
1568
|
-
clipRule: "evenodd",
|
|
1569
|
-
d: "M0 1C0 0.447715 0.447715 0 1 0H11C11.5523 0 12 0.447715 12 1C12 1.55228 11.5523 2 11 2H1C0.447715 2 0 1.55228 0 1Z",
|
|
1570
|
-
fill: n
|
|
1571
|
-
}
|
|
1572
|
-
)
|
|
1573
|
-
}
|
|
1574
|
-
), sn = {
|
|
1575
|
-
medium: { width: 10.83, height: 7.5 },
|
|
1576
|
-
large: { width: 13, height: 9 }
|
|
1577
|
-
}, ln = ({
|
|
1578
|
-
size: t,
|
|
1579
|
-
isChecked: o,
|
|
1580
|
-
isDisabled: r,
|
|
1581
|
-
indeterminate: n,
|
|
1582
|
-
dataTestId: d
|
|
1583
|
-
}) => {
|
|
1584
|
-
const { width: i, height: u } = sn[t];
|
|
1585
|
-
return /* @__PURE__ */ s.jsx(
|
|
1586
|
-
"div",
|
|
1587
|
-
{
|
|
1588
|
-
className: H.icon,
|
|
1589
|
-
"data-testid": `${d}-icon`,
|
|
1590
|
-
"data-checked": o,
|
|
1591
|
-
"data-disabled": r,
|
|
1592
|
-
"data-indeterminate": n,
|
|
1593
|
-
children: n ? /* @__PURE__ */ s.jsx(on, { width: i, height: u }) : /* @__PURE__ */ s.jsx(nn, { width: i, height: u })
|
|
1594
|
-
}
|
|
1595
|
-
);
|
|
1596
|
-
}, Nn = Q((t, o) => {
|
|
1597
|
-
const {
|
|
1598
|
-
name: r,
|
|
1599
|
-
value: n,
|
|
1600
|
-
size: d = "medium",
|
|
1601
|
-
indeterminate: i = !1,
|
|
1602
|
-
loading: u = !1,
|
|
1603
|
-
error: _,
|
|
1604
|
-
disabled: c = !1,
|
|
1605
|
-
containerClassName: b,
|
|
1606
|
-
className: f,
|
|
1607
|
-
containerStyle: g,
|
|
1608
|
-
style: y,
|
|
1609
|
-
children: v,
|
|
1610
|
-
clickableLabel: E = !0,
|
|
1611
|
-
tabIndex: S,
|
|
1612
|
-
onChange: k,
|
|
1613
|
-
"data-testid": w = "checkbox"
|
|
1614
|
-
} = t, [C, O] = Re(!1), L = n ?? C, M = c || u, z = !!_, P = L || i, W = tt(H.container, H[d], b), D = tt(
|
|
1615
|
-
H.checkbox,
|
|
1616
|
-
H[d],
|
|
1617
|
-
{
|
|
1618
|
-
[H.error]: z
|
|
1619
|
-
},
|
|
1620
|
-
f
|
|
1621
|
-
), q = (T) => {
|
|
1622
|
-
M || (O(T.target.checked), k == null || k(T.target.checked, T));
|
|
1623
|
-
}, G = (T) => {
|
|
1624
|
-
if (T.key === "Enter" && !M) {
|
|
1625
|
-
T.preventDefault();
|
|
1626
|
-
const U = !P;
|
|
1627
|
-
O(U), k == null || k(U);
|
|
1628
|
-
}
|
|
1629
|
-
}, Z = (T) => {
|
|
1630
|
-
E || T.preventDefault();
|
|
1631
|
-
}, I = (T) => T.stopPropagation();
|
|
1632
|
-
return /* @__PURE__ */ s.jsxs(
|
|
1633
|
-
"label",
|
|
1634
|
-
{
|
|
1635
|
-
className: W,
|
|
1636
|
-
htmlFor: r,
|
|
1637
|
-
style: g,
|
|
1638
|
-
"data-testid": w,
|
|
1639
|
-
"data-clickable-label": E,
|
|
1640
|
-
children: [
|
|
1641
|
-
/* @__PURE__ */ s.jsx("div", { className: H.checkboxWrapper, children: /* @__PURE__ */ s.jsxs(
|
|
1642
|
-
"div",
|
|
1643
|
-
{
|
|
1644
|
-
tabIndex: S || 0,
|
|
1645
|
-
className: D,
|
|
1646
|
-
style: y,
|
|
1647
|
-
onKeyDown: G,
|
|
1648
|
-
"aria-checked": P,
|
|
1649
|
-
"aria-disabled": M,
|
|
1650
|
-
"aria-invalid": z,
|
|
1651
|
-
"aria-describedby": _ ? `${r}-error` : void 0,
|
|
1652
|
-
"data-testid": `${w}-label`,
|
|
1653
|
-
children: [
|
|
1654
|
-
/* @__PURE__ */ s.jsx(
|
|
1655
|
-
"input",
|
|
1656
|
-
{
|
|
1657
|
-
ref: o,
|
|
1658
|
-
type: "checkbox",
|
|
1659
|
-
id: r,
|
|
1660
|
-
name: r,
|
|
1661
|
-
checked: P,
|
|
1662
|
-
disabled: M,
|
|
1663
|
-
className: H.input,
|
|
1664
|
-
onChange: q,
|
|
1665
|
-
onClick: I,
|
|
1666
|
-
"aria-checked": P,
|
|
1667
|
-
"aria-invalid": z,
|
|
1668
|
-
"aria-describedby": _ ? `${r}-error` : void 0,
|
|
1669
|
-
"data-testid": `${w}-input`
|
|
1670
|
-
}
|
|
1671
|
-
),
|
|
1672
|
-
/* @__PURE__ */ s.jsx(
|
|
1673
|
-
ln,
|
|
1674
|
-
{
|
|
1675
|
-
name: r,
|
|
1676
|
-
size: d,
|
|
1677
|
-
isChecked: P,
|
|
1678
|
-
isDisabled: M,
|
|
1679
|
-
indeterminate: i,
|
|
1680
|
-
dataTestId: w
|
|
1681
|
-
}
|
|
1682
|
-
)
|
|
1683
|
-
]
|
|
1684
|
-
}
|
|
1685
|
-
) }),
|
|
1686
|
-
v && /* @__PURE__ */ s.jsx(
|
|
1687
|
-
"span",
|
|
1688
|
-
{
|
|
1689
|
-
"data-testid": `${w}-label-text`,
|
|
1690
|
-
"data-clickable-label": E,
|
|
1691
|
-
className: H.label,
|
|
1692
|
-
onClick: Z,
|
|
1693
|
-
children: v
|
|
1694
|
-
}
|
|
1695
|
-
)
|
|
1696
|
-
]
|
|
1697
|
-
}
|
|
1698
|
-
);
|
|
1699
|
-
}), cn = "_typography_zt7xg_1", dn = "_disabled_zt7xg_8", un = "_primary_zt7xg_13", _n = "_secondary_zt7xg_18", pn = "_tertiary_zt7xg_23", fn = "_accent_zt7xg_28", gn = "_positive_zt7xg_38", bn = "_negative_zt7xg_48", hn = "_warning_zt7xg_58", yn = "_special_zt7xg_68", mn = "_contrast_zt7xg_78", ie = {
|
|
1700
|
-
typography: cn,
|
|
1701
|
-
disabled: dn,
|
|
1702
|
-
primary: un,
|
|
1703
|
-
secondary: _n,
|
|
1704
|
-
tertiary: pn,
|
|
1705
|
-
accent: fn,
|
|
1706
|
-
"accent-secondary": "_accent-secondary_zt7xg_33",
|
|
1707
|
-
positive: gn,
|
|
1708
|
-
"positive-secondary": "_positive-secondary_zt7xg_43",
|
|
1709
|
-
negative: bn,
|
|
1710
|
-
"negative-secondary": "_negative-secondary_zt7xg_53",
|
|
1711
|
-
warning: hn,
|
|
1712
|
-
"warning-secondary": "_warning-secondary_zt7xg_63",
|
|
1713
|
-
special: yn,
|
|
1714
|
-
"special-secondary": "_special-secondary_zt7xg_73",
|
|
1715
|
-
contrast: mn,
|
|
1716
|
-
"contrast-secondary": "_contrast-secondary_zt7xg_83"
|
|
1717
|
-
}, vn = {
|
|
1718
|
-
1: "h1",
|
|
1719
|
-
2: "h2",
|
|
1720
|
-
3: "h3",
|
|
1721
|
-
4: "h4",
|
|
1722
|
-
5: "h5"
|
|
1723
|
-
}, ct = (t) => {
|
|
1724
|
-
const o = ut.forwardRef(
|
|
1725
|
-
({
|
|
1726
|
-
size: r = 3,
|
|
1727
|
-
children: n,
|
|
1728
|
-
className: d,
|
|
1729
|
-
"data-testid": i,
|
|
1730
|
-
as: u,
|
|
1731
|
-
fontWeight: _ = "semibold",
|
|
1732
|
-
disabled: c = !1,
|
|
1733
|
-
typographyStyle: b = "primary",
|
|
1734
|
-
...f
|
|
1735
|
-
}, g) => {
|
|
1736
|
-
const y = u || vn[r], v = J(
|
|
1737
|
-
ie.typography,
|
|
1738
|
-
je[`typography-${t}-${r}-${_}`],
|
|
1739
|
-
ie[b],
|
|
1740
|
-
{
|
|
1741
|
-
[ie.disabled]: c
|
|
1742
|
-
},
|
|
1743
|
-
d
|
|
1744
|
-
);
|
|
1745
|
-
return n ? /* @__PURE__ */ s.jsx(y, { ref: g, className: v, "data-testid": i, ...f, children: n }) : null;
|
|
1746
|
-
}
|
|
1747
|
-
);
|
|
1748
|
-
return o.displayName = `Typography.${t === "title" ? "Title" : "Subtitle"}`, o;
|
|
1749
|
-
}, dt = (t) => {
|
|
1750
|
-
const o = ut.forwardRef(
|
|
1751
|
-
({
|
|
1752
|
-
size: r = 3,
|
|
1753
|
-
children: n,
|
|
1754
|
-
className: d,
|
|
1755
|
-
"data-testid": i,
|
|
1756
|
-
as: u = "p",
|
|
1757
|
-
fontWeight: _ = "regular",
|
|
1758
|
-
disabled: c = !1,
|
|
1759
|
-
typographyStyle: b = "primary",
|
|
1760
|
-
...f
|
|
1761
|
-
}, g) => {
|
|
1762
|
-
const y = u, v = J(
|
|
1763
|
-
ie.typography,
|
|
1764
|
-
je[`typography-${t}-${r}-${_}`],
|
|
1765
|
-
ie[b],
|
|
1766
|
-
{
|
|
1767
|
-
[ie.disabled]: c
|
|
1768
|
-
},
|
|
1769
|
-
d
|
|
1770
|
-
);
|
|
1771
|
-
return n ? /* @__PURE__ */ s.jsx(
|
|
1772
|
-
y,
|
|
1773
|
-
{
|
|
1774
|
-
ref: g,
|
|
1775
|
-
className: v,
|
|
1776
|
-
"data-testid": i,
|
|
1777
|
-
...f,
|
|
1778
|
-
children: n
|
|
1779
|
-
}
|
|
1780
|
-
) : null;
|
|
1781
|
-
}
|
|
1782
|
-
);
|
|
1783
|
-
return o.displayName = `Typography.${t.charAt(0).toUpperCase() + t.slice(1)}`, o;
|
|
1784
|
-
}, On = {
|
|
1785
|
-
Title: ct("title"),
|
|
1786
|
-
Subtitle: ct("subtitle"),
|
|
1787
|
-
Label: dt("label"),
|
|
1788
|
-
Paragraph: dt("paragraph")
|
|
1789
|
-
};
|
|
1469
|
+
});
|
|
1790
1470
|
export {
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
kr as useConfig,
|
|
1803
|
-
Rn as useLocale
|
|
1471
|
+
Ur as Avatar,
|
|
1472
|
+
Gr as Badge,
|
|
1473
|
+
Zr as Button,
|
|
1474
|
+
Hr as ConfigProvider,
|
|
1475
|
+
Yr as Image,
|
|
1476
|
+
mr as Loader,
|
|
1477
|
+
Kr as Tag,
|
|
1478
|
+
yr as enUS,
|
|
1479
|
+
Jr as ruRU,
|
|
1480
|
+
xr as useConfig,
|
|
1481
|
+
qr as useLocale
|
|
1804
1482
|
};
|