@snmt-react-ui/country-select 2.8.8 → 2.8.9
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/country-select.js +1031 -810
- package/package.json +3 -3
package/dist/country-select.js
CHANGED
|
@@ -4,10 +4,10 @@ var V1 = (i, e, t) => g2(i, typeof e != "symbol" ? e + "" : e, t);
|
|
|
4
4
|
import "./index.css";
|
|
5
5
|
import { jsx as r, Fragment as W, jsxs as u } from "react/jsx-runtime";
|
|
6
6
|
import { SNMTUiContext as u2 } from "@snmt-react-ui/core";
|
|
7
|
-
import { Select as
|
|
7
|
+
import { Select as p2, Tag as f2, Flex as m2, Checkbox as w2, Avatar as L2, Typography as J1, Popover as k2 } from "antd";
|
|
8
8
|
import { forwardRef as w1, useState as I, useRef as J, useEffect as A, useCallback as K, useContext as Q, createContext as t1, useImperativeHandle as Q1 } from "react";
|
|
9
9
|
var v2 = Object.defineProperty, N2 = (i, e, t) => e in i ? v2(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, R2 = (i, e, t) => N2(i, e + "", t), x2 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
10
|
-
function
|
|
10
|
+
function _2() {
|
|
11
11
|
if (console && console.warn) {
|
|
12
12
|
for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
|
|
13
13
|
e[t] = arguments[t];
|
|
@@ -18,7 +18,7 @@ const I1 = {};
|
|
|
18
18
|
function x1() {
|
|
19
19
|
for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
|
|
20
20
|
e[t] = arguments[t];
|
|
21
|
-
U(e[0]) && I1[e[0]] || (U(e[0]) && (I1[e[0]] = /* @__PURE__ */ new Date()),
|
|
21
|
+
U(e[0]) && I1[e[0]] || (U(e[0]) && (I1[e[0]] = /* @__PURE__ */ new Date()), _2(...e));
|
|
22
22
|
}
|
|
23
23
|
const q1 = (i, e) => () => {
|
|
24
24
|
if (i.isInitialized)
|
|
@@ -37,15 +37,15 @@ const q1 = (i, e) => () => {
|
|
|
37
37
|
U(t) && (t = [t]), t.forEach((n) => {
|
|
38
38
|
i.options.ns.indexOf(n) < 0 && i.options.ns.push(n);
|
|
39
39
|
}), i.loadLanguages(e, q1(i, s));
|
|
40
|
-
},
|
|
40
|
+
}, M2 = function(i, e) {
|
|
41
41
|
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
42
42
|
const s = e.languages[0], n = e.options ? e.options.fallbackLng : !1, o = e.languages[e.languages.length - 1];
|
|
43
43
|
if (s.toLowerCase() === "cimode") return !0;
|
|
44
|
-
const
|
|
44
|
+
const c = (a, C) => {
|
|
45
45
|
const d = e.services.backendConnector.state[`${a}|${C}`];
|
|
46
46
|
return d === -1 || d === 2;
|
|
47
47
|
};
|
|
48
|
-
return t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && e.services.backendConnector.backend && e.isLanguageChangingTo && !
|
|
48
|
+
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)));
|
|
49
49
|
}, b2 = function(i, e) {
|
|
50
50
|
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
51
51
|
return !e.languages || !e.languages.length ? (x1("i18n.languages were undefined or empty", e.languages), !0) : e.options.ignoreJSONStructure !== void 0 ? e.hasLoadedNamespace(i, {
|
|
@@ -53,7 +53,7 @@ const q1 = (i, e) => () => {
|
|
|
53
53
|
precheck: (s, n) => {
|
|
54
54
|
if (t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && s.services.backendConnector.backend && s.isLanguageChangingTo && !n(s.isLanguageChangingTo, i)) return !1;
|
|
55
55
|
}
|
|
56
|
-
}) :
|
|
56
|
+
}) : M2(i, e, t);
|
|
57
57
|
}, U = (i) => typeof i == "string", y2 = (i) => typeof i == "object" && i !== null, H2 = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, E2 = {
|
|
58
58
|
"&": "&",
|
|
59
59
|
"&": "&",
|
|
@@ -114,47 +114,47 @@ const T2 = (i, e) => {
|
|
|
114
114
|
} = Q(D2) || {}, o = t || s || S2();
|
|
115
115
|
if (o && !o.reportNamespaces && (o.reportNamespaces = new G2()), !o) {
|
|
116
116
|
x1("You will need to pass in an i18next instance by using initReactI18next");
|
|
117
|
-
const
|
|
118
|
-
return
|
|
117
|
+
const f = (R, x) => U(x) ? x : y2(x) && U(x.defaultValue) ? x.defaultValue : Array.isArray(R) ? R[R.length - 1] : R, M = [f, {}, !1];
|
|
118
|
+
return M.t = f, M.i18n = {}, M.ready = !1, M;
|
|
119
119
|
}
|
|
120
120
|
o.options.react && o.options.react.wait !== void 0 && x1("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
|
|
121
|
-
const
|
|
121
|
+
const c = {
|
|
122
122
|
...Z2(),
|
|
123
123
|
...o.options.react,
|
|
124
124
|
...e
|
|
125
125
|
}, {
|
|
126
126
|
useSuspense: a,
|
|
127
127
|
keyPrefix: C
|
|
128
|
-
} =
|
|
128
|
+
} = c;
|
|
129
129
|
let d = i;
|
|
130
130
|
d = U(d) ? [d] : d || ["translation"], o.reportNamespaces.addUsedNamespaces && o.reportNamespaces.addUsedNamespaces(d);
|
|
131
|
-
const l = (o.isInitialized || o.initializedStoreOnce) && d.every((
|
|
132
|
-
let
|
|
133
|
-
e.lng && (
|
|
134
|
-
const y = T2(
|
|
131
|
+
const l = (o.isInitialized || o.initializedStoreOnce) && d.every((f) => b2(f, o, c)), h = K2(o, e.lng || null, c.nsMode === "fallback" ? d : d[0], C), g = () => h, p = () => X1(o, e.lng || null, c.nsMode === "fallback" ? d : d[0], C), [k, N] = I(g);
|
|
132
|
+
let L = d.join();
|
|
133
|
+
e.lng && (L = `${e.lng}${L}`);
|
|
134
|
+
const y = T2(L), b = J(!0);
|
|
135
135
|
A(() => {
|
|
136
136
|
const {
|
|
137
|
-
bindI18n:
|
|
138
|
-
bindI18nStore:
|
|
139
|
-
} =
|
|
137
|
+
bindI18n: f,
|
|
138
|
+
bindI18nStore: M
|
|
139
|
+
} = c;
|
|
140
140
|
b.current = !0, !l && !a && (e.lng ? Z1(o, e.lng, d, () => {
|
|
141
|
-
b.current && N(
|
|
141
|
+
b.current && N(p);
|
|
142
142
|
}) : A1(o, d, () => {
|
|
143
|
-
b.current && N(
|
|
144
|
-
})), l && y && y !==
|
|
143
|
+
b.current && N(p);
|
|
144
|
+
})), l && y && y !== L && b.current && N(p);
|
|
145
145
|
const R = () => {
|
|
146
|
-
b.current && N(
|
|
146
|
+
b.current && N(p);
|
|
147
147
|
};
|
|
148
|
-
return
|
|
149
|
-
b.current = !1,
|
|
148
|
+
return f && o && o.on(f, R), M && o && o.store.on(M, R), () => {
|
|
149
|
+
b.current = !1, f && o && f.split(" ").forEach((x) => o.off(x, R)), M && o && M.split(" ").forEach((x) => o.store.off(x, R));
|
|
150
150
|
};
|
|
151
|
-
}, [o,
|
|
151
|
+
}, [o, L]), A(() => {
|
|
152
152
|
b.current && l && N(g);
|
|
153
153
|
}, [o, C, l]);
|
|
154
154
|
const E = [k, o, l];
|
|
155
155
|
if (E.t = k, E.i18n = o, E.ready = l, l || !l && !a) return E;
|
|
156
|
-
throw new Promise((
|
|
157
|
-
e.lng ? Z1(o, e.lng, d, () =>
|
|
156
|
+
throw new Promise((f) => {
|
|
157
|
+
e.lng ? Z1(o, e.lng, d, () => f()) : A1(o, d, () => f());
|
|
158
158
|
});
|
|
159
159
|
}, r1 = ({
|
|
160
160
|
children: i,
|
|
@@ -163,7 +163,7 @@ const T2 = (i, e) => {
|
|
|
163
163
|
alignItems: s = "normal",
|
|
164
164
|
justifyContent: n = "normal",
|
|
165
165
|
flex: o,
|
|
166
|
-
gap:
|
|
166
|
+
gap: c,
|
|
167
167
|
padding: a
|
|
168
168
|
}) => /* @__PURE__ */ r(
|
|
169
169
|
m2,
|
|
@@ -174,7 +174,7 @@ const T2 = (i, e) => {
|
|
|
174
174
|
align: s,
|
|
175
175
|
justify: n,
|
|
176
176
|
flex: o,
|
|
177
|
-
gap:
|
|
177
|
+
gap: c,
|
|
178
178
|
style: { padding: a },
|
|
179
179
|
children: i
|
|
180
180
|
}
|
|
@@ -206,7 +206,7 @@ const Y2 = ({
|
|
|
206
206
|
disabled: n = !1,
|
|
207
207
|
disableUncheck: o = !1
|
|
208
208
|
}) => {
|
|
209
|
-
const [
|
|
209
|
+
const [c, a] = I(i), [C, d] = I(e);
|
|
210
210
|
A(() => {
|
|
211
211
|
a(i), d(e);
|
|
212
212
|
}, [i, e]);
|
|
@@ -215,17 +215,17 @@ const Y2 = ({
|
|
|
215
215
|
w2,
|
|
216
216
|
{
|
|
217
217
|
className: `snmt-checkbox snmt-checkbox-${l}`,
|
|
218
|
-
checked:
|
|
218
|
+
checked: c,
|
|
219
219
|
indeterminate: C,
|
|
220
|
-
onChange: (
|
|
221
|
-
o &&
|
|
220
|
+
onChange: (h) => {
|
|
221
|
+
o && c || (d(!1), a(h.target.checked), s && s(h));
|
|
222
222
|
},
|
|
223
223
|
disabled: n,
|
|
224
224
|
children: t
|
|
225
225
|
}
|
|
226
226
|
);
|
|
227
227
|
};
|
|
228
|
-
var
|
|
228
|
+
var m = /* @__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))(m || {});
|
|
229
229
|
const e2 = t1({
|
|
230
230
|
locale: "en",
|
|
231
231
|
theme: "light"
|
|
@@ -261,7 +261,7 @@ const j2 = ({
|
|
|
261
261
|
), $2 = ({
|
|
262
262
|
width: i = 20,
|
|
263
263
|
height: e = 20,
|
|
264
|
-
color: t =
|
|
264
|
+
color: t = m.GREY_DARK_5,
|
|
265
265
|
className: s,
|
|
266
266
|
onClick: n
|
|
267
267
|
}) => /* @__PURE__ */ u(
|
|
@@ -336,7 +336,109 @@ const j2 = ({
|
|
|
336
336
|
), W2 = ({
|
|
337
337
|
width: i = 20,
|
|
338
338
|
height: e = 20,
|
|
339
|
-
color: t =
|
|
339
|
+
color: t = m.GREY_DARK_5,
|
|
340
|
+
className: s,
|
|
341
|
+
onClick: n
|
|
342
|
+
}) => /* @__PURE__ */ u(
|
|
343
|
+
"svg",
|
|
344
|
+
{
|
|
345
|
+
width: i,
|
|
346
|
+
height: e,
|
|
347
|
+
className: s,
|
|
348
|
+
onClick: n,
|
|
349
|
+
viewBox: "0 0 25 25",
|
|
350
|
+
fill: "none",
|
|
351
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
352
|
+
children: [
|
|
353
|
+
/* @__PURE__ */ r("g", { "clip-path": "url(#clip0_1_2043)", children: /* @__PURE__ */ r(
|
|
354
|
+
"path",
|
|
355
|
+
{
|
|
356
|
+
d: "M5.96967 14.9697C5.67678 15.2626 5.67678 15.7373 5.96967 16.0302C6.26256 16.3231 6.73732 16.3231 7.03022 16.0302L12.4999 10.5605L17.9697 16.0302L18.0263 16.082C18.3209 16.3223 18.7556 16.3048 19.0302 16.0302C19.3048 15.7556 19.3223 15.3209 19.082 15.0263L19.0302 14.9697L13.0302 8.96967C12.7373 8.67678 12.2626 8.67678 11.9697 8.96967L5.96967 14.9697Z",
|
|
357
|
+
fill: t
|
|
358
|
+
}
|
|
359
|
+
) }),
|
|
360
|
+
/* @__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
|
+
]
|
|
362
|
+
}
|
|
363
|
+
), U2 = ({
|
|
364
|
+
width: i = 20,
|
|
365
|
+
height: e = 20,
|
|
366
|
+
color: t = m.GREY_DARK_5,
|
|
367
|
+
className: s,
|
|
368
|
+
onClick: n
|
|
369
|
+
}) => /* @__PURE__ */ r(
|
|
370
|
+
"svg",
|
|
371
|
+
{
|
|
372
|
+
width: i,
|
|
373
|
+
height: e,
|
|
374
|
+
className: s,
|
|
375
|
+
onClick: n,
|
|
376
|
+
viewBox: "0 0 25 25",
|
|
377
|
+
fill: "none",
|
|
378
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
379
|
+
children: /* @__PURE__ */ r(
|
|
380
|
+
"path",
|
|
381
|
+
{
|
|
382
|
+
d: "M10.0303 5.96967C9.73744 5.67678 9.26268 5.67678 8.96978 5.96967C8.67689 6.26256 8.67689 6.73732 8.96978 7.03022L14.4395 12.4999L8.96978 17.9697L8.91803 18.0263C8.67772 18.3209 8.69518 18.7556 8.96978 19.0302C9.24439 19.3048 9.67911 19.3223 9.97369 19.082L10.0303 19.0302L16.0303 13.0302C16.3232 12.7373 16.3232 12.2626 16.0303 11.9697L10.0303 5.96967Z",
|
|
383
|
+
fill: t
|
|
384
|
+
}
|
|
385
|
+
)
|
|
386
|
+
}
|
|
387
|
+
), z2 = ({
|
|
388
|
+
width: i = 20,
|
|
389
|
+
height: e = 20,
|
|
390
|
+
color: t = m.GREY_DARK_5,
|
|
391
|
+
className: s,
|
|
392
|
+
onClick: n
|
|
393
|
+
}) => /* @__PURE__ */ u(
|
|
394
|
+
"svg",
|
|
395
|
+
{
|
|
396
|
+
width: i,
|
|
397
|
+
height: e,
|
|
398
|
+
className: s,
|
|
399
|
+
onClick: n,
|
|
400
|
+
viewBox: "0 0 25 25",
|
|
401
|
+
fill: "none",
|
|
402
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
403
|
+
children: [
|
|
404
|
+
/* @__PURE__ */ r("g", { "clip-path": "url(#clip0_1_2039)", children: /* @__PURE__ */ r(
|
|
405
|
+
"path",
|
|
406
|
+
{
|
|
407
|
+
d: "M5.96967 10.0303C5.67678 9.73744 5.67678 9.26268 5.96967 8.96978C6.26256 8.67689 6.73732 8.67689 7.03022 8.96978L12.4999 14.4395L17.9697 8.96978L18.0263 8.91803C18.3209 8.67772 18.7556 8.69518 19.0302 8.96978C19.3048 9.24439 19.3223 9.67911 19.082 9.97369L19.0302 10.0303L13.0302 16.0303C12.7373 16.3232 12.2626 16.3232 11.9697 16.0303L5.96967 10.0303Z",
|
|
408
|
+
fill: t
|
|
409
|
+
}
|
|
410
|
+
) }),
|
|
411
|
+
/* @__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
|
+
]
|
|
413
|
+
}
|
|
414
|
+
), J2 = ({
|
|
415
|
+
width: i = 20,
|
|
416
|
+
height: e = 20,
|
|
417
|
+
color: t = m.GREY_DARK_5,
|
|
418
|
+
className: s,
|
|
419
|
+
onClick: n
|
|
420
|
+
}) => /* @__PURE__ */ r(
|
|
421
|
+
"svg",
|
|
422
|
+
{
|
|
423
|
+
width: i,
|
|
424
|
+
height: e,
|
|
425
|
+
className: s,
|
|
426
|
+
onClick: n,
|
|
427
|
+
viewBox: "0 0 25 25",
|
|
428
|
+
fill: "none",
|
|
429
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
430
|
+
children: /* @__PURE__ */ r(
|
|
431
|
+
"path",
|
|
432
|
+
{
|
|
433
|
+
d: "M14.9697 5.96967C15.2626 5.67678 15.7373 5.67678 16.0302 5.96967C16.3231 6.26256 16.3231 6.73732 16.0302 7.03022L10.5605 12.4999L16.0302 17.9697L16.082 18.0263C16.3223 18.3209 16.3048 18.7556 16.0302 19.0302C15.7556 19.3048 15.3209 19.3223 15.0263 19.082L14.9697 19.0302L8.96967 13.0302C8.67678 12.7373 8.67678 12.2626 8.96967 11.9697L14.9697 5.96967Z",
|
|
434
|
+
fill: t
|
|
435
|
+
}
|
|
436
|
+
)
|
|
437
|
+
}
|
|
438
|
+
), Q2 = ({
|
|
439
|
+
width: i = 20,
|
|
440
|
+
height: e = 20,
|
|
441
|
+
color: t = m.GREY_DARK_5,
|
|
340
442
|
className: s,
|
|
341
443
|
onClick: n
|
|
342
444
|
}) => /* @__PURE__ */ u(
|
|
@@ -380,10 +482,10 @@ const j2 = ({
|
|
|
380
482
|
)
|
|
381
483
|
]
|
|
382
484
|
}
|
|
383
|
-
),
|
|
485
|
+
), q2 = ({
|
|
384
486
|
width: i = 20,
|
|
385
487
|
height: e = 20,
|
|
386
|
-
color: t =
|
|
488
|
+
color: t = m.GREY_DARK_5,
|
|
387
489
|
className: s,
|
|
388
490
|
onClick: n
|
|
389
491
|
}) => /* @__PURE__ */ r(
|
|
@@ -404,10 +506,10 @@ const j2 = ({
|
|
|
404
506
|
}
|
|
405
507
|
)
|
|
406
508
|
}
|
|
407
|
-
),
|
|
509
|
+
), X2 = ({
|
|
408
510
|
width: i = 20,
|
|
409
511
|
height: e = 20,
|
|
410
|
-
color: t =
|
|
512
|
+
color: t = m.GREY_DARK_5,
|
|
411
513
|
className: s,
|
|
412
514
|
onClick: n
|
|
413
515
|
}) => /* @__PURE__ */ r(
|
|
@@ -428,10 +530,10 @@ const j2 = ({
|
|
|
428
530
|
}
|
|
429
531
|
)
|
|
430
532
|
}
|
|
431
|
-
),
|
|
533
|
+
), e5 = ({
|
|
432
534
|
width: i = 20,
|
|
433
535
|
height: e = 20,
|
|
434
|
-
color: t =
|
|
536
|
+
color: t = m.GREY_DARK_5,
|
|
435
537
|
className: s,
|
|
436
538
|
onClick: n
|
|
437
539
|
}) => /* @__PURE__ */ r(
|
|
@@ -452,10 +554,10 @@ const j2 = ({
|
|
|
452
554
|
}
|
|
453
555
|
)
|
|
454
556
|
}
|
|
455
|
-
),
|
|
557
|
+
), t5 = ({
|
|
456
558
|
width: i = 20,
|
|
457
559
|
height: e = 20,
|
|
458
|
-
color: t =
|
|
560
|
+
color: t = m.GREY_DARK_5,
|
|
459
561
|
className: s,
|
|
460
562
|
onClick: n
|
|
461
563
|
}) => /* @__PURE__ */ u(
|
|
@@ -513,10 +615,10 @@ const j2 = ({
|
|
|
513
615
|
)
|
|
514
616
|
]
|
|
515
617
|
}
|
|
516
|
-
),
|
|
618
|
+
), i5 = ({
|
|
517
619
|
width: i = 20,
|
|
518
620
|
height: e = 20,
|
|
519
|
-
color: t =
|
|
621
|
+
color: t = m.GREY_DARK_5,
|
|
520
622
|
className: s,
|
|
521
623
|
onClick: n
|
|
522
624
|
}) => /* @__PURE__ */ u(
|
|
@@ -560,10 +662,10 @@ const j2 = ({
|
|
|
560
662
|
)
|
|
561
663
|
]
|
|
562
664
|
}
|
|
563
|
-
),
|
|
665
|
+
), s5 = ({
|
|
564
666
|
width: i = 20,
|
|
565
667
|
height: e = 20,
|
|
566
|
-
color: t =
|
|
668
|
+
color: t = m.GREY_DARK_5,
|
|
567
669
|
className: s,
|
|
568
670
|
onClick: n
|
|
569
671
|
}) => /* @__PURE__ */ u(
|
|
@@ -600,10 +702,10 @@ const j2 = ({
|
|
|
600
702
|
)
|
|
601
703
|
]
|
|
602
704
|
}
|
|
603
|
-
),
|
|
705
|
+
), n5 = ({
|
|
604
706
|
width: i = 20,
|
|
605
707
|
height: e = 20,
|
|
606
|
-
color: t =
|
|
708
|
+
color: t = m.GREY_DARK_5,
|
|
607
709
|
className: s,
|
|
608
710
|
onClick: n
|
|
609
711
|
}) => /* @__PURE__ */ u(
|
|
@@ -640,10 +742,10 @@ const j2 = ({
|
|
|
640
742
|
)
|
|
641
743
|
]
|
|
642
744
|
}
|
|
643
|
-
),
|
|
745
|
+
), r5 = ({
|
|
644
746
|
width: i = 20,
|
|
645
747
|
height: e = 20,
|
|
646
|
-
color: t =
|
|
748
|
+
color: t = m.GREY_DARK_5,
|
|
647
749
|
className: s,
|
|
648
750
|
onClick: n
|
|
649
751
|
}) => /* @__PURE__ */ u(
|
|
@@ -687,10 +789,10 @@ const j2 = ({
|
|
|
687
789
|
)
|
|
688
790
|
]
|
|
689
791
|
}
|
|
690
|
-
),
|
|
792
|
+
), o5 = ({
|
|
691
793
|
width: i = 20,
|
|
692
794
|
height: e = 20,
|
|
693
|
-
color: t =
|
|
795
|
+
color: t = m.GREY_DARK_5,
|
|
694
796
|
className: s,
|
|
695
797
|
onClick: n
|
|
696
798
|
}) => /* @__PURE__ */ u(
|
|
@@ -734,10 +836,10 @@ const j2 = ({
|
|
|
734
836
|
)
|
|
735
837
|
]
|
|
736
838
|
}
|
|
737
|
-
),
|
|
839
|
+
), a5 = ({
|
|
738
840
|
width: i = 20,
|
|
739
841
|
height: e = 20,
|
|
740
|
-
color: t =
|
|
842
|
+
color: t = m.GREY_DARK_5,
|
|
741
843
|
className: s,
|
|
742
844
|
onClick: n
|
|
743
845
|
}) => /* @__PURE__ */ u(
|
|
@@ -781,10 +883,10 @@ const j2 = ({
|
|
|
781
883
|
)
|
|
782
884
|
]
|
|
783
885
|
}
|
|
784
|
-
),
|
|
886
|
+
), l5 = ({
|
|
785
887
|
width: i = 20,
|
|
786
888
|
height: e = 20,
|
|
787
|
-
color: t =
|
|
889
|
+
color: t = m.GREY_DARK_5,
|
|
788
890
|
className: s,
|
|
789
891
|
onClick: n
|
|
790
892
|
}) => /* @__PURE__ */ u(
|
|
@@ -821,10 +923,10 @@ const j2 = ({
|
|
|
821
923
|
)
|
|
822
924
|
]
|
|
823
925
|
}
|
|
824
|
-
),
|
|
926
|
+
), h5 = ({
|
|
825
927
|
width: i = 20,
|
|
826
928
|
height: e = 20,
|
|
827
|
-
color: t =
|
|
929
|
+
color: t = m.GREY_DARK_5,
|
|
828
930
|
className: s,
|
|
829
931
|
onClick: n
|
|
830
932
|
}) => /* @__PURE__ */ u(
|
|
@@ -854,10 +956,10 @@ const j2 = ({
|
|
|
854
956
|
)
|
|
855
957
|
]
|
|
856
958
|
}
|
|
857
|
-
),
|
|
959
|
+
), c5 = ({
|
|
858
960
|
width: i = 20,
|
|
859
961
|
height: e = 20,
|
|
860
|
-
color: t =
|
|
962
|
+
color: t = m.GREY_DARK_5,
|
|
861
963
|
className: s,
|
|
862
964
|
onClick: n
|
|
863
965
|
}) => /* @__PURE__ */ u(
|
|
@@ -887,10 +989,10 @@ const j2 = ({
|
|
|
887
989
|
)
|
|
888
990
|
]
|
|
889
991
|
}
|
|
890
|
-
),
|
|
992
|
+
), d5 = ({
|
|
891
993
|
width: i = 20,
|
|
892
994
|
height: e = 20,
|
|
893
|
-
color: t =
|
|
995
|
+
color: t = m.GREY_DARK_5,
|
|
894
996
|
className: s,
|
|
895
997
|
onClick: n
|
|
896
998
|
}) => /* @__PURE__ */ u(
|
|
@@ -920,10 +1022,10 @@ const j2 = ({
|
|
|
920
1022
|
)
|
|
921
1023
|
]
|
|
922
1024
|
}
|
|
923
|
-
),
|
|
1025
|
+
), C5 = ({
|
|
924
1026
|
width: i = 20,
|
|
925
1027
|
height: e = 20,
|
|
926
|
-
color: t =
|
|
1028
|
+
color: t = m.GREY_DARK_5,
|
|
927
1029
|
className: s,
|
|
928
1030
|
onClick: n
|
|
929
1031
|
}) => /* @__PURE__ */ u(
|
|
@@ -953,10 +1055,10 @@ const j2 = ({
|
|
|
953
1055
|
)
|
|
954
1056
|
]
|
|
955
1057
|
}
|
|
956
|
-
),
|
|
1058
|
+
), g5 = ({
|
|
957
1059
|
width: i = 20,
|
|
958
1060
|
height: e = 20,
|
|
959
|
-
color: t =
|
|
1061
|
+
color: t = m.GREY_DARK_5,
|
|
960
1062
|
className: s,
|
|
961
1063
|
onClick: n
|
|
962
1064
|
}) => /* @__PURE__ */ u(
|
|
@@ -993,10 +1095,10 @@ const j2 = ({
|
|
|
993
1095
|
)
|
|
994
1096
|
]
|
|
995
1097
|
}
|
|
996
|
-
),
|
|
1098
|
+
), u5 = ({
|
|
997
1099
|
width: i = 20,
|
|
998
1100
|
height: e = 20,
|
|
999
|
-
color: t =
|
|
1101
|
+
color: t = m.GREY_DARK_5,
|
|
1000
1102
|
className: s,
|
|
1001
1103
|
onClick: n
|
|
1002
1104
|
}) => /* @__PURE__ */ u(
|
|
@@ -1026,10 +1128,10 @@ const j2 = ({
|
|
|
1026
1128
|
)
|
|
1027
1129
|
]
|
|
1028
1130
|
}
|
|
1029
|
-
),
|
|
1131
|
+
), p5 = ({
|
|
1030
1132
|
width: i = 20,
|
|
1031
1133
|
height: e = 20,
|
|
1032
|
-
color: t =
|
|
1134
|
+
color: t = m.GREY_DARK_5,
|
|
1033
1135
|
className: s,
|
|
1034
1136
|
onClick: n
|
|
1035
1137
|
}) => /* @__PURE__ */ u(
|
|
@@ -1059,7 +1161,7 @@ const j2 = ({
|
|
|
1059
1161
|
)
|
|
1060
1162
|
]
|
|
1061
1163
|
}
|
|
1062
|
-
),
|
|
1164
|
+
), f5 = ({
|
|
1063
1165
|
width: i = 20,
|
|
1064
1166
|
height: e = 20,
|
|
1065
1167
|
color: t = "#070739",
|
|
@@ -1089,7 +1191,7 @@ const j2 = ({
|
|
|
1089
1191
|
/* @__PURE__ */ r("circle", { cx: "10", cy: "10", r: "2.375", stroke: t, strokeWidth: "1.25" })
|
|
1090
1192
|
]
|
|
1091
1193
|
}
|
|
1092
|
-
),
|
|
1194
|
+
), m5 = ({
|
|
1093
1195
|
width: i = 20,
|
|
1094
1196
|
height: e = 20,
|
|
1095
1197
|
color: t = "#070739",
|
|
@@ -1127,7 +1229,7 @@ const j2 = ({
|
|
|
1127
1229
|
)
|
|
1128
1230
|
]
|
|
1129
1231
|
}
|
|
1130
|
-
),
|
|
1232
|
+
), w5 = ({
|
|
1131
1233
|
width: i = 9,
|
|
1132
1234
|
height: e = 5,
|
|
1133
1235
|
color: t = "#001E52",
|
|
@@ -1153,7 +1255,7 @@ const j2 = ({
|
|
|
1153
1255
|
}
|
|
1154
1256
|
)
|
|
1155
1257
|
}
|
|
1156
|
-
),
|
|
1258
|
+
), L5 = ({
|
|
1157
1259
|
width: i = 20,
|
|
1158
1260
|
height: e = 20,
|
|
1159
1261
|
color: t = "#F2F2F7",
|
|
@@ -1182,7 +1284,7 @@ const j2 = ({
|
|
|
1182
1284
|
)
|
|
1183
1285
|
]
|
|
1184
1286
|
}
|
|
1185
|
-
),
|
|
1287
|
+
), k5 = ({
|
|
1186
1288
|
width: i = 20,
|
|
1187
1289
|
height: e = 20,
|
|
1188
1290
|
color: t = "#004ED7",
|
|
@@ -1211,7 +1313,7 @@ const j2 = ({
|
|
|
1211
1313
|
)
|
|
1212
1314
|
]
|
|
1213
1315
|
}
|
|
1214
|
-
),
|
|
1316
|
+
), v5 = ({
|
|
1215
1317
|
width: i = 10,
|
|
1216
1318
|
height: e = 10,
|
|
1217
1319
|
color: t = "#001E52",
|
|
@@ -1240,7 +1342,7 @@ const j2 = ({
|
|
|
1240
1342
|
)
|
|
1241
1343
|
]
|
|
1242
1344
|
}
|
|
1243
|
-
),
|
|
1345
|
+
), N5 = ({
|
|
1244
1346
|
width: i = 10,
|
|
1245
1347
|
height: e = 10,
|
|
1246
1348
|
color: t = "#001E52",
|
|
@@ -1277,9 +1379,9 @@ const j2 = ({
|
|
|
1277
1379
|
)
|
|
1278
1380
|
]
|
|
1279
1381
|
}
|
|
1280
|
-
),
|
|
1382
|
+
), R5 = ({
|
|
1281
1383
|
className: i,
|
|
1282
|
-
color: e =
|
|
1384
|
+
color: e = m.GREY_DARK_5,
|
|
1283
1385
|
height: t = 20,
|
|
1284
1386
|
width: s = 20,
|
|
1285
1387
|
onClick: n
|
|
@@ -1310,9 +1412,9 @@ const j2 = ({
|
|
|
1310
1412
|
)
|
|
1311
1413
|
]
|
|
1312
1414
|
}
|
|
1313
|
-
),
|
|
1415
|
+
), x5 = ({
|
|
1314
1416
|
className: i,
|
|
1315
|
-
color: e =
|
|
1417
|
+
color: e = m.GREY_DARK_5,
|
|
1316
1418
|
height: t = 20,
|
|
1317
1419
|
width: s = 20,
|
|
1318
1420
|
onClick: n
|
|
@@ -1337,9 +1439,9 @@ const j2 = ({
|
|
|
1337
1439
|
}
|
|
1338
1440
|
)
|
|
1339
1441
|
}
|
|
1340
|
-
),
|
|
1442
|
+
), _5 = ({
|
|
1341
1443
|
className: i,
|
|
1342
|
-
color: e =
|
|
1444
|
+
color: e = m.GREY_DARK_5,
|
|
1343
1445
|
height: t = 20,
|
|
1344
1446
|
width: s = 20,
|
|
1345
1447
|
onClick: n
|
|
@@ -1364,9 +1466,9 @@ const j2 = ({
|
|
|
1364
1466
|
}
|
|
1365
1467
|
)
|
|
1366
1468
|
}
|
|
1367
|
-
),
|
|
1469
|
+
), M5 = ({
|
|
1368
1470
|
className: i,
|
|
1369
|
-
color: e =
|
|
1471
|
+
color: e = m.GREY_DARK_5,
|
|
1370
1472
|
height: t = 5,
|
|
1371
1473
|
width: s = 10,
|
|
1372
1474
|
onClick: n
|
|
@@ -1388,9 +1490,9 @@ const j2 = ({
|
|
|
1388
1490
|
}
|
|
1389
1491
|
)
|
|
1390
1492
|
}
|
|
1391
|
-
),
|
|
1493
|
+
), b5 = ({
|
|
1392
1494
|
className: i,
|
|
1393
|
-
color: e =
|
|
1495
|
+
color: e = m.GREY_DARK_5,
|
|
1394
1496
|
height: t = 5,
|
|
1395
1497
|
width: s = 10,
|
|
1396
1498
|
onClick: n
|
|
@@ -1413,9 +1515,9 @@ const j2 = ({
|
|
|
1413
1515
|
}
|
|
1414
1516
|
)
|
|
1415
1517
|
}
|
|
1416
|
-
),
|
|
1518
|
+
), y5 = ({
|
|
1417
1519
|
className: i,
|
|
1418
|
-
color: e =
|
|
1520
|
+
color: e = m.GREY_DARK_5,
|
|
1419
1521
|
height: t = 20,
|
|
1420
1522
|
width: s = 20,
|
|
1421
1523
|
onClick: n
|
|
@@ -1446,9 +1548,9 @@ const j2 = ({
|
|
|
1446
1548
|
)
|
|
1447
1549
|
]
|
|
1448
1550
|
}
|
|
1449
|
-
),
|
|
1551
|
+
), H5 = ({
|
|
1450
1552
|
className: i,
|
|
1451
|
-
color: e =
|
|
1553
|
+
color: e = m.GREY_DARK_5,
|
|
1452
1554
|
height: t = 24,
|
|
1453
1555
|
width: s = 24,
|
|
1454
1556
|
onClick: n
|
|
@@ -1485,9 +1587,9 @@ const j2 = ({
|
|
|
1485
1587
|
)
|
|
1486
1588
|
]
|
|
1487
1589
|
}
|
|
1488
|
-
),
|
|
1590
|
+
), E5 = ({
|
|
1489
1591
|
className: i,
|
|
1490
|
-
color: e =
|
|
1592
|
+
color: e = m.GREY_DARK_5,
|
|
1491
1593
|
height: t = 24,
|
|
1492
1594
|
width: s = 24,
|
|
1493
1595
|
onClick: n
|
|
@@ -1512,9 +1614,9 @@ const j2 = ({
|
|
|
1512
1614
|
}
|
|
1513
1615
|
)
|
|
1514
1616
|
}
|
|
1515
|
-
),
|
|
1617
|
+
), V5 = ({
|
|
1516
1618
|
className: i,
|
|
1517
|
-
color: e =
|
|
1619
|
+
color: e = m.GREY_DARK_5,
|
|
1518
1620
|
height: t = 24,
|
|
1519
1621
|
width: s = 24,
|
|
1520
1622
|
onClick: n
|
|
@@ -1571,9 +1673,9 @@ const j2 = ({
|
|
|
1571
1673
|
)
|
|
1572
1674
|
]
|
|
1573
1675
|
}
|
|
1574
|
-
),
|
|
1676
|
+
), I5 = ({
|
|
1575
1677
|
className: i,
|
|
1576
|
-
color: e =
|
|
1678
|
+
color: e = m.GREY_DARK_5,
|
|
1577
1679
|
height: t = 24,
|
|
1578
1680
|
width: s = 24,
|
|
1579
1681
|
onClick: n
|
|
@@ -1608,9 +1710,9 @@ const j2 = ({
|
|
|
1608
1710
|
)
|
|
1609
1711
|
]
|
|
1610
1712
|
}
|
|
1611
|
-
),
|
|
1713
|
+
), A5 = ({
|
|
1612
1714
|
className: i,
|
|
1613
|
-
color: e =
|
|
1715
|
+
color: e = m.GREY_DARK_3,
|
|
1614
1716
|
height: t = 14,
|
|
1615
1717
|
width: s = 14,
|
|
1616
1718
|
onClick: n
|
|
@@ -1645,9 +1747,9 @@ const j2 = ({
|
|
|
1645
1747
|
)
|
|
1646
1748
|
]
|
|
1647
1749
|
}
|
|
1648
|
-
),
|
|
1750
|
+
), Z5 = ({
|
|
1649
1751
|
className: i,
|
|
1650
|
-
color: e =
|
|
1752
|
+
color: e = m.GREY_DARK_5,
|
|
1651
1753
|
height: t = 18,
|
|
1652
1754
|
onClick: s,
|
|
1653
1755
|
width: n = 18
|
|
@@ -1672,9 +1774,9 @@ const j2 = ({
|
|
|
1672
1774
|
}
|
|
1673
1775
|
)
|
|
1674
1776
|
}
|
|
1675
|
-
),
|
|
1777
|
+
), O5 = ({
|
|
1676
1778
|
className: i,
|
|
1677
|
-
color: e =
|
|
1779
|
+
color: e = m.GREY_DARK_5,
|
|
1678
1780
|
height: t = 24,
|
|
1679
1781
|
width: s = 24,
|
|
1680
1782
|
onClick: n
|
|
@@ -1724,9 +1826,9 @@ const j2 = ({
|
|
|
1724
1826
|
)
|
|
1725
1827
|
]
|
|
1726
1828
|
}
|
|
1727
|
-
),
|
|
1829
|
+
), S5 = ({
|
|
1728
1830
|
className: i,
|
|
1729
|
-
color: e =
|
|
1831
|
+
color: e = m.GREY_DARK_5,
|
|
1730
1832
|
height: t = 24,
|
|
1731
1833
|
width: s = 24,
|
|
1732
1834
|
onClick: n
|
|
@@ -1761,9 +1863,9 @@ const j2 = ({
|
|
|
1761
1863
|
)
|
|
1762
1864
|
]
|
|
1763
1865
|
}
|
|
1764
|
-
),
|
|
1866
|
+
), D5 = ({
|
|
1765
1867
|
className: i,
|
|
1766
|
-
color: e =
|
|
1868
|
+
color: e = m.NOTIFICATION_WARNING_DARK,
|
|
1767
1869
|
height: t = 37,
|
|
1768
1870
|
width: s = 36,
|
|
1769
1871
|
onClick: n
|
|
@@ -1800,9 +1902,9 @@ const j2 = ({
|
|
|
1800
1902
|
)
|
|
1801
1903
|
]
|
|
1802
1904
|
}
|
|
1803
|
-
),
|
|
1905
|
+
), G5 = ({
|
|
1804
1906
|
className: i,
|
|
1805
|
-
color: e =
|
|
1907
|
+
color: e = m.GREY_DARK_5,
|
|
1806
1908
|
height: t = 24,
|
|
1807
1909
|
width: s = 24,
|
|
1808
1910
|
onClick: n
|
|
@@ -1826,9 +1928,9 @@ const j2 = ({
|
|
|
1826
1928
|
}
|
|
1827
1929
|
)
|
|
1828
1930
|
}
|
|
1829
|
-
),
|
|
1931
|
+
), T5 = ({
|
|
1830
1932
|
className: i,
|
|
1831
|
-
color: e =
|
|
1933
|
+
color: e = m.GREY_DARK_5,
|
|
1832
1934
|
height: t = 24,
|
|
1833
1935
|
width: s = 24,
|
|
1834
1936
|
onClick: n
|
|
@@ -1865,9 +1967,9 @@ const j2 = ({
|
|
|
1865
1967
|
)
|
|
1866
1968
|
]
|
|
1867
1969
|
}
|
|
1868
|
-
),
|
|
1970
|
+
), K5 = ({
|
|
1869
1971
|
className: i,
|
|
1870
|
-
color: e =
|
|
1972
|
+
color: e = m.GREY_DARK_5,
|
|
1871
1973
|
height: t = 20,
|
|
1872
1974
|
width: s = 20,
|
|
1873
1975
|
onClick: n
|
|
@@ -1898,9 +2000,9 @@ const j2 = ({
|
|
|
1898
2000
|
)
|
|
1899
2001
|
]
|
|
1900
2002
|
}
|
|
1901
|
-
),
|
|
2003
|
+
), B5 = ({
|
|
1902
2004
|
className: i,
|
|
1903
|
-
color: e =
|
|
2005
|
+
color: e = m.GREY_DARK_5,
|
|
1904
2006
|
height: t = 24,
|
|
1905
2007
|
width: s = 24,
|
|
1906
2008
|
onClick: n
|
|
@@ -1967,9 +2069,9 @@ const j2 = ({
|
|
|
1967
2069
|
)
|
|
1968
2070
|
]
|
|
1969
2071
|
}
|
|
1970
|
-
),
|
|
2072
|
+
), P5 = ({
|
|
1971
2073
|
className: i,
|
|
1972
|
-
color: e =
|
|
2074
|
+
color: e = m.GREY_DARK_5,
|
|
1973
2075
|
height: t = 24,
|
|
1974
2076
|
width: s = 24,
|
|
1975
2077
|
onClick: n
|
|
@@ -2024,9 +2126,9 @@ const j2 = ({
|
|
|
2024
2126
|
)
|
|
2025
2127
|
]
|
|
2026
2128
|
}
|
|
2027
|
-
),
|
|
2129
|
+
), Y5 = ({
|
|
2028
2130
|
className: i,
|
|
2029
|
-
color: e =
|
|
2131
|
+
color: e = m.GREY_DARK_5,
|
|
2030
2132
|
height: t = 24,
|
|
2031
2133
|
width: s = 24,
|
|
2032
2134
|
onClick: n
|
|
@@ -2073,9 +2175,9 @@ const j2 = ({
|
|
|
2073
2175
|
)
|
|
2074
2176
|
]
|
|
2075
2177
|
}
|
|
2076
|
-
),
|
|
2178
|
+
), j5 = ({
|
|
2077
2179
|
className: i,
|
|
2078
|
-
color: e =
|
|
2180
|
+
color: e = m.GREY_DARK_5,
|
|
2079
2181
|
height: t = 24,
|
|
2080
2182
|
width: s = 24,
|
|
2081
2183
|
onClick: n
|
|
@@ -2100,9 +2202,9 @@ const j2 = ({
|
|
|
2100
2202
|
}
|
|
2101
2203
|
)
|
|
2102
2204
|
}
|
|
2103
|
-
),
|
|
2205
|
+
), $5 = ({
|
|
2104
2206
|
className: i,
|
|
2105
|
-
color: e =
|
|
2207
|
+
color: e = m.GREY_DARK_5,
|
|
2106
2208
|
height: t = 20,
|
|
2107
2209
|
width: s = 20,
|
|
2108
2210
|
onClick: n
|
|
@@ -2117,7 +2219,7 @@ const j2 = ({
|
|
|
2117
2219
|
fill: "none",
|
|
2118
2220
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2119
2221
|
children: [
|
|
2120
|
-
/* @__PURE__ */ r("rect", { width: "20", height: "20", rx: "4", fill:
|
|
2222
|
+
/* @__PURE__ */ r("rect", { width: "20", height: "20", rx: "4", fill: m.GREY_LIGHT_2 }),
|
|
2121
2223
|
/* @__PURE__ */ r(
|
|
2122
2224
|
"path",
|
|
2123
2225
|
{
|
|
@@ -2129,7 +2231,7 @@ const j2 = ({
|
|
|
2129
2231
|
)
|
|
2130
2232
|
]
|
|
2131
2233
|
}
|
|
2132
|
-
),
|
|
2234
|
+
), F5 = ({
|
|
2133
2235
|
className: i,
|
|
2134
2236
|
color: e = "#001E52",
|
|
2135
2237
|
height: t = 24,
|
|
@@ -2155,7 +2257,7 @@ const j2 = ({
|
|
|
2155
2257
|
}
|
|
2156
2258
|
)
|
|
2157
2259
|
}
|
|
2158
|
-
),
|
|
2260
|
+
), W5 = ({
|
|
2159
2261
|
className: i,
|
|
2160
2262
|
color: e = "#001E52",
|
|
2161
2263
|
height: t = 24,
|
|
@@ -2193,10 +2295,10 @@ const j2 = ({
|
|
|
2193
2295
|
)
|
|
2194
2296
|
] }) })
|
|
2195
2297
|
}
|
|
2196
|
-
),
|
|
2298
|
+
), U5 = ({
|
|
2197
2299
|
width: i = 20,
|
|
2198
2300
|
height: e = 20,
|
|
2199
|
-
color: t =
|
|
2301
|
+
color: t = m.GREY_DARK_5,
|
|
2200
2302
|
className: s,
|
|
2201
2303
|
onClick: n
|
|
2202
2304
|
}) => /* @__PURE__ */ r(
|
|
@@ -2217,7 +2319,7 @@ const j2 = ({
|
|
|
2217
2319
|
}
|
|
2218
2320
|
)
|
|
2219
2321
|
}
|
|
2220
|
-
),
|
|
2322
|
+
), z5 = ({
|
|
2221
2323
|
width: i = 24,
|
|
2222
2324
|
height: e = 24,
|
|
2223
2325
|
color: t = "#131314",
|
|
@@ -2250,10 +2352,10 @@ const j2 = ({
|
|
|
2250
2352
|
)
|
|
2251
2353
|
]
|
|
2252
2354
|
}
|
|
2253
|
-
),
|
|
2355
|
+
), J5 = ({
|
|
2254
2356
|
width: i = 20,
|
|
2255
2357
|
height: e = 20,
|
|
2256
|
-
color: t =
|
|
2358
|
+
color: t = m.GREY_DARK_5,
|
|
2257
2359
|
className: s,
|
|
2258
2360
|
onClick: n
|
|
2259
2361
|
}) => /* @__PURE__ */ u(
|
|
@@ -2283,10 +2385,10 @@ const j2 = ({
|
|
|
2283
2385
|
)
|
|
2284
2386
|
]
|
|
2285
2387
|
}
|
|
2286
|
-
),
|
|
2388
|
+
), Q5 = ({
|
|
2287
2389
|
width: i = 24,
|
|
2288
2390
|
height: e = 24,
|
|
2289
|
-
color: t =
|
|
2391
|
+
color: t = m.GREY_DARK_2,
|
|
2290
2392
|
className: s,
|
|
2291
2393
|
onClick: n
|
|
2292
2394
|
}) => /* @__PURE__ */ u(
|
|
@@ -2323,10 +2425,10 @@ const j2 = ({
|
|
|
2323
2425
|
)
|
|
2324
2426
|
]
|
|
2325
2427
|
}
|
|
2326
|
-
),
|
|
2428
|
+
), q5 = ({
|
|
2327
2429
|
width: i = 24,
|
|
2328
2430
|
height: e = 24,
|
|
2329
|
-
color: t =
|
|
2431
|
+
color: t = m.GREY_DARK_2,
|
|
2330
2432
|
className: s,
|
|
2331
2433
|
onClick: n
|
|
2332
2434
|
}) => /* @__PURE__ */ r(
|
|
@@ -2350,10 +2452,10 @@ const j2 = ({
|
|
|
2350
2452
|
}
|
|
2351
2453
|
)
|
|
2352
2454
|
}
|
|
2353
|
-
),
|
|
2455
|
+
), X5 = ({
|
|
2354
2456
|
width: i = 24,
|
|
2355
2457
|
height: e = 24,
|
|
2356
|
-
color: t =
|
|
2458
|
+
color: t = m.GREY_DARK_2,
|
|
2357
2459
|
className: s,
|
|
2358
2460
|
onClick: n
|
|
2359
2461
|
}) => /* @__PURE__ */ r(
|
|
@@ -2384,189 +2486,197 @@ const j2 = ({
|
|
|
2384
2486
|
color: s,
|
|
2385
2487
|
className: n,
|
|
2386
2488
|
disabled: o = !1,
|
|
2387
|
-
onClick:
|
|
2489
|
+
onClick: c
|
|
2388
2490
|
}) => {
|
|
2389
|
-
const [a, C] = I(n), { theme: d } = Q(e2), l = o ? d && d === "dark" ?
|
|
2491
|
+
const [a, C] = I(n), { theme: d } = Q(e2), l = o ? d && d === "dark" ? m.GREY_LIGHT_4 : m.GREY_DARK_1 : s, h = o ? void 0 : c;
|
|
2390
2492
|
return A(() => {
|
|
2391
2493
|
if (n) {
|
|
2392
|
-
|
|
2494
|
+
h && !o && C(`${n} clickable`);
|
|
2393
2495
|
return;
|
|
2394
2496
|
}
|
|
2395
|
-
|
|
2396
|
-
}, [
|
|
2497
|
+
h && !o && C("clickable");
|
|
2498
|
+
}, [h, n, o]), /* @__PURE__ */ r(W, { children: (() => {
|
|
2397
2499
|
switch (i) {
|
|
2398
2500
|
case "nextIcon":
|
|
2399
|
-
return
|
|
2501
|
+
return x5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2400
2502
|
case "prevIcon":
|
|
2401
|
-
return
|
|
2503
|
+
return _5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2402
2504
|
case "arrowDown":
|
|
2403
|
-
return j2({ width: e, height: t, color: l, className: a, onClick:
|
|
2505
|
+
return j2({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2404
2506
|
case "info":
|
|
2405
|
-
return $2({ width: e, height: t, color: l, className: a, onClick:
|
|
2507
|
+
return $2({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2406
2508
|
case "arrowRight":
|
|
2407
|
-
return F2({ width: e, height: t, color: l, className: a, onClick:
|
|
2509
|
+
return F2({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2408
2510
|
case "calendar":
|
|
2409
|
-
return
|
|
2511
|
+
return Q2({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2410
2512
|
case "check":
|
|
2411
|
-
return
|
|
2513
|
+
return q2({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2412
2514
|
case "cancel":
|
|
2413
|
-
return
|
|
2515
|
+
return X2({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2414
2516
|
case "add":
|
|
2415
|
-
return
|
|
2517
|
+
return e5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2416
2518
|
case "list":
|
|
2417
|
-
return
|
|
2519
|
+
return t5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2418
2520
|
case "dragAndDrop":
|
|
2419
|
-
return
|
|
2521
|
+
return i5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2420
2522
|
case "filter":
|
|
2421
|
-
return
|
|
2523
|
+
return s5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2422
2524
|
case "attention":
|
|
2423
|
-
return
|
|
2525
|
+
return n5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2424
2526
|
case "users":
|
|
2425
|
-
return
|
|
2527
|
+
return r5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2426
2528
|
case "mySkillsMatrix":
|
|
2427
|
-
return
|
|
2529
|
+
return o5({
|
|
2428
2530
|
width: e,
|
|
2429
2531
|
height: t,
|
|
2430
2532
|
color: l,
|
|
2431
2533
|
className: a,
|
|
2432
|
-
onClick:
|
|
2534
|
+
onClick: h
|
|
2433
2535
|
});
|
|
2434
2536
|
case "skills":
|
|
2435
|
-
return
|
|
2537
|
+
return a5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2436
2538
|
case "skillsMatrices":
|
|
2437
|
-
return
|
|
2539
|
+
return l5({
|
|
2438
2540
|
width: e,
|
|
2439
2541
|
height: t,
|
|
2440
2542
|
color: l,
|
|
2441
2543
|
className: a,
|
|
2442
|
-
onClick:
|
|
2544
|
+
onClick: h
|
|
2443
2545
|
});
|
|
2444
2546
|
case "history":
|
|
2445
|
-
return
|
|
2547
|
+
return h5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2446
2548
|
case "logOut":
|
|
2447
|
-
return
|
|
2549
|
+
return c5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2448
2550
|
case "settings":
|
|
2449
|
-
return
|
|
2551
|
+
return d5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2450
2552
|
case "trash":
|
|
2451
|
-
return
|
|
2553
|
+
return C5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2452
2554
|
case "settings2":
|
|
2453
|
-
return
|
|
2555
|
+
return g5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2454
2556
|
case "checkCircle":
|
|
2455
|
-
return
|
|
2557
|
+
return u5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2456
2558
|
case "cancelCircle":
|
|
2457
|
-
return
|
|
2559
|
+
return p5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2458
2560
|
case "visibilityIcon":
|
|
2459
|
-
return
|
|
2561
|
+
return f5({
|
|
2460
2562
|
width: e,
|
|
2461
2563
|
height: t,
|
|
2462
2564
|
color: l,
|
|
2463
2565
|
className: a,
|
|
2464
|
-
onClick:
|
|
2566
|
+
onClick: h
|
|
2465
2567
|
});
|
|
2466
2568
|
case "visibilityOffIcon":
|
|
2467
|
-
return
|
|
2569
|
+
return m5({
|
|
2468
2570
|
width: e,
|
|
2469
2571
|
height: t,
|
|
2470
2572
|
color: l,
|
|
2471
2573
|
className: a,
|
|
2472
|
-
onClick:
|
|
2574
|
+
onClick: h
|
|
2473
2575
|
});
|
|
2474
2576
|
case "selectArrowIcon":
|
|
2475
|
-
return
|
|
2577
|
+
return w5({
|
|
2476
2578
|
width: e,
|
|
2477
2579
|
height: t,
|
|
2478
2580
|
color: l,
|
|
2479
2581
|
className: a,
|
|
2480
|
-
onClick:
|
|
2582
|
+
onClick: h
|
|
2481
2583
|
});
|
|
2482
2584
|
case "expandArrowIcon":
|
|
2483
|
-
return
|
|
2585
|
+
return L5({
|
|
2484
2586
|
width: e,
|
|
2485
2587
|
height: t,
|
|
2486
2588
|
color: l,
|
|
2487
2589
|
className: a,
|
|
2488
|
-
onClick:
|
|
2590
|
+
onClick: h
|
|
2489
2591
|
});
|
|
2490
2592
|
case "expandActiveArrowIcon":
|
|
2491
|
-
return
|
|
2593
|
+
return k5({
|
|
2492
2594
|
width: e,
|
|
2493
2595
|
height: t,
|
|
2494
2596
|
color: l,
|
|
2495
2597
|
className: a,
|
|
2496
|
-
onClick:
|
|
2598
|
+
onClick: h
|
|
2497
2599
|
});
|
|
2498
2600
|
case "sortUp":
|
|
2499
|
-
return
|
|
2601
|
+
return v5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2500
2602
|
case "sortDown":
|
|
2501
|
-
return
|
|
2603
|
+
return N5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2502
2604
|
case "search":
|
|
2503
|
-
return
|
|
2605
|
+
return R5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2504
2606
|
case "arrowUpFilled":
|
|
2505
|
-
return
|
|
2607
|
+
return b5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2506
2608
|
case "arrowDownFilled":
|
|
2507
|
-
return
|
|
2609
|
+
return M5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2610
|
+
case "arrow2Up":
|
|
2611
|
+
return W2({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2612
|
+
case "arrow2Right":
|
|
2613
|
+
return U2({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2614
|
+
case "arrow2Down":
|
|
2615
|
+
return z2({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2616
|
+
case "arrow2Left":
|
|
2617
|
+
return J2({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2508
2618
|
case "link":
|
|
2509
|
-
return
|
|
2619
|
+
return y5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2510
2620
|
case "telegram":
|
|
2511
|
-
return
|
|
2621
|
+
return E5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2512
2622
|
case "mail":
|
|
2513
|
-
return
|
|
2623
|
+
return I5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2514
2624
|
case "github":
|
|
2515
|
-
return
|
|
2625
|
+
return H5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2516
2626
|
case "linkedIn":
|
|
2517
|
-
return
|
|
2627
|
+
return V5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2518
2628
|
case "emptyStateIcon":
|
|
2519
|
-
return
|
|
2629
|
+
return A5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2520
2630
|
case "filtersIcon":
|
|
2521
|
-
return
|
|
2631
|
+
return Z5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2522
2632
|
case "dotMenuIcon":
|
|
2523
|
-
return
|
|
2633
|
+
return O5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2524
2634
|
case "plusCircle":
|
|
2525
|
-
return
|
|
2635
|
+
return S5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2526
2636
|
case "warning":
|
|
2527
|
-
return
|
|
2637
|
+
return D5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2528
2638
|
case "back":
|
|
2529
|
-
return
|
|
2639
|
+
return G5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2530
2640
|
case "bell":
|
|
2531
|
-
return
|
|
2641
|
+
return T5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2532
2642
|
case "copy":
|
|
2533
|
-
return
|
|
2643
|
+
return K5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2534
2644
|
case "contract":
|
|
2535
|
-
return
|
|
2645
|
+
return B5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2536
2646
|
case "resourceManager":
|
|
2537
|
-
return
|
|
2647
|
+
return P5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2538
2648
|
case "image":
|
|
2539
|
-
return
|
|
2649
|
+
return Y5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2540
2650
|
case "edit":
|
|
2541
|
-
return
|
|
2651
|
+
return j5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2542
2652
|
case "filledArrowRight":
|
|
2543
|
-
return
|
|
2653
|
+
return $5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2544
2654
|
case "burgerMenu":
|
|
2545
|
-
return
|
|
2655
|
+
return F5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2546
2656
|
case "refresh":
|
|
2547
|
-
return
|
|
2657
|
+
return W5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2548
2658
|
case "projects":
|
|
2549
|
-
return
|
|
2659
|
+
return U5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2550
2660
|
case "user":
|
|
2551
|
-
return
|
|
2661
|
+
return J5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2552
2662
|
case "exit":
|
|
2553
|
-
return
|
|
2663
|
+
return z5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2554
2664
|
case "openPointCircle":
|
|
2555
|
-
return
|
|
2665
|
+
return Q5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2556
2666
|
case "community":
|
|
2557
|
-
return
|
|
2667
|
+
return q5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2558
2668
|
case "docs":
|
|
2559
|
-
return
|
|
2669
|
+
return X5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2560
2670
|
default:
|
|
2561
2671
|
return /* @__PURE__ */ r(W, { children: "No Icon provided" });
|
|
2562
2672
|
}
|
|
2563
2673
|
})() });
|
|
2564
|
-
}, { Title:
|
|
2674
|
+
}, { Title: ee, Text: te } = J1, ie = {
|
|
2565
2675
|
h1: 1,
|
|
2566
2676
|
h2: 2,
|
|
2567
2677
|
h3: 3,
|
|
2568
2678
|
h4: 4
|
|
2569
|
-
},
|
|
2679
|
+
}, se = w1(
|
|
2570
2680
|
({
|
|
2571
2681
|
align: i = "inherit",
|
|
2572
2682
|
variant: e = "body1",
|
|
@@ -2574,31 +2684,31 @@ const j2 = ({
|
|
|
2574
2684
|
children: s,
|
|
2575
2685
|
onClick: n,
|
|
2576
2686
|
collapsed: o,
|
|
2577
|
-
whiteSpace:
|
|
2687
|
+
whiteSpace: c = "normal",
|
|
2578
2688
|
/** This prop allows you to enable tooltip if text size is too big */
|
|
2579
2689
|
trim: a = !1
|
|
2580
2690
|
}, C) => {
|
|
2581
2691
|
const d = J(null);
|
|
2582
2692
|
Q1(C, () => d.current);
|
|
2583
|
-
const [l,
|
|
2693
|
+
const [l, h] = I(!1);
|
|
2584
2694
|
A(() => {
|
|
2585
2695
|
var N;
|
|
2586
2696
|
if (!a) return;
|
|
2587
|
-
const
|
|
2588
|
-
d.current &&
|
|
2697
|
+
const L = () => {
|
|
2698
|
+
d.current && h(d.current.scrollWidth > d.current.clientWidth);
|
|
2589
2699
|
};
|
|
2590
|
-
|
|
2591
|
-
const y = new ResizeObserver(
|
|
2700
|
+
L();
|
|
2701
|
+
const y = new ResizeObserver(L);
|
|
2592
2702
|
return d.current && y.observe(d.current), (N = d.current) != null && N.parentElement && y.observe(d.current.parentElement), () => {
|
|
2593
2703
|
y.disconnect();
|
|
2594
2704
|
};
|
|
2595
2705
|
}, [a]);
|
|
2596
2706
|
const g = e === "h1" || e === "h2" || e === "h3" || e === "h4";
|
|
2597
|
-
let
|
|
2598
|
-
i && i !== "inherit" && (
|
|
2707
|
+
let p = `snmt-typography snmt-typography-${e}`;
|
|
2708
|
+
i && i !== "inherit" && (p += ` snmt-typography-align-${i}`), o && (p += " collapsed");
|
|
2599
2709
|
const k = {
|
|
2600
|
-
className:
|
|
2601
|
-
style: { color: t, whiteSpace: a ? "nowrap" :
|
|
2710
|
+
className: p,
|
|
2711
|
+
style: { color: t, whiteSpace: a ? "nowrap" : c, display: a ? "block" : "" },
|
|
2602
2712
|
onClick: n,
|
|
2603
2713
|
ref: d,
|
|
2604
2714
|
ellipsis: a && l ? {
|
|
@@ -2608,16 +2718,16 @@ const j2 = ({
|
|
|
2608
2718
|
}
|
|
2609
2719
|
} : void 0
|
|
2610
2720
|
};
|
|
2611
|
-
return g ? /* @__PURE__ */ r(
|
|
2721
|
+
return g ? /* @__PURE__ */ r(ee, { level: ie[e], ...k, children: s }) : /* @__PURE__ */ r(te, { ...k, children: s });
|
|
2612
2722
|
}
|
|
2613
2723
|
);
|
|
2614
|
-
var
|
|
2724
|
+
var w = /* @__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))(w || {});
|
|
2615
2725
|
const t2 = t1({
|
|
2616
2726
|
locale: "en",
|
|
2617
2727
|
theme: "light"
|
|
2618
2728
|
});
|
|
2619
2729
|
t2.Provider;
|
|
2620
|
-
const
|
|
2730
|
+
const ne = ({
|
|
2621
2731
|
width: i = 20,
|
|
2622
2732
|
height: e = 20,
|
|
2623
2733
|
color: t = "#001E52",
|
|
@@ -2644,10 +2754,10 @@ const ee = ({
|
|
|
2644
2754
|
}
|
|
2645
2755
|
)
|
|
2646
2756
|
}
|
|
2647
|
-
),
|
|
2757
|
+
), re = ({
|
|
2648
2758
|
width: i = 20,
|
|
2649
2759
|
height: e = 20,
|
|
2650
|
-
color: t =
|
|
2760
|
+
color: t = w.GREY_DARK_5,
|
|
2651
2761
|
className: s,
|
|
2652
2762
|
onClick: n
|
|
2653
2763
|
}) => /* @__PURE__ */ u(
|
|
@@ -2684,7 +2794,7 @@ const ee = ({
|
|
|
2684
2794
|
)
|
|
2685
2795
|
]
|
|
2686
2796
|
}
|
|
2687
|
-
),
|
|
2797
|
+
), oe = ({
|
|
2688
2798
|
width: i = 20,
|
|
2689
2799
|
height: e = 20,
|
|
2690
2800
|
color: t = "#001E52",
|
|
@@ -2719,10 +2829,112 @@ const ee = ({
|
|
|
2719
2829
|
)
|
|
2720
2830
|
]
|
|
2721
2831
|
}
|
|
2722
|
-
),
|
|
2832
|
+
), ae = ({
|
|
2833
|
+
width: i = 20,
|
|
2834
|
+
height: e = 20,
|
|
2835
|
+
color: t = w.GREY_DARK_5,
|
|
2836
|
+
className: s,
|
|
2837
|
+
onClick: n
|
|
2838
|
+
}) => /* @__PURE__ */ u(
|
|
2839
|
+
"svg",
|
|
2840
|
+
{
|
|
2841
|
+
width: i,
|
|
2842
|
+
height: e,
|
|
2843
|
+
className: s,
|
|
2844
|
+
onClick: n,
|
|
2845
|
+
viewBox: "0 0 25 25",
|
|
2846
|
+
fill: "none",
|
|
2847
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2848
|
+
children: [
|
|
2849
|
+
/* @__PURE__ */ r("g", { "clip-path": "url(#clip0_1_2043)", children: /* @__PURE__ */ r(
|
|
2850
|
+
"path",
|
|
2851
|
+
{
|
|
2852
|
+
d: "M5.96967 14.9697C5.67678 15.2626 5.67678 15.7373 5.96967 16.0302C6.26256 16.3231 6.73732 16.3231 7.03022 16.0302L12.4999 10.5605L17.9697 16.0302L18.0263 16.082C18.3209 16.3223 18.7556 16.3048 19.0302 16.0302C19.3048 15.7556 19.3223 15.3209 19.082 15.0263L19.0302 14.9697L13.0302 8.96967C12.7373 8.67678 12.2626 8.67678 11.9697 8.96967L5.96967 14.9697Z",
|
|
2853
|
+
fill: t
|
|
2854
|
+
}
|
|
2855
|
+
) }),
|
|
2856
|
+
/* @__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
|
+
]
|
|
2858
|
+
}
|
|
2859
|
+
), le = ({
|
|
2860
|
+
width: i = 20,
|
|
2861
|
+
height: e = 20,
|
|
2862
|
+
color: t = w.GREY_DARK_5,
|
|
2863
|
+
className: s,
|
|
2864
|
+
onClick: n
|
|
2865
|
+
}) => /* @__PURE__ */ r(
|
|
2866
|
+
"svg",
|
|
2867
|
+
{
|
|
2868
|
+
width: i,
|
|
2869
|
+
height: e,
|
|
2870
|
+
className: s,
|
|
2871
|
+
onClick: n,
|
|
2872
|
+
viewBox: "0 0 25 25",
|
|
2873
|
+
fill: "none",
|
|
2874
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2875
|
+
children: /* @__PURE__ */ r(
|
|
2876
|
+
"path",
|
|
2877
|
+
{
|
|
2878
|
+
d: "M10.0303 5.96967C9.73744 5.67678 9.26268 5.67678 8.96978 5.96967C8.67689 6.26256 8.67689 6.73732 8.96978 7.03022L14.4395 12.4999L8.96978 17.9697L8.91803 18.0263C8.67772 18.3209 8.69518 18.7556 8.96978 19.0302C9.24439 19.3048 9.67911 19.3223 9.97369 19.082L10.0303 19.0302L16.0303 13.0302C16.3232 12.7373 16.3232 12.2626 16.0303 11.9697L10.0303 5.96967Z",
|
|
2879
|
+
fill: t
|
|
2880
|
+
}
|
|
2881
|
+
)
|
|
2882
|
+
}
|
|
2883
|
+
), he = ({
|
|
2884
|
+
width: i = 20,
|
|
2885
|
+
height: e = 20,
|
|
2886
|
+
color: t = w.GREY_DARK_5,
|
|
2887
|
+
className: s,
|
|
2888
|
+
onClick: n
|
|
2889
|
+
}) => /* @__PURE__ */ u(
|
|
2890
|
+
"svg",
|
|
2891
|
+
{
|
|
2892
|
+
width: i,
|
|
2893
|
+
height: e,
|
|
2894
|
+
className: s,
|
|
2895
|
+
onClick: n,
|
|
2896
|
+
viewBox: "0 0 25 25",
|
|
2897
|
+
fill: "none",
|
|
2898
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2899
|
+
children: [
|
|
2900
|
+
/* @__PURE__ */ r("g", { "clip-path": "url(#clip0_1_2039)", children: /* @__PURE__ */ r(
|
|
2901
|
+
"path",
|
|
2902
|
+
{
|
|
2903
|
+
d: "M5.96967 10.0303C5.67678 9.73744 5.67678 9.26268 5.96967 8.96978C6.26256 8.67689 6.73732 8.67689 7.03022 8.96978L12.4999 14.4395L17.9697 8.96978L18.0263 8.91803C18.3209 8.67772 18.7556 8.69518 19.0302 8.96978C19.3048 9.24439 19.3223 9.67911 19.082 9.97369L19.0302 10.0303L13.0302 16.0303C12.7373 16.3232 12.2626 16.3232 11.9697 16.0303L5.96967 10.0303Z",
|
|
2904
|
+
fill: t
|
|
2905
|
+
}
|
|
2906
|
+
) }),
|
|
2907
|
+
/* @__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
|
+
]
|
|
2909
|
+
}
|
|
2910
|
+
), ce = ({
|
|
2723
2911
|
width: i = 20,
|
|
2724
2912
|
height: e = 20,
|
|
2725
|
-
color: t =
|
|
2913
|
+
color: t = w.GREY_DARK_5,
|
|
2914
|
+
className: s,
|
|
2915
|
+
onClick: n
|
|
2916
|
+
}) => /* @__PURE__ */ r(
|
|
2917
|
+
"svg",
|
|
2918
|
+
{
|
|
2919
|
+
width: i,
|
|
2920
|
+
height: e,
|
|
2921
|
+
className: s,
|
|
2922
|
+
onClick: n,
|
|
2923
|
+
viewBox: "0 0 25 25",
|
|
2924
|
+
fill: "none",
|
|
2925
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2926
|
+
children: /* @__PURE__ */ r(
|
|
2927
|
+
"path",
|
|
2928
|
+
{
|
|
2929
|
+
d: "M14.9697 5.96967C15.2626 5.67678 15.7373 5.67678 16.0302 5.96967C16.3231 6.26256 16.3231 6.73732 16.0302 7.03022L10.5605 12.4999L16.0302 17.9697L16.082 18.0263C16.3223 18.3209 16.3048 18.7556 16.0302 19.0302C15.7556 19.3048 15.3209 19.3223 15.0263 19.082L14.9697 19.0302L8.96967 13.0302C8.67678 12.7373 8.67678 12.2626 8.96967 11.9697L14.9697 5.96967Z",
|
|
2930
|
+
fill: t
|
|
2931
|
+
}
|
|
2932
|
+
)
|
|
2933
|
+
}
|
|
2934
|
+
), de = ({
|
|
2935
|
+
width: i = 20,
|
|
2936
|
+
height: e = 20,
|
|
2937
|
+
color: t = w.GREY_DARK_5,
|
|
2726
2938
|
className: s,
|
|
2727
2939
|
onClick: n
|
|
2728
2940
|
}) => /* @__PURE__ */ u(
|
|
@@ -2766,10 +2978,10 @@ const ee = ({
|
|
|
2766
2978
|
)
|
|
2767
2979
|
]
|
|
2768
2980
|
}
|
|
2769
|
-
),
|
|
2981
|
+
), Ce = ({
|
|
2770
2982
|
width: i = 20,
|
|
2771
2983
|
height: e = 20,
|
|
2772
|
-
color: t =
|
|
2984
|
+
color: t = w.GREY_DARK_5,
|
|
2773
2985
|
className: s,
|
|
2774
2986
|
onClick: n
|
|
2775
2987
|
}) => /* @__PURE__ */ r(
|
|
@@ -2790,10 +3002,10 @@ const ee = ({
|
|
|
2790
3002
|
}
|
|
2791
3003
|
)
|
|
2792
3004
|
}
|
|
2793
|
-
),
|
|
3005
|
+
), ge = ({
|
|
2794
3006
|
width: i = 20,
|
|
2795
3007
|
height: e = 20,
|
|
2796
|
-
color: t =
|
|
3008
|
+
color: t = w.GREY_DARK_5,
|
|
2797
3009
|
className: s,
|
|
2798
3010
|
onClick: n
|
|
2799
3011
|
}) => /* @__PURE__ */ r(
|
|
@@ -2814,10 +3026,10 @@ const ee = ({
|
|
|
2814
3026
|
}
|
|
2815
3027
|
)
|
|
2816
3028
|
}
|
|
2817
|
-
),
|
|
3029
|
+
), ue = ({
|
|
2818
3030
|
width: i = 20,
|
|
2819
3031
|
height: e = 20,
|
|
2820
|
-
color: t =
|
|
3032
|
+
color: t = w.GREY_DARK_5,
|
|
2821
3033
|
className: s,
|
|
2822
3034
|
onClick: n
|
|
2823
3035
|
}) => /* @__PURE__ */ r(
|
|
@@ -2838,10 +3050,10 @@ const ee = ({
|
|
|
2838
3050
|
}
|
|
2839
3051
|
)
|
|
2840
3052
|
}
|
|
2841
|
-
),
|
|
3053
|
+
), pe = ({
|
|
2842
3054
|
width: i = 20,
|
|
2843
3055
|
height: e = 20,
|
|
2844
|
-
color: t =
|
|
3056
|
+
color: t = w.GREY_DARK_5,
|
|
2845
3057
|
className: s,
|
|
2846
3058
|
onClick: n
|
|
2847
3059
|
}) => /* @__PURE__ */ u(
|
|
@@ -2899,10 +3111,10 @@ const ee = ({
|
|
|
2899
3111
|
)
|
|
2900
3112
|
]
|
|
2901
3113
|
}
|
|
2902
|
-
),
|
|
3114
|
+
), fe = ({
|
|
2903
3115
|
width: i = 20,
|
|
2904
3116
|
height: e = 20,
|
|
2905
|
-
color: t =
|
|
3117
|
+
color: t = w.GREY_DARK_5,
|
|
2906
3118
|
className: s,
|
|
2907
3119
|
onClick: n
|
|
2908
3120
|
}) => /* @__PURE__ */ u(
|
|
@@ -2946,10 +3158,10 @@ const ee = ({
|
|
|
2946
3158
|
)
|
|
2947
3159
|
]
|
|
2948
3160
|
}
|
|
2949
|
-
),
|
|
3161
|
+
), me = ({
|
|
2950
3162
|
width: i = 20,
|
|
2951
3163
|
height: e = 20,
|
|
2952
|
-
color: t =
|
|
3164
|
+
color: t = w.GREY_DARK_5,
|
|
2953
3165
|
className: s,
|
|
2954
3166
|
onClick: n
|
|
2955
3167
|
}) => /* @__PURE__ */ u(
|
|
@@ -2986,10 +3198,10 @@ const ee = ({
|
|
|
2986
3198
|
)
|
|
2987
3199
|
]
|
|
2988
3200
|
}
|
|
2989
|
-
),
|
|
3201
|
+
), we = ({
|
|
2990
3202
|
width: i = 20,
|
|
2991
3203
|
height: e = 20,
|
|
2992
|
-
color: t =
|
|
3204
|
+
color: t = w.GREY_DARK_5,
|
|
2993
3205
|
className: s,
|
|
2994
3206
|
onClick: n
|
|
2995
3207
|
}) => /* @__PURE__ */ u(
|
|
@@ -3026,10 +3238,10 @@ const ee = ({
|
|
|
3026
3238
|
)
|
|
3027
3239
|
]
|
|
3028
3240
|
}
|
|
3029
|
-
),
|
|
3241
|
+
), Le = ({
|
|
3030
3242
|
width: i = 20,
|
|
3031
3243
|
height: e = 20,
|
|
3032
|
-
color: t =
|
|
3244
|
+
color: t = w.GREY_DARK_5,
|
|
3033
3245
|
className: s,
|
|
3034
3246
|
onClick: n
|
|
3035
3247
|
}) => /* @__PURE__ */ u(
|
|
@@ -3073,10 +3285,10 @@ const ee = ({
|
|
|
3073
3285
|
)
|
|
3074
3286
|
]
|
|
3075
3287
|
}
|
|
3076
|
-
),
|
|
3288
|
+
), ke = ({
|
|
3077
3289
|
width: i = 20,
|
|
3078
3290
|
height: e = 20,
|
|
3079
|
-
color: t =
|
|
3291
|
+
color: t = w.GREY_DARK_5,
|
|
3080
3292
|
className: s,
|
|
3081
3293
|
onClick: n
|
|
3082
3294
|
}) => /* @__PURE__ */ u(
|
|
@@ -3120,10 +3332,10 @@ const ee = ({
|
|
|
3120
3332
|
)
|
|
3121
3333
|
]
|
|
3122
3334
|
}
|
|
3123
|
-
),
|
|
3335
|
+
), ve = ({
|
|
3124
3336
|
width: i = 20,
|
|
3125
3337
|
height: e = 20,
|
|
3126
|
-
color: t =
|
|
3338
|
+
color: t = w.GREY_DARK_5,
|
|
3127
3339
|
className: s,
|
|
3128
3340
|
onClick: n
|
|
3129
3341
|
}) => /* @__PURE__ */ u(
|
|
@@ -3167,10 +3379,10 @@ const ee = ({
|
|
|
3167
3379
|
)
|
|
3168
3380
|
]
|
|
3169
3381
|
}
|
|
3170
|
-
),
|
|
3382
|
+
), Ne = ({
|
|
3171
3383
|
width: i = 20,
|
|
3172
3384
|
height: e = 20,
|
|
3173
|
-
color: t =
|
|
3385
|
+
color: t = w.GREY_DARK_5,
|
|
3174
3386
|
className: s,
|
|
3175
3387
|
onClick: n
|
|
3176
3388
|
}) => /* @__PURE__ */ u(
|
|
@@ -3207,10 +3419,10 @@ const ee = ({
|
|
|
3207
3419
|
)
|
|
3208
3420
|
]
|
|
3209
3421
|
}
|
|
3210
|
-
),
|
|
3422
|
+
), Re = ({
|
|
3211
3423
|
width: i = 20,
|
|
3212
3424
|
height: e = 20,
|
|
3213
|
-
color: t =
|
|
3425
|
+
color: t = w.GREY_DARK_5,
|
|
3214
3426
|
className: s,
|
|
3215
3427
|
onClick: n
|
|
3216
3428
|
}) => /* @__PURE__ */ u(
|
|
@@ -3240,10 +3452,10 @@ const ee = ({
|
|
|
3240
3452
|
)
|
|
3241
3453
|
]
|
|
3242
3454
|
}
|
|
3243
|
-
),
|
|
3455
|
+
), xe = ({
|
|
3244
3456
|
width: i = 20,
|
|
3245
3457
|
height: e = 20,
|
|
3246
|
-
color: t =
|
|
3458
|
+
color: t = w.GREY_DARK_5,
|
|
3247
3459
|
className: s,
|
|
3248
3460
|
onClick: n
|
|
3249
3461
|
}) => /* @__PURE__ */ u(
|
|
@@ -3273,10 +3485,10 @@ const ee = ({
|
|
|
3273
3485
|
)
|
|
3274
3486
|
]
|
|
3275
3487
|
}
|
|
3276
|
-
),
|
|
3488
|
+
), _e = ({
|
|
3277
3489
|
width: i = 20,
|
|
3278
3490
|
height: e = 20,
|
|
3279
|
-
color: t =
|
|
3491
|
+
color: t = w.GREY_DARK_5,
|
|
3280
3492
|
className: s,
|
|
3281
3493
|
onClick: n
|
|
3282
3494
|
}) => /* @__PURE__ */ u(
|
|
@@ -3306,10 +3518,10 @@ const ee = ({
|
|
|
3306
3518
|
)
|
|
3307
3519
|
]
|
|
3308
3520
|
}
|
|
3309
|
-
),
|
|
3521
|
+
), Me = ({
|
|
3310
3522
|
width: i = 20,
|
|
3311
3523
|
height: e = 20,
|
|
3312
|
-
color: t =
|
|
3524
|
+
color: t = w.GREY_DARK_5,
|
|
3313
3525
|
className: s,
|
|
3314
3526
|
onClick: n
|
|
3315
3527
|
}) => /* @__PURE__ */ u(
|
|
@@ -3339,10 +3551,10 @@ const ee = ({
|
|
|
3339
3551
|
)
|
|
3340
3552
|
]
|
|
3341
3553
|
}
|
|
3342
|
-
),
|
|
3554
|
+
), be = ({
|
|
3343
3555
|
width: i = 20,
|
|
3344
3556
|
height: e = 20,
|
|
3345
|
-
color: t =
|
|
3557
|
+
color: t = w.GREY_DARK_5,
|
|
3346
3558
|
className: s,
|
|
3347
3559
|
onClick: n
|
|
3348
3560
|
}) => /* @__PURE__ */ u(
|
|
@@ -3379,10 +3591,10 @@ const ee = ({
|
|
|
3379
3591
|
)
|
|
3380
3592
|
]
|
|
3381
3593
|
}
|
|
3382
|
-
),
|
|
3594
|
+
), ye = ({
|
|
3383
3595
|
width: i = 20,
|
|
3384
3596
|
height: e = 20,
|
|
3385
|
-
color: t =
|
|
3597
|
+
color: t = w.GREY_DARK_5,
|
|
3386
3598
|
className: s,
|
|
3387
3599
|
onClick: n
|
|
3388
3600
|
}) => /* @__PURE__ */ u(
|
|
@@ -3412,10 +3624,10 @@ const ee = ({
|
|
|
3412
3624
|
)
|
|
3413
3625
|
]
|
|
3414
3626
|
}
|
|
3415
|
-
),
|
|
3627
|
+
), He = ({
|
|
3416
3628
|
width: i = 20,
|
|
3417
3629
|
height: e = 20,
|
|
3418
|
-
color: t =
|
|
3630
|
+
color: t = w.GREY_DARK_5,
|
|
3419
3631
|
className: s,
|
|
3420
3632
|
onClick: n
|
|
3421
3633
|
}) => /* @__PURE__ */ u(
|
|
@@ -3445,7 +3657,7 @@ const ee = ({
|
|
|
3445
3657
|
)
|
|
3446
3658
|
]
|
|
3447
3659
|
}
|
|
3448
|
-
),
|
|
3660
|
+
), Ee = ({
|
|
3449
3661
|
width: i = 20,
|
|
3450
3662
|
height: e = 20,
|
|
3451
3663
|
color: t = "#070739",
|
|
@@ -3475,7 +3687,7 @@ const ee = ({
|
|
|
3475
3687
|
/* @__PURE__ */ r("circle", { cx: "10", cy: "10", r: "2.375", stroke: t, strokeWidth: "1.25" })
|
|
3476
3688
|
]
|
|
3477
3689
|
}
|
|
3478
|
-
),
|
|
3690
|
+
), Ve = ({
|
|
3479
3691
|
width: i = 20,
|
|
3480
3692
|
height: e = 20,
|
|
3481
3693
|
color: t = "#070739",
|
|
@@ -3513,7 +3725,7 @@ const ee = ({
|
|
|
3513
3725
|
)
|
|
3514
3726
|
]
|
|
3515
3727
|
}
|
|
3516
|
-
),
|
|
3728
|
+
), Ie = ({
|
|
3517
3729
|
width: i = 9,
|
|
3518
3730
|
height: e = 5,
|
|
3519
3731
|
color: t = "#001E52",
|
|
@@ -3539,7 +3751,7 @@ const ee = ({
|
|
|
3539
3751
|
}
|
|
3540
3752
|
)
|
|
3541
3753
|
}
|
|
3542
|
-
),
|
|
3754
|
+
), Ae = ({
|
|
3543
3755
|
width: i = 20,
|
|
3544
3756
|
height: e = 20,
|
|
3545
3757
|
color: t = "#F2F2F7",
|
|
@@ -3568,7 +3780,7 @@ const ee = ({
|
|
|
3568
3780
|
)
|
|
3569
3781
|
]
|
|
3570
3782
|
}
|
|
3571
|
-
),
|
|
3783
|
+
), Ze = ({
|
|
3572
3784
|
width: i = 20,
|
|
3573
3785
|
height: e = 20,
|
|
3574
3786
|
color: t = "#004ED7",
|
|
@@ -3597,7 +3809,7 @@ const ee = ({
|
|
|
3597
3809
|
)
|
|
3598
3810
|
]
|
|
3599
3811
|
}
|
|
3600
|
-
),
|
|
3812
|
+
), Oe = ({
|
|
3601
3813
|
width: i = 10,
|
|
3602
3814
|
height: e = 10,
|
|
3603
3815
|
color: t = "#001E52",
|
|
@@ -3626,7 +3838,7 @@ const ee = ({
|
|
|
3626
3838
|
)
|
|
3627
3839
|
]
|
|
3628
3840
|
}
|
|
3629
|
-
),
|
|
3841
|
+
), Se = ({
|
|
3630
3842
|
width: i = 10,
|
|
3631
3843
|
height: e = 10,
|
|
3632
3844
|
color: t = "#001E52",
|
|
@@ -3663,9 +3875,9 @@ const ee = ({
|
|
|
3663
3875
|
)
|
|
3664
3876
|
]
|
|
3665
3877
|
}
|
|
3666
|
-
),
|
|
3878
|
+
), De = ({
|
|
3667
3879
|
className: i,
|
|
3668
|
-
color: e =
|
|
3880
|
+
color: e = w.GREY_DARK_5,
|
|
3669
3881
|
height: t = 20,
|
|
3670
3882
|
width: s = 20,
|
|
3671
3883
|
onClick: n
|
|
@@ -3696,9 +3908,9 @@ const ee = ({
|
|
|
3696
3908
|
)
|
|
3697
3909
|
]
|
|
3698
3910
|
}
|
|
3699
|
-
),
|
|
3911
|
+
), Ge = ({
|
|
3700
3912
|
className: i,
|
|
3701
|
-
color: e =
|
|
3913
|
+
color: e = w.GREY_DARK_5,
|
|
3702
3914
|
height: t = 20,
|
|
3703
3915
|
width: s = 20,
|
|
3704
3916
|
onClick: n
|
|
@@ -3723,9 +3935,9 @@ const ee = ({
|
|
|
3723
3935
|
}
|
|
3724
3936
|
)
|
|
3725
3937
|
}
|
|
3726
|
-
),
|
|
3938
|
+
), Te = ({
|
|
3727
3939
|
className: i,
|
|
3728
|
-
color: e =
|
|
3940
|
+
color: e = w.GREY_DARK_5,
|
|
3729
3941
|
height: t = 20,
|
|
3730
3942
|
width: s = 20,
|
|
3731
3943
|
onClick: n
|
|
@@ -3750,9 +3962,9 @@ const ee = ({
|
|
|
3750
3962
|
}
|
|
3751
3963
|
)
|
|
3752
3964
|
}
|
|
3753
|
-
),
|
|
3965
|
+
), Ke = ({
|
|
3754
3966
|
className: i,
|
|
3755
|
-
color: e =
|
|
3967
|
+
color: e = w.GREY_DARK_5,
|
|
3756
3968
|
height: t = 5,
|
|
3757
3969
|
width: s = 10,
|
|
3758
3970
|
onClick: n
|
|
@@ -3774,9 +3986,9 @@ const ee = ({
|
|
|
3774
3986
|
}
|
|
3775
3987
|
)
|
|
3776
3988
|
}
|
|
3777
|
-
),
|
|
3989
|
+
), Be = ({
|
|
3778
3990
|
className: i,
|
|
3779
|
-
color: e =
|
|
3991
|
+
color: e = w.GREY_DARK_5,
|
|
3780
3992
|
height: t = 5,
|
|
3781
3993
|
width: s = 10,
|
|
3782
3994
|
onClick: n
|
|
@@ -3799,9 +4011,9 @@ const ee = ({
|
|
|
3799
4011
|
}
|
|
3800
4012
|
)
|
|
3801
4013
|
}
|
|
3802
|
-
),
|
|
4014
|
+
), Pe = ({
|
|
3803
4015
|
className: i,
|
|
3804
|
-
color: e =
|
|
4016
|
+
color: e = w.GREY_DARK_5,
|
|
3805
4017
|
height: t = 20,
|
|
3806
4018
|
width: s = 20,
|
|
3807
4019
|
onClick: n
|
|
@@ -3832,9 +4044,9 @@ const ee = ({
|
|
|
3832
4044
|
)
|
|
3833
4045
|
]
|
|
3834
4046
|
}
|
|
3835
|
-
),
|
|
4047
|
+
), Ye = ({
|
|
3836
4048
|
className: i,
|
|
3837
|
-
color: e =
|
|
4049
|
+
color: e = w.GREY_DARK_5,
|
|
3838
4050
|
height: t = 24,
|
|
3839
4051
|
width: s = 24,
|
|
3840
4052
|
onClick: n
|
|
@@ -3871,9 +4083,9 @@ const ee = ({
|
|
|
3871
4083
|
)
|
|
3872
4084
|
]
|
|
3873
4085
|
}
|
|
3874
|
-
),
|
|
4086
|
+
), je = ({
|
|
3875
4087
|
className: i,
|
|
3876
|
-
color: e =
|
|
4088
|
+
color: e = w.GREY_DARK_5,
|
|
3877
4089
|
height: t = 24,
|
|
3878
4090
|
width: s = 24,
|
|
3879
4091
|
onClick: n
|
|
@@ -3898,9 +4110,9 @@ const ee = ({
|
|
|
3898
4110
|
}
|
|
3899
4111
|
)
|
|
3900
4112
|
}
|
|
3901
|
-
),
|
|
4113
|
+
), $e = ({
|
|
3902
4114
|
className: i,
|
|
3903
|
-
color: e =
|
|
4115
|
+
color: e = w.GREY_DARK_5,
|
|
3904
4116
|
height: t = 24,
|
|
3905
4117
|
width: s = 24,
|
|
3906
4118
|
onClick: n
|
|
@@ -3957,9 +4169,9 @@ const ee = ({
|
|
|
3957
4169
|
)
|
|
3958
4170
|
]
|
|
3959
4171
|
}
|
|
3960
|
-
),
|
|
4172
|
+
), Fe = ({
|
|
3961
4173
|
className: i,
|
|
3962
|
-
color: e =
|
|
4174
|
+
color: e = w.GREY_DARK_5,
|
|
3963
4175
|
height: t = 24,
|
|
3964
4176
|
width: s = 24,
|
|
3965
4177
|
onClick: n
|
|
@@ -3994,9 +4206,9 @@ const ee = ({
|
|
|
3994
4206
|
)
|
|
3995
4207
|
]
|
|
3996
4208
|
}
|
|
3997
|
-
),
|
|
4209
|
+
), We = ({
|
|
3998
4210
|
className: i,
|
|
3999
|
-
color: e =
|
|
4211
|
+
color: e = w.GREY_DARK_3,
|
|
4000
4212
|
height: t = 14,
|
|
4001
4213
|
width: s = 14,
|
|
4002
4214
|
onClick: n
|
|
@@ -4031,9 +4243,9 @@ const ee = ({
|
|
|
4031
4243
|
)
|
|
4032
4244
|
]
|
|
4033
4245
|
}
|
|
4034
|
-
),
|
|
4246
|
+
), Ue = ({
|
|
4035
4247
|
className: i,
|
|
4036
|
-
color: e =
|
|
4248
|
+
color: e = w.GREY_DARK_5,
|
|
4037
4249
|
height: t = 18,
|
|
4038
4250
|
onClick: s,
|
|
4039
4251
|
width: n = 18
|
|
@@ -4058,9 +4270,9 @@ const ee = ({
|
|
|
4058
4270
|
}
|
|
4059
4271
|
)
|
|
4060
4272
|
}
|
|
4061
|
-
),
|
|
4273
|
+
), ze = ({
|
|
4062
4274
|
className: i,
|
|
4063
|
-
color: e =
|
|
4275
|
+
color: e = w.GREY_DARK_5,
|
|
4064
4276
|
height: t = 24,
|
|
4065
4277
|
width: s = 24,
|
|
4066
4278
|
onClick: n
|
|
@@ -4110,9 +4322,9 @@ const ee = ({
|
|
|
4110
4322
|
)
|
|
4111
4323
|
]
|
|
4112
4324
|
}
|
|
4113
|
-
),
|
|
4325
|
+
), Je = ({
|
|
4114
4326
|
className: i,
|
|
4115
|
-
color: e =
|
|
4327
|
+
color: e = w.GREY_DARK_5,
|
|
4116
4328
|
height: t = 24,
|
|
4117
4329
|
width: s = 24,
|
|
4118
4330
|
onClick: n
|
|
@@ -4147,9 +4359,9 @@ const ee = ({
|
|
|
4147
4359
|
)
|
|
4148
4360
|
]
|
|
4149
4361
|
}
|
|
4150
|
-
),
|
|
4362
|
+
), Qe = ({
|
|
4151
4363
|
className: i,
|
|
4152
|
-
color: e =
|
|
4364
|
+
color: e = w.NOTIFICATION_WARNING_DARK,
|
|
4153
4365
|
height: t = 37,
|
|
4154
4366
|
width: s = 36,
|
|
4155
4367
|
onClick: n
|
|
@@ -4186,9 +4398,9 @@ const ee = ({
|
|
|
4186
4398
|
)
|
|
4187
4399
|
]
|
|
4188
4400
|
}
|
|
4189
|
-
),
|
|
4401
|
+
), qe = ({
|
|
4190
4402
|
className: i,
|
|
4191
|
-
color: e =
|
|
4403
|
+
color: e = w.GREY_DARK_5,
|
|
4192
4404
|
height: t = 24,
|
|
4193
4405
|
width: s = 24,
|
|
4194
4406
|
onClick: n
|
|
@@ -4212,9 +4424,9 @@ const ee = ({
|
|
|
4212
4424
|
}
|
|
4213
4425
|
)
|
|
4214
4426
|
}
|
|
4215
|
-
),
|
|
4427
|
+
), Xe = ({
|
|
4216
4428
|
className: i,
|
|
4217
|
-
color: e =
|
|
4429
|
+
color: e = w.GREY_DARK_5,
|
|
4218
4430
|
height: t = 24,
|
|
4219
4431
|
width: s = 24,
|
|
4220
4432
|
onClick: n
|
|
@@ -4251,9 +4463,9 @@ const ee = ({
|
|
|
4251
4463
|
)
|
|
4252
4464
|
]
|
|
4253
4465
|
}
|
|
4254
|
-
),
|
|
4466
|
+
), e7 = ({
|
|
4255
4467
|
className: i,
|
|
4256
|
-
color: e =
|
|
4468
|
+
color: e = w.GREY_DARK_5,
|
|
4257
4469
|
height: t = 20,
|
|
4258
4470
|
width: s = 20,
|
|
4259
4471
|
onClick: n
|
|
@@ -4284,9 +4496,9 @@ const ee = ({
|
|
|
4284
4496
|
)
|
|
4285
4497
|
]
|
|
4286
4498
|
}
|
|
4287
|
-
),
|
|
4499
|
+
), t7 = ({
|
|
4288
4500
|
className: i,
|
|
4289
|
-
color: e =
|
|
4501
|
+
color: e = w.GREY_DARK_5,
|
|
4290
4502
|
height: t = 24,
|
|
4291
4503
|
width: s = 24,
|
|
4292
4504
|
onClick: n
|
|
@@ -4353,9 +4565,9 @@ const ee = ({
|
|
|
4353
4565
|
)
|
|
4354
4566
|
]
|
|
4355
4567
|
}
|
|
4356
|
-
),
|
|
4568
|
+
), i7 = ({
|
|
4357
4569
|
className: i,
|
|
4358
|
-
color: e =
|
|
4570
|
+
color: e = w.GREY_DARK_5,
|
|
4359
4571
|
height: t = 24,
|
|
4360
4572
|
width: s = 24,
|
|
4361
4573
|
onClick: n
|
|
@@ -4410,9 +4622,9 @@ const ee = ({
|
|
|
4410
4622
|
)
|
|
4411
4623
|
]
|
|
4412
4624
|
}
|
|
4413
|
-
),
|
|
4625
|
+
), s7 = ({
|
|
4414
4626
|
className: i,
|
|
4415
|
-
color: e =
|
|
4627
|
+
color: e = w.GREY_DARK_5,
|
|
4416
4628
|
height: t = 24,
|
|
4417
4629
|
width: s = 24,
|
|
4418
4630
|
onClick: n
|
|
@@ -4459,9 +4671,9 @@ const ee = ({
|
|
|
4459
4671
|
)
|
|
4460
4672
|
]
|
|
4461
4673
|
}
|
|
4462
|
-
),
|
|
4674
|
+
), n7 = ({
|
|
4463
4675
|
className: i,
|
|
4464
|
-
color: e =
|
|
4676
|
+
color: e = w.GREY_DARK_5,
|
|
4465
4677
|
height: t = 24,
|
|
4466
4678
|
width: s = 24,
|
|
4467
4679
|
onClick: n
|
|
@@ -4486,9 +4698,9 @@ const ee = ({
|
|
|
4486
4698
|
}
|
|
4487
4699
|
)
|
|
4488
4700
|
}
|
|
4489
|
-
),
|
|
4701
|
+
), r7 = ({
|
|
4490
4702
|
className: i,
|
|
4491
|
-
color: e =
|
|
4703
|
+
color: e = w.GREY_DARK_5,
|
|
4492
4704
|
height: t = 20,
|
|
4493
4705
|
width: s = 20,
|
|
4494
4706
|
onClick: n
|
|
@@ -4503,7 +4715,7 @@ const ee = ({
|
|
|
4503
4715
|
fill: "none",
|
|
4504
4716
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4505
4717
|
children: [
|
|
4506
|
-
/* @__PURE__ */ r("rect", { width: "20", height: "20", rx: "4", fill:
|
|
4718
|
+
/* @__PURE__ */ r("rect", { width: "20", height: "20", rx: "4", fill: w.GREY_LIGHT_2 }),
|
|
4507
4719
|
/* @__PURE__ */ r(
|
|
4508
4720
|
"path",
|
|
4509
4721
|
{
|
|
@@ -4515,7 +4727,7 @@ const ee = ({
|
|
|
4515
4727
|
)
|
|
4516
4728
|
]
|
|
4517
4729
|
}
|
|
4518
|
-
),
|
|
4730
|
+
), o7 = ({
|
|
4519
4731
|
className: i,
|
|
4520
4732
|
color: e = "#001E52",
|
|
4521
4733
|
height: t = 24,
|
|
@@ -4541,7 +4753,7 @@ const ee = ({
|
|
|
4541
4753
|
}
|
|
4542
4754
|
)
|
|
4543
4755
|
}
|
|
4544
|
-
),
|
|
4756
|
+
), a7 = ({
|
|
4545
4757
|
className: i,
|
|
4546
4758
|
color: e = "#001E52",
|
|
4547
4759
|
height: t = 24,
|
|
@@ -4579,10 +4791,10 @@ const ee = ({
|
|
|
4579
4791
|
)
|
|
4580
4792
|
] }) })
|
|
4581
4793
|
}
|
|
4582
|
-
),
|
|
4794
|
+
), l7 = ({
|
|
4583
4795
|
width: i = 20,
|
|
4584
4796
|
height: e = 20,
|
|
4585
|
-
color: t =
|
|
4797
|
+
color: t = w.GREY_DARK_5,
|
|
4586
4798
|
className: s,
|
|
4587
4799
|
onClick: n
|
|
4588
4800
|
}) => /* @__PURE__ */ r(
|
|
@@ -4603,7 +4815,7 @@ const ee = ({
|
|
|
4603
4815
|
}
|
|
4604
4816
|
)
|
|
4605
4817
|
}
|
|
4606
|
-
),
|
|
4818
|
+
), h7 = ({
|
|
4607
4819
|
width: i = 24,
|
|
4608
4820
|
height: e = 24,
|
|
4609
4821
|
color: t = "#131314",
|
|
@@ -4636,10 +4848,10 @@ const ee = ({
|
|
|
4636
4848
|
)
|
|
4637
4849
|
]
|
|
4638
4850
|
}
|
|
4639
|
-
),
|
|
4851
|
+
), c7 = ({
|
|
4640
4852
|
width: i = 20,
|
|
4641
4853
|
height: e = 20,
|
|
4642
|
-
color: t =
|
|
4854
|
+
color: t = w.GREY_DARK_5,
|
|
4643
4855
|
className: s,
|
|
4644
4856
|
onClick: n
|
|
4645
4857
|
}) => /* @__PURE__ */ u(
|
|
@@ -4669,10 +4881,10 @@ const ee = ({
|
|
|
4669
4881
|
)
|
|
4670
4882
|
]
|
|
4671
4883
|
}
|
|
4672
|
-
),
|
|
4884
|
+
), d7 = ({
|
|
4673
4885
|
width: i = 24,
|
|
4674
4886
|
height: e = 24,
|
|
4675
|
-
color: t =
|
|
4887
|
+
color: t = w.GREY_DARK_2,
|
|
4676
4888
|
className: s,
|
|
4677
4889
|
onClick: n
|
|
4678
4890
|
}) => /* @__PURE__ */ u(
|
|
@@ -4709,10 +4921,10 @@ const ee = ({
|
|
|
4709
4921
|
)
|
|
4710
4922
|
]
|
|
4711
4923
|
}
|
|
4712
|
-
),
|
|
4924
|
+
), C7 = ({
|
|
4713
4925
|
width: i = 24,
|
|
4714
4926
|
height: e = 24,
|
|
4715
|
-
color: t =
|
|
4927
|
+
color: t = w.GREY_DARK_2,
|
|
4716
4928
|
className: s,
|
|
4717
4929
|
onClick: n
|
|
4718
4930
|
}) => /* @__PURE__ */ r(
|
|
@@ -4736,10 +4948,10 @@ const ee = ({
|
|
|
4736
4948
|
}
|
|
4737
4949
|
)
|
|
4738
4950
|
}
|
|
4739
|
-
),
|
|
4951
|
+
), g7 = ({
|
|
4740
4952
|
width: i = 24,
|
|
4741
4953
|
height: e = 24,
|
|
4742
|
-
color: t =
|
|
4954
|
+
color: t = w.GREY_DARK_2,
|
|
4743
4955
|
className: s,
|
|
4744
4956
|
onClick: n
|
|
4745
4957
|
}) => /* @__PURE__ */ r(
|
|
@@ -4763,197 +4975,205 @@ const ee = ({
|
|
|
4763
4975
|
}
|
|
4764
4976
|
)
|
|
4765
4977
|
}
|
|
4766
|
-
),
|
|
4978
|
+
), u7 = ({
|
|
4767
4979
|
name: i,
|
|
4768
4980
|
width: e,
|
|
4769
4981
|
height: t,
|
|
4770
4982
|
color: s,
|
|
4771
4983
|
className: n,
|
|
4772
4984
|
disabled: o = !1,
|
|
4773
|
-
onClick:
|
|
4985
|
+
onClick: c
|
|
4774
4986
|
}) => {
|
|
4775
|
-
const [a, C] = I(n), { theme: d } = Q(t2), l = o ? d && d === "dark" ?
|
|
4987
|
+
const [a, C] = I(n), { theme: d } = Q(t2), l = o ? d && d === "dark" ? w.GREY_LIGHT_4 : w.GREY_DARK_1 : s, h = o ? void 0 : c;
|
|
4776
4988
|
return A(() => {
|
|
4777
4989
|
if (n) {
|
|
4778
|
-
|
|
4990
|
+
h && !o && C(`${n} clickable`);
|
|
4779
4991
|
return;
|
|
4780
4992
|
}
|
|
4781
|
-
|
|
4782
|
-
}, [
|
|
4993
|
+
h && !o && C("clickable");
|
|
4994
|
+
}, [h, n, o]), /* @__PURE__ */ r(W, { children: (() => {
|
|
4783
4995
|
switch (i) {
|
|
4784
4996
|
case "nextIcon":
|
|
4785
|
-
return
|
|
4997
|
+
return Ge({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4786
4998
|
case "prevIcon":
|
|
4787
|
-
return
|
|
4999
|
+
return Te({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4788
5000
|
case "arrowDown":
|
|
4789
|
-
return
|
|
5001
|
+
return ne({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4790
5002
|
case "info":
|
|
4791
|
-
return
|
|
5003
|
+
return re({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4792
5004
|
case "arrowRight":
|
|
4793
|
-
return
|
|
5005
|
+
return oe({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4794
5006
|
case "calendar":
|
|
4795
|
-
return
|
|
5007
|
+
return de({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4796
5008
|
case "check":
|
|
4797
|
-
return
|
|
5009
|
+
return Ce({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4798
5010
|
case "cancel":
|
|
4799
|
-
return
|
|
5011
|
+
return ge({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4800
5012
|
case "add":
|
|
4801
|
-
return
|
|
5013
|
+
return ue({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4802
5014
|
case "list":
|
|
4803
|
-
return
|
|
5015
|
+
return pe({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4804
5016
|
case "dragAndDrop":
|
|
4805
|
-
return
|
|
5017
|
+
return fe({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4806
5018
|
case "filter":
|
|
4807
|
-
return
|
|
5019
|
+
return me({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4808
5020
|
case "attention":
|
|
4809
|
-
return
|
|
5021
|
+
return we({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4810
5022
|
case "users":
|
|
4811
|
-
return
|
|
5023
|
+
return Le({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4812
5024
|
case "mySkillsMatrix":
|
|
4813
|
-
return
|
|
5025
|
+
return ke({
|
|
4814
5026
|
width: e,
|
|
4815
5027
|
height: t,
|
|
4816
5028
|
color: l,
|
|
4817
5029
|
className: a,
|
|
4818
|
-
onClick:
|
|
5030
|
+
onClick: h
|
|
4819
5031
|
});
|
|
4820
5032
|
case "skills":
|
|
4821
|
-
return
|
|
5033
|
+
return ve({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4822
5034
|
case "skillsMatrices":
|
|
4823
|
-
return
|
|
5035
|
+
return Ne({
|
|
4824
5036
|
width: e,
|
|
4825
5037
|
height: t,
|
|
4826
5038
|
color: l,
|
|
4827
5039
|
className: a,
|
|
4828
|
-
onClick:
|
|
5040
|
+
onClick: h
|
|
4829
5041
|
});
|
|
4830
5042
|
case "history":
|
|
4831
|
-
return
|
|
5043
|
+
return Re({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4832
5044
|
case "logOut":
|
|
4833
|
-
return
|
|
5045
|
+
return xe({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4834
5046
|
case "settings":
|
|
4835
|
-
return
|
|
5047
|
+
return _e({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4836
5048
|
case "trash":
|
|
4837
|
-
return
|
|
5049
|
+
return Me({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4838
5050
|
case "settings2":
|
|
4839
|
-
return
|
|
5051
|
+
return be({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4840
5052
|
case "checkCircle":
|
|
4841
|
-
return
|
|
5053
|
+
return ye({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4842
5054
|
case "cancelCircle":
|
|
4843
|
-
return
|
|
5055
|
+
return He({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4844
5056
|
case "visibilityIcon":
|
|
4845
|
-
return
|
|
5057
|
+
return Ee({
|
|
4846
5058
|
width: e,
|
|
4847
5059
|
height: t,
|
|
4848
5060
|
color: l,
|
|
4849
5061
|
className: a,
|
|
4850
|
-
onClick:
|
|
5062
|
+
onClick: h
|
|
4851
5063
|
});
|
|
4852
5064
|
case "visibilityOffIcon":
|
|
4853
|
-
return
|
|
5065
|
+
return Ve({
|
|
4854
5066
|
width: e,
|
|
4855
5067
|
height: t,
|
|
4856
5068
|
color: l,
|
|
4857
5069
|
className: a,
|
|
4858
|
-
onClick:
|
|
5070
|
+
onClick: h
|
|
4859
5071
|
});
|
|
4860
5072
|
case "selectArrowIcon":
|
|
4861
|
-
return
|
|
5073
|
+
return Ie({
|
|
4862
5074
|
width: e,
|
|
4863
5075
|
height: t,
|
|
4864
5076
|
color: l,
|
|
4865
5077
|
className: a,
|
|
4866
|
-
onClick:
|
|
5078
|
+
onClick: h
|
|
4867
5079
|
});
|
|
4868
5080
|
case "expandArrowIcon":
|
|
4869
|
-
return
|
|
5081
|
+
return Ae({
|
|
4870
5082
|
width: e,
|
|
4871
5083
|
height: t,
|
|
4872
5084
|
color: l,
|
|
4873
5085
|
className: a,
|
|
4874
|
-
onClick:
|
|
5086
|
+
onClick: h
|
|
4875
5087
|
});
|
|
4876
5088
|
case "expandActiveArrowIcon":
|
|
4877
|
-
return
|
|
5089
|
+
return Ze({
|
|
4878
5090
|
width: e,
|
|
4879
5091
|
height: t,
|
|
4880
5092
|
color: l,
|
|
4881
5093
|
className: a,
|
|
4882
|
-
onClick:
|
|
5094
|
+
onClick: h
|
|
4883
5095
|
});
|
|
4884
5096
|
case "sortUp":
|
|
4885
|
-
return
|
|
5097
|
+
return Oe({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4886
5098
|
case "sortDown":
|
|
4887
|
-
return
|
|
5099
|
+
return Se({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4888
5100
|
case "search":
|
|
4889
|
-
return
|
|
5101
|
+
return De({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4890
5102
|
case "arrowUpFilled":
|
|
4891
|
-
return
|
|
5103
|
+
return Be({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4892
5104
|
case "arrowDownFilled":
|
|
4893
|
-
return
|
|
5105
|
+
return Ke({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5106
|
+
case "arrow2Up":
|
|
5107
|
+
return ae({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5108
|
+
case "arrow2Right":
|
|
5109
|
+
return le({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5110
|
+
case "arrow2Down":
|
|
5111
|
+
return he({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5112
|
+
case "arrow2Left":
|
|
5113
|
+
return ce({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4894
5114
|
case "link":
|
|
4895
|
-
return
|
|
5115
|
+
return Pe({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4896
5116
|
case "telegram":
|
|
4897
|
-
return
|
|
5117
|
+
return je({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4898
5118
|
case "mail":
|
|
4899
|
-
return
|
|
5119
|
+
return Fe({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4900
5120
|
case "github":
|
|
4901
|
-
return
|
|
5121
|
+
return Ye({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4902
5122
|
case "linkedIn":
|
|
4903
|
-
return
|
|
5123
|
+
return $e({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4904
5124
|
case "emptyStateIcon":
|
|
4905
|
-
return
|
|
5125
|
+
return We({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4906
5126
|
case "filtersIcon":
|
|
4907
|
-
return
|
|
5127
|
+
return Ue({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4908
5128
|
case "dotMenuIcon":
|
|
4909
|
-
return
|
|
5129
|
+
return ze({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4910
5130
|
case "plusCircle":
|
|
4911
|
-
return
|
|
5131
|
+
return Je({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4912
5132
|
case "warning":
|
|
4913
|
-
return
|
|
5133
|
+
return Qe({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4914
5134
|
case "back":
|
|
4915
|
-
return
|
|
5135
|
+
return qe({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4916
5136
|
case "bell":
|
|
4917
|
-
return
|
|
5137
|
+
return Xe({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4918
5138
|
case "copy":
|
|
4919
|
-
return
|
|
5139
|
+
return e7({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4920
5140
|
case "contract":
|
|
4921
|
-
return
|
|
5141
|
+
return t7({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4922
5142
|
case "resourceManager":
|
|
4923
|
-
return
|
|
5143
|
+
return i7({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4924
5144
|
case "image":
|
|
4925
|
-
return
|
|
5145
|
+
return s7({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4926
5146
|
case "edit":
|
|
4927
|
-
return
|
|
5147
|
+
return n7({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4928
5148
|
case "filledArrowRight":
|
|
4929
|
-
return
|
|
5149
|
+
return r7({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4930
5150
|
case "burgerMenu":
|
|
4931
|
-
return
|
|
5151
|
+
return o7({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4932
5152
|
case "refresh":
|
|
4933
|
-
return
|
|
5153
|
+
return a7({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4934
5154
|
case "projects":
|
|
4935
|
-
return
|
|
5155
|
+
return l7({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4936
5156
|
case "user":
|
|
4937
|
-
return
|
|
5157
|
+
return c7({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4938
5158
|
case "exit":
|
|
4939
|
-
return
|
|
5159
|
+
return h7({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4940
5160
|
case "openPointCircle":
|
|
4941
|
-
return
|
|
5161
|
+
return d7({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4942
5162
|
case "community":
|
|
4943
|
-
return
|
|
5163
|
+
return C7({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4944
5164
|
case "docs":
|
|
4945
|
-
return
|
|
5165
|
+
return g7({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4946
5166
|
default:
|
|
4947
5167
|
return /* @__PURE__ */ r(W, { children: "No Icon provided" });
|
|
4948
5168
|
}
|
|
4949
5169
|
})() });
|
|
4950
5170
|
};
|
|
4951
5171
|
var o1 = /* @__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))(o1 || {});
|
|
4952
|
-
const
|
|
5172
|
+
const p7 = t1({
|
|
4953
5173
|
locale: "en",
|
|
4954
5174
|
theme: "light"
|
|
4955
5175
|
});
|
|
4956
|
-
|
|
5176
|
+
p7.Provider;
|
|
4957
5177
|
const i2 = ({
|
|
4958
5178
|
children: i,
|
|
4959
5179
|
width: e,
|
|
@@ -4962,20 +5182,20 @@ const i2 = ({
|
|
|
4962
5182
|
closable: n = !0,
|
|
4963
5183
|
disabled: o = !1
|
|
4964
5184
|
}) => {
|
|
4965
|
-
const
|
|
5185
|
+
const c = t === "small" ? 10 : 12.5, a = () => {
|
|
4966
5186
|
o || s == null || s();
|
|
4967
5187
|
};
|
|
4968
5188
|
return /* @__PURE__ */ r(
|
|
4969
|
-
|
|
5189
|
+
f2,
|
|
4970
5190
|
{
|
|
4971
5191
|
className: `snmt-tag ${t} ${o ? "disabled" : ""}`,
|
|
4972
5192
|
closeIcon: /* @__PURE__ */ r(
|
|
4973
|
-
|
|
5193
|
+
u7,
|
|
4974
5194
|
{
|
|
4975
5195
|
name: "cancelCircle",
|
|
4976
5196
|
color: o ? o1.GREY_DARK_1 : o1.GREY_DARK_2,
|
|
4977
|
-
width:
|
|
4978
|
-
height:
|
|
5197
|
+
width: c,
|
|
5198
|
+
height: c,
|
|
4979
5199
|
onClick: a
|
|
4980
5200
|
}
|
|
4981
5201
|
),
|
|
@@ -4983,7 +5203,7 @@ const i2 = ({
|
|
|
4983
5203
|
style: { width: e ?? "fit-content" },
|
|
4984
5204
|
closable: n,
|
|
4985
5205
|
children: typeof i == "string" ? /* @__PURE__ */ r(
|
|
4986
|
-
|
|
5206
|
+
se,
|
|
4987
5207
|
{
|
|
4988
5208
|
variant: t === "small" ? "body4" : "body2",
|
|
4989
5209
|
color: o ? o1.GREY_DARK_2 : o1.GREY_DARK_5,
|
|
@@ -4992,12 +5212,12 @@ const i2 = ({
|
|
|
4992
5212
|
) : i
|
|
4993
5213
|
}
|
|
4994
5214
|
);
|
|
4995
|
-
}, { Title:
|
|
5215
|
+
}, { Title: f7, Text: m7 } = J1, w7 = {
|
|
4996
5216
|
h1: 1,
|
|
4997
5217
|
h2: 2,
|
|
4998
5218
|
h3: 3,
|
|
4999
5219
|
h4: 4
|
|
5000
|
-
},
|
|
5220
|
+
}, L7 = w1(
|
|
5001
5221
|
({
|
|
5002
5222
|
align: i = "inherit",
|
|
5003
5223
|
variant: e = "body1",
|
|
@@ -5005,31 +5225,31 @@ const i2 = ({
|
|
|
5005
5225
|
children: s,
|
|
5006
5226
|
onClick: n,
|
|
5007
5227
|
collapsed: o,
|
|
5008
|
-
whiteSpace:
|
|
5228
|
+
whiteSpace: c = "normal",
|
|
5009
5229
|
/** This prop allows you to enable tooltip if text size is too big */
|
|
5010
5230
|
trim: a = !1
|
|
5011
5231
|
}, C) => {
|
|
5012
5232
|
const d = J(null);
|
|
5013
5233
|
Q1(C, () => d.current);
|
|
5014
|
-
const [l,
|
|
5234
|
+
const [l, h] = I(!1);
|
|
5015
5235
|
A(() => {
|
|
5016
5236
|
var N;
|
|
5017
5237
|
if (!a) return;
|
|
5018
|
-
const
|
|
5019
|
-
d.current &&
|
|
5238
|
+
const L = () => {
|
|
5239
|
+
d.current && h(d.current.scrollWidth > d.current.clientWidth);
|
|
5020
5240
|
};
|
|
5021
|
-
|
|
5022
|
-
const y = new ResizeObserver(
|
|
5241
|
+
L();
|
|
5242
|
+
const y = new ResizeObserver(L);
|
|
5023
5243
|
return d.current && y.observe(d.current), (N = d.current) != null && N.parentElement && y.observe(d.current.parentElement), () => {
|
|
5024
5244
|
y.disconnect();
|
|
5025
5245
|
};
|
|
5026
5246
|
}, [a]);
|
|
5027
5247
|
const g = e === "h1" || e === "h2" || e === "h3" || e === "h4";
|
|
5028
|
-
let
|
|
5029
|
-
i && i !== "inherit" && (
|
|
5248
|
+
let p = `snmt-typography snmt-typography-${e}`;
|
|
5249
|
+
i && i !== "inherit" && (p += ` snmt-typography-align-${i}`), o && (p += " collapsed");
|
|
5030
5250
|
const k = {
|
|
5031
|
-
className:
|
|
5032
|
-
style: { color: t, whiteSpace: a ? "nowrap" :
|
|
5251
|
+
className: p,
|
|
5252
|
+
style: { color: t, whiteSpace: a ? "nowrap" : c, display: a ? "block" : "" },
|
|
5033
5253
|
onClick: n,
|
|
5034
5254
|
ref: d,
|
|
5035
5255
|
ellipsis: a && l ? {
|
|
@@ -5039,34 +5259,35 @@ const i2 = ({
|
|
|
5039
5259
|
}
|
|
5040
5260
|
} : void 0
|
|
5041
5261
|
};
|
|
5042
|
-
return g ? /* @__PURE__ */ r(
|
|
5262
|
+
return g ? /* @__PURE__ */ r(f7, { level: w7[e], ...k, children: s }) : /* @__PURE__ */ r(m7, { ...k, children: s });
|
|
5043
5263
|
}
|
|
5044
|
-
),
|
|
5264
|
+
), k7 = ({
|
|
5045
5265
|
children: i,
|
|
5046
5266
|
content: e,
|
|
5047
5267
|
isOpen: t,
|
|
5048
5268
|
setIsOpen: s,
|
|
5049
5269
|
placement: n = "topRight",
|
|
5050
|
-
noPadding: o = !1
|
|
5270
|
+
noPadding: o = !1,
|
|
5271
|
+
trigger: c = "click"
|
|
5051
5272
|
}) => {
|
|
5052
|
-
const [
|
|
5273
|
+
const [a, C] = I(!1);
|
|
5053
5274
|
return /* @__PURE__ */ r(
|
|
5054
5275
|
k2,
|
|
5055
5276
|
{
|
|
5056
5277
|
content: e,
|
|
5057
5278
|
arrow: !1,
|
|
5058
5279
|
placement: n,
|
|
5059
|
-
trigger:
|
|
5280
|
+
trigger: c,
|
|
5060
5281
|
overlayClassName: `snmt-popover ${o ? "" : "padding"}`,
|
|
5061
|
-
open: t ??
|
|
5062
|
-
onOpenChange: (
|
|
5063
|
-
|
|
5282
|
+
open: t ?? a,
|
|
5283
|
+
onOpenChange: (d) => {
|
|
5284
|
+
C(d), s == null || s(d);
|
|
5064
5285
|
},
|
|
5065
5286
|
children: /* @__PURE__ */ r("div", { className: "wrapper", children: i })
|
|
5066
5287
|
}
|
|
5067
5288
|
);
|
|
5068
5289
|
};
|
|
5069
|
-
var
|
|
5290
|
+
var v7 = { exports: {} };
|
|
5070
5291
|
(function(i, e) {
|
|
5071
5292
|
(function(t, s) {
|
|
5072
5293
|
i.exports = s();
|
|
@@ -5076,27 +5297,27 @@ var g7 = { exports: {} };
|
|
|
5076
5297
|
return "[" + t + (s[(n - 20) % 10] || s[n] || s[0]) + "]";
|
|
5077
5298
|
} };
|
|
5078
5299
|
});
|
|
5079
|
-
})(
|
|
5080
|
-
const
|
|
5300
|
+
})(v7);
|
|
5301
|
+
const N7 = ({
|
|
5081
5302
|
values: i,
|
|
5082
5303
|
onTagClose: e,
|
|
5083
5304
|
maxWidth: t,
|
|
5084
5305
|
closable: s = !0,
|
|
5085
5306
|
disabled: n,
|
|
5086
5307
|
options: o,
|
|
5087
|
-
extraOptions:
|
|
5308
|
+
extraOptions: c
|
|
5088
5309
|
}) => {
|
|
5089
5310
|
const { locale: a } = Q(y1), { t: C } = B2("common", { lng: a }), [d, l] = I(!1);
|
|
5090
5311
|
if (A(() => {
|
|
5091
5312
|
i.length || l(!1);
|
|
5092
5313
|
}, [i]), !i.length)
|
|
5093
5314
|
return null;
|
|
5094
|
-
const
|
|
5095
|
-
var
|
|
5096
|
-
return ((
|
|
5315
|
+
const h = (g) => {
|
|
5316
|
+
var p, k;
|
|
5317
|
+
return ((p = o == null ? void 0 : o.find((L) => L.value === g)) == null ? void 0 : p.label) || ((k = c == null ? void 0 : c.find((L) => L.value === g)) == null ? void 0 : k.label) || g;
|
|
5097
5318
|
};
|
|
5098
5319
|
return /* @__PURE__ */ u(
|
|
5099
|
-
|
|
5320
|
+
k7,
|
|
5100
5321
|
{
|
|
5101
5322
|
content: (
|
|
5102
5323
|
// 90: paddings + margins + gaps and so on
|
|
@@ -5106,7 +5327,7 @@ const u7 = ({
|
|
|
5106
5327
|
onClose: () => e(g),
|
|
5107
5328
|
closable: s,
|
|
5108
5329
|
disabled: n,
|
|
5109
|
-
children:
|
|
5330
|
+
children: h(g)
|
|
5110
5331
|
},
|
|
5111
5332
|
g
|
|
5112
5333
|
)) }) })
|
|
@@ -5121,19 +5342,19 @@ const u7 = ({
|
|
|
5121
5342
|
]
|
|
5122
5343
|
}
|
|
5123
5344
|
);
|
|
5124
|
-
},
|
|
5345
|
+
}, R7 = {
|
|
5125
5346
|
small: 20,
|
|
5126
5347
|
medium: 28,
|
|
5127
5348
|
large: 48
|
|
5128
5349
|
}, O1 = ({ size: i = "medium", color: e = "#004ed7" }) => {
|
|
5129
|
-
const t =
|
|
5350
|
+
const t = R7[i], s = `no-repeat linear-gradient(${e}
|
|
5130
5351
|
calc(50% - 10px), #0000 0 calc(50% + 10px), ${e} 0)`, n = {
|
|
5131
5352
|
width: t,
|
|
5132
5353
|
background: `${s} 0% 100%, ${s} 50% 100%, ${s} 100% 100%`,
|
|
5133
5354
|
backgroundSize: "20% calc(200% + 20px)"
|
|
5134
5355
|
};
|
|
5135
5356
|
return /* @__PURE__ */ r("span", { className: "snmt-loader", style: n });
|
|
5136
|
-
},
|
|
5357
|
+
}, x7 = w1(
|
|
5137
5358
|
({
|
|
5138
5359
|
value: i,
|
|
5139
5360
|
onChange: e,
|
|
@@ -5141,100 +5362,100 @@ const u7 = ({
|
|
|
5141
5362
|
mode: s,
|
|
5142
5363
|
search: n = !1,
|
|
5143
5364
|
options: o,
|
|
5144
|
-
width:
|
|
5365
|
+
width: c,
|
|
5145
5366
|
disabled: a = !1,
|
|
5146
5367
|
required: C = !1,
|
|
5147
5368
|
clearable: d = !1,
|
|
5148
5369
|
scrollThresholdValue: l = 50,
|
|
5149
|
-
onSearchChange:
|
|
5370
|
+
onSearchChange: h,
|
|
5150
5371
|
onDropdownVisibleChange: g,
|
|
5151
|
-
onScrollToEnd:
|
|
5372
|
+
onScrollToEnd: p,
|
|
5152
5373
|
onPopupScroll: k,
|
|
5153
5374
|
id: N,
|
|
5154
|
-
extraOptions:
|
|
5375
|
+
extraOptions: L,
|
|
5155
5376
|
dropdownRender: y,
|
|
5156
5377
|
optionRender: b,
|
|
5157
5378
|
isLoading: E,
|
|
5158
|
-
readOnly:
|
|
5159
|
-
error:
|
|
5379
|
+
readOnly: f,
|
|
5380
|
+
error: M
|
|
5160
5381
|
}, R) => {
|
|
5161
5382
|
const [x, D] = I(!1), [P, i1] = I(!1), [$, h1] = I(!0), [V, Y] = I(i), F = J(null);
|
|
5162
5383
|
A(() => {
|
|
5163
5384
|
Y(i);
|
|
5164
5385
|
}, [i]);
|
|
5165
|
-
const q = (
|
|
5166
|
-
D(
|
|
5167
|
-
}, c1 = (
|
|
5386
|
+
const q = (_) => {
|
|
5387
|
+
D(_), g && g(_);
|
|
5388
|
+
}, c1 = (_, H) => {
|
|
5168
5389
|
var G;
|
|
5169
|
-
return !!((G = H == null ? void 0 : H.label) != null && G.toString().toLowerCase().includes(
|
|
5390
|
+
return !!((G = H == null ? void 0 : H.label) != null && G.toString().toLowerCase().includes(_.toLowerCase()));
|
|
5170
5391
|
}, O = () => {
|
|
5171
5392
|
i1(!0);
|
|
5172
5393
|
}, j = () => {
|
|
5173
5394
|
i1(!1);
|
|
5174
5395
|
}, S = K(
|
|
5175
|
-
(
|
|
5176
|
-
if (Y(
|
|
5177
|
-
const G =
|
|
5396
|
+
(_) => {
|
|
5397
|
+
if (Y(_), s) {
|
|
5398
|
+
const G = _;
|
|
5178
5399
|
e == null || e(G);
|
|
5179
5400
|
return;
|
|
5180
5401
|
}
|
|
5181
|
-
const H =
|
|
5402
|
+
const H = _;
|
|
5182
5403
|
e == null || e(H);
|
|
5183
5404
|
},
|
|
5184
5405
|
[s, e]
|
|
5185
5406
|
), d1 = K(() => {
|
|
5186
|
-
if (!(
|
|
5407
|
+
if (!(f || a)) {
|
|
5187
5408
|
if (s) {
|
|
5188
5409
|
S([]);
|
|
5189
5410
|
return;
|
|
5190
5411
|
}
|
|
5191
5412
|
S("");
|
|
5192
5413
|
}
|
|
5193
|
-
}, [a, S, s,
|
|
5194
|
-
(
|
|
5195
|
-
const H = V.filter((G) => G !==
|
|
5414
|
+
}, [a, S, s, f]), C1 = K(
|
|
5415
|
+
(_) => {
|
|
5416
|
+
const H = V.filter((G) => G !== _);
|
|
5196
5417
|
S(H), Y(H);
|
|
5197
5418
|
},
|
|
5198
5419
|
[S, V]
|
|
5199
5420
|
), H1 = K(
|
|
5200
|
-
(
|
|
5421
|
+
(_) => (V == null ? void 0 : V.indexOf(_)) === 0 ? (
|
|
5201
5422
|
// if the search input is empty
|
|
5202
5423
|
// then display the placeholder, else do not display it
|
|
5203
5424
|
/* @__PURE__ */ r("span", { className: "custom-placeholder", children: $ ? t : "" })
|
|
5204
5425
|
) : /* @__PURE__ */ r(W, {}),
|
|
5205
5426
|
[$, V, t]
|
|
5206
|
-
), l2 = (
|
|
5207
|
-
|
|
5208
|
-
}, h2 = async (
|
|
5209
|
-
const { target: H } =
|
|
5210
|
-
H.scrollTop + H.offsetHeight >= H.scrollHeight - l && (
|
|
5427
|
+
), l2 = (_) => {
|
|
5428
|
+
_.preventDefault(), _.stopPropagation();
|
|
5429
|
+
}, h2 = async (_) => {
|
|
5430
|
+
const { target: H } = _;
|
|
5431
|
+
H.scrollTop + H.offsetHeight >= H.scrollHeight - l && (p == null || p(!0)), k && await k(_);
|
|
5211
5432
|
}, k1 = K(
|
|
5212
|
-
(
|
|
5433
|
+
(_) => {
|
|
5213
5434
|
var H, G;
|
|
5214
|
-
return ((H = o.find((v1) => v1.value ===
|
|
5215
|
-
(v1) => v1.value ===
|
|
5216
|
-
)) == null ? void 0 : G.label) ||
|
|
5435
|
+
return ((H = o.find((v1) => v1.value === _)) == null ? void 0 : H.label) || ((G = L == null ? void 0 : L.find(
|
|
5436
|
+
(v1) => v1.value === _
|
|
5437
|
+
)) == null ? void 0 : G.label) || _;
|
|
5217
5438
|
},
|
|
5218
|
-
[
|
|
5439
|
+
[L, o]
|
|
5219
5440
|
), c2 = K(
|
|
5220
|
-
(
|
|
5441
|
+
(_) => {
|
|
5221
5442
|
var H;
|
|
5222
5443
|
return /* @__PURE__ */ r(
|
|
5223
|
-
|
|
5444
|
+
N7,
|
|
5224
5445
|
{
|
|
5225
|
-
values:
|
|
5446
|
+
values: _,
|
|
5226
5447
|
onTagClose: C1,
|
|
5227
5448
|
maxWidth: ((H = F.current) == null ? void 0 : H.clientWidth) || 0,
|
|
5228
5449
|
disabled: a,
|
|
5229
|
-
closable: !
|
|
5450
|
+
closable: !f,
|
|
5230
5451
|
options: o,
|
|
5231
|
-
extraOptions:
|
|
5452
|
+
extraOptions: L
|
|
5232
5453
|
}
|
|
5233
5454
|
);
|
|
5234
5455
|
},
|
|
5235
|
-
[a,
|
|
5456
|
+
[a, L, C1, o, f]
|
|
5236
5457
|
), d2 = K(
|
|
5237
|
-
({ label:
|
|
5458
|
+
({ label: _, value: H, mode: G }) => G === "filter" ? H1(H) : /* @__PURE__ */ r("div", { onMouseDown: l2, className: "tag-wrapper", children: /* @__PURE__ */ r(i2, { onClose: () => C1(H), disabled: a, children: typeof _ == "object" ? _ : k1(H) }) }),
|
|
5238
5459
|
[a, k1, C1, H1]
|
|
5239
5460
|
), E1 = Array.isArray(V) && V.length > 0 || !!V && typeof V == "string" && V.trim() !== "";
|
|
5240
5461
|
return /* @__PURE__ */ u("div", { className: "snmt-select-container", children: [
|
|
@@ -5242,15 +5463,15 @@ const u7 = ({
|
|
|
5242
5463
|
"div",
|
|
5243
5464
|
{
|
|
5244
5465
|
className: `snmt-select-1-15-6 ${P ? "snmt-select-focused" : ""}
|
|
5245
|
-
${s ? "" : "snmt-select-single"} ${
|
|
5466
|
+
${s ? "" : "snmt-select-single"} ${f ? "snmt-select-read-only" : ""}`,
|
|
5246
5467
|
ref: F,
|
|
5247
|
-
style: { width:
|
|
5468
|
+
style: { width: c },
|
|
5248
5469
|
children: [
|
|
5249
5470
|
/* @__PURE__ */ r(
|
|
5250
|
-
|
|
5471
|
+
p2,
|
|
5251
5472
|
{
|
|
5252
5473
|
className: "snmt-select-blank",
|
|
5253
|
-
popupClassName:
|
|
5474
|
+
popupClassName: f ? "dropdown-read-only" : "",
|
|
5254
5475
|
id: N,
|
|
5255
5476
|
ref: R,
|
|
5256
5477
|
showSearch: !!n,
|
|
@@ -5258,20 +5479,20 @@ const u7 = ({
|
|
|
5258
5479
|
onDropdownVisibleChange: q,
|
|
5259
5480
|
disabled: a,
|
|
5260
5481
|
value: V || void 0,
|
|
5261
|
-
labelRender: (
|
|
5262
|
-
const H = k1(
|
|
5482
|
+
labelRender: (_) => {
|
|
5483
|
+
const H = k1(_.value);
|
|
5263
5484
|
return a ? /* @__PURE__ */ r("span", { style: { color: T.GREY_DARK_1 }, children: H }) : H;
|
|
5264
5485
|
},
|
|
5265
5486
|
mode: s === "filter" ? "multiple" : s,
|
|
5266
5487
|
onChange: S,
|
|
5267
5488
|
onFocus: O,
|
|
5268
5489
|
onBlur: j,
|
|
5269
|
-
onSearch: (
|
|
5270
|
-
h1(!
|
|
5490
|
+
onSearch: (_) => {
|
|
5491
|
+
h1(!_), h && h(_);
|
|
5271
5492
|
},
|
|
5272
5493
|
onSelect: () => h1(!0),
|
|
5273
5494
|
onDeselect: () => h1(!0),
|
|
5274
|
-
tagRender: (
|
|
5495
|
+
tagRender: (_) => d2({ ..._, mode: s }),
|
|
5275
5496
|
maxTagCount: "responsive",
|
|
5276
5497
|
maxTagPlaceholder: c2,
|
|
5277
5498
|
onPopupScroll: h2,
|
|
@@ -5305,23 +5526,23 @@ const u7 = ({
|
|
|
5305
5526
|
] }) }),
|
|
5306
5527
|
removeIcon: /* @__PURE__ */ r(s1, { name: "cancelCircle", color: T.GREY_DARK_1 }),
|
|
5307
5528
|
options: o,
|
|
5308
|
-
optionRender: (
|
|
5529
|
+
optionRender: (_) => b ? b(_.data) : /* @__PURE__ */ u(r1, { justifyContent: "space-between", alignItems: "center", flex: "1", children: [
|
|
5309
5530
|
/* @__PURE__ */ u(r1, { alignItems: "center", gap: 12, children: [
|
|
5310
5531
|
s && /* @__PURE__ */ r(
|
|
5311
5532
|
Y2,
|
|
5312
5533
|
{
|
|
5313
|
-
checked: !!(V != null && V.includes(
|
|
5534
|
+
checked: !!(V != null && V.includes(_.value))
|
|
5314
5535
|
}
|
|
5315
5536
|
),
|
|
5316
5537
|
/* @__PURE__ */ u(r1, { alignItems: "center", gap: 8, children: [
|
|
5317
|
-
|
|
5318
|
-
/* @__PURE__ */ r("span", { children:
|
|
5538
|
+
_.data.image && /* @__PURE__ */ r(P2, { src: _.data.image, size: 20 }),
|
|
5539
|
+
/* @__PURE__ */ r("span", { children: _.label })
|
|
5319
5540
|
] })
|
|
5320
5541
|
] }),
|
|
5321
|
-
!s && V ===
|
|
5542
|
+
!s && V === _.value && /* @__PURE__ */ r(s1, { name: "check", color: T.BLUE_DARK_1 })
|
|
5322
5543
|
] }),
|
|
5323
|
-
dropdownRender: (
|
|
5324
|
-
/* @__PURE__ */ r("div", { className: "dropdown-menu", children: y ? y(
|
|
5544
|
+
dropdownRender: (_) => /* @__PURE__ */ u("div", { className: "dropdown-container", children: [
|
|
5545
|
+
/* @__PURE__ */ r("div", { className: "dropdown-menu", children: y ? y(_) : _ }),
|
|
5325
5546
|
E && /* @__PURE__ */ r("div", { className: "loading-overlay", children: /* @__PURE__ */ r(O1, {}) })
|
|
5326
5547
|
] })
|
|
5327
5548
|
}
|
|
@@ -5330,14 +5551,14 @@ const u7 = ({
|
|
|
5330
5551
|
/* @__PURE__ */ r(
|
|
5331
5552
|
"label",
|
|
5332
5553
|
{
|
|
5333
|
-
className: `${P || E1 ? "label-floating" : ""} ${a ? "label-disabled" : ""} ${P ? "label-focused" : ""} ${E ? "label-loading" : ""} ${
|
|
5554
|
+
className: `${P || E1 ? "label-floating" : ""} ${a ? "label-disabled" : ""} ${P ? "label-focused" : ""} ${E ? "label-loading" : ""} ${M ? "label-error" : ""}`,
|
|
5334
5555
|
children: C ? `${t}*` : t
|
|
5335
5556
|
}
|
|
5336
5557
|
),
|
|
5337
5558
|
/* @__PURE__ */ r(
|
|
5338
5559
|
"fieldset",
|
|
5339
5560
|
{
|
|
5340
|
-
className: `${P ? "fieldset-focused" : ""} ${a ? "fieldset-disabled" : ""} ${E1 ? "fieldset-filled" : ""} ${
|
|
5561
|
+
className: `${P ? "fieldset-focused" : ""} ${a ? "fieldset-disabled" : ""} ${E1 ? "fieldset-filled" : ""} ${M ? "fieldset-error" : ""}`,
|
|
5341
5562
|
children: /* @__PURE__ */ r("legend", { children: /* @__PURE__ */ r("span", { children: C ? `${t}*` : t }) })
|
|
5342
5563
|
}
|
|
5343
5564
|
)
|
|
@@ -5345,7 +5566,7 @@ const u7 = ({
|
|
|
5345
5566
|
]
|
|
5346
5567
|
}
|
|
5347
5568
|
),
|
|
5348
|
-
|
|
5569
|
+
M && /* @__PURE__ */ u(r1, { justifyContent: "flex-start", gap: 6, children: [
|
|
5349
5570
|
/* @__PURE__ */ r(
|
|
5350
5571
|
s1,
|
|
5351
5572
|
{
|
|
@@ -5355,7 +5576,7 @@ const u7 = ({
|
|
|
5355
5576
|
width: 16
|
|
5356
5577
|
}
|
|
5357
5578
|
),
|
|
5358
|
-
typeof
|
|
5579
|
+
typeof M == "string" ? /* @__PURE__ */ r(L7, { color: T.NOTIFICATION_ERROR_DARK, variant: "body4", children: M }) : M
|
|
5359
5580
|
] })
|
|
5360
5581
|
] });
|
|
5361
5582
|
}
|
|
@@ -5365,11 +5586,11 @@ const u7 = ({
|
|
|
5365
5586
|
i = s, e = n;
|
|
5366
5587
|
});
|
|
5367
5588
|
return t.resolve = i, t.reject = e, t;
|
|
5368
|
-
}, S1 = (i) => i == null ? "" : "" + i,
|
|
5589
|
+
}, S1 = (i) => i == null ? "" : "" + i, _7 = (i, e, t) => {
|
|
5369
5590
|
i.forEach((s) => {
|
|
5370
5591
|
e[s] && (t[s] = e[s]);
|
|
5371
5592
|
});
|
|
5372
|
-
},
|
|
5593
|
+
}, M7 = /###/g, D1 = (i) => i && i.indexOf("###") > -1 ? i.replace(M7, ".") : i, G1 = (i) => !i || v(i), a1 = (i, e, t) => {
|
|
5373
5594
|
const s = v(e) ? e.split(".") : e;
|
|
5374
5595
|
let n = 0;
|
|
5375
5596
|
for (; n < s.length - 1; ) {
|
|
@@ -5390,11 +5611,11 @@ const u7 = ({
|
|
|
5390
5611
|
s[n] = t;
|
|
5391
5612
|
return;
|
|
5392
5613
|
}
|
|
5393
|
-
let o = e[e.length - 1],
|
|
5394
|
-
for (; a.obj === void 0 &&
|
|
5395
|
-
o = `${
|
|
5614
|
+
let o = e[e.length - 1], c = e.slice(0, e.length - 1), a = a1(i, c, Object);
|
|
5615
|
+
for (; a.obj === void 0 && c.length; )
|
|
5616
|
+
o = `${c[c.length - 1]}.${o}`, c = c.slice(0, c.length - 1), a = a1(i, c, Object), a && a.obj && typeof a.obj[`${a.k}.${o}`] < "u" && (a.obj = void 0);
|
|
5396
5617
|
a.obj[`${a.k}.${o}`] = t;
|
|
5397
|
-
},
|
|
5618
|
+
}, b7 = (i, e, t, s) => {
|
|
5398
5619
|
const {
|
|
5399
5620
|
obj: n,
|
|
5400
5621
|
k: o
|
|
@@ -5407,7 +5628,7 @@ const u7 = ({
|
|
|
5407
5628
|
} = a1(i, e);
|
|
5408
5629
|
if (t)
|
|
5409
5630
|
return t[s];
|
|
5410
|
-
},
|
|
5631
|
+
}, y7 = (i, e, t) => {
|
|
5411
5632
|
const s = u1(i, t);
|
|
5412
5633
|
return s !== void 0 ? s : u1(e, t);
|
|
5413
5634
|
}, s2 = (i, e, t) => {
|
|
@@ -5415,7 +5636,7 @@ const u7 = ({
|
|
|
5415
5636
|
s !== "__proto__" && s !== "constructor" && (s in i ? v(i[s]) || i[s] instanceof String || v(e[s]) || e[s] instanceof String ? t && (i[s] = e[s]) : s2(i[s], e[s], t) : i[s] = e[s]);
|
|
5416
5637
|
return i;
|
|
5417
5638
|
}, X = (i) => i.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
|
|
5418
|
-
var
|
|
5639
|
+
var H7 = {
|
|
5419
5640
|
"&": "&",
|
|
5420
5641
|
"<": "<",
|
|
5421
5642
|
">": ">",
|
|
@@ -5423,8 +5644,8 @@ var v7 = {
|
|
|
5423
5644
|
"'": "'",
|
|
5424
5645
|
"/": "/"
|
|
5425
5646
|
};
|
|
5426
|
-
const
|
|
5427
|
-
class
|
|
5647
|
+
const E7 = (i) => v(i) ? i.replace(/[&<>"'\/]/g, (e) => H7[e]) : i;
|
|
5648
|
+
class V7 {
|
|
5428
5649
|
constructor(e) {
|
|
5429
5650
|
this.capacity = e, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = [];
|
|
5430
5651
|
}
|
|
@@ -5436,18 +5657,18 @@ class R7 {
|
|
|
5436
5657
|
return this.regExpQueue.length === this.capacity && this.regExpMap.delete(this.regExpQueue.shift()), this.regExpMap.set(e, s), this.regExpQueue.push(e), s;
|
|
5437
5658
|
}
|
|
5438
5659
|
}
|
|
5439
|
-
const
|
|
5660
|
+
const I7 = [" ", ",", "?", "!", ";"], A7 = new V7(20), Z7 = (i, e, t) => {
|
|
5440
5661
|
e = e || "", t = t || "";
|
|
5441
|
-
const s =
|
|
5662
|
+
const s = I7.filter((c) => e.indexOf(c) < 0 && t.indexOf(c) < 0);
|
|
5442
5663
|
if (s.length === 0) return !0;
|
|
5443
|
-
const n =
|
|
5664
|
+
const n = A7.getRegExp(`(${s.map((c) => c === "?" ? "\\?" : c).join("|")})`);
|
|
5444
5665
|
let o = !n.test(i);
|
|
5445
5666
|
if (!o) {
|
|
5446
|
-
const
|
|
5447
|
-
|
|
5667
|
+
const c = i.indexOf(t);
|
|
5668
|
+
c > 0 && !n.test(i.substring(0, c)) && (o = !0);
|
|
5448
5669
|
}
|
|
5449
5670
|
return o;
|
|
5450
|
-
},
|
|
5671
|
+
}, _1 = function(i, e) {
|
|
5451
5672
|
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : ".";
|
|
5452
5673
|
if (!i) return;
|
|
5453
5674
|
if (i[e]) return i[e];
|
|
@@ -5456,18 +5677,18 @@ const x7 = [" ", ",", "?", "!", ";"], M7 = new R7(20), _7 = (i, e, t) => {
|
|
|
5456
5677
|
for (let o = 0; o < s.length; ) {
|
|
5457
5678
|
if (!n || typeof n != "object")
|
|
5458
5679
|
return;
|
|
5459
|
-
let
|
|
5680
|
+
let c, a = "";
|
|
5460
5681
|
for (let C = o; C < s.length; ++C)
|
|
5461
|
-
if (C !== o && (a += t), a += s[C],
|
|
5462
|
-
if (["string", "number", "boolean"].indexOf(typeof
|
|
5682
|
+
if (C !== o && (a += t), a += s[C], c = n[a], c !== void 0) {
|
|
5683
|
+
if (["string", "number", "boolean"].indexOf(typeof c) > -1 && C < s.length - 1)
|
|
5463
5684
|
continue;
|
|
5464
5685
|
o += C - o + 1;
|
|
5465
5686
|
break;
|
|
5466
5687
|
}
|
|
5467
|
-
n =
|
|
5688
|
+
n = c;
|
|
5468
5689
|
}
|
|
5469
5690
|
return n;
|
|
5470
|
-
},
|
|
5691
|
+
}, p1 = (i) => i && i.replace("_", "-"), O7 = {
|
|
5471
5692
|
type: "logger",
|
|
5472
5693
|
log(i) {
|
|
5473
5694
|
this.output("log", i);
|
|
@@ -5482,14 +5703,14 @@ const x7 = [" ", ",", "?", "!", ";"], M7 = new R7(20), _7 = (i, e, t) => {
|
|
|
5482
5703
|
console && console[i] && console[i].apply(console, e);
|
|
5483
5704
|
}
|
|
5484
5705
|
};
|
|
5485
|
-
class
|
|
5706
|
+
class f1 {
|
|
5486
5707
|
constructor(e) {
|
|
5487
5708
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
5488
5709
|
this.init(e, t);
|
|
5489
5710
|
}
|
|
5490
5711
|
init(e) {
|
|
5491
5712
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
5492
|
-
this.prefix = t.prefix || "i18next:", this.logger = e ||
|
|
5713
|
+
this.prefix = t.prefix || "i18next:", this.logger = e || O7, this.options = t, this.debug = t.debug;
|
|
5493
5714
|
}
|
|
5494
5715
|
log() {
|
|
5495
5716
|
for (var e = arguments.length, t = new Array(e), s = 0; s < e; s++)
|
|
@@ -5515,16 +5736,16 @@ class p1 {
|
|
|
5515
5736
|
return n && !this.debug ? null : (v(e[0]) && (e[0] = `${s}${this.prefix} ${e[0]}`), this.logger[t](e));
|
|
5516
5737
|
}
|
|
5517
5738
|
create(e) {
|
|
5518
|
-
return new
|
|
5739
|
+
return new f1(this.logger, {
|
|
5519
5740
|
prefix: `${this.prefix}:${e}:`,
|
|
5520
5741
|
...this.options
|
|
5521
5742
|
});
|
|
5522
5743
|
}
|
|
5523
5744
|
clone(e) {
|
|
5524
|
-
return e = e || this.options, e.prefix = e.prefix || this.prefix, new
|
|
5745
|
+
return e = e || this.options, e.prefix = e.prefix || this.prefix, new f1(this.logger, e);
|
|
5525
5746
|
}
|
|
5526
5747
|
}
|
|
5527
|
-
var B = new
|
|
5748
|
+
var B = new f1();
|
|
5528
5749
|
class L1 {
|
|
5529
5750
|
constructor() {
|
|
5530
5751
|
this.observers = {};
|
|
@@ -5548,12 +5769,12 @@ class L1 {
|
|
|
5548
5769
|
emit(e) {
|
|
5549
5770
|
for (var t = arguments.length, s = new Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++)
|
|
5550
5771
|
s[n - 1] = arguments[n];
|
|
5551
|
-
this.observers[e] && Array.from(this.observers[e].entries()).forEach((
|
|
5552
|
-
let [a, C] =
|
|
5772
|
+
this.observers[e] && Array.from(this.observers[e].entries()).forEach((c) => {
|
|
5773
|
+
let [a, C] = c;
|
|
5553
5774
|
for (let d = 0; d < C; d++)
|
|
5554
5775
|
a(...s);
|
|
5555
|
-
}), this.observers["*"] && Array.from(this.observers["*"].entries()).forEach((
|
|
5556
|
-
let [a, C] =
|
|
5776
|
+
}), this.observers["*"] && Array.from(this.observers["*"].entries()).forEach((c) => {
|
|
5777
|
+
let [a, C] = c;
|
|
5557
5778
|
for (let d = 0; d < C; d++)
|
|
5558
5779
|
a.apply(a, [e, ...s]);
|
|
5559
5780
|
});
|
|
@@ -5576,19 +5797,19 @@ class K1 extends L1 {
|
|
|
5576
5797
|
}
|
|
5577
5798
|
getResource(e, t, s) {
|
|
5578
5799
|
let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
|
|
5579
|
-
const o = n.keySeparator !== void 0 ? n.keySeparator : this.options.keySeparator,
|
|
5800
|
+
const o = n.keySeparator !== void 0 ? n.keySeparator : this.options.keySeparator, c = n.ignoreJSONStructure !== void 0 ? n.ignoreJSONStructure : this.options.ignoreJSONStructure;
|
|
5580
5801
|
let a;
|
|
5581
5802
|
e.indexOf(".") > -1 ? a = e.split(".") : (a = [e, t], s && (Array.isArray(s) ? a.push(...s) : v(s) && o ? a.push(...s.split(o)) : a.push(s)));
|
|
5582
5803
|
const C = u1(this.data, a);
|
|
5583
|
-
return !C && !t && !s && e.indexOf(".") > -1 && (e = a[0], t = a[1], s = a.slice(2).join(".")), C || !
|
|
5804
|
+
return !C && !t && !s && e.indexOf(".") > -1 && (e = a[0], t = a[1], s = a.slice(2).join(".")), C || !c || !v(s) ? C : _1(this.data && this.data[e] && this.data[e][t], s, o);
|
|
5584
5805
|
}
|
|
5585
5806
|
addResource(e, t, s, n) {
|
|
5586
5807
|
let o = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : {
|
|
5587
5808
|
silent: !1
|
|
5588
5809
|
};
|
|
5589
|
-
const
|
|
5810
|
+
const c = o.keySeparator !== void 0 ? o.keySeparator : this.options.keySeparator;
|
|
5590
5811
|
let a = [e, t];
|
|
5591
|
-
s && (a = a.concat(
|
|
5812
|
+
s && (a = a.concat(c ? s.split(c) : s)), e.indexOf(".") > -1 && (a = e.split("."), n = t, t = a[1]), this.addNamespaces(t), T1(this.data, a, n), o.silent || this.emit("added", e, t, s, n);
|
|
5592
5813
|
}
|
|
5593
5814
|
addResources(e, t, s) {
|
|
5594
5815
|
let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {
|
|
@@ -5601,16 +5822,16 @@ class K1 extends L1 {
|
|
|
5601
5822
|
n.silent || this.emit("added", e, t, s);
|
|
5602
5823
|
}
|
|
5603
5824
|
addResourceBundle(e, t, s, n, o) {
|
|
5604
|
-
let
|
|
5825
|
+
let c = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : {
|
|
5605
5826
|
silent: !1,
|
|
5606
5827
|
skipCopy: !1
|
|
5607
5828
|
}, a = [e, t];
|
|
5608
5829
|
e.indexOf(".") > -1 && (a = e.split("."), n = s, s = t, t = a[1]), this.addNamespaces(t);
|
|
5609
5830
|
let C = u1(this.data, a) || {};
|
|
5610
|
-
|
|
5831
|
+
c.skipCopy || (s = JSON.parse(JSON.stringify(s))), n ? s2(C, s, o) : C = {
|
|
5611
5832
|
...C,
|
|
5612
5833
|
...s
|
|
5613
|
-
}, T1(this.data, a, C),
|
|
5834
|
+
}, T1(this.data, a, C), c.silent || this.emit("added", e, t, s);
|
|
5614
5835
|
}
|
|
5615
5836
|
removeResourceBundle(e, t) {
|
|
5616
5837
|
this.hasResourceBundle(e, t) && delete this.data[e][t], this.removeNamespaces(t), this.emit("removed", e, t);
|
|
@@ -5649,7 +5870,7 @@ const B1 = {};
|
|
|
5649
5870
|
class m1 extends L1 {
|
|
5650
5871
|
constructor(e) {
|
|
5651
5872
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
5652
|
-
super(),
|
|
5873
|
+
super(), _7(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = B.create("translator");
|
|
5653
5874
|
}
|
|
5654
5875
|
changeLanguage(e) {
|
|
5655
5876
|
e && (this.language = e);
|
|
@@ -5668,8 +5889,8 @@ class m1 extends L1 {
|
|
|
5668
5889
|
s === void 0 && (s = ":");
|
|
5669
5890
|
const n = t.keySeparator !== void 0 ? t.keySeparator : this.options.keySeparator;
|
|
5670
5891
|
let o = t.ns || this.options.defaultNS || [];
|
|
5671
|
-
const
|
|
5672
|
-
if (
|
|
5892
|
+
const c = s && e.indexOf(s) > -1, a = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !Z7(e, s, n);
|
|
5893
|
+
if (c && !a) {
|
|
5673
5894
|
const C = e.match(this.interpolator.nestingRegexp);
|
|
5674
5895
|
if (C && C.length > 0)
|
|
5675
5896
|
return {
|
|
@@ -5690,67 +5911,67 @@ class m1 extends L1 {
|
|
|
5690
5911
|
}), t || (t = {}), e == null) return "";
|
|
5691
5912
|
Array.isArray(e) || (e = [String(e)]);
|
|
5692
5913
|
const n = t.returnDetails !== void 0 ? t.returnDetails : this.options.returnDetails, o = t.keySeparator !== void 0 ? t.keySeparator : this.options.keySeparator, {
|
|
5693
|
-
key:
|
|
5914
|
+
key: c,
|
|
5694
5915
|
namespaces: a
|
|
5695
5916
|
} = this.extractFromKey(e[e.length - 1], t), C = a[a.length - 1], d = t.lng || this.language, l = t.appendNamespaceToCIMode || this.options.appendNamespaceToCIMode;
|
|
5696
5917
|
if (d && d.toLowerCase() === "cimode") {
|
|
5697
5918
|
if (l) {
|
|
5698
|
-
const
|
|
5919
|
+
const f = t.nsSeparator || this.options.nsSeparator;
|
|
5699
5920
|
return n ? {
|
|
5700
|
-
res: `${C}${
|
|
5701
|
-
usedKey:
|
|
5702
|
-
exactUsedKey:
|
|
5921
|
+
res: `${C}${f}${c}`,
|
|
5922
|
+
usedKey: c,
|
|
5923
|
+
exactUsedKey: c,
|
|
5703
5924
|
usedLng: d,
|
|
5704
5925
|
usedNS: C,
|
|
5705
5926
|
usedParams: this.getUsedParamsDetails(t)
|
|
5706
|
-
} : `${C}${
|
|
5927
|
+
} : `${C}${f}${c}`;
|
|
5707
5928
|
}
|
|
5708
5929
|
return n ? {
|
|
5709
|
-
res:
|
|
5710
|
-
usedKey:
|
|
5711
|
-
exactUsedKey:
|
|
5930
|
+
res: c,
|
|
5931
|
+
usedKey: c,
|
|
5932
|
+
exactUsedKey: c,
|
|
5712
5933
|
usedLng: d,
|
|
5713
5934
|
usedNS: C,
|
|
5714
5935
|
usedParams: this.getUsedParamsDetails(t)
|
|
5715
|
-
} :
|
|
5936
|
+
} : c;
|
|
5716
5937
|
}
|
|
5717
|
-
const
|
|
5718
|
-
let g =
|
|
5719
|
-
const
|
|
5720
|
-
if (b && g && E &&
|
|
5938
|
+
const h = this.resolve(e, t);
|
|
5939
|
+
let g = h && h.res;
|
|
5940
|
+
const p = h && h.usedKey || c, k = h && h.exactUsedKey || c, N = Object.prototype.toString.apply(g), L = ["[object Number]", "[object Function]", "[object RegExp]"], y = t.joinArrays !== void 0 ? t.joinArrays : this.options.joinArrays, b = !this.i18nFormat || this.i18nFormat.handleAsObject, E = !v(g) && typeof g != "boolean" && typeof g != "number";
|
|
5941
|
+
if (b && g && E && L.indexOf(N) < 0 && !(v(y) && Array.isArray(g))) {
|
|
5721
5942
|
if (!t.returnObjects && !this.options.returnObjects) {
|
|
5722
5943
|
this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
|
|
5723
|
-
const
|
|
5944
|
+
const f = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(p, g, {
|
|
5724
5945
|
...t,
|
|
5725
5946
|
ns: a
|
|
5726
|
-
}) : `key '${
|
|
5727
|
-
return n ? (
|
|
5947
|
+
}) : `key '${c} (${this.language})' returned an object instead of string.`;
|
|
5948
|
+
return n ? (h.res = f, h.usedParams = this.getUsedParamsDetails(t), h) : f;
|
|
5728
5949
|
}
|
|
5729
5950
|
if (o) {
|
|
5730
|
-
const
|
|
5951
|
+
const f = Array.isArray(g), M = f ? [] : {}, R = f ? k : p;
|
|
5731
5952
|
for (const x in g)
|
|
5732
5953
|
if (Object.prototype.hasOwnProperty.call(g, x)) {
|
|
5733
5954
|
const D = `${R}${o}${x}`;
|
|
5734
|
-
|
|
5955
|
+
M[x] = this.translate(D, {
|
|
5735
5956
|
...t,
|
|
5736
5957
|
joinArrays: !1,
|
|
5737
5958
|
ns: a
|
|
5738
|
-
}),
|
|
5959
|
+
}), M[x] === D && (M[x] = g[x]);
|
|
5739
5960
|
}
|
|
5740
|
-
g =
|
|
5961
|
+
g = M;
|
|
5741
5962
|
}
|
|
5742
5963
|
} else if (b && v(y) && Array.isArray(g))
|
|
5743
5964
|
g = g.join(y), g && (g = this.extendTranslation(g, e, t, s));
|
|
5744
5965
|
else {
|
|
5745
|
-
let
|
|
5966
|
+
let f = !1, M = !1;
|
|
5746
5967
|
const R = t.count !== void 0 && !v(t.count), x = m1.hasDefaultValue(t), D = R ? this.pluralResolver.getSuffix(d, t.count, t) : "", P = t.ordinal && R ? this.pluralResolver.getSuffix(d, t.count, {
|
|
5747
5968
|
ordinal: !1
|
|
5748
5969
|
}) : "", i1 = R && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), $ = i1 && t[`defaultValue${this.options.pluralSeparator}zero`] || t[`defaultValue${D}`] || t[`defaultValue${P}`] || t.defaultValue;
|
|
5749
|
-
!this.isValidLookup(g) && x && (
|
|
5750
|
-
const V = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) &&
|
|
5751
|
-
if (
|
|
5752
|
-
if (this.logger.log(Y ? "updateKey" : "missingKey", d, C,
|
|
5753
|
-
const O = this.resolve(
|
|
5970
|
+
!this.isValidLookup(g) && x && (f = !0, g = $), this.isValidLookup(g) || (M = !0, g = c);
|
|
5971
|
+
const V = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && M ? void 0 : g, Y = x && $ !== g && this.options.updateMissing;
|
|
5972
|
+
if (M || f || Y) {
|
|
5973
|
+
if (this.logger.log(Y ? "updateKey" : "missingKey", d, C, c, Y ? $ : g), o) {
|
|
5974
|
+
const O = this.resolve(c, {
|
|
5754
5975
|
...t,
|
|
5755
5976
|
keySeparator: !1
|
|
5756
5977
|
});
|
|
@@ -5769,16 +5990,16 @@ class m1 extends L1 {
|
|
|
5769
5990
|
this.options.saveMissing && (this.options.saveMissingPlurals && R ? F.forEach((O) => {
|
|
5770
5991
|
const j = this.pluralResolver.getSuffixes(O, t);
|
|
5771
5992
|
i1 && t[`defaultValue${this.options.pluralSeparator}zero`] && j.indexOf(`${this.options.pluralSeparator}zero`) < 0 && j.push(`${this.options.pluralSeparator}zero`), j.forEach((S) => {
|
|
5772
|
-
c1([O],
|
|
5993
|
+
c1([O], c + S, t[`defaultValue${S}`] || $);
|
|
5773
5994
|
});
|
|
5774
|
-
}) : c1(F,
|
|
5995
|
+
}) : c1(F, c, $));
|
|
5775
5996
|
}
|
|
5776
|
-
g = this.extendTranslation(g, e, t,
|
|
5997
|
+
g = this.extendTranslation(g, e, t, h, s), M && g === c && this.options.appendNamespaceToMissingKey && (g = `${C}:${c}`), (M || 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));
|
|
5777
5998
|
}
|
|
5778
|
-
return n ? (
|
|
5999
|
+
return n ? (h.res = g, h.usedParams = this.getUsedParamsDetails(t), h) : g;
|
|
5779
6000
|
}
|
|
5780
6001
|
extendTranslation(e, t, s, n, o) {
|
|
5781
|
-
var
|
|
6002
|
+
var c = this;
|
|
5782
6003
|
if (this.i18nFormat && this.i18nFormat.parse)
|
|
5783
6004
|
e = this.i18nFormat.parse(e, {
|
|
5784
6005
|
...this.options.interpolation.defaultVariables,
|
|
@@ -5800,18 +6021,18 @@ class m1 extends L1 {
|
|
|
5800
6021
|
const g = e.match(this.interpolator.nestingRegexp);
|
|
5801
6022
|
l = g && g.length;
|
|
5802
6023
|
}
|
|
5803
|
-
let
|
|
5804
|
-
if (this.options.interpolation.defaultVariables && (
|
|
6024
|
+
let h = s.replace && !v(s.replace) ? s.replace : s;
|
|
6025
|
+
if (this.options.interpolation.defaultVariables && (h = {
|
|
5805
6026
|
...this.options.interpolation.defaultVariables,
|
|
5806
|
-
...
|
|
5807
|
-
}), e = this.interpolator.interpolate(e,
|
|
5808
|
-
const g = e.match(this.interpolator.nestingRegexp),
|
|
5809
|
-
l <
|
|
6027
|
+
...h
|
|
6028
|
+
}), e = this.interpolator.interpolate(e, h, s.lng || this.language || n.usedLng, s), d) {
|
|
6029
|
+
const g = e.match(this.interpolator.nestingRegexp), p = g && g.length;
|
|
6030
|
+
l < p && (s.nest = !1);
|
|
5810
6031
|
}
|
|
5811
6032
|
!s.lng && this.options.compatibilityAPI !== "v1" && n && n.res && (s.lng = this.language || n.usedLng), s.nest !== !1 && (e = this.interpolator.nest(e, function() {
|
|
5812
|
-
for (var g = arguments.length,
|
|
5813
|
-
|
|
5814
|
-
return o && o[0] ===
|
|
6033
|
+
for (var g = arguments.length, p = new Array(g), k = 0; k < g; k++)
|
|
6034
|
+
p[k] = arguments[k];
|
|
6035
|
+
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);
|
|
5815
6036
|
}, s)), s.interpolation && this.interpolator.reset();
|
|
5816
6037
|
}
|
|
5817
6038
|
const a = s.postProcess || this.options.postProcess, C = v(a) ? [a] : a;
|
|
@@ -5824,40 +6045,40 @@ class m1 extends L1 {
|
|
|
5824
6045
|
} : s, this)), e;
|
|
5825
6046
|
}
|
|
5826
6047
|
resolve(e) {
|
|
5827
|
-
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s, n, o,
|
|
6048
|
+
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s, n, o, c, a;
|
|
5828
6049
|
return v(e) && (e = [e]), e.forEach((C) => {
|
|
5829
6050
|
if (this.isValidLookup(s)) return;
|
|
5830
6051
|
const d = this.extractFromKey(C, t), l = d.key;
|
|
5831
6052
|
n = l;
|
|
5832
|
-
let
|
|
5833
|
-
this.options.fallbackNS && (
|
|
5834
|
-
const g = t.count !== void 0 && !v(t.count),
|
|
5835
|
-
|
|
5836
|
-
this.isValidLookup(s) || (a =
|
|
6053
|
+
let h = d.namespaces;
|
|
6054
|
+
this.options.fallbackNS && (h = h.concat(this.options.fallbackNS));
|
|
6055
|
+
const g = t.count !== void 0 && !v(t.count), p = g && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), k = t.context !== void 0 && (v(t.context) || typeof t.context == "number") && t.context !== "", N = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
|
|
6056
|
+
h.forEach((L) => {
|
|
6057
|
+
this.isValidLookup(s) || (a = L, !B1[`${N[0]}-${L}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(a) && (B1[`${N[0]}-${L}`] = !0, this.logger.warn(`key "${n}" for languages "${N.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!!!")), N.forEach((y) => {
|
|
5837
6058
|
if (this.isValidLookup(s)) return;
|
|
5838
|
-
|
|
6059
|
+
c = y;
|
|
5839
6060
|
const b = [l];
|
|
5840
6061
|
if (this.i18nFormat && this.i18nFormat.addLookupKeys)
|
|
5841
|
-
this.i18nFormat.addLookupKeys(b, l, y,
|
|
6062
|
+
this.i18nFormat.addLookupKeys(b, l, y, L, t);
|
|
5842
6063
|
else {
|
|
5843
|
-
let
|
|
5844
|
-
g && (
|
|
5845
|
-
const
|
|
5846
|
-
if (g && (b.push(l +
|
|
6064
|
+
let f;
|
|
6065
|
+
g && (f = this.pluralResolver.getSuffix(y, t.count, t));
|
|
6066
|
+
const M = `${this.options.pluralSeparator}zero`, R = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
|
|
6067
|
+
if (g && (b.push(l + f), t.ordinal && f.indexOf(R) === 0 && b.push(l + f.replace(R, this.options.pluralSeparator)), p && b.push(l + M)), k) {
|
|
5847
6068
|
const x = `${l}${this.options.contextSeparator}${t.context}`;
|
|
5848
|
-
b.push(x), g && (b.push(x +
|
|
6069
|
+
b.push(x), g && (b.push(x + f), t.ordinal && f.indexOf(R) === 0 && b.push(x + f.replace(R, this.options.pluralSeparator)), p && b.push(x + M));
|
|
5849
6070
|
}
|
|
5850
6071
|
}
|
|
5851
6072
|
let E;
|
|
5852
6073
|
for (; E = b.pop(); )
|
|
5853
|
-
this.isValidLookup(s) || (o = E, s = this.getResource(y,
|
|
6074
|
+
this.isValidLookup(s) || (o = E, s = this.getResource(y, L, E, t));
|
|
5854
6075
|
}));
|
|
5855
6076
|
});
|
|
5856
6077
|
}), {
|
|
5857
6078
|
res: s,
|
|
5858
6079
|
usedKey: n,
|
|
5859
6080
|
exactUsedKey: o,
|
|
5860
|
-
usedLng:
|
|
6081
|
+
usedLng: c,
|
|
5861
6082
|
usedNS: a
|
|
5862
6083
|
};
|
|
5863
6084
|
}
|
|
@@ -5898,12 +6119,12 @@ class P1 {
|
|
|
5898
6119
|
this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = B.create("languageUtils");
|
|
5899
6120
|
}
|
|
5900
6121
|
getScriptPartFromCode(e) {
|
|
5901
|
-
if (e =
|
|
6122
|
+
if (e = p1(e), !e || e.indexOf("-") < 0) return null;
|
|
5902
6123
|
const t = e.split("-");
|
|
5903
6124
|
return t.length === 2 || (t.pop(), t[t.length - 1].toLowerCase() === "x") ? null : this.formatLanguageCode(t.join("-"));
|
|
5904
6125
|
}
|
|
5905
6126
|
getLanguagePartFromCode(e) {
|
|
5906
|
-
if (e =
|
|
6127
|
+
if (e = p1(e), !e || e.indexOf("-") < 0) return e;
|
|
5907
6128
|
const t = e.split("-");
|
|
5908
6129
|
return this.formatLanguageCode(t[0]);
|
|
5909
6130
|
}
|
|
@@ -5950,15 +6171,15 @@ class P1 {
|
|
|
5950
6171
|
return s || (s = e[this.getScriptPartFromCode(t)]), s || (s = e[this.formatLanguageCode(t)]), s || (s = e[this.getLanguagePartFromCode(t)]), s || (s = e.default), s || [];
|
|
5951
6172
|
}
|
|
5952
6173
|
toResolveHierarchy(e, t) {
|
|
5953
|
-
const s = this.getFallbackCodes(t || this.options.fallbackLng || [], e), n = [], o = (
|
|
5954
|
-
|
|
6174
|
+
const s = this.getFallbackCodes(t || this.options.fallbackLng || [], e), n = [], o = (c) => {
|
|
6175
|
+
c && (this.isSupportedCode(c) ? n.push(c) : this.logger.warn(`rejecting language code not found in supportedLngs: ${c}`));
|
|
5955
6176
|
};
|
|
5956
|
-
return v(e) && (e.indexOf("-") > -1 || e.indexOf("_") > -1) ? (this.options.load !== "languageOnly" && o(this.formatLanguageCode(e)), this.options.load !== "languageOnly" && this.options.load !== "currentOnly" && o(this.getScriptPartFromCode(e)), this.options.load !== "currentOnly" && o(this.getLanguagePartFromCode(e))) : v(e) && o(this.formatLanguageCode(e)), s.forEach((
|
|
5957
|
-
n.indexOf(
|
|
6177
|
+
return v(e) && (e.indexOf("-") > -1 || e.indexOf("_") > -1) ? (this.options.load !== "languageOnly" && o(this.formatLanguageCode(e)), this.options.load !== "languageOnly" && this.options.load !== "currentOnly" && o(this.getScriptPartFromCode(e)), this.options.load !== "currentOnly" && o(this.getLanguagePartFromCode(e))) : v(e) && o(this.formatLanguageCode(e)), s.forEach((c) => {
|
|
6178
|
+
n.indexOf(c) < 0 && o(this.formatLanguageCode(c));
|
|
5958
6179
|
}), n;
|
|
5959
6180
|
}
|
|
5960
6181
|
}
|
|
5961
|
-
let
|
|
6182
|
+
let S7 = [{
|
|
5962
6183
|
lngs: ["ach", "ak", "am", "arn", "br", "fil", "gun", "ln", "mfe", "mg", "mi", "oc", "pt", "pt-BR", "tg", "tl", "ti", "tr", "uz", "wa"],
|
|
5963
6184
|
nr: [1, 2],
|
|
5964
6185
|
fc: 1
|
|
@@ -6050,7 +6271,7 @@ let y7 = [{
|
|
|
6050
6271
|
lngs: ["he", "iw"],
|
|
6051
6272
|
nr: [1, 2, 20, 21],
|
|
6052
6273
|
fc: 22
|
|
6053
|
-
}],
|
|
6274
|
+
}], D7 = {
|
|
6054
6275
|
1: (i) => +(i > 1),
|
|
6055
6276
|
2: (i) => +(i != 1),
|
|
6056
6277
|
3: (i) => 0,
|
|
@@ -6074,28 +6295,28 @@ let y7 = [{
|
|
|
6074
6295
|
21: (i) => i % 100 == 1 ? 1 : i % 100 == 2 ? 2 : i % 100 == 3 || i % 100 == 4 ? 3 : 0,
|
|
6075
6296
|
22: (i) => i == 1 ? 0 : i == 2 ? 1 : (i < 0 || i > 10) && i % 10 == 0 ? 2 : 3
|
|
6076
6297
|
};
|
|
6077
|
-
const
|
|
6298
|
+
const G7 = ["v1", "v2", "v3"], T7 = ["v4"], Y1 = {
|
|
6078
6299
|
zero: 0,
|
|
6079
6300
|
one: 1,
|
|
6080
6301
|
two: 2,
|
|
6081
6302
|
few: 3,
|
|
6082
6303
|
many: 4,
|
|
6083
6304
|
other: 5
|
|
6084
|
-
},
|
|
6305
|
+
}, K7 = () => {
|
|
6085
6306
|
const i = {};
|
|
6086
|
-
return
|
|
6307
|
+
return S7.forEach((e) => {
|
|
6087
6308
|
e.lngs.forEach((t) => {
|
|
6088
6309
|
i[t] = {
|
|
6089
6310
|
numbers: e.nr,
|
|
6090
|
-
plurals:
|
|
6311
|
+
plurals: D7[e.fc]
|
|
6091
6312
|
};
|
|
6092
6313
|
});
|
|
6093
6314
|
}), i;
|
|
6094
6315
|
};
|
|
6095
|
-
class
|
|
6316
|
+
class B7 {
|
|
6096
6317
|
constructor(e) {
|
|
6097
6318
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
6098
|
-
this.languageUtils = e, this.options = t, this.logger = B.create("pluralResolver"), (!this.options.compatibilityJSON ||
|
|
6319
|
+
this.languageUtils = e, this.options = t, this.logger = B.create("pluralResolver"), (!this.options.compatibilityJSON || T7.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 = K7(), this.pluralRulesCache = {};
|
|
6099
6320
|
}
|
|
6100
6321
|
addRule(e, t) {
|
|
6101
6322
|
this.rules[e] = t;
|
|
@@ -6106,23 +6327,23 @@ class A7 {
|
|
|
6106
6327
|
getRule(e) {
|
|
6107
6328
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
6108
6329
|
if (this.shouldUseIntlApi()) {
|
|
6109
|
-
const s =
|
|
6330
|
+
const s = p1(e === "dev" ? "en" : e), n = t.ordinal ? "ordinal" : "cardinal", o = JSON.stringify({
|
|
6110
6331
|
cleanedCode: s,
|
|
6111
6332
|
type: n
|
|
6112
6333
|
});
|
|
6113
6334
|
if (o in this.pluralRulesCache)
|
|
6114
6335
|
return this.pluralRulesCache[o];
|
|
6115
|
-
let
|
|
6336
|
+
let c;
|
|
6116
6337
|
try {
|
|
6117
|
-
|
|
6338
|
+
c = new Intl.PluralRules(s, {
|
|
6118
6339
|
type: n
|
|
6119
6340
|
});
|
|
6120
6341
|
} catch {
|
|
6121
6342
|
if (!e.match(/-|_/)) return;
|
|
6122
6343
|
const C = this.languageUtils.getLanguagePartFromCode(e);
|
|
6123
|
-
|
|
6344
|
+
c = this.getRule(C, t);
|
|
6124
6345
|
}
|
|
6125
|
-
return this.pluralRulesCache[o] =
|
|
6346
|
+
return this.pluralRulesCache[o] = c, c;
|
|
6126
6347
|
}
|
|
6127
6348
|
return this.rules[e] || this.rules[this.languageUtils.getLanguagePartFromCode(e)];
|
|
6128
6349
|
}
|
|
@@ -6153,14 +6374,14 @@ class A7 {
|
|
|
6153
6374
|
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();
|
|
6154
6375
|
}
|
|
6155
6376
|
shouldUseIntlApi() {
|
|
6156
|
-
return !
|
|
6377
|
+
return !G7.includes(this.options.compatibilityJSON);
|
|
6157
6378
|
}
|
|
6158
6379
|
}
|
|
6159
6380
|
const j1 = function(i, e, t) {
|
|
6160
|
-
let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", n = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, o =
|
|
6161
|
-
return !o && n && v(t) && (o =
|
|
6381
|
+
let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", n = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, o = y7(i, e, t);
|
|
6382
|
+
return !o && n && v(t) && (o = _1(i, t, s), o === void 0 && (o = _1(e, t, s))), o;
|
|
6162
6383
|
}, R1 = (i) => i.replace(/\$/g, "$$$$");
|
|
6163
|
-
class
|
|
6384
|
+
class P7 {
|
|
6164
6385
|
constructor() {
|
|
6165
6386
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
6166
6387
|
this.logger = B.create("interpolator"), this.options = e, this.format = e.interpolation && e.interpolation.format || ((t) => t), this.init(e);
|
|
@@ -6175,21 +6396,21 @@ class Z7 {
|
|
|
6175
6396
|
escapeValue: s,
|
|
6176
6397
|
useRawValueToEscape: n,
|
|
6177
6398
|
prefix: o,
|
|
6178
|
-
prefixEscaped:
|
|
6399
|
+
prefixEscaped: c,
|
|
6179
6400
|
suffix: a,
|
|
6180
6401
|
suffixEscaped: C,
|
|
6181
6402
|
formatSeparator: d,
|
|
6182
6403
|
unescapeSuffix: l,
|
|
6183
|
-
unescapePrefix:
|
|
6404
|
+
unescapePrefix: h,
|
|
6184
6405
|
nestingPrefix: g,
|
|
6185
|
-
nestingPrefixEscaped:
|
|
6406
|
+
nestingPrefixEscaped: p,
|
|
6186
6407
|
nestingSuffix: k,
|
|
6187
6408
|
nestingSuffixEscaped: N,
|
|
6188
|
-
nestingOptionsSeparator:
|
|
6409
|
+
nestingOptionsSeparator: L,
|
|
6189
6410
|
maxReplaces: y,
|
|
6190
6411
|
alwaysFormat: b
|
|
6191
6412
|
} = e.interpolation;
|
|
6192
|
-
this.escape = t !== void 0 ? t :
|
|
6413
|
+
this.escape = t !== void 0 ? t : E7, this.escapeValue = s !== void 0 ? s : !0, this.useRawValueToEscape = n !== void 0 ? n : !1, this.prefix = o ? X(o) : c || "{{", this.suffix = a ? X(a) : C || "}}", this.formatSeparator = d || ",", this.unescapePrefix = l ? "" : h || "-", this.unescapeSuffix = this.unescapePrefix ? "" : l || "", this.nestingPrefix = g ? X(g) : p || X("$t("), this.nestingSuffix = k ? X(k) : N || X(")"), this.nestingOptionsSeparator = L || ",", this.maxReplaces = y || 1e3, this.alwaysFormat = b !== void 0 ? b : !1, this.resetRegExp();
|
|
6193
6414
|
}
|
|
6194
6415
|
reset() {
|
|
6195
6416
|
this.options && this.init(this.options);
|
|
@@ -6199,84 +6420,84 @@ class Z7 {
|
|
|
6199
6420
|
this.regexp = e(this.regexp, `${this.prefix}(.+?)${this.suffix}`), this.regexpUnescape = e(this.regexpUnescape, `${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`), this.nestingRegexp = e(this.nestingRegexp, `${this.nestingPrefix}(.+?)${this.nestingSuffix}`);
|
|
6200
6421
|
}
|
|
6201
6422
|
interpolate(e, t, s, n) {
|
|
6202
|
-
let o,
|
|
6203
|
-
const C = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, d = (
|
|
6204
|
-
if (
|
|
6205
|
-
const y = j1(t, C,
|
|
6423
|
+
let o, c, a;
|
|
6424
|
+
const C = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, d = (p) => {
|
|
6425
|
+
if (p.indexOf(this.formatSeparator) < 0) {
|
|
6426
|
+
const y = j1(t, C, p, this.options.keySeparator, this.options.ignoreJSONStructure);
|
|
6206
6427
|
return this.alwaysFormat ? this.format(y, void 0, s, {
|
|
6207
6428
|
...n,
|
|
6208
6429
|
...t,
|
|
6209
|
-
interpolationkey:
|
|
6430
|
+
interpolationkey: p
|
|
6210
6431
|
}) : y;
|
|
6211
6432
|
}
|
|
6212
|
-
const k =
|
|
6213
|
-
return this.format(j1(t, C, N, this.options.keySeparator, this.options.ignoreJSONStructure),
|
|
6433
|
+
const k = p.split(this.formatSeparator), N = k.shift().trim(), L = k.join(this.formatSeparator).trim();
|
|
6434
|
+
return this.format(j1(t, C, N, this.options.keySeparator, this.options.ignoreJSONStructure), L, s, {
|
|
6214
6435
|
...n,
|
|
6215
6436
|
...t,
|
|
6216
6437
|
interpolationkey: N
|
|
6217
6438
|
});
|
|
6218
6439
|
};
|
|
6219
6440
|
this.resetRegExp();
|
|
6220
|
-
const l = n && n.missingInterpolationHandler || this.options.missingInterpolationHandler,
|
|
6441
|
+
const l = n && n.missingInterpolationHandler || this.options.missingInterpolationHandler, h = n && n.interpolation && n.interpolation.skipOnVariables !== void 0 ? n.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables;
|
|
6221
6442
|
return [{
|
|
6222
6443
|
regex: this.regexpUnescape,
|
|
6223
|
-
safeValue: (
|
|
6444
|
+
safeValue: (p) => R1(p)
|
|
6224
6445
|
}, {
|
|
6225
6446
|
regex: this.regexp,
|
|
6226
|
-
safeValue: (
|
|
6227
|
-
}].forEach((
|
|
6228
|
-
for (a = 0; o =
|
|
6447
|
+
safeValue: (p) => this.escapeValue ? R1(this.escape(p)) : R1(p)
|
|
6448
|
+
}].forEach((p) => {
|
|
6449
|
+
for (a = 0; o = p.regex.exec(e); ) {
|
|
6229
6450
|
const k = o[1].trim();
|
|
6230
|
-
if (
|
|
6451
|
+
if (c = d(k), c === void 0)
|
|
6231
6452
|
if (typeof l == "function") {
|
|
6232
|
-
const
|
|
6233
|
-
|
|
6453
|
+
const L = l(e, o, n);
|
|
6454
|
+
c = v(L) ? L : "";
|
|
6234
6455
|
} else if (n && Object.prototype.hasOwnProperty.call(n, k))
|
|
6235
|
-
|
|
6236
|
-
else if (
|
|
6237
|
-
|
|
6456
|
+
c = "";
|
|
6457
|
+
else if (h) {
|
|
6458
|
+
c = o[0];
|
|
6238
6459
|
continue;
|
|
6239
6460
|
} else
|
|
6240
|
-
this.logger.warn(`missed to pass in variable ${k} for interpolating ${e}`),
|
|
6241
|
-
else !v(
|
|
6242
|
-
const N =
|
|
6243
|
-
if (e = e.replace(o[0], N),
|
|
6461
|
+
this.logger.warn(`missed to pass in variable ${k} for interpolating ${e}`), c = "";
|
|
6462
|
+
else !v(c) && !this.useRawValueToEscape && (c = S1(c));
|
|
6463
|
+
const N = p.safeValue(c);
|
|
6464
|
+
if (e = e.replace(o[0], N), h ? (p.regex.lastIndex += c.length, p.regex.lastIndex -= o[0].length) : p.regex.lastIndex = 0, a++, a >= this.maxReplaces)
|
|
6244
6465
|
break;
|
|
6245
6466
|
}
|
|
6246
6467
|
}), e;
|
|
6247
6468
|
}
|
|
6248
6469
|
nest(e, t) {
|
|
6249
|
-
let s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, n, o,
|
|
6470
|
+
let s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, n, o, c;
|
|
6250
6471
|
const a = (C, d) => {
|
|
6251
6472
|
const l = this.nestingOptionsSeparator;
|
|
6252
6473
|
if (C.indexOf(l) < 0) return C;
|
|
6253
|
-
const
|
|
6254
|
-
let g = `{${
|
|
6255
|
-
C =
|
|
6256
|
-
const
|
|
6257
|
-
(
|
|
6474
|
+
const h = C.split(new RegExp(`${l}[ ]*{`));
|
|
6475
|
+
let g = `{${h[1]}`;
|
|
6476
|
+
C = h[0], g = this.interpolate(g, c);
|
|
6477
|
+
const p = g.match(/'/g), k = g.match(/"/g);
|
|
6478
|
+
(p && p.length % 2 === 0 && !k || k.length % 2 !== 0) && (g = g.replace(/'/g, '"'));
|
|
6258
6479
|
try {
|
|
6259
|
-
|
|
6480
|
+
c = JSON.parse(g), d && (c = {
|
|
6260
6481
|
...d,
|
|
6261
|
-
...
|
|
6482
|
+
...c
|
|
6262
6483
|
});
|
|
6263
6484
|
} catch (N) {
|
|
6264
6485
|
return this.logger.warn(`failed parsing options string in nesting for key ${C}`, N), `${C}${l}${g}`;
|
|
6265
6486
|
}
|
|
6266
|
-
return
|
|
6487
|
+
return c.defaultValue && c.defaultValue.indexOf(this.prefix) > -1 && delete c.defaultValue, C;
|
|
6267
6488
|
};
|
|
6268
6489
|
for (; n = this.nestingRegexp.exec(e); ) {
|
|
6269
6490
|
let C = [];
|
|
6270
|
-
|
|
6491
|
+
c = {
|
|
6271
6492
|
...s
|
|
6272
|
-
},
|
|
6493
|
+
}, c = c.replace && !v(c.replace) ? c.replace : c, c.applyPostProcessor = !1, delete c.defaultValue;
|
|
6273
6494
|
let d = !1;
|
|
6274
6495
|
if (n[0].indexOf(this.formatSeparator) !== -1 && !/{.*}/.test(n[1])) {
|
|
6275
|
-
const l = n[1].split(this.formatSeparator).map((
|
|
6496
|
+
const l = n[1].split(this.formatSeparator).map((h) => h.trim());
|
|
6276
6497
|
n[1] = l.shift(), C = l, d = !0;
|
|
6277
6498
|
}
|
|
6278
|
-
if (o = t(a.call(this, n[1].trim(),
|
|
6279
|
-
v(o) || (o = S1(o)), o || (this.logger.warn(`missed to resolve ${n[1]} for nesting ${e}`), o = ""), d && (o = C.reduce((l,
|
|
6499
|
+
if (o = t(a.call(this, n[1].trim(), c), c), o && n[0] === e && !v(o)) return o;
|
|
6500
|
+
v(o) || (o = S1(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, {
|
|
6280
6501
|
...s,
|
|
6281
6502
|
interpolationkey: n[1].trim()
|
|
6282
6503
|
}), o.trim())), e = e.replace(n[0], o), this.regexp.lastIndex = 0;
|
|
@@ -6284,16 +6505,16 @@ class Z7 {
|
|
|
6284
6505
|
return e;
|
|
6285
6506
|
}
|
|
6286
6507
|
}
|
|
6287
|
-
const
|
|
6508
|
+
const Y7 = (i) => {
|
|
6288
6509
|
let e = i.toLowerCase().trim();
|
|
6289
6510
|
const t = {};
|
|
6290
6511
|
if (i.indexOf("(") > -1) {
|
|
6291
6512
|
const s = i.split("(");
|
|
6292
6513
|
e = s[0].toLowerCase().trim();
|
|
6293
6514
|
const n = s[1].substring(0, s[1].length - 1);
|
|
6294
|
-
e === "currency" && n.indexOf(":") < 0 ? t.currency || (t.currency = n.trim()) : e === "relativetime" && n.indexOf(":") < 0 ? t.range || (t.range = n.trim()) : n.split(";").forEach((
|
|
6295
|
-
if (
|
|
6296
|
-
const [a, ...C] =
|
|
6515
|
+
e === "currency" && n.indexOf(":") < 0 ? t.currency || (t.currency = n.trim()) : e === "relativetime" && n.indexOf(":") < 0 ? t.range || (t.range = n.trim()) : n.split(";").forEach((c) => {
|
|
6516
|
+
if (c) {
|
|
6517
|
+
const [a, ...C] = c.split(":"), d = C.join(":").trim().replace(/^'+|'+$/g, ""), l = a.trim();
|
|
6297
6518
|
t[l] || (t[l] = d), d === "false" && (t[l] = !1), d === "true" && (t[l] = !0), isNaN(d) || (t[l] = parseInt(d, 10));
|
|
6298
6519
|
}
|
|
6299
6520
|
});
|
|
@@ -6310,12 +6531,12 @@ const O7 = (i) => {
|
|
|
6310
6531
|
...o,
|
|
6311
6532
|
[n.interpolationkey]: void 0
|
|
6312
6533
|
});
|
|
6313
|
-
const
|
|
6314
|
-
let a = e[
|
|
6315
|
-
return a || (a = i(
|
|
6534
|
+
const c = s + JSON.stringify(o);
|
|
6535
|
+
let a = e[c];
|
|
6536
|
+
return a || (a = i(p1(s), n), e[c] = a), a(t);
|
|
6316
6537
|
};
|
|
6317
6538
|
};
|
|
6318
|
-
class
|
|
6539
|
+
class j7 {
|
|
6319
6540
|
constructor() {
|
|
6320
6541
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
6321
6542
|
this.logger = B.create("formatter"), this.options = e, this.formats = {
|
|
@@ -6375,12 +6596,12 @@ class S7 {
|
|
|
6375
6596
|
const {
|
|
6376
6597
|
formatName: d,
|
|
6377
6598
|
formatOptions: l
|
|
6378
|
-
} =
|
|
6599
|
+
} = Y7(C);
|
|
6379
6600
|
if (this.formats[d]) {
|
|
6380
|
-
let
|
|
6601
|
+
let h = a;
|
|
6381
6602
|
try {
|
|
6382
|
-
const g = n && n.formatParams && n.formatParams[n.interpolationkey] || {},
|
|
6383
|
-
|
|
6603
|
+
const g = n && n.formatParams && n.formatParams[n.interpolationkey] || {}, p = g.locale || g.lng || n.locale || n.lng || s;
|
|
6604
|
+
h = this.formats[d](a, p, {
|
|
6384
6605
|
...l,
|
|
6385
6606
|
...n,
|
|
6386
6607
|
...g
|
|
@@ -6388,61 +6609,61 @@ class S7 {
|
|
|
6388
6609
|
} catch (g) {
|
|
6389
6610
|
this.logger.warn(g);
|
|
6390
6611
|
}
|
|
6391
|
-
return
|
|
6612
|
+
return h;
|
|
6392
6613
|
} else
|
|
6393
6614
|
this.logger.warn(`there was no format function for ${d}`);
|
|
6394
6615
|
return a;
|
|
6395
6616
|
}, e);
|
|
6396
6617
|
}
|
|
6397
6618
|
}
|
|
6398
|
-
const
|
|
6619
|
+
const $7 = (i, e) => {
|
|
6399
6620
|
i.pending[e] !== void 0 && (delete i.pending[e], i.pendingCount--);
|
|
6400
6621
|
};
|
|
6401
|
-
class
|
|
6622
|
+
class F7 extends L1 {
|
|
6402
6623
|
constructor(e, t, s) {
|
|
6403
6624
|
let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
|
|
6404
6625
|
super(), this.backend = e, this.store = t, this.services = s, this.languageUtils = s.languageUtils, this.options = n, this.logger = B.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);
|
|
6405
6626
|
}
|
|
6406
6627
|
queueLoad(e, t, s, n) {
|
|
6407
|
-
const o = {},
|
|
6628
|
+
const o = {}, c = {}, a = {}, C = {};
|
|
6408
6629
|
return e.forEach((d) => {
|
|
6409
6630
|
let l = !0;
|
|
6410
|
-
t.forEach((
|
|
6411
|
-
const g = `${d}|${
|
|
6412
|
-
!s.reload && this.store.hasResourceBundle(d,
|
|
6631
|
+
t.forEach((h) => {
|
|
6632
|
+
const g = `${d}|${h}`;
|
|
6633
|
+
!s.reload && this.store.hasResourceBundle(d, h) ? this.state[g] = 2 : this.state[g] < 0 || (this.state[g] === 1 ? c[g] === void 0 && (c[g] = !0) : (this.state[g] = 1, l = !1, c[g] === void 0 && (c[g] = !0), o[g] === void 0 && (o[g] = !0), C[h] === void 0 && (C[h] = !0)));
|
|
6413
6634
|
}), l || (a[d] = !0);
|
|
6414
|
-
}), (Object.keys(o).length || Object.keys(
|
|
6415
|
-
pending:
|
|
6416
|
-
pendingCount: Object.keys(
|
|
6635
|
+
}), (Object.keys(o).length || Object.keys(c).length) && this.queue.push({
|
|
6636
|
+
pending: c,
|
|
6637
|
+
pendingCount: Object.keys(c).length,
|
|
6417
6638
|
loaded: {},
|
|
6418
6639
|
errors: [],
|
|
6419
6640
|
callback: n
|
|
6420
6641
|
}), {
|
|
6421
6642
|
toLoad: Object.keys(o),
|
|
6422
|
-
pending: Object.keys(
|
|
6643
|
+
pending: Object.keys(c),
|
|
6423
6644
|
toLoadLanguages: Object.keys(a),
|
|
6424
6645
|
toLoadNamespaces: Object.keys(C)
|
|
6425
6646
|
};
|
|
6426
6647
|
}
|
|
6427
6648
|
loaded(e, t, s) {
|
|
6428
|
-
const n = e.split("|"), o = n[0],
|
|
6429
|
-
t && this.emit("failedLoading", o,
|
|
6649
|
+
const n = e.split("|"), o = n[0], c = n[1];
|
|
6650
|
+
t && this.emit("failedLoading", o, c, t), !t && s && this.store.addResourceBundle(o, c, s, void 0, void 0, {
|
|
6430
6651
|
skipCopy: !0
|
|
6431
6652
|
}), this.state[e] = t ? -1 : 2, t && s && (this.state[e] = 0);
|
|
6432
6653
|
const a = {};
|
|
6433
6654
|
this.queue.forEach((C) => {
|
|
6434
|
-
|
|
6655
|
+
b7(C.loaded, [o], c), $7(C, e), t && C.errors.push(t), C.pendingCount === 0 && !C.done && (Object.keys(C.loaded).forEach((d) => {
|
|
6435
6656
|
a[d] || (a[d] = {});
|
|
6436
6657
|
const l = C.loaded[d];
|
|
6437
|
-
l.length && l.forEach((
|
|
6438
|
-
a[d][
|
|
6658
|
+
l.length && l.forEach((h) => {
|
|
6659
|
+
a[d][h] === void 0 && (a[d][h] = !0);
|
|
6439
6660
|
});
|
|
6440
6661
|
}), C.done = !0, C.errors.length ? C.callback(C.errors) : C.callback());
|
|
6441
6662
|
}), this.emit("loaded", a), this.queue = this.queue.filter((C) => !C.done);
|
|
6442
6663
|
}
|
|
6443
6664
|
read(e, t, s) {
|
|
6444
|
-
let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : 0, o = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : this.retryTimeout,
|
|
6445
|
-
if (!e.length) return
|
|
6665
|
+
let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : 0, o = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : this.retryTimeout, c = arguments.length > 5 ? arguments[5] : void 0;
|
|
6666
|
+
if (!e.length) return c(null, {});
|
|
6446
6667
|
if (this.readingCalls >= this.maxParallelReads) {
|
|
6447
6668
|
this.waitingReads.push({
|
|
6448
6669
|
lng: e,
|
|
@@ -6450,23 +6671,23 @@ class G7 extends L1 {
|
|
|
6450
6671
|
fcName: s,
|
|
6451
6672
|
tried: n,
|
|
6452
6673
|
wait: o,
|
|
6453
|
-
callback:
|
|
6674
|
+
callback: c
|
|
6454
6675
|
});
|
|
6455
6676
|
return;
|
|
6456
6677
|
}
|
|
6457
6678
|
this.readingCalls++;
|
|
6458
6679
|
const a = (d, l) => {
|
|
6459
6680
|
if (this.readingCalls--, this.waitingReads.length > 0) {
|
|
6460
|
-
const
|
|
6461
|
-
this.read(
|
|
6681
|
+
const h = this.waitingReads.shift();
|
|
6682
|
+
this.read(h.lng, h.ns, h.fcName, h.tried, h.wait, h.callback);
|
|
6462
6683
|
}
|
|
6463
6684
|
if (d && l && n < this.maxRetries) {
|
|
6464
6685
|
setTimeout(() => {
|
|
6465
|
-
this.read.call(this, e, t, s, n + 1, o * 2,
|
|
6686
|
+
this.read.call(this, e, t, s, n + 1, o * 2, c);
|
|
6466
6687
|
}, o);
|
|
6467
6688
|
return;
|
|
6468
6689
|
}
|
|
6469
|
-
|
|
6690
|
+
c(d, l);
|
|
6470
6691
|
}, C = this.backend[s].bind(this.backend);
|
|
6471
6692
|
if (C.length === 2) {
|
|
6472
6693
|
try {
|
|
@@ -6487,8 +6708,8 @@ class G7 extends L1 {
|
|
|
6487
6708
|
const o = this.queueLoad(e, t, s, n);
|
|
6488
6709
|
if (!o.toLoad.length)
|
|
6489
6710
|
return o.pending.length || n(), null;
|
|
6490
|
-
o.toLoad.forEach((
|
|
6491
|
-
this.loadOne(
|
|
6711
|
+
o.toLoad.forEach((c) => {
|
|
6712
|
+
this.loadOne(c);
|
|
6492
6713
|
});
|
|
6493
6714
|
}
|
|
6494
6715
|
load(e, t, s) {
|
|
@@ -6502,12 +6723,12 @@ class G7 extends L1 {
|
|
|
6502
6723
|
loadOne(e) {
|
|
6503
6724
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "";
|
|
6504
6725
|
const s = e.split("|"), n = s[0], o = s[1];
|
|
6505
|
-
this.read(n, o, "read", void 0, void 0, (
|
|
6506
|
-
|
|
6726
|
+
this.read(n, o, "read", void 0, void 0, (c, a) => {
|
|
6727
|
+
c && this.logger.warn(`${t}loading namespace ${o} for language ${n} failed`, c), !c && a && this.logger.log(`${t}loaded namespace ${o} for language ${n}`, a), this.loaded(e, c, a);
|
|
6507
6728
|
});
|
|
6508
6729
|
}
|
|
6509
6730
|
saveMissing(e, t, s, n, o) {
|
|
6510
|
-
let
|
|
6731
|
+
let c = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : {}, a = arguments.length > 6 && arguments[6] !== void 0 ? arguments[6] : () => {
|
|
6511
6732
|
};
|
|
6512
6733
|
if (this.services.utils && this.services.utils.hasLoadedNamespace && !this.services.utils.hasLoadedNamespace(t)) {
|
|
6513
6734
|
this.logger.warn(`did not save key "${s}" as the namespace "${t}" 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!!!");
|
|
@@ -6516,13 +6737,13 @@ class G7 extends L1 {
|
|
|
6516
6737
|
if (!(s == null || s === "")) {
|
|
6517
6738
|
if (this.backend && this.backend.create) {
|
|
6518
6739
|
const C = {
|
|
6519
|
-
...
|
|
6740
|
+
...c,
|
|
6520
6741
|
isUpdate: o
|
|
6521
6742
|
}, d = this.backend.create.bind(this.backend);
|
|
6522
6743
|
if (d.length < 6)
|
|
6523
6744
|
try {
|
|
6524
6745
|
let l;
|
|
6525
|
-
d.length === 5 ? l = d(e, t, s, n, C) : l = d(e, t, s, n), l && typeof l.then == "function" ? l.then((
|
|
6746
|
+
d.length === 5 ? l = d(e, t, s, n, C) : l = d(e, t, s, n), l && typeof l.then == "function" ? l.then((h) => a(null, h)).catch(a) : a(null, l);
|
|
6526
6747
|
} catch (l) {
|
|
6527
6748
|
a(l);
|
|
6528
6749
|
}
|
|
@@ -6590,7 +6811,7 @@ const $1 = () => ({
|
|
|
6590
6811
|
skipOnVariables: !0
|
|
6591
6812
|
}
|
|
6592
6813
|
}), F1 = (i) => (v(i.ns) && (i.ns = [i.ns]), v(i.fallbackLng) && (i.fallbackLng = [i.fallbackLng]), v(i.fallbackNS) && (i.fallbackNS = [i.fallbackNS]), i.supportedLngs && i.supportedLngs.indexOf("cimode") < 0 && (i.supportedLngs = i.supportedLngs.concat(["cimode"])), i), g1 = () => {
|
|
6593
|
-
},
|
|
6814
|
+
}, W7 = (i) => {
|
|
6594
6815
|
Object.getOwnPropertyNames(Object.getPrototypeOf(i)).forEach((t) => {
|
|
6595
6816
|
typeof i[t] == "function" && (i[t] = i[t].bind(i));
|
|
6596
6817
|
});
|
|
@@ -6600,7 +6821,7 @@ class l1 extends L1 {
|
|
|
6600
6821
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0;
|
|
6601
6822
|
if (super(), this.options = F1(e), this.services = {}, this.logger = B, this.modules = {
|
|
6602
6823
|
external: []
|
|
6603
|
-
},
|
|
6824
|
+
}, W7(this), t && !this.isInitialized && !e.isClone) {
|
|
6604
6825
|
if (!this.options.initImmediate)
|
|
6605
6826
|
return this.init(e, t), this;
|
|
6606
6827
|
setTimeout(() => {
|
|
@@ -6625,26 +6846,26 @@ class l1 extends L1 {
|
|
|
6625
6846
|
if (!this.options.isClone) {
|
|
6626
6847
|
this.modules.logger ? B.init(o(this.modules.logger), this.options) : B.init(null, this.options);
|
|
6627
6848
|
let l;
|
|
6628
|
-
this.modules.formatter ? l = this.modules.formatter : typeof Intl < "u" && (l =
|
|
6629
|
-
const
|
|
6849
|
+
this.modules.formatter ? l = this.modules.formatter : typeof Intl < "u" && (l = j7);
|
|
6850
|
+
const h = new P1(this.options);
|
|
6630
6851
|
this.store = new K1(this.options.resources, this.options);
|
|
6631
6852
|
const g = this.services;
|
|
6632
|
-
g.logger = B, g.resourceStore = this.store, g.languageUtils =
|
|
6853
|
+
g.logger = B, g.resourceStore = this.store, g.languageUtils = h, g.pluralResolver = new B7(h, {
|
|
6633
6854
|
prepend: this.options.pluralSeparator,
|
|
6634
6855
|
compatibilityJSON: this.options.compatibilityJSON,
|
|
6635
6856
|
simplifyPluralSuffix: this.options.simplifyPluralSuffix
|
|
6636
|
-
}), 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
|
|
6857
|
+
}), 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 P7(this.options), g.utils = {
|
|
6637
6858
|
hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
|
|
6638
|
-
}, g.backendConnector = new
|
|
6639
|
-
for (var k = arguments.length, N = new Array(k > 1 ? k - 1 : 0),
|
|
6640
|
-
N[
|
|
6641
|
-
e.emit(
|
|
6642
|
-
}), 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 m1(this.services, this.options), this.translator.on("*", function(
|
|
6643
|
-
for (var k = arguments.length, N = new Array(k > 1 ? k - 1 : 0),
|
|
6644
|
-
N[
|
|
6645
|
-
e.emit(
|
|
6646
|
-
}), this.modules.external.forEach((
|
|
6647
|
-
|
|
6859
|
+
}, g.backendConnector = new F7(o(this.modules.backend), g.resourceStore, g, this.options), g.backendConnector.on("*", function(p) {
|
|
6860
|
+
for (var k = arguments.length, N = new Array(k > 1 ? k - 1 : 0), L = 1; L < k; L++)
|
|
6861
|
+
N[L - 1] = arguments[L];
|
|
6862
|
+
e.emit(p, ...N);
|
|
6863
|
+
}), 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 m1(this.services, this.options), this.translator.on("*", function(p) {
|
|
6864
|
+
for (var k = arguments.length, N = new Array(k > 1 ? k - 1 : 0), L = 1; L < k; L++)
|
|
6865
|
+
N[L - 1] = arguments[L];
|
|
6866
|
+
e.emit(p, ...N);
|
|
6867
|
+
}), this.modules.external.forEach((p) => {
|
|
6868
|
+
p.init && p.init(this);
|
|
6648
6869
|
});
|
|
6649
6870
|
}
|
|
6650
6871
|
if (this.format = this.options.interpolation.format, s || (s = g1), this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
|
|
@@ -6661,8 +6882,8 @@ class l1 extends L1 {
|
|
|
6661
6882
|
};
|
|
6662
6883
|
});
|
|
6663
6884
|
const C = n1(), d = () => {
|
|
6664
|
-
const l = (
|
|
6665
|
-
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(
|
|
6885
|
+
const l = (h, g) => {
|
|
6886
|
+
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);
|
|
6666
6887
|
};
|
|
6667
6888
|
if (this.languages && this.options.compatibilityAPI !== "v1" && !this.isInitialized) return l(null, this.t.bind(this));
|
|
6668
6889
|
this.changeLanguage(this.options.lng, l);
|
|
@@ -6674,13 +6895,13 @@ class l1 extends L1 {
|
|
|
6674
6895
|
const n = v(e) ? e : this.language;
|
|
6675
6896
|
if (typeof e == "function" && (s = e), !this.options.resources || this.options.partialBundledLanguages) {
|
|
6676
6897
|
if (n && n.toLowerCase() === "cimode" && (!this.options.preload || this.options.preload.length === 0)) return s();
|
|
6677
|
-
const o = [],
|
|
6898
|
+
const o = [], c = (a) => {
|
|
6678
6899
|
if (!a || a === "cimode") return;
|
|
6679
6900
|
this.services.languageUtils.toResolveHierarchy(a).forEach((d) => {
|
|
6680
6901
|
d !== "cimode" && o.indexOf(d) < 0 && o.push(d);
|
|
6681
6902
|
});
|
|
6682
6903
|
};
|
|
6683
|
-
n ?
|
|
6904
|
+
n ? c(n) : this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((C) => c(C)), this.options.preload && this.options.preload.forEach((a) => c(a)), this.services.backendConnector.load(o, this.options.ns, (a) => {
|
|
6684
6905
|
!a && !this.resolvedLanguage && this.language && this.setResolvedLanguage(this.language), s(a);
|
|
6685
6906
|
});
|
|
6686
6907
|
} else
|
|
@@ -6714,7 +6935,7 @@ class l1 extends L1 {
|
|
|
6714
6935
|
this.emit("languageChanging", e);
|
|
6715
6936
|
const o = (C) => {
|
|
6716
6937
|
this.language = C, this.languages = this.services.languageUtils.toResolveHierarchy(C), this.resolvedLanguage = void 0, this.setResolvedLanguage(C);
|
|
6717
|
-
},
|
|
6938
|
+
}, c = (C, d) => {
|
|
6718
6939
|
d ? (o(d), this.translator.changeLanguage(d), this.isLanguageChangingTo = void 0, this.emit("languageChanged", d), this.logger.log("languageChanged", d)) : this.isLanguageChangingTo = void 0, n.resolve(function() {
|
|
6719
6940
|
return s.t(...arguments);
|
|
6720
6941
|
}), t && t(C, function() {
|
|
@@ -6724,27 +6945,27 @@ class l1 extends L1 {
|
|
|
6724
6945
|
!e && !C && this.services.languageDetector && (C = []);
|
|
6725
6946
|
const d = v(C) ? C : this.services.languageUtils.getBestMatchFromCodes(C);
|
|
6726
6947
|
d && (this.language || o(d), this.translator.language || this.translator.changeLanguage(d), this.services.languageDetector && this.services.languageDetector.cacheUserLanguage && this.services.languageDetector.cacheUserLanguage(d)), this.loadResources(d, (l) => {
|
|
6727
|
-
|
|
6948
|
+
c(l, d);
|
|
6728
6949
|
});
|
|
6729
6950
|
};
|
|
6730
6951
|
return !e && this.services.languageDetector && !this.services.languageDetector.async ? a(this.services.languageDetector.detect()) : !e && this.services.languageDetector && this.services.languageDetector.async ? this.services.languageDetector.detect.length === 0 ? this.services.languageDetector.detect().then(a) : this.services.languageDetector.detect(a) : a(e), n;
|
|
6731
6952
|
}
|
|
6732
6953
|
getFixedT(e, t, s) {
|
|
6733
6954
|
var n = this;
|
|
6734
|
-
const o = function(
|
|
6955
|
+
const o = function(c, a) {
|
|
6735
6956
|
let C;
|
|
6736
6957
|
if (typeof a != "object") {
|
|
6737
|
-
for (var d = arguments.length, l = new Array(d > 2 ? d - 2 : 0),
|
|
6738
|
-
l[
|
|
6739
|
-
C = n.options.overloadTranslationOptionHandler([
|
|
6958
|
+
for (var d = arguments.length, l = new Array(d > 2 ? d - 2 : 0), h = 2; h < d; h++)
|
|
6959
|
+
l[h - 2] = arguments[h];
|
|
6960
|
+
C = n.options.overloadTranslationOptionHandler([c, a].concat(l));
|
|
6740
6961
|
} else
|
|
6741
6962
|
C = {
|
|
6742
6963
|
...a
|
|
6743
6964
|
};
|
|
6744
6965
|
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);
|
|
6745
6966
|
const g = n.options.keySeparator || ".";
|
|
6746
|
-
let
|
|
6747
|
-
return C.keyPrefix && Array.isArray(
|
|
6967
|
+
let p;
|
|
6968
|
+
return C.keyPrefix && Array.isArray(c) ? p = c.map((k) => `${C.keyPrefix}${g}${k}`) : p = C.keyPrefix ? `${C.keyPrefix}${g}${c}` : c, n.t(p, C);
|
|
6748
6969
|
};
|
|
6749
6970
|
return v(e) ? o.lng = e : o.lngs = e, o.ns = t, o.keyPrefix = s, o;
|
|
6750
6971
|
}
|
|
@@ -6765,15 +6986,15 @@ class l1 extends L1 {
|
|
|
6765
6986
|
return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty", this.languages), !1;
|
|
6766
6987
|
const s = t.lng || this.resolvedLanguage || this.languages[0], n = this.options ? this.options.fallbackLng : !1, o = this.languages[this.languages.length - 1];
|
|
6767
6988
|
if (s.toLowerCase() === "cimode") return !0;
|
|
6768
|
-
const
|
|
6989
|
+
const c = (a, C) => {
|
|
6769
6990
|
const d = this.services.backendConnector.state[`${a}|${C}`];
|
|
6770
6991
|
return d === -1 || d === 0 || d === 2;
|
|
6771
6992
|
};
|
|
6772
6993
|
if (t.precheck) {
|
|
6773
|
-
const a = t.precheck(this,
|
|
6994
|
+
const a = t.precheck(this, c);
|
|
6774
6995
|
if (a !== void 0) return a;
|
|
6775
6996
|
}
|
|
6776
|
-
return !!(this.hasResourceBundle(s, e) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages ||
|
|
6997
|
+
return !!(this.hasResourceBundle(s, e) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages || c(s, e) && (!n || c(o, e)));
|
|
6777
6998
|
}
|
|
6778
6999
|
loadNamespaces(e, t) {
|
|
6779
7000
|
const s = n1();
|
|
@@ -6786,9 +7007,9 @@ class l1 extends L1 {
|
|
|
6786
7007
|
loadLanguages(e, t) {
|
|
6787
7008
|
const s = n1();
|
|
6788
7009
|
v(e) && (e = [e]);
|
|
6789
|
-
const n = this.options.preload || [], o = e.filter((
|
|
6790
|
-
return o.length ? (this.options.preload = n.concat(o), this.loadResources((
|
|
6791
|
-
s.resolve(), t && t(
|
|
7010
|
+
const n = this.options.preload || [], o = e.filter((c) => n.indexOf(c) < 0 && this.services.languageUtils.isSupportedCode(c));
|
|
7011
|
+
return o.length ? (this.options.preload = n.concat(o), this.loadResources((c) => {
|
|
7012
|
+
s.resolve(), t && t(c);
|
|
6792
7013
|
}), s) : (t && t(), Promise.resolve());
|
|
6793
7014
|
}
|
|
6794
7015
|
dir(e) {
|
|
@@ -6849,7 +7070,7 @@ Z.setDefaultNamespace;
|
|
|
6849
7070
|
Z.hasLoadedNamespace;
|
|
6850
7071
|
Z.loadNamespaces;
|
|
6851
7072
|
Z.loadLanguages;
|
|
6852
|
-
function
|
|
7073
|
+
function U7() {
|
|
6853
7074
|
if (console && console.warn) {
|
|
6854
7075
|
for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
|
|
6855
7076
|
e[t] = arguments[t];
|
|
@@ -6857,10 +7078,10 @@ function K7() {
|
|
|
6857
7078
|
}
|
|
6858
7079
|
}
|
|
6859
7080
|
const W1 = {};
|
|
6860
|
-
function
|
|
7081
|
+
function M1() {
|
|
6861
7082
|
for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
|
|
6862
7083
|
e[t] = arguments[t];
|
|
6863
|
-
z(e[0]) && W1[e[0]] || (z(e[0]) && (W1[e[0]] = /* @__PURE__ */ new Date()),
|
|
7084
|
+
z(e[0]) && W1[e[0]] || (z(e[0]) && (W1[e[0]] = /* @__PURE__ */ new Date()), U7(...e));
|
|
6864
7085
|
}
|
|
6865
7086
|
const r2 = (i, e) => () => {
|
|
6866
7087
|
if (i.isInitialized)
|
|
@@ -6879,24 +7100,24 @@ const r2 = (i, e) => () => {
|
|
|
6879
7100
|
z(t) && (t = [t]), t.forEach((n) => {
|
|
6880
7101
|
i.options.ns.indexOf(n) < 0 && i.options.ns.push(n);
|
|
6881
7102
|
}), i.loadLanguages(e, r2(i, s));
|
|
6882
|
-
},
|
|
7103
|
+
}, z7 = function(i, e) {
|
|
6883
7104
|
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
6884
7105
|
const s = e.languages[0], n = e.options ? e.options.fallbackLng : !1, o = e.languages[e.languages.length - 1];
|
|
6885
7106
|
if (s.toLowerCase() === "cimode") return !0;
|
|
6886
|
-
const
|
|
7107
|
+
const c = (a, C) => {
|
|
6887
7108
|
const d = e.services.backendConnector.state[`${a}|${C}`];
|
|
6888
7109
|
return d === -1 || d === 2;
|
|
6889
7110
|
};
|
|
6890
|
-
return t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && e.services.backendConnector.backend && e.isLanguageChangingTo && !
|
|
6891
|
-
},
|
|
7111
|
+
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)));
|
|
7112
|
+
}, J7 = function(i, e) {
|
|
6892
7113
|
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
6893
|
-
return !e.languages || !e.languages.length ? (
|
|
7114
|
+
return !e.languages || !e.languages.length ? (M1("i18n.languages were undefined or empty", e.languages), !0) : e.options.ignoreJSONStructure !== void 0 ? e.hasLoadedNamespace(i, {
|
|
6894
7115
|
lng: t.lng,
|
|
6895
7116
|
precheck: (n, o) => {
|
|
6896
7117
|
if (t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && n.services.backendConnector.backend && n.isLanguageChangingTo && !o(n.isLanguageChangingTo, i)) return !1;
|
|
6897
7118
|
}
|
|
6898
|
-
}) :
|
|
6899
|
-
}, z = (i) => typeof i == "string",
|
|
7119
|
+
}) : z7(i, e, t);
|
|
7120
|
+
}, z = (i) => typeof i == "string", Q7 = (i) => typeof i == "object" && i !== null, q7 = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, X7 = {
|
|
6900
7121
|
"&": "&",
|
|
6901
7122
|
"&": "&",
|
|
6902
7123
|
"<": "<",
|
|
@@ -6917,7 +7138,7 @@ const r2 = (i, e) => () => {
|
|
|
6917
7138
|
"…": "…",
|
|
6918
7139
|
"/": "/",
|
|
6919
7140
|
"/": "/"
|
|
6920
|
-
},
|
|
7141
|
+
}, e0 = (i) => X7[i], t0 = (i) => i.replace(q7, e0);
|
|
6921
7142
|
let b1 = {
|
|
6922
7143
|
bindI18n: "languageChanged",
|
|
6923
7144
|
bindI18nStore: "",
|
|
@@ -6926,25 +7147,25 @@ let b1 = {
|
|
|
6926
7147
|
transWrapTextNodes: "",
|
|
6927
7148
|
transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"],
|
|
6928
7149
|
useSuspense: !0,
|
|
6929
|
-
unescape:
|
|
7150
|
+
unescape: t0
|
|
6930
7151
|
};
|
|
6931
|
-
const
|
|
7152
|
+
const i0 = function() {
|
|
6932
7153
|
let i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
6933
7154
|
b1 = {
|
|
6934
7155
|
...b1,
|
|
6935
7156
|
...i
|
|
6936
7157
|
};
|
|
6937
|
-
},
|
|
7158
|
+
}, s0 = () => b1;
|
|
6938
7159
|
let o2;
|
|
6939
|
-
const
|
|
7160
|
+
const n0 = (i) => {
|
|
6940
7161
|
o2 = i;
|
|
6941
|
-
},
|
|
7162
|
+
}, r0 = () => o2, o0 = {
|
|
6942
7163
|
type: "3rdParty",
|
|
6943
7164
|
init(i) {
|
|
6944
|
-
|
|
7165
|
+
i0(i.options.react), n0(i);
|
|
6945
7166
|
}
|
|
6946
|
-
},
|
|
6947
|
-
class
|
|
7167
|
+
}, a0 = t1();
|
|
7168
|
+
class l0 {
|
|
6948
7169
|
constructor() {
|
|
6949
7170
|
V1(this, "getUsedNamespaces", () => Object.keys(this.usedNamespaces));
|
|
6950
7171
|
this.usedNamespaces = {};
|
|
@@ -6955,81 +7176,81 @@ class et {
|
|
|
6955
7176
|
});
|
|
6956
7177
|
}
|
|
6957
7178
|
}
|
|
6958
|
-
const
|
|
7179
|
+
const h0 = (i, e) => {
|
|
6959
7180
|
const t = J();
|
|
6960
7181
|
return A(() => {
|
|
6961
7182
|
t.current = i;
|
|
6962
7183
|
}, [i, e]), t.current;
|
|
6963
|
-
}, a2 = (i, e, t, s) => i.getFixedT(e, t, s),
|
|
7184
|
+
}, a2 = (i, e, t, s) => i.getFixedT(e, t, s), c0 = (i, e, t, s) => K(a2(i, e, t, s), [i, e, t, s]), d0 = function(i) {
|
|
6964
7185
|
let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
6965
7186
|
const {
|
|
6966
7187
|
i18n: t
|
|
6967
7188
|
} = e, {
|
|
6968
7189
|
i18n: s,
|
|
6969
7190
|
defaultNS: n
|
|
6970
|
-
} = Q(
|
|
6971
|
-
if (o && !o.reportNamespaces && (o.reportNamespaces = new
|
|
6972
|
-
|
|
6973
|
-
const
|
|
6974
|
-
return
|
|
6975
|
-
}
|
|
6976
|
-
o.options.react && o.options.react.wait !== void 0 &&
|
|
6977
|
-
const
|
|
6978
|
-
...
|
|
7191
|
+
} = Q(a0) || {}, o = t || s || r0();
|
|
7192
|
+
if (o && !o.reportNamespaces && (o.reportNamespaces = new l0()), !o) {
|
|
7193
|
+
M1("You will need to pass in an i18next instance by using initReactI18next");
|
|
7194
|
+
const f = (R, x) => z(x) ? x : Q7(x) && z(x.defaultValue) ? x.defaultValue : Array.isArray(R) ? R[R.length - 1] : R, M = [f, {}, !1];
|
|
7195
|
+
return M.t = f, M.i18n = {}, M.ready = !1, M;
|
|
7196
|
+
}
|
|
7197
|
+
o.options.react && o.options.react.wait !== void 0 && M1("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
|
|
7198
|
+
const c = {
|
|
7199
|
+
...s0(),
|
|
6979
7200
|
...o.options.react,
|
|
6980
7201
|
...e
|
|
6981
7202
|
}, {
|
|
6982
7203
|
useSuspense: a,
|
|
6983
7204
|
keyPrefix: C
|
|
6984
|
-
} =
|
|
7205
|
+
} = c;
|
|
6985
7206
|
let d = i;
|
|
6986
7207
|
d = z(d) ? [d] : d || ["translation"], o.reportNamespaces.addUsedNamespaces && o.reportNamespaces.addUsedNamespaces(d);
|
|
6987
|
-
const l = (o.isInitialized || o.initializedStoreOnce) && d.every((
|
|
6988
|
-
let
|
|
6989
|
-
e.lng && (
|
|
6990
|
-
const y =
|
|
7208
|
+
const l = (o.isInitialized || o.initializedStoreOnce) && d.every((f) => J7(f, o, c)), h = c0(o, e.lng || null, c.nsMode === "fallback" ? d : d[0], C), g = () => h, p = () => a2(o, e.lng || null, c.nsMode === "fallback" ? d : d[0], C), [k, N] = I(g);
|
|
7209
|
+
let L = d.join();
|
|
7210
|
+
e.lng && (L = `${e.lng}${L}`);
|
|
7211
|
+
const y = h0(L), b = J(!0);
|
|
6991
7212
|
A(() => {
|
|
6992
7213
|
const {
|
|
6993
|
-
bindI18n:
|
|
6994
|
-
bindI18nStore:
|
|
6995
|
-
} =
|
|
7214
|
+
bindI18n: f,
|
|
7215
|
+
bindI18nStore: M
|
|
7216
|
+
} = c;
|
|
6996
7217
|
b.current = !0, !l && !a && (e.lng ? z1(o, e.lng, d, () => {
|
|
6997
|
-
b.current && N(
|
|
7218
|
+
b.current && N(p);
|
|
6998
7219
|
}) : U1(o, d, () => {
|
|
6999
|
-
b.current && N(
|
|
7000
|
-
})), l && y && y !==
|
|
7220
|
+
b.current && N(p);
|
|
7221
|
+
})), l && y && y !== L && b.current && N(p);
|
|
7001
7222
|
const R = () => {
|
|
7002
|
-
b.current && N(
|
|
7223
|
+
b.current && N(p);
|
|
7003
7224
|
};
|
|
7004
|
-
return
|
|
7005
|
-
b.current = !1,
|
|
7225
|
+
return f && o && o.on(f, R), M && o && o.store.on(M, R), () => {
|
|
7226
|
+
b.current = !1, f && o && f.split(" ").forEach((x) => o.off(x, R)), M && o && M.split(" ").forEach((x) => o.store.off(x, R));
|
|
7006
7227
|
};
|
|
7007
|
-
}, [o,
|
|
7228
|
+
}, [o, L]), A(() => {
|
|
7008
7229
|
b.current && l && N(g);
|
|
7009
7230
|
}, [o, C, l]);
|
|
7010
7231
|
const E = [k, o, l];
|
|
7011
7232
|
if (E.t = k, E.i18n = o, E.ready = l, l || !l && !a) return E;
|
|
7012
|
-
throw new Promise((
|
|
7013
|
-
e.lng ? z1(o, e.lng, d, () =>
|
|
7233
|
+
throw new Promise((f) => {
|
|
7234
|
+
e.lng ? z1(o, e.lng, d, () => f()) : U1(o, d, () => f());
|
|
7014
7235
|
});
|
|
7015
|
-
},
|
|
7016
|
-
placeholder:
|
|
7017
|
-
},
|
|
7018
|
-
placeholder:
|
|
7236
|
+
}, C0 = "Country", g0 = {
|
|
7237
|
+
placeholder: C0
|
|
7238
|
+
}, u0 = "Страна", p0 = {
|
|
7239
|
+
placeholder: u0
|
|
7019
7240
|
};
|
|
7020
|
-
Z.use(
|
|
7241
|
+
Z.use(o0).init({
|
|
7021
7242
|
defaultNS: "common",
|
|
7022
7243
|
lng: "en",
|
|
7023
7244
|
resources: {
|
|
7024
7245
|
en: {
|
|
7025
|
-
common:
|
|
7246
|
+
common: g0
|
|
7026
7247
|
},
|
|
7027
7248
|
ru: {
|
|
7028
|
-
common:
|
|
7249
|
+
common: p0
|
|
7029
7250
|
}
|
|
7030
7251
|
}
|
|
7031
7252
|
});
|
|
7032
|
-
const
|
|
7253
|
+
const R0 = w1(
|
|
7033
7254
|
({
|
|
7034
7255
|
width: i,
|
|
7035
7256
|
selectedCity: e,
|
|
@@ -7037,33 +7258,33 @@ const ft = w1(
|
|
|
7037
7258
|
onChange: s,
|
|
7038
7259
|
value: n,
|
|
7039
7260
|
id: o,
|
|
7040
|
-
disabled:
|
|
7261
|
+
disabled: c,
|
|
7041
7262
|
required: a,
|
|
7042
7263
|
clearable: C,
|
|
7043
7264
|
error: d
|
|
7044
7265
|
}, l) => {
|
|
7045
|
-
const [
|
|
7266
|
+
const [h, g] = I([]), [p, k] = I([]), [N, L] = I(!1), { locale: y, axiosPeople: b } = Q(u2);
|
|
7046
7267
|
if (!b)
|
|
7047
7268
|
throw new Error(
|
|
7048
7269
|
`CountrySelect requires "axiosPeople" to fetch counties.
|
|
7049
7270
|
Please provide it via SNMTUiContext.`
|
|
7050
7271
|
);
|
|
7051
|
-
const { t: E } =
|
|
7052
|
-
|
|
7272
|
+
const { t: E } = d0("common", { lng: y }), f = K(async () => {
|
|
7273
|
+
L(!0);
|
|
7053
7274
|
try {
|
|
7054
7275
|
const R = await b.post("v1/countries/search");
|
|
7055
7276
|
k(R == null ? void 0 : R.data.data);
|
|
7056
7277
|
} catch {
|
|
7057
7278
|
g([]);
|
|
7058
7279
|
} finally {
|
|
7059
|
-
|
|
7280
|
+
L(!1);
|
|
7060
7281
|
}
|
|
7061
7282
|
}, [b]);
|
|
7062
7283
|
A(() => {
|
|
7063
|
-
|
|
7284
|
+
f();
|
|
7064
7285
|
}, []), A(() => {
|
|
7065
7286
|
if (e) {
|
|
7066
|
-
const R = e.split("-")[1], x =
|
|
7287
|
+
const R = e.split("-")[1], x = p.filter(
|
|
7067
7288
|
(D) => D.name.includes(R)
|
|
7068
7289
|
);
|
|
7069
7290
|
if (x.length) {
|
|
@@ -7074,27 +7295,27 @@ const ft = w1(
|
|
|
7074
7295
|
s(D[0].value);
|
|
7075
7296
|
}
|
|
7076
7297
|
}
|
|
7077
|
-
}, [e,
|
|
7078
|
-
const R =
|
|
7298
|
+
}, [e, p, s]), A(() => {
|
|
7299
|
+
const R = p.map((x) => ({
|
|
7079
7300
|
label: x.name,
|
|
7080
7301
|
value: x.name
|
|
7081
7302
|
}));
|
|
7082
7303
|
g(R);
|
|
7083
|
-
}, [
|
|
7084
|
-
const
|
|
7304
|
+
}, [p]);
|
|
7305
|
+
const M = (R) => {
|
|
7085
7306
|
R === null ? (s(""), t && t("")) : (s(R), t && t(""));
|
|
7086
7307
|
};
|
|
7087
7308
|
return /* @__PURE__ */ r("div", { className: "snmt-country-select", children: /* @__PURE__ */ r(
|
|
7088
|
-
|
|
7309
|
+
x7,
|
|
7089
7310
|
{
|
|
7090
7311
|
id: o,
|
|
7091
7312
|
width: i,
|
|
7092
7313
|
placeholder: E("placeholder"),
|
|
7093
7314
|
value: n,
|
|
7094
7315
|
ref: l,
|
|
7095
|
-
onChange:
|
|
7096
|
-
options:
|
|
7097
|
-
disabled:
|
|
7316
|
+
onChange: M,
|
|
7317
|
+
options: h,
|
|
7318
|
+
disabled: c,
|
|
7098
7319
|
isLoading: N,
|
|
7099
7320
|
required: a,
|
|
7100
7321
|
clearable: C,
|
|
@@ -7104,5 +7325,5 @@ const ft = w1(
|
|
|
7104
7325
|
}
|
|
7105
7326
|
);
|
|
7106
7327
|
export {
|
|
7107
|
-
|
|
7328
|
+
R0 as CountrySelect
|
|
7108
7329
|
};
|