@snmt-react-ui/city-select 2.3.4 → 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.
@@ -5,7 +5,7 @@ import "./index.css";
5
5
  import { jsx as n, Fragment as t1, jsxs as C } from "react/jsx-runtime";
6
6
  import { SNMTUiContext as de } from "@snmt-react-ui/core";
7
7
  import { Select as ge, Flex as Ce, Avatar as ue, Checkbox as pe, Typography as $1, Tag as Y1, Popover as fe } from "antd";
8
- import { createContext as n1, forwardRef as f1, useState as I, useRef as r1, useEffect as W, useCallback as G, useContext as l1 } from "react";
8
+ import { createContext as n1, forwardRef as f1, useState as O, useRef as r1, useEffect as j, useCallback as K, useContext as l1 } from "react";
9
9
  const d1 = ({
10
10
  children: i,
11
11
  direction: e = "row",
@@ -56,8 +56,8 @@ const me = ({
56
56
  disabled: o = !1,
57
57
  disableUncheck: l = !1
58
58
  }) => {
59
- const [c, r] = I(i), [d, g] = I(e);
60
- W(() => {
59
+ const [c, r] = O(i), [d, g] = O(e);
60
+ j(() => {
61
61
  r(i), g(e);
62
62
  }, [i, e]);
63
63
  const { theme: a } = l1(U1);
@@ -1354,7 +1354,7 @@ const ke = ({
1354
1354
  /* @__PURE__ */ n("circle", { cx: "10", cy: "10", r: "2.375", stroke: t, strokeWidth: "1.25" })
1355
1355
  ]
1356
1356
  }
1357
- ), e2 = ({
1357
+ ), et = ({
1358
1358
  width: i = 20,
1359
1359
  height: e = 20,
1360
1360
  color: t = "#070739",
@@ -1392,7 +1392,7 @@ const ke = ({
1392
1392
  )
1393
1393
  ]
1394
1394
  }
1395
- ), t2 = ({
1395
+ ), tt = ({
1396
1396
  width: i = 9,
1397
1397
  height: e = 5,
1398
1398
  color: t = "#001E52",
@@ -1418,7 +1418,7 @@ const ke = ({
1418
1418
  }
1419
1419
  )
1420
1420
  }
1421
- ), i2 = ({
1421
+ ), it = ({
1422
1422
  width: i = 20,
1423
1423
  height: e = 20,
1424
1424
  color: t = "#F2F2F7",
@@ -1447,7 +1447,7 @@ const ke = ({
1447
1447
  )
1448
1448
  ]
1449
1449
  }
1450
- ), s2 = ({
1450
+ ), st = ({
1451
1451
  width: i = 20,
1452
1452
  height: e = 20,
1453
1453
  color: t = "#004ED7",
@@ -1476,7 +1476,7 @@ const ke = ({
1476
1476
  )
1477
1477
  ]
1478
1478
  }
1479
- ), o2 = ({
1479
+ ), ot = ({
1480
1480
  width: i = 248,
1481
1481
  height: e = 248,
1482
1482
  color: t = "#070739",
@@ -1513,7 +1513,7 @@ const ke = ({
1513
1513
  )
1514
1514
  ]
1515
1515
  }
1516
- ), n2 = ({
1516
+ ), nt = ({
1517
1517
  width: i = 24,
1518
1518
  height: e = 24,
1519
1519
  color: t = "#001E52",
@@ -1552,7 +1552,7 @@ const ke = ({
1552
1552
  )
1553
1553
  ]
1554
1554
  }
1555
- ), r2 = ({
1555
+ ), rt = ({
1556
1556
  width: i = 10,
1557
1557
  height: e = 10,
1558
1558
  color: t = "#001E52",
@@ -1581,7 +1581,7 @@ const ke = ({
1581
1581
  )
1582
1582
  ]
1583
1583
  }
1584
- ), l2 = ({
1584
+ ), lt = ({
1585
1585
  width: i = 10,
1586
1586
  height: e = 10,
1587
1587
  color: t = "#001E52",
@@ -1618,7 +1618,7 @@ const ke = ({
1618
1618
  )
1619
1619
  ]
1620
1620
  }
1621
- ), a2 = ({
1621
+ ), at = ({
1622
1622
  width: i = 24,
1623
1623
  height: e = 24,
1624
1624
  color: t = k.GREY_DARK_5,
@@ -1657,7 +1657,7 @@ const ke = ({
1657
1657
  )
1658
1658
  ]
1659
1659
  }
1660
- ), h2 = ({
1660
+ ), ht = ({
1661
1661
  width: i = 20,
1662
1662
  height: e = 20,
1663
1663
  color: t = k.GREY_DARK_1,
@@ -1690,7 +1690,7 @@ const ke = ({
1690
1690
  )
1691
1691
  ]
1692
1692
  }
1693
- ), c2 = ({
1693
+ ), ct = ({
1694
1694
  width: i = 81,
1695
1695
  height: e = 80,
1696
1696
  color: t = k.GREY_DARK_5,
@@ -1739,7 +1739,7 @@ const ke = ({
1739
1739
  )
1740
1740
  ]
1741
1741
  }
1742
- ), d2 = ({
1742
+ ), dt = ({
1743
1743
  className: i,
1744
1744
  color: e = k.GREY_DARK_5,
1745
1745
  height: t = 20,
@@ -1766,7 +1766,7 @@ const ke = ({
1766
1766
  }
1767
1767
  )
1768
1768
  }
1769
- ), g2 = ({
1769
+ ), gt = ({
1770
1770
  className: i,
1771
1771
  color: e = k.GREY_DARK_5,
1772
1772
  height: t = 20,
@@ -1793,7 +1793,7 @@ const ke = ({
1793
1793
  }
1794
1794
  )
1795
1795
  }
1796
- ), C2 = ({
1796
+ ), Ct = ({
1797
1797
  className: i,
1798
1798
  color: e = k.GREY_DARK_5,
1799
1799
  height: t = 5,
@@ -1817,7 +1817,7 @@ const ke = ({
1817
1817
  }
1818
1818
  )
1819
1819
  }
1820
- ), u2 = ({
1820
+ ), ut = ({
1821
1821
  className: i,
1822
1822
  color: e = k.GREY_DARK_5,
1823
1823
  height: t = 5,
@@ -1842,7 +1842,7 @@ const ke = ({
1842
1842
  }
1843
1843
  )
1844
1844
  }
1845
- ), p2 = ({
1845
+ ), pt = ({
1846
1846
  className: i,
1847
1847
  color: e = k.GREY_DARK_5,
1848
1848
  height: t = 24,
@@ -1881,7 +1881,7 @@ const ke = ({
1881
1881
  )
1882
1882
  ]
1883
1883
  }
1884
- ), f2 = ({
1884
+ ), ft = ({
1885
1885
  className: i,
1886
1886
  color: e = k.GREY_DARK_5,
1887
1887
  height: t = 24,
@@ -1920,7 +1920,7 @@ const ke = ({
1920
1920
  )
1921
1921
  ]
1922
1922
  }
1923
- ), w2 = ({
1923
+ ), wt = ({
1924
1924
  className: i,
1925
1925
  color: e = k.GREY_DARK_5,
1926
1926
  height: t = 24,
@@ -1947,7 +1947,7 @@ const ke = ({
1947
1947
  }
1948
1948
  )
1949
1949
  }
1950
- ), m2 = ({
1950
+ ), mt = ({
1951
1951
  className: i,
1952
1952
  color: e = k.GREY_DARK_5,
1953
1953
  height: t = 24,
@@ -2006,7 +2006,7 @@ const ke = ({
2006
2006
  )
2007
2007
  ]
2008
2008
  }
2009
- ), k2 = ({
2009
+ ), kt = ({
2010
2010
  className: i,
2011
2011
  color: e = k.GREY_DARK_5,
2012
2012
  height: t = 24,
@@ -2043,7 +2043,7 @@ const ke = ({
2043
2043
  )
2044
2044
  ]
2045
2045
  }
2046
- ), L2 = ({
2046
+ ), Lt = ({
2047
2047
  className: i,
2048
2048
  color: e = k.GREY_DARK_3,
2049
2049
  height: t = 14,
@@ -2080,7 +2080,7 @@ const ke = ({
2080
2080
  )
2081
2081
  ]
2082
2082
  }
2083
- ), v2 = ({
2083
+ ), vt = ({
2084
2084
  className: i,
2085
2085
  color: e = k.GREY_DARK_5,
2086
2086
  height: t = 18,
@@ -2107,7 +2107,7 @@ const ke = ({
2107
2107
  }
2108
2108
  )
2109
2109
  }
2110
- ), N2 = ({
2110
+ ), Nt = ({
2111
2111
  className: i,
2112
2112
  color: e = k.GREY_DARK_5,
2113
2113
  height: t = 24,
@@ -2159,7 +2159,7 @@ const ke = ({
2159
2159
  )
2160
2160
  ]
2161
2161
  }
2162
- ), x2 = ({
2162
+ ), xt = ({
2163
2163
  className: i,
2164
2164
  color: e = k.GREY_DARK_5,
2165
2165
  height: t = 24,
@@ -2196,7 +2196,7 @@ const ke = ({
2196
2196
  )
2197
2197
  ]
2198
2198
  }
2199
- ), R2 = ({
2199
+ ), Rt = ({
2200
2200
  className: i,
2201
2201
  color: e = k.NOTIFICATION_WARNING_DARK,
2202
2202
  height: t = 37,
@@ -2235,7 +2235,7 @@ const ke = ({
2235
2235
  )
2236
2236
  ]
2237
2237
  }
2238
- ), M2 = ({
2238
+ ), Mt = ({
2239
2239
  className: i,
2240
2240
  color: e = k.GREY_DARK_5,
2241
2241
  height: t = 24,
@@ -2261,7 +2261,7 @@ const ke = ({
2261
2261
  }
2262
2262
  )
2263
2263
  }
2264
- ), y2 = ({
2264
+ ), yt = ({
2265
2265
  className: i,
2266
2266
  color: e = k.GREY_DARK_5,
2267
2267
  height: t = 24,
@@ -2300,7 +2300,7 @@ const ke = ({
2300
2300
  )
2301
2301
  ]
2302
2302
  }
2303
- ), b2 = ({
2303
+ ), bt = ({
2304
2304
  className: i,
2305
2305
  color: e = k.GREY_DARK_5,
2306
2306
  height: t = 24,
@@ -2339,7 +2339,7 @@ const ke = ({
2339
2339
  )
2340
2340
  ]
2341
2341
  }
2342
- ), E2 = ({
2342
+ ), Et = ({
2343
2343
  className: i,
2344
2344
  color: e = k.GREY_DARK_5,
2345
2345
  height: t = 24,
@@ -2408,7 +2408,7 @@ const ke = ({
2408
2408
  )
2409
2409
  ]
2410
2410
  }
2411
- ), H2 = ({
2411
+ ), Ht = ({
2412
2412
  className: i,
2413
2413
  color: e = k.GREY_DARK_5,
2414
2414
  height: t = 24,
@@ -2447,7 +2447,7 @@ const ke = ({
2447
2447
  )
2448
2448
  ]
2449
2449
  }
2450
- ), _2 = ({
2450
+ ), _t = ({
2451
2451
  className: i,
2452
2452
  color: e = k.GREY_DARK_5,
2453
2453
  height: t = 24,
@@ -2504,7 +2504,7 @@ const ke = ({
2504
2504
  )
2505
2505
  ]
2506
2506
  }
2507
- ), V2 = ({
2507
+ ), Vt = ({
2508
2508
  className: i,
2509
2509
  color: e = k.GREY_DARK_5,
2510
2510
  height: t = 24,
@@ -2543,7 +2543,7 @@ const ke = ({
2543
2543
  )
2544
2544
  ]
2545
2545
  }
2546
- ), I2 = ({
2546
+ ), It = ({
2547
2547
  className: i,
2548
2548
  color: e = k.GREY_DARK_5,
2549
2549
  height: t = 24,
@@ -2592,7 +2592,7 @@ const ke = ({
2592
2592
  )
2593
2593
  ]
2594
2594
  }
2595
- ), S2 = ({
2595
+ ), St = ({
2596
2596
  className: i,
2597
2597
  color: e = k.GREY_DARK_5,
2598
2598
  height: t = 24,
@@ -2631,7 +2631,7 @@ const ke = ({
2631
2631
  )
2632
2632
  ]
2633
2633
  }
2634
- ), O2 = ({
2634
+ ), Ot = ({
2635
2635
  className: i,
2636
2636
  color: e = k.GREY_DARK_5,
2637
2637
  height: t = 24,
@@ -2658,7 +2658,7 @@ const ke = ({
2658
2658
  }
2659
2659
  )
2660
2660
  }
2661
- ), A2 = ({
2661
+ ), At = ({
2662
2662
  className: i,
2663
2663
  color: e = k.GREY_DARK_5,
2664
2664
  height: t = 24,
@@ -2696,7 +2696,7 @@ const ke = ({
2696
2696
  )
2697
2697
  ]
2698
2698
  }
2699
- ), B2 = ({
2699
+ ), Bt = ({
2700
2700
  className: i,
2701
2701
  color: e = k.GREY_DARK_5,
2702
2702
  height: t = 24,
@@ -2717,7 +2717,7 @@ const ke = ({
2717
2717
  /* @__PURE__ */ n("path", { d: "M12 8L4 8", stroke: e, strokeWidth: "1.7", strokeLinecap: "round" })
2718
2718
  ]
2719
2719
  }
2720
- ), Z2 = ({
2720
+ ), Zt = ({
2721
2721
  className: i,
2722
2722
  color: e = k.GREY_DARK_5,
2723
2723
  height: t = 24,
@@ -2756,7 +2756,7 @@ const ke = ({
2756
2756
  )
2757
2757
  ]
2758
2758
  }
2759
- ), W2 = ({
2759
+ ), Wt = ({
2760
2760
  className: i,
2761
2761
  color: e = k.GREY_DARK_5,
2762
2762
  height: t = 24,
@@ -2795,7 +2795,7 @@ const ke = ({
2795
2795
  )
2796
2796
  ]
2797
2797
  }
2798
- ), j2 = ({
2798
+ ), jt = ({
2799
2799
  className: i,
2800
2800
  color: e = k.GREY_DARK_5,
2801
2801
  height: t = 24,
@@ -2834,7 +2834,7 @@ const ke = ({
2834
2834
  )
2835
2835
  ]
2836
2836
  }
2837
- ), D2 = ({
2837
+ ), Dt = ({
2838
2838
  className: i,
2839
2839
  color: e = k.GREY_DARK_2,
2840
2840
  height: t = 16,
@@ -2860,7 +2860,7 @@ const ke = ({
2860
2860
  }
2861
2861
  )
2862
2862
  }
2863
- ), T2 = ({
2863
+ ), Tt = ({
2864
2864
  className: i,
2865
2865
  color: e = k.GREY_DARK_5,
2866
2866
  height: t = 20,
@@ -2889,7 +2889,7 @@ const ke = ({
2889
2889
  /* @__PURE__ */ n("defs", { children: /* @__PURE__ */ n("clipPath", { id: "clip0_3992_5989", children: /* @__PURE__ */ n("rect", { width: "20", height: "20", fill: "white" }) }) })
2890
2890
  ]
2891
2891
  }
2892
- ), G2 = ({
2892
+ ), Gt = ({
2893
2893
  className: i,
2894
2894
  color: e = k.GREY_DARK_5,
2895
2895
  height: t = 20,
@@ -2918,7 +2918,7 @@ const ke = ({
2918
2918
  /* @__PURE__ */ n("defs", { children: /* @__PURE__ */ n("clipPath", { id: "clip0_3992_5988", children: /* @__PURE__ */ n("rect", { width: "20", height: "20", fill: "white" }) }) })
2919
2919
  ]
2920
2920
  }
2921
- ), K2 = ({
2921
+ ), Kt = ({
2922
2922
  className: i,
2923
2923
  color: e = k.GREY_DARK_5,
2924
2924
  height: t = 20,
@@ -2947,7 +2947,7 @@ const ke = ({
2947
2947
  )
2948
2948
  ]
2949
2949
  }
2950
- ), P2 = ({
2950
+ ), Pt = ({
2951
2951
  className: i,
2952
2952
  color: e = k.GREY_DARK_5,
2953
2953
  height: t = 20,
@@ -2976,7 +2976,7 @@ const ke = ({
2976
2976
  )
2977
2977
  ]
2978
2978
  }
2979
- ), F2 = ({
2979
+ ), Ft = ({
2980
2980
  className: i,
2981
2981
  color: e = "#001E52",
2982
2982
  height: t = 24,
@@ -3002,7 +3002,7 @@ const ke = ({
3002
3002
  }
3003
3003
  )
3004
3004
  }
3005
- ), $2 = ({
3005
+ ), $t = ({
3006
3006
  className: i,
3007
3007
  color: e = "#131314",
3008
3008
  height: t = 20,
@@ -3030,7 +3030,7 @@ const ke = ({
3030
3030
  }
3031
3031
  )
3032
3032
  }
3033
- ), Y2 = ({
3033
+ ), Yt = ({
3034
3034
  className: i,
3035
3035
  color: e = "#001E52",
3036
3036
  height: t = 24,
@@ -3068,7 +3068,7 @@ const ke = ({
3068
3068
  )
3069
3069
  ] }) })
3070
3070
  }
3071
- ), U2 = ({
3071
+ ), Ut = ({
3072
3072
  width: i = 20,
3073
3073
  height: e = 20,
3074
3074
  color: t = "#001E52",
@@ -3133,8 +3133,8 @@ const ke = ({
3133
3133
  disabled: l = !1,
3134
3134
  onClick: c
3135
3135
  }) => {
3136
- const [r, d] = I(o), { theme: g } = l1(z1), a = l ? g && g === "dark" ? k.GREY_LIGHT_4 : k.GREY_DARK_1 : s, h = l ? void 0 : c;
3137
- return W(() => {
3136
+ const [r, d] = O(o), { theme: g } = l1(z1), a = l ? g && g === "dark" ? k.GREY_LIGHT_4 : k.GREY_DARK_1 : s, h = l ? void 0 : c;
3137
+ return j(() => {
3138
3138
  if (o) {
3139
3139
  h && !l && d(`${o} clickable`);
3140
3140
  return;
@@ -3143,9 +3143,9 @@ const ke = ({
3143
3143
  }, [h, o, l]), /* @__PURE__ */ n(t1, { children: (() => {
3144
3144
  switch (i) {
3145
3145
  case "nextIcon":
3146
- return d2({ width: e, height: t, color: a, className: r, onClick: h });
3146
+ return dt({ width: e, height: t, color: a, className: r, onClick: h });
3147
3147
  case "prevIcon":
3148
- return g2({ width: e, height: t, color: a, className: r, onClick: h });
3148
+ return gt({ width: e, height: t, color: a, className: r, onClick: h });
3149
3149
  case "arrowUp":
3150
3150
  return ke({ width: e, height: t, color: a, className: r, onClick: h });
3151
3151
  case "arrowDown":
@@ -3251,7 +3251,7 @@ const ke = ({
3251
3251
  case "errorMedium":
3252
3252
  return qe({ width: e, height: t, color: a, className: r, onClick: h });
3253
3253
  case "faviconSkills":
3254
- return o2({
3254
+ return ot({
3255
3255
  width: e,
3256
3256
  height: t,
3257
3257
  color: a,
@@ -3267,7 +3267,7 @@ const ke = ({
3267
3267
  onClick: h
3268
3268
  });
3269
3269
  case "visibilityOffIcon":
3270
- return e2({
3270
+ return et({
3271
3271
  width: e,
3272
3272
  height: t,
3273
3273
  color: a,
@@ -3275,7 +3275,7 @@ const ke = ({
3275
3275
  onClick: h
3276
3276
  });
3277
3277
  case "selectArrowIcon":
3278
- return t2({
3278
+ return tt({
3279
3279
  width: e,
3280
3280
  height: t,
3281
3281
  color: a,
@@ -3283,7 +3283,7 @@ const ke = ({
3283
3283
  onClick: h
3284
3284
  });
3285
3285
  case "expandArrowIcon":
3286
- return i2({
3286
+ return it({
3287
3287
  width: e,
3288
3288
  height: t,
3289
3289
  color: a,
@@ -3291,7 +3291,7 @@ const ke = ({
3291
3291
  onClick: h
3292
3292
  });
3293
3293
  case "expandActiveArrowIcon":
3294
- return s2({
3294
+ return st({
3295
3295
  width: e,
3296
3296
  height: t,
3297
3297
  color: a,
@@ -3299,99 +3299,99 @@ const ke = ({
3299
3299
  onClick: h
3300
3300
  });
3301
3301
  case "camera":
3302
- return n2({ width: e, height: t, color: a, className: r, onClick: h });
3302
+ return nt({ width: e, height: t, color: a, className: r, onClick: h });
3303
3303
  case "sortUp":
3304
- return r2({ width: e, height: t, color: a, className: r, onClick: h });
3304
+ return rt({ width: e, height: t, color: a, className: r, onClick: h });
3305
3305
  case "sortDown":
3306
- return l2({ width: e, height: t, color: a, className: r, onClick: h });
3306
+ return lt({ width: e, height: t, color: a, className: r, onClick: h });
3307
3307
  case "logOut2":
3308
- return a2({ width: e, height: t, color: a, className: r, onClick: h });
3308
+ return at({ width: e, height: t, color: a, className: r, onClick: h });
3309
3309
  case "search":
3310
- return h2({ width: e, height: t, color: a, className: r, onClick: h });
3310
+ return ht({ width: e, height: t, color: a, className: r, onClick: h });
3311
3311
  case "handRock":
3312
- return c2({ width: e, height: t, color: a, className: r, onClick: h });
3312
+ return ct({ width: e, height: t, color: a, className: r, onClick: h });
3313
3313
  case "arrowUpFilled":
3314
- return u2({ width: e, height: t, color: a, className: r, onClick: h });
3314
+ return ut({ width: e, height: t, color: a, className: r, onClick: h });
3315
3315
  case "arrowDownFilled":
3316
- return C2({ width: e, height: t, color: a, className: r, onClick: h });
3316
+ return Ct({ width: e, height: t, color: a, className: r, onClick: h });
3317
3317
  case "link":
3318
- return p2({ width: e, height: t, color: a, className: r, onClick: h });
3318
+ return pt({ width: e, height: t, color: a, className: r, onClick: h });
3319
3319
  case "telegram":
3320
- return w2({ width: e, height: t, color: a, className: r, onClick: h });
3320
+ return wt({ width: e, height: t, color: a, className: r, onClick: h });
3321
3321
  case "mail":
3322
- return k2({ width: e, height: t, color: a, className: r, onClick: h });
3322
+ return kt({ width: e, height: t, color: a, className: r, onClick: h });
3323
3323
  case "github":
3324
- return f2({ width: e, height: t, color: a, className: r, onClick: h });
3324
+ return ft({ width: e, height: t, color: a, className: r, onClick: h });
3325
3325
  case "linkedIn":
3326
- return m2({ width: e, height: t, color: a, className: r, onClick: h });
3326
+ return mt({ width: e, height: t, color: a, className: r, onClick: h });
3327
3327
  case "emptyStateIcon":
3328
- return L2({ width: e, height: t, color: a, className: r, onClick: h });
3328
+ return Lt({ width: e, height: t, color: a, className: r, onClick: h });
3329
3329
  case "filtersIcon":
3330
- return v2({ width: e, height: t, color: a, className: r, onClick: h });
3330
+ return vt({ width: e, height: t, color: a, className: r, onClick: h });
3331
3331
  case "dotMenuIcon":
3332
- return N2({ width: e, height: t, color: a, className: r, onClick: h });
3332
+ return Nt({ width: e, height: t, color: a, className: r, onClick: h });
3333
3333
  case "plusCircle":
3334
- return x2({ width: e, height: t, color: a, className: r, onClick: h });
3334
+ return xt({ width: e, height: t, color: a, className: r, onClick: h });
3335
3335
  case "warning":
3336
- return R2({ width: e, height: t, color: a, className: r, onClick: h });
3336
+ return Rt({ width: e, height: t, color: a, className: r, onClick: h });
3337
3337
  case "back":
3338
- return M2({ width: e, height: t, color: a, className: r, onClick: h });
3338
+ return Mt({ width: e, height: t, color: a, className: r, onClick: h });
3339
3339
  case "bell":
3340
- return y2({ width: e, height: t, color: a, className: r, onClick: h });
3340
+ return yt({ width: e, height: t, color: a, className: r, onClick: h });
3341
3341
  case "contract":
3342
- return E2({ width: e, height: t, color: a, className: r, onClick: h });
3342
+ return Et({ width: e, height: t, color: a, className: r, onClick: h });
3343
3343
  case "trash2":
3344
- return b2({ width: e, height: t, color: a, className: r, onClick: h });
3344
+ return bt({ width: e, height: t, color: a, className: r, onClick: h });
3345
3345
  case "manager":
3346
- return H2({ width: e, height: t, color: a, className: r, onClick: h });
3346
+ return Ht({ width: e, height: t, color: a, className: r, onClick: h });
3347
3347
  case "resourceManager":
3348
- return _2({ width: e, height: t, color: a, className: r, onClick: h });
3348
+ return _t({ width: e, height: t, color: a, className: r, onClick: h });
3349
3349
  case "settings2":
3350
- return V2({ width: e, height: t, color: a, className: r, onClick: h });
3350
+ return Vt({ width: e, height: t, color: a, className: r, onClick: h });
3351
3351
  case "image":
3352
- return I2({ width: e, height: t, color: a, className: r, onClick: h });
3352
+ return It({ width: e, height: t, color: a, className: r, onClick: h });
3353
3353
  case "upload":
3354
- return S2({ width: e, height: t, color: a, className: r, onClick: h });
3354
+ return St({ width: e, height: t, color: a, className: r, onClick: h });
3355
3355
  case "edit":
3356
- return O2({ width: e, height: t, color: a, className: r, onClick: h });
3356
+ return Ot({ width: e, height: t, color: a, className: r, onClick: h });
3357
3357
  case "location":
3358
- return A2({ width: e, height: t, color: a, className: r, onClick: h });
3358
+ return At({ width: e, height: t, color: a, className: r, onClick: h });
3359
3359
  case "plus2":
3360
- return B2({ width: e, height: t, color: a, className: r, onClick: h });
3360
+ return Bt({ width: e, height: t, color: a, className: r, onClick: h });
3361
3361
  case "search2":
3362
- return Z2({ width: e, height: t, color: a, className: r, onClick: h });
3362
+ return Zt({ width: e, height: t, color: a, className: r, onClick: h });
3363
3363
  case "fastArrowLeft":
3364
- return W2({ width: e, height: t, color: a, className: r, onClick: h });
3364
+ return Wt({ width: e, height: t, color: a, className: r, onClick: h });
3365
3365
  case "fastArrowRight":
3366
- return j2({ width: e, height: t, color: a, className: r, onClick: h });
3366
+ return jt({ width: e, height: t, color: a, className: r, onClick: h });
3367
3367
  case "crossInCircle":
3368
- return D2({ width: e, height: t, color: a, className: r, onClick: h });
3368
+ return Dt({ width: e, height: t, color: a, className: r, onClick: h });
3369
3369
  case "arrowUp2":
3370
- return G2({ width: e, height: t, color: a, className: r, onClick: h });
3370
+ return Gt({ width: e, height: t, color: a, className: r, onClick: h });
3371
3371
  case "arrowDown2":
3372
- return T2({ width: e, height: t, color: a, className: r, onClick: h });
3372
+ return Tt({ width: e, height: t, color: a, className: r, onClick: h });
3373
3373
  case "filledArrowLeft":
3374
- return K2({ width: e, height: t, color: a, className: r, onClick: h });
3374
+ return Kt({ width: e, height: t, color: a, className: r, onClick: h });
3375
3375
  case "filledArrowRight":
3376
- return P2({ width: e, height: t, color: a, className: r, onClick: h });
3376
+ return Pt({ width: e, height: t, color: a, className: r, onClick: h });
3377
3377
  case "burgerMenu":
3378
- return F2({ width: e, height: t, color: a, className: r, onClick: h });
3378
+ return Ft({ width: e, height: t, color: a, className: r, onClick: h });
3379
3379
  case "signOut":
3380
- return $2({ width: e, height: t, color: a, className: r, onClick: h });
3380
+ return $t({ width: e, height: t, color: a, className: r, onClick: h });
3381
3381
  case "refresh":
3382
- return Y2({ width: e, height: t, color: a, className: r, onClick: h });
3382
+ return Yt({ width: e, height: t, color: a, className: r, onClick: h });
3383
3383
  case "projects":
3384
- return U2({ width: e, height: t, color: a, className: r, onClick: h });
3384
+ return Ut({ width: e, height: t, color: a, className: r, onClick: h });
3385
3385
  default:
3386
3386
  return /* @__PURE__ */ n(t1, { children: "No Icon provided" });
3387
3387
  }
3388
3388
  })() });
3389
- }, { Title: z2, Text: J2 } = $1, Q2 = {
3389
+ }, { Title: zt, Text: Jt } = $1, Qt = {
3390
3390
  h1: 1,
3391
3391
  h2: 2,
3392
3392
  h3: 3,
3393
3393
  h4: 4
3394
- }, q2 = f1(
3394
+ }, qt = f1(
3395
3395
  ({
3396
3396
  align: i = "inherit",
3397
3397
  variant: e = "body1",
@@ -3404,17 +3404,17 @@ const ke = ({
3404
3404
  const d = e === "h1" || e === "h2" || e === "h3" || e === "h4";
3405
3405
  let g = `snmt-typography snmt-typography-${e}`;
3406
3406
  return i && i !== "inherit" && (g += ` snmt-typography-align-${i}`), l && (g += " collapsed"), d ? /* @__PURE__ */ n(
3407
- z2,
3407
+ zt,
3408
3408
  {
3409
3409
  className: g,
3410
3410
  style: { color: t, whiteSpace: c },
3411
3411
  onClick: o,
3412
- level: Q2[e],
3412
+ level: Qt[e],
3413
3413
  ref: r,
3414
3414
  children: s
3415
3415
  }
3416
3416
  ) : /* @__PURE__ */ n(
3417
- J2,
3417
+ Jt,
3418
3418
  {
3419
3419
  className: g,
3420
3420
  style: { color: t, whiteSpace: c },
@@ -3431,7 +3431,7 @@ const J1 = n1({
3431
3431
  theme: "light"
3432
3432
  });
3433
3433
  J1.Provider;
3434
- const X2 = ({
3434
+ const Xt = ({
3435
3435
  width: i = 20,
3436
3436
  height: e = 20,
3437
3437
  color: t = "#001E52",
@@ -3458,7 +3458,7 @@ const X2 = ({
3458
3458
  }
3459
3459
  )
3460
3460
  }
3461
- ), et = ({
3461
+ ), e2 = ({
3462
3462
  width: i = 20,
3463
3463
  height: e = 20,
3464
3464
  color: t = "#001E52",
@@ -3485,7 +3485,7 @@ const X2 = ({
3485
3485
  }
3486
3486
  )
3487
3487
  }
3488
- ), tt = ({
3488
+ ), t2 = ({
3489
3489
  width: i = 16,
3490
3490
  height: e = 16,
3491
3491
  color: t = "#001E52",
@@ -3513,7 +3513,7 @@ const X2 = ({
3513
3513
  )
3514
3514
  ]
3515
3515
  }
3516
- ), it = ({
3516
+ ), i2 = ({
3517
3517
  width: i = 20,
3518
3518
  height: e = 20,
3519
3519
  color: t = "#001E52",
@@ -3548,7 +3548,7 @@ const X2 = ({
3548
3548
  )
3549
3549
  ]
3550
3550
  }
3551
- ), st = ({
3551
+ ), s2 = ({
3552
3552
  width: i = 18,
3553
3553
  height: e = 18,
3554
3554
  color: t = "#001E52",
@@ -3587,7 +3587,7 @@ const X2 = ({
3587
3587
  )
3588
3588
  ]
3589
3589
  }
3590
- ), ot = ({
3590
+ ), o2 = ({
3591
3591
  width: i = 20,
3592
3592
  height: e = 20,
3593
3593
  color: t = "#001E52",
@@ -3613,7 +3613,7 @@ const X2 = ({
3613
3613
  }
3614
3614
  )
3615
3615
  }
3616
- ), nt = ({
3616
+ ), n2 = ({
3617
3617
  width: i = 20,
3618
3618
  height: e = 20,
3619
3619
  color: t = "#001E52",
@@ -3634,7 +3634,7 @@ const X2 = ({
3634
3634
  /* @__PURE__ */ n("path", { d: "M16 4L4 16", stroke: t, strokeWidth: "1.5", strokeLinecap: "round" })
3635
3635
  ]
3636
3636
  }
3637
- ), rt = ({
3637
+ ), r2 = ({
3638
3638
  width: i = 20,
3639
3639
  height: e = 20,
3640
3640
  color: t = "#001E52",
@@ -3666,7 +3666,7 @@ const X2 = ({
3666
3666
  )
3667
3667
  ]
3668
3668
  }
3669
- ), lt = ({
3669
+ ), l2 = ({
3670
3670
  width: i = 20,
3671
3671
  height: e = 20,
3672
3672
  color: t = "#001E52",
@@ -3720,7 +3720,7 @@ const X2 = ({
3720
3720
  )
3721
3721
  ]
3722
3722
  }
3723
- ), at = ({
3723
+ ), a2 = ({
3724
3724
  width: i = 20,
3725
3725
  height: e = 20,
3726
3726
  color: t = "#001E52",
@@ -3759,7 +3759,7 @@ const X2 = ({
3759
3759
  /* @__PURE__ */ n("path", { d: "M3 12L17 12", stroke: t, strokeWidth: "2", strokeLinecap: "round" })
3760
3760
  ]
3761
3761
  }
3762
- ), ht = ({
3762
+ ), h2 = ({
3763
3763
  width: i = 16,
3764
3764
  height: e = 12,
3765
3765
  color: t = "#001E52",
@@ -3808,7 +3808,7 @@ const X2 = ({
3808
3808
  )
3809
3809
  ] })
3810
3810
  }
3811
- ), ct = ({
3811
+ ), c2 = ({
3812
3812
  width: i = 16,
3813
3813
  height: e = 16,
3814
3814
  color: t = "#001E52",
@@ -3842,7 +3842,7 @@ const X2 = ({
3842
3842
  )
3843
3843
  ]
3844
3844
  }
3845
- ), dt = ({
3845
+ ), d2 = ({
3846
3846
  width: i = 10,
3847
3847
  height: e = 10,
3848
3848
  color: t = "#001E52",
@@ -3881,7 +3881,7 @@ const X2 = ({
3881
3881
  )
3882
3882
  ] })
3883
3883
  }
3884
- ), gt = ({
3884
+ ), g2 = ({
3885
3885
  width: i = 16,
3886
3886
  height: e = 16,
3887
3887
  color: t = "#001E52",
@@ -3917,7 +3917,7 @@ const X2 = ({
3917
3917
  )
3918
3918
  ]
3919
3919
  }
3920
- ), Ct = ({
3920
+ ), C2 = ({
3921
3921
  width: i = 11,
3922
3922
  height: e = 32,
3923
3923
  color: t = "#001E52",
@@ -3955,7 +3955,7 @@ const X2 = ({
3955
3955
  /* @__PURE__ */ n("circle", { cx: "3", cy: "3", r: "3", fill: t })
3956
3956
  ]
3957
3957
  }
3958
- ), ut = ({
3958
+ ), u2 = ({
3959
3959
  width: i = 20,
3960
3960
  height: e = 20,
3961
3961
  color: t = "#001E52",
@@ -4002,7 +4002,7 @@ const X2 = ({
4002
4002
  )
4003
4003
  ]
4004
4004
  }
4005
- ), pt = ({
4005
+ ), p2 = ({
4006
4006
  width: i = 20,
4007
4007
  height: e = 20,
4008
4008
  color: t = "#001E52",
@@ -4035,7 +4035,7 @@ const X2 = ({
4035
4035
  )
4036
4036
  ]
4037
4037
  }
4038
- ), ft = ({
4038
+ ), f2 = ({
4039
4039
  width: i = 20,
4040
4040
  height: e = 20,
4041
4041
  color: t = "#001E52",
@@ -4082,7 +4082,7 @@ const X2 = ({
4082
4082
  )
4083
4083
  ]
4084
4084
  }
4085
- ), wt = ({
4085
+ ), w2 = ({
4086
4086
  width: i = 20,
4087
4087
  height: e = 20,
4088
4088
  color: t = "#001E52",
@@ -4115,7 +4115,7 @@ const X2 = ({
4115
4115
  )
4116
4116
  ]
4117
4117
  }
4118
- ), mt = ({
4118
+ ), m2 = ({
4119
4119
  width: i = 18,
4120
4120
  height: e = 16,
4121
4121
  color: t = "#001E52",
@@ -4154,7 +4154,7 @@ const X2 = ({
4154
4154
  )
4155
4155
  ]
4156
4156
  }
4157
- ), kt = ({
4157
+ ), k2 = ({
4158
4158
  width: i = 20,
4159
4159
  height: e = 20,
4160
4160
  color: t = "#001E52",
@@ -4187,7 +4187,7 @@ const X2 = ({
4187
4187
  )
4188
4188
  ]
4189
4189
  }
4190
- ), Lt = ({
4190
+ ), L2 = ({
4191
4191
  width: i = 20,
4192
4192
  height: e = 20,
4193
4193
  color: t = "#001E52",
@@ -4211,7 +4211,7 @@ const X2 = ({
4211
4211
  }
4212
4212
  )
4213
4213
  }
4214
- ), vt = ({
4214
+ ), v2 = ({
4215
4215
  width: i = 20,
4216
4216
  height: e = 20,
4217
4217
  color: t = "#001E52",
@@ -4258,7 +4258,7 @@ const X2 = ({
4258
4258
  )
4259
4259
  ]
4260
4260
  }
4261
- ), Nt = ({
4261
+ ), N2 = ({
4262
4262
  width: i = 20,
4263
4263
  height: e = 20,
4264
4264
  color: t = "#001E52",
@@ -4291,7 +4291,7 @@ const X2 = ({
4291
4291
  )
4292
4292
  ]
4293
4293
  }
4294
- ), xt = ({
4294
+ ), x2 = ({
4295
4295
  width: i = 20,
4296
4296
  height: e = 20,
4297
4297
  color: t = "#001E52",
@@ -4324,7 +4324,7 @@ const X2 = ({
4324
4324
  )
4325
4325
  ]
4326
4326
  }
4327
- ), Rt = ({
4327
+ ), R2 = ({
4328
4328
  width: i = 20,
4329
4329
  height: e = 23,
4330
4330
  color: t = "#001E52",
@@ -4385,7 +4385,7 @@ const X2 = ({
4385
4385
  )
4386
4386
  ]
4387
4387
  }
4388
- ), Mt = ({
4388
+ ), M2 = ({
4389
4389
  width: i = 20,
4390
4390
  height: e = 20,
4391
4391
  color: t = "#001E52",
@@ -4425,7 +4425,7 @@ const X2 = ({
4425
4425
  )
4426
4426
  ]
4427
4427
  }
4428
- ), yt = ({
4428
+ ), y2 = ({
4429
4429
  width: i = 32,
4430
4430
  height: e = 25,
4431
4431
  color: t = "#001E52",
@@ -4453,7 +4453,7 @@ const X2 = ({
4453
4453
  )
4454
4454
  ]
4455
4455
  }
4456
- ), bt = ({
4456
+ ), b2 = ({
4457
4457
  width: i = 14,
4458
4458
  height: e = 14,
4459
4459
  color: t = "#10B981",
@@ -4482,7 +4482,7 @@ const X2 = ({
4482
4482
  )
4483
4483
  ]
4484
4484
  }
4485
- ), Et = ({
4485
+ ), E2 = ({
4486
4486
  width: i = 11,
4487
4487
  height: e = 11,
4488
4488
  color: t = "#FFB020",
@@ -4516,7 +4516,7 @@ const X2 = ({
4516
4516
  )
4517
4517
  ]
4518
4518
  }
4519
- ), Ht = ({
4519
+ ), H2 = ({
4520
4520
  width: i = 10,
4521
4521
  height: e = 10,
4522
4522
  color: t = "#88A4FF",
@@ -4564,7 +4564,7 @@ const X2 = ({
4564
4564
  )
4565
4565
  ]
4566
4566
  }
4567
- ), _t = ({
4567
+ ), _2 = ({
4568
4568
  width: i = 14,
4569
4569
  height: e = 14,
4570
4570
  color: t = "#8E8E93",
@@ -4592,7 +4592,7 @@ const X2 = ({
4592
4592
  )
4593
4593
  ]
4594
4594
  }
4595
- ), Vt = ({
4595
+ ), V2 = ({
4596
4596
  width: i = 14,
4597
4597
  height: e = 14,
4598
4598
  color: t = "#FFB020",
@@ -4626,7 +4626,7 @@ const X2 = ({
4626
4626
  )
4627
4627
  ]
4628
4628
  }
4629
- ), It = ({
4629
+ ), I2 = ({
4630
4630
  width: i = 14,
4631
4631
  height: e = 14,
4632
4632
  color: t = "#D0421B",
@@ -4674,7 +4674,7 @@ const X2 = ({
4674
4674
  )
4675
4675
  ]
4676
4676
  }
4677
- ), St = ({
4677
+ ), S2 = ({
4678
4678
  width: i = 20,
4679
4679
  height: e = 20,
4680
4680
  color: t = "#070739",
@@ -4704,7 +4704,7 @@ const X2 = ({
4704
4704
  /* @__PURE__ */ n("circle", { cx: "10", cy: "10", r: "2.375", stroke: t, strokeWidth: "1.25" })
4705
4705
  ]
4706
4706
  }
4707
- ), Ot = ({
4707
+ ), O2 = ({
4708
4708
  width: i = 20,
4709
4709
  height: e = 20,
4710
4710
  color: t = "#070739",
@@ -4742,7 +4742,7 @@ const X2 = ({
4742
4742
  )
4743
4743
  ]
4744
4744
  }
4745
- ), At = ({
4745
+ ), A2 = ({
4746
4746
  width: i = 9,
4747
4747
  height: e = 5,
4748
4748
  color: t = "#001E52",
@@ -4768,7 +4768,7 @@ const X2 = ({
4768
4768
  }
4769
4769
  )
4770
4770
  }
4771
- ), Bt = ({
4771
+ ), B2 = ({
4772
4772
  width: i = 20,
4773
4773
  height: e = 20,
4774
4774
  color: t = "#F2F2F7",
@@ -4797,7 +4797,7 @@ const X2 = ({
4797
4797
  )
4798
4798
  ]
4799
4799
  }
4800
- ), Zt = ({
4800
+ ), Z2 = ({
4801
4801
  width: i = 20,
4802
4802
  height: e = 20,
4803
4803
  color: t = "#004ED7",
@@ -4826,7 +4826,7 @@ const X2 = ({
4826
4826
  )
4827
4827
  ]
4828
4828
  }
4829
- ), Wt = ({
4829
+ ), W2 = ({
4830
4830
  width: i = 248,
4831
4831
  height: e = 248,
4832
4832
  color: t = "#070739",
@@ -4863,7 +4863,7 @@ const X2 = ({
4863
4863
  )
4864
4864
  ]
4865
4865
  }
4866
- ), jt = ({
4866
+ ), j2 = ({
4867
4867
  width: i = 24,
4868
4868
  height: e = 24,
4869
4869
  color: t = "#001E52",
@@ -4902,7 +4902,7 @@ const X2 = ({
4902
4902
  )
4903
4903
  ]
4904
4904
  }
4905
- ), Dt = ({
4905
+ ), D2 = ({
4906
4906
  width: i = 10,
4907
4907
  height: e = 10,
4908
4908
  color: t = "#001E52",
@@ -4931,7 +4931,7 @@ const X2 = ({
4931
4931
  )
4932
4932
  ]
4933
4933
  }
4934
- ), Tt = ({
4934
+ ), T2 = ({
4935
4935
  width: i = 10,
4936
4936
  height: e = 10,
4937
4937
  color: t = "#001E52",
@@ -4968,7 +4968,7 @@ const X2 = ({
4968
4968
  )
4969
4969
  ]
4970
4970
  }
4971
- ), Gt = ({
4971
+ ), G2 = ({
4972
4972
  width: i = 24,
4973
4973
  height: e = 24,
4974
4974
  color: t = L.GREY_DARK_5,
@@ -5007,7 +5007,7 @@ const X2 = ({
5007
5007
  )
5008
5008
  ]
5009
5009
  }
5010
- ), Kt = ({
5010
+ ), K2 = ({
5011
5011
  width: i = 20,
5012
5012
  height: e = 20,
5013
5013
  color: t = L.GREY_DARK_1,
@@ -5040,7 +5040,7 @@ const X2 = ({
5040
5040
  )
5041
5041
  ]
5042
5042
  }
5043
- ), Pt = ({
5043
+ ), P2 = ({
5044
5044
  width: i = 81,
5045
5045
  height: e = 80,
5046
5046
  color: t = L.GREY_DARK_5,
@@ -5089,7 +5089,7 @@ const X2 = ({
5089
5089
  )
5090
5090
  ]
5091
5091
  }
5092
- ), Ft = ({
5092
+ ), F2 = ({
5093
5093
  className: i,
5094
5094
  color: e = L.GREY_DARK_5,
5095
5095
  height: t = 20,
@@ -5116,7 +5116,7 @@ const X2 = ({
5116
5116
  }
5117
5117
  )
5118
5118
  }
5119
- ), $t = ({
5119
+ ), $2 = ({
5120
5120
  className: i,
5121
5121
  color: e = L.GREY_DARK_5,
5122
5122
  height: t = 20,
@@ -5143,7 +5143,7 @@ const X2 = ({
5143
5143
  }
5144
5144
  )
5145
5145
  }
5146
- ), Yt = ({
5146
+ ), Y2 = ({
5147
5147
  className: i,
5148
5148
  color: e = L.GREY_DARK_5,
5149
5149
  height: t = 5,
@@ -5167,7 +5167,7 @@ const X2 = ({
5167
5167
  }
5168
5168
  )
5169
5169
  }
5170
- ), Ut = ({
5170
+ ), U2 = ({
5171
5171
  className: i,
5172
5172
  color: e = L.GREY_DARK_5,
5173
5173
  height: t = 5,
@@ -5192,7 +5192,7 @@ const X2 = ({
5192
5192
  }
5193
5193
  )
5194
5194
  }
5195
- ), zt = ({
5195
+ ), z2 = ({
5196
5196
  className: i,
5197
5197
  color: e = L.GREY_DARK_5,
5198
5198
  height: t = 24,
@@ -5231,7 +5231,7 @@ const X2 = ({
5231
5231
  )
5232
5232
  ]
5233
5233
  }
5234
- ), Jt = ({
5234
+ ), J2 = ({
5235
5235
  className: i,
5236
5236
  color: e = L.GREY_DARK_5,
5237
5237
  height: t = 24,
@@ -5270,7 +5270,7 @@ const X2 = ({
5270
5270
  )
5271
5271
  ]
5272
5272
  }
5273
- ), Qt = ({
5273
+ ), Q2 = ({
5274
5274
  className: i,
5275
5275
  color: e = L.GREY_DARK_5,
5276
5276
  height: t = 24,
@@ -5297,7 +5297,7 @@ const X2 = ({
5297
5297
  }
5298
5298
  )
5299
5299
  }
5300
- ), qt = ({
5300
+ ), q2 = ({
5301
5301
  className: i,
5302
5302
  color: e = L.GREY_DARK_5,
5303
5303
  height: t = 24,
@@ -5356,7 +5356,7 @@ const X2 = ({
5356
5356
  )
5357
5357
  ]
5358
5358
  }
5359
- ), Xt = ({
5359
+ ), X2 = ({
5360
5360
  className: i,
5361
5361
  color: e = L.GREY_DARK_5,
5362
5362
  height: t = 24,
@@ -6483,8 +6483,8 @@ const X2 = ({
6483
6483
  disabled: l = !1,
6484
6484
  onClick: c
6485
6485
  }) => {
6486
- const [r, d] = I(o), { theme: g } = l1(J1), a = l ? g && g === "dark" ? L.GREY_LIGHT_4 : L.GREY_DARK_1 : s, h = l ? void 0 : c;
6487
- return W(() => {
6486
+ const [r, d] = O(o), { theme: g } = l1(J1), a = l ? g && g === "dark" ? L.GREY_LIGHT_4 : L.GREY_DARK_1 : s, h = l ? void 0 : c;
6487
+ return j(() => {
6488
6488
  if (o) {
6489
6489
  h && !l && d(`${o} clickable`);
6490
6490
  return;
@@ -6493,39 +6493,39 @@ const X2 = ({
6493
6493
  }, [h, o, l]), /* @__PURE__ */ n(t1, { children: (() => {
6494
6494
  switch (i) {
6495
6495
  case "nextIcon":
6496
- return Ft({ width: e, height: t, color: a, className: r, onClick: h });
6496
+ return F2({ width: e, height: t, color: a, className: r, onClick: h });
6497
6497
  case "prevIcon":
6498
- return $t({ width: e, height: t, color: a, className: r, onClick: h });
6498
+ return $2({ width: e, height: t, color: a, className: r, onClick: h });
6499
6499
  case "arrowUp":
6500
- return X2({ width: e, height: t, color: a, className: r, onClick: h });
6500
+ return Xt({ width: e, height: t, color: a, className: r, onClick: h });
6501
6501
  case "arrowDown":
6502
- return et({ width: e, height: t, color: a, className: r, onClick: h });
6502
+ return e2({ width: e, height: t, color: a, className: r, onClick: h });
6503
6503
  case "info":
6504
- return tt({ width: e, height: t, color: a, className: r, onClick: h });
6504
+ return t2({ width: e, height: t, color: a, className: r, onClick: h });
6505
6505
  case "arrowRight":
6506
- return it({ width: e, height: t, color: a, className: r, onClick: h });
6506
+ return i2({ width: e, height: t, color: a, className: r, onClick: h });
6507
6507
  case "calendar":
6508
- return st({ width: e, height: t, color: a, className: r, onClick: h });
6508
+ return s2({ width: e, height: t, color: a, className: r, onClick: h });
6509
6509
  case "ok":
6510
- return ot({ width: e, height: t, color: a, className: r, onClick: h });
6510
+ return o2({ width: e, height: t, color: a, className: r, onClick: h });
6511
6511
  case "cancel":
6512
- return nt({ width: e, height: t, color: a, className: r, onClick: h });
6512
+ return n2({ width: e, height: t, color: a, className: r, onClick: h });
6513
6513
  case "add":
6514
- return rt({ width: e, height: t, color: a, className: r, onClick: h });
6514
+ return r2({ width: e, height: t, color: a, className: r, onClick: h });
6515
6515
  case "list":
6516
- return lt({ width: e, height: t, color: a, className: r, onClick: h });
6516
+ return l2({ width: e, height: t, color: a, className: r, onClick: h });
6517
6517
  case "dragAndDrop":
6518
- return at({ width: e, height: t, color: a, className: r, onClick: h });
6518
+ return a2({ width: e, height: t, color: a, className: r, onClick: h });
6519
6519
  case "filter":
6520
- return ht({ width: e, height: t, color: a, className: r, onClick: h });
6520
+ return h2({ width: e, height: t, color: a, className: r, onClick: h });
6521
6521
  case "attention":
6522
- return ct({ width: e, height: t, color: a, className: r, onClick: h });
6522
+ return c2({ width: e, height: t, color: a, className: r, onClick: h });
6523
6523
  case "plus":
6524
- return dt({ width: e, height: t, color: a, className: r, onClick: h });
6524
+ return d2({ width: e, height: t, color: a, className: r, onClick: h });
6525
6525
  case "time":
6526
- return gt({ width: e, height: t, color: a, className: r, onClick: h });
6526
+ return g2({ width: e, height: t, color: a, className: r, onClick: h });
6527
6527
  case "arrowDownLong":
6528
- return Ct({
6528
+ return C2({
6529
6529
  width: e,
6530
6530
  height: t,
6531
6531
  color: a,
@@ -6533,9 +6533,9 @@ const X2 = ({
6533
6533
  onClick: h
6534
6534
  });
6535
6535
  case "users":
6536
- return ut({ width: e, height: t, color: a, className: r, onClick: h });
6536
+ return u2({ width: e, height: t, color: a, className: r, onClick: h });
6537
6537
  case "mySkillsMatrix":
6538
- return pt({
6538
+ return p2({
6539
6539
  width: e,
6540
6540
  height: t,
6541
6541
  color: a,
@@ -6543,9 +6543,9 @@ const X2 = ({
6543
6543
  onClick: h
6544
6544
  });
6545
6545
  case "skills":
6546
- return ft({ width: e, height: t, color: a, className: r, onClick: h });
6546
+ return f2({ width: e, height: t, color: a, className: r, onClick: h });
6547
6547
  case "skillsMatrices":
6548
- return wt({
6548
+ return w2({
6549
6549
  width: e,
6550
6550
  height: t,
6551
6551
  color: a,
@@ -6553,23 +6553,23 @@ const X2 = ({
6553
6553
  onClick: h
6554
6554
  });
6555
6555
  case "history":
6556
- return mt({ width: e, height: t, color: a, className: r, onClick: h });
6556
+ return m2({ width: e, height: t, color: a, className: r, onClick: h });
6557
6557
  case "logOut":
6558
- return kt({ width: e, height: t, color: a, className: r, onClick: h });
6558
+ return k2({ width: e, height: t, color: a, className: r, onClick: h });
6559
6559
  case "settings":
6560
- return Lt({ width: e, height: t, color: a, className: r, onClick: h });
6560
+ return L2({ width: e, height: t, color: a, className: r, onClick: h });
6561
6561
  case "addSkill":
6562
- return vt({ width: e, height: t, color: a, className: r, onClick: h });
6562
+ return v2({ width: e, height: t, color: a, className: r, onClick: h });
6563
6563
  case "conversation":
6564
- return Nt({ width: e, height: t, color: a, className: r, onClick: h });
6564
+ return N2({ width: e, height: t, color: a, className: r, onClick: h });
6565
6565
  case "trash":
6566
- return xt({ width: e, height: t, color: a, className: r, onClick: h });
6566
+ return x2({ width: e, height: t, color: a, className: r, onClick: h });
6567
6567
  case "settings4":
6568
- return Rt({ width: e, height: t, color: a, className: r, onClick: h });
6568
+ return R2({ width: e, height: t, color: a, className: r, onClick: h });
6569
6569
  case "edit2":
6570
- return Mt({ width: e, height: t, color: a, className: r, onClick: h });
6570
+ return M2({ width: e, height: t, color: a, className: r, onClick: h });
6571
6571
  case "notifications":
6572
- return yt({
6572
+ return y2({
6573
6573
  width: e,
6574
6574
  height: t,
6575
6575
  color: a,
@@ -6577,9 +6577,9 @@ const X2 = ({
6577
6577
  onClick: h
6578
6578
  });
6579
6579
  case "success":
6580
- return bt({ width: e, height: t, color: a, className: r, onClick: h });
6580
+ return b2({ width: e, height: t, color: a, className: r, onClick: h });
6581
6581
  case "attentionSmall":
6582
- return Et({
6582
+ return E2({
6583
6583
  width: e,
6584
6584
  height: t,
6585
6585
  color: a,
@@ -6587,11 +6587,11 @@ const X2 = ({
6587
6587
  onClick: h
6588
6588
  });
6589
6589
  case "errorSmall":
6590
- return Ht({ width: e, height: t, color: a, className: r, onClick: h });
6590
+ return H2({ width: e, height: t, color: a, className: r, onClick: h });
6591
6591
  case "infoMedium":
6592
- return _t({ width: e, height: t, color: a, className: r, onClick: h });
6592
+ return _2({ width: e, height: t, color: a, className: r, onClick: h });
6593
6593
  case "attentionMedium":
6594
- return Vt({
6594
+ return V2({
6595
6595
  width: e,
6596
6596
  height: t,
6597
6597
  color: a,
@@ -6599,9 +6599,9 @@ const X2 = ({
6599
6599
  onClick: h
6600
6600
  });
6601
6601
  case "errorMedium":
6602
- return It({ width: e, height: t, color: a, className: r, onClick: h });
6602
+ return I2({ width: e, height: t, color: a, className: r, onClick: h });
6603
6603
  case "faviconSkills":
6604
- return Wt({
6604
+ return W2({
6605
6605
  width: e,
6606
6606
  height: t,
6607
6607
  color: a,
@@ -6609,7 +6609,7 @@ const X2 = ({
6609
6609
  onClick: h
6610
6610
  });
6611
6611
  case "visibilityIcon":
6612
- return St({
6612
+ return S2({
6613
6613
  width: e,
6614
6614
  height: t,
6615
6615
  color: a,
@@ -6617,7 +6617,7 @@ const X2 = ({
6617
6617
  onClick: h
6618
6618
  });
6619
6619
  case "visibilityOffIcon":
6620
- return Ot({
6620
+ return O2({
6621
6621
  width: e,
6622
6622
  height: t,
6623
6623
  color: a,
@@ -6625,7 +6625,7 @@ const X2 = ({
6625
6625
  onClick: h
6626
6626
  });
6627
6627
  case "selectArrowIcon":
6628
- return At({
6628
+ return A2({
6629
6629
  width: e,
6630
6630
  height: t,
6631
6631
  color: a,
@@ -6633,7 +6633,7 @@ const X2 = ({
6633
6633
  onClick: h
6634
6634
  });
6635
6635
  case "expandArrowIcon":
6636
- return Bt({
6636
+ return B2({
6637
6637
  width: e,
6638
6638
  height: t,
6639
6639
  color: a,
@@ -6641,7 +6641,7 @@ const X2 = ({
6641
6641
  onClick: h
6642
6642
  });
6643
6643
  case "expandActiveArrowIcon":
6644
- return Zt({
6644
+ return Z2({
6645
6645
  width: e,
6646
6646
  height: t,
6647
6647
  color: a,
@@ -6649,31 +6649,31 @@ const X2 = ({
6649
6649
  onClick: h
6650
6650
  });
6651
6651
  case "camera":
6652
- return jt({ width: e, height: t, color: a, className: r, onClick: h });
6652
+ return j2({ width: e, height: t, color: a, className: r, onClick: h });
6653
6653
  case "sortUp":
6654
- return Dt({ width: e, height: t, color: a, className: r, onClick: h });
6654
+ return D2({ width: e, height: t, color: a, className: r, onClick: h });
6655
6655
  case "sortDown":
6656
- return Tt({ width: e, height: t, color: a, className: r, onClick: h });
6656
+ return T2({ width: e, height: t, color: a, className: r, onClick: h });
6657
6657
  case "logOut2":
6658
- return Gt({ width: e, height: t, color: a, className: r, onClick: h });
6658
+ return G2({ width: e, height: t, color: a, className: r, onClick: h });
6659
6659
  case "search":
6660
- return Kt({ width: e, height: t, color: a, className: r, onClick: h });
6660
+ return K2({ width: e, height: t, color: a, className: r, onClick: h });
6661
6661
  case "handRock":
6662
- return Pt({ width: e, height: t, color: a, className: r, onClick: h });
6662
+ return P2({ width: e, height: t, color: a, className: r, onClick: h });
6663
6663
  case "arrowUpFilled":
6664
- return Ut({ width: e, height: t, color: a, className: r, onClick: h });
6664
+ return U2({ width: e, height: t, color: a, className: r, onClick: h });
6665
6665
  case "arrowDownFilled":
6666
- return Yt({ width: e, height: t, color: a, className: r, onClick: h });
6666
+ return Y2({ width: e, height: t, color: a, className: r, onClick: h });
6667
6667
  case "link":
6668
- return zt({ width: e, height: t, color: a, className: r, onClick: h });
6668
+ return z2({ width: e, height: t, color: a, className: r, onClick: h });
6669
6669
  case "telegram":
6670
- return Qt({ width: e, height: t, color: a, className: r, onClick: h });
6670
+ return Q2({ width: e, height: t, color: a, className: r, onClick: h });
6671
6671
  case "mail":
6672
- return Xt({ width: e, height: t, color: a, className: r, onClick: h });
6672
+ return X2({ width: e, height: t, color: a, className: r, onClick: h });
6673
6673
  case "github":
6674
- return Jt({ width: e, height: t, color: a, className: r, onClick: h });
6674
+ return J2({ width: e, height: t, color: a, className: r, onClick: h });
6675
6675
  case "linkedIn":
6676
- return qt({ width: e, height: t, color: a, className: r, onClick: h });
6676
+ return q2({ width: e, height: t, color: a, className: r, onClick: h });
6677
6677
  case "emptyStateIcon":
6678
6678
  return e5({ width: e, height: t, color: a, className: r, onClick: h });
6679
6679
  case "filtersIcon":
@@ -6762,7 +6762,7 @@ const q1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: o
6762
6762
  bordered: !1,
6763
6763
  style: { width: e ?? "fit-content" },
6764
6764
  closable: o,
6765
- children: typeof i == "string" ? /* @__PURE__ */ n(q2, { variant: t === "small" ? "body4" : "body2", children: i }) : i
6765
+ children: typeof i == "string" ? /* @__PURE__ */ n(qt, { variant: t === "small" ? "body4" : "body2", children: i }) : i
6766
6766
  }
6767
6767
  );
6768
6768
  }, { Title: V5, Text: I5 } = $1, S5 = {
@@ -6811,7 +6811,7 @@ const q1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: o
6811
6811
  placement: o = "topRight",
6812
6812
  noPadding: l = !1
6813
6813
  }) => {
6814
- const [c, r] = I(!1);
6814
+ const [c, r] = O(!1);
6815
6815
  return /* @__PURE__ */ n(
6816
6816
  fe,
6817
6817
  {
@@ -6835,8 +6835,8 @@ const q1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: o
6835
6835
  options: o,
6836
6836
  extraOptions: l
6837
6837
  }) => {
6838
- const [c, r] = I(!1);
6839
- W(() => {
6838
+ const [c, r] = O(!1);
6839
+ j(() => {
6840
6840
  i.length || r(!1);
6841
6841
  }, [i]);
6842
6842
  const d = (a) => {
@@ -6901,34 +6901,34 @@ const q1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: o
6901
6901
  extraOptions: v,
6902
6902
  dropdownRender: E,
6903
6903
  optionRender: R,
6904
- isLoading: A,
6904
+ isLoading: B,
6905
6905
  readOnly: m
6906
6906
  }, M) => {
6907
- const [b, N] = I(!1), [T, Q] = I(!1), [Y, H] = I(!0), [y, S] = I(i), j = r1(null);
6908
- W(() => {
6909
- S(i);
6907
+ const [y, N] = O(!1), [T, Q] = O(!1), [$, W] = O(!0), [b, _] = O(i), I = r1(null);
6908
+ j(() => {
6909
+ _(i);
6910
6910
  }, [i]);
6911
- const P = (f) => {
6911
+ const G = (f) => {
6912
6912
  N(f), u && u(f);
6913
- }, F = (f, _) => {
6913
+ }, F = (f, H) => {
6914
6914
  var D;
6915
- return !!((D = _ == null ? void 0 : _.label) != null && D.toString().toLowerCase().includes(f.toLowerCase()));
6916
- }, $ = () => {
6915
+ return !!((D = H == null ? void 0 : H.label) != null && D.toString().toLowerCase().includes(f.toLowerCase()));
6916
+ }, Y = () => {
6917
6917
  Q(!0);
6918
- }, B = () => {
6918
+ }, V = () => {
6919
6919
  Q(!1);
6920
- }, Z = G(
6920
+ }, Z = K(
6921
6921
  (f) => {
6922
- if (S(f), s) {
6922
+ if (_(f), s) {
6923
6923
  const D = f;
6924
6924
  e == null || e(D);
6925
6925
  return;
6926
6926
  }
6927
- const _ = f;
6928
- e == null || e(_);
6927
+ const H = f;
6928
+ e == null || e(H);
6929
6929
  },
6930
6930
  [s, e]
6931
- ), U = G(() => {
6931
+ ), U = K(() => {
6932
6932
  if (!m) {
6933
6933
  if (s) {
6934
6934
  Z([]);
@@ -6936,41 +6936,41 @@ const q1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: o
6936
6936
  }
6937
6937
  Z("");
6938
6938
  }
6939
- }, [Z, s, m]), z = G(
6939
+ }, [Z, s, m]), z = K(
6940
6940
  (f) => {
6941
- const _ = y.filter((D) => D !== f);
6942
- Z(_), S(_);
6941
+ const H = b.filter((D) => D !== f);
6942
+ Z(H), _(H);
6943
6943
  },
6944
- [Z, y]
6945
- ), y1 = G(
6946
- (f) => (y == null ? void 0 : y.indexOf(f)) === 0 ? (
6944
+ [Z, b]
6945
+ ), y1 = K(
6946
+ (f) => (b == null ? void 0 : b.indexOf(f)) === 0 ? (
6947
6947
  // if the search input is empty
6948
6948
  // then display the placeholder, else do not display it
6949
- /* @__PURE__ */ n("span", { className: "custom-placeholder", children: Y ? t : "" })
6949
+ /* @__PURE__ */ n("span", { className: "custom-placeholder", children: $ ? t : "" })
6950
6950
  ) : /* @__PURE__ */ n(t1, {}),
6951
- [Y, y, t]
6951
+ [$, b, t]
6952
6952
  ), ne = (f) => {
6953
6953
  f.preventDefault(), f.stopPropagation();
6954
6954
  }, re = async (f) => {
6955
- const { target: _ } = f;
6956
- _.scrollTop + _.offsetHeight >= _.scrollHeight - a && (p == null || p(!0)), w && await w(f);
6957
- }, m1 = G(
6955
+ const { target: H } = f;
6956
+ H.scrollTop + H.offsetHeight >= H.scrollHeight - a && (p == null || p(!0)), w && await w(f);
6957
+ }, m1 = K(
6958
6958
  (f) => {
6959
- var _, D;
6960
- return ((_ = l.find((k1) => k1.value === f)) == null ? void 0 : _.label) || ((D = v == null ? void 0 : v.find(
6959
+ var H, D;
6960
+ return ((H = l.find((k1) => k1.value === f)) == null ? void 0 : H.label) || ((D = v == null ? void 0 : v.find(
6961
6961
  (k1) => k1.value === f
6962
6962
  )) == null ? void 0 : D.label) || f;
6963
6963
  },
6964
6964
  [v, l]
6965
- ), le = G(
6965
+ ), le = K(
6966
6966
  (f) => {
6967
- var _;
6967
+ var H;
6968
6968
  return /* @__PURE__ */ n(
6969
6969
  A5,
6970
6970
  {
6971
6971
  values: f,
6972
6972
  onTagClose: z,
6973
- maxWidth: ((_ = j.current) == null ? void 0 : _.clientWidth) || 0,
6973
+ maxWidth: ((H = I.current) == null ? void 0 : H.clientWidth) || 0,
6974
6974
  disabled: r || m,
6975
6975
  options: l,
6976
6976
  extraOptions: v
@@ -6978,8 +6978,8 @@ const q1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: o
6978
6978
  );
6979
6979
  },
6980
6980
  [r, v, z, l, m]
6981
- ), ae = G(
6982
- ({ label: f, value: _, mode: D }) => D === "filter" ? y1(_) : /* @__PURE__ */ n("div", { onMouseDown: ne, className: "tag-wrapper", children: /* @__PURE__ */ n(q1, { onClose: () => z(_), closable: !r, children: /* @__PURE__ */ n(X1, { variant: "body4", children: typeof f == "object" ? f : m1(_) }) }) }),
6981
+ ), ae = K(
6982
+ ({ label: f, value: H, mode: D }) => D === "filter" ? y1(H) : /* @__PURE__ */ n("div", { onMouseDown: ne, className: "tag-wrapper", children: /* @__PURE__ */ n(q1, { onClose: () => z(H), closable: !r, children: /* @__PURE__ */ n(X1, { variant: "body4", children: typeof f == "object" ? f : m1(H) }) }) }),
6983
6983
  [r, m1, z, y1]
6984
6984
  );
6985
6985
  return /* @__PURE__ */ C(
@@ -6987,7 +6987,7 @@ const q1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: o
6987
6987
  {
6988
6988
  className: `snmt-select ${T ? "snmt-select-focused" : ""}
6989
6989
  ${s ? "" : "snmt-select-single"} ${m ? "snmt-select-read-only" : ""}`,
6990
- ref: j,
6990
+ ref: I,
6991
6991
  style: { width: c },
6992
6992
  children: [
6993
6993
  /* @__PURE__ */ n(
@@ -6999,34 +6999,34 @@ const q1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: o
6999
6999
  ref: M,
7000
7000
  showSearch: !!o,
7001
7001
  filterOption: o && F,
7002
- onDropdownVisibleChange: P,
7002
+ onDropdownVisibleChange: G,
7003
7003
  placeholder: t ? d ? `${t}*` : t : void 0,
7004
7004
  disabled: r,
7005
- value: y || void 0,
7005
+ value: b || void 0,
7006
7006
  labelRender: (f) => m1(f.value),
7007
7007
  mode: s === "filter" ? "multiple" : s,
7008
7008
  onChange: Z,
7009
- onFocus: $,
7010
- onBlur: B,
7009
+ onFocus: Y,
7010
+ onBlur: V,
7011
7011
  onSearch: (f) => {
7012
- H(!f), h && h(f);
7012
+ W(!f), h && h(f);
7013
7013
  },
7014
- onSelect: () => H(!0),
7015
- onDeselect: () => H(!0),
7014
+ onSelect: () => W(!0),
7015
+ onDeselect: () => W(!0),
7016
7016
  tagRender: (f) => ae({ ...f, mode: s }),
7017
7017
  maxTagCount: "responsive",
7018
7018
  maxTagPlaceholder: le,
7019
7019
  onPopupScroll: re,
7020
- prefix: A && /* @__PURE__ */ n(E1, { size: 15 }),
7020
+ prefix: B && /* @__PURE__ */ n(E1, { size: 15 }),
7021
7021
  suffixIcon: /* @__PURE__ */ n("div", { className: "wrapper-suffix-icon", children: s !== "filter" && /* @__PURE__ */ C(t1, { children: [
7022
- y && !!y.length && (s || g) && /* @__PURE__ */ n("div", { onClick: U, children: /* @__PURE__ */ n(a1, { name: "cancel" }) }),
7022
+ b && !!b.length && (s || g) && /* @__PURE__ */ n("div", { onClick: U, children: /* @__PURE__ */ n(a1, { name: "cancel" }) }),
7023
7023
  /* @__PURE__ */ n(
7024
7024
  a1,
7025
7025
  {
7026
7026
  name: "selectArrowIcon",
7027
7027
  color: r ? e1.GREY_DARK_1 : e1.GREY_DARK_5,
7028
- className: b ? "select-arrow-rotated" : "select-arrow",
7029
- onClick: () => N(!b)
7028
+ className: y ? "select-arrow-rotated" : "select-arrow",
7029
+ onClick: () => N(!y)
7030
7030
  }
7031
7031
  )
7032
7032
  ] }) }),
@@ -7037,7 +7037,7 @@ const q1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: o
7037
7037
  s && /* @__PURE__ */ n(
7038
7038
  me,
7039
7039
  {
7040
- checked: !!(y != null && y.includes(f.value))
7040
+ checked: !!(b != null && b.includes(f.value))
7041
7041
  }
7042
7042
  ),
7043
7043
  /* @__PURE__ */ C(d1, { alignItems: "center", gap: 8, children: [
@@ -7045,7 +7045,7 @@ const q1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: o
7045
7045
  /* @__PURE__ */ n("span", { children: f.label })
7046
7046
  ] })
7047
7047
  ] }),
7048
- !s && y === f.value && /* @__PURE__ */ n(
7048
+ !s && b === f.value && /* @__PURE__ */ n(
7049
7049
  a1,
7050
7050
  {
7051
7051
  name: "ok",
@@ -7055,7 +7055,7 @@ const q1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: o
7055
7055
  }
7056
7056
  )
7057
7057
  ] }),
7058
- dropdownRender: A ? () => /* @__PURE__ */ n(
7058
+ dropdownRender: B ? () => /* @__PURE__ */ n(
7059
7059
  "div",
7060
7060
  {
7061
7061
  style: {
@@ -7139,7 +7139,7 @@ class g1 {
7139
7139
  return e = e || this.options, e.prefix = e.prefix || this.prefix, new g1(this.logger, e);
7140
7140
  }
7141
7141
  }
7142
- var K = new g1();
7142
+ var P = new g1();
7143
7143
  class w1 {
7144
7144
  constructor() {
7145
7145
  this.observers = {};
@@ -7373,7 +7373,7 @@ const O1 = {};
7373
7373
  class p1 extends w1 {
7374
7374
  constructor(e) {
7375
7375
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
7376
- super(), W5(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = K.create("translator");
7376
+ super(), W5(["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");
7377
7377
  }
7378
7378
  changeLanguage(e) {
7379
7379
  e && (this.language = e);
@@ -7451,10 +7451,10 @@ class p1 extends w1 {
7451
7451
  return o ? (h.res = m, h.usedParams = this.getUsedParamsDetails(t), h) : m;
7452
7452
  }
7453
7453
  if (l) {
7454
- const m = Array.isArray(u), M = m ? [] : {}, b = m ? w : p;
7454
+ const m = Array.isArray(u), M = m ? [] : {}, y = m ? w : p;
7455
7455
  for (const N in u)
7456
7456
  if (Object.prototype.hasOwnProperty.call(u, N)) {
7457
- const T = `${b}${l}${N}`;
7457
+ const T = `${y}${l}${N}`;
7458
7458
  M[N] = this.translate(T, {
7459
7459
  ...t,
7460
7460
  joinArrays: !1,
@@ -7467,35 +7467,35 @@ class p1 extends w1 {
7467
7467
  u = u.join(E), u && (u = this.extendTranslation(u, e, t, s));
7468
7468
  else {
7469
7469
  let m = !1, M = !1;
7470
- const b = t.count !== void 0 && typeof t.count != "string", N = p1.hasDefaultValue(t), T = b ? this.pluralResolver.getSuffix(g, t.count, t) : "", Q = t.ordinal && b ? this.pluralResolver.getSuffix(g, t.count, {
7470
+ const y = t.count !== void 0 && typeof t.count != "string", N = p1.hasDefaultValue(t), T = y ? this.pluralResolver.getSuffix(g, t.count, t) : "", Q = t.ordinal && y ? this.pluralResolver.getSuffix(g, t.count, {
7471
7471
  ordinal: !1
7472
- }) : "", Y = b && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), H = Y && t[`defaultValue${this.options.pluralSeparator}zero`] || t[`defaultValue${T}`] || t[`defaultValue${Q}`] || t.defaultValue;
7473
- !this.isValidLookup(u) && N && (m = !0, u = H), this.isValidLookup(u) || (M = !0, u = c);
7474
- const S = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && M ? void 0 : u, j = N && H !== u && this.options.updateMissing;
7475
- if (M || m || j) {
7476
- if (this.logger.log(j ? "updateKey" : "missingKey", g, d, c, j ? H : u), l) {
7477
- const B = this.resolve(c, {
7472
+ }) : "", $ = y && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), W = $ && t[`defaultValue${this.options.pluralSeparator}zero`] || t[`defaultValue${T}`] || t[`defaultValue${Q}`] || t.defaultValue;
7473
+ !this.isValidLookup(u) && N && (m = !0, u = W), this.isValidLookup(u) || (M = !0, u = c);
7474
+ const _ = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && M ? void 0 : u, I = N && W !== u && this.options.updateMissing;
7475
+ if (M || m || I) {
7476
+ if (this.logger.log(I ? "updateKey" : "missingKey", g, d, c, I ? W : u), l) {
7477
+ const V = this.resolve(c, {
7478
7478
  ...t,
7479
7479
  keySeparator: !1
7480
7480
  });
7481
- 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.");
7481
+ V && V.res && this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.");
7482
7482
  }
7483
- let P = [];
7483
+ let G = [];
7484
7484
  const F = this.languageUtils.getFallbackCodes(this.options.fallbackLng, t.lng || this.language);
7485
7485
  if (this.options.saveMissingTo === "fallback" && F && F[0])
7486
- for (let B = 0; B < F.length; B++)
7487
- P.push(F[B]);
7488
- else this.options.saveMissingTo === "all" ? P = this.languageUtils.toResolveHierarchy(t.lng || this.language) : P.push(t.lng || this.language);
7489
- const $ = (B, Z, U) => {
7490
- const z = N && U !== u ? U : S;
7491
- this.options.missingKeyHandler ? this.options.missingKeyHandler(B, d, Z, z, j, t) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(B, d, Z, z, j, t), this.emit("missingKey", B, d, Z, u);
7486
+ for (let V = 0; V < F.length; V++)
7487
+ G.push(F[V]);
7488
+ else this.options.saveMissingTo === "all" ? G = this.languageUtils.toResolveHierarchy(t.lng || this.language) : G.push(t.lng || this.language);
7489
+ const Y = (V, Z, U) => {
7490
+ const z = N && U !== u ? U : _;
7491
+ this.options.missingKeyHandler ? this.options.missingKeyHandler(V, d, Z, z, I, t) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(V, d, Z, z, I, t), this.emit("missingKey", V, d, Z, u);
7492
7492
  };
7493
- this.options.saveMissing && (this.options.saveMissingPlurals && b ? P.forEach((B) => {
7494
- const Z = this.pluralResolver.getSuffixes(B, t);
7495
- Y && t[`defaultValue${this.options.pluralSeparator}zero`] && Z.indexOf(`${this.options.pluralSeparator}zero`) < 0 && Z.push(`${this.options.pluralSeparator}zero`), Z.forEach((U) => {
7496
- $([B], c + U, t[`defaultValue${U}`] || H);
7493
+ this.options.saveMissing && (this.options.saveMissingPlurals && y ? G.forEach((V) => {
7494
+ const Z = this.pluralResolver.getSuffixes(V, t);
7495
+ $ && t[`defaultValue${this.options.pluralSeparator}zero`] && Z.indexOf(`${this.options.pluralSeparator}zero`) < 0 && Z.push(`${this.options.pluralSeparator}zero`), Z.forEach((U) => {
7496
+ Y([V], c + U, t[`defaultValue${U}`] || W);
7497
7497
  });
7498
- }) : $(P, c, H));
7498
+ }) : Y(G, c, W));
7499
7499
  }
7500
7500
  u = this.extendTranslation(u, e, t, h, s), M && u === c && this.options.appendNamespaceToMissingKey && (u = `${d}:${c}`), (M || m) && this.options.parseMissingKeyHandler && (this.options.compatibilityAPI !== "v1" ? u = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${d}:${c}` : c, m ? u : void 0) : u = this.options.parseMissingKeyHandler(u));
7501
7501
  }
@@ -7566,15 +7566,15 @@ class p1 extends w1 {
7566
7566
  else {
7567
7567
  let m;
7568
7568
  u && (m = this.pluralResolver.getSuffix(E, t.count, t));
7569
- const M = `${this.options.pluralSeparator}zero`, b = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
7570
- if (u && (R.push(a + m), t.ordinal && m.indexOf(b) === 0 && R.push(a + m.replace(b, this.options.pluralSeparator)), p && R.push(a + M)), w) {
7569
+ const M = `${this.options.pluralSeparator}zero`, y = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
7570
+ if (u && (R.push(a + m), t.ordinal && m.indexOf(y) === 0 && R.push(a + m.replace(y, this.options.pluralSeparator)), p && R.push(a + M)), w) {
7571
7571
  const N = `${a}${this.options.contextSeparator}${t.context}`;
7572
- R.push(N), u && (R.push(N + m), t.ordinal && m.indexOf(b) === 0 && R.push(N + m.replace(b, this.options.pluralSeparator)), p && R.push(N + M));
7572
+ R.push(N), u && (R.push(N + m), t.ordinal && m.indexOf(y) === 0 && R.push(N + m.replace(y, this.options.pluralSeparator)), p && R.push(N + M));
7573
7573
  }
7574
7574
  }
7575
- let A;
7576
- for (; A = R.pop(); )
7577
- this.isValidLookup(s) || (l = A, s = this.getResource(E, v, A, t));
7575
+ let B;
7576
+ for (; B = R.pop(); )
7577
+ this.isValidLookup(s) || (l = B, s = this.getResource(E, v, B, t));
7578
7578
  }));
7579
7579
  });
7580
7580
  }), {
@@ -7619,7 +7619,7 @@ class p1 extends w1 {
7619
7619
  const L1 = (i) => i.charAt(0).toUpperCase() + i.slice(1);
7620
7620
  class A1 {
7621
7621
  constructor(e) {
7622
- this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = K.create("languageUtils");
7622
+ this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = P.create("languageUtils");
7623
7623
  }
7624
7624
  getScriptPartFromCode(e) {
7625
7625
  if (e = u1(e), !e || e.indexOf("-") < 0) return null;
@@ -7813,7 +7813,7 @@ const J5 = ["v1", "v2", "v3"], Q5 = ["v4"], B1 = {
7813
7813
  class X5 {
7814
7814
  constructor(e) {
7815
7815
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
7816
- this.languageUtils = e, this.options = t, this.logger = K.create("pluralResolver"), (!this.options.compatibilityJSON || Q5.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 = q5(), this.pluralRulesCache = {};
7816
+ this.languageUtils = e, this.options = t, this.logger = P.create("pluralResolver"), (!this.options.compatibilityJSON || Q5.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 = q5(), this.pluralRulesCache = {};
7817
7817
  }
7818
7818
  addRule(e, t) {
7819
7819
  this.rules[e] = t;
@@ -7877,7 +7877,7 @@ const Z1 = function(i, e, t) {
7877
7877
  class e3 {
7878
7878
  constructor() {
7879
7879
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
7880
- this.logger = K.create("interpolator"), this.options = e, this.format = e.interpolation && e.interpolation.format || ((t) => t), this.init(e);
7880
+ this.logger = P.create("interpolator"), this.options = e, this.format = e.interpolation && e.interpolation.format || ((t) => t), this.init(e);
7881
7881
  }
7882
7882
  init() {
7883
7883
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
@@ -8032,7 +8032,7 @@ const t3 = (i) => {
8032
8032
  class i3 {
8033
8033
  constructor() {
8034
8034
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
8035
- this.logger = K.create("formatter"), this.options = e, this.formats = {
8035
+ this.logger = P.create("formatter"), this.options = e, this.formats = {
8036
8036
  number: X((t, s) => {
8037
8037
  const o = new Intl.NumberFormat(t, {
8038
8038
  ...s
@@ -8115,7 +8115,7 @@ const s3 = (i, e) => {
8115
8115
  class o3 extends w1 {
8116
8116
  constructor(e, t, s) {
8117
8117
  let o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
8118
- super(), this.backend = e, this.store = t, this.services = s, this.languageUtils = s.languageUtils, this.options = o, this.logger = K.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = o.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = o.maxRetries >= 0 ? o.maxRetries : 5, this.retryTimeout = o.retryTimeout >= 1 ? o.retryTimeout : 350, this.state = {}, this.queue = [], this.backend && this.backend.init && this.backend.init(s, o.backend, o);
8118
+ super(), this.backend = e, this.store = t, this.services = s, this.languageUtils = s.languageUtils, this.options = o, this.logger = P.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = o.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = o.maxRetries >= 0 ? o.maxRetries : 5, this.retryTimeout = o.retryTimeout >= 1 ? o.retryTimeout : 350, this.state = {}, this.queue = [], this.backend && this.backend.init && this.backend.init(s, o.backend, o);
8119
8119
  }
8120
8120
  queueLoad(e, t, s, o) {
8121
8121
  const l = {}, c = {}, r = {}, d = {};
@@ -8312,7 +8312,7 @@ const W1 = () => ({
8312
8312
  class o1 extends w1 {
8313
8313
  constructor() {
8314
8314
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0;
8315
- if (super(), this.options = j1(e), this.services = {}, this.logger = K, this.modules = {
8315
+ if (super(), this.options = j1(e), this.services = {}, this.logger = P, this.modules = {
8316
8316
  external: []
8317
8317
  }, n3(this), t && !this.isInitialized && !e.isClone) {
8318
8318
  if (!this.options.initImmediate)
@@ -8337,13 +8337,13 @@ class o1 extends w1 {
8337
8337
  }), t.keySeparator !== void 0 && (this.options.userDefinedKeySeparator = t.keySeparator), t.nsSeparator !== void 0 && (this.options.userDefinedNsSeparator = t.nsSeparator);
8338
8338
  const l = (a) => a ? typeof a == "function" ? new a() : a : null;
8339
8339
  if (!this.options.isClone) {
8340
- this.modules.logger ? K.init(l(this.modules.logger), this.options) : K.init(null, this.options);
8340
+ this.modules.logger ? P.init(l(this.modules.logger), this.options) : P.init(null, this.options);
8341
8341
  let a;
8342
8342
  this.modules.formatter ? a = this.modules.formatter : typeof Intl < "u" && (a = i3);
8343
8343
  const h = new A1(this.options);
8344
8344
  this.store = new S1(this.options.resources, this.options);
8345
8345
  const u = this.services;
8346
- u.logger = K, u.resourceStore = this.store, u.languageUtils = h, u.pluralResolver = new X5(h, {
8346
+ u.logger = P, u.resourceStore = this.store, u.languageUtils = h, u.pluralResolver = new X5(h, {
8347
8347
  prepend: this.options.pluralSeparator,
8348
8348
  compatibilityJSON: this.options.compatibilityJSON,
8349
8349
  simplifyPluralSuffix: this.options.simplifyPluralSuffix
@@ -8547,22 +8547,22 @@ class o1 extends w1 {
8547
8547
  };
8548
8548
  }
8549
8549
  }
8550
- const O = o1.createInstance();
8551
- O.createInstance = o1.createInstance;
8552
- O.createInstance;
8553
- O.dir;
8554
- O.init;
8555
- O.loadResources;
8556
- O.reloadResources;
8557
- O.use;
8558
- O.changeLanguage;
8559
- O.getFixedT;
8560
- O.t;
8561
- O.exists;
8562
- O.setDefaultNamespace;
8563
- O.hasLoadedNamespace;
8564
- O.loadNamespaces;
8565
- O.loadLanguages;
8550
+ const A = o1.createInstance();
8551
+ A.createInstance = o1.createInstance;
8552
+ A.createInstance;
8553
+ A.dir;
8554
+ A.init;
8555
+ A.loadResources;
8556
+ A.reloadResources;
8557
+ A.use;
8558
+ A.changeLanguage;
8559
+ A.getFixedT;
8560
+ A.t;
8561
+ A.exists;
8562
+ A.setDefaultNamespace;
8563
+ A.hasLoadedNamespace;
8564
+ A.loadNamespaces;
8565
+ A.loadLanguages;
8566
8566
  function r3() {
8567
8567
  if (console && console.warn) {
8568
8568
  for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
@@ -8671,10 +8671,10 @@ class L3 {
8671
8671
  }
8672
8672
  const v3 = (i, e) => {
8673
8673
  const t = r1();
8674
- return W(() => {
8674
+ return j(() => {
8675
8675
  t.current = i;
8676
8676
  }, [i, e]), t.current;
8677
- }, oe = (i, e, t, s) => i.getFixedT(e, t, s), N3 = (i, e, t, s) => G(oe(i, e, t, s), [i, e, t, s]), x3 = function(i) {
8677
+ }, oe = (i, e, t, s) => i.getFixedT(e, t, s), N3 = (i, e, t, s) => K(oe(i, e, t, s), [i, e, t, s]), x3 = function(i) {
8678
8678
  let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
8679
8679
  const {
8680
8680
  i18n: t
@@ -8684,7 +8684,7 @@ const v3 = (i, e) => {
8684
8684
  } = l1(k3) || {}, l = t || s || w3();
8685
8685
  if (l && !l.reportNamespaces && (l.reportNamespaces = new L3()), !l) {
8686
8686
  R1("You will need to pass in an i18next instance by using initReactI18next");
8687
- const m = (b, N) => J(N) ? N : h3(N) && J(N.defaultValue) ? N.defaultValue : Array.isArray(b) ? b[b.length - 1] : b, M = [m, {}, !1];
8687
+ const m = (y, N) => J(N) ? N : h3(N) && J(N.defaultValue) ? N.defaultValue : Array.isArray(y) ? y[y.length - 1] : y, M = [m, {}, !1];
8688
8688
  return M.t = m, M.i18n = {}, M.ready = !1, M;
8689
8689
  }
8690
8690
  l.options.react && l.options.react.wait !== void 0 && R1("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
@@ -8698,11 +8698,11 @@ const v3 = (i, e) => {
8698
8698
  } = c;
8699
8699
  let g = i;
8700
8700
  g = J(g) ? [g] : g || ["translation"], l.reportNamespaces.addUsedNamespaces && l.reportNamespaces.addUsedNamespaces(g);
8701
- const a = (l.isInitialized || l.initializedStoreOnce) && g.every((m) => a3(m, l, c)), h = N3(l, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), u = () => h, p = () => oe(l, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), [w, x] = I(u);
8701
+ const a = (l.isInitialized || l.initializedStoreOnce) && g.every((m) => a3(m, l, c)), h = N3(l, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), u = () => h, p = () => oe(l, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), [w, x] = O(u);
8702
8702
  let v = g.join();
8703
8703
  e.lng && (v = `${e.lng}${v}`);
8704
8704
  const E = v3(v), R = r1(!0);
8705
- W(() => {
8705
+ j(() => {
8706
8706
  const {
8707
8707
  bindI18n: m,
8708
8708
  bindI18nStore: M
@@ -8712,26 +8712,26 @@ const v3 = (i, e) => {
8712
8712
  }) : T1(l, g, () => {
8713
8713
  R.current && x(p);
8714
8714
  })), a && E && E !== v && R.current && x(p);
8715
- const b = () => {
8715
+ const y = () => {
8716
8716
  R.current && x(p);
8717
8717
  };
8718
- return m && l && l.on(m, b), M && l && l.store.on(M, b), () => {
8719
- R.current = !1, m && l && m.split(" ").forEach((N) => l.off(N, b)), M && l && M.split(" ").forEach((N) => l.store.off(N, b));
8718
+ return m && l && l.on(m, y), M && l && l.store.on(M, y), () => {
8719
+ R.current = !1, m && l && m.split(" ").forEach((N) => l.off(N, y)), M && l && M.split(" ").forEach((N) => l.store.off(N, y));
8720
8720
  };
8721
- }, [l, v]), W(() => {
8721
+ }, [l, v]), j(() => {
8722
8722
  R.current && a && x(u);
8723
8723
  }, [l, d, a]);
8724
- const A = [w, l, a];
8725
- if (A.t = w, A.i18n = l, A.ready = a, a || !a && !r) return A;
8724
+ const B = [w, l, a];
8725
+ if (B.t = w, B.i18n = l, B.ready = a, a || !a && !r) return B;
8726
8726
  throw new Promise((m) => {
8727
8727
  e.lng ? G1(l, e.lng, g, () => m()) : T1(l, g, () => m());
8728
8728
  });
8729
8729
  };
8730
- var V = [];
8730
+ var S = [];
8731
8731
  for (var N1 = 0; N1 < 256; ++N1)
8732
- V.push((N1 + 256).toString(16).slice(1));
8732
+ S.push((N1 + 256).toString(16).slice(1));
8733
8733
  function R3(i, e = 0) {
8734
- return (V[i[e + 0]] + V[i[e + 1]] + V[i[e + 2]] + V[i[e + 3]] + "-" + V[i[e + 4]] + V[i[e + 5]] + "-" + V[i[e + 6]] + V[i[e + 7]] + "-" + V[i[e + 8]] + V[i[e + 9]] + "-" + V[i[e + 10]] + V[i[e + 11]] + V[i[e + 12]] + V[i[e + 13]] + V[i[e + 14]] + V[i[e + 15]]).toLowerCase();
8734
+ return (S[i[e + 0]] + S[i[e + 1]] + S[i[e + 2]] + S[i[e + 3]] + "-" + S[i[e + 4]] + S[i[e + 5]] + "-" + S[i[e + 6]] + S[i[e + 7]] + "-" + S[i[e + 8]] + S[i[e + 9]] + "-" + S[i[e + 10]] + S[i[e + 11]] + S[i[e + 12]] + S[i[e + 13]] + S[i[e + 14]] + S[i[e + 15]]).toLowerCase();
8735
8735
  }
8736
8736
  var c1, M3 = new Uint8Array(16);
8737
8737
  function y3() {
@@ -8757,7 +8757,7 @@ const E3 = "City", H3 = {
8757
8757
  };
8758
8758
  function I3(i, e = 500) {
8759
8759
  const t = r1();
8760
- return W(() => () => {
8760
+ return j(() => () => {
8761
8761
  t.current && clearTimeout(t.current);
8762
8762
  }, []), (...o) => {
8763
8763
  const l = setTimeout(() => {
@@ -8766,7 +8766,7 @@ function I3(i, e = 500) {
8766
8766
  clearTimeout(t.current), t.current = l;
8767
8767
  };
8768
8768
  }
8769
- O.use(m3).init({
8769
+ A.use(m3).init({
8770
8770
  defaultNS: "common",
8771
8771
  lng: "en",
8772
8772
  resources: {
@@ -8783,62 +8783,62 @@ const F1 = {
8783
8783
  offset: 0
8784
8784
  }, D3 = f1(
8785
8785
  ({ width: i, selectedCountry: e, onChange: t, value: s, id: o, disabled: l }, c) => {
8786
- const [r, d] = I([]), [g, a] = I(F1), [h, u] = I(null), [p, w] = I([]), [x, v] = I(!1), [E, R] = I(!1), A = r1(e), { locale: m, axiosPeople: M } = l1(de);
8786
+ const [r, d] = O([]), [g, a] = O(F1), [h, u] = O(null), [p, w] = O([]), [x, v] = O(!0), [E, R] = O(!1), B = r1(e), { locale: m, axiosPeople: M } = l1(de);
8787
8787
  if (!M)
8788
8788
  throw new Error(
8789
8789
  `CitySelect requires "axiosPeople" to fetch cities.
8790
8790
  Please provide it via SNMTUiContext.`
8791
8791
  );
8792
- const { t: b } = x3("common", { lng: m }), N = G(
8793
- async (H) => {
8794
- H ? R(!0) : v(!0);
8792
+ const { t: y } = x3("common", { lng: m }), N = K(
8793
+ async (b) => {
8794
+ b ? R(!0) : v(!0);
8795
8795
  try {
8796
- const y = {
8796
+ const _ = {
8797
8797
  offset: g.offset,
8798
8798
  limit: g.limit
8799
8799
  };
8800
- e && e.length > 0 && (y.countryId = e), H && (y.search = H);
8801
- const S = await M.post("v1/cities/search", y), j = (S == null ? void 0 : S.data.data) || [], P = S == null ? void 0 : S.data.metadata.count, F = j.map(($) => ({
8800
+ e && e.length > 0 && (_.countryId = e), b && (_.search = b);
8801
+ const I = await M.post("v1/cities/search", _), G = (I == null ? void 0 : I.data.data) || [], F = I == null ? void 0 : I.data.metadata.count, Y = G.map((V) => ({
8802
8802
  key: P1(),
8803
- label: $.name,
8804
- value: $.geoNameId
8803
+ label: V.name,
8804
+ value: V.geoNameId
8805
8805
  }));
8806
8806
  d(
8807
- ($) => g.offset === 0 ? F : [...$, ...F]
8808
- ), w(j), u(P);
8807
+ (V) => g.offset === 0 ? Y : [...V, ...Y]
8808
+ ), w(G), u(F);
8809
8809
  } finally {
8810
8810
  v(!1), R(!1);
8811
8811
  }
8812
8812
  },
8813
- [M, g, e]
8813
+ [M, g.offset, g.limit, e]
8814
8814
  );
8815
- W(() => {
8815
+ j(() => {
8816
8816
  a(F1);
8817
- }, [e]), W(() => {
8817
+ }, [e]), j(() => {
8818
8818
  N();
8819
- }, [N, e]), W(() => {
8819
+ }, [N, e]), j(() => {
8820
8820
  t("");
8821
- const H = p.map((y) => ({
8821
+ const b = p.map((_) => ({
8822
8822
  key: P1(),
8823
- label: y.name,
8824
- value: y.geoNameId
8823
+ label: _.name,
8824
+ value: _.geoNameId
8825
8825
  }));
8826
8826
  d(
8827
- (y) => g.offset === 0 ? H : [...y, ...H]
8828
- ), A.current = e, s && t(s);
8827
+ (_) => g.offset === 0 ? b : [..._, ...b]
8828
+ ), B.current = e, s && t(s);
8829
8829
  }, [e, t, s, p, g.offset]);
8830
- const T = I3(N), Q = G(
8831
- (H) => {
8832
- a((y) => ({ ...y, offset: 0, search: H })), R(!0), T(H);
8830
+ const T = I3(N), Q = K(
8831
+ (b) => {
8832
+ a((_) => ({ ..._, offset: 0, search: b })), R(!0), T(b);
8833
8833
  },
8834
8834
  [T]
8835
- ), Y = async (H) => {
8836
- const { target: y } = H;
8837
- y.scrollTop + y.offsetHeight >= y.scrollHeight - 50 && h !== null && h > 0 && a((S) => ({
8838
- ...S,
8839
- offset: S.offset + S.limit
8835
+ ), $ = async (b) => {
8836
+ const { target: _ } = b;
8837
+ _.scrollTop + _.offsetHeight >= _.scrollHeight - 50 && h !== null && h > 0 && a((I) => ({
8838
+ ...I,
8839
+ offset: I.offset + I.limit
8840
8840
  }));
8841
- };
8841
+ }, W = x || E;
8842
8842
  return /* @__PURE__ */ n("div", { className: "snmt-city-select", children: /* @__PURE__ */ n(
8843
8843
  B5,
8844
8844
  {
@@ -8848,12 +8848,12 @@ const F1 = {
8848
8848
  onChange: t,
8849
8849
  ref: c,
8850
8850
  search: !0,
8851
- value: s,
8851
+ value: W && s ? null : s,
8852
8852
  onSearchChange: Q,
8853
- placeholder: b("placeholder"),
8854
- onPopupScroll: Y,
8853
+ placeholder: y("placeholder"),
8854
+ onPopupScroll: $,
8855
8855
  disabled: l,
8856
- isLoading: x || E
8856
+ isLoading: W
8857
8857
  }
8858
8858
  ) });
8859
8859
  }