@snmt-react-ui/city-select 2.5.8 → 2.5.9

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 +898 -895
  2. package/package.json +3 -3
@@ -1,24 +1,24 @@
1
- var fe = Object.defineProperty;
2
- var we = (i, e, t) => e in i ? fe(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t;
3
- var Z1 = (i, e, t) => we(i, typeof e != "symbol" ? e + "" : e, t);
1
+ var we = Object.defineProperty;
2
+ var me = (i, e, t) => e in i ? we(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t;
3
+ var Z1 = (i, e, t) => me(i, typeof e != "symbol" ? e + "" : e, t);
4
4
  import "./index.css";
5
- import { jsx as r, Fragment as s1, jsxs as C } from "react/jsx-runtime";
6
- import { SNMTUiContext as me } from "@snmt-react-ui/core";
7
- import { createContext as d1, forwardRef as L1, useState as O, useRef as Y, useEffect as B, useCallback as W, useMemo as ke, useImperativeHandle as ne, useContext as o1 } from "react";
8
- import { Select as Le, Flex as ve, Avatar as Ne, Checkbox as xe, Typography as re, Tag as Me, Popover as Re } from "antd";
9
- var ye = Object.defineProperty, be = (i, e, t) => e in i ? ye(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, _e = (i, e, t) => be(i, e + "", t), Ve = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
10
- function Ee() {
5
+ import { jsx as r, Fragment as i1, jsxs as C } from "react/jsx-runtime";
6
+ import { SNMTUiContext as ke } from "@snmt-react-ui/core";
7
+ import { createContext as d1, forwardRef as k1, useState as S, useRef as Y, useEffect as Z, useCallback as j, useMemo as Le, useImperativeHandle as ne, useContext as r1 } from "react";
8
+ import { Select as ve, Flex as Ne, Avatar as xe, Checkbox as Me, Typography as re, Tag as Re, Popover as ye } from "antd";
9
+ var be = Object.defineProperty, _e = (i, e, t) => e in i ? be(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, Ee = (i, e, t) => _e(i, e + "", t), Ve = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
10
+ function He() {
11
11
  if (console && console.warn) {
12
12
  for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
13
13
  e[t] = arguments[t];
14
- n1(e[0]) && (e[0] = `react-i18next:: ${e[0]}`), console.warn(...e);
14
+ s1(e[0]) && (e[0] = `react-i18next:: ${e[0]}`), console.warn(...e);
15
15
  }
16
16
  }
17
17
  const W1 = {};
18
18
  function I1() {
19
19
  for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
20
20
  e[t] = arguments[t];
21
- n1(e[0]) && W1[e[0]] || (n1(e[0]) && (W1[e[0]] = /* @__PURE__ */ new Date()), Ee(...e));
21
+ s1(e[0]) && W1[e[0]] || (s1(e[0]) && (W1[e[0]] = /* @__PURE__ */ new Date()), He(...e));
22
22
  }
23
23
  const oe = (i, e) => () => {
24
24
  if (i.isInitialized)
@@ -34,10 +34,10 @@ const oe = (i, e) => () => {
34
34
  }, j1 = (i, e, t) => {
35
35
  i.loadNamespaces(e, oe(i, t));
36
36
  }, D1 = (i, e, t, s) => {
37
- n1(t) && (t = [t]), t.forEach((n) => {
37
+ s1(t) && (t = [t]), t.forEach((n) => {
38
38
  i.options.ns.indexOf(n) < 0 && i.options.ns.push(n);
39
39
  }), i.loadLanguages(e, oe(i, s));
40
- }, He = function(i, e) {
40
+ }, Ie = function(i, e) {
41
41
  let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
42
42
  const s = e.languages[0], n = e.options ? e.options.fallbackLng : !1, l = e.languages[e.languages.length - 1];
43
43
  if (s.toLowerCase() === "cimode") return !0;
@@ -46,15 +46,15 @@ const oe = (i, e) => () => {
46
46
  return g === -1 || g === 2;
47
47
  };
48
48
  return t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && e.services.backendConnector.backend && e.isLanguageChangingTo && !c(e.isLanguageChangingTo, i) ? !1 : !!(e.hasResourceBundle(s, i) || !e.services.backendConnector.backend || e.options.resources && !e.options.partialBundledLanguages || c(s, i) && (!n || c(l, i)));
49
- }, Ie = function(i, e) {
49
+ }, Oe = function(i, e) {
50
50
  let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
51
51
  return !e.languages || !e.languages.length ? (I1("i18n.languages were undefined or empty", e.languages), !0) : e.options.ignoreJSONStructure !== void 0 ? e.hasLoadedNamespace(i, {
52
52
  lng: t.lng,
53
53
  precheck: (s, n) => {
54
54
  if (t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && s.services.backendConnector.backend && s.isLanguageChangingTo && !n(s.isLanguageChangingTo, i)) return !1;
55
55
  }
56
- }) : He(i, e, t);
57
- }, n1 = (i) => typeof i == "string", Oe = (i) => typeof i == "object" && i !== null, Se = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, Ae = {
56
+ }) : Ie(i, e, t);
57
+ }, s1 = (i) => typeof i == "string", Se = (i) => typeof i == "object" && i !== null, Ae = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, Be = {
58
58
  "&amp;": "&",
59
59
  "&#38;": "&",
60
60
  "&lt;": "<",
@@ -75,8 +75,8 @@ const oe = (i, e) => () => {
75
75
  "&#8230;": "…",
76
76
  "&#x2F;": "/",
77
77
  "&#47;": "/"
78
- }, Be = (i) => Ae[i], Ze = (i) => i.replace(Se, Be);
79
- let We = {
78
+ }, Ze = (i) => Be[i], We = (i) => i.replace(Ae, Ze);
79
+ let je = {
80
80
  bindI18n: "languageChanged",
81
81
  bindI18nStore: "",
82
82
  transEmptyNodeValue: "",
@@ -84,14 +84,14 @@ let We = {
84
84
  transWrapTextNodes: "",
85
85
  transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"],
86
86
  useSuspense: !0,
87
- unescape: Ze
87
+ unescape: We
88
88
  };
89
- const je = () => We;
90
- let De;
91
- const Te = () => De, Ge = d1();
92
- class Ke {
89
+ const De = () => je;
90
+ let Te;
91
+ const Ge = () => Te, Ke = d1();
92
+ class Pe {
93
93
  constructor() {
94
- _e(this, "getUsedNamespaces", () => Object.keys(this.usedNamespaces)), this.usedNamespaces = {};
94
+ Ee(this, "getUsedNamespaces", () => Object.keys(this.usedNamespaces)), this.usedNamespaces = {};
95
95
  }
96
96
  addUsedNamespaces(e) {
97
97
  e.forEach((t) => {
@@ -99,27 +99,27 @@ class Ke {
99
99
  });
100
100
  }
101
101
  }
102
- const Pe = (i, e) => {
102
+ const $e = (i, e) => {
103
103
  const t = Y();
104
- return B(() => {
104
+ return Z(() => {
105
105
  t.current = i;
106
106
  }, [i, e]), t.current;
107
- }, le = (i, e, t, s) => i.getFixedT(e, t, s), $e = (i, e, t, s) => W(le(i, e, t, s), [i, e, t, s]), Fe = function(i) {
107
+ }, le = (i, e, t, s) => i.getFixedT(e, t, s), Ye = (i, e, t, s) => j(le(i, e, t, s), [i, e, t, s]), Fe = function(i) {
108
108
  let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
109
109
  const {
110
110
  i18n: t
111
111
  } = e, {
112
112
  i18n: s,
113
113
  defaultNS: n
114
- } = o1(Ge) || {}, l = t || s || Te();
115
- if (l && !l.reportNamespaces && (l.reportNamespaces = new Ke()), !l) {
114
+ } = r1(Ke) || {}, l = t || s || Ge();
115
+ if (l && !l.reportNamespaces && (l.reportNamespaces = new Pe()), !l) {
116
116
  I1("You will need to pass in an i18next instance by using initReactI18next");
117
- const f = (N, w) => n1(w) ? w : Oe(w) && n1(w.defaultValue) ? w.defaultValue : Array.isArray(N) ? N[N.length - 1] : N, k = [f, {}, !1];
118
- return k.t = f, k.i18n = {}, k.ready = !1, k;
117
+ const p = (v, w) => s1(w) ? w : Se(w) && s1(w.defaultValue) ? w.defaultValue : Array.isArray(v) ? v[v.length - 1] : v, L = [p, {}, !1];
118
+ return L.t = p, L.i18n = {}, L.ready = !1, L;
119
119
  }
120
120
  l.options.react && l.options.react.wait !== void 0 && I1("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
121
121
  const c = {
122
- ...je(),
122
+ ...De(),
123
123
  ...l.options.react,
124
124
  ...e
125
125
  }, {
@@ -127,36 +127,36 @@ const Pe = (i, e) => {
127
127
  keyPrefix: d
128
128
  } = c;
129
129
  let g = i;
130
- g = n1(g) ? [g] : g || ["translation"], l.reportNamespaces.addUsedNamespaces && l.reportNamespaces.addUsedNamespaces(g);
131
- const a = (l.isInitialized || l.initializedStoreOnce) && g.every((f) => Ie(f, l, c)), h = $e(l, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), u = () => h, p = () => le(l, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), [L, x] = O(u);
132
- let v = g.join();
133
- e.lng && (v = `${e.lng}${v}`);
134
- const E = Pe(v), b = Y(!0);
135
- B(() => {
130
+ g = s1(g) ? [g] : g || ["translation"], l.reportNamespaces.addUsedNamespaces && l.reportNamespaces.addUsedNamespaces(g);
131
+ const a = (l.isInitialized || l.initializedStoreOnce) && g.every((p) => Oe(p, l, c)), h = Ye(l, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), u = () => h, f = () => le(l, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), [k, x] = S(u);
132
+ let N = g.join();
133
+ e.lng && (N = `${e.lng}${N}`);
134
+ const E = $e(N), b = Y(!0);
135
+ Z(() => {
136
136
  const {
137
- bindI18n: f,
138
- bindI18nStore: k
137
+ bindI18n: p,
138
+ bindI18nStore: L
139
139
  } = c;
140
140
  b.current = !0, !a && !o && (e.lng ? D1(l, e.lng, g, () => {
141
- b.current && x(p);
141
+ b.current && x(f);
142
142
  }) : j1(l, g, () => {
143
- b.current && x(p);
144
- })), a && E && E !== v && b.current && x(p);
145
- const N = () => {
146
- b.current && x(p);
143
+ b.current && x(f);
144
+ })), a && E && E !== N && b.current && x(f);
145
+ const v = () => {
146
+ b.current && x(f);
147
147
  };
148
- return f && l && l.on(f, N), k && l && l.store.on(k, N), () => {
149
- b.current = !1, f && l && f.split(" ").forEach((w) => l.off(w, N)), k && l && k.split(" ").forEach((w) => l.store.off(w, N));
148
+ return p && l && l.on(p, v), L && l && l.store.on(L, v), () => {
149
+ b.current = !1, p && l && p.split(" ").forEach((w) => l.off(w, v)), L && l && L.split(" ").forEach((w) => l.store.off(w, v));
150
150
  };
151
- }, [l, v]), B(() => {
151
+ }, [l, N]), Z(() => {
152
152
  b.current && a && x(u);
153
153
  }, [l, d, a]);
154
- const _ = [L, l, a];
155
- if (_.t = L, _.i18n = l, _.ready = a, a || !a && !o) return _;
156
- throw new Promise((f) => {
157
- e.lng ? D1(l, e.lng, g, () => f()) : j1(l, g, () => f());
154
+ const V = [k, l, a];
155
+ if (V.t = k, V.i18n = l, V.ready = a, a || !a && !o) return V;
156
+ throw new Promise((p) => {
157
+ e.lng ? D1(l, e.lng, g, () => p()) : j1(l, g, () => p());
158
158
  });
159
- }, f1 = ({
159
+ }, p1 = ({
160
160
  children: i,
161
161
  direction: e = "row",
162
162
  flexWrap: t = "nowrap",
@@ -166,7 +166,7 @@ const Pe = (i, e) => {
166
166
  gap: c,
167
167
  padding: o
168
168
  }) => /* @__PURE__ */ r(
169
- ve,
169
+ Ne,
170
170
  {
171
171
  className: `snmt-flex${t === "inherit" ? " inherit" : ""}`,
172
172
  vertical: e === "column",
@@ -178,10 +178,10 @@ const Pe = (i, e) => {
178
178
  style: { padding: o },
179
179
  children: i
180
180
  }
181
- ), Ye = ({ shape: i = "circle", size: e = 32, children: t, ...s }) => {
181
+ ), Ue = ({ shape: i = "circle", size: e = 32, children: t, ...s }) => {
182
182
  const n = typeof s.src == "string";
183
183
  return /* @__PURE__ */ r(
184
- Ne,
184
+ xe,
185
185
  {
186
186
  className: `snmt-avatar ${n ? "image" : ""}`,
187
187
  shape: i,
@@ -192,13 +192,13 @@ const Pe = (i, e) => {
192
192
  }
193
193
  );
194
194
  };
195
- var X = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_1 = "var(--grey-light-1)", i.GREY_LIGHT_2 = "var(--grey-light-2)", i.GREY_LIGHT_3 = "var(--grey-light-3)", i.GREY_LIGHT_4 = "var(--grey-light-4)", i.GREY_DARK_1 = "var(--grey-dark-1)", i.GREY_DARK_2 = "var(--grey-dark-2)", i.GREY_DARK_3 = "var(--grey-dark-3)", i.GREY_DARK_4 = "var(--grey-dark-4)", i.GREY_DARK_5 = "var(--grey-dark-5)", i.BLUE_PRIMARY = "var(--blue-primary)", i.BLUE_HOVER = "var(--blue-hover)", i.BLUE_LIGHT_1 = "var(--blue-light-1)", i.BLUE_LIGHT_2 = "var(--blue-light-2)", i.BLUE_LIGHT_3 = "var(--blue-light-3)", i.BLUE_LIGHT_4 = "var(--blue-light-4)", i.BLUE_DARK_1 = "var(--blue-dark-1)", i.PURPLE_LIGHT = "var(--purple-light)", i.PURPLE_DARK = "var(--purple-dark)", i.NOTIFICATION_WARNING_LIGHT = "var(--notification-warning-light)", i.NOTIFICATION_WARNING_DARK = "var(--notification-warning-dark)", i.NOTIFICATION_SUCCESS_LIGHT = "var(--notification-success-light)", i.NOTIFICATION_SUCCESS_DARK = "var(--notification-success-dark)", i.NOTIFICATION_ERROR_LIGHT = "var(--notification-error-light)", i.NOTIFICATION_ERROR_DARK = "var(--notification-error-dark)", i.NOTIFICATION_ERROR_DARK_MODE = "var(--notification-error-dark-mode)", i))(X || {});
195
+ var Q = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_1 = "var(--grey-light-1)", i.GREY_LIGHT_2 = "var(--grey-light-2)", i.GREY_LIGHT_3 = "var(--grey-light-3)", i.GREY_LIGHT_4 = "var(--grey-light-4)", i.GREY_DARK_1 = "var(--grey-dark-1)", i.GREY_DARK_2 = "var(--grey-dark-2)", i.GREY_DARK_3 = "var(--grey-dark-3)", i.GREY_DARK_4 = "var(--grey-dark-4)", i.GREY_DARK_5 = "var(--grey-dark-5)", i.BLUE_PRIMARY = "var(--blue-primary)", i.BLUE_HOVER = "var(--blue-hover)", i.BLUE_LIGHT_1 = "var(--blue-light-1)", i.BLUE_LIGHT_2 = "var(--blue-light-2)", i.BLUE_LIGHT_3 = "var(--blue-light-3)", i.BLUE_LIGHT_4 = "var(--blue-light-4)", i.BLUE_DARK_1 = "var(--blue-dark-1)", i.PURPLE_LIGHT = "var(--purple-light)", i.PURPLE_DARK = "var(--purple-dark)", i.NOTIFICATION_WARNING_LIGHT = "var(--notification-warning-light)", i.NOTIFICATION_WARNING_DARK = "var(--notification-warning-dark)", i.NOTIFICATION_SUCCESS_LIGHT = "var(--notification-success-light)", i.NOTIFICATION_SUCCESS_DARK = "var(--notification-success-dark)", i.NOTIFICATION_ERROR_LIGHT = "var(--notification-error-light)", i.NOTIFICATION_ERROR_DARK = "var(--notification-error-dark)", i.NOTIFICATION_ERROR_DARK_MODE = "var(--notification-error-dark-mode)", i))(Q || {});
196
196
  const B1 = d1({
197
197
  locale: "en",
198
198
  theme: "light"
199
199
  });
200
200
  B1.Provider;
201
- const Ue = ({
201
+ const ze = ({
202
202
  checked: i = !0,
203
203
  indeterminate: e = !1,
204
204
  children: t,
@@ -206,13 +206,13 @@ const Ue = ({
206
206
  disabled: n = !1,
207
207
  disableUncheck: l = !1
208
208
  }) => {
209
- const [c, o] = O(i), [d, g] = O(e);
210
- B(() => {
209
+ const [c, o] = S(i), [d, g] = S(e);
210
+ Z(() => {
211
211
  o(i), g(e);
212
212
  }, [i, e]);
213
- const { theme: a } = o1(B1);
213
+ const { theme: a } = r1(B1);
214
214
  return /* @__PURE__ */ r(
215
- xe,
215
+ Me,
216
216
  {
217
217
  className: `snmt-checkbox snmt-checkbox-${a}`,
218
218
  checked: c,
@@ -231,7 +231,7 @@ const ae = d1({
231
231
  theme: "light"
232
232
  });
233
233
  ae.Provider;
234
- const ze = ({
234
+ const Je = ({
235
235
  width: i = 20,
236
236
  height: e = 20,
237
237
  color: t = "#001E52",
@@ -258,7 +258,7 @@ const ze = ({
258
258
  }
259
259
  )
260
260
  }
261
- ), Je = ({
261
+ ), qe = ({
262
262
  width: i = 20,
263
263
  height: e = 20,
264
264
  color: t = "#001E52",
@@ -285,7 +285,7 @@ const ze = ({
285
285
  }
286
286
  )
287
287
  }
288
- ), qe = ({
288
+ ), Qe = ({
289
289
  width: i = 16,
290
290
  height: e = 16,
291
291
  color: t = "#001E52",
@@ -313,7 +313,7 @@ const ze = ({
313
313
  )
314
314
  ]
315
315
  }
316
- ), Qe = ({
316
+ ), Xe = ({
317
317
  width: i = 20,
318
318
  height: e = 20,
319
319
  color: t = "#001E52",
@@ -348,7 +348,7 @@ const ze = ({
348
348
  )
349
349
  ]
350
350
  }
351
- ), Xe = ({
351
+ ), e2 = ({
352
352
  width: i = 18,
353
353
  height: e = 18,
354
354
  color: t = "#001E52",
@@ -387,7 +387,7 @@ const ze = ({
387
387
  )
388
388
  ]
389
389
  }
390
- ), e2 = ({
390
+ ), t2 = ({
391
391
  width: i = 20,
392
392
  height: e = 20,
393
393
  color: t = "#001E52",
@@ -413,7 +413,7 @@ const ze = ({
413
413
  }
414
414
  )
415
415
  }
416
- ), t2 = ({
416
+ ), i2 = ({
417
417
  width: i = 20,
418
418
  height: e = 20,
419
419
  color: t = "#001E52",
@@ -434,7 +434,7 @@ const ze = ({
434
434
  /* @__PURE__ */ r("path", { d: "M16 4L4 16", stroke: t, strokeWidth: "1.5", strokeLinecap: "round" })
435
435
  ]
436
436
  }
437
- ), i2 = ({
437
+ ), s2 = ({
438
438
  width: i = 20,
439
439
  height: e = 20,
440
440
  color: t = "#001E52",
@@ -466,7 +466,7 @@ const ze = ({
466
466
  )
467
467
  ]
468
468
  }
469
- ), s2 = ({
469
+ ), n2 = ({
470
470
  width: i = 20,
471
471
  height: e = 20,
472
472
  color: t = "#001E52",
@@ -520,7 +520,7 @@ const ze = ({
520
520
  )
521
521
  ]
522
522
  }
523
- ), n2 = ({
523
+ ), r2 = ({
524
524
  width: i = 20,
525
525
  height: e = 20,
526
526
  color: t = "#001E52",
@@ -559,7 +559,7 @@ const ze = ({
559
559
  /* @__PURE__ */ r("path", { d: "M3 12L17 12", stroke: t, strokeWidth: "2", strokeLinecap: "round" })
560
560
  ]
561
561
  }
562
- ), r2 = ({
562
+ ), o2 = ({
563
563
  width: i = 16,
564
564
  height: e = 12,
565
565
  color: t = "#001E52",
@@ -608,7 +608,7 @@ const ze = ({
608
608
  )
609
609
  ] })
610
610
  }
611
- ), o2 = ({
611
+ ), l2 = ({
612
612
  width: i = 16,
613
613
  height: e = 16,
614
614
  color: t = "#001E52",
@@ -642,7 +642,7 @@ const ze = ({
642
642
  )
643
643
  ]
644
644
  }
645
- ), l2 = ({
645
+ ), a2 = ({
646
646
  width: i = 10,
647
647
  height: e = 10,
648
648
  color: t = "#001E52",
@@ -681,7 +681,7 @@ const ze = ({
681
681
  )
682
682
  ] })
683
683
  }
684
- ), a2 = ({
684
+ ), h2 = ({
685
685
  width: i = 16,
686
686
  height: e = 16,
687
687
  color: t = "#001E52",
@@ -717,7 +717,7 @@ const ze = ({
717
717
  )
718
718
  ]
719
719
  }
720
- ), h2 = ({
720
+ ), c2 = ({
721
721
  width: i = 11,
722
722
  height: e = 32,
723
723
  color: t = "#001E52",
@@ -755,7 +755,7 @@ const ze = ({
755
755
  /* @__PURE__ */ r("circle", { cx: "3", cy: "3", r: "3", fill: t })
756
756
  ]
757
757
  }
758
- ), c2 = ({
758
+ ), d2 = ({
759
759
  width: i = 20,
760
760
  height: e = 20,
761
761
  color: t = "#001E52",
@@ -802,7 +802,7 @@ const ze = ({
802
802
  )
803
803
  ]
804
804
  }
805
- ), d2 = ({
805
+ ), g2 = ({
806
806
  width: i = 20,
807
807
  height: e = 20,
808
808
  color: t = "#001E52",
@@ -835,7 +835,7 @@ const ze = ({
835
835
  )
836
836
  ]
837
837
  }
838
- ), g2 = ({
838
+ ), C2 = ({
839
839
  width: i = 20,
840
840
  height: e = 20,
841
841
  color: t = "#001E52",
@@ -882,7 +882,7 @@ const ze = ({
882
882
  )
883
883
  ]
884
884
  }
885
- ), C2 = ({
885
+ ), u2 = ({
886
886
  width: i = 20,
887
887
  height: e = 20,
888
888
  color: t = "#001E52",
@@ -915,7 +915,7 @@ const ze = ({
915
915
  )
916
916
  ]
917
917
  }
918
- ), u2 = ({
918
+ ), p2 = ({
919
919
  width: i = 18,
920
920
  height: e = 16,
921
921
  color: t = "#001E52",
@@ -954,7 +954,7 @@ const ze = ({
954
954
  )
955
955
  ]
956
956
  }
957
- ), p2 = ({
957
+ ), f2 = ({
958
958
  width: i = 20,
959
959
  height: e = 20,
960
960
  color: t = "#001E52",
@@ -987,7 +987,7 @@ const ze = ({
987
987
  )
988
988
  ]
989
989
  }
990
- ), f2 = ({
990
+ ), w2 = ({
991
991
  width: i = 20,
992
992
  height: e = 20,
993
993
  color: t = "#001E52",
@@ -1011,7 +1011,7 @@ const ze = ({
1011
1011
  }
1012
1012
  )
1013
1013
  }
1014
- ), w2 = ({
1014
+ ), m2 = ({
1015
1015
  width: i = 20,
1016
1016
  height: e = 20,
1017
1017
  color: t = "#001E52",
@@ -1058,7 +1058,7 @@ const ze = ({
1058
1058
  )
1059
1059
  ]
1060
1060
  }
1061
- ), m2 = ({
1061
+ ), k2 = ({
1062
1062
  width: i = 20,
1063
1063
  height: e = 20,
1064
1064
  color: t = "#001E52",
@@ -1091,7 +1091,7 @@ const ze = ({
1091
1091
  )
1092
1092
  ]
1093
1093
  }
1094
- ), k2 = ({
1094
+ ), L2 = ({
1095
1095
  width: i = 20,
1096
1096
  height: e = 20,
1097
1097
  color: t = "#001E52",
@@ -1124,7 +1124,7 @@ const ze = ({
1124
1124
  )
1125
1125
  ]
1126
1126
  }
1127
- ), L2 = ({
1127
+ ), v2 = ({
1128
1128
  width: i = 20,
1129
1129
  height: e = 23,
1130
1130
  color: t = "#001E52",
@@ -1185,7 +1185,7 @@ const ze = ({
1185
1185
  )
1186
1186
  ]
1187
1187
  }
1188
- ), v2 = ({
1188
+ ), N2 = ({
1189
1189
  width: i = 20,
1190
1190
  height: e = 20,
1191
1191
  color: t = "#001E52",
@@ -1225,7 +1225,7 @@ const ze = ({
1225
1225
  )
1226
1226
  ]
1227
1227
  }
1228
- ), N2 = ({
1228
+ ), x2 = ({
1229
1229
  width: i = 32,
1230
1230
  height: e = 25,
1231
1231
  color: t = "#001E52",
@@ -1253,7 +1253,7 @@ const ze = ({
1253
1253
  )
1254
1254
  ]
1255
1255
  }
1256
- ), x2 = ({
1256
+ ), M2 = ({
1257
1257
  width: i = 14,
1258
1258
  height: e = 14,
1259
1259
  color: t = "#10B981",
@@ -1282,7 +1282,7 @@ const ze = ({
1282
1282
  )
1283
1283
  ]
1284
1284
  }
1285
- ), M2 = ({
1285
+ ), R2 = ({
1286
1286
  width: i = 11,
1287
1287
  height: e = 11,
1288
1288
  color: t = "#FFB020",
@@ -1316,7 +1316,7 @@ const ze = ({
1316
1316
  )
1317
1317
  ]
1318
1318
  }
1319
- ), R2 = ({
1319
+ ), y2 = ({
1320
1320
  width: i = 10,
1321
1321
  height: e = 10,
1322
1322
  color: t = "#88A4FF",
@@ -1364,7 +1364,7 @@ const ze = ({
1364
1364
  )
1365
1365
  ]
1366
1366
  }
1367
- ), y2 = ({
1367
+ ), b2 = ({
1368
1368
  width: i = 14,
1369
1369
  height: e = 14,
1370
1370
  color: t = "#8E8E93",
@@ -1392,7 +1392,7 @@ const ze = ({
1392
1392
  )
1393
1393
  ]
1394
1394
  }
1395
- ), b2 = ({
1395
+ ), _2 = ({
1396
1396
  width: i = 14,
1397
1397
  height: e = 14,
1398
1398
  color: t = "#FFB020",
@@ -1426,7 +1426,7 @@ const ze = ({
1426
1426
  )
1427
1427
  ]
1428
1428
  }
1429
- ), _2 = ({
1429
+ ), E2 = ({
1430
1430
  width: i = 14,
1431
1431
  height: e = 14,
1432
1432
  color: t = "#D0421B",
@@ -1504,7 +1504,7 @@ const ze = ({
1504
1504
  /* @__PURE__ */ r("circle", { cx: "10", cy: "10", r: "2.375", stroke: t, strokeWidth: "1.25" })
1505
1505
  ]
1506
1506
  }
1507
- ), E2 = ({
1507
+ ), H2 = ({
1508
1508
  width: i = 20,
1509
1509
  height: e = 20,
1510
1510
  color: t = "#070739",
@@ -1542,7 +1542,7 @@ const ze = ({
1542
1542
  )
1543
1543
  ]
1544
1544
  }
1545
- ), H2 = ({
1545
+ ), I2 = ({
1546
1546
  width: i = 9,
1547
1547
  height: e = 5,
1548
1548
  color: t = "#001E52",
@@ -1568,7 +1568,7 @@ const ze = ({
1568
1568
  }
1569
1569
  )
1570
1570
  }
1571
- ), I2 = ({
1571
+ ), O2 = ({
1572
1572
  width: i = 20,
1573
1573
  height: e = 20,
1574
1574
  color: t = "#F2F2F7",
@@ -1597,7 +1597,7 @@ const ze = ({
1597
1597
  )
1598
1598
  ]
1599
1599
  }
1600
- ), O2 = ({
1600
+ ), S2 = ({
1601
1601
  width: i = 20,
1602
1602
  height: e = 20,
1603
1603
  color: t = "#004ED7",
@@ -1626,7 +1626,7 @@ const ze = ({
1626
1626
  )
1627
1627
  ]
1628
1628
  }
1629
- ), S2 = ({
1629
+ ), A2 = ({
1630
1630
  width: i = 248,
1631
1631
  height: e = 248,
1632
1632
  color: t = "#070739",
@@ -1663,7 +1663,7 @@ const ze = ({
1663
1663
  )
1664
1664
  ]
1665
1665
  }
1666
- ), A2 = ({
1666
+ ), B2 = ({
1667
1667
  width: i = 24,
1668
1668
  height: e = 24,
1669
1669
  color: t = "#001E52",
@@ -1702,7 +1702,7 @@ const ze = ({
1702
1702
  )
1703
1703
  ]
1704
1704
  }
1705
- ), B2 = ({
1705
+ ), Z2 = ({
1706
1706
  width: i = 10,
1707
1707
  height: e = 10,
1708
1708
  color: t = "#001E52",
@@ -1731,7 +1731,7 @@ const ze = ({
1731
1731
  )
1732
1732
  ]
1733
1733
  }
1734
- ), Z2 = ({
1734
+ ), W2 = ({
1735
1735
  width: i = 10,
1736
1736
  height: e = 10,
1737
1737
  color: t = "#001E52",
@@ -1768,7 +1768,7 @@ const ze = ({
1768
1768
  )
1769
1769
  ]
1770
1770
  }
1771
- ), W2 = ({
1771
+ ), j2 = ({
1772
1772
  width: i = 24,
1773
1773
  height: e = 24,
1774
1774
  color: t = M.GREY_DARK_5,
@@ -1807,7 +1807,7 @@ const ze = ({
1807
1807
  )
1808
1808
  ]
1809
1809
  }
1810
- ), j2 = ({
1810
+ ), D2 = ({
1811
1811
  width: i = 20,
1812
1812
  height: e = 20,
1813
1813
  color: t = M.GREY_DARK_1,
@@ -1840,7 +1840,7 @@ const ze = ({
1840
1840
  )
1841
1841
  ]
1842
1842
  }
1843
- ), D2 = ({
1843
+ ), T2 = ({
1844
1844
  width: i = 81,
1845
1845
  height: e = 80,
1846
1846
  color: t = M.GREY_DARK_5,
@@ -1889,7 +1889,7 @@ const ze = ({
1889
1889
  )
1890
1890
  ]
1891
1891
  }
1892
- ), T2 = ({
1892
+ ), G2 = ({
1893
1893
  className: i,
1894
1894
  color: e = M.GREY_DARK_5,
1895
1895
  height: t = 20,
@@ -1916,7 +1916,7 @@ const ze = ({
1916
1916
  }
1917
1917
  )
1918
1918
  }
1919
- ), G2 = ({
1919
+ ), K2 = ({
1920
1920
  className: i,
1921
1921
  color: e = M.GREY_DARK_5,
1922
1922
  height: t = 20,
@@ -1943,7 +1943,7 @@ const ze = ({
1943
1943
  }
1944
1944
  )
1945
1945
  }
1946
- ), K2 = ({
1946
+ ), P2 = ({
1947
1947
  className: i,
1948
1948
  color: e = M.GREY_DARK_5,
1949
1949
  height: t = 5,
@@ -1967,7 +1967,7 @@ const ze = ({
1967
1967
  }
1968
1968
  )
1969
1969
  }
1970
- ), P2 = ({
1970
+ ), $2 = ({
1971
1971
  className: i,
1972
1972
  color: e = M.GREY_DARK_5,
1973
1973
  height: t = 5,
@@ -1992,7 +1992,7 @@ const ze = ({
1992
1992
  }
1993
1993
  )
1994
1994
  }
1995
- ), $2 = ({
1995
+ ), Y2 = ({
1996
1996
  className: i,
1997
1997
  color: e = M.GREY_DARK_5,
1998
1998
  height: t = 24,
@@ -2070,7 +2070,7 @@ const ze = ({
2070
2070
  )
2071
2071
  ]
2072
2072
  }
2073
- ), Y2 = ({
2073
+ ), U2 = ({
2074
2074
  className: i,
2075
2075
  color: e = M.GREY_DARK_5,
2076
2076
  height: t = 24,
@@ -2097,7 +2097,7 @@ const ze = ({
2097
2097
  }
2098
2098
  )
2099
2099
  }
2100
- ), U2 = ({
2100
+ ), z2 = ({
2101
2101
  className: i,
2102
2102
  color: e = M.GREY_DARK_5,
2103
2103
  height: t = 24,
@@ -2156,7 +2156,7 @@ const ze = ({
2156
2156
  )
2157
2157
  ]
2158
2158
  }
2159
- ), z2 = ({
2159
+ ), J2 = ({
2160
2160
  className: i,
2161
2161
  color: e = M.GREY_DARK_5,
2162
2162
  height: t = 24,
@@ -2193,7 +2193,7 @@ const ze = ({
2193
2193
  )
2194
2194
  ]
2195
2195
  }
2196
- ), J2 = ({
2196
+ ), q2 = ({
2197
2197
  className: i,
2198
2198
  color: e = M.GREY_DARK_3,
2199
2199
  height: t = 14,
@@ -2230,7 +2230,7 @@ const ze = ({
2230
2230
  )
2231
2231
  ]
2232
2232
  }
2233
- ), q2 = ({
2233
+ ), Q2 = ({
2234
2234
  className: i,
2235
2235
  color: e = M.GREY_DARK_5,
2236
2236
  height: t = 18,
@@ -2257,7 +2257,7 @@ const ze = ({
2257
2257
  }
2258
2258
  )
2259
2259
  }
2260
- ), Q2 = ({
2260
+ ), X2 = ({
2261
2261
  className: i,
2262
2262
  color: e = M.GREY_DARK_5,
2263
2263
  height: t = 24,
@@ -2309,7 +2309,7 @@ const ze = ({
2309
2309
  )
2310
2310
  ]
2311
2311
  }
2312
- ), X2 = ({
2312
+ ), et = ({
2313
2313
  className: i,
2314
2314
  color: e = M.GREY_DARK_5,
2315
2315
  height: t = 24,
@@ -2346,7 +2346,7 @@ const ze = ({
2346
2346
  )
2347
2347
  ]
2348
2348
  }
2349
- ), et = ({
2349
+ ), tt = ({
2350
2350
  className: i,
2351
2351
  color: e = M.NOTIFICATION_WARNING_DARK,
2352
2352
  height: t = 37,
@@ -2385,7 +2385,7 @@ const ze = ({
2385
2385
  )
2386
2386
  ]
2387
2387
  }
2388
- ), tt = ({
2388
+ ), it = ({
2389
2389
  className: i,
2390
2390
  color: e = M.GREY_DARK_5,
2391
2391
  height: t = 24,
@@ -2411,7 +2411,7 @@ const ze = ({
2411
2411
  }
2412
2412
  )
2413
2413
  }
2414
- ), it = ({
2414
+ ), st = ({
2415
2415
  className: i,
2416
2416
  color: e = M.GREY_DARK_5,
2417
2417
  height: t = 24,
@@ -2450,7 +2450,7 @@ const ze = ({
2450
2450
  )
2451
2451
  ]
2452
2452
  }
2453
- ), st = ({
2453
+ ), nt = ({
2454
2454
  className: i,
2455
2455
  color: e = M.GREY_DARK_5,
2456
2456
  height: t = 24,
@@ -2489,7 +2489,7 @@ const ze = ({
2489
2489
  )
2490
2490
  ]
2491
2491
  }
2492
- ), nt = ({
2492
+ ), rt = ({
2493
2493
  className: i,
2494
2494
  color: e = M.GREY_DARK_5,
2495
2495
  height: t = 24,
@@ -2558,7 +2558,7 @@ const ze = ({
2558
2558
  )
2559
2559
  ]
2560
2560
  }
2561
- ), rt = ({
2561
+ ), ot = ({
2562
2562
  className: i,
2563
2563
  color: e = M.GREY_DARK_5,
2564
2564
  height: t = 24,
@@ -2597,7 +2597,7 @@ const ze = ({
2597
2597
  )
2598
2598
  ]
2599
2599
  }
2600
- ), ot = ({
2600
+ ), lt = ({
2601
2601
  className: i,
2602
2602
  color: e = M.GREY_DARK_5,
2603
2603
  height: t = 24,
@@ -2654,7 +2654,7 @@ const ze = ({
2654
2654
  )
2655
2655
  ]
2656
2656
  }
2657
- ), lt = ({
2657
+ ), at = ({
2658
2658
  className: i,
2659
2659
  color: e = M.GREY_DARK_5,
2660
2660
  height: t = 24,
@@ -2693,7 +2693,7 @@ const ze = ({
2693
2693
  )
2694
2694
  ]
2695
2695
  }
2696
- ), at = ({
2696
+ ), ht = ({
2697
2697
  className: i,
2698
2698
  color: e = M.GREY_DARK_5,
2699
2699
  height: t = 24,
@@ -2742,7 +2742,7 @@ const ze = ({
2742
2742
  )
2743
2743
  ]
2744
2744
  }
2745
- ), ht = ({
2745
+ ), ct = ({
2746
2746
  className: i,
2747
2747
  color: e = M.GREY_DARK_5,
2748
2748
  height: t = 24,
@@ -2781,7 +2781,7 @@ const ze = ({
2781
2781
  )
2782
2782
  ]
2783
2783
  }
2784
- ), ct = ({
2784
+ ), dt = ({
2785
2785
  className: i,
2786
2786
  color: e = M.GREY_DARK_5,
2787
2787
  height: t = 24,
@@ -2808,7 +2808,7 @@ const ze = ({
2808
2808
  }
2809
2809
  )
2810
2810
  }
2811
- ), dt = ({
2811
+ ), gt = ({
2812
2812
  className: i,
2813
2813
  color: e = M.GREY_DARK_5,
2814
2814
  height: t = 24,
@@ -2846,7 +2846,7 @@ const ze = ({
2846
2846
  )
2847
2847
  ]
2848
2848
  }
2849
- ), gt = ({
2849
+ ), Ct = ({
2850
2850
  className: i,
2851
2851
  color: e = M.GREY_DARK_5,
2852
2852
  height: t = 24,
@@ -2867,7 +2867,7 @@ const ze = ({
2867
2867
  /* @__PURE__ */ r("path", { d: "M12 8L4 8", stroke: e, strokeWidth: "1.7", strokeLinecap: "round" })
2868
2868
  ]
2869
2869
  }
2870
- ), Ct = ({
2870
+ ), ut = ({
2871
2871
  className: i,
2872
2872
  color: e = M.GREY_DARK_5,
2873
2873
  height: t = 24,
@@ -2906,7 +2906,7 @@ const ze = ({
2906
2906
  )
2907
2907
  ]
2908
2908
  }
2909
- ), ut = ({
2909
+ ), pt = ({
2910
2910
  className: i,
2911
2911
  color: e = M.GREY_DARK_5,
2912
2912
  height: t = 24,
@@ -2945,7 +2945,7 @@ const ze = ({
2945
2945
  )
2946
2946
  ]
2947
2947
  }
2948
- ), pt = ({
2948
+ ), ft = ({
2949
2949
  className: i,
2950
2950
  color: e = M.GREY_DARK_5,
2951
2951
  height: t = 24,
@@ -2984,7 +2984,7 @@ const ze = ({
2984
2984
  )
2985
2985
  ]
2986
2986
  }
2987
- ), ft = ({
2987
+ ), wt = ({
2988
2988
  className: i,
2989
2989
  color: e = M.GREY_DARK_2,
2990
2990
  height: t = 16,
@@ -3010,7 +3010,7 @@ const ze = ({
3010
3010
  }
3011
3011
  )
3012
3012
  }
3013
- ), wt = ({
3013
+ ), mt = ({
3014
3014
  className: i,
3015
3015
  color: e = M.GREY_DARK_5,
3016
3016
  height: t = 20,
@@ -3039,7 +3039,7 @@ const ze = ({
3039
3039
  /* @__PURE__ */ r("defs", { children: /* @__PURE__ */ r("clipPath", { id: "clip0_3992_5989", children: /* @__PURE__ */ r("rect", { width: "20", height: "20", fill: "white" }) }) })
3040
3040
  ]
3041
3041
  }
3042
- ), mt = ({
3042
+ ), kt = ({
3043
3043
  className: i,
3044
3044
  color: e = M.GREY_DARK_5,
3045
3045
  height: t = 20,
@@ -3068,7 +3068,7 @@ const ze = ({
3068
3068
  /* @__PURE__ */ r("defs", { children: /* @__PURE__ */ r("clipPath", { id: "clip0_3992_5988", children: /* @__PURE__ */ r("rect", { width: "20", height: "20", fill: "white" }) }) })
3069
3069
  ]
3070
3070
  }
3071
- ), kt = ({
3071
+ ), Lt = ({
3072
3072
  className: i,
3073
3073
  color: e = M.GREY_DARK_5,
3074
3074
  height: t = 20,
@@ -3097,7 +3097,7 @@ const ze = ({
3097
3097
  )
3098
3098
  ]
3099
3099
  }
3100
- ), Lt = ({
3100
+ ), vt = ({
3101
3101
  className: i,
3102
3102
  color: e = M.GREY_DARK_5,
3103
3103
  height: t = 20,
@@ -3126,7 +3126,7 @@ const ze = ({
3126
3126
  )
3127
3127
  ]
3128
3128
  }
3129
- ), vt = ({
3129
+ ), Nt = ({
3130
3130
  className: i,
3131
3131
  color: e = "#001E52",
3132
3132
  height: t = 24,
@@ -3152,7 +3152,7 @@ const ze = ({
3152
3152
  }
3153
3153
  )
3154
3154
  }
3155
- ), Nt = ({
3155
+ ), xt = ({
3156
3156
  className: i,
3157
3157
  color: e = "#131314",
3158
3158
  height: t = 20,
@@ -3180,7 +3180,7 @@ const ze = ({
3180
3180
  }
3181
3181
  )
3182
3182
  }
3183
- ), xt = ({
3183
+ ), Mt = ({
3184
3184
  className: i,
3185
3185
  color: e = "#001E52",
3186
3186
  height: t = 24,
@@ -3218,7 +3218,7 @@ const ze = ({
3218
3218
  )
3219
3219
  ] }) })
3220
3220
  }
3221
- ), Mt = ({
3221
+ ), Rt = ({
3222
3222
  width: i = 20,
3223
3223
  height: e = 20,
3224
3224
  color: t = "#001E52",
@@ -3274,7 +3274,7 @@ const ze = ({
3274
3274
  }
3275
3275
  )
3276
3276
  }
3277
- ), Rt = ({
3277
+ ), yt = ({
3278
3278
  width: i = 24,
3279
3279
  height: e = 24,
3280
3280
  color: t = "#131314",
@@ -3307,7 +3307,7 @@ const ze = ({
3307
3307
  )
3308
3308
  ]
3309
3309
  }
3310
- ), yt = ({
3310
+ ), bt = ({
3311
3311
  width: i = 24,
3312
3312
  height: e = 24,
3313
3313
  color: t = M.GREY_DARK_2,
@@ -3346,7 +3346,7 @@ const ze = ({
3346
3346
  )
3347
3347
  ]
3348
3348
  }
3349
- ), bt = ({
3349
+ ), _t = ({
3350
3350
  width: i = 24,
3351
3351
  height: e = 24,
3352
3352
  color: t = M.GREY_DARK_2,
@@ -3373,7 +3373,7 @@ const ze = ({
3373
3373
  }
3374
3374
  )
3375
3375
  }
3376
- ), _t = ({
3376
+ ), Et = ({
3377
3377
  width: i = 24,
3378
3378
  height: e = 24,
3379
3379
  color: t = M.GREY_DARK_2,
@@ -3440,7 +3440,7 @@ const ze = ({
3440
3440
  }
3441
3441
  )
3442
3442
  }
3443
- ), Et = ({
3443
+ ), Ht = ({
3444
3444
  width: i = 24,
3445
3445
  height: e = 24,
3446
3446
  color: t = M.GREY_DARK_2,
@@ -3467,7 +3467,7 @@ const ze = ({
3467
3467
  }
3468
3468
  )
3469
3469
  }
3470
- ), u1 = ({
3470
+ ), C1 = ({
3471
3471
  name: i,
3472
3472
  width: e,
3473
3473
  height: t,
@@ -3476,49 +3476,49 @@ const ze = ({
3476
3476
  disabled: l = !1,
3477
3477
  onClick: c
3478
3478
  }) => {
3479
- const [o, d] = O(n), { theme: g } = o1(ae), a = l ? g && g === "dark" ? M.GREY_LIGHT_4 : M.GREY_DARK_1 : s, h = l ? void 0 : c;
3480
- return B(() => {
3479
+ const [o, d] = S(n), { theme: g } = r1(ae), a = l ? g && g === "dark" ? M.GREY_LIGHT_4 : M.GREY_DARK_1 : s, h = l ? void 0 : c;
3480
+ return Z(() => {
3481
3481
  if (n) {
3482
3482
  h && !l && d(`${n} clickable`);
3483
3483
  return;
3484
3484
  }
3485
3485
  h && !l && d("clickable");
3486
- }, [h, n, l]), /* @__PURE__ */ r(s1, { children: (() => {
3486
+ }, [h, n, l]), /* @__PURE__ */ r(i1, { children: (() => {
3487
3487
  switch (i) {
3488
3488
  case "nextIcon":
3489
- return T2({ width: e, height: t, color: a, className: o, onClick: h });
3490
- case "prevIcon":
3491
3489
  return G2({ width: e, height: t, color: a, className: o, onClick: h });
3490
+ case "prevIcon":
3491
+ return K2({ width: e, height: t, color: a, className: o, onClick: h });
3492
3492
  case "arrowUp":
3493
- return ze({ width: e, height: t, color: a, className: o, onClick: h });
3494
- case "arrowDown":
3495
3493
  return Je({ width: e, height: t, color: a, className: o, onClick: h });
3496
- case "info":
3494
+ case "arrowDown":
3497
3495
  return qe({ width: e, height: t, color: a, className: o, onClick: h });
3498
- case "arrowRight":
3496
+ case "info":
3499
3497
  return Qe({ width: e, height: t, color: a, className: o, onClick: h });
3500
- case "calendar":
3498
+ case "arrowRight":
3501
3499
  return Xe({ width: e, height: t, color: a, className: o, onClick: h });
3502
- case "ok":
3500
+ case "calendar":
3503
3501
  return e2({ width: e, height: t, color: a, className: o, onClick: h });
3504
- case "cancel":
3502
+ case "ok":
3505
3503
  return t2({ width: e, height: t, color: a, className: o, onClick: h });
3506
- case "add":
3504
+ case "cancel":
3507
3505
  return i2({ width: e, height: t, color: a, className: o, onClick: h });
3508
- case "list":
3506
+ case "add":
3509
3507
  return s2({ width: e, height: t, color: a, className: o, onClick: h });
3510
- case "dragAndDrop":
3508
+ case "list":
3511
3509
  return n2({ width: e, height: t, color: a, className: o, onClick: h });
3512
- case "filter":
3510
+ case "dragAndDrop":
3513
3511
  return r2({ width: e, height: t, color: a, className: o, onClick: h });
3514
- case "attention":
3512
+ case "filter":
3515
3513
  return o2({ width: e, height: t, color: a, className: o, onClick: h });
3516
- case "plus":
3514
+ case "attention":
3517
3515
  return l2({ width: e, height: t, color: a, className: o, onClick: h });
3518
- case "time":
3516
+ case "plus":
3519
3517
  return a2({ width: e, height: t, color: a, className: o, onClick: h });
3518
+ case "time":
3519
+ return h2({ width: e, height: t, color: a, className: o, onClick: h });
3520
3520
  case "arrowDownLong":
3521
- return h2({
3521
+ return c2({
3522
3522
  width: e,
3523
3523
  height: t,
3524
3524
  color: a,
@@ -3526,9 +3526,9 @@ const ze = ({
3526
3526
  onClick: h
3527
3527
  });
3528
3528
  case "users":
3529
- return c2({ width: e, height: t, color: a, className: o, onClick: h });
3529
+ return d2({ width: e, height: t, color: a, className: o, onClick: h });
3530
3530
  case "mySkillsMatrix":
3531
- return d2({
3531
+ return g2({
3532
3532
  width: e,
3533
3533
  height: t,
3534
3534
  color: a,
@@ -3536,9 +3536,9 @@ const ze = ({
3536
3536
  onClick: h
3537
3537
  });
3538
3538
  case "skills":
3539
- return g2({ width: e, height: t, color: a, className: o, onClick: h });
3539
+ return C2({ width: e, height: t, color: a, className: o, onClick: h });
3540
3540
  case "skillsMatrices":
3541
- return C2({
3541
+ return u2({
3542
3542
  width: e,
3543
3543
  height: t,
3544
3544
  color: a,
@@ -3546,23 +3546,23 @@ const ze = ({
3546
3546
  onClick: h
3547
3547
  });
3548
3548
  case "history":
3549
- return u2({ width: e, height: t, color: a, className: o, onClick: h });
3550
- case "logOut":
3551
3549
  return p2({ width: e, height: t, color: a, className: o, onClick: h });
3552
- case "settings":
3550
+ case "logOut":
3553
3551
  return f2({ width: e, height: t, color: a, className: o, onClick: h });
3554
- case "addSkill":
3552
+ case "settings":
3555
3553
  return w2({ width: e, height: t, color: a, className: o, onClick: h });
3556
- case "conversation":
3554
+ case "addSkill":
3557
3555
  return m2({ width: e, height: t, color: a, className: o, onClick: h });
3558
- case "trash":
3556
+ case "conversation":
3559
3557
  return k2({ width: e, height: t, color: a, className: o, onClick: h });
3560
- case "settings4":
3558
+ case "trash":
3561
3559
  return L2({ width: e, height: t, color: a, className: o, onClick: h });
3562
- case "edit2":
3560
+ case "settings4":
3563
3561
  return v2({ width: e, height: t, color: a, className: o, onClick: h });
3562
+ case "edit2":
3563
+ return N2({ width: e, height: t, color: a, className: o, onClick: h });
3564
3564
  case "notifications":
3565
- return N2({
3565
+ return x2({
3566
3566
  width: e,
3567
3567
  height: t,
3568
3568
  color: a,
@@ -3570,9 +3570,9 @@ const ze = ({
3570
3570
  onClick: h
3571
3571
  });
3572
3572
  case "success":
3573
- return x2({ width: e, height: t, color: a, className: o, onClick: h });
3573
+ return M2({ width: e, height: t, color: a, className: o, onClick: h });
3574
3574
  case "attentionSmall":
3575
- return M2({
3575
+ return R2({
3576
3576
  width: e,
3577
3577
  height: t,
3578
3578
  color: a,
@@ -3580,11 +3580,11 @@ const ze = ({
3580
3580
  onClick: h
3581
3581
  });
3582
3582
  case "errorSmall":
3583
- return R2({ width: e, height: t, color: a, className: o, onClick: h });
3584
- case "infoMedium":
3585
3583
  return y2({ width: e, height: t, color: a, className: o, onClick: h });
3584
+ case "infoMedium":
3585
+ return b2({ width: e, height: t, color: a, className: o, onClick: h });
3586
3586
  case "attentionMedium":
3587
- return b2({
3587
+ return _2({
3588
3588
  width: e,
3589
3589
  height: t,
3590
3590
  color: a,
@@ -3592,9 +3592,9 @@ const ze = ({
3592
3592
  onClick: h
3593
3593
  });
3594
3594
  case "errorMedium":
3595
- return _2({ width: e, height: t, color: a, className: o, onClick: h });
3595
+ return E2({ width: e, height: t, color: a, className: o, onClick: h });
3596
3596
  case "faviconSkills":
3597
- return S2({
3597
+ return A2({
3598
3598
  width: e,
3599
3599
  height: t,
3600
3600
  color: a,
@@ -3610,7 +3610,7 @@ const ze = ({
3610
3610
  onClick: h
3611
3611
  });
3612
3612
  case "visibilityOffIcon":
3613
- return E2({
3613
+ return H2({
3614
3614
  width: e,
3615
3615
  height: t,
3616
3616
  color: a,
@@ -3618,7 +3618,7 @@ const ze = ({
3618
3618
  onClick: h
3619
3619
  });
3620
3620
  case "selectArrowIcon":
3621
- return H2({
3621
+ return I2({
3622
3622
  width: e,
3623
3623
  height: t,
3624
3624
  color: a,
@@ -3626,7 +3626,7 @@ const ze = ({
3626
3626
  onClick: h
3627
3627
  });
3628
3628
  case "expandArrowIcon":
3629
- return I2({
3629
+ return O2({
3630
3630
  width: e,
3631
3631
  height: t,
3632
3632
  color: a,
@@ -3634,7 +3634,7 @@ const ze = ({
3634
3634
  onClick: h
3635
3635
  });
3636
3636
  case "expandActiveArrowIcon":
3637
- return O2({
3637
+ return S2({
3638
3638
  width: e,
3639
3639
  height: t,
3640
3640
  color: a,
@@ -3642,111 +3642,111 @@ const ze = ({
3642
3642
  onClick: h
3643
3643
  });
3644
3644
  case "camera":
3645
- return A2({ width: e, height: t, color: a, className: o, onClick: h });
3646
- case "sortUp":
3647
3645
  return B2({ width: e, height: t, color: a, className: o, onClick: h });
3648
- case "sortDown":
3646
+ case "sortUp":
3649
3647
  return Z2({ width: e, height: t, color: a, className: o, onClick: h });
3650
- case "logOut2":
3648
+ case "sortDown":
3651
3649
  return W2({ width: e, height: t, color: a, className: o, onClick: h });
3652
- case "search":
3650
+ case "logOut2":
3653
3651
  return j2({ width: e, height: t, color: a, className: o, onClick: h });
3654
- case "handRock":
3652
+ case "search":
3655
3653
  return D2({ width: e, height: t, color: a, className: o, onClick: h });
3654
+ case "handRock":
3655
+ return T2({ width: e, height: t, color: a, className: o, onClick: h });
3656
3656
  case "arrowUpFilled":
3657
- return P2({ width: e, height: t, color: a, className: o, onClick: h });
3657
+ return $2({ width: e, height: t, color: a, className: o, onClick: h });
3658
3658
  case "arrowDownFilled":
3659
- return K2({ width: e, height: t, color: a, className: o, onClick: h });
3659
+ return P2({ width: e, height: t, color: a, className: o, onClick: h });
3660
3660
  case "link":
3661
- return $2({ width: e, height: t, color: a, className: o, onClick: h });
3662
- case "telegram":
3663
3661
  return Y2({ width: e, height: t, color: a, className: o, onClick: h });
3662
+ case "telegram":
3663
+ return U2({ width: e, height: t, color: a, className: o, onClick: h });
3664
3664
  case "mail":
3665
- return z2({ width: e, height: t, color: a, className: o, onClick: h });
3665
+ return J2({ width: e, height: t, color: a, className: o, onClick: h });
3666
3666
  case "github":
3667
3667
  return F2({ width: e, height: t, color: a, className: o, onClick: h });
3668
3668
  case "linkedIn":
3669
- return U2({ width: e, height: t, color: a, className: o, onClick: h });
3669
+ return z2({ width: e, height: t, color: a, className: o, onClick: h });
3670
3670
  case "emptyStateIcon":
3671
- return J2({ width: e, height: t, color: a, className: o, onClick: h });
3672
- case "filtersIcon":
3673
3671
  return q2({ width: e, height: t, color: a, className: o, onClick: h });
3674
- case "dotMenuIcon":
3672
+ case "filtersIcon":
3675
3673
  return Q2({ width: e, height: t, color: a, className: o, onClick: h });
3676
- case "plusCircle":
3674
+ case "dotMenuIcon":
3677
3675
  return X2({ width: e, height: t, color: a, className: o, onClick: h });
3678
- case "warning":
3676
+ case "plusCircle":
3679
3677
  return et({ width: e, height: t, color: a, className: o, onClick: h });
3680
- case "back":
3678
+ case "warning":
3681
3679
  return tt({ width: e, height: t, color: a, className: o, onClick: h });
3682
- case "bell":
3680
+ case "back":
3683
3681
  return it({ width: e, height: t, color: a, className: o, onClick: h });
3682
+ case "bell":
3683
+ return st({ width: e, height: t, color: a, className: o, onClick: h });
3684
3684
  case "contract":
3685
- return nt({ width: e, height: t, color: a, className: o, onClick: h });
3685
+ return rt({ width: e, height: t, color: a, className: o, onClick: h });
3686
3686
  case "trash2":
3687
- return st({ width: e, height: t, color: a, className: o, onClick: h });
3687
+ return nt({ width: e, height: t, color: a, className: o, onClick: h });
3688
3688
  case "manager":
3689
- return rt({ width: e, height: t, color: a, className: o, onClick: h });
3690
- case "resourceManager":
3691
3689
  return ot({ width: e, height: t, color: a, className: o, onClick: h });
3692
- case "settings2":
3690
+ case "resourceManager":
3693
3691
  return lt({ width: e, height: t, color: a, className: o, onClick: h });
3694
- case "image":
3692
+ case "settings2":
3695
3693
  return at({ width: e, height: t, color: a, className: o, onClick: h });
3696
- case "upload":
3694
+ case "image":
3697
3695
  return ht({ width: e, height: t, color: a, className: o, onClick: h });
3698
- case "edit":
3696
+ case "upload":
3699
3697
  return ct({ width: e, height: t, color: a, className: o, onClick: h });
3700
- case "location":
3698
+ case "edit":
3701
3699
  return dt({ width: e, height: t, color: a, className: o, onClick: h });
3702
- case "plus2":
3700
+ case "location":
3703
3701
  return gt({ width: e, height: t, color: a, className: o, onClick: h });
3704
- case "search2":
3702
+ case "plus2":
3705
3703
  return Ct({ width: e, height: t, color: a, className: o, onClick: h });
3706
- case "fastArrowLeft":
3704
+ case "search2":
3707
3705
  return ut({ width: e, height: t, color: a, className: o, onClick: h });
3708
- case "fastArrowRight":
3706
+ case "fastArrowLeft":
3709
3707
  return pt({ width: e, height: t, color: a, className: o, onClick: h });
3710
- case "crossInCircle":
3708
+ case "fastArrowRight":
3711
3709
  return ft({ width: e, height: t, color: a, className: o, onClick: h });
3710
+ case "crossInCircle":
3711
+ return wt({ width: e, height: t, color: a, className: o, onClick: h });
3712
3712
  case "arrowUp2":
3713
- return mt({ width: e, height: t, color: a, className: o, onClick: h });
3713
+ return kt({ width: e, height: t, color: a, className: o, onClick: h });
3714
3714
  case "arrowDown2":
3715
- return wt({ width: e, height: t, color: a, className: o, onClick: h });
3715
+ return mt({ width: e, height: t, color: a, className: o, onClick: h });
3716
3716
  case "filledArrowLeft":
3717
- return kt({ width: e, height: t, color: a, className: o, onClick: h });
3718
- case "filledArrowRight":
3719
3717
  return Lt({ width: e, height: t, color: a, className: o, onClick: h });
3720
- case "burgerMenu":
3718
+ case "filledArrowRight":
3721
3719
  return vt({ width: e, height: t, color: a, className: o, onClick: h });
3722
- case "signOut":
3720
+ case "burgerMenu":
3723
3721
  return Nt({ width: e, height: t, color: a, className: o, onClick: h });
3724
- case "refresh":
3722
+ case "signOut":
3725
3723
  return xt({ width: e, height: t, color: a, className: o, onClick: h });
3726
- case "projects":
3724
+ case "refresh":
3727
3725
  return Mt({ width: e, height: t, color: a, className: o, onClick: h });
3728
- case "exit":
3726
+ case "projects":
3729
3727
  return Rt({ width: e, height: t, color: a, className: o, onClick: h });
3730
- case "client":
3728
+ case "exit":
3731
3729
  return yt({ width: e, height: t, color: a, className: o, onClick: h });
3732
- case "calendar2":
3730
+ case "client":
3733
3731
  return bt({ width: e, height: t, color: a, className: o, onClick: h });
3734
- case "openPointCircle":
3732
+ case "calendar2":
3735
3733
  return _t({ width: e, height: t, color: a, className: o, onClick: h });
3734
+ case "openPointCircle":
3735
+ return Et({ width: e, height: t, color: a, className: o, onClick: h });
3736
3736
  case "community":
3737
3737
  return Vt({ width: e, height: t, color: a, className: o, onClick: h });
3738
3738
  case "docs":
3739
- return Et({ width: e, height: t, color: a, className: o, onClick: h });
3739
+ return Ht({ width: e, height: t, color: a, className: o, onClick: h });
3740
3740
  default:
3741
- return /* @__PURE__ */ r(s1, { children: "No Icon provided" });
3741
+ return /* @__PURE__ */ r(i1, { children: "No Icon provided" });
3742
3742
  }
3743
3743
  })() });
3744
- }, { Title: Ht, Text: It } = re, Ot = {
3744
+ }, { Title: It, Text: Ot } = re, St = {
3745
3745
  h1: 1,
3746
3746
  h2: 2,
3747
3747
  h3: 3,
3748
3748
  h4: 4
3749
- }, St = L1(
3749
+ }, At = k1(
3750
3750
  ({
3751
3751
  align: i = "inherit",
3752
3752
  variant: e = "body1",
@@ -3759,17 +3759,17 @@ const ze = ({
3759
3759
  const d = e === "h1" || e === "h2" || e === "h3" || e === "h4";
3760
3760
  let g = `snmt-typography snmt-typography-${e}`;
3761
3761
  return i && i !== "inherit" && (g += ` snmt-typography-align-${i}`), l && (g += " collapsed"), d ? /* @__PURE__ */ r(
3762
- Ht,
3762
+ It,
3763
3763
  {
3764
3764
  className: g,
3765
3765
  style: { color: t, whiteSpace: c },
3766
3766
  onClick: n,
3767
- level: Ot[e],
3767
+ level: St[e],
3768
3768
  ref: o,
3769
3769
  children: s
3770
3770
  }
3771
3771
  ) : /* @__PURE__ */ r(
3772
- It,
3772
+ Ot,
3773
3773
  {
3774
3774
  className: g,
3775
3775
  style: { color: t, whiteSpace: c },
@@ -3786,7 +3786,7 @@ const he = d1({
3786
3786
  theme: "light"
3787
3787
  });
3788
3788
  he.Provider;
3789
- const At = ({
3789
+ const Bt = ({
3790
3790
  width: i = 20,
3791
3791
  height: e = 20,
3792
3792
  color: t = "#001E52",
@@ -3813,7 +3813,7 @@ const At = ({
3813
3813
  }
3814
3814
  )
3815
3815
  }
3816
- ), Bt = ({
3816
+ ), Zt = ({
3817
3817
  width: i = 20,
3818
3818
  height: e = 20,
3819
3819
  color: t = "#001E52",
@@ -3840,7 +3840,7 @@ const At = ({
3840
3840
  }
3841
3841
  )
3842
3842
  }
3843
- ), Zt = ({
3843
+ ), Wt = ({
3844
3844
  width: i = 16,
3845
3845
  height: e = 16,
3846
3846
  color: t = "#001E52",
@@ -3868,7 +3868,7 @@ const At = ({
3868
3868
  )
3869
3869
  ]
3870
3870
  }
3871
- ), Wt = ({
3871
+ ), jt = ({
3872
3872
  width: i = 20,
3873
3873
  height: e = 20,
3874
3874
  color: t = "#001E52",
@@ -3903,7 +3903,7 @@ const At = ({
3903
3903
  )
3904
3904
  ]
3905
3905
  }
3906
- ), jt = ({
3906
+ ), Dt = ({
3907
3907
  width: i = 18,
3908
3908
  height: e = 18,
3909
3909
  color: t = "#001E52",
@@ -3942,7 +3942,7 @@ const At = ({
3942
3942
  )
3943
3943
  ]
3944
3944
  }
3945
- ), Dt = ({
3945
+ ), Tt = ({
3946
3946
  width: i = 20,
3947
3947
  height: e = 20,
3948
3948
  color: t = "#001E52",
@@ -3968,7 +3968,7 @@ const At = ({
3968
3968
  }
3969
3969
  )
3970
3970
  }
3971
- ), Tt = ({
3971
+ ), Gt = ({
3972
3972
  width: i = 20,
3973
3973
  height: e = 20,
3974
3974
  color: t = "#001E52",
@@ -3989,7 +3989,7 @@ const At = ({
3989
3989
  /* @__PURE__ */ r("path", { d: "M16 4L4 16", stroke: t, strokeWidth: "1.5", strokeLinecap: "round" })
3990
3990
  ]
3991
3991
  }
3992
- ), Gt = ({
3992
+ ), Kt = ({
3993
3993
  width: i = 20,
3994
3994
  height: e = 20,
3995
3995
  color: t = "#001E52",
@@ -4021,7 +4021,7 @@ const At = ({
4021
4021
  )
4022
4022
  ]
4023
4023
  }
4024
- ), Kt = ({
4024
+ ), Pt = ({
4025
4025
  width: i = 20,
4026
4026
  height: e = 20,
4027
4027
  color: t = "#001E52",
@@ -4075,7 +4075,7 @@ const At = ({
4075
4075
  )
4076
4076
  ]
4077
4077
  }
4078
- ), Pt = ({
4078
+ ), $t = ({
4079
4079
  width: i = 20,
4080
4080
  height: e = 20,
4081
4081
  color: t = "#001E52",
@@ -4114,7 +4114,7 @@ const At = ({
4114
4114
  /* @__PURE__ */ r("path", { d: "M3 12L17 12", stroke: t, strokeWidth: "2", strokeLinecap: "round" })
4115
4115
  ]
4116
4116
  }
4117
- ), $t = ({
4117
+ ), Yt = ({
4118
4118
  width: i = 16,
4119
4119
  height: e = 12,
4120
4120
  color: t = "#001E52",
@@ -4197,7 +4197,7 @@ const At = ({
4197
4197
  )
4198
4198
  ]
4199
4199
  }
4200
- ), Yt = ({
4200
+ ), Ut = ({
4201
4201
  width: i = 10,
4202
4202
  height: e = 10,
4203
4203
  color: t = "#001E52",
@@ -4236,7 +4236,7 @@ const At = ({
4236
4236
  )
4237
4237
  ] })
4238
4238
  }
4239
- ), Ut = ({
4239
+ ), zt = ({
4240
4240
  width: i = 16,
4241
4241
  height: e = 16,
4242
4242
  color: t = "#001E52",
@@ -4272,7 +4272,7 @@ const At = ({
4272
4272
  )
4273
4273
  ]
4274
4274
  }
4275
- ), zt = ({
4275
+ ), Jt = ({
4276
4276
  width: i = 11,
4277
4277
  height: e = 32,
4278
4278
  color: t = "#001E52",
@@ -4310,7 +4310,7 @@ const At = ({
4310
4310
  /* @__PURE__ */ r("circle", { cx: "3", cy: "3", r: "3", fill: t })
4311
4311
  ]
4312
4312
  }
4313
- ), Jt = ({
4313
+ ), qt = ({
4314
4314
  width: i = 20,
4315
4315
  height: e = 20,
4316
4316
  color: t = "#001E52",
@@ -4357,7 +4357,7 @@ const At = ({
4357
4357
  )
4358
4358
  ]
4359
4359
  }
4360
- ), qt = ({
4360
+ ), Qt = ({
4361
4361
  width: i = 20,
4362
4362
  height: e = 20,
4363
4363
  color: t = "#001E52",
@@ -4390,7 +4390,7 @@ const At = ({
4390
4390
  )
4391
4391
  ]
4392
4392
  }
4393
- ), Qt = ({
4393
+ ), Xt = ({
4394
4394
  width: i = 20,
4395
4395
  height: e = 20,
4396
4396
  color: t = "#001E52",
@@ -4437,7 +4437,7 @@ const At = ({
4437
4437
  )
4438
4438
  ]
4439
4439
  }
4440
- ), Xt = ({
4440
+ ), e5 = ({
4441
4441
  width: i = 20,
4442
4442
  height: e = 20,
4443
4443
  color: t = "#001E52",
@@ -4470,7 +4470,7 @@ const At = ({
4470
4470
  )
4471
4471
  ]
4472
4472
  }
4473
- ), e5 = ({
4473
+ ), t5 = ({
4474
4474
  width: i = 18,
4475
4475
  height: e = 16,
4476
4476
  color: t = "#001E52",
@@ -4509,7 +4509,7 @@ const At = ({
4509
4509
  )
4510
4510
  ]
4511
4511
  }
4512
- ), t5 = ({
4512
+ ), i5 = ({
4513
4513
  width: i = 20,
4514
4514
  height: e = 20,
4515
4515
  color: t = "#001E52",
@@ -4542,7 +4542,7 @@ const At = ({
4542
4542
  )
4543
4543
  ]
4544
4544
  }
4545
- ), i5 = ({
4545
+ ), s5 = ({
4546
4546
  width: i = 20,
4547
4547
  height: e = 20,
4548
4548
  color: t = "#001E52",
@@ -4566,7 +4566,7 @@ const At = ({
4566
4566
  }
4567
4567
  )
4568
4568
  }
4569
- ), s5 = ({
4569
+ ), n5 = ({
4570
4570
  width: i = 20,
4571
4571
  height: e = 20,
4572
4572
  color: t = "#001E52",
@@ -4613,7 +4613,7 @@ const At = ({
4613
4613
  )
4614
4614
  ]
4615
4615
  }
4616
- ), n5 = ({
4616
+ ), r5 = ({
4617
4617
  width: i = 20,
4618
4618
  height: e = 20,
4619
4619
  color: t = "#001E52",
@@ -4646,7 +4646,7 @@ const At = ({
4646
4646
  )
4647
4647
  ]
4648
4648
  }
4649
- ), r5 = ({
4649
+ ), o5 = ({
4650
4650
  width: i = 20,
4651
4651
  height: e = 20,
4652
4652
  color: t = "#001E52",
@@ -4679,7 +4679,7 @@ const At = ({
4679
4679
  )
4680
4680
  ]
4681
4681
  }
4682
- ), o5 = ({
4682
+ ), l5 = ({
4683
4683
  width: i = 20,
4684
4684
  height: e = 23,
4685
4685
  color: t = "#001E52",
@@ -4740,7 +4740,7 @@ const At = ({
4740
4740
  )
4741
4741
  ]
4742
4742
  }
4743
- ), l5 = ({
4743
+ ), a5 = ({
4744
4744
  width: i = 20,
4745
4745
  height: e = 20,
4746
4746
  color: t = "#001E52",
@@ -4780,7 +4780,7 @@ const At = ({
4780
4780
  )
4781
4781
  ]
4782
4782
  }
4783
- ), a5 = ({
4783
+ ), h5 = ({
4784
4784
  width: i = 32,
4785
4785
  height: e = 25,
4786
4786
  color: t = "#001E52",
@@ -4808,7 +4808,7 @@ const At = ({
4808
4808
  )
4809
4809
  ]
4810
4810
  }
4811
- ), h5 = ({
4811
+ ), c5 = ({
4812
4812
  width: i = 14,
4813
4813
  height: e = 14,
4814
4814
  color: t = "#10B981",
@@ -4837,7 +4837,7 @@ const At = ({
4837
4837
  )
4838
4838
  ]
4839
4839
  }
4840
- ), c5 = ({
4840
+ ), d5 = ({
4841
4841
  width: i = 11,
4842
4842
  height: e = 11,
4843
4843
  color: t = "#FFB020",
@@ -4871,7 +4871,7 @@ const At = ({
4871
4871
  )
4872
4872
  ]
4873
4873
  }
4874
- ), d5 = ({
4874
+ ), g5 = ({
4875
4875
  width: i = 10,
4876
4876
  height: e = 10,
4877
4877
  color: t = "#88A4FF",
@@ -4919,7 +4919,7 @@ const At = ({
4919
4919
  )
4920
4920
  ]
4921
4921
  }
4922
- ), g5 = ({
4922
+ ), C5 = ({
4923
4923
  width: i = 14,
4924
4924
  height: e = 14,
4925
4925
  color: t = "#8E8E93",
@@ -4947,7 +4947,7 @@ const At = ({
4947
4947
  )
4948
4948
  ]
4949
4949
  }
4950
- ), C5 = ({
4950
+ ), u5 = ({
4951
4951
  width: i = 14,
4952
4952
  height: e = 14,
4953
4953
  color: t = "#FFB020",
@@ -4981,7 +4981,7 @@ const At = ({
4981
4981
  )
4982
4982
  ]
4983
4983
  }
4984
- ), u5 = ({
4984
+ ), p5 = ({
4985
4985
  width: i = 14,
4986
4986
  height: e = 14,
4987
4987
  color: t = "#D0421B",
@@ -5029,7 +5029,7 @@ const At = ({
5029
5029
  )
5030
5030
  ]
5031
5031
  }
5032
- ), p5 = ({
5032
+ ), f5 = ({
5033
5033
  width: i = 20,
5034
5034
  height: e = 20,
5035
5035
  color: t = "#070739",
@@ -5059,7 +5059,7 @@ const At = ({
5059
5059
  /* @__PURE__ */ r("circle", { cx: "10", cy: "10", r: "2.375", stroke: t, strokeWidth: "1.25" })
5060
5060
  ]
5061
5061
  }
5062
- ), f5 = ({
5062
+ ), w5 = ({
5063
5063
  width: i = 20,
5064
5064
  height: e = 20,
5065
5065
  color: t = "#070739",
@@ -5097,7 +5097,7 @@ const At = ({
5097
5097
  )
5098
5098
  ]
5099
5099
  }
5100
- ), w5 = ({
5100
+ ), m5 = ({
5101
5101
  width: i = 9,
5102
5102
  height: e = 5,
5103
5103
  color: t = "#001E52",
@@ -5123,7 +5123,7 @@ const At = ({
5123
5123
  }
5124
5124
  )
5125
5125
  }
5126
- ), m5 = ({
5126
+ ), k5 = ({
5127
5127
  width: i = 20,
5128
5128
  height: e = 20,
5129
5129
  color: t = "#F2F2F7",
@@ -5152,7 +5152,7 @@ const At = ({
5152
5152
  )
5153
5153
  ]
5154
5154
  }
5155
- ), k5 = ({
5155
+ ), L5 = ({
5156
5156
  width: i = 20,
5157
5157
  height: e = 20,
5158
5158
  color: t = "#004ED7",
@@ -5181,7 +5181,7 @@ const At = ({
5181
5181
  )
5182
5182
  ]
5183
5183
  }
5184
- ), L5 = ({
5184
+ ), v5 = ({
5185
5185
  width: i = 248,
5186
5186
  height: e = 248,
5187
5187
  color: t = "#070739",
@@ -5218,7 +5218,7 @@ const At = ({
5218
5218
  )
5219
5219
  ]
5220
5220
  }
5221
- ), v5 = ({
5221
+ ), N5 = ({
5222
5222
  width: i = 24,
5223
5223
  height: e = 24,
5224
5224
  color: t = "#001E52",
@@ -5257,7 +5257,7 @@ const At = ({
5257
5257
  )
5258
5258
  ]
5259
5259
  }
5260
- ), N5 = ({
5260
+ ), x5 = ({
5261
5261
  width: i = 10,
5262
5262
  height: e = 10,
5263
5263
  color: t = "#001E52",
@@ -5286,7 +5286,7 @@ const At = ({
5286
5286
  )
5287
5287
  ]
5288
5288
  }
5289
- ), x5 = ({
5289
+ ), M5 = ({
5290
5290
  width: i = 10,
5291
5291
  height: e = 10,
5292
5292
  color: t = "#001E52",
@@ -5323,7 +5323,7 @@ const At = ({
5323
5323
  )
5324
5324
  ]
5325
5325
  }
5326
- ), M5 = ({
5326
+ ), R5 = ({
5327
5327
  width: i = 24,
5328
5328
  height: e = 24,
5329
5329
  color: t = R.GREY_DARK_5,
@@ -5362,7 +5362,7 @@ const At = ({
5362
5362
  )
5363
5363
  ]
5364
5364
  }
5365
- ), R5 = ({
5365
+ ), y5 = ({
5366
5366
  width: i = 20,
5367
5367
  height: e = 20,
5368
5368
  color: t = R.GREY_DARK_1,
@@ -5395,7 +5395,7 @@ const At = ({
5395
5395
  )
5396
5396
  ]
5397
5397
  }
5398
- ), y5 = ({
5398
+ ), b5 = ({
5399
5399
  width: i = 81,
5400
5400
  height: e = 80,
5401
5401
  color: t = R.GREY_DARK_5,
@@ -5444,7 +5444,7 @@ const At = ({
5444
5444
  )
5445
5445
  ]
5446
5446
  }
5447
- ), b5 = ({
5447
+ ), _5 = ({
5448
5448
  className: i,
5449
5449
  color: e = R.GREY_DARK_5,
5450
5450
  height: t = 20,
@@ -5471,7 +5471,7 @@ const At = ({
5471
5471
  }
5472
5472
  )
5473
5473
  }
5474
- ), _5 = ({
5474
+ ), E5 = ({
5475
5475
  className: i,
5476
5476
  color: e = R.GREY_DARK_5,
5477
5477
  height: t = 20,
@@ -5522,7 +5522,7 @@ const At = ({
5522
5522
  }
5523
5523
  )
5524
5524
  }
5525
- ), E5 = ({
5525
+ ), H5 = ({
5526
5526
  className: i,
5527
5527
  color: e = R.GREY_DARK_5,
5528
5528
  height: t = 5,
@@ -5547,7 +5547,7 @@ const At = ({
5547
5547
  }
5548
5548
  )
5549
5549
  }
5550
- ), H5 = ({
5550
+ ), I5 = ({
5551
5551
  className: i,
5552
5552
  color: e = R.GREY_DARK_5,
5553
5553
  height: t = 24,
@@ -5586,7 +5586,7 @@ const At = ({
5586
5586
  )
5587
5587
  ]
5588
5588
  }
5589
- ), I5 = ({
5589
+ ), O5 = ({
5590
5590
  className: i,
5591
5591
  color: e = R.GREY_DARK_5,
5592
5592
  height: t = 24,
@@ -5625,7 +5625,7 @@ const At = ({
5625
5625
  )
5626
5626
  ]
5627
5627
  }
5628
- ), O5 = ({
5628
+ ), S5 = ({
5629
5629
  className: i,
5630
5630
  color: e = R.GREY_DARK_5,
5631
5631
  height: t = 24,
@@ -5652,7 +5652,7 @@ const At = ({
5652
5652
  }
5653
5653
  )
5654
5654
  }
5655
- ), S5 = ({
5655
+ ), A5 = ({
5656
5656
  className: i,
5657
5657
  color: e = R.GREY_DARK_5,
5658
5658
  height: t = 24,
@@ -5711,7 +5711,7 @@ const At = ({
5711
5711
  )
5712
5712
  ]
5713
5713
  }
5714
- ), A5 = ({
5714
+ ), B5 = ({
5715
5715
  className: i,
5716
5716
  color: e = R.GREY_DARK_5,
5717
5717
  height: t = 24,
@@ -5748,7 +5748,7 @@ const At = ({
5748
5748
  )
5749
5749
  ]
5750
5750
  }
5751
- ), B5 = ({
5751
+ ), Z5 = ({
5752
5752
  className: i,
5753
5753
  color: e = R.GREY_DARK_3,
5754
5754
  height: t = 14,
@@ -5785,7 +5785,7 @@ const At = ({
5785
5785
  )
5786
5786
  ]
5787
5787
  }
5788
- ), Z5 = ({
5788
+ ), W5 = ({
5789
5789
  className: i,
5790
5790
  color: e = R.GREY_DARK_5,
5791
5791
  height: t = 18,
@@ -5812,7 +5812,7 @@ const At = ({
5812
5812
  }
5813
5813
  )
5814
5814
  }
5815
- ), W5 = ({
5815
+ ), j5 = ({
5816
5816
  className: i,
5817
5817
  color: e = R.GREY_DARK_5,
5818
5818
  height: t = 24,
@@ -5864,7 +5864,7 @@ const At = ({
5864
5864
  )
5865
5865
  ]
5866
5866
  }
5867
- ), j5 = ({
5867
+ ), D5 = ({
5868
5868
  className: i,
5869
5869
  color: e = R.GREY_DARK_5,
5870
5870
  height: t = 24,
@@ -5901,7 +5901,7 @@ const At = ({
5901
5901
  )
5902
5902
  ]
5903
5903
  }
5904
- ), D5 = ({
5904
+ ), T5 = ({
5905
5905
  className: i,
5906
5906
  color: e = R.NOTIFICATION_WARNING_DARK,
5907
5907
  height: t = 37,
@@ -5940,7 +5940,7 @@ const At = ({
5940
5940
  )
5941
5941
  ]
5942
5942
  }
5943
- ), T5 = ({
5943
+ ), G5 = ({
5944
5944
  className: i,
5945
5945
  color: e = R.GREY_DARK_5,
5946
5946
  height: t = 24,
@@ -5966,7 +5966,7 @@ const At = ({
5966
5966
  }
5967
5967
  )
5968
5968
  }
5969
- ), G5 = ({
5969
+ ), K5 = ({
5970
5970
  className: i,
5971
5971
  color: e = R.GREY_DARK_5,
5972
5972
  height: t = 24,
@@ -6005,7 +6005,7 @@ const At = ({
6005
6005
  )
6006
6006
  ]
6007
6007
  }
6008
- ), K5 = ({
6008
+ ), P5 = ({
6009
6009
  className: i,
6010
6010
  color: e = R.GREY_DARK_5,
6011
6011
  height: t = 24,
@@ -6044,7 +6044,7 @@ const At = ({
6044
6044
  )
6045
6045
  ]
6046
6046
  }
6047
- ), P5 = ({
6047
+ ), $5 = ({
6048
6048
  className: i,
6049
6049
  color: e = R.GREY_DARK_5,
6050
6050
  height: t = 24,
@@ -6113,7 +6113,7 @@ const At = ({
6113
6113
  )
6114
6114
  ]
6115
6115
  }
6116
- ), $5 = ({
6116
+ ), Y5 = ({
6117
6117
  className: i,
6118
6118
  color: e = R.GREY_DARK_5,
6119
6119
  height: t = 24,
@@ -6209,7 +6209,7 @@ const At = ({
6209
6209
  )
6210
6210
  ]
6211
6211
  }
6212
- ), Y5 = ({
6212
+ ), U5 = ({
6213
6213
  className: i,
6214
6214
  color: e = R.GREY_DARK_5,
6215
6215
  height: t = 24,
@@ -6248,7 +6248,7 @@ const At = ({
6248
6248
  )
6249
6249
  ]
6250
6250
  }
6251
- ), U5 = ({
6251
+ ), z5 = ({
6252
6252
  className: i,
6253
6253
  color: e = R.GREY_DARK_5,
6254
6254
  height: t = 24,
@@ -6297,7 +6297,7 @@ const At = ({
6297
6297
  )
6298
6298
  ]
6299
6299
  }
6300
- ), z5 = ({
6300
+ ), J5 = ({
6301
6301
  className: i,
6302
6302
  color: e = R.GREY_DARK_5,
6303
6303
  height: t = 24,
@@ -6336,7 +6336,7 @@ const At = ({
6336
6336
  )
6337
6337
  ]
6338
6338
  }
6339
- ), J5 = ({
6339
+ ), q5 = ({
6340
6340
  className: i,
6341
6341
  color: e = R.GREY_DARK_5,
6342
6342
  height: t = 24,
@@ -6363,7 +6363,7 @@ const At = ({
6363
6363
  }
6364
6364
  )
6365
6365
  }
6366
- ), q5 = ({
6366
+ ), Q5 = ({
6367
6367
  className: i,
6368
6368
  color: e = R.GREY_DARK_5,
6369
6369
  height: t = 24,
@@ -6401,7 +6401,7 @@ const At = ({
6401
6401
  )
6402
6402
  ]
6403
6403
  }
6404
- ), Q5 = ({
6404
+ ), X5 = ({
6405
6405
  className: i,
6406
6406
  color: e = R.GREY_DARK_5,
6407
6407
  height: t = 24,
@@ -6422,7 +6422,7 @@ const At = ({
6422
6422
  /* @__PURE__ */ r("path", { d: "M12 8L4 8", stroke: e, strokeWidth: "1.7", strokeLinecap: "round" })
6423
6423
  ]
6424
6424
  }
6425
- ), X5 = ({
6425
+ ), e3 = ({
6426
6426
  className: i,
6427
6427
  color: e = R.GREY_DARK_5,
6428
6428
  height: t = 24,
@@ -6461,7 +6461,7 @@ const At = ({
6461
6461
  )
6462
6462
  ]
6463
6463
  }
6464
- ), e3 = ({
6464
+ ), t3 = ({
6465
6465
  className: i,
6466
6466
  color: e = R.GREY_DARK_5,
6467
6467
  height: t = 24,
@@ -6500,7 +6500,7 @@ const At = ({
6500
6500
  )
6501
6501
  ]
6502
6502
  }
6503
- ), t3 = ({
6503
+ ), i3 = ({
6504
6504
  className: i,
6505
6505
  color: e = R.GREY_DARK_5,
6506
6506
  height: t = 24,
@@ -6539,7 +6539,7 @@ const At = ({
6539
6539
  )
6540
6540
  ]
6541
6541
  }
6542
- ), i3 = ({
6542
+ ), s3 = ({
6543
6543
  className: i,
6544
6544
  color: e = R.GREY_DARK_2,
6545
6545
  height: t = 16,
@@ -6565,7 +6565,7 @@ const At = ({
6565
6565
  }
6566
6566
  )
6567
6567
  }
6568
- ), s3 = ({
6568
+ ), n3 = ({
6569
6569
  className: i,
6570
6570
  color: e = R.GREY_DARK_5,
6571
6571
  height: t = 20,
@@ -6594,7 +6594,7 @@ const At = ({
6594
6594
  /* @__PURE__ */ r("defs", { children: /* @__PURE__ */ r("clipPath", { id: "clip0_3992_5989", children: /* @__PURE__ */ r("rect", { width: "20", height: "20", fill: "white" }) }) })
6595
6595
  ]
6596
6596
  }
6597
- ), n3 = ({
6597
+ ), r3 = ({
6598
6598
  className: i,
6599
6599
  color: e = R.GREY_DARK_5,
6600
6600
  height: t = 20,
@@ -6623,7 +6623,7 @@ const At = ({
6623
6623
  /* @__PURE__ */ r("defs", { children: /* @__PURE__ */ r("clipPath", { id: "clip0_3992_5988", children: /* @__PURE__ */ r("rect", { width: "20", height: "20", fill: "white" }) }) })
6624
6624
  ]
6625
6625
  }
6626
- ), r3 = ({
6626
+ ), o3 = ({
6627
6627
  className: i,
6628
6628
  color: e = R.GREY_DARK_5,
6629
6629
  height: t = 20,
@@ -6652,7 +6652,7 @@ const At = ({
6652
6652
  )
6653
6653
  ]
6654
6654
  }
6655
- ), o3 = ({
6655
+ ), l3 = ({
6656
6656
  className: i,
6657
6657
  color: e = R.GREY_DARK_5,
6658
6658
  height: t = 20,
@@ -6681,7 +6681,7 @@ const At = ({
6681
6681
  )
6682
6682
  ]
6683
6683
  }
6684
- ), l3 = ({
6684
+ ), a3 = ({
6685
6685
  className: i,
6686
6686
  color: e = "#001E52",
6687
6687
  height: t = 24,
@@ -6707,7 +6707,7 @@ const At = ({
6707
6707
  }
6708
6708
  )
6709
6709
  }
6710
- ), a3 = ({
6710
+ ), h3 = ({
6711
6711
  className: i,
6712
6712
  color: e = "#131314",
6713
6713
  height: t = 20,
@@ -6735,7 +6735,7 @@ const At = ({
6735
6735
  }
6736
6736
  )
6737
6737
  }
6738
- ), h3 = ({
6738
+ ), c3 = ({
6739
6739
  className: i,
6740
6740
  color: e = "#001E52",
6741
6741
  height: t = 24,
@@ -6773,7 +6773,7 @@ const At = ({
6773
6773
  )
6774
6774
  ] }) })
6775
6775
  }
6776
- ), c3 = ({
6776
+ ), d3 = ({
6777
6777
  width: i = 20,
6778
6778
  height: e = 20,
6779
6779
  color: t = "#001E52",
@@ -6829,7 +6829,7 @@ const At = ({
6829
6829
  }
6830
6830
  )
6831
6831
  }
6832
- ), d3 = ({
6832
+ ), g3 = ({
6833
6833
  width: i = 24,
6834
6834
  height: e = 24,
6835
6835
  color: t = "#131314",
@@ -6862,7 +6862,7 @@ const At = ({
6862
6862
  )
6863
6863
  ]
6864
6864
  }
6865
- ), g3 = ({
6865
+ ), C3 = ({
6866
6866
  width: i = 24,
6867
6867
  height: e = 24,
6868
6868
  color: t = R.GREY_DARK_2,
@@ -6901,7 +6901,7 @@ const At = ({
6901
6901
  )
6902
6902
  ]
6903
6903
  }
6904
- ), C3 = ({
6904
+ ), u3 = ({
6905
6905
  width: i = 24,
6906
6906
  height: e = 24,
6907
6907
  color: t = R.GREY_DARK_2,
@@ -6928,7 +6928,7 @@ const At = ({
6928
6928
  }
6929
6929
  )
6930
6930
  }
6931
- ), u3 = ({
6931
+ ), p3 = ({
6932
6932
  width: i = 24,
6933
6933
  height: e = 24,
6934
6934
  color: t = R.GREY_DARK_2,
@@ -6968,7 +6968,7 @@ const At = ({
6968
6968
  )
6969
6969
  ]
6970
6970
  }
6971
- ), p3 = ({
6971
+ ), f3 = ({
6972
6972
  width: i = 24,
6973
6973
  height: e = 24,
6974
6974
  color: t = R.GREY_DARK_2,
@@ -6995,7 +6995,7 @@ const At = ({
6995
6995
  }
6996
6996
  )
6997
6997
  }
6998
- ), f3 = ({
6998
+ ), w3 = ({
6999
6999
  width: i = 24,
7000
7000
  height: e = 24,
7001
7001
  color: t = R.GREY_DARK_2,
@@ -7022,7 +7022,7 @@ const At = ({
7022
7022
  }
7023
7023
  )
7024
7024
  }
7025
- ), w3 = ({
7025
+ ), m3 = ({
7026
7026
  name: i,
7027
7027
  width: e,
7028
7028
  height: t,
@@ -7031,49 +7031,49 @@ const At = ({
7031
7031
  disabled: l = !1,
7032
7032
  onClick: c
7033
7033
  }) => {
7034
- const [o, d] = O(n), { theme: g } = o1(he), a = l ? g && g === "dark" ? R.GREY_LIGHT_4 : R.GREY_DARK_1 : s, h = l ? void 0 : c;
7035
- return B(() => {
7034
+ const [o, d] = S(n), { theme: g } = r1(he), a = l ? g && g === "dark" ? R.GREY_LIGHT_4 : R.GREY_DARK_1 : s, h = l ? void 0 : c;
7035
+ return Z(() => {
7036
7036
  if (n) {
7037
7037
  h && !l && d(`${n} clickable`);
7038
7038
  return;
7039
7039
  }
7040
7040
  h && !l && d("clickable");
7041
- }, [h, n, l]), /* @__PURE__ */ r(s1, { children: (() => {
7041
+ }, [h, n, l]), /* @__PURE__ */ r(i1, { children: (() => {
7042
7042
  switch (i) {
7043
7043
  case "nextIcon":
7044
- return b5({ width: e, height: t, color: a, className: o, onClick: h });
7045
- case "prevIcon":
7046
7044
  return _5({ width: e, height: t, color: a, className: o, onClick: h });
7045
+ case "prevIcon":
7046
+ return E5({ width: e, height: t, color: a, className: o, onClick: h });
7047
7047
  case "arrowUp":
7048
- return At({ width: e, height: t, color: a, className: o, onClick: h });
7049
- case "arrowDown":
7050
7048
  return Bt({ width: e, height: t, color: a, className: o, onClick: h });
7051
- case "info":
7049
+ case "arrowDown":
7052
7050
  return Zt({ width: e, height: t, color: a, className: o, onClick: h });
7053
- case "arrowRight":
7051
+ case "info":
7054
7052
  return Wt({ width: e, height: t, color: a, className: o, onClick: h });
7055
- case "calendar":
7053
+ case "arrowRight":
7056
7054
  return jt({ width: e, height: t, color: a, className: o, onClick: h });
7057
- case "ok":
7055
+ case "calendar":
7058
7056
  return Dt({ width: e, height: t, color: a, className: o, onClick: h });
7059
- case "cancel":
7057
+ case "ok":
7060
7058
  return Tt({ width: e, height: t, color: a, className: o, onClick: h });
7061
- case "add":
7059
+ case "cancel":
7062
7060
  return Gt({ width: e, height: t, color: a, className: o, onClick: h });
7063
- case "list":
7061
+ case "add":
7064
7062
  return Kt({ width: e, height: t, color: a, className: o, onClick: h });
7065
- case "dragAndDrop":
7063
+ case "list":
7066
7064
  return Pt({ width: e, height: t, color: a, className: o, onClick: h });
7067
- case "filter":
7065
+ case "dragAndDrop":
7068
7066
  return $t({ width: e, height: t, color: a, className: o, onClick: h });
7067
+ case "filter":
7068
+ return Yt({ width: e, height: t, color: a, className: o, onClick: h });
7069
7069
  case "attention":
7070
7070
  return Ft({ width: e, height: t, color: a, className: o, onClick: h });
7071
7071
  case "plus":
7072
- return Yt({ width: e, height: t, color: a, className: o, onClick: h });
7073
- case "time":
7074
7072
  return Ut({ width: e, height: t, color: a, className: o, onClick: h });
7073
+ case "time":
7074
+ return zt({ width: e, height: t, color: a, className: o, onClick: h });
7075
7075
  case "arrowDownLong":
7076
- return zt({
7076
+ return Jt({
7077
7077
  width: e,
7078
7078
  height: t,
7079
7079
  color: a,
@@ -7081,9 +7081,9 @@ const At = ({
7081
7081
  onClick: h
7082
7082
  });
7083
7083
  case "users":
7084
- return Jt({ width: e, height: t, color: a, className: o, onClick: h });
7084
+ return qt({ width: e, height: t, color: a, className: o, onClick: h });
7085
7085
  case "mySkillsMatrix":
7086
- return qt({
7086
+ return Qt({
7087
7087
  width: e,
7088
7088
  height: t,
7089
7089
  color: a,
@@ -7091,9 +7091,9 @@ const At = ({
7091
7091
  onClick: h
7092
7092
  });
7093
7093
  case "skills":
7094
- return Qt({ width: e, height: t, color: a, className: o, onClick: h });
7094
+ return Xt({ width: e, height: t, color: a, className: o, onClick: h });
7095
7095
  case "skillsMatrices":
7096
- return Xt({
7096
+ return e5({
7097
7097
  width: e,
7098
7098
  height: t,
7099
7099
  color: a,
@@ -7101,23 +7101,23 @@ const At = ({
7101
7101
  onClick: h
7102
7102
  });
7103
7103
  case "history":
7104
- return e5({ width: e, height: t, color: a, className: o, onClick: h });
7105
- case "logOut":
7106
7104
  return t5({ width: e, height: t, color: a, className: o, onClick: h });
7107
- case "settings":
7105
+ case "logOut":
7108
7106
  return i5({ width: e, height: t, color: a, className: o, onClick: h });
7109
- case "addSkill":
7107
+ case "settings":
7110
7108
  return s5({ width: e, height: t, color: a, className: o, onClick: h });
7111
- case "conversation":
7109
+ case "addSkill":
7112
7110
  return n5({ width: e, height: t, color: a, className: o, onClick: h });
7113
- case "trash":
7111
+ case "conversation":
7114
7112
  return r5({ width: e, height: t, color: a, className: o, onClick: h });
7115
- case "settings4":
7113
+ case "trash":
7116
7114
  return o5({ width: e, height: t, color: a, className: o, onClick: h });
7117
- case "edit2":
7115
+ case "settings4":
7118
7116
  return l5({ width: e, height: t, color: a, className: o, onClick: h });
7117
+ case "edit2":
7118
+ return a5({ width: e, height: t, color: a, className: o, onClick: h });
7119
7119
  case "notifications":
7120
- return a5({
7120
+ return h5({
7121
7121
  width: e,
7122
7122
  height: t,
7123
7123
  color: a,
@@ -7125,9 +7125,9 @@ const At = ({
7125
7125
  onClick: h
7126
7126
  });
7127
7127
  case "success":
7128
- return h5({ width: e, height: t, color: a, className: o, onClick: h });
7128
+ return c5({ width: e, height: t, color: a, className: o, onClick: h });
7129
7129
  case "attentionSmall":
7130
- return c5({
7130
+ return d5({
7131
7131
  width: e,
7132
7132
  height: t,
7133
7133
  color: a,
@@ -7135,11 +7135,11 @@ const At = ({
7135
7135
  onClick: h
7136
7136
  });
7137
7137
  case "errorSmall":
7138
- return d5({ width: e, height: t, color: a, className: o, onClick: h });
7139
- case "infoMedium":
7140
7138
  return g5({ width: e, height: t, color: a, className: o, onClick: h });
7139
+ case "infoMedium":
7140
+ return C5({ width: e, height: t, color: a, className: o, onClick: h });
7141
7141
  case "attentionMedium":
7142
- return C5({
7142
+ return u5({
7143
7143
  width: e,
7144
7144
  height: t,
7145
7145
  color: a,
@@ -7147,9 +7147,9 @@ const At = ({
7147
7147
  onClick: h
7148
7148
  });
7149
7149
  case "errorMedium":
7150
- return u5({ width: e, height: t, color: a, className: o, onClick: h });
7150
+ return p5({ width: e, height: t, color: a, className: o, onClick: h });
7151
7151
  case "faviconSkills":
7152
- return L5({
7152
+ return v5({
7153
7153
  width: e,
7154
7154
  height: t,
7155
7155
  color: a,
@@ -7157,7 +7157,7 @@ const At = ({
7157
7157
  onClick: h
7158
7158
  });
7159
7159
  case "visibilityIcon":
7160
- return p5({
7160
+ return f5({
7161
7161
  width: e,
7162
7162
  height: t,
7163
7163
  color: a,
@@ -7165,7 +7165,7 @@ const At = ({
7165
7165
  onClick: h
7166
7166
  });
7167
7167
  case "visibilityOffIcon":
7168
- return f5({
7168
+ return w5({
7169
7169
  width: e,
7170
7170
  height: t,
7171
7171
  color: a,
@@ -7173,7 +7173,7 @@ const At = ({
7173
7173
  onClick: h
7174
7174
  });
7175
7175
  case "selectArrowIcon":
7176
- return w5({
7176
+ return m5({
7177
7177
  width: e,
7178
7178
  height: t,
7179
7179
  color: a,
@@ -7181,7 +7181,7 @@ const At = ({
7181
7181
  onClick: h
7182
7182
  });
7183
7183
  case "expandArrowIcon":
7184
- return m5({
7184
+ return k5({
7185
7185
  width: e,
7186
7186
  height: t,
7187
7187
  color: a,
@@ -7189,7 +7189,7 @@ const At = ({
7189
7189
  onClick: h
7190
7190
  });
7191
7191
  case "expandActiveArrowIcon":
7192
- return k5({
7192
+ return L5({
7193
7193
  width: e,
7194
7194
  height: t,
7195
7195
  color: a,
@@ -7197,112 +7197,112 @@ const At = ({
7197
7197
  onClick: h
7198
7198
  });
7199
7199
  case "camera":
7200
- return v5({ width: e, height: t, color: a, className: o, onClick: h });
7201
- case "sortUp":
7202
7200
  return N5({ width: e, height: t, color: a, className: o, onClick: h });
7203
- case "sortDown":
7201
+ case "sortUp":
7204
7202
  return x5({ width: e, height: t, color: a, className: o, onClick: h });
7205
- case "logOut2":
7203
+ case "sortDown":
7206
7204
  return M5({ width: e, height: t, color: a, className: o, onClick: h });
7207
- case "search":
7205
+ case "logOut2":
7208
7206
  return R5({ width: e, height: t, color: a, className: o, onClick: h });
7209
- case "handRock":
7207
+ case "search":
7210
7208
  return y5({ width: e, height: t, color: a, className: o, onClick: h });
7209
+ case "handRock":
7210
+ return b5({ width: e, height: t, color: a, className: o, onClick: h });
7211
7211
  case "arrowUpFilled":
7212
- return E5({ width: e, height: t, color: a, className: o, onClick: h });
7212
+ return H5({ width: e, height: t, color: a, className: o, onClick: h });
7213
7213
  case "arrowDownFilled":
7214
7214
  return V5({ width: e, height: t, color: a, className: o, onClick: h });
7215
7215
  case "link":
7216
- return H5({ width: e, height: t, color: a, className: o, onClick: h });
7216
+ return I5({ width: e, height: t, color: a, className: o, onClick: h });
7217
7217
  case "telegram":
7218
- return O5({ width: e, height: t, color: a, className: o, onClick: h });
7218
+ return S5({ width: e, height: t, color: a, className: o, onClick: h });
7219
7219
  case "mail":
7220
- return A5({ width: e, height: t, color: a, className: o, onClick: h });
7220
+ return B5({ width: e, height: t, color: a, className: o, onClick: h });
7221
7221
  case "github":
7222
- return I5({ width: e, height: t, color: a, className: o, onClick: h });
7222
+ return O5({ width: e, height: t, color: a, className: o, onClick: h });
7223
7223
  case "linkedIn":
7224
- return S5({ width: e, height: t, color: a, className: o, onClick: h });
7224
+ return A5({ width: e, height: t, color: a, className: o, onClick: h });
7225
7225
  case "emptyStateIcon":
7226
- return B5({ width: e, height: t, color: a, className: o, onClick: h });
7227
- case "filtersIcon":
7228
7226
  return Z5({ width: e, height: t, color: a, className: o, onClick: h });
7229
- case "dotMenuIcon":
7227
+ case "filtersIcon":
7230
7228
  return W5({ width: e, height: t, color: a, className: o, onClick: h });
7231
- case "plusCircle":
7229
+ case "dotMenuIcon":
7232
7230
  return j5({ width: e, height: t, color: a, className: o, onClick: h });
7233
- case "warning":
7231
+ case "plusCircle":
7234
7232
  return D5({ width: e, height: t, color: a, className: o, onClick: h });
7235
- case "back":
7233
+ case "warning":
7236
7234
  return T5({ width: e, height: t, color: a, className: o, onClick: h });
7237
- case "bell":
7235
+ case "back":
7238
7236
  return G5({ width: e, height: t, color: a, className: o, onClick: h });
7237
+ case "bell":
7238
+ return K5({ width: e, height: t, color: a, className: o, onClick: h });
7239
7239
  case "contract":
7240
- return P5({ width: e, height: t, color: a, className: o, onClick: h });
7240
+ return $5({ width: e, height: t, color: a, className: o, onClick: h });
7241
7241
  case "trash2":
7242
- return K5({ width: e, height: t, color: a, className: o, onClick: h });
7242
+ return P5({ width: e, height: t, color: a, className: o, onClick: h });
7243
7243
  case "manager":
7244
- return $5({ width: e, height: t, color: a, className: o, onClick: h });
7244
+ return Y5({ width: e, height: t, color: a, className: o, onClick: h });
7245
7245
  case "resourceManager":
7246
7246
  return F5({ width: e, height: t, color: a, className: o, onClick: h });
7247
7247
  case "settings2":
7248
- return Y5({ width: e, height: t, color: a, className: o, onClick: h });
7249
- case "image":
7250
7248
  return U5({ width: e, height: t, color: a, className: o, onClick: h });
7251
- case "upload":
7249
+ case "image":
7252
7250
  return z5({ width: e, height: t, color: a, className: o, onClick: h });
7253
- case "edit":
7251
+ case "upload":
7254
7252
  return J5({ width: e, height: t, color: a, className: o, onClick: h });
7255
- case "location":
7253
+ case "edit":
7256
7254
  return q5({ width: e, height: t, color: a, className: o, onClick: h });
7257
- case "plus2":
7255
+ case "location":
7258
7256
  return Q5({ width: e, height: t, color: a, className: o, onClick: h });
7259
- case "search2":
7257
+ case "plus2":
7260
7258
  return X5({ width: e, height: t, color: a, className: o, onClick: h });
7261
- case "fastArrowLeft":
7259
+ case "search2":
7262
7260
  return e3({ width: e, height: t, color: a, className: o, onClick: h });
7263
- case "fastArrowRight":
7261
+ case "fastArrowLeft":
7264
7262
  return t3({ width: e, height: t, color: a, className: o, onClick: h });
7265
- case "crossInCircle":
7263
+ case "fastArrowRight":
7266
7264
  return i3({ width: e, height: t, color: a, className: o, onClick: h });
7265
+ case "crossInCircle":
7266
+ return s3({ width: e, height: t, color: a, className: o, onClick: h });
7267
7267
  case "arrowUp2":
7268
- return n3({ width: e, height: t, color: a, className: o, onClick: h });
7268
+ return r3({ width: e, height: t, color: a, className: o, onClick: h });
7269
7269
  case "arrowDown2":
7270
- return s3({ width: e, height: t, color: a, className: o, onClick: h });
7270
+ return n3({ width: e, height: t, color: a, className: o, onClick: h });
7271
7271
  case "filledArrowLeft":
7272
- return r3({ width: e, height: t, color: a, className: o, onClick: h });
7273
- case "filledArrowRight":
7274
7272
  return o3({ width: e, height: t, color: a, className: o, onClick: h });
7275
- case "burgerMenu":
7273
+ case "filledArrowRight":
7276
7274
  return l3({ width: e, height: t, color: a, className: o, onClick: h });
7277
- case "signOut":
7275
+ case "burgerMenu":
7278
7276
  return a3({ width: e, height: t, color: a, className: o, onClick: h });
7279
- case "refresh":
7277
+ case "signOut":
7280
7278
  return h3({ width: e, height: t, color: a, className: o, onClick: h });
7281
- case "projects":
7279
+ case "refresh":
7282
7280
  return c3({ width: e, height: t, color: a, className: o, onClick: h });
7283
- case "exit":
7281
+ case "projects":
7284
7282
  return d3({ width: e, height: t, color: a, className: o, onClick: h });
7285
- case "client":
7283
+ case "exit":
7286
7284
  return g3({ width: e, height: t, color: a, className: o, onClick: h });
7287
- case "calendar2":
7285
+ case "client":
7288
7286
  return C3({ width: e, height: t, color: a, className: o, onClick: h });
7289
- case "openPointCircle":
7287
+ case "calendar2":
7290
7288
  return u3({ width: e, height: t, color: a, className: o, onClick: h });
7291
- case "community":
7289
+ case "openPointCircle":
7292
7290
  return p3({ width: e, height: t, color: a, className: o, onClick: h });
7293
- case "docs":
7291
+ case "community":
7294
7292
  return f3({ width: e, height: t, color: a, className: o, onClick: h });
7293
+ case "docs":
7294
+ return w3({ width: e, height: t, color: a, className: o, onClick: h });
7295
7295
  default:
7296
- return /* @__PURE__ */ r(s1, { children: "No Icon provided" });
7296
+ return /* @__PURE__ */ r(i1, { children: "No Icon provided" });
7297
7297
  }
7298
7298
  })() });
7299
7299
  };
7300
- var w1 = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_1 = "var(--grey-light-1)", i.GREY_LIGHT_2 = "var(--grey-light-2)", i.GREY_LIGHT_3 = "var(--grey-light-3)", i.GREY_LIGHT_4 = "var(--grey-light-4)", i.GREY_DARK_1 = "var(--grey-dark-1)", i.GREY_DARK_2 = "var(--grey-dark-2)", i.GREY_DARK_3 = "var(--grey-dark-3)", i.GREY_DARK_4 = "var(--grey-dark-4)", i.GREY_DARK_5 = "var(--grey-dark-5)", i.BLUE_PRIMARY = "var(--blue-primary)", i.BLUE_HOVER = "var(--blue-hover)", i.BLUE_LIGHT_1 = "var(--blue-light-1)", i.BLUE_LIGHT_2 = "var(--blue-light-2)", i.BLUE_LIGHT_3 = "var(--blue-light-3)", i.BLUE_LIGHT_4 = "var(--blue-light-4)", i.BLUE_DARK_1 = "var(--blue-dark-1)", i.PURPLE_LIGHT = "var(--purple-light)", i.PURPLE_DARK = "var(--purple-dark)", i.NOTIFICATION_WARNING_LIGHT = "var(--notification-warning-light)", i.NOTIFICATION_WARNING_DARK = "var(--notification-warning-dark)", i.NOTIFICATION_SUCCESS_LIGHT = "var(--notification-success-light)", i.NOTIFICATION_SUCCESS_DARK = "var(--notification-success-dark)", i.NOTIFICATION_ERROR_LIGHT = "var(--notification-error-light)", i.NOTIFICATION_ERROR_DARK = "var(--notification-error-dark)", i.NOTIFICATION_ERROR_DARK_MODE = "var(--notification-error-dark-mode)", i))(w1 || {});
7301
- const m3 = d1({
7300
+ var f1 = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_1 = "var(--grey-light-1)", i.GREY_LIGHT_2 = "var(--grey-light-2)", i.GREY_LIGHT_3 = "var(--grey-light-3)", i.GREY_LIGHT_4 = "var(--grey-light-4)", i.GREY_DARK_1 = "var(--grey-dark-1)", i.GREY_DARK_2 = "var(--grey-dark-2)", i.GREY_DARK_3 = "var(--grey-dark-3)", i.GREY_DARK_4 = "var(--grey-dark-4)", i.GREY_DARK_5 = "var(--grey-dark-5)", i.BLUE_PRIMARY = "var(--blue-primary)", i.BLUE_HOVER = "var(--blue-hover)", i.BLUE_LIGHT_1 = "var(--blue-light-1)", i.BLUE_LIGHT_2 = "var(--blue-light-2)", i.BLUE_LIGHT_3 = "var(--blue-light-3)", i.BLUE_LIGHT_4 = "var(--blue-light-4)", i.BLUE_DARK_1 = "var(--blue-dark-1)", i.PURPLE_LIGHT = "var(--purple-light)", i.PURPLE_DARK = "var(--purple-dark)", i.NOTIFICATION_WARNING_LIGHT = "var(--notification-warning-light)", i.NOTIFICATION_WARNING_DARK = "var(--notification-warning-dark)", i.NOTIFICATION_SUCCESS_LIGHT = "var(--notification-success-light)", i.NOTIFICATION_SUCCESS_DARK = "var(--notification-success-dark)", i.NOTIFICATION_ERROR_LIGHT = "var(--notification-error-light)", i.NOTIFICATION_ERROR_DARK = "var(--notification-error-dark)", i.NOTIFICATION_ERROR_DARK_MODE = "var(--notification-error-dark-mode)", i))(f1 || {});
7301
+ const k3 = d1({
7302
7302
  locale: "en",
7303
7303
  theme: "light"
7304
7304
  });
7305
- m3.Provider;
7305
+ k3.Provider;
7306
7306
  const ce = ({
7307
7307
  children: i,
7308
7308
  width: e,
@@ -7315,14 +7315,14 @@ const ce = ({
7315
7315
  l || s == null || s();
7316
7316
  };
7317
7317
  return /* @__PURE__ */ r(
7318
- Me,
7318
+ Re,
7319
7319
  {
7320
7320
  className: `snmt-tag ${t} ${l ? "disabled" : ""}`,
7321
7321
  closeIcon: /* @__PURE__ */ r(
7322
- w3,
7322
+ m3,
7323
7323
  {
7324
7324
  name: "errorSmall",
7325
- color: l ? w1.GREY_DARK_1 : w1.GREY_DARK_2,
7325
+ color: l ? f1.GREY_DARK_1 : f1.GREY_DARK_2,
7326
7326
  width: c,
7327
7327
  height: c,
7328
7328
  onClick: o
@@ -7332,21 +7332,21 @@ const ce = ({
7332
7332
  style: { width: e ?? "fit-content" },
7333
7333
  closable: n,
7334
7334
  children: typeof i == "string" ? /* @__PURE__ */ r(
7335
- St,
7335
+ At,
7336
7336
  {
7337
7337
  variant: t === "small" ? "body4" : "body2",
7338
- color: l ? w1.GREY_DARK_2 : w1.GREY_DARK_5,
7338
+ color: l ? f1.GREY_DARK_2 : f1.GREY_DARK_5,
7339
7339
  children: i
7340
7340
  }
7341
7341
  ) : i
7342
7342
  }
7343
7343
  );
7344
- }, { Title: k3, Text: L3 } = re, v3 = {
7344
+ }, { Title: L3, Text: v3 } = re, N3 = {
7345
7345
  h1: 1,
7346
7346
  h2: 2,
7347
7347
  h3: 3,
7348
7348
  h4: 4
7349
- }, N3 = L1(
7349
+ }, x3 = k1(
7350
7350
  ({
7351
7351
  align: i = "inherit",
7352
7352
  variant: e = "body1",
@@ -7359,17 +7359,17 @@ const ce = ({
7359
7359
  const d = e === "h1" || e === "h2" || e === "h3" || e === "h4";
7360
7360
  let g = `snmt-typography snmt-typography-${e}`;
7361
7361
  return i && i !== "inherit" && (g += ` snmt-typography-align-${i}`), l && (g += " collapsed"), d ? /* @__PURE__ */ r(
7362
- k3,
7362
+ L3,
7363
7363
  {
7364
7364
  className: g,
7365
7365
  style: { color: t, whiteSpace: c },
7366
7366
  onClick: n,
7367
- level: v3[e],
7367
+ level: N3[e],
7368
7368
  ref: o,
7369
7369
  children: s
7370
7370
  }
7371
7371
  ) : /* @__PURE__ */ r(
7372
- L3,
7372
+ v3,
7373
7373
  {
7374
7374
  className: g,
7375
7375
  style: { color: t, whiteSpace: c },
@@ -7379,7 +7379,7 @@ const ce = ({
7379
7379
  }
7380
7380
  );
7381
7381
  }
7382
- ), x3 = ({
7382
+ ), M3 = ({
7383
7383
  children: i,
7384
7384
  content: e,
7385
7385
  isOpen: t,
@@ -7387,9 +7387,9 @@ const ce = ({
7387
7387
  placement: n = "topRight",
7388
7388
  noPadding: l = !1
7389
7389
  }) => {
7390
- const [c, o] = O(!1);
7390
+ const [c, o] = S(!1);
7391
7391
  return /* @__PURE__ */ r(
7392
- Re,
7392
+ ye,
7393
7393
  {
7394
7394
  content: e,
7395
7395
  arrow: !1,
@@ -7404,7 +7404,7 @@ const ce = ({
7404
7404
  }
7405
7405
  );
7406
7406
  };
7407
- var M3 = { exports: {} };
7407
+ var R3 = { exports: {} };
7408
7408
  (function(i, e) {
7409
7409
  (function(t, s) {
7410
7410
  i.exports = s();
@@ -7414,8 +7414,8 @@ var M3 = { exports: {} };
7414
7414
  return "[" + t + (s[(n - 20) % 10] || s[n] || s[0]) + "]";
7415
7415
  } };
7416
7416
  });
7417
- })(M3);
7418
- const R3 = ({
7417
+ })(R3);
7418
+ const y3 = ({
7419
7419
  values: i,
7420
7420
  onTagClose: e,
7421
7421
  maxWidth: t,
@@ -7424,21 +7424,21 @@ const R3 = ({
7424
7424
  options: l,
7425
7425
  extraOptions: c
7426
7426
  }) => {
7427
- const { locale: o } = o1(B1), { t: d } = Fe("common", { lng: o }), [g, a] = O(!1);
7428
- if (B(() => {
7427
+ const { locale: o } = r1(B1), { t: d } = Fe("common", { lng: o }), [g, a] = S(!1);
7428
+ if (Z(() => {
7429
7429
  i.length || a(!1);
7430
7430
  }, [i]), !i.length)
7431
7431
  return null;
7432
7432
  const h = (u) => {
7433
- var p, L;
7434
- return ((p = l == null ? void 0 : l.find((x) => x.value === u)) == null ? void 0 : p.label) || ((L = c == null ? void 0 : c.find((x) => x.value === u)) == null ? void 0 : L.label) || u;
7433
+ var f, k;
7434
+ return ((f = l == null ? void 0 : l.find((x) => x.value === u)) == null ? void 0 : f.label) || ((k = c == null ? void 0 : c.find((x) => x.value === u)) == null ? void 0 : k.label) || u;
7435
7435
  };
7436
7436
  return /* @__PURE__ */ C(
7437
- x3,
7437
+ M3,
7438
7438
  {
7439
7439
  content: (
7440
7440
  // 90: paddings + margins + gaps and so on
7441
- /* @__PURE__ */ r("div", { style: { maxWidth: t - 90 }, className: "snmt-popover-from-select", children: /* @__PURE__ */ r(f1, { gap: 6, flexWrap: "wrap", children: i.map(({ value: u }) => /* @__PURE__ */ r(
7441
+ /* @__PURE__ */ r("div", { style: { maxWidth: t - 90 }, className: "snmt-popover-from-select", children: /* @__PURE__ */ r(p1, { gap: 6, flexWrap: "wrap", children: i.map(({ value: u }) => /* @__PURE__ */ r(
7442
7442
  ce,
7443
7443
  {
7444
7444
  onClose: () => e(u),
@@ -7467,7 +7467,7 @@ const R3 = ({
7467
7467
  backgroundSize: "20% calc(200% + 20px)"
7468
7468
  };
7469
7469
  return /* @__PURE__ */ r("span", { className: "snmt-loader", style: s });
7470
- }, G1 = L1(
7470
+ }, G1 = k1(
7471
7471
  ({
7472
7472
  value: i,
7473
7473
  onChange: e,
@@ -7482,168 +7482,168 @@ const R3 = ({
7482
7482
  scrollThresholdValue: a = 50,
7483
7483
  onSearchChange: h,
7484
7484
  onDropdownVisibleChange: u,
7485
- onScrollToEnd: p,
7486
- onPopupScroll: L,
7485
+ onScrollToEnd: f,
7486
+ onPopupScroll: k,
7487
7487
  id: x,
7488
- extraOptions: v,
7488
+ extraOptions: N,
7489
7489
  dropdownRender: E,
7490
7490
  optionRender: b,
7491
- isLoading: _,
7492
- readOnly: f,
7493
- error: k
7494
- }, N) => {
7495
- const [w, S] = O(!1), [Z, K] = O(!1), [P, J] = O(!0), [H, $] = O(i), U = Y(null);
7496
- B(() => {
7497
- $(i);
7491
+ isLoading: V,
7492
+ readOnly: p,
7493
+ error: L
7494
+ }, v) => {
7495
+ const [w, H] = S(!1), [F, W] = S(!1), [K, z] = S(!0), [A, T] = S(i), U = Y(null);
7496
+ Z(() => {
7497
+ T(i);
7498
7498
  }, [i]);
7499
7499
  const q = (m) => {
7500
- S(m), u && u(m);
7501
- }, e1 = (m, V) => {
7502
- var T;
7503
- return !!((T = V == null ? void 0 : V.label) != null && T.toString().toLowerCase().includes(m.toLowerCase()));
7504
- }, A = () => {
7505
- K(!0);
7506
- }, F = () => {
7507
- K(!1);
7508
- }, D = W(
7500
+ H(m), u && u(m);
7501
+ }, X = (m, _) => {
7502
+ var O;
7503
+ return !!((O = _ == null ? void 0 : _.label) != null && O.toString().toLowerCase().includes(m.toLowerCase()));
7504
+ }, B = () => {
7505
+ W(!0);
7506
+ }, P = () => {
7507
+ W(!1);
7508
+ }, G = j(
7509
7509
  (m) => {
7510
- if ($(m), s) {
7511
- const T = m;
7512
- e == null || e(T);
7510
+ if (T(m), s) {
7511
+ const O = m;
7512
+ e == null || e(O);
7513
7513
  return;
7514
7514
  }
7515
- const V = m;
7516
- e == null || e(V);
7515
+ const _ = m;
7516
+ e == null || e(_);
7517
7517
  },
7518
7518
  [s, e]
7519
- ), t1 = W(() => {
7520
- if (!f) {
7519
+ ), e1 = j(() => {
7520
+ if (!p) {
7521
7521
  if (s) {
7522
- D([]);
7522
+ G([]);
7523
7523
  return;
7524
7524
  }
7525
- D("");
7525
+ G("");
7526
7526
  }
7527
- }, [D, s, f]), i1 = W(
7527
+ }, [G, s, p]), t1 = j(
7528
7528
  (m) => {
7529
- const V = H.filter((T) => T !== m);
7530
- D(V), $(V);
7529
+ const _ = A.filter((O) => O !== m);
7530
+ G(_), T(_);
7531
7531
  },
7532
- [D, H]
7533
- ), g1 = W(
7534
- (m) => (H == null ? void 0 : H.indexOf(m)) === 0 ? (
7532
+ [G, A]
7533
+ ), g1 = j(
7534
+ (m) => (A == null ? void 0 : A.indexOf(m)) === 0 ? (
7535
7535
  // if the search input is empty
7536
7536
  // then display the placeholder, else do not display it
7537
- /* @__PURE__ */ r("span", { className: "custom-placeholder", children: P ? t : "" })
7538
- ) : /* @__PURE__ */ r(s1, {}),
7539
- [P, H, t]
7540
- ), v1 = (m) => {
7537
+ /* @__PURE__ */ r("span", { className: "custom-placeholder", children: K ? t : "" })
7538
+ ) : /* @__PURE__ */ r(i1, {}),
7539
+ [K, A, t]
7540
+ ), L1 = (m) => {
7541
7541
  m.preventDefault(), m.stopPropagation();
7542
- }, N1 = async (m) => {
7543
- const { target: V } = m;
7544
- V.scrollTop + V.offsetHeight >= V.scrollHeight - a && (p == null || p(!0)), L && await L(m);
7545
- }, l1 = W(
7542
+ }, v1 = async (m) => {
7543
+ const { target: _ } = m;
7544
+ _.scrollTop + _.offsetHeight >= _.scrollHeight - a && (f == null || f(!0)), k && await k(m);
7545
+ }, o1 = j(
7546
7546
  (m) => {
7547
- var V, T;
7548
- return ((V = l.find((C1) => C1.value === m)) == null ? void 0 : V.label) || ((T = v == null ? void 0 : v.find(
7549
- (C1) => C1.value === m
7550
- )) == null ? void 0 : T.label) || m;
7547
+ var _, O;
7548
+ return ((_ = l.find((l1) => l1.value === m)) == null ? void 0 : _.label) || ((O = N == null ? void 0 : N.find(
7549
+ (l1) => l1.value === m
7550
+ )) == null ? void 0 : O.label) || m;
7551
7551
  },
7552
- [v, l]
7553
- ), I = W(
7552
+ [N, l]
7553
+ ), N1 = j(
7554
7554
  (m) => {
7555
- var V;
7555
+ var _;
7556
7556
  return /* @__PURE__ */ r(
7557
- R3,
7557
+ y3,
7558
7558
  {
7559
7559
  values: m,
7560
- onTagClose: i1,
7561
- maxWidth: ((V = U.current) == null ? void 0 : V.clientWidth) || 0,
7560
+ onTagClose: t1,
7561
+ maxWidth: ((_ = U.current) == null ? void 0 : _.clientWidth) || 0,
7562
7562
  disabled: o,
7563
- closable: !f,
7563
+ closable: !p,
7564
7564
  options: l,
7565
- extraOptions: v
7565
+ extraOptions: N
7566
7566
  }
7567
7567
  );
7568
7568
  },
7569
- [o, v, i1, l, f]
7570
- ), G = W(
7571
- ({ label: m, value: V, mode: T }) => T === "filter" ? g1(V) : /* @__PURE__ */ r("div", { onMouseDown: v1, className: "tag-wrapper", children: /* @__PURE__ */ r(ce, { onClose: () => i1(V), disabled: o, children: typeof m == "object" ? m : l1(V) }) }),
7572
- [o, l1, i1, g1]
7573
- ), Q = Array.isArray(H) && H.length > 0 || !!H && typeof H == "string" && H.trim() !== "";
7569
+ [o, N, t1, l, p]
7570
+ ), I = j(
7571
+ ({ label: m, value: _, mode: O }) => O === "filter" ? g1(_) : /* @__PURE__ */ r("div", { onMouseDown: L1, className: "tag-wrapper", children: /* @__PURE__ */ r(ce, { onClose: () => t1(_), disabled: o, children: typeof m == "object" ? m : o1(_) }) }),
7572
+ [o, o1, t1, g1]
7573
+ ), $ = Array.isArray(A) && A.length > 0 || !!A && typeof A == "string" && A.trim() !== "";
7574
7574
  return /* @__PURE__ */ C(
7575
7575
  "div",
7576
7576
  {
7577
- className: `snmt-select-1-15-6 ${Z ? "snmt-select-focused" : ""}
7578
- ${s ? "" : "snmt-select-single"} ${f ? "snmt-select-read-only" : ""}`,
7577
+ className: `snmt-select-1-15-6 ${F ? "snmt-select-focused" : ""}
7578
+ ${s ? "" : "snmt-select-single"} ${p ? "snmt-select-read-only" : ""}`,
7579
7579
  ref: U,
7580
7580
  style: { width: c },
7581
7581
  children: [
7582
7582
  /* @__PURE__ */ r(
7583
- Le,
7583
+ ve,
7584
7584
  {
7585
7585
  className: "snmt-select-blank",
7586
- popupClassName: f ? "dropdown-read-only" : "",
7586
+ popupClassName: p ? "dropdown-read-only" : "",
7587
7587
  id: x,
7588
- ref: N,
7588
+ ref: v,
7589
7589
  showSearch: !!n,
7590
- filterOption: n && e1,
7590
+ filterOption: n && X,
7591
7591
  onDropdownVisibleChange: q,
7592
7592
  disabled: o,
7593
- value: H || void 0,
7594
- labelRender: (m) => l1(m.value),
7593
+ value: A || void 0,
7594
+ labelRender: (m) => o1(m.value),
7595
7595
  mode: s === "filter" ? "multiple" : s,
7596
- onChange: D,
7597
- onFocus: A,
7598
- onBlur: F,
7596
+ onChange: G,
7597
+ onFocus: B,
7598
+ onBlur: P,
7599
7599
  onSearch: (m) => {
7600
- J(!m), h && h(m);
7600
+ z(!m), h && h(m);
7601
7601
  },
7602
- onSelect: () => J(!0),
7603
- onDeselect: () => J(!0),
7604
- tagRender: (m) => G({ ...m, mode: s }),
7602
+ onSelect: () => z(!0),
7603
+ onDeselect: () => z(!0),
7604
+ tagRender: (m) => I({ ...m, mode: s }),
7605
7605
  maxTagCount: "responsive",
7606
- maxTagPlaceholder: I,
7607
- onPopupScroll: N1,
7608
- prefix: _ && /* @__PURE__ */ r(T1, { size: 15 }),
7609
- suffixIcon: /* @__PURE__ */ r("div", { className: "wrapper-suffix-icon", children: s !== "filter" && /* @__PURE__ */ C(s1, { children: [
7610
- H && !!H.length && (s || g) && /* @__PURE__ */ r("div", { onClick: t1, children: /* @__PURE__ */ r(
7611
- u1,
7606
+ maxTagPlaceholder: N1,
7607
+ onPopupScroll: v1,
7608
+ prefix: V && /* @__PURE__ */ r(T1, { size: 15 }),
7609
+ suffixIcon: /* @__PURE__ */ r("div", { className: "wrapper-suffix-icon", children: s !== "filter" && /* @__PURE__ */ C(i1, { children: [
7610
+ A && !!A.length && (s || g) && /* @__PURE__ */ r("div", { onClick: e1, children: /* @__PURE__ */ r(
7611
+ C1,
7612
7612
  {
7613
7613
  name: "cancel",
7614
- color: o ? X.GREY_DARK_1 : X.GREY_DARK_5
7614
+ color: o ? Q.GREY_DARK_1 : Q.GREY_DARK_5
7615
7615
  }
7616
7616
  ) }),
7617
7617
  /* @__PURE__ */ r(
7618
- u1,
7618
+ C1,
7619
7619
  {
7620
7620
  name: "selectArrowIcon",
7621
- color: o ? X.GREY_DARK_1 : X.GREY_DARK_5,
7621
+ color: o ? Q.GREY_DARK_1 : Q.GREY_DARK_5,
7622
7622
  className: w ? "select-arrow-rotated" : "select-arrow",
7623
- onClick: () => S(!w)
7623
+ onClick: () => H(!w)
7624
7624
  }
7625
7625
  )
7626
7626
  ] }) }),
7627
- removeIcon: /* @__PURE__ */ r(u1, { name: "errorSmall", color: X.GREY_DARK_2 }),
7627
+ removeIcon: /* @__PURE__ */ r(C1, { name: "errorSmall", color: Q.GREY_DARK_2 }),
7628
7628
  options: l,
7629
- optionRender: (m) => b ? b(m.data) : /* @__PURE__ */ C(f1, { justifyContent: "space-between", alignItems: "center", flex: "1", children: [
7630
- /* @__PURE__ */ C(f1, { alignItems: "center", gap: 12, children: [
7629
+ optionRender: (m) => b ? b(m.data) : /* @__PURE__ */ C(p1, { justifyContent: "space-between", alignItems: "center", flex: "1", children: [
7630
+ /* @__PURE__ */ C(p1, { alignItems: "center", gap: 12, children: [
7631
7631
  s && /* @__PURE__ */ r(
7632
- Ue,
7632
+ ze,
7633
7633
  {
7634
- checked: !!(H != null && H.includes(m.value))
7634
+ checked: !!(A != null && A.includes(m.value))
7635
7635
  }
7636
7636
  ),
7637
- /* @__PURE__ */ C(f1, { alignItems: "center", gap: 8, children: [
7638
- m.data.image && /* @__PURE__ */ r(Ye, { src: m.data.image, size: 20 }),
7637
+ /* @__PURE__ */ C(p1, { alignItems: "center", gap: 8, children: [
7638
+ m.data.image && /* @__PURE__ */ r(Ue, { src: m.data.image, size: 20 }),
7639
7639
  /* @__PURE__ */ r("span", { children: m.label })
7640
7640
  ] })
7641
7641
  ] }),
7642
- !s && H === m.value && /* @__PURE__ */ r(
7643
- u1,
7642
+ !s && A === m.value && /* @__PURE__ */ r(
7643
+ C1,
7644
7644
  {
7645
7645
  name: "ok",
7646
- color: X.BLUE_PRIMARY,
7646
+ color: Q.BLUE_PRIMARY,
7647
7647
  width: 16,
7648
7648
  height: 16
7649
7649
  }
@@ -7651,38 +7651,38 @@ const R3 = ({
7651
7651
  ] }),
7652
7652
  dropdownRender: (m) => /* @__PURE__ */ C("div", { className: "dropdown-container", children: [
7653
7653
  /* @__PURE__ */ r("div", { className: "dropdown-menu", children: E ? E(m) : m }),
7654
- _ && /* @__PURE__ */ r("div", { className: "loading-overlay", children: /* @__PURE__ */ r(T1, { size: 28 }) })
7654
+ V && /* @__PURE__ */ r("div", { className: "loading-overlay", children: /* @__PURE__ */ r(T1, { size: 28 }) })
7655
7655
  ] })
7656
7656
  }
7657
7657
  ),
7658
- t && /* @__PURE__ */ C(s1, { children: [
7658
+ t && /* @__PURE__ */ C(i1, { children: [
7659
7659
  /* @__PURE__ */ r(
7660
7660
  "label",
7661
7661
  {
7662
- className: `${Z || Q ? "label-floating" : ""} ${o ? "label-disabled" : ""} ${Z ? "label-focused" : ""} ${_ ? "label-loading" : ""} ${k ? "label-error" : ""}`,
7662
+ className: `${F || $ ? "label-floating" : ""} ${o ? "label-disabled" : ""} ${F ? "label-focused" : ""} ${V ? "label-loading" : ""} ${L ? "label-error" : ""}`,
7663
7663
  children: d ? `${t}*` : t
7664
7664
  }
7665
7665
  ),
7666
7666
  /* @__PURE__ */ r(
7667
7667
  "fieldset",
7668
7668
  {
7669
- className: `${Z ? "fieldset-focused" : ""} ${o ? "fieldset-disabled" : ""} ${Q ? "fieldset-filled" : ""} ${k ? "fieldset-error" : ""}`,
7669
+ className: `${F ? "fieldset-focused" : ""} ${o ? "fieldset-disabled" : ""} ${$ ? "fieldset-filled" : ""} ${L ? "fieldset-error" : ""}`,
7670
7670
  children: /* @__PURE__ */ r("legend", { children: /* @__PURE__ */ r("span", { children: d ? `${t}*` : t }) })
7671
7671
  }
7672
7672
  )
7673
7673
  ] }),
7674
- k && /* @__PURE__ */ C(f1, { justifyContent: "flex-start", gap: 6, children: [
7675
- /* @__PURE__ */ r(u1, { name: "attention", color: X.NOTIFICATION_ERROR_DARK }),
7676
- typeof k == "string" ? /* @__PURE__ */ r(N3, { color: X.NOTIFICATION_ERROR_DARK, variant: "body4", children: k }) : k
7674
+ L && /* @__PURE__ */ C(p1, { justifyContent: "flex-start", gap: 6, children: [
7675
+ /* @__PURE__ */ r(C1, { name: "attention", color: Q.NOTIFICATION_ERROR_DARK }),
7676
+ typeof L == "string" ? /* @__PURE__ */ r(x3, { color: Q.NOTIFICATION_ERROR_DARK, variant: "body4", children: L }) : L
7677
7677
  ] })
7678
7678
  ]
7679
7679
  }
7680
7680
  );
7681
7681
  }
7682
7682
  );
7683
- function y3(i, e = 500) {
7683
+ function b3(i, e = 500) {
7684
7684
  const t = Y();
7685
- return B(() => () => {
7685
+ return Z(() => () => {
7686
7686
  t.current && clearTimeout(t.current);
7687
7687
  }, []), (...s) => {
7688
7688
  const n = setTimeout(() => {
@@ -7693,13 +7693,13 @@ function y3(i, e = 500) {
7693
7693
  }
7694
7694
  function K1(i) {
7695
7695
  const e = Y(i);
7696
- return B(() => {
7696
+ return Z(() => {
7697
7697
  e.current = i;
7698
7698
  }, [i]), e.current;
7699
7699
  }
7700
- const V1 = 100, a1 = {
7700
+ const E1 = 100, a1 = {
7701
7701
  offset: 0
7702
- }, b3 = L1(
7702
+ }, _3 = k1(
7703
7703
  ({
7704
7704
  loadOptions: i,
7705
7705
  width: e,
@@ -7714,192 +7714,195 @@ const V1 = 100, a1 = {
7714
7714
  preloadOptions: a,
7715
7715
  extraOptions: h,
7716
7716
  onDropdownVisibleChange: u,
7717
- optionRender: p,
7718
- dropdownRender: L,
7717
+ optionRender: f,
7718
+ dropdownRender: k,
7719
7719
  readOnly: x,
7720
- clearable: v,
7721
- required: E = !1
7722
- }, b) => {
7723
- const [_, f] = O(), [k, N] = O(a1), [w, S] = O(!1), [Z, K] = O(), [P, J] = O(!1), [H, $] = O(
7720
+ clearable: N = !1,
7721
+ required: E = !1,
7722
+ error: b
7723
+ }, V) => {
7724
+ const [p, L] = S(), [v, w] = S(a1), [H, F] = S(!1), [W, K] = S(), [z, A] = S(!1), [T, U] = S(
7724
7725
  h ?? []
7725
- ), U = K1(k.offset), q = K1(Z), [e1, A] = O(!1), F = Y(!1), D = W(
7726
+ ), q = K1(v.offset), X = K1(W), [B, P] = S(!1), G = Y(!1), e1 = j(
7726
7727
  async ({
7727
- limit: I = V1,
7728
- offset: G,
7729
- search: Q
7728
+ limit: I = E1,
7729
+ offset: $,
7730
+ search: m
7730
7731
  }) => {
7731
- S(!0);
7732
+ F(!0);
7732
7733
  try {
7733
- const m = await i({
7734
+ const _ = await i({
7734
7735
  limit: I,
7735
- offset: G,
7736
- search: Q
7736
+ offset: $,
7737
+ search: m
7737
7738
  });
7738
- f(
7739
- (V) => G === 0 ? m.options : [...V ?? [], ...m.options]
7740
- ), N((V) => ({
7741
- ...V,
7742
- count: m.count
7739
+ L(
7740
+ (O) => $ === 0 ? _.options : [...O ?? [], ..._.options]
7741
+ ), w((O) => ({
7742
+ ...O,
7743
+ count: _.count
7743
7744
  }));
7744
- } catch (m) {
7745
- return console.error("AsyncSelect. fetchOptions error", m), [];
7745
+ } catch (_) {
7746
+ return console.error("AsyncSelect. fetchOptions error", _), [];
7746
7747
  } finally {
7747
- S(!1);
7748
+ F(!1);
7748
7749
  }
7749
7750
  },
7750
7751
  [i]
7751
- ), t1 = y3((I) => {
7752
- K(I), I || N(a1);
7753
- }), i1 = W(
7752
+ ), t1 = b3((I) => {
7753
+ K(I), I || w(a1);
7754
+ }), g1 = j(
7754
7755
  (I) => t1(I),
7755
7756
  [t1]
7756
- ), g1 = W(
7757
+ ), L1 = j(
7757
7758
  async (I) => {
7758
- w || I && k.count && k.count > ((_ == null ? void 0 : _.length) ?? 0) && N((G) => ({
7759
- ...G,
7760
- offset: G.offset + V1
7759
+ H || I && v.count && v.count > ((p == null ? void 0 : p.length) ?? 0) && w(($) => ({
7760
+ ...$,
7761
+ offset: $.offset + E1
7761
7762
  }));
7762
7763
  },
7763
- [w, _ == null ? void 0 : _.length, k.count]
7764
- ), v1 = W(
7764
+ [H, p == null ? void 0 : p.length, v.count]
7765
+ ), v1 = j(
7765
7766
  (I) => {
7766
- J(I), !I && Z && (K(void 0), N(a1), A(!0)), u == null || u(I);
7767
+ A(I), !I && W && (K(void 0), w(a1), P(!0)), u == null || u(I);
7767
7768
  },
7768
- [u, Z]
7769
+ [u, W]
7769
7770
  );
7770
- B(() => {
7771
- !F.current || w || (e1 || P && (U !== k.offset || q !== Z || !_)) && (D({ offset: k.offset, limit: V1, search: Z }), e1 && A(!1));
7772
- }, [e1, P, k.offset, Z, U, q, _, w]), B(() => {
7773
- (g || a) && D(a1), F.current = !0;
7774
- }, []), B(() => {
7775
- h && $((I) => {
7776
- const G = h.filter(
7777
- (Q) => !I.some((m) => m.value === Q.value)
7771
+ Z(() => {
7772
+ !G.current || H || (B || z && (q !== v.offset || X !== W || !p)) && (e1({ offset: v.offset, limit: E1, search: W }), B && P(!1));
7773
+ }, [B, z, v.offset, W, q, X, p, H]), Z(() => {
7774
+ (g || a) && e1(a1), G.current = !0;
7775
+ }, []), Z(() => {
7776
+ h && U((I) => {
7777
+ const $ = h.filter(
7778
+ (m) => !I.some((_) => _.value === m.value)
7778
7779
  );
7779
- return [...I, ...G];
7780
+ return [...I, ...$];
7780
7781
  });
7781
7782
  }, [h]);
7782
- const N1 = W(
7783
+ const o1 = j(
7783
7784
  (I) => {
7784
7785
  t && t(I);
7785
- let G = [];
7786
- if (d ? G = Array.isArray(I) ? I : [] : G = I ? [I] : [], Z) {
7787
- const Q = G.filter(
7788
- (m) => !(H != null && H.some((V) => V.value === m))
7786
+ let $ = [];
7787
+ if (d ? $ = Array.isArray(I) ? I : [] : $ = I ? [I] : [], W) {
7788
+ const m = $.filter(
7789
+ (_) => !(T != null && T.some((O) => O.value === _))
7789
7790
  );
7790
- Q.length > 0 && $((m = []) => [
7791
- ...m,
7792
- ...Q.map((V) => {
7793
- const T = _ == null ? void 0 : _.find((C1) => C1.value === V);
7791
+ m.length > 0 && U((_ = []) => [
7792
+ ..._,
7793
+ ...m.map((O) => {
7794
+ const l1 = p == null ? void 0 : p.find((fe) => fe.value === O);
7794
7795
  return {
7795
- value: V,
7796
- label: (T == null ? void 0 : T.label) ?? V
7796
+ value: O,
7797
+ label: (l1 == null ? void 0 : l1.label) ?? O
7797
7798
  };
7798
7799
  })
7799
- ]), K(void 0), N(a1), A(!0);
7800
+ ]), K(void 0), w(a1), P(!0);
7800
7801
  }
7801
7802
  },
7802
- [t, Z, d, _, H]
7803
- ), l1 = ke(
7803
+ [t, W, d, p, T]
7804
+ ), N1 = Le(
7804
7805
  () => ({
7805
7806
  id: n,
7806
7807
  width: e,
7807
- options: _ || [],
7808
- onChange: N1,
7809
- ref: b,
7808
+ options: p || [],
7809
+ onChange: o1,
7810
+ ref: V,
7810
7811
  placeholder: o,
7811
7812
  search: !0,
7812
7813
  value: s,
7813
- onSearchChange: i1,
7814
+ onSearchChange: g1,
7814
7815
  onDropdownVisibleChange: v1,
7815
7816
  scrollThresholdValue: c,
7816
- onScrollToEnd: g1,
7817
+ onScrollToEnd: L1,
7817
7818
  disabled: l,
7818
- extraOptions: H,
7819
- isLoading: w,
7820
- optionRender: p,
7821
- dropdownRender: L,
7819
+ extraOptions: T,
7820
+ isLoading: H,
7821
+ optionRender: f,
7822
+ dropdownRender: k,
7822
7823
  readOnly: x,
7823
- clearable: v,
7824
- required: E
7824
+ clearable: N,
7825
+ required: E,
7826
+ error: b
7825
7827
  }),
7826
7828
  [
7827
7829
  n,
7828
7830
  e,
7829
- _,
7830
- N1,
7831
- b,
7831
+ p,
7832
+ o1,
7833
+ V,
7832
7834
  o,
7833
7835
  s,
7834
- i1,
7836
+ g1,
7835
7837
  v1,
7836
7838
  c,
7837
- g1,
7839
+ L1,
7838
7840
  l,
7841
+ T,
7839
7842
  H,
7840
- w,
7841
- p,
7842
- L,
7843
+ f,
7844
+ k,
7843
7845
  x,
7844
- v,
7845
- E
7846
+ N,
7847
+ E,
7848
+ b
7846
7849
  ]
7847
7850
  );
7848
- return ne(b, () => ({
7851
+ return ne(V, () => ({
7849
7852
  refetchOptions: async () => {
7850
- N(a1), K(void 0), A(!0);
7853
+ w(a1), K(void 0), P(!0);
7851
7854
  }
7852
- })), d ? /* @__PURE__ */ r(G1, { ...l1, value: s, mode: d }) : /* @__PURE__ */ r("div", { className: "snmt-async-select", children: /* @__PURE__ */ r(G1, { ...l1, value: s }) });
7855
+ })), d ? /* @__PURE__ */ r(G1, { ...N1, value: s, mode: d }) : /* @__PURE__ */ r("div", { className: "snmt-async-select", children: /* @__PURE__ */ r(G1, { ...N1, value: s }) });
7853
7856
  }
7854
- ), y = (i) => typeof i == "string", p1 = () => {
7857
+ ), y = (i) => typeof i == "string", u1 = () => {
7855
7858
  let i, e;
7856
7859
  const t = new Promise((s, n) => {
7857
7860
  i = s, e = n;
7858
7861
  });
7859
7862
  return t.resolve = i, t.reject = e, t;
7860
- }, P1 = (i) => i == null ? "" : "" + i, _3 = (i, e, t) => {
7863
+ }, P1 = (i) => i == null ? "" : "" + i, E3 = (i, e, t) => {
7861
7864
  i.forEach((s) => {
7862
7865
  e[s] && (t[s] = e[s]);
7863
7866
  });
7864
- }, V3 = /###/g, $1 = (i) => i && i.indexOf("###") > -1 ? i.replace(V3, ".") : i, F1 = (i) => !i || y(i), m1 = (i, e, t) => {
7867
+ }, V3 = /###/g, $1 = (i) => i && i.indexOf("###") > -1 ? i.replace(V3, ".") : i, Y1 = (i) => !i || y(i), w1 = (i, e, t) => {
7865
7868
  const s = y(e) ? e.split(".") : e;
7866
7869
  let n = 0;
7867
7870
  for (; n < s.length - 1; ) {
7868
- if (F1(i)) return {};
7871
+ if (Y1(i)) return {};
7869
7872
  const l = $1(s[n]);
7870
7873
  !i[l] && t && (i[l] = new t()), Object.prototype.hasOwnProperty.call(i, l) ? i = i[l] : i = {}, ++n;
7871
7874
  }
7872
- return F1(i) ? {} : {
7875
+ return Y1(i) ? {} : {
7873
7876
  obj: i,
7874
7877
  k: $1(s[n])
7875
7878
  };
7876
- }, Y1 = (i, e, t) => {
7879
+ }, F1 = (i, e, t) => {
7877
7880
  const {
7878
7881
  obj: s,
7879
7882
  k: n
7880
- } = m1(i, e, Object);
7883
+ } = w1(i, e, Object);
7881
7884
  if (s !== void 0 || e.length === 1) {
7882
7885
  s[n] = t;
7883
7886
  return;
7884
7887
  }
7885
- let l = e[e.length - 1], c = e.slice(0, e.length - 1), o = m1(i, c, Object);
7888
+ let l = e[e.length - 1], c = e.slice(0, e.length - 1), o = w1(i, c, Object);
7886
7889
  for (; o.obj === void 0 && c.length; )
7887
- l = `${c[c.length - 1]}.${l}`, c = c.slice(0, c.length - 1), o = m1(i, c, Object), o && o.obj && typeof o.obj[`${o.k}.${l}`] < "u" && (o.obj = void 0);
7890
+ l = `${c[c.length - 1]}.${l}`, c = c.slice(0, c.length - 1), o = w1(i, c, Object), o && o.obj && typeof o.obj[`${o.k}.${l}`] < "u" && (o.obj = void 0);
7888
7891
  o.obj[`${o.k}.${l}`] = t;
7889
- }, E3 = (i, e, t, s) => {
7892
+ }, H3 = (i, e, t, s) => {
7890
7893
  const {
7891
7894
  obj: n,
7892
7895
  k: l
7893
- } = m1(i, e, Object);
7896
+ } = w1(i, e, Object);
7894
7897
  n[l] = n[l] || [], n[l].push(t);
7895
7898
  }, M1 = (i, e) => {
7896
7899
  const {
7897
7900
  obj: t,
7898
7901
  k: s
7899
- } = m1(i, e);
7902
+ } = w1(i, e);
7900
7903
  if (t)
7901
7904
  return t[s];
7902
- }, H3 = (i, e, t) => {
7905
+ }, I3 = (i, e, t) => {
7903
7906
  const s = M1(i, t);
7904
7907
  return s !== void 0 ? s : M1(e, t);
7905
7908
  }, de = (i, e, t) => {
@@ -7907,7 +7910,7 @@ const V1 = 100, a1 = {
7907
7910
  s !== "__proto__" && s !== "constructor" && (s in i ? y(i[s]) || i[s] instanceof String || y(e[s]) || e[s] instanceof String ? t && (i[s] = e[s]) : de(i[s], e[s], t) : i[s] = e[s]);
7908
7911
  return i;
7909
7912
  }, h1 = (i) => i.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
7910
- var I3 = {
7913
+ var O3 = {
7911
7914
  "&": "&amp;",
7912
7915
  "<": "&lt;",
7913
7916
  ">": "&gt;",
@@ -7915,8 +7918,8 @@ var I3 = {
7915
7918
  "'": "&#39;",
7916
7919
  "/": "&#x2F;"
7917
7920
  };
7918
- const O3 = (i) => y(i) ? i.replace(/[&<>"'\/]/g, (e) => I3[e]) : i;
7919
- class S3 {
7921
+ const S3 = (i) => y(i) ? i.replace(/[&<>"'\/]/g, (e) => O3[e]) : i;
7922
+ class A3 {
7920
7923
  constructor(e) {
7921
7924
  this.capacity = e, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = [];
7922
7925
  }
@@ -7928,11 +7931,11 @@ class S3 {
7928
7931
  return this.regExpQueue.length === this.capacity && this.regExpMap.delete(this.regExpQueue.shift()), this.regExpMap.set(e, s), this.regExpQueue.push(e), s;
7929
7932
  }
7930
7933
  }
7931
- const A3 = [" ", ",", "?", "!", ";"], B3 = new S3(20), Z3 = (i, e, t) => {
7934
+ const B3 = [" ", ",", "?", "!", ";"], Z3 = new A3(20), W3 = (i, e, t) => {
7932
7935
  e = e || "", t = t || "";
7933
- const s = A3.filter((c) => e.indexOf(c) < 0 && t.indexOf(c) < 0);
7936
+ const s = B3.filter((c) => e.indexOf(c) < 0 && t.indexOf(c) < 0);
7934
7937
  if (s.length === 0) return !0;
7935
- const n = B3.getRegExp(`(${s.map((c) => c === "?" ? "\\?" : c).join("|")})`);
7938
+ const n = Z3.getRegExp(`(${s.map((c) => c === "?" ? "\\?" : c).join("|")})`);
7936
7939
  let l = !n.test(i);
7937
7940
  if (!l) {
7938
7941
  const c = i.indexOf(t);
@@ -7959,7 +7962,7 @@ const A3 = [" ", ",", "?", "!", ";"], B3 = new S3(20), Z3 = (i, e, t) => {
7959
7962
  n = c;
7960
7963
  }
7961
7964
  return n;
7962
- }, R1 = (i) => i && i.replace("_", "-"), W3 = {
7965
+ }, R1 = (i) => i && i.replace("_", "-"), j3 = {
7963
7966
  type: "logger",
7964
7967
  log(i) {
7965
7968
  this.output("log", i);
@@ -7981,7 +7984,7 @@ class y1 {
7981
7984
  }
7982
7985
  init(e) {
7983
7986
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
7984
- this.prefix = t.prefix || "i18next:", this.logger = e || W3, this.options = t, this.debug = t.debug;
7987
+ this.prefix = t.prefix || "i18next:", this.logger = e || j3, this.options = t, this.debug = t.debug;
7985
7988
  }
7986
7989
  log() {
7987
7990
  for (var e = arguments.length, t = new Array(e), s = 0; s < e; s++)
@@ -8016,7 +8019,7 @@ class y1 {
8016
8019
  return e = e || this.options, e.prefix = e.prefix || this.prefix, new y1(this.logger, e);
8017
8020
  }
8018
8021
  }
8019
- var z = new y1();
8022
+ var J = new y1();
8020
8023
  class _1 {
8021
8024
  constructor() {
8022
8025
  this.observers = {};
@@ -8080,7 +8083,7 @@ class U1 extends _1 {
8080
8083
  };
8081
8084
  const c = l.keySeparator !== void 0 ? l.keySeparator : this.options.keySeparator;
8082
8085
  let o = [e, t];
8083
- s && (o = o.concat(c ? s.split(c) : s)), e.indexOf(".") > -1 && (o = e.split("."), n = t, t = o[1]), this.addNamespaces(t), Y1(this.data, o, n), l.silent || this.emit("added", e, t, s, n);
8086
+ s && (o = o.concat(c ? s.split(c) : s)), e.indexOf(".") > -1 && (o = e.split("."), n = t, t = o[1]), this.addNamespaces(t), F1(this.data, o, n), l.silent || this.emit("added", e, t, s, n);
8084
8087
  }
8085
8088
  addResources(e, t, s) {
8086
8089
  let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {
@@ -8102,7 +8105,7 @@ class U1 extends _1 {
8102
8105
  c.skipCopy || (s = JSON.parse(JSON.stringify(s))), n ? de(d, s, l) : d = {
8103
8106
  ...d,
8104
8107
  ...s
8105
- }, Y1(this.data, o, d), c.silent || this.emit("added", e, t, s);
8108
+ }, F1(this.data, o, d), c.silent || this.emit("added", e, t, s);
8106
8109
  }
8107
8110
  removeResourceBundle(e, t) {
8108
8111
  this.hasResourceBundle(e, t) && delete this.data[e][t], this.removeNamespaces(t), this.emit("removed", e, t);
@@ -8141,7 +8144,7 @@ const z1 = {};
8141
8144
  class b1 extends _1 {
8142
8145
  constructor(e) {
8143
8146
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
8144
- super(), _3(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = z.create("translator");
8147
+ super(), E3(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = J.create("translator");
8145
8148
  }
8146
8149
  changeLanguage(e) {
8147
8150
  e && (this.language = e);
@@ -8160,7 +8163,7 @@ class b1 extends _1 {
8160
8163
  s === void 0 && (s = ":");
8161
8164
  const n = t.keySeparator !== void 0 ? t.keySeparator : this.options.keySeparator;
8162
8165
  let l = t.ns || this.options.defaultNS || [];
8163
- const c = s && e.indexOf(s) > -1, o = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !Z3(e, s, n);
8166
+ const c = s && e.indexOf(s) > -1, o = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !W3(e, s, n);
8164
8167
  if (c && !o) {
8165
8168
  const d = e.match(this.interpolator.nestingRegexp);
8166
8169
  if (d && d.length > 0)
@@ -8187,15 +8190,15 @@ class b1 extends _1 {
8187
8190
  } = this.extractFromKey(e[e.length - 1], t), d = o[o.length - 1], g = t.lng || this.language, a = t.appendNamespaceToCIMode || this.options.appendNamespaceToCIMode;
8188
8191
  if (g && g.toLowerCase() === "cimode") {
8189
8192
  if (a) {
8190
- const f = t.nsSeparator || this.options.nsSeparator;
8193
+ const p = t.nsSeparator || this.options.nsSeparator;
8191
8194
  return n ? {
8192
- res: `${d}${f}${c}`,
8195
+ res: `${d}${p}${c}`,
8193
8196
  usedKey: c,
8194
8197
  exactUsedKey: c,
8195
8198
  usedLng: g,
8196
8199
  usedNS: d,
8197
8200
  usedParams: this.getUsedParamsDetails(t)
8198
- } : `${d}${f}${c}`;
8201
+ } : `${d}${p}${c}`;
8199
8202
  }
8200
8203
  return n ? {
8201
8204
  res: c,
@@ -8208,64 +8211,64 @@ class b1 extends _1 {
8208
8211
  }
8209
8212
  const h = this.resolve(e, t);
8210
8213
  let u = h && h.res;
8211
- const p = h && h.usedKey || c, L = h && h.exactUsedKey || c, x = Object.prototype.toString.apply(u), v = ["[object Number]", "[object Function]", "[object RegExp]"], E = t.joinArrays !== void 0 ? t.joinArrays : this.options.joinArrays, b = !this.i18nFormat || this.i18nFormat.handleAsObject, _ = !y(u) && typeof u != "boolean" && typeof u != "number";
8212
- if (b && u && _ && v.indexOf(x) < 0 && !(y(E) && Array.isArray(u))) {
8214
+ const f = h && h.usedKey || c, k = h && h.exactUsedKey || c, x = Object.prototype.toString.apply(u), N = ["[object Number]", "[object Function]", "[object RegExp]"], E = t.joinArrays !== void 0 ? t.joinArrays : this.options.joinArrays, b = !this.i18nFormat || this.i18nFormat.handleAsObject, V = !y(u) && typeof u != "boolean" && typeof u != "number";
8215
+ if (b && u && V && N.indexOf(x) < 0 && !(y(E) && Array.isArray(u))) {
8213
8216
  if (!t.returnObjects && !this.options.returnObjects) {
8214
8217
  this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
8215
- const f = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(p, u, {
8218
+ const p = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(f, u, {
8216
8219
  ...t,
8217
8220
  ns: o
8218
8221
  }) : `key '${c} (${this.language})' returned an object instead of string.`;
8219
- return n ? (h.res = f, h.usedParams = this.getUsedParamsDetails(t), h) : f;
8222
+ return n ? (h.res = p, h.usedParams = this.getUsedParamsDetails(t), h) : p;
8220
8223
  }
8221
8224
  if (l) {
8222
- const f = Array.isArray(u), k = f ? [] : {}, N = f ? L : p;
8225
+ const p = Array.isArray(u), L = p ? [] : {}, v = p ? k : f;
8223
8226
  for (const w in u)
8224
8227
  if (Object.prototype.hasOwnProperty.call(u, w)) {
8225
- const S = `${N}${l}${w}`;
8226
- k[w] = this.translate(S, {
8228
+ const H = `${v}${l}${w}`;
8229
+ L[w] = this.translate(H, {
8227
8230
  ...t,
8228
8231
  joinArrays: !1,
8229
8232
  ns: o
8230
- }), k[w] === S && (k[w] = u[w]);
8233
+ }), L[w] === H && (L[w] = u[w]);
8231
8234
  }
8232
- u = k;
8235
+ u = L;
8233
8236
  }
8234
8237
  } else if (b && y(E) && Array.isArray(u))
8235
8238
  u = u.join(E), u && (u = this.extendTranslation(u, e, t, s));
8236
8239
  else {
8237
- let f = !1, k = !1;
8238
- const N = t.count !== void 0 && !y(t.count), w = b1.hasDefaultValue(t), S = N ? this.pluralResolver.getSuffix(g, t.count, t) : "", Z = t.ordinal && N ? this.pluralResolver.getSuffix(g, t.count, {
8240
+ let p = !1, L = !1;
8241
+ const v = t.count !== void 0 && !y(t.count), w = b1.hasDefaultValue(t), H = v ? this.pluralResolver.getSuffix(g, t.count, t) : "", F = t.ordinal && v ? this.pluralResolver.getSuffix(g, t.count, {
8239
8242
  ordinal: !1
8240
- }) : "", K = N && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), P = K && t[`defaultValue${this.options.pluralSeparator}zero`] || t[`defaultValue${S}`] || t[`defaultValue${Z}`] || t.defaultValue;
8241
- !this.isValidLookup(u) && w && (f = !0, u = P), this.isValidLookup(u) || (k = !0, u = c);
8242
- const H = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && k ? void 0 : u, $ = w && P !== u && this.options.updateMissing;
8243
- if (k || f || $) {
8244
- if (this.logger.log($ ? "updateKey" : "missingKey", g, d, c, $ ? P : u), l) {
8245
- const A = this.resolve(c, {
8243
+ }) : "", W = v && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), K = W && t[`defaultValue${this.options.pluralSeparator}zero`] || t[`defaultValue${H}`] || t[`defaultValue${F}`] || t.defaultValue;
8244
+ !this.isValidLookup(u) && w && (p = !0, u = K), this.isValidLookup(u) || (L = !0, u = c);
8245
+ const A = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && L ? void 0 : u, T = w && K !== u && this.options.updateMissing;
8246
+ if (L || p || T) {
8247
+ if (this.logger.log(T ? "updateKey" : "missingKey", g, d, c, T ? K : u), l) {
8248
+ const B = this.resolve(c, {
8246
8249
  ...t,
8247
8250
  keySeparator: !1
8248
8251
  });
8249
- A && A.res && this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.");
8252
+ 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.");
8250
8253
  }
8251
8254
  let U = [];
8252
8255
  const q = this.languageUtils.getFallbackCodes(this.options.fallbackLng, t.lng || this.language);
8253
8256
  if (this.options.saveMissingTo === "fallback" && q && q[0])
8254
- for (let A = 0; A < q.length; A++)
8255
- U.push(q[A]);
8257
+ for (let B = 0; B < q.length; B++)
8258
+ U.push(q[B]);
8256
8259
  else this.options.saveMissingTo === "all" ? U = this.languageUtils.toResolveHierarchy(t.lng || this.language) : U.push(t.lng || this.language);
8257
- const e1 = (A, F, D) => {
8258
- const t1 = w && D !== u ? D : H;
8259
- this.options.missingKeyHandler ? this.options.missingKeyHandler(A, d, F, t1, $, t) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(A, d, F, t1, $, t), this.emit("missingKey", A, d, F, u);
8260
+ const X = (B, P, G) => {
8261
+ const e1 = w && G !== u ? G : A;
8262
+ this.options.missingKeyHandler ? this.options.missingKeyHandler(B, d, P, e1, T, t) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(B, d, P, e1, T, t), this.emit("missingKey", B, d, P, u);
8260
8263
  };
8261
- this.options.saveMissing && (this.options.saveMissingPlurals && N ? U.forEach((A) => {
8262
- const F = this.pluralResolver.getSuffixes(A, t);
8263
- K && t[`defaultValue${this.options.pluralSeparator}zero`] && F.indexOf(`${this.options.pluralSeparator}zero`) < 0 && F.push(`${this.options.pluralSeparator}zero`), F.forEach((D) => {
8264
- e1([A], c + D, t[`defaultValue${D}`] || P);
8264
+ this.options.saveMissing && (this.options.saveMissingPlurals && v ? U.forEach((B) => {
8265
+ const P = this.pluralResolver.getSuffixes(B, t);
8266
+ W && t[`defaultValue${this.options.pluralSeparator}zero`] && P.indexOf(`${this.options.pluralSeparator}zero`) < 0 && P.push(`${this.options.pluralSeparator}zero`), P.forEach((G) => {
8267
+ X([B], c + G, t[`defaultValue${G}`] || K);
8265
8268
  });
8266
- }) : e1(U, c, P));
8269
+ }) : X(U, c, K));
8267
8270
  }
8268
- u = this.extendTranslation(u, e, t, h, s), k && u === c && this.options.appendNamespaceToMissingKey && (u = `${d}:${c}`), (k || f) && this.options.parseMissingKeyHandler && (this.options.compatibilityAPI !== "v1" ? u = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${d}:${c}` : c, f ? u : void 0) : u = this.options.parseMissingKeyHandler(u));
8271
+ u = this.extendTranslation(u, e, t, h, s), L && u === c && this.options.appendNamespaceToMissingKey && (u = `${d}:${c}`), (L || p) && this.options.parseMissingKeyHandler && (this.options.compatibilityAPI !== "v1" ? u = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${d}:${c}` : c, p ? u : void 0) : u = this.options.parseMissingKeyHandler(u));
8269
8272
  }
8270
8273
  return n ? (h.res = u, h.usedParams = this.getUsedParamsDetails(t), h) : u;
8271
8274
  }
@@ -8297,13 +8300,13 @@ class b1 extends _1 {
8297
8300
  ...this.options.interpolation.defaultVariables,
8298
8301
  ...h
8299
8302
  }), e = this.interpolator.interpolate(e, h, s.lng || this.language || n.usedLng, s), g) {
8300
- const u = e.match(this.interpolator.nestingRegexp), p = u && u.length;
8301
- a < p && (s.nest = !1);
8303
+ const u = e.match(this.interpolator.nestingRegexp), f = u && u.length;
8304
+ a < f && (s.nest = !1);
8302
8305
  }
8303
8306
  !s.lng && this.options.compatibilityAPI !== "v1" && n && n.res && (s.lng = this.language || n.usedLng), s.nest !== !1 && (e = this.interpolator.nest(e, function() {
8304
- for (var u = arguments.length, p = new Array(u), L = 0; L < u; L++)
8305
- p[L] = arguments[L];
8306
- return l && l[0] === p[0] && !s.context ? (c.logger.warn(`It seems you are nesting recursively key: ${p[0]} in key: ${t[0]}`), null) : c.translate(...p, t);
8307
+ for (var u = arguments.length, f = new Array(u), k = 0; k < u; k++)
8308
+ f[k] = arguments[k];
8309
+ return l && l[0] === f[0] && !s.context ? (c.logger.warn(`It seems you are nesting recursively key: ${f[0]} in key: ${t[0]}`), null) : c.translate(...f, t);
8307
8310
  }, s)), s.interpolation && this.interpolator.reset();
8308
8311
  }
8309
8312
  const o = s.postProcess || this.options.postProcess, d = y(o) ? [o] : o;
@@ -8323,26 +8326,26 @@ class b1 extends _1 {
8323
8326
  n = a;
8324
8327
  let h = g.namespaces;
8325
8328
  this.options.fallbackNS && (h = h.concat(this.options.fallbackNS));
8326
- const u = t.count !== void 0 && !y(t.count), p = u && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), L = t.context !== void 0 && (y(t.context) || typeof t.context == "number") && t.context !== "", x = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
8327
- h.forEach((v) => {
8328
- this.isValidLookup(s) || (o = v, !z1[`${x[0]}-${v}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(o) && (z1[`${x[0]}-${v}`] = !0, this.logger.warn(`key "${n}" for languages "${x.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), x.forEach((E) => {
8329
+ const u = t.count !== void 0 && !y(t.count), f = u && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), k = t.context !== void 0 && (y(t.context) || typeof t.context == "number") && t.context !== "", x = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
8330
+ h.forEach((N) => {
8331
+ this.isValidLookup(s) || (o = N, !z1[`${x[0]}-${N}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(o) && (z1[`${x[0]}-${N}`] = !0, this.logger.warn(`key "${n}" for languages "${x.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), x.forEach((E) => {
8329
8332
  if (this.isValidLookup(s)) return;
8330
8333
  c = E;
8331
8334
  const b = [a];
8332
8335
  if (this.i18nFormat && this.i18nFormat.addLookupKeys)
8333
- this.i18nFormat.addLookupKeys(b, a, E, v, t);
8336
+ this.i18nFormat.addLookupKeys(b, a, E, N, t);
8334
8337
  else {
8335
- let f;
8336
- u && (f = this.pluralResolver.getSuffix(E, t.count, t));
8337
- const k = `${this.options.pluralSeparator}zero`, N = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
8338
- if (u && (b.push(a + f), t.ordinal && f.indexOf(N) === 0 && b.push(a + f.replace(N, this.options.pluralSeparator)), p && b.push(a + k)), L) {
8338
+ let p;
8339
+ u && (p = this.pluralResolver.getSuffix(E, t.count, t));
8340
+ const L = `${this.options.pluralSeparator}zero`, v = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
8341
+ if (u && (b.push(a + p), t.ordinal && p.indexOf(v) === 0 && b.push(a + p.replace(v, this.options.pluralSeparator)), f && b.push(a + L)), k) {
8339
8342
  const w = `${a}${this.options.contextSeparator}${t.context}`;
8340
- b.push(w), u && (b.push(w + f), t.ordinal && f.indexOf(N) === 0 && b.push(w + f.replace(N, this.options.pluralSeparator)), p && b.push(w + k));
8343
+ b.push(w), u && (b.push(w + p), t.ordinal && p.indexOf(v) === 0 && b.push(w + p.replace(v, this.options.pluralSeparator)), f && b.push(w + L));
8341
8344
  }
8342
8345
  }
8343
- let _;
8344
- for (; _ = b.pop(); )
8345
- this.isValidLookup(s) || (l = _, s = this.getResource(E, v, _, t));
8346
+ let V;
8347
+ for (; V = b.pop(); )
8348
+ this.isValidLookup(s) || (l = V, s = this.getResource(E, N, V, t));
8346
8349
  }));
8347
8350
  });
8348
8351
  }), {
@@ -8384,10 +8387,10 @@ class b1 extends _1 {
8384
8387
  return !1;
8385
8388
  }
8386
8389
  }
8387
- const E1 = (i) => i.charAt(0).toUpperCase() + i.slice(1);
8390
+ const V1 = (i) => i.charAt(0).toUpperCase() + i.slice(1);
8388
8391
  class J1 {
8389
8392
  constructor(e) {
8390
- this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = z.create("languageUtils");
8393
+ this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = J.create("languageUtils");
8391
8394
  }
8392
8395
  getScriptPartFromCode(e) {
8393
8396
  if (e = R1(e), !e || e.indexOf("-") < 0) return null;
@@ -8409,7 +8412,7 @@ class J1 {
8409
8412
  }
8410
8413
  const t = ["hans", "hant", "latn", "cyrl", "cans", "mong", "arab"];
8411
8414
  let s = e.split("-");
8412
- return this.options.lowerCaseLng ? s = s.map((n) => n.toLowerCase()) : s.length === 2 ? (s[0] = s[0].toLowerCase(), s[1] = s[1].toUpperCase(), t.indexOf(s[1].toLowerCase()) > -1 && (s[1] = E1(s[1].toLowerCase()))) : s.length === 3 && (s[0] = s[0].toLowerCase(), s[1].length === 2 && (s[1] = s[1].toUpperCase()), s[0] !== "sgn" && s[2].length === 2 && (s[2] = s[2].toUpperCase()), t.indexOf(s[1].toLowerCase()) > -1 && (s[1] = E1(s[1].toLowerCase())), t.indexOf(s[2].toLowerCase()) > -1 && (s[2] = E1(s[2].toLowerCase()))), s.join("-");
8415
+ return this.options.lowerCaseLng ? s = s.map((n) => n.toLowerCase()) : s.length === 2 ? (s[0] = s[0].toLowerCase(), s[1] = s[1].toUpperCase(), t.indexOf(s[1].toLowerCase()) > -1 && (s[1] = V1(s[1].toLowerCase()))) : s.length === 3 && (s[0] = s[0].toLowerCase(), s[1].length === 2 && (s[1] = s[1].toUpperCase()), s[0] !== "sgn" && s[2].length === 2 && (s[2] = s[2].toUpperCase()), t.indexOf(s[1].toLowerCase()) > -1 && (s[1] = V1(s[1].toLowerCase())), t.indexOf(s[2].toLowerCase()) > -1 && (s[2] = V1(s[2].toLowerCase()))), s.join("-");
8413
8416
  }
8414
8417
  return this.options.cleanCode || this.options.lowerCaseLng ? e.toLowerCase() : e;
8415
8418
  }
@@ -8450,7 +8453,7 @@ class J1 {
8450
8453
  }), n;
8451
8454
  }
8452
8455
  }
8453
- let j3 = [{
8456
+ let D3 = [{
8454
8457
  lngs: ["ach", "ak", "am", "arn", "br", "fil", "gun", "ln", "mfe", "mg", "mi", "oc", "pt", "pt-BR", "tg", "tl", "ti", "tr", "uz", "wa"],
8455
8458
  nr: [1, 2],
8456
8459
  fc: 1
@@ -8542,7 +8545,7 @@ let j3 = [{
8542
8545
  lngs: ["he", "iw"],
8543
8546
  nr: [1, 2, 20, 21],
8544
8547
  fc: 22
8545
- }], D3 = {
8548
+ }], T3 = {
8546
8549
  1: (i) => +(i > 1),
8547
8550
  2: (i) => +(i != 1),
8548
8551
  3: (i) => 0,
@@ -8566,28 +8569,28 @@ let j3 = [{
8566
8569
  21: (i) => i % 100 == 1 ? 1 : i % 100 == 2 ? 2 : i % 100 == 3 || i % 100 == 4 ? 3 : 0,
8567
8570
  22: (i) => i == 1 ? 0 : i == 2 ? 1 : (i < 0 || i > 10) && i % 10 == 0 ? 2 : 3
8568
8571
  };
8569
- const T3 = ["v1", "v2", "v3"], G3 = ["v4"], q1 = {
8572
+ const G3 = ["v1", "v2", "v3"], K3 = ["v4"], q1 = {
8570
8573
  zero: 0,
8571
8574
  one: 1,
8572
8575
  two: 2,
8573
8576
  few: 3,
8574
8577
  many: 4,
8575
8578
  other: 5
8576
- }, K3 = () => {
8579
+ }, P3 = () => {
8577
8580
  const i = {};
8578
- return j3.forEach((e) => {
8581
+ return D3.forEach((e) => {
8579
8582
  e.lngs.forEach((t) => {
8580
8583
  i[t] = {
8581
8584
  numbers: e.nr,
8582
- plurals: D3[e.fc]
8585
+ plurals: T3[e.fc]
8583
8586
  };
8584
8587
  });
8585
8588
  }), i;
8586
8589
  };
8587
- class P3 {
8590
+ class $3 {
8588
8591
  constructor(e) {
8589
8592
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
8590
- this.languageUtils = e, this.options = t, this.logger = z.create("pluralResolver"), (!this.options.compatibilityJSON || G3.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 = K3(), this.pluralRulesCache = {};
8593
+ this.languageUtils = e, this.options = t, this.logger = J.create("pluralResolver"), (!this.options.compatibilityJSON || K3.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 = P3(), this.pluralRulesCache = {};
8591
8594
  }
8592
8595
  addRule(e, t) {
8593
8596
  this.rules[e] = t;
@@ -8645,17 +8648,17 @@ class P3 {
8645
8648
  return this.options.compatibilityJSON === "v1" ? n === 1 ? "" : typeof n == "number" ? `_plural_${n.toString()}` : l() : this.options.compatibilityJSON === "v2" || this.options.simplifyPluralSuffix && e.numbers.length === 2 && e.numbers[0] === 1 ? l() : this.options.prepend && s.toString() ? this.options.prepend + s.toString() : s.toString();
8646
8649
  }
8647
8650
  shouldUseIntlApi() {
8648
- return !T3.includes(this.options.compatibilityJSON);
8651
+ return !G3.includes(this.options.compatibilityJSON);
8649
8652
  }
8650
8653
  }
8651
8654
  const Q1 = function(i, e, t) {
8652
- let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", n = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, l = H3(i, e, t);
8655
+ let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", n = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, l = I3(i, e, t);
8653
8656
  return !l && n && y(t) && (l = O1(i, t, s), l === void 0 && (l = O1(e, t, s))), l;
8654
8657
  }, H1 = (i) => i.replace(/\$/g, "$$$$");
8655
- class $3 {
8658
+ class Y3 {
8656
8659
  constructor() {
8657
8660
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
8658
- this.logger = z.create("interpolator"), this.options = e, this.format = e.interpolation && e.interpolation.format || ((t) => t), this.init(e);
8661
+ this.logger = J.create("interpolator"), this.options = e, this.format = e.interpolation && e.interpolation.format || ((t) => t), this.init(e);
8659
8662
  }
8660
8663
  init() {
8661
8664
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
@@ -8674,14 +8677,14 @@ class $3 {
8674
8677
  unescapeSuffix: a,
8675
8678
  unescapePrefix: h,
8676
8679
  nestingPrefix: u,
8677
- nestingPrefixEscaped: p,
8678
- nestingSuffix: L,
8680
+ nestingPrefixEscaped: f,
8681
+ nestingSuffix: k,
8679
8682
  nestingSuffixEscaped: x,
8680
- nestingOptionsSeparator: v,
8683
+ nestingOptionsSeparator: N,
8681
8684
  maxReplaces: E,
8682
8685
  alwaysFormat: b
8683
8686
  } = e.interpolation;
8684
- this.escape = t !== void 0 ? t : O3, this.escapeValue = s !== void 0 ? s : !0, this.useRawValueToEscape = n !== void 0 ? n : !1, this.prefix = l ? h1(l) : c || "{{", this.suffix = o ? h1(o) : d || "}}", this.formatSeparator = g || ",", this.unescapePrefix = a ? "" : h || "-", this.unescapeSuffix = this.unescapePrefix ? "" : a || "", this.nestingPrefix = u ? h1(u) : p || h1("$t("), this.nestingSuffix = L ? h1(L) : x || h1(")"), this.nestingOptionsSeparator = v || ",", this.maxReplaces = E || 1e3, this.alwaysFormat = b !== void 0 ? b : !1, this.resetRegExp();
8687
+ this.escape = t !== void 0 ? t : S3, this.escapeValue = s !== void 0 ? s : !0, this.useRawValueToEscape = n !== void 0 ? n : !1, this.prefix = l ? h1(l) : c || "{{", this.suffix = o ? h1(o) : d || "}}", this.formatSeparator = g || ",", this.unescapePrefix = a ? "" : h || "-", this.unescapeSuffix = this.unescapePrefix ? "" : a || "", this.nestingPrefix = u ? h1(u) : f || h1("$t("), this.nestingSuffix = k ? h1(k) : x || h1(")"), this.nestingOptionsSeparator = N || ",", this.maxReplaces = E || 1e3, this.alwaysFormat = b !== void 0 ? b : !1, this.resetRegExp();
8685
8688
  }
8686
8689
  reset() {
8687
8690
  this.options && this.init(this.options);
@@ -8692,17 +8695,17 @@ class $3 {
8692
8695
  }
8693
8696
  interpolate(e, t, s, n) {
8694
8697
  let l, c, o;
8695
- const d = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, g = (p) => {
8696
- if (p.indexOf(this.formatSeparator) < 0) {
8697
- const E = Q1(t, d, p, this.options.keySeparator, this.options.ignoreJSONStructure);
8698
+ const d = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, g = (f) => {
8699
+ if (f.indexOf(this.formatSeparator) < 0) {
8700
+ const E = Q1(t, d, f, this.options.keySeparator, this.options.ignoreJSONStructure);
8698
8701
  return this.alwaysFormat ? this.format(E, void 0, s, {
8699
8702
  ...n,
8700
8703
  ...t,
8701
- interpolationkey: p
8704
+ interpolationkey: f
8702
8705
  }) : E;
8703
8706
  }
8704
- const L = p.split(this.formatSeparator), x = L.shift().trim(), v = L.join(this.formatSeparator).trim();
8705
- return this.format(Q1(t, d, x, this.options.keySeparator, this.options.ignoreJSONStructure), v, s, {
8707
+ const k = f.split(this.formatSeparator), x = k.shift().trim(), N = k.join(this.formatSeparator).trim();
8708
+ return this.format(Q1(t, d, x, this.options.keySeparator, this.options.ignoreJSONStructure), N, s, {
8706
8709
  ...n,
8707
8710
  ...t,
8708
8711
  interpolationkey: x
@@ -8712,27 +8715,27 @@ class $3 {
8712
8715
  const a = n && n.missingInterpolationHandler || this.options.missingInterpolationHandler, h = n && n.interpolation && n.interpolation.skipOnVariables !== void 0 ? n.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables;
8713
8716
  return [{
8714
8717
  regex: this.regexpUnescape,
8715
- safeValue: (p) => H1(p)
8718
+ safeValue: (f) => H1(f)
8716
8719
  }, {
8717
8720
  regex: this.regexp,
8718
- safeValue: (p) => this.escapeValue ? H1(this.escape(p)) : H1(p)
8719
- }].forEach((p) => {
8720
- for (o = 0; l = p.regex.exec(e); ) {
8721
- const L = l[1].trim();
8722
- if (c = g(L), c === void 0)
8721
+ safeValue: (f) => this.escapeValue ? H1(this.escape(f)) : H1(f)
8722
+ }].forEach((f) => {
8723
+ for (o = 0; l = f.regex.exec(e); ) {
8724
+ const k = l[1].trim();
8725
+ if (c = g(k), c === void 0)
8723
8726
  if (typeof a == "function") {
8724
- const v = a(e, l, n);
8725
- c = y(v) ? v : "";
8726
- } else if (n && Object.prototype.hasOwnProperty.call(n, L))
8727
+ const N = a(e, l, n);
8728
+ c = y(N) ? N : "";
8729
+ } else if (n && Object.prototype.hasOwnProperty.call(n, k))
8727
8730
  c = "";
8728
8731
  else if (h) {
8729
8732
  c = l[0];
8730
8733
  continue;
8731
8734
  } else
8732
- this.logger.warn(`missed to pass in variable ${L} for interpolating ${e}`), c = "";
8735
+ this.logger.warn(`missed to pass in variable ${k} for interpolating ${e}`), c = "";
8733
8736
  else !y(c) && !this.useRawValueToEscape && (c = P1(c));
8734
- const x = p.safeValue(c);
8735
- if (e = e.replace(l[0], x), h ? (p.regex.lastIndex += c.length, p.regex.lastIndex -= l[0].length) : p.regex.lastIndex = 0, o++, o >= this.maxReplaces)
8737
+ const x = f.safeValue(c);
8738
+ if (e = e.replace(l[0], x), h ? (f.regex.lastIndex += c.length, f.regex.lastIndex -= l[0].length) : f.regex.lastIndex = 0, o++, o >= this.maxReplaces)
8736
8739
  break;
8737
8740
  }
8738
8741
  }), e;
@@ -8745,8 +8748,8 @@ class $3 {
8745
8748
  const h = d.split(new RegExp(`${a}[ ]*{`));
8746
8749
  let u = `{${h[1]}`;
8747
8750
  d = h[0], u = this.interpolate(u, c);
8748
- const p = u.match(/'/g), L = u.match(/"/g);
8749
- (p && p.length % 2 === 0 && !L || L.length % 2 !== 0) && (u = u.replace(/'/g, '"'));
8751
+ const f = u.match(/'/g), k = u.match(/"/g);
8752
+ (f && f.length % 2 === 0 && !k || k.length % 2 !== 0) && (u = u.replace(/'/g, '"'));
8750
8753
  try {
8751
8754
  c = JSON.parse(u), g && (c = {
8752
8755
  ...g,
@@ -8807,10 +8810,10 @@ const F3 = (i) => {
8807
8810
  return o || (o = i(R1(s), n), e[c] = o), o(t);
8808
8811
  };
8809
8812
  };
8810
- class Y3 {
8813
+ class U3 {
8811
8814
  constructor() {
8812
8815
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
8813
- this.logger = z.create("formatter"), this.options = e, this.formats = {
8816
+ this.logger = J.create("formatter"), this.options = e, this.formats = {
8814
8817
  number: c1((t, s) => {
8815
8818
  const n = new Intl.NumberFormat(t, {
8816
8819
  ...s
@@ -8871,8 +8874,8 @@ class Y3 {
8871
8874
  if (this.formats[g]) {
8872
8875
  let h = o;
8873
8876
  try {
8874
- const u = n && n.formatParams && n.formatParams[n.interpolationkey] || {}, p = u.locale || u.lng || n.locale || n.lng || s;
8875
- h = this.formats[g](o, p, {
8877
+ const u = n && n.formatParams && n.formatParams[n.interpolationkey] || {}, f = u.locale || u.lng || n.locale || n.lng || s;
8878
+ h = this.formats[g](o, f, {
8876
8879
  ...a,
8877
8880
  ...n,
8878
8881
  ...u
@@ -8887,13 +8890,13 @@ class Y3 {
8887
8890
  }, e);
8888
8891
  }
8889
8892
  }
8890
- const U3 = (i, e) => {
8893
+ const z3 = (i, e) => {
8891
8894
  i.pending[e] !== void 0 && (delete i.pending[e], i.pendingCount--);
8892
8895
  };
8893
- class z3 extends _1 {
8896
+ class J3 extends _1 {
8894
8897
  constructor(e, t, s) {
8895
8898
  let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
8896
- super(), this.backend = e, this.store = t, this.services = s, this.languageUtils = s.languageUtils, this.options = n, this.logger = z.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = n.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = n.maxRetries >= 0 ? n.maxRetries : 5, this.retryTimeout = n.retryTimeout >= 1 ? n.retryTimeout : 350, this.state = {}, this.queue = [], this.backend && this.backend.init && this.backend.init(s, n.backend, n);
8899
+ super(), this.backend = e, this.store = t, this.services = s, this.languageUtils = s.languageUtils, this.options = n, this.logger = J.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = n.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = n.maxRetries >= 0 ? n.maxRetries : 5, this.retryTimeout = n.retryTimeout >= 1 ? n.retryTimeout : 350, this.state = {}, this.queue = [], this.backend && this.backend.init && this.backend.init(s, n.backend, n);
8897
8900
  }
8898
8901
  queueLoad(e, t, s, n) {
8899
8902
  const l = {}, c = {}, o = {}, d = {};
@@ -8923,7 +8926,7 @@ class z3 extends _1 {
8923
8926
  }), this.state[e] = t ? -1 : 2, t && s && (this.state[e] = 0);
8924
8927
  const o = {};
8925
8928
  this.queue.forEach((d) => {
8926
- E3(d.loaded, [l], c), U3(d, e), t && d.errors.push(t), d.pendingCount === 0 && !d.done && (Object.keys(d.loaded).forEach((g) => {
8929
+ H3(d.loaded, [l], c), z3(d, e), t && d.errors.push(t), d.pendingCount === 0 && !d.done && (Object.keys(d.loaded).forEach((g) => {
8927
8930
  o[g] || (o[g] = {});
8928
8931
  const a = d.loaded[g];
8929
8932
  a.length && a.forEach((h) => {
@@ -9082,17 +9085,17 @@ const X1 = () => ({
9082
9085
  skipOnVariables: !0
9083
9086
  }
9084
9087
  }), ee = (i) => (y(i.ns) && (i.ns = [i.ns]), y(i.fallbackLng) && (i.fallbackLng = [i.fallbackLng]), y(i.fallbackNS) && (i.fallbackNS = [i.fallbackNS]), i.supportedLngs && i.supportedLngs.indexOf("cimode") < 0 && (i.supportedLngs = i.supportedLngs.concat(["cimode"])), i), x1 = () => {
9085
- }, J3 = (i) => {
9088
+ }, q3 = (i) => {
9086
9089
  Object.getOwnPropertyNames(Object.getPrototypeOf(i)).forEach((t) => {
9087
9090
  typeof i[t] == "function" && (i[t] = i[t].bind(i));
9088
9091
  });
9089
9092
  };
9090
- class k1 extends _1 {
9093
+ class m1 extends _1 {
9091
9094
  constructor() {
9092
9095
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0;
9093
- if (super(), this.options = ee(e), this.services = {}, this.logger = z, this.modules = {
9096
+ if (super(), this.options = ee(e), this.services = {}, this.logger = J, this.modules = {
9094
9097
  external: []
9095
- }, J3(this), t && !this.isInitialized && !e.isClone) {
9098
+ }, q3(this), t && !this.isInitialized && !e.isClone) {
9096
9099
  if (!this.options.initImmediate)
9097
9100
  return this.init(e, t), this;
9098
9101
  setTimeout(() => {
@@ -9115,28 +9118,28 @@ class k1 extends _1 {
9115
9118
  }), t.keySeparator !== void 0 && (this.options.userDefinedKeySeparator = t.keySeparator), t.nsSeparator !== void 0 && (this.options.userDefinedNsSeparator = t.nsSeparator);
9116
9119
  const l = (a) => a ? typeof a == "function" ? new a() : a : null;
9117
9120
  if (!this.options.isClone) {
9118
- this.modules.logger ? z.init(l(this.modules.logger), this.options) : z.init(null, this.options);
9121
+ this.modules.logger ? J.init(l(this.modules.logger), this.options) : J.init(null, this.options);
9119
9122
  let a;
9120
- this.modules.formatter ? a = this.modules.formatter : typeof Intl < "u" && (a = Y3);
9123
+ this.modules.formatter ? a = this.modules.formatter : typeof Intl < "u" && (a = U3);
9121
9124
  const h = new J1(this.options);
9122
9125
  this.store = new U1(this.options.resources, this.options);
9123
9126
  const u = this.services;
9124
- u.logger = z, u.resourceStore = this.store, u.languageUtils = h, u.pluralResolver = new P3(h, {
9127
+ u.logger = J, u.resourceStore = this.store, u.languageUtils = h, u.pluralResolver = new $3(h, {
9125
9128
  prepend: this.options.pluralSeparator,
9126
9129
  compatibilityJSON: this.options.compatibilityJSON,
9127
9130
  simplifyPluralSuffix: this.options.simplifyPluralSuffix
9128
- }), a && (!this.options.interpolation.format || this.options.interpolation.format === n.interpolation.format) && (u.formatter = l(a), u.formatter.init(u, this.options), this.options.interpolation.format = u.formatter.format.bind(u.formatter)), u.interpolator = new $3(this.options), u.utils = {
9131
+ }), a && (!this.options.interpolation.format || this.options.interpolation.format === n.interpolation.format) && (u.formatter = l(a), u.formatter.init(u, this.options), this.options.interpolation.format = u.formatter.format.bind(u.formatter)), u.interpolator = new Y3(this.options), u.utils = {
9129
9132
  hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
9130
- }, u.backendConnector = new z3(l(this.modules.backend), u.resourceStore, u, this.options), u.backendConnector.on("*", function(p) {
9131
- for (var L = arguments.length, x = new Array(L > 1 ? L - 1 : 0), v = 1; v < L; v++)
9132
- x[v - 1] = arguments[v];
9133
- e.emit(p, ...x);
9134
- }), this.modules.languageDetector && (u.languageDetector = l(this.modules.languageDetector), u.languageDetector.init && u.languageDetector.init(u, this.options.detection, this.options)), this.modules.i18nFormat && (u.i18nFormat = l(this.modules.i18nFormat), u.i18nFormat.init && u.i18nFormat.init(this)), this.translator = new b1(this.services, this.options), this.translator.on("*", function(p) {
9135
- for (var L = arguments.length, x = new Array(L > 1 ? L - 1 : 0), v = 1; v < L; v++)
9136
- x[v - 1] = arguments[v];
9137
- e.emit(p, ...x);
9138
- }), this.modules.external.forEach((p) => {
9139
- p.init && p.init(this);
9133
+ }, u.backendConnector = new J3(l(this.modules.backend), u.resourceStore, u, this.options), u.backendConnector.on("*", function(f) {
9134
+ for (var k = arguments.length, x = new Array(k > 1 ? k - 1 : 0), N = 1; N < k; N++)
9135
+ x[N - 1] = arguments[N];
9136
+ e.emit(f, ...x);
9137
+ }), this.modules.languageDetector && (u.languageDetector = l(this.modules.languageDetector), u.languageDetector.init && u.languageDetector.init(u, this.options.detection, this.options)), this.modules.i18nFormat && (u.i18nFormat = l(this.modules.i18nFormat), u.i18nFormat.init && u.i18nFormat.init(this)), this.translator = new b1(this.services, this.options), this.translator.on("*", function(f) {
9138
+ for (var k = arguments.length, x = new Array(k > 1 ? k - 1 : 0), N = 1; N < k; N++)
9139
+ x[N - 1] = arguments[N];
9140
+ e.emit(f, ...x);
9141
+ }), this.modules.external.forEach((f) => {
9142
+ f.init && f.init(this);
9140
9143
  });
9141
9144
  }
9142
9145
  if (this.format = this.options.interpolation.format, s || (s = x1), this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
@@ -9152,7 +9155,7 @@ class k1 extends _1 {
9152
9155
  return e.store[a](...arguments), e;
9153
9156
  };
9154
9157
  });
9155
- const d = p1(), g = () => {
9158
+ const d = u1(), g = () => {
9156
9159
  const a = (h, u) => {
9157
9160
  this.isInitializing = !1, this.isInitialized && !this.initializedStoreOnce && this.logger.warn("init: i18next is already initialized. You should call init just once!"), this.isInitialized = !0, this.options.isClone || this.logger.log("initialized", this.options), this.emit("initialized", this.options), d.resolve(u), s(h, u);
9158
9161
  };
@@ -9179,7 +9182,7 @@ class k1 extends _1 {
9179
9182
  s(null);
9180
9183
  }
9181
9184
  reloadResources(e, t, s) {
9182
- const n = p1();
9185
+ const n = u1();
9183
9186
  return typeof e == "function" && (s = e, e = void 0), typeof t == "function" && (s = t, t = void 0), e || (e = this.languages), t || (t = this.options.ns), s || (s = x1), this.services.backendConnector.reload(e, t, (l) => {
9184
9187
  n.resolve(), s(l);
9185
9188
  }), n;
@@ -9202,7 +9205,7 @@ class k1 extends _1 {
9202
9205
  changeLanguage(e, t) {
9203
9206
  var s = this;
9204
9207
  this.isLanguageChangingTo = e;
9205
- const n = p1();
9208
+ const n = u1();
9206
9209
  this.emit("languageChanging", e);
9207
9210
  const l = (d) => {
9208
9211
  this.language = d, this.languages = this.services.languageUtils.toResolveHierarchy(d), this.resolvedLanguage = void 0, this.setResolvedLanguage(d);
@@ -9235,8 +9238,8 @@ class k1 extends _1 {
9235
9238
  };
9236
9239
  d.lng = d.lng || l.lng, d.lngs = d.lngs || l.lngs, d.ns = d.ns || l.ns, d.keyPrefix !== "" && (d.keyPrefix = d.keyPrefix || s || l.keyPrefix);
9237
9240
  const u = n.options.keySeparator || ".";
9238
- let p;
9239
- return d.keyPrefix && Array.isArray(c) ? p = c.map((L) => `${d.keyPrefix}${u}${L}`) : p = d.keyPrefix ? `${d.keyPrefix}${u}${c}` : c, n.t(p, d);
9241
+ let f;
9242
+ return d.keyPrefix && Array.isArray(c) ? f = c.map((k) => `${d.keyPrefix}${u}${k}`) : f = d.keyPrefix ? `${d.keyPrefix}${u}${c}` : c, n.t(f, d);
9240
9243
  };
9241
9244
  return y(e) ? l.lng = e : l.lngs = e, l.ns = t, l.keyPrefix = s, l;
9242
9245
  }
@@ -9268,7 +9271,7 @@ class k1 extends _1 {
9268
9271
  return !!(this.hasResourceBundle(s, e) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages || c(s, e) && (!n || c(l, e)));
9269
9272
  }
9270
9273
  loadNamespaces(e, t) {
9271
- const s = p1();
9274
+ const s = u1();
9272
9275
  return this.options.ns ? (y(e) && (e = [e]), e.forEach((n) => {
9273
9276
  this.options.ns.indexOf(n) < 0 && this.options.ns.push(n);
9274
9277
  }), this.loadResources((n) => {
@@ -9276,7 +9279,7 @@ class k1 extends _1 {
9276
9279
  }), s) : (t && t(), Promise.resolve());
9277
9280
  }
9278
9281
  loadLanguages(e, t) {
9279
- const s = p1();
9282
+ const s = u1();
9280
9283
  y(e) && (e = [e]);
9281
9284
  const n = this.options.preload || [], l = e.filter((c) => n.indexOf(c) < 0 && this.services.languageUtils.isSupportedCode(c));
9282
9285
  return l.length ? (this.options.preload = n.concat(l), this.loadResources((c) => {
@@ -9290,7 +9293,7 @@ class k1 extends _1 {
9290
9293
  }
9291
9294
  static createInstance() {
9292
9295
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0;
9293
- return new k1(e, t);
9296
+ return new m1(e, t);
9294
9297
  }
9295
9298
  cloneInstance() {
9296
9299
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : x1;
@@ -9300,7 +9303,7 @@ class k1 extends _1 {
9300
9303
  ...this.options,
9301
9304
  ...e,
9302
9305
  isClone: !0
9303
- }, l = new k1(n);
9306
+ }, l = new m1(n);
9304
9307
  return (e.debug !== void 0 || e.prefix !== void 0) && (l.logger = l.logger.clone(e)), ["store", "services", "language"].forEach((o) => {
9305
9308
  l[o] = this[o];
9306
9309
  }), l.services = {
@@ -9325,34 +9328,34 @@ class k1 extends _1 {
9325
9328
  };
9326
9329
  }
9327
9330
  }
9328
- const j = k1.createInstance();
9329
- j.createInstance = k1.createInstance;
9330
- j.createInstance;
9331
- j.dir;
9332
- j.init;
9333
- j.loadResources;
9334
- j.reloadResources;
9335
- j.use;
9336
- j.changeLanguage;
9337
- j.getFixedT;
9338
- j.t;
9339
- j.exists;
9340
- j.setDefaultNamespace;
9341
- j.hasLoadedNamespace;
9342
- j.loadNamespaces;
9343
- j.loadLanguages;
9344
- function q3() {
9331
+ const D = m1.createInstance();
9332
+ D.createInstance = m1.createInstance;
9333
+ D.createInstance;
9334
+ D.dir;
9335
+ D.init;
9336
+ D.loadResources;
9337
+ D.reloadResources;
9338
+ D.use;
9339
+ D.changeLanguage;
9340
+ D.getFixedT;
9341
+ D.t;
9342
+ D.exists;
9343
+ D.setDefaultNamespace;
9344
+ D.hasLoadedNamespace;
9345
+ D.loadNamespaces;
9346
+ D.loadLanguages;
9347
+ function Q3() {
9345
9348
  if (console && console.warn) {
9346
9349
  for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
9347
9350
  e[t] = arguments[t];
9348
- r1(e[0]) && (e[0] = `react-i18next:: ${e[0]}`), console.warn(...e);
9351
+ n1(e[0]) && (e[0] = `react-i18next:: ${e[0]}`), console.warn(...e);
9349
9352
  }
9350
9353
  }
9351
9354
  const te = {};
9352
9355
  function S1() {
9353
9356
  for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
9354
9357
  e[t] = arguments[t];
9355
- r1(e[0]) && te[e[0]] || (r1(e[0]) && (te[e[0]] = /* @__PURE__ */ new Date()), q3(...e));
9358
+ n1(e[0]) && te[e[0]] || (n1(e[0]) && (te[e[0]] = /* @__PURE__ */ new Date()), Q3(...e));
9356
9359
  }
9357
9360
  const Ce = (i, e) => () => {
9358
9361
  if (i.isInitialized)
@@ -9368,10 +9371,10 @@ const Ce = (i, e) => () => {
9368
9371
  }, ie = (i, e, t) => {
9369
9372
  i.loadNamespaces(e, Ce(i, t));
9370
9373
  }, se = (i, e, t, s) => {
9371
- r1(t) && (t = [t]), t.forEach((n) => {
9374
+ n1(t) && (t = [t]), t.forEach((n) => {
9372
9375
  i.options.ns.indexOf(n) < 0 && i.options.ns.push(n);
9373
9376
  }), i.loadLanguages(e, Ce(i, s));
9374
- }, Q3 = function(i, e) {
9377
+ }, X3 = function(i, e) {
9375
9378
  let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
9376
9379
  const s = e.languages[0], n = e.options ? e.options.fallbackLng : !1, l = e.languages[e.languages.length - 1];
9377
9380
  if (s.toLowerCase() === "cimode") return !0;
@@ -9380,15 +9383,15 @@ const Ce = (i, e) => () => {
9380
9383
  return g === -1 || g === 2;
9381
9384
  };
9382
9385
  return t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && e.services.backendConnector.backend && e.isLanguageChangingTo && !c(e.isLanguageChangingTo, i) ? !1 : !!(e.hasResourceBundle(s, i) || !e.services.backendConnector.backend || e.options.resources && !e.options.partialBundledLanguages || c(s, i) && (!n || c(l, i)));
9383
- }, X3 = function(i, e) {
9386
+ }, e0 = function(i, e) {
9384
9387
  let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
9385
9388
  return !e.languages || !e.languages.length ? (S1("i18n.languages were undefined or empty", e.languages), !0) : e.options.ignoreJSONStructure !== void 0 ? e.hasLoadedNamespace(i, {
9386
9389
  lng: t.lng,
9387
9390
  precheck: (n, l) => {
9388
9391
  if (t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && n.services.backendConnector.backend && n.isLanguageChangingTo && !l(n.isLanguageChangingTo, i)) return !1;
9389
9392
  }
9390
- }) : Q3(i, e, t);
9391
- }, r1 = (i) => typeof i == "string", e0 = (i) => typeof i == "object" && i !== null, t0 = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, i0 = {
9393
+ }) : X3(i, e, t);
9394
+ }, n1 = (i) => typeof i == "string", t0 = (i) => typeof i == "object" && i !== null, i0 = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, s0 = {
9392
9395
  "&amp;": "&",
9393
9396
  "&#38;": "&",
9394
9397
  "&lt;": "<",
@@ -9409,7 +9412,7 @@ const Ce = (i, e) => () => {
9409
9412
  "&#8230;": "…",
9410
9413
  "&#x2F;": "/",
9411
9414
  "&#47;": "/"
9412
- }, s0 = (i) => i0[i], n0 = (i) => i.replace(t0, s0);
9415
+ }, n0 = (i) => s0[i], r0 = (i) => i.replace(i0, n0);
9413
9416
  let A1 = {
9414
9417
  bindI18n: "languageChanged",
9415
9418
  bindI18nStore: "",
@@ -9418,25 +9421,25 @@ let A1 = {
9418
9421
  transWrapTextNodes: "",
9419
9422
  transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"],
9420
9423
  useSuspense: !0,
9421
- unescape: n0
9424
+ unescape: r0
9422
9425
  };
9423
- const r0 = function() {
9426
+ const o0 = function() {
9424
9427
  let i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
9425
9428
  A1 = {
9426
9429
  ...A1,
9427
9430
  ...i
9428
9431
  };
9429
- }, o0 = () => A1;
9432
+ }, l0 = () => A1;
9430
9433
  let ue;
9431
- const l0 = (i) => {
9434
+ const a0 = (i) => {
9432
9435
  ue = i;
9433
- }, a0 = () => ue, h0 = {
9436
+ }, h0 = () => ue, c0 = {
9434
9437
  type: "3rdParty",
9435
9438
  init(i) {
9436
- r0(i.options.react), l0(i);
9439
+ o0(i.options.react), a0(i);
9437
9440
  }
9438
- }, c0 = d1();
9439
- class d0 {
9441
+ }, d0 = d1();
9442
+ class g0 {
9440
9443
  constructor() {
9441
9444
  Z1(this, "getUsedNamespaces", () => Object.keys(this.usedNamespaces));
9442
9445
  this.usedNamespaces = {};
@@ -9447,27 +9450,27 @@ class d0 {
9447
9450
  });
9448
9451
  }
9449
9452
  }
9450
- const g0 = (i, e) => {
9453
+ const C0 = (i, e) => {
9451
9454
  const t = Y();
9452
- return B(() => {
9455
+ return Z(() => {
9453
9456
  t.current = i;
9454
9457
  }, [i, e]), t.current;
9455
- }, pe = (i, e, t, s) => i.getFixedT(e, t, s), C0 = (i, e, t, s) => W(pe(i, e, t, s), [i, e, t, s]), u0 = function(i) {
9458
+ }, pe = (i, e, t, s) => i.getFixedT(e, t, s), u0 = (i, e, t, s) => j(pe(i, e, t, s), [i, e, t, s]), p0 = function(i) {
9456
9459
  let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
9457
9460
  const {
9458
9461
  i18n: t
9459
9462
  } = e, {
9460
9463
  i18n: s,
9461
9464
  defaultNS: n
9462
- } = o1(c0) || {}, l = t || s || a0();
9463
- if (l && !l.reportNamespaces && (l.reportNamespaces = new d0()), !l) {
9465
+ } = r1(d0) || {}, l = t || s || h0();
9466
+ if (l && !l.reportNamespaces && (l.reportNamespaces = new g0()), !l) {
9464
9467
  S1("You will need to pass in an i18next instance by using initReactI18next");
9465
- const f = (N, w) => r1(w) ? w : e0(w) && r1(w.defaultValue) ? w.defaultValue : Array.isArray(N) ? N[N.length - 1] : N, k = [f, {}, !1];
9466
- return k.t = f, k.i18n = {}, k.ready = !1, k;
9468
+ const p = (v, w) => n1(w) ? w : t0(w) && n1(w.defaultValue) ? w.defaultValue : Array.isArray(v) ? v[v.length - 1] : v, L = [p, {}, !1];
9469
+ return L.t = p, L.i18n = {}, L.ready = !1, L;
9467
9470
  }
9468
9471
  l.options.react && l.options.react.wait !== void 0 && S1("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
9469
9472
  const c = {
9470
- ...o0(),
9473
+ ...l0(),
9471
9474
  ...l.options.react,
9472
9475
  ...e
9473
9476
  }, {
@@ -9475,131 +9478,131 @@ const g0 = (i, e) => {
9475
9478
  keyPrefix: d
9476
9479
  } = c;
9477
9480
  let g = i;
9478
- g = r1(g) ? [g] : g || ["translation"], l.reportNamespaces.addUsedNamespaces && l.reportNamespaces.addUsedNamespaces(g);
9479
- const a = (l.isInitialized || l.initializedStoreOnce) && g.every((f) => X3(f, l, c)), h = C0(l, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), u = () => h, p = () => pe(l, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), [L, x] = O(u);
9480
- let v = g.join();
9481
- e.lng && (v = `${e.lng}${v}`);
9482
- const E = g0(v), b = Y(!0);
9483
- B(() => {
9481
+ g = n1(g) ? [g] : g || ["translation"], l.reportNamespaces.addUsedNamespaces && l.reportNamespaces.addUsedNamespaces(g);
9482
+ const a = (l.isInitialized || l.initializedStoreOnce) && g.every((p) => e0(p, l, c)), h = u0(l, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), u = () => h, f = () => pe(l, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), [k, x] = S(u);
9483
+ let N = g.join();
9484
+ e.lng && (N = `${e.lng}${N}`);
9485
+ const E = C0(N), b = Y(!0);
9486
+ Z(() => {
9484
9487
  const {
9485
- bindI18n: f,
9486
- bindI18nStore: k
9488
+ bindI18n: p,
9489
+ bindI18nStore: L
9487
9490
  } = c;
9488
9491
  b.current = !0, !a && !o && (e.lng ? se(l, e.lng, g, () => {
9489
- b.current && x(p);
9492
+ b.current && x(f);
9490
9493
  }) : ie(l, g, () => {
9491
- b.current && x(p);
9492
- })), a && E && E !== v && b.current && x(p);
9493
- const N = () => {
9494
- b.current && x(p);
9494
+ b.current && x(f);
9495
+ })), a && E && E !== N && b.current && x(f);
9496
+ const v = () => {
9497
+ b.current && x(f);
9495
9498
  };
9496
- return f && l && l.on(f, N), k && l && l.store.on(k, N), () => {
9497
- b.current = !1, f && l && f.split(" ").forEach((w) => l.off(w, N)), k && l && k.split(" ").forEach((w) => l.store.off(w, N));
9499
+ return p && l && l.on(p, v), L && l && l.store.on(L, v), () => {
9500
+ b.current = !1, p && l && p.split(" ").forEach((w) => l.off(w, v)), L && l && L.split(" ").forEach((w) => l.store.off(w, v));
9498
9501
  };
9499
- }, [l, v]), B(() => {
9502
+ }, [l, N]), Z(() => {
9500
9503
  b.current && a && x(u);
9501
9504
  }, [l, d, a]);
9502
- const _ = [L, l, a];
9503
- if (_.t = L, _.i18n = l, _.ready = a, a || !a && !o) return _;
9504
- throw new Promise((f) => {
9505
- e.lng ? se(l, e.lng, g, () => f()) : ie(l, g, () => f());
9505
+ const V = [k, l, a];
9506
+ if (V.t = k, V.i18n = l, V.ready = a, a || !a && !o) return V;
9507
+ throw new Promise((p) => {
9508
+ e.lng ? se(l, e.lng, g, () => p()) : ie(l, g, () => p());
9506
9509
  });
9507
- }, p0 = "City", f0 = {
9508
- placeholder: p0
9509
- }, w0 = "Город", m0 = {
9510
- placeholder: w0
9510
+ }, f0 = "City", w0 = {
9511
+ placeholder: f0
9512
+ }, m0 = "Город", k0 = {
9513
+ placeholder: m0
9511
9514
  };
9512
- function k0(i) {
9515
+ function L0(i) {
9513
9516
  const e = Y(i);
9514
- return B(() => {
9517
+ return Z(() => {
9515
9518
  e.current = i;
9516
9519
  }, [i]), e.current;
9517
9520
  }
9518
- j.use(h0).init({
9521
+ D.use(c0).init({
9519
9522
  defaultNS: "common",
9520
9523
  lng: "en",
9521
9524
  resources: {
9522
9525
  en: {
9523
- common: f0
9526
+ common: w0
9524
9527
  },
9525
9528
  ru: {
9526
- common: m0
9529
+ common: k0
9527
9530
  }
9528
9531
  }
9529
9532
  });
9530
- const y0 = L1(
9533
+ const b0 = k1(
9531
9534
  ({ width: i, selectedCountry: e, onChange: t, value: s, id: n, disabled: l }, c) => {
9532
- const [o, d] = O(
9535
+ const [o, d] = S(
9533
9536
  []
9534
- ), [g, a] = O(!1), { locale: h, axiosPeople: u } = o1(me), p = Y(!1), L = Y(null), x = Y(o), v = k0(e);
9537
+ ), [g, a] = S(!1), { locale: h, axiosPeople: u } = r1(ke), f = Y(!1), k = Y(null), x = Y(o), N = L0(e);
9535
9538
  if (!u)
9536
9539
  throw new Error(
9537
9540
  `CitySelect requires "axiosPeople" to fetch cities.
9538
9541
  Please provide it via SNMTUiContext.`
9539
9542
  );
9540
- const { t: E } = u0("common", { lng: h }), b = W(
9541
- async (f) => {
9542
- const k = x.current.find((N) => N.value === f);
9543
- if (k)
9544
- return [k];
9543
+ const { t: E } = p0("common", { lng: h }), b = j(
9544
+ async (p) => {
9545
+ const L = x.current.find((v) => v.value === p);
9546
+ if (L)
9547
+ return [L];
9545
9548
  try {
9546
9549
  const w = (await u.post("v1/cities/search", {
9547
9550
  filters: {
9548
- geoNameId: [f],
9551
+ geoNameId: [p],
9549
9552
  countryId: [e]
9550
9553
  }
9551
9554
  })).data.data;
9552
9555
  if (!w.length)
9553
9556
  return t(null), [];
9554
- const S = {
9557
+ const H = {
9555
9558
  value: w[0].geoNameId,
9556
9559
  label: w[0].name
9557
9560
  };
9558
- return x.current = [...x.current, S], [S];
9559
- } catch (N) {
9560
- return console.error("CitySelect. fetchSelectedItems error", N), [];
9561
+ return x.current = [...x.current, H], [H];
9562
+ } catch (v) {
9563
+ return console.error("CitySelect. fetchSelectedItems error", v), [];
9561
9564
  }
9562
9565
  },
9563
9566
  [u, e, t]
9564
9567
  );
9565
- B(() => {
9568
+ Z(() => {
9566
9569
  (async () => {
9567
9570
  if (!s) return;
9568
- const k = await b(s);
9569
- d(k);
9571
+ const L = await b(s);
9572
+ d(L);
9570
9573
  })();
9571
- }, []), B(() => {
9572
- var f;
9573
- v !== e ? p.current && (t(null), d([]), x.current = [], (f = L.current) == null || f.refetchOptions()) : p.current = !0;
9574
- }, [e, t, v]);
9575
- const _ = W(
9574
+ }, []), Z(() => {
9575
+ var p;
9576
+ N !== e ? f.current && (t(null), d([]), x.current = [], (p = k.current) == null || p.refetchOptions()) : f.current = !0;
9577
+ }, [e, t, N]);
9578
+ const V = j(
9576
9579
  async ({
9577
- limit: f,
9578
- offset: k,
9579
- search: N
9580
+ limit: p,
9581
+ offset: L,
9582
+ search: v
9580
9583
  }) => {
9581
9584
  try {
9582
9585
  a(!0);
9583
9586
  const w = {
9584
- offset: k,
9585
- limit: f,
9587
+ offset: L,
9588
+ limit: p,
9586
9589
  includeCount: !0
9587
9590
  };
9588
- w.filters = {}, e && e.length > 0 && (w.filters.countryId = [e]), N && (w.search = N);
9589
- const S = await u.post("v1/cities/search", w), Z = (S == null ? void 0 : S.data.data) || [], K = S == null ? void 0 : S.data.metadata.count;
9591
+ w.filters = {}, e && e.length > 0 && (w.filters.countryId = [e]), v && (w.search = v);
9592
+ const H = await u.post("v1/cities/search", w), F = (H == null ? void 0 : H.data.data) || [], W = H == null ? void 0 : H.data.metadata.count;
9590
9593
  return {
9591
- options: Z.map((J) => ({
9592
- value: J.geoNameId,
9593
- label: J.name
9594
+ options: F.map((z) => ({
9595
+ value: z.geoNameId,
9596
+ label: z.name
9594
9597
  })),
9595
- count: K,
9596
- limit: f
9598
+ count: W,
9599
+ limit: p
9597
9600
  };
9598
9601
  } catch (w) {
9599
9602
  return console.error("CitySelect. loadOptions error", w), {
9600
9603
  options: [],
9601
9604
  count: 0,
9602
- limit: f
9605
+ limit: p
9603
9606
  };
9604
9607
  } finally {
9605
9608
  a(!1);
@@ -9607,18 +9610,18 @@ const y0 = L1(
9607
9610
  },
9608
9611
  [u, e]
9609
9612
  );
9610
- return ne(c, () => L.current), /* @__PURE__ */ r("div", { className: "snmt-city-select", children: /* @__PURE__ */ r(
9611
- b3,
9613
+ return ne(c, () => k.current), /* @__PURE__ */ r("div", { className: "snmt-city-select", children: /* @__PURE__ */ r(
9614
+ _3,
9612
9615
  {
9613
9616
  id: n,
9614
9617
  width: i,
9615
9618
  value: g && s ? null : s,
9616
9619
  onChange: t,
9617
- ref: L,
9620
+ ref: k,
9618
9621
  search: !0,
9619
9622
  placeholder: E("placeholder"),
9620
9623
  disabled: l,
9621
- loadOptions: _,
9624
+ loadOptions: V,
9622
9625
  preloadOptions: !0,
9623
9626
  extraOptions: o,
9624
9627
  isLoading: g
@@ -9627,5 +9630,5 @@ const y0 = L1(
9627
9630
  }
9628
9631
  );
9629
9632
  export {
9630
- y0 as CitySelect
9633
+ b0 as CitySelect
9631
9634
  };