@snmt-react-ui/country-select 2.1.1 → 2.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,12 +1,12 @@
1
- var z1 = Object.defineProperty;
2
- var J1 = (i, e, t) => e in i ? z1(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t;
3
- var L1 = (i, e, t) => J1(i, typeof e != "symbol" ? e + "" : e, t);
1
+ var J1 = Object.defineProperty;
2
+ var Q1 = (i, e, t) => e in i ? J1(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t;
3
+ var v1 = (i, e, t) => Q1(i, typeof e != "symbol" ? e + "" : e, t);
4
4
  import "./index.css";
5
- import { jsx as n, jsxs as u, Fragment as $ } from "react/jsx-runtime";
6
- import { SNMTUiContext as Q1 } from "@snmt-react-ui/core";
7
- import { Select as q1, Flex as X1, Avatar as ee, Checkbox as te, Typography as A1, Tag as B1, Popover as ie } from "antd";
8
- import { createContext as Q, forwardRef as h1, useState as I, useRef as m1, useEffect as O, useContext as q, useCallback as W1 } from "react";
9
- const o1 = ({
5
+ import { jsx as n, jsxs as u, Fragment as Y } from "react/jsx-runtime";
6
+ import { SNMTUiContext as q1 } from "@snmt-react-ui/core";
7
+ import { Select as X1, Flex as ee, Avatar as te, Checkbox as ie, Typography as B1, Tag as W1, Popover as se } from "antd";
8
+ import { createContext as t1, forwardRef as c1, useState as S, useRef as k1, useEffect as O, useContext as i1, useCallback as j1 } from "react";
9
+ const n1 = ({
10
10
  children: i,
11
11
  direction: e = "row",
12
12
  flexWrap: t = "nowrap",
@@ -16,7 +16,7 @@ const o1 = ({
16
16
  gap: c,
17
17
  padding: r
18
18
  }) => /* @__PURE__ */ n(
19
- X1,
19
+ ee,
20
20
  {
21
21
  className: `snmt-flex${t === "inherit" ? " inherit" : ""}`,
22
22
  vertical: e === "column",
@@ -28,10 +28,10 @@ const o1 = ({
28
28
  style: { padding: r },
29
29
  children: i
30
30
  }
31
- ), se = ({ shape: i = "circle", size: e = 32, children: t, ...s }) => {
31
+ ), oe = ({ shape: i = "circle", size: e = 32, children: t, ...s }) => {
32
32
  const o = typeof s.src == "string";
33
33
  return /* @__PURE__ */ n(
34
- ee,
34
+ te,
35
35
  {
36
36
  className: `snmt-avatar ${o ? "image" : ""}`,
37
37
  shape: i,
@@ -41,13 +41,13 @@ const o1 = ({
41
41
  }
42
42
  );
43
43
  };
44
- var Y = /* @__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))(Y || {});
45
- const j1 = Q({
44
+ var $ = /* @__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))($ || {});
45
+ const Z1 = t1({
46
46
  locale: "en",
47
47
  theme: "light"
48
48
  });
49
- j1.Provider;
50
- const oe = ({
49
+ Z1.Provider;
50
+ const ne = ({
51
51
  checked: i = !0,
52
52
  indeterminate: e = !1,
53
53
  children: t,
@@ -55,13 +55,13 @@ const oe = ({
55
55
  disabled: o = !1,
56
56
  disableUncheck: a = !1
57
57
  }) => {
58
- const [c, r] = I(i), [d, g] = I(e);
58
+ const [c, r] = S(i), [d, g] = S(e);
59
59
  O(() => {
60
60
  r(i), g(e);
61
61
  }, [i, e]);
62
- const { theme: l } = q(j1);
62
+ const { theme: l } = i1(Z1);
63
63
  return /* @__PURE__ */ n(
64
- te,
64
+ ie,
65
65
  {
66
66
  className: `snmt-checkbox snmt-checkbox-${l}`,
67
67
  checked: c,
@@ -75,12 +75,12 @@ const oe = ({
75
75
  );
76
76
  };
77
77
  var m = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_1 = "var(--grey-light-1)", i.GREY_LIGHT_2 = "var(--grey-light-2)", i.GREY_LIGHT_3 = "var(--grey-light-3)", i.GREY_LIGHT_4 = "var(--grey-light-4)", i.GREY_DARK_1 = "var(--grey-dark-1)", i.GREY_DARK_2 = "var(--grey-dark-2)", i.GREY_DARK_3 = "var(--grey-dark-3)", i.GREY_DARK_4 = "var(--grey-dark-4)", i.GREY_DARK_5 = "var(--grey-dark-5)", i.BLUE_PRIMARY = "var(--blue-primary)", i.BLUE_HOVER = "var(--blue-hover)", i.BLUE_LIGHT_1 = "var(--blue-light-1)", i.BLUE_LIGHT_2 = "var(--blue-light-2)", i.BLUE_LIGHT_3 = "var(--blue-light-3)", i.BLUE_LIGHT_4 = "var(--blue-light-4)", i.BLUE_DARK_1 = "var(--blue-dark-1)", i.PURPLE_LIGHT = "var(--purple-light)", i.PURPLE_DARK = "var(--purple-dark)", i.NOTIFICATION_WARNING_LIGHT = "var(--notification-warning-light)", i.NOTIFICATION_WARNING_DARK = "var(--notification-warning-dark)", i.NOTIFICATION_SUCCESS_LIGHT = "var(--notification-success-light)", i.NOTIFICATION_SUCCESS_DARK = "var(--notification-success-dark)", i.NOTIFICATION_ERROR_LIGHT = "var(--notification-error-light)", i.NOTIFICATION_ERROR_DARK = "var(--notification-error-dark)", i.NOTIFICATION_ERROR_DARK_MODE = "var(--notification-error-dark-mode)", i))(m || {});
78
- const Z1 = Q({
78
+ const D1 = t1({
79
79
  locale: "en",
80
80
  theme: "light"
81
81
  });
82
- Z1.Provider;
83
- const ne = ({
82
+ D1.Provider;
83
+ const re = ({
84
84
  width: i = 20,
85
85
  height: e = 20,
86
86
  color: t = "#001E52",
@@ -107,7 +107,7 @@ const ne = ({
107
107
  }
108
108
  )
109
109
  }
110
- ), re = ({
110
+ ), le = ({
111
111
  width: i = 20,
112
112
  height: e = 20,
113
113
  color: t = "#001E52",
@@ -134,7 +134,7 @@ const ne = ({
134
134
  }
135
135
  )
136
136
  }
137
- ), le = ({
137
+ ), ae = ({
138
138
  width: i = 16,
139
139
  height: e = 16,
140
140
  color: t = "#001E52",
@@ -162,7 +162,7 @@ const ne = ({
162
162
  )
163
163
  ]
164
164
  }
165
- ), ae = ({
165
+ ), he = ({
166
166
  width: i = 20,
167
167
  height: e = 20,
168
168
  color: t = "#001E52",
@@ -197,7 +197,7 @@ const ne = ({
197
197
  )
198
198
  ]
199
199
  }
200
- ), he = ({
200
+ ), ce = ({
201
201
  width: i = 18,
202
202
  height: e = 18,
203
203
  color: t = "#001E52",
@@ -236,7 +236,7 @@ const ne = ({
236
236
  )
237
237
  ]
238
238
  }
239
- ), ce = ({
239
+ ), de = ({
240
240
  width: i = 20,
241
241
  height: e = 20,
242
242
  color: t = "#001E52",
@@ -262,7 +262,7 @@ const ne = ({
262
262
  }
263
263
  )
264
264
  }
265
- ), de = ({
265
+ ), ge = ({
266
266
  width: i = 20,
267
267
  height: e = 20,
268
268
  color: t = "#001E52",
@@ -283,7 +283,7 @@ const ne = ({
283
283
  /* @__PURE__ */ n("path", { d: "M16 4L4 16", stroke: t, strokeWidth: "1.5", strokeLinecap: "round" })
284
284
  ]
285
285
  }
286
- ), ge = ({
286
+ ), ue = ({
287
287
  width: i = 20,
288
288
  height: e = 20,
289
289
  color: t = "#001E52",
@@ -315,7 +315,7 @@ const ne = ({
315
315
  )
316
316
  ]
317
317
  }
318
- ), ue = ({
318
+ ), Ce = ({
319
319
  width: i = 20,
320
320
  height: e = 20,
321
321
  color: t = "#001E52",
@@ -369,7 +369,7 @@ const ne = ({
369
369
  )
370
370
  ]
371
371
  }
372
- ), Ce = ({
372
+ ), pe = ({
373
373
  width: i = 20,
374
374
  height: e = 20,
375
375
  color: t = "#001E52",
@@ -408,7 +408,7 @@ const ne = ({
408
408
  /* @__PURE__ */ n("path", { d: "M3 12L17 12", stroke: t, strokeWidth: "2", strokeLinecap: "round" })
409
409
  ]
410
410
  }
411
- ), pe = ({
411
+ ), fe = ({
412
412
  width: i = 16,
413
413
  height: e = 12,
414
414
  color: t = "#001E52",
@@ -457,7 +457,7 @@ const ne = ({
457
457
  )
458
458
  ] })
459
459
  }
460
- ), fe = ({
460
+ ), we = ({
461
461
  width: i = 16,
462
462
  height: e = 16,
463
463
  color: t = "#001E52",
@@ -491,7 +491,7 @@ const ne = ({
491
491
  )
492
492
  ]
493
493
  }
494
- ), we = ({
494
+ ), me = ({
495
495
  width: i = 10,
496
496
  height: e = 10,
497
497
  color: t = "#001E52",
@@ -530,7 +530,7 @@ const ne = ({
530
530
  )
531
531
  ] })
532
532
  }
533
- ), me = ({
533
+ ), ke = ({
534
534
  width: i = 16,
535
535
  height: e = 16,
536
536
  color: t = "#001E52",
@@ -566,7 +566,7 @@ const ne = ({
566
566
  )
567
567
  ]
568
568
  }
569
- ), ke = ({
569
+ ), Le = ({
570
570
  width: i = 11,
571
571
  height: e = 32,
572
572
  color: t = "#001E52",
@@ -604,7 +604,7 @@ const ne = ({
604
604
  /* @__PURE__ */ n("circle", { cx: "3", cy: "3", r: "3", fill: t })
605
605
  ]
606
606
  }
607
- ), Le = ({
607
+ ), ve = ({
608
608
  width: i = 20,
609
609
  height: e = 20,
610
610
  color: t = "#001E52",
@@ -651,7 +651,7 @@ const ne = ({
651
651
  )
652
652
  ]
653
653
  }
654
- ), ve = ({
654
+ ), Ne = ({
655
655
  width: i = 20,
656
656
  height: e = 20,
657
657
  color: t = "#001E52",
@@ -684,7 +684,7 @@ const ne = ({
684
684
  )
685
685
  ]
686
686
  }
687
- ), Ne = ({
687
+ ), xe = ({
688
688
  width: i = 20,
689
689
  height: e = 20,
690
690
  color: t = "#001E52",
@@ -731,7 +731,7 @@ const ne = ({
731
731
  )
732
732
  ]
733
733
  }
734
- ), xe = ({
734
+ ), Re = ({
735
735
  width: i = 20,
736
736
  height: e = 20,
737
737
  color: t = "#001E52",
@@ -764,7 +764,7 @@ const ne = ({
764
764
  )
765
765
  ]
766
766
  }
767
- ), Re = ({
767
+ ), Me = ({
768
768
  width: i = 18,
769
769
  height: e = 16,
770
770
  color: t = "#001E52",
@@ -803,7 +803,7 @@ const ne = ({
803
803
  )
804
804
  ]
805
805
  }
806
- ), Me = ({
806
+ ), ye = ({
807
807
  width: i = 20,
808
808
  height: e = 20,
809
809
  color: t = "#001E52",
@@ -836,7 +836,7 @@ const ne = ({
836
836
  )
837
837
  ]
838
838
  }
839
- ), ye = ({
839
+ ), be = ({
840
840
  width: i = 20,
841
841
  height: e = 20,
842
842
  color: t = "#001E52",
@@ -860,7 +860,7 @@ const ne = ({
860
860
  }
861
861
  )
862
862
  }
863
- ), be = ({
863
+ ), Ee = ({
864
864
  width: i = 20,
865
865
  height: e = 20,
866
866
  color: t = "#001E52",
@@ -907,7 +907,7 @@ const ne = ({
907
907
  )
908
908
  ]
909
909
  }
910
- ), Ee = ({
910
+ ), _e = ({
911
911
  width: i = 20,
912
912
  height: e = 20,
913
913
  color: t = "#001E52",
@@ -940,7 +940,7 @@ const ne = ({
940
940
  )
941
941
  ]
942
942
  }
943
- ), _e = ({
943
+ ), He = ({
944
944
  width: i = 20,
945
945
  height: e = 20,
946
946
  color: t = "#001E52",
@@ -973,7 +973,7 @@ const ne = ({
973
973
  )
974
974
  ]
975
975
  }
976
- ), He = ({
976
+ ), Ve = ({
977
977
  width: i = 20,
978
978
  height: e = 23,
979
979
  color: t = "#001E52",
@@ -1034,7 +1034,7 @@ const ne = ({
1034
1034
  )
1035
1035
  ]
1036
1036
  }
1037
- ), Ve = ({
1037
+ ), Ie = ({
1038
1038
  width: i = 20,
1039
1039
  height: e = 20,
1040
1040
  color: t = "#001E52",
@@ -1074,7 +1074,7 @@ const ne = ({
1074
1074
  )
1075
1075
  ]
1076
1076
  }
1077
- ), Ie = ({
1077
+ ), Se = ({
1078
1078
  width: i = 32,
1079
1079
  height: e = 25,
1080
1080
  color: t = "#001E52",
@@ -1131,7 +1131,7 @@ const ne = ({
1131
1131
  )
1132
1132
  ]
1133
1133
  }
1134
- ), Se = ({
1134
+ ), Ae = ({
1135
1135
  width: i = 11,
1136
1136
  height: e = 11,
1137
1137
  color: t = "#FFB020",
@@ -1165,7 +1165,7 @@ const ne = ({
1165
1165
  )
1166
1166
  ]
1167
1167
  }
1168
- ), Ae = ({
1168
+ ), Be = ({
1169
1169
  width: i = 10,
1170
1170
  height: e = 10,
1171
1171
  color: t = "#88A4FF",
@@ -1213,7 +1213,7 @@ const ne = ({
1213
1213
  )
1214
1214
  ]
1215
1215
  }
1216
- ), Be = ({
1216
+ ), We = ({
1217
1217
  width: i = 14,
1218
1218
  height: e = 14,
1219
1219
  color: t = "#8E8E93",
@@ -1241,7 +1241,7 @@ const ne = ({
1241
1241
  )
1242
1242
  ]
1243
1243
  }
1244
- ), We = ({
1244
+ ), je = ({
1245
1245
  width: i = 14,
1246
1246
  height: e = 14,
1247
1247
  color: t = "#FFB020",
@@ -1275,7 +1275,7 @@ const ne = ({
1275
1275
  )
1276
1276
  ]
1277
1277
  }
1278
- ), je = ({
1278
+ ), Ze = ({
1279
1279
  width: i = 14,
1280
1280
  height: e = 14,
1281
1281
  color: t = "#D0421B",
@@ -1323,7 +1323,7 @@ const ne = ({
1323
1323
  )
1324
1324
  ]
1325
1325
  }
1326
- ), Ze = ({
1326
+ ), De = ({
1327
1327
  width: i = 20,
1328
1328
  height: e = 20,
1329
1329
  color: t = "#070739",
@@ -1353,7 +1353,7 @@ const ne = ({
1353
1353
  /* @__PURE__ */ n("circle", { cx: "10", cy: "10", r: "2.375", stroke: t, strokeWidth: "1.25" })
1354
1354
  ]
1355
1355
  }
1356
- ), De = ({
1356
+ ), Te = ({
1357
1357
  width: i = 20,
1358
1358
  height: e = 20,
1359
1359
  color: t = "#070739",
@@ -1391,7 +1391,7 @@ const ne = ({
1391
1391
  )
1392
1392
  ]
1393
1393
  }
1394
- ), Te = ({
1394
+ ), Ge = ({
1395
1395
  width: i = 9,
1396
1396
  height: e = 5,
1397
1397
  color: t = "#001E52",
@@ -1417,7 +1417,7 @@ const ne = ({
1417
1417
  }
1418
1418
  )
1419
1419
  }
1420
- ), Ge = ({
1420
+ ), Ke = ({
1421
1421
  width: i = 20,
1422
1422
  height: e = 20,
1423
1423
  color: t = "#F2F2F7",
@@ -1446,7 +1446,7 @@ const ne = ({
1446
1446
  )
1447
1447
  ]
1448
1448
  }
1449
- ), Ke = ({
1449
+ ), Pe = ({
1450
1450
  width: i = 20,
1451
1451
  height: e = 20,
1452
1452
  color: t = "#004ED7",
@@ -1475,7 +1475,7 @@ const ne = ({
1475
1475
  )
1476
1476
  ]
1477
1477
  }
1478
- ), Pe = ({
1478
+ ), Fe = ({
1479
1479
  width: i = 248,
1480
1480
  height: e = 248,
1481
1481
  color: t = "#070739",
@@ -1512,7 +1512,7 @@ const ne = ({
1512
1512
  )
1513
1513
  ]
1514
1514
  }
1515
- ), Fe = ({
1515
+ ), $e = ({
1516
1516
  width: i = 24,
1517
1517
  height: e = 24,
1518
1518
  color: t = "#001E52",
@@ -1580,7 +1580,7 @@ const ne = ({
1580
1580
  )
1581
1581
  ]
1582
1582
  }
1583
- ), $e = ({
1583
+ ), Ue = ({
1584
1584
  width: i = 10,
1585
1585
  height: e = 10,
1586
1586
  color: t = "#001E52",
@@ -1617,7 +1617,7 @@ const ne = ({
1617
1617
  )
1618
1618
  ]
1619
1619
  }
1620
- ), Ue = ({
1620
+ ), ze = ({
1621
1621
  width: i = 24,
1622
1622
  height: e = 24,
1623
1623
  color: t = m.GREY_DARK_5,
@@ -1656,7 +1656,7 @@ const ne = ({
1656
1656
  )
1657
1657
  ]
1658
1658
  }
1659
- ), ze = ({
1659
+ ), Je = ({
1660
1660
  width: i = 20,
1661
1661
  height: e = 20,
1662
1662
  color: t = m.GREY_DARK_1,
@@ -1689,7 +1689,7 @@ const ne = ({
1689
1689
  )
1690
1690
  ]
1691
1691
  }
1692
- ), Je = ({
1692
+ ), Qe = ({
1693
1693
  width: i = 81,
1694
1694
  height: e = 80,
1695
1695
  color: t = m.GREY_DARK_5,
@@ -1738,7 +1738,7 @@ const ne = ({
1738
1738
  )
1739
1739
  ]
1740
1740
  }
1741
- ), Qe = ({
1741
+ ), qe = ({
1742
1742
  className: i,
1743
1743
  color: e = m.GREY_DARK_5,
1744
1744
  height: t = 20,
@@ -1765,7 +1765,7 @@ const ne = ({
1765
1765
  }
1766
1766
  )
1767
1767
  }
1768
- ), qe = ({
1768
+ ), Xe = ({
1769
1769
  className: i,
1770
1770
  color: e = m.GREY_DARK_5,
1771
1771
  height: t = 20,
@@ -1792,7 +1792,7 @@ const ne = ({
1792
1792
  }
1793
1793
  )
1794
1794
  }
1795
- ), Xe = ({
1795
+ ), et = ({
1796
1796
  className: i,
1797
1797
  color: e = m.GREY_DARK_5,
1798
1798
  height: t = 5,
@@ -1816,7 +1816,7 @@ const ne = ({
1816
1816
  }
1817
1817
  )
1818
1818
  }
1819
- ), et = ({
1819
+ ), tt = ({
1820
1820
  className: i,
1821
1821
  color: e = m.GREY_DARK_5,
1822
1822
  height: t = 5,
@@ -1841,7 +1841,7 @@ const ne = ({
1841
1841
  }
1842
1842
  )
1843
1843
  }
1844
- ), tt = ({
1844
+ ), it = ({
1845
1845
  className: i,
1846
1846
  color: e = m.GREY_DARK_5,
1847
1847
  height: t = 24,
@@ -1880,7 +1880,7 @@ const ne = ({
1880
1880
  )
1881
1881
  ]
1882
1882
  }
1883
- ), it = ({
1883
+ ), st = ({
1884
1884
  className: i,
1885
1885
  color: e = m.GREY_DARK_5,
1886
1886
  height: t = 24,
@@ -1919,7 +1919,7 @@ const ne = ({
1919
1919
  )
1920
1920
  ]
1921
1921
  }
1922
- ), st = ({
1922
+ ), ot = ({
1923
1923
  className: i,
1924
1924
  color: e = m.GREY_DARK_5,
1925
1925
  height: t = 24,
@@ -1946,7 +1946,7 @@ const ne = ({
1946
1946
  }
1947
1947
  )
1948
1948
  }
1949
- ), ot = ({
1949
+ ), nt = ({
1950
1950
  className: i,
1951
1951
  color: e = m.GREY_DARK_5,
1952
1952
  height: t = 24,
@@ -2005,7 +2005,7 @@ const ne = ({
2005
2005
  )
2006
2006
  ]
2007
2007
  }
2008
- ), nt = ({
2008
+ ), rt = ({
2009
2009
  className: i,
2010
2010
  color: e = m.GREY_DARK_5,
2011
2011
  height: t = 24,
@@ -2042,7 +2042,7 @@ const ne = ({
2042
2042
  )
2043
2043
  ]
2044
2044
  }
2045
- ), rt = ({
2045
+ ), lt = ({
2046
2046
  className: i,
2047
2047
  color: e = m.GREY_DARK_3,
2048
2048
  height: t = 14,
@@ -2079,7 +2079,7 @@ const ne = ({
2079
2079
  )
2080
2080
  ]
2081
2081
  }
2082
- ), lt = ({
2082
+ ), at = ({
2083
2083
  className: i,
2084
2084
  color: e = m.GREY_DARK_5,
2085
2085
  height: t = 18,
@@ -2106,7 +2106,7 @@ const ne = ({
2106
2106
  }
2107
2107
  )
2108
2108
  }
2109
- ), at = ({
2109
+ ), ht = ({
2110
2110
  className: i,
2111
2111
  color: e = m.GREY_DARK_5,
2112
2112
  height: t = 24,
@@ -2158,7 +2158,7 @@ const ne = ({
2158
2158
  )
2159
2159
  ]
2160
2160
  }
2161
- ), ht = ({
2161
+ ), ct = ({
2162
2162
  className: i,
2163
2163
  color: e = m.GREY_DARK_5,
2164
2164
  height: t = 24,
@@ -2195,7 +2195,7 @@ const ne = ({
2195
2195
  )
2196
2196
  ]
2197
2197
  }
2198
- ), ct = ({
2198
+ ), dt = ({
2199
2199
  className: i,
2200
2200
  color: e = m.NOTIFICATION_WARNING_DARK,
2201
2201
  height: t = 37,
@@ -2234,7 +2234,7 @@ const ne = ({
2234
2234
  )
2235
2235
  ]
2236
2236
  }
2237
- ), dt = ({
2237
+ ), gt = ({
2238
2238
  className: i,
2239
2239
  color: e = m.GREY_DARK_5,
2240
2240
  height: t = 24,
@@ -2260,7 +2260,7 @@ const ne = ({
2260
2260
  }
2261
2261
  )
2262
2262
  }
2263
- ), gt = ({
2263
+ ), ut = ({
2264
2264
  className: i,
2265
2265
  color: e = m.GREY_DARK_5,
2266
2266
  height: t = 24,
@@ -2299,7 +2299,7 @@ const ne = ({
2299
2299
  )
2300
2300
  ]
2301
2301
  }
2302
- ), ut = ({
2302
+ ), Ct = ({
2303
2303
  className: i,
2304
2304
  color: e = m.GREY_DARK_5,
2305
2305
  height: t = 24,
@@ -2338,7 +2338,7 @@ const ne = ({
2338
2338
  )
2339
2339
  ]
2340
2340
  }
2341
- ), Ct = ({
2341
+ ), pt = ({
2342
2342
  className: i,
2343
2343
  color: e = m.GREY_DARK_5,
2344
2344
  height: t = 24,
@@ -2407,7 +2407,7 @@ const ne = ({
2407
2407
  )
2408
2408
  ]
2409
2409
  }
2410
- ), pt = ({
2410
+ ), ft = ({
2411
2411
  className: i,
2412
2412
  color: e = m.GREY_DARK_5,
2413
2413
  height: t = 24,
@@ -2446,7 +2446,7 @@ const ne = ({
2446
2446
  )
2447
2447
  ]
2448
2448
  }
2449
- ), ft = ({
2449
+ ), wt = ({
2450
2450
  className: i,
2451
2451
  color: e = m.GREY_DARK_5,
2452
2452
  height: t = 24,
@@ -2503,7 +2503,7 @@ const ne = ({
2503
2503
  )
2504
2504
  ]
2505
2505
  }
2506
- ), wt = ({
2506
+ ), mt = ({
2507
2507
  className: i,
2508
2508
  color: e = m.GREY_DARK_5,
2509
2509
  height: t = 24,
@@ -2542,7 +2542,7 @@ const ne = ({
2542
2542
  )
2543
2543
  ]
2544
2544
  }
2545
- ), mt = ({
2545
+ ), kt = ({
2546
2546
  className: i,
2547
2547
  color: e = m.GREY_DARK_5,
2548
2548
  height: t = 24,
@@ -2591,7 +2591,7 @@ const ne = ({
2591
2591
  )
2592
2592
  ]
2593
2593
  }
2594
- ), kt = ({
2594
+ ), Lt = ({
2595
2595
  className: i,
2596
2596
  color: e = m.GREY_DARK_5,
2597
2597
  height: t = 24,
@@ -2630,7 +2630,7 @@ const ne = ({
2630
2630
  )
2631
2631
  ]
2632
2632
  }
2633
- ), Lt = ({
2633
+ ), vt = ({
2634
2634
  className: i,
2635
2635
  color: e = m.GREY_DARK_5,
2636
2636
  height: t = 24,
@@ -2657,7 +2657,7 @@ const ne = ({
2657
2657
  }
2658
2658
  )
2659
2659
  }
2660
- ), vt = ({
2660
+ ), Nt = ({
2661
2661
  className: i,
2662
2662
  color: e = m.GREY_DARK_5,
2663
2663
  height: t = 24,
@@ -2695,7 +2695,7 @@ const ne = ({
2695
2695
  )
2696
2696
  ]
2697
2697
  }
2698
- ), Nt = ({
2698
+ ), xt = ({
2699
2699
  className: i,
2700
2700
  color: e = m.GREY_DARK_5,
2701
2701
  height: t = 24,
@@ -2716,7 +2716,7 @@ const ne = ({
2716
2716
  /* @__PURE__ */ n("path", { d: "M12 8L4 8", stroke: e, strokeWidth: "1.7", strokeLinecap: "round" })
2717
2717
  ]
2718
2718
  }
2719
- ), xt = ({
2719
+ ), Rt = ({
2720
2720
  className: i,
2721
2721
  color: e = m.GREY_DARK_5,
2722
2722
  height: t = 24,
@@ -2755,7 +2755,7 @@ const ne = ({
2755
2755
  )
2756
2756
  ]
2757
2757
  }
2758
- ), Rt = ({
2758
+ ), Mt = ({
2759
2759
  className: i,
2760
2760
  color: e = m.GREY_DARK_5,
2761
2761
  height: t = 24,
@@ -2794,7 +2794,7 @@ const ne = ({
2794
2794
  )
2795
2795
  ]
2796
2796
  }
2797
- ), Mt = ({
2797
+ ), yt = ({
2798
2798
  className: i,
2799
2799
  color: e = m.GREY_DARK_5,
2800
2800
  height: t = 24,
@@ -2833,7 +2833,7 @@ const ne = ({
2833
2833
  )
2834
2834
  ]
2835
2835
  }
2836
- ), yt = ({
2836
+ ), bt = ({
2837
2837
  className: i,
2838
2838
  color: e = m.GREY_DARK_2,
2839
2839
  height: t = 16,
@@ -2859,7 +2859,7 @@ const ne = ({
2859
2859
  }
2860
2860
  )
2861
2861
  }
2862
- ), bt = ({
2862
+ ), Et = ({
2863
2863
  className: i,
2864
2864
  color: e = m.GREY_DARK_5,
2865
2865
  height: t = 20,
@@ -2888,7 +2888,7 @@ const ne = ({
2888
2888
  /* @__PURE__ */ n("defs", { children: /* @__PURE__ */ n("clipPath", { id: "clip0_3992_5989", children: /* @__PURE__ */ n("rect", { width: "20", height: "20", fill: "white" }) }) })
2889
2889
  ]
2890
2890
  }
2891
- ), Et = ({
2891
+ ), _t = ({
2892
2892
  className: i,
2893
2893
  color: e = m.GREY_DARK_5,
2894
2894
  height: t = 20,
@@ -2917,7 +2917,7 @@ const ne = ({
2917
2917
  /* @__PURE__ */ n("defs", { children: /* @__PURE__ */ n("clipPath", { id: "clip0_3992_5988", children: /* @__PURE__ */ n("rect", { width: "20", height: "20", fill: "white" }) }) })
2918
2918
  ]
2919
2919
  }
2920
- ), _t = ({
2920
+ ), Ht = ({
2921
2921
  className: i,
2922
2922
  color: e = m.GREY_DARK_5,
2923
2923
  height: t = 20,
@@ -2946,7 +2946,7 @@ const ne = ({
2946
2946
  )
2947
2947
  ]
2948
2948
  }
2949
- ), Ht = ({
2949
+ ), Vt = ({
2950
2950
  className: i,
2951
2951
  color: e = m.GREY_DARK_5,
2952
2952
  height: t = 20,
@@ -2975,7 +2975,7 @@ const ne = ({
2975
2975
  )
2976
2976
  ]
2977
2977
  }
2978
- ), Vt = ({
2978
+ ), It = ({
2979
2979
  className: i,
2980
2980
  color: e = "#001E52",
2981
2981
  height: t = 24,
@@ -3001,7 +3001,7 @@ const ne = ({
3001
3001
  }
3002
3002
  )
3003
3003
  }
3004
- ), It = ({
3004
+ ), St = ({
3005
3005
  className: i,
3006
3006
  color: e = "#131314",
3007
3007
  height: t = 20,
@@ -3067,7 +3067,7 @@ const ne = ({
3067
3067
  )
3068
3068
  ] }) })
3069
3069
  }
3070
- ), i1 = ({
3070
+ ), s1 = ({
3071
3071
  name: i,
3072
3072
  width: e,
3073
3073
  height: t,
@@ -3076,49 +3076,49 @@ const ne = ({
3076
3076
  disabled: a = !1,
3077
3077
  onClick: c
3078
3078
  }) => {
3079
- const [r, d] = I(o), { theme: g } = q(Z1), l = a ? g && g === "dark" ? m.GREY_LIGHT_4 : m.GREY_DARK_1 : s, h = a ? void 0 : c;
3079
+ const [r, d] = S(o), { theme: g } = i1(D1), l = a ? g && g === "dark" ? m.GREY_LIGHT_4 : m.GREY_DARK_1 : s, h = a ? void 0 : c;
3080
3080
  return O(() => {
3081
3081
  if (o) {
3082
3082
  h && !a && d(`${o} clickable`);
3083
3083
  return;
3084
3084
  }
3085
3085
  h && !a && d("clickable");
3086
- }, [h, o, a]), /* @__PURE__ */ n($, { children: (() => {
3086
+ }, [h, o, a]), /* @__PURE__ */ n(Y, { children: (() => {
3087
3087
  switch (i) {
3088
3088
  case "nextIcon":
3089
- return Qe({ width: e, height: t, color: l, className: r, onClick: h });
3090
- case "prevIcon":
3091
3089
  return qe({ width: e, height: t, color: l, className: r, onClick: h });
3090
+ case "prevIcon":
3091
+ return Xe({ width: e, height: t, color: l, className: r, onClick: h });
3092
3092
  case "arrowUp":
3093
- return ne({ width: e, height: t, color: l, className: r, onClick: h });
3094
- case "arrowDown":
3095
3093
  return re({ width: e, height: t, color: l, className: r, onClick: h });
3096
- case "info":
3094
+ case "arrowDown":
3097
3095
  return le({ width: e, height: t, color: l, className: r, onClick: h });
3098
- case "arrowRight":
3096
+ case "info":
3099
3097
  return ae({ width: e, height: t, color: l, className: r, onClick: h });
3100
- case "calendar":
3098
+ case "arrowRight":
3101
3099
  return he({ width: e, height: t, color: l, className: r, onClick: h });
3102
- case "ok":
3100
+ case "calendar":
3103
3101
  return ce({ width: e, height: t, color: l, className: r, onClick: h });
3104
- case "cancel":
3102
+ case "ok":
3105
3103
  return de({ width: e, height: t, color: l, className: r, onClick: h });
3106
- case "add":
3104
+ case "cancel":
3107
3105
  return ge({ width: e, height: t, color: l, className: r, onClick: h });
3108
- case "list":
3106
+ case "add":
3109
3107
  return ue({ width: e, height: t, color: l, className: r, onClick: h });
3110
- case "dragAndDrop":
3108
+ case "list":
3111
3109
  return Ce({ width: e, height: t, color: l, className: r, onClick: h });
3112
- case "filter":
3110
+ case "dragAndDrop":
3113
3111
  return pe({ width: e, height: t, color: l, className: r, onClick: h });
3114
- case "attention":
3112
+ case "filter":
3115
3113
  return fe({ width: e, height: t, color: l, className: r, onClick: h });
3116
- case "plus":
3114
+ case "attention":
3117
3115
  return we({ width: e, height: t, color: l, className: r, onClick: h });
3118
- case "time":
3116
+ case "plus":
3119
3117
  return me({ width: e, height: t, color: l, className: r, onClick: h });
3118
+ case "time":
3119
+ return ke({ width: e, height: t, color: l, className: r, onClick: h });
3120
3120
  case "arrowDownLong":
3121
- return ke({
3121
+ return Le({
3122
3122
  width: e,
3123
3123
  height: t,
3124
3124
  color: l,
@@ -3126,9 +3126,9 @@ const ne = ({
3126
3126
  onClick: h
3127
3127
  });
3128
3128
  case "users":
3129
- return Le({ width: e, height: t, color: l, className: r, onClick: h });
3129
+ return ve({ width: e, height: t, color: l, className: r, onClick: h });
3130
3130
  case "mySkillsMatrix":
3131
- return ve({
3131
+ return Ne({
3132
3132
  width: e,
3133
3133
  height: t,
3134
3134
  color: l,
@@ -3136,9 +3136,9 @@ const ne = ({
3136
3136
  onClick: h
3137
3137
  });
3138
3138
  case "skills":
3139
- return Ne({ width: e, height: t, color: l, className: r, onClick: h });
3139
+ return xe({ width: e, height: t, color: l, className: r, onClick: h });
3140
3140
  case "skillsMatrices":
3141
- return xe({
3141
+ return Re({
3142
3142
  width: e,
3143
3143
  height: t,
3144
3144
  color: l,
@@ -3146,23 +3146,23 @@ const ne = ({
3146
3146
  onClick: h
3147
3147
  });
3148
3148
  case "history":
3149
- return Re({ width: e, height: t, color: l, className: r, onClick: h });
3150
- case "logOut":
3151
3149
  return Me({ width: e, height: t, color: l, className: r, onClick: h });
3152
- case "settings":
3150
+ case "logOut":
3153
3151
  return ye({ width: e, height: t, color: l, className: r, onClick: h });
3154
- case "addSkill":
3152
+ case "settings":
3155
3153
  return be({ width: e, height: t, color: l, className: r, onClick: h });
3156
- case "conversation":
3154
+ case "addSkill":
3157
3155
  return Ee({ width: e, height: t, color: l, className: r, onClick: h });
3158
- case "trash":
3156
+ case "conversation":
3159
3157
  return _e({ width: e, height: t, color: l, className: r, onClick: h });
3160
- case "settings4":
3158
+ case "trash":
3161
3159
  return He({ width: e, height: t, color: l, className: r, onClick: h });
3162
- case "edit2":
3160
+ case "settings4":
3163
3161
  return Ve({ width: e, height: t, color: l, className: r, onClick: h });
3162
+ case "edit2":
3163
+ return Ie({ width: e, height: t, color: l, className: r, onClick: h });
3164
3164
  case "notifications":
3165
- return Ie({
3165
+ return Se({
3166
3166
  width: e,
3167
3167
  height: t,
3168
3168
  color: l,
@@ -3172,7 +3172,7 @@ const ne = ({
3172
3172
  case "success":
3173
3173
  return Oe({ width: e, height: t, color: l, className: r, onClick: h });
3174
3174
  case "attentionSmall":
3175
- return Se({
3175
+ return Ae({
3176
3176
  width: e,
3177
3177
  height: t,
3178
3178
  color: l,
@@ -3180,11 +3180,11 @@ const ne = ({
3180
3180
  onClick: h
3181
3181
  });
3182
3182
  case "errorSmall":
3183
- return Ae({ width: e, height: t, color: l, className: r, onClick: h });
3184
- case "infoMedium":
3185
3183
  return Be({ width: e, height: t, color: l, className: r, onClick: h });
3184
+ case "infoMedium":
3185
+ return We({ width: e, height: t, color: l, className: r, onClick: h });
3186
3186
  case "attentionMedium":
3187
- return We({
3187
+ return je({
3188
3188
  width: e,
3189
3189
  height: t,
3190
3190
  color: l,
@@ -3192,9 +3192,9 @@ const ne = ({
3192
3192
  onClick: h
3193
3193
  });
3194
3194
  case "errorMedium":
3195
- return je({ width: e, height: t, color: l, className: r, onClick: h });
3195
+ return Ze({ width: e, height: t, color: l, className: r, onClick: h });
3196
3196
  case "faviconSkills":
3197
- return Pe({
3197
+ return Fe({
3198
3198
  width: e,
3199
3199
  height: t,
3200
3200
  color: l,
@@ -3202,7 +3202,7 @@ const ne = ({
3202
3202
  onClick: h
3203
3203
  });
3204
3204
  case "visibilityIcon":
3205
- return Ze({
3205
+ return De({
3206
3206
  width: e,
3207
3207
  height: t,
3208
3208
  color: l,
@@ -3210,7 +3210,7 @@ const ne = ({
3210
3210
  onClick: h
3211
3211
  });
3212
3212
  case "visibilityOffIcon":
3213
- return De({
3213
+ return Te({
3214
3214
  width: e,
3215
3215
  height: t,
3216
3216
  color: l,
@@ -3218,7 +3218,7 @@ const ne = ({
3218
3218
  onClick: h
3219
3219
  });
3220
3220
  case "selectArrowIcon":
3221
- return Te({
3221
+ return Ge({
3222
3222
  width: e,
3223
3223
  height: t,
3224
3224
  color: l,
@@ -3226,7 +3226,7 @@ const ne = ({
3226
3226
  onClick: h
3227
3227
  });
3228
3228
  case "expandArrowIcon":
3229
- return Ge({
3229
+ return Ke({
3230
3230
  width: e,
3231
3231
  height: t,
3232
3232
  color: l,
@@ -3234,7 +3234,7 @@ const ne = ({
3234
3234
  onClick: h
3235
3235
  });
3236
3236
  case "expandActiveArrowIcon":
3237
- return Ke({
3237
+ return Pe({
3238
3238
  width: e,
3239
3239
  height: t,
3240
3240
  color: l,
@@ -3242,97 +3242,97 @@ const ne = ({
3242
3242
  onClick: h
3243
3243
  });
3244
3244
  case "camera":
3245
- return Fe({ width: e, height: t, color: l, className: r, onClick: h });
3245
+ return $e({ width: e, height: t, color: l, className: r, onClick: h });
3246
3246
  case "sortUp":
3247
3247
  return Ye({ width: e, height: t, color: l, className: r, onClick: h });
3248
3248
  case "sortDown":
3249
- return $e({ width: e, height: t, color: l, className: r, onClick: h });
3250
- case "logOut2":
3251
3249
  return Ue({ width: e, height: t, color: l, className: r, onClick: h });
3252
- case "search":
3250
+ case "logOut2":
3253
3251
  return ze({ width: e, height: t, color: l, className: r, onClick: h });
3254
- case "handRock":
3252
+ case "search":
3255
3253
  return Je({ width: e, height: t, color: l, className: r, onClick: h });
3254
+ case "handRock":
3255
+ return Qe({ width: e, height: t, color: l, className: r, onClick: h });
3256
3256
  case "arrowUpFilled":
3257
- return et({ width: e, height: t, color: l, className: r, onClick: h });
3257
+ return tt({ width: e, height: t, color: l, className: r, onClick: h });
3258
3258
  case "arrowDownFilled":
3259
- return Xe({ width: e, height: t, color: l, className: r, onClick: h });
3259
+ return et({ width: e, height: t, color: l, className: r, onClick: h });
3260
3260
  case "link":
3261
- return tt({ width: e, height: t, color: l, className: r, onClick: h });
3261
+ return it({ width: e, height: t, color: l, className: r, onClick: h });
3262
3262
  case "telegram":
3263
- return st({ width: e, height: t, color: l, className: r, onClick: h });
3263
+ return ot({ width: e, height: t, color: l, className: r, onClick: h });
3264
3264
  case "mail":
3265
- return nt({ width: e, height: t, color: l, className: r, onClick: h });
3265
+ return rt({ width: e, height: t, color: l, className: r, onClick: h });
3266
3266
  case "github":
3267
- return it({ width: e, height: t, color: l, className: r, onClick: h });
3267
+ return st({ width: e, height: t, color: l, className: r, onClick: h });
3268
3268
  case "linkedIn":
3269
- return ot({ width: e, height: t, color: l, className: r, onClick: h });
3269
+ return nt({ width: e, height: t, color: l, className: r, onClick: h });
3270
3270
  case "emptyStateIcon":
3271
- return rt({ width: e, height: t, color: l, className: r, onClick: h });
3272
- case "filtersIcon":
3273
3271
  return lt({ width: e, height: t, color: l, className: r, onClick: h });
3274
- case "dotMenuIcon":
3272
+ case "filtersIcon":
3275
3273
  return at({ width: e, height: t, color: l, className: r, onClick: h });
3276
- case "plusCircle":
3274
+ case "dotMenuIcon":
3277
3275
  return ht({ width: e, height: t, color: l, className: r, onClick: h });
3278
- case "warning":
3276
+ case "plusCircle":
3279
3277
  return ct({ width: e, height: t, color: l, className: r, onClick: h });
3280
- case "back":
3278
+ case "warning":
3281
3279
  return dt({ width: e, height: t, color: l, className: r, onClick: h });
3282
- case "bell":
3280
+ case "back":
3283
3281
  return gt({ width: e, height: t, color: l, className: r, onClick: h });
3282
+ case "bell":
3283
+ return ut({ width: e, height: t, color: l, className: r, onClick: h });
3284
3284
  case "contract":
3285
- return Ct({ width: e, height: t, color: l, className: r, onClick: h });
3285
+ return pt({ width: e, height: t, color: l, className: r, onClick: h });
3286
3286
  case "trash2":
3287
- return ut({ width: e, height: t, color: l, className: r, onClick: h });
3287
+ return Ct({ width: e, height: t, color: l, className: r, onClick: h });
3288
3288
  case "manager":
3289
- return pt({ width: e, height: t, color: l, className: r, onClick: h });
3290
- case "resourceManager":
3291
3289
  return ft({ width: e, height: t, color: l, className: r, onClick: h });
3292
- case "settings2":
3290
+ case "resourceManager":
3293
3291
  return wt({ width: e, height: t, color: l, className: r, onClick: h });
3294
- case "image":
3292
+ case "settings2":
3295
3293
  return mt({ width: e, height: t, color: l, className: r, onClick: h });
3296
- case "upload":
3294
+ case "image":
3297
3295
  return kt({ width: e, height: t, color: l, className: r, onClick: h });
3298
- case "edit":
3296
+ case "upload":
3299
3297
  return Lt({ width: e, height: t, color: l, className: r, onClick: h });
3300
- case "location":
3298
+ case "edit":
3301
3299
  return vt({ width: e, height: t, color: l, className: r, onClick: h });
3302
- case "plus2":
3300
+ case "location":
3303
3301
  return Nt({ width: e, height: t, color: l, className: r, onClick: h });
3304
- case "search2":
3302
+ case "plus2":
3305
3303
  return xt({ width: e, height: t, color: l, className: r, onClick: h });
3306
- case "fastArrowLeft":
3304
+ case "search2":
3307
3305
  return Rt({ width: e, height: t, color: l, className: r, onClick: h });
3308
- case "fastArrowRight":
3306
+ case "fastArrowLeft":
3309
3307
  return Mt({ width: e, height: t, color: l, className: r, onClick: h });
3310
- case "crossInCircle":
3308
+ case "fastArrowRight":
3311
3309
  return yt({ width: e, height: t, color: l, className: r, onClick: h });
3310
+ case "crossInCircle":
3311
+ return bt({ width: e, height: t, color: l, className: r, onClick: h });
3312
3312
  case "arrowUp2":
3313
- return Et({ width: e, height: t, color: l, className: r, onClick: h });
3313
+ return _t({ width: e, height: t, color: l, className: r, onClick: h });
3314
3314
  case "arrowDown2":
3315
- return bt({ width: e, height: t, color: l, className: r, onClick: h });
3315
+ return Et({ width: e, height: t, color: l, className: r, onClick: h });
3316
3316
  case "filledArrowLeft":
3317
- return _t({ width: e, height: t, color: l, className: r, onClick: h });
3318
- case "filledArrowRight":
3319
3317
  return Ht({ width: e, height: t, color: l, className: r, onClick: h });
3320
- case "burgerMenu":
3318
+ case "filledArrowRight":
3321
3319
  return Vt({ width: e, height: t, color: l, className: r, onClick: h });
3322
- case "signOut":
3320
+ case "burgerMenu":
3323
3321
  return It({ width: e, height: t, color: l, className: r, onClick: h });
3322
+ case "signOut":
3323
+ return St({ width: e, height: t, color: l, className: r, onClick: h });
3324
3324
  case "refresh":
3325
3325
  return Ot({ width: e, height: t, color: l, className: r, onClick: h });
3326
3326
  default:
3327
- return /* @__PURE__ */ n($, { children: "No Icon provided" });
3327
+ return /* @__PURE__ */ n(Y, { children: "No Icon provided" });
3328
3328
  }
3329
3329
  })() });
3330
- }, { Title: St, Text: At } = A1, Bt = {
3330
+ }, { Title: At, Text: Bt } = B1, Wt = {
3331
3331
  h1: 1,
3332
3332
  h2: 2,
3333
3333
  h3: 3,
3334
3334
  h4: 4
3335
- }, Wt = h1(
3335
+ }, jt = c1(
3336
3336
  ({
3337
3337
  align: i = "inherit",
3338
3338
  variant: e = "body1",
@@ -3345,17 +3345,17 @@ const ne = ({
3345
3345
  const d = e === "h1" || e === "h2" || e === "h3" || e === "h4";
3346
3346
  let g = `snmt-typography snmt-typography-${e}`;
3347
3347
  return i && i !== "inherit" && (g += ` snmt-typography-align-${i}`), a && (g += " collapsed"), d ? /* @__PURE__ */ n(
3348
- St,
3348
+ At,
3349
3349
  {
3350
3350
  className: g,
3351
3351
  style: { color: t, whiteSpace: c },
3352
3352
  onClick: o,
3353
- level: Bt[e],
3353
+ level: Wt[e],
3354
3354
  ref: r,
3355
3355
  children: s
3356
3356
  }
3357
3357
  ) : /* @__PURE__ */ n(
3358
- At,
3358
+ Bt,
3359
3359
  {
3360
3360
  className: g,
3361
3361
  style: { color: t, whiteSpace: c },
@@ -3367,12 +3367,12 @@ const ne = ({
3367
3367
  }
3368
3368
  );
3369
3369
  var k = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_1 = "var(--grey-light-1)", i.GREY_LIGHT_2 = "var(--grey-light-2)", i.GREY_LIGHT_3 = "var(--grey-light-3)", i.GREY_LIGHT_4 = "var(--grey-light-4)", i.GREY_DARK_1 = "var(--grey-dark-1)", i.GREY_DARK_2 = "var(--grey-dark-2)", i.GREY_DARK_3 = "var(--grey-dark-3)", i.GREY_DARK_4 = "var(--grey-dark-4)", i.GREY_DARK_5 = "var(--grey-dark-5)", i.BLUE_PRIMARY = "var(--blue-primary)", i.BLUE_HOVER = "var(--blue-hover)", i.BLUE_LIGHT_1 = "var(--blue-light-1)", i.BLUE_LIGHT_2 = "var(--blue-light-2)", i.BLUE_LIGHT_3 = "var(--blue-light-3)", i.BLUE_LIGHT_4 = "var(--blue-light-4)", i.BLUE_DARK_1 = "var(--blue-dark-1)", i.PURPLE_LIGHT = "var(--purple-light)", i.PURPLE_DARK = "var(--purple-dark)", i.NOTIFICATION_WARNING_LIGHT = "var(--notification-warning-light)", i.NOTIFICATION_WARNING_DARK = "var(--notification-warning-dark)", i.NOTIFICATION_SUCCESS_LIGHT = "var(--notification-success-light)", i.NOTIFICATION_SUCCESS_DARK = "var(--notification-success-dark)", i.NOTIFICATION_ERROR_LIGHT = "var(--notification-error-light)", i.NOTIFICATION_ERROR_DARK = "var(--notification-error-dark)", i.NOTIFICATION_ERROR_DARK_MODE = "var(--notification-error-dark-mode)", i))(k || {});
3370
- const D1 = Q({
3370
+ const T1 = t1({
3371
3371
  locale: "en",
3372
3372
  theme: "light"
3373
3373
  });
3374
- D1.Provider;
3375
- const jt = ({
3374
+ T1.Provider;
3375
+ const Zt = ({
3376
3376
  width: i = 20,
3377
3377
  height: e = 20,
3378
3378
  color: t = "#001E52",
@@ -3399,7 +3399,7 @@ const jt = ({
3399
3399
  }
3400
3400
  )
3401
3401
  }
3402
- ), Zt = ({
3402
+ ), Dt = ({
3403
3403
  width: i = 20,
3404
3404
  height: e = 20,
3405
3405
  color: t = "#001E52",
@@ -3426,7 +3426,7 @@ const jt = ({
3426
3426
  }
3427
3427
  )
3428
3428
  }
3429
- ), Dt = ({
3429
+ ), Tt = ({
3430
3430
  width: i = 16,
3431
3431
  height: e = 16,
3432
3432
  color: t = "#001E52",
@@ -3454,7 +3454,7 @@ const jt = ({
3454
3454
  )
3455
3455
  ]
3456
3456
  }
3457
- ), Tt = ({
3457
+ ), Gt = ({
3458
3458
  width: i = 20,
3459
3459
  height: e = 20,
3460
3460
  color: t = "#001E52",
@@ -3489,7 +3489,7 @@ const jt = ({
3489
3489
  )
3490
3490
  ]
3491
3491
  }
3492
- ), Gt = ({
3492
+ ), Kt = ({
3493
3493
  width: i = 18,
3494
3494
  height: e = 18,
3495
3495
  color: t = "#001E52",
@@ -3528,7 +3528,7 @@ const jt = ({
3528
3528
  )
3529
3529
  ]
3530
3530
  }
3531
- ), Kt = ({
3531
+ ), Pt = ({
3532
3532
  width: i = 20,
3533
3533
  height: e = 20,
3534
3534
  color: t = "#001E52",
@@ -3554,7 +3554,7 @@ const jt = ({
3554
3554
  }
3555
3555
  )
3556
3556
  }
3557
- ), Pt = ({
3557
+ ), Ft = ({
3558
3558
  width: i = 20,
3559
3559
  height: e = 20,
3560
3560
  color: t = "#001E52",
@@ -3575,7 +3575,7 @@ const jt = ({
3575
3575
  /* @__PURE__ */ n("path", { d: "M16 4L4 16", stroke: t, strokeWidth: "1.5", strokeLinecap: "round" })
3576
3576
  ]
3577
3577
  }
3578
- ), Ft = ({
3578
+ ), $t = ({
3579
3579
  width: i = 20,
3580
3580
  height: e = 20,
3581
3581
  color: t = "#001E52",
@@ -3661,7 +3661,7 @@ const jt = ({
3661
3661
  )
3662
3662
  ]
3663
3663
  }
3664
- ), $t = ({
3664
+ ), Ut = ({
3665
3665
  width: i = 20,
3666
3666
  height: e = 20,
3667
3667
  color: t = "#001E52",
@@ -3700,7 +3700,7 @@ const jt = ({
3700
3700
  /* @__PURE__ */ n("path", { d: "M3 12L17 12", stroke: t, strokeWidth: "2", strokeLinecap: "round" })
3701
3701
  ]
3702
3702
  }
3703
- ), Ut = ({
3703
+ ), zt = ({
3704
3704
  width: i = 16,
3705
3705
  height: e = 12,
3706
3706
  color: t = "#001E52",
@@ -3749,7 +3749,7 @@ const jt = ({
3749
3749
  )
3750
3750
  ] })
3751
3751
  }
3752
- ), zt = ({
3752
+ ), Jt = ({
3753
3753
  width: i = 16,
3754
3754
  height: e = 16,
3755
3755
  color: t = "#001E52",
@@ -3783,7 +3783,7 @@ const jt = ({
3783
3783
  )
3784
3784
  ]
3785
3785
  }
3786
- ), Jt = ({
3786
+ ), Qt = ({
3787
3787
  width: i = 10,
3788
3788
  height: e = 10,
3789
3789
  color: t = "#001E52",
@@ -3822,7 +3822,7 @@ const jt = ({
3822
3822
  )
3823
3823
  ] })
3824
3824
  }
3825
- ), Qt = ({
3825
+ ), qt = ({
3826
3826
  width: i = 16,
3827
3827
  height: e = 16,
3828
3828
  color: t = "#001E52",
@@ -3858,7 +3858,7 @@ const jt = ({
3858
3858
  )
3859
3859
  ]
3860
3860
  }
3861
- ), qt = ({
3861
+ ), Xt = ({
3862
3862
  width: i = 11,
3863
3863
  height: e = 32,
3864
3864
  color: t = "#001E52",
@@ -3896,7 +3896,7 @@ const jt = ({
3896
3896
  /* @__PURE__ */ n("circle", { cx: "3", cy: "3", r: "3", fill: t })
3897
3897
  ]
3898
3898
  }
3899
- ), Xt = ({
3899
+ ), e2 = ({
3900
3900
  width: i = 20,
3901
3901
  height: e = 20,
3902
3902
  color: t = "#001E52",
@@ -3943,7 +3943,7 @@ const jt = ({
3943
3943
  )
3944
3944
  ]
3945
3945
  }
3946
- ), e2 = ({
3946
+ ), t2 = ({
3947
3947
  width: i = 20,
3948
3948
  height: e = 20,
3949
3949
  color: t = "#001E52",
@@ -3976,7 +3976,7 @@ const jt = ({
3976
3976
  )
3977
3977
  ]
3978
3978
  }
3979
- ), t2 = ({
3979
+ ), i2 = ({
3980
3980
  width: i = 20,
3981
3981
  height: e = 20,
3982
3982
  color: t = "#001E52",
@@ -4023,7 +4023,7 @@ const jt = ({
4023
4023
  )
4024
4024
  ]
4025
4025
  }
4026
- ), i2 = ({
4026
+ ), s2 = ({
4027
4027
  width: i = 20,
4028
4028
  height: e = 20,
4029
4029
  color: t = "#001E52",
@@ -4056,7 +4056,7 @@ const jt = ({
4056
4056
  )
4057
4057
  ]
4058
4058
  }
4059
- ), s2 = ({
4059
+ ), o2 = ({
4060
4060
  width: i = 18,
4061
4061
  height: e = 16,
4062
4062
  color: t = "#001E52",
@@ -4095,7 +4095,7 @@ const jt = ({
4095
4095
  )
4096
4096
  ]
4097
4097
  }
4098
- ), o2 = ({
4098
+ ), n2 = ({
4099
4099
  width: i = 20,
4100
4100
  height: e = 20,
4101
4101
  color: t = "#001E52",
@@ -4128,7 +4128,7 @@ const jt = ({
4128
4128
  )
4129
4129
  ]
4130
4130
  }
4131
- ), n2 = ({
4131
+ ), r2 = ({
4132
4132
  width: i = 20,
4133
4133
  height: e = 20,
4134
4134
  color: t = "#001E52",
@@ -4152,7 +4152,7 @@ const jt = ({
4152
4152
  }
4153
4153
  )
4154
4154
  }
4155
- ), r2 = ({
4155
+ ), l2 = ({
4156
4156
  width: i = 20,
4157
4157
  height: e = 20,
4158
4158
  color: t = "#001E52",
@@ -4199,7 +4199,7 @@ const jt = ({
4199
4199
  )
4200
4200
  ]
4201
4201
  }
4202
- ), l2 = ({
4202
+ ), a2 = ({
4203
4203
  width: i = 20,
4204
4204
  height: e = 20,
4205
4205
  color: t = "#001E52",
@@ -4232,7 +4232,7 @@ const jt = ({
4232
4232
  )
4233
4233
  ]
4234
4234
  }
4235
- ), a2 = ({
4235
+ ), h2 = ({
4236
4236
  width: i = 20,
4237
4237
  height: e = 20,
4238
4238
  color: t = "#001E52",
@@ -4265,7 +4265,7 @@ const jt = ({
4265
4265
  )
4266
4266
  ]
4267
4267
  }
4268
- ), h2 = ({
4268
+ ), c2 = ({
4269
4269
  width: i = 20,
4270
4270
  height: e = 23,
4271
4271
  color: t = "#001E52",
@@ -4326,7 +4326,7 @@ const jt = ({
4326
4326
  )
4327
4327
  ]
4328
4328
  }
4329
- ), c2 = ({
4329
+ ), d2 = ({
4330
4330
  width: i = 20,
4331
4331
  height: e = 20,
4332
4332
  color: t = "#001E52",
@@ -4366,7 +4366,7 @@ const jt = ({
4366
4366
  )
4367
4367
  ]
4368
4368
  }
4369
- ), d2 = ({
4369
+ ), g2 = ({
4370
4370
  width: i = 32,
4371
4371
  height: e = 25,
4372
4372
  color: t = "#001E52",
@@ -4394,7 +4394,7 @@ const jt = ({
4394
4394
  )
4395
4395
  ]
4396
4396
  }
4397
- ), g2 = ({
4397
+ ), u2 = ({
4398
4398
  width: i = 14,
4399
4399
  height: e = 14,
4400
4400
  color: t = "#10B981",
@@ -4423,7 +4423,7 @@ const jt = ({
4423
4423
  )
4424
4424
  ]
4425
4425
  }
4426
- ), u2 = ({
4426
+ ), C2 = ({
4427
4427
  width: i = 11,
4428
4428
  height: e = 11,
4429
4429
  color: t = "#FFB020",
@@ -4457,7 +4457,7 @@ const jt = ({
4457
4457
  )
4458
4458
  ]
4459
4459
  }
4460
- ), C2 = ({
4460
+ ), p2 = ({
4461
4461
  width: i = 10,
4462
4462
  height: e = 10,
4463
4463
  color: t = "#88A4FF",
@@ -4505,7 +4505,7 @@ const jt = ({
4505
4505
  )
4506
4506
  ]
4507
4507
  }
4508
- ), p2 = ({
4508
+ ), f2 = ({
4509
4509
  width: i = 14,
4510
4510
  height: e = 14,
4511
4511
  color: t = "#8E8E93",
@@ -4533,7 +4533,7 @@ const jt = ({
4533
4533
  )
4534
4534
  ]
4535
4535
  }
4536
- ), f2 = ({
4536
+ ), w2 = ({
4537
4537
  width: i = 14,
4538
4538
  height: e = 14,
4539
4539
  color: t = "#FFB020",
@@ -4567,7 +4567,7 @@ const jt = ({
4567
4567
  )
4568
4568
  ]
4569
4569
  }
4570
- ), w2 = ({
4570
+ ), m2 = ({
4571
4571
  width: i = 14,
4572
4572
  height: e = 14,
4573
4573
  color: t = "#D0421B",
@@ -4615,7 +4615,7 @@ const jt = ({
4615
4615
  )
4616
4616
  ]
4617
4617
  }
4618
- ), m2 = ({
4618
+ ), k2 = ({
4619
4619
  width: i = 20,
4620
4620
  height: e = 20,
4621
4621
  color: t = "#070739",
@@ -4645,7 +4645,7 @@ const jt = ({
4645
4645
  /* @__PURE__ */ n("circle", { cx: "10", cy: "10", r: "2.375", stroke: t, strokeWidth: "1.25" })
4646
4646
  ]
4647
4647
  }
4648
- ), k2 = ({
4648
+ ), L2 = ({
4649
4649
  width: i = 20,
4650
4650
  height: e = 20,
4651
4651
  color: t = "#070739",
@@ -4683,7 +4683,7 @@ const jt = ({
4683
4683
  )
4684
4684
  ]
4685
4685
  }
4686
- ), L2 = ({
4686
+ ), v2 = ({
4687
4687
  width: i = 9,
4688
4688
  height: e = 5,
4689
4689
  color: t = "#001E52",
@@ -4709,7 +4709,7 @@ const jt = ({
4709
4709
  }
4710
4710
  )
4711
4711
  }
4712
- ), v2 = ({
4712
+ ), N2 = ({
4713
4713
  width: i = 20,
4714
4714
  height: e = 20,
4715
4715
  color: t = "#F2F2F7",
@@ -4738,7 +4738,7 @@ const jt = ({
4738
4738
  )
4739
4739
  ]
4740
4740
  }
4741
- ), N2 = ({
4741
+ ), x2 = ({
4742
4742
  width: i = 20,
4743
4743
  height: e = 20,
4744
4744
  color: t = "#004ED7",
@@ -4767,7 +4767,7 @@ const jt = ({
4767
4767
  )
4768
4768
  ]
4769
4769
  }
4770
- ), x2 = ({
4770
+ ), R2 = ({
4771
4771
  width: i = 248,
4772
4772
  height: e = 248,
4773
4773
  color: t = "#070739",
@@ -4804,7 +4804,7 @@ const jt = ({
4804
4804
  )
4805
4805
  ]
4806
4806
  }
4807
- ), R2 = ({
4807
+ ), M2 = ({
4808
4808
  width: i = 24,
4809
4809
  height: e = 24,
4810
4810
  color: t = "#001E52",
@@ -4843,7 +4843,7 @@ const jt = ({
4843
4843
  )
4844
4844
  ]
4845
4845
  }
4846
- ), M2 = ({
4846
+ ), y2 = ({
4847
4847
  width: i = 10,
4848
4848
  height: e = 10,
4849
4849
  color: t = "#001E52",
@@ -4872,7 +4872,7 @@ const jt = ({
4872
4872
  )
4873
4873
  ]
4874
4874
  }
4875
- ), y2 = ({
4875
+ ), b2 = ({
4876
4876
  width: i = 10,
4877
4877
  height: e = 10,
4878
4878
  color: t = "#001E52",
@@ -4909,7 +4909,7 @@ const jt = ({
4909
4909
  )
4910
4910
  ]
4911
4911
  }
4912
- ), b2 = ({
4912
+ ), E2 = ({
4913
4913
  width: i = 24,
4914
4914
  height: e = 24,
4915
4915
  color: t = k.GREY_DARK_5,
@@ -4948,7 +4948,7 @@ const jt = ({
4948
4948
  )
4949
4949
  ]
4950
4950
  }
4951
- ), E2 = ({
4951
+ ), _2 = ({
4952
4952
  width: i = 20,
4953
4953
  height: e = 20,
4954
4954
  color: t = k.GREY_DARK_1,
@@ -4981,7 +4981,7 @@ const jt = ({
4981
4981
  )
4982
4982
  ]
4983
4983
  }
4984
- ), _2 = ({
4984
+ ), H2 = ({
4985
4985
  width: i = 81,
4986
4986
  height: e = 80,
4987
4987
  color: t = k.GREY_DARK_5,
@@ -5030,7 +5030,7 @@ const jt = ({
5030
5030
  )
5031
5031
  ]
5032
5032
  }
5033
- ), H2 = ({
5033
+ ), V2 = ({
5034
5034
  className: i,
5035
5035
  color: e = k.GREY_DARK_5,
5036
5036
  height: t = 20,
@@ -5057,7 +5057,7 @@ const jt = ({
5057
5057
  }
5058
5058
  )
5059
5059
  }
5060
- ), V2 = ({
5060
+ ), I2 = ({
5061
5061
  className: i,
5062
5062
  color: e = k.GREY_DARK_5,
5063
5063
  height: t = 20,
@@ -5084,7 +5084,7 @@ const jt = ({
5084
5084
  }
5085
5085
  )
5086
5086
  }
5087
- ), I2 = ({
5087
+ ), S2 = ({
5088
5088
  className: i,
5089
5089
  color: e = k.GREY_DARK_5,
5090
5090
  height: t = 5,
@@ -5133,7 +5133,7 @@ const jt = ({
5133
5133
  }
5134
5134
  )
5135
5135
  }
5136
- ), S2 = ({
5136
+ ), A2 = ({
5137
5137
  className: i,
5138
5138
  color: e = k.GREY_DARK_5,
5139
5139
  height: t = 24,
@@ -5172,7 +5172,7 @@ const jt = ({
5172
5172
  )
5173
5173
  ]
5174
5174
  }
5175
- ), A2 = ({
5175
+ ), B2 = ({
5176
5176
  className: i,
5177
5177
  color: e = k.GREY_DARK_5,
5178
5178
  height: t = 24,
@@ -5211,7 +5211,7 @@ const jt = ({
5211
5211
  )
5212
5212
  ]
5213
5213
  }
5214
- ), B2 = ({
5214
+ ), W2 = ({
5215
5215
  className: i,
5216
5216
  color: e = k.GREY_DARK_5,
5217
5217
  height: t = 24,
@@ -5238,7 +5238,7 @@ const jt = ({
5238
5238
  }
5239
5239
  )
5240
5240
  }
5241
- ), W2 = ({
5241
+ ), j2 = ({
5242
5242
  className: i,
5243
5243
  color: e = k.GREY_DARK_5,
5244
5244
  height: t = 24,
@@ -5297,7 +5297,7 @@ const jt = ({
5297
5297
  )
5298
5298
  ]
5299
5299
  }
5300
- ), j2 = ({
5300
+ ), Z2 = ({
5301
5301
  className: i,
5302
5302
  color: e = k.GREY_DARK_5,
5303
5303
  height: t = 24,
@@ -5334,7 +5334,7 @@ const jt = ({
5334
5334
  )
5335
5335
  ]
5336
5336
  }
5337
- ), Z2 = ({
5337
+ ), D2 = ({
5338
5338
  className: i,
5339
5339
  color: e = k.GREY_DARK_3,
5340
5340
  height: t = 14,
@@ -5371,7 +5371,7 @@ const jt = ({
5371
5371
  )
5372
5372
  ]
5373
5373
  }
5374
- ), D2 = ({
5374
+ ), T2 = ({
5375
5375
  className: i,
5376
5376
  color: e = k.GREY_DARK_5,
5377
5377
  height: t = 18,
@@ -5398,7 +5398,7 @@ const jt = ({
5398
5398
  }
5399
5399
  )
5400
5400
  }
5401
- ), T2 = ({
5401
+ ), G2 = ({
5402
5402
  className: i,
5403
5403
  color: e = k.GREY_DARK_5,
5404
5404
  height: t = 24,
@@ -5450,7 +5450,7 @@ const jt = ({
5450
5450
  )
5451
5451
  ]
5452
5452
  }
5453
- ), G2 = ({
5453
+ ), K2 = ({
5454
5454
  className: i,
5455
5455
  color: e = k.GREY_DARK_5,
5456
5456
  height: t = 24,
@@ -5487,7 +5487,7 @@ const jt = ({
5487
5487
  )
5488
5488
  ]
5489
5489
  }
5490
- ), K2 = ({
5490
+ ), P2 = ({
5491
5491
  className: i,
5492
5492
  color: e = k.NOTIFICATION_WARNING_DARK,
5493
5493
  height: t = 37,
@@ -5526,7 +5526,7 @@ const jt = ({
5526
5526
  )
5527
5527
  ]
5528
5528
  }
5529
- ), P2 = ({
5529
+ ), F2 = ({
5530
5530
  className: i,
5531
5531
  color: e = k.GREY_DARK_5,
5532
5532
  height: t = 24,
@@ -5552,7 +5552,7 @@ const jt = ({
5552
5552
  }
5553
5553
  )
5554
5554
  }
5555
- ), F2 = ({
5555
+ ), $2 = ({
5556
5556
  className: i,
5557
5557
  color: e = k.GREY_DARK_5,
5558
5558
  height: t = 24,
@@ -5630,7 +5630,7 @@ const jt = ({
5630
5630
  )
5631
5631
  ]
5632
5632
  }
5633
- ), $2 = ({
5633
+ ), U2 = ({
5634
5634
  className: i,
5635
5635
  color: e = k.GREY_DARK_5,
5636
5636
  height: t = 24,
@@ -5699,7 +5699,7 @@ const jt = ({
5699
5699
  )
5700
5700
  ]
5701
5701
  }
5702
- ), U2 = ({
5702
+ ), z2 = ({
5703
5703
  className: i,
5704
5704
  color: e = k.GREY_DARK_5,
5705
5705
  height: t = 24,
@@ -5738,7 +5738,7 @@ const jt = ({
5738
5738
  )
5739
5739
  ]
5740
5740
  }
5741
- ), z2 = ({
5741
+ ), J2 = ({
5742
5742
  className: i,
5743
5743
  color: e = k.GREY_DARK_5,
5744
5744
  height: t = 24,
@@ -5795,7 +5795,7 @@ const jt = ({
5795
5795
  )
5796
5796
  ]
5797
5797
  }
5798
- ), J2 = ({
5798
+ ), Q2 = ({
5799
5799
  className: i,
5800
5800
  color: e = k.GREY_DARK_5,
5801
5801
  height: t = 24,
@@ -5834,7 +5834,7 @@ const jt = ({
5834
5834
  )
5835
5835
  ]
5836
5836
  }
5837
- ), Q2 = ({
5837
+ ), q2 = ({
5838
5838
  className: i,
5839
5839
  color: e = k.GREY_DARK_5,
5840
5840
  height: t = 24,
@@ -5883,7 +5883,7 @@ const jt = ({
5883
5883
  )
5884
5884
  ]
5885
5885
  }
5886
- ), q2 = ({
5886
+ ), X2 = ({
5887
5887
  className: i,
5888
5888
  color: e = k.GREY_DARK_5,
5889
5889
  height: t = 24,
@@ -5922,7 +5922,7 @@ const jt = ({
5922
5922
  )
5923
5923
  ]
5924
5924
  }
5925
- ), X2 = ({
5925
+ ), ei = ({
5926
5926
  className: i,
5927
5927
  color: e = k.GREY_DARK_5,
5928
5928
  height: t = 24,
@@ -5949,7 +5949,7 @@ const jt = ({
5949
5949
  }
5950
5950
  )
5951
5951
  }
5952
- ), ei = ({
5952
+ ), ti = ({
5953
5953
  className: i,
5954
5954
  color: e = k.GREY_DARK_5,
5955
5955
  height: t = 24,
@@ -5987,7 +5987,7 @@ const jt = ({
5987
5987
  )
5988
5988
  ]
5989
5989
  }
5990
- ), ti = ({
5990
+ ), ii = ({
5991
5991
  className: i,
5992
5992
  color: e = k.GREY_DARK_5,
5993
5993
  height: t = 24,
@@ -6008,7 +6008,7 @@ const jt = ({
6008
6008
  /* @__PURE__ */ n("path", { d: "M12 8L4 8", stroke: e, strokeWidth: "1.7", strokeLinecap: "round" })
6009
6009
  ]
6010
6010
  }
6011
- ), ii = ({
6011
+ ), si = ({
6012
6012
  className: i,
6013
6013
  color: e = k.GREY_DARK_5,
6014
6014
  height: t = 24,
@@ -6047,7 +6047,7 @@ const jt = ({
6047
6047
  )
6048
6048
  ]
6049
6049
  }
6050
- ), si = ({
6050
+ ), oi = ({
6051
6051
  className: i,
6052
6052
  color: e = k.GREY_DARK_5,
6053
6053
  height: t = 24,
@@ -6086,7 +6086,7 @@ const jt = ({
6086
6086
  )
6087
6087
  ]
6088
6088
  }
6089
- ), oi = ({
6089
+ ), ni = ({
6090
6090
  className: i,
6091
6091
  color: e = k.GREY_DARK_5,
6092
6092
  height: t = 24,
@@ -6125,7 +6125,7 @@ const jt = ({
6125
6125
  )
6126
6126
  ]
6127
6127
  }
6128
- ), ni = ({
6128
+ ), ri = ({
6129
6129
  className: i,
6130
6130
  color: e = k.GREY_DARK_2,
6131
6131
  height: t = 16,
@@ -6151,7 +6151,7 @@ const jt = ({
6151
6151
  }
6152
6152
  )
6153
6153
  }
6154
- ), ri = ({
6154
+ ), li = ({
6155
6155
  className: i,
6156
6156
  color: e = k.GREY_DARK_5,
6157
6157
  height: t = 20,
@@ -6180,7 +6180,7 @@ const jt = ({
6180
6180
  /* @__PURE__ */ n("defs", { children: /* @__PURE__ */ n("clipPath", { id: "clip0_3992_5989", children: /* @__PURE__ */ n("rect", { width: "20", height: "20", fill: "white" }) }) })
6181
6181
  ]
6182
6182
  }
6183
- ), li = ({
6183
+ ), ai = ({
6184
6184
  className: i,
6185
6185
  color: e = k.GREY_DARK_5,
6186
6186
  height: t = 20,
@@ -6209,7 +6209,7 @@ const jt = ({
6209
6209
  /* @__PURE__ */ n("defs", { children: /* @__PURE__ */ n("clipPath", { id: "clip0_3992_5988", children: /* @__PURE__ */ n("rect", { width: "20", height: "20", fill: "white" }) }) })
6210
6210
  ]
6211
6211
  }
6212
- ), ai = ({
6212
+ ), hi = ({
6213
6213
  className: i,
6214
6214
  color: e = k.GREY_DARK_5,
6215
6215
  height: t = 20,
@@ -6238,7 +6238,7 @@ const jt = ({
6238
6238
  )
6239
6239
  ]
6240
6240
  }
6241
- ), hi = ({
6241
+ ), ci = ({
6242
6242
  className: i,
6243
6243
  color: e = k.GREY_DARK_5,
6244
6244
  height: t = 20,
@@ -6267,7 +6267,7 @@ const jt = ({
6267
6267
  )
6268
6268
  ]
6269
6269
  }
6270
- ), ci = ({
6270
+ ), di = ({
6271
6271
  className: i,
6272
6272
  color: e = "#001E52",
6273
6273
  height: t = 24,
@@ -6293,7 +6293,7 @@ const jt = ({
6293
6293
  }
6294
6294
  )
6295
6295
  }
6296
- ), di = ({
6296
+ ), gi = ({
6297
6297
  className: i,
6298
6298
  color: e = "#131314",
6299
6299
  height: t = 20,
@@ -6321,7 +6321,7 @@ const jt = ({
6321
6321
  }
6322
6322
  )
6323
6323
  }
6324
- ), gi = ({
6324
+ ), ui = ({
6325
6325
  className: i,
6326
6326
  color: e = "#001E52",
6327
6327
  height: t = 24,
@@ -6359,7 +6359,7 @@ const jt = ({
6359
6359
  )
6360
6360
  ] }) })
6361
6361
  }
6362
- ), ui = ({
6362
+ ), Ci = ({
6363
6363
  name: i,
6364
6364
  width: e,
6365
6365
  height: t,
@@ -6368,49 +6368,49 @@ const jt = ({
6368
6368
  disabled: a = !1,
6369
6369
  onClick: c
6370
6370
  }) => {
6371
- const [r, d] = I(o), { theme: g } = q(D1), l = a ? g && g === "dark" ? k.GREY_LIGHT_4 : k.GREY_DARK_1 : s, h = a ? void 0 : c;
6371
+ const [r, d] = S(o), { theme: g } = i1(T1), l = a ? g && g === "dark" ? k.GREY_LIGHT_4 : k.GREY_DARK_1 : s, h = a ? void 0 : c;
6372
6372
  return O(() => {
6373
6373
  if (o) {
6374
6374
  h && !a && d(`${o} clickable`);
6375
6375
  return;
6376
6376
  }
6377
6377
  h && !a && d("clickable");
6378
- }, [h, o, a]), /* @__PURE__ */ n($, { children: (() => {
6378
+ }, [h, o, a]), /* @__PURE__ */ n(Y, { children: (() => {
6379
6379
  switch (i) {
6380
6380
  case "nextIcon":
6381
- return H2({ width: e, height: t, color: l, className: r, onClick: h });
6382
- case "prevIcon":
6383
6381
  return V2({ width: e, height: t, color: l, className: r, onClick: h });
6382
+ case "prevIcon":
6383
+ return I2({ width: e, height: t, color: l, className: r, onClick: h });
6384
6384
  case "arrowUp":
6385
- return jt({ width: e, height: t, color: l, className: r, onClick: h });
6386
- case "arrowDown":
6387
6385
  return Zt({ width: e, height: t, color: l, className: r, onClick: h });
6388
- case "info":
6386
+ case "arrowDown":
6389
6387
  return Dt({ width: e, height: t, color: l, className: r, onClick: h });
6390
- case "arrowRight":
6388
+ case "info":
6391
6389
  return Tt({ width: e, height: t, color: l, className: r, onClick: h });
6392
- case "calendar":
6390
+ case "arrowRight":
6393
6391
  return Gt({ width: e, height: t, color: l, className: r, onClick: h });
6394
- case "ok":
6392
+ case "calendar":
6395
6393
  return Kt({ width: e, height: t, color: l, className: r, onClick: h });
6396
- case "cancel":
6394
+ case "ok":
6397
6395
  return Pt({ width: e, height: t, color: l, className: r, onClick: h });
6398
- case "add":
6396
+ case "cancel":
6399
6397
  return Ft({ width: e, height: t, color: l, className: r, onClick: h });
6398
+ case "add":
6399
+ return $t({ width: e, height: t, color: l, className: r, onClick: h });
6400
6400
  case "list":
6401
6401
  return Yt({ width: e, height: t, color: l, className: r, onClick: h });
6402
6402
  case "dragAndDrop":
6403
- return $t({ width: e, height: t, color: l, className: r, onClick: h });
6404
- case "filter":
6405
6403
  return Ut({ width: e, height: t, color: l, className: r, onClick: h });
6406
- case "attention":
6404
+ case "filter":
6407
6405
  return zt({ width: e, height: t, color: l, className: r, onClick: h });
6408
- case "plus":
6406
+ case "attention":
6409
6407
  return Jt({ width: e, height: t, color: l, className: r, onClick: h });
6410
- case "time":
6408
+ case "plus":
6411
6409
  return Qt({ width: e, height: t, color: l, className: r, onClick: h });
6410
+ case "time":
6411
+ return qt({ width: e, height: t, color: l, className: r, onClick: h });
6412
6412
  case "arrowDownLong":
6413
- return qt({
6413
+ return Xt({
6414
6414
  width: e,
6415
6415
  height: t,
6416
6416
  color: l,
@@ -6418,9 +6418,9 @@ const jt = ({
6418
6418
  onClick: h
6419
6419
  });
6420
6420
  case "users":
6421
- return Xt({ width: e, height: t, color: l, className: r, onClick: h });
6421
+ return e2({ width: e, height: t, color: l, className: r, onClick: h });
6422
6422
  case "mySkillsMatrix":
6423
- return e2({
6423
+ return t2({
6424
6424
  width: e,
6425
6425
  height: t,
6426
6426
  color: l,
@@ -6428,9 +6428,9 @@ const jt = ({
6428
6428
  onClick: h
6429
6429
  });
6430
6430
  case "skills":
6431
- return t2({ width: e, height: t, color: l, className: r, onClick: h });
6431
+ return i2({ width: e, height: t, color: l, className: r, onClick: h });
6432
6432
  case "skillsMatrices":
6433
- return i2({
6433
+ return s2({
6434
6434
  width: e,
6435
6435
  height: t,
6436
6436
  color: l,
@@ -6438,23 +6438,23 @@ const jt = ({
6438
6438
  onClick: h
6439
6439
  });
6440
6440
  case "history":
6441
- return s2({ width: e, height: t, color: l, className: r, onClick: h });
6442
- case "logOut":
6443
6441
  return o2({ width: e, height: t, color: l, className: r, onClick: h });
6444
- case "settings":
6442
+ case "logOut":
6445
6443
  return n2({ width: e, height: t, color: l, className: r, onClick: h });
6446
- case "addSkill":
6444
+ case "settings":
6447
6445
  return r2({ width: e, height: t, color: l, className: r, onClick: h });
6448
- case "conversation":
6446
+ case "addSkill":
6449
6447
  return l2({ width: e, height: t, color: l, className: r, onClick: h });
6450
- case "trash":
6448
+ case "conversation":
6451
6449
  return a2({ width: e, height: t, color: l, className: r, onClick: h });
6452
- case "settings4":
6450
+ case "trash":
6453
6451
  return h2({ width: e, height: t, color: l, className: r, onClick: h });
6454
- case "edit2":
6452
+ case "settings4":
6455
6453
  return c2({ width: e, height: t, color: l, className: r, onClick: h });
6454
+ case "edit2":
6455
+ return d2({ width: e, height: t, color: l, className: r, onClick: h });
6456
6456
  case "notifications":
6457
- return d2({
6457
+ return g2({
6458
6458
  width: e,
6459
6459
  height: t,
6460
6460
  color: l,
@@ -6462,9 +6462,9 @@ const jt = ({
6462
6462
  onClick: h
6463
6463
  });
6464
6464
  case "success":
6465
- return g2({ width: e, height: t, color: l, className: r, onClick: h });
6465
+ return u2({ width: e, height: t, color: l, className: r, onClick: h });
6466
6466
  case "attentionSmall":
6467
- return u2({
6467
+ return C2({
6468
6468
  width: e,
6469
6469
  height: t,
6470
6470
  color: l,
@@ -6472,11 +6472,11 @@ const jt = ({
6472
6472
  onClick: h
6473
6473
  });
6474
6474
  case "errorSmall":
6475
- return C2({ width: e, height: t, color: l, className: r, onClick: h });
6476
- case "infoMedium":
6477
6475
  return p2({ width: e, height: t, color: l, className: r, onClick: h });
6476
+ case "infoMedium":
6477
+ return f2({ width: e, height: t, color: l, className: r, onClick: h });
6478
6478
  case "attentionMedium":
6479
- return f2({
6479
+ return w2({
6480
6480
  width: e,
6481
6481
  height: t,
6482
6482
  color: l,
@@ -6484,9 +6484,9 @@ const jt = ({
6484
6484
  onClick: h
6485
6485
  });
6486
6486
  case "errorMedium":
6487
- return w2({ width: e, height: t, color: l, className: r, onClick: h });
6487
+ return m2({ width: e, height: t, color: l, className: r, onClick: h });
6488
6488
  case "faviconSkills":
6489
- return x2({
6489
+ return R2({
6490
6490
  width: e,
6491
6491
  height: t,
6492
6492
  color: l,
@@ -6494,7 +6494,7 @@ const jt = ({
6494
6494
  onClick: h
6495
6495
  });
6496
6496
  case "visibilityIcon":
6497
- return m2({
6497
+ return k2({
6498
6498
  width: e,
6499
6499
  height: t,
6500
6500
  color: l,
@@ -6502,7 +6502,7 @@ const jt = ({
6502
6502
  onClick: h
6503
6503
  });
6504
6504
  case "visibilityOffIcon":
6505
- return k2({
6505
+ return L2({
6506
6506
  width: e,
6507
6507
  height: t,
6508
6508
  color: l,
@@ -6510,7 +6510,7 @@ const jt = ({
6510
6510
  onClick: h
6511
6511
  });
6512
6512
  case "selectArrowIcon":
6513
- return L2({
6513
+ return v2({
6514
6514
  width: e,
6515
6515
  height: t,
6516
6516
  color: l,
@@ -6518,7 +6518,7 @@ const jt = ({
6518
6518
  onClick: h
6519
6519
  });
6520
6520
  case "expandArrowIcon":
6521
- return v2({
6521
+ return N2({
6522
6522
  width: e,
6523
6523
  height: t,
6524
6524
  color: l,
@@ -6526,7 +6526,7 @@ const jt = ({
6526
6526
  onClick: h
6527
6527
  });
6528
6528
  case "expandActiveArrowIcon":
6529
- return N2({
6529
+ return x2({
6530
6530
  width: e,
6531
6531
  height: t,
6532
6532
  color: l,
@@ -6534,109 +6534,109 @@ const jt = ({
6534
6534
  onClick: h
6535
6535
  });
6536
6536
  case "camera":
6537
- return R2({ width: e, height: t, color: l, className: r, onClick: h });
6538
- case "sortUp":
6539
6537
  return M2({ width: e, height: t, color: l, className: r, onClick: h });
6540
- case "sortDown":
6538
+ case "sortUp":
6541
6539
  return y2({ width: e, height: t, color: l, className: r, onClick: h });
6542
- case "logOut2":
6540
+ case "sortDown":
6543
6541
  return b2({ width: e, height: t, color: l, className: r, onClick: h });
6544
- case "search":
6542
+ case "logOut2":
6545
6543
  return E2({ width: e, height: t, color: l, className: r, onClick: h });
6546
- case "handRock":
6544
+ case "search":
6547
6545
  return _2({ width: e, height: t, color: l, className: r, onClick: h });
6546
+ case "handRock":
6547
+ return H2({ width: e, height: t, color: l, className: r, onClick: h });
6548
6548
  case "arrowUpFilled":
6549
6549
  return O2({ width: e, height: t, color: l, className: r, onClick: h });
6550
6550
  case "arrowDownFilled":
6551
- return I2({ width: e, height: t, color: l, className: r, onClick: h });
6552
- case "link":
6553
6551
  return S2({ width: e, height: t, color: l, className: r, onClick: h });
6552
+ case "link":
6553
+ return A2({ width: e, height: t, color: l, className: r, onClick: h });
6554
6554
  case "telegram":
6555
- return B2({ width: e, height: t, color: l, className: r, onClick: h });
6555
+ return W2({ width: e, height: t, color: l, className: r, onClick: h });
6556
6556
  case "mail":
6557
- return j2({ width: e, height: t, color: l, className: r, onClick: h });
6557
+ return Z2({ width: e, height: t, color: l, className: r, onClick: h });
6558
6558
  case "github":
6559
- return A2({ width: e, height: t, color: l, className: r, onClick: h });
6559
+ return B2({ width: e, height: t, color: l, className: r, onClick: h });
6560
6560
  case "linkedIn":
6561
- return W2({ width: e, height: t, color: l, className: r, onClick: h });
6561
+ return j2({ width: e, height: t, color: l, className: r, onClick: h });
6562
6562
  case "emptyStateIcon":
6563
- return Z2({ width: e, height: t, color: l, className: r, onClick: h });
6564
- case "filtersIcon":
6565
6563
  return D2({ width: e, height: t, color: l, className: r, onClick: h });
6566
- case "dotMenuIcon":
6564
+ case "filtersIcon":
6567
6565
  return T2({ width: e, height: t, color: l, className: r, onClick: h });
6568
- case "plusCircle":
6566
+ case "dotMenuIcon":
6569
6567
  return G2({ width: e, height: t, color: l, className: r, onClick: h });
6570
- case "warning":
6568
+ case "plusCircle":
6571
6569
  return K2({ width: e, height: t, color: l, className: r, onClick: h });
6572
- case "back":
6570
+ case "warning":
6573
6571
  return P2({ width: e, height: t, color: l, className: r, onClick: h });
6574
- case "bell":
6572
+ case "back":
6575
6573
  return F2({ width: e, height: t, color: l, className: r, onClick: h });
6576
- case "contract":
6574
+ case "bell":
6577
6575
  return $2({ width: e, height: t, color: l, className: r, onClick: h });
6576
+ case "contract":
6577
+ return U2({ width: e, height: t, color: l, className: r, onClick: h });
6578
6578
  case "trash2":
6579
6579
  return Y2({ width: e, height: t, color: l, className: r, onClick: h });
6580
6580
  case "manager":
6581
- return U2({ width: e, height: t, color: l, className: r, onClick: h });
6582
- case "resourceManager":
6583
6581
  return z2({ width: e, height: t, color: l, className: r, onClick: h });
6584
- case "settings2":
6582
+ case "resourceManager":
6585
6583
  return J2({ width: e, height: t, color: l, className: r, onClick: h });
6586
- case "image":
6584
+ case "settings2":
6587
6585
  return Q2({ width: e, height: t, color: l, className: r, onClick: h });
6588
- case "upload":
6586
+ case "image":
6589
6587
  return q2({ width: e, height: t, color: l, className: r, onClick: h });
6590
- case "edit":
6588
+ case "upload":
6591
6589
  return X2({ width: e, height: t, color: l, className: r, onClick: h });
6592
- case "location":
6590
+ case "edit":
6593
6591
  return ei({ width: e, height: t, color: l, className: r, onClick: h });
6594
- case "plus2":
6592
+ case "location":
6595
6593
  return ti({ width: e, height: t, color: l, className: r, onClick: h });
6596
- case "search2":
6594
+ case "plus2":
6597
6595
  return ii({ width: e, height: t, color: l, className: r, onClick: h });
6598
- case "fastArrowLeft":
6596
+ case "search2":
6599
6597
  return si({ width: e, height: t, color: l, className: r, onClick: h });
6600
- case "fastArrowRight":
6598
+ case "fastArrowLeft":
6601
6599
  return oi({ width: e, height: t, color: l, className: r, onClick: h });
6602
- case "crossInCircle":
6600
+ case "fastArrowRight":
6603
6601
  return ni({ width: e, height: t, color: l, className: r, onClick: h });
6602
+ case "crossInCircle":
6603
+ return ri({ width: e, height: t, color: l, className: r, onClick: h });
6604
6604
  case "arrowUp2":
6605
- return li({ width: e, height: t, color: l, className: r, onClick: h });
6605
+ return ai({ width: e, height: t, color: l, className: r, onClick: h });
6606
6606
  case "arrowDown2":
6607
- return ri({ width: e, height: t, color: l, className: r, onClick: h });
6607
+ return li({ width: e, height: t, color: l, className: r, onClick: h });
6608
6608
  case "filledArrowLeft":
6609
- return ai({ width: e, height: t, color: l, className: r, onClick: h });
6610
- case "filledArrowRight":
6611
6609
  return hi({ width: e, height: t, color: l, className: r, onClick: h });
6612
- case "burgerMenu":
6610
+ case "filledArrowRight":
6613
6611
  return ci({ width: e, height: t, color: l, className: r, onClick: h });
6614
- case "signOut":
6612
+ case "burgerMenu":
6615
6613
  return di({ width: e, height: t, color: l, className: r, onClick: h });
6616
- case "refresh":
6614
+ case "signOut":
6617
6615
  return gi({ width: e, height: t, color: l, className: r, onClick: h });
6616
+ case "refresh":
6617
+ return ui({ width: e, height: t, color: l, className: r, onClick: h });
6618
6618
  default:
6619
- return /* @__PURE__ */ n($, { children: "No Icon provided" });
6619
+ return /* @__PURE__ */ n(Y, { children: "No Icon provided" });
6620
6620
  }
6621
6621
  })() });
6622
6622
  };
6623
- var T1 = /* @__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))(T1 || {});
6624
- const Ci = Q({
6623
+ var G1 = /* @__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))(G1 || {});
6624
+ const pi = t1({
6625
6625
  locale: "en",
6626
6626
  theme: "light"
6627
6627
  });
6628
- Ci.Provider;
6629
- const G1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: o = !0 }) => {
6628
+ pi.Provider;
6629
+ const K1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: o = !0 }) => {
6630
6630
  const a = t === "small" ? 10 : 12.5;
6631
6631
  return /* @__PURE__ */ n(
6632
- B1,
6632
+ W1,
6633
6633
  {
6634
6634
  className: `snmt-tag ${t}`,
6635
6635
  closeIcon: /* @__PURE__ */ n(
6636
- ui,
6636
+ Ci,
6637
6637
  {
6638
6638
  name: "errorSmall",
6639
- color: T1.GREY_DARK_2,
6639
+ color: G1.GREY_DARK_2,
6640
6640
  width: a,
6641
6641
  height: a,
6642
6642
  onClick: s
@@ -6645,15 +6645,15 @@ const G1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: o
6645
6645
  bordered: !1,
6646
6646
  style: { width: e ?? "fit-content" },
6647
6647
  closable: o,
6648
- children: typeof i == "string" ? /* @__PURE__ */ n(Wt, { variant: t === "small" ? "body4" : "body2", children: i }) : i
6648
+ children: typeof i == "string" ? /* @__PURE__ */ n(jt, { variant: t === "small" ? "body4" : "body2", children: i }) : i
6649
6649
  }
6650
6650
  );
6651
- }, { Title: pi, Text: fi } = A1, wi = {
6651
+ }, { Title: fi, Text: wi } = B1, mi = {
6652
6652
  h1: 1,
6653
6653
  h2: 2,
6654
6654
  h3: 3,
6655
6655
  h4: 4
6656
- }, K1 = h1(
6656
+ }, P1 = c1(
6657
6657
  ({
6658
6658
  align: i = "inherit",
6659
6659
  variant: e = "body1",
@@ -6666,17 +6666,17 @@ const G1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: o
6666
6666
  const d = e === "h1" || e === "h2" || e === "h3" || e === "h4";
6667
6667
  let g = `snmt-typography snmt-typography-${e}`;
6668
6668
  return i && i !== "inherit" && (g += ` snmt-typography-align-${i}`), a && (g += " collapsed"), d ? /* @__PURE__ */ n(
6669
- pi,
6669
+ fi,
6670
6670
  {
6671
6671
  className: g,
6672
6672
  style: { color: t, whiteSpace: c },
6673
6673
  onClick: o,
6674
- level: wi[e],
6674
+ level: mi[e],
6675
6675
  ref: r,
6676
6676
  children: s
6677
6677
  }
6678
6678
  ) : /* @__PURE__ */ n(
6679
- fi,
6679
+ wi,
6680
6680
  {
6681
6681
  className: g,
6682
6682
  style: { color: t, whiteSpace: c },
@@ -6686,7 +6686,7 @@ const G1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: o
6686
6686
  }
6687
6687
  );
6688
6688
  }
6689
- ), mi = ({
6689
+ ), ki = ({
6690
6690
  children: i,
6691
6691
  content: e,
6692
6692
  isOpen: t,
@@ -6694,9 +6694,9 @@ const G1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: o
6694
6694
  placement: o = "topRight",
6695
6695
  noPadding: a = !1
6696
6696
  }) => {
6697
- const [c, r] = I(!1);
6697
+ const [c, r] = S(!1);
6698
6698
  return /* @__PURE__ */ n(
6699
- ie,
6699
+ se,
6700
6700
  {
6701
6701
  content: e,
6702
6702
  arrow: !1,
@@ -6710,7 +6710,7 @@ const G1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: o
6710
6710
  children: /* @__PURE__ */ n("div", { className: "wrapper", children: i })
6711
6711
  }
6712
6712
  );
6713
- }, ki = ({
6713
+ }, Li = ({
6714
6714
  values: i,
6715
6715
  onTagClose: e,
6716
6716
  maxWidth: t,
@@ -6718,7 +6718,7 @@ const G1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: o
6718
6718
  options: o,
6719
6719
  extraOptions: a
6720
6720
  }) => {
6721
- const [c, r] = I(!1);
6721
+ const [c, r] = S(!1);
6722
6722
  O(() => {
6723
6723
  i.length || r(!1);
6724
6724
  }, [i]);
@@ -6729,15 +6729,15 @@ const G1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: o
6729
6729
  return null;
6730
6730
  const g = (l) => {
6731
6731
  var h, C;
6732
- return ((h = o == null ? void 0 : o.find((w) => w.value === l)) == null ? void 0 : h.label) || ((C = a == null ? void 0 : a.find((w) => w.value === l)) == null ? void 0 : C.label) || l;
6732
+ return ((h = o == null ? void 0 : o.find((f) => f.value === l)) == null ? void 0 : h.label) || ((C = a == null ? void 0 : a.find((f) => f.value === l)) == null ? void 0 : C.label) || l;
6733
6733
  };
6734
6734
  return /* @__PURE__ */ n("div", { onMouseDown: d, className: "wrapper", children: /* @__PURE__ */ n(
6735
- mi,
6735
+ ki,
6736
6736
  {
6737
6737
  content: (
6738
6738
  // 90: paddings + margins + gaps and so on
6739
- /* @__PURE__ */ n("div", { style: { maxWidth: t - 90 }, children: /* @__PURE__ */ n(o1, { gap: 6, flexWrap: "wrap", children: i.map(({ value: l }) => /* @__PURE__ */ n(
6740
- G1,
6739
+ /* @__PURE__ */ n("div", { style: { maxWidth: t - 90 }, children: /* @__PURE__ */ n(n1, { gap: 6, flexWrap: "wrap", children: i.map(({ value: l }) => /* @__PURE__ */ n(
6740
+ K1,
6741
6741
  {
6742
6742
  onClose: () => e(l),
6743
6743
  closable: !s,
@@ -6749,13 +6749,21 @@ const G1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: o
6749
6749
  placement: "bottomRight",
6750
6750
  isOpen: c,
6751
6751
  setIsOpen: r,
6752
- children: /* @__PURE__ */ n(B1, { className: `overflow-button ${c ? "open" : ""}`, bordered: !1, children: /* @__PURE__ */ u(K1, { variant: "body4", color: c ? Y.BLUE_PRIMARY : void 0, children: [
6752
+ children: /* @__PURE__ */ n(W1, { className: `overflow-button ${c ? "open" : ""}`, bordered: !1, children: /* @__PURE__ */ u(P1, { variant: "body4", color: c ? $.BLUE_PRIMARY : void 0, children: [
6753
6753
  i.length,
6754
6754
  " more"
6755
6755
  ] }) })
6756
6756
  }
6757
6757
  ) });
6758
- }, Li = h1(
6758
+ }, vi = ({ size: i = 30, color: e = "#004ed7" }) => {
6759
+ const t = `no-repeat linear-gradient(${e}
6760
+ calc(50% - 10px), #0000 0 calc(50% + 10px), ${e} 0)`, s = {
6761
+ width: i,
6762
+ background: `${t} 0% 100%, ${t} 50% 100%, ${t} 100% 100%`,
6763
+ backgroundSize: "20% calc(200% + 20px)"
6764
+ };
6765
+ return /* @__PURE__ */ n("span", { className: "snmt-loader", style: s });
6766
+ }, Ni = c1(
6759
6767
  ({
6760
6768
  value: i,
6761
6769
  onChange: e,
@@ -6771,155 +6779,167 @@ const G1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: o
6771
6779
  onDropdownVisibleChange: h,
6772
6780
  onScrollToEnd: C,
6773
6781
  onPopupScroll: p,
6774
- id: w,
6775
- extraOptions: x
6776
- }, N) => {
6777
- const [M, R] = I(!1), [_, L] = I(!1), [y, b] = I(!0), [v, j] = I(i), X = m1(null);
6782
+ id: f,
6783
+ extraOptions: N,
6784
+ isLoading: v
6785
+ }, R) => {
6786
+ const [x, _] = S(!1), [L, y] = S(!1), [b, M] = S(!0), [I, U] = S(i), z = k1(null);
6778
6787
  O(() => {
6779
- j(i);
6788
+ U(i);
6780
6789
  }, [i]);
6781
- const e1 = (f) => {
6782
- R(f), h && h(f);
6783
- }, D = (f, E) => {
6784
- var W;
6785
- return !!((W = E == null ? void 0 : E.label) != null && W.toString().toLowerCase().includes(f.toLowerCase()));
6786
- }, k1 = () => {
6787
- L(!0);
6788
- }, d1 = () => {
6789
- L(!1);
6790
- }, S = (f) => {
6791
- if (j(f), s) {
6792
- const W = f;
6793
- e == null || e(W);
6790
+ const Z = (w) => {
6791
+ _(w), h && h(w);
6792
+ }, L1 = (w, E) => {
6793
+ var j;
6794
+ return !!((j = E == null ? void 0 : E.label) != null && j.toString().toLowerCase().includes(w.toLowerCase()));
6795
+ }, g1 = () => {
6796
+ y(!0);
6797
+ }, D = () => {
6798
+ y(!1);
6799
+ }, A = (w) => {
6800
+ if (U(w), s) {
6801
+ const j = w;
6802
+ e == null || e(j);
6794
6803
  return;
6795
6804
  }
6796
- const E = f;
6805
+ const E = w;
6797
6806
  e == null || e(E);
6798
- }, T = () => {
6807
+ }, K = () => {
6799
6808
  if (s) {
6800
- S([]);
6809
+ A([]);
6801
6810
  return;
6802
6811
  }
6803
- S("");
6804
- }, G = (f) => {
6805
- const E = v.filter((W) => W !== f);
6806
- S(E), j(E);
6807
- }, t1 = (f) => (v == null ? void 0 : v.indexOf(f)) === 0 ? (
6812
+ A("");
6813
+ }, J = (w) => {
6814
+ const E = I.filter((j) => j !== w);
6815
+ A(E), U(E);
6816
+ }, V = (w) => (I == null ? void 0 : I.indexOf(w)) === 0 ? (
6808
6817
  // if the search input is empty
6809
6818
  // then display the placeholder, else do not display it
6810
- /* @__PURE__ */ n("span", { className: "custom-placeholder", children: y ? t : "" })
6811
- ) : /* @__PURE__ */ n($, {}), V = (f) => {
6812
- f.preventDefault(), f.stopPropagation();
6813
- }, B = async (f) => {
6814
- const { target: E } = f;
6815
- E.scrollTop + E.offsetHeight >= E.scrollHeight - g && (C == null || C(!0)), p && await p(f);
6816
- }, Z = (f) => {
6817
- var E, W;
6818
- return ((E = a.find((g1) => g1.value === f)) == null ? void 0 : E.label) || ((W = x == null ? void 0 : x.find((g1) => g1.value === f)) == null ? void 0 : W.label) || f;
6819
+ /* @__PURE__ */ n("span", { className: "custom-placeholder", children: b ? t : "" })
6820
+ ) : /* @__PURE__ */ n(Y, {}), W = (w) => {
6821
+ w.preventDefault(), w.stopPropagation();
6822
+ }, T = async (w) => {
6823
+ const { target: E } = w;
6824
+ E.scrollTop + E.offsetHeight >= E.scrollHeight - g && (C == null || C(!0)), p && await p(w);
6825
+ }, Q = (w) => {
6826
+ var E, j;
6827
+ return ((E = a.find((u1) => u1.value === w)) == null ? void 0 : E.label) || ((j = N == null ? void 0 : N.find((u1) => u1.value === w)) == null ? void 0 : j.label) || w;
6819
6828
  };
6820
6829
  return /* @__PURE__ */ u(
6821
6830
  "div",
6822
6831
  {
6823
- className: `snmt-select ${_ ? "snmt-select-focused" : ""}
6832
+ className: `snmt-select ${L ? "snmt-select-focused" : ""}
6824
6833
  ${s ? "" : "snmt-select-single"}`,
6825
- ref: X,
6834
+ ref: z,
6826
6835
  style: { width: c },
6827
6836
  children: [
6828
6837
  /* @__PURE__ */ n(
6829
- q1,
6838
+ X1,
6830
6839
  {
6831
6840
  className: "snmt-select-blank",
6832
- id: w,
6833
- ref: N,
6841
+ id: f,
6842
+ ref: R,
6834
6843
  showSearch: !!o,
6835
- filterOption: o && D,
6836
- onDropdownVisibleChange: e1,
6844
+ filterOption: o && L1,
6845
+ onDropdownVisibleChange: Z,
6837
6846
  placeholder: t ? d ? `${t}*` : t : void 0,
6838
6847
  disabled: r,
6839
- value: v || void 0,
6840
- labelRender: (f) => Z(f.value),
6848
+ value: I || void 0,
6849
+ labelRender: (w) => Q(w.value),
6841
6850
  mode: s === "filter" ? "multiple" : s,
6842
- onChange: S,
6843
- onFocus: k1,
6844
- onBlur: d1,
6845
- onSearch: (f) => {
6846
- b(!f), l && l(f);
6851
+ onChange: A,
6852
+ onFocus: g1,
6853
+ onBlur: D,
6854
+ onSearch: (w) => {
6855
+ M(!w), l && l(w);
6847
6856
  },
6848
- onSelect: () => b(!0),
6849
- onDeselect: () => b(!0),
6857
+ onSelect: () => M(!0),
6858
+ onDeselect: () => M(!0),
6850
6859
  tagRender: s === "filter" ? (
6851
6860
  // HACK to prevent showing selected options in input
6852
- (f) => t1(f.value)
6853
- ) : (f) => {
6854
- const E = typeof f.label == "object";
6855
- return /* @__PURE__ */ n("div", { onMouseDown: V, className: "tag-wrapper", children: /* @__PURE__ */ n(
6856
- G1,
6861
+ (w) => V(w.value)
6862
+ ) : (w) => {
6863
+ const E = typeof w.label == "object";
6864
+ return /* @__PURE__ */ n("div", { onMouseDown: W, className: "tag-wrapper", children: /* @__PURE__ */ n(
6865
+ K1,
6857
6866
  {
6858
- onClose: () => G(f.value),
6867
+ onClose: () => J(w.value),
6859
6868
  closable: !r,
6860
- children: /* @__PURE__ */ n(K1, { variant: "body4", children: E ? f.label : Z(f.value) })
6869
+ children: /* @__PURE__ */ n(P1, { variant: "body4", children: E ? w.label : Q(w.value) })
6861
6870
  }
6862
6871
  ) });
6863
6872
  },
6864
6873
  maxTagCount: "responsive",
6865
- maxTagPlaceholder: (f) => {
6874
+ maxTagPlaceholder: (w) => {
6866
6875
  var E;
6867
6876
  return /* @__PURE__ */ n(
6868
- ki,
6877
+ Li,
6869
6878
  {
6870
- values: f,
6871
- onTagClose: G,
6872
- maxWidth: ((E = X.current) == null ? void 0 : E.clientWidth) || 0,
6879
+ values: w,
6880
+ onTagClose: J,
6881
+ maxWidth: ((E = z.current) == null ? void 0 : E.clientWidth) || 0,
6873
6882
  disabled: r,
6874
6883
  options: a,
6875
- extraOptions: x
6884
+ extraOptions: N
6876
6885
  }
6877
6886
  );
6878
6887
  },
6879
- onPopupScroll: B,
6880
- suffixIcon: /* @__PURE__ */ n("div", { className: "wrapper-suffix-icon", children: s !== "filter" && /* @__PURE__ */ u($, { children: [
6881
- s && v && !!v.length && /* @__PURE__ */ n("div", { onClick: T, children: /* @__PURE__ */ n(i1, { name: "cancel" }) }),
6888
+ onPopupScroll: T,
6889
+ suffixIcon: /* @__PURE__ */ n("div", { className: "wrapper-suffix-icon", children: s !== "filter" && /* @__PURE__ */ u(Y, { children: [
6890
+ s && I && !!I.length && /* @__PURE__ */ n("div", { onClick: K, children: /* @__PURE__ */ n(s1, { name: "cancel" }) }),
6882
6891
  /* @__PURE__ */ n(
6883
- i1,
6892
+ s1,
6884
6893
  {
6885
6894
  name: "selectArrowIcon",
6886
- color: r ? Y.GREY_DARK_1 : Y.GREY_DARK_5,
6887
- className: M ? "select-arrow-rotated" : "select-arrow",
6888
- onClick: () => R(!M)
6895
+ color: r ? $.GREY_DARK_1 : $.GREY_DARK_5,
6896
+ className: x ? "select-arrow-rotated" : "select-arrow",
6897
+ onClick: () => _(!x)
6889
6898
  }
6890
6899
  )
6891
6900
  ] }) }),
6892
- removeIcon: /* @__PURE__ */ n(i1, { name: "errorSmall", color: Y.GREY_DARK_2 }),
6901
+ removeIcon: /* @__PURE__ */ n(s1, { name: "errorSmall", color: $.GREY_DARK_2 }),
6893
6902
  options: a,
6894
- optionRender: (f) => /* @__PURE__ */ u(o1, { justifyContent: "space-between", alignItems: "center", flex: "1", children: [
6895
- /* @__PURE__ */ u(o1, { alignItems: "center", gap: 12, children: [
6903
+ optionRender: (w) => /* @__PURE__ */ u(n1, { justifyContent: "space-between", alignItems: "center", flex: "1", children: [
6904
+ /* @__PURE__ */ u(n1, { alignItems: "center", gap: 12, children: [
6896
6905
  s && /* @__PURE__ */ n(
6897
- oe,
6906
+ ne,
6898
6907
  {
6899
- checked: !!(v != null && v.includes(f.value))
6908
+ checked: !!(I != null && I.includes(w.value))
6900
6909
  }
6901
6910
  ),
6902
- /* @__PURE__ */ u(o1, { alignItems: "center", gap: 8, children: [
6903
- f.data.image && /* @__PURE__ */ n(se, { src: f.data.image, size: 20 }),
6904
- /* @__PURE__ */ n("span", { children: f.label })
6911
+ /* @__PURE__ */ u(n1, { alignItems: "center", gap: 8, children: [
6912
+ w.data.image && /* @__PURE__ */ n(oe, { src: w.data.image, size: 20 }),
6913
+ /* @__PURE__ */ n("span", { children: w.label })
6905
6914
  ] })
6906
6915
  ] }),
6907
- !s && v === f.value && /* @__PURE__ */ n(
6908
- i1,
6916
+ !s && I === w.value && /* @__PURE__ */ n(
6917
+ s1,
6909
6918
  {
6910
6919
  name: "ok",
6911
- color: Y.BLUE_PRIMARY,
6920
+ color: $.BLUE_PRIMARY,
6912
6921
  width: 16,
6913
6922
  height: 16
6914
6923
  }
6915
6924
  )
6916
- ] })
6925
+ ] }),
6926
+ dropdownRender: v ? () => /* @__PURE__ */ n(
6927
+ "div",
6928
+ {
6929
+ style: {
6930
+ padding: "16px",
6931
+ display: "grid",
6932
+ justifyContent: "center"
6933
+ },
6934
+ children: /* @__PURE__ */ n(vi, { size: 28 })
6935
+ }
6936
+ ) : void 0
6917
6937
  }
6918
6938
  ),
6919
6939
  /* @__PURE__ */ n(
6920
6940
  "fieldset",
6921
6941
  {
6922
- className: `${_ ? "fieldset-focused" : ""}
6942
+ className: `${L ? "fieldset-focused" : ""}
6923
6943
  ${r ? "fieldset-disabled" : ""}
6924
6944
  ${typeof i == "string" && i ? "fieldset-filled" : ""}
6925
6945
  ${typeof i == "object" && i != null && i.length ? "fieldset-filled" : ""}`,
@@ -6930,7 +6950,7 @@ const G1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: o
6930
6950
  }
6931
6951
  );
6932
6952
  }
6933
- ), vi = {
6953
+ ), xi = {
6934
6954
  type: "logger",
6935
6955
  log(i) {
6936
6956
  this.output("log", i);
@@ -6945,14 +6965,14 @@ const G1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: o
6945
6965
  console && console[i] && console[i].apply(console, e);
6946
6966
  }
6947
6967
  };
6948
- class n1 {
6968
+ class r1 {
6949
6969
  constructor(e) {
6950
6970
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
6951
6971
  this.init(e, t);
6952
6972
  }
6953
6973
  init(e) {
6954
6974
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
6955
- this.prefix = t.prefix || "i18next:", this.logger = e || vi, this.options = t, this.debug = t.debug;
6975
+ this.prefix = t.prefix || "i18next:", this.logger = e || xi, this.options = t, this.debug = t.debug;
6956
6976
  }
6957
6977
  log() {
6958
6978
  for (var e = arguments.length, t = new Array(e), s = 0; s < e; s++)
@@ -6978,17 +6998,17 @@ class n1 {
6978
6998
  return o && !this.debug ? null : (typeof e[0] == "string" && (e[0] = `${s}${this.prefix} ${e[0]}`), this.logger[t](e));
6979
6999
  }
6980
7000
  create(e) {
6981
- return new n1(this.logger, {
7001
+ return new r1(this.logger, {
6982
7002
  prefix: `${this.prefix}:${e}:`,
6983
7003
  ...this.options
6984
7004
  });
6985
7005
  }
6986
7006
  clone(e) {
6987
- return e = e || this.options, e.prefix = e.prefix || this.prefix, new n1(this.logger, e);
7007
+ return e = e || this.options, e.prefix = e.prefix || this.prefix, new r1(this.logger, e);
6988
7008
  }
6989
7009
  }
6990
- var A = new n1();
6991
- class c1 {
7010
+ var B = new r1();
7011
+ class d1 {
6992
7012
  constructor() {
6993
7013
  this.observers = {};
6994
7014
  }
@@ -7022,63 +7042,63 @@ class c1 {
7022
7042
  });
7023
7043
  }
7024
7044
  }
7025
- const U = () => {
7045
+ const q = () => {
7026
7046
  let i, e;
7027
7047
  const t = new Promise((s, o) => {
7028
7048
  i = s, e = o;
7029
7049
  });
7030
7050
  return t.resolve = i, t.reject = e, t;
7031
- }, v1 = (i) => i == null ? "" : "" + i, Ni = (i, e, t) => {
7051
+ }, N1 = (i) => i == null ? "" : "" + i, Ri = (i, e, t) => {
7032
7052
  i.forEach((s) => {
7033
7053
  e[s] && (t[s] = e[s]);
7034
7054
  });
7035
- }, xi = /###/g, N1 = (i) => i && i.indexOf("###") > -1 ? i.replace(xi, ".") : i, x1 = (i) => !i || typeof i == "string", z = (i, e, t) => {
7055
+ }, Mi = /###/g, x1 = (i) => i && i.indexOf("###") > -1 ? i.replace(Mi, ".") : i, R1 = (i) => !i || typeof i == "string", X = (i, e, t) => {
7036
7056
  const s = typeof e != "string" ? e : e.split(".");
7037
7057
  let o = 0;
7038
7058
  for (; o < s.length - 1; ) {
7039
- if (x1(i)) return {};
7040
- const a = N1(s[o]);
7059
+ if (R1(i)) return {};
7060
+ const a = x1(s[o]);
7041
7061
  !i[a] && t && (i[a] = new t()), Object.prototype.hasOwnProperty.call(i, a) ? i = i[a] : i = {}, ++o;
7042
7062
  }
7043
- return x1(i) ? {} : {
7063
+ return R1(i) ? {} : {
7044
7064
  obj: i,
7045
- k: N1(s[o])
7065
+ k: x1(s[o])
7046
7066
  };
7047
- }, R1 = (i, e, t) => {
7067
+ }, M1 = (i, e, t) => {
7048
7068
  const {
7049
7069
  obj: s,
7050
7070
  k: o
7051
- } = z(i, e, Object);
7071
+ } = X(i, e, Object);
7052
7072
  if (s !== void 0 || e.length === 1) {
7053
7073
  s[o] = t;
7054
7074
  return;
7055
7075
  }
7056
- let a = e[e.length - 1], c = e.slice(0, e.length - 1), r = z(i, c, Object);
7076
+ let a = e[e.length - 1], c = e.slice(0, e.length - 1), r = X(i, c, Object);
7057
7077
  for (; r.obj === void 0 && c.length; )
7058
- a = `${c[c.length - 1]}.${a}`, c = c.slice(0, c.length - 1), r = z(i, c, Object), r && r.obj && typeof r.obj[`${r.k}.${a}`] < "u" && (r.obj = void 0);
7078
+ a = `${c[c.length - 1]}.${a}`, c = c.slice(0, c.length - 1), r = X(i, c, Object), r && r.obj && typeof r.obj[`${r.k}.${a}`] < "u" && (r.obj = void 0);
7059
7079
  r.obj[`${r.k}.${a}`] = t;
7060
- }, Ri = (i, e, t, s) => {
7080
+ }, yi = (i, e, t, s) => {
7061
7081
  const {
7062
7082
  obj: o,
7063
7083
  k: a
7064
- } = z(i, e, Object);
7084
+ } = X(i, e, Object);
7065
7085
  o[a] = o[a] || [], o[a].push(t);
7066
- }, r1 = (i, e) => {
7086
+ }, l1 = (i, e) => {
7067
7087
  const {
7068
7088
  obj: t,
7069
7089
  k: s
7070
- } = z(i, e);
7090
+ } = X(i, e);
7071
7091
  if (t)
7072
7092
  return t[s];
7073
- }, Mi = (i, e, t) => {
7074
- const s = r1(i, t);
7075
- return s !== void 0 ? s : r1(e, t);
7076
- }, P1 = (i, e, t) => {
7093
+ }, bi = (i, e, t) => {
7094
+ const s = l1(i, t);
7095
+ return s !== void 0 ? s : l1(e, t);
7096
+ }, F1 = (i, e, t) => {
7077
7097
  for (const s in e)
7078
- s !== "__proto__" && s !== "constructor" && (s in i ? typeof i[s] == "string" || i[s] instanceof String || typeof e[s] == "string" || e[s] instanceof String ? t && (i[s] = e[s]) : P1(i[s], e[s], t) : i[s] = e[s]);
7098
+ s !== "__proto__" && s !== "constructor" && (s in i ? typeof i[s] == "string" || i[s] instanceof String || typeof e[s] == "string" || e[s] instanceof String ? t && (i[s] = e[s]) : F1(i[s], e[s], t) : i[s] = e[s]);
7079
7099
  return i;
7080
7100
  }, P = (i) => i.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
7081
- var yi = {
7101
+ var Ei = {
7082
7102
  "&": "&amp;",
7083
7103
  "<": "&lt;",
7084
7104
  ">": "&gt;",
@@ -7086,8 +7106,8 @@ var yi = {
7086
7106
  "'": "&#39;",
7087
7107
  "/": "&#x2F;"
7088
7108
  };
7089
- const bi = (i) => typeof i == "string" ? i.replace(/[&<>"'\/]/g, (e) => yi[e]) : i;
7090
- class Ei {
7109
+ const _i = (i) => typeof i == "string" ? i.replace(/[&<>"'\/]/g, (e) => Ei[e]) : i;
7110
+ class Hi {
7091
7111
  constructor(e) {
7092
7112
  this.capacity = e, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = [];
7093
7113
  }
@@ -7099,18 +7119,18 @@ class Ei {
7099
7119
  return this.regExpQueue.length === this.capacity && this.regExpMap.delete(this.regExpQueue.shift()), this.regExpMap.set(e, s), this.regExpQueue.push(e), s;
7100
7120
  }
7101
7121
  }
7102
- const _i = [" ", ",", "?", "!", ";"], Hi = new Ei(20), Vi = (i, e, t) => {
7122
+ const Vi = [" ", ",", "?", "!", ";"], Ii = new Hi(20), Si = (i, e, t) => {
7103
7123
  e = e || "", t = t || "";
7104
- const s = _i.filter((c) => e.indexOf(c) < 0 && t.indexOf(c) < 0);
7124
+ const s = Vi.filter((c) => e.indexOf(c) < 0 && t.indexOf(c) < 0);
7105
7125
  if (s.length === 0) return !0;
7106
- const o = Hi.getRegExp(`(${s.map((c) => c === "?" ? "\\?" : c).join("|")})`);
7126
+ const o = Ii.getRegExp(`(${s.map((c) => c === "?" ? "\\?" : c).join("|")})`);
7107
7127
  let a = !o.test(i);
7108
7128
  if (!a) {
7109
7129
  const c = i.indexOf(t);
7110
7130
  c > 0 && !o.test(i.substring(0, c)) && (a = !0);
7111
7131
  }
7112
7132
  return a;
7113
- }, p1 = function(i, e) {
7133
+ }, f1 = function(i, e) {
7114
7134
  let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : ".";
7115
7135
  if (!i) return;
7116
7136
  if (i[e]) return i[e];
@@ -7130,8 +7150,8 @@ const _i = [" ", ",", "?", "!", ";"], Hi = new Ei(20), Vi = (i, e, t) => {
7130
7150
  o = c;
7131
7151
  }
7132
7152
  return o;
7133
- }, l1 = (i) => i && i.indexOf("_") > 0 ? i.replace("_", "-") : i;
7134
- class M1 extends c1 {
7153
+ }, a1 = (i) => i && i.indexOf("_") > 0 ? i.replace("_", "-") : i;
7154
+ class y1 extends d1 {
7135
7155
  constructor(e) {
7136
7156
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
7137
7157
  ns: ["translation"],
@@ -7151,8 +7171,8 @@ class M1 extends c1 {
7151
7171
  const a = o.keySeparator !== void 0 ? o.keySeparator : this.options.keySeparator, c = o.ignoreJSONStructure !== void 0 ? o.ignoreJSONStructure : this.options.ignoreJSONStructure;
7152
7172
  let r;
7153
7173
  e.indexOf(".") > -1 ? r = e.split(".") : (r = [e, t], s && (Array.isArray(s) ? r.push(...s) : typeof s == "string" && a ? r.push(...s.split(a)) : r.push(s)));
7154
- const d = r1(this.data, r);
7155
- return !d && !t && !s && e.indexOf(".") > -1 && (e = r[0], t = r[1], s = r.slice(2).join(".")), d || !c || typeof s != "string" ? d : p1(this.data && this.data[e] && this.data[e][t], s, a);
7174
+ const d = l1(this.data, r);
7175
+ return !d && !t && !s && e.indexOf(".") > -1 && (e = r[0], t = r[1], s = r.slice(2).join(".")), d || !c || typeof s != "string" ? d : f1(this.data && this.data[e] && this.data[e][t], s, a);
7156
7176
  }
7157
7177
  addResource(e, t, s, o) {
7158
7178
  let a = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : {
@@ -7160,7 +7180,7 @@ class M1 extends c1 {
7160
7180
  };
7161
7181
  const c = a.keySeparator !== void 0 ? a.keySeparator : this.options.keySeparator;
7162
7182
  let r = [e, t];
7163
- s && (r = r.concat(c ? s.split(c) : s)), e.indexOf(".") > -1 && (r = e.split("."), o = t, t = r[1]), this.addNamespaces(t), R1(this.data, r, o), a.silent || this.emit("added", e, t, s, o);
7183
+ s && (r = r.concat(c ? s.split(c) : s)), e.indexOf(".") > -1 && (r = e.split("."), o = t, t = r[1]), this.addNamespaces(t), M1(this.data, r, o), a.silent || this.emit("added", e, t, s, o);
7164
7184
  }
7165
7185
  addResources(e, t, s) {
7166
7186
  let o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {
@@ -7178,11 +7198,11 @@ class M1 extends c1 {
7178
7198
  skipCopy: !1
7179
7199
  }, r = [e, t];
7180
7200
  e.indexOf(".") > -1 && (r = e.split("."), o = s, s = t, t = r[1]), this.addNamespaces(t);
7181
- let d = r1(this.data, r) || {};
7182
- c.skipCopy || (s = JSON.parse(JSON.stringify(s))), o ? P1(d, s, a) : d = {
7201
+ let d = l1(this.data, r) || {};
7202
+ c.skipCopy || (s = JSON.parse(JSON.stringify(s))), o ? F1(d, s, a) : d = {
7183
7203
  ...d,
7184
7204
  ...s
7185
- }, R1(this.data, r, d), c.silent || this.emit("added", e, t, s);
7205
+ }, M1(this.data, r, d), c.silent || this.emit("added", e, t, s);
7186
7206
  }
7187
7207
  removeResourceBundle(e, t) {
7188
7208
  this.hasResourceBundle(e, t) && delete this.data[e][t], this.removeNamespaces(t), this.emit("removed", e, t);
@@ -7206,7 +7226,7 @@ class M1 extends c1 {
7206
7226
  return this.data;
7207
7227
  }
7208
7228
  }
7209
- var F1 = {
7229
+ var $1 = {
7210
7230
  processors: {},
7211
7231
  addPostProcessor(i) {
7212
7232
  this.processors[i.name] = i;
@@ -7217,11 +7237,11 @@ var F1 = {
7217
7237
  }), e;
7218
7238
  }
7219
7239
  };
7220
- const y1 = {};
7221
- class a1 extends c1 {
7240
+ const b1 = {};
7241
+ class h1 extends d1 {
7222
7242
  constructor(e) {
7223
7243
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
7224
- super(), Ni(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = A.create("translator");
7244
+ super(), Ri(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = B.create("translator");
7225
7245
  }
7226
7246
  changeLanguage(e) {
7227
7247
  e && (this.language = e);
@@ -7240,7 +7260,7 @@ class a1 extends c1 {
7240
7260
  s === void 0 && (s = ":");
7241
7261
  const o = t.keySeparator !== void 0 ? t.keySeparator : this.options.keySeparator;
7242
7262
  let a = t.ns || this.options.defaultNS || [];
7243
- const c = s && e.indexOf(s) > -1, r = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !Vi(e, s, o);
7263
+ const c = s && e.indexOf(s) > -1, r = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !Si(e, s, o);
7244
7264
  if (c && !r) {
7245
7265
  const d = e.match(this.interpolator.nestingRegexp);
7246
7266
  if (d && d.length > 0)
@@ -7288,8 +7308,8 @@ class a1 extends c1 {
7288
7308
  }
7289
7309
  const h = this.resolve(e, t);
7290
7310
  let C = h && h.res;
7291
- const p = h && h.usedKey || c, w = h && h.exactUsedKey || c, x = Object.prototype.toString.apply(C), N = ["[object Number]", "[object Function]", "[object RegExp]"], M = t.joinArrays !== void 0 ? t.joinArrays : this.options.joinArrays, R = !this.i18nFormat || this.i18nFormat.handleAsObject;
7292
- if (R && C && (typeof C != "string" && typeof C != "boolean" && typeof C != "number") && N.indexOf(x) < 0 && !(typeof M == "string" && Array.isArray(C))) {
7311
+ const p = h && h.usedKey || c, f = h && h.exactUsedKey || c, N = Object.prototype.toString.apply(C), v = ["[object Number]", "[object Function]", "[object RegExp]"], R = t.joinArrays !== void 0 ? t.joinArrays : this.options.joinArrays, x = !this.i18nFormat || this.i18nFormat.handleAsObject;
7312
+ if (x && C && (typeof C != "string" && typeof C != "boolean" && typeof C != "number") && v.indexOf(N) < 0 && !(typeof R == "string" && Array.isArray(C))) {
7293
7313
  if (!t.returnObjects && !this.options.returnObjects) {
7294
7314
  this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
7295
7315
  const L = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(p, C, {
@@ -7299,51 +7319,51 @@ class a1 extends c1 {
7299
7319
  return o ? (h.res = L, h.usedParams = this.getUsedParamsDetails(t), h) : L;
7300
7320
  }
7301
7321
  if (a) {
7302
- const L = Array.isArray(C), y = L ? [] : {}, b = L ? w : p;
7303
- for (const v in C)
7304
- if (Object.prototype.hasOwnProperty.call(C, v)) {
7305
- const j = `${b}${a}${v}`;
7306
- y[v] = this.translate(j, {
7322
+ const L = Array.isArray(C), y = L ? [] : {}, b = L ? f : p;
7323
+ for (const M in C)
7324
+ if (Object.prototype.hasOwnProperty.call(C, M)) {
7325
+ const I = `${b}${a}${M}`;
7326
+ y[M] = this.translate(I, {
7307
7327
  ...t,
7308
7328
  joinArrays: !1,
7309
7329
  ns: r
7310
- }), y[v] === j && (y[v] = C[v]);
7330
+ }), y[M] === I && (y[M] = C[M]);
7311
7331
  }
7312
7332
  C = y;
7313
7333
  }
7314
- } else if (R && typeof M == "string" && Array.isArray(C))
7315
- C = C.join(M), C && (C = this.extendTranslation(C, e, t, s));
7334
+ } else if (x && typeof R == "string" && Array.isArray(C))
7335
+ C = C.join(R), C && (C = this.extendTranslation(C, e, t, s));
7316
7336
  else {
7317
7337
  let L = !1, y = !1;
7318
- const b = t.count !== void 0 && typeof t.count != "string", v = a1.hasDefaultValue(t), j = b ? this.pluralResolver.getSuffix(g, t.count, t) : "", X = t.ordinal && b ? this.pluralResolver.getSuffix(g, t.count, {
7338
+ const b = t.count !== void 0 && typeof t.count != "string", M = h1.hasDefaultValue(t), I = b ? this.pluralResolver.getSuffix(g, t.count, t) : "", U = t.ordinal && b ? this.pluralResolver.getSuffix(g, t.count, {
7319
7339
  ordinal: !1
7320
- }) : "", e1 = b && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), D = e1 && t[`defaultValue${this.options.pluralSeparator}zero`] || t[`defaultValue${j}`] || t[`defaultValue${X}`] || t.defaultValue;
7321
- !this.isValidLookup(C) && v && (L = !0, C = D), this.isValidLookup(C) || (y = !0, C = c);
7322
- const d1 = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && y ? void 0 : C, S = v && D !== C && this.options.updateMissing;
7323
- if (y || L || S) {
7324
- if (this.logger.log(S ? "updateKey" : "missingKey", g, d, c, S ? D : C), a) {
7340
+ }) : "", z = b && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), Z = z && t[`defaultValue${this.options.pluralSeparator}zero`] || t[`defaultValue${I}`] || t[`defaultValue${U}`] || t.defaultValue;
7341
+ !this.isValidLookup(C) && M && (L = !0, C = Z), this.isValidLookup(C) || (y = !0, C = c);
7342
+ const g1 = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && y ? void 0 : C, D = M && Z !== C && this.options.updateMissing;
7343
+ if (y || L || D) {
7344
+ if (this.logger.log(D ? "updateKey" : "missingKey", g, d, c, D ? Z : C), a) {
7325
7345
  const V = this.resolve(c, {
7326
7346
  ...t,
7327
7347
  keySeparator: !1
7328
7348
  });
7329
7349
  V && V.res && this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.");
7330
7350
  }
7331
- let T = [];
7332
- const G = this.languageUtils.getFallbackCodes(this.options.fallbackLng, t.lng || this.language);
7333
- if (this.options.saveMissingTo === "fallback" && G && G[0])
7334
- for (let V = 0; V < G.length; V++)
7335
- T.push(G[V]);
7336
- else this.options.saveMissingTo === "all" ? T = this.languageUtils.toResolveHierarchy(t.lng || this.language) : T.push(t.lng || this.language);
7337
- const t1 = (V, B, Z) => {
7338
- const f = v && Z !== C ? Z : d1;
7339
- this.options.missingKeyHandler ? this.options.missingKeyHandler(V, d, B, f, S, t) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(V, d, B, f, S, t), this.emit("missingKey", V, d, B, C);
7351
+ let A = [];
7352
+ const K = this.languageUtils.getFallbackCodes(this.options.fallbackLng, t.lng || this.language);
7353
+ if (this.options.saveMissingTo === "fallback" && K && K[0])
7354
+ for (let V = 0; V < K.length; V++)
7355
+ A.push(K[V]);
7356
+ else this.options.saveMissingTo === "all" ? A = this.languageUtils.toResolveHierarchy(t.lng || this.language) : A.push(t.lng || this.language);
7357
+ const J = (V, W, T) => {
7358
+ const Q = M && T !== C ? T : g1;
7359
+ this.options.missingKeyHandler ? this.options.missingKeyHandler(V, d, W, Q, D, t) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(V, d, W, Q, D, t), this.emit("missingKey", V, d, W, C);
7340
7360
  };
7341
- this.options.saveMissing && (this.options.saveMissingPlurals && b ? T.forEach((V) => {
7342
- const B = this.pluralResolver.getSuffixes(V, t);
7343
- e1 && t[`defaultValue${this.options.pluralSeparator}zero`] && B.indexOf(`${this.options.pluralSeparator}zero`) < 0 && B.push(`${this.options.pluralSeparator}zero`), B.forEach((Z) => {
7344
- t1([V], c + Z, t[`defaultValue${Z}`] || D);
7361
+ this.options.saveMissing && (this.options.saveMissingPlurals && b ? A.forEach((V) => {
7362
+ const W = this.pluralResolver.getSuffixes(V, t);
7363
+ z && t[`defaultValue${this.options.pluralSeparator}zero`] && W.indexOf(`${this.options.pluralSeparator}zero`) < 0 && W.push(`${this.options.pluralSeparator}zero`), W.forEach((T) => {
7364
+ J([V], c + T, t[`defaultValue${T}`] || Z);
7345
7365
  });
7346
- }) : t1(T, c, D));
7366
+ }) : J(A, c, Z));
7347
7367
  }
7348
7368
  C = this.extendTranslation(C, e, t, h, s), y && C === c && this.options.appendNamespaceToMissingKey && (C = `${d}:${c}`), (y || L) && this.options.parseMissingKeyHandler && (this.options.compatibilityAPI !== "v1" ? C = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${d}:${c}` : c, L ? C : void 0) : C = this.options.parseMissingKeyHandler(C));
7349
7369
  }
@@ -7381,13 +7401,13 @@ class a1 extends c1 {
7381
7401
  l < p && (s.nest = !1);
7382
7402
  }
7383
7403
  !s.lng && this.options.compatibilityAPI !== "v1" && o && o.res && (s.lng = this.language || o.usedLng), s.nest !== !1 && (e = this.interpolator.nest(e, function() {
7384
- for (var C = arguments.length, p = new Array(C), w = 0; w < C; w++)
7385
- p[w] = arguments[w];
7404
+ for (var C = arguments.length, p = new Array(C), f = 0; f < C; f++)
7405
+ p[f] = arguments[f];
7386
7406
  return a && a[0] === p[0] && !s.context ? (c.logger.warn(`It seems you are nesting recursively key: ${p[0]} in key: ${t[0]}`), null) : c.translate(...p, t);
7387
7407
  }, s)), s.interpolation && this.interpolator.reset();
7388
7408
  }
7389
7409
  const r = s.postProcess || this.options.postProcess, d = typeof r == "string" ? [r] : r;
7390
- return e != null && d && d.length && s.applyPostProcessor !== !1 && (e = F1.handle(d, e, t, this.options && this.options.postProcessPassResolved ? {
7410
+ return e != null && d && d.length && s.applyPostProcessor !== !1 && (e = $1.handle(d, e, t, this.options && this.options.postProcessPassResolved ? {
7391
7411
  i18nResolved: {
7392
7412
  ...o,
7393
7413
  usedParams: this.getUsedParamsDetails(s)
@@ -7403,26 +7423,26 @@ class a1 extends c1 {
7403
7423
  o = l;
7404
7424
  let h = g.namespaces;
7405
7425
  this.options.fallbackNS && (h = h.concat(this.options.fallbackNS));
7406
- const C = t.count !== void 0 && typeof t.count != "string", p = C && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), w = t.context !== void 0 && (typeof t.context == "string" || typeof t.context == "number") && t.context !== "", x = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
7407
- h.forEach((N) => {
7408
- this.isValidLookup(s) || (r = N, !y1[`${x[0]}-${N}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(r) && (y1[`${x[0]}-${N}`] = !0, this.logger.warn(`key "${o}" for languages "${x.join(", ")}" won't get resolved as namespace "${r}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), x.forEach((M) => {
7426
+ const C = t.count !== void 0 && typeof t.count != "string", p = C && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), f = t.context !== void 0 && (typeof t.context == "string" || typeof t.context == "number") && t.context !== "", N = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
7427
+ h.forEach((v) => {
7428
+ this.isValidLookup(s) || (r = v, !b1[`${N[0]}-${v}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(r) && (b1[`${N[0]}-${v}`] = !0, this.logger.warn(`key "${o}" for languages "${N.join(", ")}" won't get resolved as namespace "${r}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), N.forEach((R) => {
7409
7429
  if (this.isValidLookup(s)) return;
7410
- c = M;
7411
- const R = [l];
7430
+ c = R;
7431
+ const x = [l];
7412
7432
  if (this.i18nFormat && this.i18nFormat.addLookupKeys)
7413
- this.i18nFormat.addLookupKeys(R, l, M, N, t);
7433
+ this.i18nFormat.addLookupKeys(x, l, R, v, t);
7414
7434
  else {
7415
7435
  let L;
7416
- C && (L = this.pluralResolver.getSuffix(M, t.count, t));
7436
+ C && (L = this.pluralResolver.getSuffix(R, t.count, t));
7417
7437
  const y = `${this.options.pluralSeparator}zero`, b = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
7418
- if (C && (R.push(l + L), t.ordinal && L.indexOf(b) === 0 && R.push(l + L.replace(b, this.options.pluralSeparator)), p && R.push(l + y)), w) {
7419
- const v = `${l}${this.options.contextSeparator}${t.context}`;
7420
- R.push(v), C && (R.push(v + L), t.ordinal && L.indexOf(b) === 0 && R.push(v + L.replace(b, this.options.pluralSeparator)), p && R.push(v + y));
7438
+ if (C && (x.push(l + L), t.ordinal && L.indexOf(b) === 0 && x.push(l + L.replace(b, this.options.pluralSeparator)), p && x.push(l + y)), f) {
7439
+ const M = `${l}${this.options.contextSeparator}${t.context}`;
7440
+ x.push(M), C && (x.push(M + L), t.ordinal && L.indexOf(b) === 0 && x.push(M + L.replace(b, this.options.pluralSeparator)), p && x.push(M + y));
7421
7441
  }
7422
7442
  }
7423
7443
  let _;
7424
- for (; _ = R.pop(); )
7425
- this.isValidLookup(s) || (a = _, s = this.getResource(M, N, _, t));
7444
+ for (; _ = x.pop(); )
7445
+ this.isValidLookup(s) || (a = _, s = this.getResource(R, v, _, t));
7426
7446
  }));
7427
7447
  });
7428
7448
  }), {
@@ -7464,18 +7484,18 @@ class a1 extends c1 {
7464
7484
  return !1;
7465
7485
  }
7466
7486
  }
7467
- const u1 = (i) => i.charAt(0).toUpperCase() + i.slice(1);
7468
- class b1 {
7487
+ const C1 = (i) => i.charAt(0).toUpperCase() + i.slice(1);
7488
+ class E1 {
7469
7489
  constructor(e) {
7470
- this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = A.create("languageUtils");
7490
+ this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = B.create("languageUtils");
7471
7491
  }
7472
7492
  getScriptPartFromCode(e) {
7473
- if (e = l1(e), !e || e.indexOf("-") < 0) return null;
7493
+ if (e = a1(e), !e || e.indexOf("-") < 0) return null;
7474
7494
  const t = e.split("-");
7475
7495
  return t.length === 2 || (t.pop(), t[t.length - 1].toLowerCase() === "x") ? null : this.formatLanguageCode(t.join("-"));
7476
7496
  }
7477
7497
  getLanguagePartFromCode(e) {
7478
- if (e = l1(e), !e || e.indexOf("-") < 0) return e;
7498
+ if (e = a1(e), !e || e.indexOf("-") < 0) return e;
7479
7499
  const t = e.split("-");
7480
7500
  return this.formatLanguageCode(t[0]);
7481
7501
  }
@@ -7483,7 +7503,7 @@ class b1 {
7483
7503
  if (typeof e == "string" && e.indexOf("-") > -1) {
7484
7504
  const t = ["hans", "hant", "latn", "cyrl", "cans", "mong", "arab"];
7485
7505
  let s = e.split("-");
7486
- return this.options.lowerCaseLng ? s = s.map((o) => o.toLowerCase()) : s.length === 2 ? (s[0] = s[0].toLowerCase(), s[1] = s[1].toUpperCase(), t.indexOf(s[1].toLowerCase()) > -1 && (s[1] = u1(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] = u1(s[1].toLowerCase())), t.indexOf(s[2].toLowerCase()) > -1 && (s[2] = u1(s[2].toLowerCase()))), s.join("-");
7506
+ return this.options.lowerCaseLng ? s = s.map((o) => o.toLowerCase()) : s.length === 2 ? (s[0] = s[0].toLowerCase(), s[1] = s[1].toUpperCase(), t.indexOf(s[1].toLowerCase()) > -1 && (s[1] = C1(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] = C1(s[1].toLowerCase())), t.indexOf(s[2].toLowerCase()) > -1 && (s[2] = C1(s[2].toLowerCase()))), s.join("-");
7487
7507
  }
7488
7508
  return this.options.cleanCode || this.options.lowerCaseLng ? e.toLowerCase() : e;
7489
7509
  }
@@ -7524,7 +7544,7 @@ class b1 {
7524
7544
  }), o;
7525
7545
  }
7526
7546
  }
7527
- let Ii = [{
7547
+ let Oi = [{
7528
7548
  lngs: ["ach", "ak", "am", "arn", "br", "fil", "gun", "ln", "mfe", "mg", "mi", "oc", "pt", "pt-BR", "tg", "tl", "ti", "tr", "uz", "wa"],
7529
7549
  nr: [1, 2],
7530
7550
  fc: 1
@@ -7616,7 +7636,7 @@ let Ii = [{
7616
7636
  lngs: ["he", "iw"],
7617
7637
  nr: [1, 2, 20, 21],
7618
7638
  fc: 22
7619
- }], Oi = {
7639
+ }], Ai = {
7620
7640
  1: (i) => +(i > 1),
7621
7641
  2: (i) => +(i != 1),
7622
7642
  3: (i) => 0,
@@ -7640,28 +7660,28 @@ let Ii = [{
7640
7660
  21: (i) => i % 100 == 1 ? 1 : i % 100 == 2 ? 2 : i % 100 == 3 || i % 100 == 4 ? 3 : 0,
7641
7661
  22: (i) => i == 1 ? 0 : i == 2 ? 1 : (i < 0 || i > 10) && i % 10 == 0 ? 2 : 3
7642
7662
  };
7643
- const Si = ["v1", "v2", "v3"], Ai = ["v4"], E1 = {
7663
+ const Bi = ["v1", "v2", "v3"], Wi = ["v4"], _1 = {
7644
7664
  zero: 0,
7645
7665
  one: 1,
7646
7666
  two: 2,
7647
7667
  few: 3,
7648
7668
  many: 4,
7649
7669
  other: 5
7650
- }, Bi = () => {
7670
+ }, ji = () => {
7651
7671
  const i = {};
7652
- return Ii.forEach((e) => {
7672
+ return Oi.forEach((e) => {
7653
7673
  e.lngs.forEach((t) => {
7654
7674
  i[t] = {
7655
7675
  numbers: e.nr,
7656
- plurals: Oi[e.fc]
7676
+ plurals: Ai[e.fc]
7657
7677
  };
7658
7678
  });
7659
7679
  }), i;
7660
7680
  };
7661
- class Wi {
7681
+ class Zi {
7662
7682
  constructor(e) {
7663
7683
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
7664
- this.languageUtils = e, this.options = t, this.logger = A.create("pluralResolver"), (!this.options.compatibilityJSON || Ai.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 = Bi(), this.pluralRulesCache = {};
7684
+ this.languageUtils = e, this.options = t, this.logger = B.create("pluralResolver"), (!this.options.compatibilityJSON || Wi.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 = ji(), this.pluralRulesCache = {};
7665
7685
  }
7666
7686
  addRule(e, t) {
7667
7687
  this.rules[e] = t;
@@ -7673,7 +7693,7 @@ class Wi {
7673
7693
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
7674
7694
  if (this.shouldUseIntlApi())
7675
7695
  try {
7676
- const s = l1(e === "dev" ? "en" : e), o = t.ordinal ? "ordinal" : "cardinal", a = JSON.stringify({
7696
+ const s = a1(e === "dev" ? "en" : e), o = t.ordinal ? "ordinal" : "cardinal", a = JSON.stringify({
7677
7697
  cleanedCode: s,
7678
7698
  type: o
7679
7699
  });
@@ -7700,7 +7720,7 @@ class Wi {
7700
7720
  getSuffixes(e) {
7701
7721
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
7702
7722
  const s = this.getRule(e, t);
7703
- return s ? this.shouldUseIntlApi() ? s.resolvedOptions().pluralCategories.sort((o, a) => E1[o] - E1[a]).map((o) => `${this.options.prepend}${t.ordinal ? `ordinal${this.options.prepend}` : ""}${o}`) : s.numbers.map((o) => this.getSuffix(e, o, t)) : [];
7723
+ return s ? this.shouldUseIntlApi() ? s.resolvedOptions().pluralCategories.sort((o, a) => _1[o] - _1[a]).map((o) => `${this.options.prepend}${t.ordinal ? `ordinal${this.options.prepend}` : ""}${o}`) : s.numbers.map((o) => this.getSuffix(e, o, t)) : [];
7704
7724
  }
7705
7725
  getSuffix(e, t) {
7706
7726
  let s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
@@ -7715,17 +7735,17 @@ class Wi {
7715
7735
  return this.options.compatibilityJSON === "v1" ? o === 1 ? "" : typeof o == "number" ? `_plural_${o.toString()}` : a() : this.options.compatibilityJSON === "v2" || this.options.simplifyPluralSuffix && e.numbers.length === 2 && e.numbers[0] === 1 ? a() : this.options.prepend && s.toString() ? this.options.prepend + s.toString() : s.toString();
7716
7736
  }
7717
7737
  shouldUseIntlApi() {
7718
- return !Si.includes(this.options.compatibilityJSON);
7738
+ return !Bi.includes(this.options.compatibilityJSON);
7719
7739
  }
7720
7740
  }
7721
- const _1 = function(i, e, t) {
7722
- let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", o = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, a = Mi(i, e, t);
7723
- return !a && o && typeof t == "string" && (a = p1(i, t, s), a === void 0 && (a = p1(e, t, s))), a;
7724
- }, C1 = (i) => i.replace(/\$/g, "$$$$");
7725
- class ji {
7741
+ const H1 = function(i, e, t) {
7742
+ let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", o = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, a = bi(i, e, t);
7743
+ return !a && o && typeof t == "string" && (a = f1(i, t, s), a === void 0 && (a = f1(e, t, s))), a;
7744
+ }, p1 = (i) => i.replace(/\$/g, "$$$$");
7745
+ class Di {
7726
7746
  constructor() {
7727
7747
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
7728
- this.logger = A.create("interpolator"), this.options = e, this.format = e.interpolation && e.interpolation.format || ((t) => t), this.init(e);
7748
+ this.logger = B.create("interpolator"), this.options = e, this.format = e.interpolation && e.interpolation.format || ((t) => t), this.init(e);
7729
7749
  }
7730
7750
  init() {
7731
7751
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
@@ -7745,13 +7765,13 @@ class ji {
7745
7765
  unescapePrefix: h,
7746
7766
  nestingPrefix: C,
7747
7767
  nestingPrefixEscaped: p,
7748
- nestingSuffix: w,
7749
- nestingSuffixEscaped: x,
7750
- nestingOptionsSeparator: N,
7751
- maxReplaces: M,
7752
- alwaysFormat: R
7768
+ nestingSuffix: f,
7769
+ nestingSuffixEscaped: N,
7770
+ nestingOptionsSeparator: v,
7771
+ maxReplaces: R,
7772
+ alwaysFormat: x
7753
7773
  } = e.interpolation;
7754
- this.escape = t !== void 0 ? t : bi, this.escapeValue = s !== void 0 ? s : !0, this.useRawValueToEscape = o !== void 0 ? o : !1, this.prefix = a ? P(a) : c || "{{", this.suffix = r ? P(r) : d || "}}", this.formatSeparator = g || ",", this.unescapePrefix = l ? "" : h || "-", this.unescapeSuffix = this.unescapePrefix ? "" : l || "", this.nestingPrefix = C ? P(C) : p || P("$t("), this.nestingSuffix = w ? P(w) : x || P(")"), this.nestingOptionsSeparator = N || ",", this.maxReplaces = M || 1e3, this.alwaysFormat = R !== void 0 ? R : !1, this.resetRegExp();
7774
+ this.escape = t !== void 0 ? t : _i, this.escapeValue = s !== void 0 ? s : !0, this.useRawValueToEscape = o !== void 0 ? o : !1, this.prefix = a ? P(a) : c || "{{", this.suffix = r ? P(r) : d || "}}", this.formatSeparator = g || ",", this.unescapePrefix = l ? "" : h || "-", this.unescapeSuffix = this.unescapePrefix ? "" : l || "", this.nestingPrefix = C ? P(C) : p || P("$t("), this.nestingSuffix = f ? P(f) : N || P(")"), this.nestingOptionsSeparator = v || ",", this.maxReplaces = R || 1e3, this.alwaysFormat = x !== void 0 ? x : !1, this.resetRegExp();
7755
7775
  }
7756
7776
  reset() {
7757
7777
  this.options && this.init(this.options);
@@ -7764,45 +7784,45 @@ class ji {
7764
7784
  let a, c, r;
7765
7785
  const d = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, g = (p) => {
7766
7786
  if (p.indexOf(this.formatSeparator) < 0) {
7767
- const M = _1(t, d, p, this.options.keySeparator, this.options.ignoreJSONStructure);
7768
- return this.alwaysFormat ? this.format(M, void 0, s, {
7787
+ const R = H1(t, d, p, this.options.keySeparator, this.options.ignoreJSONStructure);
7788
+ return this.alwaysFormat ? this.format(R, void 0, s, {
7769
7789
  ...o,
7770
7790
  ...t,
7771
7791
  interpolationkey: p
7772
- }) : M;
7792
+ }) : R;
7773
7793
  }
7774
- const w = p.split(this.formatSeparator), x = w.shift().trim(), N = w.join(this.formatSeparator).trim();
7775
- return this.format(_1(t, d, x, this.options.keySeparator, this.options.ignoreJSONStructure), N, s, {
7794
+ const f = p.split(this.formatSeparator), N = f.shift().trim(), v = f.join(this.formatSeparator).trim();
7795
+ return this.format(H1(t, d, N, this.options.keySeparator, this.options.ignoreJSONStructure), v, s, {
7776
7796
  ...o,
7777
7797
  ...t,
7778
- interpolationkey: x
7798
+ interpolationkey: N
7779
7799
  });
7780
7800
  };
7781
7801
  this.resetRegExp();
7782
7802
  const l = o && o.missingInterpolationHandler || this.options.missingInterpolationHandler, h = o && o.interpolation && o.interpolation.skipOnVariables !== void 0 ? o.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables;
7783
7803
  return [{
7784
7804
  regex: this.regexpUnescape,
7785
- safeValue: (p) => C1(p)
7805
+ safeValue: (p) => p1(p)
7786
7806
  }, {
7787
7807
  regex: this.regexp,
7788
- safeValue: (p) => this.escapeValue ? C1(this.escape(p)) : C1(p)
7808
+ safeValue: (p) => this.escapeValue ? p1(this.escape(p)) : p1(p)
7789
7809
  }].forEach((p) => {
7790
7810
  for (r = 0; a = p.regex.exec(e); ) {
7791
- const w = a[1].trim();
7792
- if (c = g(w), c === void 0)
7811
+ const f = a[1].trim();
7812
+ if (c = g(f), c === void 0)
7793
7813
  if (typeof l == "function") {
7794
- const N = l(e, a, o);
7795
- c = typeof N == "string" ? N : "";
7796
- } else if (o && Object.prototype.hasOwnProperty.call(o, w))
7814
+ const v = l(e, a, o);
7815
+ c = typeof v == "string" ? v : "";
7816
+ } else if (o && Object.prototype.hasOwnProperty.call(o, f))
7797
7817
  c = "";
7798
7818
  else if (h) {
7799
7819
  c = a[0];
7800
7820
  continue;
7801
7821
  } else
7802
- this.logger.warn(`missed to pass in variable ${w} for interpolating ${e}`), c = "";
7803
- else typeof c != "string" && !this.useRawValueToEscape && (c = v1(c));
7804
- const x = p.safeValue(c);
7805
- if (e = e.replace(a[0], x), h ? (p.regex.lastIndex += c.length, p.regex.lastIndex -= a[0].length) : p.regex.lastIndex = 0, r++, r >= this.maxReplaces)
7822
+ this.logger.warn(`missed to pass in variable ${f} for interpolating ${e}`), c = "";
7823
+ else typeof c != "string" && !this.useRawValueToEscape && (c = N1(c));
7824
+ const N = p.safeValue(c);
7825
+ if (e = e.replace(a[0], N), h ? (p.regex.lastIndex += c.length, p.regex.lastIndex -= a[0].length) : p.regex.lastIndex = 0, r++, r >= this.maxReplaces)
7806
7826
  break;
7807
7827
  }
7808
7828
  }), e;
@@ -7815,15 +7835,15 @@ class ji {
7815
7835
  const h = d.split(new RegExp(`${l}[ ]*{`));
7816
7836
  let C = `{${h[1]}`;
7817
7837
  d = h[0], C = this.interpolate(C, c);
7818
- const p = C.match(/'/g), w = C.match(/"/g);
7819
- (p && p.length % 2 === 0 && !w || w.length % 2 !== 0) && (C = C.replace(/'/g, '"'));
7838
+ const p = C.match(/'/g), f = C.match(/"/g);
7839
+ (p && p.length % 2 === 0 && !f || f.length % 2 !== 0) && (C = C.replace(/'/g, '"'));
7820
7840
  try {
7821
7841
  c = JSON.parse(C), g && (c = {
7822
7842
  ...g,
7823
7843
  ...c
7824
7844
  });
7825
- } catch (x) {
7826
- return this.logger.warn(`failed parsing options string in nesting for key ${d}`, x), `${d}${l}${C}`;
7845
+ } catch (N) {
7846
+ return this.logger.warn(`failed parsing options string in nesting for key ${d}`, N), `${d}${l}${C}`;
7827
7847
  }
7828
7848
  return c.defaultValue && c.defaultValue.indexOf(this.prefix) > -1 && delete c.defaultValue, d;
7829
7849
  };
@@ -7838,7 +7858,7 @@ class ji {
7838
7858
  o[1] = l.shift(), d = l, g = !0;
7839
7859
  }
7840
7860
  if (a = t(r.call(this, o[1].trim(), c), c), a && o[0] === e && typeof a != "string") return a;
7841
- typeof a != "string" && (a = v1(a)), a || (this.logger.warn(`missed to resolve ${o[1]} for nesting ${e}`), a = ""), g && (a = d.reduce((l, h) => this.format(l, h, s.lng, {
7861
+ typeof a != "string" && (a = N1(a)), a || (this.logger.warn(`missed to resolve ${o[1]} for nesting ${e}`), a = ""), g && (a = d.reduce((l, h) => this.format(l, h, s.lng, {
7842
7862
  ...s,
7843
7863
  interpolationkey: o[1].trim()
7844
7864
  }), a.trim())), e = e.replace(o[0], a), this.regexp.lastIndex = 0;
@@ -7846,7 +7866,7 @@ class ji {
7846
7866
  return e;
7847
7867
  }
7848
7868
  }
7849
- const Zi = (i) => {
7869
+ const Ti = (i) => {
7850
7870
  let e = i.toLowerCase().trim();
7851
7871
  const t = {};
7852
7872
  if (i.indexOf("(") > -1) {
@@ -7874,13 +7894,13 @@ const Zi = (i) => {
7874
7894
  });
7875
7895
  const c = s + JSON.stringify(a);
7876
7896
  let r = e[c];
7877
- return r || (r = i(l1(s), o), e[c] = r), r(t);
7897
+ return r || (r = i(a1(s), o), e[c] = r), r(t);
7878
7898
  };
7879
7899
  };
7880
- class Di {
7900
+ class Gi {
7881
7901
  constructor() {
7882
7902
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
7883
- this.logger = A.create("formatter"), this.options = e, this.formats = {
7903
+ this.logger = B.create("formatter"), this.options = e, this.formats = {
7884
7904
  number: F((t, s) => {
7885
7905
  const o = new Intl.NumberFormat(t, {
7886
7906
  ...s
@@ -7937,7 +7957,7 @@ class Di {
7937
7957
  const {
7938
7958
  formatName: g,
7939
7959
  formatOptions: l
7940
- } = Zi(d);
7960
+ } = Ti(d);
7941
7961
  if (this.formats[g]) {
7942
7962
  let h = r;
7943
7963
  try {
@@ -7957,13 +7977,13 @@ class Di {
7957
7977
  }, e);
7958
7978
  }
7959
7979
  }
7960
- const Ti = (i, e) => {
7980
+ const Ki = (i, e) => {
7961
7981
  i.pending[e] !== void 0 && (delete i.pending[e], i.pendingCount--);
7962
7982
  };
7963
- class Gi extends c1 {
7983
+ class Pi extends d1 {
7964
7984
  constructor(e, t, s) {
7965
7985
  let o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
7966
- super(), this.backend = e, this.store = t, this.services = s, this.languageUtils = s.languageUtils, this.options = o, this.logger = A.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = o.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = o.maxRetries >= 0 ? o.maxRetries : 5, this.retryTimeout = o.retryTimeout >= 1 ? o.retryTimeout : 350, this.state = {}, this.queue = [], this.backend && this.backend.init && this.backend.init(s, o.backend, o);
7986
+ super(), this.backend = e, this.store = t, this.services = s, this.languageUtils = s.languageUtils, this.options = o, this.logger = B.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = o.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = o.maxRetries >= 0 ? o.maxRetries : 5, this.retryTimeout = o.retryTimeout >= 1 ? o.retryTimeout : 350, this.state = {}, this.queue = [], this.backend && this.backend.init && this.backend.init(s, o.backend, o);
7967
7987
  }
7968
7988
  queueLoad(e, t, s, o) {
7969
7989
  const a = {}, c = {}, r = {}, d = {};
@@ -7993,7 +8013,7 @@ class Gi extends c1 {
7993
8013
  }), this.state[e] = t ? -1 : 2, t && s && (this.state[e] = 0);
7994
8014
  const r = {};
7995
8015
  this.queue.forEach((d) => {
7996
- Ri(d.loaded, [a], c), Ti(d, e), t && d.errors.push(t), d.pendingCount === 0 && !d.done && (Object.keys(d.loaded).forEach((g) => {
8016
+ yi(d.loaded, [a], c), Ki(d, e), t && d.errors.push(t), d.pendingCount === 0 && !d.done && (Object.keys(d.loaded).forEach((g) => {
7997
8017
  r[g] || (r[g] = {});
7998
8018
  const l = d.loaded[g];
7999
8019
  l.length && l.forEach((h) => {
@@ -8095,7 +8115,7 @@ class Gi extends c1 {
8095
8115
  }
8096
8116
  }
8097
8117
  }
8098
- const H1 = () => ({
8118
+ const V1 = () => ({
8099
8119
  debug: !1,
8100
8120
  initImmediate: !0,
8101
8121
  ns: ["translation"],
@@ -8151,18 +8171,18 @@ const H1 = () => ({
8151
8171
  maxReplaces: 1e3,
8152
8172
  skipOnVariables: !0
8153
8173
  }
8154
- }), V1 = (i) => (typeof i.ns == "string" && (i.ns = [i.ns]), typeof i.fallbackLng == "string" && (i.fallbackLng = [i.fallbackLng]), typeof i.fallbackNS == "string" && (i.fallbackNS = [i.fallbackNS]), i.supportedLngs && i.supportedLngs.indexOf("cimode") < 0 && (i.supportedLngs = i.supportedLngs.concat(["cimode"])), i), s1 = () => {
8155
- }, Ki = (i) => {
8174
+ }), I1 = (i) => (typeof i.ns == "string" && (i.ns = [i.ns]), typeof i.fallbackLng == "string" && (i.fallbackLng = [i.fallbackLng]), typeof i.fallbackNS == "string" && (i.fallbackNS = [i.fallbackNS]), i.supportedLngs && i.supportedLngs.indexOf("cimode") < 0 && (i.supportedLngs = i.supportedLngs.concat(["cimode"])), i), o1 = () => {
8175
+ }, Fi = (i) => {
8156
8176
  Object.getOwnPropertyNames(Object.getPrototypeOf(i)).forEach((t) => {
8157
8177
  typeof i[t] == "function" && (i[t] = i[t].bind(i));
8158
8178
  });
8159
8179
  };
8160
- class J extends c1 {
8180
+ class e1 extends d1 {
8161
8181
  constructor() {
8162
8182
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0;
8163
- if (super(), this.options = V1(e), this.services = {}, this.logger = A, this.modules = {
8183
+ if (super(), this.options = I1(e), this.services = {}, this.logger = B, this.modules = {
8164
8184
  external: []
8165
- }, Ki(this), t && !this.isInitialized && !e.isClone) {
8185
+ }, Fi(this), t && !this.isInitialized && !e.isClone) {
8166
8186
  if (!this.options.initImmediate)
8167
8187
  return this.init(e, t), this;
8168
8188
  setTimeout(() => {
@@ -8174,42 +8194,42 @@ class J extends c1 {
8174
8194
  var e = this;
8175
8195
  let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, s = arguments.length > 1 ? arguments[1] : void 0;
8176
8196
  this.isInitializing = !0, typeof t == "function" && (s = t, t = {}), !t.defaultNS && t.defaultNS !== !1 && t.ns && (typeof t.ns == "string" ? t.defaultNS = t.ns : t.ns.indexOf("translation") < 0 && (t.defaultNS = t.ns[0]));
8177
- const o = H1();
8197
+ const o = V1();
8178
8198
  this.options = {
8179
8199
  ...o,
8180
8200
  ...this.options,
8181
- ...V1(t)
8201
+ ...I1(t)
8182
8202
  }, this.options.compatibilityAPI !== "v1" && (this.options.interpolation = {
8183
8203
  ...o.interpolation,
8184
8204
  ...this.options.interpolation
8185
8205
  }), t.keySeparator !== void 0 && (this.options.userDefinedKeySeparator = t.keySeparator), t.nsSeparator !== void 0 && (this.options.userDefinedNsSeparator = t.nsSeparator);
8186
8206
  const a = (l) => l ? typeof l == "function" ? new l() : l : null;
8187
8207
  if (!this.options.isClone) {
8188
- this.modules.logger ? A.init(a(this.modules.logger), this.options) : A.init(null, this.options);
8208
+ this.modules.logger ? B.init(a(this.modules.logger), this.options) : B.init(null, this.options);
8189
8209
  let l;
8190
- this.modules.formatter ? l = this.modules.formatter : typeof Intl < "u" && (l = Di);
8191
- const h = new b1(this.options);
8192
- this.store = new M1(this.options.resources, this.options);
8210
+ this.modules.formatter ? l = this.modules.formatter : typeof Intl < "u" && (l = Gi);
8211
+ const h = new E1(this.options);
8212
+ this.store = new y1(this.options.resources, this.options);
8193
8213
  const C = this.services;
8194
- C.logger = A, C.resourceStore = this.store, C.languageUtils = h, C.pluralResolver = new Wi(h, {
8214
+ C.logger = B, C.resourceStore = this.store, C.languageUtils = h, C.pluralResolver = new Zi(h, {
8195
8215
  prepend: this.options.pluralSeparator,
8196
8216
  compatibilityJSON: this.options.compatibilityJSON,
8197
8217
  simplifyPluralSuffix: this.options.simplifyPluralSuffix
8198
- }), l && (!this.options.interpolation.format || this.options.interpolation.format === o.interpolation.format) && (C.formatter = a(l), C.formatter.init(C, this.options), this.options.interpolation.format = C.formatter.format.bind(C.formatter)), C.interpolator = new ji(this.options), C.utils = {
8218
+ }), l && (!this.options.interpolation.format || this.options.interpolation.format === o.interpolation.format) && (C.formatter = a(l), C.formatter.init(C, this.options), this.options.interpolation.format = C.formatter.format.bind(C.formatter)), C.interpolator = new Di(this.options), C.utils = {
8199
8219
  hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
8200
- }, C.backendConnector = new Gi(a(this.modules.backend), C.resourceStore, C, this.options), C.backendConnector.on("*", function(p) {
8201
- for (var w = arguments.length, x = new Array(w > 1 ? w - 1 : 0), N = 1; N < w; N++)
8202
- x[N - 1] = arguments[N];
8203
- e.emit(p, ...x);
8204
- }), this.modules.languageDetector && (C.languageDetector = a(this.modules.languageDetector), C.languageDetector.init && C.languageDetector.init(C, this.options.detection, this.options)), this.modules.i18nFormat && (C.i18nFormat = a(this.modules.i18nFormat), C.i18nFormat.init && C.i18nFormat.init(this)), this.translator = new a1(this.services, this.options), this.translator.on("*", function(p) {
8205
- for (var w = arguments.length, x = new Array(w > 1 ? w - 1 : 0), N = 1; N < w; N++)
8206
- x[N - 1] = arguments[N];
8207
- e.emit(p, ...x);
8220
+ }, C.backendConnector = new Pi(a(this.modules.backend), C.resourceStore, C, this.options), C.backendConnector.on("*", function(p) {
8221
+ for (var f = arguments.length, N = new Array(f > 1 ? f - 1 : 0), v = 1; v < f; v++)
8222
+ N[v - 1] = arguments[v];
8223
+ e.emit(p, ...N);
8224
+ }), this.modules.languageDetector && (C.languageDetector = a(this.modules.languageDetector), C.languageDetector.init && C.languageDetector.init(C, this.options.detection, this.options)), this.modules.i18nFormat && (C.i18nFormat = a(this.modules.i18nFormat), C.i18nFormat.init && C.i18nFormat.init(this)), this.translator = new h1(this.services, this.options), this.translator.on("*", function(p) {
8225
+ for (var f = arguments.length, N = new Array(f > 1 ? f - 1 : 0), v = 1; v < f; v++)
8226
+ N[v - 1] = arguments[v];
8227
+ e.emit(p, ...N);
8208
8228
  }), this.modules.external.forEach((p) => {
8209
8229
  p.init && p.init(this);
8210
8230
  });
8211
8231
  }
8212
- if (this.format = this.options.interpolation.format, s || (s = s1), this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
8232
+ if (this.format = this.options.interpolation.format, s || (s = o1), this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
8213
8233
  const l = this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);
8214
8234
  l.length > 0 && l[0] !== "dev" && (this.options.lng = l[0]);
8215
8235
  }
@@ -8222,7 +8242,7 @@ class J extends c1 {
8222
8242
  return e.store[l](...arguments), e;
8223
8243
  };
8224
8244
  });
8225
- const d = U(), g = () => {
8245
+ const d = q(), g = () => {
8226
8246
  const l = (h, C) => {
8227
8247
  this.isInitializing = !1, this.isInitialized && !this.initializedStoreOnce && this.logger.warn("init: i18next is already initialized. You should call init just once!"), this.isInitialized = !0, this.options.isClone || this.logger.log("initialized", this.options), this.emit("initialized", this.options), d.resolve(C), s(h, C);
8228
8248
  };
@@ -8232,7 +8252,7 @@ class J extends c1 {
8232
8252
  return this.options.resources || !this.options.initImmediate ? g() : setTimeout(g, 0), d;
8233
8253
  }
8234
8254
  loadResources(e) {
8235
- let s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : s1;
8255
+ let s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : o1;
8236
8256
  const o = typeof e == "string" ? e : this.language;
8237
8257
  if (typeof e == "function" && (s = e), !this.options.resources || this.options.partialBundledLanguages) {
8238
8258
  if (o && o.toLowerCase() === "cimode" && (!this.options.preload || this.options.preload.length === 0)) return s();
@@ -8249,15 +8269,15 @@ class J extends c1 {
8249
8269
  s(null);
8250
8270
  }
8251
8271
  reloadResources(e, t, s) {
8252
- const o = U();
8253
- return typeof e == "function" && (s = e, e = void 0), typeof t == "function" && (s = t, t = void 0), e || (e = this.languages), t || (t = this.options.ns), s || (s = s1), this.services.backendConnector.reload(e, t, (a) => {
8272
+ const o = q();
8273
+ return typeof e == "function" && (s = e, e = void 0), typeof t == "function" && (s = t, t = void 0), e || (e = this.languages), t || (t = this.options.ns), s || (s = o1), this.services.backendConnector.reload(e, t, (a) => {
8254
8274
  o.resolve(), s(a);
8255
8275
  }), o;
8256
8276
  }
8257
8277
  use(e) {
8258
8278
  if (!e) throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");
8259
8279
  if (!e.type) throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");
8260
- return e.type === "backend" && (this.modules.backend = e), (e.type === "logger" || e.log && e.warn && e.error) && (this.modules.logger = e), e.type === "languageDetector" && (this.modules.languageDetector = e), e.type === "i18nFormat" && (this.modules.i18nFormat = e), e.type === "postProcessor" && F1.addPostProcessor(e), e.type === "formatter" && (this.modules.formatter = e), e.type === "3rdParty" && this.modules.external.push(e), this;
8280
+ return e.type === "backend" && (this.modules.backend = e), (e.type === "logger" || e.log && e.warn && e.error) && (this.modules.logger = e), e.type === "languageDetector" && (this.modules.languageDetector = e), e.type === "i18nFormat" && (this.modules.i18nFormat = e), e.type === "postProcessor" && $1.addPostProcessor(e), e.type === "formatter" && (this.modules.formatter = e), e.type === "3rdParty" && this.modules.external.push(e), this;
8261
8281
  }
8262
8282
  setResolvedLanguage(e) {
8263
8283
  if (!(!e || !this.languages) && !(["cimode", "dev"].indexOf(e) > -1))
@@ -8272,7 +8292,7 @@ class J extends c1 {
8272
8292
  changeLanguage(e, t) {
8273
8293
  var s = this;
8274
8294
  this.isLanguageChangingTo = e;
8275
- const o = U();
8295
+ const o = q();
8276
8296
  this.emit("languageChanging", e);
8277
8297
  const a = (d) => {
8278
8298
  this.language = d, this.languages = this.services.languageUtils.toResolveHierarchy(d), this.resolvedLanguage = void 0, this.setResolvedLanguage(d);
@@ -8306,7 +8326,7 @@ class J extends c1 {
8306
8326
  d.lng = d.lng || a.lng, d.lngs = d.lngs || a.lngs, d.ns = d.ns || a.ns, d.keyPrefix !== "" && (d.keyPrefix = d.keyPrefix || s || a.keyPrefix);
8307
8327
  const C = o.options.keySeparator || ".";
8308
8328
  let p;
8309
- return d.keyPrefix && Array.isArray(c) ? p = c.map((w) => `${d.keyPrefix}${C}${w}`) : p = d.keyPrefix ? `${d.keyPrefix}${C}${c}` : c, o.t(p, d);
8329
+ return d.keyPrefix && Array.isArray(c) ? p = c.map((f) => `${d.keyPrefix}${C}${f}`) : p = d.keyPrefix ? `${d.keyPrefix}${C}${c}` : c, o.t(p, d);
8310
8330
  };
8311
8331
  return typeof e == "string" ? a.lng = e : a.lngs = e, a.ns = t, a.keyPrefix = s, a;
8312
8332
  }
@@ -8338,7 +8358,7 @@ class J extends c1 {
8338
8358
  return !!(this.hasResourceBundle(s, e) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages || c(s, e) && (!o || c(a, e)));
8339
8359
  }
8340
8360
  loadNamespaces(e, t) {
8341
- const s = U();
8361
+ const s = q();
8342
8362
  return this.options.ns ? (typeof e == "string" && (e = [e]), e.forEach((o) => {
8343
8363
  this.options.ns.indexOf(o) < 0 && this.options.ns.push(o);
8344
8364
  }), this.loadResources((o) => {
@@ -8346,7 +8366,7 @@ class J extends c1 {
8346
8366
  }), s) : (t && t(), Promise.resolve());
8347
8367
  }
8348
8368
  loadLanguages(e, t) {
8349
- const s = U();
8369
+ const s = q();
8350
8370
  typeof e == "string" && (e = [e]);
8351
8371
  const o = this.options.preload || [], a = e.filter((c) => o.indexOf(c) < 0 && this.services.languageUtils.isSupportedCode(c));
8352
8372
  return a.length ? (this.options.preload = o.concat(a), this.loadResources((c) => {
@@ -8355,29 +8375,29 @@ class J extends c1 {
8355
8375
  }
8356
8376
  dir(e) {
8357
8377
  if (e || (e = this.resolvedLanguage || (this.languages && this.languages.length > 0 ? this.languages[0] : this.language)), !e) return "rtl";
8358
- const t = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], s = this.services && this.services.languageUtils || new b1(H1());
8378
+ const t = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], s = this.services && this.services.languageUtils || new E1(V1());
8359
8379
  return t.indexOf(s.getLanguagePartFromCode(e)) > -1 || e.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
8360
8380
  }
8361
8381
  static createInstance() {
8362
8382
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0;
8363
- return new J(e, t);
8383
+ return new e1(e, t);
8364
8384
  }
8365
8385
  cloneInstance() {
8366
- let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : s1;
8386
+ let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : o1;
8367
8387
  const s = e.forkResourceStore;
8368
8388
  s && delete e.forkResourceStore;
8369
8389
  const o = {
8370
8390
  ...this.options,
8371
8391
  ...e,
8372
8392
  isClone: !0
8373
- }, a = new J(o);
8393
+ }, a = new e1(o);
8374
8394
  return (e.debug !== void 0 || e.prefix !== void 0) && (a.logger = a.logger.clone(e)), ["store", "services", "language"].forEach((r) => {
8375
8395
  a[r] = this[r];
8376
8396
  }), a.services = {
8377
8397
  ...this.services
8378
8398
  }, a.services.utils = {
8379
8399
  hasLoadedNamespace: a.hasLoadedNamespace.bind(a)
8380
- }, s && (a.store = new M1(this.store.data, o), a.services.resourceStore = a.store), a.translator = new a1(a.services, o), a.translator.on("*", function(r) {
8400
+ }, s && (a.store = new y1(this.store.data, o), a.services.resourceStore = a.store), a.translator = new h1(a.services, o), a.translator.on("*", function(r) {
8381
8401
  for (var d = arguments.length, g = new Array(d > 1 ? d - 1 : 0), l = 1; l < d; l++)
8382
8402
  g[l - 1] = arguments[l];
8383
8403
  a.emit(r, ...g);
@@ -8395,8 +8415,8 @@ class J extends c1 {
8395
8415
  };
8396
8416
  }
8397
8417
  }
8398
- const H = J.createInstance();
8399
- H.createInstance = J.createInstance;
8418
+ const H = e1.createInstance();
8419
+ H.createInstance = e1.createInstance;
8400
8420
  H.createInstance;
8401
8421
  H.dir;
8402
8422
  H.init;
@@ -8411,18 +8431,18 @@ H.setDefaultNamespace;
8411
8431
  H.hasLoadedNamespace;
8412
8432
  H.loadNamespaces;
8413
8433
  H.loadLanguages;
8414
- function Pi() {
8434
+ function $i() {
8415
8435
  if (console && console.warn) {
8416
8436
  for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
8417
8437
  e[t] = arguments[t];
8418
- K(e[0]) && (e[0] = `react-i18next:: ${e[0]}`), console.warn(...e);
8438
+ G(e[0]) && (e[0] = `react-i18next:: ${e[0]}`), console.warn(...e);
8419
8439
  }
8420
8440
  }
8421
- const I1 = {};
8422
- function f1() {
8441
+ const S1 = {};
8442
+ function w1() {
8423
8443
  for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
8424
8444
  e[t] = arguments[t];
8425
- K(e[0]) && I1[e[0]] || (K(e[0]) && (I1[e[0]] = /* @__PURE__ */ new Date()), Pi(...e));
8445
+ G(e[0]) && S1[e[0]] || (G(e[0]) && (S1[e[0]] = /* @__PURE__ */ new Date()), $i(...e));
8426
8446
  }
8427
8447
  const Y1 = (i, e) => () => {
8428
8448
  if (i.isInitialized)
@@ -8437,11 +8457,11 @@ const Y1 = (i, e) => () => {
8437
8457
  }
8438
8458
  }, O1 = (i, e, t) => {
8439
8459
  i.loadNamespaces(e, Y1(i, t));
8440
- }, S1 = (i, e, t, s) => {
8441
- K(t) && (t = [t]), t.forEach((o) => {
8460
+ }, A1 = (i, e, t, s) => {
8461
+ G(t) && (t = [t]), t.forEach((o) => {
8442
8462
  i.options.ns.indexOf(o) < 0 && i.options.ns.push(o);
8443
8463
  }), i.loadLanguages(e, Y1(i, s));
8444
- }, Fi = function(i, e) {
8464
+ }, Yi = function(i, e) {
8445
8465
  let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
8446
8466
  const s = e.languages[0], o = e.options ? e.options.fallbackLng : !1, a = e.languages[e.languages.length - 1];
8447
8467
  if (s.toLowerCase() === "cimode") return !0;
@@ -8450,15 +8470,15 @@ const Y1 = (i, e) => () => {
8450
8470
  return g === -1 || g === 2;
8451
8471
  };
8452
8472
  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) && (!o || c(a, i)));
8453
- }, Yi = function(i, e) {
8473
+ }, Ui = function(i, e) {
8454
8474
  let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
8455
- return !e.languages || !e.languages.length ? (f1("i18n.languages were undefined or empty", e.languages), !0) : e.options.ignoreJSONStructure !== void 0 ? e.hasLoadedNamespace(i, {
8475
+ return !e.languages || !e.languages.length ? (w1("i18n.languages were undefined or empty", e.languages), !0) : e.options.ignoreJSONStructure !== void 0 ? e.hasLoadedNamespace(i, {
8456
8476
  lng: t.lng,
8457
8477
  precheck: (o, a) => {
8458
8478
  if (t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && o.services.backendConnector.backend && o.isLanguageChangingTo && !a(o.isLanguageChangingTo, i)) return !1;
8459
8479
  }
8460
- }) : Fi(i, e, t);
8461
- }, K = (i) => typeof i == "string", $i = (i) => typeof i == "object" && i !== null, Ui = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, zi = {
8480
+ }) : Yi(i, e, t);
8481
+ }, G = (i) => typeof i == "string", zi = (i) => typeof i == "object" && i !== null, Ji = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, Qi = {
8462
8482
  "&amp;": "&",
8463
8483
  "&#38;": "&",
8464
8484
  "&lt;": "<",
@@ -8479,8 +8499,8 @@ const Y1 = (i, e) => () => {
8479
8499
  "&#8230;": "…",
8480
8500
  "&#x2F;": "/",
8481
8501
  "&#47;": "/"
8482
- }, Ji = (i) => zi[i], Qi = (i) => i.replace(Ui, Ji);
8483
- let w1 = {
8502
+ }, qi = (i) => Qi[i], Xi = (i) => i.replace(Ji, qi);
8503
+ let m1 = {
8484
8504
  bindI18n: "languageChanged",
8485
8505
  bindI18nStore: "",
8486
8506
  transEmptyNodeValue: "",
@@ -8488,27 +8508,27 @@ let w1 = {
8488
8508
  transWrapTextNodes: "",
8489
8509
  transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"],
8490
8510
  useSuspense: !0,
8491
- unescape: Qi
8511
+ unescape: Xi
8492
8512
  };
8493
- const qi = function() {
8513
+ const e5 = function() {
8494
8514
  let i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
8495
- w1 = {
8496
- ...w1,
8515
+ m1 = {
8516
+ ...m1,
8497
8517
  ...i
8498
8518
  };
8499
- }, Xi = () => w1;
8500
- let $1;
8501
- const e5 = (i) => {
8502
- $1 = i;
8503
- }, t5 = () => $1, i5 = {
8519
+ }, t5 = () => m1;
8520
+ let U1;
8521
+ const i5 = (i) => {
8522
+ U1 = i;
8523
+ }, s5 = () => U1, o5 = {
8504
8524
  type: "3rdParty",
8505
8525
  init(i) {
8506
- qi(i.options.react), e5(i);
8526
+ e5(i.options.react), i5(i);
8507
8527
  }
8508
- }, s5 = Q();
8509
- class o5 {
8528
+ }, n5 = t1();
8529
+ class r5 {
8510
8530
  constructor() {
8511
- L1(this, "getUsedNamespaces", () => Object.keys(this.usedNamespaces));
8531
+ v1(this, "getUsedNamespaces", () => Object.keys(this.usedNamespaces));
8512
8532
  this.usedNamespaces = {};
8513
8533
  }
8514
8534
  addUsedNamespaces(e) {
@@ -8517,27 +8537,27 @@ class o5 {
8517
8537
  });
8518
8538
  }
8519
8539
  }
8520
- const n5 = (i, e) => {
8521
- const t = m1();
8540
+ const l5 = (i, e) => {
8541
+ const t = k1();
8522
8542
  return O(() => {
8523
8543
  t.current = i;
8524
8544
  }, [i, e]), t.current;
8525
- }, U1 = (i, e, t, s) => i.getFixedT(e, t, s), r5 = (i, e, t, s) => W1(U1(i, e, t, s), [i, e, t, s]), l5 = function(i) {
8545
+ }, z1 = (i, e, t, s) => i.getFixedT(e, t, s), a5 = (i, e, t, s) => j1(z1(i, e, t, s), [i, e, t, s]), h5 = function(i) {
8526
8546
  let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
8527
8547
  const {
8528
8548
  i18n: t
8529
8549
  } = e, {
8530
8550
  i18n: s,
8531
8551
  defaultNS: o
8532
- } = q(s5) || {}, a = t || s || t5();
8533
- if (a && !a.reportNamespaces && (a.reportNamespaces = new o5()), !a) {
8534
- f1("You will need to pass in an i18next instance by using initReactI18next");
8535
- const L = (b, v) => K(v) ? v : $i(v) && K(v.defaultValue) ? v.defaultValue : Array.isArray(b) ? b[b.length - 1] : b, y = [L, {}, !1];
8552
+ } = i1(n5) || {}, a = t || s || s5();
8553
+ if (a && !a.reportNamespaces && (a.reportNamespaces = new r5()), !a) {
8554
+ w1("You will need to pass in an i18next instance by using initReactI18next");
8555
+ const L = (b, M) => G(M) ? M : zi(M) && G(M.defaultValue) ? M.defaultValue : Array.isArray(b) ? b[b.length - 1] : b, y = [L, {}, !1];
8536
8556
  return y.t = L, y.i18n = {}, y.ready = !1, y;
8537
8557
  }
8538
- a.options.react && a.options.react.wait !== void 0 && f1("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
8558
+ a.options.react && a.options.react.wait !== void 0 && w1("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
8539
8559
  const c = {
8540
- ...Xi(),
8560
+ ...t5(),
8541
8561
  ...a.options.react,
8542
8562
  ...e
8543
8563
  }, {
@@ -8545,77 +8565,77 @@ const n5 = (i, e) => {
8545
8565
  keyPrefix: d
8546
8566
  } = c;
8547
8567
  let g = i;
8548
- g = K(g) ? [g] : g || ["translation"], a.reportNamespaces.addUsedNamespaces && a.reportNamespaces.addUsedNamespaces(g);
8549
- const l = (a.isInitialized || a.initializedStoreOnce) && g.every((L) => Yi(L, a, c)), h = r5(a, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), C = () => h, p = () => U1(a, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), [w, x] = I(C);
8550
- let N = g.join();
8551
- e.lng && (N = `${e.lng}${N}`);
8552
- const M = n5(N), R = m1(!0);
8568
+ g = G(g) ? [g] : g || ["translation"], a.reportNamespaces.addUsedNamespaces && a.reportNamespaces.addUsedNamespaces(g);
8569
+ const l = (a.isInitialized || a.initializedStoreOnce) && g.every((L) => Ui(L, a, c)), h = a5(a, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), C = () => h, p = () => z1(a, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), [f, N] = S(C);
8570
+ let v = g.join();
8571
+ e.lng && (v = `${e.lng}${v}`);
8572
+ const R = l5(v), x = k1(!0);
8553
8573
  O(() => {
8554
8574
  const {
8555
8575
  bindI18n: L,
8556
8576
  bindI18nStore: y
8557
8577
  } = c;
8558
- R.current = !0, !l && !r && (e.lng ? S1(a, e.lng, g, () => {
8559
- R.current && x(p);
8578
+ x.current = !0, !l && !r && (e.lng ? A1(a, e.lng, g, () => {
8579
+ x.current && N(p);
8560
8580
  }) : O1(a, g, () => {
8561
- R.current && x(p);
8562
- })), l && M && M !== N && R.current && x(p);
8581
+ x.current && N(p);
8582
+ })), l && R && R !== v && x.current && N(p);
8563
8583
  const b = () => {
8564
- R.current && x(p);
8584
+ x.current && N(p);
8565
8585
  };
8566
8586
  return L && a && a.on(L, b), y && a && a.store.on(y, b), () => {
8567
- R.current = !1, L && a && L.split(" ").forEach((v) => a.off(v, b)), y && a && y.split(" ").forEach((v) => a.store.off(v, b));
8587
+ x.current = !1, L && a && L.split(" ").forEach((M) => a.off(M, b)), y && a && y.split(" ").forEach((M) => a.store.off(M, b));
8568
8588
  };
8569
- }, [a, N]), O(() => {
8570
- R.current && l && x(C);
8589
+ }, [a, v]), O(() => {
8590
+ x.current && l && N(C);
8571
8591
  }, [a, d, l]);
8572
- const _ = [w, a, l];
8573
- if (_.t = w, _.i18n = a, _.ready = l, l || !l && !r) return _;
8592
+ const _ = [f, a, l];
8593
+ if (_.t = f, _.i18n = a, _.ready = l, l || !l && !r) return _;
8574
8594
  throw new Promise((L) => {
8575
- e.lng ? S1(a, e.lng, g, () => L()) : O1(a, g, () => L());
8595
+ e.lng ? A1(a, e.lng, g, () => L()) : O1(a, g, () => L());
8576
8596
  });
8577
- }, a5 = "Country", h5 = {
8578
- placeholder: a5
8579
- }, c5 = "Страна", d5 = {
8597
+ }, c5 = "Country", d5 = {
8580
8598
  placeholder: c5
8599
+ }, g5 = "Страна", u5 = {
8600
+ placeholder: g5
8581
8601
  };
8582
- H.use(i5).init({
8602
+ H.use(o5).init({
8583
8603
  defaultNS: "common",
8584
8604
  lng: "en",
8585
8605
  resources: {
8586
8606
  en: {
8587
- common: h5
8607
+ common: d5
8588
8608
  },
8589
8609
  ru: {
8590
- common: d5
8610
+ common: u5
8591
8611
  }
8592
8612
  }
8593
8613
  });
8594
- const k5 = h1(
8614
+ const v5 = c1(
8595
8615
  ({ width: i, selectedCity: e, setSelectedCity: t, onChange: s, value: o, id: a, disabled: c }, r) => {
8596
- const [d, g] = I([]), [l, h] = I([]), { locale: C, axiosPeople: p } = q(Q1);
8616
+ const [d, g] = S([]), [l, h] = S([]), { locale: C, axiosPeople: p } = i1(q1);
8597
8617
  if (!p)
8598
8618
  throw new Error(
8599
8619
  `CountrySelect requires "axiosPeople" to fetch counties.
8600
8620
  Please provide it via SNMTUiContext.`
8601
8621
  );
8602
- const { t: w } = l5("common", { lng: C }), x = W1(async () => {
8622
+ const { t: f } = h5("common", { lng: C }), N = j1(async () => {
8603
8623
  try {
8604
- const M = await p.post("v1/countries/search");
8605
- h(M == null ? void 0 : M.data.data);
8624
+ const R = await p.post("v1/countries/search");
8625
+ h(R == null ? void 0 : R.data.data);
8606
8626
  } catch {
8607
8627
  g([]);
8608
8628
  }
8609
8629
  }, [p]);
8610
8630
  O(() => {
8611
- x();
8631
+ N();
8612
8632
  }, []), O(() => {
8613
8633
  if (e) {
8614
- const M = e.split("-")[1], R = l.filter(
8615
- (_) => _.name.includes(M)
8634
+ const R = e.split("-")[1], x = l.filter(
8635
+ (_) => _.name.includes(R)
8616
8636
  );
8617
- if (R.length) {
8618
- const _ = R.map((L) => ({
8637
+ if (x.length) {
8638
+ const _ = x.map((L) => ({
8619
8639
  label: L.name,
8620
8640
  value: L.name
8621
8641
  }));
@@ -8623,24 +8643,24 @@ const k5 = h1(
8623
8643
  }
8624
8644
  }
8625
8645
  }, [e, l, s]), O(() => {
8626
- const M = l.map((R) => ({
8627
- label: R.name,
8628
- value: R.name
8646
+ const R = l.map((x) => ({
8647
+ label: x.name,
8648
+ value: x.name
8629
8649
  }));
8630
- g(M);
8650
+ g(R);
8631
8651
  }, [l]);
8632
- const N = (M) => {
8633
- M === "None" ? (s(""), t && t("")) : (s(M), t && t(""));
8652
+ const v = (R) => {
8653
+ R === "None" ? (s(""), t && t("")) : (s(R), t && t(""));
8634
8654
  };
8635
8655
  return /* @__PURE__ */ n("div", { className: "snmt-country-select", children: /* @__PURE__ */ n(
8636
- Li,
8656
+ Ni,
8637
8657
  {
8638
8658
  id: a,
8639
8659
  width: i,
8640
- placeholder: w("placeholder"),
8660
+ placeholder: f("placeholder"),
8641
8661
  value: o,
8642
8662
  ref: r,
8643
- onChange: N,
8663
+ onChange: v,
8644
8664
  options: [{ label: "None", value: "None" }, ...d],
8645
8665
  disabled: c
8646
8666
  }
@@ -8648,5 +8668,5 @@ const k5 = h1(
8648
8668
  }
8649
8669
  );
8650
8670
  export {
8651
- k5 as CountrySelect
8671
+ v5 as CountrySelect
8652
8672
  };