@snmt-react-ui/user-select 2.4.0 → 2.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,12 +1,12 @@
1
- var ie = Object.defineProperty;
2
- var se = (i, e, t) => e in i ? ie(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t;
3
- var R1 = (i, e, t) => se(i, typeof e != "symbol" ? e + "" : e, t);
1
+ var oe = Object.defineProperty;
2
+ var le = (i, e, t) => e in i ? oe(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t;
3
+ var M1 = (i, e, t) => le(i, typeof e != "symbol" ? e + "" : e, t);
4
4
  import "./index.css";
5
- import { jsx as r, jsxs as u, Fragment as q } from "react/jsx-runtime";
6
- import { createContext as n1, forwardRef as r1, useState as I, useRef as p1, useEffect as D, useCallback as $, useContext as o1 } from "react";
7
- import { Select as ne, Flex as re, Avatar as oe, Checkbox as le, Typography as T1, Tag as G1, Popover as ae } from "antd";
8
- import { SNMTUiContext as he } from "@snmt-react-ui/core";
9
- const h1 = ({
5
+ import { jsx as r, Fragment as X, jsxs as u } from "react/jsx-runtime";
6
+ import { createContext as n1, forwardRef as r1, useState as S, useRef as f1, useEffect as T, useCallback as j, useImperativeHandle as ae, useContext as o1 } from "react";
7
+ import { Select as he, Flex as ce, Avatar as de, Checkbox as ge, Typography as K1, Tag as P1, Popover as ue } from "antd";
8
+ import { SNMTUiContext as Ce } from "@snmt-react-ui/core";
9
+ const c1 = ({
10
10
  children: i,
11
11
  direction: e = "row",
12
12
  flexWrap: t = "nowrap",
@@ -16,7 +16,7 @@ const h1 = ({
16
16
  gap: c,
17
17
  padding: o
18
18
  }) => /* @__PURE__ */ r(
19
- re,
19
+ ce,
20
20
  {
21
21
  className: `snmt-flex${t === "inherit" ? " inherit" : ""}`,
22
22
  vertical: e === "column",
@@ -28,10 +28,10 @@ const h1 = ({
28
28
  style: { padding: o },
29
29
  children: i
30
30
  }
31
- ), ce = ({ shape: i = "circle", size: e = 32, children: t, ...s }) => {
31
+ ), pe = ({ shape: i = "circle", size: e = 32, children: t, ...s }) => {
32
32
  const n = typeof s.src == "string";
33
33
  return /* @__PURE__ */ r(
34
- oe,
34
+ de,
35
35
  {
36
36
  className: `snmt-avatar ${n ? "image" : ""}`,
37
37
  shape: i,
@@ -42,13 +42,13 @@ const h1 = ({
42
42
  }
43
43
  );
44
44
  };
45
- var Q = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_1 = "var(--grey-light-1)", i.GREY_LIGHT_2 = "var(--grey-light-2)", i.GREY_LIGHT_3 = "var(--grey-light-3)", i.GREY_LIGHT_4 = "var(--grey-light-4)", i.GREY_DARK_1 = "var(--grey-dark-1)", i.GREY_DARK_2 = "var(--grey-dark-2)", i.GREY_DARK_3 = "var(--grey-dark-3)", i.GREY_DARK_4 = "var(--grey-dark-4)", i.GREY_DARK_5 = "var(--grey-dark-5)", i.BLUE_PRIMARY = "var(--blue-primary)", i.BLUE_HOVER = "var(--blue-hover)", i.BLUE_LIGHT_1 = "var(--blue-light-1)", i.BLUE_LIGHT_2 = "var(--blue-light-2)", i.BLUE_LIGHT_3 = "var(--blue-light-3)", i.BLUE_LIGHT_4 = "var(--blue-light-4)", i.BLUE_DARK_1 = "var(--blue-dark-1)", i.PURPLE_LIGHT = "var(--purple-light)", i.PURPLE_DARK = "var(--purple-dark)", i.NOTIFICATION_WARNING_LIGHT = "var(--notification-warning-light)", i.NOTIFICATION_WARNING_DARK = "var(--notification-warning-dark)", i.NOTIFICATION_SUCCESS_LIGHT = "var(--notification-success-light)", i.NOTIFICATION_SUCCESS_DARK = "var(--notification-success-dark)", i.NOTIFICATION_ERROR_LIGHT = "var(--notification-error-light)", i.NOTIFICATION_ERROR_DARK = "var(--notification-error-dark)", i.NOTIFICATION_ERROR_DARK_MODE = "var(--notification-error-dark-mode)", i))(Q || {});
46
- const K1 = n1({
45
+ var q = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_1 = "var(--grey-light-1)", i.GREY_LIGHT_2 = "var(--grey-light-2)", i.GREY_LIGHT_3 = "var(--grey-light-3)", i.GREY_LIGHT_4 = "var(--grey-light-4)", i.GREY_DARK_1 = "var(--grey-dark-1)", i.GREY_DARK_2 = "var(--grey-dark-2)", i.GREY_DARK_3 = "var(--grey-dark-3)", i.GREY_DARK_4 = "var(--grey-dark-4)", i.GREY_DARK_5 = "var(--grey-dark-5)", i.BLUE_PRIMARY = "var(--blue-primary)", i.BLUE_HOVER = "var(--blue-hover)", i.BLUE_LIGHT_1 = "var(--blue-light-1)", i.BLUE_LIGHT_2 = "var(--blue-light-2)", i.BLUE_LIGHT_3 = "var(--blue-light-3)", i.BLUE_LIGHT_4 = "var(--blue-light-4)", i.BLUE_DARK_1 = "var(--blue-dark-1)", i.PURPLE_LIGHT = "var(--purple-light)", i.PURPLE_DARK = "var(--purple-dark)", i.NOTIFICATION_WARNING_LIGHT = "var(--notification-warning-light)", i.NOTIFICATION_WARNING_DARK = "var(--notification-warning-dark)", i.NOTIFICATION_SUCCESS_LIGHT = "var(--notification-success-light)", i.NOTIFICATION_SUCCESS_DARK = "var(--notification-success-dark)", i.NOTIFICATION_ERROR_LIGHT = "var(--notification-error-light)", i.NOTIFICATION_ERROR_DARK = "var(--notification-error-dark)", i.NOTIFICATION_ERROR_DARK_MODE = "var(--notification-error-dark-mode)", i))(q || {});
46
+ const $1 = n1({
47
47
  locale: "en",
48
48
  theme: "light"
49
49
  });
50
- K1.Provider;
51
- const de = ({
50
+ $1.Provider;
51
+ const fe = ({
52
52
  checked: i = !0,
53
53
  indeterminate: e = !1,
54
54
  children: t,
@@ -56,13 +56,13 @@ const de = ({
56
56
  disabled: n = !1,
57
57
  disableUncheck: l = !1
58
58
  }) => {
59
- const [c, o] = I(i), [d, g] = I(e);
60
- D(() => {
59
+ const [c, o] = S(i), [d, g] = S(e);
60
+ T(() => {
61
61
  o(i), g(e);
62
62
  }, [i, e]);
63
- const { theme: a } = o1(K1);
63
+ const { theme: a } = o1($1);
64
64
  return /* @__PURE__ */ r(
65
- le,
65
+ ge,
66
66
  {
67
67
  className: `snmt-checkbox snmt-checkbox-${a}`,
68
68
  checked: c,
@@ -76,12 +76,12 @@ const de = ({
76
76
  );
77
77
  };
78
78
  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 || {});
79
- const P1 = n1({
79
+ const F1 = n1({
80
80
  locale: "en",
81
81
  theme: "light"
82
82
  });
83
- P1.Provider;
84
- const ge = ({
83
+ F1.Provider;
84
+ const we = ({
85
85
  width: i = 20,
86
86
  height: e = 20,
87
87
  color: t = "#001E52",
@@ -108,7 +108,7 @@ const ge = ({
108
108
  }
109
109
  )
110
110
  }
111
- ), ue = ({
111
+ ), me = ({
112
112
  width: i = 20,
113
113
  height: e = 20,
114
114
  color: t = "#001E52",
@@ -135,7 +135,7 @@ const ge = ({
135
135
  }
136
136
  )
137
137
  }
138
- ), Ce = ({
138
+ ), ke = ({
139
139
  width: i = 16,
140
140
  height: e = 16,
141
141
  color: t = "#001E52",
@@ -163,7 +163,7 @@ const ge = ({
163
163
  )
164
164
  ]
165
165
  }
166
- ), pe = ({
166
+ ), Le = ({
167
167
  width: i = 20,
168
168
  height: e = 20,
169
169
  color: t = "#001E52",
@@ -198,7 +198,7 @@ const ge = ({
198
198
  )
199
199
  ]
200
200
  }
201
- ), fe = ({
201
+ ), ve = ({
202
202
  width: i = 18,
203
203
  height: e = 18,
204
204
  color: t = "#001E52",
@@ -237,7 +237,7 @@ const ge = ({
237
237
  )
238
238
  ]
239
239
  }
240
- ), we = ({
240
+ ), Ne = ({
241
241
  width: i = 20,
242
242
  height: e = 20,
243
243
  color: t = "#001E52",
@@ -263,7 +263,7 @@ const ge = ({
263
263
  }
264
264
  )
265
265
  }
266
- ), me = ({
266
+ ), xe = ({
267
267
  width: i = 20,
268
268
  height: e = 20,
269
269
  color: t = "#001E52",
@@ -284,7 +284,7 @@ const ge = ({
284
284
  /* @__PURE__ */ r("path", { d: "M16 4L4 16", stroke: t, strokeWidth: "1.5", strokeLinecap: "round" })
285
285
  ]
286
286
  }
287
- ), ke = ({
287
+ ), Re = ({
288
288
  width: i = 20,
289
289
  height: e = 20,
290
290
  color: t = "#001E52",
@@ -316,7 +316,7 @@ const ge = ({
316
316
  )
317
317
  ]
318
318
  }
319
- ), Le = ({
319
+ ), Me = ({
320
320
  width: i = 20,
321
321
  height: e = 20,
322
322
  color: t = "#001E52",
@@ -370,7 +370,7 @@ const ge = ({
370
370
  )
371
371
  ]
372
372
  }
373
- ), ve = ({
373
+ ), ye = ({
374
374
  width: i = 20,
375
375
  height: e = 20,
376
376
  color: t = "#001E52",
@@ -409,7 +409,7 @@ const ge = ({
409
409
  /* @__PURE__ */ r("path", { d: "M3 12L17 12", stroke: t, strokeWidth: "2", strokeLinecap: "round" })
410
410
  ]
411
411
  }
412
- ), Ne = ({
412
+ ), be = ({
413
413
  width: i = 16,
414
414
  height: e = 12,
415
415
  color: t = "#001E52",
@@ -458,7 +458,7 @@ const ge = ({
458
458
  )
459
459
  ] })
460
460
  }
461
- ), xe = ({
461
+ ), Ee = ({
462
462
  width: i = 16,
463
463
  height: e = 16,
464
464
  color: t = "#001E52",
@@ -492,7 +492,7 @@ const ge = ({
492
492
  )
493
493
  ]
494
494
  }
495
- ), Re = ({
495
+ ), Ve = ({
496
496
  width: i = 10,
497
497
  height: e = 10,
498
498
  color: t = "#001E52",
@@ -531,7 +531,7 @@ const ge = ({
531
531
  )
532
532
  ] })
533
533
  }
534
- ), Me = ({
534
+ ), He = ({
535
535
  width: i = 16,
536
536
  height: e = 16,
537
537
  color: t = "#001E52",
@@ -567,7 +567,7 @@ const ge = ({
567
567
  )
568
568
  ]
569
569
  }
570
- ), ye = ({
570
+ ), _e = ({
571
571
  width: i = 11,
572
572
  height: e = 32,
573
573
  color: t = "#001E52",
@@ -605,7 +605,7 @@ const ge = ({
605
605
  /* @__PURE__ */ r("circle", { cx: "3", cy: "3", r: "3", fill: t })
606
606
  ]
607
607
  }
608
- ), be = ({
608
+ ), Ie = ({
609
609
  width: i = 20,
610
610
  height: e = 20,
611
611
  color: t = "#001E52",
@@ -652,7 +652,7 @@ const ge = ({
652
652
  )
653
653
  ]
654
654
  }
655
- ), Ee = ({
655
+ ), Oe = ({
656
656
  width: i = 20,
657
657
  height: e = 20,
658
658
  color: t = "#001E52",
@@ -685,7 +685,7 @@ const ge = ({
685
685
  )
686
686
  ]
687
687
  }
688
- ), Ve = ({
688
+ ), Se = ({
689
689
  width: i = 20,
690
690
  height: e = 20,
691
691
  color: t = "#001E52",
@@ -732,7 +732,7 @@ const ge = ({
732
732
  )
733
733
  ]
734
734
  }
735
- ), _e = ({
735
+ ), Ae = ({
736
736
  width: i = 20,
737
737
  height: e = 20,
738
738
  color: t = "#001E52",
@@ -765,7 +765,7 @@ const ge = ({
765
765
  )
766
766
  ]
767
767
  }
768
- ), He = ({
768
+ ), Be = ({
769
769
  width: i = 18,
770
770
  height: e = 16,
771
771
  color: t = "#001E52",
@@ -804,7 +804,7 @@ const ge = ({
804
804
  )
805
805
  ]
806
806
  }
807
- ), Ie = ({
807
+ ), We = ({
808
808
  width: i = 20,
809
809
  height: e = 20,
810
810
  color: t = "#001E52",
@@ -837,7 +837,7 @@ const ge = ({
837
837
  )
838
838
  ]
839
839
  }
840
- ), Se = ({
840
+ ), je = ({
841
841
  width: i = 20,
842
842
  height: e = 20,
843
843
  color: t = "#001E52",
@@ -861,7 +861,7 @@ const ge = ({
861
861
  }
862
862
  )
863
863
  }
864
- ), Oe = ({
864
+ ), Ze = ({
865
865
  width: i = 20,
866
866
  height: e = 20,
867
867
  color: t = "#001E52",
@@ -908,7 +908,7 @@ const ge = ({
908
908
  )
909
909
  ]
910
910
  }
911
- ), Ae = ({
911
+ ), De = ({
912
912
  width: i = 20,
913
913
  height: e = 20,
914
914
  color: t = "#001E52",
@@ -941,7 +941,7 @@ const ge = ({
941
941
  )
942
942
  ]
943
943
  }
944
- ), Be = ({
944
+ ), Te = ({
945
945
  width: i = 20,
946
946
  height: e = 20,
947
947
  color: t = "#001E52",
@@ -974,7 +974,7 @@ const ge = ({
974
974
  )
975
975
  ]
976
976
  }
977
- ), We = ({
977
+ ), Ge = ({
978
978
  width: i = 20,
979
979
  height: e = 23,
980
980
  color: t = "#001E52",
@@ -1035,7 +1035,7 @@ const ge = ({
1035
1035
  )
1036
1036
  ]
1037
1037
  }
1038
- ), je = ({
1038
+ ), Ke = ({
1039
1039
  width: i = 20,
1040
1040
  height: e = 20,
1041
1041
  color: t = "#001E52",
@@ -1075,7 +1075,7 @@ const ge = ({
1075
1075
  )
1076
1076
  ]
1077
1077
  }
1078
- ), Ze = ({
1078
+ ), Pe = ({
1079
1079
  width: i = 32,
1080
1080
  height: e = 25,
1081
1081
  color: t = "#001E52",
@@ -1103,7 +1103,7 @@ const ge = ({
1103
1103
  )
1104
1104
  ]
1105
1105
  }
1106
- ), De = ({
1106
+ ), $e = ({
1107
1107
  width: i = 14,
1108
1108
  height: e = 14,
1109
1109
  color: t = "#10B981",
@@ -1132,7 +1132,7 @@ const ge = ({
1132
1132
  )
1133
1133
  ]
1134
1134
  }
1135
- ), Te = ({
1135
+ ), Fe = ({
1136
1136
  width: i = 11,
1137
1137
  height: e = 11,
1138
1138
  color: t = "#FFB020",
@@ -1166,7 +1166,7 @@ const ge = ({
1166
1166
  )
1167
1167
  ]
1168
1168
  }
1169
- ), Ge = ({
1169
+ ), Ye = ({
1170
1170
  width: i = 10,
1171
1171
  height: e = 10,
1172
1172
  color: t = "#88A4FF",
@@ -1214,7 +1214,7 @@ const ge = ({
1214
1214
  )
1215
1215
  ]
1216
1216
  }
1217
- ), Ke = ({
1217
+ ), Ue = ({
1218
1218
  width: i = 14,
1219
1219
  height: e = 14,
1220
1220
  color: t = "#8E8E93",
@@ -1242,7 +1242,7 @@ const ge = ({
1242
1242
  )
1243
1243
  ]
1244
1244
  }
1245
- ), Pe = ({
1245
+ ), ze = ({
1246
1246
  width: i = 14,
1247
1247
  height: e = 14,
1248
1248
  color: t = "#FFB020",
@@ -1276,7 +1276,7 @@ const ge = ({
1276
1276
  )
1277
1277
  ]
1278
1278
  }
1279
- ), $e = ({
1279
+ ), Je = ({
1280
1280
  width: i = 14,
1281
1281
  height: e = 14,
1282
1282
  color: t = "#D0421B",
@@ -1324,7 +1324,7 @@ const ge = ({
1324
1324
  )
1325
1325
  ]
1326
1326
  }
1327
- ), Fe = ({
1327
+ ), Qe = ({
1328
1328
  width: i = 20,
1329
1329
  height: e = 20,
1330
1330
  color: t = "#070739",
@@ -1354,7 +1354,7 @@ const ge = ({
1354
1354
  /* @__PURE__ */ r("circle", { cx: "10", cy: "10", r: "2.375", stroke: t, strokeWidth: "1.25" })
1355
1355
  ]
1356
1356
  }
1357
- ), Ye = ({
1357
+ ), qe = ({
1358
1358
  width: i = 20,
1359
1359
  height: e = 20,
1360
1360
  color: t = "#070739",
@@ -1392,7 +1392,7 @@ const ge = ({
1392
1392
  )
1393
1393
  ]
1394
1394
  }
1395
- ), Ue = ({
1395
+ ), Xe = ({
1396
1396
  width: i = 9,
1397
1397
  height: e = 5,
1398
1398
  color: t = "#001E52",
@@ -1418,7 +1418,7 @@ const ge = ({
1418
1418
  }
1419
1419
  )
1420
1420
  }
1421
- ), ze = ({
1421
+ ), et = ({
1422
1422
  width: i = 20,
1423
1423
  height: e = 20,
1424
1424
  color: t = "#F2F2F7",
@@ -1447,7 +1447,7 @@ const ge = ({
1447
1447
  )
1448
1448
  ]
1449
1449
  }
1450
- ), Je = ({
1450
+ ), tt = ({
1451
1451
  width: i = 20,
1452
1452
  height: e = 20,
1453
1453
  color: t = "#004ED7",
@@ -1476,7 +1476,7 @@ const ge = ({
1476
1476
  )
1477
1477
  ]
1478
1478
  }
1479
- ), Qe = ({
1479
+ ), it = ({
1480
1480
  width: i = 248,
1481
1481
  height: e = 248,
1482
1482
  color: t = "#070739",
@@ -1513,7 +1513,7 @@ const ge = ({
1513
1513
  )
1514
1514
  ]
1515
1515
  }
1516
- ), qe = ({
1516
+ ), st = ({
1517
1517
  width: i = 24,
1518
1518
  height: e = 24,
1519
1519
  color: t = "#001E52",
@@ -1552,7 +1552,7 @@ const ge = ({
1552
1552
  )
1553
1553
  ]
1554
1554
  }
1555
- ), Xe = ({
1555
+ ), nt = ({
1556
1556
  width: i = 10,
1557
1557
  height: e = 10,
1558
1558
  color: t = "#001E52",
@@ -1581,7 +1581,7 @@ const ge = ({
1581
1581
  )
1582
1582
  ]
1583
1583
  }
1584
- ), et = ({
1584
+ ), rt = ({
1585
1585
  width: i = 10,
1586
1586
  height: e = 10,
1587
1587
  color: t = "#001E52",
@@ -1618,7 +1618,7 @@ const ge = ({
1618
1618
  )
1619
1619
  ]
1620
1620
  }
1621
- ), tt = ({
1621
+ ), ot = ({
1622
1622
  width: i = 24,
1623
1623
  height: e = 24,
1624
1624
  color: t = k.GREY_DARK_5,
@@ -1657,7 +1657,7 @@ const ge = ({
1657
1657
  )
1658
1658
  ]
1659
1659
  }
1660
- ), it = ({
1660
+ ), lt = ({
1661
1661
  width: i = 20,
1662
1662
  height: e = 20,
1663
1663
  color: t = k.GREY_DARK_1,
@@ -1690,7 +1690,7 @@ const ge = ({
1690
1690
  )
1691
1691
  ]
1692
1692
  }
1693
- ), st = ({
1693
+ ), at = ({
1694
1694
  width: i = 81,
1695
1695
  height: e = 80,
1696
1696
  color: t = k.GREY_DARK_5,
@@ -1739,7 +1739,7 @@ const ge = ({
1739
1739
  )
1740
1740
  ]
1741
1741
  }
1742
- ), nt = ({
1742
+ ), ht = ({
1743
1743
  className: i,
1744
1744
  color: e = k.GREY_DARK_5,
1745
1745
  height: t = 20,
@@ -1766,7 +1766,7 @@ const ge = ({
1766
1766
  }
1767
1767
  )
1768
1768
  }
1769
- ), rt = ({
1769
+ ), ct = ({
1770
1770
  className: i,
1771
1771
  color: e = k.GREY_DARK_5,
1772
1772
  height: t = 20,
@@ -1793,7 +1793,7 @@ const ge = ({
1793
1793
  }
1794
1794
  )
1795
1795
  }
1796
- ), ot = ({
1796
+ ), dt = ({
1797
1797
  className: i,
1798
1798
  color: e = k.GREY_DARK_5,
1799
1799
  height: t = 5,
@@ -1817,7 +1817,7 @@ const ge = ({
1817
1817
  }
1818
1818
  )
1819
1819
  }
1820
- ), lt = ({
1820
+ ), gt = ({
1821
1821
  className: i,
1822
1822
  color: e = k.GREY_DARK_5,
1823
1823
  height: t = 5,
@@ -1842,7 +1842,7 @@ const ge = ({
1842
1842
  }
1843
1843
  )
1844
1844
  }
1845
- ), at = ({
1845
+ ), ut = ({
1846
1846
  className: i,
1847
1847
  color: e = k.GREY_DARK_5,
1848
1848
  height: t = 24,
@@ -1881,7 +1881,7 @@ const ge = ({
1881
1881
  )
1882
1882
  ]
1883
1883
  }
1884
- ), ht = ({
1884
+ ), Ct = ({
1885
1885
  className: i,
1886
1886
  color: e = k.GREY_DARK_5,
1887
1887
  height: t = 24,
@@ -1920,7 +1920,7 @@ const ge = ({
1920
1920
  )
1921
1921
  ]
1922
1922
  }
1923
- ), ct = ({
1923
+ ), pt = ({
1924
1924
  className: i,
1925
1925
  color: e = k.GREY_DARK_5,
1926
1926
  height: t = 24,
@@ -1947,7 +1947,7 @@ const ge = ({
1947
1947
  }
1948
1948
  )
1949
1949
  }
1950
- ), dt = ({
1950
+ ), ft = ({
1951
1951
  className: i,
1952
1952
  color: e = k.GREY_DARK_5,
1953
1953
  height: t = 24,
@@ -2006,7 +2006,7 @@ const ge = ({
2006
2006
  )
2007
2007
  ]
2008
2008
  }
2009
- ), gt = ({
2009
+ ), wt = ({
2010
2010
  className: i,
2011
2011
  color: e = k.GREY_DARK_5,
2012
2012
  height: t = 24,
@@ -2043,7 +2043,7 @@ const ge = ({
2043
2043
  )
2044
2044
  ]
2045
2045
  }
2046
- ), ut = ({
2046
+ ), mt = ({
2047
2047
  className: i,
2048
2048
  color: e = k.GREY_DARK_3,
2049
2049
  height: t = 14,
@@ -2080,7 +2080,7 @@ const ge = ({
2080
2080
  )
2081
2081
  ]
2082
2082
  }
2083
- ), Ct = ({
2083
+ ), kt = ({
2084
2084
  className: i,
2085
2085
  color: e = k.GREY_DARK_5,
2086
2086
  height: t = 18,
@@ -2107,7 +2107,7 @@ const ge = ({
2107
2107
  }
2108
2108
  )
2109
2109
  }
2110
- ), pt = ({
2110
+ ), Lt = ({
2111
2111
  className: i,
2112
2112
  color: e = k.GREY_DARK_5,
2113
2113
  height: t = 24,
@@ -2159,7 +2159,7 @@ const ge = ({
2159
2159
  )
2160
2160
  ]
2161
2161
  }
2162
- ), ft = ({
2162
+ ), vt = ({
2163
2163
  className: i,
2164
2164
  color: e = k.GREY_DARK_5,
2165
2165
  height: t = 24,
@@ -2196,7 +2196,7 @@ const ge = ({
2196
2196
  )
2197
2197
  ]
2198
2198
  }
2199
- ), wt = ({
2199
+ ), Nt = ({
2200
2200
  className: i,
2201
2201
  color: e = k.NOTIFICATION_WARNING_DARK,
2202
2202
  height: t = 37,
@@ -2235,7 +2235,7 @@ const ge = ({
2235
2235
  )
2236
2236
  ]
2237
2237
  }
2238
- ), mt = ({
2238
+ ), xt = ({
2239
2239
  className: i,
2240
2240
  color: e = k.GREY_DARK_5,
2241
2241
  height: t = 24,
@@ -2261,7 +2261,7 @@ const ge = ({
2261
2261
  }
2262
2262
  )
2263
2263
  }
2264
- ), kt = ({
2264
+ ), Rt = ({
2265
2265
  className: i,
2266
2266
  color: e = k.GREY_DARK_5,
2267
2267
  height: t = 24,
@@ -2300,7 +2300,7 @@ const ge = ({
2300
2300
  )
2301
2301
  ]
2302
2302
  }
2303
- ), Lt = ({
2303
+ ), Mt = ({
2304
2304
  className: i,
2305
2305
  color: e = k.GREY_DARK_5,
2306
2306
  height: t = 24,
@@ -2339,7 +2339,7 @@ const ge = ({
2339
2339
  )
2340
2340
  ]
2341
2341
  }
2342
- ), vt = ({
2342
+ ), yt = ({
2343
2343
  className: i,
2344
2344
  color: e = k.GREY_DARK_5,
2345
2345
  height: t = 24,
@@ -2408,7 +2408,7 @@ const ge = ({
2408
2408
  )
2409
2409
  ]
2410
2410
  }
2411
- ), Nt = ({
2411
+ ), bt = ({
2412
2412
  className: i,
2413
2413
  color: e = k.GREY_DARK_5,
2414
2414
  height: t = 24,
@@ -2447,7 +2447,7 @@ const ge = ({
2447
2447
  )
2448
2448
  ]
2449
2449
  }
2450
- ), xt = ({
2450
+ ), Et = ({
2451
2451
  className: i,
2452
2452
  color: e = k.GREY_DARK_5,
2453
2453
  height: t = 24,
@@ -2504,7 +2504,7 @@ const ge = ({
2504
2504
  )
2505
2505
  ]
2506
2506
  }
2507
- ), Rt = ({
2507
+ ), Vt = ({
2508
2508
  className: i,
2509
2509
  color: e = k.GREY_DARK_5,
2510
2510
  height: t = 24,
@@ -2543,7 +2543,7 @@ const ge = ({
2543
2543
  )
2544
2544
  ]
2545
2545
  }
2546
- ), Mt = ({
2546
+ ), Ht = ({
2547
2547
  className: i,
2548
2548
  color: e = k.GREY_DARK_5,
2549
2549
  height: t = 24,
@@ -2592,7 +2592,7 @@ const ge = ({
2592
2592
  )
2593
2593
  ]
2594
2594
  }
2595
- ), yt = ({
2595
+ ), _t = ({
2596
2596
  className: i,
2597
2597
  color: e = k.GREY_DARK_5,
2598
2598
  height: t = 24,
@@ -2631,7 +2631,7 @@ const ge = ({
2631
2631
  )
2632
2632
  ]
2633
2633
  }
2634
- ), bt = ({
2634
+ ), It = ({
2635
2635
  className: i,
2636
2636
  color: e = k.GREY_DARK_5,
2637
2637
  height: t = 24,
@@ -2658,7 +2658,7 @@ const ge = ({
2658
2658
  }
2659
2659
  )
2660
2660
  }
2661
- ), Et = ({
2661
+ ), Ot = ({
2662
2662
  className: i,
2663
2663
  color: e = k.GREY_DARK_5,
2664
2664
  height: t = 24,
@@ -2696,7 +2696,7 @@ const ge = ({
2696
2696
  )
2697
2697
  ]
2698
2698
  }
2699
- ), Vt = ({
2699
+ ), St = ({
2700
2700
  className: i,
2701
2701
  color: e = k.GREY_DARK_5,
2702
2702
  height: t = 24,
@@ -2717,7 +2717,7 @@ const ge = ({
2717
2717
  /* @__PURE__ */ r("path", { d: "M12 8L4 8", stroke: e, strokeWidth: "1.7", strokeLinecap: "round" })
2718
2718
  ]
2719
2719
  }
2720
- ), _t = ({
2720
+ ), At = ({
2721
2721
  className: i,
2722
2722
  color: e = k.GREY_DARK_5,
2723
2723
  height: t = 24,
@@ -2756,7 +2756,7 @@ const ge = ({
2756
2756
  )
2757
2757
  ]
2758
2758
  }
2759
- ), Ht = ({
2759
+ ), Bt = ({
2760
2760
  className: i,
2761
2761
  color: e = k.GREY_DARK_5,
2762
2762
  height: t = 24,
@@ -2795,7 +2795,7 @@ const ge = ({
2795
2795
  )
2796
2796
  ]
2797
2797
  }
2798
- ), It = ({
2798
+ ), Wt = ({
2799
2799
  className: i,
2800
2800
  color: e = k.GREY_DARK_5,
2801
2801
  height: t = 24,
@@ -2834,7 +2834,7 @@ const ge = ({
2834
2834
  )
2835
2835
  ]
2836
2836
  }
2837
- ), St = ({
2837
+ ), jt = ({
2838
2838
  className: i,
2839
2839
  color: e = k.GREY_DARK_2,
2840
2840
  height: t = 16,
@@ -2860,7 +2860,7 @@ const ge = ({
2860
2860
  }
2861
2861
  )
2862
2862
  }
2863
- ), Ot = ({
2863
+ ), Zt = ({
2864
2864
  className: i,
2865
2865
  color: e = k.GREY_DARK_5,
2866
2866
  height: t = 20,
@@ -2889,7 +2889,7 @@ const ge = ({
2889
2889
  /* @__PURE__ */ r("defs", { children: /* @__PURE__ */ r("clipPath", { id: "clip0_3992_5989", children: /* @__PURE__ */ r("rect", { width: "20", height: "20", fill: "white" }) }) })
2890
2890
  ]
2891
2891
  }
2892
- ), At = ({
2892
+ ), Dt = ({
2893
2893
  className: i,
2894
2894
  color: e = k.GREY_DARK_5,
2895
2895
  height: t = 20,
@@ -2918,7 +2918,7 @@ const ge = ({
2918
2918
  /* @__PURE__ */ r("defs", { children: /* @__PURE__ */ r("clipPath", { id: "clip0_3992_5988", children: /* @__PURE__ */ r("rect", { width: "20", height: "20", fill: "white" }) }) })
2919
2919
  ]
2920
2920
  }
2921
- ), Bt = ({
2921
+ ), Tt = ({
2922
2922
  className: i,
2923
2923
  color: e = k.GREY_DARK_5,
2924
2924
  height: t = 20,
@@ -2947,7 +2947,7 @@ const ge = ({
2947
2947
  )
2948
2948
  ]
2949
2949
  }
2950
- ), Wt = ({
2950
+ ), Gt = ({
2951
2951
  className: i,
2952
2952
  color: e = k.GREY_DARK_5,
2953
2953
  height: t = 20,
@@ -2976,7 +2976,7 @@ const ge = ({
2976
2976
  )
2977
2977
  ]
2978
2978
  }
2979
- ), jt = ({
2979
+ ), Kt = ({
2980
2980
  className: i,
2981
2981
  color: e = "#001E52",
2982
2982
  height: t = 24,
@@ -3002,7 +3002,7 @@ const ge = ({
3002
3002
  }
3003
3003
  )
3004
3004
  }
3005
- ), Zt = ({
3005
+ ), Pt = ({
3006
3006
  className: i,
3007
3007
  color: e = "#131314",
3008
3008
  height: t = 20,
@@ -3030,7 +3030,7 @@ const ge = ({
3030
3030
  }
3031
3031
  )
3032
3032
  }
3033
- ), Dt = ({
3033
+ ), $t = ({
3034
3034
  className: i,
3035
3035
  color: e = "#001E52",
3036
3036
  height: t = 24,
@@ -3077,49 +3077,49 @@ const ge = ({
3077
3077
  disabled: l = !1,
3078
3078
  onClick: c
3079
3079
  }) => {
3080
- const [o, d] = I(n), { theme: g } = o1(P1), a = l ? g && g === "dark" ? k.GREY_LIGHT_4 : k.GREY_DARK_1 : s, h = l ? void 0 : c;
3081
- return D(() => {
3080
+ const [o, d] = S(n), { theme: g } = o1(F1), a = l ? g && g === "dark" ? k.GREY_LIGHT_4 : k.GREY_DARK_1 : s, h = l ? void 0 : c;
3081
+ return T(() => {
3082
3082
  if (n) {
3083
3083
  h && !l && d(`${n} clickable`);
3084
3084
  return;
3085
3085
  }
3086
3086
  h && !l && d("clickable");
3087
- }, [h, n, l]), /* @__PURE__ */ r(q, { children: (() => {
3087
+ }, [h, n, l]), /* @__PURE__ */ r(X, { children: (() => {
3088
3088
  switch (i) {
3089
3089
  case "nextIcon":
3090
- return nt({ width: e, height: t, color: a, className: o, onClick: h });
3090
+ return ht({ width: e, height: t, color: a, className: o, onClick: h });
3091
3091
  case "prevIcon":
3092
- return rt({ width: e, height: t, color: a, className: o, onClick: h });
3092
+ return ct({ width: e, height: t, color: a, className: o, onClick: h });
3093
3093
  case "arrowUp":
3094
- return ge({ width: e, height: t, color: a, className: o, onClick: h });
3094
+ return we({ width: e, height: t, color: a, className: o, onClick: h });
3095
3095
  case "arrowDown":
3096
- return ue({ width: e, height: t, color: a, className: o, onClick: h });
3096
+ return me({ width: e, height: t, color: a, className: o, onClick: h });
3097
3097
  case "info":
3098
- return Ce({ width: e, height: t, color: a, className: o, onClick: h });
3098
+ return ke({ width: e, height: t, color: a, className: o, onClick: h });
3099
3099
  case "arrowRight":
3100
- return pe({ width: e, height: t, color: a, className: o, onClick: h });
3100
+ return Le({ width: e, height: t, color: a, className: o, onClick: h });
3101
3101
  case "calendar":
3102
- return fe({ width: e, height: t, color: a, className: o, onClick: h });
3102
+ return ve({ width: e, height: t, color: a, className: o, onClick: h });
3103
3103
  case "ok":
3104
- return we({ width: e, height: t, color: a, className: o, onClick: h });
3104
+ return Ne({ width: e, height: t, color: a, className: o, onClick: h });
3105
3105
  case "cancel":
3106
- return me({ width: e, height: t, color: a, className: o, onClick: h });
3106
+ return xe({ width: e, height: t, color: a, className: o, onClick: h });
3107
3107
  case "add":
3108
- return ke({ width: e, height: t, color: a, className: o, onClick: h });
3108
+ return Re({ width: e, height: t, color: a, className: o, onClick: h });
3109
3109
  case "list":
3110
- return Le({ width: e, height: t, color: a, className: o, onClick: h });
3110
+ return Me({ width: e, height: t, color: a, className: o, onClick: h });
3111
3111
  case "dragAndDrop":
3112
- return ve({ width: e, height: t, color: a, className: o, onClick: h });
3112
+ return ye({ width: e, height: t, color: a, className: o, onClick: h });
3113
3113
  case "filter":
3114
- return Ne({ width: e, height: t, color: a, className: o, onClick: h });
3114
+ return be({ width: e, height: t, color: a, className: o, onClick: h });
3115
3115
  case "attention":
3116
- return xe({ width: e, height: t, color: a, className: o, onClick: h });
3116
+ return Ee({ width: e, height: t, color: a, className: o, onClick: h });
3117
3117
  case "plus":
3118
- return Re({ width: e, height: t, color: a, className: o, onClick: h });
3118
+ return Ve({ width: e, height: t, color: a, className: o, onClick: h });
3119
3119
  case "time":
3120
- return Me({ width: e, height: t, color: a, className: o, onClick: h });
3120
+ return He({ width: e, height: t, color: a, className: o, onClick: h });
3121
3121
  case "arrowDownLong":
3122
- return ye({
3122
+ return _e({
3123
3123
  width: e,
3124
3124
  height: t,
3125
3125
  color: a,
@@ -3127,9 +3127,9 @@ const ge = ({
3127
3127
  onClick: h
3128
3128
  });
3129
3129
  case "users":
3130
- return be({ width: e, height: t, color: a, className: o, onClick: h });
3130
+ return Ie({ width: e, height: t, color: a, className: o, onClick: h });
3131
3131
  case "mySkillsMatrix":
3132
- return Ee({
3132
+ return Oe({
3133
3133
  width: e,
3134
3134
  height: t,
3135
3135
  color: a,
@@ -3137,9 +3137,9 @@ const ge = ({
3137
3137
  onClick: h
3138
3138
  });
3139
3139
  case "skills":
3140
- return Ve({ width: e, height: t, color: a, className: o, onClick: h });
3140
+ return Se({ width: e, height: t, color: a, className: o, onClick: h });
3141
3141
  case "skillsMatrices":
3142
- return _e({
3142
+ return Ae({
3143
3143
  width: e,
3144
3144
  height: t,
3145
3145
  color: a,
@@ -3147,23 +3147,23 @@ const ge = ({
3147
3147
  onClick: h
3148
3148
  });
3149
3149
  case "history":
3150
- return He({ width: e, height: t, color: a, className: o, onClick: h });
3150
+ return Be({ width: e, height: t, color: a, className: o, onClick: h });
3151
3151
  case "logOut":
3152
- return Ie({ width: e, height: t, color: a, className: o, onClick: h });
3152
+ return We({ width: e, height: t, color: a, className: o, onClick: h });
3153
3153
  case "settings":
3154
- return Se({ width: e, height: t, color: a, className: o, onClick: h });
3154
+ return je({ width: e, height: t, color: a, className: o, onClick: h });
3155
3155
  case "addSkill":
3156
- return Oe({ width: e, height: t, color: a, className: o, onClick: h });
3156
+ return Ze({ width: e, height: t, color: a, className: o, onClick: h });
3157
3157
  case "conversation":
3158
- return Ae({ width: e, height: t, color: a, className: o, onClick: h });
3158
+ return De({ width: e, height: t, color: a, className: o, onClick: h });
3159
3159
  case "trash":
3160
- return Be({ width: e, height: t, color: a, className: o, onClick: h });
3160
+ return Te({ width: e, height: t, color: a, className: o, onClick: h });
3161
3161
  case "settings4":
3162
- return We({ width: e, height: t, color: a, className: o, onClick: h });
3162
+ return Ge({ width: e, height: t, color: a, className: o, onClick: h });
3163
3163
  case "edit2":
3164
- return je({ width: e, height: t, color: a, className: o, onClick: h });
3164
+ return Ke({ width: e, height: t, color: a, className: o, onClick: h });
3165
3165
  case "notifications":
3166
- return Ze({
3166
+ return Pe({
3167
3167
  width: e,
3168
3168
  height: t,
3169
3169
  color: a,
@@ -3171,9 +3171,9 @@ const ge = ({
3171
3171
  onClick: h
3172
3172
  });
3173
3173
  case "success":
3174
- return De({ width: e, height: t, color: a, className: o, onClick: h });
3174
+ return $e({ width: e, height: t, color: a, className: o, onClick: h });
3175
3175
  case "attentionSmall":
3176
- return Te({
3176
+ return Fe({
3177
3177
  width: e,
3178
3178
  height: t,
3179
3179
  color: a,
@@ -3181,11 +3181,11 @@ const ge = ({
3181
3181
  onClick: h
3182
3182
  });
3183
3183
  case "errorSmall":
3184
- return Ge({ width: e, height: t, color: a, className: o, onClick: h });
3184
+ return Ye({ width: e, height: t, color: a, className: o, onClick: h });
3185
3185
  case "infoMedium":
3186
- return Ke({ width: e, height: t, color: a, className: o, onClick: h });
3186
+ return Ue({ width: e, height: t, color: a, className: o, onClick: h });
3187
3187
  case "attentionMedium":
3188
- return Pe({
3188
+ return ze({
3189
3189
  width: e,
3190
3190
  height: t,
3191
3191
  color: a,
@@ -3193,9 +3193,9 @@ const ge = ({
3193
3193
  onClick: h
3194
3194
  });
3195
3195
  case "errorMedium":
3196
- return $e({ width: e, height: t, color: a, className: o, onClick: h });
3196
+ return Je({ width: e, height: t, color: a, className: o, onClick: h });
3197
3197
  case "faviconSkills":
3198
- return Qe({
3198
+ return it({
3199
3199
  width: e,
3200
3200
  height: t,
3201
3201
  color: a,
@@ -3203,7 +3203,7 @@ const ge = ({
3203
3203
  onClick: h
3204
3204
  });
3205
3205
  case "visibilityIcon":
3206
- return Fe({
3206
+ return Qe({
3207
3207
  width: e,
3208
3208
  height: t,
3209
3209
  color: a,
@@ -3211,7 +3211,7 @@ const ge = ({
3211
3211
  onClick: h
3212
3212
  });
3213
3213
  case "visibilityOffIcon":
3214
- return Ye({
3214
+ return qe({
3215
3215
  width: e,
3216
3216
  height: t,
3217
3217
  color: a,
@@ -3219,7 +3219,7 @@ const ge = ({
3219
3219
  onClick: h
3220
3220
  });
3221
3221
  case "selectArrowIcon":
3222
- return Ue({
3222
+ return Xe({
3223
3223
  width: e,
3224
3224
  height: t,
3225
3225
  color: a,
@@ -3227,7 +3227,7 @@ const ge = ({
3227
3227
  onClick: h
3228
3228
  });
3229
3229
  case "expandArrowIcon":
3230
- return ze({
3230
+ return et({
3231
3231
  width: e,
3232
3232
  height: t,
3233
3233
  color: a,
@@ -3235,7 +3235,7 @@ const ge = ({
3235
3235
  onClick: h
3236
3236
  });
3237
3237
  case "expandActiveArrowIcon":
3238
- return Je({
3238
+ return tt({
3239
3239
  width: e,
3240
3240
  height: t,
3241
3241
  color: a,
@@ -3243,97 +3243,97 @@ const ge = ({
3243
3243
  onClick: h
3244
3244
  });
3245
3245
  case "camera":
3246
- return qe({ width: e, height: t, color: a, className: o, onClick: h });
3246
+ return st({ width: e, height: t, color: a, className: o, onClick: h });
3247
3247
  case "sortUp":
3248
- return Xe({ width: e, height: t, color: a, className: o, onClick: h });
3248
+ return nt({ width: e, height: t, color: a, className: o, onClick: h });
3249
3249
  case "sortDown":
3250
- return et({ width: e, height: t, color: a, className: o, onClick: h });
3250
+ return rt({ width: e, height: t, color: a, className: o, onClick: h });
3251
3251
  case "logOut2":
3252
- return tt({ width: e, height: t, color: a, className: o, onClick: h });
3252
+ return ot({ width: e, height: t, color: a, className: o, onClick: h });
3253
3253
  case "search":
3254
- return it({ width: e, height: t, color: a, className: o, onClick: h });
3254
+ return lt({ width: e, height: t, color: a, className: o, onClick: h });
3255
3255
  case "handRock":
3256
- return st({ width: e, height: t, color: a, className: o, onClick: h });
3256
+ return at({ width: e, height: t, color: a, className: o, onClick: h });
3257
3257
  case "arrowUpFilled":
3258
- return lt({ width: e, height: t, color: a, className: o, onClick: h });
3258
+ return gt({ width: e, height: t, color: a, className: o, onClick: h });
3259
3259
  case "arrowDownFilled":
3260
- return ot({ width: e, height: t, color: a, className: o, onClick: h });
3260
+ return dt({ width: e, height: t, color: a, className: o, onClick: h });
3261
3261
  case "link":
3262
- return at({ width: e, height: t, color: a, className: o, onClick: h });
3262
+ return ut({ width: e, height: t, color: a, className: o, onClick: h });
3263
3263
  case "telegram":
3264
- return ct({ width: e, height: t, color: a, className: o, onClick: h });
3264
+ return pt({ width: e, height: t, color: a, className: o, onClick: h });
3265
3265
  case "mail":
3266
- return gt({ width: e, height: t, color: a, className: o, onClick: h });
3266
+ return wt({ width: e, height: t, color: a, className: o, onClick: h });
3267
3267
  case "github":
3268
- return ht({ width: e, height: t, color: a, className: o, onClick: h });
3268
+ return Ct({ width: e, height: t, color: a, className: o, onClick: h });
3269
3269
  case "linkedIn":
3270
- return dt({ width: e, height: t, color: a, className: o, onClick: h });
3270
+ return ft({ width: e, height: t, color: a, className: o, onClick: h });
3271
3271
  case "emptyStateIcon":
3272
- return ut({ width: e, height: t, color: a, className: o, onClick: h });
3272
+ return mt({ width: e, height: t, color: a, className: o, onClick: h });
3273
3273
  case "filtersIcon":
3274
- return Ct({ width: e, height: t, color: a, className: o, onClick: h });
3274
+ return kt({ width: e, height: t, color: a, className: o, onClick: h });
3275
3275
  case "dotMenuIcon":
3276
- return pt({ width: e, height: t, color: a, className: o, onClick: h });
3276
+ return Lt({ width: e, height: t, color: a, className: o, onClick: h });
3277
3277
  case "plusCircle":
3278
- return ft({ width: e, height: t, color: a, className: o, onClick: h });
3278
+ return vt({ width: e, height: t, color: a, className: o, onClick: h });
3279
3279
  case "warning":
3280
- return wt({ width: e, height: t, color: a, className: o, onClick: h });
3280
+ return Nt({ width: e, height: t, color: a, className: o, onClick: h });
3281
3281
  case "back":
3282
- return mt({ width: e, height: t, color: a, className: o, onClick: h });
3282
+ return xt({ width: e, height: t, color: a, className: o, onClick: h });
3283
3283
  case "bell":
3284
- return kt({ width: e, height: t, color: a, className: o, onClick: h });
3284
+ return Rt({ width: e, height: t, color: a, className: o, onClick: h });
3285
3285
  case "contract":
3286
- return vt({ width: e, height: t, color: a, className: o, onClick: h });
3286
+ return yt({ width: e, height: t, color: a, className: o, onClick: h });
3287
3287
  case "trash2":
3288
- return Lt({ width: e, height: t, color: a, className: o, onClick: h });
3288
+ return Mt({ width: e, height: t, color: a, className: o, onClick: h });
3289
3289
  case "manager":
3290
- return Nt({ width: e, height: t, color: a, className: o, onClick: h });
3290
+ return bt({ width: e, height: t, color: a, className: o, onClick: h });
3291
3291
  case "resourceManager":
3292
- return xt({ width: e, height: t, color: a, className: o, onClick: h });
3292
+ return Et({ width: e, height: t, color: a, className: o, onClick: h });
3293
3293
  case "settings2":
3294
- return Rt({ width: e, height: t, color: a, className: o, onClick: h });
3294
+ return Vt({ width: e, height: t, color: a, className: o, onClick: h });
3295
3295
  case "image":
3296
- return Mt({ width: e, height: t, color: a, className: o, onClick: h });
3296
+ return Ht({ width: e, height: t, color: a, className: o, onClick: h });
3297
3297
  case "upload":
3298
- return yt({ width: e, height: t, color: a, className: o, onClick: h });
3298
+ return _t({ width: e, height: t, color: a, className: o, onClick: h });
3299
3299
  case "edit":
3300
- return bt({ width: e, height: t, color: a, className: o, onClick: h });
3300
+ return It({ width: e, height: t, color: a, className: o, onClick: h });
3301
3301
  case "location":
3302
- return Et({ width: e, height: t, color: a, className: o, onClick: h });
3302
+ return Ot({ width: e, height: t, color: a, className: o, onClick: h });
3303
3303
  case "plus2":
3304
- return Vt({ width: e, height: t, color: a, className: o, onClick: h });
3304
+ return St({ width: e, height: t, color: a, className: o, onClick: h });
3305
3305
  case "search2":
3306
- return _t({ width: e, height: t, color: a, className: o, onClick: h });
3306
+ return At({ width: e, height: t, color: a, className: o, onClick: h });
3307
3307
  case "fastArrowLeft":
3308
- return Ht({ width: e, height: t, color: a, className: o, onClick: h });
3308
+ return Bt({ width: e, height: t, color: a, className: o, onClick: h });
3309
3309
  case "fastArrowRight":
3310
- return It({ width: e, height: t, color: a, className: o, onClick: h });
3310
+ return Wt({ width: e, height: t, color: a, className: o, onClick: h });
3311
3311
  case "crossInCircle":
3312
- return St({ width: e, height: t, color: a, className: o, onClick: h });
3312
+ return jt({ width: e, height: t, color: a, className: o, onClick: h });
3313
3313
  case "arrowUp2":
3314
- return At({ width: e, height: t, color: a, className: o, onClick: h });
3314
+ return Dt({ width: e, height: t, color: a, className: o, onClick: h });
3315
3315
  case "arrowDown2":
3316
- return Ot({ width: e, height: t, color: a, className: o, onClick: h });
3316
+ return Zt({ width: e, height: t, color: a, className: o, onClick: h });
3317
3317
  case "filledArrowLeft":
3318
- return Bt({ width: e, height: t, color: a, className: o, onClick: h });
3318
+ return Tt({ width: e, height: t, color: a, className: o, onClick: h });
3319
3319
  case "filledArrowRight":
3320
- return Wt({ width: e, height: t, color: a, className: o, onClick: h });
3320
+ return Gt({ width: e, height: t, color: a, className: o, onClick: h });
3321
3321
  case "burgerMenu":
3322
- return jt({ width: e, height: t, color: a, className: o, onClick: h });
3322
+ return Kt({ width: e, height: t, color: a, className: o, onClick: h });
3323
3323
  case "signOut":
3324
- return Zt({ width: e, height: t, color: a, className: o, onClick: h });
3324
+ return Pt({ width: e, height: t, color: a, className: o, onClick: h });
3325
3325
  case "refresh":
3326
- return Dt({ width: e, height: t, color: a, className: o, onClick: h });
3326
+ return $t({ width: e, height: t, color: a, className: o, onClick: h });
3327
3327
  default:
3328
- return /* @__PURE__ */ r(q, { children: "No Icon provided" });
3328
+ return /* @__PURE__ */ r(X, { children: "No Icon provided" });
3329
3329
  }
3330
3330
  })() });
3331
- }, { Title: Tt, Text: Gt } = T1, Kt = {
3331
+ }, { Title: Ft, Text: Yt } = K1, Ut = {
3332
3332
  h1: 1,
3333
3333
  h2: 2,
3334
3334
  h3: 3,
3335
3335
  h4: 4
3336
- }, Pt = r1(
3336
+ }, zt = r1(
3337
3337
  ({
3338
3338
  align: i = "inherit",
3339
3339
  variant: e = "body1",
@@ -3346,17 +3346,17 @@ const ge = ({
3346
3346
  const d = e === "h1" || e === "h2" || e === "h3" || e === "h4";
3347
3347
  let g = `snmt-typography snmt-typography-${e}`;
3348
3348
  return i && i !== "inherit" && (g += ` snmt-typography-align-${i}`), l && (g += " collapsed"), d ? /* @__PURE__ */ r(
3349
- Tt,
3349
+ Ft,
3350
3350
  {
3351
3351
  className: g,
3352
3352
  style: { color: t, whiteSpace: c },
3353
3353
  onClick: n,
3354
- level: Kt[e],
3354
+ level: Ut[e],
3355
3355
  ref: o,
3356
3356
  children: s
3357
3357
  }
3358
3358
  ) : /* @__PURE__ */ r(
3359
- Gt,
3359
+ Yt,
3360
3360
  {
3361
3361
  className: g,
3362
3362
  style: { color: t, whiteSpace: c },
@@ -3368,12 +3368,12 @@ const ge = ({
3368
3368
  }
3369
3369
  );
3370
3370
  var L = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_1 = "var(--grey-light-1)", i.GREY_LIGHT_2 = "var(--grey-light-2)", i.GREY_LIGHT_3 = "var(--grey-light-3)", i.GREY_LIGHT_4 = "var(--grey-light-4)", i.GREY_DARK_1 = "var(--grey-dark-1)", i.GREY_DARK_2 = "var(--grey-dark-2)", i.GREY_DARK_3 = "var(--grey-dark-3)", i.GREY_DARK_4 = "var(--grey-dark-4)", i.GREY_DARK_5 = "var(--grey-dark-5)", i.BLUE_PRIMARY = "var(--blue-primary)", i.BLUE_HOVER = "var(--blue-hover)", i.BLUE_LIGHT_1 = "var(--blue-light-1)", i.BLUE_LIGHT_2 = "var(--blue-light-2)", i.BLUE_LIGHT_3 = "var(--blue-light-3)", i.BLUE_LIGHT_4 = "var(--blue-light-4)", i.BLUE_DARK_1 = "var(--blue-dark-1)", i.PURPLE_LIGHT = "var(--purple-light)", i.PURPLE_DARK = "var(--purple-dark)", i.NOTIFICATION_WARNING_LIGHT = "var(--notification-warning-light)", i.NOTIFICATION_WARNING_DARK = "var(--notification-warning-dark)", i.NOTIFICATION_SUCCESS_LIGHT = "var(--notification-success-light)", i.NOTIFICATION_SUCCESS_DARK = "var(--notification-success-dark)", i.NOTIFICATION_ERROR_LIGHT = "var(--notification-error-light)", i.NOTIFICATION_ERROR_DARK = "var(--notification-error-dark)", i.NOTIFICATION_ERROR_DARK_MODE = "var(--notification-error-dark-mode)", i))(L || {});
3371
- const $1 = n1({
3371
+ const Y1 = n1({
3372
3372
  locale: "en",
3373
3373
  theme: "light"
3374
3374
  });
3375
- $1.Provider;
3376
- const $t = ({
3375
+ Y1.Provider;
3376
+ const Jt = ({
3377
3377
  width: i = 20,
3378
3378
  height: e = 20,
3379
3379
  color: t = "#001E52",
@@ -3400,7 +3400,7 @@ const $t = ({
3400
3400
  }
3401
3401
  )
3402
3402
  }
3403
- ), Ft = ({
3403
+ ), Qt = ({
3404
3404
  width: i = 20,
3405
3405
  height: e = 20,
3406
3406
  color: t = "#001E52",
@@ -3427,7 +3427,7 @@ const $t = ({
3427
3427
  }
3428
3428
  )
3429
3429
  }
3430
- ), Yt = ({
3430
+ ), qt = ({
3431
3431
  width: i = 16,
3432
3432
  height: e = 16,
3433
3433
  color: t = "#001E52",
@@ -3455,7 +3455,7 @@ const $t = ({
3455
3455
  )
3456
3456
  ]
3457
3457
  }
3458
- ), Ut = ({
3458
+ ), Xt = ({
3459
3459
  width: i = 20,
3460
3460
  height: e = 20,
3461
3461
  color: t = "#001E52",
@@ -3490,7 +3490,7 @@ const $t = ({
3490
3490
  )
3491
3491
  ]
3492
3492
  }
3493
- ), zt = ({
3493
+ ), e2 = ({
3494
3494
  width: i = 18,
3495
3495
  height: e = 18,
3496
3496
  color: t = "#001E52",
@@ -3529,7 +3529,7 @@ const $t = ({
3529
3529
  )
3530
3530
  ]
3531
3531
  }
3532
- ), Jt = ({
3532
+ ), t2 = ({
3533
3533
  width: i = 20,
3534
3534
  height: e = 20,
3535
3535
  color: t = "#001E52",
@@ -3555,7 +3555,7 @@ const $t = ({
3555
3555
  }
3556
3556
  )
3557
3557
  }
3558
- ), Qt = ({
3558
+ ), i2 = ({
3559
3559
  width: i = 20,
3560
3560
  height: e = 20,
3561
3561
  color: t = "#001E52",
@@ -3576,7 +3576,7 @@ const $t = ({
3576
3576
  /* @__PURE__ */ r("path", { d: "M16 4L4 16", stroke: t, strokeWidth: "1.5", strokeLinecap: "round" })
3577
3577
  ]
3578
3578
  }
3579
- ), qt = ({
3579
+ ), s2 = ({
3580
3580
  width: i = 20,
3581
3581
  height: e = 20,
3582
3582
  color: t = "#001E52",
@@ -3608,7 +3608,7 @@ const $t = ({
3608
3608
  )
3609
3609
  ]
3610
3610
  }
3611
- ), Xt = ({
3611
+ ), n2 = ({
3612
3612
  width: i = 20,
3613
3613
  height: e = 20,
3614
3614
  color: t = "#001E52",
@@ -3662,7 +3662,7 @@ const $t = ({
3662
3662
  )
3663
3663
  ]
3664
3664
  }
3665
- ), e2 = ({
3665
+ ), r2 = ({
3666
3666
  width: i = 20,
3667
3667
  height: e = 20,
3668
3668
  color: t = "#001E52",
@@ -3701,7 +3701,7 @@ const $t = ({
3701
3701
  /* @__PURE__ */ r("path", { d: "M3 12L17 12", stroke: t, strokeWidth: "2", strokeLinecap: "round" })
3702
3702
  ]
3703
3703
  }
3704
- ), t2 = ({
3704
+ ), o2 = ({
3705
3705
  width: i = 16,
3706
3706
  height: e = 12,
3707
3707
  color: t = "#001E52",
@@ -3750,7 +3750,7 @@ const $t = ({
3750
3750
  )
3751
3751
  ] })
3752
3752
  }
3753
- ), i2 = ({
3753
+ ), l2 = ({
3754
3754
  width: i = 16,
3755
3755
  height: e = 16,
3756
3756
  color: t = "#001E52",
@@ -3784,7 +3784,7 @@ const $t = ({
3784
3784
  )
3785
3785
  ]
3786
3786
  }
3787
- ), s2 = ({
3787
+ ), a2 = ({
3788
3788
  width: i = 10,
3789
3789
  height: e = 10,
3790
3790
  color: t = "#001E52",
@@ -3823,7 +3823,7 @@ const $t = ({
3823
3823
  )
3824
3824
  ] })
3825
3825
  }
3826
- ), n2 = ({
3826
+ ), h2 = ({
3827
3827
  width: i = 16,
3828
3828
  height: e = 16,
3829
3829
  color: t = "#001E52",
@@ -3859,7 +3859,7 @@ const $t = ({
3859
3859
  )
3860
3860
  ]
3861
3861
  }
3862
- ), r2 = ({
3862
+ ), c2 = ({
3863
3863
  width: i = 11,
3864
3864
  height: e = 32,
3865
3865
  color: t = "#001E52",
@@ -3897,7 +3897,7 @@ const $t = ({
3897
3897
  /* @__PURE__ */ r("circle", { cx: "3", cy: "3", r: "3", fill: t })
3898
3898
  ]
3899
3899
  }
3900
- ), o2 = ({
3900
+ ), d2 = ({
3901
3901
  width: i = 20,
3902
3902
  height: e = 20,
3903
3903
  color: t = "#001E52",
@@ -3944,7 +3944,7 @@ const $t = ({
3944
3944
  )
3945
3945
  ]
3946
3946
  }
3947
- ), l2 = ({
3947
+ ), g2 = ({
3948
3948
  width: i = 20,
3949
3949
  height: e = 20,
3950
3950
  color: t = "#001E52",
@@ -3977,7 +3977,7 @@ const $t = ({
3977
3977
  )
3978
3978
  ]
3979
3979
  }
3980
- ), a2 = ({
3980
+ ), u2 = ({
3981
3981
  width: i = 20,
3982
3982
  height: e = 20,
3983
3983
  color: t = "#001E52",
@@ -4024,7 +4024,7 @@ const $t = ({
4024
4024
  )
4025
4025
  ]
4026
4026
  }
4027
- ), h2 = ({
4027
+ ), C2 = ({
4028
4028
  width: i = 20,
4029
4029
  height: e = 20,
4030
4030
  color: t = "#001E52",
@@ -4057,7 +4057,7 @@ const $t = ({
4057
4057
  )
4058
4058
  ]
4059
4059
  }
4060
- ), c2 = ({
4060
+ ), p2 = ({
4061
4061
  width: i = 18,
4062
4062
  height: e = 16,
4063
4063
  color: t = "#001E52",
@@ -4096,7 +4096,7 @@ const $t = ({
4096
4096
  )
4097
4097
  ]
4098
4098
  }
4099
- ), d2 = ({
4099
+ ), f2 = ({
4100
4100
  width: i = 20,
4101
4101
  height: e = 20,
4102
4102
  color: t = "#001E52",
@@ -4129,7 +4129,7 @@ const $t = ({
4129
4129
  )
4130
4130
  ]
4131
4131
  }
4132
- ), g2 = ({
4132
+ ), w2 = ({
4133
4133
  width: i = 20,
4134
4134
  height: e = 20,
4135
4135
  color: t = "#001E52",
@@ -4153,7 +4153,7 @@ const $t = ({
4153
4153
  }
4154
4154
  )
4155
4155
  }
4156
- ), u2 = ({
4156
+ ), m2 = ({
4157
4157
  width: i = 20,
4158
4158
  height: e = 20,
4159
4159
  color: t = "#001E52",
@@ -4200,7 +4200,7 @@ const $t = ({
4200
4200
  )
4201
4201
  ]
4202
4202
  }
4203
- ), C2 = ({
4203
+ ), k2 = ({
4204
4204
  width: i = 20,
4205
4205
  height: e = 20,
4206
4206
  color: t = "#001E52",
@@ -4233,7 +4233,7 @@ const $t = ({
4233
4233
  )
4234
4234
  ]
4235
4235
  }
4236
- ), p2 = ({
4236
+ ), L2 = ({
4237
4237
  width: i = 20,
4238
4238
  height: e = 20,
4239
4239
  color: t = "#001E52",
@@ -4266,7 +4266,7 @@ const $t = ({
4266
4266
  )
4267
4267
  ]
4268
4268
  }
4269
- ), f2 = ({
4269
+ ), v2 = ({
4270
4270
  width: i = 20,
4271
4271
  height: e = 23,
4272
4272
  color: t = "#001E52",
@@ -4327,7 +4327,7 @@ const $t = ({
4327
4327
  )
4328
4328
  ]
4329
4329
  }
4330
- ), w2 = ({
4330
+ ), N2 = ({
4331
4331
  width: i = 20,
4332
4332
  height: e = 20,
4333
4333
  color: t = "#001E52",
@@ -4367,7 +4367,7 @@ const $t = ({
4367
4367
  )
4368
4368
  ]
4369
4369
  }
4370
- ), m2 = ({
4370
+ ), x2 = ({
4371
4371
  width: i = 32,
4372
4372
  height: e = 25,
4373
4373
  color: t = "#001E52",
@@ -4395,7 +4395,7 @@ const $t = ({
4395
4395
  )
4396
4396
  ]
4397
4397
  }
4398
- ), k2 = ({
4398
+ ), R2 = ({
4399
4399
  width: i = 14,
4400
4400
  height: e = 14,
4401
4401
  color: t = "#10B981",
@@ -4424,7 +4424,7 @@ const $t = ({
4424
4424
  )
4425
4425
  ]
4426
4426
  }
4427
- ), L2 = ({
4427
+ ), M2 = ({
4428
4428
  width: i = 11,
4429
4429
  height: e = 11,
4430
4430
  color: t = "#FFB020",
@@ -4458,7 +4458,7 @@ const $t = ({
4458
4458
  )
4459
4459
  ]
4460
4460
  }
4461
- ), v2 = ({
4461
+ ), y2 = ({
4462
4462
  width: i = 10,
4463
4463
  height: e = 10,
4464
4464
  color: t = "#88A4FF",
@@ -4506,7 +4506,7 @@ const $t = ({
4506
4506
  )
4507
4507
  ]
4508
4508
  }
4509
- ), N2 = ({
4509
+ ), b2 = ({
4510
4510
  width: i = 14,
4511
4511
  height: e = 14,
4512
4512
  color: t = "#8E8E93",
@@ -4534,7 +4534,7 @@ const $t = ({
4534
4534
  )
4535
4535
  ]
4536
4536
  }
4537
- ), x2 = ({
4537
+ ), E2 = ({
4538
4538
  width: i = 14,
4539
4539
  height: e = 14,
4540
4540
  color: t = "#FFB020",
@@ -4568,7 +4568,7 @@ const $t = ({
4568
4568
  )
4569
4569
  ]
4570
4570
  }
4571
- ), R2 = ({
4571
+ ), V2 = ({
4572
4572
  width: i = 14,
4573
4573
  height: e = 14,
4574
4574
  color: t = "#D0421B",
@@ -4616,7 +4616,7 @@ const $t = ({
4616
4616
  )
4617
4617
  ]
4618
4618
  }
4619
- ), M2 = ({
4619
+ ), H2 = ({
4620
4620
  width: i = 20,
4621
4621
  height: e = 20,
4622
4622
  color: t = "#070739",
@@ -4646,7 +4646,7 @@ const $t = ({
4646
4646
  /* @__PURE__ */ r("circle", { cx: "10", cy: "10", r: "2.375", stroke: t, strokeWidth: "1.25" })
4647
4647
  ]
4648
4648
  }
4649
- ), y2 = ({
4649
+ ), _2 = ({
4650
4650
  width: i = 20,
4651
4651
  height: e = 20,
4652
4652
  color: t = "#070739",
@@ -4684,7 +4684,7 @@ const $t = ({
4684
4684
  )
4685
4685
  ]
4686
4686
  }
4687
- ), b2 = ({
4687
+ ), I2 = ({
4688
4688
  width: i = 9,
4689
4689
  height: e = 5,
4690
4690
  color: t = "#001E52",
@@ -4710,7 +4710,7 @@ const $t = ({
4710
4710
  }
4711
4711
  )
4712
4712
  }
4713
- ), E2 = ({
4713
+ ), O2 = ({
4714
4714
  width: i = 20,
4715
4715
  height: e = 20,
4716
4716
  color: t = "#F2F2F7",
@@ -4739,7 +4739,7 @@ const $t = ({
4739
4739
  )
4740
4740
  ]
4741
4741
  }
4742
- ), V2 = ({
4742
+ ), S2 = ({
4743
4743
  width: i = 20,
4744
4744
  height: e = 20,
4745
4745
  color: t = "#004ED7",
@@ -4768,7 +4768,7 @@ const $t = ({
4768
4768
  )
4769
4769
  ]
4770
4770
  }
4771
- ), _2 = ({
4771
+ ), A2 = ({
4772
4772
  width: i = 248,
4773
4773
  height: e = 248,
4774
4774
  color: t = "#070739",
@@ -4805,7 +4805,7 @@ const $t = ({
4805
4805
  )
4806
4806
  ]
4807
4807
  }
4808
- ), H2 = ({
4808
+ ), B2 = ({
4809
4809
  width: i = 24,
4810
4810
  height: e = 24,
4811
4811
  color: t = "#001E52",
@@ -4844,7 +4844,7 @@ const $t = ({
4844
4844
  )
4845
4845
  ]
4846
4846
  }
4847
- ), I2 = ({
4847
+ ), W2 = ({
4848
4848
  width: i = 10,
4849
4849
  height: e = 10,
4850
4850
  color: t = "#001E52",
@@ -4873,7 +4873,7 @@ const $t = ({
4873
4873
  )
4874
4874
  ]
4875
4875
  }
4876
- ), S2 = ({
4876
+ ), j2 = ({
4877
4877
  width: i = 10,
4878
4878
  height: e = 10,
4879
4879
  color: t = "#001E52",
@@ -4910,7 +4910,7 @@ const $t = ({
4910
4910
  )
4911
4911
  ]
4912
4912
  }
4913
- ), O2 = ({
4913
+ ), Z2 = ({
4914
4914
  width: i = 24,
4915
4915
  height: e = 24,
4916
4916
  color: t = L.GREY_DARK_5,
@@ -4949,7 +4949,7 @@ const $t = ({
4949
4949
  )
4950
4950
  ]
4951
4951
  }
4952
- ), A2 = ({
4952
+ ), D2 = ({
4953
4953
  width: i = 20,
4954
4954
  height: e = 20,
4955
4955
  color: t = L.GREY_DARK_1,
@@ -4982,7 +4982,7 @@ const $t = ({
4982
4982
  )
4983
4983
  ]
4984
4984
  }
4985
- ), B2 = ({
4985
+ ), T2 = ({
4986
4986
  width: i = 81,
4987
4987
  height: e = 80,
4988
4988
  color: t = L.GREY_DARK_5,
@@ -5031,7 +5031,7 @@ const $t = ({
5031
5031
  )
5032
5032
  ]
5033
5033
  }
5034
- ), W2 = ({
5034
+ ), G2 = ({
5035
5035
  className: i,
5036
5036
  color: e = L.GREY_DARK_5,
5037
5037
  height: t = 20,
@@ -5058,7 +5058,7 @@ const $t = ({
5058
5058
  }
5059
5059
  )
5060
5060
  }
5061
- ), j2 = ({
5061
+ ), K2 = ({
5062
5062
  className: i,
5063
5063
  color: e = L.GREY_DARK_5,
5064
5064
  height: t = 20,
@@ -5085,7 +5085,7 @@ const $t = ({
5085
5085
  }
5086
5086
  )
5087
5087
  }
5088
- ), Z2 = ({
5088
+ ), P2 = ({
5089
5089
  className: i,
5090
5090
  color: e = L.GREY_DARK_5,
5091
5091
  height: t = 5,
@@ -5109,7 +5109,7 @@ const $t = ({
5109
5109
  }
5110
5110
  )
5111
5111
  }
5112
- ), D2 = ({
5112
+ ), $2 = ({
5113
5113
  className: i,
5114
5114
  color: e = L.GREY_DARK_5,
5115
5115
  height: t = 5,
@@ -5134,7 +5134,7 @@ const $t = ({
5134
5134
  }
5135
5135
  )
5136
5136
  }
5137
- ), T2 = ({
5137
+ ), F2 = ({
5138
5138
  className: i,
5139
5139
  color: e = L.GREY_DARK_5,
5140
5140
  height: t = 24,
@@ -5173,7 +5173,7 @@ const $t = ({
5173
5173
  )
5174
5174
  ]
5175
5175
  }
5176
- ), G2 = ({
5176
+ ), Y2 = ({
5177
5177
  className: i,
5178
5178
  color: e = L.GREY_DARK_5,
5179
5179
  height: t = 24,
@@ -5212,7 +5212,7 @@ const $t = ({
5212
5212
  )
5213
5213
  ]
5214
5214
  }
5215
- ), K2 = ({
5215
+ ), U2 = ({
5216
5216
  className: i,
5217
5217
  color: e = L.GREY_DARK_5,
5218
5218
  height: t = 24,
@@ -5239,7 +5239,7 @@ const $t = ({
5239
5239
  }
5240
5240
  )
5241
5241
  }
5242
- ), P2 = ({
5242
+ ), z2 = ({
5243
5243
  className: i,
5244
5244
  color: e = L.GREY_DARK_5,
5245
5245
  height: t = 24,
@@ -5298,7 +5298,7 @@ const $t = ({
5298
5298
  )
5299
5299
  ]
5300
5300
  }
5301
- ), $2 = ({
5301
+ ), J2 = ({
5302
5302
  className: i,
5303
5303
  color: e = L.GREY_DARK_5,
5304
5304
  height: t = 24,
@@ -5335,7 +5335,7 @@ const $t = ({
5335
5335
  )
5336
5336
  ]
5337
5337
  }
5338
- ), F2 = ({
5338
+ ), Q2 = ({
5339
5339
  className: i,
5340
5340
  color: e = L.GREY_DARK_3,
5341
5341
  height: t = 14,
@@ -5372,7 +5372,7 @@ const $t = ({
5372
5372
  )
5373
5373
  ]
5374
5374
  }
5375
- ), Y2 = ({
5375
+ ), q2 = ({
5376
5376
  className: i,
5377
5377
  color: e = L.GREY_DARK_5,
5378
5378
  height: t = 18,
@@ -5399,7 +5399,7 @@ const $t = ({
5399
5399
  }
5400
5400
  )
5401
5401
  }
5402
- ), U2 = ({
5402
+ ), X2 = ({
5403
5403
  className: i,
5404
5404
  color: e = L.GREY_DARK_5,
5405
5405
  height: t = 24,
@@ -5451,7 +5451,7 @@ const $t = ({
5451
5451
  )
5452
5452
  ]
5453
5453
  }
5454
- ), z2 = ({
5454
+ ), ei = ({
5455
5455
  className: i,
5456
5456
  color: e = L.GREY_DARK_5,
5457
5457
  height: t = 24,
@@ -5488,7 +5488,7 @@ const $t = ({
5488
5488
  )
5489
5489
  ]
5490
5490
  }
5491
- ), J2 = ({
5491
+ ), ti = ({
5492
5492
  className: i,
5493
5493
  color: e = L.NOTIFICATION_WARNING_DARK,
5494
5494
  height: t = 37,
@@ -5527,7 +5527,7 @@ const $t = ({
5527
5527
  )
5528
5528
  ]
5529
5529
  }
5530
- ), Q2 = ({
5530
+ ), ii = ({
5531
5531
  className: i,
5532
5532
  color: e = L.GREY_DARK_5,
5533
5533
  height: t = 24,
@@ -5553,7 +5553,7 @@ const $t = ({
5553
5553
  }
5554
5554
  )
5555
5555
  }
5556
- ), q2 = ({
5556
+ ), si = ({
5557
5557
  className: i,
5558
5558
  color: e = L.GREY_DARK_5,
5559
5559
  height: t = 24,
@@ -5592,7 +5592,7 @@ const $t = ({
5592
5592
  )
5593
5593
  ]
5594
5594
  }
5595
- ), X2 = ({
5595
+ ), ni = ({
5596
5596
  className: i,
5597
5597
  color: e = L.GREY_DARK_5,
5598
5598
  height: t = 24,
@@ -5631,7 +5631,7 @@ const $t = ({
5631
5631
  )
5632
5632
  ]
5633
5633
  }
5634
- ), ei = ({
5634
+ ), ri = ({
5635
5635
  className: i,
5636
5636
  color: e = L.GREY_DARK_5,
5637
5637
  height: t = 24,
@@ -5700,7 +5700,7 @@ const $t = ({
5700
5700
  )
5701
5701
  ]
5702
5702
  }
5703
- ), ti = ({
5703
+ ), oi = ({
5704
5704
  className: i,
5705
5705
  color: e = L.GREY_DARK_5,
5706
5706
  height: t = 24,
@@ -5739,7 +5739,7 @@ const $t = ({
5739
5739
  )
5740
5740
  ]
5741
5741
  }
5742
- ), ii = ({
5742
+ ), li = ({
5743
5743
  className: i,
5744
5744
  color: e = L.GREY_DARK_5,
5745
5745
  height: t = 24,
@@ -5796,7 +5796,7 @@ const $t = ({
5796
5796
  )
5797
5797
  ]
5798
5798
  }
5799
- ), si = ({
5799
+ ), ai = ({
5800
5800
  className: i,
5801
5801
  color: e = L.GREY_DARK_5,
5802
5802
  height: t = 24,
@@ -5835,7 +5835,7 @@ const $t = ({
5835
5835
  )
5836
5836
  ]
5837
5837
  }
5838
- ), ni = ({
5838
+ ), hi = ({
5839
5839
  className: i,
5840
5840
  color: e = L.GREY_DARK_5,
5841
5841
  height: t = 24,
@@ -5884,7 +5884,7 @@ const $t = ({
5884
5884
  )
5885
5885
  ]
5886
5886
  }
5887
- ), ri = ({
5887
+ ), ci = ({
5888
5888
  className: i,
5889
5889
  color: e = L.GREY_DARK_5,
5890
5890
  height: t = 24,
@@ -5923,7 +5923,7 @@ const $t = ({
5923
5923
  )
5924
5924
  ]
5925
5925
  }
5926
- ), oi = ({
5926
+ ), di = ({
5927
5927
  className: i,
5928
5928
  color: e = L.GREY_DARK_5,
5929
5929
  height: t = 24,
@@ -5950,7 +5950,7 @@ const $t = ({
5950
5950
  }
5951
5951
  )
5952
5952
  }
5953
- ), li = ({
5953
+ ), gi = ({
5954
5954
  className: i,
5955
5955
  color: e = L.GREY_DARK_5,
5956
5956
  height: t = 24,
@@ -5988,7 +5988,7 @@ const $t = ({
5988
5988
  )
5989
5989
  ]
5990
5990
  }
5991
- ), ai = ({
5991
+ ), ui = ({
5992
5992
  className: i,
5993
5993
  color: e = L.GREY_DARK_5,
5994
5994
  height: t = 24,
@@ -6009,7 +6009,7 @@ const $t = ({
6009
6009
  /* @__PURE__ */ r("path", { d: "M12 8L4 8", stroke: e, strokeWidth: "1.7", strokeLinecap: "round" })
6010
6010
  ]
6011
6011
  }
6012
- ), hi = ({
6012
+ ), Ci = ({
6013
6013
  className: i,
6014
6014
  color: e = L.GREY_DARK_5,
6015
6015
  height: t = 24,
@@ -6048,7 +6048,7 @@ const $t = ({
6048
6048
  )
6049
6049
  ]
6050
6050
  }
6051
- ), ci = ({
6051
+ ), pi = ({
6052
6052
  className: i,
6053
6053
  color: e = L.GREY_DARK_5,
6054
6054
  height: t = 24,
@@ -6087,7 +6087,7 @@ const $t = ({
6087
6087
  )
6088
6088
  ]
6089
6089
  }
6090
- ), di = ({
6090
+ ), fi = ({
6091
6091
  className: i,
6092
6092
  color: e = L.GREY_DARK_5,
6093
6093
  height: t = 24,
@@ -6126,7 +6126,7 @@ const $t = ({
6126
6126
  )
6127
6127
  ]
6128
6128
  }
6129
- ), gi = ({
6129
+ ), wi = ({
6130
6130
  className: i,
6131
6131
  color: e = L.GREY_DARK_2,
6132
6132
  height: t = 16,
@@ -6152,7 +6152,7 @@ const $t = ({
6152
6152
  }
6153
6153
  )
6154
6154
  }
6155
- ), ui = ({
6155
+ ), mi = ({
6156
6156
  className: i,
6157
6157
  color: e = L.GREY_DARK_5,
6158
6158
  height: t = 20,
@@ -6181,7 +6181,7 @@ const $t = ({
6181
6181
  /* @__PURE__ */ r("defs", { children: /* @__PURE__ */ r("clipPath", { id: "clip0_3992_5989", children: /* @__PURE__ */ r("rect", { width: "20", height: "20", fill: "white" }) }) })
6182
6182
  ]
6183
6183
  }
6184
- ), Ci = ({
6184
+ ), ki = ({
6185
6185
  className: i,
6186
6186
  color: e = L.GREY_DARK_5,
6187
6187
  height: t = 20,
@@ -6210,7 +6210,7 @@ const $t = ({
6210
6210
  /* @__PURE__ */ r("defs", { children: /* @__PURE__ */ r("clipPath", { id: "clip0_3992_5988", children: /* @__PURE__ */ r("rect", { width: "20", height: "20", fill: "white" }) }) })
6211
6211
  ]
6212
6212
  }
6213
- ), pi = ({
6213
+ ), Li = ({
6214
6214
  className: i,
6215
6215
  color: e = L.GREY_DARK_5,
6216
6216
  height: t = 20,
@@ -6239,7 +6239,7 @@ const $t = ({
6239
6239
  )
6240
6240
  ]
6241
6241
  }
6242
- ), fi = ({
6242
+ ), vi = ({
6243
6243
  className: i,
6244
6244
  color: e = L.GREY_DARK_5,
6245
6245
  height: t = 20,
@@ -6268,7 +6268,7 @@ const $t = ({
6268
6268
  )
6269
6269
  ]
6270
6270
  }
6271
- ), wi = ({
6271
+ ), Ni = ({
6272
6272
  className: i,
6273
6273
  color: e = "#001E52",
6274
6274
  height: t = 24,
@@ -6294,7 +6294,7 @@ const $t = ({
6294
6294
  }
6295
6295
  )
6296
6296
  }
6297
- ), mi = ({
6297
+ ), xi = ({
6298
6298
  className: i,
6299
6299
  color: e = "#131314",
6300
6300
  height: t = 20,
@@ -6322,7 +6322,7 @@ const $t = ({
6322
6322
  }
6323
6323
  )
6324
6324
  }
6325
- ), ki = ({
6325
+ ), Ri = ({
6326
6326
  className: i,
6327
6327
  color: e = "#001E52",
6328
6328
  height: t = 24,
@@ -6360,7 +6360,7 @@ const $t = ({
6360
6360
  )
6361
6361
  ] }) })
6362
6362
  }
6363
- ), Li = ({
6363
+ ), Mi = ({
6364
6364
  name: i,
6365
6365
  width: e,
6366
6366
  height: t,
@@ -6369,49 +6369,49 @@ const $t = ({
6369
6369
  disabled: l = !1,
6370
6370
  onClick: c
6371
6371
  }) => {
6372
- const [o, d] = I(n), { theme: g } = o1($1), a = l ? g && g === "dark" ? L.GREY_LIGHT_4 : L.GREY_DARK_1 : s, h = l ? void 0 : c;
6373
- return D(() => {
6372
+ const [o, d] = S(n), { theme: g } = o1(Y1), a = l ? g && g === "dark" ? L.GREY_LIGHT_4 : L.GREY_DARK_1 : s, h = l ? void 0 : c;
6373
+ return T(() => {
6374
6374
  if (n) {
6375
6375
  h && !l && d(`${n} clickable`);
6376
6376
  return;
6377
6377
  }
6378
6378
  h && !l && d("clickable");
6379
- }, [h, n, l]), /* @__PURE__ */ r(q, { children: (() => {
6379
+ }, [h, n, l]), /* @__PURE__ */ r(X, { children: (() => {
6380
6380
  switch (i) {
6381
6381
  case "nextIcon":
6382
- return W2({ width: e, height: t, color: a, className: o, onClick: h });
6382
+ return G2({ width: e, height: t, color: a, className: o, onClick: h });
6383
6383
  case "prevIcon":
6384
- return j2({ width: e, height: t, color: a, className: o, onClick: h });
6384
+ return K2({ width: e, height: t, color: a, className: o, onClick: h });
6385
6385
  case "arrowUp":
6386
- return $t({ width: e, height: t, color: a, className: o, onClick: h });
6386
+ return Jt({ width: e, height: t, color: a, className: o, onClick: h });
6387
6387
  case "arrowDown":
6388
- return Ft({ width: e, height: t, color: a, className: o, onClick: h });
6388
+ return Qt({ width: e, height: t, color: a, className: o, onClick: h });
6389
6389
  case "info":
6390
- return Yt({ width: e, height: t, color: a, className: o, onClick: h });
6390
+ return qt({ width: e, height: t, color: a, className: o, onClick: h });
6391
6391
  case "arrowRight":
6392
- return Ut({ width: e, height: t, color: a, className: o, onClick: h });
6392
+ return Xt({ width: e, height: t, color: a, className: o, onClick: h });
6393
6393
  case "calendar":
6394
- return zt({ width: e, height: t, color: a, className: o, onClick: h });
6394
+ return e2({ width: e, height: t, color: a, className: o, onClick: h });
6395
6395
  case "ok":
6396
- return Jt({ width: e, height: t, color: a, className: o, onClick: h });
6396
+ return t2({ width: e, height: t, color: a, className: o, onClick: h });
6397
6397
  case "cancel":
6398
- return Qt({ width: e, height: t, color: a, className: o, onClick: h });
6398
+ return i2({ width: e, height: t, color: a, className: o, onClick: h });
6399
6399
  case "add":
6400
- return qt({ width: e, height: t, color: a, className: o, onClick: h });
6400
+ return s2({ width: e, height: t, color: a, className: o, onClick: h });
6401
6401
  case "list":
6402
- return Xt({ width: e, height: t, color: a, className: o, onClick: h });
6402
+ return n2({ width: e, height: t, color: a, className: o, onClick: h });
6403
6403
  case "dragAndDrop":
6404
- return e2({ width: e, height: t, color: a, className: o, onClick: h });
6404
+ return r2({ width: e, height: t, color: a, className: o, onClick: h });
6405
6405
  case "filter":
6406
- return t2({ width: e, height: t, color: a, className: o, onClick: h });
6406
+ return o2({ width: e, height: t, color: a, className: o, onClick: h });
6407
6407
  case "attention":
6408
- return i2({ width: e, height: t, color: a, className: o, onClick: h });
6408
+ return l2({ width: e, height: t, color: a, className: o, onClick: h });
6409
6409
  case "plus":
6410
- return s2({ width: e, height: t, color: a, className: o, onClick: h });
6410
+ return a2({ width: e, height: t, color: a, className: o, onClick: h });
6411
6411
  case "time":
6412
- return n2({ width: e, height: t, color: a, className: o, onClick: h });
6412
+ return h2({ width: e, height: t, color: a, className: o, onClick: h });
6413
6413
  case "arrowDownLong":
6414
- return r2({
6414
+ return c2({
6415
6415
  width: e,
6416
6416
  height: t,
6417
6417
  color: a,
@@ -6419,9 +6419,9 @@ const $t = ({
6419
6419
  onClick: h
6420
6420
  });
6421
6421
  case "users":
6422
- return o2({ width: e, height: t, color: a, className: o, onClick: h });
6422
+ return d2({ width: e, height: t, color: a, className: o, onClick: h });
6423
6423
  case "mySkillsMatrix":
6424
- return l2({
6424
+ return g2({
6425
6425
  width: e,
6426
6426
  height: t,
6427
6427
  color: a,
@@ -6429,9 +6429,9 @@ const $t = ({
6429
6429
  onClick: h
6430
6430
  });
6431
6431
  case "skills":
6432
- return a2({ width: e, height: t, color: a, className: o, onClick: h });
6432
+ return u2({ width: e, height: t, color: a, className: o, onClick: h });
6433
6433
  case "skillsMatrices":
6434
- return h2({
6434
+ return C2({
6435
6435
  width: e,
6436
6436
  height: t,
6437
6437
  color: a,
@@ -6439,23 +6439,23 @@ const $t = ({
6439
6439
  onClick: h
6440
6440
  });
6441
6441
  case "history":
6442
- return c2({ width: e, height: t, color: a, className: o, onClick: h });
6442
+ return p2({ width: e, height: t, color: a, className: o, onClick: h });
6443
6443
  case "logOut":
6444
- return d2({ width: e, height: t, color: a, className: o, onClick: h });
6444
+ return f2({ width: e, height: t, color: a, className: o, onClick: h });
6445
6445
  case "settings":
6446
- return g2({ width: e, height: t, color: a, className: o, onClick: h });
6446
+ return w2({ width: e, height: t, color: a, className: o, onClick: h });
6447
6447
  case "addSkill":
6448
- return u2({ width: e, height: t, color: a, className: o, onClick: h });
6448
+ return m2({ width: e, height: t, color: a, className: o, onClick: h });
6449
6449
  case "conversation":
6450
- return C2({ width: e, height: t, color: a, className: o, onClick: h });
6450
+ return k2({ width: e, height: t, color: a, className: o, onClick: h });
6451
6451
  case "trash":
6452
- return p2({ width: e, height: t, color: a, className: o, onClick: h });
6452
+ return L2({ width: e, height: t, color: a, className: o, onClick: h });
6453
6453
  case "settings4":
6454
- return f2({ width: e, height: t, color: a, className: o, onClick: h });
6454
+ return v2({ width: e, height: t, color: a, className: o, onClick: h });
6455
6455
  case "edit2":
6456
- return w2({ width: e, height: t, color: a, className: o, onClick: h });
6456
+ return N2({ width: e, height: t, color: a, className: o, onClick: h });
6457
6457
  case "notifications":
6458
- return m2({
6458
+ return x2({
6459
6459
  width: e,
6460
6460
  height: t,
6461
6461
  color: a,
@@ -6463,9 +6463,9 @@ const $t = ({
6463
6463
  onClick: h
6464
6464
  });
6465
6465
  case "success":
6466
- return k2({ width: e, height: t, color: a, className: o, onClick: h });
6466
+ return R2({ width: e, height: t, color: a, className: o, onClick: h });
6467
6467
  case "attentionSmall":
6468
- return L2({
6468
+ return M2({
6469
6469
  width: e,
6470
6470
  height: t,
6471
6471
  color: a,
@@ -6473,11 +6473,11 @@ const $t = ({
6473
6473
  onClick: h
6474
6474
  });
6475
6475
  case "errorSmall":
6476
- return v2({ width: e, height: t, color: a, className: o, onClick: h });
6476
+ return y2({ width: e, height: t, color: a, className: o, onClick: h });
6477
6477
  case "infoMedium":
6478
- return N2({ width: e, height: t, color: a, className: o, onClick: h });
6478
+ return b2({ width: e, height: t, color: a, className: o, onClick: h });
6479
6479
  case "attentionMedium":
6480
- return x2({
6480
+ return E2({
6481
6481
  width: e,
6482
6482
  height: t,
6483
6483
  color: a,
@@ -6485,9 +6485,9 @@ const $t = ({
6485
6485
  onClick: h
6486
6486
  });
6487
6487
  case "errorMedium":
6488
- return R2({ width: e, height: t, color: a, className: o, onClick: h });
6488
+ return V2({ width: e, height: t, color: a, className: o, onClick: h });
6489
6489
  case "faviconSkills":
6490
- return _2({
6490
+ return A2({
6491
6491
  width: e,
6492
6492
  height: t,
6493
6493
  color: a,
@@ -6495,7 +6495,7 @@ const $t = ({
6495
6495
  onClick: h
6496
6496
  });
6497
6497
  case "visibilityIcon":
6498
- return M2({
6498
+ return H2({
6499
6499
  width: e,
6500
6500
  height: t,
6501
6501
  color: a,
@@ -6503,7 +6503,7 @@ const $t = ({
6503
6503
  onClick: h
6504
6504
  });
6505
6505
  case "visibilityOffIcon":
6506
- return y2({
6506
+ return _2({
6507
6507
  width: e,
6508
6508
  height: t,
6509
6509
  color: a,
@@ -6511,7 +6511,7 @@ const $t = ({
6511
6511
  onClick: h
6512
6512
  });
6513
6513
  case "selectArrowIcon":
6514
- return b2({
6514
+ return I2({
6515
6515
  width: e,
6516
6516
  height: t,
6517
6517
  color: a,
@@ -6519,7 +6519,7 @@ const $t = ({
6519
6519
  onClick: h
6520
6520
  });
6521
6521
  case "expandArrowIcon":
6522
- return E2({
6522
+ return O2({
6523
6523
  width: e,
6524
6524
  height: t,
6525
6525
  color: a,
@@ -6527,7 +6527,7 @@ const $t = ({
6527
6527
  onClick: h
6528
6528
  });
6529
6529
  case "expandActiveArrowIcon":
6530
- return V2({
6530
+ return S2({
6531
6531
  width: e,
6532
6532
  height: t,
6533
6533
  color: a,
@@ -6535,109 +6535,109 @@ const $t = ({
6535
6535
  onClick: h
6536
6536
  });
6537
6537
  case "camera":
6538
- return H2({ width: e, height: t, color: a, className: o, onClick: h });
6538
+ return B2({ width: e, height: t, color: a, className: o, onClick: h });
6539
6539
  case "sortUp":
6540
- return I2({ width: e, height: t, color: a, className: o, onClick: h });
6540
+ return W2({ width: e, height: t, color: a, className: o, onClick: h });
6541
6541
  case "sortDown":
6542
- return S2({ width: e, height: t, color: a, className: o, onClick: h });
6542
+ return j2({ width: e, height: t, color: a, className: o, onClick: h });
6543
6543
  case "logOut2":
6544
- return O2({ width: e, height: t, color: a, className: o, onClick: h });
6544
+ return Z2({ width: e, height: t, color: a, className: o, onClick: h });
6545
6545
  case "search":
6546
- return A2({ width: e, height: t, color: a, className: o, onClick: h });
6546
+ return D2({ width: e, height: t, color: a, className: o, onClick: h });
6547
6547
  case "handRock":
6548
- return B2({ width: e, height: t, color: a, className: o, onClick: h });
6548
+ return T2({ width: e, height: t, color: a, className: o, onClick: h });
6549
6549
  case "arrowUpFilled":
6550
- return D2({ width: e, height: t, color: a, className: o, onClick: h });
6550
+ return $2({ width: e, height: t, color: a, className: o, onClick: h });
6551
6551
  case "arrowDownFilled":
6552
- return Z2({ width: e, height: t, color: a, className: o, onClick: h });
6552
+ return P2({ width: e, height: t, color: a, className: o, onClick: h });
6553
6553
  case "link":
6554
- return T2({ width: e, height: t, color: a, className: o, onClick: h });
6554
+ return F2({ width: e, height: t, color: a, className: o, onClick: h });
6555
6555
  case "telegram":
6556
- return K2({ width: e, height: t, color: a, className: o, onClick: h });
6556
+ return U2({ width: e, height: t, color: a, className: o, onClick: h });
6557
6557
  case "mail":
6558
- return $2({ width: e, height: t, color: a, className: o, onClick: h });
6558
+ return J2({ width: e, height: t, color: a, className: o, onClick: h });
6559
6559
  case "github":
6560
- return G2({ width: e, height: t, color: a, className: o, onClick: h });
6560
+ return Y2({ width: e, height: t, color: a, className: o, onClick: h });
6561
6561
  case "linkedIn":
6562
- return P2({ width: e, height: t, color: a, className: o, onClick: h });
6562
+ return z2({ width: e, height: t, color: a, className: o, onClick: h });
6563
6563
  case "emptyStateIcon":
6564
- return F2({ width: e, height: t, color: a, className: o, onClick: h });
6564
+ return Q2({ width: e, height: t, color: a, className: o, onClick: h });
6565
6565
  case "filtersIcon":
6566
- return Y2({ width: e, height: t, color: a, className: o, onClick: h });
6566
+ return q2({ width: e, height: t, color: a, className: o, onClick: h });
6567
6567
  case "dotMenuIcon":
6568
- return U2({ width: e, height: t, color: a, className: o, onClick: h });
6568
+ return X2({ width: e, height: t, color: a, className: o, onClick: h });
6569
6569
  case "plusCircle":
6570
- return z2({ width: e, height: t, color: a, className: o, onClick: h });
6570
+ return ei({ width: e, height: t, color: a, className: o, onClick: h });
6571
6571
  case "warning":
6572
- return J2({ width: e, height: t, color: a, className: o, onClick: h });
6572
+ return ti({ width: e, height: t, color: a, className: o, onClick: h });
6573
6573
  case "back":
6574
- return Q2({ width: e, height: t, color: a, className: o, onClick: h });
6574
+ return ii({ width: e, height: t, color: a, className: o, onClick: h });
6575
6575
  case "bell":
6576
- return q2({ width: e, height: t, color: a, className: o, onClick: h });
6576
+ return si({ width: e, height: t, color: a, className: o, onClick: h });
6577
6577
  case "contract":
6578
- return ei({ width: e, height: t, color: a, className: o, onClick: h });
6578
+ return ri({ width: e, height: t, color: a, className: o, onClick: h });
6579
6579
  case "trash2":
6580
- return X2({ width: e, height: t, color: a, className: o, onClick: h });
6580
+ return ni({ width: e, height: t, color: a, className: o, onClick: h });
6581
6581
  case "manager":
6582
- return ti({ width: e, height: t, color: a, className: o, onClick: h });
6582
+ return oi({ width: e, height: t, color: a, className: o, onClick: h });
6583
6583
  case "resourceManager":
6584
- return ii({ width: e, height: t, color: a, className: o, onClick: h });
6584
+ return li({ width: e, height: t, color: a, className: o, onClick: h });
6585
6585
  case "settings2":
6586
- return si({ width: e, height: t, color: a, className: o, onClick: h });
6586
+ return ai({ width: e, height: t, color: a, className: o, onClick: h });
6587
6587
  case "image":
6588
- return ni({ width: e, height: t, color: a, className: o, onClick: h });
6588
+ return hi({ width: e, height: t, color: a, className: o, onClick: h });
6589
6589
  case "upload":
6590
- return ri({ width: e, height: t, color: a, className: o, onClick: h });
6590
+ return ci({ width: e, height: t, color: a, className: o, onClick: h });
6591
6591
  case "edit":
6592
- return oi({ width: e, height: t, color: a, className: o, onClick: h });
6592
+ return di({ width: e, height: t, color: a, className: o, onClick: h });
6593
6593
  case "location":
6594
- return li({ width: e, height: t, color: a, className: o, onClick: h });
6594
+ return gi({ width: e, height: t, color: a, className: o, onClick: h });
6595
6595
  case "plus2":
6596
- return ai({ width: e, height: t, color: a, className: o, onClick: h });
6596
+ return ui({ width: e, height: t, color: a, className: o, onClick: h });
6597
6597
  case "search2":
6598
- return hi({ width: e, height: t, color: a, className: o, onClick: h });
6598
+ return Ci({ width: e, height: t, color: a, className: o, onClick: h });
6599
6599
  case "fastArrowLeft":
6600
- return ci({ width: e, height: t, color: a, className: o, onClick: h });
6600
+ return pi({ width: e, height: t, color: a, className: o, onClick: h });
6601
6601
  case "fastArrowRight":
6602
- return di({ width: e, height: t, color: a, className: o, onClick: h });
6602
+ return fi({ width: e, height: t, color: a, className: o, onClick: h });
6603
6603
  case "crossInCircle":
6604
- return gi({ width: e, height: t, color: a, className: o, onClick: h });
6604
+ return wi({ width: e, height: t, color: a, className: o, onClick: h });
6605
6605
  case "arrowUp2":
6606
- return Ci({ width: e, height: t, color: a, className: o, onClick: h });
6606
+ return ki({ width: e, height: t, color: a, className: o, onClick: h });
6607
6607
  case "arrowDown2":
6608
- return ui({ width: e, height: t, color: a, className: o, onClick: h });
6608
+ return mi({ width: e, height: t, color: a, className: o, onClick: h });
6609
6609
  case "filledArrowLeft":
6610
- return pi({ width: e, height: t, color: a, className: o, onClick: h });
6610
+ return Li({ width: e, height: t, color: a, className: o, onClick: h });
6611
6611
  case "filledArrowRight":
6612
- return fi({ width: e, height: t, color: a, className: o, onClick: h });
6612
+ return vi({ width: e, height: t, color: a, className: o, onClick: h });
6613
6613
  case "burgerMenu":
6614
- return wi({ width: e, height: t, color: a, className: o, onClick: h });
6614
+ return Ni({ width: e, height: t, color: a, className: o, onClick: h });
6615
6615
  case "signOut":
6616
- return mi({ width: e, height: t, color: a, className: o, onClick: h });
6616
+ return xi({ width: e, height: t, color: a, className: o, onClick: h });
6617
6617
  case "refresh":
6618
- return ki({ width: e, height: t, color: a, className: o, onClick: h });
6618
+ return Ri({ width: e, height: t, color: a, className: o, onClick: h });
6619
6619
  default:
6620
- return /* @__PURE__ */ r(q, { children: "No Icon provided" });
6620
+ return /* @__PURE__ */ r(X, { children: "No Icon provided" });
6621
6621
  }
6622
6622
  })() });
6623
6623
  };
6624
- var F1 = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_1 = "var(--grey-light-1)", i.GREY_LIGHT_2 = "var(--grey-light-2)", i.GREY_LIGHT_3 = "var(--grey-light-3)", i.GREY_LIGHT_4 = "var(--grey-light-4)", i.GREY_DARK_1 = "var(--grey-dark-1)", i.GREY_DARK_2 = "var(--grey-dark-2)", i.GREY_DARK_3 = "var(--grey-dark-3)", i.GREY_DARK_4 = "var(--grey-dark-4)", i.GREY_DARK_5 = "var(--grey-dark-5)", i.BLUE_PRIMARY = "var(--blue-primary)", i.BLUE_HOVER = "var(--blue-hover)", i.BLUE_LIGHT_1 = "var(--blue-light-1)", i.BLUE_LIGHT_2 = "var(--blue-light-2)", i.BLUE_LIGHT_3 = "var(--blue-light-3)", i.BLUE_LIGHT_4 = "var(--blue-light-4)", i.BLUE_DARK_1 = "var(--blue-dark-1)", i.PURPLE_LIGHT = "var(--purple-light)", i.PURPLE_DARK = "var(--purple-dark)", i.NOTIFICATION_WARNING_LIGHT = "var(--notification-warning-light)", i.NOTIFICATION_WARNING_DARK = "var(--notification-warning-dark)", i.NOTIFICATION_SUCCESS_LIGHT = "var(--notification-success-light)", i.NOTIFICATION_SUCCESS_DARK = "var(--notification-success-dark)", i.NOTIFICATION_ERROR_LIGHT = "var(--notification-error-light)", i.NOTIFICATION_ERROR_DARK = "var(--notification-error-dark)", i.NOTIFICATION_ERROR_DARK_MODE = "var(--notification-error-dark-mode)", i))(F1 || {});
6625
- const vi = n1({
6624
+ var U1 = /* @__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))(U1 || {});
6625
+ const yi = n1({
6626
6626
  locale: "en",
6627
6627
  theme: "light"
6628
6628
  });
6629
- vi.Provider;
6630
- const Y1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: n = !0 }) => {
6629
+ yi.Provider;
6630
+ const z1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: n = !0 }) => {
6631
6631
  const l = t === "small" ? 10 : 12.5;
6632
6632
  return /* @__PURE__ */ r(
6633
- G1,
6633
+ P1,
6634
6634
  {
6635
6635
  className: `snmt-tag ${t}`,
6636
6636
  closeIcon: /* @__PURE__ */ r(
6637
- Li,
6637
+ Mi,
6638
6638
  {
6639
6639
  name: "errorSmall",
6640
- color: F1.GREY_DARK_2,
6640
+ color: U1.GREY_DARK_2,
6641
6641
  width: l,
6642
6642
  height: l,
6643
6643
  onClick: s
@@ -6646,15 +6646,15 @@ const Y1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: n
6646
6646
  bordered: !1,
6647
6647
  style: { width: e ?? "fit-content" },
6648
6648
  closable: n,
6649
- children: typeof i == "string" ? /* @__PURE__ */ r(Pt, { variant: t === "small" ? "body4" : "body2", children: i }) : i
6649
+ children: typeof i == "string" ? /* @__PURE__ */ r(zt, { variant: t === "small" ? "body4" : "body2", children: i }) : i
6650
6650
  }
6651
6651
  );
6652
- }, { Title: Ni, Text: xi } = T1, Ri = {
6652
+ }, { Title: bi, Text: Ei } = K1, Vi = {
6653
6653
  h1: 1,
6654
6654
  h2: 2,
6655
6655
  h3: 3,
6656
6656
  h4: 4
6657
- }, U1 = r1(
6657
+ }, J1 = r1(
6658
6658
  ({
6659
6659
  align: i = "inherit",
6660
6660
  variant: e = "body1",
@@ -6667,17 +6667,17 @@ const Y1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: n
6667
6667
  const d = e === "h1" || e === "h2" || e === "h3" || e === "h4";
6668
6668
  let g = `snmt-typography snmt-typography-${e}`;
6669
6669
  return i && i !== "inherit" && (g += ` snmt-typography-align-${i}`), l && (g += " collapsed"), d ? /* @__PURE__ */ r(
6670
- Ni,
6670
+ bi,
6671
6671
  {
6672
6672
  className: g,
6673
6673
  style: { color: t, whiteSpace: c },
6674
6674
  onClick: n,
6675
- level: Ri[e],
6675
+ level: Vi[e],
6676
6676
  ref: o,
6677
6677
  children: s
6678
6678
  }
6679
6679
  ) : /* @__PURE__ */ r(
6680
- xi,
6680
+ Ei,
6681
6681
  {
6682
6682
  className: g,
6683
6683
  style: { color: t, whiteSpace: c },
@@ -6687,7 +6687,7 @@ const Y1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: n
6687
6687
  }
6688
6688
  );
6689
6689
  }
6690
- ), Mi = ({
6690
+ ), Hi = ({
6691
6691
  children: i,
6692
6692
  content: e,
6693
6693
  isOpen: t,
@@ -6695,9 +6695,9 @@ const Y1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: n
6695
6695
  placement: n = "topRight",
6696
6696
  noPadding: l = !1
6697
6697
  }) => {
6698
- const [c, o] = I(!1);
6698
+ const [c, o] = S(!1);
6699
6699
  return /* @__PURE__ */ r(
6700
- ae,
6700
+ ue,
6701
6701
  {
6702
6702
  content: e,
6703
6703
  arrow: !1,
@@ -6711,7 +6711,7 @@ const Y1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: n
6711
6711
  children: /* @__PURE__ */ r("div", { className: "wrapper", children: i })
6712
6712
  }
6713
6713
  );
6714
- }, yi = ({
6714
+ }, _i = ({
6715
6715
  values: i,
6716
6716
  onTagClose: e,
6717
6717
  maxWidth: t,
@@ -6719,8 +6719,8 @@ const Y1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: n
6719
6719
  options: n,
6720
6720
  extraOptions: l
6721
6721
  }) => {
6722
- const [c, o] = I(!1);
6723
- D(() => {
6722
+ const [c, o] = S(!1);
6723
+ T(() => {
6724
6724
  i.length || o(!1);
6725
6725
  }, [i]);
6726
6726
  const d = (a) => {
@@ -6733,12 +6733,12 @@ const Y1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: n
6733
6733
  return ((h = n == null ? void 0 : n.find((p) => p.value === a)) == null ? void 0 : h.label) || ((C = l == null ? void 0 : l.find((p) => p.value === a)) == null ? void 0 : C.label) || a;
6734
6734
  };
6735
6735
  return /* @__PURE__ */ r("div", { onMouseDown: d, className: "wrapper", children: /* @__PURE__ */ r(
6736
- Mi,
6736
+ Hi,
6737
6737
  {
6738
6738
  content: (
6739
6739
  // 90: paddings + margins + gaps and so on
6740
- /* @__PURE__ */ r("div", { style: { maxWidth: t - 90 }, children: /* @__PURE__ */ r(h1, { gap: 6, flexWrap: "wrap", children: i.map(({ value: a }) => /* @__PURE__ */ r(
6741
- Y1,
6740
+ /* @__PURE__ */ r("div", { style: { maxWidth: t - 90 }, children: /* @__PURE__ */ r(c1, { gap: 6, flexWrap: "wrap", children: i.map(({ value: a }) => /* @__PURE__ */ r(
6741
+ z1,
6742
6742
  {
6743
6743
  onClose: () => e(a),
6744
6744
  closable: !s,
@@ -6750,13 +6750,13 @@ const Y1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: n
6750
6750
  placement: "bottomRight",
6751
6751
  isOpen: c,
6752
6752
  setIsOpen: o,
6753
- children: /* @__PURE__ */ r(G1, { className: `overflow-button ${c ? "open" : ""}`, bordered: !1, children: /* @__PURE__ */ u(U1, { variant: "body4", color: c ? Q.BLUE_PRIMARY : void 0, children: [
6753
+ children: /* @__PURE__ */ r(P1, { className: `overflow-button ${c ? "open" : ""}`, bordered: !1, children: /* @__PURE__ */ u(J1, { variant: "body4", color: c ? q.BLUE_PRIMARY : void 0, children: [
6754
6754
  i.length,
6755
6755
  " more"
6756
6756
  ] }) })
6757
6757
  }
6758
6758
  ) });
6759
- }, bi = ({ size: i = 30, color: e = "#004ed7" }) => {
6759
+ }, y1 = ({ size: i = 30, color: e = "#004ed7" }) => {
6760
6760
  const t = `no-repeat linear-gradient(${e}
6761
6761
  calc(50% - 10px), #0000 0 calc(50% + 10px), ${e} 0)`, s = {
6762
6762
  width: i,
@@ -6764,7 +6764,7 @@ const Y1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: n
6764
6764
  backgroundSize: "20% calc(200% + 20px)"
6765
6765
  };
6766
6766
  return /* @__PURE__ */ r("span", { className: "snmt-loader", style: s });
6767
- }, M1 = r1(
6767
+ }, b1 = r1(
6768
6768
  ({
6769
6769
  value: i,
6770
6770
  onChange: e,
@@ -6780,142 +6780,165 @@ const Y1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: n
6780
6780
  onDropdownVisibleChange: h,
6781
6781
  onScrollToEnd: C,
6782
6782
  onPopupScroll: p,
6783
- id: w,
6783
+ id: v,
6784
6784
  extraOptions: N,
6785
- isLoading: x
6786
- }, V) => {
6787
- const [y, H] = I(!1), [f, m] = I(!1), [M, R] = I(!0), [b, O] = I(i), E = p1(null);
6788
- D(() => {
6789
- O(i);
6785
+ dropdownRender: x,
6786
+ optionRender: V,
6787
+ isLoading: y,
6788
+ readOnly: E
6789
+ }, f) => {
6790
+ const [m, M] = S(!1), [R, H] = S(!1), [W, A] = S(!0), [_, G] = S(i), Z = f1(null);
6791
+ T(() => {
6792
+ G(i);
6790
6793
  }, [i]);
6791
- const W = (v) => {
6792
- H(v), h && h(v);
6793
- }, P = (v, _) => {
6794
- var Z;
6795
- return !!((Z = _ == null ? void 0 : _.label) != null && Z.toString().toLowerCase().includes(v.toLowerCase()));
6796
- }, j = () => {
6797
- m(!0);
6798
- }, B = () => {
6799
- m(!1);
6800
- }, T = (v) => {
6801
- if (O(v), s) {
6802
- const Z = v;
6803
- e == null || e(Z);
6804
- return;
6805
- }
6806
- const _ = v;
6807
- e == null || e(_);
6794
+ const O = (w) => {
6795
+ M(w), h && h(w);
6796
+ }, $ = (w, I) => {
6797
+ var D;
6798
+ return !!((D = I == null ? void 0 : I.label) != null && D.toString().toLowerCase().includes(w.toLowerCase()));
6799
+ }, Y = () => {
6800
+ H(!0);
6808
6801
  }, U = () => {
6809
- if (s) {
6810
- T([]);
6811
- return;
6802
+ H(!1);
6803
+ }, b = j(
6804
+ (w) => {
6805
+ if (G(w), s) {
6806
+ const D = w;
6807
+ e == null || e(D);
6808
+ return;
6809
+ }
6810
+ const I = w;
6811
+ e == null || e(I);
6812
+ },
6813
+ [s, e]
6814
+ ), F = j(() => {
6815
+ if (!E) {
6816
+ if (s) {
6817
+ b([]);
6818
+ return;
6819
+ }
6820
+ b("");
6812
6821
  }
6813
- T("");
6814
- }, X = (v) => {
6815
- const _ = b.filter((Z) => Z !== v);
6816
- T(_), O(_);
6817
- }, A = (v) => (b == null ? void 0 : b.indexOf(v)) === 0 ? (
6818
- // if the search input is empty
6819
- // then display the placeholder, else do not display it
6820
- /* @__PURE__ */ r("span", { className: "custom-placeholder", children: M ? t : "" })
6821
- ) : /* @__PURE__ */ r(q, {}), K = (v) => {
6822
- v.preventDefault(), v.stopPropagation();
6823
- }, F = async (v) => {
6824
- const { target: _ } = v;
6825
- _.scrollTop + _.offsetHeight >= _.scrollHeight - g && (C == null || C(!0)), p && await p(v);
6826
- }, e1 = (v) => {
6827
- var _, Z;
6828
- return ((_ = l.find((w1) => w1.value === v)) == null ? void 0 : _.label) || ((Z = N == null ? void 0 : N.find((w1) => w1.value === v)) == null ? void 0 : Z.label) || v;
6829
- };
6830
- function ee(v) {
6831
- var _;
6832
- return /* @__PURE__ */ r(
6833
- yi,
6834
- {
6835
- values: v,
6836
- onTagClose: X,
6837
- maxWidth: ((_ = E.current) == null ? void 0 : _.clientWidth) || 0,
6838
- disabled: o,
6839
- options: l,
6840
- extraOptions: N
6841
- }
6842
- );
6843
- }
6844
- function te({ label: v, value: _, mode: Z }) {
6845
- return Z === "filter" ? A(_) : /* @__PURE__ */ r("div", { onMouseDown: K, className: "tag-wrapper", children: /* @__PURE__ */ r(Y1, { onClose: () => X(_), closable: !o, children: /* @__PURE__ */ r(U1, { variant: "body4", children: typeof v == "object" ? v : e1(_) }) }) });
6846
- }
6822
+ }, [b, s, E]), K = j(
6823
+ (w) => {
6824
+ const I = _.filter((D) => D !== w);
6825
+ b(I), G(I);
6826
+ },
6827
+ [b, _]
6828
+ ), e1 = j(
6829
+ (w) => (_ == null ? void 0 : _.indexOf(w)) === 0 ? (
6830
+ // if the search input is empty
6831
+ // then display the placeholder, else do not display it
6832
+ /* @__PURE__ */ r("span", { className: "custom-placeholder", children: W ? t : "" })
6833
+ ) : /* @__PURE__ */ r(X, {}),
6834
+ [W, _, t]
6835
+ ), ie = (w) => {
6836
+ w.preventDefault(), w.stopPropagation();
6837
+ }, se = async (w) => {
6838
+ const { target: I } = w;
6839
+ I.scrollTop + I.offsetHeight >= I.scrollHeight - g && (C == null || C(!0)), p && await p(w);
6840
+ }, m1 = j(
6841
+ (w) => {
6842
+ var I, D;
6843
+ return ((I = l.find((k1) => k1.value === w)) == null ? void 0 : I.label) || ((D = N == null ? void 0 : N.find(
6844
+ (k1) => k1.value === w
6845
+ )) == null ? void 0 : D.label) || w;
6846
+ },
6847
+ [N, l]
6848
+ ), ne = j(
6849
+ (w) => {
6850
+ var I;
6851
+ return /* @__PURE__ */ r(
6852
+ _i,
6853
+ {
6854
+ values: w,
6855
+ onTagClose: K,
6856
+ maxWidth: ((I = Z.current) == null ? void 0 : I.clientWidth) || 0,
6857
+ disabled: o || E,
6858
+ options: l,
6859
+ extraOptions: N
6860
+ }
6861
+ );
6862
+ },
6863
+ [o, N, K, l, E]
6864
+ ), re = j(
6865
+ ({ label: w, value: I, mode: D }) => D === "filter" ? e1(I) : /* @__PURE__ */ r("div", { onMouseDown: ie, className: "tag-wrapper", children: /* @__PURE__ */ r(z1, { onClose: () => K(I), closable: !o, children: /* @__PURE__ */ r(J1, { variant: "body4", children: typeof w == "object" ? w : m1(I) }) }) }),
6866
+ [o, m1, K, e1]
6867
+ );
6847
6868
  return /* @__PURE__ */ u(
6848
6869
  "div",
6849
6870
  {
6850
- className: `snmt-select ${f ? "snmt-select-focused" : ""}
6851
- ${s ? "" : "snmt-select-single"}`,
6852
- ref: E,
6871
+ className: `snmt-select ${R ? "snmt-select-focused" : ""}
6872
+ ${s ? "" : "snmt-select-single"} ${E ? "snmt-select-read-only" : ""}`,
6873
+ ref: Z,
6853
6874
  style: { width: c },
6854
6875
  children: [
6855
6876
  /* @__PURE__ */ r(
6856
- ne,
6877
+ he,
6857
6878
  {
6858
6879
  className: "snmt-select-blank",
6859
- id: w,
6860
- ref: V,
6880
+ popupClassName: E ? "dropdown-read-only" : "",
6881
+ id: v,
6882
+ ref: f,
6861
6883
  showSearch: !!n,
6862
- filterOption: n && P,
6863
- onDropdownVisibleChange: W,
6884
+ filterOption: n && $,
6885
+ onDropdownVisibleChange: O,
6864
6886
  placeholder: t ? d ? `${t}*` : t : void 0,
6865
6887
  disabled: o,
6866
- value: b || void 0,
6867
- labelRender: (v) => e1(v.value),
6888
+ value: _ || void 0,
6889
+ labelRender: (w) => m1(w.value),
6868
6890
  mode: s === "filter" ? "multiple" : s,
6869
- onChange: T,
6870
- onFocus: j,
6871
- onBlur: B,
6872
- onSearch: (v) => {
6873
- R(!v), a && a(v);
6891
+ onChange: b,
6892
+ onFocus: Y,
6893
+ onBlur: U,
6894
+ onSearch: (w) => {
6895
+ A(!w), a && a(w);
6874
6896
  },
6875
- onSelect: () => R(!0),
6876
- onDeselect: () => R(!0),
6877
- tagRender: (v) => te({ ...v, mode: s }),
6897
+ onSelect: () => A(!0),
6898
+ onDeselect: () => A(!0),
6899
+ tagRender: (w) => re({ ...w, mode: s }),
6878
6900
  maxTagCount: "responsive",
6879
- maxTagPlaceholder: ee,
6880
- onPopupScroll: F,
6881
- suffixIcon: /* @__PURE__ */ r("div", { className: "wrapper-suffix-icon", children: s !== "filter" && /* @__PURE__ */ u(q, { children: [
6882
- s && b && !!b.length && /* @__PURE__ */ r("div", { onClick: U, children: /* @__PURE__ */ r(l1, { name: "cancel" }) }),
6901
+ maxTagPlaceholder: ne,
6902
+ onPopupScroll: se,
6903
+ prefix: E && !i && /* @__PURE__ */ r(y1, { size: 15 }),
6904
+ suffixIcon: /* @__PURE__ */ r("div", { className: "wrapper-suffix-icon", children: s !== "filter" && /* @__PURE__ */ u(X, { children: [
6905
+ s && _ && !!_.length && /* @__PURE__ */ r("div", { onClick: F, children: /* @__PURE__ */ r(l1, { name: "cancel" }) }),
6883
6906
  /* @__PURE__ */ r(
6884
6907
  l1,
6885
6908
  {
6886
6909
  name: "selectArrowIcon",
6887
- color: o ? Q.GREY_DARK_1 : Q.GREY_DARK_5,
6888
- className: y ? "select-arrow-rotated" : "select-arrow",
6889
- onClick: () => H(!y)
6910
+ color: o ? q.GREY_DARK_1 : q.GREY_DARK_5,
6911
+ className: m ? "select-arrow-rotated" : "select-arrow",
6912
+ onClick: () => M(!m)
6890
6913
  }
6891
6914
  )
6892
6915
  ] }) }),
6893
- removeIcon: /* @__PURE__ */ r(l1, { name: "errorSmall", color: Q.GREY_DARK_2 }),
6916
+ removeIcon: /* @__PURE__ */ r(l1, { name: "errorSmall", color: q.GREY_DARK_2 }),
6894
6917
  options: l,
6895
- optionRender: (v) => /* @__PURE__ */ u(h1, { justifyContent: "space-between", alignItems: "center", flex: "1", children: [
6896
- /* @__PURE__ */ u(h1, { alignItems: "center", gap: 12, children: [
6918
+ optionRender: (w) => V ? V(w.data) : /* @__PURE__ */ u(c1, { justifyContent: "space-between", alignItems: "center", flex: "1", children: [
6919
+ /* @__PURE__ */ u(c1, { alignItems: "center", gap: 12, children: [
6897
6920
  s && /* @__PURE__ */ r(
6898
- de,
6921
+ fe,
6899
6922
  {
6900
- checked: !!(b != null && b.includes(v.value))
6923
+ checked: !!(_ != null && _.includes(w.value))
6901
6924
  }
6902
6925
  ),
6903
- /* @__PURE__ */ u(h1, { alignItems: "center", gap: 8, children: [
6904
- v.data.image && /* @__PURE__ */ r(ce, { src: v.data.image, size: 20 }),
6905
- /* @__PURE__ */ r("span", { children: v.label })
6926
+ /* @__PURE__ */ u(c1, { alignItems: "center", gap: 8, children: [
6927
+ w.data.image && /* @__PURE__ */ r(pe, { src: w.data.image, size: 20 }),
6928
+ /* @__PURE__ */ r("span", { children: w.label })
6906
6929
  ] })
6907
6930
  ] }),
6908
- !s && b === v.value && /* @__PURE__ */ r(
6931
+ !s && _ === w.value && /* @__PURE__ */ r(
6909
6932
  l1,
6910
6933
  {
6911
6934
  name: "ok",
6912
- color: Q.BLUE_PRIMARY,
6935
+ color: q.BLUE_PRIMARY,
6913
6936
  width: 16,
6914
6937
  height: 16
6915
6938
  }
6916
6939
  )
6917
6940
  ] }),
6918
- dropdownRender: x ? () => /* @__PURE__ */ r(
6941
+ dropdownRender: y ? () => /* @__PURE__ */ r(
6919
6942
  "div",
6920
6943
  {
6921
6944
  style: {
@@ -6923,15 +6946,15 @@ const Y1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: n
6923
6946
  display: "grid",
6924
6947
  justifyContent: "center"
6925
6948
  },
6926
- children: /* @__PURE__ */ r(bi, { size: 28 })
6949
+ children: /* @__PURE__ */ r(y1, { size: 28 })
6927
6950
  }
6928
- ) : void 0
6951
+ ) : (w) => x ? x(w) : w
6929
6952
  }
6930
6953
  ),
6931
6954
  /* @__PURE__ */ r(
6932
6955
  "fieldset",
6933
6956
  {
6934
- className: `${f ? "fieldset-focused" : ""}
6957
+ className: `${R ? "fieldset-focused" : ""}
6935
6958
  ${o ? "fieldset-disabled" : ""}
6936
6959
  ${typeof i == "string" && i ? "fieldset-filled" : ""}
6937
6960
  ${typeof i == "object" && i != null && i.length ? "fieldset-filled" : ""}`,
@@ -6943,9 +6966,9 @@ const Y1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: n
6943
6966
  );
6944
6967
  }
6945
6968
  );
6946
- function Ei(i, e = 500) {
6947
- const t = p1();
6948
- return D(() => () => {
6969
+ function Ii(i, e = 500) {
6970
+ const t = f1();
6971
+ return T(() => () => {
6949
6972
  t.current && clearTimeout(t.current);
6950
6973
  }, []), (...s) => {
6951
6974
  const n = setTimeout(() => {
@@ -6954,10 +6977,10 @@ function Ei(i, e = 500) {
6954
6977
  clearTimeout(t.current), t.current = n;
6955
6978
  };
6956
6979
  }
6957
- const m1 = {
6980
+ const a1 = {
6958
6981
  limit: 100,
6959
6982
  offset: 0
6960
- }, y1 = r1(
6983
+ }, E1 = r1(
6961
6984
  ({
6962
6985
  loadOptions: i,
6963
6986
  width: e,
@@ -6969,66 +6992,77 @@ const m1 = {
6969
6992
  placeholder: o,
6970
6993
  mode: d,
6971
6994
  loadOnClosedState: g,
6972
- extraOptions: a
6973
- }, h) => {
6974
- const [C, p] = I([]), [w, N] = I(m1), [x, V] = I(!1), [y, H] = I(null), f = $(
6975
- async (E = !1, W) => {
6976
- if (!x) {
6977
- V(!0);
6995
+ extraOptions: a,
6996
+ onDropdownVisibleChange: h,
6997
+ optionRender: C,
6998
+ dropdownRender: p,
6999
+ readOnly: v
7000
+ }, N) => {
7001
+ const [x, V] = S([]), [y, E] = S(a1), [f, m] = S(!1), [M, R] = S(null), H = j(
7002
+ async (O = !1, $) => {
7003
+ if (!f) {
7004
+ m(!0);
6978
7005
  try {
6979
- const P = E ? { ...m1, search: W } : w, j = await i(P);
6980
- p(
6981
- (B) => E ? j.options : [...B, ...j.options]
6982
- ), H(j.count), N((B) => ({
6983
- ...B,
6984
- offset: B.offset + B.limit
7006
+ const Y = O ? { ...a1, search: $ } : y, U = await i(Y);
7007
+ V(
7008
+ (b) => O ? U.options : [...b, ...U.options]
7009
+ ), R(U.count), E((b) => ({
7010
+ ...b,
7011
+ offset: b.offset + b.limit
6985
7012
  }));
6986
7013
  } finally {
6987
- V(!1);
7014
+ m(!1);
6988
7015
  }
6989
7016
  }
6990
7017
  },
6991
- [w, i, x]
6992
- ), m = Ei(f), M = $(
6993
- (E) => {
6994
- (E === "" || E === void 0 || E === null) && N(m1), m(!0, E);
7018
+ [y, i, f]
7019
+ ), W = Ii(H), A = j(
7020
+ (O) => {
7021
+ O === "" || O === void 0 || O === null ? (E(a1), W(!0)) : W(!0, O);
6995
7022
  },
6996
- [m]
6997
- ), R = async (E) => {
6998
- E && y !== null && y > C.length && await f(!1);
6999
- }, b = $(
7000
- (E) => {
7001
- E && !g && f(!1);
7023
+ [W]
7024
+ ), _ = async (O) => {
7025
+ O && M !== null && M > x.length && await H(!1);
7026
+ }, G = j(
7027
+ (O) => {
7028
+ O && !g && H(!1), h && h(O);
7002
7029
  },
7003
7030
  // eslint-disable-next-line
7004
7031
  [g]
7005
7032
  );
7006
- D(() => {
7007
- g && f(!1);
7033
+ T(() => {
7034
+ g && H(!1);
7008
7035
  }, []);
7009
- const O = {
7036
+ const Z = {
7010
7037
  id: n,
7011
7038
  width: e,
7012
- options: C,
7039
+ options: x,
7013
7040
  onChange: t,
7014
- ref: h,
7041
+ ref: N,
7015
7042
  placeholder: o,
7016
7043
  search: !0,
7017
7044
  value: s,
7018
- onSearchChange: M,
7019
- onDropdownVisibleChange: b,
7045
+ onSearchChange: A,
7046
+ onDropdownVisibleChange: G,
7020
7047
  scrollThresholdValue: c,
7021
- onScrollToEnd: R,
7048
+ onScrollToEnd: _,
7022
7049
  loadOnClosedState: g,
7023
7050
  disabled: l,
7024
7051
  extraOptions: a,
7025
- isLoading: x
7052
+ isLoading: f,
7053
+ optionRender: C,
7054
+ dropdownRender: p,
7055
+ readOnly: v
7026
7056
  };
7027
- return d ? /* @__PURE__ */ r(M1, { ...O, onChange: t, value: s, mode: d }) : /* @__PURE__ */ r("div", { className: "snmt-async-select", children: /* @__PURE__ */ r(M1, { ...O, onChange: t, value: s }) });
7057
+ return ae(N, () => ({
7058
+ refetchOptions: async () => {
7059
+ E(a1), await H(!0);
7060
+ }
7061
+ })), d ? /* @__PURE__ */ r(b1, { ...Z, onChange: t, value: s, mode: d }) : /* @__PURE__ */ r("div", { className: "snmt-async-select", children: /* @__PURE__ */ r(b1, { ...Z, onChange: t, value: s }) });
7028
7062
  }
7029
7063
  );
7030
- var c1 = /* @__PURE__ */ ((i) => (i.ACTIVE = "Active", i.ARCHIVED = "Archived", i))(c1 || {});
7031
- const Vi = ({ size: i = 30, color: e = "#004ed7" }) => {
7064
+ var d1 = /* @__PURE__ */ ((i) => (i.ACTIVE = "Active", i.ARCHIVED = "Archived", i))(d1 || {});
7065
+ const Oi = ({ size: i = 30, color: e = "#004ed7" }) => {
7032
7066
  const t = `no-repeat linear-gradient(${e}
7033
7067
  calc(50% - 10px), #0000 0 calc(50% + 10px), ${e} 0)`, s = {
7034
7068
  width: i,
@@ -7037,20 +7071,20 @@ const Vi = ({ size: i = 30, color: e = "#004ed7" }) => {
7037
7071
  };
7038
7072
  return /* @__PURE__ */ r("span", { className: "snmt-loader", style: s });
7039
7073
  };
7040
- function _i() {
7074
+ function Si() {
7041
7075
  if (console && console.warn) {
7042
7076
  for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
7043
7077
  e[t] = arguments[t];
7044
- Y(e[0]) && (e[0] = `react-i18next:: ${e[0]}`), console.warn(...e);
7078
+ z(e[0]) && (e[0] = `react-i18next:: ${e[0]}`), console.warn(...e);
7045
7079
  }
7046
7080
  }
7047
- const b1 = {};
7048
- function v1() {
7081
+ const V1 = {};
7082
+ function N1() {
7049
7083
  for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
7050
7084
  e[t] = arguments[t];
7051
- Y(e[0]) && b1[e[0]] || (Y(e[0]) && (b1[e[0]] = /* @__PURE__ */ new Date()), _i(...e));
7085
+ z(e[0]) && V1[e[0]] || (z(e[0]) && (V1[e[0]] = /* @__PURE__ */ new Date()), Si(...e));
7052
7086
  }
7053
- const z1 = (i, e) => () => {
7087
+ const Q1 = (i, e) => () => {
7054
7088
  if (i.isInitialized)
7055
7089
  e();
7056
7090
  else {
@@ -7061,13 +7095,13 @@ const z1 = (i, e) => () => {
7061
7095
  };
7062
7096
  i.on("initialized", t);
7063
7097
  }
7064
- }, E1 = (i, e, t) => {
7065
- i.loadNamespaces(e, z1(i, t));
7066
- }, V1 = (i, e, t, s) => {
7067
- Y(t) && (t = [t]), t.forEach((n) => {
7098
+ }, H1 = (i, e, t) => {
7099
+ i.loadNamespaces(e, Q1(i, t));
7100
+ }, _1 = (i, e, t, s) => {
7101
+ z(t) && (t = [t]), t.forEach((n) => {
7068
7102
  i.options.ns.indexOf(n) < 0 && i.options.ns.push(n);
7069
- }), i.loadLanguages(e, z1(i, s));
7070
- }, Hi = function(i, e) {
7103
+ }), i.loadLanguages(e, Q1(i, s));
7104
+ }, Ai = function(i, e) {
7071
7105
  let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
7072
7106
  const s = e.languages[0], n = e.options ? e.options.fallbackLng : !1, l = e.languages[e.languages.length - 1];
7073
7107
  if (s.toLowerCase() === "cimode") return !0;
@@ -7076,15 +7110,15 @@ const z1 = (i, e) => () => {
7076
7110
  return g === -1 || g === 2;
7077
7111
  };
7078
7112
  return t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && e.services.backendConnector.backend && e.isLanguageChangingTo && !c(e.isLanguageChangingTo, i) ? !1 : !!(e.hasResourceBundle(s, i) || !e.services.backendConnector.backend || e.options.resources && !e.options.partialBundledLanguages || c(s, i) && (!n || c(l, i)));
7079
- }, Ii = function(i, e) {
7113
+ }, Bi = function(i, e) {
7080
7114
  let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
7081
- return !e.languages || !e.languages.length ? (v1("i18n.languages were undefined or empty", e.languages), !0) : e.options.ignoreJSONStructure !== void 0 ? e.hasLoadedNamespace(i, {
7115
+ return !e.languages || !e.languages.length ? (N1("i18n.languages were undefined or empty", e.languages), !0) : e.options.ignoreJSONStructure !== void 0 ? e.hasLoadedNamespace(i, {
7082
7116
  lng: t.lng,
7083
7117
  precheck: (n, l) => {
7084
7118
  if (t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && n.services.backendConnector.backend && n.isLanguageChangingTo && !l(n.isLanguageChangingTo, i)) return !1;
7085
7119
  }
7086
- }) : Hi(i, e, t);
7087
- }, Y = (i) => typeof i == "string", Si = (i) => typeof i == "object" && i !== null, Oi = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, Ai = {
7120
+ }) : Ai(i, e, t);
7121
+ }, z = (i) => typeof i == "string", Wi = (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, Zi = {
7088
7122
  "&amp;": "&",
7089
7123
  "&#38;": "&",
7090
7124
  "&lt;": "<",
@@ -7105,8 +7139,8 @@ const z1 = (i, e) => () => {
7105
7139
  "&#8230;": "…",
7106
7140
  "&#x2F;": "/",
7107
7141
  "&#47;": "/"
7108
- }, Bi = (i) => Ai[i], Wi = (i) => i.replace(Oi, Bi);
7109
- let N1 = {
7142
+ }, Di = (i) => Zi[i], Ti = (i) => i.replace(ji, Di);
7143
+ let x1 = {
7110
7144
  bindI18n: "languageChanged",
7111
7145
  bindI18nStore: "",
7112
7146
  transEmptyNodeValue: "",
@@ -7114,27 +7148,27 @@ let N1 = {
7114
7148
  transWrapTextNodes: "",
7115
7149
  transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"],
7116
7150
  useSuspense: !0,
7117
- unescape: Wi
7151
+ unescape: Ti
7118
7152
  };
7119
- const ji = function() {
7153
+ const Gi = function() {
7120
7154
  let i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
7121
- N1 = {
7122
- ...N1,
7155
+ x1 = {
7156
+ ...x1,
7123
7157
  ...i
7124
7158
  };
7125
- }, Zi = () => N1;
7126
- let J1;
7127
- const Di = (i) => {
7128
- J1 = i;
7129
- }, Ti = () => J1, Gi = {
7159
+ }, Ki = () => x1;
7160
+ let q1;
7161
+ const Pi = (i) => {
7162
+ q1 = i;
7163
+ }, $i = () => q1, Fi = {
7130
7164
  type: "3rdParty",
7131
7165
  init(i) {
7132
- ji(i.options.react), Di(i);
7166
+ Gi(i.options.react), Pi(i);
7133
7167
  }
7134
- }, Ki = n1();
7135
- class Pi {
7168
+ }, Yi = n1();
7169
+ class Ui {
7136
7170
  constructor() {
7137
- R1(this, "getUsedNamespaces", () => Object.keys(this.usedNamespaces));
7171
+ M1(this, "getUsedNamespaces", () => Object.keys(this.usedNamespaces));
7138
7172
  this.usedNamespaces = {};
7139
7173
  }
7140
7174
  addUsedNamespaces(e) {
@@ -7143,27 +7177,27 @@ class Pi {
7143
7177
  });
7144
7178
  }
7145
7179
  }
7146
- const $i = (i, e) => {
7147
- const t = p1();
7148
- return D(() => {
7180
+ const zi = (i, e) => {
7181
+ const t = f1();
7182
+ return T(() => {
7149
7183
  t.current = i;
7150
7184
  }, [i, e]), t.current;
7151
- }, Q1 = (i, e, t, s) => i.getFixedT(e, t, s), Fi = (i, e, t, s) => $(Q1(i, e, t, s), [i, e, t, s]), Yi = function(i) {
7185
+ }, X1 = (i, e, t, s) => i.getFixedT(e, t, s), Ji = (i, e, t, s) => j(X1(i, e, t, s), [i, e, t, s]), Qi = function(i) {
7152
7186
  let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
7153
7187
  const {
7154
7188
  i18n: t
7155
7189
  } = e, {
7156
7190
  i18n: s,
7157
7191
  defaultNS: n
7158
- } = o1(Ki) || {}, l = t || s || Ti();
7159
- if (l && !l.reportNamespaces && (l.reportNamespaces = new Pi()), !l) {
7160
- v1("You will need to pass in an i18next instance by using initReactI18next");
7161
- const f = (M, R) => Y(R) ? R : Si(R) && Y(R.defaultValue) ? R.defaultValue : Array.isArray(M) ? M[M.length - 1] : M, m = [f, {}, !1];
7192
+ } = o1(Yi) || {}, l = t || s || $i();
7193
+ if (l && !l.reportNamespaces && (l.reportNamespaces = new Ui()), !l) {
7194
+ N1("You will need to pass in an i18next instance by using initReactI18next");
7195
+ const f = (M, R) => z(R) ? R : Wi(R) && z(R.defaultValue) ? R.defaultValue : Array.isArray(M) ? M[M.length - 1] : M, m = [f, {}, !1];
7162
7196
  return m.t = f, m.i18n = {}, m.ready = !1, m;
7163
7197
  }
7164
- l.options.react && l.options.react.wait !== void 0 && v1("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
7198
+ l.options.react && l.options.react.wait !== void 0 && N1("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
7165
7199
  const c = {
7166
- ...Zi(),
7200
+ ...Ki(),
7167
7201
  ...l.options.react,
7168
7202
  ...e
7169
7203
  }, {
@@ -7171,19 +7205,19 @@ const $i = (i, e) => {
7171
7205
  keyPrefix: d
7172
7206
  } = c;
7173
7207
  let g = i;
7174
- g = Y(g) ? [g] : g || ["translation"], l.reportNamespaces.addUsedNamespaces && l.reportNamespaces.addUsedNamespaces(g);
7175
- const a = (l.isInitialized || l.initializedStoreOnce) && g.every((f) => Ii(f, l, c)), h = Fi(l, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), C = () => h, p = () => Q1(l, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), [w, N] = I(C);
7208
+ g = z(g) ? [g] : g || ["translation"], l.reportNamespaces.addUsedNamespaces && l.reportNamespaces.addUsedNamespaces(g);
7209
+ const a = (l.isInitialized || l.initializedStoreOnce) && g.every((f) => Bi(f, l, c)), h = Ji(l, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), C = () => h, p = () => X1(l, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), [v, N] = S(C);
7176
7210
  let x = g.join();
7177
7211
  e.lng && (x = `${e.lng}${x}`);
7178
- const V = $i(x), y = p1(!0);
7179
- D(() => {
7212
+ const V = zi(x), y = f1(!0);
7213
+ T(() => {
7180
7214
  const {
7181
7215
  bindI18n: f,
7182
7216
  bindI18nStore: m
7183
7217
  } = c;
7184
- y.current = !0, !a && !o && (e.lng ? V1(l, e.lng, g, () => {
7218
+ y.current = !0, !a && !o && (e.lng ? _1(l, e.lng, g, () => {
7185
7219
  y.current && N(p);
7186
- }) : E1(l, g, () => {
7220
+ }) : H1(l, g, () => {
7187
7221
  y.current && N(p);
7188
7222
  })), a && V && V !== x && y.current && N(p);
7189
7223
  const M = () => {
@@ -7192,15 +7226,15 @@ const $i = (i, e) => {
7192
7226
  return f && l && l.on(f, M), m && l && l.store.on(m, M), () => {
7193
7227
  y.current = !1, f && l && f.split(" ").forEach((R) => l.off(R, M)), m && l && m.split(" ").forEach((R) => l.store.off(R, M));
7194
7228
  };
7195
- }, [l, x]), D(() => {
7229
+ }, [l, x]), T(() => {
7196
7230
  y.current && a && N(C);
7197
7231
  }, [l, d, a]);
7198
- const H = [w, l, a];
7199
- if (H.t = w, H.i18n = l, H.ready = a, a || !a && !o) return H;
7232
+ const E = [v, l, a];
7233
+ if (E.t = v, E.i18n = l, E.ready = a, a || !a && !o) return E;
7200
7234
  throw new Promise((f) => {
7201
- e.lng ? V1(l, e.lng, g, () => f()) : E1(l, g, () => f());
7235
+ e.lng ? _1(l, e.lng, g, () => f()) : H1(l, g, () => f());
7202
7236
  });
7203
- }, Ui = {
7237
+ }, qi = {
7204
7238
  type: "logger",
7205
7239
  log(i) {
7206
7240
  this.output("log", i);
@@ -7215,14 +7249,14 @@ const $i = (i, e) => {
7215
7249
  console && console[i] && console[i].apply(console, e);
7216
7250
  }
7217
7251
  };
7218
- class d1 {
7252
+ class g1 {
7219
7253
  constructor(e) {
7220
7254
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
7221
7255
  this.init(e, t);
7222
7256
  }
7223
7257
  init(e) {
7224
7258
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
7225
- this.prefix = t.prefix || "i18next:", this.logger = e || Ui, this.options = t, this.debug = t.debug;
7259
+ this.prefix = t.prefix || "i18next:", this.logger = e || qi, this.options = t, this.debug = t.debug;
7226
7260
  }
7227
7261
  log() {
7228
7262
  for (var e = arguments.length, t = new Array(e), s = 0; s < e; s++)
@@ -7248,17 +7282,17 @@ class d1 {
7248
7282
  return n && !this.debug ? null : (typeof e[0] == "string" && (e[0] = `${s}${this.prefix} ${e[0]}`), this.logger[t](e));
7249
7283
  }
7250
7284
  create(e) {
7251
- return new d1(this.logger, {
7285
+ return new g1(this.logger, {
7252
7286
  prefix: `${this.prefix}:${e}:`,
7253
7287
  ...this.options
7254
7288
  });
7255
7289
  }
7256
7290
  clone(e) {
7257
- return e = e || this.options, e.prefix = e.prefix || this.prefix, new d1(this.logger, e);
7291
+ return e = e || this.options, e.prefix = e.prefix || this.prefix, new g1(this.logger, e);
7258
7292
  }
7259
7293
  }
7260
- var G = new d1();
7261
- class f1 {
7294
+ var P = new g1();
7295
+ class w1 {
7262
7296
  constructor() {
7263
7297
  this.observers = {};
7264
7298
  }
@@ -7298,23 +7332,23 @@ const t1 = () => {
7298
7332
  i = s, e = n;
7299
7333
  });
7300
7334
  return t.resolve = i, t.reject = e, t;
7301
- }, _1 = (i) => i == null ? "" : "" + i, zi = (i, e, t) => {
7335
+ }, I1 = (i) => i == null ? "" : "" + i, Xi = (i, e, t) => {
7302
7336
  i.forEach((s) => {
7303
7337
  e[s] && (t[s] = e[s]);
7304
7338
  });
7305
- }, Ji = /###/g, H1 = (i) => i && i.indexOf("###") > -1 ? i.replace(Ji, ".") : i, I1 = (i) => !i || typeof i == "string", i1 = (i, e, t) => {
7339
+ }, e5 = /###/g, O1 = (i) => i && i.indexOf("###") > -1 ? i.replace(e5, ".") : i, S1 = (i) => !i || typeof i == "string", i1 = (i, e, t) => {
7306
7340
  const s = typeof e != "string" ? e : e.split(".");
7307
7341
  let n = 0;
7308
7342
  for (; n < s.length - 1; ) {
7309
- if (I1(i)) return {};
7310
- const l = H1(s[n]);
7343
+ if (S1(i)) return {};
7344
+ const l = O1(s[n]);
7311
7345
  !i[l] && t && (i[l] = new t()), Object.prototype.hasOwnProperty.call(i, l) ? i = i[l] : i = {}, ++n;
7312
7346
  }
7313
- return I1(i) ? {} : {
7347
+ return S1(i) ? {} : {
7314
7348
  obj: i,
7315
- k: H1(s[n])
7349
+ k: O1(s[n])
7316
7350
  };
7317
- }, S1 = (i, e, t) => {
7351
+ }, A1 = (i, e, t) => {
7318
7352
  const {
7319
7353
  obj: s,
7320
7354
  k: n
@@ -7327,28 +7361,28 @@ const t1 = () => {
7327
7361
  for (; o.obj === void 0 && c.length; )
7328
7362
  l = `${c[c.length - 1]}.${l}`, c = c.slice(0, c.length - 1), o = i1(i, c, Object), o && o.obj && typeof o.obj[`${o.k}.${l}`] < "u" && (o.obj = void 0);
7329
7363
  o.obj[`${o.k}.${l}`] = t;
7330
- }, Qi = (i, e, t, s) => {
7364
+ }, t5 = (i, e, t, s) => {
7331
7365
  const {
7332
7366
  obj: n,
7333
7367
  k: l
7334
7368
  } = i1(i, e, Object);
7335
7369
  n[l] = n[l] || [], n[l].push(t);
7336
- }, g1 = (i, e) => {
7370
+ }, u1 = (i, e) => {
7337
7371
  const {
7338
7372
  obj: t,
7339
7373
  k: s
7340
7374
  } = i1(i, e);
7341
7375
  if (t)
7342
7376
  return t[s];
7343
- }, qi = (i, e, t) => {
7344
- const s = g1(i, t);
7345
- return s !== void 0 ? s : g1(e, t);
7346
- }, q1 = (i, e, t) => {
7377
+ }, i5 = (i, e, t) => {
7378
+ const s = u1(i, t);
7379
+ return s !== void 0 ? s : u1(e, t);
7380
+ }, ee = (i, e, t) => {
7347
7381
  for (const s in e)
7348
- s !== "__proto__" && s !== "constructor" && (s in i ? typeof i[s] == "string" || i[s] instanceof String || typeof e[s] == "string" || e[s] instanceof String ? t && (i[s] = e[s]) : q1(i[s], e[s], t) : i[s] = e[s]);
7382
+ 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]) : ee(i[s], e[s], t) : i[s] = e[s]);
7349
7383
  return i;
7350
- }, z = (i) => i.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
7351
- var Xi = {
7384
+ }, J = (i) => i.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
7385
+ var s5 = {
7352
7386
  "&": "&amp;",
7353
7387
  "<": "&lt;",
7354
7388
  ">": "&gt;",
@@ -7356,8 +7390,8 @@ var Xi = {
7356
7390
  "'": "&#39;",
7357
7391
  "/": "&#x2F;"
7358
7392
  };
7359
- const e5 = (i) => typeof i == "string" ? i.replace(/[&<>"'\/]/g, (e) => Xi[e]) : i;
7360
- class t5 {
7393
+ const n5 = (i) => typeof i == "string" ? i.replace(/[&<>"'\/]/g, (e) => s5[e]) : i;
7394
+ class r5 {
7361
7395
  constructor(e) {
7362
7396
  this.capacity = e, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = [];
7363
7397
  }
@@ -7369,18 +7403,18 @@ class t5 {
7369
7403
  return this.regExpQueue.length === this.capacity && this.regExpMap.delete(this.regExpQueue.shift()), this.regExpMap.set(e, s), this.regExpQueue.push(e), s;
7370
7404
  }
7371
7405
  }
7372
- const i5 = [" ", ",", "?", "!", ";"], s5 = new t5(20), n5 = (i, e, t) => {
7406
+ const o5 = [" ", ",", "?", "!", ";"], l5 = new r5(20), a5 = (i, e, t) => {
7373
7407
  e = e || "", t = t || "";
7374
- const s = i5.filter((c) => e.indexOf(c) < 0 && t.indexOf(c) < 0);
7408
+ const s = o5.filter((c) => e.indexOf(c) < 0 && t.indexOf(c) < 0);
7375
7409
  if (s.length === 0) return !0;
7376
- const n = s5.getRegExp(`(${s.map((c) => c === "?" ? "\\?" : c).join("|")})`);
7410
+ const n = l5.getRegExp(`(${s.map((c) => c === "?" ? "\\?" : c).join("|")})`);
7377
7411
  let l = !n.test(i);
7378
7412
  if (!l) {
7379
7413
  const c = i.indexOf(t);
7380
7414
  c > 0 && !n.test(i.substring(0, c)) && (l = !0);
7381
7415
  }
7382
7416
  return l;
7383
- }, x1 = function(i, e) {
7417
+ }, R1 = function(i, e) {
7384
7418
  let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : ".";
7385
7419
  if (!i) return;
7386
7420
  if (i[e]) return i[e];
@@ -7400,8 +7434,8 @@ const i5 = [" ", ",", "?", "!", ";"], s5 = new t5(20), n5 = (i, e, t) => {
7400
7434
  n = c;
7401
7435
  }
7402
7436
  return n;
7403
- }, u1 = (i) => i && i.indexOf("_") > 0 ? i.replace("_", "-") : i;
7404
- class O1 extends f1 {
7437
+ }, C1 = (i) => i && i.indexOf("_") > 0 ? i.replace("_", "-") : i;
7438
+ class B1 extends w1 {
7405
7439
  constructor(e) {
7406
7440
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
7407
7441
  ns: ["translation"],
@@ -7421,8 +7455,8 @@ class O1 extends f1 {
7421
7455
  const l = n.keySeparator !== void 0 ? n.keySeparator : this.options.keySeparator, c = n.ignoreJSONStructure !== void 0 ? n.ignoreJSONStructure : this.options.ignoreJSONStructure;
7422
7456
  let o;
7423
7457
  e.indexOf(".") > -1 ? o = e.split(".") : (o = [e, t], s && (Array.isArray(s) ? o.push(...s) : typeof s == "string" && l ? o.push(...s.split(l)) : o.push(s)));
7424
- const d = g1(this.data, o);
7425
- return !d && !t && !s && e.indexOf(".") > -1 && (e = o[0], t = o[1], s = o.slice(2).join(".")), d || !c || typeof s != "string" ? d : x1(this.data && this.data[e] && this.data[e][t], s, l);
7458
+ const d = u1(this.data, o);
7459
+ return !d && !t && !s && e.indexOf(".") > -1 && (e = o[0], t = o[1], s = o.slice(2).join(".")), d || !c || typeof s != "string" ? d : R1(this.data && this.data[e] && this.data[e][t], s, l);
7426
7460
  }
7427
7461
  addResource(e, t, s, n) {
7428
7462
  let l = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : {
@@ -7430,7 +7464,7 @@ class O1 extends f1 {
7430
7464
  };
7431
7465
  const c = l.keySeparator !== void 0 ? l.keySeparator : this.options.keySeparator;
7432
7466
  let o = [e, t];
7433
- s && (o = o.concat(c ? s.split(c) : s)), e.indexOf(".") > -1 && (o = e.split("."), n = t, t = o[1]), this.addNamespaces(t), S1(this.data, o, n), l.silent || this.emit("added", e, t, s, n);
7467
+ s && (o = o.concat(c ? s.split(c) : s)), e.indexOf(".") > -1 && (o = e.split("."), n = t, t = o[1]), this.addNamespaces(t), A1(this.data, o, n), l.silent || this.emit("added", e, t, s, n);
7434
7468
  }
7435
7469
  addResources(e, t, s) {
7436
7470
  let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {
@@ -7448,11 +7482,11 @@ class O1 extends f1 {
7448
7482
  skipCopy: !1
7449
7483
  }, o = [e, t];
7450
7484
  e.indexOf(".") > -1 && (o = e.split("."), n = s, s = t, t = o[1]), this.addNamespaces(t);
7451
- let d = g1(this.data, o) || {};
7452
- c.skipCopy || (s = JSON.parse(JSON.stringify(s))), n ? q1(d, s, l) : d = {
7485
+ let d = u1(this.data, o) || {};
7486
+ c.skipCopy || (s = JSON.parse(JSON.stringify(s))), n ? ee(d, s, l) : d = {
7453
7487
  ...d,
7454
7488
  ...s
7455
- }, S1(this.data, o, d), c.silent || this.emit("added", e, t, s);
7489
+ }, A1(this.data, o, d), c.silent || this.emit("added", e, t, s);
7456
7490
  }
7457
7491
  removeResourceBundle(e, t) {
7458
7492
  this.hasResourceBundle(e, t) && delete this.data[e][t], this.removeNamespaces(t), this.emit("removed", e, t);
@@ -7476,7 +7510,7 @@ class O1 extends f1 {
7476
7510
  return this.data;
7477
7511
  }
7478
7512
  }
7479
- var X1 = {
7513
+ var te = {
7480
7514
  processors: {},
7481
7515
  addPostProcessor(i) {
7482
7516
  this.processors[i.name] = i;
@@ -7487,11 +7521,11 @@ var X1 = {
7487
7521
  }), e;
7488
7522
  }
7489
7523
  };
7490
- const A1 = {};
7491
- class C1 extends f1 {
7524
+ const W1 = {};
7525
+ class p1 extends w1 {
7492
7526
  constructor(e) {
7493
7527
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
7494
- super(), zi(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = G.create("translator");
7528
+ super(), Xi(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = P.create("translator");
7495
7529
  }
7496
7530
  changeLanguage(e) {
7497
7531
  e && (this.language = e);
@@ -7510,7 +7544,7 @@ class C1 extends f1 {
7510
7544
  s === void 0 && (s = ":");
7511
7545
  const n = t.keySeparator !== void 0 ? t.keySeparator : this.options.keySeparator;
7512
7546
  let l = t.ns || this.options.defaultNS || [];
7513
- const c = s && e.indexOf(s) > -1, o = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !n5(e, s, n);
7547
+ const c = s && e.indexOf(s) > -1, o = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !a5(e, s, n);
7514
7548
  if (c && !o) {
7515
7549
  const d = e.match(this.interpolator.nestingRegexp);
7516
7550
  if (d && d.length > 0)
@@ -7558,7 +7592,7 @@ class C1 extends f1 {
7558
7592
  }
7559
7593
  const h = this.resolve(e, t);
7560
7594
  let C = h && h.res;
7561
- const p = h && h.usedKey || c, w = h && h.exactUsedKey || c, N = Object.prototype.toString.apply(C), x = ["[object Number]", "[object Function]", "[object RegExp]"], V = t.joinArrays !== void 0 ? t.joinArrays : this.options.joinArrays, y = !this.i18nFormat || this.i18nFormat.handleAsObject;
7595
+ const p = h && h.usedKey || c, v = h && h.exactUsedKey || c, N = Object.prototype.toString.apply(C), x = ["[object Number]", "[object Function]", "[object RegExp]"], V = t.joinArrays !== void 0 ? t.joinArrays : this.options.joinArrays, y = !this.i18nFormat || this.i18nFormat.handleAsObject;
7562
7596
  if (y && C && (typeof C != "string" && typeof C != "boolean" && typeof C != "number") && x.indexOf(N) < 0 && !(typeof V == "string" && Array.isArray(C))) {
7563
7597
  if (!t.returnObjects && !this.options.returnObjects) {
7564
7598
  this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
@@ -7569,15 +7603,15 @@ class C1 extends f1 {
7569
7603
  return n ? (h.res = f, h.usedParams = this.getUsedParamsDetails(t), h) : f;
7570
7604
  }
7571
7605
  if (l) {
7572
- const f = Array.isArray(C), m = f ? [] : {}, M = f ? w : p;
7606
+ const f = Array.isArray(C), m = f ? [] : {}, M = f ? v : p;
7573
7607
  for (const R in C)
7574
7608
  if (Object.prototype.hasOwnProperty.call(C, R)) {
7575
- const b = `${M}${l}${R}`;
7576
- m[R] = this.translate(b, {
7609
+ const H = `${M}${l}${R}`;
7610
+ m[R] = this.translate(H, {
7577
7611
  ...t,
7578
7612
  joinArrays: !1,
7579
7613
  ns: o
7580
- }), m[R] === b && (m[R] = C[R]);
7614
+ }), m[R] === H && (m[R] = C[R]);
7581
7615
  }
7582
7616
  C = m;
7583
7617
  }
@@ -7585,35 +7619,35 @@ class C1 extends f1 {
7585
7619
  C = C.join(V), C && (C = this.extendTranslation(C, e, t, s));
7586
7620
  else {
7587
7621
  let f = !1, m = !1;
7588
- const M = t.count !== void 0 && typeof t.count != "string", R = C1.hasDefaultValue(t), b = M ? this.pluralResolver.getSuffix(g, t.count, t) : "", O = t.ordinal && M ? this.pluralResolver.getSuffix(g, t.count, {
7622
+ const M = t.count !== void 0 && typeof t.count != "string", R = p1.hasDefaultValue(t), H = M ? this.pluralResolver.getSuffix(g, t.count, t) : "", W = t.ordinal && M ? this.pluralResolver.getSuffix(g, t.count, {
7589
7623
  ordinal: !1
7590
- }) : "", E = M && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), W = E && t[`defaultValue${this.options.pluralSeparator}zero`] || t[`defaultValue${b}`] || t[`defaultValue${O}`] || t.defaultValue;
7591
- !this.isValidLookup(C) && R && (f = !0, C = W), this.isValidLookup(C) || (m = !0, C = c);
7592
- const j = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && m ? void 0 : C, B = R && W !== C && this.options.updateMissing;
7593
- if (m || f || B) {
7594
- if (this.logger.log(B ? "updateKey" : "missingKey", g, d, c, B ? W : C), l) {
7595
- const A = this.resolve(c, {
7624
+ }) : "", A = M && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), _ = A && t[`defaultValue${this.options.pluralSeparator}zero`] || t[`defaultValue${H}`] || t[`defaultValue${W}`] || t.defaultValue;
7625
+ !this.isValidLookup(C) && R && (f = !0, C = _), this.isValidLookup(C) || (m = !0, C = c);
7626
+ const Z = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && m ? void 0 : C, O = R && _ !== C && this.options.updateMissing;
7627
+ if (m || f || O) {
7628
+ if (this.logger.log(O ? "updateKey" : "missingKey", g, d, c, O ? _ : C), l) {
7629
+ const b = this.resolve(c, {
7596
7630
  ...t,
7597
7631
  keySeparator: !1
7598
7632
  });
7599
- A && A.res && this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.");
7600
- }
7601
- let T = [];
7602
- const U = this.languageUtils.getFallbackCodes(this.options.fallbackLng, t.lng || this.language);
7603
- if (this.options.saveMissingTo === "fallback" && U && U[0])
7604
- for (let A = 0; A < U.length; A++)
7605
- T.push(U[A]);
7606
- else this.options.saveMissingTo === "all" ? T = this.languageUtils.toResolveHierarchy(t.lng || this.language) : T.push(t.lng || this.language);
7607
- const X = (A, K, F) => {
7608
- const e1 = R && F !== C ? F : j;
7609
- this.options.missingKeyHandler ? this.options.missingKeyHandler(A, d, K, e1, B, t) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(A, d, K, e1, B, t), this.emit("missingKey", A, d, K, C);
7633
+ b && b.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.");
7634
+ }
7635
+ let $ = [];
7636
+ const Y = this.languageUtils.getFallbackCodes(this.options.fallbackLng, t.lng || this.language);
7637
+ if (this.options.saveMissingTo === "fallback" && Y && Y[0])
7638
+ for (let b = 0; b < Y.length; b++)
7639
+ $.push(Y[b]);
7640
+ else this.options.saveMissingTo === "all" ? $ = this.languageUtils.toResolveHierarchy(t.lng || this.language) : $.push(t.lng || this.language);
7641
+ const U = (b, F, K) => {
7642
+ const e1 = R && K !== C ? K : Z;
7643
+ this.options.missingKeyHandler ? this.options.missingKeyHandler(b, d, F, e1, O, t) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(b, d, F, e1, O, t), this.emit("missingKey", b, d, F, C);
7610
7644
  };
7611
- this.options.saveMissing && (this.options.saveMissingPlurals && M ? T.forEach((A) => {
7612
- const K = this.pluralResolver.getSuffixes(A, t);
7613
- E && t[`defaultValue${this.options.pluralSeparator}zero`] && K.indexOf(`${this.options.pluralSeparator}zero`) < 0 && K.push(`${this.options.pluralSeparator}zero`), K.forEach((F) => {
7614
- X([A], c + F, t[`defaultValue${F}`] || W);
7645
+ this.options.saveMissing && (this.options.saveMissingPlurals && M ? $.forEach((b) => {
7646
+ const F = this.pluralResolver.getSuffixes(b, t);
7647
+ A && t[`defaultValue${this.options.pluralSeparator}zero`] && F.indexOf(`${this.options.pluralSeparator}zero`) < 0 && F.push(`${this.options.pluralSeparator}zero`), F.forEach((K) => {
7648
+ U([b], c + K, t[`defaultValue${K}`] || _);
7615
7649
  });
7616
- }) : X(T, c, W));
7650
+ }) : U($, c, _));
7617
7651
  }
7618
7652
  C = this.extendTranslation(C, e, t, h, s), m && C === c && this.options.appendNamespaceToMissingKey && (C = `${d}:${c}`), (m || f) && this.options.parseMissingKeyHandler && (this.options.compatibilityAPI !== "v1" ? C = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${d}:${c}` : c, f ? C : void 0) : C = this.options.parseMissingKeyHandler(C));
7619
7653
  }
@@ -7651,13 +7685,13 @@ class C1 extends f1 {
7651
7685
  a < p && (s.nest = !1);
7652
7686
  }
7653
7687
  !s.lng && this.options.compatibilityAPI !== "v1" && n && n.res && (s.lng = this.language || n.usedLng), s.nest !== !1 && (e = this.interpolator.nest(e, function() {
7654
- for (var C = arguments.length, p = new Array(C), w = 0; w < C; w++)
7655
- p[w] = arguments[w];
7688
+ for (var C = arguments.length, p = new Array(C), v = 0; v < C; v++)
7689
+ p[v] = arguments[v];
7656
7690
  return l && l[0] === p[0] && !s.context ? (c.logger.warn(`It seems you are nesting recursively key: ${p[0]} in key: ${t[0]}`), null) : c.translate(...p, t);
7657
7691
  }, s)), s.interpolation && this.interpolator.reset();
7658
7692
  }
7659
7693
  const o = s.postProcess || this.options.postProcess, d = typeof o == "string" ? [o] : o;
7660
- return e != null && d && d.length && s.applyPostProcessor !== !1 && (e = X1.handle(d, e, t, this.options && this.options.postProcessPassResolved ? {
7694
+ return e != null && d && d.length && s.applyPostProcessor !== !1 && (e = te.handle(d, e, t, this.options && this.options.postProcessPassResolved ? {
7661
7695
  i18nResolved: {
7662
7696
  ...n,
7663
7697
  usedParams: this.getUsedParamsDetails(s)
@@ -7673,9 +7707,9 @@ class C1 extends f1 {
7673
7707
  n = a;
7674
7708
  let h = g.namespaces;
7675
7709
  this.options.fallbackNS && (h = h.concat(this.options.fallbackNS));
7676
- const C = t.count !== void 0 && typeof t.count != "string", p = C && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), w = t.context !== void 0 && (typeof t.context == "string" || typeof t.context == "number") && t.context !== "", N = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
7710
+ const C = t.count !== void 0 && typeof t.count != "string", p = C && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), v = 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);
7677
7711
  h.forEach((x) => {
7678
- this.isValidLookup(s) || (o = x, !A1[`${N[0]}-${x}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(o) && (A1[`${N[0]}-${x}`] = !0, this.logger.warn(`key "${n}" for languages "${N.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), N.forEach((V) => {
7712
+ this.isValidLookup(s) || (o = x, !W1[`${N[0]}-${x}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(o) && (W1[`${N[0]}-${x}`] = !0, this.logger.warn(`key "${n}" for languages "${N.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), N.forEach((V) => {
7679
7713
  if (this.isValidLookup(s)) return;
7680
7714
  c = V;
7681
7715
  const y = [a];
@@ -7685,14 +7719,14 @@ class C1 extends f1 {
7685
7719
  let f;
7686
7720
  C && (f = this.pluralResolver.getSuffix(V, t.count, t));
7687
7721
  const m = `${this.options.pluralSeparator}zero`, M = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
7688
- if (C && (y.push(a + f), t.ordinal && f.indexOf(M) === 0 && y.push(a + f.replace(M, this.options.pluralSeparator)), p && y.push(a + m)), w) {
7722
+ if (C && (y.push(a + f), t.ordinal && f.indexOf(M) === 0 && y.push(a + f.replace(M, this.options.pluralSeparator)), p && y.push(a + m)), v) {
7689
7723
  const R = `${a}${this.options.contextSeparator}${t.context}`;
7690
7724
  y.push(R), C && (y.push(R + f), t.ordinal && f.indexOf(M) === 0 && y.push(R + f.replace(M, this.options.pluralSeparator)), p && y.push(R + m));
7691
7725
  }
7692
7726
  }
7693
- let H;
7694
- for (; H = y.pop(); )
7695
- this.isValidLookup(s) || (l = H, s = this.getResource(V, x, H, t));
7727
+ let E;
7728
+ for (; E = y.pop(); )
7729
+ this.isValidLookup(s) || (l = E, s = this.getResource(V, x, E, t));
7696
7730
  }));
7697
7731
  });
7698
7732
  }), {
@@ -7734,18 +7768,18 @@ class C1 extends f1 {
7734
7768
  return !1;
7735
7769
  }
7736
7770
  }
7737
- const k1 = (i) => i.charAt(0).toUpperCase() + i.slice(1);
7738
- class B1 {
7771
+ const L1 = (i) => i.charAt(0).toUpperCase() + i.slice(1);
7772
+ class j1 {
7739
7773
  constructor(e) {
7740
- this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = G.create("languageUtils");
7774
+ this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = P.create("languageUtils");
7741
7775
  }
7742
7776
  getScriptPartFromCode(e) {
7743
- if (e = u1(e), !e || e.indexOf("-") < 0) return null;
7777
+ if (e = C1(e), !e || e.indexOf("-") < 0) return null;
7744
7778
  const t = e.split("-");
7745
7779
  return t.length === 2 || (t.pop(), t[t.length - 1].toLowerCase() === "x") ? null : this.formatLanguageCode(t.join("-"));
7746
7780
  }
7747
7781
  getLanguagePartFromCode(e) {
7748
- if (e = u1(e), !e || e.indexOf("-") < 0) return e;
7782
+ if (e = C1(e), !e || e.indexOf("-") < 0) return e;
7749
7783
  const t = e.split("-");
7750
7784
  return this.formatLanguageCode(t[0]);
7751
7785
  }
@@ -7753,7 +7787,7 @@ class B1 {
7753
7787
  if (typeof e == "string" && e.indexOf("-") > -1) {
7754
7788
  const t = ["hans", "hant", "latn", "cyrl", "cans", "mong", "arab"];
7755
7789
  let s = e.split("-");
7756
- return this.options.lowerCaseLng ? s = s.map((n) => n.toLowerCase()) : s.length === 2 ? (s[0] = s[0].toLowerCase(), s[1] = s[1].toUpperCase(), t.indexOf(s[1].toLowerCase()) > -1 && (s[1] = k1(s[1].toLowerCase()))) : s.length === 3 && (s[0] = s[0].toLowerCase(), s[1].length === 2 && (s[1] = s[1].toUpperCase()), s[0] !== "sgn" && s[2].length === 2 && (s[2] = s[2].toUpperCase()), t.indexOf(s[1].toLowerCase()) > -1 && (s[1] = k1(s[1].toLowerCase())), t.indexOf(s[2].toLowerCase()) > -1 && (s[2] = k1(s[2].toLowerCase()))), s.join("-");
7790
+ return this.options.lowerCaseLng ? s = s.map((n) => n.toLowerCase()) : s.length === 2 ? (s[0] = s[0].toLowerCase(), s[1] = s[1].toUpperCase(), t.indexOf(s[1].toLowerCase()) > -1 && (s[1] = L1(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] = L1(s[1].toLowerCase())), t.indexOf(s[2].toLowerCase()) > -1 && (s[2] = L1(s[2].toLowerCase()))), s.join("-");
7757
7791
  }
7758
7792
  return this.options.cleanCode || this.options.lowerCaseLng ? e.toLowerCase() : e;
7759
7793
  }
@@ -7794,7 +7828,7 @@ class B1 {
7794
7828
  }), n;
7795
7829
  }
7796
7830
  }
7797
- let r5 = [{
7831
+ let h5 = [{
7798
7832
  lngs: ["ach", "ak", "am", "arn", "br", "fil", "gun", "ln", "mfe", "mg", "mi", "oc", "pt", "pt-BR", "tg", "tl", "ti", "tr", "uz", "wa"],
7799
7833
  nr: [1, 2],
7800
7834
  fc: 1
@@ -7886,7 +7920,7 @@ let r5 = [{
7886
7920
  lngs: ["he", "iw"],
7887
7921
  nr: [1, 2, 20, 21],
7888
7922
  fc: 22
7889
- }], o5 = {
7923
+ }], c5 = {
7890
7924
  1: (i) => +(i > 1),
7891
7925
  2: (i) => +(i != 1),
7892
7926
  3: (i) => 0,
@@ -7910,28 +7944,28 @@ let r5 = [{
7910
7944
  21: (i) => i % 100 == 1 ? 1 : i % 100 == 2 ? 2 : i % 100 == 3 || i % 100 == 4 ? 3 : 0,
7911
7945
  22: (i) => i == 1 ? 0 : i == 2 ? 1 : (i < 0 || i > 10) && i % 10 == 0 ? 2 : 3
7912
7946
  };
7913
- const l5 = ["v1", "v2", "v3"], a5 = ["v4"], W1 = {
7947
+ const d5 = ["v1", "v2", "v3"], g5 = ["v4"], Z1 = {
7914
7948
  zero: 0,
7915
7949
  one: 1,
7916
7950
  two: 2,
7917
7951
  few: 3,
7918
7952
  many: 4,
7919
7953
  other: 5
7920
- }, h5 = () => {
7954
+ }, u5 = () => {
7921
7955
  const i = {};
7922
- return r5.forEach((e) => {
7956
+ return h5.forEach((e) => {
7923
7957
  e.lngs.forEach((t) => {
7924
7958
  i[t] = {
7925
7959
  numbers: e.nr,
7926
- plurals: o5[e.fc]
7960
+ plurals: c5[e.fc]
7927
7961
  };
7928
7962
  });
7929
7963
  }), i;
7930
7964
  };
7931
- class c5 {
7965
+ class C5 {
7932
7966
  constructor(e) {
7933
7967
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
7934
- this.languageUtils = e, this.options = t, this.logger = G.create("pluralResolver"), (!this.options.compatibilityJSON || a5.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 = h5(), this.pluralRulesCache = {};
7968
+ this.languageUtils = e, this.options = t, this.logger = P.create("pluralResolver"), (!this.options.compatibilityJSON || g5.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 = u5(), this.pluralRulesCache = {};
7935
7969
  }
7936
7970
  addRule(e, t) {
7937
7971
  this.rules[e] = t;
@@ -7943,7 +7977,7 @@ class c5 {
7943
7977
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
7944
7978
  if (this.shouldUseIntlApi())
7945
7979
  try {
7946
- const s = u1(e === "dev" ? "en" : e), n = t.ordinal ? "ordinal" : "cardinal", l = JSON.stringify({
7980
+ const s = C1(e === "dev" ? "en" : e), n = t.ordinal ? "ordinal" : "cardinal", l = JSON.stringify({
7947
7981
  cleanedCode: s,
7948
7982
  type: n
7949
7983
  });
@@ -7970,7 +8004,7 @@ class c5 {
7970
8004
  getSuffixes(e) {
7971
8005
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
7972
8006
  const s = this.getRule(e, t);
7973
- return s ? this.shouldUseIntlApi() ? s.resolvedOptions().pluralCategories.sort((n, l) => W1[n] - W1[l]).map((n) => `${this.options.prepend}${t.ordinal ? `ordinal${this.options.prepend}` : ""}${n}`) : s.numbers.map((n) => this.getSuffix(e, n, t)) : [];
8007
+ return s ? this.shouldUseIntlApi() ? s.resolvedOptions().pluralCategories.sort((n, l) => Z1[n] - Z1[l]).map((n) => `${this.options.prepend}${t.ordinal ? `ordinal${this.options.prepend}` : ""}${n}`) : s.numbers.map((n) => this.getSuffix(e, n, t)) : [];
7974
8008
  }
7975
8009
  getSuffix(e, t) {
7976
8010
  let s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
@@ -7985,17 +8019,17 @@ class c5 {
7985
8019
  return this.options.compatibilityJSON === "v1" ? n === 1 ? "" : typeof n == "number" ? `_plural_${n.toString()}` : l() : this.options.compatibilityJSON === "v2" || this.options.simplifyPluralSuffix && e.numbers.length === 2 && e.numbers[0] === 1 ? l() : this.options.prepend && s.toString() ? this.options.prepend + s.toString() : s.toString();
7986
8020
  }
7987
8021
  shouldUseIntlApi() {
7988
- return !l5.includes(this.options.compatibilityJSON);
8022
+ return !d5.includes(this.options.compatibilityJSON);
7989
8023
  }
7990
8024
  }
7991
- const j1 = function(i, e, t) {
7992
- let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", n = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, l = qi(i, e, t);
7993
- return !l && n && typeof t == "string" && (l = x1(i, t, s), l === void 0 && (l = x1(e, t, s))), l;
7994
- }, L1 = (i) => i.replace(/\$/g, "$$$$");
7995
- class d5 {
8025
+ const D1 = function(i, e, t) {
8026
+ let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", n = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, l = i5(i, e, t);
8027
+ return !l && n && typeof t == "string" && (l = R1(i, t, s), l === void 0 && (l = R1(e, t, s))), l;
8028
+ }, v1 = (i) => i.replace(/\$/g, "$$$$");
8029
+ class p5 {
7996
8030
  constructor() {
7997
8031
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
7998
- this.logger = G.create("interpolator"), this.options = e, this.format = e.interpolation && e.interpolation.format || ((t) => t), this.init(e);
8032
+ this.logger = P.create("interpolator"), this.options = e, this.format = e.interpolation && e.interpolation.format || ((t) => t), this.init(e);
7999
8033
  }
8000
8034
  init() {
8001
8035
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
@@ -8015,13 +8049,13 @@ class d5 {
8015
8049
  unescapePrefix: h,
8016
8050
  nestingPrefix: C,
8017
8051
  nestingPrefixEscaped: p,
8018
- nestingSuffix: w,
8052
+ nestingSuffix: v,
8019
8053
  nestingSuffixEscaped: N,
8020
8054
  nestingOptionsSeparator: x,
8021
8055
  maxReplaces: V,
8022
8056
  alwaysFormat: y
8023
8057
  } = e.interpolation;
8024
- this.escape = t !== void 0 ? t : e5, this.escapeValue = s !== void 0 ? s : !0, this.useRawValueToEscape = n !== void 0 ? n : !1, this.prefix = l ? z(l) : c || "{{", this.suffix = o ? z(o) : d || "}}", this.formatSeparator = g || ",", this.unescapePrefix = a ? "" : h || "-", this.unescapeSuffix = this.unescapePrefix ? "" : a || "", this.nestingPrefix = C ? z(C) : p || z("$t("), this.nestingSuffix = w ? z(w) : N || z(")"), this.nestingOptionsSeparator = x || ",", this.maxReplaces = V || 1e3, this.alwaysFormat = y !== void 0 ? y : !1, this.resetRegExp();
8058
+ this.escape = t !== void 0 ? t : n5, this.escapeValue = s !== void 0 ? s : !0, this.useRawValueToEscape = n !== void 0 ? n : !1, this.prefix = l ? J(l) : c || "{{", this.suffix = o ? J(o) : d || "}}", this.formatSeparator = g || ",", this.unescapePrefix = a ? "" : h || "-", this.unescapeSuffix = this.unescapePrefix ? "" : a || "", this.nestingPrefix = C ? J(C) : p || J("$t("), this.nestingSuffix = v ? J(v) : N || J(")"), this.nestingOptionsSeparator = x || ",", this.maxReplaces = V || 1e3, this.alwaysFormat = y !== void 0 ? y : !1, this.resetRegExp();
8025
8059
  }
8026
8060
  reset() {
8027
8061
  this.options && this.init(this.options);
@@ -8034,15 +8068,15 @@ class d5 {
8034
8068
  let l, c, o;
8035
8069
  const d = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, g = (p) => {
8036
8070
  if (p.indexOf(this.formatSeparator) < 0) {
8037
- const V = j1(t, d, p, this.options.keySeparator, this.options.ignoreJSONStructure);
8071
+ const V = D1(t, d, p, this.options.keySeparator, this.options.ignoreJSONStructure);
8038
8072
  return this.alwaysFormat ? this.format(V, void 0, s, {
8039
8073
  ...n,
8040
8074
  ...t,
8041
8075
  interpolationkey: p
8042
8076
  }) : V;
8043
8077
  }
8044
- const w = p.split(this.formatSeparator), N = w.shift().trim(), x = w.join(this.formatSeparator).trim();
8045
- return this.format(j1(t, d, N, this.options.keySeparator, this.options.ignoreJSONStructure), x, s, {
8078
+ const v = p.split(this.formatSeparator), N = v.shift().trim(), x = v.join(this.formatSeparator).trim();
8079
+ return this.format(D1(t, d, N, this.options.keySeparator, this.options.ignoreJSONStructure), x, s, {
8046
8080
  ...n,
8047
8081
  ...t,
8048
8082
  interpolationkey: N
@@ -8052,25 +8086,25 @@ class d5 {
8052
8086
  const a = n && n.missingInterpolationHandler || this.options.missingInterpolationHandler, h = n && n.interpolation && n.interpolation.skipOnVariables !== void 0 ? n.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables;
8053
8087
  return [{
8054
8088
  regex: this.regexpUnescape,
8055
- safeValue: (p) => L1(p)
8089
+ safeValue: (p) => v1(p)
8056
8090
  }, {
8057
8091
  regex: this.regexp,
8058
- safeValue: (p) => this.escapeValue ? L1(this.escape(p)) : L1(p)
8092
+ safeValue: (p) => this.escapeValue ? v1(this.escape(p)) : v1(p)
8059
8093
  }].forEach((p) => {
8060
8094
  for (o = 0; l = p.regex.exec(e); ) {
8061
- const w = l[1].trim();
8062
- if (c = g(w), c === void 0)
8095
+ const v = l[1].trim();
8096
+ if (c = g(v), c === void 0)
8063
8097
  if (typeof a == "function") {
8064
8098
  const x = a(e, l, n);
8065
8099
  c = typeof x == "string" ? x : "";
8066
- } else if (n && Object.prototype.hasOwnProperty.call(n, w))
8100
+ } else if (n && Object.prototype.hasOwnProperty.call(n, v))
8067
8101
  c = "";
8068
8102
  else if (h) {
8069
8103
  c = l[0];
8070
8104
  continue;
8071
8105
  } else
8072
- this.logger.warn(`missed to pass in variable ${w} for interpolating ${e}`), c = "";
8073
- else typeof c != "string" && !this.useRawValueToEscape && (c = _1(c));
8106
+ this.logger.warn(`missed to pass in variable ${v} for interpolating ${e}`), c = "";
8107
+ else typeof c != "string" && !this.useRawValueToEscape && (c = I1(c));
8074
8108
  const N = p.safeValue(c);
8075
8109
  if (e = e.replace(l[0], N), h ? (p.regex.lastIndex += c.length, p.regex.lastIndex -= l[0].length) : p.regex.lastIndex = 0, o++, o >= this.maxReplaces)
8076
8110
  break;
@@ -8085,8 +8119,8 @@ class d5 {
8085
8119
  const h = d.split(new RegExp(`${a}[ ]*{`));
8086
8120
  let C = `{${h[1]}`;
8087
8121
  d = h[0], C = this.interpolate(C, c);
8088
- const p = C.match(/'/g), w = C.match(/"/g);
8089
- (p && p.length % 2 === 0 && !w || w.length % 2 !== 0) && (C = C.replace(/'/g, '"'));
8122
+ const p = C.match(/'/g), v = C.match(/"/g);
8123
+ (p && p.length % 2 === 0 && !v || v.length % 2 !== 0) && (C = C.replace(/'/g, '"'));
8090
8124
  try {
8091
8125
  c = JSON.parse(C), g && (c = {
8092
8126
  ...g,
@@ -8108,7 +8142,7 @@ class d5 {
8108
8142
  n[1] = a.shift(), d = a, g = !0;
8109
8143
  }
8110
8144
  if (l = t(o.call(this, n[1].trim(), c), c), l && n[0] === e && typeof l != "string") return l;
8111
- typeof l != "string" && (l = _1(l)), l || (this.logger.warn(`missed to resolve ${n[1]} for nesting ${e}`), l = ""), g && (l = d.reduce((a, h) => this.format(a, h, s.lng, {
8145
+ typeof l != "string" && (l = I1(l)), l || (this.logger.warn(`missed to resolve ${n[1]} for nesting ${e}`), l = ""), g && (l = d.reduce((a, h) => this.format(a, h, s.lng, {
8112
8146
  ...s,
8113
8147
  interpolationkey: n[1].trim()
8114
8148
  }), l.trim())), e = e.replace(n[0], l), this.regexp.lastIndex = 0;
@@ -8116,7 +8150,7 @@ class d5 {
8116
8150
  return e;
8117
8151
  }
8118
8152
  }
8119
- const g5 = (i) => {
8153
+ const f5 = (i) => {
8120
8154
  let e = i.toLowerCase().trim();
8121
8155
  const t = {};
8122
8156
  if (i.indexOf("(") > -1) {
@@ -8134,7 +8168,7 @@ const g5 = (i) => {
8134
8168
  formatName: e,
8135
8169
  formatOptions: t
8136
8170
  };
8137
- }, J = (i) => {
8171
+ }, Q = (i) => {
8138
8172
  const e = {};
8139
8173
  return (t, s, n) => {
8140
8174
  let l = n;
@@ -8144,39 +8178,39 @@ const g5 = (i) => {
8144
8178
  });
8145
8179
  const c = s + JSON.stringify(l);
8146
8180
  let o = e[c];
8147
- return o || (o = i(u1(s), n), e[c] = o), o(t);
8181
+ return o || (o = i(C1(s), n), e[c] = o), o(t);
8148
8182
  };
8149
8183
  };
8150
- class u5 {
8184
+ class w5 {
8151
8185
  constructor() {
8152
8186
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
8153
- this.logger = G.create("formatter"), this.options = e, this.formats = {
8154
- number: J((t, s) => {
8187
+ this.logger = P.create("formatter"), this.options = e, this.formats = {
8188
+ number: Q((t, s) => {
8155
8189
  const n = new Intl.NumberFormat(t, {
8156
8190
  ...s
8157
8191
  });
8158
8192
  return (l) => n.format(l);
8159
8193
  }),
8160
- currency: J((t, s) => {
8194
+ currency: Q((t, s) => {
8161
8195
  const n = new Intl.NumberFormat(t, {
8162
8196
  ...s,
8163
8197
  style: "currency"
8164
8198
  });
8165
8199
  return (l) => n.format(l);
8166
8200
  }),
8167
- datetime: J((t, s) => {
8201
+ datetime: Q((t, s) => {
8168
8202
  const n = new Intl.DateTimeFormat(t, {
8169
8203
  ...s
8170
8204
  });
8171
8205
  return (l) => n.format(l);
8172
8206
  }),
8173
- relativetime: J((t, s) => {
8207
+ relativetime: Q((t, s) => {
8174
8208
  const n = new Intl.RelativeTimeFormat(t, {
8175
8209
  ...s
8176
8210
  });
8177
8211
  return (l) => n.format(l, s.range || "day");
8178
8212
  }),
8179
- list: J((t, s) => {
8213
+ list: Q((t, s) => {
8180
8214
  const n = new Intl.ListFormat(t, {
8181
8215
  ...s
8182
8216
  });
@@ -8194,7 +8228,7 @@ class u5 {
8194
8228
  this.formats[e.toLowerCase().trim()] = t;
8195
8229
  }
8196
8230
  addCached(e, t) {
8197
- this.formats[e.toLowerCase().trim()] = J(t);
8231
+ this.formats[e.toLowerCase().trim()] = Q(t);
8198
8232
  }
8199
8233
  format(e, t, s) {
8200
8234
  let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
@@ -8207,7 +8241,7 @@ class u5 {
8207
8241
  const {
8208
8242
  formatName: g,
8209
8243
  formatOptions: a
8210
- } = g5(d);
8244
+ } = f5(d);
8211
8245
  if (this.formats[g]) {
8212
8246
  let h = o;
8213
8247
  try {
@@ -8227,13 +8261,13 @@ class u5 {
8227
8261
  }, e);
8228
8262
  }
8229
8263
  }
8230
- const C5 = (i, e) => {
8264
+ const m5 = (i, e) => {
8231
8265
  i.pending[e] !== void 0 && (delete i.pending[e], i.pendingCount--);
8232
8266
  };
8233
- class p5 extends f1 {
8267
+ class k5 extends w1 {
8234
8268
  constructor(e, t, s) {
8235
8269
  let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
8236
- super(), this.backend = e, this.store = t, this.services = s, this.languageUtils = s.languageUtils, this.options = n, this.logger = G.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = n.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = n.maxRetries >= 0 ? n.maxRetries : 5, this.retryTimeout = n.retryTimeout >= 1 ? n.retryTimeout : 350, this.state = {}, this.queue = [], this.backend && this.backend.init && this.backend.init(s, n.backend, n);
8270
+ super(), this.backend = e, this.store = t, this.services = s, this.languageUtils = s.languageUtils, this.options = n, this.logger = P.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = n.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = n.maxRetries >= 0 ? n.maxRetries : 5, this.retryTimeout = n.retryTimeout >= 1 ? n.retryTimeout : 350, this.state = {}, this.queue = [], this.backend && this.backend.init && this.backend.init(s, n.backend, n);
8237
8271
  }
8238
8272
  queueLoad(e, t, s, n) {
8239
8273
  const l = {}, c = {}, o = {}, d = {};
@@ -8263,7 +8297,7 @@ class p5 extends f1 {
8263
8297
  }), this.state[e] = t ? -1 : 2, t && s && (this.state[e] = 0);
8264
8298
  const o = {};
8265
8299
  this.queue.forEach((d) => {
8266
- Qi(d.loaded, [l], c), C5(d, e), t && d.errors.push(t), d.pendingCount === 0 && !d.done && (Object.keys(d.loaded).forEach((g) => {
8300
+ t5(d.loaded, [l], c), m5(d, e), t && d.errors.push(t), d.pendingCount === 0 && !d.done && (Object.keys(d.loaded).forEach((g) => {
8267
8301
  o[g] || (o[g] = {});
8268
8302
  const a = d.loaded[g];
8269
8303
  a.length && a.forEach((h) => {
@@ -8365,7 +8399,7 @@ class p5 extends f1 {
8365
8399
  }
8366
8400
  }
8367
8401
  }
8368
- const Z1 = () => ({
8402
+ const T1 = () => ({
8369
8403
  debug: !1,
8370
8404
  initImmediate: !0,
8371
8405
  ns: ["translation"],
@@ -8421,18 +8455,18 @@ const Z1 = () => ({
8421
8455
  maxReplaces: 1e3,
8422
8456
  skipOnVariables: !0
8423
8457
  }
8424
- }), D1 = (i) => (typeof i.ns == "string" && (i.ns = [i.ns]), typeof i.fallbackLng == "string" && (i.fallbackLng = [i.fallbackLng]), typeof i.fallbackNS == "string" && (i.fallbackNS = [i.fallbackNS]), i.supportedLngs && i.supportedLngs.indexOf("cimode") < 0 && (i.supportedLngs = i.supportedLngs.concat(["cimode"])), i), a1 = () => {
8425
- }, f5 = (i) => {
8458
+ }), G1 = (i) => (typeof i.ns == "string" && (i.ns = [i.ns]), typeof i.fallbackLng == "string" && (i.fallbackLng = [i.fallbackLng]), typeof i.fallbackNS == "string" && (i.fallbackNS = [i.fallbackNS]), i.supportedLngs && i.supportedLngs.indexOf("cimode") < 0 && (i.supportedLngs = i.supportedLngs.concat(["cimode"])), i), h1 = () => {
8459
+ }, L5 = (i) => {
8426
8460
  Object.getOwnPropertyNames(Object.getPrototypeOf(i)).forEach((t) => {
8427
8461
  typeof i[t] == "function" && (i[t] = i[t].bind(i));
8428
8462
  });
8429
8463
  };
8430
- class s1 extends f1 {
8464
+ class s1 extends w1 {
8431
8465
  constructor() {
8432
8466
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0;
8433
- if (super(), this.options = D1(e), this.services = {}, this.logger = G, this.modules = {
8467
+ if (super(), this.options = G1(e), this.services = {}, this.logger = P, this.modules = {
8434
8468
  external: []
8435
- }, f5(this), t && !this.isInitialized && !e.isClone) {
8469
+ }, L5(this), t && !this.isInitialized && !e.isClone) {
8436
8470
  if (!this.options.initImmediate)
8437
8471
  return this.init(e, t), this;
8438
8472
  setTimeout(() => {
@@ -8444,42 +8478,42 @@ class s1 extends f1 {
8444
8478
  var e = this;
8445
8479
  let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, s = arguments.length > 1 ? arguments[1] : void 0;
8446
8480
  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]));
8447
- const n = Z1();
8481
+ const n = T1();
8448
8482
  this.options = {
8449
8483
  ...n,
8450
8484
  ...this.options,
8451
- ...D1(t)
8485
+ ...G1(t)
8452
8486
  }, this.options.compatibilityAPI !== "v1" && (this.options.interpolation = {
8453
8487
  ...n.interpolation,
8454
8488
  ...this.options.interpolation
8455
8489
  }), t.keySeparator !== void 0 && (this.options.userDefinedKeySeparator = t.keySeparator), t.nsSeparator !== void 0 && (this.options.userDefinedNsSeparator = t.nsSeparator);
8456
8490
  const l = (a) => a ? typeof a == "function" ? new a() : a : null;
8457
8491
  if (!this.options.isClone) {
8458
- this.modules.logger ? G.init(l(this.modules.logger), this.options) : G.init(null, this.options);
8492
+ this.modules.logger ? P.init(l(this.modules.logger), this.options) : P.init(null, this.options);
8459
8493
  let a;
8460
- this.modules.formatter ? a = this.modules.formatter : typeof Intl < "u" && (a = u5);
8461
- const h = new B1(this.options);
8462
- this.store = new O1(this.options.resources, this.options);
8494
+ this.modules.formatter ? a = this.modules.formatter : typeof Intl < "u" && (a = w5);
8495
+ const h = new j1(this.options);
8496
+ this.store = new B1(this.options.resources, this.options);
8463
8497
  const C = this.services;
8464
- C.logger = G, C.resourceStore = this.store, C.languageUtils = h, C.pluralResolver = new c5(h, {
8498
+ C.logger = P, C.resourceStore = this.store, C.languageUtils = h, C.pluralResolver = new C5(h, {
8465
8499
  prepend: this.options.pluralSeparator,
8466
8500
  compatibilityJSON: this.options.compatibilityJSON,
8467
8501
  simplifyPluralSuffix: this.options.simplifyPluralSuffix
8468
- }), a && (!this.options.interpolation.format || this.options.interpolation.format === n.interpolation.format) && (C.formatter = l(a), C.formatter.init(C, this.options), this.options.interpolation.format = C.formatter.format.bind(C.formatter)), C.interpolator = new d5(this.options), C.utils = {
8502
+ }), a && (!this.options.interpolation.format || this.options.interpolation.format === n.interpolation.format) && (C.formatter = l(a), C.formatter.init(C, this.options), this.options.interpolation.format = C.formatter.format.bind(C.formatter)), C.interpolator = new p5(this.options), C.utils = {
8469
8503
  hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
8470
- }, C.backendConnector = new p5(l(this.modules.backend), C.resourceStore, C, this.options), C.backendConnector.on("*", function(p) {
8471
- for (var w = arguments.length, N = new Array(w > 1 ? w - 1 : 0), x = 1; x < w; x++)
8504
+ }, C.backendConnector = new k5(l(this.modules.backend), C.resourceStore, C, this.options), C.backendConnector.on("*", function(p) {
8505
+ for (var v = arguments.length, N = new Array(v > 1 ? v - 1 : 0), x = 1; x < v; x++)
8472
8506
  N[x - 1] = arguments[x];
8473
8507
  e.emit(p, ...N);
8474
- }), this.modules.languageDetector && (C.languageDetector = l(this.modules.languageDetector), C.languageDetector.init && C.languageDetector.init(C, this.options.detection, this.options)), this.modules.i18nFormat && (C.i18nFormat = l(this.modules.i18nFormat), C.i18nFormat.init && C.i18nFormat.init(this)), this.translator = new C1(this.services, this.options), this.translator.on("*", function(p) {
8475
- for (var w = arguments.length, N = new Array(w > 1 ? w - 1 : 0), x = 1; x < w; x++)
8508
+ }), this.modules.languageDetector && (C.languageDetector = l(this.modules.languageDetector), C.languageDetector.init && C.languageDetector.init(C, this.options.detection, this.options)), this.modules.i18nFormat && (C.i18nFormat = l(this.modules.i18nFormat), C.i18nFormat.init && C.i18nFormat.init(this)), this.translator = new p1(this.services, this.options), this.translator.on("*", function(p) {
8509
+ for (var v = arguments.length, N = new Array(v > 1 ? v - 1 : 0), x = 1; x < v; x++)
8476
8510
  N[x - 1] = arguments[x];
8477
8511
  e.emit(p, ...N);
8478
8512
  }), this.modules.external.forEach((p) => {
8479
8513
  p.init && p.init(this);
8480
8514
  });
8481
8515
  }
8482
- if (this.format = this.options.interpolation.format, s || (s = a1), this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
8516
+ if (this.format = this.options.interpolation.format, s || (s = h1), this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
8483
8517
  const a = this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);
8484
8518
  a.length > 0 && a[0] !== "dev" && (this.options.lng = a[0]);
8485
8519
  }
@@ -8502,7 +8536,7 @@ class s1 extends f1 {
8502
8536
  return this.options.resources || !this.options.initImmediate ? g() : setTimeout(g, 0), d;
8503
8537
  }
8504
8538
  loadResources(e) {
8505
- let s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : a1;
8539
+ let s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : h1;
8506
8540
  const n = typeof e == "string" ? e : this.language;
8507
8541
  if (typeof e == "function" && (s = e), !this.options.resources || this.options.partialBundledLanguages) {
8508
8542
  if (n && n.toLowerCase() === "cimode" && (!this.options.preload || this.options.preload.length === 0)) return s();
@@ -8520,14 +8554,14 @@ class s1 extends f1 {
8520
8554
  }
8521
8555
  reloadResources(e, t, s) {
8522
8556
  const n = t1();
8523
- return typeof e == "function" && (s = e, e = void 0), typeof t == "function" && (s = t, t = void 0), e || (e = this.languages), t || (t = this.options.ns), s || (s = a1), this.services.backendConnector.reload(e, t, (l) => {
8557
+ 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 = h1), this.services.backendConnector.reload(e, t, (l) => {
8524
8558
  n.resolve(), s(l);
8525
8559
  }), n;
8526
8560
  }
8527
8561
  use(e) {
8528
8562
  if (!e) throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");
8529
8563
  if (!e.type) throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");
8530
- return e.type === "backend" && (this.modules.backend = e), (e.type === "logger" || e.log && e.warn && e.error) && (this.modules.logger = e), e.type === "languageDetector" && (this.modules.languageDetector = e), e.type === "i18nFormat" && (this.modules.i18nFormat = e), e.type === "postProcessor" && X1.addPostProcessor(e), e.type === "formatter" && (this.modules.formatter = e), e.type === "3rdParty" && this.modules.external.push(e), this;
8564
+ 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" && te.addPostProcessor(e), e.type === "formatter" && (this.modules.formatter = e), e.type === "3rdParty" && this.modules.external.push(e), this;
8531
8565
  }
8532
8566
  setResolvedLanguage(e) {
8533
8567
  if (!(!e || !this.languages) && !(["cimode", "dev"].indexOf(e) > -1))
@@ -8576,7 +8610,7 @@ class s1 extends f1 {
8576
8610
  d.lng = d.lng || l.lng, d.lngs = d.lngs || l.lngs, d.ns = d.ns || l.ns, d.keyPrefix !== "" && (d.keyPrefix = d.keyPrefix || s || l.keyPrefix);
8577
8611
  const C = n.options.keySeparator || ".";
8578
8612
  let p;
8579
- return d.keyPrefix && Array.isArray(c) ? p = c.map((w) => `${d.keyPrefix}${C}${w}`) : p = d.keyPrefix ? `${d.keyPrefix}${C}${c}` : c, n.t(p, d);
8613
+ return d.keyPrefix && Array.isArray(c) ? p = c.map((v) => `${d.keyPrefix}${C}${v}`) : p = d.keyPrefix ? `${d.keyPrefix}${C}${c}` : c, n.t(p, d);
8580
8614
  };
8581
8615
  return typeof e == "string" ? l.lng = e : l.lngs = e, l.ns = t, l.keyPrefix = s, l;
8582
8616
  }
@@ -8625,7 +8659,7 @@ class s1 extends f1 {
8625
8659
  }
8626
8660
  dir(e) {
8627
8661
  if (e || (e = this.resolvedLanguage || (this.languages && this.languages.length > 0 ? this.languages[0] : this.language)), !e) return "rtl";
8628
- const t = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], s = this.services && this.services.languageUtils || new B1(Z1());
8662
+ 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 j1(T1());
8629
8663
  return t.indexOf(s.getLanguagePartFromCode(e)) > -1 || e.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
8630
8664
  }
8631
8665
  static createInstance() {
@@ -8633,7 +8667,7 @@ class s1 extends f1 {
8633
8667
  return new s1(e, t);
8634
8668
  }
8635
8669
  cloneInstance() {
8636
- let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : a1;
8670
+ let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : h1;
8637
8671
  const s = e.forkResourceStore;
8638
8672
  s && delete e.forkResourceStore;
8639
8673
  const n = {
@@ -8647,7 +8681,7 @@ class s1 extends f1 {
8647
8681
  ...this.services
8648
8682
  }, l.services.utils = {
8649
8683
  hasLoadedNamespace: l.hasLoadedNamespace.bind(l)
8650
- }, s && (l.store = new O1(this.store.data, n), l.services.resourceStore = l.store), l.translator = new C1(l.services, n), l.translator.on("*", function(o) {
8684
+ }, s && (l.store = new B1(this.store.data, n), l.services.resourceStore = l.store), l.translator = new p1(l.services, n), l.translator.on("*", function(o) {
8651
8685
  for (var d = arguments.length, g = new Array(d > 1 ? d - 1 : 0), a = 1; a < d; a++)
8652
8686
  g[a - 1] = arguments[a];
8653
8687
  l.emit(o, ...g);
@@ -8665,81 +8699,81 @@ class s1 extends f1 {
8665
8699
  };
8666
8700
  }
8667
8701
  }
8668
- const S = s1.createInstance();
8669
- S.createInstance = s1.createInstance;
8670
- S.createInstance;
8671
- S.dir;
8672
- S.init;
8673
- S.loadResources;
8674
- S.reloadResources;
8675
- S.use;
8676
- S.changeLanguage;
8677
- S.getFixedT;
8678
- S.t;
8679
- S.exists;
8680
- S.setDefaultNamespace;
8681
- S.hasLoadedNamespace;
8682
- S.loadNamespaces;
8683
- S.loadLanguages;
8684
- const w5 = "Archived", m5 = "Deleted", k5 = {
8685
- archived: w5,
8686
- deleted: m5
8687
- }, L5 = "Заархивирован", v5 = "Удалён", N5 = {
8688
- archived: L5,
8689
- deleted: v5
8702
+ const B = s1.createInstance();
8703
+ B.createInstance = s1.createInstance;
8704
+ B.createInstance;
8705
+ B.dir;
8706
+ B.init;
8707
+ B.loadResources;
8708
+ B.reloadResources;
8709
+ B.use;
8710
+ B.changeLanguage;
8711
+ B.getFixedT;
8712
+ B.t;
8713
+ B.exists;
8714
+ B.setDefaultNamespace;
8715
+ B.hasLoadedNamespace;
8716
+ B.loadNamespaces;
8717
+ B.loadLanguages;
8718
+ const v5 = "Archived", N5 = "Deleted", x5 = {
8719
+ archived: v5,
8720
+ deleted: N5
8721
+ }, R5 = "Заархивирован", M5 = "Удалён", y5 = {
8722
+ archived: R5,
8723
+ deleted: M5
8690
8724
  };
8691
- S.use(Gi).init({
8725
+ B.use(Fi).init({
8692
8726
  defaultNS: "common",
8693
8727
  lng: "en",
8694
8728
  resources: {
8695
8729
  en: {
8696
- common: k5
8730
+ common: x5
8697
8731
  },
8698
8732
  ru: {
8699
- common: N5
8733
+ common: y5
8700
8734
  }
8701
8735
  }
8702
8736
  });
8703
- const V5 = r1(
8737
+ const O5 = r1(
8704
8738
  ({ fetchParams: i, mode: e = void 0, placeholder: t, disabled: s, value: n, onChange: l, onError: c }, o) => {
8705
- const { axiosPeople: d, locale: g } = o1(he), { t: a } = Yi("common", { lng: g }), [h, C] = I([]), [p, w] = I(!0);
8739
+ const { axiosPeople: d, locale: g } = o1(Ce), { t: a } = Qi("common", { lng: g }), [h, C] = S([]), [p, v] = S(!0);
8706
8740
  if (!d)
8707
8741
  throw new Error(
8708
8742
  `UserSelect requires "axiosPeople" to fetch users.
8709
8743
  Please provide it via SNMTUiContext.`
8710
8744
  );
8711
- const N = $(
8745
+ const N = j(
8712
8746
  (f) => {
8713
8747
  let m = "";
8714
- return f.deletedAt && (m += `[${a("deleted")}] `), f.status === c1.ARCHIVED && (m += `[${a("archived")}] `), `${m}${f.firstName} ${f.lastName}`;
8748
+ return f.deletedAt && (m += `[${a("deleted")}] `), f.status === d1.ARCHIVED && (m += `[${a("archived")}] `), `${m}${f.firstName} ${f.lastName}`;
8715
8749
  },
8716
8750
  [a]
8717
- ), x = $(
8751
+ ), x = j(
8718
8752
  async ({
8719
8753
  offset: f,
8720
8754
  limit: m,
8721
8755
  search: M
8722
8756
  }) => {
8723
- var R, b, O;
8757
+ var R, H, W;
8724
8758
  try {
8725
- const E = await d.post("v1/users/search", {
8759
+ const A = await d.post("v1/users/search", {
8726
8760
  offset: f,
8727
8761
  limit: m,
8728
8762
  search: M,
8729
8763
  ...i,
8730
8764
  includeCount: !0
8731
- }), { data: W, metadata: P } = E.data;
8765
+ }), { data: _, metadata: G } = A.data;
8732
8766
  return {
8733
- options: W.map((j) => ({
8734
- value: j.id,
8735
- label: N(j)
8767
+ options: _.map((Z) => ({
8768
+ value: Z.id,
8769
+ label: N(Z)
8736
8770
  })),
8737
- count: P.count
8771
+ count: G.count
8738
8772
  };
8739
- } catch (E) {
8773
+ } catch (A) {
8740
8774
  return c && c({
8741
- status: ((R = E.response) == null ? void 0 : R.status) ?? 500,
8742
- message: ((O = (b = E.response) == null ? void 0 : b.data) == null ? void 0 : O.message) ?? "Error while fetching options"
8775
+ status: ((R = A.response) == null ? void 0 : R.status) ?? 500,
8776
+ message: ((W = (H = A.response) == null ? void 0 : H.data) == null ? void 0 : W.message) ?? "Error while fetching options"
8743
8777
  }), {
8744
8778
  options: [],
8745
8779
  count: 0
@@ -8747,31 +8781,31 @@ const V5 = r1(
8747
8781
  }
8748
8782
  },
8749
8783
  [d, i, c, N]
8750
- ), V = $(
8784
+ ), V = j(
8751
8785
  async (f) => {
8752
8786
  var m, M, R;
8753
8787
  try {
8754
8788
  return await Promise.all(
8755
- f.map(async (O) => {
8756
- const E = h.find((j) => j.value === O);
8757
- if (E)
8758
- return E;
8759
- const P = (await d.post("v1/users/search", {
8789
+ f.map(async (W) => {
8790
+ const A = h.find((Z) => Z.value === W);
8791
+ if (A)
8792
+ return A;
8793
+ const G = (await d.post("v1/users/search", {
8760
8794
  filters: {
8761
- id: [O],
8762
- status: [c1.ACTIVE, c1.ARCHIVED]
8795
+ id: [W],
8796
+ status: [d1.ACTIVE, d1.ARCHIVED]
8763
8797
  }
8764
8798
  })).data.data[0];
8765
8799
  return {
8766
- value: O,
8767
- label: N(P)
8800
+ value: W,
8801
+ label: N(G)
8768
8802
  };
8769
8803
  })
8770
8804
  );
8771
- } catch (b) {
8805
+ } catch (H) {
8772
8806
  return c && c({
8773
- status: ((m = b.response) == null ? void 0 : m.status) ?? 500,
8774
- message: ((R = (M = b.response) == null ? void 0 : M.data) == null ? void 0 : R.message) ?? "Error while fetching selected items"
8807
+ status: ((m = H.response) == null ? void 0 : m.status) ?? 500,
8808
+ message: ((R = (M = H.response) == null ? void 0 : M.data) == null ? void 0 : R.message) ?? "Error while fetching selected items"
8775
8809
  }), [];
8776
8810
  }
8777
8811
  },
@@ -8779,46 +8813,46 @@ const V5 = r1(
8779
8813
  // eslint-disable-next-line react-hooks/exhaustive-deps
8780
8814
  [d, N, c]
8781
8815
  );
8782
- D(() => {
8816
+ T(() => {
8783
8817
  if (!n) {
8784
- w(!1);
8818
+ v(!1);
8785
8819
  return;
8786
8820
  }
8787
8821
  (async () => {
8788
8822
  const m = Array.isArray(n) ? n : [n], M = await V(m);
8789
- C(M), w(!1);
8823
+ C(M), v(!1);
8790
8824
  })();
8791
8825
  }, [V, n]);
8792
- const y = $(
8826
+ const y = j(
8793
8827
  async ({
8794
8828
  limit: f,
8795
8829
  offset: m,
8796
8830
  search: M
8797
8831
  }) => {
8798
- const { options: R, count: b } = await x({
8832
+ const { options: R, count: H } = await x({
8799
8833
  offset: m,
8800
8834
  limit: f,
8801
8835
  search: M
8802
8836
  });
8803
8837
  return {
8804
8838
  options: R,
8805
- count: b,
8839
+ count: H,
8806
8840
  limit: f
8807
8841
  };
8808
8842
  },
8809
8843
  [x]
8810
8844
  );
8811
8845
  if (p)
8812
- return /* @__PURE__ */ r(Vi, {});
8813
- const H = {
8846
+ return /* @__PURE__ */ r(Oi, {});
8847
+ const E = {
8814
8848
  ref: o,
8815
8849
  placeholder: t,
8816
8850
  disabled: s
8817
8851
  };
8818
8852
  return e ? /* @__PURE__ */ r(
8819
- y1,
8853
+ E1,
8820
8854
  {
8821
- ...H,
8855
+ ...E,
8822
8856
  mode: e,
8823
8857
  value: n,
8824
8858
  onChange: l,
@@ -8827,9 +8861,9 @@ const V5 = r1(
8827
8861
  extraOptions: h
8828
8862
  }
8829
8863
  ) : /* @__PURE__ */ r(
8830
- y1,
8864
+ E1,
8831
8865
  {
8832
- ...H,
8866
+ ...E,
8833
8867
  value: n,
8834
8868
  mode: void 0,
8835
8869
  onChange: l,
@@ -8841,5 +8875,5 @@ const V5 = r1(
8841
8875
  }
8842
8876
  );
8843
8877
  export {
8844
- V5 as UserSelect
8878
+ O5 as UserSelect
8845
8879
  };