@snmt-react-ui/city-select 2.6.9 → 2.6.11
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 +517 -681
- package/package.json +3 -3
package/dist/city-select.js
CHANGED
@@ -1,12 +1,12 @@
|
|
1
|
-
var
|
2
|
-
var
|
3
|
-
var
|
1
|
+
var me = Object.defineProperty;
|
2
|
+
var we = (i, e, t) => e in i ? me(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t;
|
3
|
+
var j1 = (i, e, t) => we(i, typeof e != "symbol" ? e + "" : e, t);
|
4
4
|
import "./index.css";
|
5
5
|
import { jsx as r, Fragment as i1, jsxs as C } from "react/jsx-runtime";
|
6
6
|
import { SNMTUiContext as ke } from "@snmt-react-ui/core";
|
7
|
-
import { createContext as d1, forwardRef as k1, useState as A, useRef as Y, useEffect as
|
7
|
+
import { createContext as d1, forwardRef as k1, useState as A, useRef as Y, useEffect as B, useCallback as D, useMemo as Le, useImperativeHandle as ne, useContext as r1 } from "react";
|
8
8
|
import { Select as ve, Flex as Ne, Avatar as xe, Checkbox as Re, Typography as re, Tag as Me, Popover as ye } from "antd";
|
9
|
-
var be = Object.defineProperty, Ee = (i, e, t) => e in i ? be(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t,
|
9
|
+
var be = Object.defineProperty, Ee = (i, e, t) => e in i ? be(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, _e = (i, e, t) => Ee(i, e + "", t), He = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
10
10
|
function Ie() {
|
11
11
|
if (console && console.warn) {
|
12
12
|
for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
|
@@ -14,11 +14,11 @@ function Ie() {
|
|
14
14
|
s1(e[0]) && (e[0] = `react-i18next:: ${e[0]}`), console.warn(...e);
|
15
15
|
}
|
16
16
|
}
|
17
|
-
const
|
17
|
+
const B1 = {};
|
18
18
|
function O1() {
|
19
19
|
for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
|
20
20
|
e[t] = arguments[t];
|
21
|
-
s1(e[0]) &&
|
21
|
+
s1(e[0]) && B1[e[0]] || (s1(e[0]) && (B1[e[0]] = /* @__PURE__ */ new Date()), Ie(...e));
|
22
22
|
}
|
23
23
|
const oe = (i, e) => () => {
|
24
24
|
if (i.isInitialized)
|
@@ -75,7 +75,7 @@ const oe = (i, e) => () => {
|
|
75
75
|
"…": "…",
|
76
76
|
"/": "/",
|
77
77
|
"/": "/"
|
78
|
-
},
|
78
|
+
}, je = (i) => Te[i], Be = (i) => i.replace(Ae, je);
|
79
79
|
let Ze = {
|
80
80
|
bindI18n: "languageChanged",
|
81
81
|
bindI18nStore: "",
|
@@ -84,14 +84,14 @@ let Ze = {
|
|
84
84
|
transWrapTextNodes: "",
|
85
85
|
transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"],
|
86
86
|
useSuspense: !0,
|
87
|
-
unescape:
|
87
|
+
unescape: Be
|
88
88
|
};
|
89
89
|
const De = () => Ze;
|
90
90
|
let We;
|
91
91
|
const Ge = () => We, Ke = d1();
|
92
92
|
class Pe {
|
93
93
|
constructor() {
|
94
|
-
|
94
|
+
_e(this, "getUsedNamespaces", () => Object.keys(this.usedNamespaces)), this.usedNamespaces = {};
|
95
95
|
}
|
96
96
|
addUsedNamespaces(e) {
|
97
97
|
e.forEach((t) => {
|
@@ -101,7 +101,7 @@ class Pe {
|
|
101
101
|
}
|
102
102
|
const $e = (i, e) => {
|
103
103
|
const t = Y();
|
104
|
-
return
|
104
|
+
return B(() => {
|
105
105
|
t.current = i;
|
106
106
|
}, [i, e]), t.current;
|
107
107
|
}, ae = (i, e, t, s) => i.getFixedT(e, t, s), Fe = (i, e, t, s) => D(ae(i, e, t, s), [i, e, t, s]), Ye = function(i) {
|
@@ -114,8 +114,8 @@ const $e = (i, e) => {
|
|
114
114
|
} = r1(Ke) || {}, o = t || s || Ge();
|
115
115
|
if (o && !o.reportNamespaces && (o.reportNamespaces = new Pe()), !o) {
|
116
116
|
O1("You will need to pass in an i18next instance by using initReactI18next");
|
117
|
-
const f = (N,
|
118
|
-
return
|
117
|
+
const f = (N, w) => s1(w) ? w : Ve(w) && s1(w.defaultValue) ? w.defaultValue : Array.isArray(N) ? N[N.length - 1] : N, m = [f, {}, !1];
|
118
|
+
return m.t = f, m.i18n = {}, m.ready = !1, m;
|
119
119
|
}
|
120
120
|
o.options.react && o.options.react.wait !== void 0 && O1("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
|
121
121
|
const c = {
|
@@ -131,28 +131,28 @@ const $e = (i, e) => {
|
|
131
131
|
const l = (o.isInitialized || o.initializedStoreOnce) && g.every((f) => Se(f, o, c)), h = Fe(o, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), u = () => h, p = () => ae(o, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), [v, x] = A(u);
|
132
132
|
let L = g.join();
|
133
133
|
e.lng && (L = `${e.lng}${L}`);
|
134
|
-
const
|
135
|
-
|
134
|
+
const _ = $e(L), M = Y(!0);
|
135
|
+
B(() => {
|
136
136
|
const {
|
137
137
|
bindI18n: f,
|
138
|
-
bindI18nStore:
|
138
|
+
bindI18nStore: m
|
139
139
|
} = c;
|
140
140
|
M.current = !0, !l && !a && (e.lng ? D1(o, e.lng, g, () => {
|
141
141
|
M.current && x(p);
|
142
142
|
}) : Z1(o, g, () => {
|
143
143
|
M.current && x(p);
|
144
|
-
})), l &&
|
144
|
+
})), l && _ && _ !== L && M.current && x(p);
|
145
145
|
const N = () => {
|
146
146
|
M.current && x(p);
|
147
147
|
};
|
148
|
-
return f && o && o.on(f, N),
|
149
|
-
M.current = !1, f && o && f.split(" ").forEach((
|
148
|
+
return f && o && o.on(f, N), m && o && o.store.on(m, N), () => {
|
149
|
+
M.current = !1, f && o && f.split(" ").forEach((w) => o.off(w, N)), m && o && m.split(" ").forEach((w) => o.store.off(w, N));
|
150
150
|
};
|
151
|
-
}, [o, L]),
|
151
|
+
}, [o, L]), B(() => {
|
152
152
|
M.current && l && x(u);
|
153
153
|
}, [o, d, l]);
|
154
|
-
const
|
155
|
-
if (
|
154
|
+
const H = [v, o, l];
|
155
|
+
if (H.t = v, H.i18n = o, H.ready = l, l || !l && !a) return H;
|
156
156
|
throw new Promise((f) => {
|
157
157
|
e.lng ? D1(o, e.lng, g, () => f()) : Z1(o, g, () => f());
|
158
158
|
});
|
@@ -207,7 +207,7 @@ const ze = ({
|
|
207
207
|
disableUncheck: o = !1
|
208
208
|
}) => {
|
209
209
|
const [c, a] = A(i), [d, g] = A(e);
|
210
|
-
|
210
|
+
B(() => {
|
211
211
|
a(i), g(e);
|
212
212
|
}, [i, e]);
|
213
213
|
const { theme: l } = r1(T1);
|
@@ -616,78 +616,6 @@ const Je = ({
|
|
616
616
|
]
|
617
617
|
}
|
618
618
|
), at = ({
|
619
|
-
width: i = 11,
|
620
|
-
height: e = 32,
|
621
|
-
color: t = "#001E52",
|
622
|
-
className: s,
|
623
|
-
onClick: n
|
624
|
-
}) => /* @__PURE__ */ C(
|
625
|
-
"svg",
|
626
|
-
{
|
627
|
-
xmlns: "http://www.w3.org/2000/svg",
|
628
|
-
width: i,
|
629
|
-
height: e,
|
630
|
-
className: s,
|
631
|
-
onClick: n,
|
632
|
-
viewBox: "0 0 11 32",
|
633
|
-
fill: "none",
|
634
|
-
children: [
|
635
|
-
/* @__PURE__ */ r(
|
636
|
-
"path",
|
637
|
-
{
|
638
|
-
fillRule: "evenodd",
|
639
|
-
clipRule: "evenodd",
|
640
|
-
d: "M6.22724 31.222C6.53024 31.525 7.02149 31.525 7.32448 31.222L10.7728 27.7737C11.0757 27.4707 11.0757 26.9795 10.7728 26.6765L7.32448 23.2282C7.02149 22.9252 6.53024 22.9252 6.22724 23.2282C5.92425 23.5312 5.92425 24.0224 6.22724 24.3254L9.1269 27.2251L6.22724 30.1247C5.92425 30.4277 5.92425 30.919 6.22724 31.222Z",
|
641
|
-
fill: t
|
642
|
-
}
|
643
|
-
),
|
644
|
-
/* @__PURE__ */ r(
|
645
|
-
"path",
|
646
|
-
{
|
647
|
-
d: "M10 27.2597H4C3.44772 27.2597 3 26.812 3 26.2597V6",
|
648
|
-
stroke: t,
|
649
|
-
strokeWidth: "1.25",
|
650
|
-
strokeLinecap: "round"
|
651
|
-
}
|
652
|
-
),
|
653
|
-
/* @__PURE__ */ r("circle", { cx: "3", cy: "3", r: "3", fill: t })
|
654
|
-
]
|
655
|
-
}
|
656
|
-
), lt = ({
|
657
|
-
width: i = 10,
|
658
|
-
height: e = 23,
|
659
|
-
color: t = "#001E52",
|
660
|
-
className: s,
|
661
|
-
onClick: n
|
662
|
-
}) => /* @__PURE__ */ C(
|
663
|
-
"svg",
|
664
|
-
{
|
665
|
-
xmlns: "http://www.w3.org/2000/svg",
|
666
|
-
width: i,
|
667
|
-
height: e,
|
668
|
-
className: s,
|
669
|
-
onClick: n,
|
670
|
-
viewBox: "0 0 10 23",
|
671
|
-
fill: "none",
|
672
|
-
children: [
|
673
|
-
/* @__PURE__ */ r(
|
674
|
-
"path",
|
675
|
-
{
|
676
|
-
fillRule: "evenodd",
|
677
|
-
clipRule: "evenodd",
|
678
|
-
d: `M1.00621 18.2272C0.70322 18.5302 0.70322 19.0215 1.00621
|
679
|
-
19.3245L4.45449 22.7728C4.75748 23.0757 5.24873 23.0757 5.55172
|
680
|
-
22.7728L9 19.3245C9.30299 19.0215 9.30299 18.5302 9 18.2272C8.69701 17.9243
|
681
|
-
8.20576 17.9243 7.90277 18.2272L5.00311 21.1269L2.10345 18.2272C1.80045 17.9243
|
682
|
-
1.30921 17.9243 1.00621 18.2272Z`,
|
683
|
-
fill: t
|
684
|
-
}
|
685
|
-
),
|
686
|
-
/* @__PURE__ */ r("path", { d: "M5 21L5 3", stroke: t, strokeWidth: "1.25", strokeLinecap: "round" }),
|
687
|
-
/* @__PURE__ */ r("circle", { cx: "5", cy: "3", r: "3", fill: t })
|
688
|
-
]
|
689
|
-
}
|
690
|
-
), ht = ({
|
691
619
|
width: i = 20,
|
692
620
|
height: e = 20,
|
693
621
|
color: t = "#001E52",
|
@@ -734,7 +662,7 @@ const Je = ({
|
|
734
662
|
)
|
735
663
|
]
|
736
664
|
}
|
737
|
-
),
|
665
|
+
), lt = ({
|
738
666
|
width: i = 20,
|
739
667
|
height: e = 20,
|
740
668
|
color: t = "#001E52",
|
@@ -767,7 +695,7 @@ const Je = ({
|
|
767
695
|
)
|
768
696
|
]
|
769
697
|
}
|
770
|
-
),
|
698
|
+
), ht = ({
|
771
699
|
width: i = 20,
|
772
700
|
height: e = 20,
|
773
701
|
color: t = "#001E52",
|
@@ -814,7 +742,7 @@ const Je = ({
|
|
814
742
|
)
|
815
743
|
]
|
816
744
|
}
|
817
|
-
),
|
745
|
+
), ct = ({
|
818
746
|
width: i = 20,
|
819
747
|
height: e = 20,
|
820
748
|
color: t = "#001E52",
|
@@ -847,7 +775,7 @@ const Je = ({
|
|
847
775
|
)
|
848
776
|
]
|
849
777
|
}
|
850
|
-
),
|
778
|
+
), dt = ({
|
851
779
|
width: i = 18,
|
852
780
|
height: e = 16,
|
853
781
|
color: t = "#001E52",
|
@@ -886,7 +814,7 @@ const Je = ({
|
|
886
814
|
)
|
887
815
|
]
|
888
816
|
}
|
889
|
-
),
|
817
|
+
), gt = ({
|
890
818
|
width: i = 20,
|
891
819
|
height: e = 20,
|
892
820
|
color: t = "#001E52",
|
@@ -919,7 +847,7 @@ const Je = ({
|
|
919
847
|
)
|
920
848
|
]
|
921
849
|
}
|
922
|
-
),
|
850
|
+
), ut = ({
|
923
851
|
width: i = 20,
|
924
852
|
height: e = 20,
|
925
853
|
color: t = "#001E52",
|
@@ -943,7 +871,7 @@ const Je = ({
|
|
943
871
|
}
|
944
872
|
)
|
945
873
|
}
|
946
|
-
),
|
874
|
+
), Ct = ({
|
947
875
|
width: i = 20,
|
948
876
|
height: e = 20,
|
949
877
|
color: t = "#001E52",
|
@@ -976,7 +904,7 @@ const Je = ({
|
|
976
904
|
)
|
977
905
|
]
|
978
906
|
}
|
979
|
-
),
|
907
|
+
), pt = ({
|
980
908
|
width: i = 20,
|
981
909
|
height: e = 23,
|
982
910
|
color: t = "#001E52",
|
@@ -1037,7 +965,7 @@ const Je = ({
|
|
1037
965
|
)
|
1038
966
|
]
|
1039
967
|
}
|
1040
|
-
),
|
968
|
+
), ft = ({
|
1041
969
|
width: i = 14,
|
1042
970
|
height: e = 14,
|
1043
971
|
color: t = "#10B981",
|
@@ -1066,7 +994,7 @@ const Je = ({
|
|
1066
994
|
)
|
1067
995
|
]
|
1068
996
|
}
|
1069
|
-
),
|
997
|
+
), mt = ({
|
1070
998
|
width: i = 10,
|
1071
999
|
height: e = 10,
|
1072
1000
|
color: t = "#88A4FF",
|
@@ -1114,7 +1042,7 @@ const Je = ({
|
|
1114
1042
|
)
|
1115
1043
|
]
|
1116
1044
|
}
|
1117
|
-
),
|
1045
|
+
), wt = ({
|
1118
1046
|
width: i = 14,
|
1119
1047
|
height: e = 14,
|
1120
1048
|
color: t = "#8E8E93",
|
@@ -1142,7 +1070,7 @@ const Je = ({
|
|
1142
1070
|
)
|
1143
1071
|
]
|
1144
1072
|
}
|
1145
|
-
),
|
1073
|
+
), kt = ({
|
1146
1074
|
width: i = 14,
|
1147
1075
|
height: e = 14,
|
1148
1076
|
color: t = "#FFB020",
|
@@ -1176,7 +1104,7 @@ const Je = ({
|
|
1176
1104
|
)
|
1177
1105
|
]
|
1178
1106
|
}
|
1179
|
-
),
|
1107
|
+
), Lt = ({
|
1180
1108
|
width: i = 14,
|
1181
1109
|
height: e = 14,
|
1182
1110
|
color: t = "#D0421B",
|
@@ -1224,7 +1152,7 @@ const Je = ({
|
|
1224
1152
|
)
|
1225
1153
|
]
|
1226
1154
|
}
|
1227
|
-
),
|
1155
|
+
), vt = ({
|
1228
1156
|
width: i = 20,
|
1229
1157
|
height: e = 20,
|
1230
1158
|
color: t = "#070739",
|
@@ -1254,7 +1182,7 @@ const Je = ({
|
|
1254
1182
|
/* @__PURE__ */ r("circle", { cx: "10", cy: "10", r: "2.375", stroke: t, strokeWidth: "1.25" })
|
1255
1183
|
]
|
1256
1184
|
}
|
1257
|
-
),
|
1185
|
+
), Nt = ({
|
1258
1186
|
width: i = 20,
|
1259
1187
|
height: e = 20,
|
1260
1188
|
color: t = "#070739",
|
@@ -1292,7 +1220,7 @@ const Je = ({
|
|
1292
1220
|
)
|
1293
1221
|
]
|
1294
1222
|
}
|
1295
|
-
),
|
1223
|
+
), xt = ({
|
1296
1224
|
width: i = 9,
|
1297
1225
|
height: e = 5,
|
1298
1226
|
color: t = "#001E52",
|
@@ -1318,7 +1246,7 @@ const Je = ({
|
|
1318
1246
|
}
|
1319
1247
|
)
|
1320
1248
|
}
|
1321
|
-
),
|
1249
|
+
), Rt = ({
|
1322
1250
|
width: i = 20,
|
1323
1251
|
height: e = 20,
|
1324
1252
|
color: t = "#F2F2F7",
|
@@ -1347,7 +1275,7 @@ const Je = ({
|
|
1347
1275
|
)
|
1348
1276
|
]
|
1349
1277
|
}
|
1350
|
-
),
|
1278
|
+
), Mt = ({
|
1351
1279
|
width: i = 20,
|
1352
1280
|
height: e = 20,
|
1353
1281
|
color: t = "#004ED7",
|
@@ -1376,7 +1304,7 @@ const Je = ({
|
|
1376
1304
|
)
|
1377
1305
|
]
|
1378
1306
|
}
|
1379
|
-
),
|
1307
|
+
), yt = ({
|
1380
1308
|
width: i = 10,
|
1381
1309
|
height: e = 10,
|
1382
1310
|
color: t = "#001E52",
|
@@ -1405,7 +1333,7 @@ const Je = ({
|
|
1405
1333
|
)
|
1406
1334
|
]
|
1407
1335
|
}
|
1408
|
-
),
|
1336
|
+
), bt = ({
|
1409
1337
|
width: i = 10,
|
1410
1338
|
height: e = 10,
|
1411
1339
|
color: t = "#001E52",
|
@@ -1442,7 +1370,7 @@ const Je = ({
|
|
1442
1370
|
)
|
1443
1371
|
]
|
1444
1372
|
}
|
1445
|
-
),
|
1373
|
+
), Et = ({
|
1446
1374
|
className: i,
|
1447
1375
|
color: e = b.GREY_DARK_5,
|
1448
1376
|
height: t = 24,
|
@@ -1481,7 +1409,7 @@ const Je = ({
|
|
1481
1409
|
)
|
1482
1410
|
]
|
1483
1411
|
}
|
1484
|
-
),
|
1412
|
+
), _t = ({
|
1485
1413
|
className: i,
|
1486
1414
|
color: e = b.GREY_DARK_5,
|
1487
1415
|
height: t = 20,
|
@@ -1508,7 +1436,7 @@ const Je = ({
|
|
1508
1436
|
}
|
1509
1437
|
)
|
1510
1438
|
}
|
1511
|
-
),
|
1439
|
+
), Ht = ({
|
1512
1440
|
className: i,
|
1513
1441
|
color: e = b.GREY_DARK_5,
|
1514
1442
|
height: t = 20,
|
@@ -1535,7 +1463,7 @@ const Je = ({
|
|
1535
1463
|
}
|
1536
1464
|
)
|
1537
1465
|
}
|
1538
|
-
),
|
1466
|
+
), It = ({
|
1539
1467
|
className: i,
|
1540
1468
|
color: e = b.GREY_DARK_5,
|
1541
1469
|
height: t = 5,
|
@@ -1559,7 +1487,7 @@ const Je = ({
|
|
1559
1487
|
}
|
1560
1488
|
)
|
1561
1489
|
}
|
1562
|
-
),
|
1490
|
+
), Ot = ({
|
1563
1491
|
className: i,
|
1564
1492
|
color: e = b.GREY_DARK_5,
|
1565
1493
|
height: t = 5,
|
@@ -1584,7 +1512,7 @@ const Je = ({
|
|
1584
1512
|
}
|
1585
1513
|
)
|
1586
1514
|
}
|
1587
|
-
),
|
1515
|
+
), St = ({
|
1588
1516
|
className: i,
|
1589
1517
|
color: e = b.GREY_DARK_5,
|
1590
1518
|
height: t = 24,
|
@@ -1623,7 +1551,7 @@ const Je = ({
|
|
1623
1551
|
)
|
1624
1552
|
]
|
1625
1553
|
}
|
1626
|
-
),
|
1554
|
+
), Vt = ({
|
1627
1555
|
className: i,
|
1628
1556
|
color: e = b.GREY_DARK_5,
|
1629
1557
|
height: t = 24,
|
@@ -1662,7 +1590,7 @@ const Je = ({
|
|
1662
1590
|
)
|
1663
1591
|
]
|
1664
1592
|
}
|
1665
|
-
),
|
1593
|
+
), At = ({
|
1666
1594
|
className: i,
|
1667
1595
|
color: e = b.GREY_DARK_5,
|
1668
1596
|
height: t = 24,
|
@@ -1689,7 +1617,7 @@ const Je = ({
|
|
1689
1617
|
}
|
1690
1618
|
)
|
1691
1619
|
}
|
1692
|
-
),
|
1620
|
+
), Tt = ({
|
1693
1621
|
className: i,
|
1694
1622
|
color: e = b.GREY_DARK_5,
|
1695
1623
|
height: t = 24,
|
@@ -1748,7 +1676,7 @@ const Je = ({
|
|
1748
1676
|
)
|
1749
1677
|
]
|
1750
1678
|
}
|
1751
|
-
),
|
1679
|
+
), jt = ({
|
1752
1680
|
className: i,
|
1753
1681
|
color: e = b.GREY_DARK_5,
|
1754
1682
|
height: t = 24,
|
@@ -1785,7 +1713,7 @@ const Je = ({
|
|
1785
1713
|
)
|
1786
1714
|
]
|
1787
1715
|
}
|
1788
|
-
),
|
1716
|
+
), Bt = ({
|
1789
1717
|
className: i,
|
1790
1718
|
color: e = b.GREY_DARK_3,
|
1791
1719
|
height: t = 14,
|
@@ -1822,7 +1750,7 @@ const Je = ({
|
|
1822
1750
|
)
|
1823
1751
|
]
|
1824
1752
|
}
|
1825
|
-
),
|
1753
|
+
), Zt = ({
|
1826
1754
|
className: i,
|
1827
1755
|
color: e = b.GREY_DARK_5,
|
1828
1756
|
height: t = 18,
|
@@ -1849,7 +1777,7 @@ const Je = ({
|
|
1849
1777
|
}
|
1850
1778
|
)
|
1851
1779
|
}
|
1852
|
-
),
|
1780
|
+
), Dt = ({
|
1853
1781
|
className: i,
|
1854
1782
|
color: e = b.GREY_DARK_5,
|
1855
1783
|
height: t = 24,
|
@@ -1901,7 +1829,7 @@ const Je = ({
|
|
1901
1829
|
)
|
1902
1830
|
]
|
1903
1831
|
}
|
1904
|
-
),
|
1832
|
+
), Wt = ({
|
1905
1833
|
className: i,
|
1906
1834
|
color: e = b.GREY_DARK_5,
|
1907
1835
|
height: t = 24,
|
@@ -1938,7 +1866,7 @@ const Je = ({
|
|
1938
1866
|
)
|
1939
1867
|
]
|
1940
1868
|
}
|
1941
|
-
),
|
1869
|
+
), Gt = ({
|
1942
1870
|
className: i,
|
1943
1871
|
color: e = b.NOTIFICATION_WARNING_DARK,
|
1944
1872
|
height: t = 37,
|
@@ -1977,7 +1905,7 @@ const Je = ({
|
|
1977
1905
|
)
|
1978
1906
|
]
|
1979
1907
|
}
|
1980
|
-
),
|
1908
|
+
), Kt = ({
|
1981
1909
|
className: i,
|
1982
1910
|
color: e = b.GREY_DARK_5,
|
1983
1911
|
height: t = 24,
|
@@ -2003,7 +1931,7 @@ const Je = ({
|
|
2003
1931
|
}
|
2004
1932
|
)
|
2005
1933
|
}
|
2006
|
-
),
|
1934
|
+
), Pt = ({
|
2007
1935
|
className: i,
|
2008
1936
|
color: e = b.GREY_DARK_5,
|
2009
1937
|
height: t = 24,
|
@@ -2042,7 +1970,7 @@ const Je = ({
|
|
2042
1970
|
)
|
2043
1971
|
]
|
2044
1972
|
}
|
2045
|
-
),
|
1973
|
+
), $t = ({
|
2046
1974
|
className: i,
|
2047
1975
|
color: e = b.GREY_DARK_5,
|
2048
1976
|
height: t = 24,
|
@@ -2081,7 +2009,7 @@ const Je = ({
|
|
2081
2009
|
)
|
2082
2010
|
]
|
2083
2011
|
}
|
2084
|
-
),
|
2012
|
+
), Ft = ({
|
2085
2013
|
className: i,
|
2086
2014
|
color: e = b.GREY_DARK_5,
|
2087
2015
|
height: t = 24,
|
@@ -2150,7 +2078,7 @@ const Je = ({
|
|
2150
2078
|
)
|
2151
2079
|
]
|
2152
2080
|
}
|
2153
|
-
),
|
2081
|
+
), Yt = ({
|
2154
2082
|
className: i,
|
2155
2083
|
color: e = b.GREY_DARK_5,
|
2156
2084
|
height: t = 24,
|
@@ -2207,7 +2135,7 @@ const Je = ({
|
|
2207
2135
|
)
|
2208
2136
|
]
|
2209
2137
|
}
|
2210
|
-
),
|
2138
|
+
), Ut = ({
|
2211
2139
|
className: i,
|
2212
2140
|
color: e = b.GREY_DARK_5,
|
2213
2141
|
height: t = 24,
|
@@ -2246,7 +2174,7 @@ const Je = ({
|
|
2246
2174
|
)
|
2247
2175
|
]
|
2248
2176
|
}
|
2249
|
-
),
|
2177
|
+
), zt = ({
|
2250
2178
|
className: i,
|
2251
2179
|
color: e = b.GREY_DARK_5,
|
2252
2180
|
height: t = 24,
|
@@ -2295,7 +2223,7 @@ const Je = ({
|
|
2295
2223
|
)
|
2296
2224
|
]
|
2297
2225
|
}
|
2298
|
-
),
|
2226
|
+
), Jt = ({
|
2299
2227
|
className: i,
|
2300
2228
|
color: e = b.GREY_DARK_5,
|
2301
2229
|
height: t = 24,
|
@@ -2322,7 +2250,7 @@ const Je = ({
|
|
2322
2250
|
}
|
2323
2251
|
)
|
2324
2252
|
}
|
2325
|
-
),
|
2253
|
+
), qt = ({
|
2326
2254
|
className: i,
|
2327
2255
|
color: e = b.GREY_DARK_5,
|
2328
2256
|
height: t = 20,
|
@@ -2351,7 +2279,7 @@ const Je = ({
|
|
2351
2279
|
)
|
2352
2280
|
]
|
2353
2281
|
}
|
2354
|
-
),
|
2282
|
+
), Qt = ({
|
2355
2283
|
className: i,
|
2356
2284
|
color: e = "#001E52",
|
2357
2285
|
height: t = 24,
|
@@ -2377,7 +2305,7 @@ const Je = ({
|
|
2377
2305
|
}
|
2378
2306
|
)
|
2379
2307
|
}
|
2380
|
-
),
|
2308
|
+
), Xt = ({
|
2381
2309
|
className: i,
|
2382
2310
|
color: e = "#131314",
|
2383
2311
|
height: t = 20,
|
@@ -2405,7 +2333,7 @@ const Je = ({
|
|
2405
2333
|
}
|
2406
2334
|
)
|
2407
2335
|
}
|
2408
|
-
),
|
2336
|
+
), e2 = ({
|
2409
2337
|
className: i,
|
2410
2338
|
color: e = "#001E52",
|
2411
2339
|
height: t = 24,
|
@@ -2443,7 +2371,7 @@ const Je = ({
|
|
2443
2371
|
)
|
2444
2372
|
] }) })
|
2445
2373
|
}
|
2446
|
-
),
|
2374
|
+
), t2 = ({
|
2447
2375
|
width: i = 20,
|
2448
2376
|
height: e = 20,
|
2449
2377
|
color: t = "#001E52",
|
@@ -2499,7 +2427,7 @@ const Je = ({
|
|
2499
2427
|
}
|
2500
2428
|
)
|
2501
2429
|
}
|
2502
|
-
),
|
2430
|
+
), i2 = ({
|
2503
2431
|
width: i = 24,
|
2504
2432
|
height: e = 24,
|
2505
2433
|
color: t = "#131314",
|
@@ -2532,7 +2460,7 @@ const Je = ({
|
|
2532
2460
|
)
|
2533
2461
|
]
|
2534
2462
|
}
|
2535
|
-
),
|
2463
|
+
), s2 = ({
|
2536
2464
|
width: i = 24,
|
2537
2465
|
height: e = 24,
|
2538
2466
|
color: t = b.GREY_DARK_2,
|
@@ -2571,7 +2499,7 @@ const Je = ({
|
|
2571
2499
|
)
|
2572
2500
|
]
|
2573
2501
|
}
|
2574
|
-
),
|
2502
|
+
), n2 = ({
|
2575
2503
|
width: i = 24,
|
2576
2504
|
height: e = 24,
|
2577
2505
|
color: t = b.GREY_DARK_2,
|
@@ -2598,7 +2526,7 @@ const Je = ({
|
|
2598
2526
|
}
|
2599
2527
|
)
|
2600
2528
|
}
|
2601
|
-
),
|
2529
|
+
), r2 = ({
|
2602
2530
|
width: i = 24,
|
2603
2531
|
height: e = 24,
|
2604
2532
|
color: t = b.GREY_DARK_2,
|
@@ -2638,7 +2566,7 @@ const Je = ({
|
|
2638
2566
|
)
|
2639
2567
|
]
|
2640
2568
|
}
|
2641
|
-
),
|
2569
|
+
), o2 = ({
|
2642
2570
|
width: i = 24,
|
2643
2571
|
height: e = 24,
|
2644
2572
|
color: t = b.GREY_DARK_2,
|
@@ -2665,7 +2593,7 @@ const Je = ({
|
|
2665
2593
|
}
|
2666
2594
|
)
|
2667
2595
|
}
|
2668
|
-
),
|
2596
|
+
), a2 = ({
|
2669
2597
|
width: i = 24,
|
2670
2598
|
height: e = 24,
|
2671
2599
|
color: t = b.GREY_DARK_2,
|
@@ -2692,7 +2620,7 @@ const Je = ({
|
|
2692
2620
|
}
|
2693
2621
|
)
|
2694
2622
|
}
|
2695
|
-
),
|
2623
|
+
), l2 = ({
|
2696
2624
|
width: i = 20,
|
2697
2625
|
height: e = 20,
|
2698
2626
|
color: t = "#001E52",
|
@@ -2728,7 +2656,7 @@ const Je = ({
|
|
2728
2656
|
onClick: c
|
2729
2657
|
}) => {
|
2730
2658
|
const [a, d] = A(n), { theme: g } = r1(le), l = o ? g && g === "dark" ? b.GREY_LIGHT_4 : b.GREY_DARK_1 : s, h = o ? void 0 : c;
|
2731
|
-
return
|
2659
|
+
return B(() => {
|
2732
2660
|
if (n) {
|
2733
2661
|
h && !o && d(`${n} clickable`);
|
2734
2662
|
return;
|
@@ -2737,9 +2665,9 @@ const Je = ({
|
|
2737
2665
|
}, [h, n, o]), /* @__PURE__ */ r(i1, { children: (() => {
|
2738
2666
|
switch (i) {
|
2739
2667
|
case "nextIcon":
|
2740
|
-
return
|
2668
|
+
return _t({ width: e, height: t, color: l, className: a, onClick: h });
|
2741
2669
|
case "prevIcon":
|
2742
|
-
return
|
2670
|
+
return Ht({ width: e, height: t, color: l, className: a, onClick: h });
|
2743
2671
|
case "arrowDown":
|
2744
2672
|
return Je({ width: e, height: t, color: l, className: a, onClick: h });
|
2745
2673
|
case "info":
|
@@ -2762,20 +2690,10 @@ const Je = ({
|
|
2762
2690
|
return rt({ width: e, height: t, color: l, className: a, onClick: h });
|
2763
2691
|
case "attention":
|
2764
2692
|
return ot({ width: e, height: t, color: l, className: a, onClick: h });
|
2765
|
-
case "arrowDownLong":
|
2766
|
-
return at({
|
2767
|
-
width: e,
|
2768
|
-
height: t,
|
2769
|
-
color: l,
|
2770
|
-
className: a,
|
2771
|
-
onClick: h
|
2772
|
-
});
|
2773
|
-
case "dotArrowDown":
|
2774
|
-
return lt({ width: e, height: t, color: l, className: a, onClick: h });
|
2775
2693
|
case "users":
|
2776
|
-
return
|
2694
|
+
return at({ width: e, height: t, color: l, className: a, onClick: h });
|
2777
2695
|
case "mySkillsMatrix":
|
2778
|
-
return
|
2696
|
+
return lt({
|
2779
2697
|
width: e,
|
2780
2698
|
height: t,
|
2781
2699
|
color: l,
|
@@ -2783,9 +2701,9 @@ const Je = ({
|
|
2783
2701
|
onClick: h
|
2784
2702
|
});
|
2785
2703
|
case "skills":
|
2786
|
-
return
|
2704
|
+
return ht({ width: e, height: t, color: l, className: a, onClick: h });
|
2787
2705
|
case "skillsMatrices":
|
2788
|
-
return
|
2706
|
+
return ct({
|
2789
2707
|
width: e,
|
2790
2708
|
height: t,
|
2791
2709
|
color: l,
|
@@ -2793,23 +2711,23 @@ const Je = ({
|
|
2793
2711
|
onClick: h
|
2794
2712
|
});
|
2795
2713
|
case "history":
|
2796
|
-
return
|
2714
|
+
return dt({ width: e, height: t, color: l, className: a, onClick: h });
|
2797
2715
|
case "logOut":
|
2798
|
-
return
|
2716
|
+
return gt({ width: e, height: t, color: l, className: a, onClick: h });
|
2799
2717
|
case "settings":
|
2800
|
-
return
|
2718
|
+
return ut({ width: e, height: t, color: l, className: a, onClick: h });
|
2801
2719
|
case "trash":
|
2802
|
-
return
|
2720
|
+
return Ct({ width: e, height: t, color: l, className: a, onClick: h });
|
2803
2721
|
case "settings4":
|
2804
|
-
return
|
2722
|
+
return pt({ width: e, height: t, color: l, className: a, onClick: h });
|
2805
2723
|
case "success":
|
2806
|
-
return
|
2724
|
+
return ft({ width: e, height: t, color: l, className: a, onClick: h });
|
2807
2725
|
case "errorSmall":
|
2808
|
-
return
|
2726
|
+
return mt({ width: e, height: t, color: l, className: a, onClick: h });
|
2809
2727
|
case "infoMedium":
|
2810
|
-
return
|
2728
|
+
return wt({ width: e, height: t, color: l, className: a, onClick: h });
|
2811
2729
|
case "attentionMedium":
|
2812
|
-
return
|
2730
|
+
return kt({
|
2813
2731
|
width: e,
|
2814
2732
|
height: t,
|
2815
2733
|
color: l,
|
@@ -2817,9 +2735,9 @@ const Je = ({
|
|
2817
2735
|
onClick: h
|
2818
2736
|
});
|
2819
2737
|
case "errorMedium":
|
2820
|
-
return
|
2738
|
+
return Lt({ width: e, height: t, color: l, className: a, onClick: h });
|
2821
2739
|
case "visibilityIcon":
|
2822
|
-
return
|
2740
|
+
return vt({
|
2823
2741
|
width: e,
|
2824
2742
|
height: t,
|
2825
2743
|
color: l,
|
@@ -2827,7 +2745,7 @@ const Je = ({
|
|
2827
2745
|
onClick: h
|
2828
2746
|
});
|
2829
2747
|
case "visibilityOffIcon":
|
2830
|
-
return
|
2748
|
+
return Nt({
|
2831
2749
|
width: e,
|
2832
2750
|
height: t,
|
2833
2751
|
color: l,
|
@@ -2835,7 +2753,7 @@ const Je = ({
|
|
2835
2753
|
onClick: h
|
2836
2754
|
});
|
2837
2755
|
case "selectArrowIcon":
|
2838
|
-
return
|
2756
|
+
return xt({
|
2839
2757
|
width: e,
|
2840
2758
|
height: t,
|
2841
2759
|
color: l,
|
@@ -2843,7 +2761,7 @@ const Je = ({
|
|
2843
2761
|
onClick: h
|
2844
2762
|
});
|
2845
2763
|
case "expandArrowIcon":
|
2846
|
-
return
|
2764
|
+
return Rt({
|
2847
2765
|
width: e,
|
2848
2766
|
height: t,
|
2849
2767
|
color: l,
|
@@ -2851,7 +2769,7 @@ const Je = ({
|
|
2851
2769
|
onClick: h
|
2852
2770
|
});
|
2853
2771
|
case "expandActiveArrowIcon":
|
2854
|
-
return
|
2772
|
+
return Mt({
|
2855
2773
|
width: e,
|
2856
2774
|
height: t,
|
2857
2775
|
color: l,
|
@@ -2859,85 +2777,85 @@ const Je = ({
|
|
2859
2777
|
onClick: h
|
2860
2778
|
});
|
2861
2779
|
case "sortUp":
|
2862
|
-
return
|
2780
|
+
return yt({ width: e, height: t, color: l, className: a, onClick: h });
|
2863
2781
|
case "sortDown":
|
2864
|
-
return
|
2782
|
+
return bt({ width: e, height: t, color: l, className: a, onClick: h });
|
2865
2783
|
case "search":
|
2866
|
-
return
|
2784
|
+
return Et({ width: e, height: t, color: l, className: a, onClick: h });
|
2867
2785
|
case "arrowUpFilled":
|
2868
|
-
return
|
2786
|
+
return Ot({ width: e, height: t, color: l, className: a, onClick: h });
|
2869
2787
|
case "arrowDownFilled":
|
2870
|
-
return
|
2788
|
+
return It({ width: e, height: t, color: l, className: a, onClick: h });
|
2871
2789
|
case "link":
|
2872
|
-
return
|
2790
|
+
return St({ width: e, height: t, color: l, className: a, onClick: h });
|
2873
2791
|
case "telegram":
|
2874
|
-
return
|
2792
|
+
return At({ width: e, height: t, color: l, className: a, onClick: h });
|
2875
2793
|
case "mail":
|
2876
|
-
return
|
2794
|
+
return jt({ width: e, height: t, color: l, className: a, onClick: h });
|
2877
2795
|
case "github":
|
2878
|
-
return
|
2796
|
+
return Vt({ width: e, height: t, color: l, className: a, onClick: h });
|
2879
2797
|
case "linkedIn":
|
2880
|
-
return
|
2798
|
+
return Tt({ width: e, height: t, color: l, className: a, onClick: h });
|
2881
2799
|
case "emptyStateIcon":
|
2882
|
-
return
|
2800
|
+
return Bt({ width: e, height: t, color: l, className: a, onClick: h });
|
2883
2801
|
case "filtersIcon":
|
2884
|
-
return
|
2802
|
+
return Zt({ width: e, height: t, color: l, className: a, onClick: h });
|
2885
2803
|
case "dotMenuIcon":
|
2886
|
-
return
|
2804
|
+
return Dt({ width: e, height: t, color: l, className: a, onClick: h });
|
2887
2805
|
case "plusCircle":
|
2888
|
-
return
|
2806
|
+
return Wt({ width: e, height: t, color: l, className: a, onClick: h });
|
2889
2807
|
case "warning":
|
2890
|
-
return
|
2808
|
+
return Gt({ width: e, height: t, color: l, className: a, onClick: h });
|
2891
2809
|
case "back":
|
2892
|
-
return
|
2810
|
+
return Kt({ width: e, height: t, color: l, className: a, onClick: h });
|
2893
2811
|
case "bell":
|
2894
|
-
return
|
2812
|
+
return Pt({ width: e, height: t, color: l, className: a, onClick: h });
|
2895
2813
|
case "contract":
|
2896
|
-
return
|
2814
|
+
return Ft({ width: e, height: t, color: l, className: a, onClick: h });
|
2897
2815
|
case "trash2":
|
2898
|
-
return
|
2816
|
+
return $t({ width: e, height: t, color: l, className: a, onClick: h });
|
2899
2817
|
case "resourceManager":
|
2900
|
-
return
|
2818
|
+
return Yt({ width: e, height: t, color: l, className: a, onClick: h });
|
2901
2819
|
case "settings2":
|
2902
|
-
return
|
2820
|
+
return Ut({ width: e, height: t, color: l, className: a, onClick: h });
|
2903
2821
|
case "image":
|
2904
|
-
return
|
2822
|
+
return zt({ width: e, height: t, color: l, className: a, onClick: h });
|
2905
2823
|
case "edit":
|
2906
|
-
return
|
2824
|
+
return Jt({ width: e, height: t, color: l, className: a, onClick: h });
|
2907
2825
|
case "filledArrowRight":
|
2908
|
-
return
|
2826
|
+
return qt({ width: e, height: t, color: l, className: a, onClick: h });
|
2909
2827
|
case "burgerMenu":
|
2910
|
-
return
|
2828
|
+
return Qt({ width: e, height: t, color: l, className: a, onClick: h });
|
2911
2829
|
case "signOut":
|
2912
|
-
return
|
2830
|
+
return Xt({ width: e, height: t, color: l, className: a, onClick: h });
|
2913
2831
|
case "refresh":
|
2914
|
-
return
|
2832
|
+
return e2({ width: e, height: t, color: l, className: a, onClick: h });
|
2915
2833
|
case "projects":
|
2916
|
-
return
|
2834
|
+
return t2({ width: e, height: t, color: l, className: a, onClick: h });
|
2917
2835
|
case "profile":
|
2918
|
-
return
|
2836
|
+
return l2({ width: e, height: t, color: l, className: a, onClick: h });
|
2919
2837
|
case "exit":
|
2920
|
-
return
|
2838
|
+
return i2({ width: e, height: t, color: l, className: a, onClick: h });
|
2921
2839
|
case "client":
|
2922
|
-
return
|
2840
|
+
return s2({ width: e, height: t, color: l, className: a, onClick: h });
|
2923
2841
|
case "calendar2":
|
2924
|
-
return
|
2842
|
+
return n2({ width: e, height: t, color: l, className: a, onClick: h });
|
2925
2843
|
case "openPointCircle":
|
2926
|
-
return
|
2844
|
+
return r2({ width: e, height: t, color: l, className: a, onClick: h });
|
2927
2845
|
case "community":
|
2928
|
-
return
|
2846
|
+
return o2({ width: e, height: t, color: l, className: a, onClick: h });
|
2929
2847
|
case "docs":
|
2930
|
-
return
|
2848
|
+
return a2({ width: e, height: t, color: l, className: a, onClick: h });
|
2931
2849
|
default:
|
2932
2850
|
return /* @__PURE__ */ r(i1, { children: "No Icon provided" });
|
2933
2851
|
}
|
2934
2852
|
})() });
|
2935
|
-
}, { Title:
|
2853
|
+
}, { Title: h2, Text: c2 } = re, d2 = {
|
2936
2854
|
h1: 1,
|
2937
2855
|
h2: 2,
|
2938
2856
|
h3: 3,
|
2939
2857
|
h4: 4
|
2940
|
-
},
|
2858
|
+
}, g2 = k1(
|
2941
2859
|
({
|
2942
2860
|
align: i = "inherit",
|
2943
2861
|
variant: e = "body1",
|
@@ -2950,17 +2868,17 @@ const Je = ({
|
|
2950
2868
|
const d = e === "h1" || e === "h2" || e === "h3" || e === "h4";
|
2951
2869
|
let g = `snmt-typography snmt-typography-${e}`;
|
2952
2870
|
return i && i !== "inherit" && (g += ` snmt-typography-align-${i}`), o && (g += " collapsed"), d ? /* @__PURE__ */ r(
|
2953
|
-
|
2871
|
+
h2,
|
2954
2872
|
{
|
2955
2873
|
className: g,
|
2956
2874
|
style: { color: t, whiteSpace: c },
|
2957
2875
|
onClick: n,
|
2958
|
-
level:
|
2876
|
+
level: d2[e],
|
2959
2877
|
ref: a,
|
2960
2878
|
children: s
|
2961
2879
|
}
|
2962
2880
|
) : /* @__PURE__ */ r(
|
2963
|
-
|
2881
|
+
c2,
|
2964
2882
|
{
|
2965
2883
|
className: g,
|
2966
2884
|
style: { color: t, whiteSpace: c },
|
@@ -2977,7 +2895,7 @@ const he = d1({
|
|
2977
2895
|
theme: "light"
|
2978
2896
|
});
|
2979
2897
|
he.Provider;
|
2980
|
-
const
|
2898
|
+
const u2 = ({
|
2981
2899
|
width: i = 20,
|
2982
2900
|
height: e = 20,
|
2983
2901
|
color: t = "#001E52",
|
@@ -3004,7 +2922,7 @@ const p2 = ({
|
|
3004
2922
|
}
|
3005
2923
|
)
|
3006
2924
|
}
|
3007
|
-
),
|
2925
|
+
), C2 = ({
|
3008
2926
|
width: i = 16,
|
3009
2927
|
height: e = 16,
|
3010
2928
|
color: t = "#001E52",
|
@@ -3032,7 +2950,7 @@ const p2 = ({
|
|
3032
2950
|
)
|
3033
2951
|
]
|
3034
2952
|
}
|
3035
|
-
),
|
2953
|
+
), p2 = ({
|
3036
2954
|
width: i = 20,
|
3037
2955
|
height: e = 20,
|
3038
2956
|
color: t = "#001E52",
|
@@ -3067,7 +2985,7 @@ const p2 = ({
|
|
3067
2985
|
)
|
3068
2986
|
]
|
3069
2987
|
}
|
3070
|
-
),
|
2988
|
+
), f2 = ({
|
3071
2989
|
width: i = 18,
|
3072
2990
|
height: e = 18,
|
3073
2991
|
color: t = "#001E52",
|
@@ -3106,7 +3024,7 @@ const p2 = ({
|
|
3106
3024
|
)
|
3107
3025
|
]
|
3108
3026
|
}
|
3109
|
-
),
|
3027
|
+
), m2 = ({
|
3110
3028
|
width: i = 20,
|
3111
3029
|
height: e = 20,
|
3112
3030
|
color: t = "#001E52",
|
@@ -3132,7 +3050,7 @@ const p2 = ({
|
|
3132
3050
|
}
|
3133
3051
|
)
|
3134
3052
|
}
|
3135
|
-
),
|
3053
|
+
), w2 = ({
|
3136
3054
|
width: i = 20,
|
3137
3055
|
height: e = 20,
|
3138
3056
|
color: t = "#001E52",
|
@@ -3153,7 +3071,7 @@ const p2 = ({
|
|
3153
3071
|
/* @__PURE__ */ r("path", { d: "M16 4L4 16", stroke: t, strokeWidth: "1.5", strokeLinecap: "round" })
|
3154
3072
|
]
|
3155
3073
|
}
|
3156
|
-
),
|
3074
|
+
), k2 = ({
|
3157
3075
|
width: i = 20,
|
3158
3076
|
height: e = 20,
|
3159
3077
|
color: t = "#001E52",
|
@@ -3185,7 +3103,7 @@ const p2 = ({
|
|
3185
3103
|
)
|
3186
3104
|
]
|
3187
3105
|
}
|
3188
|
-
),
|
3106
|
+
), L2 = ({
|
3189
3107
|
width: i = 20,
|
3190
3108
|
height: e = 20,
|
3191
3109
|
color: t = "#001E52",
|
@@ -3239,7 +3157,7 @@ const p2 = ({
|
|
3239
3157
|
)
|
3240
3158
|
]
|
3241
3159
|
}
|
3242
|
-
),
|
3160
|
+
), v2 = ({
|
3243
3161
|
width: i = 20,
|
3244
3162
|
height: e = 20,
|
3245
3163
|
color: t = "#001E52",
|
@@ -3278,7 +3196,7 @@ const p2 = ({
|
|
3278
3196
|
/* @__PURE__ */ r("path", { d: "M3 12L17 12", stroke: t, strokeWidth: "2", strokeLinecap: "round" })
|
3279
3197
|
]
|
3280
3198
|
}
|
3281
|
-
),
|
3199
|
+
), N2 = ({
|
3282
3200
|
width: i = 16,
|
3283
3201
|
height: e = 12,
|
3284
3202
|
color: t = "#001E52",
|
@@ -3307,101 +3225,29 @@ const p2 = ({
|
|
3307
3225
|
),
|
3308
3226
|
/* @__PURE__ */ r(
|
3309
3227
|
"path",
|
3310
|
-
{
|
3311
|
-
id: "Vector 7",
|
3312
|
-
d: "M4 6H12",
|
3313
|
-
stroke: t,
|
3314
|
-
strokeWidth: "2",
|
3315
|
-
strokeLinecap: "round"
|
3316
|
-
}
|
3317
|
-
),
|
3318
|
-
/* @__PURE__ */ r(
|
3319
|
-
"path",
|
3320
|
-
{
|
3321
|
-
id: "Vector 8",
|
3322
|
-
d: "M6 11H10",
|
3323
|
-
stroke: t,
|
3324
|
-
strokeWidth: "2",
|
3325
|
-
strokeLinecap: "round"
|
3326
|
-
}
|
3327
|
-
)
|
3328
|
-
] })
|
3329
|
-
}
|
3330
|
-
), M2 = ({
|
3331
|
-
width: i = 16,
|
3332
|
-
height: e = 16,
|
3333
|
-
color: t = "#001E52",
|
3334
|
-
className: s,
|
3335
|
-
onClick: n
|
3336
|
-
}) => /* @__PURE__ */ C(
|
3337
|
-
"svg",
|
3338
|
-
{
|
3339
|
-
xmlns: "http://www.w3.org/2000/svg",
|
3340
|
-
width: i,
|
3341
|
-
height: e,
|
3342
|
-
className: s,
|
3343
|
-
onClick: n,
|
3344
|
-
viewBox: "0 0 16 16",
|
3345
|
-
fill: "none",
|
3346
|
-
children: [
|
3347
|
-
/* @__PURE__ */ r("circle", { cx: "8", cy: "8", r: "7.27273", stroke: t, strokeWidth: "1.45455" }),
|
3348
|
-
/* @__PURE__ */ r(
|
3349
|
-
"path",
|
3350
|
-
{
|
3351
|
-
d: "M7 4.5C7 3.94772 7.44772 3.5 8 3.5C8.55228 3.5 9 3.94772 9 4.5V8.53345C9 9.08574 8.55228 9.53345 8 9.53345C7.44772 9.53345 7 9.08574 7 8.53345V4.5Z",
|
3352
|
-
fill: t
|
3353
|
-
}
|
3354
|
-
),
|
3355
|
-
/* @__PURE__ */ r(
|
3356
|
-
"path",
|
3357
|
-
{
|
3358
|
-
d: "M7 11.5327C7 10.9804 7.44772 10.5327 8 10.5327C8.55228 10.5327 9 10.9804 9 11.5327C9 12.085 8.55228 12.5327 8 12.5327C7.44772 12.5327 7 12.085 7 11.5327Z",
|
3359
|
-
fill: t
|
3360
|
-
}
|
3361
|
-
)
|
3362
|
-
]
|
3363
|
-
}
|
3364
|
-
), y2 = ({
|
3365
|
-
width: i = 11,
|
3366
|
-
height: e = 32,
|
3367
|
-
color: t = "#001E52",
|
3368
|
-
className: s,
|
3369
|
-
onClick: n
|
3370
|
-
}) => /* @__PURE__ */ C(
|
3371
|
-
"svg",
|
3372
|
-
{
|
3373
|
-
xmlns: "http://www.w3.org/2000/svg",
|
3374
|
-
width: i,
|
3375
|
-
height: e,
|
3376
|
-
className: s,
|
3377
|
-
onClick: n,
|
3378
|
-
viewBox: "0 0 11 32",
|
3379
|
-
fill: "none",
|
3380
|
-
children: [
|
3381
|
-
/* @__PURE__ */ r(
|
3382
|
-
"path",
|
3383
|
-
{
|
3384
|
-
fillRule: "evenodd",
|
3385
|
-
clipRule: "evenodd",
|
3386
|
-
d: "M6.22724 31.222C6.53024 31.525 7.02149 31.525 7.32448 31.222L10.7728 27.7737C11.0757 27.4707 11.0757 26.9795 10.7728 26.6765L7.32448 23.2282C7.02149 22.9252 6.53024 22.9252 6.22724 23.2282C5.92425 23.5312 5.92425 24.0224 6.22724 24.3254L9.1269 27.2251L6.22724 30.1247C5.92425 30.4277 5.92425 30.919 6.22724 31.222Z",
|
3387
|
-
fill: t
|
3228
|
+
{
|
3229
|
+
id: "Vector 7",
|
3230
|
+
d: "M4 6H12",
|
3231
|
+
stroke: t,
|
3232
|
+
strokeWidth: "2",
|
3233
|
+
strokeLinecap: "round"
|
3388
3234
|
}
|
3389
3235
|
),
|
3390
3236
|
/* @__PURE__ */ r(
|
3391
3237
|
"path",
|
3392
3238
|
{
|
3393
|
-
|
3239
|
+
id: "Vector 8",
|
3240
|
+
d: "M6 11H10",
|
3394
3241
|
stroke: t,
|
3395
|
-
strokeWidth: "
|
3242
|
+
strokeWidth: "2",
|
3396
3243
|
strokeLinecap: "round"
|
3397
3244
|
}
|
3398
|
-
)
|
3399
|
-
|
3400
|
-
]
|
3245
|
+
)
|
3246
|
+
] })
|
3401
3247
|
}
|
3402
|
-
),
|
3403
|
-
width: i =
|
3404
|
-
height: e =
|
3248
|
+
), x2 = ({
|
3249
|
+
width: i = 16,
|
3250
|
+
height: e = 16,
|
3405
3251
|
color: t = "#001E52",
|
3406
3252
|
className: s,
|
3407
3253
|
onClick: n
|
@@ -3413,27 +3259,27 @@ const p2 = ({
|
|
3413
3259
|
height: e,
|
3414
3260
|
className: s,
|
3415
3261
|
onClick: n,
|
3416
|
-
viewBox: "0 0
|
3262
|
+
viewBox: "0 0 16 16",
|
3417
3263
|
fill: "none",
|
3418
3264
|
children: [
|
3265
|
+
/* @__PURE__ */ r("circle", { cx: "8", cy: "8", r: "7.27273", stroke: t, strokeWidth: "1.45455" }),
|
3419
3266
|
/* @__PURE__ */ r(
|
3420
3267
|
"path",
|
3421
3268
|
{
|
3422
|
-
|
3423
|
-
clipRule: "evenodd",
|
3424
|
-
d: `M1.00621 18.2272C0.70322 18.5302 0.70322 19.0215 1.00621
|
3425
|
-
19.3245L4.45449 22.7728C4.75748 23.0757 5.24873 23.0757 5.55172
|
3426
|
-
22.7728L9 19.3245C9.30299 19.0215 9.30299 18.5302 9 18.2272C8.69701 17.9243
|
3427
|
-
8.20576 17.9243 7.90277 18.2272L5.00311 21.1269L2.10345 18.2272C1.80045 17.9243
|
3428
|
-
1.30921 17.9243 1.00621 18.2272Z`,
|
3269
|
+
d: "M7 4.5C7 3.94772 7.44772 3.5 8 3.5C8.55228 3.5 9 3.94772 9 4.5V8.53345C9 9.08574 8.55228 9.53345 8 9.53345C7.44772 9.53345 7 9.08574 7 8.53345V4.5Z",
|
3429
3270
|
fill: t
|
3430
3271
|
}
|
3431
3272
|
),
|
3432
|
-
/* @__PURE__ */ r(
|
3433
|
-
|
3273
|
+
/* @__PURE__ */ r(
|
3274
|
+
"path",
|
3275
|
+
{
|
3276
|
+
d: "M7 11.5327C7 10.9804 7.44772 10.5327 8 10.5327C8.55228 10.5327 9 10.9804 9 11.5327C9 12.085 8.55228 12.5327 8 12.5327C7.44772 12.5327 7 12.085 7 11.5327Z",
|
3277
|
+
fill: t
|
3278
|
+
}
|
3279
|
+
)
|
3434
3280
|
]
|
3435
3281
|
}
|
3436
|
-
),
|
3282
|
+
), R2 = ({
|
3437
3283
|
width: i = 20,
|
3438
3284
|
height: e = 20,
|
3439
3285
|
color: t = "#001E52",
|
@@ -3480,7 +3326,7 @@ const p2 = ({
|
|
3480
3326
|
)
|
3481
3327
|
]
|
3482
3328
|
}
|
3483
|
-
),
|
3329
|
+
), M2 = ({
|
3484
3330
|
width: i = 20,
|
3485
3331
|
height: e = 20,
|
3486
3332
|
color: t = "#001E52",
|
@@ -3513,7 +3359,7 @@ const p2 = ({
|
|
3513
3359
|
)
|
3514
3360
|
]
|
3515
3361
|
}
|
3516
|
-
),
|
3362
|
+
), y2 = ({
|
3517
3363
|
width: i = 20,
|
3518
3364
|
height: e = 20,
|
3519
3365
|
color: t = "#001E52",
|
@@ -3560,7 +3406,7 @@ const p2 = ({
|
|
3560
3406
|
)
|
3561
3407
|
]
|
3562
3408
|
}
|
3563
|
-
),
|
3409
|
+
), b2 = ({
|
3564
3410
|
width: i = 20,
|
3565
3411
|
height: e = 20,
|
3566
3412
|
color: t = "#001E52",
|
@@ -3593,7 +3439,7 @@ const p2 = ({
|
|
3593
3439
|
)
|
3594
3440
|
]
|
3595
3441
|
}
|
3596
|
-
),
|
3442
|
+
), E2 = ({
|
3597
3443
|
width: i = 18,
|
3598
3444
|
height: e = 16,
|
3599
3445
|
color: t = "#001E52",
|
@@ -3632,7 +3478,7 @@ const p2 = ({
|
|
3632
3478
|
)
|
3633
3479
|
]
|
3634
3480
|
}
|
3635
|
-
),
|
3481
|
+
), _2 = ({
|
3636
3482
|
width: i = 20,
|
3637
3483
|
height: e = 20,
|
3638
3484
|
color: t = "#001E52",
|
@@ -3665,7 +3511,7 @@ const p2 = ({
|
|
3665
3511
|
)
|
3666
3512
|
]
|
3667
3513
|
}
|
3668
|
-
),
|
3514
|
+
), H2 = ({
|
3669
3515
|
width: i = 20,
|
3670
3516
|
height: e = 20,
|
3671
3517
|
color: t = "#001E52",
|
@@ -3689,7 +3535,7 @@ const p2 = ({
|
|
3689
3535
|
}
|
3690
3536
|
)
|
3691
3537
|
}
|
3692
|
-
),
|
3538
|
+
), I2 = ({
|
3693
3539
|
width: i = 20,
|
3694
3540
|
height: e = 20,
|
3695
3541
|
color: t = "#001E52",
|
@@ -3722,7 +3568,7 @@ const p2 = ({
|
|
3722
3568
|
)
|
3723
3569
|
]
|
3724
3570
|
}
|
3725
|
-
),
|
3571
|
+
), O2 = ({
|
3726
3572
|
width: i = 20,
|
3727
3573
|
height: e = 23,
|
3728
3574
|
color: t = "#001E52",
|
@@ -3783,7 +3629,7 @@ const p2 = ({
|
|
3783
3629
|
)
|
3784
3630
|
]
|
3785
3631
|
}
|
3786
|
-
),
|
3632
|
+
), S2 = ({
|
3787
3633
|
width: i = 14,
|
3788
3634
|
height: e = 14,
|
3789
3635
|
color: t = "#10B981",
|
@@ -3812,7 +3658,7 @@ const p2 = ({
|
|
3812
3658
|
)
|
3813
3659
|
]
|
3814
3660
|
}
|
3815
|
-
),
|
3661
|
+
), V2 = ({
|
3816
3662
|
width: i = 10,
|
3817
3663
|
height: e = 10,
|
3818
3664
|
color: t = "#88A4FF",
|
@@ -3860,7 +3706,7 @@ const p2 = ({
|
|
3860
3706
|
)
|
3861
3707
|
]
|
3862
3708
|
}
|
3863
|
-
),
|
3709
|
+
), A2 = ({
|
3864
3710
|
width: i = 14,
|
3865
3711
|
height: e = 14,
|
3866
3712
|
color: t = "#8E8E93",
|
@@ -3888,7 +3734,7 @@ const p2 = ({
|
|
3888
3734
|
)
|
3889
3735
|
]
|
3890
3736
|
}
|
3891
|
-
),
|
3737
|
+
), T2 = ({
|
3892
3738
|
width: i = 14,
|
3893
3739
|
height: e = 14,
|
3894
3740
|
color: t = "#FFB020",
|
@@ -3922,7 +3768,7 @@ const p2 = ({
|
|
3922
3768
|
)
|
3923
3769
|
]
|
3924
3770
|
}
|
3925
|
-
),
|
3771
|
+
), j2 = ({
|
3926
3772
|
width: i = 14,
|
3927
3773
|
height: e = 14,
|
3928
3774
|
color: t = "#D0421B",
|
@@ -3970,7 +3816,7 @@ const p2 = ({
|
|
3970
3816
|
)
|
3971
3817
|
]
|
3972
3818
|
}
|
3973
|
-
),
|
3819
|
+
), B2 = ({
|
3974
3820
|
width: i = 20,
|
3975
3821
|
height: e = 20,
|
3976
3822
|
color: t = "#070739",
|
@@ -4000,7 +3846,7 @@ const p2 = ({
|
|
4000
3846
|
/* @__PURE__ */ r("circle", { cx: "10", cy: "10", r: "2.375", stroke: t, strokeWidth: "1.25" })
|
4001
3847
|
]
|
4002
3848
|
}
|
4003
|
-
),
|
3849
|
+
), Z2 = ({
|
4004
3850
|
width: i = 20,
|
4005
3851
|
height: e = 20,
|
4006
3852
|
color: t = "#070739",
|
@@ -4038,7 +3884,7 @@ const p2 = ({
|
|
4038
3884
|
)
|
4039
3885
|
]
|
4040
3886
|
}
|
4041
|
-
),
|
3887
|
+
), D2 = ({
|
4042
3888
|
width: i = 9,
|
4043
3889
|
height: e = 5,
|
4044
3890
|
color: t = "#001E52",
|
@@ -4064,7 +3910,7 @@ const p2 = ({
|
|
4064
3910
|
}
|
4065
3911
|
)
|
4066
3912
|
}
|
4067
|
-
),
|
3913
|
+
), W2 = ({
|
4068
3914
|
width: i = 20,
|
4069
3915
|
height: e = 20,
|
4070
3916
|
color: t = "#F2F2F7",
|
@@ -4093,7 +3939,7 @@ const p2 = ({
|
|
4093
3939
|
)
|
4094
3940
|
]
|
4095
3941
|
}
|
4096
|
-
),
|
3942
|
+
), G2 = ({
|
4097
3943
|
width: i = 20,
|
4098
3944
|
height: e = 20,
|
4099
3945
|
color: t = "#004ED7",
|
@@ -4122,7 +3968,7 @@ const p2 = ({
|
|
4122
3968
|
)
|
4123
3969
|
]
|
4124
3970
|
}
|
4125
|
-
),
|
3971
|
+
), K2 = ({
|
4126
3972
|
width: i = 10,
|
4127
3973
|
height: e = 10,
|
4128
3974
|
color: t = "#001E52",
|
@@ -4151,7 +3997,7 @@ const p2 = ({
|
|
4151
3997
|
)
|
4152
3998
|
]
|
4153
3999
|
}
|
4154
|
-
),
|
4000
|
+
), P2 = ({
|
4155
4001
|
width: i = 10,
|
4156
4002
|
height: e = 10,
|
4157
4003
|
color: t = "#001E52",
|
@@ -4188,7 +4034,7 @@ const p2 = ({
|
|
4188
4034
|
)
|
4189
4035
|
]
|
4190
4036
|
}
|
4191
|
-
),
|
4037
|
+
), $2 = ({
|
4192
4038
|
className: i,
|
4193
4039
|
color: e = E.GREY_DARK_5,
|
4194
4040
|
height: t = 24,
|
@@ -4227,7 +4073,7 @@ const p2 = ({
|
|
4227
4073
|
)
|
4228
4074
|
]
|
4229
4075
|
}
|
4230
|
-
),
|
4076
|
+
), F2 = ({
|
4231
4077
|
className: i,
|
4232
4078
|
color: e = E.GREY_DARK_5,
|
4233
4079
|
height: t = 20,
|
@@ -4254,7 +4100,7 @@ const p2 = ({
|
|
4254
4100
|
}
|
4255
4101
|
)
|
4256
4102
|
}
|
4257
|
-
),
|
4103
|
+
), Y2 = ({
|
4258
4104
|
className: i,
|
4259
4105
|
color: e = E.GREY_DARK_5,
|
4260
4106
|
height: t = 20,
|
@@ -4281,7 +4127,7 @@ const p2 = ({
|
|
4281
4127
|
}
|
4282
4128
|
)
|
4283
4129
|
}
|
4284
|
-
),
|
4130
|
+
), U2 = ({
|
4285
4131
|
className: i,
|
4286
4132
|
color: e = E.GREY_DARK_5,
|
4287
4133
|
height: t = 5,
|
@@ -4305,7 +4151,7 @@ const p2 = ({
|
|
4305
4151
|
}
|
4306
4152
|
)
|
4307
4153
|
}
|
4308
|
-
),
|
4154
|
+
), z2 = ({
|
4309
4155
|
className: i,
|
4310
4156
|
color: e = E.GREY_DARK_5,
|
4311
4157
|
height: t = 5,
|
@@ -4330,7 +4176,7 @@ const p2 = ({
|
|
4330
4176
|
}
|
4331
4177
|
)
|
4332
4178
|
}
|
4333
|
-
),
|
4179
|
+
), J2 = ({
|
4334
4180
|
className: i,
|
4335
4181
|
color: e = E.GREY_DARK_5,
|
4336
4182
|
height: t = 24,
|
@@ -4369,7 +4215,7 @@ const p2 = ({
|
|
4369
4215
|
)
|
4370
4216
|
]
|
4371
4217
|
}
|
4372
|
-
),
|
4218
|
+
), q2 = ({
|
4373
4219
|
className: i,
|
4374
4220
|
color: e = E.GREY_DARK_5,
|
4375
4221
|
height: t = 24,
|
@@ -4408,7 +4254,7 @@ const p2 = ({
|
|
4408
4254
|
)
|
4409
4255
|
]
|
4410
4256
|
}
|
4411
|
-
),
|
4257
|
+
), Q2 = ({
|
4412
4258
|
className: i,
|
4413
4259
|
color: e = E.GREY_DARK_5,
|
4414
4260
|
height: t = 24,
|
@@ -4435,7 +4281,7 @@ const p2 = ({
|
|
4435
4281
|
}
|
4436
4282
|
)
|
4437
4283
|
}
|
4438
|
-
),
|
4284
|
+
), X2 = ({
|
4439
4285
|
className: i,
|
4440
4286
|
color: e = E.GREY_DARK_5,
|
4441
4287
|
height: t = 24,
|
@@ -4494,7 +4340,7 @@ const p2 = ({
|
|
4494
4340
|
)
|
4495
4341
|
]
|
4496
4342
|
}
|
4497
|
-
),
|
4343
|
+
), ei = ({
|
4498
4344
|
className: i,
|
4499
4345
|
color: e = E.GREY_DARK_5,
|
4500
4346
|
height: t = 24,
|
@@ -4531,7 +4377,7 @@ const p2 = ({
|
|
4531
4377
|
)
|
4532
4378
|
]
|
4533
4379
|
}
|
4534
|
-
),
|
4380
|
+
), ti = ({
|
4535
4381
|
className: i,
|
4536
4382
|
color: e = E.GREY_DARK_3,
|
4537
4383
|
height: t = 14,
|
@@ -4568,7 +4414,7 @@ const p2 = ({
|
|
4568
4414
|
)
|
4569
4415
|
]
|
4570
4416
|
}
|
4571
|
-
),
|
4417
|
+
), ii = ({
|
4572
4418
|
className: i,
|
4573
4419
|
color: e = E.GREY_DARK_5,
|
4574
4420
|
height: t = 18,
|
@@ -4595,7 +4441,7 @@ const p2 = ({
|
|
4595
4441
|
}
|
4596
4442
|
)
|
4597
4443
|
}
|
4598
|
-
),
|
4444
|
+
), si = ({
|
4599
4445
|
className: i,
|
4600
4446
|
color: e = E.GREY_DARK_5,
|
4601
4447
|
height: t = 24,
|
@@ -4647,7 +4493,7 @@ const p2 = ({
|
|
4647
4493
|
)
|
4648
4494
|
]
|
4649
4495
|
}
|
4650
|
-
),
|
4496
|
+
), ni = ({
|
4651
4497
|
className: i,
|
4652
4498
|
color: e = E.GREY_DARK_5,
|
4653
4499
|
height: t = 24,
|
@@ -4684,7 +4530,7 @@ const p2 = ({
|
|
4684
4530
|
)
|
4685
4531
|
]
|
4686
4532
|
}
|
4687
|
-
),
|
4533
|
+
), ri = ({
|
4688
4534
|
className: i,
|
4689
4535
|
color: e = E.NOTIFICATION_WARNING_DARK,
|
4690
4536
|
height: t = 37,
|
@@ -4723,7 +4569,7 @@ const p2 = ({
|
|
4723
4569
|
)
|
4724
4570
|
]
|
4725
4571
|
}
|
4726
|
-
),
|
4572
|
+
), oi = ({
|
4727
4573
|
className: i,
|
4728
4574
|
color: e = E.GREY_DARK_5,
|
4729
4575
|
height: t = 24,
|
@@ -4749,7 +4595,7 @@ const p2 = ({
|
|
4749
4595
|
}
|
4750
4596
|
)
|
4751
4597
|
}
|
4752
|
-
),
|
4598
|
+
), ai = ({
|
4753
4599
|
className: i,
|
4754
4600
|
color: e = E.GREY_DARK_5,
|
4755
4601
|
height: t = 24,
|
@@ -4788,7 +4634,7 @@ const p2 = ({
|
|
4788
4634
|
)
|
4789
4635
|
]
|
4790
4636
|
}
|
4791
|
-
),
|
4637
|
+
), li = ({
|
4792
4638
|
className: i,
|
4793
4639
|
color: e = E.GREY_DARK_5,
|
4794
4640
|
height: t = 24,
|
@@ -4827,7 +4673,7 @@ const p2 = ({
|
|
4827
4673
|
)
|
4828
4674
|
]
|
4829
4675
|
}
|
4830
|
-
),
|
4676
|
+
), hi = ({
|
4831
4677
|
className: i,
|
4832
4678
|
color: e = E.GREY_DARK_5,
|
4833
4679
|
height: t = 24,
|
@@ -4896,7 +4742,7 @@ const p2 = ({
|
|
4896
4742
|
)
|
4897
4743
|
]
|
4898
4744
|
}
|
4899
|
-
),
|
4745
|
+
), ci = ({
|
4900
4746
|
className: i,
|
4901
4747
|
color: e = E.GREY_DARK_5,
|
4902
4748
|
height: t = 24,
|
@@ -4953,7 +4799,7 @@ const p2 = ({
|
|
4953
4799
|
)
|
4954
4800
|
]
|
4955
4801
|
}
|
4956
|
-
),
|
4802
|
+
), di = ({
|
4957
4803
|
className: i,
|
4958
4804
|
color: e = E.GREY_DARK_5,
|
4959
4805
|
height: t = 24,
|
@@ -4992,7 +4838,7 @@ const p2 = ({
|
|
4992
4838
|
)
|
4993
4839
|
]
|
4994
4840
|
}
|
4995
|
-
),
|
4841
|
+
), gi = ({
|
4996
4842
|
className: i,
|
4997
4843
|
color: e = E.GREY_DARK_5,
|
4998
4844
|
height: t = 24,
|
@@ -5041,7 +4887,7 @@ const p2 = ({
|
|
5041
4887
|
)
|
5042
4888
|
]
|
5043
4889
|
}
|
5044
|
-
),
|
4890
|
+
), ui = ({
|
5045
4891
|
className: i,
|
5046
4892
|
color: e = E.GREY_DARK_5,
|
5047
4893
|
height: t = 24,
|
@@ -5068,7 +4914,7 @@ const p2 = ({
|
|
5068
4914
|
}
|
5069
4915
|
)
|
5070
4916
|
}
|
5071
|
-
),
|
4917
|
+
), Ci = ({
|
5072
4918
|
className: i,
|
5073
4919
|
color: e = E.GREY_DARK_5,
|
5074
4920
|
height: t = 20,
|
@@ -5097,7 +4943,7 @@ const p2 = ({
|
|
5097
4943
|
)
|
5098
4944
|
]
|
5099
4945
|
}
|
5100
|
-
),
|
4946
|
+
), pi = ({
|
5101
4947
|
className: i,
|
5102
4948
|
color: e = "#001E52",
|
5103
4949
|
height: t = 24,
|
@@ -5123,7 +4969,7 @@ const p2 = ({
|
|
5123
4969
|
}
|
5124
4970
|
)
|
5125
4971
|
}
|
5126
|
-
),
|
4972
|
+
), fi = ({
|
5127
4973
|
className: i,
|
5128
4974
|
color: e = "#131314",
|
5129
4975
|
height: t = 20,
|
@@ -5151,7 +4997,7 @@ const p2 = ({
|
|
5151
4997
|
}
|
5152
4998
|
)
|
5153
4999
|
}
|
5154
|
-
),
|
5000
|
+
), mi = ({
|
5155
5001
|
className: i,
|
5156
5002
|
color: e = "#001E52",
|
5157
5003
|
height: t = 24,
|
@@ -5189,7 +5035,7 @@ const p2 = ({
|
|
5189
5035
|
)
|
5190
5036
|
] }) })
|
5191
5037
|
}
|
5192
|
-
),
|
5038
|
+
), wi = ({
|
5193
5039
|
width: i = 20,
|
5194
5040
|
height: e = 20,
|
5195
5041
|
color: t = "#001E52",
|
@@ -5245,7 +5091,7 @@ const p2 = ({
|
|
5245
5091
|
}
|
5246
5092
|
)
|
5247
5093
|
}
|
5248
|
-
),
|
5094
|
+
), ki = ({
|
5249
5095
|
width: i = 24,
|
5250
5096
|
height: e = 24,
|
5251
5097
|
color: t = "#131314",
|
@@ -5278,7 +5124,7 @@ const p2 = ({
|
|
5278
5124
|
)
|
5279
5125
|
]
|
5280
5126
|
}
|
5281
|
-
),
|
5127
|
+
), Li = ({
|
5282
5128
|
width: i = 24,
|
5283
5129
|
height: e = 24,
|
5284
5130
|
color: t = E.GREY_DARK_2,
|
@@ -5317,7 +5163,7 @@ const p2 = ({
|
|
5317
5163
|
)
|
5318
5164
|
]
|
5319
5165
|
}
|
5320
|
-
),
|
5166
|
+
), vi = ({
|
5321
5167
|
width: i = 24,
|
5322
5168
|
height: e = 24,
|
5323
5169
|
color: t = E.GREY_DARK_2,
|
@@ -5344,7 +5190,7 @@ const p2 = ({
|
|
5344
5190
|
}
|
5345
5191
|
)
|
5346
5192
|
}
|
5347
|
-
),
|
5193
|
+
), Ni = ({
|
5348
5194
|
width: i = 24,
|
5349
5195
|
height: e = 24,
|
5350
5196
|
color: t = E.GREY_DARK_2,
|
@@ -5384,7 +5230,7 @@ const p2 = ({
|
|
5384
5230
|
)
|
5385
5231
|
]
|
5386
5232
|
}
|
5387
|
-
),
|
5233
|
+
), xi = ({
|
5388
5234
|
width: i = 24,
|
5389
5235
|
height: e = 24,
|
5390
5236
|
color: t = E.GREY_DARK_2,
|
@@ -5411,7 +5257,7 @@ const p2 = ({
|
|
5411
5257
|
}
|
5412
5258
|
)
|
5413
5259
|
}
|
5414
|
-
),
|
5260
|
+
), Ri = ({
|
5415
5261
|
width: i = 24,
|
5416
5262
|
height: e = 24,
|
5417
5263
|
color: t = E.GREY_DARK_2,
|
@@ -5438,7 +5284,7 @@ const p2 = ({
|
|
5438
5284
|
}
|
5439
5285
|
)
|
5440
5286
|
}
|
5441
|
-
),
|
5287
|
+
), Mi = ({
|
5442
5288
|
width: i = 20,
|
5443
5289
|
height: e = 20,
|
5444
5290
|
color: t = "#001E52",
|
@@ -5464,7 +5310,7 @@ const p2 = ({
|
|
5464
5310
|
}
|
5465
5311
|
)
|
5466
5312
|
}
|
5467
|
-
),
|
5313
|
+
), yi = ({
|
5468
5314
|
name: i,
|
5469
5315
|
width: e,
|
5470
5316
|
height: t,
|
@@ -5474,7 +5320,7 @@ const p2 = ({
|
|
5474
5320
|
onClick: c
|
5475
5321
|
}) => {
|
5476
5322
|
const [a, d] = A(n), { theme: g } = r1(he), l = o ? g && g === "dark" ? E.GREY_LIGHT_4 : E.GREY_DARK_1 : s, h = o ? void 0 : c;
|
5477
|
-
return
|
5323
|
+
return B(() => {
|
5478
5324
|
if (n) {
|
5479
5325
|
h && !o && d(`${n} clickable`);
|
5480
5326
|
return;
|
@@ -5483,45 +5329,35 @@ const p2 = ({
|
|
5483
5329
|
}, [h, n, o]), /* @__PURE__ */ r(i1, { children: (() => {
|
5484
5330
|
switch (i) {
|
5485
5331
|
case "nextIcon":
|
5486
|
-
return
|
5332
|
+
return F2({ width: e, height: t, color: l, className: a, onClick: h });
|
5487
5333
|
case "prevIcon":
|
5488
|
-
return
|
5334
|
+
return Y2({ width: e, height: t, color: l, className: a, onClick: h });
|
5489
5335
|
case "arrowDown":
|
5490
|
-
return
|
5336
|
+
return u2({ width: e, height: t, color: l, className: a, onClick: h });
|
5491
5337
|
case "info":
|
5492
|
-
return
|
5338
|
+
return C2({ width: e, height: t, color: l, className: a, onClick: h });
|
5493
5339
|
case "arrowRight":
|
5494
|
-
return
|
5340
|
+
return p2({ width: e, height: t, color: l, className: a, onClick: h });
|
5495
5341
|
case "calendar":
|
5496
|
-
return
|
5342
|
+
return f2({ width: e, height: t, color: l, className: a, onClick: h });
|
5497
5343
|
case "ok":
|
5498
|
-
return
|
5344
|
+
return m2({ width: e, height: t, color: l, className: a, onClick: h });
|
5499
5345
|
case "cancel":
|
5500
|
-
return
|
5346
|
+
return w2({ width: e, height: t, color: l, className: a, onClick: h });
|
5501
5347
|
case "add":
|
5502
|
-
return
|
5348
|
+
return k2({ width: e, height: t, color: l, className: a, onClick: h });
|
5503
5349
|
case "list":
|
5504
|
-
return
|
5350
|
+
return L2({ width: e, height: t, color: l, className: a, onClick: h });
|
5505
5351
|
case "dragAndDrop":
|
5506
|
-
return
|
5352
|
+
return v2({ width: e, height: t, color: l, className: a, onClick: h });
|
5507
5353
|
case "filter":
|
5508
|
-
return
|
5354
|
+
return N2({ width: e, height: t, color: l, className: a, onClick: h });
|
5509
5355
|
case "attention":
|
5510
|
-
return
|
5511
|
-
case "arrowDownLong":
|
5512
|
-
return y2({
|
5513
|
-
width: e,
|
5514
|
-
height: t,
|
5515
|
-
color: l,
|
5516
|
-
className: a,
|
5517
|
-
onClick: h
|
5518
|
-
});
|
5519
|
-
case "dotArrowDown":
|
5520
|
-
return b2({ width: e, height: t, color: l, className: a, onClick: h });
|
5356
|
+
return x2({ width: e, height: t, color: l, className: a, onClick: h });
|
5521
5357
|
case "users":
|
5522
|
-
return
|
5358
|
+
return R2({ width: e, height: t, color: l, className: a, onClick: h });
|
5523
5359
|
case "mySkillsMatrix":
|
5524
|
-
return
|
5360
|
+
return M2({
|
5525
5361
|
width: e,
|
5526
5362
|
height: t,
|
5527
5363
|
color: l,
|
@@ -5529,9 +5365,9 @@ const p2 = ({
|
|
5529
5365
|
onClick: h
|
5530
5366
|
});
|
5531
5367
|
case "skills":
|
5532
|
-
return
|
5368
|
+
return y2({ width: e, height: t, color: l, className: a, onClick: h });
|
5533
5369
|
case "skillsMatrices":
|
5534
|
-
return
|
5370
|
+
return b2({
|
5535
5371
|
width: e,
|
5536
5372
|
height: t,
|
5537
5373
|
color: l,
|
@@ -5539,23 +5375,23 @@ const p2 = ({
|
|
5539
5375
|
onClick: h
|
5540
5376
|
});
|
5541
5377
|
case "history":
|
5542
|
-
return
|
5378
|
+
return E2({ width: e, height: t, color: l, className: a, onClick: h });
|
5543
5379
|
case "logOut":
|
5544
|
-
return
|
5380
|
+
return _2({ width: e, height: t, color: l, className: a, onClick: h });
|
5545
5381
|
case "settings":
|
5546
|
-
return
|
5382
|
+
return H2({ width: e, height: t, color: l, className: a, onClick: h });
|
5547
5383
|
case "trash":
|
5548
|
-
return
|
5384
|
+
return I2({ width: e, height: t, color: l, className: a, onClick: h });
|
5549
5385
|
case "settings4":
|
5550
|
-
return
|
5386
|
+
return O2({ width: e, height: t, color: l, className: a, onClick: h });
|
5551
5387
|
case "success":
|
5552
|
-
return
|
5388
|
+
return S2({ width: e, height: t, color: l, className: a, onClick: h });
|
5553
5389
|
case "errorSmall":
|
5554
|
-
return
|
5390
|
+
return V2({ width: e, height: t, color: l, className: a, onClick: h });
|
5555
5391
|
case "infoMedium":
|
5556
|
-
return
|
5392
|
+
return A2({ width: e, height: t, color: l, className: a, onClick: h });
|
5557
5393
|
case "attentionMedium":
|
5558
|
-
return
|
5394
|
+
return T2({
|
5559
5395
|
width: e,
|
5560
5396
|
height: t,
|
5561
5397
|
color: l,
|
@@ -5563,9 +5399,9 @@ const p2 = ({
|
|
5563
5399
|
onClick: h
|
5564
5400
|
});
|
5565
5401
|
case "errorMedium":
|
5566
|
-
return
|
5402
|
+
return j2({ width: e, height: t, color: l, className: a, onClick: h });
|
5567
5403
|
case "visibilityIcon":
|
5568
|
-
return
|
5404
|
+
return B2({
|
5569
5405
|
width: e,
|
5570
5406
|
height: t,
|
5571
5407
|
color: l,
|
@@ -5573,7 +5409,7 @@ const p2 = ({
|
|
5573
5409
|
onClick: h
|
5574
5410
|
});
|
5575
5411
|
case "visibilityOffIcon":
|
5576
|
-
return
|
5412
|
+
return Z2({
|
5577
5413
|
width: e,
|
5578
5414
|
height: t,
|
5579
5415
|
color: l,
|
@@ -5581,7 +5417,7 @@ const p2 = ({
|
|
5581
5417
|
onClick: h
|
5582
5418
|
});
|
5583
5419
|
case "selectArrowIcon":
|
5584
|
-
return
|
5420
|
+
return D2({
|
5585
5421
|
width: e,
|
5586
5422
|
height: t,
|
5587
5423
|
color: l,
|
@@ -5589,7 +5425,7 @@ const p2 = ({
|
|
5589
5425
|
onClick: h
|
5590
5426
|
});
|
5591
5427
|
case "expandArrowIcon":
|
5592
|
-
return
|
5428
|
+
return W2({
|
5593
5429
|
width: e,
|
5594
5430
|
height: t,
|
5595
5431
|
color: l,
|
@@ -5597,7 +5433,7 @@ const p2 = ({
|
|
5597
5433
|
onClick: h
|
5598
5434
|
});
|
5599
5435
|
case "expandActiveArrowIcon":
|
5600
|
-
return
|
5436
|
+
return G2({
|
5601
5437
|
width: e,
|
5602
5438
|
height: t,
|
5603
5439
|
color: l,
|
@@ -5605,86 +5441,86 @@ const p2 = ({
|
|
5605
5441
|
onClick: h
|
5606
5442
|
});
|
5607
5443
|
case "sortUp":
|
5608
|
-
return
|
5444
|
+
return K2({ width: e, height: t, color: l, className: a, onClick: h });
|
5609
5445
|
case "sortDown":
|
5610
|
-
return
|
5446
|
+
return P2({ width: e, height: t, color: l, className: a, onClick: h });
|
5611
5447
|
case "search":
|
5612
|
-
return
|
5448
|
+
return $2({ width: e, height: t, color: l, className: a, onClick: h });
|
5613
5449
|
case "arrowUpFilled":
|
5614
|
-
return
|
5450
|
+
return z2({ width: e, height: t, color: l, className: a, onClick: h });
|
5615
5451
|
case "arrowDownFilled":
|
5616
|
-
return
|
5452
|
+
return U2({ width: e, height: t, color: l, className: a, onClick: h });
|
5617
5453
|
case "link":
|
5618
|
-
return
|
5454
|
+
return J2({ width: e, height: t, color: l, className: a, onClick: h });
|
5619
5455
|
case "telegram":
|
5620
|
-
return
|
5456
|
+
return Q2({ width: e, height: t, color: l, className: a, onClick: h });
|
5621
5457
|
case "mail":
|
5622
|
-
return
|
5458
|
+
return ei({ width: e, height: t, color: l, className: a, onClick: h });
|
5623
5459
|
case "github":
|
5624
|
-
return
|
5460
|
+
return q2({ width: e, height: t, color: l, className: a, onClick: h });
|
5625
5461
|
case "linkedIn":
|
5626
|
-
return
|
5462
|
+
return X2({ width: e, height: t, color: l, className: a, onClick: h });
|
5627
5463
|
case "emptyStateIcon":
|
5628
|
-
return
|
5464
|
+
return ti({ width: e, height: t, color: l, className: a, onClick: h });
|
5629
5465
|
case "filtersIcon":
|
5630
|
-
return
|
5466
|
+
return ii({ width: e, height: t, color: l, className: a, onClick: h });
|
5631
5467
|
case "dotMenuIcon":
|
5632
|
-
return
|
5468
|
+
return si({ width: e, height: t, color: l, className: a, onClick: h });
|
5633
5469
|
case "plusCircle":
|
5634
|
-
return
|
5470
|
+
return ni({ width: e, height: t, color: l, className: a, onClick: h });
|
5635
5471
|
case "warning":
|
5636
|
-
return
|
5472
|
+
return ri({ width: e, height: t, color: l, className: a, onClick: h });
|
5637
5473
|
case "back":
|
5638
|
-
return
|
5474
|
+
return oi({ width: e, height: t, color: l, className: a, onClick: h });
|
5639
5475
|
case "bell":
|
5640
|
-
return
|
5476
|
+
return ai({ width: e, height: t, color: l, className: a, onClick: h });
|
5641
5477
|
case "contract":
|
5642
|
-
return
|
5478
|
+
return hi({ width: e, height: t, color: l, className: a, onClick: h });
|
5643
5479
|
case "trash2":
|
5644
|
-
return
|
5480
|
+
return li({ width: e, height: t, color: l, className: a, onClick: h });
|
5645
5481
|
case "resourceManager":
|
5646
|
-
return
|
5482
|
+
return ci({ width: e, height: t, color: l, className: a, onClick: h });
|
5647
5483
|
case "settings2":
|
5648
|
-
return
|
5484
|
+
return di({ width: e, height: t, color: l, className: a, onClick: h });
|
5649
5485
|
case "image":
|
5650
|
-
return
|
5486
|
+
return gi({ width: e, height: t, color: l, className: a, onClick: h });
|
5651
5487
|
case "edit":
|
5652
|
-
return
|
5488
|
+
return ui({ width: e, height: t, color: l, className: a, onClick: h });
|
5653
5489
|
case "filledArrowRight":
|
5654
|
-
return
|
5490
|
+
return Ci({ width: e, height: t, color: l, className: a, onClick: h });
|
5655
5491
|
case "burgerMenu":
|
5656
|
-
return
|
5492
|
+
return pi({ width: e, height: t, color: l, className: a, onClick: h });
|
5657
5493
|
case "signOut":
|
5658
|
-
return
|
5494
|
+
return fi({ width: e, height: t, color: l, className: a, onClick: h });
|
5659
5495
|
case "refresh":
|
5660
|
-
return
|
5496
|
+
return mi({ width: e, height: t, color: l, className: a, onClick: h });
|
5661
5497
|
case "projects":
|
5662
|
-
return
|
5498
|
+
return wi({ width: e, height: t, color: l, className: a, onClick: h });
|
5663
5499
|
case "profile":
|
5664
|
-
return
|
5500
|
+
return Mi({ width: e, height: t, color: l, className: a, onClick: h });
|
5665
5501
|
case "exit":
|
5666
|
-
return
|
5502
|
+
return ki({ width: e, height: t, color: l, className: a, onClick: h });
|
5667
5503
|
case "client":
|
5668
|
-
return
|
5504
|
+
return Li({ width: e, height: t, color: l, className: a, onClick: h });
|
5669
5505
|
case "calendar2":
|
5670
|
-
return
|
5506
|
+
return vi({ width: e, height: t, color: l, className: a, onClick: h });
|
5671
5507
|
case "openPointCircle":
|
5672
|
-
return
|
5508
|
+
return Ni({ width: e, height: t, color: l, className: a, onClick: h });
|
5673
5509
|
case "community":
|
5674
|
-
return
|
5510
|
+
return xi({ width: e, height: t, color: l, className: a, onClick: h });
|
5675
5511
|
case "docs":
|
5676
|
-
return
|
5512
|
+
return Ri({ width: e, height: t, color: l, className: a, onClick: h });
|
5677
5513
|
default:
|
5678
5514
|
return /* @__PURE__ */ r(i1, { children: "No Icon provided" });
|
5679
5515
|
}
|
5680
5516
|
})() });
|
5681
5517
|
};
|
5682
5518
|
var f1 = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_1 = "var(--grey-light-1)", i.GREY_LIGHT_2 = "var(--grey-light-2)", i.GREY_LIGHT_3 = "var(--grey-light-3)", i.GREY_LIGHT_4 = "var(--grey-light-4)", i.GREY_DARK_1 = "var(--grey-dark-1)", i.GREY_DARK_2 = "var(--grey-dark-2)", i.GREY_DARK_3 = "var(--grey-dark-3)", i.GREY_DARK_4 = "var(--grey-dark-4)", i.GREY_DARK_5 = "var(--grey-dark-5)", i.BLUE_PRIMARY = "var(--blue-primary)", i.BLUE_HOVER = "var(--blue-hover)", i.BLUE_LIGHT_1 = "var(--blue-light-1)", i.BLUE_LIGHT_2 = "var(--blue-light-2)", i.BLUE_LIGHT_3 = "var(--blue-light-3)", i.BLUE_LIGHT_4 = "var(--blue-light-4)", i.BLUE_DARK_1 = "var(--blue-dark-1)", i.PURPLE_LIGHT = "var(--purple-light)", i.PURPLE_DARK = "var(--purple-dark)", i.NOTIFICATION_WARNING_LIGHT = "var(--notification-warning-light)", i.NOTIFICATION_WARNING_DARK = "var(--notification-warning-dark)", i.NOTIFICATION_SUCCESS_LIGHT = "var(--notification-success-light)", i.NOTIFICATION_SUCCESS_DARK = "var(--notification-success-dark)", i.NOTIFICATION_ERROR_LIGHT = "var(--notification-error-light)", i.NOTIFICATION_ERROR_DARK = "var(--notification-error-dark)", i.NOTIFICATION_ERROR_DARK_MODE = "var(--notification-error-dark-mode)", i))(f1 || {});
|
5683
|
-
const
|
5519
|
+
const bi = d1({
|
5684
5520
|
locale: "en",
|
5685
5521
|
theme: "light"
|
5686
5522
|
});
|
5687
|
-
|
5523
|
+
bi.Provider;
|
5688
5524
|
const ce = ({
|
5689
5525
|
children: i,
|
5690
5526
|
width: e,
|
@@ -5701,7 +5537,7 @@ const ce = ({
|
|
5701
5537
|
{
|
5702
5538
|
className: `snmt-tag ${t} ${o ? "disabled" : ""}`,
|
5703
5539
|
closeIcon: /* @__PURE__ */ r(
|
5704
|
-
|
5540
|
+
yi,
|
5705
5541
|
{
|
5706
5542
|
name: "errorSmall",
|
5707
5543
|
color: o ? f1.GREY_DARK_1 : f1.GREY_DARK_2,
|
@@ -5714,7 +5550,7 @@ const ce = ({
|
|
5714
5550
|
style: { width: e ?? "fit-content" },
|
5715
5551
|
closable: n,
|
5716
5552
|
children: typeof i == "string" ? /* @__PURE__ */ r(
|
5717
|
-
|
5553
|
+
g2,
|
5718
5554
|
{
|
5719
5555
|
variant: t === "small" ? "body4" : "body2",
|
5720
5556
|
color: o ? f1.GREY_DARK_2 : f1.GREY_DARK_5,
|
@@ -5723,12 +5559,12 @@ const ce = ({
|
|
5723
5559
|
) : i
|
5724
5560
|
}
|
5725
5561
|
);
|
5726
|
-
}, { Title:
|
5562
|
+
}, { Title: Ei, Text: _i } = re, Hi = {
|
5727
5563
|
h1: 1,
|
5728
5564
|
h2: 2,
|
5729
5565
|
h3: 3,
|
5730
5566
|
h4: 4
|
5731
|
-
},
|
5567
|
+
}, Ii = k1(
|
5732
5568
|
({
|
5733
5569
|
align: i = "inherit",
|
5734
5570
|
variant: e = "body1",
|
@@ -5741,17 +5577,17 @@ const ce = ({
|
|
5741
5577
|
const d = e === "h1" || e === "h2" || e === "h3" || e === "h4";
|
5742
5578
|
let g = `snmt-typography snmt-typography-${e}`;
|
5743
5579
|
return i && i !== "inherit" && (g += ` snmt-typography-align-${i}`), o && (g += " collapsed"), d ? /* @__PURE__ */ r(
|
5744
|
-
|
5580
|
+
Ei,
|
5745
5581
|
{
|
5746
5582
|
className: g,
|
5747
5583
|
style: { color: t, whiteSpace: c },
|
5748
5584
|
onClick: n,
|
5749
|
-
level:
|
5585
|
+
level: Hi[e],
|
5750
5586
|
ref: a,
|
5751
5587
|
children: s
|
5752
5588
|
}
|
5753
5589
|
) : /* @__PURE__ */ r(
|
5754
|
-
|
5590
|
+
_i,
|
5755
5591
|
{
|
5756
5592
|
className: g,
|
5757
5593
|
style: { color: t, whiteSpace: c },
|
@@ -5761,7 +5597,7 @@ const ce = ({
|
|
5761
5597
|
}
|
5762
5598
|
);
|
5763
5599
|
}
|
5764
|
-
),
|
5600
|
+
), Oi = ({
|
5765
5601
|
children: i,
|
5766
5602
|
content: e,
|
5767
5603
|
isOpen: t,
|
@@ -5786,18 +5622,18 @@ const ce = ({
|
|
5786
5622
|
}
|
5787
5623
|
);
|
5788
5624
|
};
|
5789
|
-
var
|
5625
|
+
var Si = { exports: {} };
|
5790
5626
|
(function(i, e) {
|
5791
5627
|
(function(t, s) {
|
5792
5628
|
i.exports = s();
|
5793
|
-
})(
|
5629
|
+
})(He, function() {
|
5794
5630
|
return { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(t) {
|
5795
5631
|
var s = ["th", "st", "nd", "rd"], n = t % 100;
|
5796
5632
|
return "[" + t + (s[(n - 20) % 10] || s[n] || s[0]) + "]";
|
5797
5633
|
} };
|
5798
5634
|
});
|
5799
|
-
})(
|
5800
|
-
const
|
5635
|
+
})(Si);
|
5636
|
+
const Vi = ({
|
5801
5637
|
values: i,
|
5802
5638
|
onTagClose: e,
|
5803
5639
|
maxWidth: t,
|
@@ -5807,7 +5643,7 @@ const ji = ({
|
|
5807
5643
|
extraOptions: c
|
5808
5644
|
}) => {
|
5809
5645
|
const { locale: a } = r1(T1), { t: d } = Ye("common", { lng: a }), [g, l] = A(!1);
|
5810
|
-
if (
|
5646
|
+
if (B(() => {
|
5811
5647
|
i.length || l(!1);
|
5812
5648
|
}, [i]), !i.length)
|
5813
5649
|
return null;
|
@@ -5816,7 +5652,7 @@ const ji = ({
|
|
5816
5652
|
return ((p = o == null ? void 0 : o.find((x) => x.value === u)) == null ? void 0 : p.label) || ((v = c == null ? void 0 : c.find((x) => x.value === u)) == null ? void 0 : v.label) || u;
|
5817
5653
|
};
|
5818
5654
|
return /* @__PURE__ */ C(
|
5819
|
-
|
5655
|
+
Oi,
|
5820
5656
|
{
|
5821
5657
|
content: (
|
5822
5658
|
// 90: paddings + margins + gaps and so on
|
@@ -5868,14 +5704,14 @@ const ji = ({
|
|
5868
5704
|
onPopupScroll: v,
|
5869
5705
|
id: x,
|
5870
5706
|
extraOptions: L,
|
5871
|
-
dropdownRender:
|
5707
|
+
dropdownRender: _,
|
5872
5708
|
optionRender: M,
|
5873
|
-
isLoading:
|
5709
|
+
isLoading: H,
|
5874
5710
|
readOnly: f,
|
5875
|
-
error:
|
5711
|
+
error: m
|
5876
5712
|
}, N) => {
|
5877
|
-
const [
|
5878
|
-
|
5713
|
+
const [w, I] = A(!1), [T, Z] = A(!1), [G, Q] = A(!0), [O, K] = A(i), U = Y(null);
|
5714
|
+
B(() => {
|
5879
5715
|
K(i);
|
5880
5716
|
}, [i]);
|
5881
5717
|
const q = (k) => {
|
@@ -5883,7 +5719,7 @@ const ji = ({
|
|
5883
5719
|
}, X = (k, y) => {
|
5884
5720
|
var V;
|
5885
5721
|
return !!((V = y == null ? void 0 : y.label) != null && V.toString().toLowerCase().includes(k.toLowerCase()));
|
5886
|
-
},
|
5722
|
+
}, j = () => {
|
5887
5723
|
Z(!0);
|
5888
5724
|
}, $ = () => {
|
5889
5725
|
Z(!1);
|
@@ -5936,7 +5772,7 @@ const ji = ({
|
|
5936
5772
|
(k) => {
|
5937
5773
|
var y;
|
5938
5774
|
return /* @__PURE__ */ r(
|
5939
|
-
|
5775
|
+
Vi,
|
5940
5776
|
{
|
5941
5777
|
values: k,
|
5942
5778
|
onTagClose: t1,
|
@@ -5980,7 +5816,7 @@ const ji = ({
|
|
5980
5816
|
},
|
5981
5817
|
mode: s === "filter" ? "multiple" : s,
|
5982
5818
|
onChange: P,
|
5983
|
-
onFocus:
|
5819
|
+
onFocus: j,
|
5984
5820
|
onBlur: $,
|
5985
5821
|
onSearch: (k) => {
|
5986
5822
|
Q(!k), h && h(k);
|
@@ -5991,7 +5827,7 @@ const ji = ({
|
|
5991
5827
|
maxTagCount: "responsive",
|
5992
5828
|
maxTagPlaceholder: N1,
|
5993
5829
|
onPopupScroll: v1,
|
5994
|
-
prefix:
|
5830
|
+
prefix: H && /* @__PURE__ */ r(W1, { size: 15 }),
|
5995
5831
|
suffixIcon: /* @__PURE__ */ r("div", { className: "wrapper-suffix-icon", children: s !== "filter" && /* @__PURE__ */ C(i1, { children: [
|
5996
5832
|
O && !!O.length && (s || g) && /* @__PURE__ */ r(
|
5997
5833
|
"div",
|
@@ -6014,8 +5850,8 @@ const ji = ({
|
|
6014
5850
|
{
|
6015
5851
|
name: "selectArrowIcon",
|
6016
5852
|
color: a ? z.GREY_DARK_1 : z.GREY_DARK_5,
|
6017
|
-
className:
|
6018
|
-
onClick: () => I(!
|
5853
|
+
className: w ? "select-arrow-rotated" : "select-arrow",
|
5854
|
+
onClick: () => I(!w)
|
6019
5855
|
}
|
6020
5856
|
)
|
6021
5857
|
] }) }),
|
@@ -6045,8 +5881,8 @@ const ji = ({
|
|
6045
5881
|
)
|
6046
5882
|
] }),
|
6047
5883
|
dropdownRender: (k) => /* @__PURE__ */ C("div", { className: "dropdown-container", children: [
|
6048
|
-
/* @__PURE__ */ r("div", { className: "dropdown-menu", children:
|
6049
|
-
|
5884
|
+
/* @__PURE__ */ r("div", { className: "dropdown-menu", children: _ ? _(k) : k }),
|
5885
|
+
H && /* @__PURE__ */ r("div", { className: "loading-overlay", children: /* @__PURE__ */ r(W1, { size: 28 }) })
|
6050
5886
|
] })
|
6051
5887
|
}
|
6052
5888
|
),
|
@@ -6054,14 +5890,14 @@ const ji = ({
|
|
6054
5890
|
/* @__PURE__ */ r(
|
6055
5891
|
"label",
|
6056
5892
|
{
|
6057
|
-
className: `${T || F ? "label-floating" : ""} ${a ? "label-disabled" : ""} ${T ? "label-focused" : ""} ${
|
5893
|
+
className: `${T || F ? "label-floating" : ""} ${a ? "label-disabled" : ""} ${T ? "label-focused" : ""} ${H ? "label-loading" : ""} ${m ? "label-error" : ""}`,
|
6058
5894
|
children: d ? `${t}*` : t
|
6059
5895
|
}
|
6060
5896
|
),
|
6061
5897
|
/* @__PURE__ */ r(
|
6062
5898
|
"fieldset",
|
6063
5899
|
{
|
6064
|
-
className: `${T ? "fieldset-focused" : ""} ${a ? "fieldset-disabled" : ""} ${F ? "fieldset-filled" : ""} ${
|
5900
|
+
className: `${T ? "fieldset-focused" : ""} ${a ? "fieldset-disabled" : ""} ${F ? "fieldset-filled" : ""} ${m ? "fieldset-error" : ""}`,
|
6065
5901
|
children: /* @__PURE__ */ r("legend", { children: /* @__PURE__ */ r("span", { children: d ? `${t}*` : t }) })
|
6066
5902
|
}
|
6067
5903
|
)
|
@@ -6069,16 +5905,16 @@ const ji = ({
|
|
6069
5905
|
]
|
6070
5906
|
}
|
6071
5907
|
),
|
6072
|
-
|
5908
|
+
m && /* @__PURE__ */ C(p1, { justifyContent: "flex-start", gap: 6, children: [
|
6073
5909
|
/* @__PURE__ */ r(u1, { name: "attention", color: z.NOTIFICATION_ERROR_DARK }),
|
6074
|
-
typeof
|
5910
|
+
typeof m == "string" ? /* @__PURE__ */ r(Ii, { color: z.NOTIFICATION_ERROR_DARK, variant: "body4", children: m }) : m
|
6075
5911
|
] })
|
6076
5912
|
] });
|
6077
5913
|
}
|
6078
5914
|
);
|
6079
|
-
function
|
5915
|
+
function Ai(i, e = 500) {
|
6080
5916
|
const t = Y();
|
6081
|
-
return
|
5917
|
+
return B(() => () => {
|
6082
5918
|
t.current && clearTimeout(t.current);
|
6083
5919
|
}, []), (...s) => {
|
6084
5920
|
const n = setTimeout(() => {
|
@@ -6089,13 +5925,13 @@ function Zi(i, e = 500) {
|
|
6089
5925
|
}
|
6090
5926
|
function K1(i) {
|
6091
5927
|
const e = Y(i);
|
6092
|
-
return
|
5928
|
+
return B(() => {
|
6093
5929
|
e.current = i;
|
6094
5930
|
}, [i]), e.current;
|
6095
5931
|
}
|
6096
|
-
const
|
5932
|
+
const _1 = 100, l1 = {
|
6097
5933
|
offset: 0
|
6098
|
-
},
|
5934
|
+
}, Ti = k1(
|
6099
5935
|
({
|
6100
5936
|
loadOptions: i,
|
6101
5937
|
width: e,
|
@@ -6114,14 +5950,14 @@ const H1 = 100, l1 = {
|
|
6114
5950
|
dropdownRender: v,
|
6115
5951
|
readOnly: x,
|
6116
5952
|
clearable: L = !1,
|
6117
|
-
required:
|
5953
|
+
required: _ = !1,
|
6118
5954
|
error: M
|
6119
|
-
},
|
6120
|
-
const [f,
|
5955
|
+
}, H) => {
|
5956
|
+
const [f, m] = A(), [N, w] = A(l1), [I, T] = A(!1), [Z, G] = A(), [Q, O] = A(!1), [K, U] = A(
|
6121
5957
|
h ?? []
|
6122
|
-
), q = K1(N.offset), X = K1(Z), [
|
5958
|
+
), q = K1(N.offset), X = K1(Z), [j, $] = A(!1), P = Y(!1), e1 = D(
|
6123
5959
|
async ({
|
6124
|
-
limit: S =
|
5960
|
+
limit: S = _1,
|
6125
5961
|
offset: F,
|
6126
5962
|
search: k
|
6127
5963
|
}) => {
|
@@ -6132,9 +5968,9 @@ const H1 = 100, l1 = {
|
|
6132
5968
|
offset: F,
|
6133
5969
|
search: k
|
6134
5970
|
});
|
6135
|
-
|
5971
|
+
m(
|
6136
5972
|
(V) => F === 0 ? y.options : [...V ?? [], ...y.options]
|
6137
|
-
),
|
5973
|
+
), w((V) => ({
|
6138
5974
|
...V,
|
6139
5975
|
count: y.count
|
6140
5976
|
}));
|
@@ -6145,30 +5981,30 @@ const H1 = 100, l1 = {
|
|
6145
5981
|
}
|
6146
5982
|
},
|
6147
5983
|
[i]
|
6148
|
-
), t1 =
|
6149
|
-
G(S), S ||
|
5984
|
+
), t1 = Ai((S) => {
|
5985
|
+
G(S), S || w(l1);
|
6150
5986
|
}), g1 = D(
|
6151
5987
|
(S) => t1(S),
|
6152
5988
|
[t1]
|
6153
5989
|
), L1 = D(
|
6154
5990
|
async (S) => {
|
6155
|
-
I || S && N.count && N.count > ((f == null ? void 0 : f.length) ?? 0) &&
|
5991
|
+
I || S && N.count && N.count > ((f == null ? void 0 : f.length) ?? 0) && w((F) => ({
|
6156
5992
|
...F,
|
6157
|
-
offset: F.offset +
|
5993
|
+
offset: F.offset + _1
|
6158
5994
|
}));
|
6159
5995
|
},
|
6160
5996
|
[I, f == null ? void 0 : f.length, N.count]
|
6161
5997
|
), v1 = D(
|
6162
5998
|
(S) => {
|
6163
|
-
O(S), !S && Z && (G(void 0),
|
5999
|
+
O(S), !S && Z && (G(void 0), w(l1), $(!0)), u == null || u(S);
|
6164
6000
|
},
|
6165
6001
|
[u, Z]
|
6166
6002
|
);
|
6167
|
-
|
6168
|
-
!P.current || I || (
|
6169
|
-
}, [
|
6003
|
+
B(() => {
|
6004
|
+
!P.current || I || (j || Q && (q !== N.offset || X !== Z || !f)) && (e1({ offset: N.offset, limit: _1, search: Z }), j && $(!1));
|
6005
|
+
}, [j, Q, N.offset, Z, q, X, f, I]), B(() => {
|
6170
6006
|
(g || l) && e1(l1), P.current = !0;
|
6171
|
-
}, []),
|
6007
|
+
}, []), B(() => {
|
6172
6008
|
h && U((S) => {
|
6173
6009
|
const F = h.filter(
|
6174
6010
|
(k) => !S.some((y) => y.value === k.value)
|
@@ -6193,7 +6029,7 @@ const H1 = 100, l1 = {
|
|
6193
6029
|
label: (a1 == null ? void 0 : a1.label) ?? V
|
6194
6030
|
};
|
6195
6031
|
})
|
6196
|
-
]), G(void 0),
|
6032
|
+
]), G(void 0), w(l1), $(!0);
|
6197
6033
|
}
|
6198
6034
|
},
|
6199
6035
|
[t, Z, d, f, K]
|
@@ -6203,7 +6039,7 @@ const H1 = 100, l1 = {
|
|
6203
6039
|
width: e,
|
6204
6040
|
options: f || [],
|
6205
6041
|
onChange: o1,
|
6206
|
-
ref:
|
6042
|
+
ref: H,
|
6207
6043
|
placeholder: a,
|
6208
6044
|
search: !0,
|
6209
6045
|
value: s,
|
@@ -6218,7 +6054,7 @@ const H1 = 100, l1 = {
|
|
6218
6054
|
dropdownRender: v,
|
6219
6055
|
readOnly: x,
|
6220
6056
|
clearable: L,
|
6221
|
-
required:
|
6057
|
+
required: _,
|
6222
6058
|
error: M
|
6223
6059
|
}),
|
6224
6060
|
[
|
@@ -6226,7 +6062,7 @@ const H1 = 100, l1 = {
|
|
6226
6062
|
e,
|
6227
6063
|
f,
|
6228
6064
|
o1,
|
6229
|
-
|
6065
|
+
H,
|
6230
6066
|
a,
|
6231
6067
|
s,
|
6232
6068
|
g1,
|
@@ -6240,13 +6076,13 @@ const H1 = 100, l1 = {
|
|
6240
6076
|
v,
|
6241
6077
|
x,
|
6242
6078
|
L,
|
6243
|
-
|
6079
|
+
_,
|
6244
6080
|
M
|
6245
6081
|
]
|
6246
6082
|
);
|
6247
|
-
return ne(
|
6083
|
+
return ne(H, () => ({
|
6248
6084
|
refetchOptions: async () => {
|
6249
|
-
|
6085
|
+
w(l1), G(void 0), $(!0);
|
6250
6086
|
}
|
6251
6087
|
})), d ? /* @__PURE__ */ r(G1, { ...N1, value: s, mode: d }) : /* @__PURE__ */ r("div", { className: "snmt-async-select", children: /* @__PURE__ */ r(G1, { ...N1, value: s }) });
|
6252
6088
|
}
|
@@ -6256,11 +6092,11 @@ const H1 = 100, l1 = {
|
|
6256
6092
|
i = s, e = n;
|
6257
6093
|
});
|
6258
6094
|
return t.resolve = i, t.reject = e, t;
|
6259
|
-
}, P1 = (i) => i == null ? "" : "" + i,
|
6095
|
+
}, P1 = (i) => i == null ? "" : "" + i, ji = (i, e, t) => {
|
6260
6096
|
i.forEach((s) => {
|
6261
6097
|
e[s] && (t[s] = e[s]);
|
6262
6098
|
});
|
6263
|
-
},
|
6099
|
+
}, Bi = /###/g, $1 = (i) => i && i.indexOf("###") > -1 ? i.replace(Bi, ".") : i, F1 = (i) => !i || R(i), m1 = (i, e, t) => {
|
6264
6100
|
const s = R(e) ? e.split(".") : e;
|
6265
6101
|
let n = 0;
|
6266
6102
|
for (; n < s.length - 1; ) {
|
@@ -6276,29 +6112,29 @@ const H1 = 100, l1 = {
|
|
6276
6112
|
const {
|
6277
6113
|
obj: s,
|
6278
6114
|
k: n
|
6279
|
-
} =
|
6115
|
+
} = m1(i, e, Object);
|
6280
6116
|
if (s !== void 0 || e.length === 1) {
|
6281
6117
|
s[n] = t;
|
6282
6118
|
return;
|
6283
6119
|
}
|
6284
|
-
let o = e[e.length - 1], c = e.slice(0, e.length - 1), a =
|
6120
|
+
let o = e[e.length - 1], c = e.slice(0, e.length - 1), a = m1(i, c, Object);
|
6285
6121
|
for (; a.obj === void 0 && c.length; )
|
6286
|
-
o = `${c[c.length - 1]}.${o}`, c = c.slice(0, c.length - 1), a =
|
6122
|
+
o = `${c[c.length - 1]}.${o}`, c = c.slice(0, c.length - 1), a = m1(i, c, Object), a && a.obj && typeof a.obj[`${a.k}.${o}`] < "u" && (a.obj = void 0);
|
6287
6123
|
a.obj[`${a.k}.${o}`] = t;
|
6288
|
-
},
|
6124
|
+
}, Zi = (i, e, t, s) => {
|
6289
6125
|
const {
|
6290
6126
|
obj: n,
|
6291
6127
|
k: o
|
6292
|
-
} =
|
6128
|
+
} = m1(i, e, Object);
|
6293
6129
|
n[o] = n[o] || [], n[o].push(t);
|
6294
6130
|
}, R1 = (i, e) => {
|
6295
6131
|
const {
|
6296
6132
|
obj: t,
|
6297
6133
|
k: s
|
6298
|
-
} =
|
6134
|
+
} = m1(i, e);
|
6299
6135
|
if (t)
|
6300
6136
|
return t[s];
|
6301
|
-
},
|
6137
|
+
}, Di = (i, e, t) => {
|
6302
6138
|
const s = R1(i, t);
|
6303
6139
|
return s !== void 0 ? s : R1(e, t);
|
6304
6140
|
}, de = (i, e, t) => {
|
@@ -6306,7 +6142,7 @@ const H1 = 100, l1 = {
|
|
6306
6142
|
s !== "__proto__" && s !== "constructor" && (s in i ? R(i[s]) || i[s] instanceof String || R(e[s]) || e[s] instanceof String ? t && (i[s] = e[s]) : de(i[s], e[s], t) : i[s] = e[s]);
|
6307
6143
|
return i;
|
6308
6144
|
}, h1 = (i) => i.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
|
6309
|
-
var
|
6145
|
+
var Wi = {
|
6310
6146
|
"&": "&",
|
6311
6147
|
"<": "<",
|
6312
6148
|
">": ">",
|
@@ -6314,8 +6150,8 @@ var $i = {
|
|
6314
6150
|
"'": "'",
|
6315
6151
|
"/": "/"
|
6316
6152
|
};
|
6317
|
-
const
|
6318
|
-
class
|
6153
|
+
const Gi = (i) => R(i) ? i.replace(/[&<>"'\/]/g, (e) => Wi[e]) : i;
|
6154
|
+
class Ki {
|
6319
6155
|
constructor(e) {
|
6320
6156
|
this.capacity = e, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = [];
|
6321
6157
|
}
|
@@ -6327,11 +6163,11 @@ class Yi {
|
|
6327
6163
|
return this.regExpQueue.length === this.capacity && this.regExpMap.delete(this.regExpQueue.shift()), this.regExpMap.set(e, s), this.regExpQueue.push(e), s;
|
6328
6164
|
}
|
6329
6165
|
}
|
6330
|
-
const
|
6166
|
+
const Pi = [" ", ",", "?", "!", ";"], $i = new Ki(20), Fi = (i, e, t) => {
|
6331
6167
|
e = e || "", t = t || "";
|
6332
|
-
const s =
|
6168
|
+
const s = Pi.filter((c) => e.indexOf(c) < 0 && t.indexOf(c) < 0);
|
6333
6169
|
if (s.length === 0) return !0;
|
6334
|
-
const n =
|
6170
|
+
const n = $i.getRegExp(`(${s.map((c) => c === "?" ? "\\?" : c).join("|")})`);
|
6335
6171
|
let o = !n.test(i);
|
6336
6172
|
if (!o) {
|
6337
6173
|
const c = i.indexOf(t);
|
@@ -6358,7 +6194,7 @@ const Ui = [" ", ",", "?", "!", ";"], zi = new Yi(20), Ji = (i, e, t) => {
|
|
6358
6194
|
n = c;
|
6359
6195
|
}
|
6360
6196
|
return n;
|
6361
|
-
}, M1 = (i) => i && i.replace("_", "-"),
|
6197
|
+
}, M1 = (i) => i && i.replace("_", "-"), Yi = {
|
6362
6198
|
type: "logger",
|
6363
6199
|
log(i) {
|
6364
6200
|
this.output("log", i);
|
@@ -6380,7 +6216,7 @@ class y1 {
|
|
6380
6216
|
}
|
6381
6217
|
init(e) {
|
6382
6218
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
6383
|
-
this.prefix = t.prefix || "i18next:", this.logger = e ||
|
6219
|
+
this.prefix = t.prefix || "i18next:", this.logger = e || Yi, this.options = t, this.debug = t.debug;
|
6384
6220
|
}
|
6385
6221
|
log() {
|
6386
6222
|
for (var e = arguments.length, t = new Array(e), s = 0; s < e; s++)
|
@@ -6540,7 +6376,7 @@ const z1 = {};
|
|
6540
6376
|
class b1 extends E1 {
|
6541
6377
|
constructor(e) {
|
6542
6378
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
6543
|
-
super(),
|
6379
|
+
super(), ji(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = J.create("translator");
|
6544
6380
|
}
|
6545
6381
|
changeLanguage(e) {
|
6546
6382
|
e && (this.language = e);
|
@@ -6559,7 +6395,7 @@ class b1 extends E1 {
|
|
6559
6395
|
s === void 0 && (s = ":");
|
6560
6396
|
const n = t.keySeparator !== void 0 ? t.keySeparator : this.options.keySeparator;
|
6561
6397
|
let o = t.ns || this.options.defaultNS || [];
|
6562
|
-
const c = s && e.indexOf(s) > -1, a = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !
|
6398
|
+
const c = s && e.indexOf(s) > -1, a = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !Fi(e, s, n);
|
6563
6399
|
if (c && !a) {
|
6564
6400
|
const d = e.match(this.interpolator.nestingRegexp);
|
6565
6401
|
if (d && d.length > 0)
|
@@ -6607,8 +6443,8 @@ class b1 extends E1 {
|
|
6607
6443
|
}
|
6608
6444
|
const h = this.resolve(e, t);
|
6609
6445
|
let u = h && h.res;
|
6610
|
-
const p = h && h.usedKey || c, v = h && h.exactUsedKey || c, x = Object.prototype.toString.apply(u), L = ["[object Number]", "[object Function]", "[object RegExp]"],
|
6611
|
-
if (M && u &&
|
6446
|
+
const p = h && h.usedKey || c, v = h && h.exactUsedKey || c, x = Object.prototype.toString.apply(u), L = ["[object Number]", "[object Function]", "[object RegExp]"], _ = t.joinArrays !== void 0 ? t.joinArrays : this.options.joinArrays, M = !this.i18nFormat || this.i18nFormat.handleAsObject, H = !R(u) && typeof u != "boolean" && typeof u != "number";
|
6447
|
+
if (M && u && H && L.indexOf(x) < 0 && !(R(_) && Array.isArray(u))) {
|
6612
6448
|
if (!t.returnObjects && !this.options.returnObjects) {
|
6613
6449
|
this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
|
6614
6450
|
const f = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(p, u, {
|
@@ -6618,53 +6454,53 @@ class b1 extends E1 {
|
|
6618
6454
|
return n ? (h.res = f, h.usedParams = this.getUsedParamsDetails(t), h) : f;
|
6619
6455
|
}
|
6620
6456
|
if (o) {
|
6621
|
-
const f = Array.isArray(u),
|
6622
|
-
for (const
|
6623
|
-
if (Object.prototype.hasOwnProperty.call(u,
|
6624
|
-
const I = `${N}${o}${
|
6625
|
-
w
|
6457
|
+
const f = Array.isArray(u), m = f ? [] : {}, N = f ? v : p;
|
6458
|
+
for (const w in u)
|
6459
|
+
if (Object.prototype.hasOwnProperty.call(u, w)) {
|
6460
|
+
const I = `${N}${o}${w}`;
|
6461
|
+
m[w] = this.translate(I, {
|
6626
6462
|
...t,
|
6627
6463
|
joinArrays: !1,
|
6628
6464
|
ns: a
|
6629
|
-
}), w
|
6465
|
+
}), m[w] === I && (m[w] = u[w]);
|
6630
6466
|
}
|
6631
|
-
u =
|
6467
|
+
u = m;
|
6632
6468
|
}
|
6633
|
-
} else if (M && R(
|
6634
|
-
u = u.join(
|
6469
|
+
} else if (M && R(_) && Array.isArray(u))
|
6470
|
+
u = u.join(_), u && (u = this.extendTranslation(u, e, t, s));
|
6635
6471
|
else {
|
6636
|
-
let f = !1,
|
6637
|
-
const N = t.count !== void 0 && !R(t.count),
|
6472
|
+
let f = !1, m = !1;
|
6473
|
+
const N = t.count !== void 0 && !R(t.count), w = b1.hasDefaultValue(t), I = N ? this.pluralResolver.getSuffix(g, t.count, t) : "", T = t.ordinal && N ? this.pluralResolver.getSuffix(g, t.count, {
|
6638
6474
|
ordinal: !1
|
6639
6475
|
}) : "", Z = N && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), G = Z && t[`defaultValue${this.options.pluralSeparator}zero`] || t[`defaultValue${I}`] || t[`defaultValue${T}`] || t.defaultValue;
|
6640
|
-
!this.isValidLookup(u) &&
|
6641
|
-
const O = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) &&
|
6642
|
-
if (
|
6476
|
+
!this.isValidLookup(u) && w && (f = !0, u = G), this.isValidLookup(u) || (m = !0, u = c);
|
6477
|
+
const O = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && m ? void 0 : u, K = w && G !== u && this.options.updateMissing;
|
6478
|
+
if (m || f || K) {
|
6643
6479
|
if (this.logger.log(K ? "updateKey" : "missingKey", g, d, c, K ? G : u), o) {
|
6644
|
-
const
|
6480
|
+
const j = this.resolve(c, {
|
6645
6481
|
...t,
|
6646
6482
|
keySeparator: !1
|
6647
6483
|
});
|
6648
|
-
|
6484
|
+
j && j.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.");
|
6649
6485
|
}
|
6650
6486
|
let U = [];
|
6651
6487
|
const q = this.languageUtils.getFallbackCodes(this.options.fallbackLng, t.lng || this.language);
|
6652
6488
|
if (this.options.saveMissingTo === "fallback" && q && q[0])
|
6653
|
-
for (let
|
6654
|
-
U.push(q[
|
6489
|
+
for (let j = 0; j < q.length; j++)
|
6490
|
+
U.push(q[j]);
|
6655
6491
|
else this.options.saveMissingTo === "all" ? U = this.languageUtils.toResolveHierarchy(t.lng || this.language) : U.push(t.lng || this.language);
|
6656
|
-
const X = (
|
6657
|
-
const e1 =
|
6658
|
-
this.options.missingKeyHandler ? this.options.missingKeyHandler(
|
6492
|
+
const X = (j, $, P) => {
|
6493
|
+
const e1 = w && P !== u ? P : O;
|
6494
|
+
this.options.missingKeyHandler ? this.options.missingKeyHandler(j, d, $, e1, K, t) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(j, d, $, e1, K, t), this.emit("missingKey", j, d, $, u);
|
6659
6495
|
};
|
6660
|
-
this.options.saveMissing && (this.options.saveMissingPlurals && N ? U.forEach((
|
6661
|
-
const $ = this.pluralResolver.getSuffixes(
|
6496
|
+
this.options.saveMissing && (this.options.saveMissingPlurals && N ? U.forEach((j) => {
|
6497
|
+
const $ = this.pluralResolver.getSuffixes(j, t);
|
6662
6498
|
Z && t[`defaultValue${this.options.pluralSeparator}zero`] && $.indexOf(`${this.options.pluralSeparator}zero`) < 0 && $.push(`${this.options.pluralSeparator}zero`), $.forEach((P) => {
|
6663
|
-
X([
|
6499
|
+
X([j], c + P, t[`defaultValue${P}`] || G);
|
6664
6500
|
});
|
6665
6501
|
}) : X(U, c, G));
|
6666
6502
|
}
|
6667
|
-
u = this.extendTranslation(u, e, t, h, s),
|
6503
|
+
u = this.extendTranslation(u, e, t, h, s), m && u === c && this.options.appendNamespaceToMissingKey && (u = `${d}:${c}`), (m || f) && this.options.parseMissingKeyHandler && (this.options.compatibilityAPI !== "v1" ? u = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${d}:${c}` : c, f ? u : void 0) : u = this.options.parseMissingKeyHandler(u));
|
6668
6504
|
}
|
6669
6505
|
return n ? (h.res = u, h.usedParams = this.getUsedParamsDetails(t), h) : u;
|
6670
6506
|
}
|
@@ -6724,24 +6560,24 @@ class b1 extends E1 {
|
|
6724
6560
|
this.options.fallbackNS && (h = h.concat(this.options.fallbackNS));
|
6725
6561
|
const u = t.count !== void 0 && !R(t.count), p = u && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), v = t.context !== void 0 && (R(t.context) || typeof t.context == "number") && t.context !== "", x = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
|
6726
6562
|
h.forEach((L) => {
|
6727
|
-
this.isValidLookup(s) || (a = L, !z1[`${x[0]}-${L}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(a) && (z1[`${x[0]}-${L}`] = !0, this.logger.warn(`key "${n}" for languages "${x.join(", ")}" won't get resolved as namespace "${a}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), x.forEach((
|
6563
|
+
this.isValidLookup(s) || (a = L, !z1[`${x[0]}-${L}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(a) && (z1[`${x[0]}-${L}`] = !0, this.logger.warn(`key "${n}" for languages "${x.join(", ")}" won't get resolved as namespace "${a}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), x.forEach((_) => {
|
6728
6564
|
if (this.isValidLookup(s)) return;
|
6729
|
-
c =
|
6565
|
+
c = _;
|
6730
6566
|
const M = [l];
|
6731
6567
|
if (this.i18nFormat && this.i18nFormat.addLookupKeys)
|
6732
|
-
this.i18nFormat.addLookupKeys(M, l,
|
6568
|
+
this.i18nFormat.addLookupKeys(M, l, _, L, t);
|
6733
6569
|
else {
|
6734
6570
|
let f;
|
6735
|
-
u && (f = this.pluralResolver.getSuffix(
|
6736
|
-
const
|
6737
|
-
if (u && (M.push(l + f), t.ordinal && f.indexOf(N) === 0 && M.push(l + f.replace(N, this.options.pluralSeparator)), p && M.push(l +
|
6738
|
-
const
|
6739
|
-
M.push(
|
6571
|
+
u && (f = this.pluralResolver.getSuffix(_, t.count, t));
|
6572
|
+
const m = `${this.options.pluralSeparator}zero`, N = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
|
6573
|
+
if (u && (M.push(l + f), t.ordinal && f.indexOf(N) === 0 && M.push(l + f.replace(N, this.options.pluralSeparator)), p && M.push(l + m)), v) {
|
6574
|
+
const w = `${l}${this.options.contextSeparator}${t.context}`;
|
6575
|
+
M.push(w), u && (M.push(w + f), t.ordinal && f.indexOf(N) === 0 && M.push(w + f.replace(N, this.options.pluralSeparator)), p && M.push(w + m));
|
6740
6576
|
}
|
6741
6577
|
}
|
6742
|
-
let
|
6743
|
-
for (;
|
6744
|
-
this.isValidLookup(s) || (o =
|
6578
|
+
let H;
|
6579
|
+
for (; H = M.pop(); )
|
6580
|
+
this.isValidLookup(s) || (o = H, s = this.getResource(_, L, H, t));
|
6745
6581
|
}));
|
6746
6582
|
});
|
6747
6583
|
}), {
|
@@ -6783,7 +6619,7 @@ class b1 extends E1 {
|
|
6783
6619
|
return !1;
|
6784
6620
|
}
|
6785
6621
|
}
|
6786
|
-
const
|
6622
|
+
const H1 = (i) => i.charAt(0).toUpperCase() + i.slice(1);
|
6787
6623
|
class J1 {
|
6788
6624
|
constructor(e) {
|
6789
6625
|
this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = J.create("languageUtils");
|
@@ -6808,7 +6644,7 @@ class J1 {
|
|
6808
6644
|
}
|
6809
6645
|
const t = ["hans", "hant", "latn", "cyrl", "cans", "mong", "arab"];
|
6810
6646
|
let s = e.split("-");
|
6811
|
-
return this.options.lowerCaseLng ? s = s.map((n) => n.toLowerCase()) : s.length === 2 ? (s[0] = s[0].toLowerCase(), s[1] = s[1].toUpperCase(), t.indexOf(s[1].toLowerCase()) > -1 && (s[1] =
|
6647
|
+
return this.options.lowerCaseLng ? s = s.map((n) => n.toLowerCase()) : s.length === 2 ? (s[0] = s[0].toLowerCase(), s[1] = s[1].toUpperCase(), t.indexOf(s[1].toLowerCase()) > -1 && (s[1] = H1(s[1].toLowerCase()))) : s.length === 3 && (s[0] = s[0].toLowerCase(), s[1].length === 2 && (s[1] = s[1].toUpperCase()), s[0] !== "sgn" && s[2].length === 2 && (s[2] = s[2].toUpperCase()), t.indexOf(s[1].toLowerCase()) > -1 && (s[1] = H1(s[1].toLowerCase())), t.indexOf(s[2].toLowerCase()) > -1 && (s[2] = H1(s[2].toLowerCase()))), s.join("-");
|
6812
6648
|
}
|
6813
6649
|
return this.options.cleanCode || this.options.lowerCaseLng ? e.toLowerCase() : e;
|
6814
6650
|
}
|
@@ -6849,7 +6685,7 @@ class J1 {
|
|
6849
6685
|
}), n;
|
6850
6686
|
}
|
6851
6687
|
}
|
6852
|
-
let
|
6688
|
+
let Ui = [{
|
6853
6689
|
lngs: ["ach", "ak", "am", "arn", "br", "fil", "gun", "ln", "mfe", "mg", "mi", "oc", "pt", "pt-BR", "tg", "tl", "ti", "tr", "uz", "wa"],
|
6854
6690
|
nr: [1, 2],
|
6855
6691
|
fc: 1
|
@@ -6941,7 +6777,7 @@ let Qi = [{
|
|
6941
6777
|
lngs: ["he", "iw"],
|
6942
6778
|
nr: [1, 2, 20, 21],
|
6943
6779
|
fc: 22
|
6944
|
-
}],
|
6780
|
+
}], zi = {
|
6945
6781
|
1: (i) => +(i > 1),
|
6946
6782
|
2: (i) => +(i != 1),
|
6947
6783
|
3: (i) => 0,
|
@@ -6965,28 +6801,28 @@ let Qi = [{
|
|
6965
6801
|
21: (i) => i % 100 == 1 ? 1 : i % 100 == 2 ? 2 : i % 100 == 3 || i % 100 == 4 ? 3 : 0,
|
6966
6802
|
22: (i) => i == 1 ? 0 : i == 2 ? 1 : (i < 0 || i > 10) && i % 10 == 0 ? 2 : 3
|
6967
6803
|
};
|
6968
|
-
const
|
6804
|
+
const Ji = ["v1", "v2", "v3"], qi = ["v4"], q1 = {
|
6969
6805
|
zero: 0,
|
6970
6806
|
one: 1,
|
6971
6807
|
two: 2,
|
6972
6808
|
few: 3,
|
6973
6809
|
many: 4,
|
6974
6810
|
other: 5
|
6975
|
-
},
|
6811
|
+
}, Qi = () => {
|
6976
6812
|
const i = {};
|
6977
|
-
return
|
6813
|
+
return Ui.forEach((e) => {
|
6978
6814
|
e.lngs.forEach((t) => {
|
6979
6815
|
i[t] = {
|
6980
6816
|
numbers: e.nr,
|
6981
|
-
plurals:
|
6817
|
+
plurals: zi[e.fc]
|
6982
6818
|
};
|
6983
6819
|
});
|
6984
6820
|
}), i;
|
6985
6821
|
};
|
6986
|
-
class
|
6822
|
+
class Xi {
|
6987
6823
|
constructor(e) {
|
6988
6824
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
6989
|
-
this.languageUtils = e, this.options = t, this.logger = J.create("pluralResolver"), (!this.options.compatibilityJSON ||
|
6825
|
+
this.languageUtils = e, this.options = t, this.logger = J.create("pluralResolver"), (!this.options.compatibilityJSON || qi.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 = Qi(), this.pluralRulesCache = {};
|
6990
6826
|
}
|
6991
6827
|
addRule(e, t) {
|
6992
6828
|
this.rules[e] = t;
|
@@ -7044,14 +6880,14 @@ class s0 {
|
|
7044
6880
|
return this.options.compatibilityJSON === "v1" ? n === 1 ? "" : typeof n == "number" ? `_plural_${n.toString()}` : o() : this.options.compatibilityJSON === "v2" || this.options.simplifyPluralSuffix && e.numbers.length === 2 && e.numbers[0] === 1 ? o() : this.options.prepend && s.toString() ? this.options.prepend + s.toString() : s.toString();
|
7045
6881
|
}
|
7046
6882
|
shouldUseIntlApi() {
|
7047
|
-
return !
|
6883
|
+
return !Ji.includes(this.options.compatibilityJSON);
|
7048
6884
|
}
|
7049
6885
|
}
|
7050
6886
|
const Q1 = function(i, e, t) {
|
7051
|
-
let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", n = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, o =
|
6887
|
+
let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", n = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, o = Di(i, e, t);
|
7052
6888
|
return !o && n && R(t) && (o = S1(i, t, s), o === void 0 && (o = S1(e, t, s))), o;
|
7053
6889
|
}, I1 = (i) => i.replace(/\$/g, "$$$$");
|
7054
|
-
class
|
6890
|
+
class e0 {
|
7055
6891
|
constructor() {
|
7056
6892
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
7057
6893
|
this.logger = J.create("interpolator"), this.options = e, this.format = e.interpolation && e.interpolation.format || ((t) => t), this.init(e);
|
@@ -7077,10 +6913,10 @@ class n0 {
|
|
7077
6913
|
nestingSuffix: v,
|
7078
6914
|
nestingSuffixEscaped: x,
|
7079
6915
|
nestingOptionsSeparator: L,
|
7080
|
-
maxReplaces:
|
6916
|
+
maxReplaces: _,
|
7081
6917
|
alwaysFormat: M
|
7082
6918
|
} = e.interpolation;
|
7083
|
-
this.escape = t !== void 0 ? t :
|
6919
|
+
this.escape = t !== void 0 ? t : Gi, this.escapeValue = s !== void 0 ? s : !0, this.useRawValueToEscape = n !== void 0 ? n : !1, this.prefix = o ? h1(o) : c || "{{", this.suffix = a ? h1(a) : d || "}}", this.formatSeparator = g || ",", this.unescapePrefix = l ? "" : h || "-", this.unescapeSuffix = this.unescapePrefix ? "" : l || "", this.nestingPrefix = u ? h1(u) : p || h1("$t("), this.nestingSuffix = v ? h1(v) : x || h1(")"), this.nestingOptionsSeparator = L || ",", this.maxReplaces = _ || 1e3, this.alwaysFormat = M !== void 0 ? M : !1, this.resetRegExp();
|
7084
6920
|
}
|
7085
6921
|
reset() {
|
7086
6922
|
this.options && this.init(this.options);
|
@@ -7093,12 +6929,12 @@ class n0 {
|
|
7093
6929
|
let o, c, a;
|
7094
6930
|
const d = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, g = (p) => {
|
7095
6931
|
if (p.indexOf(this.formatSeparator) < 0) {
|
7096
|
-
const
|
7097
|
-
return this.alwaysFormat ? this.format(
|
6932
|
+
const _ = Q1(t, d, p, this.options.keySeparator, this.options.ignoreJSONStructure);
|
6933
|
+
return this.alwaysFormat ? this.format(_, void 0, s, {
|
7098
6934
|
...n,
|
7099
6935
|
...t,
|
7100
6936
|
interpolationkey: p
|
7101
|
-
}) :
|
6937
|
+
}) : _;
|
7102
6938
|
}
|
7103
6939
|
const v = p.split(this.formatSeparator), x = v.shift().trim(), L = v.join(this.formatSeparator).trim();
|
7104
6940
|
return this.format(Q1(t, d, x, this.options.keySeparator, this.options.ignoreJSONStructure), L, s, {
|
@@ -7175,7 +7011,7 @@ class n0 {
|
|
7175
7011
|
return e;
|
7176
7012
|
}
|
7177
7013
|
}
|
7178
|
-
const
|
7014
|
+
const t0 = (i) => {
|
7179
7015
|
let e = i.toLowerCase().trim();
|
7180
7016
|
const t = {};
|
7181
7017
|
if (i.indexOf("(") > -1) {
|
@@ -7206,7 +7042,7 @@ const r0 = (i) => {
|
|
7206
7042
|
return a || (a = i(M1(s), n), e[c] = a), a(t);
|
7207
7043
|
};
|
7208
7044
|
};
|
7209
|
-
class
|
7045
|
+
class i0 {
|
7210
7046
|
constructor() {
|
7211
7047
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
7212
7048
|
this.logger = J.create("formatter"), this.options = e, this.formats = {
|
@@ -7266,7 +7102,7 @@ class o0 {
|
|
7266
7102
|
const {
|
7267
7103
|
formatName: g,
|
7268
7104
|
formatOptions: l
|
7269
|
-
} =
|
7105
|
+
} = t0(d);
|
7270
7106
|
if (this.formats[g]) {
|
7271
7107
|
let h = a;
|
7272
7108
|
try {
|
@@ -7286,10 +7122,10 @@ class o0 {
|
|
7286
7122
|
}, e);
|
7287
7123
|
}
|
7288
7124
|
}
|
7289
|
-
const
|
7125
|
+
const s0 = (i, e) => {
|
7290
7126
|
i.pending[e] !== void 0 && (delete i.pending[e], i.pendingCount--);
|
7291
7127
|
};
|
7292
|
-
class
|
7128
|
+
class n0 extends E1 {
|
7293
7129
|
constructor(e, t, s) {
|
7294
7130
|
let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
|
7295
7131
|
super(), this.backend = e, this.store = t, this.services = s, this.languageUtils = s.languageUtils, this.options = n, this.logger = J.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = n.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = n.maxRetries >= 0 ? n.maxRetries : 5, this.retryTimeout = n.retryTimeout >= 1 ? n.retryTimeout : 350, this.state = {}, this.queue = [], this.backend && this.backend.init && this.backend.init(s, n.backend, n);
|
@@ -7322,7 +7158,7 @@ class l0 extends E1 {
|
|
7322
7158
|
}), this.state[e] = t ? -1 : 2, t && s && (this.state[e] = 0);
|
7323
7159
|
const a = {};
|
7324
7160
|
this.queue.forEach((d) => {
|
7325
|
-
|
7161
|
+
Zi(d.loaded, [o], c), s0(d, e), t && d.errors.push(t), d.pendingCount === 0 && !d.done && (Object.keys(d.loaded).forEach((g) => {
|
7326
7162
|
a[g] || (a[g] = {});
|
7327
7163
|
const l = d.loaded[g];
|
7328
7164
|
l.length && l.forEach((h) => {
|
@@ -7481,17 +7317,17 @@ const X1 = () => ({
|
|
7481
7317
|
skipOnVariables: !0
|
7482
7318
|
}
|
7483
7319
|
}), ee = (i) => (R(i.ns) && (i.ns = [i.ns]), R(i.fallbackLng) && (i.fallbackLng = [i.fallbackLng]), R(i.fallbackNS) && (i.fallbackNS = [i.fallbackNS]), i.supportedLngs && i.supportedLngs.indexOf("cimode") < 0 && (i.supportedLngs = i.supportedLngs.concat(["cimode"])), i), x1 = () => {
|
7484
|
-
},
|
7320
|
+
}, r0 = (i) => {
|
7485
7321
|
Object.getOwnPropertyNames(Object.getPrototypeOf(i)).forEach((t) => {
|
7486
7322
|
typeof i[t] == "function" && (i[t] = i[t].bind(i));
|
7487
7323
|
});
|
7488
7324
|
};
|
7489
|
-
class
|
7325
|
+
class w1 extends E1 {
|
7490
7326
|
constructor() {
|
7491
7327
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0;
|
7492
7328
|
if (super(), this.options = ee(e), this.services = {}, this.logger = J, this.modules = {
|
7493
7329
|
external: []
|
7494
|
-
},
|
7330
|
+
}, r0(this), t && !this.isInitialized && !e.isClone) {
|
7495
7331
|
if (!this.options.initImmediate)
|
7496
7332
|
return this.init(e, t), this;
|
7497
7333
|
setTimeout(() => {
|
@@ -7516,17 +7352,17 @@ class m1 extends E1 {
|
|
7516
7352
|
if (!this.options.isClone) {
|
7517
7353
|
this.modules.logger ? J.init(o(this.modules.logger), this.options) : J.init(null, this.options);
|
7518
7354
|
let l;
|
7519
|
-
this.modules.formatter ? l = this.modules.formatter : typeof Intl < "u" && (l =
|
7355
|
+
this.modules.formatter ? l = this.modules.formatter : typeof Intl < "u" && (l = i0);
|
7520
7356
|
const h = new J1(this.options);
|
7521
7357
|
this.store = new U1(this.options.resources, this.options);
|
7522
7358
|
const u = this.services;
|
7523
|
-
u.logger = J, u.resourceStore = this.store, u.languageUtils = h, u.pluralResolver = new
|
7359
|
+
u.logger = J, u.resourceStore = this.store, u.languageUtils = h, u.pluralResolver = new Xi(h, {
|
7524
7360
|
prepend: this.options.pluralSeparator,
|
7525
7361
|
compatibilityJSON: this.options.compatibilityJSON,
|
7526
7362
|
simplifyPluralSuffix: this.options.simplifyPluralSuffix
|
7527
|
-
}), l && (!this.options.interpolation.format || this.options.interpolation.format === n.interpolation.format) && (u.formatter = o(l), u.formatter.init(u, this.options), this.options.interpolation.format = u.formatter.format.bind(u.formatter)), u.interpolator = new
|
7363
|
+
}), l && (!this.options.interpolation.format || this.options.interpolation.format === n.interpolation.format) && (u.formatter = o(l), u.formatter.init(u, this.options), this.options.interpolation.format = u.formatter.format.bind(u.formatter)), u.interpolator = new e0(this.options), u.utils = {
|
7528
7364
|
hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
|
7529
|
-
}, u.backendConnector = new
|
7365
|
+
}, u.backendConnector = new n0(o(this.modules.backend), u.resourceStore, u, this.options), u.backendConnector.on("*", function(p) {
|
7530
7366
|
for (var v = arguments.length, x = new Array(v > 1 ? v - 1 : 0), L = 1; L < v; L++)
|
7531
7367
|
x[L - 1] = arguments[L];
|
7532
7368
|
e.emit(p, ...x);
|
@@ -7689,7 +7525,7 @@ class m1 extends E1 {
|
|
7689
7525
|
}
|
7690
7526
|
static createInstance() {
|
7691
7527
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0;
|
7692
|
-
return new
|
7528
|
+
return new w1(e, t);
|
7693
7529
|
}
|
7694
7530
|
cloneInstance() {
|
7695
7531
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : x1;
|
@@ -7699,7 +7535,7 @@ class m1 extends E1 {
|
|
7699
7535
|
...this.options,
|
7700
7536
|
...e,
|
7701
7537
|
isClone: !0
|
7702
|
-
}, o = new
|
7538
|
+
}, o = new w1(n);
|
7703
7539
|
return (e.debug !== void 0 || e.prefix !== void 0) && (o.logger = o.logger.clone(e)), ["store", "services", "language"].forEach((a) => {
|
7704
7540
|
o[a] = this[a];
|
7705
7541
|
}), o.services = {
|
@@ -7724,8 +7560,8 @@ class m1 extends E1 {
|
|
7724
7560
|
};
|
7725
7561
|
}
|
7726
7562
|
}
|
7727
|
-
const W =
|
7728
|
-
W.createInstance =
|
7563
|
+
const W = w1.createInstance();
|
7564
|
+
W.createInstance = w1.createInstance;
|
7729
7565
|
W.createInstance;
|
7730
7566
|
W.dir;
|
7731
7567
|
W.init;
|
@@ -7740,7 +7576,7 @@ W.setDefaultNamespace;
|
|
7740
7576
|
W.hasLoadedNamespace;
|
7741
7577
|
W.loadNamespaces;
|
7742
7578
|
W.loadLanguages;
|
7743
|
-
function
|
7579
|
+
function o0() {
|
7744
7580
|
if (console && console.warn) {
|
7745
7581
|
for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
|
7746
7582
|
e[t] = arguments[t];
|
@@ -7751,7 +7587,7 @@ const te = {};
|
|
7751
7587
|
function V1() {
|
7752
7588
|
for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
|
7753
7589
|
e[t] = arguments[t];
|
7754
|
-
n1(e[0]) && te[e[0]] || (n1(e[0]) && (te[e[0]] = /* @__PURE__ */ new Date()),
|
7590
|
+
n1(e[0]) && te[e[0]] || (n1(e[0]) && (te[e[0]] = /* @__PURE__ */ new Date()), o0(...e));
|
7755
7591
|
}
|
7756
7592
|
const ue = (i, e) => () => {
|
7757
7593
|
if (i.isInitialized)
|
@@ -7770,7 +7606,7 @@ const ue = (i, e) => () => {
|
|
7770
7606
|
n1(t) && (t = [t]), t.forEach((n) => {
|
7771
7607
|
i.options.ns.indexOf(n) < 0 && i.options.ns.push(n);
|
7772
7608
|
}), i.loadLanguages(e, ue(i, s));
|
7773
|
-
},
|
7609
|
+
}, a0 = function(i, e) {
|
7774
7610
|
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
7775
7611
|
const s = e.languages[0], n = e.options ? e.options.fallbackLng : !1, o = e.languages[e.languages.length - 1];
|
7776
7612
|
if (s.toLowerCase() === "cimode") return !0;
|
@@ -7779,15 +7615,15 @@ const ue = (i, e) => () => {
|
|
7779
7615
|
return g === -1 || g === 2;
|
7780
7616
|
};
|
7781
7617
|
return t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && e.services.backendConnector.backend && e.isLanguageChangingTo && !c(e.isLanguageChangingTo, i) ? !1 : !!(e.hasResourceBundle(s, i) || !e.services.backendConnector.backend || e.options.resources && !e.options.partialBundledLanguages || c(s, i) && (!n || c(o, i)));
|
7782
|
-
},
|
7618
|
+
}, l0 = function(i, e) {
|
7783
7619
|
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
7784
7620
|
return !e.languages || !e.languages.length ? (V1("i18n.languages were undefined or empty", e.languages), !0) : e.options.ignoreJSONStructure !== void 0 ? e.hasLoadedNamespace(i, {
|
7785
7621
|
lng: t.lng,
|
7786
7622
|
precheck: (n, o) => {
|
7787
7623
|
if (t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && n.services.backendConnector.backend && n.isLanguageChangingTo && !o(n.isLanguageChangingTo, i)) return !1;
|
7788
7624
|
}
|
7789
|
-
}) :
|
7790
|
-
}, n1 = (i) => typeof i == "string",
|
7625
|
+
}) : a0(i, e, t);
|
7626
|
+
}, n1 = (i) => typeof i == "string", h0 = (i) => typeof i == "object" && i !== null, c0 = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, d0 = {
|
7791
7627
|
"&": "&",
|
7792
7628
|
"&": "&",
|
7793
7629
|
"<": "<",
|
@@ -7808,7 +7644,7 @@ const ue = (i, e) => () => {
|
|
7808
7644
|
"…": "…",
|
7809
7645
|
"/": "/",
|
7810
7646
|
"/": "/"
|
7811
|
-
},
|
7647
|
+
}, g0 = (i) => d0[i], u0 = (i) => i.replace(c0, g0);
|
7812
7648
|
let A1 = {
|
7813
7649
|
bindI18n: "languageChanged",
|
7814
7650
|
bindI18nStore: "",
|
@@ -7817,27 +7653,27 @@ let A1 = {
|
|
7817
7653
|
transWrapTextNodes: "",
|
7818
7654
|
transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"],
|
7819
7655
|
useSuspense: !0,
|
7820
|
-
unescape:
|
7656
|
+
unescape: u0
|
7821
7657
|
};
|
7822
|
-
const
|
7658
|
+
const C0 = function() {
|
7823
7659
|
let i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
7824
7660
|
A1 = {
|
7825
7661
|
...A1,
|
7826
7662
|
...i
|
7827
7663
|
};
|
7828
|
-
},
|
7664
|
+
}, p0 = () => A1;
|
7829
7665
|
let Ce;
|
7830
|
-
const
|
7666
|
+
const f0 = (i) => {
|
7831
7667
|
Ce = i;
|
7832
|
-
},
|
7668
|
+
}, m0 = () => Ce, w0 = {
|
7833
7669
|
type: "3rdParty",
|
7834
7670
|
init(i) {
|
7835
|
-
|
7671
|
+
C0(i.options.react), f0(i);
|
7836
7672
|
}
|
7837
|
-
},
|
7838
|
-
class
|
7673
|
+
}, k0 = d1();
|
7674
|
+
class L0 {
|
7839
7675
|
constructor() {
|
7840
|
-
|
7676
|
+
j1(this, "getUsedNamespaces", () => Object.keys(this.usedNamespaces));
|
7841
7677
|
this.usedNamespaces = {};
|
7842
7678
|
}
|
7843
7679
|
addUsedNamespaces(e) {
|
@@ -7846,27 +7682,27 @@ class R0 {
|
|
7846
7682
|
});
|
7847
7683
|
}
|
7848
7684
|
}
|
7849
|
-
const
|
7685
|
+
const v0 = (i, e) => {
|
7850
7686
|
const t = Y();
|
7851
|
-
return
|
7687
|
+
return B(() => {
|
7852
7688
|
t.current = i;
|
7853
7689
|
}, [i, e]), t.current;
|
7854
|
-
}, pe = (i, e, t, s) => i.getFixedT(e, t, s),
|
7690
|
+
}, pe = (i, e, t, s) => i.getFixedT(e, t, s), N0 = (i, e, t, s) => D(pe(i, e, t, s), [i, e, t, s]), x0 = function(i) {
|
7855
7691
|
let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
7856
7692
|
const {
|
7857
7693
|
i18n: t
|
7858
7694
|
} = e, {
|
7859
7695
|
i18n: s,
|
7860
7696
|
defaultNS: n
|
7861
|
-
} = r1(
|
7862
|
-
if (o && !o.reportNamespaces && (o.reportNamespaces = new
|
7697
|
+
} = r1(k0) || {}, o = t || s || m0();
|
7698
|
+
if (o && !o.reportNamespaces && (o.reportNamespaces = new L0()), !o) {
|
7863
7699
|
V1("You will need to pass in an i18next instance by using initReactI18next");
|
7864
|
-
const f = (N,
|
7865
|
-
return
|
7700
|
+
const f = (N, w) => n1(w) ? w : h0(w) && n1(w.defaultValue) ? w.defaultValue : Array.isArray(N) ? N[N.length - 1] : N, m = [f, {}, !1];
|
7701
|
+
return m.t = f, m.i18n = {}, m.ready = !1, m;
|
7866
7702
|
}
|
7867
7703
|
o.options.react && o.options.react.wait !== void 0 && V1("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
|
7868
7704
|
const c = {
|
7869
|
-
...
|
7705
|
+
...p0(),
|
7870
7706
|
...o.options.react,
|
7871
7707
|
...e
|
7872
7708
|
}, {
|
@@ -7875,76 +7711,76 @@ const M0 = (i, e) => {
|
|
7875
7711
|
} = c;
|
7876
7712
|
let g = i;
|
7877
7713
|
g = n1(g) ? [g] : g || ["translation"], o.reportNamespaces.addUsedNamespaces && o.reportNamespaces.addUsedNamespaces(g);
|
7878
|
-
const l = (o.isInitialized || o.initializedStoreOnce) && g.every((f) =>
|
7714
|
+
const l = (o.isInitialized || o.initializedStoreOnce) && g.every((f) => l0(f, o, c)), h = N0(o, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), u = () => h, p = () => pe(o, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), [v, x] = A(u);
|
7879
7715
|
let L = g.join();
|
7880
7716
|
e.lng && (L = `${e.lng}${L}`);
|
7881
|
-
const
|
7882
|
-
|
7717
|
+
const _ = v0(L), M = Y(!0);
|
7718
|
+
B(() => {
|
7883
7719
|
const {
|
7884
7720
|
bindI18n: f,
|
7885
|
-
bindI18nStore:
|
7721
|
+
bindI18nStore: m
|
7886
7722
|
} = c;
|
7887
7723
|
M.current = !0, !l && !a && (e.lng ? se(o, e.lng, g, () => {
|
7888
7724
|
M.current && x(p);
|
7889
7725
|
}) : ie(o, g, () => {
|
7890
7726
|
M.current && x(p);
|
7891
|
-
})), l &&
|
7727
|
+
})), l && _ && _ !== L && M.current && x(p);
|
7892
7728
|
const N = () => {
|
7893
7729
|
M.current && x(p);
|
7894
7730
|
};
|
7895
|
-
return f && o && o.on(f, N),
|
7896
|
-
M.current = !1, f && o && f.split(" ").forEach((
|
7731
|
+
return f && o && o.on(f, N), m && o && o.store.on(m, N), () => {
|
7732
|
+
M.current = !1, f && o && f.split(" ").forEach((w) => o.off(w, N)), m && o && m.split(" ").forEach((w) => o.store.off(w, N));
|
7897
7733
|
};
|
7898
|
-
}, [o, L]),
|
7734
|
+
}, [o, L]), B(() => {
|
7899
7735
|
M.current && l && x(u);
|
7900
7736
|
}, [o, d, l]);
|
7901
|
-
const
|
7902
|
-
if (
|
7737
|
+
const H = [v, o, l];
|
7738
|
+
if (H.t = v, H.i18n = o, H.ready = l, l || !l && !a) return H;
|
7903
7739
|
throw new Promise((f) => {
|
7904
7740
|
e.lng ? se(o, e.lng, g, () => f()) : ie(o, g, () => f());
|
7905
7741
|
});
|
7906
|
-
},
|
7907
|
-
placeholder:
|
7908
|
-
},
|
7909
|
-
placeholder:
|
7742
|
+
}, R0 = "City", M0 = {
|
7743
|
+
placeholder: R0
|
7744
|
+
}, y0 = "Город", b0 = {
|
7745
|
+
placeholder: y0
|
7910
7746
|
};
|
7911
|
-
function
|
7747
|
+
function E0(i) {
|
7912
7748
|
const e = Y(i);
|
7913
|
-
return
|
7749
|
+
return B(() => {
|
7914
7750
|
e.current = i;
|
7915
7751
|
}, [i]), e.current;
|
7916
7752
|
}
|
7917
|
-
W.use(
|
7753
|
+
W.use(w0).init({
|
7918
7754
|
defaultNS: "common",
|
7919
7755
|
lng: "en",
|
7920
7756
|
resources: {
|
7921
7757
|
en: {
|
7922
|
-
common:
|
7758
|
+
common: M0
|
7923
7759
|
},
|
7924
7760
|
ru: {
|
7925
|
-
common:
|
7761
|
+
common: b0
|
7926
7762
|
}
|
7927
7763
|
}
|
7928
7764
|
});
|
7929
|
-
const
|
7765
|
+
const A0 = k1(
|
7930
7766
|
({ width: i, selectedCountry: e, onChange: t, value: s, id: n, disabled: o, clearable: c }, a) => {
|
7931
7767
|
const [d, g] = A(
|
7932
7768
|
[]
|
7933
|
-
), [l, h] = A(!1), { locale: u, axiosPeople: p } = r1(ke), v = Y(!1), x = Y(null), L = Y(d),
|
7769
|
+
), [l, h] = A(!1), { locale: u, axiosPeople: p } = r1(ke), v = Y(!1), x = Y(null), L = Y(d), _ = E0(e);
|
7934
7770
|
if (!p)
|
7935
7771
|
throw new Error(
|
7936
7772
|
`CitySelect requires "axiosPeople" to fetch cities.
|
7937
7773
|
Please provide it via SNMTUiContext.`
|
7938
7774
|
);
|
7939
|
-
const { t: M } =
|
7940
|
-
async (
|
7941
|
-
const N = L.current.find((
|
7775
|
+
const { t: M } = x0("common", { lng: u }), H = D(
|
7776
|
+
async (m) => {
|
7777
|
+
const N = L.current.find((w) => w.value === m);
|
7942
7778
|
if (N)
|
7943
7779
|
return [N];
|
7944
7780
|
try {
|
7945
7781
|
const I = (await p.post("v1/cities/search", {
|
7946
7782
|
filters: {
|
7947
|
-
geoNameId: [
|
7783
|
+
geoNameId: [m],
|
7948
7784
|
countryId: [e]
|
7949
7785
|
}
|
7950
7786
|
})).data.data;
|
@@ -7955,36 +7791,36 @@ const Z0 = k1(
|
|
7955
7791
|
label: I[0].name
|
7956
7792
|
};
|
7957
7793
|
return L.current = [...L.current, T], [T];
|
7958
|
-
} catch (
|
7959
|
-
return console.error("CitySelect. fetchSelectedItems error",
|
7794
|
+
} catch (w) {
|
7795
|
+
return console.error("CitySelect. fetchSelectedItems error", w), [];
|
7960
7796
|
}
|
7961
7797
|
},
|
7962
7798
|
[p, e, t]
|
7963
7799
|
);
|
7964
|
-
|
7800
|
+
B(() => {
|
7965
7801
|
(async () => {
|
7966
7802
|
if (!s) return;
|
7967
|
-
const N = await
|
7803
|
+
const N = await H(s);
|
7968
7804
|
g(N);
|
7969
7805
|
})();
|
7970
|
-
}, []),
|
7971
|
-
var
|
7972
|
-
|
7973
|
-
}, [e, t,
|
7806
|
+
}, []), B(() => {
|
7807
|
+
var m;
|
7808
|
+
_ !== e ? v.current && (t(null), g([]), L.current = [], (m = x.current) == null || m.refetchOptions()) : v.current = !0;
|
7809
|
+
}, [e, t, _]);
|
7974
7810
|
const f = D(
|
7975
7811
|
async ({
|
7976
|
-
limit:
|
7812
|
+
limit: m,
|
7977
7813
|
offset: N,
|
7978
|
-
search:
|
7814
|
+
search: w
|
7979
7815
|
}) => {
|
7980
7816
|
try {
|
7981
7817
|
h(!0);
|
7982
7818
|
const I = {
|
7983
7819
|
offset: N,
|
7984
|
-
limit:
|
7820
|
+
limit: m,
|
7985
7821
|
includeCount: !0
|
7986
7822
|
};
|
7987
|
-
I.filters = {}, e && e.length > 0 && (I.filters.countryId = [e]),
|
7823
|
+
I.filters = {}, e && e.length > 0 && (I.filters.countryId = [e]), w && (I.search = w);
|
7988
7824
|
const T = await p.post("v1/cities/search", I), Z = (T == null ? void 0 : T.data.data) || [], G = T == null ? void 0 : T.data.metadata.count;
|
7989
7825
|
return {
|
7990
7826
|
options: Z.map((O) => ({
|
@@ -7992,13 +7828,13 @@ const Z0 = k1(
|
|
7992
7828
|
label: O.name
|
7993
7829
|
})),
|
7994
7830
|
count: G,
|
7995
|
-
limit:
|
7831
|
+
limit: m
|
7996
7832
|
};
|
7997
7833
|
} catch (I) {
|
7998
7834
|
return console.error("CitySelect. loadOptions error", I), {
|
7999
7835
|
options: [],
|
8000
7836
|
count: 0,
|
8001
|
-
limit:
|
7837
|
+
limit: m
|
8002
7838
|
};
|
8003
7839
|
} finally {
|
8004
7840
|
h(!1);
|
@@ -8007,7 +7843,7 @@ const Z0 = k1(
|
|
8007
7843
|
[p, e]
|
8008
7844
|
);
|
8009
7845
|
return ne(a, () => x.current), /* @__PURE__ */ r("div", { className: "snmt-city-select", children: /* @__PURE__ */ r(
|
8010
|
-
|
7846
|
+
Ti,
|
8011
7847
|
{
|
8012
7848
|
id: n,
|
8013
7849
|
width: i,
|
@@ -8027,5 +7863,5 @@ const Z0 = k1(
|
|
8027
7863
|
}
|
8028
7864
|
);
|
8029
7865
|
export {
|
8030
|
-
|
7866
|
+
A0 as CitySelect
|
8031
7867
|
};
|