@snmt-react-ui/user-select 2.9.9 → 2.9.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +1 -1
- package/dist/user-select.js +978 -921
- package/package.json +4 -4
package/dist/user-select.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
var L2 = Object.defineProperty;
|
|
2
2
|
var k2 = (i, e, t) => e in i ? L2(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t;
|
|
3
|
-
var
|
|
3
|
+
var K1 = (i, e, t) => k2(i, typeof e != "symbol" ? e + "" : e, t);
|
|
4
4
|
import "./index.css";
|
|
5
5
|
import { jsx as r, Fragment as i1, jsxs as u } from "react/jsx-runtime";
|
|
6
|
-
import { forwardRef as
|
|
7
|
-
import { Select as N2, Tag as R2, Flex as x2, Checkbox as _2, Avatar as M2, Typography as
|
|
6
|
+
import { forwardRef as d1, useState as O, useRef as J, useCallback as $, useEffect as G, useMemo as v2, useImperativeHandle as k1, useContext as r1, createContext as C1 } from "react";
|
|
7
|
+
import { Select as N2, Tag as R2, Flex as x2, Checkbox as _2, Avatar as M2, Typography as G1, Popover as b2 } from "antd";
|
|
8
8
|
import { SNMTUiContext as y2 } from "@snmt-react-ui/core";
|
|
9
|
-
var H2 = Object.defineProperty,
|
|
9
|
+
var H2 = Object.defineProperty, E2 = (i, e, t) => e in i ? H2(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, V2 = (i, e, t) => E2(i, e + "", t), I2 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
10
10
|
function A2() {
|
|
11
11
|
if (console && console.warn) {
|
|
12
12
|
for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
|
|
@@ -14,11 +14,11 @@ function A2() {
|
|
|
14
14
|
s1(e[0]) && (e[0] = `react-i18next:: ${e[0]}`), console.warn(...e);
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
|
-
const
|
|
17
|
+
const B1 = {};
|
|
18
18
|
function O1() {
|
|
19
19
|
for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
|
|
20
20
|
e[t] = arguments[t];
|
|
21
|
-
s1(e[0]) &&
|
|
21
|
+
s1(e[0]) && B1[e[0]] || (s1(e[0]) && (B1[e[0]] = /* @__PURE__ */ new Date()), A2(...e));
|
|
22
22
|
}
|
|
23
23
|
const l2 = (i, e) => () => {
|
|
24
24
|
if (i.isInitialized)
|
|
@@ -31,9 +31,9 @@ const l2 = (i, e) => () => {
|
|
|
31
31
|
};
|
|
32
32
|
i.on("initialized", t);
|
|
33
33
|
}
|
|
34
|
-
},
|
|
34
|
+
}, P1 = (i, e, t) => {
|
|
35
35
|
i.loadNamespaces(e, l2(i, t));
|
|
36
|
-
},
|
|
36
|
+
}, Y1 = (i, e, t, s) => {
|
|
37
37
|
s1(t) && (t = [t]), t.forEach((n) => {
|
|
38
38
|
i.options.ns.indexOf(n) < 0 && i.options.ns.push(n);
|
|
39
39
|
}), i.loadLanguages(e, l2(i, s));
|
|
@@ -88,10 +88,10 @@ let B2 = {
|
|
|
88
88
|
};
|
|
89
89
|
const P2 = () => B2;
|
|
90
90
|
let Y2;
|
|
91
|
-
const $2 = () => Y2, j2 =
|
|
91
|
+
const $2 = () => Y2, j2 = C1();
|
|
92
92
|
class F2 {
|
|
93
93
|
constructor() {
|
|
94
|
-
|
|
94
|
+
V2(this, "getUsedNamespaces", () => Object.keys(this.usedNamespaces)), this.usedNamespaces = {};
|
|
95
95
|
}
|
|
96
96
|
addUsedNamespaces(e) {
|
|
97
97
|
e.forEach((t) => {
|
|
@@ -99,12 +99,12 @@ class F2 {
|
|
|
99
99
|
});
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
|
-
const
|
|
103
|
-
const t =
|
|
104
|
-
return
|
|
102
|
+
const W2 = (i, e) => {
|
|
103
|
+
const t = J();
|
|
104
|
+
return G(() => {
|
|
105
105
|
t.current = i;
|
|
106
106
|
}, [i, e]), t.current;
|
|
107
|
-
}, h2 = (i, e, t, s) => i.getFixedT(e, t, s),
|
|
107
|
+
}, h2 = (i, e, t, s) => i.getFixedT(e, t, s), U2 = (i, e, t, s) => $(h2(i, e, t, s), [i, e, t, s]), z2 = function(i) {
|
|
108
108
|
let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
109
109
|
const {
|
|
110
110
|
i18n: t
|
|
@@ -114,8 +114,8 @@ const U2 = (i, e) => {
|
|
|
114
114
|
} = r1(j2) || {}, o = t || s || $2();
|
|
115
115
|
if (o && !o.reportNamespaces && (o.reportNamespaces = new F2()), !o) {
|
|
116
116
|
O1("You will need to pass in an i18next instance by using initReactI18next");
|
|
117
|
-
const
|
|
118
|
-
return x.t =
|
|
117
|
+
const f = (_, R) => s1(R) ? R : S2(R) && s1(R.defaultValue) ? R.defaultValue : Array.isArray(_) ? _[_.length - 1] : _, x = [f, {}, !1];
|
|
118
|
+
return x.t = f, x.i18n = {}, x.ready = !1, x;
|
|
119
119
|
}
|
|
120
120
|
o.options.react && o.options.react.wait !== void 0 && O1("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
|
|
121
121
|
const c = {
|
|
@@ -128,33 +128,33 @@ const U2 = (i, e) => {
|
|
|
128
128
|
} = c;
|
|
129
129
|
let d = i;
|
|
130
130
|
d = s1(d) ? [d] : d || ["translation"], o.reportNamespaces.addUsedNamespaces && o.reportNamespaces.addUsedNamespaces(d);
|
|
131
|
-
const l = (o.isInitialized || o.initializedStoreOnce) && d.every((
|
|
131
|
+
const l = (o.isInitialized || o.initializedStoreOnce) && d.every((f) => Z2(f, o, c)), h = U2(o, e.lng || null, c.nsMode === "fallback" ? d : d[0], C), g = () => h, p = () => h2(o, e.lng || null, c.nsMode === "fallback" ? d : d[0], C), [w, v] = O(g);
|
|
132
132
|
let m = d.join();
|
|
133
133
|
e.lng && (m = `${e.lng}${m}`);
|
|
134
|
-
const
|
|
135
|
-
|
|
134
|
+
const b = W2(m), y = J(!0);
|
|
135
|
+
G(() => {
|
|
136
136
|
const {
|
|
137
|
-
bindI18n:
|
|
137
|
+
bindI18n: f,
|
|
138
138
|
bindI18nStore: x
|
|
139
139
|
} = c;
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
}) :
|
|
143
|
-
|
|
144
|
-
})), l &&
|
|
140
|
+
y.current = !0, !l && !a && (e.lng ? Y1(o, e.lng, d, () => {
|
|
141
|
+
y.current && v(p);
|
|
142
|
+
}) : P1(o, d, () => {
|
|
143
|
+
y.current && v(p);
|
|
144
|
+
})), l && b && b !== m && y.current && v(p);
|
|
145
145
|
const _ = () => {
|
|
146
|
-
|
|
146
|
+
y.current && v(p);
|
|
147
147
|
};
|
|
148
|
-
return
|
|
149
|
-
|
|
148
|
+
return f && o && o.on(f, _), x && o && o.store.on(x, _), () => {
|
|
149
|
+
y.current = !1, f && o && f.split(" ").forEach((R) => o.off(R, _)), x && o && x.split(" ").forEach((R) => o.store.off(R, _));
|
|
150
150
|
};
|
|
151
|
-
}, [o, m]),
|
|
152
|
-
|
|
151
|
+
}, [o, m]), G(() => {
|
|
152
|
+
y.current && l && v(g);
|
|
153
153
|
}, [o, C, l]);
|
|
154
|
-
const A = [
|
|
155
|
-
if (A.t =
|
|
156
|
-
throw new Promise((
|
|
157
|
-
e.lng ?
|
|
154
|
+
const A = [w, o, l];
|
|
155
|
+
if (A.t = w, A.i18n = o, A.ready = l, l || !l && !a) return A;
|
|
156
|
+
throw new Promise((f) => {
|
|
157
|
+
e.lng ? Y1(o, e.lng, d, () => f()) : P1(o, d, () => f());
|
|
158
158
|
});
|
|
159
159
|
}, f1 = ({
|
|
160
160
|
children: i,
|
|
@@ -193,45 +193,102 @@ const U2 = (i, e) => {
|
|
|
193
193
|
);
|
|
194
194
|
};
|
|
195
195
|
var Q = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_1 = "var(--grey-light-1)", i.GREY_LIGHT_2 = "var(--grey-light-2)", i.GREY_LIGHT_3 = "var(--grey-light-3)", i.GREY_LIGHT_4 = "var(--grey-light-4)", i.GREY_DARK_1 = "var(--grey-dark-1)", i.GREY_DARK_2 = "var(--grey-dark-2)", i.GREY_DARK_3 = "var(--grey-dark-3)", i.GREY_DARK_4 = "var(--grey-dark-4)", i.GREY_DARK_5 = "var(--grey-dark-5)", i.BLUE_PRIMARY = "var(--blue-primary)", i.BLUE_HOVER = "var(--blue-hover)", i.BLUE_LIGHT_1 = "var(--blue-light-1)", i.BLUE_LIGHT_2 = "var(--blue-light-2)", i.BLUE_LIGHT_3 = "var(--blue-light-3)", i.BLUE_LIGHT_4 = "var(--blue-light-4)", i.BLUE_DARK_1 = "var(--blue-dark-1)", i.BLUE_DARK_3 = "var(--blue-dark-3)", i.PURPLE_LIGHT = "var(--purple-light)", i.PURPLE_LIGHT_2 = "var(--purple-light-2)", i.PURPLE_DARK = "var(--purple-dark)", i.NOTIFICATION_WARNING_LIGHT = "var(--notification-warning-light)", i.NOTIFICATION_WARNING_DARK = "var(--notification-warning-dark)", i.NOTIFICATION_SUCCESS_LIGHT = "var(--notification-success-light)", i.NOTIFICATION_SUCCESS_DARK = "var(--notification-success-dark)", i.NOTIFICATION_ERROR_LIGHT = "var(--notification-error-light)", i.NOTIFICATION_ERROR_DARK = "var(--notification-error-dark)", i.NOTIFICATION_ERROR_DARK_MODE = "var(--notification-error-dark-mode)", i.CYAN_LIGHT = "var(--cyan-light)", i.GOLD_LIGHT = "var(--gold-light)", i))(Q || {});
|
|
196
|
-
const
|
|
196
|
+
const T1 = C1({
|
|
197
197
|
locale: "en",
|
|
198
198
|
theme: "light"
|
|
199
199
|
});
|
|
200
|
-
|
|
201
|
-
const q2 =
|
|
200
|
+
T1.Provider;
|
|
201
|
+
const { Title: q2, Text: Q2 } = G1, X2 = {
|
|
202
|
+
h1: 1,
|
|
203
|
+
h2: 2,
|
|
204
|
+
h3: 3,
|
|
205
|
+
h4: 4
|
|
206
|
+
}, e5 = d1(
|
|
207
|
+
({
|
|
208
|
+
align: i = "inherit",
|
|
209
|
+
variant: e = "body1",
|
|
210
|
+
color: t,
|
|
211
|
+
children: s,
|
|
212
|
+
onClick: n,
|
|
213
|
+
collapsed: o,
|
|
214
|
+
whiteSpace: c = "normal",
|
|
215
|
+
/** This prop allows you to enable tooltip if text size is too big */
|
|
216
|
+
trim: a = !1
|
|
217
|
+
}, C) => {
|
|
218
|
+
const d = J(null);
|
|
219
|
+
k1(C, () => d.current);
|
|
220
|
+
const [l, h] = O(!1);
|
|
221
|
+
G(() => {
|
|
222
|
+
var v;
|
|
223
|
+
if (!a) return;
|
|
224
|
+
const m = () => {
|
|
225
|
+
d.current && h(d.current.scrollWidth > d.current.clientWidth);
|
|
226
|
+
};
|
|
227
|
+
m();
|
|
228
|
+
const b = new ResizeObserver(m);
|
|
229
|
+
return d.current && b.observe(d.current), (v = d.current) != null && v.parentElement && b.observe(d.current.parentElement), () => {
|
|
230
|
+
b.disconnect();
|
|
231
|
+
};
|
|
232
|
+
}, [a]);
|
|
233
|
+
const g = e === "h1" || e === "h2" || e === "h3" || e === "h4";
|
|
234
|
+
let p = `snmt-typography snmt-typography-${e}`;
|
|
235
|
+
i && i !== "inherit" && (p += ` snmt-typography-align-${i}`), o && (p += " collapsed");
|
|
236
|
+
const w = {
|
|
237
|
+
className: p,
|
|
238
|
+
style: { color: t, whiteSpace: a ? "nowrap" : c, display: a ? "block" : "" },
|
|
239
|
+
onClick: n,
|
|
240
|
+
ref: d,
|
|
241
|
+
ellipsis: a && l ? {
|
|
242
|
+
tooltip: {
|
|
243
|
+
title: s,
|
|
244
|
+
overlayClassName: "snmt-tooltip"
|
|
245
|
+
}
|
|
246
|
+
} : void 0
|
|
247
|
+
};
|
|
248
|
+
return g ? /* @__PURE__ */ r(q2, { level: X2[e], ...w, children: s }) : /* @__PURE__ */ r(Q2, { ...w, children: s });
|
|
249
|
+
}
|
|
250
|
+
), t5 = ({
|
|
202
251
|
checked: i = !0,
|
|
203
252
|
indeterminate: e = !1,
|
|
204
253
|
children: t,
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
254
|
+
label: s,
|
|
255
|
+
onChange: n,
|
|
256
|
+
disabled: o = !1,
|
|
257
|
+
disableUncheck: c = !1
|
|
208
258
|
}) => {
|
|
209
|
-
const [
|
|
210
|
-
|
|
211
|
-
|
|
259
|
+
const [a, C] = O(i), [d, l] = O(e);
|
|
260
|
+
G(() => {
|
|
261
|
+
C(i), l(e);
|
|
212
262
|
}, [i, e]);
|
|
213
|
-
const { theme:
|
|
263
|
+
const { theme: h } = r1(T1);
|
|
214
264
|
return /* @__PURE__ */ r(
|
|
215
265
|
_2,
|
|
216
266
|
{
|
|
217
|
-
className: `snmt-checkbox snmt-checkbox-${
|
|
218
|
-
checked:
|
|
219
|
-
indeterminate:
|
|
220
|
-
onChange: (
|
|
221
|
-
|
|
267
|
+
className: `snmt-checkbox snmt-checkbox-${h}`,
|
|
268
|
+
checked: a,
|
|
269
|
+
indeterminate: d,
|
|
270
|
+
onChange: (g) => {
|
|
271
|
+
c && a || (l(!1), C(g.target.checked), n && n(g));
|
|
222
272
|
},
|
|
223
|
-
disabled:
|
|
224
|
-
children: t
|
|
273
|
+
disabled: o,
|
|
274
|
+
children: t || s && /* @__PURE__ */ r(
|
|
275
|
+
e5,
|
|
276
|
+
{
|
|
277
|
+
variant: "body2",
|
|
278
|
+
color: o ? Q.GREY_DARK_2 : Q.GREY_DARK_5,
|
|
279
|
+
children: s
|
|
280
|
+
}
|
|
281
|
+
)
|
|
225
282
|
}
|
|
226
283
|
);
|
|
227
284
|
};
|
|
228
|
-
var
|
|
229
|
-
const c2 =
|
|
285
|
+
var L = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_1 = "var(--grey-light-1)", i.GREY_LIGHT_2 = "var(--grey-light-2)", i.GREY_LIGHT_3 = "var(--grey-light-3)", i.GREY_LIGHT_4 = "var(--grey-light-4)", i.GREY_DARK_1 = "var(--grey-dark-1)", i.GREY_DARK_2 = "var(--grey-dark-2)", i.GREY_DARK_3 = "var(--grey-dark-3)", i.GREY_DARK_4 = "var(--grey-dark-4)", i.GREY_DARK_5 = "var(--grey-dark-5)", i.BLUE_PRIMARY = "var(--blue-primary)", i.BLUE_HOVER = "var(--blue-hover)", i.BLUE_LIGHT_1 = "var(--blue-light-1)", i.BLUE_LIGHT_2 = "var(--blue-light-2)", i.BLUE_LIGHT_3 = "var(--blue-light-3)", i.BLUE_LIGHT_4 = "var(--blue-light-4)", i.BLUE_DARK_1 = "var(--blue-dark-1)", i.BLUE_DARK_3 = "var(--blue-dark-3)", i.PURPLE_LIGHT = "var(--purple-light)", i.PURPLE_LIGHT_2 = "var(--purple-light-2)", i.PURPLE_DARK = "var(--purple-dark)", i.NOTIFICATION_WARNING_LIGHT = "var(--notification-warning-light)", i.NOTIFICATION_WARNING_DARK = "var(--notification-warning-dark)", i.NOTIFICATION_SUCCESS_LIGHT = "var(--notification-success-light)", i.NOTIFICATION_SUCCESS_DARK = "var(--notification-success-dark)", i.NOTIFICATION_ERROR_LIGHT = "var(--notification-error-light)", i.NOTIFICATION_ERROR_DARK = "var(--notification-error-dark)", i.NOTIFICATION_ERROR_DARK_MODE = "var(--notification-error-dark-mode)", i.CYAN_LIGHT = "var(--cyan-light)", i.GOLD_LIGHT = "var(--gold-light)", i))(L || {});
|
|
286
|
+
const c2 = C1({
|
|
230
287
|
locale: "en",
|
|
231
288
|
theme: "light"
|
|
232
289
|
});
|
|
233
290
|
c2.Provider;
|
|
234
|
-
const
|
|
291
|
+
const i5 = ({
|
|
235
292
|
width: i = 20,
|
|
236
293
|
height: e = 20,
|
|
237
294
|
color: t = "#001E52",
|
|
@@ -258,10 +315,10 @@ const Q2 = ({
|
|
|
258
315
|
}
|
|
259
316
|
)
|
|
260
317
|
}
|
|
261
|
-
),
|
|
318
|
+
), s5 = ({
|
|
262
319
|
width: i = 20,
|
|
263
320
|
height: e = 20,
|
|
264
|
-
color: t =
|
|
321
|
+
color: t = L.GREY_DARK_5,
|
|
265
322
|
className: s,
|
|
266
323
|
onClick: n
|
|
267
324
|
}) => /* @__PURE__ */ u(
|
|
@@ -298,7 +355,7 @@ const Q2 = ({
|
|
|
298
355
|
)
|
|
299
356
|
]
|
|
300
357
|
}
|
|
301
|
-
),
|
|
358
|
+
), n5 = ({
|
|
302
359
|
width: i = 20,
|
|
303
360
|
height: e = 20,
|
|
304
361
|
color: t = "#001E52",
|
|
@@ -333,10 +390,10 @@ const Q2 = ({
|
|
|
333
390
|
)
|
|
334
391
|
]
|
|
335
392
|
}
|
|
336
|
-
),
|
|
393
|
+
), r5 = ({
|
|
337
394
|
width: i = 20,
|
|
338
395
|
height: e = 20,
|
|
339
|
-
color: t =
|
|
396
|
+
color: t = L.GREY_DARK_5,
|
|
340
397
|
className: s,
|
|
341
398
|
onClick: n
|
|
342
399
|
}) => /* @__PURE__ */ u(
|
|
@@ -360,10 +417,10 @@ const Q2 = ({
|
|
|
360
417
|
/* @__PURE__ */ r("defs", { children: /* @__PURE__ */ r("clipPath", { id: "clip0_1_2043", children: /* @__PURE__ */ r("rect", { width: "24", height: "24", fill: "white", transform: "translate(0.5 0.5)" }) }) })
|
|
361
418
|
]
|
|
362
419
|
}
|
|
363
|
-
),
|
|
420
|
+
), o5 = ({
|
|
364
421
|
width: i = 20,
|
|
365
422
|
height: e = 20,
|
|
366
|
-
color: t =
|
|
423
|
+
color: t = L.GREY_DARK_5,
|
|
367
424
|
className: s,
|
|
368
425
|
onClick: n
|
|
369
426
|
}) => /* @__PURE__ */ r(
|
|
@@ -384,10 +441,10 @@ const Q2 = ({
|
|
|
384
441
|
}
|
|
385
442
|
)
|
|
386
443
|
}
|
|
387
|
-
),
|
|
444
|
+
), a5 = ({
|
|
388
445
|
width: i = 20,
|
|
389
446
|
height: e = 20,
|
|
390
|
-
color: t =
|
|
447
|
+
color: t = L.GREY_DARK_5,
|
|
391
448
|
className: s,
|
|
392
449
|
onClick: n
|
|
393
450
|
}) => /* @__PURE__ */ u(
|
|
@@ -411,10 +468,10 @@ const Q2 = ({
|
|
|
411
468
|
/* @__PURE__ */ r("defs", { children: /* @__PURE__ */ r("clipPath", { id: "clip0_1_2039", children: /* @__PURE__ */ r("rect", { width: "24", height: "24", fill: "white", transform: "translate(0.5 0.5)" }) }) })
|
|
412
469
|
]
|
|
413
470
|
}
|
|
414
|
-
),
|
|
471
|
+
), l5 = ({
|
|
415
472
|
width: i = 20,
|
|
416
473
|
height: e = 20,
|
|
417
|
-
color: t =
|
|
474
|
+
color: t = L.GREY_DARK_5,
|
|
418
475
|
className: s,
|
|
419
476
|
onClick: n
|
|
420
477
|
}) => /* @__PURE__ */ r(
|
|
@@ -435,10 +492,10 @@ const Q2 = ({
|
|
|
435
492
|
}
|
|
436
493
|
)
|
|
437
494
|
}
|
|
438
|
-
),
|
|
495
|
+
), h5 = ({
|
|
439
496
|
width: i = 20,
|
|
440
497
|
height: e = 20,
|
|
441
|
-
color: t =
|
|
498
|
+
color: t = L.GREY_DARK_5,
|
|
442
499
|
className: s,
|
|
443
500
|
onClick: n
|
|
444
501
|
}) => /* @__PURE__ */ u(
|
|
@@ -482,10 +539,10 @@ const Q2 = ({
|
|
|
482
539
|
)
|
|
483
540
|
]
|
|
484
541
|
}
|
|
485
|
-
),
|
|
542
|
+
), c5 = ({
|
|
486
543
|
width: i = 20,
|
|
487
544
|
height: e = 20,
|
|
488
|
-
color: t =
|
|
545
|
+
color: t = L.GREY_DARK_5,
|
|
489
546
|
className: s,
|
|
490
547
|
onClick: n
|
|
491
548
|
}) => /* @__PURE__ */ r(
|
|
@@ -506,10 +563,10 @@ const Q2 = ({
|
|
|
506
563
|
}
|
|
507
564
|
)
|
|
508
565
|
}
|
|
509
|
-
),
|
|
566
|
+
), d5 = ({
|
|
510
567
|
width: i = 20,
|
|
511
568
|
height: e = 20,
|
|
512
|
-
color: t =
|
|
569
|
+
color: t = L.GREY_DARK_5,
|
|
513
570
|
className: s,
|
|
514
571
|
onClick: n
|
|
515
572
|
}) => /* @__PURE__ */ r(
|
|
@@ -530,10 +587,10 @@ const Q2 = ({
|
|
|
530
587
|
}
|
|
531
588
|
)
|
|
532
589
|
}
|
|
533
|
-
),
|
|
590
|
+
), C5 = ({
|
|
534
591
|
width: i = 20,
|
|
535
592
|
height: e = 20,
|
|
536
|
-
color: t =
|
|
593
|
+
color: t = L.GREY_DARK_5,
|
|
537
594
|
className: s,
|
|
538
595
|
onClick: n
|
|
539
596
|
}) => /* @__PURE__ */ r(
|
|
@@ -554,10 +611,10 @@ const Q2 = ({
|
|
|
554
611
|
}
|
|
555
612
|
)
|
|
556
613
|
}
|
|
557
|
-
),
|
|
614
|
+
), g5 = ({
|
|
558
615
|
width: i = 20,
|
|
559
616
|
height: e = 20,
|
|
560
|
-
color: t =
|
|
617
|
+
color: t = L.GREY_DARK_5,
|
|
561
618
|
className: s,
|
|
562
619
|
onClick: n
|
|
563
620
|
}) => /* @__PURE__ */ u(
|
|
@@ -615,10 +672,10 @@ const Q2 = ({
|
|
|
615
672
|
)
|
|
616
673
|
]
|
|
617
674
|
}
|
|
618
|
-
),
|
|
675
|
+
), u5 = ({
|
|
619
676
|
width: i = 20,
|
|
620
677
|
height: e = 20,
|
|
621
|
-
color: t =
|
|
678
|
+
color: t = L.GREY_DARK_5,
|
|
622
679
|
className: s,
|
|
623
680
|
onClick: n
|
|
624
681
|
}) => /* @__PURE__ */ u(
|
|
@@ -662,10 +719,10 @@ const Q2 = ({
|
|
|
662
719
|
)
|
|
663
720
|
]
|
|
664
721
|
}
|
|
665
|
-
),
|
|
722
|
+
), p5 = ({
|
|
666
723
|
width: i = 20,
|
|
667
724
|
height: e = 20,
|
|
668
|
-
color: t =
|
|
725
|
+
color: t = L.GREY_DARK_5,
|
|
669
726
|
className: s,
|
|
670
727
|
onClick: n
|
|
671
728
|
}) => /* @__PURE__ */ u(
|
|
@@ -702,10 +759,10 @@ const Q2 = ({
|
|
|
702
759
|
)
|
|
703
760
|
]
|
|
704
761
|
}
|
|
705
|
-
),
|
|
762
|
+
), f5 = ({
|
|
706
763
|
width: i = 20,
|
|
707
764
|
height: e = 20,
|
|
708
|
-
color: t =
|
|
765
|
+
color: t = L.GREY_DARK_5,
|
|
709
766
|
className: s,
|
|
710
767
|
onClick: n
|
|
711
768
|
}) => /* @__PURE__ */ u(
|
|
@@ -742,10 +799,10 @@ const Q2 = ({
|
|
|
742
799
|
)
|
|
743
800
|
]
|
|
744
801
|
}
|
|
745
|
-
),
|
|
802
|
+
), m5 = ({
|
|
746
803
|
width: i = 20,
|
|
747
804
|
height: e = 20,
|
|
748
|
-
color: t =
|
|
805
|
+
color: t = L.GREY_DARK_5,
|
|
749
806
|
className: s,
|
|
750
807
|
onClick: n
|
|
751
808
|
}) => /* @__PURE__ */ u(
|
|
@@ -789,10 +846,10 @@ const Q2 = ({
|
|
|
789
846
|
)
|
|
790
847
|
]
|
|
791
848
|
}
|
|
792
|
-
),
|
|
849
|
+
), w5 = ({
|
|
793
850
|
width: i = 20,
|
|
794
851
|
height: e = 20,
|
|
795
|
-
color: t =
|
|
852
|
+
color: t = L.GREY_DARK_5,
|
|
796
853
|
className: s,
|
|
797
854
|
onClick: n
|
|
798
855
|
}) => /* @__PURE__ */ u(
|
|
@@ -836,10 +893,10 @@ const Q2 = ({
|
|
|
836
893
|
)
|
|
837
894
|
]
|
|
838
895
|
}
|
|
839
|
-
),
|
|
896
|
+
), L5 = ({
|
|
840
897
|
width: i = 20,
|
|
841
898
|
height: e = 20,
|
|
842
|
-
color: t =
|
|
899
|
+
color: t = L.GREY_DARK_5,
|
|
843
900
|
className: s,
|
|
844
901
|
onClick: n
|
|
845
902
|
}) => /* @__PURE__ */ u(
|
|
@@ -883,10 +940,10 @@ const Q2 = ({
|
|
|
883
940
|
)
|
|
884
941
|
]
|
|
885
942
|
}
|
|
886
|
-
),
|
|
943
|
+
), k5 = ({
|
|
887
944
|
width: i = 20,
|
|
888
945
|
height: e = 20,
|
|
889
|
-
color: t =
|
|
946
|
+
color: t = L.GREY_DARK_5,
|
|
890
947
|
className: s,
|
|
891
948
|
onClick: n
|
|
892
949
|
}) => /* @__PURE__ */ u(
|
|
@@ -923,10 +980,10 @@ const Q2 = ({
|
|
|
923
980
|
)
|
|
924
981
|
]
|
|
925
982
|
}
|
|
926
|
-
),
|
|
983
|
+
), v5 = ({
|
|
927
984
|
width: i = 20,
|
|
928
985
|
height: e = 20,
|
|
929
|
-
color: t =
|
|
986
|
+
color: t = L.GREY_DARK_5,
|
|
930
987
|
className: s,
|
|
931
988
|
onClick: n
|
|
932
989
|
}) => /* @__PURE__ */ u(
|
|
@@ -956,10 +1013,10 @@ const Q2 = ({
|
|
|
956
1013
|
)
|
|
957
1014
|
]
|
|
958
1015
|
}
|
|
959
|
-
),
|
|
1016
|
+
), N5 = ({
|
|
960
1017
|
width: i = 20,
|
|
961
1018
|
height: e = 20,
|
|
962
|
-
color: t =
|
|
1019
|
+
color: t = L.GREY_DARK_5,
|
|
963
1020
|
className: s,
|
|
964
1021
|
onClick: n
|
|
965
1022
|
}) => /* @__PURE__ */ u(
|
|
@@ -989,10 +1046,10 @@ const Q2 = ({
|
|
|
989
1046
|
)
|
|
990
1047
|
]
|
|
991
1048
|
}
|
|
992
|
-
),
|
|
1049
|
+
), R5 = ({
|
|
993
1050
|
width: i = 20,
|
|
994
1051
|
height: e = 20,
|
|
995
|
-
color: t =
|
|
1052
|
+
color: t = L.GREY_DARK_5,
|
|
996
1053
|
className: s,
|
|
997
1054
|
onClick: n
|
|
998
1055
|
}) => /* @__PURE__ */ u(
|
|
@@ -1022,10 +1079,10 @@ const Q2 = ({
|
|
|
1022
1079
|
)
|
|
1023
1080
|
]
|
|
1024
1081
|
}
|
|
1025
|
-
),
|
|
1082
|
+
), x5 = ({
|
|
1026
1083
|
width: i = 20,
|
|
1027
1084
|
height: e = 20,
|
|
1028
|
-
color: t =
|
|
1085
|
+
color: t = L.GREY_DARK_5,
|
|
1029
1086
|
className: s,
|
|
1030
1087
|
onClick: n
|
|
1031
1088
|
}) => /* @__PURE__ */ u(
|
|
@@ -1055,10 +1112,10 @@ const Q2 = ({
|
|
|
1055
1112
|
)
|
|
1056
1113
|
]
|
|
1057
1114
|
}
|
|
1058
|
-
),
|
|
1115
|
+
), _5 = ({
|
|
1059
1116
|
width: i = 20,
|
|
1060
1117
|
height: e = 20,
|
|
1061
|
-
color: t =
|
|
1118
|
+
color: t = L.GREY_DARK_5,
|
|
1062
1119
|
className: s,
|
|
1063
1120
|
onClick: n
|
|
1064
1121
|
}) => /* @__PURE__ */ u(
|
|
@@ -1095,10 +1152,10 @@ const Q2 = ({
|
|
|
1095
1152
|
)
|
|
1096
1153
|
]
|
|
1097
1154
|
}
|
|
1098
|
-
),
|
|
1155
|
+
), M5 = ({
|
|
1099
1156
|
width: i = 20,
|
|
1100
1157
|
height: e = 20,
|
|
1101
|
-
color: t =
|
|
1158
|
+
color: t = L.GREY_DARK_5,
|
|
1102
1159
|
className: s,
|
|
1103
1160
|
onClick: n
|
|
1104
1161
|
}) => /* @__PURE__ */ u(
|
|
@@ -1128,10 +1185,10 @@ const Q2 = ({
|
|
|
1128
1185
|
)
|
|
1129
1186
|
]
|
|
1130
1187
|
}
|
|
1131
|
-
),
|
|
1188
|
+
), b5 = ({
|
|
1132
1189
|
width: i = 20,
|
|
1133
1190
|
height: e = 20,
|
|
1134
|
-
color: t =
|
|
1191
|
+
color: t = L.GREY_DARK_5,
|
|
1135
1192
|
className: s,
|
|
1136
1193
|
onClick: n
|
|
1137
1194
|
}) => /* @__PURE__ */ u(
|
|
@@ -1161,7 +1218,7 @@ const Q2 = ({
|
|
|
1161
1218
|
)
|
|
1162
1219
|
]
|
|
1163
1220
|
}
|
|
1164
|
-
),
|
|
1221
|
+
), y5 = ({
|
|
1165
1222
|
width: i = 20,
|
|
1166
1223
|
height: e = 20,
|
|
1167
1224
|
color: t = "#070739",
|
|
@@ -1191,7 +1248,7 @@ const Q2 = ({
|
|
|
1191
1248
|
/* @__PURE__ */ r("circle", { cx: "10", cy: "10", r: "2.375", stroke: t, strokeWidth: "1.25" })
|
|
1192
1249
|
]
|
|
1193
1250
|
}
|
|
1194
|
-
),
|
|
1251
|
+
), H5 = ({
|
|
1195
1252
|
width: i = 20,
|
|
1196
1253
|
height: e = 20,
|
|
1197
1254
|
color: t = "#070739",
|
|
@@ -1229,7 +1286,7 @@ const Q2 = ({
|
|
|
1229
1286
|
)
|
|
1230
1287
|
]
|
|
1231
1288
|
}
|
|
1232
|
-
),
|
|
1289
|
+
), E5 = ({
|
|
1233
1290
|
width: i = 9,
|
|
1234
1291
|
height: e = 5,
|
|
1235
1292
|
color: t = "#001E52",
|
|
@@ -1255,7 +1312,7 @@ const Q2 = ({
|
|
|
1255
1312
|
}
|
|
1256
1313
|
)
|
|
1257
1314
|
}
|
|
1258
|
-
),
|
|
1315
|
+
), V5 = ({
|
|
1259
1316
|
width: i = 20,
|
|
1260
1317
|
height: e = 20,
|
|
1261
1318
|
color: t = "#F2F2F7",
|
|
@@ -1284,7 +1341,7 @@ const Q2 = ({
|
|
|
1284
1341
|
)
|
|
1285
1342
|
]
|
|
1286
1343
|
}
|
|
1287
|
-
),
|
|
1344
|
+
), I5 = ({
|
|
1288
1345
|
width: i = 20,
|
|
1289
1346
|
height: e = 20,
|
|
1290
1347
|
color: t = "#004ED7",
|
|
@@ -1313,7 +1370,7 @@ const Q2 = ({
|
|
|
1313
1370
|
)
|
|
1314
1371
|
]
|
|
1315
1372
|
}
|
|
1316
|
-
),
|
|
1373
|
+
), A5 = ({
|
|
1317
1374
|
width: i = 10,
|
|
1318
1375
|
height: e = 10,
|
|
1319
1376
|
color: t = "#001E52",
|
|
@@ -1342,7 +1399,7 @@ const Q2 = ({
|
|
|
1342
1399
|
)
|
|
1343
1400
|
]
|
|
1344
1401
|
}
|
|
1345
|
-
),
|
|
1402
|
+
), O5 = ({
|
|
1346
1403
|
width: i = 10,
|
|
1347
1404
|
height: e = 10,
|
|
1348
1405
|
color: t = "#001E52",
|
|
@@ -1379,9 +1436,9 @@ const Q2 = ({
|
|
|
1379
1436
|
)
|
|
1380
1437
|
]
|
|
1381
1438
|
}
|
|
1382
|
-
),
|
|
1439
|
+
), Z5 = ({
|
|
1383
1440
|
className: i,
|
|
1384
|
-
color: e =
|
|
1441
|
+
color: e = L.GREY_DARK_5,
|
|
1385
1442
|
height: t = 20,
|
|
1386
1443
|
width: s = 20,
|
|
1387
1444
|
onClick: n
|
|
@@ -1412,9 +1469,9 @@ const Q2 = ({
|
|
|
1412
1469
|
)
|
|
1413
1470
|
]
|
|
1414
1471
|
}
|
|
1415
|
-
),
|
|
1472
|
+
), S5 = ({
|
|
1416
1473
|
className: i,
|
|
1417
|
-
color: e =
|
|
1474
|
+
color: e = L.GREY_DARK_5,
|
|
1418
1475
|
height: t = 20,
|
|
1419
1476
|
width: s = 20,
|
|
1420
1477
|
onClick: n
|
|
@@ -1439,9 +1496,9 @@ const Q2 = ({
|
|
|
1439
1496
|
}
|
|
1440
1497
|
)
|
|
1441
1498
|
}
|
|
1442
|
-
),
|
|
1499
|
+
), D5 = ({
|
|
1443
1500
|
className: i,
|
|
1444
|
-
color: e =
|
|
1501
|
+
color: e = L.GREY_DARK_5,
|
|
1445
1502
|
height: t = 20,
|
|
1446
1503
|
width: s = 20,
|
|
1447
1504
|
onClick: n
|
|
@@ -1466,9 +1523,9 @@ const Q2 = ({
|
|
|
1466
1523
|
}
|
|
1467
1524
|
)
|
|
1468
1525
|
}
|
|
1469
|
-
),
|
|
1526
|
+
), G5 = ({
|
|
1470
1527
|
className: i,
|
|
1471
|
-
color: e =
|
|
1528
|
+
color: e = L.GREY_DARK_5,
|
|
1472
1529
|
height: t = 5,
|
|
1473
1530
|
width: s = 10,
|
|
1474
1531
|
onClick: n
|
|
@@ -1490,9 +1547,9 @@ const Q2 = ({
|
|
|
1490
1547
|
}
|
|
1491
1548
|
)
|
|
1492
1549
|
}
|
|
1493
|
-
),
|
|
1550
|
+
), T5 = ({
|
|
1494
1551
|
className: i,
|
|
1495
|
-
color: e =
|
|
1552
|
+
color: e = L.GREY_DARK_5,
|
|
1496
1553
|
height: t = 5,
|
|
1497
1554
|
width: s = 10,
|
|
1498
1555
|
onClick: n
|
|
@@ -1515,9 +1572,9 @@ const Q2 = ({
|
|
|
1515
1572
|
}
|
|
1516
1573
|
)
|
|
1517
1574
|
}
|
|
1518
|
-
),
|
|
1575
|
+
), K5 = ({
|
|
1519
1576
|
className: i,
|
|
1520
|
-
color: e =
|
|
1577
|
+
color: e = L.GREY_DARK_5,
|
|
1521
1578
|
height: t = 20,
|
|
1522
1579
|
width: s = 20,
|
|
1523
1580
|
onClick: n
|
|
@@ -1548,9 +1605,9 @@ const Q2 = ({
|
|
|
1548
1605
|
)
|
|
1549
1606
|
]
|
|
1550
1607
|
}
|
|
1551
|
-
),
|
|
1608
|
+
), B5 = ({
|
|
1552
1609
|
className: i,
|
|
1553
|
-
color: e =
|
|
1610
|
+
color: e = L.GREY_DARK_5,
|
|
1554
1611
|
height: t = 24,
|
|
1555
1612
|
width: s = 24,
|
|
1556
1613
|
onClick: n
|
|
@@ -1587,9 +1644,9 @@ const Q2 = ({
|
|
|
1587
1644
|
)
|
|
1588
1645
|
]
|
|
1589
1646
|
}
|
|
1590
|
-
),
|
|
1647
|
+
), P5 = ({
|
|
1591
1648
|
className: i,
|
|
1592
|
-
color: e =
|
|
1649
|
+
color: e = L.GREY_DARK_5,
|
|
1593
1650
|
height: t = 24,
|
|
1594
1651
|
width: s = 24,
|
|
1595
1652
|
onClick: n
|
|
@@ -1614,9 +1671,9 @@ const Q2 = ({
|
|
|
1614
1671
|
}
|
|
1615
1672
|
)
|
|
1616
1673
|
}
|
|
1617
|
-
),
|
|
1674
|
+
), Y5 = ({
|
|
1618
1675
|
className: i,
|
|
1619
|
-
color: e =
|
|
1676
|
+
color: e = L.GREY_DARK_5,
|
|
1620
1677
|
height: t = 24,
|
|
1621
1678
|
width: s = 24,
|
|
1622
1679
|
onClick: n
|
|
@@ -1673,9 +1730,9 @@ const Q2 = ({
|
|
|
1673
1730
|
)
|
|
1674
1731
|
]
|
|
1675
1732
|
}
|
|
1676
|
-
),
|
|
1733
|
+
), $5 = ({
|
|
1677
1734
|
className: i,
|
|
1678
|
-
color: e =
|
|
1735
|
+
color: e = L.GREY_DARK_5,
|
|
1679
1736
|
height: t = 24,
|
|
1680
1737
|
width: s = 24,
|
|
1681
1738
|
onClick: n
|
|
@@ -1710,9 +1767,9 @@ const Q2 = ({
|
|
|
1710
1767
|
)
|
|
1711
1768
|
]
|
|
1712
1769
|
}
|
|
1713
|
-
),
|
|
1770
|
+
), j5 = ({
|
|
1714
1771
|
className: i,
|
|
1715
|
-
color: e =
|
|
1772
|
+
color: e = L.GREY_DARK_3,
|
|
1716
1773
|
height: t = 14,
|
|
1717
1774
|
width: s = 14,
|
|
1718
1775
|
onClick: n
|
|
@@ -1747,9 +1804,9 @@ const Q2 = ({
|
|
|
1747
1804
|
)
|
|
1748
1805
|
]
|
|
1749
1806
|
}
|
|
1750
|
-
),
|
|
1807
|
+
), F5 = ({
|
|
1751
1808
|
className: i,
|
|
1752
|
-
color: e =
|
|
1809
|
+
color: e = L.GREY_DARK_5,
|
|
1753
1810
|
height: t = 18,
|
|
1754
1811
|
onClick: s,
|
|
1755
1812
|
width: n = 18
|
|
@@ -1774,9 +1831,9 @@ const Q2 = ({
|
|
|
1774
1831
|
}
|
|
1775
1832
|
)
|
|
1776
1833
|
}
|
|
1777
|
-
),
|
|
1834
|
+
), W5 = ({
|
|
1778
1835
|
className: i,
|
|
1779
|
-
color: e =
|
|
1836
|
+
color: e = L.GREY_DARK_5,
|
|
1780
1837
|
height: t = 24,
|
|
1781
1838
|
width: s = 24,
|
|
1782
1839
|
onClick: n
|
|
@@ -1826,9 +1883,9 @@ const Q2 = ({
|
|
|
1826
1883
|
)
|
|
1827
1884
|
]
|
|
1828
1885
|
}
|
|
1829
|
-
),
|
|
1886
|
+
), U5 = ({
|
|
1830
1887
|
className: i,
|
|
1831
|
-
color: e =
|
|
1888
|
+
color: e = L.GREY_DARK_5,
|
|
1832
1889
|
height: t = 24,
|
|
1833
1890
|
width: s = 24,
|
|
1834
1891
|
onClick: n
|
|
@@ -1863,9 +1920,9 @@ const Q2 = ({
|
|
|
1863
1920
|
)
|
|
1864
1921
|
]
|
|
1865
1922
|
}
|
|
1866
|
-
),
|
|
1923
|
+
), z5 = ({
|
|
1867
1924
|
className: i,
|
|
1868
|
-
color: e =
|
|
1925
|
+
color: e = L.NOTIFICATION_WARNING_DARK,
|
|
1869
1926
|
height: t = 37,
|
|
1870
1927
|
width: s = 36,
|
|
1871
1928
|
onClick: n
|
|
@@ -1902,9 +1959,9 @@ const Q2 = ({
|
|
|
1902
1959
|
)
|
|
1903
1960
|
]
|
|
1904
1961
|
}
|
|
1905
|
-
),
|
|
1962
|
+
), J5 = ({
|
|
1906
1963
|
className: i,
|
|
1907
|
-
color: e =
|
|
1964
|
+
color: e = L.GREY_DARK_5,
|
|
1908
1965
|
height: t = 24,
|
|
1909
1966
|
width: s = 24,
|
|
1910
1967
|
onClick: n
|
|
@@ -1928,9 +1985,9 @@ const Q2 = ({
|
|
|
1928
1985
|
}
|
|
1929
1986
|
)
|
|
1930
1987
|
}
|
|
1931
|
-
),
|
|
1988
|
+
), q5 = ({
|
|
1932
1989
|
className: i,
|
|
1933
|
-
color: e =
|
|
1990
|
+
color: e = L.GREY_DARK_5,
|
|
1934
1991
|
height: t = 24,
|
|
1935
1992
|
width: s = 24,
|
|
1936
1993
|
onClick: n
|
|
@@ -1967,9 +2024,9 @@ const Q2 = ({
|
|
|
1967
2024
|
)
|
|
1968
2025
|
]
|
|
1969
2026
|
}
|
|
1970
|
-
),
|
|
2027
|
+
), Q5 = ({
|
|
1971
2028
|
className: i,
|
|
1972
|
-
color: e =
|
|
2029
|
+
color: e = L.GREY_DARK_5,
|
|
1973
2030
|
height: t = 20,
|
|
1974
2031
|
width: s = 20,
|
|
1975
2032
|
onClick: n
|
|
@@ -2000,9 +2057,9 @@ const Q2 = ({
|
|
|
2000
2057
|
)
|
|
2001
2058
|
]
|
|
2002
2059
|
}
|
|
2003
|
-
),
|
|
2060
|
+
), X5 = ({
|
|
2004
2061
|
className: i,
|
|
2005
|
-
color: e =
|
|
2062
|
+
color: e = L.GREY_DARK_5,
|
|
2006
2063
|
height: t = 24,
|
|
2007
2064
|
width: s = 24,
|
|
2008
2065
|
onClick: n
|
|
@@ -2069,9 +2126,9 @@ const Q2 = ({
|
|
|
2069
2126
|
)
|
|
2070
2127
|
]
|
|
2071
2128
|
}
|
|
2072
|
-
),
|
|
2129
|
+
), ee = ({
|
|
2073
2130
|
className: i,
|
|
2074
|
-
color: e =
|
|
2131
|
+
color: e = L.GREY_DARK_5,
|
|
2075
2132
|
height: t = 24,
|
|
2076
2133
|
width: s = 24,
|
|
2077
2134
|
onClick: n
|
|
@@ -2126,9 +2183,9 @@ const Q2 = ({
|
|
|
2126
2183
|
)
|
|
2127
2184
|
]
|
|
2128
2185
|
}
|
|
2129
|
-
),
|
|
2186
|
+
), te = ({
|
|
2130
2187
|
className: i,
|
|
2131
|
-
color: e =
|
|
2188
|
+
color: e = L.GREY_DARK_5,
|
|
2132
2189
|
height: t = 24,
|
|
2133
2190
|
width: s = 24,
|
|
2134
2191
|
onClick: n
|
|
@@ -2175,9 +2232,9 @@ const Q2 = ({
|
|
|
2175
2232
|
)
|
|
2176
2233
|
]
|
|
2177
2234
|
}
|
|
2178
|
-
),
|
|
2235
|
+
), ie = ({
|
|
2179
2236
|
className: i,
|
|
2180
|
-
color: e =
|
|
2237
|
+
color: e = L.GREY_DARK_5,
|
|
2181
2238
|
height: t = 24,
|
|
2182
2239
|
width: s = 24,
|
|
2183
2240
|
onClick: n
|
|
@@ -2202,9 +2259,9 @@ const Q2 = ({
|
|
|
2202
2259
|
}
|
|
2203
2260
|
)
|
|
2204
2261
|
}
|
|
2205
|
-
),
|
|
2262
|
+
), se = ({
|
|
2206
2263
|
className: i,
|
|
2207
|
-
color: e =
|
|
2264
|
+
color: e = L.GREY_DARK_5,
|
|
2208
2265
|
height: t = 20,
|
|
2209
2266
|
width: s = 20,
|
|
2210
2267
|
onClick: n
|
|
@@ -2219,7 +2276,7 @@ const Q2 = ({
|
|
|
2219
2276
|
fill: "none",
|
|
2220
2277
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2221
2278
|
children: [
|
|
2222
|
-
/* @__PURE__ */ r("rect", { width: "20", height: "20", rx: "4", fill:
|
|
2279
|
+
/* @__PURE__ */ r("rect", { width: "20", height: "20", rx: "4", fill: L.GREY_LIGHT_2 }),
|
|
2223
2280
|
/* @__PURE__ */ r(
|
|
2224
2281
|
"path",
|
|
2225
2282
|
{
|
|
@@ -2231,7 +2288,7 @@ const Q2 = ({
|
|
|
2231
2288
|
)
|
|
2232
2289
|
]
|
|
2233
2290
|
}
|
|
2234
|
-
),
|
|
2291
|
+
), ne = ({
|
|
2235
2292
|
className: i,
|
|
2236
2293
|
color: e = "#001E52",
|
|
2237
2294
|
height: t = 24,
|
|
@@ -2257,7 +2314,7 @@ const Q2 = ({
|
|
|
2257
2314
|
}
|
|
2258
2315
|
)
|
|
2259
2316
|
}
|
|
2260
|
-
),
|
|
2317
|
+
), re = ({
|
|
2261
2318
|
className: i,
|
|
2262
2319
|
color: e = "#001E52",
|
|
2263
2320
|
height: t = 24,
|
|
@@ -2295,10 +2352,10 @@ const Q2 = ({
|
|
|
2295
2352
|
)
|
|
2296
2353
|
] }) })
|
|
2297
2354
|
}
|
|
2298
|
-
),
|
|
2355
|
+
), oe = ({
|
|
2299
2356
|
width: i = 20,
|
|
2300
2357
|
height: e = 20,
|
|
2301
|
-
color: t =
|
|
2358
|
+
color: t = L.GREY_DARK_5,
|
|
2302
2359
|
className: s,
|
|
2303
2360
|
onClick: n
|
|
2304
2361
|
}) => /* @__PURE__ */ r(
|
|
@@ -2319,7 +2376,7 @@ const Q2 = ({
|
|
|
2319
2376
|
}
|
|
2320
2377
|
)
|
|
2321
2378
|
}
|
|
2322
|
-
),
|
|
2379
|
+
), ae = ({
|
|
2323
2380
|
width: i = 24,
|
|
2324
2381
|
height: e = 24,
|
|
2325
2382
|
color: t = "#131314",
|
|
@@ -2352,10 +2409,10 @@ const Q2 = ({
|
|
|
2352
2409
|
)
|
|
2353
2410
|
]
|
|
2354
2411
|
}
|
|
2355
|
-
),
|
|
2412
|
+
), le = ({
|
|
2356
2413
|
width: i = 20,
|
|
2357
2414
|
height: e = 20,
|
|
2358
|
-
color: t =
|
|
2415
|
+
color: t = L.GREY_DARK_5,
|
|
2359
2416
|
className: s,
|
|
2360
2417
|
onClick: n
|
|
2361
2418
|
}) => /* @__PURE__ */ u(
|
|
@@ -2385,10 +2442,10 @@ const Q2 = ({
|
|
|
2385
2442
|
)
|
|
2386
2443
|
]
|
|
2387
2444
|
}
|
|
2388
|
-
),
|
|
2445
|
+
), he = ({
|
|
2389
2446
|
width: i = 24,
|
|
2390
2447
|
height: e = 24,
|
|
2391
|
-
color: t =
|
|
2448
|
+
color: t = L.GREY_DARK_2,
|
|
2392
2449
|
className: s,
|
|
2393
2450
|
onClick: n
|
|
2394
2451
|
}) => /* @__PURE__ */ u(
|
|
@@ -2425,10 +2482,10 @@ const Q2 = ({
|
|
|
2425
2482
|
)
|
|
2426
2483
|
]
|
|
2427
2484
|
}
|
|
2428
|
-
),
|
|
2485
|
+
), ce = ({
|
|
2429
2486
|
width: i = 24,
|
|
2430
2487
|
height: e = 24,
|
|
2431
|
-
color: t =
|
|
2488
|
+
color: t = L.GREY_DARK_2,
|
|
2432
2489
|
className: s,
|
|
2433
2490
|
onClick: n
|
|
2434
2491
|
}) => /* @__PURE__ */ r(
|
|
@@ -2452,10 +2509,10 @@ const Q2 = ({
|
|
|
2452
2509
|
}
|
|
2453
2510
|
)
|
|
2454
2511
|
}
|
|
2455
|
-
),
|
|
2512
|
+
), de = ({
|
|
2456
2513
|
width: i = 24,
|
|
2457
2514
|
height: e = 24,
|
|
2458
|
-
color: t =
|
|
2515
|
+
color: t = L.GREY_DARK_2,
|
|
2459
2516
|
className: s,
|
|
2460
2517
|
onClick: n
|
|
2461
2518
|
}) => /* @__PURE__ */ r(
|
|
@@ -2479,7 +2536,7 @@ const Q2 = ({
|
|
|
2479
2536
|
}
|
|
2480
2537
|
)
|
|
2481
2538
|
}
|
|
2482
|
-
),
|
|
2539
|
+
), u1 = ({
|
|
2483
2540
|
name: i,
|
|
2484
2541
|
width: e,
|
|
2485
2542
|
height: t,
|
|
@@ -2488,8 +2545,8 @@ const Q2 = ({
|
|
|
2488
2545
|
disabled: o = !1,
|
|
2489
2546
|
onClick: c
|
|
2490
2547
|
}) => {
|
|
2491
|
-
const [a, C] =
|
|
2492
|
-
return
|
|
2548
|
+
const [a, C] = O(n), { theme: d } = r1(c2), l = o ? d && d === "dark" ? L.GREY_LIGHT_4 : L.GREY_DARK_1 : s, h = o ? void 0 : c;
|
|
2549
|
+
return G(() => {
|
|
2493
2550
|
if (n) {
|
|
2494
2551
|
h && !o && C(`${n} clickable`);
|
|
2495
2552
|
return;
|
|
@@ -2498,35 +2555,35 @@ const Q2 = ({
|
|
|
2498
2555
|
}, [h, n, o]), /* @__PURE__ */ r(i1, { children: (() => {
|
|
2499
2556
|
switch (i) {
|
|
2500
2557
|
case "nextIcon":
|
|
2501
|
-
return
|
|
2558
|
+
return S5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2502
2559
|
case "prevIcon":
|
|
2503
|
-
return
|
|
2560
|
+
return D5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2504
2561
|
case "arrowDown":
|
|
2505
|
-
return
|
|
2562
|
+
return i5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2506
2563
|
case "info":
|
|
2507
|
-
return
|
|
2564
|
+
return s5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2508
2565
|
case "arrowRight":
|
|
2509
|
-
return
|
|
2566
|
+
return n5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2510
2567
|
case "calendar":
|
|
2511
|
-
return
|
|
2568
|
+
return h5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2512
2569
|
case "check":
|
|
2513
|
-
return
|
|
2570
|
+
return c5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2514
2571
|
case "cancel":
|
|
2515
|
-
return
|
|
2572
|
+
return d5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2516
2573
|
case "add":
|
|
2517
|
-
return
|
|
2574
|
+
return C5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2518
2575
|
case "list":
|
|
2519
|
-
return
|
|
2576
|
+
return g5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2520
2577
|
case "dragAndDrop":
|
|
2521
|
-
return
|
|
2578
|
+
return u5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2522
2579
|
case "filter":
|
|
2523
|
-
return
|
|
2580
|
+
return p5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2524
2581
|
case "attention":
|
|
2525
|
-
return
|
|
2582
|
+
return f5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2526
2583
|
case "users":
|
|
2527
|
-
return
|
|
2584
|
+
return m5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2528
2585
|
case "mySkillsMatrix":
|
|
2529
|
-
return
|
|
2586
|
+
return w5({
|
|
2530
2587
|
width: e,
|
|
2531
2588
|
height: t,
|
|
2532
2589
|
color: l,
|
|
@@ -2534,9 +2591,9 @@ const Q2 = ({
|
|
|
2534
2591
|
onClick: h
|
|
2535
2592
|
});
|
|
2536
2593
|
case "skills":
|
|
2537
|
-
return
|
|
2594
|
+
return L5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2538
2595
|
case "skillsMatrices":
|
|
2539
|
-
return
|
|
2596
|
+
return k5({
|
|
2540
2597
|
width: e,
|
|
2541
2598
|
height: t,
|
|
2542
2599
|
color: l,
|
|
@@ -2544,21 +2601,21 @@ const Q2 = ({
|
|
|
2544
2601
|
onClick: h
|
|
2545
2602
|
});
|
|
2546
2603
|
case "history":
|
|
2547
|
-
return
|
|
2604
|
+
return v5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2548
2605
|
case "logOut":
|
|
2549
|
-
return
|
|
2606
|
+
return N5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2550
2607
|
case "settings":
|
|
2551
|
-
return
|
|
2608
|
+
return R5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2552
2609
|
case "trash":
|
|
2553
|
-
return
|
|
2610
|
+
return x5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2554
2611
|
case "settings2":
|
|
2555
|
-
return
|
|
2612
|
+
return _5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2556
2613
|
case "checkCircle":
|
|
2557
|
-
return
|
|
2614
|
+
return M5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2558
2615
|
case "cancelCircle":
|
|
2559
|
-
return
|
|
2616
|
+
return b5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2560
2617
|
case "visibilityIcon":
|
|
2561
|
-
return
|
|
2618
|
+
return y5({
|
|
2562
2619
|
width: e,
|
|
2563
2620
|
height: t,
|
|
2564
2621
|
color: l,
|
|
@@ -2566,7 +2623,7 @@ const Q2 = ({
|
|
|
2566
2623
|
onClick: h
|
|
2567
2624
|
});
|
|
2568
2625
|
case "visibilityOffIcon":
|
|
2569
|
-
return
|
|
2626
|
+
return H5({
|
|
2570
2627
|
width: e,
|
|
2571
2628
|
height: t,
|
|
2572
2629
|
color: l,
|
|
@@ -2574,7 +2631,7 @@ const Q2 = ({
|
|
|
2574
2631
|
onClick: h
|
|
2575
2632
|
});
|
|
2576
2633
|
case "selectArrowIcon":
|
|
2577
|
-
return
|
|
2634
|
+
return E5({
|
|
2578
2635
|
width: e,
|
|
2579
2636
|
height: t,
|
|
2580
2637
|
color: l,
|
|
@@ -2582,7 +2639,7 @@ const Q2 = ({
|
|
|
2582
2639
|
onClick: h
|
|
2583
2640
|
});
|
|
2584
2641
|
case "expandArrowIcon":
|
|
2585
|
-
return
|
|
2642
|
+
return V5({
|
|
2586
2643
|
width: e,
|
|
2587
2644
|
height: t,
|
|
2588
2645
|
color: l,
|
|
@@ -2590,7 +2647,7 @@ const Q2 = ({
|
|
|
2590
2647
|
onClick: h
|
|
2591
2648
|
});
|
|
2592
2649
|
case "expandActiveArrowIcon":
|
|
2593
|
-
return
|
|
2650
|
+
return I5({
|
|
2594
2651
|
width: e,
|
|
2595
2652
|
height: t,
|
|
2596
2653
|
color: l,
|
|
@@ -2598,85 +2655,85 @@ const Q2 = ({
|
|
|
2598
2655
|
onClick: h
|
|
2599
2656
|
});
|
|
2600
2657
|
case "sortUp":
|
|
2601
|
-
return
|
|
2658
|
+
return A5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2602
2659
|
case "sortDown":
|
|
2603
|
-
return
|
|
2660
|
+
return O5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2604
2661
|
case "search":
|
|
2605
|
-
return E5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2606
|
-
case "arrowUpFilled":
|
|
2607
2662
|
return Z5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2663
|
+
case "arrowUpFilled":
|
|
2664
|
+
return T5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2608
2665
|
case "arrowDownFilled":
|
|
2609
|
-
return
|
|
2666
|
+
return G5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2610
2667
|
case "arrow2Up":
|
|
2611
|
-
return
|
|
2668
|
+
return r5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2612
2669
|
case "arrow2Right":
|
|
2613
|
-
return
|
|
2670
|
+
return o5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2614
2671
|
case "arrow2Down":
|
|
2615
|
-
return
|
|
2672
|
+
return a5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2616
2673
|
case "arrow2Left":
|
|
2617
|
-
return
|
|
2674
|
+
return l5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2618
2675
|
case "link":
|
|
2619
|
-
return
|
|
2676
|
+
return K5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2620
2677
|
case "telegram":
|
|
2621
|
-
return
|
|
2678
|
+
return P5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2622
2679
|
case "mail":
|
|
2623
|
-
return
|
|
2680
|
+
return $5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2624
2681
|
case "github":
|
|
2625
|
-
return
|
|
2682
|
+
return B5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2626
2683
|
case "linkedIn":
|
|
2627
|
-
return
|
|
2684
|
+
return Y5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2628
2685
|
case "emptyStateIcon":
|
|
2629
|
-
return
|
|
2686
|
+
return j5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2630
2687
|
case "filtersIcon":
|
|
2631
|
-
return
|
|
2688
|
+
return F5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2632
2689
|
case "dotMenuIcon":
|
|
2633
|
-
return
|
|
2690
|
+
return W5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2634
2691
|
case "plusCircle":
|
|
2635
|
-
return
|
|
2692
|
+
return U5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2636
2693
|
case "warning":
|
|
2637
|
-
return
|
|
2694
|
+
return z5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2638
2695
|
case "back":
|
|
2639
|
-
return
|
|
2696
|
+
return J5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2640
2697
|
case "bell":
|
|
2641
|
-
return
|
|
2698
|
+
return q5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2642
2699
|
case "copy":
|
|
2643
|
-
return
|
|
2700
|
+
return Q5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2644
2701
|
case "contract":
|
|
2645
|
-
return
|
|
2702
|
+
return X5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2646
2703
|
case "resourceManager":
|
|
2647
|
-
return
|
|
2704
|
+
return ee({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2648
2705
|
case "image":
|
|
2649
|
-
return
|
|
2706
|
+
return te({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2650
2707
|
case "edit":
|
|
2651
|
-
return
|
|
2708
|
+
return ie({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2652
2709
|
case "filledArrowRight":
|
|
2653
|
-
return
|
|
2710
|
+
return se({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2654
2711
|
case "burgerMenu":
|
|
2655
|
-
return
|
|
2712
|
+
return ne({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2656
2713
|
case "refresh":
|
|
2657
|
-
return
|
|
2714
|
+
return re({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2658
2715
|
case "projects":
|
|
2659
|
-
return
|
|
2716
|
+
return oe({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2660
2717
|
case "user":
|
|
2661
|
-
return
|
|
2718
|
+
return le({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2662
2719
|
case "exit":
|
|
2663
|
-
return
|
|
2720
|
+
return ae({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2664
2721
|
case "openPointCircle":
|
|
2665
|
-
return
|
|
2722
|
+
return he({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2666
2723
|
case "community":
|
|
2667
|
-
return
|
|
2724
|
+
return ce({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2668
2725
|
case "docs":
|
|
2669
|
-
return
|
|
2726
|
+
return de({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2670
2727
|
default:
|
|
2671
2728
|
return /* @__PURE__ */ r(i1, { children: "No Icon provided" });
|
|
2672
2729
|
}
|
|
2673
2730
|
})() });
|
|
2674
|
-
}, { Title:
|
|
2731
|
+
}, { Title: Ce, Text: ge } = G1, ue = {
|
|
2675
2732
|
h1: 1,
|
|
2676
2733
|
h2: 2,
|
|
2677
2734
|
h3: 3,
|
|
2678
2735
|
h4: 4
|
|
2679
|
-
},
|
|
2736
|
+
}, pe = d1(
|
|
2680
2737
|
({
|
|
2681
2738
|
align: i = "inherit",
|
|
2682
2739
|
variant: e = "body1",
|
|
@@ -2688,26 +2745,26 @@ const Q2 = ({
|
|
|
2688
2745
|
/** This prop allows you to enable tooltip if text size is too big */
|
|
2689
2746
|
trim: a = !1
|
|
2690
2747
|
}, C) => {
|
|
2691
|
-
const d =
|
|
2692
|
-
|
|
2693
|
-
const [l, h] =
|
|
2694
|
-
|
|
2748
|
+
const d = J(null);
|
|
2749
|
+
k1(C, () => d.current);
|
|
2750
|
+
const [l, h] = O(!1);
|
|
2751
|
+
G(() => {
|
|
2695
2752
|
var v;
|
|
2696
2753
|
if (!a) return;
|
|
2697
2754
|
const m = () => {
|
|
2698
2755
|
d.current && h(d.current.scrollWidth > d.current.clientWidth);
|
|
2699
2756
|
};
|
|
2700
2757
|
m();
|
|
2701
|
-
const
|
|
2702
|
-
return d.current &&
|
|
2703
|
-
|
|
2758
|
+
const b = new ResizeObserver(m);
|
|
2759
|
+
return d.current && b.observe(d.current), (v = d.current) != null && v.parentElement && b.observe(d.current.parentElement), () => {
|
|
2760
|
+
b.disconnect();
|
|
2704
2761
|
};
|
|
2705
2762
|
}, [a]);
|
|
2706
2763
|
const g = e === "h1" || e === "h2" || e === "h3" || e === "h4";
|
|
2707
|
-
let
|
|
2708
|
-
i && i !== "inherit" && (
|
|
2709
|
-
const
|
|
2710
|
-
className:
|
|
2764
|
+
let p = `snmt-typography snmt-typography-${e}`;
|
|
2765
|
+
i && i !== "inherit" && (p += ` snmt-typography-align-${i}`), o && (p += " collapsed");
|
|
2766
|
+
const w = {
|
|
2767
|
+
className: p,
|
|
2711
2768
|
style: { color: t, whiteSpace: a ? "nowrap" : c, display: a ? "block" : "" },
|
|
2712
2769
|
onClick: n,
|
|
2713
2770
|
ref: d,
|
|
@@ -2718,16 +2775,16 @@ const Q2 = ({
|
|
|
2718
2775
|
}
|
|
2719
2776
|
} : void 0
|
|
2720
2777
|
};
|
|
2721
|
-
return g ? /* @__PURE__ */ r(
|
|
2778
|
+
return g ? /* @__PURE__ */ r(Ce, { level: ue[e], ...w, children: s }) : /* @__PURE__ */ r(ge, { ...w, children: s });
|
|
2722
2779
|
}
|
|
2723
2780
|
);
|
|
2724
|
-
var
|
|
2725
|
-
const d2 =
|
|
2781
|
+
var k = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_1 = "var(--grey-light-1)", i.GREY_LIGHT_2 = "var(--grey-light-2)", i.GREY_LIGHT_3 = "var(--grey-light-3)", i.GREY_LIGHT_4 = "var(--grey-light-4)", i.GREY_DARK_1 = "var(--grey-dark-1)", i.GREY_DARK_2 = "var(--grey-dark-2)", i.GREY_DARK_3 = "var(--grey-dark-3)", i.GREY_DARK_4 = "var(--grey-dark-4)", i.GREY_DARK_5 = "var(--grey-dark-5)", i.BLUE_PRIMARY = "var(--blue-primary)", i.BLUE_HOVER = "var(--blue-hover)", i.BLUE_LIGHT_1 = "var(--blue-light-1)", i.BLUE_LIGHT_2 = "var(--blue-light-2)", i.BLUE_LIGHT_3 = "var(--blue-light-3)", i.BLUE_LIGHT_4 = "var(--blue-light-4)", i.BLUE_DARK_1 = "var(--blue-dark-1)", i.BLUE_DARK_3 = "var(--blue-dark-3)", i.PURPLE_LIGHT = "var(--purple-light)", i.PURPLE_LIGHT_2 = "var(--purple-light-2)", i.PURPLE_DARK = "var(--purple-dark)", i.NOTIFICATION_WARNING_LIGHT = "var(--notification-warning-light)", i.NOTIFICATION_WARNING_DARK = "var(--notification-warning-dark)", i.NOTIFICATION_SUCCESS_LIGHT = "var(--notification-success-light)", i.NOTIFICATION_SUCCESS_DARK = "var(--notification-success-dark)", i.NOTIFICATION_ERROR_LIGHT = "var(--notification-error-light)", i.NOTIFICATION_ERROR_DARK = "var(--notification-error-dark)", i.NOTIFICATION_ERROR_DARK_MODE = "var(--notification-error-dark-mode)", i.CYAN_LIGHT = "var(--cyan-light)", i.GOLD_LIGHT = "var(--gold-light)", i))(k || {});
|
|
2782
|
+
const d2 = C1({
|
|
2726
2783
|
locale: "en",
|
|
2727
2784
|
theme: "light"
|
|
2728
2785
|
});
|
|
2729
2786
|
d2.Provider;
|
|
2730
|
-
const
|
|
2787
|
+
const fe = ({
|
|
2731
2788
|
width: i = 20,
|
|
2732
2789
|
height: e = 20,
|
|
2733
2790
|
color: t = "#001E52",
|
|
@@ -2754,10 +2811,10 @@ const Ce = ({
|
|
|
2754
2811
|
}
|
|
2755
2812
|
)
|
|
2756
2813
|
}
|
|
2757
|
-
),
|
|
2814
|
+
), me = ({
|
|
2758
2815
|
width: i = 20,
|
|
2759
2816
|
height: e = 20,
|
|
2760
|
-
color: t =
|
|
2817
|
+
color: t = k.GREY_DARK_5,
|
|
2761
2818
|
className: s,
|
|
2762
2819
|
onClick: n
|
|
2763
2820
|
}) => /* @__PURE__ */ u(
|
|
@@ -2794,7 +2851,7 @@ const Ce = ({
|
|
|
2794
2851
|
)
|
|
2795
2852
|
]
|
|
2796
2853
|
}
|
|
2797
|
-
),
|
|
2854
|
+
), we = ({
|
|
2798
2855
|
width: i = 20,
|
|
2799
2856
|
height: e = 20,
|
|
2800
2857
|
color: t = "#001E52",
|
|
@@ -2829,10 +2886,10 @@ const Ce = ({
|
|
|
2829
2886
|
)
|
|
2830
2887
|
]
|
|
2831
2888
|
}
|
|
2832
|
-
),
|
|
2889
|
+
), Le = ({
|
|
2833
2890
|
width: i = 20,
|
|
2834
2891
|
height: e = 20,
|
|
2835
|
-
color: t =
|
|
2892
|
+
color: t = k.GREY_DARK_5,
|
|
2836
2893
|
className: s,
|
|
2837
2894
|
onClick: n
|
|
2838
2895
|
}) => /* @__PURE__ */ u(
|
|
@@ -2856,10 +2913,10 @@ const Ce = ({
|
|
|
2856
2913
|
/* @__PURE__ */ r("defs", { children: /* @__PURE__ */ r("clipPath", { id: "clip0_1_2043", children: /* @__PURE__ */ r("rect", { width: "24", height: "24", fill: "white", transform: "translate(0.5 0.5)" }) }) })
|
|
2857
2914
|
]
|
|
2858
2915
|
}
|
|
2859
|
-
),
|
|
2916
|
+
), ke = ({
|
|
2860
2917
|
width: i = 20,
|
|
2861
2918
|
height: e = 20,
|
|
2862
|
-
color: t =
|
|
2919
|
+
color: t = k.GREY_DARK_5,
|
|
2863
2920
|
className: s,
|
|
2864
2921
|
onClick: n
|
|
2865
2922
|
}) => /* @__PURE__ */ r(
|
|
@@ -2880,10 +2937,10 @@ const Ce = ({
|
|
|
2880
2937
|
}
|
|
2881
2938
|
)
|
|
2882
2939
|
}
|
|
2883
|
-
),
|
|
2940
|
+
), ve = ({
|
|
2884
2941
|
width: i = 20,
|
|
2885
2942
|
height: e = 20,
|
|
2886
|
-
color: t =
|
|
2943
|
+
color: t = k.GREY_DARK_5,
|
|
2887
2944
|
className: s,
|
|
2888
2945
|
onClick: n
|
|
2889
2946
|
}) => /* @__PURE__ */ u(
|
|
@@ -2907,10 +2964,10 @@ const Ce = ({
|
|
|
2907
2964
|
/* @__PURE__ */ r("defs", { children: /* @__PURE__ */ r("clipPath", { id: "clip0_1_2039", children: /* @__PURE__ */ r("rect", { width: "24", height: "24", fill: "white", transform: "translate(0.5 0.5)" }) }) })
|
|
2908
2965
|
]
|
|
2909
2966
|
}
|
|
2910
|
-
),
|
|
2967
|
+
), Ne = ({
|
|
2911
2968
|
width: i = 20,
|
|
2912
2969
|
height: e = 20,
|
|
2913
|
-
color: t =
|
|
2970
|
+
color: t = k.GREY_DARK_5,
|
|
2914
2971
|
className: s,
|
|
2915
2972
|
onClick: n
|
|
2916
2973
|
}) => /* @__PURE__ */ r(
|
|
@@ -2931,10 +2988,10 @@ const Ce = ({
|
|
|
2931
2988
|
}
|
|
2932
2989
|
)
|
|
2933
2990
|
}
|
|
2934
|
-
),
|
|
2991
|
+
), Re = ({
|
|
2935
2992
|
width: i = 20,
|
|
2936
2993
|
height: e = 20,
|
|
2937
|
-
color: t =
|
|
2994
|
+
color: t = k.GREY_DARK_5,
|
|
2938
2995
|
className: s,
|
|
2939
2996
|
onClick: n
|
|
2940
2997
|
}) => /* @__PURE__ */ u(
|
|
@@ -2978,10 +3035,10 @@ const Ce = ({
|
|
|
2978
3035
|
)
|
|
2979
3036
|
]
|
|
2980
3037
|
}
|
|
2981
|
-
),
|
|
3038
|
+
), xe = ({
|
|
2982
3039
|
width: i = 20,
|
|
2983
3040
|
height: e = 20,
|
|
2984
|
-
color: t =
|
|
3041
|
+
color: t = k.GREY_DARK_5,
|
|
2985
3042
|
className: s,
|
|
2986
3043
|
onClick: n
|
|
2987
3044
|
}) => /* @__PURE__ */ r(
|
|
@@ -3002,10 +3059,10 @@ const Ce = ({
|
|
|
3002
3059
|
}
|
|
3003
3060
|
)
|
|
3004
3061
|
}
|
|
3005
|
-
),
|
|
3062
|
+
), _e = ({
|
|
3006
3063
|
width: i = 20,
|
|
3007
3064
|
height: e = 20,
|
|
3008
|
-
color: t =
|
|
3065
|
+
color: t = k.GREY_DARK_5,
|
|
3009
3066
|
className: s,
|
|
3010
3067
|
onClick: n
|
|
3011
3068
|
}) => /* @__PURE__ */ r(
|
|
@@ -3026,10 +3083,10 @@ const Ce = ({
|
|
|
3026
3083
|
}
|
|
3027
3084
|
)
|
|
3028
3085
|
}
|
|
3029
|
-
),
|
|
3086
|
+
), Me = ({
|
|
3030
3087
|
width: i = 20,
|
|
3031
3088
|
height: e = 20,
|
|
3032
|
-
color: t =
|
|
3089
|
+
color: t = k.GREY_DARK_5,
|
|
3033
3090
|
className: s,
|
|
3034
3091
|
onClick: n
|
|
3035
3092
|
}) => /* @__PURE__ */ r(
|
|
@@ -3050,10 +3107,10 @@ const Ce = ({
|
|
|
3050
3107
|
}
|
|
3051
3108
|
)
|
|
3052
3109
|
}
|
|
3053
|
-
),
|
|
3110
|
+
), be = ({
|
|
3054
3111
|
width: i = 20,
|
|
3055
3112
|
height: e = 20,
|
|
3056
|
-
color: t =
|
|
3113
|
+
color: t = k.GREY_DARK_5,
|
|
3057
3114
|
className: s,
|
|
3058
3115
|
onClick: n
|
|
3059
3116
|
}) => /* @__PURE__ */ u(
|
|
@@ -3111,10 +3168,10 @@ const Ce = ({
|
|
|
3111
3168
|
)
|
|
3112
3169
|
]
|
|
3113
3170
|
}
|
|
3114
|
-
),
|
|
3171
|
+
), ye = ({
|
|
3115
3172
|
width: i = 20,
|
|
3116
3173
|
height: e = 20,
|
|
3117
|
-
color: t =
|
|
3174
|
+
color: t = k.GREY_DARK_5,
|
|
3118
3175
|
className: s,
|
|
3119
3176
|
onClick: n
|
|
3120
3177
|
}) => /* @__PURE__ */ u(
|
|
@@ -3158,10 +3215,10 @@ const Ce = ({
|
|
|
3158
3215
|
)
|
|
3159
3216
|
]
|
|
3160
3217
|
}
|
|
3161
|
-
),
|
|
3218
|
+
), He = ({
|
|
3162
3219
|
width: i = 20,
|
|
3163
3220
|
height: e = 20,
|
|
3164
|
-
color: t =
|
|
3221
|
+
color: t = k.GREY_DARK_5,
|
|
3165
3222
|
className: s,
|
|
3166
3223
|
onClick: n
|
|
3167
3224
|
}) => /* @__PURE__ */ u(
|
|
@@ -3198,10 +3255,10 @@ const Ce = ({
|
|
|
3198
3255
|
)
|
|
3199
3256
|
]
|
|
3200
3257
|
}
|
|
3201
|
-
),
|
|
3258
|
+
), Ee = ({
|
|
3202
3259
|
width: i = 20,
|
|
3203
3260
|
height: e = 20,
|
|
3204
|
-
color: t =
|
|
3261
|
+
color: t = k.GREY_DARK_5,
|
|
3205
3262
|
className: s,
|
|
3206
3263
|
onClick: n
|
|
3207
3264
|
}) => /* @__PURE__ */ u(
|
|
@@ -3238,10 +3295,10 @@ const Ce = ({
|
|
|
3238
3295
|
)
|
|
3239
3296
|
]
|
|
3240
3297
|
}
|
|
3241
|
-
),
|
|
3298
|
+
), Ve = ({
|
|
3242
3299
|
width: i = 20,
|
|
3243
3300
|
height: e = 20,
|
|
3244
|
-
color: t =
|
|
3301
|
+
color: t = k.GREY_DARK_5,
|
|
3245
3302
|
className: s,
|
|
3246
3303
|
onClick: n
|
|
3247
3304
|
}) => /* @__PURE__ */ u(
|
|
@@ -3285,10 +3342,10 @@ const Ce = ({
|
|
|
3285
3342
|
)
|
|
3286
3343
|
]
|
|
3287
3344
|
}
|
|
3288
|
-
),
|
|
3345
|
+
), Ie = ({
|
|
3289
3346
|
width: i = 20,
|
|
3290
3347
|
height: e = 20,
|
|
3291
|
-
color: t =
|
|
3348
|
+
color: t = k.GREY_DARK_5,
|
|
3292
3349
|
className: s,
|
|
3293
3350
|
onClick: n
|
|
3294
3351
|
}) => /* @__PURE__ */ u(
|
|
@@ -3332,10 +3389,10 @@ const Ce = ({
|
|
|
3332
3389
|
)
|
|
3333
3390
|
]
|
|
3334
3391
|
}
|
|
3335
|
-
),
|
|
3392
|
+
), Ae = ({
|
|
3336
3393
|
width: i = 20,
|
|
3337
3394
|
height: e = 20,
|
|
3338
|
-
color: t =
|
|
3395
|
+
color: t = k.GREY_DARK_5,
|
|
3339
3396
|
className: s,
|
|
3340
3397
|
onClick: n
|
|
3341
3398
|
}) => /* @__PURE__ */ u(
|
|
@@ -3379,10 +3436,10 @@ const Ce = ({
|
|
|
3379
3436
|
)
|
|
3380
3437
|
]
|
|
3381
3438
|
}
|
|
3382
|
-
),
|
|
3439
|
+
), Oe = ({
|
|
3383
3440
|
width: i = 20,
|
|
3384
3441
|
height: e = 20,
|
|
3385
|
-
color: t =
|
|
3442
|
+
color: t = k.GREY_DARK_5,
|
|
3386
3443
|
className: s,
|
|
3387
3444
|
onClick: n
|
|
3388
3445
|
}) => /* @__PURE__ */ u(
|
|
@@ -3419,10 +3476,10 @@ const Ce = ({
|
|
|
3419
3476
|
)
|
|
3420
3477
|
]
|
|
3421
3478
|
}
|
|
3422
|
-
),
|
|
3479
|
+
), Ze = ({
|
|
3423
3480
|
width: i = 20,
|
|
3424
3481
|
height: e = 20,
|
|
3425
|
-
color: t =
|
|
3482
|
+
color: t = k.GREY_DARK_5,
|
|
3426
3483
|
className: s,
|
|
3427
3484
|
onClick: n
|
|
3428
3485
|
}) => /* @__PURE__ */ u(
|
|
@@ -3452,10 +3509,10 @@ const Ce = ({
|
|
|
3452
3509
|
)
|
|
3453
3510
|
]
|
|
3454
3511
|
}
|
|
3455
|
-
),
|
|
3512
|
+
), Se = ({
|
|
3456
3513
|
width: i = 20,
|
|
3457
3514
|
height: e = 20,
|
|
3458
|
-
color: t =
|
|
3515
|
+
color: t = k.GREY_DARK_5,
|
|
3459
3516
|
className: s,
|
|
3460
3517
|
onClick: n
|
|
3461
3518
|
}) => /* @__PURE__ */ u(
|
|
@@ -3485,10 +3542,10 @@ const Ce = ({
|
|
|
3485
3542
|
)
|
|
3486
3543
|
]
|
|
3487
3544
|
}
|
|
3488
|
-
),
|
|
3545
|
+
), De = ({
|
|
3489
3546
|
width: i = 20,
|
|
3490
3547
|
height: e = 20,
|
|
3491
|
-
color: t =
|
|
3548
|
+
color: t = k.GREY_DARK_5,
|
|
3492
3549
|
className: s,
|
|
3493
3550
|
onClick: n
|
|
3494
3551
|
}) => /* @__PURE__ */ u(
|
|
@@ -3518,10 +3575,10 @@ const Ce = ({
|
|
|
3518
3575
|
)
|
|
3519
3576
|
]
|
|
3520
3577
|
}
|
|
3521
|
-
),
|
|
3578
|
+
), Ge = ({
|
|
3522
3579
|
width: i = 20,
|
|
3523
3580
|
height: e = 20,
|
|
3524
|
-
color: t =
|
|
3581
|
+
color: t = k.GREY_DARK_5,
|
|
3525
3582
|
className: s,
|
|
3526
3583
|
onClick: n
|
|
3527
3584
|
}) => /* @__PURE__ */ u(
|
|
@@ -3551,10 +3608,10 @@ const Ce = ({
|
|
|
3551
3608
|
)
|
|
3552
3609
|
]
|
|
3553
3610
|
}
|
|
3554
|
-
),
|
|
3611
|
+
), Te = ({
|
|
3555
3612
|
width: i = 20,
|
|
3556
3613
|
height: e = 20,
|
|
3557
|
-
color: t =
|
|
3614
|
+
color: t = k.GREY_DARK_5,
|
|
3558
3615
|
className: s,
|
|
3559
3616
|
onClick: n
|
|
3560
3617
|
}) => /* @__PURE__ */ u(
|
|
@@ -3591,10 +3648,10 @@ const Ce = ({
|
|
|
3591
3648
|
)
|
|
3592
3649
|
]
|
|
3593
3650
|
}
|
|
3594
|
-
),
|
|
3651
|
+
), Ke = ({
|
|
3595
3652
|
width: i = 20,
|
|
3596
3653
|
height: e = 20,
|
|
3597
|
-
color: t =
|
|
3654
|
+
color: t = k.GREY_DARK_5,
|
|
3598
3655
|
className: s,
|
|
3599
3656
|
onClick: n
|
|
3600
3657
|
}) => /* @__PURE__ */ u(
|
|
@@ -3624,10 +3681,10 @@ const Ce = ({
|
|
|
3624
3681
|
)
|
|
3625
3682
|
]
|
|
3626
3683
|
}
|
|
3627
|
-
),
|
|
3684
|
+
), Be = ({
|
|
3628
3685
|
width: i = 20,
|
|
3629
3686
|
height: e = 20,
|
|
3630
|
-
color: t =
|
|
3687
|
+
color: t = k.GREY_DARK_5,
|
|
3631
3688
|
className: s,
|
|
3632
3689
|
onClick: n
|
|
3633
3690
|
}) => /* @__PURE__ */ u(
|
|
@@ -3657,7 +3714,7 @@ const Ce = ({
|
|
|
3657
3714
|
)
|
|
3658
3715
|
]
|
|
3659
3716
|
}
|
|
3660
|
-
),
|
|
3717
|
+
), Pe = ({
|
|
3661
3718
|
width: i = 20,
|
|
3662
3719
|
height: e = 20,
|
|
3663
3720
|
color: t = "#070739",
|
|
@@ -3687,7 +3744,7 @@ const Ce = ({
|
|
|
3687
3744
|
/* @__PURE__ */ r("circle", { cx: "10", cy: "10", r: "2.375", stroke: t, strokeWidth: "1.25" })
|
|
3688
3745
|
]
|
|
3689
3746
|
}
|
|
3690
|
-
),
|
|
3747
|
+
), Ye = ({
|
|
3691
3748
|
width: i = 20,
|
|
3692
3749
|
height: e = 20,
|
|
3693
3750
|
color: t = "#070739",
|
|
@@ -3725,7 +3782,7 @@ const Ce = ({
|
|
|
3725
3782
|
)
|
|
3726
3783
|
]
|
|
3727
3784
|
}
|
|
3728
|
-
),
|
|
3785
|
+
), $e = ({
|
|
3729
3786
|
width: i = 9,
|
|
3730
3787
|
height: e = 5,
|
|
3731
3788
|
color: t = "#001E52",
|
|
@@ -3751,7 +3808,7 @@ const Ce = ({
|
|
|
3751
3808
|
}
|
|
3752
3809
|
)
|
|
3753
3810
|
}
|
|
3754
|
-
),
|
|
3811
|
+
), je = ({
|
|
3755
3812
|
width: i = 20,
|
|
3756
3813
|
height: e = 20,
|
|
3757
3814
|
color: t = "#F2F2F7",
|
|
@@ -3780,7 +3837,7 @@ const Ce = ({
|
|
|
3780
3837
|
)
|
|
3781
3838
|
]
|
|
3782
3839
|
}
|
|
3783
|
-
),
|
|
3840
|
+
), Fe = ({
|
|
3784
3841
|
width: i = 20,
|
|
3785
3842
|
height: e = 20,
|
|
3786
3843
|
color: t = "#004ED7",
|
|
@@ -3809,7 +3866,7 @@ const Ce = ({
|
|
|
3809
3866
|
)
|
|
3810
3867
|
]
|
|
3811
3868
|
}
|
|
3812
|
-
),
|
|
3869
|
+
), We = ({
|
|
3813
3870
|
width: i = 10,
|
|
3814
3871
|
height: e = 10,
|
|
3815
3872
|
color: t = "#001E52",
|
|
@@ -3838,7 +3895,7 @@ const Ce = ({
|
|
|
3838
3895
|
)
|
|
3839
3896
|
]
|
|
3840
3897
|
}
|
|
3841
|
-
),
|
|
3898
|
+
), Ue = ({
|
|
3842
3899
|
width: i = 10,
|
|
3843
3900
|
height: e = 10,
|
|
3844
3901
|
color: t = "#001E52",
|
|
@@ -3875,9 +3932,9 @@ const Ce = ({
|
|
|
3875
3932
|
)
|
|
3876
3933
|
]
|
|
3877
3934
|
}
|
|
3878
|
-
),
|
|
3935
|
+
), ze = ({
|
|
3879
3936
|
className: i,
|
|
3880
|
-
color: e =
|
|
3937
|
+
color: e = k.GREY_DARK_5,
|
|
3881
3938
|
height: t = 20,
|
|
3882
3939
|
width: s = 20,
|
|
3883
3940
|
onClick: n
|
|
@@ -3908,9 +3965,9 @@ const Ce = ({
|
|
|
3908
3965
|
)
|
|
3909
3966
|
]
|
|
3910
3967
|
}
|
|
3911
|
-
),
|
|
3968
|
+
), Je = ({
|
|
3912
3969
|
className: i,
|
|
3913
|
-
color: e =
|
|
3970
|
+
color: e = k.GREY_DARK_5,
|
|
3914
3971
|
height: t = 20,
|
|
3915
3972
|
width: s = 20,
|
|
3916
3973
|
onClick: n
|
|
@@ -3935,9 +3992,9 @@ const Ce = ({
|
|
|
3935
3992
|
}
|
|
3936
3993
|
)
|
|
3937
3994
|
}
|
|
3938
|
-
),
|
|
3995
|
+
), qe = ({
|
|
3939
3996
|
className: i,
|
|
3940
|
-
color: e =
|
|
3997
|
+
color: e = k.GREY_DARK_5,
|
|
3941
3998
|
height: t = 20,
|
|
3942
3999
|
width: s = 20,
|
|
3943
4000
|
onClick: n
|
|
@@ -3962,9 +4019,9 @@ const Ce = ({
|
|
|
3962
4019
|
}
|
|
3963
4020
|
)
|
|
3964
4021
|
}
|
|
3965
|
-
),
|
|
4022
|
+
), Qe = ({
|
|
3966
4023
|
className: i,
|
|
3967
|
-
color: e =
|
|
4024
|
+
color: e = k.GREY_DARK_5,
|
|
3968
4025
|
height: t = 5,
|
|
3969
4026
|
width: s = 10,
|
|
3970
4027
|
onClick: n
|
|
@@ -3986,9 +4043,9 @@ const Ce = ({
|
|
|
3986
4043
|
}
|
|
3987
4044
|
)
|
|
3988
4045
|
}
|
|
3989
|
-
),
|
|
4046
|
+
), Xe = ({
|
|
3990
4047
|
className: i,
|
|
3991
|
-
color: e =
|
|
4048
|
+
color: e = k.GREY_DARK_5,
|
|
3992
4049
|
height: t = 5,
|
|
3993
4050
|
width: s = 10,
|
|
3994
4051
|
onClick: n
|
|
@@ -4011,9 +4068,9 @@ const Ce = ({
|
|
|
4011
4068
|
}
|
|
4012
4069
|
)
|
|
4013
4070
|
}
|
|
4014
|
-
),
|
|
4071
|
+
), et = ({
|
|
4015
4072
|
className: i,
|
|
4016
|
-
color: e =
|
|
4073
|
+
color: e = k.GREY_DARK_5,
|
|
4017
4074
|
height: t = 20,
|
|
4018
4075
|
width: s = 20,
|
|
4019
4076
|
onClick: n
|
|
@@ -4044,9 +4101,9 @@ const Ce = ({
|
|
|
4044
4101
|
)
|
|
4045
4102
|
]
|
|
4046
4103
|
}
|
|
4047
|
-
),
|
|
4104
|
+
), tt = ({
|
|
4048
4105
|
className: i,
|
|
4049
|
-
color: e =
|
|
4106
|
+
color: e = k.GREY_DARK_5,
|
|
4050
4107
|
height: t = 24,
|
|
4051
4108
|
width: s = 24,
|
|
4052
4109
|
onClick: n
|
|
@@ -4083,9 +4140,9 @@ const Ce = ({
|
|
|
4083
4140
|
)
|
|
4084
4141
|
]
|
|
4085
4142
|
}
|
|
4086
|
-
),
|
|
4143
|
+
), it = ({
|
|
4087
4144
|
className: i,
|
|
4088
|
-
color: e =
|
|
4145
|
+
color: e = k.GREY_DARK_5,
|
|
4089
4146
|
height: t = 24,
|
|
4090
4147
|
width: s = 24,
|
|
4091
4148
|
onClick: n
|
|
@@ -4110,9 +4167,9 @@ const Ce = ({
|
|
|
4110
4167
|
}
|
|
4111
4168
|
)
|
|
4112
4169
|
}
|
|
4113
|
-
),
|
|
4170
|
+
), st = ({
|
|
4114
4171
|
className: i,
|
|
4115
|
-
color: e =
|
|
4172
|
+
color: e = k.GREY_DARK_5,
|
|
4116
4173
|
height: t = 24,
|
|
4117
4174
|
width: s = 24,
|
|
4118
4175
|
onClick: n
|
|
@@ -4169,9 +4226,9 @@ const Ce = ({
|
|
|
4169
4226
|
)
|
|
4170
4227
|
]
|
|
4171
4228
|
}
|
|
4172
|
-
),
|
|
4229
|
+
), nt = ({
|
|
4173
4230
|
className: i,
|
|
4174
|
-
color: e =
|
|
4231
|
+
color: e = k.GREY_DARK_5,
|
|
4175
4232
|
height: t = 24,
|
|
4176
4233
|
width: s = 24,
|
|
4177
4234
|
onClick: n
|
|
@@ -4206,9 +4263,9 @@ const Ce = ({
|
|
|
4206
4263
|
)
|
|
4207
4264
|
]
|
|
4208
4265
|
}
|
|
4209
|
-
),
|
|
4266
|
+
), rt = ({
|
|
4210
4267
|
className: i,
|
|
4211
|
-
color: e =
|
|
4268
|
+
color: e = k.GREY_DARK_3,
|
|
4212
4269
|
height: t = 14,
|
|
4213
4270
|
width: s = 14,
|
|
4214
4271
|
onClick: n
|
|
@@ -4243,9 +4300,9 @@ const Ce = ({
|
|
|
4243
4300
|
)
|
|
4244
4301
|
]
|
|
4245
4302
|
}
|
|
4246
|
-
),
|
|
4303
|
+
), ot = ({
|
|
4247
4304
|
className: i,
|
|
4248
|
-
color: e =
|
|
4305
|
+
color: e = k.GREY_DARK_5,
|
|
4249
4306
|
height: t = 18,
|
|
4250
4307
|
onClick: s,
|
|
4251
4308
|
width: n = 18
|
|
@@ -4270,9 +4327,9 @@ const Ce = ({
|
|
|
4270
4327
|
}
|
|
4271
4328
|
)
|
|
4272
4329
|
}
|
|
4273
|
-
),
|
|
4330
|
+
), at = ({
|
|
4274
4331
|
className: i,
|
|
4275
|
-
color: e =
|
|
4332
|
+
color: e = k.GREY_DARK_5,
|
|
4276
4333
|
height: t = 24,
|
|
4277
4334
|
width: s = 24,
|
|
4278
4335
|
onClick: n
|
|
@@ -4322,9 +4379,9 @@ const Ce = ({
|
|
|
4322
4379
|
)
|
|
4323
4380
|
]
|
|
4324
4381
|
}
|
|
4325
|
-
),
|
|
4382
|
+
), lt = ({
|
|
4326
4383
|
className: i,
|
|
4327
|
-
color: e =
|
|
4384
|
+
color: e = k.GREY_DARK_5,
|
|
4328
4385
|
height: t = 24,
|
|
4329
4386
|
width: s = 24,
|
|
4330
4387
|
onClick: n
|
|
@@ -4359,9 +4416,9 @@ const Ce = ({
|
|
|
4359
4416
|
)
|
|
4360
4417
|
]
|
|
4361
4418
|
}
|
|
4362
|
-
),
|
|
4419
|
+
), ht = ({
|
|
4363
4420
|
className: i,
|
|
4364
|
-
color: e =
|
|
4421
|
+
color: e = k.NOTIFICATION_WARNING_DARK,
|
|
4365
4422
|
height: t = 37,
|
|
4366
4423
|
width: s = 36,
|
|
4367
4424
|
onClick: n
|
|
@@ -4398,9 +4455,9 @@ const Ce = ({
|
|
|
4398
4455
|
)
|
|
4399
4456
|
]
|
|
4400
4457
|
}
|
|
4401
|
-
),
|
|
4458
|
+
), ct = ({
|
|
4402
4459
|
className: i,
|
|
4403
|
-
color: e =
|
|
4460
|
+
color: e = k.GREY_DARK_5,
|
|
4404
4461
|
height: t = 24,
|
|
4405
4462
|
width: s = 24,
|
|
4406
4463
|
onClick: n
|
|
@@ -4424,9 +4481,9 @@ const Ce = ({
|
|
|
4424
4481
|
}
|
|
4425
4482
|
)
|
|
4426
4483
|
}
|
|
4427
|
-
),
|
|
4484
|
+
), dt = ({
|
|
4428
4485
|
className: i,
|
|
4429
|
-
color: e =
|
|
4486
|
+
color: e = k.GREY_DARK_5,
|
|
4430
4487
|
height: t = 24,
|
|
4431
4488
|
width: s = 24,
|
|
4432
4489
|
onClick: n
|
|
@@ -4463,9 +4520,9 @@ const Ce = ({
|
|
|
4463
4520
|
)
|
|
4464
4521
|
]
|
|
4465
4522
|
}
|
|
4466
|
-
),
|
|
4523
|
+
), Ct = ({
|
|
4467
4524
|
className: i,
|
|
4468
|
-
color: e =
|
|
4525
|
+
color: e = k.GREY_DARK_5,
|
|
4469
4526
|
height: t = 20,
|
|
4470
4527
|
width: s = 20,
|
|
4471
4528
|
onClick: n
|
|
@@ -4496,9 +4553,9 @@ const Ce = ({
|
|
|
4496
4553
|
)
|
|
4497
4554
|
]
|
|
4498
4555
|
}
|
|
4499
|
-
),
|
|
4556
|
+
), gt = ({
|
|
4500
4557
|
className: i,
|
|
4501
|
-
color: e =
|
|
4558
|
+
color: e = k.GREY_DARK_5,
|
|
4502
4559
|
height: t = 24,
|
|
4503
4560
|
width: s = 24,
|
|
4504
4561
|
onClick: n
|
|
@@ -4565,9 +4622,9 @@ const Ce = ({
|
|
|
4565
4622
|
)
|
|
4566
4623
|
]
|
|
4567
4624
|
}
|
|
4568
|
-
),
|
|
4625
|
+
), ut = ({
|
|
4569
4626
|
className: i,
|
|
4570
|
-
color: e =
|
|
4627
|
+
color: e = k.GREY_DARK_5,
|
|
4571
4628
|
height: t = 24,
|
|
4572
4629
|
width: s = 24,
|
|
4573
4630
|
onClick: n
|
|
@@ -4622,9 +4679,9 @@ const Ce = ({
|
|
|
4622
4679
|
)
|
|
4623
4680
|
]
|
|
4624
4681
|
}
|
|
4625
|
-
),
|
|
4682
|
+
), pt = ({
|
|
4626
4683
|
className: i,
|
|
4627
|
-
color: e =
|
|
4684
|
+
color: e = k.GREY_DARK_5,
|
|
4628
4685
|
height: t = 24,
|
|
4629
4686
|
width: s = 24,
|
|
4630
4687
|
onClick: n
|
|
@@ -4671,9 +4728,9 @@ const Ce = ({
|
|
|
4671
4728
|
)
|
|
4672
4729
|
]
|
|
4673
4730
|
}
|
|
4674
|
-
),
|
|
4731
|
+
), ft = ({
|
|
4675
4732
|
className: i,
|
|
4676
|
-
color: e =
|
|
4733
|
+
color: e = k.GREY_DARK_5,
|
|
4677
4734
|
height: t = 24,
|
|
4678
4735
|
width: s = 24,
|
|
4679
4736
|
onClick: n
|
|
@@ -4698,9 +4755,9 @@ const Ce = ({
|
|
|
4698
4755
|
}
|
|
4699
4756
|
)
|
|
4700
4757
|
}
|
|
4701
|
-
),
|
|
4758
|
+
), mt = ({
|
|
4702
4759
|
className: i,
|
|
4703
|
-
color: e =
|
|
4760
|
+
color: e = k.GREY_DARK_5,
|
|
4704
4761
|
height: t = 20,
|
|
4705
4762
|
width: s = 20,
|
|
4706
4763
|
onClick: n
|
|
@@ -4715,7 +4772,7 @@ const Ce = ({
|
|
|
4715
4772
|
fill: "none",
|
|
4716
4773
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4717
4774
|
children: [
|
|
4718
|
-
/* @__PURE__ */ r("rect", { width: "20", height: "20", rx: "4", fill:
|
|
4775
|
+
/* @__PURE__ */ r("rect", { width: "20", height: "20", rx: "4", fill: k.GREY_LIGHT_2 }),
|
|
4719
4776
|
/* @__PURE__ */ r(
|
|
4720
4777
|
"path",
|
|
4721
4778
|
{
|
|
@@ -4727,7 +4784,7 @@ const Ce = ({
|
|
|
4727
4784
|
)
|
|
4728
4785
|
]
|
|
4729
4786
|
}
|
|
4730
|
-
),
|
|
4787
|
+
), wt = ({
|
|
4731
4788
|
className: i,
|
|
4732
4789
|
color: e = "#001E52",
|
|
4733
4790
|
height: t = 24,
|
|
@@ -4753,7 +4810,7 @@ const Ce = ({
|
|
|
4753
4810
|
}
|
|
4754
4811
|
)
|
|
4755
4812
|
}
|
|
4756
|
-
),
|
|
4813
|
+
), Lt = ({
|
|
4757
4814
|
className: i,
|
|
4758
4815
|
color: e = "#001E52",
|
|
4759
4816
|
height: t = 24,
|
|
@@ -4791,10 +4848,10 @@ const Ce = ({
|
|
|
4791
4848
|
)
|
|
4792
4849
|
] }) })
|
|
4793
4850
|
}
|
|
4794
|
-
),
|
|
4851
|
+
), kt = ({
|
|
4795
4852
|
width: i = 20,
|
|
4796
4853
|
height: e = 20,
|
|
4797
|
-
color: t =
|
|
4854
|
+
color: t = k.GREY_DARK_5,
|
|
4798
4855
|
className: s,
|
|
4799
4856
|
onClick: n
|
|
4800
4857
|
}) => /* @__PURE__ */ r(
|
|
@@ -4815,7 +4872,7 @@ const Ce = ({
|
|
|
4815
4872
|
}
|
|
4816
4873
|
)
|
|
4817
4874
|
}
|
|
4818
|
-
),
|
|
4875
|
+
), vt = ({
|
|
4819
4876
|
width: i = 24,
|
|
4820
4877
|
height: e = 24,
|
|
4821
4878
|
color: t = "#131314",
|
|
@@ -4848,10 +4905,10 @@ const Ce = ({
|
|
|
4848
4905
|
)
|
|
4849
4906
|
]
|
|
4850
4907
|
}
|
|
4851
|
-
),
|
|
4908
|
+
), Nt = ({
|
|
4852
4909
|
width: i = 20,
|
|
4853
4910
|
height: e = 20,
|
|
4854
|
-
color: t =
|
|
4911
|
+
color: t = k.GREY_DARK_5,
|
|
4855
4912
|
className: s,
|
|
4856
4913
|
onClick: n
|
|
4857
4914
|
}) => /* @__PURE__ */ u(
|
|
@@ -4881,10 +4938,10 @@ const Ce = ({
|
|
|
4881
4938
|
)
|
|
4882
4939
|
]
|
|
4883
4940
|
}
|
|
4884
|
-
),
|
|
4941
|
+
), Rt = ({
|
|
4885
4942
|
width: i = 24,
|
|
4886
4943
|
height: e = 24,
|
|
4887
|
-
color: t =
|
|
4944
|
+
color: t = k.GREY_DARK_2,
|
|
4888
4945
|
className: s,
|
|
4889
4946
|
onClick: n
|
|
4890
4947
|
}) => /* @__PURE__ */ u(
|
|
@@ -4921,10 +4978,10 @@ const Ce = ({
|
|
|
4921
4978
|
)
|
|
4922
4979
|
]
|
|
4923
4980
|
}
|
|
4924
|
-
),
|
|
4981
|
+
), xt = ({
|
|
4925
4982
|
width: i = 24,
|
|
4926
4983
|
height: e = 24,
|
|
4927
|
-
color: t =
|
|
4984
|
+
color: t = k.GREY_DARK_2,
|
|
4928
4985
|
className: s,
|
|
4929
4986
|
onClick: n
|
|
4930
4987
|
}) => /* @__PURE__ */ r(
|
|
@@ -4948,10 +5005,10 @@ const Ce = ({
|
|
|
4948
5005
|
}
|
|
4949
5006
|
)
|
|
4950
5007
|
}
|
|
4951
|
-
),
|
|
5008
|
+
), _t = ({
|
|
4952
5009
|
width: i = 24,
|
|
4953
5010
|
height: e = 24,
|
|
4954
|
-
color: t =
|
|
5011
|
+
color: t = k.GREY_DARK_2,
|
|
4955
5012
|
className: s,
|
|
4956
5013
|
onClick: n
|
|
4957
5014
|
}) => /* @__PURE__ */ r(
|
|
@@ -4975,7 +5032,7 @@ const Ce = ({
|
|
|
4975
5032
|
}
|
|
4976
5033
|
)
|
|
4977
5034
|
}
|
|
4978
|
-
),
|
|
5035
|
+
), Mt = ({
|
|
4979
5036
|
name: i,
|
|
4980
5037
|
width: e,
|
|
4981
5038
|
height: t,
|
|
@@ -4984,8 +5041,8 @@ const Ce = ({
|
|
|
4984
5041
|
disabled: o = !1,
|
|
4985
5042
|
onClick: c
|
|
4986
5043
|
}) => {
|
|
4987
|
-
const [a, C] =
|
|
4988
|
-
return
|
|
5044
|
+
const [a, C] = O(n), { theme: d } = r1(d2), l = o ? d && d === "dark" ? k.GREY_LIGHT_4 : k.GREY_DARK_1 : s, h = o ? void 0 : c;
|
|
5045
|
+
return G(() => {
|
|
4989
5046
|
if (n) {
|
|
4990
5047
|
h && !o && C(`${n} clickable`);
|
|
4991
5048
|
return;
|
|
@@ -4994,35 +5051,35 @@ const Ce = ({
|
|
|
4994
5051
|
}, [h, n, o]), /* @__PURE__ */ r(i1, { children: (() => {
|
|
4995
5052
|
switch (i) {
|
|
4996
5053
|
case "nextIcon":
|
|
4997
|
-
return
|
|
5054
|
+
return Je({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4998
5055
|
case "prevIcon":
|
|
4999
|
-
return
|
|
5056
|
+
return qe({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5000
5057
|
case "arrowDown":
|
|
5001
|
-
return
|
|
5058
|
+
return fe({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5002
5059
|
case "info":
|
|
5003
|
-
return
|
|
5060
|
+
return me({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5004
5061
|
case "arrowRight":
|
|
5005
|
-
return
|
|
5062
|
+
return we({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5006
5063
|
case "calendar":
|
|
5007
|
-
return
|
|
5064
|
+
return Re({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5008
5065
|
case "check":
|
|
5009
|
-
return
|
|
5066
|
+
return xe({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5010
5067
|
case "cancel":
|
|
5011
|
-
return
|
|
5068
|
+
return _e({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5012
5069
|
case "add":
|
|
5013
|
-
return
|
|
5070
|
+
return Me({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5014
5071
|
case "list":
|
|
5015
|
-
return
|
|
5072
|
+
return be({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5016
5073
|
case "dragAndDrop":
|
|
5017
|
-
return
|
|
5074
|
+
return ye({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5018
5075
|
case "filter":
|
|
5019
|
-
return
|
|
5076
|
+
return He({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5020
5077
|
case "attention":
|
|
5021
|
-
return
|
|
5078
|
+
return Ee({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5022
5079
|
case "users":
|
|
5023
|
-
return
|
|
5080
|
+
return Ve({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5024
5081
|
case "mySkillsMatrix":
|
|
5025
|
-
return
|
|
5082
|
+
return Ie({
|
|
5026
5083
|
width: e,
|
|
5027
5084
|
height: t,
|
|
5028
5085
|
color: l,
|
|
@@ -5030,9 +5087,9 @@ const Ce = ({
|
|
|
5030
5087
|
onClick: h
|
|
5031
5088
|
});
|
|
5032
5089
|
case "skills":
|
|
5033
|
-
return
|
|
5090
|
+
return Ae({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5034
5091
|
case "skillsMatrices":
|
|
5035
|
-
return
|
|
5092
|
+
return Oe({
|
|
5036
5093
|
width: e,
|
|
5037
5094
|
height: t,
|
|
5038
5095
|
color: l,
|
|
@@ -5040,21 +5097,21 @@ const Ce = ({
|
|
|
5040
5097
|
onClick: h
|
|
5041
5098
|
});
|
|
5042
5099
|
case "history":
|
|
5043
|
-
return
|
|
5100
|
+
return Ze({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5044
5101
|
case "logOut":
|
|
5045
|
-
return
|
|
5102
|
+
return Se({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5046
5103
|
case "settings":
|
|
5047
|
-
return
|
|
5104
|
+
return De({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5048
5105
|
case "trash":
|
|
5049
|
-
return
|
|
5106
|
+
return Ge({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5050
5107
|
case "settings2":
|
|
5051
|
-
return
|
|
5108
|
+
return Te({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5052
5109
|
case "checkCircle":
|
|
5053
|
-
return
|
|
5110
|
+
return Ke({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5054
5111
|
case "cancelCircle":
|
|
5055
|
-
return
|
|
5112
|
+
return Be({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5056
5113
|
case "visibilityIcon":
|
|
5057
|
-
return
|
|
5114
|
+
return Pe({
|
|
5058
5115
|
width: e,
|
|
5059
5116
|
height: t,
|
|
5060
5117
|
color: l,
|
|
@@ -5062,7 +5119,7 @@ const Ce = ({
|
|
|
5062
5119
|
onClick: h
|
|
5063
5120
|
});
|
|
5064
5121
|
case "visibilityOffIcon":
|
|
5065
|
-
return
|
|
5122
|
+
return Ye({
|
|
5066
5123
|
width: e,
|
|
5067
5124
|
height: t,
|
|
5068
5125
|
color: l,
|
|
@@ -5070,7 +5127,7 @@ const Ce = ({
|
|
|
5070
5127
|
onClick: h
|
|
5071
5128
|
});
|
|
5072
5129
|
case "selectArrowIcon":
|
|
5073
|
-
return
|
|
5130
|
+
return $e({
|
|
5074
5131
|
width: e,
|
|
5075
5132
|
height: t,
|
|
5076
5133
|
color: l,
|
|
@@ -5078,7 +5135,7 @@ const Ce = ({
|
|
|
5078
5135
|
onClick: h
|
|
5079
5136
|
});
|
|
5080
5137
|
case "expandArrowIcon":
|
|
5081
|
-
return
|
|
5138
|
+
return je({
|
|
5082
5139
|
width: e,
|
|
5083
5140
|
height: t,
|
|
5084
5141
|
color: l,
|
|
@@ -5086,7 +5143,7 @@ const Ce = ({
|
|
|
5086
5143
|
onClick: h
|
|
5087
5144
|
});
|
|
5088
5145
|
case "expandActiveArrowIcon":
|
|
5089
|
-
return
|
|
5146
|
+
return Fe({
|
|
5090
5147
|
width: e,
|
|
5091
5148
|
height: t,
|
|
5092
5149
|
color: l,
|
|
@@ -5094,86 +5151,86 @@ const Ce = ({
|
|
|
5094
5151
|
onClick: h
|
|
5095
5152
|
});
|
|
5096
5153
|
case "sortUp":
|
|
5097
|
-
return
|
|
5154
|
+
return We({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5098
5155
|
case "sortDown":
|
|
5099
|
-
return
|
|
5156
|
+
return Ue({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5100
5157
|
case "search":
|
|
5101
|
-
return je({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5102
|
-
case "arrowUpFilled":
|
|
5103
5158
|
return ze({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5159
|
+
case "arrowUpFilled":
|
|
5160
|
+
return Xe({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5104
5161
|
case "arrowDownFilled":
|
|
5105
|
-
return
|
|
5162
|
+
return Qe({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5106
5163
|
case "arrow2Up":
|
|
5107
|
-
return
|
|
5164
|
+
return Le({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5108
5165
|
case "arrow2Right":
|
|
5109
|
-
return
|
|
5166
|
+
return ke({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5110
5167
|
case "arrow2Down":
|
|
5111
|
-
return
|
|
5168
|
+
return ve({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5112
5169
|
case "arrow2Left":
|
|
5113
|
-
return
|
|
5170
|
+
return Ne({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5114
5171
|
case "link":
|
|
5115
|
-
return
|
|
5172
|
+
return et({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5116
5173
|
case "telegram":
|
|
5117
|
-
return
|
|
5174
|
+
return it({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5118
5175
|
case "mail":
|
|
5119
|
-
return
|
|
5176
|
+
return nt({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5120
5177
|
case "github":
|
|
5121
|
-
return
|
|
5178
|
+
return tt({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5122
5179
|
case "linkedIn":
|
|
5123
|
-
return
|
|
5180
|
+
return st({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5124
5181
|
case "emptyStateIcon":
|
|
5125
|
-
return
|
|
5182
|
+
return rt({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5126
5183
|
case "filtersIcon":
|
|
5127
|
-
return
|
|
5184
|
+
return ot({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5128
5185
|
case "dotMenuIcon":
|
|
5129
|
-
return
|
|
5186
|
+
return at({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5130
5187
|
case "plusCircle":
|
|
5131
|
-
return
|
|
5188
|
+
return lt({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5132
5189
|
case "warning":
|
|
5133
|
-
return
|
|
5190
|
+
return ht({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5134
5191
|
case "back":
|
|
5135
|
-
return
|
|
5192
|
+
return ct({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5136
5193
|
case "bell":
|
|
5137
|
-
return
|
|
5194
|
+
return dt({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5138
5195
|
case "copy":
|
|
5139
|
-
return
|
|
5196
|
+
return Ct({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5140
5197
|
case "contract":
|
|
5141
|
-
return
|
|
5198
|
+
return gt({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5142
5199
|
case "resourceManager":
|
|
5143
|
-
return
|
|
5200
|
+
return ut({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5144
5201
|
case "image":
|
|
5145
|
-
return
|
|
5202
|
+
return pt({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5146
5203
|
case "edit":
|
|
5147
|
-
return
|
|
5204
|
+
return ft({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5148
5205
|
case "filledArrowRight":
|
|
5149
|
-
return
|
|
5206
|
+
return mt({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5150
5207
|
case "burgerMenu":
|
|
5151
|
-
return
|
|
5208
|
+
return wt({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5152
5209
|
case "refresh":
|
|
5153
|
-
return
|
|
5210
|
+
return Lt({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5154
5211
|
case "projects":
|
|
5155
|
-
return
|
|
5212
|
+
return kt({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5156
5213
|
case "user":
|
|
5157
|
-
return
|
|
5214
|
+
return Nt({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5158
5215
|
case "exit":
|
|
5159
|
-
return
|
|
5216
|
+
return vt({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5160
5217
|
case "openPointCircle":
|
|
5161
|
-
return
|
|
5218
|
+
return Rt({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5162
5219
|
case "community":
|
|
5163
|
-
return
|
|
5220
|
+
return xt({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5164
5221
|
case "docs":
|
|
5165
|
-
return
|
|
5222
|
+
return _t({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5166
5223
|
default:
|
|
5167
5224
|
return /* @__PURE__ */ r(i1, { children: "No Icon provided" });
|
|
5168
5225
|
}
|
|
5169
5226
|
})() });
|
|
5170
5227
|
};
|
|
5171
|
-
var
|
|
5172
|
-
const
|
|
5228
|
+
var m1 = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_1 = "var(--grey-light-1)", i.GREY_LIGHT_2 = "var(--grey-light-2)", i.GREY_LIGHT_3 = "var(--grey-light-3)", i.GREY_LIGHT_4 = "var(--grey-light-4)", i.GREY_DARK_1 = "var(--grey-dark-1)", i.GREY_DARK_2 = "var(--grey-dark-2)", i.GREY_DARK_3 = "var(--grey-dark-3)", i.GREY_DARK_4 = "var(--grey-dark-4)", i.GREY_DARK_5 = "var(--grey-dark-5)", i.BLUE_PRIMARY = "var(--blue-primary)", i.BLUE_HOVER = "var(--blue-hover)", i.BLUE_LIGHT_1 = "var(--blue-light-1)", i.BLUE_LIGHT_2 = "var(--blue-light-2)", i.BLUE_LIGHT_3 = "var(--blue-light-3)", i.BLUE_LIGHT_4 = "var(--blue-light-4)", i.BLUE_DARK_1 = "var(--blue-dark-1)", i.BLUE_DARK_3 = "var(--blue-dark-3)", i.PURPLE_LIGHT = "var(--purple-light)", i.PURPLE_LIGHT_2 = "var(--purple-light-2)", i.PURPLE_DARK = "var(--purple-dark)", i.NOTIFICATION_WARNING_LIGHT = "var(--notification-warning-light)", i.NOTIFICATION_WARNING_DARK = "var(--notification-warning-dark)", i.NOTIFICATION_SUCCESS_LIGHT = "var(--notification-success-light)", i.NOTIFICATION_SUCCESS_DARK = "var(--notification-success-dark)", i.NOTIFICATION_ERROR_LIGHT = "var(--notification-error-light)", i.NOTIFICATION_ERROR_DARK = "var(--notification-error-dark)", i.NOTIFICATION_ERROR_DARK_MODE = "var(--notification-error-dark-mode)", i.CYAN_LIGHT = "var(--cyan-light)", i.GOLD_LIGHT = "var(--gold-light)", i))(m1 || {});
|
|
5229
|
+
const bt = C1({
|
|
5173
5230
|
locale: "en",
|
|
5174
5231
|
theme: "light"
|
|
5175
5232
|
});
|
|
5176
|
-
|
|
5233
|
+
bt.Provider;
|
|
5177
5234
|
const C2 = ({
|
|
5178
5235
|
children: i,
|
|
5179
5236
|
width: e,
|
|
@@ -5190,10 +5247,10 @@ const C2 = ({
|
|
|
5190
5247
|
{
|
|
5191
5248
|
className: `snmt-tag ${t} ${o ? "disabled" : ""}`,
|
|
5192
5249
|
closeIcon: /* @__PURE__ */ r(
|
|
5193
|
-
|
|
5250
|
+
Mt,
|
|
5194
5251
|
{
|
|
5195
5252
|
name: "cancelCircle",
|
|
5196
|
-
color: o ?
|
|
5253
|
+
color: o ? m1.GREY_DARK_1 : m1.GREY_DARK_2,
|
|
5197
5254
|
width: c,
|
|
5198
5255
|
height: c,
|
|
5199
5256
|
onClick: a
|
|
@@ -5203,21 +5260,21 @@ const C2 = ({
|
|
|
5203
5260
|
style: { width: e ?? "fit-content" },
|
|
5204
5261
|
closable: n,
|
|
5205
5262
|
children: typeof i == "string" ? /* @__PURE__ */ r(
|
|
5206
|
-
|
|
5263
|
+
pe,
|
|
5207
5264
|
{
|
|
5208
5265
|
variant: t === "small" ? "body4" : "body2",
|
|
5209
|
-
color: o ?
|
|
5266
|
+
color: o ? m1.GREY_DARK_2 : m1.GREY_DARK_5,
|
|
5210
5267
|
children: i
|
|
5211
5268
|
}
|
|
5212
5269
|
) : i
|
|
5213
5270
|
}
|
|
5214
5271
|
);
|
|
5215
|
-
}, { Title:
|
|
5272
|
+
}, { Title: yt, Text: Ht } = G1, Et = {
|
|
5216
5273
|
h1: 1,
|
|
5217
5274
|
h2: 2,
|
|
5218
5275
|
h3: 3,
|
|
5219
5276
|
h4: 4
|
|
5220
|
-
},
|
|
5277
|
+
}, Vt = d1(
|
|
5221
5278
|
({
|
|
5222
5279
|
align: i = "inherit",
|
|
5223
5280
|
variant: e = "body1",
|
|
@@ -5229,26 +5286,26 @@ const C2 = ({
|
|
|
5229
5286
|
/** This prop allows you to enable tooltip if text size is too big */
|
|
5230
5287
|
trim: a = !1
|
|
5231
5288
|
}, C) => {
|
|
5232
|
-
const d =
|
|
5233
|
-
|
|
5234
|
-
const [l, h] =
|
|
5235
|
-
|
|
5289
|
+
const d = J(null);
|
|
5290
|
+
k1(C, () => d.current);
|
|
5291
|
+
const [l, h] = O(!1);
|
|
5292
|
+
G(() => {
|
|
5236
5293
|
var v;
|
|
5237
5294
|
if (!a) return;
|
|
5238
5295
|
const m = () => {
|
|
5239
5296
|
d.current && h(d.current.scrollWidth > d.current.clientWidth);
|
|
5240
5297
|
};
|
|
5241
5298
|
m();
|
|
5242
|
-
const
|
|
5243
|
-
return d.current &&
|
|
5244
|
-
|
|
5299
|
+
const b = new ResizeObserver(m);
|
|
5300
|
+
return d.current && b.observe(d.current), (v = d.current) != null && v.parentElement && b.observe(d.current.parentElement), () => {
|
|
5301
|
+
b.disconnect();
|
|
5245
5302
|
};
|
|
5246
5303
|
}, [a]);
|
|
5247
5304
|
const g = e === "h1" || e === "h2" || e === "h3" || e === "h4";
|
|
5248
|
-
let
|
|
5249
|
-
i && i !== "inherit" && (
|
|
5250
|
-
const
|
|
5251
|
-
className:
|
|
5305
|
+
let p = `snmt-typography snmt-typography-${e}`;
|
|
5306
|
+
i && i !== "inherit" && (p += ` snmt-typography-align-${i}`), o && (p += " collapsed");
|
|
5307
|
+
const w = {
|
|
5308
|
+
className: p,
|
|
5252
5309
|
style: { color: t, whiteSpace: a ? "nowrap" : c, display: a ? "block" : "" },
|
|
5253
5310
|
onClick: n,
|
|
5254
5311
|
ref: d,
|
|
@@ -5259,9 +5316,9 @@ const C2 = ({
|
|
|
5259
5316
|
}
|
|
5260
5317
|
} : void 0
|
|
5261
5318
|
};
|
|
5262
|
-
return g ? /* @__PURE__ */ r(
|
|
5319
|
+
return g ? /* @__PURE__ */ r(yt, { level: Et[e], ...w, children: s }) : /* @__PURE__ */ r(Ht, { ...w, children: s });
|
|
5263
5320
|
}
|
|
5264
|
-
),
|
|
5321
|
+
), It = ({
|
|
5265
5322
|
children: i,
|
|
5266
5323
|
content: e,
|
|
5267
5324
|
isOpen: t,
|
|
@@ -5270,7 +5327,7 @@ const C2 = ({
|
|
|
5270
5327
|
noPadding: o = !1,
|
|
5271
5328
|
trigger: c = "click"
|
|
5272
5329
|
}) => {
|
|
5273
|
-
const [a, C] =
|
|
5330
|
+
const [a, C] = O(!1);
|
|
5274
5331
|
return /* @__PURE__ */ r(
|
|
5275
5332
|
b2,
|
|
5276
5333
|
{
|
|
@@ -5287,7 +5344,7 @@ const C2 = ({
|
|
|
5287
5344
|
}
|
|
5288
5345
|
);
|
|
5289
5346
|
};
|
|
5290
|
-
var
|
|
5347
|
+
var At = { exports: {} };
|
|
5291
5348
|
(function(i, e) {
|
|
5292
5349
|
(function(t, s) {
|
|
5293
5350
|
i.exports = s();
|
|
@@ -5297,8 +5354,8 @@ var Ht = { exports: {} };
|
|
|
5297
5354
|
return "[" + t + (s[(n - 20) % 10] || s[n] || s[0]) + "]";
|
|
5298
5355
|
} };
|
|
5299
5356
|
});
|
|
5300
|
-
})(
|
|
5301
|
-
const
|
|
5357
|
+
})(At);
|
|
5358
|
+
const Ot = ({
|
|
5302
5359
|
values: i,
|
|
5303
5360
|
onTagClose: e,
|
|
5304
5361
|
maxWidth: t,
|
|
@@ -5307,17 +5364,17 @@ const Vt = ({
|
|
|
5307
5364
|
options: o,
|
|
5308
5365
|
extraOptions: c
|
|
5309
5366
|
}) => {
|
|
5310
|
-
const { locale: a } = r1(
|
|
5311
|
-
if (
|
|
5367
|
+
const { locale: a } = r1(T1), { t: C } = z2("common", { lng: a }), [d, l] = O(!1);
|
|
5368
|
+
if (G(() => {
|
|
5312
5369
|
i.length || l(!1);
|
|
5313
5370
|
}, [i]), !i.length)
|
|
5314
5371
|
return null;
|
|
5315
5372
|
const h = (g) => {
|
|
5316
|
-
var
|
|
5317
|
-
return ((
|
|
5373
|
+
var p, w;
|
|
5374
|
+
return ((p = o == null ? void 0 : o.find((v) => v.value === g)) == null ? void 0 : p.label) || ((w = c == null ? void 0 : c.find((v) => v.value === g)) == null ? void 0 : w.label) || g;
|
|
5318
5375
|
};
|
|
5319
5376
|
return /* @__PURE__ */ u(
|
|
5320
|
-
|
|
5377
|
+
It,
|
|
5321
5378
|
{
|
|
5322
5379
|
content: (
|
|
5323
5380
|
// 90: paddings + margins + gaps and so on
|
|
@@ -5342,19 +5399,19 @@ const Vt = ({
|
|
|
5342
5399
|
]
|
|
5343
5400
|
}
|
|
5344
5401
|
);
|
|
5345
|
-
},
|
|
5402
|
+
}, Zt = {
|
|
5346
5403
|
small: 20,
|
|
5347
5404
|
medium: 28,
|
|
5348
5405
|
large: 48
|
|
5349
|
-
},
|
|
5350
|
-
const t =
|
|
5406
|
+
}, $1 = ({ size: i = "medium", color: e = "#004ed7" }) => {
|
|
5407
|
+
const t = Zt[i], s = `no-repeat linear-gradient(${e}
|
|
5351
5408
|
calc(50% - 10px), #0000 0 calc(50% + 10px), ${e} 0)`, n = {
|
|
5352
5409
|
width: t,
|
|
5353
5410
|
background: `${s} 0% 100%, ${s} 50% 100%, ${s} 100% 100%`,
|
|
5354
5411
|
backgroundSize: "20% calc(200% + 20px)"
|
|
5355
5412
|
};
|
|
5356
5413
|
return /* @__PURE__ */ r("span", { className: "snmt-loader", style: n });
|
|
5357
|
-
},
|
|
5414
|
+
}, j1 = d1(
|
|
5358
5415
|
({
|
|
5359
5416
|
value: i,
|
|
5360
5417
|
onChange: e,
|
|
@@ -5369,101 +5426,101 @@ const Vt = ({
|
|
|
5369
5426
|
scrollThresholdValue: l = 50,
|
|
5370
5427
|
onSearchChange: h,
|
|
5371
5428
|
onDropdownVisibleChange: g,
|
|
5372
|
-
onScrollToEnd:
|
|
5373
|
-
onPopupScroll:
|
|
5429
|
+
onScrollToEnd: p,
|
|
5430
|
+
onPopupScroll: w,
|
|
5374
5431
|
id: v,
|
|
5375
5432
|
extraOptions: m,
|
|
5376
|
-
dropdownRender:
|
|
5377
|
-
optionRender:
|
|
5433
|
+
dropdownRender: b,
|
|
5434
|
+
optionRender: y,
|
|
5378
5435
|
isLoading: A,
|
|
5379
|
-
readOnly:
|
|
5436
|
+
readOnly: f,
|
|
5380
5437
|
error: x
|
|
5381
5438
|
}, _) => {
|
|
5382
|
-
const [R, j] =
|
|
5383
|
-
|
|
5384
|
-
|
|
5439
|
+
const [R, j] = O(!1), [q, F] = O(!1), [E, T] = O(!0), [V, Z] = O(i), D = J(null);
|
|
5440
|
+
G(() => {
|
|
5441
|
+
Z(i);
|
|
5385
5442
|
}, [i]);
|
|
5386
5443
|
const B = (N) => {
|
|
5387
5444
|
j(N), g && g(N);
|
|
5388
|
-
},
|
|
5389
|
-
var
|
|
5390
|
-
return !!((
|
|
5445
|
+
}, U = (N, H) => {
|
|
5446
|
+
var K;
|
|
5447
|
+
return !!((K = H == null ? void 0 : H.label) != null && K.toString().toLowerCase().includes(N.toLowerCase()));
|
|
5391
5448
|
}, I = () => {
|
|
5392
5449
|
F(!0);
|
|
5393
5450
|
}, Y = () => {
|
|
5394
5451
|
F(!1);
|
|
5395
5452
|
}, P = $(
|
|
5396
5453
|
(N) => {
|
|
5397
|
-
if (
|
|
5398
|
-
const
|
|
5399
|
-
e == null || e(
|
|
5454
|
+
if (Z(N), s) {
|
|
5455
|
+
const K = N;
|
|
5456
|
+
e == null || e(K);
|
|
5400
5457
|
return;
|
|
5401
5458
|
}
|
|
5402
|
-
const
|
|
5403
|
-
e == null || e(
|
|
5459
|
+
const H = N;
|
|
5460
|
+
e == null || e(H);
|
|
5404
5461
|
},
|
|
5405
5462
|
[s, e]
|
|
5406
5463
|
), e1 = $(() => {
|
|
5407
|
-
if (!(
|
|
5464
|
+
if (!(f || a)) {
|
|
5408
5465
|
if (s) {
|
|
5409
5466
|
P([]);
|
|
5410
5467
|
return;
|
|
5411
5468
|
}
|
|
5412
5469
|
P("");
|
|
5413
5470
|
}
|
|
5414
|
-
}, [a, P, s,
|
|
5471
|
+
}, [a, P, s, f]), t1 = $(
|
|
5415
5472
|
(N) => {
|
|
5416
|
-
const
|
|
5417
|
-
P(
|
|
5473
|
+
const H = V.filter((K) => K !== N);
|
|
5474
|
+
P(H), Z(H);
|
|
5418
5475
|
},
|
|
5419
|
-
[P,
|
|
5420
|
-
),
|
|
5421
|
-
(N) => (
|
|
5476
|
+
[P, V]
|
|
5477
|
+
), g1 = $(
|
|
5478
|
+
(N) => (V == null ? void 0 : V.indexOf(N)) === 0 ? (
|
|
5422
5479
|
// if the search input is empty
|
|
5423
5480
|
// then display the placeholder, else do not display it
|
|
5424
|
-
/* @__PURE__ */ r("span", { className: "custom-placeholder", children:
|
|
5481
|
+
/* @__PURE__ */ r("span", { className: "custom-placeholder", children: E ? t : "" })
|
|
5425
5482
|
) : /* @__PURE__ */ r(i1, {}),
|
|
5426
|
-
[
|
|
5427
|
-
),
|
|
5483
|
+
[E, V, t]
|
|
5484
|
+
), v1 = (N) => {
|
|
5428
5485
|
N.preventDefault(), N.stopPropagation();
|
|
5429
|
-
},
|
|
5430
|
-
const { target:
|
|
5431
|
-
|
|
5486
|
+
}, N1 = async (N) => {
|
|
5487
|
+
const { target: H } = N;
|
|
5488
|
+
H.scrollTop + H.offsetHeight >= H.scrollHeight - l && (p == null || p(!0)), w && await w(N);
|
|
5432
5489
|
}, o1 = $(
|
|
5433
5490
|
(N) => {
|
|
5434
|
-
var
|
|
5435
|
-
return ((
|
|
5491
|
+
var H, K;
|
|
5492
|
+
return ((H = o.find((a1) => a1.value === N)) == null ? void 0 : H.label) || ((K = m == null ? void 0 : m.find(
|
|
5436
5493
|
(a1) => a1.value === N
|
|
5437
|
-
)) == null ? void 0 :
|
|
5494
|
+
)) == null ? void 0 : K.label) || N;
|
|
5438
5495
|
},
|
|
5439
5496
|
[m, o]
|
|
5440
|
-
),
|
|
5497
|
+
), R1 = $(
|
|
5441
5498
|
(N) => {
|
|
5442
|
-
var
|
|
5499
|
+
var H;
|
|
5443
5500
|
return /* @__PURE__ */ r(
|
|
5444
|
-
|
|
5501
|
+
Ot,
|
|
5445
5502
|
{
|
|
5446
5503
|
values: N,
|
|
5447
5504
|
onTagClose: t1,
|
|
5448
|
-
maxWidth: ((
|
|
5505
|
+
maxWidth: ((H = D.current) == null ? void 0 : H.clientWidth) || 0,
|
|
5449
5506
|
disabled: a,
|
|
5450
|
-
closable: !
|
|
5507
|
+
closable: !f,
|
|
5451
5508
|
options: o,
|
|
5452
5509
|
extraOptions: m
|
|
5453
5510
|
}
|
|
5454
5511
|
);
|
|
5455
5512
|
},
|
|
5456
|
-
[a, m, t1, o,
|
|
5457
|
-
),
|
|
5458
|
-
({ label: N, value:
|
|
5459
|
-
[a, o1, t1,
|
|
5460
|
-
), z = Array.isArray(
|
|
5513
|
+
[a, m, t1, o, f]
|
|
5514
|
+
), S = $(
|
|
5515
|
+
({ label: N, value: H, mode: K }) => K === "filter" ? g1(H) : /* @__PURE__ */ r("div", { onMouseDown: v1, className: "tag-wrapper", children: /* @__PURE__ */ r(C2, { onClose: () => t1(H), disabled: a, children: typeof N == "object" ? N : o1(H) }) }),
|
|
5516
|
+
[a, o1, t1, g1]
|
|
5517
|
+
), z = Array.isArray(V) && V.length > 0 || !!V && typeof V == "string" && V.trim() !== "";
|
|
5461
5518
|
return /* @__PURE__ */ u("div", { className: "snmt-select-container", children: [
|
|
5462
5519
|
/* @__PURE__ */ u(
|
|
5463
5520
|
"div",
|
|
5464
5521
|
{
|
|
5465
|
-
className: `snmt-select-1-15-6 ${
|
|
5466
|
-
${s ? "" : "snmt-select-single"} ${
|
|
5522
|
+
className: `snmt-select-1-15-6 ${q ? "snmt-select-focused" : ""}
|
|
5523
|
+
${s ? "" : "snmt-select-single"} ${f ? "snmt-select-read-only" : ""}`,
|
|
5467
5524
|
ref: D,
|
|
5468
5525
|
style: { width: c },
|
|
5469
5526
|
children: [
|
|
@@ -5471,34 +5528,34 @@ const Vt = ({
|
|
|
5471
5528
|
N2,
|
|
5472
5529
|
{
|
|
5473
5530
|
className: "snmt-select-blank",
|
|
5474
|
-
popupClassName:
|
|
5531
|
+
popupClassName: f ? "dropdown-read-only" : "",
|
|
5475
5532
|
id: v,
|
|
5476
5533
|
ref: _,
|
|
5477
5534
|
showSearch: !!n,
|
|
5478
|
-
filterOption: n &&
|
|
5535
|
+
filterOption: n && U,
|
|
5479
5536
|
onDropdownVisibleChange: B,
|
|
5480
5537
|
disabled: a,
|
|
5481
|
-
value:
|
|
5538
|
+
value: V || void 0,
|
|
5482
5539
|
labelRender: (N) => {
|
|
5483
|
-
const
|
|
5484
|
-
return a ? /* @__PURE__ */ r("span", { style: { color: Q.GREY_DARK_1 }, children:
|
|
5540
|
+
const H = o1(N.value);
|
|
5541
|
+
return a ? /* @__PURE__ */ r("span", { style: { color: Q.GREY_DARK_1 }, children: H }) : H;
|
|
5485
5542
|
},
|
|
5486
5543
|
mode: s === "filter" ? "multiple" : s,
|
|
5487
5544
|
onChange: P,
|
|
5488
5545
|
onFocus: I,
|
|
5489
5546
|
onBlur: Y,
|
|
5490
5547
|
onSearch: (N) => {
|
|
5491
|
-
|
|
5548
|
+
T(!N), h && h(N);
|
|
5492
5549
|
},
|
|
5493
|
-
onSelect: () =>
|
|
5494
|
-
onDeselect: () =>
|
|
5495
|
-
tagRender: (N) =>
|
|
5550
|
+
onSelect: () => T(!0),
|
|
5551
|
+
onDeselect: () => T(!0),
|
|
5552
|
+
tagRender: (N) => S({ ...N, mode: s }),
|
|
5496
5553
|
maxTagCount: "responsive",
|
|
5497
|
-
maxTagPlaceholder:
|
|
5498
|
-
onPopupScroll:
|
|
5499
|
-
prefix: A && /* @__PURE__ */ r(
|
|
5554
|
+
maxTagPlaceholder: R1,
|
|
5555
|
+
onPopupScroll: N1,
|
|
5556
|
+
prefix: A && /* @__PURE__ */ r($1, { size: "small" }),
|
|
5500
5557
|
suffixIcon: /* @__PURE__ */ r("div", { className: "wrapper-suffix-icon", children: s !== "filter" && /* @__PURE__ */ u(i1, { children: [
|
|
5501
|
-
|
|
5558
|
+
V && !!V.length && (s || d) && /* @__PURE__ */ r(
|
|
5502
5559
|
"div",
|
|
5503
5560
|
{
|
|
5504
5561
|
onClick: e1,
|
|
@@ -5506,7 +5563,7 @@ const Vt = ({
|
|
|
5506
5563
|
cursor: a ? "not-allowed" : "pointer"
|
|
5507
5564
|
},
|
|
5508
5565
|
children: /* @__PURE__ */ r(
|
|
5509
|
-
|
|
5566
|
+
u1,
|
|
5510
5567
|
{
|
|
5511
5568
|
name: "cancel",
|
|
5512
5569
|
color: a ? Q.GREY_DARK_1 : Q.GREY_DARK_2
|
|
@@ -5515,7 +5572,7 @@ const Vt = ({
|
|
|
5515
5572
|
}
|
|
5516
5573
|
),
|
|
5517
5574
|
/* @__PURE__ */ r(
|
|
5518
|
-
|
|
5575
|
+
u1,
|
|
5519
5576
|
{
|
|
5520
5577
|
name: "selectArrowIcon",
|
|
5521
5578
|
color: a ? Q.GREY_DARK_1 : Q.GREY_DARK_5,
|
|
@@ -5524,14 +5581,14 @@ const Vt = ({
|
|
|
5524
5581
|
}
|
|
5525
5582
|
)
|
|
5526
5583
|
] }) }),
|
|
5527
|
-
removeIcon: /* @__PURE__ */ r(
|
|
5584
|
+
removeIcon: /* @__PURE__ */ r(u1, { name: "cancelCircle", color: Q.GREY_DARK_1 }),
|
|
5528
5585
|
options: o,
|
|
5529
|
-
optionRender: (N) =>
|
|
5586
|
+
optionRender: (N) => y ? y(N.data) : /* @__PURE__ */ u(f1, { justifyContent: "space-between", alignItems: "center", flex: "1", children: [
|
|
5530
5587
|
/* @__PURE__ */ u(f1, { alignItems: "center", gap: 12, children: [
|
|
5531
5588
|
s && /* @__PURE__ */ r(
|
|
5532
|
-
|
|
5589
|
+
t5,
|
|
5533
5590
|
{
|
|
5534
|
-
checked: !!(
|
|
5591
|
+
checked: !!(V != null && V.includes(N.value))
|
|
5535
5592
|
}
|
|
5536
5593
|
),
|
|
5537
5594
|
/* @__PURE__ */ u(f1, { alignItems: "center", gap: 8, children: [
|
|
@@ -5539,11 +5596,11 @@ const Vt = ({
|
|
|
5539
5596
|
/* @__PURE__ */ r("span", { children: N.label })
|
|
5540
5597
|
] })
|
|
5541
5598
|
] }),
|
|
5542
|
-
!s &&
|
|
5599
|
+
!s && V === N.value && /* @__PURE__ */ r(u1, { name: "check", color: Q.BLUE_DARK_1 })
|
|
5543
5600
|
] }),
|
|
5544
5601
|
dropdownRender: (N) => /* @__PURE__ */ u("div", { className: "dropdown-container", children: [
|
|
5545
|
-
/* @__PURE__ */ r("div", { className: "dropdown-menu", children:
|
|
5546
|
-
A && /* @__PURE__ */ r("div", { className: "loading-overlay", children: /* @__PURE__ */ r(
|
|
5602
|
+
/* @__PURE__ */ r("div", { className: "dropdown-menu", children: b ? b(N) : N }),
|
|
5603
|
+
A && /* @__PURE__ */ r("div", { className: "loading-overlay", children: /* @__PURE__ */ r($1, {}) })
|
|
5547
5604
|
] })
|
|
5548
5605
|
}
|
|
5549
5606
|
),
|
|
@@ -5551,14 +5608,14 @@ const Vt = ({
|
|
|
5551
5608
|
/* @__PURE__ */ r(
|
|
5552
5609
|
"label",
|
|
5553
5610
|
{
|
|
5554
|
-
className: `${
|
|
5611
|
+
className: `${q || z ? "label-floating" : ""} ${a ? "label-disabled" : ""} ${q ? "label-focused" : ""} ${A ? "label-loading" : ""} ${x ? "label-error" : ""}`,
|
|
5555
5612
|
children: C ? `${t}*` : t
|
|
5556
5613
|
}
|
|
5557
5614
|
),
|
|
5558
5615
|
/* @__PURE__ */ r(
|
|
5559
5616
|
"fieldset",
|
|
5560
5617
|
{
|
|
5561
|
-
className: `${
|
|
5618
|
+
className: `${q ? "fieldset-focused" : ""} ${a ? "fieldset-disabled" : ""} ${z ? "fieldset-filled" : ""} ${x ? "fieldset-error" : ""}`,
|
|
5562
5619
|
children: /* @__PURE__ */ r("legend", { children: /* @__PURE__ */ r("span", { children: C ? `${t}*` : t }) })
|
|
5563
5620
|
}
|
|
5564
5621
|
)
|
|
@@ -5568,7 +5625,7 @@ const Vt = ({
|
|
|
5568
5625
|
),
|
|
5569
5626
|
x && /* @__PURE__ */ u(f1, { justifyContent: "flex-start", gap: 6, children: [
|
|
5570
5627
|
/* @__PURE__ */ r(
|
|
5571
|
-
|
|
5628
|
+
u1,
|
|
5572
5629
|
{
|
|
5573
5630
|
name: "attention",
|
|
5574
5631
|
color: Q.NOTIFICATION_ERROR_DARK,
|
|
@@ -5576,14 +5633,14 @@ const Vt = ({
|
|
|
5576
5633
|
width: 16
|
|
5577
5634
|
}
|
|
5578
5635
|
),
|
|
5579
|
-
typeof x == "string" ? /* @__PURE__ */ r(
|
|
5636
|
+
typeof x == "string" ? /* @__PURE__ */ r(Vt, { color: Q.NOTIFICATION_ERROR_DARK, variant: "body4", children: x }) : x
|
|
5580
5637
|
] })
|
|
5581
5638
|
] });
|
|
5582
5639
|
}
|
|
5583
5640
|
);
|
|
5584
|
-
function
|
|
5585
|
-
const t =
|
|
5586
|
-
return
|
|
5641
|
+
function St(i, e = 500) {
|
|
5642
|
+
const t = J();
|
|
5643
|
+
return G(() => () => {
|
|
5587
5644
|
t.current && clearTimeout(t.current);
|
|
5588
5645
|
}, []), (...s) => {
|
|
5589
5646
|
const n = setTimeout(() => {
|
|
@@ -5592,15 +5649,15 @@ function It(i, e = 500) {
|
|
|
5592
5649
|
clearTimeout(t.current), t.current = n;
|
|
5593
5650
|
};
|
|
5594
5651
|
}
|
|
5595
|
-
function
|
|
5596
|
-
const e =
|
|
5597
|
-
return
|
|
5652
|
+
function F1(i) {
|
|
5653
|
+
const e = J(i);
|
|
5654
|
+
return G(() => {
|
|
5598
5655
|
e.current = i;
|
|
5599
5656
|
}, [i]), e.current;
|
|
5600
5657
|
}
|
|
5601
|
-
const
|
|
5658
|
+
const V1 = 100, l1 = {
|
|
5602
5659
|
offset: 0
|
|
5603
|
-
},
|
|
5660
|
+
}, W1 = d1(
|
|
5604
5661
|
({
|
|
5605
5662
|
loadOptions: i,
|
|
5606
5663
|
width: e,
|
|
@@ -5615,154 +5672,154 @@ const E1 = 100, l1 = {
|
|
|
5615
5672
|
preloadOptions: l,
|
|
5616
5673
|
extraOptions: h,
|
|
5617
5674
|
onDropdownVisibleChange: g,
|
|
5618
|
-
optionRender:
|
|
5619
|
-
dropdownRender:
|
|
5675
|
+
optionRender: p,
|
|
5676
|
+
dropdownRender: w,
|
|
5620
5677
|
readOnly: v,
|
|
5621
5678
|
clearable: m = !1,
|
|
5622
|
-
required:
|
|
5623
|
-
error:
|
|
5679
|
+
required: b = !1,
|
|
5680
|
+
error: y
|
|
5624
5681
|
}, A) => {
|
|
5625
|
-
const [
|
|
5682
|
+
const [f, x] = O(), [_, R] = O(l1), [j, q] = O(!1), [F, E] = O(), [T, V] = O(!1), [Z, D] = O(
|
|
5626
5683
|
h ?? []
|
|
5627
|
-
), B =
|
|
5684
|
+
), B = F1(_.offset), U = F1(F), [I, Y] = O(!1), P = J(!1), e1 = $(
|
|
5628
5685
|
async ({
|
|
5629
|
-
limit:
|
|
5686
|
+
limit: S = V1,
|
|
5630
5687
|
offset: z,
|
|
5631
5688
|
search: N
|
|
5632
5689
|
}) => {
|
|
5633
|
-
|
|
5690
|
+
q(!0);
|
|
5634
5691
|
try {
|
|
5635
|
-
const
|
|
5636
|
-
limit:
|
|
5692
|
+
const H = await i({
|
|
5693
|
+
limit: S,
|
|
5637
5694
|
offset: z,
|
|
5638
5695
|
search: N
|
|
5639
5696
|
});
|
|
5640
5697
|
x(
|
|
5641
|
-
(
|
|
5642
|
-
), R((
|
|
5643
|
-
...
|
|
5644
|
-
count:
|
|
5698
|
+
(K) => z === 0 ? H.options : [...K ?? [], ...H.options]
|
|
5699
|
+
), R((K) => ({
|
|
5700
|
+
...K,
|
|
5701
|
+
count: H.count
|
|
5645
5702
|
}));
|
|
5646
|
-
} catch (
|
|
5647
|
-
return console.error("AsyncSelect. fetchOptions error",
|
|
5703
|
+
} catch (H) {
|
|
5704
|
+
return console.error("AsyncSelect. fetchOptions error", H), [];
|
|
5648
5705
|
} finally {
|
|
5649
|
-
|
|
5706
|
+
q(!1);
|
|
5650
5707
|
}
|
|
5651
5708
|
},
|
|
5652
5709
|
[i]
|
|
5653
|
-
), t1 =
|
|
5654
|
-
|
|
5655
|
-
}),
|
|
5656
|
-
(
|
|
5710
|
+
), t1 = St((S) => {
|
|
5711
|
+
E(S), S || R(l1);
|
|
5712
|
+
}), g1 = $(
|
|
5713
|
+
(S) => t1(S),
|
|
5657
5714
|
[t1]
|
|
5658
|
-
),
|
|
5659
|
-
async (
|
|
5660
|
-
j ||
|
|
5715
|
+
), v1 = $(
|
|
5716
|
+
async (S) => {
|
|
5717
|
+
j || S && _.count && _.count > ((f == null ? void 0 : f.length) ?? 0) && R((z) => ({
|
|
5661
5718
|
...z,
|
|
5662
|
-
offset: z.offset +
|
|
5719
|
+
offset: z.offset + V1
|
|
5663
5720
|
}));
|
|
5664
5721
|
},
|
|
5665
|
-
[j,
|
|
5666
|
-
),
|
|
5667
|
-
(
|
|
5668
|
-
|
|
5722
|
+
[j, f == null ? void 0 : f.length, _.count]
|
|
5723
|
+
), N1 = $(
|
|
5724
|
+
(S) => {
|
|
5725
|
+
V(S), !S && F && (E(void 0), R(l1), Y(!0)), g == null || g(S);
|
|
5669
5726
|
},
|
|
5670
5727
|
[g, F]
|
|
5671
5728
|
);
|
|
5672
|
-
|
|
5673
|
-
!P.current || j || (I ||
|
|
5674
|
-
}, [I,
|
|
5729
|
+
G(() => {
|
|
5730
|
+
!P.current || j || (I || T && (B !== _.offset || U !== F || !f)) && (e1({ offset: _.offset, limit: V1, search: F }), I && Y(!1));
|
|
5731
|
+
}, [I, T, _.offset, F, B, U, f, j]), G(() => {
|
|
5675
5732
|
(d || l) && e1(l1), P.current = !0;
|
|
5676
|
-
}, []),
|
|
5677
|
-
h && D((
|
|
5733
|
+
}, []), G(() => {
|
|
5734
|
+
h && D((S) => {
|
|
5678
5735
|
const z = h.filter(
|
|
5679
|
-
(N) => !
|
|
5736
|
+
(N) => !S.some((H) => H.value === N.value)
|
|
5680
5737
|
);
|
|
5681
|
-
return [...
|
|
5738
|
+
return [...S, ...z];
|
|
5682
5739
|
});
|
|
5683
5740
|
}, [h]);
|
|
5684
5741
|
const o1 = $(
|
|
5685
|
-
(
|
|
5686
|
-
t && t(
|
|
5742
|
+
(S) => {
|
|
5743
|
+
t && t(S);
|
|
5687
5744
|
let z = [];
|
|
5688
|
-
if (C ? z = Array.isArray(
|
|
5745
|
+
if (C ? z = Array.isArray(S) ? S : [] : z = S ? [S] : [], F) {
|
|
5689
5746
|
const N = z.filter(
|
|
5690
|
-
(
|
|
5747
|
+
(H) => !(Z != null && Z.some((K) => K.value === H))
|
|
5691
5748
|
);
|
|
5692
|
-
N.length > 0 && D((
|
|
5693
|
-
...
|
|
5694
|
-
...N.map((
|
|
5695
|
-
const a1 =
|
|
5749
|
+
N.length > 0 && D((H = []) => [
|
|
5750
|
+
...H,
|
|
5751
|
+
...N.map((K) => {
|
|
5752
|
+
const a1 = f == null ? void 0 : f.find((w2) => w2.value === K);
|
|
5696
5753
|
return {
|
|
5697
|
-
value:
|
|
5698
|
-
label: (a1 == null ? void 0 : a1.label) ??
|
|
5754
|
+
value: K,
|
|
5755
|
+
label: (a1 == null ? void 0 : a1.label) ?? K
|
|
5699
5756
|
};
|
|
5700
5757
|
})
|
|
5701
|
-
]),
|
|
5758
|
+
]), E(void 0), R(l1), Y(!0);
|
|
5702
5759
|
}
|
|
5703
5760
|
},
|
|
5704
|
-
[t, F, C,
|
|
5705
|
-
),
|
|
5761
|
+
[t, F, C, f, Z]
|
|
5762
|
+
), R1 = v2(
|
|
5706
5763
|
() => ({
|
|
5707
5764
|
id: n,
|
|
5708
5765
|
width: e,
|
|
5709
|
-
options:
|
|
5766
|
+
options: f || [],
|
|
5710
5767
|
onChange: o1,
|
|
5711
5768
|
ref: A,
|
|
5712
5769
|
placeholder: a,
|
|
5713
5770
|
search: !0,
|
|
5714
5771
|
value: s,
|
|
5715
|
-
onSearchChange:
|
|
5716
|
-
onDropdownVisibleChange:
|
|
5772
|
+
onSearchChange: g1,
|
|
5773
|
+
onDropdownVisibleChange: N1,
|
|
5717
5774
|
scrollThresholdValue: c,
|
|
5718
|
-
onScrollToEnd:
|
|
5775
|
+
onScrollToEnd: v1,
|
|
5719
5776
|
disabled: o,
|
|
5720
|
-
extraOptions:
|
|
5777
|
+
extraOptions: Z,
|
|
5721
5778
|
isLoading: j,
|
|
5722
|
-
optionRender:
|
|
5723
|
-
dropdownRender:
|
|
5779
|
+
optionRender: p,
|
|
5780
|
+
dropdownRender: w,
|
|
5724
5781
|
readOnly: v,
|
|
5725
5782
|
clearable: m,
|
|
5726
|
-
required:
|
|
5727
|
-
error:
|
|
5783
|
+
required: b,
|
|
5784
|
+
error: y
|
|
5728
5785
|
}),
|
|
5729
5786
|
[
|
|
5730
5787
|
n,
|
|
5731
5788
|
e,
|
|
5732
|
-
|
|
5789
|
+
f,
|
|
5733
5790
|
o1,
|
|
5734
5791
|
A,
|
|
5735
5792
|
a,
|
|
5736
5793
|
s,
|
|
5737
|
-
|
|
5738
|
-
|
|
5794
|
+
g1,
|
|
5795
|
+
N1,
|
|
5739
5796
|
c,
|
|
5740
|
-
|
|
5797
|
+
v1,
|
|
5741
5798
|
o,
|
|
5742
|
-
|
|
5799
|
+
Z,
|
|
5743
5800
|
j,
|
|
5744
|
-
|
|
5745
|
-
|
|
5801
|
+
p,
|
|
5802
|
+
w,
|
|
5746
5803
|
v,
|
|
5747
5804
|
m,
|
|
5748
|
-
|
|
5749
|
-
|
|
5805
|
+
b,
|
|
5806
|
+
y
|
|
5750
5807
|
]
|
|
5751
5808
|
);
|
|
5752
|
-
return
|
|
5809
|
+
return k1(A, () => ({
|
|
5753
5810
|
refetchOptions: async () => {
|
|
5754
|
-
R(l1),
|
|
5811
|
+
R(l1), E(void 0), Y(!0);
|
|
5755
5812
|
}
|
|
5756
|
-
})), C ? /* @__PURE__ */ r(
|
|
5813
|
+
})), C ? /* @__PURE__ */ r(j1, { ...R1, value: s, mode: C }) : /* @__PURE__ */ r("div", { className: "snmt-async-select", children: /* @__PURE__ */ r(j1, { ...R1, value: s }) });
|
|
5757
5814
|
}
|
|
5758
5815
|
);
|
|
5759
|
-
var
|
|
5760
|
-
const
|
|
5816
|
+
var _1 = /* @__PURE__ */ ((i) => (i.ACTIVE = "Active", i.ARCHIVED = "Archived", i))(_1 || {});
|
|
5817
|
+
const Dt = {
|
|
5761
5818
|
small: 20,
|
|
5762
5819
|
medium: 28,
|
|
5763
5820
|
large: 48
|
|
5764
|
-
},
|
|
5765
|
-
const t =
|
|
5821
|
+
}, Gt = ({ size: i = "medium", color: e = "#004ed7" }) => {
|
|
5822
|
+
const t = Dt[i], s = `no-repeat linear-gradient(${e}
|
|
5766
5823
|
calc(50% - 10px), #0000 0 calc(50% + 10px), ${e} 0)`, n = {
|
|
5767
5824
|
width: t,
|
|
5768
5825
|
background: `${s} 0% 100%, ${s} 50% 100%, ${s} 100% 100%`,
|
|
@@ -5770,7 +5827,7 @@ const At = {
|
|
|
5770
5827
|
};
|
|
5771
5828
|
return /* @__PURE__ */ r("span", { className: "snmt-loader", style: n });
|
|
5772
5829
|
};
|
|
5773
|
-
function
|
|
5830
|
+
function Tt() {
|
|
5774
5831
|
if (console && console.warn) {
|
|
5775
5832
|
for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
|
|
5776
5833
|
e[t] = arguments[t];
|
|
@@ -5781,7 +5838,7 @@ const U1 = {};
|
|
|
5781
5838
|
function Z1() {
|
|
5782
5839
|
for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
|
|
5783
5840
|
e[t] = arguments[t];
|
|
5784
|
-
n1(e[0]) && U1[e[0]] || (n1(e[0]) && (U1[e[0]] = /* @__PURE__ */ new Date()),
|
|
5841
|
+
n1(e[0]) && U1[e[0]] || (n1(e[0]) && (U1[e[0]] = /* @__PURE__ */ new Date()), Tt(...e));
|
|
5785
5842
|
}
|
|
5786
5843
|
const g2 = (i, e) => () => {
|
|
5787
5844
|
if (i.isInitialized)
|
|
@@ -5794,13 +5851,13 @@ const g2 = (i, e) => () => {
|
|
|
5794
5851
|
};
|
|
5795
5852
|
i.on("initialized", t);
|
|
5796
5853
|
}
|
|
5797
|
-
},
|
|
5854
|
+
}, z1 = (i, e, t) => {
|
|
5798
5855
|
i.loadNamespaces(e, g2(i, t));
|
|
5799
|
-
},
|
|
5856
|
+
}, J1 = (i, e, t, s) => {
|
|
5800
5857
|
n1(t) && (t = [t]), t.forEach((n) => {
|
|
5801
5858
|
i.options.ns.indexOf(n) < 0 && i.options.ns.push(n);
|
|
5802
5859
|
}), i.loadLanguages(e, g2(i, s));
|
|
5803
|
-
},
|
|
5860
|
+
}, Kt = function(i, e) {
|
|
5804
5861
|
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
5805
5862
|
const s = e.languages[0], n = e.options ? e.options.fallbackLng : !1, o = e.languages[e.languages.length - 1];
|
|
5806
5863
|
if (s.toLowerCase() === "cimode") return !0;
|
|
@@ -5809,15 +5866,15 @@ const g2 = (i, e) => () => {
|
|
|
5809
5866
|
return d === -1 || d === 2;
|
|
5810
5867
|
};
|
|
5811
5868
|
return t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && e.services.backendConnector.backend && e.isLanguageChangingTo && !c(e.isLanguageChangingTo, i) ? !1 : !!(e.hasResourceBundle(s, i) || !e.services.backendConnector.backend || e.options.resources && !e.options.partialBundledLanguages || c(s, i) && (!n || c(o, i)));
|
|
5812
|
-
},
|
|
5869
|
+
}, Bt = function(i, e) {
|
|
5813
5870
|
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
5814
5871
|
return !e.languages || !e.languages.length ? (Z1("i18n.languages were undefined or empty", e.languages), !0) : e.options.ignoreJSONStructure !== void 0 ? e.hasLoadedNamespace(i, {
|
|
5815
5872
|
lng: t.lng,
|
|
5816
5873
|
precheck: (n, o) => {
|
|
5817
5874
|
if (t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && n.services.backendConnector.backend && n.isLanguageChangingTo && !o(n.isLanguageChangingTo, i)) return !1;
|
|
5818
5875
|
}
|
|
5819
|
-
}) :
|
|
5820
|
-
}, n1 = (i) => typeof i == "string",
|
|
5876
|
+
}) : Kt(i, e, t);
|
|
5877
|
+
}, n1 = (i) => typeof i == "string", Pt = (i) => typeof i == "object" && i !== null, Yt = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, $t = {
|
|
5821
5878
|
"&": "&",
|
|
5822
5879
|
"&": "&",
|
|
5823
5880
|
"<": "<",
|
|
@@ -5838,7 +5895,7 @@ const g2 = (i, e) => () => {
|
|
|
5838
5895
|
"…": "…",
|
|
5839
5896
|
"/": "/",
|
|
5840
5897
|
"/": "/"
|
|
5841
|
-
},
|
|
5898
|
+
}, jt = (i) => $t[i], Ft = (i) => i.replace(Yt, jt);
|
|
5842
5899
|
let S1 = {
|
|
5843
5900
|
bindI18n: "languageChanged",
|
|
5844
5901
|
bindI18nStore: "",
|
|
@@ -5847,27 +5904,27 @@ let S1 = {
|
|
|
5847
5904
|
transWrapTextNodes: "",
|
|
5848
5905
|
transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"],
|
|
5849
5906
|
useSuspense: !0,
|
|
5850
|
-
unescape:
|
|
5907
|
+
unescape: Ft
|
|
5851
5908
|
};
|
|
5852
|
-
const
|
|
5909
|
+
const Wt = function() {
|
|
5853
5910
|
let i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
5854
5911
|
S1 = {
|
|
5855
5912
|
...S1,
|
|
5856
5913
|
...i
|
|
5857
5914
|
};
|
|
5858
|
-
},
|
|
5915
|
+
}, Ut = () => S1;
|
|
5859
5916
|
let u2;
|
|
5860
|
-
const
|
|
5917
|
+
const zt = (i) => {
|
|
5861
5918
|
u2 = i;
|
|
5862
|
-
},
|
|
5919
|
+
}, Jt = () => u2, qt = {
|
|
5863
5920
|
type: "3rdParty",
|
|
5864
5921
|
init(i) {
|
|
5865
|
-
|
|
5922
|
+
Wt(i.options.react), zt(i);
|
|
5866
5923
|
}
|
|
5867
|
-
},
|
|
5868
|
-
class
|
|
5924
|
+
}, Qt = C1();
|
|
5925
|
+
class Xt {
|
|
5869
5926
|
constructor() {
|
|
5870
|
-
|
|
5927
|
+
K1(this, "getUsedNamespaces", () => Object.keys(this.usedNamespaces));
|
|
5871
5928
|
this.usedNamespaces = {};
|
|
5872
5929
|
}
|
|
5873
5930
|
addUsedNamespaces(e) {
|
|
@@ -5876,27 +5933,27 @@ class zt {
|
|
|
5876
5933
|
});
|
|
5877
5934
|
}
|
|
5878
5935
|
}
|
|
5879
|
-
const
|
|
5880
|
-
const t =
|
|
5881
|
-
return
|
|
5936
|
+
const e7 = (i, e) => {
|
|
5937
|
+
const t = J();
|
|
5938
|
+
return G(() => {
|
|
5882
5939
|
t.current = i;
|
|
5883
5940
|
}, [i, e]), t.current;
|
|
5884
|
-
},
|
|
5941
|
+
}, p2 = (i, e, t, s) => i.getFixedT(e, t, s), t7 = (i, e, t, s) => $(p2(i, e, t, s), [i, e, t, s]), i7 = function(i) {
|
|
5885
5942
|
let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
5886
5943
|
const {
|
|
5887
5944
|
i18n: t
|
|
5888
5945
|
} = e, {
|
|
5889
5946
|
i18n: s,
|
|
5890
5947
|
defaultNS: n
|
|
5891
|
-
} = r1(
|
|
5892
|
-
if (o && !o.reportNamespaces && (o.reportNamespaces = new
|
|
5948
|
+
} = r1(Qt) || {}, o = t || s || Jt();
|
|
5949
|
+
if (o && !o.reportNamespaces && (o.reportNamespaces = new Xt()), !o) {
|
|
5893
5950
|
Z1("You will need to pass in an i18next instance by using initReactI18next");
|
|
5894
|
-
const
|
|
5895
|
-
return x.t =
|
|
5951
|
+
const f = (_, R) => n1(R) ? R : Pt(R) && n1(R.defaultValue) ? R.defaultValue : Array.isArray(_) ? _[_.length - 1] : _, x = [f, {}, !1];
|
|
5952
|
+
return x.t = f, x.i18n = {}, x.ready = !1, x;
|
|
5896
5953
|
}
|
|
5897
5954
|
o.options.react && o.options.react.wait !== void 0 && Z1("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
|
|
5898
5955
|
const c = {
|
|
5899
|
-
|
|
5956
|
+
...Ut(),
|
|
5900
5957
|
...o.options.react,
|
|
5901
5958
|
...e
|
|
5902
5959
|
}, {
|
|
@@ -5905,91 +5962,91 @@ const Jt = (i, e) => {
|
|
|
5905
5962
|
} = c;
|
|
5906
5963
|
let d = i;
|
|
5907
5964
|
d = n1(d) ? [d] : d || ["translation"], o.reportNamespaces.addUsedNamespaces && o.reportNamespaces.addUsedNamespaces(d);
|
|
5908
|
-
const l = (o.isInitialized || o.initializedStoreOnce) && d.every((
|
|
5965
|
+
const l = (o.isInitialized || o.initializedStoreOnce) && d.every((f) => Bt(f, o, c)), h = t7(o, e.lng || null, c.nsMode === "fallback" ? d : d[0], C), g = () => h, p = () => p2(o, e.lng || null, c.nsMode === "fallback" ? d : d[0], C), [w, v] = O(g);
|
|
5909
5966
|
let m = d.join();
|
|
5910
5967
|
e.lng && (m = `${e.lng}${m}`);
|
|
5911
|
-
const
|
|
5912
|
-
|
|
5968
|
+
const b = e7(m), y = J(!0);
|
|
5969
|
+
G(() => {
|
|
5913
5970
|
const {
|
|
5914
|
-
bindI18n:
|
|
5971
|
+
bindI18n: f,
|
|
5915
5972
|
bindI18nStore: x
|
|
5916
5973
|
} = c;
|
|
5917
|
-
|
|
5918
|
-
|
|
5919
|
-
}) :
|
|
5920
|
-
|
|
5921
|
-
})), l &&
|
|
5974
|
+
y.current = !0, !l && !a && (e.lng ? J1(o, e.lng, d, () => {
|
|
5975
|
+
y.current && v(p);
|
|
5976
|
+
}) : z1(o, d, () => {
|
|
5977
|
+
y.current && v(p);
|
|
5978
|
+
})), l && b && b !== m && y.current && v(p);
|
|
5922
5979
|
const _ = () => {
|
|
5923
|
-
|
|
5980
|
+
y.current && v(p);
|
|
5924
5981
|
};
|
|
5925
|
-
return
|
|
5926
|
-
|
|
5982
|
+
return f && o && o.on(f, _), x && o && o.store.on(x, _), () => {
|
|
5983
|
+
y.current = !1, f && o && f.split(" ").forEach((R) => o.off(R, _)), x && o && x.split(" ").forEach((R) => o.store.off(R, _));
|
|
5927
5984
|
};
|
|
5928
|
-
}, [o, m]),
|
|
5929
|
-
|
|
5985
|
+
}, [o, m]), G(() => {
|
|
5986
|
+
y.current && l && v(g);
|
|
5930
5987
|
}, [o, C, l]);
|
|
5931
|
-
const A = [
|
|
5932
|
-
if (A.t =
|
|
5933
|
-
throw new Promise((
|
|
5934
|
-
e.lng ?
|
|
5988
|
+
const A = [w, o, l];
|
|
5989
|
+
if (A.t = w, A.i18n = o, A.ready = l, l || !l && !a) return A;
|
|
5990
|
+
throw new Promise((f) => {
|
|
5991
|
+
e.lng ? J1(o, e.lng, d, () => f()) : z1(o, d, () => f());
|
|
5935
5992
|
});
|
|
5936
|
-
}, M = (i) => typeof i == "string",
|
|
5993
|
+
}, M = (i) => typeof i == "string", p1 = () => {
|
|
5937
5994
|
let i, e;
|
|
5938
5995
|
const t = new Promise((s, n) => {
|
|
5939
5996
|
i = s, e = n;
|
|
5940
5997
|
});
|
|
5941
5998
|
return t.resolve = i, t.reject = e, t;
|
|
5942
|
-
},
|
|
5999
|
+
}, q1 = (i) => i == null ? "" : "" + i, s7 = (i, e, t) => {
|
|
5943
6000
|
i.forEach((s) => {
|
|
5944
6001
|
e[s] && (t[s] = e[s]);
|
|
5945
6002
|
});
|
|
5946
|
-
},
|
|
6003
|
+
}, n7 = /###/g, Q1 = (i) => i && i.indexOf("###") > -1 ? i.replace(n7, ".") : i, X1 = (i) => !i || M(i), w1 = (i, e, t) => {
|
|
5947
6004
|
const s = M(e) ? e.split(".") : e;
|
|
5948
6005
|
let n = 0;
|
|
5949
6006
|
for (; n < s.length - 1; ) {
|
|
5950
|
-
if (
|
|
5951
|
-
const o =
|
|
6007
|
+
if (X1(i)) return {};
|
|
6008
|
+
const o = Q1(s[n]);
|
|
5952
6009
|
!i[o] && t && (i[o] = new t()), Object.prototype.hasOwnProperty.call(i, o) ? i = i[o] : i = {}, ++n;
|
|
5953
6010
|
}
|
|
5954
|
-
return
|
|
6011
|
+
return X1(i) ? {} : {
|
|
5955
6012
|
obj: i,
|
|
5956
|
-
k:
|
|
6013
|
+
k: Q1(s[n])
|
|
5957
6014
|
};
|
|
5958
|
-
},
|
|
6015
|
+
}, e2 = (i, e, t) => {
|
|
5959
6016
|
const {
|
|
5960
6017
|
obj: s,
|
|
5961
6018
|
k: n
|
|
5962
|
-
} =
|
|
6019
|
+
} = w1(i, e, Object);
|
|
5963
6020
|
if (s !== void 0 || e.length === 1) {
|
|
5964
6021
|
s[n] = t;
|
|
5965
6022
|
return;
|
|
5966
6023
|
}
|
|
5967
|
-
let o = e[e.length - 1], c = e.slice(0, e.length - 1), a =
|
|
6024
|
+
let o = e[e.length - 1], c = e.slice(0, e.length - 1), a = w1(i, c, Object);
|
|
5968
6025
|
for (; a.obj === void 0 && c.length; )
|
|
5969
|
-
o = `${c[c.length - 1]}.${o}`, c = c.slice(0, c.length - 1), a =
|
|
6026
|
+
o = `${c[c.length - 1]}.${o}`, c = c.slice(0, c.length - 1), a = w1(i, c, Object), a && a.obj && typeof a.obj[`${a.k}.${o}`] < "u" && (a.obj = void 0);
|
|
5970
6027
|
a.obj[`${a.k}.${o}`] = t;
|
|
5971
|
-
},
|
|
6028
|
+
}, r7 = (i, e, t, s) => {
|
|
5972
6029
|
const {
|
|
5973
6030
|
obj: n,
|
|
5974
6031
|
k: o
|
|
5975
|
-
} =
|
|
6032
|
+
} = w1(i, e, Object);
|
|
5976
6033
|
n[o] = n[o] || [], n[o].push(t);
|
|
5977
|
-
},
|
|
6034
|
+
}, M1 = (i, e) => {
|
|
5978
6035
|
const {
|
|
5979
6036
|
obj: t,
|
|
5980
6037
|
k: s
|
|
5981
|
-
} =
|
|
6038
|
+
} = w1(i, e);
|
|
5982
6039
|
if (t)
|
|
5983
6040
|
return t[s];
|
|
5984
|
-
},
|
|
5985
|
-
const s =
|
|
5986
|
-
return s !== void 0 ? s :
|
|
5987
|
-
},
|
|
6041
|
+
}, o7 = (i, e, t) => {
|
|
6042
|
+
const s = M1(i, t);
|
|
6043
|
+
return s !== void 0 ? s : M1(e, t);
|
|
6044
|
+
}, f2 = (i, e, t) => {
|
|
5988
6045
|
for (const s in e)
|
|
5989
|
-
s !== "__proto__" && s !== "constructor" && (s in i ? M(i[s]) || i[s] instanceof String || M(e[s]) || e[s] instanceof String ? t && (i[s] = e[s]) :
|
|
6046
|
+
s !== "__proto__" && s !== "constructor" && (s in i ? M(i[s]) || i[s] instanceof String || M(e[s]) || e[s] instanceof String ? t && (i[s] = e[s]) : f2(i[s], e[s], t) : i[s] = e[s]);
|
|
5990
6047
|
return i;
|
|
5991
6048
|
}, h1 = (i) => i.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
|
|
5992
|
-
var
|
|
6049
|
+
var a7 = {
|
|
5993
6050
|
"&": "&",
|
|
5994
6051
|
"<": "<",
|
|
5995
6052
|
">": ">",
|
|
@@ -5997,8 +6054,8 @@ var s7 = {
|
|
|
5997
6054
|
"'": "'",
|
|
5998
6055
|
"/": "/"
|
|
5999
6056
|
};
|
|
6000
|
-
const
|
|
6001
|
-
class
|
|
6057
|
+
const l7 = (i) => M(i) ? i.replace(/[&<>"'\/]/g, (e) => a7[e]) : i;
|
|
6058
|
+
class h7 {
|
|
6002
6059
|
constructor(e) {
|
|
6003
6060
|
this.capacity = e, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = [];
|
|
6004
6061
|
}
|
|
@@ -6010,11 +6067,11 @@ class r7 {
|
|
|
6010
6067
|
return this.regExpQueue.length === this.capacity && this.regExpMap.delete(this.regExpQueue.shift()), this.regExpMap.set(e, s), this.regExpQueue.push(e), s;
|
|
6011
6068
|
}
|
|
6012
6069
|
}
|
|
6013
|
-
const
|
|
6070
|
+
const c7 = [" ", ",", "?", "!", ";"], d7 = new h7(20), C7 = (i, e, t) => {
|
|
6014
6071
|
e = e || "", t = t || "";
|
|
6015
|
-
const s =
|
|
6072
|
+
const s = c7.filter((c) => e.indexOf(c) < 0 && t.indexOf(c) < 0);
|
|
6016
6073
|
if (s.length === 0) return !0;
|
|
6017
|
-
const n =
|
|
6074
|
+
const n = d7.getRegExp(`(${s.map((c) => c === "?" ? "\\?" : c).join("|")})`);
|
|
6018
6075
|
let o = !n.test(i);
|
|
6019
6076
|
if (!o) {
|
|
6020
6077
|
const c = i.indexOf(t);
|
|
@@ -6041,7 +6098,7 @@ const o7 = [" ", ",", "?", "!", ";"], a7 = new r7(20), l7 = (i, e, t) => {
|
|
|
6041
6098
|
n = c;
|
|
6042
6099
|
}
|
|
6043
6100
|
return n;
|
|
6044
|
-
},
|
|
6101
|
+
}, b1 = (i) => i && i.replace("_", "-"), g7 = {
|
|
6045
6102
|
type: "logger",
|
|
6046
6103
|
log(i) {
|
|
6047
6104
|
this.output("log", i);
|
|
@@ -6056,14 +6113,14 @@ const o7 = [" ", ",", "?", "!", ";"], a7 = new r7(20), l7 = (i, e, t) => {
|
|
|
6056
6113
|
console && console[i] && console[i].apply(console, e);
|
|
6057
6114
|
}
|
|
6058
6115
|
};
|
|
6059
|
-
class
|
|
6116
|
+
class y1 {
|
|
6060
6117
|
constructor(e) {
|
|
6061
6118
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
6062
6119
|
this.init(e, t);
|
|
6063
6120
|
}
|
|
6064
6121
|
init(e) {
|
|
6065
6122
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
6066
|
-
this.prefix = t.prefix || "i18next:", this.logger = e ||
|
|
6123
|
+
this.prefix = t.prefix || "i18next:", this.logger = e || g7, this.options = t, this.debug = t.debug;
|
|
6067
6124
|
}
|
|
6068
6125
|
log() {
|
|
6069
6126
|
for (var e = arguments.length, t = new Array(e), s = 0; s < e; s++)
|
|
@@ -6089,17 +6146,17 @@ class b1 {
|
|
|
6089
6146
|
return n && !this.debug ? null : (M(e[0]) && (e[0] = `${s}${this.prefix} ${e[0]}`), this.logger[t](e));
|
|
6090
6147
|
}
|
|
6091
6148
|
create(e) {
|
|
6092
|
-
return new
|
|
6149
|
+
return new y1(this.logger, {
|
|
6093
6150
|
prefix: `${this.prefix}:${e}:`,
|
|
6094
6151
|
...this.options
|
|
6095
6152
|
});
|
|
6096
6153
|
}
|
|
6097
6154
|
clone(e) {
|
|
6098
|
-
return e = e || this.options, e.prefix = e.prefix || this.prefix, new
|
|
6155
|
+
return e = e || this.options, e.prefix = e.prefix || this.prefix, new y1(this.logger, e);
|
|
6099
6156
|
}
|
|
6100
6157
|
}
|
|
6101
|
-
var X = new
|
|
6102
|
-
class
|
|
6158
|
+
var X = new y1();
|
|
6159
|
+
class E1 {
|
|
6103
6160
|
constructor() {
|
|
6104
6161
|
this.observers = {};
|
|
6105
6162
|
}
|
|
@@ -6133,7 +6190,7 @@ class V1 {
|
|
|
6133
6190
|
});
|
|
6134
6191
|
}
|
|
6135
6192
|
}
|
|
6136
|
-
class
|
|
6193
|
+
class t2 extends E1 {
|
|
6137
6194
|
constructor(e) {
|
|
6138
6195
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
|
|
6139
6196
|
ns: ["translation"],
|
|
@@ -6153,7 +6210,7 @@ class e2 extends V1 {
|
|
|
6153
6210
|
const o = n.keySeparator !== void 0 ? n.keySeparator : this.options.keySeparator, c = n.ignoreJSONStructure !== void 0 ? n.ignoreJSONStructure : this.options.ignoreJSONStructure;
|
|
6154
6211
|
let a;
|
|
6155
6212
|
e.indexOf(".") > -1 ? a = e.split(".") : (a = [e, t], s && (Array.isArray(s) ? a.push(...s) : M(s) && o ? a.push(...s.split(o)) : a.push(s)));
|
|
6156
|
-
const C =
|
|
6213
|
+
const C = M1(this.data, a);
|
|
6157
6214
|
return !C && !t && !s && e.indexOf(".") > -1 && (e = a[0], t = a[1], s = a.slice(2).join(".")), C || !c || !M(s) ? C : D1(this.data && this.data[e] && this.data[e][t], s, o);
|
|
6158
6215
|
}
|
|
6159
6216
|
addResource(e, t, s, n) {
|
|
@@ -6162,7 +6219,7 @@ class e2 extends V1 {
|
|
|
6162
6219
|
};
|
|
6163
6220
|
const c = o.keySeparator !== void 0 ? o.keySeparator : this.options.keySeparator;
|
|
6164
6221
|
let a = [e, t];
|
|
6165
|
-
s && (a = a.concat(c ? s.split(c) : s)), e.indexOf(".") > -1 && (a = e.split("."), n = t, t = a[1]), this.addNamespaces(t),
|
|
6222
|
+
s && (a = a.concat(c ? s.split(c) : s)), e.indexOf(".") > -1 && (a = e.split("."), n = t, t = a[1]), this.addNamespaces(t), e2(this.data, a, n), o.silent || this.emit("added", e, t, s, n);
|
|
6166
6223
|
}
|
|
6167
6224
|
addResources(e, t, s) {
|
|
6168
6225
|
let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {
|
|
@@ -6180,11 +6237,11 @@ class e2 extends V1 {
|
|
|
6180
6237
|
skipCopy: !1
|
|
6181
6238
|
}, a = [e, t];
|
|
6182
6239
|
e.indexOf(".") > -1 && (a = e.split("."), n = s, s = t, t = a[1]), this.addNamespaces(t);
|
|
6183
|
-
let C =
|
|
6184
|
-
c.skipCopy || (s = JSON.parse(JSON.stringify(s))), n ?
|
|
6240
|
+
let C = M1(this.data, a) || {};
|
|
6241
|
+
c.skipCopy || (s = JSON.parse(JSON.stringify(s))), n ? f2(C, s, o) : C = {
|
|
6185
6242
|
...C,
|
|
6186
6243
|
...s
|
|
6187
|
-
},
|
|
6244
|
+
}, e2(this.data, a, C), c.silent || this.emit("added", e, t, s);
|
|
6188
6245
|
}
|
|
6189
6246
|
removeResourceBundle(e, t) {
|
|
6190
6247
|
this.hasResourceBundle(e, t) && delete this.data[e][t], this.removeNamespaces(t), this.emit("removed", e, t);
|
|
@@ -6219,11 +6276,11 @@ var m2 = {
|
|
|
6219
6276
|
}), e;
|
|
6220
6277
|
}
|
|
6221
6278
|
};
|
|
6222
|
-
const
|
|
6223
|
-
class
|
|
6279
|
+
const i2 = {};
|
|
6280
|
+
class H1 extends E1 {
|
|
6224
6281
|
constructor(e) {
|
|
6225
6282
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
6226
|
-
super(),
|
|
6283
|
+
super(), s7(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = X.create("translator");
|
|
6227
6284
|
}
|
|
6228
6285
|
changeLanguage(e) {
|
|
6229
6286
|
e && (this.language = e);
|
|
@@ -6242,7 +6299,7 @@ class y1 extends V1 {
|
|
|
6242
6299
|
s === void 0 && (s = ":");
|
|
6243
6300
|
const n = t.keySeparator !== void 0 ? t.keySeparator : this.options.keySeparator;
|
|
6244
6301
|
let o = t.ns || this.options.defaultNS || [];
|
|
6245
|
-
const c = s && e.indexOf(s) > -1, a = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !
|
|
6302
|
+
const c = s && e.indexOf(s) > -1, a = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !C7(e, s, n);
|
|
6246
6303
|
if (c && !a) {
|
|
6247
6304
|
const C = e.match(this.interpolator.nestingRegexp);
|
|
6248
6305
|
if (C && C.length > 0)
|
|
@@ -6269,15 +6326,15 @@ class y1 extends V1 {
|
|
|
6269
6326
|
} = this.extractFromKey(e[e.length - 1], t), C = a[a.length - 1], d = t.lng || this.language, l = t.appendNamespaceToCIMode || this.options.appendNamespaceToCIMode;
|
|
6270
6327
|
if (d && d.toLowerCase() === "cimode") {
|
|
6271
6328
|
if (l) {
|
|
6272
|
-
const
|
|
6329
|
+
const f = t.nsSeparator || this.options.nsSeparator;
|
|
6273
6330
|
return n ? {
|
|
6274
|
-
res: `${C}${
|
|
6331
|
+
res: `${C}${f}${c}`,
|
|
6275
6332
|
usedKey: c,
|
|
6276
6333
|
exactUsedKey: c,
|
|
6277
6334
|
usedLng: d,
|
|
6278
6335
|
usedNS: C,
|
|
6279
6336
|
usedParams: this.getUsedParamsDetails(t)
|
|
6280
|
-
} : `${C}${
|
|
6337
|
+
} : `${C}${f}${c}`;
|
|
6281
6338
|
}
|
|
6282
6339
|
return n ? {
|
|
6283
6340
|
res: c,
|
|
@@ -6290,18 +6347,18 @@ class y1 extends V1 {
|
|
|
6290
6347
|
}
|
|
6291
6348
|
const h = this.resolve(e, t);
|
|
6292
6349
|
let g = h && h.res;
|
|
6293
|
-
const
|
|
6294
|
-
if (
|
|
6350
|
+
const p = h && h.usedKey || c, w = h && h.exactUsedKey || c, v = Object.prototype.toString.apply(g), m = ["[object Number]", "[object Function]", "[object RegExp]"], b = t.joinArrays !== void 0 ? t.joinArrays : this.options.joinArrays, y = !this.i18nFormat || this.i18nFormat.handleAsObject, A = !M(g) && typeof g != "boolean" && typeof g != "number";
|
|
6351
|
+
if (y && g && A && m.indexOf(v) < 0 && !(M(b) && Array.isArray(g))) {
|
|
6295
6352
|
if (!t.returnObjects && !this.options.returnObjects) {
|
|
6296
6353
|
this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
|
|
6297
|
-
const
|
|
6354
|
+
const f = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(p, g, {
|
|
6298
6355
|
...t,
|
|
6299
6356
|
ns: a
|
|
6300
6357
|
}) : `key '${c} (${this.language})' returned an object instead of string.`;
|
|
6301
|
-
return n ? (h.res =
|
|
6358
|
+
return n ? (h.res = f, h.usedParams = this.getUsedParamsDetails(t), h) : f;
|
|
6302
6359
|
}
|
|
6303
6360
|
if (o) {
|
|
6304
|
-
const
|
|
6361
|
+
const f = Array.isArray(g), x = f ? [] : {}, _ = f ? w : p;
|
|
6305
6362
|
for (const R in g)
|
|
6306
6363
|
if (Object.prototype.hasOwnProperty.call(g, R)) {
|
|
6307
6364
|
const j = `${_}${o}${R}`;
|
|
@@ -6313,17 +6370,17 @@ class y1 extends V1 {
|
|
|
6313
6370
|
}
|
|
6314
6371
|
g = x;
|
|
6315
6372
|
}
|
|
6316
|
-
} else if (
|
|
6317
|
-
g = g.join(
|
|
6373
|
+
} else if (y && M(b) && Array.isArray(g))
|
|
6374
|
+
g = g.join(b), g && (g = this.extendTranslation(g, e, t, s));
|
|
6318
6375
|
else {
|
|
6319
|
-
let
|
|
6320
|
-
const _ = t.count !== void 0 && !M(t.count), R =
|
|
6376
|
+
let f = !1, x = !1;
|
|
6377
|
+
const _ = t.count !== void 0 && !M(t.count), R = H1.hasDefaultValue(t), j = _ ? this.pluralResolver.getSuffix(d, t.count, t) : "", q = t.ordinal && _ ? this.pluralResolver.getSuffix(d, t.count, {
|
|
6321
6378
|
ordinal: !1
|
|
6322
|
-
}) : "", F = _ && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(),
|
|
6323
|
-
!this.isValidLookup(g) && R && (
|
|
6324
|
-
const
|
|
6325
|
-
if (x ||
|
|
6326
|
-
if (this.logger.log(
|
|
6379
|
+
}) : "", F = _ && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), E = F && t[`defaultValue${this.options.pluralSeparator}zero`] || t[`defaultValue${j}`] || t[`defaultValue${q}`] || t.defaultValue;
|
|
6380
|
+
!this.isValidLookup(g) && R && (f = !0, g = E), this.isValidLookup(g) || (x = !0, g = c);
|
|
6381
|
+
const V = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && x ? void 0 : g, Z = R && E !== g && this.options.updateMissing;
|
|
6382
|
+
if (x || f || Z) {
|
|
6383
|
+
if (this.logger.log(Z ? "updateKey" : "missingKey", d, C, c, Z ? E : g), o) {
|
|
6327
6384
|
const I = this.resolve(c, {
|
|
6328
6385
|
...t,
|
|
6329
6386
|
keySeparator: !1
|
|
@@ -6336,18 +6393,18 @@ class y1 extends V1 {
|
|
|
6336
6393
|
for (let I = 0; I < B.length; I++)
|
|
6337
6394
|
D.push(B[I]);
|
|
6338
6395
|
else this.options.saveMissingTo === "all" ? D = this.languageUtils.toResolveHierarchy(t.lng || this.language) : D.push(t.lng || this.language);
|
|
6339
|
-
const
|
|
6340
|
-
const e1 = R && P !== g ? P :
|
|
6341
|
-
this.options.missingKeyHandler ? this.options.missingKeyHandler(I, C, Y, e1,
|
|
6396
|
+
const U = (I, Y, P) => {
|
|
6397
|
+
const e1 = R && P !== g ? P : V;
|
|
6398
|
+
this.options.missingKeyHandler ? this.options.missingKeyHandler(I, C, Y, e1, Z, t) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(I, C, Y, e1, Z, t), this.emit("missingKey", I, C, Y, g);
|
|
6342
6399
|
};
|
|
6343
6400
|
this.options.saveMissing && (this.options.saveMissingPlurals && _ ? D.forEach((I) => {
|
|
6344
6401
|
const Y = this.pluralResolver.getSuffixes(I, t);
|
|
6345
6402
|
F && t[`defaultValue${this.options.pluralSeparator}zero`] && Y.indexOf(`${this.options.pluralSeparator}zero`) < 0 && Y.push(`${this.options.pluralSeparator}zero`), Y.forEach((P) => {
|
|
6346
|
-
|
|
6403
|
+
U([I], c + P, t[`defaultValue${P}`] || E);
|
|
6347
6404
|
});
|
|
6348
|
-
}) :
|
|
6405
|
+
}) : U(D, c, E));
|
|
6349
6406
|
}
|
|
6350
|
-
g = this.extendTranslation(g, e, t, h, s), x && g === c && this.options.appendNamespaceToMissingKey && (g = `${C}:${c}`), (x ||
|
|
6407
|
+
g = this.extendTranslation(g, e, t, h, s), x && g === c && this.options.appendNamespaceToMissingKey && (g = `${C}:${c}`), (x || f) && this.options.parseMissingKeyHandler && (this.options.compatibilityAPI !== "v1" ? g = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${C}:${c}` : c, f ? g : void 0) : g = this.options.parseMissingKeyHandler(g));
|
|
6351
6408
|
}
|
|
6352
6409
|
return n ? (h.res = g, h.usedParams = this.getUsedParamsDetails(t), h) : g;
|
|
6353
6410
|
}
|
|
@@ -6379,13 +6436,13 @@ class y1 extends V1 {
|
|
|
6379
6436
|
...this.options.interpolation.defaultVariables,
|
|
6380
6437
|
...h
|
|
6381
6438
|
}), e = this.interpolator.interpolate(e, h, s.lng || this.language || n.usedLng, s), d) {
|
|
6382
|
-
const g = e.match(this.interpolator.nestingRegexp),
|
|
6383
|
-
l <
|
|
6439
|
+
const g = e.match(this.interpolator.nestingRegexp), p = g && g.length;
|
|
6440
|
+
l < p && (s.nest = !1);
|
|
6384
6441
|
}
|
|
6385
6442
|
!s.lng && this.options.compatibilityAPI !== "v1" && n && n.res && (s.lng = this.language || n.usedLng), s.nest !== !1 && (e = this.interpolator.nest(e, function() {
|
|
6386
|
-
for (var g = arguments.length,
|
|
6387
|
-
|
|
6388
|
-
return o && o[0] ===
|
|
6443
|
+
for (var g = arguments.length, p = new Array(g), w = 0; w < g; w++)
|
|
6444
|
+
p[w] = arguments[w];
|
|
6445
|
+
return o && o[0] === p[0] && !s.context ? (c.logger.warn(`It seems you are nesting recursively key: ${p[0]} in key: ${t[0]}`), null) : c.translate(...p, t);
|
|
6389
6446
|
}, s)), s.interpolation && this.interpolator.reset();
|
|
6390
6447
|
}
|
|
6391
6448
|
const a = s.postProcess || this.options.postProcess, C = M(a) ? [a] : a;
|
|
@@ -6405,26 +6462,26 @@ class y1 extends V1 {
|
|
|
6405
6462
|
n = l;
|
|
6406
6463
|
let h = d.namespaces;
|
|
6407
6464
|
this.options.fallbackNS && (h = h.concat(this.options.fallbackNS));
|
|
6408
|
-
const g = t.count !== void 0 && !M(t.count),
|
|
6465
|
+
const g = t.count !== void 0 && !M(t.count), p = g && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), w = t.context !== void 0 && (M(t.context) || typeof t.context == "number") && t.context !== "", v = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
|
|
6409
6466
|
h.forEach((m) => {
|
|
6410
|
-
this.isValidLookup(s) || (a = m, !
|
|
6467
|
+
this.isValidLookup(s) || (a = m, !i2[`${v[0]}-${m}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(a) && (i2[`${v[0]}-${m}`] = !0, this.logger.warn(`key "${n}" for languages "${v.join(", ")}" won't get resolved as namespace "${a}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), v.forEach((b) => {
|
|
6411
6468
|
if (this.isValidLookup(s)) return;
|
|
6412
|
-
c =
|
|
6413
|
-
const
|
|
6469
|
+
c = b;
|
|
6470
|
+
const y = [l];
|
|
6414
6471
|
if (this.i18nFormat && this.i18nFormat.addLookupKeys)
|
|
6415
|
-
this.i18nFormat.addLookupKeys(
|
|
6472
|
+
this.i18nFormat.addLookupKeys(y, l, b, m, t);
|
|
6416
6473
|
else {
|
|
6417
|
-
let
|
|
6418
|
-
g && (
|
|
6474
|
+
let f;
|
|
6475
|
+
g && (f = this.pluralResolver.getSuffix(b, t.count, t));
|
|
6419
6476
|
const x = `${this.options.pluralSeparator}zero`, _ = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
|
|
6420
|
-
if (g && (
|
|
6477
|
+
if (g && (y.push(l + f), t.ordinal && f.indexOf(_) === 0 && y.push(l + f.replace(_, this.options.pluralSeparator)), p && y.push(l + x)), w) {
|
|
6421
6478
|
const R = `${l}${this.options.contextSeparator}${t.context}`;
|
|
6422
|
-
|
|
6479
|
+
y.push(R), g && (y.push(R + f), t.ordinal && f.indexOf(_) === 0 && y.push(R + f.replace(_, this.options.pluralSeparator)), p && y.push(R + x));
|
|
6423
6480
|
}
|
|
6424
6481
|
}
|
|
6425
6482
|
let A;
|
|
6426
|
-
for (; A =
|
|
6427
|
-
this.isValidLookup(s) || (o = A, s = this.getResource(
|
|
6483
|
+
for (; A = y.pop(); )
|
|
6484
|
+
this.isValidLookup(s) || (o = A, s = this.getResource(b, m, A, t));
|
|
6428
6485
|
}));
|
|
6429
6486
|
});
|
|
6430
6487
|
}), {
|
|
@@ -6467,17 +6524,17 @@ class y1 extends V1 {
|
|
|
6467
6524
|
}
|
|
6468
6525
|
}
|
|
6469
6526
|
const I1 = (i) => i.charAt(0).toUpperCase() + i.slice(1);
|
|
6470
|
-
class
|
|
6527
|
+
class s2 {
|
|
6471
6528
|
constructor(e) {
|
|
6472
6529
|
this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = X.create("languageUtils");
|
|
6473
6530
|
}
|
|
6474
6531
|
getScriptPartFromCode(e) {
|
|
6475
|
-
if (e =
|
|
6532
|
+
if (e = b1(e), !e || e.indexOf("-") < 0) return null;
|
|
6476
6533
|
const t = e.split("-");
|
|
6477
6534
|
return t.length === 2 || (t.pop(), t[t.length - 1].toLowerCase() === "x") ? null : this.formatLanguageCode(t.join("-"));
|
|
6478
6535
|
}
|
|
6479
6536
|
getLanguagePartFromCode(e) {
|
|
6480
|
-
if (e =
|
|
6537
|
+
if (e = b1(e), !e || e.indexOf("-") < 0) return e;
|
|
6481
6538
|
const t = e.split("-");
|
|
6482
6539
|
return this.formatLanguageCode(t[0]);
|
|
6483
6540
|
}
|
|
@@ -6532,7 +6589,7 @@ class i2 {
|
|
|
6532
6589
|
}), n;
|
|
6533
6590
|
}
|
|
6534
6591
|
}
|
|
6535
|
-
let
|
|
6592
|
+
let u7 = [{
|
|
6536
6593
|
lngs: ["ach", "ak", "am", "arn", "br", "fil", "gun", "ln", "mfe", "mg", "mi", "oc", "pt", "pt-BR", "tg", "tl", "ti", "tr", "uz", "wa"],
|
|
6537
6594
|
nr: [1, 2],
|
|
6538
6595
|
fc: 1
|
|
@@ -6624,7 +6681,7 @@ let c7 = [{
|
|
|
6624
6681
|
lngs: ["he", "iw"],
|
|
6625
6682
|
nr: [1, 2, 20, 21],
|
|
6626
6683
|
fc: 22
|
|
6627
|
-
}],
|
|
6684
|
+
}], p7 = {
|
|
6628
6685
|
1: (i) => +(i > 1),
|
|
6629
6686
|
2: (i) => +(i != 1),
|
|
6630
6687
|
3: (i) => 0,
|
|
@@ -6648,28 +6705,28 @@ let c7 = [{
|
|
|
6648
6705
|
21: (i) => i % 100 == 1 ? 1 : i % 100 == 2 ? 2 : i % 100 == 3 || i % 100 == 4 ? 3 : 0,
|
|
6649
6706
|
22: (i) => i == 1 ? 0 : i == 2 ? 1 : (i < 0 || i > 10) && i % 10 == 0 ? 2 : 3
|
|
6650
6707
|
};
|
|
6651
|
-
const
|
|
6708
|
+
const f7 = ["v1", "v2", "v3"], m7 = ["v4"], n2 = {
|
|
6652
6709
|
zero: 0,
|
|
6653
6710
|
one: 1,
|
|
6654
6711
|
two: 2,
|
|
6655
6712
|
few: 3,
|
|
6656
6713
|
many: 4,
|
|
6657
6714
|
other: 5
|
|
6658
|
-
},
|
|
6715
|
+
}, w7 = () => {
|
|
6659
6716
|
const i = {};
|
|
6660
|
-
return
|
|
6717
|
+
return u7.forEach((e) => {
|
|
6661
6718
|
e.lngs.forEach((t) => {
|
|
6662
6719
|
i[t] = {
|
|
6663
6720
|
numbers: e.nr,
|
|
6664
|
-
plurals:
|
|
6721
|
+
plurals: p7[e.fc]
|
|
6665
6722
|
};
|
|
6666
6723
|
});
|
|
6667
6724
|
}), i;
|
|
6668
6725
|
};
|
|
6669
|
-
class
|
|
6726
|
+
class L7 {
|
|
6670
6727
|
constructor(e) {
|
|
6671
6728
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
6672
|
-
this.languageUtils = e, this.options = t, this.logger = X.create("pluralResolver"), (!this.options.compatibilityJSON ||
|
|
6729
|
+
this.languageUtils = e, this.options = t, this.logger = X.create("pluralResolver"), (!this.options.compatibilityJSON || m7.includes(this.options.compatibilityJSON)) && (typeof Intl > "u" || !Intl.PluralRules) && (this.options.compatibilityJSON = "v3", this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")), this.rules = w7(), this.pluralRulesCache = {};
|
|
6673
6730
|
}
|
|
6674
6731
|
addRule(e, t) {
|
|
6675
6732
|
this.rules[e] = t;
|
|
@@ -6680,7 +6737,7 @@ class f7 {
|
|
|
6680
6737
|
getRule(e) {
|
|
6681
6738
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
6682
6739
|
if (this.shouldUseIntlApi()) {
|
|
6683
|
-
const s =
|
|
6740
|
+
const s = b1(e === "dev" ? "en" : e), n = t.ordinal ? "ordinal" : "cardinal", o = JSON.stringify({
|
|
6684
6741
|
cleanedCode: s,
|
|
6685
6742
|
type: n
|
|
6686
6743
|
});
|
|
@@ -6712,7 +6769,7 @@ class f7 {
|
|
|
6712
6769
|
getSuffixes(e) {
|
|
6713
6770
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
6714
6771
|
const s = this.getRule(e, t);
|
|
6715
|
-
return s ? this.shouldUseIntlApi() ? s.resolvedOptions().pluralCategories.sort((n, o) =>
|
|
6772
|
+
return s ? this.shouldUseIntlApi() ? s.resolvedOptions().pluralCategories.sort((n, o) => n2[n] - n2[o]).map((n) => `${this.options.prepend}${t.ordinal ? `ordinal${this.options.prepend}` : ""}${n}`) : s.numbers.map((n) => this.getSuffix(e, n, t)) : [];
|
|
6716
6773
|
}
|
|
6717
6774
|
getSuffix(e, t) {
|
|
6718
6775
|
let s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
@@ -6727,14 +6784,14 @@ class f7 {
|
|
|
6727
6784
|
return this.options.compatibilityJSON === "v1" ? n === 1 ? "" : typeof n == "number" ? `_plural_${n.toString()}` : o() : this.options.compatibilityJSON === "v2" || this.options.simplifyPluralSuffix && e.numbers.length === 2 && e.numbers[0] === 1 ? o() : this.options.prepend && s.toString() ? this.options.prepend + s.toString() : s.toString();
|
|
6728
6785
|
}
|
|
6729
6786
|
shouldUseIntlApi() {
|
|
6730
|
-
return !
|
|
6787
|
+
return !f7.includes(this.options.compatibilityJSON);
|
|
6731
6788
|
}
|
|
6732
6789
|
}
|
|
6733
|
-
const
|
|
6734
|
-
let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", n = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, o =
|
|
6790
|
+
const r2 = function(i, e, t) {
|
|
6791
|
+
let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", n = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, o = o7(i, e, t);
|
|
6735
6792
|
return !o && n && M(t) && (o = D1(i, t, s), o === void 0 && (o = D1(e, t, s))), o;
|
|
6736
6793
|
}, A1 = (i) => i.replace(/\$/g, "$$$$");
|
|
6737
|
-
class
|
|
6794
|
+
class k7 {
|
|
6738
6795
|
constructor() {
|
|
6739
6796
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
6740
6797
|
this.logger = X.create("interpolator"), this.options = e, this.format = e.interpolation && e.interpolation.format || ((t) => t), this.init(e);
|
|
@@ -6756,14 +6813,14 @@ class p7 {
|
|
|
6756
6813
|
unescapeSuffix: l,
|
|
6757
6814
|
unescapePrefix: h,
|
|
6758
6815
|
nestingPrefix: g,
|
|
6759
|
-
nestingPrefixEscaped:
|
|
6760
|
-
nestingSuffix:
|
|
6816
|
+
nestingPrefixEscaped: p,
|
|
6817
|
+
nestingSuffix: w,
|
|
6761
6818
|
nestingSuffixEscaped: v,
|
|
6762
6819
|
nestingOptionsSeparator: m,
|
|
6763
|
-
maxReplaces:
|
|
6764
|
-
alwaysFormat:
|
|
6820
|
+
maxReplaces: b,
|
|
6821
|
+
alwaysFormat: y
|
|
6765
6822
|
} = e.interpolation;
|
|
6766
|
-
this.escape = t !== void 0 ? t :
|
|
6823
|
+
this.escape = t !== void 0 ? t : l7, this.escapeValue = s !== void 0 ? s : !0, this.useRawValueToEscape = n !== void 0 ? n : !1, this.prefix = o ? h1(o) : c || "{{", this.suffix = a ? h1(a) : C || "}}", this.formatSeparator = d || ",", this.unescapePrefix = l ? "" : h || "-", this.unescapeSuffix = this.unescapePrefix ? "" : l || "", this.nestingPrefix = g ? h1(g) : p || h1("$t("), this.nestingSuffix = w ? h1(w) : v || h1(")"), this.nestingOptionsSeparator = m || ",", this.maxReplaces = b || 1e3, this.alwaysFormat = y !== void 0 ? y : !1, this.resetRegExp();
|
|
6767
6824
|
}
|
|
6768
6825
|
reset() {
|
|
6769
6826
|
this.options && this.init(this.options);
|
|
@@ -6774,17 +6831,17 @@ class p7 {
|
|
|
6774
6831
|
}
|
|
6775
6832
|
interpolate(e, t, s, n) {
|
|
6776
6833
|
let o, c, a;
|
|
6777
|
-
const C = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, d = (
|
|
6778
|
-
if (
|
|
6779
|
-
const
|
|
6780
|
-
return this.alwaysFormat ? this.format(
|
|
6834
|
+
const C = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, d = (p) => {
|
|
6835
|
+
if (p.indexOf(this.formatSeparator) < 0) {
|
|
6836
|
+
const b = r2(t, C, p, this.options.keySeparator, this.options.ignoreJSONStructure);
|
|
6837
|
+
return this.alwaysFormat ? this.format(b, void 0, s, {
|
|
6781
6838
|
...n,
|
|
6782
6839
|
...t,
|
|
6783
|
-
interpolationkey:
|
|
6784
|
-
}) :
|
|
6840
|
+
interpolationkey: p
|
|
6841
|
+
}) : b;
|
|
6785
6842
|
}
|
|
6786
|
-
const
|
|
6787
|
-
return this.format(
|
|
6843
|
+
const w = p.split(this.formatSeparator), v = w.shift().trim(), m = w.join(this.formatSeparator).trim();
|
|
6844
|
+
return this.format(r2(t, C, v, this.options.keySeparator, this.options.ignoreJSONStructure), m, s, {
|
|
6788
6845
|
...n,
|
|
6789
6846
|
...t,
|
|
6790
6847
|
interpolationkey: v
|
|
@@ -6794,27 +6851,27 @@ class p7 {
|
|
|
6794
6851
|
const l = n && n.missingInterpolationHandler || this.options.missingInterpolationHandler, h = n && n.interpolation && n.interpolation.skipOnVariables !== void 0 ? n.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables;
|
|
6795
6852
|
return [{
|
|
6796
6853
|
regex: this.regexpUnescape,
|
|
6797
|
-
safeValue: (
|
|
6854
|
+
safeValue: (p) => A1(p)
|
|
6798
6855
|
}, {
|
|
6799
6856
|
regex: this.regexp,
|
|
6800
|
-
safeValue: (
|
|
6801
|
-
}].forEach((
|
|
6802
|
-
for (a = 0; o =
|
|
6803
|
-
const
|
|
6804
|
-
if (c = d(
|
|
6857
|
+
safeValue: (p) => this.escapeValue ? A1(this.escape(p)) : A1(p)
|
|
6858
|
+
}].forEach((p) => {
|
|
6859
|
+
for (a = 0; o = p.regex.exec(e); ) {
|
|
6860
|
+
const w = o[1].trim();
|
|
6861
|
+
if (c = d(w), c === void 0)
|
|
6805
6862
|
if (typeof l == "function") {
|
|
6806
6863
|
const m = l(e, o, n);
|
|
6807
6864
|
c = M(m) ? m : "";
|
|
6808
|
-
} else if (n && Object.prototype.hasOwnProperty.call(n,
|
|
6865
|
+
} else if (n && Object.prototype.hasOwnProperty.call(n, w))
|
|
6809
6866
|
c = "";
|
|
6810
6867
|
else if (h) {
|
|
6811
6868
|
c = o[0];
|
|
6812
6869
|
continue;
|
|
6813
6870
|
} else
|
|
6814
|
-
this.logger.warn(`missed to pass in variable ${
|
|
6815
|
-
else !M(c) && !this.useRawValueToEscape && (c =
|
|
6816
|
-
const v =
|
|
6817
|
-
if (e = e.replace(o[0], v), h ? (
|
|
6871
|
+
this.logger.warn(`missed to pass in variable ${w} for interpolating ${e}`), c = "";
|
|
6872
|
+
else !M(c) && !this.useRawValueToEscape && (c = q1(c));
|
|
6873
|
+
const v = p.safeValue(c);
|
|
6874
|
+
if (e = e.replace(o[0], v), h ? (p.regex.lastIndex += c.length, p.regex.lastIndex -= o[0].length) : p.regex.lastIndex = 0, a++, a >= this.maxReplaces)
|
|
6818
6875
|
break;
|
|
6819
6876
|
}
|
|
6820
6877
|
}), e;
|
|
@@ -6827,8 +6884,8 @@ class p7 {
|
|
|
6827
6884
|
const h = C.split(new RegExp(`${l}[ ]*{`));
|
|
6828
6885
|
let g = `{${h[1]}`;
|
|
6829
6886
|
C = h[0], g = this.interpolate(g, c);
|
|
6830
|
-
const
|
|
6831
|
-
(
|
|
6887
|
+
const p = g.match(/'/g), w = g.match(/"/g);
|
|
6888
|
+
(p && p.length % 2 === 0 && !w || w.length % 2 !== 0) && (g = g.replace(/'/g, '"'));
|
|
6832
6889
|
try {
|
|
6833
6890
|
c = JSON.parse(g), d && (c = {
|
|
6834
6891
|
...d,
|
|
@@ -6850,7 +6907,7 @@ class p7 {
|
|
|
6850
6907
|
n[1] = l.shift(), C = l, d = !0;
|
|
6851
6908
|
}
|
|
6852
6909
|
if (o = t(a.call(this, n[1].trim(), c), c), o && n[0] === e && !M(o)) return o;
|
|
6853
|
-
M(o) || (o =
|
|
6910
|
+
M(o) || (o = q1(o)), o || (this.logger.warn(`missed to resolve ${n[1]} for nesting ${e}`), o = ""), d && (o = C.reduce((l, h) => this.format(l, h, s.lng, {
|
|
6854
6911
|
...s,
|
|
6855
6912
|
interpolationkey: n[1].trim()
|
|
6856
6913
|
}), o.trim())), e = e.replace(n[0], o), this.regexp.lastIndex = 0;
|
|
@@ -6858,7 +6915,7 @@ class p7 {
|
|
|
6858
6915
|
return e;
|
|
6859
6916
|
}
|
|
6860
6917
|
}
|
|
6861
|
-
const
|
|
6918
|
+
const v7 = (i) => {
|
|
6862
6919
|
let e = i.toLowerCase().trim();
|
|
6863
6920
|
const t = {};
|
|
6864
6921
|
if (i.indexOf("(") > -1) {
|
|
@@ -6886,10 +6943,10 @@ const m7 = (i) => {
|
|
|
6886
6943
|
});
|
|
6887
6944
|
const c = s + JSON.stringify(o);
|
|
6888
6945
|
let a = e[c];
|
|
6889
|
-
return a || (a = i(
|
|
6946
|
+
return a || (a = i(b1(s), n), e[c] = a), a(t);
|
|
6890
6947
|
};
|
|
6891
6948
|
};
|
|
6892
|
-
class
|
|
6949
|
+
class N7 {
|
|
6893
6950
|
constructor() {
|
|
6894
6951
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
6895
6952
|
this.logger = X.create("formatter"), this.options = e, this.formats = {
|
|
@@ -6949,12 +7006,12 @@ class w7 {
|
|
|
6949
7006
|
const {
|
|
6950
7007
|
formatName: d,
|
|
6951
7008
|
formatOptions: l
|
|
6952
|
-
} =
|
|
7009
|
+
} = v7(C);
|
|
6953
7010
|
if (this.formats[d]) {
|
|
6954
7011
|
let h = a;
|
|
6955
7012
|
try {
|
|
6956
|
-
const g = n && n.formatParams && n.formatParams[n.interpolationkey] || {},
|
|
6957
|
-
h = this.formats[d](a,
|
|
7013
|
+
const g = n && n.formatParams && n.formatParams[n.interpolationkey] || {}, p = g.locale || g.lng || n.locale || n.lng || s;
|
|
7014
|
+
h = this.formats[d](a, p, {
|
|
6958
7015
|
...l,
|
|
6959
7016
|
...n,
|
|
6960
7017
|
...g
|
|
@@ -6969,10 +7026,10 @@ class w7 {
|
|
|
6969
7026
|
}, e);
|
|
6970
7027
|
}
|
|
6971
7028
|
}
|
|
6972
|
-
const
|
|
7029
|
+
const R7 = (i, e) => {
|
|
6973
7030
|
i.pending[e] !== void 0 && (delete i.pending[e], i.pendingCount--);
|
|
6974
7031
|
};
|
|
6975
|
-
class
|
|
7032
|
+
class x7 extends E1 {
|
|
6976
7033
|
constructor(e, t, s) {
|
|
6977
7034
|
let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
|
|
6978
7035
|
super(), this.backend = e, this.store = t, this.services = s, this.languageUtils = s.languageUtils, this.options = n, this.logger = X.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = n.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = n.maxRetries >= 0 ? n.maxRetries : 5, this.retryTimeout = n.retryTimeout >= 1 ? n.retryTimeout : 350, this.state = {}, this.queue = [], this.backend && this.backend.init && this.backend.init(s, n.backend, n);
|
|
@@ -7005,7 +7062,7 @@ class k7 extends V1 {
|
|
|
7005
7062
|
}), this.state[e] = t ? -1 : 2, t && s && (this.state[e] = 0);
|
|
7006
7063
|
const a = {};
|
|
7007
7064
|
this.queue.forEach((C) => {
|
|
7008
|
-
|
|
7065
|
+
r7(C.loaded, [o], c), R7(C, e), t && C.errors.push(t), C.pendingCount === 0 && !C.done && (Object.keys(C.loaded).forEach((d) => {
|
|
7009
7066
|
a[d] || (a[d] = {});
|
|
7010
7067
|
const l = C.loaded[d];
|
|
7011
7068
|
l.length && l.forEach((h) => {
|
|
@@ -7107,7 +7164,7 @@ class k7 extends V1 {
|
|
|
7107
7164
|
}
|
|
7108
7165
|
}
|
|
7109
7166
|
}
|
|
7110
|
-
const
|
|
7167
|
+
const o2 = () => ({
|
|
7111
7168
|
debug: !1,
|
|
7112
7169
|
initImmediate: !0,
|
|
7113
7170
|
ns: ["translation"],
|
|
@@ -7163,18 +7220,18 @@ const r2 = () => ({
|
|
|
7163
7220
|
maxReplaces: 1e3,
|
|
7164
7221
|
skipOnVariables: !0
|
|
7165
7222
|
}
|
|
7166
|
-
}),
|
|
7167
|
-
},
|
|
7223
|
+
}), a2 = (i) => (M(i.ns) && (i.ns = [i.ns]), M(i.fallbackLng) && (i.fallbackLng = [i.fallbackLng]), M(i.fallbackNS) && (i.fallbackNS = [i.fallbackNS]), i.supportedLngs && i.supportedLngs.indexOf("cimode") < 0 && (i.supportedLngs = i.supportedLngs.concat(["cimode"])), i), x1 = () => {
|
|
7224
|
+
}, _7 = (i) => {
|
|
7168
7225
|
Object.getOwnPropertyNames(Object.getPrototypeOf(i)).forEach((t) => {
|
|
7169
7226
|
typeof i[t] == "function" && (i[t] = i[t].bind(i));
|
|
7170
7227
|
});
|
|
7171
7228
|
};
|
|
7172
|
-
class
|
|
7229
|
+
class L1 extends E1 {
|
|
7173
7230
|
constructor() {
|
|
7174
7231
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0;
|
|
7175
|
-
if (super(), this.options =
|
|
7232
|
+
if (super(), this.options = a2(e), this.services = {}, this.logger = X, this.modules = {
|
|
7176
7233
|
external: []
|
|
7177
|
-
},
|
|
7234
|
+
}, _7(this), t && !this.isInitialized && !e.isClone) {
|
|
7178
7235
|
if (!this.options.initImmediate)
|
|
7179
7236
|
return this.init(e, t), this;
|
|
7180
7237
|
setTimeout(() => {
|
|
@@ -7186,11 +7243,11 @@ class w1 extends V1 {
|
|
|
7186
7243
|
var e = this;
|
|
7187
7244
|
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, s = arguments.length > 1 ? arguments[1] : void 0;
|
|
7188
7245
|
this.isInitializing = !0, typeof t == "function" && (s = t, t = {}), !t.defaultNS && t.defaultNS !== !1 && t.ns && (M(t.ns) ? t.defaultNS = t.ns : t.ns.indexOf("translation") < 0 && (t.defaultNS = t.ns[0]));
|
|
7189
|
-
const n =
|
|
7246
|
+
const n = o2();
|
|
7190
7247
|
this.options = {
|
|
7191
7248
|
...n,
|
|
7192
7249
|
...this.options,
|
|
7193
|
-
...
|
|
7250
|
+
...a2(t)
|
|
7194
7251
|
}, this.options.compatibilityAPI !== "v1" && (this.options.interpolation = {
|
|
7195
7252
|
...n.interpolation,
|
|
7196
7253
|
...this.options.interpolation
|
|
@@ -7199,29 +7256,29 @@ class w1 extends V1 {
|
|
|
7199
7256
|
if (!this.options.isClone) {
|
|
7200
7257
|
this.modules.logger ? X.init(o(this.modules.logger), this.options) : X.init(null, this.options);
|
|
7201
7258
|
let l;
|
|
7202
|
-
this.modules.formatter ? l = this.modules.formatter : typeof Intl < "u" && (l =
|
|
7203
|
-
const h = new
|
|
7204
|
-
this.store = new
|
|
7259
|
+
this.modules.formatter ? l = this.modules.formatter : typeof Intl < "u" && (l = N7);
|
|
7260
|
+
const h = new s2(this.options);
|
|
7261
|
+
this.store = new t2(this.options.resources, this.options);
|
|
7205
7262
|
const g = this.services;
|
|
7206
|
-
g.logger = X, g.resourceStore = this.store, g.languageUtils = h, g.pluralResolver = new
|
|
7263
|
+
g.logger = X, g.resourceStore = this.store, g.languageUtils = h, g.pluralResolver = new L7(h, {
|
|
7207
7264
|
prepend: this.options.pluralSeparator,
|
|
7208
7265
|
compatibilityJSON: this.options.compatibilityJSON,
|
|
7209
7266
|
simplifyPluralSuffix: this.options.simplifyPluralSuffix
|
|
7210
|
-
}), l && (!this.options.interpolation.format || this.options.interpolation.format === n.interpolation.format) && (g.formatter = o(l), g.formatter.init(g, this.options), this.options.interpolation.format = g.formatter.format.bind(g.formatter)), g.interpolator = new
|
|
7267
|
+
}), l && (!this.options.interpolation.format || this.options.interpolation.format === n.interpolation.format) && (g.formatter = o(l), g.formatter.init(g, this.options), this.options.interpolation.format = g.formatter.format.bind(g.formatter)), g.interpolator = new k7(this.options), g.utils = {
|
|
7211
7268
|
hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
|
|
7212
|
-
}, g.backendConnector = new
|
|
7213
|
-
for (var
|
|
7269
|
+
}, g.backendConnector = new x7(o(this.modules.backend), g.resourceStore, g, this.options), g.backendConnector.on("*", function(p) {
|
|
7270
|
+
for (var w = arguments.length, v = new Array(w > 1 ? w - 1 : 0), m = 1; m < w; m++)
|
|
7214
7271
|
v[m - 1] = arguments[m];
|
|
7215
|
-
e.emit(
|
|
7216
|
-
}), this.modules.languageDetector && (g.languageDetector = o(this.modules.languageDetector), g.languageDetector.init && g.languageDetector.init(g, this.options.detection, this.options)), this.modules.i18nFormat && (g.i18nFormat = o(this.modules.i18nFormat), g.i18nFormat.init && g.i18nFormat.init(this)), this.translator = new
|
|
7217
|
-
for (var
|
|
7272
|
+
e.emit(p, ...v);
|
|
7273
|
+
}), this.modules.languageDetector && (g.languageDetector = o(this.modules.languageDetector), g.languageDetector.init && g.languageDetector.init(g, this.options.detection, this.options)), this.modules.i18nFormat && (g.i18nFormat = o(this.modules.i18nFormat), g.i18nFormat.init && g.i18nFormat.init(this)), this.translator = new H1(this.services, this.options), this.translator.on("*", function(p) {
|
|
7274
|
+
for (var w = arguments.length, v = new Array(w > 1 ? w - 1 : 0), m = 1; m < w; m++)
|
|
7218
7275
|
v[m - 1] = arguments[m];
|
|
7219
|
-
e.emit(
|
|
7220
|
-
}), this.modules.external.forEach((
|
|
7221
|
-
|
|
7276
|
+
e.emit(p, ...v);
|
|
7277
|
+
}), this.modules.external.forEach((p) => {
|
|
7278
|
+
p.init && p.init(this);
|
|
7222
7279
|
});
|
|
7223
7280
|
}
|
|
7224
|
-
if (this.format = this.options.interpolation.format, s || (s =
|
|
7281
|
+
if (this.format = this.options.interpolation.format, s || (s = x1), this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
|
|
7225
7282
|
const l = this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);
|
|
7226
7283
|
l.length > 0 && l[0] !== "dev" && (this.options.lng = l[0]);
|
|
7227
7284
|
}
|
|
@@ -7234,7 +7291,7 @@ class w1 extends V1 {
|
|
|
7234
7291
|
return e.store[l](...arguments), e;
|
|
7235
7292
|
};
|
|
7236
7293
|
});
|
|
7237
|
-
const C =
|
|
7294
|
+
const C = p1(), d = () => {
|
|
7238
7295
|
const l = (h, g) => {
|
|
7239
7296
|
this.isInitializing = !1, this.isInitialized && !this.initializedStoreOnce && this.logger.warn("init: i18next is already initialized. You should call init just once!"), this.isInitialized = !0, this.options.isClone || this.logger.log("initialized", this.options), this.emit("initialized", this.options), C.resolve(g), s(h, g);
|
|
7240
7297
|
};
|
|
@@ -7244,7 +7301,7 @@ class w1 extends V1 {
|
|
|
7244
7301
|
return this.options.resources || !this.options.initImmediate ? d() : setTimeout(d, 0), C;
|
|
7245
7302
|
}
|
|
7246
7303
|
loadResources(e) {
|
|
7247
|
-
let s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] :
|
|
7304
|
+
let s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : x1;
|
|
7248
7305
|
const n = M(e) ? e : this.language;
|
|
7249
7306
|
if (typeof e == "function" && (s = e), !this.options.resources || this.options.partialBundledLanguages) {
|
|
7250
7307
|
if (n && n.toLowerCase() === "cimode" && (!this.options.preload || this.options.preload.length === 0)) return s();
|
|
@@ -7261,8 +7318,8 @@ class w1 extends V1 {
|
|
|
7261
7318
|
s(null);
|
|
7262
7319
|
}
|
|
7263
7320
|
reloadResources(e, t, s) {
|
|
7264
|
-
const n =
|
|
7265
|
-
return typeof e == "function" && (s = e, e = void 0), typeof t == "function" && (s = t, t = void 0), e || (e = this.languages), t || (t = this.options.ns), s || (s =
|
|
7321
|
+
const n = p1();
|
|
7322
|
+
return typeof e == "function" && (s = e, e = void 0), typeof t == "function" && (s = t, t = void 0), e || (e = this.languages), t || (t = this.options.ns), s || (s = x1), this.services.backendConnector.reload(e, t, (o) => {
|
|
7266
7323
|
n.resolve(), s(o);
|
|
7267
7324
|
}), n;
|
|
7268
7325
|
}
|
|
@@ -7284,7 +7341,7 @@ class w1 extends V1 {
|
|
|
7284
7341
|
changeLanguage(e, t) {
|
|
7285
7342
|
var s = this;
|
|
7286
7343
|
this.isLanguageChangingTo = e;
|
|
7287
|
-
const n =
|
|
7344
|
+
const n = p1();
|
|
7288
7345
|
this.emit("languageChanging", e);
|
|
7289
7346
|
const o = (C) => {
|
|
7290
7347
|
this.language = C, this.languages = this.services.languageUtils.toResolveHierarchy(C), this.resolvedLanguage = void 0, this.setResolvedLanguage(C);
|
|
@@ -7317,8 +7374,8 @@ class w1 extends V1 {
|
|
|
7317
7374
|
};
|
|
7318
7375
|
C.lng = C.lng || o.lng, C.lngs = C.lngs || o.lngs, C.ns = C.ns || o.ns, C.keyPrefix !== "" && (C.keyPrefix = C.keyPrefix || s || o.keyPrefix);
|
|
7319
7376
|
const g = n.options.keySeparator || ".";
|
|
7320
|
-
let
|
|
7321
|
-
return C.keyPrefix && Array.isArray(c) ?
|
|
7377
|
+
let p;
|
|
7378
|
+
return C.keyPrefix && Array.isArray(c) ? p = c.map((w) => `${C.keyPrefix}${g}${w}`) : p = C.keyPrefix ? `${C.keyPrefix}${g}${c}` : c, n.t(p, C);
|
|
7322
7379
|
};
|
|
7323
7380
|
return M(e) ? o.lng = e : o.lngs = e, o.ns = t, o.keyPrefix = s, o;
|
|
7324
7381
|
}
|
|
@@ -7350,7 +7407,7 @@ class w1 extends V1 {
|
|
|
7350
7407
|
return !!(this.hasResourceBundle(s, e) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages || c(s, e) && (!n || c(o, e)));
|
|
7351
7408
|
}
|
|
7352
7409
|
loadNamespaces(e, t) {
|
|
7353
|
-
const s =
|
|
7410
|
+
const s = p1();
|
|
7354
7411
|
return this.options.ns ? (M(e) && (e = [e]), e.forEach((n) => {
|
|
7355
7412
|
this.options.ns.indexOf(n) < 0 && this.options.ns.push(n);
|
|
7356
7413
|
}), this.loadResources((n) => {
|
|
@@ -7358,7 +7415,7 @@ class w1 extends V1 {
|
|
|
7358
7415
|
}), s) : (t && t(), Promise.resolve());
|
|
7359
7416
|
}
|
|
7360
7417
|
loadLanguages(e, t) {
|
|
7361
|
-
const s =
|
|
7418
|
+
const s = p1();
|
|
7362
7419
|
M(e) && (e = [e]);
|
|
7363
7420
|
const n = this.options.preload || [], o = e.filter((c) => n.indexOf(c) < 0 && this.services.languageUtils.isSupportedCode(c));
|
|
7364
7421
|
return o.length ? (this.options.preload = n.concat(o), this.loadResources((c) => {
|
|
@@ -7367,29 +7424,29 @@ class w1 extends V1 {
|
|
|
7367
7424
|
}
|
|
7368
7425
|
dir(e) {
|
|
7369
7426
|
if (e || (e = this.resolvedLanguage || (this.languages && this.languages.length > 0 ? this.languages[0] : this.language)), !e) return "rtl";
|
|
7370
|
-
const t = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], s = this.services && this.services.languageUtils || new
|
|
7427
|
+
const t = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], s = this.services && this.services.languageUtils || new s2(o2());
|
|
7371
7428
|
return t.indexOf(s.getLanguagePartFromCode(e)) > -1 || e.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
|
|
7372
7429
|
}
|
|
7373
7430
|
static createInstance() {
|
|
7374
7431
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0;
|
|
7375
|
-
return new
|
|
7432
|
+
return new L1(e, t);
|
|
7376
7433
|
}
|
|
7377
7434
|
cloneInstance() {
|
|
7378
|
-
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] :
|
|
7435
|
+
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : x1;
|
|
7379
7436
|
const s = e.forkResourceStore;
|
|
7380
7437
|
s && delete e.forkResourceStore;
|
|
7381
7438
|
const n = {
|
|
7382
7439
|
...this.options,
|
|
7383
7440
|
...e,
|
|
7384
7441
|
isClone: !0
|
|
7385
|
-
}, o = new
|
|
7442
|
+
}, o = new L1(n);
|
|
7386
7443
|
return (e.debug !== void 0 || e.prefix !== void 0) && (o.logger = o.logger.clone(e)), ["store", "services", "language"].forEach((a) => {
|
|
7387
7444
|
o[a] = this[a];
|
|
7388
7445
|
}), o.services = {
|
|
7389
7446
|
...this.services
|
|
7390
7447
|
}, o.services.utils = {
|
|
7391
7448
|
hasLoadedNamespace: o.hasLoadedNamespace.bind(o)
|
|
7392
|
-
}, s && (o.store = new
|
|
7449
|
+
}, s && (o.store = new t2(this.store.data, n), o.services.resourceStore = o.store), o.translator = new H1(o.services, n), o.translator.on("*", function(a) {
|
|
7393
7450
|
for (var C = arguments.length, d = new Array(C > 1 ? C - 1 : 0), l = 1; l < C; l++)
|
|
7394
7451
|
d[l - 1] = arguments[l];
|
|
7395
7452
|
o.emit(a, ...d);
|
|
@@ -7407,42 +7464,42 @@ class w1 extends V1 {
|
|
|
7407
7464
|
};
|
|
7408
7465
|
}
|
|
7409
7466
|
}
|
|
7410
|
-
const
|
|
7411
|
-
|
|
7412
|
-
|
|
7413
|
-
|
|
7414
|
-
|
|
7415
|
-
|
|
7416
|
-
|
|
7417
|
-
|
|
7418
|
-
|
|
7419
|
-
|
|
7420
|
-
|
|
7421
|
-
|
|
7422
|
-
|
|
7423
|
-
|
|
7424
|
-
|
|
7425
|
-
|
|
7426
|
-
const
|
|
7427
|
-
archived:
|
|
7428
|
-
deleted:
|
|
7429
|
-
},
|
|
7430
|
-
archived:
|
|
7431
|
-
deleted:
|
|
7467
|
+
const W = L1.createInstance();
|
|
7468
|
+
W.createInstance = L1.createInstance;
|
|
7469
|
+
W.createInstance;
|
|
7470
|
+
W.dir;
|
|
7471
|
+
W.init;
|
|
7472
|
+
W.loadResources;
|
|
7473
|
+
W.reloadResources;
|
|
7474
|
+
W.use;
|
|
7475
|
+
W.changeLanguage;
|
|
7476
|
+
W.getFixedT;
|
|
7477
|
+
W.t;
|
|
7478
|
+
W.exists;
|
|
7479
|
+
W.setDefaultNamespace;
|
|
7480
|
+
W.hasLoadedNamespace;
|
|
7481
|
+
W.loadNamespaces;
|
|
7482
|
+
W.loadLanguages;
|
|
7483
|
+
const M7 = "Archived", b7 = "Deleted", y7 = {
|
|
7484
|
+
archived: M7,
|
|
7485
|
+
deleted: b7
|
|
7486
|
+
}, H7 = "Заархивирован", E7 = "Удалён", V7 = {
|
|
7487
|
+
archived: H7,
|
|
7488
|
+
deleted: E7
|
|
7432
7489
|
};
|
|
7433
|
-
|
|
7490
|
+
W.use(qt).init({
|
|
7434
7491
|
defaultNS: "common",
|
|
7435
7492
|
lng: "en",
|
|
7436
7493
|
resources: {
|
|
7437
7494
|
en: {
|
|
7438
|
-
common:
|
|
7495
|
+
common: y7
|
|
7439
7496
|
},
|
|
7440
7497
|
ru: {
|
|
7441
|
-
common:
|
|
7498
|
+
common: V7
|
|
7442
7499
|
}
|
|
7443
7500
|
}
|
|
7444
7501
|
});
|
|
7445
|
-
const
|
|
7502
|
+
const G7 = d1(
|
|
7446
7503
|
({
|
|
7447
7504
|
fetchParams: i,
|
|
7448
7505
|
mode: e = void 0,
|
|
@@ -7457,33 +7514,33 @@ const O7 = L1(
|
|
|
7457
7514
|
required: l,
|
|
7458
7515
|
error: h
|
|
7459
7516
|
}, g) => {
|
|
7460
|
-
const { axiosPeople:
|
|
7461
|
-
if (
|
|
7517
|
+
const { axiosPeople: p, locale: w } = r1(y2), { t: v } = i7("common", { lng: w }), [m, b] = O([]), [y, A] = O(!0), f = J(m), x = J(null);
|
|
7518
|
+
if (k1(g, () => x.current), !p)
|
|
7462
7519
|
throw new Error(
|
|
7463
7520
|
`UserSelect requires "axiosPeople" to fetch users.
|
|
7464
7521
|
Please provide it via SNMTUiContext.`
|
|
7465
7522
|
);
|
|
7466
7523
|
const _ = $(
|
|
7467
|
-
(
|
|
7468
|
-
let
|
|
7469
|
-
return
|
|
7524
|
+
(E) => {
|
|
7525
|
+
let T = "";
|
|
7526
|
+
return E.deletedAt && (T += `[${v("deleted")}] `), E.status === _1.ARCHIVED && (T += `[${v("archived")}] `), `${T}${E.firstName} ${E.lastName}`;
|
|
7470
7527
|
},
|
|
7471
7528
|
[v]
|
|
7472
7529
|
), R = $(
|
|
7473
7530
|
async ({
|
|
7474
|
-
offset:
|
|
7475
|
-
limit:
|
|
7476
|
-
search:
|
|
7531
|
+
offset: E,
|
|
7532
|
+
limit: T,
|
|
7533
|
+
search: V
|
|
7477
7534
|
}) => {
|
|
7478
|
-
var
|
|
7535
|
+
var Z, D, B;
|
|
7479
7536
|
try {
|
|
7480
|
-
const
|
|
7481
|
-
offset:
|
|
7482
|
-
limit:
|
|
7483
|
-
search:
|
|
7537
|
+
const U = await p.post("v1/users/search", {
|
|
7538
|
+
offset: E,
|
|
7539
|
+
limit: T,
|
|
7540
|
+
search: V,
|
|
7484
7541
|
...i,
|
|
7485
7542
|
includeCount: !0
|
|
7486
|
-
}), { data: I, metadata: Y } =
|
|
7543
|
+
}), { data: I, metadata: Y } = U.data;
|
|
7487
7544
|
return {
|
|
7488
7545
|
options: I.map((P) => ({
|
|
7489
7546
|
value: P.id,
|
|
@@ -7492,83 +7549,83 @@ const O7 = L1(
|
|
|
7492
7549
|
})),
|
|
7493
7550
|
count: Y.count
|
|
7494
7551
|
};
|
|
7495
|
-
} catch (
|
|
7552
|
+
} catch (U) {
|
|
7496
7553
|
return c && c({
|
|
7497
|
-
status: ((
|
|
7498
|
-
message: ((B = (D =
|
|
7554
|
+
status: ((Z = U.response) == null ? void 0 : Z.status) ?? 500,
|
|
7555
|
+
message: ((B = (D = U.response) == null ? void 0 : D.data) == null ? void 0 : B.message) ?? "Error while fetching options"
|
|
7499
7556
|
}), {
|
|
7500
7557
|
options: [],
|
|
7501
7558
|
count: 0
|
|
7502
7559
|
};
|
|
7503
7560
|
}
|
|
7504
7561
|
},
|
|
7505
|
-
[
|
|
7562
|
+
[p, i, _, C, c]
|
|
7506
7563
|
), j = $(
|
|
7507
|
-
async (
|
|
7508
|
-
var
|
|
7564
|
+
async (E) => {
|
|
7565
|
+
var T, V, Z;
|
|
7509
7566
|
try {
|
|
7510
|
-
const D =
|
|
7511
|
-
(I) => !
|
|
7567
|
+
const D = E.filter(
|
|
7568
|
+
(I) => !f.current.some((Y) => Y.value === I)
|
|
7512
7569
|
);
|
|
7513
7570
|
let B = [];
|
|
7514
|
-
D.length && (B = (await
|
|
7571
|
+
D.length && (B = (await p.post("v1/users/search", {
|
|
7515
7572
|
filters: {
|
|
7516
7573
|
id: D,
|
|
7517
|
-
status: [
|
|
7574
|
+
status: [_1.ACTIVE, _1.ARCHIVED]
|
|
7518
7575
|
}
|
|
7519
7576
|
})).data.data);
|
|
7520
|
-
const
|
|
7577
|
+
const U = B.map((I) => ({
|
|
7521
7578
|
value: I.id,
|
|
7522
7579
|
label: _(I),
|
|
7523
7580
|
image: C ? I.avatarUrl : void 0
|
|
7524
7581
|
}));
|
|
7525
|
-
return [...
|
|
7582
|
+
return [...f.current, ...U];
|
|
7526
7583
|
} catch (D) {
|
|
7527
7584
|
return c && c({
|
|
7528
|
-
status: ((
|
|
7529
|
-
message: ((
|
|
7585
|
+
status: ((T = D.response) == null ? void 0 : T.status) ?? 500,
|
|
7586
|
+
message: ((Z = (V = D.response) == null ? void 0 : V.data) == null ? void 0 : Z.message) ?? "Error while fetching selected items"
|
|
7530
7587
|
}), [];
|
|
7531
7588
|
}
|
|
7532
7589
|
},
|
|
7533
|
-
[
|
|
7590
|
+
[p, _, c, C]
|
|
7534
7591
|
);
|
|
7535
|
-
|
|
7536
|
-
|
|
7537
|
-
}, [m]),
|
|
7538
|
-
var
|
|
7539
|
-
(
|
|
7540
|
-
}, [i]),
|
|
7592
|
+
G(() => {
|
|
7593
|
+
f.current = m;
|
|
7594
|
+
}, [m]), G(() => {
|
|
7595
|
+
var E;
|
|
7596
|
+
(E = x.current) == null || E.refetchOptions();
|
|
7597
|
+
}, [i]), G(() => {
|
|
7541
7598
|
if (!n) {
|
|
7542
7599
|
A(!1);
|
|
7543
7600
|
return;
|
|
7544
7601
|
}
|
|
7545
7602
|
(async () => {
|
|
7546
|
-
const
|
|
7547
|
-
|
|
7603
|
+
const T = Array.isArray(n) ? n : [n], V = await j(T);
|
|
7604
|
+
b(V), A(!1);
|
|
7548
7605
|
})();
|
|
7549
7606
|
}, [j, n]);
|
|
7550
|
-
const
|
|
7607
|
+
const q = $(
|
|
7551
7608
|
async ({
|
|
7552
|
-
limit:
|
|
7553
|
-
offset:
|
|
7554
|
-
search:
|
|
7609
|
+
limit: E,
|
|
7610
|
+
offset: T,
|
|
7611
|
+
search: V
|
|
7555
7612
|
}) => {
|
|
7556
|
-
const { count:
|
|
7557
|
-
offset:
|
|
7558
|
-
limit:
|
|
7559
|
-
search:
|
|
7613
|
+
const { count: Z, ...D } = await R({
|
|
7614
|
+
offset: T,
|
|
7615
|
+
limit: E,
|
|
7616
|
+
search: V
|
|
7560
7617
|
});
|
|
7561
7618
|
let B = D.options;
|
|
7562
|
-
return a &&
|
|
7619
|
+
return a && T === 0 && (B = [{ value: null, label: "None" }, ...B]), {
|
|
7563
7620
|
options: B,
|
|
7564
|
-
count:
|
|
7565
|
-
limit:
|
|
7621
|
+
count: Z,
|
|
7622
|
+
limit: E
|
|
7566
7623
|
};
|
|
7567
7624
|
},
|
|
7568
7625
|
[a, R]
|
|
7569
7626
|
);
|
|
7570
|
-
if (
|
|
7571
|
-
return /* @__PURE__ */ r(
|
|
7627
|
+
if (y)
|
|
7628
|
+
return /* @__PURE__ */ r(Gt, {});
|
|
7572
7629
|
const F = {
|
|
7573
7630
|
ref: x,
|
|
7574
7631
|
placeholder: t,
|
|
@@ -7578,24 +7635,24 @@ const O7 = L1(
|
|
|
7578
7635
|
error: h
|
|
7579
7636
|
};
|
|
7580
7637
|
return e ? /* @__PURE__ */ r(
|
|
7581
|
-
|
|
7638
|
+
W1,
|
|
7582
7639
|
{
|
|
7583
7640
|
...F,
|
|
7584
7641
|
mode: e,
|
|
7585
7642
|
value: n,
|
|
7586
7643
|
onChange: o,
|
|
7587
|
-
loadOptions:
|
|
7644
|
+
loadOptions: q,
|
|
7588
7645
|
preloadOptions: !0,
|
|
7589
7646
|
extraOptions: m
|
|
7590
7647
|
}
|
|
7591
7648
|
) : /* @__PURE__ */ r(
|
|
7592
|
-
|
|
7649
|
+
W1,
|
|
7593
7650
|
{
|
|
7594
7651
|
...F,
|
|
7595
7652
|
value: n,
|
|
7596
7653
|
mode: void 0,
|
|
7597
7654
|
onChange: o,
|
|
7598
|
-
loadOptions:
|
|
7655
|
+
loadOptions: q,
|
|
7599
7656
|
preloadOptions: !0,
|
|
7600
7657
|
extraOptions: m
|
|
7601
7658
|
}
|
|
@@ -7603,5 +7660,5 @@ const O7 = L1(
|
|
|
7603
7660
|
}
|
|
7604
7661
|
);
|
|
7605
7662
|
export {
|
|
7606
|
-
|
|
7663
|
+
G7 as UserSelect
|
|
7607
7664
|
};
|