@snmt-react-ui/city-select 2.9.10 → 2.9.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/city-select.js +258 -206
  2. package/package.json +3 -3
@@ -1,11 +1,11 @@
1
1
  var Z2 = Object.defineProperty;
2
- var R2 = (l, e, t) => e in l ? Z2(l, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : l[e] = t;
3
- var j1 = (l, e, t) => R2(l, typeof e != "symbol" ? e + "" : e, t);
2
+ var V2 = (l, e, t) => e in l ? Z2(l, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : l[e] = t;
3
+ var F1 = (l, e, t) => V2(l, typeof e != "symbol" ? e + "" : e, t);
4
4
  import "./index.css";
5
5
  import { jsx as n, Fragment as t1, jsxs as g } from "react/jsx-runtime";
6
6
  import { COLORS as h, SNMTUiContext as h1 } from "@snmt-react-ui/core";
7
- import { forwardRef as a1, useState as A, useRef as O, useCallback as $, useEffect as K, useMemo as F1, useImperativeHandle as c1, useContext as l1, createContext as g2 } from "react";
8
- import { Select as V2, Tag as T1, Flex as H2, Checkbox as _2, Avatar as b2, Typography as N1, Popover as y2 } from "antd";
7
+ import { forwardRef as a1, useState as A, useRef as O, useCallback as $, useEffect as K, useMemo as j1, useImperativeHandle as c1, useContext as l1, createContext as g2 } from "react";
8
+ import { Select as R2, Tag as T1, Flex as H2, Checkbox as _2, Avatar as b2, Typography as N1, Popover as y2 } from "antd";
9
9
  var E2 = Object.defineProperty, A2 = (l, e, t) => e in l ? E2(l, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : l[e] = t, D2 = (l, e, t) => A2(l, e + "", t), K2 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
10
10
  function G2() {
11
11
  if (console && console.warn) {
@@ -86,9 +86,9 @@ let P2 = {
86
86
  useSuspense: !0,
87
87
  unescape: T2
88
88
  };
89
- const j2 = () => P2;
90
- let F2;
91
- const U2 = () => F2, W2 = g2();
89
+ const F2 = () => P2;
90
+ let j2;
91
+ const U2 = () => j2, W2 = g2();
92
92
  class z2 {
93
93
  constructor() {
94
94
  D2(this, "getUsedNamespaces", () => Object.keys(this.usedNamespaces)), this.usedNamespaces = {};
@@ -119,7 +119,7 @@ const J2 = (l, e) => {
119
119
  }
120
120
  C.options.react && C.options.react.wait !== void 0 && Y1("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
121
121
  const c = {
122
- ...j2(),
122
+ ...F2(),
123
123
  ...C.options.react,
124
124
  ...e
125
125
  }, {
@@ -131,25 +131,25 @@ const J2 = (l, e) => {
131
131
  const r = (C.isInitialized || C.initializedStoreOnce) && o.every((N) => B2(N, C, c)), u = q2(C, e.lng || null, c.nsMode === "fallback" ? o : o[0], a), w = () => u, f = () => f2(C, e.lng || null, c.nsMode === "fallback" ? o : o[0], a), [p, m] = A(w);
132
132
  let L = o.join();
133
133
  e.lng && (L = `${e.lng}${L}`);
134
- const x = J2(L), V = O(!0);
134
+ const x = J2(L), R = O(!0);
135
135
  K(() => {
136
136
  const {
137
137
  bindI18n: N,
138
138
  bindI18nStore: v
139
139
  } = c;
140
- V.current = !0, !r && !d && (e.lng ? z1(C, e.lng, o, () => {
141
- V.current && m(f);
140
+ R.current = !0, !r && !d && (e.lng ? z1(C, e.lng, o, () => {
141
+ R.current && m(f);
142
142
  }) : W1(C, o, () => {
143
- V.current && m(f);
144
- })), r && x && x !== L && V.current && m(f);
143
+ R.current && m(f);
144
+ })), r && x && x !== L && R.current && m(f);
145
145
  const Z = () => {
146
- V.current && m(f);
146
+ R.current && m(f);
147
147
  };
148
148
  return N && C && C.on(N, Z), v && C && C.store.on(v, Z), () => {
149
- V.current = !1, N && C && N.split(" ").forEach((k) => C.off(k, Z)), v && C && v.split(" ").forEach((k) => C.store.off(k, Z));
149
+ R.current = !1, N && C && N.split(" ").forEach((k) => C.off(k, Z)), v && C && v.split(" ").forEach((k) => C.store.off(k, Z));
150
150
  };
151
151
  }, [C, L]), K(() => {
152
- V.current && r && m(w);
152
+ R.current && r && m(w);
153
153
  }, [C, a, r]);
154
154
  const D = [p, C, r];
155
155
  if (D.t = p, D.i18n = C, D.ready = r, r || !r && !d) return D;
@@ -944,7 +944,7 @@ const J2 = (l, e) => {
944
944
  )
945
945
  ]
946
946
  }
947
- ), R5 = ({
947
+ ), V5 = ({
948
948
  width: l = 20,
949
949
  height: e = 20,
950
950
  color: t = h.GREY_DARK_5,
@@ -984,7 +984,7 @@ const J2 = (l, e) => {
984
984
  )
985
985
  ]
986
986
  }
987
- ), V5 = ({
987
+ ), R5 = ({
988
988
  width: l = 20,
989
989
  height: e = 20,
990
990
  color: t = h.GREY_DARK_5,
@@ -1641,7 +1641,7 @@ const J2 = (l, e) => {
1641
1641
  }
1642
1642
  )
1643
1643
  }
1644
- ), j5 = ({
1644
+ ), F5 = ({
1645
1645
  className: l,
1646
1646
  color: e = h.GREY_DARK_5,
1647
1647
  height: t = 5,
@@ -1666,7 +1666,7 @@ const J2 = (l, e) => {
1666
1666
  }
1667
1667
  )
1668
1668
  }
1669
- ), F5 = ({
1669
+ ), j5 = ({
1670
1670
  className: l,
1671
1671
  color: e = h.GREY_DARK_5,
1672
1672
  height: t = 20,
@@ -2549,7 +2549,7 @@ const J2 = (l, e) => {
2549
2549
  color: t = h.GREY_DARK_5,
2550
2550
  className: i,
2551
2551
  onClick: s
2552
- }) => /* @__PURE__ */ n(
2552
+ }) => /* @__PURE__ */ g(
2553
2553
  "svg",
2554
2554
  {
2555
2555
  width: l,
@@ -2559,16 +2559,29 @@ const J2 = (l, e) => {
2559
2559
  xmlns: "http://www.w3.org/2000/svg",
2560
2560
  className: i,
2561
2561
  onClick: s,
2562
- children: /* @__PURE__ */ n(
2563
- "path",
2564
- {
2565
- d: "M7 7H17M7 12H17M7 17H13M19 3H5C4.46957 3 3.96086 3.21071 3.58579 3.58579C3.21071 3.96086 3 4.46957 3 5V19C3 19.5304 3.21071 20.0391 3.58579 20.4142C3.96086 20.7893 4.46957 21 5 21H19C19.5304 21 20.0391 20.7893 20.4142 20.4142C20.7893 20.0391 21 19.5304 21 19V5C21 4.46957 20.7893 3.96086 20.4142 3.58579C20.0391 3.21071 19.5304 3 19 3Z",
2566
- stroke: t,
2567
- strokeWidth: "1.5",
2568
- strokeLinecap: "round",
2569
- strokeLinejoin: "round"
2570
- }
2571
- )
2562
+ children: [
2563
+ /* @__PURE__ */ n(
2564
+ "path",
2565
+ {
2566
+ d: "M20.25 19V6.81055L16.1895 2.75L7 2.75C6.58579 2.75 6.25 2.41421 6.25 2C6.25 1.58579 6.58579 1.25 7 1.25L16.5 1.25C16.6989 1.25 16.8896 1.32907 17.0303 1.46973L21.5303 5.96973C21.6709 6.11038 21.75 6.30109 21.75 6.5V19C21.75 19.4142 21.4142 19.75 21 19.75C20.5858 19.75 20.25 19.4142 20.25 19Z",
2567
+ fill: t
2568
+ }
2569
+ ),
2570
+ /* @__PURE__ */ n(
2571
+ "path",
2572
+ {
2573
+ d: "M18.75 20.5C18.75 21.7426 17.7426 22.75 16.5 22.75H4.5C3.25736 22.75 2.25 21.7426 2.25 20.5V6.5C2.25 5.25736 3.25736 4.25 4.5 4.25H14.252C14.6098 4.25013 14.953 4.39245 15.2061 4.64551L18.3545 7.79395C18.6076 8.04701 18.7499 8.39018 18.75 8.74805V20.5ZM3.75 20.5C3.75 20.9142 4.08579 21.25 4.5 21.25H16.5C16.9142 21.25 17.25 20.9142 17.25 20.5V8.81055L14.1895 5.75H4.5C4.08579 5.75 3.75 6.08579 3.75 6.5V20.5Z",
2574
+ fill: t
2575
+ }
2576
+ ),
2577
+ /* @__PURE__ */ n(
2578
+ "path",
2579
+ {
2580
+ d: "M13.25 5C13.25 4.58579 13.5858 4.25 14 4.25C14.4142 4.25 14.75 4.58579 14.75 5V8.25H18C18.4142 8.25 18.75 8.58579 18.75 9C18.75 9.41421 18.4142 9.75 18 9.75H14.5996C13.8543 9.74979 13.2502 9.14567 13.25 8.40039V5Z",
2581
+ fill: t
2582
+ }
2583
+ )
2584
+ ]
2572
2585
  }
2573
2586
  ), u7 = ({
2574
2587
  width: l = 20,
@@ -2637,9 +2650,9 @@ const J2 = (l, e) => {
2637
2650
  case "filter2":
2638
2651
  return Q5({ width: e, height: t, color: a, className: r, onClick: o });
2639
2652
  case "attention":
2640
- return R5({ width: e, height: t, color: a, className: r, onClick: o });
2641
- case "users":
2642
2653
  return V5({ width: e, height: t, color: a, className: r, onClick: o });
2654
+ case "users":
2655
+ return R5({ width: e, height: t, color: a, className: r, onClick: o });
2643
2656
  case "mySkillsMatrix":
2644
2657
  return H5({
2645
2658
  width: e,
@@ -2697,7 +2710,7 @@ const J2 = (l, e) => {
2697
2710
  case "search":
2698
2711
  return T5({ width: e, height: t, color: a, className: r, onClick: o });
2699
2712
  case "arrowUpFilled":
2700
- return j5({ width: e, height: t, color: a, className: r, onClick: o });
2713
+ return F5({ width: e, height: t, color: a, className: r, onClick: o });
2701
2714
  case "arrowDownFilled":
2702
2715
  return P5({ width: e, height: t, color: a, className: r, onClick: o });
2703
2716
  case "arrow2Up":
@@ -2709,7 +2722,7 @@ const J2 = (l, e) => {
2709
2722
  case "arrow2Left":
2710
2723
  return u5({ width: e, height: t, color: a, className: r, onClick: o });
2711
2724
  case "link":
2712
- return F5({ width: e, height: t, color: a, className: r, onClick: o });
2725
+ return j5({ width: e, height: t, color: a, className: r, onClick: o });
2713
2726
  case "telegram":
2714
2727
  return W5({ width: e, height: t, color: a, className: r, onClick: o });
2715
2728
  case "mail":
@@ -2946,7 +2959,7 @@ const J2 = (l, e) => {
2946
2959
  )
2947
2960
  ]
2948
2961
  }
2949
- ), R7 = ({
2962
+ ), V7 = ({
2950
2963
  width: l = 20,
2951
2964
  height: e = 20,
2952
2965
  color: t = h.GREY_DARK_5,
@@ -2973,7 +2986,7 @@ const J2 = (l, e) => {
2973
2986
  /* @__PURE__ */ n("defs", { children: /* @__PURE__ */ n("clipPath", { id: "clip0_1_2043", children: /* @__PURE__ */ n("rect", { width: "24", height: "24", fill: "white", transform: "translate(0.5 0.5)" }) }) })
2974
2987
  ]
2975
2988
  }
2976
- ), V7 = ({
2989
+ ), R7 = ({
2977
2990
  width: l = 20,
2978
2991
  height: e = 20,
2979
2992
  color: t = h.GREY_DARK_5,
@@ -3655,7 +3668,7 @@ const J2 = (l, e) => {
3655
3668
  )
3656
3669
  ]
3657
3670
  }
3658
- ), j7 = ({
3671
+ ), F7 = ({
3659
3672
  width: l = 20,
3660
3673
  height: e = 20,
3661
3674
  color: t = h.GREY_DARK_5,
@@ -3688,7 +3701,7 @@ const J2 = (l, e) => {
3688
3701
  )
3689
3702
  ]
3690
3703
  }
3691
- ), F7 = ({
3704
+ ), j7 = ({
3692
3705
  width: l = 20,
3693
3706
  height: e = 20,
3694
3707
  color: t = h.GREY_DARK_5,
@@ -4899,7 +4912,7 @@ const J2 = (l, e) => {
4899
4912
  )
4900
4913
  ]
4901
4914
  }
4902
- ), R9 = ({
4915
+ ), V9 = ({
4903
4916
  width: l = 20,
4904
4917
  height: e = 20,
4905
4918
  color: t = h.GREY_DARK_5,
@@ -4939,7 +4952,7 @@ const J2 = (l, e) => {
4939
4952
  )
4940
4953
  ]
4941
4954
  }
4942
- ), V9 = ({
4955
+ ), R9 = ({
4943
4956
  width: l = 20,
4944
4957
  height: e = 20,
4945
4958
  color: t = h.GREY_DARK_5,
@@ -5006,7 +5019,7 @@ const J2 = (l, e) => {
5006
5019
  color: t = h.GREY_DARK_5,
5007
5020
  className: i,
5008
5021
  onClick: s
5009
- }) => /* @__PURE__ */ n(
5022
+ }) => /* @__PURE__ */ g(
5010
5023
  "svg",
5011
5024
  {
5012
5025
  width: l,
@@ -5016,16 +5029,29 @@ const J2 = (l, e) => {
5016
5029
  xmlns: "http://www.w3.org/2000/svg",
5017
5030
  className: i,
5018
5031
  onClick: s,
5019
- children: /* @__PURE__ */ n(
5020
- "path",
5021
- {
5022
- d: "M7 7H17M7 12H17M7 17H13M19 3H5C4.46957 3 3.96086 3.21071 3.58579 3.58579C3.21071 3.96086 3 4.46957 3 5V19C3 19.5304 3.21071 20.0391 3.58579 20.4142C3.96086 20.7893 4.46957 21 5 21H19C19.5304 21 20.0391 20.7893 20.4142 20.4142C20.7893 20.0391 21 19.5304 21 19V5C21 4.46957 20.7893 3.96086 20.4142 3.58579C20.0391 3.21071 19.5304 3 19 3Z",
5023
- stroke: t,
5024
- strokeWidth: "1.5",
5025
- strokeLinecap: "round",
5026
- strokeLinejoin: "round"
5027
- }
5028
- )
5032
+ children: [
5033
+ /* @__PURE__ */ n(
5034
+ "path",
5035
+ {
5036
+ d: "M20.25 19V6.81055L16.1895 2.75L7 2.75C6.58579 2.75 6.25 2.41421 6.25 2C6.25 1.58579 6.58579 1.25 7 1.25L16.5 1.25C16.6989 1.25 16.8896 1.32907 17.0303 1.46973L21.5303 5.96973C21.6709 6.11038 21.75 6.30109 21.75 6.5V19C21.75 19.4142 21.4142 19.75 21 19.75C20.5858 19.75 20.25 19.4142 20.25 19Z",
5037
+ fill: t
5038
+ }
5039
+ ),
5040
+ /* @__PURE__ */ n(
5041
+ "path",
5042
+ {
5043
+ d: "M18.75 20.5C18.75 21.7426 17.7426 22.75 16.5 22.75H4.5C3.25736 22.75 2.25 21.7426 2.25 20.5V6.5C2.25 5.25736 3.25736 4.25 4.5 4.25H14.252C14.6098 4.25013 14.953 4.39245 15.2061 4.64551L18.3545 7.79395C18.6076 8.04701 18.7499 8.39018 18.75 8.74805V20.5ZM3.75 20.5C3.75 20.9142 4.08579 21.25 4.5 21.25H16.5C16.9142 21.25 17.25 20.9142 17.25 20.5V8.81055L14.1895 5.75H4.5C4.08579 5.75 3.75 6.08579 3.75 6.5V20.5Z",
5044
+ fill: t
5045
+ }
5046
+ ),
5047
+ /* @__PURE__ */ n(
5048
+ "path",
5049
+ {
5050
+ d: "M13.25 5C13.25 4.58579 13.5858 4.25 14 4.25C14.4142 4.25 14.75 4.58579 14.75 5V8.25H18C18.4142 8.25 18.75 8.58579 18.75 9C18.75 9.41421 18.4142 9.75 18 9.75H14.5996C13.8543 9.74979 13.2502 9.14567 13.25 8.40039V5Z",
5051
+ fill: t
5052
+ }
5053
+ )
5054
+ ]
5029
5055
  }
5030
5056
  ), _9 = ({
5031
5057
  width: l = 20,
@@ -5118,9 +5144,9 @@ const J2 = (l, e) => {
5118
5144
  case "history":
5119
5145
  return P7({ width: e, height: t, color: a, className: r, onClick: o });
5120
5146
  case "logOut":
5121
- return j7({ width: e, height: t, color: a, className: r, onClick: o });
5122
- case "settings":
5123
5147
  return F7({ width: e, height: t, color: a, className: r, onClick: o });
5148
+ case "settings":
5149
+ return j7({ width: e, height: t, color: a, className: r, onClick: o });
5124
5150
  case "trash":
5125
5151
  return U7({ width: e, height: t, color: a, className: r, onClick: o });
5126
5152
  case "settings2":
@@ -5158,9 +5184,9 @@ const J2 = (l, e) => {
5158
5184
  case "arrowDownFilled":
5159
5185
  return l9({ width: e, height: t, color: a, className: r, onClick: o });
5160
5186
  case "arrow2Up":
5161
- return R7({ width: e, height: t, color: a, className: r, onClick: o });
5162
- case "arrow2Right":
5163
5187
  return V7({ width: e, height: t, color: a, className: r, onClick: o });
5188
+ case "arrow2Right":
5189
+ return R7({ width: e, height: t, color: a, className: r, onClick: o });
5164
5190
  case "arrow2Down":
5165
5191
  return H7({ width: e, height: t, color: a, className: r, onClick: o });
5166
5192
  case "arrow2Left":
@@ -5206,9 +5232,9 @@ const J2 = (l, e) => {
5206
5232
  case "exit":
5207
5233
  return x9({ width: e, height: t, color: a, className: r, onClick: o });
5208
5234
  case "status":
5209
- return R9({ width: e, height: t, color: a, className: r, onClick: o });
5210
- case "community":
5211
5235
  return V9({ width: e, height: t, color: a, className: r, onClick: o });
5236
+ case "community":
5237
+ return R9({ width: e, height: t, color: a, className: r, onClick: o });
5212
5238
  case "docs":
5213
5239
  return H9({ width: e, height: t, color: a, className: r, onClick: o });
5214
5240
  case "unpaidLeave":
@@ -5542,7 +5568,7 @@ const J2 = (l, e) => {
5542
5568
  /* @__PURE__ */ n("defs", { children: /* @__PURE__ */ n("clipPath", { id: "clip0_1_2043", children: /* @__PURE__ */ n("rect", { width: "24", height: "24", fill: "white", transform: "translate(0.5 0.5)" }) }) })
5543
5569
  ]
5544
5570
  }
5545
- ), j9 = ({
5571
+ ), F9 = ({
5546
5572
  width: l = 20,
5547
5573
  height: e = 20,
5548
5574
  color: t = h.GREY_DARK_5,
@@ -5566,7 +5592,7 @@ const J2 = (l, e) => {
5566
5592
  }
5567
5593
  )
5568
5594
  }
5569
- ), F9 = ({
5595
+ ), j9 = ({
5570
5596
  width: l = 20,
5571
5597
  height: e = 20,
5572
5598
  color: t = h.GREY_DARK_5,
@@ -6788,7 +6814,7 @@ const J2 = (l, e) => {
6788
6814
  }
6789
6815
  )
6790
6816
  }
6791
- ), R0 = ({
6817
+ ), V0 = ({
6792
6818
  className: l,
6793
6819
  color: e = h.GREY_DARK_5,
6794
6820
  height: t = 20,
@@ -6835,7 +6861,7 @@ const J2 = (l, e) => {
6835
6861
  )
6836
6862
  ]
6837
6863
  }
6838
- ), V0 = ({
6864
+ ), R0 = ({
6839
6865
  className: l,
6840
6866
  color: e = h.GREY_DARK_5,
6841
6867
  height: t = 20,
@@ -7508,7 +7534,7 @@ const J2 = (l, e) => {
7508
7534
  )
7509
7535
  ]
7510
7536
  }
7511
- ), j0 = ({
7537
+ ), F0 = ({
7512
7538
  width: l = 20,
7513
7539
  height: e = 20,
7514
7540
  color: t = h.GREY_DARK_5,
@@ -7569,13 +7595,13 @@ const J2 = (l, e) => {
7569
7595
  )
7570
7596
  ]
7571
7597
  }
7572
- ), F0 = ({
7598
+ ), j0 = ({
7573
7599
  width: l = 20,
7574
7600
  height: e = 20,
7575
7601
  color: t = h.GREY_DARK_5,
7576
7602
  className: i,
7577
7603
  onClick: s
7578
- }) => /* @__PURE__ */ n(
7604
+ }) => /* @__PURE__ */ g(
7579
7605
  "svg",
7580
7606
  {
7581
7607
  width: l,
@@ -7585,16 +7611,29 @@ const J2 = (l, e) => {
7585
7611
  xmlns: "http://www.w3.org/2000/svg",
7586
7612
  className: i,
7587
7613
  onClick: s,
7588
- children: /* @__PURE__ */ n(
7589
- "path",
7590
- {
7591
- d: "M7 7H17M7 12H17M7 17H13M19 3H5C4.46957 3 3.96086 3.21071 3.58579 3.58579C3.21071 3.96086 3 4.46957 3 5V19C3 19.5304 3.21071 20.0391 3.58579 20.4142C3.96086 20.7893 4.46957 21 5 21H19C19.5304 21 20.0391 20.7893 20.4142 20.4142C20.7893 20.0391 21 19.5304 21 19V5C21 4.46957 20.7893 3.96086 20.4142 3.58579C20.0391 3.21071 19.5304 3 19 3Z",
7592
- stroke: t,
7593
- strokeWidth: "1.5",
7594
- strokeLinecap: "round",
7595
- strokeLinejoin: "round"
7596
- }
7597
- )
7614
+ children: [
7615
+ /* @__PURE__ */ n(
7616
+ "path",
7617
+ {
7618
+ d: "M20.25 19V6.81055L16.1895 2.75L7 2.75C6.58579 2.75 6.25 2.41421 6.25 2C6.25 1.58579 6.58579 1.25 7 1.25L16.5 1.25C16.6989 1.25 16.8896 1.32907 17.0303 1.46973L21.5303 5.96973C21.6709 6.11038 21.75 6.30109 21.75 6.5V19C21.75 19.4142 21.4142 19.75 21 19.75C20.5858 19.75 20.25 19.4142 20.25 19Z",
7619
+ fill: t
7620
+ }
7621
+ ),
7622
+ /* @__PURE__ */ n(
7623
+ "path",
7624
+ {
7625
+ d: "M18.75 20.5C18.75 21.7426 17.7426 22.75 16.5 22.75H4.5C3.25736 22.75 2.25 21.7426 2.25 20.5V6.5C2.25 5.25736 3.25736 4.25 4.5 4.25H14.252C14.6098 4.25013 14.953 4.39245 15.2061 4.64551L18.3545 7.79395C18.6076 8.04701 18.7499 8.39018 18.75 8.74805V20.5ZM3.75 20.5C3.75 20.9142 4.08579 21.25 4.5 21.25H16.5C16.9142 21.25 17.25 20.9142 17.25 20.5V8.81055L14.1895 5.75H4.5C4.08579 5.75 3.75 6.08579 3.75 6.5V20.5Z",
7626
+ fill: t
7627
+ }
7628
+ ),
7629
+ /* @__PURE__ */ n(
7630
+ "path",
7631
+ {
7632
+ d: "M13.25 5C13.25 4.58579 13.5858 4.25 14 4.25C14.4142 4.25 14.75 4.58579 14.75 5V8.25H18C18.4142 8.25 18.75 8.58579 18.75 9C18.75 9.41421 18.4142 9.75 18 9.75H14.5996C13.8543 9.74979 13.2502 9.14567 13.25 8.40039V5Z",
7633
+ fill: t
7634
+ }
7635
+ )
7636
+ ]
7598
7637
  }
7599
7638
  ), U0 = ({
7600
7639
  width: l = 20,
@@ -7729,9 +7768,9 @@ const J2 = (l, e) => {
7729
7768
  case "arrow2Up":
7730
7769
  return P9({ width: e, height: t, color: a, className: r, onClick: o });
7731
7770
  case "arrow2Right":
7732
- return j9({ width: e, height: t, color: a, className: r, onClick: o });
7733
- case "arrow2Down":
7734
7771
  return F9({ width: e, height: t, color: a, className: r, onClick: o });
7772
+ case "arrow2Down":
7773
+ return j9({ width: e, height: t, color: a, className: r, onClick: o });
7735
7774
  case "arrow2Left":
7736
7775
  return U9({ width: e, height: t, color: a, className: r, onClick: o });
7737
7776
  case "link":
@@ -7739,11 +7778,11 @@ const J2 = (l, e) => {
7739
7778
  case "telegram":
7740
7779
  return Z0({ width: e, height: t, color: a, className: r, onClick: o });
7741
7780
  case "mail":
7742
- return V0({ width: e, height: t, color: a, className: r, onClick: o });
7781
+ return R0({ width: e, height: t, color: a, className: r, onClick: o });
7743
7782
  case "github":
7744
7783
  return x0({ width: e, height: t, color: a, className: r, onClick: o });
7745
7784
  case "linkedIn":
7746
- return R0({ width: e, height: t, color: a, className: r, onClick: o });
7785
+ return V0({ width: e, height: t, color: a, className: r, onClick: o });
7747
7786
  case "emptyStateIcon":
7748
7787
  return H0({ width: e, height: t, color: a, className: r, onClick: o });
7749
7788
  case "dotMenuIcon":
@@ -7777,9 +7816,9 @@ const J2 = (l, e) => {
7777
7816
  case "status":
7778
7817
  return P0({ width: e, height: t, color: a, className: r, onClick: o });
7779
7818
  case "community":
7780
- return j0({ width: e, height: t, color: a, className: r, onClick: o });
7781
- case "docs":
7782
7819
  return F0({ width: e, height: t, color: a, className: r, onClick: o });
7820
+ case "docs":
7821
+ return j0({ width: e, height: t, color: a, className: r, onClick: o });
7783
7822
  case "unpaidLeave":
7784
7823
  return U0({ width: e, height: t, color: a, className: r, onClick: o });
7785
7824
  default:
@@ -8889,7 +8928,7 @@ const q0 = ({
8889
8928
  )
8890
8929
  ]
8891
8930
  }
8892
- ), R4 = ({
8931
+ ), V4 = ({
8893
8932
  width: l = 20,
8894
8933
  height: e = 20,
8895
8934
  color: t = h.GREY_DARK_5,
@@ -8929,7 +8968,7 @@ const q0 = ({
8929
8968
  )
8930
8969
  ]
8931
8970
  }
8932
- ), V4 = ({
8971
+ ), R4 = ({
8933
8972
  width: l = 20,
8934
8973
  height: e = 20,
8935
8974
  color: t = h.GREY_DARK_5,
@@ -9556,7 +9595,7 @@ const q0 = ({
9556
9595
  )
9557
9596
  ]
9558
9597
  }
9559
- ), j4 = ({
9598
+ ), F4 = ({
9560
9599
  className: l,
9561
9600
  color: e = h.GREY_DARK_5,
9562
9601
  height: t = 20,
@@ -9593,7 +9632,7 @@ const q0 = ({
9593
9632
  )
9594
9633
  ]
9595
9634
  }
9596
- ), F4 = ({
9635
+ ), j4 = ({
9597
9636
  className: l,
9598
9637
  color: e = h.GREY_DARK_5,
9599
9638
  height: t = 20,
@@ -10141,7 +10180,7 @@ const q0 = ({
10141
10180
  color: t = h.GREY_DARK_5,
10142
10181
  className: i,
10143
10182
  onClick: s
10144
- }) => /* @__PURE__ */ n(
10183
+ }) => /* @__PURE__ */ g(
10145
10184
  "svg",
10146
10185
  {
10147
10186
  width: l,
@@ -10151,16 +10190,29 @@ const q0 = ({
10151
10190
  xmlns: "http://www.w3.org/2000/svg",
10152
10191
  className: i,
10153
10192
  onClick: s,
10154
- children: /* @__PURE__ */ n(
10155
- "path",
10156
- {
10157
- d: "M7 7H17M7 12H17M7 17H13M19 3H5C4.46957 3 3.96086 3.21071 3.58579 3.58579C3.21071 3.96086 3 4.46957 3 5V19C3 19.5304 3.21071 20.0391 3.58579 20.4142C3.96086 20.7893 4.46957 21 5 21H19C19.5304 21 20.0391 20.7893 20.4142 20.4142C20.7893 20.0391 21 19.5304 21 19V5C21 4.46957 20.7893 3.96086 20.4142 3.58579C20.0391 3.21071 19.5304 3 19 3Z",
10158
- stroke: t,
10159
- strokeWidth: "1.5",
10160
- strokeLinecap: "round",
10161
- strokeLinejoin: "round"
10162
- }
10163
- )
10193
+ children: [
10194
+ /* @__PURE__ */ n(
10195
+ "path",
10196
+ {
10197
+ d: "M20.25 19V6.81055L16.1895 2.75L7 2.75C6.58579 2.75 6.25 2.41421 6.25 2C6.25 1.58579 6.58579 1.25 7 1.25L16.5 1.25C16.6989 1.25 16.8896 1.32907 17.0303 1.46973L21.5303 5.96973C21.6709 6.11038 21.75 6.30109 21.75 6.5V19C21.75 19.4142 21.4142 19.75 21 19.75C20.5858 19.75 20.25 19.4142 20.25 19Z",
10198
+ fill: t
10199
+ }
10200
+ ),
10201
+ /* @__PURE__ */ n(
10202
+ "path",
10203
+ {
10204
+ d: "M18.75 20.5C18.75 21.7426 17.7426 22.75 16.5 22.75H4.5C3.25736 22.75 2.25 21.7426 2.25 20.5V6.5C2.25 5.25736 3.25736 4.25 4.5 4.25H14.252C14.6098 4.25013 14.953 4.39245 15.2061 4.64551L18.3545 7.79395C18.6076 8.04701 18.7499 8.39018 18.75 8.74805V20.5ZM3.75 20.5C3.75 20.9142 4.08579 21.25 4.5 21.25H16.5C16.9142 21.25 17.25 20.9142 17.25 20.5V8.81055L14.1895 5.75H4.5C4.08579 5.75 3.75 6.08579 3.75 6.5V20.5Z",
10205
+ fill: t
10206
+ }
10207
+ ),
10208
+ /* @__PURE__ */ n(
10209
+ "path",
10210
+ {
10211
+ d: "M13.25 5C13.25 4.58579 13.5858 4.25 14 4.25C14.4142 4.25 14.75 4.58579 14.75 5V8.25H18C18.4142 8.25 18.75 8.58579 18.75 9C18.75 9.41421 18.4142 9.75 18 9.75H14.5996C13.8543 9.74979 13.2502 9.14567 13.25 8.40039V5Z",
10212
+ fill: t
10213
+ }
10214
+ )
10215
+ ]
10164
10216
  }
10165
10217
  ), a6 = ({
10166
10218
  width: l = 20,
@@ -10259,9 +10311,9 @@ const q0 = ({
10259
10311
  case "trash":
10260
10312
  return Z4({ width: e, height: t, color: a, className: r, onClick: o });
10261
10313
  case "settings2":
10262
- return R4({ width: e, height: t, color: a, className: r, onClick: o });
10263
- case "checkCircle":
10264
10314
  return V4({ width: e, height: t, color: a, className: r, onClick: o });
10315
+ case "checkCircle":
10316
+ return R4({ width: e, height: t, color: a, className: r, onClick: o });
10265
10317
  case "cancelCircle":
10266
10318
  return H4({ width: e, height: t, color: a, className: r, onClick: o });
10267
10319
  case "visibilityIcon":
@@ -10315,9 +10367,9 @@ const q0 = ({
10315
10367
  case "dotMenuIcon":
10316
10368
  return P4({ width: e, height: t, color: a, className: r, onClick: o });
10317
10369
  case "plusCircle":
10318
- return j4({ width: e, height: t, color: a, className: r, onClick: o });
10319
- case "warning":
10320
10370
  return F4({ width: e, height: t, color: a, className: r, onClick: o });
10371
+ case "warning":
10372
+ return j4({ width: e, height: t, color: a, className: r, onClick: o });
10321
10373
  case "bell":
10322
10374
  return U4({ width: e, height: t, color: a, className: r, onClick: o });
10323
10375
  case "copy":
@@ -10401,7 +10453,7 @@ const d6 = a1((l, e) => {
10401
10453
  onScrollToEnd: m,
10402
10454
  onPopupScroll: L,
10403
10455
  id: x,
10404
- extraOptions: V,
10456
+ extraOptions: R,
10405
10457
  dropdownRender: D,
10406
10458
  optionRender: N,
10407
10459
  isLoading: v,
@@ -10412,7 +10464,7 @@ const d6 = a1((l, e) => {
10412
10464
  } = l;
10413
10465
  let W;
10414
10466
  C && C !== "single" && (W = l.overflowBehaviour ?? "responsive");
10415
- const [G, z] = A(!1), [U, J] = A(!1), [j, q] = A(!1), [s1, S] = A(!0), [b, I] = A(t), n1 = O(null), d1 = C === "single" && _ === "badge";
10467
+ const [G, z] = A(!1), [U, J] = A(!1), [F, q] = A(!1), [s1, S] = A(!0), [b, I] = A(t), n1 = O(null), d1 = C === "single" && _ === "badge";
10416
10468
  K(() => {
10417
10469
  I(t);
10418
10470
  }, [t]);
@@ -10423,7 +10475,7 @@ const d6 = a1((l, e) => {
10423
10475
  return !!((B = H == null ? void 0 : H.label) != null && B.toString().toLowerCase().includes(M.toLowerCase()));
10424
10476
  }, Z1 = () => {
10425
10477
  J(!0);
10426
- }, R1 = () => {
10478
+ }, V1 = () => {
10427
10479
  J(!1);
10428
10480
  }, i1 = $(
10429
10481
  (M) => {
@@ -10443,7 +10495,7 @@ const d6 = a1((l, e) => {
10443
10495
  H = Array.isArray(M) ? null : M || null, i == null || i(H), I(H);
10444
10496
  },
10445
10497
  [C, i, d1]
10446
- ), V1 = $(() => {
10498
+ ), R1 = $(() => {
10447
10499
  if (!(Z || o)) {
10448
10500
  if (C) {
10449
10501
  i1([]);
@@ -10472,10 +10524,10 @@ const d6 = a1((l, e) => {
10472
10524
  }, Y = $(
10473
10525
  (M) => {
10474
10526
  var H, B;
10475
- return ((H = d.find((o1) => o1.value === M)) == null ? void 0 : H.label) || ((B = V == null ? void 0 : V.find((o1) => o1.value === M)) == null ? void 0 : B.label) || M;
10527
+ return ((H = d.find((o1) => o1.value === M)) == null ? void 0 : H.label) || ((B = R == null ? void 0 : R.find((o1) => o1.value === M)) == null ? void 0 : B.label) || M;
10476
10528
  },
10477
- [V, d]
10478
- ), F = $(
10529
+ [R, d]
10530
+ ), j = $(
10479
10531
  (M, H = "default") => {
10480
10532
  var B;
10481
10533
  return /* @__PURE__ */ n(
@@ -10487,12 +10539,12 @@ const d6 = a1((l, e) => {
10487
10539
  disabled: o,
10488
10540
  closable: !Z,
10489
10541
  options: d,
10490
- extraOptions: V,
10542
+ extraOptions: R,
10491
10543
  selectedItemVariant: H
10492
10544
  }
10493
10545
  );
10494
10546
  },
10495
- [o, V, g1, d, Z]
10547
+ [o, R, g1, d, Z]
10496
10548
  ), X = $(
10497
10549
  ({ label: M, value: H, mode: B }) => {
10498
10550
  if (B === "filter")
@@ -10529,7 +10581,7 @@ const d6 = a1((l, e) => {
10529
10581
  style: { width: a },
10530
10582
  children: [
10531
10583
  /* @__PURE__ */ n(
10532
- V2,
10584
+ R2,
10533
10585
  {
10534
10586
  className: "snmt-select-blank",
10535
10587
  popupClassName: Z ? "dropdown-read-only" : "",
@@ -10548,7 +10600,7 @@ const d6 = a1((l, e) => {
10548
10600
  variant: y,
10549
10601
  onChange: i1,
10550
10602
  onFocus: Z1,
10551
- onBlur: R1,
10603
+ onBlur: V1,
10552
10604
  onMouseEnter: () => q(!0),
10553
10605
  onMouseLeave: () => q(!1),
10554
10606
  onSearch: (M) => {
@@ -10558,14 +10610,14 @@ const d6 = a1((l, e) => {
10558
10610
  onDeselect: () => S(!0),
10559
10611
  tagRender: (M) => X({ ...M, mode: C }),
10560
10612
  maxTagCount: W === "responsive" ? "responsive" : void 0,
10561
- maxTagPlaceholder: (M) => F(M, _),
10613
+ maxTagPlaceholder: (M) => j(M, _),
10562
10614
  onPopupScroll: Q,
10563
10615
  prefix: v && /* @__PURE__ */ n(q1, { size: "small" }),
10564
10616
  suffixIcon: /* @__PURE__ */ n("div", { className: "wrapper-suffix-icon", children: C !== "filter" && /* @__PURE__ */ g(t1, { children: [
10565
10617
  b && !!b.length && u && /* @__PURE__ */ n(
10566
10618
  "div",
10567
10619
  {
10568
- onClick: V1,
10620
+ onClick: R1,
10569
10621
  style: {
10570
10622
  cursor: o ? "not-allowed" : "pointer"
10571
10623
  },
@@ -10578,7 +10630,7 @@ const d6 = a1((l, e) => {
10578
10630
  )
10579
10631
  }
10580
10632
  ),
10581
- y === "borderless" && (j || U) && /* @__PURE__ */ n(
10633
+ y === "borderless" && (F || U) && /* @__PURE__ */ n(
10582
10634
  C6,
10583
10635
  {
10584
10636
  isActive: G,
@@ -10636,7 +10688,7 @@ const d6 = a1((l, e) => {
10636
10688
  "fieldset",
10637
10689
  {
10638
10690
  className: `${U ? "fieldset-focused" : ""} ${o ? "fieldset-disabled" : ""} ${H1 ? "fieldset-filled" : ""} ${k ? "fieldset-error" : ""}
10639
- ${j ? "fieldset-hovered" : ""}`,
10691
+ ${F ? "fieldset-hovered" : ""}`,
10640
10692
  children: /* @__PURE__ */ n("legend", { children: s && y !== "borderless" && /* @__PURE__ */ n("span", { children: r ? `${s}*` : s }) })
10641
10693
  }
10642
10694
  )
@@ -10699,10 +10751,10 @@ const G1 = 100, w1 = {
10699
10751
  dropdownRender: m,
10700
10752
  readOnly: L,
10701
10753
  clearable: x = !0,
10702
- required: V = !1,
10754
+ required: R = !1,
10703
10755
  error: D,
10704
10756
  variant: N = "outlined"
10705
- } = l, [v, Z] = A(), [k, _] = A(w1), [y, W] = A(!1), [G, z] = A(), [U, J] = A(!1), [j, q] = A(
10757
+ } = l, [v, Z] = A(), [k, _] = A(w1), [y, W] = A(!1), [G, z] = A(), [U, J] = A(!1), [F, q] = A(
10706
10758
  w ?? []
10707
10759
  ), s1 = Q1(k.offset), S = Q1(G), [b, I] = A(!1), n1 = O(!1), d1 = $(
10708
10760
  async ({
@@ -10718,9 +10770,9 @@ const G1 = 100, w1 = {
10718
10770
  search: Q
10719
10771
  });
10720
10772
  Z(
10721
- (F) => P === 0 ? Y.options : [...F ?? [], ...Y.options]
10722
- ), _((F) => ({
10723
- ...F,
10773
+ (j) => P === 0 ? Y.options : [...j ?? [], ...Y.options]
10774
+ ), _((j) => ({
10775
+ ...j,
10724
10776
  count: Y.count
10725
10777
  }));
10726
10778
  } catch (Y) {
@@ -10743,7 +10795,7 @@ const G1 = 100, w1 = {
10743
10795
  }));
10744
10796
  },
10745
10797
  [y, v == null ? void 0 : v.length, k.count]
10746
- ), R1 = $(
10798
+ ), V1 = $(
10747
10799
  (E) => {
10748
10800
  J(E), !E && G && (z(void 0), _(w1), I(!0)), f == null || f(E);
10749
10801
  },
@@ -10767,15 +10819,15 @@ const G1 = 100, w1 = {
10767
10819
  let P = [];
10768
10820
  if (o ? P = Array.isArray(E) ? E : [] : P = E ? [E] : [], G) {
10769
10821
  const Q = P.filter(
10770
- (Y) => !(j != null && j.some((F) => F.value === Y))
10822
+ (Y) => !(F != null && F.some((j) => j.value === Y))
10771
10823
  );
10772
10824
  Q.length > 0 && q((Y = []) => [
10773
10825
  ...Y,
10774
- ...Q.map((F) => {
10775
- const X = v == null ? void 0 : v.find((H1) => H1.value === F);
10826
+ ...Q.map((j) => {
10827
+ const X = v == null ? void 0 : v.find((H1) => H1.value === j);
10776
10828
  return {
10777
- value: F,
10778
- label: (X == null ? void 0 : X.label) ?? F,
10829
+ value: j,
10830
+ label: (X == null ? void 0 : X.label) ?? j,
10779
10831
  imageFallbackText: (X == null ? void 0 : X.imageFallbackText) ?? "",
10780
10832
  image: (X == null ? void 0 : X.image) ?? void 0
10781
10833
  };
@@ -10783,8 +10835,8 @@ const G1 = 100, w1 = {
10783
10835
  ]), z(void 0), _(w1), I(!0);
10784
10836
  }
10785
10837
  },
10786
- [s, G, o, v, j]
10787
- ), V1 = F1(
10838
+ [s, G, o, v, F]
10839
+ ), R1 = j1(
10788
10840
  () => ({
10789
10841
  id: C,
10790
10842
  width: i,
@@ -10793,7 +10845,7 @@ const G1 = 100, w1 = {
10793
10845
  placeholder: a,
10794
10846
  search: !0,
10795
10847
  onSearchChange: x1,
10796
- onDropdownVisibleChange: R1,
10848
+ onDropdownVisibleChange: V1,
10797
10849
  scrollThresholdValue: d,
10798
10850
  onScrollToEnd: Z1,
10799
10851
  disabled: c,
@@ -10802,7 +10854,7 @@ const G1 = 100, w1 = {
10802
10854
  dropdownRender: m,
10803
10855
  readOnly: L,
10804
10856
  clearable: x,
10805
- required: V,
10857
+ required: R,
10806
10858
  error: D,
10807
10859
  variant: N
10808
10860
  }),
@@ -10813,7 +10865,7 @@ const G1 = 100, w1 = {
10813
10865
  e,
10814
10866
  a,
10815
10867
  x1,
10816
- R1,
10868
+ V1,
10817
10869
  d,
10818
10870
  Z1,
10819
10871
  c,
@@ -10822,7 +10874,7 @@ const G1 = 100, w1 = {
10822
10874
  m,
10823
10875
  L,
10824
10876
  x,
10825
- V,
10877
+ R,
10826
10878
  D,
10827
10879
  N
10828
10880
  ]
@@ -10832,25 +10884,25 @@ const G1 = 100, w1 = {
10832
10884
  _(w1), z(void 0), I(!0);
10833
10885
  }
10834
10886
  }));
10835
- const g1 = F1(() => {
10836
- const E = o && o !== "single", P = l.selectedItemVariant === "badge", Q = P ? v || [] : v || [], Y = j, F = l, X = E ? {
10887
+ const g1 = j1(() => {
10888
+ const E = o && o !== "single", P = l.selectedItemVariant === "badge", Q = P ? v || [] : v || [], Y = F, j = l, X = E ? {
10837
10889
  mode: o,
10838
- overflowBehaviour: F.overflowBehaviour,
10839
- value: F.value
10890
+ overflowBehaviour: j.overflowBehaviour,
10891
+ value: j.value
10840
10892
  } : {
10841
10893
  mode: o,
10842
10894
  value: l.value
10843
10895
  };
10844
10896
  return {
10845
- ...V1,
10897
+ ...R1,
10846
10898
  ...X,
10847
10899
  selectedItemVariant: l.selectedItemVariant,
10848
10900
  options: Q,
10849
10901
  extraOptions: Y
10850
10902
  };
10851
- }, [o, l, V1, j, v]);
10903
+ }, [o, l, R1, F, v]);
10852
10904
  return /* @__PURE__ */ n("div", { className: "snmt-async-select", children: /* @__PURE__ */ n(d6, { ...g1 }) });
10853
- }), R = (l) => typeof l == "string", L1 = () => {
10905
+ }), V = (l) => typeof l == "string", L1 = () => {
10854
10906
  let l, e;
10855
10907
  const t = new Promise((i, s) => {
10856
10908
  l = i, e = s;
@@ -10860,8 +10912,8 @@ const G1 = 100, w1 = {
10860
10912
  l.forEach((i) => {
10861
10913
  e[i] && (t[i] = e[i]);
10862
10914
  });
10863
- }, p6 = /###/g, e2 = (l) => l && l.indexOf("###") > -1 ? l.replace(p6, ".") : l, t2 = (l) => !l || R(l), v1 = (l, e, t) => {
10864
- const i = R(e) ? e.split(".") : e;
10915
+ }, p6 = /###/g, e2 = (l) => l && l.indexOf("###") > -1 ? l.replace(p6, ".") : l, t2 = (l) => !l || V(l), v1 = (l, e, t) => {
10916
+ const i = V(e) ? e.split(".") : e;
10865
10917
  let s = 0;
10866
10918
  for (; s < i.length - 1; ) {
10867
10919
  if (t2(l)) return {};
@@ -10903,7 +10955,7 @@ const G1 = 100, w1 = {
10903
10955
  return i !== void 0 ? i : y1(e, t);
10904
10956
  }, m2 = (l, e, t) => {
10905
10957
  for (const i in e)
10906
- i !== "__proto__" && i !== "constructor" && (i in l ? R(l[i]) || l[i] instanceof String || R(e[i]) || e[i] instanceof String ? t && (l[i] = e[i]) : m2(l[i], e[i], t) : l[i] = e[i]);
10958
+ i !== "__proto__" && i !== "constructor" && (i in l ? V(l[i]) || l[i] instanceof String || V(e[i]) || e[i] instanceof String ? t && (l[i] = e[i]) : m2(l[i], e[i], t) : l[i] = e[i]);
10907
10959
  return l;
10908
10960
  }, f1 = (l) => l.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
10909
10961
  var v6 = {
@@ -10914,7 +10966,7 @@ var v6 = {
10914
10966
  "'": "&#39;",
10915
10967
  "/": "&#x2F;"
10916
10968
  };
10917
- const k6 = (l) => R(l) ? l.replace(/[&<>"'\/]/g, (e) => v6[e]) : l;
10969
+ const k6 = (l) => V(l) ? l.replace(/[&<>"'\/]/g, (e) => v6[e]) : l;
10918
10970
  class N6 {
10919
10971
  constructor(e) {
10920
10972
  this.capacity = e, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = [];
@@ -10958,7 +11010,7 @@ const M6 = [" ", ",", "?", "!", ";"], x6 = new N6(20), Z6 = (l, e, t) => {
10958
11010
  s = c;
10959
11011
  }
10960
11012
  return s;
10961
- }, E1 = (l) => l && l.replace("_", "-"), R6 = {
11013
+ }, E1 = (l) => l && l.replace("_", "-"), V6 = {
10962
11014
  type: "logger",
10963
11015
  log(l) {
10964
11016
  this.output("log", l);
@@ -10980,7 +11032,7 @@ class A1 {
10980
11032
  }
10981
11033
  init(e) {
10982
11034
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
10983
- this.prefix = t.prefix || "i18next:", this.logger = e || R6, this.options = t, this.debug = t.debug;
11035
+ this.prefix = t.prefix || "i18next:", this.logger = e || V6, this.options = t, this.debug = t.debug;
10984
11036
  }
10985
11037
  log() {
10986
11038
  for (var e = arguments.length, t = new Array(e), i = 0; i < e; i++)
@@ -11003,7 +11055,7 @@ class A1 {
11003
11055
  return this.forward(t, "warn", "WARNING DEPRECATED: ", !0);
11004
11056
  }
11005
11057
  forward(e, t, i, s) {
11006
- return s && !this.debug ? null : (R(e[0]) && (e[0] = `${i}${this.prefix} ${e[0]}`), this.logger[t](e));
11058
+ return s && !this.debug ? null : (V(e[0]) && (e[0] = `${i}${this.prefix} ${e[0]}`), this.logger[t](e));
11007
11059
  }
11008
11060
  create(e) {
11009
11061
  return new A1(this.logger, {
@@ -11069,9 +11121,9 @@ class l2 extends K1 {
11069
11121
  let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
11070
11122
  const C = s.keySeparator !== void 0 ? s.keySeparator : this.options.keySeparator, c = s.ignoreJSONStructure !== void 0 ? s.ignoreJSONStructure : this.options.ignoreJSONStructure;
11071
11123
  let d;
11072
- e.indexOf(".") > -1 ? d = e.split(".") : (d = [e, t], i && (Array.isArray(i) ? d.push(...i) : R(i) && C ? d.push(...i.split(C)) : d.push(i)));
11124
+ e.indexOf(".") > -1 ? d = e.split(".") : (d = [e, t], i && (Array.isArray(i) ? d.push(...i) : V(i) && C ? d.push(...i.split(C)) : d.push(i)));
11073
11125
  const a = y1(this.data, d);
11074
- return !a && !t && !i && e.indexOf(".") > -1 && (e = d[0], t = d[1], i = d.slice(2).join(".")), a || !c || !R(i) ? a : O1(this.data && this.data[e] && this.data[e][t], i, C);
11126
+ return !a && !t && !i && e.indexOf(".") > -1 && (e = d[0], t = d[1], i = d.slice(2).join(".")), a || !c || !V(i) ? a : O1(this.data && this.data[e] && this.data[e][t], i, C);
11075
11127
  }
11076
11128
  addResource(e, t, i, s) {
11077
11129
  let C = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : {
@@ -11086,7 +11138,7 @@ class l2 extends K1 {
11086
11138
  silent: !1
11087
11139
  };
11088
11140
  for (const C in i)
11089
- (R(i[C]) || Array.isArray(i[C])) && this.addResource(e, t, C, i[C], {
11141
+ (V(i[C]) || Array.isArray(i[C])) && this.addResource(e, t, C, i[C], {
11090
11142
  silent: !0
11091
11143
  });
11092
11144
  s.silent || this.emit("added", e, t, i);
@@ -11165,14 +11217,14 @@ class D1 extends K1 {
11165
11217
  if (a && a.length > 0)
11166
11218
  return {
11167
11219
  key: e,
11168
- namespaces: R(C) ? [C] : C
11220
+ namespaces: V(C) ? [C] : C
11169
11221
  };
11170
11222
  const o = e.split(i);
11171
11223
  (i !== s || i === s && this.options.ns.indexOf(o[0]) > -1) && (C = o.shift()), e = o.join(s);
11172
11224
  }
11173
11225
  return {
11174
11226
  key: e,
11175
- namespaces: R(C) ? [C] : C
11227
+ namespaces: V(C) ? [C] : C
11176
11228
  };
11177
11229
  }
11178
11230
  translate(e, t, i) {
@@ -11207,8 +11259,8 @@ class D1 extends K1 {
11207
11259
  }
11208
11260
  const u = this.resolve(e, t);
11209
11261
  let w = u && u.res;
11210
- const f = u && u.usedKey || c, p = u && u.exactUsedKey || c, m = Object.prototype.toString.apply(w), L = ["[object Number]", "[object Function]", "[object RegExp]"], x = t.joinArrays !== void 0 ? t.joinArrays : this.options.joinArrays, V = !this.i18nFormat || this.i18nFormat.handleAsObject, D = !R(w) && typeof w != "boolean" && typeof w != "number";
11211
- if (V && w && D && L.indexOf(m) < 0 && !(R(x) && Array.isArray(w))) {
11262
+ const f = u && u.usedKey || c, p = u && u.exactUsedKey || c, m = Object.prototype.toString.apply(w), L = ["[object Number]", "[object Function]", "[object RegExp]"], x = t.joinArrays !== void 0 ? t.joinArrays : this.options.joinArrays, R = !this.i18nFormat || this.i18nFormat.handleAsObject, D = !V(w) && typeof w != "boolean" && typeof w != "number";
11263
+ if (R && w && D && L.indexOf(m) < 0 && !(V(x) && Array.isArray(w))) {
11212
11264
  if (!t.returnObjects && !this.options.returnObjects) {
11213
11265
  this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
11214
11266
  const N = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(f, w, {
@@ -11230,11 +11282,11 @@ class D1 extends K1 {
11230
11282
  }
11231
11283
  w = v;
11232
11284
  }
11233
- } else if (V && R(x) && Array.isArray(w))
11285
+ } else if (R && V(x) && Array.isArray(w))
11234
11286
  w = w.join(x), w && (w = this.extendTranslation(w, e, t, i));
11235
11287
  else {
11236
11288
  let N = !1, v = !1;
11237
- const Z = t.count !== void 0 && !R(t.count), k = D1.hasDefaultValue(t), _ = Z ? this.pluralResolver.getSuffix(o, t.count, t) : "", y = t.ordinal && Z ? this.pluralResolver.getSuffix(o, t.count, {
11289
+ const Z = t.count !== void 0 && !V(t.count), k = D1.hasDefaultValue(t), _ = Z ? this.pluralResolver.getSuffix(o, t.count, t) : "", y = t.ordinal && Z ? this.pluralResolver.getSuffix(o, t.count, {
11238
11290
  ordinal: !1
11239
11291
  }) : "", W = Z && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), G = W && t[`defaultValue${this.options.pluralSeparator}zero`] || t[`defaultValue${_}`] || t[`defaultValue${y}`] || t.defaultValue;
11240
11292
  !this.isValidLookup(w) && k && (N = !0, w = G), this.isValidLookup(w) || (v = !0, w = c);
@@ -11247,22 +11299,22 @@ class D1 extends K1 {
11247
11299
  });
11248
11300
  S && S.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.");
11249
11301
  }
11250
- let j = [];
11302
+ let F = [];
11251
11303
  const q = this.languageUtils.getFallbackCodes(this.options.fallbackLng, t.lng || this.language);
11252
11304
  if (this.options.saveMissingTo === "fallback" && q && q[0])
11253
11305
  for (let S = 0; S < q.length; S++)
11254
- j.push(q[S]);
11255
- else this.options.saveMissingTo === "all" ? j = this.languageUtils.toResolveHierarchy(t.lng || this.language) : j.push(t.lng || this.language);
11306
+ F.push(q[S]);
11307
+ else this.options.saveMissingTo === "all" ? F = this.languageUtils.toResolveHierarchy(t.lng || this.language) : F.push(t.lng || this.language);
11256
11308
  const s1 = (S, b, I) => {
11257
11309
  const n1 = k && I !== w ? I : U;
11258
11310
  this.options.missingKeyHandler ? this.options.missingKeyHandler(S, a, b, n1, J, t) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(S, a, b, n1, J, t), this.emit("missingKey", S, a, b, w);
11259
11311
  };
11260
- this.options.saveMissing && (this.options.saveMissingPlurals && Z ? j.forEach((S) => {
11312
+ this.options.saveMissing && (this.options.saveMissingPlurals && Z ? F.forEach((S) => {
11261
11313
  const b = this.pluralResolver.getSuffixes(S, t);
11262
11314
  W && t[`defaultValue${this.options.pluralSeparator}zero`] && b.indexOf(`${this.options.pluralSeparator}zero`) < 0 && b.push(`${this.options.pluralSeparator}zero`), b.forEach((I) => {
11263
11315
  s1([S], c + I, t[`defaultValue${I}`] || G);
11264
11316
  });
11265
- }) : s1(j, c, G));
11317
+ }) : s1(F, c, G));
11266
11318
  }
11267
11319
  w = this.extendTranslation(w, e, t, u, i), v && w === c && this.options.appendNamespaceToMissingKey && (w = `${a}:${c}`), (v || N) && this.options.parseMissingKeyHandler && (this.options.compatibilityAPI !== "v1" ? w = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${a}:${c}` : c, N ? w : void 0) : w = this.options.parseMissingKeyHandler(w));
11268
11320
  }
@@ -11285,13 +11337,13 @@ class D1 extends K1 {
11285
11337
  ...i.interpolation
11286
11338
  }
11287
11339
  });
11288
- const o = R(e) && (i && i.interpolation && i.interpolation.skipOnVariables !== void 0 ? i.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables);
11340
+ const o = V(e) && (i && i.interpolation && i.interpolation.skipOnVariables !== void 0 ? i.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables);
11289
11341
  let r;
11290
11342
  if (o) {
11291
11343
  const w = e.match(this.interpolator.nestingRegexp);
11292
11344
  r = w && w.length;
11293
11345
  }
11294
- let u = i.replace && !R(i.replace) ? i.replace : i;
11346
+ let u = i.replace && !V(i.replace) ? i.replace : i;
11295
11347
  if (this.options.interpolation.defaultVariables && (u = {
11296
11348
  ...this.options.interpolation.defaultVariables,
11297
11349
  ...u
@@ -11305,7 +11357,7 @@ class D1 extends K1 {
11305
11357
  return C && C[0] === f[0] && !i.context ? (c.logger.warn(`It seems you are nesting recursively key: ${f[0]} in key: ${t[0]}`), null) : c.translate(...f, t);
11306
11358
  }, i)), i.interpolation && this.interpolator.reset();
11307
11359
  }
11308
- const d = i.postProcess || this.options.postProcess, a = R(d) ? [d] : d;
11360
+ const d = i.postProcess || this.options.postProcess, a = V(d) ? [d] : d;
11309
11361
  return e != null && a && a.length && i.applyPostProcessor !== !1 && (e = v2.handle(a, e, t, this.options && this.options.postProcessPassResolved ? {
11310
11362
  i18nResolved: {
11311
11363
  ...s,
@@ -11316,31 +11368,31 @@ class D1 extends K1 {
11316
11368
  }
11317
11369
  resolve(e) {
11318
11370
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i, s, C, c, d;
11319
- return R(e) && (e = [e]), e.forEach((a) => {
11371
+ return V(e) && (e = [e]), e.forEach((a) => {
11320
11372
  if (this.isValidLookup(i)) return;
11321
11373
  const o = this.extractFromKey(a, t), r = o.key;
11322
11374
  s = r;
11323
11375
  let u = o.namespaces;
11324
11376
  this.options.fallbackNS && (u = u.concat(this.options.fallbackNS));
11325
- const w = t.count !== void 0 && !R(t.count), f = w && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), p = t.context !== void 0 && (R(t.context) || typeof t.context == "number") && t.context !== "", m = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
11377
+ const w = t.count !== void 0 && !V(t.count), f = w && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), p = t.context !== void 0 && (V(t.context) || typeof t.context == "number") && t.context !== "", m = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
11326
11378
  u.forEach((L) => {
11327
11379
  this.isValidLookup(i) || (d = L, !s2[`${m[0]}-${L}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(d) && (s2[`${m[0]}-${L}`] = !0, this.logger.warn(`key "${s}" for languages "${m.join(", ")}" won't get resolved as namespace "${d}" 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!!!")), m.forEach((x) => {
11328
11380
  if (this.isValidLookup(i)) return;
11329
11381
  c = x;
11330
- const V = [r];
11382
+ const R = [r];
11331
11383
  if (this.i18nFormat && this.i18nFormat.addLookupKeys)
11332
- this.i18nFormat.addLookupKeys(V, r, x, L, t);
11384
+ this.i18nFormat.addLookupKeys(R, r, x, L, t);
11333
11385
  else {
11334
11386
  let N;
11335
11387
  w && (N = this.pluralResolver.getSuffix(x, t.count, t));
11336
11388
  const v = `${this.options.pluralSeparator}zero`, Z = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
11337
- if (w && (V.push(r + N), t.ordinal && N.indexOf(Z) === 0 && V.push(r + N.replace(Z, this.options.pluralSeparator)), f && V.push(r + v)), p) {
11389
+ if (w && (R.push(r + N), t.ordinal && N.indexOf(Z) === 0 && R.push(r + N.replace(Z, this.options.pluralSeparator)), f && R.push(r + v)), p) {
11338
11390
  const k = `${r}${this.options.contextSeparator}${t.context}`;
11339
- V.push(k), w && (V.push(k + N), t.ordinal && N.indexOf(Z) === 0 && V.push(k + N.replace(Z, this.options.pluralSeparator)), f && V.push(k + v));
11391
+ R.push(k), w && (R.push(k + N), t.ordinal && N.indexOf(Z) === 0 && R.push(k + N.replace(Z, this.options.pluralSeparator)), f && R.push(k + v));
11340
11392
  }
11341
11393
  }
11342
11394
  let D;
11343
- for (; D = V.pop(); )
11395
+ for (; D = R.pop(); )
11344
11396
  this.isValidLookup(i) || (C = D, i = this.getResource(x, L, D, t));
11345
11397
  }));
11346
11398
  });
@@ -11361,7 +11413,7 @@ class D1 extends K1 {
11361
11413
  }
11362
11414
  getUsedParamsDetails() {
11363
11415
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
11364
- const t = ["defaultValue", "ordinal", "context", "replace", "lng", "lngs", "fallbackLng", "ns", "keySeparator", "nsSeparator", "returnObjects", "returnDetails", "joinArrays", "postProcess", "interpolation"], i = e.replace && !R(e.replace);
11416
+ const t = ["defaultValue", "ordinal", "context", "replace", "lng", "lngs", "fallbackLng", "ns", "keySeparator", "nsSeparator", "returnObjects", "returnDetails", "joinArrays", "postProcess", "interpolation"], i = e.replace && !V(e.replace);
11365
11417
  let s = i ? e.replace : e;
11366
11418
  if (i && typeof e.count < "u" && (s.count = e.count), this.options.interpolation.defaultVariables && (s = {
11367
11419
  ...this.options.interpolation.defaultVariables,
@@ -11399,7 +11451,7 @@ class n2 {
11399
11451
  return this.formatLanguageCode(t[0]);
11400
11452
  }
11401
11453
  formatLanguageCode(e) {
11402
- if (R(e) && e.indexOf("-") > -1) {
11454
+ if (V(e) && e.indexOf("-") > -1) {
11403
11455
  if (typeof Intl < "u" && typeof Intl.getCanonicalLocales < "u")
11404
11456
  try {
11405
11457
  let s = Intl.getCanonicalLocales(e)[0];
@@ -11435,7 +11487,7 @@ class n2 {
11435
11487
  }
11436
11488
  getFallbackCodes(e, t) {
11437
11489
  if (!e) return [];
11438
- if (typeof e == "function" && (e = e(t)), R(e) && (e = [e]), Array.isArray(e)) return e;
11490
+ if (typeof e == "function" && (e = e(t)), V(e) && (e = [e]), Array.isArray(e)) return e;
11439
11491
  if (!t) return e.default || [];
11440
11492
  let i = e[t];
11441
11493
  return i || (i = e[this.getScriptPartFromCode(t)]), i || (i = e[this.formatLanguageCode(t)]), i || (i = e[this.getLanguagePartFromCode(t)]), i || (i = e.default), i || [];
@@ -11444,12 +11496,12 @@ class n2 {
11444
11496
  const i = this.getFallbackCodes(t || this.options.fallbackLng || [], e), s = [], C = (c) => {
11445
11497
  c && (this.isSupportedCode(c) ? s.push(c) : this.logger.warn(`rejecting language code not found in supportedLngs: ${c}`));
11446
11498
  };
11447
- return R(e) && (e.indexOf("-") > -1 || e.indexOf("_") > -1) ? (this.options.load !== "languageOnly" && C(this.formatLanguageCode(e)), this.options.load !== "languageOnly" && this.options.load !== "currentOnly" && C(this.getScriptPartFromCode(e)), this.options.load !== "currentOnly" && C(this.getLanguagePartFromCode(e))) : R(e) && C(this.formatLanguageCode(e)), i.forEach((c) => {
11499
+ return V(e) && (e.indexOf("-") > -1 || e.indexOf("_") > -1) ? (this.options.load !== "languageOnly" && C(this.formatLanguageCode(e)), this.options.load !== "languageOnly" && this.options.load !== "currentOnly" && C(this.getScriptPartFromCode(e)), this.options.load !== "currentOnly" && C(this.getLanguagePartFromCode(e))) : V(e) && C(this.formatLanguageCode(e)), i.forEach((c) => {
11448
11500
  s.indexOf(c) < 0 && C(this.formatLanguageCode(c));
11449
11501
  }), s;
11450
11502
  }
11451
11503
  }
11452
- let V6 = [{
11504
+ let R6 = [{
11453
11505
  lngs: ["ach", "ak", "am", "arn", "br", "fil", "gun", "ln", "mfe", "mg", "mi", "oc", "pt", "pt-BR", "tg", "tl", "ti", "tr", "uz", "wa"],
11454
11506
  nr: [1, 2],
11455
11507
  fc: 1
@@ -11574,7 +11626,7 @@ const _6 = ["v1", "v2", "v3"], b6 = ["v4"], o2 = {
11574
11626
  other: 5
11575
11627
  }, y6 = () => {
11576
11628
  const l = {};
11577
- return V6.forEach((e) => {
11629
+ return R6.forEach((e) => {
11578
11630
  e.lngs.forEach((t) => {
11579
11631
  l[t] = {
11580
11632
  numbers: e.nr,
@@ -11649,7 +11701,7 @@ class E6 {
11649
11701
  }
11650
11702
  const a2 = function(l, e, t) {
11651
11703
  let i = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", s = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, C = m6(l, e, t);
11652
- return !C && s && R(t) && (C = O1(l, t, i), C === void 0 && (C = O1(e, t, i))), C;
11704
+ return !C && s && V(t) && (C = O1(l, t, i), C === void 0 && (C = O1(e, t, i))), C;
11653
11705
  }, B1 = (l) => l.replace(/\$/g, "$$$$");
11654
11706
  class A6 {
11655
11707
  constructor() {
@@ -11678,9 +11730,9 @@ class A6 {
11678
11730
  nestingSuffixEscaped: m,
11679
11731
  nestingOptionsSeparator: L,
11680
11732
  maxReplaces: x,
11681
- alwaysFormat: V
11733
+ alwaysFormat: R
11682
11734
  } = e.interpolation;
11683
- this.escape = t !== void 0 ? t : k6, this.escapeValue = i !== void 0 ? i : !0, this.useRawValueToEscape = s !== void 0 ? s : !1, this.prefix = C ? f1(C) : c || "{{", this.suffix = d ? f1(d) : a || "}}", this.formatSeparator = o || ",", this.unescapePrefix = r ? "" : u || "-", this.unescapeSuffix = this.unescapePrefix ? "" : r || "", this.nestingPrefix = w ? f1(w) : f || f1("$t("), this.nestingSuffix = p ? f1(p) : m || f1(")"), this.nestingOptionsSeparator = L || ",", this.maxReplaces = x || 1e3, this.alwaysFormat = V !== void 0 ? V : !1, this.resetRegExp();
11735
+ this.escape = t !== void 0 ? t : k6, this.escapeValue = i !== void 0 ? i : !0, this.useRawValueToEscape = s !== void 0 ? s : !1, this.prefix = C ? f1(C) : c || "{{", this.suffix = d ? f1(d) : a || "}}", this.formatSeparator = o || ",", this.unescapePrefix = r ? "" : u || "-", this.unescapeSuffix = this.unescapePrefix ? "" : r || "", this.nestingPrefix = w ? f1(w) : f || f1("$t("), this.nestingSuffix = p ? f1(p) : m || f1(")"), this.nestingOptionsSeparator = L || ",", this.maxReplaces = x || 1e3, this.alwaysFormat = R !== void 0 ? R : !1, this.resetRegExp();
11684
11736
  }
11685
11737
  reset() {
11686
11738
  this.options && this.init(this.options);
@@ -11721,7 +11773,7 @@ class A6 {
11721
11773
  if (c = o(p), c === void 0)
11722
11774
  if (typeof r == "function") {
11723
11775
  const L = r(e, C, s);
11724
- c = R(L) ? L : "";
11776
+ c = V(L) ? L : "";
11725
11777
  } else if (s && Object.prototype.hasOwnProperty.call(s, p))
11726
11778
  c = "";
11727
11779
  else if (u) {
@@ -11729,7 +11781,7 @@ class A6 {
11729
11781
  continue;
11730
11782
  } else
11731
11783
  this.logger.warn(`missed to pass in variable ${p} for interpolating ${e}`), c = "";
11732
- else !R(c) && !this.useRawValueToEscape && (c = X1(c));
11784
+ else !V(c) && !this.useRawValueToEscape && (c = X1(c));
11733
11785
  const m = f.safeValue(c);
11734
11786
  if (e = e.replace(C[0], m), u ? (f.regex.lastIndex += c.length, f.regex.lastIndex -= C[0].length) : f.regex.lastIndex = 0, d++, d >= this.maxReplaces)
11735
11787
  break;
@@ -11760,14 +11812,14 @@ class A6 {
11760
11812
  let a = [];
11761
11813
  c = {
11762
11814
  ...i
11763
- }, c = c.replace && !R(c.replace) ? c.replace : c, c.applyPostProcessor = !1, delete c.defaultValue;
11815
+ }, c = c.replace && !V(c.replace) ? c.replace : c, c.applyPostProcessor = !1, delete c.defaultValue;
11764
11816
  let o = !1;
11765
11817
  if (s[0].indexOf(this.formatSeparator) !== -1 && !/{.*}/.test(s[1])) {
11766
11818
  const r = s[1].split(this.formatSeparator).map((u) => u.trim());
11767
11819
  s[1] = r.shift(), a = r, o = !0;
11768
11820
  }
11769
- if (C = t(d.call(this, s[1].trim(), c), c), C && s[0] === e && !R(C)) return C;
11770
- R(C) || (C = X1(C)), C || (this.logger.warn(`missed to resolve ${s[1]} for nesting ${e}`), C = ""), o && (C = a.reduce((r, u) => this.format(r, u, i.lng, {
11821
+ if (C = t(d.call(this, s[1].trim(), c), c), C && s[0] === e && !V(C)) return C;
11822
+ V(C) || (C = X1(C)), C || (this.logger.warn(`missed to resolve ${s[1]} for nesting ${e}`), C = ""), o && (C = a.reduce((r, u) => this.format(r, u, i.lng, {
11771
11823
  ...i,
11772
11824
  interpolationkey: s[1].trim()
11773
11825
  }), C.trim())), e = e.replace(s[0], C), this.regexp.lastIndex = 0;
@@ -11974,7 +12026,7 @@ class S6 extends K1 {
11974
12026
  let i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, s = arguments.length > 3 ? arguments[3] : void 0;
11975
12027
  if (!this.backend)
11976
12028
  return this.logger.warn("No backend was added via i18next.use. Will not load resources."), s && s();
11977
- R(e) && (e = this.languageUtils.toResolveHierarchy(e)), R(t) && (t = [t]);
12029
+ V(e) && (e = this.languageUtils.toResolveHierarchy(e)), V(t) && (t = [t]);
11978
12030
  const C = this.queueLoad(e, t, i, s);
11979
12031
  if (!C.toLoad.length)
11980
12032
  return C.pending.length || s(), null;
@@ -12059,7 +12111,7 @@ const r2 = () => ({
12059
12111
  appendNamespaceToCIMode: !1,
12060
12112
  overloadTranslationOptionHandler: (l) => {
12061
12113
  let e = {};
12062
- if (typeof l[1] == "object" && (e = l[1]), R(l[1]) && (e.defaultValue = l[1]), R(l[2]) && (e.tDescription = l[2]), typeof l[2] == "object" || typeof l[3] == "object") {
12114
+ if (typeof l[1] == "object" && (e = l[1]), V(l[1]) && (e.defaultValue = l[1]), V(l[2]) && (e.tDescription = l[2]), typeof l[2] == "object" || typeof l[3] == "object") {
12063
12115
  const t = l[3] || l[2];
12064
12116
  Object.keys(t).forEach((i) => {
12065
12117
  e[i] = t[i];
@@ -12080,7 +12132,7 @@ const r2 = () => ({
12080
12132
  maxReplaces: 1e3,
12081
12133
  skipOnVariables: !0
12082
12134
  }
12083
- }), C2 = (l) => (R(l.ns) && (l.ns = [l.ns]), R(l.fallbackLng) && (l.fallbackLng = [l.fallbackLng]), R(l.fallbackNS) && (l.fallbackNS = [l.fallbackNS]), l.supportedLngs && l.supportedLngs.indexOf("cimode") < 0 && (l.supportedLngs = l.supportedLngs.concat(["cimode"])), l), b1 = () => {
12135
+ }), C2 = (l) => (V(l.ns) && (l.ns = [l.ns]), V(l.fallbackLng) && (l.fallbackLng = [l.fallbackLng]), V(l.fallbackNS) && (l.fallbackNS = [l.fallbackNS]), l.supportedLngs && l.supportedLngs.indexOf("cimode") < 0 && (l.supportedLngs = l.supportedLngs.concat(["cimode"])), l), b1 = () => {
12084
12136
  }, B6 = (l) => {
12085
12137
  Object.getOwnPropertyNames(Object.getPrototypeOf(l)).forEach((t) => {
12086
12138
  typeof l[t] == "function" && (l[t] = l[t].bind(l));
@@ -12102,7 +12154,7 @@ class k1 extends K1 {
12102
12154
  init() {
12103
12155
  var e = this;
12104
12156
  let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, i = arguments.length > 1 ? arguments[1] : void 0;
12105
- this.isInitializing = !0, typeof t == "function" && (i = t, t = {}), !t.defaultNS && t.defaultNS !== !1 && t.ns && (R(t.ns) ? t.defaultNS = t.ns : t.ns.indexOf("translation") < 0 && (t.defaultNS = t.ns[0]));
12157
+ this.isInitializing = !0, typeof t == "function" && (i = t, t = {}), !t.defaultNS && t.defaultNS !== !1 && t.ns && (V(t.ns) ? t.defaultNS = t.ns : t.ns.indexOf("translation") < 0 && (t.defaultNS = t.ns[0]));
12106
12158
  const s = r2();
12107
12159
  this.options = {
12108
12160
  ...s,
@@ -12162,7 +12214,7 @@ class k1 extends K1 {
12162
12214
  }
12163
12215
  loadResources(e) {
12164
12216
  let i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : b1;
12165
- const s = R(e) ? e : this.language;
12217
+ const s = V(e) ? e : this.language;
12166
12218
  if (typeof e == "function" && (i = e), !this.options.resources || this.options.partialBundledLanguages) {
12167
12219
  if (s && s.toLowerCase() === "cimode" && (!this.options.preload || this.options.preload.length === 0)) return i();
12168
12220
  const C = [], c = (d) => {
@@ -12213,7 +12265,7 @@ class k1 extends K1 {
12213
12265
  });
12214
12266
  }, d = (a) => {
12215
12267
  !e && !a && this.services.languageDetector && (a = []);
12216
- const o = R(a) ? a : this.services.languageUtils.getBestMatchFromCodes(a);
12268
+ const o = V(a) ? a : this.services.languageUtils.getBestMatchFromCodes(a);
12217
12269
  o && (this.language || C(o), this.translator.language || this.translator.changeLanguage(o), this.services.languageDetector && this.services.languageDetector.cacheUserLanguage && this.services.languageDetector.cacheUserLanguage(o)), this.loadResources(o, (r) => {
12218
12270
  c(r, o);
12219
12271
  });
@@ -12237,7 +12289,7 @@ class k1 extends K1 {
12237
12289
  let f;
12238
12290
  return a.keyPrefix && Array.isArray(c) ? f = c.map((p) => `${a.keyPrefix}${w}${p}`) : f = a.keyPrefix ? `${a.keyPrefix}${w}${c}` : c, s.t(f, a);
12239
12291
  };
12240
- return R(e) ? C.lng = e : C.lngs = e, C.ns = t, C.keyPrefix = i, C;
12292
+ return V(e) ? C.lng = e : C.lngs = e, C.ns = t, C.keyPrefix = i, C;
12241
12293
  }
12242
12294
  t() {
12243
12295
  return this.translator && this.translator.translate(...arguments);
@@ -12268,7 +12320,7 @@ class k1 extends K1 {
12268
12320
  }
12269
12321
  loadNamespaces(e, t) {
12270
12322
  const i = L1();
12271
- return this.options.ns ? (R(e) && (e = [e]), e.forEach((s) => {
12323
+ return this.options.ns ? (V(e) && (e = [e]), e.forEach((s) => {
12272
12324
  this.options.ns.indexOf(s) < 0 && this.options.ns.push(s);
12273
12325
  }), this.loadResources((s) => {
12274
12326
  i.resolve(), t && t(s);
@@ -12276,7 +12328,7 @@ class k1 extends K1 {
12276
12328
  }
12277
12329
  loadLanguages(e, t) {
12278
12330
  const i = L1();
12279
- R(e) && (e = [e]);
12331
+ V(e) && (e = [e]);
12280
12332
  const s = this.options.preload || [], C = e.filter((c) => s.indexOf(c) < 0 && this.services.languageUtils.isSupportedCode(c));
12281
12333
  return C.length ? (this.options.preload = s.concat(C), this.loadResources((c) => {
12282
12334
  i.resolve(), t && t(c);
@@ -12408,7 +12460,7 @@ const k2 = (l, e) => () => {
12408
12460
  "&#8230;": "…",
12409
12461
  "&#x2F;": "/",
12410
12462
  "&#47;": "/"
12411
- }, j6 = (l) => P6[l], F6 = (l) => l.replace(T6, j6);
12463
+ }, F6 = (l) => P6[l], j6 = (l) => l.replace(T6, F6);
12412
12464
  let $1 = {
12413
12465
  bindI18n: "languageChanged",
12414
12466
  bindI18nStore: "",
@@ -12417,7 +12469,7 @@ let $1 = {
12417
12469
  transWrapTextNodes: "",
12418
12470
  transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"],
12419
12471
  useSuspense: !0,
12420
- unescape: F6
12472
+ unescape: j6
12421
12473
  };
12422
12474
  const U6 = function() {
12423
12475
  let l = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
@@ -12437,7 +12489,7 @@ const z6 = (l) => {
12437
12489
  }, Q6 = g2();
12438
12490
  class X6 {
12439
12491
  constructor() {
12440
- j1(this, "getUsedNamespaces", () => Object.keys(this.usedNamespaces));
12492
+ F1(this, "getUsedNamespaces", () => Object.keys(this.usedNamespaces));
12441
12493
  this.usedNamespaces = {};
12442
12494
  }
12443
12495
  addUsedNamespaces(e) {
@@ -12478,25 +12530,25 @@ const e8 = (l, e) => {
12478
12530
  const r = (C.isInitialized || C.initializedStoreOnce) && o.every((N) => I6(N, C, c)), u = t8(C, e.lng || null, c.nsMode === "fallback" ? o : o[0], a), w = () => u, f = () => M2(C, e.lng || null, c.nsMode === "fallback" ? o : o[0], a), [p, m] = A(w);
12479
12531
  let L = o.join();
12480
12532
  e.lng && (L = `${e.lng}${L}`);
12481
- const x = e8(L), V = O(!0);
12533
+ const x = e8(L), R = O(!0);
12482
12534
  K(() => {
12483
12535
  const {
12484
12536
  bindI18n: N,
12485
12537
  bindI18nStore: v
12486
12538
  } = c;
12487
- V.current = !0, !r && !d && (e.lng ? d2(C, e.lng, o, () => {
12488
- V.current && m(f);
12539
+ R.current = !0, !r && !d && (e.lng ? d2(C, e.lng, o, () => {
12540
+ R.current && m(f);
12489
12541
  }) : c2(C, o, () => {
12490
- V.current && m(f);
12491
- })), r && x && x !== L && V.current && m(f);
12542
+ R.current && m(f);
12543
+ })), r && x && x !== L && R.current && m(f);
12492
12544
  const Z = () => {
12493
- V.current && m(f);
12545
+ R.current && m(f);
12494
12546
  };
12495
12547
  return N && C && C.on(N, Z), v && C && C.store.on(v, Z), () => {
12496
- V.current = !1, N && C && N.split(" ").forEach((k) => C.off(k, Z)), v && C && v.split(" ").forEach((k) => C.store.off(k, Z));
12548
+ R.current = !1, N && C && N.split(" ").forEach((k) => C.off(k, Z)), v && C && v.split(" ").forEach((k) => C.store.off(k, Z));
12497
12549
  };
12498
12550
  }, [C, L]), K(() => {
12499
- V.current && r && m(w);
12551
+ R.current && r && m(w);
12500
12552
  }, [C, a, r]);
12501
12553
  const D = [p, C, r];
12502
12554
  if (D.t = p, D.i18n = C, D.ready = r, r || !r && !d) return D;
@@ -12536,7 +12588,7 @@ const w8 = a1(
12536
12588
  `CitySelect requires "axiosPeople" to fetch cities.
12537
12589
  Please provide it via SNMTUiContext.`
12538
12590
  );
12539
- const { t: V } = i8("common", { lng: w }), D = $(
12591
+ const { t: R } = i8("common", { lng: w }), D = $(
12540
12592
  async (v) => {
12541
12593
  const Z = L.current.find((k) => k.value === v);
12542
12594
  if (Z)
@@ -12615,7 +12667,7 @@ const w8 = a1(
12615
12667
  onChange: t,
12616
12668
  ref: m,
12617
12669
  search: !0,
12618
- placeholder: V("placeholder"),
12670
+ placeholder: R("placeholder"),
12619
12671
  disabled: C,
12620
12672
  clearable: c,
12621
12673
  loadOptions: N,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@snmt-react-ui/city-select",
3
3
  "private": false,
4
- "version": "2.9.10",
4
+ "version": "2.9.11",
5
5
  "type": "module",
6
6
  "main": "dist/city-select.js",
7
7
  "types": "dist/index.d.ts",
@@ -18,7 +18,7 @@
18
18
  "build": "tsc && vite build"
19
19
  },
20
20
  "dependencies": {
21
- "@snmt-react-ui/async-select": "^1.13.10"
21
+ "@snmt-react-ui/async-select": "^1.13.11"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "@snmt-react-ui/core": "^2.8.1",
@@ -27,5 +27,5 @@
27
27
  "react": ">=18.2.0",
28
28
  "react-i18next": "^14.0.5"
29
29
  },
30
- "gitHead": "89ca30cc7f6717d706c48770b3ca53cb3ec3e5e4"
30
+ "gitHead": "70ef18b3879cb0bdaaf12ea2a202fc7194aadc2e"
31
31
  }