@snmt-react-ui/city-select 2.1.6 → 2.2.1
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/city-select.js +925 -902
- package/dist/index.css +1 -1
- package/package.json +4 -4
package/dist/city-select.js
CHANGED
@@ -1,12 +1,12 @@
|
|
1
|
-
var
|
2
|
-
var
|
3
|
-
var
|
1
|
+
var ae = Object.defineProperty;
|
2
|
+
var he = (i, e, t) => e in i ? ae(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t;
|
3
|
+
var y1 = (i, e, t) => he(i, typeof e != "symbol" ? e + "" : e, t);
|
4
4
|
import "./index.css";
|
5
|
-
import { jsx as n,
|
6
|
-
import { SNMTUiContext as
|
7
|
-
import { Select as
|
8
|
-
import { createContext as
|
9
|
-
const
|
5
|
+
import { jsx as n, Fragment as X, jsxs as u } from "react/jsx-runtime";
|
6
|
+
import { SNMTUiContext as ce } from "@snmt-react-ui/core";
|
7
|
+
import { Select as de, Flex as ge, Avatar as ue, Checkbox as Ce, Typography as F1, Tag as $1, Popover as pe } from "antd";
|
8
|
+
import { createContext as s1, forwardRef as f1, useState as B, useRef as n1, useEffect as Z, useCallback as G, useContext as r1 } from "react";
|
9
|
+
const d1 = ({
|
10
10
|
children: i,
|
11
11
|
direction: e = "row",
|
12
12
|
flexWrap: t = "nowrap",
|
@@ -16,7 +16,7 @@ const c1 = ({
|
|
16
16
|
gap: c,
|
17
17
|
padding: r
|
18
18
|
}) => /* @__PURE__ */ n(
|
19
|
-
|
19
|
+
ge,
|
20
20
|
{
|
21
21
|
className: `snmt-flex${t === "inherit" ? " inherit" : ""}`,
|
22
22
|
vertical: e === "column",
|
@@ -28,10 +28,10 @@ const c1 = ({
|
|
28
28
|
style: { padding: r },
|
29
29
|
children: i
|
30
30
|
}
|
31
|
-
),
|
31
|
+
), fe = ({ shape: i = "circle", size: e = 32, children: t, ...o }) => {
|
32
32
|
const s = typeof o.src == "string";
|
33
33
|
return /* @__PURE__ */ n(
|
34
|
-
|
34
|
+
ue,
|
35
35
|
{
|
36
36
|
className: `snmt-avatar ${s ? "image" : ""}`,
|
37
37
|
shape: i,
|
@@ -42,13 +42,13 @@ const c1 = ({
|
|
42
42
|
}
|
43
43
|
);
|
44
44
|
};
|
45
|
-
var
|
46
|
-
const
|
45
|
+
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 || {});
|
46
|
+
const Y1 = s1({
|
47
47
|
locale: "en",
|
48
48
|
theme: "light"
|
49
49
|
});
|
50
|
-
|
51
|
-
const
|
50
|
+
Y1.Provider;
|
51
|
+
const we = ({
|
52
52
|
checked: i = !0,
|
53
53
|
indeterminate: e = !1,
|
54
54
|
children: t,
|
@@ -56,13 +56,13 @@ const ue = ({
|
|
56
56
|
disabled: s = !1,
|
57
57
|
disableUncheck: l = !1
|
58
58
|
}) => {
|
59
|
-
const [c, r] =
|
60
|
-
|
59
|
+
const [c, r] = B(i), [d, g] = B(e);
|
60
|
+
Z(() => {
|
61
61
|
r(i), g(e);
|
62
62
|
}, [i, e]);
|
63
|
-
const { theme: a } =
|
63
|
+
const { theme: a } = r1(Y1);
|
64
64
|
return /* @__PURE__ */ n(
|
65
|
-
|
65
|
+
Ce,
|
66
66
|
{
|
67
67
|
className: `snmt-checkbox snmt-checkbox-${a}`,
|
68
68
|
checked: c,
|
@@ -75,13 +75,13 @@ const ue = ({
|
|
75
75
|
}
|
76
76
|
);
|
77
77
|
};
|
78
|
-
var
|
79
|
-
const
|
78
|
+
var m = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_1 = "var(--grey-light-1)", i.GREY_LIGHT_2 = "var(--grey-light-2)", i.GREY_LIGHT_3 = "var(--grey-light-3)", i.GREY_LIGHT_4 = "var(--grey-light-4)", i.GREY_DARK_1 = "var(--grey-dark-1)", i.GREY_DARK_2 = "var(--grey-dark-2)", i.GREY_DARK_3 = "var(--grey-dark-3)", i.GREY_DARK_4 = "var(--grey-dark-4)", i.GREY_DARK_5 = "var(--grey-dark-5)", i.BLUE_PRIMARY = "var(--blue-primary)", i.BLUE_HOVER = "var(--blue-hover)", i.BLUE_LIGHT_1 = "var(--blue-light-1)", i.BLUE_LIGHT_2 = "var(--blue-light-2)", i.BLUE_LIGHT_3 = "var(--blue-light-3)", i.BLUE_LIGHT_4 = "var(--blue-light-4)", i.BLUE_DARK_1 = "var(--blue-dark-1)", i.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))(m || {});
|
79
|
+
const U1 = s1({
|
80
80
|
locale: "en",
|
81
81
|
theme: "light"
|
82
82
|
});
|
83
|
-
|
84
|
-
const
|
83
|
+
U1.Provider;
|
84
|
+
const me = ({
|
85
85
|
width: i = 20,
|
86
86
|
height: e = 20,
|
87
87
|
color: t = "#001E52",
|
@@ -108,7 +108,7 @@ const Ce = ({
|
|
108
108
|
}
|
109
109
|
)
|
110
110
|
}
|
111
|
-
),
|
111
|
+
), ke = ({
|
112
112
|
width: i = 20,
|
113
113
|
height: e = 20,
|
114
114
|
color: t = "#001E52",
|
@@ -135,7 +135,7 @@ const Ce = ({
|
|
135
135
|
}
|
136
136
|
)
|
137
137
|
}
|
138
|
-
),
|
138
|
+
), Le = ({
|
139
139
|
width: i = 16,
|
140
140
|
height: e = 16,
|
141
141
|
color: t = "#001E52",
|
@@ -163,7 +163,7 @@ const Ce = ({
|
|
163
163
|
)
|
164
164
|
]
|
165
165
|
}
|
166
|
-
),
|
166
|
+
), ve = ({
|
167
167
|
width: i = 20,
|
168
168
|
height: e = 20,
|
169
169
|
color: t = "#001E52",
|
@@ -198,7 +198,7 @@ const Ce = ({
|
|
198
198
|
)
|
199
199
|
]
|
200
200
|
}
|
201
|
-
),
|
201
|
+
), Ne = ({
|
202
202
|
width: i = 18,
|
203
203
|
height: e = 18,
|
204
204
|
color: t = "#001E52",
|
@@ -237,7 +237,7 @@ const Ce = ({
|
|
237
237
|
)
|
238
238
|
]
|
239
239
|
}
|
240
|
-
),
|
240
|
+
), xe = ({
|
241
241
|
width: i = 20,
|
242
242
|
height: e = 20,
|
243
243
|
color: t = "#001E52",
|
@@ -263,7 +263,7 @@ const Ce = ({
|
|
263
263
|
}
|
264
264
|
)
|
265
265
|
}
|
266
|
-
),
|
266
|
+
), Re = ({
|
267
267
|
width: i = 20,
|
268
268
|
height: e = 20,
|
269
269
|
color: t = "#001E52",
|
@@ -284,7 +284,7 @@ const Ce = ({
|
|
284
284
|
/* @__PURE__ */ n("path", { d: "M16 4L4 16", stroke: t, strokeWidth: "1.5", strokeLinecap: "round" })
|
285
285
|
]
|
286
286
|
}
|
287
|
-
),
|
287
|
+
), Me = ({
|
288
288
|
width: i = 20,
|
289
289
|
height: e = 20,
|
290
290
|
color: t = "#001E52",
|
@@ -316,7 +316,7 @@ const Ce = ({
|
|
316
316
|
)
|
317
317
|
]
|
318
318
|
}
|
319
|
-
),
|
319
|
+
), ye = ({
|
320
320
|
width: i = 20,
|
321
321
|
height: e = 20,
|
322
322
|
color: t = "#001E52",
|
@@ -370,7 +370,7 @@ const Ce = ({
|
|
370
370
|
)
|
371
371
|
]
|
372
372
|
}
|
373
|
-
),
|
373
|
+
), be = ({
|
374
374
|
width: i = 20,
|
375
375
|
height: e = 20,
|
376
376
|
color: t = "#001E52",
|
@@ -409,7 +409,7 @@ const Ce = ({
|
|
409
409
|
/* @__PURE__ */ n("path", { d: "M3 12L17 12", stroke: t, strokeWidth: "2", strokeLinecap: "round" })
|
410
410
|
]
|
411
411
|
}
|
412
|
-
),
|
412
|
+
), Ee = ({
|
413
413
|
width: i = 16,
|
414
414
|
height: e = 12,
|
415
415
|
color: t = "#001E52",
|
@@ -458,7 +458,7 @@ const Ce = ({
|
|
458
458
|
)
|
459
459
|
] })
|
460
460
|
}
|
461
|
-
),
|
461
|
+
), _e = ({
|
462
462
|
width: i = 16,
|
463
463
|
height: e = 16,
|
464
464
|
color: t = "#001E52",
|
@@ -492,7 +492,7 @@ const Ce = ({
|
|
492
492
|
)
|
493
493
|
]
|
494
494
|
}
|
495
|
-
),
|
495
|
+
), He = ({
|
496
496
|
width: i = 10,
|
497
497
|
height: e = 10,
|
498
498
|
color: t = "#001E52",
|
@@ -531,7 +531,7 @@ const Ce = ({
|
|
531
531
|
)
|
532
532
|
] })
|
533
533
|
}
|
534
|
-
),
|
534
|
+
), Ve = ({
|
535
535
|
width: i = 16,
|
536
536
|
height: e = 16,
|
537
537
|
color: t = "#001E52",
|
@@ -567,7 +567,7 @@ const Ce = ({
|
|
567
567
|
)
|
568
568
|
]
|
569
569
|
}
|
570
|
-
),
|
570
|
+
), Ie = ({
|
571
571
|
width: i = 11,
|
572
572
|
height: e = 32,
|
573
573
|
color: t = "#001E52",
|
@@ -605,7 +605,7 @@ const Ce = ({
|
|
605
605
|
/* @__PURE__ */ n("circle", { cx: "3", cy: "3", r: "3", fill: t })
|
606
606
|
]
|
607
607
|
}
|
608
|
-
),
|
608
|
+
), Se = ({
|
609
609
|
width: i = 20,
|
610
610
|
height: e = 20,
|
611
611
|
color: t = "#001E52",
|
@@ -652,7 +652,7 @@ const Ce = ({
|
|
652
652
|
)
|
653
653
|
]
|
654
654
|
}
|
655
|
-
),
|
655
|
+
), Oe = ({
|
656
656
|
width: i = 20,
|
657
657
|
height: e = 20,
|
658
658
|
color: t = "#001E52",
|
@@ -685,7 +685,7 @@ const Ce = ({
|
|
685
685
|
)
|
686
686
|
]
|
687
687
|
}
|
688
|
-
),
|
688
|
+
), Ae = ({
|
689
689
|
width: i = 20,
|
690
690
|
height: e = 20,
|
691
691
|
color: t = "#001E52",
|
@@ -732,7 +732,7 @@ const Ce = ({
|
|
732
732
|
)
|
733
733
|
]
|
734
734
|
}
|
735
|
-
),
|
735
|
+
), Be = ({
|
736
736
|
width: i = 20,
|
737
737
|
height: e = 20,
|
738
738
|
color: t = "#001E52",
|
@@ -765,7 +765,7 @@ const Ce = ({
|
|
765
765
|
)
|
766
766
|
]
|
767
767
|
}
|
768
|
-
),
|
768
|
+
), We = ({
|
769
769
|
width: i = 18,
|
770
770
|
height: e = 16,
|
771
771
|
color: t = "#001E52",
|
@@ -804,7 +804,7 @@ const Ce = ({
|
|
804
804
|
)
|
805
805
|
]
|
806
806
|
}
|
807
|
-
),
|
807
|
+
), je = ({
|
808
808
|
width: i = 20,
|
809
809
|
height: e = 20,
|
810
810
|
color: t = "#001E52",
|
@@ -837,7 +837,7 @@ const Ce = ({
|
|
837
837
|
)
|
838
838
|
]
|
839
839
|
}
|
840
|
-
),
|
840
|
+
), Ze = ({
|
841
841
|
width: i = 20,
|
842
842
|
height: e = 20,
|
843
843
|
color: t = "#001E52",
|
@@ -861,7 +861,7 @@ const Ce = ({
|
|
861
861
|
}
|
862
862
|
)
|
863
863
|
}
|
864
|
-
),
|
864
|
+
), De = ({
|
865
865
|
width: i = 20,
|
866
866
|
height: e = 20,
|
867
867
|
color: t = "#001E52",
|
@@ -908,7 +908,7 @@ const Ce = ({
|
|
908
908
|
)
|
909
909
|
]
|
910
910
|
}
|
911
|
-
),
|
911
|
+
), Te = ({
|
912
912
|
width: i = 20,
|
913
913
|
height: e = 20,
|
914
914
|
color: t = "#001E52",
|
@@ -941,7 +941,7 @@ const Ce = ({
|
|
941
941
|
)
|
942
942
|
]
|
943
943
|
}
|
944
|
-
),
|
944
|
+
), Ge = ({
|
945
945
|
width: i = 20,
|
946
946
|
height: e = 20,
|
947
947
|
color: t = "#001E52",
|
@@ -974,7 +974,7 @@ const Ce = ({
|
|
974
974
|
)
|
975
975
|
]
|
976
976
|
}
|
977
|
-
),
|
977
|
+
), Ke = ({
|
978
978
|
width: i = 20,
|
979
979
|
height: e = 23,
|
980
980
|
color: t = "#001E52",
|
@@ -1035,7 +1035,7 @@ const Ce = ({
|
|
1035
1035
|
)
|
1036
1036
|
]
|
1037
1037
|
}
|
1038
|
-
),
|
1038
|
+
), Pe = ({
|
1039
1039
|
width: i = 20,
|
1040
1040
|
height: e = 20,
|
1041
1041
|
color: t = "#001E52",
|
@@ -1075,7 +1075,7 @@ const Ce = ({
|
|
1075
1075
|
)
|
1076
1076
|
]
|
1077
1077
|
}
|
1078
|
-
),
|
1078
|
+
), Fe = ({
|
1079
1079
|
width: i = 32,
|
1080
1080
|
height: e = 25,
|
1081
1081
|
color: t = "#001E52",
|
@@ -1103,7 +1103,7 @@ const Ce = ({
|
|
1103
1103
|
)
|
1104
1104
|
]
|
1105
1105
|
}
|
1106
|
-
),
|
1106
|
+
), $e = ({
|
1107
1107
|
width: i = 14,
|
1108
1108
|
height: e = 14,
|
1109
1109
|
color: t = "#10B981",
|
@@ -1132,7 +1132,7 @@ const Ce = ({
|
|
1132
1132
|
)
|
1133
1133
|
]
|
1134
1134
|
}
|
1135
|
-
),
|
1135
|
+
), Ye = ({
|
1136
1136
|
width: i = 11,
|
1137
1137
|
height: e = 11,
|
1138
1138
|
color: t = "#FFB020",
|
@@ -1166,7 +1166,7 @@ const Ce = ({
|
|
1166
1166
|
)
|
1167
1167
|
]
|
1168
1168
|
}
|
1169
|
-
),
|
1169
|
+
), Ue = ({
|
1170
1170
|
width: i = 10,
|
1171
1171
|
height: e = 10,
|
1172
1172
|
color: t = "#88A4FF",
|
@@ -1214,7 +1214,7 @@ const Ce = ({
|
|
1214
1214
|
)
|
1215
1215
|
]
|
1216
1216
|
}
|
1217
|
-
),
|
1217
|
+
), ze = ({
|
1218
1218
|
width: i = 14,
|
1219
1219
|
height: e = 14,
|
1220
1220
|
color: t = "#8E8E93",
|
@@ -1242,7 +1242,7 @@ const Ce = ({
|
|
1242
1242
|
)
|
1243
1243
|
]
|
1244
1244
|
}
|
1245
|
-
),
|
1245
|
+
), Je = ({
|
1246
1246
|
width: i = 14,
|
1247
1247
|
height: e = 14,
|
1248
1248
|
color: t = "#FFB020",
|
@@ -1276,7 +1276,7 @@ const Ce = ({
|
|
1276
1276
|
)
|
1277
1277
|
]
|
1278
1278
|
}
|
1279
|
-
),
|
1279
|
+
), Qe = ({
|
1280
1280
|
width: i = 14,
|
1281
1281
|
height: e = 14,
|
1282
1282
|
color: t = "#D0421B",
|
@@ -1324,7 +1324,7 @@ const Ce = ({
|
|
1324
1324
|
)
|
1325
1325
|
]
|
1326
1326
|
}
|
1327
|
-
),
|
1327
|
+
), qe = ({
|
1328
1328
|
width: i = 20,
|
1329
1329
|
height: e = 20,
|
1330
1330
|
color: t = "#070739",
|
@@ -1354,7 +1354,7 @@ const Ce = ({
|
|
1354
1354
|
/* @__PURE__ */ n("circle", { cx: "10", cy: "10", r: "2.375", stroke: t, strokeWidth: "1.25" })
|
1355
1355
|
]
|
1356
1356
|
}
|
1357
|
-
),
|
1357
|
+
), Xe = ({
|
1358
1358
|
width: i = 20,
|
1359
1359
|
height: e = 20,
|
1360
1360
|
color: t = "#070739",
|
@@ -1392,7 +1392,7 @@ const Ce = ({
|
|
1392
1392
|
)
|
1393
1393
|
]
|
1394
1394
|
}
|
1395
|
-
),
|
1395
|
+
), et = ({
|
1396
1396
|
width: i = 9,
|
1397
1397
|
height: e = 5,
|
1398
1398
|
color: t = "#001E52",
|
@@ -1418,7 +1418,7 @@ const Ce = ({
|
|
1418
1418
|
}
|
1419
1419
|
)
|
1420
1420
|
}
|
1421
|
-
),
|
1421
|
+
), tt = ({
|
1422
1422
|
width: i = 20,
|
1423
1423
|
height: e = 20,
|
1424
1424
|
color: t = "#F2F2F7",
|
@@ -1447,7 +1447,7 @@ const Ce = ({
|
|
1447
1447
|
)
|
1448
1448
|
]
|
1449
1449
|
}
|
1450
|
-
),
|
1450
|
+
), it = ({
|
1451
1451
|
width: i = 20,
|
1452
1452
|
height: e = 20,
|
1453
1453
|
color: t = "#004ED7",
|
@@ -1476,7 +1476,7 @@ const Ce = ({
|
|
1476
1476
|
)
|
1477
1477
|
]
|
1478
1478
|
}
|
1479
|
-
),
|
1479
|
+
), ot = ({
|
1480
1480
|
width: i = 248,
|
1481
1481
|
height: e = 248,
|
1482
1482
|
color: t = "#070739",
|
@@ -1513,7 +1513,7 @@ const Ce = ({
|
|
1513
1513
|
)
|
1514
1514
|
]
|
1515
1515
|
}
|
1516
|
-
),
|
1516
|
+
), st = ({
|
1517
1517
|
width: i = 24,
|
1518
1518
|
height: e = 24,
|
1519
1519
|
color: t = "#001E52",
|
@@ -1552,7 +1552,7 @@ const Ce = ({
|
|
1552
1552
|
)
|
1553
1553
|
]
|
1554
1554
|
}
|
1555
|
-
),
|
1555
|
+
), nt = ({
|
1556
1556
|
width: i = 10,
|
1557
1557
|
height: e = 10,
|
1558
1558
|
color: t = "#001E52",
|
@@ -1581,7 +1581,7 @@ const Ce = ({
|
|
1581
1581
|
)
|
1582
1582
|
]
|
1583
1583
|
}
|
1584
|
-
),
|
1584
|
+
), rt = ({
|
1585
1585
|
width: i = 10,
|
1586
1586
|
height: e = 10,
|
1587
1587
|
color: t = "#001E52",
|
@@ -1618,10 +1618,10 @@ const Ce = ({
|
|
1618
1618
|
)
|
1619
1619
|
]
|
1620
1620
|
}
|
1621
|
-
),
|
1621
|
+
), lt = ({
|
1622
1622
|
width: i = 24,
|
1623
1623
|
height: e = 24,
|
1624
|
-
color: t =
|
1624
|
+
color: t = m.GREY_DARK_5,
|
1625
1625
|
className: o,
|
1626
1626
|
onClick: s
|
1627
1627
|
}) => /* @__PURE__ */ u(
|
@@ -1657,10 +1657,10 @@ const Ce = ({
|
|
1657
1657
|
)
|
1658
1658
|
]
|
1659
1659
|
}
|
1660
|
-
),
|
1660
|
+
), at = ({
|
1661
1661
|
width: i = 20,
|
1662
1662
|
height: e = 20,
|
1663
|
-
color: t =
|
1663
|
+
color: t = m.GREY_DARK_1,
|
1664
1664
|
className: o,
|
1665
1665
|
onClick: s
|
1666
1666
|
}) => /* @__PURE__ */ u(
|
@@ -1690,10 +1690,10 @@ const Ce = ({
|
|
1690
1690
|
)
|
1691
1691
|
]
|
1692
1692
|
}
|
1693
|
-
),
|
1693
|
+
), ht = ({
|
1694
1694
|
width: i = 81,
|
1695
1695
|
height: e = 80,
|
1696
|
-
color: t =
|
1696
|
+
color: t = m.GREY_DARK_5,
|
1697
1697
|
className: o,
|
1698
1698
|
onClick: s
|
1699
1699
|
}) => /* @__PURE__ */ u(
|
@@ -1739,9 +1739,9 @@ const Ce = ({
|
|
1739
1739
|
)
|
1740
1740
|
]
|
1741
1741
|
}
|
1742
|
-
),
|
1742
|
+
), ct = ({
|
1743
1743
|
className: i,
|
1744
|
-
color: e =
|
1744
|
+
color: e = m.GREY_DARK_5,
|
1745
1745
|
height: t = 20,
|
1746
1746
|
width: o = 20,
|
1747
1747
|
onClick: s
|
@@ -1766,9 +1766,9 @@ const Ce = ({
|
|
1766
1766
|
}
|
1767
1767
|
)
|
1768
1768
|
}
|
1769
|
-
),
|
1769
|
+
), dt = ({
|
1770
1770
|
className: i,
|
1771
|
-
color: e =
|
1771
|
+
color: e = m.GREY_DARK_5,
|
1772
1772
|
height: t = 20,
|
1773
1773
|
width: o = 20,
|
1774
1774
|
onClick: s
|
@@ -1793,9 +1793,9 @@ const Ce = ({
|
|
1793
1793
|
}
|
1794
1794
|
)
|
1795
1795
|
}
|
1796
|
-
),
|
1796
|
+
), gt = ({
|
1797
1797
|
className: i,
|
1798
|
-
color: e =
|
1798
|
+
color: e = m.GREY_DARK_5,
|
1799
1799
|
height: t = 5,
|
1800
1800
|
width: o = 10,
|
1801
1801
|
onClick: s
|
@@ -1817,9 +1817,9 @@ const Ce = ({
|
|
1817
1817
|
}
|
1818
1818
|
)
|
1819
1819
|
}
|
1820
|
-
),
|
1820
|
+
), ut = ({
|
1821
1821
|
className: i,
|
1822
|
-
color: e =
|
1822
|
+
color: e = m.GREY_DARK_5,
|
1823
1823
|
height: t = 5,
|
1824
1824
|
width: o = 10,
|
1825
1825
|
onClick: s
|
@@ -1842,9 +1842,9 @@ const Ce = ({
|
|
1842
1842
|
}
|
1843
1843
|
)
|
1844
1844
|
}
|
1845
|
-
),
|
1845
|
+
), Ct = ({
|
1846
1846
|
className: i,
|
1847
|
-
color: e =
|
1847
|
+
color: e = m.GREY_DARK_5,
|
1848
1848
|
height: t = 24,
|
1849
1849
|
width: o = 24,
|
1850
1850
|
onClick: s
|
@@ -1881,9 +1881,9 @@ const Ce = ({
|
|
1881
1881
|
)
|
1882
1882
|
]
|
1883
1883
|
}
|
1884
|
-
),
|
1884
|
+
), pt = ({
|
1885
1885
|
className: i,
|
1886
|
-
color: e =
|
1886
|
+
color: e = m.GREY_DARK_5,
|
1887
1887
|
height: t = 24,
|
1888
1888
|
width: o = 24,
|
1889
1889
|
onClick: s
|
@@ -1920,9 +1920,9 @@ const Ce = ({
|
|
1920
1920
|
)
|
1921
1921
|
]
|
1922
1922
|
}
|
1923
|
-
),
|
1923
|
+
), ft = ({
|
1924
1924
|
className: i,
|
1925
|
-
color: e =
|
1925
|
+
color: e = m.GREY_DARK_5,
|
1926
1926
|
height: t = 24,
|
1927
1927
|
width: o = 24,
|
1928
1928
|
onClick: s
|
@@ -1947,9 +1947,9 @@ const Ce = ({
|
|
1947
1947
|
}
|
1948
1948
|
)
|
1949
1949
|
}
|
1950
|
-
),
|
1950
|
+
), wt = ({
|
1951
1951
|
className: i,
|
1952
|
-
color: e =
|
1952
|
+
color: e = m.GREY_DARK_5,
|
1953
1953
|
height: t = 24,
|
1954
1954
|
width: o = 24,
|
1955
1955
|
onClick: s
|
@@ -2006,9 +2006,9 @@ const Ce = ({
|
|
2006
2006
|
)
|
2007
2007
|
]
|
2008
2008
|
}
|
2009
|
-
),
|
2009
|
+
), mt = ({
|
2010
2010
|
className: i,
|
2011
|
-
color: e =
|
2011
|
+
color: e = m.GREY_DARK_5,
|
2012
2012
|
height: t = 24,
|
2013
2013
|
width: o = 24,
|
2014
2014
|
onClick: s
|
@@ -2043,9 +2043,9 @@ const Ce = ({
|
|
2043
2043
|
)
|
2044
2044
|
]
|
2045
2045
|
}
|
2046
|
-
),
|
2046
|
+
), kt = ({
|
2047
2047
|
className: i,
|
2048
|
-
color: e =
|
2048
|
+
color: e = m.GREY_DARK_3,
|
2049
2049
|
height: t = 14,
|
2050
2050
|
width: o = 14,
|
2051
2051
|
onClick: s
|
@@ -2080,9 +2080,9 @@ const Ce = ({
|
|
2080
2080
|
)
|
2081
2081
|
]
|
2082
2082
|
}
|
2083
|
-
),
|
2083
|
+
), Lt = ({
|
2084
2084
|
className: i,
|
2085
|
-
color: e =
|
2085
|
+
color: e = m.GREY_DARK_5,
|
2086
2086
|
height: t = 18,
|
2087
2087
|
onClick: o,
|
2088
2088
|
width: s = 18
|
@@ -2107,9 +2107,9 @@ const Ce = ({
|
|
2107
2107
|
}
|
2108
2108
|
)
|
2109
2109
|
}
|
2110
|
-
),
|
2110
|
+
), vt = ({
|
2111
2111
|
className: i,
|
2112
|
-
color: e =
|
2112
|
+
color: e = m.GREY_DARK_5,
|
2113
2113
|
height: t = 24,
|
2114
2114
|
width: o = 24,
|
2115
2115
|
onClick: s
|
@@ -2159,9 +2159,9 @@ const Ce = ({
|
|
2159
2159
|
)
|
2160
2160
|
]
|
2161
2161
|
}
|
2162
|
-
),
|
2162
|
+
), Nt = ({
|
2163
2163
|
className: i,
|
2164
|
-
color: e =
|
2164
|
+
color: e = m.GREY_DARK_5,
|
2165
2165
|
height: t = 24,
|
2166
2166
|
width: o = 24,
|
2167
2167
|
onClick: s
|
@@ -2196,9 +2196,9 @@ const Ce = ({
|
|
2196
2196
|
)
|
2197
2197
|
]
|
2198
2198
|
}
|
2199
|
-
),
|
2199
|
+
), xt = ({
|
2200
2200
|
className: i,
|
2201
|
-
color: e =
|
2201
|
+
color: e = m.NOTIFICATION_WARNING_DARK,
|
2202
2202
|
height: t = 37,
|
2203
2203
|
width: o = 36,
|
2204
2204
|
onClick: s
|
@@ -2235,9 +2235,9 @@ const Ce = ({
|
|
2235
2235
|
)
|
2236
2236
|
]
|
2237
2237
|
}
|
2238
|
-
),
|
2238
|
+
), Rt = ({
|
2239
2239
|
className: i,
|
2240
|
-
color: e =
|
2240
|
+
color: e = m.GREY_DARK_5,
|
2241
2241
|
height: t = 24,
|
2242
2242
|
width: o = 24,
|
2243
2243
|
onClick: s
|
@@ -2261,9 +2261,9 @@ const Ce = ({
|
|
2261
2261
|
}
|
2262
2262
|
)
|
2263
2263
|
}
|
2264
|
-
),
|
2264
|
+
), Mt = ({
|
2265
2265
|
className: i,
|
2266
|
-
color: e =
|
2266
|
+
color: e = m.GREY_DARK_5,
|
2267
2267
|
height: t = 24,
|
2268
2268
|
width: o = 24,
|
2269
2269
|
onClick: s
|
@@ -2300,9 +2300,9 @@ const Ce = ({
|
|
2300
2300
|
)
|
2301
2301
|
]
|
2302
2302
|
}
|
2303
|
-
),
|
2303
|
+
), yt = ({
|
2304
2304
|
className: i,
|
2305
|
-
color: e =
|
2305
|
+
color: e = m.GREY_DARK_5,
|
2306
2306
|
height: t = 24,
|
2307
2307
|
width: o = 24,
|
2308
2308
|
onClick: s
|
@@ -2339,9 +2339,9 @@ const Ce = ({
|
|
2339
2339
|
)
|
2340
2340
|
]
|
2341
2341
|
}
|
2342
|
-
),
|
2342
|
+
), bt = ({
|
2343
2343
|
className: i,
|
2344
|
-
color: e =
|
2344
|
+
color: e = m.GREY_DARK_5,
|
2345
2345
|
height: t = 24,
|
2346
2346
|
width: o = 24,
|
2347
2347
|
onClick: s
|
@@ -2408,9 +2408,9 @@ const Ce = ({
|
|
2408
2408
|
)
|
2409
2409
|
]
|
2410
2410
|
}
|
2411
|
-
),
|
2411
|
+
), Et = ({
|
2412
2412
|
className: i,
|
2413
|
-
color: e =
|
2413
|
+
color: e = m.GREY_DARK_5,
|
2414
2414
|
height: t = 24,
|
2415
2415
|
width: o = 24,
|
2416
2416
|
onClick: s
|
@@ -2447,9 +2447,9 @@ const Ce = ({
|
|
2447
2447
|
)
|
2448
2448
|
]
|
2449
2449
|
}
|
2450
|
-
),
|
2450
|
+
), _t = ({
|
2451
2451
|
className: i,
|
2452
|
-
color: e =
|
2452
|
+
color: e = m.GREY_DARK_5,
|
2453
2453
|
height: t = 24,
|
2454
2454
|
width: o = 24,
|
2455
2455
|
onClick: s
|
@@ -2504,9 +2504,9 @@ const Ce = ({
|
|
2504
2504
|
)
|
2505
2505
|
]
|
2506
2506
|
}
|
2507
|
-
),
|
2507
|
+
), Ht = ({
|
2508
2508
|
className: i,
|
2509
|
-
color: e =
|
2509
|
+
color: e = m.GREY_DARK_5,
|
2510
2510
|
height: t = 24,
|
2511
2511
|
width: o = 24,
|
2512
2512
|
onClick: s
|
@@ -2543,9 +2543,9 @@ const Ce = ({
|
|
2543
2543
|
)
|
2544
2544
|
]
|
2545
2545
|
}
|
2546
|
-
),
|
2546
|
+
), Vt = ({
|
2547
2547
|
className: i,
|
2548
|
-
color: e =
|
2548
|
+
color: e = m.GREY_DARK_5,
|
2549
2549
|
height: t = 24,
|
2550
2550
|
width: o = 24,
|
2551
2551
|
onClick: s
|
@@ -2592,9 +2592,9 @@ const Ce = ({
|
|
2592
2592
|
)
|
2593
2593
|
]
|
2594
2594
|
}
|
2595
|
-
),
|
2595
|
+
), It = ({
|
2596
2596
|
className: i,
|
2597
|
-
color: e =
|
2597
|
+
color: e = m.GREY_DARK_5,
|
2598
2598
|
height: t = 24,
|
2599
2599
|
width: o = 24,
|
2600
2600
|
onClick: s
|
@@ -2631,9 +2631,9 @@ const Ce = ({
|
|
2631
2631
|
)
|
2632
2632
|
]
|
2633
2633
|
}
|
2634
|
-
),
|
2634
|
+
), St = ({
|
2635
2635
|
className: i,
|
2636
|
-
color: e =
|
2636
|
+
color: e = m.GREY_DARK_5,
|
2637
2637
|
height: t = 24,
|
2638
2638
|
width: o = 24,
|
2639
2639
|
onClick: s
|
@@ -2658,9 +2658,9 @@ const Ce = ({
|
|
2658
2658
|
}
|
2659
2659
|
)
|
2660
2660
|
}
|
2661
|
-
),
|
2661
|
+
), Ot = ({
|
2662
2662
|
className: i,
|
2663
|
-
color: e =
|
2663
|
+
color: e = m.GREY_DARK_5,
|
2664
2664
|
height: t = 24,
|
2665
2665
|
width: o = 24,
|
2666
2666
|
onClick: s
|
@@ -2696,9 +2696,9 @@ const Ce = ({
|
|
2696
2696
|
)
|
2697
2697
|
]
|
2698
2698
|
}
|
2699
|
-
),
|
2699
|
+
), At = ({
|
2700
2700
|
className: i,
|
2701
|
-
color: e =
|
2701
|
+
color: e = m.GREY_DARK_5,
|
2702
2702
|
height: t = 24,
|
2703
2703
|
width: o = 24,
|
2704
2704
|
onClick: s
|
@@ -2717,9 +2717,9 @@ const Ce = ({
|
|
2717
2717
|
/* @__PURE__ */ n("path", { d: "M12 8L4 8", stroke: e, strokeWidth: "1.7", strokeLinecap: "round" })
|
2718
2718
|
]
|
2719
2719
|
}
|
2720
|
-
),
|
2720
|
+
), Bt = ({
|
2721
2721
|
className: i,
|
2722
|
-
color: e =
|
2722
|
+
color: e = m.GREY_DARK_5,
|
2723
2723
|
height: t = 24,
|
2724
2724
|
width: o = 24,
|
2725
2725
|
onClick: s
|
@@ -2756,9 +2756,9 @@ const Ce = ({
|
|
2756
2756
|
)
|
2757
2757
|
]
|
2758
2758
|
}
|
2759
|
-
),
|
2759
|
+
), Wt = ({
|
2760
2760
|
className: i,
|
2761
|
-
color: e =
|
2761
|
+
color: e = m.GREY_DARK_5,
|
2762
2762
|
height: t = 24,
|
2763
2763
|
width: o = 24,
|
2764
2764
|
onClick: s
|
@@ -2795,9 +2795,9 @@ const Ce = ({
|
|
2795
2795
|
)
|
2796
2796
|
]
|
2797
2797
|
}
|
2798
|
-
),
|
2798
|
+
), jt = ({
|
2799
2799
|
className: i,
|
2800
|
-
color: e =
|
2800
|
+
color: e = m.GREY_DARK_5,
|
2801
2801
|
height: t = 24,
|
2802
2802
|
width: o = 24,
|
2803
2803
|
onClick: s
|
@@ -2834,9 +2834,9 @@ const Ce = ({
|
|
2834
2834
|
)
|
2835
2835
|
]
|
2836
2836
|
}
|
2837
|
-
),
|
2837
|
+
), Zt = ({
|
2838
2838
|
className: i,
|
2839
|
-
color: e =
|
2839
|
+
color: e = m.GREY_DARK_2,
|
2840
2840
|
height: t = 16,
|
2841
2841
|
width: o = 16,
|
2842
2842
|
onClick: s
|
@@ -2860,9 +2860,9 @@ const Ce = ({
|
|
2860
2860
|
}
|
2861
2861
|
)
|
2862
2862
|
}
|
2863
|
-
),
|
2863
|
+
), Dt = ({
|
2864
2864
|
className: i,
|
2865
|
-
color: e =
|
2865
|
+
color: e = m.GREY_DARK_5,
|
2866
2866
|
height: t = 20,
|
2867
2867
|
width: o = 20,
|
2868
2868
|
onClick: s
|
@@ -2889,9 +2889,9 @@ const Ce = ({
|
|
2889
2889
|
/* @__PURE__ */ n("defs", { children: /* @__PURE__ */ n("clipPath", { id: "clip0_3992_5989", children: /* @__PURE__ */ n("rect", { width: "20", height: "20", fill: "white" }) }) })
|
2890
2890
|
]
|
2891
2891
|
}
|
2892
|
-
),
|
2892
|
+
), Tt = ({
|
2893
2893
|
className: i,
|
2894
|
-
color: e =
|
2894
|
+
color: e = m.GREY_DARK_5,
|
2895
2895
|
height: t = 20,
|
2896
2896
|
width: o = 20,
|
2897
2897
|
onClick: s
|
@@ -2918,9 +2918,9 @@ const Ce = ({
|
|
2918
2918
|
/* @__PURE__ */ n("defs", { children: /* @__PURE__ */ n("clipPath", { id: "clip0_3992_5988", children: /* @__PURE__ */ n("rect", { width: "20", height: "20", fill: "white" }) }) })
|
2919
2919
|
]
|
2920
2920
|
}
|
2921
|
-
),
|
2921
|
+
), Gt = ({
|
2922
2922
|
className: i,
|
2923
|
-
color: e =
|
2923
|
+
color: e = m.GREY_DARK_5,
|
2924
2924
|
height: t = 20,
|
2925
2925
|
width: o = 20,
|
2926
2926
|
onClick: s
|
@@ -2935,7 +2935,7 @@ const Ce = ({
|
|
2935
2935
|
fill: "none",
|
2936
2936
|
xmlns: "http://www.w3.org/2000/svg",
|
2937
2937
|
children: [
|
2938
|
-
/* @__PURE__ */ n("rect", { width: "20", height: "20", rx: "4", fill:
|
2938
|
+
/* @__PURE__ */ n("rect", { width: "20", height: "20", rx: "4", fill: m.GREY_LIGHT_2 }),
|
2939
2939
|
/* @__PURE__ */ n(
|
2940
2940
|
"path",
|
2941
2941
|
{
|
@@ -2947,9 +2947,9 @@ const Ce = ({
|
|
2947
2947
|
)
|
2948
2948
|
]
|
2949
2949
|
}
|
2950
|
-
),
|
2950
|
+
), Kt = ({
|
2951
2951
|
className: i,
|
2952
|
-
color: e =
|
2952
|
+
color: e = m.GREY_DARK_5,
|
2953
2953
|
height: t = 20,
|
2954
2954
|
width: o = 20,
|
2955
2955
|
onClick: s
|
@@ -2964,7 +2964,7 @@ const Ce = ({
|
|
2964
2964
|
fill: "none",
|
2965
2965
|
xmlns: "http://www.w3.org/2000/svg",
|
2966
2966
|
children: [
|
2967
|
-
/* @__PURE__ */ n("rect", { width: "20", height: "20", rx: "4", fill:
|
2967
|
+
/* @__PURE__ */ n("rect", { width: "20", height: "20", rx: "4", fill: m.GREY_LIGHT_2 }),
|
2968
2968
|
/* @__PURE__ */ n(
|
2969
2969
|
"path",
|
2970
2970
|
{
|
@@ -2976,7 +2976,7 @@ const Ce = ({
|
|
2976
2976
|
)
|
2977
2977
|
]
|
2978
2978
|
}
|
2979
|
-
),
|
2979
|
+
), Pt = ({
|
2980
2980
|
className: i,
|
2981
2981
|
color: e = "#001E52",
|
2982
2982
|
height: t = 24,
|
@@ -3002,7 +3002,7 @@ const Ce = ({
|
|
3002
3002
|
}
|
3003
3003
|
)
|
3004
3004
|
}
|
3005
|
-
),
|
3005
|
+
), Ft = ({
|
3006
3006
|
className: i,
|
3007
3007
|
color: e = "#131314",
|
3008
3008
|
height: t = 20,
|
@@ -3030,7 +3030,7 @@ const Ce = ({
|
|
3030
3030
|
}
|
3031
3031
|
)
|
3032
3032
|
}
|
3033
|
-
),
|
3033
|
+
), $t = ({
|
3034
3034
|
className: i,
|
3035
3035
|
color: e = "#001E52",
|
3036
3036
|
height: t = 24,
|
@@ -3068,7 +3068,7 @@ const Ce = ({
|
|
3068
3068
|
)
|
3069
3069
|
] }) })
|
3070
3070
|
}
|
3071
|
-
),
|
3071
|
+
), a1 = ({
|
3072
3072
|
name: i,
|
3073
3073
|
width: e,
|
3074
3074
|
height: t,
|
@@ -3077,49 +3077,49 @@ const Ce = ({
|
|
3077
3077
|
disabled: l = !1,
|
3078
3078
|
onClick: c
|
3079
3079
|
}) => {
|
3080
|
-
const [r, d] =
|
3081
|
-
return
|
3080
|
+
const [r, d] = B(s), { theme: g } = r1(U1), a = l ? g && g === "dark" ? m.GREY_LIGHT_4 : m.GREY_DARK_1 : o, h = l ? void 0 : c;
|
3081
|
+
return Z(() => {
|
3082
3082
|
if (s) {
|
3083
3083
|
h && !l && d(`${s} clickable`);
|
3084
3084
|
return;
|
3085
3085
|
}
|
3086
3086
|
h && !l && d("clickable");
|
3087
|
-
}, [h, s, l]), /* @__PURE__ */ n(
|
3087
|
+
}, [h, s, l]), /* @__PURE__ */ n(X, { children: (() => {
|
3088
3088
|
switch (i) {
|
3089
3089
|
case "nextIcon":
|
3090
|
-
return
|
3090
|
+
return ct({ width: e, height: t, color: a, className: r, onClick: h });
|
3091
3091
|
case "prevIcon":
|
3092
|
-
return
|
3092
|
+
return dt({ width: e, height: t, color: a, className: r, onClick: h });
|
3093
3093
|
case "arrowUp":
|
3094
|
-
return
|
3094
|
+
return me({ width: e, height: t, color: a, className: r, onClick: h });
|
3095
3095
|
case "arrowDown":
|
3096
|
-
return
|
3096
|
+
return ke({ width: e, height: t, color: a, className: r, onClick: h });
|
3097
3097
|
case "info":
|
3098
|
-
return
|
3098
|
+
return Le({ width: e, height: t, color: a, className: r, onClick: h });
|
3099
3099
|
case "arrowRight":
|
3100
|
-
return
|
3100
|
+
return ve({ width: e, height: t, color: a, className: r, onClick: h });
|
3101
3101
|
case "calendar":
|
3102
|
-
return
|
3102
|
+
return Ne({ width: e, height: t, color: a, className: r, onClick: h });
|
3103
3103
|
case "ok":
|
3104
|
-
return
|
3104
|
+
return xe({ width: e, height: t, color: a, className: r, onClick: h });
|
3105
3105
|
case "cancel":
|
3106
|
-
return
|
3106
|
+
return Re({ width: e, height: t, color: a, className: r, onClick: h });
|
3107
3107
|
case "add":
|
3108
|
-
return
|
3108
|
+
return Me({ width: e, height: t, color: a, className: r, onClick: h });
|
3109
3109
|
case "list":
|
3110
|
-
return
|
3110
|
+
return ye({ width: e, height: t, color: a, className: r, onClick: h });
|
3111
3111
|
case "dragAndDrop":
|
3112
|
-
return
|
3112
|
+
return be({ width: e, height: t, color: a, className: r, onClick: h });
|
3113
3113
|
case "filter":
|
3114
|
-
return
|
3114
|
+
return Ee({ width: e, height: t, color: a, className: r, onClick: h });
|
3115
3115
|
case "attention":
|
3116
|
-
return
|
3116
|
+
return _e({ width: e, height: t, color: a, className: r, onClick: h });
|
3117
3117
|
case "plus":
|
3118
|
-
return
|
3118
|
+
return He({ width: e, height: t, color: a, className: r, onClick: h });
|
3119
3119
|
case "time":
|
3120
|
-
return
|
3120
|
+
return Ve({ width: e, height: t, color: a, className: r, onClick: h });
|
3121
3121
|
case "arrowDownLong":
|
3122
|
-
return
|
3122
|
+
return Ie({
|
3123
3123
|
width: e,
|
3124
3124
|
height: t,
|
3125
3125
|
color: a,
|
@@ -3127,9 +3127,9 @@ const Ce = ({
|
|
3127
3127
|
onClick: h
|
3128
3128
|
});
|
3129
3129
|
case "users":
|
3130
|
-
return
|
3130
|
+
return Se({ width: e, height: t, color: a, className: r, onClick: h });
|
3131
3131
|
case "mySkillsMatrix":
|
3132
|
-
return
|
3132
|
+
return Oe({
|
3133
3133
|
width: e,
|
3134
3134
|
height: t,
|
3135
3135
|
color: a,
|
@@ -3137,9 +3137,9 @@ const Ce = ({
|
|
3137
3137
|
onClick: h
|
3138
3138
|
});
|
3139
3139
|
case "skills":
|
3140
|
-
return
|
3140
|
+
return Ae({ width: e, height: t, color: a, className: r, onClick: h });
|
3141
3141
|
case "skillsMatrices":
|
3142
|
-
return
|
3142
|
+
return Be({
|
3143
3143
|
width: e,
|
3144
3144
|
height: t,
|
3145
3145
|
color: a,
|
@@ -3147,23 +3147,23 @@ const Ce = ({
|
|
3147
3147
|
onClick: h
|
3148
3148
|
});
|
3149
3149
|
case "history":
|
3150
|
-
return
|
3150
|
+
return We({ width: e, height: t, color: a, className: r, onClick: h });
|
3151
3151
|
case "logOut":
|
3152
|
-
return
|
3152
|
+
return je({ width: e, height: t, color: a, className: r, onClick: h });
|
3153
3153
|
case "settings":
|
3154
|
-
return
|
3154
|
+
return Ze({ width: e, height: t, color: a, className: r, onClick: h });
|
3155
3155
|
case "addSkill":
|
3156
|
-
return
|
3156
|
+
return De({ width: e, height: t, color: a, className: r, onClick: h });
|
3157
3157
|
case "conversation":
|
3158
|
-
return
|
3158
|
+
return Te({ width: e, height: t, color: a, className: r, onClick: h });
|
3159
3159
|
case "trash":
|
3160
|
-
return
|
3160
|
+
return Ge({ width: e, height: t, color: a, className: r, onClick: h });
|
3161
3161
|
case "settings4":
|
3162
|
-
return
|
3162
|
+
return Ke({ width: e, height: t, color: a, className: r, onClick: h });
|
3163
3163
|
case "edit2":
|
3164
|
-
return
|
3164
|
+
return Pe({ width: e, height: t, color: a, className: r, onClick: h });
|
3165
3165
|
case "notifications":
|
3166
|
-
return
|
3166
|
+
return Fe({
|
3167
3167
|
width: e,
|
3168
3168
|
height: t,
|
3169
3169
|
color: a,
|
@@ -3171,9 +3171,9 @@ const Ce = ({
|
|
3171
3171
|
onClick: h
|
3172
3172
|
});
|
3173
3173
|
case "success":
|
3174
|
-
return
|
3174
|
+
return $e({ width: e, height: t, color: a, className: r, onClick: h });
|
3175
3175
|
case "attentionSmall":
|
3176
|
-
return
|
3176
|
+
return Ye({
|
3177
3177
|
width: e,
|
3178
3178
|
height: t,
|
3179
3179
|
color: a,
|
@@ -3181,11 +3181,11 @@ const Ce = ({
|
|
3181
3181
|
onClick: h
|
3182
3182
|
});
|
3183
3183
|
case "errorSmall":
|
3184
|
-
return
|
3184
|
+
return Ue({ width: e, height: t, color: a, className: r, onClick: h });
|
3185
3185
|
case "infoMedium":
|
3186
|
-
return
|
3186
|
+
return ze({ width: e, height: t, color: a, className: r, onClick: h });
|
3187
3187
|
case "attentionMedium":
|
3188
|
-
return
|
3188
|
+
return Je({
|
3189
3189
|
width: e,
|
3190
3190
|
height: t,
|
3191
3191
|
color: a,
|
@@ -3193,9 +3193,9 @@ const Ce = ({
|
|
3193
3193
|
onClick: h
|
3194
3194
|
});
|
3195
3195
|
case "errorMedium":
|
3196
|
-
return
|
3196
|
+
return Qe({ width: e, height: t, color: a, className: r, onClick: h });
|
3197
3197
|
case "faviconSkills":
|
3198
|
-
return
|
3198
|
+
return ot({
|
3199
3199
|
width: e,
|
3200
3200
|
height: t,
|
3201
3201
|
color: a,
|
@@ -3203,7 +3203,7 @@ const Ce = ({
|
|
3203
3203
|
onClick: h
|
3204
3204
|
});
|
3205
3205
|
case "visibilityIcon":
|
3206
|
-
return
|
3206
|
+
return qe({
|
3207
3207
|
width: e,
|
3208
3208
|
height: t,
|
3209
3209
|
color: a,
|
@@ -3211,7 +3211,7 @@ const Ce = ({
|
|
3211
3211
|
onClick: h
|
3212
3212
|
});
|
3213
3213
|
case "visibilityOffIcon":
|
3214
|
-
return
|
3214
|
+
return Xe({
|
3215
3215
|
width: e,
|
3216
3216
|
height: t,
|
3217
3217
|
color: a,
|
@@ -3219,7 +3219,7 @@ const Ce = ({
|
|
3219
3219
|
onClick: h
|
3220
3220
|
});
|
3221
3221
|
case "selectArrowIcon":
|
3222
|
-
return
|
3222
|
+
return et({
|
3223
3223
|
width: e,
|
3224
3224
|
height: t,
|
3225
3225
|
color: a,
|
@@ -3227,7 +3227,7 @@ const Ce = ({
|
|
3227
3227
|
onClick: h
|
3228
3228
|
});
|
3229
3229
|
case "expandArrowIcon":
|
3230
|
-
return
|
3230
|
+
return tt({
|
3231
3231
|
width: e,
|
3232
3232
|
height: t,
|
3233
3233
|
color: a,
|
@@ -3235,7 +3235,7 @@ const Ce = ({
|
|
3235
3235
|
onClick: h
|
3236
3236
|
});
|
3237
3237
|
case "expandActiveArrowIcon":
|
3238
|
-
return
|
3238
|
+
return it({
|
3239
3239
|
width: e,
|
3240
3240
|
height: t,
|
3241
3241
|
color: a,
|
@@ -3243,97 +3243,97 @@ const Ce = ({
|
|
3243
3243
|
onClick: h
|
3244
3244
|
});
|
3245
3245
|
case "camera":
|
3246
|
-
return
|
3246
|
+
return st({ width: e, height: t, color: a, className: r, onClick: h });
|
3247
3247
|
case "sortUp":
|
3248
|
-
return
|
3248
|
+
return nt({ width: e, height: t, color: a, className: r, onClick: h });
|
3249
3249
|
case "sortDown":
|
3250
|
-
return
|
3250
|
+
return rt({ width: e, height: t, color: a, className: r, onClick: h });
|
3251
3251
|
case "logOut2":
|
3252
|
-
return
|
3252
|
+
return lt({ width: e, height: t, color: a, className: r, onClick: h });
|
3253
3253
|
case "search":
|
3254
|
-
return
|
3254
|
+
return at({ width: e, height: t, color: a, className: r, onClick: h });
|
3255
3255
|
case "handRock":
|
3256
|
-
return nt({ width: e, height: t, color: a, className: r, onClick: h });
|
3257
|
-
case "arrowUpFilled":
|
3258
3256
|
return ht({ width: e, height: t, color: a, className: r, onClick: h });
|
3257
|
+
case "arrowUpFilled":
|
3258
|
+
return ut({ width: e, height: t, color: a, className: r, onClick: h });
|
3259
3259
|
case "arrowDownFilled":
|
3260
|
-
return
|
3260
|
+
return gt({ width: e, height: t, color: a, className: r, onClick: h });
|
3261
3261
|
case "link":
|
3262
|
-
return
|
3262
|
+
return Ct({ width: e, height: t, color: a, className: r, onClick: h });
|
3263
3263
|
case "telegram":
|
3264
|
-
return
|
3264
|
+
return ft({ width: e, height: t, color: a, className: r, onClick: h });
|
3265
3265
|
case "mail":
|
3266
|
-
return
|
3266
|
+
return mt({ width: e, height: t, color: a, className: r, onClick: h });
|
3267
3267
|
case "github":
|
3268
|
-
return
|
3268
|
+
return pt({ width: e, height: t, color: a, className: r, onClick: h });
|
3269
3269
|
case "linkedIn":
|
3270
|
-
return
|
3270
|
+
return wt({ width: e, height: t, color: a, className: r, onClick: h });
|
3271
3271
|
case "emptyStateIcon":
|
3272
|
-
return
|
3272
|
+
return kt({ width: e, height: t, color: a, className: r, onClick: h });
|
3273
3273
|
case "filtersIcon":
|
3274
|
-
return
|
3274
|
+
return Lt({ width: e, height: t, color: a, className: r, onClick: h });
|
3275
3275
|
case "dotMenuIcon":
|
3276
|
-
return
|
3276
|
+
return vt({ width: e, height: t, color: a, className: r, onClick: h });
|
3277
3277
|
case "plusCircle":
|
3278
|
-
return
|
3278
|
+
return Nt({ width: e, height: t, color: a, className: r, onClick: h });
|
3279
3279
|
case "warning":
|
3280
|
-
return
|
3280
|
+
return xt({ width: e, height: t, color: a, className: r, onClick: h });
|
3281
3281
|
case "back":
|
3282
|
-
return
|
3282
|
+
return Rt({ width: e, height: t, color: a, className: r, onClick: h });
|
3283
3283
|
case "bell":
|
3284
|
-
return
|
3284
|
+
return Mt({ width: e, height: t, color: a, className: r, onClick: h });
|
3285
3285
|
case "contract":
|
3286
|
-
return
|
3286
|
+
return bt({ width: e, height: t, color: a, className: r, onClick: h });
|
3287
3287
|
case "trash2":
|
3288
|
-
return
|
3288
|
+
return yt({ width: e, height: t, color: a, className: r, onClick: h });
|
3289
3289
|
case "manager":
|
3290
|
-
return
|
3290
|
+
return Et({ width: e, height: t, color: a, className: r, onClick: h });
|
3291
3291
|
case "resourceManager":
|
3292
|
-
return
|
3292
|
+
return _t({ width: e, height: t, color: a, className: r, onClick: h });
|
3293
3293
|
case "settings2":
|
3294
|
-
return
|
3294
|
+
return Ht({ width: e, height: t, color: a, className: r, onClick: h });
|
3295
3295
|
case "image":
|
3296
|
-
return
|
3296
|
+
return Vt({ width: e, height: t, color: a, className: r, onClick: h });
|
3297
3297
|
case "upload":
|
3298
|
-
return
|
3298
|
+
return It({ width: e, height: t, color: a, className: r, onClick: h });
|
3299
3299
|
case "edit":
|
3300
|
-
return
|
3300
|
+
return St({ width: e, height: t, color: a, className: r, onClick: h });
|
3301
3301
|
case "location":
|
3302
|
-
return
|
3302
|
+
return Ot({ width: e, height: t, color: a, className: r, onClick: h });
|
3303
3303
|
case "plus2":
|
3304
|
-
return
|
3304
|
+
return At({ width: e, height: t, color: a, className: r, onClick: h });
|
3305
3305
|
case "search2":
|
3306
|
-
return
|
3306
|
+
return Bt({ width: e, height: t, color: a, className: r, onClick: h });
|
3307
3307
|
case "fastArrowLeft":
|
3308
|
-
return
|
3308
|
+
return Wt({ width: e, height: t, color: a, className: r, onClick: h });
|
3309
3309
|
case "fastArrowRight":
|
3310
|
-
return
|
3310
|
+
return jt({ width: e, height: t, color: a, className: r, onClick: h });
|
3311
3311
|
case "crossInCircle":
|
3312
|
-
return
|
3312
|
+
return Zt({ width: e, height: t, color: a, className: r, onClick: h });
|
3313
3313
|
case "arrowUp2":
|
3314
|
-
return
|
3314
|
+
return Tt({ width: e, height: t, color: a, className: r, onClick: h });
|
3315
3315
|
case "arrowDown2":
|
3316
|
-
return
|
3316
|
+
return Dt({ width: e, height: t, color: a, className: r, onClick: h });
|
3317
3317
|
case "filledArrowLeft":
|
3318
|
-
return
|
3318
|
+
return Gt({ width: e, height: t, color: a, className: r, onClick: h });
|
3319
3319
|
case "filledArrowRight":
|
3320
|
-
return
|
3320
|
+
return Kt({ width: e, height: t, color: a, className: r, onClick: h });
|
3321
3321
|
case "burgerMenu":
|
3322
|
-
return
|
3322
|
+
return Pt({ width: e, height: t, color: a, className: r, onClick: h });
|
3323
3323
|
case "signOut":
|
3324
|
-
return
|
3324
|
+
return Ft({ width: e, height: t, color: a, className: r, onClick: h });
|
3325
3325
|
case "refresh":
|
3326
|
-
return
|
3326
|
+
return $t({ width: e, height: t, color: a, className: r, onClick: h });
|
3327
3327
|
default:
|
3328
|
-
return /* @__PURE__ */ n(
|
3328
|
+
return /* @__PURE__ */ n(X, { children: "No Icon provided" });
|
3329
3329
|
}
|
3330
3330
|
})() });
|
3331
|
-
}, { Title:
|
3331
|
+
}, { Title: Yt, Text: Ut } = F1, zt = {
|
3332
3332
|
h1: 1,
|
3333
3333
|
h2: 2,
|
3334
3334
|
h3: 3,
|
3335
3335
|
h4: 4
|
3336
|
-
},
|
3336
|
+
}, Jt = f1(
|
3337
3337
|
({
|
3338
3338
|
align: i = "inherit",
|
3339
3339
|
variant: e = "body1",
|
@@ -3346,17 +3346,17 @@ const Ce = ({
|
|
3346
3346
|
const d = e === "h1" || e === "h2" || e === "h3" || e === "h4";
|
3347
3347
|
let g = `snmt-typography snmt-typography-${e}`;
|
3348
3348
|
return i && i !== "inherit" && (g += ` snmt-typography-align-${i}`), l && (g += " collapsed"), d ? /* @__PURE__ */ n(
|
3349
|
-
|
3349
|
+
Yt,
|
3350
3350
|
{
|
3351
3351
|
className: g,
|
3352
3352
|
style: { color: t, whiteSpace: c },
|
3353
3353
|
onClick: s,
|
3354
|
-
level:
|
3354
|
+
level: zt[e],
|
3355
3355
|
ref: r,
|
3356
3356
|
children: o
|
3357
3357
|
}
|
3358
3358
|
) : /* @__PURE__ */ n(
|
3359
|
-
|
3359
|
+
Ut,
|
3360
3360
|
{
|
3361
3361
|
className: g,
|
3362
3362
|
style: { color: t, whiteSpace: c },
|
@@ -3367,13 +3367,13 @@ const Ce = ({
|
|
3367
3367
|
);
|
3368
3368
|
}
|
3369
3369
|
);
|
3370
|
-
var
|
3371
|
-
const
|
3370
|
+
var k = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_1 = "var(--grey-light-1)", i.GREY_LIGHT_2 = "var(--grey-light-2)", i.GREY_LIGHT_3 = "var(--grey-light-3)", i.GREY_LIGHT_4 = "var(--grey-light-4)", i.GREY_DARK_1 = "var(--grey-dark-1)", i.GREY_DARK_2 = "var(--grey-dark-2)", i.GREY_DARK_3 = "var(--grey-dark-3)", i.GREY_DARK_4 = "var(--grey-dark-4)", i.GREY_DARK_5 = "var(--grey-dark-5)", i.BLUE_PRIMARY = "var(--blue-primary)", i.BLUE_HOVER = "var(--blue-hover)", i.BLUE_LIGHT_1 = "var(--blue-light-1)", i.BLUE_LIGHT_2 = "var(--blue-light-2)", i.BLUE_LIGHT_3 = "var(--blue-light-3)", i.BLUE_LIGHT_4 = "var(--blue-light-4)", i.BLUE_DARK_1 = "var(--blue-dark-1)", i.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))(k || {});
|
3371
|
+
const z1 = s1({
|
3372
3372
|
locale: "en",
|
3373
3373
|
theme: "light"
|
3374
3374
|
});
|
3375
|
-
|
3376
|
-
const
|
3375
|
+
z1.Provider;
|
3376
|
+
const Qt = ({
|
3377
3377
|
width: i = 20,
|
3378
3378
|
height: e = 20,
|
3379
3379
|
color: t = "#001E52",
|
@@ -3400,7 +3400,7 @@ const Yt = ({
|
|
3400
3400
|
}
|
3401
3401
|
)
|
3402
3402
|
}
|
3403
|
-
),
|
3403
|
+
), qt = ({
|
3404
3404
|
width: i = 20,
|
3405
3405
|
height: e = 20,
|
3406
3406
|
color: t = "#001E52",
|
@@ -3427,7 +3427,7 @@ const Yt = ({
|
|
3427
3427
|
}
|
3428
3428
|
)
|
3429
3429
|
}
|
3430
|
-
),
|
3430
|
+
), Xt = ({
|
3431
3431
|
width: i = 16,
|
3432
3432
|
height: e = 16,
|
3433
3433
|
color: t = "#001E52",
|
@@ -3455,7 +3455,7 @@ const Yt = ({
|
|
3455
3455
|
)
|
3456
3456
|
]
|
3457
3457
|
}
|
3458
|
-
),
|
3458
|
+
), e2 = ({
|
3459
3459
|
width: i = 20,
|
3460
3460
|
height: e = 20,
|
3461
3461
|
color: t = "#001E52",
|
@@ -3490,7 +3490,7 @@ const Yt = ({
|
|
3490
3490
|
)
|
3491
3491
|
]
|
3492
3492
|
}
|
3493
|
-
),
|
3493
|
+
), t2 = ({
|
3494
3494
|
width: i = 18,
|
3495
3495
|
height: e = 18,
|
3496
3496
|
color: t = "#001E52",
|
@@ -3529,7 +3529,7 @@ const Yt = ({
|
|
3529
3529
|
)
|
3530
3530
|
]
|
3531
3531
|
}
|
3532
|
-
),
|
3532
|
+
), i2 = ({
|
3533
3533
|
width: i = 20,
|
3534
3534
|
height: e = 20,
|
3535
3535
|
color: t = "#001E52",
|
@@ -3555,7 +3555,7 @@ const Yt = ({
|
|
3555
3555
|
}
|
3556
3556
|
)
|
3557
3557
|
}
|
3558
|
-
),
|
3558
|
+
), o2 = ({
|
3559
3559
|
width: i = 20,
|
3560
3560
|
height: e = 20,
|
3561
3561
|
color: t = "#001E52",
|
@@ -3576,7 +3576,7 @@ const Yt = ({
|
|
3576
3576
|
/* @__PURE__ */ n("path", { d: "M16 4L4 16", stroke: t, strokeWidth: "1.5", strokeLinecap: "round" })
|
3577
3577
|
]
|
3578
3578
|
}
|
3579
|
-
),
|
3579
|
+
), s2 = ({
|
3580
3580
|
width: i = 20,
|
3581
3581
|
height: e = 20,
|
3582
3582
|
color: t = "#001E52",
|
@@ -3608,7 +3608,7 @@ const Yt = ({
|
|
3608
3608
|
)
|
3609
3609
|
]
|
3610
3610
|
}
|
3611
|
-
),
|
3611
|
+
), n2 = ({
|
3612
3612
|
width: i = 20,
|
3613
3613
|
height: e = 20,
|
3614
3614
|
color: t = "#001E52",
|
@@ -3662,7 +3662,7 @@ const Yt = ({
|
|
3662
3662
|
)
|
3663
3663
|
]
|
3664
3664
|
}
|
3665
|
-
),
|
3665
|
+
), r2 = ({
|
3666
3666
|
width: i = 20,
|
3667
3667
|
height: e = 20,
|
3668
3668
|
color: t = "#001E52",
|
@@ -3701,7 +3701,7 @@ const Yt = ({
|
|
3701
3701
|
/* @__PURE__ */ n("path", { d: "M3 12L17 12", stroke: t, strokeWidth: "2", strokeLinecap: "round" })
|
3702
3702
|
]
|
3703
3703
|
}
|
3704
|
-
),
|
3704
|
+
), l2 = ({
|
3705
3705
|
width: i = 16,
|
3706
3706
|
height: e = 12,
|
3707
3707
|
color: t = "#001E52",
|
@@ -3750,7 +3750,7 @@ const Yt = ({
|
|
3750
3750
|
)
|
3751
3751
|
] })
|
3752
3752
|
}
|
3753
|
-
),
|
3753
|
+
), a2 = ({
|
3754
3754
|
width: i = 16,
|
3755
3755
|
height: e = 16,
|
3756
3756
|
color: t = "#001E52",
|
@@ -3784,7 +3784,7 @@ const Yt = ({
|
|
3784
3784
|
)
|
3785
3785
|
]
|
3786
3786
|
}
|
3787
|
-
),
|
3787
|
+
), h2 = ({
|
3788
3788
|
width: i = 10,
|
3789
3789
|
height: e = 10,
|
3790
3790
|
color: t = "#001E52",
|
@@ -3823,7 +3823,7 @@ const Yt = ({
|
|
3823
3823
|
)
|
3824
3824
|
] })
|
3825
3825
|
}
|
3826
|
-
),
|
3826
|
+
), c2 = ({
|
3827
3827
|
width: i = 16,
|
3828
3828
|
height: e = 16,
|
3829
3829
|
color: t = "#001E52",
|
@@ -3859,7 +3859,7 @@ const Yt = ({
|
|
3859
3859
|
)
|
3860
3860
|
]
|
3861
3861
|
}
|
3862
|
-
),
|
3862
|
+
), d2 = ({
|
3863
3863
|
width: i = 11,
|
3864
3864
|
height: e = 32,
|
3865
3865
|
color: t = "#001E52",
|
@@ -3897,7 +3897,7 @@ const Yt = ({
|
|
3897
3897
|
/* @__PURE__ */ n("circle", { cx: "3", cy: "3", r: "3", fill: t })
|
3898
3898
|
]
|
3899
3899
|
}
|
3900
|
-
),
|
3900
|
+
), g2 = ({
|
3901
3901
|
width: i = 20,
|
3902
3902
|
height: e = 20,
|
3903
3903
|
color: t = "#001E52",
|
@@ -3944,7 +3944,7 @@ const Yt = ({
|
|
3944
3944
|
)
|
3945
3945
|
]
|
3946
3946
|
}
|
3947
|
-
),
|
3947
|
+
), u2 = ({
|
3948
3948
|
width: i = 20,
|
3949
3949
|
height: e = 20,
|
3950
3950
|
color: t = "#001E52",
|
@@ -3977,7 +3977,7 @@ const Yt = ({
|
|
3977
3977
|
)
|
3978
3978
|
]
|
3979
3979
|
}
|
3980
|
-
),
|
3980
|
+
), C2 = ({
|
3981
3981
|
width: i = 20,
|
3982
3982
|
height: e = 20,
|
3983
3983
|
color: t = "#001E52",
|
@@ -4024,7 +4024,7 @@ const Yt = ({
|
|
4024
4024
|
)
|
4025
4025
|
]
|
4026
4026
|
}
|
4027
|
-
),
|
4027
|
+
), p2 = ({
|
4028
4028
|
width: i = 20,
|
4029
4029
|
height: e = 20,
|
4030
4030
|
color: t = "#001E52",
|
@@ -4057,7 +4057,7 @@ const Yt = ({
|
|
4057
4057
|
)
|
4058
4058
|
]
|
4059
4059
|
}
|
4060
|
-
),
|
4060
|
+
), f2 = ({
|
4061
4061
|
width: i = 18,
|
4062
4062
|
height: e = 16,
|
4063
4063
|
color: t = "#001E52",
|
@@ -4096,7 +4096,7 @@ const Yt = ({
|
|
4096
4096
|
)
|
4097
4097
|
]
|
4098
4098
|
}
|
4099
|
-
),
|
4099
|
+
), w2 = ({
|
4100
4100
|
width: i = 20,
|
4101
4101
|
height: e = 20,
|
4102
4102
|
color: t = "#001E52",
|
@@ -4129,7 +4129,7 @@ const Yt = ({
|
|
4129
4129
|
)
|
4130
4130
|
]
|
4131
4131
|
}
|
4132
|
-
),
|
4132
|
+
), m2 = ({
|
4133
4133
|
width: i = 20,
|
4134
4134
|
height: e = 20,
|
4135
4135
|
color: t = "#001E52",
|
@@ -4153,7 +4153,7 @@ const Yt = ({
|
|
4153
4153
|
}
|
4154
4154
|
)
|
4155
4155
|
}
|
4156
|
-
),
|
4156
|
+
), k2 = ({
|
4157
4157
|
width: i = 20,
|
4158
4158
|
height: e = 20,
|
4159
4159
|
color: t = "#001E52",
|
@@ -4200,7 +4200,7 @@ const Yt = ({
|
|
4200
4200
|
)
|
4201
4201
|
]
|
4202
4202
|
}
|
4203
|
-
),
|
4203
|
+
), L2 = ({
|
4204
4204
|
width: i = 20,
|
4205
4205
|
height: e = 20,
|
4206
4206
|
color: t = "#001E52",
|
@@ -4233,7 +4233,7 @@ const Yt = ({
|
|
4233
4233
|
)
|
4234
4234
|
]
|
4235
4235
|
}
|
4236
|
-
),
|
4236
|
+
), v2 = ({
|
4237
4237
|
width: i = 20,
|
4238
4238
|
height: e = 20,
|
4239
4239
|
color: t = "#001E52",
|
@@ -4266,7 +4266,7 @@ const Yt = ({
|
|
4266
4266
|
)
|
4267
4267
|
]
|
4268
4268
|
}
|
4269
|
-
),
|
4269
|
+
), N2 = ({
|
4270
4270
|
width: i = 20,
|
4271
4271
|
height: e = 23,
|
4272
4272
|
color: t = "#001E52",
|
@@ -4327,7 +4327,7 @@ const Yt = ({
|
|
4327
4327
|
)
|
4328
4328
|
]
|
4329
4329
|
}
|
4330
|
-
),
|
4330
|
+
), x2 = ({
|
4331
4331
|
width: i = 20,
|
4332
4332
|
height: e = 20,
|
4333
4333
|
color: t = "#001E52",
|
@@ -4367,7 +4367,7 @@ const Yt = ({
|
|
4367
4367
|
)
|
4368
4368
|
]
|
4369
4369
|
}
|
4370
|
-
),
|
4370
|
+
), R2 = ({
|
4371
4371
|
width: i = 32,
|
4372
4372
|
height: e = 25,
|
4373
4373
|
color: t = "#001E52",
|
@@ -4395,7 +4395,7 @@ const Yt = ({
|
|
4395
4395
|
)
|
4396
4396
|
]
|
4397
4397
|
}
|
4398
|
-
),
|
4398
|
+
), M2 = ({
|
4399
4399
|
width: i = 14,
|
4400
4400
|
height: e = 14,
|
4401
4401
|
color: t = "#10B981",
|
@@ -4424,7 +4424,7 @@ const Yt = ({
|
|
4424
4424
|
)
|
4425
4425
|
]
|
4426
4426
|
}
|
4427
|
-
),
|
4427
|
+
), y2 = ({
|
4428
4428
|
width: i = 11,
|
4429
4429
|
height: e = 11,
|
4430
4430
|
color: t = "#FFB020",
|
@@ -4458,7 +4458,7 @@ const Yt = ({
|
|
4458
4458
|
)
|
4459
4459
|
]
|
4460
4460
|
}
|
4461
|
-
),
|
4461
|
+
), b2 = ({
|
4462
4462
|
width: i = 10,
|
4463
4463
|
height: e = 10,
|
4464
4464
|
color: t = "#88A4FF",
|
@@ -4506,7 +4506,7 @@ const Yt = ({
|
|
4506
4506
|
)
|
4507
4507
|
]
|
4508
4508
|
}
|
4509
|
-
),
|
4509
|
+
), E2 = ({
|
4510
4510
|
width: i = 14,
|
4511
4511
|
height: e = 14,
|
4512
4512
|
color: t = "#8E8E93",
|
@@ -4534,7 +4534,7 @@ const Yt = ({
|
|
4534
4534
|
)
|
4535
4535
|
]
|
4536
4536
|
}
|
4537
|
-
),
|
4537
|
+
), _2 = ({
|
4538
4538
|
width: i = 14,
|
4539
4539
|
height: e = 14,
|
4540
4540
|
color: t = "#FFB020",
|
@@ -4568,7 +4568,7 @@ const Yt = ({
|
|
4568
4568
|
)
|
4569
4569
|
]
|
4570
4570
|
}
|
4571
|
-
),
|
4571
|
+
), H2 = ({
|
4572
4572
|
width: i = 14,
|
4573
4573
|
height: e = 14,
|
4574
4574
|
color: t = "#D0421B",
|
@@ -4616,7 +4616,7 @@ const Yt = ({
|
|
4616
4616
|
)
|
4617
4617
|
]
|
4618
4618
|
}
|
4619
|
-
),
|
4619
|
+
), V2 = ({
|
4620
4620
|
width: i = 20,
|
4621
4621
|
height: e = 20,
|
4622
4622
|
color: t = "#070739",
|
@@ -4646,7 +4646,7 @@ const Yt = ({
|
|
4646
4646
|
/* @__PURE__ */ n("circle", { cx: "10", cy: "10", r: "2.375", stroke: t, strokeWidth: "1.25" })
|
4647
4647
|
]
|
4648
4648
|
}
|
4649
|
-
),
|
4649
|
+
), I2 = ({
|
4650
4650
|
width: i = 20,
|
4651
4651
|
height: e = 20,
|
4652
4652
|
color: t = "#070739",
|
@@ -4684,7 +4684,7 @@ const Yt = ({
|
|
4684
4684
|
)
|
4685
4685
|
]
|
4686
4686
|
}
|
4687
|
-
),
|
4687
|
+
), S2 = ({
|
4688
4688
|
width: i = 9,
|
4689
4689
|
height: e = 5,
|
4690
4690
|
color: t = "#001E52",
|
@@ -4710,7 +4710,7 @@ const Yt = ({
|
|
4710
4710
|
}
|
4711
4711
|
)
|
4712
4712
|
}
|
4713
|
-
),
|
4713
|
+
), O2 = ({
|
4714
4714
|
width: i = 20,
|
4715
4715
|
height: e = 20,
|
4716
4716
|
color: t = "#F2F2F7",
|
@@ -4739,7 +4739,7 @@ const Yt = ({
|
|
4739
4739
|
)
|
4740
4740
|
]
|
4741
4741
|
}
|
4742
|
-
),
|
4742
|
+
), A2 = ({
|
4743
4743
|
width: i = 20,
|
4744
4744
|
height: e = 20,
|
4745
4745
|
color: t = "#004ED7",
|
@@ -4768,7 +4768,7 @@ const Yt = ({
|
|
4768
4768
|
)
|
4769
4769
|
]
|
4770
4770
|
}
|
4771
|
-
),
|
4771
|
+
), B2 = ({
|
4772
4772
|
width: i = 248,
|
4773
4773
|
height: e = 248,
|
4774
4774
|
color: t = "#070739",
|
@@ -4805,7 +4805,7 @@ const Yt = ({
|
|
4805
4805
|
)
|
4806
4806
|
]
|
4807
4807
|
}
|
4808
|
-
),
|
4808
|
+
), W2 = ({
|
4809
4809
|
width: i = 24,
|
4810
4810
|
height: e = 24,
|
4811
4811
|
color: t = "#001E52",
|
@@ -4844,7 +4844,7 @@ const Yt = ({
|
|
4844
4844
|
)
|
4845
4845
|
]
|
4846
4846
|
}
|
4847
|
-
),
|
4847
|
+
), j2 = ({
|
4848
4848
|
width: i = 10,
|
4849
4849
|
height: e = 10,
|
4850
4850
|
color: t = "#001E52",
|
@@ -4873,7 +4873,7 @@ const Yt = ({
|
|
4873
4873
|
)
|
4874
4874
|
]
|
4875
4875
|
}
|
4876
|
-
),
|
4876
|
+
), Z2 = ({
|
4877
4877
|
width: i = 10,
|
4878
4878
|
height: e = 10,
|
4879
4879
|
color: t = "#001E52",
|
@@ -4910,10 +4910,10 @@ const Yt = ({
|
|
4910
4910
|
)
|
4911
4911
|
]
|
4912
4912
|
}
|
4913
|
-
),
|
4913
|
+
), D2 = ({
|
4914
4914
|
width: i = 24,
|
4915
4915
|
height: e = 24,
|
4916
|
-
color: t =
|
4916
|
+
color: t = k.GREY_DARK_5,
|
4917
4917
|
className: o,
|
4918
4918
|
onClick: s
|
4919
4919
|
}) => /* @__PURE__ */ u(
|
@@ -4949,10 +4949,10 @@ const Yt = ({
|
|
4949
4949
|
)
|
4950
4950
|
]
|
4951
4951
|
}
|
4952
|
-
),
|
4952
|
+
), T2 = ({
|
4953
4953
|
width: i = 20,
|
4954
4954
|
height: e = 20,
|
4955
|
-
color: t =
|
4955
|
+
color: t = k.GREY_DARK_1,
|
4956
4956
|
className: o,
|
4957
4957
|
onClick: s
|
4958
4958
|
}) => /* @__PURE__ */ u(
|
@@ -4982,10 +4982,10 @@ const Yt = ({
|
|
4982
4982
|
)
|
4983
4983
|
]
|
4984
4984
|
}
|
4985
|
-
),
|
4985
|
+
), G2 = ({
|
4986
4986
|
width: i = 81,
|
4987
4987
|
height: e = 80,
|
4988
|
-
color: t =
|
4988
|
+
color: t = k.GREY_DARK_5,
|
4989
4989
|
className: o,
|
4990
4990
|
onClick: s
|
4991
4991
|
}) => /* @__PURE__ */ u(
|
@@ -5031,9 +5031,9 @@ const Yt = ({
|
|
5031
5031
|
)
|
5032
5032
|
]
|
5033
5033
|
}
|
5034
|
-
),
|
5034
|
+
), K2 = ({
|
5035
5035
|
className: i,
|
5036
|
-
color: e =
|
5036
|
+
color: e = k.GREY_DARK_5,
|
5037
5037
|
height: t = 20,
|
5038
5038
|
width: o = 20,
|
5039
5039
|
onClick: s
|
@@ -5058,9 +5058,9 @@ const Yt = ({
|
|
5058
5058
|
}
|
5059
5059
|
)
|
5060
5060
|
}
|
5061
|
-
),
|
5061
|
+
), P2 = ({
|
5062
5062
|
className: i,
|
5063
|
-
color: e =
|
5063
|
+
color: e = k.GREY_DARK_5,
|
5064
5064
|
height: t = 20,
|
5065
5065
|
width: o = 20,
|
5066
5066
|
onClick: s
|
@@ -5085,9 +5085,9 @@ const Yt = ({
|
|
5085
5085
|
}
|
5086
5086
|
)
|
5087
5087
|
}
|
5088
|
-
),
|
5088
|
+
), F2 = ({
|
5089
5089
|
className: i,
|
5090
|
-
color: e =
|
5090
|
+
color: e = k.GREY_DARK_5,
|
5091
5091
|
height: t = 5,
|
5092
5092
|
width: o = 10,
|
5093
5093
|
onClick: s
|
@@ -5109,9 +5109,9 @@ const Yt = ({
|
|
5109
5109
|
}
|
5110
5110
|
)
|
5111
5111
|
}
|
5112
|
-
),
|
5112
|
+
), $2 = ({
|
5113
5113
|
className: i,
|
5114
|
-
color: e =
|
5114
|
+
color: e = k.GREY_DARK_5,
|
5115
5115
|
height: t = 5,
|
5116
5116
|
width: o = 10,
|
5117
5117
|
onClick: s
|
@@ -5134,9 +5134,9 @@ const Yt = ({
|
|
5134
5134
|
}
|
5135
5135
|
)
|
5136
5136
|
}
|
5137
|
-
),
|
5137
|
+
), Y2 = ({
|
5138
5138
|
className: i,
|
5139
|
-
color: e =
|
5139
|
+
color: e = k.GREY_DARK_5,
|
5140
5140
|
height: t = 24,
|
5141
5141
|
width: o = 24,
|
5142
5142
|
onClick: s
|
@@ -5173,9 +5173,9 @@ const Yt = ({
|
|
5173
5173
|
)
|
5174
5174
|
]
|
5175
5175
|
}
|
5176
|
-
),
|
5176
|
+
), U2 = ({
|
5177
5177
|
className: i,
|
5178
|
-
color: e =
|
5178
|
+
color: e = k.GREY_DARK_5,
|
5179
5179
|
height: t = 24,
|
5180
5180
|
width: o = 24,
|
5181
5181
|
onClick: s
|
@@ -5212,9 +5212,9 @@ const Yt = ({
|
|
5212
5212
|
)
|
5213
5213
|
]
|
5214
5214
|
}
|
5215
|
-
),
|
5215
|
+
), z2 = ({
|
5216
5216
|
className: i,
|
5217
|
-
color: e =
|
5217
|
+
color: e = k.GREY_DARK_5,
|
5218
5218
|
height: t = 24,
|
5219
5219
|
width: o = 24,
|
5220
5220
|
onClick: s
|
@@ -5239,9 +5239,9 @@ const Yt = ({
|
|
5239
5239
|
}
|
5240
5240
|
)
|
5241
5241
|
}
|
5242
|
-
),
|
5242
|
+
), J2 = ({
|
5243
5243
|
className: i,
|
5244
|
-
color: e =
|
5244
|
+
color: e = k.GREY_DARK_5,
|
5245
5245
|
height: t = 24,
|
5246
5246
|
width: o = 24,
|
5247
5247
|
onClick: s
|
@@ -5298,9 +5298,9 @@ const Yt = ({
|
|
5298
5298
|
)
|
5299
5299
|
]
|
5300
5300
|
}
|
5301
|
-
),
|
5301
|
+
), Q2 = ({
|
5302
5302
|
className: i,
|
5303
|
-
color: e =
|
5303
|
+
color: e = k.GREY_DARK_5,
|
5304
5304
|
height: t = 24,
|
5305
5305
|
width: o = 24,
|
5306
5306
|
onClick: s
|
@@ -5335,9 +5335,9 @@ const Yt = ({
|
|
5335
5335
|
)
|
5336
5336
|
]
|
5337
5337
|
}
|
5338
|
-
),
|
5338
|
+
), q2 = ({
|
5339
5339
|
className: i,
|
5340
|
-
color: e =
|
5340
|
+
color: e = k.GREY_DARK_3,
|
5341
5341
|
height: t = 14,
|
5342
5342
|
width: o = 14,
|
5343
5343
|
onClick: s
|
@@ -5372,9 +5372,9 @@ const Yt = ({
|
|
5372
5372
|
)
|
5373
5373
|
]
|
5374
5374
|
}
|
5375
|
-
),
|
5375
|
+
), X2 = ({
|
5376
5376
|
className: i,
|
5377
|
-
color: e =
|
5377
|
+
color: e = k.GREY_DARK_5,
|
5378
5378
|
height: t = 18,
|
5379
5379
|
onClick: o,
|
5380
5380
|
width: s = 18
|
@@ -5399,9 +5399,9 @@ const Yt = ({
|
|
5399
5399
|
}
|
5400
5400
|
)
|
5401
5401
|
}
|
5402
|
-
),
|
5402
|
+
), ei = ({
|
5403
5403
|
className: i,
|
5404
|
-
color: e =
|
5404
|
+
color: e = k.GREY_DARK_5,
|
5405
5405
|
height: t = 24,
|
5406
5406
|
width: o = 24,
|
5407
5407
|
onClick: s
|
@@ -5451,9 +5451,9 @@ const Yt = ({
|
|
5451
5451
|
)
|
5452
5452
|
]
|
5453
5453
|
}
|
5454
|
-
),
|
5454
|
+
), ti = ({
|
5455
5455
|
className: i,
|
5456
|
-
color: e =
|
5456
|
+
color: e = k.GREY_DARK_5,
|
5457
5457
|
height: t = 24,
|
5458
5458
|
width: o = 24,
|
5459
5459
|
onClick: s
|
@@ -5488,9 +5488,9 @@ const Yt = ({
|
|
5488
5488
|
)
|
5489
5489
|
]
|
5490
5490
|
}
|
5491
|
-
),
|
5491
|
+
), ii = ({
|
5492
5492
|
className: i,
|
5493
|
-
color: e =
|
5493
|
+
color: e = k.NOTIFICATION_WARNING_DARK,
|
5494
5494
|
height: t = 37,
|
5495
5495
|
width: o = 36,
|
5496
5496
|
onClick: s
|
@@ -5527,9 +5527,9 @@ const Yt = ({
|
|
5527
5527
|
)
|
5528
5528
|
]
|
5529
5529
|
}
|
5530
|
-
),
|
5530
|
+
), oi = ({
|
5531
5531
|
className: i,
|
5532
|
-
color: e =
|
5532
|
+
color: e = k.GREY_DARK_5,
|
5533
5533
|
height: t = 24,
|
5534
5534
|
width: o = 24,
|
5535
5535
|
onClick: s
|
@@ -5553,9 +5553,9 @@ const Yt = ({
|
|
5553
5553
|
}
|
5554
5554
|
)
|
5555
5555
|
}
|
5556
|
-
),
|
5556
|
+
), si = ({
|
5557
5557
|
className: i,
|
5558
|
-
color: e =
|
5558
|
+
color: e = k.GREY_DARK_5,
|
5559
5559
|
height: t = 24,
|
5560
5560
|
width: o = 24,
|
5561
5561
|
onClick: s
|
@@ -5592,9 +5592,9 @@ const Yt = ({
|
|
5592
5592
|
)
|
5593
5593
|
]
|
5594
5594
|
}
|
5595
|
-
),
|
5595
|
+
), ni = ({
|
5596
5596
|
className: i,
|
5597
|
-
color: e =
|
5597
|
+
color: e = k.GREY_DARK_5,
|
5598
5598
|
height: t = 24,
|
5599
5599
|
width: o = 24,
|
5600
5600
|
onClick: s
|
@@ -5631,9 +5631,9 @@ const Yt = ({
|
|
5631
5631
|
)
|
5632
5632
|
]
|
5633
5633
|
}
|
5634
|
-
),
|
5634
|
+
), ri = ({
|
5635
5635
|
className: i,
|
5636
|
-
color: e =
|
5636
|
+
color: e = k.GREY_DARK_5,
|
5637
5637
|
height: t = 24,
|
5638
5638
|
width: o = 24,
|
5639
5639
|
onClick: s
|
@@ -5700,9 +5700,9 @@ const Yt = ({
|
|
5700
5700
|
)
|
5701
5701
|
]
|
5702
5702
|
}
|
5703
|
-
),
|
5703
|
+
), li = ({
|
5704
5704
|
className: i,
|
5705
|
-
color: e =
|
5705
|
+
color: e = k.GREY_DARK_5,
|
5706
5706
|
height: t = 24,
|
5707
5707
|
width: o = 24,
|
5708
5708
|
onClick: s
|
@@ -5739,9 +5739,9 @@ const Yt = ({
|
|
5739
5739
|
)
|
5740
5740
|
]
|
5741
5741
|
}
|
5742
|
-
),
|
5742
|
+
), ai = ({
|
5743
5743
|
className: i,
|
5744
|
-
color: e =
|
5744
|
+
color: e = k.GREY_DARK_5,
|
5745
5745
|
height: t = 24,
|
5746
5746
|
width: o = 24,
|
5747
5747
|
onClick: s
|
@@ -5796,9 +5796,9 @@ const Yt = ({
|
|
5796
5796
|
)
|
5797
5797
|
]
|
5798
5798
|
}
|
5799
|
-
),
|
5799
|
+
), hi = ({
|
5800
5800
|
className: i,
|
5801
|
-
color: e =
|
5801
|
+
color: e = k.GREY_DARK_5,
|
5802
5802
|
height: t = 24,
|
5803
5803
|
width: o = 24,
|
5804
5804
|
onClick: s
|
@@ -5835,9 +5835,9 @@ const Yt = ({
|
|
5835
5835
|
)
|
5836
5836
|
]
|
5837
5837
|
}
|
5838
|
-
),
|
5838
|
+
), ci = ({
|
5839
5839
|
className: i,
|
5840
|
-
color: e =
|
5840
|
+
color: e = k.GREY_DARK_5,
|
5841
5841
|
height: t = 24,
|
5842
5842
|
width: o = 24,
|
5843
5843
|
onClick: s
|
@@ -5884,9 +5884,9 @@ const Yt = ({
|
|
5884
5884
|
)
|
5885
5885
|
]
|
5886
5886
|
}
|
5887
|
-
),
|
5887
|
+
), di = ({
|
5888
5888
|
className: i,
|
5889
|
-
color: e =
|
5889
|
+
color: e = k.GREY_DARK_5,
|
5890
5890
|
height: t = 24,
|
5891
5891
|
width: o = 24,
|
5892
5892
|
onClick: s
|
@@ -5923,9 +5923,9 @@ const Yt = ({
|
|
5923
5923
|
)
|
5924
5924
|
]
|
5925
5925
|
}
|
5926
|
-
),
|
5926
|
+
), gi = ({
|
5927
5927
|
className: i,
|
5928
|
-
color: e =
|
5928
|
+
color: e = k.GREY_DARK_5,
|
5929
5929
|
height: t = 24,
|
5930
5930
|
width: o = 24,
|
5931
5931
|
onClick: s
|
@@ -5950,9 +5950,9 @@ const Yt = ({
|
|
5950
5950
|
}
|
5951
5951
|
)
|
5952
5952
|
}
|
5953
|
-
),
|
5953
|
+
), ui = ({
|
5954
5954
|
className: i,
|
5955
|
-
color: e =
|
5955
|
+
color: e = k.GREY_DARK_5,
|
5956
5956
|
height: t = 24,
|
5957
5957
|
width: o = 24,
|
5958
5958
|
onClick: s
|
@@ -5988,9 +5988,9 @@ const Yt = ({
|
|
5988
5988
|
)
|
5989
5989
|
]
|
5990
5990
|
}
|
5991
|
-
),
|
5991
|
+
), Ci = ({
|
5992
5992
|
className: i,
|
5993
|
-
color: e =
|
5993
|
+
color: e = k.GREY_DARK_5,
|
5994
5994
|
height: t = 24,
|
5995
5995
|
width: o = 24,
|
5996
5996
|
onClick: s
|
@@ -6009,9 +6009,9 @@ const Yt = ({
|
|
6009
6009
|
/* @__PURE__ */ n("path", { d: "M12 8L4 8", stroke: e, strokeWidth: "1.7", strokeLinecap: "round" })
|
6010
6010
|
]
|
6011
6011
|
}
|
6012
|
-
),
|
6012
|
+
), pi = ({
|
6013
6013
|
className: i,
|
6014
|
-
color: e =
|
6014
|
+
color: e = k.GREY_DARK_5,
|
6015
6015
|
height: t = 24,
|
6016
6016
|
width: o = 24,
|
6017
6017
|
onClick: s
|
@@ -6048,9 +6048,9 @@ const Yt = ({
|
|
6048
6048
|
)
|
6049
6049
|
]
|
6050
6050
|
}
|
6051
|
-
),
|
6051
|
+
), fi = ({
|
6052
6052
|
className: i,
|
6053
|
-
color: e =
|
6053
|
+
color: e = k.GREY_DARK_5,
|
6054
6054
|
height: t = 24,
|
6055
6055
|
width: o = 24,
|
6056
6056
|
onClick: s
|
@@ -6087,9 +6087,9 @@ const Yt = ({
|
|
6087
6087
|
)
|
6088
6088
|
]
|
6089
6089
|
}
|
6090
|
-
),
|
6090
|
+
), wi = ({
|
6091
6091
|
className: i,
|
6092
|
-
color: e =
|
6092
|
+
color: e = k.GREY_DARK_5,
|
6093
6093
|
height: t = 24,
|
6094
6094
|
width: o = 24,
|
6095
6095
|
onClick: s
|
@@ -6126,9 +6126,9 @@ const Yt = ({
|
|
6126
6126
|
)
|
6127
6127
|
]
|
6128
6128
|
}
|
6129
|
-
),
|
6129
|
+
), mi = ({
|
6130
6130
|
className: i,
|
6131
|
-
color: e =
|
6131
|
+
color: e = k.GREY_DARK_2,
|
6132
6132
|
height: t = 16,
|
6133
6133
|
width: o = 16,
|
6134
6134
|
onClick: s
|
@@ -6152,9 +6152,9 @@ const Yt = ({
|
|
6152
6152
|
}
|
6153
6153
|
)
|
6154
6154
|
}
|
6155
|
-
),
|
6155
|
+
), ki = ({
|
6156
6156
|
className: i,
|
6157
|
-
color: e =
|
6157
|
+
color: e = k.GREY_DARK_5,
|
6158
6158
|
height: t = 20,
|
6159
6159
|
width: o = 20,
|
6160
6160
|
onClick: s
|
@@ -6181,9 +6181,9 @@ const Yt = ({
|
|
6181
6181
|
/* @__PURE__ */ n("defs", { children: /* @__PURE__ */ n("clipPath", { id: "clip0_3992_5989", children: /* @__PURE__ */ n("rect", { width: "20", height: "20", fill: "white" }) }) })
|
6182
6182
|
]
|
6183
6183
|
}
|
6184
|
-
),
|
6184
|
+
), Li = ({
|
6185
6185
|
className: i,
|
6186
|
-
color: e =
|
6186
|
+
color: e = k.GREY_DARK_5,
|
6187
6187
|
height: t = 20,
|
6188
6188
|
width: o = 20,
|
6189
6189
|
onClick: s
|
@@ -6210,9 +6210,9 @@ const Yt = ({
|
|
6210
6210
|
/* @__PURE__ */ n("defs", { children: /* @__PURE__ */ n("clipPath", { id: "clip0_3992_5988", children: /* @__PURE__ */ n("rect", { width: "20", height: "20", fill: "white" }) }) })
|
6211
6211
|
]
|
6212
6212
|
}
|
6213
|
-
),
|
6213
|
+
), vi = ({
|
6214
6214
|
className: i,
|
6215
|
-
color: e =
|
6215
|
+
color: e = k.GREY_DARK_5,
|
6216
6216
|
height: t = 20,
|
6217
6217
|
width: o = 20,
|
6218
6218
|
onClick: s
|
@@ -6227,7 +6227,7 @@ const Yt = ({
|
|
6227
6227
|
fill: "none",
|
6228
6228
|
xmlns: "http://www.w3.org/2000/svg",
|
6229
6229
|
children: [
|
6230
|
-
/* @__PURE__ */ n("rect", { width: "20", height: "20", rx: "4", fill:
|
6230
|
+
/* @__PURE__ */ n("rect", { width: "20", height: "20", rx: "4", fill: k.GREY_LIGHT_2 }),
|
6231
6231
|
/* @__PURE__ */ n(
|
6232
6232
|
"path",
|
6233
6233
|
{
|
@@ -6239,9 +6239,9 @@ const Yt = ({
|
|
6239
6239
|
)
|
6240
6240
|
]
|
6241
6241
|
}
|
6242
|
-
),
|
6242
|
+
), Ni = ({
|
6243
6243
|
className: i,
|
6244
|
-
color: e =
|
6244
|
+
color: e = k.GREY_DARK_5,
|
6245
6245
|
height: t = 20,
|
6246
6246
|
width: o = 20,
|
6247
6247
|
onClick: s
|
@@ -6256,7 +6256,7 @@ const Yt = ({
|
|
6256
6256
|
fill: "none",
|
6257
6257
|
xmlns: "http://www.w3.org/2000/svg",
|
6258
6258
|
children: [
|
6259
|
-
/* @__PURE__ */ n("rect", { width: "20", height: "20", rx: "4", fill:
|
6259
|
+
/* @__PURE__ */ n("rect", { width: "20", height: "20", rx: "4", fill: k.GREY_LIGHT_2 }),
|
6260
6260
|
/* @__PURE__ */ n(
|
6261
6261
|
"path",
|
6262
6262
|
{
|
@@ -6268,7 +6268,7 @@ const Yt = ({
|
|
6268
6268
|
)
|
6269
6269
|
]
|
6270
6270
|
}
|
6271
|
-
),
|
6271
|
+
), xi = ({
|
6272
6272
|
className: i,
|
6273
6273
|
color: e = "#001E52",
|
6274
6274
|
height: t = 24,
|
@@ -6294,7 +6294,7 @@ const Yt = ({
|
|
6294
6294
|
}
|
6295
6295
|
)
|
6296
6296
|
}
|
6297
|
-
),
|
6297
|
+
), Ri = ({
|
6298
6298
|
className: i,
|
6299
6299
|
color: e = "#131314",
|
6300
6300
|
height: t = 20,
|
@@ -6322,7 +6322,7 @@ const Yt = ({
|
|
6322
6322
|
}
|
6323
6323
|
)
|
6324
6324
|
}
|
6325
|
-
),
|
6325
|
+
), Mi = ({
|
6326
6326
|
className: i,
|
6327
6327
|
color: e = "#001E52",
|
6328
6328
|
height: t = 24,
|
@@ -6360,7 +6360,7 @@ const Yt = ({
|
|
6360
6360
|
)
|
6361
6361
|
] }) })
|
6362
6362
|
}
|
6363
|
-
),
|
6363
|
+
), yi = ({
|
6364
6364
|
name: i,
|
6365
6365
|
width: e,
|
6366
6366
|
height: t,
|
@@ -6369,49 +6369,49 @@ const Yt = ({
|
|
6369
6369
|
disabled: l = !1,
|
6370
6370
|
onClick: c
|
6371
6371
|
}) => {
|
6372
|
-
const [r, d] =
|
6373
|
-
return
|
6372
|
+
const [r, d] = B(s), { theme: g } = r1(z1), a = l ? g && g === "dark" ? k.GREY_LIGHT_4 : k.GREY_DARK_1 : o, h = l ? void 0 : c;
|
6373
|
+
return Z(() => {
|
6374
6374
|
if (s) {
|
6375
6375
|
h && !l && d(`${s} clickable`);
|
6376
6376
|
return;
|
6377
6377
|
}
|
6378
6378
|
h && !l && d("clickable");
|
6379
|
-
}, [h, s, l]), /* @__PURE__ */ n(
|
6379
|
+
}, [h, s, l]), /* @__PURE__ */ n(X, { children: (() => {
|
6380
6380
|
switch (i) {
|
6381
6381
|
case "nextIcon":
|
6382
|
-
return
|
6382
|
+
return K2({ width: e, height: t, color: a, className: r, onClick: h });
|
6383
6383
|
case "prevIcon":
|
6384
|
-
return
|
6384
|
+
return P2({ width: e, height: t, color: a, className: r, onClick: h });
|
6385
6385
|
case "arrowUp":
|
6386
|
-
return
|
6386
|
+
return Qt({ width: e, height: t, color: a, className: r, onClick: h });
|
6387
6387
|
case "arrowDown":
|
6388
|
-
return
|
6388
|
+
return qt({ width: e, height: t, color: a, className: r, onClick: h });
|
6389
6389
|
case "info":
|
6390
|
-
return
|
6390
|
+
return Xt({ width: e, height: t, color: a, className: r, onClick: h });
|
6391
6391
|
case "arrowRight":
|
6392
|
-
return
|
6392
|
+
return e2({ width: e, height: t, color: a, className: r, onClick: h });
|
6393
6393
|
case "calendar":
|
6394
|
-
return
|
6394
|
+
return t2({ width: e, height: t, color: a, className: r, onClick: h });
|
6395
6395
|
case "ok":
|
6396
|
-
return
|
6396
|
+
return i2({ width: e, height: t, color: a, className: r, onClick: h });
|
6397
6397
|
case "cancel":
|
6398
|
-
return
|
6398
|
+
return o2({ width: e, height: t, color: a, className: r, onClick: h });
|
6399
6399
|
case "add":
|
6400
|
-
return
|
6400
|
+
return s2({ width: e, height: t, color: a, className: r, onClick: h });
|
6401
6401
|
case "list":
|
6402
|
-
return
|
6402
|
+
return n2({ width: e, height: t, color: a, className: r, onClick: h });
|
6403
6403
|
case "dragAndDrop":
|
6404
|
-
return
|
6404
|
+
return r2({ width: e, height: t, color: a, className: r, onClick: h });
|
6405
6405
|
case "filter":
|
6406
|
-
return
|
6406
|
+
return l2({ width: e, height: t, color: a, className: r, onClick: h });
|
6407
6407
|
case "attention":
|
6408
|
-
return
|
6408
|
+
return a2({ width: e, height: t, color: a, className: r, onClick: h });
|
6409
6409
|
case "plus":
|
6410
|
-
return
|
6410
|
+
return h2({ width: e, height: t, color: a, className: r, onClick: h });
|
6411
6411
|
case "time":
|
6412
|
-
return
|
6412
|
+
return c2({ width: e, height: t, color: a, className: r, onClick: h });
|
6413
6413
|
case "arrowDownLong":
|
6414
|
-
return
|
6414
|
+
return d2({
|
6415
6415
|
width: e,
|
6416
6416
|
height: t,
|
6417
6417
|
color: a,
|
@@ -6419,9 +6419,9 @@ const Yt = ({
|
|
6419
6419
|
onClick: h
|
6420
6420
|
});
|
6421
6421
|
case "users":
|
6422
|
-
return
|
6422
|
+
return g2({ width: e, height: t, color: a, className: r, onClick: h });
|
6423
6423
|
case "mySkillsMatrix":
|
6424
|
-
return
|
6424
|
+
return u2({
|
6425
6425
|
width: e,
|
6426
6426
|
height: t,
|
6427
6427
|
color: a,
|
@@ -6429,9 +6429,9 @@ const Yt = ({
|
|
6429
6429
|
onClick: h
|
6430
6430
|
});
|
6431
6431
|
case "skills":
|
6432
|
-
return
|
6432
|
+
return C2({ width: e, height: t, color: a, className: r, onClick: h });
|
6433
6433
|
case "skillsMatrices":
|
6434
|
-
return
|
6434
|
+
return p2({
|
6435
6435
|
width: e,
|
6436
6436
|
height: t,
|
6437
6437
|
color: a,
|
@@ -6439,23 +6439,23 @@ const Yt = ({
|
|
6439
6439
|
onClick: h
|
6440
6440
|
});
|
6441
6441
|
case "history":
|
6442
|
-
return
|
6442
|
+
return f2({ width: e, height: t, color: a, className: r, onClick: h });
|
6443
6443
|
case "logOut":
|
6444
|
-
return
|
6444
|
+
return w2({ width: e, height: t, color: a, className: r, onClick: h });
|
6445
6445
|
case "settings":
|
6446
|
-
return
|
6446
|
+
return m2({ width: e, height: t, color: a, className: r, onClick: h });
|
6447
6447
|
case "addSkill":
|
6448
|
-
return
|
6448
|
+
return k2({ width: e, height: t, color: a, className: r, onClick: h });
|
6449
6449
|
case "conversation":
|
6450
|
-
return
|
6450
|
+
return L2({ width: e, height: t, color: a, className: r, onClick: h });
|
6451
6451
|
case "trash":
|
6452
|
-
return
|
6452
|
+
return v2({ width: e, height: t, color: a, className: r, onClick: h });
|
6453
6453
|
case "settings4":
|
6454
|
-
return
|
6454
|
+
return N2({ width: e, height: t, color: a, className: r, onClick: h });
|
6455
6455
|
case "edit2":
|
6456
|
-
return
|
6456
|
+
return x2({ width: e, height: t, color: a, className: r, onClick: h });
|
6457
6457
|
case "notifications":
|
6458
|
-
return
|
6458
|
+
return R2({
|
6459
6459
|
width: e,
|
6460
6460
|
height: t,
|
6461
6461
|
color: a,
|
@@ -6463,9 +6463,9 @@ const Yt = ({
|
|
6463
6463
|
onClick: h
|
6464
6464
|
});
|
6465
6465
|
case "success":
|
6466
|
-
return
|
6466
|
+
return M2({ width: e, height: t, color: a, className: r, onClick: h });
|
6467
6467
|
case "attentionSmall":
|
6468
|
-
return
|
6468
|
+
return y2({
|
6469
6469
|
width: e,
|
6470
6470
|
height: t,
|
6471
6471
|
color: a,
|
@@ -6473,11 +6473,11 @@ const Yt = ({
|
|
6473
6473
|
onClick: h
|
6474
6474
|
});
|
6475
6475
|
case "errorSmall":
|
6476
|
-
return
|
6476
|
+
return b2({ width: e, height: t, color: a, className: r, onClick: h });
|
6477
6477
|
case "infoMedium":
|
6478
|
-
return
|
6478
|
+
return E2({ width: e, height: t, color: a, className: r, onClick: h });
|
6479
6479
|
case "attentionMedium":
|
6480
|
-
return
|
6480
|
+
return _2({
|
6481
6481
|
width: e,
|
6482
6482
|
height: t,
|
6483
6483
|
color: a,
|
@@ -6485,9 +6485,9 @@ const Yt = ({
|
|
6485
6485
|
onClick: h
|
6486
6486
|
});
|
6487
6487
|
case "errorMedium":
|
6488
|
-
return
|
6488
|
+
return H2({ width: e, height: t, color: a, className: r, onClick: h });
|
6489
6489
|
case "faviconSkills":
|
6490
|
-
return
|
6490
|
+
return B2({
|
6491
6491
|
width: e,
|
6492
6492
|
height: t,
|
6493
6493
|
color: a,
|
@@ -6495,7 +6495,7 @@ const Yt = ({
|
|
6495
6495
|
onClick: h
|
6496
6496
|
});
|
6497
6497
|
case "visibilityIcon":
|
6498
|
-
return
|
6498
|
+
return V2({
|
6499
6499
|
width: e,
|
6500
6500
|
height: t,
|
6501
6501
|
color: a,
|
@@ -6503,7 +6503,7 @@ const Yt = ({
|
|
6503
6503
|
onClick: h
|
6504
6504
|
});
|
6505
6505
|
case "visibilityOffIcon":
|
6506
|
-
return
|
6506
|
+
return I2({
|
6507
6507
|
width: e,
|
6508
6508
|
height: t,
|
6509
6509
|
color: a,
|
@@ -6511,7 +6511,7 @@ const Yt = ({
|
|
6511
6511
|
onClick: h
|
6512
6512
|
});
|
6513
6513
|
case "selectArrowIcon":
|
6514
|
-
return
|
6514
|
+
return S2({
|
6515
6515
|
width: e,
|
6516
6516
|
height: t,
|
6517
6517
|
color: a,
|
@@ -6519,7 +6519,7 @@ const Yt = ({
|
|
6519
6519
|
onClick: h
|
6520
6520
|
});
|
6521
6521
|
case "expandArrowIcon":
|
6522
|
-
return
|
6522
|
+
return O2({
|
6523
6523
|
width: e,
|
6524
6524
|
height: t,
|
6525
6525
|
color: a,
|
@@ -6527,7 +6527,7 @@ const Yt = ({
|
|
6527
6527
|
onClick: h
|
6528
6528
|
});
|
6529
6529
|
case "expandActiveArrowIcon":
|
6530
|
-
return
|
6530
|
+
return A2({
|
6531
6531
|
width: e,
|
6532
6532
|
height: t,
|
6533
6533
|
color: a,
|
@@ -6535,109 +6535,109 @@ const Yt = ({
|
|
6535
6535
|
onClick: h
|
6536
6536
|
});
|
6537
6537
|
case "camera":
|
6538
|
-
return
|
6538
|
+
return W2({ width: e, height: t, color: a, className: r, onClick: h });
|
6539
6539
|
case "sortUp":
|
6540
|
-
return
|
6540
|
+
return j2({ width: e, height: t, color: a, className: r, onClick: h });
|
6541
6541
|
case "sortDown":
|
6542
|
-
return
|
6542
|
+
return Z2({ width: e, height: t, color: a, className: r, onClick: h });
|
6543
6543
|
case "logOut2":
|
6544
|
-
return
|
6544
|
+
return D2({ width: e, height: t, color: a, className: r, onClick: h });
|
6545
6545
|
case "search":
|
6546
|
-
return
|
6546
|
+
return T2({ width: e, height: t, color: a, className: r, onClick: h });
|
6547
6547
|
case "handRock":
|
6548
|
-
return j2({ width: e, height: t, color: a, className: r, onClick: h });
|
6549
|
-
case "arrowUpFilled":
|
6550
6548
|
return G2({ width: e, height: t, color: a, className: r, onClick: h });
|
6549
|
+
case "arrowUpFilled":
|
6550
|
+
return $2({ width: e, height: t, color: a, className: r, onClick: h });
|
6551
6551
|
case "arrowDownFilled":
|
6552
|
-
return
|
6552
|
+
return F2({ width: e, height: t, color: a, className: r, onClick: h });
|
6553
6553
|
case "link":
|
6554
|
-
return
|
6554
|
+
return Y2({ width: e, height: t, color: a, className: r, onClick: h });
|
6555
6555
|
case "telegram":
|
6556
|
-
return
|
6556
|
+
return z2({ width: e, height: t, color: a, className: r, onClick: h });
|
6557
6557
|
case "mail":
|
6558
|
-
return
|
6558
|
+
return Q2({ width: e, height: t, color: a, className: r, onClick: h });
|
6559
6559
|
case "github":
|
6560
|
-
return
|
6560
|
+
return U2({ width: e, height: t, color: a, className: r, onClick: h });
|
6561
6561
|
case "linkedIn":
|
6562
|
-
return
|
6562
|
+
return J2({ width: e, height: t, color: a, className: r, onClick: h });
|
6563
6563
|
case "emptyStateIcon":
|
6564
|
-
return
|
6564
|
+
return q2({ width: e, height: t, color: a, className: r, onClick: h });
|
6565
6565
|
case "filtersIcon":
|
6566
|
-
return
|
6566
|
+
return X2({ width: e, height: t, color: a, className: r, onClick: h });
|
6567
6567
|
case "dotMenuIcon":
|
6568
|
-
return
|
6568
|
+
return ei({ width: e, height: t, color: a, className: r, onClick: h });
|
6569
6569
|
case "plusCircle":
|
6570
|
-
return
|
6570
|
+
return ti({ width: e, height: t, color: a, className: r, onClick: h });
|
6571
6571
|
case "warning":
|
6572
|
-
return
|
6572
|
+
return ii({ width: e, height: t, color: a, className: r, onClick: h });
|
6573
6573
|
case "back":
|
6574
|
-
return
|
6574
|
+
return oi({ width: e, height: t, color: a, className: r, onClick: h });
|
6575
6575
|
case "bell":
|
6576
|
-
return
|
6576
|
+
return si({ width: e, height: t, color: a, className: r, onClick: h });
|
6577
6577
|
case "contract":
|
6578
|
-
return
|
6578
|
+
return ri({ width: e, height: t, color: a, className: r, onClick: h });
|
6579
6579
|
case "trash2":
|
6580
|
-
return
|
6580
|
+
return ni({ width: e, height: t, color: a, className: r, onClick: h });
|
6581
6581
|
case "manager":
|
6582
|
-
return
|
6582
|
+
return li({ width: e, height: t, color: a, className: r, onClick: h });
|
6583
6583
|
case "resourceManager":
|
6584
|
-
return
|
6584
|
+
return ai({ width: e, height: t, color: a, className: r, onClick: h });
|
6585
6585
|
case "settings2":
|
6586
|
-
return
|
6586
|
+
return hi({ width: e, height: t, color: a, className: r, onClick: h });
|
6587
6587
|
case "image":
|
6588
|
-
return
|
6588
|
+
return ci({ width: e, height: t, color: a, className: r, onClick: h });
|
6589
6589
|
case "upload":
|
6590
|
-
return
|
6590
|
+
return di({ width: e, height: t, color: a, className: r, onClick: h });
|
6591
6591
|
case "edit":
|
6592
|
-
return
|
6592
|
+
return gi({ width: e, height: t, color: a, className: r, onClick: h });
|
6593
6593
|
case "location":
|
6594
|
-
return
|
6594
|
+
return ui({ width: e, height: t, color: a, className: r, onClick: h });
|
6595
6595
|
case "plus2":
|
6596
|
-
return
|
6596
|
+
return Ci({ width: e, height: t, color: a, className: r, onClick: h });
|
6597
6597
|
case "search2":
|
6598
|
-
return
|
6598
|
+
return pi({ width: e, height: t, color: a, className: r, onClick: h });
|
6599
6599
|
case "fastArrowLeft":
|
6600
|
-
return
|
6600
|
+
return fi({ width: e, height: t, color: a, className: r, onClick: h });
|
6601
6601
|
case "fastArrowRight":
|
6602
|
-
return
|
6602
|
+
return wi({ width: e, height: t, color: a, className: r, onClick: h });
|
6603
6603
|
case "crossInCircle":
|
6604
|
-
return
|
6604
|
+
return mi({ width: e, height: t, color: a, className: r, onClick: h });
|
6605
6605
|
case "arrowUp2":
|
6606
|
-
return
|
6606
|
+
return Li({ width: e, height: t, color: a, className: r, onClick: h });
|
6607
6607
|
case "arrowDown2":
|
6608
|
-
return
|
6608
|
+
return ki({ width: e, height: t, color: a, className: r, onClick: h });
|
6609
6609
|
case "filledArrowLeft":
|
6610
|
-
return
|
6610
|
+
return vi({ width: e, height: t, color: a, className: r, onClick: h });
|
6611
6611
|
case "filledArrowRight":
|
6612
|
-
return
|
6612
|
+
return Ni({ width: e, height: t, color: a, className: r, onClick: h });
|
6613
6613
|
case "burgerMenu":
|
6614
|
-
return
|
6614
|
+
return xi({ width: e, height: t, color: a, className: r, onClick: h });
|
6615
6615
|
case "signOut":
|
6616
|
-
return
|
6616
|
+
return Ri({ width: e, height: t, color: a, className: r, onClick: h });
|
6617
6617
|
case "refresh":
|
6618
|
-
return
|
6618
|
+
return Mi({ width: e, height: t, color: a, className: r, onClick: h });
|
6619
6619
|
default:
|
6620
|
-
return /* @__PURE__ */ n(
|
6620
|
+
return /* @__PURE__ */ n(X, { children: "No Icon provided" });
|
6621
6621
|
}
|
6622
6622
|
})() });
|
6623
6623
|
};
|
6624
|
-
var
|
6625
|
-
const
|
6624
|
+
var J1 = /* @__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))(J1 || {});
|
6625
|
+
const bi = s1({
|
6626
6626
|
locale: "en",
|
6627
6627
|
theme: "light"
|
6628
6628
|
});
|
6629
|
-
|
6630
|
-
const
|
6629
|
+
bi.Provider;
|
6630
|
+
const Q1 = ({ children: i, width: e, size: t = "small", onClose: o, closable: s = !0 }) => {
|
6631
6631
|
const l = t === "small" ? 10 : 12.5;
|
6632
6632
|
return /* @__PURE__ */ n(
|
6633
|
-
|
6633
|
+
$1,
|
6634
6634
|
{
|
6635
6635
|
className: `snmt-tag ${t}`,
|
6636
6636
|
closeIcon: /* @__PURE__ */ n(
|
6637
|
-
|
6637
|
+
yi,
|
6638
6638
|
{
|
6639
6639
|
name: "errorSmall",
|
6640
|
-
color:
|
6640
|
+
color: J1.GREY_DARK_2,
|
6641
6641
|
width: l,
|
6642
6642
|
height: l,
|
6643
6643
|
onClick: o
|
@@ -6646,15 +6646,15 @@ const z1 = ({ children: i, width: e, size: t = "small", onClose: o, closable: s
|
|
6646
6646
|
bordered: !1,
|
6647
6647
|
style: { width: e ?? "fit-content" },
|
6648
6648
|
closable: s,
|
6649
|
-
children: typeof i == "string" ? /* @__PURE__ */ n(
|
6649
|
+
children: typeof i == "string" ? /* @__PURE__ */ n(Jt, { variant: t === "small" ? "body4" : "body2", children: i }) : i
|
6650
6650
|
}
|
6651
6651
|
);
|
6652
|
-
}, { Title:
|
6652
|
+
}, { Title: Ei, Text: _i } = F1, Hi = {
|
6653
6653
|
h1: 1,
|
6654
6654
|
h2: 2,
|
6655
6655
|
h3: 3,
|
6656
6656
|
h4: 4
|
6657
|
-
},
|
6657
|
+
}, q1 = f1(
|
6658
6658
|
({
|
6659
6659
|
align: i = "inherit",
|
6660
6660
|
variant: e = "body1",
|
@@ -6667,17 +6667,17 @@ const z1 = ({ children: i, width: e, size: t = "small", onClose: o, closable: s
|
|
6667
6667
|
const d = e === "h1" || e === "h2" || e === "h3" || e === "h4";
|
6668
6668
|
let g = `snmt-typography snmt-typography-${e}`;
|
6669
6669
|
return i && i !== "inherit" && (g += ` snmt-typography-align-${i}`), l && (g += " collapsed"), d ? /* @__PURE__ */ n(
|
6670
|
-
|
6670
|
+
Ei,
|
6671
6671
|
{
|
6672
6672
|
className: g,
|
6673
6673
|
style: { color: t, whiteSpace: c },
|
6674
6674
|
onClick: s,
|
6675
|
-
level:
|
6675
|
+
level: Hi[e],
|
6676
6676
|
ref: r,
|
6677
6677
|
children: o
|
6678
6678
|
}
|
6679
6679
|
) : /* @__PURE__ */ n(
|
6680
|
-
|
6680
|
+
_i,
|
6681
6681
|
{
|
6682
6682
|
className: g,
|
6683
6683
|
style: { color: t, whiteSpace: c },
|
@@ -6687,7 +6687,7 @@ const z1 = ({ children: i, width: e, size: t = "small", onClose: o, closable: s
|
|
6687
6687
|
}
|
6688
6688
|
);
|
6689
6689
|
}
|
6690
|
-
),
|
6690
|
+
), Vi = ({
|
6691
6691
|
children: i,
|
6692
6692
|
content: e,
|
6693
6693
|
isOpen: t,
|
@@ -6695,9 +6695,9 @@ const z1 = ({ children: i, width: e, size: t = "small", onClose: o, closable: s
|
|
6695
6695
|
placement: s = "topRight",
|
6696
6696
|
noPadding: l = !1
|
6697
6697
|
}) => {
|
6698
|
-
const [c, r] =
|
6698
|
+
const [c, r] = B(!1);
|
6699
6699
|
return /* @__PURE__ */ n(
|
6700
|
-
|
6700
|
+
pe,
|
6701
6701
|
{
|
6702
6702
|
content: e,
|
6703
6703
|
arrow: !1,
|
@@ -6711,7 +6711,7 @@ const z1 = ({ children: i, width: e, size: t = "small", onClose: o, closable: s
|
|
6711
6711
|
children: /* @__PURE__ */ n("div", { className: "wrapper", children: i })
|
6712
6712
|
}
|
6713
6713
|
);
|
6714
|
-
},
|
6714
|
+
}, Ii = ({
|
6715
6715
|
values: i,
|
6716
6716
|
onTagClose: e,
|
6717
6717
|
maxWidth: t,
|
@@ -6719,8 +6719,8 @@ const z1 = ({ children: i, width: e, size: t = "small", onClose: o, closable: s
|
|
6719
6719
|
options: s,
|
6720
6720
|
extraOptions: l
|
6721
6721
|
}) => {
|
6722
|
-
const [c, r] =
|
6723
|
-
|
6722
|
+
const [c, r] = B(!1);
|
6723
|
+
Z(() => {
|
6724
6724
|
i.length || r(!1);
|
6725
6725
|
}, [i]);
|
6726
6726
|
const d = (a) => {
|
@@ -6730,15 +6730,15 @@ const z1 = ({ children: i, width: e, size: t = "small", onClose: o, closable: s
|
|
6730
6730
|
return null;
|
6731
6731
|
const g = (a) => {
|
6732
6732
|
var h, C;
|
6733
|
-
return ((h = s == null ? void 0 : s.find((
|
6733
|
+
return ((h = s == null ? void 0 : s.find((w) => w.value === a)) == null ? void 0 : h.label) || ((C = l == null ? void 0 : l.find((w) => w.value === a)) == null ? void 0 : C.label) || a;
|
6734
6734
|
};
|
6735
6735
|
return /* @__PURE__ */ n("div", { onMouseDown: d, className: "wrapper", children: /* @__PURE__ */ n(
|
6736
|
-
|
6736
|
+
Vi,
|
6737
6737
|
{
|
6738
6738
|
content: (
|
6739
6739
|
// 90: paddings + margins + gaps and so on
|
6740
|
-
/* @__PURE__ */ n("div", { style: { maxWidth: t - 90 }, children: /* @__PURE__ */ n(
|
6741
|
-
|
6740
|
+
/* @__PURE__ */ n("div", { style: { maxWidth: t - 90 }, children: /* @__PURE__ */ n(d1, { gap: 6, flexWrap: "wrap", children: i.map(({ value: a }) => /* @__PURE__ */ n(
|
6741
|
+
Q1,
|
6742
6742
|
{
|
6743
6743
|
onClose: () => e(a),
|
6744
6744
|
closable: !o,
|
@@ -6750,13 +6750,13 @@ const z1 = ({ children: i, width: e, size: t = "small", onClose: o, closable: s
|
|
6750
6750
|
placement: "bottomRight",
|
6751
6751
|
isOpen: c,
|
6752
6752
|
setIsOpen: r,
|
6753
|
-
children: /* @__PURE__ */ n(
|
6753
|
+
children: /* @__PURE__ */ n($1, { className: `overflow-button ${c ? "open" : ""}`, bordered: !1, children: /* @__PURE__ */ u(q1, { variant: "body4", color: c ? q.BLUE_PRIMARY : void 0, children: [
|
6754
6754
|
i.length,
|
6755
6755
|
" more"
|
6756
6756
|
] }) })
|
6757
6757
|
}
|
6758
6758
|
) });
|
6759
|
-
},
|
6759
|
+
}, b1 = ({ size: i = 30, color: e = "#004ed7" }) => {
|
6760
6760
|
const t = `no-repeat linear-gradient(${e}
|
6761
6761
|
calc(50% - 10px), #0000 0 calc(50% + 10px), ${e} 0)`, o = {
|
6762
6762
|
width: i,
|
@@ -6764,7 +6764,7 @@ const z1 = ({ children: i, width: e, size: t = "small", onClose: o, closable: s
|
|
6764
6764
|
backgroundSize: "20% calc(200% + 20px)"
|
6765
6765
|
};
|
6766
6766
|
return /* @__PURE__ */ n("span", { className: "snmt-loader", style: o });
|
6767
|
-
},
|
6767
|
+
}, Si = f1(
|
6768
6768
|
({
|
6769
6769
|
value: i,
|
6770
6770
|
onChange: e,
|
@@ -6780,142 +6780,165 @@ const z1 = ({ children: i, width: e, size: t = "small", onClose: o, closable: s
|
|
6780
6780
|
onDropdownVisibleChange: h,
|
6781
6781
|
onScrollToEnd: C,
|
6782
6782
|
onPopupScroll: p,
|
6783
|
-
id:
|
6783
|
+
id: w,
|
6784
6784
|
extraOptions: v,
|
6785
|
-
|
6786
|
-
|
6787
|
-
|
6788
|
-
|
6789
|
-
|
6785
|
+
dropdownRender: N,
|
6786
|
+
optionRender: b,
|
6787
|
+
isLoading: R,
|
6788
|
+
readOnly: _
|
6789
|
+
}, L) => {
|
6790
|
+
const [M, y] = B(!1), [x, S] = B(!1), [I, O] = B(!0), [H, U] = B(i), F = n1(null);
|
6791
|
+
Z(() => {
|
6792
|
+
U(i);
|
6790
6793
|
}, [i]);
|
6791
|
-
const
|
6792
|
-
|
6793
|
-
},
|
6794
|
-
var
|
6795
|
-
return !!((
|
6796
|
-
},
|
6797
|
-
|
6798
|
-
},
|
6799
|
-
|
6800
|
-
},
|
6801
|
-
|
6802
|
-
|
6803
|
-
|
6804
|
-
|
6805
|
-
|
6806
|
-
|
6807
|
-
|
6808
|
-
|
6809
|
-
|
6810
|
-
|
6811
|
-
|
6794
|
+
const j = (f) => {
|
6795
|
+
y(f), h && h(f);
|
6796
|
+
}, $ = (f, E) => {
|
6797
|
+
var D;
|
6798
|
+
return !!((D = E == null ? void 0 : E.label) != null && D.toString().toLowerCase().includes(f.toLowerCase()));
|
6799
|
+
}, z = () => {
|
6800
|
+
S(!0);
|
6801
|
+
}, l1 = () => {
|
6802
|
+
S(!1);
|
6803
|
+
}, V = G(
|
6804
|
+
(f) => {
|
6805
|
+
if (U(f), o) {
|
6806
|
+
const D = f;
|
6807
|
+
e == null || e(D);
|
6808
|
+
return;
|
6809
|
+
}
|
6810
|
+
const E = f;
|
6811
|
+
e == null || e(E);
|
6812
|
+
},
|
6813
|
+
[o, e]
|
6814
|
+
), P = G(() => {
|
6815
|
+
if (!_) {
|
6816
|
+
if (o) {
|
6817
|
+
V([]);
|
6818
|
+
return;
|
6819
|
+
}
|
6820
|
+
V("");
|
6812
6821
|
}
|
6813
|
-
|
6814
|
-
|
6815
|
-
|
6816
|
-
|
6817
|
-
|
6818
|
-
|
6819
|
-
|
6820
|
-
|
6821
|
-
|
6822
|
-
|
6823
|
-
|
6824
|
-
|
6825
|
-
|
6826
|
-
|
6827
|
-
|
6828
|
-
|
6829
|
-
|
6830
|
-
|
6831
|
-
|
6832
|
-
|
6833
|
-
|
6834
|
-
|
6835
|
-
|
6836
|
-
|
6837
|
-
|
6838
|
-
|
6839
|
-
|
6840
|
-
|
6841
|
-
|
6842
|
-
|
6843
|
-
|
6844
|
-
|
6845
|
-
|
6846
|
-
|
6822
|
+
}, [V, o, _]), T = G(
|
6823
|
+
(f) => {
|
6824
|
+
const E = H.filter((D) => D !== f);
|
6825
|
+
V(E), U(E);
|
6826
|
+
},
|
6827
|
+
[V, H]
|
6828
|
+
), e1 = G(
|
6829
|
+
(f) => (H == null ? void 0 : H.indexOf(f)) === 0 ? (
|
6830
|
+
// if the search input is empty
|
6831
|
+
// then display the placeholder, else do not display it
|
6832
|
+
/* @__PURE__ */ n("span", { className: "custom-placeholder", children: I ? t : "" })
|
6833
|
+
) : /* @__PURE__ */ n(X, {}),
|
6834
|
+
[I, H, t]
|
6835
|
+
), se = (f) => {
|
6836
|
+
f.preventDefault(), f.stopPropagation();
|
6837
|
+
}, ne = async (f) => {
|
6838
|
+
const { target: E } = f;
|
6839
|
+
E.scrollTop + E.offsetHeight >= E.scrollHeight - g && (C == null || C(!0)), p && await p(f);
|
6840
|
+
}, m1 = G(
|
6841
|
+
(f) => {
|
6842
|
+
var E, D;
|
6843
|
+
return ((E = l.find((k1) => k1.value === f)) == null ? void 0 : E.label) || ((D = v == null ? void 0 : v.find(
|
6844
|
+
(k1) => k1.value === f
|
6845
|
+
)) == null ? void 0 : D.label) || f;
|
6846
|
+
},
|
6847
|
+
[v, l]
|
6848
|
+
), re = G(
|
6849
|
+
(f) => {
|
6850
|
+
var E;
|
6851
|
+
return /* @__PURE__ */ n(
|
6852
|
+
Ii,
|
6853
|
+
{
|
6854
|
+
values: f,
|
6855
|
+
onTagClose: T,
|
6856
|
+
maxWidth: ((E = F.current) == null ? void 0 : E.clientWidth) || 0,
|
6857
|
+
disabled: r || _,
|
6858
|
+
options: l,
|
6859
|
+
extraOptions: v
|
6860
|
+
}
|
6861
|
+
);
|
6862
|
+
},
|
6863
|
+
[r, v, T, l, _]
|
6864
|
+
), le = G(
|
6865
|
+
({ label: f, value: E, mode: D }) => D === "filter" ? e1(E) : /* @__PURE__ */ n("div", { onMouseDown: se, className: "tag-wrapper", children: /* @__PURE__ */ n(Q1, { onClose: () => T(E), closable: !r, children: /* @__PURE__ */ n(q1, { variant: "body4", children: typeof f == "object" ? f : m1(E) }) }) }),
|
6866
|
+
[r, m1, T, e1]
|
6867
|
+
);
|
6847
6868
|
return /* @__PURE__ */ u(
|
6848
6869
|
"div",
|
6849
6870
|
{
|
6850
|
-
className: `snmt-select ${
|
6851
|
-
${o ? "" : "snmt-select-single"}`,
|
6852
|
-
ref:
|
6871
|
+
className: `snmt-select ${x ? "snmt-select-focused" : ""}
|
6872
|
+
${o ? "" : "snmt-select-single"} ${_ ? "snmt-select-read-only" : ""}`,
|
6873
|
+
ref: F,
|
6853
6874
|
style: { width: c },
|
6854
6875
|
children: [
|
6855
6876
|
/* @__PURE__ */ n(
|
6856
|
-
|
6877
|
+
de,
|
6857
6878
|
{
|
6858
6879
|
className: "snmt-select-blank",
|
6859
|
-
|
6860
|
-
|
6880
|
+
popupClassName: _ ? "dropdown-read-only" : "",
|
6881
|
+
id: w,
|
6882
|
+
ref: L,
|
6861
6883
|
showSearch: !!s,
|
6862
|
-
filterOption: s &&
|
6863
|
-
onDropdownVisibleChange:
|
6884
|
+
filterOption: s && $,
|
6885
|
+
onDropdownVisibleChange: j,
|
6864
6886
|
placeholder: t ? d ? `${t}*` : t : void 0,
|
6865
6887
|
disabled: r,
|
6866
|
-
value:
|
6867
|
-
labelRender: (
|
6888
|
+
value: H || void 0,
|
6889
|
+
labelRender: (f) => m1(f.value),
|
6868
6890
|
mode: o === "filter" ? "multiple" : o,
|
6869
|
-
onChange:
|
6870
|
-
onFocus:
|
6871
|
-
onBlur:
|
6872
|
-
onSearch: (
|
6873
|
-
|
6891
|
+
onChange: V,
|
6892
|
+
onFocus: z,
|
6893
|
+
onBlur: l1,
|
6894
|
+
onSearch: (f) => {
|
6895
|
+
O(!f), a && a(f);
|
6874
6896
|
},
|
6875
|
-
onSelect: () =>
|
6876
|
-
onDeselect: () =>
|
6877
|
-
tagRender: (
|
6897
|
+
onSelect: () => O(!0),
|
6898
|
+
onDeselect: () => O(!0),
|
6899
|
+
tagRender: (f) => le({ ...f, mode: o }),
|
6878
6900
|
maxTagCount: "responsive",
|
6879
|
-
maxTagPlaceholder:
|
6880
|
-
onPopupScroll:
|
6881
|
-
|
6882
|
-
|
6901
|
+
maxTagPlaceholder: re,
|
6902
|
+
onPopupScroll: ne,
|
6903
|
+
prefix: _ && !i && /* @__PURE__ */ n(b1, { size: 15 }),
|
6904
|
+
suffixIcon: /* @__PURE__ */ n("div", { className: "wrapper-suffix-icon", children: o !== "filter" && /* @__PURE__ */ u(X, { children: [
|
6905
|
+
o && H && !!H.length && /* @__PURE__ */ n("div", { onClick: P, children: /* @__PURE__ */ n(a1, { name: "cancel" }) }),
|
6883
6906
|
/* @__PURE__ */ n(
|
6884
|
-
|
6907
|
+
a1,
|
6885
6908
|
{
|
6886
6909
|
name: "selectArrowIcon",
|
6887
|
-
color: r ?
|
6888
|
-
className:
|
6889
|
-
onClick: () =>
|
6910
|
+
color: r ? q.GREY_DARK_1 : q.GREY_DARK_5,
|
6911
|
+
className: M ? "select-arrow-rotated" : "select-arrow",
|
6912
|
+
onClick: () => y(!M)
|
6890
6913
|
}
|
6891
6914
|
)
|
6892
6915
|
] }) }),
|
6893
|
-
removeIcon: /* @__PURE__ */ n(
|
6916
|
+
removeIcon: /* @__PURE__ */ n(a1, { name: "errorSmall", color: q.GREY_DARK_2 }),
|
6894
6917
|
options: l,
|
6895
|
-
optionRender: (
|
6896
|
-
/* @__PURE__ */ u(
|
6918
|
+
optionRender: (f) => b ? b(f.data) : /* @__PURE__ */ u(d1, { justifyContent: "space-between", alignItems: "center", flex: "1", children: [
|
6919
|
+
/* @__PURE__ */ u(d1, { alignItems: "center", gap: 12, children: [
|
6897
6920
|
o && /* @__PURE__ */ n(
|
6898
|
-
|
6921
|
+
we,
|
6899
6922
|
{
|
6900
|
-
checked: !!(
|
6923
|
+
checked: !!(H != null && H.includes(f.value))
|
6901
6924
|
}
|
6902
6925
|
),
|
6903
|
-
/* @__PURE__ */ u(
|
6904
|
-
|
6905
|
-
/* @__PURE__ */ n("span", { children:
|
6926
|
+
/* @__PURE__ */ u(d1, { alignItems: "center", gap: 8, children: [
|
6927
|
+
f.data.image && /* @__PURE__ */ n(fe, { src: f.data.image, size: 20 }),
|
6928
|
+
/* @__PURE__ */ n("span", { children: f.label })
|
6906
6929
|
] })
|
6907
6930
|
] }),
|
6908
|
-
!o &&
|
6909
|
-
|
6931
|
+
!o && H === f.value && /* @__PURE__ */ n(
|
6932
|
+
a1,
|
6910
6933
|
{
|
6911
6934
|
name: "ok",
|
6912
|
-
color:
|
6935
|
+
color: q.BLUE_PRIMARY,
|
6913
6936
|
width: 16,
|
6914
6937
|
height: 16
|
6915
6938
|
}
|
6916
6939
|
)
|
6917
6940
|
] }),
|
6918
|
-
dropdownRender:
|
6941
|
+
dropdownRender: R ? () => /* @__PURE__ */ n(
|
6919
6942
|
"div",
|
6920
6943
|
{
|
6921
6944
|
style: {
|
@@ -6923,15 +6946,15 @@ const z1 = ({ children: i, width: e, size: t = "small", onClose: o, closable: s
|
|
6923
6946
|
display: "grid",
|
6924
6947
|
justifyContent: "center"
|
6925
6948
|
},
|
6926
|
-
children: /* @__PURE__ */ n(
|
6949
|
+
children: /* @__PURE__ */ n(b1, { size: 28 })
|
6927
6950
|
}
|
6928
|
-
) :
|
6951
|
+
) : (f) => N ? N(f) : f
|
6929
6952
|
}
|
6930
6953
|
),
|
6931
6954
|
/* @__PURE__ */ n(
|
6932
6955
|
"fieldset",
|
6933
6956
|
{
|
6934
|
-
className: `${
|
6957
|
+
className: `${x ? "fieldset-focused" : ""}
|
6935
6958
|
${r ? "fieldset-disabled" : ""}
|
6936
6959
|
${typeof i == "string" && i ? "fieldset-filled" : ""}
|
6937
6960
|
${typeof i == "object" && i != null && i.length ? "fieldset-filled" : ""}`,
|
@@ -6942,7 +6965,7 @@ const z1 = ({ children: i, width: e, size: t = "small", onClose: o, closable: s
|
|
6942
6965
|
}
|
6943
6966
|
);
|
6944
6967
|
}
|
6945
|
-
),
|
6968
|
+
), Oi = {
|
6946
6969
|
type: "logger",
|
6947
6970
|
log(i) {
|
6948
6971
|
this.output("log", i);
|
@@ -6957,14 +6980,14 @@ const z1 = ({ children: i, width: e, size: t = "small", onClose: o, closable: s
|
|
6957
6980
|
console && console[i] && console[i].apply(console, e);
|
6958
6981
|
}
|
6959
6982
|
};
|
6960
|
-
class
|
6983
|
+
class g1 {
|
6961
6984
|
constructor(e) {
|
6962
6985
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
6963
6986
|
this.init(e, t);
|
6964
6987
|
}
|
6965
6988
|
init(e) {
|
6966
6989
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
6967
|
-
this.prefix = t.prefix || "i18next:", this.logger = e ||
|
6990
|
+
this.prefix = t.prefix || "i18next:", this.logger = e || Oi, this.options = t, this.debug = t.debug;
|
6968
6991
|
}
|
6969
6992
|
log() {
|
6970
6993
|
for (var e = arguments.length, t = new Array(e), o = 0; o < e; o++)
|
@@ -6990,17 +7013,17 @@ class d1 {
|
|
6990
7013
|
return s && !this.debug ? null : (typeof e[0] == "string" && (e[0] = `${o}${this.prefix} ${e[0]}`), this.logger[t](e));
|
6991
7014
|
}
|
6992
7015
|
create(e) {
|
6993
|
-
return new
|
7016
|
+
return new g1(this.logger, {
|
6994
7017
|
prefix: `${this.prefix}:${e}:`,
|
6995
7018
|
...this.options
|
6996
7019
|
});
|
6997
7020
|
}
|
6998
7021
|
clone(e) {
|
6999
|
-
return e = e || this.options, e.prefix = e.prefix || this.prefix, new
|
7022
|
+
return e = e || this.options, e.prefix = e.prefix || this.prefix, new g1(this.logger, e);
|
7000
7023
|
}
|
7001
7024
|
}
|
7002
|
-
var
|
7003
|
-
class
|
7025
|
+
var K = new g1();
|
7026
|
+
class w1 {
|
7004
7027
|
constructor() {
|
7005
7028
|
this.observers = {};
|
7006
7029
|
}
|
@@ -7034,63 +7057,63 @@ class f1 {
|
|
7034
7057
|
});
|
7035
7058
|
}
|
7036
7059
|
}
|
7037
|
-
const
|
7060
|
+
const t1 = () => {
|
7038
7061
|
let i, e;
|
7039
7062
|
const t = new Promise((o, s) => {
|
7040
7063
|
i = o, e = s;
|
7041
7064
|
});
|
7042
7065
|
return t.resolve = i, t.reject = e, t;
|
7043
|
-
},
|
7066
|
+
}, E1 = (i) => i == null ? "" : "" + i, Ai = (i, e, t) => {
|
7044
7067
|
i.forEach((o) => {
|
7045
7068
|
e[o] && (t[o] = e[o]);
|
7046
7069
|
});
|
7047
|
-
},
|
7070
|
+
}, Bi = /###/g, _1 = (i) => i && i.indexOf("###") > -1 ? i.replace(Bi, ".") : i, H1 = (i) => !i || typeof i == "string", i1 = (i, e, t) => {
|
7048
7071
|
const o = typeof e != "string" ? e : e.split(".");
|
7049
7072
|
let s = 0;
|
7050
7073
|
for (; s < o.length - 1; ) {
|
7051
|
-
if (
|
7052
|
-
const l =
|
7074
|
+
if (H1(i)) return {};
|
7075
|
+
const l = _1(o[s]);
|
7053
7076
|
!i[l] && t && (i[l] = new t()), Object.prototype.hasOwnProperty.call(i, l) ? i = i[l] : i = {}, ++s;
|
7054
7077
|
}
|
7055
|
-
return
|
7078
|
+
return H1(i) ? {} : {
|
7056
7079
|
obj: i,
|
7057
|
-
k:
|
7080
|
+
k: _1(o[s])
|
7058
7081
|
};
|
7059
|
-
},
|
7082
|
+
}, V1 = (i, e, t) => {
|
7060
7083
|
const {
|
7061
7084
|
obj: o,
|
7062
7085
|
k: s
|
7063
|
-
} =
|
7086
|
+
} = i1(i, e, Object);
|
7064
7087
|
if (o !== void 0 || e.length === 1) {
|
7065
7088
|
o[s] = t;
|
7066
7089
|
return;
|
7067
7090
|
}
|
7068
|
-
let l = e[e.length - 1], c = e.slice(0, e.length - 1), r =
|
7091
|
+
let l = e[e.length - 1], c = e.slice(0, e.length - 1), r = i1(i, c, Object);
|
7069
7092
|
for (; r.obj === void 0 && c.length; )
|
7070
|
-
l = `${c[c.length - 1]}.${l}`, c = c.slice(0, c.length - 1), r =
|
7093
|
+
l = `${c[c.length - 1]}.${l}`, c = c.slice(0, c.length - 1), r = i1(i, c, Object), r && r.obj && typeof r.obj[`${r.k}.${l}`] < "u" && (r.obj = void 0);
|
7071
7094
|
r.obj[`${r.k}.${l}`] = t;
|
7072
|
-
},
|
7095
|
+
}, Wi = (i, e, t, o) => {
|
7073
7096
|
const {
|
7074
7097
|
obj: s,
|
7075
7098
|
k: l
|
7076
|
-
} =
|
7099
|
+
} = i1(i, e, Object);
|
7077
7100
|
s[l] = s[l] || [], s[l].push(t);
|
7078
|
-
},
|
7101
|
+
}, u1 = (i, e) => {
|
7079
7102
|
const {
|
7080
7103
|
obj: t,
|
7081
7104
|
k: o
|
7082
|
-
} =
|
7105
|
+
} = i1(i, e);
|
7083
7106
|
if (t)
|
7084
7107
|
return t[o];
|
7085
|
-
},
|
7086
|
-
const o =
|
7087
|
-
return o !== void 0 ? o :
|
7088
|
-
},
|
7108
|
+
}, ji = (i, e, t) => {
|
7109
|
+
const o = u1(i, t);
|
7110
|
+
return o !== void 0 ? o : u1(e, t);
|
7111
|
+
}, X1 = (i, e, t) => {
|
7089
7112
|
for (const o in e)
|
7090
|
-
o !== "__proto__" && o !== "constructor" && (o in i ? typeof i[o] == "string" || i[o] instanceof String || typeof e[o] == "string" || e[o] instanceof String ? t && (i[o] = e[o]) :
|
7113
|
+
o !== "__proto__" && o !== "constructor" && (o in i ? typeof i[o] == "string" || i[o] instanceof String || typeof e[o] == "string" || e[o] instanceof String ? t && (i[o] = e[o]) : X1(i[o], e[o], t) : i[o] = e[o]);
|
7091
7114
|
return i;
|
7092
|
-
},
|
7093
|
-
var
|
7115
|
+
}, J = (i) => i.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
|
7116
|
+
var Zi = {
|
7094
7117
|
"&": "&",
|
7095
7118
|
"<": "<",
|
7096
7119
|
">": ">",
|
@@ -7098,8 +7121,8 @@ var Bi = {
|
|
7098
7121
|
"'": "'",
|
7099
7122
|
"/": "/"
|
7100
7123
|
};
|
7101
|
-
const
|
7102
|
-
class
|
7124
|
+
const Di = (i) => typeof i == "string" ? i.replace(/[&<>"'\/]/g, (e) => Zi[e]) : i;
|
7125
|
+
class Ti {
|
7103
7126
|
constructor(e) {
|
7104
7127
|
this.capacity = e, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = [];
|
7105
7128
|
}
|
@@ -7111,18 +7134,18 @@ class ji {
|
|
7111
7134
|
return this.regExpQueue.length === this.capacity && this.regExpMap.delete(this.regExpQueue.shift()), this.regExpMap.set(e, o), this.regExpQueue.push(e), o;
|
7112
7135
|
}
|
7113
7136
|
}
|
7114
|
-
const
|
7137
|
+
const Gi = [" ", ",", "?", "!", ";"], Ki = new Ti(20), Pi = (i, e, t) => {
|
7115
7138
|
e = e || "", t = t || "";
|
7116
|
-
const o =
|
7139
|
+
const o = Gi.filter((c) => e.indexOf(c) < 0 && t.indexOf(c) < 0);
|
7117
7140
|
if (o.length === 0) return !0;
|
7118
|
-
const s =
|
7141
|
+
const s = Ki.getRegExp(`(${o.map((c) => c === "?" ? "\\?" : c).join("|")})`);
|
7119
7142
|
let l = !s.test(i);
|
7120
7143
|
if (!l) {
|
7121
7144
|
const c = i.indexOf(t);
|
7122
7145
|
c > 0 && !s.test(i.substring(0, c)) && (l = !0);
|
7123
7146
|
}
|
7124
7147
|
return l;
|
7125
|
-
},
|
7148
|
+
}, x1 = function(i, e) {
|
7126
7149
|
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : ".";
|
7127
7150
|
if (!i) return;
|
7128
7151
|
if (i[e]) return i[e];
|
@@ -7142,8 +7165,8 @@ const Zi = [" ", ",", "?", "!", ";"], Di = new ji(20), Ti = (i, e, t) => {
|
|
7142
7165
|
s = c;
|
7143
7166
|
}
|
7144
7167
|
return s;
|
7145
|
-
},
|
7146
|
-
class
|
7168
|
+
}, C1 = (i) => i && i.indexOf("_") > 0 ? i.replace("_", "-") : i;
|
7169
|
+
class I1 extends w1 {
|
7147
7170
|
constructor(e) {
|
7148
7171
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
|
7149
7172
|
ns: ["translation"],
|
@@ -7163,8 +7186,8 @@ class H1 extends f1 {
|
|
7163
7186
|
const l = s.keySeparator !== void 0 ? s.keySeparator : this.options.keySeparator, c = s.ignoreJSONStructure !== void 0 ? s.ignoreJSONStructure : this.options.ignoreJSONStructure;
|
7164
7187
|
let r;
|
7165
7188
|
e.indexOf(".") > -1 ? r = e.split(".") : (r = [e, t], o && (Array.isArray(o) ? r.push(...o) : typeof o == "string" && l ? r.push(...o.split(l)) : r.push(o)));
|
7166
|
-
const d =
|
7167
|
-
return !d && !t && !o && e.indexOf(".") > -1 && (e = r[0], t = r[1], o = r.slice(2).join(".")), d || !c || typeof o != "string" ? d :
|
7189
|
+
const d = u1(this.data, r);
|
7190
|
+
return !d && !t && !o && e.indexOf(".") > -1 && (e = r[0], t = r[1], o = r.slice(2).join(".")), d || !c || typeof o != "string" ? d : x1(this.data && this.data[e] && this.data[e][t], o, l);
|
7168
7191
|
}
|
7169
7192
|
addResource(e, t, o, s) {
|
7170
7193
|
let l = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : {
|
@@ -7172,7 +7195,7 @@ class H1 extends f1 {
|
|
7172
7195
|
};
|
7173
7196
|
const c = l.keySeparator !== void 0 ? l.keySeparator : this.options.keySeparator;
|
7174
7197
|
let r = [e, t];
|
7175
|
-
o && (r = r.concat(c ? o.split(c) : o)), e.indexOf(".") > -1 && (r = e.split("."), s = t, t = r[1]), this.addNamespaces(t),
|
7198
|
+
o && (r = r.concat(c ? o.split(c) : o)), e.indexOf(".") > -1 && (r = e.split("."), s = t, t = r[1]), this.addNamespaces(t), V1(this.data, r, s), l.silent || this.emit("added", e, t, o, s);
|
7176
7199
|
}
|
7177
7200
|
addResources(e, t, o) {
|
7178
7201
|
let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {
|
@@ -7190,11 +7213,11 @@ class H1 extends f1 {
|
|
7190
7213
|
skipCopy: !1
|
7191
7214
|
}, r = [e, t];
|
7192
7215
|
e.indexOf(".") > -1 && (r = e.split("."), s = o, o = t, t = r[1]), this.addNamespaces(t);
|
7193
|
-
let d =
|
7194
|
-
c.skipCopy || (o = JSON.parse(JSON.stringify(o))), s ?
|
7216
|
+
let d = u1(this.data, r) || {};
|
7217
|
+
c.skipCopy || (o = JSON.parse(JSON.stringify(o))), s ? X1(d, o, l) : d = {
|
7195
7218
|
...d,
|
7196
7219
|
...o
|
7197
|
-
},
|
7220
|
+
}, V1(this.data, r, d), c.silent || this.emit("added", e, t, o);
|
7198
7221
|
}
|
7199
7222
|
removeResourceBundle(e, t) {
|
7200
7223
|
this.hasResourceBundle(e, t) && delete this.data[e][t], this.removeNamespaces(t), this.emit("removed", e, t);
|
@@ -7218,7 +7241,7 @@ class H1 extends f1 {
|
|
7218
7241
|
return this.data;
|
7219
7242
|
}
|
7220
7243
|
}
|
7221
|
-
var
|
7244
|
+
var ee = {
|
7222
7245
|
processors: {},
|
7223
7246
|
addPostProcessor(i) {
|
7224
7247
|
this.processors[i.name] = i;
|
@@ -7229,11 +7252,11 @@ var q1 = {
|
|
7229
7252
|
}), e;
|
7230
7253
|
}
|
7231
7254
|
};
|
7232
|
-
const
|
7233
|
-
class
|
7255
|
+
const S1 = {};
|
7256
|
+
class p1 extends w1 {
|
7234
7257
|
constructor(e) {
|
7235
7258
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
7236
|
-
super(),
|
7259
|
+
super(), Ai(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = K.create("translator");
|
7237
7260
|
}
|
7238
7261
|
changeLanguage(e) {
|
7239
7262
|
e && (this.language = e);
|
@@ -7252,7 +7275,7 @@ class C1 extends f1 {
|
|
7252
7275
|
o === void 0 && (o = ":");
|
7253
7276
|
const s = t.keySeparator !== void 0 ? t.keySeparator : this.options.keySeparator;
|
7254
7277
|
let l = t.ns || this.options.defaultNS || [];
|
7255
|
-
const c = o && e.indexOf(o) > -1, r = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !
|
7278
|
+
const c = o && e.indexOf(o) > -1, r = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !Pi(e, o, s);
|
7256
7279
|
if (c && !r) {
|
7257
7280
|
const d = e.match(this.interpolator.nestingRegexp);
|
7258
7281
|
if (d && d.length > 0)
|
@@ -7279,15 +7302,15 @@ class C1 extends f1 {
|
|
7279
7302
|
} = this.extractFromKey(e[e.length - 1], t), d = r[r.length - 1], g = t.lng || this.language, a = t.appendNamespaceToCIMode || this.options.appendNamespaceToCIMode;
|
7280
7303
|
if (g && g.toLowerCase() === "cimode") {
|
7281
7304
|
if (a) {
|
7282
|
-
const
|
7305
|
+
const L = t.nsSeparator || this.options.nsSeparator;
|
7283
7306
|
return s ? {
|
7284
|
-
res: `${d}${
|
7307
|
+
res: `${d}${L}${c}`,
|
7285
7308
|
usedKey: c,
|
7286
7309
|
exactUsedKey: c,
|
7287
7310
|
usedLng: g,
|
7288
7311
|
usedNS: d,
|
7289
7312
|
usedParams: this.getUsedParamsDetails(t)
|
7290
|
-
} : `${d}${
|
7313
|
+
} : `${d}${L}${c}`;
|
7291
7314
|
}
|
7292
7315
|
return s ? {
|
7293
7316
|
res: c,
|
@@ -7300,64 +7323,64 @@ class C1 extends f1 {
|
|
7300
7323
|
}
|
7301
7324
|
const h = this.resolve(e, t);
|
7302
7325
|
let C = h && h.res;
|
7303
|
-
const p = h && h.usedKey || c,
|
7304
|
-
if (R && C && (typeof C != "string" && typeof C != "boolean" && typeof C != "number") && N.indexOf(v) < 0 && !(typeof
|
7326
|
+
const p = h && h.usedKey || c, w = h && h.exactUsedKey || c, v = Object.prototype.toString.apply(C), N = ["[object Number]", "[object Function]", "[object RegExp]"], b = t.joinArrays !== void 0 ? t.joinArrays : this.options.joinArrays, R = !this.i18nFormat || this.i18nFormat.handleAsObject;
|
7327
|
+
if (R && C && (typeof C != "string" && typeof C != "boolean" && typeof C != "number") && N.indexOf(v) < 0 && !(typeof b == "string" && Array.isArray(C))) {
|
7305
7328
|
if (!t.returnObjects && !this.options.returnObjects) {
|
7306
7329
|
this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
|
7307
|
-
const
|
7330
|
+
const L = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(p, C, {
|
7308
7331
|
...t,
|
7309
7332
|
ns: r
|
7310
7333
|
}) : `key '${c} (${this.language})' returned an object instead of string.`;
|
7311
|
-
return s ? (h.res =
|
7334
|
+
return s ? (h.res = L, h.usedParams = this.getUsedParamsDetails(t), h) : L;
|
7312
7335
|
}
|
7313
7336
|
if (l) {
|
7314
|
-
const
|
7337
|
+
const L = Array.isArray(C), M = L ? [] : {}, y = L ? w : p;
|
7315
7338
|
for (const x in C)
|
7316
7339
|
if (Object.prototype.hasOwnProperty.call(C, x)) {
|
7317
|
-
const
|
7318
|
-
M[x] = this.translate(
|
7340
|
+
const S = `${y}${l}${x}`;
|
7341
|
+
M[x] = this.translate(S, {
|
7319
7342
|
...t,
|
7320
7343
|
joinArrays: !1,
|
7321
7344
|
ns: r
|
7322
|
-
}), M[x] ===
|
7345
|
+
}), M[x] === S && (M[x] = C[x]);
|
7323
7346
|
}
|
7324
7347
|
C = M;
|
7325
7348
|
}
|
7326
|
-
} else if (R && typeof
|
7327
|
-
C = C.join(
|
7349
|
+
} else if (R && typeof b == "string" && Array.isArray(C))
|
7350
|
+
C = C.join(b), C && (C = this.extendTranslation(C, e, t, o));
|
7328
7351
|
else {
|
7329
|
-
let
|
7330
|
-
const y = t.count !== void 0 && typeof t.count != "string", x =
|
7352
|
+
let L = !1, M = !1;
|
7353
|
+
const y = t.count !== void 0 && typeof t.count != "string", x = p1.hasDefaultValue(t), S = y ? this.pluralResolver.getSuffix(g, t.count, t) : "", I = t.ordinal && y ? this.pluralResolver.getSuffix(g, t.count, {
|
7331
7354
|
ordinal: !1
|
7332
|
-
}) : "",
|
7333
|
-
!this.isValidLookup(C) && x && (
|
7334
|
-
const
|
7335
|
-
if (M ||
|
7336
|
-
if (this.logger.log(
|
7337
|
-
const
|
7355
|
+
}) : "", O = y && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), H = O && t[`defaultValue${this.options.pluralSeparator}zero`] || t[`defaultValue${S}`] || t[`defaultValue${I}`] || t.defaultValue;
|
7356
|
+
!this.isValidLookup(C) && x && (L = !0, C = H), this.isValidLookup(C) || (M = !0, C = c);
|
7357
|
+
const F = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && M ? void 0 : C, j = x && H !== C && this.options.updateMissing;
|
7358
|
+
if (M || L || j) {
|
7359
|
+
if (this.logger.log(j ? "updateKey" : "missingKey", g, d, c, j ? H : C), l) {
|
7360
|
+
const V = this.resolve(c, {
|
7338
7361
|
...t,
|
7339
7362
|
keySeparator: !1
|
7340
7363
|
});
|
7341
|
-
|
7342
|
-
}
|
7343
|
-
let
|
7344
|
-
const
|
7345
|
-
if (this.options.saveMissingTo === "fallback" &&
|
7346
|
-
for (let
|
7347
|
-
|
7348
|
-
else this.options.saveMissingTo === "all" ?
|
7349
|
-
const
|
7350
|
-
const
|
7351
|
-
this.options.missingKeyHandler ? this.options.missingKeyHandler(
|
7364
|
+
V && V.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.");
|
7365
|
+
}
|
7366
|
+
let $ = [];
|
7367
|
+
const z = this.languageUtils.getFallbackCodes(this.options.fallbackLng, t.lng || this.language);
|
7368
|
+
if (this.options.saveMissingTo === "fallback" && z && z[0])
|
7369
|
+
for (let V = 0; V < z.length; V++)
|
7370
|
+
$.push(z[V]);
|
7371
|
+
else this.options.saveMissingTo === "all" ? $ = this.languageUtils.toResolveHierarchy(t.lng || this.language) : $.push(t.lng || this.language);
|
7372
|
+
const l1 = (V, P, T) => {
|
7373
|
+
const e1 = x && T !== C ? T : F;
|
7374
|
+
this.options.missingKeyHandler ? this.options.missingKeyHandler(V, d, P, e1, j, t) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(V, d, P, e1, j, t), this.emit("missingKey", V, d, P, C);
|
7352
7375
|
};
|
7353
|
-
this.options.saveMissing && (this.options.saveMissingPlurals && y ?
|
7354
|
-
const
|
7355
|
-
|
7356
|
-
|
7376
|
+
this.options.saveMissing && (this.options.saveMissingPlurals && y ? $.forEach((V) => {
|
7377
|
+
const P = this.pluralResolver.getSuffixes(V, t);
|
7378
|
+
O && t[`defaultValue${this.options.pluralSeparator}zero`] && P.indexOf(`${this.options.pluralSeparator}zero`) < 0 && P.push(`${this.options.pluralSeparator}zero`), P.forEach((T) => {
|
7379
|
+
l1([V], c + T, t[`defaultValue${T}`] || H);
|
7357
7380
|
});
|
7358
|
-
}) :
|
7381
|
+
}) : l1($, c, H));
|
7359
7382
|
}
|
7360
|
-
C = this.extendTranslation(C, e, t, h, o), M && C === c && this.options.appendNamespaceToMissingKey && (C = `${d}:${c}`), (M ||
|
7383
|
+
C = this.extendTranslation(C, e, t, h, o), M && C === c && this.options.appendNamespaceToMissingKey && (C = `${d}:${c}`), (M || L) && this.options.parseMissingKeyHandler && (this.options.compatibilityAPI !== "v1" ? C = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${d}:${c}` : c, L ? C : void 0) : C = this.options.parseMissingKeyHandler(C));
|
7361
7384
|
}
|
7362
7385
|
return s ? (h.res = C, h.usedParams = this.getUsedParamsDetails(t), h) : C;
|
7363
7386
|
}
|
@@ -7393,13 +7416,13 @@ class C1 extends f1 {
|
|
7393
7416
|
a < p && (o.nest = !1);
|
7394
7417
|
}
|
7395
7418
|
!o.lng && this.options.compatibilityAPI !== "v1" && s && s.res && (o.lng = this.language || s.usedLng), o.nest !== !1 && (e = this.interpolator.nest(e, function() {
|
7396
|
-
for (var C = arguments.length, p = new Array(C),
|
7397
|
-
p[
|
7419
|
+
for (var C = arguments.length, p = new Array(C), w = 0; w < C; w++)
|
7420
|
+
p[w] = arguments[w];
|
7398
7421
|
return l && l[0] === p[0] && !o.context ? (c.logger.warn(`It seems you are nesting recursively key: ${p[0]} in key: ${t[0]}`), null) : c.translate(...p, t);
|
7399
7422
|
}, o)), o.interpolation && this.interpolator.reset();
|
7400
7423
|
}
|
7401
7424
|
const r = o.postProcess || this.options.postProcess, d = typeof r == "string" ? [r] : r;
|
7402
|
-
return e != null && d && d.length && o.applyPostProcessor !== !1 && (e =
|
7425
|
+
return e != null && d && d.length && o.applyPostProcessor !== !1 && (e = ee.handle(d, e, t, this.options && this.options.postProcessPassResolved ? {
|
7403
7426
|
i18nResolved: {
|
7404
7427
|
...s,
|
7405
7428
|
usedParams: this.getUsedParamsDetails(o)
|
@@ -7415,26 +7438,26 @@ class C1 extends f1 {
|
|
7415
7438
|
s = a;
|
7416
7439
|
let h = g.namespaces;
|
7417
7440
|
this.options.fallbackNS && (h = h.concat(this.options.fallbackNS));
|
7418
|
-
const C = t.count !== void 0 && typeof t.count != "string", p = C && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(),
|
7441
|
+
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 !== "", v = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
|
7419
7442
|
h.forEach((N) => {
|
7420
|
-
this.isValidLookup(o) || (r = N, !
|
7443
|
+
this.isValidLookup(o) || (r = N, !S1[`${v[0]}-${N}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(r) && (S1[`${v[0]}-${N}`] = !0, this.logger.warn(`key "${s}" for languages "${v.join(", ")}" won't get resolved as namespace "${r}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), v.forEach((b) => {
|
7421
7444
|
if (this.isValidLookup(o)) return;
|
7422
|
-
c =
|
7445
|
+
c = b;
|
7423
7446
|
const R = [a];
|
7424
7447
|
if (this.i18nFormat && this.i18nFormat.addLookupKeys)
|
7425
|
-
this.i18nFormat.addLookupKeys(R, a,
|
7448
|
+
this.i18nFormat.addLookupKeys(R, a, b, N, t);
|
7426
7449
|
else {
|
7427
|
-
let
|
7428
|
-
C && (
|
7450
|
+
let L;
|
7451
|
+
C && (L = this.pluralResolver.getSuffix(b, t.count, t));
|
7429
7452
|
const M = `${this.options.pluralSeparator}zero`, y = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
|
7430
|
-
if (C && (R.push(a +
|
7453
|
+
if (C && (R.push(a + L), t.ordinal && L.indexOf(y) === 0 && R.push(a + L.replace(y, this.options.pluralSeparator)), p && R.push(a + M)), w) {
|
7431
7454
|
const x = `${a}${this.options.contextSeparator}${t.context}`;
|
7432
|
-
R.push(x), C && (R.push(x +
|
7455
|
+
R.push(x), C && (R.push(x + L), t.ordinal && L.indexOf(y) === 0 && R.push(x + L.replace(y, this.options.pluralSeparator)), p && R.push(x + M));
|
7433
7456
|
}
|
7434
7457
|
}
|
7435
|
-
let
|
7436
|
-
for (;
|
7437
|
-
this.isValidLookup(o) || (l =
|
7458
|
+
let _;
|
7459
|
+
for (; _ = R.pop(); )
|
7460
|
+
this.isValidLookup(o) || (l = _, o = this.getResource(b, N, _, t));
|
7438
7461
|
}));
|
7439
7462
|
});
|
7440
7463
|
}), {
|
@@ -7476,18 +7499,18 @@ class C1 extends f1 {
|
|
7476
7499
|
return !1;
|
7477
7500
|
}
|
7478
7501
|
}
|
7479
|
-
const
|
7480
|
-
class
|
7502
|
+
const L1 = (i) => i.charAt(0).toUpperCase() + i.slice(1);
|
7503
|
+
class O1 {
|
7481
7504
|
constructor(e) {
|
7482
|
-
this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger =
|
7505
|
+
this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = K.create("languageUtils");
|
7483
7506
|
}
|
7484
7507
|
getScriptPartFromCode(e) {
|
7485
|
-
if (e =
|
7508
|
+
if (e = C1(e), !e || e.indexOf("-") < 0) return null;
|
7486
7509
|
const t = e.split("-");
|
7487
7510
|
return t.length === 2 || (t.pop(), t[t.length - 1].toLowerCase() === "x") ? null : this.formatLanguageCode(t.join("-"));
|
7488
7511
|
}
|
7489
7512
|
getLanguagePartFromCode(e) {
|
7490
|
-
if (e =
|
7513
|
+
if (e = C1(e), !e || e.indexOf("-") < 0) return e;
|
7491
7514
|
const t = e.split("-");
|
7492
7515
|
return this.formatLanguageCode(t[0]);
|
7493
7516
|
}
|
@@ -7495,7 +7518,7 @@ class I1 {
|
|
7495
7518
|
if (typeof e == "string" && e.indexOf("-") > -1) {
|
7496
7519
|
const t = ["hans", "hant", "latn", "cyrl", "cans", "mong", "arab"];
|
7497
7520
|
let o = e.split("-");
|
7498
|
-
return this.options.lowerCaseLng ? o = o.map((s) => s.toLowerCase()) : o.length === 2 ? (o[0] = o[0].toLowerCase(), o[1] = o[1].toUpperCase(), t.indexOf(o[1].toLowerCase()) > -1 && (o[1] =
|
7521
|
+
return this.options.lowerCaseLng ? o = o.map((s) => s.toLowerCase()) : o.length === 2 ? (o[0] = o[0].toLowerCase(), o[1] = o[1].toUpperCase(), t.indexOf(o[1].toLowerCase()) > -1 && (o[1] = L1(o[1].toLowerCase()))) : o.length === 3 && (o[0] = o[0].toLowerCase(), o[1].length === 2 && (o[1] = o[1].toUpperCase()), o[0] !== "sgn" && o[2].length === 2 && (o[2] = o[2].toUpperCase()), t.indexOf(o[1].toLowerCase()) > -1 && (o[1] = L1(o[1].toLowerCase())), t.indexOf(o[2].toLowerCase()) > -1 && (o[2] = L1(o[2].toLowerCase()))), o.join("-");
|
7499
7522
|
}
|
7500
7523
|
return this.options.cleanCode || this.options.lowerCaseLng ? e.toLowerCase() : e;
|
7501
7524
|
}
|
@@ -7536,7 +7559,7 @@ class I1 {
|
|
7536
7559
|
}), s;
|
7537
7560
|
}
|
7538
7561
|
}
|
7539
|
-
let
|
7562
|
+
let Fi = [{
|
7540
7563
|
lngs: ["ach", "ak", "am", "arn", "br", "fil", "gun", "ln", "mfe", "mg", "mi", "oc", "pt", "pt-BR", "tg", "tl", "ti", "tr", "uz", "wa"],
|
7541
7564
|
nr: [1, 2],
|
7542
7565
|
fc: 1
|
@@ -7628,7 +7651,7 @@ let Gi = [{
|
|
7628
7651
|
lngs: ["he", "iw"],
|
7629
7652
|
nr: [1, 2, 20, 21],
|
7630
7653
|
fc: 22
|
7631
|
-
}],
|
7654
|
+
}], $i = {
|
7632
7655
|
1: (i) => +(i > 1),
|
7633
7656
|
2: (i) => +(i != 1),
|
7634
7657
|
3: (i) => 0,
|
@@ -7652,28 +7675,28 @@ let Gi = [{
|
|
7652
7675
|
21: (i) => i % 100 == 1 ? 1 : i % 100 == 2 ? 2 : i % 100 == 3 || i % 100 == 4 ? 3 : 0,
|
7653
7676
|
22: (i) => i == 1 ? 0 : i == 2 ? 1 : (i < 0 || i > 10) && i % 10 == 0 ? 2 : 3
|
7654
7677
|
};
|
7655
|
-
const
|
7678
|
+
const Yi = ["v1", "v2", "v3"], Ui = ["v4"], A1 = {
|
7656
7679
|
zero: 0,
|
7657
7680
|
one: 1,
|
7658
7681
|
two: 2,
|
7659
7682
|
few: 3,
|
7660
7683
|
many: 4,
|
7661
7684
|
other: 5
|
7662
|
-
},
|
7685
|
+
}, zi = () => {
|
7663
7686
|
const i = {};
|
7664
|
-
return
|
7687
|
+
return Fi.forEach((e) => {
|
7665
7688
|
e.lngs.forEach((t) => {
|
7666
7689
|
i[t] = {
|
7667
7690
|
numbers: e.nr,
|
7668
|
-
plurals:
|
7691
|
+
plurals: $i[e.fc]
|
7669
7692
|
};
|
7670
7693
|
});
|
7671
7694
|
}), i;
|
7672
7695
|
};
|
7673
|
-
class
|
7696
|
+
class Ji {
|
7674
7697
|
constructor(e) {
|
7675
7698
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
7676
|
-
this.languageUtils = e, this.options = t, this.logger =
|
7699
|
+
this.languageUtils = e, this.options = t, this.logger = K.create("pluralResolver"), (!this.options.compatibilityJSON || Ui.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 = zi(), this.pluralRulesCache = {};
|
7677
7700
|
}
|
7678
7701
|
addRule(e, t) {
|
7679
7702
|
this.rules[e] = t;
|
@@ -7685,7 +7708,7 @@ class Yi {
|
|
7685
7708
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
7686
7709
|
if (this.shouldUseIntlApi())
|
7687
7710
|
try {
|
7688
|
-
const o =
|
7711
|
+
const o = C1(e === "dev" ? "en" : e), s = t.ordinal ? "ordinal" : "cardinal", l = JSON.stringify({
|
7689
7712
|
cleanedCode: o,
|
7690
7713
|
type: s
|
7691
7714
|
});
|
@@ -7712,7 +7735,7 @@ class Yi {
|
|
7712
7735
|
getSuffixes(e) {
|
7713
7736
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
7714
7737
|
const o = this.getRule(e, t);
|
7715
|
-
return o ? this.shouldUseIntlApi() ? o.resolvedOptions().pluralCategories.sort((s, l) =>
|
7738
|
+
return o ? this.shouldUseIntlApi() ? o.resolvedOptions().pluralCategories.sort((s, l) => A1[s] - A1[l]).map((s) => `${this.options.prepend}${t.ordinal ? `ordinal${this.options.prepend}` : ""}${s}`) : o.numbers.map((s) => this.getSuffix(e, s, t)) : [];
|
7716
7739
|
}
|
7717
7740
|
getSuffix(e, t) {
|
7718
7741
|
let o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
@@ -7727,17 +7750,17 @@ class Yi {
|
|
7727
7750
|
return this.options.compatibilityJSON === "v1" ? s === 1 ? "" : typeof s == "number" ? `_plural_${s.toString()}` : l() : this.options.compatibilityJSON === "v2" || this.options.simplifyPluralSuffix && e.numbers.length === 2 && e.numbers[0] === 1 ? l() : this.options.prepend && o.toString() ? this.options.prepend + o.toString() : o.toString();
|
7728
7751
|
}
|
7729
7752
|
shouldUseIntlApi() {
|
7730
|
-
return !
|
7753
|
+
return !Yi.includes(this.options.compatibilityJSON);
|
7731
7754
|
}
|
7732
7755
|
}
|
7733
|
-
const
|
7734
|
-
let o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", s = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, l =
|
7735
|
-
return !l && s && typeof t == "string" && (l =
|
7736
|
-
},
|
7737
|
-
class
|
7756
|
+
const B1 = function(i, e, t) {
|
7757
|
+
let o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", s = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, l = ji(i, e, t);
|
7758
|
+
return !l && s && typeof t == "string" && (l = x1(i, t, o), l === void 0 && (l = x1(e, t, o))), l;
|
7759
|
+
}, v1 = (i) => i.replace(/\$/g, "$$$$");
|
7760
|
+
class Qi {
|
7738
7761
|
constructor() {
|
7739
7762
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
7740
|
-
this.logger =
|
7763
|
+
this.logger = K.create("interpolator"), this.options = e, this.format = e.interpolation && e.interpolation.format || ((t) => t), this.init(e);
|
7741
7764
|
}
|
7742
7765
|
init() {
|
7743
7766
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
@@ -7757,13 +7780,13 @@ class Ui {
|
|
7757
7780
|
unescapePrefix: h,
|
7758
7781
|
nestingPrefix: C,
|
7759
7782
|
nestingPrefixEscaped: p,
|
7760
|
-
nestingSuffix:
|
7783
|
+
nestingSuffix: w,
|
7761
7784
|
nestingSuffixEscaped: v,
|
7762
7785
|
nestingOptionsSeparator: N,
|
7763
|
-
maxReplaces:
|
7786
|
+
maxReplaces: b,
|
7764
7787
|
alwaysFormat: R
|
7765
7788
|
} = e.interpolation;
|
7766
|
-
this.escape = t !== void 0 ? t :
|
7789
|
+
this.escape = t !== void 0 ? t : Di, this.escapeValue = o !== void 0 ? o : !0, this.useRawValueToEscape = s !== void 0 ? s : !1, this.prefix = l ? J(l) : c || "{{", this.suffix = r ? J(r) : d || "}}", this.formatSeparator = g || ",", this.unescapePrefix = a ? "" : h || "-", this.unescapeSuffix = this.unescapePrefix ? "" : a || "", this.nestingPrefix = C ? J(C) : p || J("$t("), this.nestingSuffix = w ? J(w) : v || J(")"), this.nestingOptionsSeparator = N || ",", this.maxReplaces = b || 1e3, this.alwaysFormat = R !== void 0 ? R : !1, this.resetRegExp();
|
7767
7790
|
}
|
7768
7791
|
reset() {
|
7769
7792
|
this.options && this.init(this.options);
|
@@ -7776,15 +7799,15 @@ class Ui {
|
|
7776
7799
|
let l, c, r;
|
7777
7800
|
const d = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, g = (p) => {
|
7778
7801
|
if (p.indexOf(this.formatSeparator) < 0) {
|
7779
|
-
const
|
7780
|
-
return this.alwaysFormat ? this.format(
|
7802
|
+
const b = B1(t, d, p, this.options.keySeparator, this.options.ignoreJSONStructure);
|
7803
|
+
return this.alwaysFormat ? this.format(b, void 0, o, {
|
7781
7804
|
...s,
|
7782
7805
|
...t,
|
7783
7806
|
interpolationkey: p
|
7784
|
-
}) :
|
7807
|
+
}) : b;
|
7785
7808
|
}
|
7786
|
-
const
|
7787
|
-
return this.format(
|
7809
|
+
const w = p.split(this.formatSeparator), v = w.shift().trim(), N = w.join(this.formatSeparator).trim();
|
7810
|
+
return this.format(B1(t, d, v, this.options.keySeparator, this.options.ignoreJSONStructure), N, o, {
|
7788
7811
|
...s,
|
7789
7812
|
...t,
|
7790
7813
|
interpolationkey: v
|
@@ -7794,25 +7817,25 @@ class Ui {
|
|
7794
7817
|
const a = s && s.missingInterpolationHandler || this.options.missingInterpolationHandler, h = s && s.interpolation && s.interpolation.skipOnVariables !== void 0 ? s.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables;
|
7795
7818
|
return [{
|
7796
7819
|
regex: this.regexpUnescape,
|
7797
|
-
safeValue: (p) =>
|
7820
|
+
safeValue: (p) => v1(p)
|
7798
7821
|
}, {
|
7799
7822
|
regex: this.regexp,
|
7800
|
-
safeValue: (p) => this.escapeValue ?
|
7823
|
+
safeValue: (p) => this.escapeValue ? v1(this.escape(p)) : v1(p)
|
7801
7824
|
}].forEach((p) => {
|
7802
7825
|
for (r = 0; l = p.regex.exec(e); ) {
|
7803
|
-
const
|
7804
|
-
if (c = g(
|
7826
|
+
const w = l[1].trim();
|
7827
|
+
if (c = g(w), c === void 0)
|
7805
7828
|
if (typeof a == "function") {
|
7806
7829
|
const N = a(e, l, s);
|
7807
7830
|
c = typeof N == "string" ? N : "";
|
7808
|
-
} else if (s && Object.prototype.hasOwnProperty.call(s,
|
7831
|
+
} else if (s && Object.prototype.hasOwnProperty.call(s, w))
|
7809
7832
|
c = "";
|
7810
7833
|
else if (h) {
|
7811
7834
|
c = l[0];
|
7812
7835
|
continue;
|
7813
7836
|
} else
|
7814
|
-
this.logger.warn(`missed to pass in variable ${
|
7815
|
-
else typeof c != "string" && !this.useRawValueToEscape && (c =
|
7837
|
+
this.logger.warn(`missed to pass in variable ${w} for interpolating ${e}`), c = "";
|
7838
|
+
else typeof c != "string" && !this.useRawValueToEscape && (c = E1(c));
|
7816
7839
|
const v = p.safeValue(c);
|
7817
7840
|
if (e = e.replace(l[0], v), h ? (p.regex.lastIndex += c.length, p.regex.lastIndex -= l[0].length) : p.regex.lastIndex = 0, r++, r >= this.maxReplaces)
|
7818
7841
|
break;
|
@@ -7827,8 +7850,8 @@ class Ui {
|
|
7827
7850
|
const h = d.split(new RegExp(`${a}[ ]*{`));
|
7828
7851
|
let C = `{${h[1]}`;
|
7829
7852
|
d = h[0], C = this.interpolate(C, c);
|
7830
|
-
const p = C.match(/'/g),
|
7831
|
-
(p && p.length % 2 === 0 && !
|
7853
|
+
const p = C.match(/'/g), w = C.match(/"/g);
|
7854
|
+
(p && p.length % 2 === 0 && !w || w.length % 2 !== 0) && (C = C.replace(/'/g, '"'));
|
7832
7855
|
try {
|
7833
7856
|
c = JSON.parse(C), g && (c = {
|
7834
7857
|
...g,
|
@@ -7850,7 +7873,7 @@ class Ui {
|
|
7850
7873
|
s[1] = a.shift(), d = a, g = !0;
|
7851
7874
|
}
|
7852
7875
|
if (l = t(r.call(this, s[1].trim(), c), c), l && s[0] === e && typeof l != "string") return l;
|
7853
|
-
typeof l != "string" && (l =
|
7876
|
+
typeof l != "string" && (l = E1(l)), l || (this.logger.warn(`missed to resolve ${s[1]} for nesting ${e}`), l = ""), g && (l = d.reduce((a, h) => this.format(a, h, o.lng, {
|
7854
7877
|
...o,
|
7855
7878
|
interpolationkey: s[1].trim()
|
7856
7879
|
}), l.trim())), e = e.replace(s[0], l), this.regexp.lastIndex = 0;
|
@@ -7858,7 +7881,7 @@ class Ui {
|
|
7858
7881
|
return e;
|
7859
7882
|
}
|
7860
7883
|
}
|
7861
|
-
const
|
7884
|
+
const qi = (i) => {
|
7862
7885
|
let e = i.toLowerCase().trim();
|
7863
7886
|
const t = {};
|
7864
7887
|
if (i.indexOf("(") > -1) {
|
@@ -7876,7 +7899,7 @@ const zi = (i) => {
|
|
7876
7899
|
formatName: e,
|
7877
7900
|
formatOptions: t
|
7878
7901
|
};
|
7879
|
-
},
|
7902
|
+
}, Q = (i) => {
|
7880
7903
|
const e = {};
|
7881
7904
|
return (t, o, s) => {
|
7882
7905
|
let l = s;
|
@@ -7886,39 +7909,39 @@ const zi = (i) => {
|
|
7886
7909
|
});
|
7887
7910
|
const c = o + JSON.stringify(l);
|
7888
7911
|
let r = e[c];
|
7889
|
-
return r || (r = i(
|
7912
|
+
return r || (r = i(C1(o), s), e[c] = r), r(t);
|
7890
7913
|
};
|
7891
7914
|
};
|
7892
|
-
class
|
7915
|
+
class Xi {
|
7893
7916
|
constructor() {
|
7894
7917
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
7895
|
-
this.logger =
|
7896
|
-
number:
|
7918
|
+
this.logger = K.create("formatter"), this.options = e, this.formats = {
|
7919
|
+
number: Q((t, o) => {
|
7897
7920
|
const s = new Intl.NumberFormat(t, {
|
7898
7921
|
...o
|
7899
7922
|
});
|
7900
7923
|
return (l) => s.format(l);
|
7901
7924
|
}),
|
7902
|
-
currency:
|
7925
|
+
currency: Q((t, o) => {
|
7903
7926
|
const s = new Intl.NumberFormat(t, {
|
7904
7927
|
...o,
|
7905
7928
|
style: "currency"
|
7906
7929
|
});
|
7907
7930
|
return (l) => s.format(l);
|
7908
7931
|
}),
|
7909
|
-
datetime:
|
7932
|
+
datetime: Q((t, o) => {
|
7910
7933
|
const s = new Intl.DateTimeFormat(t, {
|
7911
7934
|
...o
|
7912
7935
|
});
|
7913
7936
|
return (l) => s.format(l);
|
7914
7937
|
}),
|
7915
|
-
relativetime:
|
7938
|
+
relativetime: Q((t, o) => {
|
7916
7939
|
const s = new Intl.RelativeTimeFormat(t, {
|
7917
7940
|
...o
|
7918
7941
|
});
|
7919
7942
|
return (l) => s.format(l, o.range || "day");
|
7920
7943
|
}),
|
7921
|
-
list:
|
7944
|
+
list: Q((t, o) => {
|
7922
7945
|
const s = new Intl.ListFormat(t, {
|
7923
7946
|
...o
|
7924
7947
|
});
|
@@ -7936,7 +7959,7 @@ class Ji {
|
|
7936
7959
|
this.formats[e.toLowerCase().trim()] = t;
|
7937
7960
|
}
|
7938
7961
|
addCached(e, t) {
|
7939
|
-
this.formats[e.toLowerCase().trim()] =
|
7962
|
+
this.formats[e.toLowerCase().trim()] = Q(t);
|
7940
7963
|
}
|
7941
7964
|
format(e, t, o) {
|
7942
7965
|
let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
|
@@ -7949,7 +7972,7 @@ class Ji {
|
|
7949
7972
|
const {
|
7950
7973
|
formatName: g,
|
7951
7974
|
formatOptions: a
|
7952
|
-
} =
|
7975
|
+
} = qi(d);
|
7953
7976
|
if (this.formats[g]) {
|
7954
7977
|
let h = r;
|
7955
7978
|
try {
|
@@ -7969,13 +7992,13 @@ class Ji {
|
|
7969
7992
|
}, e);
|
7970
7993
|
}
|
7971
7994
|
}
|
7972
|
-
const
|
7995
|
+
const e5 = (i, e) => {
|
7973
7996
|
i.pending[e] !== void 0 && (delete i.pending[e], i.pendingCount--);
|
7974
7997
|
};
|
7975
|
-
class
|
7998
|
+
class t5 extends w1 {
|
7976
7999
|
constructor(e, t, o) {
|
7977
8000
|
let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
|
7978
|
-
super(), this.backend = e, this.store = t, this.services = o, this.languageUtils = o.languageUtils, this.options = s, this.logger =
|
8001
|
+
super(), this.backend = e, this.store = t, this.services = o, this.languageUtils = o.languageUtils, this.options = s, this.logger = K.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = s.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = s.maxRetries >= 0 ? s.maxRetries : 5, this.retryTimeout = s.retryTimeout >= 1 ? s.retryTimeout : 350, this.state = {}, this.queue = [], this.backend && this.backend.init && this.backend.init(o, s.backend, s);
|
7979
8002
|
}
|
7980
8003
|
queueLoad(e, t, o, s) {
|
7981
8004
|
const l = {}, c = {}, r = {}, d = {};
|
@@ -8005,7 +8028,7 @@ class qi extends f1 {
|
|
8005
8028
|
}), this.state[e] = t ? -1 : 2, t && o && (this.state[e] = 0);
|
8006
8029
|
const r = {};
|
8007
8030
|
this.queue.forEach((d) => {
|
8008
|
-
|
8031
|
+
Wi(d.loaded, [l], c), e5(d, e), t && d.errors.push(t), d.pendingCount === 0 && !d.done && (Object.keys(d.loaded).forEach((g) => {
|
8009
8032
|
r[g] || (r[g] = {});
|
8010
8033
|
const a = d.loaded[g];
|
8011
8034
|
a.length && a.forEach((h) => {
|
@@ -8107,7 +8130,7 @@ class qi extends f1 {
|
|
8107
8130
|
}
|
8108
8131
|
}
|
8109
8132
|
}
|
8110
|
-
const
|
8133
|
+
const W1 = () => ({
|
8111
8134
|
debug: !1,
|
8112
8135
|
initImmediate: !0,
|
8113
8136
|
ns: ["translation"],
|
@@ -8163,18 +8186,18 @@ const A1 = () => ({
|
|
8163
8186
|
maxReplaces: 1e3,
|
8164
8187
|
skipOnVariables: !0
|
8165
8188
|
}
|
8166
|
-
}),
|
8167
|
-
},
|
8189
|
+
}), j1 = (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), h1 = () => {
|
8190
|
+
}, i5 = (i) => {
|
8168
8191
|
Object.getOwnPropertyNames(Object.getPrototypeOf(i)).forEach((t) => {
|
8169
8192
|
typeof i[t] == "function" && (i[t] = i[t].bind(i));
|
8170
8193
|
});
|
8171
8194
|
};
|
8172
|
-
class
|
8195
|
+
class o1 extends w1 {
|
8173
8196
|
constructor() {
|
8174
8197
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0;
|
8175
|
-
if (super(), this.options =
|
8198
|
+
if (super(), this.options = j1(e), this.services = {}, this.logger = K, this.modules = {
|
8176
8199
|
external: []
|
8177
|
-
},
|
8200
|
+
}, i5(this), t && !this.isInitialized && !e.isClone) {
|
8178
8201
|
if (!this.options.initImmediate)
|
8179
8202
|
return this.init(e, t), this;
|
8180
8203
|
setTimeout(() => {
|
@@ -8186,42 +8209,42 @@ class i1 extends f1 {
|
|
8186
8209
|
var e = this;
|
8187
8210
|
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, o = arguments.length > 1 ? arguments[1] : void 0;
|
8188
8211
|
this.isInitializing = !0, typeof t == "function" && (o = 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]));
|
8189
|
-
const s =
|
8212
|
+
const s = W1();
|
8190
8213
|
this.options = {
|
8191
8214
|
...s,
|
8192
8215
|
...this.options,
|
8193
|
-
...
|
8216
|
+
...j1(t)
|
8194
8217
|
}, this.options.compatibilityAPI !== "v1" && (this.options.interpolation = {
|
8195
8218
|
...s.interpolation,
|
8196
8219
|
...this.options.interpolation
|
8197
8220
|
}), t.keySeparator !== void 0 && (this.options.userDefinedKeySeparator = t.keySeparator), t.nsSeparator !== void 0 && (this.options.userDefinedNsSeparator = t.nsSeparator);
|
8198
8221
|
const l = (a) => a ? typeof a == "function" ? new a() : a : null;
|
8199
8222
|
if (!this.options.isClone) {
|
8200
|
-
this.modules.logger ?
|
8223
|
+
this.modules.logger ? K.init(l(this.modules.logger), this.options) : K.init(null, this.options);
|
8201
8224
|
let a;
|
8202
|
-
this.modules.formatter ? a = this.modules.formatter : typeof Intl < "u" && (a =
|
8203
|
-
const h = new
|
8204
|
-
this.store = new
|
8225
|
+
this.modules.formatter ? a = this.modules.formatter : typeof Intl < "u" && (a = Xi);
|
8226
|
+
const h = new O1(this.options);
|
8227
|
+
this.store = new I1(this.options.resources, this.options);
|
8205
8228
|
const C = this.services;
|
8206
|
-
C.logger =
|
8229
|
+
C.logger = K, C.resourceStore = this.store, C.languageUtils = h, C.pluralResolver = new Ji(h, {
|
8207
8230
|
prepend: this.options.pluralSeparator,
|
8208
8231
|
compatibilityJSON: this.options.compatibilityJSON,
|
8209
8232
|
simplifyPluralSuffix: this.options.simplifyPluralSuffix
|
8210
|
-
}), a && (!this.options.interpolation.format || this.options.interpolation.format === s.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
|
8233
|
+
}), a && (!this.options.interpolation.format || this.options.interpolation.format === s.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 Qi(this.options), C.utils = {
|
8211
8234
|
hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
|
8212
|
-
}, C.backendConnector = new
|
8213
|
-
for (var
|
8235
|
+
}, C.backendConnector = new t5(l(this.modules.backend), C.resourceStore, C, this.options), C.backendConnector.on("*", function(p) {
|
8236
|
+
for (var w = arguments.length, v = new Array(w > 1 ? w - 1 : 0), N = 1; N < w; N++)
|
8214
8237
|
v[N - 1] = arguments[N];
|
8215
8238
|
e.emit(p, ...v);
|
8216
|
-
}), 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
|
8217
|
-
for (var
|
8239
|
+
}), 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 p1(this.services, this.options), this.translator.on("*", function(p) {
|
8240
|
+
for (var w = arguments.length, v = new Array(w > 1 ? w - 1 : 0), N = 1; N < w; N++)
|
8218
8241
|
v[N - 1] = arguments[N];
|
8219
8242
|
e.emit(p, ...v);
|
8220
8243
|
}), this.modules.external.forEach((p) => {
|
8221
8244
|
p.init && p.init(this);
|
8222
8245
|
});
|
8223
8246
|
}
|
8224
|
-
if (this.format = this.options.interpolation.format, o || (o =
|
8247
|
+
if (this.format = this.options.interpolation.format, o || (o = h1), this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
|
8225
8248
|
const a = this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);
|
8226
8249
|
a.length > 0 && a[0] !== "dev" && (this.options.lng = a[0]);
|
8227
8250
|
}
|
@@ -8234,7 +8257,7 @@ class i1 extends f1 {
|
|
8234
8257
|
return e.store[a](...arguments), e;
|
8235
8258
|
};
|
8236
8259
|
});
|
8237
|
-
const d =
|
8260
|
+
const d = t1(), g = () => {
|
8238
8261
|
const a = (h, C) => {
|
8239
8262
|
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), o(h, C);
|
8240
8263
|
};
|
@@ -8244,7 +8267,7 @@ class i1 extends f1 {
|
|
8244
8267
|
return this.options.resources || !this.options.initImmediate ? g() : setTimeout(g, 0), d;
|
8245
8268
|
}
|
8246
8269
|
loadResources(e) {
|
8247
|
-
let o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] :
|
8270
|
+
let o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : h1;
|
8248
8271
|
const s = typeof e == "string" ? e : this.language;
|
8249
8272
|
if (typeof e == "function" && (o = e), !this.options.resources || this.options.partialBundledLanguages) {
|
8250
8273
|
if (s && s.toLowerCase() === "cimode" && (!this.options.preload || this.options.preload.length === 0)) return o();
|
@@ -8261,15 +8284,15 @@ class i1 extends f1 {
|
|
8261
8284
|
o(null);
|
8262
8285
|
}
|
8263
8286
|
reloadResources(e, t, o) {
|
8264
|
-
const s =
|
8265
|
-
return typeof e == "function" && (o = e, e = void 0), typeof t == "function" && (o = t, t = void 0), e || (e = this.languages), t || (t = this.options.ns), o || (o =
|
8287
|
+
const s = t1();
|
8288
|
+
return typeof e == "function" && (o = e, e = void 0), typeof t == "function" && (o = t, t = void 0), e || (e = this.languages), t || (t = this.options.ns), o || (o = h1), this.services.backendConnector.reload(e, t, (l) => {
|
8266
8289
|
s.resolve(), o(l);
|
8267
8290
|
}), s;
|
8268
8291
|
}
|
8269
8292
|
use(e) {
|
8270
8293
|
if (!e) throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");
|
8271
8294
|
if (!e.type) throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");
|
8272
|
-
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" &&
|
8295
|
+
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" && ee.addPostProcessor(e), e.type === "formatter" && (this.modules.formatter = e), e.type === "3rdParty" && this.modules.external.push(e), this;
|
8273
8296
|
}
|
8274
8297
|
setResolvedLanguage(e) {
|
8275
8298
|
if (!(!e || !this.languages) && !(["cimode", "dev"].indexOf(e) > -1))
|
@@ -8284,7 +8307,7 @@ class i1 extends f1 {
|
|
8284
8307
|
changeLanguage(e, t) {
|
8285
8308
|
var o = this;
|
8286
8309
|
this.isLanguageChangingTo = e;
|
8287
|
-
const s =
|
8310
|
+
const s = t1();
|
8288
8311
|
this.emit("languageChanging", e);
|
8289
8312
|
const l = (d) => {
|
8290
8313
|
this.language = d, this.languages = this.services.languageUtils.toResolveHierarchy(d), this.resolvedLanguage = void 0, this.setResolvedLanguage(d);
|
@@ -8318,7 +8341,7 @@ class i1 extends f1 {
|
|
8318
8341
|
d.lng = d.lng || l.lng, d.lngs = d.lngs || l.lngs, d.ns = d.ns || l.ns, d.keyPrefix !== "" && (d.keyPrefix = d.keyPrefix || o || l.keyPrefix);
|
8319
8342
|
const C = s.options.keySeparator || ".";
|
8320
8343
|
let p;
|
8321
|
-
return d.keyPrefix && Array.isArray(c) ? p = c.map((
|
8344
|
+
return d.keyPrefix && Array.isArray(c) ? p = c.map((w) => `${d.keyPrefix}${C}${w}`) : p = d.keyPrefix ? `${d.keyPrefix}${C}${c}` : c, s.t(p, d);
|
8322
8345
|
};
|
8323
8346
|
return typeof e == "string" ? l.lng = e : l.lngs = e, l.ns = t, l.keyPrefix = o, l;
|
8324
8347
|
}
|
@@ -8350,7 +8373,7 @@ class i1 extends f1 {
|
|
8350
8373
|
return !!(this.hasResourceBundle(o, e) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages || c(o, e) && (!s || c(l, e)));
|
8351
8374
|
}
|
8352
8375
|
loadNamespaces(e, t) {
|
8353
|
-
const o =
|
8376
|
+
const o = t1();
|
8354
8377
|
return this.options.ns ? (typeof e == "string" && (e = [e]), e.forEach((s) => {
|
8355
8378
|
this.options.ns.indexOf(s) < 0 && this.options.ns.push(s);
|
8356
8379
|
}), this.loadResources((s) => {
|
@@ -8358,7 +8381,7 @@ class i1 extends f1 {
|
|
8358
8381
|
}), o) : (t && t(), Promise.resolve());
|
8359
8382
|
}
|
8360
8383
|
loadLanguages(e, t) {
|
8361
|
-
const o =
|
8384
|
+
const o = t1();
|
8362
8385
|
typeof e == "string" && (e = [e]);
|
8363
8386
|
const s = this.options.preload || [], l = e.filter((c) => s.indexOf(c) < 0 && this.services.languageUtils.isSupportedCode(c));
|
8364
8387
|
return l.length ? (this.options.preload = s.concat(l), this.loadResources((c) => {
|
@@ -8367,29 +8390,29 @@ class i1 extends f1 {
|
|
8367
8390
|
}
|
8368
8391
|
dir(e) {
|
8369
8392
|
if (e || (e = this.resolvedLanguage || (this.languages && this.languages.length > 0 ? this.languages[0] : this.language)), !e) return "rtl";
|
8370
|
-
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"], o = this.services && this.services.languageUtils || new
|
8393
|
+
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"], o = this.services && this.services.languageUtils || new O1(W1());
|
8371
8394
|
return t.indexOf(o.getLanguagePartFromCode(e)) > -1 || e.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
|
8372
8395
|
}
|
8373
8396
|
static createInstance() {
|
8374
8397
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0;
|
8375
|
-
return new
|
8398
|
+
return new o1(e, t);
|
8376
8399
|
}
|
8377
8400
|
cloneInstance() {
|
8378
|
-
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] :
|
8401
|
+
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : h1;
|
8379
8402
|
const o = e.forkResourceStore;
|
8380
8403
|
o && delete e.forkResourceStore;
|
8381
8404
|
const s = {
|
8382
8405
|
...this.options,
|
8383
8406
|
...e,
|
8384
8407
|
isClone: !0
|
8385
|
-
}, l = new
|
8408
|
+
}, l = new o1(s);
|
8386
8409
|
return (e.debug !== void 0 || e.prefix !== void 0) && (l.logger = l.logger.clone(e)), ["store", "services", "language"].forEach((r) => {
|
8387
8410
|
l[r] = this[r];
|
8388
8411
|
}), l.services = {
|
8389
8412
|
...this.services
|
8390
8413
|
}, l.services.utils = {
|
8391
8414
|
hasLoadedNamespace: l.hasLoadedNamespace.bind(l)
|
8392
|
-
}, o && (l.store = new
|
8415
|
+
}, o && (l.store = new I1(this.store.data, s), l.services.resourceStore = l.store), l.translator = new p1(l.services, s), l.translator.on("*", function(r) {
|
8393
8416
|
for (var d = arguments.length, g = new Array(d > 1 ? d - 1 : 0), a = 1; a < d; a++)
|
8394
8417
|
g[a - 1] = arguments[a];
|
8395
8418
|
l.emit(r, ...g);
|
@@ -8407,36 +8430,36 @@ class i1 extends f1 {
|
|
8407
8430
|
};
|
8408
8431
|
}
|
8409
8432
|
}
|
8410
|
-
const
|
8411
|
-
|
8412
|
-
|
8413
|
-
|
8414
|
-
|
8415
|
-
|
8416
|
-
|
8417
|
-
|
8418
|
-
|
8419
|
-
|
8420
|
-
|
8421
|
-
|
8422
|
-
|
8423
|
-
|
8424
|
-
|
8425
|
-
|
8426
|
-
function
|
8433
|
+
const W = o1.createInstance();
|
8434
|
+
W.createInstance = o1.createInstance;
|
8435
|
+
W.createInstance;
|
8436
|
+
W.dir;
|
8437
|
+
W.init;
|
8438
|
+
W.loadResources;
|
8439
|
+
W.reloadResources;
|
8440
|
+
W.use;
|
8441
|
+
W.changeLanguage;
|
8442
|
+
W.getFixedT;
|
8443
|
+
W.t;
|
8444
|
+
W.exists;
|
8445
|
+
W.setDefaultNamespace;
|
8446
|
+
W.hasLoadedNamespace;
|
8447
|
+
W.loadNamespaces;
|
8448
|
+
W.loadLanguages;
|
8449
|
+
function o5() {
|
8427
8450
|
if (console && console.warn) {
|
8428
8451
|
for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
|
8429
8452
|
e[t] = arguments[t];
|
8430
|
-
|
8453
|
+
Y(e[0]) && (e[0] = `react-i18next:: ${e[0]}`), console.warn(...e);
|
8431
8454
|
}
|
8432
8455
|
}
|
8433
|
-
const
|
8434
|
-
function
|
8456
|
+
const Z1 = {};
|
8457
|
+
function R1() {
|
8435
8458
|
for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
|
8436
8459
|
e[t] = arguments[t];
|
8437
|
-
|
8460
|
+
Y(e[0]) && Z1[e[0]] || (Y(e[0]) && (Z1[e[0]] = /* @__PURE__ */ new Date()), o5(...e));
|
8438
8461
|
}
|
8439
|
-
const
|
8462
|
+
const te = (i, e) => () => {
|
8440
8463
|
if (i.isInitialized)
|
8441
8464
|
e();
|
8442
8465
|
else {
|
@@ -8447,13 +8470,13 @@ const X1 = (i, e) => () => {
|
|
8447
8470
|
};
|
8448
8471
|
i.on("initialized", t);
|
8449
8472
|
}
|
8450
|
-
},
|
8451
|
-
i.loadNamespaces(e,
|
8452
|
-
},
|
8453
|
-
|
8473
|
+
}, D1 = (i, e, t) => {
|
8474
|
+
i.loadNamespaces(e, te(i, t));
|
8475
|
+
}, T1 = (i, e, t, o) => {
|
8476
|
+
Y(t) && (t = [t]), t.forEach((s) => {
|
8454
8477
|
i.options.ns.indexOf(s) < 0 && i.options.ns.push(s);
|
8455
|
-
}), i.loadLanguages(e,
|
8456
|
-
},
|
8478
|
+
}), i.loadLanguages(e, te(i, o));
|
8479
|
+
}, s5 = function(i, e) {
|
8457
8480
|
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
8458
8481
|
const o = e.languages[0], s = e.options ? e.options.fallbackLng : !1, l = e.languages[e.languages.length - 1];
|
8459
8482
|
if (o.toLowerCase() === "cimode") return !0;
|
@@ -8462,15 +8485,15 @@ const X1 = (i, e) => () => {
|
|
8462
8485
|
return g === -1 || g === 2;
|
8463
8486
|
};
|
8464
8487
|
return t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && e.services.backendConnector.backend && e.isLanguageChangingTo && !c(e.isLanguageChangingTo, i) ? !1 : !!(e.hasResourceBundle(o, i) || !e.services.backendConnector.backend || e.options.resources && !e.options.partialBundledLanguages || c(o, i) && (!s || c(l, i)));
|
8465
|
-
},
|
8488
|
+
}, n5 = function(i, e) {
|
8466
8489
|
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
8467
|
-
return !e.languages || !e.languages.length ? (
|
8490
|
+
return !e.languages || !e.languages.length ? (R1("i18n.languages were undefined or empty", e.languages), !0) : e.options.ignoreJSONStructure !== void 0 ? e.hasLoadedNamespace(i, {
|
8468
8491
|
lng: t.lng,
|
8469
8492
|
precheck: (s, l) => {
|
8470
8493
|
if (t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && s.services.backendConnector.backend && s.isLanguageChangingTo && !l(s.isLanguageChangingTo, i)) return !1;
|
8471
8494
|
}
|
8472
|
-
}) :
|
8473
|
-
},
|
8495
|
+
}) : s5(i, e, t);
|
8496
|
+
}, Y = (i) => typeof i == "string", r5 = (i) => typeof i == "object" && i !== null, l5 = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, a5 = {
|
8474
8497
|
"&": "&",
|
8475
8498
|
"&": "&",
|
8476
8499
|
"<": "<",
|
@@ -8491,8 +8514,8 @@ const X1 = (i, e) => () => {
|
|
8491
8514
|
"…": "…",
|
8492
8515
|
"/": "/",
|
8493
8516
|
"/": "/"
|
8494
|
-
},
|
8495
|
-
let
|
8517
|
+
}, h5 = (i) => a5[i], c5 = (i) => i.replace(l5, h5);
|
8518
|
+
let M1 = {
|
8496
8519
|
bindI18n: "languageChanged",
|
8497
8520
|
bindI18nStore: "",
|
8498
8521
|
transEmptyNodeValue: "",
|
@@ -8500,27 +8523,27 @@ let R1 = {
|
|
8500
8523
|
transWrapTextNodes: "",
|
8501
8524
|
transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"],
|
8502
8525
|
useSuspense: !0,
|
8503
|
-
unescape:
|
8526
|
+
unescape: c5
|
8504
8527
|
};
|
8505
|
-
const
|
8528
|
+
const d5 = function() {
|
8506
8529
|
let i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
8507
|
-
|
8508
|
-
...
|
8530
|
+
M1 = {
|
8531
|
+
...M1,
|
8509
8532
|
...i
|
8510
8533
|
};
|
8511
|
-
},
|
8512
|
-
let
|
8513
|
-
const
|
8514
|
-
|
8515
|
-
},
|
8534
|
+
}, g5 = () => M1;
|
8535
|
+
let ie;
|
8536
|
+
const u5 = (i) => {
|
8537
|
+
ie = i;
|
8538
|
+
}, C5 = () => ie, p5 = {
|
8516
8539
|
type: "3rdParty",
|
8517
8540
|
init(i) {
|
8518
|
-
|
8541
|
+
d5(i.options.react), u5(i);
|
8519
8542
|
}
|
8520
|
-
},
|
8521
|
-
class
|
8543
|
+
}, f5 = s1();
|
8544
|
+
class w5 {
|
8522
8545
|
constructor() {
|
8523
|
-
|
8546
|
+
y1(this, "getUsedNamespaces", () => Object.keys(this.usedNamespaces));
|
8524
8547
|
this.usedNamespaces = {};
|
8525
8548
|
}
|
8526
8549
|
addUsedNamespaces(e) {
|
@@ -8529,27 +8552,27 @@ class C5 {
|
|
8529
8552
|
});
|
8530
8553
|
}
|
8531
8554
|
}
|
8532
|
-
const
|
8533
|
-
const t =
|
8534
|
-
return
|
8555
|
+
const m5 = (i, e) => {
|
8556
|
+
const t = n1();
|
8557
|
+
return Z(() => {
|
8535
8558
|
t.current = i;
|
8536
8559
|
}, [i, e]), t.current;
|
8537
|
-
},
|
8560
|
+
}, oe = (i, e, t, o) => i.getFixedT(e, t, o), k5 = (i, e, t, o) => G(oe(i, e, t, o), [i, e, t, o]), L5 = function(i) {
|
8538
8561
|
let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
8539
8562
|
const {
|
8540
8563
|
i18n: t
|
8541
8564
|
} = e, {
|
8542
8565
|
i18n: o,
|
8543
8566
|
defaultNS: s
|
8544
|
-
} =
|
8545
|
-
if (l && !l.reportNamespaces && (l.reportNamespaces = new
|
8546
|
-
|
8547
|
-
const
|
8548
|
-
return M.t =
|
8567
|
+
} = r1(f5) || {}, l = t || o || C5();
|
8568
|
+
if (l && !l.reportNamespaces && (l.reportNamespaces = new w5()), !l) {
|
8569
|
+
R1("You will need to pass in an i18next instance by using initReactI18next");
|
8570
|
+
const L = (y, x) => Y(x) ? x : r5(x) && Y(x.defaultValue) ? x.defaultValue : Array.isArray(y) ? y[y.length - 1] : y, M = [L, {}, !1];
|
8571
|
+
return M.t = L, M.i18n = {}, M.ready = !1, M;
|
8549
8572
|
}
|
8550
|
-
l.options.react && l.options.react.wait !== void 0 &&
|
8573
|
+
l.options.react && l.options.react.wait !== void 0 && R1("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
|
8551
8574
|
const c = {
|
8552
|
-
...
|
8575
|
+
...g5(),
|
8553
8576
|
...l.options.react,
|
8554
8577
|
...e
|
8555
8578
|
}, {
|
@@ -8557,67 +8580,67 @@ const p5 = (i, e) => {
|
|
8557
8580
|
keyPrefix: d
|
8558
8581
|
} = c;
|
8559
8582
|
let g = i;
|
8560
|
-
g =
|
8561
|
-
const a = (l.isInitialized || l.initializedStoreOnce) && g.every((
|
8583
|
+
g = Y(g) ? [g] : g || ["translation"], l.reportNamespaces.addUsedNamespaces && l.reportNamespaces.addUsedNamespaces(g);
|
8584
|
+
const a = (l.isInitialized || l.initializedStoreOnce) && g.every((L) => n5(L, l, c)), h = k5(l, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), C = () => h, p = () => oe(l, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), [w, v] = B(C);
|
8562
8585
|
let N = g.join();
|
8563
8586
|
e.lng && (N = `${e.lng}${N}`);
|
8564
|
-
const
|
8565
|
-
|
8587
|
+
const b = m5(N), R = n1(!0);
|
8588
|
+
Z(() => {
|
8566
8589
|
const {
|
8567
|
-
bindI18n:
|
8590
|
+
bindI18n: L,
|
8568
8591
|
bindI18nStore: M
|
8569
8592
|
} = c;
|
8570
|
-
R.current = !0, !a && !r && (e.lng ?
|
8593
|
+
R.current = !0, !a && !r && (e.lng ? T1(l, e.lng, g, () => {
|
8571
8594
|
R.current && v(p);
|
8572
|
-
}) :
|
8595
|
+
}) : D1(l, g, () => {
|
8573
8596
|
R.current && v(p);
|
8574
|
-
})), a &&
|
8597
|
+
})), a && b && b !== N && R.current && v(p);
|
8575
8598
|
const y = () => {
|
8576
8599
|
R.current && v(p);
|
8577
8600
|
};
|
8578
|
-
return
|
8579
|
-
R.current = !1,
|
8601
|
+
return L && l && l.on(L, y), M && l && l.store.on(M, y), () => {
|
8602
|
+
R.current = !1, L && l && L.split(" ").forEach((x) => l.off(x, y)), M && l && M.split(" ").forEach((x) => l.store.off(x, y));
|
8580
8603
|
};
|
8581
|
-
}, [l, N]),
|
8604
|
+
}, [l, N]), Z(() => {
|
8582
8605
|
R.current && a && v(C);
|
8583
8606
|
}, [l, d, a]);
|
8584
|
-
const
|
8585
|
-
if (
|
8586
|
-
throw new Promise((
|
8587
|
-
e.lng ?
|
8607
|
+
const _ = [w, l, a];
|
8608
|
+
if (_.t = w, _.i18n = l, _.ready = a, a || !a && !r) return _;
|
8609
|
+
throw new Promise((L) => {
|
8610
|
+
e.lng ? T1(l, e.lng, g, () => L()) : D1(l, g, () => L());
|
8588
8611
|
});
|
8589
8612
|
};
|
8590
|
-
var
|
8591
|
-
for (var
|
8592
|
-
|
8593
|
-
function
|
8594
|
-
return (
|
8613
|
+
var A = [];
|
8614
|
+
for (var N1 = 0; N1 < 256; ++N1)
|
8615
|
+
A.push((N1 + 256).toString(16).slice(1));
|
8616
|
+
function v5(i, e = 0) {
|
8617
|
+
return (A[i[e + 0]] + A[i[e + 1]] + A[i[e + 2]] + A[i[e + 3]] + "-" + A[i[e + 4]] + A[i[e + 5]] + "-" + A[i[e + 6]] + A[i[e + 7]] + "-" + A[i[e + 8]] + A[i[e + 9]] + "-" + A[i[e + 10]] + A[i[e + 11]] + A[i[e + 12]] + A[i[e + 13]] + A[i[e + 14]] + A[i[e + 15]]).toLowerCase();
|
8595
8618
|
}
|
8596
|
-
var
|
8597
|
-
function
|
8598
|
-
if (!
|
8619
|
+
var c1, N5 = new Uint8Array(16);
|
8620
|
+
function x5() {
|
8621
|
+
if (!c1 && (c1 = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !c1))
|
8599
8622
|
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
8600
|
-
return
|
8623
|
+
return c1(N5);
|
8601
8624
|
}
|
8602
|
-
var
|
8603
|
-
const
|
8604
|
-
randomUUID:
|
8625
|
+
var R5 = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto);
|
8626
|
+
const G1 = {
|
8627
|
+
randomUUID: R5
|
8605
8628
|
};
|
8606
|
-
function
|
8607
|
-
if (
|
8608
|
-
return
|
8629
|
+
function K1(i, e, t) {
|
8630
|
+
if (G1.randomUUID && !e && !i)
|
8631
|
+
return G1.randomUUID();
|
8609
8632
|
i = i || {};
|
8610
|
-
var o = i.random || (i.rng ||
|
8611
|
-
return o[6] = o[6] & 15 | 64, o[8] = o[8] & 63 | 128,
|
8633
|
+
var o = i.random || (i.rng || x5)();
|
8634
|
+
return o[6] = o[6] & 15 | 64, o[8] = o[8] & 63 | 128, v5(o);
|
8612
8635
|
}
|
8613
|
-
const
|
8614
|
-
placeholder:
|
8615
|
-
},
|
8616
|
-
placeholder:
|
8636
|
+
const M5 = "City", y5 = {
|
8637
|
+
placeholder: M5
|
8638
|
+
}, b5 = "Город", E5 = {
|
8639
|
+
placeholder: b5
|
8617
8640
|
};
|
8618
|
-
function
|
8619
|
-
const t =
|
8620
|
-
return
|
8641
|
+
function _5(i, e = 500) {
|
8642
|
+
const t = n1();
|
8643
|
+
return Z(() => () => {
|
8621
8644
|
t.current && clearTimeout(t.current);
|
8622
8645
|
}, []), (...s) => {
|
8623
8646
|
const l = setTimeout(() => {
|
@@ -8626,81 +8649,81 @@ function y5(i, e = 500) {
|
|
8626
8649
|
clearTimeout(t.current), t.current = l;
|
8627
8650
|
};
|
8628
8651
|
}
|
8629
|
-
|
8652
|
+
W.use(p5).init({
|
8630
8653
|
defaultNS: "common",
|
8631
8654
|
lng: "en",
|
8632
8655
|
resources: {
|
8633
8656
|
en: {
|
8634
|
-
common:
|
8657
|
+
common: y5
|
8635
8658
|
},
|
8636
8659
|
ru: {
|
8637
|
-
common:
|
8660
|
+
common: E5
|
8638
8661
|
}
|
8639
8662
|
}
|
8640
8663
|
});
|
8641
|
-
const
|
8664
|
+
const P1 = {
|
8642
8665
|
limit: 100,
|
8643
8666
|
offset: 0
|
8644
|
-
},
|
8667
|
+
}, W5 = f1(
|
8645
8668
|
({ width: i, selectedCountry: e, onChange: t, value: o, id: s, disabled: l }, c) => {
|
8646
|
-
const [r, d] =
|
8669
|
+
const [r, d] = B([]), [g, a] = B(P1), [h, C] = B(null), [p, w] = B([]), [, v] = B(!1), N = n1(e), { locale: b, axiosPeople: R } = r1(ce);
|
8647
8670
|
if (!R)
|
8648
8671
|
throw new Error(
|
8649
8672
|
`CitySelect requires "axiosPeople" to fetch cities.
|
8650
8673
|
Please provide it via SNMTUiContext.`
|
8651
8674
|
);
|
8652
|
-
const { t:
|
8653
|
-
async (
|
8675
|
+
const { t: _ } = L5("common", { lng: b }), L = G(
|
8676
|
+
async (S) => {
|
8654
8677
|
v(!0);
|
8655
8678
|
try {
|
8656
|
-
const
|
8679
|
+
const I = {
|
8657
8680
|
offset: g.offset,
|
8658
8681
|
limit: g.limit
|
8659
8682
|
};
|
8660
|
-
e && e.length > 0 && (
|
8661
|
-
const
|
8662
|
-
key:
|
8663
|
-
label:
|
8664
|
-
value:
|
8683
|
+
e && e.length > 0 && (I.countryId = e), S && (I.search = S);
|
8684
|
+
const O = await R.post("v1/cities/search", I), H = (O == null ? void 0 : O.data.data) || [], U = O == null ? void 0 : O.data.metadata.count, F = H.map((j) => ({
|
8685
|
+
key: K1(),
|
8686
|
+
label: j.name,
|
8687
|
+
value: j.geoNameId
|
8665
8688
|
}));
|
8666
8689
|
d(
|
8667
|
-
(
|
8668
|
-
),
|
8690
|
+
(j) => g.offset === 0 ? F : [...j, ...F]
|
8691
|
+
), w(H), C(U);
|
8669
8692
|
} finally {
|
8670
8693
|
v(!1);
|
8671
8694
|
}
|
8672
8695
|
},
|
8673
8696
|
[R, g, e]
|
8674
8697
|
);
|
8675
|
-
|
8676
|
-
a(
|
8677
|
-
}, [e]),
|
8678
|
-
|
8679
|
-
}, [
|
8698
|
+
Z(() => {
|
8699
|
+
a(P1);
|
8700
|
+
}, [e]), Z(() => {
|
8701
|
+
L();
|
8702
|
+
}, [L, e]), Z(() => {
|
8680
8703
|
t("");
|
8681
|
-
const
|
8682
|
-
key:
|
8683
|
-
label:
|
8684
|
-
value:
|
8704
|
+
const S = p.map((I) => ({
|
8705
|
+
key: K1(),
|
8706
|
+
label: I.name,
|
8707
|
+
value: I.geoNameId
|
8685
8708
|
}));
|
8686
8709
|
d(
|
8687
|
-
(
|
8710
|
+
(I) => g.offset === 0 ? S : [...I, ...S]
|
8688
8711
|
), N.current = e, o && t(o);
|
8689
8712
|
}, [e, t, o, p, g.offset]);
|
8690
|
-
const M =
|
8691
|
-
(
|
8692
|
-
a((
|
8713
|
+
const M = _5(L), y = G(
|
8714
|
+
(S) => {
|
8715
|
+
a((I) => ({ ...I, offset: 0, search: S })), M(S);
|
8693
8716
|
},
|
8694
8717
|
[M]
|
8695
|
-
), x = async (
|
8696
|
-
const { target:
|
8697
|
-
|
8698
|
-
...
|
8699
|
-
offset:
|
8718
|
+
), x = async (S) => {
|
8719
|
+
const { target: I } = S;
|
8720
|
+
I.scrollTop + I.offsetHeight >= I.scrollHeight - 50 && h !== null && h > 0 && a((O) => ({
|
8721
|
+
...O,
|
8722
|
+
offset: O.offset + O.limit
|
8700
8723
|
}));
|
8701
8724
|
};
|
8702
8725
|
return /* @__PURE__ */ n("div", { className: "snmt-city-select", children: /* @__PURE__ */ n(
|
8703
|
-
|
8726
|
+
Si,
|
8704
8727
|
{
|
8705
8728
|
id: s,
|
8706
8729
|
width: i,
|
@@ -8710,7 +8733,7 @@ const G1 = {
|
|
8710
8733
|
search: !0,
|
8711
8734
|
value: o,
|
8712
8735
|
onSearchChange: y,
|
8713
|
-
placeholder:
|
8736
|
+
placeholder: _("placeholder"),
|
8714
8737
|
onPopupScroll: x,
|
8715
8738
|
disabled: l
|
8716
8739
|
}
|
@@ -8718,5 +8741,5 @@ const G1 = {
|
|
8718
8741
|
}
|
8719
8742
|
);
|
8720
8743
|
export {
|
8721
|
-
|
8744
|
+
W5 as CitySelect
|
8722
8745
|
};
|