@snmt-react-ui/city-select 2.5.3 → 2.5.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,26 +1,26 @@
1
- var ue = Object.defineProperty;
2
- var Ce = (i, e, t) => e in i ? ue(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t;
3
- var A1 = (i, e, t) => Ce(i, typeof e != "symbol" ? e + "" : e, t);
1
+ var pe = Object.defineProperty;
2
+ var fe = (i, e, t) => e in i ? pe(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t;
3
+ var B1 = (i, e, t) => fe(i, typeof e != "symbol" ? e + "" : e, t);
4
4
  import "./index.css";
5
- import { jsx as r, Fragment as l1, jsxs as u } from "react/jsx-runtime";
6
- import { SNMTUiContext as pe } from "@snmt-react-ui/core";
7
- import { createContext as a1, forwardRef as x1, useState as V, useRef as z, useEffect as O, useCallback as B, useMemo as fe, useImperativeHandle as ie, useContext as n1 } from "react";
8
- import { Select as we, Flex as me, Avatar as ke, Checkbox as Le, Typography as ve, Tag as Ne, Popover as xe } from "antd";
9
- var Re = Object.defineProperty, Me = (i, e, t) => e in i ? Re(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, ye = (i, e, t) => Me(i, e + "", t), be = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
10
- function _e() {
5
+ import { jsx as r, Fragment as a1, jsxs as u } from "react/jsx-runtime";
6
+ import { SNMTUiContext as we } from "@snmt-react-ui/core";
7
+ import { createContext as h1, forwardRef as M1, useState as S, useRef as F, useEffect as B, useCallback as W, useMemo as me, useImperativeHandle as se, useContext as s1 } from "react";
8
+ import { Select as ke, Flex as Le, Avatar as ve, Checkbox as Ne, Typography as xe, Tag as Re, Popover as Me } 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, Ee = (i, e, t) => be(i, e + "", t), _e = 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
- i1(e[0]) && (e[0] = `react-i18next:: ${e[0]}`), console.warn(...e);
14
+ t1(e[0]) && (e[0] = `react-i18next:: ${e[0]}`), console.warn(...e);
15
15
  }
16
16
  }
17
- const B1 = {};
17
+ const Z1 = {};
18
18
  function H1() {
19
19
  for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
20
20
  e[t] = arguments[t];
21
- i1(e[0]) && B1[e[0]] || (i1(e[0]) && (B1[e[0]] = /* @__PURE__ */ new Date()), _e(...e));
21
+ t1(e[0]) && Z1[e[0]] || (t1(e[0]) && (Z1[e[0]] = /* @__PURE__ */ new Date()), He(...e));
22
22
  }
23
- const se = (i, e) => () => {
23
+ const ne = (i, e) => () => {
24
24
  if (i.isInitialized)
25
25
  e();
26
26
  else {
@@ -31,13 +31,13 @@ const se = (i, e) => () => {
31
31
  };
32
32
  i.on("initialized", t);
33
33
  }
34
- }, Z1 = (i, e, t) => {
35
- i.loadNamespaces(e, se(i, t));
36
- }, j1 = (i, e, t, s) => {
37
- i1(t) && (t = [t]), t.forEach((n) => {
34
+ }, j1 = (i, e, t) => {
35
+ i.loadNamespaces(e, ne(i, t));
36
+ }, W1 = (i, e, t, s) => {
37
+ t1(t) && (t = [t]), t.forEach((n) => {
38
38
  i.options.ns.indexOf(n) < 0 && i.options.ns.push(n);
39
- }), i.loadLanguages(e, se(i, s));
40
- }, Ee = function(i, e) {
39
+ }), i.loadLanguages(e, ne(i, s));
40
+ }, Ve = 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 se = (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
- }, He = function(i, e) {
49
+ }, Ie = function(i, e) {
50
50
  let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
51
51
  return !e.languages || !e.languages.length ? (H1("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
- }) : Ee(i, e, t);
57
- }, i1 = (i) => typeof i == "string", Ve = (i) => typeof i == "object" && i !== null, Ie = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, Se = {
56
+ }) : Ve(i, e, t);
57
+ }, t1 = (i) => typeof i == "string", Se = (i) => typeof i == "object" && i !== null, Oe = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, Ae = {
58
58
  "&amp;": "&",
59
59
  "&#38;": "&",
60
60
  "&lt;": "<",
@@ -75,8 +75,8 @@ const se = (i, e) => () => {
75
75
  "&#8230;": "…",
76
76
  "&#x2F;": "/",
77
77
  "&#47;": "/"
78
- }, Oe = (i) => Se[i], Ae = (i) => i.replace(Ie, Oe);
79
- let Be = {
78
+ }, Be = (i) => Ae[i], Ze = (i) => i.replace(Oe, Be);
79
+ let je = {
80
80
  bindI18n: "languageChanged",
81
81
  bindI18nStore: "",
82
82
  transEmptyNodeValue: "",
@@ -84,14 +84,14 @@ let Be = {
84
84
  transWrapTextNodes: "",
85
85
  transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"],
86
86
  useSuspense: !0,
87
- unescape: Ae
87
+ unescape: Ze
88
88
  };
89
- const Ze = () => Be;
90
- let je;
91
- const We = () => je, Te = a1();
92
- class De {
89
+ const We = () => je;
90
+ let Te;
91
+ const De = () => Te, Ge = h1();
92
+ class Ke {
93
93
  constructor() {
94
- ye(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 De {
99
99
  });
100
100
  }
101
101
  }
102
- const Ge = (i, e) => {
103
- const t = z();
104
- return O(() => {
102
+ const Pe = (i, e) => {
103
+ const t = F();
104
+ return B(() => {
105
105
  t.current = i;
106
106
  }, [i, e]), t.current;
107
- }, ne = (i, e, t, s) => i.getFixedT(e, t, s), Ke = (i, e, t, s) => B(ne(i, e, t, s), [i, e, t, s]), Pe = function(i) {
107
+ }, re = (i, e, t, s) => i.getFixedT(e, t, s), Fe = (i, e, t, s) => W(re(i, e, t, s), [i, e, t, s]), $e = 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
- } = n1(Te) || {}, l = t || s || We();
115
- if (l && !l.reportNamespaces && (l.reportNamespaces = new De()), !l) {
114
+ } = s1(Ge) || {}, l = t || s || De();
115
+ if (l && !l.reportNamespaces && (l.reportNamespaces = new Ke()), !l) {
116
116
  H1("You will need to pass in an i18next instance by using initReactI18next");
117
- const f = (k, x) => i1(x) ? x : Ve(x) && i1(x.defaultValue) ? x.defaultValue : Array.isArray(k) ? k[k.length - 1] : k, w = [f, {}, !1];
118
- return w.t = f, w.i18n = {}, w.ready = !1, w;
117
+ const f = (v, w) => t1(w) ? w : Se(w) && t1(w.defaultValue) ? w.defaultValue : Array.isArray(v) ? v[v.length - 1] : v, L = [f, {}, !1];
118
+ return L.t = f, L.i18n = {}, L.ready = !1, L;
119
119
  }
120
120
  l.options.react && l.options.react.wait !== void 0 && H1("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
121
121
  const c = {
122
- ...Ze(),
122
+ ...We(),
123
123
  ...l.options.react,
124
124
  ...e
125
125
  }, {
@@ -127,36 +127,36 @@ const Ge = (i, e) => {
127
127
  keyPrefix: d
128
128
  } = c;
129
129
  let g = i;
130
- g = i1(g) ? [g] : g || ["translation"], l.reportNamespaces.addUsedNamespaces && l.reportNamespaces.addUsedNamespaces(g);
131
- const a = (l.isInitialized || l.initializedStoreOnce) && g.every((f) => He(f, l, c)), h = Ke(l, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), C = () => h, p = () => ne(l, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), [m, M] = V(C);
130
+ g = t1(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 = Fe(l, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), C = () => h, p = () => re(l, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), [k, x] = S(C);
132
132
  let N = g.join();
133
133
  e.lng && (N = `${e.lng}${N}`);
134
- const E = Ge(N), L = z(!0);
135
- O(() => {
134
+ const H = Pe(N), b = F(!0);
135
+ B(() => {
136
136
  const {
137
137
  bindI18n: f,
138
- bindI18nStore: w
138
+ bindI18nStore: L
139
139
  } = c;
140
- L.current = !0, !a && !o && (e.lng ? j1(l, e.lng, g, () => {
141
- L.current && M(p);
142
- }) : Z1(l, g, () => {
143
- L.current && M(p);
144
- })), a && E && E !== N && L.current && M(p);
145
- const k = () => {
146
- L.current && M(p);
140
+ b.current = !0, !a && !o && (e.lng ? W1(l, e.lng, g, () => {
141
+ b.current && x(p);
142
+ }) : j1(l, g, () => {
143
+ b.current && x(p);
144
+ })), a && H && H !== N && b.current && x(p);
145
+ const v = () => {
146
+ b.current && x(p);
147
147
  };
148
- return f && l && l.on(f, k), w && l && l.store.on(w, k), () => {
149
- L.current = !1, f && l && f.split(" ").forEach((x) => l.off(x, k)), w && l && w.split(" ").forEach((x) => l.store.off(x, k));
148
+ return f && l && l.on(f, v), L && l && l.store.on(L, v), () => {
149
+ b.current = !1, f && l && f.split(" ").forEach((w) => l.off(w, v)), L && l && L.split(" ").forEach((w) => l.store.off(w, v));
150
150
  };
151
- }, [l, N]), O(() => {
152
- L.current && a && M(C);
151
+ }, [l, N]), B(() => {
152
+ b.current && a && x(C);
153
153
  }, [l, d, a]);
154
- const _ = [m, l, a];
155
- if (_.t = m, _.i18n = l, _.ready = a, a || !a && !o) return _;
154
+ const E = [k, l, a];
155
+ if (E.t = k, E.i18n = l, E.ready = a, a || !a && !o) return E;
156
156
  throw new Promise((f) => {
157
- e.lng ? j1(l, e.lng, g, () => f()) : Z1(l, g, () => f());
157
+ e.lng ? W1(l, e.lng, g, () => f()) : j1(l, g, () => f());
158
158
  });
159
- }, m1 = ({
159
+ }, L1 = ({
160
160
  children: i,
161
161
  direction: e = "row",
162
162
  flexWrap: t = "nowrap",
@@ -166,7 +166,7 @@ const Ge = (i, e) => {
166
166
  gap: c,
167
167
  padding: o
168
168
  }) => /* @__PURE__ */ r(
169
- me,
169
+ Le,
170
170
  {
171
171
  className: `snmt-flex${t === "inherit" ? " inherit" : ""}`,
172
172
  vertical: e === "column",
@@ -178,10 +178,10 @@ const Ge = (i, e) => {
178
178
  style: { padding: o },
179
179
  children: i
180
180
  }
181
- ), Fe = ({ shape: i = "circle", size: e = 32, children: t, ...s }) => {
181
+ ), Ye = ({ shape: i = "circle", size: e = 32, children: t, ...s }) => {
182
182
  const n = typeof s.src == "string";
183
183
  return /* @__PURE__ */ r(
184
- ke,
184
+ ve,
185
185
  {
186
186
  className: `snmt-avatar ${n ? "image" : ""}`,
187
187
  shape: i,
@@ -192,13 +192,13 @@ const Ge = (i, e) => {
192
192
  }
193
193
  );
194
194
  };
195
- var t1 = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_1 = "var(--grey-light-1)", i.GREY_LIGHT_2 = "var(--grey-light-2)", i.GREY_LIGHT_3 = "var(--grey-light-3)", i.GREY_LIGHT_4 = "var(--grey-light-4)", i.GREY_DARK_1 = "var(--grey-dark-1)", i.GREY_DARK_2 = "var(--grey-dark-2)", i.GREY_DARK_3 = "var(--grey-dark-3)", i.GREY_DARK_4 = "var(--grey-dark-4)", i.GREY_DARK_5 = "var(--grey-dark-5)", i.BLUE_PRIMARY = "var(--blue-primary)", i.BLUE_HOVER = "var(--blue-hover)", i.BLUE_LIGHT_1 = "var(--blue-light-1)", i.BLUE_LIGHT_2 = "var(--blue-light-2)", i.BLUE_LIGHT_3 = "var(--blue-light-3)", i.BLUE_LIGHT_4 = "var(--blue-light-4)", i.BLUE_DARK_1 = "var(--blue-dark-1)", i.PURPLE_LIGHT = "var(--purple-light)", i.PURPLE_DARK = "var(--purple-dark)", i.NOTIFICATION_WARNING_LIGHT = "var(--notification-warning-light)", i.NOTIFICATION_WARNING_DARK = "var(--notification-warning-dark)", i.NOTIFICATION_SUCCESS_LIGHT = "var(--notification-success-light)", i.NOTIFICATION_SUCCESS_DARK = "var(--notification-success-dark)", i.NOTIFICATION_ERROR_LIGHT = "var(--notification-error-light)", i.NOTIFICATION_ERROR_DARK = "var(--notification-error-dark)", i.NOTIFICATION_ERROR_DARK_MODE = "var(--notification-error-dark-mode)", i))(t1 || {});
196
- const O1 = a1({
195
+ var e1 = /* @__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))(e1 || {});
196
+ const O1 = h1({
197
197
  locale: "en",
198
198
  theme: "light"
199
199
  });
200
200
  O1.Provider;
201
- const $e = ({
201
+ const Ue = ({
202
202
  checked: i = !0,
203
203
  indeterminate: e = !1,
204
204
  children: t,
@@ -206,13 +206,13 @@ const $e = ({
206
206
  disabled: n = !1,
207
207
  disableUncheck: l = !1
208
208
  }) => {
209
- const [c, o] = V(i), [d, g] = V(e);
210
- O(() => {
209
+ const [c, o] = S(i), [d, g] = S(e);
210
+ B(() => {
211
211
  o(i), g(e);
212
212
  }, [i, e]);
213
- const { theme: a } = n1(O1);
213
+ const { theme: a } = s1(O1);
214
214
  return /* @__PURE__ */ r(
215
- Le,
215
+ Ne,
216
216
  {
217
217
  className: `snmt-checkbox snmt-checkbox-${a}`,
218
218
  checked: c,
@@ -225,13 +225,13 @@ const $e = ({
225
225
  }
226
226
  );
227
227
  };
228
- var y = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_1 = "var(--grey-light-1)", i.GREY_LIGHT_2 = "var(--grey-light-2)", i.GREY_LIGHT_3 = "var(--grey-light-3)", i.GREY_LIGHT_4 = "var(--grey-light-4)", i.GREY_DARK_1 = "var(--grey-dark-1)", i.GREY_DARK_2 = "var(--grey-dark-2)", i.GREY_DARK_3 = "var(--grey-dark-3)", i.GREY_DARK_4 = "var(--grey-dark-4)", i.GREY_DARK_5 = "var(--grey-dark-5)", i.BLUE_PRIMARY = "var(--blue-primary)", i.BLUE_HOVER = "var(--blue-hover)", i.BLUE_LIGHT_1 = "var(--blue-light-1)", i.BLUE_LIGHT_2 = "var(--blue-light-2)", i.BLUE_LIGHT_3 = "var(--blue-light-3)", i.BLUE_LIGHT_4 = "var(--blue-light-4)", i.BLUE_DARK_1 = "var(--blue-dark-1)", i.PURPLE_LIGHT = "var(--purple-light)", i.PURPLE_DARK = "var(--purple-dark)", i.NOTIFICATION_WARNING_LIGHT = "var(--notification-warning-light)", i.NOTIFICATION_WARNING_DARK = "var(--notification-warning-dark)", i.NOTIFICATION_SUCCESS_LIGHT = "var(--notification-success-light)", i.NOTIFICATION_SUCCESS_DARK = "var(--notification-success-dark)", i.NOTIFICATION_ERROR_LIGHT = "var(--notification-error-light)", i.NOTIFICATION_ERROR_DARK = "var(--notification-error-dark)", i.NOTIFICATION_ERROR_DARK_MODE = "var(--notification-error-dark-mode)", i))(y || {});
229
- const re = a1({
228
+ var M = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_1 = "var(--grey-light-1)", i.GREY_LIGHT_2 = "var(--grey-light-2)", i.GREY_LIGHT_3 = "var(--grey-light-3)", i.GREY_LIGHT_4 = "var(--grey-light-4)", i.GREY_DARK_1 = "var(--grey-dark-1)", i.GREY_DARK_2 = "var(--grey-dark-2)", i.GREY_DARK_3 = "var(--grey-dark-3)", i.GREY_DARK_4 = "var(--grey-dark-4)", i.GREY_DARK_5 = "var(--grey-dark-5)", i.BLUE_PRIMARY = "var(--blue-primary)", i.BLUE_HOVER = "var(--blue-hover)", i.BLUE_LIGHT_1 = "var(--blue-light-1)", i.BLUE_LIGHT_2 = "var(--blue-light-2)", i.BLUE_LIGHT_3 = "var(--blue-light-3)", i.BLUE_LIGHT_4 = "var(--blue-light-4)", i.BLUE_DARK_1 = "var(--blue-dark-1)", i.PURPLE_LIGHT = "var(--purple-light)", i.PURPLE_DARK = "var(--purple-dark)", i.NOTIFICATION_WARNING_LIGHT = "var(--notification-warning-light)", i.NOTIFICATION_WARNING_DARK = "var(--notification-warning-dark)", i.NOTIFICATION_SUCCESS_LIGHT = "var(--notification-success-light)", i.NOTIFICATION_SUCCESS_DARK = "var(--notification-success-dark)", i.NOTIFICATION_ERROR_LIGHT = "var(--notification-error-light)", i.NOTIFICATION_ERROR_DARK = "var(--notification-error-dark)", i.NOTIFICATION_ERROR_DARK_MODE = "var(--notification-error-dark-mode)", i))(M || {});
229
+ const oe = h1({
230
230
  locale: "en",
231
231
  theme: "light"
232
232
  });
233
- re.Provider;
234
- const Ye = ({
233
+ oe.Provider;
234
+ const ze = ({
235
235
  width: i = 20,
236
236
  height: e = 20,
237
237
  color: t = "#001E52",
@@ -258,7 +258,7 @@ const Ye = ({
258
258
  }
259
259
  )
260
260
  }
261
- ), Ue = ({
261
+ ), Je = ({
262
262
  width: i = 20,
263
263
  height: e = 20,
264
264
  color: t = "#001E52",
@@ -285,7 +285,7 @@ const Ye = ({
285
285
  }
286
286
  )
287
287
  }
288
- ), ze = ({
288
+ ), qe = ({
289
289
  width: i = 16,
290
290
  height: e = 16,
291
291
  color: t = "#001E52",
@@ -313,7 +313,7 @@ const Ye = ({
313
313
  )
314
314
  ]
315
315
  }
316
- ), Je = ({
316
+ ), Qe = ({
317
317
  width: i = 20,
318
318
  height: e = 20,
319
319
  color: t = "#001E52",
@@ -348,7 +348,7 @@ const Ye = ({
348
348
  )
349
349
  ]
350
350
  }
351
- ), qe = ({
351
+ ), Xe = ({
352
352
  width: i = 18,
353
353
  height: e = 18,
354
354
  color: t = "#001E52",
@@ -387,7 +387,7 @@ const Ye = ({
387
387
  )
388
388
  ]
389
389
  }
390
- ), Qe = ({
390
+ ), et = ({
391
391
  width: i = 20,
392
392
  height: e = 20,
393
393
  color: t = "#001E52",
@@ -413,7 +413,7 @@ const Ye = ({
413
413
  }
414
414
  )
415
415
  }
416
- ), Xe = ({
416
+ ), tt = ({
417
417
  width: i = 20,
418
418
  height: e = 20,
419
419
  color: t = "#001E52",
@@ -434,7 +434,7 @@ const Ye = ({
434
434
  /* @__PURE__ */ r("path", { d: "M16 4L4 16", stroke: t, strokeWidth: "1.5", strokeLinecap: "round" })
435
435
  ]
436
436
  }
437
- ), et = ({
437
+ ), it = ({
438
438
  width: i = 20,
439
439
  height: e = 20,
440
440
  color: t = "#001E52",
@@ -466,7 +466,7 @@ const Ye = ({
466
466
  )
467
467
  ]
468
468
  }
469
- ), tt = ({
469
+ ), st = ({
470
470
  width: i = 20,
471
471
  height: e = 20,
472
472
  color: t = "#001E52",
@@ -520,7 +520,7 @@ const Ye = ({
520
520
  )
521
521
  ]
522
522
  }
523
- ), it = ({
523
+ ), nt = ({
524
524
  width: i = 20,
525
525
  height: e = 20,
526
526
  color: t = "#001E52",
@@ -559,7 +559,7 @@ const Ye = ({
559
559
  /* @__PURE__ */ r("path", { d: "M3 12L17 12", stroke: t, strokeWidth: "2", strokeLinecap: "round" })
560
560
  ]
561
561
  }
562
- ), st = ({
562
+ ), rt = ({
563
563
  width: i = 16,
564
564
  height: e = 12,
565
565
  color: t = "#001E52",
@@ -608,7 +608,7 @@ const Ye = ({
608
608
  )
609
609
  ] })
610
610
  }
611
- ), nt = ({
611
+ ), ot = ({
612
612
  width: i = 16,
613
613
  height: e = 16,
614
614
  color: t = "#001E52",
@@ -642,7 +642,7 @@ const Ye = ({
642
642
  )
643
643
  ]
644
644
  }
645
- ), rt = ({
645
+ ), lt = ({
646
646
  width: i = 10,
647
647
  height: e = 10,
648
648
  color: t = "#001E52",
@@ -681,7 +681,7 @@ const Ye = ({
681
681
  )
682
682
  ] })
683
683
  }
684
- ), ot = ({
684
+ ), at = ({
685
685
  width: i = 16,
686
686
  height: e = 16,
687
687
  color: t = "#001E52",
@@ -717,7 +717,7 @@ const Ye = ({
717
717
  )
718
718
  ]
719
719
  }
720
- ), lt = ({
720
+ ), ht = ({
721
721
  width: i = 11,
722
722
  height: e = 32,
723
723
  color: t = "#001E52",
@@ -755,7 +755,7 @@ const Ye = ({
755
755
  /* @__PURE__ */ r("circle", { cx: "3", cy: "3", r: "3", fill: t })
756
756
  ]
757
757
  }
758
- ), at = ({
758
+ ), ct = ({
759
759
  width: i = 20,
760
760
  height: e = 20,
761
761
  color: t = "#001E52",
@@ -802,7 +802,7 @@ const Ye = ({
802
802
  )
803
803
  ]
804
804
  }
805
- ), ht = ({
805
+ ), dt = ({
806
806
  width: i = 20,
807
807
  height: e = 20,
808
808
  color: t = "#001E52",
@@ -835,7 +835,7 @@ const Ye = ({
835
835
  )
836
836
  ]
837
837
  }
838
- ), ct = ({
838
+ ), gt = ({
839
839
  width: i = 20,
840
840
  height: e = 20,
841
841
  color: t = "#001E52",
@@ -882,7 +882,7 @@ const Ye = ({
882
882
  )
883
883
  ]
884
884
  }
885
- ), dt = ({
885
+ ), ut = ({
886
886
  width: i = 20,
887
887
  height: e = 20,
888
888
  color: t = "#001E52",
@@ -915,7 +915,7 @@ const Ye = ({
915
915
  )
916
916
  ]
917
917
  }
918
- ), gt = ({
918
+ ), Ct = ({
919
919
  width: i = 18,
920
920
  height: e = 16,
921
921
  color: t = "#001E52",
@@ -954,7 +954,7 @@ const Ye = ({
954
954
  )
955
955
  ]
956
956
  }
957
- ), ut = ({
957
+ ), pt = ({
958
958
  width: i = 20,
959
959
  height: e = 20,
960
960
  color: t = "#001E52",
@@ -987,7 +987,7 @@ const Ye = ({
987
987
  )
988
988
  ]
989
989
  }
990
- ), Ct = ({
990
+ ), ft = ({
991
991
  width: i = 20,
992
992
  height: e = 20,
993
993
  color: t = "#001E52",
@@ -1011,7 +1011,7 @@ const Ye = ({
1011
1011
  }
1012
1012
  )
1013
1013
  }
1014
- ), pt = ({
1014
+ ), wt = ({
1015
1015
  width: i = 20,
1016
1016
  height: e = 20,
1017
1017
  color: t = "#001E52",
@@ -1058,7 +1058,7 @@ const Ye = ({
1058
1058
  )
1059
1059
  ]
1060
1060
  }
1061
- ), ft = ({
1061
+ ), mt = ({
1062
1062
  width: i = 20,
1063
1063
  height: e = 20,
1064
1064
  color: t = "#001E52",
@@ -1091,7 +1091,7 @@ const Ye = ({
1091
1091
  )
1092
1092
  ]
1093
1093
  }
1094
- ), wt = ({
1094
+ ), kt = ({
1095
1095
  width: i = 20,
1096
1096
  height: e = 20,
1097
1097
  color: t = "#001E52",
@@ -1124,7 +1124,7 @@ const Ye = ({
1124
1124
  )
1125
1125
  ]
1126
1126
  }
1127
- ), mt = ({
1127
+ ), Lt = ({
1128
1128
  width: i = 20,
1129
1129
  height: e = 23,
1130
1130
  color: t = "#001E52",
@@ -1185,7 +1185,7 @@ const Ye = ({
1185
1185
  )
1186
1186
  ]
1187
1187
  }
1188
- ), kt = ({
1188
+ ), vt = ({
1189
1189
  width: i = 20,
1190
1190
  height: e = 20,
1191
1191
  color: t = "#001E52",
@@ -1225,7 +1225,7 @@ const Ye = ({
1225
1225
  )
1226
1226
  ]
1227
1227
  }
1228
- ), Lt = ({
1228
+ ), Nt = ({
1229
1229
  width: i = 32,
1230
1230
  height: e = 25,
1231
1231
  color: t = "#001E52",
@@ -1253,7 +1253,7 @@ const Ye = ({
1253
1253
  )
1254
1254
  ]
1255
1255
  }
1256
- ), vt = ({
1256
+ ), xt = ({
1257
1257
  width: i = 14,
1258
1258
  height: e = 14,
1259
1259
  color: t = "#10B981",
@@ -1282,7 +1282,7 @@ const Ye = ({
1282
1282
  )
1283
1283
  ]
1284
1284
  }
1285
- ), Nt = ({
1285
+ ), Rt = ({
1286
1286
  width: i = 11,
1287
1287
  height: e = 11,
1288
1288
  color: t = "#FFB020",
@@ -1316,7 +1316,7 @@ const Ye = ({
1316
1316
  )
1317
1317
  ]
1318
1318
  }
1319
- ), xt = ({
1319
+ ), Mt = ({
1320
1320
  width: i = 10,
1321
1321
  height: e = 10,
1322
1322
  color: t = "#88A4FF",
@@ -1364,7 +1364,7 @@ const Ye = ({
1364
1364
  )
1365
1365
  ]
1366
1366
  }
1367
- ), Rt = ({
1367
+ ), yt = ({
1368
1368
  width: i = 14,
1369
1369
  height: e = 14,
1370
1370
  color: t = "#8E8E93",
@@ -1392,7 +1392,7 @@ const Ye = ({
1392
1392
  )
1393
1393
  ]
1394
1394
  }
1395
- ), Mt = ({
1395
+ ), bt = ({
1396
1396
  width: i = 14,
1397
1397
  height: e = 14,
1398
1398
  color: t = "#FFB020",
@@ -1426,7 +1426,7 @@ const Ye = ({
1426
1426
  )
1427
1427
  ]
1428
1428
  }
1429
- ), yt = ({
1429
+ ), Et = ({
1430
1430
  width: i = 14,
1431
1431
  height: e = 14,
1432
1432
  color: t = "#D0421B",
@@ -1474,7 +1474,7 @@ const Ye = ({
1474
1474
  )
1475
1475
  ]
1476
1476
  }
1477
- ), bt = ({
1477
+ ), _t = ({
1478
1478
  width: i = 20,
1479
1479
  height: e = 20,
1480
1480
  color: t = "#070739",
@@ -1504,7 +1504,7 @@ const Ye = ({
1504
1504
  /* @__PURE__ */ r("circle", { cx: "10", cy: "10", r: "2.375", stroke: t, strokeWidth: "1.25" })
1505
1505
  ]
1506
1506
  }
1507
- ), _t = ({
1507
+ ), Ht = ({
1508
1508
  width: i = 20,
1509
1509
  height: e = 20,
1510
1510
  color: t = "#070739",
@@ -1542,7 +1542,7 @@ const Ye = ({
1542
1542
  )
1543
1543
  ]
1544
1544
  }
1545
- ), Et = ({
1545
+ ), Vt = ({
1546
1546
  width: i = 9,
1547
1547
  height: e = 5,
1548
1548
  color: t = "#001E52",
@@ -1568,7 +1568,7 @@ const Ye = ({
1568
1568
  }
1569
1569
  )
1570
1570
  }
1571
- ), Ht = ({
1571
+ ), It = ({
1572
1572
  width: i = 20,
1573
1573
  height: e = 20,
1574
1574
  color: t = "#F2F2F7",
@@ -1597,7 +1597,7 @@ const Ye = ({
1597
1597
  )
1598
1598
  ]
1599
1599
  }
1600
- ), Vt = ({
1600
+ ), St = ({
1601
1601
  width: i = 20,
1602
1602
  height: e = 20,
1603
1603
  color: t = "#004ED7",
@@ -1626,7 +1626,7 @@ const Ye = ({
1626
1626
  )
1627
1627
  ]
1628
1628
  }
1629
- ), It = ({
1629
+ ), Ot = ({
1630
1630
  width: i = 248,
1631
1631
  height: e = 248,
1632
1632
  color: t = "#070739",
@@ -1663,7 +1663,7 @@ const Ye = ({
1663
1663
  )
1664
1664
  ]
1665
1665
  }
1666
- ), St = ({
1666
+ ), At = ({
1667
1667
  width: i = 24,
1668
1668
  height: e = 24,
1669
1669
  color: t = "#001E52",
@@ -1702,7 +1702,7 @@ const Ye = ({
1702
1702
  )
1703
1703
  ]
1704
1704
  }
1705
- ), Ot = ({
1705
+ ), Bt = ({
1706
1706
  width: i = 10,
1707
1707
  height: e = 10,
1708
1708
  color: t = "#001E52",
@@ -1731,7 +1731,7 @@ const Ye = ({
1731
1731
  )
1732
1732
  ]
1733
1733
  }
1734
- ), At = ({
1734
+ ), Zt = ({
1735
1735
  width: i = 10,
1736
1736
  height: e = 10,
1737
1737
  color: t = "#001E52",
@@ -1768,10 +1768,10 @@ const Ye = ({
1768
1768
  )
1769
1769
  ]
1770
1770
  }
1771
- ), Bt = ({
1771
+ ), jt = ({
1772
1772
  width: i = 24,
1773
1773
  height: e = 24,
1774
- color: t = y.GREY_DARK_5,
1774
+ color: t = M.GREY_DARK_5,
1775
1775
  className: s,
1776
1776
  onClick: n
1777
1777
  }) => /* @__PURE__ */ u(
@@ -1807,10 +1807,10 @@ const Ye = ({
1807
1807
  )
1808
1808
  ]
1809
1809
  }
1810
- ), Zt = ({
1810
+ ), Wt = ({
1811
1811
  width: i = 20,
1812
1812
  height: e = 20,
1813
- color: t = y.GREY_DARK_1,
1813
+ color: t = M.GREY_DARK_1,
1814
1814
  className: s,
1815
1815
  onClick: n
1816
1816
  }) => /* @__PURE__ */ u(
@@ -1840,10 +1840,10 @@ const Ye = ({
1840
1840
  )
1841
1841
  ]
1842
1842
  }
1843
- ), jt = ({
1843
+ ), Tt = ({
1844
1844
  width: i = 81,
1845
1845
  height: e = 80,
1846
- color: t = y.GREY_DARK_5,
1846
+ color: t = M.GREY_DARK_5,
1847
1847
  className: s,
1848
1848
  onClick: n
1849
1849
  }) => /* @__PURE__ */ u(
@@ -1889,9 +1889,9 @@ const Ye = ({
1889
1889
  )
1890
1890
  ]
1891
1891
  }
1892
- ), Wt = ({
1892
+ ), Dt = ({
1893
1893
  className: i,
1894
- color: e = y.GREY_DARK_5,
1894
+ color: e = M.GREY_DARK_5,
1895
1895
  height: t = 20,
1896
1896
  width: s = 20,
1897
1897
  onClick: n
@@ -1916,9 +1916,9 @@ const Ye = ({
1916
1916
  }
1917
1917
  )
1918
1918
  }
1919
- ), Tt = ({
1919
+ ), Gt = ({
1920
1920
  className: i,
1921
- color: e = y.GREY_DARK_5,
1921
+ color: e = M.GREY_DARK_5,
1922
1922
  height: t = 20,
1923
1923
  width: s = 20,
1924
1924
  onClick: n
@@ -1943,9 +1943,9 @@ const Ye = ({
1943
1943
  }
1944
1944
  )
1945
1945
  }
1946
- ), Dt = ({
1946
+ ), Kt = ({
1947
1947
  className: i,
1948
- color: e = y.GREY_DARK_5,
1948
+ color: e = M.GREY_DARK_5,
1949
1949
  height: t = 5,
1950
1950
  width: s = 10,
1951
1951
  onClick: n
@@ -1967,9 +1967,9 @@ const Ye = ({
1967
1967
  }
1968
1968
  )
1969
1969
  }
1970
- ), Gt = ({
1970
+ ), Pt = ({
1971
1971
  className: i,
1972
- color: e = y.GREY_DARK_5,
1972
+ color: e = M.GREY_DARK_5,
1973
1973
  height: t = 5,
1974
1974
  width: s = 10,
1975
1975
  onClick: n
@@ -1992,9 +1992,9 @@ const Ye = ({
1992
1992
  }
1993
1993
  )
1994
1994
  }
1995
- ), Kt = ({
1995
+ ), Ft = ({
1996
1996
  className: i,
1997
- color: e = y.GREY_DARK_5,
1997
+ color: e = M.GREY_DARK_5,
1998
1998
  height: t = 24,
1999
1999
  width: s = 24,
2000
2000
  onClick: n
@@ -2031,9 +2031,9 @@ const Ye = ({
2031
2031
  )
2032
2032
  ]
2033
2033
  }
2034
- ), Pt = ({
2034
+ ), $t = ({
2035
2035
  className: i,
2036
- color: e = y.GREY_DARK_5,
2036
+ color: e = M.GREY_DARK_5,
2037
2037
  height: t = 24,
2038
2038
  width: s = 24,
2039
2039
  onClick: n
@@ -2070,9 +2070,9 @@ const Ye = ({
2070
2070
  )
2071
2071
  ]
2072
2072
  }
2073
- ), Ft = ({
2073
+ ), Yt = ({
2074
2074
  className: i,
2075
- color: e = y.GREY_DARK_5,
2075
+ color: e = M.GREY_DARK_5,
2076
2076
  height: t = 24,
2077
2077
  width: s = 24,
2078
2078
  onClick: n
@@ -2097,9 +2097,9 @@ const Ye = ({
2097
2097
  }
2098
2098
  )
2099
2099
  }
2100
- ), $t = ({
2100
+ ), Ut = ({
2101
2101
  className: i,
2102
- color: e = y.GREY_DARK_5,
2102
+ color: e = M.GREY_DARK_5,
2103
2103
  height: t = 24,
2104
2104
  width: s = 24,
2105
2105
  onClick: n
@@ -2156,9 +2156,9 @@ const Ye = ({
2156
2156
  )
2157
2157
  ]
2158
2158
  }
2159
- ), Yt = ({
2159
+ ), zt = ({
2160
2160
  className: i,
2161
- color: e = y.GREY_DARK_5,
2161
+ color: e = M.GREY_DARK_5,
2162
2162
  height: t = 24,
2163
2163
  width: s = 24,
2164
2164
  onClick: n
@@ -2193,9 +2193,9 @@ const Ye = ({
2193
2193
  )
2194
2194
  ]
2195
2195
  }
2196
- ), Ut = ({
2196
+ ), Jt = ({
2197
2197
  className: i,
2198
- color: e = y.GREY_DARK_3,
2198
+ color: e = M.GREY_DARK_3,
2199
2199
  height: t = 14,
2200
2200
  width: s = 14,
2201
2201
  onClick: n
@@ -2230,9 +2230,9 @@ const Ye = ({
2230
2230
  )
2231
2231
  ]
2232
2232
  }
2233
- ), zt = ({
2233
+ ), qt = ({
2234
2234
  className: i,
2235
- color: e = y.GREY_DARK_5,
2235
+ color: e = M.GREY_DARK_5,
2236
2236
  height: t = 18,
2237
2237
  onClick: s,
2238
2238
  width: n = 18
@@ -2257,9 +2257,9 @@ const Ye = ({
2257
2257
  }
2258
2258
  )
2259
2259
  }
2260
- ), Jt = ({
2260
+ ), Qt = ({
2261
2261
  className: i,
2262
- color: e = y.GREY_DARK_5,
2262
+ color: e = M.GREY_DARK_5,
2263
2263
  height: t = 24,
2264
2264
  width: s = 24,
2265
2265
  onClick: n
@@ -2309,9 +2309,9 @@ const Ye = ({
2309
2309
  )
2310
2310
  ]
2311
2311
  }
2312
- ), qt = ({
2312
+ ), Xt = ({
2313
2313
  className: i,
2314
- color: e = y.GREY_DARK_5,
2314
+ color: e = M.GREY_DARK_5,
2315
2315
  height: t = 24,
2316
2316
  width: s = 24,
2317
2317
  onClick: n
@@ -2346,9 +2346,9 @@ const Ye = ({
2346
2346
  )
2347
2347
  ]
2348
2348
  }
2349
- ), Qt = ({
2349
+ ), e2 = ({
2350
2350
  className: i,
2351
- color: e = y.NOTIFICATION_WARNING_DARK,
2351
+ color: e = M.NOTIFICATION_WARNING_DARK,
2352
2352
  height: t = 37,
2353
2353
  width: s = 36,
2354
2354
  onClick: n
@@ -2385,9 +2385,9 @@ const Ye = ({
2385
2385
  )
2386
2386
  ]
2387
2387
  }
2388
- ), Xt = ({
2388
+ ), t2 = ({
2389
2389
  className: i,
2390
- color: e = y.GREY_DARK_5,
2390
+ color: e = M.GREY_DARK_5,
2391
2391
  height: t = 24,
2392
2392
  width: s = 24,
2393
2393
  onClick: n
@@ -2411,9 +2411,9 @@ const Ye = ({
2411
2411
  }
2412
2412
  )
2413
2413
  }
2414
- ), e2 = ({
2414
+ ), i2 = ({
2415
2415
  className: i,
2416
- color: e = y.GREY_DARK_5,
2416
+ color: e = M.GREY_DARK_5,
2417
2417
  height: t = 24,
2418
2418
  width: s = 24,
2419
2419
  onClick: n
@@ -2450,9 +2450,9 @@ const Ye = ({
2450
2450
  )
2451
2451
  ]
2452
2452
  }
2453
- ), t2 = ({
2453
+ ), s2 = ({
2454
2454
  className: i,
2455
- color: e = y.GREY_DARK_5,
2455
+ color: e = M.GREY_DARK_5,
2456
2456
  height: t = 24,
2457
2457
  width: s = 24,
2458
2458
  onClick: n
@@ -2489,9 +2489,9 @@ const Ye = ({
2489
2489
  )
2490
2490
  ]
2491
2491
  }
2492
- ), i2 = ({
2492
+ ), n2 = ({
2493
2493
  className: i,
2494
- color: e = y.GREY_DARK_5,
2494
+ color: e = M.GREY_DARK_5,
2495
2495
  height: t = 24,
2496
2496
  width: s = 24,
2497
2497
  onClick: n
@@ -2558,9 +2558,9 @@ const Ye = ({
2558
2558
  )
2559
2559
  ]
2560
2560
  }
2561
- ), s2 = ({
2561
+ ), r2 = ({
2562
2562
  className: i,
2563
- color: e = y.GREY_DARK_5,
2563
+ color: e = M.GREY_DARK_5,
2564
2564
  height: t = 24,
2565
2565
  width: s = 24,
2566
2566
  onClick: n
@@ -2597,9 +2597,9 @@ const Ye = ({
2597
2597
  )
2598
2598
  ]
2599
2599
  }
2600
- ), n2 = ({
2600
+ ), o2 = ({
2601
2601
  className: i,
2602
- color: e = y.GREY_DARK_5,
2602
+ color: e = M.GREY_DARK_5,
2603
2603
  height: t = 24,
2604
2604
  width: s = 24,
2605
2605
  onClick: n
@@ -2654,9 +2654,9 @@ const Ye = ({
2654
2654
  )
2655
2655
  ]
2656
2656
  }
2657
- ), r2 = ({
2657
+ ), l2 = ({
2658
2658
  className: i,
2659
- color: e = y.GREY_DARK_5,
2659
+ color: e = M.GREY_DARK_5,
2660
2660
  height: t = 24,
2661
2661
  width: s = 24,
2662
2662
  onClick: n
@@ -2693,9 +2693,9 @@ const Ye = ({
2693
2693
  )
2694
2694
  ]
2695
2695
  }
2696
- ), o2 = ({
2696
+ ), a2 = ({
2697
2697
  className: i,
2698
- color: e = y.GREY_DARK_5,
2698
+ color: e = M.GREY_DARK_5,
2699
2699
  height: t = 24,
2700
2700
  width: s = 24,
2701
2701
  onClick: n
@@ -2742,9 +2742,9 @@ const Ye = ({
2742
2742
  )
2743
2743
  ]
2744
2744
  }
2745
- ), l2 = ({
2745
+ ), h2 = ({
2746
2746
  className: i,
2747
- color: e = y.GREY_DARK_5,
2747
+ color: e = M.GREY_DARK_5,
2748
2748
  height: t = 24,
2749
2749
  width: s = 24,
2750
2750
  onClick: n
@@ -2781,9 +2781,9 @@ const Ye = ({
2781
2781
  )
2782
2782
  ]
2783
2783
  }
2784
- ), a2 = ({
2784
+ ), c2 = ({
2785
2785
  className: i,
2786
- color: e = y.GREY_DARK_5,
2786
+ color: e = M.GREY_DARK_5,
2787
2787
  height: t = 24,
2788
2788
  width: s = 24,
2789
2789
  onClick: n
@@ -2808,9 +2808,9 @@ const Ye = ({
2808
2808
  }
2809
2809
  )
2810
2810
  }
2811
- ), h2 = ({
2811
+ ), d2 = ({
2812
2812
  className: i,
2813
- color: e = y.GREY_DARK_5,
2813
+ color: e = M.GREY_DARK_5,
2814
2814
  height: t = 24,
2815
2815
  width: s = 24,
2816
2816
  onClick: n
@@ -2846,9 +2846,9 @@ const Ye = ({
2846
2846
  )
2847
2847
  ]
2848
2848
  }
2849
- ), c2 = ({
2849
+ ), g2 = ({
2850
2850
  className: i,
2851
- color: e = y.GREY_DARK_5,
2851
+ color: e = M.GREY_DARK_5,
2852
2852
  height: t = 24,
2853
2853
  width: s = 24,
2854
2854
  onClick: n
@@ -2867,9 +2867,9 @@ const Ye = ({
2867
2867
  /* @__PURE__ */ r("path", { d: "M12 8L4 8", stroke: e, strokeWidth: "1.7", strokeLinecap: "round" })
2868
2868
  ]
2869
2869
  }
2870
- ), d2 = ({
2870
+ ), u2 = ({
2871
2871
  className: i,
2872
- color: e = y.GREY_DARK_5,
2872
+ color: e = M.GREY_DARK_5,
2873
2873
  height: t = 24,
2874
2874
  width: s = 24,
2875
2875
  onClick: n
@@ -2906,9 +2906,9 @@ const Ye = ({
2906
2906
  )
2907
2907
  ]
2908
2908
  }
2909
- ), g2 = ({
2909
+ ), C2 = ({
2910
2910
  className: i,
2911
- color: e = y.GREY_DARK_5,
2911
+ color: e = M.GREY_DARK_5,
2912
2912
  height: t = 24,
2913
2913
  width: s = 24,
2914
2914
  onClick: n
@@ -2945,9 +2945,9 @@ const Ye = ({
2945
2945
  )
2946
2946
  ]
2947
2947
  }
2948
- ), u2 = ({
2948
+ ), p2 = ({
2949
2949
  className: i,
2950
- color: e = y.GREY_DARK_5,
2950
+ color: e = M.GREY_DARK_5,
2951
2951
  height: t = 24,
2952
2952
  width: s = 24,
2953
2953
  onClick: n
@@ -2984,9 +2984,9 @@ const Ye = ({
2984
2984
  )
2985
2985
  ]
2986
2986
  }
2987
- ), C2 = ({
2987
+ ), f2 = ({
2988
2988
  className: i,
2989
- color: e = y.GREY_DARK_2,
2989
+ color: e = M.GREY_DARK_2,
2990
2990
  height: t = 16,
2991
2991
  width: s = 16,
2992
2992
  onClick: n
@@ -3010,9 +3010,9 @@ const Ye = ({
3010
3010
  }
3011
3011
  )
3012
3012
  }
3013
- ), p2 = ({
3013
+ ), w2 = ({
3014
3014
  className: i,
3015
- color: e = y.GREY_DARK_5,
3015
+ color: e = M.GREY_DARK_5,
3016
3016
  height: t = 20,
3017
3017
  width: s = 20,
3018
3018
  onClick: n
@@ -3039,9 +3039,9 @@ const Ye = ({
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
- ), f2 = ({
3042
+ ), m2 = ({
3043
3043
  className: i,
3044
- color: e = y.GREY_DARK_5,
3044
+ color: e = M.GREY_DARK_5,
3045
3045
  height: t = 20,
3046
3046
  width: s = 20,
3047
3047
  onClick: n
@@ -3068,9 +3068,9 @@ const Ye = ({
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
- ), w2 = ({
3071
+ ), k2 = ({
3072
3072
  className: i,
3073
- color: e = y.GREY_DARK_5,
3073
+ color: e = M.GREY_DARK_5,
3074
3074
  height: t = 20,
3075
3075
  width: s = 20,
3076
3076
  onClick: n
@@ -3085,7 +3085,7 @@ const Ye = ({
3085
3085
  fill: "none",
3086
3086
  xmlns: "http://www.w3.org/2000/svg",
3087
3087
  children: [
3088
- /* @__PURE__ */ r("rect", { width: "20", height: "20", rx: "4", fill: y.GREY_LIGHT_2 }),
3088
+ /* @__PURE__ */ r("rect", { width: "20", height: "20", rx: "4", fill: M.GREY_LIGHT_2 }),
3089
3089
  /* @__PURE__ */ r(
3090
3090
  "path",
3091
3091
  {
@@ -3097,9 +3097,9 @@ const Ye = ({
3097
3097
  )
3098
3098
  ]
3099
3099
  }
3100
- ), m2 = ({
3100
+ ), L2 = ({
3101
3101
  className: i,
3102
- color: e = y.GREY_DARK_5,
3102
+ color: e = M.GREY_DARK_5,
3103
3103
  height: t = 20,
3104
3104
  width: s = 20,
3105
3105
  onClick: n
@@ -3114,7 +3114,7 @@ const Ye = ({
3114
3114
  fill: "none",
3115
3115
  xmlns: "http://www.w3.org/2000/svg",
3116
3116
  children: [
3117
- /* @__PURE__ */ r("rect", { width: "20", height: "20", rx: "4", fill: y.GREY_LIGHT_2 }),
3117
+ /* @__PURE__ */ r("rect", { width: "20", height: "20", rx: "4", fill: M.GREY_LIGHT_2 }),
3118
3118
  /* @__PURE__ */ r(
3119
3119
  "path",
3120
3120
  {
@@ -3126,7 +3126,7 @@ const Ye = ({
3126
3126
  )
3127
3127
  ]
3128
3128
  }
3129
- ), k2 = ({
3129
+ ), v2 = ({
3130
3130
  className: i,
3131
3131
  color: e = "#001E52",
3132
3132
  height: t = 24,
@@ -3152,7 +3152,7 @@ const Ye = ({
3152
3152
  }
3153
3153
  )
3154
3154
  }
3155
- ), L2 = ({
3155
+ ), N2 = ({
3156
3156
  className: i,
3157
3157
  color: e = "#131314",
3158
3158
  height: t = 20,
@@ -3180,7 +3180,7 @@ const Ye = ({
3180
3180
  }
3181
3181
  )
3182
3182
  }
3183
- ), v2 = ({
3183
+ ), x2 = ({
3184
3184
  className: i,
3185
3185
  color: e = "#001E52",
3186
3186
  height: t = 24,
@@ -3218,7 +3218,7 @@ const Ye = ({
3218
3218
  )
3219
3219
  ] }) })
3220
3220
  }
3221
- ), N2 = ({
3221
+ ), R2 = ({
3222
3222
  width: i = 20,
3223
3223
  height: e = 20,
3224
3224
  color: t = "#001E52",
@@ -3274,7 +3274,7 @@ const Ye = ({
3274
3274
  }
3275
3275
  )
3276
3276
  }
3277
- ), x2 = ({
3277
+ ), M2 = ({
3278
3278
  width: i = 24,
3279
3279
  height: e = 24,
3280
3280
  color: t = "#131314",
@@ -3307,7 +3307,7 @@ const Ye = ({
3307
3307
  )
3308
3308
  ]
3309
3309
  }
3310
- ), p1 = ({
3310
+ ), m1 = ({
3311
3311
  name: i,
3312
3312
  width: e,
3313
3313
  height: t,
@@ -3316,49 +3316,49 @@ const Ye = ({
3316
3316
  disabled: l = !1,
3317
3317
  onClick: c
3318
3318
  }) => {
3319
- const [o, d] = V(n), { theme: g } = n1(re), a = l ? g && g === "dark" ? y.GREY_LIGHT_4 : y.GREY_DARK_1 : s, h = l ? void 0 : c;
3320
- return O(() => {
3319
+ const [o, d] = S(n), { theme: g } = s1(oe), a = l ? g && g === "dark" ? M.GREY_LIGHT_4 : M.GREY_DARK_1 : s, h = l ? void 0 : c;
3320
+ return B(() => {
3321
3321
  if (n) {
3322
3322
  h && !l && d(`${n} clickable`);
3323
3323
  return;
3324
3324
  }
3325
3325
  h && !l && d("clickable");
3326
- }, [h, n, l]), /* @__PURE__ */ r(l1, { children: (() => {
3326
+ }, [h, n, l]), /* @__PURE__ */ r(a1, { children: (() => {
3327
3327
  switch (i) {
3328
3328
  case "nextIcon":
3329
- return Wt({ width: e, height: t, color: a, className: o, onClick: h });
3329
+ return Dt({ width: e, height: t, color: a, className: o, onClick: h });
3330
3330
  case "prevIcon":
3331
- return Tt({ width: e, height: t, color: a, className: o, onClick: h });
3331
+ return Gt({ width: e, height: t, color: a, className: o, onClick: h });
3332
3332
  case "arrowUp":
3333
- return Ye({ width: e, height: t, color: a, className: o, onClick: h });
3333
+ return ze({ width: e, height: t, color: a, className: o, onClick: h });
3334
3334
  case "arrowDown":
3335
- return Ue({ width: e, height: t, color: a, className: o, onClick: h });
3335
+ return Je({ width: e, height: t, color: a, className: o, onClick: h });
3336
3336
  case "info":
3337
- return ze({ width: e, height: t, color: a, className: o, onClick: h });
3337
+ return qe({ width: e, height: t, color: a, className: o, onClick: h });
3338
3338
  case "arrowRight":
3339
- return Je({ width: e, height: t, color: a, className: o, onClick: h });
3339
+ return Qe({ width: e, height: t, color: a, className: o, onClick: h });
3340
3340
  case "calendar":
3341
- return qe({ width: e, height: t, color: a, className: o, onClick: h });
3341
+ return Xe({ width: e, height: t, color: a, className: o, onClick: h });
3342
3342
  case "ok":
3343
- return Qe({ width: e, height: t, color: a, className: o, onClick: h });
3343
+ return et({ width: e, height: t, color: a, className: o, onClick: h });
3344
3344
  case "cancel":
3345
- return Xe({ width: e, height: t, color: a, className: o, onClick: h });
3345
+ return tt({ width: e, height: t, color: a, className: o, onClick: h });
3346
3346
  case "add":
3347
- return et({ width: e, height: t, color: a, className: o, onClick: h });
3347
+ return it({ width: e, height: t, color: a, className: o, onClick: h });
3348
3348
  case "list":
3349
- return tt({ width: e, height: t, color: a, className: o, onClick: h });
3349
+ return st({ width: e, height: t, color: a, className: o, onClick: h });
3350
3350
  case "dragAndDrop":
3351
- return it({ width: e, height: t, color: a, className: o, onClick: h });
3351
+ return nt({ width: e, height: t, color: a, className: o, onClick: h });
3352
3352
  case "filter":
3353
- return st({ width: e, height: t, color: a, className: o, onClick: h });
3353
+ return rt({ width: e, height: t, color: a, className: o, onClick: h });
3354
3354
  case "attention":
3355
- return nt({ width: e, height: t, color: a, className: o, onClick: h });
3355
+ return ot({ width: e, height: t, color: a, className: o, onClick: h });
3356
3356
  case "plus":
3357
- return rt({ width: e, height: t, color: a, className: o, onClick: h });
3357
+ return lt({ width: e, height: t, color: a, className: o, onClick: h });
3358
3358
  case "time":
3359
- return ot({ width: e, height: t, color: a, className: o, onClick: h });
3359
+ return at({ width: e, height: t, color: a, className: o, onClick: h });
3360
3360
  case "arrowDownLong":
3361
- return lt({
3361
+ return ht({
3362
3362
  width: e,
3363
3363
  height: t,
3364
3364
  color: a,
@@ -3366,9 +3366,9 @@ const Ye = ({
3366
3366
  onClick: h
3367
3367
  });
3368
3368
  case "users":
3369
- return at({ width: e, height: t, color: a, className: o, onClick: h });
3369
+ return ct({ width: e, height: t, color: a, className: o, onClick: h });
3370
3370
  case "mySkillsMatrix":
3371
- return ht({
3371
+ return dt({
3372
3372
  width: e,
3373
3373
  height: t,
3374
3374
  color: a,
@@ -3376,9 +3376,9 @@ const Ye = ({
3376
3376
  onClick: h
3377
3377
  });
3378
3378
  case "skills":
3379
- return ct({ width: e, height: t, color: a, className: o, onClick: h });
3379
+ return gt({ width: e, height: t, color: a, className: o, onClick: h });
3380
3380
  case "skillsMatrices":
3381
- return dt({
3381
+ return ut({
3382
3382
  width: e,
3383
3383
  height: t,
3384
3384
  color: a,
@@ -3386,23 +3386,23 @@ const Ye = ({
3386
3386
  onClick: h
3387
3387
  });
3388
3388
  case "history":
3389
- return gt({ width: e, height: t, color: a, className: o, onClick: h });
3389
+ return Ct({ width: e, height: t, color: a, className: o, onClick: h });
3390
3390
  case "logOut":
3391
- return ut({ width: e, height: t, color: a, className: o, onClick: h });
3391
+ return pt({ width: e, height: t, color: a, className: o, onClick: h });
3392
3392
  case "settings":
3393
- return Ct({ width: e, height: t, color: a, className: o, onClick: h });
3393
+ return ft({ width: e, height: t, color: a, className: o, onClick: h });
3394
3394
  case "addSkill":
3395
- return pt({ width: e, height: t, color: a, className: o, onClick: h });
3395
+ return wt({ width: e, height: t, color: a, className: o, onClick: h });
3396
3396
  case "conversation":
3397
- return ft({ width: e, height: t, color: a, className: o, onClick: h });
3397
+ return mt({ width: e, height: t, color: a, className: o, onClick: h });
3398
3398
  case "trash":
3399
- return wt({ width: e, height: t, color: a, className: o, onClick: h });
3399
+ return kt({ width: e, height: t, color: a, className: o, onClick: h });
3400
3400
  case "settings4":
3401
- return mt({ width: e, height: t, color: a, className: o, onClick: h });
3401
+ return Lt({ width: e, height: t, color: a, className: o, onClick: h });
3402
3402
  case "edit2":
3403
- return kt({ width: e, height: t, color: a, className: o, onClick: h });
3403
+ return vt({ width: e, height: t, color: a, className: o, onClick: h });
3404
3404
  case "notifications":
3405
- return Lt({
3405
+ return Nt({
3406
3406
  width: e,
3407
3407
  height: t,
3408
3408
  color: a,
@@ -3410,9 +3410,9 @@ const Ye = ({
3410
3410
  onClick: h
3411
3411
  });
3412
3412
  case "success":
3413
- return vt({ width: e, height: t, color: a, className: o, onClick: h });
3413
+ return xt({ width: e, height: t, color: a, className: o, onClick: h });
3414
3414
  case "attentionSmall":
3415
- return Nt({
3415
+ return Rt({
3416
3416
  width: e,
3417
3417
  height: t,
3418
3418
  color: a,
@@ -3420,11 +3420,11 @@ const Ye = ({
3420
3420
  onClick: h
3421
3421
  });
3422
3422
  case "errorSmall":
3423
- return xt({ width: e, height: t, color: a, className: o, onClick: h });
3423
+ return Mt({ width: e, height: t, color: a, className: o, onClick: h });
3424
3424
  case "infoMedium":
3425
- return Rt({ width: e, height: t, color: a, className: o, onClick: h });
3425
+ return yt({ width: e, height: t, color: a, className: o, onClick: h });
3426
3426
  case "attentionMedium":
3427
- return Mt({
3427
+ return bt({
3428
3428
  width: e,
3429
3429
  height: t,
3430
3430
  color: a,
@@ -3432,9 +3432,9 @@ const Ye = ({
3432
3432
  onClick: h
3433
3433
  });
3434
3434
  case "errorMedium":
3435
- return yt({ width: e, height: t, color: a, className: o, onClick: h });
3435
+ return Et({ width: e, height: t, color: a, className: o, onClick: h });
3436
3436
  case "faviconSkills":
3437
- return It({
3437
+ return Ot({
3438
3438
  width: e,
3439
3439
  height: t,
3440
3440
  color: a,
@@ -3442,7 +3442,7 @@ const Ye = ({
3442
3442
  onClick: h
3443
3443
  });
3444
3444
  case "visibilityIcon":
3445
- return bt({
3445
+ return _t({
3446
3446
  width: e,
3447
3447
  height: t,
3448
3448
  color: a,
@@ -3450,7 +3450,7 @@ const Ye = ({
3450
3450
  onClick: h
3451
3451
  });
3452
3452
  case "visibilityOffIcon":
3453
- return _t({
3453
+ return Ht({
3454
3454
  width: e,
3455
3455
  height: t,
3456
3456
  color: a,
@@ -3458,7 +3458,7 @@ const Ye = ({
3458
3458
  onClick: h
3459
3459
  });
3460
3460
  case "selectArrowIcon":
3461
- return Et({
3461
+ return Vt({
3462
3462
  width: e,
3463
3463
  height: t,
3464
3464
  color: a,
@@ -3466,7 +3466,7 @@ const Ye = ({
3466
3466
  onClick: h
3467
3467
  });
3468
3468
  case "expandArrowIcon":
3469
- return Ht({
3469
+ return It({
3470
3470
  width: e,
3471
3471
  height: t,
3472
3472
  color: a,
@@ -3474,7 +3474,7 @@ const Ye = ({
3474
3474
  onClick: h
3475
3475
  });
3476
3476
  case "expandActiveArrowIcon":
3477
- return Vt({
3477
+ return St({
3478
3478
  width: e,
3479
3479
  height: t,
3480
3480
  color: a,
@@ -3482,101 +3482,101 @@ const Ye = ({
3482
3482
  onClick: h
3483
3483
  });
3484
3484
  case "camera":
3485
- return St({ width: e, height: t, color: a, className: o, onClick: h });
3485
+ return At({ width: e, height: t, color: a, className: o, onClick: h });
3486
3486
  case "sortUp":
3487
- return Ot({ width: e, height: t, color: a, className: o, onClick: h });
3487
+ return Bt({ width: e, height: t, color: a, className: o, onClick: h });
3488
3488
  case "sortDown":
3489
- return At({ width: e, height: t, color: a, className: o, onClick: h });
3489
+ return Zt({ width: e, height: t, color: a, className: o, onClick: h });
3490
3490
  case "logOut2":
3491
- return Bt({ width: e, height: t, color: a, className: o, onClick: h });
3491
+ return jt({ width: e, height: t, color: a, className: o, onClick: h });
3492
3492
  case "search":
3493
- return Zt({ width: e, height: t, color: a, className: o, onClick: h });
3493
+ return Wt({ width: e, height: t, color: a, className: o, onClick: h });
3494
3494
  case "handRock":
3495
- return jt({ width: e, height: t, color: a, className: o, onClick: h });
3495
+ return Tt({ width: e, height: t, color: a, className: o, onClick: h });
3496
3496
  case "arrowUpFilled":
3497
- return Gt({ width: e, height: t, color: a, className: o, onClick: h });
3497
+ return Pt({ width: e, height: t, color: a, className: o, onClick: h });
3498
3498
  case "arrowDownFilled":
3499
- return Dt({ width: e, height: t, color: a, className: o, onClick: h });
3500
- case "link":
3501
3499
  return Kt({ width: e, height: t, color: a, className: o, onClick: h });
3502
- case "telegram":
3500
+ case "link":
3503
3501
  return Ft({ width: e, height: t, color: a, className: o, onClick: h });
3504
- case "mail":
3502
+ case "telegram":
3505
3503
  return Yt({ width: e, height: t, color: a, className: o, onClick: h });
3504
+ case "mail":
3505
+ return zt({ width: e, height: t, color: a, className: o, onClick: h });
3506
3506
  case "github":
3507
- return Pt({ width: e, height: t, color: a, className: o, onClick: h });
3508
- case "linkedIn":
3509
3507
  return $t({ width: e, height: t, color: a, className: o, onClick: h });
3510
- case "emptyStateIcon":
3508
+ case "linkedIn":
3511
3509
  return Ut({ width: e, height: t, color: a, className: o, onClick: h });
3510
+ case "emptyStateIcon":
3511
+ return Jt({ width: e, height: t, color: a, className: o, onClick: h });
3512
3512
  case "filtersIcon":
3513
- return zt({ width: e, height: t, color: a, className: o, onClick: h });
3513
+ return qt({ width: e, height: t, color: a, className: o, onClick: h });
3514
3514
  case "dotMenuIcon":
3515
- return Jt({ width: e, height: t, color: a, className: o, onClick: h });
3515
+ return Qt({ width: e, height: t, color: a, className: o, onClick: h });
3516
3516
  case "plusCircle":
3517
- return qt({ width: e, height: t, color: a, className: o, onClick: h });
3517
+ return Xt({ width: e, height: t, color: a, className: o, onClick: h });
3518
3518
  case "warning":
3519
- return Qt({ width: e, height: t, color: a, className: o, onClick: h });
3519
+ return e2({ width: e, height: t, color: a, className: o, onClick: h });
3520
3520
  case "back":
3521
- return Xt({ width: e, height: t, color: a, className: o, onClick: h });
3521
+ return t2({ width: e, height: t, color: a, className: o, onClick: h });
3522
3522
  case "bell":
3523
- return e2({ width: e, height: t, color: a, className: o, onClick: h });
3524
- case "contract":
3525
3523
  return i2({ width: e, height: t, color: a, className: o, onClick: h });
3524
+ case "contract":
3525
+ return n2({ width: e, height: t, color: a, className: o, onClick: h });
3526
3526
  case "trash2":
3527
- return t2({ width: e, height: t, color: a, className: o, onClick: h });
3528
- case "manager":
3529
3527
  return s2({ width: e, height: t, color: a, className: o, onClick: h });
3528
+ case "manager":
3529
+ return r2({ width: e, height: t, color: a, className: o, onClick: h });
3530
3530
  case "resourceManager":
3531
- return n2({ width: e, height: t, color: a, className: o, onClick: h });
3531
+ return o2({ width: e, height: t, color: a, className: o, onClick: h });
3532
3532
  case "settings2":
3533
- return r2({ width: e, height: t, color: a, className: o, onClick: h });
3533
+ return l2({ width: e, height: t, color: a, className: o, onClick: h });
3534
3534
  case "image":
3535
- return o2({ width: e, height: t, color: a, className: o, onClick: h });
3535
+ return a2({ width: e, height: t, color: a, className: o, onClick: h });
3536
3536
  case "upload":
3537
- return l2({ width: e, height: t, color: a, className: o, onClick: h });
3537
+ return h2({ width: e, height: t, color: a, className: o, onClick: h });
3538
3538
  case "edit":
3539
- return a2({ 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 "location":
3541
- return h2({ width: e, height: t, color: a, className: o, onClick: h });
3541
+ return d2({ width: e, height: t, color: a, className: o, onClick: h });
3542
3542
  case "plus2":
3543
- return c2({ width: e, height: t, color: a, className: o, onClick: h });
3543
+ return g2({ width: e, height: t, color: a, className: o, onClick: h });
3544
3544
  case "search2":
3545
- return d2({ width: e, height: t, color: a, className: o, onClick: h });
3545
+ return u2({ width: e, height: t, color: a, className: o, onClick: h });
3546
3546
  case "fastArrowLeft":
3547
- return g2({ width: e, height: t, color: a, className: o, onClick: h });
3547
+ return C2({ width: e, height: t, color: a, className: o, onClick: h });
3548
3548
  case "fastArrowRight":
3549
- return u2({ width: e, height: t, color: a, className: o, onClick: h });
3549
+ return p2({ width: e, height: t, color: a, className: o, onClick: h });
3550
3550
  case "crossInCircle":
3551
- return C2({ width: e, height: t, color: a, className: o, onClick: h });
3552
- case "arrowUp2":
3553
3551
  return f2({ width: e, height: t, color: a, className: o, onClick: h });
3552
+ case "arrowUp2":
3553
+ return m2({ width: e, height: t, color: a, className: o, onClick: h });
3554
3554
  case "arrowDown2":
3555
- return p2({ width: e, height: t, color: a, className: o, onClick: h });
3556
- case "filledArrowLeft":
3557
3555
  return w2({ width: e, height: t, color: a, className: o, onClick: h });
3556
+ case "filledArrowLeft":
3557
+ return k2({ width: e, height: t, color: a, className: o, onClick: h });
3558
3558
  case "filledArrowRight":
3559
- return m2({ width: e, height: t, color: a, className: o, onClick: h });
3559
+ return L2({ width: e, height: t, color: a, className: o, onClick: h });
3560
3560
  case "burgerMenu":
3561
- return k2({ width: e, height: t, color: a, className: o, onClick: h });
3561
+ return v2({ width: e, height: t, color: a, className: o, onClick: h });
3562
3562
  case "signOut":
3563
- return L2({ width: e, height: t, color: a, className: o, onClick: h });
3563
+ return N2({ width: e, height: t, color: a, className: o, onClick: h });
3564
3564
  case "refresh":
3565
- return v2({ width: e, height: t, color: a, className: o, onClick: h });
3565
+ return x2({ width: e, height: t, color: a, className: o, onClick: h });
3566
3566
  case "projects":
3567
- return N2({ width: e, height: t, color: a, className: o, onClick: h });
3567
+ return R2({ width: e, height: t, color: a, className: o, onClick: h });
3568
3568
  case "exit":
3569
- return x2({ width: e, height: t, color: a, className: o, onClick: h });
3569
+ return M2({ width: e, height: t, color: a, className: o, onClick: h });
3570
3570
  default:
3571
- return /* @__PURE__ */ r(l1, { children: "No Icon provided" });
3571
+ return /* @__PURE__ */ r(a1, { children: "No Icon provided" });
3572
3572
  }
3573
3573
  })() });
3574
- }, { Title: R2, Text: M2 } = ve, y2 = {
3574
+ }, { Title: y2, Text: b2 } = xe, E2 = {
3575
3575
  h1: 1,
3576
3576
  h2: 2,
3577
3577
  h3: 3,
3578
3578
  h4: 4
3579
- }, b2 = x1(
3579
+ }, _2 = M1(
3580
3580
  ({
3581
3581
  align: i = "inherit",
3582
3582
  variant: e = "body1",
@@ -3589,17 +3589,17 @@ const Ye = ({
3589
3589
  const d = e === "h1" || e === "h2" || e === "h3" || e === "h4";
3590
3590
  let g = `snmt-typography snmt-typography-${e}`;
3591
3591
  return i && i !== "inherit" && (g += ` snmt-typography-align-${i}`), l && (g += " collapsed"), d ? /* @__PURE__ */ r(
3592
- R2,
3592
+ y2,
3593
3593
  {
3594
3594
  className: g,
3595
3595
  style: { color: t, whiteSpace: c },
3596
3596
  onClick: n,
3597
- level: y2[e],
3597
+ level: E2[e],
3598
3598
  ref: o,
3599
3599
  children: s
3600
3600
  }
3601
3601
  ) : /* @__PURE__ */ r(
3602
- M2,
3602
+ b2,
3603
3603
  {
3604
3604
  className: g,
3605
3605
  style: { color: t, whiteSpace: c },
@@ -3610,13 +3610,13 @@ const Ye = ({
3610
3610
  );
3611
3611
  }
3612
3612
  );
3613
- var b = /* @__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))(b || {});
3614
- const oe = a1({
3613
+ var y = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_1 = "var(--grey-light-1)", i.GREY_LIGHT_2 = "var(--grey-light-2)", i.GREY_LIGHT_3 = "var(--grey-light-3)", i.GREY_LIGHT_4 = "var(--grey-light-4)", i.GREY_DARK_1 = "var(--grey-dark-1)", i.GREY_DARK_2 = "var(--grey-dark-2)", i.GREY_DARK_3 = "var(--grey-dark-3)", i.GREY_DARK_4 = "var(--grey-dark-4)", i.GREY_DARK_5 = "var(--grey-dark-5)", i.BLUE_PRIMARY = "var(--blue-primary)", i.BLUE_HOVER = "var(--blue-hover)", i.BLUE_LIGHT_1 = "var(--blue-light-1)", i.BLUE_LIGHT_2 = "var(--blue-light-2)", i.BLUE_LIGHT_3 = "var(--blue-light-3)", i.BLUE_LIGHT_4 = "var(--blue-light-4)", i.BLUE_DARK_1 = "var(--blue-dark-1)", i.PURPLE_LIGHT = "var(--purple-light)", i.PURPLE_DARK = "var(--purple-dark)", i.NOTIFICATION_WARNING_LIGHT = "var(--notification-warning-light)", i.NOTIFICATION_WARNING_DARK = "var(--notification-warning-dark)", i.NOTIFICATION_SUCCESS_LIGHT = "var(--notification-success-light)", i.NOTIFICATION_SUCCESS_DARK = "var(--notification-success-dark)", i.NOTIFICATION_ERROR_LIGHT = "var(--notification-error-light)", i.NOTIFICATION_ERROR_DARK = "var(--notification-error-dark)", i.NOTIFICATION_ERROR_DARK_MODE = "var(--notification-error-dark-mode)", i))(y || {});
3614
+ const le = h1({
3615
3615
  locale: "en",
3616
3616
  theme: "light"
3617
3617
  });
3618
- oe.Provider;
3619
- const _2 = ({
3618
+ le.Provider;
3619
+ const H2 = ({
3620
3620
  width: i = 20,
3621
3621
  height: e = 20,
3622
3622
  color: t = "#001E52",
@@ -3643,7 +3643,7 @@ const _2 = ({
3643
3643
  }
3644
3644
  )
3645
3645
  }
3646
- ), E2 = ({
3646
+ ), V2 = ({
3647
3647
  width: i = 20,
3648
3648
  height: e = 20,
3649
3649
  color: t = "#001E52",
@@ -3670,7 +3670,7 @@ const _2 = ({
3670
3670
  }
3671
3671
  )
3672
3672
  }
3673
- ), H2 = ({
3673
+ ), I2 = ({
3674
3674
  width: i = 16,
3675
3675
  height: e = 16,
3676
3676
  color: t = "#001E52",
@@ -3698,7 +3698,7 @@ const _2 = ({
3698
3698
  )
3699
3699
  ]
3700
3700
  }
3701
- ), V2 = ({
3701
+ ), S2 = ({
3702
3702
  width: i = 20,
3703
3703
  height: e = 20,
3704
3704
  color: t = "#001E52",
@@ -3733,7 +3733,7 @@ const _2 = ({
3733
3733
  )
3734
3734
  ]
3735
3735
  }
3736
- ), I2 = ({
3736
+ ), O2 = ({
3737
3737
  width: i = 18,
3738
3738
  height: e = 18,
3739
3739
  color: t = "#001E52",
@@ -3772,7 +3772,7 @@ const _2 = ({
3772
3772
  )
3773
3773
  ]
3774
3774
  }
3775
- ), S2 = ({
3775
+ ), A2 = ({
3776
3776
  width: i = 20,
3777
3777
  height: e = 20,
3778
3778
  color: t = "#001E52",
@@ -3798,7 +3798,7 @@ const _2 = ({
3798
3798
  }
3799
3799
  )
3800
3800
  }
3801
- ), O2 = ({
3801
+ ), B2 = ({
3802
3802
  width: i = 20,
3803
3803
  height: e = 20,
3804
3804
  color: t = "#001E52",
@@ -3819,7 +3819,7 @@ const _2 = ({
3819
3819
  /* @__PURE__ */ r("path", { d: "M16 4L4 16", stroke: t, strokeWidth: "1.5", strokeLinecap: "round" })
3820
3820
  ]
3821
3821
  }
3822
- ), A2 = ({
3822
+ ), Z2 = ({
3823
3823
  width: i = 20,
3824
3824
  height: e = 20,
3825
3825
  color: t = "#001E52",
@@ -3851,7 +3851,7 @@ const _2 = ({
3851
3851
  )
3852
3852
  ]
3853
3853
  }
3854
- ), B2 = ({
3854
+ ), j2 = ({
3855
3855
  width: i = 20,
3856
3856
  height: e = 20,
3857
3857
  color: t = "#001E52",
@@ -3905,7 +3905,7 @@ const _2 = ({
3905
3905
  )
3906
3906
  ]
3907
3907
  }
3908
- ), Z2 = ({
3908
+ ), W2 = ({
3909
3909
  width: i = 20,
3910
3910
  height: e = 20,
3911
3911
  color: t = "#001E52",
@@ -3944,7 +3944,7 @@ const _2 = ({
3944
3944
  /* @__PURE__ */ r("path", { d: "M3 12L17 12", stroke: t, strokeWidth: "2", strokeLinecap: "round" })
3945
3945
  ]
3946
3946
  }
3947
- ), j2 = ({
3947
+ ), T2 = ({
3948
3948
  width: i = 16,
3949
3949
  height: e = 12,
3950
3950
  color: t = "#001E52",
@@ -3993,7 +3993,7 @@ const _2 = ({
3993
3993
  )
3994
3994
  ] })
3995
3995
  }
3996
- ), W2 = ({
3996
+ ), D2 = ({
3997
3997
  width: i = 16,
3998
3998
  height: e = 16,
3999
3999
  color: t = "#001E52",
@@ -4027,7 +4027,7 @@ const _2 = ({
4027
4027
  )
4028
4028
  ]
4029
4029
  }
4030
- ), T2 = ({
4030
+ ), G2 = ({
4031
4031
  width: i = 10,
4032
4032
  height: e = 10,
4033
4033
  color: t = "#001E52",
@@ -4066,7 +4066,7 @@ const _2 = ({
4066
4066
  )
4067
4067
  ] })
4068
4068
  }
4069
- ), D2 = ({
4069
+ ), K2 = ({
4070
4070
  width: i = 16,
4071
4071
  height: e = 16,
4072
4072
  color: t = "#001E52",
@@ -4102,7 +4102,7 @@ const _2 = ({
4102
4102
  )
4103
4103
  ]
4104
4104
  }
4105
- ), G2 = ({
4105
+ ), P2 = ({
4106
4106
  width: i = 11,
4107
4107
  height: e = 32,
4108
4108
  color: t = "#001E52",
@@ -4140,7 +4140,7 @@ const _2 = ({
4140
4140
  /* @__PURE__ */ r("circle", { cx: "3", cy: "3", r: "3", fill: t })
4141
4141
  ]
4142
4142
  }
4143
- ), K2 = ({
4143
+ ), F2 = ({
4144
4144
  width: i = 20,
4145
4145
  height: e = 20,
4146
4146
  color: t = "#001E52",
@@ -4187,7 +4187,7 @@ const _2 = ({
4187
4187
  )
4188
4188
  ]
4189
4189
  }
4190
- ), P2 = ({
4190
+ ), $2 = ({
4191
4191
  width: i = 20,
4192
4192
  height: e = 20,
4193
4193
  color: t = "#001E52",
@@ -4220,7 +4220,7 @@ const _2 = ({
4220
4220
  )
4221
4221
  ]
4222
4222
  }
4223
- ), F2 = ({
4223
+ ), Y2 = ({
4224
4224
  width: i = 20,
4225
4225
  height: e = 20,
4226
4226
  color: t = "#001E52",
@@ -4267,7 +4267,7 @@ const _2 = ({
4267
4267
  )
4268
4268
  ]
4269
4269
  }
4270
- ), $2 = ({
4270
+ ), U2 = ({
4271
4271
  width: i = 20,
4272
4272
  height: e = 20,
4273
4273
  color: t = "#001E52",
@@ -4300,7 +4300,7 @@ const _2 = ({
4300
4300
  )
4301
4301
  ]
4302
4302
  }
4303
- ), Y2 = ({
4303
+ ), z2 = ({
4304
4304
  width: i = 18,
4305
4305
  height: e = 16,
4306
4306
  color: t = "#001E52",
@@ -4339,7 +4339,7 @@ const _2 = ({
4339
4339
  )
4340
4340
  ]
4341
4341
  }
4342
- ), U2 = ({
4342
+ ), J2 = ({
4343
4343
  width: i = 20,
4344
4344
  height: e = 20,
4345
4345
  color: t = "#001E52",
@@ -4372,7 +4372,7 @@ const _2 = ({
4372
4372
  )
4373
4373
  ]
4374
4374
  }
4375
- ), z2 = ({
4375
+ ), q2 = ({
4376
4376
  width: i = 20,
4377
4377
  height: e = 20,
4378
4378
  color: t = "#001E52",
@@ -4396,7 +4396,7 @@ const _2 = ({
4396
4396
  }
4397
4397
  )
4398
4398
  }
4399
- ), J2 = ({
4399
+ ), Q2 = ({
4400
4400
  width: i = 20,
4401
4401
  height: e = 20,
4402
4402
  color: t = "#001E52",
@@ -4443,7 +4443,7 @@ const _2 = ({
4443
4443
  )
4444
4444
  ]
4445
4445
  }
4446
- ), q2 = ({
4446
+ ), X2 = ({
4447
4447
  width: i = 20,
4448
4448
  height: e = 20,
4449
4449
  color: t = "#001E52",
@@ -4476,7 +4476,7 @@ const _2 = ({
4476
4476
  )
4477
4477
  ]
4478
4478
  }
4479
- ), Q2 = ({
4479
+ ), e5 = ({
4480
4480
  width: i = 20,
4481
4481
  height: e = 20,
4482
4482
  color: t = "#001E52",
@@ -4509,7 +4509,7 @@ const _2 = ({
4509
4509
  )
4510
4510
  ]
4511
4511
  }
4512
- ), X2 = ({
4512
+ ), t5 = ({
4513
4513
  width: i = 20,
4514
4514
  height: e = 23,
4515
4515
  color: t = "#001E52",
@@ -4570,7 +4570,7 @@ const _2 = ({
4570
4570
  )
4571
4571
  ]
4572
4572
  }
4573
- ), e5 = ({
4573
+ ), i5 = ({
4574
4574
  width: i = 20,
4575
4575
  height: e = 20,
4576
4576
  color: t = "#001E52",
@@ -4610,7 +4610,7 @@ const _2 = ({
4610
4610
  )
4611
4611
  ]
4612
4612
  }
4613
- ), t5 = ({
4613
+ ), s5 = ({
4614
4614
  width: i = 32,
4615
4615
  height: e = 25,
4616
4616
  color: t = "#001E52",
@@ -4638,7 +4638,7 @@ const _2 = ({
4638
4638
  )
4639
4639
  ]
4640
4640
  }
4641
- ), i5 = ({
4641
+ ), n5 = ({
4642
4642
  width: i = 14,
4643
4643
  height: e = 14,
4644
4644
  color: t = "#10B981",
@@ -4667,7 +4667,7 @@ const _2 = ({
4667
4667
  )
4668
4668
  ]
4669
4669
  }
4670
- ), s5 = ({
4670
+ ), r5 = ({
4671
4671
  width: i = 11,
4672
4672
  height: e = 11,
4673
4673
  color: t = "#FFB020",
@@ -4701,7 +4701,7 @@ const _2 = ({
4701
4701
  )
4702
4702
  ]
4703
4703
  }
4704
- ), n5 = ({
4704
+ ), o5 = ({
4705
4705
  width: i = 10,
4706
4706
  height: e = 10,
4707
4707
  color: t = "#88A4FF",
@@ -4749,7 +4749,7 @@ const _2 = ({
4749
4749
  )
4750
4750
  ]
4751
4751
  }
4752
- ), r5 = ({
4752
+ ), l5 = ({
4753
4753
  width: i = 14,
4754
4754
  height: e = 14,
4755
4755
  color: t = "#8E8E93",
@@ -4777,7 +4777,7 @@ const _2 = ({
4777
4777
  )
4778
4778
  ]
4779
4779
  }
4780
- ), o5 = ({
4780
+ ), a5 = ({
4781
4781
  width: i = 14,
4782
4782
  height: e = 14,
4783
4783
  color: t = "#FFB020",
@@ -4811,7 +4811,7 @@ const _2 = ({
4811
4811
  )
4812
4812
  ]
4813
4813
  }
4814
- ), l5 = ({
4814
+ ), h5 = ({
4815
4815
  width: i = 14,
4816
4816
  height: e = 14,
4817
4817
  color: t = "#D0421B",
@@ -4859,7 +4859,7 @@ const _2 = ({
4859
4859
  )
4860
4860
  ]
4861
4861
  }
4862
- ), a5 = ({
4862
+ ), c5 = ({
4863
4863
  width: i = 20,
4864
4864
  height: e = 20,
4865
4865
  color: t = "#070739",
@@ -4889,7 +4889,7 @@ const _2 = ({
4889
4889
  /* @__PURE__ */ r("circle", { cx: "10", cy: "10", r: "2.375", stroke: t, strokeWidth: "1.25" })
4890
4890
  ]
4891
4891
  }
4892
- ), h5 = ({
4892
+ ), d5 = ({
4893
4893
  width: i = 20,
4894
4894
  height: e = 20,
4895
4895
  color: t = "#070739",
@@ -4927,7 +4927,7 @@ const _2 = ({
4927
4927
  )
4928
4928
  ]
4929
4929
  }
4930
- ), c5 = ({
4930
+ ), g5 = ({
4931
4931
  width: i = 9,
4932
4932
  height: e = 5,
4933
4933
  color: t = "#001E52",
@@ -4953,7 +4953,7 @@ const _2 = ({
4953
4953
  }
4954
4954
  )
4955
4955
  }
4956
- ), d5 = ({
4956
+ ), u5 = ({
4957
4957
  width: i = 20,
4958
4958
  height: e = 20,
4959
4959
  color: t = "#F2F2F7",
@@ -4982,7 +4982,7 @@ const _2 = ({
4982
4982
  )
4983
4983
  ]
4984
4984
  }
4985
- ), g5 = ({
4985
+ ), C5 = ({
4986
4986
  width: i = 20,
4987
4987
  height: e = 20,
4988
4988
  color: t = "#004ED7",
@@ -5011,7 +5011,7 @@ const _2 = ({
5011
5011
  )
5012
5012
  ]
5013
5013
  }
5014
- ), u5 = ({
5014
+ ), p5 = ({
5015
5015
  width: i = 248,
5016
5016
  height: e = 248,
5017
5017
  color: t = "#070739",
@@ -5048,7 +5048,7 @@ const _2 = ({
5048
5048
  )
5049
5049
  ]
5050
5050
  }
5051
- ), C5 = ({
5051
+ ), f5 = ({
5052
5052
  width: i = 24,
5053
5053
  height: e = 24,
5054
5054
  color: t = "#001E52",
@@ -5087,7 +5087,7 @@ const _2 = ({
5087
5087
  )
5088
5088
  ]
5089
5089
  }
5090
- ), p5 = ({
5090
+ ), w5 = ({
5091
5091
  width: i = 10,
5092
5092
  height: e = 10,
5093
5093
  color: t = "#001E52",
@@ -5116,7 +5116,7 @@ const _2 = ({
5116
5116
  )
5117
5117
  ]
5118
5118
  }
5119
- ), f5 = ({
5119
+ ), m5 = ({
5120
5120
  width: i = 10,
5121
5121
  height: e = 10,
5122
5122
  color: t = "#001E52",
@@ -5153,10 +5153,10 @@ const _2 = ({
5153
5153
  )
5154
5154
  ]
5155
5155
  }
5156
- ), w5 = ({
5156
+ ), k5 = ({
5157
5157
  width: i = 24,
5158
5158
  height: e = 24,
5159
- color: t = b.GREY_DARK_5,
5159
+ color: t = y.GREY_DARK_5,
5160
5160
  className: s,
5161
5161
  onClick: n
5162
5162
  }) => /* @__PURE__ */ u(
@@ -5192,10 +5192,10 @@ const _2 = ({
5192
5192
  )
5193
5193
  ]
5194
5194
  }
5195
- ), m5 = ({
5195
+ ), L5 = ({
5196
5196
  width: i = 20,
5197
5197
  height: e = 20,
5198
- color: t = b.GREY_DARK_1,
5198
+ color: t = y.GREY_DARK_1,
5199
5199
  className: s,
5200
5200
  onClick: n
5201
5201
  }) => /* @__PURE__ */ u(
@@ -5225,10 +5225,10 @@ const _2 = ({
5225
5225
  )
5226
5226
  ]
5227
5227
  }
5228
- ), k5 = ({
5228
+ ), v5 = ({
5229
5229
  width: i = 81,
5230
5230
  height: e = 80,
5231
- color: t = b.GREY_DARK_5,
5231
+ color: t = y.GREY_DARK_5,
5232
5232
  className: s,
5233
5233
  onClick: n
5234
5234
  }) => /* @__PURE__ */ u(
@@ -5274,9 +5274,9 @@ const _2 = ({
5274
5274
  )
5275
5275
  ]
5276
5276
  }
5277
- ), L5 = ({
5277
+ ), N5 = ({
5278
5278
  className: i,
5279
- color: e = b.GREY_DARK_5,
5279
+ color: e = y.GREY_DARK_5,
5280
5280
  height: t = 20,
5281
5281
  width: s = 20,
5282
5282
  onClick: n
@@ -5301,9 +5301,9 @@ const _2 = ({
5301
5301
  }
5302
5302
  )
5303
5303
  }
5304
- ), v5 = ({
5304
+ ), x5 = ({
5305
5305
  className: i,
5306
- color: e = b.GREY_DARK_5,
5306
+ color: e = y.GREY_DARK_5,
5307
5307
  height: t = 20,
5308
5308
  width: s = 20,
5309
5309
  onClick: n
@@ -5328,9 +5328,9 @@ const _2 = ({
5328
5328
  }
5329
5329
  )
5330
5330
  }
5331
- ), N5 = ({
5331
+ ), R5 = ({
5332
5332
  className: i,
5333
- color: e = b.GREY_DARK_5,
5333
+ color: e = y.GREY_DARK_5,
5334
5334
  height: t = 5,
5335
5335
  width: s = 10,
5336
5336
  onClick: n
@@ -5352,9 +5352,9 @@ const _2 = ({
5352
5352
  }
5353
5353
  )
5354
5354
  }
5355
- ), x5 = ({
5355
+ ), M5 = ({
5356
5356
  className: i,
5357
- color: e = b.GREY_DARK_5,
5357
+ color: e = y.GREY_DARK_5,
5358
5358
  height: t = 5,
5359
5359
  width: s = 10,
5360
5360
  onClick: n
@@ -5377,9 +5377,9 @@ const _2 = ({
5377
5377
  }
5378
5378
  )
5379
5379
  }
5380
- ), R5 = ({
5380
+ ), y5 = ({
5381
5381
  className: i,
5382
- color: e = b.GREY_DARK_5,
5382
+ color: e = y.GREY_DARK_5,
5383
5383
  height: t = 24,
5384
5384
  width: s = 24,
5385
5385
  onClick: n
@@ -5416,9 +5416,9 @@ const _2 = ({
5416
5416
  )
5417
5417
  ]
5418
5418
  }
5419
- ), M5 = ({
5419
+ ), b5 = ({
5420
5420
  className: i,
5421
- color: e = b.GREY_DARK_5,
5421
+ color: e = y.GREY_DARK_5,
5422
5422
  height: t = 24,
5423
5423
  width: s = 24,
5424
5424
  onClick: n
@@ -5455,9 +5455,9 @@ const _2 = ({
5455
5455
  )
5456
5456
  ]
5457
5457
  }
5458
- ), y5 = ({
5458
+ ), E5 = ({
5459
5459
  className: i,
5460
- color: e = b.GREY_DARK_5,
5460
+ color: e = y.GREY_DARK_5,
5461
5461
  height: t = 24,
5462
5462
  width: s = 24,
5463
5463
  onClick: n
@@ -5482,9 +5482,9 @@ const _2 = ({
5482
5482
  }
5483
5483
  )
5484
5484
  }
5485
- ), b5 = ({
5485
+ ), _5 = ({
5486
5486
  className: i,
5487
- color: e = b.GREY_DARK_5,
5487
+ color: e = y.GREY_DARK_5,
5488
5488
  height: t = 24,
5489
5489
  width: s = 24,
5490
5490
  onClick: n
@@ -5541,9 +5541,9 @@ const _2 = ({
5541
5541
  )
5542
5542
  ]
5543
5543
  }
5544
- ), _5 = ({
5544
+ ), H5 = ({
5545
5545
  className: i,
5546
- color: e = b.GREY_DARK_5,
5546
+ color: e = y.GREY_DARK_5,
5547
5547
  height: t = 24,
5548
5548
  width: s = 24,
5549
5549
  onClick: n
@@ -5578,9 +5578,9 @@ const _2 = ({
5578
5578
  )
5579
5579
  ]
5580
5580
  }
5581
- ), E5 = ({
5581
+ ), V5 = ({
5582
5582
  className: i,
5583
- color: e = b.GREY_DARK_3,
5583
+ color: e = y.GREY_DARK_3,
5584
5584
  height: t = 14,
5585
5585
  width: s = 14,
5586
5586
  onClick: n
@@ -5615,9 +5615,9 @@ const _2 = ({
5615
5615
  )
5616
5616
  ]
5617
5617
  }
5618
- ), H5 = ({
5618
+ ), I5 = ({
5619
5619
  className: i,
5620
- color: e = b.GREY_DARK_5,
5620
+ color: e = y.GREY_DARK_5,
5621
5621
  height: t = 18,
5622
5622
  onClick: s,
5623
5623
  width: n = 18
@@ -5642,9 +5642,9 @@ const _2 = ({
5642
5642
  }
5643
5643
  )
5644
5644
  }
5645
- ), V5 = ({
5645
+ ), S5 = ({
5646
5646
  className: i,
5647
- color: e = b.GREY_DARK_5,
5647
+ color: e = y.GREY_DARK_5,
5648
5648
  height: t = 24,
5649
5649
  width: s = 24,
5650
5650
  onClick: n
@@ -5694,9 +5694,9 @@ const _2 = ({
5694
5694
  )
5695
5695
  ]
5696
5696
  }
5697
- ), I5 = ({
5697
+ ), O5 = ({
5698
5698
  className: i,
5699
- color: e = b.GREY_DARK_5,
5699
+ color: e = y.GREY_DARK_5,
5700
5700
  height: t = 24,
5701
5701
  width: s = 24,
5702
5702
  onClick: n
@@ -5731,9 +5731,9 @@ const _2 = ({
5731
5731
  )
5732
5732
  ]
5733
5733
  }
5734
- ), S5 = ({
5734
+ ), A5 = ({
5735
5735
  className: i,
5736
- color: e = b.NOTIFICATION_WARNING_DARK,
5736
+ color: e = y.NOTIFICATION_WARNING_DARK,
5737
5737
  height: t = 37,
5738
5738
  width: s = 36,
5739
5739
  onClick: n
@@ -5770,9 +5770,9 @@ const _2 = ({
5770
5770
  )
5771
5771
  ]
5772
5772
  }
5773
- ), O5 = ({
5773
+ ), B5 = ({
5774
5774
  className: i,
5775
- color: e = b.GREY_DARK_5,
5775
+ color: e = y.GREY_DARK_5,
5776
5776
  height: t = 24,
5777
5777
  width: s = 24,
5778
5778
  onClick: n
@@ -5796,9 +5796,9 @@ const _2 = ({
5796
5796
  }
5797
5797
  )
5798
5798
  }
5799
- ), A5 = ({
5799
+ ), Z5 = ({
5800
5800
  className: i,
5801
- color: e = b.GREY_DARK_5,
5801
+ color: e = y.GREY_DARK_5,
5802
5802
  height: t = 24,
5803
5803
  width: s = 24,
5804
5804
  onClick: n
@@ -5835,9 +5835,9 @@ const _2 = ({
5835
5835
  )
5836
5836
  ]
5837
5837
  }
5838
- ), B5 = ({
5838
+ ), j5 = ({
5839
5839
  className: i,
5840
- color: e = b.GREY_DARK_5,
5840
+ color: e = y.GREY_DARK_5,
5841
5841
  height: t = 24,
5842
5842
  width: s = 24,
5843
5843
  onClick: n
@@ -5874,9 +5874,9 @@ const _2 = ({
5874
5874
  )
5875
5875
  ]
5876
5876
  }
5877
- ), Z5 = ({
5877
+ ), W5 = ({
5878
5878
  className: i,
5879
- color: e = b.GREY_DARK_5,
5879
+ color: e = y.GREY_DARK_5,
5880
5880
  height: t = 24,
5881
5881
  width: s = 24,
5882
5882
  onClick: n
@@ -5943,9 +5943,9 @@ const _2 = ({
5943
5943
  )
5944
5944
  ]
5945
5945
  }
5946
- ), j5 = ({
5946
+ ), T5 = ({
5947
5947
  className: i,
5948
- color: e = b.GREY_DARK_5,
5948
+ color: e = y.GREY_DARK_5,
5949
5949
  height: t = 24,
5950
5950
  width: s = 24,
5951
5951
  onClick: n
@@ -5982,9 +5982,9 @@ const _2 = ({
5982
5982
  )
5983
5983
  ]
5984
5984
  }
5985
- ), W5 = ({
5985
+ ), D5 = ({
5986
5986
  className: i,
5987
- color: e = b.GREY_DARK_5,
5987
+ color: e = y.GREY_DARK_5,
5988
5988
  height: t = 24,
5989
5989
  width: s = 24,
5990
5990
  onClick: n
@@ -6039,9 +6039,9 @@ const _2 = ({
6039
6039
  )
6040
6040
  ]
6041
6041
  }
6042
- ), T5 = ({
6042
+ ), G5 = ({
6043
6043
  className: i,
6044
- color: e = b.GREY_DARK_5,
6044
+ color: e = y.GREY_DARK_5,
6045
6045
  height: t = 24,
6046
6046
  width: s = 24,
6047
6047
  onClick: n
@@ -6078,9 +6078,9 @@ const _2 = ({
6078
6078
  )
6079
6079
  ]
6080
6080
  }
6081
- ), D5 = ({
6081
+ ), K5 = ({
6082
6082
  className: i,
6083
- color: e = b.GREY_DARK_5,
6083
+ color: e = y.GREY_DARK_5,
6084
6084
  height: t = 24,
6085
6085
  width: s = 24,
6086
6086
  onClick: n
@@ -6127,9 +6127,9 @@ const _2 = ({
6127
6127
  )
6128
6128
  ]
6129
6129
  }
6130
- ), G5 = ({
6130
+ ), P5 = ({
6131
6131
  className: i,
6132
- color: e = b.GREY_DARK_5,
6132
+ color: e = y.GREY_DARK_5,
6133
6133
  height: t = 24,
6134
6134
  width: s = 24,
6135
6135
  onClick: n
@@ -6166,9 +6166,9 @@ const _2 = ({
6166
6166
  )
6167
6167
  ]
6168
6168
  }
6169
- ), K5 = ({
6169
+ ), F5 = ({
6170
6170
  className: i,
6171
- color: e = b.GREY_DARK_5,
6171
+ color: e = y.GREY_DARK_5,
6172
6172
  height: t = 24,
6173
6173
  width: s = 24,
6174
6174
  onClick: n
@@ -6193,9 +6193,9 @@ const _2 = ({
6193
6193
  }
6194
6194
  )
6195
6195
  }
6196
- ), P5 = ({
6196
+ ), $5 = ({
6197
6197
  className: i,
6198
- color: e = b.GREY_DARK_5,
6198
+ color: e = y.GREY_DARK_5,
6199
6199
  height: t = 24,
6200
6200
  width: s = 24,
6201
6201
  onClick: n
@@ -6231,9 +6231,9 @@ const _2 = ({
6231
6231
  )
6232
6232
  ]
6233
6233
  }
6234
- ), F5 = ({
6234
+ ), Y5 = ({
6235
6235
  className: i,
6236
- color: e = b.GREY_DARK_5,
6236
+ color: e = y.GREY_DARK_5,
6237
6237
  height: t = 24,
6238
6238
  width: s = 24,
6239
6239
  onClick: n
@@ -6252,9 +6252,9 @@ const _2 = ({
6252
6252
  /* @__PURE__ */ r("path", { d: "M12 8L4 8", stroke: e, strokeWidth: "1.7", strokeLinecap: "round" })
6253
6253
  ]
6254
6254
  }
6255
- ), $5 = ({
6255
+ ), U5 = ({
6256
6256
  className: i,
6257
- color: e = b.GREY_DARK_5,
6257
+ color: e = y.GREY_DARK_5,
6258
6258
  height: t = 24,
6259
6259
  width: s = 24,
6260
6260
  onClick: n
@@ -6291,9 +6291,9 @@ const _2 = ({
6291
6291
  )
6292
6292
  ]
6293
6293
  }
6294
- ), Y5 = ({
6294
+ ), z5 = ({
6295
6295
  className: i,
6296
- color: e = b.GREY_DARK_5,
6296
+ color: e = y.GREY_DARK_5,
6297
6297
  height: t = 24,
6298
6298
  width: s = 24,
6299
6299
  onClick: n
@@ -6330,9 +6330,9 @@ const _2 = ({
6330
6330
  )
6331
6331
  ]
6332
6332
  }
6333
- ), U5 = ({
6333
+ ), J5 = ({
6334
6334
  className: i,
6335
- color: e = b.GREY_DARK_5,
6335
+ color: e = y.GREY_DARK_5,
6336
6336
  height: t = 24,
6337
6337
  width: s = 24,
6338
6338
  onClick: n
@@ -6369,9 +6369,9 @@ const _2 = ({
6369
6369
  )
6370
6370
  ]
6371
6371
  }
6372
- ), z5 = ({
6372
+ ), q5 = ({
6373
6373
  className: i,
6374
- color: e = b.GREY_DARK_2,
6374
+ color: e = y.GREY_DARK_2,
6375
6375
  height: t = 16,
6376
6376
  width: s = 16,
6377
6377
  onClick: n
@@ -6395,9 +6395,9 @@ const _2 = ({
6395
6395
  }
6396
6396
  )
6397
6397
  }
6398
- ), J5 = ({
6398
+ ), Q5 = ({
6399
6399
  className: i,
6400
- color: e = b.GREY_DARK_5,
6400
+ color: e = y.GREY_DARK_5,
6401
6401
  height: t = 20,
6402
6402
  width: s = 20,
6403
6403
  onClick: n
@@ -6424,9 +6424,9 @@ const _2 = ({
6424
6424
  /* @__PURE__ */ r("defs", { children: /* @__PURE__ */ r("clipPath", { id: "clip0_3992_5989", children: /* @__PURE__ */ r("rect", { width: "20", height: "20", fill: "white" }) }) })
6425
6425
  ]
6426
6426
  }
6427
- ), q5 = ({
6427
+ ), X5 = ({
6428
6428
  className: i,
6429
- color: e = b.GREY_DARK_5,
6429
+ color: e = y.GREY_DARK_5,
6430
6430
  height: t = 20,
6431
6431
  width: s = 20,
6432
6432
  onClick: n
@@ -6453,9 +6453,9 @@ const _2 = ({
6453
6453
  /* @__PURE__ */ r("defs", { children: /* @__PURE__ */ r("clipPath", { id: "clip0_3992_5988", children: /* @__PURE__ */ r("rect", { width: "20", height: "20", fill: "white" }) }) })
6454
6454
  ]
6455
6455
  }
6456
- ), Q5 = ({
6456
+ ), e3 = ({
6457
6457
  className: i,
6458
- color: e = b.GREY_DARK_5,
6458
+ color: e = y.GREY_DARK_5,
6459
6459
  height: t = 20,
6460
6460
  width: s = 20,
6461
6461
  onClick: n
@@ -6470,7 +6470,7 @@ const _2 = ({
6470
6470
  fill: "none",
6471
6471
  xmlns: "http://www.w3.org/2000/svg",
6472
6472
  children: [
6473
- /* @__PURE__ */ r("rect", { width: "20", height: "20", rx: "4", fill: b.GREY_LIGHT_2 }),
6473
+ /* @__PURE__ */ r("rect", { width: "20", height: "20", rx: "4", fill: y.GREY_LIGHT_2 }),
6474
6474
  /* @__PURE__ */ r(
6475
6475
  "path",
6476
6476
  {
@@ -6482,9 +6482,9 @@ const _2 = ({
6482
6482
  )
6483
6483
  ]
6484
6484
  }
6485
- ), X5 = ({
6485
+ ), t3 = ({
6486
6486
  className: i,
6487
- color: e = b.GREY_DARK_5,
6487
+ color: e = y.GREY_DARK_5,
6488
6488
  height: t = 20,
6489
6489
  width: s = 20,
6490
6490
  onClick: n
@@ -6499,7 +6499,7 @@ const _2 = ({
6499
6499
  fill: "none",
6500
6500
  xmlns: "http://www.w3.org/2000/svg",
6501
6501
  children: [
6502
- /* @__PURE__ */ r("rect", { width: "20", height: "20", rx: "4", fill: b.GREY_LIGHT_2 }),
6502
+ /* @__PURE__ */ r("rect", { width: "20", height: "20", rx: "4", fill: y.GREY_LIGHT_2 }),
6503
6503
  /* @__PURE__ */ r(
6504
6504
  "path",
6505
6505
  {
@@ -6511,7 +6511,7 @@ const _2 = ({
6511
6511
  )
6512
6512
  ]
6513
6513
  }
6514
- ), e3 = ({
6514
+ ), i3 = ({
6515
6515
  className: i,
6516
6516
  color: e = "#001E52",
6517
6517
  height: t = 24,
@@ -6537,7 +6537,7 @@ const _2 = ({
6537
6537
  }
6538
6538
  )
6539
6539
  }
6540
- ), t3 = ({
6540
+ ), s3 = ({
6541
6541
  className: i,
6542
6542
  color: e = "#131314",
6543
6543
  height: t = 20,
@@ -6565,7 +6565,7 @@ const _2 = ({
6565
6565
  }
6566
6566
  )
6567
6567
  }
6568
- ), i3 = ({
6568
+ ), n3 = ({
6569
6569
  className: i,
6570
6570
  color: e = "#001E52",
6571
6571
  height: t = 24,
@@ -6603,7 +6603,7 @@ const _2 = ({
6603
6603
  )
6604
6604
  ] }) })
6605
6605
  }
6606
- ), s3 = ({
6606
+ ), r3 = ({
6607
6607
  width: i = 20,
6608
6608
  height: e = 20,
6609
6609
  color: t = "#001E52",
@@ -6659,7 +6659,7 @@ const _2 = ({
6659
6659
  }
6660
6660
  )
6661
6661
  }
6662
- ), n3 = ({
6662
+ ), o3 = ({
6663
6663
  width: i = 24,
6664
6664
  height: e = 24,
6665
6665
  color: t = "#131314",
@@ -6692,7 +6692,7 @@ const _2 = ({
6692
6692
  )
6693
6693
  ]
6694
6694
  }
6695
- ), r3 = ({
6695
+ ), l3 = ({
6696
6696
  name: i,
6697
6697
  width: e,
6698
6698
  height: t,
@@ -6701,49 +6701,49 @@ const _2 = ({
6701
6701
  disabled: l = !1,
6702
6702
  onClick: c
6703
6703
  }) => {
6704
- const [o, d] = V(n), { theme: g } = n1(oe), a = l ? g && g === "dark" ? b.GREY_LIGHT_4 : b.GREY_DARK_1 : s, h = l ? void 0 : c;
6705
- return O(() => {
6704
+ const [o, d] = S(n), { theme: g } = s1(le), a = l ? g && g === "dark" ? y.GREY_LIGHT_4 : y.GREY_DARK_1 : s, h = l ? void 0 : c;
6705
+ return B(() => {
6706
6706
  if (n) {
6707
6707
  h && !l && d(`${n} clickable`);
6708
6708
  return;
6709
6709
  }
6710
6710
  h && !l && d("clickable");
6711
- }, [h, n, l]), /* @__PURE__ */ r(l1, { children: (() => {
6711
+ }, [h, n, l]), /* @__PURE__ */ r(a1, { children: (() => {
6712
6712
  switch (i) {
6713
6713
  case "nextIcon":
6714
- return L5({ width: e, height: t, color: a, className: o, onClick: h });
6714
+ return N5({ width: e, height: t, color: a, className: o, onClick: h });
6715
6715
  case "prevIcon":
6716
- return v5({ width: e, height: t, color: a, className: o, onClick: h });
6716
+ return x5({ width: e, height: t, color: a, className: o, onClick: h });
6717
6717
  case "arrowUp":
6718
- return _2({ width: e, height: t, color: a, className: o, onClick: h });
6718
+ return H2({ width: e, height: t, color: a, className: o, onClick: h });
6719
6719
  case "arrowDown":
6720
- return E2({ width: e, height: t, color: a, className: o, onClick: h });
6720
+ return V2({ width: e, height: t, color: a, className: o, onClick: h });
6721
6721
  case "info":
6722
- return H2({ width: e, height: t, color: a, className: o, onClick: h });
6722
+ return I2({ width: e, height: t, color: a, className: o, onClick: h });
6723
6723
  case "arrowRight":
6724
- return V2({ width: e, height: t, color: a, className: o, onClick: h });
6724
+ return S2({ width: e, height: t, color: a, className: o, onClick: h });
6725
6725
  case "calendar":
6726
- return I2({ width: e, height: t, color: a, className: o, onClick: h });
6726
+ return O2({ width: e, height: t, color: a, className: o, onClick: h });
6727
6727
  case "ok":
6728
- return S2({ width: e, height: t, color: a, className: o, onClick: h });
6728
+ return A2({ width: e, height: t, color: a, className: o, onClick: h });
6729
6729
  case "cancel":
6730
- return O2({ width: e, height: t, color: a, className: o, onClick: h });
6730
+ return B2({ width: e, height: t, color: a, className: o, onClick: h });
6731
6731
  case "add":
6732
- return A2({ width: e, height: t, color: a, className: o, onClick: h });
6732
+ return Z2({ width: e, height: t, color: a, className: o, onClick: h });
6733
6733
  case "list":
6734
- return B2({ width: e, height: t, color: a, className: o, onClick: h });
6734
+ return j2({ width: e, height: t, color: a, className: o, onClick: h });
6735
6735
  case "dragAndDrop":
6736
- return Z2({ width: e, height: t, color: a, className: o, onClick: h });
6736
+ return W2({ width: e, height: t, color: a, className: o, onClick: h });
6737
6737
  case "filter":
6738
- return j2({ width: e, height: t, color: a, className: o, onClick: h });
6738
+ return T2({ width: e, height: t, color: a, className: o, onClick: h });
6739
6739
  case "attention":
6740
- return W2({ width: e, height: t, color: a, className: o, onClick: h });
6740
+ return D2({ width: e, height: t, color: a, className: o, onClick: h });
6741
6741
  case "plus":
6742
- return T2({ width: e, height: t, color: a, className: o, onClick: h });
6742
+ return G2({ width: e, height: t, color: a, className: o, onClick: h });
6743
6743
  case "time":
6744
- return D2({ width: e, height: t, color: a, className: o, onClick: h });
6744
+ return K2({ width: e, height: t, color: a, className: o, onClick: h });
6745
6745
  case "arrowDownLong":
6746
- return G2({
6746
+ return P2({
6747
6747
  width: e,
6748
6748
  height: t,
6749
6749
  color: a,
@@ -6751,9 +6751,9 @@ const _2 = ({
6751
6751
  onClick: h
6752
6752
  });
6753
6753
  case "users":
6754
- return K2({ width: e, height: t, color: a, className: o, onClick: h });
6754
+ return F2({ width: e, height: t, color: a, className: o, onClick: h });
6755
6755
  case "mySkillsMatrix":
6756
- return P2({
6756
+ return $2({
6757
6757
  width: e,
6758
6758
  height: t,
6759
6759
  color: a,
@@ -6761,9 +6761,9 @@ const _2 = ({
6761
6761
  onClick: h
6762
6762
  });
6763
6763
  case "skills":
6764
- return F2({ width: e, height: t, color: a, className: o, onClick: h });
6764
+ return Y2({ width: e, height: t, color: a, className: o, onClick: h });
6765
6765
  case "skillsMatrices":
6766
- return $2({
6766
+ return U2({
6767
6767
  width: e,
6768
6768
  height: t,
6769
6769
  color: a,
@@ -6771,23 +6771,23 @@ const _2 = ({
6771
6771
  onClick: h
6772
6772
  });
6773
6773
  case "history":
6774
- return Y2({ width: e, height: t, color: a, className: o, onClick: h });
6774
+ return z2({ width: e, height: t, color: a, className: o, onClick: h });
6775
6775
  case "logOut":
6776
- return U2({ width: e, height: t, color: a, className: o, onClick: h });
6776
+ return J2({ width: e, height: t, color: a, className: o, onClick: h });
6777
6777
  case "settings":
6778
- return z2({ width: e, height: t, color: a, className: o, onClick: h });
6778
+ return q2({ width: e, height: t, color: a, className: o, onClick: h });
6779
6779
  case "addSkill":
6780
- return J2({ width: e, height: t, color: a, className: o, onClick: h });
6780
+ return Q2({ width: e, height: t, color: a, className: o, onClick: h });
6781
6781
  case "conversation":
6782
- return q2({ width: e, height: t, color: a, className: o, onClick: h });
6782
+ return X2({ width: e, height: t, color: a, className: o, onClick: h });
6783
6783
  case "trash":
6784
- return Q2({ width: e, height: t, color: a, className: o, onClick: h });
6784
+ return e5({ width: e, height: t, color: a, className: o, onClick: h });
6785
6785
  case "settings4":
6786
- return X2({ width: e, height: t, color: a, className: o, onClick: h });
6786
+ return t5({ width: e, height: t, color: a, className: o, onClick: h });
6787
6787
  case "edit2":
6788
- return e5({ width: e, height: t, color: a, className: o, onClick: h });
6788
+ return i5({ width: e, height: t, color: a, className: o, onClick: h });
6789
6789
  case "notifications":
6790
- return t5({
6790
+ return s5({
6791
6791
  width: e,
6792
6792
  height: t,
6793
6793
  color: a,
@@ -6795,9 +6795,9 @@ const _2 = ({
6795
6795
  onClick: h
6796
6796
  });
6797
6797
  case "success":
6798
- return i5({ width: e, height: t, color: a, className: o, onClick: h });
6798
+ return n5({ width: e, height: t, color: a, className: o, onClick: h });
6799
6799
  case "attentionSmall":
6800
- return s5({
6800
+ return r5({
6801
6801
  width: e,
6802
6802
  height: t,
6803
6803
  color: a,
@@ -6805,11 +6805,11 @@ const _2 = ({
6805
6805
  onClick: h
6806
6806
  });
6807
6807
  case "errorSmall":
6808
- return n5({ width: e, height: t, color: a, className: o, onClick: h });
6808
+ return o5({ width: e, height: t, color: a, className: o, onClick: h });
6809
6809
  case "infoMedium":
6810
- return r5({ width: e, height: t, color: a, className: o, onClick: h });
6810
+ return l5({ width: e, height: t, color: a, className: o, onClick: h });
6811
6811
  case "attentionMedium":
6812
- return o5({
6812
+ return a5({
6813
6813
  width: e,
6814
6814
  height: t,
6815
6815
  color: a,
@@ -6817,9 +6817,9 @@ const _2 = ({
6817
6817
  onClick: h
6818
6818
  });
6819
6819
  case "errorMedium":
6820
- return l5({ width: e, height: t, color: a, className: o, onClick: h });
6820
+ return h5({ width: e, height: t, color: a, className: o, onClick: h });
6821
6821
  case "faviconSkills":
6822
- return u5({
6822
+ return p5({
6823
6823
  width: e,
6824
6824
  height: t,
6825
6825
  color: a,
@@ -6827,7 +6827,7 @@ const _2 = ({
6827
6827
  onClick: h
6828
6828
  });
6829
6829
  case "visibilityIcon":
6830
- return a5({
6830
+ return c5({
6831
6831
  width: e,
6832
6832
  height: t,
6833
6833
  color: a,
@@ -6835,7 +6835,7 @@ const _2 = ({
6835
6835
  onClick: h
6836
6836
  });
6837
6837
  case "visibilityOffIcon":
6838
- return h5({
6838
+ return d5({
6839
6839
  width: e,
6840
6840
  height: t,
6841
6841
  color: a,
@@ -6843,7 +6843,7 @@ const _2 = ({
6843
6843
  onClick: h
6844
6844
  });
6845
6845
  case "selectArrowIcon":
6846
- return c5({
6846
+ return g5({
6847
6847
  width: e,
6848
6848
  height: t,
6849
6849
  color: a,
@@ -6851,7 +6851,7 @@ const _2 = ({
6851
6851
  onClick: h
6852
6852
  });
6853
6853
  case "expandArrowIcon":
6854
- return d5({
6854
+ return u5({
6855
6855
  width: e,
6856
6856
  height: t,
6857
6857
  color: a,
@@ -6859,7 +6859,7 @@ const _2 = ({
6859
6859
  onClick: h
6860
6860
  });
6861
6861
  case "expandActiveArrowIcon":
6862
- return g5({
6862
+ return C5({
6863
6863
  width: e,
6864
6864
  height: t,
6865
6865
  color: a,
@@ -6867,103 +6867,103 @@ const _2 = ({
6867
6867
  onClick: h
6868
6868
  });
6869
6869
  case "camera":
6870
- return C5({ width: e, height: t, color: a, className: o, onClick: h });
6870
+ return f5({ width: e, height: t, color: a, className: o, onClick: h });
6871
6871
  case "sortUp":
6872
- return p5({ width: e, height: t, color: a, className: o, onClick: h });
6872
+ return w5({ width: e, height: t, color: a, className: o, onClick: h });
6873
6873
  case "sortDown":
6874
- return f5({ width: e, height: t, color: a, className: o, onClick: h });
6874
+ return m5({ width: e, height: t, color: a, className: o, onClick: h });
6875
6875
  case "logOut2":
6876
- return w5({ width: e, height: t, color: a, className: o, onClick: h });
6876
+ return k5({ width: e, height: t, color: a, className: o, onClick: h });
6877
6877
  case "search":
6878
- return m5({ width: e, height: t, color: a, className: o, onClick: h });
6878
+ return L5({ width: e, height: t, color: a, className: o, onClick: h });
6879
6879
  case "handRock":
6880
- return k5({ width: e, height: t, color: a, className: o, onClick: h });
6880
+ return v5({ width: e, height: t, color: a, className: o, onClick: h });
6881
6881
  case "arrowUpFilled":
6882
- return x5({ width: e, height: t, color: a, className: o, onClick: h });
6882
+ return M5({ width: e, height: t, color: a, className: o, onClick: h });
6883
6883
  case "arrowDownFilled":
6884
- return N5({ width: e, height: t, color: a, className: o, onClick: h });
6885
- case "link":
6886
6884
  return R5({ width: e, height: t, color: a, className: o, onClick: h });
6887
- case "telegram":
6885
+ case "link":
6888
6886
  return y5({ width: e, height: t, color: a, className: o, onClick: h });
6887
+ case "telegram":
6888
+ return E5({ width: e, height: t, color: a, className: o, onClick: h });
6889
6889
  case "mail":
6890
- return _5({ width: e, height: t, color: a, className: o, onClick: h });
6890
+ return H5({ width: e, height: t, color: a, className: o, onClick: h });
6891
6891
  case "github":
6892
- return M5({ width: e, height: t, color: a, className: o, onClick: h });
6893
- case "linkedIn":
6894
6892
  return b5({ width: e, height: t, color: a, className: o, onClick: h });
6893
+ case "linkedIn":
6894
+ return _5({ width: e, height: t, color: a, className: o, onClick: h });
6895
6895
  case "emptyStateIcon":
6896
- return E5({ width: e, height: t, color: a, className: o, onClick: h });
6896
+ return V5({ width: e, height: t, color: a, className: o, onClick: h });
6897
6897
  case "filtersIcon":
6898
- return H5({ width: e, height: t, color: a, className: o, onClick: h });
6898
+ return I5({ width: e, height: t, color: a, className: o, onClick: h });
6899
6899
  case "dotMenuIcon":
6900
- return V5({ width: e, height: t, color: a, className: o, onClick: h });
6900
+ return S5({ width: e, height: t, color: a, className: o, onClick: h });
6901
6901
  case "plusCircle":
6902
- return I5({ width: e, height: t, color: a, className: o, onClick: h });
6902
+ return O5({ width: e, height: t, color: a, className: o, onClick: h });
6903
6903
  case "warning":
6904
- return S5({ width: e, height: t, color: a, className: o, onClick: h });
6904
+ return A5({ width: e, height: t, color: a, className: o, onClick: h });
6905
6905
  case "back":
6906
- return O5({ width: e, height: t, color: a, className: o, onClick: h });
6906
+ return B5({ width: e, height: t, color: a, className: o, onClick: h });
6907
6907
  case "bell":
6908
- return A5({ width: e, height: t, color: a, className: o, onClick: h });
6909
- case "contract":
6910
6908
  return Z5({ width: e, height: t, color: a, className: o, onClick: h });
6909
+ case "contract":
6910
+ return W5({ width: e, height: t, color: a, className: o, onClick: h });
6911
6911
  case "trash2":
6912
- return B5({ width: e, height: t, color: a, className: o, onClick: h });
6913
- case "manager":
6914
6912
  return j5({ width: e, height: t, color: a, className: o, onClick: h });
6913
+ case "manager":
6914
+ return T5({ width: e, height: t, color: a, className: o, onClick: h });
6915
6915
  case "resourceManager":
6916
- return W5({ width: e, height: t, color: a, className: o, onClick: h });
6916
+ return D5({ width: e, height: t, color: a, className: o, onClick: h });
6917
6917
  case "settings2":
6918
- return T5({ width: e, height: t, color: a, className: o, onClick: h });
6918
+ return G5({ width: e, height: t, color: a, className: o, onClick: h });
6919
6919
  case "image":
6920
- return D5({ width: e, height: t, color: a, className: o, onClick: h });
6920
+ return K5({ width: e, height: t, color: a, className: o, onClick: h });
6921
6921
  case "upload":
6922
- return G5({ width: e, height: t, color: a, className: o, onClick: h });
6922
+ return P5({ width: e, height: t, color: a, className: o, onClick: h });
6923
6923
  case "edit":
6924
- return K5({ width: e, height: t, color: a, className: o, onClick: h });
6924
+ return F5({ width: e, height: t, color: a, className: o, onClick: h });
6925
6925
  case "location":
6926
- return P5({ width: e, height: t, color: a, className: o, onClick: h });
6926
+ return $5({ width: e, height: t, color: a, className: o, onClick: h });
6927
6927
  case "plus2":
6928
- return F5({ width: e, height: t, color: a, className: o, onClick: h });
6928
+ return Y5({ width: e, height: t, color: a, className: o, onClick: h });
6929
6929
  case "search2":
6930
- return $5({ width: e, height: t, color: a, className: o, onClick: h });
6930
+ return U5({ width: e, height: t, color: a, className: o, onClick: h });
6931
6931
  case "fastArrowLeft":
6932
- return Y5({ width: e, height: t, color: a, className: o, onClick: h });
6932
+ return z5({ width: e, height: t, color: a, className: o, onClick: h });
6933
6933
  case "fastArrowRight":
6934
- return U5({ width: e, height: t, color: a, className: o, onClick: h });
6934
+ return J5({ width: e, height: t, color: a, className: o, onClick: h });
6935
6935
  case "crossInCircle":
6936
- return z5({ width: e, height: t, color: a, className: o, onClick: h });
6937
- case "arrowUp2":
6938
6936
  return q5({ width: e, height: t, color: a, className: o, onClick: h });
6937
+ case "arrowUp2":
6938
+ return X5({ width: e, height: t, color: a, className: o, onClick: h });
6939
6939
  case "arrowDown2":
6940
- return J5({ width: e, height: t, color: a, className: o, onClick: h });
6941
- case "filledArrowLeft":
6942
6940
  return Q5({ width: e, height: t, color: a, className: o, onClick: h });
6941
+ case "filledArrowLeft":
6942
+ return e3({ width: e, height: t, color: a, className: o, onClick: h });
6943
6943
  case "filledArrowRight":
6944
- return X5({ width: e, height: t, color: a, className: o, onClick: h });
6944
+ return t3({ width: e, height: t, color: a, className: o, onClick: h });
6945
6945
  case "burgerMenu":
6946
- return e3({ width: e, height: t, color: a, className: o, onClick: h });
6946
+ return i3({ width: e, height: t, color: a, className: o, onClick: h });
6947
6947
  case "signOut":
6948
- return t3({ width: e, height: t, color: a, className: o, onClick: h });
6948
+ return s3({ width: e, height: t, color: a, className: o, onClick: h });
6949
6949
  case "refresh":
6950
- return i3({ width: e, height: t, color: a, className: o, onClick: h });
6950
+ return n3({ width: e, height: t, color: a, className: o, onClick: h });
6951
6951
  case "projects":
6952
- return s3({ width: e, height: t, color: a, className: o, onClick: h });
6952
+ return r3({ width: e, height: t, color: a, className: o, onClick: h });
6953
6953
  case "exit":
6954
- return n3({ width: e, height: t, color: a, className: o, onClick: h });
6954
+ return o3({ width: e, height: t, color: a, className: o, onClick: h });
6955
6955
  default:
6956
- return /* @__PURE__ */ r(l1, { children: "No Icon provided" });
6956
+ return /* @__PURE__ */ r(a1, { children: "No Icon provided" });
6957
6957
  }
6958
6958
  })() });
6959
6959
  };
6960
- var d1 = /* @__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))(d1 || {});
6961
- const o3 = a1({
6960
+ var g1 = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_1 = "var(--grey-light-1)", i.GREY_LIGHT_2 = "var(--grey-light-2)", i.GREY_LIGHT_3 = "var(--grey-light-3)", i.GREY_LIGHT_4 = "var(--grey-light-4)", i.GREY_DARK_1 = "var(--grey-dark-1)", i.GREY_DARK_2 = "var(--grey-dark-2)", i.GREY_DARK_3 = "var(--grey-dark-3)", i.GREY_DARK_4 = "var(--grey-dark-4)", i.GREY_DARK_5 = "var(--grey-dark-5)", i.BLUE_PRIMARY = "var(--blue-primary)", i.BLUE_HOVER = "var(--blue-hover)", i.BLUE_LIGHT_1 = "var(--blue-light-1)", i.BLUE_LIGHT_2 = "var(--blue-light-2)", i.BLUE_LIGHT_3 = "var(--blue-light-3)", i.BLUE_LIGHT_4 = "var(--blue-light-4)", i.BLUE_DARK_1 = "var(--blue-dark-1)", i.PURPLE_LIGHT = "var(--purple-light)", i.PURPLE_DARK = "var(--purple-dark)", i.NOTIFICATION_WARNING_LIGHT = "var(--notification-warning-light)", i.NOTIFICATION_WARNING_DARK = "var(--notification-warning-dark)", i.NOTIFICATION_SUCCESS_LIGHT = "var(--notification-success-light)", i.NOTIFICATION_SUCCESS_DARK = "var(--notification-success-dark)", i.NOTIFICATION_ERROR_LIGHT = "var(--notification-error-light)", i.NOTIFICATION_ERROR_DARK = "var(--notification-error-dark)", i.NOTIFICATION_ERROR_DARK_MODE = "var(--notification-error-dark-mode)", i))(g1 || {});
6961
+ const a3 = h1({
6962
6962
  locale: "en",
6963
6963
  theme: "light"
6964
6964
  });
6965
- o3.Provider;
6966
- const le = ({
6965
+ a3.Provider;
6966
+ const ae = ({
6967
6967
  children: i,
6968
6968
  width: e,
6969
6969
  size: t = "small",
@@ -6975,14 +6975,14 @@ const le = ({
6975
6975
  l || s == null || s();
6976
6976
  };
6977
6977
  return /* @__PURE__ */ r(
6978
- Ne,
6978
+ Re,
6979
6979
  {
6980
6980
  className: `snmt-tag ${t} ${l ? "disabled" : ""}`,
6981
6981
  closeIcon: /* @__PURE__ */ r(
6982
- r3,
6982
+ l3,
6983
6983
  {
6984
6984
  name: "errorSmall",
6985
- color: l ? d1.GREY_DARK_1 : d1.GREY_DARK_2,
6985
+ color: l ? g1.GREY_DARK_1 : g1.GREY_DARK_2,
6986
6986
  width: c,
6987
6987
  height: c,
6988
6988
  onClick: o
@@ -6992,16 +6992,16 @@ const le = ({
6992
6992
  style: { width: e ?? "fit-content" },
6993
6993
  closable: n,
6994
6994
  children: typeof i == "string" ? /* @__PURE__ */ r(
6995
- b2,
6995
+ _2,
6996
6996
  {
6997
6997
  variant: t === "small" ? "body4" : "body2",
6998
- color: l ? d1.GREY_DARK_2 : d1.GREY_DARK_5,
6998
+ color: l ? g1.GREY_DARK_2 : g1.GREY_DARK_5,
6999
6999
  children: i
7000
7000
  }
7001
7001
  ) : i
7002
7002
  }
7003
7003
  );
7004
- }, l3 = ({
7004
+ }, h3 = ({
7005
7005
  children: i,
7006
7006
  content: e,
7007
7007
  isOpen: t,
@@ -7009,9 +7009,9 @@ const le = ({
7009
7009
  placement: n = "topRight",
7010
7010
  noPadding: l = !1
7011
7011
  }) => {
7012
- const [c, o] = V(!1);
7012
+ const [c, o] = S(!1);
7013
7013
  return /* @__PURE__ */ r(
7014
- xe,
7014
+ Me,
7015
7015
  {
7016
7016
  content: e,
7017
7017
  arrow: !1,
@@ -7026,18 +7026,18 @@ const le = ({
7026
7026
  }
7027
7027
  );
7028
7028
  };
7029
- var a3 = { exports: {} };
7029
+ var c3 = { exports: {} };
7030
7030
  (function(i, e) {
7031
7031
  (function(t, s) {
7032
7032
  i.exports = s();
7033
- })(be, function() {
7033
+ })(_e, function() {
7034
7034
  return { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(t) {
7035
7035
  var s = ["th", "st", "nd", "rd"], n = t % 100;
7036
7036
  return "[" + t + (s[(n - 20) % 10] || s[n] || s[0]) + "]";
7037
7037
  } };
7038
7038
  });
7039
- })(a3);
7040
- const h3 = ({
7039
+ })(c3);
7040
+ const d3 = ({
7041
7041
  values: i,
7042
7042
  onTagClose: e,
7043
7043
  maxWidth: t,
@@ -7046,22 +7046,22 @@ const h3 = ({
7046
7046
  options: l,
7047
7047
  extraOptions: c
7048
7048
  }) => {
7049
- const { locale: o } = n1(O1), { t: d } = Pe("common", { lng: o }), [g, a] = V(!1);
7050
- if (O(() => {
7049
+ const { locale: o } = s1(O1), { t: d } = $e("common", { lng: o }), [g, a] = S(!1);
7050
+ if (B(() => {
7051
7051
  i.length || a(!1);
7052
7052
  }, [i]), !i.length)
7053
7053
  return null;
7054
7054
  const h = (C) => {
7055
- var p, m;
7056
- return ((p = l == null ? void 0 : l.find((M) => M.value === C)) == null ? void 0 : p.label) || ((m = c == null ? void 0 : c.find((M) => M.value === C)) == null ? void 0 : m.label) || C;
7055
+ var p, k;
7056
+ return ((p = l == null ? void 0 : l.find((x) => x.value === C)) == null ? void 0 : p.label) || ((k = c == null ? void 0 : c.find((x) => x.value === C)) == null ? void 0 : k.label) || C;
7057
7057
  };
7058
7058
  return /* @__PURE__ */ u(
7059
- l3,
7059
+ h3,
7060
7060
  {
7061
7061
  content: (
7062
7062
  // 90: paddings + margins + gaps and so on
7063
- /* @__PURE__ */ r("div", { style: { maxWidth: t - 90 }, className: "snmt-popover-from-select", children: /* @__PURE__ */ r(m1, { gap: 6, flexWrap: "wrap", children: i.map(({ value: C }) => /* @__PURE__ */ r(
7064
- le,
7063
+ /* @__PURE__ */ r("div", { style: { maxWidth: t - 90 }, className: "snmt-popover-from-select", children: /* @__PURE__ */ r(L1, { gap: 6, flexWrap: "wrap", children: i.map(({ value: C }) => /* @__PURE__ */ r(
7064
+ ae,
7065
7065
  {
7066
7066
  onClose: () => e(C),
7067
7067
  closable: s,
@@ -7081,7 +7081,7 @@ const h3 = ({
7081
7081
  ]
7082
7082
  }
7083
7083
  );
7084
- }, W1 = ({ size: i = 30, color: e = "#004ed7" }) => {
7084
+ }, T1 = ({ size: i = 30, color: e = "#004ed7" }) => {
7085
7085
  const t = `no-repeat linear-gradient(${e}
7086
7086
  calc(50% - 10px), #0000 0 calc(50% + 10px), ${e} 0)`, s = {
7087
7087
  width: i,
@@ -7089,7 +7089,7 @@ const h3 = ({
7089
7089
  backgroundSize: "20% calc(200% + 20px)"
7090
7090
  };
7091
7091
  return /* @__PURE__ */ r("span", { className: "snmt-loader", style: s });
7092
- }, T1 = x1(
7092
+ }, D1 = M1(
7093
7093
  ({
7094
7094
  value: i,
7095
7095
  onChange: e,
@@ -7105,81 +7105,81 @@ const h3 = ({
7105
7105
  onSearchChange: h,
7106
7106
  onDropdownVisibleChange: C,
7107
7107
  onScrollToEnd: p,
7108
- onPopupScroll: m,
7109
- id: M,
7108
+ onPopupScroll: k,
7109
+ id: x,
7110
7110
  extraOptions: N,
7111
- dropdownRender: E,
7112
- optionRender: L,
7113
- isLoading: _,
7111
+ dropdownRender: H,
7112
+ optionRender: b,
7113
+ isLoading: E,
7114
7114
  readOnly: f
7115
- }, w) => {
7116
- const [k, x] = V(!1), [W, F] = V(!1), [D, T] = V(!0), [Z, Q] = V(i), G = z(null);
7117
- O(() => {
7118
- Q(i);
7115
+ }, L) => {
7116
+ const [v, w] = S(!1), [O, D] = S(!1), [P, G] = S(!0), [Z, $] = S(i), Y = F(null);
7117
+ B(() => {
7118
+ $(i);
7119
7119
  }, [i]);
7120
- const K = (v) => {
7121
- x(v), C && C(v);
7122
- }, J = (v, H) => {
7123
- var P;
7124
- return !!((P = H == null ? void 0 : H.label) != null && P.toString().toLowerCase().includes(v.toLowerCase()));
7120
+ const U = (m) => {
7121
+ w(m), C && C(m);
7122
+ }, Q = (m, _) => {
7123
+ var I;
7124
+ return !!((I = _ == null ? void 0 : _.label) != null && I.toString().toLowerCase().includes(m.toLowerCase()));
7125
7125
  }, X = () => {
7126
- F(!0);
7127
- }, I = () => {
7128
- F(!1);
7129
- }, S = B(
7130
- (v) => {
7131
- if (Q(v), s) {
7132
- const P = v;
7133
- e == null || e(P);
7126
+ D(!0);
7127
+ }, A = () => {
7128
+ D(!1);
7129
+ }, j = W(
7130
+ (m) => {
7131
+ if ($(m), s) {
7132
+ const I = m;
7133
+ e == null || e(I);
7134
7134
  return;
7135
7135
  }
7136
- const H = v;
7137
- e == null || e(H);
7136
+ const _ = m;
7137
+ e == null || e(_);
7138
7138
  },
7139
7139
  [s, e]
7140
- ), $ = B(() => {
7140
+ ), z = W(() => {
7141
7141
  if (!f) {
7142
7142
  if (s) {
7143
- S([]);
7143
+ j([]);
7144
7144
  return;
7145
7145
  }
7146
- S("");
7146
+ j("");
7147
7147
  }
7148
- }, [S, s, f]), Y = B(
7149
- (v) => {
7150
- const H = Z.filter((P) => P !== v);
7151
- S(H), Q(H);
7148
+ }, [j, s, f]), J = W(
7149
+ (m) => {
7150
+ const _ = Z.filter((I) => I !== m);
7151
+ j(_), $(_);
7152
7152
  },
7153
- [S, Z]
7154
- ), h1 = B(
7155
- (v) => (Z == null ? void 0 : Z.indexOf(v)) === 0 ? (
7153
+ [j, Z]
7154
+ ), c1 = W(
7155
+ (m) => (Z == null ? void 0 : Z.indexOf(m)) === 0 ? (
7156
7156
  // if the search input is empty
7157
7157
  // then display the placeholder, else do not display it
7158
- /* @__PURE__ */ r("span", { className: "custom-placeholder", children: D ? t : "" })
7159
- ) : /* @__PURE__ */ r(l1, {}),
7160
- [D, Z, t]
7161
- ), C1 = (v) => {
7162
- v.preventDefault(), v.stopPropagation();
7163
- }, j = async (v) => {
7164
- const { target: H } = v;
7165
- H.scrollTop + H.offsetHeight >= H.scrollHeight - a && (p == null || p(!0)), m && await m(v);
7166
- }, q = B(
7167
- (v) => {
7168
- var H, P;
7169
- return ((H = l.find((y1) => y1.value === v)) == null ? void 0 : H.label) || ((P = N == null ? void 0 : N.find(
7170
- (y1) => y1.value === v
7171
- )) == null ? void 0 : P.label) || v;
7158
+ /* @__PURE__ */ r("span", { className: "custom-placeholder", children: P ? t : "" })
7159
+ ) : /* @__PURE__ */ r(a1, {}),
7160
+ [P, Z, t]
7161
+ ), p1 = (m) => {
7162
+ m.preventDefault(), m.stopPropagation();
7163
+ }, f1 = async (m) => {
7164
+ const { target: _ } = m;
7165
+ _.scrollTop + _.offsetHeight >= _.scrollHeight - a && (p == null || p(!0)), k && await k(m);
7166
+ }, n1 = W(
7167
+ (m) => {
7168
+ var _, I;
7169
+ return ((_ = l.find((K) => K.value === m)) == null ? void 0 : _.label) || ((I = N == null ? void 0 : N.find(
7170
+ (K) => K.value === m
7171
+ )) == null ? void 0 : I.label) || m;
7172
7172
  },
7173
7173
  [N, l]
7174
- ), M1 = B(
7175
- (v) => {
7176
- var H;
7174
+ ), w1 = W(
7175
+ (m) => {
7176
+ var _;
7177
7177
  return /* @__PURE__ */ r(
7178
- h3,
7178
+ d3,
7179
7179
  {
7180
- values: v,
7181
- onTagClose: Y,
7182
- maxWidth: ((H = G.current) == null ? void 0 : H.clientWidth) || 0,
7180
+ values: m,
7181
+ onTagClose: J,
7182
+ maxWidth: ((_ = Y.current) == null ? void 0 : _.clientWidth) || 0,
7183
7183
  disabled: o,
7184
7184
  closable: !f,
7185
7185
  options: l,
@@ -7187,100 +7187,100 @@ const h3 = ({
7187
7187
  }
7188
7188
  );
7189
7189
  },
7190
- [o, N, Y, l, f]
7191
- ), e1 = B(
7192
- ({ label: v, value: H, mode: P }) => P === "filter" ? h1(H) : /* @__PURE__ */ r("div", { onMouseDown: C1, className: "tag-wrapper", children: /* @__PURE__ */ r(le, { onClose: () => Y(H), disabled: o, children: typeof v == "object" ? v : q(H) }) }),
7193
- [o, q, Y, h1]
7190
+ [o, N, J, l, f]
7191
+ ), V = W(
7192
+ ({ label: m, value: _, mode: I }) => I === "filter" ? c1(_) : /* @__PURE__ */ r("div", { onMouseDown: p1, className: "tag-wrapper", children: /* @__PURE__ */ r(ae, { onClose: () => J(_), disabled: o, children: typeof m == "object" ? m : n1(_) }) }),
7193
+ [o, n1, J, c1]
7194
7194
  );
7195
7195
  return /* @__PURE__ */ u(
7196
7196
  "div",
7197
7197
  {
7198
- className: `snmt-select ${W ? "snmt-select-focused" : ""}
7198
+ className: `snmt-select ${O ? "snmt-select-focused" : ""}
7199
7199
  ${s ? "" : "snmt-select-single"} ${f ? "snmt-select-read-only" : ""}`,
7200
- ref: G,
7200
+ ref: Y,
7201
7201
  style: { width: c },
7202
7202
  children: [
7203
7203
  /* @__PURE__ */ r(
7204
- we,
7204
+ ke,
7205
7205
  {
7206
7206
  className: "snmt-select-blank",
7207
7207
  popupClassName: f ? "dropdown-read-only" : "",
7208
- id: M,
7209
- ref: w,
7208
+ id: x,
7209
+ ref: L,
7210
7210
  showSearch: !!n,
7211
- filterOption: n && J,
7212
- onDropdownVisibleChange: K,
7211
+ filterOption: n && Q,
7212
+ onDropdownVisibleChange: U,
7213
7213
  placeholder: t ? d ? `${t}*` : t : void 0,
7214
7214
  disabled: o,
7215
7215
  value: Z || void 0,
7216
- labelRender: (v) => q(v.value),
7216
+ labelRender: (m) => n1(m.value),
7217
7217
  mode: s === "filter" ? "multiple" : s,
7218
- onChange: S,
7218
+ onChange: j,
7219
7219
  onFocus: X,
7220
- onBlur: I,
7221
- onSearch: (v) => {
7222
- T(!v), h && h(v);
7220
+ onBlur: A,
7221
+ onSearch: (m) => {
7222
+ G(!m), h && h(m);
7223
7223
  },
7224
- onSelect: () => T(!0),
7225
- onDeselect: () => T(!0),
7226
- tagRender: (v) => e1({ ...v, mode: s }),
7224
+ onSelect: () => G(!0),
7225
+ onDeselect: () => G(!0),
7226
+ tagRender: (m) => V({ ...m, mode: s }),
7227
7227
  maxTagCount: "responsive",
7228
- maxTagPlaceholder: M1,
7229
- onPopupScroll: j,
7230
- prefix: _ && /* @__PURE__ */ r(W1, { size: 15 }),
7231
- suffixIcon: /* @__PURE__ */ r("div", { className: "wrapper-suffix-icon", children: s !== "filter" && /* @__PURE__ */ u(l1, { children: [
7232
- Z && !!Z.length && (s || g) && /* @__PURE__ */ r("div", { onClick: $, children: /* @__PURE__ */ r(
7233
- p1,
7228
+ maxTagPlaceholder: w1,
7229
+ onPopupScroll: f1,
7230
+ prefix: E && /* @__PURE__ */ r(T1, { size: 15 }),
7231
+ suffixIcon: /* @__PURE__ */ r("div", { className: "wrapper-suffix-icon", children: s !== "filter" && /* @__PURE__ */ u(a1, { children: [
7232
+ Z && !!Z.length && (s || g) && /* @__PURE__ */ r("div", { onClick: z, children: /* @__PURE__ */ r(
7233
+ m1,
7234
7234
  {
7235
7235
  name: "cancel",
7236
- color: o ? t1.GREY_DARK_1 : t1.GREY_DARK_5
7236
+ color: o ? e1.GREY_DARK_1 : e1.GREY_DARK_5
7237
7237
  }
7238
7238
  ) }),
7239
7239
  /* @__PURE__ */ r(
7240
- p1,
7240
+ m1,
7241
7241
  {
7242
7242
  name: "selectArrowIcon",
7243
- color: o ? t1.GREY_DARK_1 : t1.GREY_DARK_5,
7244
- className: k ? "select-arrow-rotated" : "select-arrow",
7245
- onClick: () => x(!k)
7243
+ color: o ? e1.GREY_DARK_1 : e1.GREY_DARK_5,
7244
+ className: v ? "select-arrow-rotated" : "select-arrow",
7245
+ onClick: () => w(!v)
7246
7246
  }
7247
7247
  )
7248
7248
  ] }) }),
7249
- removeIcon: /* @__PURE__ */ r(p1, { name: "errorSmall", color: t1.GREY_DARK_2 }),
7249
+ removeIcon: /* @__PURE__ */ r(m1, { name: "errorSmall", color: e1.GREY_DARK_2 }),
7250
7250
  options: l,
7251
- optionRender: (v) => L ? L(v.data) : /* @__PURE__ */ u(m1, { justifyContent: "space-between", alignItems: "center", flex: "1", children: [
7252
- /* @__PURE__ */ u(m1, { alignItems: "center", gap: 12, children: [
7251
+ optionRender: (m) => b ? b(m.data) : /* @__PURE__ */ u(L1, { justifyContent: "space-between", alignItems: "center", flex: "1", children: [
7252
+ /* @__PURE__ */ u(L1, { alignItems: "center", gap: 12, children: [
7253
7253
  s && /* @__PURE__ */ r(
7254
- $e,
7254
+ Ue,
7255
7255
  {
7256
- checked: !!(Z != null && Z.includes(v.value))
7256
+ checked: !!(Z != null && Z.includes(m.value))
7257
7257
  }
7258
7258
  ),
7259
- /* @__PURE__ */ u(m1, { alignItems: "center", gap: 8, children: [
7260
- v.data.image && /* @__PURE__ */ r(Fe, { src: v.data.image, size: 20 }),
7261
- /* @__PURE__ */ r("span", { children: v.label })
7259
+ /* @__PURE__ */ u(L1, { alignItems: "center", gap: 8, children: [
7260
+ m.data.image && /* @__PURE__ */ r(Ye, { src: m.data.image, size: 20 }),
7261
+ /* @__PURE__ */ r("span", { children: m.label })
7262
7262
  ] })
7263
7263
  ] }),
7264
- !s && Z === v.value && /* @__PURE__ */ r(
7265
- p1,
7264
+ !s && Z === m.value && /* @__PURE__ */ r(
7265
+ m1,
7266
7266
  {
7267
7267
  name: "ok",
7268
- color: t1.BLUE_PRIMARY,
7268
+ color: e1.BLUE_PRIMARY,
7269
7269
  width: 16,
7270
7270
  height: 16
7271
7271
  }
7272
7272
  )
7273
7273
  ] }),
7274
- dropdownRender: (v) => /* @__PURE__ */ u("div", { className: "dropdown-container", children: [
7275
- /* @__PURE__ */ r("div", { className: "dropdown-menu", children: E ? E(v) : v }),
7276
- _ && /* @__PURE__ */ r("div", { className: "loading-overlay", children: /* @__PURE__ */ r(W1, { size: 28 }) })
7274
+ dropdownRender: (m) => /* @__PURE__ */ u("div", { className: "dropdown-container", children: [
7275
+ /* @__PURE__ */ r("div", { className: "dropdown-menu", children: H ? H(m) : m }),
7276
+ E && /* @__PURE__ */ r("div", { className: "loading-overlay", children: /* @__PURE__ */ r(T1, { size: 28 }) })
7277
7277
  ] })
7278
7278
  }
7279
7279
  ),
7280
7280
  /* @__PURE__ */ r(
7281
7281
  "fieldset",
7282
7282
  {
7283
- className: `${W ? "fieldset-focused" : ""}
7283
+ className: `${O ? "fieldset-focused" : ""}
7284
7284
  ${o ? "fieldset-disabled" : ""}
7285
7285
  ${typeof i == "string" && i ? "fieldset-filled" : ""}
7286
7286
  ${typeof i == "object" && i != null && i.length ? "fieldset-filled" : ""}`,
@@ -7292,9 +7292,9 @@ const h3 = ({
7292
7292
  );
7293
7293
  }
7294
7294
  );
7295
- function c3(i, e = 500) {
7296
- const t = z();
7297
- return O(() => () => {
7295
+ function g3(i, e = 500) {
7296
+ const t = F();
7297
+ return B(() => () => {
7298
7298
  t.current && clearTimeout(t.current);
7299
7299
  }, []), (...s) => {
7300
7300
  const n = setTimeout(() => {
@@ -7303,15 +7303,15 @@ function c3(i, e = 500) {
7303
7303
  clearTimeout(t.current), t.current = n;
7304
7304
  };
7305
7305
  }
7306
- function D1(i) {
7307
- const e = z(i);
7308
- return O(() => {
7306
+ function G1(i) {
7307
+ const e = F(i);
7308
+ return B(() => {
7309
7309
  e.current = i;
7310
7310
  }, [i]), e.current;
7311
7311
  }
7312
- const b1 = 100, f1 = {
7312
+ const b1 = 100, r1 = {
7313
7313
  offset: 0
7314
- }, d3 = x1(
7314
+ }, u3 = M1(
7315
7315
  ({
7316
7316
  loadOptions: i,
7317
7317
  width: e,
@@ -7327,169 +7327,199 @@ const b1 = 100, f1 = {
7327
7327
  extraOptions: h,
7328
7328
  onDropdownVisibleChange: C,
7329
7329
  optionRender: p,
7330
- dropdownRender: m,
7331
- readOnly: M,
7330
+ dropdownRender: k,
7331
+ readOnly: x,
7332
7332
  clearable: N,
7333
- required: E = !1
7334
- }, L) => {
7335
- const [_, f] = V(), [w, k] = V(f1), [x, W] = V(!1), [F, D] = V(), [T, Z] = V(!1), Q = D1(w.offset), G = D1(F), [K, J] = V(!1), X = z(!1), I = B(
7333
+ required: H = !1
7334
+ }, b) => {
7335
+ const [E, f] = S(), [L, v] = S(r1), [w, O] = S(!1), [D, P] = S(), [G, Z] = S(!1), [$, Y] = S(
7336
+ h ?? []
7337
+ ), U = G1(L.offset), Q = G1(D), [X, A] = S(!1), j = F(!1), z = W(
7336
7338
  async ({
7337
- limit: j = b1,
7338
- offset: q,
7339
- search: M1
7339
+ limit: V = b1,
7340
+ offset: m,
7341
+ search: _
7340
7342
  }) => {
7341
- W(!0);
7343
+ O(!0);
7342
7344
  try {
7343
- const e1 = await i({
7344
- limit: j,
7345
- offset: q,
7346
- search: M1
7345
+ const I = await i({
7346
+ limit: V,
7347
+ offset: m,
7348
+ search: _
7347
7349
  });
7348
7350
  f(
7349
- (v) => q === 0 ? e1.options : [...v ?? [], ...e1.options]
7350
- ), k((v) => ({
7351
- ...v,
7352
- count: e1.count
7351
+ (K) => m === 0 ? I.options : [...K ?? [], ...I.options]
7352
+ ), v((K) => ({
7353
+ ...K,
7354
+ count: I.count
7353
7355
  }));
7354
- } catch (e1) {
7355
- return console.error("AsyncSelect. fetchOptions error", e1), [];
7356
+ } catch (I) {
7357
+ return console.error("AsyncSelect. fetchOptions error", I), [];
7356
7358
  } finally {
7357
- W(!1);
7359
+ O(!1);
7358
7360
  }
7359
7361
  },
7360
7362
  [i]
7361
- ), S = c3((j) => {
7362
- D(j), j || k(f1);
7363
- }), $ = B(
7364
- (j) => S(j),
7365
- [S]
7366
- ), Y = B(
7367
- async (j) => {
7368
- x || j && w.count && w.count > ((_ == null ? void 0 : _.length) ?? 0) && k((q) => ({
7369
- ...q,
7370
- offset: q.offset + b1
7363
+ ), J = g3((V) => {
7364
+ P(V), V || v(r1);
7365
+ }), c1 = W(
7366
+ (V) => J(V),
7367
+ [J]
7368
+ ), p1 = W(
7369
+ async (V) => {
7370
+ w || V && L.count && L.count > ((E == null ? void 0 : E.length) ?? 0) && v((m) => ({
7371
+ ...m,
7372
+ offset: m.offset + b1
7371
7373
  }));
7372
7374
  },
7373
- [x, _ == null ? void 0 : _.length, w.count]
7374
- ), h1 = B(
7375
- (j) => {
7376
- Z(j), C == null || C(j);
7375
+ [w, E == null ? void 0 : E.length, L.count]
7376
+ ), f1 = W(
7377
+ (V) => {
7378
+ Z(V), !V && D && (P(void 0), v(r1), A(!0)), C == null || C(V);
7377
7379
  },
7378
- [C]
7380
+ [C, D]
7379
7381
  );
7380
- O(() => {
7381
- !X.current || x || (K || T && (Q !== w.offset || G !== F || !_)) && (I({ offset: w.offset, limit: b1, search: F }), K && J(!1));
7382
- }, [K, T, w.offset, F, Q, G, _, x]), O(() => {
7383
- (g || a) && I(f1), X.current = !0;
7384
- }, []);
7385
- const C1 = fe(
7382
+ B(() => {
7383
+ !j.current || w || (X || G && (U !== L.offset || Q !== D || !E)) && (z({ offset: L.offset, limit: b1, search: D }), X && A(!1));
7384
+ }, [X, G, L.offset, D, U, Q, E, w]), B(() => {
7385
+ (g || a) && z(r1), j.current = !0;
7386
+ }, []), B(() => {
7387
+ h && Y((V) => {
7388
+ const m = h.filter(
7389
+ (_) => !V.some((I) => I.value === _.value)
7390
+ );
7391
+ return [...V, ...m];
7392
+ });
7393
+ }, [h]);
7394
+ const n1 = W(
7395
+ (V) => {
7396
+ t && t(V);
7397
+ let m = [];
7398
+ if (d ? m = Array.isArray(V) ? V : [] : m = V ? [V] : [], D) {
7399
+ const _ = m.filter(
7400
+ (I) => !($ != null && $.some((K) => K.value === I))
7401
+ );
7402
+ _.length > 0 && Y((I = []) => [
7403
+ ...I,
7404
+ ..._.map((K) => {
7405
+ const A1 = E == null ? void 0 : E.find((Ce) => Ce.value === K);
7406
+ return {
7407
+ value: K,
7408
+ label: (A1 == null ? void 0 : A1.label) ?? K
7409
+ };
7410
+ })
7411
+ ]), P(void 0), v(r1), A(!0);
7412
+ }
7413
+ },
7414
+ [t, D, d, E, $]
7415
+ ), w1 = me(
7386
7416
  () => ({
7387
7417
  id: n,
7388
7418
  width: e,
7389
- options: _ || [],
7390
- onChange: t,
7391
- ref: L,
7419
+ options: E || [],
7420
+ onChange: n1,
7421
+ ref: b,
7392
7422
  placeholder: o,
7393
7423
  search: !0,
7394
7424
  value: s,
7395
- onSearchChange: $,
7396
- onDropdownVisibleChange: h1,
7425
+ onSearchChange: c1,
7426
+ onDropdownVisibleChange: f1,
7397
7427
  scrollThresholdValue: c,
7398
- onScrollToEnd: Y,
7428
+ onScrollToEnd: p1,
7399
7429
  disabled: l,
7400
- extraOptions: h,
7401
- isLoading: x,
7430
+ extraOptions: $,
7431
+ isLoading: w,
7402
7432
  optionRender: p,
7403
- dropdownRender: m,
7404
- readOnly: M,
7433
+ dropdownRender: k,
7434
+ readOnly: x,
7405
7435
  clearable: N,
7406
- required: E
7436
+ required: H
7407
7437
  }),
7408
7438
  [
7409
7439
  n,
7410
7440
  e,
7411
- _,
7412
- t,
7413
- L,
7441
+ E,
7442
+ n1,
7443
+ b,
7414
7444
  o,
7415
7445
  s,
7416
- $,
7417
- h1,
7446
+ c1,
7447
+ f1,
7418
7448
  c,
7419
- Y,
7449
+ p1,
7420
7450
  l,
7421
- h,
7422
- x,
7451
+ $,
7452
+ w,
7423
7453
  p,
7424
- m,
7425
- M,
7454
+ k,
7455
+ x,
7426
7456
  N,
7427
- E
7457
+ H
7428
7458
  ]
7429
7459
  );
7430
- return ie(L, () => ({
7460
+ return se(b, () => ({
7431
7461
  refetchOptions: async () => {
7432
- k(f1), D(void 0), f([]), J(!0);
7462
+ v(r1), P(void 0), A(!0);
7433
7463
  }
7434
- })), d ? /* @__PURE__ */ r(T1, { ...C1, onChange: t, value: s, mode: d }) : /* @__PURE__ */ r("div", { className: "snmt-async-select", children: /* @__PURE__ */ r(T1, { ...C1, onChange: t, value: s }) });
7464
+ })), d ? /* @__PURE__ */ r(D1, { ...w1, value: s, mode: d }) : /* @__PURE__ */ r("div", { className: "snmt-async-select", children: /* @__PURE__ */ r(D1, { ...w1, value: s }) });
7435
7465
  }
7436
- ), R = (i) => typeof i == "string", c1 = () => {
7466
+ ), R = (i) => typeof i == "string", d1 = () => {
7437
7467
  let i, e;
7438
7468
  const t = new Promise((s, n) => {
7439
7469
  i = s, e = n;
7440
7470
  });
7441
7471
  return t.resolve = i, t.reject = e, t;
7442
- }, G1 = (i) => i == null ? "" : "" + i, g3 = (i, e, t) => {
7472
+ }, K1 = (i) => i == null ? "" : "" + i, C3 = (i, e, t) => {
7443
7473
  i.forEach((s) => {
7444
7474
  e[s] && (t[s] = e[s]);
7445
7475
  });
7446
- }, u3 = /###/g, K1 = (i) => i && i.indexOf("###") > -1 ? i.replace(u3, ".") : i, P1 = (i) => !i || R(i), g1 = (i, e, t) => {
7476
+ }, p3 = /###/g, P1 = (i) => i && i.indexOf("###") > -1 ? i.replace(p3, ".") : i, F1 = (i) => !i || R(i), u1 = (i, e, t) => {
7447
7477
  const s = R(e) ? e.split(".") : e;
7448
7478
  let n = 0;
7449
7479
  for (; n < s.length - 1; ) {
7450
- if (P1(i)) return {};
7451
- const l = K1(s[n]);
7480
+ if (F1(i)) return {};
7481
+ const l = P1(s[n]);
7452
7482
  !i[l] && t && (i[l] = new t()), Object.prototype.hasOwnProperty.call(i, l) ? i = i[l] : i = {}, ++n;
7453
7483
  }
7454
- return P1(i) ? {} : {
7484
+ return F1(i) ? {} : {
7455
7485
  obj: i,
7456
- k: K1(s[n])
7486
+ k: P1(s[n])
7457
7487
  };
7458
- }, F1 = (i, e, t) => {
7488
+ }, $1 = (i, e, t) => {
7459
7489
  const {
7460
7490
  obj: s,
7461
7491
  k: n
7462
- } = g1(i, e, Object);
7492
+ } = u1(i, e, Object);
7463
7493
  if (s !== void 0 || e.length === 1) {
7464
7494
  s[n] = t;
7465
7495
  return;
7466
7496
  }
7467
- let l = e[e.length - 1], c = e.slice(0, e.length - 1), o = g1(i, c, Object);
7497
+ let l = e[e.length - 1], c = e.slice(0, e.length - 1), o = u1(i, c, Object);
7468
7498
  for (; o.obj === void 0 && c.length; )
7469
- l = `${c[c.length - 1]}.${l}`, c = c.slice(0, c.length - 1), o = g1(i, c, Object), o && o.obj && typeof o.obj[`${o.k}.${l}`] < "u" && (o.obj = void 0);
7499
+ l = `${c[c.length - 1]}.${l}`, c = c.slice(0, c.length - 1), o = u1(i, c, Object), o && o.obj && typeof o.obj[`${o.k}.${l}`] < "u" && (o.obj = void 0);
7470
7500
  o.obj[`${o.k}.${l}`] = t;
7471
- }, C3 = (i, e, t, s) => {
7501
+ }, f3 = (i, e, t, s) => {
7472
7502
  const {
7473
7503
  obj: n,
7474
7504
  k: l
7475
- } = g1(i, e, Object);
7505
+ } = u1(i, e, Object);
7476
7506
  n[l] = n[l] || [], n[l].push(t);
7477
- }, k1 = (i, e) => {
7507
+ }, v1 = (i, e) => {
7478
7508
  const {
7479
7509
  obj: t,
7480
7510
  k: s
7481
- } = g1(i, e);
7511
+ } = u1(i, e);
7482
7512
  if (t)
7483
7513
  return t[s];
7484
- }, p3 = (i, e, t) => {
7485
- const s = k1(i, t);
7486
- return s !== void 0 ? s : k1(e, t);
7487
- }, ae = (i, e, t) => {
7514
+ }, w3 = (i, e, t) => {
7515
+ const s = v1(i, t);
7516
+ return s !== void 0 ? s : v1(e, t);
7517
+ }, he = (i, e, t) => {
7488
7518
  for (const s in e)
7489
- s !== "__proto__" && s !== "constructor" && (s in i ? R(i[s]) || i[s] instanceof String || R(e[s]) || e[s] instanceof String ? t && (i[s] = e[s]) : ae(i[s], e[s], t) : i[s] = e[s]);
7519
+ s !== "__proto__" && s !== "constructor" && (s in i ? R(i[s]) || i[s] instanceof String || R(e[s]) || e[s] instanceof String ? t && (i[s] = e[s]) : he(i[s], e[s], t) : i[s] = e[s]);
7490
7520
  return i;
7491
- }, r1 = (i) => i.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
7492
- var f3 = {
7521
+ }, o1 = (i) => i.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
7522
+ var m3 = {
7493
7523
  "&": "&amp;",
7494
7524
  "<": "&lt;",
7495
7525
  ">": "&gt;",
@@ -7497,8 +7527,8 @@ var f3 = {
7497
7527
  "'": "&#39;",
7498
7528
  "/": "&#x2F;"
7499
7529
  };
7500
- const w3 = (i) => R(i) ? i.replace(/[&<>"'\/]/g, (e) => f3[e]) : i;
7501
- class m3 {
7530
+ const k3 = (i) => R(i) ? i.replace(/[&<>"'\/]/g, (e) => m3[e]) : i;
7531
+ class L3 {
7502
7532
  constructor(e) {
7503
7533
  this.capacity = e, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = [];
7504
7534
  }
@@ -7510,11 +7540,11 @@ class m3 {
7510
7540
  return this.regExpQueue.length === this.capacity && this.regExpMap.delete(this.regExpQueue.shift()), this.regExpMap.set(e, s), this.regExpQueue.push(e), s;
7511
7541
  }
7512
7542
  }
7513
- const k3 = [" ", ",", "?", "!", ";"], L3 = new m3(20), v3 = (i, e, t) => {
7543
+ const v3 = [" ", ",", "?", "!", ";"], N3 = new L3(20), x3 = (i, e, t) => {
7514
7544
  e = e || "", t = t || "";
7515
- const s = k3.filter((c) => e.indexOf(c) < 0 && t.indexOf(c) < 0);
7545
+ const s = v3.filter((c) => e.indexOf(c) < 0 && t.indexOf(c) < 0);
7516
7546
  if (s.length === 0) return !0;
7517
- const n = L3.getRegExp(`(${s.map((c) => c === "?" ? "\\?" : c).join("|")})`);
7547
+ const n = N3.getRegExp(`(${s.map((c) => c === "?" ? "\\?" : c).join("|")})`);
7518
7548
  let l = !n.test(i);
7519
7549
  if (!l) {
7520
7550
  const c = i.indexOf(t);
@@ -7541,7 +7571,7 @@ const k3 = [" ", ",", "?", "!", ";"], L3 = new m3(20), v3 = (i, e, t) => {
7541
7571
  n = c;
7542
7572
  }
7543
7573
  return n;
7544
- }, L1 = (i) => i && i.replace("_", "-"), N3 = {
7574
+ }, N1 = (i) => i && i.replace("_", "-"), R3 = {
7545
7575
  type: "logger",
7546
7576
  log(i) {
7547
7577
  this.output("log", i);
@@ -7556,14 +7586,14 @@ const k3 = [" ", ",", "?", "!", ";"], L3 = new m3(20), v3 = (i, e, t) => {
7556
7586
  console && console[i] && console[i].apply(console, e);
7557
7587
  }
7558
7588
  };
7559
- class v1 {
7589
+ class x1 {
7560
7590
  constructor(e) {
7561
7591
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
7562
7592
  this.init(e, t);
7563
7593
  }
7564
7594
  init(e) {
7565
7595
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
7566
- this.prefix = t.prefix || "i18next:", this.logger = e || N3, this.options = t, this.debug = t.debug;
7596
+ this.prefix = t.prefix || "i18next:", this.logger = e || R3, this.options = t, this.debug = t.debug;
7567
7597
  }
7568
7598
  log() {
7569
7599
  for (var e = arguments.length, t = new Array(e), s = 0; s < e; s++)
@@ -7589,17 +7619,17 @@ class v1 {
7589
7619
  return n && !this.debug ? null : (R(e[0]) && (e[0] = `${s}${this.prefix} ${e[0]}`), this.logger[t](e));
7590
7620
  }
7591
7621
  create(e) {
7592
- return new v1(this.logger, {
7622
+ return new x1(this.logger, {
7593
7623
  prefix: `${this.prefix}:${e}:`,
7594
7624
  ...this.options
7595
7625
  });
7596
7626
  }
7597
7627
  clone(e) {
7598
- return e = e || this.options, e.prefix = e.prefix || this.prefix, new v1(this.logger, e);
7628
+ return e = e || this.options, e.prefix = e.prefix || this.prefix, new x1(this.logger, e);
7599
7629
  }
7600
7630
  }
7601
- var U = new v1();
7602
- class R1 {
7631
+ var q = new x1();
7632
+ class y1 {
7603
7633
  constructor() {
7604
7634
  this.observers = {};
7605
7635
  }
@@ -7633,7 +7663,7 @@ class R1 {
7633
7663
  });
7634
7664
  }
7635
7665
  }
7636
- class $1 extends R1 {
7666
+ class Y1 extends y1 {
7637
7667
  constructor(e) {
7638
7668
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
7639
7669
  ns: ["translation"],
@@ -7653,7 +7683,7 @@ class $1 extends R1 {
7653
7683
  const l = n.keySeparator !== void 0 ? n.keySeparator : this.options.keySeparator, c = n.ignoreJSONStructure !== void 0 ? n.ignoreJSONStructure : this.options.ignoreJSONStructure;
7654
7684
  let o;
7655
7685
  e.indexOf(".") > -1 ? o = e.split(".") : (o = [e, t], s && (Array.isArray(s) ? o.push(...s) : R(s) && l ? o.push(...s.split(l)) : o.push(s)));
7656
- const d = k1(this.data, o);
7686
+ const d = v1(this.data, o);
7657
7687
  return !d && !t && !s && e.indexOf(".") > -1 && (e = o[0], t = o[1], s = o.slice(2).join(".")), d || !c || !R(s) ? d : V1(this.data && this.data[e] && this.data[e][t], s, l);
7658
7688
  }
7659
7689
  addResource(e, t, s, n) {
@@ -7662,7 +7692,7 @@ class $1 extends R1 {
7662
7692
  };
7663
7693
  const c = l.keySeparator !== void 0 ? l.keySeparator : this.options.keySeparator;
7664
7694
  let o = [e, t];
7665
- 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);
7695
+ s && (o = o.concat(c ? s.split(c) : s)), e.indexOf(".") > -1 && (o = e.split("."), n = t, t = o[1]), this.addNamespaces(t), $1(this.data, o, n), l.silent || this.emit("added", e, t, s, n);
7666
7696
  }
7667
7697
  addResources(e, t, s) {
7668
7698
  let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {
@@ -7680,11 +7710,11 @@ class $1 extends R1 {
7680
7710
  skipCopy: !1
7681
7711
  }, o = [e, t];
7682
7712
  e.indexOf(".") > -1 && (o = e.split("."), n = s, s = t, t = o[1]), this.addNamespaces(t);
7683
- let d = k1(this.data, o) || {};
7684
- c.skipCopy || (s = JSON.parse(JSON.stringify(s))), n ? ae(d, s, l) : d = {
7713
+ let d = v1(this.data, o) || {};
7714
+ c.skipCopy || (s = JSON.parse(JSON.stringify(s))), n ? he(d, s, l) : d = {
7685
7715
  ...d,
7686
7716
  ...s
7687
- }, F1(this.data, o, d), c.silent || this.emit("added", e, t, s);
7717
+ }, $1(this.data, o, d), c.silent || this.emit("added", e, t, s);
7688
7718
  }
7689
7719
  removeResourceBundle(e, t) {
7690
7720
  this.hasResourceBundle(e, t) && delete this.data[e][t], this.removeNamespaces(t), this.emit("removed", e, t);
@@ -7708,7 +7738,7 @@ class $1 extends R1 {
7708
7738
  return this.data;
7709
7739
  }
7710
7740
  }
7711
- var he = {
7741
+ var ce = {
7712
7742
  processors: {},
7713
7743
  addPostProcessor(i) {
7714
7744
  this.processors[i.name] = i;
@@ -7719,11 +7749,11 @@ var he = {
7719
7749
  }), e;
7720
7750
  }
7721
7751
  };
7722
- const Y1 = {};
7723
- class N1 extends R1 {
7752
+ const U1 = {};
7753
+ class R1 extends y1 {
7724
7754
  constructor(e) {
7725
7755
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
7726
- super(), g3(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = U.create("translator");
7756
+ super(), C3(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = q.create("translator");
7727
7757
  }
7728
7758
  changeLanguage(e) {
7729
7759
  e && (this.language = e);
@@ -7742,7 +7772,7 @@ class N1 extends R1 {
7742
7772
  s === void 0 && (s = ":");
7743
7773
  const n = t.keySeparator !== void 0 ? t.keySeparator : this.options.keySeparator;
7744
7774
  let l = t.ns || this.options.defaultNS || [];
7745
- const c = s && e.indexOf(s) > -1, o = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !v3(e, s, n);
7775
+ const c = s && e.indexOf(s) > -1, o = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !x3(e, s, n);
7746
7776
  if (c && !o) {
7747
7777
  const d = e.match(this.interpolator.nestingRegexp);
7748
7778
  if (d && d.length > 0)
@@ -7790,8 +7820,8 @@ class N1 extends R1 {
7790
7820
  }
7791
7821
  const h = this.resolve(e, t);
7792
7822
  let C = h && h.res;
7793
- const p = h && h.usedKey || c, m = h && h.exactUsedKey || c, M = Object.prototype.toString.apply(C), N = ["[object Number]", "[object Function]", "[object RegExp]"], E = t.joinArrays !== void 0 ? t.joinArrays : this.options.joinArrays, L = !this.i18nFormat || this.i18nFormat.handleAsObject, _ = !R(C) && typeof C != "boolean" && typeof C != "number";
7794
- if (L && C && _ && N.indexOf(M) < 0 && !(R(E) && Array.isArray(C))) {
7823
+ const p = h && h.usedKey || c, k = h && h.exactUsedKey || c, x = Object.prototype.toString.apply(C), N = ["[object Number]", "[object Function]", "[object RegExp]"], H = t.joinArrays !== void 0 ? t.joinArrays : this.options.joinArrays, b = !this.i18nFormat || this.i18nFormat.handleAsObject, E = !R(C) && typeof C != "boolean" && typeof C != "number";
7824
+ if (b && C && E && N.indexOf(x) < 0 && !(R(H) && Array.isArray(C))) {
7795
7825
  if (!t.returnObjects && !this.options.returnObjects) {
7796
7826
  this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
7797
7827
  const f = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(p, C, {
@@ -7801,53 +7831,53 @@ class N1 extends R1 {
7801
7831
  return n ? (h.res = f, h.usedParams = this.getUsedParamsDetails(t), h) : f;
7802
7832
  }
7803
7833
  if (l) {
7804
- const f = Array.isArray(C), w = f ? [] : {}, k = f ? m : p;
7805
- for (const x in C)
7806
- if (Object.prototype.hasOwnProperty.call(C, x)) {
7807
- const W = `${k}${l}${x}`;
7808
- w[x] = this.translate(W, {
7834
+ const f = Array.isArray(C), L = f ? [] : {}, v = f ? k : p;
7835
+ for (const w in C)
7836
+ if (Object.prototype.hasOwnProperty.call(C, w)) {
7837
+ const O = `${v}${l}${w}`;
7838
+ L[w] = this.translate(O, {
7809
7839
  ...t,
7810
7840
  joinArrays: !1,
7811
7841
  ns: o
7812
- }), w[x] === W && (w[x] = C[x]);
7842
+ }), L[w] === O && (L[w] = C[w]);
7813
7843
  }
7814
- C = w;
7844
+ C = L;
7815
7845
  }
7816
- } else if (L && R(E) && Array.isArray(C))
7817
- C = C.join(E), C && (C = this.extendTranslation(C, e, t, s));
7846
+ } else if (b && R(H) && Array.isArray(C))
7847
+ C = C.join(H), C && (C = this.extendTranslation(C, e, t, s));
7818
7848
  else {
7819
- let f = !1, w = !1;
7820
- const k = t.count !== void 0 && !R(t.count), x = N1.hasDefaultValue(t), W = k ? this.pluralResolver.getSuffix(g, t.count, t) : "", F = t.ordinal && k ? this.pluralResolver.getSuffix(g, t.count, {
7849
+ let f = !1, L = !1;
7850
+ const v = t.count !== void 0 && !R(t.count), w = R1.hasDefaultValue(t), O = v ? this.pluralResolver.getSuffix(g, t.count, t) : "", D = t.ordinal && v ? this.pluralResolver.getSuffix(g, t.count, {
7821
7851
  ordinal: !1
7822
- }) : "", D = k && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), T = D && t[`defaultValue${this.options.pluralSeparator}zero`] || t[`defaultValue${W}`] || t[`defaultValue${F}`] || t.defaultValue;
7823
- !this.isValidLookup(C) && x && (f = !0, C = T), this.isValidLookup(C) || (w = !0, C = c);
7824
- const Q = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && w ? void 0 : C, G = x && T !== C && this.options.updateMissing;
7825
- if (w || f || G) {
7826
- if (this.logger.log(G ? "updateKey" : "missingKey", g, d, c, G ? T : C), l) {
7827
- const I = this.resolve(c, {
7852
+ }) : "", P = v && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), G = P && t[`defaultValue${this.options.pluralSeparator}zero`] || t[`defaultValue${O}`] || t[`defaultValue${D}`] || t.defaultValue;
7853
+ !this.isValidLookup(C) && w && (f = !0, C = G), this.isValidLookup(C) || (L = !0, C = c);
7854
+ const $ = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && L ? void 0 : C, Y = w && G !== C && this.options.updateMissing;
7855
+ if (L || f || Y) {
7856
+ if (this.logger.log(Y ? "updateKey" : "missingKey", g, d, c, Y ? G : C), l) {
7857
+ const A = this.resolve(c, {
7828
7858
  ...t,
7829
7859
  keySeparator: !1
7830
7860
  });
7831
- I && I.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.");
7832
- }
7833
- let K = [];
7834
- const J = this.languageUtils.getFallbackCodes(this.options.fallbackLng, t.lng || this.language);
7835
- if (this.options.saveMissingTo === "fallback" && J && J[0])
7836
- for (let I = 0; I < J.length; I++)
7837
- K.push(J[I]);
7838
- else this.options.saveMissingTo === "all" ? K = this.languageUtils.toResolveHierarchy(t.lng || this.language) : K.push(t.lng || this.language);
7839
- const X = (I, S, $) => {
7840
- const Y = x && $ !== C ? $ : Q;
7841
- this.options.missingKeyHandler ? this.options.missingKeyHandler(I, d, S, Y, G, t) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(I, d, S, Y, G, t), this.emit("missingKey", I, d, S, C);
7861
+ 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.");
7862
+ }
7863
+ let U = [];
7864
+ const Q = this.languageUtils.getFallbackCodes(this.options.fallbackLng, t.lng || this.language);
7865
+ if (this.options.saveMissingTo === "fallback" && Q && Q[0])
7866
+ for (let A = 0; A < Q.length; A++)
7867
+ U.push(Q[A]);
7868
+ else this.options.saveMissingTo === "all" ? U = this.languageUtils.toResolveHierarchy(t.lng || this.language) : U.push(t.lng || this.language);
7869
+ const X = (A, j, z) => {
7870
+ const J = w && z !== C ? z : $;
7871
+ this.options.missingKeyHandler ? this.options.missingKeyHandler(A, d, j, J, Y, t) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(A, d, j, J, Y, t), this.emit("missingKey", A, d, j, C);
7842
7872
  };
7843
- this.options.saveMissing && (this.options.saveMissingPlurals && k ? K.forEach((I) => {
7844
- const S = this.pluralResolver.getSuffixes(I, t);
7845
- D && t[`defaultValue${this.options.pluralSeparator}zero`] && S.indexOf(`${this.options.pluralSeparator}zero`) < 0 && S.push(`${this.options.pluralSeparator}zero`), S.forEach(($) => {
7846
- X([I], c + $, t[`defaultValue${$}`] || T);
7873
+ this.options.saveMissing && (this.options.saveMissingPlurals && v ? U.forEach((A) => {
7874
+ const j = this.pluralResolver.getSuffixes(A, t);
7875
+ P && t[`defaultValue${this.options.pluralSeparator}zero`] && j.indexOf(`${this.options.pluralSeparator}zero`) < 0 && j.push(`${this.options.pluralSeparator}zero`), j.forEach((z) => {
7876
+ X([A], c + z, t[`defaultValue${z}`] || G);
7847
7877
  });
7848
- }) : X(K, c, T));
7878
+ }) : X(U, c, G));
7849
7879
  }
7850
- C = this.extendTranslation(C, e, t, h, s), w && C === c && this.options.appendNamespaceToMissingKey && (C = `${d}:${c}`), (w || f) && this.options.parseMissingKeyHandler && (this.options.compatibilityAPI !== "v1" ? C = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${d}:${c}` : c, f ? C : void 0) : C = this.options.parseMissingKeyHandler(C));
7880
+ C = this.extendTranslation(C, e, t, h, s), L && C === c && this.options.appendNamespaceToMissingKey && (C = `${d}:${c}`), (L || f) && this.options.parseMissingKeyHandler && (this.options.compatibilityAPI !== "v1" ? C = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${d}:${c}` : c, f ? C : void 0) : C = this.options.parseMissingKeyHandler(C));
7851
7881
  }
7852
7882
  return n ? (h.res = C, h.usedParams = this.getUsedParamsDetails(t), h) : C;
7853
7883
  }
@@ -7883,13 +7913,13 @@ class N1 extends R1 {
7883
7913
  a < p && (s.nest = !1);
7884
7914
  }
7885
7915
  !s.lng && this.options.compatibilityAPI !== "v1" && n && n.res && (s.lng = this.language || n.usedLng), s.nest !== !1 && (e = this.interpolator.nest(e, function() {
7886
- for (var C = arguments.length, p = new Array(C), m = 0; m < C; m++)
7887
- p[m] = arguments[m];
7916
+ for (var C = arguments.length, p = new Array(C), k = 0; k < C; k++)
7917
+ p[k] = arguments[k];
7888
7918
  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);
7889
7919
  }, s)), s.interpolation && this.interpolator.reset();
7890
7920
  }
7891
7921
  const o = s.postProcess || this.options.postProcess, d = R(o) ? [o] : o;
7892
- return e != null && d && d.length && s.applyPostProcessor !== !1 && (e = he.handle(d, e, t, this.options && this.options.postProcessPassResolved ? {
7922
+ return e != null && d && d.length && s.applyPostProcessor !== !1 && (e = ce.handle(d, e, t, this.options && this.options.postProcessPassResolved ? {
7893
7923
  i18nResolved: {
7894
7924
  ...n,
7895
7925
  usedParams: this.getUsedParamsDetails(s)
@@ -7905,26 +7935,26 @@ class N1 extends R1 {
7905
7935
  n = a;
7906
7936
  let h = g.namespaces;
7907
7937
  this.options.fallbackNS && (h = h.concat(this.options.fallbackNS));
7908
- const C = t.count !== void 0 && !R(t.count), p = C && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), m = t.context !== void 0 && (R(t.context) || typeof t.context == "number") && t.context !== "", M = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
7938
+ const C = t.count !== void 0 && !R(t.count), p = C && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), k = t.context !== void 0 && (R(t.context) || typeof t.context == "number") && t.context !== "", x = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
7909
7939
  h.forEach((N) => {
7910
- this.isValidLookup(s) || (o = N, !Y1[`${M[0]}-${N}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(o) && (Y1[`${M[0]}-${N}`] = !0, this.logger.warn(`key "${n}" for languages "${M.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!!!")), M.forEach((E) => {
7940
+ this.isValidLookup(s) || (o = N, !U1[`${x[0]}-${N}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(o) && (U1[`${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((H) => {
7911
7941
  if (this.isValidLookup(s)) return;
7912
- c = E;
7913
- const L = [a];
7942
+ c = H;
7943
+ const b = [a];
7914
7944
  if (this.i18nFormat && this.i18nFormat.addLookupKeys)
7915
- this.i18nFormat.addLookupKeys(L, a, E, N, t);
7945
+ this.i18nFormat.addLookupKeys(b, a, H, N, t);
7916
7946
  else {
7917
7947
  let f;
7918
- C && (f = this.pluralResolver.getSuffix(E, t.count, t));
7919
- const w = `${this.options.pluralSeparator}zero`, k = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
7920
- if (C && (L.push(a + f), t.ordinal && f.indexOf(k) === 0 && L.push(a + f.replace(k, this.options.pluralSeparator)), p && L.push(a + w)), m) {
7921
- const x = `${a}${this.options.contextSeparator}${t.context}`;
7922
- L.push(x), C && (L.push(x + f), t.ordinal && f.indexOf(k) === 0 && L.push(x + f.replace(k, this.options.pluralSeparator)), p && L.push(x + w));
7948
+ C && (f = this.pluralResolver.getSuffix(H, t.count, t));
7949
+ const L = `${this.options.pluralSeparator}zero`, v = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
7950
+ if (C && (b.push(a + f), t.ordinal && f.indexOf(v) === 0 && b.push(a + f.replace(v, this.options.pluralSeparator)), p && b.push(a + L)), k) {
7951
+ const w = `${a}${this.options.contextSeparator}${t.context}`;
7952
+ b.push(w), C && (b.push(w + f), t.ordinal && f.indexOf(v) === 0 && b.push(w + f.replace(v, this.options.pluralSeparator)), p && b.push(w + L));
7923
7953
  }
7924
7954
  }
7925
- let _;
7926
- for (; _ = L.pop(); )
7927
- this.isValidLookup(s) || (l = _, s = this.getResource(E, N, _, t));
7955
+ let E;
7956
+ for (; E = b.pop(); )
7957
+ this.isValidLookup(s) || (l = E, s = this.getResource(H, N, E, t));
7928
7958
  }));
7929
7959
  });
7930
7960
  }), {
@@ -7966,18 +7996,18 @@ class N1 extends R1 {
7966
7996
  return !1;
7967
7997
  }
7968
7998
  }
7969
- const _1 = (i) => i.charAt(0).toUpperCase() + i.slice(1);
7970
- class U1 {
7999
+ const E1 = (i) => i.charAt(0).toUpperCase() + i.slice(1);
8000
+ class z1 {
7971
8001
  constructor(e) {
7972
- this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = U.create("languageUtils");
8002
+ this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = q.create("languageUtils");
7973
8003
  }
7974
8004
  getScriptPartFromCode(e) {
7975
- if (e = L1(e), !e || e.indexOf("-") < 0) return null;
8005
+ if (e = N1(e), !e || e.indexOf("-") < 0) return null;
7976
8006
  const t = e.split("-");
7977
8007
  return t.length === 2 || (t.pop(), t[t.length - 1].toLowerCase() === "x") ? null : this.formatLanguageCode(t.join("-"));
7978
8008
  }
7979
8009
  getLanguagePartFromCode(e) {
7980
- if (e = L1(e), !e || e.indexOf("-") < 0) return e;
8010
+ if (e = N1(e), !e || e.indexOf("-") < 0) return e;
7981
8011
  const t = e.split("-");
7982
8012
  return this.formatLanguageCode(t[0]);
7983
8013
  }
@@ -7991,7 +8021,7 @@ class U1 {
7991
8021
  }
7992
8022
  const t = ["hans", "hant", "latn", "cyrl", "cans", "mong", "arab"];
7993
8023
  let s = e.split("-");
7994
- 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] = _1(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] = _1(s[1].toLowerCase())), t.indexOf(s[2].toLowerCase()) > -1 && (s[2] = _1(s[2].toLowerCase()))), s.join("-");
8024
+ 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("-");
7995
8025
  }
7996
8026
  return this.options.cleanCode || this.options.lowerCaseLng ? e.toLowerCase() : e;
7997
8027
  }
@@ -8032,7 +8062,7 @@ class U1 {
8032
8062
  }), n;
8033
8063
  }
8034
8064
  }
8035
- let x3 = [{
8065
+ let M3 = [{
8036
8066
  lngs: ["ach", "ak", "am", "arn", "br", "fil", "gun", "ln", "mfe", "mg", "mi", "oc", "pt", "pt-BR", "tg", "tl", "ti", "tr", "uz", "wa"],
8037
8067
  nr: [1, 2],
8038
8068
  fc: 1
@@ -8124,7 +8154,7 @@ let x3 = [{
8124
8154
  lngs: ["he", "iw"],
8125
8155
  nr: [1, 2, 20, 21],
8126
8156
  fc: 22
8127
- }], R3 = {
8157
+ }], y3 = {
8128
8158
  1: (i) => +(i > 1),
8129
8159
  2: (i) => +(i != 1),
8130
8160
  3: (i) => 0,
@@ -8148,28 +8178,28 @@ let x3 = [{
8148
8178
  21: (i) => i % 100 == 1 ? 1 : i % 100 == 2 ? 2 : i % 100 == 3 || i % 100 == 4 ? 3 : 0,
8149
8179
  22: (i) => i == 1 ? 0 : i == 2 ? 1 : (i < 0 || i > 10) && i % 10 == 0 ? 2 : 3
8150
8180
  };
8151
- const M3 = ["v1", "v2", "v3"], y3 = ["v4"], z1 = {
8181
+ const b3 = ["v1", "v2", "v3"], E3 = ["v4"], J1 = {
8152
8182
  zero: 0,
8153
8183
  one: 1,
8154
8184
  two: 2,
8155
8185
  few: 3,
8156
8186
  many: 4,
8157
8187
  other: 5
8158
- }, b3 = () => {
8188
+ }, _3 = () => {
8159
8189
  const i = {};
8160
- return x3.forEach((e) => {
8190
+ return M3.forEach((e) => {
8161
8191
  e.lngs.forEach((t) => {
8162
8192
  i[t] = {
8163
8193
  numbers: e.nr,
8164
- plurals: R3[e.fc]
8194
+ plurals: y3[e.fc]
8165
8195
  };
8166
8196
  });
8167
8197
  }), i;
8168
8198
  };
8169
- class _3 {
8199
+ class H3 {
8170
8200
  constructor(e) {
8171
8201
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
8172
- this.languageUtils = e, this.options = t, this.logger = U.create("pluralResolver"), (!this.options.compatibilityJSON || y3.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 = b3(), this.pluralRulesCache = {};
8202
+ this.languageUtils = e, this.options = t, this.logger = q.create("pluralResolver"), (!this.options.compatibilityJSON || E3.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 = _3(), this.pluralRulesCache = {};
8173
8203
  }
8174
8204
  addRule(e, t) {
8175
8205
  this.rules[e] = t;
@@ -8180,7 +8210,7 @@ class _3 {
8180
8210
  getRule(e) {
8181
8211
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
8182
8212
  if (this.shouldUseIntlApi()) {
8183
- const s = L1(e === "dev" ? "en" : e), n = t.ordinal ? "ordinal" : "cardinal", l = JSON.stringify({
8213
+ const s = N1(e === "dev" ? "en" : e), n = t.ordinal ? "ordinal" : "cardinal", l = JSON.stringify({
8184
8214
  cleanedCode: s,
8185
8215
  type: n
8186
8216
  });
@@ -8212,7 +8242,7 @@ class _3 {
8212
8242
  getSuffixes(e) {
8213
8243
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
8214
8244
  const s = this.getRule(e, t);
8215
- return s ? this.shouldUseIntlApi() ? s.resolvedOptions().pluralCategories.sort((n, l) => z1[n] - z1[l]).map((n) => `${this.options.prepend}${t.ordinal ? `ordinal${this.options.prepend}` : ""}${n}`) : s.numbers.map((n) => this.getSuffix(e, n, t)) : [];
8245
+ return s ? this.shouldUseIntlApi() ? s.resolvedOptions().pluralCategories.sort((n, l) => J1[n] - J1[l]).map((n) => `${this.options.prepend}${t.ordinal ? `ordinal${this.options.prepend}` : ""}${n}`) : s.numbers.map((n) => this.getSuffix(e, n, t)) : [];
8216
8246
  }
8217
8247
  getSuffix(e, t) {
8218
8248
  let s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
@@ -8227,17 +8257,17 @@ class _3 {
8227
8257
  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();
8228
8258
  }
8229
8259
  shouldUseIntlApi() {
8230
- return !M3.includes(this.options.compatibilityJSON);
8260
+ return !b3.includes(this.options.compatibilityJSON);
8231
8261
  }
8232
8262
  }
8233
- const J1 = function(i, e, t) {
8234
- let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", n = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, l = p3(i, e, t);
8263
+ const q1 = function(i, e, t) {
8264
+ let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", n = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, l = w3(i, e, t);
8235
8265
  return !l && n && R(t) && (l = V1(i, t, s), l === void 0 && (l = V1(e, t, s))), l;
8236
- }, E1 = (i) => i.replace(/\$/g, "$$$$");
8237
- class E3 {
8266
+ }, _1 = (i) => i.replace(/\$/g, "$$$$");
8267
+ class V3 {
8238
8268
  constructor() {
8239
8269
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
8240
- this.logger = U.create("interpolator"), this.options = e, this.format = e.interpolation && e.interpolation.format || ((t) => t), this.init(e);
8270
+ this.logger = q.create("interpolator"), this.options = e, this.format = e.interpolation && e.interpolation.format || ((t) => t), this.init(e);
8241
8271
  }
8242
8272
  init() {
8243
8273
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
@@ -8257,13 +8287,13 @@ class E3 {
8257
8287
  unescapePrefix: h,
8258
8288
  nestingPrefix: C,
8259
8289
  nestingPrefixEscaped: p,
8260
- nestingSuffix: m,
8261
- nestingSuffixEscaped: M,
8290
+ nestingSuffix: k,
8291
+ nestingSuffixEscaped: x,
8262
8292
  nestingOptionsSeparator: N,
8263
- maxReplaces: E,
8264
- alwaysFormat: L
8293
+ maxReplaces: H,
8294
+ alwaysFormat: b
8265
8295
  } = e.interpolation;
8266
- this.escape = t !== void 0 ? t : w3, this.escapeValue = s !== void 0 ? s : !0, this.useRawValueToEscape = n !== void 0 ? n : !1, this.prefix = l ? r1(l) : c || "{{", this.suffix = o ? r1(o) : d || "}}", this.formatSeparator = g || ",", this.unescapePrefix = a ? "" : h || "-", this.unescapeSuffix = this.unescapePrefix ? "" : a || "", this.nestingPrefix = C ? r1(C) : p || r1("$t("), this.nestingSuffix = m ? r1(m) : M || r1(")"), this.nestingOptionsSeparator = N || ",", this.maxReplaces = E || 1e3, this.alwaysFormat = L !== void 0 ? L : !1, this.resetRegExp();
8296
+ this.escape = t !== void 0 ? t : k3, this.escapeValue = s !== void 0 ? s : !0, this.useRawValueToEscape = n !== void 0 ? n : !1, this.prefix = l ? o1(l) : c || "{{", this.suffix = o ? o1(o) : d || "}}", this.formatSeparator = g || ",", this.unescapePrefix = a ? "" : h || "-", this.unescapeSuffix = this.unescapePrefix ? "" : a || "", this.nestingPrefix = C ? o1(C) : p || o1("$t("), this.nestingSuffix = k ? o1(k) : x || o1(")"), this.nestingOptionsSeparator = N || ",", this.maxReplaces = H || 1e3, this.alwaysFormat = b !== void 0 ? b : !1, this.resetRegExp();
8267
8297
  }
8268
8298
  reset() {
8269
8299
  this.options && this.init(this.options);
@@ -8276,45 +8306,45 @@ class E3 {
8276
8306
  let l, c, o;
8277
8307
  const d = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, g = (p) => {
8278
8308
  if (p.indexOf(this.formatSeparator) < 0) {
8279
- const E = J1(t, d, p, this.options.keySeparator, this.options.ignoreJSONStructure);
8280
- return this.alwaysFormat ? this.format(E, void 0, s, {
8309
+ const H = q1(t, d, p, this.options.keySeparator, this.options.ignoreJSONStructure);
8310
+ return this.alwaysFormat ? this.format(H, void 0, s, {
8281
8311
  ...n,
8282
8312
  ...t,
8283
8313
  interpolationkey: p
8284
- }) : E;
8314
+ }) : H;
8285
8315
  }
8286
- const m = p.split(this.formatSeparator), M = m.shift().trim(), N = m.join(this.formatSeparator).trim();
8287
- return this.format(J1(t, d, M, this.options.keySeparator, this.options.ignoreJSONStructure), N, s, {
8316
+ const k = p.split(this.formatSeparator), x = k.shift().trim(), N = k.join(this.formatSeparator).trim();
8317
+ return this.format(q1(t, d, x, this.options.keySeparator, this.options.ignoreJSONStructure), N, s, {
8288
8318
  ...n,
8289
8319
  ...t,
8290
- interpolationkey: M
8320
+ interpolationkey: x
8291
8321
  });
8292
8322
  };
8293
8323
  this.resetRegExp();
8294
8324
  const a = n && n.missingInterpolationHandler || this.options.missingInterpolationHandler, h = n && n.interpolation && n.interpolation.skipOnVariables !== void 0 ? n.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables;
8295
8325
  return [{
8296
8326
  regex: this.regexpUnescape,
8297
- safeValue: (p) => E1(p)
8327
+ safeValue: (p) => _1(p)
8298
8328
  }, {
8299
8329
  regex: this.regexp,
8300
- safeValue: (p) => this.escapeValue ? E1(this.escape(p)) : E1(p)
8330
+ safeValue: (p) => this.escapeValue ? _1(this.escape(p)) : _1(p)
8301
8331
  }].forEach((p) => {
8302
8332
  for (o = 0; l = p.regex.exec(e); ) {
8303
- const m = l[1].trim();
8304
- if (c = g(m), c === void 0)
8333
+ const k = l[1].trim();
8334
+ if (c = g(k), c === void 0)
8305
8335
  if (typeof a == "function") {
8306
8336
  const N = a(e, l, n);
8307
8337
  c = R(N) ? N : "";
8308
- } else if (n && Object.prototype.hasOwnProperty.call(n, m))
8338
+ } else if (n && Object.prototype.hasOwnProperty.call(n, k))
8309
8339
  c = "";
8310
8340
  else if (h) {
8311
8341
  c = l[0];
8312
8342
  continue;
8313
8343
  } else
8314
- this.logger.warn(`missed to pass in variable ${m} for interpolating ${e}`), c = "";
8315
- else !R(c) && !this.useRawValueToEscape && (c = G1(c));
8316
- const M = p.safeValue(c);
8317
- if (e = e.replace(l[0], M), h ? (p.regex.lastIndex += c.length, p.regex.lastIndex -= l[0].length) : p.regex.lastIndex = 0, o++, o >= this.maxReplaces)
8344
+ this.logger.warn(`missed to pass in variable ${k} for interpolating ${e}`), c = "";
8345
+ else !R(c) && !this.useRawValueToEscape && (c = K1(c));
8346
+ const x = p.safeValue(c);
8347
+ 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)
8318
8348
  break;
8319
8349
  }
8320
8350
  }), e;
@@ -8327,15 +8357,15 @@ class E3 {
8327
8357
  const h = d.split(new RegExp(`${a}[ ]*{`));
8328
8358
  let C = `{${h[1]}`;
8329
8359
  d = h[0], C = this.interpolate(C, c);
8330
- const p = C.match(/'/g), m = C.match(/"/g);
8331
- (p && p.length % 2 === 0 && !m || m.length % 2 !== 0) && (C = C.replace(/'/g, '"'));
8360
+ const p = C.match(/'/g), k = C.match(/"/g);
8361
+ (p && p.length % 2 === 0 && !k || k.length % 2 !== 0) && (C = C.replace(/'/g, '"'));
8332
8362
  try {
8333
8363
  c = JSON.parse(C), g && (c = {
8334
8364
  ...g,
8335
8365
  ...c
8336
8366
  });
8337
- } catch (M) {
8338
- return this.logger.warn(`failed parsing options string in nesting for key ${d}`, M), `${d}${a}${C}`;
8367
+ } catch (x) {
8368
+ return this.logger.warn(`failed parsing options string in nesting for key ${d}`, x), `${d}${a}${C}`;
8339
8369
  }
8340
8370
  return c.defaultValue && c.defaultValue.indexOf(this.prefix) > -1 && delete c.defaultValue, d;
8341
8371
  };
@@ -8350,7 +8380,7 @@ class E3 {
8350
8380
  n[1] = a.shift(), d = a, g = !0;
8351
8381
  }
8352
8382
  if (l = t(o.call(this, n[1].trim(), c), c), l && n[0] === e && !R(l)) return l;
8353
- R(l) || (l = G1(l)), l || (this.logger.warn(`missed to resolve ${n[1]} for nesting ${e}`), l = ""), g && (l = d.reduce((a, h) => this.format(a, h, s.lng, {
8383
+ R(l) || (l = K1(l)), l || (this.logger.warn(`missed to resolve ${n[1]} for nesting ${e}`), l = ""), g && (l = d.reduce((a, h) => this.format(a, h, s.lng, {
8354
8384
  ...s,
8355
8385
  interpolationkey: n[1].trim()
8356
8386
  }), l.trim())), e = e.replace(n[0], l), this.regexp.lastIndex = 0;
@@ -8358,7 +8388,7 @@ class E3 {
8358
8388
  return e;
8359
8389
  }
8360
8390
  }
8361
- const H3 = (i) => {
8391
+ const I3 = (i) => {
8362
8392
  let e = i.toLowerCase().trim();
8363
8393
  const t = {};
8364
8394
  if (i.indexOf("(") > -1) {
@@ -8376,7 +8406,7 @@ const H3 = (i) => {
8376
8406
  formatName: e,
8377
8407
  formatOptions: t
8378
8408
  };
8379
- }, o1 = (i) => {
8409
+ }, l1 = (i) => {
8380
8410
  const e = {};
8381
8411
  return (t, s, n) => {
8382
8412
  let l = n;
@@ -8386,39 +8416,39 @@ const H3 = (i) => {
8386
8416
  });
8387
8417
  const c = s + JSON.stringify(l);
8388
8418
  let o = e[c];
8389
- return o || (o = i(L1(s), n), e[c] = o), o(t);
8419
+ return o || (o = i(N1(s), n), e[c] = o), o(t);
8390
8420
  };
8391
8421
  };
8392
- class V3 {
8422
+ class S3 {
8393
8423
  constructor() {
8394
8424
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
8395
- this.logger = U.create("formatter"), this.options = e, this.formats = {
8396
- number: o1((t, s) => {
8425
+ this.logger = q.create("formatter"), this.options = e, this.formats = {
8426
+ number: l1((t, s) => {
8397
8427
  const n = new Intl.NumberFormat(t, {
8398
8428
  ...s
8399
8429
  });
8400
8430
  return (l) => n.format(l);
8401
8431
  }),
8402
- currency: o1((t, s) => {
8432
+ currency: l1((t, s) => {
8403
8433
  const n = new Intl.NumberFormat(t, {
8404
8434
  ...s,
8405
8435
  style: "currency"
8406
8436
  });
8407
8437
  return (l) => n.format(l);
8408
8438
  }),
8409
- datetime: o1((t, s) => {
8439
+ datetime: l1((t, s) => {
8410
8440
  const n = new Intl.DateTimeFormat(t, {
8411
8441
  ...s
8412
8442
  });
8413
8443
  return (l) => n.format(l);
8414
8444
  }),
8415
- relativetime: o1((t, s) => {
8445
+ relativetime: l1((t, s) => {
8416
8446
  const n = new Intl.RelativeTimeFormat(t, {
8417
8447
  ...s
8418
8448
  });
8419
8449
  return (l) => n.format(l, s.range || "day");
8420
8450
  }),
8421
- list: o1((t, s) => {
8451
+ list: l1((t, s) => {
8422
8452
  const n = new Intl.ListFormat(t, {
8423
8453
  ...s
8424
8454
  });
@@ -8436,7 +8466,7 @@ class V3 {
8436
8466
  this.formats[e.toLowerCase().trim()] = t;
8437
8467
  }
8438
8468
  addCached(e, t) {
8439
- this.formats[e.toLowerCase().trim()] = o1(t);
8469
+ this.formats[e.toLowerCase().trim()] = l1(t);
8440
8470
  }
8441
8471
  format(e, t, s) {
8442
8472
  let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
@@ -8449,7 +8479,7 @@ class V3 {
8449
8479
  const {
8450
8480
  formatName: g,
8451
8481
  formatOptions: a
8452
- } = H3(d);
8482
+ } = I3(d);
8453
8483
  if (this.formats[g]) {
8454
8484
  let h = o;
8455
8485
  try {
@@ -8469,13 +8499,13 @@ class V3 {
8469
8499
  }, e);
8470
8500
  }
8471
8501
  }
8472
- const I3 = (i, e) => {
8502
+ const O3 = (i, e) => {
8473
8503
  i.pending[e] !== void 0 && (delete i.pending[e], i.pendingCount--);
8474
8504
  };
8475
- class S3 extends R1 {
8505
+ class A3 extends y1 {
8476
8506
  constructor(e, t, s) {
8477
8507
  let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
8478
- super(), this.backend = e, this.store = t, this.services = s, this.languageUtils = s.languageUtils, this.options = n, this.logger = U.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);
8508
+ super(), this.backend = e, this.store = t, this.services = s, this.languageUtils = s.languageUtils, this.options = n, this.logger = q.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);
8479
8509
  }
8480
8510
  queueLoad(e, t, s, n) {
8481
8511
  const l = {}, c = {}, o = {}, d = {};
@@ -8505,7 +8535,7 @@ class S3 extends R1 {
8505
8535
  }), this.state[e] = t ? -1 : 2, t && s && (this.state[e] = 0);
8506
8536
  const o = {};
8507
8537
  this.queue.forEach((d) => {
8508
- C3(d.loaded, [l], c), I3(d, e), t && d.errors.push(t), d.pendingCount === 0 && !d.done && (Object.keys(d.loaded).forEach((g) => {
8538
+ f3(d.loaded, [l], c), O3(d, e), t && d.errors.push(t), d.pendingCount === 0 && !d.done && (Object.keys(d.loaded).forEach((g) => {
8509
8539
  o[g] || (o[g] = {});
8510
8540
  const a = d.loaded[g];
8511
8541
  a.length && a.forEach((h) => {
@@ -8607,7 +8637,7 @@ class S3 extends R1 {
8607
8637
  }
8608
8638
  }
8609
8639
  }
8610
- const q1 = () => ({
8640
+ const Q1 = () => ({
8611
8641
  debug: !1,
8612
8642
  initImmediate: !0,
8613
8643
  ns: ["translation"],
@@ -8663,18 +8693,18 @@ const q1 = () => ({
8663
8693
  maxReplaces: 1e3,
8664
8694
  skipOnVariables: !0
8665
8695
  }
8666
- }), Q1 = (i) => (R(i.ns) && (i.ns = [i.ns]), R(i.fallbackLng) && (i.fallbackLng = [i.fallbackLng]), R(i.fallbackNS) && (i.fallbackNS = [i.fallbackNS]), i.supportedLngs && i.supportedLngs.indexOf("cimode") < 0 && (i.supportedLngs = i.supportedLngs.concat(["cimode"])), i), w1 = () => {
8667
- }, O3 = (i) => {
8696
+ }), X1 = (i) => (R(i.ns) && (i.ns = [i.ns]), R(i.fallbackLng) && (i.fallbackLng = [i.fallbackLng]), R(i.fallbackNS) && (i.fallbackNS = [i.fallbackNS]), i.supportedLngs && i.supportedLngs.indexOf("cimode") < 0 && (i.supportedLngs = i.supportedLngs.concat(["cimode"])), i), k1 = () => {
8697
+ }, B3 = (i) => {
8668
8698
  Object.getOwnPropertyNames(Object.getPrototypeOf(i)).forEach((t) => {
8669
8699
  typeof i[t] == "function" && (i[t] = i[t].bind(i));
8670
8700
  });
8671
8701
  };
8672
- class u1 extends R1 {
8702
+ class C1 extends y1 {
8673
8703
  constructor() {
8674
8704
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0;
8675
- if (super(), this.options = Q1(e), this.services = {}, this.logger = U, this.modules = {
8705
+ if (super(), this.options = X1(e), this.services = {}, this.logger = q, this.modules = {
8676
8706
  external: []
8677
- }, O3(this), t && !this.isInitialized && !e.isClone) {
8707
+ }, B3(this), t && !this.isInitialized && !e.isClone) {
8678
8708
  if (!this.options.initImmediate)
8679
8709
  return this.init(e, t), this;
8680
8710
  setTimeout(() => {
@@ -8686,42 +8716,42 @@ class u1 extends R1 {
8686
8716
  var e = this;
8687
8717
  let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, s = arguments.length > 1 ? arguments[1] : void 0;
8688
8718
  this.isInitializing = !0, typeof t == "function" && (s = t, t = {}), !t.defaultNS && t.defaultNS !== !1 && t.ns && (R(t.ns) ? t.defaultNS = t.ns : t.ns.indexOf("translation") < 0 && (t.defaultNS = t.ns[0]));
8689
- const n = q1();
8719
+ const n = Q1();
8690
8720
  this.options = {
8691
8721
  ...n,
8692
8722
  ...this.options,
8693
- ...Q1(t)
8723
+ ...X1(t)
8694
8724
  }, this.options.compatibilityAPI !== "v1" && (this.options.interpolation = {
8695
8725
  ...n.interpolation,
8696
8726
  ...this.options.interpolation
8697
8727
  }), t.keySeparator !== void 0 && (this.options.userDefinedKeySeparator = t.keySeparator), t.nsSeparator !== void 0 && (this.options.userDefinedNsSeparator = t.nsSeparator);
8698
8728
  const l = (a) => a ? typeof a == "function" ? new a() : a : null;
8699
8729
  if (!this.options.isClone) {
8700
- this.modules.logger ? U.init(l(this.modules.logger), this.options) : U.init(null, this.options);
8730
+ this.modules.logger ? q.init(l(this.modules.logger), this.options) : q.init(null, this.options);
8701
8731
  let a;
8702
- this.modules.formatter ? a = this.modules.formatter : typeof Intl < "u" && (a = V3);
8703
- const h = new U1(this.options);
8704
- this.store = new $1(this.options.resources, this.options);
8732
+ this.modules.formatter ? a = this.modules.formatter : typeof Intl < "u" && (a = S3);
8733
+ const h = new z1(this.options);
8734
+ this.store = new Y1(this.options.resources, this.options);
8705
8735
  const C = this.services;
8706
- C.logger = U, C.resourceStore = this.store, C.languageUtils = h, C.pluralResolver = new _3(h, {
8736
+ C.logger = q, C.resourceStore = this.store, C.languageUtils = h, C.pluralResolver = new H3(h, {
8707
8737
  prepend: this.options.pluralSeparator,
8708
8738
  compatibilityJSON: this.options.compatibilityJSON,
8709
8739
  simplifyPluralSuffix: this.options.simplifyPluralSuffix
8710
- }), a && (!this.options.interpolation.format || this.options.interpolation.format === n.interpolation.format) && (C.formatter = l(a), C.formatter.init(C, this.options), this.options.interpolation.format = C.formatter.format.bind(C.formatter)), C.interpolator = new E3(this.options), C.utils = {
8740
+ }), a && (!this.options.interpolation.format || this.options.interpolation.format === n.interpolation.format) && (C.formatter = l(a), C.formatter.init(C, this.options), this.options.interpolation.format = C.formatter.format.bind(C.formatter)), C.interpolator = new V3(this.options), C.utils = {
8711
8741
  hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
8712
- }, C.backendConnector = new S3(l(this.modules.backend), C.resourceStore, C, this.options), C.backendConnector.on("*", function(p) {
8713
- for (var m = arguments.length, M = new Array(m > 1 ? m - 1 : 0), N = 1; N < m; N++)
8714
- M[N - 1] = arguments[N];
8715
- e.emit(p, ...M);
8716
- }), this.modules.languageDetector && (C.languageDetector = l(this.modules.languageDetector), C.languageDetector.init && C.languageDetector.init(C, this.options.detection, this.options)), this.modules.i18nFormat && (C.i18nFormat = l(this.modules.i18nFormat), C.i18nFormat.init && C.i18nFormat.init(this)), this.translator = new N1(this.services, this.options), this.translator.on("*", function(p) {
8717
- for (var m = arguments.length, M = new Array(m > 1 ? m - 1 : 0), N = 1; N < m; N++)
8718
- M[N - 1] = arguments[N];
8719
- e.emit(p, ...M);
8742
+ }, C.backendConnector = new A3(l(this.modules.backend), C.resourceStore, C, this.options), C.backendConnector.on("*", function(p) {
8743
+ for (var k = arguments.length, x = new Array(k > 1 ? k - 1 : 0), N = 1; N < k; N++)
8744
+ x[N - 1] = arguments[N];
8745
+ e.emit(p, ...x);
8746
+ }), this.modules.languageDetector && (C.languageDetector = l(this.modules.languageDetector), C.languageDetector.init && C.languageDetector.init(C, this.options.detection, this.options)), this.modules.i18nFormat && (C.i18nFormat = l(this.modules.i18nFormat), C.i18nFormat.init && C.i18nFormat.init(this)), this.translator = new R1(this.services, this.options), this.translator.on("*", function(p) {
8747
+ for (var k = arguments.length, x = new Array(k > 1 ? k - 1 : 0), N = 1; N < k; N++)
8748
+ x[N - 1] = arguments[N];
8749
+ e.emit(p, ...x);
8720
8750
  }), this.modules.external.forEach((p) => {
8721
8751
  p.init && p.init(this);
8722
8752
  });
8723
8753
  }
8724
- if (this.format = this.options.interpolation.format, s || (s = w1), this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
8754
+ if (this.format = this.options.interpolation.format, s || (s = k1), this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
8725
8755
  const a = this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);
8726
8756
  a.length > 0 && a[0] !== "dev" && (this.options.lng = a[0]);
8727
8757
  }
@@ -8734,7 +8764,7 @@ class u1 extends R1 {
8734
8764
  return e.store[a](...arguments), e;
8735
8765
  };
8736
8766
  });
8737
- const d = c1(), g = () => {
8767
+ const d = d1(), g = () => {
8738
8768
  const a = (h, C) => {
8739
8769
  this.isInitializing = !1, this.isInitialized && !this.initializedStoreOnce && this.logger.warn("init: i18next is already initialized. You should call init just once!"), this.isInitialized = !0, this.options.isClone || this.logger.log("initialized", this.options), this.emit("initialized", this.options), d.resolve(C), s(h, C);
8740
8770
  };
@@ -8744,7 +8774,7 @@ class u1 extends R1 {
8744
8774
  return this.options.resources || !this.options.initImmediate ? g() : setTimeout(g, 0), d;
8745
8775
  }
8746
8776
  loadResources(e) {
8747
- let s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : w1;
8777
+ let s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : k1;
8748
8778
  const n = R(e) ? e : this.language;
8749
8779
  if (typeof e == "function" && (s = e), !this.options.resources || this.options.partialBundledLanguages) {
8750
8780
  if (n && n.toLowerCase() === "cimode" && (!this.options.preload || this.options.preload.length === 0)) return s();
@@ -8761,15 +8791,15 @@ class u1 extends R1 {
8761
8791
  s(null);
8762
8792
  }
8763
8793
  reloadResources(e, t, s) {
8764
- const n = c1();
8765
- 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 = w1), this.services.backendConnector.reload(e, t, (l) => {
8794
+ const n = d1();
8795
+ 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 = k1), this.services.backendConnector.reload(e, t, (l) => {
8766
8796
  n.resolve(), s(l);
8767
8797
  }), n;
8768
8798
  }
8769
8799
  use(e) {
8770
8800
  if (!e) throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");
8771
8801
  if (!e.type) throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");
8772
- return e.type === "backend" && (this.modules.backend = e), (e.type === "logger" || e.log && e.warn && e.error) && (this.modules.logger = e), e.type === "languageDetector" && (this.modules.languageDetector = e), e.type === "i18nFormat" && (this.modules.i18nFormat = e), e.type === "postProcessor" && he.addPostProcessor(e), e.type === "formatter" && (this.modules.formatter = e), e.type === "3rdParty" && this.modules.external.push(e), this;
8802
+ return e.type === "backend" && (this.modules.backend = e), (e.type === "logger" || e.log && e.warn && e.error) && (this.modules.logger = e), e.type === "languageDetector" && (this.modules.languageDetector = e), e.type === "i18nFormat" && (this.modules.i18nFormat = e), e.type === "postProcessor" && ce.addPostProcessor(e), e.type === "formatter" && (this.modules.formatter = e), e.type === "3rdParty" && this.modules.external.push(e), this;
8773
8803
  }
8774
8804
  setResolvedLanguage(e) {
8775
8805
  if (!(!e || !this.languages) && !(["cimode", "dev"].indexOf(e) > -1))
@@ -8784,7 +8814,7 @@ class u1 extends R1 {
8784
8814
  changeLanguage(e, t) {
8785
8815
  var s = this;
8786
8816
  this.isLanguageChangingTo = e;
8787
- const n = c1();
8817
+ const n = d1();
8788
8818
  this.emit("languageChanging", e);
8789
8819
  const l = (d) => {
8790
8820
  this.language = d, this.languages = this.services.languageUtils.toResolveHierarchy(d), this.resolvedLanguage = void 0, this.setResolvedLanguage(d);
@@ -8818,7 +8848,7 @@ class u1 extends R1 {
8818
8848
  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);
8819
8849
  const C = n.options.keySeparator || ".";
8820
8850
  let p;
8821
- return d.keyPrefix && Array.isArray(c) ? p = c.map((m) => `${d.keyPrefix}${C}${m}`) : p = d.keyPrefix ? `${d.keyPrefix}${C}${c}` : c, n.t(p, d);
8851
+ return d.keyPrefix && Array.isArray(c) ? p = c.map((k) => `${d.keyPrefix}${C}${k}`) : p = d.keyPrefix ? `${d.keyPrefix}${C}${c}` : c, n.t(p, d);
8822
8852
  };
8823
8853
  return R(e) ? l.lng = e : l.lngs = e, l.ns = t, l.keyPrefix = s, l;
8824
8854
  }
@@ -8850,7 +8880,7 @@ class u1 extends R1 {
8850
8880
  return !!(this.hasResourceBundle(s, e) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages || c(s, e) && (!n || c(l, e)));
8851
8881
  }
8852
8882
  loadNamespaces(e, t) {
8853
- const s = c1();
8883
+ const s = d1();
8854
8884
  return this.options.ns ? (R(e) && (e = [e]), e.forEach((n) => {
8855
8885
  this.options.ns.indexOf(n) < 0 && this.options.ns.push(n);
8856
8886
  }), this.loadResources((n) => {
@@ -8858,7 +8888,7 @@ class u1 extends R1 {
8858
8888
  }), s) : (t && t(), Promise.resolve());
8859
8889
  }
8860
8890
  loadLanguages(e, t) {
8861
- const s = c1();
8891
+ const s = d1();
8862
8892
  R(e) && (e = [e]);
8863
8893
  const n = this.options.preload || [], l = e.filter((c) => n.indexOf(c) < 0 && this.services.languageUtils.isSupportedCode(c));
8864
8894
  return l.length ? (this.options.preload = n.concat(l), this.loadResources((c) => {
@@ -8867,29 +8897,29 @@ class u1 extends R1 {
8867
8897
  }
8868
8898
  dir(e) {
8869
8899
  if (e || (e = this.resolvedLanguage || (this.languages && this.languages.length > 0 ? this.languages[0] : this.language)), !e) return "rtl";
8870
- const t = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], s = this.services && this.services.languageUtils || new U1(q1());
8900
+ const t = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], s = this.services && this.services.languageUtils || new z1(Q1());
8871
8901
  return t.indexOf(s.getLanguagePartFromCode(e)) > -1 || e.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
8872
8902
  }
8873
8903
  static createInstance() {
8874
8904
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0;
8875
- return new u1(e, t);
8905
+ return new C1(e, t);
8876
8906
  }
8877
8907
  cloneInstance() {
8878
- let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : w1;
8908
+ let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : k1;
8879
8909
  const s = e.forkResourceStore;
8880
8910
  s && delete e.forkResourceStore;
8881
8911
  const n = {
8882
8912
  ...this.options,
8883
8913
  ...e,
8884
8914
  isClone: !0
8885
- }, l = new u1(n);
8915
+ }, l = new C1(n);
8886
8916
  return (e.debug !== void 0 || e.prefix !== void 0) && (l.logger = l.logger.clone(e)), ["store", "services", "language"].forEach((o) => {
8887
8917
  l[o] = this[o];
8888
8918
  }), l.services = {
8889
8919
  ...this.services
8890
8920
  }, l.services.utils = {
8891
8921
  hasLoadedNamespace: l.hasLoadedNamespace.bind(l)
8892
- }, s && (l.store = new $1(this.store.data, n), l.services.resourceStore = l.store), l.translator = new N1(l.services, n), l.translator.on("*", function(o) {
8922
+ }, s && (l.store = new Y1(this.store.data, n), l.services.resourceStore = l.store), l.translator = new R1(l.services, n), l.translator.on("*", function(o) {
8893
8923
  for (var d = arguments.length, g = new Array(d > 1 ? d - 1 : 0), a = 1; a < d; a++)
8894
8924
  g[a - 1] = arguments[a];
8895
8925
  l.emit(o, ...g);
@@ -8907,36 +8937,36 @@ class u1 extends R1 {
8907
8937
  };
8908
8938
  }
8909
8939
  }
8910
- const A = u1.createInstance();
8911
- A.createInstance = u1.createInstance;
8912
- A.createInstance;
8913
- A.dir;
8914
- A.init;
8915
- A.loadResources;
8916
- A.reloadResources;
8917
- A.use;
8918
- A.changeLanguage;
8919
- A.getFixedT;
8920
- A.t;
8921
- A.exists;
8922
- A.setDefaultNamespace;
8923
- A.hasLoadedNamespace;
8924
- A.loadNamespaces;
8925
- A.loadLanguages;
8926
- function A3() {
8940
+ const T = C1.createInstance();
8941
+ T.createInstance = C1.createInstance;
8942
+ T.createInstance;
8943
+ T.dir;
8944
+ T.init;
8945
+ T.loadResources;
8946
+ T.reloadResources;
8947
+ T.use;
8948
+ T.changeLanguage;
8949
+ T.getFixedT;
8950
+ T.t;
8951
+ T.exists;
8952
+ T.setDefaultNamespace;
8953
+ T.hasLoadedNamespace;
8954
+ T.loadNamespaces;
8955
+ T.loadLanguages;
8956
+ function Z3() {
8927
8957
  if (console && console.warn) {
8928
8958
  for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
8929
8959
  e[t] = arguments[t];
8930
- s1(e[0]) && (e[0] = `react-i18next:: ${e[0]}`), console.warn(...e);
8960
+ i1(e[0]) && (e[0] = `react-i18next:: ${e[0]}`), console.warn(...e);
8931
8961
  }
8932
8962
  }
8933
- const X1 = {};
8963
+ const ee = {};
8934
8964
  function I1() {
8935
8965
  for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
8936
8966
  e[t] = arguments[t];
8937
- s1(e[0]) && X1[e[0]] || (s1(e[0]) && (X1[e[0]] = /* @__PURE__ */ new Date()), A3(...e));
8967
+ i1(e[0]) && ee[e[0]] || (i1(e[0]) && (ee[e[0]] = /* @__PURE__ */ new Date()), Z3(...e));
8938
8968
  }
8939
- const ce = (i, e) => () => {
8969
+ const de = (i, e) => () => {
8940
8970
  if (i.isInitialized)
8941
8971
  e();
8942
8972
  else {
@@ -8947,13 +8977,13 @@ const ce = (i, e) => () => {
8947
8977
  };
8948
8978
  i.on("initialized", t);
8949
8979
  }
8950
- }, ee = (i, e, t) => {
8951
- i.loadNamespaces(e, ce(i, t));
8952
- }, te = (i, e, t, s) => {
8953
- s1(t) && (t = [t]), t.forEach((n) => {
8980
+ }, te = (i, e, t) => {
8981
+ i.loadNamespaces(e, de(i, t));
8982
+ }, ie = (i, e, t, s) => {
8983
+ i1(t) && (t = [t]), t.forEach((n) => {
8954
8984
  i.options.ns.indexOf(n) < 0 && i.options.ns.push(n);
8955
- }), i.loadLanguages(e, ce(i, s));
8956
- }, B3 = function(i, e) {
8985
+ }), i.loadLanguages(e, de(i, s));
8986
+ }, j3 = function(i, e) {
8957
8987
  let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
8958
8988
  const s = e.languages[0], n = e.options ? e.options.fallbackLng : !1, l = e.languages[e.languages.length - 1];
8959
8989
  if (s.toLowerCase() === "cimode") return !0;
@@ -8962,15 +8992,15 @@ const ce = (i, e) => () => {
8962
8992
  return g === -1 || g === 2;
8963
8993
  };
8964
8994
  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)));
8965
- }, Z3 = function(i, e) {
8995
+ }, W3 = function(i, e) {
8966
8996
  let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
8967
8997
  return !e.languages || !e.languages.length ? (I1("i18n.languages were undefined or empty", e.languages), !0) : e.options.ignoreJSONStructure !== void 0 ? e.hasLoadedNamespace(i, {
8968
8998
  lng: t.lng,
8969
8999
  precheck: (n, l) => {
8970
9000
  if (t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && n.services.backendConnector.backend && n.isLanguageChangingTo && !l(n.isLanguageChangingTo, i)) return !1;
8971
9001
  }
8972
- }) : B3(i, e, t);
8973
- }, s1 = (i) => typeof i == "string", j3 = (i) => typeof i == "object" && i !== null, W3 = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, T3 = {
9002
+ }) : j3(i, e, t);
9003
+ }, i1 = (i) => typeof i == "string", T3 = (i) => typeof i == "object" && i !== null, D3 = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, G3 = {
8974
9004
  "&amp;": "&",
8975
9005
  "&#38;": "&",
8976
9006
  "&lt;": "<",
@@ -8991,7 +9021,7 @@ const ce = (i, e) => () => {
8991
9021
  "&#8230;": "…",
8992
9022
  "&#x2F;": "/",
8993
9023
  "&#47;": "/"
8994
- }, D3 = (i) => T3[i], G3 = (i) => i.replace(W3, D3);
9024
+ }, K3 = (i) => G3[i], P3 = (i) => i.replace(D3, K3);
8995
9025
  let S1 = {
8996
9026
  bindI18n: "languageChanged",
8997
9027
  bindI18nStore: "",
@@ -9000,27 +9030,27 @@ let S1 = {
9000
9030
  transWrapTextNodes: "",
9001
9031
  transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"],
9002
9032
  useSuspense: !0,
9003
- unescape: G3
9033
+ unescape: P3
9004
9034
  };
9005
- const K3 = function() {
9035
+ const F3 = function() {
9006
9036
  let i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
9007
9037
  S1 = {
9008
9038
  ...S1,
9009
9039
  ...i
9010
9040
  };
9011
- }, P3 = () => S1;
9012
- let de;
9013
- const F3 = (i) => {
9014
- de = i;
9015
- }, $3 = () => de, Y3 = {
9041
+ }, $3 = () => S1;
9042
+ let ge;
9043
+ const Y3 = (i) => {
9044
+ ge = i;
9045
+ }, U3 = () => ge, z3 = {
9016
9046
  type: "3rdParty",
9017
9047
  init(i) {
9018
- K3(i.options.react), F3(i);
9048
+ F3(i.options.react), Y3(i);
9019
9049
  }
9020
- }, U3 = a1();
9021
- class z3 {
9050
+ }, J3 = h1();
9051
+ class q3 {
9022
9052
  constructor() {
9023
- A1(this, "getUsedNamespaces", () => Object.keys(this.usedNamespaces));
9053
+ B1(this, "getUsedNamespaces", () => Object.keys(this.usedNamespaces));
9024
9054
  this.usedNamespaces = {};
9025
9055
  }
9026
9056
  addUsedNamespaces(e) {
@@ -9029,27 +9059,27 @@ class z3 {
9029
9059
  });
9030
9060
  }
9031
9061
  }
9032
- const J3 = (i, e) => {
9033
- const t = z();
9034
- return O(() => {
9062
+ const Q3 = (i, e) => {
9063
+ const t = F();
9064
+ return B(() => {
9035
9065
  t.current = i;
9036
9066
  }, [i, e]), t.current;
9037
- }, ge = (i, e, t, s) => i.getFixedT(e, t, s), q3 = (i, e, t, s) => B(ge(i, e, t, s), [i, e, t, s]), Q3 = function(i) {
9067
+ }, ue = (i, e, t, s) => i.getFixedT(e, t, s), X3 = (i, e, t, s) => W(ue(i, e, t, s), [i, e, t, s]), ei = function(i) {
9038
9068
  let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
9039
9069
  const {
9040
9070
  i18n: t
9041
9071
  } = e, {
9042
9072
  i18n: s,
9043
9073
  defaultNS: n
9044
- } = n1(U3) || {}, l = t || s || $3();
9045
- if (l && !l.reportNamespaces && (l.reportNamespaces = new z3()), !l) {
9074
+ } = s1(J3) || {}, l = t || s || U3();
9075
+ if (l && !l.reportNamespaces && (l.reportNamespaces = new q3()), !l) {
9046
9076
  I1("You will need to pass in an i18next instance by using initReactI18next");
9047
- const f = (k, x) => s1(x) ? x : j3(x) && s1(x.defaultValue) ? x.defaultValue : Array.isArray(k) ? k[k.length - 1] : k, w = [f, {}, !1];
9048
- return w.t = f, w.i18n = {}, w.ready = !1, w;
9077
+ const f = (v, w) => i1(w) ? w : T3(w) && i1(w.defaultValue) ? w.defaultValue : Array.isArray(v) ? v[v.length - 1] : v, L = [f, {}, !1];
9078
+ return L.t = f, L.i18n = {}, L.ready = !1, L;
9049
9079
  }
9050
9080
  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.");
9051
9081
  const c = {
9052
- ...P3(),
9082
+ ...$3(),
9053
9083
  ...l.options.react,
9054
9084
  ...e
9055
9085
  }, {
@@ -9057,119 +9087,131 @@ const J3 = (i, e) => {
9057
9087
  keyPrefix: d
9058
9088
  } = c;
9059
9089
  let g = i;
9060
- g = s1(g) ? [g] : g || ["translation"], l.reportNamespaces.addUsedNamespaces && l.reportNamespaces.addUsedNamespaces(g);
9061
- const a = (l.isInitialized || l.initializedStoreOnce) && g.every((f) => Z3(f, l, c)), h = q3(l, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), C = () => h, p = () => ge(l, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), [m, M] = V(C);
9090
+ g = i1(g) ? [g] : g || ["translation"], l.reportNamespaces.addUsedNamespaces && l.reportNamespaces.addUsedNamespaces(g);
9091
+ const a = (l.isInitialized || l.initializedStoreOnce) && g.every((f) => W3(f, l, c)), h = X3(l, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), C = () => h, p = () => ue(l, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), [k, x] = S(C);
9062
9092
  let N = g.join();
9063
9093
  e.lng && (N = `${e.lng}${N}`);
9064
- const E = J3(N), L = z(!0);
9065
- O(() => {
9094
+ const H = Q3(N), b = F(!0);
9095
+ B(() => {
9066
9096
  const {
9067
9097
  bindI18n: f,
9068
- bindI18nStore: w
9098
+ bindI18nStore: L
9069
9099
  } = c;
9070
- L.current = !0, !a && !o && (e.lng ? te(l, e.lng, g, () => {
9071
- L.current && M(p);
9072
- }) : ee(l, g, () => {
9073
- L.current && M(p);
9074
- })), a && E && E !== N && L.current && M(p);
9075
- const k = () => {
9076
- L.current && M(p);
9100
+ b.current = !0, !a && !o && (e.lng ? ie(l, e.lng, g, () => {
9101
+ b.current && x(p);
9102
+ }) : te(l, g, () => {
9103
+ b.current && x(p);
9104
+ })), a && H && H !== N && b.current && x(p);
9105
+ const v = () => {
9106
+ b.current && x(p);
9077
9107
  };
9078
- return f && l && l.on(f, k), w && l && l.store.on(w, k), () => {
9079
- L.current = !1, f && l && f.split(" ").forEach((x) => l.off(x, k)), w && l && w.split(" ").forEach((x) => l.store.off(x, k));
9108
+ return f && l && l.on(f, v), L && l && l.store.on(L, v), () => {
9109
+ b.current = !1, f && l && f.split(" ").forEach((w) => l.off(w, v)), L && l && L.split(" ").forEach((w) => l.store.off(w, v));
9080
9110
  };
9081
- }, [l, N]), O(() => {
9082
- L.current && a && M(C);
9111
+ }, [l, N]), B(() => {
9112
+ b.current && a && x(C);
9083
9113
  }, [l, d, a]);
9084
- const _ = [m, l, a];
9085
- if (_.t = m, _.i18n = l, _.ready = a, a || !a && !o) return _;
9114
+ const E = [k, l, a];
9115
+ if (E.t = k, E.i18n = l, E.ready = a, a || !a && !o) return E;
9086
9116
  throw new Promise((f) => {
9087
- e.lng ? te(l, e.lng, g, () => f()) : ee(l, g, () => f());
9117
+ e.lng ? ie(l, e.lng, g, () => f()) : te(l, g, () => f());
9088
9118
  });
9089
- }, X3 = "City", ei = {
9090
- placeholder: X3
9091
- }, ti = "Город", ii = {
9119
+ }, ti = "City", ii = {
9092
9120
  placeholder: ti
9121
+ }, si = "Город", ni = {
9122
+ placeholder: si
9093
9123
  };
9094
- A.use(Y3).init({
9124
+ function ri(i) {
9125
+ const e = F(i);
9126
+ return B(() => {
9127
+ e.current = i;
9128
+ }, [i]), e.current;
9129
+ }
9130
+ T.use(z3).init({
9095
9131
  defaultNS: "common",
9096
9132
  lng: "en",
9097
9133
  resources: {
9098
9134
  en: {
9099
- common: ei
9135
+ common: ii
9100
9136
  },
9101
9137
  ru: {
9102
- common: ii
9138
+ common: ni
9103
9139
  }
9104
9140
  }
9105
9141
  });
9106
- const hi = x1(
9142
+ const gi = M1(
9107
9143
  ({ width: i, selectedCountry: e, onChange: t, value: s, id: n, disabled: l }, c) => {
9108
- const [o, d] = V(
9144
+ const [o, d] = S(
9109
9145
  []
9110
- ), [g, a] = V(!1), { locale: h, axiosPeople: C } = n1(pe), p = z(!1), m = z(null);
9146
+ ), [g, a] = S(!1), { locale: h, axiosPeople: C } = s1(we), p = F(!1), k = F(null), x = F(o), N = ri(e);
9111
9147
  if (!C)
9112
9148
  throw new Error(
9113
9149
  `CitySelect requires "axiosPeople" to fetch cities.
9114
9150
  Please provide it via SNMTUiContext.`
9115
9151
  );
9116
- const { t: M } = Q3("common", { lng: h }), N = B(
9117
- async (L) => {
9152
+ const { t: H } = ei("common", { lng: h }), b = W(
9153
+ async (f) => {
9154
+ const L = x.current.find((v) => v.value === f);
9155
+ if (L)
9156
+ return [L];
9118
9157
  try {
9119
- const f = (await C.post("v1/cities/search", {
9158
+ const w = (await C.post("v1/cities/search", {
9120
9159
  filters: {
9121
- geoNameId: L,
9160
+ geoNameId: [f],
9122
9161
  countryId: [e]
9123
9162
  }
9124
9163
  })).data.data;
9125
- return f.length ? f.map((k) => ({
9126
- value: k.geoNameId,
9127
- label: k.name
9128
- })) : (t(null), []);
9129
- } catch (_) {
9130
- return console.error("CitySelect. fetchSelectedItems error", _), [];
9164
+ if (!w.length)
9165
+ return t(null), [];
9166
+ const O = {
9167
+ value: w[0].geoNameId,
9168
+ label: w[0].name
9169
+ };
9170
+ return x.current = [...x.current, O], [O];
9171
+ } catch (v) {
9172
+ return console.error("CitySelect. fetchSelectedItems error", v), [];
9131
9173
  }
9132
9174
  },
9133
9175
  [C, e, t]
9134
9176
  );
9135
- O(() => {
9177
+ B(() => {
9136
9178
  (async () => {
9137
9179
  if (!s) return;
9138
- const _ = Array.isArray(s) ? s : [s], f = await N(_);
9139
- d(f);
9180
+ const L = await b(s);
9181
+ d(L);
9140
9182
  })();
9141
- }, []), O(() => {
9142
- var L;
9143
- p.current ? (t(null), d([]), (L = m.current) == null || L.refetchOptions()) : p.current = !0;
9144
- }, [e, t]);
9145
- const E = B(
9183
+ }, []), B(() => {
9184
+ var f;
9185
+ N !== e ? p.current && (t(null), d([]), x.current = [], (f = k.current) == null || f.refetchOptions()) : p.current = !0;
9186
+ }, [e, t, N]);
9187
+ const E = W(
9146
9188
  async ({
9147
- limit: L,
9148
- offset: _,
9149
- search: f
9189
+ limit: f,
9190
+ offset: L,
9191
+ search: v
9150
9192
  }) => {
9151
9193
  try {
9152
9194
  a(!0);
9153
9195
  const w = {
9154
- offset: _,
9155
- limit: L,
9196
+ offset: L,
9197
+ limit: f,
9156
9198
  includeCount: !0
9157
9199
  };
9158
- w.filters = {}, e && e.length > 0 && (w.filters.countryId = [e]), f && (w.search = f);
9159
- const k = await C.post("v1/cities/search", w), x = (k == null ? void 0 : k.data.data) || [], W = k == null ? void 0 : k.data.metadata.count;
9200
+ w.filters = {}, e && e.length > 0 && (w.filters.countryId = [e]), v && (w.search = v);
9201
+ const O = await C.post("v1/cities/search", w), D = (O == null ? void 0 : O.data.data) || [], P = O == null ? void 0 : O.data.metadata.count;
9160
9202
  return {
9161
- options: x.map((D) => ({
9162
- value: D.geoNameId,
9163
- label: D.name
9203
+ options: D.map((Z) => ({
9204
+ value: Z.geoNameId,
9205
+ label: Z.name
9164
9206
  })),
9165
- count: W,
9166
- limit: L
9207
+ count: P,
9208
+ limit: f
9167
9209
  };
9168
9210
  } catch (w) {
9169
9211
  return console.error("CitySelect. loadOptions error", w), {
9170
9212
  options: [],
9171
9213
  count: 0,
9172
- limit: L
9214
+ limit: f
9173
9215
  };
9174
9216
  } finally {
9175
9217
  a(!1);
@@ -9177,16 +9219,16 @@ const hi = x1(
9177
9219
  },
9178
9220
  [C, e]
9179
9221
  );
9180
- return ie(c, () => m.current), /* @__PURE__ */ r("div", { className: "snmt-city-select", children: /* @__PURE__ */ r(
9181
- d3,
9222
+ return se(c, () => k.current), /* @__PURE__ */ r("div", { className: "snmt-city-select", children: /* @__PURE__ */ r(
9223
+ u3,
9182
9224
  {
9183
9225
  id: n,
9184
9226
  width: i,
9185
9227
  value: g && s ? null : s,
9186
9228
  onChange: t,
9187
- ref: m,
9229
+ ref: k,
9188
9230
  search: !0,
9189
- placeholder: M("placeholder"),
9231
+ placeholder: H("placeholder"),
9190
9232
  disabled: l,
9191
9233
  loadOptions: E,
9192
9234
  preloadOptions: !0,
@@ -9197,5 +9239,5 @@ const hi = x1(
9197
9239
  }
9198
9240
  );
9199
9241
  export {
9200
- hi as CitySelect
9242
+ gi as CitySelect
9201
9243
  };