@snmt-react-ui/user-select 2.6.3 → 2.6.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.
Files changed (2) hide show
  1. package/dist/user-select.js +1078 -1048
  2. package/package.json +3 -3
@@ -1,26 +1,26 @@
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);
1
+ var we = Object.defineProperty;
2
+ var me = (i, e, t) => e in i ? we(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t;
3
+ var Z1 = (i, e, t) => me(i, typeof e != "symbol" ? e + "" : e, t);
4
4
  import "./index.css";
5
- import { jsx as r, Fragment as l1, jsxs as u } from "react/jsx-runtime";
6
- import { createContext as a1, forwardRef as R1, useState as B, useRef as Q, useEffect as T, useCallback as K, useMemo as we, useImperativeHandle as ne, useContext as n1 } from "react";
7
- import { Select as me, Flex as ke, Avatar as Le, Checkbox as ve, Typography as Ne, Tag as xe, Popover as Re } from "antd";
8
- import { SNMTUiContext as Me } from "@snmt-react-ui/core";
9
- var be = Object.defineProperty, ye = (i, e, t) => e in i ? be(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, _e = (i, e, t) => ye(i, e + "", t), Ee = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
10
- function He() {
5
+ import { jsx as r, Fragment as a1, jsxs as u } from "react/jsx-runtime";
6
+ import { createContext as h1, forwardRef as y1, useState as Z, useRef as X, useEffect as G, useCallback as P, useMemo as ke, useImperativeHandle as re, useContext as s1 } from "react";
7
+ import { Select as Le, Flex as ve, Avatar as Ne, Checkbox as xe, Typography as Re, Tag as Me, Popover as ye } from "antd";
8
+ import { SNMTUiContext as be } from "@snmt-react-ui/core";
9
+ var Ee = Object.defineProperty, _e = (i, e, t) => e in i ? Ee(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, He = (i, e, t) => _e(i, e + "", t), Ve = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
10
+ function Ie() {
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 Z1 = {};
17
+ const j1 = {};
18
18
  function V1() {
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]) && Z1[e[0]] || (i1(e[0]) && (Z1[e[0]] = /* @__PURE__ */ new Date()), He(...e));
21
+ t1(e[0]) && j1[e[0]] || (t1(e[0]) && (j1[e[0]] = /* @__PURE__ */ new Date()), Ie(...e));
22
22
  }
23
- const re = (i, e) => () => {
23
+ const oe = (i, e) => () => {
24
24
  if (i.isInitialized)
25
25
  e();
26
26
  else {
@@ -31,13 +31,13 @@ const re = (i, e) => () => {
31
31
  };
32
32
  i.on("initialized", t);
33
33
  }
34
- }, j1 = (i, e, t) => {
35
- i.loadNamespaces(e, re(i, t));
36
- }, W1 = (i, e, t, s) => {
37
- i1(t) && (t = [t]), t.forEach((n) => {
34
+ }, W1 = (i, e, t) => {
35
+ i.loadNamespaces(e, oe(i, t));
36
+ }, T1 = (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, re(i, s));
40
- }, Ve = function(i, e) {
39
+ }), i.loadLanguages(e, oe(i, s));
40
+ }, Oe = 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 re = (i, e) => () => {
46
46
  return g === -1 || g === 2;
47
47
  };
48
48
  return t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && e.services.backendConnector.backend && e.isLanguageChangingTo && !c(e.isLanguageChangingTo, i) ? !1 : !!(e.hasResourceBundle(s, i) || !e.services.backendConnector.backend || e.options.resources && !e.options.partialBundledLanguages || c(s, i) && (!n || c(l, i)));
49
- }, Ie = function(i, e) {
49
+ }, Se = function(i, e) {
50
50
  let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
51
51
  return !e.languages || !e.languages.length ? (V1("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
- }) : Ve(i, e, t);
57
- }, i1 = (i) => typeof i == "string", Oe = (i) => typeof i == "object" && i !== null, Se = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, Ae = {
56
+ }) : Oe(i, e, t);
57
+ }, t1 = (i) => typeof i == "string", Ae = (i) => typeof i == "object" && i !== null, Be = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, Ze = {
58
58
  "&amp;": "&",
59
59
  "&#38;": "&",
60
60
  "&lt;": "<",
@@ -75,8 +75,8 @@ const re = (i, e) => () => {
75
75
  "&#8230;": "…",
76
76
  "&#x2F;": "/",
77
77
  "&#47;": "/"
78
- }, Be = (i) => Ae[i], Ze = (i) => i.replace(Se, Be);
79
- let je = {
78
+ }, je = (i) => Ze[i], We = (i) => i.replace(Be, je);
79
+ let Te = {
80
80
  bindI18n: "languageChanged",
81
81
  bindI18nStore: "",
82
82
  transEmptyNodeValue: "",
@@ -84,14 +84,14 @@ let je = {
84
84
  transWrapTextNodes: "",
85
85
  transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"],
86
86
  useSuspense: !0,
87
- unescape: Ze
87
+ unescape: We
88
88
  };
89
- const We = () => je;
90
- let Te;
91
- const De = () => Te, Ge = a1();
92
- class Ke {
89
+ const De = () => Te;
90
+ let Ge;
91
+ const Ke = () => Ge, Pe = h1();
92
+ class $e {
93
93
  constructor() {
94
- _e(this, "getUsedNamespaces", () => Object.keys(this.usedNamespaces)), this.usedNamespaces = {};
94
+ He(this, "getUsedNamespaces", () => Object.keys(this.usedNamespaces)), this.usedNamespaces = {};
95
95
  }
96
96
  addUsedNamespaces(e) {
97
97
  e.forEach((t) => {
@@ -99,27 +99,27 @@ class Ke {
99
99
  });
100
100
  }
101
101
  }
102
- const Pe = (i, e) => {
103
- const t = Q();
104
- return T(() => {
102
+ const Fe = (i, e) => {
103
+ const t = X();
104
+ return G(() => {
105
105
  t.current = i;
106
106
  }, [i, e]), t.current;
107
- }, oe = (i, e, t, s) => i.getFixedT(e, t, s), $e = (i, e, t, s) => K(oe(i, e, t, s), [i, e, t, s]), Fe = function(i) {
107
+ }, le = (i, e, t, s) => i.getFixedT(e, t, s), Ye = (i, e, t, s) => P(le(i, e, t, s), [i, e, t, s]), Ue = 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(Ge) || {}, l = t || s || De();
115
- if (l && !l.reportNamespaces && (l.reportNamespaces = new Ke()), !l) {
114
+ } = s1(Pe) || {}, l = t || s || Ke();
115
+ if (l && !l.reportNamespaces && (l.reportNamespaces = new $e()), !l) {
116
116
  V1("You will need to pass in an i18next instance by using initReactI18next");
117
- const f = (M, k) => i1(k) ? k : Oe(k) && i1(k.defaultValue) ? k.defaultValue : Array.isArray(M) ? M[M.length - 1] : M, v = [f, {}, !1];
117
+ const f = (R, L) => t1(L) ? L : Ae(L) && t1(L.defaultValue) ? L.defaultValue : Array.isArray(R) ? R[R.length - 1] : R, v = [f, {}, !1];
118
118
  return v.t = f, v.i18n = {}, v.ready = !1, v;
119
119
  }
120
120
  l.options.react && l.options.react.wait !== void 0 && V1("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
121
121
  const c = {
122
- ...We(),
122
+ ...De(),
123
123
  ...l.options.react,
124
124
  ...e
125
125
  }, {
@@ -127,36 +127,36 @@ const Pe = (i, e) => {
127
127
  keyPrefix: d
128
128
  } = c;
129
129
  let g = i;
130
- g = i1(g) ? [g] : g || ["translation"], l.reportNamespaces.addUsedNamespaces && l.reportNamespaces.addUsedNamespaces(g);
131
- const a = (l.isInitialized || l.initializedStoreOnce) && g.every((f) => Ie(f, l, c)), h = $e(l, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), C = () => h, p = () => oe(l, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), [w, x] = B(C);
132
- let m = g.join();
133
- e.lng && (m = `${e.lng}${m}`);
134
- const E = Pe(m), R = Q(!0);
135
- T(() => {
130
+ g = t1(g) ? [g] : g || ["translation"], l.reportNamespaces.addUsedNamespaces && l.reportNamespaces.addUsedNamespaces(g);
131
+ const a = (l.isInitialized || l.initializedStoreOnce) && g.every((f) => Se(f, l, c)), h = Ye(l, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), C = () => h, p = () => le(l, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), [m, x] = Z(C);
132
+ let k = g.join();
133
+ e.lng && (k = `${e.lng}${k}`);
134
+ const _ = Fe(k), M = X(!0);
135
+ G(() => {
136
136
  const {
137
137
  bindI18n: f,
138
138
  bindI18nStore: v
139
139
  } = c;
140
- R.current = !0, !a && !o && (e.lng ? W1(l, e.lng, g, () => {
141
- R.current && x(p);
142
- }) : j1(l, g, () => {
143
- R.current && x(p);
144
- })), a && E && E !== m && R.current && x(p);
145
- const M = () => {
146
- R.current && x(p);
140
+ M.current = !0, !a && !o && (e.lng ? T1(l, e.lng, g, () => {
141
+ M.current && x(p);
142
+ }) : W1(l, g, () => {
143
+ M.current && x(p);
144
+ })), a && _ && _ !== k && M.current && x(p);
145
+ const R = () => {
146
+ M.current && x(p);
147
147
  };
148
- return f && l && l.on(f, M), v && l && l.store.on(v, M), () => {
149
- R.current = !1, f && l && f.split(" ").forEach((k) => l.off(k, M)), v && l && v.split(" ").forEach((k) => l.store.off(k, M));
148
+ return f && l && l.on(f, R), v && l && l.store.on(v, R), () => {
149
+ M.current = !1, f && l && f.split(" ").forEach((L) => l.off(L, R)), v && l && v.split(" ").forEach((L) => l.store.off(L, R));
150
150
  };
151
- }, [l, m]), T(() => {
152
- R.current && a && x(C);
151
+ }, [l, k]), G(() => {
152
+ M.current && a && x(C);
153
153
  }, [l, d, a]);
154
- const _ = [w, l, a];
155
- if (_.t = w, _.i18n = l, _.ready = a, a || !a && !o) return _;
154
+ const E = [m, l, a];
155
+ if (E.t = m, E.i18n = l, E.ready = a, a || !a && !o) return E;
156
156
  throw new Promise((f) => {
157
- e.lng ? W1(l, e.lng, g, () => f()) : j1(l, g, () => f());
157
+ e.lng ? T1(l, e.lng, g, () => f()) : W1(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 Pe = (i, e) => {
166
166
  gap: c,
167
167
  padding: o
168
168
  }) => /* @__PURE__ */ r(
169
- ke,
169
+ ve,
170
170
  {
171
171
  className: `snmt-flex${t === "inherit" ? " inherit" : ""}`,
172
172
  vertical: e === "column",
@@ -178,10 +178,10 @@ const Pe = (i, e) => {
178
178
  style: { padding: o },
179
179
  children: i
180
180
  }
181
- ), Ye = ({ shape: i = "circle", size: e = 32, children: t, ...s }) => {
181
+ ), ze = ({ shape: i = "circle", size: e = 32, children: t, ...s }) => {
182
182
  const n = typeof s.src == "string";
183
183
  return /* @__PURE__ */ r(
184
- Le,
184
+ Ne,
185
185
  {
186
186
  className: `snmt-avatar ${n ? "image" : ""}`,
187
187
  shape: i,
@@ -192,13 +192,13 @@ const Pe = (i, e) => {
192
192
  }
193
193
  );
194
194
  };
195
- var 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 A1 = 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 A1 = h1({
197
197
  locale: "en",
198
198
  theme: "light"
199
199
  });
200
200
  A1.Provider;
201
- const Ue = ({
201
+ const Je = ({
202
202
  checked: i = !0,
203
203
  indeterminate: e = !1,
204
204
  children: t,
@@ -206,13 +206,13 @@ const Ue = ({
206
206
  disabled: n = !1,
207
207
  disableUncheck: l = !1
208
208
  }) => {
209
- const [c, o] = B(i), [d, g] = B(e);
210
- T(() => {
209
+ const [c, o] = Z(i), [d, g] = Z(e);
210
+ G(() => {
211
211
  o(i), g(e);
212
212
  }, [i, e]);
213
- const { theme: a } = n1(A1);
213
+ const { theme: a } = s1(A1);
214
214
  return /* @__PURE__ */ r(
215
- ve,
215
+ xe,
216
216
  {
217
217
  className: `snmt-checkbox snmt-checkbox-${a}`,
218
218
  checked: c,
@@ -225,13 +225,13 @@ const Ue = ({
225
225
  }
226
226
  );
227
227
  };
228
- 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 || {});
229
- const le = a1({
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 ae = h1({
230
230
  locale: "en",
231
231
  theme: "light"
232
232
  });
233
- le.Provider;
234
- const ze = ({
233
+ ae.Provider;
234
+ const qe = ({
235
235
  width: i = 20,
236
236
  height: e = 20,
237
237
  color: t = "#001E52",
@@ -258,7 +258,7 @@ const ze = ({
258
258
  }
259
259
  )
260
260
  }
261
- ), Je = ({
261
+ ), Qe = ({
262
262
  width: i = 20,
263
263
  height: e = 20,
264
264
  color: t = "#001E52",
@@ -285,7 +285,7 @@ const ze = ({
285
285
  }
286
286
  )
287
287
  }
288
- ), qe = ({
288
+ ), Xe = ({
289
289
  width: i = 16,
290
290
  height: e = 16,
291
291
  color: t = "#001E52",
@@ -313,7 +313,7 @@ const ze = ({
313
313
  )
314
314
  ]
315
315
  }
316
- ), Qe = ({
316
+ ), et = ({
317
317
  width: i = 20,
318
318
  height: e = 20,
319
319
  color: t = "#001E52",
@@ -348,7 +348,7 @@ const ze = ({
348
348
  )
349
349
  ]
350
350
  }
351
- ), Xe = ({
351
+ ), tt = ({
352
352
  width: i = 18,
353
353
  height: e = 18,
354
354
  color: t = "#001E52",
@@ -387,7 +387,7 @@ const ze = ({
387
387
  )
388
388
  ]
389
389
  }
390
- ), et = ({
390
+ ), it = ({
391
391
  width: i = 20,
392
392
  height: e = 20,
393
393
  color: t = "#001E52",
@@ -413,7 +413,7 @@ const ze = ({
413
413
  }
414
414
  )
415
415
  }
416
- ), tt = ({
416
+ ), st = ({
417
417
  width: i = 20,
418
418
  height: e = 20,
419
419
  color: t = "#001E52",
@@ -434,7 +434,7 @@ const ze = ({
434
434
  /* @__PURE__ */ r("path", { d: "M16 4L4 16", stroke: t, strokeWidth: "1.5", strokeLinecap: "round" })
435
435
  ]
436
436
  }
437
- ), it = ({
437
+ ), nt = ({
438
438
  width: i = 20,
439
439
  height: e = 20,
440
440
  color: t = "#001E52",
@@ -466,7 +466,7 @@ const ze = ({
466
466
  )
467
467
  ]
468
468
  }
469
- ), st = ({
469
+ ), rt = ({
470
470
  width: i = 20,
471
471
  height: e = 20,
472
472
  color: t = "#001E52",
@@ -520,7 +520,7 @@ const ze = ({
520
520
  )
521
521
  ]
522
522
  }
523
- ), nt = ({
523
+ ), ot = ({
524
524
  width: i = 20,
525
525
  height: e = 20,
526
526
  color: t = "#001E52",
@@ -559,7 +559,7 @@ const ze = ({
559
559
  /* @__PURE__ */ r("path", { d: "M3 12L17 12", stroke: t, strokeWidth: "2", strokeLinecap: "round" })
560
560
  ]
561
561
  }
562
- ), rt = ({
562
+ ), lt = ({
563
563
  width: i = 16,
564
564
  height: e = 12,
565
565
  color: t = "#001E52",
@@ -608,7 +608,7 @@ const ze = ({
608
608
  )
609
609
  ] })
610
610
  }
611
- ), ot = ({
611
+ ), at = ({
612
612
  width: i = 16,
613
613
  height: e = 16,
614
614
  color: t = "#001E52",
@@ -642,7 +642,7 @@ const ze = ({
642
642
  )
643
643
  ]
644
644
  }
645
- ), lt = ({
645
+ ), ht = ({
646
646
  width: i = 10,
647
647
  height: e = 10,
648
648
  color: t = "#001E52",
@@ -681,7 +681,7 @@ const ze = ({
681
681
  )
682
682
  ] })
683
683
  }
684
- ), at = ({
684
+ ), ct = ({
685
685
  width: i = 16,
686
686
  height: e = 16,
687
687
  color: t = "#001E52",
@@ -717,7 +717,7 @@ const ze = ({
717
717
  )
718
718
  ]
719
719
  }
720
- ), ht = ({
720
+ ), dt = ({
721
721
  width: i = 11,
722
722
  height: e = 32,
723
723
  color: t = "#001E52",
@@ -755,7 +755,7 @@ const ze = ({
755
755
  /* @__PURE__ */ r("circle", { cx: "3", cy: "3", r: "3", fill: t })
756
756
  ]
757
757
  }
758
- ), ct = ({
758
+ ), gt = ({
759
759
  width: i = 20,
760
760
  height: e = 20,
761
761
  color: t = "#001E52",
@@ -802,7 +802,7 @@ const ze = ({
802
802
  )
803
803
  ]
804
804
  }
805
- ), dt = ({
805
+ ), ut = ({
806
806
  width: i = 20,
807
807
  height: e = 20,
808
808
  color: t = "#001E52",
@@ -835,7 +835,7 @@ const ze = ({
835
835
  )
836
836
  ]
837
837
  }
838
- ), gt = ({
838
+ ), Ct = ({
839
839
  width: i = 20,
840
840
  height: e = 20,
841
841
  color: t = "#001E52",
@@ -882,7 +882,7 @@ const ze = ({
882
882
  )
883
883
  ]
884
884
  }
885
- ), ut = ({
885
+ ), pt = ({
886
886
  width: i = 20,
887
887
  height: e = 20,
888
888
  color: t = "#001E52",
@@ -915,7 +915,7 @@ const ze = ({
915
915
  )
916
916
  ]
917
917
  }
918
- ), Ct = ({
918
+ ), ft = ({
919
919
  width: i = 18,
920
920
  height: e = 16,
921
921
  color: t = "#001E52",
@@ -954,7 +954,7 @@ const ze = ({
954
954
  )
955
955
  ]
956
956
  }
957
- ), pt = ({
957
+ ), wt = ({
958
958
  width: i = 20,
959
959
  height: e = 20,
960
960
  color: t = "#001E52",
@@ -987,7 +987,7 @@ const ze = ({
987
987
  )
988
988
  ]
989
989
  }
990
- ), ft = ({
990
+ ), mt = ({
991
991
  width: i = 20,
992
992
  height: e = 20,
993
993
  color: t = "#001E52",
@@ -1011,7 +1011,7 @@ const ze = ({
1011
1011
  }
1012
1012
  )
1013
1013
  }
1014
- ), wt = ({
1014
+ ), kt = ({
1015
1015
  width: i = 20,
1016
1016
  height: e = 20,
1017
1017
  color: t = "#001E52",
@@ -1058,7 +1058,7 @@ const ze = ({
1058
1058
  )
1059
1059
  ]
1060
1060
  }
1061
- ), mt = ({
1061
+ ), Lt = ({
1062
1062
  width: i = 20,
1063
1063
  height: e = 20,
1064
1064
  color: t = "#001E52",
@@ -1091,7 +1091,7 @@ const ze = ({
1091
1091
  )
1092
1092
  ]
1093
1093
  }
1094
- ), kt = ({
1094
+ ), vt = ({
1095
1095
  width: i = 20,
1096
1096
  height: e = 20,
1097
1097
  color: t = "#001E52",
@@ -1124,7 +1124,7 @@ const ze = ({
1124
1124
  )
1125
1125
  ]
1126
1126
  }
1127
- ), Lt = ({
1127
+ ), Nt = ({
1128
1128
  width: i = 20,
1129
1129
  height: e = 23,
1130
1130
  color: t = "#001E52",
@@ -1185,7 +1185,7 @@ const ze = ({
1185
1185
  )
1186
1186
  ]
1187
1187
  }
1188
- ), vt = ({
1188
+ ), xt = ({
1189
1189
  width: i = 20,
1190
1190
  height: e = 20,
1191
1191
  color: t = "#001E52",
@@ -1225,7 +1225,7 @@ const ze = ({
1225
1225
  )
1226
1226
  ]
1227
1227
  }
1228
- ), Nt = ({
1228
+ ), Rt = ({
1229
1229
  width: i = 32,
1230
1230
  height: e = 25,
1231
1231
  color: t = "#001E52",
@@ -1253,7 +1253,7 @@ const ze = ({
1253
1253
  )
1254
1254
  ]
1255
1255
  }
1256
- ), xt = ({
1256
+ ), Mt = ({
1257
1257
  width: i = 14,
1258
1258
  height: e = 14,
1259
1259
  color: t = "#10B981",
@@ -1282,7 +1282,7 @@ const ze = ({
1282
1282
  )
1283
1283
  ]
1284
1284
  }
1285
- ), Rt = ({
1285
+ ), yt = ({
1286
1286
  width: i = 11,
1287
1287
  height: e = 11,
1288
1288
  color: t = "#FFB020",
@@ -1316,7 +1316,7 @@ const ze = ({
1316
1316
  )
1317
1317
  ]
1318
1318
  }
1319
- ), Mt = ({
1319
+ ), bt = ({
1320
1320
  width: i = 10,
1321
1321
  height: e = 10,
1322
1322
  color: t = "#88A4FF",
@@ -1364,7 +1364,7 @@ const ze = ({
1364
1364
  )
1365
1365
  ]
1366
1366
  }
1367
- ), bt = ({
1367
+ ), Et = ({
1368
1368
  width: i = 14,
1369
1369
  height: e = 14,
1370
1370
  color: t = "#8E8E93",
@@ -1392,7 +1392,7 @@ const ze = ({
1392
1392
  )
1393
1393
  ]
1394
1394
  }
1395
- ), yt = ({
1395
+ ), _t = ({
1396
1396
  width: i = 14,
1397
1397
  height: e = 14,
1398
1398
  color: t = "#FFB020",
@@ -1426,7 +1426,7 @@ const ze = ({
1426
1426
  )
1427
1427
  ]
1428
1428
  }
1429
- ), _t = ({
1429
+ ), Ht = ({
1430
1430
  width: i = 14,
1431
1431
  height: e = 14,
1432
1432
  color: t = "#D0421B",
@@ -1474,7 +1474,7 @@ const ze = ({
1474
1474
  )
1475
1475
  ]
1476
1476
  }
1477
- ), Et = ({
1477
+ ), Vt = ({
1478
1478
  width: i = 20,
1479
1479
  height: e = 20,
1480
1480
  color: t = "#070739",
@@ -1504,7 +1504,7 @@ const ze = ({
1504
1504
  /* @__PURE__ */ r("circle", { cx: "10", cy: "10", r: "2.375", stroke: t, strokeWidth: "1.25" })
1505
1505
  ]
1506
1506
  }
1507
- ), Ht = ({
1507
+ ), It = ({
1508
1508
  width: i = 20,
1509
1509
  height: e = 20,
1510
1510
  color: t = "#070739",
@@ -1542,7 +1542,7 @@ const ze = ({
1542
1542
  )
1543
1543
  ]
1544
1544
  }
1545
- ), Vt = ({
1545
+ ), Ot = ({
1546
1546
  width: i = 9,
1547
1547
  height: e = 5,
1548
1548
  color: t = "#001E52",
@@ -1568,7 +1568,7 @@ const ze = ({
1568
1568
  }
1569
1569
  )
1570
1570
  }
1571
- ), It = ({
1571
+ ), St = ({
1572
1572
  width: i = 20,
1573
1573
  height: e = 20,
1574
1574
  color: t = "#F2F2F7",
@@ -1597,7 +1597,7 @@ const ze = ({
1597
1597
  )
1598
1598
  ]
1599
1599
  }
1600
- ), Ot = ({
1600
+ ), At = ({
1601
1601
  width: i = 20,
1602
1602
  height: e = 20,
1603
1603
  color: t = "#004ED7",
@@ -1626,7 +1626,7 @@ const ze = ({
1626
1626
  )
1627
1627
  ]
1628
1628
  }
1629
- ), St = ({
1629
+ ), Bt = ({
1630
1630
  width: i = 248,
1631
1631
  height: e = 248,
1632
1632
  color: t = "#070739",
@@ -1663,7 +1663,7 @@ const ze = ({
1663
1663
  )
1664
1664
  ]
1665
1665
  }
1666
- ), At = ({
1666
+ ), Zt = ({
1667
1667
  width: i = 24,
1668
1668
  height: e = 24,
1669
1669
  color: t = "#001E52",
@@ -1702,7 +1702,7 @@ const ze = ({
1702
1702
  )
1703
1703
  ]
1704
1704
  }
1705
- ), Bt = ({
1705
+ ), jt = ({
1706
1706
  width: i = 10,
1707
1707
  height: e = 10,
1708
1708
  color: t = "#001E52",
@@ -1731,7 +1731,7 @@ const ze = ({
1731
1731
  )
1732
1732
  ]
1733
1733
  }
1734
- ), Zt = ({
1734
+ ), Wt = ({
1735
1735
  width: i = 10,
1736
1736
  height: e = 10,
1737
1737
  color: t = "#001E52",
@@ -1768,10 +1768,10 @@ const ze = ({
1768
1768
  )
1769
1769
  ]
1770
1770
  }
1771
- ), jt = ({
1771
+ ), Tt = ({
1772
1772
  width: i = 24,
1773
1773
  height: e = 24,
1774
- color: t = b.GREY_DARK_5,
1774
+ color: t = y.GREY_DARK_5,
1775
1775
  className: s,
1776
1776
  onClick: n
1777
1777
  }) => /* @__PURE__ */ u(
@@ -1807,10 +1807,10 @@ const ze = ({
1807
1807
  )
1808
1808
  ]
1809
1809
  }
1810
- ), Wt = ({
1810
+ ), Dt = ({
1811
1811
  width: i = 20,
1812
1812
  height: e = 20,
1813
- color: t = b.GREY_DARK_1,
1813
+ color: t = y.GREY_DARK_1,
1814
1814
  className: s,
1815
1815
  onClick: n
1816
1816
  }) => /* @__PURE__ */ u(
@@ -1840,10 +1840,10 @@ const ze = ({
1840
1840
  )
1841
1841
  ]
1842
1842
  }
1843
- ), Tt = ({
1843
+ ), Gt = ({
1844
1844
  width: i = 81,
1845
1845
  height: e = 80,
1846
- color: t = b.GREY_DARK_5,
1846
+ color: t = y.GREY_DARK_5,
1847
1847
  className: s,
1848
1848
  onClick: n
1849
1849
  }) => /* @__PURE__ */ u(
@@ -1889,9 +1889,9 @@ const ze = ({
1889
1889
  )
1890
1890
  ]
1891
1891
  }
1892
- ), Dt = ({
1892
+ ), Kt = ({
1893
1893
  className: i,
1894
- color: e = b.GREY_DARK_5,
1894
+ color: e = y.GREY_DARK_5,
1895
1895
  height: t = 20,
1896
1896
  width: s = 20,
1897
1897
  onClick: n
@@ -1916,9 +1916,9 @@ const ze = ({
1916
1916
  }
1917
1917
  )
1918
1918
  }
1919
- ), Gt = ({
1919
+ ), Pt = ({
1920
1920
  className: i,
1921
- color: e = b.GREY_DARK_5,
1921
+ color: e = y.GREY_DARK_5,
1922
1922
  height: t = 20,
1923
1923
  width: s = 20,
1924
1924
  onClick: n
@@ -1943,9 +1943,9 @@ const ze = ({
1943
1943
  }
1944
1944
  )
1945
1945
  }
1946
- ), Kt = ({
1946
+ ), $t = ({
1947
1947
  className: i,
1948
- color: e = b.GREY_DARK_5,
1948
+ color: e = y.GREY_DARK_5,
1949
1949
  height: t = 5,
1950
1950
  width: s = 10,
1951
1951
  onClick: n
@@ -1967,9 +1967,9 @@ const ze = ({
1967
1967
  }
1968
1968
  )
1969
1969
  }
1970
- ), Pt = ({
1970
+ ), Ft = ({
1971
1971
  className: i,
1972
- color: e = b.GREY_DARK_5,
1972
+ color: e = y.GREY_DARK_5,
1973
1973
  height: t = 5,
1974
1974
  width: s = 10,
1975
1975
  onClick: n
@@ -1992,9 +1992,9 @@ const ze = ({
1992
1992
  }
1993
1993
  )
1994
1994
  }
1995
- ), $t = ({
1995
+ ), Yt = ({
1996
1996
  className: i,
1997
- color: e = b.GREY_DARK_5,
1997
+ color: e = y.GREY_DARK_5,
1998
1998
  height: t = 24,
1999
1999
  width: s = 24,
2000
2000
  onClick: n
@@ -2031,9 +2031,9 @@ const ze = ({
2031
2031
  )
2032
2032
  ]
2033
2033
  }
2034
- ), Ft = ({
2034
+ ), Ut = ({
2035
2035
  className: i,
2036
- color: e = b.GREY_DARK_5,
2036
+ color: e = y.GREY_DARK_5,
2037
2037
  height: t = 24,
2038
2038
  width: s = 24,
2039
2039
  onClick: n
@@ -2070,9 +2070,9 @@ const ze = ({
2070
2070
  )
2071
2071
  ]
2072
2072
  }
2073
- ), Yt = ({
2073
+ ), zt = ({
2074
2074
  className: i,
2075
- color: e = b.GREY_DARK_5,
2075
+ color: e = y.GREY_DARK_5,
2076
2076
  height: t = 24,
2077
2077
  width: s = 24,
2078
2078
  onClick: n
@@ -2097,9 +2097,9 @@ const ze = ({
2097
2097
  }
2098
2098
  )
2099
2099
  }
2100
- ), Ut = ({
2100
+ ), Jt = ({
2101
2101
  className: i,
2102
- color: e = b.GREY_DARK_5,
2102
+ color: e = y.GREY_DARK_5,
2103
2103
  height: t = 24,
2104
2104
  width: s = 24,
2105
2105
  onClick: n
@@ -2156,9 +2156,9 @@ const ze = ({
2156
2156
  )
2157
2157
  ]
2158
2158
  }
2159
- ), zt = ({
2159
+ ), qt = ({
2160
2160
  className: i,
2161
- color: e = b.GREY_DARK_5,
2161
+ color: e = y.GREY_DARK_5,
2162
2162
  height: t = 24,
2163
2163
  width: s = 24,
2164
2164
  onClick: n
@@ -2193,9 +2193,9 @@ const ze = ({
2193
2193
  )
2194
2194
  ]
2195
2195
  }
2196
- ), Jt = ({
2196
+ ), Qt = ({
2197
2197
  className: i,
2198
- color: e = b.GREY_DARK_3,
2198
+ color: e = y.GREY_DARK_3,
2199
2199
  height: t = 14,
2200
2200
  width: s = 14,
2201
2201
  onClick: n
@@ -2230,9 +2230,9 @@ const ze = ({
2230
2230
  )
2231
2231
  ]
2232
2232
  }
2233
- ), qt = ({
2233
+ ), Xt = ({
2234
2234
  className: i,
2235
- color: e = b.GREY_DARK_5,
2235
+ color: e = y.GREY_DARK_5,
2236
2236
  height: t = 18,
2237
2237
  onClick: s,
2238
2238
  width: n = 18
@@ -2257,9 +2257,9 @@ const ze = ({
2257
2257
  }
2258
2258
  )
2259
2259
  }
2260
- ), Qt = ({
2260
+ ), e2 = ({
2261
2261
  className: i,
2262
- color: e = b.GREY_DARK_5,
2262
+ color: e = y.GREY_DARK_5,
2263
2263
  height: t = 24,
2264
2264
  width: s = 24,
2265
2265
  onClick: n
@@ -2309,9 +2309,9 @@ const ze = ({
2309
2309
  )
2310
2310
  ]
2311
2311
  }
2312
- ), Xt = ({
2312
+ ), t2 = ({
2313
2313
  className: i,
2314
- color: e = b.GREY_DARK_5,
2314
+ color: e = y.GREY_DARK_5,
2315
2315
  height: t = 24,
2316
2316
  width: s = 24,
2317
2317
  onClick: n
@@ -2346,9 +2346,9 @@ const ze = ({
2346
2346
  )
2347
2347
  ]
2348
2348
  }
2349
- ), e2 = ({
2349
+ ), i2 = ({
2350
2350
  className: i,
2351
- color: e = b.NOTIFICATION_WARNING_DARK,
2351
+ color: e = y.NOTIFICATION_WARNING_DARK,
2352
2352
  height: t = 37,
2353
2353
  width: s = 36,
2354
2354
  onClick: n
@@ -2385,9 +2385,9 @@ const ze = ({
2385
2385
  )
2386
2386
  ]
2387
2387
  }
2388
- ), t2 = ({
2388
+ ), s2 = ({
2389
2389
  className: i,
2390
- color: e = b.GREY_DARK_5,
2390
+ color: e = y.GREY_DARK_5,
2391
2391
  height: t = 24,
2392
2392
  width: s = 24,
2393
2393
  onClick: n
@@ -2411,9 +2411,9 @@ const ze = ({
2411
2411
  }
2412
2412
  )
2413
2413
  }
2414
- ), i2 = ({
2414
+ ), n2 = ({
2415
2415
  className: i,
2416
- color: e = b.GREY_DARK_5,
2416
+ color: e = y.GREY_DARK_5,
2417
2417
  height: t = 24,
2418
2418
  width: s = 24,
2419
2419
  onClick: n
@@ -2450,9 +2450,9 @@ const ze = ({
2450
2450
  )
2451
2451
  ]
2452
2452
  }
2453
- ), s2 = ({
2453
+ ), r2 = ({
2454
2454
  className: i,
2455
- color: e = b.GREY_DARK_5,
2455
+ color: e = y.GREY_DARK_5,
2456
2456
  height: t = 24,
2457
2457
  width: s = 24,
2458
2458
  onClick: n
@@ -2489,9 +2489,9 @@ const ze = ({
2489
2489
  )
2490
2490
  ]
2491
2491
  }
2492
- ), n2 = ({
2492
+ ), o2 = ({
2493
2493
  className: i,
2494
- color: e = b.GREY_DARK_5,
2494
+ color: e = y.GREY_DARK_5,
2495
2495
  height: t = 24,
2496
2496
  width: s = 24,
2497
2497
  onClick: n
@@ -2558,9 +2558,9 @@ const ze = ({
2558
2558
  )
2559
2559
  ]
2560
2560
  }
2561
- ), r2 = ({
2561
+ ), l2 = ({
2562
2562
  className: i,
2563
- color: e = b.GREY_DARK_5,
2563
+ color: e = y.GREY_DARK_5,
2564
2564
  height: t = 24,
2565
2565
  width: s = 24,
2566
2566
  onClick: n
@@ -2597,9 +2597,9 @@ const ze = ({
2597
2597
  )
2598
2598
  ]
2599
2599
  }
2600
- ), o2 = ({
2600
+ ), a2 = ({
2601
2601
  className: i,
2602
- color: e = b.GREY_DARK_5,
2602
+ color: e = y.GREY_DARK_5,
2603
2603
  height: t = 24,
2604
2604
  width: s = 24,
2605
2605
  onClick: n
@@ -2654,9 +2654,9 @@ const ze = ({
2654
2654
  )
2655
2655
  ]
2656
2656
  }
2657
- ), l2 = ({
2657
+ ), h2 = ({
2658
2658
  className: i,
2659
- color: e = b.GREY_DARK_5,
2659
+ color: e = y.GREY_DARK_5,
2660
2660
  height: t = 24,
2661
2661
  width: s = 24,
2662
2662
  onClick: n
@@ -2693,9 +2693,9 @@ const ze = ({
2693
2693
  )
2694
2694
  ]
2695
2695
  }
2696
- ), a2 = ({
2696
+ ), c2 = ({
2697
2697
  className: i,
2698
- color: e = b.GREY_DARK_5,
2698
+ color: e = y.GREY_DARK_5,
2699
2699
  height: t = 24,
2700
2700
  width: s = 24,
2701
2701
  onClick: n
@@ -2742,9 +2742,9 @@ const ze = ({
2742
2742
  )
2743
2743
  ]
2744
2744
  }
2745
- ), h2 = ({
2745
+ ), d2 = ({
2746
2746
  className: i,
2747
- color: e = b.GREY_DARK_5,
2747
+ color: e = y.GREY_DARK_5,
2748
2748
  height: t = 24,
2749
2749
  width: s = 24,
2750
2750
  onClick: n
@@ -2781,9 +2781,9 @@ const ze = ({
2781
2781
  )
2782
2782
  ]
2783
2783
  }
2784
- ), c2 = ({
2784
+ ), g2 = ({
2785
2785
  className: i,
2786
- color: e = b.GREY_DARK_5,
2786
+ color: e = y.GREY_DARK_5,
2787
2787
  height: t = 24,
2788
2788
  width: s = 24,
2789
2789
  onClick: n
@@ -2808,9 +2808,9 @@ const ze = ({
2808
2808
  }
2809
2809
  )
2810
2810
  }
2811
- ), d2 = ({
2811
+ ), u2 = ({
2812
2812
  className: i,
2813
- color: e = b.GREY_DARK_5,
2813
+ color: e = y.GREY_DARK_5,
2814
2814
  height: t = 24,
2815
2815
  width: s = 24,
2816
2816
  onClick: n
@@ -2846,9 +2846,9 @@ const ze = ({
2846
2846
  )
2847
2847
  ]
2848
2848
  }
2849
- ), g2 = ({
2849
+ ), C2 = ({
2850
2850
  className: i,
2851
- color: e = b.GREY_DARK_5,
2851
+ color: e = y.GREY_DARK_5,
2852
2852
  height: t = 24,
2853
2853
  width: s = 24,
2854
2854
  onClick: n
@@ -2867,9 +2867,9 @@ const ze = ({
2867
2867
  /* @__PURE__ */ r("path", { d: "M12 8L4 8", stroke: e, strokeWidth: "1.7", strokeLinecap: "round" })
2868
2868
  ]
2869
2869
  }
2870
- ), u2 = ({
2870
+ ), p2 = ({
2871
2871
  className: i,
2872
- color: e = b.GREY_DARK_5,
2872
+ color: e = y.GREY_DARK_5,
2873
2873
  height: t = 24,
2874
2874
  width: s = 24,
2875
2875
  onClick: n
@@ -2906,9 +2906,9 @@ const ze = ({
2906
2906
  )
2907
2907
  ]
2908
2908
  }
2909
- ), C2 = ({
2909
+ ), f2 = ({
2910
2910
  className: i,
2911
- color: e = b.GREY_DARK_5,
2911
+ color: e = y.GREY_DARK_5,
2912
2912
  height: t = 24,
2913
2913
  width: s = 24,
2914
2914
  onClick: n
@@ -2945,9 +2945,9 @@ const ze = ({
2945
2945
  )
2946
2946
  ]
2947
2947
  }
2948
- ), p2 = ({
2948
+ ), w2 = ({
2949
2949
  className: i,
2950
- color: e = b.GREY_DARK_5,
2950
+ color: e = y.GREY_DARK_5,
2951
2951
  height: t = 24,
2952
2952
  width: s = 24,
2953
2953
  onClick: n
@@ -2984,9 +2984,9 @@ const ze = ({
2984
2984
  )
2985
2985
  ]
2986
2986
  }
2987
- ), f2 = ({
2987
+ ), m2 = ({
2988
2988
  className: i,
2989
- color: e = b.GREY_DARK_2,
2989
+ color: e = y.GREY_DARK_2,
2990
2990
  height: t = 16,
2991
2991
  width: s = 16,
2992
2992
  onClick: n
@@ -3010,9 +3010,9 @@ const ze = ({
3010
3010
  }
3011
3011
  )
3012
3012
  }
3013
- ), w2 = ({
3013
+ ), k2 = ({
3014
3014
  className: i,
3015
- color: e = b.GREY_DARK_5,
3015
+ color: e = y.GREY_DARK_5,
3016
3016
  height: t = 20,
3017
3017
  width: s = 20,
3018
3018
  onClick: n
@@ -3039,9 +3039,9 @@ const ze = ({
3039
3039
  /* @__PURE__ */ r("defs", { children: /* @__PURE__ */ r("clipPath", { id: "clip0_3992_5989", children: /* @__PURE__ */ r("rect", { width: "20", height: "20", fill: "white" }) }) })
3040
3040
  ]
3041
3041
  }
3042
- ), m2 = ({
3042
+ ), L2 = ({
3043
3043
  className: i,
3044
- color: e = b.GREY_DARK_5,
3044
+ color: e = y.GREY_DARK_5,
3045
3045
  height: t = 20,
3046
3046
  width: s = 20,
3047
3047
  onClick: n
@@ -3068,9 +3068,9 @@ const ze = ({
3068
3068
  /* @__PURE__ */ r("defs", { children: /* @__PURE__ */ r("clipPath", { id: "clip0_3992_5988", children: /* @__PURE__ */ r("rect", { width: "20", height: "20", fill: "white" }) }) })
3069
3069
  ]
3070
3070
  }
3071
- ), k2 = ({
3071
+ ), v2 = ({
3072
3072
  className: i,
3073
- color: e = b.GREY_DARK_5,
3073
+ color: e = y.GREY_DARK_5,
3074
3074
  height: t = 20,
3075
3075
  width: s = 20,
3076
3076
  onClick: n
@@ -3085,7 +3085,7 @@ const ze = ({
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: b.GREY_LIGHT_2 }),
3088
+ /* @__PURE__ */ r("rect", { width: "20", height: "20", rx: "4", fill: y.GREY_LIGHT_2 }),
3089
3089
  /* @__PURE__ */ r(
3090
3090
  "path",
3091
3091
  {
@@ -3097,9 +3097,9 @@ const ze = ({
3097
3097
  )
3098
3098
  ]
3099
3099
  }
3100
- ), L2 = ({
3100
+ ), N2 = ({
3101
3101
  className: i,
3102
- color: e = b.GREY_DARK_5,
3102
+ color: e = y.GREY_DARK_5,
3103
3103
  height: t = 20,
3104
3104
  width: s = 20,
3105
3105
  onClick: n
@@ -3114,7 +3114,7 @@ const ze = ({
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: b.GREY_LIGHT_2 }),
3117
+ /* @__PURE__ */ r("rect", { width: "20", height: "20", rx: "4", fill: y.GREY_LIGHT_2 }),
3118
3118
  /* @__PURE__ */ r(
3119
3119
  "path",
3120
3120
  {
@@ -3126,7 +3126,7 @@ const ze = ({
3126
3126
  )
3127
3127
  ]
3128
3128
  }
3129
- ), v2 = ({
3129
+ ), x2 = ({
3130
3130
  className: i,
3131
3131
  color: e = "#001E52",
3132
3132
  height: t = 24,
@@ -3152,7 +3152,7 @@ const ze = ({
3152
3152
  }
3153
3153
  )
3154
3154
  }
3155
- ), N2 = ({
3155
+ ), R2 = ({
3156
3156
  className: i,
3157
3157
  color: e = "#131314",
3158
3158
  height: t = 20,
@@ -3180,7 +3180,7 @@ const ze = ({
3180
3180
  }
3181
3181
  )
3182
3182
  }
3183
- ), x2 = ({
3183
+ ), M2 = ({
3184
3184
  className: i,
3185
3185
  color: e = "#001E52",
3186
3186
  height: t = 24,
@@ -3218,7 +3218,7 @@ const ze = ({
3218
3218
  )
3219
3219
  ] }) })
3220
3220
  }
3221
- ), R2 = ({
3221
+ ), y2 = ({
3222
3222
  width: i = 20,
3223
3223
  height: e = 20,
3224
3224
  color: t = "#001E52",
@@ -3274,7 +3274,7 @@ const ze = ({
3274
3274
  }
3275
3275
  )
3276
3276
  }
3277
- ), M2 = ({
3277
+ ), b2 = ({
3278
3278
  width: i = 24,
3279
3279
  height: e = 24,
3280
3280
  color: t = "#131314",
@@ -3307,7 +3307,7 @@ const ze = ({
3307
3307
  )
3308
3308
  ]
3309
3309
  }
3310
- ), p1 = ({
3310
+ ), m1 = ({
3311
3311
  name: i,
3312
3312
  width: e,
3313
3313
  height: t,
@@ -3316,49 +3316,49 @@ const ze = ({
3316
3316
  disabled: l = !1,
3317
3317
  onClick: c
3318
3318
  }) => {
3319
- const [o, d] = B(n), { theme: g } = n1(le), a = l ? g && g === "dark" ? b.GREY_LIGHT_4 : b.GREY_DARK_1 : s, h = l ? void 0 : c;
3320
- return T(() => {
3319
+ const [o, d] = Z(n), { theme: g } = s1(ae), a = l ? g && g === "dark" ? y.GREY_LIGHT_4 : y.GREY_DARK_1 : s, h = l ? void 0 : c;
3320
+ return G(() => {
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 Dt({ width: e, height: t, color: a, className: o, onClick: h });
3329
+ return Kt({ width: e, height: t, color: a, className: o, onClick: h });
3330
3330
  case "prevIcon":
3331
- return Gt({ width: e, height: t, color: a, className: o, onClick: h });
3331
+ return Pt({ width: e, height: t, color: a, className: o, onClick: h });
3332
3332
  case "arrowUp":
3333
- return ze({ width: e, height: t, color: a, className: o, onClick: h });
3333
+ return qe({ width: e, height: t, color: a, className: o, onClick: h });
3334
3334
  case "arrowDown":
3335
- return Je({ width: e, height: t, color: a, className: o, onClick: h });
3335
+ return Qe({ width: e, height: t, color: a, className: o, onClick: h });
3336
3336
  case "info":
3337
- return qe({ width: e, height: t, color: a, className: o, onClick: h });
3337
+ return Xe({ width: e, height: t, color: a, className: o, onClick: h });
3338
3338
  case "arrowRight":
3339
- return Qe({ width: e, height: t, color: a, className: o, onClick: h });
3339
+ return et({ width: e, height: t, color: a, className: o, onClick: h });
3340
3340
  case "calendar":
3341
- return Xe({ width: e, height: t, color: a, className: o, onClick: h });
3341
+ return tt({ width: e, height: t, color: a, className: o, onClick: h });
3342
3342
  case "ok":
3343
- return et({ width: e, height: t, color: a, className: o, onClick: h });
3343
+ return it({ width: e, height: t, color: a, className: o, onClick: h });
3344
3344
  case "cancel":
3345
- return tt({ width: e, height: t, color: a, className: o, onClick: h });
3345
+ return st({ width: e, height: t, color: a, className: o, onClick: h });
3346
3346
  case "add":
3347
- return it({ width: e, height: t, color: a, className: o, onClick: h });
3347
+ return nt({ width: e, height: t, color: a, className: o, onClick: h });
3348
3348
  case "list":
3349
- return st({ width: e, height: t, color: a, className: o, onClick: h });
3349
+ return rt({ width: e, height: t, color: a, className: o, onClick: h });
3350
3350
  case "dragAndDrop":
3351
- return nt({ width: e, height: t, color: a, className: o, onClick: h });
3351
+ return ot({ width: e, height: t, color: a, className: o, onClick: h });
3352
3352
  case "filter":
3353
- return rt({ width: e, height: t, color: a, className: o, onClick: h });
3353
+ return lt({ width: e, height: t, color: a, className: o, onClick: h });
3354
3354
  case "attention":
3355
- return ot({ width: e, height: t, color: a, className: o, onClick: h });
3355
+ return at({ width: e, height: t, color: a, className: o, onClick: h });
3356
3356
  case "plus":
3357
- return lt({ width: e, height: t, color: a, className: o, onClick: h });
3357
+ return ht({ width: e, height: t, color: a, className: o, onClick: h });
3358
3358
  case "time":
3359
- return at({ width: e, height: t, color: a, className: o, onClick: h });
3359
+ return ct({ width: e, height: t, color: a, className: o, onClick: h });
3360
3360
  case "arrowDownLong":
3361
- return ht({
3361
+ return dt({
3362
3362
  width: e,
3363
3363
  height: t,
3364
3364
  color: a,
@@ -3366,9 +3366,9 @@ const ze = ({
3366
3366
  onClick: h
3367
3367
  });
3368
3368
  case "users":
3369
- return ct({ width: e, height: t, color: a, className: o, onClick: h });
3369
+ return gt({ width: e, height: t, color: a, className: o, onClick: h });
3370
3370
  case "mySkillsMatrix":
3371
- return dt({
3371
+ return ut({
3372
3372
  width: e,
3373
3373
  height: t,
3374
3374
  color: a,
@@ -3376,9 +3376,9 @@ const ze = ({
3376
3376
  onClick: h
3377
3377
  });
3378
3378
  case "skills":
3379
- return gt({ width: e, height: t, color: a, className: o, onClick: h });
3379
+ return Ct({ width: e, height: t, color: a, className: o, onClick: h });
3380
3380
  case "skillsMatrices":
3381
- return ut({
3381
+ return pt({
3382
3382
  width: e,
3383
3383
  height: t,
3384
3384
  color: a,
@@ -3386,23 +3386,23 @@ const ze = ({
3386
3386
  onClick: h
3387
3387
  });
3388
3388
  case "history":
3389
- return Ct({ width: e, height: t, color: a, className: o, onClick: h });
3389
+ return ft({ width: e, height: t, color: a, className: o, onClick: h });
3390
3390
  case "logOut":
3391
- return pt({ width: e, height: t, color: a, className: o, onClick: h });
3391
+ return wt({ width: e, height: t, color: a, className: o, onClick: h });
3392
3392
  case "settings":
3393
- return ft({ width: e, height: t, color: a, className: o, onClick: h });
3393
+ return mt({ width: e, height: t, color: a, className: o, onClick: h });
3394
3394
  case "addSkill":
3395
- return wt({ width: e, height: t, color: a, className: o, onClick: h });
3395
+ return kt({ width: e, height: t, color: a, className: o, onClick: h });
3396
3396
  case "conversation":
3397
- return mt({ width: e, height: t, color: a, className: o, onClick: h });
3397
+ return Lt({ width: e, height: t, color: a, className: o, onClick: h });
3398
3398
  case "trash":
3399
- return kt({ width: e, height: t, color: a, className: o, onClick: h });
3399
+ return vt({ width: e, height: t, color: a, className: o, onClick: h });
3400
3400
  case "settings4":
3401
- return Lt({ width: e, height: t, color: a, className: o, onClick: h });
3401
+ return Nt({ width: e, height: t, color: a, className: o, onClick: h });
3402
3402
  case "edit2":
3403
- return vt({ width: e, height: t, color: a, className: o, onClick: h });
3403
+ return xt({ width: e, height: t, color: a, className: o, onClick: h });
3404
3404
  case "notifications":
3405
- return Nt({
3405
+ return Rt({
3406
3406
  width: e,
3407
3407
  height: t,
3408
3408
  color: a,
@@ -3410,9 +3410,9 @@ const ze = ({
3410
3410
  onClick: h
3411
3411
  });
3412
3412
  case "success":
3413
- return xt({ width: e, height: t, color: a, className: o, onClick: h });
3413
+ return Mt({ width: e, height: t, color: a, className: o, onClick: h });
3414
3414
  case "attentionSmall":
3415
- return Rt({
3415
+ return yt({
3416
3416
  width: e,
3417
3417
  height: t,
3418
3418
  color: a,
@@ -3420,11 +3420,11 @@ const ze = ({
3420
3420
  onClick: h
3421
3421
  });
3422
3422
  case "errorSmall":
3423
- return Mt({ width: e, height: t, color: a, className: o, onClick: h });
3424
- case "infoMedium":
3425
3423
  return bt({ width: e, height: t, color: a, className: o, onClick: h });
3424
+ case "infoMedium":
3425
+ return Et({ width: e, height: t, color: a, className: o, onClick: h });
3426
3426
  case "attentionMedium":
3427
- return yt({
3427
+ return _t({
3428
3428
  width: e,
3429
3429
  height: t,
3430
3430
  color: a,
@@ -3432,9 +3432,9 @@ const ze = ({
3432
3432
  onClick: h
3433
3433
  });
3434
3434
  case "errorMedium":
3435
- return _t({ width: e, height: t, color: a, className: o, onClick: h });
3435
+ return Ht({ width: e, height: t, color: a, className: o, onClick: h });
3436
3436
  case "faviconSkills":
3437
- return St({
3437
+ return Bt({
3438
3438
  width: e,
3439
3439
  height: t,
3440
3440
  color: a,
@@ -3442,7 +3442,7 @@ const ze = ({
3442
3442
  onClick: h
3443
3443
  });
3444
3444
  case "visibilityIcon":
3445
- return Et({
3445
+ return Vt({
3446
3446
  width: e,
3447
3447
  height: t,
3448
3448
  color: a,
@@ -3450,7 +3450,7 @@ const ze = ({
3450
3450
  onClick: h
3451
3451
  });
3452
3452
  case "visibilityOffIcon":
3453
- return Ht({
3453
+ return It({
3454
3454
  width: e,
3455
3455
  height: t,
3456
3456
  color: a,
@@ -3458,7 +3458,7 @@ const ze = ({
3458
3458
  onClick: h
3459
3459
  });
3460
3460
  case "selectArrowIcon":
3461
- return Vt({
3461
+ return Ot({
3462
3462
  width: e,
3463
3463
  height: t,
3464
3464
  color: a,
@@ -3466,7 +3466,7 @@ const ze = ({
3466
3466
  onClick: h
3467
3467
  });
3468
3468
  case "expandArrowIcon":
3469
- return It({
3469
+ return St({
3470
3470
  width: e,
3471
3471
  height: t,
3472
3472
  color: a,
@@ -3474,7 +3474,7 @@ const ze = ({
3474
3474
  onClick: h
3475
3475
  });
3476
3476
  case "expandActiveArrowIcon":
3477
- return Ot({
3477
+ return At({
3478
3478
  width: e,
3479
3479
  height: t,
3480
3480
  color: a,
@@ -3482,101 +3482,101 @@ const ze = ({
3482
3482
  onClick: h
3483
3483
  });
3484
3484
  case "camera":
3485
- return At({ width: e, height: t, color: a, className: o, onClick: h });
3485
+ return Zt({ width: e, height: t, color: a, className: o, onClick: h });
3486
3486
  case "sortUp":
3487
- return Bt({ width: e, height: t, color: a, className: o, onClick: h });
3487
+ return jt({ width: e, height: t, color: a, className: o, onClick: h });
3488
3488
  case "sortDown":
3489
- return Zt({ width: e, height: t, color: a, className: o, onClick: h });
3489
+ return Wt({ width: e, height: t, color: a, className: o, onClick: h });
3490
3490
  case "logOut2":
3491
- return jt({ width: e, height: t, color: a, className: o, onClick: h });
3491
+ return Tt({ width: e, height: t, color: a, className: o, onClick: h });
3492
3492
  case "search":
3493
- return Wt({ width: e, height: t, color: a, className: o, onClick: h });
3493
+ return Dt({ width: e, height: t, color: a, className: o, onClick: h });
3494
3494
  case "handRock":
3495
- return Tt({ width: e, height: t, color: a, className: o, onClick: h });
3495
+ return Gt({ width: e, height: t, color: a, className: o, onClick: h });
3496
3496
  case "arrowUpFilled":
3497
- return Pt({ width: e, height: t, color: a, className: o, onClick: h });
3497
+ return Ft({ width: e, height: t, color: a, className: o, onClick: h });
3498
3498
  case "arrowDownFilled":
3499
- return Kt({ width: e, height: t, color: a, className: o, onClick: h });
3500
- case "link":
3501
3499
  return $t({ width: e, height: t, color: a, className: o, onClick: h });
3502
- case "telegram":
3500
+ case "link":
3503
3501
  return Yt({ width: e, height: t, color: a, className: o, onClick: h });
3504
- case "mail":
3502
+ case "telegram":
3505
3503
  return zt({ width: e, height: t, color: a, className: o, onClick: h });
3504
+ case "mail":
3505
+ return qt({ width: e, height: t, color: a, className: o, onClick: h });
3506
3506
  case "github":
3507
- return Ft({ width: e, height: t, color: a, className: o, onClick: h });
3508
- case "linkedIn":
3509
3507
  return Ut({ width: e, height: t, color: a, className: o, onClick: h });
3510
- case "emptyStateIcon":
3508
+ case "linkedIn":
3511
3509
  return Jt({ width: e, height: t, color: a, className: o, onClick: h });
3510
+ case "emptyStateIcon":
3511
+ return Qt({ width: e, height: t, color: a, className: o, onClick: h });
3512
3512
  case "filtersIcon":
3513
- return qt({ width: e, height: t, color: a, className: o, onClick: h });
3513
+ return Xt({ width: e, height: t, color: a, className: o, onClick: h });
3514
3514
  case "dotMenuIcon":
3515
- return Qt({ width: e, height: t, color: a, className: o, onClick: h });
3515
+ return e2({ width: e, height: t, color: a, className: o, onClick: h });
3516
3516
  case "plusCircle":
3517
- return Xt({ width: e, height: t, color: a, className: o, onClick: h });
3517
+ return t2({ width: e, height: t, color: a, className: o, onClick: h });
3518
3518
  case "warning":
3519
- return e2({ width: e, height: t, color: a, className: o, onClick: h });
3519
+ return i2({ width: e, height: t, color: a, className: o, onClick: h });
3520
3520
  case "back":
3521
- return t2({ width: e, height: t, color: a, className: o, onClick: h });
3521
+ return s2({ width: e, height: t, color: a, className: o, onClick: h });
3522
3522
  case "bell":
3523
- return i2({ width: e, height: t, color: a, className: o, onClick: h });
3524
- case "contract":
3525
3523
  return n2({ width: e, height: t, color: a, className: o, onClick: h });
3524
+ case "contract":
3525
+ return o2({ width: e, height: t, color: a, className: o, onClick: h });
3526
3526
  case "trash2":
3527
- return s2({ width: e, height: t, color: a, className: o, onClick: h });
3528
- case "manager":
3529
3527
  return r2({ width: e, height: t, color: a, className: o, onClick: h });
3528
+ case "manager":
3529
+ return l2({ width: e, height: t, color: a, className: o, onClick: h });
3530
3530
  case "resourceManager":
3531
- return o2({ width: e, height: t, color: a, className: o, onClick: h });
3531
+ return a2({ width: e, height: t, color: a, className: o, onClick: h });
3532
3532
  case "settings2":
3533
- return l2({ width: e, height: t, color: a, className: o, onClick: h });
3533
+ return h2({ width: e, height: t, color: a, className: o, onClick: h });
3534
3534
  case "image":
3535
- return a2({ width: e, height: t, color: a, className: o, onClick: h });
3535
+ return c2({ width: e, height: t, color: a, className: o, onClick: h });
3536
3536
  case "upload":
3537
- return h2({ width: e, height: t, color: a, className: o, onClick: h });
3537
+ return d2({ width: e, height: t, color: a, className: o, onClick: h });
3538
3538
  case "edit":
3539
- return c2({ width: e, height: t, color: a, className: o, onClick: h });
3539
+ return g2({ width: e, height: t, color: a, className: o, onClick: h });
3540
3540
  case "location":
3541
- return d2({ width: e, height: t, color: a, className: o, onClick: h });
3541
+ return u2({ width: e, height: t, color: a, className: o, onClick: h });
3542
3542
  case "plus2":
3543
- return g2({ width: e, height: t, color: a, className: o, onClick: h });
3543
+ return C2({ width: e, height: t, color: a, className: o, onClick: h });
3544
3544
  case "search2":
3545
- return u2({ width: e, height: t, color: a, className: o, onClick: h });
3545
+ return p2({ width: e, height: t, color: a, className: o, onClick: h });
3546
3546
  case "fastArrowLeft":
3547
- return C2({ width: e, height: t, color: a, className: o, onClick: h });
3547
+ return f2({ width: e, height: t, color: a, className: o, onClick: h });
3548
3548
  case "fastArrowRight":
3549
- return p2({ width: e, height: t, color: a, className: o, onClick: h });
3549
+ return w2({ width: e, height: t, color: a, className: o, onClick: h });
3550
3550
  case "crossInCircle":
3551
- return f2({ width: e, height: t, color: a, className: o, onClick: h });
3552
- case "arrowUp2":
3553
3551
  return m2({ width: e, height: t, color: a, className: o, onClick: h });
3552
+ case "arrowUp2":
3553
+ return L2({ width: e, height: t, color: a, className: o, onClick: h });
3554
3554
  case "arrowDown2":
3555
- return w2({ width: e, height: t, color: a, className: o, onClick: h });
3556
- case "filledArrowLeft":
3557
3555
  return k2({ width: e, height: t, color: a, className: o, onClick: h });
3556
+ case "filledArrowLeft":
3557
+ return v2({ width: e, height: t, color: a, className: o, onClick: h });
3558
3558
  case "filledArrowRight":
3559
- return L2({ width: e, height: t, color: a, className: o, onClick: h });
3559
+ return N2({ width: e, height: t, color: a, className: o, onClick: h });
3560
3560
  case "burgerMenu":
3561
- return v2({ width: e, height: t, color: a, className: o, onClick: h });
3561
+ return x2({ width: e, height: t, color: a, className: o, onClick: h });
3562
3562
  case "signOut":
3563
- return N2({ width: e, height: t, color: a, className: o, onClick: h });
3563
+ return R2({ width: e, height: t, color: a, className: o, onClick: h });
3564
3564
  case "refresh":
3565
- return x2({ width: e, height: t, color: a, className: o, onClick: h });
3565
+ return M2({ width: e, height: t, color: a, className: o, onClick: h });
3566
3566
  case "projects":
3567
- return R2({ width: e, height: t, color: a, className: o, onClick: h });
3567
+ return y2({ width: e, height: t, color: a, className: o, onClick: h });
3568
3568
  case "exit":
3569
- return M2({ width: e, height: t, color: a, className: o, onClick: h });
3569
+ return b2({ 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: b2, Text: y2 } = Ne, _2 = {
3574
+ }, { Title: E2, Text: _2 } = Re, H2 = {
3575
3575
  h1: 1,
3576
3576
  h2: 2,
3577
3577
  h3: 3,
3578
3578
  h4: 4
3579
- }, E2 = R1(
3579
+ }, V2 = y1(
3580
3580
  ({
3581
3581
  align: i = "inherit",
3582
3582
  variant: e = "body1",
@@ -3589,17 +3589,17 @@ const ze = ({
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
- b2,
3592
+ E2,
3593
3593
  {
3594
3594
  className: g,
3595
3595
  style: { color: t, whiteSpace: c },
3596
3596
  onClick: n,
3597
- level: _2[e],
3597
+ level: H2[e],
3598
3598
  ref: o,
3599
3599
  children: s
3600
3600
  }
3601
3601
  ) : /* @__PURE__ */ r(
3602
- y2,
3602
+ _2,
3603
3603
  {
3604
3604
  className: g,
3605
3605
  style: { color: t, whiteSpace: c },
@@ -3610,13 +3610,13 @@ const ze = ({
3610
3610
  );
3611
3611
  }
3612
3612
  );
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 ae = a1({
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 he = h1({
3615
3615
  locale: "en",
3616
3616
  theme: "light"
3617
3617
  });
3618
- ae.Provider;
3619
- const H2 = ({
3618
+ he.Provider;
3619
+ const I2 = ({
3620
3620
  width: i = 20,
3621
3621
  height: e = 20,
3622
3622
  color: t = "#001E52",
@@ -3643,7 +3643,7 @@ const H2 = ({
3643
3643
  }
3644
3644
  )
3645
3645
  }
3646
- ), V2 = ({
3646
+ ), O2 = ({
3647
3647
  width: i = 20,
3648
3648
  height: e = 20,
3649
3649
  color: t = "#001E52",
@@ -3670,7 +3670,7 @@ const H2 = ({
3670
3670
  }
3671
3671
  )
3672
3672
  }
3673
- ), I2 = ({
3673
+ ), S2 = ({
3674
3674
  width: i = 16,
3675
3675
  height: e = 16,
3676
3676
  color: t = "#001E52",
@@ -3698,7 +3698,7 @@ const H2 = ({
3698
3698
  )
3699
3699
  ]
3700
3700
  }
3701
- ), O2 = ({
3701
+ ), A2 = ({
3702
3702
  width: i = 20,
3703
3703
  height: e = 20,
3704
3704
  color: t = "#001E52",
@@ -3733,7 +3733,7 @@ const H2 = ({
3733
3733
  )
3734
3734
  ]
3735
3735
  }
3736
- ), S2 = ({
3736
+ ), B2 = ({
3737
3737
  width: i = 18,
3738
3738
  height: e = 18,
3739
3739
  color: t = "#001E52",
@@ -3772,7 +3772,7 @@ const H2 = ({
3772
3772
  )
3773
3773
  ]
3774
3774
  }
3775
- ), A2 = ({
3775
+ ), Z2 = ({
3776
3776
  width: i = 20,
3777
3777
  height: e = 20,
3778
3778
  color: t = "#001E52",
@@ -3798,7 +3798,7 @@ const H2 = ({
3798
3798
  }
3799
3799
  )
3800
3800
  }
3801
- ), B2 = ({
3801
+ ), j2 = ({
3802
3802
  width: i = 20,
3803
3803
  height: e = 20,
3804
3804
  color: t = "#001E52",
@@ -3819,7 +3819,7 @@ const H2 = ({
3819
3819
  /* @__PURE__ */ r("path", { d: "M16 4L4 16", stroke: t, strokeWidth: "1.5", strokeLinecap: "round" })
3820
3820
  ]
3821
3821
  }
3822
- ), Z2 = ({
3822
+ ), W2 = ({
3823
3823
  width: i = 20,
3824
3824
  height: e = 20,
3825
3825
  color: t = "#001E52",
@@ -3851,7 +3851,7 @@ const H2 = ({
3851
3851
  )
3852
3852
  ]
3853
3853
  }
3854
- ), j2 = ({
3854
+ ), T2 = ({
3855
3855
  width: i = 20,
3856
3856
  height: e = 20,
3857
3857
  color: t = "#001E52",
@@ -3905,7 +3905,7 @@ const H2 = ({
3905
3905
  )
3906
3906
  ]
3907
3907
  }
3908
- ), W2 = ({
3908
+ ), D2 = ({
3909
3909
  width: i = 20,
3910
3910
  height: e = 20,
3911
3911
  color: t = "#001E52",
@@ -3944,7 +3944,7 @@ const H2 = ({
3944
3944
  /* @__PURE__ */ r("path", { d: "M3 12L17 12", stroke: t, strokeWidth: "2", strokeLinecap: "round" })
3945
3945
  ]
3946
3946
  }
3947
- ), T2 = ({
3947
+ ), G2 = ({
3948
3948
  width: i = 16,
3949
3949
  height: e = 12,
3950
3950
  color: t = "#001E52",
@@ -3993,7 +3993,7 @@ const H2 = ({
3993
3993
  )
3994
3994
  ] })
3995
3995
  }
3996
- ), D2 = ({
3996
+ ), K2 = ({
3997
3997
  width: i = 16,
3998
3998
  height: e = 16,
3999
3999
  color: t = "#001E52",
@@ -4027,7 +4027,7 @@ const H2 = ({
4027
4027
  )
4028
4028
  ]
4029
4029
  }
4030
- ), G2 = ({
4030
+ ), P2 = ({
4031
4031
  width: i = 10,
4032
4032
  height: e = 10,
4033
4033
  color: t = "#001E52",
@@ -4066,7 +4066,7 @@ const H2 = ({
4066
4066
  )
4067
4067
  ] })
4068
4068
  }
4069
- ), K2 = ({
4069
+ ), $2 = ({
4070
4070
  width: i = 16,
4071
4071
  height: e = 16,
4072
4072
  color: t = "#001E52",
@@ -4102,7 +4102,7 @@ const H2 = ({
4102
4102
  )
4103
4103
  ]
4104
4104
  }
4105
- ), P2 = ({
4105
+ ), F2 = ({
4106
4106
  width: i = 11,
4107
4107
  height: e = 32,
4108
4108
  color: t = "#001E52",
@@ -4140,7 +4140,7 @@ const H2 = ({
4140
4140
  /* @__PURE__ */ r("circle", { cx: "3", cy: "3", r: "3", fill: t })
4141
4141
  ]
4142
4142
  }
4143
- ), $2 = ({
4143
+ ), Y2 = ({
4144
4144
  width: i = 20,
4145
4145
  height: e = 20,
4146
4146
  color: t = "#001E52",
@@ -4187,7 +4187,7 @@ const H2 = ({
4187
4187
  )
4188
4188
  ]
4189
4189
  }
4190
- ), F2 = ({
4190
+ ), U2 = ({
4191
4191
  width: i = 20,
4192
4192
  height: e = 20,
4193
4193
  color: t = "#001E52",
@@ -4220,7 +4220,7 @@ const H2 = ({
4220
4220
  )
4221
4221
  ]
4222
4222
  }
4223
- ), Y2 = ({
4223
+ ), z2 = ({
4224
4224
  width: i = 20,
4225
4225
  height: e = 20,
4226
4226
  color: t = "#001E52",
@@ -4267,7 +4267,7 @@ const H2 = ({
4267
4267
  )
4268
4268
  ]
4269
4269
  }
4270
- ), U2 = ({
4270
+ ), J2 = ({
4271
4271
  width: i = 20,
4272
4272
  height: e = 20,
4273
4273
  color: t = "#001E52",
@@ -4300,7 +4300,7 @@ const H2 = ({
4300
4300
  )
4301
4301
  ]
4302
4302
  }
4303
- ), z2 = ({
4303
+ ), q2 = ({
4304
4304
  width: i = 18,
4305
4305
  height: e = 16,
4306
4306
  color: t = "#001E52",
@@ -4339,7 +4339,7 @@ const H2 = ({
4339
4339
  )
4340
4340
  ]
4341
4341
  }
4342
- ), J2 = ({
4342
+ ), Q2 = ({
4343
4343
  width: i = 20,
4344
4344
  height: e = 20,
4345
4345
  color: t = "#001E52",
@@ -4372,7 +4372,7 @@ const H2 = ({
4372
4372
  )
4373
4373
  ]
4374
4374
  }
4375
- ), q2 = ({
4375
+ ), X2 = ({
4376
4376
  width: i = 20,
4377
4377
  height: e = 20,
4378
4378
  color: t = "#001E52",
@@ -4396,7 +4396,7 @@ const H2 = ({
4396
4396
  }
4397
4397
  )
4398
4398
  }
4399
- ), Q2 = ({
4399
+ ), e5 = ({
4400
4400
  width: i = 20,
4401
4401
  height: e = 20,
4402
4402
  color: t = "#001E52",
@@ -4443,7 +4443,7 @@ const H2 = ({
4443
4443
  )
4444
4444
  ]
4445
4445
  }
4446
- ), X2 = ({
4446
+ ), t5 = ({
4447
4447
  width: i = 20,
4448
4448
  height: e = 20,
4449
4449
  color: t = "#001E52",
@@ -4476,7 +4476,7 @@ const H2 = ({
4476
4476
  )
4477
4477
  ]
4478
4478
  }
4479
- ), e5 = ({
4479
+ ), i5 = ({
4480
4480
  width: i = 20,
4481
4481
  height: e = 20,
4482
4482
  color: t = "#001E52",
@@ -4509,7 +4509,7 @@ const H2 = ({
4509
4509
  )
4510
4510
  ]
4511
4511
  }
4512
- ), t5 = ({
4512
+ ), s5 = ({
4513
4513
  width: i = 20,
4514
4514
  height: e = 23,
4515
4515
  color: t = "#001E52",
@@ -4570,7 +4570,7 @@ const H2 = ({
4570
4570
  )
4571
4571
  ]
4572
4572
  }
4573
- ), i5 = ({
4573
+ ), n5 = ({
4574
4574
  width: i = 20,
4575
4575
  height: e = 20,
4576
4576
  color: t = "#001E52",
@@ -4610,7 +4610,7 @@ const H2 = ({
4610
4610
  )
4611
4611
  ]
4612
4612
  }
4613
- ), s5 = ({
4613
+ ), r5 = ({
4614
4614
  width: i = 32,
4615
4615
  height: e = 25,
4616
4616
  color: t = "#001E52",
@@ -4638,7 +4638,7 @@ const H2 = ({
4638
4638
  )
4639
4639
  ]
4640
4640
  }
4641
- ), n5 = ({
4641
+ ), o5 = ({
4642
4642
  width: i = 14,
4643
4643
  height: e = 14,
4644
4644
  color: t = "#10B981",
@@ -4667,7 +4667,7 @@ const H2 = ({
4667
4667
  )
4668
4668
  ]
4669
4669
  }
4670
- ), r5 = ({
4670
+ ), l5 = ({
4671
4671
  width: i = 11,
4672
4672
  height: e = 11,
4673
4673
  color: t = "#FFB020",
@@ -4701,7 +4701,7 @@ const H2 = ({
4701
4701
  )
4702
4702
  ]
4703
4703
  }
4704
- ), o5 = ({
4704
+ ), a5 = ({
4705
4705
  width: i = 10,
4706
4706
  height: e = 10,
4707
4707
  color: t = "#88A4FF",
@@ -4749,7 +4749,7 @@ const H2 = ({
4749
4749
  )
4750
4750
  ]
4751
4751
  }
4752
- ), l5 = ({
4752
+ ), h5 = ({
4753
4753
  width: i = 14,
4754
4754
  height: e = 14,
4755
4755
  color: t = "#8E8E93",
@@ -4777,7 +4777,7 @@ const H2 = ({
4777
4777
  )
4778
4778
  ]
4779
4779
  }
4780
- ), a5 = ({
4780
+ ), c5 = ({
4781
4781
  width: i = 14,
4782
4782
  height: e = 14,
4783
4783
  color: t = "#FFB020",
@@ -4811,7 +4811,7 @@ const H2 = ({
4811
4811
  )
4812
4812
  ]
4813
4813
  }
4814
- ), h5 = ({
4814
+ ), d5 = ({
4815
4815
  width: i = 14,
4816
4816
  height: e = 14,
4817
4817
  color: t = "#D0421B",
@@ -4859,7 +4859,7 @@ const H2 = ({
4859
4859
  )
4860
4860
  ]
4861
4861
  }
4862
- ), c5 = ({
4862
+ ), g5 = ({
4863
4863
  width: i = 20,
4864
4864
  height: e = 20,
4865
4865
  color: t = "#070739",
@@ -4889,7 +4889,7 @@ const H2 = ({
4889
4889
  /* @__PURE__ */ r("circle", { cx: "10", cy: "10", r: "2.375", stroke: t, strokeWidth: "1.25" })
4890
4890
  ]
4891
4891
  }
4892
- ), d5 = ({
4892
+ ), u5 = ({
4893
4893
  width: i = 20,
4894
4894
  height: e = 20,
4895
4895
  color: t = "#070739",
@@ -4927,7 +4927,7 @@ const H2 = ({
4927
4927
  )
4928
4928
  ]
4929
4929
  }
4930
- ), g5 = ({
4930
+ ), C5 = ({
4931
4931
  width: i = 9,
4932
4932
  height: e = 5,
4933
4933
  color: t = "#001E52",
@@ -4953,7 +4953,7 @@ const H2 = ({
4953
4953
  }
4954
4954
  )
4955
4955
  }
4956
- ), u5 = ({
4956
+ ), p5 = ({
4957
4957
  width: i = 20,
4958
4958
  height: e = 20,
4959
4959
  color: t = "#F2F2F7",
@@ -4982,7 +4982,7 @@ const H2 = ({
4982
4982
  )
4983
4983
  ]
4984
4984
  }
4985
- ), C5 = ({
4985
+ ), f5 = ({
4986
4986
  width: i = 20,
4987
4987
  height: e = 20,
4988
4988
  color: t = "#004ED7",
@@ -5011,7 +5011,7 @@ const H2 = ({
5011
5011
  )
5012
5012
  ]
5013
5013
  }
5014
- ), p5 = ({
5014
+ ), w5 = ({
5015
5015
  width: i = 248,
5016
5016
  height: e = 248,
5017
5017
  color: t = "#070739",
@@ -5048,7 +5048,7 @@ const H2 = ({
5048
5048
  )
5049
5049
  ]
5050
5050
  }
5051
- ), f5 = ({
5051
+ ), m5 = ({
5052
5052
  width: i = 24,
5053
5053
  height: e = 24,
5054
5054
  color: t = "#001E52",
@@ -5087,7 +5087,7 @@ const H2 = ({
5087
5087
  )
5088
5088
  ]
5089
5089
  }
5090
- ), w5 = ({
5090
+ ), k5 = ({
5091
5091
  width: i = 10,
5092
5092
  height: e = 10,
5093
5093
  color: t = "#001E52",
@@ -5116,7 +5116,7 @@ const H2 = ({
5116
5116
  )
5117
5117
  ]
5118
5118
  }
5119
- ), m5 = ({
5119
+ ), L5 = ({
5120
5120
  width: i = 10,
5121
5121
  height: e = 10,
5122
5122
  color: t = "#001E52",
@@ -5153,10 +5153,10 @@ const H2 = ({
5153
5153
  )
5154
5154
  ]
5155
5155
  }
5156
- ), k5 = ({
5156
+ ), v5 = ({
5157
5157
  width: i = 24,
5158
5158
  height: e = 24,
5159
- color: t = y.GREY_DARK_5,
5159
+ color: t = b.GREY_DARK_5,
5160
5160
  className: s,
5161
5161
  onClick: n
5162
5162
  }) => /* @__PURE__ */ u(
@@ -5192,10 +5192,10 @@ const H2 = ({
5192
5192
  )
5193
5193
  ]
5194
5194
  }
5195
- ), L5 = ({
5195
+ ), N5 = ({
5196
5196
  width: i = 20,
5197
5197
  height: e = 20,
5198
- color: t = y.GREY_DARK_1,
5198
+ color: t = b.GREY_DARK_1,
5199
5199
  className: s,
5200
5200
  onClick: n
5201
5201
  }) => /* @__PURE__ */ u(
@@ -5225,10 +5225,10 @@ const H2 = ({
5225
5225
  )
5226
5226
  ]
5227
5227
  }
5228
- ), v5 = ({
5228
+ ), x5 = ({
5229
5229
  width: i = 81,
5230
5230
  height: e = 80,
5231
- color: t = y.GREY_DARK_5,
5231
+ color: t = b.GREY_DARK_5,
5232
5232
  className: s,
5233
5233
  onClick: n
5234
5234
  }) => /* @__PURE__ */ u(
@@ -5274,9 +5274,9 @@ const H2 = ({
5274
5274
  )
5275
5275
  ]
5276
5276
  }
5277
- ), N5 = ({
5277
+ ), R5 = ({
5278
5278
  className: i,
5279
- color: e = y.GREY_DARK_5,
5279
+ color: e = b.GREY_DARK_5,
5280
5280
  height: t = 20,
5281
5281
  width: s = 20,
5282
5282
  onClick: n
@@ -5301,9 +5301,9 @@ const H2 = ({
5301
5301
  }
5302
5302
  )
5303
5303
  }
5304
- ), x5 = ({
5304
+ ), M5 = ({
5305
5305
  className: i,
5306
- color: e = y.GREY_DARK_5,
5306
+ color: e = b.GREY_DARK_5,
5307
5307
  height: t = 20,
5308
5308
  width: s = 20,
5309
5309
  onClick: n
@@ -5328,9 +5328,9 @@ const H2 = ({
5328
5328
  }
5329
5329
  )
5330
5330
  }
5331
- ), R5 = ({
5331
+ ), y5 = ({
5332
5332
  className: i,
5333
- color: e = y.GREY_DARK_5,
5333
+ color: e = b.GREY_DARK_5,
5334
5334
  height: t = 5,
5335
5335
  width: s = 10,
5336
5336
  onClick: n
@@ -5352,9 +5352,9 @@ const H2 = ({
5352
5352
  }
5353
5353
  )
5354
5354
  }
5355
- ), M5 = ({
5355
+ ), b5 = ({
5356
5356
  className: i,
5357
- color: e = y.GREY_DARK_5,
5357
+ color: e = b.GREY_DARK_5,
5358
5358
  height: t = 5,
5359
5359
  width: s = 10,
5360
5360
  onClick: n
@@ -5377,9 +5377,9 @@ const H2 = ({
5377
5377
  }
5378
5378
  )
5379
5379
  }
5380
- ), b5 = ({
5380
+ ), E5 = ({
5381
5381
  className: i,
5382
- color: e = y.GREY_DARK_5,
5382
+ color: e = b.GREY_DARK_5,
5383
5383
  height: t = 24,
5384
5384
  width: s = 24,
5385
5385
  onClick: n
@@ -5416,9 +5416,9 @@ const H2 = ({
5416
5416
  )
5417
5417
  ]
5418
5418
  }
5419
- ), y5 = ({
5419
+ ), _5 = ({
5420
5420
  className: i,
5421
- color: e = y.GREY_DARK_5,
5421
+ color: e = b.GREY_DARK_5,
5422
5422
  height: t = 24,
5423
5423
  width: s = 24,
5424
5424
  onClick: n
@@ -5455,9 +5455,9 @@ const H2 = ({
5455
5455
  )
5456
5456
  ]
5457
5457
  }
5458
- ), _5 = ({
5458
+ ), H5 = ({
5459
5459
  className: i,
5460
- color: e = y.GREY_DARK_5,
5460
+ color: e = b.GREY_DARK_5,
5461
5461
  height: t = 24,
5462
5462
  width: s = 24,
5463
5463
  onClick: n
@@ -5482,9 +5482,9 @@ const H2 = ({
5482
5482
  }
5483
5483
  )
5484
5484
  }
5485
- ), E5 = ({
5485
+ ), V5 = ({
5486
5486
  className: i,
5487
- color: e = y.GREY_DARK_5,
5487
+ color: e = b.GREY_DARK_5,
5488
5488
  height: t = 24,
5489
5489
  width: s = 24,
5490
5490
  onClick: n
@@ -5541,9 +5541,9 @@ const H2 = ({
5541
5541
  )
5542
5542
  ]
5543
5543
  }
5544
- ), H5 = ({
5544
+ ), I5 = ({
5545
5545
  className: i,
5546
- color: e = y.GREY_DARK_5,
5546
+ color: e = b.GREY_DARK_5,
5547
5547
  height: t = 24,
5548
5548
  width: s = 24,
5549
5549
  onClick: n
@@ -5578,9 +5578,9 @@ const H2 = ({
5578
5578
  )
5579
5579
  ]
5580
5580
  }
5581
- ), V5 = ({
5581
+ ), O5 = ({
5582
5582
  className: i,
5583
- color: e = y.GREY_DARK_3,
5583
+ color: e = b.GREY_DARK_3,
5584
5584
  height: t = 14,
5585
5585
  width: s = 14,
5586
5586
  onClick: n
@@ -5615,9 +5615,9 @@ const H2 = ({
5615
5615
  )
5616
5616
  ]
5617
5617
  }
5618
- ), I5 = ({
5618
+ ), S5 = ({
5619
5619
  className: i,
5620
- color: e = y.GREY_DARK_5,
5620
+ color: e = b.GREY_DARK_5,
5621
5621
  height: t = 18,
5622
5622
  onClick: s,
5623
5623
  width: n = 18
@@ -5642,9 +5642,9 @@ const H2 = ({
5642
5642
  }
5643
5643
  )
5644
5644
  }
5645
- ), O5 = ({
5645
+ ), A5 = ({
5646
5646
  className: i,
5647
- color: e = y.GREY_DARK_5,
5647
+ color: e = b.GREY_DARK_5,
5648
5648
  height: t = 24,
5649
5649
  width: s = 24,
5650
5650
  onClick: n
@@ -5694,9 +5694,9 @@ const H2 = ({
5694
5694
  )
5695
5695
  ]
5696
5696
  }
5697
- ), S5 = ({
5697
+ ), B5 = ({
5698
5698
  className: i,
5699
- color: e = y.GREY_DARK_5,
5699
+ color: e = b.GREY_DARK_5,
5700
5700
  height: t = 24,
5701
5701
  width: s = 24,
5702
5702
  onClick: n
@@ -5731,9 +5731,9 @@ const H2 = ({
5731
5731
  )
5732
5732
  ]
5733
5733
  }
5734
- ), A5 = ({
5734
+ ), Z5 = ({
5735
5735
  className: i,
5736
- color: e = y.NOTIFICATION_WARNING_DARK,
5736
+ color: e = b.NOTIFICATION_WARNING_DARK,
5737
5737
  height: t = 37,
5738
5738
  width: s = 36,
5739
5739
  onClick: n
@@ -5770,9 +5770,9 @@ const H2 = ({
5770
5770
  )
5771
5771
  ]
5772
5772
  }
5773
- ), B5 = ({
5773
+ ), j5 = ({
5774
5774
  className: i,
5775
- color: e = y.GREY_DARK_5,
5775
+ color: e = b.GREY_DARK_5,
5776
5776
  height: t = 24,
5777
5777
  width: s = 24,
5778
5778
  onClick: n
@@ -5796,9 +5796,9 @@ const H2 = ({
5796
5796
  }
5797
5797
  )
5798
5798
  }
5799
- ), Z5 = ({
5799
+ ), W5 = ({
5800
5800
  className: i,
5801
- color: e = y.GREY_DARK_5,
5801
+ color: e = b.GREY_DARK_5,
5802
5802
  height: t = 24,
5803
5803
  width: s = 24,
5804
5804
  onClick: n
@@ -5835,9 +5835,9 @@ const H2 = ({
5835
5835
  )
5836
5836
  ]
5837
5837
  }
5838
- ), j5 = ({
5838
+ ), T5 = ({
5839
5839
  className: i,
5840
- color: e = y.GREY_DARK_5,
5840
+ color: e = b.GREY_DARK_5,
5841
5841
  height: t = 24,
5842
5842
  width: s = 24,
5843
5843
  onClick: n
@@ -5874,9 +5874,9 @@ const H2 = ({
5874
5874
  )
5875
5875
  ]
5876
5876
  }
5877
- ), W5 = ({
5877
+ ), D5 = ({
5878
5878
  className: i,
5879
- color: e = y.GREY_DARK_5,
5879
+ color: e = b.GREY_DARK_5,
5880
5880
  height: t = 24,
5881
5881
  width: s = 24,
5882
5882
  onClick: n
@@ -5943,9 +5943,9 @@ const H2 = ({
5943
5943
  )
5944
5944
  ]
5945
5945
  }
5946
- ), T5 = ({
5946
+ ), G5 = ({
5947
5947
  className: i,
5948
- color: e = y.GREY_DARK_5,
5948
+ color: e = b.GREY_DARK_5,
5949
5949
  height: t = 24,
5950
5950
  width: s = 24,
5951
5951
  onClick: n
@@ -5982,9 +5982,9 @@ const H2 = ({
5982
5982
  )
5983
5983
  ]
5984
5984
  }
5985
- ), D5 = ({
5985
+ ), K5 = ({
5986
5986
  className: i,
5987
- color: e = y.GREY_DARK_5,
5987
+ color: e = b.GREY_DARK_5,
5988
5988
  height: t = 24,
5989
5989
  width: s = 24,
5990
5990
  onClick: n
@@ -6039,9 +6039,9 @@ const H2 = ({
6039
6039
  )
6040
6040
  ]
6041
6041
  }
6042
- ), G5 = ({
6042
+ ), P5 = ({
6043
6043
  className: i,
6044
- color: e = y.GREY_DARK_5,
6044
+ color: e = b.GREY_DARK_5,
6045
6045
  height: t = 24,
6046
6046
  width: s = 24,
6047
6047
  onClick: n
@@ -6078,9 +6078,9 @@ const H2 = ({
6078
6078
  )
6079
6079
  ]
6080
6080
  }
6081
- ), K5 = ({
6081
+ ), $5 = ({
6082
6082
  className: i,
6083
- color: e = y.GREY_DARK_5,
6083
+ color: e = b.GREY_DARK_5,
6084
6084
  height: t = 24,
6085
6085
  width: s = 24,
6086
6086
  onClick: n
@@ -6127,9 +6127,9 @@ const H2 = ({
6127
6127
  )
6128
6128
  ]
6129
6129
  }
6130
- ), P5 = ({
6130
+ ), F5 = ({
6131
6131
  className: i,
6132
- color: e = y.GREY_DARK_5,
6132
+ color: e = b.GREY_DARK_5,
6133
6133
  height: t = 24,
6134
6134
  width: s = 24,
6135
6135
  onClick: n
@@ -6166,9 +6166,9 @@ const H2 = ({
6166
6166
  )
6167
6167
  ]
6168
6168
  }
6169
- ), $5 = ({
6169
+ ), Y5 = ({
6170
6170
  className: i,
6171
- color: e = y.GREY_DARK_5,
6171
+ color: e = b.GREY_DARK_5,
6172
6172
  height: t = 24,
6173
6173
  width: s = 24,
6174
6174
  onClick: n
@@ -6193,9 +6193,9 @@ const H2 = ({
6193
6193
  }
6194
6194
  )
6195
6195
  }
6196
- ), F5 = ({
6196
+ ), U5 = ({
6197
6197
  className: i,
6198
- color: e = y.GREY_DARK_5,
6198
+ color: e = b.GREY_DARK_5,
6199
6199
  height: t = 24,
6200
6200
  width: s = 24,
6201
6201
  onClick: n
@@ -6231,9 +6231,9 @@ const H2 = ({
6231
6231
  )
6232
6232
  ]
6233
6233
  }
6234
- ), Y5 = ({
6234
+ ), z5 = ({
6235
6235
  className: i,
6236
- color: e = y.GREY_DARK_5,
6236
+ color: e = b.GREY_DARK_5,
6237
6237
  height: t = 24,
6238
6238
  width: s = 24,
6239
6239
  onClick: n
@@ -6252,9 +6252,9 @@ const H2 = ({
6252
6252
  /* @__PURE__ */ r("path", { d: "M12 8L4 8", stroke: e, strokeWidth: "1.7", strokeLinecap: "round" })
6253
6253
  ]
6254
6254
  }
6255
- ), U5 = ({
6255
+ ), J5 = ({
6256
6256
  className: i,
6257
- color: e = y.GREY_DARK_5,
6257
+ color: e = b.GREY_DARK_5,
6258
6258
  height: t = 24,
6259
6259
  width: s = 24,
6260
6260
  onClick: n
@@ -6291,9 +6291,9 @@ const H2 = ({
6291
6291
  )
6292
6292
  ]
6293
6293
  }
6294
- ), z5 = ({
6294
+ ), q5 = ({
6295
6295
  className: i,
6296
- color: e = y.GREY_DARK_5,
6296
+ color: e = b.GREY_DARK_5,
6297
6297
  height: t = 24,
6298
6298
  width: s = 24,
6299
6299
  onClick: n
@@ -6330,9 +6330,9 @@ const H2 = ({
6330
6330
  )
6331
6331
  ]
6332
6332
  }
6333
- ), J5 = ({
6333
+ ), Q5 = ({
6334
6334
  className: i,
6335
- color: e = y.GREY_DARK_5,
6335
+ color: e = b.GREY_DARK_5,
6336
6336
  height: t = 24,
6337
6337
  width: s = 24,
6338
6338
  onClick: n
@@ -6369,9 +6369,9 @@ const H2 = ({
6369
6369
  )
6370
6370
  ]
6371
6371
  }
6372
- ), q5 = ({
6372
+ ), X5 = ({
6373
6373
  className: i,
6374
- color: e = y.GREY_DARK_2,
6374
+ color: e = b.GREY_DARK_2,
6375
6375
  height: t = 16,
6376
6376
  width: s = 16,
6377
6377
  onClick: n
@@ -6395,9 +6395,9 @@ const H2 = ({
6395
6395
  }
6396
6396
  )
6397
6397
  }
6398
- ), Q5 = ({
6398
+ ), e3 = ({
6399
6399
  className: i,
6400
- color: e = y.GREY_DARK_5,
6400
+ color: e = b.GREY_DARK_5,
6401
6401
  height: t = 20,
6402
6402
  width: s = 20,
6403
6403
  onClick: n
@@ -6424,9 +6424,9 @@ const H2 = ({
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
- ), X5 = ({
6427
+ ), t3 = ({
6428
6428
  className: i,
6429
- color: e = y.GREY_DARK_5,
6429
+ color: e = b.GREY_DARK_5,
6430
6430
  height: t = 20,
6431
6431
  width: s = 20,
6432
6432
  onClick: n
@@ -6453,9 +6453,9 @@ const H2 = ({
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
- ), e3 = ({
6456
+ ), i3 = ({
6457
6457
  className: i,
6458
- color: e = y.GREY_DARK_5,
6458
+ color: e = b.GREY_DARK_5,
6459
6459
  height: t = 20,
6460
6460
  width: s = 20,
6461
6461
  onClick: n
@@ -6470,7 +6470,7 @@ const H2 = ({
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: y.GREY_LIGHT_2 }),
6473
+ /* @__PURE__ */ r("rect", { width: "20", height: "20", rx: "4", fill: b.GREY_LIGHT_2 }),
6474
6474
  /* @__PURE__ */ r(
6475
6475
  "path",
6476
6476
  {
@@ -6482,9 +6482,9 @@ const H2 = ({
6482
6482
  )
6483
6483
  ]
6484
6484
  }
6485
- ), t3 = ({
6485
+ ), s3 = ({
6486
6486
  className: i,
6487
- color: e = y.GREY_DARK_5,
6487
+ color: e = b.GREY_DARK_5,
6488
6488
  height: t = 20,
6489
6489
  width: s = 20,
6490
6490
  onClick: n
@@ -6499,7 +6499,7 @@ const H2 = ({
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: y.GREY_LIGHT_2 }),
6502
+ /* @__PURE__ */ r("rect", { width: "20", height: "20", rx: "4", fill: b.GREY_LIGHT_2 }),
6503
6503
  /* @__PURE__ */ r(
6504
6504
  "path",
6505
6505
  {
@@ -6511,7 +6511,7 @@ const H2 = ({
6511
6511
  )
6512
6512
  ]
6513
6513
  }
6514
- ), i3 = ({
6514
+ ), n3 = ({
6515
6515
  className: i,
6516
6516
  color: e = "#001E52",
6517
6517
  height: t = 24,
@@ -6537,7 +6537,7 @@ const H2 = ({
6537
6537
  }
6538
6538
  )
6539
6539
  }
6540
- ), s3 = ({
6540
+ ), r3 = ({
6541
6541
  className: i,
6542
6542
  color: e = "#131314",
6543
6543
  height: t = 20,
@@ -6565,7 +6565,7 @@ const H2 = ({
6565
6565
  }
6566
6566
  )
6567
6567
  }
6568
- ), n3 = ({
6568
+ ), o3 = ({
6569
6569
  className: i,
6570
6570
  color: e = "#001E52",
6571
6571
  height: t = 24,
@@ -6603,7 +6603,7 @@ const H2 = ({
6603
6603
  )
6604
6604
  ] }) })
6605
6605
  }
6606
- ), r3 = ({
6606
+ ), l3 = ({
6607
6607
  width: i = 20,
6608
6608
  height: e = 20,
6609
6609
  color: t = "#001E52",
@@ -6659,7 +6659,7 @@ const H2 = ({
6659
6659
  }
6660
6660
  )
6661
6661
  }
6662
- ), o3 = ({
6662
+ ), a3 = ({
6663
6663
  width: i = 24,
6664
6664
  height: e = 24,
6665
6665
  color: t = "#131314",
@@ -6692,7 +6692,7 @@ const H2 = ({
6692
6692
  )
6693
6693
  ]
6694
6694
  }
6695
- ), l3 = ({
6695
+ ), h3 = ({
6696
6696
  name: i,
6697
6697
  width: e,
6698
6698
  height: t,
@@ -6701,49 +6701,49 @@ const H2 = ({
6701
6701
  disabled: l = !1,
6702
6702
  onClick: c
6703
6703
  }) => {
6704
- const [o, d] = B(n), { theme: g } = n1(ae), a = l ? g && g === "dark" ? y.GREY_LIGHT_4 : y.GREY_DARK_1 : s, h = l ? void 0 : c;
6705
- return T(() => {
6704
+ const [o, d] = Z(n), { theme: g } = s1(he), a = l ? g && g === "dark" ? b.GREY_LIGHT_4 : b.GREY_DARK_1 : s, h = l ? void 0 : c;
6705
+ return G(() => {
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 N5({ width: e, height: t, color: a, className: o, onClick: h });
6714
+ return R5({ width: e, height: t, color: a, className: o, onClick: h });
6715
6715
  case "prevIcon":
6716
- return x5({ width: e, height: t, color: a, className: o, onClick: h });
6716
+ return M5({ width: e, height: t, color: a, className: o, onClick: h });
6717
6717
  case "arrowUp":
6718
- return H2({ width: e, height: t, color: a, className: o, onClick: h });
6718
+ return I2({ width: e, height: t, color: a, className: o, onClick: h });
6719
6719
  case "arrowDown":
6720
- return V2({ width: e, height: t, color: a, className: o, onClick: h });
6720
+ return O2({ width: e, height: t, color: a, className: o, onClick: h });
6721
6721
  case "info":
6722
- return I2({ width: e, height: t, color: a, className: o, onClick: h });
6722
+ return S2({ width: e, height: t, color: a, className: o, onClick: h });
6723
6723
  case "arrowRight":
6724
- return O2({ width: e, height: t, color: a, className: o, onClick: h });
6724
+ return A2({ width: e, height: t, color: a, className: o, onClick: h });
6725
6725
  case "calendar":
6726
- return S2({ width: e, height: t, color: a, className: o, onClick: h });
6726
+ return B2({ width: e, height: t, color: a, className: o, onClick: h });
6727
6727
  case "ok":
6728
- return A2({ width: e, height: t, color: a, className: o, onClick: h });
6728
+ return Z2({ width: e, height: t, color: a, className: o, onClick: h });
6729
6729
  case "cancel":
6730
- return B2({ width: e, height: t, color: a, className: o, onClick: h });
6730
+ return j2({ width: e, height: t, color: a, className: o, onClick: h });
6731
6731
  case "add":
6732
- return Z2({ width: e, height: t, color: a, className: o, onClick: h });
6732
+ return W2({ width: e, height: t, color: a, className: o, onClick: h });
6733
6733
  case "list":
6734
- return j2({ width: e, height: t, color: a, className: o, onClick: h });
6734
+ return T2({ width: e, height: t, color: a, className: o, onClick: h });
6735
6735
  case "dragAndDrop":
6736
- return W2({ width: e, height: t, color: a, className: o, onClick: h });
6736
+ return D2({ width: e, height: t, color: a, className: o, onClick: h });
6737
6737
  case "filter":
6738
- return T2({ width: e, height: t, color: a, className: o, onClick: h });
6738
+ return G2({ width: e, height: t, color: a, className: o, onClick: h });
6739
6739
  case "attention":
6740
- return D2({ width: e, height: t, color: a, className: o, onClick: h });
6740
+ return K2({ width: e, height: t, color: a, className: o, onClick: h });
6741
6741
  case "plus":
6742
- return G2({ width: e, height: t, color: a, className: o, onClick: h });
6742
+ return P2({ width: e, height: t, color: a, className: o, onClick: h });
6743
6743
  case "time":
6744
- return K2({ width: e, height: t, color: a, className: o, onClick: h });
6744
+ return $2({ width: e, height: t, color: a, className: o, onClick: h });
6745
6745
  case "arrowDownLong":
6746
- return P2({
6746
+ return F2({
6747
6747
  width: e,
6748
6748
  height: t,
6749
6749
  color: a,
@@ -6751,9 +6751,9 @@ const H2 = ({
6751
6751
  onClick: h
6752
6752
  });
6753
6753
  case "users":
6754
- return $2({ width: e, height: t, color: a, className: o, onClick: h });
6754
+ return Y2({ width: e, height: t, color: a, className: o, onClick: h });
6755
6755
  case "mySkillsMatrix":
6756
- return F2({
6756
+ return U2({
6757
6757
  width: e,
6758
6758
  height: t,
6759
6759
  color: a,
@@ -6761,9 +6761,9 @@ const H2 = ({
6761
6761
  onClick: h
6762
6762
  });
6763
6763
  case "skills":
6764
- return Y2({ width: e, height: t, color: a, className: o, onClick: h });
6764
+ return z2({ width: e, height: t, color: a, className: o, onClick: h });
6765
6765
  case "skillsMatrices":
6766
- return U2({
6766
+ return J2({
6767
6767
  width: e,
6768
6768
  height: t,
6769
6769
  color: a,
@@ -6771,23 +6771,23 @@ const H2 = ({
6771
6771
  onClick: h
6772
6772
  });
6773
6773
  case "history":
6774
- return z2({ width: e, height: t, color: a, className: o, onClick: h });
6774
+ return q2({ width: e, height: t, color: a, className: o, onClick: h });
6775
6775
  case "logOut":
6776
- return J2({ width: e, height: t, color: a, className: o, onClick: h });
6776
+ return Q2({ width: e, height: t, color: a, className: o, onClick: h });
6777
6777
  case "settings":
6778
- return q2({ width: e, height: t, color: a, className: o, onClick: h });
6778
+ return X2({ width: e, height: t, color: a, className: o, onClick: h });
6779
6779
  case "addSkill":
6780
- return Q2({ width: e, height: t, color: a, className: o, onClick: h });
6780
+ return e5({ width: e, height: t, color: a, className: o, onClick: h });
6781
6781
  case "conversation":
6782
- return X2({ width: e, height: t, color: a, className: o, onClick: h });
6782
+ return t5({ width: e, height: t, color: a, className: o, onClick: h });
6783
6783
  case "trash":
6784
- return e5({ width: e, height: t, color: a, className: o, onClick: h });
6784
+ return i5({ width: e, height: t, color: a, className: o, onClick: h });
6785
6785
  case "settings4":
6786
- return t5({ width: e, height: t, color: a, className: o, onClick: h });
6786
+ return s5({ width: e, height: t, color: a, className: o, onClick: h });
6787
6787
  case "edit2":
6788
- return i5({ width: e, height: t, color: a, className: o, onClick: h });
6788
+ return n5({ width: e, height: t, color: a, className: o, onClick: h });
6789
6789
  case "notifications":
6790
- return s5({
6790
+ return r5({
6791
6791
  width: e,
6792
6792
  height: t,
6793
6793
  color: a,
@@ -6795,9 +6795,9 @@ const H2 = ({
6795
6795
  onClick: h
6796
6796
  });
6797
6797
  case "success":
6798
- return n5({ width: e, height: t, color: a, className: o, onClick: h });
6798
+ return o5({ width: e, height: t, color: a, className: o, onClick: h });
6799
6799
  case "attentionSmall":
6800
- return r5({
6800
+ return l5({
6801
6801
  width: e,
6802
6802
  height: t,
6803
6803
  color: a,
@@ -6805,11 +6805,11 @@ const H2 = ({
6805
6805
  onClick: h
6806
6806
  });
6807
6807
  case "errorSmall":
6808
- return o5({ width: e, height: t, color: a, className: o, onClick: h });
6808
+ return a5({ width: e, height: t, color: a, className: o, onClick: h });
6809
6809
  case "infoMedium":
6810
- return l5({ width: e, height: t, color: a, className: o, onClick: h });
6810
+ return h5({ width: e, height: t, color: a, className: o, onClick: h });
6811
6811
  case "attentionMedium":
6812
- return a5({
6812
+ return c5({
6813
6813
  width: e,
6814
6814
  height: t,
6815
6815
  color: a,
@@ -6817,9 +6817,9 @@ const H2 = ({
6817
6817
  onClick: h
6818
6818
  });
6819
6819
  case "errorMedium":
6820
- return h5({ width: e, height: t, color: a, className: o, onClick: h });
6820
+ return d5({ width: e, height: t, color: a, className: o, onClick: h });
6821
6821
  case "faviconSkills":
6822
- return p5({
6822
+ return w5({
6823
6823
  width: e,
6824
6824
  height: t,
6825
6825
  color: a,
@@ -6827,7 +6827,7 @@ const H2 = ({
6827
6827
  onClick: h
6828
6828
  });
6829
6829
  case "visibilityIcon":
6830
- return c5({
6830
+ return g5({
6831
6831
  width: e,
6832
6832
  height: t,
6833
6833
  color: a,
@@ -6835,7 +6835,7 @@ const H2 = ({
6835
6835
  onClick: h
6836
6836
  });
6837
6837
  case "visibilityOffIcon":
6838
- return d5({
6838
+ return u5({
6839
6839
  width: e,
6840
6840
  height: t,
6841
6841
  color: a,
@@ -6843,7 +6843,7 @@ const H2 = ({
6843
6843
  onClick: h
6844
6844
  });
6845
6845
  case "selectArrowIcon":
6846
- return g5({
6846
+ return C5({
6847
6847
  width: e,
6848
6848
  height: t,
6849
6849
  color: a,
@@ -6851,7 +6851,7 @@ const H2 = ({
6851
6851
  onClick: h
6852
6852
  });
6853
6853
  case "expandArrowIcon":
6854
- return u5({
6854
+ return p5({
6855
6855
  width: e,
6856
6856
  height: t,
6857
6857
  color: a,
@@ -6859,7 +6859,7 @@ const H2 = ({
6859
6859
  onClick: h
6860
6860
  });
6861
6861
  case "expandActiveArrowIcon":
6862
- return C5({
6862
+ return f5({
6863
6863
  width: e,
6864
6864
  height: t,
6865
6865
  color: a,
@@ -6867,103 +6867,103 @@ const H2 = ({
6867
6867
  onClick: h
6868
6868
  });
6869
6869
  case "camera":
6870
- return f5({ width: e, height: t, color: a, className: o, onClick: h });
6870
+ return m5({ width: e, height: t, color: a, className: o, onClick: h });
6871
6871
  case "sortUp":
6872
- return w5({ width: e, height: t, color: a, className: o, onClick: h });
6872
+ return k5({ width: e, height: t, color: a, className: o, onClick: h });
6873
6873
  case "sortDown":
6874
- return m5({ width: e, height: t, color: a, className: o, onClick: h });
6874
+ return L5({ width: e, height: t, color: a, className: o, onClick: h });
6875
6875
  case "logOut2":
6876
- return k5({ width: e, height: t, color: a, className: o, onClick: h });
6876
+ return v5({ width: e, height: t, color: a, className: o, onClick: h });
6877
6877
  case "search":
6878
- return L5({ width: e, height: t, color: a, className: o, onClick: h });
6878
+ return N5({ width: e, height: t, color: a, className: o, onClick: h });
6879
6879
  case "handRock":
6880
- return v5({ width: e, height: t, color: a, className: o, onClick: h });
6880
+ return x5({ width: e, height: t, color: a, className: o, onClick: h });
6881
6881
  case "arrowUpFilled":
6882
- return M5({ width: e, height: t, color: a, className: o, onClick: h });
6882
+ return b5({ width: e, height: t, color: a, className: o, onClick: h });
6883
6883
  case "arrowDownFilled":
6884
- return R5({ width: e, height: t, color: a, className: o, onClick: h });
6884
+ return y5({ width: e, height: t, color: a, className: o, onClick: h });
6885
6885
  case "link":
6886
- return b5({ width: e, height: t, color: a, className: o, onClick: h });
6886
+ return E5({ width: e, height: t, color: a, className: o, onClick: h });
6887
6887
  case "telegram":
6888
- return _5({ width: e, height: t, color: a, className: o, onClick: h });
6889
- case "mail":
6890
6888
  return H5({ width: e, height: t, color: a, className: o, onClick: h });
6889
+ case "mail":
6890
+ return I5({ width: e, height: t, color: a, className: o, onClick: h });
6891
6891
  case "github":
6892
- return y5({ width: e, height: t, color: a, className: o, onClick: h });
6892
+ return _5({ width: e, height: t, color: a, className: o, onClick: h });
6893
6893
  case "linkedIn":
6894
- return E5({ width: e, height: t, color: a, className: o, onClick: h });
6895
- case "emptyStateIcon":
6896
6894
  return V5({ width: e, height: t, color: a, className: o, onClick: h });
6895
+ case "emptyStateIcon":
6896
+ return O5({ width: e, height: t, color: a, className: o, onClick: h });
6897
6897
  case "filtersIcon":
6898
- return I5({ width: e, height: t, color: a, className: o, onClick: h });
6898
+ return S5({ width: e, height: t, color: a, className: o, onClick: h });
6899
6899
  case "dotMenuIcon":
6900
- return O5({ width: e, height: t, color: a, className: o, onClick: h });
6900
+ return A5({ width: e, height: t, color: a, className: o, onClick: h });
6901
6901
  case "plusCircle":
6902
- return S5({ width: e, height: t, color: a, className: o, onClick: h });
6902
+ return B5({ width: e, height: t, color: a, className: o, onClick: h });
6903
6903
  case "warning":
6904
- return A5({ width: e, height: t, color: a, className: o, onClick: h });
6904
+ return Z5({ width: e, height: t, color: a, className: o, onClick: h });
6905
6905
  case "back":
6906
- return B5({ width: e, height: t, color: a, className: o, onClick: h });
6906
+ return j5({ width: e, height: t, color: a, className: o, onClick: h });
6907
6907
  case "bell":
6908
- return Z5({ width: e, height: t, color: a, className: o, onClick: h });
6909
- case "contract":
6910
6908
  return W5({ width: e, height: t, color: a, className: o, onClick: h });
6909
+ case "contract":
6910
+ return D5({ width: e, height: t, color: a, className: o, onClick: h });
6911
6911
  case "trash2":
6912
- return j5({ width: e, height: t, color: a, className: o, onClick: h });
6913
- case "manager":
6914
6912
  return T5({ width: e, height: t, color: a, className: o, onClick: h });
6913
+ case "manager":
6914
+ return G5({ width: e, height: t, color: a, className: o, onClick: h });
6915
6915
  case "resourceManager":
6916
- return D5({ width: e, height: t, color: a, className: o, onClick: h });
6916
+ return K5({ width: e, height: t, color: a, className: o, onClick: h });
6917
6917
  case "settings2":
6918
- return G5({ width: e, height: t, color: a, className: o, onClick: h });
6918
+ return P5({ width: e, height: t, color: a, className: o, onClick: h });
6919
6919
  case "image":
6920
- return K5({ width: e, height: t, color: a, className: o, onClick: h });
6920
+ return $5({ width: e, height: t, color: a, className: o, onClick: h });
6921
6921
  case "upload":
6922
- return P5({ width: e, height: t, color: a, className: o, onClick: h });
6922
+ return F5({ width: e, height: t, color: a, className: o, onClick: h });
6923
6923
  case "edit":
6924
- return $5({ width: e, height: t, color: a, className: o, onClick: h });
6924
+ return Y5({ width: e, height: t, color: a, className: o, onClick: h });
6925
6925
  case "location":
6926
- return F5({ width: e, height: t, color: a, className: o, onClick: h });
6926
+ return U5({ width: e, height: t, color: a, className: o, onClick: h });
6927
6927
  case "plus2":
6928
- return Y5({ width: e, height: t, color: a, className: o, onClick: h });
6928
+ return z5({ width: e, height: t, color: a, className: o, onClick: h });
6929
6929
  case "search2":
6930
- return U5({ width: e, height: t, color: a, className: o, onClick: h });
6930
+ return J5({ width: e, height: t, color: a, className: o, onClick: h });
6931
6931
  case "fastArrowLeft":
6932
- return z5({ width: e, height: t, color: a, className: o, onClick: h });
6932
+ return q5({ width: e, height: t, color: a, className: o, onClick: h });
6933
6933
  case "fastArrowRight":
6934
- return J5({ width: e, height: t, color: a, className: o, onClick: h });
6934
+ return Q5({ width: e, height: t, color: a, className: o, onClick: h });
6935
6935
  case "crossInCircle":
6936
- return q5({ width: e, height: t, color: a, className: o, onClick: h });
6937
- case "arrowUp2":
6938
6936
  return X5({ width: e, height: t, color: a, className: o, onClick: h });
6937
+ case "arrowUp2":
6938
+ return t3({ width: e, height: t, color: a, className: o, onClick: h });
6939
6939
  case "arrowDown2":
6940
- return Q5({ width: e, height: t, color: a, className: o, onClick: h });
6941
- case "filledArrowLeft":
6942
6940
  return e3({ width: e, height: t, color: a, className: o, onClick: h });
6941
+ case "filledArrowLeft":
6942
+ return i3({ width: e, height: t, color: a, className: o, onClick: h });
6943
6943
  case "filledArrowRight":
6944
- return t3({ width: e, height: t, color: a, className: o, onClick: h });
6944
+ return s3({ width: e, height: t, color: a, className: o, onClick: h });
6945
6945
  case "burgerMenu":
6946
- return i3({ width: e, height: t, color: a, className: o, onClick: h });
6946
+ return n3({ width: e, height: t, color: a, className: o, onClick: h });
6947
6947
  case "signOut":
6948
- return s3({ width: e, height: t, color: a, className: o, onClick: h });
6948
+ return r3({ width: e, height: t, color: a, className: o, onClick: h });
6949
6949
  case "refresh":
6950
- return n3({ width: e, height: t, color: a, className: o, onClick: h });
6950
+ return o3({ width: e, height: t, color: a, className: o, onClick: h });
6951
6951
  case "projects":
6952
- return r3({ width: e, height: t, color: a, className: o, onClick: h });
6952
+ return l3({ width: e, height: t, color: a, className: o, onClick: h });
6953
6953
  case "exit":
6954
- return o3({ width: e, height: t, color: a, className: o, onClick: h });
6954
+ return a3({ 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 a3 = 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 c3 = h1({
6962
6962
  locale: "en",
6963
6963
  theme: "light"
6964
6964
  });
6965
- a3.Provider;
6966
- const he = ({
6965
+ c3.Provider;
6966
+ const ce = ({
6967
6967
  children: i,
6968
6968
  width: e,
6969
6969
  size: t = "small",
@@ -6975,14 +6975,14 @@ const he = ({
6975
6975
  l || s == null || s();
6976
6976
  };
6977
6977
  return /* @__PURE__ */ r(
6978
- xe,
6978
+ Me,
6979
6979
  {
6980
6980
  className: `snmt-tag ${t} ${l ? "disabled" : ""}`,
6981
6981
  closeIcon: /* @__PURE__ */ r(
6982
- l3,
6982
+ h3,
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 he = ({
6992
6992
  style: { width: e ?? "fit-content" },
6993
6993
  closable: n,
6994
6994
  children: typeof i == "string" ? /* @__PURE__ */ r(
6995
- E2,
6995
+ V2,
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
- }, h3 = ({
7004
+ }, d3 = ({
7005
7005
  children: i,
7006
7006
  content: e,
7007
7007
  isOpen: t,
@@ -7009,9 +7009,9 @@ const he = ({
7009
7009
  placement: n = "topRight",
7010
7010
  noPadding: l = !1
7011
7011
  }) => {
7012
- const [c, o] = B(!1);
7012
+ const [c, o] = Z(!1);
7013
7013
  return /* @__PURE__ */ r(
7014
- Re,
7014
+ ye,
7015
7015
  {
7016
7016
  content: e,
7017
7017
  arrow: !1,
@@ -7026,18 +7026,18 @@ const he = ({
7026
7026
  }
7027
7027
  );
7028
7028
  };
7029
- var c3 = { exports: {} };
7029
+ var g3 = { exports: {} };
7030
7030
  (function(i, e) {
7031
7031
  (function(t, s) {
7032
7032
  i.exports = s();
7033
- })(Ee, function() {
7033
+ })(Ve, 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
- })(c3);
7040
- const d3 = ({
7039
+ })(g3);
7040
+ const u3 = ({
7041
7041
  values: i,
7042
7042
  onTagClose: e,
7043
7043
  maxWidth: t,
@@ -7046,22 +7046,22 @@ const d3 = ({
7046
7046
  options: l,
7047
7047
  extraOptions: c
7048
7048
  }) => {
7049
- const { locale: o } = n1(A1), { t: d } = Fe("common", { lng: o }), [g, a] = B(!1);
7050
- if (T(() => {
7049
+ const { locale: o } = s1(A1), { t: d } = Ue("common", { lng: o }), [g, a] = Z(!1);
7050
+ if (G(() => {
7051
7051
  i.length || a(!1);
7052
7052
  }, [i]), !i.length)
7053
7053
  return null;
7054
7054
  const h = (C) => {
7055
- var p, w;
7056
- return ((p = l == null ? void 0 : l.find((x) => x.value === C)) == null ? void 0 : p.label) || ((w = c == null ? void 0 : c.find((x) => x.value === C)) == null ? void 0 : w.label) || C;
7055
+ var p, m;
7056
+ return ((p = l == null ? void 0 : l.find((x) => x.value === C)) == null ? void 0 : p.label) || ((m = c == null ? void 0 : c.find((x) => x.value === C)) == null ? void 0 : m.label) || C;
7057
7057
  };
7058
7058
  return /* @__PURE__ */ u(
7059
- h3,
7059
+ d3,
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
- he,
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
+ ce,
7065
7065
  {
7066
7066
  onClose: () => e(C),
7067
7067
  closable: s,
@@ -7081,7 +7081,7 @@ const d3 = ({
7081
7081
  ]
7082
7082
  }
7083
7083
  );
7084
- }, T1 = ({ size: i = 30, color: e = "#004ed7" }) => {
7084
+ }, D1 = ({ 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 d3 = ({
7089
7089
  backgroundSize: "20% calc(200% + 20px)"
7090
7090
  };
7091
7091
  return /* @__PURE__ */ r("span", { className: "snmt-loader", style: s });
7092
- }, D1 = R1(
7092
+ }, G1 = y1(
7093
7093
  ({
7094
7094
  value: i,
7095
7095
  onChange: e,
@@ -7105,182 +7105,182 @@ const d3 = ({
7105
7105
  onSearchChange: h,
7106
7106
  onDropdownVisibleChange: C,
7107
7107
  onScrollToEnd: p,
7108
- onPopupScroll: w,
7108
+ onPopupScroll: m,
7109
7109
  id: x,
7110
- extraOptions: m,
7111
- dropdownRender: E,
7112
- optionRender: R,
7113
- isLoading: _,
7110
+ extraOptions: k,
7111
+ dropdownRender: _,
7112
+ optionRender: M,
7113
+ isLoading: E,
7114
7114
  readOnly: f
7115
7115
  }, v) => {
7116
- const [M, k] = B(!1), [H, I] = B(!1), [D, S] = B(!0), [V, Z] = B(i), j = Q(null);
7117
- T(() => {
7118
- Z(i);
7116
+ const [R, L] = Z(!1), [I, V] = Z(!1), [T, j] = Z(!0), [O, B] = Z(i), K = X(null);
7117
+ G(() => {
7118
+ B(i);
7119
7119
  }, [i]);
7120
- const A = (L) => {
7121
- k(L), C && C(L);
7122
- }, $ = (L, O) => {
7123
- var U;
7124
- return !!((U = O == null ? void 0 : O.label) != null && U.toString().toLowerCase().includes(L.toLowerCase()));
7125
- }, Y = () => {
7126
- I(!0);
7120
+ const D = (w) => {
7121
+ L(w), C && C(w);
7122
+ }, Y = (w, H) => {
7123
+ var A;
7124
+ return !!((A = H == null ? void 0 : H.label) != null && A.toString().toLowerCase().includes(w.toLowerCase()));
7125
+ }, z = () => {
7126
+ V(!0);
7127
7127
  }, W = () => {
7128
- I(!1);
7129
- }, G = K(
7130
- (L) => {
7131
- if (Z(L), s) {
7132
- const U = L;
7133
- e == null || e(U);
7128
+ V(!1);
7129
+ }, $ = P(
7130
+ (w) => {
7131
+ if (B(w), s) {
7132
+ const A = w;
7133
+ e == null || e(A);
7134
7134
  return;
7135
7135
  }
7136
- const O = L;
7137
- e == null || e(O);
7136
+ const H = w;
7137
+ e == null || e(H);
7138
7138
  },
7139
7139
  [s, e]
7140
- ), z = K(() => {
7140
+ ), J = P(() => {
7141
7141
  if (!f) {
7142
7142
  if (s) {
7143
- G([]);
7143
+ $([]);
7144
7144
  return;
7145
7145
  }
7146
- G("");
7146
+ $("");
7147
7147
  }
7148
- }, [G, s, f]), J = K(
7149
- (L) => {
7150
- const O = V.filter((U) => U !== L);
7151
- G(O), Z(O);
7148
+ }, [$, s, f]), q = P(
7149
+ (w) => {
7150
+ const H = O.filter((A) => A !== w);
7151
+ $(H), B(H);
7152
7152
  },
7153
- [G, V]
7154
- ), h1 = K(
7155
- (L) => (V == null ? void 0 : V.indexOf(L)) === 0 ? (
7153
+ [$, O]
7154
+ ), c1 = P(
7155
+ (w) => (O == null ? void 0 : O.indexOf(w)) === 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, V, t]
7161
- ), C1 = (L) => {
7162
- L.preventDefault(), L.stopPropagation();
7163
- }, F = async (L) => {
7164
- const { target: O } = L;
7165
- O.scrollTop + O.offsetHeight >= O.scrollHeight - a && (p == null || p(!0)), w && await w(L);
7166
- }, X = K(
7167
- (L) => {
7168
- var O, U;
7169
- return ((O = l.find((y1) => y1.value === L)) == null ? void 0 : O.label) || ((U = m == null ? void 0 : m.find(
7170
- (y1) => y1.value === L
7171
- )) == null ? void 0 : U.label) || L;
7158
+ /* @__PURE__ */ r("span", { className: "custom-placeholder", children: T ? t : "" })
7159
+ ) : /* @__PURE__ */ r(a1, {}),
7160
+ [T, O, t]
7161
+ ), p1 = (w) => {
7162
+ w.preventDefault(), w.stopPropagation();
7163
+ }, f1 = async (w) => {
7164
+ const { target: H } = w;
7165
+ H.scrollTop + H.offsetHeight >= H.scrollHeight - a && (p == null || p(!0)), m && await m(w);
7166
+ }, n1 = P(
7167
+ (w) => {
7168
+ var H, A;
7169
+ return ((H = l.find((U) => U.value === w)) == null ? void 0 : H.label) || ((A = k == null ? void 0 : k.find(
7170
+ (U) => U.value === w
7171
+ )) == null ? void 0 : A.label) || w;
7172
7172
  },
7173
- [m, l]
7174
- ), b1 = K(
7175
- (L) => {
7176
- var O;
7173
+ [k, l]
7174
+ ), w1 = P(
7175
+ (w) => {
7176
+ var H;
7177
7177
  return /* @__PURE__ */ r(
7178
- d3,
7178
+ u3,
7179
7179
  {
7180
- values: L,
7181
- onTagClose: J,
7182
- maxWidth: ((O = j.current) == null ? void 0 : O.clientWidth) || 0,
7180
+ values: w,
7181
+ onTagClose: q,
7182
+ maxWidth: ((H = K.current) == null ? void 0 : H.clientWidth) || 0,
7183
7183
  disabled: o,
7184
7184
  closable: !f,
7185
7185
  options: l,
7186
- extraOptions: m
7186
+ extraOptions: k
7187
7187
  }
7188
7188
  );
7189
7189
  },
7190
- [o, m, J, l, f]
7191
- ), e1 = K(
7192
- ({ label: L, value: O, mode: U }) => U === "filter" ? h1(O) : /* @__PURE__ */ r("div", { onMouseDown: C1, className: "tag-wrapper", children: /* @__PURE__ */ r(he, { onClose: () => J(O), disabled: o, children: typeof L == "object" ? L : X(O) }) }),
7193
- [o, X, J, h1]
7190
+ [o, k, q, l, f]
7191
+ ), S = P(
7192
+ ({ label: w, value: H, mode: A }) => A === "filter" ? c1(H) : /* @__PURE__ */ r("div", { onMouseDown: p1, className: "tag-wrapper", children: /* @__PURE__ */ r(ce, { onClose: () => q(H), disabled: o, children: typeof w == "object" ? w : n1(H) }) }),
7193
+ [o, n1, q, c1]
7194
7194
  );
7195
7195
  return /* @__PURE__ */ u(
7196
7196
  "div",
7197
7197
  {
7198
- className: `snmt-select ${H ? "snmt-select-focused" : ""}
7198
+ className: `snmt-select ${I ? "snmt-select-focused" : ""}
7199
7199
  ${s ? "" : "snmt-select-single"} ${f ? "snmt-select-read-only" : ""}`,
7200
- ref: j,
7200
+ ref: K,
7201
7201
  style: { width: c },
7202
7202
  children: [
7203
7203
  /* @__PURE__ */ r(
7204
- me,
7204
+ Le,
7205
7205
  {
7206
7206
  className: "snmt-select-blank",
7207
7207
  popupClassName: f ? "dropdown-read-only" : "",
7208
7208
  id: x,
7209
7209
  ref: v,
7210
7210
  showSearch: !!n,
7211
- filterOption: n && $,
7212
- onDropdownVisibleChange: A,
7211
+ filterOption: n && Y,
7212
+ onDropdownVisibleChange: D,
7213
7213
  placeholder: t ? d ? `${t}*` : t : void 0,
7214
7214
  disabled: o,
7215
- value: V || void 0,
7216
- labelRender: (L) => X(L.value),
7215
+ value: O || void 0,
7216
+ labelRender: (w) => n1(w.value),
7217
7217
  mode: s === "filter" ? "multiple" : s,
7218
- onChange: G,
7219
- onFocus: Y,
7218
+ onChange: $,
7219
+ onFocus: z,
7220
7220
  onBlur: W,
7221
- onSearch: (L) => {
7222
- S(!L), h && h(L);
7221
+ onSearch: (w) => {
7222
+ j(!w), h && h(w);
7223
7223
  },
7224
- onSelect: () => S(!0),
7225
- onDeselect: () => S(!0),
7226
- tagRender: (L) => e1({ ...L, mode: s }),
7224
+ onSelect: () => j(!0),
7225
+ onDeselect: () => j(!0),
7226
+ tagRender: (w) => S({ ...w, mode: s }),
7227
7227
  maxTagCount: "responsive",
7228
- maxTagPlaceholder: b1,
7229
- onPopupScroll: F,
7230
- prefix: _ && /* @__PURE__ */ r(T1, { size: 15 }),
7231
- suffixIcon: /* @__PURE__ */ r("div", { className: "wrapper-suffix-icon", children: s !== "filter" && /* @__PURE__ */ u(l1, { children: [
7232
- V && !!V.length && (s || g) && /* @__PURE__ */ r("div", { onClick: z, children: /* @__PURE__ */ r(
7233
- p1,
7228
+ maxTagPlaceholder: w1,
7229
+ onPopupScroll: f1,
7230
+ prefix: E && /* @__PURE__ */ r(D1, { size: 15 }),
7231
+ suffixIcon: /* @__PURE__ */ r("div", { className: "wrapper-suffix-icon", children: s !== "filter" && /* @__PURE__ */ u(a1, { children: [
7232
+ O && !!O.length && (s || g) && /* @__PURE__ */ r("div", { onClick: J, 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: M ? "select-arrow-rotated" : "select-arrow",
7245
- onClick: () => k(!M)
7243
+ color: o ? e1.GREY_DARK_1 : e1.GREY_DARK_5,
7244
+ className: R ? "select-arrow-rotated" : "select-arrow",
7245
+ onClick: () => L(!R)
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: (L) => R ? R(L.data) : /* @__PURE__ */ u(m1, { justifyContent: "space-between", alignItems: "center", flex: "1", children: [
7252
- /* @__PURE__ */ u(m1, { alignItems: "center", gap: 12, children: [
7251
+ optionRender: (w) => M ? M(w.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
- Ue,
7254
+ Je,
7255
7255
  {
7256
- checked: !!(V != null && V.includes(L.value))
7256
+ checked: !!(O != null && O.includes(w.value))
7257
7257
  }
7258
7258
  ),
7259
- /* @__PURE__ */ u(m1, { alignItems: "center", gap: 8, children: [
7260
- L.data.image && /* @__PURE__ */ r(Ye, { src: L.data.image, size: 20 }),
7261
- /* @__PURE__ */ r("span", { children: L.label })
7259
+ /* @__PURE__ */ u(L1, { alignItems: "center", gap: 8, children: [
7260
+ w.data.image && /* @__PURE__ */ r(ze, { src: w.data.image, size: 20 }),
7261
+ /* @__PURE__ */ r("span", { children: w.label })
7262
7262
  ] })
7263
7263
  ] }),
7264
- !s && V === L.value && /* @__PURE__ */ r(
7265
- p1,
7264
+ !s && O === w.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: (L) => /* @__PURE__ */ u("div", { className: "dropdown-container", children: [
7275
- /* @__PURE__ */ r("div", { className: "dropdown-menu", children: E ? E(L) : L }),
7276
- _ && /* @__PURE__ */ r("div", { className: "loading-overlay", children: /* @__PURE__ */ r(T1, { size: 28 }) })
7274
+ dropdownRender: (w) => /* @__PURE__ */ u("div", { className: "dropdown-container", children: [
7275
+ /* @__PURE__ */ r("div", { className: "dropdown-menu", children: _ ? _(w) : w }),
7276
+ E && /* @__PURE__ */ r("div", { className: "loading-overlay", children: /* @__PURE__ */ r(D1, { size: 28 }) })
7277
7277
  ] })
7278
7278
  }
7279
7279
  ),
7280
7280
  /* @__PURE__ */ r(
7281
7281
  "fieldset",
7282
7282
  {
7283
- className: `${H ? "fieldset-focused" : ""}
7283
+ className: `${I ? "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 d3 = ({
7292
7292
  );
7293
7293
  }
7294
7294
  );
7295
- function g3(i, e = 500) {
7296
- const t = Q();
7297
- return T(() => () => {
7295
+ function C3(i, e = 500) {
7296
+ const t = X();
7297
+ return G(() => () => {
7298
7298
  t.current && clearTimeout(t.current);
7299
7299
  }, []), (...s) => {
7300
7300
  const n = setTimeout(() => {
@@ -7303,15 +7303,15 @@ function g3(i, e = 500) {
7303
7303
  clearTimeout(t.current), t.current = n;
7304
7304
  };
7305
7305
  }
7306
- function G1(i) {
7307
- const e = Q(i);
7308
- return T(() => {
7306
+ function K1(i) {
7307
+ const e = X(i);
7308
+ return G(() => {
7309
7309
  e.current = i;
7310
7310
  }, [i]), e.current;
7311
7311
  }
7312
- const _1 = 100, f1 = {
7312
+ const E1 = 100, r1 = {
7313
7313
  offset: 0
7314
- }, K1 = R1(
7314
+ }, P1 = y1(
7315
7315
  ({
7316
7316
  loadOptions: i,
7317
7317
  width: e,
@@ -7327,115 +7327,145 @@ const _1 = 100, f1 = {
7327
7327
  extraOptions: h,
7328
7328
  onDropdownVisibleChange: C,
7329
7329
  optionRender: p,
7330
- dropdownRender: w,
7330
+ dropdownRender: m,
7331
7331
  readOnly: x,
7332
- clearable: m,
7333
- required: E = !1
7334
- }, R) => {
7335
- const [_, f] = B(), [v, M] = B(f1), [k, H] = B(!1), [I, D] = B(), [S, V] = B(!1), Z = G1(v.offset), j = G1(I), [A, $] = B(!1), Y = Q(!1), W = K(
7332
+ clearable: k,
7333
+ required: _ = !1
7334
+ }, M) => {
7335
+ const [E, f] = Z(), [v, R] = Z(r1), [L, I] = Z(!1), [V, T] = Z(), [j, O] = Z(!1), [B, K] = Z(
7336
+ h ?? []
7337
+ ), D = K1(v.offset), Y = K1(V), [z, W] = Z(!1), $ = X(!1), J = P(
7336
7338
  async ({
7337
- limit: F = _1,
7338
- offset: X,
7339
- search: b1
7339
+ limit: S = E1,
7340
+ offset: w,
7341
+ search: H
7340
7342
  }) => {
7341
- H(!0);
7343
+ I(!0);
7342
7344
  try {
7343
- const e1 = await i({
7344
- limit: F,
7345
- offset: X,
7346
- search: b1
7345
+ const A = await i({
7346
+ limit: S,
7347
+ offset: w,
7348
+ search: H
7347
7349
  });
7348
7350
  f(
7349
- (L) => X === 0 ? e1.options : [...L ?? [], ...e1.options]
7350
- ), M((L) => ({
7351
- ...L,
7352
- count: e1.count
7351
+ (U) => w === 0 ? A.options : [...U ?? [], ...A.options]
7352
+ ), R((U) => ({
7353
+ ...U,
7354
+ count: A.count
7353
7355
  }));
7354
- } catch (e1) {
7355
- return console.error("AsyncSelect. fetchOptions error", e1), [];
7356
+ } catch (A) {
7357
+ return console.error("AsyncSelect. fetchOptions error", A), [];
7356
7358
  } finally {
7357
- H(!1);
7359
+ I(!1);
7358
7360
  }
7359
7361
  },
7360
7362
  [i]
7361
- ), G = g3((F) => {
7362
- D(F), F || M(f1);
7363
- }), z = K(
7364
- (F) => G(F),
7365
- [G]
7366
- ), J = K(
7367
- async (F) => {
7368
- k || F && v.count && v.count > ((_ == null ? void 0 : _.length) ?? 0) && M((X) => ({
7369
- ...X,
7370
- offset: X.offset + _1
7363
+ ), q = C3((S) => {
7364
+ T(S), S || R(r1);
7365
+ }), c1 = P(
7366
+ (S) => q(S),
7367
+ [q]
7368
+ ), p1 = P(
7369
+ async (S) => {
7370
+ L || S && v.count && v.count > ((E == null ? void 0 : E.length) ?? 0) && R((w) => ({
7371
+ ...w,
7372
+ offset: w.offset + E1
7371
7373
  }));
7372
7374
  },
7373
- [k, _ == null ? void 0 : _.length, v.count]
7374
- ), h1 = K(
7375
- (F) => {
7376
- V(F), C == null || C(F);
7375
+ [L, E == null ? void 0 : E.length, v.count]
7376
+ ), f1 = P(
7377
+ (S) => {
7378
+ O(S), !S && V && (T(void 0), R(r1), W(!0)), C == null || C(S);
7377
7379
  },
7378
- [C]
7380
+ [C, V]
7379
7381
  );
7380
- T(() => {
7381
- !Y.current || k || (A || S && (Z !== v.offset || j !== I || !_)) && (W({ offset: v.offset, limit: _1, search: I }), A && $(!1));
7382
- }, [A, S, v.offset, I, Z, j, _, k]), T(() => {
7383
- (g || a) && W(f1), Y.current = !0;
7384
- }, []);
7385
- const C1 = we(
7382
+ G(() => {
7383
+ !$.current || L || (z || j && (D !== v.offset || Y !== V || !E)) && (J({ offset: v.offset, limit: E1, search: V }), z && W(!1));
7384
+ }, [z, j, v.offset, V, D, Y, E, L]), G(() => {
7385
+ (g || a) && J(r1), $.current = !0;
7386
+ }, []), G(() => {
7387
+ h && K((S) => {
7388
+ const w = h.filter(
7389
+ (H) => !S.some((A) => A.value === H.value)
7390
+ );
7391
+ return [...S, ...w];
7392
+ });
7393
+ }, [h]);
7394
+ const n1 = P(
7395
+ (S) => {
7396
+ t && t(S);
7397
+ let w = [];
7398
+ if (d ? w = Array.isArray(S) ? S : [] : w = S ? [S] : [], V) {
7399
+ const H = w.filter(
7400
+ (A) => !(B != null && B.some((U) => U.value === A))
7401
+ );
7402
+ H.length > 0 && K((A = []) => [
7403
+ ...A,
7404
+ ...H.map((U) => {
7405
+ const B1 = E == null ? void 0 : E.find((fe) => fe.value === U);
7406
+ return {
7407
+ value: U,
7408
+ label: (B1 == null ? void 0 : B1.label) ?? U
7409
+ };
7410
+ })
7411
+ ]), T(void 0), R(r1), W(!0);
7412
+ }
7413
+ },
7414
+ [t, V, d, E, B]
7415
+ ), w1 = ke(
7386
7416
  () => ({
7387
7417
  id: n,
7388
7418
  width: e,
7389
- options: _ || [],
7390
- onChange: t,
7391
- ref: R,
7419
+ options: E || [],
7420
+ onChange: n1,
7421
+ ref: M,
7392
7422
  placeholder: o,
7393
7423
  search: !0,
7394
7424
  value: s,
7395
- onSearchChange: z,
7396
- onDropdownVisibleChange: h1,
7425
+ onSearchChange: c1,
7426
+ onDropdownVisibleChange: f1,
7397
7427
  scrollThresholdValue: c,
7398
- onScrollToEnd: J,
7428
+ onScrollToEnd: p1,
7399
7429
  disabled: l,
7400
- extraOptions: h,
7401
- isLoading: k,
7430
+ extraOptions: B,
7431
+ isLoading: L,
7402
7432
  optionRender: p,
7403
- dropdownRender: w,
7433
+ dropdownRender: m,
7404
7434
  readOnly: x,
7405
- clearable: m,
7406
- required: E
7435
+ clearable: k,
7436
+ required: _
7407
7437
  }),
7408
7438
  [
7409
7439
  n,
7410
7440
  e,
7411
- _,
7412
- t,
7413
- R,
7441
+ E,
7442
+ n1,
7443
+ M,
7414
7444
  o,
7415
7445
  s,
7416
- z,
7417
- h1,
7446
+ c1,
7447
+ f1,
7418
7448
  c,
7419
- J,
7449
+ p1,
7420
7450
  l,
7421
- h,
7422
- k,
7451
+ B,
7452
+ L,
7423
7453
  p,
7424
- w,
7425
- x,
7426
7454
  m,
7427
- E
7455
+ x,
7456
+ k,
7457
+ _
7428
7458
  ]
7429
7459
  );
7430
- return ne(R, () => ({
7460
+ return re(M, () => ({
7431
7461
  refetchOptions: async () => {
7432
- M(f1), D(void 0), f([]), $(!0);
7462
+ R(r1), T(void 0), W(!0);
7433
7463
  }
7434
- })), d ? /* @__PURE__ */ r(D1, { ...C1, onChange: t, value: s, mode: d }) : /* @__PURE__ */ r("div", { className: "snmt-async-select", children: /* @__PURE__ */ r(D1, { ...C1, onChange: t, value: s }) });
7464
+ })), d ? /* @__PURE__ */ r(G1, { ...w1, value: s, mode: d }) : /* @__PURE__ */ r("div", { className: "snmt-async-select", children: /* @__PURE__ */ r(G1, { ...w1, value: s }) });
7435
7465
  }
7436
7466
  );
7437
- var k1 = /* @__PURE__ */ ((i) => (i.ACTIVE = "Active", i.ARCHIVED = "Archived", i))(k1 || {});
7438
- const u3 = ({ size: i = 30, color: e = "#004ed7" }) => {
7467
+ var v1 = /* @__PURE__ */ ((i) => (i.ACTIVE = "Active", i.ARCHIVED = "Archived", i))(v1 || {});
7468
+ const p3 = ({ size: i = 30, color: e = "#004ed7" }) => {
7439
7469
  const t = `no-repeat linear-gradient(${e}
7440
7470
  calc(50% - 10px), #0000 0 calc(50% + 10px), ${e} 0)`, s = {
7441
7471
  width: i,
@@ -7444,20 +7474,20 @@ const u3 = ({ size: i = 30, color: e = "#004ed7" }) => {
7444
7474
  };
7445
7475
  return /* @__PURE__ */ r("span", { className: "snmt-loader", style: s });
7446
7476
  };
7447
- function C3() {
7477
+ function f3() {
7448
7478
  if (console && console.warn) {
7449
7479
  for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
7450
7480
  e[t] = arguments[t];
7451
- s1(e[0]) && (e[0] = `react-i18next:: ${e[0]}`), console.warn(...e);
7481
+ i1(e[0]) && (e[0] = `react-i18next:: ${e[0]}`), console.warn(...e);
7452
7482
  }
7453
7483
  }
7454
- const P1 = {};
7484
+ const $1 = {};
7455
7485
  function I1() {
7456
7486
  for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
7457
7487
  e[t] = arguments[t];
7458
- s1(e[0]) && P1[e[0]] || (s1(e[0]) && (P1[e[0]] = /* @__PURE__ */ new Date()), C3(...e));
7488
+ i1(e[0]) && $1[e[0]] || (i1(e[0]) && ($1[e[0]] = /* @__PURE__ */ new Date()), f3(...e));
7459
7489
  }
7460
- const ce = (i, e) => () => {
7490
+ const de = (i, e) => () => {
7461
7491
  if (i.isInitialized)
7462
7492
  e();
7463
7493
  else {
@@ -7468,13 +7498,13 @@ const ce = (i, e) => () => {
7468
7498
  };
7469
7499
  i.on("initialized", t);
7470
7500
  }
7471
- }, $1 = (i, e, t) => {
7472
- i.loadNamespaces(e, ce(i, t));
7473
- }, F1 = (i, e, t, s) => {
7474
- s1(t) && (t = [t]), t.forEach((n) => {
7501
+ }, F1 = (i, e, t) => {
7502
+ i.loadNamespaces(e, de(i, t));
7503
+ }, Y1 = (i, e, t, s) => {
7504
+ i1(t) && (t = [t]), t.forEach((n) => {
7475
7505
  i.options.ns.indexOf(n) < 0 && i.options.ns.push(n);
7476
- }), i.loadLanguages(e, ce(i, s));
7477
- }, p3 = function(i, e) {
7506
+ }), i.loadLanguages(e, de(i, s));
7507
+ }, w3 = function(i, e) {
7478
7508
  let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
7479
7509
  const s = e.languages[0], n = e.options ? e.options.fallbackLng : !1, l = e.languages[e.languages.length - 1];
7480
7510
  if (s.toLowerCase() === "cimode") return !0;
@@ -7483,15 +7513,15 @@ const ce = (i, e) => () => {
7483
7513
  return g === -1 || g === 2;
7484
7514
  };
7485
7515
  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)));
7486
- }, f3 = function(i, e) {
7516
+ }, m3 = function(i, e) {
7487
7517
  let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
7488
7518
  return !e.languages || !e.languages.length ? (I1("i18n.languages were undefined or empty", e.languages), !0) : e.options.ignoreJSONStructure !== void 0 ? e.hasLoadedNamespace(i, {
7489
7519
  lng: t.lng,
7490
7520
  precheck: (n, l) => {
7491
7521
  if (t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && n.services.backendConnector.backend && n.isLanguageChangingTo && !l(n.isLanguageChangingTo, i)) return !1;
7492
7522
  }
7493
- }) : p3(i, e, t);
7494
- }, s1 = (i) => typeof i == "string", w3 = (i) => typeof i == "object" && i !== null, m3 = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, k3 = {
7523
+ }) : w3(i, e, t);
7524
+ }, i1 = (i) => typeof i == "string", k3 = (i) => typeof i == "object" && i !== null, L3 = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, v3 = {
7495
7525
  "&amp;": "&",
7496
7526
  "&#38;": "&",
7497
7527
  "&lt;": "<",
@@ -7512,7 +7542,7 @@ const ce = (i, e) => () => {
7512
7542
  "&#8230;": "…",
7513
7543
  "&#x2F;": "/",
7514
7544
  "&#47;": "/"
7515
- }, L3 = (i) => k3[i], v3 = (i) => i.replace(m3, L3);
7545
+ }, N3 = (i) => v3[i], x3 = (i) => i.replace(L3, N3);
7516
7546
  let O1 = {
7517
7547
  bindI18n: "languageChanged",
7518
7548
  bindI18nStore: "",
@@ -7521,27 +7551,27 @@ let O1 = {
7521
7551
  transWrapTextNodes: "",
7522
7552
  transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"],
7523
7553
  useSuspense: !0,
7524
- unescape: v3
7554
+ unescape: x3
7525
7555
  };
7526
- const N3 = function() {
7556
+ const R3 = function() {
7527
7557
  let i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
7528
7558
  O1 = {
7529
7559
  ...O1,
7530
7560
  ...i
7531
7561
  };
7532
- }, x3 = () => O1;
7533
- let de;
7534
- const R3 = (i) => {
7535
- de = i;
7536
- }, M3 = () => de, b3 = {
7562
+ }, M3 = () => O1;
7563
+ let ge;
7564
+ const y3 = (i) => {
7565
+ ge = i;
7566
+ }, b3 = () => ge, E3 = {
7537
7567
  type: "3rdParty",
7538
7568
  init(i) {
7539
- N3(i.options.react), R3(i);
7569
+ R3(i.options.react), y3(i);
7540
7570
  }
7541
- }, y3 = a1();
7542
- class _3 {
7571
+ }, _3 = h1();
7572
+ class H3 {
7543
7573
  constructor() {
7544
- B1(this, "getUsedNamespaces", () => Object.keys(this.usedNamespaces));
7574
+ Z1(this, "getUsedNamespaces", () => Object.keys(this.usedNamespaces));
7545
7575
  this.usedNamespaces = {};
7546
7576
  }
7547
7577
  addUsedNamespaces(e) {
@@ -7550,27 +7580,27 @@ class _3 {
7550
7580
  });
7551
7581
  }
7552
7582
  }
7553
- const E3 = (i, e) => {
7554
- const t = Q();
7555
- return T(() => {
7583
+ const V3 = (i, e) => {
7584
+ const t = X();
7585
+ return G(() => {
7556
7586
  t.current = i;
7557
7587
  }, [i, e]), t.current;
7558
- }, ge = (i, e, t, s) => i.getFixedT(e, t, s), H3 = (i, e, t, s) => K(ge(i, e, t, s), [i, e, t, s]), V3 = function(i) {
7588
+ }, ue = (i, e, t, s) => i.getFixedT(e, t, s), I3 = (i, e, t, s) => P(ue(i, e, t, s), [i, e, t, s]), O3 = function(i) {
7559
7589
  let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
7560
7590
  const {
7561
7591
  i18n: t
7562
7592
  } = e, {
7563
7593
  i18n: s,
7564
7594
  defaultNS: n
7565
- } = n1(y3) || {}, l = t || s || M3();
7566
- if (l && !l.reportNamespaces && (l.reportNamespaces = new _3()), !l) {
7595
+ } = s1(_3) || {}, l = t || s || b3();
7596
+ if (l && !l.reportNamespaces && (l.reportNamespaces = new H3()), !l) {
7567
7597
  I1("You will need to pass in an i18next instance by using initReactI18next");
7568
- const f = (M, k) => s1(k) ? k : w3(k) && s1(k.defaultValue) ? k.defaultValue : Array.isArray(M) ? M[M.length - 1] : M, v = [f, {}, !1];
7598
+ const f = (R, L) => i1(L) ? L : k3(L) && i1(L.defaultValue) ? L.defaultValue : Array.isArray(R) ? R[R.length - 1] : R, v = [f, {}, !1];
7569
7599
  return v.t = f, v.i18n = {}, v.ready = !1, v;
7570
7600
  }
7571
7601
  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.");
7572
7602
  const c = {
7573
- ...x3(),
7603
+ ...M3(),
7574
7604
  ...l.options.react,
7575
7605
  ...e
7576
7606
  }, {
@@ -7578,92 +7608,92 @@ const E3 = (i, e) => {
7578
7608
  keyPrefix: d
7579
7609
  } = c;
7580
7610
  let g = i;
7581
- g = s1(g) ? [g] : g || ["translation"], l.reportNamespaces.addUsedNamespaces && l.reportNamespaces.addUsedNamespaces(g);
7582
- const a = (l.isInitialized || l.initializedStoreOnce) && g.every((f) => f3(f, l, c)), h = H3(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), [w, x] = B(C);
7583
- let m = g.join();
7584
- e.lng && (m = `${e.lng}${m}`);
7585
- const E = E3(m), R = Q(!0);
7586
- T(() => {
7611
+ g = i1(g) ? [g] : g || ["translation"], l.reportNamespaces.addUsedNamespaces && l.reportNamespaces.addUsedNamespaces(g);
7612
+ const a = (l.isInitialized || l.initializedStoreOnce) && g.every((f) => m3(f, l, c)), h = I3(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), [m, x] = Z(C);
7613
+ let k = g.join();
7614
+ e.lng && (k = `${e.lng}${k}`);
7615
+ const _ = V3(k), M = X(!0);
7616
+ G(() => {
7587
7617
  const {
7588
7618
  bindI18n: f,
7589
7619
  bindI18nStore: v
7590
7620
  } = c;
7591
- R.current = !0, !a && !o && (e.lng ? F1(l, e.lng, g, () => {
7592
- R.current && x(p);
7593
- }) : $1(l, g, () => {
7594
- R.current && x(p);
7595
- })), a && E && E !== m && R.current && x(p);
7596
- const M = () => {
7597
- R.current && x(p);
7621
+ M.current = !0, !a && !o && (e.lng ? Y1(l, e.lng, g, () => {
7622
+ M.current && x(p);
7623
+ }) : F1(l, g, () => {
7624
+ M.current && x(p);
7625
+ })), a && _ && _ !== k && M.current && x(p);
7626
+ const R = () => {
7627
+ M.current && x(p);
7598
7628
  };
7599
- return f && l && l.on(f, M), v && l && l.store.on(v, M), () => {
7600
- R.current = !1, f && l && f.split(" ").forEach((k) => l.off(k, M)), v && l && v.split(" ").forEach((k) => l.store.off(k, M));
7629
+ return f && l && l.on(f, R), v && l && l.store.on(v, R), () => {
7630
+ M.current = !1, f && l && f.split(" ").forEach((L) => l.off(L, R)), v && l && v.split(" ").forEach((L) => l.store.off(L, R));
7601
7631
  };
7602
- }, [l, m]), T(() => {
7603
- R.current && a && x(C);
7632
+ }, [l, k]), G(() => {
7633
+ M.current && a && x(C);
7604
7634
  }, [l, d, a]);
7605
- const _ = [w, l, a];
7606
- if (_.t = w, _.i18n = l, _.ready = a, a || !a && !o) return _;
7635
+ const E = [m, l, a];
7636
+ if (E.t = m, E.i18n = l, E.ready = a, a || !a && !o) return E;
7607
7637
  throw new Promise((f) => {
7608
- e.lng ? F1(l, e.lng, g, () => f()) : $1(l, g, () => f());
7638
+ e.lng ? Y1(l, e.lng, g, () => f()) : F1(l, g, () => f());
7609
7639
  });
7610
- }, N = (i) => typeof i == "string", c1 = () => {
7640
+ }, N = (i) => typeof i == "string", d1 = () => {
7611
7641
  let i, e;
7612
7642
  const t = new Promise((s, n) => {
7613
7643
  i = s, e = n;
7614
7644
  });
7615
7645
  return t.resolve = i, t.reject = e, t;
7616
- }, Y1 = (i) => i == null ? "" : "" + i, I3 = (i, e, t) => {
7646
+ }, U1 = (i) => i == null ? "" : "" + i, S3 = (i, e, t) => {
7617
7647
  i.forEach((s) => {
7618
7648
  e[s] && (t[s] = e[s]);
7619
7649
  });
7620
- }, O3 = /###/g, U1 = (i) => i && i.indexOf("###") > -1 ? i.replace(O3, ".") : i, z1 = (i) => !i || N(i), g1 = (i, e, t) => {
7650
+ }, A3 = /###/g, z1 = (i) => i && i.indexOf("###") > -1 ? i.replace(A3, ".") : i, J1 = (i) => !i || N(i), u1 = (i, e, t) => {
7621
7651
  const s = N(e) ? e.split(".") : e;
7622
7652
  let n = 0;
7623
7653
  for (; n < s.length - 1; ) {
7624
- if (z1(i)) return {};
7625
- const l = U1(s[n]);
7654
+ if (J1(i)) return {};
7655
+ const l = z1(s[n]);
7626
7656
  !i[l] && t && (i[l] = new t()), Object.prototype.hasOwnProperty.call(i, l) ? i = i[l] : i = {}, ++n;
7627
7657
  }
7628
- return z1(i) ? {} : {
7658
+ return J1(i) ? {} : {
7629
7659
  obj: i,
7630
- k: U1(s[n])
7660
+ k: z1(s[n])
7631
7661
  };
7632
- }, J1 = (i, e, t) => {
7662
+ }, q1 = (i, e, t) => {
7633
7663
  const {
7634
7664
  obj: s,
7635
7665
  k: n
7636
- } = g1(i, e, Object);
7666
+ } = u1(i, e, Object);
7637
7667
  if (s !== void 0 || e.length === 1) {
7638
7668
  s[n] = t;
7639
7669
  return;
7640
7670
  }
7641
- let l = e[e.length - 1], c = e.slice(0, e.length - 1), o = g1(i, c, Object);
7671
+ let l = e[e.length - 1], c = e.slice(0, e.length - 1), o = u1(i, c, Object);
7642
7672
  for (; o.obj === void 0 && c.length; )
7643
- 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);
7673
+ 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);
7644
7674
  o.obj[`${o.k}.${l}`] = t;
7645
- }, S3 = (i, e, t, s) => {
7675
+ }, B3 = (i, e, t, s) => {
7646
7676
  const {
7647
7677
  obj: n,
7648
7678
  k: l
7649
- } = g1(i, e, Object);
7679
+ } = u1(i, e, Object);
7650
7680
  n[l] = n[l] || [], n[l].push(t);
7651
- }, L1 = (i, e) => {
7681
+ }, N1 = (i, e) => {
7652
7682
  const {
7653
7683
  obj: t,
7654
7684
  k: s
7655
- } = g1(i, e);
7685
+ } = u1(i, e);
7656
7686
  if (t)
7657
7687
  return t[s];
7658
- }, A3 = (i, e, t) => {
7659
- const s = L1(i, t);
7660
- return s !== void 0 ? s : L1(e, t);
7661
- }, ue = (i, e, t) => {
7688
+ }, Z3 = (i, e, t) => {
7689
+ const s = N1(i, t);
7690
+ return s !== void 0 ? s : N1(e, t);
7691
+ }, Ce = (i, e, t) => {
7662
7692
  for (const s in e)
7663
- s !== "__proto__" && s !== "constructor" && (s in i ? N(i[s]) || i[s] instanceof String || N(e[s]) || e[s] instanceof String ? t && (i[s] = e[s]) : ue(i[s], e[s], t) : i[s] = e[s]);
7693
+ s !== "__proto__" && s !== "constructor" && (s in i ? N(i[s]) || i[s] instanceof String || N(e[s]) || e[s] instanceof String ? t && (i[s] = e[s]) : Ce(i[s], e[s], t) : i[s] = e[s]);
7664
7694
  return i;
7665
- }, r1 = (i) => i.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
7666
- var B3 = {
7695
+ }, o1 = (i) => i.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
7696
+ var j3 = {
7667
7697
  "&": "&amp;",
7668
7698
  "<": "&lt;",
7669
7699
  ">": "&gt;",
@@ -7671,8 +7701,8 @@ var B3 = {
7671
7701
  "'": "&#39;",
7672
7702
  "/": "&#x2F;"
7673
7703
  };
7674
- const Z3 = (i) => N(i) ? i.replace(/[&<>"'\/]/g, (e) => B3[e]) : i;
7675
- class j3 {
7704
+ const W3 = (i) => N(i) ? i.replace(/[&<>"'\/]/g, (e) => j3[e]) : i;
7705
+ class T3 {
7676
7706
  constructor(e) {
7677
7707
  this.capacity = e, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = [];
7678
7708
  }
@@ -7684,11 +7714,11 @@ class j3 {
7684
7714
  return this.regExpQueue.length === this.capacity && this.regExpMap.delete(this.regExpQueue.shift()), this.regExpMap.set(e, s), this.regExpQueue.push(e), s;
7685
7715
  }
7686
7716
  }
7687
- const W3 = [" ", ",", "?", "!", ";"], T3 = new j3(20), D3 = (i, e, t) => {
7717
+ const D3 = [" ", ",", "?", "!", ";"], G3 = new T3(20), K3 = (i, e, t) => {
7688
7718
  e = e || "", t = t || "";
7689
- const s = W3.filter((c) => e.indexOf(c) < 0 && t.indexOf(c) < 0);
7719
+ const s = D3.filter((c) => e.indexOf(c) < 0 && t.indexOf(c) < 0);
7690
7720
  if (s.length === 0) return !0;
7691
- const n = T3.getRegExp(`(${s.map((c) => c === "?" ? "\\?" : c).join("|")})`);
7721
+ const n = G3.getRegExp(`(${s.map((c) => c === "?" ? "\\?" : c).join("|")})`);
7692
7722
  let l = !n.test(i);
7693
7723
  if (!l) {
7694
7724
  const c = i.indexOf(t);
@@ -7715,7 +7745,7 @@ const W3 = [" ", ",", "?", "!", ";"], T3 = new j3(20), D3 = (i, e, t) => {
7715
7745
  n = c;
7716
7746
  }
7717
7747
  return n;
7718
- }, v1 = (i) => i && i.replace("_", "-"), G3 = {
7748
+ }, x1 = (i) => i && i.replace("_", "-"), P3 = {
7719
7749
  type: "logger",
7720
7750
  log(i) {
7721
7751
  this.output("log", i);
@@ -7730,14 +7760,14 @@ const W3 = [" ", ",", "?", "!", ";"], T3 = new j3(20), D3 = (i, e, t) => {
7730
7760
  console && console[i] && console[i].apply(console, e);
7731
7761
  }
7732
7762
  };
7733
- class N1 {
7763
+ class R1 {
7734
7764
  constructor(e) {
7735
7765
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
7736
7766
  this.init(e, t);
7737
7767
  }
7738
7768
  init(e) {
7739
7769
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
7740
- this.prefix = t.prefix || "i18next:", this.logger = e || G3, this.options = t, this.debug = t.debug;
7770
+ this.prefix = t.prefix || "i18next:", this.logger = e || P3, this.options = t, this.debug = t.debug;
7741
7771
  }
7742
7772
  log() {
7743
7773
  for (var e = arguments.length, t = new Array(e), s = 0; s < e; s++)
@@ -7763,17 +7793,17 @@ class N1 {
7763
7793
  return n && !this.debug ? null : (N(e[0]) && (e[0] = `${s}${this.prefix} ${e[0]}`), this.logger[t](e));
7764
7794
  }
7765
7795
  create(e) {
7766
- return new N1(this.logger, {
7796
+ return new R1(this.logger, {
7767
7797
  prefix: `${this.prefix}:${e}:`,
7768
7798
  ...this.options
7769
7799
  });
7770
7800
  }
7771
7801
  clone(e) {
7772
- return e = e || this.options, e.prefix = e.prefix || this.prefix, new N1(this.logger, e);
7802
+ return e = e || this.options, e.prefix = e.prefix || this.prefix, new R1(this.logger, e);
7773
7803
  }
7774
7804
  }
7775
- var q = new N1();
7776
- class M1 {
7805
+ var Q = new R1();
7806
+ class b1 {
7777
7807
  constructor() {
7778
7808
  this.observers = {};
7779
7809
  }
@@ -7807,7 +7837,7 @@ class M1 {
7807
7837
  });
7808
7838
  }
7809
7839
  }
7810
- class q1 extends M1 {
7840
+ class Q1 extends b1 {
7811
7841
  constructor(e) {
7812
7842
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
7813
7843
  ns: ["translation"],
@@ -7827,7 +7857,7 @@ class q1 extends M1 {
7827
7857
  const l = n.keySeparator !== void 0 ? n.keySeparator : this.options.keySeparator, c = n.ignoreJSONStructure !== void 0 ? n.ignoreJSONStructure : this.options.ignoreJSONStructure;
7828
7858
  let o;
7829
7859
  e.indexOf(".") > -1 ? o = e.split(".") : (o = [e, t], s && (Array.isArray(s) ? o.push(...s) : N(s) && l ? o.push(...s.split(l)) : o.push(s)));
7830
- const d = L1(this.data, o);
7860
+ const d = N1(this.data, o);
7831
7861
  return !d && !t && !s && e.indexOf(".") > -1 && (e = o[0], t = o[1], s = o.slice(2).join(".")), d || !c || !N(s) ? d : S1(this.data && this.data[e] && this.data[e][t], s, l);
7832
7862
  }
7833
7863
  addResource(e, t, s, n) {
@@ -7836,7 +7866,7 @@ class q1 extends M1 {
7836
7866
  };
7837
7867
  const c = l.keySeparator !== void 0 ? l.keySeparator : this.options.keySeparator;
7838
7868
  let o = [e, t];
7839
- s && (o = o.concat(c ? s.split(c) : s)), e.indexOf(".") > -1 && (o = e.split("."), n = t, t = o[1]), this.addNamespaces(t), J1(this.data, o, n), l.silent || this.emit("added", e, t, s, n);
7869
+ s && (o = o.concat(c ? s.split(c) : s)), e.indexOf(".") > -1 && (o = e.split("."), n = t, t = o[1]), this.addNamespaces(t), q1(this.data, o, n), l.silent || this.emit("added", e, t, s, n);
7840
7870
  }
7841
7871
  addResources(e, t, s) {
7842
7872
  let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {
@@ -7854,11 +7884,11 @@ class q1 extends M1 {
7854
7884
  skipCopy: !1
7855
7885
  }, o = [e, t];
7856
7886
  e.indexOf(".") > -1 && (o = e.split("."), n = s, s = t, t = o[1]), this.addNamespaces(t);
7857
- let d = L1(this.data, o) || {};
7858
- c.skipCopy || (s = JSON.parse(JSON.stringify(s))), n ? ue(d, s, l) : d = {
7887
+ let d = N1(this.data, o) || {};
7888
+ c.skipCopy || (s = JSON.parse(JSON.stringify(s))), n ? Ce(d, s, l) : d = {
7859
7889
  ...d,
7860
7890
  ...s
7861
- }, J1(this.data, o, d), c.silent || this.emit("added", e, t, s);
7891
+ }, q1(this.data, o, d), c.silent || this.emit("added", e, t, s);
7862
7892
  }
7863
7893
  removeResourceBundle(e, t) {
7864
7894
  this.hasResourceBundle(e, t) && delete this.data[e][t], this.removeNamespaces(t), this.emit("removed", e, t);
@@ -7882,7 +7912,7 @@ class q1 extends M1 {
7882
7912
  return this.data;
7883
7913
  }
7884
7914
  }
7885
- var Ce = {
7915
+ var pe = {
7886
7916
  processors: {},
7887
7917
  addPostProcessor(i) {
7888
7918
  this.processors[i.name] = i;
@@ -7893,11 +7923,11 @@ var Ce = {
7893
7923
  }), e;
7894
7924
  }
7895
7925
  };
7896
- const Q1 = {};
7897
- class x1 extends M1 {
7926
+ const X1 = {};
7927
+ class M1 extends b1 {
7898
7928
  constructor(e) {
7899
7929
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
7900
- super(), I3(["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");
7930
+ super(), S3(["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");
7901
7931
  }
7902
7932
  changeLanguage(e) {
7903
7933
  e && (this.language = e);
@@ -7916,7 +7946,7 @@ class x1 extends M1 {
7916
7946
  s === void 0 && (s = ":");
7917
7947
  const n = t.keySeparator !== void 0 ? t.keySeparator : this.options.keySeparator;
7918
7948
  let l = t.ns || this.options.defaultNS || [];
7919
- const c = s && e.indexOf(s) > -1, o = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !D3(e, s, n);
7949
+ const c = s && e.indexOf(s) > -1, o = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !K3(e, s, n);
7920
7950
  if (c && !o) {
7921
7951
  const d = e.match(this.interpolator.nestingRegexp);
7922
7952
  if (d && d.length > 0)
@@ -7964,8 +7994,8 @@ class x1 extends M1 {
7964
7994
  }
7965
7995
  const h = this.resolve(e, t);
7966
7996
  let C = h && h.res;
7967
- const p = h && h.usedKey || c, w = h && h.exactUsedKey || c, x = Object.prototype.toString.apply(C), m = ["[object Number]", "[object Function]", "[object RegExp]"], E = t.joinArrays !== void 0 ? t.joinArrays : this.options.joinArrays, R = !this.i18nFormat || this.i18nFormat.handleAsObject, _ = !N(C) && typeof C != "boolean" && typeof C != "number";
7968
- if (R && C && _ && m.indexOf(x) < 0 && !(N(E) && Array.isArray(C))) {
7997
+ const p = h && h.usedKey || c, m = h && h.exactUsedKey || c, x = Object.prototype.toString.apply(C), k = ["[object Number]", "[object Function]", "[object RegExp]"], _ = t.joinArrays !== void 0 ? t.joinArrays : this.options.joinArrays, M = !this.i18nFormat || this.i18nFormat.handleAsObject, E = !N(C) && typeof C != "boolean" && typeof C != "number";
7998
+ if (M && C && E && k.indexOf(x) < 0 && !(N(_) && Array.isArray(C))) {
7969
7999
  if (!t.returnObjects && !this.options.returnObjects) {
7970
8000
  this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
7971
8001
  const f = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(p, C, {
@@ -7975,51 +8005,51 @@ class x1 extends M1 {
7975
8005
  return n ? (h.res = f, h.usedParams = this.getUsedParamsDetails(t), h) : f;
7976
8006
  }
7977
8007
  if (l) {
7978
- const f = Array.isArray(C), v = f ? [] : {}, M = f ? w : p;
7979
- for (const k in C)
7980
- if (Object.prototype.hasOwnProperty.call(C, k)) {
7981
- const H = `${M}${l}${k}`;
7982
- v[k] = this.translate(H, {
8008
+ const f = Array.isArray(C), v = f ? [] : {}, R = f ? m : p;
8009
+ for (const L in C)
8010
+ if (Object.prototype.hasOwnProperty.call(C, L)) {
8011
+ const I = `${R}${l}${L}`;
8012
+ v[L] = this.translate(I, {
7983
8013
  ...t,
7984
8014
  joinArrays: !1,
7985
8015
  ns: o
7986
- }), v[k] === H && (v[k] = C[k]);
8016
+ }), v[L] === I && (v[L] = C[L]);
7987
8017
  }
7988
8018
  C = v;
7989
8019
  }
7990
- } else if (R && N(E) && Array.isArray(C))
7991
- C = C.join(E), C && (C = this.extendTranslation(C, e, t, s));
8020
+ } else if (M && N(_) && Array.isArray(C))
8021
+ C = C.join(_), C && (C = this.extendTranslation(C, e, t, s));
7992
8022
  else {
7993
8023
  let f = !1, v = !1;
7994
- const M = t.count !== void 0 && !N(t.count), k = x1.hasDefaultValue(t), H = M ? this.pluralResolver.getSuffix(g, t.count, t) : "", I = t.ordinal && M ? this.pluralResolver.getSuffix(g, t.count, {
8024
+ const R = t.count !== void 0 && !N(t.count), L = M1.hasDefaultValue(t), I = R ? this.pluralResolver.getSuffix(g, t.count, t) : "", V = t.ordinal && R ? this.pluralResolver.getSuffix(g, t.count, {
7995
8025
  ordinal: !1
7996
- }) : "", D = M && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), S = D && t[`defaultValue${this.options.pluralSeparator}zero`] || t[`defaultValue${H}`] || t[`defaultValue${I}`] || t.defaultValue;
7997
- !this.isValidLookup(C) && k && (f = !0, C = S), this.isValidLookup(C) || (v = !0, C = c);
7998
- const Z = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && v ? void 0 : C, j = k && S !== C && this.options.updateMissing;
7999
- if (v || f || j) {
8000
- if (this.logger.log(j ? "updateKey" : "missingKey", g, d, c, j ? S : C), l) {
8026
+ }) : "", T = R && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), j = T && t[`defaultValue${this.options.pluralSeparator}zero`] || t[`defaultValue${I}`] || t[`defaultValue${V}`] || t.defaultValue;
8027
+ !this.isValidLookup(C) && L && (f = !0, C = j), this.isValidLookup(C) || (v = !0, C = c);
8028
+ const B = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && v ? void 0 : C, K = L && j !== C && this.options.updateMissing;
8029
+ if (v || f || K) {
8030
+ if (this.logger.log(K ? "updateKey" : "missingKey", g, d, c, K ? j : C), l) {
8001
8031
  const W = this.resolve(c, {
8002
8032
  ...t,
8003
8033
  keySeparator: !1
8004
8034
  });
8005
8035
  W && W.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.");
8006
8036
  }
8007
- let A = [];
8008
- const $ = this.languageUtils.getFallbackCodes(this.options.fallbackLng, t.lng || this.language);
8009
- if (this.options.saveMissingTo === "fallback" && $ && $[0])
8010
- for (let W = 0; W < $.length; W++)
8011
- A.push($[W]);
8012
- else this.options.saveMissingTo === "all" ? A = this.languageUtils.toResolveHierarchy(t.lng || this.language) : A.push(t.lng || this.language);
8013
- const Y = (W, G, z) => {
8014
- const J = k && z !== C ? z : Z;
8015
- this.options.missingKeyHandler ? this.options.missingKeyHandler(W, d, G, J, j, t) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(W, d, G, J, j, t), this.emit("missingKey", W, d, G, C);
8037
+ let D = [];
8038
+ const Y = this.languageUtils.getFallbackCodes(this.options.fallbackLng, t.lng || this.language);
8039
+ if (this.options.saveMissingTo === "fallback" && Y && Y[0])
8040
+ for (let W = 0; W < Y.length; W++)
8041
+ D.push(Y[W]);
8042
+ else this.options.saveMissingTo === "all" ? D = this.languageUtils.toResolveHierarchy(t.lng || this.language) : D.push(t.lng || this.language);
8043
+ const z = (W, $, J) => {
8044
+ const q = L && J !== C ? J : B;
8045
+ this.options.missingKeyHandler ? this.options.missingKeyHandler(W, d, $, q, K, t) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(W, d, $, q, K, t), this.emit("missingKey", W, d, $, C);
8016
8046
  };
8017
- this.options.saveMissing && (this.options.saveMissingPlurals && M ? A.forEach((W) => {
8018
- const G = this.pluralResolver.getSuffixes(W, t);
8019
- D && t[`defaultValue${this.options.pluralSeparator}zero`] && G.indexOf(`${this.options.pluralSeparator}zero`) < 0 && G.push(`${this.options.pluralSeparator}zero`), G.forEach((z) => {
8020
- Y([W], c + z, t[`defaultValue${z}`] || S);
8047
+ this.options.saveMissing && (this.options.saveMissingPlurals && R ? D.forEach((W) => {
8048
+ const $ = this.pluralResolver.getSuffixes(W, t);
8049
+ T && t[`defaultValue${this.options.pluralSeparator}zero`] && $.indexOf(`${this.options.pluralSeparator}zero`) < 0 && $.push(`${this.options.pluralSeparator}zero`), $.forEach((J) => {
8050
+ z([W], c + J, t[`defaultValue${J}`] || j);
8021
8051
  });
8022
- }) : Y(A, c, S));
8052
+ }) : z(D, c, j));
8023
8053
  }
8024
8054
  C = this.extendTranslation(C, e, t, h, s), v && C === c && this.options.appendNamespaceToMissingKey && (C = `${d}:${c}`), (v || 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));
8025
8055
  }
@@ -8057,13 +8087,13 @@ class x1 extends M1 {
8057
8087
  a < p && (s.nest = !1);
8058
8088
  }
8059
8089
  !s.lng && this.options.compatibilityAPI !== "v1" && n && n.res && (s.lng = this.language || n.usedLng), s.nest !== !1 && (e = this.interpolator.nest(e, function() {
8060
- for (var C = arguments.length, p = new Array(C), w = 0; w < C; w++)
8061
- p[w] = arguments[w];
8090
+ for (var C = arguments.length, p = new Array(C), m = 0; m < C; m++)
8091
+ p[m] = arguments[m];
8062
8092
  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);
8063
8093
  }, s)), s.interpolation && this.interpolator.reset();
8064
8094
  }
8065
8095
  const o = s.postProcess || this.options.postProcess, d = N(o) ? [o] : o;
8066
- return e != null && d && d.length && s.applyPostProcessor !== !1 && (e = Ce.handle(d, e, t, this.options && this.options.postProcessPassResolved ? {
8096
+ return e != null && d && d.length && s.applyPostProcessor !== !1 && (e = pe.handle(d, e, t, this.options && this.options.postProcessPassResolved ? {
8067
8097
  i18nResolved: {
8068
8098
  ...n,
8069
8099
  usedParams: this.getUsedParamsDetails(s)
@@ -8079,26 +8109,26 @@ class x1 extends M1 {
8079
8109
  n = a;
8080
8110
  let h = g.namespaces;
8081
8111
  this.options.fallbackNS && (h = h.concat(this.options.fallbackNS));
8082
- const C = t.count !== void 0 && !N(t.count), p = C && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), w = t.context !== void 0 && (N(t.context) || typeof t.context == "number") && t.context !== "", x = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
8083
- h.forEach((m) => {
8084
- this.isValidLookup(s) || (o = m, !Q1[`${x[0]}-${m}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(o) && (Q1[`${x[0]}-${m}`] = !0, this.logger.warn(`key "${n}" for languages "${x.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), x.forEach((E) => {
8112
+ const C = t.count !== void 0 && !N(t.count), p = C && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), m = t.context !== void 0 && (N(t.context) || typeof t.context == "number") && t.context !== "", x = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
8113
+ h.forEach((k) => {
8114
+ this.isValidLookup(s) || (o = k, !X1[`${x[0]}-${k}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(o) && (X1[`${x[0]}-${k}`] = !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((_) => {
8085
8115
  if (this.isValidLookup(s)) return;
8086
- c = E;
8087
- const R = [a];
8116
+ c = _;
8117
+ const M = [a];
8088
8118
  if (this.i18nFormat && this.i18nFormat.addLookupKeys)
8089
- this.i18nFormat.addLookupKeys(R, a, E, m, t);
8119
+ this.i18nFormat.addLookupKeys(M, a, _, k, t);
8090
8120
  else {
8091
8121
  let f;
8092
- C && (f = this.pluralResolver.getSuffix(E, t.count, t));
8093
- const v = `${this.options.pluralSeparator}zero`, M = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
8094
- if (C && (R.push(a + f), t.ordinal && f.indexOf(M) === 0 && R.push(a + f.replace(M, this.options.pluralSeparator)), p && R.push(a + v)), w) {
8095
- const k = `${a}${this.options.contextSeparator}${t.context}`;
8096
- R.push(k), C && (R.push(k + f), t.ordinal && f.indexOf(M) === 0 && R.push(k + f.replace(M, this.options.pluralSeparator)), p && R.push(k + v));
8122
+ C && (f = this.pluralResolver.getSuffix(_, t.count, t));
8123
+ const v = `${this.options.pluralSeparator}zero`, R = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
8124
+ if (C && (M.push(a + f), t.ordinal && f.indexOf(R) === 0 && M.push(a + f.replace(R, this.options.pluralSeparator)), p && M.push(a + v)), m) {
8125
+ const L = `${a}${this.options.contextSeparator}${t.context}`;
8126
+ M.push(L), C && (M.push(L + f), t.ordinal && f.indexOf(R) === 0 && M.push(L + f.replace(R, this.options.pluralSeparator)), p && M.push(L + v));
8097
8127
  }
8098
8128
  }
8099
- let _;
8100
- for (; _ = R.pop(); )
8101
- this.isValidLookup(s) || (l = _, s = this.getResource(E, m, _, t));
8129
+ let E;
8130
+ for (; E = M.pop(); )
8131
+ this.isValidLookup(s) || (l = E, s = this.getResource(_, k, E, t));
8102
8132
  }));
8103
8133
  });
8104
8134
  }), {
@@ -8140,18 +8170,18 @@ class x1 extends M1 {
8140
8170
  return !1;
8141
8171
  }
8142
8172
  }
8143
- const E1 = (i) => i.charAt(0).toUpperCase() + i.slice(1);
8144
- class X1 {
8173
+ const _1 = (i) => i.charAt(0).toUpperCase() + i.slice(1);
8174
+ class ee {
8145
8175
  constructor(e) {
8146
- this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = q.create("languageUtils");
8176
+ this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = Q.create("languageUtils");
8147
8177
  }
8148
8178
  getScriptPartFromCode(e) {
8149
- if (e = v1(e), !e || e.indexOf("-") < 0) return null;
8179
+ if (e = x1(e), !e || e.indexOf("-") < 0) return null;
8150
8180
  const t = e.split("-");
8151
8181
  return t.length === 2 || (t.pop(), t[t.length - 1].toLowerCase() === "x") ? null : this.formatLanguageCode(t.join("-"));
8152
8182
  }
8153
8183
  getLanguagePartFromCode(e) {
8154
- if (e = v1(e), !e || e.indexOf("-") < 0) return e;
8184
+ if (e = x1(e), !e || e.indexOf("-") < 0) return e;
8155
8185
  const t = e.split("-");
8156
8186
  return this.formatLanguageCode(t[0]);
8157
8187
  }
@@ -8165,7 +8195,7 @@ class X1 {
8165
8195
  }
8166
8196
  const t = ["hans", "hant", "latn", "cyrl", "cans", "mong", "arab"];
8167
8197
  let s = e.split("-");
8168
- 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("-");
8198
+ 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("-");
8169
8199
  }
8170
8200
  return this.options.cleanCode || this.options.lowerCaseLng ? e.toLowerCase() : e;
8171
8201
  }
@@ -8206,7 +8236,7 @@ class X1 {
8206
8236
  }), n;
8207
8237
  }
8208
8238
  }
8209
- let K3 = [{
8239
+ let $3 = [{
8210
8240
  lngs: ["ach", "ak", "am", "arn", "br", "fil", "gun", "ln", "mfe", "mg", "mi", "oc", "pt", "pt-BR", "tg", "tl", "ti", "tr", "uz", "wa"],
8211
8241
  nr: [1, 2],
8212
8242
  fc: 1
@@ -8298,7 +8328,7 @@ let K3 = [{
8298
8328
  lngs: ["he", "iw"],
8299
8329
  nr: [1, 2, 20, 21],
8300
8330
  fc: 22
8301
- }], P3 = {
8331
+ }], F3 = {
8302
8332
  1: (i) => +(i > 1),
8303
8333
  2: (i) => +(i != 1),
8304
8334
  3: (i) => 0,
@@ -8322,28 +8352,28 @@ let K3 = [{
8322
8352
  21: (i) => i % 100 == 1 ? 1 : i % 100 == 2 ? 2 : i % 100 == 3 || i % 100 == 4 ? 3 : 0,
8323
8353
  22: (i) => i == 1 ? 0 : i == 2 ? 1 : (i < 0 || i > 10) && i % 10 == 0 ? 2 : 3
8324
8354
  };
8325
- const $3 = ["v1", "v2", "v3"], F3 = ["v4"], ee = {
8355
+ const Y3 = ["v1", "v2", "v3"], U3 = ["v4"], te = {
8326
8356
  zero: 0,
8327
8357
  one: 1,
8328
8358
  two: 2,
8329
8359
  few: 3,
8330
8360
  many: 4,
8331
8361
  other: 5
8332
- }, Y3 = () => {
8362
+ }, z3 = () => {
8333
8363
  const i = {};
8334
- return K3.forEach((e) => {
8364
+ return $3.forEach((e) => {
8335
8365
  e.lngs.forEach((t) => {
8336
8366
  i[t] = {
8337
8367
  numbers: e.nr,
8338
- plurals: P3[e.fc]
8368
+ plurals: F3[e.fc]
8339
8369
  };
8340
8370
  });
8341
8371
  }), i;
8342
8372
  };
8343
- class U3 {
8373
+ class J3 {
8344
8374
  constructor(e) {
8345
8375
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
8346
- this.languageUtils = e, this.options = t, this.logger = q.create("pluralResolver"), (!this.options.compatibilityJSON || F3.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 = Y3(), this.pluralRulesCache = {};
8376
+ this.languageUtils = e, this.options = t, this.logger = Q.create("pluralResolver"), (!this.options.compatibilityJSON || U3.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 = z3(), this.pluralRulesCache = {};
8347
8377
  }
8348
8378
  addRule(e, t) {
8349
8379
  this.rules[e] = t;
@@ -8354,7 +8384,7 @@ class U3 {
8354
8384
  getRule(e) {
8355
8385
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
8356
8386
  if (this.shouldUseIntlApi()) {
8357
- const s = v1(e === "dev" ? "en" : e), n = t.ordinal ? "ordinal" : "cardinal", l = JSON.stringify({
8387
+ const s = x1(e === "dev" ? "en" : e), n = t.ordinal ? "ordinal" : "cardinal", l = JSON.stringify({
8358
8388
  cleanedCode: s,
8359
8389
  type: n
8360
8390
  });
@@ -8386,7 +8416,7 @@ class U3 {
8386
8416
  getSuffixes(e) {
8387
8417
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
8388
8418
  const s = this.getRule(e, t);
8389
- return s ? this.shouldUseIntlApi() ? s.resolvedOptions().pluralCategories.sort((n, l) => ee[n] - ee[l]).map((n) => `${this.options.prepend}${t.ordinal ? `ordinal${this.options.prepend}` : ""}${n}`) : s.numbers.map((n) => this.getSuffix(e, n, t)) : [];
8419
+ return s ? this.shouldUseIntlApi() ? s.resolvedOptions().pluralCategories.sort((n, l) => te[n] - te[l]).map((n) => `${this.options.prepend}${t.ordinal ? `ordinal${this.options.prepend}` : ""}${n}`) : s.numbers.map((n) => this.getSuffix(e, n, t)) : [];
8390
8420
  }
8391
8421
  getSuffix(e, t) {
8392
8422
  let s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
@@ -8401,17 +8431,17 @@ class U3 {
8401
8431
  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();
8402
8432
  }
8403
8433
  shouldUseIntlApi() {
8404
- return !$3.includes(this.options.compatibilityJSON);
8434
+ return !Y3.includes(this.options.compatibilityJSON);
8405
8435
  }
8406
8436
  }
8407
- const te = function(i, e, t) {
8408
- let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", n = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, l = A3(i, e, t);
8437
+ const ie = function(i, e, t) {
8438
+ let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", n = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, l = Z3(i, e, t);
8409
8439
  return !l && n && N(t) && (l = S1(i, t, s), l === void 0 && (l = S1(e, t, s))), l;
8410
8440
  }, H1 = (i) => i.replace(/\$/g, "$$$$");
8411
- class z3 {
8441
+ class q3 {
8412
8442
  constructor() {
8413
8443
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
8414
- this.logger = q.create("interpolator"), this.options = e, this.format = e.interpolation && e.interpolation.format || ((t) => t), this.init(e);
8444
+ this.logger = Q.create("interpolator"), this.options = e, this.format = e.interpolation && e.interpolation.format || ((t) => t), this.init(e);
8415
8445
  }
8416
8446
  init() {
8417
8447
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
@@ -8431,13 +8461,13 @@ class z3 {
8431
8461
  unescapePrefix: h,
8432
8462
  nestingPrefix: C,
8433
8463
  nestingPrefixEscaped: p,
8434
- nestingSuffix: w,
8464
+ nestingSuffix: m,
8435
8465
  nestingSuffixEscaped: x,
8436
- nestingOptionsSeparator: m,
8437
- maxReplaces: E,
8438
- alwaysFormat: R
8466
+ nestingOptionsSeparator: k,
8467
+ maxReplaces: _,
8468
+ alwaysFormat: M
8439
8469
  } = e.interpolation;
8440
- this.escape = t !== void 0 ? t : Z3, 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 = w ? r1(w) : x || r1(")"), this.nestingOptionsSeparator = m || ",", this.maxReplaces = E || 1e3, this.alwaysFormat = R !== void 0 ? R : !1, this.resetRegExp();
8470
+ this.escape = t !== void 0 ? t : W3, 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 = m ? o1(m) : x || o1(")"), this.nestingOptionsSeparator = k || ",", this.maxReplaces = _ || 1e3, this.alwaysFormat = M !== void 0 ? M : !1, this.resetRegExp();
8441
8471
  }
8442
8472
  reset() {
8443
8473
  this.options && this.init(this.options);
@@ -8450,15 +8480,15 @@ class z3 {
8450
8480
  let l, c, o;
8451
8481
  const d = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, g = (p) => {
8452
8482
  if (p.indexOf(this.formatSeparator) < 0) {
8453
- const E = te(t, d, p, this.options.keySeparator, this.options.ignoreJSONStructure);
8454
- return this.alwaysFormat ? this.format(E, void 0, s, {
8483
+ const _ = ie(t, d, p, this.options.keySeparator, this.options.ignoreJSONStructure);
8484
+ return this.alwaysFormat ? this.format(_, void 0, s, {
8455
8485
  ...n,
8456
8486
  ...t,
8457
8487
  interpolationkey: p
8458
- }) : E;
8488
+ }) : _;
8459
8489
  }
8460
- const w = p.split(this.formatSeparator), x = w.shift().trim(), m = w.join(this.formatSeparator).trim();
8461
- return this.format(te(t, d, x, this.options.keySeparator, this.options.ignoreJSONStructure), m, s, {
8490
+ const m = p.split(this.formatSeparator), x = m.shift().trim(), k = m.join(this.formatSeparator).trim();
8491
+ return this.format(ie(t, d, x, this.options.keySeparator, this.options.ignoreJSONStructure), k, s, {
8462
8492
  ...n,
8463
8493
  ...t,
8464
8494
  interpolationkey: x
@@ -8474,19 +8504,19 @@ class z3 {
8474
8504
  safeValue: (p) => this.escapeValue ? H1(this.escape(p)) : H1(p)
8475
8505
  }].forEach((p) => {
8476
8506
  for (o = 0; l = p.regex.exec(e); ) {
8477
- const w = l[1].trim();
8478
- if (c = g(w), c === void 0)
8507
+ const m = l[1].trim();
8508
+ if (c = g(m), c === void 0)
8479
8509
  if (typeof a == "function") {
8480
- const m = a(e, l, n);
8481
- c = N(m) ? m : "";
8482
- } else if (n && Object.prototype.hasOwnProperty.call(n, w))
8510
+ const k = a(e, l, n);
8511
+ c = N(k) ? k : "";
8512
+ } else if (n && Object.prototype.hasOwnProperty.call(n, m))
8483
8513
  c = "";
8484
8514
  else if (h) {
8485
8515
  c = l[0];
8486
8516
  continue;
8487
8517
  } else
8488
- this.logger.warn(`missed to pass in variable ${w} for interpolating ${e}`), c = "";
8489
- else !N(c) && !this.useRawValueToEscape && (c = Y1(c));
8518
+ this.logger.warn(`missed to pass in variable ${m} for interpolating ${e}`), c = "";
8519
+ else !N(c) && !this.useRawValueToEscape && (c = U1(c));
8490
8520
  const x = p.safeValue(c);
8491
8521
  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)
8492
8522
  break;
@@ -8501,8 +8531,8 @@ class z3 {
8501
8531
  const h = d.split(new RegExp(`${a}[ ]*{`));
8502
8532
  let C = `{${h[1]}`;
8503
8533
  d = h[0], C = this.interpolate(C, c);
8504
- const p = C.match(/'/g), w = C.match(/"/g);
8505
- (p && p.length % 2 === 0 && !w || w.length % 2 !== 0) && (C = C.replace(/'/g, '"'));
8534
+ const p = C.match(/'/g), m = C.match(/"/g);
8535
+ (p && p.length % 2 === 0 && !m || m.length % 2 !== 0) && (C = C.replace(/'/g, '"'));
8506
8536
  try {
8507
8537
  c = JSON.parse(C), g && (c = {
8508
8538
  ...g,
@@ -8524,7 +8554,7 @@ class z3 {
8524
8554
  n[1] = a.shift(), d = a, g = !0;
8525
8555
  }
8526
8556
  if (l = t(o.call(this, n[1].trim(), c), c), l && n[0] === e && !N(l)) return l;
8527
- N(l) || (l = Y1(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, {
8557
+ N(l) || (l = U1(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, {
8528
8558
  ...s,
8529
8559
  interpolationkey: n[1].trim()
8530
8560
  }), l.trim())), e = e.replace(n[0], l), this.regexp.lastIndex = 0;
@@ -8532,7 +8562,7 @@ class z3 {
8532
8562
  return e;
8533
8563
  }
8534
8564
  }
8535
- const J3 = (i) => {
8565
+ const Q3 = (i) => {
8536
8566
  let e = i.toLowerCase().trim();
8537
8567
  const t = {};
8538
8568
  if (i.indexOf("(") > -1) {
@@ -8550,7 +8580,7 @@ const J3 = (i) => {
8550
8580
  formatName: e,
8551
8581
  formatOptions: t
8552
8582
  };
8553
- }, o1 = (i) => {
8583
+ }, l1 = (i) => {
8554
8584
  const e = {};
8555
8585
  return (t, s, n) => {
8556
8586
  let l = n;
@@ -8560,39 +8590,39 @@ const J3 = (i) => {
8560
8590
  });
8561
8591
  const c = s + JSON.stringify(l);
8562
8592
  let o = e[c];
8563
- return o || (o = i(v1(s), n), e[c] = o), o(t);
8593
+ return o || (o = i(x1(s), n), e[c] = o), o(t);
8564
8594
  };
8565
8595
  };
8566
- class q3 {
8596
+ class X3 {
8567
8597
  constructor() {
8568
8598
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
8569
- this.logger = q.create("formatter"), this.options = e, this.formats = {
8570
- number: o1((t, s) => {
8599
+ this.logger = Q.create("formatter"), this.options = e, this.formats = {
8600
+ number: l1((t, s) => {
8571
8601
  const n = new Intl.NumberFormat(t, {
8572
8602
  ...s
8573
8603
  });
8574
8604
  return (l) => n.format(l);
8575
8605
  }),
8576
- currency: o1((t, s) => {
8606
+ currency: l1((t, s) => {
8577
8607
  const n = new Intl.NumberFormat(t, {
8578
8608
  ...s,
8579
8609
  style: "currency"
8580
8610
  });
8581
8611
  return (l) => n.format(l);
8582
8612
  }),
8583
- datetime: o1((t, s) => {
8613
+ datetime: l1((t, s) => {
8584
8614
  const n = new Intl.DateTimeFormat(t, {
8585
8615
  ...s
8586
8616
  });
8587
8617
  return (l) => n.format(l);
8588
8618
  }),
8589
- relativetime: o1((t, s) => {
8619
+ relativetime: l1((t, s) => {
8590
8620
  const n = new Intl.RelativeTimeFormat(t, {
8591
8621
  ...s
8592
8622
  });
8593
8623
  return (l) => n.format(l, s.range || "day");
8594
8624
  }),
8595
- list: o1((t, s) => {
8625
+ list: l1((t, s) => {
8596
8626
  const n = new Intl.ListFormat(t, {
8597
8627
  ...s
8598
8628
  });
@@ -8610,7 +8640,7 @@ class q3 {
8610
8640
  this.formats[e.toLowerCase().trim()] = t;
8611
8641
  }
8612
8642
  addCached(e, t) {
8613
- this.formats[e.toLowerCase().trim()] = o1(t);
8643
+ this.formats[e.toLowerCase().trim()] = l1(t);
8614
8644
  }
8615
8645
  format(e, t, s) {
8616
8646
  let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
@@ -8623,7 +8653,7 @@ class q3 {
8623
8653
  const {
8624
8654
  formatName: g,
8625
8655
  formatOptions: a
8626
- } = J3(d);
8656
+ } = Q3(d);
8627
8657
  if (this.formats[g]) {
8628
8658
  let h = o;
8629
8659
  try {
@@ -8643,13 +8673,13 @@ class q3 {
8643
8673
  }, e);
8644
8674
  }
8645
8675
  }
8646
- const Q3 = (i, e) => {
8676
+ const ei = (i, e) => {
8647
8677
  i.pending[e] !== void 0 && (delete i.pending[e], i.pendingCount--);
8648
8678
  };
8649
- class X3 extends M1 {
8679
+ class ti extends b1 {
8650
8680
  constructor(e, t, s) {
8651
8681
  let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
8652
- 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);
8682
+ 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);
8653
8683
  }
8654
8684
  queueLoad(e, t, s, n) {
8655
8685
  const l = {}, c = {}, o = {}, d = {};
@@ -8679,7 +8709,7 @@ class X3 extends M1 {
8679
8709
  }), this.state[e] = t ? -1 : 2, t && s && (this.state[e] = 0);
8680
8710
  const o = {};
8681
8711
  this.queue.forEach((d) => {
8682
- S3(d.loaded, [l], c), Q3(d, e), t && d.errors.push(t), d.pendingCount === 0 && !d.done && (Object.keys(d.loaded).forEach((g) => {
8712
+ B3(d.loaded, [l], c), ei(d, e), t && d.errors.push(t), d.pendingCount === 0 && !d.done && (Object.keys(d.loaded).forEach((g) => {
8683
8713
  o[g] || (o[g] = {});
8684
8714
  const a = d.loaded[g];
8685
8715
  a.length && a.forEach((h) => {
@@ -8781,7 +8811,7 @@ class X3 extends M1 {
8781
8811
  }
8782
8812
  }
8783
8813
  }
8784
- const ie = () => ({
8814
+ const se = () => ({
8785
8815
  debug: !1,
8786
8816
  initImmediate: !0,
8787
8817
  ns: ["translation"],
@@ -8837,18 +8867,18 @@ const ie = () => ({
8837
8867
  maxReplaces: 1e3,
8838
8868
  skipOnVariables: !0
8839
8869
  }
8840
- }), se = (i) => (N(i.ns) && (i.ns = [i.ns]), N(i.fallbackLng) && (i.fallbackLng = [i.fallbackLng]), N(i.fallbackNS) && (i.fallbackNS = [i.fallbackNS]), i.supportedLngs && i.supportedLngs.indexOf("cimode") < 0 && (i.supportedLngs = i.supportedLngs.concat(["cimode"])), i), w1 = () => {
8841
- }, ei = (i) => {
8870
+ }), ne = (i) => (N(i.ns) && (i.ns = [i.ns]), N(i.fallbackLng) && (i.fallbackLng = [i.fallbackLng]), N(i.fallbackNS) && (i.fallbackNS = [i.fallbackNS]), i.supportedLngs && i.supportedLngs.indexOf("cimode") < 0 && (i.supportedLngs = i.supportedLngs.concat(["cimode"])), i), k1 = () => {
8871
+ }, ii = (i) => {
8842
8872
  Object.getOwnPropertyNames(Object.getPrototypeOf(i)).forEach((t) => {
8843
8873
  typeof i[t] == "function" && (i[t] = i[t].bind(i));
8844
8874
  });
8845
8875
  };
8846
- class u1 extends M1 {
8876
+ class C1 extends b1 {
8847
8877
  constructor() {
8848
8878
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0;
8849
- if (super(), this.options = se(e), this.services = {}, this.logger = q, this.modules = {
8879
+ if (super(), this.options = ne(e), this.services = {}, this.logger = Q, this.modules = {
8850
8880
  external: []
8851
- }, ei(this), t && !this.isInitialized && !e.isClone) {
8881
+ }, ii(this), t && !this.isInitialized && !e.isClone) {
8852
8882
  if (!this.options.initImmediate)
8853
8883
  return this.init(e, t), this;
8854
8884
  setTimeout(() => {
@@ -8860,42 +8890,42 @@ class u1 extends M1 {
8860
8890
  var e = this;
8861
8891
  let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, s = arguments.length > 1 ? arguments[1] : void 0;
8862
8892
  this.isInitializing = !0, typeof t == "function" && (s = t, t = {}), !t.defaultNS && t.defaultNS !== !1 && t.ns && (N(t.ns) ? t.defaultNS = t.ns : t.ns.indexOf("translation") < 0 && (t.defaultNS = t.ns[0]));
8863
- const n = ie();
8893
+ const n = se();
8864
8894
  this.options = {
8865
8895
  ...n,
8866
8896
  ...this.options,
8867
- ...se(t)
8897
+ ...ne(t)
8868
8898
  }, this.options.compatibilityAPI !== "v1" && (this.options.interpolation = {
8869
8899
  ...n.interpolation,
8870
8900
  ...this.options.interpolation
8871
8901
  }), t.keySeparator !== void 0 && (this.options.userDefinedKeySeparator = t.keySeparator), t.nsSeparator !== void 0 && (this.options.userDefinedNsSeparator = t.nsSeparator);
8872
8902
  const l = (a) => a ? typeof a == "function" ? new a() : a : null;
8873
8903
  if (!this.options.isClone) {
8874
- this.modules.logger ? q.init(l(this.modules.logger), this.options) : q.init(null, this.options);
8904
+ this.modules.logger ? Q.init(l(this.modules.logger), this.options) : Q.init(null, this.options);
8875
8905
  let a;
8876
- this.modules.formatter ? a = this.modules.formatter : typeof Intl < "u" && (a = q3);
8877
- const h = new X1(this.options);
8878
- this.store = new q1(this.options.resources, this.options);
8906
+ this.modules.formatter ? a = this.modules.formatter : typeof Intl < "u" && (a = X3);
8907
+ const h = new ee(this.options);
8908
+ this.store = new Q1(this.options.resources, this.options);
8879
8909
  const C = this.services;
8880
- C.logger = q, C.resourceStore = this.store, C.languageUtils = h, C.pluralResolver = new U3(h, {
8910
+ C.logger = Q, C.resourceStore = this.store, C.languageUtils = h, C.pluralResolver = new J3(h, {
8881
8911
  prepend: this.options.pluralSeparator,
8882
8912
  compatibilityJSON: this.options.compatibilityJSON,
8883
8913
  simplifyPluralSuffix: this.options.simplifyPluralSuffix
8884
- }), 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 z3(this.options), C.utils = {
8914
+ }), 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 q3(this.options), C.utils = {
8885
8915
  hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
8886
- }, C.backendConnector = new X3(l(this.modules.backend), C.resourceStore, C, this.options), C.backendConnector.on("*", function(p) {
8887
- for (var w = arguments.length, x = new Array(w > 1 ? w - 1 : 0), m = 1; m < w; m++)
8888
- x[m - 1] = arguments[m];
8916
+ }, C.backendConnector = new ti(l(this.modules.backend), C.resourceStore, C, this.options), C.backendConnector.on("*", function(p) {
8917
+ for (var m = arguments.length, x = new Array(m > 1 ? m - 1 : 0), k = 1; k < m; k++)
8918
+ x[k - 1] = arguments[k];
8889
8919
  e.emit(p, ...x);
8890
- }), 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 x1(this.services, this.options), this.translator.on("*", function(p) {
8891
- for (var w = arguments.length, x = new Array(w > 1 ? w - 1 : 0), m = 1; m < w; m++)
8892
- x[m - 1] = arguments[m];
8920
+ }), 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 M1(this.services, this.options), this.translator.on("*", function(p) {
8921
+ for (var m = arguments.length, x = new Array(m > 1 ? m - 1 : 0), k = 1; k < m; k++)
8922
+ x[k - 1] = arguments[k];
8893
8923
  e.emit(p, ...x);
8894
8924
  }), this.modules.external.forEach((p) => {
8895
8925
  p.init && p.init(this);
8896
8926
  });
8897
8927
  }
8898
- if (this.format = this.options.interpolation.format, s || (s = w1), this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
8928
+ if (this.format = this.options.interpolation.format, s || (s = k1), this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
8899
8929
  const a = this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);
8900
8930
  a.length > 0 && a[0] !== "dev" && (this.options.lng = a[0]);
8901
8931
  }
@@ -8908,7 +8938,7 @@ class u1 extends M1 {
8908
8938
  return e.store[a](...arguments), e;
8909
8939
  };
8910
8940
  });
8911
- const d = c1(), g = () => {
8941
+ const d = d1(), g = () => {
8912
8942
  const a = (h, C) => {
8913
8943
  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);
8914
8944
  };
@@ -8918,7 +8948,7 @@ class u1 extends M1 {
8918
8948
  return this.options.resources || !this.options.initImmediate ? g() : setTimeout(g, 0), d;
8919
8949
  }
8920
8950
  loadResources(e) {
8921
- let s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : w1;
8951
+ let s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : k1;
8922
8952
  const n = N(e) ? e : this.language;
8923
8953
  if (typeof e == "function" && (s = e), !this.options.resources || this.options.partialBundledLanguages) {
8924
8954
  if (n && n.toLowerCase() === "cimode" && (!this.options.preload || this.options.preload.length === 0)) return s();
@@ -8935,15 +8965,15 @@ class u1 extends M1 {
8935
8965
  s(null);
8936
8966
  }
8937
8967
  reloadResources(e, t, s) {
8938
- const n = c1();
8939
- 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) => {
8968
+ const n = d1();
8969
+ 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) => {
8940
8970
  n.resolve(), s(l);
8941
8971
  }), n;
8942
8972
  }
8943
8973
  use(e) {
8944
8974
  if (!e) throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");
8945
8975
  if (!e.type) throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");
8946
- 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;
8976
+ 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" && pe.addPostProcessor(e), e.type === "formatter" && (this.modules.formatter = e), e.type === "3rdParty" && this.modules.external.push(e), this;
8947
8977
  }
8948
8978
  setResolvedLanguage(e) {
8949
8979
  if (!(!e || !this.languages) && !(["cimode", "dev"].indexOf(e) > -1))
@@ -8958,7 +8988,7 @@ class u1 extends M1 {
8958
8988
  changeLanguage(e, t) {
8959
8989
  var s = this;
8960
8990
  this.isLanguageChangingTo = e;
8961
- const n = c1();
8991
+ const n = d1();
8962
8992
  this.emit("languageChanging", e);
8963
8993
  const l = (d) => {
8964
8994
  this.language = d, this.languages = this.services.languageUtils.toResolveHierarchy(d), this.resolvedLanguage = void 0, this.setResolvedLanguage(d);
@@ -8992,7 +9022,7 @@ class u1 extends M1 {
8992
9022
  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);
8993
9023
  const C = n.options.keySeparator || ".";
8994
9024
  let p;
8995
- return d.keyPrefix && Array.isArray(c) ? p = c.map((w) => `${d.keyPrefix}${C}${w}`) : p = d.keyPrefix ? `${d.keyPrefix}${C}${c}` : c, n.t(p, d);
9025
+ 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);
8996
9026
  };
8997
9027
  return N(e) ? l.lng = e : l.lngs = e, l.ns = t, l.keyPrefix = s, l;
8998
9028
  }
@@ -9024,7 +9054,7 @@ class u1 extends M1 {
9024
9054
  return !!(this.hasResourceBundle(s, e) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages || c(s, e) && (!n || c(l, e)));
9025
9055
  }
9026
9056
  loadNamespaces(e, t) {
9027
- const s = c1();
9057
+ const s = d1();
9028
9058
  return this.options.ns ? (N(e) && (e = [e]), e.forEach((n) => {
9029
9059
  this.options.ns.indexOf(n) < 0 && this.options.ns.push(n);
9030
9060
  }), this.loadResources((n) => {
@@ -9032,7 +9062,7 @@ class u1 extends M1 {
9032
9062
  }), s) : (t && t(), Promise.resolve());
9033
9063
  }
9034
9064
  loadLanguages(e, t) {
9035
- const s = c1();
9065
+ const s = d1();
9036
9066
  N(e) && (e = [e]);
9037
9067
  const n = this.options.preload || [], l = e.filter((c) => n.indexOf(c) < 0 && this.services.languageUtils.isSupportedCode(c));
9038
9068
  return l.length ? (this.options.preload = n.concat(l), this.loadResources((c) => {
@@ -9041,29 +9071,29 @@ class u1 extends M1 {
9041
9071
  }
9042
9072
  dir(e) {
9043
9073
  if (e || (e = this.resolvedLanguage || (this.languages && this.languages.length > 0 ? this.languages[0] : this.language)), !e) return "rtl";
9044
- 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 X1(ie());
9074
+ 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 ee(se());
9045
9075
  return t.indexOf(s.getLanguagePartFromCode(e)) > -1 || e.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
9046
9076
  }
9047
9077
  static createInstance() {
9048
9078
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0;
9049
- return new u1(e, t);
9079
+ return new C1(e, t);
9050
9080
  }
9051
9081
  cloneInstance() {
9052
- let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : w1;
9082
+ let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : k1;
9053
9083
  const s = e.forkResourceStore;
9054
9084
  s && delete e.forkResourceStore;
9055
9085
  const n = {
9056
9086
  ...this.options,
9057
9087
  ...e,
9058
9088
  isClone: !0
9059
- }, l = new u1(n);
9089
+ }, l = new C1(n);
9060
9090
  return (e.debug !== void 0 || e.prefix !== void 0) && (l.logger = l.logger.clone(e)), ["store", "services", "language"].forEach((o) => {
9061
9091
  l[o] = this[o];
9062
9092
  }), l.services = {
9063
9093
  ...this.services
9064
9094
  }, l.services.utils = {
9065
9095
  hasLoadedNamespace: l.hasLoadedNamespace.bind(l)
9066
- }, s && (l.store = new q1(this.store.data, n), l.services.resourceStore = l.store), l.translator = new x1(l.services, n), l.translator.on("*", function(o) {
9096
+ }, s && (l.store = new Q1(this.store.data, n), l.services.resourceStore = l.store), l.translator = new M1(l.services, n), l.translator.on("*", function(o) {
9067
9097
  for (var d = arguments.length, g = new Array(d > 1 ? d - 1 : 0), a = 1; a < d; a++)
9068
9098
  g[a - 1] = arguments[a];
9069
9099
  l.emit(o, ...g);
@@ -9081,42 +9111,42 @@ class u1 extends M1 {
9081
9111
  };
9082
9112
  }
9083
9113
  }
9084
- const P = u1.createInstance();
9085
- P.createInstance = u1.createInstance;
9086
- P.createInstance;
9087
- P.dir;
9088
- P.init;
9089
- P.loadResources;
9090
- P.reloadResources;
9091
- P.use;
9092
- P.changeLanguage;
9093
- P.getFixedT;
9094
- P.t;
9095
- P.exists;
9096
- P.setDefaultNamespace;
9097
- P.hasLoadedNamespace;
9098
- P.loadNamespaces;
9099
- P.loadLanguages;
9100
- const ti = "Archived", ii = "Deleted", si = {
9101
- archived: ti,
9102
- deleted: ii
9103
- }, ni = "Заархивирован", ri = "Удалён", oi = {
9104
- archived: ni,
9105
- deleted: ri
9114
+ const F = C1.createInstance();
9115
+ F.createInstance = C1.createInstance;
9116
+ F.createInstance;
9117
+ F.dir;
9118
+ F.init;
9119
+ F.loadResources;
9120
+ F.reloadResources;
9121
+ F.use;
9122
+ F.changeLanguage;
9123
+ F.getFixedT;
9124
+ F.t;
9125
+ F.exists;
9126
+ F.setDefaultNamespace;
9127
+ F.hasLoadedNamespace;
9128
+ F.loadNamespaces;
9129
+ F.loadLanguages;
9130
+ const si = "Archived", ni = "Deleted", ri = {
9131
+ archived: si,
9132
+ deleted: ni
9133
+ }, oi = "Заархивирован", li = "Удалён", ai = {
9134
+ archived: oi,
9135
+ deleted: li
9106
9136
  };
9107
- P.use(b3).init({
9137
+ F.use(E3).init({
9108
9138
  defaultNS: "common",
9109
9139
  lng: "en",
9110
9140
  resources: {
9111
9141
  en: {
9112
- common: si
9142
+ common: ri
9113
9143
  },
9114
9144
  ru: {
9115
- common: oi
9145
+ common: ai
9116
9146
  }
9117
9147
  }
9118
9148
  });
9119
- const ui = R1(
9149
+ const pi = y1(
9120
9150
  ({
9121
9151
  fetchParams: i,
9122
9152
  mode: e = void 0,
@@ -9128,142 +9158,142 @@ const ui = R1(
9128
9158
  allowEmpty: o = !1,
9129
9159
  showAvatar: d = !1
9130
9160
  }, g) => {
9131
- const { axiosPeople: a, locale: h } = n1(Me), { t: C } = V3("common", { lng: h }), [p, w] = B([]), [x, m] = B(!0), E = Q(p), R = Q(null);
9132
- if (ne(g, () => R.current), !a)
9161
+ const { axiosPeople: a, locale: h } = s1(be), { t: C } = O3("common", { lng: h }), [p, m] = Z([]), [x, k] = Z(!0), _ = X(p), M = X(null);
9162
+ if (re(g, () => M.current), !a)
9133
9163
  throw new Error(
9134
9164
  `UserSelect requires "axiosPeople" to fetch users.
9135
9165
  Please provide it via SNMTUiContext.`
9136
9166
  );
9137
- const _ = K(
9138
- (H) => {
9139
- let I = "";
9140
- return H.deletedAt && (I += `[${C("deleted")}] `), H.status === k1.ARCHIVED && (I += `[${C("archived")}] `), `${I}${H.firstName} ${H.lastName}`;
9167
+ const E = P(
9168
+ (I) => {
9169
+ let V = "";
9170
+ return I.deletedAt && (V += `[${C("deleted")}] `), I.status === v1.ARCHIVED && (V += `[${C("archived")}] `), `${V}${I.firstName} ${I.lastName}`;
9141
9171
  },
9142
9172
  [C]
9143
- ), f = K(
9173
+ ), f = P(
9144
9174
  async ({
9145
- offset: H,
9146
- limit: I,
9147
- search: D
9175
+ offset: I,
9176
+ limit: V,
9177
+ search: T
9148
9178
  }) => {
9149
- var S, V, Z;
9179
+ var j, O, B;
9150
9180
  try {
9151
- const j = await a.post("v1/users/search", {
9152
- offset: H,
9153
- limit: I,
9154
- search: D,
9181
+ const K = await a.post("v1/users/search", {
9182
+ offset: I,
9183
+ limit: V,
9184
+ search: T,
9155
9185
  ...i,
9156
9186
  includeCount: !0
9157
- }), { data: A, metadata: $ } = j.data;
9187
+ }), { data: D, metadata: Y } = K.data;
9158
9188
  return {
9159
- options: A.map((Y) => ({
9160
- value: Y.id,
9161
- label: _(Y),
9162
- image: d ? Y.avatarUrl : void 0
9189
+ options: D.map((z) => ({
9190
+ value: z.id,
9191
+ label: E(z),
9192
+ image: d ? z.avatarUrl : void 0
9163
9193
  })),
9164
- count: $.count
9194
+ count: Y.count
9165
9195
  };
9166
- } catch (j) {
9196
+ } catch (K) {
9167
9197
  return c && c({
9168
- status: ((S = j.response) == null ? void 0 : S.status) ?? 500,
9169
- message: ((Z = (V = j.response) == null ? void 0 : V.data) == null ? void 0 : Z.message) ?? "Error while fetching options"
9198
+ status: ((j = K.response) == null ? void 0 : j.status) ?? 500,
9199
+ message: ((B = (O = K.response) == null ? void 0 : O.data) == null ? void 0 : B.message) ?? "Error while fetching options"
9170
9200
  }), {
9171
9201
  options: [],
9172
9202
  count: 0
9173
9203
  };
9174
9204
  }
9175
9205
  },
9176
- [a, i, _, d, c]
9177
- ), v = K(
9178
- async (H) => {
9179
- var I, D, S;
9206
+ [a, i, E, d, c]
9207
+ ), v = P(
9208
+ async (I) => {
9209
+ var V, T, j;
9180
9210
  try {
9181
- const V = H.filter(
9182
- (A) => !E.current.some(($) => $.value === A)
9211
+ const O = I.filter(
9212
+ (D) => !_.current.some((Y) => Y.value === D)
9183
9213
  );
9184
- let Z = [];
9185
- V.length && (Z = (await a.post("v1/users/search", {
9214
+ let B = [];
9215
+ O.length && (B = (await a.post("v1/users/search", {
9186
9216
  filters: {
9187
- id: V,
9188
- status: [k1.ACTIVE, k1.ARCHIVED]
9217
+ id: O,
9218
+ status: [v1.ACTIVE, v1.ARCHIVED]
9189
9219
  }
9190
9220
  })).data.data);
9191
- const j = Z.map((A) => ({
9192
- value: A.id,
9193
- label: _(A),
9194
- image: d ? A.avatarUrl : void 0
9221
+ const K = B.map((D) => ({
9222
+ value: D.id,
9223
+ label: E(D),
9224
+ image: d ? D.avatarUrl : void 0
9195
9225
  }));
9196
- return [...E.current, ...j];
9197
- } catch (V) {
9226
+ return [..._.current, ...K];
9227
+ } catch (O) {
9198
9228
  return c && c({
9199
- status: ((I = V.response) == null ? void 0 : I.status) ?? 500,
9200
- message: ((S = (D = V.response) == null ? void 0 : D.data) == null ? void 0 : S.message) ?? "Error while fetching selected items"
9229
+ status: ((V = O.response) == null ? void 0 : V.status) ?? 500,
9230
+ message: ((j = (T = O.response) == null ? void 0 : T.data) == null ? void 0 : j.message) ?? "Error while fetching selected items"
9201
9231
  }), [];
9202
9232
  }
9203
9233
  },
9204
- [a, _, c, d]
9234
+ [a, E, c, d]
9205
9235
  );
9206
- T(() => {
9207
- E.current = p;
9208
- }, [p]), T(() => {
9209
- var H;
9210
- (H = R.current) == null || H.refetchOptions();
9211
- }, [i]), T(() => {
9236
+ G(() => {
9237
+ _.current = p;
9238
+ }, [p]), G(() => {
9239
+ var I;
9240
+ (I = M.current) == null || I.refetchOptions();
9241
+ }, [i]), G(() => {
9212
9242
  if (!n) {
9213
- m(!1);
9243
+ k(!1);
9214
9244
  return;
9215
9245
  }
9216
9246
  (async () => {
9217
- const I = Array.isArray(n) ? n : [n], D = await v(I);
9218
- w(D), m(!1);
9247
+ const V = Array.isArray(n) ? n : [n], T = await v(V);
9248
+ m(T), k(!1);
9219
9249
  })();
9220
9250
  }, [v, n]);
9221
- const M = K(
9251
+ const R = P(
9222
9252
  async ({
9223
- limit: H,
9224
- offset: I,
9225
- search: D
9253
+ limit: I,
9254
+ offset: V,
9255
+ search: T
9226
9256
  }) => {
9227
- const { count: S, ...V } = await f({
9228
- offset: I,
9229
- limit: H,
9230
- search: D
9257
+ const { count: j, ...O } = await f({
9258
+ offset: V,
9259
+ limit: I,
9260
+ search: T
9231
9261
  });
9232
- let Z = V.options;
9233
- return o && I === 0 && (Z = [{ value: null, label: "None" }, ...Z]), {
9234
- options: Z,
9235
- count: S,
9236
- limit: H
9262
+ let B = O.options;
9263
+ return o && V === 0 && (B = [{ value: null, label: "None" }, ...B]), {
9264
+ options: B,
9265
+ count: j,
9266
+ limit: I
9237
9267
  };
9238
9268
  },
9239
9269
  [o, f]
9240
9270
  );
9241
9271
  if (x)
9242
- return /* @__PURE__ */ r(u3, {});
9243
- const k = {
9244
- ref: R,
9272
+ return /* @__PURE__ */ r(p3, {});
9273
+ const L = {
9274
+ ref: M,
9245
9275
  placeholder: t,
9246
9276
  disabled: s
9247
9277
  };
9248
9278
  return e ? /* @__PURE__ */ r(
9249
- K1,
9279
+ P1,
9250
9280
  {
9251
- ...k,
9281
+ ...L,
9252
9282
  mode: e,
9253
9283
  value: n,
9254
9284
  onChange: l,
9255
- loadOptions: M,
9285
+ loadOptions: R,
9256
9286
  preloadOptions: !0,
9257
9287
  extraOptions: p
9258
9288
  }
9259
9289
  ) : /* @__PURE__ */ r(
9260
- K1,
9290
+ P1,
9261
9291
  {
9262
- ...k,
9292
+ ...L,
9263
9293
  value: n,
9264
9294
  mode: void 0,
9265
9295
  onChange: l,
9266
- loadOptions: M,
9296
+ loadOptions: R,
9267
9297
  preloadOptions: !0,
9268
9298
  extraOptions: p
9269
9299
  }
@@ -9271,5 +9301,5 @@ const ui = R1(
9271
9301
  }
9272
9302
  );
9273
9303
  export {
9274
- ui as UserSelect
9304
+ pi as UserSelect
9275
9305
  };