@snmt-react-ui/user-select 2.6.1 → 2.6.2
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/user-select.js +936 -866
- package/package.json +4 -4
package/dist/user-select.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
var ge = Object.defineProperty;
|
|
2
|
-
var
|
|
3
|
-
var V1 = (i, e, t) =>
|
|
2
|
+
var Ce = (i, e, t) => e in i ? ge(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t;
|
|
3
|
+
var V1 = (i, e, t) => Ce(i, typeof e != "symbol" ? e + "" : e, t);
|
|
4
4
|
import "./index.css";
|
|
5
|
-
import { jsx as o, Fragment as n1, jsxs as
|
|
6
|
-
import { createContext as o1, forwardRef as k1, useState as
|
|
5
|
+
import { jsx as o, Fragment as n1, jsxs as C } from "react/jsx-runtime";
|
|
6
|
+
import { createContext as o1, forwardRef as k1, useState as W, useRef as X, useEffect as K, useCallback as D, useImperativeHandle as ue, useContext as e1 } from "react";
|
|
7
7
|
import { Select as pe, Flex as fe, Avatar as we, Checkbox as me, Typography as ke, Tag as Le, Popover as ve } from "antd";
|
|
8
8
|
import { SNMTUiContext as Ne } from "@snmt-react-ui/core";
|
|
9
9
|
var xe = Object.defineProperty, Re = (i, e, t) => e in i ? xe(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, Me = (i, e, t) => Re(i, e + "", t), be = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
@@ -39,13 +39,13 @@ const Q1 = (i, e) => () => {
|
|
|
39
39
|
}), i.loadLanguages(e, Q1(i, s));
|
|
40
40
|
}, Ee = function(i, e) {
|
|
41
41
|
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
42
|
-
const s = e.languages[0], n = e.options ? e.options.fallbackLng : !1,
|
|
42
|
+
const s = e.languages[0], n = e.options ? e.options.fallbackLng : !1, l = e.languages[e.languages.length - 1];
|
|
43
43
|
if (s.toLowerCase() === "cimode") return !0;
|
|
44
44
|
const c = (r, d) => {
|
|
45
45
|
const g = e.services.backendConnector.state[`${r}|${d}`];
|
|
46
46
|
return g === -1 || g === 2;
|
|
47
47
|
};
|
|
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(
|
|
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(l, i)));
|
|
49
49
|
}, _e = function(i, e) {
|
|
50
50
|
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
51
51
|
return !e.languages || !e.languages.length ? (M1("i18n.languages were undefined or empty", e.languages), !0) : e.options.ignoreJSONStructure !== void 0 ? e.hasLoadedNamespace(i, {
|
|
@@ -87,8 +87,8 @@ let Ae = {
|
|
|
87
87
|
unescape: Oe
|
|
88
88
|
};
|
|
89
89
|
const Be = () => Ae;
|
|
90
|
-
let
|
|
91
|
-
const
|
|
90
|
+
let Ze;
|
|
91
|
+
const We = () => Ze, je = o1();
|
|
92
92
|
class De {
|
|
93
93
|
constructor() {
|
|
94
94
|
Me(this, "getUsedNamespaces", () => Object.keys(this.usedNamespaces)), this.usedNamespaces = {};
|
|
@@ -111,24 +111,24 @@ const Te = (i, e) => {
|
|
|
111
111
|
} = e, {
|
|
112
112
|
i18n: s,
|
|
113
113
|
defaultNS: n
|
|
114
|
-
} = e1(je) || {},
|
|
115
|
-
if (
|
|
114
|
+
} = e1(je) || {}, l = t || s || We();
|
|
115
|
+
if (l && !l.reportNamespaces && (l.reportNamespaces = new De()), !l) {
|
|
116
116
|
M1("You will need to pass in an i18next instance by using initReactI18next");
|
|
117
117
|
const f = (y, w) => q(w) ? w : He(w) && q(w.defaultValue) ? w.defaultValue : Array.isArray(y) ? y[y.length - 1] : y, x = [f, {}, !1];
|
|
118
118
|
return x.t = f, x.i18n = {}, x.ready = !1, x;
|
|
119
119
|
}
|
|
120
|
-
|
|
120
|
+
l.options.react && l.options.react.wait !== void 0 && M1("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
|
|
121
121
|
const c = {
|
|
122
122
|
...Be(),
|
|
123
|
-
...
|
|
123
|
+
...l.options.react,
|
|
124
124
|
...e
|
|
125
125
|
}, {
|
|
126
126
|
useSuspense: r,
|
|
127
127
|
keyPrefix: d
|
|
128
128
|
} = c;
|
|
129
129
|
let g = i;
|
|
130
|
-
g = q(g) ? [g] : g || ["translation"],
|
|
131
|
-
const
|
|
130
|
+
g = q(g) ? [g] : g || ["translation"], l.reportNamespaces.addUsedNamespaces && l.reportNamespaces.addUsedNamespaces(g);
|
|
131
|
+
const a = (l.isInitialized || l.initializedStoreOnce) && g.every((f) => _e(f, l, c)), h = Ge(l, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), u = () => h, p = () => X1(l, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), [m, N] = W(u);
|
|
132
132
|
let k = g.join();
|
|
133
133
|
e.lng && (k = `${e.lng}${k}`);
|
|
134
134
|
const E = Te(k), R = X(!0);
|
|
@@ -137,32 +137,32 @@ const Te = (i, e) => {
|
|
|
137
137
|
bindI18n: f,
|
|
138
138
|
bindI18nStore: x
|
|
139
139
|
} = c;
|
|
140
|
-
R.current = !0, !
|
|
140
|
+
R.current = !0, !a && !r && (e.lng ? O1(l, e.lng, g, () => {
|
|
141
141
|
R.current && N(p);
|
|
142
|
-
}) : S1(
|
|
142
|
+
}) : S1(l, g, () => {
|
|
143
143
|
R.current && N(p);
|
|
144
|
-
})),
|
|
144
|
+
})), a && E && E !== k && R.current && N(p);
|
|
145
145
|
const y = () => {
|
|
146
146
|
R.current && N(p);
|
|
147
147
|
};
|
|
148
|
-
return f &&
|
|
149
|
-
R.current = !1, f &&
|
|
148
|
+
return f && l && l.on(f, y), x && l && l.store.on(x, y), () => {
|
|
149
|
+
R.current = !1, f && l && f.split(" ").forEach((w) => l.off(w, y)), x && l && x.split(" ").forEach((w) => l.store.off(w, y));
|
|
150
150
|
};
|
|
151
|
-
}, [
|
|
152
|
-
R.current &&
|
|
153
|
-
}, [
|
|
154
|
-
const _ = [m,
|
|
155
|
-
if (_.t = m, _.i18n =
|
|
151
|
+
}, [l, k]), K(() => {
|
|
152
|
+
R.current && a && N(u);
|
|
153
|
+
}, [l, d, a]);
|
|
154
|
+
const _ = [m, l, a];
|
|
155
|
+
if (_.t = m, _.i18n = l, _.ready = a, a || !a && !r) return _;
|
|
156
156
|
throw new Promise((f) => {
|
|
157
|
-
e.lng ? O1(
|
|
157
|
+
e.lng ? O1(l, e.lng, g, () => f()) : S1(l, g, () => f());
|
|
158
158
|
});
|
|
159
|
-
},
|
|
159
|
+
}, C1 = ({
|
|
160
160
|
children: i,
|
|
161
161
|
direction: e = "row",
|
|
162
162
|
flexWrap: t = "nowrap",
|
|
163
163
|
alignItems: s = "normal",
|
|
164
164
|
justifyContent: n = "normal",
|
|
165
|
-
flex:
|
|
165
|
+
flex: l,
|
|
166
166
|
gap: c,
|
|
167
167
|
padding: r
|
|
168
168
|
}) => /* @__PURE__ */ o(
|
|
@@ -173,7 +173,7 @@ const Te = (i, e) => {
|
|
|
173
173
|
wrap: t,
|
|
174
174
|
align: s,
|
|
175
175
|
justify: n,
|
|
176
|
-
flex:
|
|
176
|
+
flex: l,
|
|
177
177
|
gap: c,
|
|
178
178
|
style: { padding: r },
|
|
179
179
|
children: i
|
|
@@ -204,21 +204,21 @@ const $e = ({
|
|
|
204
204
|
children: t,
|
|
205
205
|
onChange: s,
|
|
206
206
|
disabled: n = !1,
|
|
207
|
-
disableUncheck:
|
|
207
|
+
disableUncheck: l = !1
|
|
208
208
|
}) => {
|
|
209
|
-
const [c, r] =
|
|
209
|
+
const [c, r] = W(i), [d, g] = W(e);
|
|
210
210
|
K(() => {
|
|
211
211
|
r(i), g(e);
|
|
212
212
|
}, [i, e]);
|
|
213
|
-
const { theme:
|
|
213
|
+
const { theme: a } = e1(_1);
|
|
214
214
|
return /* @__PURE__ */ o(
|
|
215
215
|
me,
|
|
216
216
|
{
|
|
217
|
-
className: `snmt-checkbox snmt-checkbox-${
|
|
217
|
+
className: `snmt-checkbox snmt-checkbox-${a}`,
|
|
218
218
|
checked: c,
|
|
219
219
|
indeterminate: d,
|
|
220
220
|
onChange: (h) => {
|
|
221
|
-
|
|
221
|
+
l && c || (g(!1), r(h.target.checked), s && s(h));
|
|
222
222
|
},
|
|
223
223
|
disabled: n,
|
|
224
224
|
children: t
|
|
@@ -291,7 +291,7 @@ const Fe = ({
|
|
|
291
291
|
color: t = "#001E52",
|
|
292
292
|
className: s,
|
|
293
293
|
onClick: n
|
|
294
|
-
}) => /* @__PURE__ */
|
|
294
|
+
}) => /* @__PURE__ */ C(
|
|
295
295
|
"svg",
|
|
296
296
|
{
|
|
297
297
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -319,7 +319,7 @@ const Fe = ({
|
|
|
319
319
|
color: t = "#001E52",
|
|
320
320
|
className: s,
|
|
321
321
|
onClick: n
|
|
322
|
-
}) => /* @__PURE__ */
|
|
322
|
+
}) => /* @__PURE__ */ C(
|
|
323
323
|
"svg",
|
|
324
324
|
{
|
|
325
325
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -354,7 +354,7 @@ const Fe = ({
|
|
|
354
354
|
color: t = "#001E52",
|
|
355
355
|
className: s,
|
|
356
356
|
onClick: n
|
|
357
|
-
}) => /* @__PURE__ */
|
|
357
|
+
}) => /* @__PURE__ */ C(
|
|
358
358
|
"svg",
|
|
359
359
|
{
|
|
360
360
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -419,7 +419,7 @@ const Fe = ({
|
|
|
419
419
|
color: t = "#001E52",
|
|
420
420
|
className: s,
|
|
421
421
|
onClick: n
|
|
422
|
-
}) => /* @__PURE__ */
|
|
422
|
+
}) => /* @__PURE__ */ C(
|
|
423
423
|
"svg",
|
|
424
424
|
{
|
|
425
425
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -440,7 +440,7 @@ const Fe = ({
|
|
|
440
440
|
color: t = "#001E52",
|
|
441
441
|
className: s,
|
|
442
442
|
onClick: n
|
|
443
|
-
}) => /* @__PURE__ */
|
|
443
|
+
}) => /* @__PURE__ */ C(
|
|
444
444
|
"svg",
|
|
445
445
|
{
|
|
446
446
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -472,7 +472,7 @@ const Fe = ({
|
|
|
472
472
|
color: t = "#001E52",
|
|
473
473
|
className: s,
|
|
474
474
|
onClick: n
|
|
475
|
-
}) => /* @__PURE__ */
|
|
475
|
+
}) => /* @__PURE__ */ C(
|
|
476
476
|
"svg",
|
|
477
477
|
{
|
|
478
478
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -526,7 +526,7 @@ const Fe = ({
|
|
|
526
526
|
color: t = "#001E52",
|
|
527
527
|
className: s,
|
|
528
528
|
onClick: n
|
|
529
|
-
}) => /* @__PURE__ */
|
|
529
|
+
}) => /* @__PURE__ */ C(
|
|
530
530
|
"svg",
|
|
531
531
|
{
|
|
532
532
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -575,7 +575,7 @@ const Fe = ({
|
|
|
575
575
|
viewBox: "0 0 16 12",
|
|
576
576
|
fill: "none",
|
|
577
577
|
xmlns: "http://www.w3.org/2000/svg",
|
|
578
|
-
children: /* @__PURE__ */
|
|
578
|
+
children: /* @__PURE__ */ C("g", { id: "Icon", children: [
|
|
579
579
|
/* @__PURE__ */ o(
|
|
580
580
|
"path",
|
|
581
581
|
{
|
|
@@ -614,7 +614,7 @@ const Fe = ({
|
|
|
614
614
|
color: t = "#001E52",
|
|
615
615
|
className: s,
|
|
616
616
|
onClick: n
|
|
617
|
-
}) => /* @__PURE__ */
|
|
617
|
+
}) => /* @__PURE__ */ C(
|
|
618
618
|
"svg",
|
|
619
619
|
{
|
|
620
620
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -658,7 +658,7 @@ const Fe = ({
|
|
|
658
658
|
viewBox: "0 0 10 10",
|
|
659
659
|
fill: "none",
|
|
660
660
|
xmlns: "http://www.w3.org/2000/svg",
|
|
661
|
-
children: /* @__PURE__ */
|
|
661
|
+
children: /* @__PURE__ */ C("g", { id: "Icon", children: [
|
|
662
662
|
/* @__PURE__ */ o(
|
|
663
663
|
"path",
|
|
664
664
|
{
|
|
@@ -687,7 +687,7 @@ const Fe = ({
|
|
|
687
687
|
color: t = "#001E52",
|
|
688
688
|
className: s,
|
|
689
689
|
onClick: n
|
|
690
|
-
}) => /* @__PURE__ */
|
|
690
|
+
}) => /* @__PURE__ */ C(
|
|
691
691
|
"svg",
|
|
692
692
|
{
|
|
693
693
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -723,7 +723,7 @@ const Fe = ({
|
|
|
723
723
|
color: t = "#001E52",
|
|
724
724
|
className: s,
|
|
725
725
|
onClick: n
|
|
726
|
-
}) => /* @__PURE__ */
|
|
726
|
+
}) => /* @__PURE__ */ C(
|
|
727
727
|
"svg",
|
|
728
728
|
{
|
|
729
729
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -755,13 +755,13 @@ const Fe = ({
|
|
|
755
755
|
/* @__PURE__ */ o("circle", { cx: "3", cy: "3", r: "3", fill: t })
|
|
756
756
|
]
|
|
757
757
|
}
|
|
758
|
-
),
|
|
758
|
+
), lt = ({
|
|
759
759
|
width: i = 20,
|
|
760
760
|
height: e = 20,
|
|
761
761
|
color: t = "#001E52",
|
|
762
762
|
className: s,
|
|
763
763
|
onClick: n
|
|
764
|
-
}) => /* @__PURE__ */
|
|
764
|
+
}) => /* @__PURE__ */ C(
|
|
765
765
|
"svg",
|
|
766
766
|
{
|
|
767
767
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -802,13 +802,13 @@ const Fe = ({
|
|
|
802
802
|
)
|
|
803
803
|
]
|
|
804
804
|
}
|
|
805
|
-
),
|
|
805
|
+
), at = ({
|
|
806
806
|
width: i = 20,
|
|
807
807
|
height: e = 20,
|
|
808
808
|
color: t = "#001E52",
|
|
809
809
|
className: s,
|
|
810
810
|
onClick: n
|
|
811
|
-
}) => /* @__PURE__ */
|
|
811
|
+
}) => /* @__PURE__ */ C(
|
|
812
812
|
"svg",
|
|
813
813
|
{
|
|
814
814
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -841,7 +841,7 @@ const Fe = ({
|
|
|
841
841
|
color: t = "#001E52",
|
|
842
842
|
className: s,
|
|
843
843
|
onClick: n
|
|
844
|
-
}) => /* @__PURE__ */
|
|
844
|
+
}) => /* @__PURE__ */ C(
|
|
845
845
|
"svg",
|
|
846
846
|
{
|
|
847
847
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -888,7 +888,7 @@ const Fe = ({
|
|
|
888
888
|
color: t = "#001E52",
|
|
889
889
|
className: s,
|
|
890
890
|
onClick: n
|
|
891
|
-
}) => /* @__PURE__ */
|
|
891
|
+
}) => /* @__PURE__ */ C(
|
|
892
892
|
"svg",
|
|
893
893
|
{
|
|
894
894
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -921,7 +921,7 @@ const Fe = ({
|
|
|
921
921
|
color: t = "#001E52",
|
|
922
922
|
className: s,
|
|
923
923
|
onClick: n
|
|
924
|
-
}) => /* @__PURE__ */
|
|
924
|
+
}) => /* @__PURE__ */ C(
|
|
925
925
|
"svg",
|
|
926
926
|
{
|
|
927
927
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -960,7 +960,7 @@ const Fe = ({
|
|
|
960
960
|
color: t = "#001E52",
|
|
961
961
|
className: s,
|
|
962
962
|
onClick: n
|
|
963
|
-
}) => /* @__PURE__ */
|
|
963
|
+
}) => /* @__PURE__ */ C(
|
|
964
964
|
"svg",
|
|
965
965
|
{
|
|
966
966
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -987,7 +987,7 @@ const Fe = ({
|
|
|
987
987
|
)
|
|
988
988
|
]
|
|
989
989
|
}
|
|
990
|
-
),
|
|
990
|
+
), Ct = ({
|
|
991
991
|
width: i = 20,
|
|
992
992
|
height: e = 20,
|
|
993
993
|
color: t = "#001E52",
|
|
@@ -1011,13 +1011,13 @@ const Fe = ({
|
|
|
1011
1011
|
}
|
|
1012
1012
|
)
|
|
1013
1013
|
}
|
|
1014
|
-
),
|
|
1014
|
+
), ut = ({
|
|
1015
1015
|
width: i = 20,
|
|
1016
1016
|
height: e = 20,
|
|
1017
1017
|
color: t = "#001E52",
|
|
1018
1018
|
className: s,
|
|
1019
1019
|
onClick: n
|
|
1020
|
-
}) => /* @__PURE__ */
|
|
1020
|
+
}) => /* @__PURE__ */ C(
|
|
1021
1021
|
"svg",
|
|
1022
1022
|
{
|
|
1023
1023
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1064,7 +1064,7 @@ const Fe = ({
|
|
|
1064
1064
|
color: t = "#001E52",
|
|
1065
1065
|
className: s,
|
|
1066
1066
|
onClick: n
|
|
1067
|
-
}) => /* @__PURE__ */
|
|
1067
|
+
}) => /* @__PURE__ */ C(
|
|
1068
1068
|
"svg",
|
|
1069
1069
|
{
|
|
1070
1070
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1097,7 +1097,7 @@ const Fe = ({
|
|
|
1097
1097
|
color: t = "#001E52",
|
|
1098
1098
|
className: s,
|
|
1099
1099
|
onClick: n
|
|
1100
|
-
}) => /* @__PURE__ */
|
|
1100
|
+
}) => /* @__PURE__ */ C(
|
|
1101
1101
|
"svg",
|
|
1102
1102
|
{
|
|
1103
1103
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1130,7 +1130,7 @@ const Fe = ({
|
|
|
1130
1130
|
color: t = "#001E52",
|
|
1131
1131
|
className: s,
|
|
1132
1132
|
onClick: n
|
|
1133
|
-
}) => /* @__PURE__ */
|
|
1133
|
+
}) => /* @__PURE__ */ C(
|
|
1134
1134
|
"svg",
|
|
1135
1135
|
{
|
|
1136
1136
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1191,7 +1191,7 @@ const Fe = ({
|
|
|
1191
1191
|
color: t = "#001E52",
|
|
1192
1192
|
className: s,
|
|
1193
1193
|
onClick: n
|
|
1194
|
-
}) => /* @__PURE__ */
|
|
1194
|
+
}) => /* @__PURE__ */ C(
|
|
1195
1195
|
"svg",
|
|
1196
1196
|
{
|
|
1197
1197
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1231,7 +1231,7 @@ const Fe = ({
|
|
|
1231
1231
|
color: t = "#001E52",
|
|
1232
1232
|
className: s,
|
|
1233
1233
|
onClick: n
|
|
1234
|
-
}) => /* @__PURE__ */
|
|
1234
|
+
}) => /* @__PURE__ */ C(
|
|
1235
1235
|
"svg",
|
|
1236
1236
|
{
|
|
1237
1237
|
width: i,
|
|
@@ -1259,7 +1259,7 @@ const Fe = ({
|
|
|
1259
1259
|
color: t = "#10B981",
|
|
1260
1260
|
className: s,
|
|
1261
1261
|
onClick: n
|
|
1262
|
-
}) => /* @__PURE__ */
|
|
1262
|
+
}) => /* @__PURE__ */ C(
|
|
1263
1263
|
"svg",
|
|
1264
1264
|
{
|
|
1265
1265
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1288,7 +1288,7 @@ const Fe = ({
|
|
|
1288
1288
|
color: t = "#FFB020",
|
|
1289
1289
|
className: s,
|
|
1290
1290
|
onClick: n
|
|
1291
|
-
}) => /* @__PURE__ */
|
|
1291
|
+
}) => /* @__PURE__ */ C(
|
|
1292
1292
|
"svg",
|
|
1293
1293
|
{
|
|
1294
1294
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1322,7 +1322,7 @@ const Fe = ({
|
|
|
1322
1322
|
color: t = "#88A4FF",
|
|
1323
1323
|
className: s,
|
|
1324
1324
|
onClick: n
|
|
1325
|
-
}) => /* @__PURE__ */
|
|
1325
|
+
}) => /* @__PURE__ */ C(
|
|
1326
1326
|
"svg",
|
|
1327
1327
|
{
|
|
1328
1328
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1370,7 +1370,7 @@ const Fe = ({
|
|
|
1370
1370
|
color: t = "#8E8E93",
|
|
1371
1371
|
className: s,
|
|
1372
1372
|
onClick: n
|
|
1373
|
-
}) => /* @__PURE__ */
|
|
1373
|
+
}) => /* @__PURE__ */ C(
|
|
1374
1374
|
"svg",
|
|
1375
1375
|
{
|
|
1376
1376
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1398,7 +1398,7 @@ const Fe = ({
|
|
|
1398
1398
|
color: t = "#FFB020",
|
|
1399
1399
|
className: s,
|
|
1400
1400
|
onClick: n
|
|
1401
|
-
}) => /* @__PURE__ */
|
|
1401
|
+
}) => /* @__PURE__ */ C(
|
|
1402
1402
|
"svg",
|
|
1403
1403
|
{
|
|
1404
1404
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1432,7 +1432,7 @@ const Fe = ({
|
|
|
1432
1432
|
color: t = "#D0421B",
|
|
1433
1433
|
className: s,
|
|
1434
1434
|
onClick: n
|
|
1435
|
-
}) => /* @__PURE__ */
|
|
1435
|
+
}) => /* @__PURE__ */ C(
|
|
1436
1436
|
"svg",
|
|
1437
1437
|
{
|
|
1438
1438
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1480,7 +1480,7 @@ const Fe = ({
|
|
|
1480
1480
|
color: t = "#070739",
|
|
1481
1481
|
className: s,
|
|
1482
1482
|
onClick: n
|
|
1483
|
-
}) => /* @__PURE__ */
|
|
1483
|
+
}) => /* @__PURE__ */ C(
|
|
1484
1484
|
"svg",
|
|
1485
1485
|
{
|
|
1486
1486
|
width: i,
|
|
@@ -1510,7 +1510,7 @@ const Fe = ({
|
|
|
1510
1510
|
color: t = "#070739",
|
|
1511
1511
|
className: s,
|
|
1512
1512
|
onClick: n
|
|
1513
|
-
}) => /* @__PURE__ */
|
|
1513
|
+
}) => /* @__PURE__ */ C(
|
|
1514
1514
|
"svg",
|
|
1515
1515
|
{
|
|
1516
1516
|
width: i,
|
|
@@ -1574,7 +1574,7 @@ const Fe = ({
|
|
|
1574
1574
|
color: t = "#F2F2F7",
|
|
1575
1575
|
className: s,
|
|
1576
1576
|
onClick: n
|
|
1577
|
-
}) => /* @__PURE__ */
|
|
1577
|
+
}) => /* @__PURE__ */ C(
|
|
1578
1578
|
"svg",
|
|
1579
1579
|
{
|
|
1580
1580
|
width: i,
|
|
@@ -1603,7 +1603,7 @@ const Fe = ({
|
|
|
1603
1603
|
color: t = "#004ED7",
|
|
1604
1604
|
className: s,
|
|
1605
1605
|
onClick: n
|
|
1606
|
-
}) => /* @__PURE__ */
|
|
1606
|
+
}) => /* @__PURE__ */ C(
|
|
1607
1607
|
"svg",
|
|
1608
1608
|
{
|
|
1609
1609
|
width: i,
|
|
@@ -1632,7 +1632,7 @@ const Fe = ({
|
|
|
1632
1632
|
color: t = "#070739",
|
|
1633
1633
|
className: s,
|
|
1634
1634
|
onClick: n
|
|
1635
|
-
}) => /* @__PURE__ */
|
|
1635
|
+
}) => /* @__PURE__ */ C(
|
|
1636
1636
|
"svg",
|
|
1637
1637
|
{
|
|
1638
1638
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1669,7 +1669,7 @@ const Fe = ({
|
|
|
1669
1669
|
color: t = "#001E52",
|
|
1670
1670
|
className: s,
|
|
1671
1671
|
onClick: n
|
|
1672
|
-
}) => /* @__PURE__ */
|
|
1672
|
+
}) => /* @__PURE__ */ C(
|
|
1673
1673
|
"svg",
|
|
1674
1674
|
{
|
|
1675
1675
|
width: i,
|
|
@@ -1708,7 +1708,7 @@ const Fe = ({
|
|
|
1708
1708
|
color: t = "#001E52",
|
|
1709
1709
|
className: s,
|
|
1710
1710
|
onClick: n
|
|
1711
|
-
}) => /* @__PURE__ */
|
|
1711
|
+
}) => /* @__PURE__ */ C(
|
|
1712
1712
|
"svg",
|
|
1713
1713
|
{
|
|
1714
1714
|
width: i,
|
|
@@ -1737,7 +1737,7 @@ const Fe = ({
|
|
|
1737
1737
|
color: t = "#001E52",
|
|
1738
1738
|
className: s,
|
|
1739
1739
|
onClick: n
|
|
1740
|
-
}) => /* @__PURE__ */
|
|
1740
|
+
}) => /* @__PURE__ */ C(
|
|
1741
1741
|
"svg",
|
|
1742
1742
|
{
|
|
1743
1743
|
width: i,
|
|
@@ -1774,7 +1774,7 @@ const Fe = ({
|
|
|
1774
1774
|
color: t = M.GREY_DARK_5,
|
|
1775
1775
|
className: s,
|
|
1776
1776
|
onClick: n
|
|
1777
|
-
}) => /* @__PURE__ */
|
|
1777
|
+
}) => /* @__PURE__ */ C(
|
|
1778
1778
|
"svg",
|
|
1779
1779
|
{
|
|
1780
1780
|
width: i,
|
|
@@ -1813,7 +1813,7 @@ const Fe = ({
|
|
|
1813
1813
|
color: t = M.GREY_DARK_1,
|
|
1814
1814
|
className: s,
|
|
1815
1815
|
onClick: n
|
|
1816
|
-
}) => /* @__PURE__ */
|
|
1816
|
+
}) => /* @__PURE__ */ C(
|
|
1817
1817
|
"svg",
|
|
1818
1818
|
{
|
|
1819
1819
|
width: i,
|
|
@@ -1840,13 +1840,13 @@ const Fe = ({
|
|
|
1840
1840
|
)
|
|
1841
1841
|
]
|
|
1842
1842
|
}
|
|
1843
|
-
),
|
|
1843
|
+
), Zt = ({
|
|
1844
1844
|
width: i = 81,
|
|
1845
1845
|
height: e = 80,
|
|
1846
1846
|
color: t = M.GREY_DARK_5,
|
|
1847
1847
|
className: s,
|
|
1848
1848
|
onClick: n
|
|
1849
|
-
}) => /* @__PURE__ */
|
|
1849
|
+
}) => /* @__PURE__ */ C(
|
|
1850
1850
|
"svg",
|
|
1851
1851
|
{
|
|
1852
1852
|
width: i,
|
|
@@ -1889,7 +1889,7 @@ const Fe = ({
|
|
|
1889
1889
|
)
|
|
1890
1890
|
]
|
|
1891
1891
|
}
|
|
1892
|
-
),
|
|
1892
|
+
), Wt = ({
|
|
1893
1893
|
className: i,
|
|
1894
1894
|
color: e = M.GREY_DARK_5,
|
|
1895
1895
|
height: t = 20,
|
|
@@ -1998,7 +1998,7 @@ const Fe = ({
|
|
|
1998
1998
|
height: t = 24,
|
|
1999
1999
|
width: s = 24,
|
|
2000
2000
|
onClick: n
|
|
2001
|
-
}) => /* @__PURE__ */
|
|
2001
|
+
}) => /* @__PURE__ */ C(
|
|
2002
2002
|
"svg",
|
|
2003
2003
|
{
|
|
2004
2004
|
width: s,
|
|
@@ -2037,7 +2037,7 @@ const Fe = ({
|
|
|
2037
2037
|
height: t = 24,
|
|
2038
2038
|
width: s = 24,
|
|
2039
2039
|
onClick: n
|
|
2040
|
-
}) => /* @__PURE__ */
|
|
2040
|
+
}) => /* @__PURE__ */ C(
|
|
2041
2041
|
"svg",
|
|
2042
2042
|
{
|
|
2043
2043
|
width: s,
|
|
@@ -2103,7 +2103,7 @@ const Fe = ({
|
|
|
2103
2103
|
height: t = 24,
|
|
2104
2104
|
width: s = 24,
|
|
2105
2105
|
onClick: n
|
|
2106
|
-
}) => /* @__PURE__ */
|
|
2106
|
+
}) => /* @__PURE__ */ C(
|
|
2107
2107
|
"svg",
|
|
2108
2108
|
{
|
|
2109
2109
|
width: s,
|
|
@@ -2162,7 +2162,7 @@ const Fe = ({
|
|
|
2162
2162
|
height: t = 24,
|
|
2163
2163
|
width: s = 24,
|
|
2164
2164
|
onClick: n
|
|
2165
|
-
}) => /* @__PURE__ */
|
|
2165
|
+
}) => /* @__PURE__ */ C(
|
|
2166
2166
|
"svg",
|
|
2167
2167
|
{
|
|
2168
2168
|
width: s,
|
|
@@ -2199,7 +2199,7 @@ const Fe = ({
|
|
|
2199
2199
|
height: t = 14,
|
|
2200
2200
|
width: s = 14,
|
|
2201
2201
|
onClick: n
|
|
2202
|
-
}) => /* @__PURE__ */
|
|
2202
|
+
}) => /* @__PURE__ */ C(
|
|
2203
2203
|
"svg",
|
|
2204
2204
|
{
|
|
2205
2205
|
className: i,
|
|
@@ -2263,7 +2263,7 @@ const Fe = ({
|
|
|
2263
2263
|
height: t = 24,
|
|
2264
2264
|
width: s = 24,
|
|
2265
2265
|
onClick: n
|
|
2266
|
-
}) => /* @__PURE__ */
|
|
2266
|
+
}) => /* @__PURE__ */ C(
|
|
2267
2267
|
"svg",
|
|
2268
2268
|
{
|
|
2269
2269
|
onClick: n,
|
|
@@ -2315,7 +2315,7 @@ const Fe = ({
|
|
|
2315
2315
|
height: t = 24,
|
|
2316
2316
|
width: s = 24,
|
|
2317
2317
|
onClick: n
|
|
2318
|
-
}) => /* @__PURE__ */
|
|
2318
|
+
}) => /* @__PURE__ */ C(
|
|
2319
2319
|
"svg",
|
|
2320
2320
|
{
|
|
2321
2321
|
onClick: n,
|
|
@@ -2352,7 +2352,7 @@ const Fe = ({
|
|
|
2352
2352
|
height: t = 37,
|
|
2353
2353
|
width: s = 36,
|
|
2354
2354
|
onClick: n
|
|
2355
|
-
}) => /* @__PURE__ */
|
|
2355
|
+
}) => /* @__PURE__ */ C(
|
|
2356
2356
|
"svg",
|
|
2357
2357
|
{
|
|
2358
2358
|
onClick: n,
|
|
@@ -2417,7 +2417,7 @@ const Fe = ({
|
|
|
2417
2417
|
height: t = 24,
|
|
2418
2418
|
width: s = 24,
|
|
2419
2419
|
onClick: n
|
|
2420
|
-
}) => /* @__PURE__ */
|
|
2420
|
+
}) => /* @__PURE__ */ C(
|
|
2421
2421
|
"svg",
|
|
2422
2422
|
{
|
|
2423
2423
|
onClick: n,
|
|
@@ -2456,7 +2456,7 @@ const Fe = ({
|
|
|
2456
2456
|
height: t = 24,
|
|
2457
2457
|
width: s = 24,
|
|
2458
2458
|
onClick: n
|
|
2459
|
-
}) => /* @__PURE__ */
|
|
2459
|
+
}) => /* @__PURE__ */ C(
|
|
2460
2460
|
"svg",
|
|
2461
2461
|
{
|
|
2462
2462
|
onClick: n,
|
|
@@ -2495,7 +2495,7 @@ const Fe = ({
|
|
|
2495
2495
|
height: t = 24,
|
|
2496
2496
|
width: s = 24,
|
|
2497
2497
|
onClick: n
|
|
2498
|
-
}) => /* @__PURE__ */
|
|
2498
|
+
}) => /* @__PURE__ */ C(
|
|
2499
2499
|
"svg",
|
|
2500
2500
|
{
|
|
2501
2501
|
onClick: n,
|
|
@@ -2564,7 +2564,7 @@ const Fe = ({
|
|
|
2564
2564
|
height: t = 24,
|
|
2565
2565
|
width: s = 24,
|
|
2566
2566
|
onClick: n
|
|
2567
|
-
}) => /* @__PURE__ */
|
|
2567
|
+
}) => /* @__PURE__ */ C(
|
|
2568
2568
|
"svg",
|
|
2569
2569
|
{
|
|
2570
2570
|
onClick: n,
|
|
@@ -2603,7 +2603,7 @@ const Fe = ({
|
|
|
2603
2603
|
height: t = 24,
|
|
2604
2604
|
width: s = 24,
|
|
2605
2605
|
onClick: n
|
|
2606
|
-
}) => /* @__PURE__ */
|
|
2606
|
+
}) => /* @__PURE__ */ C(
|
|
2607
2607
|
"svg",
|
|
2608
2608
|
{
|
|
2609
2609
|
onClick: n,
|
|
@@ -2660,7 +2660,7 @@ const Fe = ({
|
|
|
2660
2660
|
height: t = 24,
|
|
2661
2661
|
width: s = 24,
|
|
2662
2662
|
onClick: n
|
|
2663
|
-
}) => /* @__PURE__ */
|
|
2663
|
+
}) => /* @__PURE__ */ C(
|
|
2664
2664
|
"svg",
|
|
2665
2665
|
{
|
|
2666
2666
|
onClick: n,
|
|
@@ -2699,7 +2699,7 @@ const Fe = ({
|
|
|
2699
2699
|
height: t = 24,
|
|
2700
2700
|
width: s = 24,
|
|
2701
2701
|
onClick: n
|
|
2702
|
-
}) => /* @__PURE__ */
|
|
2702
|
+
}) => /* @__PURE__ */ C(
|
|
2703
2703
|
"svg",
|
|
2704
2704
|
{
|
|
2705
2705
|
onClick: n,
|
|
@@ -2748,7 +2748,7 @@ const Fe = ({
|
|
|
2748
2748
|
height: t = 24,
|
|
2749
2749
|
width: s = 24,
|
|
2750
2750
|
onClick: n
|
|
2751
|
-
}) => /* @__PURE__ */
|
|
2751
|
+
}) => /* @__PURE__ */ C(
|
|
2752
2752
|
"svg",
|
|
2753
2753
|
{
|
|
2754
2754
|
onClick: n,
|
|
@@ -2781,7 +2781,7 @@ const Fe = ({
|
|
|
2781
2781
|
)
|
|
2782
2782
|
]
|
|
2783
2783
|
}
|
|
2784
|
-
),
|
|
2784
|
+
), l2 = ({
|
|
2785
2785
|
className: i,
|
|
2786
2786
|
color: e = M.GREY_DARK_5,
|
|
2787
2787
|
height: t = 24,
|
|
@@ -2808,13 +2808,13 @@ const Fe = ({
|
|
|
2808
2808
|
}
|
|
2809
2809
|
)
|
|
2810
2810
|
}
|
|
2811
|
-
),
|
|
2811
|
+
), a2 = ({
|
|
2812
2812
|
className: i,
|
|
2813
2813
|
color: e = M.GREY_DARK_5,
|
|
2814
2814
|
height: t = 24,
|
|
2815
2815
|
width: s = 24,
|
|
2816
2816
|
onClick: n
|
|
2817
|
-
}) => /* @__PURE__ */
|
|
2817
|
+
}) => /* @__PURE__ */ C(
|
|
2818
2818
|
"svg",
|
|
2819
2819
|
{
|
|
2820
2820
|
onClick: n,
|
|
@@ -2852,7 +2852,7 @@ const Fe = ({
|
|
|
2852
2852
|
height: t = 24,
|
|
2853
2853
|
width: s = 24,
|
|
2854
2854
|
onClick: n
|
|
2855
|
-
}) => /* @__PURE__ */
|
|
2855
|
+
}) => /* @__PURE__ */ C(
|
|
2856
2856
|
"svg",
|
|
2857
2857
|
{
|
|
2858
2858
|
onClick: n,
|
|
@@ -2873,7 +2873,7 @@ const Fe = ({
|
|
|
2873
2873
|
height: t = 24,
|
|
2874
2874
|
width: s = 24,
|
|
2875
2875
|
onClick: n
|
|
2876
|
-
}) => /* @__PURE__ */
|
|
2876
|
+
}) => /* @__PURE__ */ C(
|
|
2877
2877
|
"svg",
|
|
2878
2878
|
{
|
|
2879
2879
|
onClick: n,
|
|
@@ -2912,7 +2912,7 @@ const Fe = ({
|
|
|
2912
2912
|
height: t = 24,
|
|
2913
2913
|
width: s = 24,
|
|
2914
2914
|
onClick: n
|
|
2915
|
-
}) => /* @__PURE__ */
|
|
2915
|
+
}) => /* @__PURE__ */ C(
|
|
2916
2916
|
"svg",
|
|
2917
2917
|
{
|
|
2918
2918
|
onClick: n,
|
|
@@ -2951,7 +2951,7 @@ const Fe = ({
|
|
|
2951
2951
|
height: t = 24,
|
|
2952
2952
|
width: s = 24,
|
|
2953
2953
|
onClick: n
|
|
2954
|
-
}) => /* @__PURE__ */
|
|
2954
|
+
}) => /* @__PURE__ */ C(
|
|
2955
2955
|
"svg",
|
|
2956
2956
|
{
|
|
2957
2957
|
onClick: n,
|
|
@@ -2984,7 +2984,7 @@ const Fe = ({
|
|
|
2984
2984
|
)
|
|
2985
2985
|
]
|
|
2986
2986
|
}
|
|
2987
|
-
),
|
|
2987
|
+
), C2 = ({
|
|
2988
2988
|
className: i,
|
|
2989
2989
|
color: e = M.GREY_DARK_2,
|
|
2990
2990
|
height: t = 16,
|
|
@@ -3010,13 +3010,13 @@ const Fe = ({
|
|
|
3010
3010
|
}
|
|
3011
3011
|
)
|
|
3012
3012
|
}
|
|
3013
|
-
),
|
|
3013
|
+
), u2 = ({
|
|
3014
3014
|
className: i,
|
|
3015
3015
|
color: e = M.GREY_DARK_5,
|
|
3016
3016
|
height: t = 20,
|
|
3017
3017
|
width: s = 20,
|
|
3018
3018
|
onClick: n
|
|
3019
|
-
}) => /* @__PURE__ */
|
|
3019
|
+
}) => /* @__PURE__ */ C(
|
|
3020
3020
|
"svg",
|
|
3021
3021
|
{
|
|
3022
3022
|
onClick: n,
|
|
@@ -3045,7 +3045,7 @@ const Fe = ({
|
|
|
3045
3045
|
height: t = 20,
|
|
3046
3046
|
width: s = 20,
|
|
3047
3047
|
onClick: n
|
|
3048
|
-
}) => /* @__PURE__ */
|
|
3048
|
+
}) => /* @__PURE__ */ C(
|
|
3049
3049
|
"svg",
|
|
3050
3050
|
{
|
|
3051
3051
|
onClick: n,
|
|
@@ -3074,7 +3074,7 @@ const Fe = ({
|
|
|
3074
3074
|
height: t = 20,
|
|
3075
3075
|
width: s = 20,
|
|
3076
3076
|
onClick: n
|
|
3077
|
-
}) => /* @__PURE__ */
|
|
3077
|
+
}) => /* @__PURE__ */ C(
|
|
3078
3078
|
"svg",
|
|
3079
3079
|
{
|
|
3080
3080
|
onClick: n,
|
|
@@ -3103,7 +3103,7 @@ const Fe = ({
|
|
|
3103
3103
|
height: t = 20,
|
|
3104
3104
|
width: s = 20,
|
|
3105
3105
|
onClick: n
|
|
3106
|
-
}) => /* @__PURE__ */
|
|
3106
|
+
}) => /* @__PURE__ */ C(
|
|
3107
3107
|
"svg",
|
|
3108
3108
|
{
|
|
3109
3109
|
onClick: n,
|
|
@@ -3197,7 +3197,7 @@ const Fe = ({
|
|
|
3197
3197
|
version: "1.1",
|
|
3198
3198
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3199
3199
|
viewBox: "0 0 489.698 489.698",
|
|
3200
|
-
children: /* @__PURE__ */ o("g", { children: /* @__PURE__ */
|
|
3200
|
+
children: /* @__PURE__ */ o("g", { children: /* @__PURE__ */ C("g", { children: [
|
|
3201
3201
|
/* @__PURE__ */ o(
|
|
3202
3202
|
"path",
|
|
3203
3203
|
{
|
|
@@ -3274,137 +3274,170 @@ const Fe = ({
|
|
|
3274
3274
|
}
|
|
3275
3275
|
)
|
|
3276
3276
|
}
|
|
3277
|
+
), N2 = ({
|
|
3278
|
+
width: i = 24,
|
|
3279
|
+
height: e = 24,
|
|
3280
|
+
color: t = "#131314",
|
|
3281
|
+
className: s,
|
|
3282
|
+
onClick: n
|
|
3283
|
+
}) => /* @__PURE__ */ C(
|
|
3284
|
+
"svg",
|
|
3285
|
+
{
|
|
3286
|
+
width: i,
|
|
3287
|
+
height: e,
|
|
3288
|
+
viewBox: "0 0 24 24",
|
|
3289
|
+
fill: "none",
|
|
3290
|
+
className: s,
|
|
3291
|
+
onClick: n,
|
|
3292
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
3293
|
+
children: [
|
|
3294
|
+
/* @__PURE__ */ o(
|
|
3295
|
+
"path",
|
|
3296
|
+
{
|
|
3297
|
+
d: "M19.2598 20V4C19.2598 3.58579 19.5956 3.25 20.0098 3.25C20.424 3.25 20.7598 3.58579 20.7598 4V20C20.7598 20.4142 20.424 20.75 20.0098 20.75C19.5956 20.75 19.2598 20.4142 19.2598 20Z",
|
|
3298
|
+
fill: t
|
|
3299
|
+
}
|
|
3300
|
+
),
|
|
3301
|
+
/* @__PURE__ */ o(
|
|
3302
|
+
"path",
|
|
3303
|
+
{
|
|
3304
|
+
d: "M9.96973 5.46972C10.2443 5.19512 10.6791 5.17765 10.9736 5.41796L11.0303 5.46972L17.5303 11.9697L17.582 12.0264C17.8063 12.3013 17.8063 12.6987 17.582 12.9736L17.5303 13.0303L11.0303 19.5303C10.7374 19.8232 10.2626 19.8232 9.96973 19.5303C9.67683 19.2374 9.67683 18.7626 9.96973 18.4697L15.1895 13.25H4C3.58579 13.25 3.25 12.9142 3.25 12.5C3.25 12.0858 3.58579 11.75 4 11.75H15.1895L9.96973 6.53027L9.91797 6.47363C9.67766 6.17905 9.69512 5.74433 9.96973 5.46972Z",
|
|
3305
|
+
fill: t
|
|
3306
|
+
}
|
|
3307
|
+
)
|
|
3308
|
+
]
|
|
3309
|
+
}
|
|
3277
3310
|
), d1 = ({
|
|
3278
3311
|
name: i,
|
|
3279
3312
|
width: e,
|
|
3280
3313
|
height: t,
|
|
3281
3314
|
color: s,
|
|
3282
3315
|
className: n,
|
|
3283
|
-
disabled:
|
|
3316
|
+
disabled: l = !1,
|
|
3284
3317
|
onClick: c
|
|
3285
3318
|
}) => {
|
|
3286
|
-
const [r, d] =
|
|
3319
|
+
const [r, d] = W(n), { theme: g } = e1(ee), a = l ? g && g === "dark" ? M.GREY_LIGHT_4 : M.GREY_DARK_1 : s, h = l ? void 0 : c;
|
|
3287
3320
|
return K(() => {
|
|
3288
3321
|
if (n) {
|
|
3289
|
-
h && !
|
|
3322
|
+
h && !l && d(`${n} clickable`);
|
|
3290
3323
|
return;
|
|
3291
3324
|
}
|
|
3292
|
-
h && !
|
|
3293
|
-
}, [h, n,
|
|
3325
|
+
h && !l && d("clickable");
|
|
3326
|
+
}, [h, n, l]), /* @__PURE__ */ o(n1, { children: (() => {
|
|
3294
3327
|
switch (i) {
|
|
3295
3328
|
case "nextIcon":
|
|
3296
|
-
return
|
|
3329
|
+
return Wt({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3297
3330
|
case "prevIcon":
|
|
3298
|
-
return jt({ width: e, height: t, color:
|
|
3331
|
+
return jt({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3299
3332
|
case "arrowUp":
|
|
3300
|
-
return Fe({ width: e, height: t, color:
|
|
3333
|
+
return Fe({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3301
3334
|
case "arrowDown":
|
|
3302
|
-
return Ye({ width: e, height: t, color:
|
|
3335
|
+
return Ye({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3303
3336
|
case "info":
|
|
3304
|
-
return Ue({ width: e, height: t, color:
|
|
3337
|
+
return Ue({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3305
3338
|
case "arrowRight":
|
|
3306
|
-
return ze({ width: e, height: t, color:
|
|
3339
|
+
return ze({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3307
3340
|
case "calendar":
|
|
3308
|
-
return Je({ width: e, height: t, color:
|
|
3341
|
+
return Je({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3309
3342
|
case "ok":
|
|
3310
|
-
return qe({ width: e, height: t, color:
|
|
3343
|
+
return qe({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3311
3344
|
case "cancel":
|
|
3312
|
-
return Qe({ width: e, height: t, color:
|
|
3345
|
+
return Qe({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3313
3346
|
case "add":
|
|
3314
|
-
return Xe({ width: e, height: t, color:
|
|
3347
|
+
return Xe({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3315
3348
|
case "list":
|
|
3316
|
-
return et({ width: e, height: t, color:
|
|
3349
|
+
return et({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3317
3350
|
case "dragAndDrop":
|
|
3318
|
-
return tt({ width: e, height: t, color:
|
|
3351
|
+
return tt({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3319
3352
|
case "filter":
|
|
3320
|
-
return it({ width: e, height: t, color:
|
|
3353
|
+
return it({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3321
3354
|
case "attention":
|
|
3322
|
-
return st({ width: e, height: t, color:
|
|
3355
|
+
return st({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3323
3356
|
case "plus":
|
|
3324
|
-
return nt({ width: e, height: t, color:
|
|
3357
|
+
return nt({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3325
3358
|
case "time":
|
|
3326
|
-
return ot({ width: e, height: t, color:
|
|
3359
|
+
return ot({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3327
3360
|
case "arrowDownLong":
|
|
3328
3361
|
return rt({
|
|
3329
3362
|
width: e,
|
|
3330
3363
|
height: t,
|
|
3331
|
-
color:
|
|
3364
|
+
color: a,
|
|
3332
3365
|
className: r,
|
|
3333
3366
|
onClick: h
|
|
3334
3367
|
});
|
|
3335
3368
|
case "users":
|
|
3336
|
-
return
|
|
3369
|
+
return lt({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3337
3370
|
case "mySkillsMatrix":
|
|
3338
|
-
return
|
|
3371
|
+
return at({
|
|
3339
3372
|
width: e,
|
|
3340
3373
|
height: t,
|
|
3341
|
-
color:
|
|
3374
|
+
color: a,
|
|
3342
3375
|
className: r,
|
|
3343
3376
|
onClick: h
|
|
3344
3377
|
});
|
|
3345
3378
|
case "skills":
|
|
3346
|
-
return ht({ width: e, height: t, color:
|
|
3379
|
+
return ht({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3347
3380
|
case "skillsMatrices":
|
|
3348
3381
|
return ct({
|
|
3349
3382
|
width: e,
|
|
3350
3383
|
height: t,
|
|
3351
|
-
color:
|
|
3384
|
+
color: a,
|
|
3352
3385
|
className: r,
|
|
3353
3386
|
onClick: h
|
|
3354
3387
|
});
|
|
3355
3388
|
case "history":
|
|
3356
|
-
return dt({ width: e, height: t, color:
|
|
3389
|
+
return dt({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3357
3390
|
case "logOut":
|
|
3358
|
-
return gt({ width: e, height: t, color:
|
|
3391
|
+
return gt({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3359
3392
|
case "settings":
|
|
3360
|
-
return
|
|
3393
|
+
return Ct({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3361
3394
|
case "addSkill":
|
|
3362
|
-
return
|
|
3395
|
+
return ut({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3363
3396
|
case "conversation":
|
|
3364
|
-
return pt({ width: e, height: t, color:
|
|
3397
|
+
return pt({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3365
3398
|
case "trash":
|
|
3366
|
-
return ft({ width: e, height: t, color:
|
|
3399
|
+
return ft({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3367
3400
|
case "settings4":
|
|
3368
|
-
return wt({ width: e, height: t, color:
|
|
3401
|
+
return wt({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3369
3402
|
case "edit2":
|
|
3370
|
-
return mt({ width: e, height: t, color:
|
|
3403
|
+
return mt({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3371
3404
|
case "notifications":
|
|
3372
3405
|
return kt({
|
|
3373
3406
|
width: e,
|
|
3374
3407
|
height: t,
|
|
3375
|
-
color:
|
|
3408
|
+
color: a,
|
|
3376
3409
|
className: r,
|
|
3377
3410
|
onClick: h
|
|
3378
3411
|
});
|
|
3379
3412
|
case "success":
|
|
3380
|
-
return Lt({ width: e, height: t, color:
|
|
3413
|
+
return Lt({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3381
3414
|
case "attentionSmall":
|
|
3382
3415
|
return vt({
|
|
3383
3416
|
width: e,
|
|
3384
3417
|
height: t,
|
|
3385
|
-
color:
|
|
3418
|
+
color: a,
|
|
3386
3419
|
className: r,
|
|
3387
3420
|
onClick: h
|
|
3388
3421
|
});
|
|
3389
3422
|
case "errorSmall":
|
|
3390
|
-
return Nt({ width: e, height: t, color:
|
|
3423
|
+
return Nt({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3391
3424
|
case "infoMedium":
|
|
3392
|
-
return xt({ width: e, height: t, color:
|
|
3425
|
+
return xt({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3393
3426
|
case "attentionMedium":
|
|
3394
3427
|
return Rt({
|
|
3395
3428
|
width: e,
|
|
3396
3429
|
height: t,
|
|
3397
|
-
color:
|
|
3430
|
+
color: a,
|
|
3398
3431
|
className: r,
|
|
3399
3432
|
onClick: h
|
|
3400
3433
|
});
|
|
3401
3434
|
case "errorMedium":
|
|
3402
|
-
return Mt({ width: e, height: t, color:
|
|
3435
|
+
return Mt({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3403
3436
|
case "faviconSkills":
|
|
3404
3437
|
return Vt({
|
|
3405
3438
|
width: e,
|
|
3406
3439
|
height: t,
|
|
3407
|
-
color:
|
|
3440
|
+
color: a,
|
|
3408
3441
|
className: r,
|
|
3409
3442
|
onClick: h
|
|
3410
3443
|
});
|
|
@@ -3412,7 +3445,7 @@ const Fe = ({
|
|
|
3412
3445
|
return bt({
|
|
3413
3446
|
width: e,
|
|
3414
3447
|
height: t,
|
|
3415
|
-
color:
|
|
3448
|
+
color: a,
|
|
3416
3449
|
className: r,
|
|
3417
3450
|
onClick: h
|
|
3418
3451
|
});
|
|
@@ -3420,7 +3453,7 @@ const Fe = ({
|
|
|
3420
3453
|
return yt({
|
|
3421
3454
|
width: e,
|
|
3422
3455
|
height: t,
|
|
3423
|
-
color:
|
|
3456
|
+
color: a,
|
|
3424
3457
|
className: r,
|
|
3425
3458
|
onClick: h
|
|
3426
3459
|
});
|
|
@@ -3428,7 +3461,7 @@ const Fe = ({
|
|
|
3428
3461
|
return Et({
|
|
3429
3462
|
width: e,
|
|
3430
3463
|
height: t,
|
|
3431
|
-
color:
|
|
3464
|
+
color: a,
|
|
3432
3465
|
className: r,
|
|
3433
3466
|
onClick: h
|
|
3434
3467
|
});
|
|
@@ -3436,7 +3469,7 @@ const Fe = ({
|
|
|
3436
3469
|
return _t({
|
|
3437
3470
|
width: e,
|
|
3438
3471
|
height: t,
|
|
3439
|
-
color:
|
|
3472
|
+
color: a,
|
|
3440
3473
|
className: r,
|
|
3441
3474
|
onClick: h
|
|
3442
3475
|
});
|
|
@@ -3444,127 +3477,129 @@ const Fe = ({
|
|
|
3444
3477
|
return Ht({
|
|
3445
3478
|
width: e,
|
|
3446
3479
|
height: t,
|
|
3447
|
-
color:
|
|
3480
|
+
color: a,
|
|
3448
3481
|
className: r,
|
|
3449
3482
|
onClick: h
|
|
3450
3483
|
});
|
|
3451
3484
|
case "camera":
|
|
3452
|
-
return It({ width: e, height: t, color:
|
|
3485
|
+
return It({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3453
3486
|
case "sortUp":
|
|
3454
|
-
return St({ width: e, height: t, color:
|
|
3487
|
+
return St({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3455
3488
|
case "sortDown":
|
|
3456
|
-
return Ot({ width: e, height: t, color:
|
|
3489
|
+
return Ot({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3457
3490
|
case "logOut2":
|
|
3458
|
-
return At({ width: e, height: t, color:
|
|
3491
|
+
return At({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3459
3492
|
case "search":
|
|
3460
|
-
return Bt({ width: e, height: t, color:
|
|
3493
|
+
return Bt({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3461
3494
|
case "handRock":
|
|
3462
|
-
return
|
|
3495
|
+
return Zt({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3463
3496
|
case "arrowUpFilled":
|
|
3464
|
-
return Tt({ width: e, height: t, color:
|
|
3497
|
+
return Tt({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3465
3498
|
case "arrowDownFilled":
|
|
3466
|
-
return Dt({ width: e, height: t, color:
|
|
3499
|
+
return Dt({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3467
3500
|
case "link":
|
|
3468
|
-
return Gt({ width: e, height: t, color:
|
|
3501
|
+
return Gt({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3469
3502
|
case "telegram":
|
|
3470
|
-
return Pt({ width: e, height: t, color:
|
|
3503
|
+
return Pt({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3471
3504
|
case "mail":
|
|
3472
|
-
return Ft({ width: e, height: t, color:
|
|
3505
|
+
return Ft({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3473
3506
|
case "github":
|
|
3474
|
-
return Kt({ width: e, height: t, color:
|
|
3507
|
+
return Kt({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3475
3508
|
case "linkedIn":
|
|
3476
|
-
return $t({ width: e, height: t, color:
|
|
3509
|
+
return $t({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3477
3510
|
case "emptyStateIcon":
|
|
3478
|
-
return Yt({ width: e, height: t, color:
|
|
3511
|
+
return Yt({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3479
3512
|
case "filtersIcon":
|
|
3480
|
-
return Ut({ width: e, height: t, color:
|
|
3513
|
+
return Ut({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3481
3514
|
case "dotMenuIcon":
|
|
3482
|
-
return zt({ width: e, height: t, color:
|
|
3515
|
+
return zt({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3483
3516
|
case "plusCircle":
|
|
3484
|
-
return Jt({ width: e, height: t, color:
|
|
3517
|
+
return Jt({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3485
3518
|
case "warning":
|
|
3486
|
-
return qt({ width: e, height: t, color:
|
|
3519
|
+
return qt({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3487
3520
|
case "back":
|
|
3488
|
-
return Qt({ width: e, height: t, color:
|
|
3521
|
+
return Qt({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3489
3522
|
case "bell":
|
|
3490
|
-
return Xt({ width: e, height: t, color:
|
|
3523
|
+
return Xt({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3491
3524
|
case "contract":
|
|
3492
|
-
return t2({ width: e, height: t, color:
|
|
3525
|
+
return t2({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3493
3526
|
case "trash2":
|
|
3494
|
-
return e2({ width: e, height: t, color:
|
|
3527
|
+
return e2({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3495
3528
|
case "manager":
|
|
3496
|
-
return i2({ width: e, height: t, color:
|
|
3529
|
+
return i2({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3497
3530
|
case "resourceManager":
|
|
3498
|
-
return s2({ width: e, height: t, color:
|
|
3531
|
+
return s2({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3499
3532
|
case "settings2":
|
|
3500
|
-
return n2({ width: e, height: t, color:
|
|
3533
|
+
return n2({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3501
3534
|
case "image":
|
|
3502
|
-
return o2({ width: e, height: t, color:
|
|
3535
|
+
return o2({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3503
3536
|
case "upload":
|
|
3504
|
-
return r2({ width: e, height: t, color:
|
|
3537
|
+
return r2({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3505
3538
|
case "edit":
|
|
3506
|
-
return
|
|
3539
|
+
return l2({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3507
3540
|
case "location":
|
|
3508
|
-
return
|
|
3541
|
+
return a2({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3509
3542
|
case "plus2":
|
|
3510
|
-
return h2({ width: e, height: t, color:
|
|
3543
|
+
return h2({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3511
3544
|
case "search2":
|
|
3512
|
-
return c2({ width: e, height: t, color:
|
|
3545
|
+
return c2({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3513
3546
|
case "fastArrowLeft":
|
|
3514
|
-
return d2({ width: e, height: t, color:
|
|
3547
|
+
return d2({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3515
3548
|
case "fastArrowRight":
|
|
3516
|
-
return g2({ width: e, height: t, color:
|
|
3549
|
+
return g2({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3517
3550
|
case "crossInCircle":
|
|
3518
|
-
return
|
|
3551
|
+
return C2({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3519
3552
|
case "arrowUp2":
|
|
3520
|
-
return p2({ width: e, height: t, color:
|
|
3553
|
+
return p2({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3521
3554
|
case "arrowDown2":
|
|
3522
|
-
return
|
|
3555
|
+
return u2({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3523
3556
|
case "filledArrowLeft":
|
|
3524
|
-
return f2({ width: e, height: t, color:
|
|
3557
|
+
return f2({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3525
3558
|
case "filledArrowRight":
|
|
3526
|
-
return w2({ width: e, height: t, color:
|
|
3559
|
+
return w2({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3527
3560
|
case "burgerMenu":
|
|
3528
|
-
return m2({ width: e, height: t, color:
|
|
3561
|
+
return m2({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3529
3562
|
case "signOut":
|
|
3530
|
-
return k2({ width: e, height: t, color:
|
|
3563
|
+
return k2({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3531
3564
|
case "refresh":
|
|
3532
|
-
return L2({ width: e, height: t, color:
|
|
3565
|
+
return L2({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3533
3566
|
case "projects":
|
|
3534
|
-
return v2({ width: e, height: t, color:
|
|
3567
|
+
return v2({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3568
|
+
case "exit":
|
|
3569
|
+
return N2({ width: e, height: t, color: a, className: r, onClick: h });
|
|
3535
3570
|
default:
|
|
3536
3571
|
return /* @__PURE__ */ o(n1, { children: "No Icon provided" });
|
|
3537
3572
|
}
|
|
3538
3573
|
})() });
|
|
3539
|
-
}, { Title:
|
|
3574
|
+
}, { Title: x2, Text: R2 } = ke, M2 = {
|
|
3540
3575
|
h1: 1,
|
|
3541
3576
|
h2: 2,
|
|
3542
3577
|
h3: 3,
|
|
3543
3578
|
h4: 4
|
|
3544
|
-
},
|
|
3579
|
+
}, b2 = k1(
|
|
3545
3580
|
({
|
|
3546
3581
|
align: i = "inherit",
|
|
3547
3582
|
variant: e = "body1",
|
|
3548
3583
|
color: t,
|
|
3549
3584
|
children: s,
|
|
3550
3585
|
onClick: n,
|
|
3551
|
-
collapsed:
|
|
3586
|
+
collapsed: l,
|
|
3552
3587
|
whiteSpace: c = "normal"
|
|
3553
3588
|
}, r) => {
|
|
3554
3589
|
const d = e === "h1" || e === "h2" || e === "h3" || e === "h4";
|
|
3555
3590
|
let g = `snmt-typography snmt-typography-${e}`;
|
|
3556
|
-
return i && i !== "inherit" && (g += ` snmt-typography-align-${i}`),
|
|
3557
|
-
|
|
3591
|
+
return i && i !== "inherit" && (g += ` snmt-typography-align-${i}`), l && (g += " collapsed"), d ? /* @__PURE__ */ o(
|
|
3592
|
+
x2,
|
|
3558
3593
|
{
|
|
3559
3594
|
className: g,
|
|
3560
3595
|
style: { color: t, whiteSpace: c },
|
|
3561
3596
|
onClick: n,
|
|
3562
|
-
level:
|
|
3597
|
+
level: M2[e],
|
|
3563
3598
|
ref: r,
|
|
3564
3599
|
children: s
|
|
3565
3600
|
}
|
|
3566
3601
|
) : /* @__PURE__ */ o(
|
|
3567
|
-
|
|
3602
|
+
R2,
|
|
3568
3603
|
{
|
|
3569
3604
|
className: g,
|
|
3570
3605
|
style: { color: t, whiteSpace: c },
|
|
@@ -3581,7 +3616,7 @@ const te = o1({
|
|
|
3581
3616
|
theme: "light"
|
|
3582
3617
|
});
|
|
3583
3618
|
te.Provider;
|
|
3584
|
-
const
|
|
3619
|
+
const y2 = ({
|
|
3585
3620
|
width: i = 20,
|
|
3586
3621
|
height: e = 20,
|
|
3587
3622
|
color: t = "#001E52",
|
|
@@ -3608,7 +3643,7 @@ const b2 = ({
|
|
|
3608
3643
|
}
|
|
3609
3644
|
)
|
|
3610
3645
|
}
|
|
3611
|
-
),
|
|
3646
|
+
), E2 = ({
|
|
3612
3647
|
width: i = 20,
|
|
3613
3648
|
height: e = 20,
|
|
3614
3649
|
color: t = "#001E52",
|
|
@@ -3635,13 +3670,13 @@ const b2 = ({
|
|
|
3635
3670
|
}
|
|
3636
3671
|
)
|
|
3637
3672
|
}
|
|
3638
|
-
),
|
|
3673
|
+
), _2 = ({
|
|
3639
3674
|
width: i = 16,
|
|
3640
3675
|
height: e = 16,
|
|
3641
3676
|
color: t = "#001E52",
|
|
3642
3677
|
className: s,
|
|
3643
3678
|
onClick: n
|
|
3644
|
-
}) => /* @__PURE__ */
|
|
3679
|
+
}) => /* @__PURE__ */ C(
|
|
3645
3680
|
"svg",
|
|
3646
3681
|
{
|
|
3647
3682
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3663,13 +3698,13 @@ const b2 = ({
|
|
|
3663
3698
|
)
|
|
3664
3699
|
]
|
|
3665
3700
|
}
|
|
3666
|
-
),
|
|
3701
|
+
), H2 = ({
|
|
3667
3702
|
width: i = 20,
|
|
3668
3703
|
height: e = 20,
|
|
3669
3704
|
color: t = "#001E52",
|
|
3670
3705
|
className: s,
|
|
3671
3706
|
onClick: n
|
|
3672
|
-
}) => /* @__PURE__ */
|
|
3707
|
+
}) => /* @__PURE__ */ C(
|
|
3673
3708
|
"svg",
|
|
3674
3709
|
{
|
|
3675
3710
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3698,13 +3733,13 @@ const b2 = ({
|
|
|
3698
3733
|
)
|
|
3699
3734
|
]
|
|
3700
3735
|
}
|
|
3701
|
-
),
|
|
3736
|
+
), V2 = ({
|
|
3702
3737
|
width: i = 18,
|
|
3703
3738
|
height: e = 18,
|
|
3704
3739
|
color: t = "#001E52",
|
|
3705
3740
|
className: s,
|
|
3706
3741
|
onClick: n
|
|
3707
|
-
}) => /* @__PURE__ */
|
|
3742
|
+
}) => /* @__PURE__ */ C(
|
|
3708
3743
|
"svg",
|
|
3709
3744
|
{
|
|
3710
3745
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3737,7 +3772,7 @@ const b2 = ({
|
|
|
3737
3772
|
)
|
|
3738
3773
|
]
|
|
3739
3774
|
}
|
|
3740
|
-
),
|
|
3775
|
+
), I2 = ({
|
|
3741
3776
|
width: i = 20,
|
|
3742
3777
|
height: e = 20,
|
|
3743
3778
|
color: t = "#001E52",
|
|
@@ -3763,13 +3798,13 @@ const b2 = ({
|
|
|
3763
3798
|
}
|
|
3764
3799
|
)
|
|
3765
3800
|
}
|
|
3766
|
-
),
|
|
3801
|
+
), S2 = ({
|
|
3767
3802
|
width: i = 20,
|
|
3768
3803
|
height: e = 20,
|
|
3769
3804
|
color: t = "#001E52",
|
|
3770
3805
|
className: s,
|
|
3771
3806
|
onClick: n
|
|
3772
|
-
}) => /* @__PURE__ */
|
|
3807
|
+
}) => /* @__PURE__ */ C(
|
|
3773
3808
|
"svg",
|
|
3774
3809
|
{
|
|
3775
3810
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3784,13 +3819,13 @@ const b2 = ({
|
|
|
3784
3819
|
/* @__PURE__ */ o("path", { d: "M16 4L4 16", stroke: t, strokeWidth: "1.5", strokeLinecap: "round" })
|
|
3785
3820
|
]
|
|
3786
3821
|
}
|
|
3787
|
-
),
|
|
3822
|
+
), O2 = ({
|
|
3788
3823
|
width: i = 20,
|
|
3789
3824
|
height: e = 20,
|
|
3790
3825
|
color: t = "#001E52",
|
|
3791
3826
|
className: s,
|
|
3792
3827
|
onClick: n
|
|
3793
|
-
}) => /* @__PURE__ */
|
|
3828
|
+
}) => /* @__PURE__ */ C(
|
|
3794
3829
|
"svg",
|
|
3795
3830
|
{
|
|
3796
3831
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3816,13 +3851,13 @@ const b2 = ({
|
|
|
3816
3851
|
)
|
|
3817
3852
|
]
|
|
3818
3853
|
}
|
|
3819
|
-
),
|
|
3854
|
+
), A2 = ({
|
|
3820
3855
|
width: i = 20,
|
|
3821
3856
|
height: e = 20,
|
|
3822
3857
|
color: t = "#001E52",
|
|
3823
3858
|
className: s,
|
|
3824
3859
|
onClick: n
|
|
3825
|
-
}) => /* @__PURE__ */
|
|
3860
|
+
}) => /* @__PURE__ */ C(
|
|
3826
3861
|
"svg",
|
|
3827
3862
|
{
|
|
3828
3863
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3870,13 +3905,13 @@ const b2 = ({
|
|
|
3870
3905
|
)
|
|
3871
3906
|
]
|
|
3872
3907
|
}
|
|
3873
|
-
),
|
|
3908
|
+
), B2 = ({
|
|
3874
3909
|
width: i = 20,
|
|
3875
3910
|
height: e = 20,
|
|
3876
3911
|
color: t = "#001E52",
|
|
3877
3912
|
className: s,
|
|
3878
3913
|
onClick: n
|
|
3879
|
-
}) => /* @__PURE__ */
|
|
3914
|
+
}) => /* @__PURE__ */ C(
|
|
3880
3915
|
"svg",
|
|
3881
3916
|
{
|
|
3882
3917
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3909,7 +3944,7 @@ const b2 = ({
|
|
|
3909
3944
|
/* @__PURE__ */ o("path", { d: "M3 12L17 12", stroke: t, strokeWidth: "2", strokeLinecap: "round" })
|
|
3910
3945
|
]
|
|
3911
3946
|
}
|
|
3912
|
-
),
|
|
3947
|
+
), Z2 = ({
|
|
3913
3948
|
width: i = 16,
|
|
3914
3949
|
height: e = 12,
|
|
3915
3950
|
color: t = "#001E52",
|
|
@@ -3925,7 +3960,7 @@ const b2 = ({
|
|
|
3925
3960
|
viewBox: "0 0 16 12",
|
|
3926
3961
|
fill: "none",
|
|
3927
3962
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3928
|
-
children: /* @__PURE__ */
|
|
3963
|
+
children: /* @__PURE__ */ C("g", { id: "Icon", children: [
|
|
3929
3964
|
/* @__PURE__ */ o(
|
|
3930
3965
|
"path",
|
|
3931
3966
|
{
|
|
@@ -3964,7 +3999,7 @@ const b2 = ({
|
|
|
3964
3999
|
color: t = "#001E52",
|
|
3965
4000
|
className: s,
|
|
3966
4001
|
onClick: n
|
|
3967
|
-
}) => /* @__PURE__ */
|
|
4002
|
+
}) => /* @__PURE__ */ C(
|
|
3968
4003
|
"svg",
|
|
3969
4004
|
{
|
|
3970
4005
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3992,7 +4027,7 @@ const b2 = ({
|
|
|
3992
4027
|
)
|
|
3993
4028
|
]
|
|
3994
4029
|
}
|
|
3995
|
-
),
|
|
4030
|
+
), j2 = ({
|
|
3996
4031
|
width: i = 10,
|
|
3997
4032
|
height: e = 10,
|
|
3998
4033
|
color: t = "#001E52",
|
|
@@ -4008,7 +4043,7 @@ const b2 = ({
|
|
|
4008
4043
|
viewBox: "0 0 10 10",
|
|
4009
4044
|
fill: "none",
|
|
4010
4045
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4011
|
-
children: /* @__PURE__ */
|
|
4046
|
+
children: /* @__PURE__ */ C("g", { id: "Icon", children: [
|
|
4012
4047
|
/* @__PURE__ */ o(
|
|
4013
4048
|
"path",
|
|
4014
4049
|
{
|
|
@@ -4031,13 +4066,13 @@ const b2 = ({
|
|
|
4031
4066
|
)
|
|
4032
4067
|
] })
|
|
4033
4068
|
}
|
|
4034
|
-
),
|
|
4069
|
+
), D2 = ({
|
|
4035
4070
|
width: i = 16,
|
|
4036
4071
|
height: e = 16,
|
|
4037
4072
|
color: t = "#001E52",
|
|
4038
4073
|
className: s,
|
|
4039
4074
|
onClick: n
|
|
4040
|
-
}) => /* @__PURE__ */
|
|
4075
|
+
}) => /* @__PURE__ */ C(
|
|
4041
4076
|
"svg",
|
|
4042
4077
|
{
|
|
4043
4078
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4067,13 +4102,13 @@ const b2 = ({
|
|
|
4067
4102
|
)
|
|
4068
4103
|
]
|
|
4069
4104
|
}
|
|
4070
|
-
),
|
|
4105
|
+
), T2 = ({
|
|
4071
4106
|
width: i = 11,
|
|
4072
4107
|
height: e = 32,
|
|
4073
4108
|
color: t = "#001E52",
|
|
4074
4109
|
className: s,
|
|
4075
4110
|
onClick: n
|
|
4076
|
-
}) => /* @__PURE__ */
|
|
4111
|
+
}) => /* @__PURE__ */ C(
|
|
4077
4112
|
"svg",
|
|
4078
4113
|
{
|
|
4079
4114
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4105,13 +4140,13 @@ const b2 = ({
|
|
|
4105
4140
|
/* @__PURE__ */ o("circle", { cx: "3", cy: "3", r: "3", fill: t })
|
|
4106
4141
|
]
|
|
4107
4142
|
}
|
|
4108
|
-
),
|
|
4143
|
+
), G2 = ({
|
|
4109
4144
|
width: i = 20,
|
|
4110
4145
|
height: e = 20,
|
|
4111
4146
|
color: t = "#001E52",
|
|
4112
4147
|
className: s,
|
|
4113
4148
|
onClick: n
|
|
4114
|
-
}) => /* @__PURE__ */
|
|
4149
|
+
}) => /* @__PURE__ */ C(
|
|
4115
4150
|
"svg",
|
|
4116
4151
|
{
|
|
4117
4152
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4152,13 +4187,13 @@ const b2 = ({
|
|
|
4152
4187
|
)
|
|
4153
4188
|
]
|
|
4154
4189
|
}
|
|
4155
|
-
),
|
|
4190
|
+
), K2 = ({
|
|
4156
4191
|
width: i = 20,
|
|
4157
4192
|
height: e = 20,
|
|
4158
4193
|
color: t = "#001E52",
|
|
4159
4194
|
className: s,
|
|
4160
4195
|
onClick: n
|
|
4161
|
-
}) => /* @__PURE__ */
|
|
4196
|
+
}) => /* @__PURE__ */ C(
|
|
4162
4197
|
"svg",
|
|
4163
4198
|
{
|
|
4164
4199
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4185,13 +4220,13 @@ const b2 = ({
|
|
|
4185
4220
|
)
|
|
4186
4221
|
]
|
|
4187
4222
|
}
|
|
4188
|
-
),
|
|
4223
|
+
), P2 = ({
|
|
4189
4224
|
width: i = 20,
|
|
4190
4225
|
height: e = 20,
|
|
4191
4226
|
color: t = "#001E52",
|
|
4192
4227
|
className: s,
|
|
4193
4228
|
onClick: n
|
|
4194
|
-
}) => /* @__PURE__ */
|
|
4229
|
+
}) => /* @__PURE__ */ C(
|
|
4195
4230
|
"svg",
|
|
4196
4231
|
{
|
|
4197
4232
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4232,13 +4267,13 @@ const b2 = ({
|
|
|
4232
4267
|
)
|
|
4233
4268
|
]
|
|
4234
4269
|
}
|
|
4235
|
-
),
|
|
4270
|
+
), $2 = ({
|
|
4236
4271
|
width: i = 20,
|
|
4237
4272
|
height: e = 20,
|
|
4238
4273
|
color: t = "#001E52",
|
|
4239
4274
|
className: s,
|
|
4240
4275
|
onClick: n
|
|
4241
|
-
}) => /* @__PURE__ */
|
|
4276
|
+
}) => /* @__PURE__ */ C(
|
|
4242
4277
|
"svg",
|
|
4243
4278
|
{
|
|
4244
4279
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4265,13 +4300,13 @@ const b2 = ({
|
|
|
4265
4300
|
)
|
|
4266
4301
|
]
|
|
4267
4302
|
}
|
|
4268
|
-
),
|
|
4303
|
+
), F2 = ({
|
|
4269
4304
|
width: i = 18,
|
|
4270
4305
|
height: e = 16,
|
|
4271
4306
|
color: t = "#001E52",
|
|
4272
4307
|
className: s,
|
|
4273
4308
|
onClick: n
|
|
4274
|
-
}) => /* @__PURE__ */
|
|
4309
|
+
}) => /* @__PURE__ */ C(
|
|
4275
4310
|
"svg",
|
|
4276
4311
|
{
|
|
4277
4312
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4304,13 +4339,13 @@ const b2 = ({
|
|
|
4304
4339
|
)
|
|
4305
4340
|
]
|
|
4306
4341
|
}
|
|
4307
|
-
),
|
|
4342
|
+
), Y2 = ({
|
|
4308
4343
|
width: i = 20,
|
|
4309
4344
|
height: e = 20,
|
|
4310
4345
|
color: t = "#001E52",
|
|
4311
4346
|
className: s,
|
|
4312
4347
|
onClick: n
|
|
4313
|
-
}) => /* @__PURE__ */
|
|
4348
|
+
}) => /* @__PURE__ */ C(
|
|
4314
4349
|
"svg",
|
|
4315
4350
|
{
|
|
4316
4351
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4337,7 +4372,7 @@ const b2 = ({
|
|
|
4337
4372
|
)
|
|
4338
4373
|
]
|
|
4339
4374
|
}
|
|
4340
|
-
),
|
|
4375
|
+
), U2 = ({
|
|
4341
4376
|
width: i = 20,
|
|
4342
4377
|
height: e = 20,
|
|
4343
4378
|
color: t = "#001E52",
|
|
@@ -4361,13 +4396,13 @@ const b2 = ({
|
|
|
4361
4396
|
}
|
|
4362
4397
|
)
|
|
4363
4398
|
}
|
|
4364
|
-
),
|
|
4399
|
+
), z2 = ({
|
|
4365
4400
|
width: i = 20,
|
|
4366
4401
|
height: e = 20,
|
|
4367
4402
|
color: t = "#001E52",
|
|
4368
4403
|
className: s,
|
|
4369
4404
|
onClick: n
|
|
4370
|
-
}) => /* @__PURE__ */
|
|
4405
|
+
}) => /* @__PURE__ */ C(
|
|
4371
4406
|
"svg",
|
|
4372
4407
|
{
|
|
4373
4408
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4408,13 +4443,13 @@ const b2 = ({
|
|
|
4408
4443
|
)
|
|
4409
4444
|
]
|
|
4410
4445
|
}
|
|
4411
|
-
),
|
|
4446
|
+
), J2 = ({
|
|
4412
4447
|
width: i = 20,
|
|
4413
4448
|
height: e = 20,
|
|
4414
4449
|
color: t = "#001E52",
|
|
4415
4450
|
className: s,
|
|
4416
4451
|
onClick: n
|
|
4417
|
-
}) => /* @__PURE__ */
|
|
4452
|
+
}) => /* @__PURE__ */ C(
|
|
4418
4453
|
"svg",
|
|
4419
4454
|
{
|
|
4420
4455
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4441,13 +4476,13 @@ const b2 = ({
|
|
|
4441
4476
|
)
|
|
4442
4477
|
]
|
|
4443
4478
|
}
|
|
4444
|
-
),
|
|
4479
|
+
), q2 = ({
|
|
4445
4480
|
width: i = 20,
|
|
4446
4481
|
height: e = 20,
|
|
4447
4482
|
color: t = "#001E52",
|
|
4448
4483
|
className: s,
|
|
4449
4484
|
onClick: n
|
|
4450
|
-
}) => /* @__PURE__ */
|
|
4485
|
+
}) => /* @__PURE__ */ C(
|
|
4451
4486
|
"svg",
|
|
4452
4487
|
{
|
|
4453
4488
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4474,13 +4509,13 @@ const b2 = ({
|
|
|
4474
4509
|
)
|
|
4475
4510
|
]
|
|
4476
4511
|
}
|
|
4477
|
-
),
|
|
4512
|
+
), Q2 = ({
|
|
4478
4513
|
width: i = 20,
|
|
4479
4514
|
height: e = 23,
|
|
4480
4515
|
color: t = "#001E52",
|
|
4481
4516
|
className: s,
|
|
4482
4517
|
onClick: n
|
|
4483
|
-
}) => /* @__PURE__ */
|
|
4518
|
+
}) => /* @__PURE__ */ C(
|
|
4484
4519
|
"svg",
|
|
4485
4520
|
{
|
|
4486
4521
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4535,13 +4570,13 @@ const b2 = ({
|
|
|
4535
4570
|
)
|
|
4536
4571
|
]
|
|
4537
4572
|
}
|
|
4538
|
-
),
|
|
4573
|
+
), X2 = ({
|
|
4539
4574
|
width: i = 20,
|
|
4540
4575
|
height: e = 20,
|
|
4541
4576
|
color: t = "#001E52",
|
|
4542
4577
|
className: s,
|
|
4543
4578
|
onClick: n
|
|
4544
|
-
}) => /* @__PURE__ */
|
|
4579
|
+
}) => /* @__PURE__ */ C(
|
|
4545
4580
|
"svg",
|
|
4546
4581
|
{
|
|
4547
4582
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4575,13 +4610,13 @@ const b2 = ({
|
|
|
4575
4610
|
)
|
|
4576
4611
|
]
|
|
4577
4612
|
}
|
|
4578
|
-
),
|
|
4613
|
+
), e5 = ({
|
|
4579
4614
|
width: i = 32,
|
|
4580
4615
|
height: e = 25,
|
|
4581
4616
|
color: t = "#001E52",
|
|
4582
4617
|
className: s,
|
|
4583
4618
|
onClick: n
|
|
4584
|
-
}) => /* @__PURE__ */
|
|
4619
|
+
}) => /* @__PURE__ */ C(
|
|
4585
4620
|
"svg",
|
|
4586
4621
|
{
|
|
4587
4622
|
width: i,
|
|
@@ -4603,13 +4638,13 @@ const b2 = ({
|
|
|
4603
4638
|
)
|
|
4604
4639
|
]
|
|
4605
4640
|
}
|
|
4606
|
-
),
|
|
4641
|
+
), t5 = ({
|
|
4607
4642
|
width: i = 14,
|
|
4608
4643
|
height: e = 14,
|
|
4609
4644
|
color: t = "#10B981",
|
|
4610
4645
|
className: s,
|
|
4611
4646
|
onClick: n
|
|
4612
|
-
}) => /* @__PURE__ */
|
|
4647
|
+
}) => /* @__PURE__ */ C(
|
|
4613
4648
|
"svg",
|
|
4614
4649
|
{
|
|
4615
4650
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4632,13 +4667,13 @@ const b2 = ({
|
|
|
4632
4667
|
)
|
|
4633
4668
|
]
|
|
4634
4669
|
}
|
|
4635
|
-
),
|
|
4670
|
+
), i5 = ({
|
|
4636
4671
|
width: i = 11,
|
|
4637
4672
|
height: e = 11,
|
|
4638
4673
|
color: t = "#FFB020",
|
|
4639
4674
|
className: s,
|
|
4640
4675
|
onClick: n
|
|
4641
|
-
}) => /* @__PURE__ */
|
|
4676
|
+
}) => /* @__PURE__ */ C(
|
|
4642
4677
|
"svg",
|
|
4643
4678
|
{
|
|
4644
4679
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4666,13 +4701,13 @@ const b2 = ({
|
|
|
4666
4701
|
)
|
|
4667
4702
|
]
|
|
4668
4703
|
}
|
|
4669
|
-
),
|
|
4704
|
+
), s5 = ({
|
|
4670
4705
|
width: i = 10,
|
|
4671
4706
|
height: e = 10,
|
|
4672
4707
|
color: t = "#88A4FF",
|
|
4673
4708
|
className: s,
|
|
4674
4709
|
onClick: n
|
|
4675
|
-
}) => /* @__PURE__ */
|
|
4710
|
+
}) => /* @__PURE__ */ C(
|
|
4676
4711
|
"svg",
|
|
4677
4712
|
{
|
|
4678
4713
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4714,13 +4749,13 @@ const b2 = ({
|
|
|
4714
4749
|
)
|
|
4715
4750
|
]
|
|
4716
4751
|
}
|
|
4717
|
-
),
|
|
4752
|
+
), n5 = ({
|
|
4718
4753
|
width: i = 14,
|
|
4719
4754
|
height: e = 14,
|
|
4720
4755
|
color: t = "#8E8E93",
|
|
4721
4756
|
className: s,
|
|
4722
4757
|
onClick: n
|
|
4723
|
-
}) => /* @__PURE__ */
|
|
4758
|
+
}) => /* @__PURE__ */ C(
|
|
4724
4759
|
"svg",
|
|
4725
4760
|
{
|
|
4726
4761
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4742,13 +4777,13 @@ const b2 = ({
|
|
|
4742
4777
|
)
|
|
4743
4778
|
]
|
|
4744
4779
|
}
|
|
4745
|
-
),
|
|
4780
|
+
), o5 = ({
|
|
4746
4781
|
width: i = 14,
|
|
4747
4782
|
height: e = 14,
|
|
4748
4783
|
color: t = "#FFB020",
|
|
4749
4784
|
className: s,
|
|
4750
4785
|
onClick: n
|
|
4751
|
-
}) => /* @__PURE__ */
|
|
4786
|
+
}) => /* @__PURE__ */ C(
|
|
4752
4787
|
"svg",
|
|
4753
4788
|
{
|
|
4754
4789
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4776,13 +4811,13 @@ const b2 = ({
|
|
|
4776
4811
|
)
|
|
4777
4812
|
]
|
|
4778
4813
|
}
|
|
4779
|
-
),
|
|
4814
|
+
), r5 = ({
|
|
4780
4815
|
width: i = 14,
|
|
4781
4816
|
height: e = 14,
|
|
4782
4817
|
color: t = "#D0421B",
|
|
4783
4818
|
className: s,
|
|
4784
4819
|
onClick: n
|
|
4785
|
-
}) => /* @__PURE__ */
|
|
4820
|
+
}) => /* @__PURE__ */ C(
|
|
4786
4821
|
"svg",
|
|
4787
4822
|
{
|
|
4788
4823
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4824,13 +4859,13 @@ const b2 = ({
|
|
|
4824
4859
|
)
|
|
4825
4860
|
]
|
|
4826
4861
|
}
|
|
4827
|
-
),
|
|
4862
|
+
), l5 = ({
|
|
4828
4863
|
width: i = 20,
|
|
4829
4864
|
height: e = 20,
|
|
4830
4865
|
color: t = "#070739",
|
|
4831
4866
|
className: s,
|
|
4832
4867
|
onClick: n
|
|
4833
|
-
}) => /* @__PURE__ */
|
|
4868
|
+
}) => /* @__PURE__ */ C(
|
|
4834
4869
|
"svg",
|
|
4835
4870
|
{
|
|
4836
4871
|
width: i,
|
|
@@ -4860,7 +4895,7 @@ const b2 = ({
|
|
|
4860
4895
|
color: t = "#070739",
|
|
4861
4896
|
className: s,
|
|
4862
4897
|
onClick: n
|
|
4863
|
-
}) => /* @__PURE__ */
|
|
4898
|
+
}) => /* @__PURE__ */ C(
|
|
4864
4899
|
"svg",
|
|
4865
4900
|
{
|
|
4866
4901
|
width: i,
|
|
@@ -4892,7 +4927,7 @@ const b2 = ({
|
|
|
4892
4927
|
)
|
|
4893
4928
|
]
|
|
4894
4929
|
}
|
|
4895
|
-
),
|
|
4930
|
+
), h5 = ({
|
|
4896
4931
|
width: i = 9,
|
|
4897
4932
|
height: e = 5,
|
|
4898
4933
|
color: t = "#001E52",
|
|
@@ -4918,13 +4953,13 @@ const b2 = ({
|
|
|
4918
4953
|
}
|
|
4919
4954
|
)
|
|
4920
4955
|
}
|
|
4921
|
-
),
|
|
4956
|
+
), c5 = ({
|
|
4922
4957
|
width: i = 20,
|
|
4923
4958
|
height: e = 20,
|
|
4924
4959
|
color: t = "#F2F2F7",
|
|
4925
4960
|
className: s,
|
|
4926
4961
|
onClick: n
|
|
4927
|
-
}) => /* @__PURE__ */
|
|
4962
|
+
}) => /* @__PURE__ */ C(
|
|
4928
4963
|
"svg",
|
|
4929
4964
|
{
|
|
4930
4965
|
width: i,
|
|
@@ -4947,13 +4982,13 @@ const b2 = ({
|
|
|
4947
4982
|
)
|
|
4948
4983
|
]
|
|
4949
4984
|
}
|
|
4950
|
-
),
|
|
4985
|
+
), d5 = ({
|
|
4951
4986
|
width: i = 20,
|
|
4952
4987
|
height: e = 20,
|
|
4953
4988
|
color: t = "#004ED7",
|
|
4954
4989
|
className: s,
|
|
4955
4990
|
onClick: n
|
|
4956
|
-
}) => /* @__PURE__ */
|
|
4991
|
+
}) => /* @__PURE__ */ C(
|
|
4957
4992
|
"svg",
|
|
4958
4993
|
{
|
|
4959
4994
|
width: i,
|
|
@@ -4976,13 +5011,13 @@ const b2 = ({
|
|
|
4976
5011
|
)
|
|
4977
5012
|
]
|
|
4978
5013
|
}
|
|
4979
|
-
),
|
|
5014
|
+
), g5 = ({
|
|
4980
5015
|
width: i = 248,
|
|
4981
5016
|
height: e = 248,
|
|
4982
5017
|
color: t = "#070739",
|
|
4983
5018
|
className: s,
|
|
4984
5019
|
onClick: n
|
|
4985
|
-
}) => /* @__PURE__ */
|
|
5020
|
+
}) => /* @__PURE__ */ C(
|
|
4986
5021
|
"svg",
|
|
4987
5022
|
{
|
|
4988
5023
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5013,13 +5048,13 @@ const b2 = ({
|
|
|
5013
5048
|
)
|
|
5014
5049
|
]
|
|
5015
5050
|
}
|
|
5016
|
-
),
|
|
5051
|
+
), C5 = ({
|
|
5017
5052
|
width: i = 24,
|
|
5018
5053
|
height: e = 24,
|
|
5019
5054
|
color: t = "#001E52",
|
|
5020
5055
|
className: s,
|
|
5021
5056
|
onClick: n
|
|
5022
|
-
}) => /* @__PURE__ */
|
|
5057
|
+
}) => /* @__PURE__ */ C(
|
|
5023
5058
|
"svg",
|
|
5024
5059
|
{
|
|
5025
5060
|
width: i,
|
|
@@ -5058,7 +5093,7 @@ const b2 = ({
|
|
|
5058
5093
|
color: t = "#001E52",
|
|
5059
5094
|
className: s,
|
|
5060
5095
|
onClick: n
|
|
5061
|
-
}) => /* @__PURE__ */
|
|
5096
|
+
}) => /* @__PURE__ */ C(
|
|
5062
5097
|
"svg",
|
|
5063
5098
|
{
|
|
5064
5099
|
width: i,
|
|
@@ -5081,13 +5116,13 @@ const b2 = ({
|
|
|
5081
5116
|
)
|
|
5082
5117
|
]
|
|
5083
5118
|
}
|
|
5084
|
-
),
|
|
5119
|
+
), p5 = ({
|
|
5085
5120
|
width: i = 10,
|
|
5086
5121
|
height: e = 10,
|
|
5087
5122
|
color: t = "#001E52",
|
|
5088
5123
|
className: s,
|
|
5089
5124
|
onClick: n
|
|
5090
|
-
}) => /* @__PURE__ */
|
|
5125
|
+
}) => /* @__PURE__ */ C(
|
|
5091
5126
|
"svg",
|
|
5092
5127
|
{
|
|
5093
5128
|
width: i,
|
|
@@ -5118,13 +5153,13 @@ const b2 = ({
|
|
|
5118
5153
|
)
|
|
5119
5154
|
]
|
|
5120
5155
|
}
|
|
5121
|
-
),
|
|
5156
|
+
), f5 = ({
|
|
5122
5157
|
width: i = 24,
|
|
5123
5158
|
height: e = 24,
|
|
5124
5159
|
color: t = b.GREY_DARK_5,
|
|
5125
5160
|
className: s,
|
|
5126
5161
|
onClick: n
|
|
5127
|
-
}) => /* @__PURE__ */
|
|
5162
|
+
}) => /* @__PURE__ */ C(
|
|
5128
5163
|
"svg",
|
|
5129
5164
|
{
|
|
5130
5165
|
width: i,
|
|
@@ -5157,13 +5192,13 @@ const b2 = ({
|
|
|
5157
5192
|
)
|
|
5158
5193
|
]
|
|
5159
5194
|
}
|
|
5160
|
-
),
|
|
5195
|
+
), w5 = ({
|
|
5161
5196
|
width: i = 20,
|
|
5162
5197
|
height: e = 20,
|
|
5163
5198
|
color: t = b.GREY_DARK_1,
|
|
5164
5199
|
className: s,
|
|
5165
5200
|
onClick: n
|
|
5166
|
-
}) => /* @__PURE__ */
|
|
5201
|
+
}) => /* @__PURE__ */ C(
|
|
5167
5202
|
"svg",
|
|
5168
5203
|
{
|
|
5169
5204
|
width: i,
|
|
@@ -5190,13 +5225,13 @@ const b2 = ({
|
|
|
5190
5225
|
)
|
|
5191
5226
|
]
|
|
5192
5227
|
}
|
|
5193
|
-
),
|
|
5228
|
+
), m5 = ({
|
|
5194
5229
|
width: i = 81,
|
|
5195
5230
|
height: e = 80,
|
|
5196
5231
|
color: t = b.GREY_DARK_5,
|
|
5197
5232
|
className: s,
|
|
5198
5233
|
onClick: n
|
|
5199
|
-
}) => /* @__PURE__ */
|
|
5234
|
+
}) => /* @__PURE__ */ C(
|
|
5200
5235
|
"svg",
|
|
5201
5236
|
{
|
|
5202
5237
|
width: i,
|
|
@@ -5239,7 +5274,7 @@ const b2 = ({
|
|
|
5239
5274
|
)
|
|
5240
5275
|
]
|
|
5241
5276
|
}
|
|
5242
|
-
),
|
|
5277
|
+
), k5 = ({
|
|
5243
5278
|
className: i,
|
|
5244
5279
|
color: e = b.GREY_DARK_5,
|
|
5245
5280
|
height: t = 20,
|
|
@@ -5266,7 +5301,7 @@ const b2 = ({
|
|
|
5266
5301
|
}
|
|
5267
5302
|
)
|
|
5268
5303
|
}
|
|
5269
|
-
),
|
|
5304
|
+
), L5 = ({
|
|
5270
5305
|
className: i,
|
|
5271
5306
|
color: e = b.GREY_DARK_5,
|
|
5272
5307
|
height: t = 20,
|
|
@@ -5293,7 +5328,7 @@ const b2 = ({
|
|
|
5293
5328
|
}
|
|
5294
5329
|
)
|
|
5295
5330
|
}
|
|
5296
|
-
),
|
|
5331
|
+
), v5 = ({
|
|
5297
5332
|
className: i,
|
|
5298
5333
|
color: e = b.GREY_DARK_5,
|
|
5299
5334
|
height: t = 5,
|
|
@@ -5317,7 +5352,7 @@ const b2 = ({
|
|
|
5317
5352
|
}
|
|
5318
5353
|
)
|
|
5319
5354
|
}
|
|
5320
|
-
),
|
|
5355
|
+
), N5 = ({
|
|
5321
5356
|
className: i,
|
|
5322
5357
|
color: e = b.GREY_DARK_5,
|
|
5323
5358
|
height: t = 5,
|
|
@@ -5342,13 +5377,13 @@ const b2 = ({
|
|
|
5342
5377
|
}
|
|
5343
5378
|
)
|
|
5344
5379
|
}
|
|
5345
|
-
),
|
|
5380
|
+
), x5 = ({
|
|
5346
5381
|
className: i,
|
|
5347
5382
|
color: e = b.GREY_DARK_5,
|
|
5348
5383
|
height: t = 24,
|
|
5349
5384
|
width: s = 24,
|
|
5350
5385
|
onClick: n
|
|
5351
|
-
}) => /* @__PURE__ */
|
|
5386
|
+
}) => /* @__PURE__ */ C(
|
|
5352
5387
|
"svg",
|
|
5353
5388
|
{
|
|
5354
5389
|
width: s,
|
|
@@ -5381,13 +5416,13 @@ const b2 = ({
|
|
|
5381
5416
|
)
|
|
5382
5417
|
]
|
|
5383
5418
|
}
|
|
5384
|
-
),
|
|
5419
|
+
), R5 = ({
|
|
5385
5420
|
className: i,
|
|
5386
5421
|
color: e = b.GREY_DARK_5,
|
|
5387
5422
|
height: t = 24,
|
|
5388
5423
|
width: s = 24,
|
|
5389
5424
|
onClick: n
|
|
5390
|
-
}) => /* @__PURE__ */
|
|
5425
|
+
}) => /* @__PURE__ */ C(
|
|
5391
5426
|
"svg",
|
|
5392
5427
|
{
|
|
5393
5428
|
width: s,
|
|
@@ -5420,7 +5455,7 @@ const b2 = ({
|
|
|
5420
5455
|
)
|
|
5421
5456
|
]
|
|
5422
5457
|
}
|
|
5423
|
-
),
|
|
5458
|
+
), M5 = ({
|
|
5424
5459
|
className: i,
|
|
5425
5460
|
color: e = b.GREY_DARK_5,
|
|
5426
5461
|
height: t = 24,
|
|
@@ -5447,13 +5482,13 @@ const b2 = ({
|
|
|
5447
5482
|
}
|
|
5448
5483
|
)
|
|
5449
5484
|
}
|
|
5450
|
-
),
|
|
5485
|
+
), b5 = ({
|
|
5451
5486
|
className: i,
|
|
5452
5487
|
color: e = b.GREY_DARK_5,
|
|
5453
5488
|
height: t = 24,
|
|
5454
5489
|
width: s = 24,
|
|
5455
5490
|
onClick: n
|
|
5456
|
-
}) => /* @__PURE__ */
|
|
5491
|
+
}) => /* @__PURE__ */ C(
|
|
5457
5492
|
"svg",
|
|
5458
5493
|
{
|
|
5459
5494
|
width: s,
|
|
@@ -5506,13 +5541,13 @@ const b2 = ({
|
|
|
5506
5541
|
)
|
|
5507
5542
|
]
|
|
5508
5543
|
}
|
|
5509
|
-
),
|
|
5544
|
+
), y5 = ({
|
|
5510
5545
|
className: i,
|
|
5511
5546
|
color: e = b.GREY_DARK_5,
|
|
5512
5547
|
height: t = 24,
|
|
5513
5548
|
width: s = 24,
|
|
5514
5549
|
onClick: n
|
|
5515
|
-
}) => /* @__PURE__ */
|
|
5550
|
+
}) => /* @__PURE__ */ C(
|
|
5516
5551
|
"svg",
|
|
5517
5552
|
{
|
|
5518
5553
|
width: s,
|
|
@@ -5543,13 +5578,13 @@ const b2 = ({
|
|
|
5543
5578
|
)
|
|
5544
5579
|
]
|
|
5545
5580
|
}
|
|
5546
|
-
),
|
|
5581
|
+
), E5 = ({
|
|
5547
5582
|
className: i,
|
|
5548
5583
|
color: e = b.GREY_DARK_3,
|
|
5549
5584
|
height: t = 14,
|
|
5550
5585
|
width: s = 14,
|
|
5551
5586
|
onClick: n
|
|
5552
|
-
}) => /* @__PURE__ */
|
|
5587
|
+
}) => /* @__PURE__ */ C(
|
|
5553
5588
|
"svg",
|
|
5554
5589
|
{
|
|
5555
5590
|
className: i,
|
|
@@ -5580,7 +5615,7 @@ const b2 = ({
|
|
|
5580
5615
|
)
|
|
5581
5616
|
]
|
|
5582
5617
|
}
|
|
5583
|
-
),
|
|
5618
|
+
), _5 = ({
|
|
5584
5619
|
className: i,
|
|
5585
5620
|
color: e = b.GREY_DARK_5,
|
|
5586
5621
|
height: t = 18,
|
|
@@ -5607,13 +5642,13 @@ const b2 = ({
|
|
|
5607
5642
|
}
|
|
5608
5643
|
)
|
|
5609
5644
|
}
|
|
5610
|
-
),
|
|
5645
|
+
), H5 = ({
|
|
5611
5646
|
className: i,
|
|
5612
5647
|
color: e = b.GREY_DARK_5,
|
|
5613
5648
|
height: t = 24,
|
|
5614
5649
|
width: s = 24,
|
|
5615
5650
|
onClick: n
|
|
5616
|
-
}) => /* @__PURE__ */
|
|
5651
|
+
}) => /* @__PURE__ */ C(
|
|
5617
5652
|
"svg",
|
|
5618
5653
|
{
|
|
5619
5654
|
onClick: n,
|
|
@@ -5659,13 +5694,13 @@ const b2 = ({
|
|
|
5659
5694
|
)
|
|
5660
5695
|
]
|
|
5661
5696
|
}
|
|
5662
|
-
),
|
|
5697
|
+
), V5 = ({
|
|
5663
5698
|
className: i,
|
|
5664
5699
|
color: e = b.GREY_DARK_5,
|
|
5665
5700
|
height: t = 24,
|
|
5666
5701
|
width: s = 24,
|
|
5667
5702
|
onClick: n
|
|
5668
|
-
}) => /* @__PURE__ */
|
|
5703
|
+
}) => /* @__PURE__ */ C(
|
|
5669
5704
|
"svg",
|
|
5670
5705
|
{
|
|
5671
5706
|
onClick: n,
|
|
@@ -5696,13 +5731,13 @@ const b2 = ({
|
|
|
5696
5731
|
)
|
|
5697
5732
|
]
|
|
5698
5733
|
}
|
|
5699
|
-
),
|
|
5734
|
+
), I5 = ({
|
|
5700
5735
|
className: i,
|
|
5701
5736
|
color: e = b.NOTIFICATION_WARNING_DARK,
|
|
5702
5737
|
height: t = 37,
|
|
5703
5738
|
width: s = 36,
|
|
5704
5739
|
onClick: n
|
|
5705
|
-
}) => /* @__PURE__ */
|
|
5740
|
+
}) => /* @__PURE__ */ C(
|
|
5706
5741
|
"svg",
|
|
5707
5742
|
{
|
|
5708
5743
|
onClick: n,
|
|
@@ -5735,7 +5770,7 @@ const b2 = ({
|
|
|
5735
5770
|
)
|
|
5736
5771
|
]
|
|
5737
5772
|
}
|
|
5738
|
-
),
|
|
5773
|
+
), S5 = ({
|
|
5739
5774
|
className: i,
|
|
5740
5775
|
color: e = b.GREY_DARK_5,
|
|
5741
5776
|
height: t = 24,
|
|
@@ -5761,13 +5796,13 @@ const b2 = ({
|
|
|
5761
5796
|
}
|
|
5762
5797
|
)
|
|
5763
5798
|
}
|
|
5764
|
-
),
|
|
5799
|
+
), O5 = ({
|
|
5765
5800
|
className: i,
|
|
5766
5801
|
color: e = b.GREY_DARK_5,
|
|
5767
5802
|
height: t = 24,
|
|
5768
5803
|
width: s = 24,
|
|
5769
5804
|
onClick: n
|
|
5770
|
-
}) => /* @__PURE__ */
|
|
5805
|
+
}) => /* @__PURE__ */ C(
|
|
5771
5806
|
"svg",
|
|
5772
5807
|
{
|
|
5773
5808
|
onClick: n,
|
|
@@ -5800,13 +5835,13 @@ const b2 = ({
|
|
|
5800
5835
|
)
|
|
5801
5836
|
]
|
|
5802
5837
|
}
|
|
5803
|
-
),
|
|
5838
|
+
), A5 = ({
|
|
5804
5839
|
className: i,
|
|
5805
5840
|
color: e = b.GREY_DARK_5,
|
|
5806
5841
|
height: t = 24,
|
|
5807
5842
|
width: s = 24,
|
|
5808
5843
|
onClick: n
|
|
5809
|
-
}) => /* @__PURE__ */
|
|
5844
|
+
}) => /* @__PURE__ */ C(
|
|
5810
5845
|
"svg",
|
|
5811
5846
|
{
|
|
5812
5847
|
onClick: n,
|
|
@@ -5839,13 +5874,13 @@ const b2 = ({
|
|
|
5839
5874
|
)
|
|
5840
5875
|
]
|
|
5841
5876
|
}
|
|
5842
|
-
),
|
|
5877
|
+
), B5 = ({
|
|
5843
5878
|
className: i,
|
|
5844
5879
|
color: e = b.GREY_DARK_5,
|
|
5845
5880
|
height: t = 24,
|
|
5846
5881
|
width: s = 24,
|
|
5847
5882
|
onClick: n
|
|
5848
|
-
}) => /* @__PURE__ */
|
|
5883
|
+
}) => /* @__PURE__ */ C(
|
|
5849
5884
|
"svg",
|
|
5850
5885
|
{
|
|
5851
5886
|
onClick: n,
|
|
@@ -5908,13 +5943,13 @@ const b2 = ({
|
|
|
5908
5943
|
)
|
|
5909
5944
|
]
|
|
5910
5945
|
}
|
|
5911
|
-
),
|
|
5946
|
+
), Z5 = ({
|
|
5912
5947
|
className: i,
|
|
5913
5948
|
color: e = b.GREY_DARK_5,
|
|
5914
5949
|
height: t = 24,
|
|
5915
5950
|
width: s = 24,
|
|
5916
5951
|
onClick: n
|
|
5917
|
-
}) => /* @__PURE__ */
|
|
5952
|
+
}) => /* @__PURE__ */ C(
|
|
5918
5953
|
"svg",
|
|
5919
5954
|
{
|
|
5920
5955
|
onClick: n,
|
|
@@ -5953,7 +5988,7 @@ const b2 = ({
|
|
|
5953
5988
|
height: t = 24,
|
|
5954
5989
|
width: s = 24,
|
|
5955
5990
|
onClick: n
|
|
5956
|
-
}) => /* @__PURE__ */
|
|
5991
|
+
}) => /* @__PURE__ */ C(
|
|
5957
5992
|
"svg",
|
|
5958
5993
|
{
|
|
5959
5994
|
onClick: n,
|
|
@@ -6004,13 +6039,13 @@ const b2 = ({
|
|
|
6004
6039
|
)
|
|
6005
6040
|
]
|
|
6006
6041
|
}
|
|
6007
|
-
),
|
|
6042
|
+
), j5 = ({
|
|
6008
6043
|
className: i,
|
|
6009
6044
|
color: e = b.GREY_DARK_5,
|
|
6010
6045
|
height: t = 24,
|
|
6011
6046
|
width: s = 24,
|
|
6012
6047
|
onClick: n
|
|
6013
|
-
}) => /* @__PURE__ */
|
|
6048
|
+
}) => /* @__PURE__ */ C(
|
|
6014
6049
|
"svg",
|
|
6015
6050
|
{
|
|
6016
6051
|
onClick: n,
|
|
@@ -6043,13 +6078,13 @@ const b2 = ({
|
|
|
6043
6078
|
)
|
|
6044
6079
|
]
|
|
6045
6080
|
}
|
|
6046
|
-
),
|
|
6081
|
+
), D5 = ({
|
|
6047
6082
|
className: i,
|
|
6048
6083
|
color: e = b.GREY_DARK_5,
|
|
6049
6084
|
height: t = 24,
|
|
6050
6085
|
width: s = 24,
|
|
6051
6086
|
onClick: n
|
|
6052
|
-
}) => /* @__PURE__ */
|
|
6087
|
+
}) => /* @__PURE__ */ C(
|
|
6053
6088
|
"svg",
|
|
6054
6089
|
{
|
|
6055
6090
|
onClick: n,
|
|
@@ -6092,13 +6127,13 @@ const b2 = ({
|
|
|
6092
6127
|
)
|
|
6093
6128
|
]
|
|
6094
6129
|
}
|
|
6095
|
-
),
|
|
6130
|
+
), T5 = ({
|
|
6096
6131
|
className: i,
|
|
6097
6132
|
color: e = b.GREY_DARK_5,
|
|
6098
6133
|
height: t = 24,
|
|
6099
6134
|
width: s = 24,
|
|
6100
6135
|
onClick: n
|
|
6101
|
-
}) => /* @__PURE__ */
|
|
6136
|
+
}) => /* @__PURE__ */ C(
|
|
6102
6137
|
"svg",
|
|
6103
6138
|
{
|
|
6104
6139
|
onClick: n,
|
|
@@ -6131,7 +6166,7 @@ const b2 = ({
|
|
|
6131
6166
|
)
|
|
6132
6167
|
]
|
|
6133
6168
|
}
|
|
6134
|
-
),
|
|
6169
|
+
), G5 = ({
|
|
6135
6170
|
className: i,
|
|
6136
6171
|
color: e = b.GREY_DARK_5,
|
|
6137
6172
|
height: t = 24,
|
|
@@ -6158,13 +6193,13 @@ const b2 = ({
|
|
|
6158
6193
|
}
|
|
6159
6194
|
)
|
|
6160
6195
|
}
|
|
6161
|
-
),
|
|
6196
|
+
), K5 = ({
|
|
6162
6197
|
className: i,
|
|
6163
6198
|
color: e = b.GREY_DARK_5,
|
|
6164
6199
|
height: t = 24,
|
|
6165
6200
|
width: s = 24,
|
|
6166
6201
|
onClick: n
|
|
6167
|
-
}) => /* @__PURE__ */
|
|
6202
|
+
}) => /* @__PURE__ */ C(
|
|
6168
6203
|
"svg",
|
|
6169
6204
|
{
|
|
6170
6205
|
onClick: n,
|
|
@@ -6196,13 +6231,13 @@ const b2 = ({
|
|
|
6196
6231
|
)
|
|
6197
6232
|
]
|
|
6198
6233
|
}
|
|
6199
|
-
),
|
|
6234
|
+
), P5 = ({
|
|
6200
6235
|
className: i,
|
|
6201
6236
|
color: e = b.GREY_DARK_5,
|
|
6202
6237
|
height: t = 24,
|
|
6203
6238
|
width: s = 24,
|
|
6204
6239
|
onClick: n
|
|
6205
|
-
}) => /* @__PURE__ */
|
|
6240
|
+
}) => /* @__PURE__ */ C(
|
|
6206
6241
|
"svg",
|
|
6207
6242
|
{
|
|
6208
6243
|
onClick: n,
|
|
@@ -6217,13 +6252,13 @@ const b2 = ({
|
|
|
6217
6252
|
/* @__PURE__ */ o("path", { d: "M12 8L4 8", stroke: e, strokeWidth: "1.7", strokeLinecap: "round" })
|
|
6218
6253
|
]
|
|
6219
6254
|
}
|
|
6220
|
-
),
|
|
6255
|
+
), $5 = ({
|
|
6221
6256
|
className: i,
|
|
6222
6257
|
color: e = b.GREY_DARK_5,
|
|
6223
6258
|
height: t = 24,
|
|
6224
6259
|
width: s = 24,
|
|
6225
6260
|
onClick: n
|
|
6226
|
-
}) => /* @__PURE__ */
|
|
6261
|
+
}) => /* @__PURE__ */ C(
|
|
6227
6262
|
"svg",
|
|
6228
6263
|
{
|
|
6229
6264
|
onClick: n,
|
|
@@ -6256,13 +6291,13 @@ const b2 = ({
|
|
|
6256
6291
|
)
|
|
6257
6292
|
]
|
|
6258
6293
|
}
|
|
6259
|
-
),
|
|
6294
|
+
), F5 = ({
|
|
6260
6295
|
className: i,
|
|
6261
6296
|
color: e = b.GREY_DARK_5,
|
|
6262
6297
|
height: t = 24,
|
|
6263
6298
|
width: s = 24,
|
|
6264
6299
|
onClick: n
|
|
6265
|
-
}) => /* @__PURE__ */
|
|
6300
|
+
}) => /* @__PURE__ */ C(
|
|
6266
6301
|
"svg",
|
|
6267
6302
|
{
|
|
6268
6303
|
onClick: n,
|
|
@@ -6295,13 +6330,13 @@ const b2 = ({
|
|
|
6295
6330
|
)
|
|
6296
6331
|
]
|
|
6297
6332
|
}
|
|
6298
|
-
),
|
|
6333
|
+
), Y5 = ({
|
|
6299
6334
|
className: i,
|
|
6300
6335
|
color: e = b.GREY_DARK_5,
|
|
6301
6336
|
height: t = 24,
|
|
6302
6337
|
width: s = 24,
|
|
6303
6338
|
onClick: n
|
|
6304
|
-
}) => /* @__PURE__ */
|
|
6339
|
+
}) => /* @__PURE__ */ C(
|
|
6305
6340
|
"svg",
|
|
6306
6341
|
{
|
|
6307
6342
|
onClick: n,
|
|
@@ -6334,7 +6369,7 @@ const b2 = ({
|
|
|
6334
6369
|
)
|
|
6335
6370
|
]
|
|
6336
6371
|
}
|
|
6337
|
-
),
|
|
6372
|
+
), U5 = ({
|
|
6338
6373
|
className: i,
|
|
6339
6374
|
color: e = b.GREY_DARK_2,
|
|
6340
6375
|
height: t = 16,
|
|
@@ -6360,13 +6395,13 @@ const b2 = ({
|
|
|
6360
6395
|
}
|
|
6361
6396
|
)
|
|
6362
6397
|
}
|
|
6363
|
-
),
|
|
6398
|
+
), z5 = ({
|
|
6364
6399
|
className: i,
|
|
6365
6400
|
color: e = b.GREY_DARK_5,
|
|
6366
6401
|
height: t = 20,
|
|
6367
6402
|
width: s = 20,
|
|
6368
6403
|
onClick: n
|
|
6369
|
-
}) => /* @__PURE__ */
|
|
6404
|
+
}) => /* @__PURE__ */ C(
|
|
6370
6405
|
"svg",
|
|
6371
6406
|
{
|
|
6372
6407
|
onClick: n,
|
|
@@ -6389,13 +6424,13 @@ const b2 = ({
|
|
|
6389
6424
|
/* @__PURE__ */ o("defs", { children: /* @__PURE__ */ o("clipPath", { id: "clip0_3992_5989", children: /* @__PURE__ */ o("rect", { width: "20", height: "20", fill: "white" }) }) })
|
|
6390
6425
|
]
|
|
6391
6426
|
}
|
|
6392
|
-
),
|
|
6427
|
+
), J5 = ({
|
|
6393
6428
|
className: i,
|
|
6394
6429
|
color: e = b.GREY_DARK_5,
|
|
6395
6430
|
height: t = 20,
|
|
6396
6431
|
width: s = 20,
|
|
6397
6432
|
onClick: n
|
|
6398
|
-
}) => /* @__PURE__ */
|
|
6433
|
+
}) => /* @__PURE__ */ C(
|
|
6399
6434
|
"svg",
|
|
6400
6435
|
{
|
|
6401
6436
|
onClick: n,
|
|
@@ -6418,13 +6453,13 @@ const b2 = ({
|
|
|
6418
6453
|
/* @__PURE__ */ o("defs", { children: /* @__PURE__ */ o("clipPath", { id: "clip0_3992_5988", children: /* @__PURE__ */ o("rect", { width: "20", height: "20", fill: "white" }) }) })
|
|
6419
6454
|
]
|
|
6420
6455
|
}
|
|
6421
|
-
),
|
|
6456
|
+
), q5 = ({
|
|
6422
6457
|
className: i,
|
|
6423
6458
|
color: e = b.GREY_DARK_5,
|
|
6424
6459
|
height: t = 20,
|
|
6425
6460
|
width: s = 20,
|
|
6426
6461
|
onClick: n
|
|
6427
|
-
}) => /* @__PURE__ */
|
|
6462
|
+
}) => /* @__PURE__ */ C(
|
|
6428
6463
|
"svg",
|
|
6429
6464
|
{
|
|
6430
6465
|
onClick: n,
|
|
@@ -6447,13 +6482,13 @@ const b2 = ({
|
|
|
6447
6482
|
)
|
|
6448
6483
|
]
|
|
6449
6484
|
}
|
|
6450
|
-
),
|
|
6485
|
+
), Q5 = ({
|
|
6451
6486
|
className: i,
|
|
6452
6487
|
color: e = b.GREY_DARK_5,
|
|
6453
6488
|
height: t = 20,
|
|
6454
6489
|
width: s = 20,
|
|
6455
6490
|
onClick: n
|
|
6456
|
-
}) => /* @__PURE__ */
|
|
6491
|
+
}) => /* @__PURE__ */ C(
|
|
6457
6492
|
"svg",
|
|
6458
6493
|
{
|
|
6459
6494
|
onClick: n,
|
|
@@ -6476,7 +6511,7 @@ const b2 = ({
|
|
|
6476
6511
|
)
|
|
6477
6512
|
]
|
|
6478
6513
|
}
|
|
6479
|
-
),
|
|
6514
|
+
), X5 = ({
|
|
6480
6515
|
className: i,
|
|
6481
6516
|
color: e = "#001E52",
|
|
6482
6517
|
height: t = 24,
|
|
@@ -6502,7 +6537,7 @@ const b2 = ({
|
|
|
6502
6537
|
}
|
|
6503
6538
|
)
|
|
6504
6539
|
}
|
|
6505
|
-
),
|
|
6540
|
+
), e3 = ({
|
|
6506
6541
|
className: i,
|
|
6507
6542
|
color: e = "#131314",
|
|
6508
6543
|
height: t = 20,
|
|
@@ -6530,7 +6565,7 @@ const b2 = ({
|
|
|
6530
6565
|
}
|
|
6531
6566
|
)
|
|
6532
6567
|
}
|
|
6533
|
-
),
|
|
6568
|
+
), t3 = ({
|
|
6534
6569
|
className: i,
|
|
6535
6570
|
color: e = "#001E52",
|
|
6536
6571
|
height: t = 24,
|
|
@@ -6547,7 +6582,7 @@ const b2 = ({
|
|
|
6547
6582
|
version: "1.1",
|
|
6548
6583
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6549
6584
|
viewBox: "0 0 489.698 489.698",
|
|
6550
|
-
children: /* @__PURE__ */ o("g", { children: /* @__PURE__ */
|
|
6585
|
+
children: /* @__PURE__ */ o("g", { children: /* @__PURE__ */ C("g", { children: [
|
|
6551
6586
|
/* @__PURE__ */ o(
|
|
6552
6587
|
"path",
|
|
6553
6588
|
{
|
|
@@ -6568,7 +6603,7 @@ const b2 = ({
|
|
|
6568
6603
|
)
|
|
6569
6604
|
] }) })
|
|
6570
6605
|
}
|
|
6571
|
-
),
|
|
6606
|
+
), i3 = ({
|
|
6572
6607
|
width: i = 20,
|
|
6573
6608
|
height: e = 20,
|
|
6574
6609
|
color: t = "#001E52",
|
|
@@ -6624,145 +6659,178 @@ const b2 = ({
|
|
|
6624
6659
|
}
|
|
6625
6660
|
)
|
|
6626
6661
|
}
|
|
6627
|
-
),
|
|
6662
|
+
), s3 = ({
|
|
6663
|
+
width: i = 24,
|
|
6664
|
+
height: e = 24,
|
|
6665
|
+
color: t = "#131314",
|
|
6666
|
+
className: s,
|
|
6667
|
+
onClick: n
|
|
6668
|
+
}) => /* @__PURE__ */ C(
|
|
6669
|
+
"svg",
|
|
6670
|
+
{
|
|
6671
|
+
width: i,
|
|
6672
|
+
height: e,
|
|
6673
|
+
viewBox: "0 0 24 24",
|
|
6674
|
+
fill: "none",
|
|
6675
|
+
className: s,
|
|
6676
|
+
onClick: n,
|
|
6677
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
6678
|
+
children: [
|
|
6679
|
+
/* @__PURE__ */ o(
|
|
6680
|
+
"path",
|
|
6681
|
+
{
|
|
6682
|
+
d: "M19.2598 20V4C19.2598 3.58579 19.5956 3.25 20.0098 3.25C20.424 3.25 20.7598 3.58579 20.7598 4V20C20.7598 20.4142 20.424 20.75 20.0098 20.75C19.5956 20.75 19.2598 20.4142 19.2598 20Z",
|
|
6683
|
+
fill: t
|
|
6684
|
+
}
|
|
6685
|
+
),
|
|
6686
|
+
/* @__PURE__ */ o(
|
|
6687
|
+
"path",
|
|
6688
|
+
{
|
|
6689
|
+
d: "M9.96973 5.46972C10.2443 5.19512 10.6791 5.17765 10.9736 5.41796L11.0303 5.46972L17.5303 11.9697L17.582 12.0264C17.8063 12.3013 17.8063 12.6987 17.582 12.9736L17.5303 13.0303L11.0303 19.5303C10.7374 19.8232 10.2626 19.8232 9.96973 19.5303C9.67683 19.2374 9.67683 18.7626 9.96973 18.4697L15.1895 13.25H4C3.58579 13.25 3.25 12.9142 3.25 12.5C3.25 12.0858 3.58579 11.75 4 11.75H15.1895L9.96973 6.53027L9.91797 6.47363C9.67766 6.17905 9.69512 5.74433 9.96973 5.46972Z",
|
|
6690
|
+
fill: t
|
|
6691
|
+
}
|
|
6692
|
+
)
|
|
6693
|
+
]
|
|
6694
|
+
}
|
|
6695
|
+
), n3 = ({
|
|
6628
6696
|
name: i,
|
|
6629
6697
|
width: e,
|
|
6630
6698
|
height: t,
|
|
6631
6699
|
color: s,
|
|
6632
6700
|
className: n,
|
|
6633
|
-
disabled:
|
|
6701
|
+
disabled: l = !1,
|
|
6634
6702
|
onClick: c
|
|
6635
6703
|
}) => {
|
|
6636
|
-
const [r, d] =
|
|
6704
|
+
const [r, d] = W(n), { theme: g } = e1(te), a = l ? g && g === "dark" ? b.GREY_LIGHT_4 : b.GREY_DARK_1 : s, h = l ? void 0 : c;
|
|
6637
6705
|
return K(() => {
|
|
6638
6706
|
if (n) {
|
|
6639
|
-
h && !
|
|
6707
|
+
h && !l && d(`${n} clickable`);
|
|
6640
6708
|
return;
|
|
6641
6709
|
}
|
|
6642
|
-
h && !
|
|
6643
|
-
}, [h, n,
|
|
6710
|
+
h && !l && d("clickable");
|
|
6711
|
+
}, [h, n, l]), /* @__PURE__ */ o(n1, { children: (() => {
|
|
6644
6712
|
switch (i) {
|
|
6645
6713
|
case "nextIcon":
|
|
6646
|
-
return
|
|
6714
|
+
return k5({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6647
6715
|
case "prevIcon":
|
|
6648
|
-
return
|
|
6716
|
+
return L5({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6649
6717
|
case "arrowUp":
|
|
6650
|
-
return
|
|
6718
|
+
return y2({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6651
6719
|
case "arrowDown":
|
|
6652
|
-
return
|
|
6720
|
+
return E2({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6653
6721
|
case "info":
|
|
6654
|
-
return
|
|
6722
|
+
return _2({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6655
6723
|
case "arrowRight":
|
|
6656
|
-
return
|
|
6724
|
+
return H2({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6657
6725
|
case "calendar":
|
|
6658
|
-
return
|
|
6726
|
+
return V2({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6659
6727
|
case "ok":
|
|
6660
|
-
return
|
|
6728
|
+
return I2({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6661
6729
|
case "cancel":
|
|
6662
|
-
return
|
|
6730
|
+
return S2({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6663
6731
|
case "add":
|
|
6664
|
-
return
|
|
6732
|
+
return O2({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6665
6733
|
case "list":
|
|
6666
|
-
return
|
|
6734
|
+
return A2({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6667
6735
|
case "dragAndDrop":
|
|
6668
|
-
return
|
|
6736
|
+
return B2({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6669
6737
|
case "filter":
|
|
6670
|
-
return
|
|
6738
|
+
return Z2({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6671
6739
|
case "attention":
|
|
6672
|
-
return W2({ width: e, height: t, color:
|
|
6740
|
+
return W2({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6673
6741
|
case "plus":
|
|
6674
|
-
return
|
|
6742
|
+
return j2({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6675
6743
|
case "time":
|
|
6676
|
-
return
|
|
6744
|
+
return D2({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6677
6745
|
case "arrowDownLong":
|
|
6678
|
-
return
|
|
6746
|
+
return T2({
|
|
6679
6747
|
width: e,
|
|
6680
6748
|
height: t,
|
|
6681
|
-
color:
|
|
6749
|
+
color: a,
|
|
6682
6750
|
className: r,
|
|
6683
6751
|
onClick: h
|
|
6684
6752
|
});
|
|
6685
6753
|
case "users":
|
|
6686
|
-
return
|
|
6754
|
+
return G2({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6687
6755
|
case "mySkillsMatrix":
|
|
6688
|
-
return
|
|
6756
|
+
return K2({
|
|
6689
6757
|
width: e,
|
|
6690
6758
|
height: t,
|
|
6691
|
-
color:
|
|
6759
|
+
color: a,
|
|
6692
6760
|
className: r,
|
|
6693
6761
|
onClick: h
|
|
6694
6762
|
});
|
|
6695
6763
|
case "skills":
|
|
6696
|
-
return
|
|
6764
|
+
return P2({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6697
6765
|
case "skillsMatrices":
|
|
6698
|
-
return
|
|
6766
|
+
return $2({
|
|
6699
6767
|
width: e,
|
|
6700
6768
|
height: t,
|
|
6701
|
-
color:
|
|
6769
|
+
color: a,
|
|
6702
6770
|
className: r,
|
|
6703
6771
|
onClick: h
|
|
6704
6772
|
});
|
|
6705
6773
|
case "history":
|
|
6706
|
-
return
|
|
6774
|
+
return F2({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6707
6775
|
case "logOut":
|
|
6708
|
-
return
|
|
6776
|
+
return Y2({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6709
6777
|
case "settings":
|
|
6710
|
-
return
|
|
6778
|
+
return U2({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6711
6779
|
case "addSkill":
|
|
6712
|
-
return
|
|
6780
|
+
return z2({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6713
6781
|
case "conversation":
|
|
6714
|
-
return
|
|
6782
|
+
return J2({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6715
6783
|
case "trash":
|
|
6716
|
-
return
|
|
6784
|
+
return q2({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6717
6785
|
case "settings4":
|
|
6718
|
-
return
|
|
6786
|
+
return Q2({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6719
6787
|
case "edit2":
|
|
6720
|
-
return
|
|
6788
|
+
return X2({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6721
6789
|
case "notifications":
|
|
6722
|
-
return
|
|
6790
|
+
return e5({
|
|
6723
6791
|
width: e,
|
|
6724
6792
|
height: t,
|
|
6725
|
-
color:
|
|
6793
|
+
color: a,
|
|
6726
6794
|
className: r,
|
|
6727
6795
|
onClick: h
|
|
6728
6796
|
});
|
|
6729
6797
|
case "success":
|
|
6730
|
-
return
|
|
6798
|
+
return t5({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6731
6799
|
case "attentionSmall":
|
|
6732
|
-
return
|
|
6800
|
+
return i5({
|
|
6733
6801
|
width: e,
|
|
6734
6802
|
height: t,
|
|
6735
|
-
color:
|
|
6803
|
+
color: a,
|
|
6736
6804
|
className: r,
|
|
6737
6805
|
onClick: h
|
|
6738
6806
|
});
|
|
6739
6807
|
case "errorSmall":
|
|
6740
|
-
return
|
|
6808
|
+
return s5({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6741
6809
|
case "infoMedium":
|
|
6742
|
-
return
|
|
6810
|
+
return n5({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6743
6811
|
case "attentionMedium":
|
|
6744
|
-
return
|
|
6812
|
+
return o5({
|
|
6745
6813
|
width: e,
|
|
6746
6814
|
height: t,
|
|
6747
|
-
color:
|
|
6815
|
+
color: a,
|
|
6748
6816
|
className: r,
|
|
6749
6817
|
onClick: h
|
|
6750
6818
|
});
|
|
6751
6819
|
case "errorMedium":
|
|
6752
|
-
return
|
|
6820
|
+
return r5({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6753
6821
|
case "faviconSkills":
|
|
6754
|
-
return
|
|
6822
|
+
return g5({
|
|
6755
6823
|
width: e,
|
|
6756
6824
|
height: t,
|
|
6757
|
-
color:
|
|
6825
|
+
color: a,
|
|
6758
6826
|
className: r,
|
|
6759
6827
|
onClick: h
|
|
6760
6828
|
});
|
|
6761
6829
|
case "visibilityIcon":
|
|
6762
|
-
return
|
|
6830
|
+
return l5({
|
|
6763
6831
|
width: e,
|
|
6764
6832
|
height: t,
|
|
6765
|
-
color:
|
|
6833
|
+
color: a,
|
|
6766
6834
|
className: r,
|
|
6767
6835
|
onClick: h
|
|
6768
6836
|
});
|
|
@@ -6770,149 +6838,151 @@ const b2 = ({
|
|
|
6770
6838
|
return a5({
|
|
6771
6839
|
width: e,
|
|
6772
6840
|
height: t,
|
|
6773
|
-
color:
|
|
6841
|
+
color: a,
|
|
6774
6842
|
className: r,
|
|
6775
6843
|
onClick: h
|
|
6776
6844
|
});
|
|
6777
6845
|
case "selectArrowIcon":
|
|
6778
|
-
return
|
|
6846
|
+
return h5({
|
|
6779
6847
|
width: e,
|
|
6780
6848
|
height: t,
|
|
6781
|
-
color:
|
|
6849
|
+
color: a,
|
|
6782
6850
|
className: r,
|
|
6783
6851
|
onClick: h
|
|
6784
6852
|
});
|
|
6785
6853
|
case "expandArrowIcon":
|
|
6786
|
-
return
|
|
6854
|
+
return c5({
|
|
6787
6855
|
width: e,
|
|
6788
6856
|
height: t,
|
|
6789
|
-
color:
|
|
6857
|
+
color: a,
|
|
6790
6858
|
className: r,
|
|
6791
6859
|
onClick: h
|
|
6792
6860
|
});
|
|
6793
6861
|
case "expandActiveArrowIcon":
|
|
6794
|
-
return
|
|
6862
|
+
return d5({
|
|
6795
6863
|
width: e,
|
|
6796
6864
|
height: t,
|
|
6797
|
-
color:
|
|
6865
|
+
color: a,
|
|
6798
6866
|
className: r,
|
|
6799
6867
|
onClick: h
|
|
6800
6868
|
});
|
|
6801
6869
|
case "camera":
|
|
6802
|
-
return
|
|
6870
|
+
return C5({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6803
6871
|
case "sortUp":
|
|
6804
|
-
return u5({ width: e, height: t, color:
|
|
6872
|
+
return u5({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6805
6873
|
case "sortDown":
|
|
6806
|
-
return
|
|
6874
|
+
return p5({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6807
6875
|
case "logOut2":
|
|
6808
|
-
return
|
|
6876
|
+
return f5({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6809
6877
|
case "search":
|
|
6810
|
-
return
|
|
6878
|
+
return w5({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6811
6879
|
case "handRock":
|
|
6812
|
-
return
|
|
6880
|
+
return m5({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6813
6881
|
case "arrowUpFilled":
|
|
6814
|
-
return
|
|
6882
|
+
return N5({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6815
6883
|
case "arrowDownFilled":
|
|
6816
|
-
return
|
|
6884
|
+
return v5({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6817
6885
|
case "link":
|
|
6818
|
-
return
|
|
6886
|
+
return x5({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6819
6887
|
case "telegram":
|
|
6820
|
-
return
|
|
6888
|
+
return M5({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6821
6889
|
case "mail":
|
|
6822
|
-
return
|
|
6890
|
+
return y5({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6823
6891
|
case "github":
|
|
6824
|
-
return
|
|
6892
|
+
return R5({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6825
6893
|
case "linkedIn":
|
|
6826
|
-
return
|
|
6894
|
+
return b5({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6827
6895
|
case "emptyStateIcon":
|
|
6828
|
-
return
|
|
6896
|
+
return E5({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6829
6897
|
case "filtersIcon":
|
|
6830
|
-
return
|
|
6898
|
+
return _5({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6831
6899
|
case "dotMenuIcon":
|
|
6832
|
-
return
|
|
6900
|
+
return H5({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6833
6901
|
case "plusCircle":
|
|
6834
|
-
return
|
|
6902
|
+
return V5({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6835
6903
|
case "warning":
|
|
6836
|
-
return
|
|
6904
|
+
return I5({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6837
6905
|
case "back":
|
|
6838
|
-
return
|
|
6906
|
+
return S5({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6839
6907
|
case "bell":
|
|
6840
|
-
return
|
|
6908
|
+
return O5({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6841
6909
|
case "contract":
|
|
6842
|
-
return
|
|
6910
|
+
return B5({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6843
6911
|
case "trash2":
|
|
6844
|
-
return
|
|
6912
|
+
return A5({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6845
6913
|
case "manager":
|
|
6846
|
-
return
|
|
6914
|
+
return Z5({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6847
6915
|
case "resourceManager":
|
|
6848
|
-
return W5({ width: e, height: t, color:
|
|
6916
|
+
return W5({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6849
6917
|
case "settings2":
|
|
6850
|
-
return
|
|
6918
|
+
return j5({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6851
6919
|
case "image":
|
|
6852
|
-
return
|
|
6920
|
+
return D5({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6853
6921
|
case "upload":
|
|
6854
|
-
return
|
|
6922
|
+
return T5({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6855
6923
|
case "edit":
|
|
6856
|
-
return
|
|
6924
|
+
return G5({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6857
6925
|
case "location":
|
|
6858
|
-
return
|
|
6926
|
+
return K5({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6859
6927
|
case "plus2":
|
|
6860
|
-
return
|
|
6928
|
+
return P5({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6861
6929
|
case "search2":
|
|
6862
|
-
return
|
|
6930
|
+
return $5({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6863
6931
|
case "fastArrowLeft":
|
|
6864
|
-
return
|
|
6932
|
+
return F5({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6865
6933
|
case "fastArrowRight":
|
|
6866
|
-
return
|
|
6934
|
+
return Y5({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6867
6935
|
case "crossInCircle":
|
|
6868
|
-
return
|
|
6936
|
+
return U5({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6869
6937
|
case "arrowUp2":
|
|
6870
|
-
return
|
|
6938
|
+
return J5({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6871
6939
|
case "arrowDown2":
|
|
6872
|
-
return
|
|
6940
|
+
return z5({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6873
6941
|
case "filledArrowLeft":
|
|
6874
|
-
return
|
|
6942
|
+
return q5({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6875
6943
|
case "filledArrowRight":
|
|
6876
|
-
return
|
|
6944
|
+
return Q5({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6877
6945
|
case "burgerMenu":
|
|
6878
|
-
return
|
|
6946
|
+
return X5({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6879
6947
|
case "signOut":
|
|
6880
|
-
return
|
|
6948
|
+
return e3({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6881
6949
|
case "refresh":
|
|
6882
|
-
return
|
|
6950
|
+
return t3({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6883
6951
|
case "projects":
|
|
6884
|
-
return
|
|
6952
|
+
return i3({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6953
|
+
case "exit":
|
|
6954
|
+
return s3({ width: e, height: t, color: a, className: r, onClick: h });
|
|
6885
6955
|
default:
|
|
6886
6956
|
return /* @__PURE__ */ o(n1, { children: "No Icon provided" });
|
|
6887
6957
|
}
|
|
6888
6958
|
})() });
|
|
6889
6959
|
};
|
|
6890
|
-
var
|
|
6891
|
-
const
|
|
6960
|
+
var a1 = /* @__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.PURPLE_LIGHT = "var(--purple-light)", 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))(a1 || {});
|
|
6961
|
+
const o3 = o1({
|
|
6892
6962
|
locale: "en",
|
|
6893
6963
|
theme: "light"
|
|
6894
6964
|
});
|
|
6895
|
-
|
|
6965
|
+
o3.Provider;
|
|
6896
6966
|
const ie = ({
|
|
6897
6967
|
children: i,
|
|
6898
6968
|
width: e,
|
|
6899
6969
|
size: t = "small",
|
|
6900
6970
|
onClose: s,
|
|
6901
6971
|
closable: n = !0,
|
|
6902
|
-
disabled:
|
|
6972
|
+
disabled: l = !1
|
|
6903
6973
|
}) => {
|
|
6904
6974
|
const c = t === "small" ? 10 : 12.5, r = () => {
|
|
6905
|
-
|
|
6975
|
+
l || s == null || s();
|
|
6906
6976
|
};
|
|
6907
6977
|
return /* @__PURE__ */ o(
|
|
6908
6978
|
Le,
|
|
6909
6979
|
{
|
|
6910
|
-
className: `snmt-tag ${t} ${
|
|
6980
|
+
className: `snmt-tag ${t} ${l ? "disabled" : ""}`,
|
|
6911
6981
|
closeIcon: /* @__PURE__ */ o(
|
|
6912
|
-
|
|
6982
|
+
n3,
|
|
6913
6983
|
{
|
|
6914
6984
|
name: "errorSmall",
|
|
6915
|
-
color:
|
|
6985
|
+
color: l ? a1.GREY_DARK_1 : a1.GREY_DARK_2,
|
|
6916
6986
|
width: c,
|
|
6917
6987
|
height: c,
|
|
6918
6988
|
onClick: r
|
|
@@ -6922,24 +6992,24 @@ const ie = ({
|
|
|
6922
6992
|
style: { width: e ?? "fit-content" },
|
|
6923
6993
|
closable: n,
|
|
6924
6994
|
children: typeof i == "string" ? /* @__PURE__ */ o(
|
|
6925
|
-
|
|
6995
|
+
b2,
|
|
6926
6996
|
{
|
|
6927
6997
|
variant: t === "small" ? "body4" : "body2",
|
|
6928
|
-
color:
|
|
6998
|
+
color: l ? a1.GREY_DARK_2 : a1.GREY_DARK_5,
|
|
6929
6999
|
children: i
|
|
6930
7000
|
}
|
|
6931
7001
|
) : i
|
|
6932
7002
|
}
|
|
6933
7003
|
);
|
|
6934
|
-
},
|
|
7004
|
+
}, r3 = ({
|
|
6935
7005
|
children: i,
|
|
6936
7006
|
content: e,
|
|
6937
7007
|
isOpen: t,
|
|
6938
7008
|
setIsOpen: s,
|
|
6939
7009
|
placement: n = "topRight",
|
|
6940
|
-
noPadding:
|
|
7010
|
+
noPadding: l = !1
|
|
6941
7011
|
}) => {
|
|
6942
|
-
const [c, r] =
|
|
7012
|
+
const [c, r] = W(!1);
|
|
6943
7013
|
return /* @__PURE__ */ o(
|
|
6944
7014
|
ve,
|
|
6945
7015
|
{
|
|
@@ -6947,7 +7017,7 @@ const ie = ({
|
|
|
6947
7017
|
arrow: !1,
|
|
6948
7018
|
placement: n,
|
|
6949
7019
|
trigger: "click",
|
|
6950
|
-
overlayClassName: `snmt-popover ${
|
|
7020
|
+
overlayClassName: `snmt-popover ${l ? "" : "padding"}`,
|
|
6951
7021
|
open: t ?? c,
|
|
6952
7022
|
onOpenChange: (d) => {
|
|
6953
7023
|
r(d), s == null || s(d);
|
|
@@ -6956,7 +7026,7 @@ const ie = ({
|
|
|
6956
7026
|
}
|
|
6957
7027
|
);
|
|
6958
7028
|
};
|
|
6959
|
-
var
|
|
7029
|
+
var l3 = { exports: {} };
|
|
6960
7030
|
(function(i, e) {
|
|
6961
7031
|
(function(t, s) {
|
|
6962
7032
|
i.exports = s();
|
|
@@ -6966,44 +7036,44 @@ var o3 = { exports: {} };
|
|
|
6966
7036
|
return "[" + t + (s[(n - 20) % 10] || s[n] || s[0]) + "]";
|
|
6967
7037
|
} };
|
|
6968
7038
|
});
|
|
6969
|
-
})(
|
|
6970
|
-
const
|
|
7039
|
+
})(l3);
|
|
7040
|
+
const a3 = ({
|
|
6971
7041
|
values: i,
|
|
6972
7042
|
onTagClose: e,
|
|
6973
7043
|
maxWidth: t,
|
|
6974
7044
|
closable: s = !0,
|
|
6975
7045
|
disabled: n,
|
|
6976
|
-
options:
|
|
7046
|
+
options: l,
|
|
6977
7047
|
extraOptions: c
|
|
6978
7048
|
}) => {
|
|
6979
|
-
const { locale: r } = e1(_1), { t: d } = Ke("common", { lng: r }), [g,
|
|
7049
|
+
const { locale: r } = e1(_1), { t: d } = Ke("common", { lng: r }), [g, a] = W(!1);
|
|
6980
7050
|
if (K(() => {
|
|
6981
|
-
i.length ||
|
|
7051
|
+
i.length || a(!1);
|
|
6982
7052
|
}, [i]), !i.length)
|
|
6983
7053
|
return null;
|
|
6984
|
-
const h = (
|
|
7054
|
+
const h = (u) => {
|
|
6985
7055
|
var p, m;
|
|
6986
|
-
return ((p =
|
|
7056
|
+
return ((p = l == null ? void 0 : l.find((N) => N.value === u)) == null ? void 0 : p.label) || ((m = c == null ? void 0 : c.find((N) => N.value === u)) == null ? void 0 : m.label) || u;
|
|
6987
7057
|
};
|
|
6988
|
-
return /* @__PURE__ */
|
|
6989
|
-
|
|
7058
|
+
return /* @__PURE__ */ C(
|
|
7059
|
+
r3,
|
|
6990
7060
|
{
|
|
6991
7061
|
content: (
|
|
6992
7062
|
// 90: paddings + margins + gaps and so on
|
|
6993
|
-
/* @__PURE__ */ o("div", { style: { maxWidth: t - 90 }, className: "snmt-popover-from-select", children: /* @__PURE__ */ o(
|
|
7063
|
+
/* @__PURE__ */ o("div", { style: { maxWidth: t - 90 }, className: "snmt-popover-from-select", children: /* @__PURE__ */ o(C1, { gap: 6, flexWrap: "wrap", children: i.map(({ value: u }) => /* @__PURE__ */ o(
|
|
6994
7064
|
ie,
|
|
6995
7065
|
{
|
|
6996
|
-
onClose: () => e(
|
|
7066
|
+
onClose: () => e(u),
|
|
6997
7067
|
closable: s,
|
|
6998
7068
|
disabled: n,
|
|
6999
|
-
children: h(
|
|
7069
|
+
children: h(u)
|
|
7000
7070
|
},
|
|
7001
|
-
|
|
7071
|
+
u
|
|
7002
7072
|
)) }) })
|
|
7003
7073
|
),
|
|
7004
7074
|
placement: "bottomRight",
|
|
7005
7075
|
isOpen: g,
|
|
7006
|
-
setIsOpen:
|
|
7076
|
+
setIsOpen: a,
|
|
7007
7077
|
children: [
|
|
7008
7078
|
i.length,
|
|
7009
7079
|
" ",
|
|
@@ -7026,14 +7096,14 @@ const r3 = ({
|
|
|
7026
7096
|
placeholder: t,
|
|
7027
7097
|
mode: s,
|
|
7028
7098
|
search: n = !1,
|
|
7029
|
-
options:
|
|
7099
|
+
options: l,
|
|
7030
7100
|
width: c,
|
|
7031
7101
|
disabled: r = !1,
|
|
7032
7102
|
required: d = !1,
|
|
7033
7103
|
clearable: g = !1,
|
|
7034
|
-
scrollThresholdValue:
|
|
7104
|
+
scrollThresholdValue: a = 50,
|
|
7035
7105
|
onSearchChange: h,
|
|
7036
|
-
onDropdownVisibleChange:
|
|
7106
|
+
onDropdownVisibleChange: u,
|
|
7037
7107
|
onScrollToEnd: p,
|
|
7038
7108
|
onPopupScroll: m,
|
|
7039
7109
|
id: N,
|
|
@@ -7043,12 +7113,12 @@ const r3 = ({
|
|
|
7043
7113
|
isLoading: _,
|
|
7044
7114
|
readOnly: f
|
|
7045
7115
|
}, x) => {
|
|
7046
|
-
const [y, w] =
|
|
7116
|
+
const [y, w] = W(!1), [H, G] = W(!1), [A, V] = W(!0), [I, P] = W(i), B = X(null);
|
|
7047
7117
|
K(() => {
|
|
7048
7118
|
P(i);
|
|
7049
7119
|
}, [i]);
|
|
7050
7120
|
const $ = (v) => {
|
|
7051
|
-
w(v),
|
|
7121
|
+
w(v), u && u(v);
|
|
7052
7122
|
}, S = (v, O) => {
|
|
7053
7123
|
var Y;
|
|
7054
7124
|
return !!((Y = O == null ? void 0 : O.label) != null && Y.toString().toLowerCase().includes(v.toLowerCase()));
|
|
@@ -7056,7 +7126,7 @@ const r3 = ({
|
|
|
7056
7126
|
G(!0);
|
|
7057
7127
|
}, j = () => {
|
|
7058
7128
|
G(!1);
|
|
7059
|
-
},
|
|
7129
|
+
}, Z = D(
|
|
7060
7130
|
(v) => {
|
|
7061
7131
|
if (P(v), s) {
|
|
7062
7132
|
const Y = v;
|
|
@@ -7070,17 +7140,17 @@ const r3 = ({
|
|
|
7070
7140
|
), F = D(() => {
|
|
7071
7141
|
if (!f) {
|
|
7072
7142
|
if (s) {
|
|
7073
|
-
|
|
7143
|
+
Z([]);
|
|
7074
7144
|
return;
|
|
7075
7145
|
}
|
|
7076
|
-
|
|
7146
|
+
Z("");
|
|
7077
7147
|
}
|
|
7078
|
-
}, [
|
|
7148
|
+
}, [Z, s, f]), z = D(
|
|
7079
7149
|
(v) => {
|
|
7080
7150
|
const O = I.filter((Y) => Y !== v);
|
|
7081
|
-
|
|
7151
|
+
Z(O), P(O);
|
|
7082
7152
|
},
|
|
7083
|
-
[
|
|
7153
|
+
[Z, I]
|
|
7084
7154
|
), H1 = D(
|
|
7085
7155
|
(v) => (I == null ? void 0 : I.indexOf(v)) === 0 ? (
|
|
7086
7156
|
// if the search input is empty
|
|
@@ -7088,41 +7158,41 @@ const r3 = ({
|
|
|
7088
7158
|
/* @__PURE__ */ o("span", { className: "custom-placeholder", children: A ? t : "" })
|
|
7089
7159
|
) : /* @__PURE__ */ o(n1, {}),
|
|
7090
7160
|
[A, I, t]
|
|
7091
|
-
),
|
|
7161
|
+
), ae = (v) => {
|
|
7092
7162
|
v.preventDefault(), v.stopPropagation();
|
|
7093
7163
|
}, he = async (v) => {
|
|
7094
7164
|
const { target: O } = v;
|
|
7095
|
-
O.scrollTop + O.offsetHeight >= O.scrollHeight -
|
|
7165
|
+
O.scrollTop + O.offsetHeight >= O.scrollHeight - a && (p == null || p(!0)), m && await m(v);
|
|
7096
7166
|
}, v1 = D(
|
|
7097
7167
|
(v) => {
|
|
7098
7168
|
var O, Y;
|
|
7099
|
-
return ((O =
|
|
7169
|
+
return ((O = l.find((N1) => N1.value === v)) == null ? void 0 : O.label) || ((Y = k == null ? void 0 : k.find(
|
|
7100
7170
|
(N1) => N1.value === v
|
|
7101
7171
|
)) == null ? void 0 : Y.label) || v;
|
|
7102
7172
|
},
|
|
7103
|
-
[k,
|
|
7173
|
+
[k, l]
|
|
7104
7174
|
), ce = D(
|
|
7105
7175
|
(v) => {
|
|
7106
7176
|
var O;
|
|
7107
7177
|
return /* @__PURE__ */ o(
|
|
7108
|
-
|
|
7178
|
+
a3,
|
|
7109
7179
|
{
|
|
7110
7180
|
values: v,
|
|
7111
7181
|
onTagClose: z,
|
|
7112
7182
|
maxWidth: ((O = B.current) == null ? void 0 : O.clientWidth) || 0,
|
|
7113
7183
|
disabled: r,
|
|
7114
7184
|
closable: !f,
|
|
7115
|
-
options:
|
|
7185
|
+
options: l,
|
|
7116
7186
|
extraOptions: k
|
|
7117
7187
|
}
|
|
7118
7188
|
);
|
|
7119
7189
|
},
|
|
7120
|
-
[r, k, z,
|
|
7190
|
+
[r, k, z, l, f]
|
|
7121
7191
|
), de = D(
|
|
7122
|
-
({ label: v, value: O, mode: Y }) => Y === "filter" ? H1(O) : /* @__PURE__ */ o("div", { onMouseDown:
|
|
7192
|
+
({ label: v, value: O, mode: Y }) => Y === "filter" ? H1(O) : /* @__PURE__ */ o("div", { onMouseDown: ae, className: "tag-wrapper", children: /* @__PURE__ */ o(ie, { onClose: () => z(O), disabled: r, children: typeof v == "object" ? v : v1(O) }) }),
|
|
7123
7193
|
[r, v1, z, H1]
|
|
7124
7194
|
);
|
|
7125
|
-
return /* @__PURE__ */
|
|
7195
|
+
return /* @__PURE__ */ C(
|
|
7126
7196
|
"div",
|
|
7127
7197
|
{
|
|
7128
7198
|
className: `snmt-select ${H ? "snmt-select-focused" : ""}
|
|
@@ -7145,7 +7215,7 @@ const r3 = ({
|
|
|
7145
7215
|
value: I || void 0,
|
|
7146
7216
|
labelRender: (v) => v1(v.value),
|
|
7147
7217
|
mode: s === "filter" ? "multiple" : s,
|
|
7148
|
-
onChange:
|
|
7218
|
+
onChange: Z,
|
|
7149
7219
|
onFocus: t1,
|
|
7150
7220
|
onBlur: j,
|
|
7151
7221
|
onSearch: (v) => {
|
|
@@ -7158,7 +7228,7 @@ const r3 = ({
|
|
|
7158
7228
|
maxTagPlaceholder: ce,
|
|
7159
7229
|
onPopupScroll: he,
|
|
7160
7230
|
prefix: _ && /* @__PURE__ */ o(A1, { size: 15 }),
|
|
7161
|
-
suffixIcon: /* @__PURE__ */ o("div", { className: "wrapper-suffix-icon", children: s !== "filter" && /* @__PURE__ */
|
|
7231
|
+
suffixIcon: /* @__PURE__ */ o("div", { className: "wrapper-suffix-icon", children: s !== "filter" && /* @__PURE__ */ C(n1, { children: [
|
|
7162
7232
|
I && !!I.length && (s || g) && /* @__PURE__ */ o("div", { onClick: F, children: /* @__PURE__ */ o(
|
|
7163
7233
|
d1,
|
|
7164
7234
|
{
|
|
@@ -7177,16 +7247,16 @@ const r3 = ({
|
|
|
7177
7247
|
)
|
|
7178
7248
|
] }) }),
|
|
7179
7249
|
removeIcon: /* @__PURE__ */ o(d1, { name: "errorSmall", color: J.GREY_DARK_2 }),
|
|
7180
|
-
options:
|
|
7181
|
-
optionRender: (v) => R ? R(v.data) : /* @__PURE__ */
|
|
7182
|
-
/* @__PURE__ */
|
|
7250
|
+
options: l,
|
|
7251
|
+
optionRender: (v) => R ? R(v.data) : /* @__PURE__ */ C(C1, { justifyContent: "space-between", alignItems: "center", flex: "1", children: [
|
|
7252
|
+
/* @__PURE__ */ C(C1, { alignItems: "center", gap: 12, children: [
|
|
7183
7253
|
s && /* @__PURE__ */ o(
|
|
7184
7254
|
$e,
|
|
7185
7255
|
{
|
|
7186
7256
|
checked: !!(I != null && I.includes(v.value))
|
|
7187
7257
|
}
|
|
7188
7258
|
),
|
|
7189
|
-
/* @__PURE__ */
|
|
7259
|
+
/* @__PURE__ */ C(C1, { alignItems: "center", gap: 8, children: [
|
|
7190
7260
|
v.data.image && /* @__PURE__ */ o(Pe, { src: v.data.image, size: 20 }),
|
|
7191
7261
|
/* @__PURE__ */ o("span", { children: v.label })
|
|
7192
7262
|
] })
|
|
@@ -7229,7 +7299,7 @@ const r3 = ({
|
|
|
7229
7299
|
);
|
|
7230
7300
|
}
|
|
7231
7301
|
);
|
|
7232
|
-
function
|
|
7302
|
+
function h3(i, e = 500) {
|
|
7233
7303
|
const t = X();
|
|
7234
7304
|
return K(() => () => {
|
|
7235
7305
|
t.current && clearTimeout(t.current);
|
|
@@ -7243,35 +7313,35 @@ function a3(i, e = 500) {
|
|
|
7243
7313
|
const r1 = {
|
|
7244
7314
|
limit: 100,
|
|
7245
7315
|
offset: 0
|
|
7246
|
-
},
|
|
7316
|
+
}, Z1 = k1(
|
|
7247
7317
|
({
|
|
7248
7318
|
loadOptions: i,
|
|
7249
7319
|
width: e,
|
|
7250
7320
|
onChange: t,
|
|
7251
7321
|
value: s,
|
|
7252
7322
|
id: n,
|
|
7253
|
-
disabled:
|
|
7323
|
+
disabled: l,
|
|
7254
7324
|
scrollThresholdValue: c,
|
|
7255
7325
|
placeholder: r,
|
|
7256
7326
|
mode: d,
|
|
7257
7327
|
loadOnClosedState: g,
|
|
7258
|
-
extraOptions:
|
|
7328
|
+
extraOptions: a,
|
|
7259
7329
|
onDropdownVisibleChange: h,
|
|
7260
|
-
optionRender:
|
|
7330
|
+
optionRender: u,
|
|
7261
7331
|
dropdownRender: p,
|
|
7262
7332
|
readOnly: m,
|
|
7263
7333
|
clearable: N,
|
|
7264
7334
|
required: k = !1
|
|
7265
7335
|
}, E) => {
|
|
7266
|
-
const [R, _] =
|
|
7336
|
+
const [R, _] = W([]), [f, x] = W(r1), [y, w] = W(!1), [H, G] = W(null), A = D(
|
|
7267
7337
|
async (S = !1, t1) => {
|
|
7268
7338
|
if (!y) {
|
|
7269
7339
|
w(!0);
|
|
7270
7340
|
try {
|
|
7271
|
-
const j = S ? { ...r1, search: t1 } : f,
|
|
7341
|
+
const j = S ? { ...r1, search: t1 } : f, Z = await i(j);
|
|
7272
7342
|
_(
|
|
7273
|
-
(F) => S ?
|
|
7274
|
-
), G(
|
|
7343
|
+
(F) => S ? Z.options : [...F, ...Z.options]
|
|
7344
|
+
), G(Z.count), x((F) => ({
|
|
7275
7345
|
...F,
|
|
7276
7346
|
offset: F.offset + F.limit
|
|
7277
7347
|
}));
|
|
@@ -7281,7 +7351,7 @@ const r1 = {
|
|
|
7281
7351
|
}
|
|
7282
7352
|
},
|
|
7283
7353
|
[f, i, y]
|
|
7284
|
-
), V =
|
|
7354
|
+
), V = h3(A), I = D(
|
|
7285
7355
|
(S) => {
|
|
7286
7356
|
S === "" || S === void 0 || S === null ? (x(r1), V(!0)) : V(!0, S);
|
|
7287
7357
|
},
|
|
@@ -7312,24 +7382,24 @@ const r1 = {
|
|
|
7312
7382
|
scrollThresholdValue: c,
|
|
7313
7383
|
onScrollToEnd: P,
|
|
7314
7384
|
loadOnClosedState: g,
|
|
7315
|
-
disabled:
|
|
7316
|
-
extraOptions:
|
|
7385
|
+
disabled: l,
|
|
7386
|
+
extraOptions: a,
|
|
7317
7387
|
isLoading: y,
|
|
7318
|
-
optionRender:
|
|
7388
|
+
optionRender: u,
|
|
7319
7389
|
dropdownRender: p,
|
|
7320
7390
|
readOnly: m,
|
|
7321
7391
|
clearable: N,
|
|
7322
7392
|
required: k
|
|
7323
7393
|
};
|
|
7324
|
-
return
|
|
7394
|
+
return ue(E, () => ({
|
|
7325
7395
|
refetchOptions: async () => {
|
|
7326
7396
|
x(r1), await A(!0);
|
|
7327
7397
|
}
|
|
7328
7398
|
})), d ? /* @__PURE__ */ o(B1, { ...$, onChange: t, value: s, mode: d }) : /* @__PURE__ */ o("div", { className: "snmt-async-select", children: /* @__PURE__ */ o(B1, { ...$, onChange: t, value: s }) });
|
|
7329
7399
|
}
|
|
7330
7400
|
);
|
|
7331
|
-
var
|
|
7332
|
-
const
|
|
7401
|
+
var u1 = /* @__PURE__ */ ((i) => (i.ACTIVE = "Active", i.ARCHIVED = "Archived", i))(u1 || {});
|
|
7402
|
+
const c3 = ({ size: i = 30, color: e = "#004ed7" }) => {
|
|
7333
7403
|
const t = `no-repeat linear-gradient(${e}
|
|
7334
7404
|
calc(50% - 10px), #0000 0 calc(50% + 10px), ${e} 0)`, s = {
|
|
7335
7405
|
width: i,
|
|
@@ -7338,18 +7408,18 @@ const l3 = ({ size: i = 30, color: e = "#004ed7" }) => {
|
|
|
7338
7408
|
};
|
|
7339
7409
|
return /* @__PURE__ */ o("span", { className: "snmt-loader", style: s });
|
|
7340
7410
|
};
|
|
7341
|
-
function
|
|
7411
|
+
function d3() {
|
|
7342
7412
|
if (console && console.warn) {
|
|
7343
7413
|
for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
|
|
7344
7414
|
e[t] = arguments[t];
|
|
7345
7415
|
Q(e[0]) && (e[0] = `react-i18next:: ${e[0]}`), console.warn(...e);
|
|
7346
7416
|
}
|
|
7347
7417
|
}
|
|
7348
|
-
const
|
|
7418
|
+
const W1 = {};
|
|
7349
7419
|
function b1() {
|
|
7350
7420
|
for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
|
|
7351
7421
|
e[t] = arguments[t];
|
|
7352
|
-
Q(e[0]) &&
|
|
7422
|
+
Q(e[0]) && W1[e[0]] || (Q(e[0]) && (W1[e[0]] = /* @__PURE__ */ new Date()), d3(...e));
|
|
7353
7423
|
}
|
|
7354
7424
|
const se = (i, e) => () => {
|
|
7355
7425
|
if (i.isInitialized)
|
|
@@ -7368,24 +7438,24 @@ const se = (i, e) => () => {
|
|
|
7368
7438
|
Q(t) && (t = [t]), t.forEach((n) => {
|
|
7369
7439
|
i.options.ns.indexOf(n) < 0 && i.options.ns.push(n);
|
|
7370
7440
|
}), i.loadLanguages(e, se(i, s));
|
|
7371
|
-
},
|
|
7441
|
+
}, g3 = function(i, e) {
|
|
7372
7442
|
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
7373
|
-
const s = e.languages[0], n = e.options ? e.options.fallbackLng : !1,
|
|
7443
|
+
const s = e.languages[0], n = e.options ? e.options.fallbackLng : !1, l = e.languages[e.languages.length - 1];
|
|
7374
7444
|
if (s.toLowerCase() === "cimode") return !0;
|
|
7375
7445
|
const c = (r, d) => {
|
|
7376
7446
|
const g = e.services.backendConnector.state[`${r}|${d}`];
|
|
7377
7447
|
return g === -1 || g === 2;
|
|
7378
7448
|
};
|
|
7379
|
-
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(
|
|
7380
|
-
},
|
|
7449
|
+
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(l, i)));
|
|
7450
|
+
}, C3 = function(i, e) {
|
|
7381
7451
|
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
7382
7452
|
return !e.languages || !e.languages.length ? (b1("i18n.languages were undefined or empty", e.languages), !0) : e.options.ignoreJSONStructure !== void 0 ? e.hasLoadedNamespace(i, {
|
|
7383
7453
|
lng: t.lng,
|
|
7384
|
-
precheck: (n,
|
|
7385
|
-
if (t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && n.services.backendConnector.backend && n.isLanguageChangingTo && !
|
|
7454
|
+
precheck: (n, l) => {
|
|
7455
|
+
if (t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && n.services.backendConnector.backend && n.isLanguageChangingTo && !l(n.isLanguageChangingTo, i)) return !1;
|
|
7386
7456
|
}
|
|
7387
|
-
}) :
|
|
7388
|
-
}, Q = (i) => typeof i == "string",
|
|
7457
|
+
}) : g3(i, e, t);
|
|
7458
|
+
}, Q = (i) => typeof i == "string", u3 = (i) => typeof i == "object" && i !== null, p3 = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, f3 = {
|
|
7389
7459
|
"&": "&",
|
|
7390
7460
|
"&": "&",
|
|
7391
7461
|
"<": "<",
|
|
@@ -7406,7 +7476,7 @@ const se = (i, e) => () => {
|
|
|
7406
7476
|
"…": "…",
|
|
7407
7477
|
"/": "/",
|
|
7408
7478
|
"/": "/"
|
|
7409
|
-
},
|
|
7479
|
+
}, w3 = (i) => f3[i], m3 = (i) => i.replace(p3, w3);
|
|
7410
7480
|
let y1 = {
|
|
7411
7481
|
bindI18n: "languageChanged",
|
|
7412
7482
|
bindI18nStore: "",
|
|
@@ -7415,25 +7485,25 @@ let y1 = {
|
|
|
7415
7485
|
transWrapTextNodes: "",
|
|
7416
7486
|
transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"],
|
|
7417
7487
|
useSuspense: !0,
|
|
7418
|
-
unescape:
|
|
7488
|
+
unescape: m3
|
|
7419
7489
|
};
|
|
7420
|
-
const
|
|
7490
|
+
const k3 = function() {
|
|
7421
7491
|
let i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
7422
7492
|
y1 = {
|
|
7423
7493
|
...y1,
|
|
7424
7494
|
...i
|
|
7425
7495
|
};
|
|
7426
|
-
},
|
|
7496
|
+
}, L3 = () => y1;
|
|
7427
7497
|
let ne;
|
|
7428
|
-
const
|
|
7498
|
+
const v3 = (i) => {
|
|
7429
7499
|
ne = i;
|
|
7430
|
-
},
|
|
7500
|
+
}, N3 = () => ne, x3 = {
|
|
7431
7501
|
type: "3rdParty",
|
|
7432
7502
|
init(i) {
|
|
7433
|
-
|
|
7503
|
+
k3(i.options.react), v3(i);
|
|
7434
7504
|
}
|
|
7435
|
-
},
|
|
7436
|
-
class
|
|
7505
|
+
}, R3 = o1();
|
|
7506
|
+
class M3 {
|
|
7437
7507
|
constructor() {
|
|
7438
7508
|
V1(this, "getUsedNamespaces", () => Object.keys(this.usedNamespaces));
|
|
7439
7509
|
this.usedNamespaces = {};
|
|
@@ -7444,80 +7514,80 @@ class x3 {
|
|
|
7444
7514
|
});
|
|
7445
7515
|
}
|
|
7446
7516
|
}
|
|
7447
|
-
const
|
|
7517
|
+
const b3 = (i, e) => {
|
|
7448
7518
|
const t = X();
|
|
7449
7519
|
return K(() => {
|
|
7450
7520
|
t.current = i;
|
|
7451
7521
|
}, [i, e]), t.current;
|
|
7452
|
-
}, oe = (i, e, t, s) => i.getFixedT(e, t, s),
|
|
7522
|
+
}, oe = (i, e, t, s) => i.getFixedT(e, t, s), y3 = (i, e, t, s) => D(oe(i, e, t, s), [i, e, t, s]), E3 = function(i) {
|
|
7453
7523
|
let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
7454
7524
|
const {
|
|
7455
7525
|
i18n: t
|
|
7456
7526
|
} = e, {
|
|
7457
7527
|
i18n: s,
|
|
7458
7528
|
defaultNS: n
|
|
7459
|
-
} = e1(
|
|
7460
|
-
if (
|
|
7529
|
+
} = e1(R3) || {}, l = t || s || N3();
|
|
7530
|
+
if (l && !l.reportNamespaces && (l.reportNamespaces = new M3()), !l) {
|
|
7461
7531
|
b1("You will need to pass in an i18next instance by using initReactI18next");
|
|
7462
|
-
const f = (y, w) => Q(w) ? w :
|
|
7532
|
+
const f = (y, w) => Q(w) ? w : u3(w) && Q(w.defaultValue) ? w.defaultValue : Array.isArray(y) ? y[y.length - 1] : y, x = [f, {}, !1];
|
|
7463
7533
|
return x.t = f, x.i18n = {}, x.ready = !1, x;
|
|
7464
7534
|
}
|
|
7465
|
-
|
|
7535
|
+
l.options.react && l.options.react.wait !== void 0 && b1("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
|
|
7466
7536
|
const c = {
|
|
7467
|
-
...
|
|
7468
|
-
...
|
|
7537
|
+
...L3(),
|
|
7538
|
+
...l.options.react,
|
|
7469
7539
|
...e
|
|
7470
7540
|
}, {
|
|
7471
7541
|
useSuspense: r,
|
|
7472
7542
|
keyPrefix: d
|
|
7473
7543
|
} = c;
|
|
7474
7544
|
let g = i;
|
|
7475
|
-
g = Q(g) ? [g] : g || ["translation"],
|
|
7476
|
-
const
|
|
7545
|
+
g = Q(g) ? [g] : g || ["translation"], l.reportNamespaces.addUsedNamespaces && l.reportNamespaces.addUsedNamespaces(g);
|
|
7546
|
+
const a = (l.isInitialized || l.initializedStoreOnce) && g.every((f) => C3(f, l, c)), h = y3(l, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), u = () => h, p = () => oe(l, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), [m, N] = W(u);
|
|
7477
7547
|
let k = g.join();
|
|
7478
7548
|
e.lng && (k = `${e.lng}${k}`);
|
|
7479
|
-
const E =
|
|
7549
|
+
const E = b3(k), R = X(!0);
|
|
7480
7550
|
K(() => {
|
|
7481
7551
|
const {
|
|
7482
7552
|
bindI18n: f,
|
|
7483
7553
|
bindI18nStore: x
|
|
7484
7554
|
} = c;
|
|
7485
|
-
R.current = !0, !
|
|
7555
|
+
R.current = !0, !a && !r && (e.lng ? D1(l, e.lng, g, () => {
|
|
7486
7556
|
R.current && N(p);
|
|
7487
|
-
}) : j1(
|
|
7557
|
+
}) : j1(l, g, () => {
|
|
7488
7558
|
R.current && N(p);
|
|
7489
|
-
})),
|
|
7559
|
+
})), a && E && E !== k && R.current && N(p);
|
|
7490
7560
|
const y = () => {
|
|
7491
7561
|
R.current && N(p);
|
|
7492
7562
|
};
|
|
7493
|
-
return f &&
|
|
7494
|
-
R.current = !1, f &&
|
|
7563
|
+
return f && l && l.on(f, y), x && l && l.store.on(x, y), () => {
|
|
7564
|
+
R.current = !1, f && l && f.split(" ").forEach((w) => l.off(w, y)), x && l && x.split(" ").forEach((w) => l.store.off(w, y));
|
|
7495
7565
|
};
|
|
7496
|
-
}, [
|
|
7497
|
-
R.current &&
|
|
7498
|
-
}, [
|
|
7499
|
-
const _ = [m,
|
|
7500
|
-
if (_.t = m, _.i18n =
|
|
7566
|
+
}, [l, k]), K(() => {
|
|
7567
|
+
R.current && a && N(u);
|
|
7568
|
+
}, [l, d, a]);
|
|
7569
|
+
const _ = [m, l, a];
|
|
7570
|
+
if (_.t = m, _.i18n = l, _.ready = a, a || !a && !r) return _;
|
|
7501
7571
|
throw new Promise((f) => {
|
|
7502
|
-
e.lng ? D1(
|
|
7572
|
+
e.lng ? D1(l, e.lng, g, () => f()) : j1(l, g, () => f());
|
|
7503
7573
|
});
|
|
7504
|
-
}, L = (i) => typeof i == "string",
|
|
7574
|
+
}, L = (i) => typeof i == "string", l1 = () => {
|
|
7505
7575
|
let i, e;
|
|
7506
7576
|
const t = new Promise((s, n) => {
|
|
7507
7577
|
i = s, e = n;
|
|
7508
7578
|
});
|
|
7509
7579
|
return t.resolve = i, t.reject = e, t;
|
|
7510
|
-
}, T1 = (i) => i == null ? "" : "" + i,
|
|
7580
|
+
}, T1 = (i) => i == null ? "" : "" + i, _3 = (i, e, t) => {
|
|
7511
7581
|
i.forEach((s) => {
|
|
7512
7582
|
e[s] && (t[s] = e[s]);
|
|
7513
7583
|
});
|
|
7514
|
-
},
|
|
7584
|
+
}, H3 = /###/g, G1 = (i) => i && i.indexOf("###") > -1 ? i.replace(H3, ".") : i, K1 = (i) => !i || L(i), h1 = (i, e, t) => {
|
|
7515
7585
|
const s = L(e) ? e.split(".") : e;
|
|
7516
7586
|
let n = 0;
|
|
7517
7587
|
for (; n < s.length - 1; ) {
|
|
7518
7588
|
if (K1(i)) return {};
|
|
7519
|
-
const
|
|
7520
|
-
!i[
|
|
7589
|
+
const l = G1(s[n]);
|
|
7590
|
+
!i[l] && t && (i[l] = new t()), Object.prototype.hasOwnProperty.call(i, l) ? i = i[l] : i = {}, ++n;
|
|
7521
7591
|
}
|
|
7522
7592
|
return K1(i) ? {} : {
|
|
7523
7593
|
obj: i,
|
|
@@ -7532,16 +7602,16 @@ const R3 = (i, e) => {
|
|
|
7532
7602
|
s[n] = t;
|
|
7533
7603
|
return;
|
|
7534
7604
|
}
|
|
7535
|
-
let
|
|
7605
|
+
let l = e[e.length - 1], c = e.slice(0, e.length - 1), r = h1(i, c, Object);
|
|
7536
7606
|
for (; r.obj === void 0 && c.length; )
|
|
7537
|
-
|
|
7538
|
-
r.obj[`${r.k}.${
|
|
7539
|
-
},
|
|
7607
|
+
l = `${c[c.length - 1]}.${l}`, c = c.slice(0, c.length - 1), r = h1(i, c, Object), r && r.obj && typeof r.obj[`${r.k}.${l}`] < "u" && (r.obj = void 0);
|
|
7608
|
+
r.obj[`${r.k}.${l}`] = t;
|
|
7609
|
+
}, V3 = (i, e, t, s) => {
|
|
7540
7610
|
const {
|
|
7541
7611
|
obj: n,
|
|
7542
|
-
k:
|
|
7612
|
+
k: l
|
|
7543
7613
|
} = h1(i, e, Object);
|
|
7544
|
-
n[
|
|
7614
|
+
n[l] = n[l] || [], n[l].push(t);
|
|
7545
7615
|
}, p1 = (i, e) => {
|
|
7546
7616
|
const {
|
|
7547
7617
|
obj: t,
|
|
@@ -7549,7 +7619,7 @@ const R3 = (i, e) => {
|
|
|
7549
7619
|
} = h1(i, e);
|
|
7550
7620
|
if (t)
|
|
7551
7621
|
return t[s];
|
|
7552
|
-
},
|
|
7622
|
+
}, I3 = (i, e, t) => {
|
|
7553
7623
|
const s = p1(i, t);
|
|
7554
7624
|
return s !== void 0 ? s : p1(e, t);
|
|
7555
7625
|
}, re = (i, e, t) => {
|
|
@@ -7557,7 +7627,7 @@ const R3 = (i, e) => {
|
|
|
7557
7627
|
s !== "__proto__" && s !== "constructor" && (s in i ? L(i[s]) || i[s] instanceof String || L(e[s]) || e[s] instanceof String ? t && (i[s] = e[s]) : re(i[s], e[s], t) : i[s] = e[s]);
|
|
7558
7628
|
return i;
|
|
7559
7629
|
}, i1 = (i) => i.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
|
|
7560
|
-
var
|
|
7630
|
+
var S3 = {
|
|
7561
7631
|
"&": "&",
|
|
7562
7632
|
"<": "<",
|
|
7563
7633
|
">": ">",
|
|
@@ -7565,8 +7635,8 @@ var V3 = {
|
|
|
7565
7635
|
"'": "'",
|
|
7566
7636
|
"/": "/"
|
|
7567
7637
|
};
|
|
7568
|
-
const
|
|
7569
|
-
class
|
|
7638
|
+
const O3 = (i) => L(i) ? i.replace(/[&<>"'\/]/g, (e) => S3[e]) : i;
|
|
7639
|
+
class A3 {
|
|
7570
7640
|
constructor(e) {
|
|
7571
7641
|
this.capacity = e, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = [];
|
|
7572
7642
|
}
|
|
@@ -7578,38 +7648,38 @@ class S3 {
|
|
|
7578
7648
|
return this.regExpQueue.length === this.capacity && this.regExpMap.delete(this.regExpQueue.shift()), this.regExpMap.set(e, s), this.regExpQueue.push(e), s;
|
|
7579
7649
|
}
|
|
7580
7650
|
}
|
|
7581
|
-
const
|
|
7651
|
+
const B3 = [" ", ",", "?", "!", ";"], Z3 = new A3(20), W3 = (i, e, t) => {
|
|
7582
7652
|
e = e || "", t = t || "";
|
|
7583
|
-
const s =
|
|
7653
|
+
const s = B3.filter((c) => e.indexOf(c) < 0 && t.indexOf(c) < 0);
|
|
7584
7654
|
if (s.length === 0) return !0;
|
|
7585
|
-
const n =
|
|
7586
|
-
let
|
|
7587
|
-
if (!
|
|
7655
|
+
const n = Z3.getRegExp(`(${s.map((c) => c === "?" ? "\\?" : c).join("|")})`);
|
|
7656
|
+
let l = !n.test(i);
|
|
7657
|
+
if (!l) {
|
|
7588
7658
|
const c = i.indexOf(t);
|
|
7589
|
-
c > 0 && !n.test(i.substring(0, c)) && (
|
|
7659
|
+
c > 0 && !n.test(i.substring(0, c)) && (l = !0);
|
|
7590
7660
|
}
|
|
7591
|
-
return
|
|
7661
|
+
return l;
|
|
7592
7662
|
}, E1 = function(i, e) {
|
|
7593
7663
|
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : ".";
|
|
7594
7664
|
if (!i) return;
|
|
7595
7665
|
if (i[e]) return i[e];
|
|
7596
7666
|
const s = e.split(t);
|
|
7597
7667
|
let n = i;
|
|
7598
|
-
for (let
|
|
7668
|
+
for (let l = 0; l < s.length; ) {
|
|
7599
7669
|
if (!n || typeof n != "object")
|
|
7600
7670
|
return;
|
|
7601
7671
|
let c, r = "";
|
|
7602
|
-
for (let d =
|
|
7603
|
-
if (d !==
|
|
7672
|
+
for (let d = l; d < s.length; ++d)
|
|
7673
|
+
if (d !== l && (r += t), r += s[d], c = n[r], c !== void 0) {
|
|
7604
7674
|
if (["string", "number", "boolean"].indexOf(typeof c) > -1 && d < s.length - 1)
|
|
7605
7675
|
continue;
|
|
7606
|
-
|
|
7676
|
+
l += d - l + 1;
|
|
7607
7677
|
break;
|
|
7608
7678
|
}
|
|
7609
7679
|
n = c;
|
|
7610
7680
|
}
|
|
7611
7681
|
return n;
|
|
7612
|
-
}, f1 = (i) => i && i.replace("_", "-"),
|
|
7682
|
+
}, f1 = (i) => i && i.replace("_", "-"), j3 = {
|
|
7613
7683
|
type: "logger",
|
|
7614
7684
|
log(i) {
|
|
7615
7685
|
this.output("log", i);
|
|
@@ -7631,7 +7701,7 @@ class w1 {
|
|
|
7631
7701
|
}
|
|
7632
7702
|
init(e) {
|
|
7633
7703
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
7634
|
-
this.prefix = t.prefix || "i18next:", this.logger = e ||
|
|
7704
|
+
this.prefix = t.prefix || "i18next:", this.logger = e || j3, this.options = t, this.debug = t.debug;
|
|
7635
7705
|
}
|
|
7636
7706
|
log() {
|
|
7637
7707
|
for (var e = arguments.length, t = new Array(e), s = 0; s < e; s++)
|
|
@@ -7718,38 +7788,38 @@ class $1 extends L1 {
|
|
|
7718
7788
|
}
|
|
7719
7789
|
getResource(e, t, s) {
|
|
7720
7790
|
let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
|
|
7721
|
-
const
|
|
7791
|
+
const l = n.keySeparator !== void 0 ? n.keySeparator : this.options.keySeparator, c = n.ignoreJSONStructure !== void 0 ? n.ignoreJSONStructure : this.options.ignoreJSONStructure;
|
|
7722
7792
|
let r;
|
|
7723
|
-
e.indexOf(".") > -1 ? r = e.split(".") : (r = [e, t], s && (Array.isArray(s) ? r.push(...s) : L(s) &&
|
|
7793
|
+
e.indexOf(".") > -1 ? r = e.split(".") : (r = [e, t], s && (Array.isArray(s) ? r.push(...s) : L(s) && l ? r.push(...s.split(l)) : r.push(s)));
|
|
7724
7794
|
const d = p1(this.data, r);
|
|
7725
|
-
return !d && !t && !s && e.indexOf(".") > -1 && (e = r[0], t = r[1], s = r.slice(2).join(".")), d || !c || !L(s) ? d : E1(this.data && this.data[e] && this.data[e][t], s,
|
|
7795
|
+
return !d && !t && !s && e.indexOf(".") > -1 && (e = r[0], t = r[1], s = r.slice(2).join(".")), d || !c || !L(s) ? d : E1(this.data && this.data[e] && this.data[e][t], s, l);
|
|
7726
7796
|
}
|
|
7727
7797
|
addResource(e, t, s, n) {
|
|
7728
|
-
let
|
|
7798
|
+
let l = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : {
|
|
7729
7799
|
silent: !1
|
|
7730
7800
|
};
|
|
7731
|
-
const c =
|
|
7801
|
+
const c = l.keySeparator !== void 0 ? l.keySeparator : this.options.keySeparator;
|
|
7732
7802
|
let r = [e, t];
|
|
7733
|
-
s && (r = r.concat(c ? s.split(c) : s)), e.indexOf(".") > -1 && (r = e.split("."), n = t, t = r[1]), this.addNamespaces(t), P1(this.data, r, n),
|
|
7803
|
+
s && (r = r.concat(c ? s.split(c) : s)), e.indexOf(".") > -1 && (r = e.split("."), n = t, t = r[1]), this.addNamespaces(t), P1(this.data, r, n), l.silent || this.emit("added", e, t, s, n);
|
|
7734
7804
|
}
|
|
7735
7805
|
addResources(e, t, s) {
|
|
7736
7806
|
let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {
|
|
7737
7807
|
silent: !1
|
|
7738
7808
|
};
|
|
7739
|
-
for (const
|
|
7740
|
-
(L(s[
|
|
7809
|
+
for (const l in s)
|
|
7810
|
+
(L(s[l]) || Array.isArray(s[l])) && this.addResource(e, t, l, s[l], {
|
|
7741
7811
|
silent: !0
|
|
7742
7812
|
});
|
|
7743
7813
|
n.silent || this.emit("added", e, t, s);
|
|
7744
7814
|
}
|
|
7745
|
-
addResourceBundle(e, t, s, n,
|
|
7815
|
+
addResourceBundle(e, t, s, n, l) {
|
|
7746
7816
|
let c = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : {
|
|
7747
7817
|
silent: !1,
|
|
7748
7818
|
skipCopy: !1
|
|
7749
7819
|
}, r = [e, t];
|
|
7750
7820
|
e.indexOf(".") > -1 && (r = e.split("."), n = s, s = t, t = r[1]), this.addNamespaces(t);
|
|
7751
7821
|
let d = p1(this.data, r) || {};
|
|
7752
|
-
c.skipCopy || (s = JSON.parse(JSON.stringify(s))), n ? re(d, s,
|
|
7822
|
+
c.skipCopy || (s = JSON.parse(JSON.stringify(s))), n ? re(d, s, l) : d = {
|
|
7753
7823
|
...d,
|
|
7754
7824
|
...s
|
|
7755
7825
|
}, P1(this.data, r, d), c.silent || this.emit("added", e, t, s);
|
|
@@ -7776,14 +7846,14 @@ class $1 extends L1 {
|
|
|
7776
7846
|
return this.data;
|
|
7777
7847
|
}
|
|
7778
7848
|
}
|
|
7779
|
-
var
|
|
7849
|
+
var le = {
|
|
7780
7850
|
processors: {},
|
|
7781
7851
|
addPostProcessor(i) {
|
|
7782
7852
|
this.processors[i.name] = i;
|
|
7783
7853
|
},
|
|
7784
7854
|
handle(i, e, t, s, n) {
|
|
7785
|
-
return i.forEach((
|
|
7786
|
-
this.processors[
|
|
7855
|
+
return i.forEach((l) => {
|
|
7856
|
+
this.processors[l] && (e = this.processors[l].process(e, t, s, n));
|
|
7787
7857
|
}), e;
|
|
7788
7858
|
}
|
|
7789
7859
|
};
|
|
@@ -7791,7 +7861,7 @@ const F1 = {};
|
|
|
7791
7861
|
class m1 extends L1 {
|
|
7792
7862
|
constructor(e) {
|
|
7793
7863
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
7794
|
-
super(),
|
|
7864
|
+
super(), _3(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = U.create("translator");
|
|
7795
7865
|
}
|
|
7796
7866
|
changeLanguage(e) {
|
|
7797
7867
|
e && (this.language = e);
|
|
@@ -7809,21 +7879,21 @@ class m1 extends L1 {
|
|
|
7809
7879
|
let s = t.nsSeparator !== void 0 ? t.nsSeparator : this.options.nsSeparator;
|
|
7810
7880
|
s === void 0 && (s = ":");
|
|
7811
7881
|
const n = t.keySeparator !== void 0 ? t.keySeparator : this.options.keySeparator;
|
|
7812
|
-
let
|
|
7813
|
-
const c = s && e.indexOf(s) > -1, r = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !
|
|
7882
|
+
let l = t.ns || this.options.defaultNS || [];
|
|
7883
|
+
const c = s && e.indexOf(s) > -1, r = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !W3(e, s, n);
|
|
7814
7884
|
if (c && !r) {
|
|
7815
7885
|
const d = e.match(this.interpolator.nestingRegexp);
|
|
7816
7886
|
if (d && d.length > 0)
|
|
7817
7887
|
return {
|
|
7818
7888
|
key: e,
|
|
7819
|
-
namespaces: L(
|
|
7889
|
+
namespaces: L(l) ? [l] : l
|
|
7820
7890
|
};
|
|
7821
7891
|
const g = e.split(s);
|
|
7822
|
-
(s !== n || s === n && this.options.ns.indexOf(g[0]) > -1) && (
|
|
7892
|
+
(s !== n || s === n && this.options.ns.indexOf(g[0]) > -1) && (l = g.shift()), e = g.join(n);
|
|
7823
7893
|
}
|
|
7824
7894
|
return {
|
|
7825
7895
|
key: e,
|
|
7826
|
-
namespaces: L(
|
|
7896
|
+
namespaces: L(l) ? [l] : l
|
|
7827
7897
|
};
|
|
7828
7898
|
}
|
|
7829
7899
|
translate(e, t, s) {
|
|
@@ -7831,12 +7901,12 @@ class m1 extends L1 {
|
|
|
7831
7901
|
...t
|
|
7832
7902
|
}), t || (t = {}), e == null) return "";
|
|
7833
7903
|
Array.isArray(e) || (e = [String(e)]);
|
|
7834
|
-
const n = t.returnDetails !== void 0 ? t.returnDetails : this.options.returnDetails,
|
|
7904
|
+
const n = t.returnDetails !== void 0 ? t.returnDetails : this.options.returnDetails, l = t.keySeparator !== void 0 ? t.keySeparator : this.options.keySeparator, {
|
|
7835
7905
|
key: c,
|
|
7836
7906
|
namespaces: r
|
|
7837
|
-
} = this.extractFromKey(e[e.length - 1], t), d = r[r.length - 1], g = t.lng || this.language,
|
|
7907
|
+
} = this.extractFromKey(e[e.length - 1], t), d = r[r.length - 1], g = t.lng || this.language, a = t.appendNamespaceToCIMode || this.options.appendNamespaceToCIMode;
|
|
7838
7908
|
if (g && g.toLowerCase() === "cimode") {
|
|
7839
|
-
if (
|
|
7909
|
+
if (a) {
|
|
7840
7910
|
const f = t.nsSeparator || this.options.nsSeparator;
|
|
7841
7911
|
return n ? {
|
|
7842
7912
|
res: `${d}${f}${c}`,
|
|
@@ -7857,41 +7927,41 @@ class m1 extends L1 {
|
|
|
7857
7927
|
} : c;
|
|
7858
7928
|
}
|
|
7859
7929
|
const h = this.resolve(e, t);
|
|
7860
|
-
let
|
|
7861
|
-
const p = h && h.usedKey || c, m = h && h.exactUsedKey || c, N = Object.prototype.toString.apply(
|
|
7862
|
-
if (R &&
|
|
7930
|
+
let u = h && h.res;
|
|
7931
|
+
const p = h && h.usedKey || c, m = h && h.exactUsedKey || c, N = Object.prototype.toString.apply(u), k = ["[object Number]", "[object Function]", "[object RegExp]"], E = t.joinArrays !== void 0 ? t.joinArrays : this.options.joinArrays, R = !this.i18nFormat || this.i18nFormat.handleAsObject, _ = !L(u) && typeof u != "boolean" && typeof u != "number";
|
|
7932
|
+
if (R && u && _ && k.indexOf(N) < 0 && !(L(E) && Array.isArray(u))) {
|
|
7863
7933
|
if (!t.returnObjects && !this.options.returnObjects) {
|
|
7864
7934
|
this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
|
|
7865
|
-
const f = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(p,
|
|
7935
|
+
const f = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(p, u, {
|
|
7866
7936
|
...t,
|
|
7867
7937
|
ns: r
|
|
7868
7938
|
}) : `key '${c} (${this.language})' returned an object instead of string.`;
|
|
7869
7939
|
return n ? (h.res = f, h.usedParams = this.getUsedParamsDetails(t), h) : f;
|
|
7870
7940
|
}
|
|
7871
|
-
if (
|
|
7872
|
-
const f = Array.isArray(
|
|
7873
|
-
for (const w in
|
|
7874
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
7875
|
-
const H = `${y}${
|
|
7941
|
+
if (l) {
|
|
7942
|
+
const f = Array.isArray(u), x = f ? [] : {}, y = f ? m : p;
|
|
7943
|
+
for (const w in u)
|
|
7944
|
+
if (Object.prototype.hasOwnProperty.call(u, w)) {
|
|
7945
|
+
const H = `${y}${l}${w}`;
|
|
7876
7946
|
x[w] = this.translate(H, {
|
|
7877
7947
|
...t,
|
|
7878
7948
|
joinArrays: !1,
|
|
7879
7949
|
ns: r
|
|
7880
|
-
}), x[w] === H && (x[w] =
|
|
7950
|
+
}), x[w] === H && (x[w] = u[w]);
|
|
7881
7951
|
}
|
|
7882
|
-
|
|
7952
|
+
u = x;
|
|
7883
7953
|
}
|
|
7884
|
-
} else if (R && L(E) && Array.isArray(
|
|
7885
|
-
|
|
7954
|
+
} else if (R && L(E) && Array.isArray(u))
|
|
7955
|
+
u = u.join(E), u && (u = this.extendTranslation(u, e, t, s));
|
|
7886
7956
|
else {
|
|
7887
7957
|
let f = !1, x = !1;
|
|
7888
7958
|
const y = t.count !== void 0 && !L(t.count), w = m1.hasDefaultValue(t), H = y ? this.pluralResolver.getSuffix(g, t.count, t) : "", G = t.ordinal && y ? this.pluralResolver.getSuffix(g, t.count, {
|
|
7889
7959
|
ordinal: !1
|
|
7890
7960
|
}) : "", A = y && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), V = A && t[`defaultValue${this.options.pluralSeparator}zero`] || t[`defaultValue${H}`] || t[`defaultValue${G}`] || t.defaultValue;
|
|
7891
|
-
!this.isValidLookup(
|
|
7892
|
-
const P = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && x ? void 0 :
|
|
7961
|
+
!this.isValidLookup(u) && w && (f = !0, u = V), this.isValidLookup(u) || (x = !0, u = c);
|
|
7962
|
+
const P = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && x ? void 0 : u, B = w && V !== u && this.options.updateMissing;
|
|
7893
7963
|
if (x || f || B) {
|
|
7894
|
-
if (this.logger.log(B ? "updateKey" : "missingKey", g, d, c, B ? V :
|
|
7964
|
+
if (this.logger.log(B ? "updateKey" : "missingKey", g, d, c, B ? V : u), l) {
|
|
7895
7965
|
const j = this.resolve(c, {
|
|
7896
7966
|
...t,
|
|
7897
7967
|
keySeparator: !1
|
|
@@ -7904,22 +7974,22 @@ class m1 extends L1 {
|
|
|
7904
7974
|
for (let j = 0; j < S.length; j++)
|
|
7905
7975
|
$.push(S[j]);
|
|
7906
7976
|
else this.options.saveMissingTo === "all" ? $ = this.languageUtils.toResolveHierarchy(t.lng || this.language) : $.push(t.lng || this.language);
|
|
7907
|
-
const t1 = (j,
|
|
7908
|
-
const z = w && F !==
|
|
7909
|
-
this.options.missingKeyHandler ? this.options.missingKeyHandler(j, d,
|
|
7977
|
+
const t1 = (j, Z, F) => {
|
|
7978
|
+
const z = w && F !== u ? F : P;
|
|
7979
|
+
this.options.missingKeyHandler ? this.options.missingKeyHandler(j, d, Z, z, B, t) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(j, d, Z, z, B, t), this.emit("missingKey", j, d, Z, u);
|
|
7910
7980
|
};
|
|
7911
7981
|
this.options.saveMissing && (this.options.saveMissingPlurals && y ? $.forEach((j) => {
|
|
7912
|
-
const
|
|
7913
|
-
A && t[`defaultValue${this.options.pluralSeparator}zero`] &&
|
|
7982
|
+
const Z = this.pluralResolver.getSuffixes(j, t);
|
|
7983
|
+
A && t[`defaultValue${this.options.pluralSeparator}zero`] && Z.indexOf(`${this.options.pluralSeparator}zero`) < 0 && Z.push(`${this.options.pluralSeparator}zero`), Z.forEach((F) => {
|
|
7914
7984
|
t1([j], c + F, t[`defaultValue${F}`] || V);
|
|
7915
7985
|
});
|
|
7916
7986
|
}) : t1($, c, V));
|
|
7917
7987
|
}
|
|
7918
|
-
|
|
7988
|
+
u = this.extendTranslation(u, e, t, h, s), x && u === c && this.options.appendNamespaceToMissingKey && (u = `${d}:${c}`), (x || f) && this.options.parseMissingKeyHandler && (this.options.compatibilityAPI !== "v1" ? u = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${d}:${c}` : c, f ? u : void 0) : u = this.options.parseMissingKeyHandler(u));
|
|
7919
7989
|
}
|
|
7920
|
-
return n ? (h.res =
|
|
7990
|
+
return n ? (h.res = u, h.usedParams = this.getUsedParamsDetails(t), h) : u;
|
|
7921
7991
|
}
|
|
7922
|
-
extendTranslation(e, t, s, n,
|
|
7992
|
+
extendTranslation(e, t, s, n, l) {
|
|
7923
7993
|
var c = this;
|
|
7924
7994
|
if (this.i18nFormat && this.i18nFormat.parse)
|
|
7925
7995
|
e = this.i18nFormat.parse(e, {
|
|
@@ -7937,27 +8007,27 @@ class m1 extends L1 {
|
|
|
7937
8007
|
}
|
|
7938
8008
|
});
|
|
7939
8009
|
const g = L(e) && (s && s.interpolation && s.interpolation.skipOnVariables !== void 0 ? s.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables);
|
|
7940
|
-
let
|
|
8010
|
+
let a;
|
|
7941
8011
|
if (g) {
|
|
7942
|
-
const
|
|
7943
|
-
|
|
8012
|
+
const u = e.match(this.interpolator.nestingRegexp);
|
|
8013
|
+
a = u && u.length;
|
|
7944
8014
|
}
|
|
7945
8015
|
let h = s.replace && !L(s.replace) ? s.replace : s;
|
|
7946
8016
|
if (this.options.interpolation.defaultVariables && (h = {
|
|
7947
8017
|
...this.options.interpolation.defaultVariables,
|
|
7948
8018
|
...h
|
|
7949
8019
|
}), e = this.interpolator.interpolate(e, h, s.lng || this.language || n.usedLng, s), g) {
|
|
7950
|
-
const
|
|
7951
|
-
|
|
8020
|
+
const u = e.match(this.interpolator.nestingRegexp), p = u && u.length;
|
|
8021
|
+
a < p && (s.nest = !1);
|
|
7952
8022
|
}
|
|
7953
8023
|
!s.lng && this.options.compatibilityAPI !== "v1" && n && n.res && (s.lng = this.language || n.usedLng), s.nest !== !1 && (e = this.interpolator.nest(e, function() {
|
|
7954
|
-
for (var
|
|
8024
|
+
for (var u = arguments.length, p = new Array(u), m = 0; m < u; m++)
|
|
7955
8025
|
p[m] = arguments[m];
|
|
7956
|
-
return
|
|
8026
|
+
return l && l[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);
|
|
7957
8027
|
}, s)), s.interpolation && this.interpolator.reset();
|
|
7958
8028
|
}
|
|
7959
8029
|
const r = s.postProcess || this.options.postProcess, d = L(r) ? [r] : r;
|
|
7960
|
-
return e != null && d && d.length && s.applyPostProcessor !== !1 && (e =
|
|
8030
|
+
return e != null && d && d.length && s.applyPostProcessor !== !1 && (e = le.handle(d, e, t, this.options && this.options.postProcessPassResolved ? {
|
|
7961
8031
|
i18nResolved: {
|
|
7962
8032
|
...n,
|
|
7963
8033
|
usedParams: this.getUsedParamsDetails(s)
|
|
@@ -7966,39 +8036,39 @@ class m1 extends L1 {
|
|
|
7966
8036
|
} : s, this)), e;
|
|
7967
8037
|
}
|
|
7968
8038
|
resolve(e) {
|
|
7969
|
-
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s, n,
|
|
8039
|
+
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s, n, l, c, r;
|
|
7970
8040
|
return L(e) && (e = [e]), e.forEach((d) => {
|
|
7971
8041
|
if (this.isValidLookup(s)) return;
|
|
7972
|
-
const g = this.extractFromKey(d, t),
|
|
7973
|
-
n =
|
|
8042
|
+
const g = this.extractFromKey(d, t), a = g.key;
|
|
8043
|
+
n = a;
|
|
7974
8044
|
let h = g.namespaces;
|
|
7975
8045
|
this.options.fallbackNS && (h = h.concat(this.options.fallbackNS));
|
|
7976
|
-
const
|
|
8046
|
+
const u = t.count !== void 0 && !L(t.count), p = u && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), m = t.context !== void 0 && (L(t.context) || typeof t.context == "number") && t.context !== "", N = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
|
|
7977
8047
|
h.forEach((k) => {
|
|
7978
8048
|
this.isValidLookup(s) || (r = k, !F1[`${N[0]}-${k}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(r) && (F1[`${N[0]}-${k}`] = !0, this.logger.warn(`key "${n}" for languages "${N.join(", ")}" won't get resolved as namespace "${r}" 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((E) => {
|
|
7979
8049
|
if (this.isValidLookup(s)) return;
|
|
7980
8050
|
c = E;
|
|
7981
|
-
const R = [
|
|
8051
|
+
const R = [a];
|
|
7982
8052
|
if (this.i18nFormat && this.i18nFormat.addLookupKeys)
|
|
7983
|
-
this.i18nFormat.addLookupKeys(R,
|
|
8053
|
+
this.i18nFormat.addLookupKeys(R, a, E, k, t);
|
|
7984
8054
|
else {
|
|
7985
8055
|
let f;
|
|
7986
|
-
|
|
8056
|
+
u && (f = this.pluralResolver.getSuffix(E, t.count, t));
|
|
7987
8057
|
const x = `${this.options.pluralSeparator}zero`, y = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
|
|
7988
|
-
if (
|
|
7989
|
-
const w = `${
|
|
7990
|
-
R.push(w),
|
|
8058
|
+
if (u && (R.push(a + f), t.ordinal && f.indexOf(y) === 0 && R.push(a + f.replace(y, this.options.pluralSeparator)), p && R.push(a + x)), m) {
|
|
8059
|
+
const w = `${a}${this.options.contextSeparator}${t.context}`;
|
|
8060
|
+
R.push(w), u && (R.push(w + f), t.ordinal && f.indexOf(y) === 0 && R.push(w + f.replace(y, this.options.pluralSeparator)), p && R.push(w + x));
|
|
7991
8061
|
}
|
|
7992
8062
|
}
|
|
7993
8063
|
let _;
|
|
7994
8064
|
for (; _ = R.pop(); )
|
|
7995
|
-
this.isValidLookup(s) || (
|
|
8065
|
+
this.isValidLookup(s) || (l = _, s = this.getResource(E, k, _, t));
|
|
7996
8066
|
}));
|
|
7997
8067
|
});
|
|
7998
8068
|
}), {
|
|
7999
8069
|
res: s,
|
|
8000
8070
|
usedKey: n,
|
|
8001
|
-
exactUsedKey:
|
|
8071
|
+
exactUsedKey: l,
|
|
8002
8072
|
usedLng: c,
|
|
8003
8073
|
usedNS: r
|
|
8004
8074
|
};
|
|
@@ -8021,8 +8091,8 @@ class m1 extends L1 {
|
|
|
8021
8091
|
n = {
|
|
8022
8092
|
...n
|
|
8023
8093
|
};
|
|
8024
|
-
for (const
|
|
8025
|
-
delete n[
|
|
8094
|
+
for (const l of t)
|
|
8095
|
+
delete n[l];
|
|
8026
8096
|
}
|
|
8027
8097
|
return n;
|
|
8028
8098
|
}
|
|
@@ -8077,10 +8147,10 @@ class Y1 {
|
|
|
8077
8147
|
if (t) return;
|
|
8078
8148
|
const n = this.getLanguagePartFromCode(s);
|
|
8079
8149
|
if (this.isSupportedCode(n)) return t = n;
|
|
8080
|
-
t = this.options.supportedLngs.find((
|
|
8081
|
-
if (
|
|
8082
|
-
if (!(
|
|
8083
|
-
return
|
|
8150
|
+
t = this.options.supportedLngs.find((l) => {
|
|
8151
|
+
if (l === n) return l;
|
|
8152
|
+
if (!(l.indexOf("-") < 0 && n.indexOf("-") < 0) && (l.indexOf("-") > 0 && n.indexOf("-") < 0 && l.substring(0, l.indexOf("-")) === n || l.indexOf(n) === 0 && n.length > 1))
|
|
8153
|
+
return l;
|
|
8084
8154
|
});
|
|
8085
8155
|
}), t || (t = this.getFallbackCodes(this.options.fallbackLng)[0]), t;
|
|
8086
8156
|
}
|
|
@@ -8092,15 +8162,15 @@ class Y1 {
|
|
|
8092
8162
|
return s || (s = e[this.getScriptPartFromCode(t)]), s || (s = e[this.formatLanguageCode(t)]), s || (s = e[this.getLanguagePartFromCode(t)]), s || (s = e.default), s || [];
|
|
8093
8163
|
}
|
|
8094
8164
|
toResolveHierarchy(e, t) {
|
|
8095
|
-
const s = this.getFallbackCodes(t || this.options.fallbackLng || [], e), n = [],
|
|
8165
|
+
const s = this.getFallbackCodes(t || this.options.fallbackLng || [], e), n = [], l = (c) => {
|
|
8096
8166
|
c && (this.isSupportedCode(c) ? n.push(c) : this.logger.warn(`rejecting language code not found in supportedLngs: ${c}`));
|
|
8097
8167
|
};
|
|
8098
|
-
return L(e) && (e.indexOf("-") > -1 || e.indexOf("_") > -1) ? (this.options.load !== "languageOnly" &&
|
|
8099
|
-
n.indexOf(c) < 0 &&
|
|
8168
|
+
return L(e) && (e.indexOf("-") > -1 || e.indexOf("_") > -1) ? (this.options.load !== "languageOnly" && l(this.formatLanguageCode(e)), this.options.load !== "languageOnly" && this.options.load !== "currentOnly" && l(this.getScriptPartFromCode(e)), this.options.load !== "currentOnly" && l(this.getLanguagePartFromCode(e))) : L(e) && l(this.formatLanguageCode(e)), s.forEach((c) => {
|
|
8169
|
+
n.indexOf(c) < 0 && l(this.formatLanguageCode(c));
|
|
8100
8170
|
}), n;
|
|
8101
8171
|
}
|
|
8102
8172
|
}
|
|
8103
|
-
let
|
|
8173
|
+
let D3 = [{
|
|
8104
8174
|
lngs: ["ach", "ak", "am", "arn", "br", "fil", "gun", "ln", "mfe", "mg", "mi", "oc", "pt", "pt-BR", "tg", "tl", "ti", "tr", "uz", "wa"],
|
|
8105
8175
|
nr: [1, 2],
|
|
8106
8176
|
fc: 1
|
|
@@ -8192,7 +8262,7 @@ let Z3 = [{
|
|
|
8192
8262
|
lngs: ["he", "iw"],
|
|
8193
8263
|
nr: [1, 2, 20, 21],
|
|
8194
8264
|
fc: 22
|
|
8195
|
-
}],
|
|
8265
|
+
}], T3 = {
|
|
8196
8266
|
1: (i) => +(i > 1),
|
|
8197
8267
|
2: (i) => +(i != 1),
|
|
8198
8268
|
3: (i) => 0,
|
|
@@ -8216,28 +8286,28 @@ let Z3 = [{
|
|
|
8216
8286
|
21: (i) => i % 100 == 1 ? 1 : i % 100 == 2 ? 2 : i % 100 == 3 || i % 100 == 4 ? 3 : 0,
|
|
8217
8287
|
22: (i) => i == 1 ? 0 : i == 2 ? 1 : (i < 0 || i > 10) && i % 10 == 0 ? 2 : 3
|
|
8218
8288
|
};
|
|
8219
|
-
const
|
|
8289
|
+
const G3 = ["v1", "v2", "v3"], K3 = ["v4"], U1 = {
|
|
8220
8290
|
zero: 0,
|
|
8221
8291
|
one: 1,
|
|
8222
8292
|
two: 2,
|
|
8223
8293
|
few: 3,
|
|
8224
8294
|
many: 4,
|
|
8225
8295
|
other: 5
|
|
8226
|
-
},
|
|
8296
|
+
}, P3 = () => {
|
|
8227
8297
|
const i = {};
|
|
8228
|
-
return
|
|
8298
|
+
return D3.forEach((e) => {
|
|
8229
8299
|
e.lngs.forEach((t) => {
|
|
8230
8300
|
i[t] = {
|
|
8231
8301
|
numbers: e.nr,
|
|
8232
|
-
plurals:
|
|
8302
|
+
plurals: T3[e.fc]
|
|
8233
8303
|
};
|
|
8234
8304
|
});
|
|
8235
8305
|
}), i;
|
|
8236
8306
|
};
|
|
8237
|
-
class
|
|
8307
|
+
class $3 {
|
|
8238
8308
|
constructor(e) {
|
|
8239
8309
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
8240
|
-
this.languageUtils = e, this.options = t, this.logger = U.create("pluralResolver"), (!this.options.compatibilityJSON ||
|
|
8310
|
+
this.languageUtils = e, this.options = t, this.logger = U.create("pluralResolver"), (!this.options.compatibilityJSON || K3.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 = P3(), this.pluralRulesCache = {};
|
|
8241
8311
|
}
|
|
8242
8312
|
addRule(e, t) {
|
|
8243
8313
|
this.rules[e] = t;
|
|
@@ -8248,12 +8318,12 @@ class K3 {
|
|
|
8248
8318
|
getRule(e) {
|
|
8249
8319
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
8250
8320
|
if (this.shouldUseIntlApi()) {
|
|
8251
|
-
const s = f1(e === "dev" ? "en" : e), n = t.ordinal ? "ordinal" : "cardinal",
|
|
8321
|
+
const s = f1(e === "dev" ? "en" : e), n = t.ordinal ? "ordinal" : "cardinal", l = JSON.stringify({
|
|
8252
8322
|
cleanedCode: s,
|
|
8253
8323
|
type: n
|
|
8254
8324
|
});
|
|
8255
|
-
if (
|
|
8256
|
-
return this.pluralRulesCache[
|
|
8325
|
+
if (l in this.pluralRulesCache)
|
|
8326
|
+
return this.pluralRulesCache[l];
|
|
8257
8327
|
let c;
|
|
8258
8328
|
try {
|
|
8259
8329
|
c = new Intl.PluralRules(s, {
|
|
@@ -8264,7 +8334,7 @@ class K3 {
|
|
|
8264
8334
|
const d = this.languageUtils.getLanguagePartFromCode(e);
|
|
8265
8335
|
c = this.getRule(d, t);
|
|
8266
8336
|
}
|
|
8267
|
-
return this.pluralRulesCache[
|
|
8337
|
+
return this.pluralRulesCache[l] = c, c;
|
|
8268
8338
|
}
|
|
8269
8339
|
return this.rules[e] || this.rules[this.languageUtils.getLanguagePartFromCode(e)];
|
|
8270
8340
|
}
|
|
@@ -8280,7 +8350,7 @@ class K3 {
|
|
|
8280
8350
|
getSuffixes(e) {
|
|
8281
8351
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
8282
8352
|
const s = this.getRule(e, t);
|
|
8283
|
-
return s ? this.shouldUseIntlApi() ? s.resolvedOptions().pluralCategories.sort((n,
|
|
8353
|
+
return s ? this.shouldUseIntlApi() ? s.resolvedOptions().pluralCategories.sort((n, l) => U1[n] - U1[l]).map((n) => `${this.options.prepend}${t.ordinal ? `ordinal${this.options.prepend}` : ""}${n}`) : s.numbers.map((n) => this.getSuffix(e, n, t)) : [];
|
|
8284
8354
|
}
|
|
8285
8355
|
getSuffix(e, t) {
|
|
8286
8356
|
let s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
@@ -8291,18 +8361,18 @@ class K3 {
|
|
|
8291
8361
|
const s = e.noAbs ? e.plurals(t) : e.plurals(Math.abs(t));
|
|
8292
8362
|
let n = e.numbers[s];
|
|
8293
8363
|
this.options.simplifyPluralSuffix && e.numbers.length === 2 && e.numbers[0] === 1 && (n === 2 ? n = "plural" : n === 1 && (n = ""));
|
|
8294
|
-
const
|
|
8295
|
-
return this.options.compatibilityJSON === "v1" ? n === 1 ? "" : typeof n == "number" ? `_plural_${n.toString()}` :
|
|
8364
|
+
const l = () => this.options.prepend && n.toString() ? this.options.prepend + n.toString() : n.toString();
|
|
8365
|
+
return this.options.compatibilityJSON === "v1" ? n === 1 ? "" : typeof n == "number" ? `_plural_${n.toString()}` : l() : this.options.compatibilityJSON === "v2" || this.options.simplifyPluralSuffix && e.numbers.length === 2 && e.numbers[0] === 1 ? l() : this.options.prepend && s.toString() ? this.options.prepend + s.toString() : s.toString();
|
|
8296
8366
|
}
|
|
8297
8367
|
shouldUseIntlApi() {
|
|
8298
|
-
return !
|
|
8368
|
+
return !G3.includes(this.options.compatibilityJSON);
|
|
8299
8369
|
}
|
|
8300
8370
|
}
|
|
8301
8371
|
const z1 = function(i, e, t) {
|
|
8302
|
-
let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", n = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0,
|
|
8303
|
-
return !
|
|
8372
|
+
let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", n = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, l = I3(i, e, t);
|
|
8373
|
+
return !l && n && L(t) && (l = E1(i, t, s), l === void 0 && (l = E1(e, t, s))), l;
|
|
8304
8374
|
}, R1 = (i) => i.replace(/\$/g, "$$$$");
|
|
8305
|
-
class
|
|
8375
|
+
class F3 {
|
|
8306
8376
|
constructor() {
|
|
8307
8377
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
8308
8378
|
this.logger = U.create("interpolator"), this.options = e, this.format = e.interpolation && e.interpolation.format || ((t) => t), this.init(e);
|
|
@@ -8316,14 +8386,14 @@ class P3 {
|
|
|
8316
8386
|
escape: t,
|
|
8317
8387
|
escapeValue: s,
|
|
8318
8388
|
useRawValueToEscape: n,
|
|
8319
|
-
prefix:
|
|
8389
|
+
prefix: l,
|
|
8320
8390
|
prefixEscaped: c,
|
|
8321
8391
|
suffix: r,
|
|
8322
8392
|
suffixEscaped: d,
|
|
8323
8393
|
formatSeparator: g,
|
|
8324
|
-
unescapeSuffix:
|
|
8394
|
+
unescapeSuffix: a,
|
|
8325
8395
|
unescapePrefix: h,
|
|
8326
|
-
nestingPrefix:
|
|
8396
|
+
nestingPrefix: u,
|
|
8327
8397
|
nestingPrefixEscaped: p,
|
|
8328
8398
|
nestingSuffix: m,
|
|
8329
8399
|
nestingSuffixEscaped: N,
|
|
@@ -8331,7 +8401,7 @@ class P3 {
|
|
|
8331
8401
|
maxReplaces: E,
|
|
8332
8402
|
alwaysFormat: R
|
|
8333
8403
|
} = e.interpolation;
|
|
8334
|
-
this.escape = t !== void 0 ? t :
|
|
8404
|
+
this.escape = t !== void 0 ? t : O3, this.escapeValue = s !== void 0 ? s : !0, this.useRawValueToEscape = n !== void 0 ? n : !1, this.prefix = l ? i1(l) : c || "{{", this.suffix = r ? i1(r) : d || "}}", this.formatSeparator = g || ",", this.unescapePrefix = a ? "" : h || "-", this.unescapeSuffix = this.unescapePrefix ? "" : a || "", this.nestingPrefix = u ? i1(u) : p || i1("$t("), this.nestingSuffix = m ? i1(m) : N || i1(")"), this.nestingOptionsSeparator = k || ",", this.maxReplaces = E || 1e3, this.alwaysFormat = R !== void 0 ? R : !1, this.resetRegExp();
|
|
8335
8405
|
}
|
|
8336
8406
|
reset() {
|
|
8337
8407
|
this.options && this.init(this.options);
|
|
@@ -8341,7 +8411,7 @@ class P3 {
|
|
|
8341
8411
|
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}`);
|
|
8342
8412
|
}
|
|
8343
8413
|
interpolate(e, t, s, n) {
|
|
8344
|
-
let
|
|
8414
|
+
let l, c, r;
|
|
8345
8415
|
const d = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, g = (p) => {
|
|
8346
8416
|
if (p.indexOf(this.formatSeparator) < 0) {
|
|
8347
8417
|
const E = z1(t, d, p, this.options.keySeparator, this.options.ignoreJSONStructure);
|
|
@@ -8359,7 +8429,7 @@ class P3 {
|
|
|
8359
8429
|
});
|
|
8360
8430
|
};
|
|
8361
8431
|
this.resetRegExp();
|
|
8362
|
-
const
|
|
8432
|
+
const a = n && n.missingInterpolationHandler || this.options.missingInterpolationHandler, h = n && n.interpolation && n.interpolation.skipOnVariables !== void 0 ? n.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables;
|
|
8363
8433
|
return [{
|
|
8364
8434
|
regex: this.regexpUnescape,
|
|
8365
8435
|
safeValue: (p) => R1(p)
|
|
@@ -8367,43 +8437,43 @@ class P3 {
|
|
|
8367
8437
|
regex: this.regexp,
|
|
8368
8438
|
safeValue: (p) => this.escapeValue ? R1(this.escape(p)) : R1(p)
|
|
8369
8439
|
}].forEach((p) => {
|
|
8370
|
-
for (r = 0;
|
|
8371
|
-
const m =
|
|
8440
|
+
for (r = 0; l = p.regex.exec(e); ) {
|
|
8441
|
+
const m = l[1].trim();
|
|
8372
8442
|
if (c = g(m), c === void 0)
|
|
8373
|
-
if (typeof
|
|
8374
|
-
const k =
|
|
8443
|
+
if (typeof a == "function") {
|
|
8444
|
+
const k = a(e, l, n);
|
|
8375
8445
|
c = L(k) ? k : "";
|
|
8376
8446
|
} else if (n && Object.prototype.hasOwnProperty.call(n, m))
|
|
8377
8447
|
c = "";
|
|
8378
8448
|
else if (h) {
|
|
8379
|
-
c =
|
|
8449
|
+
c = l[0];
|
|
8380
8450
|
continue;
|
|
8381
8451
|
} else
|
|
8382
8452
|
this.logger.warn(`missed to pass in variable ${m} for interpolating ${e}`), c = "";
|
|
8383
8453
|
else !L(c) && !this.useRawValueToEscape && (c = T1(c));
|
|
8384
8454
|
const N = p.safeValue(c);
|
|
8385
|
-
if (e = e.replace(
|
|
8455
|
+
if (e = e.replace(l[0], N), h ? (p.regex.lastIndex += c.length, p.regex.lastIndex -= l[0].length) : p.regex.lastIndex = 0, r++, r >= this.maxReplaces)
|
|
8386
8456
|
break;
|
|
8387
8457
|
}
|
|
8388
8458
|
}), e;
|
|
8389
8459
|
}
|
|
8390
8460
|
nest(e, t) {
|
|
8391
|
-
let s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, n,
|
|
8461
|
+
let s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, n, l, c;
|
|
8392
8462
|
const r = (d, g) => {
|
|
8393
|
-
const
|
|
8394
|
-
if (d.indexOf(
|
|
8395
|
-
const h = d.split(new RegExp(`${
|
|
8396
|
-
let
|
|
8397
|
-
d = h[0],
|
|
8398
|
-
const p =
|
|
8399
|
-
(p && p.length % 2 === 0 && !m || m.length % 2 !== 0) && (
|
|
8463
|
+
const a = this.nestingOptionsSeparator;
|
|
8464
|
+
if (d.indexOf(a) < 0) return d;
|
|
8465
|
+
const h = d.split(new RegExp(`${a}[ ]*{`));
|
|
8466
|
+
let u = `{${h[1]}`;
|
|
8467
|
+
d = h[0], u = this.interpolate(u, c);
|
|
8468
|
+
const p = u.match(/'/g), m = u.match(/"/g);
|
|
8469
|
+
(p && p.length % 2 === 0 && !m || m.length % 2 !== 0) && (u = u.replace(/'/g, '"'));
|
|
8400
8470
|
try {
|
|
8401
|
-
c = JSON.parse(
|
|
8471
|
+
c = JSON.parse(u), g && (c = {
|
|
8402
8472
|
...g,
|
|
8403
8473
|
...c
|
|
8404
8474
|
});
|
|
8405
8475
|
} catch (N) {
|
|
8406
|
-
return this.logger.warn(`failed parsing options string in nesting for key ${d}`, N), `${d}${
|
|
8476
|
+
return this.logger.warn(`failed parsing options string in nesting for key ${d}`, N), `${d}${a}${u}`;
|
|
8407
8477
|
}
|
|
8408
8478
|
return c.defaultValue && c.defaultValue.indexOf(this.prefix) > -1 && delete c.defaultValue, d;
|
|
8409
8479
|
};
|
|
@@ -8414,19 +8484,19 @@ class P3 {
|
|
|
8414
8484
|
}, c = c.replace && !L(c.replace) ? c.replace : c, c.applyPostProcessor = !1, delete c.defaultValue;
|
|
8415
8485
|
let g = !1;
|
|
8416
8486
|
if (n[0].indexOf(this.formatSeparator) !== -1 && !/{.*}/.test(n[1])) {
|
|
8417
|
-
const
|
|
8418
|
-
n[1] =
|
|
8487
|
+
const a = n[1].split(this.formatSeparator).map((h) => h.trim());
|
|
8488
|
+
n[1] = a.shift(), d = a, g = !0;
|
|
8419
8489
|
}
|
|
8420
|
-
if (
|
|
8421
|
-
L(
|
|
8490
|
+
if (l = t(r.call(this, n[1].trim(), c), c), l && n[0] === e && !L(l)) return l;
|
|
8491
|
+
L(l) || (l = T1(l)), l || (this.logger.warn(`missed to resolve ${n[1]} for nesting ${e}`), l = ""), g && (l = d.reduce((a, h) => this.format(a, h, s.lng, {
|
|
8422
8492
|
...s,
|
|
8423
8493
|
interpolationkey: n[1].trim()
|
|
8424
|
-
}),
|
|
8494
|
+
}), l.trim())), e = e.replace(n[0], l), this.regexp.lastIndex = 0;
|
|
8425
8495
|
}
|
|
8426
8496
|
return e;
|
|
8427
8497
|
}
|
|
8428
8498
|
}
|
|
8429
|
-
const
|
|
8499
|
+
const Y3 = (i) => {
|
|
8430
8500
|
let e = i.toLowerCase().trim();
|
|
8431
8501
|
const t = {};
|
|
8432
8502
|
if (i.indexOf("(") > -1) {
|
|
@@ -8435,8 +8505,8 @@ const $3 = (i) => {
|
|
|
8435
8505
|
const n = s[1].substring(0, s[1].length - 1);
|
|
8436
8506
|
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) => {
|
|
8437
8507
|
if (c) {
|
|
8438
|
-
const [r, ...d] = c.split(":"), g = d.join(":").trim().replace(/^'+|'+$/g, ""),
|
|
8439
|
-
t[
|
|
8508
|
+
const [r, ...d] = c.split(":"), g = d.join(":").trim().replace(/^'+|'+$/g, ""), a = r.trim();
|
|
8509
|
+
t[a] || (t[a] = g), g === "false" && (t[a] = !1), g === "true" && (t[a] = !0), isNaN(g) || (t[a] = parseInt(g, 10));
|
|
8440
8510
|
}
|
|
8441
8511
|
});
|
|
8442
8512
|
}
|
|
@@ -8447,17 +8517,17 @@ const $3 = (i) => {
|
|
|
8447
8517
|
}, s1 = (i) => {
|
|
8448
8518
|
const e = {};
|
|
8449
8519
|
return (t, s, n) => {
|
|
8450
|
-
let
|
|
8451
|
-
n && n.interpolationkey && n.formatParams && n.formatParams[n.interpolationkey] && n[n.interpolationkey] && (
|
|
8452
|
-
...
|
|
8520
|
+
let l = n;
|
|
8521
|
+
n && n.interpolationkey && n.formatParams && n.formatParams[n.interpolationkey] && n[n.interpolationkey] && (l = {
|
|
8522
|
+
...l,
|
|
8453
8523
|
[n.interpolationkey]: void 0
|
|
8454
8524
|
});
|
|
8455
|
-
const c = s + JSON.stringify(
|
|
8525
|
+
const c = s + JSON.stringify(l);
|
|
8456
8526
|
let r = e[c];
|
|
8457
8527
|
return r || (r = i(f1(s), n), e[c] = r), r(t);
|
|
8458
8528
|
};
|
|
8459
8529
|
};
|
|
8460
|
-
class
|
|
8530
|
+
class U3 {
|
|
8461
8531
|
constructor() {
|
|
8462
8532
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
8463
8533
|
this.logger = U.create("formatter"), this.options = e, this.formats = {
|
|
@@ -8465,32 +8535,32 @@ class F3 {
|
|
|
8465
8535
|
const n = new Intl.NumberFormat(t, {
|
|
8466
8536
|
...s
|
|
8467
8537
|
});
|
|
8468
|
-
return (
|
|
8538
|
+
return (l) => n.format(l);
|
|
8469
8539
|
}),
|
|
8470
8540
|
currency: s1((t, s) => {
|
|
8471
8541
|
const n = new Intl.NumberFormat(t, {
|
|
8472
8542
|
...s,
|
|
8473
8543
|
style: "currency"
|
|
8474
8544
|
});
|
|
8475
|
-
return (
|
|
8545
|
+
return (l) => n.format(l);
|
|
8476
8546
|
}),
|
|
8477
8547
|
datetime: s1((t, s) => {
|
|
8478
8548
|
const n = new Intl.DateTimeFormat(t, {
|
|
8479
8549
|
...s
|
|
8480
8550
|
});
|
|
8481
|
-
return (
|
|
8551
|
+
return (l) => n.format(l);
|
|
8482
8552
|
}),
|
|
8483
8553
|
relativetime: s1((t, s) => {
|
|
8484
8554
|
const n = new Intl.RelativeTimeFormat(t, {
|
|
8485
8555
|
...s
|
|
8486
8556
|
});
|
|
8487
|
-
return (
|
|
8557
|
+
return (l) => n.format(l, s.range || "day");
|
|
8488
8558
|
}),
|
|
8489
8559
|
list: s1((t, s) => {
|
|
8490
8560
|
const n = new Intl.ListFormat(t, {
|
|
8491
8561
|
...s
|
|
8492
8562
|
});
|
|
8493
|
-
return (
|
|
8563
|
+
return (l) => n.format(l);
|
|
8494
8564
|
})
|
|
8495
8565
|
}, this.init(e);
|
|
8496
8566
|
}
|
|
@@ -8508,27 +8578,27 @@ class F3 {
|
|
|
8508
8578
|
}
|
|
8509
8579
|
format(e, t, s) {
|
|
8510
8580
|
let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
|
|
8511
|
-
const
|
|
8512
|
-
if (
|
|
8513
|
-
const r =
|
|
8514
|
-
|
|
8581
|
+
const l = t.split(this.formatSeparator);
|
|
8582
|
+
if (l.length > 1 && l[0].indexOf("(") > 1 && l[0].indexOf(")") < 0 && l.find((r) => r.indexOf(")") > -1)) {
|
|
8583
|
+
const r = l.findIndex((d) => d.indexOf(")") > -1);
|
|
8584
|
+
l[0] = [l[0], ...l.splice(1, r)].join(this.formatSeparator);
|
|
8515
8585
|
}
|
|
8516
|
-
return
|
|
8586
|
+
return l.reduce((r, d) => {
|
|
8517
8587
|
const {
|
|
8518
8588
|
formatName: g,
|
|
8519
|
-
formatOptions:
|
|
8520
|
-
} =
|
|
8589
|
+
formatOptions: a
|
|
8590
|
+
} = Y3(d);
|
|
8521
8591
|
if (this.formats[g]) {
|
|
8522
8592
|
let h = r;
|
|
8523
8593
|
try {
|
|
8524
|
-
const
|
|
8594
|
+
const u = n && n.formatParams && n.formatParams[n.interpolationkey] || {}, p = u.locale || u.lng || n.locale || n.lng || s;
|
|
8525
8595
|
h = this.formats[g](r, p, {
|
|
8526
|
-
...
|
|
8596
|
+
...a,
|
|
8527
8597
|
...n,
|
|
8528
|
-
...
|
|
8598
|
+
...u
|
|
8529
8599
|
});
|
|
8530
|
-
} catch (
|
|
8531
|
-
this.logger.warn(
|
|
8600
|
+
} catch (u) {
|
|
8601
|
+
this.logger.warn(u);
|
|
8532
8602
|
}
|
|
8533
8603
|
return h;
|
|
8534
8604
|
} else
|
|
@@ -8537,53 +8607,53 @@ class F3 {
|
|
|
8537
8607
|
}, e);
|
|
8538
8608
|
}
|
|
8539
8609
|
}
|
|
8540
|
-
const
|
|
8610
|
+
const z3 = (i, e) => {
|
|
8541
8611
|
i.pending[e] !== void 0 && (delete i.pending[e], i.pendingCount--);
|
|
8542
8612
|
};
|
|
8543
|
-
class
|
|
8613
|
+
class J3 extends L1 {
|
|
8544
8614
|
constructor(e, t, s) {
|
|
8545
8615
|
let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
|
|
8546
8616
|
super(), this.backend = e, this.store = t, this.services = s, this.languageUtils = s.languageUtils, this.options = n, this.logger = U.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);
|
|
8547
8617
|
}
|
|
8548
8618
|
queueLoad(e, t, s, n) {
|
|
8549
|
-
const
|
|
8619
|
+
const l = {}, c = {}, r = {}, d = {};
|
|
8550
8620
|
return e.forEach((g) => {
|
|
8551
|
-
let
|
|
8621
|
+
let a = !0;
|
|
8552
8622
|
t.forEach((h) => {
|
|
8553
|
-
const
|
|
8554
|
-
!s.reload && this.store.hasResourceBundle(g, h) ? this.state[
|
|
8555
|
-
}),
|
|
8556
|
-
}), (Object.keys(
|
|
8623
|
+
const u = `${g}|${h}`;
|
|
8624
|
+
!s.reload && this.store.hasResourceBundle(g, h) ? this.state[u] = 2 : this.state[u] < 0 || (this.state[u] === 1 ? c[u] === void 0 && (c[u] = !0) : (this.state[u] = 1, a = !1, c[u] === void 0 && (c[u] = !0), l[u] === void 0 && (l[u] = !0), d[h] === void 0 && (d[h] = !0)));
|
|
8625
|
+
}), a || (r[g] = !0);
|
|
8626
|
+
}), (Object.keys(l).length || Object.keys(c).length) && this.queue.push({
|
|
8557
8627
|
pending: c,
|
|
8558
8628
|
pendingCount: Object.keys(c).length,
|
|
8559
8629
|
loaded: {},
|
|
8560
8630
|
errors: [],
|
|
8561
8631
|
callback: n
|
|
8562
8632
|
}), {
|
|
8563
|
-
toLoad: Object.keys(
|
|
8633
|
+
toLoad: Object.keys(l),
|
|
8564
8634
|
pending: Object.keys(c),
|
|
8565
8635
|
toLoadLanguages: Object.keys(r),
|
|
8566
8636
|
toLoadNamespaces: Object.keys(d)
|
|
8567
8637
|
};
|
|
8568
8638
|
}
|
|
8569
8639
|
loaded(e, t, s) {
|
|
8570
|
-
const n = e.split("|"),
|
|
8571
|
-
t && this.emit("failedLoading",
|
|
8640
|
+
const n = e.split("|"), l = n[0], c = n[1];
|
|
8641
|
+
t && this.emit("failedLoading", l, c, t), !t && s && this.store.addResourceBundle(l, c, s, void 0, void 0, {
|
|
8572
8642
|
skipCopy: !0
|
|
8573
8643
|
}), this.state[e] = t ? -1 : 2, t && s && (this.state[e] = 0);
|
|
8574
8644
|
const r = {};
|
|
8575
8645
|
this.queue.forEach((d) => {
|
|
8576
|
-
|
|
8646
|
+
V3(d.loaded, [l], c), z3(d, e), t && d.errors.push(t), d.pendingCount === 0 && !d.done && (Object.keys(d.loaded).forEach((g) => {
|
|
8577
8647
|
r[g] || (r[g] = {});
|
|
8578
|
-
const
|
|
8579
|
-
|
|
8648
|
+
const a = d.loaded[g];
|
|
8649
|
+
a.length && a.forEach((h) => {
|
|
8580
8650
|
r[g][h] === void 0 && (r[g][h] = !0);
|
|
8581
8651
|
});
|
|
8582
8652
|
}), d.done = !0, d.errors.length ? d.callback(d.errors) : d.callback());
|
|
8583
8653
|
}), this.emit("loaded", r), this.queue = this.queue.filter((d) => !d.done);
|
|
8584
8654
|
}
|
|
8585
8655
|
read(e, t, s) {
|
|
8586
|
-
let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : 0,
|
|
8656
|
+
let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : 0, l = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : this.retryTimeout, c = arguments.length > 5 ? arguments[5] : void 0;
|
|
8587
8657
|
if (!e.length) return c(null, {});
|
|
8588
8658
|
if (this.readingCalls >= this.maxParallelReads) {
|
|
8589
8659
|
this.waitingReads.push({
|
|
@@ -8591,29 +8661,29 @@ class U3 extends L1 {
|
|
|
8591
8661
|
ns: t,
|
|
8592
8662
|
fcName: s,
|
|
8593
8663
|
tried: n,
|
|
8594
|
-
wait:
|
|
8664
|
+
wait: l,
|
|
8595
8665
|
callback: c
|
|
8596
8666
|
});
|
|
8597
8667
|
return;
|
|
8598
8668
|
}
|
|
8599
8669
|
this.readingCalls++;
|
|
8600
|
-
const r = (g,
|
|
8670
|
+
const r = (g, a) => {
|
|
8601
8671
|
if (this.readingCalls--, this.waitingReads.length > 0) {
|
|
8602
8672
|
const h = this.waitingReads.shift();
|
|
8603
8673
|
this.read(h.lng, h.ns, h.fcName, h.tried, h.wait, h.callback);
|
|
8604
8674
|
}
|
|
8605
|
-
if (g &&
|
|
8675
|
+
if (g && a && n < this.maxRetries) {
|
|
8606
8676
|
setTimeout(() => {
|
|
8607
|
-
this.read.call(this, e, t, s, n + 1,
|
|
8608
|
-
},
|
|
8677
|
+
this.read.call(this, e, t, s, n + 1, l * 2, c);
|
|
8678
|
+
}, l);
|
|
8609
8679
|
return;
|
|
8610
8680
|
}
|
|
8611
|
-
c(g,
|
|
8681
|
+
c(g, a);
|
|
8612
8682
|
}, d = this.backend[s].bind(this.backend);
|
|
8613
8683
|
if (d.length === 2) {
|
|
8614
8684
|
try {
|
|
8615
8685
|
const g = d(e, t);
|
|
8616
|
-
g && typeof g.then == "function" ? g.then((
|
|
8686
|
+
g && typeof g.then == "function" ? g.then((a) => r(null, a)).catch(r) : r(null, g);
|
|
8617
8687
|
} catch (g) {
|
|
8618
8688
|
r(g);
|
|
8619
8689
|
}
|
|
@@ -8626,10 +8696,10 @@ class U3 extends L1 {
|
|
|
8626
8696
|
if (!this.backend)
|
|
8627
8697
|
return this.logger.warn("No backend was added via i18next.use. Will not load resources."), n && n();
|
|
8628
8698
|
L(e) && (e = this.languageUtils.toResolveHierarchy(e)), L(t) && (t = [t]);
|
|
8629
|
-
const
|
|
8630
|
-
if (!
|
|
8631
|
-
return
|
|
8632
|
-
|
|
8699
|
+
const l = this.queueLoad(e, t, s, n);
|
|
8700
|
+
if (!l.toLoad.length)
|
|
8701
|
+
return l.pending.length || n(), null;
|
|
8702
|
+
l.toLoad.forEach((c) => {
|
|
8633
8703
|
this.loadOne(c);
|
|
8634
8704
|
});
|
|
8635
8705
|
}
|
|
@@ -8643,12 +8713,12 @@ class U3 extends L1 {
|
|
|
8643
8713
|
}
|
|
8644
8714
|
loadOne(e) {
|
|
8645
8715
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "";
|
|
8646
|
-
const s = e.split("|"), n = s[0],
|
|
8647
|
-
this.read(n,
|
|
8648
|
-
c && this.logger.warn(`${t}loading namespace ${
|
|
8716
|
+
const s = e.split("|"), n = s[0], l = s[1];
|
|
8717
|
+
this.read(n, l, "read", void 0, void 0, (c, r) => {
|
|
8718
|
+
c && this.logger.warn(`${t}loading namespace ${l} for language ${n} failed`, c), !c && r && this.logger.log(`${t}loaded namespace ${l} for language ${n}`, r), this.loaded(e, c, r);
|
|
8649
8719
|
});
|
|
8650
8720
|
}
|
|
8651
|
-
saveMissing(e, t, s, n,
|
|
8721
|
+
saveMissing(e, t, s, n, l) {
|
|
8652
8722
|
let c = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : {}, r = arguments.length > 6 && arguments[6] !== void 0 ? arguments[6] : () => {
|
|
8653
8723
|
};
|
|
8654
8724
|
if (this.services.utils && this.services.utils.hasLoadedNamespace && !this.services.utils.hasLoadedNamespace(t)) {
|
|
@@ -8659,14 +8729,14 @@ class U3 extends L1 {
|
|
|
8659
8729
|
if (this.backend && this.backend.create) {
|
|
8660
8730
|
const d = {
|
|
8661
8731
|
...c,
|
|
8662
|
-
isUpdate:
|
|
8732
|
+
isUpdate: l
|
|
8663
8733
|
}, g = this.backend.create.bind(this.backend);
|
|
8664
8734
|
if (g.length < 6)
|
|
8665
8735
|
try {
|
|
8666
|
-
let
|
|
8667
|
-
g.length === 5 ?
|
|
8668
|
-
} catch (
|
|
8669
|
-
r(
|
|
8736
|
+
let a;
|
|
8737
|
+
g.length === 5 ? a = g(e, t, s, n, d) : a = g(e, t, s, n), a && typeof a.then == "function" ? a.then((h) => r(null, h)).catch(r) : r(null, a);
|
|
8738
|
+
} catch (a) {
|
|
8739
|
+
r(a);
|
|
8670
8740
|
}
|
|
8671
8741
|
else
|
|
8672
8742
|
g(e, t, s, n, r, d);
|
|
@@ -8732,7 +8802,7 @@ const J1 = () => ({
|
|
|
8732
8802
|
skipOnVariables: !0
|
|
8733
8803
|
}
|
|
8734
8804
|
}), q1 = (i) => (L(i.ns) && (i.ns = [i.ns]), L(i.fallbackLng) && (i.fallbackLng = [i.fallbackLng]), L(i.fallbackNS) && (i.fallbackNS = [i.fallbackNS]), i.supportedLngs && i.supportedLngs.indexOf("cimode") < 0 && (i.supportedLngs = i.supportedLngs.concat(["cimode"])), i), g1 = () => {
|
|
8735
|
-
},
|
|
8805
|
+
}, q3 = (i) => {
|
|
8736
8806
|
Object.getOwnPropertyNames(Object.getPrototypeOf(i)).forEach((t) => {
|
|
8737
8807
|
typeof i[t] == "function" && (i[t] = i[t].bind(i));
|
|
8738
8808
|
});
|
|
@@ -8742,7 +8812,7 @@ class c1 extends L1 {
|
|
|
8742
8812
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0;
|
|
8743
8813
|
if (super(), this.options = q1(e), this.services = {}, this.logger = U, this.modules = {
|
|
8744
8814
|
external: []
|
|
8745
|
-
},
|
|
8815
|
+
}, q3(this), t && !this.isInitialized && !e.isClone) {
|
|
8746
8816
|
if (!this.options.initImmediate)
|
|
8747
8817
|
return this.init(e, t), this;
|
|
8748
8818
|
setTimeout(() => {
|
|
@@ -8763,25 +8833,25 @@ class c1 extends L1 {
|
|
|
8763
8833
|
...n.interpolation,
|
|
8764
8834
|
...this.options.interpolation
|
|
8765
8835
|
}), t.keySeparator !== void 0 && (this.options.userDefinedKeySeparator = t.keySeparator), t.nsSeparator !== void 0 && (this.options.userDefinedNsSeparator = t.nsSeparator);
|
|
8766
|
-
const
|
|
8836
|
+
const l = (a) => a ? typeof a == "function" ? new a() : a : null;
|
|
8767
8837
|
if (!this.options.isClone) {
|
|
8768
|
-
this.modules.logger ? U.init(
|
|
8769
|
-
let
|
|
8770
|
-
this.modules.formatter ?
|
|
8838
|
+
this.modules.logger ? U.init(l(this.modules.logger), this.options) : U.init(null, this.options);
|
|
8839
|
+
let a;
|
|
8840
|
+
this.modules.formatter ? a = this.modules.formatter : typeof Intl < "u" && (a = U3);
|
|
8771
8841
|
const h = new Y1(this.options);
|
|
8772
8842
|
this.store = new $1(this.options.resources, this.options);
|
|
8773
|
-
const
|
|
8774
|
-
|
|
8843
|
+
const u = this.services;
|
|
8844
|
+
u.logger = U, u.resourceStore = this.store, u.languageUtils = h, u.pluralResolver = new $3(h, {
|
|
8775
8845
|
prepend: this.options.pluralSeparator,
|
|
8776
8846
|
compatibilityJSON: this.options.compatibilityJSON,
|
|
8777
8847
|
simplifyPluralSuffix: this.options.simplifyPluralSuffix
|
|
8778
|
-
}),
|
|
8848
|
+
}), a && (!this.options.interpolation.format || this.options.interpolation.format === n.interpolation.format) && (u.formatter = l(a), u.formatter.init(u, this.options), this.options.interpolation.format = u.formatter.format.bind(u.formatter)), u.interpolator = new F3(this.options), u.utils = {
|
|
8779
8849
|
hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
|
|
8780
|
-
},
|
|
8850
|
+
}, u.backendConnector = new J3(l(this.modules.backend), u.resourceStore, u, this.options), u.backendConnector.on("*", function(p) {
|
|
8781
8851
|
for (var m = arguments.length, N = new Array(m > 1 ? m - 1 : 0), k = 1; k < m; k++)
|
|
8782
8852
|
N[k - 1] = arguments[k];
|
|
8783
8853
|
e.emit(p, ...N);
|
|
8784
|
-
}), this.modules.languageDetector && (
|
|
8854
|
+
}), this.modules.languageDetector && (u.languageDetector = l(this.modules.languageDetector), u.languageDetector.init && u.languageDetector.init(u, this.options.detection, this.options)), this.modules.i18nFormat && (u.i18nFormat = l(this.modules.i18nFormat), u.i18nFormat.init && u.i18nFormat.init(this)), this.translator = new m1(this.services, this.options), this.translator.on("*", function(p) {
|
|
8785
8855
|
for (var m = arguments.length, N = new Array(m > 1 ? m - 1 : 0), k = 1; k < m; k++)
|
|
8786
8856
|
N[k - 1] = arguments[k];
|
|
8787
8857
|
e.emit(p, ...N);
|
|
@@ -8790,24 +8860,24 @@ class c1 extends L1 {
|
|
|
8790
8860
|
});
|
|
8791
8861
|
}
|
|
8792
8862
|
if (this.format = this.options.interpolation.format, s || (s = g1), this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
|
|
8793
|
-
const
|
|
8794
|
-
|
|
8863
|
+
const a = this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);
|
|
8864
|
+
a.length > 0 && a[0] !== "dev" && (this.options.lng = a[0]);
|
|
8795
8865
|
}
|
|
8796
|
-
!this.services.languageDetector && !this.options.lng && this.logger.warn("init: no languageDetector is used and no lng is defined"), ["getResource", "hasResourceBundle", "getResourceBundle", "getDataByLanguage"].forEach((
|
|
8797
|
-
this[
|
|
8798
|
-
return e.store[
|
|
8866
|
+
!this.services.languageDetector && !this.options.lng && this.logger.warn("init: no languageDetector is used and no lng is defined"), ["getResource", "hasResourceBundle", "getResourceBundle", "getDataByLanguage"].forEach((a) => {
|
|
8867
|
+
this[a] = function() {
|
|
8868
|
+
return e.store[a](...arguments);
|
|
8799
8869
|
};
|
|
8800
|
-
}), ["addResource", "addResources", "addResourceBundle", "removeResourceBundle"].forEach((
|
|
8801
|
-
this[
|
|
8802
|
-
return e.store[
|
|
8870
|
+
}), ["addResource", "addResources", "addResourceBundle", "removeResourceBundle"].forEach((a) => {
|
|
8871
|
+
this[a] = function() {
|
|
8872
|
+
return e.store[a](...arguments), e;
|
|
8803
8873
|
};
|
|
8804
8874
|
});
|
|
8805
|
-
const d =
|
|
8806
|
-
const
|
|
8807
|
-
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), d.resolve(
|
|
8875
|
+
const d = l1(), g = () => {
|
|
8876
|
+
const a = (h, u) => {
|
|
8877
|
+
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), d.resolve(u), s(h, u);
|
|
8808
8878
|
};
|
|
8809
|
-
if (this.languages && this.options.compatibilityAPI !== "v1" && !this.isInitialized) return
|
|
8810
|
-
this.changeLanguage(this.options.lng,
|
|
8879
|
+
if (this.languages && this.options.compatibilityAPI !== "v1" && !this.isInitialized) return a(null, this.t.bind(this));
|
|
8880
|
+
this.changeLanguage(this.options.lng, a);
|
|
8811
8881
|
};
|
|
8812
8882
|
return this.options.resources || !this.options.initImmediate ? g() : setTimeout(g, 0), d;
|
|
8813
8883
|
}
|
|
@@ -8816,28 +8886,28 @@ class c1 extends L1 {
|
|
|
8816
8886
|
const n = L(e) ? e : this.language;
|
|
8817
8887
|
if (typeof e == "function" && (s = e), !this.options.resources || this.options.partialBundledLanguages) {
|
|
8818
8888
|
if (n && n.toLowerCase() === "cimode" && (!this.options.preload || this.options.preload.length === 0)) return s();
|
|
8819
|
-
const
|
|
8889
|
+
const l = [], c = (r) => {
|
|
8820
8890
|
if (!r || r === "cimode") return;
|
|
8821
8891
|
this.services.languageUtils.toResolveHierarchy(r).forEach((g) => {
|
|
8822
|
-
g !== "cimode" &&
|
|
8892
|
+
g !== "cimode" && l.indexOf(g) < 0 && l.push(g);
|
|
8823
8893
|
});
|
|
8824
8894
|
};
|
|
8825
|
-
n ? c(n) : this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((d) => c(d)), this.options.preload && this.options.preload.forEach((r) => c(r)), this.services.backendConnector.load(
|
|
8895
|
+
n ? c(n) : this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((d) => c(d)), this.options.preload && this.options.preload.forEach((r) => c(r)), this.services.backendConnector.load(l, this.options.ns, (r) => {
|
|
8826
8896
|
!r && !this.resolvedLanguage && this.language && this.setResolvedLanguage(this.language), s(r);
|
|
8827
8897
|
});
|
|
8828
8898
|
} else
|
|
8829
8899
|
s(null);
|
|
8830
8900
|
}
|
|
8831
8901
|
reloadResources(e, t, s) {
|
|
8832
|
-
const n =
|
|
8833
|
-
return typeof e == "function" && (s = e, e = void 0), typeof t == "function" && (s = t, t = void 0), e || (e = this.languages), t || (t = this.options.ns), s || (s = g1), this.services.backendConnector.reload(e, t, (
|
|
8834
|
-
n.resolve(), s(
|
|
8902
|
+
const n = l1();
|
|
8903
|
+
return typeof e == "function" && (s = e, e = void 0), typeof t == "function" && (s = t, t = void 0), e || (e = this.languages), t || (t = this.options.ns), s || (s = g1), this.services.backendConnector.reload(e, t, (l) => {
|
|
8904
|
+
n.resolve(), s(l);
|
|
8835
8905
|
}), n;
|
|
8836
8906
|
}
|
|
8837
8907
|
use(e) {
|
|
8838
8908
|
if (!e) throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");
|
|
8839
8909
|
if (!e.type) throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");
|
|
8840
|
-
return e.type === "backend" && (this.modules.backend = e), (e.type === "logger" || e.log && e.warn && e.error) && (this.modules.logger = e), e.type === "languageDetector" && (this.modules.languageDetector = e), e.type === "i18nFormat" && (this.modules.i18nFormat = e), e.type === "postProcessor" &&
|
|
8910
|
+
return e.type === "backend" && (this.modules.backend = e), (e.type === "logger" || e.log && e.warn && e.error) && (this.modules.logger = e), e.type === "languageDetector" && (this.modules.languageDetector = e), e.type === "i18nFormat" && (this.modules.i18nFormat = e), e.type === "postProcessor" && le.addPostProcessor(e), e.type === "formatter" && (this.modules.formatter = e), e.type === "3rdParty" && this.modules.external.push(e), this;
|
|
8841
8911
|
}
|
|
8842
8912
|
setResolvedLanguage(e) {
|
|
8843
8913
|
if (!(!e || !this.languages) && !(["cimode", "dev"].indexOf(e) > -1))
|
|
@@ -8852,12 +8922,12 @@ class c1 extends L1 {
|
|
|
8852
8922
|
changeLanguage(e, t) {
|
|
8853
8923
|
var s = this;
|
|
8854
8924
|
this.isLanguageChangingTo = e;
|
|
8855
|
-
const n =
|
|
8925
|
+
const n = l1();
|
|
8856
8926
|
this.emit("languageChanging", e);
|
|
8857
|
-
const
|
|
8927
|
+
const l = (d) => {
|
|
8858
8928
|
this.language = d, this.languages = this.services.languageUtils.toResolveHierarchy(d), this.resolvedLanguage = void 0, this.setResolvedLanguage(d);
|
|
8859
8929
|
}, c = (d, g) => {
|
|
8860
|
-
g ? (
|
|
8930
|
+
g ? (l(g), this.translator.changeLanguage(g), this.isLanguageChangingTo = void 0, this.emit("languageChanged", g), this.logger.log("languageChanged", g)) : this.isLanguageChangingTo = void 0, n.resolve(function() {
|
|
8861
8931
|
return s.t(...arguments);
|
|
8862
8932
|
}), t && t(d, function() {
|
|
8863
8933
|
return s.t(...arguments);
|
|
@@ -8865,30 +8935,30 @@ class c1 extends L1 {
|
|
|
8865
8935
|
}, r = (d) => {
|
|
8866
8936
|
!e && !d && this.services.languageDetector && (d = []);
|
|
8867
8937
|
const g = L(d) ? d : this.services.languageUtils.getBestMatchFromCodes(d);
|
|
8868
|
-
g && (this.language ||
|
|
8869
|
-
c(
|
|
8938
|
+
g && (this.language || l(g), this.translator.language || this.translator.changeLanguage(g), this.services.languageDetector && this.services.languageDetector.cacheUserLanguage && this.services.languageDetector.cacheUserLanguage(g)), this.loadResources(g, (a) => {
|
|
8939
|
+
c(a, g);
|
|
8870
8940
|
});
|
|
8871
8941
|
};
|
|
8872
8942
|
return !e && this.services.languageDetector && !this.services.languageDetector.async ? r(this.services.languageDetector.detect()) : !e && this.services.languageDetector && this.services.languageDetector.async ? this.services.languageDetector.detect.length === 0 ? this.services.languageDetector.detect().then(r) : this.services.languageDetector.detect(r) : r(e), n;
|
|
8873
8943
|
}
|
|
8874
8944
|
getFixedT(e, t, s) {
|
|
8875
8945
|
var n = this;
|
|
8876
|
-
const
|
|
8946
|
+
const l = function(c, r) {
|
|
8877
8947
|
let d;
|
|
8878
8948
|
if (typeof r != "object") {
|
|
8879
|
-
for (var g = arguments.length,
|
|
8880
|
-
|
|
8881
|
-
d = n.options.overloadTranslationOptionHandler([c, r].concat(
|
|
8949
|
+
for (var g = arguments.length, a = new Array(g > 2 ? g - 2 : 0), h = 2; h < g; h++)
|
|
8950
|
+
a[h - 2] = arguments[h];
|
|
8951
|
+
d = n.options.overloadTranslationOptionHandler([c, r].concat(a));
|
|
8882
8952
|
} else
|
|
8883
8953
|
d = {
|
|
8884
8954
|
...r
|
|
8885
8955
|
};
|
|
8886
|
-
d.lng = d.lng ||
|
|
8887
|
-
const
|
|
8956
|
+
d.lng = d.lng || l.lng, d.lngs = d.lngs || l.lngs, d.ns = d.ns || l.ns, d.keyPrefix !== "" && (d.keyPrefix = d.keyPrefix || s || l.keyPrefix);
|
|
8957
|
+
const u = n.options.keySeparator || ".";
|
|
8888
8958
|
let p;
|
|
8889
|
-
return d.keyPrefix && Array.isArray(c) ? p = c.map((m) => `${d.keyPrefix}${
|
|
8959
|
+
return d.keyPrefix && Array.isArray(c) ? p = c.map((m) => `${d.keyPrefix}${u}${m}`) : p = d.keyPrefix ? `${d.keyPrefix}${u}${c}` : c, n.t(p, d);
|
|
8890
8960
|
};
|
|
8891
|
-
return L(e) ?
|
|
8961
|
+
return L(e) ? l.lng = e : l.lngs = e, l.ns = t, l.keyPrefix = s, l;
|
|
8892
8962
|
}
|
|
8893
8963
|
t() {
|
|
8894
8964
|
return this.translator && this.translator.translate(...arguments);
|
|
@@ -8905,7 +8975,7 @@ class c1 extends L1 {
|
|
|
8905
8975
|
return this.logger.warn("hasLoadedNamespace: i18next was not initialized", this.languages), !1;
|
|
8906
8976
|
if (!this.languages || !this.languages.length)
|
|
8907
8977
|
return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty", this.languages), !1;
|
|
8908
|
-
const s = t.lng || this.resolvedLanguage || this.languages[0], n = this.options ? this.options.fallbackLng : !1,
|
|
8978
|
+
const s = t.lng || this.resolvedLanguage || this.languages[0], n = this.options ? this.options.fallbackLng : !1, l = this.languages[this.languages.length - 1];
|
|
8909
8979
|
if (s.toLowerCase() === "cimode") return !0;
|
|
8910
8980
|
const c = (r, d) => {
|
|
8911
8981
|
const g = this.services.backendConnector.state[`${r}|${d}`];
|
|
@@ -8915,10 +8985,10 @@ class c1 extends L1 {
|
|
|
8915
8985
|
const r = t.precheck(this, c);
|
|
8916
8986
|
if (r !== void 0) return r;
|
|
8917
8987
|
}
|
|
8918
|
-
return !!(this.hasResourceBundle(s, e) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages || c(s, e) && (!n || c(
|
|
8988
|
+
return !!(this.hasResourceBundle(s, e) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages || c(s, e) && (!n || c(l, e)));
|
|
8919
8989
|
}
|
|
8920
8990
|
loadNamespaces(e, t) {
|
|
8921
|
-
const s =
|
|
8991
|
+
const s = l1();
|
|
8922
8992
|
return this.options.ns ? (L(e) && (e = [e]), e.forEach((n) => {
|
|
8923
8993
|
this.options.ns.indexOf(n) < 0 && this.options.ns.push(n);
|
|
8924
8994
|
}), this.loadResources((n) => {
|
|
@@ -8926,10 +8996,10 @@ class c1 extends L1 {
|
|
|
8926
8996
|
}), s) : (t && t(), Promise.resolve());
|
|
8927
8997
|
}
|
|
8928
8998
|
loadLanguages(e, t) {
|
|
8929
|
-
const s =
|
|
8999
|
+
const s = l1();
|
|
8930
9000
|
L(e) && (e = [e]);
|
|
8931
|
-
const n = this.options.preload || [],
|
|
8932
|
-
return
|
|
9001
|
+
const n = this.options.preload || [], l = e.filter((c) => n.indexOf(c) < 0 && this.services.languageUtils.isSupportedCode(c));
|
|
9002
|
+
return l.length ? (this.options.preload = n.concat(l), this.loadResources((c) => {
|
|
8933
9003
|
s.resolve(), t && t(c);
|
|
8934
9004
|
}), s) : (t && t(), Promise.resolve());
|
|
8935
9005
|
}
|
|
@@ -8950,20 +9020,20 @@ class c1 extends L1 {
|
|
|
8950
9020
|
...this.options,
|
|
8951
9021
|
...e,
|
|
8952
9022
|
isClone: !0
|
|
8953
|
-
},
|
|
8954
|
-
return (e.debug !== void 0 || e.prefix !== void 0) && (
|
|
8955
|
-
|
|
8956
|
-
}),
|
|
9023
|
+
}, l = new c1(n);
|
|
9024
|
+
return (e.debug !== void 0 || e.prefix !== void 0) && (l.logger = l.logger.clone(e)), ["store", "services", "language"].forEach((r) => {
|
|
9025
|
+
l[r] = this[r];
|
|
9026
|
+
}), l.services = {
|
|
8957
9027
|
...this.services
|
|
8958
|
-
},
|
|
8959
|
-
hasLoadedNamespace:
|
|
8960
|
-
}, s && (
|
|
8961
|
-
for (var d = arguments.length, g = new Array(d > 1 ? d - 1 : 0),
|
|
8962
|
-
g[
|
|
8963
|
-
|
|
8964
|
-
}),
|
|
8965
|
-
hasLoadedNamespace:
|
|
8966
|
-
},
|
|
9028
|
+
}, l.services.utils = {
|
|
9029
|
+
hasLoadedNamespace: l.hasLoadedNamespace.bind(l)
|
|
9030
|
+
}, s && (l.store = new $1(this.store.data, n), l.services.resourceStore = l.store), l.translator = new m1(l.services, n), l.translator.on("*", function(r) {
|
|
9031
|
+
for (var d = arguments.length, g = new Array(d > 1 ? d - 1 : 0), a = 1; a < d; a++)
|
|
9032
|
+
g[a - 1] = arguments[a];
|
|
9033
|
+
l.emit(r, ...g);
|
|
9034
|
+
}), l.init(n, t), l.translator.options = n, l.translator.backendConnector.services.utils = {
|
|
9035
|
+
hasLoadedNamespace: l.hasLoadedNamespace.bind(l)
|
|
9036
|
+
}, l;
|
|
8967
9037
|
}
|
|
8968
9038
|
toJSON() {
|
|
8969
9039
|
return {
|
|
@@ -8991,39 +9061,39 @@ T.setDefaultNamespace;
|
|
|
8991
9061
|
T.hasLoadedNamespace;
|
|
8992
9062
|
T.loadNamespaces;
|
|
8993
9063
|
T.loadLanguages;
|
|
8994
|
-
const
|
|
8995
|
-
archived:
|
|
8996
|
-
deleted:
|
|
8997
|
-
},
|
|
8998
|
-
archived:
|
|
8999
|
-
deleted:
|
|
9064
|
+
const Q3 = "Archived", X3 = "Deleted", e0 = {
|
|
9065
|
+
archived: Q3,
|
|
9066
|
+
deleted: X3
|
|
9067
|
+
}, t0 = "Заархивирован", i0 = "Удалён", s0 = {
|
|
9068
|
+
archived: t0,
|
|
9069
|
+
deleted: i0
|
|
9000
9070
|
};
|
|
9001
|
-
T.use(
|
|
9071
|
+
T.use(x3).init({
|
|
9002
9072
|
defaultNS: "common",
|
|
9003
9073
|
lng: "en",
|
|
9004
9074
|
resources: {
|
|
9005
9075
|
en: {
|
|
9006
|
-
common:
|
|
9076
|
+
common: e0
|
|
9007
9077
|
},
|
|
9008
9078
|
ru: {
|
|
9009
|
-
common:
|
|
9079
|
+
common: s0
|
|
9010
9080
|
}
|
|
9011
9081
|
}
|
|
9012
9082
|
});
|
|
9013
|
-
const
|
|
9083
|
+
const c0 = k1(
|
|
9014
9084
|
({
|
|
9015
9085
|
fetchParams: i,
|
|
9016
9086
|
mode: e = void 0,
|
|
9017
9087
|
placeholder: t,
|
|
9018
9088
|
disabled: s,
|
|
9019
9089
|
value: n,
|
|
9020
|
-
onChange:
|
|
9090
|
+
onChange: l,
|
|
9021
9091
|
onError: c,
|
|
9022
9092
|
allowEmpty: r = !1,
|
|
9023
9093
|
showAvatar: d = !1
|
|
9024
9094
|
}, g) => {
|
|
9025
|
-
const { axiosPeople:
|
|
9026
|
-
if (!
|
|
9095
|
+
const { axiosPeople: a, locale: h } = e1(Ne), { t: u } = E3("common", { lng: h }), [p, m] = W([]), [N, k] = W(!0), E = X(p);
|
|
9096
|
+
if (!a)
|
|
9027
9097
|
throw new Error(
|
|
9028
9098
|
`UserSelect requires "axiosPeople" to fetch users.
|
|
9029
9099
|
Please provide it via SNMTUiContext.`
|
|
@@ -9031,9 +9101,9 @@ const l0 = k1(
|
|
|
9031
9101
|
const R = D(
|
|
9032
9102
|
(w) => {
|
|
9033
9103
|
let H = "";
|
|
9034
|
-
return w.deletedAt && (H += `[${
|
|
9104
|
+
return w.deletedAt && (H += `[${u("deleted")}] `), w.status === u1.ARCHIVED && (H += `[${u("archived")}] `), `${H}${w.firstName} ${w.lastName}`;
|
|
9035
9105
|
},
|
|
9036
|
-
[
|
|
9106
|
+
[u]
|
|
9037
9107
|
), _ = D(
|
|
9038
9108
|
async ({
|
|
9039
9109
|
offset: w,
|
|
@@ -9042,7 +9112,7 @@ const l0 = k1(
|
|
|
9042
9112
|
}) => {
|
|
9043
9113
|
var A, V, I;
|
|
9044
9114
|
try {
|
|
9045
|
-
const P = await
|
|
9115
|
+
const P = await a.post("v1/users/search", {
|
|
9046
9116
|
offset: w,
|
|
9047
9117
|
limit: H,
|
|
9048
9118
|
search: G,
|
|
@@ -9067,7 +9137,7 @@ const l0 = k1(
|
|
|
9067
9137
|
};
|
|
9068
9138
|
}
|
|
9069
9139
|
},
|
|
9070
|
-
[
|
|
9140
|
+
[a, i, R, d, c]
|
|
9071
9141
|
), f = D(
|
|
9072
9142
|
async (w) => {
|
|
9073
9143
|
var H, G, A;
|
|
@@ -9076,10 +9146,10 @@ const l0 = k1(
|
|
|
9076
9146
|
(B) => !E.current.some(($) => $.value === B)
|
|
9077
9147
|
);
|
|
9078
9148
|
let I = [];
|
|
9079
|
-
V.length && (I = (await
|
|
9149
|
+
V.length && (I = (await a.post("v1/users/search", {
|
|
9080
9150
|
filters: {
|
|
9081
9151
|
id: V,
|
|
9082
|
-
status: [
|
|
9152
|
+
status: [u1.ACTIVE, u1.ARCHIVED]
|
|
9083
9153
|
}
|
|
9084
9154
|
})).data.data);
|
|
9085
9155
|
const P = I.map((B) => ({
|
|
@@ -9095,7 +9165,7 @@ const l0 = k1(
|
|
|
9095
9165
|
}), [];
|
|
9096
9166
|
}
|
|
9097
9167
|
},
|
|
9098
|
-
[
|
|
9168
|
+
[a, R, c, d]
|
|
9099
9169
|
);
|
|
9100
9170
|
K(() => {
|
|
9101
9171
|
E.current = p;
|
|
@@ -9130,30 +9200,30 @@ const l0 = k1(
|
|
|
9130
9200
|
[r, _]
|
|
9131
9201
|
);
|
|
9132
9202
|
if (N)
|
|
9133
|
-
return /* @__PURE__ */ o(
|
|
9203
|
+
return /* @__PURE__ */ o(c3, {});
|
|
9134
9204
|
const y = {
|
|
9135
9205
|
ref: g,
|
|
9136
9206
|
placeholder: t,
|
|
9137
9207
|
disabled: s
|
|
9138
9208
|
};
|
|
9139
9209
|
return e ? /* @__PURE__ */ o(
|
|
9140
|
-
|
|
9210
|
+
Z1,
|
|
9141
9211
|
{
|
|
9142
9212
|
...y,
|
|
9143
9213
|
mode: e,
|
|
9144
9214
|
value: n,
|
|
9145
|
-
onChange:
|
|
9215
|
+
onChange: l,
|
|
9146
9216
|
loadOptions: x,
|
|
9147
9217
|
loadOnClosedState: !0,
|
|
9148
9218
|
extraOptions: p
|
|
9149
9219
|
}
|
|
9150
9220
|
) : /* @__PURE__ */ o(
|
|
9151
|
-
|
|
9221
|
+
Z1,
|
|
9152
9222
|
{
|
|
9153
9223
|
...y,
|
|
9154
9224
|
value: n,
|
|
9155
9225
|
mode: void 0,
|
|
9156
|
-
onChange:
|
|
9226
|
+
onChange: l,
|
|
9157
9227
|
loadOptions: x,
|
|
9158
9228
|
loadOnClosedState: !0,
|
|
9159
9229
|
extraOptions: p
|
|
@@ -9162,5 +9232,5 @@ const l0 = k1(
|
|
|
9162
9232
|
}
|
|
9163
9233
|
);
|
|
9164
9234
|
export {
|
|
9165
|
-
|
|
9235
|
+
c0 as UserSelect
|
|
9166
9236
|
};
|