@snmt-react-ui/user-select 2.1.2 → 2.1.3
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 +825 -804
- package/package.json +4 -4
package/dist/user-select.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
1
|
+
var ee = Object.defineProperty;
|
|
2
|
+
var te = (i, e, t) => e in i ? ee(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t;
|
|
3
|
+
var R1 = (i, e, t) => te(i, typeof e != "symbol" ? e + "" : e, t);
|
|
4
4
|
import "./index.css";
|
|
5
5
|
import { jsx as r, jsxs as u, Fragment as q } from "react/jsx-runtime";
|
|
6
|
-
import { createContext as
|
|
7
|
-
import { Select as
|
|
8
|
-
import { SNMTUiContext as
|
|
9
|
-
const
|
|
6
|
+
import { createContext as n1, forwardRef as r1, useState as I, useRef as p1, useEffect as Z, useCallback as $, useContext as o1 } from "react";
|
|
7
|
+
import { Select as ie, Flex as se, Avatar as ne, Checkbox as re, Typography as T1, Tag as G1, Popover as oe } from "antd";
|
|
8
|
+
import { SNMTUiContext as le } from "@snmt-react-ui/core";
|
|
9
|
+
const h1 = ({
|
|
10
10
|
children: i,
|
|
11
11
|
direction: e = "row",
|
|
12
12
|
flexWrap: t = "nowrap",
|
|
@@ -16,7 +16,7 @@ const a1 = ({
|
|
|
16
16
|
gap: c,
|
|
17
17
|
padding: o
|
|
18
18
|
}) => /* @__PURE__ */ r(
|
|
19
|
-
|
|
19
|
+
se,
|
|
20
20
|
{
|
|
21
21
|
className: `snmt-flex${t === "inherit" ? " inherit" : ""}`,
|
|
22
22
|
vertical: e === "column",
|
|
@@ -28,10 +28,10 @@ const a1 = ({
|
|
|
28
28
|
style: { padding: o },
|
|
29
29
|
children: i
|
|
30
30
|
}
|
|
31
|
-
),
|
|
31
|
+
), ae = ({ shape: i = "circle", size: e = 32, children: t, ...s }) => {
|
|
32
32
|
const n = typeof s.src == "string";
|
|
33
33
|
return /* @__PURE__ */ r(
|
|
34
|
-
|
|
34
|
+
ne,
|
|
35
35
|
{
|
|
36
36
|
className: `snmt-avatar ${n ? "image" : ""}`,
|
|
37
37
|
shape: i,
|
|
@@ -42,12 +42,12 @@ const a1 = ({
|
|
|
42
42
|
);
|
|
43
43
|
};
|
|
44
44
|
var Q = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_1 = "var(--grey-light-1)", i.GREY_LIGHT_2 = "var(--grey-light-2)", i.GREY_LIGHT_3 = "var(--grey-light-3)", i.GREY_LIGHT_4 = "var(--grey-light-4)", i.GREY_DARK_1 = "var(--grey-dark-1)", i.GREY_DARK_2 = "var(--grey-dark-2)", i.GREY_DARK_3 = "var(--grey-dark-3)", i.GREY_DARK_4 = "var(--grey-dark-4)", i.GREY_DARK_5 = "var(--grey-dark-5)", i.BLUE_PRIMARY = "var(--blue-primary)", i.BLUE_HOVER = "var(--blue-hover)", i.BLUE_LIGHT_1 = "var(--blue-light-1)", i.BLUE_LIGHT_2 = "var(--blue-light-2)", i.BLUE_LIGHT_3 = "var(--blue-light-3)", i.BLUE_LIGHT_4 = "var(--blue-light-4)", i.BLUE_DARK_1 = "var(--blue-dark-1)", i.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))(Q || {});
|
|
45
|
-
const
|
|
45
|
+
const K1 = n1({
|
|
46
46
|
locale: "en",
|
|
47
47
|
theme: "light"
|
|
48
48
|
});
|
|
49
|
-
|
|
50
|
-
const
|
|
49
|
+
K1.Provider;
|
|
50
|
+
const he = ({
|
|
51
51
|
checked: i = !0,
|
|
52
52
|
indeterminate: e = !1,
|
|
53
53
|
children: t,
|
|
@@ -59,9 +59,9 @@ const ae = ({
|
|
|
59
59
|
Z(() => {
|
|
60
60
|
o(i), g(e);
|
|
61
61
|
}, [i, e]);
|
|
62
|
-
const { theme: a } =
|
|
62
|
+
const { theme: a } = o1(K1);
|
|
63
63
|
return /* @__PURE__ */ r(
|
|
64
|
-
|
|
64
|
+
re,
|
|
65
65
|
{
|
|
66
66
|
className: `snmt-checkbox snmt-checkbox-${a}`,
|
|
67
67
|
checked: c,
|
|
@@ -75,12 +75,12 @@ const ae = ({
|
|
|
75
75
|
);
|
|
76
76
|
};
|
|
77
77
|
var L = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_1 = "var(--grey-light-1)", i.GREY_LIGHT_2 = "var(--grey-light-2)", i.GREY_LIGHT_3 = "var(--grey-light-3)", i.GREY_LIGHT_4 = "var(--grey-light-4)", i.GREY_DARK_1 = "var(--grey-dark-1)", i.GREY_DARK_2 = "var(--grey-dark-2)", i.GREY_DARK_3 = "var(--grey-dark-3)", i.GREY_DARK_4 = "var(--grey-dark-4)", i.GREY_DARK_5 = "var(--grey-dark-5)", i.BLUE_PRIMARY = "var(--blue-primary)", i.BLUE_HOVER = "var(--blue-hover)", i.BLUE_LIGHT_1 = "var(--blue-light-1)", i.BLUE_LIGHT_2 = "var(--blue-light-2)", i.BLUE_LIGHT_3 = "var(--blue-light-3)", i.BLUE_LIGHT_4 = "var(--blue-light-4)", i.BLUE_DARK_1 = "var(--blue-dark-1)", i.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))(L || {});
|
|
78
|
-
const
|
|
78
|
+
const P1 = n1({
|
|
79
79
|
locale: "en",
|
|
80
80
|
theme: "light"
|
|
81
81
|
});
|
|
82
|
-
|
|
83
|
-
const
|
|
82
|
+
P1.Provider;
|
|
83
|
+
const ce = ({
|
|
84
84
|
width: i = 20,
|
|
85
85
|
height: e = 20,
|
|
86
86
|
color: t = "#001E52",
|
|
@@ -107,7 +107,7 @@ const he = ({
|
|
|
107
107
|
}
|
|
108
108
|
)
|
|
109
109
|
}
|
|
110
|
-
),
|
|
110
|
+
), de = ({
|
|
111
111
|
width: i = 20,
|
|
112
112
|
height: e = 20,
|
|
113
113
|
color: t = "#001E52",
|
|
@@ -134,7 +134,7 @@ const he = ({
|
|
|
134
134
|
}
|
|
135
135
|
)
|
|
136
136
|
}
|
|
137
|
-
),
|
|
137
|
+
), ge = ({
|
|
138
138
|
width: i = 16,
|
|
139
139
|
height: e = 16,
|
|
140
140
|
color: t = "#001E52",
|
|
@@ -162,7 +162,7 @@ const he = ({
|
|
|
162
162
|
)
|
|
163
163
|
]
|
|
164
164
|
}
|
|
165
|
-
),
|
|
165
|
+
), ue = ({
|
|
166
166
|
width: i = 20,
|
|
167
167
|
height: e = 20,
|
|
168
168
|
color: t = "#001E52",
|
|
@@ -197,7 +197,7 @@ const he = ({
|
|
|
197
197
|
)
|
|
198
198
|
]
|
|
199
199
|
}
|
|
200
|
-
),
|
|
200
|
+
), Ce = ({
|
|
201
201
|
width: i = 18,
|
|
202
202
|
height: e = 18,
|
|
203
203
|
color: t = "#001E52",
|
|
@@ -236,7 +236,7 @@ const he = ({
|
|
|
236
236
|
)
|
|
237
237
|
]
|
|
238
238
|
}
|
|
239
|
-
),
|
|
239
|
+
), pe = ({
|
|
240
240
|
width: i = 20,
|
|
241
241
|
height: e = 20,
|
|
242
242
|
color: t = "#001E52",
|
|
@@ -262,7 +262,7 @@ const he = ({
|
|
|
262
262
|
}
|
|
263
263
|
)
|
|
264
264
|
}
|
|
265
|
-
),
|
|
265
|
+
), fe = ({
|
|
266
266
|
width: i = 20,
|
|
267
267
|
height: e = 20,
|
|
268
268
|
color: t = "#001E52",
|
|
@@ -283,7 +283,7 @@ const he = ({
|
|
|
283
283
|
/* @__PURE__ */ r("path", { d: "M16 4L4 16", stroke: t, strokeWidth: "1.5", strokeLinecap: "round" })
|
|
284
284
|
]
|
|
285
285
|
}
|
|
286
|
-
),
|
|
286
|
+
), we = ({
|
|
287
287
|
width: i = 20,
|
|
288
288
|
height: e = 20,
|
|
289
289
|
color: t = "#001E52",
|
|
@@ -315,7 +315,7 @@ const he = ({
|
|
|
315
315
|
)
|
|
316
316
|
]
|
|
317
317
|
}
|
|
318
|
-
),
|
|
318
|
+
), me = ({
|
|
319
319
|
width: i = 20,
|
|
320
320
|
height: e = 20,
|
|
321
321
|
color: t = "#001E52",
|
|
@@ -369,7 +369,7 @@ const he = ({
|
|
|
369
369
|
)
|
|
370
370
|
]
|
|
371
371
|
}
|
|
372
|
-
),
|
|
372
|
+
), ke = ({
|
|
373
373
|
width: i = 20,
|
|
374
374
|
height: e = 20,
|
|
375
375
|
color: t = "#001E52",
|
|
@@ -408,7 +408,7 @@ const he = ({
|
|
|
408
408
|
/* @__PURE__ */ r("path", { d: "M3 12L17 12", stroke: t, strokeWidth: "2", strokeLinecap: "round" })
|
|
409
409
|
]
|
|
410
410
|
}
|
|
411
|
-
),
|
|
411
|
+
), Le = ({
|
|
412
412
|
width: i = 16,
|
|
413
413
|
height: e = 12,
|
|
414
414
|
color: t = "#001E52",
|
|
@@ -457,7 +457,7 @@ const he = ({
|
|
|
457
457
|
)
|
|
458
458
|
] })
|
|
459
459
|
}
|
|
460
|
-
),
|
|
460
|
+
), ve = ({
|
|
461
461
|
width: i = 16,
|
|
462
462
|
height: e = 16,
|
|
463
463
|
color: t = "#001E52",
|
|
@@ -491,7 +491,7 @@ const he = ({
|
|
|
491
491
|
)
|
|
492
492
|
]
|
|
493
493
|
}
|
|
494
|
-
),
|
|
494
|
+
), Ne = ({
|
|
495
495
|
width: i = 10,
|
|
496
496
|
height: e = 10,
|
|
497
497
|
color: t = "#001E52",
|
|
@@ -530,7 +530,7 @@ const he = ({
|
|
|
530
530
|
)
|
|
531
531
|
] })
|
|
532
532
|
}
|
|
533
|
-
),
|
|
533
|
+
), xe = ({
|
|
534
534
|
width: i = 16,
|
|
535
535
|
height: e = 16,
|
|
536
536
|
color: t = "#001E52",
|
|
@@ -566,7 +566,7 @@ const he = ({
|
|
|
566
566
|
)
|
|
567
567
|
]
|
|
568
568
|
}
|
|
569
|
-
),
|
|
569
|
+
), Re = ({
|
|
570
570
|
width: i = 11,
|
|
571
571
|
height: e = 32,
|
|
572
572
|
color: t = "#001E52",
|
|
@@ -604,7 +604,7 @@ const he = ({
|
|
|
604
604
|
/* @__PURE__ */ r("circle", { cx: "3", cy: "3", r: "3", fill: t })
|
|
605
605
|
]
|
|
606
606
|
}
|
|
607
|
-
),
|
|
607
|
+
), Me = ({
|
|
608
608
|
width: i = 20,
|
|
609
609
|
height: e = 20,
|
|
610
610
|
color: t = "#001E52",
|
|
@@ -651,7 +651,7 @@ const he = ({
|
|
|
651
651
|
)
|
|
652
652
|
]
|
|
653
653
|
}
|
|
654
|
-
),
|
|
654
|
+
), ye = ({
|
|
655
655
|
width: i = 20,
|
|
656
656
|
height: e = 20,
|
|
657
657
|
color: t = "#001E52",
|
|
@@ -684,7 +684,7 @@ const he = ({
|
|
|
684
684
|
)
|
|
685
685
|
]
|
|
686
686
|
}
|
|
687
|
-
),
|
|
687
|
+
), be = ({
|
|
688
688
|
width: i = 20,
|
|
689
689
|
height: e = 20,
|
|
690
690
|
color: t = "#001E52",
|
|
@@ -731,7 +731,7 @@ const he = ({
|
|
|
731
731
|
)
|
|
732
732
|
]
|
|
733
733
|
}
|
|
734
|
-
),
|
|
734
|
+
), Ee = ({
|
|
735
735
|
width: i = 20,
|
|
736
736
|
height: e = 20,
|
|
737
737
|
color: t = "#001E52",
|
|
@@ -764,7 +764,7 @@ const he = ({
|
|
|
764
764
|
)
|
|
765
765
|
]
|
|
766
766
|
}
|
|
767
|
-
),
|
|
767
|
+
), Ve = ({
|
|
768
768
|
width: i = 18,
|
|
769
769
|
height: e = 16,
|
|
770
770
|
color: t = "#001E52",
|
|
@@ -803,7 +803,7 @@ const he = ({
|
|
|
803
803
|
)
|
|
804
804
|
]
|
|
805
805
|
}
|
|
806
|
-
),
|
|
806
|
+
), _e = ({
|
|
807
807
|
width: i = 20,
|
|
808
808
|
height: e = 20,
|
|
809
809
|
color: t = "#001E52",
|
|
@@ -836,7 +836,7 @@ const he = ({
|
|
|
836
836
|
)
|
|
837
837
|
]
|
|
838
838
|
}
|
|
839
|
-
),
|
|
839
|
+
), He = ({
|
|
840
840
|
width: i = 20,
|
|
841
841
|
height: e = 20,
|
|
842
842
|
color: t = "#001E52",
|
|
@@ -860,7 +860,7 @@ const he = ({
|
|
|
860
860
|
}
|
|
861
861
|
)
|
|
862
862
|
}
|
|
863
|
-
),
|
|
863
|
+
), Ie = ({
|
|
864
864
|
width: i = 20,
|
|
865
865
|
height: e = 20,
|
|
866
866
|
color: t = "#001E52",
|
|
@@ -907,7 +907,7 @@ const he = ({
|
|
|
907
907
|
)
|
|
908
908
|
]
|
|
909
909
|
}
|
|
910
|
-
),
|
|
910
|
+
), Se = ({
|
|
911
911
|
width: i = 20,
|
|
912
912
|
height: e = 20,
|
|
913
913
|
color: t = "#001E52",
|
|
@@ -940,7 +940,7 @@ const he = ({
|
|
|
940
940
|
)
|
|
941
941
|
]
|
|
942
942
|
}
|
|
943
|
-
),
|
|
943
|
+
), Oe = ({
|
|
944
944
|
width: i = 20,
|
|
945
945
|
height: e = 20,
|
|
946
946
|
color: t = "#001E52",
|
|
@@ -973,7 +973,7 @@ const he = ({
|
|
|
973
973
|
)
|
|
974
974
|
]
|
|
975
975
|
}
|
|
976
|
-
),
|
|
976
|
+
), Ae = ({
|
|
977
977
|
width: i = 20,
|
|
978
978
|
height: e = 23,
|
|
979
979
|
color: t = "#001E52",
|
|
@@ -1034,7 +1034,7 @@ const he = ({
|
|
|
1034
1034
|
)
|
|
1035
1035
|
]
|
|
1036
1036
|
}
|
|
1037
|
-
),
|
|
1037
|
+
), Be = ({
|
|
1038
1038
|
width: i = 20,
|
|
1039
1039
|
height: e = 20,
|
|
1040
1040
|
color: t = "#001E52",
|
|
@@ -1074,7 +1074,7 @@ const he = ({
|
|
|
1074
1074
|
)
|
|
1075
1075
|
]
|
|
1076
1076
|
}
|
|
1077
|
-
),
|
|
1077
|
+
), We = ({
|
|
1078
1078
|
width: i = 32,
|
|
1079
1079
|
height: e = 25,
|
|
1080
1080
|
color: t = "#001E52",
|
|
@@ -1102,7 +1102,7 @@ const he = ({
|
|
|
1102
1102
|
)
|
|
1103
1103
|
]
|
|
1104
1104
|
}
|
|
1105
|
-
),
|
|
1105
|
+
), je = ({
|
|
1106
1106
|
width: i = 14,
|
|
1107
1107
|
height: e = 14,
|
|
1108
1108
|
color: t = "#10B981",
|
|
@@ -1131,7 +1131,7 @@ const he = ({
|
|
|
1131
1131
|
)
|
|
1132
1132
|
]
|
|
1133
1133
|
}
|
|
1134
|
-
),
|
|
1134
|
+
), Ze = ({
|
|
1135
1135
|
width: i = 11,
|
|
1136
1136
|
height: e = 11,
|
|
1137
1137
|
color: t = "#FFB020",
|
|
@@ -1165,7 +1165,7 @@ const he = ({
|
|
|
1165
1165
|
)
|
|
1166
1166
|
]
|
|
1167
1167
|
}
|
|
1168
|
-
),
|
|
1168
|
+
), De = ({
|
|
1169
1169
|
width: i = 10,
|
|
1170
1170
|
height: e = 10,
|
|
1171
1171
|
color: t = "#88A4FF",
|
|
@@ -1213,7 +1213,7 @@ const he = ({
|
|
|
1213
1213
|
)
|
|
1214
1214
|
]
|
|
1215
1215
|
}
|
|
1216
|
-
),
|
|
1216
|
+
), Te = ({
|
|
1217
1217
|
width: i = 14,
|
|
1218
1218
|
height: e = 14,
|
|
1219
1219
|
color: t = "#8E8E93",
|
|
@@ -1241,7 +1241,7 @@ const he = ({
|
|
|
1241
1241
|
)
|
|
1242
1242
|
]
|
|
1243
1243
|
}
|
|
1244
|
-
),
|
|
1244
|
+
), Ge = ({
|
|
1245
1245
|
width: i = 14,
|
|
1246
1246
|
height: e = 14,
|
|
1247
1247
|
color: t = "#FFB020",
|
|
@@ -1275,7 +1275,7 @@ const he = ({
|
|
|
1275
1275
|
)
|
|
1276
1276
|
]
|
|
1277
1277
|
}
|
|
1278
|
-
),
|
|
1278
|
+
), Ke = ({
|
|
1279
1279
|
width: i = 14,
|
|
1280
1280
|
height: e = 14,
|
|
1281
1281
|
color: t = "#D0421B",
|
|
@@ -1323,7 +1323,7 @@ const he = ({
|
|
|
1323
1323
|
)
|
|
1324
1324
|
]
|
|
1325
1325
|
}
|
|
1326
|
-
),
|
|
1326
|
+
), Pe = ({
|
|
1327
1327
|
width: i = 20,
|
|
1328
1328
|
height: e = 20,
|
|
1329
1329
|
color: t = "#070739",
|
|
@@ -1353,7 +1353,7 @@ const he = ({
|
|
|
1353
1353
|
/* @__PURE__ */ r("circle", { cx: "10", cy: "10", r: "2.375", stroke: t, strokeWidth: "1.25" })
|
|
1354
1354
|
]
|
|
1355
1355
|
}
|
|
1356
|
-
),
|
|
1356
|
+
), $e = ({
|
|
1357
1357
|
width: i = 20,
|
|
1358
1358
|
height: e = 20,
|
|
1359
1359
|
color: t = "#070739",
|
|
@@ -1391,7 +1391,7 @@ const he = ({
|
|
|
1391
1391
|
)
|
|
1392
1392
|
]
|
|
1393
1393
|
}
|
|
1394
|
-
),
|
|
1394
|
+
), Fe = ({
|
|
1395
1395
|
width: i = 9,
|
|
1396
1396
|
height: e = 5,
|
|
1397
1397
|
color: t = "#001E52",
|
|
@@ -1417,7 +1417,7 @@ const he = ({
|
|
|
1417
1417
|
}
|
|
1418
1418
|
)
|
|
1419
1419
|
}
|
|
1420
|
-
),
|
|
1420
|
+
), Ye = ({
|
|
1421
1421
|
width: i = 20,
|
|
1422
1422
|
height: e = 20,
|
|
1423
1423
|
color: t = "#F2F2F7",
|
|
@@ -1446,7 +1446,7 @@ const he = ({
|
|
|
1446
1446
|
)
|
|
1447
1447
|
]
|
|
1448
1448
|
}
|
|
1449
|
-
),
|
|
1449
|
+
), Ue = ({
|
|
1450
1450
|
width: i = 20,
|
|
1451
1451
|
height: e = 20,
|
|
1452
1452
|
color: t = "#004ED7",
|
|
@@ -1475,7 +1475,7 @@ const he = ({
|
|
|
1475
1475
|
)
|
|
1476
1476
|
]
|
|
1477
1477
|
}
|
|
1478
|
-
),
|
|
1478
|
+
), ze = ({
|
|
1479
1479
|
width: i = 248,
|
|
1480
1480
|
height: e = 248,
|
|
1481
1481
|
color: t = "#070739",
|
|
@@ -1512,7 +1512,7 @@ const he = ({
|
|
|
1512
1512
|
)
|
|
1513
1513
|
]
|
|
1514
1514
|
}
|
|
1515
|
-
),
|
|
1515
|
+
), Je = ({
|
|
1516
1516
|
width: i = 24,
|
|
1517
1517
|
height: e = 24,
|
|
1518
1518
|
color: t = "#001E52",
|
|
@@ -1551,7 +1551,7 @@ const he = ({
|
|
|
1551
1551
|
)
|
|
1552
1552
|
]
|
|
1553
1553
|
}
|
|
1554
|
-
),
|
|
1554
|
+
), Qe = ({
|
|
1555
1555
|
width: i = 10,
|
|
1556
1556
|
height: e = 10,
|
|
1557
1557
|
color: t = "#001E52",
|
|
@@ -1580,7 +1580,7 @@ const he = ({
|
|
|
1580
1580
|
)
|
|
1581
1581
|
]
|
|
1582
1582
|
}
|
|
1583
|
-
),
|
|
1583
|
+
), qe = ({
|
|
1584
1584
|
width: i = 10,
|
|
1585
1585
|
height: e = 10,
|
|
1586
1586
|
color: t = "#001E52",
|
|
@@ -1617,7 +1617,7 @@ const he = ({
|
|
|
1617
1617
|
)
|
|
1618
1618
|
]
|
|
1619
1619
|
}
|
|
1620
|
-
),
|
|
1620
|
+
), Xe = ({
|
|
1621
1621
|
width: i = 24,
|
|
1622
1622
|
height: e = 24,
|
|
1623
1623
|
color: t = L.GREY_DARK_5,
|
|
@@ -1656,7 +1656,7 @@ const he = ({
|
|
|
1656
1656
|
)
|
|
1657
1657
|
]
|
|
1658
1658
|
}
|
|
1659
|
-
),
|
|
1659
|
+
), et = ({
|
|
1660
1660
|
width: i = 20,
|
|
1661
1661
|
height: e = 20,
|
|
1662
1662
|
color: t = L.GREY_DARK_1,
|
|
@@ -1689,7 +1689,7 @@ const he = ({
|
|
|
1689
1689
|
)
|
|
1690
1690
|
]
|
|
1691
1691
|
}
|
|
1692
|
-
),
|
|
1692
|
+
), tt = ({
|
|
1693
1693
|
width: i = 81,
|
|
1694
1694
|
height: e = 80,
|
|
1695
1695
|
color: t = L.GREY_DARK_5,
|
|
@@ -1738,7 +1738,7 @@ const he = ({
|
|
|
1738
1738
|
)
|
|
1739
1739
|
]
|
|
1740
1740
|
}
|
|
1741
|
-
),
|
|
1741
|
+
), it = ({
|
|
1742
1742
|
className: i,
|
|
1743
1743
|
color: e = L.GREY_DARK_5,
|
|
1744
1744
|
height: t = 20,
|
|
@@ -1765,7 +1765,7 @@ const he = ({
|
|
|
1765
1765
|
}
|
|
1766
1766
|
)
|
|
1767
1767
|
}
|
|
1768
|
-
),
|
|
1768
|
+
), st = ({
|
|
1769
1769
|
className: i,
|
|
1770
1770
|
color: e = L.GREY_DARK_5,
|
|
1771
1771
|
height: t = 20,
|
|
@@ -1792,7 +1792,7 @@ const he = ({
|
|
|
1792
1792
|
}
|
|
1793
1793
|
)
|
|
1794
1794
|
}
|
|
1795
|
-
),
|
|
1795
|
+
), nt = ({
|
|
1796
1796
|
className: i,
|
|
1797
1797
|
color: e = L.GREY_DARK_5,
|
|
1798
1798
|
height: t = 5,
|
|
@@ -1816,7 +1816,7 @@ const he = ({
|
|
|
1816
1816
|
}
|
|
1817
1817
|
)
|
|
1818
1818
|
}
|
|
1819
|
-
),
|
|
1819
|
+
), rt = ({
|
|
1820
1820
|
className: i,
|
|
1821
1821
|
color: e = L.GREY_DARK_5,
|
|
1822
1822
|
height: t = 5,
|
|
@@ -1841,7 +1841,7 @@ const he = ({
|
|
|
1841
1841
|
}
|
|
1842
1842
|
)
|
|
1843
1843
|
}
|
|
1844
|
-
),
|
|
1844
|
+
), ot = ({
|
|
1845
1845
|
className: i,
|
|
1846
1846
|
color: e = L.GREY_DARK_5,
|
|
1847
1847
|
height: t = 24,
|
|
@@ -1880,7 +1880,7 @@ const he = ({
|
|
|
1880
1880
|
)
|
|
1881
1881
|
]
|
|
1882
1882
|
}
|
|
1883
|
-
),
|
|
1883
|
+
), lt = ({
|
|
1884
1884
|
className: i,
|
|
1885
1885
|
color: e = L.GREY_DARK_5,
|
|
1886
1886
|
height: t = 24,
|
|
@@ -1919,7 +1919,7 @@ const he = ({
|
|
|
1919
1919
|
)
|
|
1920
1920
|
]
|
|
1921
1921
|
}
|
|
1922
|
-
),
|
|
1922
|
+
), at = ({
|
|
1923
1923
|
className: i,
|
|
1924
1924
|
color: e = L.GREY_DARK_5,
|
|
1925
1925
|
height: t = 24,
|
|
@@ -1946,7 +1946,7 @@ const he = ({
|
|
|
1946
1946
|
}
|
|
1947
1947
|
)
|
|
1948
1948
|
}
|
|
1949
|
-
),
|
|
1949
|
+
), ht = ({
|
|
1950
1950
|
className: i,
|
|
1951
1951
|
color: e = L.GREY_DARK_5,
|
|
1952
1952
|
height: t = 24,
|
|
@@ -2005,7 +2005,7 @@ const he = ({
|
|
|
2005
2005
|
)
|
|
2006
2006
|
]
|
|
2007
2007
|
}
|
|
2008
|
-
),
|
|
2008
|
+
), ct = ({
|
|
2009
2009
|
className: i,
|
|
2010
2010
|
color: e = L.GREY_DARK_5,
|
|
2011
2011
|
height: t = 24,
|
|
@@ -2042,7 +2042,7 @@ const he = ({
|
|
|
2042
2042
|
)
|
|
2043
2043
|
]
|
|
2044
2044
|
}
|
|
2045
|
-
),
|
|
2045
|
+
), dt = ({
|
|
2046
2046
|
className: i,
|
|
2047
2047
|
color: e = L.GREY_DARK_3,
|
|
2048
2048
|
height: t = 14,
|
|
@@ -2079,7 +2079,7 @@ const he = ({
|
|
|
2079
2079
|
)
|
|
2080
2080
|
]
|
|
2081
2081
|
}
|
|
2082
|
-
),
|
|
2082
|
+
), gt = ({
|
|
2083
2083
|
className: i,
|
|
2084
2084
|
color: e = L.GREY_DARK_5,
|
|
2085
2085
|
height: t = 18,
|
|
@@ -2106,7 +2106,7 @@ const he = ({
|
|
|
2106
2106
|
}
|
|
2107
2107
|
)
|
|
2108
2108
|
}
|
|
2109
|
-
),
|
|
2109
|
+
), ut = ({
|
|
2110
2110
|
className: i,
|
|
2111
2111
|
color: e = L.GREY_DARK_5,
|
|
2112
2112
|
height: t = 24,
|
|
@@ -2158,7 +2158,7 @@ const he = ({
|
|
|
2158
2158
|
)
|
|
2159
2159
|
]
|
|
2160
2160
|
}
|
|
2161
|
-
),
|
|
2161
|
+
), Ct = ({
|
|
2162
2162
|
className: i,
|
|
2163
2163
|
color: e = L.GREY_DARK_5,
|
|
2164
2164
|
height: t = 24,
|
|
@@ -2195,7 +2195,7 @@ const he = ({
|
|
|
2195
2195
|
)
|
|
2196
2196
|
]
|
|
2197
2197
|
}
|
|
2198
|
-
),
|
|
2198
|
+
), pt = ({
|
|
2199
2199
|
className: i,
|
|
2200
2200
|
color: e = L.NOTIFICATION_WARNING_DARK,
|
|
2201
2201
|
height: t = 37,
|
|
@@ -2234,7 +2234,7 @@ const he = ({
|
|
|
2234
2234
|
)
|
|
2235
2235
|
]
|
|
2236
2236
|
}
|
|
2237
|
-
),
|
|
2237
|
+
), ft = ({
|
|
2238
2238
|
className: i,
|
|
2239
2239
|
color: e = L.GREY_DARK_5,
|
|
2240
2240
|
height: t = 24,
|
|
@@ -2260,7 +2260,7 @@ const he = ({
|
|
|
2260
2260
|
}
|
|
2261
2261
|
)
|
|
2262
2262
|
}
|
|
2263
|
-
),
|
|
2263
|
+
), wt = ({
|
|
2264
2264
|
className: i,
|
|
2265
2265
|
color: e = L.GREY_DARK_5,
|
|
2266
2266
|
height: t = 24,
|
|
@@ -2299,7 +2299,7 @@ const he = ({
|
|
|
2299
2299
|
)
|
|
2300
2300
|
]
|
|
2301
2301
|
}
|
|
2302
|
-
),
|
|
2302
|
+
), mt = ({
|
|
2303
2303
|
className: i,
|
|
2304
2304
|
color: e = L.GREY_DARK_5,
|
|
2305
2305
|
height: t = 24,
|
|
@@ -2338,7 +2338,7 @@ const he = ({
|
|
|
2338
2338
|
)
|
|
2339
2339
|
]
|
|
2340
2340
|
}
|
|
2341
|
-
),
|
|
2341
|
+
), kt = ({
|
|
2342
2342
|
className: i,
|
|
2343
2343
|
color: e = L.GREY_DARK_5,
|
|
2344
2344
|
height: t = 24,
|
|
@@ -2407,7 +2407,7 @@ const he = ({
|
|
|
2407
2407
|
)
|
|
2408
2408
|
]
|
|
2409
2409
|
}
|
|
2410
|
-
),
|
|
2410
|
+
), Lt = ({
|
|
2411
2411
|
className: i,
|
|
2412
2412
|
color: e = L.GREY_DARK_5,
|
|
2413
2413
|
height: t = 24,
|
|
@@ -2446,7 +2446,7 @@ const he = ({
|
|
|
2446
2446
|
)
|
|
2447
2447
|
]
|
|
2448
2448
|
}
|
|
2449
|
-
),
|
|
2449
|
+
), vt = ({
|
|
2450
2450
|
className: i,
|
|
2451
2451
|
color: e = L.GREY_DARK_5,
|
|
2452
2452
|
height: t = 24,
|
|
@@ -2503,7 +2503,7 @@ const he = ({
|
|
|
2503
2503
|
)
|
|
2504
2504
|
]
|
|
2505
2505
|
}
|
|
2506
|
-
),
|
|
2506
|
+
), Nt = ({
|
|
2507
2507
|
className: i,
|
|
2508
2508
|
color: e = L.GREY_DARK_5,
|
|
2509
2509
|
height: t = 24,
|
|
@@ -2542,7 +2542,7 @@ const he = ({
|
|
|
2542
2542
|
)
|
|
2543
2543
|
]
|
|
2544
2544
|
}
|
|
2545
|
-
),
|
|
2545
|
+
), xt = ({
|
|
2546
2546
|
className: i,
|
|
2547
2547
|
color: e = L.GREY_DARK_5,
|
|
2548
2548
|
height: t = 24,
|
|
@@ -2591,7 +2591,7 @@ const he = ({
|
|
|
2591
2591
|
)
|
|
2592
2592
|
]
|
|
2593
2593
|
}
|
|
2594
|
-
),
|
|
2594
|
+
), Rt = ({
|
|
2595
2595
|
className: i,
|
|
2596
2596
|
color: e = L.GREY_DARK_5,
|
|
2597
2597
|
height: t = 24,
|
|
@@ -2630,7 +2630,7 @@ const he = ({
|
|
|
2630
2630
|
)
|
|
2631
2631
|
]
|
|
2632
2632
|
}
|
|
2633
|
-
),
|
|
2633
|
+
), Mt = ({
|
|
2634
2634
|
className: i,
|
|
2635
2635
|
color: e = L.GREY_DARK_5,
|
|
2636
2636
|
height: t = 24,
|
|
@@ -2657,7 +2657,7 @@ const he = ({
|
|
|
2657
2657
|
}
|
|
2658
2658
|
)
|
|
2659
2659
|
}
|
|
2660
|
-
),
|
|
2660
|
+
), yt = ({
|
|
2661
2661
|
className: i,
|
|
2662
2662
|
color: e = L.GREY_DARK_5,
|
|
2663
2663
|
height: t = 24,
|
|
@@ -2695,7 +2695,7 @@ const he = ({
|
|
|
2695
2695
|
)
|
|
2696
2696
|
]
|
|
2697
2697
|
}
|
|
2698
|
-
),
|
|
2698
|
+
), bt = ({
|
|
2699
2699
|
className: i,
|
|
2700
2700
|
color: e = L.GREY_DARK_5,
|
|
2701
2701
|
height: t = 24,
|
|
@@ -2716,7 +2716,7 @@ const he = ({
|
|
|
2716
2716
|
/* @__PURE__ */ r("path", { d: "M12 8L4 8", stroke: e, strokeWidth: "1.7", strokeLinecap: "round" })
|
|
2717
2717
|
]
|
|
2718
2718
|
}
|
|
2719
|
-
),
|
|
2719
|
+
), Et = ({
|
|
2720
2720
|
className: i,
|
|
2721
2721
|
color: e = L.GREY_DARK_5,
|
|
2722
2722
|
height: t = 24,
|
|
@@ -2755,7 +2755,7 @@ const he = ({
|
|
|
2755
2755
|
)
|
|
2756
2756
|
]
|
|
2757
2757
|
}
|
|
2758
|
-
),
|
|
2758
|
+
), Vt = ({
|
|
2759
2759
|
className: i,
|
|
2760
2760
|
color: e = L.GREY_DARK_5,
|
|
2761
2761
|
height: t = 24,
|
|
@@ -2794,7 +2794,7 @@ const he = ({
|
|
|
2794
2794
|
)
|
|
2795
2795
|
]
|
|
2796
2796
|
}
|
|
2797
|
-
),
|
|
2797
|
+
), _t = ({
|
|
2798
2798
|
className: i,
|
|
2799
2799
|
color: e = L.GREY_DARK_5,
|
|
2800
2800
|
height: t = 24,
|
|
@@ -2833,7 +2833,7 @@ const he = ({
|
|
|
2833
2833
|
)
|
|
2834
2834
|
]
|
|
2835
2835
|
}
|
|
2836
|
-
),
|
|
2836
|
+
), Ht = ({
|
|
2837
2837
|
className: i,
|
|
2838
2838
|
color: e = L.GREY_DARK_2,
|
|
2839
2839
|
height: t = 16,
|
|
@@ -2859,7 +2859,7 @@ const he = ({
|
|
|
2859
2859
|
}
|
|
2860
2860
|
)
|
|
2861
2861
|
}
|
|
2862
|
-
),
|
|
2862
|
+
), It = ({
|
|
2863
2863
|
className: i,
|
|
2864
2864
|
color: e = L.GREY_DARK_5,
|
|
2865
2865
|
height: t = 20,
|
|
@@ -2888,7 +2888,7 @@ const he = ({
|
|
|
2888
2888
|
/* @__PURE__ */ r("defs", { children: /* @__PURE__ */ r("clipPath", { id: "clip0_3992_5989", children: /* @__PURE__ */ r("rect", { width: "20", height: "20", fill: "white" }) }) })
|
|
2889
2889
|
]
|
|
2890
2890
|
}
|
|
2891
|
-
),
|
|
2891
|
+
), St = ({
|
|
2892
2892
|
className: i,
|
|
2893
2893
|
color: e = L.GREY_DARK_5,
|
|
2894
2894
|
height: t = 20,
|
|
@@ -2917,7 +2917,7 @@ const he = ({
|
|
|
2917
2917
|
/* @__PURE__ */ r("defs", { children: /* @__PURE__ */ r("clipPath", { id: "clip0_3992_5988", children: /* @__PURE__ */ r("rect", { width: "20", height: "20", fill: "white" }) }) })
|
|
2918
2918
|
]
|
|
2919
2919
|
}
|
|
2920
|
-
),
|
|
2920
|
+
), Ot = ({
|
|
2921
2921
|
className: i,
|
|
2922
2922
|
color: e = L.GREY_DARK_5,
|
|
2923
2923
|
height: t = 20,
|
|
@@ -2946,7 +2946,7 @@ const he = ({
|
|
|
2946
2946
|
)
|
|
2947
2947
|
]
|
|
2948
2948
|
}
|
|
2949
|
-
),
|
|
2949
|
+
), At = ({
|
|
2950
2950
|
className: i,
|
|
2951
2951
|
color: e = L.GREY_DARK_5,
|
|
2952
2952
|
height: t = 20,
|
|
@@ -2975,7 +2975,7 @@ const he = ({
|
|
|
2975
2975
|
)
|
|
2976
2976
|
]
|
|
2977
2977
|
}
|
|
2978
|
-
),
|
|
2978
|
+
), Bt = ({
|
|
2979
2979
|
className: i,
|
|
2980
2980
|
color: e = "#001E52",
|
|
2981
2981
|
height: t = 24,
|
|
@@ -3001,7 +3001,7 @@ const he = ({
|
|
|
3001
3001
|
}
|
|
3002
3002
|
)
|
|
3003
3003
|
}
|
|
3004
|
-
),
|
|
3004
|
+
), Wt = ({
|
|
3005
3005
|
className: i,
|
|
3006
3006
|
color: e = "#131314",
|
|
3007
3007
|
height: t = 20,
|
|
@@ -3029,7 +3029,7 @@ const he = ({
|
|
|
3029
3029
|
}
|
|
3030
3030
|
)
|
|
3031
3031
|
}
|
|
3032
|
-
),
|
|
3032
|
+
), jt = ({
|
|
3033
3033
|
className: i,
|
|
3034
3034
|
color: e = "#001E52",
|
|
3035
3035
|
height: t = 24,
|
|
@@ -3067,7 +3067,7 @@ const he = ({
|
|
|
3067
3067
|
)
|
|
3068
3068
|
] }) })
|
|
3069
3069
|
}
|
|
3070
|
-
),
|
|
3070
|
+
), l1 = ({
|
|
3071
3071
|
name: i,
|
|
3072
3072
|
width: e,
|
|
3073
3073
|
height: t,
|
|
@@ -3076,7 +3076,7 @@ const he = ({
|
|
|
3076
3076
|
disabled: l = !1,
|
|
3077
3077
|
onClick: c
|
|
3078
3078
|
}) => {
|
|
3079
|
-
const [o, d] = I(n), { theme: g } =
|
|
3079
|
+
const [o, d] = I(n), { theme: g } = o1(P1), a = l ? g && g === "dark" ? L.GREY_LIGHT_4 : L.GREY_DARK_1 : s, h = l ? void 0 : c;
|
|
3080
3080
|
return Z(() => {
|
|
3081
3081
|
if (n) {
|
|
3082
3082
|
h && !l && d(`${n} clickable`);
|
|
@@ -3086,39 +3086,39 @@ const he = ({
|
|
|
3086
3086
|
}, [h, n, l]), /* @__PURE__ */ r(q, { children: (() => {
|
|
3087
3087
|
switch (i) {
|
|
3088
3088
|
case "nextIcon":
|
|
3089
|
-
return tt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3090
|
-
case "prevIcon":
|
|
3091
3089
|
return it({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3090
|
+
case "prevIcon":
|
|
3091
|
+
return st({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3092
3092
|
case "arrowUp":
|
|
3093
|
-
return he({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3094
|
-
case "arrowDown":
|
|
3095
3093
|
return ce({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3096
|
-
case "
|
|
3094
|
+
case "arrowDown":
|
|
3097
3095
|
return de({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3098
|
-
case "
|
|
3096
|
+
case "info":
|
|
3099
3097
|
return ge({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3100
|
-
case "
|
|
3098
|
+
case "arrowRight":
|
|
3101
3099
|
return ue({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3102
|
-
case "
|
|
3100
|
+
case "calendar":
|
|
3103
3101
|
return Ce({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3104
|
-
case "
|
|
3102
|
+
case "ok":
|
|
3105
3103
|
return pe({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3106
|
-
case "
|
|
3104
|
+
case "cancel":
|
|
3107
3105
|
return fe({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3108
|
-
case "
|
|
3106
|
+
case "add":
|
|
3109
3107
|
return we({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3110
|
-
case "
|
|
3108
|
+
case "list":
|
|
3111
3109
|
return me({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3112
|
-
case "
|
|
3110
|
+
case "dragAndDrop":
|
|
3113
3111
|
return ke({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3114
|
-
case "
|
|
3112
|
+
case "filter":
|
|
3115
3113
|
return Le({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3116
|
-
case "
|
|
3114
|
+
case "attention":
|
|
3117
3115
|
return ve({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3118
|
-
case "
|
|
3116
|
+
case "plus":
|
|
3119
3117
|
return Ne({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3118
|
+
case "time":
|
|
3119
|
+
return xe({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3120
3120
|
case "arrowDownLong":
|
|
3121
|
-
return
|
|
3121
|
+
return Re({
|
|
3122
3122
|
width: e,
|
|
3123
3123
|
height: t,
|
|
3124
3124
|
color: a,
|
|
@@ -3126,9 +3126,9 @@ const he = ({
|
|
|
3126
3126
|
onClick: h
|
|
3127
3127
|
});
|
|
3128
3128
|
case "users":
|
|
3129
|
-
return
|
|
3129
|
+
return Me({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3130
3130
|
case "mySkillsMatrix":
|
|
3131
|
-
return
|
|
3131
|
+
return ye({
|
|
3132
3132
|
width: e,
|
|
3133
3133
|
height: t,
|
|
3134
3134
|
color: a,
|
|
@@ -3136,9 +3136,9 @@ const he = ({
|
|
|
3136
3136
|
onClick: h
|
|
3137
3137
|
});
|
|
3138
3138
|
case "skills":
|
|
3139
|
-
return
|
|
3139
|
+
return be({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3140
3140
|
case "skillsMatrices":
|
|
3141
|
-
return
|
|
3141
|
+
return Ee({
|
|
3142
3142
|
width: e,
|
|
3143
3143
|
height: t,
|
|
3144
3144
|
color: a,
|
|
@@ -3146,23 +3146,23 @@ const he = ({
|
|
|
3146
3146
|
onClick: h
|
|
3147
3147
|
});
|
|
3148
3148
|
case "history":
|
|
3149
|
-
return Ee({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3150
|
-
case "logOut":
|
|
3151
3149
|
return Ve({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3152
|
-
case "
|
|
3150
|
+
case "logOut":
|
|
3153
3151
|
return _e({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3154
|
-
case "
|
|
3152
|
+
case "settings":
|
|
3155
3153
|
return He({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3156
|
-
case "
|
|
3154
|
+
case "addSkill":
|
|
3157
3155
|
return Ie({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3158
|
-
case "
|
|
3156
|
+
case "conversation":
|
|
3159
3157
|
return Se({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3160
|
-
case "
|
|
3158
|
+
case "trash":
|
|
3161
3159
|
return Oe({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3162
|
-
case "
|
|
3160
|
+
case "settings4":
|
|
3163
3161
|
return Ae({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3162
|
+
case "edit2":
|
|
3163
|
+
return Be({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3164
3164
|
case "notifications":
|
|
3165
|
-
return
|
|
3165
|
+
return We({
|
|
3166
3166
|
width: e,
|
|
3167
3167
|
height: t,
|
|
3168
3168
|
color: a,
|
|
@@ -3170,9 +3170,9 @@ const he = ({
|
|
|
3170
3170
|
onClick: h
|
|
3171
3171
|
});
|
|
3172
3172
|
case "success":
|
|
3173
|
-
return
|
|
3173
|
+
return je({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3174
3174
|
case "attentionSmall":
|
|
3175
|
-
return
|
|
3175
|
+
return Ze({
|
|
3176
3176
|
width: e,
|
|
3177
3177
|
height: t,
|
|
3178
3178
|
color: a,
|
|
@@ -3180,11 +3180,11 @@ const he = ({
|
|
|
3180
3180
|
onClick: h
|
|
3181
3181
|
});
|
|
3182
3182
|
case "errorSmall":
|
|
3183
|
-
return Ze({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3184
|
-
case "infoMedium":
|
|
3185
3183
|
return De({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3184
|
+
case "infoMedium":
|
|
3185
|
+
return Te({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3186
3186
|
case "attentionMedium":
|
|
3187
|
-
return
|
|
3187
|
+
return Ge({
|
|
3188
3188
|
width: e,
|
|
3189
3189
|
height: t,
|
|
3190
3190
|
color: a,
|
|
@@ -3192,9 +3192,9 @@ const he = ({
|
|
|
3192
3192
|
onClick: h
|
|
3193
3193
|
});
|
|
3194
3194
|
case "errorMedium":
|
|
3195
|
-
return
|
|
3195
|
+
return Ke({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3196
3196
|
case "faviconSkills":
|
|
3197
|
-
return
|
|
3197
|
+
return ze({
|
|
3198
3198
|
width: e,
|
|
3199
3199
|
height: t,
|
|
3200
3200
|
color: a,
|
|
@@ -3202,7 +3202,7 @@ const he = ({
|
|
|
3202
3202
|
onClick: h
|
|
3203
3203
|
});
|
|
3204
3204
|
case "visibilityIcon":
|
|
3205
|
-
return
|
|
3205
|
+
return Pe({
|
|
3206
3206
|
width: e,
|
|
3207
3207
|
height: t,
|
|
3208
3208
|
color: a,
|
|
@@ -3210,7 +3210,7 @@ const he = ({
|
|
|
3210
3210
|
onClick: h
|
|
3211
3211
|
});
|
|
3212
3212
|
case "visibilityOffIcon":
|
|
3213
|
-
return
|
|
3213
|
+
return $e({
|
|
3214
3214
|
width: e,
|
|
3215
3215
|
height: t,
|
|
3216
3216
|
color: a,
|
|
@@ -3218,7 +3218,7 @@ const he = ({
|
|
|
3218
3218
|
onClick: h
|
|
3219
3219
|
});
|
|
3220
3220
|
case "selectArrowIcon":
|
|
3221
|
-
return
|
|
3221
|
+
return Fe({
|
|
3222
3222
|
width: e,
|
|
3223
3223
|
height: t,
|
|
3224
3224
|
color: a,
|
|
@@ -3226,7 +3226,7 @@ const he = ({
|
|
|
3226
3226
|
onClick: h
|
|
3227
3227
|
});
|
|
3228
3228
|
case "expandArrowIcon":
|
|
3229
|
-
return
|
|
3229
|
+
return Ye({
|
|
3230
3230
|
width: e,
|
|
3231
3231
|
height: t,
|
|
3232
3232
|
color: a,
|
|
@@ -3234,7 +3234,7 @@ const he = ({
|
|
|
3234
3234
|
onClick: h
|
|
3235
3235
|
});
|
|
3236
3236
|
case "expandActiveArrowIcon":
|
|
3237
|
-
return
|
|
3237
|
+
return Ue({
|
|
3238
3238
|
width: e,
|
|
3239
3239
|
height: t,
|
|
3240
3240
|
color: a,
|
|
@@ -3242,97 +3242,97 @@ const he = ({
|
|
|
3242
3242
|
onClick: h
|
|
3243
3243
|
});
|
|
3244
3244
|
case "camera":
|
|
3245
|
-
return ze({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3246
|
-
case "sortUp":
|
|
3247
3245
|
return Je({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3248
|
-
case "
|
|
3246
|
+
case "sortUp":
|
|
3249
3247
|
return Qe({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3250
|
-
case "
|
|
3248
|
+
case "sortDown":
|
|
3251
3249
|
return qe({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3252
|
-
case "
|
|
3250
|
+
case "logOut2":
|
|
3253
3251
|
return Xe({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3254
|
-
case "
|
|
3252
|
+
case "search":
|
|
3255
3253
|
return et({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3254
|
+
case "handRock":
|
|
3255
|
+
return tt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3256
3256
|
case "arrowUpFilled":
|
|
3257
|
-
return
|
|
3257
|
+
return rt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3258
3258
|
case "arrowDownFilled":
|
|
3259
|
-
return
|
|
3259
|
+
return nt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3260
3260
|
case "link":
|
|
3261
|
-
return
|
|
3261
|
+
return ot({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3262
3262
|
case "telegram":
|
|
3263
|
-
return
|
|
3263
|
+
return at({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3264
3264
|
case "mail":
|
|
3265
|
-
return
|
|
3265
|
+
return ct({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3266
3266
|
case "github":
|
|
3267
|
-
return
|
|
3267
|
+
return lt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3268
3268
|
case "linkedIn":
|
|
3269
|
-
return
|
|
3269
|
+
return ht({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3270
3270
|
case "emptyStateIcon":
|
|
3271
|
-
return ct({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3272
|
-
case "filtersIcon":
|
|
3273
3271
|
return dt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3274
|
-
case "
|
|
3272
|
+
case "filtersIcon":
|
|
3275
3273
|
return gt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3276
|
-
case "
|
|
3274
|
+
case "dotMenuIcon":
|
|
3277
3275
|
return ut({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3278
|
-
case "
|
|
3276
|
+
case "plusCircle":
|
|
3279
3277
|
return Ct({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3280
|
-
case "
|
|
3278
|
+
case "warning":
|
|
3281
3279
|
return pt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3282
|
-
case "
|
|
3280
|
+
case "back":
|
|
3283
3281
|
return ft({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3282
|
+
case "bell":
|
|
3283
|
+
return wt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3284
3284
|
case "contract":
|
|
3285
|
-
return
|
|
3285
|
+
return kt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3286
3286
|
case "trash2":
|
|
3287
|
-
return
|
|
3287
|
+
return mt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3288
3288
|
case "manager":
|
|
3289
|
-
return kt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3290
|
-
case "resourceManager":
|
|
3291
3289
|
return Lt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3292
|
-
case "
|
|
3290
|
+
case "resourceManager":
|
|
3293
3291
|
return vt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3294
|
-
case "
|
|
3292
|
+
case "settings2":
|
|
3295
3293
|
return Nt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3296
|
-
case "
|
|
3294
|
+
case "image":
|
|
3297
3295
|
return xt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3298
|
-
case "
|
|
3296
|
+
case "upload":
|
|
3299
3297
|
return Rt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3300
|
-
case "
|
|
3298
|
+
case "edit":
|
|
3301
3299
|
return Mt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3302
|
-
case "
|
|
3300
|
+
case "location":
|
|
3303
3301
|
return yt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3304
|
-
case "
|
|
3302
|
+
case "plus2":
|
|
3305
3303
|
return bt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3306
|
-
case "
|
|
3304
|
+
case "search2":
|
|
3307
3305
|
return Et({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3308
|
-
case "
|
|
3306
|
+
case "fastArrowLeft":
|
|
3309
3307
|
return Vt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3310
|
-
case "
|
|
3308
|
+
case "fastArrowRight":
|
|
3311
3309
|
return _t({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3310
|
+
case "crossInCircle":
|
|
3311
|
+
return Ht({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3312
3312
|
case "arrowUp2":
|
|
3313
|
-
return
|
|
3313
|
+
return St({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3314
3314
|
case "arrowDown2":
|
|
3315
|
-
return
|
|
3315
|
+
return It({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3316
3316
|
case "filledArrowLeft":
|
|
3317
|
-
return St({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3318
|
-
case "filledArrowRight":
|
|
3319
3317
|
return Ot({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3320
|
-
case "
|
|
3318
|
+
case "filledArrowRight":
|
|
3321
3319
|
return At({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3322
|
-
case "
|
|
3320
|
+
case "burgerMenu":
|
|
3323
3321
|
return Bt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3324
|
-
case "
|
|
3322
|
+
case "signOut":
|
|
3325
3323
|
return Wt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3324
|
+
case "refresh":
|
|
3325
|
+
return jt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3326
3326
|
default:
|
|
3327
3327
|
return /* @__PURE__ */ r(q, { children: "No Icon provided" });
|
|
3328
3328
|
}
|
|
3329
3329
|
})() });
|
|
3330
|
-
}, { Title:
|
|
3330
|
+
}, { Title: Zt, Text: Dt } = T1, Tt = {
|
|
3331
3331
|
h1: 1,
|
|
3332
3332
|
h2: 2,
|
|
3333
3333
|
h3: 3,
|
|
3334
3334
|
h4: 4
|
|
3335
|
-
},
|
|
3335
|
+
}, Gt = r1(
|
|
3336
3336
|
({
|
|
3337
3337
|
align: i = "inherit",
|
|
3338
3338
|
variant: e = "body1",
|
|
@@ -3345,17 +3345,17 @@ const he = ({
|
|
|
3345
3345
|
const d = e === "h1" || e === "h2" || e === "h3" || e === "h4";
|
|
3346
3346
|
let g = `snmt-typography snmt-typography-${e}`;
|
|
3347
3347
|
return i && i !== "inherit" && (g += ` snmt-typography-align-${i}`), l && (g += " collapsed"), d ? /* @__PURE__ */ r(
|
|
3348
|
-
|
|
3348
|
+
Zt,
|
|
3349
3349
|
{
|
|
3350
3350
|
className: g,
|
|
3351
3351
|
style: { color: t, whiteSpace: c },
|
|
3352
3352
|
onClick: n,
|
|
3353
|
-
level:
|
|
3353
|
+
level: Tt[e],
|
|
3354
3354
|
ref: o,
|
|
3355
3355
|
children: s
|
|
3356
3356
|
}
|
|
3357
3357
|
) : /* @__PURE__ */ r(
|
|
3358
|
-
|
|
3358
|
+
Dt,
|
|
3359
3359
|
{
|
|
3360
3360
|
className: g,
|
|
3361
3361
|
style: { color: t, whiteSpace: c },
|
|
@@ -3367,12 +3367,12 @@ const he = ({
|
|
|
3367
3367
|
}
|
|
3368
3368
|
);
|
|
3369
3369
|
var v = /* @__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))(v || {});
|
|
3370
|
-
const
|
|
3370
|
+
const $1 = n1({
|
|
3371
3371
|
locale: "en",
|
|
3372
3372
|
theme: "light"
|
|
3373
3373
|
});
|
|
3374
|
-
|
|
3375
|
-
const
|
|
3374
|
+
$1.Provider;
|
|
3375
|
+
const Kt = ({
|
|
3376
3376
|
width: i = 20,
|
|
3377
3377
|
height: e = 20,
|
|
3378
3378
|
color: t = "#001E52",
|
|
@@ -3399,7 +3399,7 @@ const Gt = ({
|
|
|
3399
3399
|
}
|
|
3400
3400
|
)
|
|
3401
3401
|
}
|
|
3402
|
-
),
|
|
3402
|
+
), Pt = ({
|
|
3403
3403
|
width: i = 20,
|
|
3404
3404
|
height: e = 20,
|
|
3405
3405
|
color: t = "#001E52",
|
|
@@ -3426,7 +3426,7 @@ const Gt = ({
|
|
|
3426
3426
|
}
|
|
3427
3427
|
)
|
|
3428
3428
|
}
|
|
3429
|
-
),
|
|
3429
|
+
), $t = ({
|
|
3430
3430
|
width: i = 16,
|
|
3431
3431
|
height: e = 16,
|
|
3432
3432
|
color: t = "#001E52",
|
|
@@ -3454,7 +3454,7 @@ const Gt = ({
|
|
|
3454
3454
|
)
|
|
3455
3455
|
]
|
|
3456
3456
|
}
|
|
3457
|
-
),
|
|
3457
|
+
), Ft = ({
|
|
3458
3458
|
width: i = 20,
|
|
3459
3459
|
height: e = 20,
|
|
3460
3460
|
color: t = "#001E52",
|
|
@@ -3489,7 +3489,7 @@ const Gt = ({
|
|
|
3489
3489
|
)
|
|
3490
3490
|
]
|
|
3491
3491
|
}
|
|
3492
|
-
),
|
|
3492
|
+
), Yt = ({
|
|
3493
3493
|
width: i = 18,
|
|
3494
3494
|
height: e = 18,
|
|
3495
3495
|
color: t = "#001E52",
|
|
@@ -3528,7 +3528,7 @@ const Gt = ({
|
|
|
3528
3528
|
)
|
|
3529
3529
|
]
|
|
3530
3530
|
}
|
|
3531
|
-
),
|
|
3531
|
+
), Ut = ({
|
|
3532
3532
|
width: i = 20,
|
|
3533
3533
|
height: e = 20,
|
|
3534
3534
|
color: t = "#001E52",
|
|
@@ -3554,7 +3554,7 @@ const Gt = ({
|
|
|
3554
3554
|
}
|
|
3555
3555
|
)
|
|
3556
3556
|
}
|
|
3557
|
-
),
|
|
3557
|
+
), zt = ({
|
|
3558
3558
|
width: i = 20,
|
|
3559
3559
|
height: e = 20,
|
|
3560
3560
|
color: t = "#001E52",
|
|
@@ -3575,7 +3575,7 @@ const Gt = ({
|
|
|
3575
3575
|
/* @__PURE__ */ r("path", { d: "M16 4L4 16", stroke: t, strokeWidth: "1.5", strokeLinecap: "round" })
|
|
3576
3576
|
]
|
|
3577
3577
|
}
|
|
3578
|
-
),
|
|
3578
|
+
), Jt = ({
|
|
3579
3579
|
width: i = 20,
|
|
3580
3580
|
height: e = 20,
|
|
3581
3581
|
color: t = "#001E52",
|
|
@@ -3607,7 +3607,7 @@ const Gt = ({
|
|
|
3607
3607
|
)
|
|
3608
3608
|
]
|
|
3609
3609
|
}
|
|
3610
|
-
),
|
|
3610
|
+
), Qt = ({
|
|
3611
3611
|
width: i = 20,
|
|
3612
3612
|
height: e = 20,
|
|
3613
3613
|
color: t = "#001E52",
|
|
@@ -3661,7 +3661,7 @@ const Gt = ({
|
|
|
3661
3661
|
)
|
|
3662
3662
|
]
|
|
3663
3663
|
}
|
|
3664
|
-
),
|
|
3664
|
+
), qt = ({
|
|
3665
3665
|
width: i = 20,
|
|
3666
3666
|
height: e = 20,
|
|
3667
3667
|
color: t = "#001E52",
|
|
@@ -3700,7 +3700,7 @@ const Gt = ({
|
|
|
3700
3700
|
/* @__PURE__ */ r("path", { d: "M3 12L17 12", stroke: t, strokeWidth: "2", strokeLinecap: "round" })
|
|
3701
3701
|
]
|
|
3702
3702
|
}
|
|
3703
|
-
),
|
|
3703
|
+
), Xt = ({
|
|
3704
3704
|
width: i = 16,
|
|
3705
3705
|
height: e = 12,
|
|
3706
3706
|
color: t = "#001E52",
|
|
@@ -3749,7 +3749,7 @@ const Gt = ({
|
|
|
3749
3749
|
)
|
|
3750
3750
|
] })
|
|
3751
3751
|
}
|
|
3752
|
-
),
|
|
3752
|
+
), e2 = ({
|
|
3753
3753
|
width: i = 16,
|
|
3754
3754
|
height: e = 16,
|
|
3755
3755
|
color: t = "#001E52",
|
|
@@ -3783,7 +3783,7 @@ const Gt = ({
|
|
|
3783
3783
|
)
|
|
3784
3784
|
]
|
|
3785
3785
|
}
|
|
3786
|
-
),
|
|
3786
|
+
), t2 = ({
|
|
3787
3787
|
width: i = 10,
|
|
3788
3788
|
height: e = 10,
|
|
3789
3789
|
color: t = "#001E52",
|
|
@@ -3822,7 +3822,7 @@ const Gt = ({
|
|
|
3822
3822
|
)
|
|
3823
3823
|
] })
|
|
3824
3824
|
}
|
|
3825
|
-
),
|
|
3825
|
+
), i2 = ({
|
|
3826
3826
|
width: i = 16,
|
|
3827
3827
|
height: e = 16,
|
|
3828
3828
|
color: t = "#001E52",
|
|
@@ -3858,7 +3858,7 @@ const Gt = ({
|
|
|
3858
3858
|
)
|
|
3859
3859
|
]
|
|
3860
3860
|
}
|
|
3861
|
-
),
|
|
3861
|
+
), s2 = ({
|
|
3862
3862
|
width: i = 11,
|
|
3863
3863
|
height: e = 32,
|
|
3864
3864
|
color: t = "#001E52",
|
|
@@ -3896,7 +3896,7 @@ const Gt = ({
|
|
|
3896
3896
|
/* @__PURE__ */ r("circle", { cx: "3", cy: "3", r: "3", fill: t })
|
|
3897
3897
|
]
|
|
3898
3898
|
}
|
|
3899
|
-
),
|
|
3899
|
+
), n2 = ({
|
|
3900
3900
|
width: i = 20,
|
|
3901
3901
|
height: e = 20,
|
|
3902
3902
|
color: t = "#001E52",
|
|
@@ -3943,7 +3943,7 @@ const Gt = ({
|
|
|
3943
3943
|
)
|
|
3944
3944
|
]
|
|
3945
3945
|
}
|
|
3946
|
-
),
|
|
3946
|
+
), r2 = ({
|
|
3947
3947
|
width: i = 20,
|
|
3948
3948
|
height: e = 20,
|
|
3949
3949
|
color: t = "#001E52",
|
|
@@ -3976,7 +3976,7 @@ const Gt = ({
|
|
|
3976
3976
|
)
|
|
3977
3977
|
]
|
|
3978
3978
|
}
|
|
3979
|
-
),
|
|
3979
|
+
), o2 = ({
|
|
3980
3980
|
width: i = 20,
|
|
3981
3981
|
height: e = 20,
|
|
3982
3982
|
color: t = "#001E52",
|
|
@@ -4023,7 +4023,7 @@ const Gt = ({
|
|
|
4023
4023
|
)
|
|
4024
4024
|
]
|
|
4025
4025
|
}
|
|
4026
|
-
),
|
|
4026
|
+
), l2 = ({
|
|
4027
4027
|
width: i = 20,
|
|
4028
4028
|
height: e = 20,
|
|
4029
4029
|
color: t = "#001E52",
|
|
@@ -4056,7 +4056,7 @@ const Gt = ({
|
|
|
4056
4056
|
)
|
|
4057
4057
|
]
|
|
4058
4058
|
}
|
|
4059
|
-
),
|
|
4059
|
+
), a2 = ({
|
|
4060
4060
|
width: i = 18,
|
|
4061
4061
|
height: e = 16,
|
|
4062
4062
|
color: t = "#001E52",
|
|
@@ -4095,7 +4095,7 @@ const Gt = ({
|
|
|
4095
4095
|
)
|
|
4096
4096
|
]
|
|
4097
4097
|
}
|
|
4098
|
-
),
|
|
4098
|
+
), h2 = ({
|
|
4099
4099
|
width: i = 20,
|
|
4100
4100
|
height: e = 20,
|
|
4101
4101
|
color: t = "#001E52",
|
|
@@ -4128,7 +4128,7 @@ const Gt = ({
|
|
|
4128
4128
|
)
|
|
4129
4129
|
]
|
|
4130
4130
|
}
|
|
4131
|
-
),
|
|
4131
|
+
), c2 = ({
|
|
4132
4132
|
width: i = 20,
|
|
4133
4133
|
height: e = 20,
|
|
4134
4134
|
color: t = "#001E52",
|
|
@@ -4152,7 +4152,7 @@ const Gt = ({
|
|
|
4152
4152
|
}
|
|
4153
4153
|
)
|
|
4154
4154
|
}
|
|
4155
|
-
),
|
|
4155
|
+
), d2 = ({
|
|
4156
4156
|
width: i = 20,
|
|
4157
4157
|
height: e = 20,
|
|
4158
4158
|
color: t = "#001E52",
|
|
@@ -4199,7 +4199,7 @@ const Gt = ({
|
|
|
4199
4199
|
)
|
|
4200
4200
|
]
|
|
4201
4201
|
}
|
|
4202
|
-
),
|
|
4202
|
+
), g2 = ({
|
|
4203
4203
|
width: i = 20,
|
|
4204
4204
|
height: e = 20,
|
|
4205
4205
|
color: t = "#001E52",
|
|
@@ -4232,7 +4232,7 @@ const Gt = ({
|
|
|
4232
4232
|
)
|
|
4233
4233
|
]
|
|
4234
4234
|
}
|
|
4235
|
-
),
|
|
4235
|
+
), u2 = ({
|
|
4236
4236
|
width: i = 20,
|
|
4237
4237
|
height: e = 20,
|
|
4238
4238
|
color: t = "#001E52",
|
|
@@ -4265,7 +4265,7 @@ const Gt = ({
|
|
|
4265
4265
|
)
|
|
4266
4266
|
]
|
|
4267
4267
|
}
|
|
4268
|
-
),
|
|
4268
|
+
), C2 = ({
|
|
4269
4269
|
width: i = 20,
|
|
4270
4270
|
height: e = 23,
|
|
4271
4271
|
color: t = "#001E52",
|
|
@@ -4326,7 +4326,7 @@ const Gt = ({
|
|
|
4326
4326
|
)
|
|
4327
4327
|
]
|
|
4328
4328
|
}
|
|
4329
|
-
),
|
|
4329
|
+
), p2 = ({
|
|
4330
4330
|
width: i = 20,
|
|
4331
4331
|
height: e = 20,
|
|
4332
4332
|
color: t = "#001E52",
|
|
@@ -4366,7 +4366,7 @@ const Gt = ({
|
|
|
4366
4366
|
)
|
|
4367
4367
|
]
|
|
4368
4368
|
}
|
|
4369
|
-
),
|
|
4369
|
+
), f2 = ({
|
|
4370
4370
|
width: i = 32,
|
|
4371
4371
|
height: e = 25,
|
|
4372
4372
|
color: t = "#001E52",
|
|
@@ -4394,7 +4394,7 @@ const Gt = ({
|
|
|
4394
4394
|
)
|
|
4395
4395
|
]
|
|
4396
4396
|
}
|
|
4397
|
-
),
|
|
4397
|
+
), w2 = ({
|
|
4398
4398
|
width: i = 14,
|
|
4399
4399
|
height: e = 14,
|
|
4400
4400
|
color: t = "#10B981",
|
|
@@ -4423,7 +4423,7 @@ const Gt = ({
|
|
|
4423
4423
|
)
|
|
4424
4424
|
]
|
|
4425
4425
|
}
|
|
4426
|
-
),
|
|
4426
|
+
), m2 = ({
|
|
4427
4427
|
width: i = 11,
|
|
4428
4428
|
height: e = 11,
|
|
4429
4429
|
color: t = "#FFB020",
|
|
@@ -4457,7 +4457,7 @@ const Gt = ({
|
|
|
4457
4457
|
)
|
|
4458
4458
|
]
|
|
4459
4459
|
}
|
|
4460
|
-
),
|
|
4460
|
+
), k2 = ({
|
|
4461
4461
|
width: i = 10,
|
|
4462
4462
|
height: e = 10,
|
|
4463
4463
|
color: t = "#88A4FF",
|
|
@@ -4505,7 +4505,7 @@ const Gt = ({
|
|
|
4505
4505
|
)
|
|
4506
4506
|
]
|
|
4507
4507
|
}
|
|
4508
|
-
),
|
|
4508
|
+
), L2 = ({
|
|
4509
4509
|
width: i = 14,
|
|
4510
4510
|
height: e = 14,
|
|
4511
4511
|
color: t = "#8E8E93",
|
|
@@ -4533,7 +4533,7 @@ const Gt = ({
|
|
|
4533
4533
|
)
|
|
4534
4534
|
]
|
|
4535
4535
|
}
|
|
4536
|
-
),
|
|
4536
|
+
), v2 = ({
|
|
4537
4537
|
width: i = 14,
|
|
4538
4538
|
height: e = 14,
|
|
4539
4539
|
color: t = "#FFB020",
|
|
@@ -4567,7 +4567,7 @@ const Gt = ({
|
|
|
4567
4567
|
)
|
|
4568
4568
|
]
|
|
4569
4569
|
}
|
|
4570
|
-
),
|
|
4570
|
+
), N2 = ({
|
|
4571
4571
|
width: i = 14,
|
|
4572
4572
|
height: e = 14,
|
|
4573
4573
|
color: t = "#D0421B",
|
|
@@ -4615,7 +4615,7 @@ const Gt = ({
|
|
|
4615
4615
|
)
|
|
4616
4616
|
]
|
|
4617
4617
|
}
|
|
4618
|
-
),
|
|
4618
|
+
), x2 = ({
|
|
4619
4619
|
width: i = 20,
|
|
4620
4620
|
height: e = 20,
|
|
4621
4621
|
color: t = "#070739",
|
|
@@ -4645,7 +4645,7 @@ const Gt = ({
|
|
|
4645
4645
|
/* @__PURE__ */ r("circle", { cx: "10", cy: "10", r: "2.375", stroke: t, strokeWidth: "1.25" })
|
|
4646
4646
|
]
|
|
4647
4647
|
}
|
|
4648
|
-
),
|
|
4648
|
+
), R2 = ({
|
|
4649
4649
|
width: i = 20,
|
|
4650
4650
|
height: e = 20,
|
|
4651
4651
|
color: t = "#070739",
|
|
@@ -4683,7 +4683,7 @@ const Gt = ({
|
|
|
4683
4683
|
)
|
|
4684
4684
|
]
|
|
4685
4685
|
}
|
|
4686
|
-
),
|
|
4686
|
+
), M2 = ({
|
|
4687
4687
|
width: i = 9,
|
|
4688
4688
|
height: e = 5,
|
|
4689
4689
|
color: t = "#001E52",
|
|
@@ -4709,7 +4709,7 @@ const Gt = ({
|
|
|
4709
4709
|
}
|
|
4710
4710
|
)
|
|
4711
4711
|
}
|
|
4712
|
-
),
|
|
4712
|
+
), y2 = ({
|
|
4713
4713
|
width: i = 20,
|
|
4714
4714
|
height: e = 20,
|
|
4715
4715
|
color: t = "#F2F2F7",
|
|
@@ -4738,7 +4738,7 @@ const Gt = ({
|
|
|
4738
4738
|
)
|
|
4739
4739
|
]
|
|
4740
4740
|
}
|
|
4741
|
-
),
|
|
4741
|
+
), b2 = ({
|
|
4742
4742
|
width: i = 20,
|
|
4743
4743
|
height: e = 20,
|
|
4744
4744
|
color: t = "#004ED7",
|
|
@@ -4767,7 +4767,7 @@ const Gt = ({
|
|
|
4767
4767
|
)
|
|
4768
4768
|
]
|
|
4769
4769
|
}
|
|
4770
|
-
),
|
|
4770
|
+
), E2 = ({
|
|
4771
4771
|
width: i = 248,
|
|
4772
4772
|
height: e = 248,
|
|
4773
4773
|
color: t = "#070739",
|
|
@@ -4804,7 +4804,7 @@ const Gt = ({
|
|
|
4804
4804
|
)
|
|
4805
4805
|
]
|
|
4806
4806
|
}
|
|
4807
|
-
),
|
|
4807
|
+
), V2 = ({
|
|
4808
4808
|
width: i = 24,
|
|
4809
4809
|
height: e = 24,
|
|
4810
4810
|
color: t = "#001E52",
|
|
@@ -4843,7 +4843,7 @@ const Gt = ({
|
|
|
4843
4843
|
)
|
|
4844
4844
|
]
|
|
4845
4845
|
}
|
|
4846
|
-
),
|
|
4846
|
+
), _2 = ({
|
|
4847
4847
|
width: i = 10,
|
|
4848
4848
|
height: e = 10,
|
|
4849
4849
|
color: t = "#001E52",
|
|
@@ -4872,7 +4872,7 @@ const Gt = ({
|
|
|
4872
4872
|
)
|
|
4873
4873
|
]
|
|
4874
4874
|
}
|
|
4875
|
-
),
|
|
4875
|
+
), H2 = ({
|
|
4876
4876
|
width: i = 10,
|
|
4877
4877
|
height: e = 10,
|
|
4878
4878
|
color: t = "#001E52",
|
|
@@ -4909,7 +4909,7 @@ const Gt = ({
|
|
|
4909
4909
|
)
|
|
4910
4910
|
]
|
|
4911
4911
|
}
|
|
4912
|
-
),
|
|
4912
|
+
), I2 = ({
|
|
4913
4913
|
width: i = 24,
|
|
4914
4914
|
height: e = 24,
|
|
4915
4915
|
color: t = v.GREY_DARK_5,
|
|
@@ -4948,7 +4948,7 @@ const Gt = ({
|
|
|
4948
4948
|
)
|
|
4949
4949
|
]
|
|
4950
4950
|
}
|
|
4951
|
-
),
|
|
4951
|
+
), S2 = ({
|
|
4952
4952
|
width: i = 20,
|
|
4953
4953
|
height: e = 20,
|
|
4954
4954
|
color: t = v.GREY_DARK_1,
|
|
@@ -4981,7 +4981,7 @@ const Gt = ({
|
|
|
4981
4981
|
)
|
|
4982
4982
|
]
|
|
4983
4983
|
}
|
|
4984
|
-
),
|
|
4984
|
+
), O2 = ({
|
|
4985
4985
|
width: i = 81,
|
|
4986
4986
|
height: e = 80,
|
|
4987
4987
|
color: t = v.GREY_DARK_5,
|
|
@@ -5030,7 +5030,7 @@ const Gt = ({
|
|
|
5030
5030
|
)
|
|
5031
5031
|
]
|
|
5032
5032
|
}
|
|
5033
|
-
),
|
|
5033
|
+
), A2 = ({
|
|
5034
5034
|
className: i,
|
|
5035
5035
|
color: e = v.GREY_DARK_5,
|
|
5036
5036
|
height: t = 20,
|
|
@@ -5057,7 +5057,7 @@ const Gt = ({
|
|
|
5057
5057
|
}
|
|
5058
5058
|
)
|
|
5059
5059
|
}
|
|
5060
|
-
),
|
|
5060
|
+
), B2 = ({
|
|
5061
5061
|
className: i,
|
|
5062
5062
|
color: e = v.GREY_DARK_5,
|
|
5063
5063
|
height: t = 20,
|
|
@@ -5084,7 +5084,7 @@ const Gt = ({
|
|
|
5084
5084
|
}
|
|
5085
5085
|
)
|
|
5086
5086
|
}
|
|
5087
|
-
),
|
|
5087
|
+
), W2 = ({
|
|
5088
5088
|
className: i,
|
|
5089
5089
|
color: e = v.GREY_DARK_5,
|
|
5090
5090
|
height: t = 5,
|
|
@@ -5108,7 +5108,7 @@ const Gt = ({
|
|
|
5108
5108
|
}
|
|
5109
5109
|
)
|
|
5110
5110
|
}
|
|
5111
|
-
),
|
|
5111
|
+
), j2 = ({
|
|
5112
5112
|
className: i,
|
|
5113
5113
|
color: e = v.GREY_DARK_5,
|
|
5114
5114
|
height: t = 5,
|
|
@@ -5133,7 +5133,7 @@ const Gt = ({
|
|
|
5133
5133
|
}
|
|
5134
5134
|
)
|
|
5135
5135
|
}
|
|
5136
|
-
),
|
|
5136
|
+
), Z2 = ({
|
|
5137
5137
|
className: i,
|
|
5138
5138
|
color: e = v.GREY_DARK_5,
|
|
5139
5139
|
height: t = 24,
|
|
@@ -5172,7 +5172,7 @@ const Gt = ({
|
|
|
5172
5172
|
)
|
|
5173
5173
|
]
|
|
5174
5174
|
}
|
|
5175
|
-
),
|
|
5175
|
+
), D2 = ({
|
|
5176
5176
|
className: i,
|
|
5177
5177
|
color: e = v.GREY_DARK_5,
|
|
5178
5178
|
height: t = 24,
|
|
@@ -5211,7 +5211,7 @@ const Gt = ({
|
|
|
5211
5211
|
)
|
|
5212
5212
|
]
|
|
5213
5213
|
}
|
|
5214
|
-
),
|
|
5214
|
+
), T2 = ({
|
|
5215
5215
|
className: i,
|
|
5216
5216
|
color: e = v.GREY_DARK_5,
|
|
5217
5217
|
height: t = 24,
|
|
@@ -5238,7 +5238,7 @@ const Gt = ({
|
|
|
5238
5238
|
}
|
|
5239
5239
|
)
|
|
5240
5240
|
}
|
|
5241
|
-
),
|
|
5241
|
+
), G2 = ({
|
|
5242
5242
|
className: i,
|
|
5243
5243
|
color: e = v.GREY_DARK_5,
|
|
5244
5244
|
height: t = 24,
|
|
@@ -5297,7 +5297,7 @@ const Gt = ({
|
|
|
5297
5297
|
)
|
|
5298
5298
|
]
|
|
5299
5299
|
}
|
|
5300
|
-
),
|
|
5300
|
+
), K2 = ({
|
|
5301
5301
|
className: i,
|
|
5302
5302
|
color: e = v.GREY_DARK_5,
|
|
5303
5303
|
height: t = 24,
|
|
@@ -5334,7 +5334,7 @@ const Gt = ({
|
|
|
5334
5334
|
)
|
|
5335
5335
|
]
|
|
5336
5336
|
}
|
|
5337
|
-
),
|
|
5337
|
+
), P2 = ({
|
|
5338
5338
|
className: i,
|
|
5339
5339
|
color: e = v.GREY_DARK_3,
|
|
5340
5340
|
height: t = 14,
|
|
@@ -5371,7 +5371,7 @@ const Gt = ({
|
|
|
5371
5371
|
)
|
|
5372
5372
|
]
|
|
5373
5373
|
}
|
|
5374
|
-
),
|
|
5374
|
+
), $2 = ({
|
|
5375
5375
|
className: i,
|
|
5376
5376
|
color: e = v.GREY_DARK_5,
|
|
5377
5377
|
height: t = 18,
|
|
@@ -5398,7 +5398,7 @@ const Gt = ({
|
|
|
5398
5398
|
}
|
|
5399
5399
|
)
|
|
5400
5400
|
}
|
|
5401
|
-
),
|
|
5401
|
+
), F2 = ({
|
|
5402
5402
|
className: i,
|
|
5403
5403
|
color: e = v.GREY_DARK_5,
|
|
5404
5404
|
height: t = 24,
|
|
@@ -5450,7 +5450,7 @@ const Gt = ({
|
|
|
5450
5450
|
)
|
|
5451
5451
|
]
|
|
5452
5452
|
}
|
|
5453
|
-
),
|
|
5453
|
+
), Y2 = ({
|
|
5454
5454
|
className: i,
|
|
5455
5455
|
color: e = v.GREY_DARK_5,
|
|
5456
5456
|
height: t = 24,
|
|
@@ -5487,7 +5487,7 @@ const Gt = ({
|
|
|
5487
5487
|
)
|
|
5488
5488
|
]
|
|
5489
5489
|
}
|
|
5490
|
-
),
|
|
5490
|
+
), U2 = ({
|
|
5491
5491
|
className: i,
|
|
5492
5492
|
color: e = v.NOTIFICATION_WARNING_DARK,
|
|
5493
5493
|
height: t = 37,
|
|
@@ -5526,7 +5526,7 @@ const Gt = ({
|
|
|
5526
5526
|
)
|
|
5527
5527
|
]
|
|
5528
5528
|
}
|
|
5529
|
-
),
|
|
5529
|
+
), z2 = ({
|
|
5530
5530
|
className: i,
|
|
5531
5531
|
color: e = v.GREY_DARK_5,
|
|
5532
5532
|
height: t = 24,
|
|
@@ -5552,7 +5552,7 @@ const Gt = ({
|
|
|
5552
5552
|
}
|
|
5553
5553
|
)
|
|
5554
5554
|
}
|
|
5555
|
-
),
|
|
5555
|
+
), J2 = ({
|
|
5556
5556
|
className: i,
|
|
5557
5557
|
color: e = v.GREY_DARK_5,
|
|
5558
5558
|
height: t = 24,
|
|
@@ -5591,7 +5591,7 @@ const Gt = ({
|
|
|
5591
5591
|
)
|
|
5592
5592
|
]
|
|
5593
5593
|
}
|
|
5594
|
-
),
|
|
5594
|
+
), Q2 = ({
|
|
5595
5595
|
className: i,
|
|
5596
5596
|
color: e = v.GREY_DARK_5,
|
|
5597
5597
|
height: t = 24,
|
|
@@ -5630,7 +5630,7 @@ const Gt = ({
|
|
|
5630
5630
|
)
|
|
5631
5631
|
]
|
|
5632
5632
|
}
|
|
5633
|
-
),
|
|
5633
|
+
), q2 = ({
|
|
5634
5634
|
className: i,
|
|
5635
5635
|
color: e = v.GREY_DARK_5,
|
|
5636
5636
|
height: t = 24,
|
|
@@ -5699,7 +5699,7 @@ const Gt = ({
|
|
|
5699
5699
|
)
|
|
5700
5700
|
]
|
|
5701
5701
|
}
|
|
5702
|
-
),
|
|
5702
|
+
), X2 = ({
|
|
5703
5703
|
className: i,
|
|
5704
5704
|
color: e = v.GREY_DARK_5,
|
|
5705
5705
|
height: t = 24,
|
|
@@ -5738,7 +5738,7 @@ const Gt = ({
|
|
|
5738
5738
|
)
|
|
5739
5739
|
]
|
|
5740
5740
|
}
|
|
5741
|
-
),
|
|
5741
|
+
), ei = ({
|
|
5742
5742
|
className: i,
|
|
5743
5743
|
color: e = v.GREY_DARK_5,
|
|
5744
5744
|
height: t = 24,
|
|
@@ -5795,7 +5795,7 @@ const Gt = ({
|
|
|
5795
5795
|
)
|
|
5796
5796
|
]
|
|
5797
5797
|
}
|
|
5798
|
-
),
|
|
5798
|
+
), ti = ({
|
|
5799
5799
|
className: i,
|
|
5800
5800
|
color: e = v.GREY_DARK_5,
|
|
5801
5801
|
height: t = 24,
|
|
@@ -5834,7 +5834,7 @@ const Gt = ({
|
|
|
5834
5834
|
)
|
|
5835
5835
|
]
|
|
5836
5836
|
}
|
|
5837
|
-
),
|
|
5837
|
+
), ii = ({
|
|
5838
5838
|
className: i,
|
|
5839
5839
|
color: e = v.GREY_DARK_5,
|
|
5840
5840
|
height: t = 24,
|
|
@@ -5883,7 +5883,7 @@ const Gt = ({
|
|
|
5883
5883
|
)
|
|
5884
5884
|
]
|
|
5885
5885
|
}
|
|
5886
|
-
),
|
|
5886
|
+
), si = ({
|
|
5887
5887
|
className: i,
|
|
5888
5888
|
color: e = v.GREY_DARK_5,
|
|
5889
5889
|
height: t = 24,
|
|
@@ -5922,7 +5922,7 @@ const Gt = ({
|
|
|
5922
5922
|
)
|
|
5923
5923
|
]
|
|
5924
5924
|
}
|
|
5925
|
-
),
|
|
5925
|
+
), ni = ({
|
|
5926
5926
|
className: i,
|
|
5927
5927
|
color: e = v.GREY_DARK_5,
|
|
5928
5928
|
height: t = 24,
|
|
@@ -5949,7 +5949,7 @@ const Gt = ({
|
|
|
5949
5949
|
}
|
|
5950
5950
|
)
|
|
5951
5951
|
}
|
|
5952
|
-
),
|
|
5952
|
+
), ri = ({
|
|
5953
5953
|
className: i,
|
|
5954
5954
|
color: e = v.GREY_DARK_5,
|
|
5955
5955
|
height: t = 24,
|
|
@@ -5987,7 +5987,7 @@ const Gt = ({
|
|
|
5987
5987
|
)
|
|
5988
5988
|
]
|
|
5989
5989
|
}
|
|
5990
|
-
),
|
|
5990
|
+
), oi = ({
|
|
5991
5991
|
className: i,
|
|
5992
5992
|
color: e = v.GREY_DARK_5,
|
|
5993
5993
|
height: t = 24,
|
|
@@ -6008,7 +6008,7 @@ const Gt = ({
|
|
|
6008
6008
|
/* @__PURE__ */ r("path", { d: "M12 8L4 8", stroke: e, strokeWidth: "1.7", strokeLinecap: "round" })
|
|
6009
6009
|
]
|
|
6010
6010
|
}
|
|
6011
|
-
),
|
|
6011
|
+
), li = ({
|
|
6012
6012
|
className: i,
|
|
6013
6013
|
color: e = v.GREY_DARK_5,
|
|
6014
6014
|
height: t = 24,
|
|
@@ -6047,7 +6047,7 @@ const Gt = ({
|
|
|
6047
6047
|
)
|
|
6048
6048
|
]
|
|
6049
6049
|
}
|
|
6050
|
-
),
|
|
6050
|
+
), ai = ({
|
|
6051
6051
|
className: i,
|
|
6052
6052
|
color: e = v.GREY_DARK_5,
|
|
6053
6053
|
height: t = 24,
|
|
@@ -6086,7 +6086,7 @@ const Gt = ({
|
|
|
6086
6086
|
)
|
|
6087
6087
|
]
|
|
6088
6088
|
}
|
|
6089
|
-
),
|
|
6089
|
+
), hi = ({
|
|
6090
6090
|
className: i,
|
|
6091
6091
|
color: e = v.GREY_DARK_5,
|
|
6092
6092
|
height: t = 24,
|
|
@@ -6125,7 +6125,7 @@ const Gt = ({
|
|
|
6125
6125
|
)
|
|
6126
6126
|
]
|
|
6127
6127
|
}
|
|
6128
|
-
),
|
|
6128
|
+
), ci = ({
|
|
6129
6129
|
className: i,
|
|
6130
6130
|
color: e = v.GREY_DARK_2,
|
|
6131
6131
|
height: t = 16,
|
|
@@ -6151,7 +6151,7 @@ const Gt = ({
|
|
|
6151
6151
|
}
|
|
6152
6152
|
)
|
|
6153
6153
|
}
|
|
6154
|
-
),
|
|
6154
|
+
), di = ({
|
|
6155
6155
|
className: i,
|
|
6156
6156
|
color: e = v.GREY_DARK_5,
|
|
6157
6157
|
height: t = 20,
|
|
@@ -6180,7 +6180,7 @@ const Gt = ({
|
|
|
6180
6180
|
/* @__PURE__ */ r("defs", { children: /* @__PURE__ */ r("clipPath", { id: "clip0_3992_5989", children: /* @__PURE__ */ r("rect", { width: "20", height: "20", fill: "white" }) }) })
|
|
6181
6181
|
]
|
|
6182
6182
|
}
|
|
6183
|
-
),
|
|
6183
|
+
), gi = ({
|
|
6184
6184
|
className: i,
|
|
6185
6185
|
color: e = v.GREY_DARK_5,
|
|
6186
6186
|
height: t = 20,
|
|
@@ -6209,7 +6209,7 @@ const Gt = ({
|
|
|
6209
6209
|
/* @__PURE__ */ r("defs", { children: /* @__PURE__ */ r("clipPath", { id: "clip0_3992_5988", children: /* @__PURE__ */ r("rect", { width: "20", height: "20", fill: "white" }) }) })
|
|
6210
6210
|
]
|
|
6211
6211
|
}
|
|
6212
|
-
),
|
|
6212
|
+
), ui = ({
|
|
6213
6213
|
className: i,
|
|
6214
6214
|
color: e = v.GREY_DARK_5,
|
|
6215
6215
|
height: t = 20,
|
|
@@ -6238,7 +6238,7 @@ const Gt = ({
|
|
|
6238
6238
|
)
|
|
6239
6239
|
]
|
|
6240
6240
|
}
|
|
6241
|
-
),
|
|
6241
|
+
), Ci = ({
|
|
6242
6242
|
className: i,
|
|
6243
6243
|
color: e = v.GREY_DARK_5,
|
|
6244
6244
|
height: t = 20,
|
|
@@ -6267,7 +6267,7 @@ const Gt = ({
|
|
|
6267
6267
|
)
|
|
6268
6268
|
]
|
|
6269
6269
|
}
|
|
6270
|
-
),
|
|
6270
|
+
), pi = ({
|
|
6271
6271
|
className: i,
|
|
6272
6272
|
color: e = "#001E52",
|
|
6273
6273
|
height: t = 24,
|
|
@@ -6293,7 +6293,7 @@ const Gt = ({
|
|
|
6293
6293
|
}
|
|
6294
6294
|
)
|
|
6295
6295
|
}
|
|
6296
|
-
),
|
|
6296
|
+
), fi = ({
|
|
6297
6297
|
className: i,
|
|
6298
6298
|
color: e = "#131314",
|
|
6299
6299
|
height: t = 20,
|
|
@@ -6321,7 +6321,7 @@ const Gt = ({
|
|
|
6321
6321
|
}
|
|
6322
6322
|
)
|
|
6323
6323
|
}
|
|
6324
|
-
),
|
|
6324
|
+
), wi = ({
|
|
6325
6325
|
className: i,
|
|
6326
6326
|
color: e = "#001E52",
|
|
6327
6327
|
height: t = 24,
|
|
@@ -6359,7 +6359,7 @@ const Gt = ({
|
|
|
6359
6359
|
)
|
|
6360
6360
|
] }) })
|
|
6361
6361
|
}
|
|
6362
|
-
),
|
|
6362
|
+
), mi = ({
|
|
6363
6363
|
name: i,
|
|
6364
6364
|
width: e,
|
|
6365
6365
|
height: t,
|
|
@@ -6368,7 +6368,7 @@ const Gt = ({
|
|
|
6368
6368
|
disabled: l = !1,
|
|
6369
6369
|
onClick: c
|
|
6370
6370
|
}) => {
|
|
6371
|
-
const [o, d] = I(n), { theme: g } =
|
|
6371
|
+
const [o, d] = I(n), { theme: g } = o1($1), a = l ? g && g === "dark" ? v.GREY_LIGHT_4 : v.GREY_DARK_1 : s, h = l ? void 0 : c;
|
|
6372
6372
|
return Z(() => {
|
|
6373
6373
|
if (n) {
|
|
6374
6374
|
h && !l && d(`${n} clickable`);
|
|
@@ -6378,39 +6378,39 @@ const Gt = ({
|
|
|
6378
6378
|
}, [h, n, l]), /* @__PURE__ */ r(q, { children: (() => {
|
|
6379
6379
|
switch (i) {
|
|
6380
6380
|
case "nextIcon":
|
|
6381
|
-
return O2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6382
|
-
case "prevIcon":
|
|
6383
6381
|
return A2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6382
|
+
case "prevIcon":
|
|
6383
|
+
return B2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6384
6384
|
case "arrowUp":
|
|
6385
|
-
return Gt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6386
|
-
case "arrowDown":
|
|
6387
6385
|
return Kt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6388
|
-
case "
|
|
6386
|
+
case "arrowDown":
|
|
6389
6387
|
return Pt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6390
|
-
case "
|
|
6388
|
+
case "info":
|
|
6391
6389
|
return $t({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6392
|
-
case "
|
|
6390
|
+
case "arrowRight":
|
|
6393
6391
|
return Ft({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6394
|
-
case "
|
|
6392
|
+
case "calendar":
|
|
6395
6393
|
return Yt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6396
|
-
case "
|
|
6394
|
+
case "ok":
|
|
6397
6395
|
return Ut({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6398
|
-
case "
|
|
6396
|
+
case "cancel":
|
|
6399
6397
|
return zt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6400
|
-
case "
|
|
6398
|
+
case "add":
|
|
6401
6399
|
return Jt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6402
|
-
case "
|
|
6400
|
+
case "list":
|
|
6403
6401
|
return Qt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6404
|
-
case "
|
|
6402
|
+
case "dragAndDrop":
|
|
6405
6403
|
return qt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6406
|
-
case "
|
|
6404
|
+
case "filter":
|
|
6407
6405
|
return Xt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6408
|
-
case "
|
|
6406
|
+
case "attention":
|
|
6409
6407
|
return e2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6410
|
-
case "
|
|
6408
|
+
case "plus":
|
|
6411
6409
|
return t2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6410
|
+
case "time":
|
|
6411
|
+
return i2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6412
6412
|
case "arrowDownLong":
|
|
6413
|
-
return
|
|
6413
|
+
return s2({
|
|
6414
6414
|
width: e,
|
|
6415
6415
|
height: t,
|
|
6416
6416
|
color: a,
|
|
@@ -6418,9 +6418,9 @@ const Gt = ({
|
|
|
6418
6418
|
onClick: h
|
|
6419
6419
|
});
|
|
6420
6420
|
case "users":
|
|
6421
|
-
return
|
|
6421
|
+
return n2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6422
6422
|
case "mySkillsMatrix":
|
|
6423
|
-
return
|
|
6423
|
+
return r2({
|
|
6424
6424
|
width: e,
|
|
6425
6425
|
height: t,
|
|
6426
6426
|
color: a,
|
|
@@ -6428,9 +6428,9 @@ const Gt = ({
|
|
|
6428
6428
|
onClick: h
|
|
6429
6429
|
});
|
|
6430
6430
|
case "skills":
|
|
6431
|
-
return
|
|
6431
|
+
return o2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6432
6432
|
case "skillsMatrices":
|
|
6433
|
-
return
|
|
6433
|
+
return l2({
|
|
6434
6434
|
width: e,
|
|
6435
6435
|
height: t,
|
|
6436
6436
|
color: a,
|
|
@@ -6438,23 +6438,23 @@ const Gt = ({
|
|
|
6438
6438
|
onClick: h
|
|
6439
6439
|
});
|
|
6440
6440
|
case "history":
|
|
6441
|
-
return l2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6442
|
-
case "logOut":
|
|
6443
6441
|
return a2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6444
|
-
case "
|
|
6442
|
+
case "logOut":
|
|
6445
6443
|
return h2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6446
|
-
case "
|
|
6444
|
+
case "settings":
|
|
6447
6445
|
return c2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6448
|
-
case "
|
|
6446
|
+
case "addSkill":
|
|
6449
6447
|
return d2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6450
|
-
case "
|
|
6448
|
+
case "conversation":
|
|
6451
6449
|
return g2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6452
|
-
case "
|
|
6450
|
+
case "trash":
|
|
6453
6451
|
return u2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6454
|
-
case "
|
|
6452
|
+
case "settings4":
|
|
6455
6453
|
return C2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6454
|
+
case "edit2":
|
|
6455
|
+
return p2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6456
6456
|
case "notifications":
|
|
6457
|
-
return
|
|
6457
|
+
return f2({
|
|
6458
6458
|
width: e,
|
|
6459
6459
|
height: t,
|
|
6460
6460
|
color: a,
|
|
@@ -6462,9 +6462,9 @@ const Gt = ({
|
|
|
6462
6462
|
onClick: h
|
|
6463
6463
|
});
|
|
6464
6464
|
case "success":
|
|
6465
|
-
return
|
|
6465
|
+
return w2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6466
6466
|
case "attentionSmall":
|
|
6467
|
-
return
|
|
6467
|
+
return m2({
|
|
6468
6468
|
width: e,
|
|
6469
6469
|
height: t,
|
|
6470
6470
|
color: a,
|
|
@@ -6472,11 +6472,11 @@ const Gt = ({
|
|
|
6472
6472
|
onClick: h
|
|
6473
6473
|
});
|
|
6474
6474
|
case "errorSmall":
|
|
6475
|
-
return m2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6476
|
-
case "infoMedium":
|
|
6477
6475
|
return k2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6476
|
+
case "infoMedium":
|
|
6477
|
+
return L2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6478
6478
|
case "attentionMedium":
|
|
6479
|
-
return
|
|
6479
|
+
return v2({
|
|
6480
6480
|
width: e,
|
|
6481
6481
|
height: t,
|
|
6482
6482
|
color: a,
|
|
@@ -6484,9 +6484,9 @@ const Gt = ({
|
|
|
6484
6484
|
onClick: h
|
|
6485
6485
|
});
|
|
6486
6486
|
case "errorMedium":
|
|
6487
|
-
return
|
|
6487
|
+
return N2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6488
6488
|
case "faviconSkills":
|
|
6489
|
-
return
|
|
6489
|
+
return E2({
|
|
6490
6490
|
width: e,
|
|
6491
6491
|
height: t,
|
|
6492
6492
|
color: a,
|
|
@@ -6494,7 +6494,7 @@ const Gt = ({
|
|
|
6494
6494
|
onClick: h
|
|
6495
6495
|
});
|
|
6496
6496
|
case "visibilityIcon":
|
|
6497
|
-
return
|
|
6497
|
+
return x2({
|
|
6498
6498
|
width: e,
|
|
6499
6499
|
height: t,
|
|
6500
6500
|
color: a,
|
|
@@ -6502,7 +6502,7 @@ const Gt = ({
|
|
|
6502
6502
|
onClick: h
|
|
6503
6503
|
});
|
|
6504
6504
|
case "visibilityOffIcon":
|
|
6505
|
-
return
|
|
6505
|
+
return R2({
|
|
6506
6506
|
width: e,
|
|
6507
6507
|
height: t,
|
|
6508
6508
|
color: a,
|
|
@@ -6510,7 +6510,7 @@ const Gt = ({
|
|
|
6510
6510
|
onClick: h
|
|
6511
6511
|
});
|
|
6512
6512
|
case "selectArrowIcon":
|
|
6513
|
-
return
|
|
6513
|
+
return M2({
|
|
6514
6514
|
width: e,
|
|
6515
6515
|
height: t,
|
|
6516
6516
|
color: a,
|
|
@@ -6518,7 +6518,7 @@ const Gt = ({
|
|
|
6518
6518
|
onClick: h
|
|
6519
6519
|
});
|
|
6520
6520
|
case "expandArrowIcon":
|
|
6521
|
-
return
|
|
6521
|
+
return y2({
|
|
6522
6522
|
width: e,
|
|
6523
6523
|
height: t,
|
|
6524
6524
|
color: a,
|
|
@@ -6526,7 +6526,7 @@ const Gt = ({
|
|
|
6526
6526
|
onClick: h
|
|
6527
6527
|
});
|
|
6528
6528
|
case "expandActiveArrowIcon":
|
|
6529
|
-
return
|
|
6529
|
+
return b2({
|
|
6530
6530
|
width: e,
|
|
6531
6531
|
height: t,
|
|
6532
6532
|
color: a,
|
|
@@ -6534,109 +6534,109 @@ const Gt = ({
|
|
|
6534
6534
|
onClick: h
|
|
6535
6535
|
});
|
|
6536
6536
|
case "camera":
|
|
6537
|
-
return E2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6538
|
-
case "sortUp":
|
|
6539
6537
|
return V2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6540
|
-
case "
|
|
6538
|
+
case "sortUp":
|
|
6541
6539
|
return _2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6542
|
-
case "
|
|
6540
|
+
case "sortDown":
|
|
6543
6541
|
return H2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6544
|
-
case "
|
|
6542
|
+
case "logOut2":
|
|
6545
6543
|
return I2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6546
|
-
case "
|
|
6544
|
+
case "search":
|
|
6547
6545
|
return S2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6546
|
+
case "handRock":
|
|
6547
|
+
return O2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6548
6548
|
case "arrowUpFilled":
|
|
6549
|
-
return
|
|
6549
|
+
return j2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6550
6550
|
case "arrowDownFilled":
|
|
6551
|
-
return
|
|
6551
|
+
return W2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6552
6552
|
case "link":
|
|
6553
|
-
return
|
|
6553
|
+
return Z2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6554
6554
|
case "telegram":
|
|
6555
|
-
return
|
|
6555
|
+
return T2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6556
6556
|
case "mail":
|
|
6557
|
-
return
|
|
6557
|
+
return K2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6558
6558
|
case "github":
|
|
6559
|
-
return
|
|
6559
|
+
return D2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6560
6560
|
case "linkedIn":
|
|
6561
|
-
return
|
|
6561
|
+
return G2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6562
6562
|
case "emptyStateIcon":
|
|
6563
|
-
return K2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6564
|
-
case "filtersIcon":
|
|
6565
6563
|
return P2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6566
|
-
case "
|
|
6564
|
+
case "filtersIcon":
|
|
6567
6565
|
return $2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6568
|
-
case "
|
|
6566
|
+
case "dotMenuIcon":
|
|
6569
6567
|
return F2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6570
|
-
case "
|
|
6568
|
+
case "plusCircle":
|
|
6571
6569
|
return Y2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6572
|
-
case "
|
|
6570
|
+
case "warning":
|
|
6573
6571
|
return U2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6574
|
-
case "
|
|
6572
|
+
case "back":
|
|
6575
6573
|
return z2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6574
|
+
case "bell":
|
|
6575
|
+
return J2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6576
6576
|
case "contract":
|
|
6577
|
-
return
|
|
6577
|
+
return q2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6578
6578
|
case "trash2":
|
|
6579
|
-
return
|
|
6579
|
+
return Q2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6580
6580
|
case "manager":
|
|
6581
|
-
return q2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6582
|
-
case "resourceManager":
|
|
6583
6581
|
return X2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6584
|
-
case "
|
|
6582
|
+
case "resourceManager":
|
|
6585
6583
|
return ei({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6586
|
-
case "
|
|
6584
|
+
case "settings2":
|
|
6587
6585
|
return ti({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6588
|
-
case "
|
|
6586
|
+
case "image":
|
|
6589
6587
|
return ii({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6590
|
-
case "
|
|
6588
|
+
case "upload":
|
|
6591
6589
|
return si({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6592
|
-
case "
|
|
6590
|
+
case "edit":
|
|
6593
6591
|
return ni({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6594
|
-
case "
|
|
6592
|
+
case "location":
|
|
6595
6593
|
return ri({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6596
|
-
case "
|
|
6594
|
+
case "plus2":
|
|
6597
6595
|
return oi({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6598
|
-
case "
|
|
6596
|
+
case "search2":
|
|
6599
6597
|
return li({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6600
|
-
case "
|
|
6598
|
+
case "fastArrowLeft":
|
|
6601
6599
|
return ai({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6602
|
-
case "
|
|
6600
|
+
case "fastArrowRight":
|
|
6603
6601
|
return hi({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6602
|
+
case "crossInCircle":
|
|
6603
|
+
return ci({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6604
6604
|
case "arrowUp2":
|
|
6605
|
-
return
|
|
6605
|
+
return gi({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6606
6606
|
case "arrowDown2":
|
|
6607
|
-
return
|
|
6607
|
+
return di({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6608
6608
|
case "filledArrowLeft":
|
|
6609
|
-
return gi({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6610
|
-
case "filledArrowRight":
|
|
6611
6609
|
return ui({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6612
|
-
case "
|
|
6610
|
+
case "filledArrowRight":
|
|
6613
6611
|
return Ci({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6614
|
-
case "
|
|
6612
|
+
case "burgerMenu":
|
|
6615
6613
|
return pi({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6616
|
-
case "
|
|
6614
|
+
case "signOut":
|
|
6617
6615
|
return fi({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6616
|
+
case "refresh":
|
|
6617
|
+
return wi({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6618
6618
|
default:
|
|
6619
6619
|
return /* @__PURE__ */ r(q, { children: "No Icon provided" });
|
|
6620
6620
|
}
|
|
6621
6621
|
})() });
|
|
6622
6622
|
};
|
|
6623
|
-
var
|
|
6624
|
-
const
|
|
6623
|
+
var F1 = /* @__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))(F1 || {});
|
|
6624
|
+
const ki = n1({
|
|
6625
6625
|
locale: "en",
|
|
6626
6626
|
theme: "light"
|
|
6627
6627
|
});
|
|
6628
|
-
|
|
6629
|
-
const
|
|
6628
|
+
ki.Provider;
|
|
6629
|
+
const Y1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: n = !0 }) => {
|
|
6630
6630
|
const l = t === "small" ? 10 : 12.5;
|
|
6631
6631
|
return /* @__PURE__ */ r(
|
|
6632
|
-
|
|
6632
|
+
G1,
|
|
6633
6633
|
{
|
|
6634
6634
|
className: `snmt-tag ${t}`,
|
|
6635
6635
|
closeIcon: /* @__PURE__ */ r(
|
|
6636
|
-
|
|
6636
|
+
mi,
|
|
6637
6637
|
{
|
|
6638
6638
|
name: "errorSmall",
|
|
6639
|
-
color:
|
|
6639
|
+
color: F1.GREY_DARK_2,
|
|
6640
6640
|
width: l,
|
|
6641
6641
|
height: l,
|
|
6642
6642
|
onClick: s
|
|
@@ -6645,15 +6645,15 @@ const F1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: n
|
|
|
6645
6645
|
bordered: !1,
|
|
6646
6646
|
style: { width: e ?? "fit-content" },
|
|
6647
6647
|
closable: n,
|
|
6648
|
-
children: typeof i == "string" ? /* @__PURE__ */ r(
|
|
6648
|
+
children: typeof i == "string" ? /* @__PURE__ */ r(Gt, { variant: t === "small" ? "body4" : "body2", children: i }) : i
|
|
6649
6649
|
}
|
|
6650
6650
|
);
|
|
6651
|
-
}, { Title:
|
|
6651
|
+
}, { Title: Li, Text: vi } = T1, Ni = {
|
|
6652
6652
|
h1: 1,
|
|
6653
6653
|
h2: 2,
|
|
6654
6654
|
h3: 3,
|
|
6655
6655
|
h4: 4
|
|
6656
|
-
},
|
|
6656
|
+
}, U1 = r1(
|
|
6657
6657
|
({
|
|
6658
6658
|
align: i = "inherit",
|
|
6659
6659
|
variant: e = "body1",
|
|
@@ -6666,17 +6666,17 @@ const F1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: n
|
|
|
6666
6666
|
const d = e === "h1" || e === "h2" || e === "h3" || e === "h4";
|
|
6667
6667
|
let g = `snmt-typography snmt-typography-${e}`;
|
|
6668
6668
|
return i && i !== "inherit" && (g += ` snmt-typography-align-${i}`), l && (g += " collapsed"), d ? /* @__PURE__ */ r(
|
|
6669
|
-
|
|
6669
|
+
Li,
|
|
6670
6670
|
{
|
|
6671
6671
|
className: g,
|
|
6672
6672
|
style: { color: t, whiteSpace: c },
|
|
6673
6673
|
onClick: n,
|
|
6674
|
-
level:
|
|
6674
|
+
level: Ni[e],
|
|
6675
6675
|
ref: o,
|
|
6676
6676
|
children: s
|
|
6677
6677
|
}
|
|
6678
6678
|
) : /* @__PURE__ */ r(
|
|
6679
|
-
|
|
6679
|
+
vi,
|
|
6680
6680
|
{
|
|
6681
6681
|
className: g,
|
|
6682
6682
|
style: { color: t, whiteSpace: c },
|
|
@@ -6686,7 +6686,7 @@ const F1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: n
|
|
|
6686
6686
|
}
|
|
6687
6687
|
);
|
|
6688
6688
|
}
|
|
6689
|
-
),
|
|
6689
|
+
), xi = ({
|
|
6690
6690
|
children: i,
|
|
6691
6691
|
content: e,
|
|
6692
6692
|
isOpen: t,
|
|
@@ -6696,7 +6696,7 @@ const F1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: n
|
|
|
6696
6696
|
}) => {
|
|
6697
6697
|
const [c, o] = I(!1);
|
|
6698
6698
|
return /* @__PURE__ */ r(
|
|
6699
|
-
|
|
6699
|
+
oe,
|
|
6700
6700
|
{
|
|
6701
6701
|
content: e,
|
|
6702
6702
|
arrow: !1,
|
|
@@ -6710,7 +6710,7 @@ const F1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: n
|
|
|
6710
6710
|
children: /* @__PURE__ */ r("div", { className: "wrapper", children: i })
|
|
6711
6711
|
}
|
|
6712
6712
|
);
|
|
6713
|
-
},
|
|
6713
|
+
}, Ri = ({
|
|
6714
6714
|
values: i,
|
|
6715
6715
|
onTagClose: e,
|
|
6716
6716
|
maxWidth: t,
|
|
@@ -6732,12 +6732,12 @@ const F1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: n
|
|
|
6732
6732
|
return ((h = n == null ? void 0 : n.find((p) => p.value === a)) == null ? void 0 : h.label) || ((C = l == null ? void 0 : l.find((p) => p.value === a)) == null ? void 0 : C.label) || a;
|
|
6733
6733
|
};
|
|
6734
6734
|
return /* @__PURE__ */ r("div", { onMouseDown: d, className: "wrapper", children: /* @__PURE__ */ r(
|
|
6735
|
-
|
|
6735
|
+
xi,
|
|
6736
6736
|
{
|
|
6737
6737
|
content: (
|
|
6738
6738
|
// 90: paddings + margins + gaps and so on
|
|
6739
|
-
/* @__PURE__ */ r("div", { style: { maxWidth: t - 90 }, children: /* @__PURE__ */ r(
|
|
6740
|
-
|
|
6739
|
+
/* @__PURE__ */ r("div", { style: { maxWidth: t - 90 }, children: /* @__PURE__ */ r(h1, { gap: 6, flexWrap: "wrap", children: i.map(({ value: a }) => /* @__PURE__ */ r(
|
|
6740
|
+
Y1,
|
|
6741
6741
|
{
|
|
6742
6742
|
onClose: () => e(a),
|
|
6743
6743
|
closable: !s,
|
|
@@ -6749,13 +6749,21 @@ const F1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: n
|
|
|
6749
6749
|
placement: "bottomRight",
|
|
6750
6750
|
isOpen: c,
|
|
6751
6751
|
setIsOpen: o,
|
|
6752
|
-
children: /* @__PURE__ */ r(
|
|
6752
|
+
children: /* @__PURE__ */ r(G1, { className: `overflow-button ${c ? "open" : ""}`, bordered: !1, children: /* @__PURE__ */ u(U1, { variant: "body4", color: c ? Q.BLUE_PRIMARY : void 0, children: [
|
|
6753
6753
|
i.length,
|
|
6754
6754
|
" more"
|
|
6755
6755
|
] }) })
|
|
6756
6756
|
}
|
|
6757
6757
|
) });
|
|
6758
|
-
},
|
|
6758
|
+
}, Mi = ({ size: i = 30, color: e = "#004ed7" }) => {
|
|
6759
|
+
const t = `no-repeat linear-gradient(${e}
|
|
6760
|
+
calc(50% - 10px), #0000 0 calc(50% + 10px), ${e} 0)`, s = {
|
|
6761
|
+
width: i,
|
|
6762
|
+
background: `${t} 0% 100%, ${t} 50% 100%, ${t} 100% 100%`,
|
|
6763
|
+
backgroundSize: "20% calc(200% + 20px)"
|
|
6764
|
+
};
|
|
6765
|
+
return /* @__PURE__ */ r("span", { className: "snmt-loader", style: s });
|
|
6766
|
+
}, M1 = r1(
|
|
6759
6767
|
({
|
|
6760
6768
|
value: i,
|
|
6761
6769
|
onChange: e,
|
|
@@ -6771,141 +6779,142 @@ const F1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: n
|
|
|
6771
6779
|
onDropdownVisibleChange: h,
|
|
6772
6780
|
onScrollToEnd: C,
|
|
6773
6781
|
onPopupScroll: p,
|
|
6774
|
-
id:
|
|
6775
|
-
extraOptions:
|
|
6776
|
-
|
|
6777
|
-
|
|
6782
|
+
id: w,
|
|
6783
|
+
extraOptions: N,
|
|
6784
|
+
isLoading: x
|
|
6785
|
+
}, V) => {
|
|
6786
|
+
const [y, H] = I(!1), [f, m] = I(!1), [M, R] = I(!0), [b, O] = I(i), E = p1(null);
|
|
6778
6787
|
Z(() => {
|
|
6779
|
-
|
|
6788
|
+
O(i);
|
|
6780
6789
|
}, [i]);
|
|
6781
|
-
const
|
|
6782
|
-
|
|
6783
|
-
},
|
|
6784
|
-
var
|
|
6785
|
-
return !!((
|
|
6786
|
-
}, K = () => {
|
|
6787
|
-
f(!0);
|
|
6790
|
+
const W = (k) => {
|
|
6791
|
+
H(k), h && h(k);
|
|
6792
|
+
}, P = (k, _) => {
|
|
6793
|
+
var K;
|
|
6794
|
+
return !!((K = _ == null ? void 0 : _.label) != null && K.toString().toLowerCase().includes(k.toLowerCase()));
|
|
6788
6795
|
}, j = () => {
|
|
6789
|
-
|
|
6790
|
-
},
|
|
6791
|
-
|
|
6792
|
-
|
|
6793
|
-
|
|
6796
|
+
m(!0);
|
|
6797
|
+
}, B = () => {
|
|
6798
|
+
m(!1);
|
|
6799
|
+
}, D = (k) => {
|
|
6800
|
+
if (O(k), s) {
|
|
6801
|
+
const K = k;
|
|
6802
|
+
e == null || e(K);
|
|
6794
6803
|
return;
|
|
6795
6804
|
}
|
|
6796
|
-
const _ =
|
|
6805
|
+
const _ = k;
|
|
6797
6806
|
e == null || e(_);
|
|
6798
|
-
},
|
|
6807
|
+
}, U = () => {
|
|
6799
6808
|
if (s) {
|
|
6800
|
-
|
|
6809
|
+
D([]);
|
|
6801
6810
|
return;
|
|
6802
6811
|
}
|
|
6803
|
-
|
|
6804
|
-
},
|
|
6805
|
-
const _ =
|
|
6806
|
-
|
|
6807
|
-
},
|
|
6812
|
+
D("");
|
|
6813
|
+
}, X = (k) => {
|
|
6814
|
+
const _ = b.filter((K) => K !== k);
|
|
6815
|
+
D(_), O(_);
|
|
6816
|
+
}, A = (k) => (b == null ? void 0 : b.indexOf(k)) === 0 ? (
|
|
6808
6817
|
// if the search input is empty
|
|
6809
6818
|
// then display the placeholder, else do not display it
|
|
6810
|
-
/* @__PURE__ */ r("span", { className: "custom-placeholder", children:
|
|
6811
|
-
) : /* @__PURE__ */ r(q, {}),
|
|
6812
|
-
|
|
6813
|
-
},
|
|
6814
|
-
const { target: _ } =
|
|
6815
|
-
_.scrollTop + _.offsetHeight >= _.scrollHeight - g && (C == null || C(!0)), p && await p(
|
|
6816
|
-
},
|
|
6817
|
-
var _,
|
|
6818
|
-
return ((_ = l.find((
|
|
6819
|
+
/* @__PURE__ */ r("span", { className: "custom-placeholder", children: M ? t : "" })
|
|
6820
|
+
) : /* @__PURE__ */ r(q, {}), G = (k) => {
|
|
6821
|
+
k.preventDefault(), k.stopPropagation();
|
|
6822
|
+
}, F = async (k) => {
|
|
6823
|
+
const { target: _ } = k;
|
|
6824
|
+
_.scrollTop + _.offsetHeight >= _.scrollHeight - g && (C == null || C(!0)), p && await p(k);
|
|
6825
|
+
}, e1 = (k) => {
|
|
6826
|
+
var _, K;
|
|
6827
|
+
return ((_ = l.find((w1) => w1.value === k)) == null ? void 0 : _.label) || ((K = N == null ? void 0 : N.find((w1) => w1.value === k)) == null ? void 0 : K.label) || k;
|
|
6819
6828
|
};
|
|
6820
6829
|
return /* @__PURE__ */ u(
|
|
6821
6830
|
"div",
|
|
6822
6831
|
{
|
|
6823
|
-
className: `snmt-select ${
|
|
6832
|
+
className: `snmt-select ${f ? "snmt-select-focused" : ""}
|
|
6824
6833
|
${s ? "" : "snmt-select-single"}`,
|
|
6825
|
-
ref:
|
|
6834
|
+
ref: E,
|
|
6826
6835
|
style: { width: c },
|
|
6827
6836
|
children: [
|
|
6828
6837
|
/* @__PURE__ */ r(
|
|
6829
|
-
|
|
6838
|
+
ie,
|
|
6830
6839
|
{
|
|
6831
6840
|
className: "snmt-select-blank",
|
|
6832
|
-
id:
|
|
6833
|
-
ref:
|
|
6841
|
+
id: w,
|
|
6842
|
+
ref: V,
|
|
6834
6843
|
showSearch: !!n,
|
|
6835
|
-
filterOption: n &&
|
|
6836
|
-
onDropdownVisibleChange:
|
|
6844
|
+
filterOption: n && P,
|
|
6845
|
+
onDropdownVisibleChange: W,
|
|
6837
6846
|
placeholder: t ? d ? `${t}*` : t : void 0,
|
|
6838
6847
|
disabled: o,
|
|
6839
|
-
value:
|
|
6840
|
-
labelRender: (
|
|
6848
|
+
value: b || void 0,
|
|
6849
|
+
labelRender: (k) => e1(k.value),
|
|
6841
6850
|
mode: s === "filter" ? "multiple" : s,
|
|
6842
|
-
onChange:
|
|
6843
|
-
onFocus:
|
|
6844
|
-
onBlur:
|
|
6845
|
-
onSearch: (
|
|
6846
|
-
|
|
6851
|
+
onChange: D,
|
|
6852
|
+
onFocus: j,
|
|
6853
|
+
onBlur: B,
|
|
6854
|
+
onSearch: (k) => {
|
|
6855
|
+
R(!k), a && a(k);
|
|
6847
6856
|
},
|
|
6848
|
-
onSelect: () =>
|
|
6849
|
-
onDeselect: () =>
|
|
6857
|
+
onSelect: () => R(!0),
|
|
6858
|
+
onDeselect: () => R(!0),
|
|
6850
6859
|
tagRender: s === "filter" ? (
|
|
6851
6860
|
// HACK to prevent showing selected options in input
|
|
6852
|
-
(
|
|
6853
|
-
) : (
|
|
6854
|
-
const _ = typeof
|
|
6855
|
-
return /* @__PURE__ */ r("div", { onMouseDown:
|
|
6856
|
-
|
|
6861
|
+
(k) => A(k.value)
|
|
6862
|
+
) : (k) => {
|
|
6863
|
+
const _ = typeof k.label == "object";
|
|
6864
|
+
return /* @__PURE__ */ r("div", { onMouseDown: G, className: "tag-wrapper", children: /* @__PURE__ */ r(
|
|
6865
|
+
Y1,
|
|
6857
6866
|
{
|
|
6858
|
-
onClose: () =>
|
|
6867
|
+
onClose: () => X(k.value),
|
|
6859
6868
|
closable: !o,
|
|
6860
|
-
children: /* @__PURE__ */ r(
|
|
6869
|
+
children: /* @__PURE__ */ r(U1, { variant: "body4", children: _ ? k.label : e1(k.value) })
|
|
6861
6870
|
}
|
|
6862
6871
|
) });
|
|
6863
6872
|
},
|
|
6864
6873
|
maxTagCount: "responsive",
|
|
6865
|
-
maxTagPlaceholder: (
|
|
6874
|
+
maxTagPlaceholder: (k) => {
|
|
6866
6875
|
var _;
|
|
6867
6876
|
return /* @__PURE__ */ r(
|
|
6868
|
-
|
|
6877
|
+
Ri,
|
|
6869
6878
|
{
|
|
6870
|
-
values:
|
|
6871
|
-
onTagClose:
|
|
6872
|
-
maxWidth: ((_ =
|
|
6879
|
+
values: k,
|
|
6880
|
+
onTagClose: X,
|
|
6881
|
+
maxWidth: ((_ = E.current) == null ? void 0 : _.clientWidth) || 0,
|
|
6873
6882
|
disabled: o,
|
|
6874
6883
|
options: l,
|
|
6875
|
-
extraOptions:
|
|
6884
|
+
extraOptions: N
|
|
6876
6885
|
}
|
|
6877
6886
|
);
|
|
6878
6887
|
},
|
|
6879
|
-
onPopupScroll:
|
|
6888
|
+
onPopupScroll: F,
|
|
6880
6889
|
suffixIcon: /* @__PURE__ */ r("div", { className: "wrapper-suffix-icon", children: s !== "filter" && /* @__PURE__ */ u(q, { children: [
|
|
6881
|
-
s &&
|
|
6890
|
+
s && b && !!b.length && /* @__PURE__ */ r("div", { onClick: U, children: /* @__PURE__ */ r(l1, { name: "cancel" }) }),
|
|
6882
6891
|
/* @__PURE__ */ r(
|
|
6883
|
-
|
|
6892
|
+
l1,
|
|
6884
6893
|
{
|
|
6885
6894
|
name: "selectArrowIcon",
|
|
6886
6895
|
color: o ? Q.GREY_DARK_1 : Q.GREY_DARK_5,
|
|
6887
|
-
className:
|
|
6888
|
-
onClick: () =>
|
|
6896
|
+
className: y ? "select-arrow-rotated" : "select-arrow",
|
|
6897
|
+
onClick: () => H(!y)
|
|
6889
6898
|
}
|
|
6890
6899
|
)
|
|
6891
6900
|
] }) }),
|
|
6892
|
-
removeIcon: /* @__PURE__ */ r(
|
|
6901
|
+
removeIcon: /* @__PURE__ */ r(l1, { name: "errorSmall", color: Q.GREY_DARK_2 }),
|
|
6893
6902
|
options: l,
|
|
6894
|
-
optionRender: (
|
|
6895
|
-
/* @__PURE__ */ u(
|
|
6903
|
+
optionRender: (k) => /* @__PURE__ */ u(h1, { justifyContent: "space-between", alignItems: "center", flex: "1", children: [
|
|
6904
|
+
/* @__PURE__ */ u(h1, { alignItems: "center", gap: 12, children: [
|
|
6896
6905
|
s && /* @__PURE__ */ r(
|
|
6897
|
-
|
|
6906
|
+
he,
|
|
6898
6907
|
{
|
|
6899
|
-
checked: !!(
|
|
6908
|
+
checked: !!(b != null && b.includes(k.value))
|
|
6900
6909
|
}
|
|
6901
6910
|
),
|
|
6902
|
-
/* @__PURE__ */ u(
|
|
6903
|
-
|
|
6904
|
-
/* @__PURE__ */ r("span", { children:
|
|
6911
|
+
/* @__PURE__ */ u(h1, { alignItems: "center", gap: 8, children: [
|
|
6912
|
+
k.data.image && /* @__PURE__ */ r(ae, { src: k.data.image, size: 20 }),
|
|
6913
|
+
/* @__PURE__ */ r("span", { children: k.label })
|
|
6905
6914
|
] })
|
|
6906
6915
|
] }),
|
|
6907
|
-
!s &&
|
|
6908
|
-
|
|
6916
|
+
!s && b === k.value && /* @__PURE__ */ r(
|
|
6917
|
+
l1,
|
|
6909
6918
|
{
|
|
6910
6919
|
name: "ok",
|
|
6911
6920
|
color: Q.BLUE_PRIMARY,
|
|
@@ -6913,13 +6922,24 @@ const F1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: n
|
|
|
6913
6922
|
height: 16
|
|
6914
6923
|
}
|
|
6915
6924
|
)
|
|
6916
|
-
] })
|
|
6925
|
+
] }),
|
|
6926
|
+
dropdownRender: x ? () => /* @__PURE__ */ r(
|
|
6927
|
+
"div",
|
|
6928
|
+
{
|
|
6929
|
+
style: {
|
|
6930
|
+
padding: "16px",
|
|
6931
|
+
display: "grid",
|
|
6932
|
+
justifyContent: "center"
|
|
6933
|
+
},
|
|
6934
|
+
children: /* @__PURE__ */ r(Mi, { size: 28 })
|
|
6935
|
+
}
|
|
6936
|
+
) : void 0
|
|
6917
6937
|
}
|
|
6918
6938
|
),
|
|
6919
6939
|
/* @__PURE__ */ r(
|
|
6920
6940
|
"fieldset",
|
|
6921
6941
|
{
|
|
6922
|
-
className: `${
|
|
6942
|
+
className: `${f ? "fieldset-focused" : ""}
|
|
6923
6943
|
${o ? "fieldset-disabled" : ""}
|
|
6924
6944
|
${typeof i == "string" && i ? "fieldset-filled" : ""}
|
|
6925
6945
|
${typeof i == "object" && i != null && i.length ? "fieldset-filled" : ""}`,
|
|
@@ -6931,8 +6951,8 @@ const F1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: n
|
|
|
6931
6951
|
);
|
|
6932
6952
|
}
|
|
6933
6953
|
);
|
|
6934
|
-
function
|
|
6935
|
-
const t =
|
|
6954
|
+
function yi(i, e = 500) {
|
|
6955
|
+
const t = p1();
|
|
6936
6956
|
return Z(() => () => {
|
|
6937
6957
|
t.current && clearTimeout(t.current);
|
|
6938
6958
|
}, []), (...s) => {
|
|
@@ -6942,10 +6962,10 @@ function Ri(i, e = 500) {
|
|
|
6942
6962
|
clearTimeout(t.current), t.current = n;
|
|
6943
6963
|
};
|
|
6944
6964
|
}
|
|
6945
|
-
const
|
|
6965
|
+
const m1 = {
|
|
6946
6966
|
limit: 100,
|
|
6947
6967
|
offset: 0
|
|
6948
|
-
},
|
|
6968
|
+
}, y1 = r1(
|
|
6949
6969
|
({
|
|
6950
6970
|
loadOptions: i,
|
|
6951
6971
|
width: e,
|
|
@@ -6959,32 +6979,32 @@ const w1 = {
|
|
|
6959
6979
|
loadOnClosedState: g,
|
|
6960
6980
|
extraOptions: a
|
|
6961
6981
|
}, h) => {
|
|
6962
|
-
const [C, p] = I([]), [
|
|
6982
|
+
const [C, p] = I([]), [w, N] = I(m1), [x, V] = I(!1), [y, H] = I(null), f = $(
|
|
6963
6983
|
async (E = !1, W) => {
|
|
6964
|
-
if (!
|
|
6965
|
-
|
|
6984
|
+
if (!x) {
|
|
6985
|
+
V(!0);
|
|
6966
6986
|
try {
|
|
6967
|
-
const
|
|
6987
|
+
const P = E ? { ...m1, search: W } : w, j = await i(P);
|
|
6968
6988
|
p(
|
|
6969
|
-
(
|
|
6970
|
-
), H(j.count),
|
|
6971
|
-
...
|
|
6972
|
-
offset:
|
|
6989
|
+
(B) => E ? j.options : [...B, ...j.options]
|
|
6990
|
+
), H(j.count), N((B) => ({
|
|
6991
|
+
...B,
|
|
6992
|
+
offset: B.offset + B.limit
|
|
6973
6993
|
}));
|
|
6974
6994
|
} finally {
|
|
6975
|
-
|
|
6995
|
+
V(!1);
|
|
6976
6996
|
}
|
|
6977
6997
|
}
|
|
6978
6998
|
},
|
|
6979
|
-
[
|
|
6980
|
-
),
|
|
6999
|
+
[w, i, x]
|
|
7000
|
+
), m = yi(f), M = $(
|
|
6981
7001
|
(E) => {
|
|
6982
|
-
(E === "" || E === void 0 || E === null) &&
|
|
7002
|
+
(E === "" || E === void 0 || E === null) && N(m1), m(!0, E);
|
|
6983
7003
|
},
|
|
6984
|
-
[
|
|
6985
|
-
),
|
|
7004
|
+
[m]
|
|
7005
|
+
), R = async (E) => {
|
|
6986
7006
|
E && y !== null && y > C.length && await f(!1);
|
|
6987
|
-
},
|
|
7007
|
+
}, b = $(
|
|
6988
7008
|
(E) => {
|
|
6989
7009
|
E && !g && f(!1);
|
|
6990
7010
|
},
|
|
@@ -6994,7 +7014,7 @@ const w1 = {
|
|
|
6994
7014
|
Z(() => {
|
|
6995
7015
|
g && f(!1);
|
|
6996
7016
|
}, []);
|
|
6997
|
-
const
|
|
7017
|
+
const O = {
|
|
6998
7018
|
id: n,
|
|
6999
7019
|
width: e,
|
|
7000
7020
|
options: C,
|
|
@@ -7004,18 +7024,19 @@ const w1 = {
|
|
|
7004
7024
|
search: !0,
|
|
7005
7025
|
value: s,
|
|
7006
7026
|
onSearchChange: M,
|
|
7007
|
-
onDropdownVisibleChange:
|
|
7027
|
+
onDropdownVisibleChange: b,
|
|
7008
7028
|
scrollThresholdValue: c,
|
|
7009
|
-
onScrollToEnd:
|
|
7029
|
+
onScrollToEnd: R,
|
|
7010
7030
|
loadOnClosedState: g,
|
|
7011
7031
|
disabled: l,
|
|
7012
|
-
extraOptions: a
|
|
7032
|
+
extraOptions: a,
|
|
7033
|
+
isLoading: x
|
|
7013
7034
|
};
|
|
7014
|
-
return d ? /* @__PURE__ */ r(
|
|
7035
|
+
return d ? /* @__PURE__ */ r(M1, { ...O, onChange: t, value: s, mode: d }) : /* @__PURE__ */ r("div", { className: "snmt-async-select", children: /* @__PURE__ */ r(M1, { ...O, onChange: t, value: s }) });
|
|
7015
7036
|
}
|
|
7016
7037
|
);
|
|
7017
|
-
var
|
|
7018
|
-
const
|
|
7038
|
+
var c1 = /* @__PURE__ */ ((i) => (i.ACTIVE = "Active", i.ARCHIVED = "Archived", i))(c1 || {});
|
|
7039
|
+
const bi = ({ size: i = 30, color: e = "#004ed7" }) => {
|
|
7019
7040
|
const t = `no-repeat linear-gradient(${e}
|
|
7020
7041
|
calc(50% - 10px), #0000 0 calc(50% + 10px), ${e} 0)`, s = {
|
|
7021
7042
|
width: i,
|
|
@@ -7024,20 +7045,20 @@ const Mi = ({ size: i = 30, color: e = "#004ed7" }) => {
|
|
|
7024
7045
|
};
|
|
7025
7046
|
return /* @__PURE__ */ r("span", { className: "snmt-loader", style: s });
|
|
7026
7047
|
};
|
|
7027
|
-
function
|
|
7048
|
+
function Ei() {
|
|
7028
7049
|
if (console && console.warn) {
|
|
7029
7050
|
for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
|
|
7030
7051
|
e[t] = arguments[t];
|
|
7031
|
-
|
|
7052
|
+
Y(e[0]) && (e[0] = `react-i18next:: ${e[0]}`), console.warn(...e);
|
|
7032
7053
|
}
|
|
7033
7054
|
}
|
|
7034
|
-
const
|
|
7035
|
-
function
|
|
7055
|
+
const b1 = {};
|
|
7056
|
+
function v1() {
|
|
7036
7057
|
for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
|
|
7037
7058
|
e[t] = arguments[t];
|
|
7038
|
-
|
|
7059
|
+
Y(e[0]) && b1[e[0]] || (Y(e[0]) && (b1[e[0]] = /* @__PURE__ */ new Date()), Ei(...e));
|
|
7039
7060
|
}
|
|
7040
|
-
const
|
|
7061
|
+
const z1 = (i, e) => () => {
|
|
7041
7062
|
if (i.isInitialized)
|
|
7042
7063
|
e();
|
|
7043
7064
|
else {
|
|
@@ -7048,13 +7069,13 @@ const U1 = (i, e) => () => {
|
|
|
7048
7069
|
};
|
|
7049
7070
|
i.on("initialized", t);
|
|
7050
7071
|
}
|
|
7051
|
-
},
|
|
7052
|
-
i.loadNamespaces(e,
|
|
7053
|
-
},
|
|
7054
|
-
|
|
7072
|
+
}, E1 = (i, e, t) => {
|
|
7073
|
+
i.loadNamespaces(e, z1(i, t));
|
|
7074
|
+
}, V1 = (i, e, t, s) => {
|
|
7075
|
+
Y(t) && (t = [t]), t.forEach((n) => {
|
|
7055
7076
|
i.options.ns.indexOf(n) < 0 && i.options.ns.push(n);
|
|
7056
|
-
}), i.loadLanguages(e,
|
|
7057
|
-
},
|
|
7077
|
+
}), i.loadLanguages(e, z1(i, s));
|
|
7078
|
+
}, Vi = function(i, e) {
|
|
7058
7079
|
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
7059
7080
|
const s = e.languages[0], n = e.options ? e.options.fallbackLng : !1, l = e.languages[e.languages.length - 1];
|
|
7060
7081
|
if (s.toLowerCase() === "cimode") return !0;
|
|
@@ -7063,15 +7084,15 @@ const U1 = (i, e) => () => {
|
|
|
7063
7084
|
return g === -1 || g === 2;
|
|
7064
7085
|
};
|
|
7065
7086
|
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)));
|
|
7066
|
-
},
|
|
7087
|
+
}, _i = function(i, e) {
|
|
7067
7088
|
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
7068
|
-
return !e.languages || !e.languages.length ? (
|
|
7089
|
+
return !e.languages || !e.languages.length ? (v1("i18n.languages were undefined or empty", e.languages), !0) : e.options.ignoreJSONStructure !== void 0 ? e.hasLoadedNamespace(i, {
|
|
7069
7090
|
lng: t.lng,
|
|
7070
7091
|
precheck: (n, l) => {
|
|
7071
7092
|
if (t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && n.services.backendConnector.backend && n.isLanguageChangingTo && !l(n.isLanguageChangingTo, i)) return !1;
|
|
7072
7093
|
}
|
|
7073
|
-
}) :
|
|
7074
|
-
},
|
|
7094
|
+
}) : Vi(i, e, t);
|
|
7095
|
+
}, Y = (i) => typeof i == "string", Hi = (i) => typeof i == "object" && i !== null, Ii = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, Si = {
|
|
7075
7096
|
"&": "&",
|
|
7076
7097
|
"&": "&",
|
|
7077
7098
|
"<": "<",
|
|
@@ -7092,8 +7113,8 @@ const U1 = (i, e) => () => {
|
|
|
7092
7113
|
"…": "…",
|
|
7093
7114
|
"/": "/",
|
|
7094
7115
|
"/": "/"
|
|
7095
|
-
},
|
|
7096
|
-
let
|
|
7116
|
+
}, Oi = (i) => Si[i], Ai = (i) => i.replace(Ii, Oi);
|
|
7117
|
+
let N1 = {
|
|
7097
7118
|
bindI18n: "languageChanged",
|
|
7098
7119
|
bindI18nStore: "",
|
|
7099
7120
|
transEmptyNodeValue: "",
|
|
@@ -7101,27 +7122,27 @@ let v1 = {
|
|
|
7101
7122
|
transWrapTextNodes: "",
|
|
7102
7123
|
transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"],
|
|
7103
7124
|
useSuspense: !0,
|
|
7104
|
-
unescape:
|
|
7125
|
+
unescape: Ai
|
|
7105
7126
|
};
|
|
7106
|
-
const
|
|
7127
|
+
const Bi = function() {
|
|
7107
7128
|
let i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
7108
|
-
|
|
7109
|
-
...
|
|
7129
|
+
N1 = {
|
|
7130
|
+
...N1,
|
|
7110
7131
|
...i
|
|
7111
7132
|
};
|
|
7112
|
-
},
|
|
7113
|
-
let
|
|
7114
|
-
const
|
|
7115
|
-
|
|
7116
|
-
},
|
|
7133
|
+
}, Wi = () => N1;
|
|
7134
|
+
let J1;
|
|
7135
|
+
const ji = (i) => {
|
|
7136
|
+
J1 = i;
|
|
7137
|
+
}, Zi = () => J1, Di = {
|
|
7117
7138
|
type: "3rdParty",
|
|
7118
7139
|
init(i) {
|
|
7119
|
-
|
|
7140
|
+
Bi(i.options.react), ji(i);
|
|
7120
7141
|
}
|
|
7121
|
-
},
|
|
7122
|
-
class
|
|
7142
|
+
}, Ti = n1();
|
|
7143
|
+
class Gi {
|
|
7123
7144
|
constructor() {
|
|
7124
|
-
|
|
7145
|
+
R1(this, "getUsedNamespaces", () => Object.keys(this.usedNamespaces));
|
|
7125
7146
|
this.usedNamespaces = {};
|
|
7126
7147
|
}
|
|
7127
7148
|
addUsedNamespaces(e) {
|
|
@@ -7130,27 +7151,27 @@ class Di {
|
|
|
7130
7151
|
});
|
|
7131
7152
|
}
|
|
7132
7153
|
}
|
|
7133
|
-
const
|
|
7134
|
-
const t =
|
|
7154
|
+
const Ki = (i, e) => {
|
|
7155
|
+
const t = p1();
|
|
7135
7156
|
return Z(() => {
|
|
7136
7157
|
t.current = i;
|
|
7137
7158
|
}, [i, e]), t.current;
|
|
7138
|
-
},
|
|
7159
|
+
}, Q1 = (i, e, t, s) => i.getFixedT(e, t, s), Pi = (i, e, t, s) => $(Q1(i, e, t, s), [i, e, t, s]), $i = function(i) {
|
|
7139
7160
|
let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
7140
7161
|
const {
|
|
7141
7162
|
i18n: t
|
|
7142
7163
|
} = e, {
|
|
7143
7164
|
i18n: s,
|
|
7144
7165
|
defaultNS: n
|
|
7145
|
-
} =
|
|
7146
|
-
if (l && !l.reportNamespaces && (l.reportNamespaces = new
|
|
7147
|
-
|
|
7148
|
-
const f = (M,
|
|
7149
|
-
return
|
|
7166
|
+
} = o1(Ti) || {}, l = t || s || Zi();
|
|
7167
|
+
if (l && !l.reportNamespaces && (l.reportNamespaces = new Gi()), !l) {
|
|
7168
|
+
v1("You will need to pass in an i18next instance by using initReactI18next");
|
|
7169
|
+
const f = (M, R) => Y(R) ? R : Hi(R) && Y(R.defaultValue) ? R.defaultValue : Array.isArray(M) ? M[M.length - 1] : M, m = [f, {}, !1];
|
|
7170
|
+
return m.t = f, m.i18n = {}, m.ready = !1, m;
|
|
7150
7171
|
}
|
|
7151
|
-
l.options.react && l.options.react.wait !== void 0 &&
|
|
7172
|
+
l.options.react && l.options.react.wait !== void 0 && v1("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
|
|
7152
7173
|
const c = {
|
|
7153
|
-
...
|
|
7174
|
+
...Wi(),
|
|
7154
7175
|
...l.options.react,
|
|
7155
7176
|
...e
|
|
7156
7177
|
}, {
|
|
@@ -7158,36 +7179,36 @@ const Ti = (i, e) => {
|
|
|
7158
7179
|
keyPrefix: d
|
|
7159
7180
|
} = c;
|
|
7160
7181
|
let g = i;
|
|
7161
|
-
g =
|
|
7162
|
-
const a = (l.isInitialized || l.initializedStoreOnce) && g.every((f) =>
|
|
7163
|
-
let
|
|
7164
|
-
e.lng && (
|
|
7165
|
-
const
|
|
7182
|
+
g = Y(g) ? [g] : g || ["translation"], l.reportNamespaces.addUsedNamespaces && l.reportNamespaces.addUsedNamespaces(g);
|
|
7183
|
+
const a = (l.isInitialized || l.initializedStoreOnce) && g.every((f) => _i(f, l, c)), h = Pi(l, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), C = () => h, p = () => Q1(l, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), [w, N] = I(C);
|
|
7184
|
+
let x = g.join();
|
|
7185
|
+
e.lng && (x = `${e.lng}${x}`);
|
|
7186
|
+
const V = Ki(x), y = p1(!0);
|
|
7166
7187
|
Z(() => {
|
|
7167
7188
|
const {
|
|
7168
7189
|
bindI18n: f,
|
|
7169
|
-
bindI18nStore:
|
|
7190
|
+
bindI18nStore: m
|
|
7170
7191
|
} = c;
|
|
7171
|
-
y.current = !0, !a && !o && (e.lng ?
|
|
7172
|
-
y.current &&
|
|
7173
|
-
}) :
|
|
7174
|
-
y.current &&
|
|
7175
|
-
})), a &&
|
|
7192
|
+
y.current = !0, !a && !o && (e.lng ? V1(l, e.lng, g, () => {
|
|
7193
|
+
y.current && N(p);
|
|
7194
|
+
}) : E1(l, g, () => {
|
|
7195
|
+
y.current && N(p);
|
|
7196
|
+
})), a && V && V !== x && y.current && N(p);
|
|
7176
7197
|
const M = () => {
|
|
7177
|
-
y.current &&
|
|
7198
|
+
y.current && N(p);
|
|
7178
7199
|
};
|
|
7179
|
-
return f && l && l.on(f, M),
|
|
7180
|
-
y.current = !1, f && l && f.split(" ").forEach((
|
|
7200
|
+
return f && l && l.on(f, M), m && l && l.store.on(m, M), () => {
|
|
7201
|
+
y.current = !1, f && l && f.split(" ").forEach((R) => l.off(R, M)), m && l && m.split(" ").forEach((R) => l.store.off(R, M));
|
|
7181
7202
|
};
|
|
7182
|
-
}, [l,
|
|
7183
|
-
y.current && a &&
|
|
7203
|
+
}, [l, x]), Z(() => {
|
|
7204
|
+
y.current && a && N(C);
|
|
7184
7205
|
}, [l, d, a]);
|
|
7185
|
-
const H = [
|
|
7186
|
-
if (H.t =
|
|
7206
|
+
const H = [w, l, a];
|
|
7207
|
+
if (H.t = w, H.i18n = l, H.ready = a, a || !a && !o) return H;
|
|
7187
7208
|
throw new Promise((f) => {
|
|
7188
|
-
e.lng ?
|
|
7209
|
+
e.lng ? V1(l, e.lng, g, () => f()) : E1(l, g, () => f());
|
|
7189
7210
|
});
|
|
7190
|
-
},
|
|
7211
|
+
}, Fi = {
|
|
7191
7212
|
type: "logger",
|
|
7192
7213
|
log(i) {
|
|
7193
7214
|
this.output("log", i);
|
|
@@ -7202,14 +7223,14 @@ const Ti = (i, e) => {
|
|
|
7202
7223
|
console && console[i] && console[i].apply(console, e);
|
|
7203
7224
|
}
|
|
7204
7225
|
};
|
|
7205
|
-
class
|
|
7226
|
+
class d1 {
|
|
7206
7227
|
constructor(e) {
|
|
7207
7228
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
7208
7229
|
this.init(e, t);
|
|
7209
7230
|
}
|
|
7210
7231
|
init(e) {
|
|
7211
7232
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
7212
|
-
this.prefix = t.prefix || "i18next:", this.logger = e ||
|
|
7233
|
+
this.prefix = t.prefix || "i18next:", this.logger = e || Fi, this.options = t, this.debug = t.debug;
|
|
7213
7234
|
}
|
|
7214
7235
|
log() {
|
|
7215
7236
|
for (var e = arguments.length, t = new Array(e), s = 0; s < e; s++)
|
|
@@ -7235,17 +7256,17 @@ class c1 {
|
|
|
7235
7256
|
return n && !this.debug ? null : (typeof e[0] == "string" && (e[0] = `${s}${this.prefix} ${e[0]}`), this.logger[t](e));
|
|
7236
7257
|
}
|
|
7237
7258
|
create(e) {
|
|
7238
|
-
return new
|
|
7259
|
+
return new d1(this.logger, {
|
|
7239
7260
|
prefix: `${this.prefix}:${e}:`,
|
|
7240
7261
|
...this.options
|
|
7241
7262
|
});
|
|
7242
7263
|
}
|
|
7243
7264
|
clone(e) {
|
|
7244
|
-
return e = e || this.options, e.prefix = e.prefix || this.prefix, new
|
|
7265
|
+
return e = e || this.options, e.prefix = e.prefix || this.prefix, new d1(this.logger, e);
|
|
7245
7266
|
}
|
|
7246
7267
|
}
|
|
7247
|
-
var
|
|
7248
|
-
class
|
|
7268
|
+
var T = new d1();
|
|
7269
|
+
class f1 {
|
|
7249
7270
|
constructor() {
|
|
7250
7271
|
this.observers = {};
|
|
7251
7272
|
}
|
|
@@ -7279,63 +7300,63 @@ class p1 {
|
|
|
7279
7300
|
});
|
|
7280
7301
|
}
|
|
7281
7302
|
}
|
|
7282
|
-
const
|
|
7303
|
+
const t1 = () => {
|
|
7283
7304
|
let i, e;
|
|
7284
7305
|
const t = new Promise((s, n) => {
|
|
7285
7306
|
i = s, e = n;
|
|
7286
7307
|
});
|
|
7287
7308
|
return t.resolve = i, t.reject = e, t;
|
|
7288
|
-
},
|
|
7309
|
+
}, _1 = (i) => i == null ? "" : "" + i, Yi = (i, e, t) => {
|
|
7289
7310
|
i.forEach((s) => {
|
|
7290
7311
|
e[s] && (t[s] = e[s]);
|
|
7291
7312
|
});
|
|
7292
|
-
},
|
|
7313
|
+
}, Ui = /###/g, H1 = (i) => i && i.indexOf("###") > -1 ? i.replace(Ui, ".") : i, I1 = (i) => !i || typeof i == "string", i1 = (i, e, t) => {
|
|
7293
7314
|
const s = typeof e != "string" ? e : e.split(".");
|
|
7294
7315
|
let n = 0;
|
|
7295
7316
|
for (; n < s.length - 1; ) {
|
|
7296
|
-
if (
|
|
7297
|
-
const l =
|
|
7317
|
+
if (I1(i)) return {};
|
|
7318
|
+
const l = H1(s[n]);
|
|
7298
7319
|
!i[l] && t && (i[l] = new t()), Object.prototype.hasOwnProperty.call(i, l) ? i = i[l] : i = {}, ++n;
|
|
7299
7320
|
}
|
|
7300
|
-
return
|
|
7321
|
+
return I1(i) ? {} : {
|
|
7301
7322
|
obj: i,
|
|
7302
|
-
k:
|
|
7323
|
+
k: H1(s[n])
|
|
7303
7324
|
};
|
|
7304
|
-
},
|
|
7325
|
+
}, S1 = (i, e, t) => {
|
|
7305
7326
|
const {
|
|
7306
7327
|
obj: s,
|
|
7307
7328
|
k: n
|
|
7308
|
-
} =
|
|
7329
|
+
} = i1(i, e, Object);
|
|
7309
7330
|
if (s !== void 0 || e.length === 1) {
|
|
7310
7331
|
s[n] = t;
|
|
7311
7332
|
return;
|
|
7312
7333
|
}
|
|
7313
|
-
let l = e[e.length - 1], c = e.slice(0, e.length - 1), o =
|
|
7334
|
+
let l = e[e.length - 1], c = e.slice(0, e.length - 1), o = i1(i, c, Object);
|
|
7314
7335
|
for (; o.obj === void 0 && c.length; )
|
|
7315
|
-
l = `${c[c.length - 1]}.${l}`, c = c.slice(0, c.length - 1), o =
|
|
7336
|
+
l = `${c[c.length - 1]}.${l}`, c = c.slice(0, c.length - 1), o = i1(i, c, Object), o && o.obj && typeof o.obj[`${o.k}.${l}`] < "u" && (o.obj = void 0);
|
|
7316
7337
|
o.obj[`${o.k}.${l}`] = t;
|
|
7317
|
-
},
|
|
7338
|
+
}, zi = (i, e, t, s) => {
|
|
7318
7339
|
const {
|
|
7319
7340
|
obj: n,
|
|
7320
7341
|
k: l
|
|
7321
|
-
} =
|
|
7342
|
+
} = i1(i, e, Object);
|
|
7322
7343
|
n[l] = n[l] || [], n[l].push(t);
|
|
7323
|
-
},
|
|
7344
|
+
}, g1 = (i, e) => {
|
|
7324
7345
|
const {
|
|
7325
7346
|
obj: t,
|
|
7326
7347
|
k: s
|
|
7327
|
-
} =
|
|
7348
|
+
} = i1(i, e);
|
|
7328
7349
|
if (t)
|
|
7329
7350
|
return t[s];
|
|
7330
|
-
},
|
|
7331
|
-
const s =
|
|
7332
|
-
return s !== void 0 ? s :
|
|
7333
|
-
},
|
|
7351
|
+
}, Ji = (i, e, t) => {
|
|
7352
|
+
const s = g1(i, t);
|
|
7353
|
+
return s !== void 0 ? s : g1(e, t);
|
|
7354
|
+
}, q1 = (i, e, t) => {
|
|
7334
7355
|
for (const s in e)
|
|
7335
|
-
s !== "__proto__" && s !== "constructor" && (s in i ? typeof i[s] == "string" || i[s] instanceof String || typeof e[s] == "string" || e[s] instanceof String ? t && (i[s] = e[s]) :
|
|
7356
|
+
s !== "__proto__" && s !== "constructor" && (s in i ? typeof i[s] == "string" || i[s] instanceof String || typeof e[s] == "string" || e[s] instanceof String ? t && (i[s] = e[s]) : q1(i[s], e[s], t) : i[s] = e[s]);
|
|
7336
7357
|
return i;
|
|
7337
7358
|
}, z = (i) => i.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
|
|
7338
|
-
var
|
|
7359
|
+
var Qi = {
|
|
7339
7360
|
"&": "&",
|
|
7340
7361
|
"<": "<",
|
|
7341
7362
|
">": ">",
|
|
@@ -7343,8 +7364,8 @@ var zi = {
|
|
|
7343
7364
|
"'": "'",
|
|
7344
7365
|
"/": "/"
|
|
7345
7366
|
};
|
|
7346
|
-
const
|
|
7347
|
-
class
|
|
7367
|
+
const qi = (i) => typeof i == "string" ? i.replace(/[&<>"'\/]/g, (e) => Qi[e]) : i;
|
|
7368
|
+
class Xi {
|
|
7348
7369
|
constructor(e) {
|
|
7349
7370
|
this.capacity = e, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = [];
|
|
7350
7371
|
}
|
|
@@ -7356,18 +7377,18 @@ class Qi {
|
|
|
7356
7377
|
return this.regExpQueue.length === this.capacity && this.regExpMap.delete(this.regExpQueue.shift()), this.regExpMap.set(e, s), this.regExpQueue.push(e), s;
|
|
7357
7378
|
}
|
|
7358
7379
|
}
|
|
7359
|
-
const
|
|
7380
|
+
const e5 = [" ", ",", "?", "!", ";"], t5 = new Xi(20), i5 = (i, e, t) => {
|
|
7360
7381
|
e = e || "", t = t || "";
|
|
7361
|
-
const s =
|
|
7382
|
+
const s = e5.filter((c) => e.indexOf(c) < 0 && t.indexOf(c) < 0);
|
|
7362
7383
|
if (s.length === 0) return !0;
|
|
7363
|
-
const n =
|
|
7384
|
+
const n = t5.getRegExp(`(${s.map((c) => c === "?" ? "\\?" : c).join("|")})`);
|
|
7364
7385
|
let l = !n.test(i);
|
|
7365
7386
|
if (!l) {
|
|
7366
7387
|
const c = i.indexOf(t);
|
|
7367
7388
|
c > 0 && !n.test(i.substring(0, c)) && (l = !0);
|
|
7368
7389
|
}
|
|
7369
7390
|
return l;
|
|
7370
|
-
},
|
|
7391
|
+
}, x1 = function(i, e) {
|
|
7371
7392
|
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : ".";
|
|
7372
7393
|
if (!i) return;
|
|
7373
7394
|
if (i[e]) return i[e];
|
|
@@ -7387,8 +7408,8 @@ const qi = [" ", ",", "?", "!", ";"], Xi = new Qi(20), e5 = (i, e, t) => {
|
|
|
7387
7408
|
n = c;
|
|
7388
7409
|
}
|
|
7389
7410
|
return n;
|
|
7390
|
-
},
|
|
7391
|
-
class
|
|
7411
|
+
}, u1 = (i) => i && i.indexOf("_") > 0 ? i.replace("_", "-") : i;
|
|
7412
|
+
class O1 extends f1 {
|
|
7392
7413
|
constructor(e) {
|
|
7393
7414
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
|
|
7394
7415
|
ns: ["translation"],
|
|
@@ -7408,8 +7429,8 @@ class S1 extends p1 {
|
|
|
7408
7429
|
const l = n.keySeparator !== void 0 ? n.keySeparator : this.options.keySeparator, c = n.ignoreJSONStructure !== void 0 ? n.ignoreJSONStructure : this.options.ignoreJSONStructure;
|
|
7409
7430
|
let o;
|
|
7410
7431
|
e.indexOf(".") > -1 ? o = e.split(".") : (o = [e, t], s && (Array.isArray(s) ? o.push(...s) : typeof s == "string" && l ? o.push(...s.split(l)) : o.push(s)));
|
|
7411
|
-
const d =
|
|
7412
|
-
return !d && !t && !s && e.indexOf(".") > -1 && (e = o[0], t = o[1], s = o.slice(2).join(".")), d || !c || typeof s != "string" ? d :
|
|
7432
|
+
const d = g1(this.data, o);
|
|
7433
|
+
return !d && !t && !s && e.indexOf(".") > -1 && (e = o[0], t = o[1], s = o.slice(2).join(".")), d || !c || typeof s != "string" ? d : x1(this.data && this.data[e] && this.data[e][t], s, l);
|
|
7413
7434
|
}
|
|
7414
7435
|
addResource(e, t, s, n) {
|
|
7415
7436
|
let l = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : {
|
|
@@ -7417,7 +7438,7 @@ class S1 extends p1 {
|
|
|
7417
7438
|
};
|
|
7418
7439
|
const c = l.keySeparator !== void 0 ? l.keySeparator : this.options.keySeparator;
|
|
7419
7440
|
let o = [e, t];
|
|
7420
|
-
s && (o = o.concat(c ? s.split(c) : s)), e.indexOf(".") > -1 && (o = e.split("."), n = t, t = o[1]), this.addNamespaces(t),
|
|
7441
|
+
s && (o = o.concat(c ? s.split(c) : s)), e.indexOf(".") > -1 && (o = e.split("."), n = t, t = o[1]), this.addNamespaces(t), S1(this.data, o, n), l.silent || this.emit("added", e, t, s, n);
|
|
7421
7442
|
}
|
|
7422
7443
|
addResources(e, t, s) {
|
|
7423
7444
|
let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {
|
|
@@ -7435,11 +7456,11 @@ class S1 extends p1 {
|
|
|
7435
7456
|
skipCopy: !1
|
|
7436
7457
|
}, o = [e, t];
|
|
7437
7458
|
e.indexOf(".") > -1 && (o = e.split("."), n = s, s = t, t = o[1]), this.addNamespaces(t);
|
|
7438
|
-
let d =
|
|
7439
|
-
c.skipCopy || (s = JSON.parse(JSON.stringify(s))), n ?
|
|
7459
|
+
let d = g1(this.data, o) || {};
|
|
7460
|
+
c.skipCopy || (s = JSON.parse(JSON.stringify(s))), n ? q1(d, s, l) : d = {
|
|
7440
7461
|
...d,
|
|
7441
7462
|
...s
|
|
7442
|
-
},
|
|
7463
|
+
}, S1(this.data, o, d), c.silent || this.emit("added", e, t, s);
|
|
7443
7464
|
}
|
|
7444
7465
|
removeResourceBundle(e, t) {
|
|
7445
7466
|
this.hasResourceBundle(e, t) && delete this.data[e][t], this.removeNamespaces(t), this.emit("removed", e, t);
|
|
@@ -7463,7 +7484,7 @@ class S1 extends p1 {
|
|
|
7463
7484
|
return this.data;
|
|
7464
7485
|
}
|
|
7465
7486
|
}
|
|
7466
|
-
var
|
|
7487
|
+
var X1 = {
|
|
7467
7488
|
processors: {},
|
|
7468
7489
|
addPostProcessor(i) {
|
|
7469
7490
|
this.processors[i.name] = i;
|
|
@@ -7474,11 +7495,11 @@ var q1 = {
|
|
|
7474
7495
|
}), e;
|
|
7475
7496
|
}
|
|
7476
7497
|
};
|
|
7477
|
-
const
|
|
7478
|
-
class
|
|
7498
|
+
const A1 = {};
|
|
7499
|
+
class C1 extends f1 {
|
|
7479
7500
|
constructor(e) {
|
|
7480
7501
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
7481
|
-
super(),
|
|
7502
|
+
super(), Yi(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = T.create("translator");
|
|
7482
7503
|
}
|
|
7483
7504
|
changeLanguage(e) {
|
|
7484
7505
|
e && (this.language = e);
|
|
@@ -7497,7 +7518,7 @@ class u1 extends p1 {
|
|
|
7497
7518
|
s === void 0 && (s = ":");
|
|
7498
7519
|
const n = t.keySeparator !== void 0 ? t.keySeparator : this.options.keySeparator;
|
|
7499
7520
|
let l = t.ns || this.options.defaultNS || [];
|
|
7500
|
-
const c = s && e.indexOf(s) > -1, o = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !
|
|
7521
|
+
const c = s && e.indexOf(s) > -1, o = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !i5(e, s, n);
|
|
7501
7522
|
if (c && !o) {
|
|
7502
7523
|
const d = e.match(this.interpolator.nestingRegexp);
|
|
7503
7524
|
if (d && d.length > 0)
|
|
@@ -7545,8 +7566,8 @@ class u1 extends p1 {
|
|
|
7545
7566
|
}
|
|
7546
7567
|
const h = this.resolve(e, t);
|
|
7547
7568
|
let C = h && h.res;
|
|
7548
|
-
const p = h && h.usedKey || c,
|
|
7549
|
-
if (y && C && (typeof C != "string" && typeof C != "boolean" && typeof C != "number") &&
|
|
7569
|
+
const p = h && h.usedKey || c, w = h && h.exactUsedKey || c, N = Object.prototype.toString.apply(C), x = ["[object Number]", "[object Function]", "[object RegExp]"], V = t.joinArrays !== void 0 ? t.joinArrays : this.options.joinArrays, y = !this.i18nFormat || this.i18nFormat.handleAsObject;
|
|
7570
|
+
if (y && C && (typeof C != "string" && typeof C != "boolean" && typeof C != "number") && x.indexOf(N) < 0 && !(typeof V == "string" && Array.isArray(C))) {
|
|
7550
7571
|
if (!t.returnObjects && !this.options.returnObjects) {
|
|
7551
7572
|
this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
|
|
7552
7573
|
const f = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(p, C, {
|
|
@@ -7556,53 +7577,53 @@ class u1 extends p1 {
|
|
|
7556
7577
|
return n ? (h.res = f, h.usedParams = this.getUsedParamsDetails(t), h) : f;
|
|
7557
7578
|
}
|
|
7558
7579
|
if (l) {
|
|
7559
|
-
const f = Array.isArray(C),
|
|
7560
|
-
for (const
|
|
7561
|
-
if (Object.prototype.hasOwnProperty.call(C,
|
|
7562
|
-
const
|
|
7563
|
-
|
|
7580
|
+
const f = Array.isArray(C), m = f ? [] : {}, M = f ? w : p;
|
|
7581
|
+
for (const R in C)
|
|
7582
|
+
if (Object.prototype.hasOwnProperty.call(C, R)) {
|
|
7583
|
+
const b = `${M}${l}${R}`;
|
|
7584
|
+
m[R] = this.translate(b, {
|
|
7564
7585
|
...t,
|
|
7565
7586
|
joinArrays: !1,
|
|
7566
7587
|
ns: o
|
|
7567
|
-
}),
|
|
7588
|
+
}), m[R] === b && (m[R] = C[R]);
|
|
7568
7589
|
}
|
|
7569
|
-
C =
|
|
7590
|
+
C = m;
|
|
7570
7591
|
}
|
|
7571
|
-
} else if (y && typeof
|
|
7572
|
-
C = C.join(
|
|
7592
|
+
} else if (y && typeof V == "string" && Array.isArray(C))
|
|
7593
|
+
C = C.join(V), C && (C = this.extendTranslation(C, e, t, s));
|
|
7573
7594
|
else {
|
|
7574
|
-
let f = !1,
|
|
7575
|
-
const M = t.count !== void 0 && typeof t.count != "string",
|
|
7595
|
+
let f = !1, m = !1;
|
|
7596
|
+
const M = t.count !== void 0 && typeof t.count != "string", R = C1.hasDefaultValue(t), b = M ? this.pluralResolver.getSuffix(g, t.count, t) : "", O = t.ordinal && M ? this.pluralResolver.getSuffix(g, t.count, {
|
|
7576
7597
|
ordinal: !1
|
|
7577
|
-
}) : "", E = M && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), W = E && t[`defaultValue${this.options.pluralSeparator}zero`] || t[`defaultValue${
|
|
7578
|
-
!this.isValidLookup(C) &&
|
|
7579
|
-
const j = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) &&
|
|
7580
|
-
if (
|
|
7581
|
-
if (this.logger.log(
|
|
7598
|
+
}) : "", E = M && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), W = E && t[`defaultValue${this.options.pluralSeparator}zero`] || t[`defaultValue${b}`] || t[`defaultValue${O}`] || t.defaultValue;
|
|
7599
|
+
!this.isValidLookup(C) && R && (f = !0, C = W), this.isValidLookup(C) || (m = !0, C = c);
|
|
7600
|
+
const j = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && m ? void 0 : C, B = R && W !== C && this.options.updateMissing;
|
|
7601
|
+
if (m || f || B) {
|
|
7602
|
+
if (this.logger.log(B ? "updateKey" : "missingKey", g, d, c, B ? W : C), l) {
|
|
7582
7603
|
const A = this.resolve(c, {
|
|
7583
7604
|
...t,
|
|
7584
7605
|
keySeparator: !1
|
|
7585
7606
|
});
|
|
7586
7607
|
A && A.res && this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.");
|
|
7587
7608
|
}
|
|
7588
|
-
let
|
|
7589
|
-
const
|
|
7590
|
-
if (this.options.saveMissingTo === "fallback" &&
|
|
7591
|
-
for (let A = 0; A <
|
|
7592
|
-
|
|
7593
|
-
else this.options.saveMissingTo === "all" ?
|
|
7594
|
-
const
|
|
7595
|
-
const
|
|
7596
|
-
this.options.missingKeyHandler ? this.options.missingKeyHandler(A, d,
|
|
7609
|
+
let D = [];
|
|
7610
|
+
const U = this.languageUtils.getFallbackCodes(this.options.fallbackLng, t.lng || this.language);
|
|
7611
|
+
if (this.options.saveMissingTo === "fallback" && U && U[0])
|
|
7612
|
+
for (let A = 0; A < U.length; A++)
|
|
7613
|
+
D.push(U[A]);
|
|
7614
|
+
else this.options.saveMissingTo === "all" ? D = this.languageUtils.toResolveHierarchy(t.lng || this.language) : D.push(t.lng || this.language);
|
|
7615
|
+
const X = (A, G, F) => {
|
|
7616
|
+
const e1 = R && F !== C ? F : j;
|
|
7617
|
+
this.options.missingKeyHandler ? this.options.missingKeyHandler(A, d, G, e1, B, t) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(A, d, G, e1, B, t), this.emit("missingKey", A, d, G, C);
|
|
7597
7618
|
};
|
|
7598
|
-
this.options.saveMissing && (this.options.saveMissingPlurals && M ?
|
|
7599
|
-
const
|
|
7600
|
-
E && t[`defaultValue${this.options.pluralSeparator}zero`] &&
|
|
7601
|
-
|
|
7619
|
+
this.options.saveMissing && (this.options.saveMissingPlurals && M ? D.forEach((A) => {
|
|
7620
|
+
const G = this.pluralResolver.getSuffixes(A, t);
|
|
7621
|
+
E && t[`defaultValue${this.options.pluralSeparator}zero`] && G.indexOf(`${this.options.pluralSeparator}zero`) < 0 && G.push(`${this.options.pluralSeparator}zero`), G.forEach((F) => {
|
|
7622
|
+
X([A], c + F, t[`defaultValue${F}`] || W);
|
|
7602
7623
|
});
|
|
7603
|
-
}) :
|
|
7624
|
+
}) : X(D, c, W));
|
|
7604
7625
|
}
|
|
7605
|
-
C = this.extendTranslation(C, e, t, h, s),
|
|
7626
|
+
C = this.extendTranslation(C, e, t, h, s), m && C === c && this.options.appendNamespaceToMissingKey && (C = `${d}:${c}`), (m || f) && this.options.parseMissingKeyHandler && (this.options.compatibilityAPI !== "v1" ? C = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${d}:${c}` : c, f ? C : void 0) : C = this.options.parseMissingKeyHandler(C));
|
|
7606
7627
|
}
|
|
7607
7628
|
return n ? (h.res = C, h.usedParams = this.getUsedParamsDetails(t), h) : C;
|
|
7608
7629
|
}
|
|
@@ -7638,13 +7659,13 @@ class u1 extends p1 {
|
|
|
7638
7659
|
a < p && (s.nest = !1);
|
|
7639
7660
|
}
|
|
7640
7661
|
!s.lng && this.options.compatibilityAPI !== "v1" && n && n.res && (s.lng = this.language || n.usedLng), s.nest !== !1 && (e = this.interpolator.nest(e, function() {
|
|
7641
|
-
for (var C = arguments.length, p = new Array(C),
|
|
7642
|
-
p[
|
|
7662
|
+
for (var C = arguments.length, p = new Array(C), w = 0; w < C; w++)
|
|
7663
|
+
p[w] = arguments[w];
|
|
7643
7664
|
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);
|
|
7644
7665
|
}, s)), s.interpolation && this.interpolator.reset();
|
|
7645
7666
|
}
|
|
7646
7667
|
const o = s.postProcess || this.options.postProcess, d = typeof o == "string" ? [o] : o;
|
|
7647
|
-
return e != null && d && d.length && s.applyPostProcessor !== !1 && (e =
|
|
7668
|
+
return e != null && d && d.length && s.applyPostProcessor !== !1 && (e = X1.handle(d, e, t, this.options && this.options.postProcessPassResolved ? {
|
|
7648
7669
|
i18nResolved: {
|
|
7649
7670
|
...n,
|
|
7650
7671
|
usedParams: this.getUsedParamsDetails(s)
|
|
@@ -7660,26 +7681,26 @@ class u1 extends p1 {
|
|
|
7660
7681
|
n = a;
|
|
7661
7682
|
let h = g.namespaces;
|
|
7662
7683
|
this.options.fallbackNS && (h = h.concat(this.options.fallbackNS));
|
|
7663
|
-
const C = t.count !== void 0 && typeof t.count != "string", p = C && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(),
|
|
7664
|
-
h.forEach((
|
|
7665
|
-
this.isValidLookup(s) || (o =
|
|
7684
|
+
const C = t.count !== void 0 && typeof t.count != "string", p = C && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), w = t.context !== void 0 && (typeof t.context == "string" || typeof t.context == "number") && t.context !== "", N = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
|
|
7685
|
+
h.forEach((x) => {
|
|
7686
|
+
this.isValidLookup(s) || (o = x, !A1[`${N[0]}-${x}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(o) && (A1[`${N[0]}-${x}`] = !0, this.logger.warn(`key "${n}" for languages "${N.join(", ")}" won't get resolved as namespace "${o}" 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((V) => {
|
|
7666
7687
|
if (this.isValidLookup(s)) return;
|
|
7667
|
-
c =
|
|
7688
|
+
c = V;
|
|
7668
7689
|
const y = [a];
|
|
7669
7690
|
if (this.i18nFormat && this.i18nFormat.addLookupKeys)
|
|
7670
|
-
this.i18nFormat.addLookupKeys(y, a,
|
|
7691
|
+
this.i18nFormat.addLookupKeys(y, a, V, x, t);
|
|
7671
7692
|
else {
|
|
7672
7693
|
let f;
|
|
7673
|
-
C && (f = this.pluralResolver.getSuffix(
|
|
7674
|
-
const
|
|
7675
|
-
if (C && (y.push(a + f), t.ordinal && f.indexOf(M) === 0 && y.push(a + f.replace(M, this.options.pluralSeparator)), p && y.push(a +
|
|
7676
|
-
const
|
|
7677
|
-
y.push(
|
|
7694
|
+
C && (f = this.pluralResolver.getSuffix(V, t.count, t));
|
|
7695
|
+
const m = `${this.options.pluralSeparator}zero`, M = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
|
|
7696
|
+
if (C && (y.push(a + f), t.ordinal && f.indexOf(M) === 0 && y.push(a + f.replace(M, this.options.pluralSeparator)), p && y.push(a + m)), w) {
|
|
7697
|
+
const R = `${a}${this.options.contextSeparator}${t.context}`;
|
|
7698
|
+
y.push(R), C && (y.push(R + f), t.ordinal && f.indexOf(M) === 0 && y.push(R + f.replace(M, this.options.pluralSeparator)), p && y.push(R + m));
|
|
7678
7699
|
}
|
|
7679
7700
|
}
|
|
7680
7701
|
let H;
|
|
7681
7702
|
for (; H = y.pop(); )
|
|
7682
|
-
this.isValidLookup(s) || (l = H, s = this.getResource(
|
|
7703
|
+
this.isValidLookup(s) || (l = H, s = this.getResource(V, x, H, t));
|
|
7683
7704
|
}));
|
|
7684
7705
|
});
|
|
7685
7706
|
}), {
|
|
@@ -7721,18 +7742,18 @@ class u1 extends p1 {
|
|
|
7721
7742
|
return !1;
|
|
7722
7743
|
}
|
|
7723
7744
|
}
|
|
7724
|
-
const
|
|
7725
|
-
class
|
|
7745
|
+
const k1 = (i) => i.charAt(0).toUpperCase() + i.slice(1);
|
|
7746
|
+
class B1 {
|
|
7726
7747
|
constructor(e) {
|
|
7727
|
-
this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger =
|
|
7748
|
+
this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = T.create("languageUtils");
|
|
7728
7749
|
}
|
|
7729
7750
|
getScriptPartFromCode(e) {
|
|
7730
|
-
if (e =
|
|
7751
|
+
if (e = u1(e), !e || e.indexOf("-") < 0) return null;
|
|
7731
7752
|
const t = e.split("-");
|
|
7732
7753
|
return t.length === 2 || (t.pop(), t[t.length - 1].toLowerCase() === "x") ? null : this.formatLanguageCode(t.join("-"));
|
|
7733
7754
|
}
|
|
7734
7755
|
getLanguagePartFromCode(e) {
|
|
7735
|
-
if (e =
|
|
7756
|
+
if (e = u1(e), !e || e.indexOf("-") < 0) return e;
|
|
7736
7757
|
const t = e.split("-");
|
|
7737
7758
|
return this.formatLanguageCode(t[0]);
|
|
7738
7759
|
}
|
|
@@ -7740,7 +7761,7 @@ class A1 {
|
|
|
7740
7761
|
if (typeof e == "string" && e.indexOf("-") > -1) {
|
|
7741
7762
|
const t = ["hans", "hant", "latn", "cyrl", "cans", "mong", "arab"];
|
|
7742
7763
|
let s = e.split("-");
|
|
7743
|
-
return this.options.lowerCaseLng ? s = s.map((n) => n.toLowerCase()) : s.length === 2 ? (s[0] = s[0].toLowerCase(), s[1] = s[1].toUpperCase(), t.indexOf(s[1].toLowerCase()) > -1 && (s[1] =
|
|
7764
|
+
return this.options.lowerCaseLng ? s = s.map((n) => n.toLowerCase()) : s.length === 2 ? (s[0] = s[0].toLowerCase(), s[1] = s[1].toUpperCase(), t.indexOf(s[1].toLowerCase()) > -1 && (s[1] = k1(s[1].toLowerCase()))) : s.length === 3 && (s[0] = s[0].toLowerCase(), s[1].length === 2 && (s[1] = s[1].toUpperCase()), s[0] !== "sgn" && s[2].length === 2 && (s[2] = s[2].toUpperCase()), t.indexOf(s[1].toLowerCase()) > -1 && (s[1] = k1(s[1].toLowerCase())), t.indexOf(s[2].toLowerCase()) > -1 && (s[2] = k1(s[2].toLowerCase()))), s.join("-");
|
|
7744
7765
|
}
|
|
7745
7766
|
return this.options.cleanCode || this.options.lowerCaseLng ? e.toLowerCase() : e;
|
|
7746
7767
|
}
|
|
@@ -7781,7 +7802,7 @@ class A1 {
|
|
|
7781
7802
|
}), n;
|
|
7782
7803
|
}
|
|
7783
7804
|
}
|
|
7784
|
-
let
|
|
7805
|
+
let s5 = [{
|
|
7785
7806
|
lngs: ["ach", "ak", "am", "arn", "br", "fil", "gun", "ln", "mfe", "mg", "mi", "oc", "pt", "pt-BR", "tg", "tl", "ti", "tr", "uz", "wa"],
|
|
7786
7807
|
nr: [1, 2],
|
|
7787
7808
|
fc: 1
|
|
@@ -7873,7 +7894,7 @@ let t5 = [{
|
|
|
7873
7894
|
lngs: ["he", "iw"],
|
|
7874
7895
|
nr: [1, 2, 20, 21],
|
|
7875
7896
|
fc: 22
|
|
7876
|
-
}],
|
|
7897
|
+
}], n5 = {
|
|
7877
7898
|
1: (i) => +(i > 1),
|
|
7878
7899
|
2: (i) => +(i != 1),
|
|
7879
7900
|
3: (i) => 0,
|
|
@@ -7897,28 +7918,28 @@ let t5 = [{
|
|
|
7897
7918
|
21: (i) => i % 100 == 1 ? 1 : i % 100 == 2 ? 2 : i % 100 == 3 || i % 100 == 4 ? 3 : 0,
|
|
7898
7919
|
22: (i) => i == 1 ? 0 : i == 2 ? 1 : (i < 0 || i > 10) && i % 10 == 0 ? 2 : 3
|
|
7899
7920
|
};
|
|
7900
|
-
const
|
|
7921
|
+
const r5 = ["v1", "v2", "v3"], o5 = ["v4"], W1 = {
|
|
7901
7922
|
zero: 0,
|
|
7902
7923
|
one: 1,
|
|
7903
7924
|
two: 2,
|
|
7904
7925
|
few: 3,
|
|
7905
7926
|
many: 4,
|
|
7906
7927
|
other: 5
|
|
7907
|
-
},
|
|
7928
|
+
}, l5 = () => {
|
|
7908
7929
|
const i = {};
|
|
7909
|
-
return
|
|
7930
|
+
return s5.forEach((e) => {
|
|
7910
7931
|
e.lngs.forEach((t) => {
|
|
7911
7932
|
i[t] = {
|
|
7912
7933
|
numbers: e.nr,
|
|
7913
|
-
plurals:
|
|
7934
|
+
plurals: n5[e.fc]
|
|
7914
7935
|
};
|
|
7915
7936
|
});
|
|
7916
7937
|
}), i;
|
|
7917
7938
|
};
|
|
7918
|
-
class
|
|
7939
|
+
class a5 {
|
|
7919
7940
|
constructor(e) {
|
|
7920
7941
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
7921
|
-
this.languageUtils = e, this.options = t, this.logger =
|
|
7942
|
+
this.languageUtils = e, this.options = t, this.logger = T.create("pluralResolver"), (!this.options.compatibilityJSON || o5.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 = l5(), this.pluralRulesCache = {};
|
|
7922
7943
|
}
|
|
7923
7944
|
addRule(e, t) {
|
|
7924
7945
|
this.rules[e] = t;
|
|
@@ -7930,7 +7951,7 @@ class o5 {
|
|
|
7930
7951
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
7931
7952
|
if (this.shouldUseIntlApi())
|
|
7932
7953
|
try {
|
|
7933
|
-
const s =
|
|
7954
|
+
const s = u1(e === "dev" ? "en" : e), n = t.ordinal ? "ordinal" : "cardinal", l = JSON.stringify({
|
|
7934
7955
|
cleanedCode: s,
|
|
7935
7956
|
type: n
|
|
7936
7957
|
});
|
|
@@ -7957,7 +7978,7 @@ class o5 {
|
|
|
7957
7978
|
getSuffixes(e) {
|
|
7958
7979
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
7959
7980
|
const s = this.getRule(e, t);
|
|
7960
|
-
return s ? this.shouldUseIntlApi() ? s.resolvedOptions().pluralCategories.sort((n, l) =>
|
|
7981
|
+
return s ? this.shouldUseIntlApi() ? s.resolvedOptions().pluralCategories.sort((n, l) => W1[n] - W1[l]).map((n) => `${this.options.prepend}${t.ordinal ? `ordinal${this.options.prepend}` : ""}${n}`) : s.numbers.map((n) => this.getSuffix(e, n, t)) : [];
|
|
7961
7982
|
}
|
|
7962
7983
|
getSuffix(e, t) {
|
|
7963
7984
|
let s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
@@ -7972,17 +7993,17 @@ class o5 {
|
|
|
7972
7993
|
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();
|
|
7973
7994
|
}
|
|
7974
7995
|
shouldUseIntlApi() {
|
|
7975
|
-
return !
|
|
7996
|
+
return !r5.includes(this.options.compatibilityJSON);
|
|
7976
7997
|
}
|
|
7977
7998
|
}
|
|
7978
|
-
const
|
|
7979
|
-
let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", n = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, l =
|
|
7980
|
-
return !l && n && typeof t == "string" && (l =
|
|
7981
|
-
},
|
|
7982
|
-
class
|
|
7999
|
+
const j1 = function(i, e, t) {
|
|
8000
|
+
let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", n = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, l = Ji(i, e, t);
|
|
8001
|
+
return !l && n && typeof t == "string" && (l = x1(i, t, s), l === void 0 && (l = x1(e, t, s))), l;
|
|
8002
|
+
}, L1 = (i) => i.replace(/\$/g, "$$$$");
|
|
8003
|
+
class h5 {
|
|
7983
8004
|
constructor() {
|
|
7984
8005
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
7985
|
-
this.logger =
|
|
8006
|
+
this.logger = T.create("interpolator"), this.options = e, this.format = e.interpolation && e.interpolation.format || ((t) => t), this.init(e);
|
|
7986
8007
|
}
|
|
7987
8008
|
init() {
|
|
7988
8009
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
@@ -8002,13 +8023,13 @@ class l5 {
|
|
|
8002
8023
|
unescapePrefix: h,
|
|
8003
8024
|
nestingPrefix: C,
|
|
8004
8025
|
nestingPrefixEscaped: p,
|
|
8005
|
-
nestingSuffix:
|
|
8006
|
-
nestingSuffixEscaped:
|
|
8007
|
-
nestingOptionsSeparator:
|
|
8008
|
-
maxReplaces:
|
|
8026
|
+
nestingSuffix: w,
|
|
8027
|
+
nestingSuffixEscaped: N,
|
|
8028
|
+
nestingOptionsSeparator: x,
|
|
8029
|
+
maxReplaces: V,
|
|
8009
8030
|
alwaysFormat: y
|
|
8010
8031
|
} = e.interpolation;
|
|
8011
|
-
this.escape = t !== void 0 ? t :
|
|
8032
|
+
this.escape = t !== void 0 ? t : qi, this.escapeValue = s !== void 0 ? s : !0, this.useRawValueToEscape = n !== void 0 ? n : !1, this.prefix = l ? z(l) : c || "{{", this.suffix = o ? z(o) : d || "}}", this.formatSeparator = g || ",", this.unescapePrefix = a ? "" : h || "-", this.unescapeSuffix = this.unescapePrefix ? "" : a || "", this.nestingPrefix = C ? z(C) : p || z("$t("), this.nestingSuffix = w ? z(w) : N || z(")"), this.nestingOptionsSeparator = x || ",", this.maxReplaces = V || 1e3, this.alwaysFormat = y !== void 0 ? y : !1, this.resetRegExp();
|
|
8012
8033
|
}
|
|
8013
8034
|
reset() {
|
|
8014
8035
|
this.options && this.init(this.options);
|
|
@@ -8021,45 +8042,45 @@ class l5 {
|
|
|
8021
8042
|
let l, c, o;
|
|
8022
8043
|
const d = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, g = (p) => {
|
|
8023
8044
|
if (p.indexOf(this.formatSeparator) < 0) {
|
|
8024
|
-
const
|
|
8025
|
-
return this.alwaysFormat ? this.format(
|
|
8045
|
+
const V = j1(t, d, p, this.options.keySeparator, this.options.ignoreJSONStructure);
|
|
8046
|
+
return this.alwaysFormat ? this.format(V, void 0, s, {
|
|
8026
8047
|
...n,
|
|
8027
8048
|
...t,
|
|
8028
8049
|
interpolationkey: p
|
|
8029
|
-
}) :
|
|
8050
|
+
}) : V;
|
|
8030
8051
|
}
|
|
8031
|
-
const
|
|
8032
|
-
return this.format(
|
|
8052
|
+
const w = p.split(this.formatSeparator), N = w.shift().trim(), x = w.join(this.formatSeparator).trim();
|
|
8053
|
+
return this.format(j1(t, d, N, this.options.keySeparator, this.options.ignoreJSONStructure), x, s, {
|
|
8033
8054
|
...n,
|
|
8034
8055
|
...t,
|
|
8035
|
-
interpolationkey:
|
|
8056
|
+
interpolationkey: N
|
|
8036
8057
|
});
|
|
8037
8058
|
};
|
|
8038
8059
|
this.resetRegExp();
|
|
8039
8060
|
const a = n && n.missingInterpolationHandler || this.options.missingInterpolationHandler, h = n && n.interpolation && n.interpolation.skipOnVariables !== void 0 ? n.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables;
|
|
8040
8061
|
return [{
|
|
8041
8062
|
regex: this.regexpUnescape,
|
|
8042
|
-
safeValue: (p) =>
|
|
8063
|
+
safeValue: (p) => L1(p)
|
|
8043
8064
|
}, {
|
|
8044
8065
|
regex: this.regexp,
|
|
8045
|
-
safeValue: (p) => this.escapeValue ?
|
|
8066
|
+
safeValue: (p) => this.escapeValue ? L1(this.escape(p)) : L1(p)
|
|
8046
8067
|
}].forEach((p) => {
|
|
8047
8068
|
for (o = 0; l = p.regex.exec(e); ) {
|
|
8048
|
-
const
|
|
8049
|
-
if (c = g(
|
|
8069
|
+
const w = l[1].trim();
|
|
8070
|
+
if (c = g(w), c === void 0)
|
|
8050
8071
|
if (typeof a == "function") {
|
|
8051
|
-
const
|
|
8052
|
-
c = typeof
|
|
8053
|
-
} else if (n && Object.prototype.hasOwnProperty.call(n,
|
|
8072
|
+
const x = a(e, l, n);
|
|
8073
|
+
c = typeof x == "string" ? x : "";
|
|
8074
|
+
} else if (n && Object.prototype.hasOwnProperty.call(n, w))
|
|
8054
8075
|
c = "";
|
|
8055
8076
|
else if (h) {
|
|
8056
8077
|
c = l[0];
|
|
8057
8078
|
continue;
|
|
8058
8079
|
} else
|
|
8059
|
-
this.logger.warn(`missed to pass in variable ${
|
|
8060
|
-
else typeof c != "string" && !this.useRawValueToEscape && (c =
|
|
8061
|
-
const
|
|
8062
|
-
if (e = e.replace(l[0],
|
|
8080
|
+
this.logger.warn(`missed to pass in variable ${w} for interpolating ${e}`), c = "";
|
|
8081
|
+
else typeof c != "string" && !this.useRawValueToEscape && (c = _1(c));
|
|
8082
|
+
const N = p.safeValue(c);
|
|
8083
|
+
if (e = e.replace(l[0], N), h ? (p.regex.lastIndex += c.length, p.regex.lastIndex -= l[0].length) : p.regex.lastIndex = 0, o++, o >= this.maxReplaces)
|
|
8063
8084
|
break;
|
|
8064
8085
|
}
|
|
8065
8086
|
}), e;
|
|
@@ -8072,15 +8093,15 @@ class l5 {
|
|
|
8072
8093
|
const h = d.split(new RegExp(`${a}[ ]*{`));
|
|
8073
8094
|
let C = `{${h[1]}`;
|
|
8074
8095
|
d = h[0], C = this.interpolate(C, c);
|
|
8075
|
-
const p = C.match(/'/g),
|
|
8076
|
-
(p && p.length % 2 === 0 && !
|
|
8096
|
+
const p = C.match(/'/g), w = C.match(/"/g);
|
|
8097
|
+
(p && p.length % 2 === 0 && !w || w.length % 2 !== 0) && (C = C.replace(/'/g, '"'));
|
|
8077
8098
|
try {
|
|
8078
8099
|
c = JSON.parse(C), g && (c = {
|
|
8079
8100
|
...g,
|
|
8080
8101
|
...c
|
|
8081
8102
|
});
|
|
8082
|
-
} catch (
|
|
8083
|
-
return this.logger.warn(`failed parsing options string in nesting for key ${d}`,
|
|
8103
|
+
} catch (N) {
|
|
8104
|
+
return this.logger.warn(`failed parsing options string in nesting for key ${d}`, N), `${d}${a}${C}`;
|
|
8084
8105
|
}
|
|
8085
8106
|
return c.defaultValue && c.defaultValue.indexOf(this.prefix) > -1 && delete c.defaultValue, d;
|
|
8086
8107
|
};
|
|
@@ -8095,7 +8116,7 @@ class l5 {
|
|
|
8095
8116
|
n[1] = a.shift(), d = a, g = !0;
|
|
8096
8117
|
}
|
|
8097
8118
|
if (l = t(o.call(this, n[1].trim(), c), c), l && n[0] === e && typeof l != "string") return l;
|
|
8098
|
-
typeof l != "string" && (l =
|
|
8119
|
+
typeof l != "string" && (l = _1(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, {
|
|
8099
8120
|
...s,
|
|
8100
8121
|
interpolationkey: n[1].trim()
|
|
8101
8122
|
}), l.trim())), e = e.replace(n[0], l), this.regexp.lastIndex = 0;
|
|
@@ -8103,7 +8124,7 @@ class l5 {
|
|
|
8103
8124
|
return e;
|
|
8104
8125
|
}
|
|
8105
8126
|
}
|
|
8106
|
-
const
|
|
8127
|
+
const c5 = (i) => {
|
|
8107
8128
|
let e = i.toLowerCase().trim();
|
|
8108
8129
|
const t = {};
|
|
8109
8130
|
if (i.indexOf("(") > -1) {
|
|
@@ -8131,13 +8152,13 @@ const a5 = (i) => {
|
|
|
8131
8152
|
});
|
|
8132
8153
|
const c = s + JSON.stringify(l);
|
|
8133
8154
|
let o = e[c];
|
|
8134
|
-
return o || (o = i(
|
|
8155
|
+
return o || (o = i(u1(s), n), e[c] = o), o(t);
|
|
8135
8156
|
};
|
|
8136
8157
|
};
|
|
8137
|
-
class
|
|
8158
|
+
class d5 {
|
|
8138
8159
|
constructor() {
|
|
8139
8160
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
8140
|
-
this.logger =
|
|
8161
|
+
this.logger = T.create("formatter"), this.options = e, this.formats = {
|
|
8141
8162
|
number: J((t, s) => {
|
|
8142
8163
|
const n = new Intl.NumberFormat(t, {
|
|
8143
8164
|
...s
|
|
@@ -8194,7 +8215,7 @@ class h5 {
|
|
|
8194
8215
|
const {
|
|
8195
8216
|
formatName: g,
|
|
8196
8217
|
formatOptions: a
|
|
8197
|
-
} =
|
|
8218
|
+
} = c5(d);
|
|
8198
8219
|
if (this.formats[g]) {
|
|
8199
8220
|
let h = o;
|
|
8200
8221
|
try {
|
|
@@ -8214,13 +8235,13 @@ class h5 {
|
|
|
8214
8235
|
}, e);
|
|
8215
8236
|
}
|
|
8216
8237
|
}
|
|
8217
|
-
const
|
|
8238
|
+
const g5 = (i, e) => {
|
|
8218
8239
|
i.pending[e] !== void 0 && (delete i.pending[e], i.pendingCount--);
|
|
8219
8240
|
};
|
|
8220
|
-
class
|
|
8241
|
+
class u5 extends f1 {
|
|
8221
8242
|
constructor(e, t, s) {
|
|
8222
8243
|
let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
|
|
8223
|
-
super(), this.backend = e, this.store = t, this.services = s, this.languageUtils = s.languageUtils, this.options = n, this.logger =
|
|
8244
|
+
super(), this.backend = e, this.store = t, this.services = s, this.languageUtils = s.languageUtils, this.options = n, this.logger = T.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);
|
|
8224
8245
|
}
|
|
8225
8246
|
queueLoad(e, t, s, n) {
|
|
8226
8247
|
const l = {}, c = {}, o = {}, d = {};
|
|
@@ -8250,7 +8271,7 @@ class d5 extends p1 {
|
|
|
8250
8271
|
}), this.state[e] = t ? -1 : 2, t && s && (this.state[e] = 0);
|
|
8251
8272
|
const o = {};
|
|
8252
8273
|
this.queue.forEach((d) => {
|
|
8253
|
-
|
|
8274
|
+
zi(d.loaded, [l], c), g5(d, e), t && d.errors.push(t), d.pendingCount === 0 && !d.done && (Object.keys(d.loaded).forEach((g) => {
|
|
8254
8275
|
o[g] || (o[g] = {});
|
|
8255
8276
|
const a = d.loaded[g];
|
|
8256
8277
|
a.length && a.forEach((h) => {
|
|
@@ -8352,7 +8373,7 @@ class d5 extends p1 {
|
|
|
8352
8373
|
}
|
|
8353
8374
|
}
|
|
8354
8375
|
}
|
|
8355
|
-
const
|
|
8376
|
+
const Z1 = () => ({
|
|
8356
8377
|
debug: !1,
|
|
8357
8378
|
initImmediate: !0,
|
|
8358
8379
|
ns: ["translation"],
|
|
@@ -8408,18 +8429,18 @@ const j1 = () => ({
|
|
|
8408
8429
|
maxReplaces: 1e3,
|
|
8409
8430
|
skipOnVariables: !0
|
|
8410
8431
|
}
|
|
8411
|
-
}),
|
|
8412
|
-
},
|
|
8432
|
+
}), D1 = (i) => (typeof i.ns == "string" && (i.ns = [i.ns]), typeof i.fallbackLng == "string" && (i.fallbackLng = [i.fallbackLng]), typeof i.fallbackNS == "string" && (i.fallbackNS = [i.fallbackNS]), i.supportedLngs && i.supportedLngs.indexOf("cimode") < 0 && (i.supportedLngs = i.supportedLngs.concat(["cimode"])), i), a1 = () => {
|
|
8433
|
+
}, C5 = (i) => {
|
|
8413
8434
|
Object.getOwnPropertyNames(Object.getPrototypeOf(i)).forEach((t) => {
|
|
8414
8435
|
typeof i[t] == "function" && (i[t] = i[t].bind(i));
|
|
8415
8436
|
});
|
|
8416
8437
|
};
|
|
8417
|
-
class
|
|
8438
|
+
class s1 extends f1 {
|
|
8418
8439
|
constructor() {
|
|
8419
8440
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0;
|
|
8420
|
-
if (super(), this.options =
|
|
8441
|
+
if (super(), this.options = D1(e), this.services = {}, this.logger = T, this.modules = {
|
|
8421
8442
|
external: []
|
|
8422
|
-
},
|
|
8443
|
+
}, C5(this), t && !this.isInitialized && !e.isClone) {
|
|
8423
8444
|
if (!this.options.initImmediate)
|
|
8424
8445
|
return this.init(e, t), this;
|
|
8425
8446
|
setTimeout(() => {
|
|
@@ -8431,42 +8452,42 @@ class t1 extends p1 {
|
|
|
8431
8452
|
var e = this;
|
|
8432
8453
|
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, s = arguments.length > 1 ? arguments[1] : void 0;
|
|
8433
8454
|
this.isInitializing = !0, typeof t == "function" && (s = t, t = {}), !t.defaultNS && t.defaultNS !== !1 && t.ns && (typeof t.ns == "string" ? t.defaultNS = t.ns : t.ns.indexOf("translation") < 0 && (t.defaultNS = t.ns[0]));
|
|
8434
|
-
const n =
|
|
8455
|
+
const n = Z1();
|
|
8435
8456
|
this.options = {
|
|
8436
8457
|
...n,
|
|
8437
8458
|
...this.options,
|
|
8438
|
-
...
|
|
8459
|
+
...D1(t)
|
|
8439
8460
|
}, this.options.compatibilityAPI !== "v1" && (this.options.interpolation = {
|
|
8440
8461
|
...n.interpolation,
|
|
8441
8462
|
...this.options.interpolation
|
|
8442
8463
|
}), t.keySeparator !== void 0 && (this.options.userDefinedKeySeparator = t.keySeparator), t.nsSeparator !== void 0 && (this.options.userDefinedNsSeparator = t.nsSeparator);
|
|
8443
8464
|
const l = (a) => a ? typeof a == "function" ? new a() : a : null;
|
|
8444
8465
|
if (!this.options.isClone) {
|
|
8445
|
-
this.modules.logger ?
|
|
8466
|
+
this.modules.logger ? T.init(l(this.modules.logger), this.options) : T.init(null, this.options);
|
|
8446
8467
|
let a;
|
|
8447
|
-
this.modules.formatter ? a = this.modules.formatter : typeof Intl < "u" && (a =
|
|
8448
|
-
const h = new
|
|
8449
|
-
this.store = new
|
|
8468
|
+
this.modules.formatter ? a = this.modules.formatter : typeof Intl < "u" && (a = d5);
|
|
8469
|
+
const h = new B1(this.options);
|
|
8470
|
+
this.store = new O1(this.options.resources, this.options);
|
|
8450
8471
|
const C = this.services;
|
|
8451
|
-
C.logger =
|
|
8472
|
+
C.logger = T, C.resourceStore = this.store, C.languageUtils = h, C.pluralResolver = new a5(h, {
|
|
8452
8473
|
prepend: this.options.pluralSeparator,
|
|
8453
8474
|
compatibilityJSON: this.options.compatibilityJSON,
|
|
8454
8475
|
simplifyPluralSuffix: this.options.simplifyPluralSuffix
|
|
8455
|
-
}), a && (!this.options.interpolation.format || this.options.interpolation.format === n.interpolation.format) && (C.formatter = l(a), C.formatter.init(C, this.options), this.options.interpolation.format = C.formatter.format.bind(C.formatter)), C.interpolator = new
|
|
8476
|
+
}), a && (!this.options.interpolation.format || this.options.interpolation.format === n.interpolation.format) && (C.formatter = l(a), C.formatter.init(C, this.options), this.options.interpolation.format = C.formatter.format.bind(C.formatter)), C.interpolator = new h5(this.options), C.utils = {
|
|
8456
8477
|
hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
|
|
8457
|
-
}, C.backendConnector = new
|
|
8458
|
-
for (var
|
|
8459
|
-
x
|
|
8460
|
-
e.emit(p, ...
|
|
8461
|
-
}), this.modules.languageDetector && (C.languageDetector = l(this.modules.languageDetector), C.languageDetector.init && C.languageDetector.init(C, this.options.detection, this.options)), this.modules.i18nFormat && (C.i18nFormat = l(this.modules.i18nFormat), C.i18nFormat.init && C.i18nFormat.init(this)), this.translator = new
|
|
8462
|
-
for (var
|
|
8463
|
-
x
|
|
8464
|
-
e.emit(p, ...
|
|
8478
|
+
}, C.backendConnector = new u5(l(this.modules.backend), C.resourceStore, C, this.options), C.backendConnector.on("*", function(p) {
|
|
8479
|
+
for (var w = arguments.length, N = new Array(w > 1 ? w - 1 : 0), x = 1; x < w; x++)
|
|
8480
|
+
N[x - 1] = arguments[x];
|
|
8481
|
+
e.emit(p, ...N);
|
|
8482
|
+
}), this.modules.languageDetector && (C.languageDetector = l(this.modules.languageDetector), C.languageDetector.init && C.languageDetector.init(C, this.options.detection, this.options)), this.modules.i18nFormat && (C.i18nFormat = l(this.modules.i18nFormat), C.i18nFormat.init && C.i18nFormat.init(this)), this.translator = new C1(this.services, this.options), this.translator.on("*", function(p) {
|
|
8483
|
+
for (var w = arguments.length, N = new Array(w > 1 ? w - 1 : 0), x = 1; x < w; x++)
|
|
8484
|
+
N[x - 1] = arguments[x];
|
|
8485
|
+
e.emit(p, ...N);
|
|
8465
8486
|
}), this.modules.external.forEach((p) => {
|
|
8466
8487
|
p.init && p.init(this);
|
|
8467
8488
|
});
|
|
8468
8489
|
}
|
|
8469
|
-
if (this.format = this.options.interpolation.format, s || (s =
|
|
8490
|
+
if (this.format = this.options.interpolation.format, s || (s = a1), this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
|
|
8470
8491
|
const a = this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);
|
|
8471
8492
|
a.length > 0 && a[0] !== "dev" && (this.options.lng = a[0]);
|
|
8472
8493
|
}
|
|
@@ -8479,7 +8500,7 @@ class t1 extends p1 {
|
|
|
8479
8500
|
return e.store[a](...arguments), e;
|
|
8480
8501
|
};
|
|
8481
8502
|
});
|
|
8482
|
-
const d =
|
|
8503
|
+
const d = t1(), g = () => {
|
|
8483
8504
|
const a = (h, C) => {
|
|
8484
8505
|
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(C), s(h, C);
|
|
8485
8506
|
};
|
|
@@ -8489,7 +8510,7 @@ class t1 extends p1 {
|
|
|
8489
8510
|
return this.options.resources || !this.options.initImmediate ? g() : setTimeout(g, 0), d;
|
|
8490
8511
|
}
|
|
8491
8512
|
loadResources(e) {
|
|
8492
|
-
let s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] :
|
|
8513
|
+
let s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : a1;
|
|
8493
8514
|
const n = typeof e == "string" ? e : this.language;
|
|
8494
8515
|
if (typeof e == "function" && (s = e), !this.options.resources || this.options.partialBundledLanguages) {
|
|
8495
8516
|
if (n && n.toLowerCase() === "cimode" && (!this.options.preload || this.options.preload.length === 0)) return s();
|
|
@@ -8506,15 +8527,15 @@ class t1 extends p1 {
|
|
|
8506
8527
|
s(null);
|
|
8507
8528
|
}
|
|
8508
8529
|
reloadResources(e, t, s) {
|
|
8509
|
-
const n =
|
|
8510
|
-
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 =
|
|
8530
|
+
const n = t1();
|
|
8531
|
+
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 = a1), this.services.backendConnector.reload(e, t, (l) => {
|
|
8511
8532
|
n.resolve(), s(l);
|
|
8512
8533
|
}), n;
|
|
8513
8534
|
}
|
|
8514
8535
|
use(e) {
|
|
8515
8536
|
if (!e) throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");
|
|
8516
8537
|
if (!e.type) throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");
|
|
8517
|
-
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" &&
|
|
8538
|
+
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" && X1.addPostProcessor(e), e.type === "formatter" && (this.modules.formatter = e), e.type === "3rdParty" && this.modules.external.push(e), this;
|
|
8518
8539
|
}
|
|
8519
8540
|
setResolvedLanguage(e) {
|
|
8520
8541
|
if (!(!e || !this.languages) && !(["cimode", "dev"].indexOf(e) > -1))
|
|
@@ -8529,7 +8550,7 @@ class t1 extends p1 {
|
|
|
8529
8550
|
changeLanguage(e, t) {
|
|
8530
8551
|
var s = this;
|
|
8531
8552
|
this.isLanguageChangingTo = e;
|
|
8532
|
-
const n =
|
|
8553
|
+
const n = t1();
|
|
8533
8554
|
this.emit("languageChanging", e);
|
|
8534
8555
|
const l = (d) => {
|
|
8535
8556
|
this.language = d, this.languages = this.services.languageUtils.toResolveHierarchy(d), this.resolvedLanguage = void 0, this.setResolvedLanguage(d);
|
|
@@ -8563,7 +8584,7 @@ class t1 extends p1 {
|
|
|
8563
8584
|
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);
|
|
8564
8585
|
const C = n.options.keySeparator || ".";
|
|
8565
8586
|
let p;
|
|
8566
|
-
return d.keyPrefix && Array.isArray(c) ? p = c.map((
|
|
8587
|
+
return d.keyPrefix && Array.isArray(c) ? p = c.map((w) => `${d.keyPrefix}${C}${w}`) : p = d.keyPrefix ? `${d.keyPrefix}${C}${c}` : c, n.t(p, d);
|
|
8567
8588
|
};
|
|
8568
8589
|
return typeof e == "string" ? l.lng = e : l.lngs = e, l.ns = t, l.keyPrefix = s, l;
|
|
8569
8590
|
}
|
|
@@ -8595,7 +8616,7 @@ class t1 extends p1 {
|
|
|
8595
8616
|
return !!(this.hasResourceBundle(s, e) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages || c(s, e) && (!n || c(l, e)));
|
|
8596
8617
|
}
|
|
8597
8618
|
loadNamespaces(e, t) {
|
|
8598
|
-
const s =
|
|
8619
|
+
const s = t1();
|
|
8599
8620
|
return this.options.ns ? (typeof e == "string" && (e = [e]), e.forEach((n) => {
|
|
8600
8621
|
this.options.ns.indexOf(n) < 0 && this.options.ns.push(n);
|
|
8601
8622
|
}), this.loadResources((n) => {
|
|
@@ -8603,7 +8624,7 @@ class t1 extends p1 {
|
|
|
8603
8624
|
}), s) : (t && t(), Promise.resolve());
|
|
8604
8625
|
}
|
|
8605
8626
|
loadLanguages(e, t) {
|
|
8606
|
-
const s =
|
|
8627
|
+
const s = t1();
|
|
8607
8628
|
typeof e == "string" && (e = [e]);
|
|
8608
8629
|
const n = this.options.preload || [], l = e.filter((c) => n.indexOf(c) < 0 && this.services.languageUtils.isSupportedCode(c));
|
|
8609
8630
|
return l.length ? (this.options.preload = n.concat(l), this.loadResources((c) => {
|
|
@@ -8612,29 +8633,29 @@ class t1 extends p1 {
|
|
|
8612
8633
|
}
|
|
8613
8634
|
dir(e) {
|
|
8614
8635
|
if (e || (e = this.resolvedLanguage || (this.languages && this.languages.length > 0 ? this.languages[0] : this.language)), !e) return "rtl";
|
|
8615
|
-
const t = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], s = this.services && this.services.languageUtils || new
|
|
8636
|
+
const t = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], s = this.services && this.services.languageUtils || new B1(Z1());
|
|
8616
8637
|
return t.indexOf(s.getLanguagePartFromCode(e)) > -1 || e.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
|
|
8617
8638
|
}
|
|
8618
8639
|
static createInstance() {
|
|
8619
8640
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0;
|
|
8620
|
-
return new
|
|
8641
|
+
return new s1(e, t);
|
|
8621
8642
|
}
|
|
8622
8643
|
cloneInstance() {
|
|
8623
|
-
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] :
|
|
8644
|
+
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : a1;
|
|
8624
8645
|
const s = e.forkResourceStore;
|
|
8625
8646
|
s && delete e.forkResourceStore;
|
|
8626
8647
|
const n = {
|
|
8627
8648
|
...this.options,
|
|
8628
8649
|
...e,
|
|
8629
8650
|
isClone: !0
|
|
8630
|
-
}, l = new
|
|
8651
|
+
}, l = new s1(n);
|
|
8631
8652
|
return (e.debug !== void 0 || e.prefix !== void 0) && (l.logger = l.logger.clone(e)), ["store", "services", "language"].forEach((o) => {
|
|
8632
8653
|
l[o] = this[o];
|
|
8633
8654
|
}), l.services = {
|
|
8634
8655
|
...this.services
|
|
8635
8656
|
}, l.services.utils = {
|
|
8636
8657
|
hasLoadedNamespace: l.hasLoadedNamespace.bind(l)
|
|
8637
|
-
}, s && (l.store = new
|
|
8658
|
+
}, s && (l.store = new O1(this.store.data, n), l.services.resourceStore = l.store), l.translator = new C1(l.services, n), l.translator.on("*", function(o) {
|
|
8638
8659
|
for (var d = arguments.length, g = new Array(d > 1 ? d - 1 : 0), a = 1; a < d; a++)
|
|
8639
8660
|
g[a - 1] = arguments[a];
|
|
8640
8661
|
l.emit(o, ...g);
|
|
@@ -8652,158 +8673,158 @@ class t1 extends p1 {
|
|
|
8652
8673
|
};
|
|
8653
8674
|
}
|
|
8654
8675
|
}
|
|
8655
|
-
const
|
|
8656
|
-
|
|
8657
|
-
|
|
8658
|
-
|
|
8659
|
-
|
|
8660
|
-
|
|
8661
|
-
|
|
8662
|
-
|
|
8663
|
-
|
|
8664
|
-
|
|
8665
|
-
|
|
8666
|
-
|
|
8667
|
-
|
|
8668
|
-
|
|
8669
|
-
|
|
8670
|
-
|
|
8671
|
-
const
|
|
8672
|
-
archived:
|
|
8673
|
-
deleted:
|
|
8674
|
-
},
|
|
8675
|
-
archived:
|
|
8676
|
-
deleted:
|
|
8676
|
+
const S = s1.createInstance();
|
|
8677
|
+
S.createInstance = s1.createInstance;
|
|
8678
|
+
S.createInstance;
|
|
8679
|
+
S.dir;
|
|
8680
|
+
S.init;
|
|
8681
|
+
S.loadResources;
|
|
8682
|
+
S.reloadResources;
|
|
8683
|
+
S.use;
|
|
8684
|
+
S.changeLanguage;
|
|
8685
|
+
S.getFixedT;
|
|
8686
|
+
S.t;
|
|
8687
|
+
S.exists;
|
|
8688
|
+
S.setDefaultNamespace;
|
|
8689
|
+
S.hasLoadedNamespace;
|
|
8690
|
+
S.loadNamespaces;
|
|
8691
|
+
S.loadLanguages;
|
|
8692
|
+
const p5 = "Archived", f5 = "Deleted", w5 = {
|
|
8693
|
+
archived: p5,
|
|
8694
|
+
deleted: f5
|
|
8695
|
+
}, m5 = "Заархивирован", k5 = "Удалён", L5 = {
|
|
8696
|
+
archived: m5,
|
|
8697
|
+
deleted: k5
|
|
8677
8698
|
};
|
|
8678
|
-
|
|
8699
|
+
S.use(Di).init({
|
|
8679
8700
|
defaultNS: "common",
|
|
8680
8701
|
lng: "en",
|
|
8681
8702
|
resources: {
|
|
8682
8703
|
en: {
|
|
8683
|
-
common:
|
|
8704
|
+
common: w5
|
|
8684
8705
|
},
|
|
8685
8706
|
ru: {
|
|
8686
|
-
common:
|
|
8707
|
+
common: L5
|
|
8687
8708
|
}
|
|
8688
8709
|
}
|
|
8689
8710
|
});
|
|
8690
|
-
const
|
|
8711
|
+
const b5 = r1(
|
|
8691
8712
|
({ fetchParams: i, mode: e = void 0, placeholder: t, disabled: s, value: n, onChange: l, onError: c }, o) => {
|
|
8692
|
-
const { axiosPeople: d, locale: g } =
|
|
8713
|
+
const { axiosPeople: d, locale: g } = o1(le), { t: a } = $i("common", { lng: g }), [h, C] = I([]), [p, w] = I(!0);
|
|
8693
8714
|
if (!d)
|
|
8694
8715
|
throw new Error(
|
|
8695
8716
|
`UserSelect requires "axiosPeople" to fetch users.
|
|
8696
8717
|
Please provide it via SNMTUiContext.`
|
|
8697
8718
|
);
|
|
8698
|
-
const
|
|
8719
|
+
const N = $(
|
|
8699
8720
|
(f) => {
|
|
8700
|
-
let
|
|
8701
|
-
return f.deletedAt && (
|
|
8721
|
+
let m = "";
|
|
8722
|
+
return f.deletedAt && (m += `[${a("deleted")}] `), f.status === c1.ARCHIVED && (m += `[${a("archived")}] `), `${m}${f.firstName} ${f.lastName}`;
|
|
8702
8723
|
},
|
|
8703
8724
|
[a]
|
|
8704
|
-
),
|
|
8725
|
+
), x = $(
|
|
8705
8726
|
async ({
|
|
8706
8727
|
offset: f,
|
|
8707
|
-
limit:
|
|
8728
|
+
limit: m,
|
|
8708
8729
|
search: M
|
|
8709
8730
|
}) => {
|
|
8710
|
-
var
|
|
8731
|
+
var R, b, O;
|
|
8711
8732
|
try {
|
|
8712
8733
|
const E = await d.post("v1/users/search", {
|
|
8713
8734
|
offset: f,
|
|
8714
|
-
limit:
|
|
8735
|
+
limit: m,
|
|
8715
8736
|
search: M,
|
|
8716
8737
|
...i,
|
|
8717
8738
|
includeCount: !0
|
|
8718
|
-
}), { data: W, metadata:
|
|
8739
|
+
}), { data: W, metadata: P } = E.data;
|
|
8719
8740
|
return {
|
|
8720
8741
|
options: W.map((j) => ({
|
|
8721
8742
|
value: j.id,
|
|
8722
|
-
label:
|
|
8743
|
+
label: N(j)
|
|
8723
8744
|
})),
|
|
8724
|
-
count:
|
|
8745
|
+
count: P.count
|
|
8725
8746
|
};
|
|
8726
8747
|
} catch (E) {
|
|
8727
8748
|
return c && c({
|
|
8728
|
-
status: ((
|
|
8729
|
-
message: ((
|
|
8749
|
+
status: ((R = E.response) == null ? void 0 : R.status) ?? 500,
|
|
8750
|
+
message: ((O = (b = E.response) == null ? void 0 : b.data) == null ? void 0 : O.message) ?? "Error while fetching options"
|
|
8730
8751
|
}), {
|
|
8731
8752
|
options: [],
|
|
8732
8753
|
count: 0
|
|
8733
8754
|
};
|
|
8734
8755
|
}
|
|
8735
8756
|
},
|
|
8736
|
-
[d, i, c,
|
|
8737
|
-
),
|
|
8757
|
+
[d, i, c, N]
|
|
8758
|
+
), V = $(
|
|
8738
8759
|
async (f) => {
|
|
8739
|
-
var
|
|
8760
|
+
var m, M, R;
|
|
8740
8761
|
try {
|
|
8741
8762
|
return await Promise.all(
|
|
8742
|
-
f.map(async (
|
|
8743
|
-
const E = h.find((j) => j.value ===
|
|
8763
|
+
f.map(async (O) => {
|
|
8764
|
+
const E = h.find((j) => j.value === O);
|
|
8744
8765
|
if (E)
|
|
8745
8766
|
return E;
|
|
8746
|
-
const
|
|
8767
|
+
const P = (await d.post("v1/users/search", {
|
|
8747
8768
|
filters: {
|
|
8748
|
-
id: [
|
|
8749
|
-
status: [
|
|
8769
|
+
id: [O],
|
|
8770
|
+
status: [c1.ACTIVE, c1.ARCHIVED]
|
|
8750
8771
|
}
|
|
8751
8772
|
})).data.data[0];
|
|
8752
8773
|
return {
|
|
8753
|
-
value:
|
|
8754
|
-
label:
|
|
8774
|
+
value: O,
|
|
8775
|
+
label: N(P)
|
|
8755
8776
|
};
|
|
8756
8777
|
})
|
|
8757
8778
|
);
|
|
8758
|
-
} catch (
|
|
8779
|
+
} catch (b) {
|
|
8759
8780
|
return c && c({
|
|
8760
|
-
status: ((
|
|
8761
|
-
message: ((
|
|
8781
|
+
status: ((m = b.response) == null ? void 0 : m.status) ?? 500,
|
|
8782
|
+
message: ((R = (M = b.response) == null ? void 0 : M.data) == null ? void 0 : R.message) ?? "Error while fetching selected items"
|
|
8762
8783
|
}), [];
|
|
8763
8784
|
}
|
|
8764
8785
|
},
|
|
8765
8786
|
// Use eslint disable to exclude selectedOptions to prevent infinity rerender
|
|
8766
8787
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
8767
|
-
[d,
|
|
8788
|
+
[d, N, c]
|
|
8768
8789
|
);
|
|
8769
8790
|
Z(() => {
|
|
8770
8791
|
if (!n) {
|
|
8771
|
-
|
|
8792
|
+
w(!1);
|
|
8772
8793
|
return;
|
|
8773
8794
|
}
|
|
8774
8795
|
(async () => {
|
|
8775
|
-
const
|
|
8776
|
-
C(M),
|
|
8796
|
+
const m = Array.isArray(n) ? n : [n], M = await V(m);
|
|
8797
|
+
C(M), w(!1);
|
|
8777
8798
|
})();
|
|
8778
|
-
}, [
|
|
8799
|
+
}, [V, n]);
|
|
8779
8800
|
const y = $(
|
|
8780
8801
|
async ({
|
|
8781
8802
|
limit: f,
|
|
8782
|
-
offset:
|
|
8803
|
+
offset: m,
|
|
8783
8804
|
search: M
|
|
8784
8805
|
}) => {
|
|
8785
|
-
const { options:
|
|
8786
|
-
offset:
|
|
8806
|
+
const { options: R, count: b } = await x({
|
|
8807
|
+
offset: m,
|
|
8787
8808
|
limit: f,
|
|
8788
8809
|
search: M
|
|
8789
8810
|
});
|
|
8790
8811
|
return {
|
|
8791
|
-
options:
|
|
8792
|
-
count:
|
|
8812
|
+
options: R,
|
|
8813
|
+
count: b,
|
|
8793
8814
|
limit: f
|
|
8794
8815
|
};
|
|
8795
8816
|
},
|
|
8796
|
-
[
|
|
8817
|
+
[x]
|
|
8797
8818
|
);
|
|
8798
8819
|
if (p)
|
|
8799
|
-
return /* @__PURE__ */ r(
|
|
8820
|
+
return /* @__PURE__ */ r(bi, {});
|
|
8800
8821
|
const H = {
|
|
8801
8822
|
ref: o,
|
|
8802
8823
|
placeholder: t,
|
|
8803
8824
|
disabled: s
|
|
8804
8825
|
};
|
|
8805
8826
|
return e ? /* @__PURE__ */ r(
|
|
8806
|
-
|
|
8827
|
+
y1,
|
|
8807
8828
|
{
|
|
8808
8829
|
...H,
|
|
8809
8830
|
mode: e,
|
|
@@ -8814,7 +8835,7 @@ const M5 = s1(
|
|
|
8814
8835
|
extraOptions: h
|
|
8815
8836
|
}
|
|
8816
8837
|
) : /* @__PURE__ */ r(
|
|
8817
|
-
|
|
8838
|
+
y1,
|
|
8818
8839
|
{
|
|
8819
8840
|
...H,
|
|
8820
8841
|
value: n,
|
|
@@ -8828,5 +8849,5 @@ const M5 = s1(
|
|
|
8828
8849
|
}
|
|
8829
8850
|
);
|
|
8830
8851
|
export {
|
|
8831
|
-
|
|
8852
|
+
b5 as UserSelect
|
|
8832
8853
|
};
|